From 00705a1119cc410d7a60ddbb1b397890cbd46b89 Mon Sep 17 00:00:00 2001 From: dave-doty Date: Fri, 13 Sep 2024 06:34:12 +0000 Subject: [PATCH] deploy: 358b234bd6e6eab2d81f25cc7ca5f5ebd0090812 --- dev/.build.manifest | 124 +- dev/.dart_tool/package_config.json | 2 +- dev/.packages | 7 +- dev/main.dart.js | 260381 ++++++++------- dev/packages/$sdk/_internal/strong.sum | 15612 +- .../$sdk/dev_compiler/kernel/amd/dart_sdk.js | 52269 +-- .../dev_compiler/kernel/common/dart_sdk.js | 52269 +-- .../$sdk/dev_compiler/kernel/es6/dart_sdk.js | 52265 +-- .../web/dart_stack_trace_mapper.js | 7596 +- dev/packages/analyzer/fix_data.yaml | 174 + dev/packages/analyzer/src/summary/format.fbs | 985 +- .../archive/archive.dart.transitive_digest | 1 + .../async/async.dart.transitive_digest | 1 + .../boolean_selector.dart.transitive_digest | 1 + .../hot_reload_client.dart.js | 3546 - .../stack_trace_mapper.dart.js | 6460 +- .../built_collection.dart.transitive_digest | Bin 0 -> 16 bytes .../src/internal/hash.dart.transitive_digest | 1 + .../src/set.dart.transitive_digest | 2 + .../built_value.dart.transitive_digest | 1 + .../serializer.dart.transitive_digest | Bin 0 -> 16 bytes ...tandard_json_plugin.dart.transitive_digest | 1 + .../codemirror.dart.transitive_digest | 1 + .../codemirror/hints.dart.transitive_digest | 1 + .../collection.dart.transitive_digest | Bin 0 -> 16 bytes .../color/color.dart.transitive_digest | 1 + .../crypto/crypto.dart.transitive_digest | 1 + .../dialog/dialog.dart.transitive_digest | 1 + dev/packages/dnd/dnd.dart.transitive_digest | 1 + .../fixnum/fixnum.dart.transitive_digest | 1 + dev/packages/http/http.dart.transitive_digest | 1 + .../http_parser.dart.transitive_digest | 1 + .../intl/src/data/dates/patterns/ar.json | 2 +- .../intl/src/data/dates/patterns/ar_DZ.json | 2 +- .../intl/src/data/dates/patterns/ar_EG.json | 2 +- .../intl/src/data/dates/patterns/as.json | 1 + .../intl/src/data/dates/patterns/be.json | 2 +- .../intl/src/data/dates/patterns/bg.json | 2 +- .../intl/src/data/dates/patterns/bm.json | 1 + .../intl/src/data/dates/patterns/de.json | 2 +- .../intl/src/data/dates/patterns/de_AT.json | 2 +- .../intl/src/data/dates/patterns/de_CH.json | 2 +- .../intl/src/data/dates/patterns/el.json | 2 +- .../intl/src/data/dates/patterns/en.json | 2 +- .../intl/src/data/dates/patterns/en_AU.json | 2 +- .../intl/src/data/dates/patterns/en_CA.json | 2 +- .../intl/src/data/dates/patterns/en_IN.json | 2 +- .../intl/src/data/dates/patterns/en_MY.json | 2 +- .../intl/src/data/dates/patterns/en_NZ.json | 1 + .../intl/src/data/dates/patterns/en_SG.json | 2 +- .../intl/src/data/dates/patterns/en_US.json | 2 +- .../intl/src/data/dates/patterns/es_419.json | 2 +- .../intl/src/data/dates/patterns/es_MX.json | 2 +- .../intl/src/data/dates/patterns/es_US.json | 2 +- .../intl/src/data/dates/patterns/eu.json | 2 +- .../intl/src/data/dates/patterns/fa.json | 2 +- .../intl/src/data/dates/patterns/fil.json | 2 +- .../intl/src/data/dates/patterns/fur.json | 1 + .../intl/src/data/dates/patterns/gl.json | 2 +- .../intl/src/data/dates/patterns/haw.json | 2 +- .../intl/src/data/dates/patterns/kk.json | 2 +- .../intl/src/data/dates/patterns/lv.json | 2 +- .../intl/src/data/dates/patterns/mg.json | 1 + .../intl/src/data/dates/patterns/mk.json | 2 +- .../intl/src/data/dates/patterns/mn.json | 2 +- .../intl/src/data/dates/patterns/ms.json | 2 +- .../intl/src/data/dates/patterns/my.json | 2 +- .../intl/src/data/dates/patterns/nb.json | 2 +- .../intl/src/data/dates/patterns/no.json | 2 +- .../intl/src/data/dates/patterns/no_NO.json | 2 +- .../intl/src/data/dates/patterns/nyn.json | 1 + .../intl/src/data/dates/patterns/ps.json | 2 +- .../intl/src/data/dates/patterns/pt.json | 2 +- .../intl/src/data/dates/patterns/pt_BR.json | 2 +- .../intl/src/data/dates/patterns/ru.json | 2 +- .../intl/src/data/dates/patterns/sd.json | 1 - .../intl/src/data/dates/patterns/sh.json | 2 +- .../intl/src/data/dates/patterns/sq.json | 2 +- .../intl/src/data/dates/patterns/sr.json | 2 +- .../intl/src/data/dates/patterns/sr_Latn.json | 2 +- .../intl/src/data/dates/patterns/sw.json | 2 +- .../intl/src/data/dates/patterns/th.json | 2 +- .../intl/src/data/dates/patterns/tl.json | 2 +- .../intl/src/data/dates/patterns/uk.json | 2 +- .../intl/src/data/dates/patterns/zh.json | 2 +- .../intl/src/data/dates/patterns/zh_CN.json | 2 +- .../intl/src/data/dates/symbols/ar.json | 2 +- .../intl/src/data/dates/symbols/ar_DZ.json | 2 +- .../intl/src/data/dates/symbols/ar_EG.json | 2 +- .../intl/src/data/dates/symbols/as.json | 1 + .../intl/src/data/dates/symbols/az.json | 2 +- .../intl/src/data/dates/symbols/be.json | 2 +- .../intl/src/data/dates/symbols/bg.json | 2 +- .../intl/src/data/dates/symbols/bm.json | 1 + .../intl/src/data/dates/symbols/bn.json | 2 +- .../intl/src/data/dates/symbols/br.json | 2 +- .../intl/src/data/dates/symbols/bs.json | 2 +- .../intl/src/data/dates/symbols/ca.json | 2 +- .../intl/src/data/dates/symbols/chr.json | 2 +- .../intl/src/data/dates/symbols/cs.json | 2 +- .../intl/src/data/dates/symbols/cy.json | 2 +- .../intl/src/data/dates/symbols/da.json | 2 +- .../intl/src/data/dates/symbols/de.json | 2 +- .../intl/src/data/dates/symbols/de_AT.json | 2 +- .../intl/src/data/dates/symbols/de_CH.json | 2 +- .../intl/src/data/dates/symbols/el.json | 2 +- .../intl/src/data/dates/symbols/en.json | 2 +- .../intl/src/data/dates/symbols/en_AU.json | 2 +- .../intl/src/data/dates/symbols/en_CA.json | 2 +- .../intl/src/data/dates/symbols/en_GB.json | 2 +- .../intl/src/data/dates/symbols/en_IE.json | 2 +- .../intl/src/data/dates/symbols/en_IN.json | 2 +- .../intl/src/data/dates/symbols/en_MY.json | 2 +- .../intl/src/data/dates/symbols/en_NZ.json | 1 + .../intl/src/data/dates/symbols/en_SG.json | 2 +- .../intl/src/data/dates/symbols/en_US.json | 2 +- .../intl/src/data/dates/symbols/en_ZA.json | 2 +- .../intl/src/data/dates/symbols/es.json | 2 +- .../intl/src/data/dates/symbols/es_419.json | 2 +- .../intl/src/data/dates/symbols/es_ES.json | 2 +- .../intl/src/data/dates/symbols/es_MX.json | 2 +- .../intl/src/data/dates/symbols/es_US.json | 2 +- .../intl/src/data/dates/symbols/fa.json | 2 +- .../intl/src/data/dates/symbols/fi.json | 2 +- .../intl/src/data/dates/symbols/fil.json | 2 +- .../intl/src/data/dates/symbols/fr.json | 2 +- .../intl/src/data/dates/symbols/fr_CA.json | 2 +- .../intl/src/data/dates/symbols/fr_CH.json | 2 +- .../intl/src/data/dates/symbols/fur.json | 1 + .../intl/src/data/dates/symbols/gl.json | 2 +- .../intl/src/data/dates/symbols/gu.json | 2 +- .../intl/src/data/dates/symbols/haw.json | 2 +- .../intl/src/data/dates/symbols/he.json | 2 +- .../intl/src/data/dates/symbols/hi.json | 2 +- .../intl/src/data/dates/symbols/hr.json | 2 +- .../intl/src/data/dates/symbols/is.json | 2 +- .../intl/src/data/dates/symbols/iw.json | 2 +- .../intl/src/data/dates/symbols/kk.json | 2 +- .../intl/src/data/dates/symbols/km.json | 2 +- .../intl/src/data/dates/symbols/kn.json | 2 +- .../intl/src/data/dates/symbols/mg.json | 1 + .../intl/src/data/dates/symbols/mk.json | 2 +- .../intl/src/data/dates/symbols/mn.json | 2 +- .../intl/src/data/dates/symbols/mr.json | 2 +- .../intl/src/data/dates/symbols/ms.json | 2 +- .../intl/src/data/dates/symbols/my.json | 2 +- .../intl/src/data/dates/symbols/nb.json | 2 +- .../intl/src/data/dates/symbols/nl.json | 2 +- .../intl/src/data/dates/symbols/no.json | 2 +- .../intl/src/data/dates/symbols/no_NO.json | 2 +- .../intl/src/data/dates/symbols/nyn.json | 1 + .../intl/src/data/dates/symbols/or.json | 2 +- .../intl/src/data/dates/symbols/pl.json | 2 +- .../intl/src/data/dates/symbols/ps.json | 2 +- .../intl/src/data/dates/symbols/pt.json | 2 +- .../intl/src/data/dates/symbols/pt_BR.json | 2 +- .../intl/src/data/dates/symbols/pt_PT.json | 2 +- .../intl/src/data/dates/symbols/ru.json | 2 +- .../intl/src/data/dates/symbols/sl.json | 2 +- .../intl/src/data/dates/symbols/sq.json | 2 +- .../intl/src/data/dates/symbols/sr.json | 2 +- .../intl/src/data/dates/symbols/sr_Latn.json | 2 +- .../intl/src/data/dates/symbols/sv.json | 2 +- .../intl/src/data/dates/symbols/ta.json | 2 +- .../intl/src/data/dates/symbols/te.json | 2 +- .../intl/src/data/dates/symbols/tl.json | 2 +- .../intl/src/data/dates/symbols/uk.json | 2 +- .../intl/src/data/dates/symbols/vi.json | 2 +- .../intl/src/data/dates/symbols/zh.json | 2 +- .../intl/src/data/dates/symbols/zh_CN.json | 2 +- .../intl/src/data/dates/symbols/zh_TW.json | 2 +- dev/packages/js/js.dart.transitive_digest | 1 + .../js/js_util.dart.transitive_digest | 1 + .../logging/logging.dart.transitive_digest | 1 + .../matcher/expect.dart.transitive_digest | 1 + .../src/expect/expect.dart.transitive_digest | 1 + .../expect_async.dart.transitive_digest | 1 + .../throws_matcher.dart.transitive_digest | 1 + dev/packages/meta/meta.dart.transitive_digest | 1 + .../meta/meta_meta.dart.transitive_digest | 1 + dev/packages/node_preamble/preamble.js | 80 +- dev/packages/node_preamble/preamble.min.js | 2 +- .../component_base.dart.transitive_digest | 1 + .../components.dart.transitive_digest | 1 + .../over_react.dart.transitive_digest | 1 + .../over_react_redux.dart.transitive_digest | 1 + .../react_dom.dart.transitive_digest | 1 + .../error_boundary.dart.transitive_digest | Bin 0 -> 16 bytes .../error_boundary_api.dart.transitive_digest | 1 + ...oundary_recoverable.dart.transitive_digest | 1 + .../react_wrappers.dart.transitive_digest | 1 + .../over_react_test.dart.transitive_digest | 1 + dev/packages/path/path.dart.transitive_digest | 1 + .../pedantic/analysis_options.1.0.0.yaml | 23 - .../pedantic/analysis_options.1.1.0.yaml | 23 - .../pedantic/analysis_options.1.11.0.yaml | 61 - .../pedantic/analysis_options.1.2.0.yaml | 22 - .../pedantic/analysis_options.1.3.0.yaml | 23 - .../pedantic/analysis_options.1.4.0.yaml | 25 - .../pedantic/analysis_options.1.5.0.yaml | 28 - .../pedantic/analysis_options.1.6.0.yaml | 34 - .../pedantic/analysis_options.1.7.0.yaml | 34 - .../pedantic/analysis_options.1.8.0.yaml | 37 - .../pedantic/analysis_options.1.9.0.yaml | 54 - dev/packages/pedantic/analysis_options.yaml | 13 - .../petitparser/core.dart.transitive_digest | 1 + .../petitparser.dart.transitive_digest | 1 + .../platform_detect.dart.transitive_digest | 1 + .../pointycastle/api.dart.transitive_digest | 2 + .../block/aes.dart.transitive_digest | 1 + .../digests/sha1.dart.transitive_digest | 1 + .../export.dart.transitive_digest | 1 + .../macs/hmac.dart.transitive_digest | 1 + dev/packages/pool/pool.dart.transitive_digest | 1 + .../pub_semver.dart.transitive_digest | 1 + .../quiver/collection.dart.transitive_digest | 1 + .../quiver/core.dart.transitive_digest | 1 + .../quiver/iterables.dart.transitive_digest | 1 + .../react/hooks.dart.transitive_digest | 1 + .../react/react.dart.transitive_digest | 1 + .../react/react_client.dart.transitive_digest | Bin 0 -> 16 bytes .../bridge.dart.transitive_digest | 1 + .../component_factory.dart.transitive_digest | Bin 0 -> 16 bytes .../js_backed_map.dart.transitive_digest | 1 + .../js_interop_helpers.dart.transitive_digest | 1 + .../react_interop.dart.transitive_digest | 1 + .../react/react_dom.dart.transitive_digest | 1 + .../react_test_utils.dart.transitive_digest | 1 + .../redux/redux.dart.transitive_digest | 1 + .../redux_dev_tools.dart.transitive_digest | 1 + .../source_span.dart.transitive_digest | 1 + ...spreadsheet_decoder.dart.transitive_digest | 1 + .../stack_trace.dart.transitive_digest | 1 + .../stream_channel.dart.transitive_digest | 1 + .../string_scanner.dart.transitive_digest | 1 + .../term_glyph.dart.transitive_digest | 1 + dev/packages/test/dart.js | 18 +- .../src/runner/browser/static/host.dart.js | 22785 +- .../src/runner/wasm/static/default.html.tpl | 9 + .../src/runner/wasm/static/run_wasm_chrome.js | 21 + dev/packages/test/test.dart.transitive_digest | 2 + .../test_api/backend.dart.transitive_digest | 1 + .../test_api/hooks.dart.transitive_digest | Bin 0 -> 16 bytes .../scaffolding.dart.transitive_digest | 1 + .../backend/compiler.dart.transitive_digest | 2 + .../backend/declarer.dart.transitive_digest | 1 + .../src/backend/group.dart.transitive_digest | 1 + .../backend/invoker.dart.transitive_digest | 1 + .../backend/live_test.dart.transitive_digest | 1 + ...ive_test_controller.dart.transitive_digest | 1 + .../backend/message.dart.transitive_digest | 1 + .../backend/metadata.dart.transitive_digest | 1 + .../operating_system.dart.transitive_digest | 1 + .../platform_selector.dart.transitive_digest | 1 + .../backend/runtime.dart.transitive_digest | 1 + .../src/backend/state.dart.transitive_digest | Bin 0 -> 16 bytes .../src/backend/suite.dart.transitive_digest | 1 + .../suite_platform.dart.transitive_digest | 1 + .../src/backend/test.dart.transitive_digest | 1 + .../test_core.dart.transitive_digest | Bin 0 -> 16 bytes .../tuple/tuple.dart.transitive_digest | 1 + .../typed_data.dart.transitive_digest | 1 + .../disposable.dart.transitive_digest | 1 + .../w_flux/w_flux.dart.transitive_digest | 1 + dev/packages/xml/xml.dart.transitive_digest | 1 + dev/scadnano-styles.css | 10 +- 266 files changed, 250692 insertions(+), 224655 deletions(-) create mode 100644 dev/packages/analyzer/fix_data.yaml create mode 100644 dev/packages/archive/archive.dart.transitive_digest create mode 100644 dev/packages/async/async.dart.transitive_digest create mode 100644 dev/packages/boolean_selector/boolean_selector.dart.transitive_digest delete mode 100644 dev/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js create mode 100644 dev/packages/built_collection/built_collection.dart.transitive_digest create mode 100644 dev/packages/built_collection/src/internal/hash.dart.transitive_digest create mode 100644 dev/packages/built_collection/src/set.dart.transitive_digest create mode 100644 dev/packages/built_value/built_value.dart.transitive_digest create mode 100644 dev/packages/built_value/serializer.dart.transitive_digest create mode 100644 dev/packages/built_value/standard_json_plugin.dart.transitive_digest create mode 100644 dev/packages/codemirror/codemirror.dart.transitive_digest create mode 100644 dev/packages/codemirror/hints.dart.transitive_digest create mode 100644 dev/packages/collection/collection.dart.transitive_digest create mode 100644 dev/packages/color/color.dart.transitive_digest create mode 100644 dev/packages/crypto/crypto.dart.transitive_digest create mode 100644 dev/packages/dialog/dialog.dart.transitive_digest create mode 100644 dev/packages/dnd/dnd.dart.transitive_digest create mode 100644 dev/packages/fixnum/fixnum.dart.transitive_digest create mode 100644 dev/packages/http/http.dart.transitive_digest create mode 100644 dev/packages/http_parser/http_parser.dart.transitive_digest create mode 100644 dev/packages/intl/src/data/dates/patterns/as.json create mode 100644 dev/packages/intl/src/data/dates/patterns/bm.json create mode 100644 dev/packages/intl/src/data/dates/patterns/en_NZ.json create mode 100644 dev/packages/intl/src/data/dates/patterns/fur.json create mode 100644 dev/packages/intl/src/data/dates/patterns/mg.json create mode 100644 dev/packages/intl/src/data/dates/patterns/nyn.json delete mode 100644 dev/packages/intl/src/data/dates/patterns/sd.json create mode 100644 dev/packages/intl/src/data/dates/symbols/as.json create mode 100644 dev/packages/intl/src/data/dates/symbols/bm.json create mode 100644 dev/packages/intl/src/data/dates/symbols/en_NZ.json create mode 100644 dev/packages/intl/src/data/dates/symbols/fur.json create mode 100644 dev/packages/intl/src/data/dates/symbols/mg.json create mode 100644 dev/packages/intl/src/data/dates/symbols/nyn.json create mode 100644 dev/packages/js/js.dart.transitive_digest create mode 100644 dev/packages/js/js_util.dart.transitive_digest create mode 100644 dev/packages/logging/logging.dart.transitive_digest create mode 100644 dev/packages/matcher/expect.dart.transitive_digest create mode 100644 dev/packages/matcher/src/expect/expect.dart.transitive_digest create mode 100644 dev/packages/matcher/src/expect/expect_async.dart.transitive_digest create mode 100644 dev/packages/matcher/src/expect/throws_matcher.dart.transitive_digest create mode 100644 dev/packages/meta/meta.dart.transitive_digest create mode 100644 dev/packages/meta/meta_meta.dart.transitive_digest create mode 100644 dev/packages/over_react/component_base.dart.transitive_digest create mode 100644 dev/packages/over_react/components.dart.transitive_digest create mode 100644 dev/packages/over_react/over_react.dart.transitive_digest create mode 100644 dev/packages/over_react/over_react_redux.dart.transitive_digest create mode 100644 dev/packages/over_react/react_dom.dart.transitive_digest create mode 100644 dev/packages/over_react/src/component/error_boundary.dart.transitive_digest create mode 100644 dev/packages/over_react/src/component/error_boundary_api.dart.transitive_digest create mode 100644 dev/packages/over_react/src/component/error_boundary_recoverable.dart.transitive_digest create mode 100644 dev/packages/over_react/src/util/react_wrappers.dart.transitive_digest create mode 100644 dev/packages/over_react_test/over_react_test.dart.transitive_digest create mode 100644 dev/packages/path/path.dart.transitive_digest delete mode 100644 dev/packages/pedantic/analysis_options.1.0.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.1.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.11.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.2.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.3.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.4.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.5.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.6.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.7.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.8.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.1.9.0.yaml delete mode 100644 dev/packages/pedantic/analysis_options.yaml create mode 100644 dev/packages/petitparser/core.dart.transitive_digest create mode 100644 dev/packages/petitparser/petitparser.dart.transitive_digest create mode 100644 dev/packages/platform_detect/platform_detect.dart.transitive_digest create mode 100644 dev/packages/pointycastle/api.dart.transitive_digest create mode 100644 dev/packages/pointycastle/block/aes.dart.transitive_digest create mode 100644 dev/packages/pointycastle/digests/sha1.dart.transitive_digest create mode 100644 dev/packages/pointycastle/export.dart.transitive_digest create mode 100644 dev/packages/pointycastle/macs/hmac.dart.transitive_digest create mode 100644 dev/packages/pool/pool.dart.transitive_digest create mode 100644 dev/packages/pub_semver/pub_semver.dart.transitive_digest create mode 100644 dev/packages/quiver/collection.dart.transitive_digest create mode 100644 dev/packages/quiver/core.dart.transitive_digest create mode 100644 dev/packages/quiver/iterables.dart.transitive_digest create mode 100644 dev/packages/react/hooks.dart.transitive_digest create mode 100644 dev/packages/react/react.dart.transitive_digest create mode 100644 dev/packages/react/react_client.dart.transitive_digest create mode 100644 dev/packages/react/react_client/bridge.dart.transitive_digest create mode 100644 dev/packages/react/react_client/component_factory.dart.transitive_digest create mode 100644 dev/packages/react/react_client/js_backed_map.dart.transitive_digest create mode 100644 dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest create mode 100644 dev/packages/react/react_client/react_interop.dart.transitive_digest create mode 100644 dev/packages/react/react_dom.dart.transitive_digest create mode 100644 dev/packages/react/react_test_utils.dart.transitive_digest create mode 100644 dev/packages/redux/redux.dart.transitive_digest create mode 100644 dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest create mode 100644 dev/packages/source_span/source_span.dart.transitive_digest create mode 100644 dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest create mode 100644 dev/packages/stack_trace/stack_trace.dart.transitive_digest create mode 100644 dev/packages/stream_channel/stream_channel.dart.transitive_digest create mode 100644 dev/packages/string_scanner/string_scanner.dart.transitive_digest create mode 100644 dev/packages/term_glyph/term_glyph.dart.transitive_digest create mode 100644 dev/packages/test/src/runner/wasm/static/default.html.tpl create mode 100644 dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js create mode 100644 dev/packages/test/test.dart.transitive_digest create mode 100644 dev/packages/test_api/backend.dart.transitive_digest create mode 100644 dev/packages/test_api/hooks.dart.transitive_digest create mode 100644 dev/packages/test_api/scaffolding.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/compiler.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/declarer.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/group.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/invoker.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/live_test.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/message.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/metadata.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/operating_system.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/runtime.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/state.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/suite.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest create mode 100644 dev/packages/test_api/src/backend/test.dart.transitive_digest create mode 100644 dev/packages/test_core/test_core.dart.transitive_digest create mode 100644 dev/packages/tuple/tuple.dart.transitive_digest create mode 100644 dev/packages/typed_data/typed_data.dart.transitive_digest create mode 100644 dev/packages/w_common/disposable.dart.transitive_digest create mode 100644 dev/packages/w_flux/w_flux.dart.transitive_digest create mode 100644 dev/packages/xml/xml.dart.transitive_digest diff --git a/dev/.build.manifest b/dev/.build.manifest index bb8c9cab3..fc4c6b78a 100644 --- a/dev/.build.manifest +++ b/dev/.build.manifest @@ -210,14 +210,23 @@ packages/$sdk/dev_compiler/kernel/common/run.js packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js packages/_fe_analyzer_shared/src/parser/parser.md +packages/analyzer/fix_data.yaml packages/analyzer/src/summary/format.fbs +packages/archive/archive.dart.transitive_digest +packages/async/async.dart.transitive_digest +packages/boolean_selector/boolean_selector.dart.transitive_digest packages/build_runner/src/server/README.md -packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js packages/build_runner/src/server/build_updates_client/live_reload_client.js packages/build_runner/src/server/graph_viz.html packages/build_runner/src/server/graph_viz.js packages/build_runner/src/server/graph_viz_main.dart.js packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js +packages/built_collection/built_collection.dart.transitive_digest +packages/built_collection/src/internal/hash.dart.transitive_digest +packages/built_collection/src/set.dart.transitive_digest +packages/built_value/built_value.dart.transitive_digest +packages/built_value/serializer.dart.transitive_digest +packages/built_value/standard_json_plugin.dart.transitive_digest packages/codemirror/addon/comment/comment.js packages/codemirror/addon/comment/continuecomment.js packages/codemirror/addon/dialog/dialog.css @@ -287,8 +296,10 @@ packages/codemirror/addon/tern/tern.js packages/codemirror/addon/tern/worker.js packages/codemirror/addon/wrap/hardwrap.js packages/codemirror/codemirror.css +packages/codemirror/codemirror.dart.transitive_digest packages/codemirror/codemirror.js packages/codemirror/css/codemirror.css +packages/codemirror/hints.dart.transitive_digest packages/codemirror/keymap/emacs.js packages/codemirror/keymap/sublime.js packages/codemirror/keymap/vim.js @@ -481,16 +492,26 @@ packages/codemirror/theme/xq-light.css packages/codemirror/theme/yeti.css packages/codemirror/theme/yonce.css packages/codemirror/theme/zenburn.css +packages/collection/collection.dart.transitive_digest +packages/color/color.dart.transitive_digest +packages/crypto/crypto.dart.transitive_digest packages/dialog/bootstrap.css +packages/dialog/dialog.dart.transitive_digest +packages/dnd/dnd.dart.transitive_digest +packages/fixnum/fixnum.dart.transitive_digest +packages/http/http.dart.transitive_digest +packages/http_parser/http_parser.dart.transitive_digest packages/intl/src/data/dates/README.txt packages/intl/src/data/dates/patterns/af.json packages/intl/src/data/dates/patterns/am.json packages/intl/src/data/dates/patterns/ar.json packages/intl/src/data/dates/patterns/ar_DZ.json packages/intl/src/data/dates/patterns/ar_EG.json +packages/intl/src/data/dates/patterns/as.json packages/intl/src/data/dates/patterns/az.json packages/intl/src/data/dates/patterns/be.json packages/intl/src/data/dates/patterns/bg.json +packages/intl/src/data/dates/patterns/bm.json packages/intl/src/data/dates/patterns/bn.json packages/intl/src/data/dates/patterns/br.json packages/intl/src/data/dates/patterns/bs.json @@ -511,6 +532,7 @@ packages/intl/src/data/dates/patterns/en_IE.json packages/intl/src/data/dates/patterns/en_IN.json packages/intl/src/data/dates/patterns/en_ISO.json packages/intl/src/data/dates/patterns/en_MY.json +packages/intl/src/data/dates/patterns/en_NZ.json packages/intl/src/data/dates/patterns/en_SG.json packages/intl/src/data/dates/patterns/en_US.json packages/intl/src/data/dates/patterns/en_ZA.json @@ -527,6 +549,7 @@ packages/intl/src/data/dates/patterns/fil.json packages/intl/src/data/dates/patterns/fr.json packages/intl/src/data/dates/patterns/fr_CA.json packages/intl/src/data/dates/patterns/fr_CH.json +packages/intl/src/data/dates/patterns/fur.json packages/intl/src/data/dates/patterns/ga.json packages/intl/src/data/dates/patterns/gl.json packages/intl/src/data/dates/patterns/gsw.json @@ -554,6 +577,7 @@ packages/intl/src/data/dates/patterns/ln.json packages/intl/src/data/dates/patterns/lo.json packages/intl/src/data/dates/patterns/lt.json packages/intl/src/data/dates/patterns/lv.json +packages/intl/src/data/dates/patterns/mg.json packages/intl/src/data/dates/patterns/mk.json packages/intl/src/data/dates/patterns/ml.json packages/intl/src/data/dates/patterns/mn.json @@ -567,6 +591,7 @@ packages/intl/src/data/dates/patterns/ne.json packages/intl/src/data/dates/patterns/nl.json packages/intl/src/data/dates/patterns/no.json packages/intl/src/data/dates/patterns/no_NO.json +packages/intl/src/data/dates/patterns/nyn.json packages/intl/src/data/dates/patterns/or.json packages/intl/src/data/dates/patterns/pa.json packages/intl/src/data/dates/patterns/pl.json @@ -576,7 +601,6 @@ packages/intl/src/data/dates/patterns/pt_BR.json packages/intl/src/data/dates/patterns/pt_PT.json packages/intl/src/data/dates/patterns/ro.json packages/intl/src/data/dates/patterns/ru.json -packages/intl/src/data/dates/patterns/sd.json packages/intl/src/data/dates/patterns/sh.json packages/intl/src/data/dates/patterns/si.json packages/intl/src/data/dates/patterns/sk.json @@ -605,9 +629,11 @@ packages/intl/src/data/dates/symbols/am.json packages/intl/src/data/dates/symbols/ar.json packages/intl/src/data/dates/symbols/ar_DZ.json packages/intl/src/data/dates/symbols/ar_EG.json +packages/intl/src/data/dates/symbols/as.json packages/intl/src/data/dates/symbols/az.json packages/intl/src/data/dates/symbols/be.json packages/intl/src/data/dates/symbols/bg.json +packages/intl/src/data/dates/symbols/bm.json packages/intl/src/data/dates/symbols/bn.json packages/intl/src/data/dates/symbols/br.json packages/intl/src/data/dates/symbols/bs.json @@ -628,6 +654,7 @@ packages/intl/src/data/dates/symbols/en_IE.json packages/intl/src/data/dates/symbols/en_IN.json packages/intl/src/data/dates/symbols/en_ISO.json packages/intl/src/data/dates/symbols/en_MY.json +packages/intl/src/data/dates/symbols/en_NZ.json packages/intl/src/data/dates/symbols/en_SG.json packages/intl/src/data/dates/symbols/en_US.json packages/intl/src/data/dates/symbols/en_ZA.json @@ -644,6 +671,7 @@ packages/intl/src/data/dates/symbols/fil.json packages/intl/src/data/dates/symbols/fr.json packages/intl/src/data/dates/symbols/fr_CA.json packages/intl/src/data/dates/symbols/fr_CH.json +packages/intl/src/data/dates/symbols/fur.json packages/intl/src/data/dates/symbols/ga.json packages/intl/src/data/dates/symbols/gl.json packages/intl/src/data/dates/symbols/gsw.json @@ -671,6 +699,7 @@ packages/intl/src/data/dates/symbols/ln.json packages/intl/src/data/dates/symbols/lo.json packages/intl/src/data/dates/symbols/lt.json packages/intl/src/data/dates/symbols/lv.json +packages/intl/src/data/dates/symbols/mg.json packages/intl/src/data/dates/symbols/mk.json packages/intl/src/data/dates/symbols/ml.json packages/intl/src/data/dates/symbols/mn.json @@ -683,6 +712,7 @@ packages/intl/src/data/dates/symbols/ne.json packages/intl/src/data/dates/symbols/nl.json packages/intl/src/data/dates/symbols/no.json packages/intl/src/data/dates/symbols/no_NO.json +packages/intl/src/data/dates/symbols/nyn.json packages/intl/src/data/dates/symbols/or.json packages/intl/src/data/dates/symbols/pa.json packages/intl/src/data/dates/symbols/pl.json @@ -714,39 +744,105 @@ packages/intl/src/data/dates/symbols/zh_CN.json packages/intl/src/data/dates/symbols/zh_HK.json packages/intl/src/data/dates/symbols/zh_TW.json packages/intl/src/data/dates/symbols/zu.json +packages/js/js.dart.transitive_digest +packages/js/js_util.dart.transitive_digest +packages/logging/logging.dart.transitive_digest +packages/matcher/expect.dart.transitive_digest +packages/matcher/src/expect/expect.dart.transitive_digest +packages/matcher/src/expect/expect_async.dart.transitive_digest +packages/matcher/src/expect/throws_matcher.dart.transitive_digest +packages/meta/meta.dart.transitive_digest +packages/meta/meta_meta.dart.transitive_digest packages/node_preamble/preamble.js packages/node_preamble/preamble.min.js +packages/over_react/component_base.dart.transitive_digest +packages/over_react/components.dart.transitive_digest +packages/over_react/over_react.dart.transitive_digest +packages/over_react/over_react_redux.dart.transitive_digest +packages/over_react/react_dom.dart.transitive_digest packages/over_react/src/builder/README.md -packages/pedantic/analysis_options.1.0.0.yaml -packages/pedantic/analysis_options.1.1.0.yaml -packages/pedantic/analysis_options.1.11.0.yaml -packages/pedantic/analysis_options.1.2.0.yaml -packages/pedantic/analysis_options.1.3.0.yaml -packages/pedantic/analysis_options.1.4.0.yaml -packages/pedantic/analysis_options.1.5.0.yaml -packages/pedantic/analysis_options.1.6.0.yaml -packages/pedantic/analysis_options.1.7.0.yaml -packages/pedantic/analysis_options.1.8.0.yaml -packages/pedantic/analysis_options.1.9.0.yaml -packages/pedantic/analysis_options.yaml +packages/over_react/src/component/error_boundary.dart.transitive_digest +packages/over_react/src/component/error_boundary_api.dart.transitive_digest +packages/over_react/src/component/error_boundary_recoverable.dart.transitive_digest +packages/over_react/src/util/react_wrappers.dart.transitive_digest +packages/over_react_test/over_react_test.dart.transitive_digest +packages/path/path.dart.transitive_digest +packages/petitparser/core.dart.transitive_digest +packages/petitparser/petitparser.dart.transitive_digest +packages/platform_detect/platform_detect.dart.transitive_digest +packages/pointycastle/api.dart.transitive_digest +packages/pointycastle/block/aes.dart.transitive_digest +packages/pointycastle/digests/sha1.dart.transitive_digest +packages/pointycastle/export.dart.transitive_digest +packages/pointycastle/macs/hmac.dart.transitive_digest +packages/pool/pool.dart.transitive_digest +packages/pub_semver/pub_semver.dart.transitive_digest +packages/quiver/collection.dart.transitive_digest +packages/quiver/core.dart.transitive_digest +packages/quiver/iterables.dart.transitive_digest +packages/react/hooks.dart.transitive_digest +packages/react/react.dart.transitive_digest packages/react/react.js +packages/react/react_client.dart.transitive_digest +packages/react/react_client/bridge.dart.transitive_digest +packages/react/react_client/component_factory.dart.transitive_digest +packages/react/react_client/js_backed_map.dart.transitive_digest +packages/react/react_client/js_interop_helpers.dart.transitive_digest +packages/react/react_client/react_interop.dart.transitive_digest +packages/react/react_dom.dart.transitive_digest packages/react/react_dom.js packages/react/react_dom_prod.js packages/react/react_dom_server.js packages/react/react_dom_server_prod.js packages/react/react_prod.js +packages/react/react_test_utils.dart.transitive_digest packages/react/react_with_addons.js packages/react/react_with_react_dom_prod.js +packages/redux/redux.dart.transitive_digest +packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest packages/scadnano/src/.gitignore packages/scadnano/src/actions/.gitignore packages/scadnano/src/middleware/.gitignore packages/scadnano/src/state/.gitignore +packages/source_span/source_span.dart.transitive_digest +packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest +packages/stack_trace/stack_trace.dart.transitive_digest +packages/stream_channel/stream_channel.dart.transitive_digest +packages/string_scanner/string_scanner.dart.transitive_digest +packages/term_glyph/term_glyph.dart.transitive_digest packages/test/dart.js packages/test/src/runner/browser/static/default.html.tpl packages/test/src/runner/browser/static/favicon.ico packages/test/src/runner/browser/static/host.css packages/test/src/runner/browser/static/host.dart.js packages/test/src/runner/browser/static/index.html +packages/test/src/runner/wasm/static/default.html.tpl +packages/test/src/runner/wasm/static/run_wasm_chrome.js +packages/test/test.dart.transitive_digest +packages/test_api/backend.dart.transitive_digest +packages/test_api/hooks.dart.transitive_digest +packages/test_api/scaffolding.dart.transitive_digest +packages/test_api/src/backend/compiler.dart.transitive_digest +packages/test_api/src/backend/declarer.dart.transitive_digest +packages/test_api/src/backend/group.dart.transitive_digest +packages/test_api/src/backend/invoker.dart.transitive_digest +packages/test_api/src/backend/live_test.dart.transitive_digest +packages/test_api/src/backend/live_test_controller.dart.transitive_digest +packages/test_api/src/backend/message.dart.transitive_digest +packages/test_api/src/backend/metadata.dart.transitive_digest +packages/test_api/src/backend/operating_system.dart.transitive_digest +packages/test_api/src/backend/platform_selector.dart.transitive_digest +packages/test_api/src/backend/runtime.dart.transitive_digest +packages/test_api/src/backend/state.dart.transitive_digest +packages/test_api/src/backend/suite.dart.transitive_digest +packages/test_api/src/backend/suite_platform.dart.transitive_digest +packages/test_api/src/backend/test.dart.transitive_digest +packages/test_core/test_core.dart.transitive_digest +packages/tuple/tuple.dart.transitive_digest +packages/typed_data/typed_data.dart.transitive_digest +packages/w_common/disposable.dart.transitive_digest +packages/w_flux/w_flux.dart.transitive_digest +packages/xml/xml.dart.transitive_digest pandoc.css react_dnd_imports.js scadnano-styles.css diff --git a/dev/.dart_tool/package_config.json b/dev/.dart_tool/package_config.json index d26c8d43d..2d365ae70 100644 --- a/dev/.dart_tool/package_config.json +++ b/dev/.dart_tool/package_config.json @@ -1 +1 @@ -{"configVersion":2,"packages":[{"name":"_fe_analyzer_shared","rootUri":"../packages/_fe_analyzer_shared","packageUri":"","languageVersion":"2.2"},{"name":"analyzer","rootUri":"../packages/analyzer","packageUri":"","languageVersion":"2.7"},{"name":"archive","rootUri":"../packages/archive","packageUri":"","languageVersion":"2.12"},{"name":"args","rootUri":"../packages/args","packageUri":"","languageVersion":"2.12"},{"name":"async","rootUri":"../packages/async","packageUri":"","languageVersion":"2.12"},{"name":"bazel_worker","rootUri":"../packages/bazel_worker","packageUri":"","languageVersion":"2.12"},{"name":"boolean_selector","rootUri":"../packages/boolean_selector","packageUri":"","languageVersion":"2.12"},{"name":"build","rootUri":"../packages/build","packageUri":"","languageVersion":"2.9"},{"name":"build_config","rootUri":"../packages/build_config","packageUri":"","languageVersion":"2.9"},{"name":"build_daemon","rootUri":"../packages/build_daemon","packageUri":"","languageVersion":"2.11"},{"name":"build_modules","rootUri":"../packages/build_modules","packageUri":"","languageVersion":"2.10"},{"name":"build_resolvers","rootUri":"../packages/build_resolvers","packageUri":"","languageVersion":"2.9"},{"name":"build_runner","rootUri":"../packages/build_runner","packageUri":"","languageVersion":"2.10"},{"name":"build_runner_core","rootUri":"../packages/build_runner_core","packageUri":"","languageVersion":"2.9"},{"name":"build_test","rootUri":"../packages/build_test","packageUri":"","languageVersion":"2.9"},{"name":"build_web_compilers","rootUri":"../packages/build_web_compilers","packageUri":"","languageVersion":"2.11"},{"name":"built_collection","rootUri":"../packages/built_collection","packageUri":"","languageVersion":"2.12"},{"name":"built_redux","rootUri":"../packages/built_redux","packageUri":"","languageVersion":"2.4"},{"name":"built_value","rootUri":"../packages/built_value","packageUri":"","languageVersion":"2.12"},{"name":"built_value_generator","rootUri":"../packages/built_value_generator","packageUri":"","languageVersion":"2.12"},{"name":"charcode","rootUri":"../packages/charcode","packageUri":"","languageVersion":"2.12"},{"name":"checked_yaml","rootUri":"../packages/checked_yaml","packageUri":"","languageVersion":"2.7"},{"name":"cli_util","rootUri":"../packages/cli_util","packageUri":"","languageVersion":"2.12"},{"name":"clock","rootUri":"../packages/clock","packageUri":"","languageVersion":"2.12"},{"name":"code_builder","rootUri":"../packages/code_builder","packageUri":"","languageVersion":"2.7"},{"name":"codemirror","rootUri":"../packages/codemirror","packageUri":"","languageVersion":"2.12"},{"name":"collection","rootUri":"../packages/collection","packageUri":"","languageVersion":"2.12"},{"name":"color","rootUri":"../packages/color","packageUri":"","languageVersion":"2.12"},{"name":"convert","rootUri":"../packages/convert","packageUri":"","languageVersion":"2.12"},{"name":"coverage","rootUri":"../packages/coverage","packageUri":"","languageVersion":"2.7"},{"name":"crypto","rootUri":"../packages/crypto","packageUri":"","languageVersion":"2.12"},{"name":"csslib","rootUri":"../packages/csslib","packageUri":"","languageVersion":"2.12"},{"name":"dart_style","rootUri":"../packages/dart_style","packageUri":"","languageVersion":"2.9"},{"name":"dialog","rootUri":"../packages/dialog","packageUri":"","languageVersion":"2.12"},{"name":"dnd","rootUri":"../packages/dnd","packageUri":"","languageVersion":"2.12"},{"name":"file","rootUri":"../packages/file","packageUri":"","languageVersion":"2.2"},{"name":"fixnum","rootUri":"../packages/fixnum","packageUri":"","languageVersion":"2.12"},{"name":"glob","rootUri":"../packages/glob","packageUri":"","languageVersion":"2.2"},{"name":"graphs","rootUri":"../packages/graphs","packageUri":"","languageVersion":"2.0"},{"name":"html","rootUri":"../packages/html","packageUri":"","languageVersion":"2.12"},{"name":"http","rootUri":"../packages/http","packageUri":"","languageVersion":"2.4"},{"name":"http_multi_server","rootUri":"../packages/http_multi_server","packageUri":"","languageVersion":"2.1"},{"name":"http_parser","rootUri":"../packages/http_parser","packageUri":"","languageVersion":"2.3"},{"name":"intl","rootUri":"../packages/intl","packageUri":"","languageVersion":"2.12"},{"name":"io","rootUri":"../packages/io","packageUri":"","languageVersion":"2.1"},{"name":"js","rootUri":"../packages/js","packageUri":"","languageVersion":"2.12"},{"name":"json_annotation","rootUri":"../packages/json_annotation","packageUri":"","languageVersion":"2.7"},{"name":"logging","rootUri":"../packages/logging","packageUri":"","languageVersion":"2.12"},{"name":"matcher","rootUri":"../packages/matcher","packageUri":"","languageVersion":"2.12"},{"name":"memoize","rootUri":"../packages/memoize","packageUri":"","languageVersion":"2.0"},{"name":"meta","rootUri":"../packages/meta","packageUri":"","languageVersion":"2.12"},{"name":"mime","rootUri":"../packages/mime","packageUri":"","languageVersion":"2.12"},{"name":"node_interop","rootUri":"../packages/node_interop","packageUri":"","languageVersion":"2.9"},{"name":"node_io","rootUri":"../packages/node_io","packageUri":"","languageVersion":"2.2"},{"name":"node_preamble","rootUri":"../packages/node_preamble","packageUri":"","languageVersion":"1.24"},{"name":"over_react","rootUri":"../packages/over_react","packageUri":"","languageVersion":"2.11"},{"name":"over_react_test","rootUri":"../packages/over_react_test","packageUri":"","languageVersion":"2.11"},{"name":"package_config","rootUri":"../packages/package_config","packageUri":"","languageVersion":"2.7"},{"name":"path","rootUri":"../packages/path","packageUri":"","languageVersion":"2.12"},{"name":"pedantic","rootUri":"../packages/pedantic","packageUri":"","languageVersion":"2.12"},{"name":"petitparser","rootUri":"../packages/petitparser","packageUri":"","languageVersion":"2.13"},{"name":"platform_detect","rootUri":"../packages/platform_detect","packageUri":"","languageVersion":"2.4"},{"name":"pointycastle","rootUri":"../packages/pointycastle","packageUri":"","languageVersion":"2.12"},{"name":"pool","rootUri":"../packages/pool","packageUri":"","languageVersion":"2.12"},{"name":"protobuf","rootUri":"../packages/protobuf","packageUri":"","languageVersion":"2.12"},{"name":"pub_semver","rootUri":"../packages/pub_semver","packageUri":"","languageVersion":"2.12"},{"name":"pubspec_parse","rootUri":"../packages/pubspec_parse","packageUri":"","languageVersion":"2.7"},{"name":"quiver","rootUri":"../packages/quiver","packageUri":"","languageVersion":"2.0"},{"name":"react","rootUri":"../packages/react","packageUri":"","languageVersion":"2.11"},{"name":"redux","rootUri":"../packages/redux","packageUri":"","languageVersion":"2.0"},{"name":"redux_dev_tools","rootUri":"../packages/redux_dev_tools","packageUri":"","languageVersion":"2.0"},{"name":"reselect","rootUri":"../packages/reselect","packageUri":"","languageVersion":"2.0"},{"name":"scratch_space","rootUri":"../packages/scratch_space","packageUri":"","languageVersion":"2.9"},{"name":"shelf","rootUri":"../packages/shelf","packageUri":"","languageVersion":"2.1"},{"name":"shelf_packages_handler","rootUri":"../packages/shelf_packages_handler","packageUri":"","languageVersion":"2.8"},{"name":"shelf_static","rootUri":"../packages/shelf_static","packageUri":"","languageVersion":"2.3"},{"name":"shelf_web_socket","rootUri":"../packages/shelf_web_socket","packageUri":"","languageVersion":"2.1"},{"name":"source_gen","rootUri":"../packages/source_gen","packageUri":"","languageVersion":"2.10"},{"name":"source_map_stack_trace","rootUri":"../packages/source_map_stack_trace","packageUri":"","languageVersion":"2.12"},{"name":"source_maps","rootUri":"../packages/source_maps","packageUri":"","languageVersion":"2.12"},{"name":"source_span","rootUri":"../packages/source_span","packageUri":"","languageVersion":"2.12"},{"name":"spreadsheet_decoder","rootUri":"../packages/spreadsheet_decoder","packageUri":"","languageVersion":"2.12"},{"name":"stack_trace","rootUri":"../packages/stack_trace","packageUri":"","languageVersion":"2.12"},{"name":"stream_channel","rootUri":"../packages/stream_channel","packageUri":"","languageVersion":"2.12"},{"name":"stream_transform","rootUri":"../packages/stream_transform","packageUri":"","languageVersion":"2.12"},{"name":"string_scanner","rootUri":"../packages/string_scanner","packageUri":"","languageVersion":"2.12"},{"name":"term_glyph","rootUri":"../packages/term_glyph","packageUri":"","languageVersion":"2.12"},{"name":"test","rootUri":"../packages/test","packageUri":"","languageVersion":"2.12"},{"name":"test_api","rootUri":"../packages/test_api","packageUri":"","languageVersion":"2.12"},{"name":"test_core","rootUri":"../packages/test_core","packageUri":"","languageVersion":"2.12"},{"name":"test_html_builder","rootUri":"../packages/test_html_builder","packageUri":"","languageVersion":"2.11"},{"name":"timing","rootUri":"../packages/timing","packageUri":"","languageVersion":"2.2"},{"name":"transformer_utils","rootUri":"../packages/transformer_utils","packageUri":"","languageVersion":"2.11"},{"name":"tuple","rootUri":"../packages/tuple","packageUri":"","languageVersion":"2.0"},{"name":"typed_data","rootUri":"../packages/typed_data","packageUri":"","languageVersion":"2.12"},{"name":"vm_service","rootUri":"../packages/vm_service","packageUri":"","languageVersion":"2.12"},{"name":"w_common","rootUri":"../packages/w_common","packageUri":"","languageVersion":"2.11"},{"name":"w_flux","rootUri":"../packages/w_flux","packageUri":"","languageVersion":"2.11"},{"name":"watcher","rootUri":"../packages/watcher","packageUri":"","languageVersion":"2.12"},{"name":"web_socket_channel","rootUri":"../packages/web_socket_channel","packageUri":"","languageVersion":"2.10"},{"name":"webkit_inspection_protocol","rootUri":"../packages/webkit_inspection_protocol","packageUri":"","languageVersion":"2.12"},{"name":"xml","rootUri":"../packages/xml","packageUri":"","languageVersion":"2.12"},{"name":"yaml","rootUri":"../packages/yaml","packageUri":"","languageVersion":"2.12"},{"name":"scadnano","rootUri":"../","packageUri":"packages/scadnano","languageVersion":"2.11"}],"generated":"2024-09-06T17:00:11.129532Z","generator":"pub","generatorVersion":"2.13.4"} \ No newline at end of file +{"configVersion":2,"packages":[{"name":"_fe_analyzer_shared","rootUri":"../packages/_fe_analyzer_shared","packageUri":"","languageVersion":"2.17"},{"name":"analyzer","rootUri":"../packages/analyzer","packageUri":"","languageVersion":"2.19"},{"name":"archive","rootUri":"../packages/archive","packageUri":"","languageVersion":"2.12"},{"name":"args","rootUri":"../packages/args","packageUri":"","languageVersion":"2.19"},{"name":"async","rootUri":"../packages/async","packageUri":"","languageVersion":"2.18"},{"name":"bazel_worker","rootUri":"../packages/bazel_worker","packageUri":"","languageVersion":"2.19"},{"name":"boolean_selector","rootUri":"../packages/boolean_selector","packageUri":"","languageVersion":"2.17"},{"name":"build","rootUri":"../packages/build","packageUri":"","languageVersion":"2.17"},{"name":"build_config","rootUri":"../packages/build_config","packageUri":"","languageVersion":"2.14"},{"name":"build_daemon","rootUri":"../packages/build_daemon","packageUri":"","languageVersion":"2.14"},{"name":"build_modules","rootUri":"../packages/build_modules","packageUri":"","languageVersion":"2.18"},{"name":"build_resolvers","rootUri":"../packages/build_resolvers","packageUri":"","languageVersion":"2.19"},{"name":"build_runner","rootUri":"../packages/build_runner","packageUri":"","languageVersion":"2.14"},{"name":"build_runner_core","rootUri":"../packages/build_runner_core","packageUri":"","languageVersion":"2.17"},{"name":"build_test","rootUri":"../packages/build_test","packageUri":"","languageVersion":"2.19"},{"name":"build_web_compilers","rootUri":"../packages/build_web_compilers","packageUri":"","languageVersion":"2.18"},{"name":"built_collection","rootUri":"../packages/built_collection","packageUri":"","languageVersion":"2.12"},{"name":"built_value","rootUri":"../packages/built_value","packageUri":"","languageVersion":"2.12"},{"name":"built_value_generator","rootUri":"../packages/built_value_generator","packageUri":"","languageVersion":"2.14"},{"name":"checked_yaml","rootUri":"../packages/checked_yaml","packageUri":"","languageVersion":"2.19"},{"name":"clock","rootUri":"../packages/clock","packageUri":"","languageVersion":"2.12"},{"name":"code_builder","rootUri":"../packages/code_builder","packageUri":"","languageVersion":"2.19"},{"name":"codemirror","rootUri":"../packages/codemirror","packageUri":"","languageVersion":"2.12"},{"name":"collection","rootUri":"../packages/collection","packageUri":"","languageVersion":"2.18"},{"name":"color","rootUri":"../packages/color","packageUri":"","languageVersion":"2.12"},{"name":"convert","rootUri":"../packages/convert","packageUri":"","languageVersion":"2.18"},{"name":"coverage","rootUri":"../packages/coverage","packageUri":"","languageVersion":"2.18"},{"name":"crypto","rootUri":"../packages/crypto","packageUri":"","languageVersion":"2.19"},{"name":"csslib","rootUri":"../packages/csslib","packageUri":"","languageVersion":"2.19"},{"name":"dart_style","rootUri":"../packages/dart_style","packageUri":"","languageVersion":"2.19"},{"name":"dialog","rootUri":"../packages/dialog","packageUri":"","languageVersion":"2.12"},{"name":"dnd","rootUri":"../packages/dnd","packageUri":"","languageVersion":"2.12"},{"name":"file","rootUri":"../packages/file","packageUri":"","languageVersion":"2.12"},{"name":"fixnum","rootUri":"../packages/fixnum","packageUri":"","languageVersion":"2.19"},{"name":"frontend_server_client","rootUri":"../packages/frontend_server_client","packageUri":"","languageVersion":"2.12"},{"name":"glob","rootUri":"../packages/glob","packageUri":"","languageVersion":"2.19"},{"name":"graphs","rootUri":"../packages/graphs","packageUri":"","languageVersion":"2.18"},{"name":"html","rootUri":"../packages/html","packageUri":"","languageVersion":"2.19"},{"name":"http","rootUri":"../packages/http","packageUri":"","languageVersion":"2.19"},{"name":"http_multi_server","rootUri":"../packages/http_multi_server","packageUri":"","languageVersion":"2.12"},{"name":"http_parser","rootUri":"../packages/http_parser","packageUri":"","languageVersion":"2.12"},{"name":"intl","rootUri":"../packages/intl","packageUri":"","languageVersion":"2.12"},{"name":"io","rootUri":"../packages/io","packageUri":"","languageVersion":"2.12"},{"name":"js","rootUri":"../packages/js","packageUri":"","languageVersion":"2.19"},{"name":"json_annotation","rootUri":"../packages/json_annotation","packageUri":"","languageVersion":"2.19"},{"name":"logging","rootUri":"../packages/logging","packageUri":"","languageVersion":"2.19"},{"name":"matcher","rootUri":"../packages/matcher","packageUri":"","languageVersion":"2.18"},{"name":"memoize","rootUri":"../packages/memoize","packageUri":"","languageVersion":"2.12"},{"name":"meta","rootUri":"../packages/meta","packageUri":"","languageVersion":"2.12"},{"name":"mime","rootUri":"../packages/mime","packageUri":"","languageVersion":"2.18"},{"name":"node_preamble","rootUri":"../packages/node_preamble","packageUri":"","languageVersion":"2.12"},{"name":"over_react","rootUri":"../packages/over_react","packageUri":"","languageVersion":"2.19"},{"name":"over_react_test","rootUri":"../packages/over_react_test","packageUri":"","languageVersion":"2.13"},{"name":"package_config","rootUri":"../packages/package_config","packageUri":"","languageVersion":"2.12"},{"name":"path","rootUri":"../packages/path","packageUri":"","languageVersion":"2.12"},{"name":"petitparser","rootUri":"../packages/petitparser","packageUri":"","languageVersion":"2.19"},{"name":"platform_detect","rootUri":"../packages/platform_detect","packageUri":"","languageVersion":"2.12"},{"name":"pointycastle","rootUri":"../packages/pointycastle","packageUri":"","languageVersion":"2.14"},{"name":"pool","rootUri":"../packages/pool","packageUri":"","languageVersion":"2.12"},{"name":"protobuf","rootUri":"../packages/protobuf","packageUri":"","languageVersion":"2.19"},{"name":"pub_semver","rootUri":"../packages/pub_semver","packageUri":"","languageVersion":"2.17"},{"name":"pubspec_parse","rootUri":"../packages/pubspec_parse","packageUri":"","languageVersion":"2.18"},{"name":"quiver","rootUri":"../packages/quiver","packageUri":"","languageVersion":"2.17"},{"name":"react","rootUri":"../packages/react","packageUri":"","languageVersion":"2.13"},{"name":"redux","rootUri":"../packages/redux","packageUri":"","languageVersion":"2.12"},{"name":"redux_dev_tools","rootUri":"../packages/redux_dev_tools","packageUri":"","languageVersion":"2.12"},{"name":"reselect","rootUri":"../packages/reselect","packageUri":"","languageVersion":"2.12"},{"name":"scratch_space","rootUri":"../packages/scratch_space","packageUri":"","languageVersion":"2.19"},{"name":"shelf","rootUri":"../packages/shelf","packageUri":"","languageVersion":"2.17"},{"name":"shelf_packages_handler","rootUri":"../packages/shelf_packages_handler","packageUri":"","languageVersion":"2.17"},{"name":"shelf_static","rootUri":"../packages/shelf_static","packageUri":"","languageVersion":"2.17"},{"name":"shelf_web_socket","rootUri":"../packages/shelf_web_socket","packageUri":"","languageVersion":"2.17"},{"name":"source_gen","rootUri":"../packages/source_gen","packageUri":"","languageVersion":"2.18"},{"name":"source_map_stack_trace","rootUri":"../packages/source_map_stack_trace","packageUri":"","languageVersion":"2.12"},{"name":"source_maps","rootUri":"../packages/source_maps","packageUri":"","languageVersion":"2.18"},{"name":"source_span","rootUri":"../packages/source_span","packageUri":"","languageVersion":"2.18"},{"name":"spreadsheet_decoder","rootUri":"../packages/spreadsheet_decoder","packageUri":"","languageVersion":"2.16"},{"name":"stack_trace","rootUri":"../packages/stack_trace","packageUri":"","languageVersion":"2.18"},{"name":"stream_channel","rootUri":"../packages/stream_channel","packageUri":"","languageVersion":"2.19"},{"name":"stream_transform","rootUri":"../packages/stream_transform","packageUri":"","languageVersion":"2.14"},{"name":"string_scanner","rootUri":"../packages/string_scanner","packageUri":"","languageVersion":"2.18"},{"name":"term_glyph","rootUri":"../packages/term_glyph","packageUri":"","languageVersion":"2.12"},{"name":"test","rootUri":"../packages/test","packageUri":"","languageVersion":"2.18"},{"name":"test_api","rootUri":"../packages/test_api","packageUri":"","languageVersion":"2.18"},{"name":"test_core","rootUri":"../packages/test_core","packageUri":"","languageVersion":"2.18"},{"name":"test_html_builder","rootUri":"../packages/test_html_builder","packageUri":"","languageVersion":"2.12"},{"name":"timing","rootUri":"../packages/timing","packageUri":"","languageVersion":"2.14"},{"name":"transformer_utils","rootUri":"../packages/transformer_utils","packageUri":"","languageVersion":"2.12"},{"name":"tuple","rootUri":"../packages/tuple","packageUri":"","languageVersion":"2.17"},{"name":"typed_data","rootUri":"../packages/typed_data","packageUri":"","languageVersion":"2.17"},{"name":"vm_service","rootUri":"../packages/vm_service","packageUri":"","languageVersion":"2.19"},{"name":"w_common","rootUri":"../packages/w_common","packageUri":"","languageVersion":"2.12"},{"name":"w_flux","rootUri":"../packages/w_flux","packageUri":"","languageVersion":"2.12"},{"name":"watcher","rootUri":"../packages/watcher","packageUri":"","languageVersion":"2.14"},{"name":"web_socket_channel","rootUri":"../packages/web_socket_channel","packageUri":"","languageVersion":"2.15"},{"name":"webkit_inspection_protocol","rootUri":"../packages/webkit_inspection_protocol","packageUri":"","languageVersion":"2.12"},{"name":"xml","rootUri":"../packages/xml","packageUri":"","languageVersion":"2.19"},{"name":"yaml","rootUri":"../packages/yaml","packageUri":"","languageVersion":"2.19"},{"name":"scadnano","rootUri":"../","packageUri":"packages/scadnano","languageVersion":"2.19"}],"generated":"2024-09-13T06:31:44.430771Z","generator":"pub","generatorVersion":"2.19.6"} \ No newline at end of file diff --git a/dev/.packages b/dev/.packages index 5c3a48cb9..02a1d2a08 100644 --- a/dev/.packages +++ b/dev/.packages @@ -15,12 +15,9 @@ build_runner_core:packages/build_runner_core/ build_test:packages/build_test/ build_web_compilers:packages/build_web_compilers/ built_collection:packages/built_collection/ -built_redux:packages/built_redux/ built_value:packages/built_value/ built_value_generator:packages/built_value_generator/ -charcode:packages/charcode/ checked_yaml:packages/checked_yaml/ -cli_util:packages/cli_util/ clock:packages/clock/ code_builder:packages/code_builder/ codemirror:packages/codemirror/ @@ -35,6 +32,7 @@ dialog:packages/dialog/ dnd:packages/dnd/ file:packages/file/ fixnum:packages/fixnum/ +frontend_server_client:packages/frontend_server_client/ glob:packages/glob/ graphs:packages/graphs/ html:packages/html/ @@ -50,14 +48,11 @@ matcher:packages/matcher/ memoize:packages/memoize/ meta:packages/meta/ mime:packages/mime/ -node_interop:packages/node_interop/ -node_io:packages/node_io/ node_preamble:packages/node_preamble/ over_react:packages/over_react/ over_react_test:packages/over_react_test/ package_config:packages/package_config/ path:packages/path/ -pedantic:packages/pedantic/ petitparser:packages/petitparser/ platform_detect:packages/platform_detect/ pointycastle:packages/pointycastle/ diff --git a/dev/main.dart.js b/dev/main.dart.js index 62f6a59a4..d137c18d9 100644 --- a/dev/main.dart.js +++ b/dev/main.dart.js @@ -1,4 +1,4 @@ -// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler version: 2.13.4. +// Generated by dart2js (NullSafetyMode.unsound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.6. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -9,11 +9,12 @@ // directly. Instead, a closure that will invoke [main], and its arguments // [args] is passed to [dartMainRunner]. // -// dartDeferredLibraryLoader(uri, successCallback, errorCallback): +// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId): // if this function is defined, it will be called when a deferred library // is loaded. It should load and eval the javascript of `uri`, and call // successCallback. If it fails to do so, it should call errorCallback with -// an error. +// an error. The loadId argument is the deferred import that resulted in +// this uri being loaded. // // dartCallInstrumentation(id, qualifiedName): // if this function is defined, it will be called at each entry of a @@ -27,7 +28,7 @@ to[key] = from[key]; } } - function mixinProperties(from, to) { + function mixinPropertiesHard(from, to) { var keys = Object.keys(from); for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -35,6 +36,9 @@ to[key] = from[key]; } } + function mixinPropertiesEasy(from, to) { + Object.assign(to, from); + } var supportsDirectProtoAccess = function() { var cls = function() { }; @@ -54,23 +58,6 @@ } return false; }(); - function setFunctionNamesIfNecessary(holders) { - function t() { - } - ; - if (typeof t.name == "string") - return; - for (var i = 0; i < holders.length; i++) { - var holder = holders[i]; - var keys = Object.keys(holder); - for (var j = 0; j < keys.length; j++) { - var key = keys[j]; - var f = holder[key]; - if (typeof f == "function") - f.name = key; - } - } - } function inherit(cls, sup) { cls.prototype.constructor = cls; cls.prototype["$is" + cls.name] = cls; @@ -88,8 +75,12 @@ for (var i = 0; i < classes.length; i++) inherit(classes[i], sup); } - function mixin(cls, mixin) { - mixinProperties(mixin.prototype, cls.prototype); + function mixinEasy(cls, mixin) { + mixinPropertiesEasy(mixin.prototype, cls.prototype); + cls.prototype.constructor = cls; + } + function mixinHard(cls, mixin) { + mixinPropertiesHard(mixin.prototype, cls.prototype); cls.prototype.constructor = cls; } function lazyOld(holder, name, getterName, initializer) { @@ -97,7 +88,7 @@ holder[name] = uninitializedSentinel; holder[getterName] = function() { holder[getterName] = function() { - H.throwCyclicInit(name); + A.throwCyclicInit(name); }; var result; var sentinelInProgress = initializer; @@ -136,13 +127,14 @@ if (holder[name] === uninitializedSentinel) { var value = initializer(); if (holder[name] !== uninitializedSentinel) - H.throwLateInitializationError(name); + A.throwLateFieldADI(name); holder[name] = value; } + var finalValue = holder[name]; holder[getterName] = function() { - return this[name]; + return finalValue; }; - return holder[name]; + return finalValue; }; } function makeConstList(list) { @@ -162,45 +154,42 @@ convertToFastObject(arrayOfObjects[i]); } var functionCounter = 0; - function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) { - return isIntercepted ? new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(receiver) {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);" + "return new c(this, funcs[0], receiver, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null); + function instanceTearOffGetter(isIntercepted, parameters) { + var cache = null; + return isIntercepted ? function(receiver) { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(receiver, this); + } : function() { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(this, null); + }; } - function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) { + function staticTearOffGetter(parameters) { var cache = null; - return isStatic ? function() { + return function() { if (cache === null) - cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype; + cache = A.closureFromTearOff(parameters).prototype; return cache; - } : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted); + }; } var typesOffset = 0; - function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - var funs = []; - for (var i = 0; i < funsOrNames.length; i++) { - var fun = funsOrNames[i]; - if (typeof fun == "string") - fun = container[fun]; - fun.$callName = callNames[i]; - funs.push(fun); - } - var fun = funs[0]; - fun.$requiredArgCount = requiredParameterCount; - fun.$defaultValues = optionalParameterDefaultValues; - var reflectionInfo = funType; - if (typeof reflectionInfo == "number") - reflectionInfo += typesOffset; - var name = funsOrNames[0]; - fun.$stubName = name; - var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted); - container[getterName] = getterFunction; - if (isStatic) - fun.$tearOff = getterFunction; + function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + if (typeof funType == "number") + funType += typesOffset; + return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess}; } - function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false); + var getterFunction = staticTearOffGetter(parameters); + holder[getterName] = getterFunction; } - function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + isIntercepted = !!isIntercepted; + var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess); + var getterFunction = instanceTearOffGetter(isIntercepted, parameters); + prototype[getterName] = getterFunction; } function setOrUpdateInterceptorsByTag(newTags) { var tags = init.interceptorsByTag; @@ -231,7 +220,7 @@ var hunkHelpers = function() { var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { return function(container, getterName, name, funType) { - return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); + return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false); }; }, mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { @@ -239,44 +228,32 @@ return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); }; }; - return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; + return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; }(); function initializeDeferredHunk(hunk) { typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } - function getGlobalFromName(name) { - for (var i = 0; i < holders.length; i++) { - if (holders[i] == C) - continue; - if (holders[i][name]) - return holders[i][name]; - } - } - var C = {}, - H = {JS_CONST: function JS_CONST() { + var A = {JS_CONST: function JS_CONST() { }, - CastIterable_CastIterable: function(source, $S, $T) { + CastIterable_CastIterable(source, $S, $T) { if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) - return new H._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>")); - return new H.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>")); + return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>")); + return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>")); }, - LateError$fieldADI: function(fieldName) { - return new H.LateError("Field '" + fieldName + "' has been assigned during initialization."); + LateError$fieldADI(fieldName) { + return new A.LateError("Field '" + A.S(fieldName) + "' has been assigned during initialization."); }, - LateError$fieldNI: function(fieldName) { - return new H.LateError("Field '" + fieldName + "' has not been initialized."); + LateError$fieldNI(fieldName) { + return new A.LateError("Field '" + A.S(fieldName) + "' has not been initialized."); }, - LateError$localNI: function(localName) { - return new H.LateError("Local '" + localName + "' has not been initialized."); + LateError$fieldAI(fieldName) { + return new A.LateError("Field '" + A.S(fieldName) + "' has already been initialized."); }, - LateError$fieldAI: function(fieldName) { - return new H.LateError("Field '" + fieldName + "' has already been initialized."); + ReachabilityError$(_message) { + return new A.ReachabilityError(_message); }, - ReachabilityError$: function(_message) { - return new H.ReachabilityError(_message); - }, - hexDigitValue: function(char) { + hexDigitValue(char) { var letter, digit = char ^ 48; if (digit <= 9) @@ -286,81 +263,88 @@ return letter - 87; return -1; }, - SystemHash_combine: function(hash, value) { + SystemHash_combine(hash, value) { + if (typeof hash !== "number") + return hash.$add(); + if (typeof value !== "number") + return A.iae(value); hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, - SystemHash_finish: function(hash) { + SystemHash_finish(hash) { + if (typeof hash !== "number") + return A.iae(hash); hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, - SystemHash_hash2: function(v1, v2) { - return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(0, v1), v2)); + SystemHash_hash2(v1, v2, seed) { + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(seed, v1), v2)); + }, + SystemHash_hash4(v1, v2, v3, v4, seed) { + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(seed, v1), v2), v3), v4)); }, - checkNotNullable: function(value, $name, $T) { + checkNotNullable(value, $name, $T) { if (value == null) - throw H.wrapException(new H.NotNullableError($name, $T._eval$1("NotNullableError<0>"))); + throw A.wrapException(new A.NotNullableError($name, $T._eval$1("NotNullableError<0>"))); return value; }, - SubListIterable$: function(_iterable, _start, _endOrLength, $E) { - P.RangeError_checkNotNegative(_start, "start"); + SubListIterable$(_iterable, _start, _endOrLength, $E) { + A.RangeError_checkNotNegative(_start, "start"); if (_endOrLength != null) { - P.RangeError_checkNotNegative(_endOrLength, "end"); - if (typeof _start !== "number") - return _start.$gt(); + A.RangeError_checkNotNegative(_endOrLength, "end"); if (_start > _endOrLength) - H.throwExpression(P.RangeError$range(_start, 0, _endOrLength, "start", null)); + A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); } - return new H.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); + return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); }, - MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { + MappedIterable_MappedIterable(iterable, $function, $S, $T) { if (type$.EfficientLengthIterable_dynamic._is(iterable)) - return new H.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); - return new H.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); }, - TakeIterable_TakeIterable: function(iterable, takeCount, $E) { - P.RangeError_checkNotNegative(takeCount, "takeCount"); + TakeIterable_TakeIterable(iterable, takeCount, $E) { + var _s9_ = "takeCount"; + A.ArgumentError_checkNotNull(takeCount, _s9_, type$.int); + A.RangeError_checkNotNegative(takeCount, _s9_); if (type$.EfficientLengthIterable_dynamic._is(iterable)) - return new H.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); - return new H.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); + return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); + return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); }, - SkipIterable_SkipIterable: function(iterable, count, $E) { + SkipIterable_SkipIterable(iterable, count, $E) { var _s5_ = "count"; if (type$.EfficientLengthIterable_dynamic._is(iterable)) { - if (count == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - P.RangeError_checkNotNegative(count, _s5_); - return new H.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>")); + A.ArgumentError_checkNotNull(count, _s5_, type$.int); + A.RangeError_checkNotNegative(count, _s5_); + return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>")); } - if (count == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - P.RangeError_checkNotNegative(count, _s5_); - return new H.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>")); + A.ArgumentError_checkNotNull(count, _s5_, type$.int); + A.RangeError_checkNotNegative(count, _s5_); + return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>")); }, - IterableElementError_noElement: function() { - return new P.StateError("No element"); + IterableElementError_noElement() { + return new A.StateError("No element"); }, - IterableElementError_tooMany: function() { - return new P.StateError("Too many elements"); + IterableElementError_tooMany() { + return new A.StateError("Too many elements"); }, - IterableElementError_tooFew: function() { - return new P.StateError("Too few elements"); + IterableElementError_tooFew() { + return new A.StateError("Too few elements"); }, - Sort_sort: function(a, compare, $E) { + Sort_sort(a, compare, $E) { var t1 = J.get$length$asx(a); if (typeof t1 !== "number") return t1.$sub(); - H.Sort__doSort(a, 0, t1 - 1, compare, $E); + A.Sort__doSort(a, 0, t1 - 1, compare, $E); }, - Sort__doSort: function(a, left, right, compare, $E) { + Sort__doSort(a, left, right, compare, $E) { if (right - left <= 32) - H.Sort__insertionSort(a, left, right, compare, $E); + A.Sort__insertionSort(a, left, right, compare, $E); else - H.Sort__dualPivotQuicksort(a, left, right, compare, $E); + A.Sort__dualPivotQuicksort(a, left, right, compare, $E); }, - Sort__insertionSort: function(a, left, right, compare, $E) { + Sort__insertionSort(a, left, right, compare, $E) { var i, t1, el, j, t2, j0; for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) { el = t1.$index(a, i); @@ -382,12 +366,12 @@ t1.$indexSet(a, j, el); } }, - Sort__dualPivotQuicksort: function(a, left, right, compare, $E) { + Sort__dualPivotQuicksort(a, left, right, compare, $E) { var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, comp_pivot1, comp_pivot2, - sixth = C.JSInt_methods._tdivFast$1(right - left + 1, 6), + sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6), index1 = left + sixth, index5 = right - sixth, - index3 = C.JSInt_methods._tdivFast$1(left + right, 2), + index3 = B.JSInt_methods._tdivFast$1(left + right, 2), index2 = index3 - sixth, index4 = index3 + sixth, t1 = J.getInterceptor$asx(a), @@ -572,8 +556,8 @@ t2 = great + 1; t1.$indexSet(a, right, t1.$index(a, t2)); t1.$indexSet(a, t2, el4); - H.Sort__doSort(a, left, less - 2, compare, $E); - H.Sort__doSort(a, great + 2, right, compare, $E); + A.Sort__doSort(a, left, less - 2, compare, $E); + A.Sort__doSort(a, great + 2, right, compare, $E); if (pivots_are_equal) return; if (less < index1 && great > index5) { @@ -615,20 +599,9 @@ break; } } - H.Sort__doSort(a, less, great, compare, $E); + A.Sort__doSort(a, less, great, compare, $E); } else - H.Sort__doSort(a, less, great, compare, $E); - }, - CastStream: function CastStream(t0, t1) { - this._source = t0; - this.$ti = t1; - }, - CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { - var _ = this; - _._source = t0; - _.__internal$_zone = t1; - _.__internal$_handleError = _.__internal$_handleData = null; - _.$ti = t2; + A.Sort__doSort(a, less, great, compare, $E); }, _CastIterableBase: function _CastIterableBase() { }, @@ -663,10 +636,6 @@ this.__internal$_emptySet = t1; this.$ti = t2; }, - CastSet_removeWhere_closure: function CastSet_removeWhere_closure(t0, t1) { - this.$this = t0; - this.test = t1; - }, CastMap: function CastMap(t0, t1) { this._source = t0; this.$ti = t1; @@ -697,6 +666,8 @@ }, nullFuture_closure: function nullFuture_closure() { }, + SentinelValue: function SentinelValue() { + }, NotNullableError: function NotNullableError(t0, t1) { this.__internal$_name = t0; this.$ti = t1; @@ -848,21 +819,33 @@ }, __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { }, - ConstantMap__throwUnmodifiable: function() { - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable Map")); + ConstantMap__throwUnmodifiable() { + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); + }, + GeneralConstantMap__constantMapHashCode(key) { + if (typeof key == "number") + return B.JSNumber_methods.get$hashCode(key); + if (type$.Symbol._is(key)) + return key.get$hashCode(key); + if (type$.Type._is(key)) + return A.Primitives_objectHashCode(key); + return A.objectHashCode(key); + }, + GeneralConstantMap__typeTest($T) { + return new A.GeneralConstantMap__typeTest_closure($T); }, - instantiate1: function(f, T1) { - var t1 = new H.Instantiation1(f, T1._eval$1("Instantiation1<0>")); + instantiate1(f, T1) { + var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>")); t1.Instantiation$1(f); return t1; }, - unminifyOrTag: function(rawClassName) { - var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName); + unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; if (preserved != null) return preserved; return rawClassName; }, - isJsIndexable: function(object, record) { + isJsIndexable(object, record) { var result; if (record != null) { result = record.x; @@ -871,8 +854,8 @@ } return type$.JavaScriptIndexingBehavior_dynamic._is(object); }, - S: function(value) { - var res; + S(value) { + var result; if (typeof value == "string") return value; if (typeof value == "number") { @@ -884,40 +867,32 @@ return "false"; else if (value == null) return "null"; - res = J.toString$0$(value); - if (typeof res != "string") - throw H.wrapException(H.argumentErrorValue(value)); - return res; - }, - createInvocationMirror: function($name, internalName, kind, $arguments, argumentNames, types) { - var t1; - H._asStringS(internalName); - t1 = type$.List_dynamic; - return new H.JSInvocationMirror($name, H._asIntS(kind), t1._as($arguments), t1._as(argumentNames), H._asIntS(types)); - }, - createUnmangledInvocationMirror: function(symbol, internalName, kind, $arguments, argumentNames, types) { - var t1; - H._asStringS(internalName); - t1 = type$.List_dynamic; - return new H.JSInvocationMirror(symbol, H._asIntS(kind), t1._as($arguments), t1._as(argumentNames), H._asIntS(types)); + result = J.toString$0$(value); + if (typeof result != "string") + throw A.wrapException(A.ArgumentError$value(value, "object", "toString method returned 'null'")); + return result; }, - Primitives_objectHashCode: function(object) { - var hash = object.$identityHash; + Primitives_objectHashCode(object) { + var hash, + property = $.Primitives__identityHashCodeProperty; + if (property == null) + property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode"); + hash = object[property]; if (hash == null) { hash = Math.random() * 0x3fffffff | 0; - object.$identityHash = hash; + object[property] = hash; } return hash; }, - Primitives_parseInt: function(source, radix) { + Primitives_parseInt(source, radix) { var match, decimalMatch, maxCharCode, digitsPart, t1, i, _null = null; if (typeof source != "string") - H.throwExpression(H.argumentErrorValue(source)); + A.throwExpression(A.argumentErrorValue(source)); match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); if (match == null) return _null; if (3 >= match.length) - return H.ioore(match, 3); + return A.ioore(match, 3); decimalMatch = match[3]; if (radix == null) { if (decimalMatch != null) @@ -927,22 +902,22 @@ return _null; } if (radix < 2 || radix > 36) - throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", _null)); + throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null)); if (radix === 10 && decimalMatch != null) return parseInt(source, 10); if (radix < 10 || decimalMatch == null) { maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; digitsPart = match[1]; for (t1 = digitsPart.length, i = 0; i < t1; ++i) - if ((C.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) + if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) return _null; } return parseInt(source, radix); }, - Primitives_parseDouble: function(source) { + Primitives_parseDouble(source) { var result, trimmed; if (typeof source != "string") - H.throwExpression(H.argumentErrorValue(source)); + A.throwExpression(A.argumentErrorValue(source)); if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) return null; result = parseFloat(source); @@ -954,37 +929,33 @@ } return result; }, - Primitives_objectTypeName: function(object) { - return H.Primitives__objectTypeNameNewRti(object); - }, - Primitives__objectTypeNameNewRti: function(object) { - var dispatchName, t1, $constructor, constructorName; - if (object instanceof P.Object) - return H._rtiToString(H.instanceType(object), null); - if (J.getInterceptor$(object) === C.Interceptor_methods || type$.UnknownJavaScriptObject._is(object)) { - dispatchName = C.C_JS_CONST(object); - t1 = dispatchName !== "Object" && dispatchName !== ""; - if (t1) + Primitives_objectTypeName(object) { + return A.Primitives__objectTypeNameNewRti(object); + }, + Primitives__objectTypeNameNewRti(object) { + var interceptor, dispatchName, $constructor, constructorName; + if (object instanceof A.Object) + return A._rtiToString(A.instanceType(object), null); + interceptor = J.getInterceptor$(object); + if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) { + dispatchName = B.C_JS_CONST(object); + if (dispatchName !== "Object" && dispatchName !== "") return dispatchName; $constructor = object.constructor; if (typeof $constructor == "function") { constructorName = $constructor.name; - if (typeof constructorName == "string") - t1 = constructorName !== "Object" && constructorName !== ""; - else - t1 = false; - if (t1) + if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "") return constructorName; } } - return H._rtiToString(H.instanceType(object), null); + return A._rtiToString(A.instanceType(object), null); }, - Primitives_currentUri: function() { + Primitives_currentUri() { if (!!self.location) return self.location.href; return null; }, - Primitives__fromCharCodeApply: function(array) { + Primitives__fromCharCodeApply(array) { var result, i, i0, chunkEnd, end = array.length; if (end <= 500) @@ -996,37 +967,37 @@ } return result; }, - Primitives_stringFromCodePoints: function(codePoints) { + Primitives_stringFromCodePoints(codePoints) { var t1, _i, i, - a = H.setRuntimeTypeInfo([], type$.JSArray_int); - for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, H.throwConcurrentModificationError)(codePoints), ++_i) { + a = A._setArrayType([], type$.JSArray_int); + for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) { i = codePoints[_i]; - if (!H._isInt(i)) - throw H.wrapException(H.argumentErrorValue(i)); + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); if (i <= 65535) - C.JSArray_methods.add$1(a, i); + B.JSArray_methods.add$1(a, i); else if (i <= 1114111) { - C.JSArray_methods.add$1(a, 55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); - C.JSArray_methods.add$1(a, 56320 + (i & 1023)); + B.JSArray_methods.add$1(a, 55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); + B.JSArray_methods.add$1(a, 56320 + (i & 1023)); } else - throw H.wrapException(H.argumentErrorValue(i)); + throw A.wrapException(A.argumentErrorValue(i)); } - return H.Primitives__fromCharCodeApply(a); + return A.Primitives__fromCharCodeApply(a); }, - Primitives_stringFromCharCodes: function(charCodes) { + Primitives_stringFromCharCodes(charCodes) { var t1, _i, i; for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) { i = charCodes[_i]; - if (!H._isInt(i)) - throw H.wrapException(H.argumentErrorValue(i)); + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); if (i < 0) - throw H.wrapException(H.argumentErrorValue(i)); + throw A.wrapException(A.argumentErrorValue(i)); if (i > 65535) - return H.Primitives_stringFromCodePoints(charCodes); + return A.Primitives_stringFromCodePoints(charCodes); } - return H.Primitives__fromCharCodeApply(charCodes); + return A.Primitives__fromCharCodeApply(charCodes); }, - Primitives_stringFromNativeUint8List: function(charCodes, start, end) { + Primitives_stringFromNativeUint8List(charCodes, start, end) { var i, result, i0, chunkEnd; if (typeof end !== "number") return end.$le(); @@ -1042,21 +1013,21 @@ } return result; }, - Primitives_stringFromCharCode: function(charCode) { + Primitives_stringFromCharCode(charCode) { var bits; if (typeof charCode !== "number") - return H.iae(charCode); + return A.iae(charCode); if (0 <= charCode) { if (charCode <= 65535) return String.fromCharCode(charCode); if (charCode <= 1114111) { bits = charCode - 65536; - return String.fromCharCode((C.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); + return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); } } - throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null)); + throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null)); }, - Primitives_valueFromDecomposedDate: function(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { + Primitives_valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { var value, jsMonth = month - 1; if (0 <= years && years < 100) { @@ -1068,98 +1039,86 @@ return null; return value; }, - Primitives_lazyAsJsDate: function(receiver) { + Primitives_lazyAsJsDate(receiver) { if (receiver.date === void 0) - receiver.date = new Date(receiver._value); + receiver.date = new Date(receiver._core$_value); return receiver.date; }, - Primitives_getYear: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : H.Primitives_lazyAsJsDate(receiver).getFullYear() + 0; - }, - Primitives_getMonth: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : H.Primitives_lazyAsJsDate(receiver).getMonth() + 1; - }, - Primitives_getDay: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : H.Primitives_lazyAsJsDate(receiver).getDate() + 0; + Primitives_getYear(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0; }, - Primitives_getHours: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : H.Primitives_lazyAsJsDate(receiver).getHours() + 0; + Primitives_getMonth(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : A.Primitives_lazyAsJsDate(receiver).getMonth() + 1; }, - Primitives_getMinutes: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : H.Primitives_lazyAsJsDate(receiver).getMinutes() + 0; + Primitives_getDay(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : A.Primitives_lazyAsJsDate(receiver).getDate() + 0; }, - Primitives_getSeconds: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getSeconds() + 0; + Primitives_getHours(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : A.Primitives_lazyAsJsDate(receiver).getHours() + 0; }, - Primitives_getMilliseconds: function(receiver) { - return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0; + Primitives_getMinutes(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0; }, - Primitives_getProperty: function(object, key) { - if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") - throw H.wrapException(H.argumentErrorValue(object)); - return object[key]; + Primitives_getSeconds(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0; }, - Primitives_setProperty: function(object, key, value) { - if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") - throw H.wrapException(H.argumentErrorValue(object)); - object[key] = value; + Primitives_getMilliseconds(receiver) { + return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0; }, - Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) { + Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) { var $arguments, namedArgumentList, t1 = {}; t1.argumentCount = 0; $arguments = []; namedArgumentList = []; t1.argumentCount = positionalArguments.length; - C.JSArray_methods.addAll$1($arguments, positionalArguments); + B.JSArray_methods.addAll$1($arguments, positionalArguments); t1.names = ""; - if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments)) - namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); - "" + t1.argumentCount; - return J.noSuchMethod$1$($function, new H.JSInvocationMirror(C.Symbol_call, 0, $arguments, namedArgumentList, 0)); - }, - Primitives_applyFunction: function($function, positionalArguments, namedArguments) { - var t1, $arguments, argumentCount, jsStub; - if (positionalArguments instanceof Array) - t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments); + if (namedArguments != null && namedArguments._length !== 0) + namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); + return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0)); + }, + Primitives_applyFunction($function, positionalArguments, namedArguments) { + var t1, argumentCount, jsStub; + if (Array.isArray(positionalArguments)) + t1 = namedArguments == null || namedArguments._length === 0; else t1 = false; if (t1) { - $arguments = positionalArguments; - argumentCount = $arguments.length; + argumentCount = positionalArguments.length; if (argumentCount === 0) { if (!!$function.call$0) return $function.call$0(); } else if (argumentCount === 1) { if (!!$function.call$1) - return $function.call$1($arguments[0]); + return $function.call$1(positionalArguments[0]); } else if (argumentCount === 2) { if (!!$function.call$2) - return $function.call$2($arguments[0], $arguments[1]); + return $function.call$2(positionalArguments[0], positionalArguments[1]); } else if (argumentCount === 3) { if (!!$function.call$3) - return $function.call$3($arguments[0], $arguments[1], $arguments[2]); + return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]); } else if (argumentCount === 4) { if (!!$function.call$4) - return $function.call$4($arguments[0], $arguments[1], $arguments[2], $arguments[3]); + return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]); } else if (argumentCount === 5) if (!!$function.call$5) - return $function.call$5($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]); + return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]); jsStub = $function["call" + "$" + argumentCount]; if (jsStub != null) - return jsStub.apply($function, $arguments); + return jsStub.apply($function, positionalArguments); } - return H.Primitives__genericApplyFunction2($function, positionalArguments, namedArguments); + return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments); }, - Primitives__genericApplyFunction2: function($function, positionalArguments, namedArguments) { - var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, keys, _i, defaultValue, used, key; + Primitives__generalApplyFunction($function, positionalArguments, namedArguments) { + var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, key; if (positionalArguments != null) - $arguments = positionalArguments instanceof Array ? positionalArguments : P.List_List$from(positionalArguments, true, type$.dynamic); + $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic); else $arguments = []; argumentCount = $arguments.length; requiredParameterCount = $function.$requiredArgCount; if (argumentCount < requiredParameterCount) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); defaultValuesClosure = $function.$defaultValues; t1 = defaultValuesClosure == null; defaultValues = !t1 ? defaultValuesClosure() : null; @@ -1168,95 +1127,103 @@ if (typeof jsFunction == "string") jsFunction = interceptor[jsFunction]; if (t1) { - if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments)) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); if (argumentCount === requiredParameterCount) return jsFunction.apply($function, $arguments); - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - } - if (defaultValues instanceof Array) { - if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments)) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - if (argumentCount > requiredParameterCount + defaultValues.length) - return H.Primitives_functionNoSuchMethod($function, $arguments, null); - C.JSArray_methods.addAll$1($arguments, defaultValues.slice(argumentCount - requiredParameterCount)); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + if (Array.isArray(defaultValues)) { + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + maxArguments = requiredParameterCount + defaultValues.length; + if (argumentCount > maxArguments) + return A.Primitives_functionNoSuchMethod($function, $arguments, null); + if (argumentCount < maxArguments) { + missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); + B.JSArray_methods.addAll$1($arguments, missingDefaults); + } return jsFunction.apply($function, $arguments); } else { if (argumentCount > requiredParameterCount) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); keys = Object.keys(defaultValues); if (namedArguments == null) - for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { - defaultValue = defaultValues[H._asStringS(keys[_i])]; - if (C.C__Required === defaultValue) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - C.JSArray_methods.add$1($arguments, defaultValue); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + defaultValue = defaultValues[A._asStringS(keys[_i])]; + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); } else { - for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { - key = H._asStringS(keys[_i]); + for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = A._asStringS(keys[_i]); if (namedArguments.containsKey$1(0, key)) { ++used; - C.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); + B.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); } else { defaultValue = defaultValues[key]; - if (C.C__Required === defaultValue) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - C.JSArray_methods.add$1($arguments, defaultValue); + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); } } - if (used !== namedArguments.get$length(namedArguments)) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (used !== namedArguments._length) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } return jsFunction.apply($function, $arguments); } }, - iae: function(argument) { - throw H.wrapException(H.argumentErrorValue(argument)); + iae(argument) { + throw A.wrapException(A.argumentErrorValue(argument)); }, - ioore: function(receiver, index) { + ioore(receiver, index) { if (receiver == null) J.get$length$asx(receiver); - throw H.wrapException(H.diagnoseIndexError(receiver, index)); + throw A.wrapException(A.diagnoseIndexError(receiver, index)); }, - diagnoseIndexError: function(indexable, index) { + diagnoseIndexError(indexable, index) { var $length, t1, _s5_ = "index"; - if (!H._isInt(index)) - return new P.ArgumentError(true, index, _s5_, null); - $length = H._asIntS(J.get$length$asx(indexable)); + if (!A._isInt(index)) + return new A.ArgumentError(true, index, _s5_, null); + $length = A._asIntS(J.get$length$asx(indexable)); if (!(index < 0)) { if (typeof $length !== "number") - return H.iae($length); + return A.iae($length); t1 = index >= $length; } else t1 = true; if (t1) - return P.IndexError$(index, indexable, _s5_, null, $length); - return P.RangeError$value(index, _s5_, null); + return A.IndexError$withLength(index, $length, indexable, null, _s5_); + return A.RangeError$value(index, _s5_, null); }, - diagnoseRangeError: function(start, end, $length) { + diagnoseRangeError(start, end, $length) { if (start < 0 || start > $length) - return P.RangeError$range(start, 0, $length, "start", null); + return A.RangeError$range(start, 0, $length, "start", null); if (end != null) if (end < start || end > $length) - return P.RangeError$range(end, start, $length, "end", null); - return new P.ArgumentError(true, end, "end", null); + return A.RangeError$range(end, start, $length, "end", null); + return new A.ArgumentError(true, end, "end", null); }, - argumentErrorValue: function(object) { - return new P.ArgumentError(true, object, null, null); + argumentErrorValue(object) { + return new A.ArgumentError(true, object, null, null); }, - checkNum: function(value) { + checkNum(value) { if (typeof value != "number") - throw H.wrapException(H.argumentErrorValue(value)); + throw A.wrapException(A.argumentErrorValue(value)); return value; }, - wrapException: function(ex) { + wrapException(ex) { var wrapper, t1; if (ex == null) - ex = new P.NullThrownError(); + ex = new A.NullThrownError(); wrapper = new Error(); wrapper.dartException = ex; - t1 = H.toStringWrapper; + t1 = A.toStringWrapper; if ("defineProperty" in Object) { Object.defineProperty(wrapper, "message", {get: t1}); wrapper.name = ""; @@ -1264,29 +1231,29 @@ wrapper.toString = t1; return wrapper; }, - toStringWrapper: function() { + toStringWrapper() { return J.toString$0$(this.dartException); }, - throwExpression: function(ex) { - throw H.wrapException(ex); + throwExpression(ex) { + throw A.wrapException(ex); }, - throwConcurrentModificationError: function(collection) { - throw H.wrapException(P.ConcurrentModificationError$(collection)); + throwConcurrentModificationError(collection) { + throw A.wrapException(A.ConcurrentModificationError$(collection)); }, - TypeErrorDecoder_extractPattern: function(message) { + TypeErrorDecoder_extractPattern(message) { var match, $arguments, argumentsExpr, expr, method, receiver; - message = H.quoteStringForRegExp(message.replace(String({}), "$receiver$")); + message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$")); match = message.match(/\\\$[a-zA-Z]+\\\$/g); if (match == null) - match = H.setRuntimeTypeInfo([], type$.JSArray_String); + match = A._setArrayType([], type$.JSArray_String); $arguments = match.indexOf("\\$arguments\\$"); argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); expr = match.indexOf("\\$expr\\$"); method = match.indexOf("\\$method\\$"); receiver = match.indexOf("\\$receiver\\$"); - return new H.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver); + return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver); }, - TypeErrorDecoder_provokeCallErrorOn: function(expression) { + TypeErrorDecoder_provokeCallErrorOn(expression) { return function($expr$) { var $argumentsExpr$ = "$arguments$"; try { @@ -1296,7 +1263,7 @@ } }(expression); }, - TypeErrorDecoder_provokePropertyErrorOn: function(expression) { + TypeErrorDecoder_provokePropertyErrorOn(expression) { return function($expr$) { try { $expr$.$method$; @@ -1305,29 +1272,29 @@ } }(expression); }, - JsNoSuchMethodError$: function(_message, match) { + JsNoSuchMethodError$(_message, match) { var t1 = match == null, t2 = t1 ? null : match.method; - return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); + return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); }, - unwrapException: function(ex) { + unwrapException(ex) { if (ex == null) - return new H.NullThrownFromJavaScriptException(ex); - if (ex instanceof H.ExceptionAndStackTrace) - return H.saveStackTrace(ex, ex.dartException); + return new A.NullThrownFromJavaScriptException(ex); + if (ex instanceof A.ExceptionAndStackTrace) + return A.saveStackTrace(ex, ex.dartException); if (typeof ex !== "object") return ex; if ("dartException" in ex) - return H.saveStackTrace(ex, ex.dartException); - return H._unwrapNonDartException(ex); + return A.saveStackTrace(ex, ex.dartException); + return A._unwrapNonDartException(ex); }, - saveStackTrace: function(ex, error) { + saveStackTrace(ex, error) { if (type$.Error._is(error)) if (error.$thrownJsError == null) error.$thrownJsError = ex; return error; }, - _unwrapNonDartException: function(ex) { + _unwrapNonDartException(ex) { var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; if (!("message" in ex)) return ex; @@ -1335,14 +1302,14 @@ if ("number" in ex && typeof ex.number == "number") { number = ex.number; ieErrorCode = number & 65535; - if ((C.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) + if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) switch (ieErrorCode) { case 438: - return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", _null)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null)); case 445: case 5007: - t1 = H.S(message) + " (Error " + ieErrorCode + ")"; - return H.saveStackTrace(ex, new H.NullError(t1, _null)); + t1 = A.S(message); + return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null)); } } if (ex instanceof TypeError) { @@ -1358,12 +1325,12 @@ undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); match = nsme.matchTypeError$1(message); if (match != null) - return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H._asStringS(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asStringS(message), match)); else { match = notClosure.matchTypeError$1(message); if (match != null) { match.method = "call"; - return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H._asStringS(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asStringS(message), match)); } else { match = nullCall.matchTypeError$1(message); if (match == null) { @@ -1396,16 +1363,16 @@ } else t1 = true; if (t1) { - H._asStringS(message); - return H.saveStackTrace(ex, new H.NullError(message, match == null ? _null : match.method)); + A._asStringS(message); + return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); } } } - return H.saveStackTrace(ex, new H.UnknownJsTypeError(typeof message == "string" ? message : "")); + return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); } if (ex instanceof RangeError) { if (typeof message == "string" && message.indexOf("call stack") !== -1) - return new P.StackOverflowError(); + return new A.StackOverflowError(); message = function(ex) { try { return String(ex); @@ -1413,31 +1380,31 @@ } return null; }(ex); - return H.saveStackTrace(ex, new P.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message)); + return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message)); } if (typeof InternalError == "function" && ex instanceof InternalError) if (typeof message == "string" && message === "too much recursion") - return new P.StackOverflowError(); + return new A.StackOverflowError(); return ex; }, - getTraceFromException: function(exception) { + getTraceFromException(exception) { var trace; - if (exception instanceof H.ExceptionAndStackTrace) + if (exception instanceof A.ExceptionAndStackTrace) return exception.stackTrace; if (exception == null) - return new H._StackTrace(exception); + return new A._StackTrace(exception); trace = exception.$cachedTrace; if (trace != null) return trace; - return exception.$cachedTrace = new H._StackTrace(exception); + return exception.$cachedTrace = new A._StackTrace(exception); }, - objectHashCode: function(object) { + objectHashCode(object) { if (object == null || typeof object != "object") return J.get$hashCode$(object); else - return H.Primitives_objectHashCode(object); + return A.Primitives_objectHashCode(object); }, - fillLiteralMap: function(keyValuePairs, result) { + fillLiteralMap(keyValuePairs, result) { var index, index0, index1, $length = keyValuePairs.length; for (index = 0; index < $length; index = index1) { @@ -1447,16 +1414,16 @@ } return result; }, - fillLiteralSet: function(values, result) { + fillLiteralSet(values, result) { var index, $length = values.length; for (index = 0; index < $length; ++index) result.add$1(0, values[index]); return result; }, - invokeClosure: function(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { type$.Function._as(closure); - switch (H._asIntS(numberOfArguments)) { + switch (A._asIntS(numberOfArguments)) { case 0: return closure.call$0(); case 1: @@ -1468,9 +1435,9 @@ case 4: return closure.call$4(arg1, arg2, arg3, arg4); } - throw H.wrapException(P.Exception_Exception("Unsupported number of arguments for wrapped closure")); + throw A.wrapException(A.Exception_Exception("Unsupported number of arguments for wrapped closure")); }, - convertDartClosureToJS: function(closure, arity) { + convertDartClosureToJS(closure, arity) { var $function; if (closure == null) return null; @@ -1481,286 +1448,249 @@ return function(a1, a2, a3, a4) { return invoke(closure, arity, a1, a2, a3, a4); }; - }(closure, arity, H.invokeClosure); + }(closure, arity, A.invokeClosure); closure.$identity = $function; return $function; }, - Closure_fromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, propertyName) { - var $constructor, t1, trampoline, applyTrampoline, i, stub, stubCallName, - $function = functions[0], - callName = $function.$callName, - $prototype = isStatic ? Object.create(new H.StaticClosure().constructor.prototype) : Object.create(new H.BoundClosure(null, null, null, "").constructor.prototype); + Closure_fromTearOff(parameters) { + var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName, + container = parameters.co, + isStatic = parameters.iS, + isIntercepted = parameters.iI, + needsDirectAccess = parameters.nDA, + applyTrampolineIndex = parameters.aI, + funsOrNames = parameters.fs, + callNames = parameters.cs, + $name = funsOrNames[0], + callName = callNames[0], + $function = container[$name], + t1 = parameters.fT; + t1.toString; + A.boolConversionCheck(isStatic); + $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype); $prototype.$initialize = $prototype.constructor; if (isStatic) $constructor = function static_tear_off() { this.$initialize(); }; - else { - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - t1 = new Function("a,b,c,d" + t1, "this.$initialize(a,b,c,d" + t1 + ")"); - $constructor = t1; - } + else + $constructor = function tear_off(a, b) { + this.$initialize(a, b); + }; $prototype.constructor = $constructor; $constructor.prototype = $prototype; - if (!isStatic) { - trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); - trampoline.$reflectionInfo = reflectionInfo; - } else { - $prototype.$static_name = propertyName; + $prototype.$_name = $name; + $prototype.$_target = $function; + t2 = !isStatic; + if (t2) + trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess); + else { + $prototype.$static_name = $name; trampoline = $function; } - $prototype.$signature = H.Closure__computeSignatureFunctionNewRti(reflectionInfo, isStatic, isIntercepted); + $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted); $prototype[callName] = trampoline; - for (applyTrampoline = trampoline, i = 1; i < functions.length; ++i) { - stub = functions[i]; - stubCallName = stub.$callName; + for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) { + stub = funsOrNames[i]; + if (typeof stub == "string") { + stub0 = container[stub]; + stubName = stub; + stub = stub0; + } else + stubName = ""; + stubCallName = callNames[i]; if (stubCallName != null) { - stub = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted); + if (t2) + stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess); $prototype[stubCallName] = stub; } - if (i === applyTrampolineIndex) { - stub.$reflectionInfo = reflectionInfo; + if (i === applyTrampolineIndex) applyTrampoline = stub; - } } $prototype["call*"] = applyTrampoline; - $prototype.$requiredArgCount = $function.$requiredArgCount; - $prototype.$defaultValues = $function.$defaultValues; + $prototype.$requiredArgCount = parameters.rC; + $prototype.$defaultValues = parameters.dV; return $constructor; }, - Closure__computeSignatureFunctionNewRti: function(functionType, isStatic, isIntercepted) { - var typeEvalMethod; + Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) { if (typeof functionType == "number") - return function(getType, t) { - return function() { - return getType(t); - }; - }(H.getTypeFromTypesTable, functionType); + return functionType; if (typeof functionType == "string") { - if (isStatic) - throw H.wrapException("Cannot compute signature for static tearoff."); - typeEvalMethod = isIntercepted ? H.BoundClosure_evalRecipeIntercepted : H.BoundClosure_evalRecipe; + if (A.boolConversionCheck(isStatic)) + throw A.wrapException("Cannot compute signature for static tearoff."); return function(recipe, evalOnReceiver) { return function() { return evalOnReceiver(this, recipe); }; - }(functionType, typeEvalMethod); + }(functionType, A.BoundClosure_evalRecipe); } - throw H.wrapException("Error in functionType of tearoff"); + throw A.wrapException("Error in functionType of tearoff"); }, - Closure_cspForwardCall: function(arity, isSuperCall, stubName, $function) { - var getSelf = H.BoundClosure_selfOf; - switch (isSuperCall ? -1 : arity) { + Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf; + switch (A.boolConversionCheck(needsDirectAccess) ? -1 : arity) { case 0: - return function(n, S) { + return function(entry, receiverOf) { return function() { - return S(this)[n](); + return receiverOf(this)[entry](); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 1: - return function(n, S) { + return function(entry, receiverOf) { return function(a) { - return S(this)[n](a); + return receiverOf(this)[entry](a); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 2: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b) { - return S(this)[n](a, b); + return receiverOf(this)[entry](a, b); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 3: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c) { - return S(this)[n](a, b, c); + return receiverOf(this)[entry](a, b, c); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 4: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c, d) { - return S(this)[n](a, b, c, d); + return receiverOf(this)[entry](a, b, c, d); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 5: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c, d, e) { - return S(this)[n](a, b, c, d, e); + return receiverOf(this)[entry](a, b, c, d, e); }; - }(stubName, getSelf); + }(stubName, getReceiver); default: - return function(f, s) { + return function(f, receiverOf) { return function() { - return f.apply(s(this), arguments); + return f.apply(receiverOf(this), arguments); }; - }($function, getSelf); + }($function, getReceiver); } }, - Closure_forwardCallTo: function(receiver, $function, isIntercepted) { - var stubName, arity, lookedUpFunction, t1, t2, selfName, $arguments; - if (isIntercepted) - return H.Closure_forwardInterceptedCallTo(receiver, $function); - stubName = $function.$stubName; + Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { + var arity, t1; + if (A.boolConversionCheck(isIntercepted)) + return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); arity = $function.length; - lookedUpFunction = receiver[stubName]; - t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; - t2 = !t1 || arity >= 27; - if (t2) - return H.Closure_cspForwardCall(arity, !t1, stubName, $function); - if (arity === 0) { - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - selfName = "self" + t1; - t1 = "return function(){var " + selfName + " = this."; - t2 = $.BoundClosure_selfFieldNameCache; - return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + ";return " + selfName + "." + H.S(stubName) + "();}")(); - } - $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(","); - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - $arguments += t1; - t1 = "return function(" + $arguments + "){return this."; - t2 = $.BoundClosure_selfFieldNameCache; - return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + "." + H.S(stubName) + "(" + $arguments + ");}")(); - }, - Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $function) { - var getSelf = H.BoundClosure_selfOf, - getReceiver = H.BoundClosure_receiverOf; - switch (isSuperCall ? -1 : arity) { + t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); + return t1; + }, + Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf, + getInterceptor = A.BoundClosure_interceptorOf; + switch (A.boolConversionCheck(needsDirectAccess) ? -1 : arity) { case 0: - throw H.wrapException(new H.RuntimeError("Intercepted function with no arguments.")); + throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments.")); case 1: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function() { - return s(this)[n](r(this)); + return interceptorOf(this)[entry](receiverOf(this)); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 2: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a) { - return s(this)[n](r(this), a); + return interceptorOf(this)[entry](receiverOf(this), a); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 3: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b) { - return s(this)[n](r(this), a, b); + return interceptorOf(this)[entry](receiverOf(this), a, b); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 4: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c) { - return s(this)[n](r(this), a, b, c); + return interceptorOf(this)[entry](receiverOf(this), a, b, c); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 5: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d) { - return s(this)[n](r(this), a, b, c, d); + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 6: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d, e) { - return s(this)[n](r(this), a, b, c, d, e); + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); default: - return function(f, s, r, a) { + return function(f, interceptorOf, receiverOf) { return function() { - a = [r(this)]; + var a = [receiverOf(this)]; Array.prototype.push.apply(a, arguments); - return f.apply(s(this), a); + return f.apply(interceptorOf(this), a); }; - }($function, getSelf, getReceiver); - } - }, - Closure_forwardInterceptedCallTo: function(receiver, $function) { - var receiverField, stubName, arity, lookedUpFunction, t1, t2, $arguments, - selfField = $.BoundClosure_selfFieldNameCache; - if (selfField == null) - selfField = $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self"); - receiverField = $.BoundClosure_receiverFieldNameCache; - if (receiverField == null) - receiverField = $.BoundClosure_receiverFieldNameCache = H.BoundClosure_computeFieldNamed("receiver"); - stubName = $function.$stubName; - arity = $function.length; - lookedUpFunction = receiver[stubName]; - t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; - t2 = !t1 || arity >= 28; - if (t2) - return H.Closure_cspForwardInterceptedCall(arity, !t1, stubName, $function); - if (arity === 1) { - t1 = "return function(){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ");"; - t2 = $.Closure_functionCounter; - if (typeof t2 !== "number") - return t2.$add(); - $.Closure_functionCounter = t2 + 1; - return new Function(t1 + t2 + "}")(); + }($function, getInterceptor, getReceiver); } - $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).join(","); - t1 = "return function(" + $arguments + "){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ", " + $arguments + ");"; - t2 = $.Closure_functionCounter; - if (typeof t2 !== "number") - return t2.$add(); - $.Closure_functionCounter = t2 + 1; - return new Function(t1 + t2 + "}")(); - }, - closureFromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, $name) { - return H.Closure_fromTearOff(receiver, functions, applyTrampolineIndex, reflectionInfo, !!isStatic, !!isIntercepted, $name); }, - BoundClosure_evalRecipe: function(closure, recipe) { - return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._self), recipe); + Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) { + var arity, t1; + if ($.BoundClosure__interceptorFieldNameCache == null) + $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor"); + if ($.BoundClosure__receiverFieldNameCache == null) + $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver"); + arity = $function.length; + t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function); + return t1; }, - BoundClosure_evalRecipeIntercepted: function(closure, recipe) { - return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._receiver), recipe); + closureFromTearOff(parameters) { + return A.Closure_fromTearOff(parameters); }, - BoundClosure_selfOf: function(closure) { - return closure._self; + BoundClosure_evalRecipe(closure, recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe); }, - BoundClosure_receiverOf: function(closure) { + BoundClosure_receiverOf(closure) { return closure._receiver; }, - BoundClosure_computeFieldNamed: function(fieldName) { + BoundClosure_interceptorOf(closure) { + return closure._interceptor; + }, + BoundClosure__computeFieldNamed(fieldName) { var t1, i, $name, - template = new H.BoundClosure("self", "target", "receiver", "name"), + template = new A.BoundClosure("receiver", "interceptor"), names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template), type$.nullable_Object); for (t1 = names.length, i = 0; i < t1; ++i) { $name = names[i]; if (template[$name] === fieldName) return $name; } - throw H.wrapException(P.ArgumentError$("Field name " + fieldName + " not found.")); + throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null)); }, - boolConversionCheck: function(value) { + boolConversionCheck(value) { if (value == null) - H.assertThrow("boolean expression must not be null"); + A.assertThrow("boolean expression must not be null"); return value; }, - assertThrow: function(message) { - throw H.wrapException(new H._AssertionError(message)); + assertThrow(message) { + throw A.wrapException(new A._AssertionError(message)); }, - throwCyclicInit: function(staticName) { - throw H.wrapException(new P.CyclicInitializationError(staticName)); + throwCyclicInit(staticName) { + throw A.wrapException(new A.CyclicInitializationError(staticName)); }, - getIsolateAffinityTag: function($name) { + getIsolateAffinityTag($name) { return init.getIsolateTag($name); }, - throwLateInitializationError: function($name) { - return H.throwExpression(new H.LateError($name)); + LinkedHashMapKeyIterator$(_map, _modifications, $E) { + var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications, $E._eval$1("LinkedHashMapKeyIterator<0>")); + t1._cell = _map._first; + return t1; }, - defineProperty: function(obj, property, value) { + defineProperty(obj, property, value) { Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); }, - lookupAndCacheInterceptor: function(obj) { + lookupAndCacheInterceptor(obj) { var interceptor, interceptorClass, altTag, mark, t1, - tag = H._asStringS($.getTagFunction.call$1(obj)), + tag = A._asStringS($.getTagFunction.call$1(obj)), record = $.dispatchRecordsForInstanceTags[tag]; if (record != null) { Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); @@ -1771,7 +1701,7 @@ return interceptor; interceptorClass = init.interceptorsByTag[tag]; if (interceptorClass == null) { - altTag = H._asStringQ($.alternateTagFunction.call$2(obj, tag)); + altTag = A._asStringQ($.alternateTagFunction.call$2(obj, tag)); if (altTag != null) { record = $.dispatchRecordsForInstanceTags[altTag]; if (record != null) { @@ -1790,7 +1720,7 @@ interceptor = interceptorClass.prototype; mark = tag[0]; if (mark === "!") { - record = H.makeLeafDispatchRecord(interceptor); + record = A.makeLeafDispatchRecord(interceptor); $.dispatchRecordsForInstanceTags[tag] = record; Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); return record.i; @@ -1800,47 +1730,47 @@ return interceptor; } if (mark === "-") { - t1 = H.makeLeafDispatchRecord(interceptor); + t1 = A.makeLeafDispatchRecord(interceptor); Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); return t1.i; } if (mark === "+") - return H.patchInteriorProto(obj, interceptor); + return A.patchInteriorProto(obj, interceptor); if (mark === "*") - throw H.wrapException(P.UnimplementedError$(tag)); + throw A.wrapException(A.UnimplementedError$(tag)); if (init.leafTags[tag] === true) { - t1 = H.makeLeafDispatchRecord(interceptor); + t1 = A.makeLeafDispatchRecord(interceptor); Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); return t1.i; } else - return H.patchInteriorProto(obj, interceptor); + return A.patchInteriorProto(obj, interceptor); }, - patchInteriorProto: function(obj, interceptor) { + patchInteriorProto(obj, interceptor) { var proto = Object.getPrototypeOf(obj); Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true}); return interceptor; }, - makeLeafDispatchRecord: function(interceptor) { + makeLeafDispatchRecord(interceptor) { return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); }, - makeDefaultDispatchRecord: function(tag, interceptorClass, proto) { + makeDefaultDispatchRecord(tag, interceptorClass, proto) { var interceptor = interceptorClass.prototype; if (init.leafTags[tag] === true) - return H.makeLeafDispatchRecord(interceptor); + return A.makeLeafDispatchRecord(interceptor); else return J.makeDispatchRecord(interceptor, proto, null, null); }, - initNativeDispatch: function() { + initNativeDispatch() { if (true === $.initNativeDispatchFlag) return; $.initNativeDispatchFlag = true; - H.initNativeDispatchContinue(); + A.initNativeDispatchContinue(); }, - initNativeDispatchContinue: function() { + initNativeDispatchContinue() { var map, tags, fun, i, tag, proto, record, interceptorClass; $.dispatchRecordsForInstanceTags = Object.create(null); $.interceptorsForUncacheableTags = Object.create(null); - H.initHooks(); + A.initHooks(); map = init.interceptorsByTag; tags = Object.getOwnPropertyNames(map); if (typeof window != "undefined") { @@ -1851,7 +1781,7 @@ tag = tags[i]; proto = $.prototypeForTagFunction.call$1(tag); if (proto != null) { - record = H.makeDefaultDispatchRecord(tag, map[tag], proto); + record = A.makeDefaultDispatchRecord(tag, map[tag], proto); if (record != null) { Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); fun.prototype = proto; @@ -1871,10 +1801,10 @@ } } }, - initHooks: function() { + initHooks() { var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag, - hooks = C.C_JS_CONST0(); - hooks = H.applyHooksTransformer(C.C_JS_CONST1, H.applyHooksTransformer(C.C_JS_CONST2, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST4, H.applyHooksTransformer(C.C_JS_CONST5, H.applyHooksTransformer(C.C_JS_CONST6(C.C_JS_CONST), hooks))))))); + hooks = B.C_JS_CONST0(); + hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks))))))); if (typeof dartNativeDispatchHooksTransformer != "undefined") { transformers = dartNativeDispatchHooksTransformer; if (typeof transformers == "function") @@ -1889,14 +1819,14 @@ getTag = hooks.getTag; getUnknownTag = hooks.getUnknownTag; prototypeForTag = hooks.prototypeForTag; - $.getTagFunction = new H.initHooks_closure(getTag); - $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag); - $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag); + $.getTagFunction = new A.initHooks_closure(getTag); + $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag); + $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag); }, - applyHooksTransformer: function(transformer, hooks) { + applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, - JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, unicode, dotAll, global) { + JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { var m = multiLine ? "m" : "", i = caseSensitive ? "" : "i", u = unicode ? "u" : "", @@ -1911,50 +1841,60 @@ }(source, m + i + u + s + g); if (regexp instanceof RegExp) return regexp; - throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); + throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); }, - stringContainsUnchecked: function(receiver, other, startIndex) { + stringContainsUnchecked(receiver, other, startIndex) { var t1; if (typeof other == "string") return receiver.indexOf(other, startIndex) >= 0; - else if (other instanceof H.JSSyntaxRegExp) { - t1 = C.JSString_methods.substring$1(receiver, startIndex); + else if (other instanceof A.JSSyntaxRegExp) { + t1 = B.JSString_methods.substring$1(receiver, startIndex); return other._nativeRegExp.test(t1); } else { - t1 = J.allMatches$1$s(other, C.JSString_methods.substring$1(receiver, startIndex)); + t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)); return !t1.get$isEmpty(t1); } }, - escapeReplacement: function(replacement) { + escapeReplacement(replacement) { if (replacement.indexOf("$", 0) >= 0) return replacement.replace(/\$/g, "$$$$"); return replacement; }, - stringReplaceFirstRE: function(receiver, regexp, replacement, startIndex) { + stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { var match = regexp._execGlobal$2(receiver, startIndex); if (match == null) return receiver; - return H.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); + return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); }, - quoteStringForRegExp: function(string) { + quoteStringForRegExp(string) { if (/[[\]{}()*+?.\\^$|]/.test(string)) return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); return string; }, - stringReplaceAllUnchecked: function(receiver, pattern, replacement) { + stringReplaceAllUnchecked(receiver, pattern, replacement) { var nativeRegexp; if (typeof pattern == "string") - return H.stringReplaceAllUncheckedString(receiver, pattern, replacement); - if (pattern instanceof H.JSSyntaxRegExp) { + return A.stringReplaceAllUncheckedString(receiver, pattern, replacement); + if (pattern instanceof A.JSSyntaxRegExp) { nativeRegexp = pattern.get$_nativeGlobalVersion(); nativeRegexp.lastIndex = 0; - return receiver.replace(nativeRegexp, H.escapeReplacement(replacement)); + return receiver.replace(nativeRegexp, A.escapeReplacement(replacement)); } + return A.stringReplaceAllGeneral(receiver, pattern, replacement); + }, + stringReplaceAllGeneral(receiver, pattern, replacement) { + var t1, startIndex, t2, match; if (pattern == null) - H.throwExpression(H.argumentErrorValue(pattern)); - throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); + A.throwExpression(A.argumentErrorValue(pattern)); + for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) { + match = t1.get$current(t1); + t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement; + startIndex = match.get$end(match); + } + t1 = t2 + receiver.substring(startIndex); + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - stringReplaceAllUncheckedString: function(receiver, pattern, replacement) { + stringReplaceAllUncheckedString(receiver, pattern, replacement) { var $length, t1, i, index; if (pattern === "") { if (receiver === "") @@ -1969,46 +1909,44 @@ return receiver; if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) return receiver.split(pattern).join(replacement); - return receiver.replace(new RegExp(H.quoteStringForRegExp(pattern), 'g'), H.escapeReplacement(replacement)); + return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement)); }, - _stringIdentity: function(string) { + _stringIdentity(string) { return string; }, - stringReplaceAllFuncUnchecked: function(receiver, pattern, onMatch, onNonMatch) { + stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { var t1, startIndex, t2, match, t3, t4; if (!type$.Pattern._is(pattern)) - throw H.wrapException(P.ArgumentError$value(pattern, "pattern", "is not a Pattern")); - for (t1 = pattern.allMatches$1(0, receiver), t1 = new H._AllMatchesIterator(t1._re, t1._string, t1.__js_helper$_start), startIndex = 0, t2 = ""; t1.moveNext$0();) { + throw A.wrapException(A.ArgumentError$value(pattern, "pattern", "is not a Pattern")); + for (t1 = pattern.allMatches$1(0, receiver), t1 = new A._AllMatchesIterator(t1._re, t1._string, t1.__js_helper$_start), startIndex = 0, t2 = ""; t1.moveNext$0();) { match = t1.__js_helper$_current; t3 = match._match; t4 = t3.index; - t2 = t2 + H.S(H._stringIdentity(C.JSString_methods.substring$2(receiver, startIndex, t4))) + H.S(onMatch.call$1(match)); + t2 = t2 + A.S(A._stringIdentity(B.JSString_methods.substring$2(receiver, startIndex, t4))) + A.S(onMatch.call$1(match)); startIndex = t4 + t3[0].length; } - t1 = t2 + H.S(H._stringIdentity(C.JSString_methods.substring$1(receiver, startIndex))); + t1 = t2 + A.S(A._stringIdentity(B.JSString_methods.substring$1(receiver, startIndex))); return t1.charCodeAt(0) == 0 ? t1 : t1; }, - stringReplaceFirstUnchecked: function(receiver, pattern, replacement, startIndex) { + stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { var index, t1, matches, match; if (typeof pattern == "string") { index = receiver.indexOf(pattern, startIndex); if (index < 0) return receiver; - return H.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); + return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); } - if (pattern instanceof H.JSSyntaxRegExp) - return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, H.escapeReplacement(replacement)) : H.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + if (pattern instanceof A.JSSyntaxRegExp) + return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); t1 = J.allMatches$2$s(pattern, receiver, startIndex); - matches = type$.Iterator_Match._as(t1.get$iterator(t1)); + matches = t1.get$iterator(t1); if (!matches.moveNext$0()) return receiver; match = matches.get$current(matches); - return C.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); + return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); }, - stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { - var prefix = receiver.substring(0, start), - suffix = receiver.substring(end); - return prefix + replacement + suffix; + stringReplaceRangeUnchecked(receiver, start, end, replacement) { + return receiver.substring(0, start) + replacement + receiver.substring(end); }, ConstantMapView: function ConstantMapView(t0, t1) { this._collection$_map = t0; @@ -2023,7 +1961,7 @@ }, ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { var _ = this; - _.__js_helper$_length = t0; + _._length = t0; _._jsObject = t1; _.__js_helper$_keys = t2; _.$ti = t3; @@ -2039,6 +1977,9 @@ this._jsData = t0; this.$ti = t1; }, + GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) { + this.T = t0; + }, Instantiation: function Instantiation() { }, Instantiation1: function Instantiation1(t0, t1) { @@ -2092,16 +2033,17 @@ }, Closure: function Closure() { }, + Closure0Args: function Closure0Args() { + }, + Closure2Args: function Closure2Args() { + }, TearOffClosure: function TearOffClosure() { }, StaticClosure: function StaticClosure() { }, - BoundClosure: function BoundClosure(t0, t1, t2, t3) { - var _ = this; - _._self = t0; - _._target = t1; - _._receiver = t2; - _._name = t3; + BoundClosure: function BoundClosure(t0, t1) { + this._receiver = t0; + this._interceptor = t1; }, RuntimeError: function RuntimeError(t0) { this.message = t0; @@ -2113,7 +2055,7 @@ }, JsLinkedHashMap: function JsLinkedHashMap(t0) { var _ = this; - _.__js_helper$_length = 0; + _._length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; @@ -2187,54 +2129,74 @@ _.__js_helper$_index = t2; _.__js_helper$_current = null; }, - _checkViewArguments: function(buffer, offsetInBytes, $length) { - if (!H._isInt(offsetInBytes)) - throw H.wrapException(P.ArgumentError$("Invalid view offsetInBytes " + H.S(offsetInBytes))); + throwLateFieldNI(fieldName) { + return A.throwExpression(A.LateError$fieldNI(fieldName)); + }, + throwLateFieldAI(fieldName) { + return A.throwExpression(A.LateError$fieldAI(fieldName)); + }, + throwLateFieldADI(fieldName) { + return A.throwExpression(A.LateError$fieldADI(fieldName)); }, - _ensureNativeList: function(list) { + _Cell$named(_name) { + var t1 = new A._Cell(_name); + return t1._value = t1; + }, + _Cell: function _Cell(t0) { + this._name = t0; + this._value = null; + }, + _checkLength($length) { + if (!A._isInt($length)) + throw A.wrapException(A.ArgumentError$("Invalid length " + A.S($length), null)); + return $length; + }, + _checkViewArguments(buffer, offsetInBytes, $length) { + if (!A._isInt(offsetInBytes)) + throw A.wrapException(A.ArgumentError$("Invalid view offsetInBytes " + A.S(offsetInBytes), null)); + }, + _ensureNativeList(list) { var t1, result, i, t2; if (type$.JSIndexable_dynamic._is(list)) return list; t1 = J.getInterceptor$asx(list); - result = P.List_List$filled(t1.get$length(list), null, false, type$.dynamic); + result = A.List_List$filled(t1.get$length(list), null, false, type$.dynamic); i = 0; while (true) { t2 = t1.get$length(list); if (typeof t2 !== "number") - return H.iae(t2); + return A.iae(t2); if (!(i < t2)) break; - C.JSArray_methods.$indexSet(result, i, t1.$index(list, i)); + B.JSArray_methods.$indexSet(result, i, t1.$index(list, i)); ++i; } return result; }, - NativeByteData_NativeByteData$view: function(buffer, offsetInBytes, $length) { + NativeByteData_NativeByteData$view(buffer, offsetInBytes, $length) { var t1; - H._checkViewArguments(buffer, offsetInBytes, $length); + A._checkViewArguments(buffer, offsetInBytes, $length); t1 = new DataView(buffer, offsetInBytes, $length); return t1; }, - NativeInt32List_NativeInt32List: function($length) { + NativeInt32List_NativeInt32List($length) { return new Int32Array($length); }, - NativeInt8List__create1: function(arg) { + NativeInt8List__create1(arg) { return new Int8Array(arg); }, - NativeUint8List_NativeUint8List: function($length) { - if (!H._isInt($length)) - H.throwExpression(P.ArgumentError$("Invalid length " + H.S($length))); + NativeUint8List_NativeUint8List($length) { return new Uint8Array($length); }, - NativeUint8List_NativeUint8List$view: function(buffer, offsetInBytes, $length) { - H._checkViewArguments(buffer, offsetInBytes, $length); + NativeUint8List_NativeUint8List$view(buffer, offsetInBytes, $length) { + A._checkViewArguments(buffer, offsetInBytes, $length); return $length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, $length); }, - _checkValidIndex: function(index, list, $length) { + _checkValidIndex(index, list, $length) { if (index >>> 0 !== index || index >= $length) - throw H.wrapException(H.diagnoseIndexError(list, index)); + throw A.wrapException(A.diagnoseIndexError(list, index)); }, - _checkValidRange: function(start, end, $length) { + _checkValidRange(start, end, $length) { var t1; if (!(start >>> 0 !== start)) if (end == null) @@ -2244,7 +2206,7 @@ else t1 = true; if (t1) - throw H.wrapException(H.diagnoseRangeError(start, end, $length)); + throw A.wrapException(A.diagnoseRangeError(start, end, $length)); if (end == null) return $length; return end; @@ -2287,27 +2249,27 @@ }, _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() { }, - Rti__getQuestionFromStar: function(universe, rti) { + Rti__getQuestionFromStar(universe, rti) { var question = rti._precomputed1; - return question == null ? rti._precomputed1 = H._Universe__lookupQuestionRti(universe, rti._primary, true) : question; + return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question; }, - Rti__getFutureFromFutureOr: function(universe, rti) { + Rti__getFutureFromFutureOr(universe, rti) { var future = rti._precomputed1; - return future == null ? rti._precomputed1 = H._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; + return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; }, - Rti__isUnionOfFunctionType: function(rti) { + Rti__isUnionOfFunctionType(rti) { var kind = rti._kind; if (kind === 6 || kind === 7 || kind === 8) - return H.Rti__isUnionOfFunctionType(rti._primary); - return kind === 11 || kind === 12; + return A.Rti__isUnionOfFunctionType(rti._primary); + return kind === 12 || kind === 13; }, - Rti__getCanonicalRecipe: function(rti) { + Rti__getCanonicalRecipe(rti) { return rti._canonicalRecipe; }, - findType: function(recipe) { - return H._Universe_eval(init.typeUniverse, recipe, false); + findType(recipe) { + return A._Universe_eval(init.typeUniverse, recipe, false); }, - instantiatedGenericFunctionType: function(genericFunctionRti, instantiationRti) { + instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) { var t1, cache, key, probe, rti; if (genericFunctionRti == null) return null; @@ -2319,11 +2281,11 @@ probe = cache.get(key); if (probe != null) return probe; - rti = H._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); + rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); cache.set(key, rti); return rti; }, - _substitute: function(universe, rti, typeArguments, depth) { + _substitute(universe, rti, typeArguments, depth) { var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, kind = rti._kind; switch (kind) { @@ -2335,54 +2297,54 @@ return rti; case 6: baseType = rti._primary; - substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; - return H._Universe__lookupStarRti(universe, substitutedBaseType, true); + return A._Universe__lookupStarRti(universe, substitutedBaseType, true); case 7: baseType = rti._primary; - substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; - return H._Universe__lookupQuestionRti(universe, substitutedBaseType, true); + return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true); case 8: baseType = rti._primary; - substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; - return H._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); + return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); case 9: interfaceTypeArguments = rti._rest; - substitutedInterfaceTypeArguments = H._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); + substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); if (substitutedInterfaceTypeArguments === interfaceTypeArguments) return rti; - return H._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); + return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); case 10: base = rti._primary; - substitutedBase = H._substitute(universe, base, typeArguments, depth); + substitutedBase = A._substitute(universe, base, typeArguments, depth); $arguments = rti._rest; - substitutedArguments = H._substituteArray(universe, $arguments, typeArguments, depth); + substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth); if (substitutedBase === base && substitutedArguments === $arguments) return rti; - return H._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); - case 11: + return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); + case 12: returnType = rti._primary; - substitutedReturnType = H._substitute(universe, returnType, typeArguments, depth); + substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); functionParameters = rti._rest; - substitutedFunctionParameters = H._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); + substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) return rti; - return H._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); - case 12: + return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); + case 13: bounds = rti._rest; depth += bounds.length; - substitutedBounds = H._substituteArray(universe, bounds, typeArguments, depth); + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth); base = rti._primary; - substitutedBase = H._substitute(universe, base, typeArguments, depth); + substitutedBase = A._substitute(universe, base, typeArguments, depth); if (substitutedBounds === bounds && substitutedBase === base) return rti; - return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); - case 13: + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); + case 14: index = rti._primary; if (index < depth) return rti; @@ -2391,89 +2353,89 @@ return rti; return argument; default: - throw H.wrapException(P.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); + throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); } }, - _substituteArray: function(universe, rtiArray, typeArguments, depth) { + _substituteArray(universe, rtiArray, typeArguments, depth) { var changed, i, rti, substitutedRti, $length = rtiArray.length, - result = []; + result = A._Utils_newArrayOrEmpty($length); for (changed = false, i = 0; i < $length; ++i) { rti = rtiArray[i]; - substitutedRti = H._substitute(universe, rti, typeArguments, depth); + substitutedRti = A._substitute(universe, rti, typeArguments, depth); if (substitutedRti !== rti) changed = true; - result.push(substitutedRti); + result[i] = substitutedRti; } return changed ? result : rtiArray; }, - _substituteNamed: function(universe, namedArray, typeArguments, depth) { + _substituteNamed(universe, namedArray, typeArguments, depth) { var changed, i, t1, t2, rti, substitutedRti, $length = namedArray.length, - result = []; + result = A._Utils_newArrayOrEmpty($length); for (changed = false, i = 0; i < $length; i += 3) { t1 = namedArray[i]; t2 = namedArray[i + 1]; rti = namedArray[i + 2]; - substitutedRti = H._substitute(universe, rti, typeArguments, depth); + substitutedRti = A._substitute(universe, rti, typeArguments, depth); if (substitutedRti !== rti) changed = true; - result.push(t1); - result.push(t2); - result.push(substitutedRti); + result.splice(i, 3, t1, t2, substitutedRti); } return changed ? result : namedArray; }, - _substituteFunctionParameters: function(universe, functionParameters, typeArguments, depth) { + _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) { var result, requiredPositional = functionParameters._requiredPositional, - substitutedRequiredPositional = H._substituteArray(universe, requiredPositional, typeArguments, depth), + substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth), optionalPositional = functionParameters._optionalPositional, - substitutedOptionalPositional = H._substituteArray(universe, optionalPositional, typeArguments, depth), + substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth), named = functionParameters._named, - substitutedNamed = H._substituteNamed(universe, named, typeArguments, depth); + substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth); if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named) return functionParameters; - result = new H._FunctionParameters(); + result = new A._FunctionParameters(); result._requiredPositional = substitutedRequiredPositional; result._optionalPositional = substitutedOptionalPositional; result._named = substitutedNamed; return result; }, - setRuntimeTypeInfo: function(target, rti) { + _setArrayType(target, rti) { target[init.arrayRti] = rti; return target; }, - closureFunctionType: function(closure) { - var signature = closure.$signature; + closureFunctionType(closure) { + var t1, + signature = closure.$signature; if (signature != null) { if (typeof signature == "number") - return H.getTypeFromTypesTable(signature); - return closure.$signature(); + return A.getTypeFromTypesTable(signature); + t1 = closure.$signature(); + return t1; } return null; }, - instanceOrFunctionType: function(object, testRti) { + instanceOrFunctionType(object, testRti) { var rti; - if (H.Rti__isUnionOfFunctionType(testRti)) - if (object instanceof H.Closure) { - rti = H.closureFunctionType(object); + if (A.Rti__isUnionOfFunctionType(testRti)) + if (object instanceof A.Closure) { + rti = A.closureFunctionType(object); if (rti != null) return rti; } - return H.instanceType(object); + return A.instanceType(object); }, - instanceType: function(object) { + instanceType(object) { var rti; - if (object instanceof P.Object) { + if (object instanceof A.Object) { rti = object.$ti; - return rti != null ? rti : H._instanceTypeFromConstructor(object); + return rti != null ? rti : A._instanceTypeFromConstructor(object); } if (Array.isArray(object)) - return H._arrayInstanceType(object); - return H._instanceTypeFromConstructor(J.getInterceptor$(object)); + return A._arrayInstanceType(object); + return A._instanceTypeFromConstructor(J.getInterceptor$(object)); }, - _arrayInstanceType: function(object) { + _arrayInstanceType(object) { var rti = object[init.arrayRti], defaultRti = type$.JSArray_dynamic; if (rti == null) @@ -2482,61 +2444,60 @@ return defaultRti; return rti; }, - _instanceType: function(object) { + _instanceType(object) { var rti = object.$ti; - return rti != null ? rti : H._instanceTypeFromConstructor(object); + return rti != null ? rti : A._instanceTypeFromConstructor(object); }, - _instanceTypeFromConstructor: function(instance) { + _instanceTypeFromConstructor(instance) { var $constructor = instance.constructor, probe = $constructor.$ccache; if (probe != null) return probe; - return H._instanceTypeFromConstructorMiss(instance, $constructor); + return A._instanceTypeFromConstructorMiss(instance, $constructor); }, - _instanceTypeFromConstructorMiss: function(instance, $constructor) { - var effectiveConstructor = instance instanceof H.Closure ? instance.__proto__.__proto__.constructor : $constructor, - rti = H._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); + _instanceTypeFromConstructorMiss(instance, $constructor) { + var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor, + rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); $constructor.$ccache = rti; return rti; }, - getTypeFromTypesTable: function(index) { - var table, type, rti; - H._asIntS(index); - table = init.types; - type = table[index]; + getTypeFromTypesTable(index) { + var rti, + table = init.types, + type = table[index]; if (typeof type == "string") { - rti = H._Universe_eval(init.typeUniverse, type, false); + rti = A._Universe_eval(init.typeUniverse, type, false); table[index] = rti; return rti; } return type; }, - getRuntimeType: function(object) { - var rti = object instanceof H.Closure ? H.closureFunctionType(object) : null; - return H.createRuntimeType(rti == null ? H.instanceType(object) : rti); + getRuntimeType(object) { + var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null; + return A.createRuntimeType(rti == null ? A.instanceType(object) : rti); }, - createRuntimeType: function(rti) { - var recipe, starErasedRecipe, starErasedRti, + createRuntimeType(rti) { + var s, starErasedRecipe, starErasedRti, type = rti._cachedRuntimeType; if (type != null) return type; - recipe = rti._canonicalRecipe; - starErasedRecipe = recipe.replace(/\*/g, ""); - if (starErasedRecipe === recipe) - return rti._cachedRuntimeType = new H._Type(rti); - starErasedRti = H._Universe_eval(init.typeUniverse, starErasedRecipe, true); + s = rti._canonicalRecipe; + starErasedRecipe = s.replace(/\*/g, ""); + if (starErasedRecipe === s) + return rti._cachedRuntimeType = new A._Type(rti); + starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true); type = starErasedRti._cachedRuntimeType; - return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new H._Type(starErasedRti) : type; + return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type; }, - typeLiteral: function(recipe) { - return H.createRuntimeType(H._Universe_eval(init.typeUniverse, recipe, false)); + typeLiteral(recipe) { + return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, - _installSpecializedIsTest: function(object) { - var unstarred, isFn, testRti = this, + _installSpecializedIsTest(object) { + var unstarred, isFn, $name, testRti = this, t1 = type$.Object; if (testRti === t1) - return H._finishIsFn(testRti, object, H._isObject); - if (!H.isStrongTopType(testRti)) + return A._finishIsFn(testRti, object, A._isObject); + if (!A.isStrongTopType(testRti)) if (!(testRti === type$.legacy_Object)) t1 = testRti === t1; else @@ -2544,36 +2505,38 @@ else t1 = true; if (t1) - return H._finishIsFn(testRti, object, H._isTop); + return A._finishIsFn(testRti, object, A._isTop); t1 = testRti._kind; unstarred = t1 === 6 ? testRti._primary : testRti; if (unstarred === type$.int) - isFn = H._isInt; + isFn = A._isInt; else if (unstarred === type$.double || unstarred === type$.num) - isFn = H._isNum; + isFn = A._isNum; else if (unstarred === type$.String) - isFn = H._isString; + isFn = A._isString; else - isFn = unstarred === type$.bool ? H._isBool : null; + isFn = unstarred === type$.bool ? A._isBool : null; if (isFn != null) - return H._finishIsFn(testRti, object, isFn); + return A._finishIsFn(testRti, object, isFn); if (unstarred._kind === 9) { - t1 = unstarred._primary; - if (unstarred._rest.every(H.isTopType)) { - testRti._specializedTestResource = "$is" + t1; - return H._finishIsFn(testRti, object, H._isTestViaProperty); + $name = unstarred._primary; + if (unstarred._rest.every(A.isTopType)) { + testRti._specializedTestResource = "$is" + $name; + if ($name === "List") + return A._finishIsFn(testRti, object, A._isListTestViaProperty); + return A._finishIsFn(testRti, object, A._isTestViaProperty); } } else if (t1 === 7) - return H._finishIsFn(testRti, object, H._generalNullableIsTestImplementation); - return H._finishIsFn(testRti, object, H._generalIsTestImplementation); + return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); + return A._finishIsFn(testRti, object, A._generalIsTestImplementation); }, - _finishIsFn: function(testRti, object, isFn) { + _finishIsFn(testRti, object, isFn) { testRti._is = isFn; return testRti._is(object); }, - _installSpecializedAsCheck: function(object) { + _installSpecializedAsCheck(object) { var t1, asFn, testRti = this; - if (!H.isStrongTopType(testRti)) + if (!A.isStrongTopType(testRti)) if (!(testRti === type$.legacy_Object)) t1 = testRti === type$.Object; else @@ -2581,22 +2544,25 @@ else t1 = true; if (t1) - asFn = H._asTop; + asFn = A._asTop; else if (testRti === type$.Object) - asFn = H._asObject; + asFn = A._asObject; else - asFn = H._generalNullableAsCheckImplementation; + asFn = A._generalNullableAsCheckImplementation; testRti._as = asFn; return testRti._as(object); }, - _nullIs: function(testRti) { + _nullIs(testRti) { var t1, kind = testRti._kind; - if (!H.isStrongTopType(testRti)) + if (!A.isStrongTopType(testRti)) if (!(testRti === type$.legacy_Object)) if (!(testRti === type$.legacy_Never)) if (kind !== 7) - t1 = kind === 8 && H._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; + if (!(kind === 6 && A._nullIs(testRti._primary))) + t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; + else + t1 = true; else t1 = true; else @@ -2607,212 +2573,243 @@ t1 = true; return t1; }, - _generalIsTestImplementation: function(object) { + _generalIsTestImplementation(object) { var testRti = this; if (object == null) - return H._nullIs(testRti); - return H._isSubtype(init.typeUniverse, H.instanceOrFunctionType(object, testRti), null, testRti, null); + return A._nullIs(testRti); + return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null); }, - _generalNullableIsTestImplementation: function(object) { + _generalNullableIsTestImplementation(object) { if (object == null) return true; return this._primary._is(object); }, - _isTestViaProperty: function(object) { + _isTestViaProperty(object) { + var tag, testRti = this; + if (object == null) + return A._nullIs(testRti); + tag = testRti._specializedTestResource; + if (object instanceof A.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _isListTestViaProperty(object) { var tag, testRti = this; if (object == null) - return H._nullIs(testRti); + return A._nullIs(testRti); + if (typeof object != "object") + return false; + if (Array.isArray(object)) + return true; tag = testRti._specializedTestResource; - if (object instanceof P.Object) + if (object instanceof A.Object) return !!object[tag]; return !!J.getInterceptor$(object)[tag]; }, - _generalAsCheckImplementation: function(object) { + _generalAsCheckImplementation(object) { var testRti = this; if (object == null) return object; else if (testRti._is(object)) return object; - H._failedAsCheck(object, testRti); + A._failedAsCheck(object, testRti); }, - _generalNullableAsCheckImplementation: function(object) { + _generalNullableAsCheckImplementation(object) { var testRti = this; if (object == null) return object; else if (testRti._is(object)) return object; - H._failedAsCheck(object, testRti); + A._failedAsCheck(object, testRti); }, - _failedAsCheck: function(object, testRti) { - throw H.wrapException(H._TypeError$fromMessage(H._Error_compose(object, H.instanceOrFunctionType(object, testRti), H._rtiToString(testRti, null)))); + _failedAsCheck(object, testRti) { + throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null)))); }, - checkTypeBound: function(type, bound, variable, methodName) { + checkTypeBound(type, bound, variable, methodName) { var _null = null; - if (H._isSubtype(init.typeUniverse, type, _null, bound, _null)) + if (A._isSubtype(init.typeUniverse, type, _null, bound, _null)) return type; - throw H.wrapException(H._TypeError$fromMessage("The type argument '" + H.S(H._rtiToString(type, _null)) + "' is not a subtype of the type variable bound '" + H.S(H._rtiToString(bound, _null)) + "' of type variable '" + H.S(variable) + "' in '" + H.S(methodName) + "'.")); + throw A.wrapException(A._TypeError$fromMessage("The type argument '" + A.S(A._rtiToString(type, _null)) + "' is not a subtype of the type variable bound '" + A.S(A._rtiToString(bound, _null)) + "' of type variable '" + A.S(variable) + "' in '" + A.S(methodName) + "'.")); }, - _Error_compose: function(object, objectRti, checkedTypeDescription) { - var objectDescription = P.Error_safeToString(object), - objectTypeDescription = H._rtiToString(objectRti == null ? H.instanceType(object) : objectRti, null); - return objectDescription + ": type '" + H.S(objectTypeDescription) + "' is not a subtype of type '" + H.S(checkedTypeDescription) + "'"; + _Error_compose(object, objectRti, checkedTypeDescription) { + var objectDescription = A.Error_safeToString(object); + return objectDescription + ": type '" + A.S(A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null)) + "' is not a subtype of type '" + A.S(checkedTypeDescription) + "'"; }, - _TypeError$fromMessage: function(message) { - return new H._TypeError("TypeError: " + message); + _TypeError$fromMessage(message) { + return new A._TypeError("TypeError: " + message); }, - _TypeError__TypeError$forType: function(object, type) { - return new H._TypeError("TypeError: " + H._Error_compose(object, null, type)); + _TypeError__TypeError$forType(object, type) { + return new A._TypeError("TypeError: " + A._Error_compose(object, null, type)); }, - _isObject: function(object) { + _isObject(object) { return object != null; }, - _asObject: function(object) { + _asObject(object) { return object; }, - _isTop: function(object) { + _isTop(object) { return true; }, - _asTop: function(object) { + _asTop(object) { return object; }, - _isBool: function(object) { + _isBool(object) { return true === object || false === object; }, - _asBool: function(object) { + _asBool(object) { if (true === object) return true; if (false === object) return false; - throw H.wrapException(H._TypeError__TypeError$forType(object, "bool")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, - _asBoolS: function(object) { + _asBoolS(object) { if (true === object) return true; if (false === object) return false; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "bool")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, - _asBoolQ: function(object) { + _asBoolQ(object) { if (true === object) return true; if (false === object) return false; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "bool?")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?")); }, - _asDouble: function(object) { + _asDouble(object) { if (typeof object == "number") return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "double")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, - _asDoubleS: function(object) { + _asDoubleS(object) { if (typeof object == "number") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "double")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, - _asDoubleQ: function(object) { + _asDoubleQ(object) { if (typeof object == "number") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "double?")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "double?")); }, - _isInt: function(object) { + _isInt(object) { return typeof object == "number" && Math.floor(object) === object; }, - _asInt: function(object) { + _asInt(object) { if (typeof object == "number" && Math.floor(object) === object) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "int")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, - _asIntS: function(object) { + _asIntS(object) { if (typeof object == "number" && Math.floor(object) === object) return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "int")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, - _asIntQ: function(object) { + _asIntQ(object) { if (typeof object == "number" && Math.floor(object) === object) return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "int?")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "int?")); }, - _isNum: function(object) { + _isNum(object) { return typeof object == "number"; }, - _asNum: function(object) { + _asNum(object) { if (typeof object == "number") return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "num")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, - _asNumS: function(object) { + _asNumS(object) { if (typeof object == "number") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "num")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, - _asNumQ: function(object) { + _asNumQ(object) { if (typeof object == "number") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "num?")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "num?")); }, - _isString: function(object) { + _isString(object) { return typeof object == "string"; }, - _asString: function(object) { + _asString(object) { if (typeof object == "string") return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "String")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, - _asStringS: function(object) { + _asStringS(object) { if (typeof object == "string") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "String")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, - _asStringQ: function(object) { + _asStringQ(object) { if (typeof object == "string") return object; if (object == null) return object; - throw H.wrapException(H._TypeError__TypeError$forType(object, "String?")); + throw A.wrapException(A._TypeError__TypeError$forType(object, "String?")); }, - _rtiArrayToString: function(array, genericContext) { + _rtiArrayToString(array, genericContext) { var s, sep, i; for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") - s += C.JSString_methods.$add(sep, H._rtiToString(array[i], genericContext)); + s += B.JSString_methods.$add(sep, A._rtiToString(array[i], genericContext)); return s; }, - _functionRtiToString: function(functionType, genericContext, bounds) { + _recordRtiToString(recordType, genericContext) { + var fieldCount, names, namesIndex, s, comma, i, + partialShape = recordType._primary, + fields = recordType._rest; + if ("" === partialShape) + return "(" + A._rtiArrayToString(fields, genericContext) + ")"; + fieldCount = fields.length; + names = partialShape.split(","); + namesIndex = names.length - fieldCount; + for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") { + s += comma; + if (namesIndex === 0) + s += "{"; + s = B.JSString_methods.$add(s, A._rtiToString(fields[i], genericContext)); + if (namesIndex >= 0) + s += " " + names[namesIndex]; + ++namesIndex; + } + return s + "})"; + }, + _functionRtiToString(functionType, genericContext, bounds) { var boundsLength, outerContextLength, offset, i, t1, t2, t3, typeParametersText, typeSep, t4, t5, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; if (bounds != null) { boundsLength = bounds.length; if (genericContext == null) { - genericContext = H.setRuntimeTypeInfo([], type$.JSArray_String); + genericContext = A._setArrayType([], type$.JSArray_String); outerContextLength = null; } else outerContextLength = genericContext.length; offset = genericContext.length; for (i = boundsLength; i > 0; --i) - C.JSArray_methods.add$1(genericContext, "T" + (offset + i)); + B.JSArray_methods.add$1(genericContext, "T" + (offset + i)); for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, t3 = type$.Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { - typeParametersText += typeSep; t4 = genericContext.length; t5 = t4 - 1 - i; - if (t5 < 0) - return H.ioore(genericContext, t5); - typeParametersText = C.JSString_methods.$add(typeParametersText, genericContext[t5]); + if (!(t5 >= 0)) + return A.ioore(genericContext, t5); + typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[t5]); boundRti = bounds[i]; kind = boundRti._kind; if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1)) @@ -2823,7 +2820,7 @@ else t4 = true; if (!t4) - typeParametersText += C.JSString_methods.$add(" extends ", H._rtiToString(boundRti, genericContext)); + typeParametersText += B.JSString_methods.$add(" extends ", A._rtiToString(boundRti, genericContext)); } typeParametersText += ">"; } else { @@ -2838,13 +2835,13 @@ optionalPositionalLength = optionalPositional.length; named = parameters._named; namedLength = named.length; - returnTypeText = H._rtiToString(t1, genericContext); + returnTypeText = A._rtiToString(t1, genericContext); for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) - argumentsText += C.JSString_methods.$add(sep, H._rtiToString(requiredPositional[i], genericContext)); + argumentsText += B.JSString_methods.$add(sep, A._rtiToString(requiredPositional[i], genericContext)); if (optionalPositionalLength > 0) { argumentsText += sep + "["; for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) - argumentsText += C.JSString_methods.$add(sep, H._rtiToString(optionalPositional[i], genericContext)); + argumentsText += B.JSString_methods.$add(sep, A._rtiToString(optionalPositional[i], genericContext)); argumentsText += "]"; } if (namedLength > 0) { @@ -2853,7 +2850,7 @@ argumentsText += sep; if (named[i + 1]) argumentsText += "required "; - argumentsText += J.$add$ansx(H._rtiToString(named[i + 2], genericContext), " ") + named[i]; + argumentsText += J.$add$ansx(A._rtiToString(named[i + 2], genericContext), " ") + named[i]; } argumentsText += "}"; } @@ -2861,9 +2858,9 @@ genericContext.toString; genericContext.length = outerContextLength; } - return typeParametersText + "(" + argumentsText + ") => " + H.S(returnTypeText); + return typeParametersText + "(" + argumentsText + ") => " + A.S(returnTypeText); }, - _rtiToString: function(rti, genericContext) { + _rtiToString(rti, genericContext) { var s, questionArgument, argumentKind, $name, $arguments, t1, t2, kind = rti._kind; if (kind === 5) @@ -2877,84 +2874,86 @@ if (kind === 4) return "any"; if (kind === 6) { - s = H._rtiToString(rti._primary, genericContext); + s = A._rtiToString(rti._primary, genericContext); return s; } if (kind === 7) { questionArgument = rti._primary; - s = H._rtiToString(questionArgument, genericContext); + s = A._rtiToString(questionArgument, genericContext); argumentKind = questionArgument._kind; - return J.$add$ansx(argumentKind === 11 || argumentKind === 12 ? C.JSString_methods.$add("(", s) + ")" : s, "?"); + return J.$add$ansx(argumentKind === 12 || argumentKind === 13 ? B.JSString_methods.$add("(", s) + ")" : s, "?"); } if (kind === 8) - return "FutureOr<" + H.S(H._rtiToString(rti._primary, genericContext)) + ">"; + return "FutureOr<" + A.S(A._rtiToString(rti._primary, genericContext)) + ">"; if (kind === 9) { - $name = H._unminifyOrTag(rti._primary); + $name = A._unminifyOrTag(rti._primary); $arguments = rti._rest; - return $arguments.length !== 0 ? $name + ("<" + H._rtiArrayToString($arguments, genericContext) + ">") : $name; + return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name; } if (kind === 11) - return H._functionRtiToString(rti, genericContext, null); + return A._recordRtiToString(rti, genericContext); if (kind === 12) - return H._functionRtiToString(rti._primary, genericContext, rti._rest); - if (kind === 13) { + return A._functionRtiToString(rti, genericContext, null); + if (kind === 13) + return A._functionRtiToString(rti._primary, genericContext, rti._rest); + if (kind === 14) { genericContext.toString; t1 = rti._primary; t2 = genericContext.length; t1 = t2 - 1 - t1; - if (t1 < 0 || t1 >= t2) - return H.ioore(genericContext, t1); + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(genericContext, t1); return genericContext[t1]; } return "?"; }, - _unminifyOrTag: function(rawClassName) { - var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName); + _unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; if (preserved != null) return preserved; return rawClassName; }, - _Universe_findRule: function(universe, targetType) { + _Universe_findRule(universe, targetType) { var rule = universe.tR[targetType]; for (; typeof rule == "string";) rule = universe.tR[rule]; return rule; }, - _Universe_findErasedType: function(universe, cls) { + _Universe_findErasedType(universe, cls) { var $length, erased, $arguments, i, $interface, metadata = universe.eT, probe = metadata[cls]; if (probe == null) - return H._Universe_eval(universe, cls, false); + return A._Universe_eval(universe, cls, false); else if (typeof probe == "number") { $length = probe; - erased = H._Universe__lookupTerminalRti(universe, 5, "#"); - $arguments = []; + erased = A._Universe__lookupTerminalRti(universe, 5, "#"); + $arguments = A._Utils_newArrayOrEmpty($length); for (i = 0; i < $length; ++i) - $arguments.push(erased); - $interface = H._Universe__lookupInterfaceRti(universe, cls, $arguments); + $arguments[i] = erased; + $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments); metadata[cls] = $interface; return $interface; } else return probe; }, - _Universe_addRules: function(universe, rules) { - return H._Utils_objectAssign(universe.tR, rules); + _Universe_addRules(universe, rules) { + return A._Utils_objectAssign(universe.tR, rules); }, - _Universe_addErasedTypes: function(universe, types) { - return H._Utils_objectAssign(universe.eT, types); + _Universe_addErasedTypes(universe, types) { + return A._Utils_objectAssign(universe.eT, types); }, - _Universe_eval: function(universe, recipe, normalize) { + _Universe_eval(universe, recipe, normalize) { var rti, cache = universe.eC, probe = cache.get(recipe); if (probe != null) return probe; - rti = H._Parser_parse(H._Parser_create(universe, null, recipe, normalize)); + rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize)); cache.set(recipe, rti); return rti; }, - _Universe_evalInEnvironment: function(universe, environment, recipe) { + _Universe_evalInEnvironment(universe, environment, recipe) { var probe, rti, cache = environment._evalCache; if (cache == null) @@ -2962,11 +2961,11 @@ probe = cache.get(recipe); if (probe != null) return probe; - rti = H._Parser_parse(H._Parser_create(universe, environment, recipe, true)); + rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true)); cache.set(recipe, rti); return rti; }, - _Universe_bind: function(universe, environment, argumentsRti) { + _Universe_bind(universe, environment, argumentsRti) { var argumentsRecipe, probe, rti, cache = environment._bindCache; if (cache == null) @@ -2975,72 +2974,72 @@ probe = cache.get(argumentsRecipe); if (probe != null) return probe; - rti = H._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); + rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); cache.set(argumentsRecipe, rti); return rti; }, - _Universe__installTypeTests: function(universe, rti) { - rti._as = H._installSpecializedAsCheck; - rti._is = H._installSpecializedIsTest; + _Universe__installTypeTests(universe, rti) { + rti._as = A._installSpecializedAsCheck; + rti._is = A._installSpecializedIsTest; return rti; }, - _Universe__lookupTerminalRti: function(universe, kind, key) { + _Universe__lookupTerminalRti(universe, kind, key) { var rti, t1, probe = universe.eC.get(key); if (probe != null) return probe; - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = kind; rti._canonicalRecipe = key; - t1 = H._Universe__installTypeTests(universe, rti); + t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, - _Universe__lookupStarRti: function(universe, baseType, normalize) { + _Universe__lookupStarRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "*", probe = universe.eC.get(key); if (probe != null) return probe; - t1 = H._Universe__createStarRti(universe, baseType, key, normalize); + t1 = A._Universe__createStarRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, - _Universe__createStarRti: function(universe, baseType, key, normalize) { + _Universe__createStarRti(universe, baseType, key, normalize) { var baseKind, t1, rti; if (normalize) { baseKind = baseType._kind; - if (!H.isStrongTopType(baseType)) + if (!A.isStrongTopType(baseType)) t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; else t1 = true; if (t1) return baseType; } - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = 6; rti._primary = baseType; rti._canonicalRecipe = key; - return H._Universe__installTypeTests(universe, rti); + return A._Universe__installTypeTests(universe, rti); }, - _Universe__lookupQuestionRti: function(universe, baseType, normalize) { + _Universe__lookupQuestionRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "?", probe = universe.eC.get(key); if (probe != null) return probe; - t1 = H._Universe__createQuestionRti(universe, baseType, key, normalize); + t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, - _Universe__createQuestionRti: function(universe, baseType, key, normalize) { + _Universe__createQuestionRti(universe, baseType, key, normalize) { var baseKind, t1, starArgument, rti; if (normalize) { baseKind = baseType._kind; - if (!H.isStrongTopType(baseType)) + if (!A.isStrongTopType(baseType)) if (!(baseType === type$.Null || baseType === type$.JSNull)) if (baseKind !== 7) - t1 = baseKind === 8 && H.isNullable(baseType._primary); + t1 = baseKind === 8 && A.isNullable(baseType._primary); else t1 = true; else @@ -3053,33 +3052,33 @@ return type$.Null; else if (baseKind === 6) { starArgument = baseType._primary; - if (starArgument._kind === 8 && H.isNullable(starArgument._primary)) + if (starArgument._kind === 8 && A.isNullable(starArgument._primary)) return starArgument; else - return H.Rti__getQuestionFromStar(universe, baseType); + return A.Rti__getQuestionFromStar(universe, baseType); } } - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = 7; rti._primary = baseType; rti._canonicalRecipe = key; - return H._Universe__installTypeTests(universe, rti); + return A._Universe__installTypeTests(universe, rti); }, - _Universe__lookupFutureOrRti: function(universe, baseType, normalize) { + _Universe__lookupFutureOrRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "/", probe = universe.eC.get(key); if (probe != null) return probe; - t1 = H._Universe__createFutureOrRti(universe, baseType, key, normalize); + t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, - _Universe__createFutureOrRti: function(universe, baseType, key, normalize) { + _Universe__createFutureOrRti(universe, baseType, key, normalize) { var t1, t2, rti; if (normalize) { t1 = baseType._kind; - if (!H.isStrongTopType(baseType)) + if (!A.isStrongTopType(baseType)) if (!(baseType === type$.legacy_Object)) t2 = baseType === type$.Object; else @@ -3089,68 +3088,67 @@ if (t2 || baseType === type$.Object) return baseType; else if (t1 === 1) - return H._Universe__lookupInterfaceRti(universe, "Future", [baseType]); + return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]); else if (baseType === type$.Null || baseType === type$.JSNull) return type$.nullable_Future_Null; } - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = 8; rti._primary = baseType; rti._canonicalRecipe = key; - return H._Universe__installTypeTests(universe, rti); + return A._Universe__installTypeTests(universe, rti); }, - _Universe__lookupGenericFunctionParameterRti: function(universe, index) { + _Universe__lookupGenericFunctionParameterRti(universe, index) { var rti, t1, key = "" + index + "^", probe = universe.eC.get(key); if (probe != null) return probe; - rti = new H.Rti(null, null); - rti._kind = 13; + rti = new A.Rti(null, null); + rti._kind = 14; rti._primary = index; rti._canonicalRecipe = key; - t1 = H._Universe__installTypeTests(universe, rti); + t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, - _Universe__canonicalRecipeJoin: function($arguments) { + _Universe__canonicalRecipeJoin($arguments) { var s, sep, i, $length = $arguments.length; for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",") s += sep + $arguments[i]._canonicalRecipe; return s; }, - _Universe__canonicalRecipeJoinNamed: function($arguments) { - var s, sep, i, t1, nameSep, s0, + _Universe__canonicalRecipeJoinNamed($arguments) { + var s, sep, i, t1, nameSep, $length = $arguments.length; for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { t1 = $arguments[i]; nameSep = $arguments[i + 1] ? "!" : ":"; - s0 = $arguments[i + 2]._canonicalRecipe; - s += sep + t1 + nameSep + s0; + s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe; } return s; }, - _Universe__lookupInterfaceRti: function(universe, $name, $arguments) { + _Universe__lookupInterfaceRti(universe, $name, $arguments) { var probe, rti, t1, s = $name; - if ($arguments.length !== 0) - s += "<" + H._Universe__canonicalRecipeJoin($arguments) + ">"; + if ($arguments.length > 0) + s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">"; probe = universe.eC.get(s); if (probe != null) return probe; - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = 9; rti._primary = $name; rti._rest = $arguments; if ($arguments.length > 0) rti._precomputed1 = $arguments[0]; rti._canonicalRecipe = s; - t1 = H._Universe__installTypeTests(universe, rti); + t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(s, t1); return t1; }, - _Universe__lookupBindingRti: function(universe, base, $arguments) { + _Universe__lookupBindingRti(universe, base, $arguments) { var newBase, newArguments, key, probe, rti, t1; if (base._kind === 10) { newBase = base._primary; @@ -3159,21 +3157,36 @@ newArguments = $arguments; newBase = base; } - key = newBase._canonicalRecipe + (";<" + H._Universe__canonicalRecipeJoin(newArguments) + ">"); + key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">"); probe = universe.eC.get(key); if (probe != null) return probe; - rti = new H.Rti(null, null); + rti = new A.Rti(null, null); rti._kind = 10; rti._primary = newBase; rti._rest = newArguments; rti._canonicalRecipe = key; - t1 = H._Universe__installTypeTests(universe, rti); + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupRecordRti(universe, partialShapeTag, fields) { + var rti, t1, + key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"), + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 11; + rti._primary = partialShapeTag; + rti._rest = fields; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, - _Universe__lookupFunctionRti: function(universe, returnType, parameters) { - var sep, t1, key, probe, rti, + _Universe__lookupFunctionRti(universe, returnType, parameters) { + var sep, key, probe, rti, t1, s = returnType._canonicalRecipe, requiredPositional = parameters._requiredPositional, requiredPositionalLength = requiredPositional.length, @@ -3181,45 +3194,43 @@ optionalPositionalLength = optionalPositional.length, named = parameters._named, namedLength = named.length, - recipe = "(" + H._Universe__canonicalRecipeJoin(requiredPositional); + recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional); if (optionalPositionalLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; - t1 = H._Universe__canonicalRecipeJoin(optionalPositional); - recipe += sep + "[" + t1 + "]"; + recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]"; } if (namedLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; - t1 = H._Universe__canonicalRecipeJoinNamed(named); - recipe += sep + "{" + t1 + "}"; + recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}"; } key = s + (recipe + ")"); probe = universe.eC.get(key); if (probe != null) return probe; - rti = new H.Rti(null, null); - rti._kind = 11; + rti = new A.Rti(null, null); + rti._kind = 12; rti._primary = returnType; rti._rest = parameters; rti._canonicalRecipe = key; - t1 = H._Universe__installTypeTests(universe, rti); + t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, - _Universe__lookupGenericFunctionRti: function(universe, baseFunctionType, bounds, normalize) { + _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) { var t1, - key = baseFunctionType._canonicalRecipe + ("<" + H._Universe__canonicalRecipeJoin(bounds) + ">"), + key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"), probe = universe.eC.get(key); if (probe != null) return probe; - t1 = H._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); + t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); universe.eC.set(key, t1); return t1; }, - _Universe__createGenericFunctionRti: function(universe, baseFunctionType, bounds, key, normalize) { + _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) { var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti; if (normalize) { $length = bounds.length; - typeArguments = new Array($length); + typeArguments = A._Utils_newArrayOrEmpty($length); for (count = 0, i = 0; i < $length; ++i) { bound = bounds[i]; if (bound._kind === 1) { @@ -3228,33 +3239,33 @@ } } if (count > 0) { - substitutedBase = H._substitute(universe, baseFunctionType, typeArguments, 0); - substitutedBounds = H._substituteArray(universe, bounds, typeArguments, 0); - return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); + substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0); + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0); + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); } } - rti = new H.Rti(null, null); - rti._kind = 12; + rti = new A.Rti(null, null); + rti._kind = 13; rti._primary = baseFunctionType; rti._rest = bounds; rti._canonicalRecipe = key; - return H._Universe__installTypeTests(universe, rti); + return A._Universe__installTypeTests(universe, rti); }, - _Parser_create: function(universe, environment, recipe, normalize) { + _Parser_create(universe, environment, recipe, normalize) { return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; }, - _Parser_parse: function(parser) { - var t1, i, ch, universe, array, head, base, u, parameters, optionalPositional, named, item, + _Parser_parse(parser) { + var t1, i, ch, universe, array, head, base, u, end, item, source = parser.r, stack = parser.s; for (t1 = source.length, i = 0; i < t1;) { ch = source.charCodeAt(i); if (ch >= 48 && ch <= 57) - i = H._Parser_handleDigit(i + 1, ch, source, stack); - else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36) - i = H._Parser_handleIdentifier(parser, i, source, stack, false); + i = A._Parser_handleDigit(i + 1, ch, source, stack); + else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124) + i = A._Parser_handleIdentifier(parser, i, source, stack, false); else if (ch === 46) - i = H._Parser_handleIdentifier(parser, i, source, stack, true); + i = A._Parser_handleIdentifier(parser, i, source, stack, true); else { ++i; switch (ch) { @@ -3267,19 +3278,19 @@ stack.push(true); break; case 59: - stack.push(H._Parser_toType(parser.u, parser.e, stack.pop())); + stack.push(A._Parser_toType(parser.u, parser.e, stack.pop())); break; case 94: - stack.push(H._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop())); + stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop())); break; case 35: - stack.push(H._Universe__lookupTerminalRti(parser.u, 5, "#")); + stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); break; case 64: - stack.push(H._Universe__lookupTerminalRti(parser.u, 2, "@")); + stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); break; case 126: - stack.push(H._Universe__lookupTerminalRti(parser.u, 3, "~")); + stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); break; case 60: stack.push(parser.p); @@ -3288,69 +3299,45 @@ case 62: universe = parser.u; array = stack.splice(parser.p); - H._Parser_toTypes(parser.u, parser.e, array); + A._Parser_toTypes(parser.u, parser.e, array); parser.p = stack.pop(); head = stack.pop(); if (typeof head == "string") - stack.push(H._Universe__lookupInterfaceRti(universe, head, array)); + stack.push(A._Universe__lookupInterfaceRti(universe, head, array)); else { - base = H._Parser_toType(universe, parser.e, head); + base = A._Parser_toType(universe, parser.e, head); switch (base._kind) { - case 11: - stack.push(H._Universe__lookupGenericFunctionRti(universe, base, array, parser.n)); + case 12: + stack.push(A._Universe__lookupGenericFunctionRti(universe, base, array, parser.n)); break; default: - stack.push(H._Universe__lookupBindingRti(universe, base, array)); + stack.push(A._Universe__lookupBindingRti(universe, base, array)); break; } } break; case 38: - H._Parser_handleExtendedOperations(parser, stack); + A._Parser_handleExtendedOperations(parser, stack); break; case 42: u = parser.u; - stack.push(H._Universe__lookupStarRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + stack.push(A._Universe__lookupStarRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); break; case 63: u = parser.u; - stack.push(H._Universe__lookupQuestionRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); break; case 47: u = parser.u; - stack.push(H._Universe__lookupFutureOrRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); break; case 40: + stack.push(-3); stack.push(parser.p); parser.p = stack.length; break; case 41: - universe = parser.u; - parameters = new H._FunctionParameters(); - optionalPositional = universe.sEA; - named = universe.sEA; - head = stack.pop(); - if (typeof head == "number") - switch (head) { - case -1: - optionalPositional = stack.pop(); - break; - case -2: - named = stack.pop(); - break; - default: - stack.push(head); - break; - } - else - stack.push(head); - array = stack.splice(parser.p); - H._Parser_toTypes(parser.u, parser.e, array); - parser.p = stack.pop(); - parameters._requiredPositional = array; - parameters._optionalPositional = optionalPositional; - parameters._named = named; - stack.push(H._Universe__lookupFunctionRti(universe, H._Parser_toType(universe, parser.e, stack.pop()), parameters)); + A._Parser_handleArguments(parser, stack); break; case 91: stack.push(parser.p); @@ -3358,7 +3345,7 @@ break; case 93: array = stack.splice(parser.p); - H._Parser_toTypes(parser.u, parser.e, array); + A._Parser_toTypes(parser.u, parser.e, array); parser.p = stack.pop(); stack.push(array); stack.push(-1); @@ -3369,20 +3356,28 @@ break; case 125: array = stack.splice(parser.p); - H._Parser_toTypesNamed(parser.u, parser.e, array); + A._Parser_toTypesNamed(parser.u, parser.e, array); parser.p = stack.pop(); stack.push(array); stack.push(-2); break; + case 43: + end = source.indexOf("(", i); + stack.push(source.substring(i, end)); + stack.push(-4); + stack.push(parser.p); + parser.p = stack.length; + i = end + 1; + break; default: throw "Bad character " + ch; } } } item = stack.pop(); - return H._Parser_toType(parser.u, parser.e, item); + return A._Parser_toType(parser.u, parser.e, item); }, - _Parser_handleDigit: function(i, digit, source, stack) { + _Parser_handleDigit(i, digit, source, stack) { var t1, ch, value = digit - 48; for (t1 = source.length; i < t1; ++i) { @@ -3394,7 +3389,7 @@ stack.push(value); return i; }, - _Parser_handleIdentifier: function(parser, start, source, stack, hasPeriod) { + _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) { var t1, ch, t2, string, environment, recipe, i = start + 1; for (t1 = source.length; i < t1; ++i) { @@ -3404,7 +3399,7 @@ break; hasPeriod = true; } else { - if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)) + if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)) t2 = ch >= 48 && ch <= 57; else t2 = true; @@ -3418,47 +3413,102 @@ environment = parser.e; if (environment._kind === 10) environment = environment._primary; - recipe = H._Universe_findRule(t1, environment._primary)[string]; + recipe = A._Universe_findRule(t1, environment._primary)[string]; if (recipe == null) - H.throwExpression('No "' + string + '" in "' + H.Rti__getCanonicalRecipe(environment) + '"'); - stack.push(H._Universe_evalInEnvironment(t1, environment, recipe)); + A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"'); + stack.push(A._Universe_evalInEnvironment(t1, environment, recipe)); } else stack.push(string); return i; }, - _Parser_handleExtendedOperations: function(parser, stack) { + _Parser_handleArguments(parser, stack) { + var optionalPositional, named, requiredPositional, returnType, parameters, _null = null, + universe = parser.u, + head = stack.pop(); + if (typeof head == "number") + switch (head) { + case -1: + optionalPositional = stack.pop(); + named = _null; + break; + case -2: + named = stack.pop(); + optionalPositional = _null; + break; + default: + stack.push(head); + named = _null; + optionalPositional = named; + break; + } + else { + stack.push(head); + named = _null; + optionalPositional = named; + } + requiredPositional = A._Parser_collectArray(parser, stack); + head = stack.pop(); + switch (head) { + case -3: + head = stack.pop(); + if (optionalPositional == null) + optionalPositional = universe.sEA; + if (named == null) + named = universe.sEA; + returnType = A._Parser_toType(universe, parser.e, head); + parameters = new A._FunctionParameters(); + parameters._requiredPositional = requiredPositional; + parameters._optionalPositional = optionalPositional; + parameters._named = named; + stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters)); + return; + case -4: + stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional)); + return; + default: + throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head))); + } + }, + _Parser_handleExtendedOperations(parser, stack) { var $top = stack.pop(); if (0 === $top) { - stack.push(H._Universe__lookupTerminalRti(parser.u, 1, "0&")); + stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&")); return; } if (1 === $top) { - stack.push(H._Universe__lookupTerminalRti(parser.u, 4, "1&")); + stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&")); return; } - throw H.wrapException(P.AssertionError$("Unexpected extended operation " + H.S($top))); + throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top))); + }, + _Parser_collectArray(parser, stack) { + var array = stack.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = stack.pop(); + return array; }, - _Parser_toType: function(universe, environment, item) { + _Parser_toType(universe, environment, item) { if (typeof item == "string") - return H._Universe__lookupInterfaceRti(universe, item, universe.sEA); - else if (typeof item == "number") - return H._Parser_indexToType(universe, environment, item); - else + return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); + else if (typeof item == "number") { + environment.toString; + return A._Parser_indexToType(universe, environment, item); + } else return item; }, - _Parser_toTypes: function(universe, environment, items) { + _Parser_toTypes(universe, environment, items) { var i, $length = items.length; for (i = 0; i < $length; ++i) - items[i] = H._Parser_toType(universe, environment, items[i]); + items[i] = A._Parser_toType(universe, environment, items[i]); }, - _Parser_toTypesNamed: function(universe, environment, items) { + _Parser_toTypesNamed(universe, environment, items) { var i, $length = items.length; for (i = 2; i < $length; i += 3) - items[i] = H._Parser_toType(universe, environment, items[i]); + items[i] = A._Parser_toType(universe, environment, items[i]); }, - _Parser_indexToType: function(universe, environment, index) { + _Parser_indexToType(universe, environment, index) { var typeArguments, len, kind = environment._kind; if (kind === 10) { @@ -3474,17 +3524,17 @@ } else if (index === 0) return environment; if (kind !== 9) - throw H.wrapException(P.AssertionError$("Indexed base must be an interface type")); + throw A.wrapException(A.AssertionError$("Indexed base must be an interface type")); typeArguments = environment._rest; if (index <= typeArguments.length) return typeArguments[index - 1]; - throw H.wrapException(P.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); + throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); }, - _isSubtype: function(universe, s, sEnv, t, tEnv) { + _isSubtype(universe, s, sEnv, t, tEnv) { var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound; if (s === t) return true; - if (!H.isStrongTopType(t)) + if (!A.isStrongTopType(t)) if (!(t === type$.legacy_Object)) t1 = t === type$.Object; else @@ -3496,7 +3546,7 @@ sKind = s._kind; if (sKind === 4) return true; - if (H.isStrongTopType(s)) + if (A.isStrongTopType(s)) return false; if (s._kind !== 1) t1 = s === type$.Null || s === type$.JSNull; @@ -3504,44 +3554,44 @@ t1 = true; if (t1) return true; - leftTypeVariable = sKind === 13; + leftTypeVariable = sKind === 14; if (leftTypeVariable) - if (H._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) + if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) return true; tKind = t._kind; if (sKind === 6) - return H._isSubtype(universe, s._primary, sEnv, t, tEnv); + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); if (tKind === 6) { t1 = t._primary; - return H._isSubtype(universe, s, sEnv, t1, tEnv); + return A._isSubtype(universe, s, sEnv, t1, tEnv); } if (sKind === 8) { - if (!H._isSubtype(universe, s._primary, sEnv, t, tEnv)) + if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv)) return false; - return H._isSubtype(universe, H.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); + return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); } if (sKind === 7) { - t1 = H._isSubtype(universe, s._primary, sEnv, t, tEnv); + t1 = A._isSubtype(universe, s._primary, sEnv, t, tEnv); return t1; } if (tKind === 8) { - if (H._isSubtype(universe, s, sEnv, t._primary, tEnv)) + if (A._isSubtype(universe, s, sEnv, t._primary, tEnv)) return true; - return H._isSubtype(universe, s, sEnv, H.Rti__getFutureFromFutureOr(universe, t), tEnv); + return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); } if (tKind === 7) { - t1 = H._isSubtype(universe, s, sEnv, t._primary, tEnv); + t1 = A._isSubtype(universe, s, sEnv, t._primary, tEnv); return t1; } if (leftTypeVariable) return false; - t1 = sKind !== 11; - if ((!t1 || sKind === 12) && t === type$.Function) + t1 = sKind !== 12; + if ((!t1 || sKind === 13) && t === type$.Function) return true; - if (tKind === 12) { + if (tKind === 13) { if (s === type$.JavaScriptFunction) return true; - if (sKind !== 12) + if (sKind !== 13) return false; sBounds = s._rest; tBounds = t._rest; @@ -3553,28 +3603,33 @@ for (i = 0; i < sLength; ++i) { sBound = sBounds[i]; tBound = tBounds[i]; - if (!H._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !H._isSubtype(universe, tBound, tEnv, sBound, sEnv)) + if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv)) return false; } - return H._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); + return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); } - if (tKind === 11) { + if (tKind === 12) { if (s === type$.JavaScriptFunction) return true; if (t1) return false; - return H._isFunctionSubtype(universe, s, sEnv, t, tEnv); + return A._isFunctionSubtype(universe, s, sEnv, t, tEnv); } if (sKind === 9) { if (tKind !== 9) return false; - return H._isInterfaceSubtype(universe, s, sEnv, t, tEnv); + return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); } + t1 = sKind === 11; + if (t1 && t === type$.Record) + return true; + if (t1 && tKind === 11) + return A._isRecordSubtype(universe, s, sEnv, t, tEnv); return false; }, - _isFunctionSubtype: function(universe, s, sEnv, t, tEnv) { + _isFunctionSubtype(universe, s, sEnv, t, tEnv) { var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName; - if (!H._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) + if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) return false; sParameters = s._rest; tParameters = t._rest; @@ -3593,17 +3648,17 @@ return false; for (i = 0; i < sRequiredPositionalLength; ++i) { t1 = sRequiredPositional[i]; - if (!H._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) return false; } for (i = 0; i < requiredPositionalDelta; ++i) { t1 = sOptionalPositional[i]; - if (!H._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) return false; } for (i = 0; i < tOptionalPositionalLength; ++i) { t1 = sOptionalPositional[requiredPositionalDelta + i]; - if (!H._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) return false; } sNamed = sParameters._named; @@ -3622,52 +3677,71 @@ if (sName < tName) continue; t1 = sNamed[sIndex - 1]; - if (!H._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) return false; break; } } return true; }, - _isInterfaceSubtype: function(universe, s, sEnv, t, tEnv) { - var sArgs, tArgs, $length, i, t1, t2, rule, supertypeArgs, + _isInterfaceSubtype(universe, s, sEnv, t, tEnv) { + var rule, recipes, $length, supertypeArgs, i, t1, t2, sName = s._primary, tName = t._primary; - if (sName === tName) { - sArgs = s._rest; - tArgs = t._rest; - $length = sArgs.length; - for (i = 0; i < $length; ++i) { - t1 = sArgs[i]; - t2 = tArgs[i]; - if (!H._isSubtype(universe, t1, sEnv, t2, tEnv)) - return false; + for (; sName !== tName;) { + rule = universe.tR[sName]; + if (rule == null) + return false; + if (typeof rule == "string") { + sName = rule; + continue; } - return true; + recipes = rule[tName]; + if (recipes == null) + return false; + $length = recipes.length; + supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA; + for (i = 0; i < $length; ++i) + supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]); + return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv); } - if (t === type$.Object) - return true; - rule = H._Universe_findRule(universe, sName); - if (rule == null) + t1 = s._rest; + t2 = t._rest; + return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv); + }, + _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) { + var i, t1, t2, + $length = sArgs.length; + for (i = 0; i < $length; ++i) { + t1 = sArgs[i]; + t2 = tArgs[i]; + if (!A._isSubtype(universe, t1, sEnv, t2, tEnv)) + return false; + } + return true; + }, + _isRecordSubtype(universe, s, sEnv, t, tEnv) { + var i, + sFields = s._rest, + tFields = t._rest, + sCount = sFields.length; + if (sCount !== tFields.length) return false; - supertypeArgs = rule[tName]; - if (supertypeArgs == null) + if (s._primary !== t._primary) return false; - $length = supertypeArgs.length; - tArgs = t._rest; - for (i = 0; i < $length; ++i) - if (!H._isSubtype(universe, H._Universe_evalInEnvironment(universe, s, supertypeArgs[i]), sEnv, tArgs[i], tEnv)) + for (i = 0; i < sCount; ++i) + if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv)) return false; return true; }, - isNullable: function(t) { + isNullable(t) { var t1, kind = t._kind; if (!(t === type$.Null || t === type$.JSNull)) - if (!H.isStrongTopType(t)) + if (!A.isStrongTopType(t)) if (kind !== 7) - if (!(kind === 6 && H.isNullable(t._primary))) - t1 = kind === 8 && H.isNullable(t._primary); + if (!(kind === 6 && A.isNullable(t._primary))) + t1 = kind === 8 && A.isNullable(t._primary); else t1 = true; else @@ -3678,9 +3752,9 @@ t1 = true; return t1; }, - isTopType: function(t) { + isTopType(t) { var t1; - if (!H.isStrongTopType(t)) + if (!A.isStrongTopType(t)) if (!(t === type$.legacy_Object)) t1 = t === type$.Object; else @@ -3689,11 +3763,11 @@ t1 = true; return t1; }, - isStrongTopType: function(t) { + isStrongTopType(t) { var kind = t._kind; return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; }, - _Utils_objectAssign: function(o, other) { + _Utils_objectAssign(o, other) { var i, key, keys = Object.keys(other), $length = keys.length; @@ -3702,6 +3776,9 @@ o[key] = other[key]; } }, + _Utils_newArrayOrEmpty($length) { + return $length > 0 ? new Array($length) : init.typeUniverse.sEA; + }, Rti: function Rti(t0, t1) { var _ = this; _._as = t0; @@ -3721,1033 +3798,213 @@ _TypeError: function _TypeError(t0) { this.__rti$_message = t0; }, - isBrowserObject: function(o) { - return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData._is(o) || type$.Node._is(o) || type$.Window._is(o) || type$.WorkerGlobalScope._is(o); - }, - unmangleGlobalNameIfPreservedAnyways: function($name) { - return init.mangledGlobalNames[$name]; + _AsyncRun__initializeScheduleImmediate() { + var div, span, t1 = {}; + if (self.scheduleImmediate != null) + return A.async__AsyncRun__scheduleImmediateJsOverride$closure(); + if (self.MutationObserver != null && self.document != null) { + div = self.document.createElement("div"); + span = self.document.createElement("span"); + t1.storedCallback = null; + new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); + return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); + } else if (self.setImmediate != null) + return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); + return A.async__AsyncRun__scheduleImmediateWithTimer$closure(); }, - printString: function(string) { - if (typeof dartPrint == "function") { - dartPrint(string); - return; - } - if (typeof console == "object" && typeof console.log != "undefined") { - console.log(string); - return; - } - if (typeof window == "object") - return; - if (typeof print == "function") { - print(string); - return; - } - throw "Unable to print message: " + String(string); - } - }, - J = { - makeDispatchRecord: function(interceptor, proto, extension, indexability) { - return {i: interceptor, p: proto, e: extension, x: indexability}; + _AsyncRun__scheduleImmediateJsOverride(callback) { + self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(type$.void_Function._as(callback)), 0)); }, - getNativeInterceptor: function(object) { - var proto, objectProto, $constructor, interceptor, t1, - record = object[init.dispatchPropertyName]; - if (record == null) - if ($.initNativeDispatchFlag == null) { - H.initNativeDispatch(); - record = object[init.dispatchPropertyName]; - } - if (record != null) { - proto = record.p; - if (false === proto) - return record.i; - if (true === proto) - return object; - objectProto = Object.getPrototypeOf(object); - if (proto === objectProto) - return record.i; - if (record.e === objectProto) - throw H.wrapException(P.UnimplementedError$("Return interceptor for " + H.S(proto(object, record)))); - } - $constructor = object.constructor; - if ($constructor == null) - interceptor = null; - else { - t1 = $._JS_INTEROP_INTERCEPTOR_TAG; - if (t1 == null) - t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); - interceptor = $constructor[t1]; - } - if (interceptor != null) - return interceptor; - interceptor = H.lookupAndCacheInterceptor(object); - if (interceptor != null) - return interceptor; - if (typeof object == "function") - return C.JavaScriptFunction_methods; - proto = Object.getPrototypeOf(object); - if (proto == null) - return C.PlainJavaScriptObject_methods; - if (proto === Object.prototype) - return C.PlainJavaScriptObject_methods; - if (typeof $constructor == "function") { - t1 = $._JS_INTEROP_INTERCEPTOR_TAG; - if (t1 == null) - t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); - Object.defineProperty($constructor, t1, {value: C.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); - return C.UnknownJavaScriptObject_methods; - } - return C.UnknownJavaScriptObject_methods; + _AsyncRun__scheduleImmediateWithSetImmediate(callback) { + self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type$.void_Function._as(callback)), 0)); }, - JSArray_JSArray$fixed: function($length, $E) { - if (!H._isInt($length)) - throw H.wrapException(P.ArgumentError$value($length, "length", "is not an integer")); - if ($length < 0 || $length > 4294967295) - throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "length", null)); - return J.JSArray_JSArray$markFixed(new Array($length), $E); + _AsyncRun__scheduleImmediateWithTimer(callback) { + A.Timer__createTimer(B.Duration_0, type$.void_Function._as(callback)); }, - JSArray_JSArray$growable: function($length, $E) { - if (!H._isInt($length) || $length < 0) - throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length))); - return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>")); + Timer__createTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); }, - JSArray_JSArray$allocateGrowable: function($length, $E) { - return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>")); + Timer__createPeriodicTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); }, - JSArray_JSArray$markFixed: function(allocation, $E) { - return J.JSArray_markFixedList(H.setRuntimeTypeInfo(allocation, $E._eval$1("JSArray<0>")), $E); + _TimerImpl$(milliseconds, callback) { + var t1 = new A._TimerImpl(true); + t1._TimerImpl$2(milliseconds, callback); + return t1; }, - JSArray_markFixedList: function(list, $T) { - list.fixed$length = Array; - return list; + _TimerImpl$periodic(milliseconds, callback) { + var t1 = new A._TimerImpl(false); + t1._TimerImpl$periodic$2(milliseconds, callback); + return t1; }, - JSArray_markUnmodifiableList: function(list) { - list.fixed$length = Array; - list.immutable$list = Array; - return list; + _makeAsyncAwaitCompleter($T) { + return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); }, - JSArray__compareAny: function(a, b) { - var t1 = type$.Comparable_dynamic; - return J.compareTo$1$ns(t1._as(a), t1._as(b)); + _asyncStartSync(bodyFunction, completer) { + bodyFunction.call$2(0, null); + completer.isSync = true; + return completer._future; }, - JSString__isWhitespace: function(codeUnit) { - if (codeUnit < 256) - switch (codeUnit) { - case 9: - case 10: - case 11: - case 12: - case 13: - case 32: - case 133: - case 160: - return true; - default: - return false; - } - switch (codeUnit) { - case 5760: - case 8192: - case 8193: - case 8194: - case 8195: - case 8196: - case 8197: - case 8198: - case 8199: - case 8200: - case 8201: - case 8202: - case 8232: - case 8233: - case 8239: - case 8287: - case 12288: - case 65279: - return true; - default: - return false; - } + _asyncAwait(object, bodyFunction) { + A._awaitOnObject(object, bodyFunction); }, - JSString__skipLeadingWhitespace: function(string, index) { - var t1, codeUnit; - for (t1 = string.length; index < t1;) { - codeUnit = C.JSString_methods._codeUnitAt$1(string, index); - if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) - break; - ++index; - } - return index; + _asyncReturn(object, completer) { + completer.complete$1(0, object); }, - JSString__skipTrailingWhitespace: function(string, index) { - var index0, codeUnit; - for (; index > 0; index = index0) { - index0 = index - 1; - codeUnit = C.JSString_methods.codeUnitAt$1(string, index0); - if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) - break; - } - return index; + _asyncRethrow(object, completer) { + completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object)); }, - getInterceptor$: function(receiver) { - if (typeof receiver == "number") { - if (Math.floor(receiver) == receiver) - return J.JSInt.prototype; - return J.JSNumNotInt.prototype; - } - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return J.JSNull.prototype; - if (typeof receiver == "boolean") - return J.JSBool.prototype; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; + _awaitOnObject(object, bodyFunction) { + var t1, future, + thenCallback = new A._awaitOnObject_closure(bodyFunction), + errorCallback = new A._awaitOnObject_closure0(bodyFunction); + if (object instanceof A._Future) + object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic); + else { + t1 = type$.dynamic; + if (type$.Future_dynamic._is(object)) + object.then$1$2$onError(0, thenCallback, errorCallback, t1); + else { + future = new A._Future($.Zone__current, type$._Future_dynamic); + future._state = 8; + future._resultOrListeners = object; + future._thenAwait$1$2(thenCallback, errorCallback, t1); + } } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); }, - getInterceptor$ansx: function(receiver) { - if (typeof receiver == "number") - return J.JSNumber.prototype; - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; - } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + _wrapJsFunctionForAsync($function) { + var $protected = function(fn, ERROR) { + return function(errorCode, result) { + while (true) + try { + fn(errorCode, result); + break; + } catch (error) { + result = error; + errorCode = ERROR; + } + }; + }($function, 1); + return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); }, - getInterceptor$asx: function(receiver) { - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; - } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + _IterationMarker_yieldStar(values) { + return new A._IterationMarker(values, 1); }, - getInterceptor$ax: function(receiver) { - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; - } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + _IterationMarker_endOfIteration() { + return B._IterationMarker_null_2; }, - getInterceptor$n: function(receiver) { - if (typeof receiver == "number") - return J.JSNumber.prototype; - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + _IterationMarker_uncaughtError(error) { + return new A._IterationMarker(error, 3); }, - getInterceptor$ns: function(receiver) { - if (typeof receiver == "number") - return J.JSNumber.prototype; - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + _makeSyncStarIterable(body, $T) { + return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>")); }, - getInterceptor$s: function(receiver) { - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + AsyncError$(error, stackTrace) { + var t1 = A.checkNotNullable(error, "error", type$.Object); + return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); }, - getInterceptor$x: function(receiver) { - if (receiver == null) - return receiver; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; + AsyncError_defaultStackTrace(error) { + var stackTrace; + if (type$.Error._is(error)) { + stackTrace = error.get$stackTrace(); + if (stackTrace != null) + return stackTrace; } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); - }, - getInterceptor$z: function(receiver) { - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; - }, - set$_innerHtml$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$_innerHtml(receiver, value); - }, - set$dartComponentVersion$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$dartComponentVersion(receiver, value); - }, - set$dartStackTrace$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$dartStackTrace(receiver, value); - }, - set$display$z: function(receiver, value) { - return J.getInterceptor$z(receiver).set$display(receiver, value); - }, - set$displayName$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$displayName(receiver, value); + return B.C__StringStackTrace; }, - set$height$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$height(receiver, value); - }, - set$key$z: function(receiver, value) { - return J.getInterceptor$z(receiver).set$key(receiver, value); - }, - set$length$asx: function(receiver, value) { - return J.getInterceptor$asx(receiver).set$length(receiver, value); - }, - set$props$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$props(receiver, value); - }, - set$render$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$render(receiver, value); - }, - set$returnValue$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$returnValue(receiver, value); - }, - set$src$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$src(receiver, value); - }, - set$store$z: function(receiver, value) { - return J.getInterceptor$z(receiver).set$store(receiver, value); - }, - set$value$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$value(receiver, value); - }, - set$width$x: function(receiver, value) { - return J.getInterceptor$x(receiver).set$width(receiver, value); - }, - get$attributes$x: function(receiver) { - return J.getInterceptor$x(receiver).get$attributes(receiver); - }, - get$buffer$x: function(receiver) { - return J.getInterceptor$x(receiver).get$buffer(receiver); + Future_Future(computation, $T) { + var result = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + A.Timer_Timer(B.Duration_0, new A.Future_Future_closure(result, computation)); + return result; }, - get$button$x: function(receiver) { - return J.getInterceptor$x(receiver).get$button(receiver); + Future_Future$value(value, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncComplete$1(value); + return t1; }, - get$checked$x: function(receiver) { - return J.getInterceptor$x(receiver).get$checked(receiver); + Future_Future$error(error, stackTrace, $T) { + var t1; + A.checkNotNullable(error, "error", type$.Object); + $.Zone__current !== B.C__RootZone; + if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncCompleteError$2(error, stackTrace); + return t1; }, - get$classes$x: function(receiver) { - return J.getInterceptor$x(receiver).get$classes(receiver); + Future_Future$delayed(duration, computation, $T) { + var result = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + A.Timer_Timer(duration, new A.Future_Future$delayed_closure(computation, result, $T)); + return result; }, - get$componentStack$x: function(receiver) { - return J.getInterceptor$x(receiver).get$componentStack(receiver); + Future_wait(futures, $T) { + var error, stackTrace, handleError, future, pos, e, st, t1, t2, _i, t3, exception, _box_0 = {}, cleanUp = null, + eagerError = false, + _future = new A._Future($.Zone__current, $T._eval$1("_Future>")); + _box_0.values = null; + _box_0.remaining = 0; + error = A._Cell$named("error"); + stackTrace = A._Cell$named("stackTrace"); + handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace); + try { + for (t1 = futures.length, t2 = type$.Null, _i = 0, t3 = 0; _i < futures.length; futures.length === t1 || (0, A.throwConcurrentModificationError)(futures), ++_i) { + future = futures[_i]; + pos = t3; + J.then$1$2$onError$z(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2); + t3 = ++_box_0.remaining; + } + if (t3 === 0) { + t1 = _future; + t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>"))); + return t1; + } + _box_0.values = A.List_List$filled(t3, null, false, $T._eval$1("0?")); + } catch (exception) { + e = A.unwrapException(exception); + st = A.getTraceFromException(exception); + if (_box_0.remaining === 0 || A.boolConversionCheck(eagerError)) + return A.Future_Future$error(e, st, $T._eval$1("List<0>")); + else { + error._value = e; + stackTrace._value = st; + } + } + return _future; }, - get$ctrlKey$x: function(receiver) { - return J.getInterceptor$x(receiver).get$ctrlKey(receiver); + _completeWithErrorCallback(result, error, stackTrace) { + if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + result._completeError$2(error, stackTrace); }, - get$current$x: function(receiver) { - return J.getInterceptor$x(receiver).get$current(receiver); + _Future__chainCoreFuture(source, target) { + var t1, t2, listeners; + for (t1 = type$._Future_dynamic; t2 = source._state, (t2 & 4) !== 0;) + source = t1._as(source._resultOrListeners); + if ((t2 & 24) !== 0) { + listeners = target._removeListeners$0(); + target._cloneResult$1(source); + A._Future__propagateToListeners(target, listeners); + } else { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._state = target._state & 1 | 4; + target._resultOrListeners = source; + source._prependListeners$1(listeners); + } }, - get$currentTarget$x: function(receiver) { - return J.getInterceptor$x(receiver).get$currentTarget(receiver); - }, - get$dartComponent$x: function(receiver) { - return J.getInterceptor$x(receiver).get$dartComponent(receiver); - }, - get$dartComponentVersion$x: function(receiver) { - return J.getInterceptor$x(receiver).get$dartComponentVersion(receiver); - }, - get$defaultProps$x: function(receiver) { - return J.getInterceptor$x(receiver).get$defaultProps(receiver); - }, - get$displayName$x: function(receiver) { - return J.getInterceptor$x(receiver).get$displayName(receiver); - }, - get$entries$x: function(receiver) { - return J.getInterceptor$x(receiver).get$entries(receiver); - }, - get$first$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$first(receiver); - }, - get$hashCode$: function(receiver) { - return J.getInterceptor$(receiver).get$hashCode(receiver); - }, - get$hex$x: function(receiver) { - return J.getInterceptor$x(receiver).get$hex(receiver); - }, - get$innerHtml$x: function(receiver) { - return J.getInterceptor$x(receiver).get$innerHtml(receiver); - }, - get$isEmpty$asx: function(receiver) { - return J.getInterceptor$asx(receiver).get$isEmpty(receiver); - }, - get$isNotEmpty$asx: function(receiver) { - return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); - }, - get$iterator$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$iterator(receiver); - }, - get$keyCode$x: function(receiver) { - return J.getInterceptor$x(receiver).get$keyCode(receiver); - }, - get$keys$x: function(receiver) { - return J.getInterceptor$x(receiver).get$keys(receiver); - }, - get$last$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$last(receiver); - }, - get$length$asx: function(receiver) { - return J.getInterceptor$asx(receiver).get$length(receiver); - }, - get$message$x: function(receiver) { - return J.getInterceptor$x(receiver).get$message(receiver); - }, - get$metaKey$x: function(receiver) { - return J.getInterceptor$x(receiver).get$metaKey(receiver); - }, - get$nativeEvent$x: function(receiver) { - return J.getInterceptor$x(receiver).get$nativeEvent(receiver); - }, - get$nodeType$x: function(receiver) { - return J.getInterceptor$x(receiver).get$nodeType(receiver); - }, - get$offset$x: function(receiver) { - return J.getInterceptor$x(receiver).get$offset(receiver); - }, - get$onClick$x: function(receiver) { - return J.getInterceptor$x(receiver).get$onClick(receiver); - }, - get$onMouseDown$x: function(receiver) { - return J.getInterceptor$x(receiver).get$onMouseDown(receiver); - }, - get$onTouchStart$x: function(receiver) { - return J.getInterceptor$x(receiver).get$onTouchStart(receiver); - }, - get$props$x: function(receiver) { - return J.getInterceptor$x(receiver).get$props(receiver); - }, - get$reversed$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$reversed(receiver); - }, - get$runtimeType$: function(receiver) { - return J.getInterceptor$(receiver).get$runtimeType(receiver); - }, - get$setRequestHeader$x: function(receiver) { - return J.getInterceptor$x(receiver).get$setRequestHeader(receiver); - }, - get$shiftKey$x: function(receiver) { - return J.getInterceptor$x(receiver).get$shiftKey(receiver); - }, - get$single$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$single(receiver); - }, - get$source$z: function(receiver) { - return J.getInterceptor$z(receiver).get$source(receiver); - }, - get$target$x: function(receiver) { - return J.getInterceptor$x(receiver).get$target(receiver); - }, - get$type$x: function(receiver) { - return J.getInterceptor$x(receiver).get$type(receiver); - }, - get$value$x: function(receiver) { - return J.getInterceptor$x(receiver).get$value(receiver); - }, - get$values$x: function(receiver) { - return J.getInterceptor$x(receiver).get$values(receiver); - }, - get$which$x: function(receiver) { - return J.getInterceptor$x(receiver).get$which(receiver); - }, - $add$ansx: function(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver + a0; - return J.getInterceptor$ansx(receiver).$add(receiver, a0); - }, - $eq$: function(receiver, a0) { - if (receiver == null) - return a0 == null; - if (typeof receiver != "object") - return a0 != null && receiver === a0; - return J.getInterceptor$(receiver).$eq(receiver, a0); - }, - $index$asx: function(receiver, a0) { - if (typeof a0 === "number") - if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) - if (a0 >>> 0 === a0 && a0 < receiver.length) - return receiver[a0]; - return J.getInterceptor$asx(receiver).$index(receiver, a0); - }, - $indexSet$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); - }, - $sub$n: function(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver - a0; - return J.getInterceptor$n(receiver).$sub(receiver, a0); - }, - _clearChildren$0$x: function(receiver) { - return J.getInterceptor$x(receiver)._clearChildren$0(receiver); - }, - _codeUnitAt$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0); - }, - _initMouseEvent_1$15$x: function(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) { - return J.getInterceptor$x(receiver)._initMouseEvent_1$15(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); - }, - _replaceChild$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); - }, - add$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).add$1(receiver, a0); - }, - addAll$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); - }, - addEventListener$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); - }, - addEventListener$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); - }, - allMatches$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); - }, - allMatches$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); - }, - any$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).any$1(receiver, a0); - }, - asByteData$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1); - }, - asUint8List$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1); - }, - cast$1$0$ax: function(receiver, $T1) { - return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); - }, - cast$2$0$ax: function(receiver, $T1, $T2) { - return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); - }, - ceil$0$n: function(receiver) { - return J.getInterceptor$n(receiver).ceil$0(receiver); - }, - clear$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).clear$0(receiver); - }, - click$0$x: function(receiver) { - return J.getInterceptor$x(receiver).click$0(receiver); - }, - close$0$z: function(receiver) { - return J.getInterceptor$z(receiver).close$0(receiver); - }, - codeUnitAt$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); - }, - compareTo$1$ns: function(receiver, a0) { - return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); - }, - contains$1$asx: function(receiver, a0) { - return J.getInterceptor$asx(receiver).contains$1(receiver, a0); - }, - contains$2$asx: function(receiver, a0, a1) { - return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1); - }, - containsKey$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); - }, - drawImage$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).drawImage$3(receiver, a0, a1, a2); - }, - elementAt$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); - }, - endsWith$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); - }, - every$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).every$1(receiver, a0); - }, - expand$1$1$ax: function(receiver, a0, $T1) { - return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); - }, - fillRange$3$ax: function(receiver, a0, a1, a2) { - return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2); - }, - firstWhere$2$orElse$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).firstWhere$2$orElse(receiver, a0, a1); - }, - floor$0$n: function(receiver) { - return J.getInterceptor$n(receiver).floor$0(receiver); - }, - fold$1$2$ax: function(receiver, a0, a1, $T1) { - return J.getInterceptor$ax(receiver).fold$1$2(receiver, a0, a1, $T1); - }, - forEach$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); - }, - getBoundingClientRect$0$x: function(receiver) { - return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); - }, - getRange$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); - }, - getUint32$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1); - }, - indexOf$1$asx: function(receiver, a0) { - return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); - }, - indexOf$2$asx: function(receiver, a0, a1) { - return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); - }, - insert$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); - }, - insertAll$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); - }, - insertAllBefore$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); - }, - insertBefore$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).insertBefore$2(receiver, a0, a1); - }, - join$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).join$1(receiver, a0); - }, - map$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).map$1(receiver, a0); - }, - map$1$1$ax: function(receiver, a0, $T1) { - return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); - }, - map$2$1$ax: function(receiver, a0, $T1, $T2) { - return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); - }, - matchAsPrefix$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); - }, - matches$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).matches$1(receiver, a0); - }, - matchesWithAncestors$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); - }, - noSuchMethod$1$: function(receiver, a0) { - return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); - }, - postMessage$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); - }, - preventDefault$0$x: function(receiver) { - return J.getInterceptor$x(receiver).preventDefault$0(receiver); - }, - remove$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).remove$0(receiver); - }, - remove$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).remove$1(receiver, a0); - }, - removeAt$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); - }, - removeEventListener$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); - }, - removeEventListener$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); - }, - removeLast$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).removeLast$0(receiver); - }, - removeRange$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); - }, - removeWhere$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); - }, - replaceRange$3$asx: function(receiver, a0, a1, a2) { - return J.getInterceptor$asx(receiver).replaceRange$3(receiver, a0, a1, a2); - }, - replaceWith$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); - }, - round$0$n: function(receiver) { - return J.getInterceptor$n(receiver).round$0(receiver); - }, - send$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).send$1(receiver, a0); - }, - serializeToString$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).serializeToString$1(receiver, a0); - }, - setAll$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); - }, - setRange$3$ax: function(receiver, a0, a1, a2) { - return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); - }, - setRange$4$ax: function(receiver, a0, a1, a2, a3) { - return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); - }, - setSelectionRange$2$x: function(receiver, a0, a1) { - return J.getInterceptor$x(receiver).setSelectionRange$2(receiver, a0, a1); - }, - setState$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).setState$1(receiver, a0); - }, - setUint32$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).setUint32$3(receiver, a0, a1, a2); - }, - skip$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).skip$1(receiver, a0); - }, - sort$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).sort$0(receiver); - }, - sort$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).sort$1(receiver, a0); - }, - startsWith$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); - }, - stopPropagation$0$x: function(receiver) { - return J.getInterceptor$x(receiver).stopPropagation$0(receiver); - }, - sublist$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); - }, - sublist$2$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); - }, - substring$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).substring$1(receiver, a0); - }, - substring$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); - }, - take$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).take$1(receiver, a0); - }, - then$1$1$z: function(receiver, a0, $T1) { - return J.getInterceptor$z(receiver).then$1$1(receiver, a0, $T1); - }, - then$1$2$onError$z: function(receiver, a0, a1, $T1) { - return J.getInterceptor$z(receiver).then$1$2$onError(receiver, a0, a1, $T1); - }, - toBlob$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver).toBlob$1(receiver, a0); - }, - toInt$0$n: function(receiver) { - return J.getInterceptor$n(receiver).toInt$0(receiver); - }, - toList$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).toList$0(receiver); - }, - toList$1$growable$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); - }, - toLowerCase$0$s: function(receiver) { - return J.getInterceptor$s(receiver).toLowerCase$0(receiver); - }, - toRadixString$1$n: function(receiver, a0) { - return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); - }, - toSet$0$ax: function(receiver) { - return J.getInterceptor$ax(receiver).toSet$0(receiver); - }, - toString$0$: function(receiver) { - return J.getInterceptor$(receiver).toString$0(receiver); - }, - toStringAsFixed$1$n: function(receiver, a0) { - return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); - }, - trim$0$s: function(receiver) { - return J.getInterceptor$s(receiver).trim$0(receiver); - }, - where$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).where$1(receiver, a0); - }, - Interceptor: function Interceptor() { - }, - JSBool: function JSBool() { - }, - JSNull: function JSNull() { - }, - JavaScriptObject: function JavaScriptObject() { - }, - PlainJavaScriptObject: function PlainJavaScriptObject() { - }, - UnknownJavaScriptObject: function UnknownJavaScriptObject() { - }, - JavaScriptFunction: function JavaScriptFunction() { - }, - JSArray: function JSArray(t0) { - this.$ti = t0; - }, - JSUnmodifiableArray: function JSUnmodifiableArray(t0) { - this.$ti = t0; - }, - ArrayIterator: function ArrayIterator(t0, t1, t2) { - var _ = this; - _._iterable = t0; - _.__interceptors$_length = t1; - _._index = 0; - _.__interceptors$_current = null; - _.$ti = t2; - }, - JSNumber: function JSNumber() { - }, - JSInt: function JSInt() { - }, - JSNumNotInt: function JSNumNotInt() { - }, - JSString: function JSString() { - } - }, - P = { - _AsyncRun__initializeScheduleImmediate: function() { - var div, span, t1 = {}; - if (self.scheduleImmediate != null) - return P.async__AsyncRun__scheduleImmediateJsOverride$closure(); - if (self.MutationObserver != null && self.document != null) { - div = self.document.createElement("div"); - span = self.document.createElement("span"); - t1.storedCallback = null; - new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); - return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); - } else if (self.setImmediate != null) - return P.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); - return P.async__AsyncRun__scheduleImmediateWithTimer$closure(); - }, - _AsyncRun__scheduleImmediateJsOverride: function(callback) { - self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(type$.void_Function._as(callback)), 0)); - }, - _AsyncRun__scheduleImmediateWithSetImmediate: function(callback) { - self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type$.void_Function._as(callback)), 0)); - }, - _AsyncRun__scheduleImmediateWithTimer: function(callback) { - P.Timer__createTimer(C.Duration_0, type$.void_Function._as(callback)); - }, - Timer__createTimer: function(duration, callback) { - var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); - return P._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); - }, - Timer__createPeriodicTimer: function(duration, callback) { - var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); - return P._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); - }, - _TimerImpl$: function(milliseconds, callback) { - var t1 = new P._TimerImpl(true); - t1._TimerImpl$2(milliseconds, callback); - return t1; - }, - _TimerImpl$periodic: function(milliseconds, callback) { - var t1 = new P._TimerImpl(false); - t1._TimerImpl$periodic$2(milliseconds, callback); - return t1; - }, - _makeAsyncAwaitCompleter: function($T) { - return new P._AsyncAwaitCompleter(new P._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); - }, - _asyncStartSync: function(bodyFunction, completer) { - bodyFunction.call$2(0, null); - completer.isSync = true; - return completer._future; - }, - _asyncAwait: function(object, bodyFunction) { - P._awaitOnObject(object, bodyFunction); - }, - _asyncReturn: function(object, completer) { - completer.complete$1(0, object); - }, - _asyncRethrow: function(object, completer) { - completer.completeError$2(H.unwrapException(object), H.getTraceFromException(object)); - }, - _awaitOnObject: function(object, bodyFunction) { - var t1, future, - thenCallback = new P._awaitOnObject_closure(bodyFunction), - errorCallback = new P._awaitOnObject_closure0(bodyFunction); - if (object instanceof P._Future) - object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic); - else { - t1 = type$.dynamic; - if (type$.Future_dynamic._is(object)) - object.then$1$2$onError(0, thenCallback, errorCallback, t1); - else { - future = new P._Future($.Zone__current, type$._Future_dynamic); - future._async$_state = 4; - future._resultOrListeners = object; - future._thenAwait$1$2(thenCallback, errorCallback, t1); - } - } - }, - _wrapJsFunctionForAsync: function($function) { - var $protected = function(fn, ERROR) { - return function(errorCode, result) { - while (true) - try { - fn(errorCode, result); - break; - } catch (error) { - result = error; - errorCode = ERROR; - } - }; - }($function, 1); - return $.Zone__current.registerBinaryCallback$3$1(new P._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); - }, - _IterationMarker_yieldStar: function(values) { - return new P._IterationMarker(values, 1); - }, - _IterationMarker_endOfIteration: function() { - return C._IterationMarker_null_2; - }, - _IterationMarker_uncaughtError: function(error) { - return new P._IterationMarker(error, 3); - }, - _makeSyncStarIterable: function(body, $T) { - return new P._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>")); - }, - AsyncError$: function(error, stackTrace) { - var t1 = H.checkNotNullable(error, "error", type$.Object); - return new P.AsyncError(t1, stackTrace == null ? P.AsyncError_defaultStackTrace(error) : stackTrace); - }, - AsyncError_defaultStackTrace: function(error) { - var stackTrace; - if (type$.Error._is(error)) { - stackTrace = error.get$stackTrace(); - if (stackTrace != null) - return stackTrace; - } - return C.C__StringStackTrace; - }, - Future_Future: function(computation, $T) { - var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); - P.Timer_Timer(C.Duration_0, new P.Future_Future_closure(result, computation)); - return result; - }, - Future_Future$value: function(value, $T) { - var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); - t1._asyncComplete$1(value); - return t1; - }, - Future_Future$error: function(error, stackTrace, $T) { - var t1; - H.checkNotNullable(error, "error", type$.Object); - $.Zone__current !== C.C__RootZone; - if (stackTrace == null) - stackTrace = P.AsyncError_defaultStackTrace(error); - t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); - t1._asyncCompleteError$2(error, stackTrace); - return t1; - }, - Future_Future$delayed: function(duration, computation, $T) { - var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); - P.Timer_Timer(duration, new P.Future_Future$delayed_closure(computation, result, $T)); - return result; - }, - Future_wait: function(futures, $T) { - var _error_get, _error_set, _stackTrace_get, _stackTrace_set, handleError, future, pos, e, st, t1, t2, _i, t3, exception, _box_0 = {}, cleanUp = null, - eagerError = false, - _future = new P._Future($.Zone__current, $T._eval$1("_Future>")); - _box_0.values = null; - _box_0.remaining = 0; - _box_0._error = $; - _error_get = new P.Future_wait__error_get(_box_0); - _error_set = new P.Future_wait__error_set(_box_0); - _box_0._stackTrace = $; - _stackTrace_get = new P.Future_wait__stackTrace_get(_box_0); - _stackTrace_set = new P.Future_wait__stackTrace_set(_box_0); - handleError = new P.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, _error_set, _stackTrace_set, _error_get, _stackTrace_get); - try { - for (t1 = futures.length, t2 = type$.Null, _i = 0, t3 = 0; _i < futures.length; futures.length === t1 || (0, H.throwConcurrentModificationError)(futures), ++_i) { - future = futures[_i]; - pos = t3; - J.then$1$2$onError$z(future, new P.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, _error_get, _stackTrace_get, $T), handleError, t2); - t3 = ++_box_0.remaining; - } - if (t3 === 0) { - t1 = _future; - t1._completeWithValue$1(H.setRuntimeTypeInfo([], $T._eval$1("JSArray<0>"))); - return t1; - } - _box_0.values = P.List_List$filled(t3, null, false, $T._eval$1("0?")); - } catch (exception) { - e = H.unwrapException(exception); - st = H.getTraceFromException(exception); - if (_box_0.remaining === 0 || H.boolConversionCheck(eagerError)) - return P.Future_Future$error(e, st, $T._eval$1("List<0>")); - else { - _error_set.call$1(e); - _stackTrace_set.call$1(st); - } - } - return _future; - }, - _completeWithErrorCallback: function(result, error, stackTrace) { - if (stackTrace == null) - stackTrace = P.AsyncError_defaultStackTrace(error); - result._completeError$2(error, stackTrace); - }, - _Future__chainCoreFuture: function(source, target) { - var t1, t2, listeners; - for (t1 = type$._Future_dynamic; t2 = source._async$_state, t2 === 2;) - source = t1._as(source._resultOrListeners); - if (t2 >= 4) { - listeners = target._removeListeners$0(); - target._async$_state = source._async$_state; - target._resultOrListeners = source._resultOrListeners; - P._Future__propagateToListeners(target, listeners); - } else { - listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); - target._async$_state = 2; - target._resultOrListeners = source; - source._prependListeners$1(listeners); - } - }, - _Future__propagateToListeners: function(source, listeners) { - var t2, t3, t4, _box_0, hasError, asyncError, nextListener, nextListener0, t5, sourceResult, t6, t7, zone, oldZone, result, current, _null = null, _box_1 = {}, + _Future__propagateToListeners(source, listeners) { + var t2, t3, t4, _box_0, t5, t6, hasError, asyncError, nextListener, nextListener0, sourceResult, t7, zone, oldZone, result, current, _box_1 = {}, t1 = _box_1.source = source; for (t2 = type$.AsyncError, t3 = type$.nullable__FutureListener_dynamic_dynamic, t4 = type$.Future_dynamic; true;) { _box_0 = {}; - hasError = t1._async$_state === 8; + t5 = t1._state; + t6 = (t5 & 16) === 0; + hasError = !t6; if (listeners == null) { - if (hasError) { + if (hasError && (t5 & 1) === 0) { asyncError = t2._as(t1._resultOrListeners); - P._rootHandleUncaughtError(_null, _null, t1._zone, asyncError.error, asyncError.stackTrace); + A._rootHandleError(asyncError.error, asyncError.stackTrace); } return; } @@ -4755,7 +4012,7 @@ nextListener = listeners._nextListener; for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { t1._nextListener = null; - P._Future__propagateToListeners(_box_1.source, t1); + A._Future__propagateToListeners(_box_1.source, t1); _box_0.listener = nextListener; nextListener0 = nextListener._nextListener; } @@ -4763,7 +4020,6 @@ sourceResult = t5._resultOrListeners; _box_0.listenerHasError = hasError; _box_0.listenerValueOrError = sourceResult; - t6 = !hasError; if (t6) { t7 = t1.state; t7 = (t7 & 1) !== 0 || (t7 & 15) === 8; @@ -4772,28 +4028,28 @@ if (t7) { zone = t1.result._zone; if (hasError) { - t7 = t5._zone === zone; - t7 = !(t7 || t7); + t5 = t5._zone === zone; + t5 = !(t5 || t5); } else - t7 = false; - if (t7) { + t5 = false; + if (t5) { t2._as(sourceResult); - P._rootHandleUncaughtError(_null, _null, t5._zone, sourceResult.error, sourceResult.stackTrace); + A._rootHandleError(sourceResult.error, sourceResult.stackTrace); return; } oldZone = $.Zone__current; if (oldZone !== zone) $.Zone__current = zone; else - oldZone = _null; + oldZone = null; t1 = t1.state; if ((t1 & 15) === 8) - new P._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); + new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); else if (t6) { if ((t1 & 1) !== 0) - new P._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); + new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); } else if ((t1 & 2) !== 0) - new P._Future__propagateToListeners_handleError(_box_1, _box_0).call$0(); + new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0(); if (oldZone != null) $.Zone__current = oldZone; t1 = _box_0.listenerValueOrError; @@ -4805,17 +4061,17 @@ if (t5) { t4._as(t1); result = _box_0.listener.result; - if (t1 instanceof P._Future) - if (t1._async$_state >= 4) { + if (t1 instanceof A._Future) + if ((t1._state & 24) !== 0) { current = t3._as(result._resultOrListeners); result._resultOrListeners = null; listeners = result._reverseListeners$1(current); - result._async$_state = t1._async$_state; + result._state = t1._state & 30 | result._state & 1; result._resultOrListeners = t1._resultOrListeners; _box_1.source = t1; continue; } else - P._Future__chainCoreFuture(t1, result); + A._Future__chainCoreFuture(t1, result); else result._chainForeignFuture$1(t1); return; @@ -4829,27 +4085,27 @@ t5 = _box_0.listenerValueOrError; if (!t1) { result.$ti._precomputed1._as(t5); - result._async$_state = 4; + result._state = 8; result._resultOrListeners = t5; } else { t2._as(t5); - result._async$_state = 8; + result._state = result._state & 1 | 16; result._resultOrListeners = t5; } _box_1.source = result; t1 = result; } }, - _registerErrorHandler: function(errorHandler, zone) { + _registerErrorHandler(errorHandler, zone) { var t1; if (type$.dynamic_Function_Object_StackTrace._is(errorHandler)) return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace); t1 = type$.dynamic_Function_Object; if (t1._is(errorHandler)) return t1._as(errorHandler); - throw H.wrapException(P.ArgumentError$value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a valid result")); + throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_)); }, - _microtaskLoop: function() { + _microtaskLoop() { var entry, next; for (entry = $._nextCallback; entry != null; entry = $._nextCallback) { $._lastPriorityCallback = null; @@ -4860,36 +4116,36 @@ entry.callback.call$0(); } }, - _startMicrotaskLoop: function() { + _startMicrotaskLoop() { $._isInCallbackLoop = true; try { - P._microtaskLoop(); + A._microtaskLoop(); } finally { $._lastPriorityCallback = null; $._isInCallbackLoop = false; if ($._nextCallback != null) - $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); } }, - _scheduleAsyncCallback: function(callback) { - var newEntry = new P._AsyncCallbackEntry(callback), + _scheduleAsyncCallback(callback) { + var newEntry = new A._AsyncCallbackEntry(callback), lastCallback = $._lastCallback; if (lastCallback == null) { $._nextCallback = $._lastCallback = newEntry; if (!$._isInCallbackLoop) - $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); } else $._lastCallback = lastCallback.next = newEntry; }, - _schedulePriorityAsyncCallback: function(callback) { + _schedulePriorityAsyncCallback(callback) { var entry, lastPriorityCallback, next, t1 = $._nextCallback; if (t1 == null) { - P._scheduleAsyncCallback(callback); + A._scheduleAsyncCallback(callback); $._lastPriorityCallback = $._lastCallback; return; } - entry = new P._AsyncCallbackEntry(callback); + entry = new A._AsyncCallbackEntry(callback); lastPriorityCallback = $._lastPriorityCallback; if (lastPriorityCallback == null) { entry.next = t1; @@ -4902,110 +4158,116 @@ $._lastCallback = entry; } }, - scheduleMicrotask: function(callback) { - var _null = null, + scheduleMicrotask(callback) { + var t1, _null = null, currentZone = $.Zone__current; - if (C.C__RootZone === currentZone) { - P._rootScheduleMicrotask(_null, _null, C.C__RootZone, callback); + if (B.C__RootZone === currentZone) { + A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback); return; } - P._rootScheduleMicrotask(_null, _null, currentZone, type$.void_Function._as(currentZone.bindCallbackGuarded$1(callback))); + t1 = false; + if (t1) { + A._rootScheduleMicrotask(_null, _null, currentZone, type$.void_Function._as(callback)); + return; + } + A._rootScheduleMicrotask(_null, _null, currentZone, type$.void_Function._as(currentZone.bindCallbackGuarded$1(callback))); }, - Stream_Stream$fromIterable: function(elements, $T) { - return new P._GeneratedStreamImpl(new P.Stream_Stream$fromIterable_closure(elements, $T), $T._eval$1("_GeneratedStreamImpl<0>")); + Stream_Stream$value(value, $T) { + var _null = null, + t1 = $T._eval$1("_AsyncStreamController<0>"), + t2 = new A._AsyncStreamController(_null, _null, _null, _null, t1); + t2._async$_add$1(0, value); + t2._closeUnchecked$0(); + return new A._ControllerStream(t2, t1._eval$1("_ControllerStream<1>")); }, - StreamIterator_StreamIterator: function(stream, $T) { - H.checkNotNullable(stream, "stream", type$.Object); - return new P._StreamIterator($T._eval$1("_StreamIterator<0>")); + StreamIterator_StreamIterator(stream, $T) { + A.checkNotNullable(stream, "stream", type$.Object); + return new A._StreamIterator($T._eval$1("_StreamIterator<0>")); }, - StreamController_StreamController$broadcast: function(onCancel, sync, $T) { - return sync ? new P._SyncBroadcastStreamController(null, onCancel, $T._eval$1("_SyncBroadcastStreamController<0>")) : new P._AsyncBroadcastStreamController(null, onCancel, $T._eval$1("_AsyncBroadcastStreamController<0>")); + StreamController_StreamController$broadcast(onCancel, sync, $T) { + return sync ? new A._SyncBroadcastStreamController(null, onCancel, $T._eval$1("_SyncBroadcastStreamController<0>")) : new A._AsyncBroadcastStreamController(null, onCancel, $T._eval$1("_AsyncBroadcastStreamController<0>")); }, - _runGuarded: function(notificationHandler) { + _runGuarded(notificationHandler) { var e, s, exception; if (notificationHandler == null) return; try { notificationHandler.call$0(); } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(null, null, $.Zone__current, e, type$.StackTrace._as(s)); + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(e, type$.StackTrace._as(s)); } }, - _ControllerSubscription$: function(_controller, onData, onError, onDone, cancelOnError, $T) { - var t1 = $.Zone__current, - t2 = cancelOnError ? 1 : 0, - t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), - t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), - t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; - return new P._ControllerSubscription(_controller, t3, t4, type$.void_Function._as(t5), t1, t2, $T._eval$1("_ControllerSubscription<0>")); - }, - _BufferingStreamSubscription$: function(onData, onError, onDone, cancelOnError, $T) { + _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 0, - t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), - t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), - t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; - return new P._BufferingStreamSubscription(t3, t4, type$.void_Function._as(t5), t1, t2, $T._eval$1("_BufferingStreamSubscription<0>")); + t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + return new A._ControllerSubscription(_controller, t3, t4, type$.void_Function._as(t5), t1, t2, $T._eval$1("_ControllerSubscription<0>")); }, - _BufferingStreamSubscription__registerDataHandler: function(zone, handleData, $T) { - var t1 = handleData == null ? P.async___nullDataHandler$closure() : handleData; + _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) { + var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData; return type$.$env_1_1_void._bind$1($T)._eval$1("1(2)")._as(t1); }, - _BufferingStreamSubscription__registerErrorHandler: function(zone, handleError) { + _BufferingStreamSubscription__registerErrorHandler(zone, handleError) { if (handleError == null) - handleError = P.async___nullErrorHandler$closure(); + handleError = A.async___nullErrorHandler$closure(); if (type$.void_Function_Object_StackTrace._is(handleError)) return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); if (type$.void_Function_Object._is(handleError)) return type$.dynamic_Function_Object._as(handleError); - throw H.wrapException(P.ArgumentError$(string$.handle)); + throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null)); }, - _nullDataHandler: function(value) { + _nullDataHandler(value) { }, - _nullErrorHandler: function(error, stackTrace) { - type$.StackTrace._as(stackTrace); - P._rootHandleUncaughtError(null, null, $.Zone__current, error, stackTrace); + _nullErrorHandler(error, stackTrace) { + A._rootHandleError(error, type$.StackTrace._as(stackTrace)); + }, + _nullDoneHandler() { }, - _nullDoneHandler: function() { + _DoneStreamSubscription$(_onDone, $T) { + var t1 = new A._DoneStreamSubscription($.Zone__current, _onDone, $T._eval$1("_DoneStreamSubscription<0>")); + t1._schedule$0(); + return t1; }, - _cancelAndValue: function(subscription, future, value) { + _cancelAndValue(subscription, future, value) { var cancelFuture = subscription.cancel$0(0); if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) - cancelFuture.whenComplete$1(new P._cancelAndValue_closure(future, value)); + cancelFuture.whenComplete$1(new A._cancelAndValue_closure(future, value)); else future._complete$1(value); }, - _ForwardingStreamSubscription$: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { + _ForwardingStreamSubscription$(_stream, onData, onError, onDone, cancelOnError, $S, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 0, - t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), - t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), - t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; - t2 = new P._ForwardingStreamSubscription(_stream, t3, t4, type$.void_Function._as(t5), t1, t2, $S._eval$1("@<0>")._bind$1($T)._eval$1("_ForwardingStreamSubscription<1,2>")); + t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + t2 = new A._ForwardingStreamSubscription(_stream, t3, t4, type$.void_Function._as(t5), t1, t2, $S._eval$1("@<0>")._bind$1($T)._eval$1("_ForwardingStreamSubscription<1,2>")); t2._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, cancelOnError, $S, $T); return t2; }, - _addErrorWithReplacement: function(sink, error, stackTrace) { + _addErrorWithReplacement(sink, error, stackTrace) { sink._addError$2(error, stackTrace); }, - Timer_Timer: function(duration, callback) { + Timer_Timer(duration, callback) { var t1 = $.Zone__current; - if (t1 === C.C__RootZone) - return P.Timer__createTimer(duration, type$.void_Function._as(callback)); - return P.Timer__createTimer(duration, type$.void_Function._as(t1.bindCallbackGuarded$1(callback))); + if (t1 === B.C__RootZone) + return A.Timer__createTimer(duration, type$.void_Function._as(callback)); + return A.Timer__createTimer(duration, type$.void_Function._as(t1.bindCallbackGuarded$1(callback))); }, - Timer_Timer$periodic: function(duration, callback) { + Timer_Timer$periodic(duration, callback) { var t1 = $.Zone__current; - if (t1 === C.C__RootZone) - return P.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(callback)); - return P.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer))); + if (t1 === B.C__RootZone) + return A.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(callback)); + return A.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer))); }, - _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { - P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(error, stackTrace)); + _rootHandleError(error, stackTrace) { + A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace)); }, - _rootRun: function($self, $parent, zone, f, $R) { + _rootRun($self, $parent, zone, f, $R) { var old, t1 = $.Zone__current; if (t1 === zone) @@ -5019,7 +4281,7 @@ $.Zone__current = old; } }, - _rootRunUnary: function($self, $parent, zone, f, arg, $R, $T) { + _rootRunUnary($self, $parent, zone, f, arg, $R, $T) { var old, t1 = $.Zone__current; if (t1 === zone) @@ -5033,7 +4295,7 @@ $.Zone__current = old; } }, - _rootRunBinary: function($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { + _rootRunBinary($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { var old, t1 = $.Zone__current; if (t1 === zone) @@ -5047,11 +4309,11 @@ $.Zone__current = old; } }, - _rootScheduleMicrotask: function($self, $parent, zone, f) { + _rootScheduleMicrotask($self, $parent, zone, f) { type$.void_Function._as(f); - if (C.C__RootZone !== zone) + if (B.C__RootZone !== zone) f = zone.bindCallbackGuarded$1(f); - P._scheduleAsyncCallback(f); + A._scheduleAsyncCallback(f); }, _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) { this._box_0 = t0; @@ -5128,7 +4390,7 @@ _._onError = t2; _._onDone = t3; _._zone = t4; - _._async$_state = t5; + _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, @@ -5138,8 +4400,8 @@ var _ = this; _.onListen = t0; _.onCancel = t1; - _._async$_state = 0; - _._addStreamState = _._lastSubscription = _._firstSubscription = null; + _._state = 0; + _._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null; _.$ti = t2; }, _SyncBroadcastStreamController__sendData_closure: function _SyncBroadcastStreamController__sendData_closure(t0, t1) { @@ -5150,8 +4412,8 @@ var _ = this; _.onListen = t0; _.onCancel = t1; - _._async$_state = 0; - _._addStreamState = _._lastSubscription = _._firstSubscription = null; + _._state = 0; + _._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null; _.$ti = t2; }, Future_Future_closure: function Future_Future_closure(t0, t1) { @@ -5163,28 +4425,14 @@ this.result = t1; this.T = t2; }, - Future_wait__error_set: function Future_wait__error_set(t0) { - this._box_0 = t0; - }, - Future_wait__stackTrace_set: function Future_wait__stackTrace_set(t0) { - this._box_0 = t0; - }, - Future_wait__error_get: function Future_wait__error_get(t0) { - this._box_0 = t0; - }, - Future_wait__stackTrace_get: function Future_wait__stackTrace_get(t0) { - this._box_0 = t0; - }, - Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5, t6, t7) { + Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.cleanUp = t1; _.eagerError = t2; _._future = t3; - _._error_set = t4; - _._stackTrace_set = t5; - _._error_get = t6; - _._stackTrace_get = t7; + _.error = t4; + _.stackTrace = t5; }, Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; @@ -5193,8 +4441,8 @@ _._future = t2; _.cleanUp = t3; _.eagerError = t4; - _._error_get = t5; - _._stackTrace_get = t6; + _.error = t5; + _.stackTrace = t6; _.T = t7; }, _Completer: function _Completer() { @@ -5218,7 +4466,7 @@ }, _Future: function _Future(t0, t1) { var _ = this; - _._async$_state = 0; + _._state = 0; _._zone = t0; _._resultOrListeners = null; _.$ti = t1; @@ -5277,10 +4525,6 @@ }, Stream: function Stream() { }, - Stream_Stream$fromIterable_closure: function Stream_Stream$fromIterable_closure(t0, t1) { - this.elements = t0; - this.T = t1; - }, Stream_length_closure: function Stream_length_closure(t0, t1) { this._box_0 = t0; this.$this = t1; @@ -5311,12 +4555,13 @@ _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) { this.$this = t0; }, - _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() { + _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() { }, - _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) { + _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) { var _ = this; _._varData = null; - _._async$_state = 0; + _._state = 0; + _._doneFuture = null; _.onListen = t0; _.onPause = t1; _.onResume = t2; @@ -5334,19 +4579,11 @@ _._onError = t2; _._onDone = t3; _._zone = t4; - _._async$_state = t5; + _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, - _BufferingStreamSubscription: function _BufferingStreamSubscription(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._async$_onData = t0; - _._onError = t1; - _._onDone = t2; - _._zone = t3; - _._async$_state = t4; - _._pending = _._cancelFuture = null; - _.$ti = t5; + _BufferingStreamSubscription: function _BufferingStreamSubscription() { }, _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) { this.$this = t0; @@ -5358,16 +4595,6 @@ }, _StreamImpl: function _StreamImpl() { }, - _GeneratedStreamImpl: function _GeneratedStreamImpl(t0, t1) { - this._pending = t0; - this._isUsed = false; - this.$ti = t1; - }, - _IterablePendingEvents: function _IterablePendingEvents(t0, t1) { - this._async$_iterator = t0; - this._async$_state = 0; - this.$ti = t1; - }, _DelayedEvent: function _DelayedEvent() { }, _DelayedData: function _DelayedData(t0, t1) { @@ -5382,28 +4609,29 @@ }, _DelayedDone: function _DelayedDone() { }, - _PendingEvents: function _PendingEvents() { + _PendingEvents: function _PendingEvents(t0) { + var _ = this; + _._state = 0; + _.lastPendingEvent = _.firstPendingEvent = null; + _.$ti = t0; }, _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { this.$this = t0; this.dispatch = t1; }, - _StreamImplEvents: function _StreamImplEvents(t0) { - var _ = this; - _.lastPendingEvent = _.firstPendingEvent = null; - _._async$_state = 0; - _.$ti = t0; - }, _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { var _ = this; _._zone = t0; - _._async$_state = 0; + _._state = 0; _._onDone = t1; _.$ti = t2; }, _StreamIterator: function _StreamIterator(t0) { this.$ti = t0; }, + _EmptyStream: function _EmptyStream(t0) { + this.$ti = t0; + }, _cancelAndValue_closure: function _cancelAndValue_closure(t0, t1) { this.future = t0; this.value = t1; @@ -5418,7 +4646,7 @@ _._onError = t2; _._onDone = t3; _._zone = t4; - _._async$_state = t5; + _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, @@ -5429,7 +4657,7 @@ }, _Zone: function _Zone() { }, - _rootHandleUncaughtError_closure: function _rootHandleUncaughtError_closure(t0, t1) { + _rootHandleError_closure: function _rootHandleError_closure(t0, t1) { this.error = t0; this.stackTrace = t1; }, @@ -5444,148 +4672,156 @@ this.f = t1; this.T = t2; }, - HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { + HashMap_HashMap(equals, hashCode, isValidKey, $K, $V) { if (isValidKey == null) if (hashCode == null) { if (equals == null) - return new P._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); - hashCode = P.collection___defaultHashCode$closure(); + return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); + hashCode = A.collection___defaultHashCode$closure(); } else { - if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals) - return new P._IdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_IdentityHashMap<1,2>")); + if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals) + return new A._IdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_IdentityHashMap<1,2>")); if (equals == null) - equals = P.collection___defaultEquals$closure(); + equals = A.collection___defaultEquals$closure(); } else { if (hashCode == null) - hashCode = P.collection___defaultHashCode$closure(); + hashCode = A.collection___defaultHashCode$closure(); if (equals == null) - equals = P.collection___defaultEquals$closure(); + equals = A.collection___defaultEquals$closure(); } - return P._CustomHashMap$(equals, hashCode, isValidKey, $K, $V); + return A._CustomHashMap$(equals, hashCode, isValidKey, $K, $V); }, - _HashMap__getTableEntry: function(table, key) { + _HashMap__getTableEntry(table, key) { var entry = table[key]; return entry === table ? null : entry; }, - _HashMap__setTableEntry: function(table, key, value) { + _HashMap__setTableEntry(table, key, value) { if (value == null) table[key] = table; else table[key] = value; }, - _HashMap__newHashTable: function() { + _HashMap__newHashTable() { var table = Object.create(null); - P._HashMap__setTableEntry(table, "", table); + A._HashMap__setTableEntry(table, "", table); delete table[""]; return table; }, - _CustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) { - var t1 = validKey != null ? validKey : new P._CustomHashMap_closure($K); - return new P._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>")); + _CustomHashMap$(_equals, _hashCode, validKey, $K, $V) { + var t1 = validKey != null ? validKey : new A._CustomHashMap_closure($K); + return new A._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>")); }, - LinkedHashMap_LinkedHashMap: function(equals, hashCode, $K, $V) { - if (hashCode == null) { - if (equals == null) - return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); - hashCode = P.collection___defaultHashCode$closure(); - } else { - if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals) - return new P._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>")); + LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) { + if (isValidKey == null) + if (hashCode == null) { + if (equals == null) + return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); + hashCode = A.collection___defaultHashCode$closure(); + } else { + if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals) + return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>")); + if (equals == null) + equals = A.collection___defaultEquals$closure(); + } + else { + if (hashCode == null) + hashCode = A.collection___defaultHashCode$closure(); if (equals == null) - equals = P.collection___defaultEquals$closure(); + equals = A.collection___defaultEquals$closure(); } - return P._LinkedCustomHashMap$(equals, hashCode, null, $K, $V); + return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V); }, - LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { - return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(H.fillLiteralMap(keyValuePairs, new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); + LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) { + return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); }, - LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { - return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); + LinkedHashMap_LinkedHashMap$_empty($K, $V) { + return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); }, - _LinkedCustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) { - return new P._LinkedCustomHashMap(_equals, _hashCode, new P._LinkedCustomHashMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>")); + _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) { + var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K); + return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>")); }, - HashSet_HashSet: function($E) { - return new P._HashSet($E._eval$1("_HashSet<0>")); + HashSet_HashSet($E) { + return new A._HashSet($E._eval$1("_HashSet<0>")); }, - _HashSet__newHashTable: function() { + _HashSet__newHashTable() { var table = Object.create(null); table[""] = table; delete table[""]; return table; }, - LinkedHashSet_LinkedHashSet: function($E) { - return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); + LinkedHashSet_LinkedHashSet($E) { + return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); }, - LinkedHashSet_LinkedHashSet$_empty: function($E) { - return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); + LinkedHashSet_LinkedHashSet$_empty($E) { + return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); }, - LinkedHashSet_LinkedHashSet$_literal: function(values, $E) { - return $E._eval$1("LinkedHashSet<0>")._as(H.fillLiteralSet(values, new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")))); + LinkedHashSet_LinkedHashSet$_literal(values, $E) { + return $E._eval$1("LinkedHashSet<0>")._as(A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")))); }, - _LinkedHashSet__newHashTable: function() { + _LinkedHashSet__newHashTable() { var table = Object.create(null); table[""] = table; delete table[""]; return table; }, - _LinkedHashSetIterator$: function(_set, _modifications, $E) { - var t1 = new P._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); + _LinkedHashSetIterator$(_set, _modifications, $E) { + var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); t1._collection$_cell = _set._collection$_first; return t1; }, - _defaultEquals: function(a, b) { + _defaultEquals(a, b) { return J.$eq$(a, b); }, - _defaultHashCode: function(a) { + _defaultHashCode(a) { return J.get$hashCode$(a); }, - IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDelimiter) { + IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { var parts, t1; - if (P._isToStringVisiting(iterable)) { + if (A._isToStringVisiting(iterable)) { if (leftDelimiter === "(" && rightDelimiter === ")") return "(...)"; return leftDelimiter + "..." + rightDelimiter; } - parts = H.setRuntimeTypeInfo([], type$.JSArray_String); - C.JSArray_methods.add$1($._toStringVisiting, iterable); + parts = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.add$1($._toStringVisiting, iterable); try { - P._iterablePartsToStrings(iterable, parts); + A._iterablePartsToStrings(iterable, parts); } finally { if (0 >= $._toStringVisiting.length) - return H.ioore($._toStringVisiting, -1); + return A.ioore($._toStringVisiting, -1); $._toStringVisiting.pop(); } - t1 = P.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; + t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) { + IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { var buffer, t1; - if (P._isToStringVisiting(iterable)) + if (A._isToStringVisiting(iterable)) return leftDelimiter + "..." + rightDelimiter; - buffer = new P.StringBuffer(leftDelimiter); - C.JSArray_methods.add$1($._toStringVisiting, iterable); + buffer = new A.StringBuffer(leftDelimiter); + B.JSArray_methods.add$1($._toStringVisiting, iterable); try { t1 = buffer; - t1._contents = P.StringBuffer__writeAll(t1._contents, iterable, ", "); + t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); } finally { if (0 >= $._toStringVisiting.length) - return H.ioore($._toStringVisiting, -1); + return A.ioore($._toStringVisiting, -1); $._toStringVisiting.pop(); } buffer._contents += rightDelimiter; t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _isToStringVisiting: function(o) { + _isToStringVisiting(o) { var t1, i; for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) if (o === $._toStringVisiting[i]) return true; return false; }, - _iterablePartsToStrings: function(iterable, parts) { + _iterablePartsToStrings(iterable, parts) { var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision, it = iterable.get$iterator(iterable), $length = 0, count = 0; @@ -5594,8 +4830,8 @@ break; if (!it.moveNext$0()) return; - next = H.S(it.get$current(it)); - C.JSArray_methods.add$1(parts, next); + next = A.S(it.get$current(it)); + B.JSArray_methods.add$1(parts, next); $length += next.length + 2; ++count; } @@ -5603,22 +4839,22 @@ if (count <= 5) return; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); ultimateString = parts.pop(); if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); penultimateString = parts.pop(); } else { penultimate = it.get$current(it); ++count; if (!it.moveNext$0()) { if (count <= 4) { - C.JSArray_methods.add$1(parts, H.S(penultimate)); + B.JSArray_methods.add$1(parts, A.S(penultimate)); return; } - ultimateString = H.S(penultimate); + ultimateString = A.S(penultimate); if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); penultimateString = parts.pop(); $length += ultimateString.length + 2; } else { @@ -5632,16 +4868,16 @@ if (!($length > 75 && count > 3)) break; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); $length -= parts.pop().length + 2; --count; } - C.JSArray_methods.add$1(parts, "..."); + B.JSArray_methods.add$1(parts, "..."); return; } } - penultimateString = H.S(penultimate); - ultimateString = H.S(ultimate); + penultimateString = A.S(penultimate); + ultimateString = A.S(ultimate); $length += ultimateString.length + penultimateString.length + 4; } } @@ -5654,7 +4890,7 @@ if (!($length > 80 && parts.length > 3)) break; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); $length -= parts.pop().length + 2; if (elision == null) { $length += 5; @@ -5662,94 +4898,94 @@ } } if (elision != null) - C.JSArray_methods.add$1(parts, elision); - C.JSArray_methods.add$1(parts, penultimateString); - C.JSArray_methods.add$1(parts, ultimateString); + B.JSArray_methods.add$1(parts, elision); + B.JSArray_methods.add$1(parts, penultimateString); + B.JSArray_methods.add$1(parts, ultimateString); }, - LinkedHashMap_LinkedHashMap$from: function(other, $K, $V) { - var result = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); - J.forEach$1$ax(other, new P.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); + LinkedHashMap_LinkedHashMap$from(other, $K, $V) { + var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); + J.forEach$1$ax(other, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); return result; }, - LinkedHashMap_LinkedHashMap$of: function(other, $K, $V) { - var t1 = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); + LinkedHashMap_LinkedHashMap$of(other, $K, $V) { + var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); t1.addAll$1(0, other); return t1; }, - LinkedHashMap_LinkedHashMap$fromIterable: function(iterable, key, value, $K, $V) { - var map = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); - P.MapBase__fillMapWithMappedIterable(map, iterable, key, value); + LinkedHashMap_LinkedHashMap$fromIterable(iterable, key, value, $K, $V) { + var map = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); + A.MapBase__fillMapWithMappedIterable(map, iterable, key, value); return map; }, - LinkedHashSet_LinkedHashSet$from: function(elements, $E) { + LinkedHashSet_LinkedHashSet$from(elements, $E) { var t1, - result = P.LinkedHashSet_LinkedHashSet($E); + result = A.LinkedHashSet_LinkedHashSet($E); for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) result.add$1(0, $E._as(t1.get$current(t1))); return result; }, - LinkedHashSet_LinkedHashSet$of: function(elements, $E) { - var t1 = P.LinkedHashSet_LinkedHashSet($E); + LinkedHashSet_LinkedHashSet$of(elements, $E) { + var t1 = A.LinkedHashSet_LinkedHashSet($E); t1.addAll$1(0, elements); return t1; }, - ListMixin__compareAny: function(a, b) { + ListMixin__compareAny(a, b) { var t1 = type$.Comparable_dynamic; return J.compareTo$1$ns(t1._as(a), t1._as(b)); }, - MapBase_mapToString: function(m) { + MapBase_mapToString(m) { var result, t1 = {}; - if (P._isToStringVisiting(m)) + if (A._isToStringVisiting(m)) return "{...}"; - result = new P.StringBuffer(""); + result = new A.StringBuffer(""); try { - C.JSArray_methods.add$1($._toStringVisiting, m); + B.JSArray_methods.add$1($._toStringVisiting, m); result._contents += "{"; t1.first = true; - J.forEach$1$ax(m, new P.MapBase_mapToString_closure(t1, result)); + J.forEach$1$ax(m, new A.MapBase_mapToString_closure(t1, result)); result._contents += "}"; } finally { if (0 >= $._toStringVisiting.length) - return H.ioore($._toStringVisiting, -1); + return A.ioore($._toStringVisiting, -1); $._toStringVisiting.pop(); } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - MapBase__fillMapWithMappedIterable: function(map, iterable, key, value) { + MapBase__fillMapWithMappedIterable(map, iterable, key, value) { var t1, element; - for (t1 = J.get$iterator$ax(iterable._list); t1.moveNext$0();) { - element = t1.get$current(t1); + for (t1 = iterable._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + element = t1.__interceptors$_current; map.$indexSet(0, key.call$1(element), value.call$1(element)); } }, - ListQueue$: function(initialCapacity, $E) { - return new P.ListQueue(P.List_List$filled(P.ListQueue__calculateCapacity(initialCapacity), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>")); + ListQueue$(initialCapacity, $E) { + return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(initialCapacity), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>")); }, - ListQueue__calculateCapacity: function(initialCapacity) { + ListQueue__calculateCapacity(initialCapacity) { if (initialCapacity == null || initialCapacity < 8) return 8; else { if (typeof initialCapacity !== "number") return initialCapacity.$sub(); if ((initialCapacity & initialCapacity - 1) >>> 0 !== 0) - return P.ListQueue__nextPowerOf2(initialCapacity); + return A.ListQueue__nextPowerOf2(initialCapacity); } return initialCapacity; }, - ListQueue_ListQueue$from: function(elements, $E) { + ListQueue_ListQueue$from(elements, $E) { var queue, i, t1 = J.getInterceptor$asx(elements), $length = t1.get$length(elements); if (typeof $length !== "number") return $length.$add(); - queue = P.ListQueue$($length + 1, $E); + queue = A.ListQueue$($length + 1, $E); for (i = 0; i < $length; ++i) - C.JSArray_methods.$indexSet(queue._table, i, $E._as(t1.$index(elements, i))); + B.JSArray_methods.$indexSet(queue._table, i, $E._as(t1.$index(elements, i))); queue._tail = $length; return queue; }, - ListQueue__nextPowerOf2: function(number) { + ListQueue__nextPowerOf2(number) { var nextNumber; number = (number << 1 >>> 0) - 1; for (; true; number = nextNumber) { @@ -5758,8 +4994,8 @@ return number; } }, - _UnmodifiableSetMixin__throwUnmodifiable: function() { - throw H.wrapException(P.UnsupportedError$("Cannot change an unmodifiable set")); + _UnmodifiableSetMixin__throwUnmodifiable() { + throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set")); }, _HashMap: function _HashMap(t0) { var _ = this; @@ -5802,7 +5038,7 @@ }, _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) { var _ = this; - _.__js_helper$_length = 0; + _._length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; @@ -5812,7 +5048,7 @@ _._equals = t0; _._collection$_hashCode = t1; _._validKey = t2; - _.__js_helper$_length = 0; + _._length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t3; @@ -5875,6 +5111,9 @@ }, MapMixin: function MapMixin() { }, + MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) { + this.$this = t0; + }, MapMixin_entries_closure: function MapMixin_entries_closure(t0) { this.$this = t0; }, @@ -5934,41 +5173,41 @@ }, __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() { }, - _parseJson: function(source, reviver) { + _parseJson(source, reviver) { var parsed, e, exception, t1; if (typeof source != "string") - throw H.wrapException(H.argumentErrorValue(source)); + throw A.wrapException(A.argumentErrorValue(source)); parsed = null; try { parsed = JSON.parse(source); } catch (exception) { - e = H.unwrapException(exception); - t1 = P.FormatException$(String(e), null, null); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.FormatException$(String(e), null, null); + throw A.wrapException(t1); } - t1 = P._convertJsonToDartLazy(parsed); + t1 = A._convertJsonToDartLazy(parsed); return t1; }, - _convertJsonToDartLazy: function(object) { + _convertJsonToDartLazy(object) { var i; if (object == null) return null; if (typeof object != "object") return object; if (Object.getPrototypeOf(object) !== Array.prototype) - return new P._JsonMap(object, Object.create(null)); + return new A._JsonMap(object, Object.create(null)); for (i = 0; i < object.length; ++i) - object[i] = P._convertJsonToDartLazy(object[i]); + object[i] = A._convertJsonToDartLazy(object[i]); return object; }, - Utf8Decoder__convertIntercepted: function(allowMalformed, codeUnits, start, end) { + Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) { var casted, result; if (codeUnits instanceof Uint8Array) { casted = codeUnits; end = casted.length; if (end - start < 15) return null; - result = P.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); + result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); if (result != null && allowMalformed) if (result.indexOf("\ufffd") >= 0) return null; @@ -5976,33 +5215,32 @@ } return null; }, - Utf8Decoder__convertInterceptedUint8List: function(allowMalformed, codeUnits, start, end) { + Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder(); if (decoder == null) return null; if (0 === start && end === codeUnits.length) - return P.Utf8Decoder__useTextDecoder(decoder, codeUnits); - return P.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, P.RangeError_checkValidRange(start, end, codeUnits.length))); + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits); + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length))); }, - Utf8Decoder__useTextDecoder: function(decoder, codeUnits) { + Utf8Decoder__useTextDecoder(decoder, codeUnits) { var t1, exception; try { t1 = decoder.decode(codeUnits); return t1; } catch (exception) { - H.unwrapException(exception); } return null; }, - Base64Codec__checkPadding: function(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { - if (C.JSInt_methods.$mod($length, 4) !== 0) - throw H.wrapException(P.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); + Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { + if (B.JSInt_methods.$mod($length, 4) !== 0) + throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); if (firstPadding + paddingCount !== $length) - throw H.wrapException(P.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); if (paddingCount > 2) - throw H.wrapException(P.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); }, - _Base64Encoder_encodeChunk: function(alphabet, bytes, start, end, isLast, output, outputIndex, state) { + _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { var t1, t2, i, byteOr, byte, outputIndex0, t3, outputIndex1, bits = state >>> 2, expectedChars = 3 - (state & 3); @@ -6013,24 +5251,24 @@ --expectedChars; if (expectedChars === 0) { outputIndex0 = outputIndex + 1; - t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63); - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = t3; outputIndex = outputIndex0 + 1; - t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63); - if (outputIndex0 >= t2) - return H.ioore(output, outputIndex0); + t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63); + if (!(outputIndex0 < t2)) + return A.ioore(output, outputIndex0); output[outputIndex0] = t3; outputIndex0 = outputIndex + 1; - t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63); - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = t3; outputIndex = outputIndex0 + 1; - t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits & 63); - if (outputIndex0 >= t2) - return H.ioore(output, outputIndex0); + t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63); + if (!(outputIndex0 < t2)) + return A.ioore(output, outputIndex0); output[outputIndex0] = t3; bits = 0; expectedChars = 3; @@ -6041,37 +5279,37 @@ outputIndex0 = outputIndex + 1; outputIndex1 = outputIndex0 + 1; if (3 - expectedChars === 1) { - t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63); - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = t1; - t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63); - if (outputIndex0 >= t2) - return H.ioore(output, outputIndex0); + t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63); + if (!(outputIndex0 < t2)) + return A.ioore(output, outputIndex0); output[outputIndex0] = t1; outputIndex = outputIndex1 + 1; - if (outputIndex1 >= t2) - return H.ioore(output, outputIndex1); + if (!(outputIndex1 < t2)) + return A.ioore(output, outputIndex1); output[outputIndex1] = 61; - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = 61; } else { - t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63); - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = t1; - t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63); - if (outputIndex0 >= t2) - return H.ioore(output, outputIndex0); + t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63); + if (!(outputIndex0 < t2)) + return A.ioore(output, outputIndex0); output[outputIndex0] = t1; outputIndex = outputIndex1 + 1; - t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63); - if (outputIndex1 >= t2) - return H.ioore(output, outputIndex1); + t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63); + if (!(outputIndex1 < t2)) + return A.ioore(output, outputIndex1); output[outputIndex1] = t1; - if (outputIndex >= t2) - return H.ioore(output, outputIndex); + if (!(outputIndex < t2)) + return A.ioore(output, outputIndex); output[outputIndex] = 61; } return 0; @@ -6084,21 +5322,25 @@ break; ++i; } - throw H.wrapException(P.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + C.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null)); + throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + B.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null)); }, - _Base64Decoder_decodeChunk: function(input, start, end, output, outIndex, state) { + _Base64Decoder_decodeChunk(input, start, end, output, outIndex, state) { var i, charOr, char, t1, code, outIndex0, expectedPadding, _s31_ = "Invalid encoding before padding", _s17_ = "Invalid character", - bits = C.JSInt_methods._shrOtherPositive$1(state, 2), + bits = B.JSInt_methods._shrOtherPositive$1(state, 2), count = state & 3, inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (i = start, charOr = 0; i < end; ++i) { - char = C.JSString_methods._codeUnitAt$1(input, i); + if (typeof end !== "number") + return A.iae(end); + i = start; + charOr = 0; + for (; i < end; ++i) { + char = B.JSString_methods._codeUnitAt$1(input, i); charOr |= char; t1 = char & 127; - if (t1 >= inverseAlphabet.length) - return H.ioore(inverseAlphabet, t1); + if (!(t1 < inverseAlphabet.length)) + return A.ioore(inverseAlphabet, t1); code = inverseAlphabet[t1]; if (code >= 0) { bits = (bits << 6 | code) & 16777215; @@ -6106,16 +5348,16 @@ if (count === 0) { outIndex0 = outIndex + 1; t1 = output.length; - if (outIndex >= t1) - return H.ioore(output, outIndex); + if (!(outIndex < t1)) + return A.ioore(output, outIndex); output[outIndex] = bits >>> 16 & 255; outIndex = outIndex0 + 1; - if (outIndex0 >= t1) - return H.ioore(output, outIndex0); + if (!(outIndex0 < t1)) + return A.ioore(output, outIndex0); output[outIndex0] = bits >>> 8 & 255; outIndex0 = outIndex + 1; - if (outIndex >= t1) - return H.ioore(output, outIndex); + if (!(outIndex < t1)) + return A.ioore(output, outIndex); output[outIndex] = bits & 255; outIndex = outIndex0; bits = 0; @@ -6126,60 +5368,71 @@ break; if (count === 3) { if ((bits & 3) !== 0) - throw H.wrapException(P.FormatException$(_s31_, input, i)); + throw A.wrapException(A.FormatException$(_s31_, input, i)); outIndex0 = outIndex + 1; t1 = output.length; - if (outIndex >= t1) - return H.ioore(output, outIndex); + if (!(outIndex < t1)) + return A.ioore(output, outIndex); output[outIndex] = bits >>> 10; - if (outIndex0 >= t1) - return H.ioore(output, outIndex0); + if (!(outIndex0 < t1)) + return A.ioore(output, outIndex0); output[outIndex0] = bits >>> 2; } else { if ((bits & 15) !== 0) - throw H.wrapException(P.FormatException$(_s31_, input, i)); - if (outIndex >= output.length) - return H.ioore(output, outIndex); + throw A.wrapException(A.FormatException$(_s31_, input, i)); + if (!(outIndex < output.length)) + return A.ioore(output, outIndex); output[outIndex] = bits >>> 4; } expectedPadding = (3 - count) * 3; if (char === 37) expectedPadding += 2; - return P._Base64Decoder__checkPadding(input, i + 1, end, -expectedPadding - 1); + return A._Base64Decoder__checkPadding(input, i + 1, end, -expectedPadding - 1); } - throw H.wrapException(P.FormatException$(_s17_, input, i)); + throw A.wrapException(A.FormatException$(_s17_, input, i)); } if (charOr >= 0 && charOr <= 127) return (bits << 2 | count) >>> 0; for (i = start; i < end; ++i) { - char = C.JSString_methods._codeUnitAt$1(input, i); + char = B.JSString_methods._codeUnitAt$1(input, i); if (char > 127) break; } - throw H.wrapException(P.FormatException$(_s17_, input, i)); - }, - _Base64Decoder__allocateBuffer: function(input, start, end, state) { - var paddingStart = P._Base64Decoder__trimPaddingChars(input, start, end), - $length = (state & 3) + (paddingStart - start), - bufferLength = C.JSInt_methods._shrOtherPositive$1($length, 2) * 3, - remainderLength = $length & 3; - if (remainderLength !== 0 && paddingStart < end) + throw A.wrapException(A.FormatException$(_s17_, input, i)); + }, + _Base64Decoder__allocateBuffer(input, start, end, state) { + var $length, bufferLength, remainderLength, t1, + paddingStart = A._Base64Decoder__trimPaddingChars(input, start, end); + if (typeof paddingStart !== "number") + return paddingStart.$sub(); + $length = (state & 3) + (paddingStart - start); + bufferLength = B.JSInt_methods._shrOtherPositive$1($length, 2) * 3; + remainderLength = $length & 3; + if (remainderLength !== 0) { + if (typeof end !== "number") + return A.iae(end); + t1 = paddingStart < end; + } else + t1 = false; + if (t1) bufferLength += remainderLength - 1; if (bufferLength > 0) return new Uint8Array(bufferLength); return $.$get$_Base64Decoder__emptyBuffer(); }, - _Base64Decoder__trimPaddingChars: function(input, start, end) { + _Base64Decoder__trimPaddingChars(input, start, end) { var char, newEnd = end, index = newEnd, padding = 0; while (true) { + if (typeof index !== "number") + return index.$gt(); if (!(index > start && padding < 2)) break; c$0: { --index; - char = C.JSString_methods.codeUnitAt$1(input, index); + char = B.JSString_methods.codeUnitAt$1(input, index); if (char === 61) { ++padding; newEnd = index; @@ -6189,13 +5442,13 @@ if (index === start) break; --index; - char = C.JSString_methods.codeUnitAt$1(input, index); + char = B.JSString_methods.codeUnitAt$1(input, index); } if (char === 51) { if (index === start) break; --index; - char = C.JSString_methods.codeUnitAt$1(input, index); + char = B.JSString_methods.codeUnitAt$1(input, index); } if (char === 37) { ++padding; @@ -6207,13 +5460,13 @@ } return newEnd; }, - _Base64Decoder__checkPadding: function(input, start, end, state) { + _Base64Decoder__checkPadding(input, start, end, state) { var expectedPadding, char; if (start === end) return state; expectedPadding = -state - 1; for (; expectedPadding > 0;) { - char = C.JSString_methods._codeUnitAt$1(input, start); + char = B.JSString_methods._codeUnitAt$1(input, start); if (expectedPadding === 3) { if (char === 61) { expectedPadding -= 3; @@ -6225,7 +5478,7 @@ ++start; if (start === end) break; - char = C.JSString_methods._codeUnitAt$1(input, start); + char = B.JSString_methods._codeUnitAt$1(input, start); } else break; } @@ -6236,7 +5489,7 @@ --expectedPadding; if (start === end) break; - char = C.JSString_methods._codeUnitAt$1(input, start); + char = B.JSString_methods._codeUnitAt$1(input, start); } if ((char | 32) !== 100) break; @@ -6246,38 +5499,38 @@ break; } if (start !== end) - throw H.wrapException(P.FormatException$("Invalid padding character", input, start)); + throw A.wrapException(A.FormatException$("Invalid padding character", input, start)); return -expectedPadding - 1; }, - Encoding_getByName: function($name) { + Encoding_getByName($name) { if ($name == null) return null; - return $.Encoding__nameToEncoding.$index(0, $name.toLowerCase()); + return $.$get$Encoding__nameToEncoding().$index(0, $name.toLowerCase()); }, - JsonUnsupportedObjectError$: function(unsupportedObject, cause, partialResult) { - return new P.JsonUnsupportedObjectError(unsupportedObject, cause); + JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) { + return new A.JsonUnsupportedObjectError(unsupportedObject, cause); }, - _defaultToEncodable: function(object) { + _defaultToEncodable(object) { return object.toJson$0(); }, - _JsonStringStringifier$: function(_sink, _toEncodable) { - var t1 = _toEncodable == null ? P.convert___defaultToEncodable$closure() : _toEncodable; - return new P._JsonStringStringifier(_sink, [], t1); + _JsonStringStringifier$(_sink, _toEncodable) { + var t1 = _toEncodable == null ? A.convert___defaultToEncodable$closure() : _toEncodable; + return new A._JsonStringStringifier(_sink, [], t1); }, - _JsonStringStringifier_stringify: function(object, toEncodable, indent) { + _JsonStringStringifier_stringify(object, toEncodable, indent) { var stringifier, t1, - output = new P.StringBuffer(""); + output = new A.StringBuffer(""); if (indent == null) - stringifier = P._JsonStringStringifier$(output, toEncodable); + stringifier = A._JsonStringStringifier$(output, toEncodable); else { - t1 = toEncodable == null ? P.convert___defaultToEncodable$closure() : toEncodable; - stringifier = new P._JsonStringStringifierPretty(indent, 0, output, [], t1); + t1 = toEncodable == null ? A.convert___defaultToEncodable$closure() : toEncodable; + stringifier = new A._JsonStringStringifierPretty(indent, 0, output, [], t1); } stringifier.writeObject$1(object); t1 = output._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Utf8Decoder_errorDescription: function(state) { + _Utf8Decoder_errorDescription(state) { switch (state) { case 65: return "Missing extension byte"; @@ -6297,7 +5550,7 @@ return ""; } }, - _Utf8Decoder__makeUint8List: function(codeUnits, start, end) { + _Utf8Decoder__makeUint8List(codeUnits, start, end) { var $length, bytes, t1, i, b; if (typeof end !== "number") return end.$sub(); @@ -6309,8 +5562,8 @@ return b.$and(); if ((b & 4294967040) >>> 0 !== 0) b = 255; - if (i >= $length) - return H.ioore(bytes, i); + if (!(i < $length)) + return A.ioore(bytes, i); bytes[i] = b; } return bytes; @@ -6446,46 +5699,48 @@ }, __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin: function __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin() { }, - identityHashCode: function(object) { - return H.objectHashCode(object); + identityHashCode(object) { + return A.objectHashCode(object); }, - Function_apply: function($function, positionalArguments) { - return H.Primitives_applyFunction($function, positionalArguments, null); + Function_apply($function, positionalArguments) { + return A.Primitives_applyFunction($function, positionalArguments, null); }, - Expando$: function($name, $T) { - var t1; - if (typeof WeakMap == "function") - t1 = new WeakMap(); - else { - t1 = $.Expando__keyCount; - $.Expando__keyCount = t1 + 1; - t1 = "expando$key$" + t1; - } - return new P.Expando(t1, $name, $T._eval$1("Expando<0>")); + Expando$($name, $T) { + return new A.Expando(new WeakMap(), $name, $T._eval$1("Expando<0>")); }, - int_parse: function(source, radix) { - var value = H.Primitives_parseInt(source, radix); + Expando__checkType(object) { + if (object == null || A._isBool(object) || typeof object == "number" || typeof object == "string") + throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null)); + }, + int_parse(source, radix) { + var value = A.Primitives_parseInt(source, radix); if (value != null) return value; - throw H.wrapException(P.FormatException$(source, null, null)); + throw A.wrapException(A.FormatException$(source, null, null)); }, - Error__objectToString: function(object) { - if (object instanceof H.Closure) + Error__objectToString(object) { + if (object instanceof A.Closure) return object.toString$0(0); - return "Instance of '" + H.S(H.Primitives_objectTypeName(object)) + "'"; + return "Instance of '" + A.S(A.Primitives_objectTypeName(object)) + "'"; + }, + Error__throw(error, stackTrace) { + error = A.wrapException(error); + error.stack = J.toString$0$(stackTrace); + throw error; + throw A.wrapException("unreachable"); }, - DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) { + DateTime$fromMillisecondsSinceEpoch(millisecondsSinceEpoch, isUtc) { var t1; if (Math.abs(millisecondsSinceEpoch) <= 864e13) t1 = false; else t1 = true; if (t1) - H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch)); - H.checkNotNullable(isUtc, "isUtc", type$.bool); - return new P.DateTime(millisecondsSinceEpoch, isUtc); + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch, null)); + A.checkNotNullable(isUtc, "isUtc", type$.bool); + return new A.DateTime(millisecondsSinceEpoch, isUtc); }, - List_List$filled: function($length, fill, growable, $E) { + List_List$filled($length, fill, growable, $E) { var i, result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E); if ($length !== 0 && fill != null) @@ -6493,66 +5748,66 @@ result[i] = fill; return result; }, - List_List$from: function(elements, growable, $E) { + List_List$from(elements, growable, $E) { var t1, - list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")); + list = A._setArrayType([], $E._eval$1("JSArray<0>")); for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) - C.JSArray_methods.add$1(list, $E._as(t1.get$current(t1))); + B.JSArray_methods.add$1(list, $E._as(t1.get$current(t1))); if (growable) return list; return J.JSArray_markFixedList(list, $E); }, - List_List$of: function(elements, growable, $E) { + List_List$of(elements, growable, $E) { var t1; if (growable) - return P.List_List$_of(elements, $E); - t1 = J.JSArray_markFixedList(P.List_List$_of(elements, $E), $E); + return A.List_List$_of(elements, $E); + t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E), $E); return t1; }, - List_List$_of: function(elements, $E) { + List_List$_of(elements, $E) { var list, t1; if (Array.isArray(elements)) - return H.setRuntimeTypeInfo(elements.slice(0), $E._eval$1("JSArray<0>")); - list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")); + return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>")); + list = A._setArrayType([], $E._eval$1("JSArray<0>")); for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) - C.JSArray_methods.add$1(list, t1.get$current(t1)); + B.JSArray_methods.add$1(list, t1.get$current(t1)); return list; }, - List_List$unmodifiable: function(elements, $E) { - return J.JSArray_markUnmodifiableList(P.List_List$from(elements, false, $E)); + List_List$unmodifiable(elements, $E) { + return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E)); }, - String_String$fromCharCodes: function(charCodes, start, end) { + String_String$fromCharCodes(charCodes, start, end) { var array, len, t1; if (Array.isArray(charCodes)) { array = charCodes; len = array.length; - end = P.RangeError_checkValidRange(start, end, len); + end = A.RangeError_checkValidRange(start, end, len); if (start <= 0) { if (typeof end !== "number") return end.$lt(); t1 = end < len; } else t1 = true; - return H.Primitives_stringFromCharCodes(t1 ? array.slice(start, end) : array); + return A.Primitives_stringFromCharCodes(t1 ? array.slice(start, end) : array); } if (type$.NativeUint8List._is(charCodes)) - return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeError_checkValidRange(start, end, charCodes.length)); - return P.String__stringFromIterable(charCodes, start, end); + return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length)); + return A.String__stringFromIterable(charCodes, start, end); }, - String_String$fromCharCode: function(charCode) { - return H.Primitives_stringFromCharCode(charCode); + String_String$fromCharCode(charCode) { + return A.Primitives_stringFromCharCode(charCode); }, - String__stringFromIterable: function(charCodes, start, end) { + String__stringFromIterable(charCodes, start, end) { var t1, it, i, list, _null = null; if (start < 0) - throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); + throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); t1 = end == null; if (!t1 && end < start) - throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); + throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); it = J.get$iterator$ax(charCodes); for (i = 0; i < start; ++i) if (!it.moveNext$0()) - throw H.wrapException(P.RangeError$range(start, 0, i, _null, _null)); + throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null)); list = []; if (t1) for (; it.moveNext$0();) @@ -6560,54 +5815,53 @@ else for (i = start; i < end; ++i) { if (!it.moveNext$0()) - throw H.wrapException(P.RangeError$range(end, start, i, _null, _null)); + throw A.wrapException(A.RangeError$range(end, start, i, _null, _null)); list.push(it.get$current(it)); } - return H.Primitives_stringFromCharCodes(list); + return A.Primitives_stringFromCharCodes(list); }, - RegExp_RegExp: function(source, caseSensitive) { - return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, false, caseSensitive, false, false, false)); + RegExp_RegExp(source, caseSensitive) { + return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, false, caseSensitive, false, false, false)); }, - identical: function(a, b) { + identical(a, b) { return a == null ? b == null : a === b; }, - StringBuffer__writeAll: function(string, objects, separator) { + StringBuffer__writeAll(string, objects, separator) { var iterator = J.get$iterator$ax(objects); if (!iterator.moveNext$0()) return string; if (separator.length === 0) { do - string += H.S(iterator.get$current(iterator)); + string += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { - string += H.S(iterator.get$current(iterator)); + string += A.S(iterator.get$current(iterator)); for (; iterator.moveNext$0();) - string = string + separator + H.S(iterator.get$current(iterator)); + string = string + separator + A.S(iterator.get$current(iterator)); } return string; }, - NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments) { - return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments); + NoSuchMethodError$_(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames) { + return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames); }, - Uri_base: function() { - var uri = H.Primitives_currentUri(); + Uri_base() { + var uri = A.Primitives_currentUri(); if (uri != null) - return P.Uri_parse(uri); - throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported")); + return A.Uri_parse(uri); + throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); }, - StackTrace_current: function() { + StackTrace_current() { var stackTrace, exception; - if (H.boolConversionCheck($.$get$_hasErrorStackProperty())) - return H.getTraceFromException(new Error()); + if (A.boolConversionCheck($.$get$_hasErrorStackProperty())) + return A.getTraceFromException(new Error()); try { - throw H.wrapException(""); + throw A.wrapException(""); } catch (exception) { - H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); + stackTrace = A.getTraceFromException(exception); return stackTrace; } }, - _BigIntImpl__parseDecimal: function(source, isNegative) { + _BigIntImpl__parseDecimal(source, isNegative) { var part, i, result = $.$get$_BigIntImpl_zero(), t1 = source.length, @@ -6615,10 +5869,10 @@ if (digitInPartCount === 4) digitInPartCount = 0; for (part = 0, i = 0; i < t1; ++i) { - part = part * 10 + C.JSString_methods._codeUnitAt$1(source, i) - 48; + part = part * 10 + B.JSString_methods._codeUnitAt$1(source, i) - 48; ++digitInPartCount; if (digitInPartCount === 4) { - result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, P._BigIntImpl__BigIntImpl$_fromInt(part)); + result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, A._BigIntImpl__BigIntImpl$_fromInt(part)); part = 0; digitInPartCount = 0; } @@ -6627,55 +5881,55 @@ return result.$negate(0); return result; }, - _BigIntImpl__codeUnitToRadixValue: function(codeUnit) { + _BigIntImpl__codeUnitToRadixValue(codeUnit) { if (48 <= codeUnit && codeUnit <= 57) return codeUnit - 48; return (codeUnit | 32) - 97 + 10; }, - _BigIntImpl__parseHex: function(source, startPos, isNegative) { - var t3, i, chunk, j, i0, digitValue, digitIndex, digitIndex0, + _BigIntImpl__parseHex(source, startPos, isNegative) { + var i, chunk, j, i0, digitValue, digitIndex, digitIndex0, t1 = source.length, sourceLength = t1 - startPos, - chunkCount = C.JSNumber_methods.ceil$0(sourceLength / 4), + chunkCount = B.JSNumber_methods.ceil$0(sourceLength / 4), digits = new Uint16Array(chunkCount), t2 = chunkCount - 1, lastDigitLength = sourceLength - t2 * 4; - for (t3 = J.getInterceptor$s(source), i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) { + for (i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) { i0 = i + 1; - digitValue = P._BigIntImpl__codeUnitToRadixValue(t3._codeUnitAt$1(source, i)); + digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; } digitIndex = t2 - 1; - if (t2 < 0 || t2 >= chunkCount) - return H.ioore(digits, t2); + if (!(t2 >= 0 && t2 < chunkCount)) + return A.ioore(digits, t2); digits[t2] = chunk; for (; i < t1; digitIndex = digitIndex0) { for (chunk = 0, j = 0; j < 4; ++j, i = i0) { i0 = i + 1; - digitValue = P._BigIntImpl__codeUnitToRadixValue(C.JSString_methods._codeUnitAt$1(source, i)); + digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; } digitIndex0 = digitIndex - 1; - if (digitIndex < 0 || digitIndex >= chunkCount) - return H.ioore(digits, digitIndex); + if (!(digitIndex >= 0 && digitIndex < chunkCount)) + return A.ioore(digits, digitIndex); digits[digitIndex] = chunk; } if (chunkCount === 1) { if (0 >= chunkCount) - return H.ioore(digits, 0); + return A.ioore(digits, 0); t1 = digits[0] === 0; } else t1 = false; if (t1) return $.$get$_BigIntImpl_zero(); - t1 = P._BigIntImpl__normalize(chunkCount, digits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + t1 = A._BigIntImpl__normalize(chunkCount, digits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); }, - _BigIntImpl__tryParse: function(source, radix) { + _BigIntImpl__tryParse(source, radix) { var match, t1, t2, isNegative, decimalMatch, hexMatch; if (source === "") return null; @@ -6685,21 +5939,21 @@ t1 = match._match; t2 = t1.length; if (1 >= t2) - return H.ioore(t1, 1); + return A.ioore(t1, 1); isNegative = t1[1] === "-"; if (4 >= t2) - return H.ioore(t1, 4); + return A.ioore(t1, 4); decimalMatch = t1[4]; hexMatch = t1[3]; if (5 >= t2) - return H.ioore(t1, 5); + return A.ioore(t1, 5); if (decimalMatch != null) - return P._BigIntImpl__parseDecimal(decimalMatch, isNegative); + return A._BigIntImpl__parseDecimal(decimalMatch, isNegative); if (hexMatch != null) - return P._BigIntImpl__parseHex(hexMatch, 2, isNegative); + return A._BigIntImpl__parseHex(hexMatch, 2, isNegative); return null; }, - _BigIntImpl__normalize: function(used, digits) { + _BigIntImpl__normalize(used, digits) { var t2, t1 = digits.length; while (true) { @@ -6707,8 +5961,8 @@ return used.$gt(); if (used > 0) { t2 = used - 1; - if (t2 >= t1) - return H.ioore(digits, t2); + if (!(t2 < t1)) + return A.ioore(digits, t2); t2 = digits[t2] === 0; } else t2 = false; @@ -6718,65 +5972,65 @@ } return used; }, - _BigIntImpl__cloneDigits: function(digits, from, to, $length) { + _BigIntImpl__cloneDigits(digits, from, to, $length) { var resultDigits, n, t1, i, t2; - if (!H._isInt($length)) - H.throwExpression(P.ArgumentError$("Invalid length " + H.S($length))); + if (!A._isInt($length)) + A.throwExpression(A.ArgumentError$("Invalid length " + A.S($length), null)); resultDigits = new Uint16Array($length); if (typeof to !== "number") return to.$sub(); if (typeof from !== "number") - return H.iae(from); + return A.iae(from); n = to - from; for (t1 = resultDigits.length, i = 0; i < n; ++i) { t2 = from + i; - if (t2 < 0 || t2 >= digits.length) - return H.ioore(digits, t2); + if (!(t2 >= 0 && t2 < digits.length)) + return A.ioore(digits, t2); t2 = digits[t2]; - if (i >= t1) - return H.ioore(resultDigits, i); + if (!(i < t1)) + return A.ioore(resultDigits, i); resultDigits[i] = t2; } return resultDigits; }, - _BigIntImpl__BigIntImpl$_fromInt: function(value) { + _BigIntImpl__BigIntImpl$_fromInt(value) { var digits, t1, i, i0, isNegative = value < 0; if (isNegative) { if (value === -9223372036854776e3) { digits = new Uint16Array(4); digits[3] = 32768; - t1 = P._BigIntImpl__normalize(4, digits); - return new P._BigIntImpl(t1 !== 0 || false, digits, t1); + t1 = A._BigIntImpl__normalize(4, digits); + return new A._BigIntImpl(t1 !== 0 || false, digits, t1); } value = -value; } if (value < 65536) { digits = new Uint16Array(1); digits[0] = value; - t1 = P._BigIntImpl__normalize(1, digits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + t1 = A._BigIntImpl__normalize(1, digits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); } if (value <= 4294967295) { digits = new Uint16Array(2); digits[0] = value & 65535; - digits[1] = C.JSInt_methods._shrOtherPositive$1(value, 16); - t1 = P._BigIntImpl__normalize(2, digits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + digits[1] = B.JSInt_methods._shrOtherPositive$1(value, 16); + t1 = A._BigIntImpl__normalize(2, digits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); } - t1 = C.JSInt_methods._tdivFast$1(C.JSInt_methods.get$bitLength(value) - 1, 16) + 1; + t1 = B.JSInt_methods._tdivFast$1(B.JSInt_methods.get$bitLength(value) - 1, 16) + 1; digits = new Uint16Array(t1); for (i = 0; value !== 0; i = i0) { i0 = i + 1; - if (i >= t1) - return H.ioore(digits, i); + if (!(i < t1)) + return A.ioore(digits, i); digits[i] = value & 65535; - value = C.JSInt_methods._tdivFast$1(value, 65536); + value = B.JSInt_methods._tdivFast$1(value, 65536); } - t1 = P._BigIntImpl__normalize(t1, digits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + t1 = A._BigIntImpl__normalize(t1, digits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); }, - _BigIntImpl__dlShiftDigits: function(xDigits, xUsed, n, resultDigits) { + _BigIntImpl__dlShiftDigits(xDigits, xUsed, n, resultDigits) { var i, t1, t2, t3, t4; if (xUsed === 0) return 0; @@ -6784,252 +6038,252 @@ return xUsed; for (i = xUsed - 1, t1 = xDigits.length, t2 = resultDigits.length; i >= 0; --i) { t3 = i + n; - if (i >= t1) - return H.ioore(xDigits, i); + if (!(i < t1)) + return A.ioore(xDigits, i); t4 = xDigits[i]; - if (t3 < 0 || t3 >= t2) - return H.ioore(resultDigits, t3); + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(resultDigits, t3); resultDigits[t3] = t4; } for (i = n - 1; i >= 0; --i) { - if (i >= t2) - return H.ioore(resultDigits, i); + if (!(i < t2)) + return A.ioore(resultDigits, i); resultDigits[i] = 0; } return xUsed + n; }, - _BigIntImpl__lsh: function(xDigits, xUsed, n, resultDigits) { + _BigIntImpl__lsh(xDigits, xUsed, n, resultDigits) { var i, t1, t2, carry, digit, t3, t4, - digitShift = C.JSInt_methods._tdivFast$1(n, 16), - bitShift = C.JSInt_methods.$mod(n, 16), + digitShift = B.JSInt_methods._tdivFast$1(n, 16), + bitShift = B.JSInt_methods.$mod(n, 16), carryBitShift = 16 - bitShift, - bitMask = C.JSInt_methods.$shl(1, carryBitShift) - 1; + bitMask = B.JSInt_methods.$shl(1, carryBitShift) - 1; for (i = xUsed - 1, t1 = xDigits.length, t2 = resultDigits.length, carry = 0; i >= 0; --i) { - if (i >= t1) - return H.ioore(xDigits, i); + if (!(i < t1)) + return A.ioore(xDigits, i); digit = xDigits[i]; t3 = i + digitShift + 1; - t4 = C.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift); - if (t3 < 0 || t3 >= t2) - return H.ioore(resultDigits, t3); + t4 = B.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift); + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(resultDigits, t3); resultDigits[t3] = (t4 | carry) >>> 0; - carry = C.JSInt_methods.$shl(digit & bitMask, bitShift); + carry = B.JSInt_methods.$shl(digit & bitMask, bitShift); } - if (digitShift < 0 || digitShift >= t2) - return H.ioore(resultDigits, digitShift); + if (!(digitShift >= 0 && digitShift < t2)) + return A.ioore(resultDigits, digitShift); resultDigits[digitShift] = carry; }, - _BigIntImpl__lShiftDigits: function(xDigits, xUsed, n, resultDigits) { + _BigIntImpl__lShiftDigits(xDigits, xUsed, n, resultDigits) { var resultUsed, t1, i, t2, - digitsShift = C.JSInt_methods._tdivFast$1(n, 16); - if (C.JSInt_methods.$mod(n, 16) === 0) - return P._BigIntImpl__dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); + digitsShift = B.JSInt_methods._tdivFast$1(n, 16); + if (B.JSInt_methods.$mod(n, 16) === 0) + return A._BigIntImpl__dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); resultUsed = xUsed + digitsShift + 1; - P._BigIntImpl__lsh(xDigits, xUsed, n, resultDigits); + A._BigIntImpl__lsh(xDigits, xUsed, n, resultDigits); for (t1 = resultDigits.length, i = digitsShift; --i, i >= 0;) { - if (i >= t1) - return H.ioore(resultDigits, i); + if (!(i < t1)) + return A.ioore(resultDigits, i); resultDigits[i] = 0; } t2 = resultUsed - 1; - if (t2 < 0 || t2 >= t1) - return H.ioore(resultDigits, t2); + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(resultDigits, t2); if (resultDigits[t2] === 0) resultUsed = t2; return resultUsed; }, - _BigIntImpl__rsh: function(xDigits, xUsed, n, resultDigits) { + _BigIntImpl__rsh(xDigits, xUsed, n, resultDigits) { var carry, last, t2, i, t3, digit, - digitsShift = C.JSInt_methods._tdivFast$1(n, 16), - bitShift = C.JSInt_methods.$mod(n, 16), + digitsShift = B.JSInt_methods._tdivFast$1(n, 16), + bitShift = B.JSInt_methods.$mod(n, 16), carryBitShift = 16 - bitShift, - bitMask = C.JSInt_methods.$shl(1, bitShift) - 1, + bitMask = B.JSInt_methods.$shl(1, bitShift) - 1, t1 = xDigits.length; - if (digitsShift < 0 || digitsShift >= t1) - return H.ioore(xDigits, digitsShift); - carry = C.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift); + if (!(digitsShift >= 0 && digitsShift < t1)) + return A.ioore(xDigits, digitsShift); + carry = B.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift); last = xUsed - digitsShift - 1; for (t2 = resultDigits.length, i = 0; i < last; ++i) { t3 = i + digitsShift + 1; - if (t3 >= t1) - return H.ioore(xDigits, t3); + if (!(t3 < t1)) + return A.ioore(xDigits, t3); digit = xDigits[t3]; - t3 = C.JSInt_methods.$shl(digit & bitMask, carryBitShift); - if (i >= t2) - return H.ioore(resultDigits, i); + t3 = B.JSInt_methods.$shl(digit & bitMask, carryBitShift); + if (!(i < t2)) + return A.ioore(resultDigits, i); resultDigits[i] = (t3 | carry) >>> 0; - carry = C.JSInt_methods._shrReceiverPositive$1(digit, bitShift); + carry = B.JSInt_methods._shrReceiverPositive$1(digit, bitShift); } - if (last < 0 || last >= t2) - return H.ioore(resultDigits, last); + if (!(last >= 0 && last < t2)) + return A.ioore(resultDigits, last); resultDigits[last] = carry; }, - _BigIntImpl__compareDigits: function(digits, used, otherDigits, otherUsed) { + _BigIntImpl__compareDigits(digits, used, otherDigits, otherUsed) { var i, t1, t2, t3, result = used - otherUsed; if (result === 0) for (i = used - 1, t1 = digits.length, t2 = otherDigits.length; i >= 0; --i) { - if (i >= t1) - return H.ioore(digits, i); + if (!(i < t1)) + return A.ioore(digits, i); t3 = digits[i]; - if (i >= t2) - return H.ioore(otherDigits, i); + if (!(i < t2)) + return A.ioore(otherDigits, i); result = t3 - otherDigits[i]; if (result !== 0) return result; } return result; }, - _BigIntImpl__absAdd: function(digits, used, otherDigits, otherUsed, resultDigits) { + _BigIntImpl__absAdd(digits, used, otherDigits, otherUsed, resultDigits) { var t1, t2, t3, carry, i, t4; for (t1 = digits.length, t2 = otherDigits.length, t3 = resultDigits.length, carry = 0, i = 0; i < otherUsed; ++i) { - if (i >= t1) - return H.ioore(digits, i); + if (!(i < t1)) + return A.ioore(digits, i); t4 = digits[i]; - if (i >= t2) - return H.ioore(otherDigits, i); + if (!(i < t2)) + return A.ioore(otherDigits, i); carry += t4 + otherDigits[i]; - if (i >= t3) - return H.ioore(resultDigits, i); + if (!(i < t3)) + return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; carry = carry >>> 16; } for (i = otherUsed; i < used; ++i) { - if (i < 0 || i >= t1) - return H.ioore(digits, i); + if (!(i >= 0 && i < t1)) + return A.ioore(digits, i); carry += digits[i]; - if (i >= t3) - return H.ioore(resultDigits, i); + if (!(i < t3)) + return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; carry = carry >>> 16; } - if (used < 0 || used >= t3) - return H.ioore(resultDigits, used); + if (!(used >= 0 && used < t3)) + return A.ioore(resultDigits, used); resultDigits[used] = carry; }, - _BigIntImpl__absSub: function(digits, used, otherDigits, otherUsed, resultDigits) { + _BigIntImpl__absSub(digits, used, otherDigits, otherUsed, resultDigits) { var t1, t2, t3, carry, i, t4; for (t1 = digits.length, t2 = otherDigits.length, t3 = resultDigits.length, carry = 0, i = 0; i < otherUsed; ++i) { - if (i >= t1) - return H.ioore(digits, i); + if (!(i < t1)) + return A.ioore(digits, i); t4 = digits[i]; - if (i >= t2) - return H.ioore(otherDigits, i); + if (!(i < t2)) + return A.ioore(otherDigits, i); carry += t4 - otherDigits[i]; - if (i >= t3) - return H.ioore(resultDigits, i); + if (!(i < t3)) + return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; - carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); + carry = 0 - (B.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); } for (i = otherUsed; i < used; ++i) { - if (i < 0 || i >= t1) - return H.ioore(digits, i); + if (!(i >= 0 && i < t1)) + return A.ioore(digits, i); carry += digits[i]; - if (i >= t3) - return H.ioore(resultDigits, i); + if (!(i < t3)) + return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; - carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); + carry = 0 - (B.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); } }, - _BigIntImpl__mulAdd: function(x, multiplicandDigits, i, accumulatorDigits, j, n) { + _BigIntImpl__mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { var t1, t2, c, i0, t3, combined, j0, l; if (x === 0) return; for (t1 = multiplicandDigits.length, t2 = accumulatorDigits.length, c = 0; --n, n >= 0; j = j0, i = i0) { i0 = i + 1; - if (i >= t1) - return H.ioore(multiplicandDigits, i); + if (!(i < t1)) + return A.ioore(multiplicandDigits, i); t3 = multiplicandDigits[i]; - if (j < 0 || j >= t2) - return H.ioore(accumulatorDigits, j); + if (!(j >= 0 && j < t2)) + return A.ioore(accumulatorDigits, j); combined = x * t3 + accumulatorDigits[j] + c; j0 = j + 1; accumulatorDigits[j] = combined & 65535; - c = C.JSInt_methods._tdivFast$1(combined, 65536); + c = B.JSInt_methods._tdivFast$1(combined, 65536); } for (; c !== 0; j = j0) { - if (j < 0 || j >= t2) - return H.ioore(accumulatorDigits, j); + if (!(j >= 0 && j < t2)) + return A.ioore(accumulatorDigits, j); l = accumulatorDigits[j] + c; j0 = j + 1; accumulatorDigits[j] = l & 65535; - c = C.JSInt_methods._tdivFast$1(l, 65536); + c = B.JSInt_methods._tdivFast$1(l, 65536); } }, - _BigIntImpl__estimateQuotientDigit: function(topDigitDivisor, digits, i) { + _BigIntImpl__estimateQuotientDigit(topDigitDivisor, digits, i) { var t2, t3, quotientDigit, t1 = digits.length; - if (i < 0 || i >= t1) - return H.ioore(digits, i); + if (!(i >= 0 && i < t1)) + return A.ioore(digits, i); t2 = digits[i]; if (t2 === topDigitDivisor) return 65535; t3 = i - 1; - if (t3 < 0 || t3 >= t1) - return H.ioore(digits, t3); - quotientDigit = C.JSInt_methods.$tdiv((t2 << 16 | digits[t3]) >>> 0, topDigitDivisor); + if (!(t3 >= 0 && t3 < t1)) + return A.ioore(digits, t3); + quotientDigit = B.JSInt_methods.$tdiv((t2 << 16 | digits[t3]) >>> 0, topDigitDivisor); if (quotientDigit > 65535) return 65535; return quotientDigit; }, - DateTime$: function(year, month, day) { - var t1 = H.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); - if (!H._isInt(t1)) - H.throwExpression(H.argumentErrorValue(t1)); - return new P.DateTime(t1, false); + DateTime$(year, month, day) { + var t1 = A.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); + if (!A._isInt(t1)) + A.throwExpression(A.argumentErrorValue(t1)); + return new A.DateTime(t1, false); }, - DateTime_parse: function(formattedString) { + DateTime_parse(formattedString) { var t1, t2, t3, years, month, day, hour, minute, second, milliAndMicroseconds, millisecond, tzSign, sign, hourDifference, minuteDifference, isUtc, value, _null = null, match = $.$get$DateTime__parseFormat().firstMatch$1(formattedString); if (match != null) { - t1 = new P.DateTime_parse_parseIntOrZero(); + t1 = new A.DateTime_parse_parseIntOrZero(); t2 = match._match; if (1 >= t2.length) - return H.ioore(t2, 1); + return A.ioore(t2, 1); t3 = t2[1]; t3.toString; - years = P.int_parse(t3, _null); + years = A.int_parse(t3, _null); if (2 >= t2.length) - return H.ioore(t2, 2); + return A.ioore(t2, 2); t3 = t2[2]; t3.toString; - month = P.int_parse(t3, _null); + month = A.int_parse(t3, _null); if (3 >= t2.length) - return H.ioore(t2, 3); + return A.ioore(t2, 3); t3 = t2[3]; t3.toString; - day = P.int_parse(t3, _null); + day = A.int_parse(t3, _null); if (4 >= t2.length) - return H.ioore(t2, 4); + return A.ioore(t2, 4); hour = t1.call$1(t2[4]); if (5 >= t2.length) - return H.ioore(t2, 5); + return A.ioore(t2, 5); minute = t1.call$1(t2[5]); if (6 >= t2.length) - return H.ioore(t2, 6); + return A.ioore(t2, 6); second = t1.call$1(t2[6]); if (7 >= t2.length) - return H.ioore(t2, 7); - milliAndMicroseconds = new P.DateTime_parse_parseMilliAndMicroseconds().call$1(t2[7]); + return A.ioore(t2, 7); + milliAndMicroseconds = new A.DateTime_parse_parseMilliAndMicroseconds().call$1(t2[7]); if (typeof milliAndMicroseconds !== "number") return milliAndMicroseconds.$tdiv(); - millisecond = C.JSInt_methods._tdivFast$1(milliAndMicroseconds, 1000); + millisecond = B.JSInt_methods._tdivFast$1(milliAndMicroseconds, 1000); t3 = t2.length; if (8 >= t3) - return H.ioore(t2, 8); + return A.ioore(t2, 8); if (t2[8] != null) { if (9 >= t3) - return H.ioore(t2, 9); + return A.ioore(t2, 9); tzSign = t2[9]; if (tzSign != null) { sign = tzSign === "-" ? -1 : 1; if (10 >= t3) - return H.ioore(t2, 10); + return A.ioore(t2, 10); t3 = t2[10]; t3.toString; - hourDifference = P.int_parse(t3, _null); + hourDifference = A.int_parse(t3, _null); if (11 >= t2.length) - return H.ioore(t2, 11); + return A.ioore(t2, 11); minuteDifference = t1.call$1(t2[11]); if (typeof minuteDifference !== "number") return minuteDifference.$add(); @@ -7040,25 +6294,25 @@ isUtc = true; } else isUtc = false; - value = H.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + C.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc); + value = A.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + B.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc); if (value == null) - throw H.wrapException(P.FormatException$("Time out of range", formattedString, _null)); - return P.DateTime$_withValue(value, isUtc); + throw A.wrapException(A.FormatException$("Time out of range", formattedString, _null)); + return A.DateTime$_withValue(value, isUtc); } else - throw H.wrapException(P.FormatException$("Invalid date format", formattedString, _null)); + throw A.wrapException(A.FormatException$("Invalid date format", formattedString, _null)); }, - DateTime$_withValue: function(_value, isUtc) { + DateTime$_withValue(_value, isUtc) { var t1; if (Math.abs(_value) <= 864e13) t1 = false; else t1 = true; if (t1) - H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + _value)); - H.checkNotNullable(isUtc, "isUtc", type$.bool); - return new P.DateTime(_value, isUtc); + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null)); + A.checkNotNullable(isUtc, "isUtc", type$.bool); + return new A.DateTime(_value, isUtc); }, - DateTime__fourDigits: function(n) { + DateTime__fourDigits(n) { var absN = Math.abs(n), sign = n < 0 ? "-" : ""; if (absN >= 1000) @@ -7069,180 +6323,248 @@ return sign + "00" + absN; return sign + "000" + absN; }, - DateTime__sixDigits: function(n) { + DateTime__sixDigits(n) { var absN = Math.abs(n), sign = n < 0 ? "-" : "+"; if (absN >= 100000) return sign + absN; return sign + "0" + absN; }, - DateTime__threeDigits: function(n) { + DateTime__threeDigits(n) { if (n >= 100) return "" + n; if (n >= 10) return "0" + n; return "00" + n; }, - DateTime__twoDigits: function(n) { + DateTime__twoDigits(n) { if (n >= 10) return "" + n; return "0" + n; }, - Duration$: function(microseconds, milliseconds, seconds) { - return new P.Duration(1000000 * seconds + 1000 * milliseconds + microseconds); + Duration$(microseconds, milliseconds, seconds) { + return new A.Duration(microseconds + 1000 * milliseconds + 1000000 * seconds); }, - Error_safeToString: function(object) { - if (typeof object == "number" || H._isBool(object) || null == object) + Error_safeToString(object) { + if (typeof object == "number" || A._isBool(object) || object == null) return J.toString$0$(object); if (typeof object == "string") return JSON.stringify(object); - return P.Error__objectToString(object); + return A.Error__objectToString(object); + }, + Error_throwWithStackTrace(error, stackTrace) { + A.checkNotNullable(error, "error", type$.Object); + A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); + A.Error__throw(error, stackTrace); + A.ReachabilityError$(string$.x60null_t); }, - AssertionError$: function(message) { - return new P.AssertionError(message); + AssertionError$(message) { + return new A.AssertionError(message); }, - ArgumentError$: function(message) { - return new P.ArgumentError(false, null, null, message); + ArgumentError$(message, $name) { + return new A.ArgumentError(false, null, $name, message); }, - ArgumentError$value: function(value, $name, message) { - return new P.ArgumentError(true, value, $name, message); + ArgumentError$value(value, $name, message) { + return new A.ArgumentError(true, value, $name, message); }, - ArgumentError$notNull: function($name) { - return new P.ArgumentError(false, null, $name, "Must not be null"); + ArgumentError$notNull($name) { + return new A.ArgumentError(false, null, $name, "Must not be null"); }, - RangeError$: function(message) { + ArgumentError_checkNotNull(argument, $name, $T) { + return argument == null ? A.throwExpression(A.ArgumentError$notNull($name)) : argument; + }, + RangeError$(message) { var _null = null; - return new P.RangeError(_null, _null, false, _null, _null, message); + return new A.RangeError(_null, _null, false, _null, _null, message); }, - RangeError$value: function(value, $name, message) { - return new P.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message); + RangeError$value(value, $name, message) { + return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message); }, - RangeError$range: function(invalidValue, minValue, maxValue, $name, message) { - return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); + RangeError$range(invalidValue, minValue, maxValue, $name, message) { + return new A.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); }, - RangeError_checkValueInInterval: function(value, minValue, maxValue, $name) { + RangeError_checkValueInInterval(value, minValue, maxValue, $name) { var t1; if (value >= minValue) { if (typeof maxValue !== "number") - return H.iae(maxValue); + return A.iae(maxValue); t1 = value > maxValue; } else t1 = true; if (t1) - throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $name, null)); + throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null)); return value; }, - RangeError_checkValidIndex: function(index, indexable) { - var $length = indexable.get$length(indexable); - if (typeof index !== "number") - return H.iae(index); - if (0 > index || index >= $length) - throw H.wrapException(P.IndexError$(index, indexable, "index", null, $length)); - return index; + RangeError_checkValidIndex(index, indexable) { + var $length = indexable._wrappers$_base.length; + return A.IndexError_check(index, $length, indexable, null, null); }, - RangeError_checkValidRange: function(start, end, $length) { + RangeError_checkValidRange(start, end, $length) { var t1; if (typeof start !== "number") - return H.iae(start); + return A.iae(start); if (0 <= start) { if (typeof $length !== "number") - return H.iae($length); + return A.iae($length); t1 = start > $length; } else t1 = true; if (t1) - throw H.wrapException(P.RangeError$range(start, 0, $length, "start", null)); + throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null)); if (end != null) { if (!(start > end)) { if (typeof $length !== "number") - return H.iae($length); + return A.iae($length); t1 = end > $length; } else t1 = true; if (t1) - throw H.wrapException(P.RangeError$range(end, start, $length, "end", null)); + throw A.wrapException(A.RangeError$range(end, start, $length, "end", null)); return end; } return $length; }, - RangeError_checkNotNegative: function(value, $name) { + RangeError_checkNotNegative(value, $name) { if (typeof value !== "number") return value.$lt(); if (value < 0) - throw H.wrapException(P.RangeError$range(value, 0, null, $name, null)); + throw A.wrapException(A.RangeError$range(value, 0, null, $name, null)); return value; }, - IndexError$: function(invalidValue, indexable, $name, message, $length) { - var t1 = H._asIntS($length == null ? J.get$length$asx(indexable) : $length); - return new P.IndexError(t1, true, invalidValue, $name, "Index out of range"); + IndexError$withLength(invalidValue, $length, indexable, message, $name) { + return new A.IndexError($length, true, invalidValue, $name, "Index out of range"); }, - UnsupportedError$: function(message) { - return new P.UnsupportedError(message); + IndexError_check(index, $length, indexable, message, $name) { + if (typeof index !== "number") + return A.iae(index); + if (0 > index || index >= $length) + throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, "index")); + return index; + }, + UnsupportedError$(message) { + return new A.UnsupportedError(message); }, - UnimplementedError$: function(message) { - return new P.UnimplementedError(message); + UnimplementedError$(message) { + return new A.UnimplementedError(message); }, - StateError$: function(message) { - return new P.StateError(message); + StateError$(message) { + return new A.StateError(message); }, - ConcurrentModificationError$: function(modifiedObject) { - return new P.ConcurrentModificationError(modifiedObject); + ConcurrentModificationError$(modifiedObject) { + return new A.ConcurrentModificationError(modifiedObject); }, - Exception_Exception: function(message) { - return new P._Exception(message); + Exception_Exception(message) { + return new A._Exception(message); }, - FormatException$: function(message, source, offset) { - return new P.FormatException(message, source, offset); + FormatException$(message, source, offset) { + return new A.FormatException(message, source, offset); }, - Map_castFrom: function(source, $K, $V, K2, V2) { - return new H.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>")); + Map_castFrom(source, $K, $V, K2, V2) { + return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>")); }, - num_parse: function(input) { + num_parse(input) { var t1, - result = P.num_tryParse(input); + result = A.num_tryParse(input); if (result != null) return result; - t1 = P.FormatException$(input, null, null); - throw H.wrapException(t1); + t1 = A.FormatException$(input, null, null); + throw A.wrapException(t1); }, - num_tryParse: function(input) { + num_tryParse(input) { var source = J.trim$0$s(input), - t1 = H.Primitives_parseInt(source, null); - return t1 == null ? H.Primitives_parseDouble(source) : t1; + t1 = A.Primitives_parseInt(source, null); + return t1 == null ? A.Primitives_parseDouble(source) : t1; + }, + Object_hash(object1, object2, object3, object4, object5, object6, object7, object8) { + var t1; + if (B.C_SentinelValue === object3) + return A.SystemHash_hash2(J.get$hashCode$(object1), J.get$hashCode$(object2), $.$get$_hashSeed()); + if (B.C_SentinelValue === object4) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3)); + } + if (B.C_SentinelValue === object5) + return A.SystemHash_hash4(J.get$hashCode$(object1), J.get$hashCode$(object2), J.get$hashCode$(object3), J.get$hashCode$(object4), $.$get$_hashSeed()); + if (B.C_SentinelValue === object6) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + object5 = J.get$hashCode$(object5); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5)); + } + if (B.C_SentinelValue === object7) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + object5 = J.get$hashCode$(object5); + object6 = J.get$hashCode$(object6); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6)); + } + if (B.C_SentinelValue === object8) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + object5 = J.get$hashCode$(object5); + object6 = J.get$hashCode$(object6); + object7 = J.get$hashCode$(object7); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7)); + } + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + object5 = J.get$hashCode$(object5); + object6 = J.get$hashCode$(object6); + object7 = J.get$hashCode$(object7); + object8 = J.get$hashCode$(object8); + object8 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8)); + return object8; + }, + Object_hashAll(objects) { + var _i, + hash = $.$get$_hashSeed(); + for (_i = 0; _i < 5; ++_i) + hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i])); + return A.SystemHash_finish(hash); }, - print: function(object) { - H.printString(H.S(J.toString$0$(object))); + print(object) { + A.printString(A.S(object)); }, - Set_castFrom: function(source, newSet, $S, $T) { - return new H.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>")); + Set_castFrom(source, newSet, $S, $T) { + return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>")); }, - _combineSurrogatePair: function(start, end) { + _combineSurrogatePair(start, end) { return 65536 + ((start & 1023) << 10) + (end & 1023); }, - Uri_parse: function(uri) { + Uri_parse(uri) { var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null, end = uri.length; if (end >= 5) { - delta = ((C.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | C.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | C.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | C.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | C.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0; + delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0; if (delta === 0) - return P.UriData__parse(end < end ? C.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); + return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); else if (delta === 32) - return P.UriData__parse(C.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri(); - } - indices = P.List_List$filled(8, 0, false, type$.int); - C.JSArray_methods.$indexSet(indices, 0, 0); - C.JSArray_methods.$indexSet(indices, 1, -1); - C.JSArray_methods.$indexSet(indices, 2, -1); - C.JSArray_methods.$indexSet(indices, 7, -1); - C.JSArray_methods.$indexSet(indices, 3, 0); - C.JSArray_methods.$indexSet(indices, 4, 0); - C.JSArray_methods.$indexSet(indices, 5, end); - C.JSArray_methods.$indexSet(indices, 6, end); - if (P._scan(uri, 0, end, 0, indices) >= 14) - C.JSArray_methods.$indexSet(indices, 7, end); + return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri(); + } + indices = A.List_List$filled(8, 0, false, type$.int); + B.JSArray_methods.$indexSet(indices, 0, 0); + B.JSArray_methods.$indexSet(indices, 1, -1); + B.JSArray_methods.$indexSet(indices, 2, -1); + B.JSArray_methods.$indexSet(indices, 7, -1); + B.JSArray_methods.$indexSet(indices, 3, 0); + B.JSArray_methods.$indexSet(indices, 4, 0); + B.JSArray_methods.$indexSet(indices, 5, end); + B.JSArray_methods.$indexSet(indices, 6, end); + if (A._scan(uri, 0, end, 0, indices) >= 14) + B.JSArray_methods.$indexSet(indices, 7, end); schemeEnd = indices[1]; if (schemeEnd >= 0) - if (P._scan(uri, 0, schemeEnd, 20, indices) === 20) + if (A._scan(uri, 0, schemeEnd, 20, indices) === 20) indices[7] = schemeEnd; hostStart = indices[2] + 1; portStart = indices[3]; @@ -7268,66 +6590,78 @@ scheme = _null; isSimple = false; } else { - if (!(queryStart < end && queryStart === pathStart + 2 && C.JSString_methods.startsWith$2(uri, "..", pathStart))) - t2 = queryStart > pathStart + 2 && C.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); + if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart)) + if (hostStart > 0) + t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2); + else + t2 = false; else t2 = true; if (t2) { scheme = _null; isSimple = false; } else { - if (schemeEnd === 4) - if (C.JSString_methods.startsWith$2(uri, "file", 0)) { - if (hostStart <= 0) { - if (!C.JSString_methods.startsWith$2(uri, "/", pathStart)) { - schemeAuth = "file:///"; - delta = 3; - } else { - schemeAuth = "file://"; - delta = 2; + if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart))) + t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); + else + t2 = true; + if (t2) { + scheme = _null; + isSimple = false; + } else { + if (schemeEnd === 4) + if (B.JSString_methods.startsWith$2(uri, "file", 0)) { + if (hostStart <= 0) { + if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } else { + schemeAuth = "file://"; + delta = 2; + } + uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end); + schemeEnd -= 0; + t1 = delta - 0; + queryStart += t1; + fragmentStart += t1; + end = uri.length; + hostStart = 7; + portStart = 7; + pathStart = 7; + } else if (pathStart === queryStart) { + ++fragmentStart; + queryStart0 = queryStart + 1; + uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); + ++end; + queryStart = queryStart0; } - uri = schemeAuth + C.JSString_methods.substring$2(uri, pathStart, end); - schemeEnd -= 0; - t1 = delta - 0; - queryStart += t1; - fragmentStart += t1; - end = uri.length; - hostStart = 7; - portStart = 7; - pathStart = 7; - } else if (pathStart === queryStart) { - ++fragmentStart; - queryStart0 = queryStart + 1; - uri = C.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); - ++end; - queryStart = queryStart0; - } - scheme = "file"; - } else if (C.JSString_methods.startsWith$2(uri, "http", 0)) { - if (t1 && portStart + 3 === pathStart && C.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { - fragmentStart -= 3; - pathStart0 = pathStart - 3; - queryStart -= 3; - uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + scheme = "file"; + } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) { + if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { + fragmentStart -= 3; + pathStart0 = pathStart - 3; + queryStart -= 3; + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + end -= 3; + pathStart = pathStart0; + } + scheme = "http"; + } else + scheme = _null; + else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) { + if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) { + fragmentStart -= 4; + pathStart0 = pathStart - 4; + queryStart -= 4; + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); end -= 3; pathStart = pathStart0; } - scheme = "http"; + scheme = "https"; } else scheme = _null; - else if (schemeEnd === 5 && C.JSString_methods.startsWith$2(uri, "https", 0)) { - if (t1 && portStart + 4 === pathStart && C.JSString_methods.startsWith$2(uri, "443", portStart + 1)) { - fragmentStart -= 4; - pathStart0 = pathStart - 4; - queryStart -= 4; - uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); - end -= 3; - pathStart = pathStart0; - } - scheme = "https"; - } else - scheme = _null; - isSimple = true; + isSimple = true; + } } } } @@ -7335,7 +6669,7 @@ scheme = _null; if (isSimple) { if (end < uri.length) { - uri = C.JSString_methods.substring$2(uri, 0, end); + uri = B.JSString_methods.substring$2(uri, 0, end); schemeEnd -= 0; hostStart -= 0; portStart -= 0; @@ -7343,26 +6677,26 @@ queryStart -= 0; fragmentStart -= 0; } - return new P._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } if (scheme == null) if (schemeEnd > 0) - scheme = P._Uri__makeScheme(uri, 0, schemeEnd); + scheme = A._Uri__makeScheme(uri, 0, schemeEnd); else { if (schemeEnd === 0) { - P._Uri__fail(uri, 0, "Invalid empty scheme"); - H.ReachabilityError$(string$.x60null_); + A._Uri__fail(uri, 0, "Invalid empty scheme"); + A.ReachabilityError$(string$.x60null_t); } scheme = ""; } if (hostStart > 0) { userInfoStart = schemeEnd + 3; - userInfo = userInfoStart < hostStart ? P._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; - host = P._Uri__makeHost(uri, hostStart, portStart, false); + userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; + host = A._Uri__makeHost(uri, hostStart, portStart, false); t1 = portStart + 1; if (t1 < pathStart) { - portNumber = H.Primitives_parseInt(C.JSString_methods.substring$2(uri, t1, pathStart), _null); - port = P._Uri__makePort(portNumber == null ? H.throwExpression(P.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); + portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null); + port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); } else port = _null; } else { @@ -7370,34 +6704,34 @@ host = port; userInfo = ""; } - path = P._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); - query = queryStart < fragmentStart ? P._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; - return P._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? P._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); + path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); + query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; + return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); }, - Uri_decodeComponent: function(encodedComponent) { - H._asStringS(encodedComponent); - return P._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, C.C_Utf8Codec, false); + Uri_decodeComponent(encodedComponent) { + A._asStringS(encodedComponent); + return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); }, - Uri__parseIPv4Address: function(host, start, end) { + Uri__parseIPv4Address(host, start, end) { var i, partStart, partIndex, char, part, partIndex0, _s43_ = "IPv4 address should contain exactly 4 parts", _s37_ = "each part must be in the range 0..255", - error = new P.Uri__parseIPv4Address_error(host), + error = new A.Uri__parseIPv4Address_error(host), result = new Uint8Array(4); for (i = start, partStart = i, partIndex = 0; i < end; ++i) { - char = C.JSString_methods.codeUnitAt$1(host, i); + char = B.JSString_methods.codeUnitAt$1(host, i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); } else { if (partIndex === 3) error.call$2(_s43_, i); - part = P.int_parse(C.JSString_methods.substring$2(host, partStart, i), null); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null); if (part > 255) error.call$2(_s37_, partStart); partIndex0 = partIndex + 1; - if (partIndex >= 4) - return H.ioore(result, partIndex); + if (!(partIndex < 4)) + return A.ioore(result, partIndex); result[partIndex] = part; partStart = i + 1; partIndex = partIndex0; @@ -7405,142 +6739,129 @@ } if (partIndex !== 3) error.call$2(_s43_, end); - part = P.int_parse(C.JSString_methods.substring$2(host, partStart, end), null); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null); if (part > 255) error.call$2(_s37_, partStart); - if (partIndex >= 4) - return H.ioore(result, partIndex); + if (!(partIndex < 4)) + return A.ioore(result, partIndex); result[partIndex] = part; return result; }, - Uri_parseIPv6Address: function(host, start, end) { - var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, - error = new P.Uri_parseIPv6Address_error(host), - parseHex = new P.Uri_parseIPv6Address_parseHex(error, host); + Uri_parseIPv6Address(host, start, end) { + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, _null = null, + error = new A.Uri_parseIPv6Address_error(host), + parseHex = new A.Uri_parseIPv6Address_parseHex(error, host); if (host.length < 2) - error.call$1("address is too short"); - parts = H.setRuntimeTypeInfo([], type$.JSArray_int); + error.call$2("address is too short", _null); + parts = A._setArrayType([], type$.JSArray_int); for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { - char = C.JSString_methods.codeUnitAt$1(host, i); + char = B.JSString_methods.codeUnitAt$1(host, i); if (char === 58) { if (i === start) { ++i; - if (C.JSString_methods.codeUnitAt$1(host, i) !== 58) + if (B.JSString_methods.codeUnitAt$1(host, i) !== 58) error.call$2("invalid start colon.", i); partStart = i; } if (i === partStart) { if (wildcardSeen) error.call$2("only one wildcard `::` is allowed", i); - C.JSArray_methods.add$1(parts, -1); + B.JSArray_methods.add$1(parts, -1); wildcardSeen = true; } else - C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); partStart = i + 1; } else if (char === 46) seenDot = true; } if (parts.length === 0) - error.call$1("too few parts"); + error.call$2("too few parts", _null); atEnd = partStart === end; - t1 = C.JSArray_methods.get$last(parts); + t1 = B.JSArray_methods.get$last(parts); if (atEnd && t1 !== -1) error.call$2("expected a part after last `:`", end); if (!atEnd) if (!seenDot) - C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); else { - last = P.Uri__parseIPv4Address(host, partStart, end); - C.JSArray_methods.add$1(parts, (last[0] << 8 | last[1]) >>> 0); - C.JSArray_methods.add$1(parts, (last[2] << 8 | last[3]) >>> 0); + last = A.Uri__parseIPv4Address(host, partStart, end); + B.JSArray_methods.add$1(parts, (last[0] << 8 | last[1]) >>> 0); + B.JSArray_methods.add$1(parts, (last[2] << 8 | last[3]) >>> 0); } if (wildcardSeen) { if (parts.length > 7) - error.call$1("an address with a wildcard must have less than 7 parts"); + error.call$2("an address with a wildcard must have less than 7 parts", _null); } else if (parts.length !== 8) - error.call$1("an address without a wildcard must contain exactly 8 parts"); + error.call$2("an address without a wildcard must contain exactly 8 parts", _null); bytes = new Uint8Array(16); for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { value = parts[i]; if (value === -1) for (j = 0; j < wildCardLength; ++j) { - if (index < 0 || index >= 16) - return H.ioore(bytes, index); + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); bytes[index] = 0; t2 = index + 1; - if (t2 >= 16) - return H.ioore(bytes, t2); + if (!(t2 < 16)) + return A.ioore(bytes, t2); bytes[t2] = 0; index += 2; } else { - t2 = C.JSInt_methods._shrOtherPositive$1(value, 8); - if (index < 0 || index >= 16) - return H.ioore(bytes, index); + t2 = B.JSInt_methods._shrOtherPositive$1(value, 8); + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); bytes[index] = t2; t2 = index + 1; - if (t2 >= 16) - return H.ioore(bytes, t2); + if (!(t2 < 16)) + return A.ioore(bytes, t2); bytes[t2] = value & 255; index += 2; } } return bytes; }, - _Uri$_internal: function(scheme, _userInfo, _host, _port, path, _query, _fragment) { - return new P._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); + _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) { + return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); }, - _Uri__defaultPort: function(scheme) { + _Uri__defaultPort(scheme) { if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; }, - _Uri__compareScheme: function(scheme, uri) { - var t1, i, schemeChar, uriChar, delta, lowerChar; - for (t1 = scheme.length, i = 0; i < t1; ++i) { - schemeChar = C.JSString_methods._codeUnitAt$1(scheme, i); - uriChar = C.JSString_methods._codeUnitAt$1(uri, i); - delta = schemeChar ^ uriChar; - if (delta !== 0) { - if (delta === 32) { - lowerChar = uriChar | delta; - if (97 <= lowerChar && lowerChar <= 122) - continue; - } - return false; - } - } - return true; - }, - _Uri__fail: function(uri, index, message) { - throw H.wrapException(P.FormatException$(message, uri, index)); + _Uri__fail(uri, index, message) { + throw A.wrapException(A.FormatException$(message, uri, index)); }, - _Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentError) { - var t1, t2; - for (t1 = J.get$iterator$ax(segments); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t2.toString; - if (H.stringContainsUnchecked(t2, "/", 0)) { - t1 = P.UnsupportedError$("Illegal path character " + t2); - throw H.wrapException(t1); + _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) { + var t1, _i, segment, t2, t3; + for (t1 = segments.length, _i = 0; _i < t1; ++_i) { + segment = segments[_i]; + segment.toString; + t2 = J.getInterceptor$asx(segment); + t3 = t2.get$length(segment); + if (0 > t3) + A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null)); + if (A.stringContainsUnchecked(segment, "/", 0)) { + t1 = A.UnsupportedError$("Illegal path character " + A.S(segment)); + throw A.wrapException(t1); } } }, - _Uri__checkWindowsPathReservedCharacters: function(segments, argumentError, firstSegment) { - var t1, t2, t3; - for (t1 = J.skip$1$ax(segments, firstSegment), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = P.RegExp_RegExp('["*/:<>?\\\\|]', true); - t2.toString; - if (H.stringContainsUnchecked(t2, t3, 0)) { - t1 = P.UnsupportedError$("Illegal character in path: " + t2); - throw H.wrapException(t1); + _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) { + var t1, t2, t3, t4; + for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")); t1.moveNext$0();) { + t2 = t1.__internal$_current; + t3 = A.RegExp_RegExp('["*/:<>?\\\\|]', true); + t4 = t2.length; + if (A.stringContainsUnchecked(t2, t3, 0)) { + t1 = A.UnsupportedError$("Illegal character in path: " + t2); + throw A.wrapException(t1); } } }, - _Uri__checkWindowsDriveLetter: function(charCode, argumentError) { + _Uri__checkWindowsDriveLetter(charCode, argumentError) { var t1; if (!(65 <= charCode && charCode <= 90)) t1 = 97 <= charCode && charCode <= 122; @@ -7548,74 +6869,74 @@ t1 = true; if (t1) return; - t1 = P.UnsupportedError$("Illegal drive letter " + P.String_String$fromCharCode(charCode)); - throw H.wrapException(t1); + t1 = A.UnsupportedError$("Illegal drive letter " + A.String_String$fromCharCode(charCode)); + throw A.wrapException(t1); }, - _Uri__makePort: function(port, scheme) { - if (port != null && port === P._Uri__defaultPort(scheme)) + _Uri__makePort(port, scheme) { + if (port != null && port === A._Uri__defaultPort(scheme)) return null; return port; }, - _Uri__makeHost: function(host, start, end, strictIPv6) { + _Uri__makeHost(host, start, end, strictIPv6) { var t1, t2, index, zoneIDstart, zoneID, i; if (host == null) return null; if (start === end) return ""; - if (C.JSString_methods.codeUnitAt$1(host, start) === 91) { + if (B.JSString_methods.codeUnitAt$1(host, start) === 91) { t1 = end - 1; - if (C.JSString_methods.codeUnitAt$1(host, t1) !== 93) { - P._Uri__fail(host, start, "Missing end `]` to match `[` in host"); - H.ReachabilityError$(string$.x60null_); + if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) { + A._Uri__fail(host, start, "Missing end `]` to match `[` in host"); + A.ReachabilityError$(string$.x60null_t); } t2 = start + 1; - index = P._Uri__checkZoneID(host, t2, t1); + index = A._Uri__checkZoneID(host, t2, t1); if (index < t1) { zoneIDstart = index + 1; - zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25"); + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25"); } else zoneID = ""; - P.Uri_parseIPv6Address(host, t2, index); - return C.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; + A.Uri_parseIPv6Address(host, t2, index); + return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; } for (i = start; i < end; ++i) - if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { - index = C.JSString_methods.indexOf$2(host, "%", start); + if (B.JSString_methods.codeUnitAt$1(host, i) === 58) { + index = B.JSString_methods.indexOf$2(host, "%", start); index = index >= start && index < end ? index : end; if (index < end) { zoneIDstart = index + 1; - zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); } else zoneID = ""; - P.Uri_parseIPv6Address(host, start, index); - return "[" + C.JSString_methods.substring$2(host, start, index) + zoneID + "]"; + A.Uri_parseIPv6Address(host, start, index); + return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]"; } - return P._Uri__normalizeRegName(host, start, end); + return A._Uri__normalizeRegName(host, start, end); }, - _Uri__checkZoneID: function(host, start, end) { - var index = C.JSString_methods.indexOf$2(host, "%", start); + _Uri__checkZoneID(host, start, end) { + var index = B.JSString_methods.indexOf$2(host, "%", start); return index >= start && index < end ? index : end; }, - _Uri__normalizeZoneID: function(host, start, end, prefix) { + _Uri__normalizeZoneID(host, start, end, prefix) { var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, - buffer = prefix !== "" ? new P.StringBuffer(prefix) : null; + buffer = prefix !== "" ? new A.StringBuffer(prefix) : null; for (index = start, sectionStart = index, isNormalized = true; index < end;) { - char = C.JSString_methods.codeUnitAt$1(host, index); + char = B.JSString_methods.codeUnitAt$1(host, index); if (char === 37) { - replacement = P._Uri__normalizeEscape(host, index, true); + replacement = A._Uri__normalizeEscape(host, index, true); t1 = replacement == null; if (t1 && isNormalized) { index += 3; continue; } if (buffer == null) - buffer = new P.StringBuffer(""); - t2 = buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + buffer = new A.StringBuffer(""); + t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); if (t1) - replacement = C.JSString_methods.substring$2(host, index, index + 3); + replacement = B.JSString_methods.substring$2(host, index, index + 3); else if (replacement === "%") { - P._Uri__fail(host, index, "ZoneID should not contain % anymore"); - H.ReachabilityError$(string$.x60null_); + A._Uri__fail(host, index, "ZoneID should not contain % anymore"); + A.ReachabilityError$(string$.x60null_t); } buffer._contents = t2 + replacement; index += 3; @@ -7624,17 +6945,17 @@ } else { if (char < 127) { t1 = char >>> 4; - if (t1 >= 8) - return H.ioore(C.List_nxB, t1); - t1 = (C.List_nxB[t1] & 1 << (char & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_nxB, t1); + t1 = (B.List_nxB[t1] & 1 << (char & 15)) !== 0; } else t1 = false; if (t1) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); if (sectionStart < index) { - buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); sectionStart = index; } isNormalized = false; @@ -7642,7 +6963,7 @@ ++index; } else { if ((char & 64512) === 55296 && index + 1 < end) { - tail = C.JSString_methods.codeUnitAt$1(host, index + 1); + tail = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -7650,43 +6971,43 @@ sourceLength = 1; } else sourceLength = 1; - slice = C.JSString_methods.substring$2(host, sectionStart, index); + slice = B.JSString_methods.substring$2(host, sectionStart, index); if (buffer == null) { - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); t1 = buffer; } else t1 = buffer; t1._contents += slice; - t1._contents += P._Uri__escapeChar(char); + t1._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } } } if (buffer == null) - return C.JSString_methods.substring$2(host, start, end); + return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) - buffer._contents += C.JSString_methods.substring$2(host, sectionStart, end); + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__normalizeRegName: function(host, start, end) { + _Uri__normalizeRegName(host, start, end) { var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail; for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { - char = C.JSString_methods.codeUnitAt$1(host, index); + char = B.JSString_methods.codeUnitAt$1(host, index); if (char === 37) { - replacement = P._Uri__normalizeEscape(host, index, true); + replacement = A._Uri__normalizeEscape(host, index, true); t1 = replacement == null; if (t1 && isNormalized) { index += 3; continue; } if (buffer == null) - buffer = new P.StringBuffer(""); - slice = C.JSString_methods.substring$2(host, sectionStart, index); + buffer = new A.StringBuffer(""); + slice = B.JSString_methods.substring$2(host, sectionStart, index); t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; if (t1) { - replacement = C.JSString_methods.substring$2(host, index, index + 3); + replacement = B.JSString_methods.substring$2(host, index, index + 3); sourceLength = 3; } else if (replacement === "%") { replacement = "%25"; @@ -7700,17 +7021,17 @@ } else { if (char < 127) { t1 = char >>> 4; - if (t1 >= 8) - return H.ioore(C.List_qNA, t1); - t1 = (C.List_qNA[t1] & 1 << (char & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_qNA, t1); + t1 = (B.List_qNA[t1] & 1 << (char & 15)) !== 0; } else t1 = false; if (t1) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); if (sectionStart < index) { - buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); sectionStart = index; } isNormalized = false; @@ -7719,17 +7040,17 @@ } else { if (char <= 93) { t1 = char >>> 4; - if (t1 >= 8) - return H.ioore(C.List_2Vk, t1); - t1 = (C.List_2Vk[t1] & 1 << (char & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_2Vk, t1); + t1 = (B.List_2Vk[t1] & 1 << (char & 15)) !== 0; } else t1 = false; if (t1) { - P._Uri__fail(host, index, "Invalid character"); - H.ReachabilityError$(string$.x60null_); + A._Uri__fail(host, index, "Invalid character"); + A.ReachabilityError$(string$.x60null_t); } else { if ((char & 64512) === 55296 && index + 1 < end) { - tail = C.JSString_methods.codeUnitAt$1(host, index + 1); + tail = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -7737,16 +7058,16 @@ sourceLength = 1; } else sourceLength = 1; - slice = C.JSString_methods.substring$2(host, sectionStart, index); + slice = B.JSString_methods.substring$2(host, sectionStart, index); if (!isNormalized) slice = slice.toLowerCase(); if (buffer == null) { - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); t1 = buffer; } else t1 = buffer; t1._contents += slice; - t1._contents += P._Uri__escapeChar(char); + t1._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } @@ -7754,43 +7075,43 @@ } } if (buffer == null) - return C.JSString_methods.substring$2(host, start, end); + return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) { - slice = C.JSString_methods.substring$2(host, sectionStart, end); + slice = B.JSString_methods.substring$2(host, sectionStart, end); buffer._contents += !isNormalized ? slice.toLowerCase() : slice; } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__makeScheme: function(scheme, start, end) { + _Uri__makeScheme(scheme, start, end) { var i, containsUpperCase, codeUnit, t1, - _s67_ = string$.x60null_; + _s67_ = string$.x60null_t; if (start === end) return ""; - if (!P._Uri__isAlphabeticCharacter(C.JSString_methods._codeUnitAt$1(scheme, start))) { - P._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); - H.ReachabilityError$(_s67_); + if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start))) { + A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); + A.ReachabilityError$(_s67_); } for (i = start, containsUpperCase = false; i < end; ++i) { - codeUnit = C.JSString_methods._codeUnitAt$1(scheme, i); + codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i); if (codeUnit < 128) { t1 = codeUnit >>> 4; - if (t1 >= 8) - return H.ioore(C.List_JYB, t1); - t1 = (C.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_JYB, t1); + t1 = (B.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; } else t1 = false; if (!t1) { - P._Uri__fail(scheme, i, "Illegal scheme character"); - H.ReachabilityError$(_s67_); + A._Uri__fail(scheme, i, "Illegal scheme character"); + A.ReachabilityError$(_s67_); } if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; } - scheme = C.JSString_methods.substring$2(scheme, start, end); - return P._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); + scheme = B.JSString_methods.substring$2(scheme, start, end); + return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); }, - _Uri__canonicalizeScheme: function(scheme) { + _Uri__canonicalizeScheme(scheme) { if (scheme === "http") return "http"; if (scheme === "file") @@ -7801,71 +7122,71 @@ return "package"; return scheme; }, - _Uri__makeUserInfo: function(userInfo, start, end) { + _Uri__makeUserInfo(userInfo, start, end) { if (userInfo == null) return ""; - return P._Uri__normalizeOrSubstring(userInfo, start, end, C.List_gRj, false); + return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false, false); }, - _Uri__makePath: function(path, start, end, pathSegments, scheme, hasAuthority) { + _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { var isFile = scheme === "file", ensureLeadingSlash = isFile || hasAuthority, - result = P._Uri__normalizeOrSubstring(path, start, end, C.List_qg4, true); + result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true, true); if (result.length === 0) { if (isFile) return "/"; - } else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(result, "/")) + } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/")) result = "/" + result; - return P._Uri__normalizePath(result, scheme, hasAuthority); + return A._Uri__normalizePath(result, scheme, hasAuthority); }, - _Uri__normalizePath: function(path, scheme, hasAuthority) { + _Uri__normalizePath(path, scheme, hasAuthority) { var t1 = scheme.length === 0; - if (t1 && !hasAuthority && !C.JSString_methods.startsWith$1(path, "/")) - return P._Uri__normalizeRelativePath(path, !t1 || hasAuthority); - return P._Uri__removeDotSegments(path); + if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\")) + return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority); + return A._Uri__removeDotSegments(path); }, - _Uri__makeQuery: function(query, start, end, queryParameters) { + _Uri__makeQuery(query, start, end, queryParameters) { if (query != null) - return P._Uri__normalizeOrSubstring(query, start, end, C.List_CVk, true); + return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true, false); return null; }, - _Uri__makeFragment: function(fragment, start, end) { + _Uri__makeFragment(fragment, start, end) { if (fragment == null) return null; - return P._Uri__normalizeOrSubstring(fragment, start, end, C.List_CVk, true); + return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true, false); }, - _Uri__normalizeEscape: function(source, index, lowerCase) { + _Uri__normalizeEscape(source, index, lowerCase) { var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, t1 = index + 2; if (t1 >= source.length) return "%"; - firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1); - secondDigit = C.JSString_methods.codeUnitAt$1(source, t1); - firstDigitValue = H.hexDigitValue(firstDigit); - secondDigitValue = H.hexDigitValue(secondDigit); + firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1); + secondDigit = B.JSString_methods.codeUnitAt$1(source, t1); + firstDigitValue = A.hexDigitValue(firstDigit); + secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) return "%"; value = firstDigitValue * 16 + secondDigitValue; if (value < 127) { - t1 = C.JSInt_methods._shrOtherPositive$1(value, 4); - if (t1 >= 8) - return H.ioore(C.List_nxB, t1); - t1 = (C.List_nxB[t1] & 1 << (value & 15)) !== 0; + t1 = B.JSInt_methods._shrOtherPositive$1(value, 4); + if (!(t1 < 8)) + return A.ioore(B.List_nxB, t1); + t1 = (B.List_nxB[t1] & 1 << (value & 15)) !== 0; } else t1 = false; if (t1) - return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); + return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); if (firstDigit >= 97 || secondDigit >= 97) - return C.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); + return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); return null; }, - _Uri__escapeChar: function(char) { + _Uri__escapeChar(char) { var codeUnits, flag, encodedBytes, t1, index, byte, t2, t3, _s16_ = "0123456789ABCDEF"; if (char < 128) { codeUnits = new Uint8Array(3); codeUnits[0] = 37; - codeUnits[1] = C.JSString_methods._codeUnitAt$1(_s16_, char >>> 4); - codeUnits[2] = C.JSString_methods._codeUnitAt$1(_s16_, char & 15); + codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4); + codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15); } else { if (char > 2047) if (char > 65535) { @@ -7882,37 +7203,37 @@ t1 = 3 * encodedBytes; codeUnits = new Uint8Array(t1); for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) { - byte = C.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; - if (index >= t1) - return H.ioore(codeUnits, index); + byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; + if (!(index < t1)) + return A.ioore(codeUnits, index); codeUnits[index] = 37; t2 = index + 1; - t3 = C.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); - if (t2 >= t1) - return H.ioore(codeUnits, t2); + t3 = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); + if (!(t2 < t1)) + return A.ioore(codeUnits, t2); codeUnits[t2] = t3; t3 = index + 2; - t2 = C.JSString_methods._codeUnitAt$1(_s16_, byte & 15); - if (t3 >= t1) - return H.ioore(codeUnits, t3); + t2 = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15); + if (!(t3 < t1)) + return A.ioore(codeUnits, t3); codeUnits[t3] = t2; index += 3; } } - return P.String_String$fromCharCodes(codeUnits, 0, null); + return A.String_String$fromCharCodes(codeUnits, 0, null); }, - _Uri__normalizeOrSubstring: function(component, start, end, charTable, escapeDelimiters) { - var t1 = P._Uri__normalize(component, start, end, charTable, escapeDelimiters); - return t1 == null ? C.JSString_methods.substring$2(component, start, end) : t1; + _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) { + var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash); + return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; }, - _Uri__normalize: function(component, start, end, charTable, escapeDelimiters) { - var t1, index, sectionStart, buffer, char, t2, replacement, sourceLength, tail, _null = null; + _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) { + var t1, index, sectionStart, buffer, char, t2, replacement, sourceLength, tail, t3, _null = null; for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) { - char = C.JSString_methods.codeUnitAt$1(component, index); + char = B.JSString_methods.codeUnitAt$1(component, index); if (char < 127) { t2 = char >>> 4; - if (t2 >= 8) - return H.ioore(charTable, t2); + if (!(t2 < 8)) + return A.ioore(charTable, t2); t2 = (charTable[t2] & 1 << (char & 15)) !== 0; } else t2 = false; @@ -7920,7 +7241,7 @@ ++index; else { if (char === 37) { - replacement = P._Uri__normalizeEscape(component, index, false); + replacement = A._Uri__normalizeEscape(component, index, false); if (replacement == null) { index += 3; continue; @@ -7930,27 +7251,30 @@ sourceLength = 1; } else sourceLength = 3; + } else if (char === 92 && replaceBackslash) { + replacement = "/"; + sourceLength = 1; } else { if (t1) if (char <= 93) { t2 = char >>> 4; - if (t2 >= 8) - return H.ioore(C.List_2Vk, t2); - t2 = (C.List_2Vk[t2] & 1 << (char & 15)) !== 0; + if (!(t2 < 8)) + return A.ioore(B.List_2Vk, t2); + t2 = (B.List_2Vk[t2] & 1 << (char & 15)) !== 0; } else t2 = false; else t2 = false; if (t2) { - P._Uri__fail(component, index, "Invalid character"); - H.ReachabilityError$(string$.x60null_); + A._Uri__fail(component, index, "Invalid character"); + A.ReachabilityError$(string$.x60null_t); sourceLength = _null; replacement = sourceLength; } else { if ((char & 64512) === 55296) { t2 = index + 1; if (t2 < end) { - tail = C.JSString_methods.codeUnitAt$1(component, t2); + tail = B.JSString_methods.codeUnitAt$1(component, t2); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -7960,18 +7284,18 @@ sourceLength = 1; } else sourceLength = 1; - replacement = P._Uri__escapeChar(char); + replacement = A._Uri__escapeChar(char); } } if (buffer == null) { - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); t2 = buffer; } else t2 = buffer; - t2._contents += C.JSString_methods.substring$2(component, sectionStart, index); - t2._contents += H.S(replacement); + t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); + t2._contents = t3 + A.S(replacement); if (typeof sourceLength !== "number") - return H.iae(sourceLength); + return A.iae(sourceLength); index += sourceLength; sectionStart = index; } @@ -7979,64 +7303,64 @@ if (buffer == null) return _null; if (sectionStart < end) - buffer._contents += C.JSString_methods.substring$2(component, sectionStart, end); + buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__mayContainDotSegments: function(path) { - if (C.JSString_methods.startsWith$1(path, ".")) + _Uri__mayContainDotSegments(path) { + if (B.JSString_methods.startsWith$1(path, ".")) return true; - return C.JSString_methods.indexOf$1(path, "/.") !== -1; + return B.JSString_methods.indexOf$1(path, "/.") !== -1; }, - _Uri__removeDotSegments: function(path) { + _Uri__removeDotSegments(path) { var output, t1, t2, appendSlash, _i, segment, t3; - if (!P._Uri__mayContainDotSegments(path)) + if (!A._Uri__mayContainDotSegments(path)) return path; - output = H.setRuntimeTypeInfo([], type$.JSArray_String); + output = A._setArrayType([], type$.JSArray_String); for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { segment = t1[_i]; if (J.$eq$(segment, "..")) { t3 = output.length; if (t3 !== 0) { if (0 >= t3) - return H.ioore(output, -1); + return A.ioore(output, -1); output.pop(); if (output.length === 0) - C.JSArray_methods.add$1(output, ""); + B.JSArray_methods.add$1(output, ""); } appendSlash = true; } else if ("." === segment) appendSlash = true; else { - C.JSArray_methods.add$1(output, segment); + B.JSArray_methods.add$1(output, segment); appendSlash = false; } } if (appendSlash) - C.JSArray_methods.add$1(output, ""); - return C.JSArray_methods.join$1(output, "/"); + B.JSArray_methods.add$1(output, ""); + return B.JSArray_methods.join$1(output, "/"); }, - _Uri__normalizeRelativePath: function(path, allowScheme) { + _Uri__normalizeRelativePath(path, allowScheme) { var output, t1, t2, appendSlash, _i, segment; - if (!P._Uri__mayContainDotSegments(path)) - return !allowScheme ? P._Uri__escapeScheme(path) : path; - output = H.setRuntimeTypeInfo([], type$.JSArray_String); + if (!A._Uri__mayContainDotSegments(path)) + return !allowScheme ? A._Uri__escapeScheme(path) : path; + output = A._setArrayType([], type$.JSArray_String); for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { segment = t1[_i]; if (".." === segment) - if (output.length !== 0 && C.JSArray_methods.get$last(output) !== "..") { + if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") { if (0 >= output.length) - return H.ioore(output, -1); + return A.ioore(output, -1); output.pop(); appendSlash = true; } else { - C.JSArray_methods.add$1(output, ".."); + B.JSArray_methods.add$1(output, ".."); appendSlash = false; } else if ("." === segment) appendSlash = true; else { - C.JSArray_methods.add$1(output, segment); + B.JSArray_methods.add$1(output, segment); appendSlash = false; } } @@ -8044,7 +7368,7 @@ if (t1 !== 0) if (t1 === 1) { if (0 >= t1) - return H.ioore(output, 0); + return A.ioore(output, 0); t1 = output[0].length === 0; } else t1 = false; @@ -8052,28 +7376,28 @@ t1 = true; if (t1) return "./"; - if (appendSlash || C.JSArray_methods.get$last(output) === "..") - C.JSArray_methods.add$1(output, ""); + if (appendSlash || B.JSArray_methods.get$last(output) === "..") + B.JSArray_methods.add$1(output, ""); if (!allowScheme) { if (0 >= output.length) - return H.ioore(output, 0); - C.JSArray_methods.$indexSet(output, 0, P._Uri__escapeScheme(output[0])); + return A.ioore(output, 0); + B.JSArray_methods.$indexSet(output, 0, A._Uri__escapeScheme(output[0])); } - return C.JSArray_methods.join$1(output, "/"); + return B.JSArray_methods.join$1(output, "/"); }, - _Uri__escapeScheme: function(path) { + _Uri__escapeScheme(path) { var i, char, t2, t1 = path.length; - if (t1 >= 2 && P._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(path, 0))) + if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0))) for (i = 1; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(path, i); + char = B.JSString_methods._codeUnitAt$1(path, i); if (char === 58) - return C.JSString_methods.substring$2(path, 0, i) + "%3A" + C.JSString_methods.substring$1(path, i + 1); + return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1); if (char <= 127) { t2 = char >>> 4; - if (t2 >= 8) - return H.ioore(C.List_JYB, t2); - t2 = (C.List_JYB[t2] & 1 << (char & 15)) === 0; + if (!(t2 < 8)) + return A.ioore(B.List_JYB, t2); + t2 = (B.List_JYB[t2] & 1 << (char & 15)) === 0; } else t2 = true; if (t2) @@ -8081,24 +7405,23 @@ } return path; }, - _Uri__packageNameEnd: function(uri, path) { + _Uri__packageNameEnd(uri, path) { if (uri.isScheme$1("package") && uri._host == null) - return P._skipPackageNameChars(path, 0, path.length); + return A._skipPackageNameChars(path, 0, path.length); return -1; }, - _Uri__toWindowsFilePath: function(uri) { - var hasDriveLetter, host, + _Uri__toWindowsFilePath(uri) { + var hasDriveLetter, t2, host, segments = uri.get$pathSegments(), - t1 = J.getInterceptor$asx(segments), - t2 = t1.get$length(segments); - if (typeof t2 !== "number") - return t2.$gt(); - if (t2 > 0 && J.get$length$asx(t1.$index(segments, 0)) === 2 && J.codeUnitAt$1$s(t1.$index(segments, 0), 1) === 58) { - P._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(t1.$index(segments, 0), 0), false); - P._Uri__checkWindowsPathReservedCharacters(segments, false, 1); + t1 = segments.length; + if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) { + if (0 >= t1) + return A.ioore(segments, 0); + A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); + A._Uri__checkWindowsPathReservedCharacters(segments, false, 1); hasDriveLetter = true; } else { - P._Uri__checkWindowsPathReservedCharacters(segments, false, 0); + A._Uri__checkWindowsPathReservedCharacters(segments, false, 0); hasDriveLetter = false; } t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : ""; @@ -8107,14 +7430,14 @@ if (host.length !== 0) t2 = t2 + "\\" + host + "\\"; } - t2 = P.StringBuffer__writeAll(t2, segments, "\\"); - t1 = hasDriveLetter && t1.get$length(segments) === 1 ? t2 + "\\" : t2; + t2 = A.StringBuffer__writeAll(t2, segments, "\\"); + t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__hexCharPairToByte: function(s, pos) { + _Uri__hexCharPairToByte(s, pos) { var byte, i, charCode; for (byte = 0, i = 0; i < 2; ++i) { - charCode = C.JSString_methods._codeUnitAt$1(s, pos + i); + charCode = B.JSString_methods._codeUnitAt$1(s, pos + i); if (48 <= charCode && charCode <= 57) byte = byte * 16 + charCode - 48; else { @@ -8122,12 +7445,12 @@ if (97 <= charCode && charCode <= 102) byte = byte * 16 + charCode - 87; else - throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); + throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null)); } } return byte; }, - _Uri__uriDecode: function(text, start, end, encoding, plusToSpace) { + _Uri__uriDecode(text, start, end, encoding, plusToSpace) { var simple, codeUnit, t2, bytes, t1 = J.getInterceptor$s(text), i = start; @@ -8151,41 +7474,41 @@ ++i; } if (simple) { - if (C.C_Utf8Codec !== encoding) + if (B.C_Utf8Codec !== encoding) t2 = false; else t2 = true; if (t2) return t1.substring$2(text, start, end); else - bytes = new H.CodeUnits(t1.substring$2(text, start, end)); + bytes = new A.CodeUnits(t1.substring$2(text, start, end)); } else { - bytes = H.setRuntimeTypeInfo([], type$.JSArray_int); + bytes = A._setArrayType([], type$.JSArray_int); for (i = start; i < end; ++i) { codeUnit = t1._codeUnitAt$1(text, i); if (codeUnit > 127) - throw H.wrapException(P.ArgumentError$("Illegal percent encoding in URI")); + throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); if (codeUnit === 37) { if (i + 3 > text.length) - throw H.wrapException(P.ArgumentError$("Truncated URI")); - C.JSArray_methods.add$1(bytes, P._Uri__hexCharPairToByte(text, i + 1)); + throw A.wrapException(A.ArgumentError$("Truncated URI", null)); + B.JSArray_methods.add$1(bytes, A._Uri__hexCharPairToByte(text, i + 1)); i += 2; } else - C.JSArray_methods.add$1(bytes, codeUnit); + B.JSArray_methods.add$1(bytes, codeUnit); } } return encoding.decode$1(0, bytes); }, - _Uri__isAlphabeticCharacter: function(codeUnit) { + _Uri__isAlphabeticCharacter(codeUnit) { var lowerCase = codeUnit | 32; return 97 <= lowerCase && lowerCase <= 122; }, - UriData__parse: function(text, start, sourceUri) { + UriData__parse(text, start, sourceUri) { var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data, _s17_ = "Invalid MIME type", - indices = H.setRuntimeTypeInfo([start - 1], type$.JSArray_int); + indices = A._setArrayType([start - 1], type$.JSArray_int); for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(text, i); + char = B.JSString_methods._codeUnitAt$1(text, i); if (char === 44 || char === 59) break; if (char === 47) { @@ -8193,16 +7516,16 @@ slashIndex = i; continue; } - throw H.wrapException(P.FormatException$(_s17_, text, i)); + throw A.wrapException(A.FormatException$(_s17_, text, i)); } } if (slashIndex < 0 && i > start) - throw H.wrapException(P.FormatException$(_s17_, text, i)); + throw A.wrapException(A.FormatException$(_s17_, text, i)); for (; char !== 44;) { - C.JSArray_methods.add$1(indices, i); + B.JSArray_methods.add$1(indices, i); ++i; for (equalsIndex = -1; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(text, i); + char = B.JSString_methods._codeUnitAt$1(text, i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; @@ -8210,181 +7533,193 @@ break; } if (equalsIndex >= 0) - C.JSArray_methods.add$1(indices, equalsIndex); + B.JSArray_methods.add$1(indices, equalsIndex); else { - lastSeparator = C.JSArray_methods.get$last(indices); - if (char !== 44 || i !== lastSeparator + 7 || !C.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) - throw H.wrapException(P.FormatException$("Expecting '='", text, i)); + lastSeparator = B.JSArray_methods.get$last(indices); + if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) + throw A.wrapException(A.FormatException$("Expecting '='", text, i)); break; } } - C.JSArray_methods.add$1(indices, i); + B.JSArray_methods.add$1(indices, i); t2 = i + 1; if ((indices.length & 1) === 1) - text = C.C_Base64Codec.normalize$3(0, text, t2, t1); + text = B.C_Base64Codec.normalize$3(0, text, t2, t1); else { - data = P._Uri__normalize(text, t2, t1, C.List_CVk, true); + data = A._Uri__normalize(text, t2, t1, B.List_CVk, true, false); if (data != null) - text = C.JSString_methods.replaceRange$3(text, t2, t1, data); + text = B.JSString_methods.replaceRange$3(text, t2, t1, data); } - return new P.UriData(text, indices, sourceUri); + return new A.UriData(text, indices, sourceUri); }, - _createTables: function() { - var _i, t2, t3, t4, t5, + _createTables() { + var _i, t2, t3, t4, b, _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", - _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#", + _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\", t1 = type$.Uint8List, tables = J.JSArray_JSArray$allocateGrowable(22, t1); for (_i = 0; _i < 22; ++_i) tables[_i] = new Uint8Array(96); - t2 = new P._createTables_build(tables); - t3 = new P._createTables_setChars(); - t4 = new P._createTables_setRange(); - t5 = t1._as(t2.call$2(0, 225)); - t3.call$3(t5, _s77_, 1); - t3.call$3(t5, _s1_, 14); - t3.call$3(t5, _s1_0, 34); - t3.call$3(t5, _s1_1, 3); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(14, 225)); - t3.call$3(t5, _s77_, 1); - t3.call$3(t5, _s1_, 15); - t3.call$3(t5, _s1_0, 34); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(15, 225)); - t3.call$3(t5, _s77_, 1); - t3.call$3(t5, "%", 225); - t3.call$3(t5, _s1_0, 34); - t3.call$3(t5, _s1_1, 9); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(1, 225)); - t3.call$3(t5, _s77_, 1); - t3.call$3(t5, _s1_0, 34); - t3.call$3(t5, _s1_1, 10); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(2, 235)); - t3.call$3(t5, _s77_, 139); - t3.call$3(t5, _s1_1, 131); - t3.call$3(t5, _s1_, 146); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(3, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_1, 68); - t3.call$3(t5, _s1_, 18); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(4, 229)); - t3.call$3(t5, _s77_, 5); - t4.call$3(t5, "AZ", 229); - t3.call$3(t5, _s1_0, 102); - t3.call$3(t5, "@", 68); - t3.call$3(t5, "[", 232); - t3.call$3(t5, _s1_1, 138); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(5, 229)); - t3.call$3(t5, _s77_, 5); - t4.call$3(t5, "AZ", 229); - t3.call$3(t5, _s1_0, 102); - t3.call$3(t5, "@", 68); - t3.call$3(t5, _s1_1, 138); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(6, 231)); - t4.call$3(t5, "19", 7); - t3.call$3(t5, "@", 68); - t3.call$3(t5, _s1_1, 138); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(7, 231)); - t4.call$3(t5, "09", 7); - t3.call$3(t5, "@", 68); - t3.call$3(t5, _s1_1, 138); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t3.call$3(t1._as(t2.call$2(8, 8)), "]", 5); - t5 = t1._as(t2.call$2(9, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_, 16); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(16, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_, 17); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(17, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_1, 9); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(10, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_, 18); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(18, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_, 19); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(19, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_1, 234); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(11, 235)); - t3.call$3(t5, _s77_, 11); - t3.call$3(t5, _s1_1, 10); - t3.call$3(t5, _s1_2, 172); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(12, 236)); - t3.call$3(t5, _s77_, 12); - t3.call$3(t5, _s1_2, 12); - t3.call$3(t5, _s1_3, 205); - t5 = t1._as(t2.call$2(13, 237)); - t3.call$3(t5, _s77_, 13); - t3.call$3(t5, _s1_2, 13); - t4.call$3(t1._as(t2.call$2(20, 245)), "az", 21); - t2 = t1._as(t2.call$2(21, 245)); - t4.call$3(t2, "az", 21); - t4.call$3(t2, "09", 21); - t3.call$3(t2, "+-.", 21); + t2 = new A._createTables_build(tables); + t3 = new A._createTables_setChars(); + t4 = new A._createTables_setRange(); + t1 = t1._as(t2.call$2(0, 225)); + t3.call$3(t1, _s77_, 1); + t3.call$3(t1, _s1_, 14); + t3.call$3(t1, _s1_0, 34); + t3.call$3(t1, _s1_1, 3); + t3.call$3(t1, _s1_2, 227); + t3.call$3(t1, _s1_3, 172); + t3.call$3(t1, _s1_4, 205); + b = t2.call$2(14, 225); + t3.call$3(b, _s77_, 1); + t3.call$3(b, _s1_, 15); + t3.call$3(b, _s1_0, 34); + t3.call$3(b, _s2_, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(15, 225); + t3.call$3(b, _s77_, 1); + t3.call$3(b, "%", 225); + t3.call$3(b, _s1_0, 34); + t3.call$3(b, _s1_1, 9); + t3.call$3(b, _s1_2, 233); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(1, 225); + t3.call$3(b, _s77_, 1); + t3.call$3(b, _s1_0, 34); + t3.call$3(b, _s1_1, 10); + t3.call$3(b, _s1_2, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(2, 235); + t3.call$3(b, _s77_, 139); + t3.call$3(b, _s1_1, 131); + t3.call$3(b, _s1_2, 131); + t3.call$3(b, _s1_, 146); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(3, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_1, 68); + t3.call$3(b, _s1_2, 68); + t3.call$3(b, _s1_, 18); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(4, 229); + t3.call$3(b, _s77_, 5); + t4.call$3(b, "AZ", 229); + t3.call$3(b, _s1_0, 102); + t3.call$3(b, "@", 68); + t3.call$3(b, "[", 232); + t3.call$3(b, _s1_1, 138); + t3.call$3(b, _s1_2, 138); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(5, 229); + t3.call$3(b, _s77_, 5); + t4.call$3(b, "AZ", 229); + t3.call$3(b, _s1_0, 102); + t3.call$3(b, "@", 68); + t3.call$3(b, _s1_1, 138); + t3.call$3(b, _s1_2, 138); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(6, 231); + t4.call$3(b, "19", 7); + t3.call$3(b, "@", 68); + t3.call$3(b, _s1_1, 138); + t3.call$3(b, _s1_2, 138); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(7, 231); + t4.call$3(b, "09", 7); + t3.call$3(b, "@", 68); + t3.call$3(b, _s1_1, 138); + t3.call$3(b, _s1_2, 138); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + t3.call$3(t2.call$2(8, 8), "]", 5); + b = t2.call$2(9, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_, 16); + t3.call$3(b, _s2_, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(16, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_, 17); + t3.call$3(b, _s2_, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(17, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_1, 9); + t3.call$3(b, _s1_2, 233); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(10, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_, 18); + t3.call$3(b, _s1_1, 10); + t3.call$3(b, _s1_2, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(18, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_, 19); + t3.call$3(b, _s2_, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(19, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s2_, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(11, 235); + t3.call$3(b, _s77_, 11); + t3.call$3(b, _s1_1, 10); + t3.call$3(b, _s1_2, 234); + t3.call$3(b, _s1_3, 172); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(12, 236); + t3.call$3(b, _s77_, 12); + t3.call$3(b, _s1_3, 12); + t3.call$3(b, _s1_4, 205); + b = t2.call$2(13, 237); + t3.call$3(b, _s77_, 13); + t3.call$3(b, _s1_3, 13); + t4.call$3(t2.call$2(20, 245), "az", 21); + b = t2.call$2(21, 245); + t4.call$3(b, "az", 21); + t4.call$3(b, "09", 21); + t3.call$3(b, "+-.", 21); return tables; }, - _scan: function(uri, start, end, state, indices) { + _scan(uri, start, end, state, indices) { var i, table, char, transition, tables = $.$get$_scannerTables(); for (i = start; i < end; ++i) { - if (state < 0 || state >= tables.length) - return H.ioore(tables, state); + if (!(state >= 0 && state < tables.length)) + return A.ioore(tables, state); table = tables[state]; - char = C.JSString_methods._codeUnitAt$1(uri, i) ^ 96; + char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96; transition = table[char > 95 ? 31 : char]; state = transition & 31; - C.JSArray_methods.$indexSet(indices, transition >>> 5, i); + B.JSArray_methods.$indexSet(indices, transition >>> 5, i); } return state; }, - _SimpleUri__packageNameEnd: function(uri) { - if (uri._schemeEnd === 7 && C.JSString_methods.startsWith$1(uri._core$_uri, "package") && uri._hostStart <= 0) - return P._skipPackageNameChars(uri._core$_uri, uri._pathStart, uri._queryStart); + _SimpleUri__packageNameEnd(uri) { + if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._core$_uri, "package") && uri._hostStart <= 0) + return A._skipPackageNameChars(uri._core$_uri, uri._pathStart, uri._queryStart); return -1; }, - _skipPackageNameChars: function(source, start, end) { + _skipPackageNameChars(source, start, end) { var i, dots, char; for (i = start, dots = 0; i < end; ++i) { - char = C.JSString_methods.codeUnitAt$1(source, i); + char = B.JSString_methods.codeUnitAt$1(source, i); if (char === 47) return dots !== 0 ? i : -1; if (char === 37 || char === 58) @@ -8393,6 +7728,25 @@ } return -1; }, + _caseInsensitiveCompareStart(prefix, string, start) { + var t1, result, i, prefixChar, stringChar, delta, lowerChar; + for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) { + prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i); + stringChar = B.JSString_methods._codeUnitAt$1(string, start + i); + delta = prefixChar ^ stringChar; + if (delta !== 0) { + if (delta === 32) { + lowerChar = stringChar | delta; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; + }, NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { this._box_0 = t0; this.sb = t1; @@ -8407,7 +7761,7 @@ _BigIntImpl_hashCode_finish: function _BigIntImpl_hashCode_finish() { }, DateTime: function DateTime(t0, t1) { - this._value = t0; + this._core$_value = t0; this.isUtc = t1; }, DateTime_parse_parseIntOrZero: function DateTime_parse_parseIntOrZero() { @@ -8417,9 +7771,7 @@ Duration: function Duration(t0) { this._duration = t0; }, - Duration_toString_sixDigits: function Duration_toString_sixDigits() { - }, - Duration_toString_twoDigits: function Duration_toString_twoDigits() { + _Enum: function _Enum() { }, Error: function Error() { }, @@ -8454,12 +7806,13 @@ _.name = t3; _.message = t4; }, - NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) { + NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3, t4) { var _ = this; _._core$_receiver = t0; _._core$_memberName = t1; _._core$_arguments = t2; _._namedArguments = t3; + _._existingArgumentNames = t4; }, UnsupportedError: function UnsupportedError(t0) { this.message = t0; @@ -8490,11 +7843,6 @@ }, IntegerDivisionByZeroException: function IntegerDivisionByZeroException() { }, - Expando: function Expando(t0, t1, t2) { - this._jsWeakMapOrKey = t0; - this.name = t1; - this.$ti = t2; - }, Iterable: function Iterable() { }, Iterator: function Iterator() { @@ -8541,10 +7889,10 @@ _.path = t4; _._query = t5; _._fragment = t6; - _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; + _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, UriData: function UriData(t0, t1, t2) { - this._text = t0; + this._core$_text = t0; this._separatorIndices = t1; this._uriCache = t2; }, @@ -8576,648 +7924,140 @@ _.path = t4; _._query = t5; _._fragment = t6; - _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; - }, - convertNativeToDart_Dictionary: function(object) { - var dict, keys, t1, _i, t2; - if (object == null) - return null; - dict = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); - keys = Object.getOwnPropertyNames(object); - for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { - t2 = H._asStringS(keys[_i]); - dict.$indexSet(0, t2, object[t2]); - } - return dict; - }, - _convertDartToNative_Value: function(value) { - var array; - if (value == null) - return value; - if (typeof value == "string" || typeof value == "number" || H._isBool(value)) - return value; - if (type$.Map_dynamic_dynamic._is(value)) - return P.convertDartToNative_Dictionary(value); - if (type$.List_dynamic._is(value)) { - array = []; - J.forEach$1$ax(value, new P._convertDartToNative_Value_closure(array)); - value = array; - } - return value; - }, - convertDartToNative_Dictionary: function(dict) { - var object = {}; - J.forEach$1$ax(dict, new P.convertDartToNative_Dictionary_closure(object)); - return object; - }, - Device_userAgent: function() { - return window.navigator.userAgent; - }, - _StructuredClone: function _StructuredClone() { - }, - _StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; - }, - _StructuredClone_walk_closure0: function _StructuredClone_walk_closure0(t0, t1) { - this._box_0 = t0; - this.$this = t1; - }, - _AcceptStructuredClone: function _AcceptStructuredClone() { - }, - _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; - }, - _convertDartToNative_Value_closure: function _convertDartToNative_Value_closure(t0) { - this.array = t0; - }, - convertDartToNative_Dictionary_closure: function convertDartToNative_Dictionary_closure(t0) { - this.object = t0; - }, - _StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) { - this.values = t0; - this.copies = t1; - }, - _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { - this.values = t0; - this.copies = t1; - this.mustCopy = false; - }, - CssClassSetImpl: function CssClassSetImpl() { - }, - CssClassSetImpl_add_closure: function CssClassSetImpl_add_closure(t0) { - this.value = t0; - }, - CssClassSetImpl_addAll_closure: function CssClassSetImpl_addAll_closure(t0, t1) { - this.$this = t0; - this.iterable = t1; - }, - CssClassSetImpl_removeAll_closure: function CssClassSetImpl_removeAll_closure(t0) { - this.iterable = t0; - }, - CssClassSetImpl_removeWhere_closure: function CssClassSetImpl_removeWhere_closure(t0) { - this.test = t0; - }, - CssClassSetImpl_clear_closure: function CssClassSetImpl_clear_closure() { - }, - FilteredElementList: function FilteredElementList(t0, t1) { - this._node = t0; - this._childNodes = t1; - }, - FilteredElementList__iterable_closure: function FilteredElementList__iterable_closure() { - }, - FilteredElementList__iterable_closure0: function FilteredElementList__iterable_closure0() { - }, - FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() { - }, - _completeRequest: function(request, $T) { - var t2, t3, t4, - t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")), - completer = new P._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>")); - request.toString; - t2 = type$.nullable_void_Function_legacy_Event; - t3 = t2._as(new P._completeRequest_closure(request, completer, $T)); - type$.nullable_void_Function._as(null); - t4 = type$.legacy_Event; - W._EventStreamSubscription$(request, "success", t3, false, t4); - W._EventStreamSubscription$(request, "error", t2._as(completer.get$completeError()), false, t4); - return t1; - }, - Cursor: function Cursor() { - }, - CursorWithValue: function CursorWithValue() { - }, - _completeRequest_closure: function _completeRequest_closure(t0, t1, t2) { - this.request = t0; - this.completer = t1; - this.T = t2; - }, - KeyRange: function KeyRange() { - }, - ObjectStore: function ObjectStore() { - }, - Observation: function Observation() { - }, - Request0: function Request0() { - }, - VersionChangeEvent: function VersionChangeEvent() { - }, - _callDartFunction: function(callback, captureThis, $self, $arguments) { - var arguments0, t1, dartArgs; - H._asBoolS(captureThis); - type$.List_dynamic._as($arguments); - if (H.boolConversionCheck(captureThis)) { - arguments0 = [$self]; - C.JSArray_methods.addAll$1(arguments0, $arguments); - $arguments = arguments0; - } - t1 = type$.dynamic; - dartArgs = P.List_List$from(J.map$1$1$ax($arguments, P.js___convertToDart$closure(), t1), true, t1); - return P._convertToJS(P.Function_apply(type$.Function._as(callback), dartArgs)); - }, - JsArray__checkRange: function(start, end, $length) { - var _null = null; - if (typeof start !== "number") - return start.$lt(); - if (start < 0 || start > $length) - throw H.wrapException(P.RangeError$range(start, 0, $length, _null, _null)); - if (typeof end !== "number") - return end.$lt(); - if (end < start || end > $length) - throw H.wrapException(P.RangeError$range(end, start, $length, _null, _null)); - }, - _defineProperty: function(o, $name, value) { - var exception; - try { - if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name)) { - Object.defineProperty(o, $name, {value: value}); - return true; - } - } catch (exception) { - H.unwrapException(exception); - } - return false; - }, - _getOwnProperty: function(o, $name) { - if (Object.prototype.hasOwnProperty.call(o, $name)) - return o[$name]; - return null; - }, - _convertToJS: function(o) { - if (o == null || typeof o == "string" || typeof o == "number" || H._isBool(o)) - return o; - if (o instanceof P.JsObject) - return o._js$_jsObject; - if (H.isBrowserObject(o)) - return o; - if (type$.TypedData._is(o)) - return o; - if (o instanceof P.DateTime) - return H.Primitives_lazyAsJsDate(o); - if (type$.Function._is(o)) - return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()); - return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.$get$_dartProxyCtor())); + _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, - _getJsProxy: function(o, propertyName, createProxy) { - var jsProxy = P._getOwnProperty(o, propertyName); - if (jsProxy == null) { - jsProxy = createProxy.call$1(o); - P._defineProperty(o, propertyName, jsProxy); - } - return jsProxy; - }, - _convertToDart: function(o) { - if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") - return o; - else if (o instanceof Object && H.isBrowserObject(o)) - return o; - else if (o instanceof Object && type$.TypedData._is(o)) - return o; - else if (o instanceof Date) - return P.DateTime$fromMillisecondsSinceEpoch(H._asIntS(o.getTime()), false); - else if (o.constructor === $.$get$_dartProxyCtor()) - return o.o; - else - return P._wrapToDart(o); - }, - _wrapToDart: function(o) { - if (typeof o == "function") - return P._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new P._wrapToDart_closure()); - if (o instanceof Array) - return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure0()); - return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure1()); - }, - _getDartProxy: function(o, propertyName, createProxy) { - var dartProxy = P._getOwnProperty(o, propertyName); - if (dartProxy == null || !(o instanceof Object)) { - dartProxy = createProxy.call$1(o); - P._defineProperty(o, propertyName, dartProxy); - } - return dartProxy; - }, - _convertDartFunctionFast: function(f) { - var ret, - existing = f.$dart_jsFunction; - if (existing != null) - return existing; - ret = function(_call, f) { - return function() { - return _call(f, Array.prototype.slice.apply(arguments)); - }; - }(P._callDartFunctionFast, f); - ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; - f.$dart_jsFunction = ret; - return ret; - }, - _callDartFunctionFast: function(callback, $arguments) { - type$.List_dynamic._as($arguments); - return P.Function_apply(type$.Function._as(callback), $arguments); - }, - allowInterop: function(f, $F) { - if (typeof f == "function") - return f; - else - return $F._as(P._convertDartFunctionFast(f)); - }, - _convertToJS_closure: function _convertToJS_closure() { - }, - _convertToJS_closure0: function _convertToJS_closure0(t0) { - this.ctor = t0; - }, - _wrapToDart_closure: function _wrapToDart_closure() { - }, - _wrapToDart_closure0: function _wrapToDart_closure0() { - }, - _wrapToDart_closure1: function _wrapToDart_closure1() { - }, - JsObject: function JsObject(t0) { - this._js$_jsObject = t0; - }, - JsFunction: function JsFunction(t0) { - this._js$_jsObject = t0; - }, - JsArray: function JsArray(t0, t1) { - this._js$_jsObject = t0; - this.$ti = t1; - }, - _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { - }, - jsify: function(object) { - if (!type$.Map_dynamic_dynamic._is(object) && !type$.Iterable_dynamic._is(object)) - throw H.wrapException(P.ArgumentError$("object must be a Map or Iterable")); - return P._convertDataTree0(object); - }, - _convertDataTree0: function(data) { - var t1 = new P._convertDataTree__convert0(new P._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data); - t1.toString; - return t1; - }, - promiseToFuture: function(jsPromise, $T) { - var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")), - completer = new P._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); - jsPromise.then(H.convertDartClosureToJS(new P.promiseToFuture_closure(completer, $T), 1), H.convertDartClosureToJS(new P.promiseToFuture_closure0(completer), 1)); - return t1; - }, - _convertDataTree__convert0: function _convertDataTree__convert0(t0) { - this._convertedObjects = t0; - }, - NullRejectionException: function NullRejectionException(t0) { - this.isUndefined = t0; - }, - promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { - this.completer = t0; - this.T = t1; - }, - promiseToFuture_closure0: function promiseToFuture_closure0(t0) { - this.completer = t0; - }, - min: function(a, b, $T) { - H.checkTypeBound($T, type$.num, "T", "min"); - $T._as(a); - $T._as(b); - return Math.min(H.checkNum(a), H.checkNum(b)); - }, - max: function(a, b, $T) { - H.checkTypeBound($T, type$.num, "T", "max"); - $T._as(a); - $T._as(b); - return Math.max(H.checkNum(a), H.checkNum(b)); - }, - Rectangle$: function(left, $top, width, height, $T) { - var t1, t2; - if (typeof width !== "number") - return width.$lt(); - if (width < 0) - t1 = -width * 0; - else - t1 = width; - $T._as(t1); - if (typeof height !== "number") - return height.$lt(); - if (height < 0) - t2 = -height * 0; - else - t2 = height; - return new P.Rectangle(left, $top, t1, $T._as(t2), $T._eval$1("Rectangle<0>")); - }, - Point: function Point(t0, t1, t2) { - this.x = t0; - this.y = t1; + Expando: function Expando(t0, t1, t2) { + this._jsWeakMap = t0; + this.name = t1; this.$ti = t2; }, - _RectangleBase: function _RectangleBase() { - }, - Rectangle: function Rectangle(t0, t1, t2, t3, t4) { - var _ = this; - _.left = t0; - _.top = t1; - _.width = t2; - _.height = t3; - _.$ti = t4; - }, - SvgSvgElement_SvgSvgElement: function() { - var el = type$.SvgElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "svg")); - el.setAttribute("version", "1.1"); - return type$.SvgSvgElement._as(el); - }, - AElement: function AElement() { - }, - Angle: function Angle() { - }, - CircleElement: function CircleElement() { - }, - DefsElement: function DefsElement() { - }, - FEGaussianBlurElement: function FEGaussianBlurElement() { - }, - FEMergeElement: function FEMergeElement() { - }, - FEMergeNodeElement: function FEMergeNodeElement() { - }, - FilterElement: function FilterElement() { - }, - GElement: function GElement() { - }, - GeometryElement: function GeometryElement() { - }, - GraphicsElement: function GraphicsElement() { - }, - Length: function Length() { - }, - LengthList: function LengthList() { - }, - Number: function Number() { - }, - NumberList: function NumberList() { - }, - Point0: function Point0() { - }, - PointList: function PointList() { - }, - PolygonElement: function PolygonElement() { - }, - RectElement: function RectElement() { - }, - StringList: function StringList() { - }, - AttributeClassSet: function AttributeClassSet(t0) { - this._svg$_element = t0; - }, - SvgElement: function SvgElement() { - }, - SvgSvgElement: function SvgSvgElement() { - }, - TextContentElement: function TextContentElement() { - }, - TextElement: function TextElement() { - }, - TextPathElement: function TextPathElement() { - }, - TextPositioningElement: function TextPositioningElement() { - }, - Transform: function Transform() { - }, - TransformList: function TransformList() { - }, - _LengthList_Interceptor_ListMixin: function _LengthList_Interceptor_ListMixin() { - }, - _LengthList_Interceptor_ListMixin_ImmutableListMixin: function _LengthList_Interceptor_ListMixin_ImmutableListMixin() { - }, - _NumberList_Interceptor_ListMixin: function _NumberList_Interceptor_ListMixin() { - }, - _NumberList_Interceptor_ListMixin_ImmutableListMixin: function _NumberList_Interceptor_ListMixin_ImmutableListMixin() { - }, - _StringList_Interceptor_ListMixin: function _StringList_Interceptor_ListMixin() { - }, - _StringList_Interceptor_ListMixin_ImmutableListMixin: function _StringList_Interceptor_ListMixin_ImmutableListMixin() { - }, - _TransformList_Interceptor_ListMixin: function _TransformList_Interceptor_ListMixin() { - }, - _TransformList_Interceptor_ListMixin_ImmutableListMixin: function _TransformList_Interceptor_ListMixin_ImmutableListMixin() { - }, - UnmodifiableUint8ListView$: function(list) { - return new P.UnmodifiableUint8ListView(list); - }, - Endian: function Endian() { - }, - UnmodifiableByteBufferView: function UnmodifiableByteBufferView(t0) { - this._typed_data$_data = t0; - }, - UnmodifiableByteDataView: function UnmodifiableByteDataView(t0) { - this._typed_data$_data = t0; - }, - _UnmodifiableListMixin: function _UnmodifiableListMixin() { - }, - UnmodifiableUint8ListView: function UnmodifiableUint8ListView(t0) { - this._typed_data$_list = t0; - }, - UnmodifiableInt32ListView: function UnmodifiableInt32ListView(t0) { - this._typed_data$_list = t0; - }, - _UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin: function _UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin() { - }, - _UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin: function _UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin() { - }, - AudioBuffer: function AudioBuffer() { - }, - AudioNode: function AudioNode() { - }, - AudioParam: function AudioParam() { - }, - AudioParamMap: function AudioParamMap() { - }, - AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { - this.keys = t0; - }, - AudioParamMap_values_closure: function AudioParamMap_values_closure(t0) { - this.values = t0; - }, - AudioScheduledSourceNode: function AudioScheduledSourceNode() { - }, - AudioTrackList: function AudioTrackList() { - }, - BaseAudioContext: function BaseAudioContext() { - }, - ConstantSourceNode: function ConstantSourceNode() { - }, - OfflineAudioContext: function OfflineAudioContext() { - }, - _AudioParamMap_Interceptor_MapMixin: function _AudioParamMap_Interceptor_MapMixin() { - }, - SqlError: function SqlError() { - }, - SqlResultSetRowList: function SqlResultSetRowList() { - }, - _SqlResultSetRowList_Interceptor_ListMixin: function _SqlResultSetRowList_Interceptor_ListMixin() { - }, - _SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin: function _SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin() { - } - }, - W = { - document: function() { + document() { return document; }, - AnchorElement_AnchorElement: function() { + AnchorElement_AnchorElement() { var e = document.createElement("a"); return e; }, - Blob_Blob: function(blobParts, type) { - var bag, - t1 = type == null; - if (t1 && true) - return new self.Blob(blobParts); - bag = {}; - if (!t1) - bag.type = type; + Blob_Blob(blobParts, type) { + var bag = {}; + bag.type = type; return new self.Blob(blobParts, bag); }, - DomMatrix_DomMatrix: function($init) { + DomMatrix_DomMatrix($init) { var t1 = new DOMMatrix($init); return t1; }, - DomPoint_fromPoint: function(other) { - var t1 = W.DomPoint__fromPoint_1(P.convertDartToNative_Dictionary(other)); + DomPoint_fromPoint(other) { + var t1 = A.DomPoint__fromPoint_1(A.convertDartToNative_Dictionary(other)); return t1; }, - DomPoint__fromPoint_1: function(other) { + DomPoint__fromPoint_1(other) { return DOMPoint.fromPoint(other); }, - _ChildrenElementList__addAll: function(_element, iterable) { + _ChildrenElementList__addAll(_element, iterable) { var t1; - for (t1 = J.get$iterator$ax(iterable instanceof W._ChildNodeListLazy ? P.List_List$from(iterable, true, type$.Element) : iterable); t1.moveNext$0();) + for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) _element.appendChild(t1.get$current(t1)); }, - Element_Element$html: function(html, treeSanitizer, validator) { + Element_Element$html(html, treeSanitizer, validator) { var fragment, t1 = document.body; t1.toString; - fragment = C.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator); + fragment = B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator); fragment.toString; t1 = type$._ChildNodeListLazy; - t1 = new H.WhereIterable(new W._ChildNodeListLazy(fragment), t1._eval$1("bool(ListMixin.E)")._as(new W.Element_Element$html_closure()), t1._eval$1("WhereIterable")); + t1 = new A.WhereIterable(new A._ChildNodeListLazy(fragment), t1._eval$1("bool(ListMixin.E)")._as(new A.Element_Element$html_closure()), t1._eval$1("WhereIterable")); return type$.Element._as(t1.get$single(t1)); }, - Element__safeTagName: function(element) { + Element__safeTagName(element) { var t1, exception, result = "element tag unavailable"; try { - t1 = J.getInterceptor$x(element); - if (typeof t1.get$tagName(element) == "string") - result = t1.get$tagName(element); + t1 = element.tagName; + if (typeof t1 == "string") + result = t1; } catch (exception) { - H.unwrapException(exception); } return result; }, - HttpRequest_getString: function(url) { - return W.HttpRequest_request(url, null, null, null).then$1$1(0, new W.HttpRequest_getString_closure(), type$.String); + HttpRequest_getString(url) { + return A.HttpRequest_request(url, null, null, null).then$1$1(0, new A.HttpRequest_getString_closure(), type$.String); }, - HttpRequest_request: function(url, onProgress, responseType, withCredentials) { + HttpRequest_request(url, onProgress, responseType, withCredentials) { var t2, t3, t4, - t1 = new P._Future($.Zone__current, type$._Future_HttpRequest), - completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest), + t1 = new A._Future($.Zone__current, type$._Future_HttpRequest), + completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest), xhr = new XMLHttpRequest(); - C.HttpRequest_methods.open$3$async(xhr, "GET", url, true); + B.HttpRequest_methods.open$3$async(xhr, "GET", url, true); if (responseType != null) xhr.responseType = responseType; t2 = type$.nullable_void_Function_legacy_ProgressEvent; - t3 = t2._as(new W.HttpRequest_request_closure(xhr, completer)); + t3 = t2._as(new A.HttpRequest_request_closure(xhr, completer)); type$.nullable_void_Function._as(null); t4 = type$.legacy_ProgressEvent; - W._EventStreamSubscription$(xhr, "load", t3, false, t4); - W._EventStreamSubscription$(xhr, "error", t2._as(completer.get$completeError()), false, t4); + A._EventStreamSubscription$(xhr, "load", t3, false, t4); + A._EventStreamSubscription$(xhr, "error", t2._as(completer.get$completeError()), false, t4); xhr.send(); return t1; }, - ImageElement_ImageElement: function(src) { + ImageElement_ImageElement(src) { var e = document.createElement("img"); - C.ImageElement_methods.set$src(e, src); + B.ImageElement_methods.set$src(e, src); return e; }, - MouseEvent_MouseEvent: function(type, relatedTarget) { + MouseEvent_MouseEvent(type, relatedTarget) { var view = window, $event = type$.MouseEvent._as(document.createEvent("MouseEvent")); $event.toString; - J._initMouseEvent_1$15$x($event, type, true, true, view, 0, 0, 0, 0, 0, false, false, false, false, 0, W._convertDartToNative_EventTarget(relatedTarget)); + J._initMouseEvent_1$15$x($event, type, true, true, view, 0, 0, 0, 0, 0, false, false, false, false, 0, A._convertDartToNative_EventTarget(relatedTarget)); return $event; }, - TouchEvent_TouchEvent: function(type) { + TouchEvent_TouchEvent(type) { return new TouchEvent(type); }, - TouchEvent_supported: function() { + TouchEvent_supported() { var exception; try { - W.TouchEvent_TouchEvent("touches"); + A.TouchEvent_TouchEvent("touches"); return true; } catch (exception) { - H.unwrapException(exception); } return false; }, - _JenkinsSmiHash_combine: function(hash, value) { - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; - }, - _JenkinsSmiHash_hash4: function(a, b, c, d) { - var t1 = W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, a), b), c), d), - hash = t1 + ((t1 & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; - }, - _ElementCssClassSet__addAll: function(_element, iterable) { - var t1, + _ElementCssClassSet__removeAll(_element, iterable) { + var t1, _i, list = _element.classList; - for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) - list.add(t1.get$current(t1)); - }, - _ElementCssClassSet__removeAll: function(_element, iterable) { - var t1, - list = _element.classList; - for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) - list.remove(H._asStringS(t1.get$current(t1))); - }, - _ElementCssClassSet__removeWhere: function(_element, test, doRemove) { - var i, t1, - list = _element.classList; - for (i = 0; i < list.length;) { - t1 = list.item(i); - t1.toString; - if (true === test.call$1(t1)) - list.remove(t1); - else - ++i; - } + for (t1 = iterable.length, _i = 0; _i < iterable.length; iterable.length === t1 || (0, A.throwConcurrentModificationError)(iterable), ++_i) + list.remove(A._asStringS(iterable[_i])); }, - _EventStreamSubscription$: function(_target, _eventType, onData, _useCapture, $T) { - var t1 = onData == null ? null : W._wrapZone(new W._EventStreamSubscription_closure(onData), type$.Event); - t1 = new W._EventStreamSubscription(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription<0>")); + _EventStreamSubscription$(_target, _eventType, onData, _useCapture, $T) { + var t1 = onData == null ? null : A._wrapZone(new A._EventStreamSubscription_closure(onData), type$.Event); + t1 = new A._EventStreamSubscription(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription<0>")); t1._tryResume$0(); return t1; }, - _Html5NodeValidator$: function(uriPolicy) { - var t1 = W.AnchorElement_AnchorElement(), + _Html5NodeValidator$(uriPolicy) { + var t1 = A.AnchorElement_AnchorElement(), t2 = window.location; - t1 = new W._Html5NodeValidator(new W._SameOriginUriPolicy(t1, t2)); + t1 = new A._Html5NodeValidator(new A._SameOriginUriPolicy(t1, t2)); t1._Html5NodeValidator$1$uriPolicy(uriPolicy); return t1; }, - _Html5NodeValidator__standardAttributeValidator: function(element, attributeName, value, context) { + _Html5NodeValidator__standardAttributeValidator(element, attributeName, value, context) { type$.Element._as(element); - H._asStringS(attributeName); - H._asStringS(value); + A._asStringS(attributeName); + A._asStringS(value); type$._Html5NodeValidator._as(context); return true; }, - _Html5NodeValidator__uriAttributeValidator: function(element, attributeName, value, context) { + _Html5NodeValidator__uriAttributeValidator(element, attributeName, value, context) { var t1, t2, t3; type$.Element._as(element); - H._asStringS(attributeName); - H._asStringS(value); + A._asStringS(attributeName); + A._asStringS(value); t1 = type$._Html5NodeValidator._as(context).uriPolicy; t2 = t1._hiddenAnchor; - C.AnchorElement_methods.set$href(t2, value); + B.AnchorElement_methods.set$href(t2, value); t3 = t2.hostname; t1 = t1._loc; if (!(t3 == t1.hostname && t2.port == t1.port && t2.protocol == t1.protocol)) @@ -9233,7 +8073,7 @@ t1 = true; return t1; }, - KeyCode__convertKeyCodeToKeyName: function(keyCode) { + KeyCode__convertKeyCodeToKeyName(keyCode) { switch (keyCode) { case 18: return "Alt"; @@ -9316,69 +8156,69 @@ return "Unidentified"; } }, - _TemplatingNodeValidator$: function() { + _TemplatingNodeValidator$() { var t1 = type$.String, - t2 = P.LinkedHashSet_LinkedHashSet$from(C.List_wSV, t1), - t3 = type$.String_Function_legacy_String._as(new W._TemplatingNodeValidator_closure()), - t4 = H.setRuntimeTypeInfo(["TEMPLATE"], type$.JSArray_String); - t1 = new W._TemplatingNodeValidator(t2, P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), null); - t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new H.MappedListIterable(C.List_wSV, t3, type$.MappedListIterable_of_legacy_String_and_String), t4, null); + t2 = A.LinkedHashSet_LinkedHashSet$from(B.List_wSV, t1), + t3 = A._setArrayType(["TEMPLATE"], type$.JSArray_String), + t4 = type$.String_Function_legacy_String._as(new A._TemplatingNodeValidator_closure()); + t1 = new A._TemplatingNodeValidator(t2, A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), null); + t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new A.MappedListIterable(B.List_wSV, t4, type$.MappedListIterable_of_legacy_String_and_String), t3, null); return t1; }, - _convertNativeToDart_Window: function(win) { - return W._DOMWindowCrossFrame__createSafe(win); + _convertNativeToDart_Window(win) { + return A._DOMWindowCrossFrame__createSafe(win); }, - _convertNativeToDart_EventTarget: function(e) { + _convertNativeToDart_EventTarget(e) { var $window; if (e == null) return null; if ("postMessage" in e) { - $window = W._DOMWindowCrossFrame__createSafe(e); + $window = A._DOMWindowCrossFrame__createSafe(e); return $window; } else return type$.nullable_EventTarget._as(e); }, - _convertDartToNative_EventTarget: function(e) { + _convertDartToNative_EventTarget(e) { return e; }, - _convertNativeToDart_XHR_Response: function(o) { + _convertNativeToDart_XHR_Response(o) { if (type$.Document._is(o)) return o; - return new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); + return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); }, - _DOMWindowCrossFrame__createSafe: function(w) { + _DOMWindowCrossFrame__createSafe(w) { if (w === window) return type$.WindowBase._as(w); else - return new W._DOMWindowCrossFrame(w); + return new A._DOMWindowCrossFrame(w); }, - KeyEvent_KeyEvent: function(type, ctrlKey, keyCode) { + KeyEvent_KeyEvent(type, ctrlKey, keyCode) { var keyEvent, view = window, e = document.createEvent("KeyboardEvent"), t1 = J.getInterceptor$x(e); t1._initEvent$3(e, type, true, true); - Object.defineProperty(e, 'keyCode', { + type$.KeyboardEvent._as(e); + Object.defineProperty(e, "keyCode", { get: function() { return this.keyCodeVal; } }); - Object.defineProperty(e, 'which', { + Object.defineProperty(e, "which", { get: function() { return this.keyCodeVal; } }); - Object.defineProperty(e, 'charCode', { + Object.defineProperty(e, "charCode", { get: function() { return this.charCodeVal; } }); - t1._initKeyboardEvent$10(e, type, true, true, view, W.KeyEvent__convertToHexString(0, keyCode), 1, true, false, false, false); + t1._initKeyboardEvent$10(e, type, true, true, view, A.KeyEvent__convertToHexString(0, keyCode), 1, true, false, false, false); e.keyCodeVal = keyCode; e.charCodeVal = 0; Object.defineProperty(e, init.dispatchPropertyName, {value: $.$get$KeyEvent__keyboardEventDispatchRecord(), enumerable: false, writable: true, configurable: true}); - type$.KeyboardEvent._as(e); - keyEvent = new W.KeyEvent(e, e); + keyEvent = new A.KeyEvent(e, e); keyEvent._shadowAltKey = e.altKey; keyEvent._shadowKeyCode = e.keyCode; t1 = J.get$currentTarget$x(e); @@ -9389,20 +8229,20 @@ } return keyEvent; }, - KeyEvent__convertToHexString: function(charCode, keyCode) { + KeyEvent__convertToHexString(charCode, keyCode) { var hex, t1, i, t2; if (charCode !== -1) { - hex = C.JSInt_methods.toRadixString$1(charCode, 16); + hex = B.JSInt_methods.toRadixString$1(charCode, 16); for (t1 = 4 - hex.length, i = 0, t2 = "U+"; i < t1; ++i) t2 += "0"; t1 = t2 + hex; return t1.charCodeAt(0) == 0 ? t1 : t1; } else - return W.KeyCode__convertKeyCodeToKeyName(keyCode); + return A.KeyCode__convertKeyCodeToKeyName(keyCode); }, - _wrapZone: function(callback, $T) { + _wrapZone(callback, $T) { var t1 = $.Zone__current; - if (t1 === C.C__RootZone) + if (t1 === B.C__RootZone) return callback; return t1.bindUnaryCallbackGuarded$1$1(callback, $T); }, @@ -9505,14 +8345,6 @@ }, Element_Element$html_closure: function Element_Element$html_closure() { }, - Entry: function Entry() { - }, - Entry_remove_closure: function Entry_remove_closure(t0) { - this.completer = t0; - }, - Entry_remove_closure0: function Entry_remove_closure0(t0) { - this.completer = t0; - }, ErrorEvent: function ErrorEvent() { }, Event: function Event() { @@ -9582,8 +8414,6 @@ }, MediaKeyMessageEvent: function MediaKeyMessageEvent() { }, - MediaKeySession: function MediaKeySession() { - }, MediaList: function MediaList() { }, MessagePort: function MessagePort() { @@ -9667,6 +8497,8 @@ }, SelectElement: function SelectElement() { }, + SharedArrayBuffer: function SharedArrayBuffer() { + }, SourceBuffer: function SourceBuffer() { }, SourceBufferList: function SourceBufferList() { @@ -9723,14 +8555,6 @@ }, Window: function Window() { }, - _BeforeUnloadEvent: function _BeforeUnloadEvent(t0) { - this.wrapped = t0; - }, - _BeforeUnloadEventStreamProvider: function _BeforeUnloadEventStreamProvider() { - }, - _BeforeUnloadEventStreamProvider_forTarget_closure: function _BeforeUnloadEventStreamProvider_forTarget_closure(t0) { - this.controller = t0; - }, WorkerGlobalScope: function WorkerGlobalScope() { }, XmlSerializer: function XmlSerializer() { @@ -9763,14 +8587,14 @@ }, _EventStream: function _EventStream(t0, t1, t2, t3) { var _ = this; - _._html$_target = t0; + _._target = t0; _._eventType = t1; _._useCapture = t2; _.$ti = t3; }, _ElementEventStreamImpl: function _ElementEventStreamImpl(t0, t1, t2, t3) { var _ = this; - _._html$_target = t0; + _._target = t0; _._eventType = t1; _._useCapture = t2; _.$ti = t3; @@ -9778,7 +8602,7 @@ _EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) { var _ = this; _._pauseCount = 0; - _._html$_target = t0; + _._target = t0; _._eventType = t1; _._onData = t2; _._useCapture = t3; @@ -9825,7 +8649,7 @@ FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { var _ = this; _._array = t0; - _._length = t1; + _._html$_length = t1; _._position = -1; _._current = null; _.$ti = t2; @@ -9856,6039 +8680,4092 @@ _ValidatingTreeSanitizer_sanitizeTree_walk: function _ValidatingTreeSanitizer_sanitizeTree_walk(t0) { this.$this = t0; }, - _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase: function _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase() { + _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase: function _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase() { }, - _DomRectList_Interceptor_ListMixin: function _DomRectList_Interceptor_ListMixin() { + _DomRectList_JavaScriptObject_ListMixin: function _DomRectList_JavaScriptObject_ListMixin() { }, - _DomRectList_Interceptor_ListMixin_ImmutableListMixin: function _DomRectList_Interceptor_ListMixin_ImmutableListMixin() { + _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _DomStringList_Interceptor_ListMixin: function _DomStringList_Interceptor_ListMixin() { + _DomStringList_JavaScriptObject_ListMixin: function _DomStringList_JavaScriptObject_ListMixin() { }, - _DomStringList_Interceptor_ListMixin_ImmutableListMixin: function _DomStringList_Interceptor_ListMixin_ImmutableListMixin() { + _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _FileList_Interceptor_ListMixin: function _FileList_Interceptor_ListMixin() { + _FileList_JavaScriptObject_ListMixin: function _FileList_JavaScriptObject_ListMixin() { }, - _FileList_Interceptor_ListMixin_ImmutableListMixin: function _FileList_Interceptor_ListMixin_ImmutableListMixin() { + _FileList_JavaScriptObject_ListMixin_ImmutableListMixin: function _FileList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _HtmlCollection_Interceptor_ListMixin: function _HtmlCollection_Interceptor_ListMixin() { + _HtmlCollection_JavaScriptObject_ListMixin: function _HtmlCollection_JavaScriptObject_ListMixin() { }, - _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin: function _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin() { + _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin: function _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _MidiInputMap_Interceptor_MapMixin: function _MidiInputMap_Interceptor_MapMixin() { + _MidiInputMap_JavaScriptObject_MapMixin: function _MidiInputMap_JavaScriptObject_MapMixin() { }, - _MidiOutputMap_Interceptor_MapMixin: function _MidiOutputMap_Interceptor_MapMixin() { + _MidiOutputMap_JavaScriptObject_MapMixin: function _MidiOutputMap_JavaScriptObject_MapMixin() { }, - _MimeTypeArray_Interceptor_ListMixin: function _MimeTypeArray_Interceptor_ListMixin() { + _MimeTypeArray_JavaScriptObject_ListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin() { }, - _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin: function _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin() { + _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _NodeList_Interceptor_ListMixin: function _NodeList_Interceptor_ListMixin() { + _NodeList_JavaScriptObject_ListMixin: function _NodeList_JavaScriptObject_ListMixin() { }, - _NodeList_Interceptor_ListMixin_ImmutableListMixin: function _NodeList_Interceptor_ListMixin_ImmutableListMixin() { + _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _PluginArray_Interceptor_ListMixin: function _PluginArray_Interceptor_ListMixin() { + _PluginArray_JavaScriptObject_ListMixin: function _PluginArray_JavaScriptObject_ListMixin() { }, - _PluginArray_Interceptor_ListMixin_ImmutableListMixin: function _PluginArray_Interceptor_ListMixin_ImmutableListMixin() { + _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _RtcStatsReport_Interceptor_MapMixin: function _RtcStatsReport_Interceptor_MapMixin() { + _RtcStatsReport_JavaScriptObject_MapMixin: function _RtcStatsReport_JavaScriptObject_MapMixin() { }, _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { }, _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { }, - _SpeechGrammarList_Interceptor_ListMixin: function _SpeechGrammarList_Interceptor_ListMixin() { + _SpeechGrammarList_JavaScriptObject_ListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin() { }, - _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin: function _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin() { + _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _Storage_Interceptor_MapMixin: function _Storage_Interceptor_MapMixin() { + _Storage_JavaScriptObject_MapMixin: function _Storage_JavaScriptObject_MapMixin() { }, - _TextTrackCueList_Interceptor_ListMixin: function _TextTrackCueList_Interceptor_ListMixin() { + _TextTrackCueList_JavaScriptObject_ListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin() { }, - _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin: function _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin() { + _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { }, _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { }, - _TouchList_Interceptor_ListMixin: function _TouchList_Interceptor_ListMixin() { + _TouchList_JavaScriptObject_ListMixin: function _TouchList_JavaScriptObject_ListMixin() { }, - _TouchList_Interceptor_ListMixin_ImmutableListMixin: function _TouchList_Interceptor_ListMixin_ImmutableListMixin() { + _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - __CssRuleList_Interceptor_ListMixin: function __CssRuleList_Interceptor_ListMixin() { + __CssRuleList_JavaScriptObject_ListMixin: function __CssRuleList_JavaScriptObject_ListMixin() { }, - __CssRuleList_Interceptor_ListMixin_ImmutableListMixin: function __CssRuleList_Interceptor_ListMixin_ImmutableListMixin() { + __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin: function __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - __GamepadList_Interceptor_ListMixin: function __GamepadList_Interceptor_ListMixin() { + __GamepadList_JavaScriptObject_ListMixin: function __GamepadList_JavaScriptObject_ListMixin() { }, - __GamepadList_Interceptor_ListMixin_ImmutableListMixin: function __GamepadList_Interceptor_ListMixin_ImmutableListMixin() { + __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin: function __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - __NamedNodeMap_Interceptor_ListMixin: function __NamedNodeMap_Interceptor_ListMixin() { + __NamedNodeMap_JavaScriptObject_ListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin() { }, - __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin: function __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin() { + __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - __SpeechRecognitionResultList_Interceptor_ListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin() { + __SpeechRecognitionResultList_JavaScriptObject_ListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin() { }, - __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin() { + __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - __StyleSheetList_Interceptor_ListMixin: function __StyleSheetList_Interceptor_ListMixin() { - }, - __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin: function __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin() { - } - }, - D = {Archive: function Archive(t0, t1) { - this.files = t0; - this._fileMap = t1; - this.comment = null; + __StyleSheetList_JavaScriptObject_ListMixin: function __StyleSheetList_JavaScriptObject_ListMixin() { }, - BuiltList_BuiltList: function(iterable, $E) { - return D.BuiltList_BuiltList$from(iterable, $E); + __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin: function __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - BuiltList_BuiltList$from: function(iterable, $E) { - var t1; - if (iterable instanceof D._BuiltList) { - t1 = H.createRuntimeType($E); - t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; - } else - t1 = false; - if (t1) - return $E._eval$1("BuiltList<0>")._as(iterable); - else { - t1 = new D._BuiltList(P.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); - t1._maybeCheckForNull$0(); - return t1; + _convertNativeToDart_Value(value) { + var values, i; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || A._isBool(value)) + return value; + if (A.isJavaScriptSimpleObject(value)) + return A.convertNativeToDart_Dictionary(value); + if (Array.isArray(value)) { + values = []; + for (i = 0; i < value.length; ++i) + values.push(A._convertNativeToDart_Value(value[i])); + return values; } + return value; }, - BuiltList_BuiltList$of: function(iterable, $E) { - var t1; - if ($E._eval$1("_BuiltList<0>")._is(iterable)) { - t1 = H.createRuntimeType($E); - t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; - } else - t1 = false; - if (t1) - return iterable; - else - return D._BuiltList$of(iterable, $E); - }, - _BuiltList$of: function(iterable, $E) { - var t1 = new D._BuiltList(P.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); - t1._maybeCheckForNull$0(); - return t1; + convertNativeToDart_Dictionary(object) { + var dict, keys, t1, _i, key; + if (object == null) + return null; + dict = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = Object.getOwnPropertyNames(object); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = keys[_i]; + dict.$indexSet(0, key, A._convertNativeToDart_Value(object[key])); + } + return dict; }, - BuiltListIterableExtension_toBuiltList: function(_this, $E) { - return D.BuiltList_BuiltList$of(_this, $E); + _convertDartToNative_Value(value) { + var array; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || A._isBool(value)) + return value; + if (type$.Map_dynamic_dynamic._is(value)) + return A.convertDartToNative_Dictionary(value); + if (type$.List_dynamic._is(value)) { + array = []; + J.forEach$1$ax(value, new A._convertDartToNative_Value_closure(array)); + value = array; + } + return value; }, - ListBuilder_ListBuilder: function(iterable, $E) { - var t1 = new D.ListBuilder($E._eval$1("ListBuilder<0>")); - t1.replace$1(0, iterable); - return t1; + convertDartToNative_Dictionary(dict) { + var object = {}; + J.forEach$1$ax(dict, new A.convertDartToNative_Dictionary_closure(object)); + return object; }, - BuiltList: function BuiltList() { + isJavaScriptSimpleObject(value) { + var proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; }, - _BuiltList: function _BuiltList(t0, t1) { - this._list = t0; - this._list$_hashCode = null; - this.$ti = t1; + Device_userAgent() { + return window.navigator.userAgent; }, - ListBuilder: function ListBuilder(t0) { - this.__ListBuilder__list = $; - this._listOwner = null; - this.$ti = t0; + _StructuredClone: function _StructuredClone() { }, - DoubleSerializer: function DoubleSerializer(t0) { - this.types = t0; + _StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; }, - Success: function Success(t0, t1, t2, t3) { - var _ = this; - _.value = t0; - _.buffer = t1; - _.position = t2; - _.$ti = t3; + _StructuredClone_walk_closure0: function _StructuredClone_walk_closure0(t0, t1) { + this._box_0 = t0; + this.$this = t1; }, - ListParser: function ListParser() { + _AcceptStructuredClone: function _AcceptStructuredClone() { }, - PredicateStringExtension_toParser: function(_this) { - var t1 = _this.length; - if (t1 === 0) - return new E.EpsilonParser(_this, type$.EpsilonParser_String); - else if (t1 === 1) { - t1 = G.char(_this, null); - return t1; - } else { - t1 = D.string(_this, null); - return t1; - } + _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { + this.$this = t0; + this.map = t1; }, - string: function(element, message) { - var t1 = element + " expected"; - return new Z.PredicateParser(element.length, new D.string_closure(element), t1); + _convertDartToNative_Value_closure: function _convertDartToNative_Value_closure(t0) { + this.array = t0; }, - string_closure: function string_closure(t0) { - this.element = t0; + convertDartToNative_Dictionary_closure: function convertDartToNative_Dictionary_closure(t0) { + this.object = t0; }, - PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { - this.__PBKDF2KeyDerivator__params = $; - this._mac = t0; - this.__PBKDF2KeyDerivator__state = $; + _StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) { + this.values = t0; + this.copies = t1; }, - insertion_deletion_reducer: function(strand, action) { - var domain, found, t1, t2, t3, dom_idx, t4, substrands; - type$.legacy_Strand._as(strand); - type$.legacy_InsertionOrDeletionAction._as(action); - domain = action.get$domain(action); - t1 = strand.substrands; - t2 = t1._list; - t3 = J.get$iterator$ax(t2); - dom_idx = 0; - while (true) { - if (!t3.moveNext$0()) { - found = false; - break; - } - t4 = t3.get$current(t3); - if (t4 instanceof G.Domain && t4.helix === domain.helix && t4.forward === domain.forward && t4.start === domain.start && t4.end === domain.end) { - found = true; - break; - } - ++dom_idx; - } - if (!found) { - P.print("WARNING: could not find domain " + H.S(domain) + " on strand substrands: " + t1.toString$0(0) + " when implementing action " + action.toString$0(0)); - return strand; - } - t1 = H._instanceType(t1); - substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t1 = t1._precomputed1._as($.$get$insertion_deletion_domain_reducer().call$2(domain, action)); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, dom_idx, t1); - return strand.rebuild$1(new D.insertion_deletion_reducer_closure(substrands)); + _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { + this.values = t0; + this.copies = t1; + this.mustCopy = false; }, - insertion_add_reducer: function(domain, action) { - var t1, t2, insertions, t3; - type$.legacy_Domain._as(domain); - type$.legacy_InsertionAdd._as(action); - t1 = domain.insertions; - t2 = t1._list; - t1 = H._instanceType(t1); - insertions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = J.get$iterator$ax(t2); t2.moveNext$0();) - t3.push(t2.get$current(t2).offset); - t2 = action.offset; - if (!C.JSArray_methods.contains$1(t3, t2)) { - t1 = t1._precomputed1._as(G.Insertion_Insertion(t2, 1)); - insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(insertions._copy_on_write_list$_list, t1); - insertions.sort$1(0, new D.insertion_add_reducer_closure()); - } - return domain.rebuild$1(new D.insertion_add_reducer_closure0(insertions)); + CssClassSetImpl: function CssClassSetImpl() { }, - insertion_remove_reducer: function(domain, action) { - var t1, insertions; - type$.legacy_Domain._as(domain); - type$.legacy_InsertionRemove._as(action); - t1 = domain.insertions; - insertions = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - t1 = action.insertion; - insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(insertions._copy_on_write_list$_list, t1); - return domain.rebuild$1(new D.insertion_remove_reducer_closure(insertions)); + CssClassSetImpl_add_closure: function CssClassSetImpl_add_closure(t0) { + this.value = t0; }, - deletion_add_reducer: function(domain, action) { - var t1, t2, deletions, t3; - type$.legacy_Domain._as(domain); - type$.legacy_DeletionAdd._as(action); - t1 = domain.deletions; - t2 = t1._list; - t1 = H._instanceType(t1); - deletions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t3 = action.offset; - if (!J.contains$1$asx(t2, t3)) { - t1._precomputed1._as(t3); - deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(deletions._copy_on_write_list$_list, t3); - deletions.sort$0(0); - } - return domain.rebuild$1(new D.deletion_add_reducer_closure(deletions)); + CssClassSetImpl_removeAll_closure: function CssClassSetImpl_removeAll_closure(t0) { + this.iterable = t0; }, - deletion_remove_reducer: function(domain, action) { - var t1, deletions; - type$.legacy_Domain._as(domain); - type$.legacy_DeletionRemove._as(action); - t1 = domain.deletions; - deletions = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - t1 = action.offset; - deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(deletions._copy_on_write_list$_list, t1); - return domain.rebuild$1(new D.deletion_remove_reducer_closure(deletions)); + FilteredElementList: function FilteredElementList(t0, t1) { + this._node = t0; + this._childNodes = t1; }, - insertion_length_change_reducer: function(domain, action) { - var t1, t2, insertions, t3, idx; - type$.legacy_Domain._as(domain); - type$.legacy_InsertionLengthChange._as(action); - t1 = domain.insertions; - t2 = t1._list; - t1 = H._instanceType(t1); - insertions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t1 = t1._precomputed1; - t3 = t1._as(action.insertion); - idx = J.indexOf$2$asx(t2, t3, 0); - t3 = t1._as(t3.rebuild$1(new D.insertion_length_change_reducer_closure(action))); - insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(insertions._copy_on_write_list$_list, idx, t3); - return domain.rebuild$1(new D.insertion_length_change_reducer_closure0(insertions)); - }, - insertions_length_change_reducer: function(strands, state, action) { - var insertions_on_strand_id_domain, t1, t2, t3, t4, t5, t6, i, t7, insertion, domain, strand_id, insertions_on_domain, strands_builder, t8, t9, t10, t11, t12, t13, strand, strand_idx, substrands, insertions_on_domains, insertions_to_change, t14, t15, existing_insertions, t16, idx, t17, t18, new_domain, domain_idx, new_strand; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_InsertionsLengthChange._as(action); - insertions_on_strand_id_domain = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Map_of_legacy_Domain_and_legacy_List_legacy_Insertion); - t1 = action.insertions._list; - t2 = J.getInterceptor$asx(t1); - t3 = action.domains; - t4 = type$.legacy_Domain; - t5 = type$.legacy_List_legacy_Insertion; - t6 = type$.JSArray_legacy_Insertion; - i = 0; - while (true) { - t7 = t2.get$length(t1); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - insertion = t2.$index(t1, i); - domain = J.$index$asx(t3._list, i); - strand_id = domain.strand_id; - if (!insertions_on_strand_id_domain.containsKey$1(0, strand_id)) - insertions_on_strand_id_domain.$indexSet(0, strand_id, P.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); - insertions_on_domain = insertions_on_strand_id_domain.$index(0, strand_id); - if (!insertions_on_domain.containsKey$1(0, domain)) - insertions_on_domain.$indexSet(0, domain, H.setRuntimeTypeInfo([], t6)); - J.add$1$ax(insertions_on_domain.$index(0, domain), insertion); - ++i; - } - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - for (t2 = insertions_on_strand_id_domain.get$keys(insertions_on_strand_id_domain), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = type$.legacy_void_Function_legacy_DomainBuilder, t7 = type$.legacy_void_Function_legacy_InsertionBuilder, t8 = strands._list, t9 = J.getInterceptor$asx(t8), t10 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t11 = t2.get$current(t2); - t12 = state.design; - t13 = t12.__strands_by_id; - if (t13 == null) { - t13 = N.Design.prototype.get$strands_by_id.call(t12); - t12.set$__strands_by_id(t13); - t12 = t13; - } else - t12 = t13; - strand = J.$index$asx(t12._map$_map, t11); - strand_idx = t9.indexOf$2(t8, t1._as(strand), 0); - t12 = strand.substrands; - t13 = H._instanceType(t12); - substrands = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); - insertions_on_domains = insertions_on_strand_id_domain.$index(0, t11); - for (t11 = insertions_on_domains.get$keys(insertions_on_domains), t11 = t11.get$iterator(t11), t13 = t13._precomputed1; t11.moveNext$0();) { - t12 = t11.get$current(t11); - insertions_to_change = insertions_on_domains.$index(0, t12); - t14 = t12.insertions; - t15 = H._instanceType(t14); - existing_insertions = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); - for (t14 = J.get$iterator$ax(insertions_to_change), t15 = t15._precomputed1; t14.moveNext$0();) { - t16 = t14.get$current(t14); - t15._as(t16); - idx = J.indexOf$2$asx(existing_insertions._copy_on_write_list$_list, t16, 0); - t16.toString; - t17 = t7._as(new D.insertions_length_change_reducer_closure(action)); - t18 = new G.InsertionBuilder(); - t18._domain$_$v = t16; - t17.call$1(t18); - t16 = t15._as(t18.build$0()); - existing_insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(existing_insertions._copy_on_write_list$_list, idx, t16); - } - t14 = t6._as(new D.insertions_length_change_reducer_closure0(existing_insertions)); - t15 = new G.DomainBuilder(); - t15._domain$_$v = t12; - t14.call$1(t15); - new_domain = t15.build$0(); - t13._as(t12); - domain_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, t12, 0); - t13._as(new_domain); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, domain_idx, new_domain); - } - t11 = t5._as(new D.insertions_length_change_reducer_closure1(substrands)); - t12 = new E.StrandBuilder(); - t12._strand$_$v = strand; - t11.call$1(t12); - new_strand = t12.build$0(); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t11 = new_strand.__first_domain; - if (t11 == null) - t11 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t11.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - t4._as(strand); - if (!$.$get$isSoundMode() && t10) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - if (strands_builder._listOwner != null) { - t11 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t4))); - strands_builder.set$_listOwner(null); - } - t11 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, strand_idx, strand); - } - return strands_builder.build$0(); + FilteredElementList__iterable_closure: function FilteredElementList__iterable_closure() { }, - insertion_deletion_reducer_closure: function insertion_deletion_reducer_closure(t0) { - this.substrands = t0; + FilteredElementList__iterable_closure0: function FilteredElementList__iterable_closure0() { }, - insertion_add_reducer_closure: function insertion_add_reducer_closure() { + FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() { }, - insertion_add_reducer_closure0: function insertion_add_reducer_closure0(t0) { - this.insertions = t0; + _completeRequest(request, $T) { + var t4, + t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>")), + t2 = type$.nullable_void_Function_legacy_Event, + t3 = t2._as(new A._completeRequest_closure(request, completer, $T)); + type$.nullable_void_Function._as(null); + t4 = type$.legacy_Event; + A._EventStreamSubscription$(request, "success", t3, false, t4); + A._EventStreamSubscription$(request, "error", t2._as(completer.get$completeError()), false, t4); + return t1; }, - insertion_remove_reducer_closure: function insertion_remove_reducer_closure(t0) { - this.insertions = t0; + Cursor: function Cursor() { }, - deletion_add_reducer_closure: function deletion_add_reducer_closure(t0) { - this.deletions = t0; + CursorWithValue: function CursorWithValue() { }, - deletion_remove_reducer_closure: function deletion_remove_reducer_closure(t0) { - this.deletions = t0; + _completeRequest_closure: function _completeRequest_closure(t0, t1, t2) { + this.request = t0; + this.completer = t1; + this.T = t2; }, - insertion_length_change_reducer_closure: function insertion_length_change_reducer_closure(t0) { - this.action = t0; + KeyRange: function KeyRange() { }, - insertion_length_change_reducer_closure0: function insertion_length_change_reducer_closure0(t0) { - this.insertions = t0; + ObjectStore: function ObjectStore() { }, - insertions_length_change_reducer_closure: function insertions_length_change_reducer_closure(t0) { - this.action = t0; + Observation: function Observation() { }, - insertions_length_change_reducer_closure0: function insertions_length_change_reducer_closure0(t0) { - this.existing_insertions = t0; + Request0: function Request0() { }, - insertions_length_change_reducer_closure1: function insertions_length_change_reducer_closure1(t0) { - this.substrands = t0; + VersionChangeEvent: function VersionChangeEvent() { }, - currently_selectable: function(state, item) { - var t2, - t1 = state.ui_state.storables, - edit_modes = t1.edit_modes, - select_modes = t1.select_mode_state.modes; - t1 = edit_modes._set; - if (!(t1.contains$1(0, C.EditModeChoice_select) || t1.contains$1(0, C.EditModeChoice_rope_select))) - return false; - t1 = item.get$select_mode(); - t2 = select_modes._set; - if (!t2.contains$1(0, t1)) - return false; - if (state.design.get$is_origami()) { - if (item.get$is_scaffold() && !t2.contains$1(0, C.SelectModeChoice_scaffold)) - return false; - if (!item.get$is_scaffold() && !t2.contains$1(0, C.SelectModeChoice_staple)) - return false; + _callDartFunction(callback, captureThis, $self, $arguments) { + var arguments0, t1, dartArgs; + A._asBoolS(captureThis); + type$.List_dynamic._as($arguments); + if (A.boolConversionCheck(captureThis)) { + arguments0 = [$self]; + B.JSArray_methods.addAll$1(arguments0, $arguments); + $arguments = arguments0; } - return true; + t1 = type$.dynamic; + dartArgs = A.List_List$from(J.map$1$1$ax($arguments, A.js___convertToDart$closure(), t1), true, t1); + return A._convertToJS(A.Function_apply(type$.Function._as(callback), dartArgs)); }, - select_reducer: function(selectables_store, state, action) { - var item, toggle; - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_AppState._as(state); - type$.legacy_Select._as(action); - item = action.selectable; - if (!D.currently_selectable(state, item)) - return selectables_store; - toggle = action.toggle; - if (action.only) - selectables_store = selectables_store.select$2$only(0, item, true); - else - selectables_store = toggle ? selectables_store.toggle$1(0, item) : selectables_store.select$1(0, item); - return selectables_store; + JsArray__checkRange(start, end, $length) { + var _null = null; + if (start < 0 || start > $length) + throw A.wrapException(A.RangeError$range(start, 0, $length, _null, _null)); + if (typeof end !== "number") + return end.$lt(); + if (end < start || end > $length) + throw A.wrapException(A.RangeError$range(end, start, $length, _null, _null)); }, - select_all_selectables_reducer: function(selectables_store, state, action) { - var t1, t2, scaffold_selectable, staple_selectable, t3, selected, t4, t5, t6, t7, t8, t9, t10; - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_AppState._as(state); - type$.legacy_SelectAllSelectable._as(action); - t1 = state.ui_state.storables; - t2 = t1.select_mode_state.modes._set; - scaffold_selectable = t2.contains$1(0, C.SelectModeChoice_scaffold); - staple_selectable = t2.contains$1(0, C.SelectModeChoice_staple); - t3 = type$.JSArray_legacy_Selectable; - selected = H.setRuntimeTypeInfo([], t3); - for (t4 = state.design, t5 = J.get$iterator$ax(t4.strands._list); t5.moveNext$0();) { - t6 = t5.get$current(t5); - if (action.current_helix_group_only && t4.group_name_of_strand$1(t6) !== t1.displayed_group_name) - continue; - t7 = t4.__is_origami; - if (t7 == null ? t4.__is_origami = N.Design.prototype.get$is_origami.call(t4) : t7) { - t7 = t6.is_scaffold; - if (!(t7 && scaffold_selectable)) - t7 = !t7 && staple_selectable; - else - t7 = true; - } else - t7 = true; - if (t7) { - if (t2.contains$1(0, C.SelectModeChoice_strand)) - C.JSArray_methods.add$1(selected, t6); - if (t2.contains$1(0, C.SelectModeChoice_loopout)) { - t7 = t6.__loopouts; - if (t7 == null) { - t7 = E.Strand.prototype.get$loopouts.call(t6); - t6.set$__loopouts(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_extension_)) { - t7 = t6.__extensions; - if (t7 == null) { - t7 = E.Strand.prototype.get$extensions.call(t6, t6); - t6.set$__extensions(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_crossover)) { - t7 = t6.__crossovers; - if (t7 == null) { - t7 = E.Strand.prototype.get$crossovers.call(t6); - t6.set$__crossovers(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_deletion)) { - t7 = t6.__selectable_deletions; - if (t7 == null) { - t7 = E.Strand.prototype.get$selectable_deletions.call(t6); - t6.set$__selectable_deletions(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_insertion)) { - t7 = t6.__selectable_insertions; - if (t7 == null) { - t7 = E.Strand.prototype.get$selectable_insertions.call(t6); - t6.set$__selectable_insertions(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_modification)) { - t7 = t6.__selectable_modifications; - if (t7 == null) { - t7 = E.Strand.prototype.get$selectable_modifications.call(t6); - t6.set$__selectable_modifications(t7); - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_end_5p_strand)) { - t7 = H.setRuntimeTypeInfo([], t3); - t8 = t6.__extensions; - if (t8 == null) { - t8 = E.Strand.prototype.get$extensions.call(t6, t6); - t6.set$__extensions(t8); - } - t8 = J.get$iterator$ax(t8._list); - for (; t8.moveNext$0();) { - t9 = t8.get$current(t8); - if (H.boolConversionCheck(t9.is_5p)) { - t10 = t9.__dnaend_free; - t7.push(t10 == null ? t9.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t9) : t10); - } - } - t8 = t6.__domains; - if (t8 == null) { - t8 = E.Strand.prototype.get$domains.call(t6); - t6.set$__domains(t8); - } - t8 = J.get$iterator$ax(t8._list); - for (; t8.moveNext$0();) { - t9 = t8.get$current(t8); - if (t9.is_first) { - if (t9.forward) { - t10 = t9.__dnaend_start; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_start.call(t9); - t9.__dnaend_start = t10; - t9 = t10; - } else - t9 = t10; - } else { - t10 = t9.__dnaend_end; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_end.call(t9); - t9.__dnaend_end = t10; - t9 = t10; - } else - t9 = t10; - } - t7.push(t9); - } - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_end_3p_strand)) { - t7 = H.setRuntimeTypeInfo([], t3); - t8 = t6.__extensions; - if (t8 == null) { - t8 = E.Strand.prototype.get$extensions.call(t6, t6); - t6.set$__extensions(t8); - } - t8 = J.get$iterator$ax(t8._list); - for (; t8.moveNext$0();) { - t9 = t8.get$current(t8); - if (!H.boolConversionCheck(t9.is_5p)) { - t10 = t9.__dnaend_free; - t7.push(t10 == null ? t9.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t9) : t10); - } - } - t8 = t6.__domains; - if (t8 == null) { - t8 = E.Strand.prototype.get$domains.call(t6); - t6.set$__domains(t8); - } - t8 = J.get$iterator$ax(t8._list); - for (; t8.moveNext$0();) { - t9 = t8.get$current(t8); - if (t9.is_last) { - if (t9.forward) { - t10 = t9.__dnaend_end; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_end.call(t9); - t9.__dnaend_end = t10; - t9 = t10; - } else - t9 = t10; - } else { - t10 = t9.__dnaend_start; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_start.call(t9); - t9.__dnaend_start = t10; - t9 = t10; - } else - t9 = t10; - } - t7.push(t9); - } - } - C.JSArray_methods.addAll$1(selected, t7); - } - if (t2.contains$1(0, C.SelectModeChoice_end_5p_domain)) { - t7 = t6.__domains; - if (t7 == null) { - t7 = E.Strand.prototype.get$domains.call(t6); - t6.set$__domains(t7); - } - t7 = J.where$1$ax(t7._list, t7.$ti._eval$1("bool(1)")._as(new D.select_all_selectables_reducer_closure())); - t8 = t7.$ti; - C.JSArray_methods.addAll$1(selected, new H.MappedIterable(t7, t8._eval$1("Selectable*(1)")._as(new D.select_all_selectables_reducer_closure0()), t8._eval$1("MappedIterable<1,Selectable*>"))); - } - if (t2.contains$1(0, C.SelectModeChoice_end_3p_domain)) { - t7 = t6.__domains; - if (t7 == null) { - t7 = E.Strand.prototype.get$domains.call(t6); - t6.set$__domains(t7); - t6 = t7; - } else - t6 = t7; - t6 = J.where$1$ax(t6._list, t6.$ti._eval$1("bool(1)")._as(new D.select_all_selectables_reducer_closure1())); - t7 = t6.$ti; - C.JSArray_methods.addAll$1(selected, new H.MappedIterable(t6, t7._eval$1("Selectable*(1)")._as(new D.select_all_selectables_reducer_closure2()), t7._eval$1("MappedIterable<1,Selectable*>"))); - } + _defineProperty(o, $name, value) { + var exception; + try { + if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name)) { + Object.defineProperty(o, $name, {value: value}); + return true; } + } catch (exception) { } - return selectables_store.select_all$1(selected); - }, - select_or_toggle_items_reducer: function(selectables_store, state, action) { - var t1, t2; - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_AppState._as(state); - type$.legacy_SelectOrToggleItems._as(action); - t1 = action.toggle; - t2 = action.items; - return t1 ? selectables_store.toggle_all$1(t2) : selectables_store.select_all$1(t2); + return false; }, - design_changing_action_reducer: function(selectables_store, action) { - var t1; - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_DesignChangingAction._as(action); - t1 = selectables_store.clear$0(0); - return t1; + _getOwnProperty(o, $name) { + if (Object.prototype.hasOwnProperty.call(o, $name)) + return o[$name]; + return null; }, - select_all_reducer: function(selectables_store, action) { - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_SelectAll._as(action); - return selectables_store.select_all$2$only(action.selectables, action.only); + _convertToJS(o) { + if (o == null || typeof o == "string" || typeof o == "number" || A._isBool(o)) + return o; + if (o instanceof A.JsObject) + return o._js$_jsObject; + if (A.isBrowserObject(o)) + return o; + if (type$.TypedData._is(o)) + return o; + if (o instanceof A.DateTime) + return A.Primitives_lazyAsJsDate(o); + if (type$.Function._is(o)) + return A._getJsProxy(o, "$dart_jsFunction", new A._convertToJS_closure()); + return A._getJsProxy(o, "_$dart_jsObject", new A._convertToJS_closure0($.$get$_dartProxyCtor())); }, - selections_clear_reducer: function(selectables_store, _) { - return type$.legacy_SelectablesStore._as(selectables_store).clear$0(0); - }, - select_all_with_same_reducer: function(selectables_store, state, action) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, selected_strands, include_strand, trait_values_selected, trait_value_strand, found_matching_trait, _i; - type$.legacy_SelectablesStore._as(selectables_store); - type$.legacy_AppState._as(state); - type$.legacy_SelectAllWithSameAsSelected._as(action); - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_SelectableTrait, type$.legacy_List_legacy_Object); - for (t2 = action.traits._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.JSArray_legacy_Object; t4.moveNext$0();) - t1.$indexSet(0, t4.get$current(t4), H.setRuntimeTypeInfo([], t5)); - for (t4 = J.get$iterator$ax(action.templates._list), t5 = type$.legacy_Strand; t4.moveNext$0();) { - t6 = t4.get$current(t4); - for (t7 = t3.get$iterator(t2); t7.moveNext$0();) { - t8 = t7.get$current(t7); - t9 = t1.$index(0, t8); - (t9 && C.JSArray_methods).add$1(t9, t8.trait_of_strand$1(t5._as(t6))); - } - } - selected_strands = selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - for (t2 = J.get$iterator$ax(state.design.strands._list), t3 = action.exclude_scaffolds; t2.moveNext$0();) { - t4 = t2.get$current(t2); - if (C.JSArray_methods.contains$1(selected_strands, t4)) - continue; - if (t3 && t4.is_scaffold) - continue; - for (t5 = t1.get$keys(t1), t5 = t5.get$iterator(t5), include_strand = true; t5.moveNext$0();) { - t6 = t5.get$current(t5); - trait_values_selected = t1.$index(0, t6); - trait_value_strand = t6.trait_of_strand$1(t4); - t7 = trait_values_selected.length; - _i = 0; - while (true) { - if (!(_i < trait_values_selected.length)) { - found_matching_trait = false; - break; - } - if (t6.matches$2(0, trait_value_strand, trait_values_selected[_i])) { - found_matching_trait = true; - break; - } - trait_values_selected.length === t7 || (0, H.throwConcurrentModificationError)(trait_values_selected); - ++_i; - } - if (!found_matching_trait) { - include_strand = false; - continue; - } - } - if (include_strand) - C.JSArray_methods.add$1(selected_strands, t4); + _getJsProxy(o, propertyName, createProxy) { + var jsProxy = A._getOwnProperty(o, propertyName); + if (jsProxy == null) { + jsProxy = createProxy.call$1(o); + A._defineProperty(o, propertyName, jsProxy); } - return selectables_store.rebuild$1(new D.select_all_with_same_reducer_closure(selected_strands)); - }, - helix_selections_adjust_reducer: function(helix_idxs_selected, state, action) { - var toggle, selection_box, all_helices_in_displayed_group, all_bboxes, t1, t2, t3, selection_box_as_box, helices_overlapping, helix_idxs_overlapping, helices_idxs_selected_new, _i, idx_overlapping; - type$.legacy_BuiltSet_legacy_int._as(helix_idxs_selected); - type$.legacy_AppState._as(state); - type$.legacy_HelixSelectionsAdjust._as(action); - toggle = action.toggle; - selection_box = action.selection_box; - all_helices_in_displayed_group = state.design.helices_in_group$1(state.ui_state.storables.displayed_group_name); - all_bboxes = J.map$1$1$ax(all_helices_in_displayed_group.get$values(all_helices_in_displayed_group), new D.helix_selections_adjust_reducer_closure(state), type$.legacy_Box).toList$0(0); - t1 = selection_box.start; - t2 = selection_box.current; - t3 = Math.min(H.checkNum(t1.x), H.checkNum(t2.x)); - t2 = Math.min(H.checkNum(t1.y), H.checkNum(t2.y)); - t1 = selection_box.get$width(selection_box); - selection_box_as_box = Q.Box$(t3, t2, selection_box.get$height(selection_box), t1); - helices_overlapping = Q.generalized_intersection_list(all_helices_in_displayed_group.get$values(all_helices_in_displayed_group), all_bboxes, selection_box_as_box, Q.selections_intersect_box_compute__interval_contained$closure(), type$.legacy_Helix); - t1 = H._arrayInstanceType(helices_overlapping); - t2 = t1._eval$1("MappedListIterable<1,int*>"); - helix_idxs_overlapping = P.List_List$of(new H.MappedListIterable(helices_overlapping, t1._eval$1("int*(1)")._as(new D.helix_selections_adjust_reducer_closure0()), t2), true, t2._eval$1("ListIterable.E")); - helix_idxs_selected.toString; - t2 = helix_idxs_selected.$ti; - t2._eval$1("_BuiltSet<1>")._as(helix_idxs_selected); - t1 = helix_idxs_selected._set; - helices_idxs_selected_new = new X.SetBuilder(helix_idxs_selected._setFactory, t1, helix_idxs_selected, t2._eval$1("SetBuilder<1>")); - helices_idxs_selected_new.addAll$1(0, helix_idxs_overlapping); - if (toggle) - for (t2 = helix_idxs_overlapping.length, _i = 0; _i < helix_idxs_overlapping.length; helix_idxs_overlapping.length === t2 || (0, H.throwConcurrentModificationError)(helix_idxs_overlapping), ++_i) { - idx_overlapping = helix_idxs_overlapping[_i]; - if (t1.contains$1(0, idx_overlapping)) - helices_idxs_selected_new.get$_safeSet().remove$1(0, idx_overlapping); - } - return helices_idxs_selected_new.build$0(); + return jsProxy; }, - helix_select_reducer: function(side_selected_helix_idxs, action) { - var idx, toggle; - type$.legacy_BuiltSet_legacy_int._as(side_selected_helix_idxs); - type$.legacy_HelixSelect._as(action); - idx = action.helix_idx; - toggle = action.toggle; - if (!side_selected_helix_idxs._set.contains$1(0, idx)) - side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new D.helix_select_reducer_closure(idx)); - else if (toggle) - side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new D.helix_select_reducer_closure0(idx)); - return side_selected_helix_idxs; + _convertToDart(o) { + if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") + return o; + else if (o instanceof Object && A.isBrowserObject(o)) + return o; + else if (o instanceof Object && type$.TypedData._is(o)) + return o; + else if (o instanceof Date) + return A.DateTime$fromMillisecondsSinceEpoch(A._asIntS(o.getTime()), false); + else if (o.constructor === $.$get$_dartProxyCtor()) + return o.o; + else + return A._wrapToDart(o); }, - helices_selected_clear_reducer: function(_, action) { - type$.legacy_BuiltSet_legacy_int._as(_); - type$.legacy_HelixSelectionsClear._as(action); - return X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); + _wrapToDart(o) { + if (typeof o == "function") + return A._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new A._wrapToDart_closure()); + if (o instanceof Array) + return A._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new A._wrapToDart_closure0()); + return A._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new A._wrapToDart_closure1()); }, - helices_remove_all_selected_reducer: function(_, action) { - type$.legacy_BuiltSet_legacy_int._as(_); - type$.legacy_HelixRemoveAllSelected._as(action); - return X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); + _getDartProxy(o, propertyName, createProxy) { + var dartProxy = A._getOwnProperty(o, propertyName); + if (dartProxy == null || !(o instanceof Object)) { + dartProxy = createProxy.call$1(o); + A._defineProperty(o, propertyName, dartProxy); + } + return dartProxy; }, - helix_remove_selected_reducer: function(selected_helices, action) { - return type$.legacy_BuiltSet_legacy_int._as(selected_helices).rebuild$1(new D.helix_remove_selected_reducer_closure(type$.legacy_HelixRemove._as(action))); + _convertDartFunctionFast(f) { + var ret, + existing = f.$dart_jsFunction; + if (existing != null) + return existing; + ret = function(_call, f) { + return function() { + return _call(f, Array.prototype.slice.apply(arguments)); + }; + }(A._callDartFunctionFast, f); + ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; + f.$dart_jsFunction = ret; + return ret; }, - selection_box_create_reducer: function(_, action) { - type$.legacy_SelectionBox._as(_); - type$.legacy_SelectionBoxCreate._as(action); - return E.SelectionBox_SelectionBox(action.point, action.toggle, action.is_main); + _callDartFunctionFast(callback, $arguments) { + type$.List_dynamic._as($arguments); + return A.Function_apply(type$.Function._as(callback), $arguments); }, - selection_box_size_changed_reducer: function(selection_box, action) { - var t1, t2; - type$.legacy_SelectionBox._as(selection_box); - type$.legacy_SelectionBoxSizeChange._as(action); - selection_box.toString; - t1 = type$.legacy_void_Function_legacy_SelectionBoxBuilder._as(new D.selection_box_size_changed_reducer_closure(action)); - t2 = new E.SelectionBoxBuilder(); - t2._selection_box$_$v = selection_box; - t1.call$1(t2); - return t2.build$0(); + allowInterop(f, $F) { + if (typeof f == "function") + return f; + else + return $F._as(A._convertDartFunctionFast(f)); }, - selection_box_remove_reducer: function(_, __) { - type$.legacy_SelectionBox._as(_); - type$.legacy_SelectionBoxRemove._as(__); - return null; + _convertToJS_closure: function _convertToJS_closure() { }, - selection_rope_create_reducer: function(_, action) { - type$.legacy_SelectionRope._as(_); - return F.SelectionRope_SelectionRope(type$.legacy_SelectionRopeCreate._as(action).toggle); + _convertToJS_closure0: function _convertToJS_closure0(t0) { + this.ctor = t0; }, - selection_rope_mouse_move_reducer: function(rope, action) { - type$.legacy_SelectionRope._as(rope); - type$.legacy_SelectionRopeMouseMove._as(action); - if (rope.is_main == null) - rope = rope.rebuild$1(new D.selection_rope_mouse_move_reducer_closure(action)); - if (rope.is_main !== action.is_main_view) - return rope; - return rope.rebuild$1(new D.selection_rope_mouse_move_reducer_closure0(action)); + _wrapToDart_closure: function _wrapToDart_closure() { }, - selection_rope_add_point_reducer: function(rope, action) { - var t1, t2, points; - type$.legacy_SelectionRope._as(rope); - type$.legacy_SelectionRopeAddPoint._as(action); - if (rope.is_main == null) - rope = rope.rebuild$1(new D.selection_rope_add_point_reducer_closure(action)); - if (rope.is_main !== action.is_main_view) - return rope; - t1 = rope.points; - t2 = t1._list; - t1 = H._instanceType(t1); - points = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t2 = J.get$length$asx(t2); - if (typeof t2 !== "number") - return t2.$le(); - if (t2 <= 1 || !rope.creates_self_intersection$1(action.point)) { - t1 = t1._precomputed1._as(action.point); - points._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(points._copy_on_write_list$_list, t1); - rope = rope.rebuild$1(new D.selection_rope_add_point_reducer_closure0(points)); - } - return rope; + _wrapToDart_closure0: function _wrapToDart_closure0() { }, - selection_rope_remove_reducer: function(_, __) { - type$.legacy_SelectionRope._as(_); - type$.legacy_SelectionRopeRemove._as(__); - return null; + _wrapToDart_closure1: function _wrapToDart_closure1() { }, - select_all_selectables_reducer_closure: function select_all_selectables_reducer_closure() { + JsObject: function JsObject(t0) { + this._js$_jsObject = t0; }, - select_all_selectables_reducer_closure0: function select_all_selectables_reducer_closure0() { + JsFunction: function JsFunction(t0) { + this._js$_jsObject = t0; }, - select_all_selectables_reducer_closure1: function select_all_selectables_reducer_closure1() { + JsArray: function JsArray(t0, t1) { + this._js$_jsObject = t0; + this.$ti = t1; }, - select_all_selectables_reducer_closure2: function select_all_selectables_reducer_closure2() { + _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { }, - select_all_with_same_reducer_closure: function select_all_with_same_reducer_closure(t0) { - this.selected_strands = t0; + promiseToFuture(jsPromise, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); + jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer, $T), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1)); + return t1; }, - helix_selections_adjust_reducer_closure: function helix_selections_adjust_reducer_closure(t0) { - this.state = t0; + promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { + this.completer = t0; + this.T = t1; }, - helix_selections_adjust_reducer_closure0: function helix_selections_adjust_reducer_closure0() { + promiseToFuture_closure0: function promiseToFuture_closure0(t0) { + this.completer = t0; }, - helix_select_reducer_closure: function helix_select_reducer_closure(t0) { - this.idx = t0; + NullRejectionException: function NullRejectionException(t0) { + this.isUndefined = t0; }, - helix_select_reducer_closure0: function helix_select_reducer_closure0(t0) { - this.idx = t0; + min(a, b, $T) { + A.checkTypeBound($T, type$.num, "T", "min"); + $T._as(a); + $T._as(b); + return Math.min(A.checkNum(a), A.checkNum(b)); }, - helix_remove_selected_reducer_closure: function helix_remove_selected_reducer_closure(t0) { - this.action = t0; + max(a, b, $T) { + A.checkTypeBound($T, type$.num, "T", "max"); + $T._as(a); + $T._as(b); + return Math.max(A.checkNum(a), A.checkNum(b)); }, - selection_box_size_changed_reducer_closure: function selection_box_size_changed_reducer_closure(t0) { - this.action = t0; + Rectangle$(left, $top, width, height, $T) { + var t1, t2; + if (typeof width !== "number") + return width.$lt(); + if (width < 0) + t1 = width === -1 / 0 ? 0 : -width * 0; + else + t1 = width + 0; + $T._as(t1); + if (typeof height !== "number") + return height.$lt(); + if (height < 0) + t2 = height === -1 / 0 ? 0 : -height * 0; + else + t2 = height + 0; + return new A.Rectangle(left, $top, t1, $T._as(t2), $T._eval$1("Rectangle<0>")); }, - selection_rope_mouse_move_reducer_closure: function selection_rope_mouse_move_reducer_closure(t0) { - this.action = t0; + _JSSecureRandom: function _JSSecureRandom(t0) { + this._math$_buffer = t0; }, - selection_rope_mouse_move_reducer_closure0: function selection_rope_mouse_move_reducer_closure0(t0) { - this.action = t0; + Point: function Point(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.$ti = t2; }, - selection_rope_add_point_reducer_closure: function selection_rope_add_point_reducer_closure(t0) { - this.action = t0; + _RectangleBase: function _RectangleBase() { }, - selection_rope_add_point_reducer_closure0: function selection_rope_add_point_reducer_closure0(t0) { - this.points = t0; + Rectangle: function Rectangle(t0, t1, t2, t3, t4) { + var _ = this; + _.left = t0; + _.top = t1; + _.width = t2; + _.height = t3; + _.$ti = t4; }, - strands_move_start_reducer: function(_, state, action) { - var t1, t2, t3, t4, t5, t6; - type$.legacy_StrandsMove._as(_); - type$.legacy_AppState._as(state); - type$.legacy_StrandsMoveStart._as(action); - t1 = action.strands; - t2 = state.design; - t3 = t2.strands; - t4 = t2.helices; - t2 = t2.groups; - t5 = action.original_helices_view_order_inverse; - t6 = action.address; - return U.StrandsMove_StrandsMove(t3, action.copy, t2, t4, state.ui_state.storables.strand_paste_keep_color, t6, t5, t1); + SvgSvgElement_SvgSvgElement() { + var el = type$.SvgElement._as(B.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "svg")); + el.setAttribute("version", "1.1"); + return type$.SvgSvgElement._as(el); }, - strands_move_start_selected_strands_reducer: function(_, state, action) { - var t1, t2, selected_strands, t3, t4, t5, t6; - type$.legacy_StrandsMove._as(_); - type$.legacy_AppState._as(state); - type$.legacy_StrandsMoveStartSelectedStrands._as(action); - t1 = state.ui_state; - t2 = t1.selectables_store.selected_items; - t2.toString; - selected_strands = D.BuiltList_BuiltList$from(t2._set.where$1(0, t2.$ti._eval$1("bool(1)")._as(new D.strands_move_start_selected_strands_reducer_closure())), type$.legacy_Strand); - t2 = state.design; - t3 = t2.strands; - t4 = t2.helices; - t2 = t2.groups; - t5 = action.original_helices_view_order_inverse; - t6 = action.address; - return U.StrandsMove_StrandsMove(t3, action.copy, t2, t4, t1.storables.strand_paste_keep_color, t6, t5, selected_strands); + AElement: function AElement() { }, - strands_move_stop_reducer: function(strands_move, action) { - type$.legacy_StrandsMove._as(strands_move); - type$.legacy_StrandsMoveStop._as(action); - return null; + Angle: function Angle() { }, - strands_adjust_address_reducer: function(strands_move, state, action) { - var new_strands_move, t1; - type$.legacy_StrandsMove._as(strands_move); - type$.legacy_AppState._as(state); - new_strands_move = strands_move.rebuild$1(new D.strands_adjust_address_reducer_closure(type$.legacy_StrandsMoveAdjustAddress._as(action))); - t1 = state.design; - if (D.in_bounds(t1, new_strands_move, null)) - return new_strands_move.rebuild$1(new D.strands_adjust_address_reducer_closure0(D.is_allowable(t1, new_strands_move, null))); - else - return strands_move; + CircleElement: function CircleElement() { }, - in_bounds_and_allowable: function(design, strands_move) { - var original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); - return D.in_bounds(design, strands_move, original_helix_idxs_set) && D.is_allowable(design, strands_move, original_helix_idxs_set); + DefsElement: function DefsElement() { }, - in_bounds: function(design, strands_move, original_helix_idxs_set) { - var $status = type$.legacy_strand_bounds_status._as(D.get_strand_bounds_details(design, strands_move, original_helix_idxs_set).$index(0, "status")); - if ($status === C.strand_bounds_status_6 || $status === C.strand_bounds_status_4 || $status === C.strand_bounds_status_5) - return true; - return false; + FEGaussianBlurElement: function FEGaussianBlurElement() { }, - get_strand_bounds_details: function(design, strands_move, original_helix_idxs_set) { - var t1, current_address_helix_idx, t2, t3, current_helix, t4, t5, current_group, num_helices_in_group, t6, t7, t8, delta_view_order, delta_offset, view_orders_of_helices_of_moving_strands, min_view_order, max_view_order, out_of_bounds_min_offset_changes, out_of_bounds_max_offset_changes, in_bounds_min_offset_changes, in_bounds_max_offset_changes, t9, t10, t11, t12, t13, view_order_orig, helix, outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset, t14, t15, originalMinOffset, originalMaxOffset, max_offset_of_helix, min_offset_of_helix, inBoundsNewMaxOffset, inBoundsNewMinOffset, outOfBoundsNewMaxOffset0, outOfBoundsNewMinOffset0; - if (original_helix_idxs_set == null) - original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); - t1 = strands_move.current_address; - current_address_helix_idx = t1.helix_idx; - t2 = design.helices._map$_map; - t3 = J.getInterceptor$x(t2); - if (!t3.containsKey$1(t2, current_address_helix_idx)) { - t1 = type$.dynamic; - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_0], t1, t1); - } - current_helix = t3.$index(t2, current_address_helix_idx); - t4 = design.groups; - t5 = current_helix.group; - current_group = J.$index$asx(t4._map$_map, t5); - num_helices_in_group = J.get$length$asx(design.helices_in_group$1(t5)._map$_map); - t5 = strands_move.get$current_view_order(); - t4 = strands_move.original_helices_view_order_inverse; - t6 = strands_move.original_address; - t4 = t4._map$_map; - t7 = J.getInterceptor$asx(t4); - t8 = t7.$index(t4, t6.helix_idx); - if (typeof t5 !== "number") - return t5.$sub(); - if (typeof t8 !== "number") - return H.iae(t8); - delta_view_order = t5 - t8; - t1 = t1.offset; - t6 = t6.offset; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t6 !== "number") - return H.iae(t6); - delta_offset = t1 - t6; - view_orders_of_helices_of_moving_strands = D.view_order_moving(strands_move); - t6 = type$.legacy_int; - min_view_order = N.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_strands, t6); - max_view_order = N.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_strands, t6); - if (typeof min_view_order !== "number") - return min_view_order.$add(); - if (min_view_order + delta_view_order < 0) { - t1 = type$.dynamic; - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_1], t1, t1); - } - if (typeof max_view_order !== "number") - return max_view_order.$add(); - if (typeof num_helices_in_group !== "number") - return H.iae(num_helices_in_group); - if (max_view_order + delta_view_order >= num_helices_in_group) { - t1 = type$.dynamic; - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_1], t1, t1); - } - t1 = type$.dynamic; - out_of_bounds_min_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - out_of_bounds_max_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - in_bounds_min_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - in_bounds_max_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - for (t5 = P._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, H._instanceType(original_helix_idxs_set)._precomputed1), t8 = type$.JSArray_legacy_int, t9 = strands_move.helices, t10 = strands_move.strands_moving; t5.moveNext$0();) { - t11 = t5._collection$_current; - t12 = J.$index$asx(N.construct_helix_idx_to_domains_map(t10, original_helix_idxs_set)._map$_map, t11)._list; - t13 = J.getInterceptor$asx(t12); - if (t13.get$isEmpty(t12)) - continue; - view_order_orig = t7.$index(t4, t11); - t11 = current_group.helices_view_order; - if (typeof view_order_orig !== "number") - return view_order_orig.$add(); - helix = t3.$index(t2, J.$index$asx(t11._list, view_order_orig + delta_view_order)); - outOfBoundsNewMinOffset = helix.min_offset; - outOfBoundsNewMaxOffset = helix.max_offset; - t11 = helix.idx; - t14 = t9._map$_map; - t15 = J.getInterceptor$asx(t14); - originalMinOffset = t15.$index(t14, t11).min_offset; - originalMaxOffset = t15.$index(t14, t11).max_offset; - max_offset_of_helix = design.max_offset_of_strands_at$1(t11); - min_offset_of_helix = design.min_offset_of_strands_at$1(t11); - for (t12 = t13.get$iterator(t12), inBoundsNewMaxOffset = outOfBoundsNewMaxOffset, inBoundsNewMinOffset = outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset0 = inBoundsNewMaxOffset, outOfBoundsNewMinOffset0 = inBoundsNewMinOffset; t12.moveNext$0();) { - t13 = t12.get$current(t12); - t14 = t13.start + delta_offset; - if (t14 < outOfBoundsNewMinOffset) - outOfBoundsNewMinOffset0 = N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([outOfBoundsNewMinOffset0, t14], t8), t6); - else if (t14 > outOfBoundsNewMinOffset) - inBoundsNewMinOffset = N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([inBoundsNewMinOffset, t14], t8), t6), originalMinOffset, min_offset_of_helix], t8), t6); - t13 = t13.end + delta_offset; - if (t13 > outOfBoundsNewMaxOffset) - outOfBoundsNewMaxOffset0 = N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([outOfBoundsNewMaxOffset0, t13], t8), t6); - else if (t13 < outOfBoundsNewMaxOffset) - inBoundsNewMaxOffset = N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([inBoundsNewMaxOffset, t13], t8), t6), originalMaxOffset, max_offset_of_helix], t8), t6); - } - if (typeof outOfBoundsNewMinOffset0 !== "number") - return outOfBoundsNewMinOffset0.$lt(); - if (outOfBoundsNewMinOffset0 < outOfBoundsNewMinOffset) - out_of_bounds_min_offset_changes.$indexSet(0, t11, outOfBoundsNewMinOffset0); - if (typeof outOfBoundsNewMaxOffset0 !== "number") - return outOfBoundsNewMaxOffset0.$gt(); - if (outOfBoundsNewMaxOffset0 > outOfBoundsNewMaxOffset) - out_of_bounds_max_offset_changes.$indexSet(0, t11, outOfBoundsNewMaxOffset0); - if (typeof inBoundsNewMinOffset !== "number") - return inBoundsNewMinOffset.$gt(); - if (inBoundsNewMinOffset > outOfBoundsNewMinOffset) - in_bounds_min_offset_changes.$indexSet(0, t11, inBoundsNewMinOffset); - if (typeof inBoundsNewMaxOffset !== "number") - return inBoundsNewMaxOffset.$lt(); - if (inBoundsNewMaxOffset < outOfBoundsNewMaxOffset) - in_bounds_max_offset_changes.$indexSet(0, t11, inBoundsNewMaxOffset); - } - if (out_of_bounds_min_offset_changes.get$isNotEmpty(out_of_bounds_min_offset_changes)) - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_2, "offsets", out_of_bounds_min_offset_changes], t1, t1); - if (out_of_bounds_max_offset_changes.get$isNotEmpty(out_of_bounds_max_offset_changes)) - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_3, "offsets", out_of_bounds_max_offset_changes], t1, t1); - if (in_bounds_min_offset_changes.get$isNotEmpty(in_bounds_min_offset_changes)) - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_4, "offsets", in_bounds_min_offset_changes], t1, t1); - if (in_bounds_max_offset_changes.get$isNotEmpty(in_bounds_max_offset_changes)) - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_5, "offsets", in_bounds_max_offset_changes], t1, t1); - return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_6], t1, t1); - }, - populate_original_helices_idxs_set: function(strands_move) { - var t1, t2, t3, - original_helix_idxs_set = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t1 = J.get$iterator$ax(strands_move.strands_moving._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) - original_helix_idxs_set.add$1(0, t2.get$current(t2).helix); - } - return original_helix_idxs_set; + FEMergeElement: function FEMergeElement() { }, - view_order_moving: function(strands_move) { - var t1, t2, t3, t4, view_order_of_helix, - ret = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t1 = J.get$iterator$ax(strands_move.strands_moving._list), t2 = strands_move.original_helices_view_order_inverse; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.__domains; - if (t4 == null) { - t4 = E.Strand.prototype.get$domains.call(t3); - t3.set$__domains(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) { - t4 = t3.get$current(t3).helix; - view_order_of_helix = J.$index$asx(t2._map$_map, t4); - if (view_order_of_helix == null) - throw H.wrapException(P.AssertionError$("Helix: " + t4 + ", has no inverse in strands_move.original_helices_view_order_inverse " + t2.toString$0(0))); - ret.add$1(0, view_order_of_helix); - } - } - return ret; + FEMergeNodeElement: function FEMergeNodeElement() { }, - is_allowable: function(design, strands_move, original_helix_idxs_set) { - var t1, t2, t3, t4, current_helix, t5, t6, current_group, t7, t8, t9, delta_view_order, delta_offset, delta_forward, helix_idx_to_substrands_moving, helix_idx_to_substrands_fixed, t10, domains_moving, t11, t12, view_order_orig, new_helix_idx, new_helix, domains_fixed, t13, t14, t15, t16, _i, $forward, t17, t18, t19, intervals_moving, intervals_fixed; - if (original_helix_idxs_set == null) - original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); - t1 = strands_move.current_address; - t2 = design.helices; - t3 = t2._map$_map; - t4 = J.getInterceptor$asx(t3); - current_helix = t4.$index(t3, t1.helix_idx); - t5 = design.groups; - t6 = current_helix.group; - current_group = J.$index$asx(t5._map$_map, t6); - t6 = strands_move.get$current_view_order(); - t5 = strands_move.original_helices_view_order_inverse; - t7 = strands_move.original_address; - t5 = t5._map$_map; - t8 = J.getInterceptor$asx(t5); - t9 = t8.$index(t5, t7.helix_idx); - if (typeof t6 !== "number") - return t6.$sub(); - if (typeof t9 !== "number") - return H.iae(t9); - delta_view_order = t6 - t9; - t9 = t1.offset; - t6 = t7.offset; - if (typeof t9 !== "number") - return t9.$sub(); - if (typeof t6 !== "number") - return H.iae(t6); - delta_offset = t9 - t6; - delta_forward = t1.forward != t7.forward; - helix_idx_to_substrands_moving = N.construct_helix_idx_to_domains_map(strands_move.strands_moving, original_helix_idxs_set); - helix_idx_to_substrands_fixed = N.construct_helix_idx_to_domains_map(strands_move.strands_fixed, t2.get$keys(t2)); - for (t1 = P._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, H._instanceType(original_helix_idxs_set)._precomputed1), t2 = helix_idx_to_substrands_fixed._map$_map, t6 = J.getInterceptor$asx(t2), t7 = helix_idx_to_substrands_moving._map$_map, t9 = J.getInterceptor$asx(t7); t1.moveNext$0();) { - t10 = t1._collection$_current; - domains_moving = t9.$index(t7, t10); - t11 = domains_moving._list; - t12 = J.getInterceptor$asx(t11); - if (t12.get$isEmpty(t11)) - continue; - view_order_orig = t8.$index(t5, t10); - t10 = current_group.helices_view_order; - if (typeof view_order_orig !== "number") - return view_order_orig.$add(); - new_helix_idx = J.$index$asx(t10._list, view_order_orig + delta_view_order); - new_helix = t4.$index(t3, new_helix_idx); - domains_fixed = t6.$index(t2, new_helix_idx); - t10 = domains_fixed._list; - t13 = J.getInterceptor$asx(t10); - if (t13.get$isEmpty(t10)) - continue; - for (t14 = [true, false], t15 = H._instanceType(domains_moving)._eval$1("bool(1)"), t16 = H._instanceType(domains_fixed)._eval$1("bool(1)"), _i = 0; _i < 2; ++_i) { - $forward = t14[_i]; - t17 = t12.where$1(t11, t15._as(new D.is_allowable_closure(delta_forward, $forward))); - t18 = t17.$ti; - t19 = t18._eval$1("MappedIterable<1,Point*>"); - intervals_moving = P.List_List$of(new H.MappedIterable(t17, t18._eval$1("Point*(1)")._as(new D.is_allowable_closure0(delta_offset)), t19), true, t19._eval$1("Iterable.E")); - t19 = H._arrayInstanceType(intervals_moving); - t19._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_moving.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t17 = t19._precomputed1; - t18 = intervals_moving.length - 1; - if (t18 - 0 <= 32) - H.Sort__insertionSort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - else - H.Sort__dualPivotQuicksort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - t17 = intervals_moving.length; - if (t17 !== 0) { - if (0 >= t17) - return H.ioore(intervals_moving, 0); - t18 = intervals_moving[0].x; - t19 = new_helix.min_offset; - if (typeof t18 !== "number") - return t18.$lt(); - if (t18 < t19) - return false; - t18 = t17 - 1; - if (t18 < 0) - return H.ioore(intervals_moving, t18); - t18 = intervals_moving[t18].y; - t17 = new_helix.max_offset; - if (typeof t18 !== "number") - return t18.$ge(); - if (t18 >= t17) - return false; - t17 = t13.where$1(t10, t16._as(new D.is_allowable_closure1($forward))); - t18 = t17.$ti; - t19 = t18._eval$1("MappedIterable<1,Point*>"); - intervals_fixed = P.List_List$of(new H.MappedIterable(t17, t18._eval$1("Point*(1)")._as(new D.is_allowable_closure2()), t19), true, t19._eval$1("Iterable.E")); - t19 = H._arrayInstanceType(intervals_fixed); - t19._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_fixed.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t17 = t19._precomputed1; - t18 = intervals_fixed.length - 1; - if (t18 - 0 <= 32) - H.Sort__insertionSort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - else - H.Sort__dualPivotQuicksort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - if (D.intersection(intervals_moving, intervals_fixed)) - return false; - } - } - } - return true; + FilterElement: function FilterElement() { }, - interval_comparator: function(interval1, interval2) { - var t2, - t1 = type$.legacy_Point_legacy_num; - t1._as(interval1); - t1._as(interval2); - t1 = interval1.x; - t2 = interval2.x; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return H._asIntS(t1 - t2); + GElement: function GElement() { }, - intersection: function(ints1, ints2) { - var t3, t4, t5, - t1 = ints1.length, - t2 = ints2.length, - idx1 = 0, idx2 = 0; - while (true) { - if (!(idx1 < t1 && idx2 < t2)) - break; - while (true) { - if (idx2 < t2) { - if (idx2 < 0) - return H.ioore(ints2, idx2); - t3 = ints2[idx2].y; - if (idx1 < 0 || idx1 >= t1) - return H.ioore(ints1, idx1); - t4 = ints1[idx1].x; - if (typeof t3 !== "number") - return t3.$lt(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = t3 < t4; - t3 = t4; - } else - t3 = false; - if (!t3) - break; - ++idx2; - } - if (idx2 === t2) - return false; - else { - if (idx2 < 0 || idx2 >= t2) - return H.ioore(ints2, idx2); - t3 = ints2[idx2]; - t4 = t3.x; - if (idx1 < 0 || idx1 >= t1) - return H.ioore(ints1, idx1); - t5 = ints1[idx1].y; - if (typeof t4 !== "number") - return t4.$le(); - if (typeof t5 !== "number") - return H.iae(t5); - if (t4 <= t5) - return true; - } - while (true) { - if (idx1 < t1) { - t5 = ints1[idx1].y; - if (typeof t5 !== "number") - return t5.$lt(); - t5 = t5 < t4; - } else - t5 = false; - if (!t5) - break; - ++idx1; - } - if (idx1 === t1) - return false; - else { - if (idx1 >= t1) - return H.ioore(ints1, idx1); - t4 = ints1[idx1].x; - t3 = t3.y; - if (typeof t4 !== "number") - return t4.$le(); - if (typeof t3 !== "number") - return H.iae(t3); - if (t4 <= t3) - return true; - } - } - return false; + GeometryElement: function GeometryElement() { }, - strands_move_start_selected_strands_reducer_closure: function strands_move_start_selected_strands_reducer_closure() { + GraphicsElement: function GraphicsElement() { }, - strands_adjust_address_reducer_closure: function strands_adjust_address_reducer_closure(t0) { - this.action = t0; + Length: function Length() { }, - strands_adjust_address_reducer_closure0: function strands_adjust_address_reducer_closure0(t0) { - this.allowable = t0; + LengthList: function LengthList() { }, - is_allowable_closure: function is_allowable_closure(t0, t1) { - this.delta_forward = t0; - this.forward = t1; + Number: function Number() { }, - is_allowable_closure0: function is_allowable_closure0(t0) { - this.delta_offset = t0; + NumberList: function NumberList() { }, - is_allowable_closure1: function is_allowable_closure1(t0) { - this.forward = t0; + Point0: function Point0() { }, - is_allowable_closure2: function is_allowable_closure2() { + PointList: function PointList() { }, - strand_helix_offset_key: function(strand, strand_order, column_major) { - var helix_idx, offset, helix_idx_5p, offset_5p, helix_idx_3p, offset_3p, t1, t2, helix_idx0, t3; - if (strand_order === C.StrandOrder_five_prime) { - helix_idx = strand.get$first_domain().helix; - offset = strand.get$first_domain().get$offset_5p(); - } else if (strand_order === C.StrandOrder_three_prime) { - helix_idx = strand.get$last_domain().helix; - offset = strand.get$last_domain().get$offset_3p(); - } else if (strand_order === C.StrandOrder_five_or_three_prime) { - helix_idx_5p = strand.get$first_domain().helix; - offset_5p = strand.get$first_domain().get$offset_5p(); - helix_idx_3p = strand.get$last_domain().helix; - offset_3p = strand.get$last_domain().get$offset_3p(); - if (column_major) { - if (offset_5p >= offset_3p) - t1 = offset_5p === offset_3p && helix_idx_5p <= helix_idx_3p; - else - t1 = true; - if (t1) { - offset = offset_5p; - helix_idx = helix_idx_5p; - } else { - offset = offset_3p; - helix_idx = helix_idx_3p; - } - } else { - if (helix_idx_5p >= helix_idx_3p) - t1 = helix_idx_5p === helix_idx_3p && offset_5p <= offset_3p; - else - t1 = true; - if (t1) { - offset = offset_5p; - helix_idx = helix_idx_5p; - } else { - offset = offset_3p; - helix_idx = helix_idx_3p; - } - } - } else if (strand_order === C.StrandOrder_top_left_domain_start) { - helix_idx = strand.get$first_domain().helix; - offset = strand.get$first_domain().start; - for (t1 = J.get$iterator$ax(strand.get$domains()._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - helix_idx0 = t2.helix; - if (helix_idx <= helix_idx0) - t3 = helix_idx === helix_idx0 && offset > t2.start; - else - t3 = true; - if (t3) { - offset = t2.start; - helix_idx = helix_idx0; - } - } - } else - throw H.wrapException(P.ArgumentError$(strand_order.toString$0(0) + " is not a valid StrandOrder")); - return new S.Tuple2(helix_idx, offset, type$.Tuple2_of_legacy_int_and_legacy_int); + PolygonElement: function PolygonElement() { }, - strands_comparison_function: function(strand_order, column_major) { - return new D.strands_comparison_function_compare(strand_order, column_major); + RectElement: function RectElement() { }, - ExportDNAFormat_fromString: function(str) { - var t1, t2; - for (t1 = J.get$iterator$ax(C.Map_bv0.get$keys(C.Map_bv0)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (C.Map_bv0.$index(0, t2) == str) - return t2; - } - throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + StringList: function StringList() { }, - ExportDNAException$: function(cause) { - return new D.ExportDNAException(cause); + AttributeClassSet: function AttributeClassSet(t0) { + this._svg$_element = t0; }, - csv_export: function(strands, domain_delimiter) { - var t1 = H._arrayInstanceType(strands); - return new H.MappedListIterable(strands, t1._eval$1("String*(1)")._as(new D.csv_export_closure(domain_delimiter)), t1._eval$1("MappedListIterable<1,String*>")).join$1(0, "\n"); + SvgElement: function SvgElement() { }, - idt_bulk_export: function(strands, delimiter, domain_delimiter) { - var t1 = H._arrayInstanceType(strands); - return new H.MappedListIterable(strands, t1._eval$1("String*(1)")._as(new D.idt_bulk_export_closure(delimiter, domain_delimiter, "25nm", "STD")), t1._eval$1("MappedListIterable<1,String*>")).join$1(0, "\n"); + SvgSvgElement: function SvgSvgElement() { }, - idt_plates_export: function(strands, plate_type, column_major_plate, domain_delimiter) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_List_legacy_int), - $async$returnValue, min_strands_per_plate, final_plate_less_than_min_required, decoder, num_strands_remaining, on_final_plate, num_strands_remaining0, plate, excel_row, plate_name, _i, t2, t3, strand, t4, t5, well, plate0, t0, num_strands_per_plate, t1, num_plates_needed, $async$temp1, $async$temp2, $async$temp3, $async$temp4, $async$temp5; - var $async$idt_plates_export = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - $async$outer: - switch ($async$goto) { - case 0: - // Function start - num_strands_per_plate = D.num_wells_per_plate(plate_type); - t1 = strands.length; - num_plates_needed = C.JSInt_methods.$tdiv(t1, num_strands_per_plate); - if (C.JSInt_methods.$mod(t1, num_strands_per_plate) !== 0) - ++num_plates_needed; - min_strands_per_plate = D.min_wells_per_plate(plate_type); - final_plate_less_than_min_required = t1 - Math.max(0, (num_plates_needed - 1) * num_strands_per_plate) < min_strands_per_plate; - if (num_plates_needed > 10) { - t1 = "To put " + t1 + " strands into "; - throw H.wrapException(D.ExportDNAException$(t1 + (plate_type === C.PlateType_0 ? 96 : 384) + "-well plates requires " + num_plates_needed + " plates.\nIt is currently unsupported to create more than 10 plates in a single design.\nPlease file an issue requesting this feature here: https://github.com/UC-Davis-molecular-computing/scadnano/issues")); - } - $async$temp1 = U; - $async$temp2 = new Q.ZipDecoder(); - $async$temp3 = T; - $async$temp4 = type$.List_int; - $async$temp5 = J; - $async$goto = 3; - return P._asyncAwait(E.get_binary_file_content("excel-spreadsheets/idt-plates-empty-" + num_plates_needed + "plate.xlsx"), $async$idt_plates_export); - case 3: - // returning from await. - decoder = $async$temp1._newSpreadsheetDecoder($async$temp2.decodeBuffer$3$password$verify($async$temp3.InputStream$($async$temp4._as($async$temp5.asUint8List$2$x($async$result, 0, null)), 0, null, 0), null, true), true); - num_strands_remaining = strands.length; - on_final_plate = num_plates_needed === 1; - for (num_strands_remaining0 = num_strands_remaining, plate = 1, excel_row = 1, plate_name = "plate1", _i = 0, t1 = 1, t2 = 0, t3 = 0; _i < strands.length; strands.length === num_strands_remaining || (0, H.throwConcurrentModificationError)(strands), ++_i, t3 = t2, t2 = t1, t1 = plate0) { - strand = strands[_i]; - t4 = D.rows_of(plate_type); - if (t2 >= t4.length) { - $async$returnValue = H.ioore(t4, t2); - // goto return - $async$goto = 1; - break $async$outer; - } - t4 = t4[t2]; - t5 = D.cols_of(plate_type); - if (t3 >= t5.length) { - $async$returnValue = H.ioore(t5, t3); - // goto return - $async$goto = 1; - break $async$outer; - } - well = t4 + t5[t3]; - decoder.insertRow$2(0, plate_name, excel_row); - decoder.updateCell$4(plate_name, 0, excel_row, well); - decoder.updateCell$4(plate_name, 1, excel_row, strand.vendor_export_name$0()); - t5 = strand.vendor_dna_sequence$1$domain_delimiter(domain_delimiter); - decoder.updateCell$4(plate_name, 2, excel_row, t5 == null ? "*****NONE*****" : t5); - --num_strands_remaining0; - if (!on_final_plate && final_plate_less_than_min_required && num_strands_remaining0 === min_strands_per_plate) { - ++t1; - plate0 = t1; - t1 = 0; - t2 = 0; - } else { - if (column_major_plate) { - ++t2; - if (t2 === D.rows_of(plate_type).length) { - t2 = t3 + 1; - if (t2 === D.cols_of(plate_type).length) { - ++t1; - t2 = t1; - t1 = 0; - } else { - t0 = t2; - t2 = t1; - t1 = t0; - } - t3 = t2; - t2 = t1; - t1 = 0; - } else { - t0 = t3; - t3 = t1; - t1 = t2; - t2 = t0; - } - } else { - ++t3; - if (t3 === D.cols_of(plate_type).length) { - ++t2; - if (t2 === D.rows_of(plate_type).length) { - ++t1; - t2 = t1; - t1 = 0; - } else { - t0 = t2; - t2 = t1; - t1 = t0; - } - t3 = t2; - t2 = 0; - } else { - t0 = t3; - t3 = t1; - t1 = t2; - t2 = t0; - } - } - plate0 = t3; - } - if (plate !== plate0) { - plate_name = "plate" + plate0; - plate = plate0; - excel_row = 1; - on_final_plate = true; - } else - ++excel_row; - } - $async$returnValue = decoder.encode$0(); - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$idt_plates_export, $async$completer); + TextContentElement: function TextContentElement() { }, - num_wells_per_plate: function(plate_type) { - var _s133_ = string$.You_ha; - switch (plate_type) { - case C.PlateType_0: - return 96; - case C.PlateType_1: - return 384; - case C.PlateType_2: - throw H.wrapException(D.ExportDNAException$(_s133_)); - } - throw H.wrapException(D.ExportDNAException$(_s133_)); + TextElement: function TextElement() { }, - min_wells_per_plate: function(plate_type) { - var _s133_ = string$.You_ha; - switch (plate_type) { - case C.PlateType_0: - return 24; - case C.PlateType_1: - return 96; - case C.PlateType_2: - throw H.wrapException(D.ExportDNAException$(_s133_)); - } - throw H.wrapException(D.ExportDNAException$(_s133_)); + TextPathElement: function TextPathElement() { }, - rows_of: function(plate_type) { - var _s133_ = string$.You_ha; - switch (plate_type) { - case C.PlateType_0: - return H.setRuntimeTypeInfo(["A", "B", "C", "D", "E", "F", "G", "H"], type$.JSArray_legacy_String); - case C.PlateType_1: - return H.setRuntimeTypeInfo(["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P"], type$.JSArray_legacy_String); - case C.PlateType_2: - throw H.wrapException(D.ExportDNAException$(_s133_)); - } - throw H.wrapException(D.ExportDNAException$(_s133_)); - }, - cols_of: function(plate_type) { - var t1, i, - _s133_ = string$.You_ha; - switch (plate_type) { - case C.PlateType_0: - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (i = 1; i <= 12; ++i) - t1.push(i); - return t1; - case C.PlateType_1: - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (i = 1; i <= 24; ++i) - t1.push(i); - return t1; - case C.PlateType_2: - throw H.wrapException(D.ExportDNAException$(_s133_)); - } - throw H.wrapException(D.ExportDNAException$(_s133_)); + TextPositioningElement: function TextPositioningElement() { }, - _$valueOf5: function($name) { - switch ($name) { - case "idt_bulk": - return C.ExportDNAFormat_idt_bulk; - case "idt_plates96": - return C.ExportDNAFormat_idt_plates96; - case "idt_plates384": - return C.ExportDNAFormat_idt_plates384; - case "csv": - return C.ExportDNAFormat_csv; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + Transform: function Transform() { }, - strands_comparison_function_compare: function strands_comparison_function_compare(t0, t1) { - this.strand_order = t0; - this.column_major = t1; + TransformList: function TransformList() { }, - ExportDNAFormat: function ExportDNAFormat(t0) { - this.name = t0; + _LengthList_JavaScriptObject_ListMixin: function _LengthList_JavaScriptObject_ListMixin() { }, - ExportDNAException: function ExportDNAException(t0) { - this.cause = t0; + _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin: function _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - csv_export_closure: function csv_export_closure(t0) { - this.domain_delimiter = t0; + _NumberList_JavaScriptObject_ListMixin: function _NumberList_JavaScriptObject_ListMixin() { }, - idt_bulk_export_closure: function idt_bulk_export_closure(t0, t1, t2, t3) { - var _ = this; - _.delimiter = t0; - _.domain_delimiter = t1; - _.scale = t2; - _.purification = t3; + _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - PlateType: function PlateType(t0) { - this._export_dna_format$_name = t0; + _StringList_JavaScriptObject_ListMixin: function _StringList_JavaScriptObject_ListMixin() { }, - _$ExportDNAFormatSerializer: function _$ExportDNAFormatSerializer() { + _StringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _StringList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - GridPosition_GridPosition: function(h, v) { - var t1 = new D.GridPositionBuilder(); - type$.legacy_void_Function_legacy_GridPositionBuilder._as(new D.GridPosition_GridPosition_closure(h, v)).call$1(t1); - return t1.build$0(); + _TransformList_JavaScriptObject_ListMixin: function _TransformList_JavaScriptObject_ListMixin() { }, - GridPosition: function GridPosition() { + _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - GridPosition_GridPosition_closure: function GridPosition_GridPosition_closure(t0, t1) { - this.h = t0; - this.v = t1; + _UnmodifiableUint8ListView$(list) { + return new A._UnmodifiableUint8ListView(list); }, - _$GridPositionSerializer: function _$GridPositionSerializer() { + _UnmodifiableByteBufferView: function _UnmodifiableByteBufferView(t0) { + this._typed_data$_data = t0; }, - _$GridPosition: function _$GridPosition(t0, t1) { - this.h = t0; - this.v = t1; - this._grid_position$__hashCode = null; + _UnmodifiableByteDataView: function _UnmodifiableByteDataView(t0) { + this._typed_data$_data = t0; }, - GridPositionBuilder: function GridPositionBuilder() { - this._v = this._h = this._grid_position$_$v = null; + _UnmodifiableListMixin: function _UnmodifiableListMixin() { }, - _GridPosition_Object_BuiltJsonSerializable: function _GridPosition_Object_BuiltJsonSerializable() { + _UnmodifiableUint8ListView: function _UnmodifiableUint8ListView(t0) { + this._typed_data$_list = t0; }, - _$valueOf8: function($name) { - switch ($name) { - case "end_5p_strand": - return C.SelectModeChoice_end_5p_strand; - case "end_3p_strand": - return C.SelectModeChoice_end_3p_strand; - case "end_5p_domain": - return C.SelectModeChoice_end_5p_domain; - case "end_3p_domain": - return C.SelectModeChoice_end_3p_domain; - case "domain": - return C.SelectModeChoice_domain; - case "crossover": - return C.SelectModeChoice_crossover; - case "loopout": - return C.SelectModeChoice_loopout; - case "extension_": - return C.SelectModeChoice_extension_; - case "strand": - return C.SelectModeChoice_strand; - case "insertion": - return C.SelectModeChoice_insertion; - case "deletion": - return C.SelectModeChoice_deletion; - case "modification": - return C.SelectModeChoice_modification; - case "scaffold": - return C.SelectModeChoice_scaffold; - case "staple": - return C.SelectModeChoice_staple; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + _UnmodifiableInt32ListView: function _UnmodifiableInt32ListView(t0) { + this._typed_data$_list = t0; }, - SelectModeChoice: function SelectModeChoice(t0) { - this.name = t0; + Endian: function Endian() { }, - _$SelectModeChoiceSerializer: function _$SelectModeChoiceSerializer() { + __UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin: function __UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin() { }, - ask_for_autobreak_parameters: function() { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, results, t1, t2, target_length, min_length, max_length, min_distance_to_xover, items; - var $async$ask_for_autobreak_parameters = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(4, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("target length", null, 49)); - C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("min length", null, 15)); - C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("max length", null, 60)); - C.JSArray_methods.$indexSet(items, 3, E.DialogInteger_DialogInteger("min distance to xover", null, 3)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Choose autobreak parameters", C.DialogType_choose_autobreak_parameters, true)), $async$ask_for_autobreak_parameters); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogInteger; - target_length = H._asIntS(t2._as(t1.$index(results, 0)).value); - min_length = H._asIntS(t2._as(t1.$index(results, 1)).value); - max_length = H._asIntS(t2._as(t1.$index(results, 2)).value); - min_distance_to_xover = H._asIntS(t2._as(t1.$index(results, 3)).value); - $.app.dispatch$1(U.Autobreak_Autobreak(max_length, min_distance_to_xover, min_length, target_length)); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_autobreak_parameters, $async$completer); + __UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin: function __UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin() { }, - ask_for_geometry: function(geometry) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, results, t1, t2, rise_per_base_pair, helix_radius, inter_helix_gap, new_geometry, items; - var $async$ask_for_geometry = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(5, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogFloat_DialogFloat("rise per base pair (nm)", geometry.rise_per_base_pair)); - C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("helix radius (nm)", geometry.helix_radius)); - C.JSArray_methods.$indexSet(items, 2, E.DialogFloat_DialogFloat("inter helix gap (nm)", geometry.inter_helix_gap)); - C.JSArray_methods.$indexSet(items, 3, E.DialogFloat_DialogFloat("bases per turn", geometry.bases_per_turn)); - C.JSArray_methods.$indexSet(items, 4, E.DialogFloat_DialogFloat("minor groove angle (degrees)", geometry.minor_groove_angle)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", C.DialogType_adjust_geometric_parameters, true)), $async$ask_for_geometry); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogFloat; - rise_per_base_pair = t2._as(t1.$index(results, 0)).value; - helix_radius = t2._as(t1.$index(results, 1)).value; - inter_helix_gap = t2._as(t1.$index(results, 2)).value; - new_geometry = N.Geometry_Geometry(t2._as(t1.$index(results, 3)).value, helix_radius, inter_helix_gap, t2._as(t1.$index(results, 4)).value, rise_per_base_pair); - $.app.dispatch$1(U._$GeometrySet$_(new_geometry)); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_geometry, $async$completer); + AudioBuffer: function AudioBuffer() { }, - request_load_file_from_file_chooser: function(file_chooser, onload_callback) { - var file, basefilename, file_reader, t1, t2, t3, - files = file_chooser.files; - if (0 >= files.length) - return H.ioore(files, 0); - file = files[0]; - basefilename = X.ParsedPath_ParsedPath$parse(file.name, $.$get$context().style).get$basename(); - file_reader = new FileReader(); - t1 = type$.nullable_void_Function_legacy_ProgressEvent; - t2 = t1._as(new D.request_load_file_from_file_chooser_closure(onload_callback, file_reader, basefilename)); - type$.nullable_void_Function._as(null); - t3 = type$.legacy_ProgressEvent; - W._EventStreamSubscription$(file_reader, "load", t2, false, t3); - W._EventStreamSubscription$(file_reader, "error", t1._as(new D.request_load_file_from_file_chooser_closure0("error reading file: " + J.toString$0$(file_reader.error))), false, t3); - file_reader.readAsText(file); + AudioNode: function AudioNode() { }, - scadnano_file_loaded: function(file_reader, filename) { - var json_model_text; - type$.legacy_FileReader._as(file_reader); - H._asStringS(filename); - json_model_text = (file_reader && C.FileReader_methods).get$result(file_reader); - $.app.dispatch$1(U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(H._asStringS(json_model_text), C.DNAFileType_scadnano_file, filename, true)); + AudioParam: function AudioParam() { }, - cadnano_file_loaded: function(file_reader, filename) { - return D.cadnano_file_loaded$body(file_reader, filename); + AudioParamMap: function AudioParamMap() { }, - cadnano_file_loaded$body: function(file_reader, filename) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$next = [], json_cadnano_text, e, t1, exception; - var $async$cadnano_file_loaded = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - filename = filename; - try { - json_cadnano_text = C.FileReader_methods.get$result(file_reader); - t1 = filename; - filename = $.$get$context().withoutExtension$1(t1) + ".sc"; - $.app.dispatch$1(U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(H._asStringS(json_cadnano_text), C.DNAFileType_cadnano_file, filename, true)); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - e = t1; - C.Window_methods.alert$1(window, "Error importing file: " + H.S(e)); - } else - throw exception; - } - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$cadnano_file_loaded, $async$completer); + AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { + this.keys = t0; }, - _$Menu: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? D._$$MenuProps$JsMap$(new L.JsBackedMap({})) : D._$$MenuProps__$$MenuProps(backingProps); + AudioParamMap_values_closure: function AudioParamMap_values_closure(t0) { + this.values = t0; }, - _$$MenuProps__$$MenuProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return D._$$MenuProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new D._$$MenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu$_props = backingMap; - return t1; - } + AudioScheduledSourceNode: function AudioScheduledSourceNode() { }, - _$$MenuProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new D._$$MenuProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + AudioTrackList: function AudioTrackList() { }, - ConnectedMenu_closure: function ConnectedMenu_closure() { + BaseAudioContext: function BaseAudioContext() { }, - ConnectedMenu__closure: function ConnectedMenu__closure() { + ConstantSourceNode: function ConstantSourceNode() { }, - MenuPropsMixin: function MenuPropsMixin() { + OfflineAudioContext: function OfflineAudioContext() { }, - MenuComponent: function MenuComponent() { + _AudioParamMap_JavaScriptObject_MapMixin: function _AudioParamMap_JavaScriptObject_MapMixin() { }, - MenuComponent_file_menu_closure: function MenuComponent_file_menu_closure(t0) { - this.$this = t0; + Archive: function Archive(t0, t1) { + this._files = t0; + this._fileMap = t1; }, - MenuComponent_file_menu_closure0: function MenuComponent_file_menu_closure0() { + ArchiveFile: function ArchiveFile(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.size = t1; + _.mode = 420; + _.lastModTime = t2; + _.isFile = true; + _.crc32 = null; + _.compress = true; + _._compressionType = t3; + _._archive_file$_content = _._rawContent = null; }, - MenuComponent_file_menu_closure1: function MenuComponent_file_menu_closure1() { + Bz2BitReader: function Bz2BitReader(t0) { + this.input = t0; + this._bitPos = this._bz2_bit_reader$_bitBuffer = 0; }, - MenuComponent_file_menu_closure2: function MenuComponent_file_menu_closure2(t0) { - this.$this = t0; + BZip2Decoder: function BZip2Decoder() { + var _ = this; + _.__BZip2Decoder__numSelectors_A = _.__BZip2Decoder__unzftab_A = _.__BZip2Decoder__minLens_A = _.__BZip2Decoder__perm_A = _.__BZip2Decoder__base_A = _.__BZip2Decoder__limit_A = _.__BZip2Decoder__selector_A = _.__BZip2Decoder__selectorMtf_A = _.__BZip2Decoder__mtfbase_A = _.__BZip2Decoder__mtfa_A = _.__BZip2Decoder__seqToUnseq_A = _.__BZip2Decoder__inUse_A = _.__BZip2Decoder__inUse16_A = _.__BZip2Decoder__tt_A = _.__BZip2Decoder__blockSize100k_A = $; + _._groupPos = 0; + _._groupNo = -1; + _._gMinlen = _._gSel = 0; + _.__BZip2Decoder__len_A = _.__BZip2Decoder__cftab_A = _.__BZip2Decoder__gBase_A = _.__BZip2Decoder__gPerm_A = _.__BZip2Decoder__gLimit_A = $; + _._numInUse = 0; }, - MenuComponent_file_menu_closure3: function MenuComponent_file_menu_closure3(t0) { - this.$this = t0; + FileContent: function FileContent() { }, - MenuComponent_file_menu_closure4: function MenuComponent_file_menu_closure4() { + Uint8ListEquality_equals(mac, computedMac) { + var v, i, + t1 = J.getInterceptor$asx(mac), + t2 = J.getInterceptor$asx(computedMac); + if (t1.get$length(mac) !== t2.get$length(computedMac)) + return false; + for (v = 0, i = 0; i < t1.get$length(mac); ++i) + v = (v | t1.$index(mac, i) ^ t2.$index(computedMac, i)) >>> 0; + return v === 0; }, - MenuComponent_file_menu_closure5: function MenuComponent_file_menu_closure5(t0) { - this.$this = t0; + AesCipherUtil_prepareBuffAESIVBytes(buff, nonce) { + var i; + buff[0] = nonce & 255; + buff[1] = nonce >>> 8 & 255; + buff[2] = nonce >>> 16 & 255; + buff[3] = nonce >>> 24 & 255; + for (i = 4; i <= 15; ++i) { + if (!(i < 16)) + return A.ioore(buff, i); + buff[i] = 0; + } }, - MenuComponent_file_menu_closure6: function MenuComponent_file_menu_closure6(t0) { - this.$this = t0; + Aes$(derivedKey, hmacDerivedKey, aesKeyStrength, encrypt) { + var t2, t3, t4, t5, t6, mac, + t1 = new Uint8Array(16); + t1 = new A.Aes(t1, new Uint8Array(16), derivedKey, encrypt); + t2 = type$.int; + t3 = J.JSArray_JSArray$fixed(0, t2); + t4 = type$.JSArray_int; + t5 = A._setArrayType([99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22], t4); + t6 = A._setArrayType([82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125], t4); + t4 = t1.aesEngine = new A.AESEngine(t3, t5, t6, A._setArrayType([1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145], t4), A._setArrayType([2774754246, 2222750968, 2574743534, 2373680118, 234025727, 3177933782, 2976870366, 1422247313, 1345335392, 50397442, 2842126286, 2099981142, 436141799, 1658312629, 3870010189, 2591454956, 1170918031, 2642575903, 1086966153, 2273148410, 368769775, 3948501426, 3376891790, 200339707, 3970805057, 1742001331, 4255294047, 3937382213, 3214711843, 4154762323, 2524082916, 1539358875, 3266819957, 486407649, 2928907069, 1780885068, 1513502316, 1094664062, 49805301, 1338821763, 1546925160, 4104496465, 887481809, 150073849, 2473685474, 1943591083, 1395732834, 1058346282, 201589768, 1388824469, 1696801606, 1589887901, 672667696, 2711000631, 251987210, 3046808111, 151455502, 907153956, 2608889883, 1038279391, 652995533, 1764173646, 3451040383, 2675275242, 453576978, 2659418909, 1949051992, 773462580, 756751158, 2993581788, 3998898868, 4221608027, 4132590244, 1295727478, 1641469623, 3467883389, 2066295122, 1055122397, 1898917726, 2542044179, 4115878822, 1758581177, 0, 753790401, 1612718144, 536673507, 3367088505, 3982187446, 3194645204, 1187761037, 3653156455, 1262041458, 3729410708, 3561770136, 3898103984, 1255133061, 1808847035, 720367557, 3853167183, 385612781, 3309519750, 3612167578, 1429418854, 2491778321, 3477423498, 284817897, 100794884, 2172616702, 4031795360, 1144798328, 3131023141, 3819481163, 4082192802, 4272137053, 3225436288, 2324664069, 2912064063, 3164445985, 1211644016, 83228145, 3753688163, 3249976951, 1977277103, 1663115586, 806359072, 452984805, 250868733, 1842533055, 1288555905, 336333848, 890442534, 804056259, 3781124030, 2727843637, 3427026056, 957814574, 1472513171, 4071073621, 2189328124, 1195195770, 2892260552, 3881655738, 723065138, 2507371494, 2690670784, 2558624025, 3511635870, 2145180835, 1713513028, 2116692564, 2878378043, 2206763019, 3393603212, 703524551, 3552098411, 1007948840, 2044649127, 3797835452, 487262998, 1994120109, 1004593371, 1446130276, 1312438900, 503974420, 3679013266, 168166924, 1814307912, 3831258296, 1573044895, 1859376061, 4021070915, 2791465668, 2828112185, 2761266481, 937747667, 2339994098, 854058965, 1137232011, 1496790894, 3077402074, 2358086913, 1691735473, 3528347292, 3769215305, 3027004632, 4199962284, 133494003, 636152527, 2942657994, 2390391540, 3920539207, 403179536, 3585784431, 2289596656, 1864705354, 1915629148, 605822008, 4054230615, 3350508659, 1371981463, 602466507, 2094914977, 2624877800, 555687742, 3712699286, 3703422305, 2257292045, 2240449039, 2423288032, 1111375484, 3300242801, 2858837708, 3628615824, 84083462, 32962295, 302911004, 2741068226, 1597322602, 4183250862, 3501832553, 2441512471, 1489093017, 656219450, 3114180135, 954327513, 335083755, 3013122091, 856756514, 3144247762, 1893325225, 2307821063, 2811532339, 3063651117, 572399164, 2458355477, 552200649, 1238290055, 4283782570, 2015897680, 2061492133, 2408352771, 4171342169, 2156497161, 386731290, 3669999461, 837215959, 3326231172, 3093850320, 3275833730, 2962856233, 1999449434, 286199582, 3417354363, 4233385128, 3602627437, 974525996], t4), A._setArrayType([1353184337, 1399144830, 3282310938, 2522752826, 3412831035, 4047871263, 2874735276, 2466505547, 1442459680, 4134368941, 2440481928, 625738485, 4242007375, 3620416197, 2151953702, 2409849525, 1230680542, 1729870373, 2551114309, 3787521629, 41234371, 317738113, 2744600205, 3338261355, 3881799427, 2510066197, 3950669247, 3663286933, 763608788, 3542185048, 694804553, 1154009486, 1787413109, 2021232372, 1799248025, 3715217703, 3058688446, 397248752, 1722556617, 3023752829, 407560035, 2184256229, 1613975959, 1165972322, 3765920945, 2226023355, 480281086, 2485848313, 1483229296, 436028815, 2272059028, 3086515026, 601060267, 3791801202, 1468997603, 715871590, 120122290, 63092015, 2591802758, 2768779219, 4068943920, 2997206819, 3127509762, 1552029421, 723308426, 2461301159, 4042393587, 2715969870, 3455375973, 3586000134, 526529745, 2331944644, 2639474228, 2689987490, 853641733, 1978398372, 971801355, 2867814464, 111112542, 1360031421, 4186579262, 1023860118, 2919579357, 1186850381, 3045938321, 90031217, 1876166148, 4279586912, 620468249, 2548678102, 3426959497, 2006899047, 3175278768, 2290845959, 945494503, 3689859193, 1191869601, 3910091388, 3374220536, 0, 2206629897, 1223502642, 2893025566, 1316117100, 4227796733, 1446544655, 517320253, 658058550, 1691946762, 564550760, 3511966619, 976107044, 2976320012, 266819475, 3533106868, 2660342555, 1338359936, 2720062561, 1766553434, 370807324, 179999714, 3844776128, 1138762300, 488053522, 185403662, 2915535858, 3114841645, 3366526484, 2233069911, 1275557295, 3151862254, 4250959779, 2670068215, 3170202204, 3309004356, 880737115, 1982415755, 3703972811, 1761406390, 1676797112, 3403428311, 277177154, 1076008723, 538035844, 2099530373, 4164795346, 288553390, 1839278535, 1261411869, 4080055004, 3964831245, 3504587127, 1813426987, 2579067049, 4199060497, 577038663, 3297574056, 440397984, 3626794326, 4019204898, 3343796615, 3251714265, 4272081548, 906744984, 3481400742, 685669029, 646887386, 2764025151, 3835509292, 227702864, 2613862250, 1648787028, 3256061430, 3904428176, 1593260334, 4121936770, 3196083615, 2090061929, 2838353263, 3004310991, 999926984, 2809993232, 1852021992, 2075868123, 158869197, 4095236462, 28809964, 2828685187, 1701746150, 2129067946, 147831841, 3873969647, 3650873274, 3459673930, 3557400554, 3598495785, 2947720241, 824393514, 815048134, 3227951669, 935087732, 2798289660, 2966458592, 366520115, 1251476721, 4158319681, 240176511, 804688151, 2379631990, 1303441219, 1414376140, 3741619940, 3820343710, 461924940, 3089050817, 2136040774, 82468509, 1563790337, 1937016826, 776014843, 1511876531, 1389550482, 861278441, 323475053, 2355222426, 2047648055, 2383738969, 2302415851, 3995576782, 902390199, 3991215329, 1018251130, 1507840668, 1064563285, 2043548696, 3208103795, 3939366739, 1537932639, 342834655, 2262516856, 2180231114, 1053059257, 741614648, 1598071746, 1925389590, 203809468, 2336832552, 1100287487, 1895934009, 3736275976, 2632234200, 2428589668, 1636092795, 1890988757, 1952214088, 1113045200], t4)); + t4._forEncryption = true; + t4.set$_WorkingKey(t4.generateWorkingKey$2(true, new A.KeyParameter(derivedKey))); + if (t4._forEncryption) + t4.set$_s(A.List_List$from(t5, true, t2)); + else + t4.set$_s(A.List_List$from(t6, true, t2)); + mac = A.HMac$(A.SHA1Digest$(), 64); + mac.init$1(0, new A.KeyParameter(hmacDerivedKey)); + t1.__Aes__macGen_A = mac; + return t1; }, - MenuComponent_file_menu_save_design_local_storage_options_closure: function MenuComponent_file_menu_save_design_local_storage_options_closure(t0) { - this.$this = t0; + Aes: function Aes(t0, t1, t2, t3) { + var _ = this; + _.nonce = 1; + _.iv = t0; + _.counterBlock = t1; + _.derivedKey = t2; + _.encrypt = t3; + _.aesEngine = null; + _.__Aes_mac_A = _.__Aes__macGen_A = $; }, - MenuComponent_file_menu_save_design_local_storage_options_closure0: function MenuComponent_file_menu_save_design_local_storage_options_closure0(t0) { - this.$this = t0; + ArchiveException$(message) { + return new A.ArchiveException(message, null, null); }, - MenuComponent_file_menu_save_design_local_storage_options_closure1: function MenuComponent_file_menu_save_design_local_storage_options_closure1(t0) { - this.$this = t0; + ArchiveException: function ArchiveException(t0, t1, t2) { + this.message = t0; + this.source = t1; + this.offset = t2; }, - MenuComponent_file_menu_save_design_local_storage_options_closure2: function MenuComponent_file_menu_save_design_local_storage_options_closure2(t0) { - this.$this = t0; + InputStream$(data, byteOrder, $length, start) { + var t1, t2; + if (type$.TypedData._is(data)) { + t1 = J.getInterceptor$x(data); + t1 = J.asUint8List$2$x(t1.get$buffer(data), t1.get$offsetInBytes(data), t1.get$lengthInBytes(data)); + } else + t1 = type$.List_int._is(data) ? data : A.List_List$from(type$.Iterable_dynamic._as(data), true, type$.int); + t2 = new A.InputStream(t1, start, start, byteOrder, $); + t2.__InputStream__length_A = $length == null ? J.get$length$asx(t1) : $length; + return t2; }, - MenuComponent_file_menu_save_design_local_storage_options_closure3: function MenuComponent_file_menu_save_design_local_storage_options_closure3(t0) { - this.$this = t0; + InputStreamBase: function InputStreamBase() { }, - MenuComponent_edit_menu_closure: function MenuComponent_edit_menu_closure(t0) { - this.$this = t0; + InputStream: function InputStream(t0, t1, t2, t3, t4) { + var _ = this; + _.buffer = t0; + _.offset = t1; + _.start = t2; + _.byteOrder = t3; + _.__InputStream__length_A = t4; }, - MenuComponent_edit_menu_closure0: function MenuComponent_edit_menu_closure0(t0) { - this.$this = t0; + OutputStream$(size) { + var t1 = size == null ? 32768 : size; + return new A.OutputStream(new Uint8Array(t1)); }, - MenuComponent_edit_menu_closure1: function MenuComponent_edit_menu_closure1(t0) { - this.$this = t0; + OutputStreamBase: function OutputStreamBase() { }, - MenuComponent_edit_menu_closure2: function MenuComponent_edit_menu_closure2(t0) { - this.$this = t0; + OutputStream: function OutputStream(t0) { + this.length = 0; + this._output_stream$_buffer = t0; }, - MenuComponent_edit_menu_closure3: function MenuComponent_edit_menu_closure3() { + ZipDirectory: function ZipDirectory(t0) { + var _ = this; + _.filePosition = -1; + _.totalCentralDirectoryEntriesOnThisDisk = _.numberOfThisDisk = 0; + _.__ZipDirectory_centralDirectoryOffset_A = _.__ZipDirectory_centralDirectorySize_A = $; + _.fileHeaders = t0; }, - MenuComponent_edit_menu_closure4: function MenuComponent_edit_menu_closure4() { + ZipFile_deriveKey(password, salt, derivedKeyLength) { + var passwordBytes, totalSize, t1, keyDerivator, out; + if (password.get$isEmpty(password)) + return new Uint8Array(0); + passwordBytes = new Uint8Array(A._ensureNativeList(password.get$codeUnits(password))); + totalSize = derivedKeyLength * 2 + 2; + t1 = A.HMac$(A.SHA1Digest$(), 64); + keyDerivator = new A.PBKDF2KeyDerivator(t1); + t1 = t1.__HMac__digestSize_A; + t1 === $ && A.throwLateFieldNI("_digestSize"); + keyDerivator.__PBKDF2KeyDerivator__state_A = new Uint8Array(t1); + keyDerivator.__PBKDF2KeyDerivator__params_A = new A.Pbkdf2Parameters(salt, 1000, totalSize); + out = new Uint8Array(totalSize); + return B.NativeUint8List_methods.sublist$2(out, 0, keyDerivator.deriveKey$4(passwordBytes, 0, out, 0)); }, - MenuComponent_undo_dropdowns_closure: function MenuComponent_undo_dropdowns_closure() { + AesHeader: function AesHeader(t0, t1) { + this.encryptionStrength = t0; + this.compressionMethod = t1; }, - MenuComponent_redo_dropdowns_closure: function MenuComponent_redo_dropdowns_closure() { + ZipFile: function ZipFile(t0, t1, t2) { + var _ = this; + _.signature = 67324752; + _.lastModFileDate = _.lastModFileTime = _.compressionMethod = _.flags = 0; + _.uncompressedSize = _.compressedSize = _.crc32 = null; + _.filename = ""; + _.extraField = t0; + _.header = t1; + _.__ZipFile__rawContent_A = $; + _._zip_file$_content = null; + _._encryptionType = 0; + _._password = _._aesHeader = null; + _._zip_file$_keys = t2; }, - MenuComponent_undo_or_redo_dropdown_closure: function MenuComponent_undo_or_redo_dropdown_closure(t0, t1) { - this.undo_or_redo_action_creator = t0; - this.num_times = t1; + ZipFileHeader: function ZipFileHeader(t0) { + var _ = this; + _.versionMadeBy = 0; + _.localHeaderOffset = _.externalFileAttributes = _.diskNumberStart = _.uncompressedSize = _.compressedSize = null; + _.filename = ""; + _.extraField = t0; + _.file = null; }, - MenuComponent_edit_menu_copy_paste_closure: function MenuComponent_edit_menu_copy_paste_closure(t0) { - this.$this = t0; + ZipDecoder: function ZipDecoder() { + this.__ZipDecoder_directory_A = $; }, - MenuComponent_edit_menu_copy_paste_closure0: function MenuComponent_edit_menu_copy_paste_closure0(t0) { - this.$this = t0; + _getTime(dateTime) { + if (dateTime == null) + return null; + return ((A.Primitives_getHours(dateTime) << 3 | A.Primitives_getMinutes(dateTime) >>> 3) & 255) << 8 | ((A.Primitives_getMinutes(dateTime) & 7) << 5 | A.Primitives_getSeconds(dateTime) / 2 | 0) & 255; }, - MenuComponent_edit_menu_copy_paste_closure1: function MenuComponent_edit_menu_copy_paste_closure1() { + _getDate(dateTime) { + if (dateTime == null) + return null; + return (((A.Primitives_getYear(dateTime) - 1980 & 127) << 1 | A.Primitives_getMonth(dateTime) >>> 3) & 255) << 8 | ((A.Primitives_getMonth(dateTime) & 7) << 5 | A.Primitives_getDay(dateTime)) & 255; }, - MenuComponent_edit_menu_copy_paste_closure2: function MenuComponent_edit_menu_copy_paste_closure2() { + _ZipFileData: function _ZipFileData() { + var _ = this; + _.___ZipFileData_name_A = $; + _.uncompressedSize = _.compressedSize = _.crc32 = _.date = _.time = 0; + _.compressedData = null; + _.compress = true; + _.comment = ""; + _.mode = _.position = 0; }, - MenuComponent_edit_menu_copy_paste_closure3: function MenuComponent_edit_menu_copy_paste_closure3() { + _ZipEncoderData: function _ZipEncoderData(t0, t1) { + var _ = this; + _.level = t0; + _.___ZipEncoderData_date_F = _.___ZipEncoderData_time_F = $; + _.centralDirectorySize = _.localFileSize = 0; + _.files = t1; }, - MenuComponent_edit_menu_copy_paste_closure4: function MenuComponent_edit_menu_copy_paste_closure4(t0) { - this.$this = t0; + ZipEncoder: function ZipEncoder(t0) { + var _ = this; + _.__ZipEncoder__data_A = $; + _._output = null; + _._random = t0; + _._pwdVer = _._mac = null; }, - MenuComponent_edit_menu_copy_paste_closure5: function MenuComponent_edit_menu_copy_paste_closure5() { + Deflate__smaller(tree, n, m, depth) { + var t3, + t1 = n * 2, + t2 = tree.length; + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(tree, t1); + t1 = tree[t1]; + t3 = m * 2; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(tree, t3); + t3 = tree[t3]; + if (t1 >= t3) + if (t1 === t3) { + if (!(n >= 0 && n < 573)) + return A.ioore(depth, n); + t1 = depth[n]; + if (!(m >= 0 && m < 573)) + return A.ioore(depth, m); + t1 = t1 <= depth[m]; + } else + t1 = false; + else + t1 = true; + return t1; }, - MenuComponent_edit_menu_copy_paste_closure6: function MenuComponent_edit_menu_copy_paste_closure6(t0) { - this.$this = t0; + _HuffmanTree__genCodes(tree, maxCode, blCount) { + var code, bits, t1, n, t2, t3, len, + nextCode = new Uint16Array(16); + for (code = 0, bits = 1; bits <= 15; ++bits) { + code = code + blCount[bits - 1] << 1 >>> 0; + if (!(bits < 16)) + return A.ioore(nextCode, bits); + nextCode[bits] = code; + } + for (t1 = tree.length, n = 0; n <= maxCode; ++n) { + t2 = n * 2; + t3 = t2 + 1; + if (!(t3 < t1)) + return A.ioore(tree, t3); + len = tree[t3]; + if (len === 0) + continue; + if (!(len >= 0 && len < 16)) + return A.ioore(nextCode, len); + t3 = nextCode[len]; + if (!(len < 16)) + return A.ioore(nextCode, len); + nextCode[len] = t3 + 1; + t3 = A._HuffmanTree__reverseBits(t3, len); + if (!(t2 < t1)) + return A.ioore(tree, t2); + tree[t2] = t3; + } }, - MenuComponent_edit_menu_copy_paste_closure7: function MenuComponent_edit_menu_copy_paste_closure7(t0) { - this.$this = t0; + _HuffmanTree__reverseBits(code, len) { + var code0, res = 0; + do { + code0 = A._rshift(code, 1); + res = (res | code & 1) << 1 >>> 0; + if (--len, len > 0) { + code = code0; + continue; + } else + break; + } while (true); + return A._rshift(res, 1); }, - MenuComponent_edit_menu_helix_rolls_closure: function MenuComponent_edit_menu_helix_rolls_closure(t0) { - this.$this = t0; + _HuffmanTree__dCode(dist) { + var t1; + if (dist < 256) { + if (!(dist >= 0)) + return A.ioore(B.List_AyI, dist); + t1 = B.List_AyI[dist]; + } else { + t1 = 256 + A._rshift(dist, 7); + if (!(t1 < 512)) + return A.ioore(B.List_AyI, t1); + t1 = B.List_AyI[t1]; + } + return t1; }, - MenuComponent_edit_menu_helix_rolls_closure0: function MenuComponent_edit_menu_helix_rolls_closure0(t0) { - this.$this = t0; + _StaticTree$(staticTree, extraBits, extraBase, numElements, maxLength) { + return new A._StaticTree(staticTree, extraBits, extraBase, numElements, maxLength); }, - MenuComponent_edit_menu_helix_rolls_closure1: function MenuComponent_edit_menu_helix_rolls_closure1(t0) { - this.$this = t0; + _rshift(number, bits) { + if (number >= 0) + return B.JSInt_methods.$shr(number, bits); + else + return B.JSInt_methods.$shr(number, bits) + B.JSInt_methods._shlPositive$1(2, (~bits >>> 0) + 65536 & 65535); }, - MenuComponent_edit_menu_helix_rolls_closure2: function MenuComponent_edit_menu_helix_rolls_closure2(t0) { - this.$this = t0; + Deflate: function Deflate(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.total = _.crc32 = 0; + _._deflate$_input = t0; + _._deflate$_output = t1; + _._status = null; + _.__Deflate__pending_A = _.__Deflate__pendingOut_A = _.__Deflate__pendingBufferSize_A = _.__Deflate__pendingBuffer_A = $; + _._dataType = 2; + _.__Deflate__strStart_A = _.__Deflate__matchAvailable_A = _.__Deflate__prevMatch_A = _.__Deflate__matchLength_A = _.__Deflate__blockStart_A = _.__Deflate__hashShift_A = _.__Deflate__hashMask_A = _.__Deflate__hashBits_A = _.__Deflate__hashSize_A = _.__Deflate__insertHash_A = _.__Deflate__head_A = _.__Deflate__prev_A = _.__Deflate__actualWindowSize_A = _.__Deflate__window_A = _.__Deflate__windowMask_A = _.__Deflate__windowBits_A = _.__Deflate__windowSize_A = $; + _._matchStart = 0; + _.__Deflate__bitLengthTree_A = _.__Deflate__dynamicDistTree_A = _.__Deflate__dynamicLengthTree_A = _.__Deflate__strategy_A = _.__Deflate__level_A = _.__Deflate__prevLength_A = _.__Deflate__lookAhead_A = $; + _._lDesc = t2; + _._dDesc = t3; + _._blDesc = t4; + _._bitLengthCount = t5; + _._heap = t6; + _.__Deflate__heapMax_A = _.__Deflate__heapLen_A = $; + _._depth = t7; + _.__Deflate__numValidBits_A = _.__Deflate__bitBuffer_A = _.__Deflate__lastEOBLen_A = _.__Deflate__matches_A = _.__Deflate__staticLen_A = _.__Deflate__optimalLen_A = _.__Deflate__dbuf_A = _.__Deflate__lastLit_A = _.__Deflate__litBufferSize_A = _.__Deflate__lbuf_A = $; }, - MenuComponent_edit_menu_helix_rolls_closure3: function MenuComponent_edit_menu_helix_rolls_closure3(t0) { - this.$this = t0; + _DeflaterConfig: function _DeflaterConfig(t0, t1, t2, t3, t4) { + var _ = this; + _.goodLength = t0; + _.maxLazy = t1; + _.niceLength = t2; + _.maxChain = t3; + _.$function = t4; }, - MenuComponent_view_menu_autofit_closure: function MenuComponent_view_menu_autofit_closure() { + _HuffmanTree: function _HuffmanTree() { + this.___HuffmanTree_staticDesc_A = this.___HuffmanTree_maxCode_A = this.___HuffmanTree_dynamicTree_A = $; }, - MenuComponent_view_menu_autofit_closure0: function MenuComponent_view_menu_autofit_closure0(t0) { - this.$this = t0; + _StaticTree: function _StaticTree(t0, t1, t2, t3, t4) { + var _ = this; + _.staticTree = t0; + _.extraBits = t1; + _.extraBase = t2; + _.numElements = t3; + _.maxLength = t4; }, - MenuComponent_view_menu_warnings_closure: function MenuComponent_view_menu_warnings_closure(t0) { - this.$this = t0; + HuffmanTable$(lengths) { + var t1 = new A.HuffmanTable(); + t1.HuffmanTable$1(lengths); + return t1; }, - MenuComponent_view_menu_warnings_closure0: function MenuComponent_view_menu_warnings_closure0(t0) { - this.$this = t0; + HuffmanTable: function HuffmanTable() { + this.__HuffmanTable_table_A = $; + this.maxCodeLength = 0; + this.minCodeLength = 2147483647; }, - MenuComponent_view_menu_warnings_closure1: function MenuComponent_view_menu_warnings_closure1(t0) { - this.$this = t0; + Inflate$(bytes) { + var t1 = A.HuffmanTable$(B.List_2Bc), + t2 = A.HuffmanTable$(B.List_X3d1); + t2 = new A.Inflate(A.InputStream$(bytes, 0, null, 0), A.OutputStream$(null), t1, t2); + t2.inputSet = true; + t2._inflate$0(); + return t2; }, - MenuComponent_view_menu_show_labels_closure: function MenuComponent_view_menu_show_labels_closure(t0) { - this.$this = t0; + Inflate: function Inflate(t0, t1, t2, t3) { + var _ = this; + _.__Inflate_input_A = t0; + _.inputSet = false; + _.output = t1; + _._bitBufferLen = _._bitBuffer = 0; + _._fixedLiteralLengthTable = t2; + _._fixedDistanceTable = t3; }, - MenuComponent_view_menu_show_labels_closure0: function MenuComponent_view_menu_show_labels_closure0(t0) { - this.$this = t0; + CopyOnWriteList: function CopyOnWriteList(t0, t1, t2) { + var _ = this; + _._copy_on_write_list$_copyBeforeWrite = true; + _._growable = t0; + _._copy_on_write_list$_list = t1; + _.$ti = t2; }, - MenuComponent_view_menu_show_labels_closure1: function MenuComponent_view_menu_show_labels_closure1(t0) { - this.$this = t0; + CopyOnWriteMap: function CopyOnWriteMap(t0, t1, t2) { + var _ = this; + _._copy_on_write_map$_mapFactory = t0; + _._copyBeforeWrite = true; + _._copy_on_write_map$_map = t1; + _.$ti = t2; }, - MenuComponent_view_menu_show_labels_closure2: function MenuComponent_view_menu_show_labels_closure2(t0) { - this.$this = t0; + CopyOnWriteSet: function CopyOnWriteSet(t0, t1, t2) { + var _ = this; + _._copy_on_write_set$_setFactory = t0; + _._copy_on_write_set$_copyBeforeWrite = true; + _._copy_on_write_set$_set = t1; + _.$ti = t2; }, - MenuComponent_view_menu_show_labels_closure3: function MenuComponent_view_menu_show_labels_closure3(t0) { - this.$this = t0; + hashObjects(objects) { + return A._finish(B.JSArray_methods.fold$1$2(objects, 0, new A.hashObjects_closure(), type$.int)); }, - MenuComponent_view_menu_show_labels_closure4: function MenuComponent_view_menu_show_labels_closure4(t0) { - this.$this = t0; + _combine(hash, value) { + if (typeof hash !== "number") + return hash.$add(); + if (typeof value !== "number") + return A.iae(value); + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; }, - MenuComponent_view_menu_show_labels_closure5: function MenuComponent_view_menu_show_labels_closure5(t0) { - this.$this = t0; + _finish(hash) { + if (typeof hash !== "number") + return A.iae(hash); + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; }, - MenuComponent_view_menu_show_labels_closure6: function MenuComponent_view_menu_show_labels_closure6(t0) { - this.$this = t0; + hashObjects_closure: function hashObjects_closure() { }, - MenuComponent_view_menu_mods_closure: function MenuComponent_view_menu_mods_closure(t0) { - this.$this = t0; + BuiltList_BuiltList(iterable, $E) { + return A.BuiltList_BuiltList$from(iterable, $E); }, - MenuComponent_view_menu_mods_closure0: function MenuComponent_view_menu_mods_closure0(t0) { - this.$this = t0; + BuiltList_BuiltList$from(iterable, $E) { + var t1; + if (iterable instanceof A._BuiltList) { + t1 = A.createRuntimeType($E); + t1 = A.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return $E._eval$1("BuiltList<0>")._as(iterable); + else { + t1 = new A._BuiltList(A.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); + t1._maybeCheckForNull$0(); + return t1; + } }, - MenuComponent_view_menu_mods_closure1: function MenuComponent_view_menu_mods_closure1(t0) { - this.$this = t0; + BuiltList_BuiltList$of(iterable, $E) { + var t1; + if ($E._eval$1("_BuiltList<0>")._is(iterable)) { + t1 = A.createRuntimeType($E); + t1 = A.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return iterable; + else + return A._BuiltList$of(iterable, $E); }, - MenuComponent_view_menu_helices_closure: function MenuComponent_view_menu_helices_closure(t0) { - this.$this = t0; + _BuiltList$of(iterable, $E) { + var t1 = new A._BuiltList(A.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); + t1._maybeCheckForNull$0(); + return t1; }, - MenuComponent_view_menu_helices_closure0: function MenuComponent_view_menu_helices_closure0(t0) { - this.$this = t0; + BuiltListIterableExtension_toBuiltList(_this, $E) { + return A.BuiltList_BuiltList$of(_this, $E); }, - MenuComponent_view_menu_helices_closure1: function MenuComponent_view_menu_helices_closure1(t0) { - this.$this = t0; + ListBuilder_ListBuilder(iterable, $E) { + var t1 = new A.ListBuilder($E._eval$1("ListBuilder<0>")); + t1.replace$1(0, iterable); + return t1; }, - MenuComponent_view_menu_helices_closure2: function MenuComponent_view_menu_helices_closure2(t0) { - this.$this = t0; + BuiltList: function BuiltList() { }, - MenuComponent_view_menu_display_major_ticks_options_closure: function MenuComponent_view_menu_display_major_ticks_options_closure(t0) { - this.$this = t0; + _BuiltList: function _BuiltList(t0, t1) { + this._list = t0; + this._list$_hashCode = null; + this.$ti = t1; }, - MenuComponent_view_menu_display_major_ticks_options_closure0: function MenuComponent_view_menu_display_major_ticks_options_closure0(t0) { - this.$this = t0; + ListBuilder: function ListBuilder(t0) { + this.__ListBuilder__list_A = $; + this._listOwner = null; + this.$ti = t0; }, - MenuComponent_view_menu_display_major_ticks_options_closure1: function MenuComponent_view_menu_display_major_ticks_options_closure1(t0) { - this.$this = t0; + BuiltListMultimap_BuiltListMultimap($K, $V) { + var t1 = A._BuiltListMultimap$copy(B.Map_empty.get$keys(B.Map_empty), new A.BuiltListMultimap_BuiltListMultimap_closure(B.Map_empty), $K, $V); + return t1; }, - MenuComponent_view_menu_display_major_ticks_options_closure2: function MenuComponent_view_menu_display_major_ticks_options_closure2(t0) { - this.$this = t0; + _BuiltListMultimap$copy(keys, lookup, $K, $V) { + var t1 = new A._BuiltListMultimap(A.LinkedHashMap_LinkedHashMap$_empty($K, $V._eval$1("BuiltList<0>")), A.BuiltList_BuiltList$from(B.List_empty, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltListMultimap<1,2>")); + t1._BuiltListMultimap$copy$2(keys, lookup, $K, $V); + return t1; }, - MenuComponent_view_menu_display_major_ticks_options_closure3: function MenuComponent_view_menu_display_major_ticks_options_closure3(t0) { - this.$this = t0; + ListMultimapBuilder_ListMultimapBuilder($K, $V) { + var t1 = new A.ListMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("ListMultimapBuilder<1,2>")); + t1.replace$1(0, B.Map_empty); + return t1; }, - MenuComponent_view_menu_display_major_ticks_options_closure4: function MenuComponent_view_menu_display_major_ticks_options_closure4(t0) { - this.$this = t0; + BuiltListMultimap: function BuiltListMultimap() { }, - MenuComponent_view_menu_base_pairs_closure: function MenuComponent_view_menu_base_pairs_closure(t0) { - this.$this = t0; + BuiltListMultimap_BuiltListMultimap_closure: function BuiltListMultimap_BuiltListMultimap_closure(t0) { + this.multimap = t0; }, - MenuComponent_view_menu_base_pairs_closure0: function MenuComponent_view_menu_base_pairs_closure0(t0) { + BuiltListMultimap_hashCode_closure: function BuiltListMultimap_hashCode_closure(t0) { this.$this = t0; }, - MenuComponent_view_menu_base_pairs_closure1: function MenuComponent_view_menu_base_pairs_closure1(t0) { - this.$this = t0; + _BuiltListMultimap: function _BuiltListMultimap(t0, t1, t2) { + var _ = this; + _._list_multimap$_map = t0; + _._emptyList = t1; + _._list_multimap$_keys = _._list_multimap$_hashCode = null; + _.$ti = t2; }, - MenuComponent_view_menu_dna_closure: function MenuComponent_view_menu_dna_closure(t0) { - this.$this = t0; + ListMultimapBuilder: function ListMultimapBuilder(t0) { + var _ = this; + _.__ListMultimapBuilder__builtMap_A = $; + _._list_multimap$_builtMapOwner = null; + _.__ListMultimapBuilder__builderMap_A = $; + _.$ti = t0; }, - MenuComponent_view_menu_dna_closure0: function MenuComponent_view_menu_dna_closure0(t0) { - this.$this = t0; + ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) { + this.multimap = t0; }, - MenuComponent_view_menu_show_oxview_closure: function MenuComponent_view_menu_show_oxview_closure(t0) { - this.$this = t0; + BuiltMap_BuiltMap(map, $K, $V) { + var t1 = A._BuiltMap$copyAndCheckTypes(map.get$keys(map), new A.BuiltMap_BuiltMap_closure(map), $K, $V); + return t1; }, - MenuComponent_view_menu_zoom_speed_closure: function MenuComponent_view_menu_zoom_speed_closure(t0) { - this.$this = t0; + BuiltMap_BuiltMap$from(map, $K, $V) { + var t1 = map._copy_on_write_map$_map; + return A._BuiltMap$copyAndCheckTypes(t1.get$keys(t1), new A.BuiltMap_BuiltMap$from_closure(map), $K, $V); }, - MenuComponent_view_menu_misc_closure: function MenuComponent_view_menu_misc_closure(t0) { - this.$this = t0; + BuiltMap_BuiltMap$of(map, $K, $V) { + var t1 = new A._BuiltMap(null, A.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); + t1._BuiltMap$copyAndCheckForNull$2(J.get$keys$x(map), new A.BuiltMap_BuiltMap$of_closure(map, $V, $K), $K, $V); + return t1; }, - MenuComponent_view_menu_misc_closure0: function MenuComponent_view_menu_misc_closure0(t0) { - this.$this = t0; + _BuiltMap$copyAndCheckTypes(keys, lookup, $K, $V) { + var t1 = new A._BuiltMap(null, A.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); + t1._BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V); + return t1; }, - MenuComponent_view_menu_misc_closure1: function MenuComponent_view_menu_misc_closure1(t0) { - this.$this = t0; + MapBuilder_MapBuilder(map, $K, $V) { + var t1 = new A.MapBuilder(null, $, null, $K._eval$1("@<0>")._bind$1($V)._eval$1("MapBuilder<1,2>")); + t1.replace$1(0, map); + return t1; }, - MenuComponent_view_menu_misc_closure2: function MenuComponent_view_menu_misc_closure2(t0) { - this.$this = t0; + BuiltMap: function BuiltMap() { }, - MenuComponent_view_menu_misc_closure3: function MenuComponent_view_menu_misc_closure3(t0) { - this.$this = t0; + BuiltMap_BuiltMap_closure: function BuiltMap_BuiltMap_closure(t0) { + this.map = t0; }, - MenuComponent_view_menu_misc_closure4: function MenuComponent_view_menu_misc_closure4(t0) { - this.$this = t0; + BuiltMap_BuiltMap$from_closure: function BuiltMap_BuiltMap$from_closure(t0) { + this.map = t0; }, - MenuComponent_view_menu_misc_closure5: function MenuComponent_view_menu_misc_closure5(t0) { - this.$this = t0; + BuiltMap_BuiltMap$of_closure: function BuiltMap_BuiltMap$of_closure(t0, t1, t2) { + this.map = t0; + this.V = t1; + this.K = t2; }, - MenuComponent_export_menu_closure: function MenuComponent_export_menu_closure(t0) { + BuiltMap_hashCode_closure: function BuiltMap_hashCode_closure(t0) { this.$this = t0; }, - MenuComponent_export_menu_closure0: function MenuComponent_export_menu_closure0(t0) { - this.$this = t0; + _BuiltMap: function _BuiltMap(t0, t1, t2) { + var _ = this; + _._mapFactory = t0; + _._map$_map = t1; + _._values = _._keys = _._hashCode = null; + _.$ti = t2; }, - MenuComponent_export_menu_closure1: function MenuComponent_export_menu_closure1(t0) { - this.$this = t0; + MapBuilder: function MapBuilder(t0, t1, t2, t3) { + var _ = this; + _._mapFactory = t0; + _.__MapBuilder__map_A = t1; + _._mapOwner = t2; + _.$ti = t3; }, - MenuComponent_export_menu_closure2: function MenuComponent_export_menu_closure2(t0) { + MapBuilder_replace_closure: function MapBuilder_replace_closure(t0, t1) { this.$this = t0; + this.replacement = t1; }, - MenuComponent_export_menu_closure3: function MenuComponent_export_menu_closure3() { - }, - MenuComponent_export_menu_closure4: function MenuComponent_export_menu_closure4(t0) { + MapBuilder_replace_closure0: function MapBuilder_replace_closure0(t0, t1) { this.$this = t0; + this.replacement = t1; }, - MenuComponent_export_menu_closure5: function MenuComponent_export_menu_closure5(t0) { - this.$this = t0; + BuiltSet_BuiltSet(iterable, $E) { + return A.BuiltSet_BuiltSet$from(iterable, $E); }, - MenuComponent_export_menu_closure6: function MenuComponent_export_menu_closure6(t0) { - this.$this = t0; + BuiltSet_BuiltSet$from(iterable, $E) { + var t1; + if (iterable instanceof A._BuiltSet) { + t1 = A.createRuntimeType($E); + t1 = A.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return $E._eval$1("BuiltSet<0>")._as(iterable); + else { + t1 = new A._BuiltSet(null, A.LinkedHashSet_LinkedHashSet$from(iterable, $E), $E._eval$1("_BuiltSet<0>")); + t1._set$_maybeCheckForNull$0(); + return t1; + } }, - MenuComponent_export_menu_closure7: function MenuComponent_export_menu_closure7(t0) { - this.$this = t0; + BuiltSet_BuiltSet$of(iterable, $E) { + var t1 = A._BuiltSet$of(iterable, $E); + return t1; }, - MenuComponent_export_menu_closure8: function MenuComponent_export_menu_closure8(t0) { - this.$this = t0; + _BuiltSet$of(iterable, $E) { + var t1 = A.LinkedHashSet_LinkedHashSet$_empty($E); + t1.addAll$1(0, iterable); + t1 = new A._BuiltSet(null, t1, $E._eval$1("_BuiltSet<0>")); + t1._set$_maybeCheckForNull$0(); + return t1; }, - MenuComponent_export_menu_closure9: function MenuComponent_export_menu_closure9(t0) { - this.$this = t0; + SetBuilder_SetBuilder(iterable, $E) { + var t1 = new A.SetBuilder(null, $, null, $E._eval$1("SetBuilder<0>")); + t1.replace$1(0, iterable); + return t1; }, - MenuComponent_help_menu_closure: function MenuComponent_help_menu_closure() { + BuiltSet: function BuiltSet() { }, - request_load_file_from_file_chooser_closure: function request_load_file_from_file_chooser_closure(t0, t1, t2) { - this.onload_callback = t0; - this.file_reader = t1; - this.basefilename = t2; + BuiltSet_hashCode_closure: function BuiltSet_hashCode_closure(t0) { + this.$this = t0; }, - request_load_file_from_file_chooser_closure0: function request_load_file_from_file_chooser_closure0(t0) { - this.err_msg = t0; + _BuiltSet: function _BuiltSet(t0, t1, t2) { + var _ = this; + _._setFactory = t0; + _._set = t1; + _._set$_hashCode = null; + _.$ti = t2; }, - $MenuComponentFactory_closure: function $MenuComponentFactory_closure() { + SetBuilder: function SetBuilder(t0, t1, t2, t3) { + var _ = this; + _._setFactory = t0; + _.__SetBuilder__set_A = t1; + _._setOwner = t2; + _.$ti = t3; }, - _$$MenuProps: function _$$MenuProps() { + SetMultimapBuilder_SetMultimapBuilder($K, $V) { + var t1 = new A.SetMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("SetMultimapBuilder<1,2>")); + t1.replace$1(0, B.Map_empty); + return t1; }, - _$$MenuProps$PlainMap: function _$$MenuProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60) { - var _ = this; - _._menu$_props = t0; - _.MenuPropsMixin_selected_ends = t1; - _.MenuPropsMixin_selection_box_intersection = t2; - _.MenuPropsMixin_no_grid_is_none = t3; - _.MenuPropsMixin_show_oxview = t4; - _.MenuPropsMixin_show_dna = t5; - _.MenuPropsMixin_show_strand_names = t6; - _.MenuPropsMixin_show_strand_labels = t7; - _.MenuPropsMixin_show_domain_names = t8; - _.MenuPropsMixin_show_domain_labels = t9; - _.MenuPropsMixin_strand_name_font_size = t10; - _.MenuPropsMixin_strand_label_font_size = t11; - _.MenuPropsMixin_domain_name_font_size = t12; - _.MenuPropsMixin_domain_label_font_size = t13; - _.MenuPropsMixin_zoom_speed = t14; - _.MenuPropsMixin_show_modifications = t15; - _.MenuPropsMixin_modification_font_size = t16; - _.MenuPropsMixin_major_tick_offset_font_size = t17; - _.MenuPropsMixin_major_tick_width_font_size = t18; - _.MenuPropsMixin_modification_display_connector = t19; - _.MenuPropsMixin_show_mismatches = t20; - _.MenuPropsMixin_show_domain_name_mismatches = t21; - _.MenuPropsMixin_show_unpaired_insertion_deletions = t22; - _.MenuPropsMixin_strand_paste_keep_color = t23; - _.MenuPropsMixin_autofit = t24; - _.MenuPropsMixin_only_display_selected_helices = t25; - _.MenuPropsMixin_example_designs = t26; - _.MenuPropsMixin_base_pair_display_type = t27; - _.MenuPropsMixin_design_has_insertions_or_deletions = t28; - _.MenuPropsMixin_undo_stack_empty = t29; - _.MenuPropsMixin_redo_stack_empty = t30; - _.MenuPropsMixin_enable_copy = t31; - _.MenuPropsMixin_dynamically_update_helices = t32; - _.MenuPropsMixin_show_base_pair_lines = t33; - _.MenuPropsMixin_show_base_pair_lines_with_mismatches = t34; - _.MenuPropsMixin_display_of_major_ticks_offsets = t35; - _.MenuPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t36; - _.MenuPropsMixin_display_major_tick_widths = t37; - _.MenuPropsMixin_display_major_tick_widths_all_helices = t38; - _.MenuPropsMixin_invert_y = t39; - _.MenuPropsMixin_warn_on_exit_if_unsaved = t40; - _.MenuPropsMixin_show_helix_circles_main_view = t41; - _.MenuPropsMixin_show_helix_components_main_view = t42; - _.MenuPropsMixin_show_grid_coordinates_side_view = t43; - _.MenuPropsMixin_show_helices_axis_arrows = t44; - _.MenuPropsMixin_show_loopout_extension_length = t45; - _.MenuPropsMixin_show_mouseover_data = t46; - _.MenuPropsMixin_disable_png_caching_dna_sequences = t47; - _.MenuPropsMixin_retain_strand_color_on_selection = t48; - _.MenuPropsMixin_display_reverse_DNA_right_side_up = t49; - _.MenuPropsMixin_default_crossover_type_scaffold_for_setting_helix_rolls = t50; - _.MenuPropsMixin_default_crossover_type_staple_for_setting_helix_rolls = t51; - _.MenuPropsMixin_export_svg_text_separately = t52; - _.MenuPropsMixin_ox_export_only_selected_strands = t53; - _.MenuPropsMixin_local_storage_design_choice = t54; - _.MenuPropsMixin_clear_helix_selection_when_loading_new_design = t55; - _.MenuPropsMixin_show_slice_bar = t56; - _.MenuPropsMixin_geometry = t57; - _.MenuPropsMixin_undo_redo = t58; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t59; - _.UbiquitousDomPropsMixin__dom = t60; + BuiltSetMultimap: function BuiltSetMultimap() { }, - _$$MenuProps$JsMap: function _$$MenuProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60) { - var _ = this; - _._menu$_props = t0; - _.MenuPropsMixin_selected_ends = t1; - _.MenuPropsMixin_selection_box_intersection = t2; - _.MenuPropsMixin_no_grid_is_none = t3; - _.MenuPropsMixin_show_oxview = t4; - _.MenuPropsMixin_show_dna = t5; - _.MenuPropsMixin_show_strand_names = t6; - _.MenuPropsMixin_show_strand_labels = t7; - _.MenuPropsMixin_show_domain_names = t8; - _.MenuPropsMixin_show_domain_labels = t9; - _.MenuPropsMixin_strand_name_font_size = t10; - _.MenuPropsMixin_strand_label_font_size = t11; - _.MenuPropsMixin_domain_name_font_size = t12; - _.MenuPropsMixin_domain_label_font_size = t13; - _.MenuPropsMixin_zoom_speed = t14; - _.MenuPropsMixin_show_modifications = t15; - _.MenuPropsMixin_modification_font_size = t16; - _.MenuPropsMixin_major_tick_offset_font_size = t17; - _.MenuPropsMixin_major_tick_width_font_size = t18; - _.MenuPropsMixin_modification_display_connector = t19; - _.MenuPropsMixin_show_mismatches = t20; - _.MenuPropsMixin_show_domain_name_mismatches = t21; - _.MenuPropsMixin_show_unpaired_insertion_deletions = t22; - _.MenuPropsMixin_strand_paste_keep_color = t23; - _.MenuPropsMixin_autofit = t24; - _.MenuPropsMixin_only_display_selected_helices = t25; - _.MenuPropsMixin_example_designs = t26; - _.MenuPropsMixin_base_pair_display_type = t27; - _.MenuPropsMixin_design_has_insertions_or_deletions = t28; - _.MenuPropsMixin_undo_stack_empty = t29; - _.MenuPropsMixin_redo_stack_empty = t30; - _.MenuPropsMixin_enable_copy = t31; - _.MenuPropsMixin_dynamically_update_helices = t32; - _.MenuPropsMixin_show_base_pair_lines = t33; - _.MenuPropsMixin_show_base_pair_lines_with_mismatches = t34; - _.MenuPropsMixin_display_of_major_ticks_offsets = t35; - _.MenuPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t36; - _.MenuPropsMixin_display_major_tick_widths = t37; - _.MenuPropsMixin_display_major_tick_widths_all_helices = t38; - _.MenuPropsMixin_invert_y = t39; - _.MenuPropsMixin_warn_on_exit_if_unsaved = t40; - _.MenuPropsMixin_show_helix_circles_main_view = t41; - _.MenuPropsMixin_show_helix_components_main_view = t42; - _.MenuPropsMixin_show_grid_coordinates_side_view = t43; - _.MenuPropsMixin_show_helices_axis_arrows = t44; - _.MenuPropsMixin_show_loopout_extension_length = t45; - _.MenuPropsMixin_show_mouseover_data = t46; - _.MenuPropsMixin_disable_png_caching_dna_sequences = t47; - _.MenuPropsMixin_retain_strand_color_on_selection = t48; - _.MenuPropsMixin_display_reverse_DNA_right_side_up = t49; - _.MenuPropsMixin_default_crossover_type_scaffold_for_setting_helix_rolls = t50; - _.MenuPropsMixin_default_crossover_type_staple_for_setting_helix_rolls = t51; - _.MenuPropsMixin_export_svg_text_separately = t52; - _.MenuPropsMixin_ox_export_only_selected_strands = t53; - _.MenuPropsMixin_local_storage_design_choice = t54; - _.MenuPropsMixin_clear_helix_selection_when_loading_new_design = t55; - _.MenuPropsMixin_show_slice_bar = t56; - _.MenuPropsMixin_geometry = t57; - _.MenuPropsMixin_undo_redo = t58; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t59; - _.UbiquitousDomPropsMixin__dom = t60; + BuiltSetMultimap_hashCode_closure: function BuiltSetMultimap_hashCode_closure(t0) { + this.$this = t0; }, - _$MenuComponent: function _$MenuComponent(t0, t1, t2, t3) { + _BuiltSetMultimap: function _BuiltSetMultimap(t0, t1, t2) { var _ = this; - _._menu$_cachedTypedProps = null; - _.RedrawCounterMixin__desiredRedrawCount = t0; - _.RedrawCounterMixin__didRedraw = t1; - _.RedrawCounterMixin_redrawCount = t2; - _.DisposableManagerProxy__disposableProxy = t3; - _.jsThis = _.state = _.props = null; - }, - $MenuPropsMixin: function $MenuPropsMixin() { + _._set_multimap$_map = t0; + _._emptySet = t1; + _._set_multimap$_keys = _._set_multimap$_hashCode = null; + _.$ti = t2; }, - _MenuComponent_UiComponent2_RedrawCounterMixin: function _MenuComponent_UiComponent2_RedrawCounterMixin() { + SetMultimapBuilder: function SetMultimapBuilder(t0) { + var _ = this; + _.__SetMultimapBuilder__builtMap_A = $; + _._builtMapOwner = null; + _.__SetMultimapBuilder__builderMap_A = $; + _.$ti = t0; }, - __$$MenuProps_UiProps_MenuPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin() { + SetMultimapBuilder_replace_closure: function SetMultimapBuilder_replace_closure(t0) { + this.multimap = t0; }, - __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin() { + $jc(hash, value) { + if (typeof value !== "number") + return A.iae(value); + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; }, - __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin() { + $jf(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; }, - __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + BuiltValueNullFieldError$(type, field) { + return new A.BuiltValueNullFieldError(type, field); }, - OxviewViewComponent: function OxviewViewComponent() { - this.frame = this.div = null; + BuiltValueNullFieldError_checkNotNull(value, type, field, $T) { + if (value == null) + throw A.wrapException(new A.BuiltValueNullFieldError(type, field)); + return value; }, - _$SelectMode: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? D._$$SelectModeProps$JsMap$(new L.JsBackedMap({})) : D._$$SelectModeProps__$$SelectModeProps(backingProps); + BuiltValueNestedFieldError$(type, field, error) { + return new A.BuiltValueNestedFieldError(type, field, error); }, - _$$SelectModeProps__$$SelectModeProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return D._$$SelectModeProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new D._$$SelectModeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._select_mode$_props = backingMap; - return t1; - } + EnumClass: function EnumClass() { }, - _$$SelectModeProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new D._$$SelectModeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._select_mode$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + newBuiltValueToStringHelper_closure: function newBuiltValueToStringHelper_closure() { }, - SelectModePropsMixin: function SelectModePropsMixin() { + IndentingBuiltValueToStringHelper: function IndentingBuiltValueToStringHelper(t0) { + this._result = t0; }, - SelectModeComponent: function SelectModeComponent() { + BuiltValueNullFieldError: function BuiltValueNullFieldError(t0, t1) { + this.type = t0; + this.field = t1; }, - SelectModeComponent_render_closure: function SelectModeComponent_render_closure() { + BuiltValueNestedFieldError: function BuiltValueNestedFieldError(t0, t1, t2) { + this.type = t0; + this.field = t1; + this.error = t2; }, - SelectModeComponent_render_closure0: function SelectModeComponent_render_closure0(t0) { - this.mode = t0; + JsonObject_JsonObject(value) { + if (typeof value == "number") + return new A.NumJsonObject(value); + else if (typeof value == "string") + return new A.StringJsonObject(value); + else if (A._isBool(value)) + return new A.BoolJsonObject(value); + else if (type$.List_nullable_Object._is(value)) + return new A.ListJsonObject(new A.UnmodifiableListView(value, type$.UnmodifiableListView_nullable_Object)); + else if (type$.Map_of_String_and_nullable_Object._is(value)) + return new A.MapJsonObject(new A.UnmodifiableMapView(value, type$.UnmodifiableMapView_of_String_and_nullable_Object)); + else if (type$.Map_dynamic_dynamic._is(value)) + return new A.MapJsonObject(new A.UnmodifiableMapView(J.cast$2$0$ax(value, type$.String, type$.nullable_Object), type$.UnmodifiableMapView_of_String_and_nullable_Object)); + else + throw A.wrapException(A.ArgumentError$value(value, "value", "Must be bool, List, Map, num or String")); }, - $SelectModeComponentFactory_closure: function $SelectModeComponentFactory_closure() { + JsonObject: function JsonObject() { }, - _$$SelectModeProps: function _$$SelectModeProps() { + BoolJsonObject: function BoolJsonObject(t0) { + this.value = t0; }, - _$$SelectModeProps$PlainMap: function _$$SelectModeProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._select_mode$_props = t0; - _.SelectModePropsMixin_select_mode_state = t1; - _.SelectModePropsMixin_is_origami = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + ListJsonObject: function ListJsonObject(t0) { + this.value = t0; }, - _$$SelectModeProps$JsMap: function _$$SelectModeProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._select_mode$_props = t0; - _.SelectModePropsMixin_select_mode_state = t1; - _.SelectModePropsMixin_is_origami = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + MapJsonObject: function MapJsonObject(t0) { + this.value = t0; }, - _$SelectModeComponent: function _$SelectModeComponent(t0, t1, t2, t3) { - var _ = this; - _._select_mode$_cachedTypedProps = null; - _.RedrawCounterMixin__desiredRedrawCount = t0; - _.RedrawCounterMixin__didRedraw = t1; - _.RedrawCounterMixin_redrawCount = t2; - _.DisposableManagerProxy__disposableProxy = t3; - _.jsThis = _.state = _.props = null; + NumJsonObject: function NumJsonObject(t0) { + this.value = t0; }, - $SelectModePropsMixin: function $SelectModePropsMixin() { + StringJsonObject: function StringJsonObject(t0) { + this.value = t0; }, - _SelectModeComponent_UiComponent2_RedrawCounterMixin: function _SelectModeComponent_UiComponent2_RedrawCounterMixin() { + Serializers_Serializers() { + var t1 = type$.Type, + t2 = type$.Serializer_dynamic, + t3 = type$.String; + t2 = new A.BuiltJsonSerializersBuilder(A.MapBuilder_MapBuilder(B.Map_empty, t1, t2), A.MapBuilder_MapBuilder(B.Map_empty, t3, t2), A.MapBuilder_MapBuilder(B.Map_empty, t3, t2), A.MapBuilder_MapBuilder(B.Map_empty, type$.FullType, type$.Function), A.ListBuilder_ListBuilder(B.List_empty, type$.SerializerPlugin)); + t2.add$1(0, new A.BigIntSerializer(A.BuiltList_BuiltList$from([B.Type_BigInt_8OV, J.get$runtimeType$($.$get$_BigIntImpl_zero())], t1))); + t2.add$1(0, new A.BoolSerializer(A.BuiltList_BuiltList$from([B.Type_bool_lhE], t1))); + t3 = type$.Object; + t2.add$1(0, new A.BuiltListSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltList_iTR, A.getRuntimeType(A.BuiltList_BuiltList$from(B.List_empty, t3))], t1))); + t2.add$1(0, new A.BuiltListMultimapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltListMultimap_2Mt, A.getRuntimeType(A.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); + t2.add$1(0, new A.BuiltMapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltMap_qd4, A.getRuntimeType(A.BuiltMap_BuiltMap(B.Map_empty, t3, t3))], t1))); + t2.add$1(0, new A.BuiltSetSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltSet_fcN, A.getRuntimeType(A.BuiltSet_BuiltSet$from(B.List_empty, t3))], t1))); + t2.add$1(0, new A.BuiltSetMultimapSerializer(A.BuiltSet_BuiltSet$from([B.Type_BuiltSetMultimap_9Fi], t1))); + t2.add$1(0, new A.DateTimeSerializer(A.BuiltList_BuiltList$from([B.Type_DateTime_8AS], t1))); + t2.add$1(0, new A.DoubleSerializer(A.BuiltList_BuiltList$from([B.Type_double_K1J], t1))); + t2.add$1(0, new A.DurationSerializer(A.BuiltList_BuiltList$from([B.Type_Duration_SnA], t1))); + t2.add$1(0, new A.IntSerializer(A.BuiltList_BuiltList$from([B.Type_int_tHn], t1))); + t2.add$1(0, new A.Int64Serializer(A.BuiltList_BuiltList$from([B.Type_Int64_ww8], t1))); + t2.add$1(0, new A.JsonObjectSerializer(A.BuiltList_BuiltList$from([B.Type_JsonObject_gyf, B.Type_BoolJsonObject_8HQ, B.Type_ListJsonObject_yPV, B.Type_MapJsonObject_bBG, B.Type_NumJsonObject_H9C, B.Type_StringJsonObject_GAC], t1))); + t2.add$1(0, new A.NullSerializer(A.BuiltList_BuiltList$from([B.Type_Null_Yyn], t1))); + t2.add$1(0, new A.NumSerializer(A.BuiltList_BuiltList$from([B.Type_num_cv7], t1))); + t2.add$1(0, new A.RegExpSerializer(A.BuiltList_BuiltList$from([B.Type_RegExp_Eeh, $.$get$_runtimeType()], t1))); + t2.add$1(0, new A.StringSerializer(A.BuiltList_BuiltList$from([B.Type_String_k8F], t1))); + t2.add$1(0, new A.Uint8ListSerializer()); + t2.add$1(0, new A.UriSerializer(A.BuiltList_BuiltList$from([B.Type_Uri_EFX, A.getRuntimeType(A.Uri_parse("http://example.com")), A.getRuntimeType(A.Uri_parse("http://example.com:"))], t1))); + t2.addBuilderFactory$2(B.FullType_eLJ, new A.Serializers_Serializers_closure()); + t2.addBuilderFactory$2(B.FullType_4Wf, new A.Serializers_Serializers_closure0()); + t2.addBuilderFactory$2(B.FullType_wIv, new A.Serializers_Serializers_closure1()); + t2.addBuilderFactory$2(B.FullType_4e8, new A.Serializers_Serializers_closure2()); + t2.addBuilderFactory$2(B.FullType_Ofx, new A.Serializers_Serializers_closure3()); + return t2.build$0(); }, - __$$SelectModeProps_UiProps_SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin() { + FullType__getRawName(type) { + var $name = J.toString$0$(type), + genericsStart = J.indexOf$1$asx($name, "<"); + return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, - __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin() { + DeserializationError_DeserializationError(json, type, error) { + var limitedJson = J.toString$0$(json), + t1 = limitedJson.length; + return new A.DeserializationError(t1 > 80 ? B.JSString_methods.replaceRange$3(limitedJson, 77, t1, "...") : limitedJson, type, error); }, - __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin() { + Serializers_Serializers_closure: function Serializers_Serializers_closure() { }, - __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + Serializers_Serializers_closure0: function Serializers_Serializers_closure0() { }, - SourceLocationMixin: function SourceLocationMixin() { + Serializers_Serializers_closure1: function Serializers_Serializers_closure1() { }, - DisposableState: function DisposableState(t0) { - this._disposable_state$_name = t0; + Serializers_Serializers_closure2: function Serializers_Serializers_closure2() { }, - XmlAttributeType: function XmlAttributeType(t0) { - this._attribute_type$_name = t0; + Serializers_Serializers_closure3: function Serializers_Serializers_closure3() { }, - current: function() { - var exception, t1, path, lastIndex, uri = null; - try { - uri = P.Uri_base(); - } catch (exception) { - if (type$.Exception._is(H.unwrapException(exception))) { - t1 = $._current; - if (t1 != null) - return t1; - throw exception; - } else - throw exception; - } - if (J.$eq$(uri, $._currentUriBase)) { - t1 = $._current; - t1.toString; - return t1; - } - $._currentUriBase = uri; - if ($.$get$Style_platform() == $.$get$Style_url()) - t1 = $._current = uri.resolve$1(".").toString$0(0); - else { - path = uri.toFilePath$0(); - lastIndex = path.length - 1; - t1 = $._current = lastIndex === 0 ? path : C.JSString_methods.substring$2(path, 0, lastIndex); - } - t1.toString; - return t1; + FullType: function FullType(t0, t1, t2) { + this.root = t0; + this.parameters = t1; + this.nullable = t2; }, - edit_select_mode_change_middleware: function(store, action, next) { - var select_modes, edit_modes, design; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof U.EditModesSet || action instanceof U.EditModeToggle || action instanceof U.SelectModesSet || action instanceof U.SelectModesAdd || action instanceof U.SelectModeToggle || action instanceof U.SetAppUIStateStorable) { - select_modes = store.get$state(store).ui_state.storables.select_mode_state.modes; - edit_modes = store.get$state(store).ui_state.storables.edit_modes; - design = store.get$state(store).design; - if (design != null) - D.set_selectables_css_style_rules(design, edit_modes, select_modes); - } + DeserializationError: function DeserializationError(t0, t1, t2) { + this.json = t0; + this.type = t1; + this.error = t2; }, - set_selectables_css_style_rules: function(design, edit_modes, select_modes) { - var all_parts_selectable, t2, t3, _i, select_mode_choice, t4, select_mode_contains_part, selectable_css_style_this_choice, all_strand_selector, staple_only_selector, scaffold_selector, stylesheet, idx, - t1 = edit_modes._set, - edit_mode_is_select_or_rope = t1.contains$1(0, C.EditModeChoice_select) || t1.contains$1(0, C.EditModeChoice_rope_select), - scaffold_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, C.SelectModeChoice_scaffold), - staple_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, C.SelectModeChoice_staple); - if (edit_mode_is_select_or_rope) - if (design.get$is_origami()) { - t1 = scaffold_parts_selectable && staple_parts_selectable; - all_parts_selectable = t1; - } else - all_parts_selectable = true; - else - all_parts_selectable = false; - for (t1 = H.setRuntimeTypeInfo([C.SelectModeChoice_strand], type$.JSArray_legacy_SelectModeChoice), t2 = $.$get$SelectModeChoice_strand_parts(), t2 = C.JSArray_methods.$add(t1, new Q.CopyOnWriteList(true, t2._list, H._instanceType(t2)._eval$1("CopyOnWriteList<1>"))), t1 = t2.length, t3 = type$.legacy_Map_of_legacy_String_and_legacy_String, _i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) { - select_mode_choice = t2[_i]; - t4 = design.__is_origami; - if (t4 == null) - t4 = design.__is_origami = N.Design.prototype.get$is_origami.call(design); - select_mode_contains_part = select_modes._set.contains$1(0, select_mode_choice); - if (J.contains$1$asx($.$get$SelectModeChoice_ends()._list, select_mode_choice)) - selectable_css_style_this_choice = C.Map_CNaF8; - else - selectable_css_style_this_choice = C.SelectModeChoice_domain === select_mode_choice ? C.Map_GN46y : C.Map_OgmUV; - all_strand_selector = "." + select_mode_choice.css_selector$0() + ":hover"; - staple_only_selector = ":not(." + C.SelectModeChoice_scaffold.css_selector$0() + ")." + select_mode_choice.css_selector$0() + ":hover"; - scaffold_selector = "." + C.SelectModeChoice_scaffold.css_selector$0() + "." + select_mode_choice.css_selector$0() + ":hover"; - if (!edit_mode_is_select_or_rope || !select_mode_contains_part) { - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - } else if (!t4 || all_parts_selectable) { - t3._as(selectable_css_style_this_choice); - D.css_class_set_style(all_strand_selector, selectable_css_style_this_choice); - D.css_class_set_style(staple_only_selector, selectable_css_style_this_choice); - D.css_class_set_style(scaffold_selector, selectable_css_style_this_choice); - } else if (scaffold_parts_selectable) { - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - D.css_class_set_style(scaffold_selector, t3._as(selectable_css_style_this_choice)); - } else if (staple_parts_selectable) { - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - D.css_class_set_style(staple_only_selector, t3._as(selectable_css_style_this_choice)); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - } else { - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - stylesheet = E.get_scadnano_stylesheet(); - idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); - if (idx != null) - C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); - } - } + BigIntSerializer: function BigIntSerializer(t0) { + this.types = t0; }, - css_class_set_style: function(selector, new_style_map) { - var t1, t2, new_index, rule, style, style_val, value, - stylesheet = E.get_scadnano_stylesheet(), - idx = D.style_rule_index_with_selector(stylesheet, selector); - if (idx == null) - t1 = null; - else { - t1 = stylesheet.cssRules; - if (idx !== (idx | 0) || idx >= t1.length) - return H.ioore(t1, idx); - t1 = t1[idx]; - } - t2 = type$.legacy_CssStyleRule; - t2._as(t1); - if (t1 == null) { - new_index = stylesheet.insertRule(selector + " {}"); - rule = t2._as(C._CssRuleList_methods.$index(stylesheet.cssRules, new_index)); - } else - rule = t1; - style = rule.style; - for (t1 = J.get$iterator$ax(new_style_map.get$keys(new_style_map)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - style_val = new_style_map.$index(0, t2); - style.toString; - t2 = C.CssStyleDeclaration_methods._browserPropertyName$1(style, t2); - value = style_val == null ? "" : style_val; - style.setProperty(t2, value, ""); - } + BoolSerializer: function BoolSerializer(t0) { + this.types = t0; }, - style_rule_index_with_selector: function(stylesheet, selector) { - var t1, t2, t3, i, rule; - for (t1 = stylesheet.cssRules, t2 = t1.length, t3 = type$.legacy_CssStyleRule, i = 0; i < t2; ++i) { - rule = t1[i]; - if (t3._is(rule) && rule.selectorText === selector) - return i; - } - return null; + _getRawName(type) { + var $name = J.toString$0$(type), + genericsStart = J.indexOf$1$asx($name, "<"); + return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, - reselect_moved_dna_ends_middleware: function(store, action, next) { - var t1, addresses, t2, old_end, t3, t4, old_substrand, new_offset, new_ends, _i, address; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.DNAEndsMoveCommit) { - t1 = J.get$length$asx(action.dna_ends_move.moves._list); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 1; - } else - t1 = false; - if (t1) { - addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); - for (t1 = action.dna_ends_move, t2 = J.get$iterator$ax(t1.moves._list); t2.moveNext$0();) { - old_end = t2.get$current(t2).dna_end; - t3 = store.get$state(store).design; - t4 = t3.__end_to_domain; - if (t4 == null) { - t4 = N.Design.prototype.get$end_to_domain.call(t3); - t3.set$__end_to_domain(t4); - t3 = t4; - } else - t3 = t4; - old_substrand = J.$index$asx(t3._map$_map, old_end); - new_offset = t1.current_capped_offset_of$1(old_end); - t3 = old_substrand.helix; - t4 = old_substrand.forward; - if (new_offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - C.JSArray_methods.add$1(addresses, new Z._$Address(t3, new_offset, t4)); - } - next.call$1(action); - new_ends = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); - for (t1 = addresses.length, _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) { - address = addresses[_i]; - t2 = store.get$state(store).design; - t3 = t2.__address_to_end; - if (t3 == null) { - t3 = N.Design.prototype.get$address_to_end.call(t2); - t2.set$__address_to_end(t3); - t2 = t3; - } else - t2 = t3; - C.JSArray_methods.add$1(new_ends, J.$index$asx(t2._map$_map, address)); - } - store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_ends, type$.legacy_DNAEnd))); - } else - next.call$1(action); - } - }, - B = { - ArchiveFile$: function($name, size, $content, _compressionType) { - var t2, - t1 = new B.ArchiveFile($name, size, C.JSInt_methods._tdivFast$1(Date.now(), 1000), _compressionType); - $name.toString; - t1.name = H.stringReplaceAllUnchecked($name, "\\", "/"); - if (type$.Uint8List._is($content)) { - t1._archive_file$_content = $content; - t1._rawContent = T.InputStream$($content, 0, null, 0); - if (typeof size !== "number") - return size.$le(); - if (size <= 0) - t1.size = J.get$length$asx($content); - } else if (type$.TypedData._is($content)) { - t2 = t1._archive_file$_content = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); - t1._rawContent = T.InputStream$(t2, 0, null, 0); - if (typeof size !== "number") - return size.$le(); - if (size <= 0) - t1.size = J.get$length$asx(t2); - } else if (type$.List_int._is($content)) { - t1._archive_file$_content = $content; - t1._rawContent = T.InputStream$($content, 0, null, 0); - if (typeof size !== "number") - return size.$le(); - if (size <= 0) - t1.size = J.get$length$asx($content); - } else if ($content instanceof X.FileContent) - t1._archive_file$_content = $content; - return t1; + BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) { + var _ = this; + _._typeToSerializer = t0; + _._wireNameToSerializer = t1; + _._typeNameToSerializer = t2; + _.builderFactories = t3; + _.serializerPlugins = t4; }, - ArchiveFile: function ArchiveFile(t0, t1, t2, t3) { + BuiltJsonSerializersBuilder: function BuiltJsonSerializersBuilder(t0, t1, t2, t3, t4) { var _ = this; - _.name = t0; - _.size = t1; - _.mode = 420; - _.lastModTime = t2; - _.isFile = true; - _.crc32 = null; - _.compress = true; - _._compressionType = t3; - _._archive_file$_content = _._rawContent = null; + _._typeToSerializer = t0; + _._wireNameToSerializer = t1; + _._typeNameToSerializer = t2; + _._builderFactories = t3; + _._plugins = t4; }, - IntSerializer: function IntSerializer(t0) { + BuiltListMultimapSerializer: function BuiltListMultimapSerializer(t0) { this.types = t0; }, - UngeneratedError$: function(member, message) { - return new B.UngeneratedError(H.S(message)); + BuiltListMultimapSerializer_serialize_closure: function BuiltListMultimapSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; }, - GeneratedClass: function GeneratedClass() { + BuiltListMultimapSerializer_deserialize_closure: function BuiltListMultimapSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; }, - UiProps0: function UiProps0() { + BuiltListSerializer: function BuiltListSerializer(t0) { + this.types = t0; }, - UiState: function UiState() { + BuiltListSerializer_serialize_closure: function BuiltListSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; }, - UngeneratedError: function UngeneratedError(t0) { - this.message = t0; + BuiltListSerializer_deserialize_closure: function BuiltListSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; }, - _UiProps_UiProps_GeneratedClass: function _UiProps_UiProps_GeneratedClass() { + BuiltMapSerializer: function BuiltMapSerializer(t0) { + this.types = t0; }, - _UiState_UiState_GeneratedClass: function _UiState_UiState_GeneratedClass() { + BuiltSetMultimapSerializer: function BuiltSetMultimapSerializer(t0) { + this.types = t0; }, - enforceMinimumComponentVersionFor: function(component) { - if (typeof component.get$type(component) == "string") - return; - if (J.$eq$(J.get$dartComponentVersion$x(component.get$type(component)), "1")) - throw H.wrapException(P.ArgumentError$(R.unindent(" The UiFactory provided should not be for a UiComponent or Component.\n \n Instead, use a different factory (such as UiComponent2 or Component2).\n "))); + BuiltSetMultimapSerializer_serialize_closure: function BuiltSetMultimapSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; }, - ComponentTypeMeta: function ComponentTypeMeta(t0) { - this.isWrapper = t0; + BuiltSetMultimapSerializer_deserialize_closure: function BuiltSetMultimapSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; }, - InternalStyle: function InternalStyle() { + BuiltSetSerializer: function BuiltSetSerializer(t0) { + this.types = t0; }, - Failure: function Failure(t0, t1, t2, t3) { - var _ = this; - _.message = t0; - _.buffer = t1; - _.position = t2; - _.$ti = t3; + BuiltSetSerializer_serialize_closure: function BuiltSetSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; }, - TypedReducer$: function(reducer, State, Action) { - return new B.TypedReducer(reducer, State._eval$1("@<0>")._bind$1(Action)._eval$1("TypedReducer<1,2>")); + BuiltSetSerializer_deserialize_closure: function BuiltSetSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; }, - combineReducers: function(reducers, State) { - return new B.combineReducers_closure(reducers, State); + DateTimeSerializer: function DateTimeSerializer(t0) { + this.types = t0; }, - TypedReducer: function TypedReducer(t0, t1) { - this.reducer = t0; - this.$ti = t1; + DoubleSerializer: function DoubleSerializer(t0) { + this.types = t0; }, - combineReducers_closure: function combineReducers_closure(t0, t1) { - this.reducers = t0; - this.State = t1; + DurationSerializer: function DurationSerializer(t0) { + this.types = t0; }, - helix_positions_set_based_on_crossovers_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof U.HelicesPositionsSetBasedOnCrossovers) - store.dispatch$1(U.BatchAction_BatchAction(B.get_helix_position_and_roll_actions(store.get$state(store)), "set helix coordinates based on crossovers")); + Int64Serializer: function Int64Serializer(t0) { + this.types = t0; }, - get_helix_position_and_roll_actions: function(state) { - var t1, t2, t3, t4, all_actions, helices, addresses, - group_names_to_skip = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t1 = state.design, t2 = t1.groups, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (J.$index$asx(t2._map$_map, t4).grid !== C.Grid_none) - C.JSArray_methods.add$1(group_names_to_skip, t4); - } - if (group_names_to_skip.length !== 0) - C.Window_methods.alert$1(window, "Skipping helix groups " + C.JSArray_methods.join$1(group_names_to_skip, ", ") + ' because their grids are not "none".'); - all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (C.JSArray_methods.contains$1(group_names_to_skip, t4)) - continue; - helices = B._get_helices_to_process(state, J.$index$asx(t2._map$_map, t4)); - addresses = B._get_addresses_to_process(state, helices); - if (addresses == null) - continue; - C.JSArray_methods.addAll$1(all_actions, B.set_rolls_and_positions(helices, B._calculate_rolls_and_positions(t1, helices, addresses, J.$index$asx(helices, 0).roll))); - } - return all_actions; + IntSerializer: function IntSerializer(t0) { + this.types = t0; }, - _get_helices_to_process: function(state, group) { - var helices, t2, t3, - design = state.design, - t1 = state.ui_state.storables.side_selected_helix_idxs._set; - if (t1.get$isEmpty(t1)) { - t1 = design.helices; - helices = J.toList$0$ax(t1.get$values(t1)); - } else { - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); - for (t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t3 = t1.get$current(t1); - t2.push(J.$index$asx(design.helices._map$_map, t3)); - } - helices = t2; - } - J.sort$1$ax(helices, new B._get_helices_to_process_closure(group)); - return helices; + JsonObjectSerializer: function JsonObjectSerializer(t0) { + this.types = t0; }, - _get_addresses_to_process: function(state, helices) { - var t5, helix_top, helix_bot, t6, addresses_crossovers_this_helices_pair, t7, address_top, address_bot, use_scaffold, use_staple, address_top_bot, - design = state.design, - t1 = state.ui_state, - addresses_of_selected_crossovers_by_prev_helix_idx = B._get_addresses_of_selected_crossovers_by_prev_helix_idx(t1.selectables_store.get$selected_crossovers(), helices, design), - addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address), - t2 = J.getInterceptor$asx(helices), - t3 = type$.Tuple2_of_legacy_Address_and_legacy_Address, - t4 = type$.Tuple2_of_legacy_int_and_legacy_int, - i = 0; - while (true) { - t5 = t2.get$length(helices); - if (typeof t5 !== "number") - return t5.$sub(); - if (!(i < t5 - 1)) - break; - helix_top = t2.$index(helices, i); - ++i; - helix_bot = t2.$index(helices, i); - t5 = helix_top.idx; - t6 = helix_bot.idx; - addresses_crossovers_this_helices_pair = addresses_of_selected_crossovers_by_prev_helix_idx.$index(0, new S.Tuple2(t5, t6, t4)); - t7 = addresses_crossovers_this_helices_pair.length; - if (t7 > 1) { - E.async_alert("You can select at most one crossover between any pair of adjacent helices.\nBut you have selected multiple crossovers between helices " + t5 + " and " + t6 + ".\nPlease select only one, or select none to default to the first crossover between the helices.\n"); - return null; - } else if (t7 === 1) { - address_top = (addresses_crossovers_this_helices_pair && C.JSArray_methods).get$first(addresses_crossovers_this_helices_pair).item1; - address_bot = C.JSArray_methods.get$first(addresses_crossovers_this_helices_pair).item2; - } else { - t7 = t1.storables; - use_scaffold = t7.default_crossover_type_scaffold_for_setting_helix_rolls; - use_staple = t7.default_crossover_type_staple_for_setting_helix_rolls; - t7 = design.__is_origami; - if (!(t7 == null ? design.__is_origami = N.Design.prototype.get$is_origami.call(design) : t7)) { - use_scaffold = true; - use_staple = true; - } - address_top_bot = B._first_crossover_addresses_between_helices(helix_top, helix_bot, design, use_scaffold, use_staple); - if (address_top_bot == null) { - E.async_alert("Must have at least one crossover between helices " + t5 + " and " + t6); - return null; - } - address_top = address_top_bot.item1; - address_bot = address_top_bot.item2; - } - C.JSArray_methods.add$1(addresses, new S.Tuple2(address_top, address_bot, t3)); - } - return addresses; + NullSerializer: function NullSerializer(t0) { + this.types = t0; }, - _first_crossover_addresses_between_helices: function(helix_top, helix_bot, design, use_scaffold, use_staple) { - var t1, t2, crossover_top, t3, t4, - address_crossovers_on_top = J.$index$asx(design.get$address_crossover_pairs_by_helix_idx()._map$_map, helix_top.idx), - address_crossovers_on_bot = J.$index$asx(design.get$address_crossover_pairs_by_helix_idx()._map$_map, helix_bot.idx); - if (!use_scaffold) { - address_crossovers_on_bot.toString; - address_crossovers_on_bot = D.BuiltList_BuiltList$of(J.where$1$ax(address_crossovers_on_bot._list, address_crossovers_on_bot.$ti._eval$1("bool(1)")._as(new B._first_crossover_addresses_between_helices_closure())), type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); - } - if (!use_staple) { - address_crossovers_on_bot.toString; - address_crossovers_on_bot = D.BuiltList_BuiltList$of(J.where$1$ax(address_crossovers_on_bot._list, address_crossovers_on_bot.$ti._eval$1("bool(1)")._as(new B._first_crossover_addresses_between_helices_closure0())), type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); - } - for (t1 = J.get$iterator$ax(address_crossovers_on_top._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - crossover_top = t2.item2; - for (t3 = J.get$iterator$ax(address_crossovers_on_bot._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (J.$eq$(t4.item2, crossover_top)) - return new S.Tuple2(t2.item1, t4.item1, type$.Tuple2_of_legacy_Address_and_legacy_Address); - } - } - return null; + NumSerializer: function NumSerializer(t0) { + this.types = t0; }, - _get_addresses_of_selected_crossovers_by_prev_helix_idx: function(selected_crossovers, helices, design) { - var t4, i0, t5, t6, t7, t8, prev_dom, next_dom, prev_idx, next_idx, pair_idxs, pair_idxs_rev, dom_bot, dom_top, prev_is_top, offset_top, offset_bot, - addresses_top_bot_crossovers = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Address), - t1 = J.getInterceptor$asx(helices), - t2 = type$.Tuple2_of_legacy_int_and_legacy_int, - t3 = type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address, - i = 0; - while (true) { - t4 = t1.get$length(helices); - if (typeof t4 !== "number") - return t4.$sub(); - if (!(i < t4 - 1)) - break; - i0 = i + 1; - addresses_top_bot_crossovers.$indexSet(0, new S.Tuple2(t1.$index(helices, i).idx, t1.$index(helices, i0).idx, t2), H.setRuntimeTypeInfo([], t3)); - i = i0; - } - for (t1 = selected_crossovers._set, t1 = t1.get$iterator(t1), t3 = type$.legacy_Domain, t4 = type$.Tuple2_of_legacy_Address_and_legacy_Address; t1.moveNext$0();) { - t5 = t1.get$current(t1); - t6 = design.__crossover_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$crossover_to_strand.call(design); - design.set$__crossover_to_strand(t6); - } - t6 = J.$index$asx(t6._map$_map, t5).substrands; - t7 = t5.prev_domain_idx; - t6 = t6._list; - t8 = J.getInterceptor$asx(t6); - prev_dom = t3._as(t8.$index(t6, t7)); - next_dom = t3._as(t8.$index(t6, t5.next_domain_idx)); - prev_idx = prev_dom.helix; - next_idx = next_dom.helix; - pair_idxs = new S.Tuple2(prev_idx, next_idx, t2); - pair_idxs_rev = new S.Tuple2(next_idx, prev_idx, t2); - if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs) || addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { - if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { - dom_bot = prev_dom; - dom_top = next_dom; - pair_idxs = pair_idxs_rev; - prev_is_top = false; - } else { - dom_bot = next_dom; - dom_top = prev_dom; - prev_is_top = true; - } - if (!(prev_is_top && dom_top.forward)) - t5 = !prev_is_top && !dom_top.forward; - else - t5 = true; - offset_top = t5 ? dom_top.end - 1 : dom_top.start; - if (!(prev_is_top && dom_bot.forward)) - t5 = !prev_is_top && !dom_bot.forward; - else - t5 = true; - offset_bot = t5 ? dom_bot.start : dom_bot.end - 1; - t5 = addresses_top_bot_crossovers.$index(0, pair_idxs); - (t5 && C.JSArray_methods).add$1(t5, new S.Tuple2(new Z._$Address(dom_top.helix, offset_top, dom_top.forward), new Z._$Address(dom_bot.helix, offset_bot, dom_bot.forward), t4)); - } - } - return addresses_top_bot_crossovers; + RegExpSerializer: function RegExpSerializer(t0) { + this.types = t0; }, - _calculate_rolls_and_positions: function(design, helices, addresses, first_roll) { - var t2, i, t3, address_bot, t4, degrees_top, radians_top_cartesian, t5, t6, t7, angle_strand_bot, t8, t9, delta_roll, - geometry = design.geometry, - t1 = J.getInterceptor$asx(helices), - rollxys = H.setRuntimeTypeInfo([new B.RollXY(first_roll, t1.$index(helices, 0).get$position3d().z, t1.$index(helices, 0).get$position3d().y)], type$.JSArray_legacy_RollXY); - for (t2 = type$.legacy_void_Function_legacy_AddressBuilder, i = 0; i < addresses.length;) { - t3 = addresses[i]; - address_bot = t3.item2; - if (i >= rollxys.length) - return H.ioore(rollxys, i); - t4 = rollxys[i]; - degrees_top = design.helix_rotation_at$2(t3.item1, t4.roll); - radians_top_cartesian = (degrees_top - 90) * 2 * 3.141592653589793 / 360; - t3 = Math.cos(radians_top_cartesian); - t5 = geometry.__distance_between_helices_nm; - if (t5 == null) - t5 = geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry); - t6 = Math.sin(radians_top_cartesian); - t7 = geometry.__distance_between_helices_nm; - if (t7 == null) - t7 = geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry); - angle_strand_bot = C.JSNumber_methods.$mod(degrees_top + 180, 360); - if (!H.boolConversionCheck(address_bot.forward)) - angle_strand_bot = C.JSNumber_methods.$mod(angle_strand_bot - 150, 360); - t8 = t2._as(new B._calculate_rolls_and_positions_closure()); - t9 = new Z.AddressBuilder(); - t9._address$_$v = address_bot; - t8.call$1(t9); - delta_roll = C.JSNumber_methods.$mod(angle_strand_bot - design.helix_rotation_at$1(t9.build$0()), 360); - ++i; - C.JSArray_methods.add$1(rollxys, new B.RollXY(C.JSNumber_methods.$mod(t1.$index(helices, i).roll + delta_roll, 360), t4.x + t3 * t5, t4.y + t6 * t7)); - } - return rollxys; + StringSerializer: function StringSerializer(t0) { + this.types = t0; }, - set_rolls_and_positions: function(helices, rolls_and_positions) { - var t2, helix, rollxy, t3, position, - all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction), - t1 = J.getInterceptor$asx(helices), - i = 0; - while (true) { - t2 = t1.get$length(helices); - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - helix = t1.$index(helices, i); - if (i >= rolls_and_positions.length) - return H.ioore(rolls_and_positions, i); - rollxy = rolls_and_positions[i]; - t2 = helix.idx; - t3 = helix.__position3d; - position = X.Position3D_Position3D(rollxy.x, rollxy.y, (t3 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t3).z); - C.JSArray_methods.add$1(all_actions, new U._$HelixRollSet(t2, rollxy.roll)); - C.JSArray_methods.add$1(all_actions, new U._$HelixPositionSet(t2, position)); - ++i; - } - return all_actions; + Uint8ListSerializer: function Uint8ListSerializer() { }, - _get_helices_to_process_closure: function _get_helices_to_process_closure(t0) { - this.group = t0; + UriSerializer: function UriSerializer(t0) { + this.types = t0; }, - _first_crossover_addresses_between_helices_closure: function _first_crossover_addresses_between_helices_closure() { + StandardJsonPlugin: function StandardJsonPlugin() { }, - _first_crossover_addresses_between_helices_closure0: function _first_crossover_addresses_between_helices_closure0() { + StandardJsonPlugin__toList_closure: function StandardJsonPlugin__toList_closure() { }, - RollXY: function RollXY(t0, t1, t2) { - this.roll = t0; - this.x = t1; - this.y = t2; + StandardJsonPlugin__toList_closure0: function StandardJsonPlugin__toList_closure0(t0, t1, t2, t3, t4) { + var _ = this; + _._box_0 = t0; + _.$this = t1; + _.keepNulls = t2; + _.result = t3; + _.hasEncodedKeys = t4; }, - _calculate_rolls_and_positions_closure: function _calculate_rolls_and_positions_closure() { + StandardJsonPlugin__toListUsingDiscriminator_closure: function StandardJsonPlugin__toListUsingDiscriminator_closure() { }, - toggle_edit_mode_reducer: function(modes, action) { - var mode; - type$.legacy_BuiltSet_legacy_EditModeChoice._as(modes); - mode = type$.legacy_EditModeToggle._as(action).mode; - return modes._set.contains$1(0, mode) ? modes.rebuild$1(new B.toggle_edit_mode_reducer_closure(mode)) : modes.rebuild$1(new B.toggle_edit_mode_reducer_closure0(mode)); + StandardJsonPlugin__toListUsingDiscriminator_closure0: function StandardJsonPlugin__toListUsingDiscriminator_closure0(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.$this = t1; + _.result = t2; + _.needToDecodeKeys = t3; }, - set_edit_modes_reducer: function(edit_modes, action) { - type$.legacy_BuiltSet_legacy_EditModeChoice._as(edit_modes); - return type$.legacy_EditModesSet._as(action).edit_modes; - }, - toggle_edit_mode_reducer_closure: function toggle_edit_mode_reducer_closure(t0) { - this.mode = t0; - }, - toggle_edit_mode_reducer_closure0: function toggle_edit_mode_reducer_closure0(t0) { - this.mode = t0; - }, - AppUIStateStorables__initializeBuilder: function(b) { - var t2, - t1 = type$.legacy_SetBuilder_legacy_EditModeChoice._as(X.SetBuilder_SetBuilder([C.EditModeChoice_select], type$.legacy_EditModeChoice)); - b.get$_app_ui_state_storables$_$this().set$_edit_modes(t1); - t1 = $.$get$DEFAULT_SelectModeStateBuilder(); - b.get$_app_ui_state_storables$_$this()._select_mode_state = t1; - t1 = type$.legacy_SetBuilder_legacy_int._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int)); - b.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t1); - b.get$_app_ui_state_storables$_$this()._autofit = true; - b.get$_app_ui_state_storables$_$this()._show_dna = false; - b.get$_app_ui_state_storables$_$this()._show_strand_names = false; - b.get$_app_ui_state_storables$_$this()._show_strand_labels = false; - b.get$_app_ui_state_storables$_$this()._show_domain_names = false; - b.get$_app_ui_state_storables$_$this()._show_domain_labels = false; - b.get$_app_ui_state_storables$_$this()._base_pair_display_type = C.BasePairDisplayType_none; - b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; - b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; - b.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; - b.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; - b.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; - b.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; - b.get$_app_ui_state_storables$_$this()._show_modifications = true; - b.get$_app_ui_state_storables$_$this()._show_mismatches = false; - b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; - b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; - b.get$_app_ui_state_storables$_$this()._show_oxview = false; - b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; - b.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; - b.get$_app_ui_state_storables$_$this()._modification_font_size = 12; - b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; - b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; - b.get$_app_ui_state_storables$_$this()._modification_display_connector = true; - b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; - b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; - b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; - b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; - b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; - b.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; - b.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; - b.get$_app_ui_state_storables$_$this()._invert_y = false; - b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; - b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; - b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; - b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; - b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; - b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; - b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; - b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; - b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; - b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; - b.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; - b.get$_app_ui_state_storables$_$this()._show_slice_bar = false; - b.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; - b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; - b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; - b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; - t1 = Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_on_edit, 30); - t2 = new Y.LocalStorageDesignChoiceBuilder(); - t2._local_storage_design_choice$_$v = t1; - b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t2; - b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; - b.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; - b.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; - b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; - b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; + CanonicalizedMap: function CanonicalizedMap() { }, - AppUIStateStorablesBuilder$: function() { - var t3, - t1 = new B.AppUIStateStorablesBuilder(), - t2 = type$.legacy_SetBuilder_legacy_EditModeChoice._as(X.SetBuilder_SetBuilder([C.EditModeChoice_select], type$.legacy_EditModeChoice)); - t1.get$_app_ui_state_storables$_$this().set$_edit_modes(t2); - t2 = $.$get$DEFAULT_SelectModeStateBuilder(); - t1.get$_app_ui_state_storables$_$this()._select_mode_state = t2; - t2 = type$.legacy_SetBuilder_legacy_int._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int)); - t1.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t2); - t1.get$_app_ui_state_storables$_$this()._autofit = true; - t1.get$_app_ui_state_storables$_$this()._show_dna = false; - t1.get$_app_ui_state_storables$_$this()._show_strand_names = false; - t1.get$_app_ui_state_storables$_$this()._show_strand_labels = false; - t1.get$_app_ui_state_storables$_$this()._show_domain_names = false; - t1.get$_app_ui_state_storables$_$this()._show_domain_labels = false; - t1.get$_app_ui_state_storables$_$this()._base_pair_display_type = C.BasePairDisplayType_none; - t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; - t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; - t1.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; - t1.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; - t1.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; - t1.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; - t1.get$_app_ui_state_storables$_$this()._show_modifications = true; - t1.get$_app_ui_state_storables$_$this()._show_mismatches = false; - t1.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; - t1.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; - t1.get$_app_ui_state_storables$_$this()._show_oxview = false; - t1.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; - t1.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; - t1.get$_app_ui_state_storables$_$this()._modification_font_size = 12; - t1.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; - t1.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; - t1.get$_app_ui_state_storables$_$this()._modification_display_connector = true; - t1.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; - t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; - t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; - t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; - t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; - t1.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; - t1.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; - t1.get$_app_ui_state_storables$_$this()._invert_y = false; - t1.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; - t1.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; - t1.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; - t1.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; - t1.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; - t1.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; - t1.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; - t1.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; - t1.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; - t1.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; - t1.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; - t1.get$_app_ui_state_storables$_$this()._show_slice_bar = false; - t1.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; - t1.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; - t1.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; - t1.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; - t2 = Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_on_edit, 30); - t3 = new Y.LocalStorageDesignChoiceBuilder(); - t3._local_storage_design_choice$_$v = t2; - t1.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t3; - t1.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; - t1.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; - t1.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; - t1.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; - t1.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; - return t1; + CanonicalizedMap_addAll_closure: function CanonicalizedMap_addAll_closure(t0) { + this.$this = t0; }, - AppUIStateStorables: function AppUIStateStorables() { + CanonicalizedMap_entries_closure: function CanonicalizedMap_entries_closure(t0) { + this.$this = t0; }, - _$AppUIStateStorablesSerializer: function _$AppUIStateStorablesSerializer() { + CanonicalizedMap_forEach_closure: function CanonicalizedMap_forEach_closure(t0, t1) { + this.$this = t0; + this.f = t1; }, - _$AppUIStateStorables: function _$AppUIStateStorables(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56) { - var _ = this; - _.select_mode_state = t0; - _.edit_modes = t1; - _.side_selected_helix_idxs = t2; - _.autofit = t3; - _.show_dna = t4; - _.show_strand_names = t5; - _.show_strand_labels = t6; - _.show_domain_names = t7; - _.show_domain_labels = t8; - _.base_pair_display_type = t9; - _.show_base_pair_lines = t10; - _.show_base_pair_lines_with_mismatches = t11; - _.strand_name_font_size = t12; - _.strand_label_font_size = t13; - _.domain_name_font_size = t14; - _.domain_label_font_size = t15; - _.show_modifications = t16; - _.show_mismatches = t17; - _.show_domain_name_mismatches = t18; - _.show_unpaired_insertion_deletions = t19; - _.show_oxview = t20; - _.show_slice_bar = t21; - _.show_mouseover_data = t22; - _.only_display_selected_helices = t23; - _.modification_font_size = t24; - _.major_tick_offset_font_size = t25; - _.major_tick_width_font_size = t26; - _.zoom_speed = t27; - _.modification_display_connector = t28; - _.strand_paste_keep_color = t29; - _.display_base_offsets_of_major_ticks = t30; - _.display_base_offsets_of_major_ticks_only_first_helix = t31; - _.display_major_tick_widths = t32; - _.display_major_tick_widths_all_helices = t33; - _.loaded_filename = t34; - _.loaded_script_filename = t35; - _.invert_y = t36; - _.dynamically_update_helices = t37; - _.warn_on_exit_if_unsaved = t38; - _.show_helix_circles_main_view = t39; - _.show_helix_components_main_view = t40; - _.show_edit_mode_menu = t41; - _.show_grid_coordinates_side_view = t42; - _.show_helices_axis_arrows = t43; - _.show_loopout_extension_length = t44; - _.default_crossover_type_scaffold_for_setting_helix_rolls = t45; - _.default_crossover_type_staple_for_setting_helix_rolls = t46; - _.local_storage_design_choice = t47; - _.clear_helix_selection_when_loading_new_design = t48; - _.displayed_group_name = t49; - _.slice_bar_offset = t50; - _.disable_png_caching_dna_sequences = t51; - _.retain_strand_color_on_selection = t52; - _.display_reverse_DNA_right_side_up = t53; - _.selection_box_intersection = t54; - _.export_svg_text_separately = t55; - _.ox_export_only_selected_strands = t56; - _._app_ui_state_storables$__hashCode = null; + CanonicalizedMap_keys_closure: function CanonicalizedMap_keys_closure(t0) { + this.$this = t0; }, - AppUIStateStorablesBuilder: function AppUIStateStorablesBuilder() { + CanonicalizedMap_map_closure: function CanonicalizedMap_map_closure(t0, t1, t2, t3) { var _ = this; - _._modification_display_connector = _._zoom_speed = _._major_tick_width_font_size = _._major_tick_offset_font_size = _._modification_font_size = _._only_display_selected_helices = _._show_mouseover_data = _._show_slice_bar = _._show_oxview = _._show_unpaired_insertion_deletions = _._show_domain_name_mismatches = _._show_mismatches = _._show_modifications = _._domain_label_font_size = _._domain_name_font_size = _._strand_label_font_size = _._strand_name_font_size = _._show_base_pair_lines_with_mismatches = _._show_base_pair_lines = _._base_pair_display_type = _._show_domain_labels = _._show_domain_names = _._show_strand_labels = _._show_strand_names = _._show_dna = _._autofit = _._side_selected_helix_idxs = _._edit_modes = _._select_mode_state = _._app_ui_state_storables$_$v = null; - _._ox_export_only_selected_strands = _._export_svg_text_separately = _._selection_box_intersection = _._display_reverse_DNA_right_side_up = _._retain_strand_color_on_selection = _._disable_png_caching_dna_sequences = _._slice_bar_offset = _._displayed_group_name = _._clear_helix_selection_when_loading_new_design = _._local_storage_design_choice = _._default_crossover_type_staple_for_setting_helix_rolls = _._default_crossover_type_scaffold_for_setting_helix_rolls = _._show_loopout_extension_length = _._show_helices_axis_arrows = _._show_grid_coordinates_side_view = _._show_edit_mode_menu = _._show_helix_components_main_view = _._show_helix_circles_main_view = _._warn_on_exit_if_unsaved = _._dynamically_update_helices = _._invert_y = _._loaded_script_filename = _._loaded_filename = _._display_major_tick_widths_all_helices = _._display_major_tick_widths = _._display_base_offsets_of_major_ticks_only_first_helix = _._display_base_offsets_of_major_ticks = _._strand_paste_keep_color = null; - }, - _AppUIStateStorables_Object_BuiltJsonSerializable: function _AppUIStateStorables_Object_BuiltJsonSerializable() { - }, - ContextMenuItem_ContextMenuItem: function(disabled, nested, on_click, title, tooltip) { - var t1 = new B.ContextMenuItemBuilder(); - type$.legacy_void_Function_legacy_ContextMenuItemBuilder._as(new B.ContextMenuItem_ContextMenuItem_closure(title, on_click, tooltip, nested, disabled)).call$1(t1); - return t1.build$0(); + _.$this = t0; + _.transform = t1; + _.K2 = t2; + _.V2 = t3; }, - _$ContextMenu$_: function(items, position) { - if (items == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ContextMenu", "items")); - return new B._$ContextMenu(items, position); + CanonicalizedMap_removeWhere_closure: function CanonicalizedMap_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; }, - ContextMenu: function ContextMenu() { + CanonicalizedMap_values_closure: function CanonicalizedMap_values_closure(t0) { + this.$this = t0; }, - ContextMenuItem: function ContextMenuItem() { + SetEquality$(elementEquality, $E) { + return new A.SetEquality(elementEquality, $E._eval$1("SetEquality<0>")); }, - ContextMenuItem_ContextMenuItem_closure: function ContextMenuItem_ContextMenuItem_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.title = t0; - _.on_click = t1; - _.tooltip = t2; - _.nested = t3; - _.disabled = t4; + DefaultEquality: function DefaultEquality(t0) { + this.$ti = t0; }, - _$ContextMenuSerializer: function _$ContextMenuSerializer() { + IterableEquality: function IterableEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; }, - _$ContextMenuItemSerializer: function _$ContextMenuItemSerializer() { + ListEquality: function ListEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; }, - _$ContextMenu: function _$ContextMenu(t0, t1) { - this.items = t0; - this.position = t1; - this._context_menu$__hashCode = null; + _UnorderedEquality: function _UnorderedEquality() { }, - ContextMenuBuilder: function ContextMenuBuilder() { - this._context_menu$_position = this._items = this._context_menu$_$v = null; + SetEquality: function SetEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; }, - _$ContextMenuItem: function _$ContextMenuItem(t0, t1, t2, t3, t4) { - var _ = this; - _.title = t0; - _.on_click = t1; - _.tooltip = t2; - _.nested = t3; - _.disabled = t4; - _._context_menu$__hashCode = null; + _MapEntry: function _MapEntry(t0, t1, t2) { + this.equality = t0; + this.key = t1; + this.value = t2; }, - ContextMenuItemBuilder: function ContextMenuItemBuilder() { - var _ = this; - _._disabled = _._nested = _._context_menu$_tooltip = _._on_click = _._context_menu$_title = _._context_menu$_$v = null; + MapEquality: function MapEquality(t0, t1, t2) { + this._keyEquality = t0; + this._valueEquality = t1; + this.$ti = t2; }, - _ContextMenu_Object_BuiltJsonSerializable: function _ContextMenu_Object_BuiltJsonSerializable() { + DeepCollectionEquality: function DeepCollectionEquality() { }, - _ContextMenuItem_Object_BuiltJsonSerializable: function _ContextMenuItem_Object_BuiltJsonSerializable() { + _DelegatingIterableBase: function _DelegatingIterableBase() { }, - CopyInfo_CopyInfo: function(copied_address, helices_view_order, helices_view_order_inverse, strands, translation) { - var t1 = new B.CopyInfoBuilder(); - type$.legacy_void_Function_legacy_CopyInfoBuilder._as(new B.CopyInfo_CopyInfo_closure(strands, copied_address, translation, helices_view_order, helices_view_order_inverse)).call$1(t1); - return t1.build$0(); + DelegatingList: function DelegatingList() { }, - CopyInfo: function CopyInfo() { + HexColor_HexColor(hexCode) { + var hexDigits = A._setArrayType((J.startsWith$1$s(hexCode, "#") ? B.JSString_methods.substring$1(hexCode, 1) : hexCode).split(""), type$.JSArray_String); + return new A.HexColor(A.int_parse(B.JSArray_methods.join$0(B.JSArray_methods.sublist$2(hexDigits, 0, 2)), 16), A.int_parse(B.JSArray_methods.join$0(B.JSArray_methods.sublist$2(hexDigits, 2, 4)), 16), A.int_parse(B.JSArray_methods.join$0(B.JSArray_methods.sublist$1(hexDigits, 4)), 16)); }, - CopyInfo_CopyInfo_closure: function CopyInfo_CopyInfo_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.strands = t0; - _.copied_address = t1; - _.translation = t2; - _.helices_view_order = t3; - _.helices_view_order_inverse = t4; + RgbColor$(r, g, b) { + return new A.RgbColor(r, g, b); }, - CopyInfo_create_strands_move_closure: function CopyInfo_create_strands_move_closure(t0) { - this.$this = t0; + RgbColor_RgbColor$name($name) { + var t1; + if (!B.Map_ACwDL.containsKey$1(0, $name)) + throw A.wrapException(A.ArgumentError$("Only the color names defined by the CSS3 spec are supported. See http://www.w3.org/TR/css3-color/#svg-color for a list of valid color names.", null)); + t1 = B.Map_ACwDL.$index(0, $name); + t1.toString; + return t1; }, - CopyInfo_create_strands_move_closure0: function CopyInfo_create_strands_move_closure0(t0) { - this.$this = t0; + Color: function Color() { }, - _$CopyInfoSerializer: function _$CopyInfoSerializer() { + HexColor: function HexColor(t0, t1, t2) { + this.r = t0; + this.g = t1; + this.b = t2; }, - _$CopyInfo: function _$CopyInfo(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.strands = t0; - _.copied_address = t1; - _.prev_paste_address = t2; - _.translation = t3; - _.helices_view_order = t4; - _.helices_view_order_inverse = t5; - _._copy_info$__hashCode = null; + RgbColor: function RgbColor(t0, t1, t2) { + this.r = t0; + this.g = t1; + this.b = t2; }, - CopyInfoBuilder: function CopyInfoBuilder() { - var _ = this; - _._helices_view_order_inverse = _._helices_view_order = _._translation = _._prev_paste_address = _._copied_address = _._copy_info$_strands = _._copy_info$_$v = null; + DraggableEvent$_(originalEvent, dragInfo, cancelled) { + dragInfo.___DragInfo__position_A === $ && A.throwLateFieldNI("_position"); + return new A.DraggableEvent(originalEvent); }, - _CopyInfo_Object_BuiltJsonSerializable: function _CopyInfo_Object_BuiltJsonSerializable() { + _DragEventDispatcher_dispatchEnterOverLeave(draggable, target) { + var t1, dragLeaveEvent, + _s15_ = "_customDragOver"; + if (target == null) + return; + t1 = $._DragEventDispatcher_previousTarget; + if (t1 === target) + target.dispatchEvent(A.MouseEvent_MouseEvent(_s15_, null)); + else { + target.dispatchEvent(A.MouseEvent_MouseEvent("_customDragEnter", t1)); + if ($._DragEventDispatcher_previousTarget != null) { + dragLeaveEvent = A.MouseEvent_MouseEvent("_customDragLeave", target); + $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); + } + target.dispatchEvent(A.MouseEvent_MouseEvent(_s15_, null)); + $._DragEventDispatcher_previousTarget = target; + } }, - _$DNAEndsMove$_: function(current_offset, helix, moves, original_offset) { - var _s11_ = "DNAEndsMove"; - if (moves == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "moves")); - if (original_offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "original_offset")); - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helix")); - if (current_offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "current_offset")); - return new B._$DNAEndsMove(moves, original_offset, helix, current_offset); - }, - _$DNAEndMove$_: function(dna_end, highest_offset, lowest_offset) { - if (dna_end == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndMove", "dna_end")); - return new B._$DNAEndMove(dna_end, lowest_offset, highest_offset); + _DragEventDispatcher_dispatchDrop(draggable, target) { + target.dispatchEvent(A.MouseEvent_MouseEvent("_customDrop", null)); + A._DragEventDispatcher_reset(); }, - DNAEndsMove: function DNAEndsMove() { + _DragEventDispatcher_reset() { + if ($._DragEventDispatcher_previousTarget != null) { + var dragLeaveEvent = A.MouseEvent_MouseEvent("_customDragLeave", null); + $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); + $._DragEventDispatcher_previousTarget = null; + } }, - DNAEndMove: function DNAEndMove() { + _TouchManager$(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new A._TouchManager(A._setArrayType([], t1), A._setArrayType([], t1), draggable); + t1._EventManager$1(draggable); + return t1; }, - _$DNAEndsMoveSerializer: function _$DNAEndsMoveSerializer() { + _MouseManager$(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new A._MouseManager(A._setArrayType([], t1), A._setArrayType([], t1), draggable); + t1._EventManager$1(draggable); + return t1; }, - _$DNAEndMoveSerializer: function _$DNAEndMoveSerializer() { + _PointerManager$(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new A._PointerManager(A._setArrayType([], t1), A._setArrayType([], t1), draggable); + t1._EventManager$1(draggable); + return t1; }, - _$DNAEndsMove: function _$DNAEndsMove(t0, t1, t2, t3) { + Draggable: function Draggable(t0, t1) { var _ = this; - _.moves = t0; - _.original_offset = t1; - _.helix = t2; - _.current_offset = t3; - _._dna_ends_move$__hashCode = _._dna_ends_move$__delta = _.__ends_moving = null; + _.id = t0; + _._onDragEnd = _._onDrag = _._onDragStart = null; + _.__Draggable__elements_A = $; + _._eventManagers = t1; }, - DNAEndsMoveBuilder: function DNAEndsMoveBuilder() { - var _ = this; - _._dna_ends_move$_current_offset = _._dna_ends_move$_helix = _._dna_ends_move$_original_offset = _._moves = _._dna_ends_move$_$v = null; + Draggable_onDragStart_closure: function Draggable_onDragStart_closure(t0) { + this.$this = t0; }, - _$DNAEndMove: function _$DNAEndMove(t0, t1, t2) { - this.dna_end = t0; - this.lowest_offset = t1; - this.highest_offset = t2; + Draggable_onDrag_closure: function Draggable_onDrag_closure(t0) { + this.$this = t0; }, - DNAEndMoveBuilder: function DNAEndMoveBuilder() { - var _ = this; - _._highest_offset = _._lowest_offset = _._dna_end = _._dna_ends_move$_$v = null; + Draggable_onDragEnd_closure: function Draggable_onDragEnd_closure(t0) { + this.$this = t0; }, - _DNAEndMove_Object_BuiltJsonSerializable: function _DNAEndMove_Object_BuiltJsonSerializable() { + Draggable__suppressClickEvent_closure: function Draggable__suppressClickEvent_closure() { }, - _DNAEndsMove_Object_BuiltJsonSerializable: function _DNAEndsMove_Object_BuiltJsonSerializable() { + Draggable__suppressClickEvent_closure0: function Draggable__suppressClickEvent_closure0(t0) { + this.clickPreventer = t0; }, - _$DomainNameMismatch$_: function(forward_domain, helix_idx, reverse_domain) { - var _s18_ = "DomainNameMismatch"; - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); - if (forward_domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward_domain")); - if (reverse_domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "reverse_domain")); - return new B._$DomainNameMismatch(helix_idx, forward_domain, reverse_domain); + Draggable_destroy_closure: function Draggable_destroy_closure() { }, - DomainNameMismatch: function DomainNameMismatch() { + Draggable__resetCurrentDrag_closure: function Draggable__resetCurrentDrag_closure() { }, - _$DomainNameMismatchSerializer: function _$DomainNameMismatchSerializer() { + DraggableEvent: function DraggableEvent(t0) { + this.originalEvent = t0; }, - _$DomainNameMismatch: function _$DomainNameMismatch(t0, t1, t2) { + _DragInfo: function _DragInfo(t0, t1, t2, t3, t4) { var _ = this; - _.helix_idx = t0; - _.forward_domain = t1; - _.reverse_domain = t2; - _._domain_name_mismatch$__hashCode = null; + _.element = t0; + _.startPosition = t1; + _.avatarHandler = t2; + _.___DragInfo__position_A = $; + _.started = false; + _.horizontalOnly = t3; + _.verticalOnly = t4; }, - DomainNameMismatchBuilder: function DomainNameMismatchBuilder() { - var _ = this; - _._reverse_domain = _._forward_domain = _._domain_name_mismatch$_helix_idx = _._domain_name_mismatch$_$v = null; + _EventManager: function _EventManager() { }, - _DomainNameMismatch_Object_BuiltJsonSerializable: function _DomainNameMismatch_Object_BuiltJsonSerializable() { + _EventManager_closure: function _EventManager_closure() { }, - _$End3Prime: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? B._$$End3PrimeProps$JsMap$(new L.JsBackedMap({})) : B._$$End3PrimeProps__$$End3PrimeProps(backingProps); + _EventManager_installEscAndBlur_closure: function _EventManager_installEscAndBlur_closure(t0) { + this.$this = t0; }, - _$$End3PrimeProps__$$End3PrimeProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return B._$$End3PrimeProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new B._$$End3PrimeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._lib_3p_end$_props = backingMap; - return t1; - } + _EventManager_installEscAndBlur_closure0: function _EventManager_installEscAndBlur_closure0(t0) { + this.$this = t0; }, - _$$End3PrimeProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new B._$$End3PrimeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._lib_3p_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _EventManager_reset_closure: function _EventManager_reset_closure() { }, - End3PrimeProps: function End3PrimeProps() { + _EventManager_destroy_closure: function _EventManager_destroy_closure() { }, - End3PrimeComponent: function End3PrimeComponent() { + _EventManager_destroy_closure0: function _EventManager_destroy_closure0() { }, - $End3PrimeComponentFactory_closure: function $End3PrimeComponentFactory_closure() { + _TouchManager: function _TouchManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; }, - _$$End3PrimeProps: function _$$End3PrimeProps() { + _TouchManager_installStart_closure: function _TouchManager_installStart_closure(t0) { + this.$this = t0; }, - _$$End3PrimeProps$PlainMap: function _$$End3PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._lib_3p_end$_props = t0; - _.End3PrimeProps_on_pointer_down = t1; - _.End3PrimeProps_on_pointer_up = t2; - _.End3PrimeProps_on_mouse_up = t3; - _.End3PrimeProps_on_mouse_move = t4; - _.End3PrimeProps_on_mouse_enter = t5; - _.End3PrimeProps_on_mouse_leave = t6; - _.End3PrimeProps_classname = t7; - _.End3PrimeProps_pos = t8; - _.End3PrimeProps_color = t9; - _.End3PrimeProps_forward = t10; - _.End3PrimeProps_id = t11; - _.End3PrimeProps_transform = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _TouchManager_installStart__closure: function _TouchManager_installStart__closure(t0) { + this.$this = t0; }, - _$$End3PrimeProps$JsMap: function _$$End3PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._lib_3p_end$_props = t0; - _.End3PrimeProps_on_pointer_down = t1; - _.End3PrimeProps_on_pointer_up = t2; - _.End3PrimeProps_on_mouse_up = t3; - _.End3PrimeProps_on_mouse_move = t4; - _.End3PrimeProps_on_mouse_enter = t5; - _.End3PrimeProps_on_mouse_leave = t6; - _.End3PrimeProps_classname = t7; - _.End3PrimeProps_pos = t8; - _.End3PrimeProps_color = t9; - _.End3PrimeProps_forward = t10; - _.End3PrimeProps_id = t11; - _.End3PrimeProps_transform = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _TouchManager_installMove_closure: function _TouchManager_installMove_closure(t0) { + this.$this = t0; }, - _$End3PrimeComponent: function _$End3PrimeComponent(t0) { - var _ = this; - _._lib_3p_end$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _TouchManager_installEnd_closure: function _TouchManager_installEnd_closure(t0) { + this.$this = t0; }, - $End3PrimeProps: function $End3PrimeProps() { + _TouchManager_installCancel_closure: function _TouchManager_installCancel_closure(t0) { + this.$this = t0; }, - __$$End3PrimeProps_UiProps_End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps() { + _MouseManager: function _MouseManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; }, - __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps() { + _MouseManager_installStart_closure: function _MouseManager_installStart_closure(t0) { + this.$this = t0; }, - _$DesignMainStrandDomainText: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? B._$$DesignMainStrandDomainTextProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps(backingProps); + _MouseManager_installStart__closure: function _MouseManager_installStart__closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return B._$$DesignMainStrandDomainTextProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new B._$$DesignMainStrandDomainTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_domain_text$_props = backingMap; - return t1; - } + _MouseManager_installMove_closure: function _MouseManager_installMove_closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandDomainTextProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new B._$$DesignMainStrandDomainTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_domain_text$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _MouseManager_installEnd_closure: function _MouseManager_installEnd_closure(t0) { + this.$this = t0; }, - DesignMainStrandDomainTextPropsMixin: function DesignMainStrandDomainTextPropsMixin() { + _PointerManager: function _PointerManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; }, - DesignMainStrandDomainTextComponent: function DesignMainStrandDomainTextComponent() { + _PointerManager_installStart_closure: function _PointerManager_installStart_closure(t0) { + this.$this = t0; }, - $DesignMainStrandDomainTextComponentFactory_closure: function $DesignMainStrandDomainTextComponentFactory_closure() { + _PointerManager_installStart__closure: function _PointerManager_installStart__closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandDomainTextProps: function _$$DesignMainStrandDomainTextProps() { + _PointerManager_installMove_closure: function _PointerManager_installMove_closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandDomainTextProps$PlainMap: function _$$DesignMainStrandDomainTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_domain_text$_props = t0; - _.DesignMainStrandDomainTextPropsMixin_strand = t1; - _.DesignMainStrandDomainTextPropsMixin_domain = t2; - _.DesignMainStrandDomainTextPropsMixin_helix = t3; - _.DesignMainStrandDomainTextPropsMixin_geometry = t4; - _.DesignMainStrandDomainTextPropsMixin_helix_groups = t5; - _.DesignMainStrandDomainTextPropsMixin_text = t6; - _.DesignMainStrandDomainTextPropsMixin_css_selector_text = t7; - _.DesignMainStrandDomainTextPropsMixin_font_size = t8; - _.DesignMainStrandDomainTextPropsMixin_num_stacked = t9; - _.DesignMainStrandDomainTextPropsMixin_transform = t10; - _.DesignMainStrandDomainTextPropsMixin_helix_svg_position = t11; - _.DesignMainStrandDomainTextPropsMixin_context_menu_strand = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _PointerManager_installEnd_closure: function _PointerManager_installEnd_closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandDomainTextProps$JsMap: function _$$DesignMainStrandDomainTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_domain_text$_props = t0; - _.DesignMainStrandDomainTextPropsMixin_strand = t1; - _.DesignMainStrandDomainTextPropsMixin_domain = t2; - _.DesignMainStrandDomainTextPropsMixin_helix = t3; - _.DesignMainStrandDomainTextPropsMixin_geometry = t4; - _.DesignMainStrandDomainTextPropsMixin_helix_groups = t5; - _.DesignMainStrandDomainTextPropsMixin_text = t6; - _.DesignMainStrandDomainTextPropsMixin_css_selector_text = t7; - _.DesignMainStrandDomainTextPropsMixin_font_size = t8; - _.DesignMainStrandDomainTextPropsMixin_num_stacked = t9; - _.DesignMainStrandDomainTextPropsMixin_transform = t10; - _.DesignMainStrandDomainTextPropsMixin_helix_svg_position = t11; - _.DesignMainStrandDomainTextPropsMixin_context_menu_strand = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _PointerManager_installCancel_closure: function _PointerManager_installCancel_closure(t0) { + this.$this = t0; }, - _$DesignMainStrandDomainTextComponent: function _$DesignMainStrandDomainTextComponent(t0) { - var _ = this; - _._design_main_strand_domain_text$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + Int64__parseRadix(s, radix, throwOnError) { + var i, negative, t1, d0, d1, d2, digit, d00, d10; + if (B.JSString_methods.startsWith$1(s, "-")) { + i = 1; + negative = true; + } else { + i = 0; + negative = false; + } + t1 = s.length; + if (i >= t1) + throw A.wrapException(A.FormatException$("No digits", s, i)); + for (d0 = 0, d1 = 0, d2 = 0; i < t1; ++i, d1 = d10, d0 = d00) { + digit = A.decodeDigit(B.JSString_methods._codeUnitAt$1(s, i)); + if (digit < radix) { + d0 = d0 * radix + digit; + d00 = d0 & 4194303; + d1 = d1 * radix + B.JSInt_methods._shrOtherPositive$1(d0, 22); + d10 = d1 & 4194303; + d2 = d2 * radix + (d1 >>> 22) & 1048575; + } else + throw A.wrapException(A.FormatException$("Not radix digit", s, i)); + } + if (negative) + return A.Int64__sub(0, 0, 0, d0, d1, d2); + return new A.Int64(d0 & 4194303, d1 & 4194303, d2 & 1048575); }, - $DesignMainStrandDomainTextPropsMixin: function $DesignMainStrandDomainTextPropsMixin() { + Int64_Int64(value) { + var negative, v2, v1, t1, t2, t3; + if (value < 0) { + value = -value; + negative = true; + } else + negative = false; + v2 = B.JSInt_methods._tdivFast$1(value, 17592186044416); + value -= v2 * 17592186044416; + v1 = B.JSInt_methods._tdivFast$1(value, 4194304); + t1 = v1 & 4194303; + t2 = v2 & 1048575; + t3 = value - v1 * 4194304 & 4194303; + return negative ? A.Int64__sub(0, 0, 0, t3, t1, t2) : new A.Int64(t3, t1, t2); }, - _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent: function _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent() { + Int64__promote(value) { + if (value instanceof A.Int64) + return value; + else if (A._isInt(value)) + return A.Int64_Int64(value); + throw A.wrapException(A.ArgumentError$value(value, "other", "not an int, Int32 or Int64")); }, - __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin() { + Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign) { + var d4, d3, fatRadix, chunk1, chunk2, chunk3, q, q0, q1, q2, q3, chunk10, residue; + if (d0 === 0 && d1 === 0 && d2 === 0) + return "0"; + d4 = (d2 << 4 | d1 >>> 18) >>> 0; + d3 = d1 >>> 8 & 1023; + d2 = (d1 << 2 | d0 >>> 20) & 1023; + d1 = d0 >>> 10 & 1023; + d0 &= 1023; + if (!(radix < 37)) + return A.ioore(B.List_WrN, radix); + fatRadix = B.List_WrN[radix]; + chunk1 = ""; + chunk2 = ""; + chunk3 = ""; + while (true) { + if (!!(d4 === 0 && d3 === 0)) + break; + q = B.JSInt_methods.$tdiv(d4, fatRadix); + d3 += d4 - q * fatRadix << 10 >>> 0; + q0 = B.JSInt_methods.$tdiv(d3, fatRadix); + d2 += d3 - q0 * fatRadix << 10 >>> 0; + q1 = B.JSInt_methods.$tdiv(d2, fatRadix); + d1 += d2 - q1 * fatRadix << 10 >>> 0; + q2 = B.JSInt_methods.$tdiv(d1, fatRadix); + d0 += d1 - q2 * fatRadix << 10 >>> 0; + q3 = B.JSInt_methods.$tdiv(d0, fatRadix); + chunk10 = B.JSString_methods.substring$1(B.JSInt_methods.toRadixString$1(fatRadix + (d0 - q3 * fatRadix), radix), 1); + chunk3 = chunk2; + chunk2 = chunk1; + chunk1 = chunk10; + d3 = q0; + d4 = q; + d2 = q1; + d1 = q2; + d0 = q3; + } + residue = (d2 << 20 >>> 0) + (d1 << 10 >>> 0) + d0; + return sign + (residue === 0 ? "" : B.JSInt_methods.toRadixString$1(residue, radix)) + chunk1 + chunk2 + chunk3; }, - __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin() { + Int64__sub(a0, a1, a2, b0, b1, b2) { + var diff0 = a0 - b0, + diff1 = a1 - b1 - (B.JSInt_methods._shrOtherPositive$1(diff0, 22) & 1); + return new A.Int64(diff0 & 4194303, diff1 & 4194303, a2 - b2 - (B.JSInt_methods._shrOtherPositive$1(diff1, 22) & 1) & 1048575); }, - crossover_path_description_within_group: function(prev_domain, next_domain, helices, geometry, prev_helix_svg_position_y, next_helix_svg_position_y) { - var t1 = prev_domain.helix, - t2 = helices._map$_map, - t3 = J.getInterceptor$asx(t2), - prev_helix = t3.$index(t2, t1), - next_helix = t3.$index(t2, next_domain.helix), - start_svg = prev_helix.svg_base_pos$3(prev_domain.get$offset_3p(), prev_domain.forward, prev_helix_svg_position_y), - control = B.control_point_for_crossover_bezier_curve(prev_domain, next_domain, helices, prev_helix_svg_position_y, next_helix_svg_position_y, geometry), - end_svg = next_helix.svg_base_pos$3(next_domain.get$offset_5p(), next_domain.forward, next_helix_svg_position_y); - return "M " + H.S(start_svg.x) + " " + H.S(start_svg.y) + " Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(end_svg.x) + " " + H.S(end_svg.y); + Int64: function Int64(t0, t1, t2) { + this._l = t0; + this._m = t1; + this._int64$_h = t2; }, - control_point_for_crossover_bezier_curve: function(from_ss, to_ss, helices, from_helix_svg_position_y, to_helix_svg_position_y, geometry) { - var start_pos, end_pos, from_strand_below, t3, t4, t5, t6, t7, vector, t8, t9, normal, - t1 = helices._map$_map, - t2 = J.getInterceptor$asx(t1), - from_helix = t2.$index(t1, from_ss.helix), - to_helix = t2.$index(t1, to_ss.helix); - if (typeof from_helix_svg_position_y !== "number") - return from_helix_svg_position_y.$sub(); - if (typeof to_helix_svg_position_y !== "number") - return H.iae(to_helix_svg_position_y); - t1 = geometry.get$distance_between_helices_svg(); - t2 = from_ss.forward; - start_pos = from_helix.svg_base_pos$3(from_ss.get$offset_3p(), t2, from_helix_svg_position_y); - end_pos = to_helix.svg_base_pos$3(to_ss.get$offset_5p(), to_ss.forward, to_helix_svg_position_y); - from_strand_below = from_helix_svg_position_y > to_helix_svg_position_y; - t3 = start_pos.x; - t4 = end_pos.x; - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t4 !== "number") - return H.iae(t4); - t5 = start_pos.y; - t6 = end_pos.y; - if (typeof t5 !== "number") - return t5.$add(); - if (typeof t6 !== "number") - return H.iae(t6); - t7 = type$.Point_legacy_num; - vector = end_pos.$sub(0, start_pos); - t8 = vector.y; - t9 = vector.x; - if (typeof t9 !== "number") - return t9.$negate(); - normal = new P.Point(t8, -t9, t7); - if (!(!t2 && from_strand_below)) - t2 = t2 && !from_strand_below; - else - t2 = true; - if (t2) { - if (typeof t8 !== "number") - return t8.$negate(); - normal = new P.Point(-t8, t9, t7); - } - return new P.Point((t3 + t4) / 2, (t5 + t6) / 2, t7).$add(0, normal.$mul(0, 1 / normal.get$magnitude()).$mul(0, Math.abs((from_helix_svg_position_y - to_helix_svg_position_y) / t1) * 0.5).$mul(0, geometry.get$base_width_svg() / 2)); + post(url, body, headers) { + return A._withClient(new A.post_closure(url, headers, body, null), type$.Response); }, - _$DesignMainStrandPaths: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? B._$$DesignMainStrandPathsProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps(backingProps); + _withClient(fn, $T) { + return A._withClient$body(fn, $T, $T); }, - _$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return B._$$DesignMainStrandPathsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new B._$$DesignMainStrandPathsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_paths$_props = backingMap; - return t1; - } + _withClient$body(fn, $T, $async$type) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter($async$type), + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], t1, client0, client; + var $async$_withClient = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + client0 = new A.BrowserClient(A.LinkedHashSet_LinkedHashSet$_empty(type$.HttpRequest)); + client = client0; + $async$handler = 3; + $async$goto = 6; + return A._asyncAwait(fn.call$1(client), $async$_withClient); + case 6: + // returning from await. + t1 = $async$result; + $async$returnValue = t1; + $async$next = [1]; + // goto finally + $async$goto = 4; + break; + $async$next.push(5); + // goto finally + $async$goto = 4; + break; + case 3: + // uncaught + $async$next = [2]; + case 4: + // finally + $async$handler = 2; + J.close$0$z(client); + // goto the next finally handler + $async$goto = $async$next.pop(); + break; + case 5: + // after finally + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return A._asyncRethrow($async$currentError, $async$completer); + } + }); + return A._asyncStartSync($async$_withClient, $async$completer); }, - _$$DesignMainStrandPathsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new B._$$DesignMainStrandPathsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_paths$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + post_closure: function post_closure(t0, t1, t2, t3) { + var _ = this; + _.url = t0; + _.headers = t1; + _.body = t2; + _.encoding = t3; }, - DesignMainStrandPathsPropsMixin: function DesignMainStrandPathsPropsMixin() { + BaseClient: function BaseClient() { }, - DesignMainStrandPathsComponent: function DesignMainStrandPathsComponent() { + BaseRequest: function BaseRequest() { }, - $DesignMainStrandPathsComponentFactory_closure: function $DesignMainStrandPathsComponentFactory_closure() { + BaseRequest_closure: function BaseRequest_closure() { }, - _$$DesignMainStrandPathsProps: function _$$DesignMainStrandPathsProps() { + BaseRequest_closure0: function BaseRequest_closure0() { + }, + BaseResponse: function BaseResponse() { + }, + BrowserClient: function BrowserClient(t0) { + this._xhrs = t0; + this._isClosed = false; + }, + BrowserClient_send_closure: function BrowserClient_send_closure(t0, t1, t2) { + this.xhr = t0; + this.completer = t1; + this.request = t2; + }, + BrowserClient_send_closure0: function BrowserClient_send_closure0(t0, t1) { + this.completer = t0; + this.request = t1; + }, + ByteStream: function ByteStream(t0) { + this._stream = t0; + }, + ByteStream_toBytes_closure: function ByteStream_toBytes_closure(t0) { + this.completer = t0; + }, + ClientException$(message, uri) { + return new A.ClientException(message); + }, + ClientException: function ClientException(t0) { + this.message = t0; + }, + Request$(method, url) { + var t1 = new Uint8Array(0), + t2 = $.$get$BaseRequest__tokenRE()._nativeRegExp; + if (!t2.test(method)) + A.throwExpression(A.ArgumentError$value(method, "method", "Not a valid method")); + t2 = type$.String; + return new A.Request(B.C_Utf8Codec, t1, method, url, A.LinkedHashMap_LinkedHashMap(new A.BaseRequest_closure(), new A.BaseRequest_closure0(), null, t2, t2)); }, - _$$DesignMainStrandPathsProps$PlainMap: function _$$DesignMainStrandPathsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) { + Request: function Request(t0, t1, t2, t3, t4) { var _ = this; - _._design_main_strand_paths$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandPathsPropsMixin_strand = t4; - _.DesignMainStrandPathsPropsMixin_side_selected_helix_idxs = t5; - _.DesignMainStrandPathsPropsMixin_selected_ends_in_strand = t6; - _.DesignMainStrandPathsPropsMixin_selected_crossovers_in_strand = t7; - _.DesignMainStrandPathsPropsMixin_selected_loopouts_in_strand = t8; - _.DesignMainStrandPathsPropsMixin_selected_extensions_in_strand = t9; - _.DesignMainStrandPathsPropsMixin_selected_domains_in_strand = t10; - _.DesignMainStrandPathsPropsMixin_helices = t11; - _.DesignMainStrandPathsPropsMixin_groups = t12; - _.DesignMainStrandPathsPropsMixin_geometry = t13; - _.DesignMainStrandPathsPropsMixin_show_domain_names = t14; - _.DesignMainStrandPathsPropsMixin_show_strand_names = t15; - _.DesignMainStrandPathsPropsMixin_drawing_potential_crossover = t16; - _.DesignMainStrandPathsPropsMixin_moving_dna_ends = t17; - _.DesignMainStrandPathsPropsMixin_origami_type_is_selectable = t18; - _.DesignMainStrandPathsPropsMixin_strand_tooltip = t19; - _.DesignMainStrandPathsPropsMixin_only_display_selected_helices = t20; - _.DesignMainStrandPathsPropsMixin_context_menu_strand = t21; - _.DesignMainStrandPathsPropsMixin_helix_idx_to_svg_position_map = t22; - _.DesignMainStrandPathsPropsMixin_retain_strand_color_on_selection = t23; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t24; - _.UbiquitousDomPropsMixin__dom = t25; + _._defaultEncoding = t0; + _._bodyBytes = t1; + _.method = t2; + _.url = t3; + _.headers = t4; + _._finalized = false; + }, + Response_fromStream(response) { + return A.Response_fromStream$body(response); + }, + Response_fromStream$body(response) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.Response), + $async$returnValue, body, t1, t2, t3, t4, t5, t6; + var $async$Response_fromStream = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return A._asyncAwait(response.stream.toBytes$0(), $async$Response_fromStream); + case 3: + // returning from await. + body = $async$result; + t1 = response.statusCode; + t2 = response.request; + t3 = response.headers; + t4 = response.reasonPhrase; + t5 = A.toUint8List(body); + t6 = J.get$length$asx(body); + t5 = new A.Response(t5, t2, t1, t4, t6, t3, false, true); + t5.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t1, t6, t3, false, true, t4, t2); + $async$returnValue = t5; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$Response_fromStream, $async$completer); + }, + _contentTypeForHeaders(headers) { + var contentType = headers.$index(0, "content-type"); + if (contentType != null) + return A.MediaType_MediaType$parse(contentType); + return A.MediaType$("application", "octet-stream", null); }, - _$$DesignMainStrandPathsProps$JsMap: function _$$DesignMainStrandPathsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) { + Response: function Response(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; - _._design_main_strand_paths$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandPathsPropsMixin_strand = t4; - _.DesignMainStrandPathsPropsMixin_side_selected_helix_idxs = t5; - _.DesignMainStrandPathsPropsMixin_selected_ends_in_strand = t6; - _.DesignMainStrandPathsPropsMixin_selected_crossovers_in_strand = t7; - _.DesignMainStrandPathsPropsMixin_selected_loopouts_in_strand = t8; - _.DesignMainStrandPathsPropsMixin_selected_extensions_in_strand = t9; - _.DesignMainStrandPathsPropsMixin_selected_domains_in_strand = t10; - _.DesignMainStrandPathsPropsMixin_helices = t11; - _.DesignMainStrandPathsPropsMixin_groups = t12; - _.DesignMainStrandPathsPropsMixin_geometry = t13; - _.DesignMainStrandPathsPropsMixin_show_domain_names = t14; - _.DesignMainStrandPathsPropsMixin_show_strand_names = t15; - _.DesignMainStrandPathsPropsMixin_drawing_potential_crossover = t16; - _.DesignMainStrandPathsPropsMixin_moving_dna_ends = t17; - _.DesignMainStrandPathsPropsMixin_origami_type_is_selectable = t18; - _.DesignMainStrandPathsPropsMixin_strand_tooltip = t19; - _.DesignMainStrandPathsPropsMixin_only_display_selected_helices = t20; - _.DesignMainStrandPathsPropsMixin_context_menu_strand = t21; - _.DesignMainStrandPathsPropsMixin_helix_idx_to_svg_position_map = t22; - _.DesignMainStrandPathsPropsMixin_retain_strand_color_on_selection = t23; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t24; - _.UbiquitousDomPropsMixin__dom = t25; + _.bodyBytes = t0; + _.request = t1; + _.statusCode = t2; + _.reasonPhrase = t3; + _.contentLength = t4; + _.headers = t5; + _.isRedirect = t6; + _.persistentConnection = t7; }, - _$DesignMainStrandPathsComponent: function _$DesignMainStrandPathsComponent(t0) { + StreamedResponse: function StreamedResponse(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; - _._design_main_strand_paths$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.stream = t0; + _.request = t1; + _.statusCode = t2; + _.reasonPhrase = t3; + _.contentLength = t4; + _.headers = t5; + _.isRedirect = t6; + _.persistentConnection = t7; }, - $DesignMainStrandPathsPropsMixin: function $DesignMainStrandPathsPropsMixin() { + CaseInsensitiveMap$from(other, $V) { + var t1 = new A.CaseInsensitiveMap(new A.CaseInsensitiveMap$from_closure(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, $V._eval$1("MapEntry")), $V._eval$1("CaseInsensitiveMap<0>")); + t1.addAll$1(0, other); + return t1; }, - _DesignMainStrandPathsComponent_UiComponent2_PureComponent: function _DesignMainStrandPathsComponent_UiComponent2_PureComponent() { + CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2) { + this._canonicalize = t0; + this._base = t1; + this.$ti = t2; + }, + CaseInsensitiveMap$from_closure: function CaseInsensitiveMap$from_closure() { + }, + MediaType_MediaType$parse(mediaType) { + return A.wrapFormatException("media type", mediaType, new A.MediaType_MediaType$parse_closure(mediaType), type$.MediaType); + }, + MediaType$(type, subtype, parameters) { + var t1 = type.toLowerCase(), + t2 = subtype.toLowerCase(), + t3 = type$.String; + t3 = parameters == null ? A.LinkedHashMap_LinkedHashMap$_empty(t3, t3) : A.CaseInsensitiveMap$from(parameters, t3); + return new A.MediaType(t1, t2, new A.UnmodifiableMapView(t3, type$.UnmodifiableMapView_String_String)); + }, + MediaType: function MediaType(t0, t1, t2) { + this.type = t0; + this.subtype = t1; + this.parameters = t2; + }, + MediaType_MediaType$parse_closure: function MediaType_MediaType$parse_closure(t0) { + this.mediaType = t0; + }, + MediaType_toString_closure: function MediaType_toString_closure(t0) { + this.buffer = t0; + }, + MediaType_toString__closure: function MediaType_toString__closure() { + }, + expectQuotedString(scanner) { + var string; + scanner.expect$2$name($.$get$_quotedString(), "quoted string"); + string = scanner.get$lastMatch().$index(0, 0); + return A.stringReplaceAllFuncUnchecked(B.JSString_methods.substring$2(string, 1, string.length - 1), $.$get$_quotedPair(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(new A.expectQuotedString_closure())), type$.nullable_String_Function_String._as(null)); + }, + expectQuotedString_closure: function expectQuotedString_closure() { + }, + Level: function Level(t0, t1) { + this.name = t0; + this.value = t1; + }, + LogRecord: function LogRecord(t0, t1, t2, t3, t4) { + var _ = this; + _.level = t0; + _.message = t1; + _.loggerName = t2; + _.error = t3; + _.stackTrace = t4; + }, + Logger_Logger($name) { + return $.Logger__loggers.putIfAbsent$2(0, $name, new A.Logger_Logger_closure($name)); + }, + Logger: function Logger(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.parent = t1; + _._level = null; + _._children = t2; + _.children = t3; + _._controller = null; + }, + Logger_Logger_closure: function Logger_Logger_closure(t0) { + this.name = t0; + }, + DomProps$(componentFactory, props) { + var t1 = {}; + t1 = new A.DomProps(componentFactory, new A.JsBackedMap(t1), $, $); + t1.get$$$isClassGenerated(); + return t1; + }, + SvgProps$(componentFactory, props) { + var t1 = {}; + t1 = new A.SvgProps(componentFactory, new A.JsBackedMap(t1), $, $); + t1.get$$$isClassGenerated(); + return t1; }, - _DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + DomProps: function DomProps(t0, t1, t2, t3) { + var _ = this; + _.DomProps_componentFactory = t0; + _.props = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin() { + SvgProps: function SvgProps(t0, t1, t2, t3) { + var _ = this; + _.SvgProps_componentFactory = t0; + _.props = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin() { + _DomProps_UiProps_DomPropsMixin: function _DomProps_UiProps_DomPropsMixin() { }, - __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin() { + _SvgProps_UiProps_DomPropsMixin: function _SvgProps_UiProps_DomPropsMixin() { }, - __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin: function _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin() { }, - _$DesignMainUnpairedInsertionDeletions: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps(backingProps); + _$ErrorBoundary(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$ErrorBoundaryProps$JsMap$(new A.JsBackedMap({})) : A._$$ErrorBoundaryProps__$$ErrorBoundaryProps(backingProps); }, - _$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps: function(backingMap) { + _$$ErrorBoundaryProps__$$ErrorBoundaryProps(backingMap) { var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(backingMap); + if (backingMap instanceof A.JsBackedMap) + return A._$$ErrorBoundaryProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1 = new A._$$ErrorBoundaryProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._design_main_unpaired_insertion_deletions$_props = backingMap; + t1._error_boundary$_props = backingMap; return t1; } }, - _$$DesignMainUnpairedInsertionDeletionsProps$JsMap$: function(backingMap) { + _$$ErrorBoundaryProps$JsMap$(backingMap) { var _null = null, - t1 = new B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1 = new A._$$ErrorBoundaryProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._design_main_unpaired_insertion_deletions$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._error_boundary$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignMainUnpairedInsertionDeletionsProps: function DesignMainUnpairedInsertionDeletionsProps() { + _$$ErrorBoundaryState$JsMap$(backingMap) { + var t1 = new A._$$ErrorBoundaryState$JsMap(new A.JsBackedMap({}), $, $); + t1.get$$$isClassGenerated(); + t1._error_boundary$_state = backingMap; + return t1; }, - DesignMainUnpairedInsertionDeletionsComponent: function DesignMainUnpairedInsertionDeletionsComponent() { + ErrorBoundaryProps: function ErrorBoundaryProps() { }, - $DesignMainUnpairedInsertionDeletionsComponentFactory_closure: function $DesignMainUnpairedInsertionDeletionsComponentFactory_closure() { + ErrorBoundaryState: function ErrorBoundaryState() { }, - _$$DesignMainUnpairedInsertionDeletionsProps: function _$$DesignMainUnpairedInsertionDeletionsProps() { + ErrorBoundaryComponent: function ErrorBoundaryComponent() { }, - _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap: function _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + $ErrorBoundaryComponentFactory_closure: function $ErrorBoundaryComponentFactory_closure() { + }, + _$$ErrorBoundaryProps: function _$$ErrorBoundaryProps() { + }, + _$$ErrorBoundaryProps$PlainMap: function _$$ErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; - _._design_main_unpaired_insertion_deletions$_props = t0; - _.DesignMainUnpairedInsertionDeletionsProps_design = t1; - _.DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices = t2; - _.DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs = t3; - _.DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map = t4; + _._error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _$$DesignMainUnpairedInsertionDeletionsProps$JsMap: function _$$DesignMainUnpairedInsertionDeletionsProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + _$$ErrorBoundaryProps$JsMap: function _$$ErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; - _._design_main_unpaired_insertion_deletions$_props = t0; - _.DesignMainUnpairedInsertionDeletionsProps_design = t1; - _.DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices = t2; - _.DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs = t3; - _.DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map = t4; + _._error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _$DesignMainUnpairedInsertionDeletionsComponent: function _$DesignMainUnpairedInsertionDeletionsComponent(t0) { + _$$ErrorBoundaryState: function _$$ErrorBoundaryState() { + }, + _$$ErrorBoundaryState$JsMap: function _$$ErrorBoundaryState$JsMap(t0, t1, t2) { + this._error_boundary$_state = t0; + this.ErrorBoundaryState___ErrorBoundaryState_hasError_A = t1; + this.ErrorBoundaryState___ErrorBoundaryState_showFallbackUIOnError_A = t2; + }, + _$ErrorBoundaryComponent: function _$ErrorBoundaryComponent(t0) { var _ = this; - _._design_main_unpaired_insertion_deletions$_cachedTypedProps = null; + _.___$ErrorBoundaryComponent__cachedTypedState_A = _.___$ErrorBoundaryComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignMainUnpairedInsertionDeletionsProps: function $DesignMainUnpairedInsertionDeletionsProps() { + $ErrorBoundaryProps: function $ErrorBoundaryProps() { }, - _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent: function _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent() { + $ErrorBoundaryState: function $ErrorBoundaryState() { }, - __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps() { + _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { }, - __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps() { + __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps() { }, - _$DesignSideHelix: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? B._$$DesignSideHelixProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignSideHelixProps__$$DesignSideHelixProps(backingProps); + __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + }, + __$$ErrorBoundaryState_UiState_ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState() { + }, + __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + }, + ErrorBoundaryApi: function ErrorBoundaryApi() { + }, + _$RecoverableErrorBoundary(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$RecoverableErrorBoundaryProps$JsMap$(new A.JsBackedMap({})) : A._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(backingProps); }, - _$$DesignSideHelixProps__$$DesignSideHelixProps: function(backingMap) { + _$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(backingMap) { var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return B._$$DesignSideHelixProps$JsMap$(backingMap); + if (backingMap instanceof A.JsBackedMap) + return A._$$RecoverableErrorBoundaryProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new B._$$DesignSideHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$RecoverableErrorBoundaryProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._design_side_helix$_props = backingMap; + t1._error_boundary_recoverable$_props = backingMap; return t1; } }, - _$$DesignSideHelixProps$JsMap$: function(backingMap) { + _$$RecoverableErrorBoundaryProps$JsMap$(backingMap) { var _null = null, - t1 = new B._$$DesignSideHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$RecoverableErrorBoundaryProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._design_side_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._error_boundary_recoverable$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignSideHelixProps: function DesignSideHelixProps() { - }, - DesignSideHelixComponent: function DesignSideHelixComponent() { - }, - DesignSideHelixComponent_render_closure: function DesignSideHelixComponent_render_closure(t0) { - this.$this = t0; + _$$RecoverableErrorBoundaryState$JsMap$(backingMap) { + var t1 = new A._$$RecoverableErrorBoundaryState$JsMap(new A.JsBackedMap({}), $, $); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_state = backingMap; + return t1; }, - DesignSideHelixComponent_render_closure0: function DesignSideHelixComponent_render_closure0(t0) { - this.$this = t0; + RecoverableErrorBoundaryComponent: function RecoverableErrorBoundaryComponent() { }, - $DesignSideHelixComponentFactory_closure: function $DesignSideHelixComponentFactory_closure() { + $RecoverableErrorBoundaryComponentFactory_closure: function $RecoverableErrorBoundaryComponentFactory_closure() { }, - _$$DesignSideHelixProps: function _$$DesignSideHelixProps() { + _$$RecoverableErrorBoundaryProps: function _$$RecoverableErrorBoundaryProps() { }, - _$$DesignSideHelixProps$PlainMap: function _$$DesignSideHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + _$$RecoverableErrorBoundaryProps$PlainMap: function _$$RecoverableErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; - _._design_side_helix$_props = t0; - _.DesignSideHelixProps_helix = t1; - _.DesignSideHelixProps_slice_bar_offset = t2; - _.DesignSideHelixProps_selected = t3; - _.DesignSideHelixProps_mouse_is_over = t4; - _.DesignSideHelixProps_helix_change_apply_to_all = t5; - _.DesignSideHelixProps_show_grid_coordinates = t6; - _.DesignSideHelixProps_invert_y = t7; - _.DesignSideHelixProps_grid = t8; - _.DesignSideHelixProps_rotation_data = t9; - _.DesignSideHelixProps_edit_modes = t10; + _._error_boundary_recoverable$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t11; - _.UbiquitousDomPropsMixin__dom = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _$$DesignSideHelixProps$JsMap: function _$$DesignSideHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + _$$RecoverableErrorBoundaryProps$JsMap: function _$$RecoverableErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; - _._design_side_helix$_props = t0; - _.DesignSideHelixProps_helix = t1; - _.DesignSideHelixProps_slice_bar_offset = t2; - _.DesignSideHelixProps_selected = t3; - _.DesignSideHelixProps_mouse_is_over = t4; - _.DesignSideHelixProps_helix_change_apply_to_all = t5; - _.DesignSideHelixProps_show_grid_coordinates = t6; - _.DesignSideHelixProps_invert_y = t7; - _.DesignSideHelixProps_grid = t8; - _.DesignSideHelixProps_rotation_data = t9; - _.DesignSideHelixProps_edit_modes = t10; + _._error_boundary_recoverable$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t11; - _.UbiquitousDomPropsMixin__dom = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _$DesignSideHelixComponent: function _$DesignSideHelixComponent(t0) { + _$$RecoverableErrorBoundaryState: function _$$RecoverableErrorBoundaryState() { + }, + _$$RecoverableErrorBoundaryState$JsMap: function _$$RecoverableErrorBoundaryState$JsMap(t0, t1, t2) { + this._error_boundary_recoverable$_state = t0; + this.ErrorBoundaryState___ErrorBoundaryState_hasError_A = t1; + this.ErrorBoundaryState___ErrorBoundaryState_showFallbackUIOnError_A = t2; + }, + _$RecoverableErrorBoundaryComponent: function _$RecoverableErrorBoundaryComponent(t0, t1, t2) { var _ = this; - _._design_side_helix$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.___$RecoverableErrorBoundaryComponent__cachedTypedState_A = _.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A = $; + _._domAtTimeOfError = null; + _._errorLog = t0; + _._callStackLog = t1; + _._identicalErrorTimer = null; + _.DisposableManagerProxy__disposableProxy = t2; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignSideHelixProps: function $DesignSideHelixProps() { + _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { }, - _DesignSideHelixComponent_UiComponent2_PureComponent: function _DesignSideHelixComponent_UiComponent2_PureComponent() { + __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps() { }, - __$$DesignSideHelixProps_UiProps_DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps() { + __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { }, - __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps() { + __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState() { }, - XmlNode: function XmlNode() { + __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { }, - _XmlNode_Object_XmlParentBase: function _XmlNode_Object_XmlParentBase() { + ReactPropsMixin: function ReactPropsMixin() { }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase: function _XmlNode_Object_XmlParentBase_XmlAttributesBase() { + DomPropsMixin: function DomPropsMixin() { }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase() { + SvgPropsMixin: function SvgPropsMixin() { }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText() { + UbiquitousDomPropsMixin: function UbiquitousDomPropsMixin() { }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor() { + UngeneratedError$(member, message) { + return new A.UngeneratedError(A.S(message)); }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter() { + GeneratedClass: function GeneratedClass() { }, - _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml() { + UiProps0: function UiProps0() { }, - XmlCache: function XmlCache(t0, t1, t2, t3) { - var _ = this; - _._loader = t0; - _._maxSize = t1; - _._cache$_values = t2; - _.$ti = t3; + UiState: function UiState() { }, - XmlNodeList$: function($E) { - return new B.XmlNodeList(H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")), $E._eval$1("XmlNodeList<0>")); + UngeneratedError: function UngeneratedError(t0) { + this.message = t0; }, - XmlNodeList: function XmlNodeList(t0, t1) { - var _ = this; - _.__XmlNodeList__nodeTypes = _.__XmlNodeList__parent = $; - _._wrappers$_base = t0; - _.$ti = t1; + _UiProps_UiProps_GeneratedClass: function _UiProps_UiProps_GeneratedClass() { }, - XmlNodeList_removeWhere_closure: function XmlNodeList_removeWhere_closure(t0, t1) { - this.$this = t0; - this.test = t1; + _UiState_UiState_GeneratedClass: function _UiState_UiState_GeneratedClass() { }, - XmlNodeList__expandFragment_closure: function XmlNodeList__expandFragment_closure(t0) { - this.$this = t0; + UiState0: function UiState0() { }, - XmlPrefixName: function XmlPrefixName(t0, t1, t2, t3) { - var _ = this; - _.prefix = t0; - _.local = t1; - _.qualified = t2; - _.XmlHasParent__parent = t3; + UiProps: function UiProps() { }, - XmlVisitor: function XmlVisitor() { + UiProps_call_closure: function UiProps_call_closure() { }, - encodingForCharset: function(charset) { - var t1; - if (charset == null) - return C.C_Latin1Codec; - t1 = P.Encoding_getByName(charset); - return t1 == null ? C.C_Latin1Codec : t1; + PropsMapViewMixin: function PropsMapViewMixin() { }, - toUint8List: function(input) { - if (type$.legacy_Uint8List._is(input)) - return input; - if (type$.legacy_TypedData._is(input)) - return J.asUint8List$2$x(J.get$buffer$x(input), 0, null); - return new Uint8Array(H._ensureNativeList(input)); + StateMapViewMixin: function StateMapViewMixin() { }, - toByteStream: function(stream) { - return stream; + MapViewMixin: function MapViewMixin() { }, - wrapFormatException: function($name, value, body, $T) { - var error, error0, t1, exception; - try { - t1 = body.call$0(); - return t1; - } catch (exception) { - t1 = H.unwrapException(exception); - if (t1 instanceof G.SourceSpanFormatException) { - error = t1; - throw H.wrapException(G.SourceSpanFormatException$("Invalid " + $name + ": " + error._span_exception$_message, error._span, J.get$source$z(error))); - } else if (type$.legacy_FormatException._is(t1)) { - error0 = t1; - throw H.wrapException(P.FormatException$("Invalid " + $name + ' "' + value + '": ' + H.S(J.get$message$x(error0)), J.get$source$z(error0), J.get$offset$x(error0))); - } else - throw exception; - } + PropDescriptor: function PropDescriptor(t0, t1, t2, t3) { + var _ = this; + _.key = t0; + _.isRequired = t1; + _.isNullable = t2; + _.isLate = t3; }, - isAlphabetic: function(char) { - var t1; - if (!(char >= 65 && char <= 90)) - t1 = char >= 97 && char <= 122; - else - t1 = true; - return t1; + PropsMeta: function PropsMeta(t0, t1) { + this.fields = t0; + this.keys = t1; }, - isDriveLetter: function(path, index) { - var t1 = path.length, - t2 = index + 2; - if (t1 < t2) - return false; - if (!B.isAlphabetic(C.JSString_methods.codeUnitAt$1(path, index))) - return false; - if (C.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) - return false; - if (t1 === t2) - return true; - return C.JSString_methods.codeUnitAt$1(path, t2) === 47; + _AccessorMetaCollection: function _AccessorMetaCollection() { }, - resolve: function(parser, $T) { - var todo, seen, t3, $parent, t4, _i, child, referenced, - t1 = type$.ResolvableParser_dynamic, - t2 = type$.Parser_dynamic, - mapping = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - parser = B._dereference(parser, mapping, $T); - todo = H.setRuntimeTypeInfo([parser], type$.JSArray_Parser_dynamic); - seen = P.LinkedHashSet_LinkedHashSet$_literal([parser], t2); - for (t2 = type$.dynamic; t3 = todo.length, t3 !== 0;) { - if (0 >= t3) - return H.ioore(todo, -1); - $parent = todo.pop(); - for (t3 = $parent.get$children($parent), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i) { - child = t3[_i]; - if (t1._is(child)) { - referenced = B._dereference(child, mapping, t2); - $parent.replace$2(0, child, referenced); - child = referenced; - } - if (seen.add$1(0, child)) - C.JSArray_methods.add$1(todo, child); - } - } - return parser; + _AccessorMetaCollection_keys_closure: function _AccessorMetaCollection_keys_closure(t0) { + this.$this = t0; }, - _dereference: function(parser, mapping, $T) { - var t2, t3, - t1 = $T._eval$1("ResolvableParser<0>"), - references = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (; t1._is(parser);) { - if (mapping.containsKey$1(0, parser)) { - t1 = mapping.$index(0, parser); - t1.toString; - return $T._eval$1("Parser<0>")._as(t1); - } else if (!references.add$1(0, parser)) - throw H.wrapException(P.StateError$("Recursive references detected: " + references.toString$0(0))); - t2 = parser.$function; - t3 = parser.$arguments; - parser = parser.$ti._eval$1("Parser<1>")._as(H.Primitives_applyFunction(t2, t3, null)); - } - if (type$.ResolvableParser_dynamic._is(parser)) - throw H.wrapException(P.StateError$("Type error in reference parser: " + parser.toString$0(0))); - for (t1 = P._LinkedHashSetIterator$(references, references._collection$_modifications, references.$ti._precomputed1); t1.moveNext$0();) - mapping.$indexSet(0, t1._collection$_current, parser); - return parser; + PropsMetaCollection: function PropsMetaCollection(t0) { + this._metaByMixin = t0; }, - move_ensure_all_in_same_helix_group_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.StrandsMoveStart) - if (action.original_helices_view_order_inverse == null) { - C.Window_methods.alert$1(window, "Cannot move or copy strands unless they are all on the same helix group.\noriginal_helices_view_order_inverse is null"); - return; - } - next.call$1(action); - }, - isAllTheSame: function(iter) { - var firstValue, t1; - if (iter.get$length(iter) === 0) - return true; - firstValue = iter.get$first(iter); - for (t1 = H.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new H.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")); t1.moveNext$0();) - if (!J.$eq$(t1.__internal$_current, firstValue)) - return false; - return true; - }, - replaceFirstNull: function(list, element, $E) { - var index = C.JSArray_methods.indexOf$1(list, null); - if (index < 0) - throw H.wrapException(P.ArgumentError$(H.S(list) + " contains no null elements.")); - C.JSArray_methods.$indexSet(list, index, element); - }, - replaceWithNull: function(list, element, $E) { - var index = C.JSArray_methods.indexOf$1(list, element); - if (index < 0) - throw H.wrapException(P.ArgumentError$(H.S(list) + " contains no elements matching " + element.toString$0(0) + ".")); - C.JSArray_methods.$indexSet(list, index, null); - }, - countCodeUnits: function(string, codeUnit) { - var t1, count; - for (t1 = new H.CodeUnits(string), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) - if (t1.__internal$_current === codeUnit) - ++count; - return count; + _UiProps_MapBase_MapViewMixin: function _UiProps_MapBase_MapViewMixin() { }, - findLineStart: function(context, text, column) { - var beginningOfLine, index, lineStart; - if (text.length === 0) - for (beginningOfLine = 0; true;) { - index = C.JSString_methods.indexOf$2(context, "\n", beginningOfLine); - if (index === -1) - return context.length - beginningOfLine >= column ? beginningOfLine : null; - if (index - beginningOfLine >= column) - return beginningOfLine; - beginningOfLine = index + 1; - } - index = C.JSString_methods.indexOf$1(context, text); - for (; index !== -1;) { - lineStart = index === 0 ? 0 : C.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1; - if (column === index - lineStart) - return lineStart; - index = C.JSString_methods.indexOf$2(context, text, index + 1); - } - return null; + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin() { }, - lookupAttribute: function(start, prefix, local) { - var node, t1, t2, t3; - for (node = start; node != null; node = node.get$parent(node)) - for (t1 = J.get$iterator$ax(node.get$attributes(node)); t1.moveNext$0();) { - t2 = t1.__interceptors$_current; - t3 = t2.name; - if (t3.get$prefix(t3) == prefix && t3.get$local() === local) - return t2; - } - return null; - } - }, - A = {Bz2BitReader: function Bz2BitReader(t0) { - this.input = t0; - this._bitPos = this._bz2_bit_reader$_bitBuffer = 0; - }, CopyOnWriteSet: function CopyOnWriteSet(t0, t1, t2) { - var _ = this; - _._copy_on_write_set$_setFactory = t0; - _._copy_on_write_set$_copyBeforeWrite = true; - _._copy_on_write_set$_set = t1; - _.$ti = t2; + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin() { }, - hashObjects: function(objects) { - return A._finish(J.fold$1$2$ax(objects, 0, new A.hashObjects_closure(), type$.int)); + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin() { }, - _combine: function(hash, value) { - if (typeof hash !== "number") - return hash.$add(); - if (typeof value !== "number") - return H.iae(value); - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin() { }, - _finish: function(hash) { - if (typeof hash !== "number") - return H.iae(hash); - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; + _UiState_Object_MapViewMixin: function _UiState_Object_MapViewMixin() { }, - hashObjects_closure: function hashObjects_closure() { + _UiState_Object_MapViewMixin_StateMapViewMixin: function _UiState_Object_MapViewMixin_StateMapViewMixin() { }, - BuiltMap_BuiltMap: function(map, $K, $V) { - var t1 = A._BuiltMap$copyAndCheckTypes(map.get$keys(map), new A.BuiltMap_BuiltMap_closure(map), $K, $V); - return t1; + registerComponent2(dartComponentFactory, builderFactory, componentClass, isWrapper, parentType, skipMethods) { + var reactComponentFactory = $.$get$registerComponent2().call$3$bridgeFactory$skipMethods(dartComponentFactory, A.component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure(), skipMethods), + t1 = $.$get$_typeAliasToFactory(); + t1.toString; + t1._jsWeakMap.set(builderFactory, t1.$ti._eval$1("1?")._as(reactComponentFactory)); + t1 = $.$get$_typeAliasToFactory(); + t1.toString; + t1._jsWeakMap.set(componentClass, t1.$ti._eval$1("1?")._as(reactComponentFactory)); + t1 = reactComponentFactory.reactClass; + t1._componentTypeMeta = new A.ComponentTypeMeta(isWrapper); + return reactComponentFactory; }, - BuiltMap_BuiltMap$from: function(map, $K, $V) { - return A._BuiltMap$copyAndCheckTypes(J.get$keys$x(map._copy_on_write_map$_map), new A.BuiltMap_BuiltMap$from_closure(map), $K, $V); + UiComponent2BridgeImpl_bridgeFactory(component) { + type$.Component2._as(component); + return B.C_UiComponent2BridgeImpl; }, - BuiltMap_BuiltMap$of: function(map, $K, $V) { - var t1 = new A._BuiltMap(null, P.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); - t1._BuiltMap$copyAndCheckForNull$2(J.get$keys$x(map), new A.BuiltMap_BuiltMap$of_closure(map, $V, $K), $K, $V); - return t1; + UiComponent2: function UiComponent2() { }, - _BuiltMap$copyAndCheckTypes: function(keys, lookup, $K, $V) { - var t1 = new A._BuiltMap(null, P.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); - t1._BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V); - return t1; + UiComponent2_addUnconsumedProps_closure: function UiComponent2_addUnconsumedProps_closure() { }, - MapBuilder_MapBuilder: function(map, $K, $V) { - var t1 = new A.MapBuilder(null, $, null, $K._eval$1("@<0>")._bind$1($V)._eval$1("MapBuilder<1,2>")); - t1.replace$1(0, map); - return t1; + UiStatefulComponent2: function UiStatefulComponent2() { }, - BuiltMap: function BuiltMap() { + UiStatefulMixin2: function UiStatefulMixin2() { }, - BuiltMap_BuiltMap_closure: function BuiltMap_BuiltMap_closure(t0) { - this.map = t0; + UiComponent2BridgeImpl: function UiComponent2BridgeImpl() { }, - BuiltMap_BuiltMap$from_closure: function BuiltMap_BuiltMap$from_closure(t0) { - this.map = t0; + _UiComponent2_Component2_DisposableManagerProxy: function _UiComponent2_Component2_DisposableManagerProxy() { }, - BuiltMap_BuiltMap$of_closure: function BuiltMap_BuiltMap$of_closure(t0, t1, t2) { - this.map = t0; - this.V = t1; - this.K = t2; + _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass: function _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass() { }, - BuiltMap_hashCode_closure: function BuiltMap_hashCode_closure(t0) { - this.$this = t0; + _UiStatefulComponent2_UiComponent2_UiStatefulMixin2: function _UiStatefulComponent2_UiComponent2_UiStatefulMixin2() { }, - _BuiltMap: function _BuiltMap(t0, t1, t2) { - var _ = this; - _._mapFactory = t0; - _._map$_map = t1; - _._values = _._keys = _._hashCode = null; - _.$ti = t2; + enforceMinimumComponentVersionFor(component) { + if (typeof component.get$type(component) == "string") + return; + if (J.$eq$(J.get$dartComponentVersion$x(component.get$type(component)), "1")) + throw A.wrapException(A.ArgumentError$(A.unindent(" The UiFactory provided should not be for a UiComponent or Component.\n \n Instead, use a different factory (such as UiComponent2 or Component2).\n "), null)); }, - MapBuilder: function MapBuilder(t0, t1, t2, t3) { - var _ = this; - _._mapFactory = t0; - _.__MapBuilder__map = t1; - _._mapOwner = t2; - _.$ti = t3; + ComponentTypeMeta: function ComponentTypeMeta(t0) { + this.isWrapper = t0; }, - MapBuilder_replace_closure: function MapBuilder_replace_closure(t0, t1) { - this.$this = t0; - this.replacement = t1; + DisposableManagerProxy: function DisposableManagerProxy() { }, - MapBuilder_replace_closure0: function MapBuilder_replace_closure0(t0, t1) { - this.$this = t0; - this.replacement = t1; + UiFactoryConfig: function UiFactoryConfig(t0, t1) { + this.propsFactory = t0; + this.$ti = t1; }, - JsonObject_JsonObject: function(value) { - if (typeof value == "number") - return new A.NumJsonObject(value); - else if (typeof value == "string") - return new A.StringJsonObject(value); - else if (H._isBool(value)) - return new A.BoolJsonObject(value); - else if (type$.List_nullable_Object._is(value)) - return new A.ListJsonObject(new P.UnmodifiableListView(value, type$.UnmodifiableListView_nullable_Object)); - else if (type$.Map_of_String_and_nullable_Object._is(value)) - return new A.MapJsonObject(new P.UnmodifiableMapView(value, type$.UnmodifiableMapView_of_String_and_nullable_Object)); - else if (type$.Map_dynamic_dynamic._is(value)) - return new A.MapJsonObject(new P.UnmodifiableMapView(J.cast$2$0$ax(value, type$.String, type$.nullable_Object), type$.UnmodifiableMapView_of_String_and_nullable_Object)); - else - throw H.wrapException(P.ArgumentError$value(value, "value", "Must be bool, List, Map, num or String")); + PropsFactory: function PropsFactory(t0, t1, t2) { + this.map = t0; + this.jsMap = t1; + this.$ti = t2; }, - JsonObject: function JsonObject() { + NotSpecified: function NotSpecified() { }, - BoolJsonObject: function BoolJsonObject(t0) { - this.value = t0; + _ReduxDevToolsExtensionConnection: function _ReduxDevToolsExtensionConnection() { }, - ListJsonObject: function ListJsonObject(t0) { - this.value = t0; + connect(context, forwardRef, mapStateToProps, mapStateToPropsWithOwnProps, TReduxState, TProps) { + var mapDispatchToPropsCheck, _null = null, + _s11_ = "removeWhere", + mapStateToPropsCheck = [mapStateToProps, mapStateToPropsWithOwnProps, null, null], + t1 = A._arrayInstanceType(mapStateToPropsCheck)._eval$1("bool(1)")._as(new A.connect_closure()); + if (!!mapStateToPropsCheck.fixed$length) + A.throwExpression(A.UnsupportedError$(_s11_)); + B.JSArray_methods._removeWhere$2(mapStateToPropsCheck, t1, true); + mapDispatchToPropsCheck = [null, null, null, null]; + t1 = A._arrayInstanceType(mapDispatchToPropsCheck)._eval$1("bool(1)")._as(new A.connect_closure0()); + if (!!mapDispatchToPropsCheck.fixed$length) + A.throwExpression(A.UnsupportedError$(_s11_)); + B.JSArray_methods._removeWhere$2(mapDispatchToPropsCheck, t1, true); + if (mapStateToPropsCheck.length > 1) + throw A.wrapException(A.ArgumentError$("Only one of the following arguments can be provided at a time: [mapStateToProps, mapStateToPropsWithOwnProps, makeMapStateToProps, makeMapStateToPropsWithOwnProps]", _null)); + if (mapDispatchToPropsCheck.length > 1) + throw A.wrapException(A.ArgumentError$("Only one of the following arguments can be provided at a time: [mapDispatchToProps, mapDispatchToPropsWithOwnProps, makeMapDispatchToProps, makeMapDispatchToPropsWithOwnProps]", _null)); + return new A.connect_wrapWithConnect(mapStateToProps, mapStateToPropsWithOwnProps, _null, _null, _null, _null, _null, _null, _null, _null, A.equality__propsOrStateMapsEqual$closure(), A.equality__propsOrStateMapsEqual$closure(), A.equality__propsOrStateMapsEqual$closure(), forwardRef, true, context, TProps, TReduxState); }, - MapJsonObject: function MapJsonObject(t0) { - this.value = t0; + _jsConnect(mapStateToProps, mapDispatchToProps, mergeProps, options) { + return self.ReactRedux.connect(mapStateToProps, mapDispatchToProps, mergeProps, options); }, - NumJsonObject: function NumJsonObject(t0) { - this.value = t0; + _reduxifyStore(store) { + var t1 = A.allowInterop(new A._reduxifyStore_closure(store), type$.nullable_Object_Function), + t2 = A.allowInterop(new A._reduxifyStore_closure0(store), type$.Function_Function_Function); + return {getState: t1, dispatch: A.allowInterop(new A._reduxifyStore_closure1(store), type$.dynamic_Function_dynamic), subscribe: t2, dartStore: store}; }, - StringJsonObject: function StringJsonObject(t0) { - this.value = t0; + _$$ReduxProviderProps__$$ReduxProviderProps(backingMap) { + var t2, t3, + t1 = backingMap == null; + if (t1 || backingMap instanceof A.JsBackedMap) + return A._$$ReduxProviderProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t2 = type$.dynamic; + t3 = new A._$$ReduxProviderProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), $, null, $, $); + t3.get$$$isClassGenerated(); + t3._over_react_redux$_props = t1 ? A.LinkedHashMap_LinkedHashMap$_empty(t2, t2) : backingMap; + return t3; + } }, - DomProps$: function(componentFactory, props) { - var t1 = {}; - t1 = new A.DomProps(componentFactory, new L.JsBackedMap(t1), null, null); + _$$ReduxProviderProps$JsMap$(backingMap) { + var t1 = new A._$$ReduxProviderProps$JsMap(new A.JsBackedMap({}), $, null, $, $); t1.get$$$isClassGenerated(); + t1._over_react_redux$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - SvgProps$: function(componentFactory, props) { - var t1 = {}; - t1 = new A.SvgProps(componentFactory, new L.JsBackedMap(t1), null, null); - t1.get$$$isClassGenerated(); - return t1; + $ConnectPropsMixin: function $ConnectPropsMixin() { }, - DomProps: function DomProps(t0, t1, t2, t3) { - var _ = this; - _.DomProps_componentFactory = t0; - _.props = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + connect_closure: function connect_closure() { }, - SvgProps: function SvgProps(t0, t1, t2, t3) { + connect_closure0: function connect_closure0() { + }, + connect_wrapWithConnect: function connect_wrapWithConnect(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; - _.SvgProps_componentFactory = t0; - _.props = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + _.mapStateToProps = t0; + _.mapStateToPropsWithOwnProps = t1; + _.makeMapStateToProps = t2; + _.makeMapStateToPropsWithOwnProps = t3; + _.mapDispatchToProps = t4; + _.mapDispatchToPropsWithOwnProps = t5; + _.makeMapDispatchToProps = t6; + _.makeMapDispatchToPropsWithOwnProps = t7; + _.mergeProps = t8; + _.areStatesEqual = t9; + _.areOwnPropsEqual = t10; + _.areStatePropsEqual = t11; + _.areMergedPropsEqual = t12; + _.forwardRef = t13; + _.pure = t14; + _.context = t15; + _.TProps = t16; + _.TReduxState = t17; }, - _DomProps_UiProps_DomPropsMixin: function _DomProps_UiProps_DomPropsMixin() { + connect_wrapWithConnect_jsMapFromProps: function connect_wrapWithConnect_jsMapFromProps() { }, - _SvgProps_UiProps_DomPropsMixin: function _SvgProps_UiProps_DomPropsMixin() { + connect_wrapWithConnect_jsPropsToTProps: function connect_wrapWithConnect_jsPropsToTProps(t0, t1) { + this.factory = t0; + this.TProps = t1; }, - _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin: function _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin() { + connect_wrapWithConnect_allowInteropWithArgCount: function connect_wrapWithConnect_allowInteropWithArgCount() { }, - MapParserExtension_map: function(_this, callback, hasSideEffects, $T, $R) { - return new A.MapParser(callback, hasSideEffects, _this, $T._eval$1("@<0>")._bind$1($R)._eval$1("MapParser<1,2>")); + connect_wrapWithConnect_handleMapStateToProps: function connect_wrapWithConnect_handleMapStateToProps(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapStateToProps = t1; + this.TReduxState = t2; }, - MapParser: function MapParser(t0, t1, t2, t3) { + connect_wrapWithConnect_handleMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t0, t1, t2, t3) { var _ = this; - _.callback = t0; - _.hasSideEffects = t1; - _.delegate = t2; - _.$ti = t3; + _.jsMapFromProps = t0; + _.mapStateToPropsWithOwnProps = t1; + _.jsPropsToTProps = t2; + _.TReduxState = t3; }, - NotCharacterPredicate: function NotCharacterPredicate(t0) { - this.predicate = t0; + connect_wrapWithConnect_handleMakeMapStateToProps: function connect_wrapWithConnect_handleMakeMapStateToProps(t0, t1, t2, t3, t4) { + var _ = this; + _.makeMapStateToProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + _.TReduxState = t4; }, - SHA1Digest$: function() { - var t1 = G.Register64$(0), - t2 = new Uint8Array(4), - t3 = type$.int; - t3 = new A.SHA1Digest(t1, t2, C.C_Endian0, 5, P.List_List$filled(5, 0, false, t3), P.List_List$filled(80, 0, false, t3)); - t3.reset$0(0); - return t3; + connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; + this.TReduxState = t2; }, - SHA1Digest: function SHA1Digest(t0, t1, t2, t3, t4, t5) { + connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t0, t1, t2, t3, t4) { var _ = this; - _._byteCount = t0; - _._wordBuffer = t1; - _.__MD4FamilyDigest__wordBufferOffset = $; - _._endian = t2; - _._packedStateSize = t3; - _.state = t4; - _.buffer = t5; - _.__MD4FamilyDigest_bufferOffset = $; - }, - HMac$: function(_digest, _blockLength) { - var t2, t3, - t1 = new A.HMac(_digest, _blockLength); - t1.__HMac__digestSize = 20; - t2 = t1.get$_blockLength(); - if (!H._isInt(t2)) - H.throwExpression(P.ArgumentError$("Invalid length " + H.S(t2))); - t1.__HMac__inputPad = new Uint8Array(t2); - t2 = t1.get$_blockLength(); - t3 = t1.get$_digestSize(); - if (typeof t2 !== "number") - return t2.$add(); - if (typeof t3 !== "number") - return H.iae(t3); - t1.__HMac__outputBuf = new Uint8Array(t2 + t3); - return t1; + _.makeMapStateToPropsWithOwnProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + _.TReduxState = t4; }, - HMac: function HMac(t0, t1) { + connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(t0, t1, t2, t3) { var _ = this; - _._digest = t0; - _.__HMac__digestSize = $; - _.__HMac__blockLength = t1; - _.__HMac__outputBuf = _.__HMac__inputPad = $; + _.jsMapFromProps = t0; + _.mapToFactory = t1; + _.jsPropsToTProps = t2; + _.TReduxState = t3; }, - hashObjects0: function(objects) { - return A._finish0(C.JSArray_methods.fold$1$2(objects, 0, new A.hashObjects_closure0(), type$.legacy_int)); + connect_wrapWithConnect_handleMapDispatchToProps: function connect_wrapWithConnect_handleMapDispatchToProps(t0, t1) { + this.jsMapFromProps = t0; + this.mapDispatchToProps = t1; }, - _combine0: function(hash, value) { - if (typeof hash !== "number") - return hash.$add(); - if (typeof value !== "number") - return H.iae(value); - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; + connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapDispatchToPropsWithOwnProps = t1; + this.jsPropsToTProps = t2; }, - _finish0: function(hash) { - if (typeof hash !== "number") - return H.iae(hash); - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; + connect_wrapWithConnect_handleMakeMapDispatchToProps: function connect_wrapWithConnect_handleMakeMapDispatchToProps(t0, t1, t2, t3) { + var _ = this; + _.makeMapDispatchToProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; }, - hashObjects_closure0: function hashObjects_closure0() { + connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(t0, t1) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; }, - Component2BridgeImpl_bridgeFactory: function(_) { - type$.legacy_Component2._as(_); - return C.C_Component2BridgeImpl; + connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t0, t1, t2, t3) { + var _ = this; + _.makeMapDispatchToPropsWithOwnProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; }, - Component2Bridge: function Component2Bridge() { + connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; + this.jsPropsToTProps = t2; }, - Component2BridgeImpl: function Component2BridgeImpl() { + connect_wrapWithConnect_handleAreOwnPropsEqual: function connect_wrapWithConnect_handleAreOwnPropsEqual(t0, t1) { + this.areOwnPropsEqual = t0; + this.jsPropsToTProps = t1; }, - listifyChildren: function(children) { - if (H.boolConversionCheck(self.React.isValidElement(children))) - return children; - else if (type$.legacy_Iterable_dynamic._is(children) && !type$.legacy_List_dynamic._is(children)) - return J.toList$1$growable$ax(children, false); - else - return children; + connect_wrapWithConnect_handleAreStatePropsEqual: function connect_wrapWithConnect_handleAreStatePropsEqual(t0, t1) { + this.areStatePropsEqual = t0; + this.jsPropsToTProps = t1; }, - ReactJsContextComponentFactoryProxy$: function(jsClass, isConsumer, isProvider, shouldConvertDomProps) { - if (jsClass == null) - H.throwExpression(P.ArgumentError$(string$.x60jsCla)); - return new A.ReactJsContextComponentFactoryProxy(jsClass, isConsumer, isProvider, jsClass); + connect_wrapWithConnect_handleAreMergedPropsEqual: function connect_wrapWithConnect_handleAreMergedPropsEqual(t0, t1) { + this.areMergedPropsEqual = t0; + this.jsPropsToTProps = t1; }, - ReactJsComponentFactoryProxy$: function(jsClass, shouldConvertDomProps) { - if (jsClass == null) - H.throwExpression(P.ArgumentError$(string$.x60jsCla)); - return new A.ReactJsComponentFactoryProxy(jsClass); + connect_wrapWithConnect_interopMapStateToPropsHandler: function connect_wrapWithConnect_interopMapStateToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.mapStateToProps = t0; + _.allowInteropWithArgCount = t1; + _.handleMapStateToProps = t2; + _.mapStateToPropsWithOwnProps = t3; + _.handleMapStateToPropsWithOwnProps = t4; + _.makeMapStateToProps = t5; + _.handleMakeMapStateToProps = t6; + _.makeMapStateToPropsWithOwnProps = t7; + _.handleMakeMapStateToPropsWithOwnProps = t8; }, - JsBackedMapComponentFactoryMixin: function JsBackedMapComponentFactoryMixin() { + connect_wrapWithConnect_interopMapDispatchToPropsHandler: function connect_wrapWithConnect_interopMapDispatchToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.mapDispatchToProps = t0; + _.allowInteropWithArgCount = t1; + _.handleMapDispatchToProps = t2; + _.mapDispatchToPropsWithOwnProps = t3; + _.handleMapDispatchToPropsWithOwnProps = t4; + _.makeMapDispatchToProps = t5; + _.handleMakeMapDispatchToProps = t6; + _.makeMapDispatchToPropsWithOwnProps = t7; + _.handleMakeMapDispatchToPropsWithOwnProps = t8; }, - ReactDartComponentFactoryProxy2: function ReactDartComponentFactoryProxy2(t0, t1) { - this.reactClass = t0; - this.$ti = t1; + connect_wrapWithConnect_connectedFactory: function connect_wrapWithConnect_connectedFactory(t0, t1, t2) { + this.factory = t0; + this.hocFactoryProxy = t1; + this.TProps = t2; }, - ReactJsContextComponentFactoryProxy: function ReactJsContextComponentFactoryProxy(t0, t1, t2, t3) { + JsReactRedux: function JsReactRedux() { + }, + ReduxProviderPropsMixin: function ReduxProviderPropsMixin() { + }, + ReactJsReactReduxComponentFactoryProxy: function ReactJsReactReduxComponentFactoryProxy(t0, t1, t2, t3) { var _ = this; _.ReactJsContextComponentFactoryProxy_type = t0; _.isConsumer = t1; _.isProvider = t2; _.type = t3; }, - ReactJsContextComponentFactoryProxy_build_closure: function ReactJsContextComponentFactoryProxy_build_closure(t0) { - this.contextCallback = t0; + _reduxifyStore_closure: function _reduxifyStore_closure(t0) { + this.store = t0; }, - ReactJsComponentFactoryProxy: function ReactJsComponentFactoryProxy(t0) { - this.type = t0; + _reduxifyStore_closure0: function _reduxifyStore_closure0(t0) { + this.store = t0; }, - ReactDomComponentFactoryProxy: function ReactDomComponentFactoryProxy(t0) { - this.name = t0; + _reduxifyStore__closure: function _reduxifyStore__closure(t0) { + this.cb = t0; }, - _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin: function _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin() { + _reduxifyStore_closure1: function _reduxifyStore_closure1(t0) { + this.store = t0; }, - strand_bounds_status: function strand_bounds_status(t0) { - this._constants$_name = t0; + JsReactReduxStore: function JsReactReduxStore() { }, - export_cadnano_or_codenano_file_middleware: function(store, action, next) { - var state; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - state = store.get$state(store); - if (action instanceof U.ExportCadnanoFile) - A._save_file_cadnano(state, action.whitespace); - else if (action instanceof U.ExportCodenanoFile) - A._save_file_codenano(state); + JsConnectOptions: function JsConnectOptions() { }, - _save_file_cadnano: function(state, whitespace) { - return A._save_file_cadnano$body(state, whitespace); + _JsPropertyDescriptor: function _JsPropertyDescriptor() { }, - _save_file_cadnano$body: function(state, whitespace) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$next = [], default_filename, $content, whitespace_regex, e, t1, t2, t3, exception; - var $async$_save_file_cadnano = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - try { - default_filename = state.ui_state.storables.loaded_filename; - t1 = default_filename; - default_filename = $.$get$context().withoutExtension$1(t1) + ".json"; - t1 = state.design; - t2 = default_filename; - t3 = type$.dynamic; - $content = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t3, t3), new P.JsonEncoder(null, null)), true).convert$1(A.to_cadnano_v2_serializable(t1, t2)); - if (!whitespace) { - whitespace_regex = P.RegExp_RegExp("\\s+", true); - t1 = $content; - t2 = type$.Pattern._as(whitespace_regex); - $content = H.stringReplaceAllUnchecked(t1, t2, ""); - } - E.save_file(default_filename, $content, null, C.BlobType_0); - } catch (exception) { - t1 = H.unwrapException(exception); - if (t1 instanceof N.IllegalCadnanoDesignError) { - e = t1; - C.Window_methods.alert$1(window, "Error exporting file: " + e.cause); - } else - throw exception; - } - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$_save_file_cadnano, $async$completer); + ConnectPropsMixin: function ConnectPropsMixin() { }, - _save_file_codenano: function(state) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$returnValue, t1, grids, design_json, t2, t3, helix_json, t4, t5, _i, angle_key, degrees, pos, strand_json, hex, domain_json, $forward, json_str, design; - var $async$_save_file_codenano = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - $async$outer: - switch ($async$goto) { - case 0: - // Function start - design = state.design; - if (design == null) { - // goto return - $async$goto = 1; - break; - } - t1 = design.groups; - grids = J.map$1$1$ax(t1.get$values(t1), new A._save_file_codenano_closure(), type$.legacy_Grid).toSet$0(0); - if (!(grids._collection$_length === 1 && J.$eq$(grids.get$first(grids), C.Grid_none))) { - C.Window_methods.alert$1(window, "Grid must be set to none for all helix groups to export to codenano. First convert all grids to none."); - // goto return - $async$goto = 1; - break; - } - design_json = design.to_json_serializable$1$suppress_indent(true); - design_json.$indexSet(0, "parameters", P.LinkedHashMap_LinkedHashMap$_literal(["z_step", 0.332, "helix_radius", 1, "bases_per_turn", 10.5, "groove_angle", -2.2175948142986774, "inter_helix_gap", 0.65], type$.legacy_String, type$.legacy_double)); - design_json.$indexSet(0, "version", "0.4.12"); - t1 = type$.legacy_List_dynamic; - for (t2 = J.get$iterator$ax(t1._as(design_json.$index(0, "helices"))), t3 = type$.legacy_Map_dynamic_dynamic; t2.moveNext$0();) { - helix_json = t3._as(t2.get$current(t2)); - for (t4 = ["pitch", "roll", "yaw"], t5 = J.getInterceptor$asx(helix_json), _i = 0; _i < 3; ++_i) { - angle_key = t4[_i]; - degrees = H._asNumS(t5.$index(helix_json, angle_key)); - t5.$indexSet(helix_json, angle_key, degrees == null ? 0 : degrees * 2 * 3.141592653589793 / 360); - } - pos = t5.$index(helix_json, "position"); - t5.remove$1(helix_json, "position"); - t5.$indexSet(helix_json, "origin", pos); - } - for (t1 = J.get$iterator$ax(t1._as(design_json.$index(0, "strands"))), t2 = type$.legacy_Iterable_dynamic, t4 = type$.legacy_NoIndent; t1.moveNext$0();) { - strand_json = t3._as(t1.get$current(t1)); - t5 = J.getInterceptor$x(strand_json); - if (t5.containsKey$1(strand_json, "color")) { - hex = H._asStringS(t5.$index(strand_json, "color")); - if (0 >= hex.length) { - $async$returnValue = H.ioore(hex, 0); - // goto return - $async$goto = 1; - break $async$outer; - } - t5.$indexSet(strand_json, "color", P.int_parse(hex[0] === "#" ? J.substring$1$s(hex, 1) : hex, 16)); - } - for (t5 = J.get$iterator$ax(t2._as(t5.$index(strand_json, "domains"))); t5.moveNext$0();) { - domain_json = t3._as(t4._as(t5.get$current(t5)).value); - if (!domain_json.containsKey$1(0, "forward")) { - C.Window_methods.alert$1(window, "To export, strands cannot have any loopouts. Please remove all loopouts before exporting."); - // goto return - $async$goto = 1; - break $async$outer; - } - $forward = H._asBoolS(domain_json.$index(0, "forward")); - domain_json.remove$1(0, "forward"); - domain_json.$indexSet(0, "right", $forward); - } - } - t1 = type$.dynamic; - json_str = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), true).convert$1(design_json); - t1 = state.ui_state.storables.loaded_filename; - E.save_file($.$get$context().withoutExtension$1(t1) + "-codenano.json", json_str, null, C.BlobType_0); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$_save_file_codenano, $async$completer); + $ReduxProviderPropsMixin: function $ReduxProviderPropsMixin() { }, - to_cadnano_v2_serializable: function(design, $name) { - var design_grid, grid_used, t2, t3, grid_type, t4, num_bases, t5, t6, t7, t8, right_direction, helices_ids_reverse, _null = null, - t1 = type$.dynamic, - dct = P.LinkedHashMap_LinkedHashMap(_null, _null, type$.legacy_String, t1); - if ($name !== "") - dct.$indexSet(0, "name", $name); - dct.$indexSet(0, "vstrands", []); - if (design.has_default_groups$0()) { - design_grid = design.__grid; - if (design_grid == null) { - design_grid = N.Design.prototype.get$grid.call(design, design); - design.__grid = design_grid; - } - } else { - grid_used = P.HashMap_HashMap(_null, _null, _null, type$.legacy_Grid, t1); - for (t1 = design.groups, t2 = J.get$iterator$ax(t1.get$keys(t1)), t1 = t1._map$_map, t3 = J.getInterceptor$asx(t1), grid_type = C.Grid_none; t2.moveNext$0();) { - t4 = t2.get$current(t2); - grid_used.$indexSet(0, t3.$index(t1, t4).grid, true); - grid_type = t3.$index(t1, t4).grid; - } - if (grid_used._collection$_length > 1) - throw H.wrapException(N.IllegalCadnanoDesignError$("Designs using helix groups can be exported to cadnano v2 only if all groups share the same grid type.")); - design_grid = grid_type; - } - for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), num_bases = 0; t1.moveNext$0();) { - t2 = t1.get$current(t1); - num_bases = Math.max(num_bases, t2.max_offset); - } - if (design_grid === C.Grid_square) - num_bases = A._get_multiple_of_x_sup_closest_to_y(32, num_bases); - else if (design_grid === C.Grid_honeycomb) - num_bases = A._get_multiple_of_x_sup_closest_to_y(21, num_bases); - else - throw H.wrapException(N.IllegalCadnanoDesignError$("We can export to cadnano v2 `square` and `honeycomb` grids only.")); - for (t1 = design.strands._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = type$.legacy_Domain; t3.moveNext$0();) { - t5 = t3.get$current(t3); - for (t6 = J.get$iterator$ax(t5.substrands._list), t5 = t5.is_scaffold; t6.moveNext$0();) { - t7 = t6.get$current(t6); - if (t7 instanceof G.Loopout) - throw H.wrapException(N.IllegalCadnanoDesignError$("We cannot handle designs with Loopouts as it is not a cadnano v2 concept")); - t4._as(t7); - if (t5) { - t8 = C.JSInt_methods.$mod(t7.helix, 2); - right_direction = t7.forward; - right_direction = t8 === 0 ? right_direction : !right_direction; - } else { - t8 = C.JSInt_methods.$mod(t7.helix, 2); - right_direction = t7.forward; - if (t8 === 0) - right_direction = !right_direction; - } - if (!right_direction) - throw H.wrapException(N.IllegalCadnanoDesignError$("We can only convert designs where even helices have the scaffold going forward and odd helices have the scaffold going backward see the spec v2.txt Note 4. " + H.S(t7))); - } - } - helices_ids_reverse = A._cadnano_v2_fill_blank(design, dct, num_bases, design_grid); - for (t1 = t2.get$iterator(t1); t1.moveNext$0();) - A._cadnano_v2_place_strand(t1.get$current(t1), dct, helices_ids_reverse); - return dct; + _$ReduxProviderConfig_closure: function _$ReduxProviderConfig_closure() { }, - _get_multiple_of_x_sup_closest_to_y: function(x, y) { - var t1 = C.JSInt_methods.$mod(y, x); - return t1 === 0 ? y : y + (x - t1); + _$ReduxProviderConfig_closure0: function _$ReduxProviderConfig_closure0() { }, - _cadnano_v2_fill_blank: function(design, dct, num_bases, design_grid) { - var t2, t3, t4, t5, t6, i, t7, helix_dct, _i, _null = null, - t1 = type$.legacy_int, - helices_ids_reverse = P.HashMap_HashMap(_null, _null, _null, t1, t1); - for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = type$.JSArray_legacy_int, t3 = design_grid !== C.Grid_square, t4 = type$.legacy_String, t5 = type$.dynamic, t6 = design_grid === C.Grid_honeycomb, i = 0; t1.moveNext$0();) { - t7 = t1.get$current(t1); - helix_dct = P.LinkedHashMap_LinkedHashMap(_null, _null, t4, t5); - helix_dct.$indexSet(0, "num", t7.idx); - if (!t3 || t6) { - t7 = t7.grid_position; - helix_dct.$indexSet(0, "row", t7.v); - helix_dct.$indexSet(0, "col", t7.h); - } - helix_dct.$indexSet(0, "scaf", []); - helix_dct.$indexSet(0, "loop", []); - helix_dct.$indexSet(0, "skip", []); - helix_dct.$indexSet(0, "stap", []); - for (_i = 0; _i < num_bases; ++_i) { - J.add$1$ax(helix_dct.$index(0, "scaf"), H.setRuntimeTypeInfo([-1, -1, -1, -1], t2)); - J.add$1$ax(helix_dct.$index(0, "stap"), H.setRuntimeTypeInfo([-1, -1, -1, -1], t2)); - J.add$1$ax(helix_dct.$index(0, "loop"), 0); - J.add$1$ax(helix_dct.$index(0, "skip"), 0); - } - helix_dct.$indexSet(0, "stap_colors", []); - helix_dct.$indexSet(0, "scafLoop", []); - helix_dct.$indexSet(0, "stapLoop", []); - helices_ids_reverse.$indexSet(0, H._asIntS(helix_dct.$index(0, "num")), i); - J.add$1$ax(dct.$index(0, "vstrands"), helix_dct); - ++i; - } - return helices_ids_reverse; + _$$ReduxProviderProps: function _$$ReduxProviderProps() { }, - _cadnano_v2_place_strand: function(strand, dct, helices_ids_reverse) { - var t5, domain, which_helix_id, which_helix, base_id, next_domain, next_helix_id, next_helix, helix_from, start_from, end_from, forward_from, t6, helix_to, start_to, end_to, forward_to, t7, t8, first_domain, first_helix, first_start, first_end, first_forward, last_domain, last_helix, last_start, the_base_from, the_base_to, temp1, temp3, temp2, temp4, - _s8_ = "vstrands", - _s3_ = "num", - strand_type = strand.is_scaffold ? "scaf" : "stap", - t1 = strand_type === "stap", - t2 = type$.legacy_Map_of_legacy_String_and_dynamic, - t3 = type$.JSArray_legacy_int, - color = strand.color, - t4 = type$.legacy_List_legacy_int, - i = 0; - while (true) { - t5 = strand.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t5); - } - t5 = J.get$length$asx(t5._list); - if (typeof t5 !== "number") - return H.iae(t5); - if (!(i < t5)) - break; - t5 = strand.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t5); - } - domain = J.$index$asx(t5._list, i); - which_helix_id = helices_ids_reverse.$index(0, domain.helix); - which_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), which_helix_id)); - if (t1) { - t5 = J.$index$asx(which_helix, "stap_colors"); - base_id = domain.forward ? domain.start : domain.end - 1; - J.add$1$ax(t5, H.setRuntimeTypeInfo([base_id, A.to_cadnano_v2_int_hex(color)], t3)); - } - A._cadnano_v2_place_strand_segment(which_helix, domain, strand_type); - t5 = strand.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t5); - } - t5 = J.get$length$asx(t5._list); - if (typeof t5 !== "number") - return t5.$sub(); - if (i !== t5 - 1) { - t5 = strand.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t5); - } - next_domain = J.$index$asx(t5._list, i + 1); - next_helix_id = helices_ids_reverse.$index(0, next_domain.helix); - next_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), next_helix_id)); - t5 = J.getInterceptor$asx(which_helix); - helix_from = H._asIntS(t5.$index(which_helix, _s3_)); - start_from = domain.start; - end_from = domain.end; - forward_from = domain.forward; - t6 = J.getInterceptor$asx(next_helix); - helix_to = H._asIntS(t6.$index(next_helix, _s3_)); - start_to = next_domain.start; - end_to = next_domain.end; - forward_to = next_domain.forward; - if (forward_from && !forward_to) { - t7 = end_from - 1; - t8 = end_to - 1; - J.setRange$3$ax(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), t7)), 2, J.get$length$asx(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), t7))), H.setRuntimeTypeInfo([helix_to, t8], t3)); - J.setRange$3$ax(t4._as(J.$index$asx(t6.$index(next_helix, strand_type), t8)), 0, 2, H.setRuntimeTypeInfo([helix_from, t7], t3)); - } else { - t7 = !forward_from; - if (t7 && forward_to) { - J.setRange$3$ax(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), start_from)), 2, J.get$length$asx(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), start_from))), H.setRuntimeTypeInfo([helix_to, start_to], t3)); - J.setRange$3$ax(t4._as(J.$index$asx(t6.$index(next_helix, strand_type), start_to)), 0, 2, H.setRuntimeTypeInfo([helix_from, start_from], t3)); - } else if (forward_from && forward_to) { - t7 = end_from - 1; - J.setRange$3$ax(J.$index$asx(t5.$index(which_helix, strand_type), t7), 2, J.get$length$asx(J.$index$asx(t5.$index(which_helix, strand_type), t7)), H.setRuntimeTypeInfo([helix_to, start_to], t3)); - J.setRange$3$ax(J.$index$asx(t6.$index(next_helix, strand_type), end_to - 1), 0, 2, H.setRuntimeTypeInfo([helix_from, start_from], t3)); - } else if (t7 && !forward_to) { - J.setRange$3$ax(J.$index$asx(t5.$index(which_helix, strand_type), start_from), 2, J.get$length$asx(J.$index$asx(t5.$index(which_helix, strand_type), start_from)), H.setRuntimeTypeInfo([helix_to, end_to - 1], t3)); - J.setRange$3$ax(J.$index$asx(t6.$index(next_helix, strand_type), start_to), 0, 2, H.setRuntimeTypeInfo([helix_from, end_from - 1], t3)); - } - } - } - ++i; - } - if (strand.circular) { - first_domain = strand.get$first_domain(); - first_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), first_domain.helix)); - first_start = first_domain.start; - first_end = first_domain.end; - first_forward = first_domain.forward; - last_domain = strand.get$last_domain(); - last_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), last_domain.helix)); - last_start = last_domain.start; - the_base_from = last_domain.end - 1; - if (!last_domain.forward) - the_base_from = last_start; - the_base_to = !first_forward ? first_end - 1 : first_start; - t1 = J.getInterceptor$asx(last_helix); - temp1 = H.setRuntimeTypeInfo([H._asIntS(t1.$index(last_helix, _s3_)), the_base_from], t3); - t2 = J.getInterceptor$asx(first_helix); - t4 = type$.legacy_List_dynamic; - temp3 = t4._as(J.$index$asx(t2.$index(first_helix, strand_type), the_base_to)); - t5 = J.getInterceptor$asx(temp3); - if (J.$eq$(t5.$index(temp3, 0), -1) && J.$eq$(t5.$index(temp3, 1), -1)) - t5.setRange$3(temp3, 0, 2, temp1); - else - t5.setRange$3(temp3, 2, 4, temp1); - temp2 = H.setRuntimeTypeInfo([H._asIntS(t2.$index(first_helix, _s3_)), the_base_to], t3); - temp4 = t4._as(J.$index$asx(t1.$index(last_helix, strand_type), the_base_from)); - t1 = J.getInterceptor$asx(temp4); - if (J.$eq$(t1.$index(temp4, 0), -1) && J.$eq$(t1.$index(temp4, 1), -1)) - t1.setRange$3(temp4, 0, 2, temp2); - else - t1.setRange$3(temp4, 2, 4, temp2); - } + _$$ReduxProviderProps$PlainMap: function _$$ReduxProviderProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._over_react_redux$_props = t0; + _.ReduxProviderPropsMixin___ReduxProviderPropsMixin_store_A = t1; + _.ReduxProviderPropsMixin_context = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - to_cadnano_v2_int_hex: function(color) { - return 65536 * J.toInt$0$n(color.r) + 256 * J.toInt$0$n(color.g) + J.toInt$0$n(color.b); + _$$ReduxProviderProps$JsMap: function _$$ReduxProviderProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._over_react_redux$_props = t0; + _.ReduxProviderPropsMixin___ReduxProviderPropsMixin_store_A = t1; + _.ReduxProviderPropsMixin_context = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _cadnano_v2_place_strand_segment: function(helix_dct, domain, strand_type) { - var t1, t2, t3, start, end, $forward, strand_helix, t4, i_base, from_base, to_base, to_base0; - for (t1 = J.get$iterator$ax(domain.deletions._list), t2 = J.getInterceptor$asx(helix_dct); t1.moveNext$0();) { - t3 = t1.get$current(t1); - J.$indexSet$ax(t2.$index(helix_dct, "skip"), t3, -1); - } - for (t1 = J.get$iterator$ax(domain.insertions._list); t1.moveNext$0();) { - t3 = t1.get$current(t1); - J.$indexSet$ax(t2.$index(helix_dct, "loop"), t3.offset, t3.length); - } - start = domain.start; - end = domain.end; - $forward = domain.forward; - strand_helix = H._asIntS(t2.$index(helix_dct, "num")); - for (t1 = type$.legacy_List_legacy_int, t3 = type$.JSArray_legacy_int, t4 = end - 1, i_base = start; i_base < end; i_base = to_base) { - from_base = i_base - 1; - to_base = i_base + 1; - if ($forward) - to_base0 = to_base; - else { - to_base0 = from_base; - from_base = to_base; - } - if (i_base === start) - if ($forward) - J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), H.setRuntimeTypeInfo([strand_helix, to_base0], t3)); - else - J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 0, 2, H.setRuntimeTypeInfo([strand_helix, from_base], t3)); - else if (i_base < t4) - J.$indexSet$ax(t2.$index(helix_dct, strand_type), i_base, H.setRuntimeTypeInfo([strand_helix, from_base, strand_helix, to_base0], t3)); - else if ($forward) - J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 0, 2, H.setRuntimeTypeInfo([strand_helix, from_base], t3)); - else - J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), H.setRuntimeTypeInfo([strand_helix, to_base0], t3)); - } + __$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin: function __$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin() { }, - _save_file_codenano_closure: function _save_file_codenano_closure() { + __$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin: function __$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin() { }, - dna_extensions_move_set_selected_extension_ends_reducer: function(_, action) { - var t1, t2; - type$.legacy_DNAExtensionsMove._as(_); - type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(action); - t1 = action.moves; - t2 = action.original_point; - return K._$DNAExtensionsMove$_(t2, t1, t2); + CssClassPropsMixin: function CssClassPropsMixin() { }, - dna_extensions_move_adjust_reducer: function(move, action) { - var t1, t2; - type$.legacy_DNAExtensionsMove._as(move); - type$.legacy_DNAExtensionsMoveAdjustPosition._as(action); - move.toString; - t1 = type$.legacy_void_Function_legacy_DNAExtensionsMoveBuilder._as(new A.dna_extensions_move_adjust_reducer_closure(action)); - t2 = new K.DNAExtensionsMoveBuilder(); - t2._dna_extensions_move$_$v = move; - t1.call$1(t2); - return t2.build$0(); + Context_Context$fromReactDartContext(reactDartContext, TValue) { + return new A.Context2(reactDartContext, TValue._eval$1("Context2<0>")); }, - dna_extensions_move_stop_reducer: function(move, action) { - type$.legacy_DNAExtensionsMove._as(move); - type$.legacy_DNAExtensionsMoveStop._as(action); - return null; + createContext(TValue) { + return A.createContextInit(null, null, TValue._eval$1("0?")); }, - dna_extensions_move_adjust_reducer_closure: function dna_extensions_move_adjust_reducer_closure(t0) { - this.action = t0; + createContextInit(defaultValue, calculateChangedBits, TValue) { + return A.Context_Context$fromReactDartContext(A.createContext0(defaultValue, null, TValue), TValue); }, - _$End5Prime: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? A._$$End5PrimeProps$JsMap$(new L.JsBackedMap({})) : A._$$End5PrimeProps__$$End5PrimeProps(backingProps); + Context2: function Context2(t0, t1) { + this.reactDartContext = t0; + this.$ti = t1; }, - _$$End5PrimeProps__$$End5PrimeProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return A._$$End5PrimeProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new A._$$End5PrimeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._lib_5p_end$_props = backingMap; + DartValueWrapper_wrapIfNeeded0(value) { + var t2, t3, + t1 = type$.Function; + if (t1._is(value) && A.allowInterop(value, t1) !== value) { + t1 = $.$get$DartValueWrapper__functionWrapperCache(); + t1.toString; + A.Expando__checkType(value); + t2 = t1._jsWeakMap; + t3 = t2.get(value); + if (t3 == null) { + t3 = new A.DartValueWrapper0(value); + t2.set(value, t1.$ti._eval$1("1?")._as(t3)); + t1 = t3; + } else + t1 = t3; return t1; } + return value; }, - _$$End5PrimeProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new A._$$End5PrimeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._lib_5p_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + DartValueWrapper_unwrapIfNeeded0(value, $T) { + if (value instanceof A.DartValueWrapper0) + return $T._as(value.value); + return $T._as(value); }, - End5PrimeProps: function End5PrimeProps() { + DartValueWrapper0: function DartValueWrapper0(t0) { + this.value = t0; }, - End5PrimeComponent: function End5PrimeComponent() { + uiJsComponent(factoryProxy, _config, TProps) { + var propsFactory; + A.ArgumentError_checkNotNull(_config, "_config", type$.Object); + if (!TProps._eval$1("UiFactoryConfig<0>")._is(_config)) + throw A.wrapException(A.ArgumentError$("_config should be a UiFactory. Make sure you are using either the generated factory config (i.e. _$FooConfig) or manually declaring your config correctly.", null)); + propsFactory = _config.propsFactory; + A.ArgumentError_checkNotNull(propsFactory, "_config.propsFactory", TProps._eval$1("PropsFactory<0>")); + return new A.uiJsComponent__uiFactory(propsFactory, factoryProxy, TProps); + }, + uiJsComponent__uiFactory: function uiJsComponent__uiFactory(t0, t1, t2) { + this.propsFactory = t0; + this.factoryProxy = t1; + this.TProps = t2; }, - $End5PrimeComponentFactory_closure: function $End5PrimeComponentFactory_closure() { + _indentString(str) { + return new A.MappedListIterable(A._setArrayType(str.split("\n"), type$.JSArray_String), type$.String_Function_String._as(new A._indentString_closure()), type$.MappedListIterable_String_String).join$1(0, "\n"); }, - _$$End5PrimeProps: function _$$End5PrimeProps() { + _prettyObj(obj) { + var items, t1, namespacedKeys, otherKeys, pairs, trailingComma; + if (type$.List_dynamic._is(obj)) { + items = J.map$1$1$ax(obj, A.pretty_print___prettyObj$closure(), type$.String).toList$0(0); + if (items.length > 4 || B.JSArray_methods.any$1(items, new A._prettyObj_closure())) + return "[\n" + A._indentString(B.JSArray_methods.join$1(items, ",\n")) + "\n]"; + else + return "[" + B.JSArray_methods.join$1(items, ", ") + "]"; + } else if (type$.Map_dynamic_dynamic._is(obj)) { + t1 = type$.String; + namespacedKeys = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_String); + otherKeys = []; + J.forEach$1$ax(J.get$keys$x(obj), new A._prettyObj_closure0(namespacedKeys, otherKeys)); + pairs = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.addAll$1(pairs, namespacedKeys.get$entries(namespacedKeys).map$1$1(0, new A._prettyObj_closure1(obj), t1)); + t1 = A._arrayInstanceType(otherKeys); + B.JSArray_methods.addAll$1(pairs, new A.MappedListIterable(otherKeys, t1._eval$1("String(1)")._as(new A._prettyObj_closure2(obj)), t1._eval$1("MappedListIterable<1,String>"))); + trailingComma = A.RegExp_RegExp("\\s*,\\s*$", true); + if (pairs.length > 1 || B.JSArray_methods.any$1(pairs, new A._prettyObj_closure3())) + return "{\n" + B.JSString_methods.replaceFirst$2(A._indentString(B.JSArray_methods.join$1(pairs, "\n")), trailingComma, "") + "\n}"; + else + return "{" + B.JSString_methods.replaceFirst$2(B.JSArray_methods.join$1(pairs, " "), trailingComma, "") + "}"; + } else + return J.toString$0$(obj); }, - _$$End5PrimeProps$PlainMap: function _$$End5PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._lib_5p_end$_props = t0; - _.End5PrimeProps_on_pointer_down = t1; - _.End5PrimeProps_on_pointer_up = t2; - _.End5PrimeProps_on_mouse_up = t3; - _.End5PrimeProps_on_mouse_move = t4; - _.End5PrimeProps_on_mouse_enter = t5; - _.End5PrimeProps_on_mouse_leave = t6; - _.End5PrimeProps_classname = t7; - _.End5PrimeProps_pos = t8; - _.End5PrimeProps_color = t9; - _.End5PrimeProps_forward = t10; - _.End5PrimeProps_id = t11; - _.End5PrimeProps_transform = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _indentString_closure: function _indentString_closure() { }, - _$$End5PrimeProps$JsMap: function _$$End5PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._lib_5p_end$_props = t0; - _.End5PrimeProps_on_pointer_down = t1; - _.End5PrimeProps_on_pointer_up = t2; - _.End5PrimeProps_on_mouse_up = t3; - _.End5PrimeProps_on_mouse_move = t4; - _.End5PrimeProps_on_mouse_enter = t5; - _.End5PrimeProps_on_mouse_leave = t6; - _.End5PrimeProps_classname = t7; - _.End5PrimeProps_pos = t8; - _.End5PrimeProps_color = t9; - _.End5PrimeProps_forward = t10; - _.End5PrimeProps_id = t11; - _.End5PrimeProps_transform = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _prettyObj_closure: function _prettyObj_closure() { }, - _$End5PrimeComponent: function _$End5PrimeComponent(t0) { - var _ = this; - _._lib_5p_end$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _prettyObj_closure0: function _prettyObj_closure0(t0, t1) { + this.namespacedKeys = t0; + this.otherKeys = t1; }, - $End5PrimeProps: function $End5PrimeProps() { + _prettyObj__closure0: function _prettyObj__closure0() { }, - __$$End5PrimeProps_UiProps_End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps() { + _prettyObj_closure1: function _prettyObj_closure1(t0) { + this.obj = t0; }, - __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps() { + _prettyObj_closure_renderSubKey: function _prettyObj_closure_renderSubKey(t0, t1) { + this.namespace = t0; + this.obj = t1; }, - _$DesignMainStrandDeletion: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? A._$$DesignMainStrandDeletionProps$JsMap$(new L.JsBackedMap({})) : A._$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps(backingProps); + _prettyObj__closure: function _prettyObj__closure() { }, - _$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return A._$$DesignMainStrandDeletionProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new A._$$DesignMainStrandDeletionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_deletion$_props = backingMap; - return t1; - } + _prettyObj_closure2: function _prettyObj_closure2(t0) { + this.obj = t0; }, - _$$DesignMainStrandDeletionProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new A._$$DesignMainStrandDeletionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_deletion$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _prettyObj_closure3: function _prettyObj_closure3() { }, - DesignMainStrandDeletionPropsMixin: function DesignMainStrandDeletionPropsMixin() { + WeakMap: function WeakMap() { }, - DesignMainStrandDeletionComponent: function DesignMainStrandDeletionComponent() { + _parseUri(uri) { + if (type$.Uri._is(uri)) + return uri; + throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri")); }, - DesignMainStrandDeletionComponent_render_closure: function DesignMainStrandDeletionComponent_render_closure(t0) { - this.$this = t0; + _validateArgList(method, args) { + var numArgs, i, numArgs0, message, t1, t2, t3, t4; + for (numArgs = args.length, i = 1; i < numArgs; ++i) { + if (args[i] == null || args[i - 1] != null) + continue; + for (; numArgs >= 1; numArgs = numArgs0) { + numArgs0 = numArgs - 1; + if (args[numArgs0] != null) + break; + } + message = new A.StringBuffer(""); + t1 = method + "("; + message._contents = t1; + t2 = A._arrayInstanceType(args); + t3 = t2._eval$1("SubListIterable<1>"); + t4 = new A.SubListIterable(args, 0, numArgs, t3); + t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); + t3 = t1 + new A.MappedListIterable(t4, t3._eval$1("String(ListIterable.E)")._as(new A._validateArgList_closure()), t3._eval$1("MappedListIterable")).join$1(0, ", "); + message._contents = t3; + message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); + throw A.wrapException(A.ArgumentError$(message.toString$0(0), null)); + } }, - DesignMainStrandDeletionComponent_render_closure0: function DesignMainStrandDeletionComponent_render_closure0(t0) { - this.$this = t0; + Context0: function Context0(t0) { + this.style = t0; }, - DesignMainStrandDeletionComponent_render_closure1: function DesignMainStrandDeletionComponent_render_closure1(t0) { - this.$this = t0; + Context_joinAll_closure: function Context_joinAll_closure() { }, - DesignMainStrandDeletionComponent_render_closure2: function DesignMainStrandDeletionComponent_render_closure2(t0) { - this.$this = t0; + Context_split_closure: function Context_split_closure() { }, - $DesignMainStrandDeletionComponentFactory_closure: function $DesignMainStrandDeletionComponentFactory_closure() { + _validateArgList_closure: function _validateArgList_closure() { }, - _$$DesignMainStrandDeletionProps: function _$$DesignMainStrandDeletionProps() { + InternalStyle: function InternalStyle() { }, - _$$DesignMainStrandDeletionProps$PlainMap: function _$$DesignMainStrandDeletionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _._design_main_strand_deletion$_props = t0; - _.DesignMainStrandDeletionPropsMixin_selectable_deletion = t1; - _.DesignMainStrandDeletionPropsMixin_helix = t2; - _.DesignMainStrandDeletionPropsMixin_transform = t3; - _.DesignMainStrandDeletionPropsMixin_selected = t4; - _.DesignMainStrandDeletionPropsMixin_svg_position_y = t5; - _.DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + ParsedPath_ParsedPath$parse(path, style) { + var t1, parts, separators, start, i, + root = style.getRoot$1(path), + isRootRelative = style.isRootRelative$1(path); + if (root != null) + path = J.substring$1$s(path, root.length); + t1 = type$.JSArray_String; + parts = A._setArrayType([], t1); + separators = A._setArrayType([], t1); + t1 = path.length; + if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) { + if (0 >= t1) + return A.ioore(path, 0); + B.JSArray_methods.add$1(separators, path[0]); + start = 1; + } else { + B.JSArray_methods.add$1(separators, ""); + start = 0; + } + for (i = start; i < t1; ++i) + if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(path, start, i)); + B.JSArray_methods.add$1(separators, path[i]); + start = i + 1; + } + if (start < t1) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$1(path, start)); + B.JSArray_methods.add$1(separators, ""); + } + return new A.ParsedPath(style, root, isRootRelative, parts, separators); }, - _$$DesignMainStrandDeletionProps$JsMap: function _$$DesignMainStrandDeletionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) { var _ = this; - _._design_main_strand_deletion$_props = t0; - _.DesignMainStrandDeletionPropsMixin_selectable_deletion = t1; - _.DesignMainStrandDeletionPropsMixin_helix = t2; - _.DesignMainStrandDeletionPropsMixin_transform = t3; - _.DesignMainStrandDeletionPropsMixin_selected = t4; - _.DesignMainStrandDeletionPropsMixin_svg_position_y = t5; - _.DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + _.style = t0; + _.root = t1; + _.isRootRelative = t2; + _.parts = t3; + _.separators = t4; }, - _$DesignMainStrandDeletionComponent: function _$DesignMainStrandDeletionComponent(t0) { - var _ = this; - _._design_main_strand_deletion$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() { }, - $DesignMainStrandDeletionPropsMixin: function $DesignMainStrandDeletionPropsMixin() { + ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() { }, - _DesignMainStrandDeletionComponent_UiComponent2_PureComponent: function _DesignMainStrandDeletionComponent_UiComponent2_PureComponent() { + PathException$(message) { + return new A.PathException(message); }, - __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin() { + PathException: function PathException(t0) { + this.message = t0; }, - __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin() { + Style__getPlatformStyle() { + var t1, userInfo, host, query, fragment, port, hasAuthority, path, _null = null; + if (A.Uri_base().get$scheme() !== "file") + return $.$get$Style_url(); + t1 = A.Uri_base(); + if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/")) + return $.$get$Style_url(); + userInfo = A._Uri__makeUserInfo(_null, 0, 0); + host = A._Uri__makeHost(_null, 0, 0, false); + query = A._Uri__makeQuery(_null, 0, 0, _null); + fragment = A._Uri__makeFragment(_null, 0, 0); + port = A._Uri__makePort(_null, ""); + if (host == null) + t1 = userInfo.length !== 0 || port != null || false; + else + t1 = false; + if (t1) + host = ""; + t1 = host == null; + hasAuthority = !t1; + path = A._Uri__makePath("a/b", 0, 3, _null, "", hasAuthority); + if (t1 && !B.JSString_methods.startsWith$1(path, "/")) + path = A._Uri__normalizeRelativePath(path, hasAuthority); + else + path = A._Uri__removeDotSegments(path); + if (A._Uri$_internal("", userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment).toFilePath$0() === "a\\b") + return $.$get$Style_windows(); + return $.$get$Style_posix(); }, - _$DesignMainStrandInsertion: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? A._$$DesignMainStrandInsertionProps$JsMap$(new L.JsBackedMap({})) : A._$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps(backingProps); + Style: function Style() { }, - _$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return A._$$DesignMainStrandInsertionProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new A._$$DesignMainStrandInsertionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_insertion$_props = backingMap; - return t1; - } + PosixStyle: function PosixStyle(t0, t1, t2) { + this.separatorPattern = t0; + this.needsSeparatorPattern = t1; + this.rootPattern = t2; }, - _$$DesignMainStrandInsertionProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new A._$$DesignMainStrandInsertionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_insertion$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + UrlStyle: function UrlStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; }, - DesignMainStrandInsertionPropsMixin: function DesignMainStrandInsertionPropsMixin() { + WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; }, - DesignMainStrandInsertionComponent: function DesignMainStrandInsertionComponent() { + Context1: function Context1(t0, t1) { + this.buffer = t0; + this.position = t1; }, - DesignMainStrandInsertionComponent_render_closure: function DesignMainStrandInsertionComponent_render_closure(t0) { - this.$this = t0; + Failure: function Failure(t0, t1, t2, t3) { + var _ = this; + _.message = t0; + _.buffer = t1; + _.position = t2; + _.$ti = t3; }, - DesignMainStrandInsertionComponent_render_closure0: function DesignMainStrandInsertionComponent_render_closure0(t0) { - this.$this = t0; + Result: function Result() { }, - DesignMainStrandInsertionComponent__insertion_background_closure: function DesignMainStrandInsertionComponent__insertion_background_closure(t0) { - this.$this = t0; + Success: function Success(t0, t1, t2, t3) { + var _ = this; + _.value = t0; + _.buffer = t1; + _.position = t2; + _.$ti = t3; }, - $DesignMainStrandInsertionComponentFactory_closure: function $DesignMainStrandInsertionComponentFactory_closure() { + ParserException: function ParserException(t0) { + this.failure = t0; }, - _$$DesignMainStrandInsertionProps: function _$$DesignMainStrandInsertionProps() { + Parser: function Parser() { }, - _$$DesignMainStrandInsertionProps$PlainMap: function _$$DesignMainStrandInsertionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._design_main_strand_insertion$_props = t0; - _.DesignMainStrandInsertionPropsMixin_selectable_insertion = t1; - _.DesignMainStrandInsertionPropsMixin_helix = t2; - _.DesignMainStrandInsertionPropsMixin_transform = t3; - _.DesignMainStrandInsertionPropsMixin_color = t4; - _.DesignMainStrandInsertionPropsMixin_selected = t5; - _.DesignMainStrandInsertionPropsMixin_display_reverse_DNA_right_side_up = t6; - _.DesignMainStrandInsertionPropsMixin_svg_position_y = t7; - _.DesignMainStrandInsertionPropsMixin_retain_strand_color_on_selection = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + Token_lineAndColumnOf(buffer, position) { + var t1, line, offset, t2, offset0; + for (t1 = new A.MatchesIterable(new A.TokenParser($.$get$Token__newlineParser(), type$.TokenParser_String), buffer, 0, false, type$.MatchesIterable_Token_String), t1 = t1.get$iterator(t1), line = 1, offset = 0; t1.moveNext$0(); offset = offset0) { + t2 = t1.__MatchesIterator_current_A; + t2 === $ && A.throwLateFieldNI("current"); + offset0 = t2.stop; + if (typeof position !== "number") + return position.$lt(); + if (position < offset0) + return A._setArrayType([line, position - offset + 1], type$.JSArray_int); + ++line; + } + if (typeof position !== "number") + return position.$sub(); + return A._setArrayType([line, position - offset + 1], type$.JSArray_int); }, - _$$DesignMainStrandInsertionProps$JsMap: function _$$DesignMainStrandInsertionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + Token_positionString(buffer, position) { + var lineAndColumn = A.Token_lineAndColumnOf(buffer, position); + return "" + lineAndColumn[0] + ":" + lineAndColumn[1]; + }, + Token: function Token(t0, t1, t2, t3, t4) { var _ = this; - _._design_main_strand_insertion$_props = t0; - _.DesignMainStrandInsertionPropsMixin_selectable_insertion = t1; - _.DesignMainStrandInsertionPropsMixin_helix = t2; - _.DesignMainStrandInsertionPropsMixin_transform = t3; - _.DesignMainStrandInsertionPropsMixin_color = t4; - _.DesignMainStrandInsertionPropsMixin_selected = t5; - _.DesignMainStrandInsertionPropsMixin_display_reverse_DNA_right_side_up = t6; - _.DesignMainStrandInsertionPropsMixin_svg_position_y = t7; - _.DesignMainStrandInsertionPropsMixin_retain_strand_color_on_selection = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + _.value = t0; + _.buffer = t1; + _.start = t2; + _.stop = t3; + _.$ti = t4; }, - _$DesignMainStrandInsertionComponent: function _$DesignMainStrandInsertionComponent(t0) { + _throwUnsupported() { + return A.throwExpression(A.UnsupportedError$("Unsupported operation on parser reference")); + }, + ReferenceParser: function ReferenceParser(t0, t1, t2) { + this.$function = t0; + this.$arguments = t1; + this.$ti = t2; + }, + MatchesIterable: function MatchesIterable(t0, t1, t2, t3, t4) { var _ = this; - _._design_main_strand_insertion$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.parser = t0; + _.input = t1; + _.start = t2; + _.overlapping = t3; + _.$ti = t4; }, - $DesignMainStrandInsertionPropsMixin: function $DesignMainStrandInsertionPropsMixin() { + MatchesIterator: function MatchesIterator(t0, t1, t2, t3, t4) { + var _ = this; + _.parser = t0; + _.input = t1; + _.overlapping = t2; + _.start = t3; + _.__MatchesIterator_current_A = $; + _.$ti = t4; }, - _DesignMainStrandInsertionComponent_UiComponent2_PureComponent: function _DesignMainStrandInsertionComponent_UiComponent2_PureComponent() { + FlattenParser: function FlattenParser(t0, t1, t2) { + this.message = t0; + this.delegate = t1; + this.$ti = t2; }, - __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin() { + MapParserExtension_map(_this, callback, $R, $S) { + return new A.MapParser(callback, _this, $R._eval$1("@<0>")._bind$1($S)._eval$1("MapParser<1,2>")); }, - __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin() { + MapParser: function MapParser(t0, t1, t2) { + this.callback = t0; + this.delegate = t1; + this.$ti = t2; }, - RedrawCounterMixin: function RedrawCounterMixin() { + TokenParser: function TokenParser(t0, t1) { + this.delegate = t0; + this.$ti = t1; }, - _$SelectionRopeView: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? A._$$SelectionRopeViewProps$JsMap$(new L.JsBackedMap({})) : A._$$SelectionRopeViewProps__$$SelectionRopeViewProps(backingProps); + char(char, message) { + var t1 = B.JSString_methods._codeUnitAt$1(char, 0), + t2 = type$.CodeUnits; + t2 = new A.MappedListIterable(new A.CodeUnits(char), t2._eval$1("String(ListMixin.E)")._as(A.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0); + return new A.SingleCharacterParser(new A.SingleCharPredicate(t1), '"' + t2 + '" expected'); }, - _$$SelectionRopeViewProps__$$SelectionRopeViewProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return A._$$SelectionRopeViewProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new A._$$SelectionRopeViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._selection_rope_view$_props = backingMap; - return t1; - } + SingleCharPredicate: function SingleCharPredicate(t0) { + this.value = t0; }, - _$$SelectionRopeViewProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new A._$$SelectionRopeViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._selection_rope_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ConstantCharPredicate: function ConstantCharPredicate(t0) { + this.constant = t0; }, - ConnectedSelectionRopeView_closure: function ConnectedSelectionRopeView_closure() { + LookupCharPredicate: function LookupCharPredicate(t0, t1, t2) { + this.start = t0; + this.stop = t1; + this.bits = t2; }, - SelectionRopeViewProps: function SelectionRopeViewProps() { + NotCharacterPredicate: function NotCharacterPredicate(t0) { + this.predicate = t0; }, - SelectionRopeViewComponent: function SelectionRopeViewComponent() { + optimizedRanges(ranges) { + var mergedRanges, t1, _i, thisRange, lastRange, t2, t3, matchingCount, + sortedRanges = A.List_List$of(ranges, false, type$.RangeCharPredicate); + B.JSArray_methods.sort$1(sortedRanges, new A.optimizedRanges_closure()); + mergedRanges = A._setArrayType([], type$.JSArray_RangeCharPredicate); + for (t1 = sortedRanges.length, _i = 0; _i < t1; ++_i) { + thisRange = sortedRanges[_i]; + if (mergedRanges.length === 0) + B.JSArray_methods.add$1(mergedRanges, thisRange); + else { + lastRange = B.JSArray_methods.get$last(mergedRanges); + if (lastRange.stop + 1 >= thisRange.start) { + t2 = lastRange.start; + t3 = thisRange.stop; + B.JSArray_methods.$indexSet(mergedRanges, mergedRanges.length - 1, new A.RangeCharPredicate(t2, t3)); + } else + B.JSArray_methods.add$1(mergedRanges, thisRange); + } + } + matchingCount = B.JSArray_methods.fold$1$2(mergedRanges, 0, new A.optimizedRanges_closure0(), type$.int); + if (matchingCount === 0) + return B.ConstantCharPredicate_false; + else { + if (typeof matchingCount !== "number") + return matchingCount.$sub(); + if (matchingCount - 1 === 65535) + return B.ConstantCharPredicate_true; + else { + t1 = mergedRanges.length; + if (t1 === 1) { + if (0 >= t1) + return A.ioore(mergedRanges, 0); + t1 = mergedRanges[0]; + t2 = t1.start; + return t2 === t1.stop ? new A.SingleCharPredicate(t2) : t1; + } else { + t1 = B.JSArray_methods.get$first(mergedRanges).start; + t2 = B.JSArray_methods.get$last(mergedRanges).stop; + t3 = B.JSInt_methods._shrOtherPositive$1(B.JSArray_methods.get$last(mergedRanges).stop - B.JSArray_methods.get$first(mergedRanges).start + 1 + 31, 5); + t1 = new A.LookupCharPredicate(t1, t2, new Uint32Array(t3)); + t1.LookupCharPredicate$1(mergedRanges); + return t1; + } + } + } }, - $SelectionRopeViewComponentFactory_closure: function $SelectionRopeViewComponentFactory_closure() { + optimizedRanges_closure: function optimizedRanges_closure() { }, - _$$SelectionRopeViewProps: function _$$SelectionRopeViewProps() { + optimizedRanges_closure0: function optimizedRanges_closure0() { }, - _$$SelectionRopeViewProps$PlainMap: function _$$SelectionRopeViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._selection_rope_view$_props = t0; - _.SelectionRopeViewProps_selection_rope = t1; - _.SelectionRopeViewProps_stroke_width_getter = t2; - _.SelectionRopeViewProps_id = t3; - _.SelectionRopeViewProps_is_main = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + pattern(element, message) { + var t2, + t1 = $.$get$_pattern().parseOn$1(new A.Context1(element, 0)); + t1 = t1.get$value(t1); + if (message == null) { + t2 = type$.CodeUnits; + t2 = "[" + new A.MappedListIterable(new A.CodeUnits(element), t2._eval$1("String(ListMixin.E)")._as(A.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0) + "] expected"; + } else + t2 = message; + return new A.SingleCharacterParser(t1, t2); }, - _$$SelectionRopeViewProps$JsMap: function _$$SelectionRopeViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._selection_rope_view$_props = t0; - _.SelectionRopeViewProps_selection_rope = t1; - _.SelectionRopeViewProps_stroke_width_getter = t2; - _.SelectionRopeViewProps_id = t3; - _.SelectionRopeViewProps_is_main = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _single_closure: function _single_closure() { }, - _$SelectionRopeViewComponent: function _$SelectionRopeViewComponent(t0) { - var _ = this; - _._selection_rope_view$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _range_closure: function _range_closure() { }, - $SelectionRopeViewProps: function $SelectionRopeViewProps() { + _sequence_closure: function _sequence_closure() { }, - __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps() { + _pattern_closure: function _pattern_closure() { }, - __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps() { + CharacterPredicate: function CharacterPredicate() { }, - _$StrandOrSubstrandColorPicker: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? A._$$StrandOrSubstrandColorPickerProps$JsMap$(new L.JsBackedMap({})) : A._$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps(backingProps); + RangeCharPredicate: function RangeCharPredicate(t0, t1) { + this.start = t0; + this.stop = t1; }, - _$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return A._$$StrandOrSubstrandColorPickerProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new A._$$StrandOrSubstrandColorPickerProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._strand_color_picker$_props = backingMap; - return t1; - } + WhitespaceCharPredicate: function WhitespaceCharPredicate() { }, - _$$StrandOrSubstrandColorPickerProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new A._$$StrandOrSubstrandColorPickerProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._strand_color_picker$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ChoiceIterableExtension_toChoiceParser(_this, failureJoiner, $R) { + return A.ChoiceParser$(_this, failureJoiner, $R); }, - _$$StrandOrSubstrandColorPickerState$JsMap$: function(backingMap) { - var t1 = new A._$$StrandOrSubstrandColorPickerState$JsMap(new L.JsBackedMap({}), null); - t1.get$$$isClassGenerated(); - t1._strand_color_picker$_state = backingMap; - return t1; + ChoiceParser$(children, failureJoiner, $R) { + var t1 = failureJoiner == null ? A.instantiate1(A.failure_joiner__selectLast$closure(), $R) : failureJoiner; + return new A.ChoiceParser(t1, A.List_List$of(children, false, $R._eval$1("Parser<0>")), $R._eval$1("ChoiceParser<0>")); }, - ConnectedStrandOrSubstrandColorPicker_closure: function ConnectedStrandOrSubstrandColorPicker_closure() { + ChoiceParser: function ChoiceParser(t0, t1, t2) { + this.failureJoiner = t0; + this.children = t1; + this.$ti = t2; }, - StrandOrSubstrandColorPickerProps: function StrandOrSubstrandColorPickerProps() { + DelegateParser: function DelegateParser() { }, - StrandOrSubstrandColorPickerState: function StrandOrSubstrandColorPickerState() { + seq2(parser1, parser2, R1, R2) { + return new A.SequenceParser2(parser1, parser2, R1._eval$1("@<0>")._bind$1(R2)._eval$1("SequenceParser2<1,2>")); }, - StrandOrSubstrandColorPickerComponent: function StrandOrSubstrandColorPickerComponent() { + ParserSequenceExtension2_map2(_this, callback, T1, T2, $R) { + return A.MapParserExtension_map(_this, new A.ParserSequenceExtension2_map2_closure(callback, T1, T2, $R), T1._eval$1("@<0>")._bind$1(T2)._eval$1("Sequence2<1,2>"), $R); }, - StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure(t0) { - this.color = t0; + SequenceParser2: function SequenceParser2(t0, t1, t2) { + this.parser1 = t0; + this.parser2 = t1; + this.$ti = t2; }, - StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure(t0) { - this.color = t0; + Sequence2: function Sequence2(t0, t1, t2) { + this.first = t0; + this.second = t1; + this.$ti = t2; }, - StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure: function StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure(t0) { - this.strand = t0; + ParserSequenceExtension2_map2_closure: function ParserSequenceExtension2_map2_closure(t0, t1, t2, t3) { + var _ = this; + _.callback = t0; + _.T1 = t1; + _.T2 = t2; + _.R = t3; }, - JSColor: function JSColor() { + seq3(parser1, parser2, parser3, R1, R2, R3) { + return new A.SequenceParser3(parser1, parser2, parser3, R1._eval$1("@<0>")._bind$1(R2)._bind$1(R3)._eval$1("SequenceParser3<1,2,3>")); }, - $StrandOrSubstrandColorPickerComponentFactory_closure: function $StrandOrSubstrandColorPickerComponentFactory_closure() { + ParserSequenceExtension3_map3(_this, callback, T1, T2, T3, $R) { + return A.MapParserExtension_map(_this, new A.ParserSequenceExtension3_map3_closure(callback, T1, T2, T3, $R), T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._eval$1("Sequence3<1,2,3>"), $R); }, - _$$StrandOrSubstrandColorPickerProps: function _$$StrandOrSubstrandColorPickerProps() { + SequenceParser3: function SequenceParser3(t0, t1, t2, t3) { + var _ = this; + _.parser1 = t0; + _.parser2 = t1; + _.parser3 = t2; + _.$ti = t3; }, - _$$StrandOrSubstrandColorPickerProps$PlainMap: function _$$StrandOrSubstrandColorPickerProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + Sequence3: function Sequence3(t0, t1, t2, t3) { var _ = this; - _._strand_color_picker$_props = t0; - _.StrandOrSubstrandColorPickerProps_color = t1; - _.StrandOrSubstrandColorPickerProps_show = t2; - _.StrandOrSubstrandColorPickerProps_strand = t3; - _.StrandOrSubstrandColorPickerProps_substrand = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.first = t0; + _.second = t1; + _.third = t2; + _.$ti = t3; }, - _$$StrandOrSubstrandColorPickerProps$JsMap: function _$$StrandOrSubstrandColorPickerProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + ParserSequenceExtension3_map3_closure: function ParserSequenceExtension3_map3_closure(t0, t1, t2, t3, t4) { var _ = this; - _._strand_color_picker$_props = t0; - _.StrandOrSubstrandColorPickerProps_color = t1; - _.StrandOrSubstrandColorPickerProps_show = t2; - _.StrandOrSubstrandColorPickerProps_strand = t3; - _.StrandOrSubstrandColorPickerProps_substrand = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.callback = t0; + _.T1 = t1; + _.T2 = t2; + _.T3 = t3; + _.R = t4; }, - _$$StrandOrSubstrandColorPickerState: function _$$StrandOrSubstrandColorPickerState() { + seq4(parser1, parser2, parser3, parser4, R1, R2, R3, R4) { + return new A.SequenceParser4(parser1, parser2, parser3, parser4, R1._eval$1("@<0>")._bind$1(R2)._bind$1(R3)._bind$1(R4)._eval$1("SequenceParser4<1,2,3,4>")); }, - _$$StrandOrSubstrandColorPickerState$JsMap: function _$$StrandOrSubstrandColorPickerState$JsMap(t0, t1) { - this._strand_color_picker$_state = t0; - this.StrandOrSubstrandColorPickerState_color = t1; + ParserSequenceExtension4_map4(_this, callback, T1, T2, T3, T4, $R) { + return A.MapParserExtension_map(_this, new A.ParserSequenceExtension4_map4_closure(callback, T1, T2, T3, T4, $R), T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._bind$1(T4)._eval$1("Sequence4<1,2,3,4>"), $R); }, - _$StrandOrSubstrandColorPickerComponent: function _$StrandOrSubstrandColorPickerComponent(t0) { + SequenceParser4: function SequenceParser4(t0, t1, t2, t3, t4) { var _ = this; - _._strand_color_picker$_cachedTypedState = _._strand_color_picker$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.parser1 = t0; + _.parser2 = t1; + _.parser3 = t2; + _.parser4 = t3; + _.$ti = t4; }, - $StrandOrSubstrandColorPickerProps: function $StrandOrSubstrandColorPickerProps() { + Sequence4: function Sequence4(t0, t1, t2, t3, t4) { + var _ = this; + _.first = t0; + _.second = t1; + _.third = t2; + _.fourth = t3; + _.$ti = t4; }, - $StrandOrSubstrandColorPickerState: function $StrandOrSubstrandColorPickerState() { + ParserSequenceExtension4_map4_closure: function ParserSequenceExtension4_map4_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.callback = t0; + _.T1 = t1; + _.T2 = t2; + _.T3 = t3; + _.T4 = t4; + _.R = t5; }, - __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps() { + seq5(parser1, parser2, parser3, parser4, parser5, R1, R2, R3, R4, R5) { + return new A.SequenceParser5(parser1, parser2, parser3, parser4, parser5, R1._eval$1("@<0>")._bind$1(R2)._bind$1(R3)._bind$1(R4)._bind$1(R5)._eval$1("SequenceParser5<1,2,3,4,5>")); }, - __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps() { + ParserSequenceExtension5_map5(_this, callback, T1, T2, T3, T4, T5, $R) { + return A.MapParserExtension_map(_this, new A.ParserSequenceExtension5_map5_closure(callback, T1, T2, T3, T4, T5, $R), T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._bind$1(T4)._bind$1(T5)._eval$1("Sequence5<1,2,3,4,5>"), $R); }, - __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState() { + SequenceParser5: function SequenceParser5(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.parser1 = t0; + _.parser2 = t1; + _.parser3 = t2; + _.parser4 = t3; + _.parser5 = t4; + _.$ti = t5; }, - __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState() { + Sequence5: function Sequence5(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.first = t0; + _.second = t1; + _.third = t2; + _.fourth = t3; + _.fifth = t4; + _.$ti = t5; }, - IterableIntegerExtension_get_minOrNull: function(_this) { - var value, newValue, - iterator = J.get$iterator$ax(_this); - if (iterator.moveNext$0()) { - value = iterator.get$current(iterator); - for (; iterator.moveNext$0();) { - newValue = iterator.get$current(iterator); - if (typeof newValue !== "number") - return newValue.$lt(); - if (typeof value !== "number") - return H.iae(value); - if (newValue < value) - value = newValue; - } - return value; - } - return null; + ParserSequenceExtension5_map5_closure: function ParserSequenceExtension5_map5_closure(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.callback = t0; + _.T1 = t1; + _.T2 = t2; + _.T3 = t3; + _.T4 = t4; + _.T5 = t5; + _.R = t6; + }, + ParserSequenceExtension8_map8(_this, callback, T1, T2, T3, T4, T5, T6, T7, T8, $R) { + return A.MapParserExtension_map(_this, new A.ParserSequenceExtension8_map8_closure(callback, T1, T2, T3, T4, T5, T6, T7, T8, $R), T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._bind$1(T4)._bind$1(T5)._bind$1(T6)._bind$1(T7)._bind$1(T8)._eval$1("Sequence8<1,2,3,4,5,6,7,8>"), $R); + }, + SequenceParser8: function SequenceParser8(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.parser1 = t0; + _.parser2 = t1; + _.parser3 = t2; + _.parser4 = t3; + _.parser5 = t4; + _.parser6 = t5; + _.parser7 = t6; + _.parser8 = t7; + _.$ti = t8; + }, + Sequence8: function Sequence8(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.first = t0; + _.second = t1; + _.third = t2; + _.fourth = t3; + _.fifth = t4; + _.sixth = t5; + _.seventh = t6; + _.eighth = t7; + _.$ti = t8; + }, + ParserSequenceExtension8_map8_closure: function ParserSequenceExtension8_map8_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _.callback = t0; + _.T1 = t1; + _.T2 = t2; + _.T3 = t3; + _.T4 = t4; + _.T5 = t5; + _.T6 = t6; + _.T7 = t7; + _.T8 = t8; + _.R = t9; }, - IterableIntegerExtension_get_min: function(_this) { - var t1 = A.IterableIntegerExtension_get_minOrNull(_this); - return t1 == null ? H.throwExpression(P.StateError$("No element")) : t1; + ListParser: function ListParser() { }, - IterableIntegerExtension_get_maxOrNull: function(_this) { - var value, newValue, - iterator = J.get$iterator$ax(_this); - if (iterator.moveNext$0()) { - value = iterator.get$current(iterator); - for (; iterator.moveNext$0();) { - newValue = iterator.get$current(iterator); - if (typeof newValue !== "number") - return newValue.$gt(); - if (typeof value !== "number") - return H.iae(value); - if (newValue > value) - value = newValue; - } - return value; - } - return null; + OptionalParserExtension_optional(_this, $R) { + return new A.OptionalParser(null, _this, $R._eval$1("OptionalParser<0?>")); }, - IterableIntegerExtension_get_max: function(_this) { - var t1 = A.IterableIntegerExtension_get_maxOrNull(_this); - return t1 == null ? H.throwExpression(P.StateError$("No element")) : t1; + OptionalParser: function OptionalParser(t0, t1, t2) { + this.otherwise = t0; + this.delegate = t1; + this.$ti = t2; }, - registerComponent20: function(componentFactory, bridgeFactory, skipMethods) { - var errorPrinted, componentInstance, componentStatics, filteredSkipMethods, defaultProps, e, stack, e0, stack0, jsConfig2, displayName, reactComponentClass, e1, stack1, t1, finalList, shouldWarn, exception, t2, reactComponentClass0, - _s21_ = "shouldComponentUpdate", - _s18_ = "componentDidUpdate"; - type$.legacy_legacy_Component2_Function._as(componentFactory); - type$.legacy_Iterable_legacy_String._as(skipMethods); - type$.legacy_legacy_Component2Bridge_Function_legacy_Component2._as(bridgeFactory); - errorPrinted = false; - try { - t1 = bridgeFactory == null ? A.bridge_Component2BridgeImpl_bridgeFactory$closure() : bridgeFactory; - componentInstance = componentFactory.call$0(); - componentStatics = new K.ComponentStatics2(componentFactory, componentInstance, t1); - finalList = P.List_List$of(skipMethods, true, type$.legacy_String); - if (C.JSArray_methods.contains$1(finalList, _s21_)) { - C.JSArray_methods.remove$1(finalList, _s21_); - shouldWarn = true; - } else - shouldWarn = false; - if (C.JSArray_methods.contains$1(finalList, _s18_)) { - C.JSArray_methods.remove$1(finalList, _s18_); - shouldWarn = true; - } - if (C.JSArray_methods.contains$1(finalList, "render")) { - C.JSArray_methods.remove$1(finalList, "render"); - shouldWarn = true; - } - if (shouldWarn) { - window; - if (typeof console != "undefined") - window.console.warn("WARNING: Crucial lifecycle methods passed into skipMethods. shouldComponentUpdate, componentDidUpdate, and render cannot be skipped and will still be added to the new component. Please remove them from skipMethods."); - } - filteredSkipMethods = finalList; - defaultProps = null; - try { - defaultProps = L.JsBackedMap_JsBackedMap$from(J.get$defaultProps$x(componentInstance)); - } catch (exception) { - e = H.unwrapException(exception); - stack = H.getTraceFromException(exception); - P.print("Error when registering Component2 when getting defaultProps: " + H.S(e) + "\n" + H.S(stack)); - errorPrinted = true; - throw exception; - } - try { - } catch (exception) { - e0 = H.unwrapException(exception); - stack0 = H.getTraceFromException(exception); - P.print("Error when registering Component2 when getting propTypes: " + H.S(e0) + "\n" + H.S(stack0)); - errorPrinted = true; - throw exception; - } - t1 = defaultProps.jsObject; - t2 = componentInstance; - t2.toString; - V.Component2.prototype.get$contextType.call(t2); - t2 = {}; - t2 = t2; - jsConfig2 = {skipMethods: filteredSkipMethods, contextType: null, defaultProps: t1, propTypes: t2}; - displayName = J.get$displayName$x(componentInstance); - reactComponentClass0 = self._createReactDartComponentClass2($.$get$ReactDartInteropStatics2_staticsForJs(), componentStatics, jsConfig2); - J.set$displayName$x(reactComponentClass0, displayName); - reactComponentClass = reactComponentClass0; - self.Object.defineProperty(reactComponentClass, "name", {value: displayName}); - J.set$dartComponentVersion$x(reactComponentClass, "2"); - t2 = reactComponentClass; - t1 = J.get$defaultProps$x(t2); - self.Object.assign({}, t1); - return new A.ReactDartComponentFactoryProxy2(t2, type$.ReactDartComponentFactoryProxy2_legacy_Component2); - } catch (exception) { - e1 = H.unwrapException(exception); - stack1 = H.getTraceFromException(exception); - if (!H.boolConversionCheck(errorPrinted)) - P.print("Error when registering Component2: " + H.S(e1) + "\n" + H.S(stack1)); - throw exception; - } + SkipParser: function SkipParser(t0, t1, t2, t3) { + var _ = this; + _.before = t0; + _.after = t1; + _.delegate = t2; + _.$ti = t3; }, - reselect_moved_copied_strands_middleware: function(store, action, next) { - var t1, t2, design, addresses, new_address_helix_idx, new_helix, t3, t4, new_helices_view_order, old_helices_view_order_inverse, t5, t6, t7, t8, old_domain, t9, old_5p_end, t10, t11, old_helix_view_order, t12, t13, t14, new_helix_idx, new_strands, new_design, address_to_strand, _i; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.StrandsMoveCommit) { - t1 = action.strands_move; - if (!t1.copy) { - t1 = J.get$length$asx(t1.strands_moving._list); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 1; - } else - t1 = true; - } else - t1 = false; - if (t1) { - t1 = store.get$state(store).design; - t2 = action.strands_move; - if (D.in_bounds_and_allowable(t1, t2)) - t1 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; - else - t1 = false; - if (!t1) - return; - design = store.get$state(store).design; - addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); - t1 = t2.current_address; - new_address_helix_idx = t1.helix_idx; - new_helix = J.$index$asx(design.helices._map$_map, new_address_helix_idx); - t3 = design.groups; - t4 = new_helix.group; - new_helices_view_order = J.$index$asx(t3._map$_map, t4).helices_view_order; - old_helices_view_order_inverse = t2.original_helices_view_order_inverse; - for (t3 = J.get$iterator$ax(t2.strands_moving._list), t4 = t1.offset, t5 = t2.original_address, t6 = t5.offset, t1 = t1.forward != t5.forward, t7 = t2.helices, t5 = t5.helix_idx, t2 = t2.groups; t3.moveNext$0();) { - t8 = t3.get$current(t3); - old_domain = t8.__first_domain; - if (old_domain == null) - old_domain = t8.__first_domain = E.Strand.prototype.get$first_domain.call(t8); - t8 = old_domain.forward; - if (t8) { - t9 = old_domain.__dnaend_start; - if (t9 == null) { - t9 = G.Domain.prototype.get$dnaend_start.call(old_domain); - old_domain.__dnaend_start = t9; - old_5p_end = t9; - } else - old_5p_end = t9; - } else { - t9 = old_domain.__dnaend_end; - if (t9 == null) { - t9 = G.Domain.prototype.get$dnaend_end.call(old_domain); - old_domain.__dnaend_end = t9; - old_5p_end = t9; - } else - old_5p_end = t9; - } - t9 = old_domain.helix; - t10 = old_helices_view_order_inverse._map$_map; - t11 = J.getInterceptor$asx(t10); - old_helix_view_order = t11.$index(t10, t9); - t9 = t7._map$_map; - t12 = J.getInterceptor$asx(t9); - t13 = t12.$index(t9, new_address_helix_idx).group; - t13 = J.$index$asx(t2._map$_map, t13); - t14 = t13.__helices_view_order_inverse; - if (t14 == null) { - t14 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t13); - t13.set$__helices_view_order_inverse(t14); - t13 = t14; - } else - t13 = t14; - t9 = J.$index$asx(t13._map$_map, t12.$index(t9, new_address_helix_idx).idx); - t10 = t11.$index(t10, t5); - if (typeof t9 !== "number") - return t9.$sub(); - if (typeof t10 !== "number") - return H.iae(t10); - if (typeof old_helix_view_order !== "number") - return old_helix_view_order.$add(); - new_helix_idx = J.$index$asx(new_helices_view_order._list, old_helix_view_order + (t9 - t10)); - t9 = old_5p_end.offset; - if (!old_5p_end.is_start) { - if (typeof t9 !== "number") - return t9.$sub(); - --t9; - } - if (typeof t4 !== "number") - return t4.$sub(); - if (typeof t6 !== "number") - return H.iae(t6); - if (typeof t9 !== "number") - return t9.$add(); - if (new_helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "helix_idx")); - C.JSArray_methods.add$1(addresses, new Z._$Address(new_helix_idx, t9 + (t4 - t6), t1 !== t8)); - } - next.call$1(action); - new_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - new_design = store.get$state(store).design; - if (t1) - address_to_strand = new_design.get$address_3p_to_strand(); - else { - t1 = new_design.__address_5p_to_strand; - if (t1 == null) { - t1 = N.Design.prototype.get$address_5p_to_strand.call(new_design); - new_design.set$__address_5p_to_strand(t1); - address_to_strand = t1; - } else - address_to_strand = t1; - } - for (t1 = addresses.length, t2 = address_to_strand._map$_map, t3 = J.getInterceptor$asx(t2), _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) - C.JSArray_methods.add$1(new_strands, t3.$index(t2, addresses[_i])); - store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_strands, type$.legacy_Strand))); - } else - next.call$1(action); + EpsilonParser: function EpsilonParser(t0, t1) { + this.result = t0; + this.$ti = t1; }, - reselect_moved_dna_extension_ends_middleware: function(store, action, next) { - var t1, extension_ids, old_end, t2, t3, old_extension, new_ends, _i, extension_id, extension; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.DNAExtensionsMoveCommit) { - t1 = J.get$length$asx(action.dna_extensions_move.moves._list); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 1; - } else - t1 = false; - if (t1) { - extension_ids = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t1 = J.get$iterator$ax(action.dna_extensions_move.moves._list); t1.moveNext$0();) { - old_end = t1.get$current(t1).dna_end; - t2 = store.get$state(store).design; - t3 = t2.__end_to_extension; - if (t3 == null) { - t3 = N.Design.prototype.get$end_to_extension.call(t2); - t2.set$__end_to_extension(t3); - t2 = t3; - } else - t2 = t3; - old_extension = J.$index$asx(t2._map$_map, old_end); - t2 = old_extension._extension$__id; - C.JSArray_methods.add$1(extension_ids, t2 == null ? old_extension._extension$__id = S.Extension.prototype.get$id.call(old_extension, old_extension) : t2); - } - next.call$1(action); - new_ends = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); - for (t1 = extension_ids.length, _i = 0; _i < extension_ids.length; extension_ids.length === t1 || (0, H.throwConcurrentModificationError)(extension_ids), ++_i) { - extension_id = extension_ids[_i]; - t2 = store.get$state(store).design; - t3 = t2.__extensions_by_id; - if (t3 == null) { - t3 = N.Design.prototype.get$extensions_by_id.call(t2); - t2.set$__extensions_by_id(t3); - t2 = t3; - } else - t2 = t3; - extension = J.$index$asx(t2._map$_map, extension_id); - t2 = extension.__dnaend_free; - C.JSArray_methods.add$1(new_ends, t2 == null ? extension.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(extension) : t2); - } - store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_ends, type$.legacy_DNAEnd))); - } else - next.call$1(action); + NewlineParser: function NewlineParser(t0) { + this.message = t0; }, - reset_local_storage_middleware: function(store, action, next) { - var t1; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof U.ResetLocalStorage) { - t1 = window.localStorage; - (t1 && C.Storage_methods).remove$1(t1, "scadnano:design"); - t1 = window.localStorage; - (t1 && C.Storage_methods).remove$1(t1, "scadnano:app_ui_state_storables"); - window.location.reload(); + any() { + return new A.AnyCharacterParser("input expected"); + }, + AnyCharacterParser: function AnyCharacterParser(t0) { + this.message = t0; + }, + SingleCharacterParser: function SingleCharacterParser(t0, t1) { + this.predicate = t0; + this.message = t1; + }, + PredicateParser: function PredicateParser(t0, t1, t2) { + this.length = t0; + this.predicate = t1; + this.message = t2; + }, + PredicateStringExtension_toParser(_this) { + var t1 = _this.length; + if (t1 === 0) + return new A.EpsilonParser(_this, type$.EpsilonParser_String); + else if (t1 === 1) { + t1 = A.char(_this, null); + return t1; + } else { + t1 = A.string(_this, null); + return t1; } }, - dialog_show_reducer: function(_, action) { - type$.legacy_Dialog._as(_); - return type$.legacy_DialogShow._as(action).dialog; + string(element, message) { + return new A.PredicateParser(element.length, new A.string_closure(element), '"' + element + '" expected'); }, - dialog_hide_reducer: function(_, action) { - type$.legacy_Dialog._as(_); - type$.legacy_DialogHide._as(action); - return null; - } - }, - L = {BZip2Decoder: function BZip2Decoder() { - var _ = this; - _.__BZip2Decoder__numSelectors = _.__BZip2Decoder__unzftab = _.__BZip2Decoder__minLens = _.__BZip2Decoder__perm = _.__BZip2Decoder__base = _.__BZip2Decoder__limit = _.__BZip2Decoder__selector = _.__BZip2Decoder__selectorMtf = _.__BZip2Decoder__mtfbase = _.__BZip2Decoder__mtfa = _.__BZip2Decoder__seqToUnseq = _.__BZip2Decoder__inUse = _.__BZip2Decoder__inUse16 = _.__BZip2Decoder__tt = _.__BZip2Decoder__blockSize100k = $; - _._groupPos = 0; - _._groupNo = -1; - _._gMinlen = _._gSel = 0; - _.__BZip2Decoder__len = _.__BZip2Decoder__cftab = _.__BZip2Decoder__gBase = _.__BZip2Decoder__gPerm = _.__BZip2Decoder__gLimit = $; - _._numInUse = 0; - }, LogRecord: function LogRecord(t0, t1, t2, t3, t4) { + string_closure: function string_closure(t0) { + this.element = t0; + }, + RepeatingCharacterParserExtension_repeatString(_this, min, max, message) { + return new A.RepeatingCharacterParser(_this.predicate, message, min, max); + }, + RepeatingCharacterParser: function RepeatingCharacterParser(t0, t1, t2, t3) { var _ = this; - _.level = t0; + _.predicate = t0; _.message = t1; - _.loggerName = t2; - _.error = t3; - _.stackTrace = t4; - }, WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { + _.min = t2; + _.max = t3; + }, + LazyRepeatingParser: function LazyRepeatingParser(t0, t1, t2, t3, t4) { var _ = this; - _.separatorPattern = t0; - _.needsSeparatorPattern = t1; - _.rootPattern = t2; - _.relativeRootPattern = t3; + _.limit = t0; + _.min = t1; + _.max = t2; + _.delegate = t3; + _.$ti = t4; }, - Token_lineAndColumnOf: function(buffer, position) { - var t1, list, line, offset, _i, offset0; - for (t1 = $.$get$Token__newlineParser(), list = H.setRuntimeTypeInfo([], type$.JSArray_Token_dynamic), Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(A.MapParserExtension_map(new L.TokenParser(t1, type$.TokenParser_dynamic), C.JSArray_methods.get$add(list), true, type$.Token_dynamic, type$.void), new V.AnyParser("input expected")), 0, 9007199254740991, type$.dynamic).fastParseOn$2(buffer, 0), t1 = list.length, line = 1, offset = 0, _i = 0; _i < t1; ++_i, offset = offset0) { - offset0 = list[_i].stop; - if (position < offset0) - return H.setRuntimeTypeInfo([line, position - offset + 1], type$.JSArray_int); - ++line; - } - return H.setRuntimeTypeInfo([line, position - offset + 1], type$.JSArray_int); + LimitedRepeatingParser: function LimitedRepeatingParser() { }, - Token_positionString: function(buffer, position) { - var lineAndColumn = L.Token_lineAndColumnOf(buffer, position); - return "" + lineAndColumn[0] + ":" + lineAndColumn[1]; + PossessiveRepeatingParserExtension_star(_this, $R) { + return A.PossessiveRepeatingParserExtension_repeat(_this, 0, 9007199254740991, $R); }, - Token: function Token(t0, t1, t2, t3, t4) { + PossessiveRepeatingParserExtension_repeat(_this, min, max, $R) { + return new A.PossessiveRepeatingParser(min, max, _this, $R._eval$1("PossessiveRepeatingParser<0>")); + }, + PossessiveRepeatingParser: function PossessiveRepeatingParser(t0, t1, t2, t3) { var _ = this; - _.value = t0; - _.buffer = t1; - _.start = t2; - _.stop = t3; - _.$ti = t4; + _.min = t0; + _.max = t1; + _.delegate = t2; + _.$ti = t3; }, - TokenParser: function TokenParser(t0, t1) { - this.delegate = t0; - this.$ti = t1; + RepeatingParser: function RepeatingParser() { }, - ConstantCharPredicate: function ConstantCharPredicate(t0) { - this.constant = t0; + Browser_getCurrentBrowser() { + return B.JSArray_methods.firstWhere$2$orElse($.$get$Browser__knownBrowsers(), new A.Browser_getCurrentBrowser_closure(), new A.Browser_getCurrentBrowser_closure0()); }, - Browser_getCurrentBrowser: function() { - return C.JSArray_methods.firstWhere$2$orElse($.$get$Browser__knownBrowsers(), new L.Browser_getCurrentBrowser_closure(), new L.Browser_getCurrentBrowser_closure0()); + Browser$($name, _matchesNavigator, _parseVersion, className) { + return new A.Browser($name, _matchesNavigator); }, - Browser$: function($name, matchesNavigator, parseVersion, className) { - return new L.Browser($name, matchesNavigator); + _Chrome__isChrome($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.vendor, "Google"); }, - _Chrome__isChrome: function($navigator) { - var vendor; - type$.legacy_NavigatorProvider._as($navigator).toString; - vendor = window.navigator.vendor; - return vendor != null && C.JSString_methods.contains$1(vendor, "Google"); + EdgeChrome__isEdge($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.userAgent, "Edg/"); }, - _Firefox__isFirefox: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; + _Firefox__isFirefox($navigator) { + $navigator.toString; return J.contains$1$asx(window.navigator.userAgent, "Firefox"); }, - _Safari__isSafari: function($navigator) { - var vendor; - type$.legacy_NavigatorProvider._as($navigator).toString; - vendor = window.navigator.vendor; - return vendor != null && C.JSString_methods.contains$1(vendor, "Apple") && J.contains$1$asx(window.navigator.appVersion, "Version"); + _Safari__isSafari($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.vendor, "Apple") && J.contains$1$asx(window.navigator.appVersion, "Version"); }, - _WKWebView__isWKWebView: function($navigator) { - var vendor; - type$.legacy_NavigatorProvider._as($navigator).toString; - vendor = window.navigator.vendor; - return vendor != null && C.JSString_methods.contains$1(vendor, "Apple") && !J.contains$1$asx(window.navigator.appVersion, "Version"); + _WKWebView__isWKWebView($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.vendor, "Apple") && !J.contains$1$asx(window.navigator.appVersion, "Version"); }, - _InternetExplorer__isInternetExplorer: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; + _InternetExplorer__isInternetExplorer($navigator) { + $navigator.toString; return J.contains$1$asx(window.navigator.appName, "Microsoft") || J.contains$1$asx(window.navigator.appVersion, "Trident") || J.contains$1$asx(window.navigator.appVersion, "Edge"); }, Browser: function Browser(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; }, Browser_getCurrentBrowser_closure: function Browser_getCurrentBrowser_closure() { }, Browser_getCurrentBrowser_closure0: function Browser_getCurrentBrowser_closure0() { }, + Browser_UnknownBrowser_closure: function Browser_UnknownBrowser_closure() { + }, + Browser_UnknownBrowser_closure0: function Browser_UnknownBrowser_closure0() { + }, _Chrome: function _Chrome(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; + }, + EdgeChrome: function EdgeChrome(t0, t1) { + this.name = t0; + this._matchesNavigator = t1; }, _Firefox: function _Firefox(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; }, _Safari: function _Safari(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; }, _WKWebView: function _WKWebView(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; }, _InternetExplorer: function _InternetExplorer(t0, t1) { this.name = t0; - this._browser$_matchesNavigator = t1; + this._matchesNavigator = t1; }, - JsBackedMap_JsBackedMap$from: function(other) { - var t1 = new L.JsBackedMap({}); - t1.addAll$1(0, other); + browser() { + var t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new A._HtmlNavigator(); + t1 = $._browser = A.Browser_getCurrentBrowser(); + } + t1.toString; return t1; }, - jsBackingMapOrJsCopy: function(map) { - if (map instanceof L.JsBackedMap) - return map.jsObject; - else - return L.JsBackedMap_JsBackedMap$from(map).jsObject; + _HtmlNavigator: function _HtmlNavigator() { }, - JsBackedMap: function JsBackedMap(t0) { - this.jsObject = t0; + OperatingSystem_getCurrentOperatingSystem() { + return B.JSArray_methods.firstWhere$2$orElse($.$get$OperatingSystem__knownSystems(), new A.OperatingSystem_getCurrentOperatingSystem_closure(), new A.OperatingSystem_getCurrentOperatingSystem_closure0()); }, - JsBackedMap__values_closure: function JsBackedMap__values_closure(t0) { - this.$this = t0; + OperatingSystem$($name, _matchesNavigator) { + return new A.OperatingSystem(_matchesNavigator); }, - JsMap: function JsMap() { + OperatingSystem: function OperatingSystem(t0) { + this._operating_system$_matchesNavigator = t0; }, - _Object: function _Object() { + OperatingSystem_getCurrentOperatingSystem_closure: function OperatingSystem_getCurrentOperatingSystem_closure() { }, - _Reflect: function _Reflect() { + OperatingSystem_getCurrentOperatingSystem_closure0: function OperatingSystem_getCurrentOperatingSystem_closure0() { }, - _$valueOf1: function($name) { - switch ($name) { - case "none": - return C.BasePairDisplayType_none; - case "lines": - return C.BasePairDisplayType_lines; - case "rectangle": - return C.BasePairDisplayType_rectangle; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + OperatingSystem_UnknownOS_closure: function OperatingSystem_UnknownOS_closure() { }, - BasePairDisplayType: function BasePairDisplayType(t0) { - this.name = t0; + linux_closure: function linux_closure() { }, - _$BasePairDisplayTypeSerializer: function _$BasePairDisplayTypeSerializer() { + mac_closure: function mac_closure() { }, - ErrorMessageComponent: function ErrorMessageComponent(t0) { - this.root_element = t0; + unix_closure: function unix_closure() { }, - _ObservableTimer$: function(duration, callback) { - var t1 = new L._ObservableTimer(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); - t1._ObservableTimer$2(duration, callback); - return t1; + windows_closure: function windows_closure() { }, - ManagedDisposer: function ManagedDisposer(t0, t1) { - this._disposer = t0; - this._didDispose = t1; - this._isDisposing = false; + chrome_closure: function chrome_closure() { }, - ManagedDisposer_dispose_closure: function ManagedDisposer_dispose_closure(t0) { - this.$this = t0; + CipherParameters: function CipherParameters() { }, - _ObservableTimer: function _ObservableTimer(t0) { - this._didConclude = t0; - this._timer = null; + KeyParameter: function KeyParameter(t0) { + this.__KeyParameter_key_A = t0; }, - _ObservableTimer_closure: function _ObservableTimer_closure(t0, t1) { - this.$this = t0; - this.callback = t1; + AESEngine: function AESEngine(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._ROUNDS = 0; + _._WorkingKey = null; + _._forEncryption = false; + _._s = t0; + _._S = t1; + _._Si = t2; + _._rcon = t3; + _._T0 = t4; + _._Tinv0 = t5; }, - Disposable: function Disposable(t0, t1, t2, t3) { + SHA1Digest$() { + var t1 = A.Register64$(0), + t2 = new Uint8Array(4), + t3 = type$.int; + t3 = new A.SHA1Digest(t1, t2, B.C_Endian0, 5, A.List_List$filled(5, 0, false, t3), A.List_List$filled(80, 0, false, t3)); + t3.reset$0(0); + return t3; + }, + SHA1Digest: function SHA1Digest(t0, t1, t2, t3, t4, t5) { var _ = this; - _._awaitableFutures = t0; - _._didDispose = t1; - _._leakFlag = null; - _._internalDisposables = t2; - _._disposable$_state = t3; + _._byteCount = t0; + _._wordBuffer = t1; + _.__MD4FamilyDigest__wordBufferOffset_A = $; + _._endian = t2; + _._packedStateSize = t3; + _.state = t4; + _.buffer = t5; + _.__MD4FamilyDigest_bufferOffset_A = $; }, - Disposable__addObservableTimerDisposable_closure: function Disposable__addObservableTimerDisposable_closure(t0) { - this.timer = t0; + Pbkdf2Parameters: function Pbkdf2Parameters(t0, t1, t2) { + this.salt = t0; + this.iterationCount = t1; + this.desiredKeyLength = t2; }, - Disposable__addObservableTimerDisposable_closure0: function Disposable__addObservableTimerDisposable_closure0(t0, t1) { - this.$this = t0; - this.disposable = t1; + PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { + this.__PBKDF2KeyDerivator__params_A = $; + this._pbkdf2$_mac = t0; + this.__PBKDF2KeyDerivator__state_A = $; }, - XmlHasWriter: function XmlHasWriter() { + HMac$(_digest, _blockLength) { + var t1 = new A.HMac(_digest, _blockLength); + t1.__HMac__digestSize_A = 20; + t1.__HMac__inputPad_A = new Uint8Array(_blockLength); + t1.__HMac__outputBuf_A = new Uint8Array(_blockLength + 20); + return t1; }, - XmlCDATA: function XmlCDATA(t0, t1) { - this.text = t0; - this.XmlHasParent__parent = t1; + HMac: function HMac(t0, t1) { + var _ = this; + _._digest = t0; + _.__HMac__digestSize_A = $; + _.__HMac__blockLength_A = t1; + _.__HMac__outputBuf_A = _.__HMac__inputPad_A = $; }, - XmlDeclaration$: function(attributesIterable) { - var t1 = B.XmlNodeList$(type$.XmlAttribute), - t2 = new L.XmlDeclaration(t1, null); - type$.Set_XmlNodeType._as(C.Set_EeIxt); - if (t1.__XmlNodeList__parent === $) - t1.__XmlNodeList__parent = t2; - else - H.throwExpression(H.LateError$fieldAI("_parent")); - t1.set$_nodeTypes(C.Set_EeIxt); - t1.addAll$1(0, attributesIterable); - return t2; + BaseBlockCipher: function BaseBlockCipher() { }, - XmlDeclaration: function XmlDeclaration(t0, t1) { - this.XmlHasAttributes_attributes = t0; - this.XmlHasParent__parent = t1; + BaseDigest: function BaseDigest() { }, - XmlDeclaration_copy_closure: function XmlDeclaration_copy_closure() { + BaseKeyDerivator: function BaseKeyDerivator() { }, - _XmlDeclaration_XmlNode_XmlHasParent: function _XmlDeclaration_XmlNode_XmlHasParent() { + BaseMac: function BaseMac() { }, - _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes: function _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes() { + MD4FamilyDigest: function MD4FamilyDigest() { }, - XmlText: function XmlText(t0, t1) { - this.text = t0; - this.XmlHasParent__parent = t1; + NodeCrypto: function NodeCrypto() { }, - XmlCharacterDataParser: function XmlCharacterDataParser(t0, t1, t2, t3) { - var _ = this; - _._entityMapping = t0; - _._stopper = t1; - _._stopperCode = t2; - _._minLength = t3; + shiftl32(x, n) { + n &= 31; + return (x & $._MASK32_HI_BITS[n]) << n >>> 0; }, - helix_remove_middleware: function(store, action, next) { - var t1, t2, helix_idx_with_substrands, t3, helix_idx_string, first_line_string; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.HelixRemove) { - t1 = store.get$state(store).design; - t2 = action.helix_idx; - if (J.get$isNotEmpty$asx(t1.domains_on_helix$1(t2))) - if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, "Helix " + t2 + " has domains on it. If you delete the helix, the domains will be removed. Are you sure you wish to remove helix " + t2 + "?"))) - return; - } else if (action instanceof U.HelixRemoveAllSelected) { - helix_idx_with_substrands = P.LinkedHashSet_LinkedHashSet(type$.legacy_int); - for (t1 = store.get$state(store).ui_state.storables.side_selected_helix_idxs._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (J.get$isNotEmpty$asx(store.get$state(store).design.domains_on_helix$1(t3))) - helix_idx_with_substrands.add$1(0, t3); - } - if (helix_idx_with_substrands._collection$_length !== 0) { - helix_idx_string = helix_idx_with_substrands.join$1(0, ", "); - first_line_string = helix_idx_with_substrands._collection$_length === 1 ? "Selected helix " + helix_idx_string + " has domains on it. " : "Selected helices: " + helix_idx_string + " have domains on them. "; - if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, first_line_string + "If you delete the selected helices, the domains will be removed. Are you sure you wish to remove selected helices: " + t1.join$1(0, ", ") + "?"))) - return; - } - } - next.call$1(action); - } - }, - X = {FileContent: function FileContent() { - }, ZipFileHeader: function ZipFileHeader(t0) { - var _ = this; - _.versionMadeBy = 0; - _.localHeaderOffset = _.externalFileAttributes = _.diskNumberStart = _.uncompressedSize = _.compressedSize = null; - _.filename = ""; - _.extraField = t0; - _.file = null; + rotr32(x, n) { + n &= 31; + if (typeof x !== "number") + return x.$shr(); + return (B.JSInt_methods._shrOtherPositive$1(x, n) | A.shiftl32(x, 32 - n)) >>> 0; }, - BuiltSet_BuiltSet: function(iterable, $E) { - return X.BuiltSet_BuiltSet$from(iterable, $E); + pack32(x, out, offset, endian) { + out = B.NativeByteBuffer_methods.asByteData$2(out.buffer, out.byteOffset, out.length); + J.setUint32$3$x(out, offset, x, endian); }, - BuiltSet_BuiltSet$from: function(iterable, $E) { - var t1; - if (iterable instanceof X._BuiltSet) { - t1 = H.createRuntimeType($E); - t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; - } else - t1 = false; - if (t1) - return $E._eval$1("BuiltSet<0>")._as(iterable); - else { - t1 = new X._BuiltSet(null, P.LinkedHashSet_LinkedHashSet$from(iterable, $E), $E._eval$1("_BuiltSet<0>")); - t1._set$_maybeCheckForNull$0(); - return t1; - } + unpack32(inp, offset, endian) { + var t1 = J.getInterceptor$x(inp); + inp = J.asByteData$2$x(t1.get$buffer(inp), t1.get$offsetInBytes(inp), t1.get$length(inp)); + return J.getUint32$2$x(inp, offset, endian); }, - BuiltSet_BuiltSet$of: function(iterable, $E) { - var t1 = X._BuiltSet$of(iterable, $E); + Register64$(hiOrLo32OrY) { + var t1 = new A.Register64(); + t1.$set$2(0, hiOrLo32OrY, null); return t1; }, - _BuiltSet$of: function(iterable, $E) { - var t1 = P.LinkedHashSet_LinkedHashSet$_empty($E); - t1.addAll$1(0, iterable); - t1 = new X._BuiltSet(null, t1, $E._eval$1("_BuiltSet<0>")); - t1._set$_maybeCheckForNull$0(); - return t1; + Register64: function Register64() { + this.__Register64__lo32_A = this.__Register64__hi32_A = $; }, - SetBuilder_SetBuilder: function(iterable, $E) { - var t1 = new X.SetBuilder(null, $, null, $E._eval$1("SetBuilder<0>")); - t1.replace$1(0, iterable); - return t1; + Version_Version(major, minor, patch, build) { + var t2, t3, + text = "" + major + "." + minor + "." + patch, + t1 = build == null; + if (!t1) + text += "+" + build; + t2 = type$.JSArray_Object; + t3 = A._setArrayType([], t2); + t1 = t1 ? A._setArrayType([], t2) : A.Version__splitParts(build); + if (major < 0) + A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null)); + if (minor < 0) + A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null)); + if (patch < 0) + A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null)); + return new A.Version0(major, minor, patch, t3, t1, text); + }, + Version__splitParts(text) { + var t1 = type$.MappedListIterable_String_Object; + return A.List_List$of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), type$.Object_Function_String._as(new A.Version__splitParts_closure()), t1), true, t1._eval$1("ListIterable.E")); + }, + Version0: function Version0(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.major = t0; + _.minor = t1; + _.patch = t2; + _.preRelease = t3; + _.build = t4; + _._text = t5; + }, + Version__splitParts_closure: function Version__splitParts_closure() { + }, + zip(iterables, $T) { + return A.zip$body(iterables, $T, $T._eval$1("List<0>")); + }, + zip$body($async$iterables, $async$$T, $async$type) { + return A._makeSyncStarIterable(function() { + var iterables = $async$iterables, + $T = $async$$T; + var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, iterators; + return function $async$zip($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $T._eval$1("Iterator<0>"); + t2 = A._arrayInstanceType(iterables); + t3 = t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"); + iterators = A.List_List$of(new A.MappedListIterable(iterables, t2._bind$1(t1)._eval$1("1(2)")._as(new A.zip_closure($T)), t3), false, t3._eval$1("ListIterable.E")); + t1 = A._arrayInstanceType(iterators), t2 = t1._bind$1($T)._eval$1("1(2)"), t1 = t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"), t3 = t1._eval$1("ListIterable.E"); + case 2: + // for condition + if (!B.JSArray_methods.every$1(iterators, new A.zip_closure0($T))) { + // goto after for + $async$goto = 3; + break; + } + $async$goto = 4; + return A.List_List$of(new A.MappedListIterable(iterators, t2._as(new A.zip_closure1($T)), t1), false, t3); + case 4: + // after yield + // goto for condition + $async$goto = 2; + break; + case 3: + // after for + // implicit return + return A._IterationMarker_endOfIteration(); + case 1: + // rethrow + return A._IterationMarker_uncaughtError($async$currentError); + } + }; + }, $async$type); }, - BuiltSet: function BuiltSet() { + zip_closure: function zip_closure(t0) { + this.T = t0; }, - BuiltSet_hashCode_closure: function BuiltSet_hashCode_closure(t0) { - this.$this = t0; + zip_closure0: function zip_closure0(t0) { + this.T = t0; }, - _BuiltSet: function _BuiltSet(t0, t1, t2) { - var _ = this; - _._setFactory = t0; - _._set = t1; - _._set$_hashCode = null; - _.$ti = t2; + zip_closure1: function zip_closure1(t0) { + this.T = t0; }, - SetBuilder: function SetBuilder(t0, t1, t2, t3) { - var _ = this; - _._setFactory = t0; - _.__SetBuilder__set = t1; - _._setOwner = t2; - _.$ti = t3; + _createDomFactory(tagName) { + A.validateJsApi(); + return new A.ReactDomComponentFactoryProxy(tagName); }, - StreamedResponse: function StreamedResponse(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.stream = t0; - _.request = t1; - _.statusCode = t2; - _.reasonPhrase = t3; - _.contentLength = t4; - _.headers = t5; - _.isRedirect = t6; - _.persistentConnection = t7; + Component2: function Component2() { }, - connect: function(context, forwardRef, mapStateToProps, mapStateToPropsWithOwnProps, TReduxState, TProps) { - var mapDispatchToPropsCheck, _null = null, - _s11_ = "removeWhere", - mapStateToPropsCheck = [mapStateToProps, mapStateToPropsWithOwnProps, null, null], - t1 = H._arrayInstanceType(mapStateToPropsCheck)._eval$1("bool(1)")._as(new X.connect_closure()); - if (!!mapStateToPropsCheck.fixed$length) - H.throwExpression(P.UnsupportedError$(_s11_)); - C.JSArray_methods._removeWhere$2(mapStateToPropsCheck, t1, true); - mapDispatchToPropsCheck = [null, null, null, null]; - t1 = H._arrayInstanceType(mapDispatchToPropsCheck)._eval$1("bool(1)")._as(new X.connect_closure0()); - if (!!mapDispatchToPropsCheck.fixed$length) - H.throwExpression(P.UnsupportedError$(_s11_)); - C.JSArray_methods._removeWhere$2(mapDispatchToPropsCheck, t1, true); - if (mapStateToPropsCheck.length > 1) - throw H.wrapException(P.ArgumentError$("Only one of the following arguments can be provided at a time: [mapStateToProps, mapStateToPropsWithOwnProps, makeMapStateToProps, makeMapStateToPropsWithOwnProps]")); - if (mapDispatchToPropsCheck.length > 1) - throw H.wrapException(P.ArgumentError$("Only one of the following arguments can be provided at a time: [mapDispatchToProps, mapDispatchToPropsWithOwnProps, makeMapDispatchToProps, makeMapDispatchToPropsWithOwnProps]")); - return new X.connect_wrapWithConnect(mapStateToProps, mapStateToPropsWithOwnProps, _null, _null, _null, _null, _null, _null, _null, _null, U.equality__propsOrStateMapsEqual$closure(), U.equality__propsOrStateMapsEqual$closure(), U.equality__propsOrStateMapsEqual$closure(), forwardRef, true, context, TProps, TReduxState); + ReactComponentFactoryProxy: function ReactComponentFactoryProxy() { }, - _jsConnect: function(mapStateToProps, mapDispatchToProps, mergeProps, options) { - return self.ReactRedux.connect(mapStateToProps, mapDispatchToProps, mergeProps, options); + ReactComponentFactoryProxy_call_closure: function ReactComponentFactoryProxy_call_closure() { }, - _reduxifyStore: function(store) { - var t1 = P.allowInterop(new X._reduxifyStore_closure(store), type$.legacy_legacy_Object_Function), - t2 = P.allowInterop(new X._reduxifyStore_closure0(store), type$.legacy_legacy_Function_Function_legacy_Function); - return {getState: t1, dispatch: P.allowInterop(new X._reduxifyStore_closure1(store), type$.legacy_dynamic_Function_dynamic), subscribe: t2, dartStore: store}; + NotSpecified0: function NotSpecified0() { }, - $ConnectPropsMixin: function $ConnectPropsMixin() { + registerComponent2_closure: function registerComponent2_closure() { }, - connect_closure: function connect_closure() { + Component2BridgeImpl_bridgeFactory(_) { + type$.Component2._as(_); + return B.C_Component2BridgeImpl; }, - connect_closure0: function connect_closure0() { + Component2Bridge: function Component2Bridge() { }, - connect_wrapWithConnect: function connect_wrapWithConnect(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { - var _ = this; - _.mapStateToProps = t0; - _.mapStateToPropsWithOwnProps = t1; - _.makeMapStateToProps = t2; - _.makeMapStateToPropsWithOwnProps = t3; - _.mapDispatchToProps = t4; - _.mapDispatchToPropsWithOwnProps = t5; - _.makeMapDispatchToProps = t6; - _.makeMapDispatchToPropsWithOwnProps = t7; - _.mergeProps = t8; - _.areStatesEqual = t9; - _.areOwnPropsEqual = t10; - _.areStatePropsEqual = t11; - _.areMergedPropsEqual = t12; - _.forwardRef = t13; - _.pure = t14; - _.context = t15; - _.TProps = t16; - _.TReduxState = t17; + Component2BridgeImpl: function Component2BridgeImpl() { }, - connect_wrapWithConnect_jsMapFromProps: function connect_wrapWithConnect_jsMapFromProps() { + _JsError: function _JsError() { }, - connect_wrapWithConnect_jsPropsToTProps: function connect_wrapWithConnect_jsPropsToTProps(t0, t1) { - this.factory = t0; - this.TProps = t1; + listifyChildren(children) { + if (A.boolConversionCheck(self.React.isValidElement(children))) + return children; + else if (type$.Iterable_dynamic._is(children) && !type$.List_dynamic._is(children)) + return J.toList$1$growable$ax(children, false); + else + return children; }, - connect_wrapWithConnect_allowInteropWithArgCount: function connect_wrapWithConnect_allowInteropWithArgCount() { + ReactDartComponentFactoryProxy2$(reactClass, TComponent) { + var t1 = J.get$defaultProps$x(reactClass); + if (t1 == null) + t1 = {}; + self.Object.assign({}, t1); + return new A.ReactDartComponentFactoryProxy2(reactClass, TComponent._eval$1("ReactDartComponentFactoryProxy2<0>")); }, - connect_wrapWithConnect_handleMapStateToProps: function connect_wrapWithConnect_handleMapStateToProps(t0, t1, t2) { - this.jsMapFromProps = t0; - this.mapStateToProps = t1; - this.TReduxState = t2; + ReactJsContextComponentFactoryProxy$(jsClass, isConsumer, isProvider, shouldConvertDomProps) { + A.ArgumentError_checkNotNull(jsClass, "jsClass", type$.ReactClass); + return new A.ReactJsContextComponentFactoryProxy(jsClass, isConsumer, isProvider, jsClass); }, - connect_wrapWithConnect_handleMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t0, t1, t2, t3) { - var _ = this; - _.jsMapFromProps = t0; - _.mapStateToPropsWithOwnProps = t1; - _.jsPropsToTProps = t2; - _.TReduxState = t3; + ReactJsComponentFactoryProxy$(jsClass, shouldConvertDomProps) { + A.ArgumentError_checkNotNull(jsClass, "jsClass", type$.ReactClass); + return new A.ReactJsComponentFactoryProxy(jsClass); }, - connect_wrapWithConnect_handleMakeMapStateToProps: function connect_wrapWithConnect_handleMakeMapStateToProps(t0, t1, t2, t3, t4) { - var _ = this; - _.makeMapStateToProps = t0; - _.jsPropsToTProps = t1; - _.jsMapFromProps = t2; - _.allowInteropWithArgCount = t3; - _.TReduxState = t4; + JsBackedMapComponentFactoryMixin: function JsBackedMapComponentFactoryMixin() { }, - connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(t0, t1, t2) { - this.jsMapFromProps = t0; - this.mapToFactory = t1; - this.TReduxState = t2; + ReactDartComponentFactoryProxy2: function ReactDartComponentFactoryProxy2(t0, t1) { + this.reactClass = t0; + this.$ti = t1; }, - connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t0, t1, t2, t3, t4) { + ReactJsContextComponentFactoryProxy: function ReactJsContextComponentFactoryProxy(t0, t1, t2, t3) { var _ = this; - _.makeMapStateToPropsWithOwnProps = t0; - _.jsPropsToTProps = t1; - _.jsMapFromProps = t2; - _.allowInteropWithArgCount = t3; - _.TReduxState = t4; + _.ReactJsContextComponentFactoryProxy_type = t0; + _.isConsumer = t1; + _.isProvider = t2; + _.type = t3; }, - connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(t0, t1, t2, t3) { - var _ = this; - _.jsMapFromProps = t0; - _.mapToFactory = t1; - _.jsPropsToTProps = t2; - _.TReduxState = t3; + ReactJsContextComponentFactoryProxy_build_closure: function ReactJsContextComponentFactoryProxy_build_closure(t0) { + this.contextCallback = t0; }, - connect_wrapWithConnect_handleMapDispatchToProps: function connect_wrapWithConnect_handleMapDispatchToProps(t0, t1) { - this.jsMapFromProps = t0; - this.mapDispatchToProps = t1; + ReactJsComponentFactoryProxy: function ReactJsComponentFactoryProxy(t0) { + this.type = t0; }, - connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t0, t1, t2) { - this.jsMapFromProps = t0; - this.mapDispatchToPropsWithOwnProps = t1; - this.jsPropsToTProps = t2; + ReactDomComponentFactoryProxy: function ReactDomComponentFactoryProxy(t0) { + this.name = t0; }, - connect_wrapWithConnect_handleMakeMapDispatchToProps: function connect_wrapWithConnect_handleMakeMapDispatchToProps(t0, t1, t2, t3) { - var _ = this; - _.makeMapDispatchToProps = t0; - _.jsPropsToTProps = t1; - _.jsMapFromProps = t2; - _.allowInteropWithArgCount = t3; + _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin: function _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin() { }, - connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(t0, t1) { - this.jsMapFromProps = t0; - this.mapToFactory = t1; + JsBackedMap_JsBackedMap$from(other) { + var t1 = new A.JsBackedMap({}); + t1.addAll$1(0, other); + return t1; }, - connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t0, t1, t2, t3) { - var _ = this; - _.makeMapDispatchToPropsWithOwnProps = t0; - _.jsPropsToTProps = t1; - _.jsMapFromProps = t2; - _.allowInteropWithArgCount = t3; + jsBackingMapOrJsCopy(map) { + if (map instanceof A.JsBackedMap) + return map.jsObject; + else + return A.JsBackedMap_JsBackedMap$from(map).jsObject; }, - connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(t0, t1, t2) { - this.jsMapFromProps = t0; - this.mapToFactory = t1; - this.jsPropsToTProps = t2; + JsBackedMap: function JsBackedMap(t0) { + this.jsObject = t0; }, - connect_wrapWithConnect_handleAreOwnPropsEqual: function connect_wrapWithConnect_handleAreOwnPropsEqual(t0, t1) { - this.areOwnPropsEqual = t0; - this.jsPropsToTProps = t1; + JsBackedMap__values_closure: function JsBackedMap__values_closure(t0) { + this.$this = t0; }, - connect_wrapWithConnect_handleAreStatePropsEqual: function connect_wrapWithConnect_handleAreStatePropsEqual(t0, t1) { - this.areStatePropsEqual = t0; - this.jsPropsToTProps = t1; + JsMap: function JsMap() { }, - connect_wrapWithConnect_handleAreMergedPropsEqual: function connect_wrapWithConnect_handleAreMergedPropsEqual(t0, t1) { - this.areMergedPropsEqual = t0; - this.jsPropsToTProps = t1; + _Object: function _Object() { }, - connect_wrapWithConnect_interopMapStateToPropsHandler: function connect_wrapWithConnect_interopMapStateToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _.mapStateToProps = t0; - _.allowInteropWithArgCount = t1; - _.handleMapStateToProps = t2; - _.mapStateToPropsWithOwnProps = t3; - _.handleMapStateToPropsWithOwnProps = t4; - _.makeMapStateToProps = t5; - _.handleMakeMapStateToProps = t6; - _.makeMapStateToPropsWithOwnProps = t7; - _.handleMakeMapStateToPropsWithOwnProps = t8; + _Reflect: function _Reflect() { }, - connect_wrapWithConnect_interopMapDispatchToPropsHandler: function connect_wrapWithConnect_interopMapDispatchToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _.mapDispatchToProps = t0; - _.allowInteropWithArgCount = t1; - _.handleMapDispatchToProps = t2; - _.mapDispatchToPropsWithOwnProps = t3; - _.handleMapDispatchToPropsWithOwnProps = t4; - _.makeMapDispatchToProps = t5; - _.handleMakeMapDispatchToProps = t6; - _.makeMapDispatchToPropsWithOwnProps = t7; - _.handleMakeMapDispatchToPropsWithOwnProps = t8; + _jsObjectFriendlyIdentityHashCode(object) { + var t1, exception; + if (type$.JsMap._is(object)) + return 0; + try { + t1 = A.objectHashCode(object); + return t1; + } catch (exception) { + return 0; + } }, - connect_wrapWithConnect_connectedFactory: function connect_wrapWithConnect_connectedFactory(t0, t1, t2) { - this.factory = t0; - this.hocFactoryProxy = t1; - this.TProps = t2; + jsifyAndAllowInterop(object) { + return A._convertDataTree(object); }, - JsReactRedux: function JsReactRedux() { + _convertDataTree(data) { + return new A._convertDataTree__convert(A.LinkedHashMap_LinkedHashMap(A.core__identical$closure(), A.js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure(), null, type$.Object, type$.dynamic)).call$1(data); + }, + _convertDataTree__convert: function _convertDataTree__convert(t0) { + this._convertedObjects = t0; + }, + ReactDom_render(component, element) { + return self.ReactDOM.render(component, type$.Element._as(element)); + }, + React: function React() { + }, + Ref: function Ref(t0, t1) { + this.jsRef = t0; + this.$ti = t1; + }, + JsRef: function JsRef() { + }, + ReactDomServer: function ReactDomServer() { + }, + PropTypes: function PropTypes() { + }, + ReactClass: function ReactClass() { + }, + ReactClassConfig: function ReactClassConfig() { + }, + ReactElement: function ReactElement() { + }, + ReactPortal: function ReactPortal() { + }, + ReactComponent: function ReactComponent() { + }, + ReactContext: function ReactContext() { + }, + InteropProps: function InteropProps() { + }, + ReactErrorInfo: function ReactErrorInfo() { + }, + _findDomNode(component) { + var t1; + if (type$.Component._is(component)) { + t1 = component.__Component2_jsThis_A; + t1 === $ && A.throwLateFieldNI("jsThis"); + } else + t1 = component; + return self.ReactDOM.findDOMNode(t1); }, - ReduxProviderProps: function ReduxProviderProps(t0, t1, t2) { + render_closure: function render_closure() { + }, + findDOMNode_closure: function findDOMNode_closure() { + }, + createContext0(defaultValue, calculateChangedBits, TValue) { + var jsDefaultValue = A.ContextHelpers_jsifyNewContext(defaultValue), + JSContext = calculateChangedBits != null ? self.React.createContext(jsDefaultValue, A.allowInterop(new A.createContext_jsifyCalculateChangedBitsArgs(calculateChangedBits, TValue), type$.int_Function_dynamic_dynamic)) : self.React.createContext(jsDefaultValue), + t1 = J.getInterceptor$x(JSContext); + return new A.Context(JSContext, A.ReactJsContextComponentFactoryProxy$(t1.get$Provider(JSContext), false, true, true), A.ReactJsContextComponentFactoryProxy$(t1.get$Consumer(JSContext), true, false, true), TValue._eval$1("Context<0>")); + }, + ContextHelpers_jsifyNewContext(context) { + var jsContextHolder = {}; + jsContextHolder[self._reactDartContextSymbol] = A.DartValueWrapper_wrapIfNeeded(context); + return jsContextHolder; + }, + ContextHelpers_unjsifyNewContext(interopContext) { + if (interopContext != null && self._reactDartContextSymbol in interopContext) + return A.DartValueWrapper_unwrapIfNeeded(interopContext[self._reactDartContextSymbol]); + return interopContext; + }, + Context: function Context(t0, t1, t2, t3) { var _ = this; - _.props = t0; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t1; - _.UbiquitousDomPropsMixin__dom = t2; + _._jsThis = t0; + _.Provider = t1; + _.Consumer = t2; + _.$ti = t3; + }, + createContext_jsifyCalculateChangedBitsArgs: function createContext_jsifyCalculateChangedBitsArgs(t0, t1) { + this.calculateChangedBits = t0; + this.TValue = t1; + }, + JsPropertyDescriptor: function JsPropertyDescriptor() { }, - ReduxProvider_closure: function ReduxProvider_closure() { + Promise: function Promise() { }, - ReactJsReactReduxComponentFactoryProxy: function ReactJsReactReduxComponentFactoryProxy(t0, t1, t2, t3) { + ReactDOM: function ReactDOM() { + }, + ReactDartInteropStatics2__updatePropsAndStateWithJs(component, props, state) { + component.set$props(0, new A.JsBackedMap(props)); + component.set$state(0, new A.JsBackedMap(state)); + }, + ReactDartInteropStatics2_initComponent(jsThis, componentStatics) { + type$.ReactComponent._as(jsThis); + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_initComponent_closure(type$.ComponentStatics2._as(componentStatics), jsThis), type$.Component2); + }, + ReactDartInteropStatics2_handleComponentDidMount(component) { + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleComponentDidMount_closure(type$.Component2._as(component)), type$.void); + }, + ReactDartInteropStatics2_handleShouldComponentUpdate(component, jsNextProps, jsNextState) { + var t1 = type$.JsMap; + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleShouldComponentUpdate_closure(type$.Component2._as(component), t1._as(jsNextProps), t1._as(jsNextState)), type$.bool); + }, + ReactDartInteropStatics2_handleGetDerivedStateFromProps(componentStatics, jsNextProps, jsPrevState) { + var t1 = type$.JsMap; + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(type$.ComponentStatics2._as(componentStatics), t1._as(jsNextProps), t1._as(jsPrevState)), type$.nullable_JsMap); + }, + ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate(component, jsPrevProps, jsPrevState) { + var t1 = type$.JsMap; + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(type$.Component2._as(component), t1._as(jsPrevProps), t1._as(jsPrevState)), type$.dynamic); + }, + ReactDartInteropStatics2_handleComponentDidUpdate(component, jsThis, jsPrevProps, jsPrevState, snapshot) { + var t1; + type$.Component2._as(component); + type$.ReactComponent._as(jsThis); + t1 = type$.JsMap; + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleComponentDidUpdate_closure(component, t1._as(jsPrevProps), t1._as(jsPrevState), snapshot), type$.void); + }, + ReactDartInteropStatics2_handleComponentWillUnmount(component) { + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleComponentWillUnmount_closure(type$.Component2._as(component)), type$.void); + }, + ReactDartInteropStatics2_handleComponentDidCatch(component, error, info) { + type$.Component2._as(component); + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleComponentDidCatch_closure(error, type$.ReactErrorInfo._as(info), component), type$.void); + }, + ReactDartInteropStatics2_handleGetDerivedStateFromError(componentStatics, error) { + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(error, type$.ComponentStatics2._as(componentStatics)), type$.nullable_JsMap); + }, + ReactDartInteropStatics2_handleRender(component, jsProps, jsState, jsContext) { + var t1 = type$.JsMap; + return B.C__RootZone.run$1$1(new A.ReactDartInteropStatics2_handleRender_closure(type$.Component2._as(component), t1._as(jsProps), t1._as(jsState), jsContext), type$.nullable_Object); + }, + ReactDartInteropStatics2_initComponent_closure: function ReactDartInteropStatics2_initComponent_closure(t0, t1) { + this.componentStatics = t0; + this.jsThis = t1; + }, + ReactDartInteropStatics2_handleComponentDidMount_closure: function ReactDartInteropStatics2_handleComponentDidMount_closure(t0) { + this.component = t0; + }, + ReactDartInteropStatics2_handleShouldComponentUpdate_closure: function ReactDartInteropStatics2_handleShouldComponentUpdate_closure(t0, t1, t2) { + this.component = t0; + this.jsNextProps = t1; + this.jsNextState = t2; + }, + ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(t0, t1, t2) { + this.componentStatics = t0; + this.jsNextProps = t1; + this.jsPrevState = t2; + }, + ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure: function ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(t0, t1, t2) { + this.component = t0; + this.jsPrevProps = t1; + this.jsPrevState = t2; + }, + ReactDartInteropStatics2_handleComponentDidUpdate_closure: function ReactDartInteropStatics2_handleComponentDidUpdate_closure(t0, t1, t2, t3) { var _ = this; - _.ReactJsContextComponentFactoryProxy_type = t0; - _.isConsumer = t1; - _.isProvider = t2; - _.type = t3; + _.component = t0; + _.jsPrevProps = t1; + _.jsPrevState = t2; + _.snapshot = t3; }, - _reduxifyStore_closure: function _reduxifyStore_closure(t0) { - this.store = t0; + ReactDartInteropStatics2_handleComponentWillUnmount_closure: function ReactDartInteropStatics2_handleComponentWillUnmount_closure(t0) { + this.component = t0; }, - _reduxifyStore_closure0: function _reduxifyStore_closure0(t0) { - this.store = t0; + ReactDartInteropStatics2_handleComponentDidCatch_closure: function ReactDartInteropStatics2_handleComponentDidCatch_closure(t0, t1, t2) { + this.error = t0; + this.info = t1; + this.component = t2; }, - _reduxifyStore__closure: function _reduxifyStore__closure(t0) { - this.cb = t0; + ReactDartInteropStatics2_handleGetDerivedStateFromError_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(t0, t1) { + this.error = t0; + this.componentStatics = t1; }, - _reduxifyStore_closure1: function _reduxifyStore_closure1(t0) { - this.store = t0; + ReactDartInteropStatics2_handleRender_closure: function ReactDartInteropStatics2_handleRender_closure(t0, t1, t2, t3) { + var _ = this; + _.component = t0; + _.jsProps = t1; + _.jsState = t2; + _.jsContext = t3; }, - JsReactReduxStore: function JsReactReduxStore() { + convertRefValue2(args, additionalRefPropKeys, convertCallbackRefValue) { + var t2, t3, t4, t5, _i, refKey, t6, t7, ref, _s4_ = "null", + t1 = A._setArrayType(["ref"], type$.JSArray_String); + B.JSArray_methods.addAll$1(t1, additionalRefPropKeys); + for (t2 = t1.length, t3 = type$.dynamic_Function_Never, t4 = args.jsObject, t5 = type$.dynamic_Function_dynamic, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + refKey = t1[_i]; + t6 = refKey == null; + t7 = t6 ? _s4_ : refKey; + ref = A.DartValueWrapper_unwrapIfNeeded(t4[t7]); + if (ref instanceof A.Ref) { + t7 = ref.jsRef; + t6 = t6 ? _s4_ : refKey; + t4[t6] = A.DartValueWrapper_wrapIfNeeded(t7); + } else if (t3._is(ref) && convertCallbackRefValue) { + t7 = A.allowInterop(new A.convertRefValue2_closure(ref), t5); + t6 = t6 ? _s4_ : refKey; + t4[t6] = A.DartValueWrapper_wrapIfNeeded(t7); + } + } }, - JsConnectOptions: function JsConnectOptions() { + generateChildren(childrenArgs, shouldAlwaysBeList) { + var children, singleChild, t2, + t1 = childrenArgs.length; + if (t1 === 0) { + if (!shouldAlwaysBeList) + return self._jsUndefined; + children = childrenArgs; + } else if (t1 === 1) + if (shouldAlwaysBeList) { + singleChild = A.listifyChildren(B.JSArray_methods.get$single(childrenArgs)); + children = type$.List_dynamic._is(singleChild) ? singleChild : null; + } else + children = B.JSArray_methods.get$single(childrenArgs); + else + children = null; + if (type$.Iterable_dynamic._is(children) && !type$.List_dynamic._is(children)) + children = J.toList$1$growable$ax(children, false); + if (children == null) { + if (shouldAlwaysBeList) { + t1 = A._arrayInstanceType(childrenArgs); + t2 = t1._eval$1("MappedListIterable<1,Object?>"); + children = A.List_List$of(new A.MappedListIterable(childrenArgs, t1._eval$1("Object?(1)")._as(A.component_factory__listifyChildren$closure()), t2), true, t2._eval$1("ListIterable.E")); + } else + children = childrenArgs; + A.markChildrenValidated(children); + } + return children; }, - ConnectPropsMixin: function ConnectPropsMixin() { + generateJsProps(props, additionalRefPropKeys, convertCallbackRefValue, wrapWithJsify) { + var propsForJs = A.JsBackedMap_JsBackedMap$from(props); + A.convertRefValue2(propsForJs, additionalRefPropKeys, convertCallbackRefValue); + return wrapWithJsify ? type$.JsMap._as(A.jsifyAndAllowInterop(propsForJs)) : propsForJs.jsObject; }, - ParsedPath_ParsedPath$parse: function(path, style) { - var t1, parts, separators, start, i, - root = style.getRoot$1(path), - isRootRelative = style.isRootRelative$1(path); - if (root != null) - path = J.substring$1$s(path, root.length); - t1 = type$.JSArray_String; - parts = H.setRuntimeTypeInfo([], t1); - separators = H.setRuntimeTypeInfo([], t1); - t1 = path.length; - if (t1 !== 0 && style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, 0))) { - if (0 >= t1) - return H.ioore(path, 0); - C.JSArray_methods.add$1(separators, path[0]); - start = 1; - } else { - C.JSArray_methods.add$1(separators, ""); - start = 0; + convertRefValue2_closure: function convertRefValue2_closure(t0) { + this.ref = t0; + }, + markChildrenValidated(children) { + var t1, _i, child; + for (t1 = children.length, _i = 0; _i < children.length; children.length === t1 || (0, A.throwConcurrentModificationError)(children), ++_i) { + child = children[_i]; + if (A.boolConversionCheck(self.React.isValidElement(child))) + self._markChildValidated(child); } - for (i = start; i < t1; ++i) - if (style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, i))) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(path, start, i)); - C.JSArray_methods.add$1(separators, path[i]); - start = i + 1; + }, + InteropContextValue: function InteropContextValue() { + }, + ReactDartInteropStatics: function ReactDartInteropStatics() { + }, + ComponentStatics2: function ComponentStatics2(t0, t1, t2) { + this.componentFactory = t0; + this.instanceForStaticMethods = t1; + this.bridgeFactory = t2; + }, + JsComponentConfig: function JsComponentConfig() { + }, + JsComponentConfig2: function JsComponentConfig2() { + }, + validateJsApiThenReturn(computeReturn, $T) { + A.validateJsApi(); + return computeReturn.call$0(); + }, + validateJsApi() { + var exception, t1; + if ($._isJsApiValid) + return; + try { + self.React.isValidElement(null); + self.ReactDOM.findDOMNode(null); + A.registerComponent20(new A.validateJsApi_closure(), null, B.List_Zyt); + $._isJsApiValid = true; + } catch (exception) { + if (type$.NoSuchMethodError._is(A.unwrapException(exception))) + throw A.wrapException(A.Exception_Exception("react.js and react_dom.js must be loaded.")); + else { + t1 = A.Exception_Exception("Loaded react.js must include react-dart JS interop helpers."); + throw A.wrapException(t1); } - if (start < t1) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$1(path, start)); - C.JSArray_methods.add$1(separators, ""); } - return new X.ParsedPath(style, root, isRootRelative, parts, separators); }, - ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) { - var _ = this; - _.style = t0; - _.root = t1; - _.isRootRelative = t2; - _.parts = t3; - _.separators = t4; + DartValueWrapper_wrapIfNeeded(value) { + var t1 = type$.Function; + if (t1._is(value) && A.allowInterop(value, t1) !== value) + return new A.DartValueWrapper(value); + return value; }, - ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() { + DartValueWrapper_unwrapIfNeeded(value) { + if (value instanceof A.DartValueWrapper) + return value.value; + return value; }, - ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() { + validateJsApi_closure: function validateJsApi_closure() { }, - PathException$: function(message) { - return new X.PathException(message); + _DummyComponent2: function _DummyComponent2() { + this.__Component2_jsThis_A = this.__Component2_state_A = this.__Component2_props_A = $; }, - PathException: function PathException(t0) { - this.message = t0; + DartValueWrapper: function DartValueWrapper(t0) { + this.value = t0; }, - SeparatedBy_separatedBy: function(_this, separator, $T, $R) { - var t1 = type$.JSArray_Parser_dynamic, - t2 = type$.Parser_dynamic, - t3 = type$.SequenceParser_dynamic, - t4 = type$.List_dynamic; - t1 = H.setRuntimeTypeInfo([_this, Z.PossessiveRepeatingParserExtension_repeat(new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([separator, _this], t1), false, t2), t3), 0, 9007199254740991, t4)], t1); - return A.MapParserExtension_map(new Q.SequenceParser(P.List_List$of(t1, false, t2), t3), new X.SeparatedBy_separatedBy_closure(true, false, $R), false, t4, $R._eval$1("List<0>")); + SyntheticEvent: function SyntheticEvent() { + }, + SyntheticClipboardEvent: function SyntheticClipboardEvent() { + }, + SyntheticKeyboardEvent: function SyntheticKeyboardEvent() { + }, + SyntheticCompositionEvent: function SyntheticCompositionEvent() { + }, + SyntheticFocusEvent: function SyntheticFocusEvent() { + }, + SyntheticFormEvent: function SyntheticFormEvent() { + }, + NonNativeDataTransfer: function NonNativeDataTransfer() { + }, + SyntheticMouseEvent: function SyntheticMouseEvent() { + }, + SyntheticPointerEvent: function SyntheticPointerEvent() { }, - SeparatedBy_separatedBy_closure: function SeparatedBy_separatedBy_closure(t0, t1, t2) { - this.includeSeparators = t0; - this.optionalSeparatorAtEnd = t1; - this.R = t2; + SyntheticTouchEvent: function SyntheticTouchEvent() { + }, + SyntheticTransitionEvent: function SyntheticTransitionEvent() { + }, + SyntheticAnimationEvent: function SyntheticAnimationEvent() { + }, + SyntheticUIEvent: function SyntheticUIEvent() { + }, + SyntheticWheelEvent: function SyntheticWheelEvent() { }, - Store$: function(reducer, initialState, middleware, syncStream, State) { - var t1 = new X.Store(reducer, P.StreamController_StreamController$broadcast(null, false, State._eval$1("0*")), State._eval$1("Store<0>")); - t1.set$_state(initialState); - t1.set$_dispatchers(t1._createDispatchers$2(middleware, t1._createReduceAndNotify$1(false))); + Store$(reducer, initialState, middleware, syncStream, State) { + var t2, + t1 = new A.Store(reducer, A.StreamController_StreamController$broadcast(null, false, State), State._eval$1("Store<0>")); + t1.set$__Store__state_A(State._as(initialState)); + t2 = type$.List_of_dynamic_Function_dynamic._as(t1._createDispatchers$2(middleware, t1._createReduceAndNotify$1(false))); + t1.__Store__dispatchers_F !== $ && A.throwLateFieldAI("_dispatchers"); + t1.set$__Store__dispatchers_F(t2); return t1; }, Store: function Store(t0, t1, t2) { var _ = this; _.reducer = t0; _._changeController = t1; - _._dispatchers = _._state = null; + _.__Store__dispatchers_F = _.__Store__state_A = $; _.$ti = t2; }, Store__createReduceAndNotify_closure: function Store__createReduceAndNotify_closure(t0, t1) { @@ -15900,25193 +12777,28672 @@ this.nextMiddleware = t1; this.next = t2; }, - forbid_create_circular_strand_no_crossovers_middleware: function(store, action, next) { - var design, crossover, strand, crossovers_on, t1, t2, t3, strand_id, t4, crossovers, helix, offset_5p, $forward, msg, dna_end, domain, address_end, domain_other; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - design = store.get$state(store).design; - if (action instanceof U.ConvertCrossoverToLoopout) { - crossover = action.crossover; - strand = J.$index$asx(design.get$crossover_to_strand()._map$_map, crossover); - if (strand.circular && J.get$length$asx(strand.get$crossovers()._list) === 1) { - C.Window_methods.alert$1(window, 'This is the only crossover on this circular strand. It cannot be converted\nto a loopout.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); - return; - } - } else if (action instanceof U.ConvertCrossoversToLoopouts) { - crossovers_on = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Crossover); - for (t1 = J.get$iterator$ax(action.crossovers._list), t2 = type$.JSArray_legacy_Crossover; t1.moveNext$0();) { - t3 = t1.get$current(t1); - strand_id = t3.strand_id; - if (!crossovers_on.containsKey$1(0, strand_id)) - crossovers_on.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); - t4 = crossovers_on.$index(0, strand_id); - (t4 && C.JSArray_methods).add$1(t4, t3); - } - for (t1 = crossovers_on.get$keys(crossovers_on), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = design.__strands_by_id; - if (t3 == null) { - t3 = N.Design.prototype.get$strands_by_id.call(design); - design.set$__strands_by_id(t3); - } - strand = J.$index$asx(t3._map$_map, t2); - crossovers = crossovers_on.$index(0, t2); - t2 = strand.__crossovers; - if (t2 == null) { - t2 = E.Strand.prototype.get$crossovers.call(strand); - strand.set$__crossovers(t2); - } - if (J.get$length$asx(t2._list) === crossovers.length) { - t1 = strand.__first_domain; - if (t1 == null) { - t1 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t2 = t1; - } else - t2 = t1; - helix = t1.helix; - t1 = t2 == null ? strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand) : t2; - offset_5p = t1.__offset_5p; - if (offset_5p == null) - offset_5p = t1.__offset_5p = G.Domain.prototype.get$offset_5p.call(t1); - t1 = strand.__first_domain; - $forward = (t1 == null ? strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand) : t1).forward; - msg = "The strand with 5' end at helix " + helix + ", offset " + offset_5p + ", forward = " + $forward + ' \ncannot have all of its crossovers converted to Loopouts.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'; - C.Window_methods.alert$1(window, msg); - return; - } - } - } else if (action instanceof U.Ligate) { - dna_end = action.dna_end; - t1 = design.get$substrand_to_strand(); - t2 = J.$index$asx(design.get$end_to_domain()._map$_map, dna_end); - t2 = J.$index$asx(t1._map$_map, t2); - domain = J.$index$asx(design.get$end_to_domain()._map$_map, dna_end); - t1 = dna_end.is_start; - address_end = t1 ? domain.get$address_start() : domain.get$address_end(); - domain_other = design.domain_on_helix_at$1(address_end.rebuild$1(new X.forbid_create_circular_strand_no_crossovers_middleware_closure(t1 ? -1 : 1))); - if (t2 == J.$index$asx(design.get$substrand_to_strand()._map$_map, domain_other) && J.get$isEmpty$asx(t2.get$crossovers()._list)) { - C.Window_methods.alert$1(window, 'This strand has no crossovers so cannot be made circular.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); - return; - } - } - next.call$1(action); + TypedReducer$(reducer, State, Action) { + return new A.TypedReducer(reducer, State._eval$1("@<0>")._bind$1(Action)._eval$1("TypedReducer<1,2>")); }, - forbid_create_circular_strand_no_crossovers_middleware_closure: function forbid_create_circular_strand_no_crossovers_middleware_closure(t0) { - this.delta = t0; + combineReducers(reducers, State) { + return new A.combineReducers_closure(reducers, State); }, - convert_crossover_to_loopout_reducer: function(strand, action) { - var t1, t2, loopout_new, substrands, first_dom, i, _box_0 = {}; - type$.legacy_Strand._as(strand); - type$.legacy_ConvertCrossoverToLoopout._as(action); - t1 = action.length; - t2 = action.crossover; - loopout_new = G.Loopout_Loopout(strand.is_scaffold, t1, t2.prev_domain_idx); - t1 = strand.substrands; - substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - _box_0.substrands = substrands; - t2 = t2.next_domain_idx; - substrands.insert$2(0, t2, loopout_new); - if (t2 === 0) { - first_dom = -1; - i = 0; - while (true) { - t1 = J.get$length$asx(_box_0.substrands); - if (typeof t1 !== "number") - return t1.$sub(); - if (!(i < t1 - 1)) - break; - if (J.$index$asx(_box_0.substrands, i) instanceof G.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof G.Domain) - first_dom = i + 1; - ++i; - } - if (first_dom < 0) - return strand; - _box_0.substrands = J.$add$ansx(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); - } - return strand.rebuild$1(new X.convert_crossover_to_loopout_reducer_closure(_box_0)).initialize$0(0); + TypedReducer: function TypedReducer(t0, t1) { + this.reducer = t0; + this.$ti = t1; }, - convert_crossovers_to_loopouts_reducer: function(strands, state, action) { - var crossovers_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, strand, strand_idx, substrands_builder, t13, t14, crossovers, num_crossovers_processed_on_strand, _i, crossover, t15, t16, t17, new_strand, - _s12_ = "null element", - _s5_ = "_list"; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_ConvertCrossoversToLoopouts._as(action); - crossovers_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Crossover); - for (t1 = J.get$iterator$ax(action.crossovers._list), t2 = type$.JSArray_legacy_Crossover; t1.moveNext$0();) { - t3 = t1.get$current(t1); - strand_id = t3.strand_id; - if (!crossovers_on_strand_id.containsKey$1(0, strand_id)) - crossovers_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); - t4 = crossovers_on_strand_id.$index(0, strand_id); - (t4 && C.JSArray_methods).add$1(t4, t3); - } - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - for (t2 = crossovers_on_strand_id.get$keys(crossovers_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.length, t7 = strands._list, t8 = J.getInterceptor$asx(t7), t9 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t10 = t2.get$current(t2); - t11 = state.design; - t12 = t11.__strands_by_id; - if (t12 == null) { - t12 = N.Design.prototype.get$strands_by_id.call(t11); - t11.set$__strands_by_id(t12); - t11 = t12; - } else - t11 = t12; - strand = J.$index$asx(t11._map$_map, t10); - strand_idx = t8.indexOf$2(t7, t1._as(strand), 0); - t11 = strand.substrands; - t11.toString; - t12 = t11.$ti; - substrands_builder = new D.ListBuilder(t12._eval$1("ListBuilder<1>")); - t13 = t12._eval$1("_BuiltList<1>"); - t14 = t12._eval$1("List<1>"); - if (t13._is(t11)) { - t13._as(t11); - substrands_builder.set$__ListBuilder__list(t14._as(t11._list)); - substrands_builder.set$_listOwner(t11); - } else { - substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t11, true, t12._precomputed1))); - substrands_builder.set$_listOwner(null); - } - crossovers = crossovers_on_strand_id.$index(0, t10); - crossovers.toString; - t10 = H._arrayInstanceType(crossovers); - t11 = t10._eval$1("int(1,1)?")._as(new X.convert_crossovers_to_loopouts_reducer_closure()); - if (!!crossovers.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t10 = t10._precomputed1; - t13 = crossovers.length - 1; - if (t13 - 0 <= 32) - H.Sort__insertionSort(crossovers, 0, t13, t11, t10); - else - H.Sort__dualPivotQuicksort(crossovers, 0, t13, t11, t10); - for (t10 = crossovers.length, t11 = strand.is_scaffold, t12 = t12._precomputed1, t13 = !t12._is(null), num_crossovers_processed_on_strand = 0, _i = 0; _i < crossovers.length; crossovers.length === t10 || (0, H.throwConcurrentModificationError)(crossovers), ++_i) { - crossover = crossovers[_i]; - t15 = crossover.prev_domain_idx; - t16 = crossover.next_domain_idx; - t15 = t12._as(G.Loopout_Loopout(t11, t6, t15 + num_crossovers_processed_on_strand)); - if (!$.$get$isSoundMode() && t13) - if (t15 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (substrands_builder._listOwner != null) { - t17 = substrands_builder.__ListBuilder__list; - substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t17 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t17, true, t12))); - substrands_builder.set$_listOwner(null); - } - t17 = substrands_builder.__ListBuilder__list; - if (t17 === $) - t17 = H.throwExpression(H.LateError$fieldNI(_s5_)); - J.insert$2$ax(t17, t16 + num_crossovers_processed_on_strand, t15); - ++num_crossovers_processed_on_strand; - } - t10 = t5._as(new X.convert_crossovers_to_loopouts_reducer_closure0(substrands_builder)); - t11 = new E.StrandBuilder(); - t11._strand$_$v = strand; - t10.call$1(t11); - new_strand = t11.build$0(); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t10 = new_strand.__first_domain; - if (t10 == null) - t10 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t10.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - t4._as(strand); - if (!$.$get$isSoundMode() && t9) - if (strand == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (strands_builder._listOwner != null) { - t10 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t10 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t10, true, t4))); - strands_builder.set$_listOwner(null); - } - t10 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t10 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t10, strand_idx, strand); - } - return strands_builder.build$0(); + combineReducers_closure: function combineReducers_closure(t0, t1) { + this.reducers = t0; + this.State = t1; }, - loopouts_length_change_reducer: function(strands, state, action) { - var loopouts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand, strand_idx, substrands, loopouts, t16, _i, loopout, loopout_idx, new_strand; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_LoopoutsLengthChange._as(action); - loopouts_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Loopout); - for (t1 = J.get$iterator$ax(action.loopouts._list), t2 = type$.JSArray_legacy_Loopout; t1.moveNext$0();) { - t3 = t1.get$current(t1); - strand_id = t3.strand_id; - if (!loopouts_on_strand_id.containsKey$1(0, strand_id)) - loopouts_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); - t4 = loopouts_on_strand_id.$index(0, strand_id); - (t4 && C.JSArray_methods).add$1(t4, t3); + SkipUndo_SkipUndo(undoable_action) { + var _$result, t2, t3, + _s8_ = "SkipUndo", + _s15_ = "undoable_action", + t1 = new A.SkipUndoBuilder(); + type$.nullable_void_Function_SkipUndoBuilder._as(new A.SkipUndo_SkipUndo_closure(undoable_action)).call$1(t1); + _$result = t1._$v; + if (_$result == null) { + t2 = type$.UndoableAction; + t3 = A.BuiltValueNullFieldError_checkNotNull(t1.get$_$this()._undoable_action, _s8_, _s15_, t2); + _$result = new A._$SkipUndo(t3); + A.BuiltValueNullFieldError_checkNotNull(t3, _s8_, _s15_, t2); } - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - for (t2 = loopouts_on_strand_id.get$keys(loopouts_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.length, t7 = t6 === 0, t6 = t6 > 0, t8 = type$.legacy_void_Function_legacy_LoopoutBuilder, t9 = type$.legacy_Loopout, t10 = strands._list, t11 = J.getInterceptor$asx(t10), t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t13 = t2.get$current(t2); - t14 = state.design; - t15 = t14.__strands_by_id; - if (t15 == null) { - t15 = N.Design.prototype.get$strands_by_id.call(t14); - t14.set$__strands_by_id(t15); - t14 = t15; - } else - t14 = t15; - strand = J.$index$asx(t14._map$_map, t13); - strand_idx = t11.indexOf$2(t10, t1._as(strand), 0); - t14 = strand.substrands; - t15 = H._instanceType(t14); - substrands = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); - loopouts = loopouts_on_strand_id.$index(0, t13); - loopouts.toString; - t13 = H._arrayInstanceType(loopouts); - t14 = t13._eval$1("int(1,1)?")._as(new X.loopouts_length_change_reducer_closure()); - if (!!loopouts.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t13 = t13._precomputed1; - t16 = loopouts.length - 1; - if (t16 - 0 <= 32) - H.Sort__insertionSort(loopouts, 0, t16, t14, t13); - else - H.Sort__dualPivotQuicksort(loopouts, 0, t16, t14, t13); - for (t13 = loopouts.length, t15 = t15._precomputed1, _i = 0; _i < loopouts.length; loopouts.length === t13 || (0, H.throwConcurrentModificationError)(loopouts), ++_i) { - loopout = loopouts[_i]; - t15._as(loopout); - loopout_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, loopout, 0); - if (t6) { - loopout.toString; - t14 = t8._as(new X.loopouts_length_change_reducer_closure0(action)); - t16 = new G.LoopoutBuilder(); - t9._as(loopout); - t16._loopout$_$v = loopout; - t14.call$1(t16); - t14 = t15._as(t16.build$0()); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, loopout_idx, t14); - } else if (t7) { - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeAt$1$ax(substrands._copy_on_write_list$_list, loopout_idx); - } - } - t13 = t5._as(new X.loopouts_length_change_reducer_closure1(substrands)); - t14 = new E.StrandBuilder(); - t14._strand$_$v = strand; - t13.call$1(t14); - new_strand = t14.build$0(); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t13 = new_strand.__first_domain; - if (t13 == null) - t13 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t13.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - t4._as(strand); - if (!$.$get$isSoundMode() && t12) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - if (strands_builder._listOwner != null) { - t13 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t4))); - strands_builder.set$_listOwner(null); - } - t13 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, strand_idx, strand); - } - return strands_builder.build$0(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SkipUndo); + return t1._$v = _$result; }, - extensions_num_bases_change_reducer: function(strands, state, action) { - var exts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand, strand_idx, substrands, exts, _i, ext, idx, t16, new_strand; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_ExtensionsNumBasesChange._as(action); - exts_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Extension); - for (t1 = J.get$iterator$ax(action.extensions._list), t2 = type$.JSArray_legacy_Extension; t1.moveNext$0();) { - t3 = t1.get$current(t1); - strand_id = t3.strand_id; - if (!exts_on_strand_id.containsKey$1(0, strand_id)) - exts_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); - t4 = exts_on_strand_id.$index(0, strand_id); - (t4 && C.JSArray_methods).add$1(t4, t3); - } - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - for (t2 = exts_on_strand_id.get$keys(exts_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.num_bases, t7 = t6 === 0, t6 = t6 > 0, t8 = type$.legacy_void_Function_legacy_ExtensionBuilder, t9 = type$.legacy_Extension, t10 = strands._list, t11 = J.getInterceptor$asx(t10), t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t13 = t2.get$current(t2); - t14 = state.design; - t15 = t14.__strands_by_id; - if (t15 == null) { - t15 = N.Design.prototype.get$strands_by_id.call(t14); - t14.set$__strands_by_id(t15); - t14 = t15; - } else - t14 = t15; - strand = J.$index$asx(t14._map$_map, t13); - strand_idx = t11.indexOf$2(t10, t1._as(strand), 0); - t14 = strand.substrands; - t15 = H._instanceType(t14); - substrands = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); - exts = exts_on_strand_id.$index(0, t13); - for (t13 = exts.length, t15 = t15._precomputed1, _i = 0; _i < exts.length; exts.length === t13 || (0, H.throwConcurrentModificationError)(exts), ++_i) { - ext = exts[_i]; - t15._as(ext); - idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, ext, 0); - if (t6) { - ext.toString; - t14 = t8._as(new X.extensions_num_bases_change_reducer_closure(action)); - t16 = new S.ExtensionBuilder(); - t9._as(ext); - t16._extension$_$v = ext; - t14.call$1(t16); - t14 = t15._as(t16.build$0()); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, idx, t14); - } else if (t7) - throw H.wrapException(P.AssertionError$(string$.extens)); - } - t13 = t5._as(new X.extensions_num_bases_change_reducer_closure0(substrands)); - t14 = new E.StrandBuilder(); - t14._strand$_$v = strand; - t13.call$1(t14); - new_strand = t14.build$0(); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t13 = new_strand.__first_domain; - if (t13 == null) - t13 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t13.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - t4._as(strand); - if (!$.$get$isSoundMode() && t12) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - if (strands_builder._listOwner != null) { - t13 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t4))); - strands_builder.set$_listOwner(null); - } - t13 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, strand_idx, strand); - } - return strands_builder.build$0(); + Undo_Undo(num_undos) { + var t1 = new A.UndoBuilder(); + type$.nullable_void_Function_UndoBuilder._as(new A.Undo_Undo_closure(num_undos)).call$1(t1); + return t1._build$0(); + }, + Redo_Redo(num_redos) { + var t1 = new A.RedoBuilder(); + type$.nullable_void_Function_RedoBuilder._as(new A.Redo_Redo_closure(num_redos)).call$1(t1); + return t1._build$0(); + }, + BatchAction_BatchAction(actions, short_description_value) { + var t1 = new A.BatchActionBuilder(); + type$.nullable_void_Function_BatchActionBuilder._as(new A.BatchAction_BatchAction_closure(actions, short_description_value)).call$1(t1); + return t1._build$0(); + }, + ThrottledActionFast_ThrottledActionFast(action, interval_sec) { + var t1 = new A.ThrottledActionFastBuilder(); + type$.nullable_void_Function_ThrottledActionFastBuilder._as(new A.ThrottledActionFast_ThrottledActionFast_closure(action, interval_sec)).call$1(t1); + return t1._build$0(); + }, + ThrottledActionNonFast_ThrottledActionNonFast(action, interval_sec) { + var t1 = new A.ThrottledActionNonFastBuilder(); + type$.nullable_void_Function_ThrottledActionNonFastBuilder._as(new A.ThrottledActionNonFast_ThrottledActionNonFast_closure(action, interval_sec)).call$1(t1); + return t1._build$0(); + }, + EditModeToggle_EditModeToggle(mode) { + var t1 = new A.EditModeToggleBuilder(); + type$.nullable_void_Function_EditModeToggleBuilder._as(new A.EditModeToggle_EditModeToggle_closure(mode)).call$1(t1); + return t1._build$0(); + }, + SelectModeToggle_SelectModeToggle(select_mode_choice) { + var t1 = new A.SelectModeToggleBuilder(); + type$.nullable_void_Function_SelectModeToggleBuilder._as(new A.SelectModeToggle_SelectModeToggle_closure(select_mode_choice)).call$1(t1); + return t1._build$0(); + }, + SetAppUIStateStorable_SetAppUIStateStorable(storables) { + var t1 = new A.SetAppUIStateStorableBuilder(); + type$.nullable_void_Function_SetAppUIStateStorableBuilder._as(new A.SetAppUIStateStorable_SetAppUIStateStorable_closure(storables)).call$1(t1); + return t1._build$0(); + }, + ShowDNASet_ShowDNASet(show) { + var t1 = new A.ShowDNASetBuilder(); + type$.nullable_void_Function_ShowDNASetBuilder._as(new A.ShowDNASet_ShowDNASet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowDomainNamesSet_ShowDomainNamesSet(show) { + var t1 = new A.ShowDomainNamesSetBuilder(); + type$.nullable_void_Function_ShowDomainNamesSetBuilder._as(new A.ShowDomainNamesSet_ShowDomainNamesSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowStrandNamesSet_ShowStrandNamesSet(show) { + var t1 = new A.ShowStrandNamesSetBuilder(); + type$.nullable_void_Function_ShowStrandNamesSetBuilder._as(new A.ShowStrandNamesSet_ShowStrandNamesSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowStrandLabelsSet_ShowStrandLabelsSet(show) { + var t1 = new A.ShowStrandLabelsSetBuilder(); + type$.nullable_void_Function_ShowStrandLabelsSetBuilder._as(new A.ShowStrandLabelsSet_ShowStrandLabelsSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowDomainLabelsSet_ShowDomainLabelsSet(show) { + var t1 = new A.ShowDomainLabelsSetBuilder(); + type$.nullable_void_Function_ShowDomainLabelsSetBuilder._as(new A.ShowDomainLabelsSet_ShowDomainLabelsSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowModificationsSet_ShowModificationsSet(show) { + var t1 = new A.ShowModificationsSetBuilder(); + type$.nullable_void_Function_ShowModificationsSetBuilder._as(new A.ShowModificationsSet_ShowModificationsSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ModificationFontSizeSet_ModificationFontSizeSet(font_size) { + var t1 = new A.ModificationFontSizeSetBuilder(); + type$.nullable_void_Function_ModificationFontSizeSetBuilder._as(new A.ModificationFontSizeSet_ModificationFontSizeSet_closure(font_size)).call$1(t1); + return t1._build$0(); + }, + MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet(font_size) { + var t1 = new A.MajorTickOffsetFontSizeSetBuilder(); + type$.nullable_void_Function_MajorTickOffsetFontSizeSetBuilder._as(new A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(font_size)).call$1(t1); + return t1._build$0(); + }, + MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet(font_size) { + var t1 = new A.MajorTickWidthFontSizeSetBuilder(); + type$.nullable_void_Function_MajorTickWidthFontSizeSetBuilder._as(new A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(font_size)).call$1(t1); + return t1._build$0(); + }, + SetModificationDisplayConnector_SetModificationDisplayConnector(show) { + var t1 = new A.SetModificationDisplayConnectorBuilder(); + type$.nullable_void_Function_SetModificationDisplayConnectorBuilder._as(new A.SetModificationDisplayConnector_SetModificationDisplayConnector_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowMismatchesSet_ShowMismatchesSet(show) { + var t1 = new A.ShowMismatchesSetBuilder(); + type$.nullable_void_Function_ShowMismatchesSetBuilder._as(new A.ShowMismatchesSet_ShowMismatchesSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet(show_domain_name_mismatches) { + var t1 = new A.ShowDomainNameMismatchesSetBuilder(); + type$.nullable_void_Function_ShowDomainNameMismatchesSetBuilder._as(new A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(show_domain_name_mismatches)).call$1(t1); + return t1._build$0(); + }, + ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet(show_unpaired_insertion_deletions) { + var t1 = new A.ShowUnpairedInsertionDeletionsSetBuilder(); + type$.nullable_void_Function_ShowUnpairedInsertionDeletionsSetBuilder._as(new A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(show_unpaired_insertion_deletions)).call$1(t1); + return t1._build$0(); + }, + OxviewShowSet_OxviewShowSet(show) { + var t1 = new A.OxviewShowSetBuilder(); + type$.nullable_void_Function_OxviewShowSetBuilder._as(new A.OxviewShowSet_OxviewShowSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(show) { + var t1 = new A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(); + type$.nullable_void_Function_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder._as(new A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(show)).call$1(t1); + return t1._build$0(); + }, + DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet(show) { + var t1 = new A.DisplayMajorTicksOffsetsSetBuilder(); + type$.nullable_void_Function_DisplayMajorTicksOffsetsSetBuilder._as(new A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices(show) { + var t1 = new A.SetDisplayMajorTickWidthsAllHelicesBuilder(); + type$.nullable_void_Function_SetDisplayMajorTickWidthsAllHelicesBuilder._as(new A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(show)).call$1(t1); + return t1._build$0(); + }, + SetDisplayMajorTickWidths_SetDisplayMajorTickWidths(show) { + var t1 = new A.SetDisplayMajorTickWidthsBuilder(); + type$.nullable_void_Function_SetDisplayMajorTickWidthsBuilder._as(new A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(show)).call$1(t1); + return t1._build$0(); + }, + SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices(only_display_selected_helices) { + var t1 = new A.SetOnlyDisplaySelectedHelicesBuilder(); + type$.nullable_void_Function_SetOnlyDisplaySelectedHelicesBuilder._as(new A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(only_display_selected_helices)).call$1(t1); + return t1._build$0(); + }, + LoadDNAFile_LoadDNAFile($content, dna_file_type, filename, unit_testing, write_local_storage) { + var t1 = new A.LoadDNAFileBuilder(); + type$.nullable_void_Function_LoadDNAFileBuilder._as(new A.LoadDNAFile_LoadDNAFile_closure($content, filename, write_local_storage, unit_testing, dna_file_type)).call$1(t1); + return t1._build$0(); + }, + PrepareToLoadDNAFile_PrepareToLoadDNAFile($content, dna_file_type, filename, write_local_storage) { + var t1 = new A.PrepareToLoadDNAFileBuilder(); + type$.nullable_void_Function_PrepareToLoadDNAFileBuilder._as(new A.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure($content, filename, write_local_storage, false, dna_file_type)).call$1(t1); + return t1._build$0(); + }, + NewDesignSet_NewDesignSet(design, short_description_value) { + var t1 = new A.NewDesignSetBuilder(); + type$.nullable_void_Function_NewDesignSetBuilder._as(new A.NewDesignSet_NewDesignSet_closure(design, short_description_value)).call$1(t1); + return t1._build$0(); + }, + ShowMouseoverDataSet_ShowMouseoverDataSet(show) { + var t1 = new A.ShowMouseoverDataSetBuilder(); + type$.nullable_void_Function_ShowMouseoverDataSetBuilder._as(new A.ShowMouseoverDataSet_ShowMouseoverDataSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + HelixRollSetAtOther_HelixRollSetAtOther(helix_idx, helix_other_idx, $forward, anchor) { + var t1 = new A.HelixRollSetAtOtherBuilder(); + type$.nullable_void_Function_HelixRollSetAtOtherBuilder._as(new A.HelixRollSetAtOther_HelixRollSetAtOther_closure(helix_idx, helix_other_idx, $forward, anchor)).call$1(t1); + return t1._build$0(); + }, + ErrorMessageSet_ErrorMessageSet(error_message) { + var t1 = new A.ErrorMessageSetBuilder(); + type$.nullable_void_Function_ErrorMessageSetBuilder._as(new A.ErrorMessageSet_ErrorMessageSet_closure(error_message)).call$1(t1); + return t1._build$0(); + }, + SelectionBoxCreate_SelectionBoxCreate(point, toggle, is_main) { + var t1 = new A.SelectionBoxCreateBuilder(); + type$.nullable_void_Function_SelectionBoxCreateBuilder._as(new A.SelectionBoxCreate_SelectionBoxCreate_closure(point, toggle, is_main)).call$1(t1); + return t1._build$0(); + }, + SelectionBoxSizeChange_SelectionBoxSizeChange(point, is_main) { + var t1 = new A.SelectionBoxSizeChangeBuilder(); + type$.nullable_void_Function_SelectionBoxSizeChangeBuilder._as(new A.SelectionBoxSizeChange_SelectionBoxSizeChange_closure(point, is_main)).call$1(t1); + return t1._build$0(); + }, + SelectionBoxRemove_SelectionBoxRemove(is_main) { + var t1 = new A.SelectionBoxRemoveBuilder(); + type$.nullable_void_Function_SelectionBoxRemoveBuilder._as(new A.SelectionBoxRemove_SelectionBoxRemove_closure(is_main)).call$1(t1); + return t1._build$0(); + }, + MouseGridPositionSideUpdate_MouseGridPositionSideUpdate(grid_position) { + var t1 = new A.MouseGridPositionSideUpdateBuilder(); + type$.nullable_void_Function_MouseGridPositionSideUpdateBuilder._as(new A.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(grid_position)).call$1(t1); + return t1._build$0(); + }, + MouseGridPositionSideClear_MouseGridPositionSideClear() { + var t1 = new A.MouseGridPositionSideClearBuilder(); + type$.nullable_void_Function_MouseGridPositionSideClearBuilder._as(new A.MouseGridPositionSideClear_MouseGridPositionSideClear_closure()).call$1(t1); + return t1._build$0(); + }, + Select_Select(selectable, only, toggle) { + var t1 = new A.SelectBuilder(); + type$.nullable_void_Function_SelectBuilder._as(new A.Select_Select_closure(selectable, toggle, only)).call$1(t1); + return t1._build$0(); + }, + SelectionsClear_SelectionsClear() { + var t1 = new A.SelectionsClearBuilder(); + type$.nullable_void_Function_SelectionsClearBuilder._as(new A.SelectionsClear_SelectionsClear_closure()).call$1(t1); + return t1._build$0(); + }, + SelectAllSelectable_SelectAllSelectable(current_helix_group_only) { + var t1 = new A.SelectAllSelectableBuilder(); + type$.nullable_void_Function_SelectAllSelectableBuilder._as(new A.SelectAllSelectable_SelectAllSelectable_closure(current_helix_group_only)).call$1(t1); + return t1._build$0(); + }, + DeleteAllSelected_DeleteAllSelected() { + var t1 = new A.DeleteAllSelectedBuilder(); + type$.nullable_void_Function_DeleteAllSelectedBuilder._as(new A.DeleteAllSelected_DeleteAllSelected_closure()).call$1(t1); + return t1._build$0(); + }, + HelixAdd_HelixAdd(grid_position, position) { + if (grid_position != null) + return A._$HelixAdd__$HelixAdd(new A.HelixAdd_HelixAdd_closure(grid_position)); + else if (position != null) + return A._$HelixAdd__$HelixAdd(new A.HelixAdd_HelixAdd_closure0(position)); + else + throw A.wrapException(A.AssertionError$("cannot have both grid_position and position null in HelixAdd")); + }, + HelixRemove_HelixRemove(helix_idx) { + var t1 = new A.HelixRemoveBuilder(); + type$.nullable_void_Function_HelixRemoveBuilder._as(new A.HelixRemove_HelixRemove_closure(helix_idx)).call$1(t1); + return t1._build$0(); + }, + HelixSelect_HelixSelect(helix_idx, toggle) { + var t1 = new A.HelixSelectBuilder(); + type$.nullable_void_Function_HelixSelectBuilder._as(new A.HelixSelect_HelixSelect_closure(helix_idx, toggle)).call$1(t1); + return t1._build$0(); + }, + HelixSelectionsClear_HelixSelectionsClear() { + var t1 = new A.HelixSelectionsClearBuilder(); + type$.nullable_void_Function_HelixSelectionsClearBuilder._as(new A.HelixSelectionsClear_HelixSelectionsClear_closure()).call$1(t1); + return t1._build$0(); + }, + HelixSelectionsAdjust_HelixSelectionsAdjust(toggle, selection_box) { + var t1 = new A.HelixSelectionsAdjustBuilder(); + type$.nullable_void_Function_HelixSelectionsAdjustBuilder._as(new A.HelixSelectionsAdjust_HelixSelectionsAdjust_closure(toggle, selection_box)).call$1(t1); + return t1._build$0(); + }, + HelixIdxsChange_HelixIdxsChange(idx_replacements) { + var t1 = new A.HelixIdxsChangeBuilder(); + type$.nullable_void_Function_HelixIdxsChangeBuilder._as(new A.HelixIdxsChange_HelixIdxsChange_closure(idx_replacements)).call$1(t1); + return t1._build$0(); + }, + ExportDNA_ExportDNA(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, export_dna_format, include_only_selected_strands, include_scaffold, strand_order) { + var t1 = new A.ExportDNABuilder(); + type$.nullable_void_Function_ExportDNABuilder._as(new A.ExportDNA_ExportDNA_closure(include_scaffold, include_only_selected_strands, exclude_selected_strands, export_dna_format, delimiter, domain_delimiter, strand_order, column_major_strand, column_major_plate)).call$1(t1); + return t1._build$0(); + }, + ExportCanDoDNA_ExportCanDoDNA() { + var _$result, + t1 = new A.ExportCanDoDNABuilder(); + type$.nullable_void_Function_ExportCanDoDNABuilder._as(new A.ExportCanDoDNA_ExportCanDoDNA_closure()).call$1(t1); + _$result = t1._$v; + if (_$result == null) + _$result = new A._$ExportCanDoDNA(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportCanDoDNA); + return t1._$v = _$result; }, - loopout_length_change_reducer: function(strand, action) { - var t1, t2, t3, loopout_idx, substrands_builder; - type$.legacy_Strand._as(strand); - type$.legacy_LoopoutLengthChange._as(action); - t1 = strand.substrands; - t2 = action.loopout; - t1.toString; - t3 = t1.$ti._precomputed1; - t3._as(t2); - loopout_idx = J.indexOf$2$asx(t1._list, t2, 0); - substrands_builder = D.ListBuilder_ListBuilder(t1, t3); - t1 = action.num_bases; - if (t1 > 0) { - t1 = substrands_builder.$ti._precomputed1; - t2 = t1._as(t2.rebuild$1(new X.loopout_length_change_reducer_closure(action))); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(substrands_builder.get$_safeList(), loopout_idx, t2); - } else if (t1 === 0) - J.removeAt$1$ax(substrands_builder.get$_safeList(), loopout_idx); - return strand.rebuild$1(new X.loopout_length_change_reducer_closure0(substrands_builder)); + ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet(export_svg_text_separately) { + var t1 = new A.ExportSvgTextSeparatelySetBuilder(); + type$.nullable_void_Function_ExportSvgTextSeparatelySetBuilder._as(new A.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(export_svg_text_separately)).call$1(t1); + return t1._build$0(); + }, + ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet(display_angle, display_length, ext) { + var t1 = new A.ExtensionDisplayLengthAngleSetBuilder(); + type$.nullable_void_Function_ExtensionDisplayLengthAngleSetBuilder._as(new A.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(ext, display_length, display_angle)).call$1(t1); + return t1._build$0(); + }, + ExtensionAdd_ExtensionAdd(is_5p, num_bases, strand) { + var t1 = new A.ExtensionAddBuilder(); + type$.nullable_void_Function_ExtensionAddBuilder._as(new A.ExtensionAdd_ExtensionAdd_closure(strand, is_5p, num_bases)).call$1(t1); + return t1._build$0(); + }, + ExtensionNumBasesChange_ExtensionNumBasesChange(ext, num_bases) { + var t1 = new A.ExtensionNumBasesChangeBuilder(); + type$.nullable_void_Function_ExtensionNumBasesChangeBuilder._as(new A.ExtensionNumBasesChange_ExtensionNumBasesChange_closure(ext, num_bases)).call$1(t1); + return t1._build$0(); + }, + ExtensionsNumBasesChange_ExtensionsNumBasesChange(extensions, num_bases) { + var t1 = new A.ExtensionsNumBasesChangeBuilder(); + type$.nullable_void_Function_ExtensionsNumBasesChangeBuilder._as(new A.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(extensions, num_bases)).call$1(t1); + return t1._build$0(); + }, + LoopoutLengthChange_LoopoutLengthChange(loopout, num_bases) { + var t1 = new A.LoopoutLengthChangeBuilder(); + type$.nullable_void_Function_LoopoutLengthChangeBuilder._as(new A.LoopoutLengthChange_LoopoutLengthChange_closure(loopout, num_bases)).call$1(t1); + return t1._build$0(); + }, + LoopoutsLengthChange_LoopoutsLengthChange(loopouts, $length) { + var t1 = new A.LoopoutsLengthChangeBuilder(); + type$.nullable_void_Function_LoopoutsLengthChangeBuilder._as(new A.LoopoutsLengthChange_LoopoutsLengthChange_closure(loopouts, $length)).call$1(t1); + return t1._build$0(); + }, + ConvertCrossoverToLoopout_ConvertCrossoverToLoopout(crossover, $length, dna_sequence) { + var t1 = new A.ConvertCrossoverToLoopoutBuilder(); + type$.nullable_void_Function_ConvertCrossoverToLoopoutBuilder._as(new A.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(crossover, $length, dna_sequence)).call$1(t1); + return t1._build$0(); + }, + ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts(crossovers, $length) { + var t1 = new A.ConvertCrossoversToLoopoutsBuilder(); + type$.nullable_void_Function_ConvertCrossoversToLoopoutsBuilder._as(new A.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(crossovers, $length)).call$1(t1); + return t1._build$0(); + }, + ManualPasteInitiate_ManualPasteInitiate(clipboard_content) { + var t1 = new A.ManualPasteInitiateBuilder(); + type$.nullable_void_Function_ManualPasteInitiateBuilder._as(new A.ManualPasteInitiate_ManualPasteInitiate_closure(clipboard_content, true)).call$1(t1); + return t1._build$0(); + }, + AutoPasteInitiate_AutoPasteInitiate(clipboard_content) { + var t1 = new A.AutoPasteInitiateBuilder(); + type$.nullable_void_Function_AutoPasteInitiateBuilder._as(new A.AutoPasteInitiate_AutoPasteInitiate_closure(clipboard_content, true)).call$1(t1); + return t1._build$0(); + }, + AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands(strands) { + var t1 = new A.AssignDNAComplementFromBoundStrandsBuilder(); + type$.nullable_void_Function_AssignDNAComplementFromBoundStrandsBuilder._as(new A.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(strands)).call$1(t1); + return t1._build$0(); + }, + AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands(strands) { + var t1 = new A.AssignDomainNameComplementFromBoundStrandsBuilder(); + type$.nullable_void_Function_AssignDomainNameComplementFromBoundStrandsBuilder._as(new A.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(strands)).call$1(t1); + return t1._build$0(); + }, + AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains(domains) { + var t1 = new A.AssignDomainNameComplementFromBoundDomainsBuilder(); + type$.nullable_void_Function_AssignDomainNameComplementFromBoundDomainsBuilder._as(new A.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(domains)).call$1(t1); + return t1._build$0(); + }, + InsertionLengthChange_InsertionLengthChange(domain, insertion, $length) { + var t1 = new A.InsertionLengthChangeBuilder(); + type$.nullable_void_Function_InsertionLengthChangeBuilder._as(new A.InsertionLengthChange_InsertionLengthChange_closure(domain, insertion, $length)).call$1(t1); + return t1._build$0(); + }, + InsertionsLengthChange_InsertionsLengthChange(domains, insertions, $length) { + var t1 = new A.InsertionsLengthChangeBuilder(); + type$.nullable_void_Function_InsertionsLengthChangeBuilder._as(new A.InsertionsLengthChange_InsertionsLengthChange_closure(insertions, domains, $length)).call$1(t1); + return t1._build$0(); + }, + InsertionRemove_InsertionRemove(domain, insertion) { + var t1 = new A.InsertionRemoveBuilder(); + type$.nullable_void_Function_InsertionRemoveBuilder._as(new A.InsertionRemove_InsertionRemove_closure(domain, insertion)).call$1(t1); + return t1._build$0(); + }, + DeletionRemove_DeletionRemove(domain, offset) { + var t1 = new A.DeletionRemoveBuilder(); + type$.nullable_void_Function_DeletionRemoveBuilder._as(new A.DeletionRemove_DeletionRemove_closure(domain, offset)).call$1(t1); + return t1._build$0(); + }, + Modifications5PrimeEdit_Modifications5PrimeEdit(modifications, new_modification) { + var t1 = new A.Modifications5PrimeEditBuilder(); + type$.nullable_void_Function_Modifications5PrimeEditBuilder._as(new A.Modifications5PrimeEdit_Modifications5PrimeEdit_closure(modifications, new_modification)).call$1(t1); + return t1._build$0(); + }, + Modifications3PrimeEdit_Modifications3PrimeEdit(modifications, new_modification) { + var t1 = new A.Modifications3PrimeEditBuilder(); + type$.nullable_void_Function_Modifications3PrimeEditBuilder._as(new A.Modifications3PrimeEdit_Modifications3PrimeEdit_closure(modifications, new_modification)).call$1(t1); + return t1._build$0(); + }, + ModificationsInternalEdit_ModificationsInternalEdit(modifications, new_modification) { + var t1 = new A.ModificationsInternalEditBuilder(); + type$.nullable_void_Function_ModificationsInternalEditBuilder._as(new A.ModificationsInternalEdit_ModificationsInternalEdit_closure(modifications, new_modification)).call$1(t1); + return t1._build$0(); + }, + StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide() { + var t1 = new A.StrandOrSubstrandColorPickerHideBuilder(); + type$.nullable_void_Function_StrandOrSubstrandColorPickerHideBuilder._as(new A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure()).call$1(t1); + return t1._build$0(); + }, + LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset) { + var t1 = new A.LoadDnaSequenceImageUriBuilder(); + type$.nullable_void_Function_LoadDnaSequenceImageUriBuilder._as(new A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)).call$1(t1); + return t1._build$0(); + }, + SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(is_zoom_above_threshold) { + var t1 = new A.SetIsZoomAboveThresholdBuilder(); + type$.nullable_void_Function_SetIsZoomAboveThresholdBuilder._as(new A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(is_zoom_above_threshold)).call$1(t1); + return t1._build$0(); + }, + SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(export_svg_action_delayed_for_png_cache) { + var t1 = new A.SetExportSvgActionDelayedForPngCacheBuilder(); + type$.nullable_void_Function_SetExportSvgActionDelayedForPngCacheBuilder._as(new A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(export_svg_action_delayed_for_png_cache)).call$1(t1); + return t1._build$0(); + }, + ShowSliceBarSet_ShowSliceBarSet(show) { + var t1 = new A.ShowSliceBarSetBuilder(); + type$.nullable_void_Function_ShowSliceBarSetBuilder._as(new A.ShowSliceBarSet_ShowSliceBarSet_closure(show)).call$1(t1); + return t1._build$0(); + }, + SliceBarOffsetSet_SliceBarOffsetSet(offset) { + var t1 = new A.SliceBarOffsetSetBuilder(); + type$.nullable_void_Function_SliceBarOffsetSetBuilder._as(new A.SliceBarOffsetSet_SliceBarOffsetSet_closure(offset)).call$1(t1); + return t1._build$0(); + }, + DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet(disable_png_caching_dna_sequences) { + var t1 = new A.DisablePngCachingDnaSequencesSetBuilder(); + type$.nullable_void_Function_DisablePngCachingDnaSequencesSetBuilder._as(new A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(disable_png_caching_dna_sequences)).call$1(t1); + return t1._build$0(); + }, + RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet(retain_strand_color_on_selection) { + var t1 = new A.RetainStrandColorOnSelectionSetBuilder(); + type$.nullable_void_Function_RetainStrandColorOnSelectionSetBuilder._as(new A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(retain_strand_color_on_selection)).call$1(t1); + return t1._build$0(); + }, + DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet(display_reverse_DNA_right_side_up) { + var t1 = new A.DisplayReverseDNARightSideUpSetBuilder(); + type$.nullable_void_Function_DisplayReverseDNARightSideUpSetBuilder._as(new A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(display_reverse_DNA_right_side_up)).call$1(t1); + return t1._build$0(); + }, + Autobreak_Autobreak(max_length, min_distance_to_xover, min_length, target_length) { + var t1 = new A.AutobreakBuilder(); + type$.nullable_void_Function_AutobreakBuilder._as(new A.Autobreak_Autobreak_closure(target_length, min_length, max_length, min_distance_to_xover)).call$1(t1); + return t1._build$0(); + }, + OxdnaExport_OxdnaExport(selected_strands_only) { + var t1 = new A.OxdnaExportBuilder(); + type$.nullable_void_Function_OxdnaExportBuilder._as(new A.OxdnaExport_OxdnaExport_closure(selected_strands_only)).call$1(t1); + return t1._build$0(); + }, + OxviewExport_OxviewExport(selected_strands_only) { + var t1 = new A.OxviewExportBuilder(); + type$.nullable_void_Function_OxviewExportBuilder._as(new A.OxviewExport_OxviewExport_closure(selected_strands_only)).call$1(t1); + return t1._build$0(); + }, + _$LocalStorageDesignChoiceSet$_(choice) { + A.BuiltValueNullFieldError_checkNotNull(choice, "LocalStorageDesignChoiceSet", "choice", type$.LocalStorageDesignChoice); + return new A._$LocalStorageDesignChoiceSet(choice); + }, + _$ClearHelixSelectionWhenLoadingNewDesignSet$_(clear) { + A.BuiltValueNullFieldError_checkNotNull(clear, string$.ClearH, "clear", type$.bool); + return new A._$ClearHelixSelectionWhenLoadingNewDesignSet(clear); + }, + _$SelectModesAdd$_(modes) { + A.BuiltValueNullFieldError_checkNotNull(modes, "SelectModesAdd", "modes", type$.BuiltList_SelectModeChoice); + return new A._$SelectModesAdd(modes); + }, + _$StrandNameSet$_($name, strand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "StrandNameSet", "strand", type$.Strand); + return new A._$StrandNameSet($name, strand); + }, + _$StrandLabelSet$_(label, strand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "StrandLabelSet", "strand", type$.Strand); + return new A._$StrandLabelSet(label, strand); + }, + _$SubstrandNameSet$_($name, substrand) { + A.BuiltValueNullFieldError_checkNotNull(substrand, "SubstrandNameSet", "substrand", type$.Substrand); + return new A._$SubstrandNameSet($name, substrand); + }, + _$SubstrandLabelSet$_(label, substrand) { + A.BuiltValueNullFieldError_checkNotNull(substrand, "SubstrandLabelSet", "substrand", type$.Substrand); + return new A._$SubstrandLabelSet(label, substrand); + }, + _$DomainNameFontSizeSet$_(font_size) { + A.BuiltValueNullFieldError_checkNotNull(font_size, "DomainNameFontSizeSet", "font_size", type$.double); + return new A._$DomainNameFontSizeSet(font_size); + }, + _$DomainLabelFontSizeSet$_(font_size) { + A.BuiltValueNullFieldError_checkNotNull(font_size, "DomainLabelFontSizeSet", "font_size", type$.double); + return new A._$DomainLabelFontSizeSet(font_size); + }, + _$StrandNameFontSizeSet$_(font_size) { + A.BuiltValueNullFieldError_checkNotNull(font_size, "StrandNameFontSizeSet", "font_size", type$.double); + return new A._$StrandNameFontSizeSet(font_size); + }, + _$StrandLabelFontSizeSet$_(font_size) { + A.BuiltValueNullFieldError_checkNotNull(font_size, "StrandLabelFontSizeSet", "font_size", type$.double); + return new A._$StrandLabelFontSizeSet(font_size); + }, + _$InvertYSet$_(invert_y) { + A.BuiltValueNullFieldError_checkNotNull(invert_y, "InvertYSet", "invert_y", type$.bool); + return new A._$InvertYSet(invert_y); + }, + _$DynamicHelixUpdateSet$_(dynamically_update_helices) { + A.BuiltValueNullFieldError_checkNotNull(dynamically_update_helices, "DynamicHelixUpdateSet", "dynamically_update_helices", type$.bool); + return new A._$DynamicHelixUpdateSet(dynamically_update_helices); + }, + _$WarnOnExitIfUnsavedSet$_(warn) { + A.BuiltValueNullFieldError_checkNotNull(warn, "WarnOnExitIfUnsavedSet", "warn", type$.bool); + return new A._$WarnOnExitIfUnsavedSet(warn); + }, + _$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage() { + type$.nullable_void_Function_CopySelectedStandsToClipboardImageBuilder._as(null); + return new A.CopySelectedStandsToClipboardImageBuilder()._build$0(); + }, + _$SaveDNAFile__$SaveDNAFile() { + type$.nullable_void_Function_SaveDNAFileBuilder._as(null); + return new A.SaveDNAFileBuilder()._build$0(); + }, + _$ExportCadnanoFile$_(whitespace) { + A.BuiltValueNullFieldError_checkNotNull(whitespace, "ExportCadnanoFile", "whitespace", type$.bool); + return new A._$ExportCadnanoFile(whitespace); + }, + _$MouseoverDataClear__$MouseoverDataClear() { + type$.nullable_void_Function_MouseoverDataClearBuilder._as(null); + return new A.MouseoverDataClearBuilder()._build$0(); + }, + _$MouseoverDataUpdate$_(mouseover_params) { + A.BuiltValueNullFieldError_checkNotNull(mouseover_params, "MouseoverDataUpdate", "mouseover_params", type$.BuiltList_MouseoverParams); + return new A._$MouseoverDataUpdate(mouseover_params); + }, + _$HelixRollSet$_(helix_idx, roll) { + var _s12_ = "HelixRollSet"; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s12_, "helix_idx", type$.int); + A.BuiltValueNullFieldError_checkNotNull(roll, _s12_, "roll", type$.double); + return new A._$HelixRollSet(helix_idx, roll); + }, + _$RelaxHelixRolls$_(only_selected) { + A.BuiltValueNullFieldError_checkNotNull(only_selected, "RelaxHelixRolls", "only_selected", type$.bool); + return new A._$RelaxHelixRolls(only_selected); + }, + _$SelectionRopeCreate$_(toggle) { + A.BuiltValueNullFieldError_checkNotNull(toggle, "SelectionRopeCreate", "toggle", type$.bool); + return new A._$SelectionRopeCreate(toggle); + }, + _$SelectionRopeMouseMove$_(is_main_view, point) { + var _s22_ = "SelectionRopeMouseMove"; + A.BuiltValueNullFieldError_checkNotNull(point, _s22_, "point", type$.Point_double); + A.BuiltValueNullFieldError_checkNotNull(is_main_view, _s22_, "is_main_view", type$.bool); + return new A._$SelectionRopeMouseMove(point, is_main_view); + }, + _$SelectionRopeAddPoint$_(is_main_view, point) { + var _s21_ = "SelectionRopeAddPoint"; + A.BuiltValueNullFieldError_checkNotNull(point, _s21_, "point", type$.Point_double); + A.BuiltValueNullFieldError_checkNotNull(is_main_view, _s21_, "is_main_view", type$.bool); + return new A._$SelectionRopeAddPoint(point, is_main_view); + }, + _$MousePositionSideUpdate$_(svg_pos) { + A.BuiltValueNullFieldError_checkNotNull(svg_pos, "MousePositionSideUpdate", "svg_pos", type$.Point_double); + return new A._$MousePositionSideUpdate(svg_pos); + }, + _$MousePositionSideClear__$MousePositionSideClear() { + type$.nullable_void_Function_MousePositionSideClearBuilder._as(null); + return new A.MousePositionSideClearBuilder()._build$0(); + }, + _$GeometrySet$_(geometry) { + A.BuiltValueNullFieldError_checkNotNull(geometry, "GeometrySet", "geometry", type$.Geometry); + return new A._$GeometrySet(geometry); + }, + _$SelectionBoxIntersectionRuleSet$_(intersect) { + A.BuiltValueNullFieldError_checkNotNull(intersect, "SelectionBoxIntersectionRuleSet", "intersect", type$.bool); + return new A._$SelectionBoxIntersectionRuleSet(intersect); + }, + _$SelectionsAdjustMainView$_(box, toggle) { + var _s24_ = "SelectionsAdjustMainView", + t1 = type$.bool; + A.BuiltValueNullFieldError_checkNotNull(toggle, _s24_, "toggle", t1); + A.BuiltValueNullFieldError_checkNotNull(box, _s24_, "box", t1); + return new A._$SelectionsAdjustMainView(toggle, box); + }, + _$SelectOrToggleItems$_(items, toggle) { + var _s19_ = "SelectOrToggleItems"; + A.BuiltValueNullFieldError_checkNotNull(items, _s19_, "items", type$.BuiltList_Selectable); + A.BuiltValueNullFieldError_checkNotNull(toggle, _s19_, "toggle", type$.bool); + return new A._$SelectOrToggleItems(items, toggle); + }, + _$SelectAll$_(only, selectables) { + var _s9_ = "SelectAll"; + A.BuiltValueNullFieldError_checkNotNull(selectables, _s9_, "selectables", type$.BuiltList_Selectable); + A.BuiltValueNullFieldError_checkNotNull(only, _s9_, "only", type$.bool); + return new A._$SelectAll(selectables, only); + }, + _$SelectAllStrandsWithSameAsSelected$_(exclude_scaffolds, template_strands, traits) { + var _s34_ = "SelectAllStrandsWithSameAsSelected"; + A.BuiltValueNullFieldError_checkNotNull(template_strands, _s34_, "template_strands", type$.BuiltList_Strand); + A.BuiltValueNullFieldError_checkNotNull(traits, _s34_, "traits", type$.BuiltList_SelectableTrait); + A.BuiltValueNullFieldError_checkNotNull(exclude_scaffolds, _s34_, "exclude_scaffolds", type$.bool); + return new A._$SelectAllStrandsWithSameAsSelected(template_strands, traits, exclude_scaffolds); + }, + _$HelixAdd__$HelixAdd(updates) { + var t1 = new A.HelixAddBuilder(); + type$.nullable_void_Function_HelixAddBuilder._as(updates).call$1(t1); + return t1._build$0(); + }, + _$HelixMajorTickDistanceChange$_(helix_idx, major_tick_distance) { + var _s28_ = "HelixMajorTickDistanceChange", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s28_, "helix_idx", t1); + A.BuiltValueNullFieldError_checkNotNull(major_tick_distance, _s28_, "major_tick_distance", t1); + return new A._$HelixMajorTickDistanceChange(helix_idx, major_tick_distance); + }, + _$HelixMajorTickDistanceChangeAll$_(major_tick_distance) { + A.BuiltValueNullFieldError_checkNotNull(major_tick_distance, "HelixMajorTickDistanceChangeAll", "major_tick_distance", type$.int); + return new A._$HelixMajorTickDistanceChangeAll(major_tick_distance); + }, + _$HelixMajorTickStartChange$_(helix_idx, major_tick_start) { + var _s25_ = "HelixMajorTickStartChange", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s25_, "helix_idx", t1); + A.BuiltValueNullFieldError_checkNotNull(major_tick_start, _s25_, "major_tick_start", t1); + return new A._$HelixMajorTickStartChange(helix_idx, major_tick_start); + }, + _$HelixMajorTickStartChangeAll$_(major_tick_start) { + A.BuiltValueNullFieldError_checkNotNull(major_tick_start, "HelixMajorTickStartChangeAll", "major_tick_start", type$.int); + return new A._$HelixMajorTickStartChangeAll(major_tick_start); + }, + _$HelixMajorTicksChange$_(helix_idx, major_ticks) { + var _s21_ = "HelixMajorTicksChange"; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s21_, "helix_idx", type$.int); + A.BuiltValueNullFieldError_checkNotNull(major_ticks, _s21_, "major_ticks", type$.BuiltList_int); + return new A._$HelixMajorTicksChange(helix_idx, major_ticks); }, - extension_num_bases_change_reducer: function(strand, action) { - var t1, t2, t3, idx, substrands_builder; - type$.legacy_Strand._as(strand); - type$.legacy_ExtensionNumBasesChange._as(action); - t1 = strand.substrands; - t2 = action.ext; - t1.toString; - t3 = t1.$ti._precomputed1; - t3._as(t2); - idx = J.indexOf$2$asx(t1._list, t2, 0); - substrands_builder = D.ListBuilder_ListBuilder(t1, t3); - if (action.num_bases > 0) { - t1 = substrands_builder.$ti._precomputed1; - t2 = t1._as(t2.rebuild$1(new X.extension_num_bases_change_reducer_closure(action))); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(substrands_builder.get$_safeList(), idx, t2); - } else - throw H.wrapException(P.AssertionError$(string$.extens)); - return strand.rebuild$1(new X.extension_num_bases_change_reducer_closure0(substrands_builder)); + _$HelixMajorTicksChangeAll$_(major_ticks) { + A.BuiltValueNullFieldError_checkNotNull(major_ticks, "HelixMajorTicksChangeAll", "major_ticks", type$.BuiltList_int); + return new A._$HelixMajorTicksChangeAll(major_ticks); }, - extension_display_length_angle_change_reducer: function(strand, action) { - var t1, t2, t3, idx, substrands_builder; - type$.legacy_Strand._as(strand); - type$.legacy_ExtensionDisplayLengthAngleSet._as(action); - t1 = strand.substrands; - t2 = action.ext; - t1.toString; - t3 = t1.$ti._precomputed1; - t3._as(t2); - idx = J.indexOf$2$asx(t1._list, t2, 0); - substrands_builder = D.ListBuilder_ListBuilder(t1, t3); - if (action.display_length <= 0) - throw H.wrapException(P.ArgumentError$("extension must have positive display_angle")); - t1 = substrands_builder.$ti._precomputed1; - t2 = t1._as(t2.rebuild$1(new X.extension_display_length_angle_change_reducer_closure(action))); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(substrands_builder.get$_safeList(), idx, t2); - return strand.rebuild$1(new X.extension_display_length_angle_change_reducer_closure0(substrands_builder)); + _$HelixMajorTickPeriodicDistancesChange$_(helix_idx, major_tick_periodic_distances) { + var _s37_ = "HelixMajorTickPeriodicDistancesChange"; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s37_, "helix_idx", type$.int); + A.BuiltValueNullFieldError_checkNotNull(major_tick_periodic_distances, _s37_, "major_tick_periodic_distances", type$.BuiltList_int); + return new A._$HelixMajorTickPeriodicDistancesChange(helix_idx, major_tick_periodic_distances); + }, + _$HelixMajorTickPeriodicDistancesChangeAll$_(major_tick_periodic_distances) { + A.BuiltValueNullFieldError_checkNotNull(major_tick_periodic_distances, "HelixMajorTickPeriodicDistancesChangeAll", "major_tick_periodic_distances", type$.BuiltList_int); + return new A._$HelixMajorTickPeriodicDistancesChangeAll(major_tick_periodic_distances); + }, + _$HelixOffsetChange$_(helix_idx, max_offset, min_offset) { + A.BuiltValueNullFieldError_checkNotNull(helix_idx, "HelixOffsetChange", "helix_idx", type$.int); + return new A._$HelixOffsetChange(helix_idx, min_offset, max_offset); + }, + _$HelixMinOffsetSetByDomains$_(helix_idx) { + A.BuiltValueNullFieldError_checkNotNull(helix_idx, "HelixMinOffsetSetByDomains", "helix_idx", type$.int); + return new A._$HelixMinOffsetSetByDomains(helix_idx); + }, + _$HelixMaxOffsetSetByDomains$_(helix_idx) { + A.BuiltValueNullFieldError_checkNotNull(helix_idx, "HelixMaxOffsetSetByDomains", "helix_idx", type$.int); + return new A._$HelixMaxOffsetSetByDomains(helix_idx); + }, + _$ExportSvg$_(type) { + A.BuiltValueNullFieldError_checkNotNull(type, "ExportSvg", "type", type$.ExportSvgType); + return new A._$ExportSvg(type); + }, + _$Nick$_(domain, offset) { + A.BuiltValueNullFieldError_checkNotNull(domain, "Nick", "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(offset, "Nick", "offset", type$.int); + return new A._$Nick(domain, offset); + }, + _$Ligate$_(dna_end) { + A.BuiltValueNullFieldError_checkNotNull(dna_end, "Ligate", "dna_end", type$.DNAEnd); + return new A._$Ligate(dna_end); + }, + _$JoinStrandsByCrossover$_(dna_end_first_click, dna_end_second_click) { + var _s22_ = "JoinStrandsByCrossover", + t1 = type$.DNAEnd; + A.BuiltValueNullFieldError_checkNotNull(dna_end_first_click, _s22_, "dna_end_first_click", t1); + A.BuiltValueNullFieldError_checkNotNull(dna_end_second_click, _s22_, "dna_end_second_click", t1); + return new A._$JoinStrandsByCrossover(dna_end_first_click, dna_end_second_click); + }, + _$MoveLinker$_(dna_end_second_click, potential_crossover) { + var _s10_ = "MoveLinker"; + A.BuiltValueNullFieldError_checkNotNull(potential_crossover, _s10_, "potential_crossover", type$.PotentialCrossover); + A.BuiltValueNullFieldError_checkNotNull(dna_end_second_click, _s10_, "dna_end_second_click", type$.DNAEnd); + return new A._$MoveLinker(potential_crossover, dna_end_second_click); + }, + _$StrandsReflect$_(horizontal, reverse_polarity, strands) { + var t1, + _s14_ = "StrandsReflect"; + A.BuiltValueNullFieldError_checkNotNull(strands, _s14_, "strands", type$.BuiltList_Strand); + t1 = type$.bool; + A.BuiltValueNullFieldError_checkNotNull(horizontal, _s14_, "horizontal", t1); + A.BuiltValueNullFieldError_checkNotNull(reverse_polarity, _s14_, "reverse_polarity", t1); + return new A._$StrandsReflect(strands, horizontal, reverse_polarity); + }, + _$ReplaceStrands$_(new_strands) { + A.BuiltValueNullFieldError_checkNotNull(new_strands, "ReplaceStrands", "new_strands", type$.BuiltMap_int_Strand); + return new A._$ReplaceStrands(new_strands); + }, + _$StrandCreateStart$_(address, color) { + var _s17_ = "StrandCreateStart"; + A.BuiltValueNullFieldError_checkNotNull(address, _s17_, "address", type$.Address); + A.BuiltValueNullFieldError_checkNotNull(color, _s17_, "color", type$.Color); + return new A._$StrandCreateStart(address, color); + }, + _$StrandCreateAdjustOffset$_(offset) { + A.BuiltValueNullFieldError_checkNotNull(offset, "StrandCreateAdjustOffset", "offset", type$.int); + return new A._$StrandCreateAdjustOffset(offset); + }, + _$StrandCreateStop__$StrandCreateStop() { + type$.nullable_void_Function_StrandCreateStopBuilder._as(null); + return new A.StrandCreateStopBuilder()._build$0(); + }, + _$StrandCreateCommit$_(color, end, $forward, helix_idx, start) { + var _s18_ = "StrandCreateCommit", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s18_, "helix_idx", t1); + A.BuiltValueNullFieldError_checkNotNull(start, _s18_, "start", t1); + A.BuiltValueNullFieldError_checkNotNull(end, _s18_, "end", t1); + A.BuiltValueNullFieldError_checkNotNull($forward, _s18_, "forward", type$.bool); + A.BuiltValueNullFieldError_checkNotNull(color, _s18_, "color", type$.Color); + return new A._$StrandCreateCommit(helix_idx, start, end, $forward, color); + }, + _$PotentialCrossoverCreate$_(potential_crossover) { + A.BuiltValueNullFieldError_checkNotNull(potential_crossover, "PotentialCrossoverCreate", "potential_crossover", type$.PotentialCrossover); + return new A._$PotentialCrossoverCreate(potential_crossover); + }, + _$PotentialCrossoverMove$_(point) { + A.BuiltValueNullFieldError_checkNotNull(point, "PotentialCrossoverMove", "point", type$.Point_double); + return new A._$PotentialCrossoverMove(point); + }, + _$PotentialCrossoverRemove__$PotentialCrossoverRemove() { + type$.nullable_void_Function_PotentialCrossoverRemoveBuilder._as(null); + return new A.PotentialCrossoverRemoveBuilder()._build$0(); + }, + _$StrandsMoveStart$_(address, copy, original_helices_view_order_inverse, strands) { + var _s16_ = "StrandsMoveStart"; + A.BuiltValueNullFieldError_checkNotNull(strands, _s16_, "strands", type$.BuiltList_Strand); + A.BuiltValueNullFieldError_checkNotNull(address, _s16_, "address", type$.Address); + A.BuiltValueNullFieldError_checkNotNull(copy, _s16_, "copy", type$.bool); + A.BuiltValueNullFieldError_checkNotNull(original_helices_view_order_inverse, _s16_, "original_helices_view_order_inverse", type$.BuiltMap_int_int); + return new A._$StrandsMoveStart(strands, address, copy, original_helices_view_order_inverse); + }, + _$StrandsMoveStartSelectedStrands$_(address, copy, original_helices_view_order_inverse) { + var _s31_ = "StrandsMoveStartSelectedStrands"; + A.BuiltValueNullFieldError_checkNotNull(address, _s31_, "address", type$.Address); + A.BuiltValueNullFieldError_checkNotNull(copy, _s31_, "copy", type$.bool); + A.BuiltValueNullFieldError_checkNotNull(original_helices_view_order_inverse, _s31_, "original_helices_view_order_inverse", type$.BuiltMap_int_int); + return new A._$StrandsMoveStartSelectedStrands(address, copy, original_helices_view_order_inverse); + }, + _$StrandsMoveStop__$StrandsMoveStop() { + type$.nullable_void_Function_StrandsMoveStopBuilder._as(null); + return new A.StrandsMoveStopBuilder()._build$0(); + }, + _$StrandsMoveAdjustAddress$_(address) { + A.BuiltValueNullFieldError_checkNotNull(address, "StrandsMoveAdjustAddress", "address", type$.Address); + return new A._$StrandsMoveAdjustAddress(address); + }, + _$StrandsMoveCommit$_(autopaste, strands_move) { + var _s17_ = "StrandsMoveCommit"; + A.BuiltValueNullFieldError_checkNotNull(strands_move, _s17_, "strands_move", type$.StrandsMove); + A.BuiltValueNullFieldError_checkNotNull(autopaste, _s17_, "autopaste", type$.bool); + return new A._$StrandsMoveCommit(strands_move, autopaste); + }, + _$DomainsMoveStartSelectedDomains$_(address, original_helices_view_order_inverse) { + var _s31_ = "DomainsMoveStartSelectedDomains"; + A.BuiltValueNullFieldError_checkNotNull(address, _s31_, "address", type$.Address); + A.BuiltValueNullFieldError_checkNotNull(original_helices_view_order_inverse, _s31_, "original_helices_view_order_inverse", type$.BuiltMap_int_int); + return new A._$DomainsMoveStartSelectedDomains(address, original_helices_view_order_inverse); + }, + _$DomainsMoveStop__$DomainsMoveStop() { + type$.nullable_void_Function_DomainsMoveStopBuilder._as(null); + return new A.DomainsMoveStopBuilder()._build$0(); + }, + _$DomainsMoveAdjustAddress$_(address) { + A.BuiltValueNullFieldError_checkNotNull(address, "DomainsMoveAdjustAddress", "address", type$.Address); + return new A._$DomainsMoveAdjustAddress(address); + }, + _$DomainsMoveCommit$_(domains_move) { + A.BuiltValueNullFieldError_checkNotNull(domains_move, "DomainsMoveCommit", "domains_move", type$.DomainsMove); + return new A._$DomainsMoveCommit(domains_move); + }, + _$DNAEndsMoveStart$_(helix, offset) { + var _s16_ = "DNAEndsMoveStart"; + A.BuiltValueNullFieldError_checkNotNull(offset, _s16_, "offset", type$.int); + A.BuiltValueNullFieldError_checkNotNull(helix, _s16_, "helix", type$.Helix); + return new A._$DNAEndsMoveStart(offset, helix); }, - convert_crossover_to_loopout_reducer_closure: function convert_crossover_to_loopout_reducer_closure(t0) { - this._box_0 = t0; + _$DNAEndsMoveSetSelectedEnds$_(helix, moves, original_offset, strands_affected) { + var _s26_ = "DNAEndsMoveSetSelectedEnds"; + A.BuiltValueNullFieldError_checkNotNull(moves, _s26_, "moves", type$.BuiltList_DNAEndMove); + A.BuiltValueNullFieldError_checkNotNull(original_offset, _s26_, "original_offset", type$.int); + A.BuiltValueNullFieldError_checkNotNull(helix, _s26_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(strands_affected, _s26_, "strands_affected", type$.BuiltSet_Strand); + return new A._$DNAEndsMoveSetSelectedEnds(moves, original_offset, helix, strands_affected); + }, + _$DNAEndsMoveAdjustOffset$_(offset) { + A.BuiltValueNullFieldError_checkNotNull(offset, "DNAEndsMoveAdjustOffset", "offset", type$.int); + return new A._$DNAEndsMoveAdjustOffset(offset); + }, + _$DNAEndsMoveCommit$_(dna_ends_move) { + A.BuiltValueNullFieldError_checkNotNull(dna_ends_move, "DNAEndsMoveCommit", "dna_ends_move", type$.DNAEndsMove); + return new A._$DNAEndsMoveCommit(dna_ends_move); + }, + _$DNAExtensionsMoveStart$_(helix, start_point) { + var _s22_ = "DNAExtensionsMoveStart"; + A.BuiltValueNullFieldError_checkNotNull(start_point, _s22_, "start_point", type$.Point_double); + A.BuiltValueNullFieldError_checkNotNull(helix, _s22_, "helix", type$.Helix); + return new A._$DNAExtensionsMoveStart(start_point, helix); + }, + _$DNAExtensionsMoveSetSelectedExtensionEnds$_(helix, moves, original_point, strands_affected) { + var _s41_ = string$.DNAExt; + A.BuiltValueNullFieldError_checkNotNull(moves, _s41_, "moves", type$.BuiltList_DNAExtensionMove); + A.BuiltValueNullFieldError_checkNotNull(original_point, _s41_, "original_point", type$.Point_double); + A.BuiltValueNullFieldError_checkNotNull(strands_affected, _s41_, "strands_affected", type$.BuiltSet_Strand); + A.BuiltValueNullFieldError_checkNotNull(helix, _s41_, "helix", type$.Helix); + return new A._$DNAExtensionsMoveSetSelectedExtensionEnds(moves, original_point, strands_affected, helix); + }, + _$DNAExtensionsMoveAdjustPosition$_(position) { + A.BuiltValueNullFieldError_checkNotNull(position, "DNAExtensionsMoveAdjustPosition", "position", type$.Point_double); + return new A._$DNAExtensionsMoveAdjustPosition(position); + }, + _$DNAExtensionsMoveCommit$_(dna_extensions_move) { + A.BuiltValueNullFieldError_checkNotNull(dna_extensions_move, "DNAExtensionsMoveCommit", "dna_extensions_move", type$.DNAExtensionsMove); + return new A._$DNAExtensionsMoveCommit(dna_extensions_move); + }, + _$HelixGroupMoveStart$_(mouse_point) { + A.BuiltValueNullFieldError_checkNotNull(mouse_point, "HelixGroupMoveStart", "mouse_point", type$.Point_double); + return new A._$HelixGroupMoveStart(mouse_point); + }, + _$HelixGroupMoveCreate$_(helix_group_move) { + A.BuiltValueNullFieldError_checkNotNull(helix_group_move, "HelixGroupMoveCreate", "helix_group_move", type$.HelixGroupMove); + return new A._$HelixGroupMoveCreate(helix_group_move); + }, + _$HelixGroupMoveAdjustTranslation$_(mouse_point) { + A.BuiltValueNullFieldError_checkNotNull(mouse_point, "HelixGroupMoveAdjustTranslation", "mouse_point", type$.Point_double); + return new A._$HelixGroupMoveAdjustTranslation(mouse_point); + }, + _$HelixGroupMoveStop__$HelixGroupMoveStop() { + type$.nullable_void_Function_HelixGroupMoveStopBuilder._as(null); + return new A.HelixGroupMoveStopBuilder()._build$0(); + }, + _$HelixGroupMoveCommit$_(helix_group_move) { + A.BuiltValueNullFieldError_checkNotNull(helix_group_move, "HelixGroupMoveCommit", "helix_group_move", type$.HelixGroupMove); + return new A._$HelixGroupMoveCommit(helix_group_move); + }, + _$AssignDNA$_(dna_assign_options, strand) { + var _s9_ = "AssignDNA"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s9_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(dna_assign_options, _s9_, "dna_assign_options", type$.DNAAssignOptions); + return new A._$AssignDNA(strand, dna_assign_options); + }, + _$RemoveDNA$_(remove_all, remove_complements, strand) { + var t1, + _s9_ = "RemoveDNA"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s9_, "strand", type$.Strand); + t1 = type$.bool; + A.BuiltValueNullFieldError_checkNotNull(remove_complements, _s9_, "remove_complements", t1); + A.BuiltValueNullFieldError_checkNotNull(remove_all, _s9_, "remove_all", t1); + return new A._$RemoveDNA(strand, remove_complements, remove_all); + }, + _$InsertionAdd$_(all_helices, domain, offset) { + var _s12_ = "InsertionAdd"; + A.BuiltValueNullFieldError_checkNotNull(domain, _s12_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(offset, _s12_, "offset", type$.int); + A.BuiltValueNullFieldError_checkNotNull(all_helices, _s12_, "all_helices", type$.bool); + return new A._$InsertionAdd(domain, offset, all_helices); + }, + _$DeletionAdd$_(all_helices, domain, offset) { + var _s11_ = "DeletionAdd"; + A.BuiltValueNullFieldError_checkNotNull(domain, _s11_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(offset, _s11_, "offset", type$.int); + A.BuiltValueNullFieldError_checkNotNull(all_helices, _s11_, "all_helices", type$.bool); + return new A._$DeletionAdd(domain, offset, all_helices); + }, + _$ScalePurificationVendorFieldsAssign$_(strand, vendor_fields) { + var _s35_ = "ScalePurificationVendorFieldsAssign"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s35_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(vendor_fields, _s35_, "vendor_fields", type$.VendorFields); + return new A._$ScalePurificationVendorFieldsAssign(strand, vendor_fields); }, - convert_crossovers_to_loopouts_reducer_closure: function convert_crossovers_to_loopouts_reducer_closure() { + _$PlateWellVendorFieldsAssign$_(strand, vendor_fields) { + var _s27_ = "PlateWellVendorFieldsAssign"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s27_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(vendor_fields, _s27_, "vendor_fields", type$.VendorFields); + return new A._$PlateWellVendorFieldsAssign(strand, vendor_fields); }, - convert_crossovers_to_loopouts_reducer_closure0: function convert_crossovers_to_loopouts_reducer_closure0(t0) { - this.substrands_builder = t0; + _$PlateWellVendorFieldsRemove$_(strand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "PlateWellVendorFieldsRemove", "strand", type$.Strand); + return new A._$PlateWellVendorFieldsRemove(strand); }, - loopouts_length_change_reducer_closure: function loopouts_length_change_reducer_closure() { + _$VendorFieldsRemove$_(strand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "VendorFieldsRemove", "strand", type$.Strand); + return new A._$VendorFieldsRemove(strand); }, - loopouts_length_change_reducer_closure0: function loopouts_length_change_reducer_closure0(t0) { - this.action = t0; + _$ModificationAdd$_(modification, strand, strand_dna_idx) { + var _s15_ = "ModificationAdd"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s15_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(modification, _s15_, "modification", type$.Modification); + return new A._$ModificationAdd(strand, modification, strand_dna_idx); }, - loopouts_length_change_reducer_closure1: function loopouts_length_change_reducer_closure1(t0) { - this.substrands = t0; + _$ModificationRemove$_(modification, strand, strand_dna_idx) { + var _s18_ = "ModificationRemove"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s18_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(modification, _s18_, "modification", type$.Modification); + return new A._$ModificationRemove(strand, modification, strand_dna_idx); }, - extensions_num_bases_change_reducer_closure: function extensions_num_bases_change_reducer_closure(t0) { - this.action = t0; + _$ModificationEdit$_(modification, strand, strand_dna_idx) { + var _s16_ = "ModificationEdit"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s16_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(modification, _s16_, "modification", type$.Modification); + return new A._$ModificationEdit(strand, modification, strand_dna_idx); }, - extensions_num_bases_change_reducer_closure0: function extensions_num_bases_change_reducer_closure0(t0) { - this.substrands = t0; + _$GridChange$_(grid, group_name) { + var _s10_ = "GridChange"; + A.BuiltValueNullFieldError_checkNotNull(grid, _s10_, "grid", type$.Grid); + A.BuiltValueNullFieldError_checkNotNull(group_name, _s10_, "group_name", type$.String); + return new A._$GridChange(grid, group_name); + }, + _$GroupDisplayedChange$_(group_name) { + A.BuiltValueNullFieldError_checkNotNull(group_name, "GroupDisplayedChange", "group_name", type$.String); + return new A._$GroupDisplayedChange(group_name); + }, + _$GroupAdd$_(group, $name) { + var _s8_ = "GroupAdd"; + A.BuiltValueNullFieldError_checkNotNull($name, _s8_, "name", type$.String); + A.BuiltValueNullFieldError_checkNotNull(group, _s8_, "group", type$.HelixGroup); + return new A._$GroupAdd($name, group); + }, + _$GroupRemove$_($name) { + A.BuiltValueNullFieldError_checkNotNull($name, "GroupRemove", "name", type$.String); + return new A._$GroupRemove($name); + }, + _$GroupChange$_(new_group, new_name, old_name) { + var _s11_ = "GroupChange", + t1 = type$.String; + A.BuiltValueNullFieldError_checkNotNull(old_name, _s11_, "old_name", t1); + A.BuiltValueNullFieldError_checkNotNull(new_name, _s11_, "new_name", t1); + A.BuiltValueNullFieldError_checkNotNull(new_group, _s11_, "new_group", type$.HelixGroup); + return new A._$GroupChange(old_name, new_name, new_group); }, - loopout_length_change_reducer_closure: function loopout_length_change_reducer_closure(t0) { - this.action = t0; + _$MoveHelicesToGroup$_(group_name, helix_idxs) { + var _s18_ = "MoveHelicesToGroup"; + A.BuiltValueNullFieldError_checkNotNull(helix_idxs, _s18_, "helix_idxs", type$.BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(group_name, _s18_, "group_name", type$.String); + return new A._$MoveHelicesToGroup(helix_idxs, group_name); + }, + _$DialogShow$_(dialog) { + A.BuiltValueNullFieldError_checkNotNull(dialog, "DialogShow", "dialog", type$.Dialog); + return new A._$DialogShow(dialog); + }, + _$DialogHide__$DialogHide() { + type$.nullable_void_Function_DialogHideBuilder._as(null); + return new A.DialogHideBuilder()._build$0(); + }, + _$ContextMenuShow$_(context_menu) { + A.BuiltValueNullFieldError_checkNotNull(context_menu, "ContextMenuShow", "context_menu", type$.ContextMenu); + return new A._$ContextMenuShow(context_menu); + }, + _$ContextMenuHide__$ContextMenuHide() { + type$.nullable_void_Function_ContextMenuHideBuilder._as(null); + return new A.ContextMenuHideBuilder()._build$0(); + }, + _$StrandOrSubstrandColorPickerShow$_(strand, substrand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "StrandOrSubstrandColorPickerShow", "strand", type$.Strand); + return new A._$StrandOrSubstrandColorPickerShow(strand, substrand); + }, + _$ScaffoldSet$_(is_scaffold, strand) { + var _s11_ = "ScaffoldSet"; + A.BuiltValueNullFieldError_checkNotNull(strand, _s11_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(is_scaffold, _s11_, "is_scaffold", type$.bool); + return new A._$ScaffoldSet(strand, is_scaffold); + }, + _$StrandOrSubstrandColorSet$_(color, strand, substrand) { + A.BuiltValueNullFieldError_checkNotNull(strand, "StrandOrSubstrandColorSet", "strand", type$.Strand); + return new A._$StrandOrSubstrandColorSet(strand, substrand, color); + }, + _$StrandPasteKeepColorSet$_(keep) { + A.BuiltValueNullFieldError_checkNotNull(keep, "StrandPasteKeepColorSet", "keep", type$.bool); + return new A._$StrandPasteKeepColorSet(keep); + }, + _$ExampleDesignsLoad$_(selected_idx) { + A.BuiltValueNullFieldError_checkNotNull(selected_idx, "ExampleDesignsLoad", "selected_idx", type$.int); + return new A._$ExampleDesignsLoad(selected_idx); + }, + _$BasePairTypeSet$_(selected_idx) { + A.BuiltValueNullFieldError_checkNotNull(selected_idx, "BasePairTypeSet", "selected_idx", type$.int); + return new A._$BasePairTypeSet(selected_idx); + }, + _$HelixPositionSet$_(helix_idx, position) { + var _s16_ = "HelixPositionSet"; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s16_, "helix_idx", type$.int); + A.BuiltValueNullFieldError_checkNotNull(position, _s16_, "position", type$.Position3D); + return new A._$HelixPositionSet(helix_idx, position); + }, + _$HelixGridPositionSet$_(grid_position, helix) { + var _s20_ = "HelixGridPositionSet"; + A.BuiltValueNullFieldError_checkNotNull(helix, _s20_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(grid_position, _s20_, "grid_position", type$.GridPosition); + return new A._$HelixGridPositionSet(helix, grid_position); + }, + _$DefaultCrossoverTypeForSettingHelixRollsSet$_(scaffold, staple) { + var _s43_ = string$.Defaul, + t1 = type$.bool; + A.BuiltValueNullFieldError_checkNotNull(scaffold, _s43_, "scaffold", t1); + A.BuiltValueNullFieldError_checkNotNull(staple, _s43_, "staple", t1); + return new A._$DefaultCrossoverTypeForSettingHelixRollsSet(scaffold, staple); + }, + _$AutofitSet$_(autofit) { + A.BuiltValueNullFieldError_checkNotNull(autofit, "AutofitSet", "autofit", type$.bool); + return new A._$AutofitSet(autofit); + }, + _$ShowHelixCirclesMainViewSet$_(show_helix_circles_main_view) { + A.BuiltValueNullFieldError_checkNotNull(show_helix_circles_main_view, "ShowHelixCirclesMainViewSet", "show_helix_circles_main_view", type$.bool); + return new A._$ShowHelixCirclesMainViewSet(show_helix_circles_main_view); + }, + _$ShowHelixComponentsMainViewSet$_(show_helix_components) { + A.BuiltValueNullFieldError_checkNotNull(show_helix_components, "ShowHelixComponentsMainViewSet", "show_helix_components", type$.bool); + return new A._$ShowHelixComponentsMainViewSet(show_helix_components); + }, + _$ShowGridCoordinatesSideViewSet$_(show_grid_coordinates_side_view) { + A.BuiltValueNullFieldError_checkNotNull(show_grid_coordinates_side_view, "ShowGridCoordinatesSideViewSet", "show_grid_coordinates_side_view", type$.bool); + return new A._$ShowGridCoordinatesSideViewSet(show_grid_coordinates_side_view); + }, + _$ShowAxisArrowsSet$_(show_helices_axis_arrows) { + A.BuiltValueNullFieldError_checkNotNull(show_helices_axis_arrows, "ShowAxisArrowsSet", "show_helices_axis_arrows", type$.bool); + return new A._$ShowAxisArrowsSet(show_helices_axis_arrows); + }, + _$ShowLoopoutExtensionLengthSet$_(show_length) { + A.BuiltValueNullFieldError_checkNotNull(show_length, "ShowLoopoutExtensionLengthSet", "show_length", type$.bool); + return new A._$ShowLoopoutExtensionLengthSet(show_length); + }, + _$ShowBasePairLinesWithMismatchesSet$_(show_base_pair_lines_with_mismatches) { + A.BuiltValueNullFieldError_checkNotNull(show_base_pair_lines_with_mismatches, "ShowBasePairLinesWithMismatchesSet", "show_base_pair_lines_with_mismatches", type$.bool); + return new A._$ShowBasePairLinesWithMismatchesSet(show_base_pair_lines_with_mismatches); + }, + _$ZoomSpeedSet$_(speed) { + A.BuiltValueNullFieldError_checkNotNull(speed, "ZoomSpeedSet", "speed", type$.double); + return new A._$ZoomSpeedSet(speed); + }, + _$OxExportOnlySelectedStrandsSet$_(only_selected) { + A.BuiltValueNullFieldError_checkNotNull(only_selected, "OxExportOnlySelectedStrandsSet", "only_selected", type$.bool); + return new A._$OxExportOnlySelectedStrandsSet(only_selected); }, - loopout_length_change_reducer_closure0: function loopout_length_change_reducer_closure0(t0) { - this.substrands_builder = t0; + DesignChangingAction: function DesignChangingAction() { }, - extension_num_bases_change_reducer_closure: function extension_num_bases_change_reducer_closure(t0) { - this.action = t0; + UndoableAction: function UndoableAction() { }, - extension_num_bases_change_reducer_closure0: function extension_num_bases_change_reducer_closure0(t0) { - this.substrands_builder = t0; + SkipUndo: function SkipUndo() { }, - extension_display_length_angle_change_reducer_closure: function extension_display_length_angle_change_reducer_closure(t0) { - this.action = t0; + SkipUndo_SkipUndo_closure: function SkipUndo_SkipUndo_closure(t0) { + this.undoable_action = t0; }, - extension_display_length_angle_change_reducer_closure0: function extension_display_length_angle_change_reducer_closure0(t0) { - this.substrands_builder = t0; + Undo: function Undo() { }, - copy_selected_strands_reducer: function(_, __, ___) { - type$.legacy_CopyInfo._as(_); - type$.legacy_AppState._as(__); - type$.legacy_CopySelectedStrands._as(___); - return null; + Undo_Undo_closure: function Undo_Undo_closure(t0) { + this.num_undos = t0; }, - manual_paste_initiate_reducer: function(_, state, action) { - var strands_and_helices_view_order, strands, helices_view_order; - type$.legacy_CopyInfo._as(_); - type$.legacy_AppState._as(state); - strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(type$.legacy_ManualPasteInitiate._as(action).clipboard_content); - if (strands_and_helices_view_order == null) - return null; - strands = strands_and_helices_view_order.item1; - helices_view_order = strands_and_helices_view_order.item2; - if (J.get$isEmpty$asx(strands)) - return null; - if (helices_view_order == null) - return null; - return X.strands_copy_info_from_strand_list(state, strands, helices_view_order); + Redo: function Redo() { }, - autopaste_initiate_reducer: function(copy_info, state, action) { - var strands_and_helices_view_order, strands, helices_view_order; - type$.legacy_CopyInfo._as(copy_info); - type$.legacy_AppState._as(state); - strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(type$.legacy_AutoPasteInitiate._as(action).clipboard_content); - if (strands_and_helices_view_order == null) - return null; - strands = strands_and_helices_view_order.item1; - helices_view_order = strands_and_helices_view_order.item2; - if (J.get$isEmpty$asx(strands)) - return null; - if (helices_view_order == null) - return null; - return copy_info == null || copy_info.translation == null ? X.strands_copy_info_from_strand_list(state, strands, helices_view_order) : copy_info; + Redo_Redo_closure: function Redo_Redo_closure(t0) { + this.num_redos = t0; }, - parse_strands_and_helices_view_order_from_clipboard: function(clipboard_content) { - var mod_jsons, mod_key, mod, strand_json, strand, exception, t1, helices_view_order_json, t2, t3, helices_view_order, mods, t4, strand_jsons, strands, t5, t6, t7, modifications_int, mod_json, t8, t9, t10, _null = null, - _s22_ = "internal_modifications", - error_msg = 'no strand info found on system clipboard, so nothing to paste; content of system clipboard: "' + clipboard_content + '"', - clipboard_json = null; - try { - clipboard_json = type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, clipboard_content, _null)); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - P.print(error_msg); - return _null; - } else if (type$.legacy_Error._is(t1)) { - P.print(error_msg); - return _null; - } else - throw exception; - } - t1 = type$.legacy_List_dynamic; - helices_view_order_json = t1._as(J.$index$asx(clipboard_json, "helices_view_order")); - if (helices_view_order_json != null) { - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t3 = J.get$iterator$ax(helices_view_order_json); t3.moveNext$0();) - t2.push(H._asIntS(t3.get$current(t3))); - helices_view_order = t2; - } else - helices_view_order = _null; - t2 = type$.legacy_Map_dynamic_dynamic; - mod_jsons = t2._as(J.$index$asx(J.$index$asx(clipboard_json, "modifications_in_design"), 0)); - mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Modification); - for (t3 = J.get$iterator$ax(J.get$keys$x(mod_jsons)), t4 = type$.legacy_Map_of_legacy_String_and_dynamic; t3.moveNext$0();) { - mod_key = t3.get$current(t3); - mod = null; - try { - mod = Z.Modification_from_json(t4._as(J.$index$asx(mod_jsons, mod_key))); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - H.printString(H.S(J.toString$0$(error_msg))); - return _null; - } else if (type$.legacy_Error._is(t1)) { - H.printString(H.S(J.toString$0$(error_msg))); - return _null; - } else - throw exception; - } - mods.$indexSet(0, H._asStringS(mod_key), mod); - } - strand_jsons = t1._as(J.$index$asx(clipboard_json, "strands")); - strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - for (t1 = J.get$iterator$ax(strand_jsons), t3 = type$.legacy_void_Function_legacy_StrandBuilder, t5 = type$.legacy_Strand, t6 = type$.legacy_int, t7 = type$.legacy_ModificationInternal; t1.moveNext$0();) { - strand_json = t1.get$current(t1); - strand = null; - try { - strand = E.Strand_from_json(t4._as(strand_json)); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - H.printString(H.S(J.toString$0$(error_msg))); - return _null; - } else if (type$.legacy_Error._is(t1)) { - H.printString(H.S(J.toString$0$(error_msg))); - return _null; - } else - throw exception; - } - modifications_int = P.LinkedHashMap_LinkedHashMap$_empty(t6, t7); - if (J.$index$asx(strand_json, _s22_) != null) { - mod_json = t2._as(J.$index$asx(strand_json, _s22_)); - for (t8 = J.getInterceptor$x(mod_json), t9 = J.get$iterator$ax(t8.get$keys(mod_json)); t9.moveNext$0();) { - t10 = H._asStringS(t9.get$current(t9)); - modifications_int.$indexSet(0, P.int_parse(t10, _null), t7._as(mods.$index(0, t8.$index(mod_json, t10)))); - } - } - t8 = strand; - t8.toString; - t9 = t3._as(new X.parse_strands_and_helices_view_order_from_clipboard_closure(mods, strand_json, modifications_int)); - t10 = new E.StrandBuilder(); - t5._as(t8); - t10._strand$_$v = t8; - t9.call$1(t10); - strand = t10.build$0(); - C.JSArray_methods.add$1(strands, strand); - } - return new S.Tuple2(strands, helices_view_order, type$.Tuple2_of_legacy_List_legacy_Strand_and_legacy_List_legacy_int); + UndoRedoClear: function UndoRedoClear() { }, - strands_copy_info_from_strand_list: function(state, selected_strands, helices_view_order) { - var helices_view_order_inverse, min_forward, min_offset, extreme_helix_idx, extreme_helix_view_order, t2, t3, extreme_helix_idx0, helix_view_order, t4, helix_is_more_extreme, original_address, next_address, translation, _null = null, - t1 = J.getInterceptor$asx(selected_strands); - if (t1.get$isEmpty(selected_strands)) - return _null; - helices_view_order_inverse = E.invert_helices_view_order(helices_view_order); - for (t1 = t1.get$iterator(selected_strands), min_forward = _null, min_offset = min_forward, extreme_helix_idx = min_offset, extreme_helix_view_order = extreme_helix_idx; t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - extreme_helix_idx0 = t3.helix; - helix_view_order = helices_view_order_inverse.$index(0, extreme_helix_idx0); - if (extreme_helix_view_order != null) - if (state.ui_state.storables.invert_y) { - if (typeof helix_view_order !== "number") - return H.iae(helix_view_order); - t4 = extreme_helix_view_order < helix_view_order; - helix_is_more_extreme = t4; - } else { - if (typeof helix_view_order !== "number") - return H.iae(helix_view_order); - t4 = extreme_helix_view_order > helix_view_order; - helix_is_more_extreme = t4; - } - else - helix_is_more_extreme = true; - if (helix_is_more_extreme) { - min_offset = t3.start; - min_forward = t3.forward; - extreme_helix_idx = extreme_helix_idx0; - extreme_helix_view_order = helix_view_order; - } else { - if (min_offset != null) - t4 = extreme_helix_view_order == helix_view_order && min_offset > t3.start; - else - t4 = true; - if (t4) { - min_offset = t3.start; - min_forward = t3.forward; - } - } - } - } - original_address = Z._$Address$_(min_forward, extreme_helix_idx, min_offset); - next_address = X.compute_default_next_address(selected_strands, state.design, original_address, helices_view_order, helices_view_order_inverse); - if (next_address == null) - translation = _null; - else { - t1 = type$.legacy_int; - translation = next_address.difference$2(original_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t1, t1)); - } - t1 = D.BuiltList_BuiltList$of(selected_strands, type$.legacy_Strand); - t2 = type$.legacy_int; - return B.CopyInfo_CopyInfo(original_address, D.BuiltList_BuiltList$of(helices_view_order, t2), A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t2, t2), t1, translation); + BatchAction: function BatchAction() { }, - compute_default_next_address: function(selected_strands, design, start_address, helices_view_order, helices_view_order_inverse) { - var t1, group_name, group, t2, t3, t4, t5, t6, strands_move, translation_helix_order, strands_move_beneath, next_helix_idx, t7, t8, start_helix, strands_move_right, _null = null, _box_0 = {}, - group_names = design.group_names_of_strands$1(selected_strands); - if (group_names == null) - return _null; - t1 = group_names._set; - if (t1.get$length(t1) !== 1) - return _null; - group_name = t1.get$first(t1); - t1 = design.groups; - group = J.$index$asx(t1._map$_map, group_name); - t2 = J.getInterceptor$ax(helices_view_order); - if (!t2.toSet$0(helices_view_order).containsAll$1(group.helices_view_order)) - return _null; - t3 = design.strands; - t4 = D.BuiltList_BuiltList$of(selected_strands, type$.legacy_Strand); - t5 = design.helices; - t6 = type$.legacy_int; - strands_move = U.StrandsMove_StrandsMove(t3, true, t1, t5, true, start_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t6, t6), t4); - t4 = start_address.helix_idx; - t6 = helices_view_order_inverse.$index(0, t4); - if (typeof t6 !== "number") - return t6.$add(); - translation_helix_order = t6 + 1; - t1 = type$.legacy_void_Function_legacy_StrandsMoveBuilder; - t3 = type$.legacy_void_Function_legacy_AddressBuilder; - strands_move_beneath = strands_move; - while (true) { - t6 = t2.get$length(helices_view_order); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(translation_helix_order < t6)) - break; - next_helix_idx = t2.$index(helices_view_order, translation_helix_order); - t6 = strands_move_beneath.current_address; - t7 = t3._as(new X.compute_default_next_address_closure(next_helix_idx)); - t8 = new Z.AddressBuilder(); - t8._address$_$v = t6; - t7.call$1(t8); - t6 = t1._as(new X.compute_default_next_address_closure0(t8.build$0())); - t7 = new U.StrandsMoveBuilder(); - t7._strands_move$_$v = strands_move_beneath; - t6.call$1(t7); - strands_move_beneath = t7.build$0(); - if (D.in_bounds(design, strands_move_beneath, _null)) - if (D.is_allowable(design, strands_move_beneath, _null)) - return strands_move_beneath.current_address; - ++translation_helix_order; - } - start_helix = J.$index$asx(t5._map$_map, t4); - t2 = start_address.offset; - if (typeof t2 !== "number") - return t2.$add(); - t2 = _box_0.offset = t2 + 1; - for (t4 = start_helix.max_offset, strands_move_right = strands_move; t2 < t4;) { - t2 = strands_move_right.current_address; - t5 = t3._as(new X.compute_default_next_address_closure1(_box_0)); - t6 = new Z.AddressBuilder(); - t6._address$_$v = t2; - t5.call$1(t6); - t2 = t1._as(new X.compute_default_next_address_closure2(t6.build$0())); - t5 = new U.StrandsMoveBuilder(); - t5._strands_move$_$v = strands_move_right; - t2.call$1(t5); - strands_move_right = t5.build$0(); - if (D.in_bounds(design, strands_move_right, _null)) - if (D.is_allowable(design, strands_move_right, _null)) - return strands_move_right.current_address; - t2 = ++_box_0.offset; - } - return _null; + BatchAction_BatchAction_closure: function BatchAction_BatchAction_closure(t0, t1) { + this.actions = t0; + this.short_description_value = t1; }, - manual_paste_copy_info_reducer: function(copy_info, state, action) { - var t1, current_address, t2, t3; - type$.legacy_CopyInfo._as(copy_info); - type$.legacy_AppState._as(state); - type$.legacy_StrandsMoveCommit._as(action); - t1 = action.strands_move; - if (t1.copy) { - current_address = t1.current_address; - t2 = t1.groups; - t3 = J.$index$asx(t1.helices._map$_map, current_address.helix_idx).group; - if (J.$index$asx(t2._map$_map, t3).get$helices_view_order_inverse().$eq(0, t1.original_helices_view_order_inverse) && !action.autopaste && !current_address.$eq(0, copy_info.copied_address)) - copy_info = copy_info.rebuild$1(new X.manual_paste_copy_info_reducer_closure(current_address.difference$2(copy_info.copied_address, copy_info.helices_view_order_inverse))); - copy_info = copy_info.rebuild$1(new X.manual_paste_copy_info_reducer_closure0(current_address)); - } - return copy_info; + ThrottledActionFast: function ThrottledActionFast() { }, - parse_strands_and_helices_view_order_from_clipboard_closure: function parse_strands_and_helices_view_order_from_clipboard_closure(t0, t1, t2) { - this.mods = t0; - this.strand_json = t1; - this.modifications_int = t2; + ThrottledActionFast_ThrottledActionFast_closure: function ThrottledActionFast_ThrottledActionFast_closure(t0, t1) { + this.action = t0; + this.interval_sec = t1; }, - compute_default_next_address_closure: function compute_default_next_address_closure(t0) { - this.next_helix_idx = t0; + ThrottledActionNonFast: function ThrottledActionNonFast() { }, - compute_default_next_address_closure0: function compute_default_next_address_closure0(t0) { - this.next_address = t0; + ThrottledActionNonFast_ThrottledActionNonFast_closure: function ThrottledActionNonFast_ThrottledActionNonFast_closure(t0, t1) { + this.action = t0; + this.interval_sec = t1; }, - compute_default_next_address_closure1: function compute_default_next_address_closure1(t0) { - this._box_0 = t0; + LocalStorageDesignChoiceSet: function LocalStorageDesignChoiceSet() { }, - compute_default_next_address_closure2: function compute_default_next_address_closure2(t0) { - this.next_address = t0; + ResetLocalStorage: function ResetLocalStorage() { }, - manual_paste_copy_info_reducer_closure: function manual_paste_copy_info_reducer_closure(t0) { - this.translation = t0; + ClearHelixSelectionWhenLoadingNewDesignSet: function ClearHelixSelectionWhenLoadingNewDesignSet() { }, - manual_paste_copy_info_reducer_closure0: function manual_paste_copy_info_reducer_closure0(t0) { - this.current_address = t0; + EditModeToggle: function EditModeToggle() { }, - TypedGlobalReducer$: function(reducer, LocalState, GlobalState, Action) { - return new X.TypedGlobalReducer(reducer, LocalState._eval$1("@<0>")._bind$1(GlobalState)._bind$1(Action)._eval$1("TypedGlobalReducer<1,2,3>")); + EditModeToggle_EditModeToggle_closure: function EditModeToggle_EditModeToggle_closure(t0) { + this.mode = t0; }, - combineGlobalReducers: function(reducers, LocalState, GlobalState) { - return new X.combineGlobalReducers_closure(reducers, LocalState, GlobalState); + EditModesSet: function EditModesSet() { }, - TypedGlobalReducer: function TypedGlobalReducer(t0, t1) { - this.reducer = t0; - this.$ti = t1; + SelectModeToggle: function SelectModeToggle() { }, - combineGlobalReducers_closure: function combineGlobalReducers_closure(t0, t1, t2) { - this.reducers = t0; - this.LocalState = t1; - this.GlobalState = t2; + SelectModeToggle_SelectModeToggle_closure: function SelectModeToggle_SelectModeToggle_closure(t0) { + this.select_mode_choice = t0; }, - DNAAssignOptions_DNAAssignOptions: function(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence) { - var t1 = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(t1); - type$.legacy_void_Function_legacy_DNAAssignOptionsBuilder._as(new X.DNAAssignOptions_DNAAssignOptions_closure(dna_sequence, use_predefined_dna_sequence, assign_complements, disable_change_sequence_bound_strand, m13_rotation)).call$1(t1); - return t1.build$0(); + SelectModesAdd: function SelectModesAdd() { }, - DNAAssignOptions__initializeBuilder: function(b) { - b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; - b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; - b.get$_dna_assign_options$_$this()._assign_complements = true; - b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; - b.get$_dna_assign_options$_$this()._m13_rotation = 5587; + SelectModesSet: function SelectModesSet() { }, - DNAAssignOptionsBuilder$: function() { - var t1 = new X.DNAAssignOptionsBuilder(); - t1.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; - t1.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; - t1.get$_dna_assign_options$_$this()._assign_complements = true; - t1.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; - t1.get$_dna_assign_options$_$this()._m13_rotation = 5587; - return t1; + StrandNameSet: function StrandNameSet() { }, - DNAAssignOptions: function DNAAssignOptions() { + StrandLabelSet: function StrandLabelSet() { }, - DNAAssignOptions_DNAAssignOptions_closure: function DNAAssignOptions_DNAAssignOptions_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.dna_sequence = t0; - _.use_predefined_dna_sequence = t1; - _.assign_complements = t2; - _.disable_change_sequence_bound_strand = t3; - _.m13_rotation = t4; + SubstrandNameSet: function SubstrandNameSet() { }, - _$DNAAssignOptionsSerializer: function _$DNAAssignOptionsSerializer() { + SubstrandLabelSet: function SubstrandLabelSet() { }, - _$DNAAssignOptions: function _$DNAAssignOptions(t0, t1, t2, t3, t4) { - var _ = this; - _.dna_sequence = t0; - _.use_predefined_dna_sequence = t1; - _.assign_complements = t2; - _.disable_change_sequence_bound_strand = t3; - _.m13_rotation = t4; - _._dna_assign_options$__hashCode = null; + SetAppUIStateStorable: function SetAppUIStateStorable() { }, - DNAAssignOptionsBuilder: function DNAAssignOptionsBuilder() { - var _ = this; - _._m13_rotation = _._disable_change_sequence_bound_strand = _._assign_complements = _._use_predefined_dna_sequence = _._dna_assign_options$_dna_sequence = _._dna_assign_options$_$v = null; + SetAppUIStateStorable_SetAppUIStateStorable_closure: function SetAppUIStateStorable_SetAppUIStateStorable_closure(t0) { + this.storables = t0; }, - _DNAAssignOptions_Object_BuiltJsonSerializable: function _DNAAssignOptions_Object_BuiltJsonSerializable() { + ShowDNASet: function ShowDNASet() { }, - Position3D_Position3D$from_json: function(map) { - var origin, - t1 = J.getInterceptor$x(map); - if (t1.containsKey$1(map, "x") && t1.containsKey$1(map, "y") && t1.containsKey$1(map, "z")) - return X.Position3D_Position3D(H._asNumS(t1.$index(map, "x")), H._asNumS(t1.$index(map, "y")), H._asNumS(t1.$index(map, "z"))); - else if (t1.containsKey$1(map, "origin")) { - origin = t1.$index(map, "origin"); - t1 = J.getInterceptor$asx(origin); - return X.Position3D_Position3D(H._asNumS(t1.$index(origin, "x")), H._asNumS(t1.$index(origin, "y")), H._asNumS(t1.$index(origin, "z"))); - } else - return null; + ShowDNASet_ShowDNASet_closure: function ShowDNASet_ShowDNASet_closure(t0) { + this.show = t0; }, - Position3D_Position3D: function(x, y, z) { - var t1 = new X.Position3DBuilder(); - type$.legacy_void_Function_legacy_Position3DBuilder._as(new X.Position3D_Position3D_closure(x, y, z)).call$1(t1); - return t1.build$0(); + ShowDomainNamesSet: function ShowDomainNamesSet() { }, - Position3D: function Position3D() { + ShowDomainNamesSet_ShowDomainNamesSet_closure: function ShowDomainNamesSet_ShowDomainNamesSet_closure(t0) { + this.show = t0; }, - Position3D_Position3D_closure: function Position3D_Position3D_closure(t0, t1, t2) { - this.x = t0; - this.y = t1; - this.z = t2; + ShowStrandNamesSet: function ShowStrandNamesSet() { }, - _$Position3DSerializer: function _$Position3DSerializer() { + ShowStrandNamesSet_ShowStrandNamesSet_closure: function ShowStrandNamesSet_ShowStrandNamesSet_closure(t0) { + this.show = t0; }, - _$Position3D: function _$Position3D(t0, t1, t2) { - var _ = this; - _.x = t0; - _.y = t1; - _.z = t2; - _._position3d$__hashCode = null; + ShowStrandLabelsSet: function ShowStrandLabelsSet() { }, - Position3DBuilder: function Position3DBuilder() { - var _ = this; - _._z = _._y = _._x = _._position3d$_$v = null; + ShowStrandLabelsSet_ShowStrandLabelsSet_closure: function ShowStrandLabelsSet_ShowStrandLabelsSet_closure(t0) { + this.show = t0; }, - _Position3D_Object_BuiltJsonSerializable: function _Position3D_Object_BuiltJsonSerializable() { + ShowDomainLabelsSet: function ShowDomainLabelsSet() { }, - send_error: function(escaped_error_message) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - t1, t2; - var $async$send_error = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $.app.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(escaped_error_message)); - $.app.dispatch$1(new U._$LoadingDialogHide()); - t1 = $.app; - t2 = t1.view.design_view; - t1 = t1.store; - t2.render$1(0, t1.get$state(t1)); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$send_error, $async$completer); + ShowDomainLabelsSet_ShowDomainLabelsSet_closure: function ShowDomainLabelsSet_ShowDomainLabelsSet_closure(t0) { + this.show = t0; }, - _$DesignMainErrorBoundary: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? X._$$DesignMainErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : X._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(backingProps); + ShowModificationsSet: function ShowModificationsSet() { }, - _$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return X._$$DesignMainErrorBoundaryProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new X._$$DesignMainErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_error_boundary$_props = backingMap; - return t1; - } + ShowModificationsSet_ShowModificationsSet_closure: function ShowModificationsSet_ShowModificationsSet_closure(t0) { + this.show = t0; }, - _$$DesignMainErrorBoundaryProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new X._$$DesignMainErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_error_boundary$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + DomainNameFontSizeSet: function DomainNameFontSizeSet() { }, - _$$DesignMainErrorBoundaryState$JsMap$: function(backingMap) { - var t1 = new X._$$DesignMainErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_main_error_boundary$_state = backingMap; - return t1; + DomainLabelFontSizeSet: function DomainLabelFontSizeSet() { }, - DesignMainErrorBoundaryStateMixin: function DesignMainErrorBoundaryStateMixin() { + StrandNameFontSizeSet: function StrandNameFontSizeSet() { }, - DesignMainErrorBoundaryComponent: function DesignMainErrorBoundaryComponent() { + StrandLabelFontSizeSet: function StrandLabelFontSizeSet() { }, - $DesignMainErrorBoundaryComponentFactory_closure: function $DesignMainErrorBoundaryComponentFactory_closure() { + ModificationFontSizeSet: function ModificationFontSizeSet() { }, - _$$DesignMainErrorBoundaryProps: function _$$DesignMainErrorBoundaryProps() { + ModificationFontSizeSet_ModificationFontSizeSet_closure: function ModificationFontSizeSet_ModificationFontSizeSet_closure(t0) { + this.font_size = t0; }, - _$$DesignMainErrorBoundaryProps$PlainMap: function _$$DesignMainErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _._design_main_error_boundary$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + MajorTickOffsetFontSizeSet: function MajorTickOffsetFontSizeSet() { }, - _$$DesignMainErrorBoundaryProps$JsMap: function _$$DesignMainErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _._design_main_error_boundary$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure: function MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(t0) { + this.font_size = t0; }, - _$$DesignMainErrorBoundaryState: function _$$DesignMainErrorBoundaryState() { + MajorTickWidthFontSizeSet: function MajorTickWidthFontSizeSet() { }, - _$$DesignMainErrorBoundaryState$JsMap: function _$$DesignMainErrorBoundaryState$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_main_error_boundary$_state = t0; - _.DesignMainErrorBoundaryStateMixin_error = t1; - _.ErrorBoundaryState_hasError = t2; - _.ErrorBoundaryState_showFallbackUIOnError = t3; + MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure: function MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(t0) { + this.font_size = t0; }, - _$DesignMainErrorBoundaryComponent: function _$DesignMainErrorBoundaryComponent(t0) { - var _ = this; - _._cachedTypedState = _._design_main_error_boundary$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + SetModificationDisplayConnector: function SetModificationDisplayConnector() { }, - $DesignMainErrorBoundaryStateMixin: function $DesignMainErrorBoundaryStateMixin() { + SetModificationDisplayConnector_SetModificationDisplayConnector_closure: function SetModificationDisplayConnector_SetModificationDisplayConnector_closure(t0) { + this.show = t0; }, - _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { + ShowMismatchesSet: function ShowMismatchesSet() { }, - __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps() { + ShowMismatchesSet_ShowMismatchesSet_closure: function ShowMismatchesSet_ShowMismatchesSet_closure(t0) { + this.show = t0; }, - __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + ShowDomainNameMismatchesSet: function ShowDomainNameMismatchesSet() { }, - __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState() { + ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure: function ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(t0) { + this.show_domain_name_mismatches = t0; }, - __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + ShowUnpairedInsertionDeletionsSet: function ShowUnpairedInsertionDeletionsSet() { }, - __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin() { + ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure: function ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(t0) { + this.show_unpaired_insertion_deletions = t0; }, - __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin() { + OxviewShowSet: function OxviewShowSet() { }, - ask_for_add_modification: function(strand, substrand, address, type) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, selected_index, strand_dna_idx, items, t1, t2, last_mod, initial_display_text, initial_vendor_code, initial_connector_length, t3, t4, results, display_text, vendor_code, t5, connector_length, index_of_dna_base, attached_to_base, allowed_bases_str, mod, i, allowed_bases, action, ends_selected, all_actions, _i, end_selected, t6; - var $async$ask_for_add_modification = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - if (type === C.ModificationType_five_prime) - selected_index = 1; - else - selected_index = type === C.ModificationType_three_prime ? 0 : 2; - strand_dna_idx = address != null ? M.clicked_strand_dna_idx(type$.legacy_Domain._as(substrand), address, strand) : 0; - items = P.List_List$filled(7, null, false, type$.legacy_DialogItem); - t1 = type$.legacy_String; - C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("modification type", null, P.LinkedHashSet_LinkedHashSet$_literal(["3'", "5'", "internal"], t1), true, selected_index, null)); - if (selected_index === 0) { - t2 = $.app.store; - last_mod = t2.get$state(t2).ui_state.last_mod_3p; - } else if (selected_index === 1) { - t2 = $.app.store; - last_mod = t2.get$state(t2).ui_state.last_mod_5p; - } else if (selected_index === 2) { - t2 = $.app.store; - last_mod = t2.get$state(t2).ui_state.last_mod_int; - } else - throw H.wrapException(P.AssertionError$("should be unreachable")); - if (last_mod != null) { - initial_display_text = last_mod.get$display_text(); - initial_vendor_code = last_mod.get$vendor_code(); - initial_connector_length = last_mod.get$connector_length(); - } else { - initial_display_text = ""; - initial_vendor_code = ""; - initial_connector_length = 4; - } - C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("display text", string$.This_it, initial_display_text)); - C.JSArray_methods.$indexSet(items, 2, E.DialogText_DialogText("vendor code", string$.This_i_, initial_vendor_code)); - C.JSArray_methods.$indexSet(items, 3, E.DialogInteger_DialogInteger("connector length", string$.The_nu, initial_connector_length)); - C.JSArray_methods.$indexSet(items, 4, E.DialogInteger_DialogInteger("index of DNA base", "The index of the DNA base at which to attach an internal modification.", strand_dna_idx)); - C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, true)); - C.JSArray_methods.$indexSet(items, 6, E.DialogText_DialogText("allowed bases", string$.For_in, "ACGT")); - t2 = type$.JSArray_legacy_String; - t3 = type$.legacy_int; - t4 = type$.legacy_Iterable_legacy_String; - t4 = P.LinkedHashMap_LinkedHashMap$_literal([4, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4), 5, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4), 6, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4)], t3, type$.legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([6, H.setRuntimeTypeInfo([5], type$.JSArray_legacy_int)], t3, type$.legacy_Iterable_legacy_int), C.Map_empty2, t4, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "add modification", C.DialogType_add_modification, false)), $async$ask_for_add_modification); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t2 = J.getInterceptor$asx(results); - t3 = type$.legacy_DialogRadio._as(t2.$index(results, 0)); - t4 = t3.options; - t3 = t3.selected_idx; - t3 = J.$index$asx(t4._list, t3); - t4 = type$.legacy_DialogText; - display_text = t4._as(t2.$index(results, 1)).value; - vendor_code = t4._as(t2.$index(results, 2)).value; - t5 = type$.legacy_DialogInteger; - connector_length = H._asIntS(t5._as(t2.$index(results, 3)).value); - index_of_dna_base = H._asIntS(t5._as(t2.$index(results, 4)).value); - attached_to_base = type$.legacy_DialogCheckbox._as(t2.$index(results, 5)).value; - allowed_bases_str = t4._as(t2.$index(results, 6)).value; - if (t3 === "3'") - mod = Z.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); - else if (t3 === "5'") - mod = Z.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); - else { - if (attached_to_base) { - t2 = P.RegExp_RegExp("[^(ACGTacgt)]", true); - allowed_bases_str = H.stringReplaceAllUnchecked(allowed_bases_str, t2, ""); - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) - t2.add$1(0, allowed_bases_str[i].toUpperCase()); - allowed_bases = X._BuiltSet$of(t2, t1); - } else - allowed_bases = null; - mod = Z.ModificationInternal_ModificationInternal(type$.legacy_BuiltSet_legacy_String._as(allowed_bases), connector_length, display_text, null, vendor_code); - } - if (mod instanceof Z.ModificationInternal) - action = U._$ModificationAdd$_(mod, strand, index_of_dna_base); - else { - t1 = $.app.store; - ends_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_dna_ends()._set.toList$1$growable(0, true); - if (mod instanceof Z.Modification5Prime && !C.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_5p())) - C.JSArray_methods.add$1(ends_selected, strand.get$dnaend_5p()); - else if (mod instanceof Z.Modification3Prime && !C.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_3p())) - C.JSArray_methods.add$1(ends_selected, strand.get$dnaend_3p()); - t1 = ends_selected.length; - if (t1 === 1) - action = U._$ModificationAdd$_(mod, strand, index_of_dna_base); - else if (t1 > 1) { - all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ModificationAdd); - for (t1 = ends_selected.length, t2 = type$.legacy_DNAEnd, t3 = mod == null, _i = 0; _i < ends_selected.length; ends_selected.length === t1 || (0, H.throwConcurrentModificationError)(ends_selected), ++_i) { - end_selected = ends_selected[_i]; - t4 = $.app.store; - t4 = t4.get$state(t4).design; - t4.toString; - t2._as(end_selected); - t5 = t4.__substrand_to_strand; - if (t5 == null) { - t5 = N.Design.prototype.get$substrand_to_strand.call(t4); - t4.set$__substrand_to_strand(t5); - } - t6 = t4.__end_to_domain; - if (t6 == null) { - t6 = N.Design.prototype.get$end_to_domain.call(t4); - t4.set$__end_to_domain(t6); - t4 = t6; - } else - t4 = t6; - t4 = J.$index$asx(t4._map$_map, end_selected); - t4 = J.$index$asx(t5._map$_map, t4); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ModificationAdd", "strand")); - if (t3) - H.throwExpression(Y.BuiltValueNullFieldError$("ModificationAdd", "modification")); - C.JSArray_methods.add$1(all_actions, new U._$ModificationAdd(t4, mod, null)); - } - action = U.BatchAction_BatchAction(all_actions, "add modifications"); - } else { - P.print(string$.WARNINs); - // goto return - $async$goto = 1; - break; - } - } - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_add_modification, $async$completer); - }, - edit_modification: function(modification, selectable_modification, strand, dna_idx_mod) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$returnValue, t1, attached_to_base_old, t2, results, display_text, vendor_code, connector_length, new_mod, attached_to_base, allowed_bases_str, t3, i, allowed_bases, selectable_mods, action, is_internal, num_items, items; - var $async$edit_modification = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - is_internal = modification instanceof Z.ModificationInternal; - num_items = is_internal ? 5 : 3; - items = P.List_List$filled(num_items, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("display text", string$.This_it, modification.get$display_text())); - C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("vendor code", string$.This_i_, modification.get$vendor_code())); - C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("connector length", string$.The_nu, modification.get$connector_length())); - if (is_internal) { - t1 = modification.allowed_bases; - attached_to_base_old = t1 != null; - C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, attached_to_base_old)); - C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("allowed bases", string$.For_in, attached_to_base_old ? t1._set.join$1(0, "") : "ACGT")); - } - t1 = type$.legacy_int; - t2 = type$.legacy_Iterable_legacy_int; - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, is_internal ? P.LinkedHashMap_LinkedHashMap$_literal([4, H.setRuntimeTypeInfo([3], type$.JSArray_legacy_int)], t1, t2) : P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "edit modification", C.DialogType_edit_modification, false)), $async$edit_modification); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogText; - display_text = t2._as(t1.$index(results, 0)).value; - vendor_code = t2._as(t1.$index(results, 1)).value; - connector_length = H._asIntS(type$.legacy_DialogInteger._as(t1.$index(results, 2)).value); - if (modification instanceof Z.Modification3Prime) - new_mod = Z.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); - else if (modification instanceof Z.Modification5Prime) - new_mod = Z.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); - else { - attached_to_base = type$.legacy_DialogCheckbox._as(t1.$index(results, 3)).value; - allowed_bases_str = t2._as(t1.$index(results, 4)).value; - if (attached_to_base) { - t1 = P.RegExp_RegExp("[^(ACGTacgt)]", true); - allowed_bases_str = H.stringReplaceAllUnchecked(allowed_bases_str, t1, ""); - t1 = type$.legacy_String; - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) - t2.add$1(0, allowed_bases_str[i].toUpperCase()); - allowed_bases = X._BuiltSet$of(t2, t1); - } else - allowed_bases = null; - new_mod = Z.ModificationInternal_ModificationInternal(type$.legacy_BuiltSet_legacy_String._as(allowed_bases), connector_length, display_text, null, vendor_code); - } - t1 = $.app.store; - selectable_mods = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set.toList$1$growable(0, true); - if (!C.JSArray_methods.contains$1(selectable_mods, selectable_modification)) - C.JSArray_methods.add$1(selectable_mods, selectable_modification); - t1 = selectable_mods.length; - if (t1 === 1) - action = U._$ModificationEdit$_(new_mod, strand, dna_idx_mod); - else if (t1 > 1) - if (new_mod instanceof Z.Modification5Prime) { - t1 = H._arrayInstanceType(selectable_mods); - action = U.Modifications5PrimeEdit_Modifications5PrimeEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModification5Prime), new_mod); - } else if (new_mod instanceof Z.Modification3Prime) { - t1 = H._arrayInstanceType(selectable_mods); - action = U.Modifications3PrimeEdit_Modifications3PrimeEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure0()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModification3Prime), new_mod); - } else if (new_mod instanceof Z.ModificationInternal) { - t1 = H._arrayInstanceType(selectable_mods); - action = U.ModificationsInternalEdit_ModificationsInternalEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure1()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModificationInternal), new_mod); - } else - action = null; - else { - P.print(string$.WARNINs); - // goto return - $async$goto = 1; - break; - } - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$edit_modification, $async$completer); - }, - _$DesignMainStrandModification: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? X._$$DesignMainStrandModificationProps$JsMap$(new L.JsBackedMap({})) : X._$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps(backingProps); - }, - _$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return X._$$DesignMainStrandModificationProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new X._$$DesignMainStrandModificationProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_modification$_props = backingMap; - return t1; - } + OxviewShowSet_OxviewShowSet_closure: function OxviewShowSet_OxviewShowSet_closure(t0) { + this.show = t0; }, - _$$DesignMainStrandModificationProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new X._$$DesignMainStrandModificationProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_modification$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix() { }, - DesignMainStrandModificationProps: function DesignMainStrandModificationProps() { + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(t0) { + this.show = t0; }, - DesignMainStrandModificationComponent: function DesignMainStrandModificationComponent() { + DisplayMajorTicksOffsetsSet: function DisplayMajorTicksOffsetsSet() { }, - DesignMainStrandModificationComponent_render_closure: function DesignMainStrandModificationComponent_render_closure(t0) { - this.$this = t0; + DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure: function DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(t0) { + this.show = t0; }, - DesignMainStrandModificationComponent_render_closure0: function DesignMainStrandModificationComponent_render_closure0(t0) { - this.$this = t0; + SetDisplayMajorTickWidthsAllHelices: function SetDisplayMajorTickWidthsAllHelices() { }, - DesignMainStrandModificationComponent_context_menu_modification_closure: function DesignMainStrandModificationComponent_context_menu_modification_closure(t0) { - this.$this = t0; + SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure: function SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(t0) { + this.show = t0; }, - edit_modification_closure: function edit_modification_closure() { + SetDisplayMajorTickWidths: function SetDisplayMajorTickWidths() { }, - edit_modification_closure0: function edit_modification_closure0() { + SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure: function SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(t0) { + this.show = t0; }, - edit_modification_closure1: function edit_modification_closure1() { + SetOnlyDisplaySelectedHelices: function SetOnlyDisplaySelectedHelices() { }, - $DesignMainStrandModificationComponentFactory_closure: function $DesignMainStrandModificationComponentFactory_closure() { + SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure: function SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(t0) { + this.only_display_selected_helices = t0; }, - _$$DesignMainStrandModificationProps: function _$$DesignMainStrandModificationProps() { + InvertYSet: function InvertYSet() { }, - _$$DesignMainStrandModificationProps$PlainMap: function _$$DesignMainStrandModificationProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_modification$_props = t0; - _.DesignMainStrandModificationProps_dna_idx_mod = t1; - _.DesignMainStrandModificationProps_helix = t2; - _.DesignMainStrandModificationProps_display_connector = t3; - _.DesignMainStrandModificationProps_font_size = t4; - _.DesignMainStrandModificationProps_invert_y = t5; - _.DesignMainStrandModificationProps_transform = t6; - _.DesignMainStrandModificationProps_geometry = t7; - _.DesignMainStrandModificationProps_selectable_modification = t8; - _.DesignMainStrandModificationProps_selected = t9; - _.DesignMainStrandModificationProps_helix_svg_position_y = t10; - _.DesignMainStrandModificationProps_ext = t11; - _.DesignMainStrandModificationProps_retain_strand_color_on_selection = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + DynamicHelixUpdateSet: function DynamicHelixUpdateSet() { }, - _$$DesignMainStrandModificationProps$JsMap: function _$$DesignMainStrandModificationProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_modification$_props = t0; - _.DesignMainStrandModificationProps_dna_idx_mod = t1; - _.DesignMainStrandModificationProps_helix = t2; - _.DesignMainStrandModificationProps_display_connector = t3; - _.DesignMainStrandModificationProps_font_size = t4; - _.DesignMainStrandModificationProps_invert_y = t5; - _.DesignMainStrandModificationProps_transform = t6; - _.DesignMainStrandModificationProps_geometry = t7; - _.DesignMainStrandModificationProps_selectable_modification = t8; - _.DesignMainStrandModificationProps_selected = t9; - _.DesignMainStrandModificationProps_helix_svg_position_y = t10; - _.DesignMainStrandModificationProps_ext = t11; - _.DesignMainStrandModificationProps_retain_strand_color_on_selection = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + WarnOnExitIfUnsavedSet: function WarnOnExitIfUnsavedSet() { }, - _$DesignMainStrandModificationComponent: function _$DesignMainStrandModificationComponent(t0) { - var _ = this; - _._design_main_strand_modification$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + LoadingDialogShow: function LoadingDialogShow() { }, - $DesignMainStrandModificationProps: function $DesignMainStrandModificationProps() { + LoadingDialogHide: function LoadingDialogHide() { }, - __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps() { + CopySelectedStandsToClipboardImage: function CopySelectedStandsToClipboardImage() { }, - __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps() { + SaveDNAFile: function SaveDNAFile() { }, - SourceSpanWithContext$: function(start, end, text, _context) { - var t1 = new X.SourceSpanWithContext(_context, start, end, text); - t1.SourceSpanBase$3(start, end, text); - if (!C.JSString_methods.contains$1(_context, text)) - H.throwExpression(P.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".')); - if (B.findLineStart(_context, text, start.get$column()) == null) - H.throwExpression(P.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".')); - return t1; + LoadDNAFile: function LoadDNAFile() { }, - SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) { + LoadDNAFile_LoadDNAFile_closure: function LoadDNAFile_LoadDNAFile_closure(t0, t1, t2, t3, t4) { var _ = this; - _._context = t0; - _.start = t1; - _.end = t2; - _.text = t3; + _.content = t0; + _.filename = t1; + _.write_local_storage = t2; + _.unit_testing = t3; + _.dna_file_type = t4; }, - StringScanner: function StringScanner(t0, t1) { + PrepareToLoadDNAFile: function PrepareToLoadDNAFile() { + }, + PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure: function PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure(t0, t1, t2, t3, t4) { var _ = this; - _.sourceUrl = t0; - _.string = t1; - _._string_scanner$_position = 0; - _._lastMatchPosition = _._lastMatch = null; + _.content = t0; + _.filename = t1; + _.write_local_storage = t2; + _.unit_testing = t3; + _.dna_file_type = t4; }, - XmlHasName: function XmlHasName() { + NewDesignSet: function NewDesignSet() { }, - XmlWriter: function XmlWriter(t0, t1) { - this.buffer = t0; - this.entityMapping = t1; + NewDesignSet_NewDesignSet_closure: function NewDesignSet_NewDesignSet_closure(t0, t1) { + this.design = t0; + this.short_description_value = t1; }, - _XmlWriter_Object_XmlVisitor: function _XmlWriter_Object_XmlVisitor() { + ExportCadnanoFile: function ExportCadnanoFile() { }, - CRC32: function(crc, b) { - return (C.List_B8J[(crc ^ b) & 255] ^ crc >>> 8) >>> 0; + ExportCodenanoFile: function ExportCodenanoFile() { }, - getCrc32: function(array, crc) { - var ip, ip0, t2, - t1 = J.getInterceptor$asx(array), - len = t1.get$length(array); - crc ^= 4294967295; - ip = 0; - while (true) { - if (typeof len !== "number") - return len.$ge(); - if (!(len >= 8)) - break; - ip0 = ip + 1; - t2 = t1.$index(array, ip); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip = ip0 + 1; - t2 = t1.$index(array, ip0); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip0 = ip + 1; - t2 = t1.$index(array, ip); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip = ip0 + 1; - t2 = t1.$index(array, ip0); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip0 = ip + 1; - t2 = t1.$index(array, ip); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip = ip0 + 1; - t2 = t1.$index(array, ip0); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip0 = ip + 1; - t2 = t1.$index(array, ip); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - ip = ip0 + 1; - t2 = t1.$index(array, ip0); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - len -= 8; - } - if (len > 0) - do { - ip0 = ip + 1; - t2 = t1.$index(array, ip); - if (typeof t2 !== "number") - return H.iae(t2); - crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; - if (--len, len > 0) { - ip = ip0; - continue; - } else - break; - } while (true); - return (crc ^ 4294967295) >>> 0; + ShowMouseoverDataSet: function ShowMouseoverDataSet() { }, - toCharCode: function(element) { - var value; - if (typeof element == "number") - return C.JSNumber_methods.round$0(element); - value = J.toString$0$(element); - if (value.length !== 1) - throw H.wrapException(P.ArgumentError$('"' + H.S(value) + '" is not a character')); - return J._codeUnitAt$1$s(value, 0); - }, - _toFormattedChar: function(code) { - H._asIntS(code); - switch (code) { - case 8: - return "\\b"; - case 9: - return "\\t"; - case 10: - return "\\n"; - case 11: - return "\\v"; - case 12: - return "\\f"; - case 13: - return "\\r"; - case 34: - return '\\"'; - case 39: - return "\\'"; - case 92: - return "\\\\"; - } - if (typeof code !== "number") - return code.$lt(); - if (code < 32) - return "\\x" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(code, 16), 2, "0"); - return H.Primitives_stringFromCharCode(code); + ShowMouseoverDataSet_ShowMouseoverDataSet_closure: function ShowMouseoverDataSet_ShowMouseoverDataSet_closure(t0) { + this.show = t0; }, - assign_dna_middleware: function(store, action, next) { - var e, t1, exception; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.AssignDNA) { - t1 = action.dna_assign_options; - t1 = t1.assign_complements && t1.disable_change_sequence_bound_strand; - } else - t1 = false; - if (t1) - try { - R.assign_dna_reducer(store.get$state(store).design.strands, store.get$state(store), action); - } catch (exception) { - t1 = H.unwrapException(exception); - if (t1 instanceof P.ArgumentError) { - e = t1; - C.Window_methods.alert$1(window, H._asStringS(e.message)); - return; - } else - throw exception; - } - next.call$1(action); + MouseoverDataClear: function MouseoverDataClear() { }, - helix_grid_offsets_middleware: function(store, action, next) { - var t1, t2, geometry, t3, t4, t5, t6, t7, position_normalized_diameter_1, idxs, i1, i2, i20, h1idx, h2idx, gp1, pos1, pos2, msg; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.GridChange) { - t1 = action.grid; - t1.toString; - if (t1 !== C.Grid_none) { - t1 = store.get$state(store).design.groups; - t2 = action.group_name; - t2 = J.$index$asx(t1._map$_map, t2).grid === C.Grid_none; - t1 = t2; - } else - t1 = false; - } else - t1 = false; - if (t1) { - geometry = store.get$state(store).design.geometry; - t1 = type$.legacy_GridPosition; - t2 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, t1); - for (t3 = store.get$state(store).design.helices_in_group$1(action.group_name), t3 = J.get$iterator$ax(t3.get$values(t3)), t4 = action.grid; t3.moveNext$0();) { - t5 = t3.get$current(t3); - t6 = t5.idx; - t7 = t5.position_; - t5 = t7 == null ? E.grid_position_to_position3d(t5.grid_position, t5.grid, t5.geometry) : t7; - t7 = geometry.__distance_between_helices_nm; - t7 = 1 / (t7 == null ? geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t7); - position_normalized_diameter_1 = X.Position3D_Position3D(t5.x * t7, t5.y * t7, t5.z * t7); - t2.$indexSet(0, t6, E.position_2d_to_grid_position_diameter_1_circles(t4, position_normalized_diameter_1.z, position_normalized_diameter_1.y, C.HexGridCoordinateSystem_2)); - } - if (P.LinkedHashSet_LinkedHashSet$from(t2.get$values(t2), t1)._collection$_length !== t2.get$length(t2)) { - t1 = t2.get$keys(t2); - idxs = P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")); - for (i1 = 0; t1 = idxs.length, i1 < t1; i1 = i2) - for (i2 = i1 + 1, i20 = i2; i20 < t1; ++i20) { - h1idx = idxs[i1]; - h2idx = idxs[i20]; - gp1 = t2.$index(0, h1idx); - if (J.$eq$(gp1, t2.$index(0, h2idx))) { - t1 = store.get$state(store).design.helices._map$_map; - t2 = J.getInterceptor$asx(t1); - t3 = t2.$index(t1, h1idx); - pos1 = t3.__position3d; - if (pos1 == null) - pos1 = t3.__position3d = O.Helix.prototype.get$position3d.call(t3); - t1 = t2.$index(t1, h2idx); - pos2 = t1.__position3d; - if (pos2 == null) - pos2 = t1.__position3d = O.Helix.prototype.get$position3d.call(t1); - msg = "This design cannot be automatically converted to the " + t4.name + " grid.\nTwo helices, with idx values " + H.S(h1idx) + " and " + H.S(h2idx) + ", have positions that are\nboth closest to grid position (" + gp1.h + ", " + gp1.v + "). They have positions\n(" + H.S(pos1.x) + ", " + H.S(pos1.y) + ", " + H.S(pos1.z) + ") and \n(" + H.S(pos2.x) + ", " + H.S(pos2.y) + ", " + H.S(pos2.z) + "), respectively.\n"; - C.Window_methods.alert$1(window, msg); - return; - } - } - } - } - next.call$1(action); + MouseoverDataUpdate: function MouseoverDataUpdate() { }, - zoom_speed_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.ZoomSpeedSet) - self.set_zoom_speed(action.speed); - next.call$1(action); - } - }, - O = { - Uint8ListEquality_equals: function(mac, computedMac) { - var v, i, - t1 = mac.length, - t2 = J.getInterceptor$asx(computedMac); - if (t1 !== t2.get$length(computedMac)) - return false; - for (v = 0, i = 0; i < t1; ++i) - v = (v | mac[i] ^ t2.$index(computedMac, i)) >>> 0; - return v === 0; + HelixRollSet: function HelixRollSet() { }, - AesCipherUtil_prepareBuffAESIVBytes: function(buff, nonce) { - var i; - buff[0] = nonce & 255; - buff[1] = nonce >>> 8 & 255; - buff[2] = nonce >>> 16 & 255; - buff[3] = nonce >>> 24 & 255; - for (i = 4; i <= 15; ++i) { - if (i >= 16) - return H.ioore(buff, i); - buff[i] = 0; - } + HelixRollSetAtOther: function HelixRollSetAtOther() { }, - AesDecrypt: function AesDecrypt(t0, t1, t2, t3) { + HelixRollSetAtOther_HelixRollSetAtOther_closure: function HelixRollSetAtOther_HelixRollSetAtOther_closure(t0, t1, t2, t3) { var _ = this; - _.nonce = 1; - _.iv = t0; - _.counterBlock = t1; - _.derivedKey = t2; - _.aesKeyStrength = t3; - _.mac = _.aesEngine = null; + _.helix_idx = t0; + _.helix_other_idx = t1; + _.forward = t2; + _.anchor = t3; }, - BigIntSerializer: function BigIntSerializer(t0) { - this.types = t0; + RelaxHelixRolls: function RelaxHelixRolls() { }, - BuiltSetSerializer: function BuiltSetSerializer(t0) { - this.types = t0; + ErrorMessageSet: function ErrorMessageSet() { }, - BuiltSetSerializer_serialize_closure: function BuiltSetSerializer_serialize_closure(t0, t1) { - this.serializers = t0; - this.elementType = t1; + ErrorMessageSet_ErrorMessageSet_closure: function ErrorMessageSet_ErrorMessageSet_closure(t0) { + this.error_message = t0; }, - BuiltSetSerializer_deserialize_closure: function BuiltSetSerializer_deserialize_closure(t0, t1) { - this.serializers = t0; - this.elementType = t1; + SelectionBoxCreate: function SelectionBoxCreate() { }, - JsonObjectSerializer: function JsonObjectSerializer(t0) { - this.types = t0; + SelectionBoxCreate_SelectionBoxCreate_closure: function SelectionBoxCreate_SelectionBoxCreate_closure(t0, t1, t2) { + this.point = t0; + this.toggle = t1; + this.is_main = t2; }, - UriSerializer: function UriSerializer(t0) { - this.types = t0; + SelectionBoxSizeChange: function SelectionBoxSizeChange() { }, - BrowserClient: function BrowserClient(t0) { - this._xhrs = t0; + SelectionBoxSizeChange_SelectionBoxSizeChange_closure: function SelectionBoxSizeChange_SelectionBoxSizeChange_closure(t0, t1) { + this.point = t0; + this.is_main = t1; }, - BrowserClient_send_closure: function BrowserClient_send_closure(t0, t1, t2) { - this.xhr = t0; - this.completer = t1; - this.request = t2; + SelectionBoxRemove: function SelectionBoxRemove() { }, - BrowserClient_send__closure: function BrowserClient_send__closure(t0, t1, t2, t3) { - var _ = this; - _.reader = t0; - _.completer = t1; - _.xhr = t2; - _.request = t3; + SelectionBoxRemove_SelectionBoxRemove_closure: function SelectionBoxRemove_SelectionBoxRemove_closure(t0) { + this.is_main = t0; }, - BrowserClient_send__closure0: function BrowserClient_send__closure0(t0, t1) { - this.completer = t0; - this.request = t1; + SelectionRopeCreate: function SelectionRopeCreate() { }, - BrowserClient_send_closure0: function BrowserClient_send_closure0(t0, t1) { - this.completer = t0; - this.request = t1; + SelectionRopeMouseMove: function SelectionRopeMouseMove() { }, - Request$: function(method, url) { - var t1 = type$.legacy_String; - return new O.Request(C.C_Utf8Codec, new Uint8Array(0), method, url, P.LinkedHashMap_LinkedHashMap(new G.BaseRequest_closure(), new G.BaseRequest_closure0(), t1, t1)); + SelectionRopeAddPoint: function SelectionRopeAddPoint() { }, - Request: function Request(t0, t1, t2, t3, t4) { - var _ = this; - _._defaultEncoding = t0; - _._bodyBytes = t1; - _.method = t2; - _.url = t3; - _.headers = t4; - _._finalized = false; + SelectionRopeRemove: function SelectionRopeRemove() { }, - ErrorBoundaryApi: function ErrorBoundaryApi() { + MouseGridPositionSideUpdate: function MouseGridPositionSideUpdate() { }, - Style__getPlatformStyle: function() { - var t1, userInfo, host, query, fragment, port, hasAuthority, path, t2, _null = null; - if (P.Uri_base().get$scheme() !== "file") - return $.$get$Style_url(); - t1 = P.Uri_base(); - if (!C.JSString_methods.endsWith$1(t1.get$path(t1), "/")) - return $.$get$Style_url(); - userInfo = P._Uri__makeUserInfo(_null, 0, 0); - host = P._Uri__makeHost(_null, 0, 0, false); - query = P._Uri__makeQuery(_null, 0, 0, _null); - fragment = P._Uri__makeFragment(_null, 0, 0); - port = P._Uri__makePort(_null, ""); - if (host == null) - t1 = userInfo.length !== 0 || port != null || false; - else - t1 = false; - if (t1) - host = ""; - t1 = host == null; - hasAuthority = !t1; - path = P._Uri__makePath("a/b", 0, 3, _null, "", hasAuthority); - t2 = t1 && !C.JSString_methods.startsWith$1(path, "/"); - if (t2) - path = P._Uri__normalizeRelativePath(path, hasAuthority); - else - path = P._Uri__removeDotSegments(path); - if (P._Uri$_internal("", userInfo, t1 && C.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment).toFilePath$0() === "a\\b") - return $.$get$Style_windows(); - return $.$get$Style_posix(); + MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure: function MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(t0) { + this.grid_position = t0; }, - Style: function Style() { + MouseGridPositionSideClear: function MouseGridPositionSideClear() { }, - ChoiceParserExtension_or: function(_this, other) { - var t1, t2; - if (_this instanceof O.ChoiceParser) { - t1 = P.List_List$of(_this.children, true, type$.Parser_dynamic); - t1.push(other); - t2 = type$.Failure_dynamic_Function_2_Failure_dynamic_and_Failure_dynamic._as(_this.failureJoiner); - t1 = O.ChoiceParser$(t1, t2, type$.dynamic); - } else - t1 = O.ChoiceParser$(H.setRuntimeTypeInfo([_this, other], type$.JSArray_Parser_dynamic), null, type$.dynamic); - return t1; + MouseGridPositionSideClear_MouseGridPositionSideClear_closure: function MouseGridPositionSideClear_MouseGridPositionSideClear_closure() { }, - ChoiceParser$: function(children, failureJoiner, $T) { - var t1 = failureJoiner == null ? H.instantiate1(M.failure_joiner__selectLast$closure(), $T) : failureJoiner, - t2 = P.List_List$of(children, false, $T._eval$1("Parser<0>")); - if (children.length === 0) - H.throwExpression(P.ArgumentError$("Choice parser cannot be empty.")); - return new O.ChoiceParser(t1, t2, $T._eval$1("ChoiceParser<0>")); + MousePositionSideUpdate: function MousePositionSideUpdate() { }, - ChoiceParser: function ChoiceParser(t0, t1, t2) { - this.failureJoiner = t0; - this.children = t1; - this.$ti = t2; + MousePositionSideClear: function MousePositionSideClear() { }, - BaseMac: function BaseMac() { + GeometrySet: function GeometrySet() { }, - JsPropertyDescriptor: function JsPropertyDescriptor() { + SelectionBoxIntersectionRuleSet: function SelectionBoxIntersectionRuleSet() { }, - Promise: function Promise() { + Select: function Select() { }, - grid_change_reducer: function(groups, action) { - var t1 = type$.legacy_HelixGroup; - return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups), new O.grid_change_reducer_closure(type$.legacy_GridChange._as(action)), type$.legacy_String, t1, t1); + Select_Select_closure: function Select_Select_closure(t0, t1, t2) { + this.selectable = t0; + this.toggle = t1; + this.only = t2; }, - group_add_reducer: function(groups, action) { - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_add_reducer_closure(type$.legacy_GroupAdd._as(action))); + SelectionsClear: function SelectionsClear() { }, - group_remove_reducer: function(groups, action) { - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_remove_reducer_closure(type$.legacy_GroupRemove._as(action))); + SelectionsClear_SelectionsClear_closure: function SelectionsClear_SelectionsClear_closure() { }, - group_change_reducer: function(groups, action) { - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_change_reducer_closure(type$.legacy_GroupChange._as(action))); + SelectionsAdjustMainView: function SelectionsAdjustMainView() { }, - move_helices_to_group_groups_reducer: function(groups, state, action) { - var to_group_name, t1, t2, t3, t4, t5, t6, to_group, new_helices_view_order, t7, t8, t9, t10, t11, t12, _i, from_group_name, from_group, t13, t14, new_from_helices_group_order, t15, t16; - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - type$.legacy_AppState._as(state); - type$.legacy_MoveHelicesToGroup._as(action); - to_group_name = action.group_name; - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = action.helix_idxs._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2); t4.moveNext$0();) { - t5 = t4.get$current(t4); - t1.push(J.$index$asx(state.design.helices._map$_map, t5).group); - } - t4 = state.design.groups; - t5 = t4._map$_map; - t6 = H._instanceType(t4); - t6 = t6._eval$1("@<1>")._bind$1(t6._rest[1]); - groups = new S.CopyOnWriteMap(t4._mapFactory, t5, t6._eval$1("CopyOnWriteMap<1,2>")); - to_group = J.$index$asx(t5, to_group_name); - t5 = to_group.helices_view_order; - t4 = H._instanceType(t5); - new_helices_view_order = new Q.CopyOnWriteList(true, t5._list, t4._eval$1("CopyOnWriteList<1>")); - for (t5 = t1.length, t7 = t6._rest[0], t6 = t6._rest[1], t8 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t9 = type$.legacy_ListBuilder_legacy_int, t10 = type$.legacy_int, t11 = type$.List_legacy_int, t12 = type$.ListBuilder_legacy_int, t4 = t4._precomputed1, _i = 0; _i < t1.length; t1.length === t5 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - from_group_name = t1[_i]; - from_group = J.$index$asx(groups._copy_on_write_map$_map, from_group_name); - t13 = from_group.helices_view_order; - t14 = t13._list; - new_from_helices_group_order = new Q.CopyOnWriteList(true, t14, H._instanceType(t13)._eval$1("CopyOnWriteList<1>")); - for (t13 = J.get$iterator$ax(t14); t13.moveNext$0();) { - t14 = t13.get$current(t13); - if (t3.contains$1(t2, t14)) { - if (!J.contains$1$asx(new_helices_view_order._copy_on_write_list$_list, t14)) { - t4._as(t14); - new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, t14); - } - new_from_helices_group_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(new_from_helices_group_order._copy_on_write_list$_list, t14); - } - } - t13 = t8._as(new O.move_helices_to_group_groups_reducer_closure(new_from_helices_group_order)); - t14 = new O.HelixGroupBuilder(); - t14.get$_group$_$this()._group$_grid = C.Grid_none; - t15 = $.$get$Position3D_origin(); - t15.toString; - t16 = new X.Position3DBuilder(); - t16._position3d$_$v = t15; - t14.get$_group$_$this()._group$_position = t16; - t14.get$_group$_$this()._pitch = 0; - t14.get$_group$_$this()._yaw = 0; - t14.get$_group$_$this()._group$_roll = 0; - t15 = new D.ListBuilder(t12); - t15.set$__ListBuilder__list(t11._as(P.List_List$from(C.List_empty, true, t10))); - t15.set$_listOwner(null); - t9._as(t15); - t14.get$_group$_$this().set$_group$_helices_view_order(t15); - t14._group$_$v = from_group; - t13.call$1(t14); - from_group = t14.build$0(); - t7._as(from_group_name); - t6._as(from_group); - groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(groups._copy_on_write_map$_map, from_group_name, from_group); - } - to_group = to_group.rebuild$1(new O.move_helices_to_group_groups_reducer_closure0(new_helices_view_order)); - t7._as(to_group_name); - t6._as(to_group); - groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(groups._copy_on_write_map$_map, to_group_name, to_group); - return A.BuiltMap_BuiltMap$of(groups, type$.legacy_String, type$.legacy_HelixGroup); + SelectOrToggleItems: function SelectOrToggleItems() { }, - grid_change_reducer_closure: function grid_change_reducer_closure(t0) { - this.action = t0; + SelectAll: function SelectAll() { }, - grid_change_reducer__closure: function grid_change_reducer__closure(t0) { - this.action = t0; + SelectAllSelectable: function SelectAllSelectable() { }, - group_add_reducer_closure: function group_add_reducer_closure(t0) { - this.action = t0; + SelectAllSelectable_SelectAllSelectable_closure: function SelectAllSelectable_SelectAllSelectable_closure(t0) { + this.current_helix_group_only = t0; }, - group_remove_reducer_closure: function group_remove_reducer_closure(t0) { - this.action = t0; + SelectAllStrandsWithSameAsSelected: function SelectAllStrandsWithSameAsSelected() { }, - group_change_reducer_closure: function group_change_reducer_closure(t0) { - this.action = t0; + DeleteAllSelected: function DeleteAllSelected() { }, - move_helices_to_group_groups_reducer_closure: function move_helices_to_group_groups_reducer_closure(t0) { - this.new_from_helices_group_order = t0; + DeleteAllSelected_DeleteAllSelected_closure: function DeleteAllSelected_DeleteAllSelected_closure() { }, - move_helices_to_group_groups_reducer_closure0: function move_helices_to_group_groups_reducer_closure0(t0) { - this.new_helices_view_order = t0; + HelixAdd: function HelixAdd() { }, - StrandOrder_fromString: function(str) { - var t1, t2; - for (t1 = J.get$iterator$ax(C.Map_yHyvP.get$keys(C.Map_yHyvP)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (C.Map_yHyvP.$index(0, t2) == str) - return t2; - } - throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + HelixAdd_HelixAdd_closure: function HelixAdd_HelixAdd_closure(t0) { + this.grid_position = t0; }, - _$valueOf10: function($name) { - switch ($name) { - case "five_prime": - return C.StrandOrder_five_prime; - case "three_prime": - return C.StrandOrder_three_prime; - case "five_or_three_prime": - return C.StrandOrder_five_or_three_prime; - case "top_left_domain_start": - return C.StrandOrder_top_left_domain_start; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + HelixAdd_HelixAdd_closure0: function HelixAdd_HelixAdd_closure0(t0) { + this.position = t0; }, - StrandOrder: function StrandOrder(t0) { - this.name = t0; + HelixRemove: function HelixRemove() { }, - _$StrandOrderSerializer: function _$StrandOrderSerializer() { + HelixRemove_HelixRemove_closure: function HelixRemove_HelixRemove_closure(t0) { + this.helix_idx = t0; }, - HelixGroup__initializeBuilder: function(b) { - var t1, t2; - b.get$_group$_$this()._group$_grid = C.Grid_none; - t1 = $.$get$Position3D_origin(); - t1.toString; - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - b.get$_group$_$this()._group$_position = t2; - b.get$_group$_$this()._pitch = 0; - b.get$_group$_$this()._yaw = 0; - b.get$_group$_$this()._group$_roll = 0; - t1 = type$.legacy_ListBuilder_legacy_int._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int)); - b.get$_group$_$this().set$_group$_helices_view_order(t1); + HelixRemoveAllSelected: function HelixRemoveAllSelected() { }, - HelixGroup_HelixGroup: function(grid, helices_view_order, pitch, position, roll, yaw) { - var t2, t1 = {}; - t1.position = position; - if (position == null) - t1.position = $.$get$Position3D_origin(); - if (helices_view_order == null) - throw H.wrapException(N.IllegalDesignError$("must specify helices_view_order explicitly")); - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - type$.legacy_void_Function_legacy_HelixGroupBuilder._as(new O.HelixGroup_HelixGroup_closure(t1, grid, helices_view_order, pitch, yaw, roll)).call$1(t2); - return t2.build$0(); + HelixSelect: function HelixSelect() { }, - HelixGroup_from_json: function(json_map, helix_idxs) { - var helices_view_order, list1, list2, position, _null = null, - _s18_ = "helices_view_order", - _s2_ = ", ", - _s21_ = "\nhelices_view_order: ", - t1 = type$.dynamic, - grid = S._$valueOf(E.optional_field(json_map, "grid", "none", C.List_empty0, _null, _null, type$.legacy_String, t1)), - t2 = J.getInterceptor$x(json_map), - t3 = type$.legacy_int; - if (t2.containsKey$1(json_map, _s18_)) { - helices_view_order = P.List_List$from(type$.Iterable_dynamic._as(t2.$index(json_map, _s18_)), true, t3); - t2 = helices_view_order.length; - if (t2 !== helix_idxs.get$length(helix_idxs)) - throw H.wrapException(N.IllegalDesignError$("number of helices (" + H.S(helix_idxs.get$length(helix_idxs)) + ") does not match length of helices_view_order (" + t2 + ")\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + C.JSArray_methods.join$1(helices_view_order, _s2_))); - list1 = P.List_List$from(helices_view_order, true, t3); - list2 = P.List_List$from(helix_idxs, true, t3); - C.JSArray_methods.sort$0(list1); - C.JSArray_methods.sort$0(list2); - if (!H.boolConversionCheck(new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).get$equals().call$2(list1, list2))) - throw H.wrapException(N.IllegalDesignError$("helices_view_order " + H.S(helices_view_order) + " must have same indexes as helix_idxs " + helix_idxs.toString$0(0) + "\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + C.JSArray_methods.join$1(helices_view_order, _s2_))); - } else { - helices_view_order = P.List_List$of(helix_idxs, true, t3); - C.JSArray_methods.sort$0(helices_view_order); - } - position = X.Position3D_Position3D$from_json(type$.legacy_Map_of_legacy_String_and_dynamic._as(E.mandatory_field(json_map, "position", "HelixGroup", C.List_origin))); - t2 = type$.legacy_num; - return O.HelixGroup_HelixGroup(grid, helices_view_order, E.optional_field(json_map, "pitch", 0, C.List_empty0, _null, _null, t2, t1), position, E.optional_field(json_map, "roll", 0, C.List_empty0, _null, _null, t2, t1), E.optional_field(json_map, "yaw", 0, C.List_empty0, _null, _null, t2, t1)); + HelixSelect_HelixSelect_closure: function HelixSelect_HelixSelect_closure(t0, t1) { + this.helix_idx = t0; + this.toggle = t1; }, - HelixGroupBuilder$: function() { - var t2, t3, - t1 = new O.HelixGroupBuilder(); - t1.get$_group$_$this()._group$_grid = C.Grid_none; - t2 = $.$get$Position3D_origin(); - t2.toString; - t3 = new X.Position3DBuilder(); - t3._position3d$_$v = t2; - t1.get$_group$_$this()._group$_position = t3; - t1.get$_group$_$this()._pitch = 0; - t1.get$_group$_$this()._yaw = 0; - t1.get$_group$_$this()._group$_roll = 0; - t2 = type$.legacy_ListBuilder_legacy_int._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int)); - t1.get$_group$_$this().set$_group$_helices_view_order(t2); - return t1; + HelixSelectionsClear: function HelixSelectionsClear() { }, - HelixGroup: function HelixGroup() { + HelixSelectionsClear_HelixSelectionsClear_closure: function HelixSelectionsClear_HelixSelectionsClear_closure() { }, - HelixGroup_HelixGroup_closure: function HelixGroup_HelixGroup_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._box_0 = t0; - _.grid = t1; - _.helices_view_order = t2; - _.pitch = t3; - _.yaw = t4; - _.roll = t5; + HelixSelectionsAdjust: function HelixSelectionsAdjust() { }, - _$HelixGroupSerializer: function _$HelixGroupSerializer() { + HelixSelectionsAdjust_HelixSelectionsAdjust_closure: function HelixSelectionsAdjust_HelixSelectionsAdjust_closure(t0, t1) { + this.toggle = t0; + this.selection_box = t1; }, - _$HelixGroup: function _$HelixGroup(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.grid = t0; - _.helices_view_order = t1; - _.position = t2; - _.pitch = t3; - _.yaw = t4; - _.roll = t5; - _._group$__hashCode = _.__helices_view_order_inverse = null; + HelixMajorTickDistanceChange: function HelixMajorTickDistanceChange() { }, - HelixGroupBuilder: function HelixGroupBuilder() { - var _ = this; - _._group$_roll = _._yaw = _._pitch = _._group$_position = _._group$_helices_view_order = _._group$_grid = _._group$_$v = null; + HelixMajorTickDistanceChangeAll: function HelixMajorTickDistanceChangeAll() { }, - _HelixGroup_Object_BuiltJsonSerializable: function _HelixGroup_Object_BuiltJsonSerializable() { + HelixMajorTickStartChange: function HelixMajorTickStartChange() { }, - Helix_Helix: function(geometry, grid, grid_position, group, idx, invert_y, max_offset, min_offset, position) { - var major_tick_periodic_distances, major_tick_start, t2, t1 = {}; - t1.grid = grid; - t1.geometry = geometry; - t1.grid_position = grid_position; - t1.major_tick_start = major_tick_start; - t1.major_tick_periodic_distances = major_tick_periodic_distances; - t1.major_tick_start = t1.major_tick_periodic_distances = null; - t1.major_tick_start = min_offset; - if (geometry == null) - t1.geometry = $.$get$default_geometry(); - if (grid_position == null && grid !== C.Grid_none) - t1.grid_position = D.GridPosition_GridPosition(0, idx); - t1.major_tick_periodic_distances = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - type$.legacy_void_Function_legacy_HelixBuilder._as(new O.Helix_Helix_closure(t1, idx, group, position, 0, min_offset, max_offset)).call$1(t2); - return t2.build$0(); + HelixMajorTickStartChangeAll: function HelixMajorTickStartChangeAll() { }, - Helix: function Helix() { + HelixMajorTicksChange: function HelixMajorTicksChange() { }, - Helix_Helix_closure: function Helix_Helix_closure(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._box_0 = t0; - _.idx = t1; - _.group = t2; - _.position = t3; - _.roll = t4; - _.min_offset = t5; - _.max_offset = t6; + HelixMajorTicksChangeAll: function HelixMajorTicksChangeAll() { }, - Helix_relax_roll_closure: function Helix_relax_roll_closure(t0, t1) { - this.$this = t0; - this.roll_delta = t1; + HelixMajorTickPeriodicDistancesChange: function HelixMajorTickPeriodicDistancesChange() { }, - _$HelixSerializer: function _$HelixSerializer() { + HelixMajorTickPeriodicDistancesChangeAll: function HelixMajorTickPeriodicDistancesChangeAll() { }, - _$Helix: function _$Helix(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { - var _ = this; - _.idx = t0; - _.grid = t1; - _.geometry = t2; - _.group = t3; - _.grid_position = t4; - _.position_ = t5; - _.roll = t6; - _.max_offset = t7; - _.min_offset = t8; - _.major_tick_start = t9; - _.major_tick_periodic_distances = t10; - _.major_ticks = t11; - _.unused_fields = t12; - _._helix$__hashCode = _.__calculate_major_ticks = _.__num_bases = _.__svg_height = _.__svg_width = _.__has_major_tick_periodic_distances = _.__has_major_ticks = _.__has_major_tick_distance = _.__has_default_major_ticks = _.__has_default_major_tick_start = _.__has_default_major_tick_distance = _.__has_default_roll = _.__has_default_group = _.__position3d = _.__has_position = _.__has_grid_position = _.__default_position = null; + HelixIdxsChange: function HelixIdxsChange() { }, - HelixBuilder: function HelixBuilder() { - var _ = this; - _._helix$_unused_fields = _._major_ticks = _._major_tick_periodic_distances = _._major_tick_start = _._min_offset = _._max_offset = _._roll = _._position_ = _._grid_position = _._group = _._helix$_geometry = _._grid = _._idx = _._helix$_$v = null; + HelixIdxsChange_HelixIdxsChange_closure: function HelixIdxsChange_HelixIdxsChange_closure(t0) { + this.idx_replacements = t0; }, - _Helix_Object_BuiltJsonSerializable: function _Helix_Object_BuiltJsonSerializable() { + HelixOffsetChange: function HelixOffsetChange() { }, - _Helix_Object_BuiltJsonSerializable_UnusedFields: function _Helix_Object_BuiltJsonSerializable_UnusedFields() { + HelixMinOffsetSetByDomains: function HelixMinOffsetSetByDomains() { }, - _$DesignMainDNAMismatches: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? O._$$DesignMainDNAMismatchesProps$JsMap$(new L.JsBackedMap({})) : O._$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps(backingProps); + HelixMaxOffsetSetByDomains: function HelixMaxOffsetSetByDomains() { }, - _$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return O._$$DesignMainDNAMismatchesProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new O._$$DesignMainDNAMismatchesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_dna_mismatches$_props = backingMap; - return t1; - } + HelixMinOffsetSetByDomainsAll: function HelixMinOffsetSetByDomainsAll() { }, - _$$DesignMainDNAMismatchesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new O._$$DesignMainDNAMismatchesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_dna_mismatches$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + HelixMaxOffsetSetByDomainsAll: function HelixMaxOffsetSetByDomainsAll() { }, - DesignMainDNAMismatchesProps: function DesignMainDNAMismatchesProps() { + HelixMaxOffsetSetByDomainsAllSameMax: function HelixMaxOffsetSetByDomainsAllSameMax() { }, - DesignMainDNAMismatchesComponent: function DesignMainDNAMismatchesComponent() { + HelixOffsetChangeAll: function HelixOffsetChangeAll() { }, - $DesignMainDNAMismatchesComponentFactory_closure: function $DesignMainDNAMismatchesComponentFactory_closure() { + ShowMouseoverRectSet: function ShowMouseoverRectSet() { }, - _$$DesignMainDNAMismatchesProps: function _$$DesignMainDNAMismatchesProps() { + ShowMouseoverRectToggle: function ShowMouseoverRectToggle() { }, - _$$DesignMainDNAMismatchesProps$PlainMap: function _$$DesignMainDNAMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_main_dna_mismatches$_props = t0; - _.DesignMainDNAMismatchesProps_design = t1; - _.DesignMainDNAMismatchesProps_only_display_selected_helices = t2; - _.DesignMainDNAMismatchesProps_side_selected_helix_idxs = t3; - _.DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + ExportDNA: function ExportDNA() { }, - _$$DesignMainDNAMismatchesProps$JsMap: function _$$DesignMainDNAMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + ExportDNA_ExportDNA_closure: function ExportDNA_ExportDNA_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _._design_main_dna_mismatches$_props = t0; - _.DesignMainDNAMismatchesProps_design = t1; - _.DesignMainDNAMismatchesProps_only_display_selected_helices = t2; - _.DesignMainDNAMismatchesProps_side_selected_helix_idxs = t3; - _.DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.include_scaffold = t0; + _.include_only_selected_strands = t1; + _.exclude_selected_strands = t2; + _.export_dna_format = t3; + _.delimiter = t4; + _.domain_delimiter = t5; + _.strand_order = t6; + _.column_major_strand = t7; + _.column_major_plate = t8; }, - _$DesignMainDNAMismatchesComponent: function _$DesignMainDNAMismatchesComponent(t0) { - var _ = this; - _._design_main_dna_mismatches$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + ExportCanDoDNA: function ExportCanDoDNA() { }, - $DesignMainDNAMismatchesProps: function $DesignMainDNAMismatchesProps() { + ExportCanDoDNA_ExportCanDoDNA_closure: function ExportCanDoDNA_ExportCanDoDNA_closure() { }, - _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent() { + ExportSvgType: function ExportSvgType(t0) { + this._core$_name = t0; }, - __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps() { + ExportSvg: function ExportSvg() { }, - __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps() { + ExportSvgTextSeparatelySet: function ExportSvgTextSeparatelySet() { }, - _$DesignSideRotation: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? O._$$DesignSideRotationProps$JsMap$(new L.JsBackedMap({})) : O._$$DesignSideRotationProps__$$DesignSideRotationProps(backingProps); + ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure: function ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(t0) { + this.export_svg_text_separately = t0; }, - _$$DesignSideRotationProps__$$DesignSideRotationProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return O._$$DesignSideRotationProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new O._$$DesignSideRotationProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_rotation$_props = backingMap; - return t1; - } + ExtensionDisplayLengthAngleSet: function ExtensionDisplayLengthAngleSet() { }, - _$$DesignSideRotationProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new O._$$DesignSideRotationProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_rotation$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure: function ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(t0, t1, t2) { + this.ext = t0; + this.display_length = t1; + this.display_angle = t2; }, - DesignSideRotationProps: function DesignSideRotationProps() { + ExtensionAdd: function ExtensionAdd() { }, - DesignSideRotationComponent: function DesignSideRotationComponent() { + ExtensionAdd_ExtensionAdd_closure: function ExtensionAdd_ExtensionAdd_closure(t0, t1, t2) { + this.strand = t0; + this.is_5p = t1; + this.num_bases = t2; }, - $DesignSideRotationComponentFactory_closure: function $DesignSideRotationComponentFactory_closure() { + ExtensionNumBasesChange: function ExtensionNumBasesChange() { }, - _$$DesignSideRotationProps: function _$$DesignSideRotationProps() { + ExtensionNumBasesChange_ExtensionNumBasesChange_closure: function ExtensionNumBasesChange_ExtensionNumBasesChange_closure(t0, t1) { + this.ext = t0; + this.num_bases = t1; }, - _$$DesignSideRotationProps$PlainMap: function _$$DesignSideRotationProps$PlainMap(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._design_side_rotation$_props = t0; - _.DesignSideRotationProps_radius = t1; - _.DesignSideRotationProps_data = t2; - _.DesignSideRotationProps_invert_y = t3; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + ExtensionsNumBasesChange: function ExtensionsNumBasesChange() { }, - _$$DesignSideRotationProps$JsMap: function _$$DesignSideRotationProps$JsMap(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._design_side_rotation$_props = t0; - _.DesignSideRotationProps_radius = t1; - _.DesignSideRotationProps_data = t2; - _.DesignSideRotationProps_invert_y = t3; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure: function ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(t0, t1) { + this.extensions = t0; + this.num_bases = t1; }, - _$DesignSideRotationComponent: function _$DesignSideRotationComponent(t0) { - var _ = this; - _._design_side_rotation$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + LoopoutLengthChange: function LoopoutLengthChange() { }, - $DesignSideRotationProps: function $DesignSideRotationProps() { + LoopoutLengthChange_LoopoutLengthChange_closure: function LoopoutLengthChange_LoopoutLengthChange_closure(t0, t1) { + this.loopout = t0; + this.num_bases = t1; }, - _DesignSideRotationComponent_UiComponent2_PureComponent: function _DesignSideRotationComponent_UiComponent2_PureComponent() { + LoopoutsLengthChange: function LoopoutsLengthChange() { }, - __$$DesignSideRotationProps_UiProps_DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps() { + LoopoutsLengthChange_LoopoutsLengthChange_closure: function LoopoutsLengthChange_LoopoutsLengthChange_closure(t0, t1) { + this.loopouts = t0; + this.length = t1; }, - __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps() { + ConvertCrossoverToLoopout: function ConvertCrossoverToLoopout() { }, - _$HelixGroupMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? O._$$HelixGroupMovingProps$JsMap$(new L.JsBackedMap({})) : O._$$HelixGroupMovingProps__$$HelixGroupMovingProps(backingProps); + ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure: function ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(t0, t1, t2) { + this.crossover = t0; + this.length = t1; + this.dna_sequence = t2; }, - _$$HelixGroupMovingProps__$$HelixGroupMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return O._$$HelixGroupMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new O._$$HelixGroupMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._helix_group_moving$_props = backingMap; - return t1; - } + ConvertCrossoversToLoopouts: function ConvertCrossoversToLoopouts() { }, - _$$HelixGroupMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new O._$$HelixGroupMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._helix_group_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure: function ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(t0, t1) { + this.crossovers = t0; + this.length = t1; }, - ConnectedHelixGroupMoving_closure: function ConnectedHelixGroupMoving_closure() { + Nick: function Nick() { }, - HelixGroupMovingProps: function HelixGroupMovingProps() { + Ligate: function Ligate() { }, - HelixGroupMovingComponent: function HelixGroupMovingComponent() { + JoinStrandsByCrossover: function JoinStrandsByCrossover() { }, - HelixGroupMovingComponent_render_closure: function HelixGroupMovingComponent_render_closure(t0) { - this.new_position = t0; + MoveLinker: function MoveLinker() { }, - $HelixGroupMovingComponentFactory_closure: function $HelixGroupMovingComponentFactory_closure() { + JoinStrandsByMultipleCrossovers: function JoinStrandsByMultipleCrossovers() { }, - _$$HelixGroupMovingProps: function _$$HelixGroupMovingProps() { + StrandsReflect: function StrandsReflect() { }, - _$$HelixGroupMovingProps$PlainMap: function _$$HelixGroupMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._helix_group_moving$_props = t0; - _.HelixGroupMovingProps_helix_group_move = t1; - _.HelixGroupMovingProps_side_selected_helix_idxs = t2; - _.HelixGroupMovingProps_only_display_selected_helices = t3; - _.HelixGroupMovingProps_show_helix_circles = t4; - _.HelixGroupMovingProps_helix_idx_to_svg_position_map = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + ReplaceStrands: function ReplaceStrands() { }, - _$$HelixGroupMovingProps$JsMap: function _$$HelixGroupMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._helix_group_moving$_props = t0; - _.HelixGroupMovingProps_helix_group_move = t1; - _.HelixGroupMovingProps_side_selected_helix_idxs = t2; - _.HelixGroupMovingProps_only_display_selected_helices = t3; - _.HelixGroupMovingProps_show_helix_circles = t4; - _.HelixGroupMovingProps_helix_idx_to_svg_position_map = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + StrandCreateStart: function StrandCreateStart() { }, - _$HelixGroupMovingComponent: function _$HelixGroupMovingComponent(t0) { - var _ = this; - _._helix_group_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + StrandCreateAdjustOffset: function StrandCreateAdjustOffset() { }, - $HelixGroupMovingProps: function $HelixGroupMovingProps() { + StrandCreateStop: function StrandCreateStop() { }, - _HelixGroupMovingComponent_UiComponent2_PureComponent: function _HelixGroupMovingComponent_UiComponent2_PureComponent() { + StrandCreateCommit: function StrandCreateCommit() { }, - __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps() { + PotentialCrossoverCreate: function PotentialCrossoverCreate() { }, - __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps() { + PotentialCrossoverMove: function PotentialCrossoverMove() { }, - _$MenuFormFile: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? O._$$MenuFormFileProps$JsMap$(new L.JsBackedMap({})) : O._$$MenuFormFileProps__$$MenuFormFileProps(backingProps); + PotentialCrossoverRemove: function PotentialCrossoverRemove() { }, - _$$MenuFormFileProps__$$MenuFormFileProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return O._$$MenuFormFileProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new O._$$MenuFormFileProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_form_file$_props = backingMap; - return t1; - } + ManualPasteInitiate: function ManualPasteInitiate() { }, - _$$MenuFormFileProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new O._$$MenuFormFileProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_form_file$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ManualPasteInitiate_ManualPasteInitiate_closure: function ManualPasteInitiate_ManualPasteInitiate_closure(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; }, - MenuFormFileProps: function MenuFormFileProps() { + AutoPasteInitiate: function AutoPasteInitiate() { }, - MenuFormFileComponent: function MenuFormFileComponent() { + AutoPasteInitiate_AutoPasteInitiate_closure: function AutoPasteInitiate_AutoPasteInitiate_closure(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; }, - MenuFormFileComponent_render_closure: function MenuFormFileComponent_render_closure() { + CopySelectedStrands: function CopySelectedStrands() { }, - $MenuFormFileComponentFactory_closure: function $MenuFormFileComponentFactory_closure() { + StrandsMoveStart: function StrandsMoveStart() { }, - _$$MenuFormFileProps: function _$$MenuFormFileProps() { + StrandsMoveStartSelectedStrands: function StrandsMoveStartSelectedStrands() { }, - _$$MenuFormFileProps$PlainMap: function _$$MenuFormFileProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._menu_form_file$_props = t0; - _.MenuFormFileProps_id = t1; - _.MenuFormFileProps_accept = t2; - _.MenuFormFileProps_onChange = t3; - _.MenuFormFileProps_display = t4; - _.MenuFormFileProps_keyboard_shortcut = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + StrandsMoveStop: function StrandsMoveStop() { }, - _$$MenuFormFileProps$JsMap: function _$$MenuFormFileProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._menu_form_file$_props = t0; - _.MenuFormFileProps_id = t1; - _.MenuFormFileProps_accept = t2; - _.MenuFormFileProps_onChange = t3; - _.MenuFormFileProps_display = t4; - _.MenuFormFileProps_keyboard_shortcut = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + StrandsMoveAdjustAddress: function StrandsMoveAdjustAddress() { }, - _$MenuFormFileComponent: function _$MenuFormFileComponent(t0) { - var _ = this; - _._menu_form_file$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + StrandsMoveCommit: function StrandsMoveCommit() { }, - $MenuFormFileProps: function $MenuFormFileProps() { + DomainsMoveStartSelectedDomains: function DomainsMoveStartSelectedDomains() { }, - __$$MenuFormFileProps_UiProps_MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps() { + DomainsMoveStop: function DomainsMoveStop() { }, - __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps() { + DomainsMoveAdjustAddress: function DomainsMoveAdjustAddress() { }, - adjust_grid_position_middleware: function(store, action, next) { - var t1; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.HelixGridPositionSet) { - t1 = store.get$state(store).design.helices; - if (!O.is_grid_position_occupied(t1.get$values(t1), action.grid_position)) - next.call$1(action); - } else - next.call$1(action); + DomainsMoveCommit: function DomainsMoveCommit() { }, - is_grid_position_occupied: function(helices, grid_position) { - var t1; - for (t1 = J.get$iterator$ax(helices); t1.moveNext$0();) - if (J.$eq$(t1.get$current(t1).grid_position, grid_position)) - return true; - return false; + DNAEndsMoveStart: function DNAEndsMoveStart() { }, - example_design_selected_middleware: function(store, action, next) { - var example_designs, t1, t2, t3, t4, url, filename; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof U.ExampleDesignsLoad) { - example_designs = store.get$state(store).ui_state.example_designs; - t1 = example_designs.selected_idx; - t2 = t1 >= 0; - if (t2) { - t3 = example_designs.directory + "/"; - t4 = example_designs.filenames; - t4 = H.S(J.$index$asx(t4._list, t1)) + ".sc"; - url = t3 + t4; - } else - url = null; - if (t2) { - t2 = example_designs.filenames; - filename = H.S(J.$index$asx(t2._list, t1)) + ".sc"; - } else - filename = null; - O._get_file_content_and_dispatch_load(store, url, filename); - } + DNAEndsMoveSetSelectedEnds: function DNAEndsMoveSetSelectedEnds() { }, - _get_file_content_and_dispatch_load: function(store, url, filename) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$temp1, $async$temp2; - var $async$_get_file_content_and_dispatch_load = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$temp1 = store; - $async$temp2 = U; - $async$goto = 2; - return P._asyncAwait(E.get_text_file_content(url), $async$_get_file_content_and_dispatch_load); - case 2: - // returning from await. - $async$temp1.dispatch$1($async$temp2.PrepareToLoadDNAFile_PrepareToLoadDNAFile($async$result, C.DNAFileType_scadnano_file, filename, true)); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$_get_file_content_and_dispatch_load, $async$completer); - } - }, - R = { - ArchiveException$: function(message) { - return new R.ArchiveException(message, null, null); + DNAEndsMoveAdjustOffset: function DNAEndsMoveAdjustOffset() { }, - ArchiveException: function ArchiveException(t0, t1, t2) { - this.message = t0; - this.source = t1; - this.offset = t2; + DNAEndsMoveStop: function DNAEndsMoveStop() { }, - BuiltListMultimap_BuiltListMultimap: function($K, $V) { - var t1 = R._BuiltListMultimap$copy(C.Map_empty.get$keys(C.Map_empty), new R.BuiltListMultimap_BuiltListMultimap_closure(C.Map_empty), $K, $V); - return t1; + DNAEndsMoveCommit: function DNAEndsMoveCommit() { }, - _BuiltListMultimap$copy: function(keys, lookup, $K, $V) { - var t1 = new R._BuiltListMultimap(P.LinkedHashMap_LinkedHashMap$_empty($K, $V._eval$1("BuiltList<0>")), D.BuiltList_BuiltList$from(C.List_empty, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltListMultimap<1,2>")); - t1._BuiltListMultimap$copy$2(keys, lookup, $K, $V); - return t1; + DNAExtensionsMoveStart: function DNAExtensionsMoveStart() { }, - ListMultimapBuilder_ListMultimapBuilder: function($K, $V) { - var t1 = new R.ListMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("ListMultimapBuilder<1,2>")); - t1.replace$1(0, C.Map_empty); - return t1; + DNAExtensionsMoveSetSelectedExtensionEnds: function DNAExtensionsMoveSetSelectedExtensionEnds() { }, - BuiltListMultimap: function BuiltListMultimap() { + DNAExtensionsMoveAdjustPosition: function DNAExtensionsMoveAdjustPosition() { }, - BuiltListMultimap_BuiltListMultimap_closure: function BuiltListMultimap_BuiltListMultimap_closure(t0) { - this.multimap = t0; + DNAExtensionsMoveStop: function DNAExtensionsMoveStop() { }, - BuiltListMultimap_hashCode_closure: function BuiltListMultimap_hashCode_closure(t0) { - this.$this = t0; + DNAExtensionsMoveCommit: function DNAExtensionsMoveCommit() { }, - _BuiltListMultimap: function _BuiltListMultimap(t0, t1, t2) { - var _ = this; - _._list_multimap$_map = t0; - _._emptyList = t1; - _._list_multimap$_keys = _._list_multimap$_hashCode = null; - _.$ti = t2; + HelixGroupMoveStart: function HelixGroupMoveStart() { }, - ListMultimapBuilder: function ListMultimapBuilder(t0) { - var _ = this; - _.__ListMultimapBuilder__builtMap = $; - _._list_multimap$_builtMapOwner = null; - _.__ListMultimapBuilder__builderMap = $; - _.$ti = t0; + HelixGroupMoveCreate: function HelixGroupMoveCreate() { }, - ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) { - this.multimap = t0; + HelixGroupMoveAdjustTranslation: function HelixGroupMoveAdjustTranslation() { }, - BoolSerializer: function BoolSerializer(t0) { - this.types = t0; + HelixGroupMoveStop: function HelixGroupMoveStop() { }, - BuiltListMultimapSerializer: function BuiltListMultimapSerializer(t0) { - this.types = t0; + HelixGroupMoveCommit: function HelixGroupMoveCommit() { }, - BuiltListMultimapSerializer_serialize_closure: function BuiltListMultimapSerializer_serialize_closure(t0, t1) { - this.serializers = t0; - this.valueType = t1; + AssignDNA: function AssignDNA() { }, - BuiltListMultimapSerializer_deserialize_closure: function BuiltListMultimapSerializer_deserialize_closure(t0, t1) { - this.serializers = t0; - this.valueType = t1; + AssignDNAComplementFromBoundStrands: function AssignDNAComplementFromBoundStrands() { }, - BuiltSetMultimapSerializer: function BuiltSetMultimapSerializer(t0) { - this.types = t0; + AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure: function AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(t0) { + this.strands = t0; }, - BuiltSetMultimapSerializer_serialize_closure: function BuiltSetMultimapSerializer_serialize_closure(t0, t1) { - this.serializers = t0; - this.valueType = t1; + AssignDomainNameComplementFromBoundStrands: function AssignDomainNameComplementFromBoundStrands() { }, - BuiltSetMultimapSerializer_deserialize_closure: function BuiltSetMultimapSerializer_deserialize_closure(t0, t1) { - this.serializers = t0; - this.valueType = t1; + AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure: function AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(t0) { + this.strands = t0; }, - MediaType_MediaType$parse: function(mediaType) { - return B.wrapFormatException("media type", mediaType, new R.MediaType_MediaType$parse_closure(mediaType), type$.legacy_MediaType); + AssignDomainNameComplementFromBoundDomains: function AssignDomainNameComplementFromBoundDomains() { }, - MediaType$: function(type, subtype, parameters) { - var t1 = type.toLowerCase(), - t2 = subtype.toLowerCase(), - t3 = type$.legacy_String; - t3 = parameters == null ? P.LinkedHashMap_LinkedHashMap$_empty(t3, t3) : Z.CaseInsensitiveMap$from(parameters, t3); - return new R.MediaType(t1, t2, new P.UnmodifiableMapView(t3, type$.UnmodifiableMapView_of_legacy_String_and_legacy_String)); + AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure: function AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(t0) { + this.domains = t0; }, - MediaType: function MediaType(t0, t1, t2) { - this.type = t0; - this.subtype = t1; - this.parameters = t2; + RemoveDNA: function RemoveDNA() { }, - MediaType_MediaType$parse_closure: function MediaType_MediaType$parse_closure(t0) { - this.mediaType = t0; + InsertionAdd: function InsertionAdd() { }, - MediaType_toString_closure: function MediaType_toString_closure(t0) { - this.buffer = t0; + InsertionAdd_clone_for_other_domain_closure: function InsertionAdd_clone_for_other_domain_closure(t0) { + this.domain = t0; }, - MediaType_toString__closure: function MediaType_toString__closure() { + InsertionLengthChange: function InsertionLengthChange() { }, - PickParser: function PickParser(t0, t1, t2) { - this.index = t0; - this.delegate = t1; - this.$ti = t2; + InsertionLengthChange_clone_for_other_domain_closure: function InsertionLengthChange_clone_for_other_domain_closure(t0) { + this.$this = t0; }, - _jsObjectFriendlyIdentityHashCode: function(object) { - var t1, exception; - if (type$.legacy_JsMap._is(object)) - return 0; - try { - t1 = H.objectHashCode(object); - return t1; - } catch (exception) { - H.unwrapException(exception); - return 0; - } + InsertionLengthChange_InsertionLengthChange_closure: function InsertionLengthChange_InsertionLengthChange_closure(t0, t1, t2) { + this.domain = t0; + this.insertion = t1; + this.length = t2; }, - jsifyAndAllowInterop: function(object) { - return R._convertDataTree(object); + InsertionsLengthChange: function InsertionsLengthChange() { }, - _convertDataTree: function(data) { - return new R._convertDataTree__convert(P.LinkedHashMap_LinkedHashMap(P.core__identical$closure(), R.js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure(), type$.legacy_Object, type$.dynamic)).call$1(data); + InsertionsLengthChange_InsertionsLengthChange_closure: function InsertionsLengthChange_InsertionsLengthChange_closure(t0, t1, t2) { + this.insertions = t0; + this.domains = t1; + this.length = t2; }, - _convertDataTree__convert: function _convertDataTree__convert(t0) { - this._convertedObjects = t0; + DeletionAdd: function DeletionAdd() { }, - _findDomNode: function(component) { - return self.ReactDOM.findDOMNode(type$.legacy_Component._is(component) ? component.jsThis : component); + DeletionAdd_clone_for_other_domain_closure: function DeletionAdd_clone_for_other_domain_closure(t0) { + this.domain = t0; }, - render_closure: function render_closure() { + InsertionRemove: function InsertionRemove() { }, - findDOMNode_closure: function findDOMNode_closure() { + InsertionRemove_clone_for_other_domain_closure: function InsertionRemove_clone_for_other_domain_closure(t0) { + this.$this = t0; }, - helix_idxs_change_middleware: function(store, action, next) { - var t1, existing_idxs, old_idxs, remaining_idxs, new_indices, t2, t3, t4, key_to_idxs, t5, t6, new_index, msg; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.HelixIdxsChange) { - t1 = store.get$state(store).design.helices; - existing_idxs = J.toSet$0$ax(t1.get$keys(t1)); - t1 = action.idx_replacements; - old_idxs = J.toSet$0$ax(t1.get$keys(t1)); - remaining_idxs = existing_idxs.difference$1(old_idxs); - new_indices = J.toSet$0$ax(t1.get$values(t1)); - t2 = new_indices.get$length(new_indices); - t3 = t1._map$_map; - t4 = J.getInterceptor$asx(t3); - if (t2 != t4.get$length(t3)) { - key_to_idxs = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_int); - for (t2 = old_idxs.get$iterator(old_idxs), t5 = type$.JSArray_legacy_int; t2.moveNext$0();) { - t6 = t2.get$current(t2); - new_index = t4.$index(t3, t6); - if (key_to_idxs.containsKey$1(0, new_index)) - J.add$1$ax(key_to_idxs.$index(0, new_index), t6); - else - key_to_idxs.$indexSet(0, new_index, H.setRuntimeTypeInfo([t6], t5)); - } - if (key_to_idxs.get$length(key_to_idxs) !== t4.get$length(t3)) { - msg = "You tried to assign existing helices " + key_to_idxs.get$entries(key_to_idxs).where$1(0, new R.helix_idxs_change_middleware_closure()).map$1$1(0, new R.helix_idxs_change_middleware_closure0(), type$.legacy_String).join$1(0, " and helices ") + ". Each helix must have a unique new index; make sure all the integers you write are distinct from each other and do not appear elsewhere in the design"; - C.Window_methods.alert$1(window, msg); - return; - } - } - for (t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (remaining_idxs.contains$1(0, t2)) { - msg = "Index " + H.S(t2) + " is already taken."; - C.Window_methods.alert$1(window, msg); - return; - } - } - } - next.call$1(action); + InsertionRemove_InsertionRemove_closure: function InsertionRemove_InsertionRemove_closure(t0, t1) { + this.domain = t0; + this.insertion = t1; }, - helix_idxs_change_middleware_closure: function helix_idxs_change_middleware_closure() { + DeletionRemove: function DeletionRemove() { }, - helix_idxs_change_middleware_closure0: function helix_idxs_change_middleware_closure0() { + DeletionRemove_DeletionRemove_closure: function DeletionRemove_DeletionRemove_closure(t0, t1) { + this.domain = t0; + this.offset = t1; }, - inline_insertions_deletions_reducer: function(design, _) { - var t1, t2, t3, helices_new, strand_builders_new, helix_idx, strands, i, strand; - type$.legacy_Design._as(design); - type$.legacy_InlineInsertionsDeletions._as(_); - t1 = design.helices; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - helices_new = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); - t3 = design.strands; - t3.toString; - strand_builders_new = J.map$1$1$ax(t3._list, t3.$ti._eval$1("StrandBuilder*(1)")._as(new R.inline_insertions_deletions_reducer_closure()), type$.legacy_StrandBuilder).toList$0(0); - t1 = J.getInterceptor$asx(t2); - helix_idx = 0; - while (true) { - t3 = t1.get$length(t2); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(helix_idx < t3)) - break; - R._inline_deletions_insertions_on_helix(design, helix_idx, helices_new, strand_builders_new); - ++helix_idx; - } - t1 = H._arrayInstanceType(strand_builders_new); - t2 = t1._eval$1("MappedListIterable<1,_$Strand*>"); - strands = P.List_List$of(new H.MappedListIterable(strand_builders_new, t1._eval$1("_$Strand*(1)")._as(new R.inline_insertions_deletions_reducer_closure0()), t2), true, t2._eval$1("ListIterable.E")); - for (i = 0; i < strands.length; ++i) { - t1 = strands[i]; - t1.toString; - strand = t1._rebuild_substrands_with_new_fields_based_on_strand$1(t1._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(t1)); - if (J.get$length$asx(t1.substrands._list) === 1) { - t2 = t1.__first_domain; - if (t2 == null) - t2 = t1.__first_domain = E.Strand.prototype.get$first_domain.call(t1); - t2.toString; - } - t1.check_two_consecutive_loopouts$0(); - t1.check_loopouts_length$0(); - t1.check_at_least_one_domain$0(); - t1.check_only_at_ends$0(); - t1.check_not_adjacent_to_loopout$0(); - C.JSArray_methods.$indexSet(strands, i, strand); - } - return design.rebuild$1(new R.inline_insertions_deletions_reducer_closure1(helices_new, strands)); - }, - _inline_deletions_insertions_on_helix: function(design, helix_idx, helices_new, strands_new) { - var t3, t4, t5, insertions_length, _i, dels_ins, insertion, dels_ins_offsets_sorted, major_ticks, major_tick_idx, delta_acc, offset, substrands_both_directions, substrands_one_direction, t6, t7, substrands, t8, t9, _i0, substrand, t10, t11, t12, delta_acc0, new_substrand, strand, strand_idx, ss_idx, - helix = J.$index$asx(design.helices._map$_map, helix_idx), - t1 = type$.JSArray_legacy_int, - t2 = H.setRuntimeTypeInfo([], t1); - for (t3 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t3.moveNext$0();) - for (t4 = J.get$iterator$ax(t3.get$current(t3).deletions._list); t4.moveNext$0();) - t2.push(t4.get$current(t4)); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); - for (t4 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t4.moveNext$0();) - for (t5 = J.get$iterator$ax(t4.get$current(t4).insertions._list); t5.moveNext$0();) - t3.push(t5.get$current(t5)); - if (t3.length === 0) - insertions_length = 0; - else { - t1 = H.setRuntimeTypeInfo([], t1); - for (t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i) - t1.push(t3[_i].length); - insertions_length = C.JSArray_methods.reduce$1(t1, new R._inline_deletions_insertions_on_helix_closure()); - } - t1 = t2.length; - if (typeof insertions_length !== "number") - return insertions_length.$sub(); - t4 = type$.legacy_int; - dels_ins = P.LinkedHashMap_LinkedHashMap$_empty(t4, t4); - for (_i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) - dels_ins.$indexSet(0, t2[_i], -1); - for (t2 = t3.length, _i = 0; _i < t3.length; t3.length === t2 || (0, H.throwConcurrentModificationError)(t3), ++_i) { - insertion = t3[_i]; - dels_ins.$indexSet(0, insertion.offset, insertion.length); - } - t2 = dels_ins.get$keys(dels_ins); - dels_ins_offsets_sorted = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("Iterable.E")); - C.JSArray_methods.sort$0(dels_ins_offsets_sorted); - t2 = helix.get$calculate_major_ticks(); - t3 = t2.$ti; - major_ticks = new Q.CopyOnWriteList(true, t2._list, t3._eval$1("CopyOnWriteList<1>")); - major_ticks.sort$0(0); - helix = helix.rebuild$1(new R._inline_deletions_insertions_on_helix_closure0(insertions_length - t1)); - t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 0) { - for (t1 = dels_ins_offsets_sorted.length, t3 = t3._precomputed1, major_tick_idx = 0, delta_acc = 0, _i = 0; _i < dels_ins_offsets_sorted.length; dels_ins_offsets_sorted.length === t1 || (0, H.throwConcurrentModificationError)(dels_ins_offsets_sorted), ++_i) { - offset = dels_ins_offsets_sorted[_i]; - while (true) { - t2 = J.get$length$asx(major_ticks._copy_on_write_list$_list); - if (typeof t2 !== "number") - return H.iae(t2); - if (major_tick_idx < t2) { - t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); - if (typeof t2 !== "number") - return t2.$le(); - if (typeof offset !== "number") - return H.iae(offset); - t2 = t2 <= offset; - } else - t2 = false; - if (!t2) - break; - t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); - if (typeof t2 !== "number") - return t2.$add(); - t2 = t3._as(t2 + delta_acc); - major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t2); - ++major_tick_idx; - } - t2 = dels_ins.$index(0, offset); - if (typeof t2 !== "number") - return H.iae(t2); - delta_acc += t2; - } - while (true) { - t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(major_tick_idx < t1)) - break; - t1 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); - if (typeof t1 !== "number") - return t1.$add(); - t1 = t3._as(t1 + delta_acc); - major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t1); - ++major_tick_idx; - } - helix = helix.rebuild$1(new R._inline_deletions_insertions_on_helix_closure1(major_ticks)); - } - t1 = helices_new.$ti; - t1._precomputed1._as(helix_idx); - t1._rest[1]._as(helix); - helices_new._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_new._copy_on_write_map$_map, helix_idx, helix); - substrands_both_directions = design.domains_on_helix$1(helix_idx); - t1 = J.getInterceptor$ax(substrands_both_directions); - substrands_one_direction = P.LinkedHashMap_LinkedHashMap$_literal([true, t1.where$1(substrands_both_directions, new R._inline_deletions_insertions_on_helix_closure2()), false, t1.where$1(substrands_both_directions, new R._inline_deletions_insertions_on_helix_closure3())], type$.legacy_bool, type$.legacy_Iterable_legacy_Domain); - for (t1 = [true, false], t2 = type$.legacy_void_Function_legacy_DomainBuilder, t3 = type$.legacy_Domain, t4 = type$.legacy_Substrand, t5 = type$.List_legacy_Substrand, t6 = type$.ListBuilder_legacy_Substrand, _i = 0; _i < 2; ++_i) { - t7 = substrands_one_direction.$index(0, t1[_i]); - t7.toString; - substrands = P.List_List$of(t7, true, t7.$ti._eval$1("Iterable.E")); - t7 = H._arrayInstanceType(substrands); - t8 = t7._eval$1("int(1,1)?")._as(new R._inline_deletions_insertions_on_helix_closure4()); - if (!!substrands.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t7 = t7._precomputed1; - t9 = substrands.length - 1; - if (t9 - 0 <= 32) - H.Sort__insertionSort(substrands, 0, t9, t8, t7); - else - H.Sort__dualPivotQuicksort(substrands, 0, t9, t8, t7); - for (t7 = substrands.length, delta_acc = 0, _i0 = 0; _i0 < substrands.length; substrands.length === t7 || (0, H.throwConcurrentModificationError)(substrands), ++_i0, delta_acc = delta_acc0) { - substrand = substrands[_i0]; - t8 = substrand.start; - t9 = substrand.end; - t10 = t9 - t8; - t11 = J.get$length$asx(substrand.deletions._list); - if (typeof t11 !== "number") - return H.iae(t11); - t12 = substrand.__num_insertions; - if (t12 == null) - t12 = substrand.__num_insertions = G.Domain.prototype.get$num_insertions.call(substrand); - delta_acc0 = delta_acc + (t10 - t11 + t12 - t10); - t9 = t2._as(new R._inline_deletions_insertions_on_helix_closure5(t8 + delta_acc, t9 + delta_acc0)); - t8 = new G.DomainBuilder(); - t3._as(substrand); - t8._domain$_$v = substrand; - t9.call$1(t8); - new_substrand = t8.build$0(); - t8 = design.__substrand_to_strand; - if (t8 == null) { - t8 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t8); - } - strand = J.$index$asx(t8._map$_map, substrand); - t8 = design.__strand_to_index; - if (t8 == null) { - t8 = N.Design.prototype.get$strand_to_index.call(design); - design.set$__strand_to_index(t8); - } - strand_idx = J.$index$asx(t8._map$_map, strand); - t8 = strand.substrands._list; - t9 = J.getInterceptor$asx(t8); - ss_idx = 0; - while (true) { - t10 = t9.get$length(t8); - if (typeof t10 !== "number") - return H.iae(t10); - if (!(ss_idx < t10)) - break; - if (t9.$index(t8, ss_idx) instanceof G.Domain && J.$eq$(t9.$index(t8, ss_idx), substrand)) { - t8 = C.JSArray_methods.$index(strands_new, strand_idx).get$_strand$_$this(); - t9 = t8._substrands; - if (t9 == null) { - t9 = new D.ListBuilder(t6); - t9.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); - t9.set$_listOwner(null); - t8.set$_substrands(t9); - t8 = t9; - } else - t8 = t9; - t9 = t8.$ti; - t10 = t9._precomputed1; - t10._as(new_substrand); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (new_substrand == null) - H.throwExpression(P.ArgumentError$("null element")); - if (t8._listOwner != null) { - t11 = t8.__ListBuilder__list; - t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t10))); - t8.set$_listOwner(null); - } - t8 = t8.__ListBuilder__list; - J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, ss_idx, new_substrand); - break; - } - ++ss_idx; - } - } - } + ScalePurificationVendorFieldsAssign: function ScalePurificationVendorFieldsAssign() { }, - inline_insertions_deletions_reducer_closure: function inline_insertions_deletions_reducer_closure() { + PlateWellVendorFieldsAssign: function PlateWellVendorFieldsAssign() { }, - inline_insertions_deletions_reducer_closure0: function inline_insertions_deletions_reducer_closure0() { + PlateWellVendorFieldsRemove: function PlateWellVendorFieldsRemove() { }, - inline_insertions_deletions_reducer_closure1: function inline_insertions_deletions_reducer_closure1(t0, t1) { - this.helices_new = t0; - this.strands = t1; + VendorFieldsRemove: function VendorFieldsRemove() { }, - _inline_deletions_insertions_on_helix_closure: function _inline_deletions_insertions_on_helix_closure() { + ModificationAdd: function ModificationAdd() { }, - _inline_deletions_insertions_on_helix_closure0: function _inline_deletions_insertions_on_helix_closure0(t0) { - this.delta_length = t0; + ModificationRemove: function ModificationRemove() { }, - _inline_deletions_insertions_on_helix_closure1: function _inline_deletions_insertions_on_helix_closure1(t0) { - this.major_ticks = t0; + ModificationConnectorLengthSet: function ModificationConnectorLengthSet() { }, - _inline_deletions_insertions_on_helix_closure2: function _inline_deletions_insertions_on_helix_closure2() { + ModificationEdit: function ModificationEdit() { }, - _inline_deletions_insertions_on_helix_closure3: function _inline_deletions_insertions_on_helix_closure3() { + Modifications5PrimeEdit: function Modifications5PrimeEdit() { }, - _inline_deletions_insertions_on_helix_closure4: function _inline_deletions_insertions_on_helix_closure4() { + Modifications5PrimeEdit_Modifications5PrimeEdit_closure: function Modifications5PrimeEdit_Modifications5PrimeEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - _inline_deletions_insertions_on_helix_closure5: function _inline_deletions_insertions_on_helix_closure5(t0, t1) { - this.new_start = t0; - this.new_end = t1; + Modifications3PrimeEdit: function Modifications3PrimeEdit() { }, - _$DesignMainDomainNameMismatches: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainDomainNameMismatchesProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps(backingProps); + Modifications3PrimeEdit_Modifications3PrimeEdit_closure: function Modifications3PrimeEdit_Modifications3PrimeEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - _$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainDomainNameMismatchesProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainDomainNameMismatchesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domain_name_mismatches$_props = backingMap; - return t1; - } + ModificationsInternalEdit: function ModificationsInternalEdit() { }, - _$$DesignMainDomainNameMismatchesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainDomainNameMismatchesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domain_name_mismatches$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ModificationsInternalEdit_ModificationsInternalEdit_closure: function ModificationsInternalEdit_ModificationsInternalEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - DesignMainDomainNameMismatchesProps: function DesignMainDomainNameMismatchesProps() { + GridChange: function GridChange() { }, - DesignMainDomainNameMismatchesComponent: function DesignMainDomainNameMismatchesComponent() { + GroupDisplayedChange: function GroupDisplayedChange() { }, - $DesignMainDomainNameMismatchesComponentFactory_closure: function $DesignMainDomainNameMismatchesComponentFactory_closure() { + GroupAdd: function GroupAdd() { }, - _$$DesignMainDomainNameMismatchesProps: function _$$DesignMainDomainNameMismatchesProps() { + GroupRemove: function GroupRemove() { }, - _$$DesignMainDomainNameMismatchesProps$PlainMap: function _$$DesignMainDomainNameMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_main_domain_name_mismatches$_props = t0; - _.DesignMainDomainNameMismatchesProps_design = t1; - _.DesignMainDomainNameMismatchesProps_only_display_selected_helices = t2; - _.DesignMainDomainNameMismatchesProps_side_selected_helix_idxs = t3; - _.DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + GroupChange: function GroupChange() { }, - _$$DesignMainDomainNameMismatchesProps$JsMap: function _$$DesignMainDomainNameMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_main_domain_name_mismatches$_props = t0; - _.DesignMainDomainNameMismatchesProps_design = t1; - _.DesignMainDomainNameMismatchesProps_only_display_selected_helices = t2; - _.DesignMainDomainNameMismatchesProps_side_selected_helix_idxs = t3; - _.DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + MoveHelicesToGroup: function MoveHelicesToGroup() { }, - _$DesignMainDomainNameMismatchesComponent: function _$DesignMainDomainNameMismatchesComponent(t0) { - var _ = this; - _._design_main_domain_name_mismatches$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + DialogShow: function DialogShow() { }, - $DesignMainDomainNameMismatchesProps: function $DesignMainDomainNameMismatchesProps() { + DialogHide: function DialogHide() { }, - _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent() { + ContextMenuShow: function ContextMenuShow() { }, - __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps() { + ContextMenuHide: function ContextMenuHide() { }, - __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps() { + StrandOrSubstrandColorPickerShow: function StrandOrSubstrandColorPickerShow() { }, - _$DesignMainStrandCreating: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainStrandCreatingProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps(backingProps); + StrandOrSubstrandColorPickerHide: function StrandOrSubstrandColorPickerHide() { }, - _$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainStrandCreatingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainStrandCreatingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_creating$_props = backingMap; - return t1; - } + StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure: function StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure() { }, - _$$DesignMainStrandCreatingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainStrandCreatingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_creating$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ScaffoldSet: function ScaffoldSet() { }, - DesignMainStrandCreatingPropsMixin: function DesignMainStrandCreatingPropsMixin() { + StrandOrSubstrandColorSet: function StrandOrSubstrandColorSet() { }, - DesignMainStrandCreatingComponent: function DesignMainStrandCreatingComponent() { + StrandPasteKeepColorSet: function StrandPasteKeepColorSet() { }, - $DesignMainStrandCreatingComponentFactory_closure: function $DesignMainStrandCreatingComponentFactory_closure() { + ExampleDesignsLoad: function ExampleDesignsLoad() { }, - _$$DesignMainStrandCreatingProps: function _$$DesignMainStrandCreatingProps() { + BasePairTypeSet: function BasePairTypeSet() { }, - _$$DesignMainStrandCreatingProps$PlainMap: function _$$DesignMainStrandCreatingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_creating$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandCreatingPropsMixin_helix = t4; - _.DesignMainStrandCreatingPropsMixin_forward = t5; - _.DesignMainStrandCreatingPropsMixin_start = t6; - _.DesignMainStrandCreatingPropsMixin_end = t7; - _.DesignMainStrandCreatingPropsMixin_color = t8; - _.DesignMainStrandCreatingPropsMixin_helices = t9; - _.DesignMainStrandCreatingPropsMixin_groups = t10; - _.DesignMainStrandCreatingPropsMixin_geometry = t11; - _.DesignMainStrandCreatingPropsMixin_svg_position_y = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + HelixPositionSet: function HelixPositionSet() { }, - _$$DesignMainStrandCreatingProps$JsMap: function _$$DesignMainStrandCreatingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_creating$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandCreatingPropsMixin_helix = t4; - _.DesignMainStrandCreatingPropsMixin_forward = t5; - _.DesignMainStrandCreatingPropsMixin_start = t6; - _.DesignMainStrandCreatingPropsMixin_end = t7; - _.DesignMainStrandCreatingPropsMixin_color = t8; - _.DesignMainStrandCreatingPropsMixin_helices = t9; - _.DesignMainStrandCreatingPropsMixin_groups = t10; - _.DesignMainStrandCreatingPropsMixin_geometry = t11; - _.DesignMainStrandCreatingPropsMixin_svg_position_y = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + HelixGridPositionSet: function HelixGridPositionSet() { }, - _$DesignMainStrandCreatingComponent: function _$DesignMainStrandCreatingComponent(t0) { - var _ = this; - _._design_main_strand_creating$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + HelicesPositionsSetBasedOnCrossovers: function HelicesPositionsSetBasedOnCrossovers() { }, - $DesignMainStrandCreatingPropsMixin: function $DesignMainStrandCreatingPropsMixin() { + InlineInsertionsDeletions: function InlineInsertionsDeletions() { }, - _DesignMainStrandCreatingComponent_UiComponent2_PureComponent: function _DesignMainStrandCreatingComponent_UiComponent2_PureComponent() { + DefaultCrossoverTypeForSettingHelixRollsSet: function DefaultCrossoverTypeForSettingHelixRollsSet() { }, - _DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + AutofitSet: function AutofitSet() { }, - __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin() { + ShowHelixCirclesMainViewSet: function ShowHelixCirclesMainViewSet() { }, - __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin() { + ShowHelixComponentsMainViewSet: function ShowHelixComponentsMainViewSet() { }, - __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin() { + ShowEditMenuToggle: function ShowEditMenuToggle() { }, - __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + ShowGridCoordinatesSideViewSet: function ShowGridCoordinatesSideViewSet() { }, - _$DesignMainStrandExtensionText: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainStrandExtensionTextProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps(backingProps); + ShowAxisArrowsSet: function ShowAxisArrowsSet() { }, - _$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainStrandExtensionTextProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainStrandExtensionTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_extension_text$_props = backingMap; - return t1; - } + ShowLoopoutExtensionLengthSet: function ShowLoopoutExtensionLengthSet() { }, - _$$DesignMainStrandExtensionTextProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainStrandExtensionTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_extension_text$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + LoadDnaSequenceImageUri: function LoadDnaSequenceImageUri() { }, - DesignMainStrandExtensionTextPropsMixin: function DesignMainStrandExtensionTextPropsMixin() { + LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure: function LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(t0, t1, t2) { + this.uri = t0; + this.dna_sequence_png_horizontal_offset = t1; + this.dna_sequence_png_vertical_offset = t2; }, - DesignMainStrandExtensionTextComponent: function DesignMainStrandExtensionTextComponent() { + SetIsZoomAboveThreshold: function SetIsZoomAboveThreshold() { }, - $DesignMainStrandExtensionTextComponentFactory_closure: function $DesignMainStrandExtensionTextComponentFactory_closure() { + SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure: function SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(t0) { + this.is_zoom_above_threshold = t0; }, - _$$DesignMainStrandExtensionTextProps: function _$$DesignMainStrandExtensionTextProps() { + SetExportSvgActionDelayedForPngCache: function SetExportSvgActionDelayedForPngCache() { }, - _$$DesignMainStrandExtensionTextProps$PlainMap: function _$$DesignMainStrandExtensionTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _._design_main_strand_extension_text$_props = t0; - _.DesignMainStrandExtensionTextPropsMixin_ext = t1; - _.DesignMainStrandExtensionTextPropsMixin_geometry = t2; - _.DesignMainStrandExtensionTextPropsMixin_text = t3; - _.DesignMainStrandExtensionTextPropsMixin_css_selector_text = t4; - _.DesignMainStrandExtensionTextPropsMixin_num_stacked = t5; - _.DesignMainStrandExtensionTextPropsMixin_font_size = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure: function SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(t0) { + this.export_svg_action_delayed_for_png_cache = t0; }, - _$$DesignMainStrandExtensionTextProps$JsMap: function _$$DesignMainStrandExtensionTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _._design_main_strand_extension_text$_props = t0; - _.DesignMainStrandExtensionTextPropsMixin_ext = t1; - _.DesignMainStrandExtensionTextPropsMixin_geometry = t2; - _.DesignMainStrandExtensionTextPropsMixin_text = t3; - _.DesignMainStrandExtensionTextPropsMixin_css_selector_text = t4; - _.DesignMainStrandExtensionTextPropsMixin_num_stacked = t5; - _.DesignMainStrandExtensionTextPropsMixin_font_size = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + ShowBasePairLinesSet: function ShowBasePairLinesSet() { }, - _$DesignMainStrandExtensionTextComponent: function _$DesignMainStrandExtensionTextComponent(t0) { - var _ = this; - _._design_main_strand_extension_text$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + ShowBasePairLinesWithMismatchesSet: function ShowBasePairLinesWithMismatchesSet() { }, - $DesignMainStrandExtensionTextPropsMixin: function $DesignMainStrandExtensionTextPropsMixin() { + ShowSliceBarSet: function ShowSliceBarSet() { }, - _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent: function _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent() { + ShowSliceBarSet_ShowSliceBarSet_closure: function ShowSliceBarSet_ShowSliceBarSet_closure(t0) { + this.show = t0; }, - __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin() { + SliceBarOffsetSet: function SliceBarOffsetSet() { }, - __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin() { + SliceBarOffsetSet_SliceBarOffsetSet_closure: function SliceBarOffsetSet_SliceBarOffsetSet_closure(t0) { + this.offset = t0; }, - loopout_path_description_within_group: function(prev_helix, next_helix, prev_domain, next_domain, loopout, include_start_M, show_loopout_labels, prev_helix_svg_position_y, next_helix_svg_position_y) { - var prev_offset, next_offset, $forward, prev_svg, next_svg, t1, right_svg, left_svg, t2, t3, $length, h, w, y, t4, c1, c2, t0, bot_dom, top_dom, bot_helix, top_helix, top_dom_is_prev, top_offset, bot_offset, y_offset1, y_offset2, x_offset1, x_offset2, x_offset10, x_offset20, y_offset10, y_offset20, - geometry = prev_helix.geometry, - same_helix = prev_helix.idx === next_helix.idx; - if (same_helix && prev_domain.forward === next_domain.forward) { - prev_offset = prev_domain.get$offset_3p(); - next_offset = next_domain.get$offset_5p(); - $forward = prev_domain.forward; - prev_svg = prev_helix.svg_base_pos$3(prev_offset, $forward, prev_helix_svg_position_y); - next_svg = prev_helix.svg_base_pos$3(next_offset, $forward, prev_helix_svg_position_y); - t1 = prev_offset >= next_offset; - if (t1) { - right_svg = prev_svg; - left_svg = next_svg; - } else { - right_svg = next_svg; - left_svg = prev_svg; - } - t2 = right_svg.x; - t3 = left_svg.x; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - $length = loopout.loopout_num_bases; - h = 3 * (1 / (1 + Math.exp(-($length - 1)))) * geometry.get$base_height_svg(); - if (!H.boolConversionCheck(show_loopout_labels)) - $length -= 5; - w = 2 * Math.pow(t2 - t3, 0.3333333333333333) * (1 / (1 + Math.exp(-$length))) * geometry.get$base_width_svg(); - y = left_svg.y; - if ($forward) { - if (typeof y !== "number") - return y.$sub(); - y -= h; - } else { - if (typeof y !== "number") - return y.$add(); - y += h; - } - t4 = type$.Point_legacy_num; - c1 = new P.Point(t3 - w, y, t4); - c2 = new P.Point(t2 + w, y, t4); - if (t1) { - t0 = c2; - c2 = c1; - c1 = t0; - } - t1 = include_start_M ? "M " + H.S(prev_svg.x) + " " + H.S(prev_svg.y) + " " : ""; - return t1 + ("C " + H.S(c1.x) + " " + H.S(c1.y) + " " + H.S(c2.x) + " " + H.S(c2.y) + " " + H.S(next_svg.x) + " " + H.S(next_svg.y)); - } else { - if (typeof prev_helix_svg_position_y !== "number") - return prev_helix_svg_position_y.$gt(); - if (typeof next_helix_svg_position_y !== "number") - return H.iae(next_helix_svg_position_y); - if (!(prev_helix_svg_position_y > next_helix_svg_position_y)) - t1 = same_helix && !prev_domain.forward; - else - t1 = true; - if (t1) { - bot_dom = prev_domain; - top_dom = next_domain; - bot_helix = prev_helix; - top_helix = next_helix; - } else { - bot_dom = next_domain; - top_dom = prev_domain; - bot_helix = next_helix; - top_helix = prev_helix; - } - } - top_dom_is_prev = J.$eq$(top_dom, prev_domain); - top_offset = top_dom_is_prev ? top_dom.get$offset_3p() : top_dom.get$offset_5p(); - bot_offset = top_dom_is_prev ? bot_dom.get$offset_5p() : bot_dom.get$offset_3p(); - prev_offset = top_dom_is_prev ? top_offset : bot_offset; - next_offset = top_dom_is_prev ? bot_offset : top_offset; - prev_svg = prev_helix.svg_base_pos$3(prev_offset, prev_domain.forward, prev_helix_svg_position_y); - next_svg = next_helix.svg_base_pos$3(next_offset, next_domain.forward, next_helix_svg_position_y); - if (top_helix.idx === bot_helix.idx) { - t1 = loopout.loopout_num_bases; - w = 1.5 * (1 / (1 + Math.exp(-(t1 - 1)))) * geometry.get$base_width_svg(); - h = H.boolConversionCheck(show_loopout_labels) ? 10 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_height_svg() : 10 * (1 / (1 + Math.exp(-(t1 - 5)))) * geometry.get$base_height_svg(); - } else { - t1 = loopout.loopout_num_bases; - w = 2 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_width_svg(); - h = 10 * (1 / (1 + Math.exp(-(t1 - 3)))) * geometry.get$base_height_svg(); - } - y_offset1 = prev_svg.y; - y_offset2 = next_svg.y; - x_offset1 = prev_svg.x; - x_offset2 = next_svg.x; - if (top_offset === top_dom.end - 1) { - if (typeof x_offset1 !== "number") - return x_offset1.$add(); - x_offset10 = x_offset1 + w; - if (typeof x_offset2 !== "number") - return x_offset2.$add(); - x_offset20 = x_offset2 + w; - } else { - if (typeof x_offset1 !== "number") - return x_offset1.$sub(); - x_offset10 = x_offset1 - w; - if (typeof x_offset2 !== "number") - return x_offset2.$sub(); - x_offset20 = x_offset2 - w; - } - if (top_dom_is_prev) { - if (typeof y_offset1 !== "number") - return y_offset1.$sub(); - y_offset10 = y_offset1 - h; - if (typeof y_offset2 !== "number") - return y_offset2.$add(); - y_offset20 = y_offset2 + h; - } else { - if (typeof y_offset1 !== "number") - return y_offset1.$add(); - y_offset10 = y_offset1 + h; - if (typeof y_offset2 !== "number") - return y_offset2.$sub(); - y_offset20 = y_offset2 - h; - } - t1 = include_start_M ? "M " + H.S(x_offset1) + " " + H.S(y_offset1) + " " : ""; - return t1 + ("C " + H.S(x_offset10) + " " + H.S(y_offset10) + " " + H.S(x_offset20) + " " + H.S(y_offset20) + " " + H.S(x_offset2) + " " + H.S(y_offset2)); + DisablePngCachingDnaSequencesSet: function DisablePngCachingDnaSequencesSet() { }, - ask_for_length: function(title, current_length, dialog_type, lower_bound, tooltip) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_int), - $async$returnValue, results, $length, items; - var $async$ask_for_length = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("new length:", tooltip, current_length)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), title, dialog_type, false)), $async$ask_for_length); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - $async$returnValue = current_length; - // goto return - $async$goto = 1; - break; - } - $length = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); - if ($length < lower_bound) { - C.Window_methods.alert$1(window, "length must be at least " + lower_bound + ", but you entered " + $length); - $async$returnValue = current_length; - // goto return - $async$goto = 1; - break; - } - $async$returnValue = $length; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_length, $async$completer); + DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure: function DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(t0) { + this.disable_png_caching_dna_sequences = t0; }, - _$DesignMainLoopout: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainLoopoutProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainLoopoutProps__$$DesignMainLoopoutProps(backingProps); + RetainStrandColorOnSelectionSet: function RetainStrandColorOnSelectionSet() { }, - _$$DesignMainLoopoutProps__$$DesignMainLoopoutProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainLoopoutProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainLoopoutProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_loopout$_props = backingMap; - return t1; - } + RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure: function RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(t0) { + this.retain_strand_color_on_selection = t0; }, - _$$DesignMainLoopoutProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainLoopoutProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_loopout$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + DisplayReverseDNARightSideUpSet: function DisplayReverseDNARightSideUpSet() { }, - _$$DesignMainLoopoutState$JsMap$: function(backingMap) { - var t1 = new R._$$DesignMainLoopoutState$JsMap(new L.JsBackedMap({}), null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_loopout$_state = backingMap; - return t1; + DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure: function DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(t0) { + this.display_reverse_DNA_right_side_up = t0; }, - DesignMainLoopoutPropsMixin: function DesignMainLoopoutPropsMixin() { + SliceBarMoveStart: function SliceBarMoveStart() { }, - DesignMainLoopoutState: function DesignMainLoopoutState() { + SliceBarMoveStop: function SliceBarMoveStop() { }, - DesignMainLoopoutComponent: function DesignMainLoopoutComponent() { + Autostaple: function Autostaple() { }, - DesignMainLoopoutComponent_render_closure: function DesignMainLoopoutComponent_render_closure(t0) { - this.$this = t0; + Autobreak: function Autobreak() { }, - DesignMainLoopoutComponent_render_closure0: function DesignMainLoopoutComponent_render_closure0(t0) { - this.$this = t0; + Autobreak_Autobreak_closure: function Autobreak_Autobreak_closure(t0, t1, t2, t3) { + var _ = this; + _.target_length = t0; + _.min_length = t1; + _.max_length = t2; + _.min_distance_to_xover = t3; }, - DesignMainLoopoutComponent_render_closure1: function DesignMainLoopoutComponent_render_closure1(t0) { - this.$this = t0; + ZoomSpeedSet: function ZoomSpeedSet() { }, - DesignMainLoopoutComponent_render_closure2: function DesignMainLoopoutComponent_render_closure2(t0) { - this.$this = t0; + OxdnaExport: function OxdnaExport() { }, - DesignMainLoopoutComponent_context_menu_loopout_closure: function DesignMainLoopoutComponent_context_menu_loopout_closure() { + OxdnaExport_OxdnaExport_closure: function OxdnaExport_OxdnaExport_closure(t0) { + this.selected_strands_only = t0; }, - DesignMainLoopoutComponent_context_menu_loopout__closure0: function DesignMainLoopoutComponent_context_menu_loopout__closure0() { + OxviewExport: function OxviewExport() { }, - DesignMainLoopoutComponent_context_menu_loopout_closure0: function DesignMainLoopoutComponent_context_menu_loopout_closure0() { + OxviewExport_OxviewExport_closure: function OxviewExport_OxviewExport_closure(t0) { + this.selected_strands_only = t0; }, - DesignMainLoopoutComponent_context_menu_loopout__closure: function DesignMainLoopoutComponent_context_menu_loopout__closure() { + OxExportOnlySelectedStrandsSet: function OxExportOnlySelectedStrandsSet() { }, - DesignMainLoopoutComponent_context_menu_loopout_closure1: function DesignMainLoopoutComponent_context_menu_loopout_closure1(t0) { - this.$this = t0; + _$UndoSerializer: function _$UndoSerializer() { }, - DesignMainLoopoutComponent_context_menu_loopout_closure2: function DesignMainLoopoutComponent_context_menu_loopout_closure2(t0) { - this.$this = t0; + _$RedoSerializer: function _$RedoSerializer() { }, - DesignMainLoopoutComponent_loopout_length_change_closure: function DesignMainLoopoutComponent_loopout_length_change_closure(t0) { - this.$this = t0; + _$UndoRedoClearSerializer: function _$UndoRedoClearSerializer() { }, - DesignMainLoopoutComponent_set_loopout_label_closure: function DesignMainLoopoutComponent_set_loopout_label_closure(t0) { - this.$this = t0; + _$BatchActionSerializer: function _$BatchActionSerializer() { }, - DesignMainLoopoutComponent_ask_for_loopout_name_closure: function DesignMainLoopoutComponent_ask_for_loopout_name_closure(t0) { - this.name = t0; + _$ThrottledActionFastSerializer: function _$ThrottledActionFastSerializer() { }, - $DesignMainLoopoutComponentFactory_closure: function $DesignMainLoopoutComponentFactory_closure() { + _$ThrottledActionNonFastSerializer: function _$ThrottledActionNonFastSerializer() { }, - _$$DesignMainLoopoutProps: function _$$DesignMainLoopoutProps() { + _$LocalStorageDesignChoiceSetSerializer: function _$LocalStorageDesignChoiceSetSerializer() { }, - _$$DesignMainLoopoutProps$PlainMap: function _$$DesignMainLoopoutProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { - var _ = this; - _._design_main_strand_loopout$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainLoopoutPropsMixin_loopout = t4; - _.DesignMainLoopoutPropsMixin_strand = t5; - _.DesignMainLoopoutPropsMixin_strand_color = t6; - _.DesignMainLoopoutPropsMixin_prev_domain = t7; - _.DesignMainLoopoutPropsMixin_next_domain = t8; - _.DesignMainLoopoutPropsMixin_prev_helix = t9; - _.DesignMainLoopoutPropsMixin_next_helix = t10; - _.DesignMainLoopoutPropsMixin_selected = t11; - _.DesignMainLoopoutPropsMixin_edit_modes = t12; - _.DesignMainLoopoutPropsMixin_show_domain_names = t13; - _.DesignMainLoopoutPropsMixin_helices = t14; - _.DesignMainLoopoutPropsMixin_groups = t15; - _.DesignMainLoopoutPropsMixin_geometry = t16; - _.DesignMainLoopoutPropsMixin_prev_helix_svg_position_y = t17; - _.DesignMainLoopoutPropsMixin_next_helix_svg_position_y = t18; - _.DesignMainLoopoutPropsMixin_retain_strand_color_on_selection = t19; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t20; - _.UbiquitousDomPropsMixin__dom = t21; + _$ResetLocalStorageSerializer: function _$ResetLocalStorageSerializer() { }, - _$$DesignMainLoopoutProps$JsMap: function _$$DesignMainLoopoutProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { - var _ = this; - _._design_main_strand_loopout$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainLoopoutPropsMixin_loopout = t4; - _.DesignMainLoopoutPropsMixin_strand = t5; - _.DesignMainLoopoutPropsMixin_strand_color = t6; - _.DesignMainLoopoutPropsMixin_prev_domain = t7; - _.DesignMainLoopoutPropsMixin_next_domain = t8; - _.DesignMainLoopoutPropsMixin_prev_helix = t9; - _.DesignMainLoopoutPropsMixin_next_helix = t10; - _.DesignMainLoopoutPropsMixin_selected = t11; - _.DesignMainLoopoutPropsMixin_edit_modes = t12; - _.DesignMainLoopoutPropsMixin_show_domain_names = t13; - _.DesignMainLoopoutPropsMixin_helices = t14; - _.DesignMainLoopoutPropsMixin_groups = t15; - _.DesignMainLoopoutPropsMixin_geometry = t16; - _.DesignMainLoopoutPropsMixin_prev_helix_svg_position_y = t17; - _.DesignMainLoopoutPropsMixin_next_helix_svg_position_y = t18; - _.DesignMainLoopoutPropsMixin_retain_strand_color_on_selection = t19; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t20; - _.UbiquitousDomPropsMixin__dom = t21; + _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer: function _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer() { }, - _$$DesignMainLoopoutState: function _$$DesignMainLoopoutState() { + _$EditModeToggleSerializer: function _$EditModeToggleSerializer() { }, - _$$DesignMainLoopoutState$JsMap: function _$$DesignMainLoopoutState$JsMap(t0, t1) { - this._design_main_strand_loopout$_state = t0; - this.DesignMainLoopoutState_mouse_hover = t1; + _$EditModesSetSerializer: function _$EditModesSetSerializer() { }, - _$DesignMainLoopoutComponent: function _$DesignMainLoopoutComponent(t0) { - var _ = this; - _._design_main_strand_loopout$_cachedTypedState = _._design_main_strand_loopout$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$SelectModeToggleSerializer: function _$SelectModeToggleSerializer() { }, - $DesignMainLoopoutPropsMixin: function $DesignMainLoopoutPropsMixin() { + _$SelectModesAddSerializer: function _$SelectModesAddSerializer() { }, - $DesignMainLoopoutState: function $DesignMainLoopoutState() { + _$SelectModesSetSerializer: function _$SelectModesSetSerializer() { }, - _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent: function _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent() { + _$StrandNameSetSerializer: function _$StrandNameSetSerializer() { }, - _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup: function _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup() { + _$StrandLabelSetSerializer: function _$StrandLabelSetSerializer() { }, - __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin() { + _$SubstrandNameSetSerializer: function _$SubstrandNameSetSerializer() { }, - __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin() { + _$SubstrandLabelSetSerializer: function _$SubstrandLabelSetSerializer() { }, - __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin() { + _$SetAppUIStateStorableSerializer: function _$SetAppUIStateStorableSerializer() { }, - __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$ShowDNASetSerializer: function _$ShowDNASetSerializer() { }, - __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState() { + _$ShowDomainNamesSetSerializer: function _$ShowDomainNamesSetSerializer() { }, - __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState() { + _$ShowStrandNamesSetSerializer: function _$ShowStrandNamesSetSerializer() { }, - _$DesignMainStrandModifications: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainStrandModificationsProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps(backingProps); + _$ShowStrandLabelsSetSerializer: function _$ShowStrandLabelsSetSerializer() { }, - _$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainStrandModificationsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainStrandModificationsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_modifications$_props = backingMap; - return t1; - } + _$ShowDomainLabelsSetSerializer: function _$ShowDomainLabelsSetSerializer() { }, - _$$DesignMainStrandModificationsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainStrandModificationsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_modifications$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$ShowModificationsSetSerializer: function _$ShowModificationsSetSerializer() { }, - DesignMainStrandModificationsPropsMixin: function DesignMainStrandModificationsPropsMixin() { + _$DomainNameFontSizeSetSerializer: function _$DomainNameFontSizeSetSerializer() { }, - DesignMainStrandModificationsComponent: function DesignMainStrandModificationsComponent() { + _$DomainLabelFontSizeSetSerializer: function _$DomainLabelFontSizeSetSerializer() { }, - $DesignMainStrandModificationsComponentFactory_closure: function $DesignMainStrandModificationsComponentFactory_closure() { + _$StrandNameFontSizeSetSerializer: function _$StrandNameFontSizeSetSerializer() { }, - _$$DesignMainStrandModificationsProps: function _$$DesignMainStrandModificationsProps() { + _$StrandLabelFontSizeSetSerializer: function _$StrandLabelFontSizeSetSerializer() { }, - _$$DesignMainStrandModificationsProps$PlainMap: function _$$DesignMainStrandModificationsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { - var _ = this; - _._design_main_strand_modifications$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandModificationsPropsMixin_strand = t4; - _.DesignMainStrandModificationsPropsMixin_helices = t5; - _.DesignMainStrandModificationsPropsMixin_groups = t6; - _.DesignMainStrandModificationsPropsMixin_geometry = t7; - _.DesignMainStrandModificationsPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainStrandModificationsPropsMixin_only_display_selected_helices = t9; - _.DesignMainStrandModificationsPropsMixin_display_connector = t10; - _.DesignMainStrandModificationsPropsMixin_font_size = t11; - _.DesignMainStrandModificationsPropsMixin_selected_modifications_in_strand = t12; - _.DesignMainStrandModificationsPropsMixin_helix_idx_to_svg_position_y_map = t13; - _.DesignMainStrandModificationsPropsMixin_retain_strand_color_on_selection = t14; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t15; - _.UbiquitousDomPropsMixin__dom = t16; + _$ModificationFontSizeSetSerializer: function _$ModificationFontSizeSetSerializer() { }, - _$$DesignMainStrandModificationsProps$JsMap: function _$$DesignMainStrandModificationsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { - var _ = this; - _._design_main_strand_modifications$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandModificationsPropsMixin_strand = t4; - _.DesignMainStrandModificationsPropsMixin_helices = t5; - _.DesignMainStrandModificationsPropsMixin_groups = t6; - _.DesignMainStrandModificationsPropsMixin_geometry = t7; - _.DesignMainStrandModificationsPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainStrandModificationsPropsMixin_only_display_selected_helices = t9; - _.DesignMainStrandModificationsPropsMixin_display_connector = t10; - _.DesignMainStrandModificationsPropsMixin_font_size = t11; - _.DesignMainStrandModificationsPropsMixin_selected_modifications_in_strand = t12; - _.DesignMainStrandModificationsPropsMixin_helix_idx_to_svg_position_y_map = t13; - _.DesignMainStrandModificationsPropsMixin_retain_strand_color_on_selection = t14; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t15; - _.UbiquitousDomPropsMixin__dom = t16; + _$MajorTickOffsetFontSizeSetSerializer: function _$MajorTickOffsetFontSizeSetSerializer() { }, - _$DesignMainStrandModificationsComponent: function _$DesignMainStrandModificationsComponent(t0) { - var _ = this; - _._design_main_strand_modifications$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$MajorTickWidthFontSizeSetSerializer: function _$MajorTickWidthFontSizeSetSerializer() { }, - $DesignMainStrandModificationsPropsMixin: function $DesignMainStrandModificationsPropsMixin() { + _$SetModificationDisplayConnectorSerializer: function _$SetModificationDisplayConnectorSerializer() { }, - _DesignMainStrandModificationsComponent_UiComponent2_PureComponent: function _DesignMainStrandModificationsComponent_UiComponent2_PureComponent() { + _$ShowMismatchesSetSerializer: function _$ShowMismatchesSetSerializer() { }, - _DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _$ShowDomainNameMismatchesSetSerializer: function _$ShowDomainNameMismatchesSetSerializer() { }, - __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin() { + _$ShowUnpairedInsertionDeletionsSetSerializer: function _$ShowUnpairedInsertionDeletionsSetSerializer() { }, - __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin() { + _$OxviewShowSetSerializer: function _$OxviewShowSetSerializer() { }, - __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin() { + _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer() { }, - __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$DisplayMajorTicksOffsetsSetSerializer: function _$DisplayMajorTicksOffsetsSetSerializer() { }, - _$DesignMainWarningStar: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$DesignMainWarningStarProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainWarningStarProps__$$DesignMainWarningStarProps(backingProps); + _$SetDisplayMajorTickWidthsAllHelicesSerializer: function _$SetDisplayMajorTickWidthsAllHelicesSerializer() { }, - _$$DesignMainWarningStarProps__$$DesignMainWarningStarProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$DesignMainWarningStarProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$DesignMainWarningStarProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_warning_star$_props = backingMap; - return t1; - } + _$SetDisplayMajorTickWidthsSerializer: function _$SetDisplayMajorTickWidthsSerializer() { }, - _$$DesignMainWarningStarProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$DesignMainWarningStarProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_warning_star$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$SetOnlyDisplaySelectedHelicesSerializer: function _$SetOnlyDisplaySelectedHelicesSerializer() { }, - DesignMainWarningStarProps: function DesignMainWarningStarProps() { + _$InvertYSetSerializer: function _$InvertYSetSerializer() { }, - DesignMainWarningStarComponent: function DesignMainWarningStarComponent() { + _$DynamicHelixUpdateSetSerializer: function _$DynamicHelixUpdateSetSerializer() { }, - $DesignMainWarningStarComponentFactory_closure: function $DesignMainWarningStarComponentFactory_closure() { + _$WarnOnExitIfUnsavedSetSerializer: function _$WarnOnExitIfUnsavedSetSerializer() { }, - _$$DesignMainWarningStarProps: function _$$DesignMainWarningStarProps() { + _$LoadingDialogShowSerializer: function _$LoadingDialogShowSerializer() { }, - _$$DesignMainWarningStarProps$PlainMap: function _$$DesignMainWarningStarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_main_warning_star$_props = t0; - _.DesignMainWarningStarProps_base_svg_pos = t1; - _.DesignMainWarningStarProps_forward = t2; - _.DesignMainWarningStarProps_geometry = t3; - _.DesignMainWarningStarProps_color = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _$LoadingDialogHideSerializer: function _$LoadingDialogHideSerializer() { }, - _$$DesignMainWarningStarProps$JsMap: function _$$DesignMainWarningStarProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_main_warning_star$_props = t0; - _.DesignMainWarningStarProps_base_svg_pos = t1; - _.DesignMainWarningStarProps_forward = t2; - _.DesignMainWarningStarProps_geometry = t3; - _.DesignMainWarningStarProps_color = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _$CopySelectedStandsToClipboardImageSerializer: function _$CopySelectedStandsToClipboardImageSerializer() { }, - _$DesignMainWarningStarComponent: function _$DesignMainWarningStarComponent(t0) { - var _ = this; - _._design_main_warning_star$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$SaveDNAFileSerializer: function _$SaveDNAFileSerializer() { }, - $DesignMainWarningStarProps: function $DesignMainWarningStarProps() { + _$LoadDNAFileSerializer: function _$LoadDNAFileSerializer() { }, - __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps() { + _$PrepareToLoadDNAFileSerializer: function _$PrepareToLoadDNAFileSerializer() { }, - __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps() { + _$NewDesignSetSerializer: function _$NewDesignSetSerializer() { }, - _$PotentialExtensionsView: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? R._$$PotentialExtensionsViewProps$JsMap$(new L.JsBackedMap({})) : R._$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps(backingProps); + _$ExportCadnanoFileSerializer: function _$ExportCadnanoFileSerializer() { }, - _$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return R._$$PotentialExtensionsViewProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new R._$$PotentialExtensionsViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._potential_extensions_view$_props = backingMap; - return t1; - } + _$ExportCodenanoFileSerializer: function _$ExportCodenanoFileSerializer() { }, - _$$PotentialExtensionsViewProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new R._$$PotentialExtensionsViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._potential_extensions_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$ShowMouseoverDataSetSerializer: function _$ShowMouseoverDataSetSerializer() { }, - ConnectedPotentialExtensionsView_closure: function ConnectedPotentialExtensionsView_closure() { + _$MouseoverDataClearSerializer: function _$MouseoverDataClearSerializer() { }, - PotentialExtensionsViewProps: function PotentialExtensionsViewProps() { + _$MouseoverDataUpdateSerializer: function _$MouseoverDataUpdateSerializer() { }, - PotentialExtensionsViewComponent: function PotentialExtensionsViewComponent() { + _$HelixRollSetSerializer: function _$HelixRollSetSerializer() { }, - PotentialExtensionsViewComponent_render_closure: function PotentialExtensionsViewComponent_render_closure(t0, t1) { - this.$this = t0; - this.potential_extensions = t1; + _$HelixRollSetAtOtherSerializer: function _$HelixRollSetAtOtherSerializer() { }, - $PotentialExtensionsViewComponentFactory_closure: function $PotentialExtensionsViewComponentFactory_closure() { + _$RelaxHelixRollsSerializer: function _$RelaxHelixRollsSerializer() { }, - _$$PotentialExtensionsViewProps: function _$$PotentialExtensionsViewProps() { + _$ErrorMessageSetSerializer: function _$ErrorMessageSetSerializer() { }, - _$$PotentialExtensionsViewProps$PlainMap: function _$$PotentialExtensionsViewProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._potential_extensions_view$_props = t0; - _.PotentialExtensionsViewProps_potential_extensions = t1; - _.PotentialExtensionsViewProps_id = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + _$SelectionBoxCreateSerializer: function _$SelectionBoxCreateSerializer() { }, - _$$PotentialExtensionsViewProps$JsMap: function _$$PotentialExtensionsViewProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._potential_extensions_view$_props = t0; - _.PotentialExtensionsViewProps_potential_extensions = t1; - _.PotentialExtensionsViewProps_id = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + _$SelectionBoxSizeChangeSerializer: function _$SelectionBoxSizeChangeSerializer() { }, - _$PotentialExtensionsViewComponent: function _$PotentialExtensionsViewComponent(t0) { - var _ = this; - _._potential_extensions_view$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$SelectionBoxRemoveSerializer: function _$SelectionBoxRemoveSerializer() { }, - $PotentialExtensionsViewProps: function $PotentialExtensionsViewProps() { + _$SelectionRopeCreateSerializer: function _$SelectionRopeCreateSerializer() { }, - __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps() { + _$SelectionRopeMouseMoveSerializer: function _$SelectionRopeMouseMoveSerializer() { }, - __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps() { + _$SelectionRopeAddPointSerializer: function _$SelectionRopeAddPointSerializer() { }, - TransformByHelixGroupPropsMixin: function TransformByHelixGroupPropsMixin() { + _$SelectionRopeRemoveSerializer: function _$SelectionRopeRemoveSerializer() { }, - TransformByHelixGroup: function TransformByHelixGroup() { + _$MouseGridPositionSideUpdateSerializer: function _$MouseGridPositionSideUpdateSerializer() { }, - $TransformByHelixGroupPropsMixin: function $TransformByHelixGroupPropsMixin() { + _$MouseGridPositionSideClearSerializer: function _$MouseGridPositionSideClearSerializer() { }, - XmlHasXml: function XmlHasXml() { + _$MousePositionSideUpdateSerializer: function _$MousePositionSideUpdateSerializer() { }, - XmlComment: function XmlComment(t0, t1) { - this.text = t0; - this.XmlHasParent__parent = t1; + _$MousePositionSideClearSerializer: function _$MousePositionSideClearSerializer() { }, - XmlProcessing: function XmlProcessing(t0, t1, t2) { - this.target = t0; - this.text = t1; - this.XmlHasParent__parent = t2; + _$GeometrySetSerializer: function _$GeometrySetSerializer() { }, - XmlSimpleName: function XmlSimpleName(t0, t1) { - this.local = t0; - this.XmlHasParent__parent = t1; + _$SelectionBoxIntersectionRuleSetSerializer: function _$SelectionBoxIntersectionRuleSetSerializer() { }, - forwardUnconsumedProps: function(props, keySetsToOmit, propsToUpdate) { - var t1, t2, t3, t4, key, t5, shouldContinue; - for (t1 = J.get$iterator$ax(J.get$keys$x(props.get$_component_base$_map())), t2 = H._instanceType(propsToUpdate), t3 = t2._eval$1("MapViewMixin.K*"), t2 = t2._eval$1("MapViewMixin.V*"), t4 = keySetsToOmit != null; t1.moveNext$0();) { - key = t1.get$current(t1); - if (t4 && !keySetsToOmit.get$isEmpty(keySetsToOmit)) { - if (J.contains$1$asx(keySetsToOmit.get$first(keySetsToOmit), key)) - continue; - t5 = keySetsToOmit.get$length(keySetsToOmit); - if (typeof t5 !== "number") - return t5.$gt(); - if (t5 > 1) { - t5 = keySetsToOmit.get$iterator(keySetsToOmit); - while (true) { - if (!t5.moveNext$0()) { - shouldContinue = false; - break; - } - if (J.contains$1$asx(t5.get$current(t5), key)) { - shouldContinue = true; - break; - } - } - if (shouldContinue) - continue; - } - } - t5 = C.JSArray_methods.contains$1(C.List_key_ref_children, key); - if (t5) - continue; - t5 = J.$index$asx(props.get$_component_base$_map(), key); - t3._as(key); - t2._as(t5); - J.$indexSet$ax(propsToUpdate.get$_component_base$_map(), key, t5); - } + _$SelectSerializer: function _$SelectSerializer() { }, - getBackingMap: function(map) { - return map; + _$SelectionsClearSerializer: function _$SelectionsClearSerializer() { }, - unindent: function(multilineString) { - var t2, - t1 = P.RegExp_RegExp("^( *)", true).firstMatch$1(multilineString)._match; - if (1 >= t1.length) - return H.ioore(t1, 1); - t1 = t1[1]; - t2 = C.JSString_methods.trim$0(multilineString); - t1 = "\n" + H.S(t1); - return H.stringReplaceAllUnchecked(t2, t1, "\n"); + _$SelectionsAdjustMainViewSerializer: function _$SelectionsAdjustMainViewSerializer() { }, - helix_change_offsets_middleware: function(store, action, next) { - var design, helix_idx, helix_has_domains, t1, min_offset_of_strand, max_offset_of_strand, t2, t3, t4, t5, t6, - _s29_ = "Cannot set minimum offset to ", - _s29_0 = "Cannot set maximum offset to ", - _s53_ = " because there is a strand on that helix with offset ", - _s62_ = ". Please choose a smaller minimum offset or delete the strand.", - _s61_ = ". Please choose a larger maximum offset or delete the strand."; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.HelixOffsetChange) { - design = store.get$state(store).design; - helix_idx = action.helix_idx; - helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(helix_idx)); - t1 = action.min_offset; - if (t1 != null && helix_has_domains) { - min_offset_of_strand = store.get$state(store).design.min_offset_of_strands_at$1(helix_idx); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > min_offset_of_strand) { - C.Window_methods.alert$1(window, _s29_ + t1 + " on helix " + H.S(helix_idx) + _s53_ + min_offset_of_strand + _s62_); - return; - } - } - t1 = action.max_offset; - if (t1 != null && helix_has_domains) { - max_offset_of_strand = store.get$state(store).design.max_offset_of_strands_at$1(helix_idx); - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 < max_offset_of_strand) { - C.Window_methods.alert$1(window, _s29_0 + t1 + " on helix " + H.S(helix_idx) + _s53_ + max_offset_of_strand + _s61_); - return; - } - } - } else if (action instanceof U.HelixOffsetChangeAll) { - design = store.get$state(store).design; - for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = action.max_offset, t3 = t2 != null, t4 = action.min_offset, t5 = t4 != null; t1.moveNext$0();) { - t6 = t1.get$current(t1); - helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(t6)); - if (t5 && helix_has_domains) { - min_offset_of_strand = store.get$state(store).design.min_offset_of_strands_at$1(t6); - if (typeof t4 !== "number") - return t4.$gt(); - if (t4 > min_offset_of_strand) { - C.Window_methods.alert$1(window, _s29_ + t4 + " on helix " + H.S(t6) + _s53_ + min_offset_of_strand + _s62_); - return; - } - } - if (t3 && helix_has_domains) { - max_offset_of_strand = store.get$state(store).design.max_offset_of_strands_at$1(t6); - if (typeof t2 !== "number") - return t2.$lt(); - if (t2 < max_offset_of_strand) { - C.Window_methods.alert$1(window, _s29_0 + t2 + " on helix " + H.S(t6) + _s53_ + max_offset_of_strand + _s61_); - return; - } - } - } - } - next.call$1(action); + _$SelectOrToggleItemsSerializer: function _$SelectOrToggleItemsSerializer() { }, - remove_dna_reducer: function(strands, action) { - var strand, t1, t2, t3, idx, t4, idxs, strand_idx, i, other_strand, strands_builder, _i; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_RemoveDNA._as(action); - strand = action.strand; - t1 = type$.JSArray_legacy_int; - if (action.remove_all) { - t1 = H.setRuntimeTypeInfo([], t1); - t2 = strands._list; - t3 = J.getInterceptor$asx(t2); - idx = 0; - while (true) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(idx < t4)) - break; - t1.push(idx); - ++idx; - } - idxs = t1; - } else { - strands.toString; - t2 = strands._list; - t3 = J.getInterceptor$asx(t2); - strand_idx = t3.indexOf$2(t2, strands.$ti._precomputed1._as(strand), 0); - idxs = H.setRuntimeTypeInfo([strand_idx], t1); - if (action.remove_complements) { - i = 0; - while (true) { - t1 = t3.get$length(t2); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - other_strand = t3.$index(t2, i); - if (i !== strand_idx && other_strand.overlaps$1(strand)) - C.JSArray_methods.add$1(idxs, i); - ++i; - } - } - } - t1 = H._instanceType(strands); - strands_builder = new Q.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); - for (t2 = idxs.length, t1 = t1._precomputed1, _i = 0; _i < idxs.length; idxs.length === t2 || (0, H.throwConcurrentModificationError)(idxs), ++_i) { - idx = idxs[_i]; - t3 = t1._as(J.$index$asx(strands_builder._copy_on_write_list$_list, idx).remove_dna_sequence$0()); - strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands_builder._copy_on_write_list$_list, idx, t3); - } - return D.BuiltList_BuiltList$of(strands_builder, type$.legacy_Strand); + _$SelectAllSerializer: function _$SelectAllSerializer() { }, - assign_dna_reducer_complement_from_bound_strands: function(strands, state, action) { - var t1, t2, all_strands, t3, t4, strand_to_assign, strand_to_assign_idx, t5, t6, strand_changed, t7, t8; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_AssignDNAComplementFromBoundStrands._as(action); - t1 = strands._list; - t2 = H._instanceType(strands); - all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - for (t3 = J.get$iterator$ax(action.strands._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { - strand_to_assign = t3.get$current(t3); - strand_to_assign_idx = t4.indexOf$2(t1, t2._as(strand_to_assign), 0); - t5 = state.design; - t6 = t5.__strands_overlapping; - if (t6 == null) { - t6 = N.Design.prototype.get$strands_overlapping.call(t5); - t5.set$__strands_overlapping(t6); - } - t6 = J.get$iterator$ax(J.$index$asx(t6._map$_map, strand_to_assign)._list); - strand_changed = false; - for (; t6.moveNext$0();) { - t7 = t6.get$current(t6); - t8 = t7.__dna_sequence; - if ((t8 == null ? t7.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t7) : t8) != null) { - strand_to_assign = strand_to_assign.set_dna_sequence$1(R.compute_dna_complement_from(t5, strand_to_assign, t7, false)); - strand_changed = true; - } - } - if (strand_changed) { - t2._as(strand_to_assign); - all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); - } - } - return D._BuiltList$of(all_strands, type$.legacy_Strand); + _$SelectAllSelectableSerializer: function _$SelectAllSelectableSerializer() { }, - assign_dna_reducer: function(strands, state, action) { - var strand, t1, t2, t3, strand_idx, t4, seq, t5, t6, sequence, strands_builder, strand_with_new_sequence, i, other_strand, new_dna; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_AssignDNA._as(action); - strand = action.strand; - strands.toString; - t1 = strands.$ti; - t2 = t1._precomputed1; - t3 = strands._list; - strand_idx = J.indexOf$2$asx(t3, t2._as(strand), 0); - if (strand.get$dna_sequence() != null) - strand = strand.remove_dna_sequence$0(); - t4 = action.dna_assign_options; - seq = t4.dna_sequence; - t5 = P.RegExp_RegExp("\\s+", true); - seq.toString; - seq = H.stringReplaceAllUnchecked(seq, t5, "").toUpperCase(); - t5 = strand.get$dna_length(); - t6 = seq.length; - if (t6 > t5) - sequence = C.JSString_methods.substring$2(seq, 0, t5); - else - sequence = t6 < t5 ? seq + C.JSString_methods.$mul("?", t5 - t6) : seq; - strands_builder = new Q.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); - strand_with_new_sequence = strand.set_dna_sequence$1(R.merge_sequences_if_necessary(strand, sequence)); - t2._as(strand_with_new_sequence); - strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands_builder._copy_on_write_list$_list, strand_idx, strand_with_new_sequence); - if (t4.assign_complements) { - t1 = t4.disable_change_sequence_bound_strand; - i = 0; - while (true) { - t3 = J.get$length$asx(strands_builder._copy_on_write_list$_list); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - c$0: { - other_strand = J.$index$asx(strands_builder._copy_on_write_list$_list, i); - if (strand.$eq(0, other_strand)) { - t3 = strand.__dna_sequence; - if (t3 == null) - t3 = strand.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(strand); - t3.toString; - t3 = !H.stringContainsUnchecked(t3, "?", 0); - } else - t3 = false; - if (t3) - break c$0; - if (other_strand.overlaps$1(strand)) { - new_dna = R.compute_dna_complement_from(state.design, other_strand, strand_with_new_sequence, t1); - t3 = other_strand.__dna_sequence; - if (new_dna !== (t3 == null ? other_strand.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(other_strand) : t3)) { - t3 = t2._as(other_strand.set_dna_sequence$1(new_dna)); - strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands_builder._copy_on_write_list$_list, i, t3); - } - } - } - ++i; - } - } - return D.BuiltList_BuiltList$of(strands_builder, type$.legacy_Strand); + _$SelectAllStrandsWithSameAsSelectedSerializer: function _$SelectAllStrandsWithSameAsSelectedSerializer() { }, - compare_overlap: function(o1, o2) { - var o1_start, o1_end, o2_start, o2_end, - t1 = type$.legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; - t1._as(o1); - t1._as(o2); - t1 = o1.item1; - o1_start = t1.item1; - o1_end = t1.item2; - t1 = o2.item1; - o2_start = t1.item1; - o2_end = t1.item2; - if (o1_start != o2_start) { - if (typeof o1_start !== "number") - return o1_start.$sub(); - if (typeof o2_start !== "number") - return H.iae(o2_start); - return o1_start - o2_start; - } else { - if (typeof o1_end !== "number") - return o1_end.$sub(); - if (typeof o2_end !== "number") - return H.iae(o2_end); - return o1_end - o2_end; - } + _$DeleteAllSelectedSerializer: function _$DeleteAllSelectedSerializer() { }, - compute_dna_complement_from: function(design, strand_to, strand_from, error_on_change) { - var new_dna_sequence, dom_to, dom_from, msg, t3, t4, t5, t6, t7, t8, t9, t10, ss_idx, t11, substrand_to, substrand_to_dna_sequence, unpaired_addresses, first_unpaired_address, helix_idx, domains_on_helix_from, overlaps, t12, t13, substrand_complement_builder, start_idx, _i, overlap, overlap_left, overlap_right, wildcards, overlap_complement, existing_substrand_to_dna_sequence, exception, _s1_ = "?", - t1 = strand_to.get$dna_sequence(), - t2 = type$.JSArray_legacy_String, - strand_complement_builder = H.setRuntimeTypeInfo([], t2); - if (t1 != null) - for (t1 = J.get$iterator$ax(strand_to.substrands._list); t1.moveNext$0();) - C.JSArray_methods.add$1(strand_complement_builder, t1.get$current(t1).get$dna_sequence()); - else - for (t1 = J.get$iterator$ax(strand_to.substrands._list); t1.moveNext$0();) - C.JSArray_methods.add$1(strand_complement_builder, C.JSString_methods.$mul(_s1_, t1.get$current(t1).dna_length$0())); - t1 = strand_to.substrands._list; - t3 = J.getInterceptor$asx(t1); - t4 = type$.legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; - t5 = type$.nullable_int_Function_2_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain_and_legacy_$1; - t6 = type$.Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; - t7 = type$.JSArray_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; - t8 = type$.JSArray_legacy_Domain; - t9 = type$.ReversedListIterable_legacy_String; - t10 = t9._eval$1("ListIterable.E"); - ss_idx = 0; - while (true) { - t11 = t3.get$length(t1); - if (typeof t11 !== "number") - return H.iae(t11); - if (!(ss_idx < t11)) - break; - substrand_to = t3.$index(t1, ss_idx); - if (substrand_to instanceof G.Loopout || substrand_to instanceof S.Extension) - substrand_to_dna_sequence = C.JSString_methods.$mul(_s1_, substrand_to.dna_length$0()); - else if (substrand_to instanceof G.Domain) { - unpaired_addresses = design.find_unpaired_insertion_deletions_on_domain$2(substrand_to, true); - if (unpaired_addresses.length !== 0) { - first_unpaired_address = C.JSArray_methods.get$first(unpaired_addresses); - throw H.wrapException(P.ArgumentError$("I cannot assign DNA complements when there is an unpaired deletion or insertion, but I found one at this address:\nhelix idx=" + H.S(first_unpaired_address.helix_idx) + ", offset=" + H.S(first_unpaired_address.offset) + "\nTo view all of them in the design, go to View-->Show unpaired deletions/insertions.")); - } - helix_idx = substrand_to.helix; - t11 = strand_from.__domains_on_helix; - if (t11 == null) { - t11 = E.Strand.prototype.get$domains_on_helix.call(strand_from); - strand_from.set$__domains_on_helix(t11); - } - t11 = J.$index$asx(t11._map$_map, helix_idx); - domains_on_helix_from = t11 == null ? null : new Q.CopyOnWriteList(true, t11._list, H.instanceType(t11)._eval$1("CopyOnWriteList<1>")); - if (domains_on_helix_from == null) - domains_on_helix_from = H.setRuntimeTypeInfo([], t8); - overlaps = H.setRuntimeTypeInfo([], t7); - for (t11 = J.get$iterator$ax(domains_on_helix_from), t12 = substrand_to.forward; t11.moveNext$0();) { - t13 = t11.get$current(t11); - if (!substrand_to.$eq(0, t13) && helix_idx === t13.helix && t12 === !t13.forward && substrand_to.compute_overlap$1(t13) != null) - C.JSArray_methods.add$1(overlaps, new S.Tuple2(substrand_to.compute_overlap$1(t13), t13, t6)); - } - t5._as(R.assign_or_remove_dna_reducer__compare_overlap$closure()); - if (!!overlaps.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t11 = overlaps.length - 1; - if (t11 - 0 <= 32) - H.Sort__insertionSort(overlaps, 0, t11, R.assign_or_remove_dna_reducer__compare_overlap$closure(), t4); - else - H.Sort__dualPivotQuicksort(overlaps, 0, t11, R.assign_or_remove_dna_reducer__compare_overlap$closure(), t4); - substrand_complement_builder = H.setRuntimeTypeInfo([], t2); - start_idx = substrand_to.start; - for (t11 = overlaps.length, _i = 0; _i < overlaps.length; overlaps.length === t11 || (0, H.throwConcurrentModificationError)(overlaps), ++_i, start_idx = overlap_right) { - overlap = overlaps[_i]; - t13 = overlap.item1; - overlap_left = t13.item1; - overlap_right = t13.item2; - if (typeof overlap_left !== "number") - return overlap_left.$sub(); - wildcards = C.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, overlap_left - 1)); - if (typeof overlap_right !== "number") - return overlap_right.$sub(); - overlap_complement = E.wc(overlap.item2.dna_sequence_in$2(overlap_left, overlap_right - 1)); - C.JSArray_methods.add$1(substrand_complement_builder, wildcards); - C.JSArray_methods.add$1(substrand_complement_builder, overlap_complement); - } - C.JSArray_methods.add$1(substrand_complement_builder, C.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, substrand_to.end - 1))); - substrand_to_dna_sequence = C.JSArray_methods.join$1(!t12 ? P.List_List$of(new H.ReversedListIterable(substrand_complement_builder, t9), true, t10) : substrand_complement_builder, ""); - } else - substrand_to_dna_sequence = null; - if (ss_idx >= strand_complement_builder.length) - return H.ioore(strand_complement_builder, ss_idx); - existing_substrand_to_dna_sequence = strand_complement_builder[ss_idx]; - C.JSArray_methods.$indexSet(strand_complement_builder, ss_idx, (error_on_change ? E.util__merge_wildcards$closure() : E.util__merge_wildcards_favor_first$closure()).call$3(substrand_to_dna_sequence, existing_substrand_to_dna_sequence, _s1_)); - ++ss_idx; - } - new_dna_sequence = C.JSArray_methods.join$1(strand_complement_builder, ""); - if (strand_to.get$dna_sequence() != null) - if (!error_on_change) - new_dna_sequence = E.merge_wildcards_favor_first(new_dna_sequence, strand_to.get$dna_sequence(), _s1_); - else - try { - new_dna_sequence = E.merge_wildcards(strand_to.get$dna_sequence(), new_dna_sequence, _s1_); - } catch (exception) { - if (H.unwrapException(exception) instanceof P.ArgumentError) { - dom_to = strand_to.get$first_domain(); - dom_from = strand_from.get$first_domain(); - msg = "strand starting at helix " + dom_to.helix + ", offset " + dom_to.get$offset_5p() + " has length " + strand_to.get$dna_length() + " and already has a partial DNA sequence assignment of length " + strand_to.get$dna_sequence().length + ", which is \n" + H.S(strand_to.get$dna_sequence()) + ", but you tried to assign sequence of length " + J.get$length$asx(new_dna_sequence) + " to it, which is\n" + H.S(new_dna_sequence) + " (this assignment was indirect, since you assigned directly to a strand bound to this one). This occurred while directly assigning a DNA sequence to the strand whose 5' end is at helix " + dom_from.helix + ", and is of length " + strand_from.get$dna_length() + "."; - throw H.wrapException(N.IllegalDesignError$(msg)); - } else - throw exception; - } - return new_dna_sequence; + _$HelixAddSerializer: function _$HelixAddSerializer() { }, - merge_sequences_if_necessary: function(strand, seq) { - var first_ss, msg, exception; - seq = seq; - if (strand.get$dna_sequence() != null) - try { - seq = E.merge_wildcards(seq, strand.get$dna_sequence(), "?"); - } catch (exception) { - if (H.unwrapException(exception) instanceof P.ArgumentError) { - first_ss = strand.get$first_domain(); - msg = "strand starting at helix " + first_ss.helix + ", offset " + first_ss.get$offset_5p() + " has length " + strand.get$dna_length() + " and already has a DNA sequence assignment of length " + strand.get$dna_sequence().length + ", which is \n" + H.S(strand.get$dna_sequence()) + ", but you tried to assign a different sequence of length " + J.get$length$asx(seq) + " to it, which is\n{" + H.S(seq) + "}."; - throw H.wrapException(N.IllegalDesignError$(msg)); - } else - throw exception; - } - return seq; - } - }, - T = { - InputStream$: function(data, byteOrder, $length, start) { - var t1, t2; - if (type$.TypedData._is(data)) { - t1 = J.getInterceptor$x(data); - t1 = J.asUint8List$2$x(t1.get$buffer(data), t1.get$offsetInBytes(data), t1.get$lengthInBytes(data)); - } else - t1 = type$.List_int._is(data) ? data : P.List_List$from(type$.Iterable_dynamic._as(data), true, type$.int); - t2 = new T.InputStream(t1, start, start, byteOrder, $); - t2.__InputStream__length = $length == null ? J.get$length$asx(t1) : $length; - return t2; + _$HelixRemoveSerializer: function _$HelixRemoveSerializer() { }, - InputStreamBase: function InputStreamBase() { + _$HelixRemoveAllSelectedSerializer: function _$HelixRemoveAllSelectedSerializer() { }, - InputStream: function InputStream(t0, t1, t2, t3, t4) { - var _ = this; - _.buffer = t0; - _.offset = t1; - _.start = t2; - _.byteOrder = t3; - _.__InputStream__length = t4; + _$HelixSelectSerializer: function _$HelixSelectSerializer() { }, - Deflate__smaller: function(tree, n, m, depth) { - var t3, - t1 = n * 2, - t2 = tree.length; - if (t1 < 0 || t1 >= t2) - return H.ioore(tree, t1); - t1 = tree[t1]; - t3 = m * 2; - if (t3 < 0 || t3 >= t2) - return H.ioore(tree, t3); - t3 = tree[t3]; - if (t1 >= t3) - if (t1 === t3) { - if (n < 0 || n >= 573) - return H.ioore(depth, n); - t1 = depth[n]; - if (m < 0 || m >= 573) - return H.ioore(depth, m); - t1 = t1 <= depth[m]; - } else - t1 = false; - else - t1 = true; - return t1; + _$HelixSelectionsClearSerializer: function _$HelixSelectionsClearSerializer() { }, - _HuffmanTree__genCodes: function(tree, maxCode, blCount) { - var code, bits, t1, n, t2, t3, len, - nextCode = new Uint16Array(16); - for (code = 0, bits = 1; bits <= 15; ++bits) { - code = code + blCount[bits - 1] << 1 >>> 0; - if (bits >= 16) - return H.ioore(nextCode, bits); - nextCode[bits] = code; - } - for (t1 = tree.length, n = 0; n <= maxCode; ++n) { - t2 = n * 2; - t3 = t2 + 1; - if (t3 >= t1) - return H.ioore(tree, t3); - len = tree[t3]; - if (len === 0) - continue; - if (len >= 16) - return H.ioore(nextCode, len); - t3 = nextCode[len]; - if (len >= 16) - return H.ioore(nextCode, len); - nextCode[len] = t3 + 1; - t3 = T._HuffmanTree__reverseBits(t3, len); - if (t2 >= t1) - return H.ioore(tree, t2); - tree[t2] = t3; - } + _$HelixSelectionsAdjustSerializer: function _$HelixSelectionsAdjustSerializer() { }, - _HuffmanTree__reverseBits: function(code, len) { - var code0, res = 0; - do { - code0 = T._rshift(code, 1); - res = (res | code & 1) << 1 >>> 0; - if (--len, len > 0) { - code = code0; - continue; - } else - break; - } while (true); - return T._rshift(res, 1); + _$HelixMajorTickDistanceChangeSerializer: function _$HelixMajorTickDistanceChangeSerializer() { }, - _HuffmanTree__dCode: function(dist) { - var t1; - if (dist < 256) { - if (dist < 0) - return H.ioore(C.List_AyI, dist); - t1 = C.List_AyI[dist]; - } else { - t1 = 256 + T._rshift(dist, 7); - if (t1 >= 512) - return H.ioore(C.List_AyI, t1); - t1 = C.List_AyI[t1]; - } - return t1; + _$HelixMajorTickDistanceChangeAllSerializer: function _$HelixMajorTickDistanceChangeAllSerializer() { }, - _StaticTree$: function(staticTree, extraBits, extraBase, numElements, maxLength) { - return new T._StaticTree(staticTree, extraBits, extraBase, numElements, maxLength); + _$HelixMajorTickStartChangeSerializer: function _$HelixMajorTickStartChangeSerializer() { }, - _rshift: function(number, bits) { - if (typeof number !== "number") - return number.$ge(); - if (number >= 0) - return C.JSInt_methods.$shr(number, bits); - else - return C.JSInt_methods.$shr(number, bits) + C.JSInt_methods._shlPositive$1(2, (~bits >>> 0) + 65536 & 65535); + _$HelixMajorTickStartChangeAllSerializer: function _$HelixMajorTickStartChangeAllSerializer() { }, - Deflate: function Deflate(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.total = _.crc32 = 0; - _._deflate$_input = t0; - _._deflate$_output = t1; - _._status = null; - _.__Deflate__pending = _.__Deflate__pendingOut = _.__Deflate__pendingBufferSize = _.__Deflate__pendingBuffer = $; - _._dataType = 2; - _.__Deflate__strStart = _.__Deflate__matchAvailable = _.__Deflate__prevMatch = _.__Deflate__matchLength = _.__Deflate__blockStart = _.__Deflate__hashShift = _.__Deflate__hashMask = _.__Deflate__hashBits = _.__Deflate__hashSize = _.__Deflate__insertHash = _.__Deflate__head = _.__Deflate__prev = _.__Deflate__actualWindowSize = _.__Deflate__window = _.__Deflate__windowMask = _.__Deflate__windowBits = _.__Deflate__windowSize = $; - _._matchStart = 0; - _.__Deflate__bitLengthTree = _.__Deflate__dynamicDistTree = _.__Deflate__dynamicLengthTree = _.__Deflate__strategy = _.__Deflate__level = _.__Deflate__prevLength = _.__Deflate__lookAhead = $; - _._lDesc = t2; - _._dDesc = t3; - _._blDesc = t4; - _._bitLengthCount = t5; - _._heap = t6; - _.__Deflate__heapMax = _.__Deflate__heapLen = $; - _._depth = t7; - _.__Deflate__numValidBits = _.__Deflate__bitBuffer = _.__Deflate__lastEOBLen = _.__Deflate__matches = _.__Deflate__staticLen = _.__Deflate__optimalLen = _.__Deflate__dbuf = _.__Deflate__lastLit = _.__Deflate__litBufferSize = _.__Deflate__lbuf = $; + _$HelixMajorTicksChangeSerializer: function _$HelixMajorTicksChangeSerializer() { }, - _DeflaterConfig: function _DeflaterConfig(t0, t1, t2, t3, t4) { - var _ = this; - _.goodLength = t0; - _.maxLazy = t1; - _.niceLength = t2; - _.maxChain = t3; - _.$function = t4; + _$HelixMajorTicksChangeAllSerializer: function _$HelixMajorTicksChangeAllSerializer() { }, - _HuffmanTree: function _HuffmanTree() { - this.___HuffmanTree_staticDesc = this.___HuffmanTree_maxCode = this.___HuffmanTree_dynamicTree = $; + _$HelixMajorTickPeriodicDistancesChangeSerializer: function _$HelixMajorTickPeriodicDistancesChangeSerializer() { }, - _StaticTree: function _StaticTree(t0, t1, t2, t3, t4) { - var _ = this; - _.staticTree = t0; - _.extraBits = t1; - _.extraBase = t2; - _.numElements = t3; - _.maxLength = t4; + _$HelixMajorTickPeriodicDistancesChangeAllSerializer: function _$HelixMajorTickPeriodicDistancesChangeAllSerializer() { }, - Int32Serializer: function Int32Serializer(t0) { - this.types = t0; + _$HelixIdxsChangeSerializer: function _$HelixIdxsChangeSerializer() { }, - StandardJsonPlugin: function StandardJsonPlugin() { + _$HelixOffsetChangeSerializer: function _$HelixOffsetChangeSerializer() { }, - StandardJsonPlugin__toList_closure: function StandardJsonPlugin__toList_closure() { + _$HelixMinOffsetSetByDomainsSerializer: function _$HelixMinOffsetSetByDomainsSerializer() { }, - StandardJsonPlugin__toList_closure0: function StandardJsonPlugin__toList_closure0(t0, t1, t2, t3, t4) { - var _ = this; - _._box_0 = t0; - _.$this = t1; - _.keepNulls = t2; - _.result = t3; - _.hasEncodedKeys = t4; + _$HelixMaxOffsetSetByDomainsSerializer: function _$HelixMaxOffsetSetByDomainsSerializer() { }, - StandardJsonPlugin__toListUsingDiscriminator_closure: function StandardJsonPlugin__toListUsingDiscriminator_closure() { + _$HelixMinOffsetSetByDomainsAllSerializer: function _$HelixMinOffsetSetByDomainsAllSerializer() { }, - StandardJsonPlugin__toListUsingDiscriminator_closure0: function StandardJsonPlugin__toListUsingDiscriminator_closure0(t0, t1, t2, t3) { - var _ = this; - _._box_0 = t0; - _.$this = t1; - _.result = t2; - _.needToDecodeKeys = t3; + _$HelixMaxOffsetSetByDomainsAllSerializer: function _$HelixMaxOffsetSetByDomainsAllSerializer() { }, - BaseResponse: function BaseResponse() { + _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer: function _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer() { }, - CastParser: function CastParser(t0, t1) { - this.delegate = t0; - this.$ti = t1; + _$HelixOffsetChangeAllSerializer: function _$HelixOffsetChangeAllSerializer() { }, - BaseDigest: function BaseDigest() { + _$ShowMouseoverRectSetSerializer: function _$ShowMouseoverRectSetSerializer() { }, - save_file_middleware: function(store, action, next) { - var state; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - state = store.get$state(store); - if (action instanceof U.SaveDNAFile) - T._save_file(state); - else if (type$.legacy_UndoableAction._is(action)) - T.change_tab_title(true); - else if (action instanceof U.Undo || action instanceof U.Redo) - T.change_tab_title(J.get$isNotEmpty$asx(state.undo_redo.undo_stack._list)); - }, - _save_file: function(state) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $content; - var $async$_save_file = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $content = K.json_encode(state.design, true); - E.save_file(state.ui_state.storables.loaded_filename, $content, new T._save_file_closure(), C.BlobType_0); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$_save_file, $async$completer); + _$ShowMouseoverRectToggleSerializer: function _$ShowMouseoverRectToggleSerializer() { }, - change_tab_title: function(changed_since_last_save) { - var t1; - if (changed_since_last_save && !J.startsWith$1$s(document.title, "*")) { - t1 = document; - t1.title = C.JSString_methods.$add("*", t1.title); - } else if (!changed_since_last_save && J.startsWith$1$s(document.title, "*")) { - t1 = document; - t1.title = J.substring$1$s(t1.title, 1); - } + _$ExportDNASerializer: function _$ExportDNASerializer() { }, - _save_file_closure: function _save_file_closure() { + _$ExportSvgSerializer: function _$ExportSvgSerializer() { }, - AppState__initializeBuilder: function(b) { - var t1, t2; - b.get$_app_state$_$this()._design = null; - t1 = b.get$ui_state(); - t2 = $.$get$DEFAULT_AppUIState(); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._app_ui_state$_$v = t2; - b.get$_app_state$_$this()._error_message = string$.x3cp_sca; - b.get$_app_state$_$this()._editor_content = ""; - t1 = $.$get$DEFAULT_UndoRedoBuilder(); - b.get$_app_state$_$this()._undo_redo = t1; + _$ExportSvgTextSeparatelySetSerializer: function _$ExportSvgTextSeparatelySetSerializer() { }, - AppStateBuilder$: function() { - var t2, t3, - t1 = new T.AppStateBuilder(); - t1.get$_app_state$_$this()._design = null; - t2 = t1.get$ui_state(); - t3 = $.$get$DEFAULT_AppUIState(); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._app_ui_state$_$v = t3; - t1.get$_app_state$_$this()._error_message = string$.x3cp_sca; - t1.get$_app_state$_$this()._editor_content = ""; - t2 = $.$get$DEFAULT_UndoRedoBuilder(); - t1.get$_app_state$_$this()._undo_redo = t2; - return t1; + _$ExtensionDisplayLengthAngleSetSerializer: function _$ExtensionDisplayLengthAngleSetSerializer() { }, - AppState: function AppState() { + _$ExtensionAddSerializer: function _$ExtensionAddSerializer() { }, - _$AppState: function _$AppState(t0, t1, t2, t3, t4) { - var _ = this; - _.design = t0; - _.ui_state = t1; - _.undo_redo = t2; - _.error_message = t3; - _.editor_content = t4; - _._app_state$__hashCode = _.__has_error = _.__helix_idx_to_svg_position_map = null; + _$ExtensionNumBasesChangeSerializer: function _$ExtensionNumBasesChangeSerializer() { }, - AppStateBuilder: function AppStateBuilder() { - var _ = this; - _._editor_content = _._error_message = _._undo_redo = _._ui_state = _._design = _._app_state$_$v = null; + _$ExtensionsNumBasesChangeSerializer: function _$ExtensionsNumBasesChangeSerializer() { }, - BrowserClipboard: function BrowserClipboard() { + _$LoopoutLengthChangeSerializer: function _$LoopoutLengthChangeSerializer() { }, - Crossover_Crossover: function(prev_domain_idx, next_domain_idx, strand_id, is_scaffold) { - var t1 = new T.CrossoverBuilder(); - type$.legacy_void_Function_legacy_CrossoverBuilder._as(new T.Crossover_Crossover_closure(prev_domain_idx, next_domain_idx, strand_id, is_scaffold)).call$1(t1); - return t1.build$0(); + _$LoopoutsLengthChangeSerializer: function _$LoopoutsLengthChangeSerializer() { }, - Crossover: function Crossover() { + _$ConvertCrossoverToLoopoutSerializer: function _$ConvertCrossoverToLoopoutSerializer() { }, - Crossover_Crossover_closure: function Crossover_Crossover_closure(t0, t1, t2, t3) { - var _ = this; - _.prev_domain_idx = t0; - _.next_domain_idx = t1; - _.strand_id = t2; - _.is_scaffold = t3; + _$ConvertCrossoversToLoopoutsSerializer: function _$ConvertCrossoversToLoopoutsSerializer() { }, - _$CrossoverSerializer: function _$CrossoverSerializer() { + _$NickSerializer: function _$NickSerializer() { }, - _$Crossover: function _$Crossover(t0, t1, t2, t3) { - var _ = this; - _.prev_domain_idx = t0; - _.next_domain_idx = t1; - _.is_scaffold = t2; - _.strand_id = t3; - _._crossover$__hashCode = _._crossover$__id = _._crossover$__select_mode = null; + _$LigateSerializer: function _$LigateSerializer() { }, - CrossoverBuilder: function CrossoverBuilder() { - var _ = this; - _._crossover$_strand_id = _._crossover$_is_scaffold = _._next_domain_idx = _._crossover$_prev_domain_idx = _._crossover$_$v = null; + _$JoinStrandsByCrossoverSerializer: function _$JoinStrandsByCrossoverSerializer() { }, - _Crossover_Object_SelectableMixin: function _Crossover_Object_SelectableMixin() { + _$MoveLinkerSerializer: function _$MoveLinkerSerializer() { }, - _Crossover_Object_SelectableMixin_BuiltJsonSerializable: function _Crossover_Object_SelectableMixin_BuiltJsonSerializable() { + _$JoinStrandsByMultipleCrossoversSerializer: function _$JoinStrandsByMultipleCrossoversSerializer() { }, - UndoRedo_UndoRedo: function() { - var t1 = new T.UndoRedoBuilder(), - t2 = type$.legacy_UndoRedoItem, - t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem, - t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_undo_stack(t4); - t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_redo_stack(t2); - type$.legacy_void_Function_legacy_UndoRedoBuilder._as(new T.UndoRedo_UndoRedo_closure()).call$1(t1); - return t1.build$0(); + _$StrandsReflectSerializer: function _$StrandsReflectSerializer() { }, - UndoRedoItem_UndoRedoItem: function(short_description, design) { - var t1 = new T.UndoRedoItemBuilder(); - type$.legacy_void_Function_legacy_UndoRedoItemBuilder._as(new T.UndoRedoItem_UndoRedoItem_closure(short_description, design)).call$1(t1); - return t1.build$0(); + _$ReplaceStrandsSerializer: function _$ReplaceStrandsSerializer() { }, - UndoRedoBuilder$: function() { - var t1 = new T.UndoRedoBuilder(), - t2 = type$.legacy_UndoRedoItem, - t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem, - t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_undo_stack(t4); - t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_redo_stack(t2); - return t1; + _$StrandCreateStartSerializer: function _$StrandCreateStartSerializer() { }, - UndoRedo: function UndoRedo() { + _$StrandCreateAdjustOffsetSerializer: function _$StrandCreateAdjustOffsetSerializer() { }, - UndoRedo_UndoRedo_closure: function UndoRedo_UndoRedo_closure() { + _$StrandCreateStopSerializer: function _$StrandCreateStopSerializer() { }, - UndoRedoItem: function UndoRedoItem() { + _$StrandCreateCommitSerializer: function _$StrandCreateCommitSerializer() { }, - UndoRedoItem_UndoRedoItem_closure: function UndoRedoItem_UndoRedoItem_closure(t0, t1) { - this.short_description = t0; - this.design = t1; + _$PotentialCrossoverCreateSerializer: function _$PotentialCrossoverCreateSerializer() { }, - _$UndoRedoItemSerializer: function _$UndoRedoItemSerializer() { + _$PotentialCrossoverMoveSerializer: function _$PotentialCrossoverMoveSerializer() { }, - _$UndoRedo: function _$UndoRedo(t0, t1) { - this.undo_stack = t0; - this.redo_stack = t1; - this._undo_redo$__hashCode = null; + _$PotentialCrossoverRemoveSerializer: function _$PotentialCrossoverRemoveSerializer() { }, - UndoRedoBuilder: function UndoRedoBuilder() { - this._redo_stack = this._undo_stack = this._undo_redo$_$v = null; + _$ManualPasteInitiateSerializer: function _$ManualPasteInitiateSerializer() { }, - _$UndoRedoItem: function _$UndoRedoItem(t0, t1) { - this.short_description = t0; - this.design = t1; - this._undo_redo$__hashCode = null; + _$AutoPasteInitiateSerializer: function _$AutoPasteInitiateSerializer() { }, - UndoRedoItemBuilder: function UndoRedoItemBuilder() { - this._undo_redo$_design = this._short_description = this._undo_redo$_$v = null; + _$CopySelectedStrandsSerializer: function _$CopySelectedStrandsSerializer() { }, - _UndoRedo_Object_BuiltJsonSerializable: function _UndoRedo_Object_BuiltJsonSerializable() { + _$StrandsMoveStartSerializer: function _$StrandsMoveStartSerializer() { }, - _UndoRedoItem_Object_BuiltJsonSerializable: function _UndoRedoItem_Object_BuiltJsonSerializable() { + _$StrandsMoveStartSelectedStrandsSerializer: function _$StrandsMoveStartSelectedStrandsSerializer() { }, - VendorFields_VendorFields: function(plate, purification, scale, well) { - var t1 = new T.VendorFieldsBuilder(); - type$.legacy_void_Function_legacy_VendorFieldsBuilder._as(new T.VendorFields_VendorFields_closure(scale, purification, plate, well)).call$1(t1); - return t1.build$0(); + _$StrandsMoveStopSerializer: function _$StrandsMoveStopSerializer() { }, - VendorFields_from_json: function(json_map) { - var unused_fields, t2, t3, - _s12_ = "VendorFields", - scale = E.mandatory_field(json_map, "scale", _s12_, C.List_empty0), - purification = E.mandatory_field(json_map, "purification", _s12_, C.List_empty0), - t1 = J.getInterceptor$x(json_map), - plate = t1.containsKey$1(json_map, "plate") ? t1.$index(json_map, "plate") : null, - well = t1.containsKey$1(json_map, "well") ? t1.$index(json_map, "well") : null; - t1 = plate == null; - if (t1 && well != null) - throw H.wrapException(N.IllegalDesignError$("cannot set VendorFields.well to " + H.S(well) + " when plate is null\nthis occurred when reading VendorFields entry:\n" + H.S(json_map))); - if (!t1 && well == null) - throw H.wrapException(N.IllegalDesignError$("cannot set VendorFields.plate to " + H.S(plate) + " when well is null\nthis occurred when reading VendorFields entry:\n" + H.S(json_map))); - unused_fields = E.unused_fields_map(json_map, C.List_sEI); - H._asStringS(scale); - H._asStringS(purification); - t1 = T.VendorFields_VendorFields(H._asStringS(plate), purification, scale, H._asStringS(well)); - t1.toString; - t2 = type$.legacy_void_Function_legacy_VendorFieldsBuilder._as(new T.VendorFields_from_json_closure(unused_fields)); - t3 = new T.VendorFieldsBuilder(); - t3._vendor_fields$_$v = t1; - t2.call$1(t3); - return t3.build$0(); + _$StrandsMoveAdjustAddressSerializer: function _$StrandsMoveAdjustAddressSerializer() { }, - VendorFields: function VendorFields() { + _$StrandsMoveCommitSerializer: function _$StrandsMoveCommitSerializer() { }, - VendorFields_VendorFields_closure: function VendorFields_VendorFields_closure(t0, t1, t2, t3) { - var _ = this; - _.scale = t0; - _.purification = t1; - _.plate = t2; - _.well = t3; + _$DomainsMoveStartSelectedDomainsSerializer: function _$DomainsMoveStartSelectedDomainsSerializer() { }, - VendorFields_from_json_closure: function VendorFields_from_json_closure(t0) { - this.unused_fields = t0; + _$DomainsMoveStopSerializer: function _$DomainsMoveStopSerializer() { }, - _$VendorFieldsSerializer: function _$VendorFieldsSerializer() { + _$DomainsMoveAdjustAddressSerializer: function _$DomainsMoveAdjustAddressSerializer() { }, - _$VendorFields: function _$VendorFields(t0, t1, t2, t3, t4) { - var _ = this; - _.scale = t0; - _.purification = t1; - _.plate = t2; - _.well = t3; - _.unused_fields = t4; - _._vendor_fields$__hashCode = null; + _$DomainsMoveCommitSerializer: function _$DomainsMoveCommitSerializer() { }, - VendorFieldsBuilder: function VendorFieldsBuilder() { - var _ = this; - _._vendor_fields$_unused_fields = _._well = _._plate = _._purification = _._scale = _._vendor_fields$_$v = null; + _$DNAEndsMoveStartSerializer: function _$DNAEndsMoveStartSerializer() { }, - _VendorFields_Object_BuiltJsonSerializable: function _VendorFields_Object_BuiltJsonSerializable() { + _$DNAEndsMoveSetSelectedEndsSerializer: function _$DNAEndsMoveSetSelectedEndsSerializer() { }, - _VendorFields_Object_BuiltJsonSerializable_UnusedFields: function _VendorFields_Object_BuiltJsonSerializable_UnusedFields() { + _$DNAEndsMoveAdjustOffsetSerializer: function _$DNAEndsMoveAdjustOffsetSerializer() { }, - _$DesignMainDomainMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? T._$$DesignMainDomainMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps(backingProps); + _$DNAEndsMoveStopSerializer: function _$DNAEndsMoveStopSerializer() { }, - _$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return T._$$DesignMainDomainMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new T._$$DesignMainDomainMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domain_moving$_props = backingMap; - return t1; - } + _$DNAEndsMoveCommitSerializer: function _$DNAEndsMoveCommitSerializer() { }, - _$$DesignMainDomainMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new T._$$DesignMainDomainMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domain_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$DNAExtensionsMoveStartSerializer: function _$DNAExtensionsMoveStartSerializer() { }, - DesignMainDomainMovingPropsMixin: function DesignMainDomainMovingPropsMixin() { + _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer: function _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer() { }, - DesignMainDomainMovingComponent: function DesignMainDomainMovingComponent() { + _$DNAExtensionsMoveAdjustPositionSerializer: function _$DNAExtensionsMoveAdjustPositionSerializer() { }, - $DesignMainDomainMovingComponentFactory_closure: function $DesignMainDomainMovingComponentFactory_closure() { + _$DNAExtensionsMoveStopSerializer: function _$DNAExtensionsMoveStopSerializer() { }, - _$$DesignMainDomainMovingProps: function _$$DesignMainDomainMovingProps() { + _$DNAExtensionsMoveCommitSerializer: function _$DNAExtensionsMoveCommitSerializer() { }, - _$$DesignMainDomainMovingProps$PlainMap: function _$$DesignMainDomainMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_domain_moving$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDomainMovingPropsMixin_domain_moved = t4; - _.DesignMainDomainMovingPropsMixin_color = t5; - _.DesignMainDomainMovingPropsMixin_original_group = t6; - _.DesignMainDomainMovingPropsMixin_current_group = t7; - _.DesignMainDomainMovingPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainDomainMovingPropsMixin_delta_view_order = t9; - _.DesignMainDomainMovingPropsMixin_delta_offset = t10; - _.DesignMainDomainMovingPropsMixin_delta_forward = t11; - _.DesignMainDomainMovingPropsMixin_allowable = t12; - _.DesignMainDomainMovingPropsMixin_helices = t13; - _.DesignMainDomainMovingPropsMixin_groups = t14; - _.DesignMainDomainMovingPropsMixin_geometry = t15; - _.DesignMainDomainMovingPropsMixin_domain_helix_svg_position_y = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + _$HelixGroupMoveStartSerializer: function _$HelixGroupMoveStartSerializer() { }, - _$$DesignMainDomainMovingProps$JsMap: function _$$DesignMainDomainMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_domain_moving$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDomainMovingPropsMixin_domain_moved = t4; - _.DesignMainDomainMovingPropsMixin_color = t5; - _.DesignMainDomainMovingPropsMixin_original_group = t6; - _.DesignMainDomainMovingPropsMixin_current_group = t7; - _.DesignMainDomainMovingPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainDomainMovingPropsMixin_delta_view_order = t9; - _.DesignMainDomainMovingPropsMixin_delta_offset = t10; - _.DesignMainDomainMovingPropsMixin_delta_forward = t11; - _.DesignMainDomainMovingPropsMixin_allowable = t12; - _.DesignMainDomainMovingPropsMixin_helices = t13; - _.DesignMainDomainMovingPropsMixin_groups = t14; - _.DesignMainDomainMovingPropsMixin_geometry = t15; - _.DesignMainDomainMovingPropsMixin_domain_helix_svg_position_y = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + _$HelixGroupMoveCreateSerializer: function _$HelixGroupMoveCreateSerializer() { }, - _$DesignMainDomainMovingComponent: function _$DesignMainDomainMovingComponent(t0) { - var _ = this; - _._design_main_domain_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$HelixGroupMoveAdjustTranslationSerializer: function _$HelixGroupMoveAdjustTranslationSerializer() { }, - $DesignMainDomainMovingPropsMixin: function $DesignMainDomainMovingPropsMixin() { + _$HelixGroupMoveStopSerializer: function _$HelixGroupMoveStopSerializer() { }, - _DesignMainDomainMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainMovingComponent_UiComponent2_PureComponent() { + _$HelixGroupMoveCommitSerializer: function _$HelixGroupMoveCommitSerializer() { }, - _DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _$AssignDNASerializer: function _$AssignDNASerializer() { }, - __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin() { + _$AssignDNAComplementFromBoundStrandsSerializer: function _$AssignDNAComplementFromBoundStrandsSerializer() { }, - __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin() { + _$AssignDomainNameComplementFromBoundStrandsSerializer: function _$AssignDomainNameComplementFromBoundStrandsSerializer() { }, - __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin() { + _$AssignDomainNameComplementFromBoundDomainsSerializer: function _$AssignDomainNameComplementFromBoundDomainsSerializer() { }, - __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$RemoveDNASerializer: function _$RemoveDNASerializer() { }, - _$DesignMainHelix: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? T._$$DesignMainHelixProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainHelixProps__$$DesignMainHelixProps(backingProps); + _$InsertionAddSerializer: function _$InsertionAddSerializer() { }, - _$$DesignMainHelixProps__$$DesignMainHelixProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return T._$$DesignMainHelixProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new T._$$DesignMainHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_helix$_props = backingMap; - return t1; - } + _$InsertionLengthChangeSerializer: function _$InsertionLengthChangeSerializer() { }, - _$$DesignMainHelixProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new T._$$DesignMainHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$InsertionsLengthChangeSerializer: function _$InsertionsLengthChangeSerializer() { }, - DesignMainHelixProps: function DesignMainHelixProps() { + _$DeletionAddSerializer: function _$DeletionAddSerializer() { }, - DesignMainHelixComponent: function DesignMainHelixComponent() { + _$InsertionRemoveSerializer: function _$InsertionRemoveSerializer() { }, - DesignMainHelixComponent_render_closure: function DesignMainHelixComponent_render_closure(t0) { - this.$this = t0; + _$DeletionRemoveSerializer: function _$DeletionRemoveSerializer() { }, - DesignMainHelixComponent_render_closure0: function DesignMainHelixComponent_render_closure0(t0) { - this.$this = t0; + _$ScalePurificationVendorFieldsAssignSerializer: function _$ScalePurificationVendorFieldsAssignSerializer() { }, - DesignMainHelixComponent_render_closure1: function DesignMainHelixComponent_render_closure1(t0, t1) { - this.$this = t0; - this.geometry = t1; + _$PlateWellVendorFieldsAssignSerializer: function _$PlateWellVendorFieldsAssignSerializer() { }, - DesignMainHelixComponent_render_closure2: function DesignMainHelixComponent_render_closure2() { + _$PlateWellVendorFieldsRemoveSerializer: function _$PlateWellVendorFieldsRemoveSerializer() { }, - DesignMainHelixComponent_render_closure3: function DesignMainHelixComponent_render_closure3(t0) { - this.$this = t0; + _$VendorFieldsRemoveSerializer: function _$VendorFieldsRemoveSerializer() { }, - DesignMainHelixComponent_render_closure4: function DesignMainHelixComponent_render_closure4(t0) { - this.$this = t0; + _$ModificationAddSerializer: function _$ModificationAddSerializer() { }, - $DesignMainHelixComponentFactory_closure: function $DesignMainHelixComponentFactory_closure() { + _$ModificationRemoveSerializer: function _$ModificationRemoveSerializer() { }, - _$$DesignMainHelixProps: function _$$DesignMainHelixProps() { + _$ModificationConnectorLengthSetSerializer: function _$ModificationConnectorLengthSetSerializer() { }, - _$$DesignMainHelixProps$PlainMap: function _$$DesignMainHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { - var _ = this; - _._design_main_helix$_props = t0; - _.DesignMainHelixProps_helix = t1; - _.DesignMainHelixProps_selected = t2; - _.DesignMainHelixProps_view_order = t3; - _.DesignMainHelixProps_strand_create_enabled = t4; - _.DesignMainHelixProps_major_tick_offset_font_size = t5; - _.DesignMainHelixProps_major_tick_width_font_size = t6; - _.DesignMainHelixProps_helix_change_apply_to_all = t7; - _.DesignMainHelixProps_show_dna = t8; - _.DesignMainHelixProps_show_domain_labels = t9; - _.DesignMainHelixProps_display_base_offsets_of_major_ticks = t10; - _.DesignMainHelixProps_display_major_tick_widths = t11; - _.DesignMainHelixProps_show_helix_circles = t12; - _.DesignMainHelixProps_helix_svg_position = t13; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t14; - _.UbiquitousDomPropsMixin__dom = t15; + _$ModificationEditSerializer: function _$ModificationEditSerializer() { }, - _$$DesignMainHelixProps$JsMap: function _$$DesignMainHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { - var _ = this; - _._design_main_helix$_props = t0; - _.DesignMainHelixProps_helix = t1; - _.DesignMainHelixProps_selected = t2; - _.DesignMainHelixProps_view_order = t3; - _.DesignMainHelixProps_strand_create_enabled = t4; - _.DesignMainHelixProps_major_tick_offset_font_size = t5; - _.DesignMainHelixProps_major_tick_width_font_size = t6; - _.DesignMainHelixProps_helix_change_apply_to_all = t7; - _.DesignMainHelixProps_show_dna = t8; - _.DesignMainHelixProps_show_domain_labels = t9; - _.DesignMainHelixProps_display_base_offsets_of_major_ticks = t10; - _.DesignMainHelixProps_display_major_tick_widths = t11; - _.DesignMainHelixProps_show_helix_circles = t12; - _.DesignMainHelixProps_helix_svg_position = t13; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t14; - _.UbiquitousDomPropsMixin__dom = t15; + _$Modifications5PrimeEditSerializer: function _$Modifications5PrimeEditSerializer() { }, - _$DesignMainHelixComponent: function _$DesignMainHelixComponent(t0) { - var _ = this; - _._design_main_helix$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$Modifications3PrimeEditSerializer: function _$Modifications3PrimeEditSerializer() { }, - $DesignMainHelixProps: function $DesignMainHelixProps() { + _$ModificationsInternalEditSerializer: function _$ModificationsInternalEditSerializer() { }, - _DesignMainHelixComponent_UiComponent2_PureComponent: function _DesignMainHelixComponent_UiComponent2_PureComponent() { + _$GridChangeSerializer: function _$GridChangeSerializer() { }, - __$$DesignMainHelixProps_UiProps_DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps() { + _$GroupDisplayedChangeSerializer: function _$GroupDisplayedChangeSerializer() { }, - __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps() { + _$GroupAddSerializer: function _$GroupAddSerializer() { }, - _$ExtensionEndMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? T._$$ExtensionEndMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$ExtensionEndMovingProps__$$ExtensionEndMovingProps(backingProps); + _$GroupRemoveSerializer: function _$GroupRemoveSerializer() { }, - _$$ExtensionEndMovingProps__$$ExtensionEndMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return T._$$ExtensionEndMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new T._$$ExtensionEndMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_extension_end_moving$_props = backingMap; - return t1; - } + _$GroupChangeSerializer: function _$GroupChangeSerializer() { }, - _$$ExtensionEndMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new T._$$ExtensionEndMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_extension_end_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$MoveHelicesToGroupSerializer: function _$MoveHelicesToGroupSerializer() { }, - ConnectedExtensionEndMoving_closure: function ConnectedExtensionEndMoving_closure() { + _$DialogShowSerializer: function _$DialogShowSerializer() { }, - ExtensionEndMovingProps: function ExtensionEndMovingProps() { + _$DialogHideSerializer: function _$DialogHideSerializer() { }, - ExtensionEndMovingComponent: function ExtensionEndMovingComponent() { + _$ContextMenuShowSerializer: function _$ContextMenuShowSerializer() { }, - $ExtensionEndMovingComponentFactory_closure: function $ExtensionEndMovingComponentFactory_closure() { + _$ContextMenuHideSerializer: function _$ContextMenuHideSerializer() { }, - _$$ExtensionEndMovingProps: function _$$ExtensionEndMovingProps() { + _$StrandOrSubstrandColorPickerShowSerializer: function _$StrandOrSubstrandColorPickerShowSerializer() { }, - _$$ExtensionEndMovingProps$PlainMap: function _$$ExtensionEndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_dna_extension_end_moving$_props = t0; - _.ExtensionEndMovingProps_dna_end = t1; - _.ExtensionEndMovingProps_ext = t2; - _.ExtensionEndMovingProps_geometry = t3; - _.ExtensionEndMovingProps_attached_end_svg = t4; - _.ExtensionEndMovingProps_helix = t5; - _.ExtensionEndMovingProps_group = t6; - _.ExtensionEndMovingProps_color = t7; - _.ExtensionEndMovingProps_forward = t8; - _.ExtensionEndMovingProps_is_5p = t9; - _.ExtensionEndMovingProps_allowable = t10; - _.ExtensionEndMovingProps_current_point = t11; - _.ExtensionEndMovingProps_render = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _$StrandOrSubstrandColorPickerHideSerializer: function _$StrandOrSubstrandColorPickerHideSerializer() { }, - _$$ExtensionEndMovingProps$JsMap: function _$$ExtensionEndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { - var _ = this; - _._design_main_strand_dna_extension_end_moving$_props = t0; - _.ExtensionEndMovingProps_dna_end = t1; - _.ExtensionEndMovingProps_ext = t2; - _.ExtensionEndMovingProps_geometry = t3; - _.ExtensionEndMovingProps_attached_end_svg = t4; - _.ExtensionEndMovingProps_helix = t5; - _.ExtensionEndMovingProps_group = t6; - _.ExtensionEndMovingProps_color = t7; - _.ExtensionEndMovingProps_forward = t8; - _.ExtensionEndMovingProps_is_5p = t9; - _.ExtensionEndMovingProps_allowable = t10; - _.ExtensionEndMovingProps_current_point = t11; - _.ExtensionEndMovingProps_render = t12; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _$ScaffoldSetSerializer: function _$ScaffoldSetSerializer() { }, - _$ExtensionEndMovingComponent: function _$ExtensionEndMovingComponent(t0) { - var _ = this; - _._design_main_strand_dna_extension_end_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$StrandOrSubstrandColorSetSerializer: function _$StrandOrSubstrandColorSetSerializer() { }, - $ExtensionEndMovingProps: function $ExtensionEndMovingProps() { + _$StrandPasteKeepColorSetSerializer: function _$StrandPasteKeepColorSetSerializer() { }, - __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps() { + _$ExampleDesignsLoadSerializer: function _$ExampleDesignsLoadSerializer() { }, - __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps() { + _$BasePairTypeSetSerializer: function _$BasePairTypeSetSerializer() { }, - _$DesignMainDomain: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? T._$$DesignMainDomainProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainDomainProps__$$DesignMainDomainProps(backingProps); + _$HelixPositionSetSerializer: function _$HelixPositionSetSerializer() { }, - _$$DesignMainDomainProps__$$DesignMainDomainProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return T._$$DesignMainDomainProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new T._$$DesignMainDomainProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_domain$_props = backingMap; - return t1; - } + _$HelixGridPositionSetSerializer: function _$HelixGridPositionSetSerializer() { }, - _$$DesignMainDomainProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new T._$$DesignMainDomainProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_domain$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$HelicesPositionsSetBasedOnCrossoversSerializer: function _$HelicesPositionsSetBasedOnCrossoversSerializer() { }, - DesignMainDomainPropsMixin: function DesignMainDomainPropsMixin() { + _$InlineInsertionsDeletionsSerializer: function _$InlineInsertionsDeletionsSerializer() { }, - DesignMainDomainComponent: function DesignMainDomainComponent() { + _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer: function _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer() { }, - DesignMainDomainComponent_render_closure: function DesignMainDomainComponent_render_closure() { + _$AutofitSetSerializer: function _$AutofitSetSerializer() { }, - DesignMainDomainComponent_render_closure0: function DesignMainDomainComponent_render_closure0(t0) { - this.$this = t0; + _$ShowHelixCirclesMainViewSetSerializer: function _$ShowHelixCirclesMainViewSetSerializer() { }, - DesignMainDomainComponent_render_closure1: function DesignMainDomainComponent_render_closure1(t0) { - this.$this = t0; + _$ShowHelixComponentsMainViewSetSerializer: function _$ShowHelixComponentsMainViewSetSerializer() { }, - $DesignMainDomainComponentFactory_closure: function $DesignMainDomainComponentFactory_closure() { + _$ShowEditMenuToggleSerializer: function _$ShowEditMenuToggleSerializer() { }, - _$$DesignMainDomainProps: function _$$DesignMainDomainProps() { + _$ShowGridCoordinatesSideViewSetSerializer: function _$ShowGridCoordinatesSideViewSetSerializer() { }, - _$$DesignMainDomainProps$PlainMap: function _$$DesignMainDomainProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_strand_domain$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDomainPropsMixin_domain = t4; - _.DesignMainDomainPropsMixin_strand_color = t5; - _.DesignMainDomainPropsMixin_helix = t6; - _.DesignMainDomainPropsMixin_strand_tooltip = t7; - _.DesignMainDomainPropsMixin_strand = t8; - _.DesignMainDomainPropsMixin_transform = t9; - _.DesignMainDomainPropsMixin_helix_svg_position = t10; - _.DesignMainDomainPropsMixin_context_menu_strand = t11; - _.DesignMainDomainPropsMixin_selected = t12; - _.DesignMainDomainPropsMixin_helices = t13; - _.DesignMainDomainPropsMixin_groups = t14; - _.DesignMainDomainPropsMixin_geometry = t15; - _.DesignMainDomainPropsMixin_retain_strand_color_on_selection = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + _$ShowAxisArrowsSetSerializer: function _$ShowAxisArrowsSetSerializer() { }, - _$$DesignMainDomainProps$JsMap: function _$$DesignMainDomainProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_strand_domain$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDomainPropsMixin_domain = t4; - _.DesignMainDomainPropsMixin_strand_color = t5; - _.DesignMainDomainPropsMixin_helix = t6; - _.DesignMainDomainPropsMixin_strand_tooltip = t7; - _.DesignMainDomainPropsMixin_strand = t8; - _.DesignMainDomainPropsMixin_transform = t9; - _.DesignMainDomainPropsMixin_helix_svg_position = t10; - _.DesignMainDomainPropsMixin_context_menu_strand = t11; - _.DesignMainDomainPropsMixin_selected = t12; - _.DesignMainDomainPropsMixin_helices = t13; - _.DesignMainDomainPropsMixin_groups = t14; - _.DesignMainDomainPropsMixin_geometry = t15; - _.DesignMainDomainPropsMixin_retain_strand_color_on_selection = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + _$ShowLoopoutExtensionLengthSetSerializer: function _$ShowLoopoutExtensionLengthSetSerializer() { }, - _$DesignMainDomainComponent: function _$DesignMainDomainComponent(t0) { - var _ = this; - _._design_main_strand_domain$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$LoadDnaSequenceImageUriSerializer: function _$LoadDnaSequenceImageUriSerializer() { }, - $DesignMainDomainPropsMixin: function $DesignMainDomainPropsMixin() { + _$SetIsZoomAboveThresholdSerializer: function _$SetIsZoomAboveThresholdSerializer() { }, - _DesignMainDomainComponent_UiComponent2_PureComponent: function _DesignMainDomainComponent_UiComponent2_PureComponent() { + _$SetExportSvgActionDelayedForPngCacheSerializer: function _$SetExportSvgActionDelayedForPngCacheSerializer() { }, - _DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _$ShowBasePairLinesSetSerializer: function _$ShowBasePairLinesSetSerializer() { }, - __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin() { + _$ShowBasePairLinesWithMismatchesSetSerializer: function _$ShowBasePairLinesWithMismatchesSetSerializer() { }, - __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin() { + _$ShowSliceBarSetSerializer: function _$ShowSliceBarSetSerializer() { }, - __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin() { + _$SliceBarOffsetSetSerializer: function _$SliceBarOffsetSetSerializer() { }, - __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$DisablePngCachingDnaSequencesSetSerializer: function _$DisablePngCachingDnaSequencesSetSerializer() { }, - _$DesignMainStrandMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? T._$$DesignMainStrandMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps(backingProps); + _$RetainStrandColorOnSelectionSetSerializer: function _$RetainStrandColorOnSelectionSetSerializer() { }, - _$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return T._$$DesignMainStrandMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new T._$$DesignMainStrandMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_moving$_props = backingMap; - return t1; - } + _$DisplayReverseDNARightSideUpSetSerializer: function _$DisplayReverseDNARightSideUpSetSerializer() { }, - _$$DesignMainStrandMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new T._$$DesignMainStrandMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$SliceBarMoveStartSerializer: function _$SliceBarMoveStartSerializer() { }, - DesignMainStrandMovingPropsMixin: function DesignMainStrandMovingPropsMixin() { + _$SliceBarMoveStopSerializer: function _$SliceBarMoveStopSerializer() { }, - DesignMainStrandMovingComponent: function DesignMainStrandMovingComponent() { + _$AutostapleSerializer: function _$AutostapleSerializer() { }, - $DesignMainStrandMovingComponentFactory_closure: function $DesignMainStrandMovingComponentFactory_closure() { + _$AutobreakSerializer: function _$AutobreakSerializer() { }, - _$$DesignMainStrandMovingProps: function _$$DesignMainStrandMovingProps() { + _$ZoomSpeedSetSerializer: function _$ZoomSpeedSetSerializer() { }, - _$$DesignMainStrandMovingProps$PlainMap: function _$$DesignMainStrandMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { - var _ = this; - _._design_main_strand_moving$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandMovingPropsMixin_strand = t4; - _.DesignMainStrandMovingPropsMixin_original_helices_view_order_inverse = t5; - _.DesignMainStrandMovingPropsMixin_current_group = t6; - _.DesignMainStrandMovingPropsMixin_side_selected_helix_idxs = t7; - _.DesignMainStrandMovingPropsMixin_delta_view_order = t8; - _.DesignMainStrandMovingPropsMixin_delta_offset = t9; - _.DesignMainStrandMovingPropsMixin_delta_forward = t10; - _.DesignMainStrandMovingPropsMixin_allowable = t11; - _.DesignMainStrandMovingPropsMixin_helices = t12; - _.DesignMainStrandMovingPropsMixin_groups = t13; - _.DesignMainStrandMovingPropsMixin_geometry = t14; - _.DesignMainStrandMovingPropsMixin_helix_idx_to_svg_position_map = t15; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t16; - _.UbiquitousDomPropsMixin__dom = t17; + _$OxdnaExportSerializer: function _$OxdnaExportSerializer() { }, - _$$DesignMainStrandMovingProps$JsMap: function _$$DesignMainStrandMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { - var _ = this; - _._design_main_strand_moving$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandMovingPropsMixin_strand = t4; - _.DesignMainStrandMovingPropsMixin_original_helices_view_order_inverse = t5; - _.DesignMainStrandMovingPropsMixin_current_group = t6; - _.DesignMainStrandMovingPropsMixin_side_selected_helix_idxs = t7; - _.DesignMainStrandMovingPropsMixin_delta_view_order = t8; - _.DesignMainStrandMovingPropsMixin_delta_offset = t9; - _.DesignMainStrandMovingPropsMixin_delta_forward = t10; - _.DesignMainStrandMovingPropsMixin_allowable = t11; - _.DesignMainStrandMovingPropsMixin_helices = t12; - _.DesignMainStrandMovingPropsMixin_groups = t13; - _.DesignMainStrandMovingPropsMixin_geometry = t14; - _.DesignMainStrandMovingPropsMixin_helix_idx_to_svg_position_map = t15; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t16; - _.UbiquitousDomPropsMixin__dom = t17; + _$OxviewExportSerializer: function _$OxviewExportSerializer() { }, - _$DesignMainStrandMovingComponent: function _$DesignMainStrandMovingComponent(t0) { - var _ = this; - _._design_main_strand_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _$OxExportOnlySelectedStrandsSetSerializer: function _$OxExportOnlySelectedStrandsSetSerializer() { }, - $DesignMainStrandMovingPropsMixin: function $DesignMainStrandMovingPropsMixin() { + _$SkipUndo: function _$SkipUndo(t0) { + this.undoable_action = t0; }, - _DesignMainStrandMovingComponent_UiComponent2_PureComponent: function _DesignMainStrandMovingComponent_UiComponent2_PureComponent() { + SkipUndoBuilder: function SkipUndoBuilder() { + this._undoable_action = this._$v = null; }, - _DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _$Undo: function _$Undo(t0) { + this.num_undos = t0; }, - __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin() { + UndoBuilder: function UndoBuilder() { + this._num_undos = this._$v = null; }, - __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin() { + _$Redo: function _$Redo(t0) { + this.num_redos = t0; }, - __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin() { + RedoBuilder: function RedoBuilder() { + this._num_redos = this._$v = null; }, - __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$UndoRedoClear: function _$UndoRedoClear() { }, - _textReplace: function(match) { - switch (match.group$1(0)) { - case "<": - return "<"; - case "&": - return "&"; - case "]]>": - return "]]>"; - } - throw H.wrapException(P.ArgumentError$value(match, "match", null)); + _$BatchAction: function _$BatchAction(t0, t1) { + this.actions = t0; + this.short_description_value = t1; }, - _singeQuoteAttributeReplace: function(match) { - switch (match.group$1(0)) { - case "'": - return "'"; - case "&": - return "&"; - case "<": - return "<"; - case "\n": - return " "; - case "\r": - return " "; - case "\t": - return " "; - } - throw H.wrapException(P.ArgumentError$value(match, "match", null)); + BatchActionBuilder: function BatchActionBuilder() { + this._short_description_value = this._actions = this._$v = null; }, - _doubleQuoteAttributeReplace: function(match) { - switch (match.group$1(0)) { - case '"': - return """; - case "&": - return "&"; - case "<": - return "<"; - case "\n": - return " "; - case "\r": - return " "; - case "\t": - return " "; - } - throw H.wrapException(P.ArgumentError$value(match, "match", null)); + _$ThrottledActionFast: function _$ThrottledActionFast(t0, t1) { + this.action = t0; + this.interval_sec = t1; }, - XmlDefaultEntityMapping: function XmlDefaultEntityMapping() { + ThrottledActionFastBuilder: function ThrottledActionFastBuilder() { + this._interval_sec = this._action = this._$v = null; }, - XmlParserException$: function(message, buffer, column, line, position) { - return new T.XmlParserException(buffer, position, line, column, message); + _$ThrottledActionNonFast: function _$ThrottledActionNonFast(t0, t1) { + this.action = t0; + this.interval_sec = t1; }, - XmlNodeTypeException_checkValidType: function(node, types) { - if (!types.contains$1(0, node.get$nodeType(node))) - throw H.wrapException(new T.XmlNodeTypeException("Expected node of type: " + types.toString$0(0))); + ThrottledActionNonFastBuilder: function ThrottledActionNonFastBuilder() { + this._interval_sec = this._action = this._$v = null; }, - XmlNodeTypeException$: function(message) { - return new T.XmlNodeTypeException(message); + _$LocalStorageDesignChoiceSet: function _$LocalStorageDesignChoiceSet(t0) { + this.choice = t0; }, - XmlParentException$: function(message) { - return new T.XmlParentException(message); + LocalStorageDesignChoiceSetBuilder: function LocalStorageDesignChoiceSetBuilder() { + this._choice = this._$v = null; }, - XmlException: function XmlException() { + _$ResetLocalStorage: function _$ResetLocalStorage() { }, - XmlParserException: function XmlParserException(t0, t1, t2, t3, t4) { - var _ = this; - _.buffer = t0; - _.position = t1; - _.line = t2; - _.column = t3; - _.message = t4; + _$ClearHelixSelectionWhenLoadingNewDesignSet: function _$ClearHelixSelectionWhenLoadingNewDesignSet(t0) { + this.clear = t0; }, - XmlNodeTypeException: function XmlNodeTypeException(t0) { - this.message = t0; + ClearHelixSelectionWhenLoadingNewDesignSetBuilder: function ClearHelixSelectionWhenLoadingNewDesignSetBuilder() { + this._clear = this._$v = null; }, - XmlParentException: function XmlParentException(t0) { - this.message = t0; + _$EditModeToggle: function _$EditModeToggle(t0) { + this.mode = t0; }, - dna_extensions_move_start_middleware: function(store, action, next) { - var t1, selected_ends, moves, design, t2, t3, t4, extension, t5, t6, helix, t7, end_offset, extension_attached_end_svg, translate_svg, t8, t9, t10, extension_start_point, extension_end_point, color, move, strands_affected, _i; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.DNAExtensionsMoveStart) { - t1 = store.get$state(store).ui_state.selectables_store; - selected_ends = t1.__selected_dna_ends_on_extensions; - if (selected_ends == null) { - selected_ends = E.SelectablesStore.prototype.get$selected_dna_ends_on_extensions.call(t1); - t1.set$__selected_dna_ends_on_extensions(selected_ends); - } - moves = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAExtensionMove); - design = store.get$state(store).design; - for (t1 = selected_ends._set, t1 = t1.get$iterator(t1), t2 = type$.Point_legacy_num; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = design.__end_to_extension; - if (t4 == null) { - t4 = N.Design.prototype.get$end_to_extension.call(design); - design.set$__end_to_extension(t4); - } - extension = J.$index$asx(t4._map$_map, t3); - t4 = design.helices; - t5 = extension.adjacent_domain; - t6 = t5.helix; - helix = J.$index$asx(t4._map$_map, t6); - t4 = store.get$state(store); - t7 = t4.__helix_idx_to_svg_position_map; - if (t7 == null) { - t7 = T.AppState.prototype.get$helix_idx_to_svg_position_map.call(t4); - t4.set$__helix_idx_to_svg_position_map(t7); - t4 = t7; - } else - t4 = t7; - t6 = J.$index$asx(t4._map$_map, t6).y; - if (H.boolConversionCheck(extension.is_5p)) { - t4 = t5.__offset_5p; - if (t4 == null) { - t4 = G.Domain.prototype.get$offset_5p.call(t5); - t5.__offset_5p = t4; - end_offset = t4; - } else - end_offset = t4; - } else { - t4 = t5.__offset_3p; - if (t4 == null) { - t4 = G.Domain.prototype.get$offset_3p.call(t5); - t5.__offset_3p = t4; - end_offset = t4; - } else - end_offset = t4; - } - extension_attached_end_svg = helix.svg_base_pos$3(end_offset, t5.forward, t6); - t4 = design.groups; - t6 = helix.group; - t6 = J.$index$asx(t4._map$_map, t6); - t4 = design.geometry; - t6 = t6.position; - t7 = t4.__nm_to_svg_pixels; - if (t7 == null) - t7 = t4.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t4); - translate_svg = X.Position3D_Position3D(t6.x * t7, t6.y * t7, t6.z * t7); - t7 = translate_svg.z; - t6 = translate_svg.y; - t8 = extension_attached_end_svg.$ti; - t8._as(new P.Point(t7, t6, t2)); - t9 = extension_attached_end_svg.x; - if (typeof t9 !== "number") - return t9.$add(); - t10 = t8._precomputed1; - t7 = t10._as(t9 + t7); - t9 = extension_attached_end_svg.y; - if (typeof t9 !== "number") - return t9.$add(); - extension_start_point = new P.Point(t7, t10._as(t9 + t6), t8); - extension_end_point = E.compute_extension_free_end_svg(extension_start_point, extension, t5, t4); - t4 = design.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t4); - } - t5 = design.__end_to_extension; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_extension.call(design); - design.set$__end_to_extension(t5); - } - t5 = J.$index$asx(t5._map$_map, t3); - color = J.$index$asx(t4._map$_map, t5).color; - move = new K._$DNAExtensionMove(t3, color, extension_end_point, extension_start_point, extension); - move._$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position(extension_start_point, color, t3, extension, extension_end_point); - C.JSArray_methods.add$1(moves, move); - } - t1 = type$.legacy_Strand; - strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, H.throwConcurrentModificationError)(moves), ++_i) { - t3 = moves[_i].dna_end; - t4 = design.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t4); - } - t5 = design.__end_to_extension; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_extension.call(design); - design.set$__end_to_extension(t5); - } - t3 = J.$index$asx(t5._map$_map, t3); - strands_affected.add$1(0, J.$index$asx(t4._map$_map, t3)); - } - next.call$1(action); - t2 = $.app; - t3 = action.start_point; - t4 = D.BuiltList_BuiltList$of(moves, type$.legacy_DNAExtensionMove); - t1 = X.BuiltSet_BuiltSet$of(strands_affected, t1); - t2.dispatch$1(U._$DNAExtensionsMoveSetSelectedExtensionEnds$_(action.helix, t4, t3, t1)); - } else - next.call$1(action); + EditModeToggleBuilder: function EditModeToggleBuilder() { + this._mode = this._$v = null; }, - reselect_moved_domains_middleware: function(store, action, next) { - var t1, old_design, domains_move, addresses, new_address_helix_idx, new_helix, t2, t3, new_helices_view_order, old_helices_view_order_inverse, t4, t5, t6, t7, t8, t9, t10, old_5p_end, old_helix_view_order, t11, t12, t13, t14, new_helix_idx, new_domains, new_design, address_to_domain, _i; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.DomainsMoveCommit) { - t1 = J.get$length$asx(action.domains_move.domains_moving._list); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 1; - } else - t1 = false; - if (t1) { - old_design = store.get$state(store).design; - domains_move = action.domains_move; - if (!(Q.in_bounds0(old_design, domains_move) && Q.is_allowable0(old_design, domains_move) && !domains_move.original_address.$eq(0, domains_move.current_address))) - return; - addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); - t1 = domains_move.current_address; - new_address_helix_idx = t1.helix_idx; - new_helix = J.$index$asx(old_design.helices._map$_map, new_address_helix_idx); - t2 = old_design.groups; - t3 = new_helix.group; - new_helices_view_order = J.$index$asx(t2._map$_map, t3).helices_view_order; - old_helices_view_order_inverse = domains_move.original_helices_view_order_inverse; - for (t2 = J.get$iterator$ax(domains_move.domains_moving._list), t3 = t1.offset, t4 = domains_move.original_address, t5 = t4.offset, t1 = t1.forward != t4.forward, t6 = domains_move.helices, t4 = t4.helix_idx, t7 = domains_move.groups; t2.moveNext$0();) { - t8 = t2.get$current(t2); - t9 = t8.forward; - if (t9) { - t10 = t8.__dnaend_start; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_start.call(t8); - t8.__dnaend_start = t10; - old_5p_end = t10; - } else - old_5p_end = t10; - } else { - t10 = t8.__dnaend_end; - if (t10 == null) { - t10 = G.Domain.prototype.get$dnaend_end.call(t8); - t8.__dnaend_end = t10; - old_5p_end = t10; - } else - old_5p_end = t10; - } - t8 = t8.helix; - old_helix_view_order = J.$index$asx(old_helices_view_order_inverse._map$_map, t8); - t8 = t6._map$_map; - t10 = J.getInterceptor$asx(t8); - t11 = t10.$index(t8, new_address_helix_idx).group; - t12 = t7._map$_map; - t13 = J.getInterceptor$asx(t12); - t11 = t13.$index(t12, t11); - t14 = t11.__helices_view_order_inverse; - if (t14 == null) { - t14 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); - t11.set$__helices_view_order_inverse(t14); - t11 = t14; - } else - t11 = t14; - t11 = J.$index$asx(t11._map$_map, t10.$index(t8, new_address_helix_idx).idx); - t12 = t13.$index(t12, t10.$index(t8, t4).group); - t13 = t12.__helices_view_order_inverse; - if (t13 == null) { - t13 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t12); - t12.set$__helices_view_order_inverse(t13); - t12 = t13; - } else - t12 = t13; - t8 = J.$index$asx(t12._map$_map, t10.$index(t8, t4).idx); - if (typeof t11 !== "number") - return t11.$sub(); - if (typeof t8 !== "number") - return H.iae(t8); - if (typeof old_helix_view_order !== "number") - return old_helix_view_order.$add(); - new_helix_idx = J.$index$asx(new_helices_view_order._list, old_helix_view_order + (t11 - t8)); - t8 = old_5p_end.offset; - if (!old_5p_end.is_start) { - if (typeof t8 !== "number") - return t8.$sub(); - --t8; - } - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t5 !== "number") - return H.iae(t5); - if (typeof t8 !== "number") - return t8.$add(); - if (new_helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "helix_idx")); - C.JSArray_methods.add$1(addresses, new Z._$Address(new_helix_idx, t8 + (t3 - t5), t1 !== t9)); - } - next.call$1(action); - new_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - new_design = store.get$state(store).design; - if (t1) { - t1 = new_design.__address_3p_to_domain; - if (t1 == null) { - t1 = N.Design.prototype.get$address_3p_to_domain.call(new_design); - new_design.set$__address_3p_to_domain(t1); - address_to_domain = t1; - } else - address_to_domain = t1; - } else { - t1 = new_design.__address_5p_to_domain; - if (t1 == null) { - t1 = N.Design.prototype.get$address_5p_to_domain.call(new_design); - new_design.set$__address_5p_to_domain(t1); - address_to_domain = t1; - } else - address_to_domain = t1; - } - for (t1 = addresses.length, t2 = address_to_domain._map$_map, t3 = J.getInterceptor$asx(t2), _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) - C.JSArray_methods.add$1(new_domains, t3.$index(t2, addresses[_i])); - store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_domains, type$.legacy_Domain))); - } else - next.call$1(action); - } - }, - Q = { - OutputStream$: function(size) { - var t1 = size == null ? 32768 : size; - return new Q.OutputStream(new Uint8Array(t1)); + _$EditModesSet: function _$EditModesSet(t0) { + this.edit_modes = t0; }, - OutputStreamBase: function OutputStreamBase() { + EditModesSetBuilder: function EditModesSetBuilder() { + this._actions$_edit_modes = this._$v = null; }, - OutputStream: function OutputStream(t0) { - this.length = 0; - this._output_stream$_buffer = t0; + _$SelectModeToggle: function _$SelectModeToggle(t0) { + this.select_mode_choice = t0; }, - ZipFile__deriveKey: function(password, salt, derivedKeyLength) { - var passwordBytes, t1, keyDerivator, out; - if (password.get$isEmpty(password)) - return new Uint8Array(0); - passwordBytes = new Uint8Array(H._ensureNativeList(password.get$codeUnits(password))); - t1 = A.HMac$(A.SHA1Digest$(), 64); - keyDerivator = new D.PBKDF2KeyDerivator(t1); - t1 = t1.get$_digestSize(); - if (!H._isInt(t1)) - H.throwExpression(P.ArgumentError$("Invalid length " + H.S(t1))); - keyDerivator.__PBKDF2KeyDerivator__state = new Uint8Array(t1); - keyDerivator.__PBKDF2KeyDerivator__params = new N.Pbkdf2Parameters(salt, 1000, derivedKeyLength * 2 + 2); - t1 = keyDerivator.get$_params().desiredKeyLength; - out = new Uint8Array(t1); - return C.NativeUint8List_methods.sublist$2(out, 0, keyDerivator.deriveKey$4(passwordBytes, 0, out, 0)); + SelectModeToggleBuilder: function SelectModeToggleBuilder() { + this._select_mode_choice = this._$v = null; }, - AesHeader: function AesHeader(t0, t1) { - this.encryptionStrength = t0; - this.compressionMethod = t1; + _$SelectModesAdd: function _$SelectModesAdd(t0) { + this.modes = t0; }, - ZipFile: function ZipFile(t0, t1, t2) { - var _ = this; - _.signature = 67324752; - _.lastModFileDate = _.lastModFileTime = _.compressionMethod = _.flags = 0; - _.uncompressedSize = _.crc32 = null; - _.filename = ""; - _.extraField = t0; - _.header = t1; - _.__ZipFile__rawContent = $; - _._zip_file$_content = null; - _._encryptionType = 0; - _._password = _._aesHeader = null; - _._zip_file$_keys = t2; + SelectModesAddBuilder: function SelectModesAddBuilder() { + this._actions$_modes = this._$v = null; }, - ZipDecoder: function ZipDecoder() { - this.__ZipDecoder_directory = $; + _$SelectModesSet: function _$SelectModesSet(t0) { + this.select_mode_choices = t0; }, - CopyOnWriteList: function CopyOnWriteList(t0, t1, t2) { - var _ = this; - _._copy_on_write_list$_copyBeforeWrite = true; - _._growable = t0; - _._copy_on_write_list$_list = t1; - _.$ti = t2; + SelectModesSetBuilder: function SelectModesSetBuilder() { + this._select_mode_choices = this._$v = null; }, - Int64Serializer: function Int64Serializer(t0) { - this.types = t0; + _$StrandNameSet: function _$StrandNameSet(t0, t1) { + this.name = t0; + this.strand = t1; + this._actions$__hashCode = null; }, - ReactPropsMixin: function ReactPropsMixin() { + StrandNameSetBuilder: function StrandNameSetBuilder() { + this._strand = this._actions$_name = this._$v = null; }, - DomPropsMixin: function DomPropsMixin() { + _$StrandLabelSet: function _$StrandLabelSet(t0, t1) { + this.label = t0; + this.strand = t1; + this._actions$__hashCode = null; }, - SvgPropsMixin: function SvgPropsMixin() { + StrandLabelSetBuilder: function StrandLabelSetBuilder() { + this._strand = this._actions$_label = this._$v = null; }, - UbiquitousDomPropsMixin: function UbiquitousDomPropsMixin() { + _$SubstrandNameSet: function _$SubstrandNameSet(t0, t1) { + this.name = t0; + this.substrand = t1; + this._actions$__hashCode = null; }, - SequenceParserExtension_seq: function(_this, other) { - var t3, - t1 = type$.Parser_dynamic, - t2 = type$.SequenceParser_dynamic; - if (_this instanceof Q.SequenceParser) { - t3 = P.List_List$of(_this.children, true, t1); - t3.push(other); - t2 = new Q.SequenceParser(P.List_List$of(t3, false, t1), t2); - t1 = t2; - } else - t1 = new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([_this, other], type$.JSArray_Parser_dynamic), false, t1), t2); - return t1; + SubstrandNameSetBuilder: function SubstrandNameSetBuilder() { + this._substrand = this._actions$_name = this._$v = null; }, - SequenceParser: function SequenceParser(t0, t1) { - this.children = t0; - this.$ti = t1; + _$SubstrandLabelSet: function _$SubstrandLabelSet(t0, t1) { + this.label = t0; + this.substrand = t1; + this._actions$__hashCode = null; }, - ReactDartInteropStatics2__updatePropsAndStateWithJs: function(component, props, state) { - component.set$props(0, new L.JsBackedMap(props)); - component.set$state(0, new L.JsBackedMap(state)); + SubstrandLabelSetBuilder: function SubstrandLabelSetBuilder() { + this._substrand = this._actions$_label = this._$v = null; }, - ReactDartInteropStatics2_initComponent: function(jsThis, componentStatics) { - type$.legacy_ReactComponent._as(jsThis); - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_initComponent_closure(type$.legacy_ComponentStatics2._as(componentStatics), jsThis), type$.legacy_Component2); + _$SetAppUIStateStorable: function _$SetAppUIStateStorable(t0) { + this.storables = t0; }, - ReactDartInteropStatics2_handleComponentDidMount: function(component) { - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidMount_closure(type$.legacy_Component2._as(component)), type$.void); + SetAppUIStateStorableBuilder: function SetAppUIStateStorableBuilder() { + this._actions$_storables = this._$v = null; }, - ReactDartInteropStatics2_handleShouldComponentUpdate: function(component, jsNextProps, jsNextState) { - var t1 = type$.legacy_JsMap; - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure(type$.legacy_Component2._as(component), t1._as(jsNextProps), t1._as(jsNextState)), type$.legacy_bool); + _$ShowDNASet: function _$ShowDNASet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleGetDerivedStateFromProps: function(componentStatics, jsNextProps, jsPrevState) { - var t1 = type$.legacy_JsMap; - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(type$.legacy_ComponentStatics2._as(componentStatics), t1._as(jsNextProps), t1._as(jsPrevState)), t1); + ShowDNASetBuilder: function ShowDNASetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate: function(component, jsPrevProps, jsPrevState) { - var t1 = type$.legacy_JsMap; - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(type$.legacy_Component2._as(component), t1._as(jsPrevProps), t1._as(jsPrevState)), type$.dynamic); + _$ShowDomainNamesSet: function _$ShowDomainNamesSet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleComponentDidUpdate: function(component, jsThis, jsPrevProps, jsPrevState, snapshot) { - var t1; - type$.legacy_Component2._as(component); - type$.legacy_ReactComponent._as(jsThis); - t1 = type$.legacy_JsMap; - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure(component, t1._as(jsPrevProps), t1._as(jsPrevState), snapshot), type$.void); + ShowDomainNamesSetBuilder: function ShowDomainNamesSetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_handleComponentWillUnmount: function(component) { - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure(type$.legacy_Component2._as(component)), type$.void); + _$ShowStrandNamesSet: function _$ShowStrandNamesSet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleComponentDidCatch: function(component, error, info) { - type$.legacy_Component2._as(component); - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidCatch_closure(error, type$.legacy_ReactErrorInfo._as(info), component), type$.void); + ShowStrandNamesSetBuilder: function ShowStrandNamesSetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_handleGetDerivedStateFromError: function(componentStatics, error) { - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(error, type$.legacy_ComponentStatics2._as(componentStatics)), type$.legacy_JsMap); + _$ShowStrandLabelsSet: function _$ShowStrandLabelsSet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleRender: function(component, jsProps, jsState, jsContext) { - var t1 = type$.legacy_JsMap; - return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleRender_closure(type$.legacy_Component2._as(component), t1._as(jsProps), t1._as(jsState), jsContext), type$.dynamic); + ShowStrandLabelsSetBuilder: function ShowStrandLabelsSetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_initComponent_closure: function ReactDartInteropStatics2_initComponent_closure(t0, t1) { - this.componentStatics = t0; - this.jsThis = t1; + _$ShowDomainLabelsSet: function _$ShowDomainLabelsSet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleComponentDidMount_closure: function ReactDartInteropStatics2_handleComponentDidMount_closure(t0) { - this.component = t0; + ShowDomainLabelsSetBuilder: function ShowDomainLabelsSetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_handleShouldComponentUpdate_closure: function ReactDartInteropStatics2_handleShouldComponentUpdate_closure(t0, t1, t2) { - this.component = t0; - this.jsNextProps = t1; - this.jsNextState = t2; + _$ShowModificationsSet: function _$ShowModificationsSet(t0) { + this.show = t0; }, - ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(t0, t1, t2) { - this.componentStatics = t0; - this.jsNextProps = t1; - this.jsPrevState = t2; + ShowModificationsSetBuilder: function ShowModificationsSetBuilder() { + this._show = this._$v = null; }, - ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure: function ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(t0, t1, t2) { - this.component = t0; - this.jsPrevProps = t1; - this.jsPrevState = t2; + _$DomainNameFontSizeSet: function _$DomainNameFontSizeSet(t0) { + this.font_size = t0; }, - ReactDartInteropStatics2_handleComponentDidUpdate_closure: function ReactDartInteropStatics2_handleComponentDidUpdate_closure(t0, t1, t2, t3) { - var _ = this; - _.component = t0; - _.jsPrevProps = t1; - _.jsPrevState = t2; - _.snapshot = t3; + DomainNameFontSizeSetBuilder: function DomainNameFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - ReactDartInteropStatics2_handleComponentWillUnmount_closure: function ReactDartInteropStatics2_handleComponentWillUnmount_closure(t0) { - this.component = t0; + _$DomainLabelFontSizeSet: function _$DomainLabelFontSizeSet(t0) { + this.font_size = t0; }, - ReactDartInteropStatics2_handleComponentDidCatch_closure: function ReactDartInteropStatics2_handleComponentDidCatch_closure(t0, t1, t2) { - this.error = t0; - this.info = t1; - this.component = t2; + DomainLabelFontSizeSetBuilder: function DomainLabelFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - ReactDartInteropStatics2_handleGetDerivedStateFromError_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(t0, t1) { - this.error = t0; - this.componentStatics = t1; + _$StrandNameFontSizeSet: function _$StrandNameFontSizeSet(t0) { + this.font_size = t0; }, - ReactDartInteropStatics2_handleRender_closure: function ReactDartInteropStatics2_handleRender_closure(t0, t1, t2, t3) { - var _ = this; - _.component = t0; - _.jsProps = t1; - _.jsState = t2; - _.jsContext = t3; + StrandNameFontSizeSetBuilder: function StrandNameFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - SyntheticEvent: function SyntheticEvent() { + _$StrandLabelFontSizeSet: function _$StrandLabelFontSizeSet(t0) { + this.font_size = t0; }, - SyntheticClipboardEvent: function SyntheticClipboardEvent() { + StrandLabelFontSizeSetBuilder: function StrandLabelFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - SyntheticKeyboardEvent: function SyntheticKeyboardEvent() { + _$ModificationFontSizeSet: function _$ModificationFontSizeSet(t0) { + this.font_size = t0; }, - SyntheticCompositionEvent: function SyntheticCompositionEvent() { + ModificationFontSizeSetBuilder: function ModificationFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - SyntheticFocusEvent: function SyntheticFocusEvent() { + _$MajorTickOffsetFontSizeSet: function _$MajorTickOffsetFontSizeSet(t0) { + this.font_size = t0; }, - SyntheticFormEvent: function SyntheticFormEvent() { + MajorTickOffsetFontSizeSetBuilder: function MajorTickOffsetFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - NonNativeDataTransfer: function NonNativeDataTransfer() { + _$MajorTickWidthFontSizeSet: function _$MajorTickWidthFontSizeSet(t0) { + this.font_size = t0; }, - SyntheticMouseEvent: function SyntheticMouseEvent() { + MajorTickWidthFontSizeSetBuilder: function MajorTickWidthFontSizeSetBuilder() { + this._font_size = this._$v = null; }, - SyntheticPointerEvent: function SyntheticPointerEvent() { + _$SetModificationDisplayConnector: function _$SetModificationDisplayConnector(t0) { + this.show = t0; }, - SyntheticTouchEvent: function SyntheticTouchEvent() { + SetModificationDisplayConnectorBuilder: function SetModificationDisplayConnectorBuilder() { + this._show = this._$v = null; }, - SyntheticTransitionEvent: function SyntheticTransitionEvent() { + _$ShowMismatchesSet: function _$ShowMismatchesSet(t0) { + this.show = t0; }, - SyntheticAnimationEvent: function SyntheticAnimationEvent() { + ShowMismatchesSetBuilder: function ShowMismatchesSetBuilder() { + this._show = this._$v = null; }, - SyntheticUIEvent: function SyntheticUIEvent() { + _$ShowDomainNameMismatchesSet: function _$ShowDomainNameMismatchesSet(t0) { + this.show_domain_name_mismatches = t0; }, - SyntheticWheelEvent: function SyntheticWheelEvent() { + ShowDomainNameMismatchesSetBuilder: function ShowDomainNameMismatchesSetBuilder() { + this._actions$_show_domain_name_mismatches = this._$v = null; }, - selections_intersect_box_compute_middleware: function(store, action, next) { - var state, t1, selectables_store, t2, is_origami, select_modes, select_box, select_box_bbox, elts_overlapping, rope_elt, points, selectable_by_id, t3, t4, t5, t6, overlapping_now_select_mode_enabled, _i, obj, - _s13_ = "main-view-svg"; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.SelectionsAdjustMainView) { - state = store.get$state(store); - t1 = state.ui_state; - selectables_store = t1.selectables_store; - t2 = state.design; - is_origami = t2.get$is_origami(); - select_modes = t1.storables.select_mode_state.modes; - if (action.box) { - select_box = type$.legacy_RectElement._as(document.querySelector("#selection-box-main")); - if (select_box == null) - return selectables_store; - select_box_bbox = select_box.getBoundingClientRect(); - t1 = type$.legacy_List_legacy_SvgElement._as(Q.generalized_intersection_list_box(_s13_, select_box_bbox, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? Q.selections_intersect_box_compute__interval_intersect$closure() : Q.selections_intersect_box_compute__interval_contained$closure())); - elts_overlapping = P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); - } else { - rope_elt = type$.legacy_PolygonElement._as(document.querySelector("#selection-rope-main")); - if (rope_elt == null) { - P.print("no selection rope found, so not changing selections"); - return; - } - points = Q.points_of_polygon_elt(rope_elt); - t1 = type$.legacy_List_legacy_SvgElement._as(Q.generalized_intersection_list_polygon(_s13_, points, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? Q.selections_intersect_box_compute__polygon_intersects_rect$closure() : Q.selections_intersect_box_compute__polygon_contains_rect$closure())); - elts_overlapping = P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); - } - selectable_by_id = t2.__selectable_by_id; - if (selectable_by_id == null) { - selectable_by_id = N.Design.prototype.get$selectable_by_id.call(t2); - t2.set$__selectable_by_id(selectable_by_id); - } - t1 = type$.JSArray_legacy_Selectable; - t2 = H.setRuntimeTypeInfo([], t1); - for (t3 = P._LinkedHashSetIterator$(elts_overlapping, elts_overlapping._collection$_modifications, H._instanceType(elts_overlapping)._precomputed1), t4 = selectable_by_id._map$_map, t5 = J.getInterceptor$x(t4); t3.moveNext$0();) { - t6 = t3._collection$_current; - if (t5.containsKey$1(t4, t6.id)) - t2.push(t5.$index(t4, t6.id)); - } - overlapping_now_select_mode_enabled = H.setRuntimeTypeInfo([], t1); - for (t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) { - obj = t2[_i]; - t3 = obj.get$select_mode(); - if (select_modes._set.contains$1(0, t3)) - C.JSArray_methods.add$1(overlapping_now_select_mode_enabled, obj); - } - store.dispatch$1(U._$SelectOrToggleItems$_(D._BuiltList$of(overlapping_now_select_mode_enabled, type$.legacy_Selectable), action.toggle)); - } else - next.call$1(action); + _$ShowUnpairedInsertionDeletionsSet: function _$ShowUnpairedInsertionDeletionsSet(t0) { + this.show_unpaired_insertion_deletions = t0; }, - points_of_polygon_elt: function(rope_elt) { - var t2, t3, t4, _i, point_svg, - point_list = rope_elt.points, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Point), - i = 0; - while (true) { - t2 = point_list.length; - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t1.push(point_list.getItem(i)); - ++i; - } - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Point_legacy_num); - for (t3 = t1.length, t4 = type$.Point_legacy_num, _i = 0; _i < t1.length; t1.length === t3 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - point_svg = t1[_i]; - t2.push(new P.Point(point_svg.x, point_svg.y, t4)); - } - return t2; + ShowUnpairedInsertionDeletionsSetBuilder: function ShowUnpairedInsertionDeletionsSetBuilder() { + this._actions$_show_unpaired_insertion_deletions = this._$v = null; }, - generalized_intersection_list_polygon: function(classname, polygon, select_modes, is_origami, overlap) { - var t1, t2, t3, elt, elt_bbox_svg_rect, - elts_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SvgElement); - for (t1 = J.get$iterator$ax(Q.find_selectable_elements(select_modes, is_origami)), t2 = type$.legacy_GraphicsElement, t3 = type$.legacy_num; t1.moveNext$0();) { - elt = t2._as(t1.get$current(t1)); - elt_bbox_svg_rect = elt.getBBox(); - if (H.boolConversionCheck(overlap.call$2(polygon, P.Rectangle$(elt_bbox_svg_rect.x, elt_bbox_svg_rect.y, elt_bbox_svg_rect.width, elt_bbox_svg_rect.height, t3)))) - C.JSArray_methods.add$1(elts_intersecting, elt); - } - return elts_intersecting; + _$OxviewShowSet: function _$OxviewShowSet(t0) { + this.show = t0; }, - generalized_intersection_list_box: function(classname, select_box_bbox, select_modes, is_origami, overlap) { - var t1, t2, elt, elt_bbox, t3, t4, t5, t6, t7, t8, t9, t10, - elts_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SvgElement); - for (t1 = J.get$iterator$ax(Q.find_selectable_elements(select_modes, is_origami)), t2 = type$.legacy_GraphicsElement; t1.moveNext$0();) { - elt = t2._as(t1.get$current(t1)); - elt_bbox = elt.getBoundingClientRect(); - t3 = elt_bbox.left; - t3.toString; - t4 = elt_bbox.width; - t4.toString; - t5 = elt_bbox.top; - t5.toString; - t6 = elt_bbox.height; - t6.toString; - t7 = select_box_bbox.left; - t7.toString; - t8 = select_box_bbox.width; - t8.toString; - t9 = select_box_bbox.top; - t9.toString; - t10 = select_box_bbox.height; - t10.toString; - if (H.boolConversionCheck(overlap.call$4(t3, t3 + t4, t7, t7 + t8))) { - t3 = elt_bbox.top; - t3.toString; - t4 = select_box_bbox.top; - t4.toString; - t10 = H.boolConversionCheck(overlap.call$4(t3, t5 + t6, t4, t9 + t10)); - t3 = t10; - } else - t3 = false; - if (t3) - C.JSArray_methods.add$1(elts_intersecting, elt); - } - return elts_intersecting; + OxviewShowSetBuilder: function OxviewShowSetBuilder() { + this._show = this._$v = null; }, - interval_contained: function(l1, h1, l2, h2) { - if (typeof l1 !== "number") - return l1.$ge(); - if (typeof l2 !== "number") - return H.iae(l2); - return l1 >= l2 && h1 <= h2; + _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t0) { + this.show = t0; }, - interval_intersect: function(l1, h1, l2, h2) { - var t1; - if (typeof l2 !== "number") - return l2.$gt(); - if (!(l2 > h1)) { - if (typeof l1 !== "number") - return l1.$gt(); - t1 = l1 > h2; - } else - t1 = true; - return !t1; + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder() { + this._show = this._$v = null; }, - polygon_contains_rect: function(polygon, rect) { - var x1, y1, x2, y2, t1, _i; - type$.legacy_List_legacy_Point_legacy_num._as(polygon); - type$.legacy_Rectangle_legacy_num._as(rect); - x1 = rect.left; - y1 = rect.top; - if (typeof x1 !== "number") - return x1.$add(); - x2 = x1 + rect.width; - if (typeof y1 !== "number") - return y1.$add(); - y2 = y1 + rect.height; - t1 = type$.Point_legacy_num; - for (t1 = [new P.Point(x1, y1, t1), new P.Point(x2, y1, t1), new P.Point(x1, y2, t1), new P.Point(x2, y2, t1)], _i = 0; _i < 4; ++_i) - if (!Q.polygon_contains_point(polygon, t1[_i])) - return false; - return true; + _$DisplayMajorTicksOffsetsSet: function _$DisplayMajorTicksOffsetsSet(t0) { + this.show = t0; }, - rect_contains_polygon: function(rect, polygon) { - var t1, x1, y1, t2, t3, _i, polygon_vertex, t4; - for (t1 = polygon.length, x1 = rect.left, y1 = rect.top, t2 = rect.width, t3 = rect.height, _i = 0; _i < t1; ++_i) { - polygon_vertex = polygon[_i]; - if (typeof x1 !== "number") - return x1.$add(); - if (typeof y1 !== "number") - return y1.$add(); - t4 = polygon_vertex.x; - if (typeof t4 !== "number") - return H.iae(t4); - if (x1 <= t4) - if (t4 <= x1 + t2) { - t4 = polygon_vertex.y; - if (typeof t4 !== "number") - return H.iae(t4); - t4 = y1 <= t4 && t4 <= y1 + t3; - } else - t4 = false; - else - t4 = false; - if (!t4) - return false; - } - return true; + DisplayMajorTicksOffsetsSetBuilder: function DisplayMajorTicksOffsetsSetBuilder() { + this._show = this._$v = null; }, - polygon_intersects_rect: function(polygon, rect) { - var x1, y1, x2, y2, t1, up_left, up_right, bot_left, bot_right, _i, rect_line, t2, t3, _i0; - type$.legacy_List_legacy_Point_legacy_num._as(polygon); - type$.legacy_Rectangle_legacy_num._as(rect); - if (Q.rect_contains_polygon(rect, polygon)) - return true; - if (Q.polygon_contains_rect(polygon, rect)) - return true; - x1 = rect.left; - y1 = rect.top; - if (typeof x1 !== "number") - return x1.$add(); - x2 = x1 + rect.width; - if (typeof y1 !== "number") - return y1.$add(); - y2 = y1 + rect.height; - t1 = type$.Point_legacy_num; - up_left = new P.Point(x1, y1, t1); - up_right = new P.Point(x2, y1, t1); - bot_left = new P.Point(x1, y2, t1); - bot_right = new P.Point(x2, y2, t1); - t1 = [F.Line_Line(up_left, up_right), F.Line_Line(bot_left, bot_right), F.Line_Line(up_left, bot_left), F.Line_Line(up_right, bot_right)]; - _i = 0; - for (; _i < 4; ++_i) { - rect_line = t1[_i]; - for (t2 = Q.lines_of_polygon(polygon), t3 = t2.length, _i0 = 0; _i0 < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i0) - if (rect_line.intersects$1(0, t2[_i0])) - return true; - } - return false; + _$SetDisplayMajorTickWidthsAllHelices: function _$SetDisplayMajorTickWidthsAllHelices(t0) { + this.show = t0; }, - polygon_contains_point: function(polygon, point) { - var t2, _i, max_x, infinite_line_from_point, lines, num_lines_intersecting, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_num); - for (t2 = polygon.length, _i = 0; _i < polygon.length; polygon.length === t2 || (0, H.throwConcurrentModificationError)(polygon), ++_i) - t1.push(polygon[_i].x); - max_x = N.MinMaxOfIterable_get_max(t1, type$.legacy_num); - if (typeof max_x !== "number") - return max_x.$add(); - infinite_line_from_point = F.Line_Line(point, new P.Point(max_x + 1, point.y, type$.Point_legacy_num)); - lines = Q.lines_of_polygon(polygon); - for (t1 = lines.length, num_lines_intersecting = 0, _i = 0; _i < lines.length; lines.length === t1 || (0, H.throwConcurrentModificationError)(lines), ++_i) - if (infinite_line_from_point.intersects$1(0, lines[_i])) - ++num_lines_intersecting; - return C.JSInt_methods.$mod(num_lines_intersecting, 2) === 1; + SetDisplayMajorTickWidthsAllHelicesBuilder: function SetDisplayMajorTickWidthsAllHelicesBuilder() { + this._show = this._$v = null; }, - lines_of_polygon: function(polygon) { - var i, i0, - lines = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line); - for (i = 0; i < polygon.length - 1; i = i0) { - i0 = i + 1; - C.JSArray_methods.add$1(lines, F.Line_Line(polygon[i], polygon[i0])); - } - C.JSArray_methods.add$1(lines, F.Line_Line(C.JSArray_methods.get$last(polygon), C.JSArray_methods.get$first(polygon))); - return lines; + _$SetDisplayMajorTickWidths: function _$SetDisplayMajorTickWidths(t0) { + this.show = t0; }, - find_selectable_elements: function(select_modes, is_origami) { - var t2, t3, t4, selectors, _i, mode, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectModeChoice); - for (t2 = select_modes._set, t3 = t2.get$iterator(t2); t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (t4 !== C.SelectModeChoice_scaffold && t4 !== C.SelectModeChoice_staple) - t1.push(t4); - } - if (t1.length === 0) - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element); - selectors = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - if (is_origami) - t3 = !t2.contains$1(0, C.SelectModeChoice_scaffold) || !t2.contains$1(0, C.SelectModeChoice_staple); - else - t3 = false; - if (t3) { - if (t2.contains$1(0, C.SelectModeChoice_scaffold)) - for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - mode = t1[_i]; - C.JSArray_methods.add$1(selectors, "." + C.SelectModeChoice_scaffold.css_selector$0() + "." + mode.css_selector$0()); - } - else if (t2.contains$1(0, C.SelectModeChoice_staple)) - for (t1 = t2.get$iterator(t2); t1.moveNext$0();) { - t2 = t1.get$current(t1); - C.JSArray_methods.add$1(selectors, ":not(." + C.SelectModeChoice_scaffold.css_selector$0() + ")." + t2.css_selector$0()); - } - } else - for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) - C.JSArray_methods.add$1(selectors, "." + t1[_i].css_selector$0()); - t1 = C.JSArray_methods.join$1(selectors, ", "); - t2 = document; - H.checkTypeBound(type$.legacy_Element, type$.Element, "T", "querySelectorAll"); - return new W._FrozenElementList(t2.querySelectorAll(t1), type$._FrozenElementList_legacy_Element); + SetDisplayMajorTickWidthsBuilder: function SetDisplayMajorTickWidthsBuilder() { + this._show = this._$v = null; }, - Box$: function(x, y, height, width) { - var t1 = new Q.Box(x, y); - t1.width = width; - t1.height = height; - return t1; + _$SetOnlyDisplaySelectedHelices: function _$SetOnlyDisplaySelectedHelices(t0) { + this.only_display_selected_helices = t0; }, - generalized_intersection_list: function(elts, bboxes, select_box, overlap, $E) { - var elts_intersecting, t2, t3, i, elt, i0, elt_bbox, t4, t5, t6, t7, t8, t9, - t1 = J.getInterceptor$asx(elts); - if (t1.get$length(elts) !== bboxes.length) - throw H.wrapException(P.ArgumentError$("elts (length " + H.S(t1.get$length(elts)) + ") and bboxes (length " + bboxes.length + ") must have same length")); - elts_intersecting = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0*>")); - for (t1 = t1.get$iterator(elts), t2 = select_box.x, t3 = select_box.y, i = 0; t1.moveNext$0(); i = i0) { - elt = t1.get$current(t1); - i0 = i + 1; - if (i >= bboxes.length) - return H.ioore(bboxes, i); - elt_bbox = bboxes[i]; - t4 = elt_bbox.x; - t5 = elt_bbox.width; - if (typeof t4 !== "number") - return t4.$add(); - if (typeof t5 !== "number") - return H.iae(t5); - t6 = select_box.width; - if (typeof t2 !== "number") - return t2.$add(); - if (typeof t6 !== "number") - return H.iae(t6); - t7 = elt_bbox.y; - t8 = elt_bbox.height; - if (typeof t7 !== "number") - return t7.$add(); - if (typeof t8 !== "number") - return H.iae(t8); - t9 = select_box.height; - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t9 !== "number") - return H.iae(t9); - if (H.boolConversionCheck(overlap.call$4(t4, t4 + t5, t2, t2 + t6)) && H.boolConversionCheck(overlap.call$4(t7, t7 + t8, t3, t3 + t9))) - C.JSArray_methods.add$1(elts_intersecting, elt); - } - return elts_intersecting; + SetOnlyDisplaySelectedHelicesBuilder: function SetOnlyDisplaySelectedHelicesBuilder() { + this._actions$_only_display_selected_helices = this._$v = null; }, - Box: function Box(t0, t1) { - var _ = this; - _.width = _.height = null; - _.x = t0; - _.y = t1; + _$InvertYSet: function _$InvertYSet(t0) { + this.invert_y = t0; }, - domains_move_start_selected_domains_reducer: function(_, state, action) { - var t1, t2, selected_domains, t3, t4, t5, t6, t7; - type$.legacy_DomainsMove._as(_); - type$.legacy_AppState._as(state); - type$.legacy_DomainsMoveStartSelectedDomains._as(action); - t1 = state.ui_state.selectables_store.selected_items; - t1.toString; - t2 = type$.legacy_Domain; - selected_domains = P.LinkedHashSet_LinkedHashSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new Q.domains_move_start_selected_domains_reducer_closure())), t2); - t1 = type$.legacy_Strand; - t3 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t4 = P._LinkedHashSetIterator$(selected_domains, selected_domains._collection$_modifications, H._instanceType(selected_domains)._precomputed1), t5 = state.design; t4.moveNext$0();) { - t6 = t4._collection$_current; - t7 = t5.__substrand_to_strand; - if (t7 == null) { - t7 = N.Design.prototype.get$substrand_to_strand.call(t5); - t5.set$__substrand_to_strand(t7); - } - t3.add$1(0, J.$index$asx(t7._map$_map, t6)); - } - t2 = D.BuiltList_BuiltList$of(selected_domains, t2); - t4 = t5.__all_domains; - if (t4 == null) { - t4 = N.Design.prototype.get$all_domains.call(t5); - t5.set$__all_domains(t4); - } - t1 = D.BuiltList_BuiltList$of(t3, t1); - t3 = action.original_helices_view_order_inverse; - t6 = t5.helices; - return V.DomainsMove_DomainsMove(t4, t2, t5.groups, t6, action.address, t3, t1); + InvertYSetBuilder: function InvertYSetBuilder() { + this._actions$_invert_y = this._$v = null; }, - domains_move_stop_reducer: function(domains_move, action) { - type$.legacy_DomainsMove._as(domains_move); - type$.legacy_DomainsMoveStop._as(action); - return null; + _$DynamicHelixUpdateSet: function _$DynamicHelixUpdateSet(t0) { + this.dynamically_update_helices = t0; }, - domains_adjust_address_reducer: function(domains_move, state, action) { - var new_domains_move, t1; - type$.legacy_DomainsMove._as(domains_move); - type$.legacy_AppState._as(state); - new_domains_move = domains_move.rebuild$1(new Q.domains_adjust_address_reducer_closure(type$.legacy_DomainsMoveAdjustAddress._as(action))); - t1 = state.design; - if (Q.in_bounds0(t1, new_domains_move)) - return new_domains_move.rebuild$1(new Q.domains_adjust_address_reducer_closure0(Q.is_allowable0(t1, new_domains_move))); - else - return domains_move; + DynamicHelixUpdateSetBuilder: function DynamicHelixUpdateSetBuilder() { + this._actions$_dynamically_update_helices = this._$v = null; }, - in_bounds0: function(design, domains_move) { - var t7, current_group, num_helices_in_group, original_group, delta_view_order, delta_offset, view_orders_of_helices_of_moving_domains, min_view_order, max_view_order, view_order_orig, helix, _i, domain, - t1 = domains_move.current_address, - t2 = design.helices, - t3 = t2._map$_map, - t4 = J.getInterceptor$asx(t3), - current_helix = t4.$index(t3, t1.helix_idx), - t5 = design.groups, - t6 = current_helix.group; - t5 = t5._map$_map; - t7 = J.getInterceptor$asx(t5); - current_group = t7.$index(t5, t6); - num_helices_in_group = J.get$length$asx(design.helices_in_group$1(t6)._map$_map); - t6 = domains_move.original_address; - original_group = t7.$index(t5, t4.$index(t3, t6.helix_idx).group); - t5 = domains_move.get$current_view_order(); - t7 = domains_move.get$original_view_order(); - if (typeof t5 !== "number") - return t5.$sub(); - if (typeof t7 !== "number") - return H.iae(t7); - delta_view_order = t5 - t7; - t1 = t1.offset; - t6 = t6.offset; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t6 !== "number") - return H.iae(t6); - delta_offset = t1 - t6; - view_orders_of_helices_of_moving_domains = Q.view_order_moving0(domains_move, original_group); - t6 = type$.legacy_int; - min_view_order = N.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_domains, t6); - max_view_order = N.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_domains, t6); - if (typeof min_view_order !== "number") - return min_view_order.$add(); - if (min_view_order + delta_view_order < 0) - return false; - if (typeof max_view_order !== "number") - return max_view_order.$add(); - if (typeof num_helices_in_group !== "number") - return H.iae(num_helices_in_group); - if (max_view_order + delta_view_order >= num_helices_in_group) - return false; - for (t1 = J.get$iterator$ax(t2.get$keys(t2)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t5 = domains_move.__domains_moving_on_helix; - if (t5 == null) { - t5 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); - domains_move.set$__domains_moving_on_helix(t5); - } - if (t5.$index(0, t2).length === 0) - continue; - t5 = original_group.__helices_view_order_inverse; - if (t5 == null) { - t5 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); - original_group.set$__helices_view_order_inverse(t5); - } - view_order_orig = J.$index$asx(t5._map$_map, t2); - t5 = current_group.helices_view_order; - if (typeof view_order_orig !== "number") - return view_order_orig.$add(); - helix = t4.$index(t3, J.$index$asx(t5._list, view_order_orig + delta_view_order)); - t5 = domains_move.__domains_moving_on_helix; - if (t5 == null) { - t5 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); - domains_move.set$__domains_moving_on_helix(t5); - } - t2 = t5.$index(0, t2); - t5 = t2.length; - _i = 0; - for (; _i < t5; ++_i) { - domain = t2[_i]; - if (domain.start + delta_offset < helix.min_offset) - return false; - if (domain.end + delta_offset > helix.max_offset) - return false; - } - } - return true; - }, - view_order_moving0: function(domains_move, original_group) { - var t1, t2, t3, - ret = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t1 = J.get$iterator$ax(domains_move.domains_moving._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = original_group.__helices_view_order_inverse; - if (t3 == null) { - t3 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); - original_group.set$__helices_view_order_inverse(t3); - } - ret.add$1(0, J.$index$asx(t3._map$_map, t2.helix)); - } - return ret; - }, - is_allowable0: function(design, domains_move) { - var t7, current_group, t8, delta_view_order, t9, delta_offset, delta_forward, domains_moving, original_group, view_order_orig, new_helix_idx, new_helix, domains_fixed, t10, t11, t12, t13, t14, t15, t16, _i, $forward, intervals_moving, t17, t18, t19, intervals_fixed, - t1 = domains_move.current_address, - t2 = design.helices, - t3 = t2._map$_map, - t4 = J.getInterceptor$asx(t3), - current_helix = t4.$index(t3, t1.helix_idx), - t5 = design.groups, - t6 = current_helix.group; - t5 = t5._map$_map; - t7 = J.getInterceptor$asx(t5); - current_group = t7.$index(t5, t6); - t6 = domains_move.get$current_view_order(); - t8 = domains_move.get$original_view_order(); - if (typeof t6 !== "number") - return t6.$sub(); - if (typeof t8 !== "number") - return H.iae(t8); - delta_view_order = t6 - t8; - t8 = t1.offset; - t6 = domains_move.original_address; - t9 = t6.offset; - if (typeof t8 !== "number") - return t8.$sub(); - if (typeof t9 !== "number") - return H.iae(t9); - delta_offset = t8 - t9; - delta_forward = t1.forward != t6.forward; - for (t1 = J.get$iterator$ax(t2.get$keys(t2)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t6 = domains_move.__domains_moving_on_helix; - if (t6 == null) { - t6 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); - domains_move.set$__domains_moving_on_helix(t6); - } - domains_moving = t6.$index(0, t2); - if (domains_moving.length === 0) - continue; - original_group = t7.$index(t5, t4.$index(t3, t2).group); - t6 = original_group.__helices_view_order_inverse; - if (t6 == null) { - t6 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); - original_group.set$__helices_view_order_inverse(t6); - } - view_order_orig = J.$index$asx(t6._map$_map, t2); - t2 = current_group.helices_view_order; - if (typeof view_order_orig !== "number") - return view_order_orig.$add(); - new_helix_idx = J.$index$asx(t2._list, view_order_orig + delta_view_order); - new_helix = t4.$index(t3, new_helix_idx); - t2 = domains_move.__domains_fixed_on_helix; - if (t2 == null) { - t2 = V.DomainsMove.prototype.get$domains_fixed_on_helix.call(domains_move); - domains_move.set$__domains_fixed_on_helix(t2); - } - domains_fixed = t2.$index(0, new_helix_idx); - if (domains_fixed.length === 0) - continue; - for (t2 = [true, false], t6 = H.instanceType(domains_moving), t8 = t6._eval$1("bool(1)"), t9 = t6._eval$1("WhereIterable<1>"), t10 = t6._eval$1("Point*(1)"), t6 = t6._eval$1("MappedIterable<1,Point*>"), t11 = t6._eval$1("Iterable.E"), t12 = H.instanceType(domains_fixed), t13 = t12._eval$1("bool(1)"), t14 = t12._eval$1("WhereIterable<1>"), t15 = t12._eval$1("Point*(1)"), t12 = t12._eval$1("MappedIterable<1,Point*>"), t16 = t12._eval$1("Iterable.E"), _i = 0; _i < 2; ++_i) { - $forward = t2[_i]; - intervals_moving = P.List_List$of(new H.MappedIterable(new H.WhereIterable(domains_moving, t8._as(new Q.is_allowable_closure3(delta_forward, $forward)), t9), t10._as(new Q.is_allowable_closure4(delta_offset)), t6), true, t11); - t17 = H._arrayInstanceType(intervals_moving); - t17._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_moving.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t17 = t17._precomputed1; - t18 = intervals_moving.length - 1; - if (t18 - 0 <= 32) - H.Sort__insertionSort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - else - H.Sort__dualPivotQuicksort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - t17 = intervals_moving.length; - if (t17 !== 0) { - if (0 >= t17) - return H.ioore(intervals_moving, 0); - t18 = intervals_moving[0].x; - t19 = new_helix.min_offset; - if (typeof t18 !== "number") - return t18.$lt(); - if (t18 < t19) - return false; - t18 = t17 - 1; - if (t18 < 0) - return H.ioore(intervals_moving, t18); - t18 = intervals_moving[t18].y; - t17 = new_helix.max_offset; - if (typeof t18 !== "number") - return t18.$ge(); - if (t18 >= t17) - return false; - intervals_fixed = P.List_List$of(new H.MappedIterable(new H.WhereIterable(domains_fixed, t13._as(new Q.is_allowable_closure5($forward)), t14), t15._as(new Q.is_allowable_closure6()), t12), true, t16); - t17 = H._arrayInstanceType(intervals_fixed); - t17._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_fixed.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t17 = t17._precomputed1; - t18 = intervals_fixed.length - 1; - if (t18 - 0 <= 32) - H.Sort__insertionSort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - else - H.Sort__dualPivotQuicksort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); - if (D.intersection(intervals_moving, intervals_fixed)) - return false; - } - } - } - return true; - }, - move_domain: function(current_group, delta_forward, delta_offset, delta_view_order, domain, original_group, set_first_last_false) { - var original_view_order = J.$index$asx(original_group.get$helices_view_order_inverse()._map$_map, domain.helix); - if (typeof original_view_order !== "number") - return original_view_order.$add(); - return domain.rebuild$1(new Q.move_domain_closure(set_first_last_false, J.$index$asx(current_group.helices_view_order._list, original_view_order + delta_view_order), delta_forward, domain, delta_offset)); + _$WarnOnExitIfUnsavedSet: function _$WarnOnExitIfUnsavedSet(t0) { + this.warn = t0; }, - domains_move_start_selected_domains_reducer_closure: function domains_move_start_selected_domains_reducer_closure() { + WarnOnExitIfUnsavedSetBuilder: function WarnOnExitIfUnsavedSetBuilder() { + this._warn = this._$v = null; }, - domains_adjust_address_reducer_closure: function domains_adjust_address_reducer_closure(t0) { - this.action = t0; + _$LoadingDialogShow: function _$LoadingDialogShow() { }, - domains_adjust_address_reducer_closure0: function domains_adjust_address_reducer_closure0(t0) { - this.allowable = t0; + _$LoadingDialogHide: function _$LoadingDialogHide() { }, - is_allowable_closure3: function is_allowable_closure3(t0, t1) { - this.delta_forward = t0; - this.forward = t1; + _$CopySelectedStandsToClipboardImage: function _$CopySelectedStandsToClipboardImage() { }, - is_allowable_closure4: function is_allowable_closure4(t0) { - this.delta_offset = t0; + CopySelectedStandsToClipboardImageBuilder: function CopySelectedStandsToClipboardImageBuilder() { + this._$v = null; }, - is_allowable_closure5: function is_allowable_closure5(t0) { - this.forward = t0; + _$SaveDNAFile: function _$SaveDNAFile() { }, - is_allowable_closure6: function is_allowable_closure6() { + SaveDNAFileBuilder: function SaveDNAFileBuilder() { + this._$v = null; }, - move_domain_closure: function move_domain_closure(t0, t1, t2, t3, t4) { + _$LoadDNAFile: function _$LoadDNAFile(t0, t1, t2, t3, t4) { var _ = this; - _.set_first_last_false = t0; - _.new_helix_idx = t1; - _.delta_forward = t2; - _.domain = t3; - _.delta_offset = t4; - }, - move_domain__closure: function move_domain__closure(t0) { - this.delta_offset = t0; - }, - move_domain__closure0: function move_domain__closure0(t0) { - this.delta_offset = t0; - }, - move_domain___closure: function move_domain___closure(t0, t1) { - this.i = t0; - this.delta_offset = t1; + _.content = t0; + _.write_local_storage = t1; + _.unit_testing = t2; + _.dna_file_type = t3; + _.filename = t4; }, - AppUIState__initializeBuilder: function(b) { - var t1, t2; - b.get$_app_ui_state$_$this()._copy_info = null; - b.get$_app_ui_state$_$this()._last_mod_5p = null; - b.get$_app_ui_state$_$this()._last_mod_3p = null; - b.get$_app_ui_state$_$this()._last_mod_int = null; - b.get$mouseover_datas().replace$1(0, []); - b.get$_app_ui_state$_$this()._selection_box_displayed_main = false; - b.get$_app_ui_state$_$this()._selection_box_displayed_side = false; - t1 = new E.SelectablesStoreBuilder(); - t2 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t1.get$_selectable$_$this().set$_selected_items(t2); - b.get$_app_ui_state$_$this()._selectables_store = t1; - b.get$_app_ui_state$_$this()._potential_crossover_is_drawing = false; - b.get$_app_ui_state$_$this()._dna_ends_are_moving = false; - b.get$_app_ui_state$_$this()._helix_group_is_moving = false; - b.get$_app_ui_state$_$this()._load_dialog = false; - b.get$_app_ui_state$_$this()._slice_bar_is_moving = false; - b.get$_app_ui_state$_$this()._changed_since_last_save = false; - b.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; - type$.legacy_Point_legacy_num._as(null); - b.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); - b.get$_app_ui_state$_$this()._strands_move = null; - b.get$_app_ui_state$_$this()._context_menu = null; - b.get$_app_ui_state$_$this()._dialog = null; - b.get$_app_ui_state$_$this()._color_picker_strand = null; - b.get$_app_ui_state$_$this()._color_picker_substrand = null; - b.get$_app_ui_state$_$this()._strand_creation = null; - b.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; - t1 = $.$get$DEFAULT_example_designs_builder(); - b.get$_app_ui_state$_$this()._example_designs = t1; - t1 = $.$get$DEFAULT_dna_assign_options_builder(); - b.get$_app_ui_state$_$this()._dna_assign_options = t1; - b.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; - b.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; - b.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; - b.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; - b.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; - t1 = b.get$storables(); - t2 = $.$get$DEFAULT_AppUIStateStorable(); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._app_ui_state_storables$_$v = t2; + LoadDNAFileBuilder: function LoadDNAFileBuilder() { + var _ = this; + _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; }, - AppUIStateBuilder$: function() { - var t2, t3, - t1 = new Q.AppUIStateBuilder(); - t1.get$_app_ui_state$_$this()._copy_info = null; - t1.get$_app_ui_state$_$this()._last_mod_5p = null; - t1.get$_app_ui_state$_$this()._last_mod_3p = null; - t1.get$_app_ui_state$_$this()._last_mod_int = null; - t1.get$mouseover_datas().replace$1(0, []); - t1.get$_app_ui_state$_$this()._selection_box_displayed_main = false; - t1.get$_app_ui_state$_$this()._selection_box_displayed_side = false; - t2 = new E.SelectablesStoreBuilder(); - t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t2.get$_selectable$_$this().set$_selected_items(t3); - t1.get$_app_ui_state$_$this()._selectables_store = t2; - t1.get$_app_ui_state$_$this()._potential_crossover_is_drawing = false; - t1.get$_app_ui_state$_$this()._dna_ends_are_moving = false; - t1.get$_app_ui_state$_$this()._helix_group_is_moving = false; - t1.get$_app_ui_state$_$this()._load_dialog = false; - t1.get$_app_ui_state$_$this()._slice_bar_is_moving = false; - t1.get$_app_ui_state$_$this()._changed_since_last_save = false; - t1.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; - type$.legacy_Point_legacy_num._as(null); - t1.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); - t1.get$_app_ui_state$_$this()._strands_move = null; - t1.get$_app_ui_state$_$this()._context_menu = null; - t1.get$_app_ui_state$_$this()._dialog = null; - t1.get$_app_ui_state$_$this()._color_picker_strand = null; - t1.get$_app_ui_state$_$this()._color_picker_substrand = null; - t1.get$_app_ui_state$_$this()._strand_creation = null; - t1.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; - t2 = $.$get$DEFAULT_example_designs_builder(); - t1.get$_app_ui_state$_$this()._example_designs = t2; - t2 = $.$get$DEFAULT_dna_assign_options_builder(); - t1.get$_app_ui_state$_$this()._dna_assign_options = t2; - t1.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; - t1.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; - t1.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; - t1.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; - t1.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; - t2 = t1.get$storables(); - t3 = $.$get$DEFAULT_AppUIStateStorable(); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._app_ui_state_storables$_$v = t3; - return t1; + _$PrepareToLoadDNAFile: function _$PrepareToLoadDNAFile(t0, t1, t2, t3, t4) { + var _ = this; + _.content = t0; + _.write_local_storage = t1; + _.unit_testing = t2; + _.dna_file_type = t3; + _.filename = t4; }, - AppUIState: function AppUIState() { + PrepareToLoadDNAFileBuilder: function PrepareToLoadDNAFileBuilder() { + var _ = this; + _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; }, - _$AppUIStateSerializer: function _$AppUIStateSerializer() { + _$NewDesignSet: function _$NewDesignSet(t0, t1) { + this.design = t0; + this.short_description_value = t1; }, - _$AppUIState: function _$AppUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33) { - var _ = this; - _.selectables_store = t0; - _.strands_move = t1; - _.domains_move = t2; - _.copy_info = t3; - _.potential_crossover_is_drawing = t4; - _.dna_ends_are_moving = t5; - _.helix_group_is_moving = t6; - _.load_dialog = t7; - _.slice_bar_is_moving = t8; - _.selection_box_displayed_main = t9; - _.selection_box_displayed_side = t10; - _.dna_assign_options = t11; - _.helix_change_apply_to_all = t12; - _.selection_rope = t13; - _.last_mod_5p = t14; - _.last_mod_3p = t15; - _.last_mod_int = t16; - _.mouseover_datas = t17; - _.example_designs = t18; - _.dialog = t19; - _.color_picker_strand = t20; - _.color_picker_substrand = t21; - _.strand_creation = t22; - _.side_view_grid_position_mouse_cursor = t23; - _.side_view_position_mouse_cursor = t24; - _.context_menu = t25; - _.changed_since_last_save = t26; - _.dna_sequence_png_uri = t27; - _.dna_sequence_png_horizontal_offset = t28; - _.dna_sequence_png_vertical_offset = t29; - _.export_svg_action_delayed_for_png_cache = t30; - _.is_zoom_above_threshold = t31; - _.storables = t32; - _.original_helix_offsets = t33; - _.__hashCode = null; + NewDesignSetBuilder: function NewDesignSetBuilder() { + this._short_description_value = this._actions$_design = this._$v = null; }, - AppUIStateBuilder: function AppUIStateBuilder() { - var _ = this; - _._dna_sequence_png_horizontal_offset = _._dna_sequence_png_uri = _._changed_since_last_save = _._context_menu = _._side_view_position_mouse_cursor = _._side_view_grid_position_mouse_cursor = _._strand_creation = _._color_picker_substrand = _._color_picker_strand = _._dialog = _._example_designs = _._mouseover_datas = _._last_mod_int = _._last_mod_3p = _._last_mod_5p = _._selection_rope = _._helix_change_apply_to_all = _._dna_assign_options = _._selection_box_displayed_side = _._selection_box_displayed_main = _._slice_bar_is_moving = _._load_dialog = _._helix_group_is_moving = _._dna_ends_are_moving = _._potential_crossover_is_drawing = _._copy_info = _._domains_move = _._strands_move = _._selectables_store = _._app_ui_state$_$v = null; - _._original_helix_offsets = _._storables = _._is_zoom_above_threshold = _._export_svg_action_delayed_for_png_cache = _._dna_sequence_png_vertical_offset = null; + _$ExportCadnanoFile: function _$ExportCadnanoFile(t0) { + this.whitespace = t0; + this._actions$__hashCode = null; }, - _AppUIState_Object_BuiltJsonSerializable: function _AppUIState_Object_BuiltJsonSerializable() { + ExportCadnanoFileBuilder: function ExportCadnanoFileBuilder() { + this._whitespace = this._$v = null; }, - _$DesignLoadingDialog: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Q._$$DesignLoadingDialogProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignLoadingDialogProps__$$DesignLoadingDialogProps(backingProps); + _$ExportCodenanoFile: function _$ExportCodenanoFile() { }, - _$$DesignLoadingDialogProps__$$DesignLoadingDialogProps: function(backingMap) { - var t1; - if (backingMap instanceof L.JsBackedMap) - return Q._$$DesignLoadingDialogProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Q._$$DesignLoadingDialogProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_loading_dialog$_props = backingMap; - return t1; - } + _$ShowMouseoverDataSet: function _$ShowMouseoverDataSet(t0) { + this.show = t0; }, - _$$DesignLoadingDialogProps$JsMap$: function(backingMap) { - var t1 = new Q._$$DesignLoadingDialogProps$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_loading_dialog$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + ShowMouseoverDataSetBuilder: function ShowMouseoverDataSetBuilder() { + this._show = this._$v = null; }, - ConnectedLoadingDialog_closure: function ConnectedLoadingDialog_closure() { + _$MouseoverDataClear: function _$MouseoverDataClear() { }, - DesignLoadingDialogProps: function DesignLoadingDialogProps() { + MouseoverDataClearBuilder: function MouseoverDataClearBuilder() { + this._$v = null; }, - DesignLoadingDialogComponent: function DesignLoadingDialogComponent() { + _$MouseoverDataUpdate: function _$MouseoverDataUpdate(t0) { + this.mouseover_params = t0; }, - $DesignLoadingDialogComponentFactory_closure: function $DesignLoadingDialogComponentFactory_closure() { + MouseoverDataUpdateBuilder: function MouseoverDataUpdateBuilder() { + this._mouseover_params = this._$v = null; }, - _$$DesignLoadingDialogProps: function _$$DesignLoadingDialogProps() { + _$HelixRollSet: function _$HelixRollSet(t0, t1) { + this.helix_idx = t0; + this.roll = t1; }, - _$$DesignLoadingDialogProps$PlainMap: function _$$DesignLoadingDialogProps$PlainMap(t0, t1, t2, t3) { - var _ = this; - _._design_loading_dialog$_props = t0; - _.DesignLoadingDialogProps_show = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + HelixRollSetBuilder: function HelixRollSetBuilder() { + this._actions$_roll = this._actions$_helix_idx = this._$v = null; }, - _$$DesignLoadingDialogProps$JsMap: function _$$DesignLoadingDialogProps$JsMap(t0, t1, t2, t3) { + _$HelixRollSetAtOther: function _$HelixRollSetAtOther(t0, t1, t2, t3) { var _ = this; - _._design_loading_dialog$_props = t0; - _.DesignLoadingDialogProps_show = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + _.helix_idx = t0; + _.helix_other_idx = t1; + _.forward = t2; + _.anchor = t3; }, - _$DesignLoadingDialogComponent: function _$DesignLoadingDialogComponent(t0) { + HelixRollSetAtOtherBuilder: function HelixRollSetAtOtherBuilder() { var _ = this; - _._design_loading_dialog$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _._anchor = _._actions$_forward = _._helix_other_idx = _._actions$_helix_idx = _._$v = null; }, - $DesignLoadingDialogProps: function $DesignLoadingDialogProps() { + _$RelaxHelixRolls: function _$RelaxHelixRolls(t0) { + this.only_selected = t0; }, - __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps() { + RelaxHelixRollsBuilder: function RelaxHelixRollsBuilder() { + this._only_selected = this._$v = null; }, - __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps() { + _$ErrorMessageSet: function _$ErrorMessageSet(t0) { + this.error_message = t0; }, - _$DesignMainArrows: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Q._$$DesignMainArrowsProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainArrowsProps__$$DesignMainArrowsProps(backingProps); + ErrorMessageSetBuilder: function ErrorMessageSetBuilder() { + this._actions$_error_message = this._$v = null; }, - _$$DesignMainArrowsProps__$$DesignMainArrowsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Q._$$DesignMainArrowsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Q._$$DesignMainArrowsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_arrows$_props = backingMap; - return t1; - } + _$SelectionBoxCreate: function _$SelectionBoxCreate(t0, t1, t2) { + this.point = t0; + this.toggle = t1; + this.is_main = t2; }, - _$$DesignMainArrowsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Q._$$DesignMainArrowsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_arrows$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + SelectionBoxCreateBuilder: function SelectionBoxCreateBuilder() { + var _ = this; + _._actions$_is_main = _._actions$_toggle = _._point = _._$v = null; }, - ConnectedDesignMainArrows_closure: function ConnectedDesignMainArrows_closure() { + _$SelectionBoxSizeChange: function _$SelectionBoxSizeChange(t0, t1) { + this.point = t0; + this.is_main = t1; }, - DesignMainArrowsProps: function DesignMainArrowsProps() { + SelectionBoxSizeChangeBuilder: function SelectionBoxSizeChangeBuilder() { + this._actions$_is_main = this._point = this._$v = null; }, - DesignMainArrowsComponent: function DesignMainArrowsComponent() { + _$SelectionBoxRemove: function _$SelectionBoxRemove(t0) { + this.is_main = t0; }, - $DesignMainArrowsComponentFactory_closure0: function $DesignMainArrowsComponentFactory_closure0() { + SelectionBoxRemoveBuilder: function SelectionBoxRemoveBuilder() { + this._actions$_is_main = this._$v = null; }, - _$$DesignMainArrowsProps: function _$$DesignMainArrowsProps() { + _$SelectionRopeCreate: function _$SelectionRopeCreate(t0) { + this.toggle = t0; + this._actions$__hashCode = null; }, - _$$DesignMainArrowsProps$PlainMap: function _$$DesignMainArrowsProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_main_arrows$_props = t0; - _.DesignMainArrowsProps_invert_y = t1; - _.DesignMainArrowsProps_show_helices_axis_arrows = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + SelectionRopeCreateBuilder: function SelectionRopeCreateBuilder() { + this._actions$_toggle = this._$v = null; }, - _$$DesignMainArrowsProps$JsMap: function _$$DesignMainArrowsProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_main_arrows$_props = t0; - _.DesignMainArrowsProps_invert_y = t1; - _.DesignMainArrowsProps_show_helices_axis_arrows = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + _$SelectionRopeMouseMove: function _$SelectionRopeMouseMove(t0, t1) { + this.point = t0; + this.is_main_view = t1; + this._actions$__hashCode = null; }, - _$DesignMainArrowsComponent0: function _$DesignMainArrowsComponent0(t0) { - var _ = this; - _._design_main_arrows$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + SelectionRopeMouseMoveBuilder: function SelectionRopeMouseMoveBuilder() { + this._is_main_view = this._point = this._$v = null; }, - $DesignMainArrowsProps: function $DesignMainArrowsProps() { + _$SelectionRopeAddPoint: function _$SelectionRopeAddPoint(t0, t1) { + this.point = t0; + this.is_main_view = t1; + this._actions$__hashCode = null; }, - __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps: function __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps() { + SelectionRopeAddPointBuilder: function SelectionRopeAddPointBuilder() { + this._is_main_view = this._point = this._$v = null; }, - __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps: function __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps() { + _$SelectionRopeRemove: function _$SelectionRopeRemove() { }, - _$DesignMainStrandCrossover: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Q._$$DesignMainStrandCrossoverProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps(backingProps); + _$MouseGridPositionSideUpdate: function _$MouseGridPositionSideUpdate(t0) { + this.grid_position = t0; }, - _$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Q._$$DesignMainStrandCrossoverProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Q._$$DesignMainStrandCrossoverProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_crossover$_props = backingMap; - return t1; - } + MouseGridPositionSideUpdateBuilder: function MouseGridPositionSideUpdateBuilder() { + this._actions$_grid_position = this._$v = null; }, - _$$DesignMainStrandCrossoverProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Q._$$DesignMainStrandCrossoverProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_crossover$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$MouseGridPositionSideClear: function _$MouseGridPositionSideClear() { }, - _$$DesignMainStrandCrossoverState$JsMap$: function(backingMap) { - var t1 = new Q._$$DesignMainStrandCrossoverState$JsMap(new L.JsBackedMap({}), null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_crossover$_state = backingMap; - return t1; + MouseGridPositionSideClearBuilder: function MouseGridPositionSideClearBuilder() { + this._$v = null; }, - DesignMainStrandCrossoverPropsMixin: function DesignMainStrandCrossoverPropsMixin() { + _$MousePositionSideUpdate: function _$MousePositionSideUpdate(t0) { + this.svg_pos = t0; }, - DesignMainStrandCrossoverState: function DesignMainStrandCrossoverState() { + MousePositionSideUpdateBuilder: function MousePositionSideUpdateBuilder() { + this._svg_pos = this._$v = null; }, - DesignMainStrandCrossoverComponent: function DesignMainStrandCrossoverComponent() { + _$MousePositionSideClear: function _$MousePositionSideClear() { }, - DesignMainStrandCrossoverComponent_render_closure: function DesignMainStrandCrossoverComponent_render_closure(t0) { - this.$this = t0; + MousePositionSideClearBuilder: function MousePositionSideClearBuilder() { + this._$v = null; }, - DesignMainStrandCrossoverComponent_render_closure0: function DesignMainStrandCrossoverComponent_render_closure0(t0) { - this.$this = t0; + _$GeometrySet: function _$GeometrySet(t0) { + this.geometry = t0; }, - DesignMainStrandCrossoverComponent_render_closure1: function DesignMainStrandCrossoverComponent_render_closure1(t0) { - this.$this = t0; + GeometrySetBuilder: function GeometrySetBuilder() { + this._actions$_geometry = this._$v = null; }, - DesignMainStrandCrossoverComponent_render_closure2: function DesignMainStrandCrossoverComponent_render_closure2(t0) { - this.$this = t0; + _$SelectionBoxIntersectionRuleSet: function _$SelectionBoxIntersectionRuleSet(t0) { + this.intersect = t0; + this._actions$__hashCode = null; }, - $DesignMainStrandCrossoverComponentFactory_closure: function $DesignMainStrandCrossoverComponentFactory_closure() { + SelectionBoxIntersectionRuleSetBuilder: function SelectionBoxIntersectionRuleSetBuilder() { + this._intersect = this._$v = null; }, - _$$DesignMainStrandCrossoverProps: function _$$DesignMainStrandCrossoverProps() { + _$Select: function _$Select(t0, t1, t2) { + this.selectable = t0; + this.toggle = t1; + this.only = t2; }, - _$$DesignMainStrandCrossoverProps$PlainMap: function _$$DesignMainStrandCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { + SelectBuilder: function SelectBuilder() { var _ = this; - _._design_main_strand_crossover$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandCrossoverPropsMixin_crossover = t4; - _.DesignMainStrandCrossoverPropsMixin_strand = t5; - _.DesignMainStrandCrossoverPropsMixin_prev_domain = t6; - _.DesignMainStrandCrossoverPropsMixin_next_domain = t7; - _.DesignMainStrandCrossoverPropsMixin_selected = t8; - _.DesignMainStrandCrossoverPropsMixin_helices = t9; - _.DesignMainStrandCrossoverPropsMixin_groups = t10; - _.DesignMainStrandCrossoverPropsMixin_geometry = t11; - _.DesignMainStrandCrossoverPropsMixin_prev_domain_helix_svg_position_y = t12; - _.DesignMainStrandCrossoverPropsMixin_next_domain_helix_svg_position_y = t13; - _.DesignMainStrandCrossoverPropsMixin_retain_strand_color_on_selection = t14; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t15; - _.UbiquitousDomPropsMixin__dom = t16; + _._only = _._actions$_toggle = _._selectable = _._$v = null; }, - _$$DesignMainStrandCrossoverProps$JsMap: function _$$DesignMainStrandCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { - var _ = this; - _._design_main_strand_crossover$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandCrossoverPropsMixin_crossover = t4; - _.DesignMainStrandCrossoverPropsMixin_strand = t5; - _.DesignMainStrandCrossoverPropsMixin_prev_domain = t6; - _.DesignMainStrandCrossoverPropsMixin_next_domain = t7; - _.DesignMainStrandCrossoverPropsMixin_selected = t8; - _.DesignMainStrandCrossoverPropsMixin_helices = t9; - _.DesignMainStrandCrossoverPropsMixin_groups = t10; - _.DesignMainStrandCrossoverPropsMixin_geometry = t11; - _.DesignMainStrandCrossoverPropsMixin_prev_domain_helix_svg_position_y = t12; - _.DesignMainStrandCrossoverPropsMixin_next_domain_helix_svg_position_y = t13; - _.DesignMainStrandCrossoverPropsMixin_retain_strand_color_on_selection = t14; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t15; - _.UbiquitousDomPropsMixin__dom = t16; + _$SelectionsClear: function _$SelectionsClear() { }, - _$$DesignMainStrandCrossoverState: function _$$DesignMainStrandCrossoverState() { + SelectionsClearBuilder: function SelectionsClearBuilder() { + this._$v = null; }, - _$$DesignMainStrandCrossoverState$JsMap: function _$$DesignMainStrandCrossoverState$JsMap(t0, t1) { - this._design_main_strand_crossover$_state = t0; - this.DesignMainStrandCrossoverState_mouse_hover = t1; + _$SelectionsAdjustMainView: function _$SelectionsAdjustMainView(t0, t1) { + this.toggle = t0; + this.box = t1; }, - _$DesignMainStrandCrossoverComponent: function _$DesignMainStrandCrossoverComponent(t0) { - var _ = this; - _._design_main_strand_crossover$_cachedTypedState = _._design_main_strand_crossover$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + SelectionsAdjustMainViewBuilder: function SelectionsAdjustMainViewBuilder() { + this._box = this._actions$_toggle = this._$v = null; }, - $DesignMainStrandCrossoverPropsMixin: function $DesignMainStrandCrossoverPropsMixin() { + _$SelectOrToggleItems: function _$SelectOrToggleItems(t0, t1) { + this.items = t0; + this.toggle = t1; }, - $DesignMainStrandCrossoverState: function $DesignMainStrandCrossoverState() { + SelectOrToggleItemsBuilder: function SelectOrToggleItemsBuilder() { + this._actions$_toggle = this._actions$_items = this._$v = null; }, - _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent: function _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent() { + _$SelectAll: function _$SelectAll(t0, t1) { + this.selectables = t0; + this.only = t1; }, - _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup() { + SelectAllBuilder: function SelectAllBuilder() { + this._only = this._selectables = this._$v = null; }, - __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin() { + _$SelectAllSelectable: function _$SelectAllSelectable(t0) { + this.current_helix_group_only = t0; }, - __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin() { + SelectAllSelectableBuilder: function SelectAllSelectableBuilder() { + this._current_helix_group_only = this._$v = null; }, - __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin() { + _$SelectAllStrandsWithSameAsSelected: function _$SelectAllStrandsWithSameAsSelected(t0, t1, t2) { + this.template_strands = t0; + this.traits = t1; + this.exclude_scaffolds = t2; }, - __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + SelectAllStrandsWithSameAsSelectedBuilder: function SelectAllStrandsWithSameAsSelectedBuilder() { + var _ = this; + _._exclude_scaffolds = _._traits = _._template_strands = _._$v = null; }, - __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState() { + _$DeleteAllSelected: function _$DeleteAllSelected() { }, - __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState() { + DeleteAllSelectedBuilder: function DeleteAllSelectedBuilder() { + this._$v = null; }, - ask_for_num_bases: function(title, current_num_bases, lower_bound) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_int), - $async$returnValue, results, num_bases, items; - var $async$ask_for_num_bases = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("number of bases:", null, current_num_bases)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), title, C.DialogType_set_extension_num_bases, false)), $async$ask_for_num_bases); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - $async$returnValue = current_num_bases; - // goto return - $async$goto = 1; - break; - } - num_bases = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); - if (num_bases < lower_bound) { - C.Window_methods.alert$1(window, "number of bases must be at least " + lower_bound + ", but you entered " + num_bases); - $async$returnValue = current_num_bases; - // goto return - $async$goto = 1; - break; - } - $async$returnValue = num_bases; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_num_bases, $async$completer); + _$HelixAdd: function _$HelixAdd(t0, t1) { + this.grid_position = t0; + this.position = t1; }, - _$DesignMainExtension: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Q._$$DesignMainExtensionProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainExtensionProps__$$DesignMainExtensionProps(backingProps); + HelixAddBuilder: function HelixAddBuilder() { + this._actions$_position = this._actions$_grid_position = this._$v = null; }, - _$$DesignMainExtensionProps__$$DesignMainExtensionProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Q._$$DesignMainExtensionProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Q._$$DesignMainExtensionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_extension$_props = backingMap; - return t1; - } + _$HelixRemove: function _$HelixRemove(t0) { + this.helix_idx = t0; }, - _$$DesignMainExtensionProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Q._$$DesignMainExtensionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_extension$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + HelixRemoveBuilder: function HelixRemoveBuilder() { + this._actions$_helix_idx = this._$v = null; }, - DesignMainExtensionPropsMixin: function DesignMainExtensionPropsMixin() { + _$HelixRemoveAllSelected: function _$HelixRemoveAllSelected() { }, - DesignMainExtensionComponent: function DesignMainExtensionComponent() { + HelixRemoveAllSelectedBuilder: function HelixRemoveAllSelectedBuilder() { + this._$v = null; }, - DesignMainExtensionComponent_context_menu_extension_closure: function DesignMainExtensionComponent_context_menu_extension_closure() { + _$HelixSelect: function _$HelixSelect(t0, t1) { + this.helix_idx = t0; + this.toggle = t1; }, - DesignMainExtensionComponent_context_menu_extension__closure0: function DesignMainExtensionComponent_context_menu_extension__closure0() { + HelixSelectBuilder: function HelixSelectBuilder() { + this._actions$_toggle = this._actions$_helix_idx = this._$v = null; }, - DesignMainExtensionComponent_context_menu_extension_closure0: function DesignMainExtensionComponent_context_menu_extension_closure0() { + _$HelixSelectionsClear: function _$HelixSelectionsClear() { }, - DesignMainExtensionComponent_context_menu_extension__closure: function DesignMainExtensionComponent_context_menu_extension__closure() { + HelixSelectionsClearBuilder: function HelixSelectionsClearBuilder() { + this._$v = null; }, - DesignMainExtensionComponent_context_menu_extension_closure1: function DesignMainExtensionComponent_context_menu_extension_closure1(t0) { - this.$this = t0; + _$HelixSelectionsAdjust: function _$HelixSelectionsAdjust(t0, t1) { + this.toggle = t0; + this.selection_box = t1; }, - DesignMainExtensionComponent_context_menu_extension_closure2: function DesignMainExtensionComponent_context_menu_extension_closure2(t0) { - this.$this = t0; + HelixSelectionsAdjustBuilder: function HelixSelectionsAdjustBuilder() { + this._selection_box = this._actions$_toggle = this._$v = null; }, - DesignMainExtensionComponent_extension_num_bases_change_closure: function DesignMainExtensionComponent_extension_num_bases_change_closure(t0) { - this.$this = t0; + _$HelixMajorTickDistanceChange: function _$HelixMajorTickDistanceChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_distance = t1; }, - DesignMainExtensionComponent_set_extension_label_closure: function DesignMainExtensionComponent_set_extension_label_closure(t0) { - this.$this = t0; + HelixMajorTickDistanceChangeBuilder: function HelixMajorTickDistanceChangeBuilder() { + this._major_tick_distance = this._actions$_helix_idx = this._$v = null; }, - DesignMainExtensionComponent_ask_for_extension_name_closure: function DesignMainExtensionComponent_ask_for_extension_name_closure(t0) { - this.name = t0; + _$HelixMajorTickDistanceChangeAll: function _$HelixMajorTickDistanceChangeAll(t0) { + this.major_tick_distance = t0; }, - $DesignMainExtensionComponentFactory_closure: function $DesignMainExtensionComponentFactory_closure() { + HelixMajorTickDistanceChangeAllBuilder: function HelixMajorTickDistanceChangeAllBuilder() { + this._major_tick_distance = this._$v = null; }, - _$$DesignMainExtensionProps: function _$$DesignMainExtensionProps() { + _$HelixMajorTickStartChange: function _$HelixMajorTickStartChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_start = t1; }, - _$$DesignMainExtensionProps$PlainMap: function _$$DesignMainExtensionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_strand_extension$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainExtensionPropsMixin_ext = t4; - _.DesignMainExtensionPropsMixin_adjacent_domain = t5; - _.DesignMainExtensionPropsMixin_adjacent_helix = t6; - _.DesignMainExtensionPropsMixin_strand_color = t7; - _.DesignMainExtensionPropsMixin_strand = t8; - _.DesignMainExtensionPropsMixin_strand_tooltip = t9; - _.DesignMainExtensionPropsMixin_transform = t10; - _.DesignMainExtensionPropsMixin_adjacent_helix_svg_position = t11; - _.DesignMainExtensionPropsMixin_selected = t12; - _.DesignMainExtensionPropsMixin_helices = t13; - _.DesignMainExtensionPropsMixin_groups = t14; - _.DesignMainExtensionPropsMixin_geometry = t15; - _.DesignMainExtensionPropsMixin_retain_strand_color_on_selection = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + HelixMajorTickStartChangeBuilder: function HelixMajorTickStartChangeBuilder() { + this._actions$_major_tick_start = this._actions$_helix_idx = this._$v = null; }, - _$$DesignMainExtensionProps$JsMap: function _$$DesignMainExtensionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { - var _ = this; - _._design_main_strand_extension$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainExtensionPropsMixin_ext = t4; - _.DesignMainExtensionPropsMixin_adjacent_domain = t5; - _.DesignMainExtensionPropsMixin_adjacent_helix = t6; - _.DesignMainExtensionPropsMixin_strand_color = t7; - _.DesignMainExtensionPropsMixin_strand = t8; - _.DesignMainExtensionPropsMixin_strand_tooltip = t9; - _.DesignMainExtensionPropsMixin_transform = t10; - _.DesignMainExtensionPropsMixin_adjacent_helix_svg_position = t11; - _.DesignMainExtensionPropsMixin_selected = t12; - _.DesignMainExtensionPropsMixin_helices = t13; - _.DesignMainExtensionPropsMixin_groups = t14; - _.DesignMainExtensionPropsMixin_geometry = t15; - _.DesignMainExtensionPropsMixin_retain_strand_color_on_selection = t16; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t17; - _.UbiquitousDomPropsMixin__dom = t18; + _$HelixMajorTickStartChangeAll: function _$HelixMajorTickStartChangeAll(t0) { + this.major_tick_start = t0; }, - _$DesignMainExtensionComponent: function _$DesignMainExtensionComponent(t0) { - var _ = this; - _._design_main_strand_extension$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + HelixMajorTickStartChangeAllBuilder: function HelixMajorTickStartChangeAllBuilder() { + this._actions$_major_tick_start = this._$v = null; }, - $DesignMainExtensionPropsMixin: function $DesignMainExtensionPropsMixin() { + _$HelixMajorTicksChange: function _$HelixMajorTicksChange(t0, t1) { + this.helix_idx = t0; + this.major_ticks = t1; }, - _DesignMainExtensionComponent_UiComponent2_PureComponent: function _DesignMainExtensionComponent_UiComponent2_PureComponent() { + HelixMajorTicksChangeBuilder: function HelixMajorTicksChangeBuilder() { + this._actions$_major_ticks = this._actions$_helix_idx = this._$v = null; }, - _DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _$HelixMajorTicksChangeAll: function _$HelixMajorTicksChangeAll(t0) { + this.major_ticks = t0; }, - __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin() { + HelixMajorTicksChangeAllBuilder: function HelixMajorTicksChangeAllBuilder() { + this._actions$_major_ticks = this._$v = null; }, - __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin() { + _$HelixMajorTickPeriodicDistancesChange: function _$HelixMajorTickPeriodicDistancesChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_periodic_distances = t1; }, - __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin() { + HelixMajorTickPeriodicDistancesChangeBuilder: function HelixMajorTickPeriodicDistancesChangeBuilder() { + this._actions$_major_tick_periodic_distances = this._actions$_helix_idx = this._$v = null; }, - __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + _$HelixMajorTickPeriodicDistancesChangeAll: function _$HelixMajorTickPeriodicDistancesChangeAll(t0) { + this.major_tick_periodic_distances = t0; }, - _$SideMenu: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Q._$$SideMenuProps$JsMap$(new L.JsBackedMap({})) : Q._$$SideMenuProps__$$SideMenuProps(backingProps); + HelixMajorTickPeriodicDistancesChangeAllBuilder: function HelixMajorTickPeriodicDistancesChangeAllBuilder() { + this._actions$_major_tick_periodic_distances = this._$v = null; }, - _$$SideMenuProps__$$SideMenuProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Q._$$SideMenuProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Q._$$SideMenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_side$_props = backingMap; - return t1; - } + _$HelixIdxsChange: function _$HelixIdxsChange(t0) { + this.idx_replacements = t0; }, - _$$SideMenuProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Q._$$SideMenuProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_side$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + HelixIdxsChangeBuilder: function HelixIdxsChangeBuilder() { + this._idx_replacements = this._$v = null; }, - ConnectedSideMenu_closure: function ConnectedSideMenu_closure() { + _$HelixOffsetChange: function _$HelixOffsetChange(t0, t1, t2) { + this.helix_idx = t0; + this.min_offset = t1; + this.max_offset = t2; }, - SideMenuPropsMixin: function SideMenuPropsMixin() { + HelixOffsetChangeBuilder: function HelixOffsetChangeBuilder() { + var _ = this; + _._actions$_max_offset = _._actions$_min_offset = _._actions$_helix_idx = _._$v = null; }, - SideMenuComponent: function SideMenuComponent() { + _$HelixMinOffsetSetByDomains: function _$HelixMinOffsetSetByDomains(t0) { + this.helix_idx = t0; }, - SideMenuComponent_groups_menu_closure: function SideMenuComponent_groups_menu_closure(t0) { - this.name = t0; + HelixMinOffsetSetByDomainsBuilder: function HelixMinOffsetSetByDomainsBuilder() { + this._actions$_helix_idx = this._$v = null; }, - SideMenuComponent_groups_menu_closure0: function SideMenuComponent_groups_menu_closure0(t0) { - this.$this = t0; + _$HelixMaxOffsetSetByDomains: function _$HelixMaxOffsetSetByDomains(t0) { + this.helix_idx = t0; }, - SideMenuComponent_groups_menu_closure1: function SideMenuComponent_groups_menu_closure1(t0) { - this.$this = t0; + HelixMaxOffsetSetByDomainsBuilder: function HelixMaxOffsetSetByDomainsBuilder() { + this._actions$_helix_idx = this._$v = null; }, - SideMenuComponent_groups_menu_closure2: function SideMenuComponent_groups_menu_closure2(t0) { - this.$this = t0; + _$HelixMinOffsetSetByDomainsAll: function _$HelixMinOffsetSetByDomainsAll() { }, - SideMenuComponent_groups_menu_closure3: function SideMenuComponent_groups_menu_closure3(t0) { - this.$this = t0; + HelixMinOffsetSetByDomainsAllBuilder: function HelixMinOffsetSetByDomainsAllBuilder() { + this._$v = null; }, - SideMenuComponent_grid_menu_closure: function SideMenuComponent_grid_menu_closure(t0, t1) { - this.$this = t0; - this.grid = t1; + _$HelixMaxOffsetSetByDomainsAll: function _$HelixMaxOffsetSetByDomainsAll() { }, - SideMenuComponent_add_new_group_closure: function SideMenuComponent_add_new_group_closure(t0, t1) { - this.$this = t0; - this.existing_names = t1; + HelixMaxOffsetSetByDomainsAllBuilder: function HelixMaxOffsetSetByDomainsAllBuilder() { + this._$v = null; }, - SideMenuComponent_ask_new_helix_indices_for_current_group_closure: function SideMenuComponent_ask_new_helix_indices_for_current_group_closure(t0) { - this.items = t0; + _$HelixMaxOffsetSetByDomainsAllSameMax: function _$HelixMaxOffsetSetByDomainsAllSameMax() { }, - SideMenuComponent_ask_new_helix_indices_for_current_group__closure: function SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t0) { - this.saved_item = t0; + HelixMaxOffsetSetByDomainsAllSameMaxBuilder: function HelixMaxOffsetSetByDomainsAllSameMaxBuilder() { + this._$v = null; }, - $SideMenuComponentFactory_closure: function $SideMenuComponentFactory_closure() { + _$HelixOffsetChangeAll: function _$HelixOffsetChangeAll(t0, t1) { + this.min_offset = t0; + this.max_offset = t1; }, - _$$SideMenuProps: function _$$SideMenuProps() { + HelixOffsetChangeAllBuilder: function HelixOffsetChangeAllBuilder() { + this._actions$_max_offset = this._actions$_min_offset = this._$v = null; }, - _$$SideMenuProps$PlainMap: function _$$SideMenuProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._menu_side$_props = t0; - _.SideMenuPropsMixin_groups = t1; - _.SideMenuPropsMixin_displayed_group_name = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + _$ShowMouseoverRectSet: function _$ShowMouseoverRectSet(t0) { + this.show = t0; }, - _$$SideMenuProps$JsMap: function _$$SideMenuProps$JsMap(t0, t1, t2, t3, t4) { + ShowMouseoverRectSetBuilder: function ShowMouseoverRectSetBuilder() { + this._show = this._$v = null; + }, + _$ShowMouseoverRectToggle: function _$ShowMouseoverRectToggle() { + }, + _$ExportDNA: function _$ExportDNA(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _._menu_side$_props = t0; - _.SideMenuPropsMixin_groups = t1; - _.SideMenuPropsMixin_displayed_group_name = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + _.include_scaffold = t0; + _.include_only_selected_strands = t1; + _.exclude_selected_strands = t2; + _.export_dna_format = t3; + _.strand_order = t4; + _.column_major_strand = t5; + _.column_major_plate = t6; + _.delimiter = t7; + _.domain_delimiter = t8; }, - _$SideMenuComponent: function _$SideMenuComponent(t0, t1, t2, t3) { + ExportDNABuilder: function ExportDNABuilder() { var _ = this; - _._menu_side$_cachedTypedProps = null; - _.RedrawCounterMixin__desiredRedrawCount = t0; - _.RedrawCounterMixin__didRedraw = t1; - _.RedrawCounterMixin_redrawCount = t2; - _.DisposableManagerProxy__disposableProxy = t3; - _.jsThis = _.state = _.props = null; + _._domain_delimiter = _._delimiter = _._column_major_plate = _._column_major_strand = _._strand_order = _._export_dna_format = _._exclude_selected_strands = _._include_only_selected_strands = _._include_scaffold = _._$v = null; }, - $SideMenuPropsMixin: function $SideMenuPropsMixin() { + _$ExportCanDoDNA: function _$ExportCanDoDNA() { }, - _SideMenuComponent_UiComponent2_RedrawCounterMixin: function _SideMenuComponent_UiComponent2_RedrawCounterMixin() { + ExportCanDoDNABuilder: function ExportCanDoDNABuilder() { + this._$v = null; }, - __$$SideMenuProps_UiProps_SideMenuPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin() { + _$ExportSvg: function _$ExportSvg(t0) { + this.type = t0; }, - __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin() { + ExportSvgBuilder: function ExportSvgBuilder() { + this._type = this._$v = null; }, - __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin() { + _$ExportSvgTextSeparatelySet: function _$ExportSvgTextSeparatelySet(t0) { + this.export_svg_text_separately = t0; }, - __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + ExportSvgTextSeparatelySetBuilder: function ExportSvgTextSeparatelySetBuilder() { + this._actions$_export_svg_text_separately = this._$v = null; }, - ReactBootstrap: function ReactBootstrap() { + _$ExtensionDisplayLengthAngleSet: function _$ExtensionDisplayLengthAngleSet(t0, t1, t2) { + this.ext = t0; + this.display_length = t1; + this.display_angle = t2; }, - ReactColor: function ReactColor() { + ExtensionDisplayLengthAngleSetBuilder: function ExtensionDisplayLengthAngleSetBuilder() { + var _ = this; + _._actions$_display_angle = _._actions$_display_length = _._ext = _._$v = null; }, - setup_file_drag_and_drop_listener: function(drop_zone) { - var t1, t2, t3; - drop_zone.toString; - t1 = type$._ElementEventStreamImpl_legacy_MouseEvent; - t2 = t1._eval$1("~(1)?"); - t3 = t2._as(new Q.setup_file_drag_and_drop_listener_closure()); - type$.nullable_void_Function._as(null); - t1 = t1._precomputed1; - W._EventStreamSubscription$(drop_zone, "dragover", t3, false, t1); - W._EventStreamSubscription$(drop_zone, "drop", t2._as(new Q.setup_file_drag_and_drop_listener_closure0()), false, t1); + _$ExtensionAdd: function _$ExtensionAdd(t0, t1, t2) { + this.strand = t0; + this.is_5p = t1; + this.num_bases = t2; }, - View: function View(t0, t1, t2, t3, t4, t5, t6) { + ExtensionAddBuilder: function ExtensionAddBuilder() { var _ = this; - _.root_element = t0; - _.edit_and_select_modes_element = t1; - _.menu_element = t2; - _.nonmenu_panes_container_element = t3; - _.design_element = t4; - _.design_and_modes_buttons_container_element = t5; - _.design_oxview_separator = t6; - _.oxview_view = _.design_view = null; - _.currently_showing_oxview = false; + _._actions$_num_bases = _._actions$_is_5p = _._strand = _._$v = null; }, - setup_file_drag_and_drop_listener_closure: function setup_file_drag_and_drop_listener_closure() { + _$ExtensionNumBasesChange: function _$ExtensionNumBasesChange(t0, t1) { + this.ext = t0; + this.num_bases = t1; }, - setup_file_drag_and_drop_listener_closure0: function setup_file_drag_and_drop_listener_closure0() { + ExtensionNumBasesChangeBuilder: function ExtensionNumBasesChangeBuilder() { + this._actions$_num_bases = this._ext = this._$v = null; }, - setup_file_drag_and_drop_listener__closure: function setup_file_drag_and_drop_listener__closure() { + _$ExtensionsNumBasesChange: function _$ExtensionsNumBasesChange(t0, t1) { + this.extensions = t0; + this.num_bases = t1; }, - setup_file_drag_and_drop_listener__closure0: function setup_file_drag_and_drop_listener__closure0(t0, t1) { - this.file_reader = t0; - this.filename = t1; + ExtensionsNumBasesChangeBuilder: function ExtensionsNumBasesChangeBuilder() { + this._actions$_num_bases = this._extensions = this._$v = null; }, - setup_file_drag_and_drop_listener__closure1: function setup_file_drag_and_drop_listener__closure1(t0) { - this.err_msg = t0; + _$LoopoutLengthChange: function _$LoopoutLengthChange(t0, t1) { + this.loopout = t0; + this.num_bases = t1; }, - XmlDoctype: function XmlDoctype(t0, t1) { - this.text = t0; - this.XmlHasParent__parent = t1; + LoopoutLengthChangeBuilder: function LoopoutLengthChangeBuilder() { + this._actions$_num_bases = this._loopout = this._$v = null; }, - XmlName_XmlName: function(local) { - return new R.XmlSimpleName(local, null); + _$LoopoutsLengthChange: function _$LoopoutsLengthChange(t0, t1) { + this.loopouts = t0; + this.length = t1; }, - XmlName_XmlName$fromString: function(qualified) { - var index = J.indexOf$1$asx(qualified, ":"); - if (index > 0) - return new B.XmlPrefixName(C.JSString_methods.substring$2(qualified, 0, index), C.JSString_methods.substring$1(qualified, index + 1), qualified, null); - else - return new R.XmlSimpleName(qualified, null); + LoopoutsLengthChangeBuilder: function LoopoutsLengthChangeBuilder() { + this._actions$_length = this._loopouts = this._$v = null; }, - XmlName: function XmlName() { + _$ConvertCrossoverToLoopout: function _$ConvertCrossoverToLoopout(t0, t1, t2) { + this.crossover = t0; + this.length = t1; + this.dna_sequence = t2; }, - _XmlName_Object_XmlHasVisitor: function _XmlName_Object_XmlHasVisitor() { + ConvertCrossoverToLoopoutBuilder: function ConvertCrossoverToLoopoutBuilder() { + var _ = this; + _._actions$_dna_sequence = _._actions$_length = _._crossover = _._$v = null; }, - _XmlName_Object_XmlHasVisitor_XmlHasWriter: function _XmlName_Object_XmlHasVisitor_XmlHasWriter() { + _$ConvertCrossoversToLoopouts: function _$ConvertCrossoversToLoopouts(t0, t1) { + this.crossovers = t0; + this.length = t1; }, - _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent: function _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent() { + ConvertCrossoversToLoopoutsBuilder: function ConvertCrossoversToLoopoutsBuilder() { + this._actions$_length = this._crossovers = this._$v = null; }, - toggle_select_mode_reducer: function(state, action) { - var mode, new_state, t1, t2; - type$.legacy_SelectModeState._as(state); - mode = type$.legacy_SelectModeToggle._as(action).select_mode_choice; - if (state.modes._set.contains$1(0, mode)) - new_state = state.remove_mode$1(mode); - else { - new_state = state.add_mode$1(mode); - if (mode === C.SelectModeChoice_strand) - new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); - else if (J.contains$1$asx($.$get$SelectModeChoice_strand_parts()._list, mode)) { - new_state = new_state.remove_mode$1(C.SelectModeChoice_strand); - if (mode === C.SelectModeChoice_crossover || mode === C.SelectModeChoice_loopout) { - t1 = $.$get$SelectModeChoice_ends(); - new_state = new_state.remove_modes$1(J.$add$ansx(t1._list, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_extension_], type$.JSArray_legacy_SelectModeChoice)))); - } else { - t1 = $.$get$SelectModeChoice_ends(); - t2 = t1._list; - if (J.contains$1$asx(t2, mode)) - new_state = new_state.remove_modes$1(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)); - else if (mode === C.SelectModeChoice_domain) - new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); - else if (mode === C.SelectModeChoice_extension_) - new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); - else if (mode === C.SelectModeChoice_deletion || mode === C.SelectModeChoice_insertion) - new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); - else if (mode === C.SelectModeChoice_modification) - new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion], type$.JSArray_legacy_SelectModeChoice)))); - } - } - } - return new_state; + _$Nick: function _$Nick(t0, t1) { + this.domain = t0; + this.offset = t1; }, - set_select_modes_reducer: function(state, action) { - return type$.legacy_SelectModeState._as(state).set_modes$1(type$.legacy_SelectModesSet._as(action).select_mode_choices); + NickBuilder: function NickBuilder() { + this._actions$_offset = this._actions$_domain = this._$v = null; }, - add_select_modes_reducer: function(state, action) { - var t1, new_state, t2, t3, t4, t5; - type$.legacy_SelectModeState._as(state); - t1 = type$.legacy_SelectModesAdd._as(action).modes; - new_state = state.add_modes$1(t1); - for (t1 = J.get$iterator$ax(t1._list), t2 = type$.JSArray_legacy_SelectModeChoice; t1.moveNext$0();) { - t3 = t1.get$current(t1); - if (t3 === C.SelectModeChoice_strand) - new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); - else if (J.contains$1$asx($.$get$SelectModeChoice_strand_parts()._list, t3)) { - new_state = new_state.remove_mode$1(C.SelectModeChoice_strand); - if (t3 === C.SelectModeChoice_crossover || t3 === C.SelectModeChoice_loopout) { - t3 = $.$get$SelectModeChoice_ends(); - new_state = new_state.remove_modes$1(J.$add$ansx(t3._list, H._instanceType(t3)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)))); - } else { - t4 = $.$get$SelectModeChoice_ends(); - t5 = t4._list; - if (J.contains$1$asx(t5, t3)) - new_state = new_state.remove_modes$1(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)); - else if (t3 === C.SelectModeChoice_domain) - new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)))); - else if (t3 === C.SelectModeChoice_deletion || t3 === C.SelectModeChoice_insertion) - new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_modification], t2)))); - else if (t3 === C.SelectModeChoice_modification) - new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion], t2)))); - } - } - } - return new_state; + _$Ligate: function _$Ligate(t0) { + this.dna_end = t0; }, - filterElements: function(iterable, $name, namespace) { - var matcher = N.createNameMatcher($name, namespace), - t1 = iterable.whereType$1$0(0, type$.XmlElement), - t2 = t1.$ti; - return new H.WhereIterable(t1, t2._eval$1("bool(Iterable.E)")._as(matcher), t2._eval$1("WhereIterable")); - } - }, - E = {ZipDirectory: function ZipDirectory(t0) { + LigateBuilder: function LigateBuilder() { + this._actions$_dna_end = this._$v = null; + }, + _$JoinStrandsByCrossover: function _$JoinStrandsByCrossover(t0, t1) { + this.dna_end_first_click = t0; + this.dna_end_second_click = t1; + }, + JoinStrandsByCrossoverBuilder: function JoinStrandsByCrossoverBuilder() { + this._dna_end_second_click = this._actions$_dna_end_first_click = this._$v = null; + }, + _$MoveLinker: function _$MoveLinker(t0, t1) { + this.potential_crossover = t0; + this.dna_end_second_click = t1; + this._actions$__hashCode = null; + }, + MoveLinkerBuilder: function MoveLinkerBuilder() { + this._dna_end_second_click = this._potential_crossover = this._$v = null; + }, + _$JoinStrandsByMultipleCrossovers: function _$JoinStrandsByMultipleCrossovers() { + }, + JoinStrandsByMultipleCrossoversBuilder: function JoinStrandsByMultipleCrossoversBuilder() { + this._$v = null; + }, + _$StrandsReflect: function _$StrandsReflect(t0, t1, t2) { + this.strands = t0; + this.horizontal = t1; + this.reverse_polarity = t2; + }, + StrandsReflectBuilder: function StrandsReflectBuilder() { var _ = this; - _.filePosition = -1; - _.totalCentralDirectoryEntriesOnThisDisk = _.numberOfThisDisk = 0; - _.__ZipDirectory_centralDirectoryOffset = _.__ZipDirectory_centralDirectorySize = $; - _.fileHeaders = t0; - }, BaseClient: function BaseClient() { - }, ClientException: function ClientException(t0) { - this.message = t0; + _._reverse_polarity = _._horizontal = _._actions$_strands = _._$v = null; }, - _$RecoverableErrorBoundary: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? E._$$RecoverableErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : E._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(backingProps); + _$ReplaceStrands: function _$ReplaceStrands(t0) { + this.new_strands = t0; }, - _$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return E._$$RecoverableErrorBoundaryProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new E._$$RecoverableErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._error_boundary_recoverable$_props = backingMap; - return t1; - } + ReplaceStrandsBuilder: function ReplaceStrandsBuilder() { + this._new_strands = this._$v = null; }, - _$$RecoverableErrorBoundaryProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new E._$$RecoverableErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._error_boundary_recoverable$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _$StrandCreateStart: function _$StrandCreateStart(t0, t1) { + this.address = t0; + this.color = t1; }, - _$$RecoverableErrorBoundaryState$JsMap$: function(backingMap) { - var t1 = new E._$$RecoverableErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); - t1.get$$$isClassGenerated(); - t1._error_boundary_recoverable$_state = backingMap; - return t1; + StrandCreateStartBuilder: function StrandCreateStartBuilder() { + this._actions$_color = this._actions$_address = this._$v = null; }, - RecoverableErrorBoundaryComponent: function RecoverableErrorBoundaryComponent() { + _$StrandCreateAdjustOffset: function _$StrandCreateAdjustOffset(t0) { + this.offset = t0; }, - $RecoverableErrorBoundaryComponentFactory_closure: function $RecoverableErrorBoundaryComponentFactory_closure() { + StrandCreateAdjustOffsetBuilder: function StrandCreateAdjustOffsetBuilder() { + this._actions$_offset = this._$v = null; }, - _$$RecoverableErrorBoundaryProps: function _$$RecoverableErrorBoundaryProps() { + _$StrandCreateStop: function _$StrandCreateStop() { }, - _$$RecoverableErrorBoundaryProps$PlainMap: function _$$RecoverableErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + StrandCreateStopBuilder: function StrandCreateStopBuilder() { + this._$v = null; + }, + _$StrandCreateCommit: function _$StrandCreateCommit(t0, t1, t2, t3, t4) { var _ = this; - _._error_boundary_recoverable$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + _.helix_idx = t0; + _.start = t1; + _.end = t2; + _.forward = t3; + _.color = t4; }, - _$$RecoverableErrorBoundaryProps$JsMap: function _$$RecoverableErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + StrandCreateCommitBuilder: function StrandCreateCommitBuilder() { var _ = this; - _._error_boundary_recoverable$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + _._actions$_color = _._actions$_forward = _._actions$_end = _._actions$_start = _._actions$_helix_idx = _._$v = null; }, - _$$RecoverableErrorBoundaryState: function _$$RecoverableErrorBoundaryState() { + _$PotentialCrossoverCreate: function _$PotentialCrossoverCreate(t0) { + this.potential_crossover = t0; }, - _$$RecoverableErrorBoundaryState$JsMap: function _$$RecoverableErrorBoundaryState$JsMap(t0, t1, t2) { - this._error_boundary_recoverable$_state = t0; - this.ErrorBoundaryState_hasError = t1; - this.ErrorBoundaryState_showFallbackUIOnError = t2; + PotentialCrossoverCreateBuilder: function PotentialCrossoverCreateBuilder() { + this._potential_crossover = this._$v = null; }, - _$RecoverableErrorBoundaryComponent: function _$RecoverableErrorBoundaryComponent(t0, t1, t2) { - var _ = this; - _._domAtTimeOfError = _._error_boundary_recoverable$_cachedTypedState = _._error_boundary_recoverable$_cachedTypedProps = null; - _._errorLog = t0; - _._callStackLog = t1; - _._identicalErrorTimer = null; - _.DisposableManagerProxy__disposableProxy = t2; - _.jsThis = _.state = _.props = null; + _$PotentialCrossoverMove: function _$PotentialCrossoverMove(t0) { + this.point = t0; }, - _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { + PotentialCrossoverMoveBuilder: function PotentialCrossoverMoveBuilder() { + this._point = this._$v = null; }, - __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps() { + _$PotentialCrossoverRemove: function _$PotentialCrossoverRemove() { }, - __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + PotentialCrossoverRemoveBuilder: function PotentialCrossoverRemoveBuilder() { + this._$v = null; }, - __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState() { + _$ManualPasteInitiate: function _$ManualPasteInitiate(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + this._actions$__hashCode = null; }, - __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + ManualPasteInitiateBuilder: function ManualPasteInitiateBuilder() { + this._in_browser = this._clipboard_content = this._$v = null; }, - PosixStyle: function PosixStyle(t0, t1, t2) { - this.separatorPattern = t0; - this.needsSeparatorPattern = t1; - this.rootPattern = t2; + _$AutoPasteInitiate: function _$AutoPasteInitiate(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + this._actions$__hashCode = null; }, - Result: function Result() { + AutoPasteInitiateBuilder: function AutoPasteInitiateBuilder() { + this._in_browser = this._clipboard_content = this._$v = null; }, - ParserException: function ParserException(t0) { - this.failure = t0; + _$CopySelectedStrands: function _$CopySelectedStrands() { }, - pattern: function(element, message) { - var t2, - t1 = $.$get$_pattern().parseOn$1(new M.Context1(element, 0)); - t1 = t1.get$value(t1); - t2 = type$.CodeUnits; - t2 = new H.MappedListIterable(new H.CodeUnits(element), t2._eval$1("String(ListMixin.E)")._as(X.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0); - t2 = "[" + t2 + "] expected"; - return new G.CharacterParser(t1, t2); + CopySelectedStrandsBuilder: function CopySelectedStrandsBuilder() { + this._$v = null; }, - _single_closure: function _single_closure() { + _$StrandsMoveStart: function _$StrandsMoveStart(t0, t1, t2, t3) { + var _ = this; + _.strands = t0; + _.address = t1; + _.copy = t2; + _.original_helices_view_order_inverse = t3; }, - _range_closure: function _range_closure() { + StrandsMoveStartBuilder: function StrandsMoveStartBuilder() { + var _ = this; + _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._actions$_strands = _._$v = null; }, - _sequence_closure: function _sequence_closure() { + _$StrandsMoveStartSelectedStrands: function _$StrandsMoveStartSelectedStrands(t0, t1, t2) { + this.address = t0; + this.copy = t1; + this.original_helices_view_order_inverse = t2; }, - _pattern_closure: function _pattern_closure() { + StrandsMoveStartSelectedStrandsBuilder: function StrandsMoveStartSelectedStrandsBuilder() { + var _ = this; + _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._$v = null; }, - EpsilonParser: function EpsilonParser(t0, t1) { - this.result = t0; - this.$ti = t1; + _$StrandsMoveStop: function _$StrandsMoveStop() { }, - convertRefValue2: function(args, additionalRefPropKeys, convertCallbackRefValue) { - var t2, t3, t4, t5, _i, refKey, ref, - t1 = H.setRuntimeTypeInfo(["ref"], type$.JSArray_legacy_String); - C.JSArray_methods.addAll$1(t1, additionalRefPropKeys); - for (t2 = t1.length, t3 = type$.legacy_dynamic_Function_Null, t4 = args.jsObject, t5 = type$.legacy_dynamic_Function_dynamic, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - refKey = t1[_i]; - ref = F.DartValueWrapper_unwrapIfNeeded(t4[refKey]); - if (ref instanceof K.Ref) - t4[refKey] = F.DartValueWrapper_wrapIfNeeded(ref.jsRef); - else if (t3._is(ref) && convertCallbackRefValue) - t4[refKey] = F.DartValueWrapper_wrapIfNeeded(P.allowInterop(new E.convertRefValue2_closure(ref), t5)); - } + StrandsMoveStopBuilder: function StrandsMoveStopBuilder() { + this._$v = null; }, - generateChildren: function(childrenArgs, shouldAlwaysBeList) { - var children, singleChild, t2, - t1 = childrenArgs.length; - if (t1 === 0) { - if (!shouldAlwaysBeList) - return self._jsUndefined; - children = childrenArgs; - } else if (t1 === 1) - if (shouldAlwaysBeList) { - singleChild = A.listifyChildren(C.JSArray_methods.get$single(childrenArgs)); - children = type$.legacy_List_dynamic._is(singleChild) ? singleChild : null; - } else - children = C.JSArray_methods.get$single(childrenArgs); - else - children = null; - if (type$.legacy_Iterable_dynamic._is(children) && !type$.legacy_List_dynamic._is(children)) - children = J.toList$1$growable$ax(children, false); - if (children == null) { - if (shouldAlwaysBeList) { - t1 = H._arrayInstanceType(childrenArgs); - t2 = t1._eval$1("MappedListIterable<1,@>"); - children = P.List_List$of(new H.MappedListIterable(childrenArgs, t1._eval$1("@(1)")._as(A.component_factory__listifyChildren$closure()), t2), true, t2._eval$1("ListIterable.E")); - } else - children = childrenArgs; - K.markChildrenValidated(children); - } - return children; + _$StrandsMoveAdjustAddress: function _$StrandsMoveAdjustAddress(t0) { + this.address = t0; }, - generateJsProps: function(props, additionalRefPropKeys, convertCallbackRefValue, wrapWithJsify) { - var propsForJs = L.JsBackedMap_JsBackedMap$from(props); - E.convertRefValue2(propsForJs, additionalRefPropKeys, convertCallbackRefValue); - return wrapWithJsify ? type$.legacy_JsMap._as(R.jsifyAndAllowInterop(propsForJs)) : propsForJs.jsObject; + StrandsMoveAdjustAddressBuilder: function StrandsMoveAdjustAddressBuilder() { + this._actions$_address = this._$v = null; }, - convertRefValue2_closure: function convertRefValue2_closure(t0) { - this.ref = t0; + _$StrandsMoveCommit: function _$StrandsMoveCommit(t0, t1) { + this.strands_move = t0; + this.autopaste = t1; }, - DNASequencePredefined_names: function() { - var t2, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = $.$get$_$values0()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) - t1.push(t2.get$current(t2).name); - return D.BuiltList_BuiltList$of(t1, type$.legacy_String); + StrandsMoveCommitBuilder: function StrandsMoveCommitBuilder() { + this._autopaste = this._actions$_strands_move = this._$v = null; }, - _$valueOf0: function($name) { - switch ($name) { - case "M13p7249": - return C.DNASequencePredefined_M13p7249; - case "M13p7560": - return C.DNASequencePredefined_M13p7560; - case "M13p8064": - return C.DNASequencePredefined_M13p8064; - case "M13p8634": - return C.DNASequencePredefined_M13p8634; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + _$DomainsMoveStartSelectedDomains: function _$DomainsMoveStartSelectedDomains(t0, t1) { + this.address = t0; + this.original_helices_view_order_inverse = t1; }, - DNASequencePredefined: function DNASequencePredefined(t0) { - this.name = t0; + DomainsMoveStartSelectedDomainsBuilder: function DomainsMoveStartSelectedDomainsBuilder() { + this._actions$_original_helices_view_order_inverse = this._actions$_address = this._$v = null; }, - _$DNASequencePredefinedSerializer: function _$DNASequencePredefinedSerializer() { + _$DomainsMoveStop: function _$DomainsMoveStop() { }, - dna_ends_move_start_middleware: function(store, action, next) { - var t1, selected_ends, moves, t2, lowest_offset, highest_offset, design, strands_affected, _i, t3, t4, t5; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.DNAEndsMoveStart) { - t1 = store.get$state(store).ui_state.selectables_store; - selected_ends = t1.__selected_dna_ends_on_domains; - if (selected_ends == null) { - selected_ends = E.SelectablesStore.prototype.get$selected_dna_ends_on_domains.call(t1); - t1.set$__selected_dna_ends_on_domains(selected_ends); - } - moves = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEndMove); - for (t1 = selected_ends._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - lowest_offset = E.find_allowable_offset(store.get$state(store).design, t2, selected_ends, false); - highest_offset = E.find_allowable_offset(store.get$state(store).design, t2, selected_ends, true); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndMove", "dna_end")); - C.JSArray_methods.add$1(moves, new B._$DNAEndMove(t2, lowest_offset, highest_offset)); - } - design = store.get$state(store).design; - t1 = type$.legacy_Strand; - strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, H.throwConcurrentModificationError)(moves), ++_i) { - t3 = moves[_i].dna_end; - t4 = design.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t4); - } - t5 = design.__end_to_domain; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_domain.call(design); - design.set$__end_to_domain(t5); - } - t3 = J.$index$asx(t5._map$_map, t3); - strands_affected.add$1(0, J.$index$asx(t4._map$_map, t3)); - } - next.call$1(action); - t2 = $.app; - t3 = action.offset; - t4 = D.BuiltList_BuiltList$of(moves, type$.legacy_DNAEndMove); - t2.dispatch$1(U._$DNAEndsMoveSetSelectedEnds$_(action.helix, t4, t3, X.BuiltSet_BuiltSet$of(strands_affected, t1))); - } else - next.call$1(action); + DomainsMoveStopBuilder: function DomainsMoveStopBuilder() { + this._$v = null; }, - find_allowable_offset: function(design, end, selected_ends, highest) { - var unselected_end_offsets_to_one_side, selected_end_offsets_to_one_side, other_substrands_same_dir_same_helix, t2, _i, ss, t3, _i0, other_offset, t4, t5, helix, closest_unselected_offset, num_selected_offsets_between, adjust_factor, - substrand = J.$index$asx(design.get$end_to_domain()._map$_map, end), - helix_idx = substrand.helix, - t1 = selected_ends._set.map$1$1(0, selected_ends.$ti._eval$1("int*(1)")._as(new E.find_allowable_offset_closure()), type$.legacy_int), - selected_offsets = P.LinkedHashSet_LinkedHashSet$of(t1, H._instanceType(t1)._eval$1("Iterable.E")); - t1 = type$.JSArray_legacy_int; - unselected_end_offsets_to_one_side = H.setRuntimeTypeInfo([], t1); - selected_end_offsets_to_one_side = H.setRuntimeTypeInfo([], t1); - t1 = J.where$1$ax(design.domains_on_helix$1(helix_idx), new E.find_allowable_offset_closure0(substrand)); - other_substrands_same_dir_same_helix = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); - for (t1 = other_substrands_same_dir_same_helix.length, t2 = !highest, _i = 0; _i < other_substrands_same_dir_same_helix.length; other_substrands_same_dir_same_helix.length === t1 || (0, H.throwConcurrentModificationError)(other_substrands_same_dir_same_helix), ++_i) { - ss = other_substrands_same_dir_same_helix[_i]; - for (t3 = [ss.start, ss.end - 1], _i0 = 0; _i0 < 2; ++_i0) { - other_offset = t3[_i0]; - if (highest) { - t4 = end.is_start; - t5 = end.offset; - if (t4) - t4 = t5; - else { - if (typeof t5 !== "number") - return t5.$sub(); - t4 = t5 - 1; - } - if (typeof t4 !== "number") - return H.iae(t4); - t4 = other_offset > t4; - } else - t4 = false; - if (t4) - if (selected_offsets.contains$1(0, other_offset)) - C.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); - else - C.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); - else { - if (t2) { - t4 = end.is_start; - t5 = end.offset; - if (t4) - t4 = t5; - else { - if (typeof t5 !== "number") - return t5.$sub(); - t4 = t5 - 1; - } - if (typeof t4 !== "number") - return H.iae(t4); - t4 = other_offset < t4; - } else - t4 = false; - if (t4) - if (selected_offsets.contains$1(0, other_offset)) - C.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); - else - C.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); - } - } - } - if (unselected_end_offsets_to_one_side.length === 0) { - helix = J.$index$asx(design.helices._map$_map, helix_idx); - return highest ? helix.max_offset - 1 : helix.min_offset; - } - closest_unselected_offset = C.JSArray_methods.reduce$1(unselected_end_offsets_to_one_side, highest ? C.CONSTANT0 : C.CONSTANT); - t1 = new H.WhereIterable(selected_end_offsets_to_one_side, type$.bool_Function_legacy_int._as(new E.find_allowable_offset_closure1(highest, closest_unselected_offset)), type$.WhereIterable_legacy_int); - num_selected_offsets_between = t1.get$length(t1); - adjust_factor = highest ? -1 - num_selected_offsets_between : 1 + num_selected_offsets_between; - if (typeof closest_unselected_offset !== "number") - return closest_unselected_offset.$add(); - return closest_unselected_offset + adjust_factor; + _$DomainsMoveAdjustAddress: function _$DomainsMoveAdjustAddress(t0) { + this.address = t0; }, - find_allowable_offset_closure: function find_allowable_offset_closure() { + DomainsMoveAdjustAddressBuilder: function DomainsMoveAdjustAddressBuilder() { + this._actions$_address = this._$v = null; }, - find_allowable_offset_closure0: function find_allowable_offset_closure0(t0) { - this.substrand = t0; + _$DomainsMoveCommit: function _$DomainsMoveCommit(t0) { + this.domains_move = t0; }, - find_allowable_offset_closure1: function find_allowable_offset_closure1(t0, t1) { - this.highest = t0; - this.closest_unselected_offset = t1; + DomainsMoveCommitBuilder: function DomainsMoveCommitBuilder() { + this._actions$_domains_move = this._$v = null; }, - replace_strands_reducer: function(strands, action) { - var strands_builder, t1, t2, t3, t4, t5, t6, t7, t8; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_ReplaceStrands._as(action); - strands.toString; - strands_builder = D.ListBuilder_ListBuilder(strands, strands.$ti._precomputed1); - for (t1 = action.new_strands, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t6 = t2.get$current(t2); - t7 = t4._as(J.$index$asx(t1._map$_map, t6)); - if (!$.$get$isSoundMode() && t5) - if (t7 == null) - H.throwExpression(P.ArgumentError$("null element")); - if (strands_builder._listOwner != null) { - t8 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t4))); - strands_builder.set$_listOwner(null); - } - t8 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, t6, t7); - } - return strands_builder.build$0(); + _$DNAEndsMoveStart: function _$DNAEndsMoveStart(t0, t1) { + this.offset = t0; + this.helix = t1; }, - strands_part_reducer: function(strands, state, action) { - var t1, t2, strand, strand_idx, strands_builder; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_StrandPartAction._as(action); - t1 = state.design.get$strands_by_id(); - t2 = action.get$strand_part().get$strand_id(); - strand = J.$index$asx(t1._map$_map, t2); - strands.toString; - t2 = strands.$ti._precomputed1; - strand_idx = J.indexOf$2$asx(strands._list, t2._as(strand), 0); - if (strand_idx < 0) - return strands; - strand = $.$get$strand_part_reducer().call$2(strand, action).initialize$0(0); - strands_builder = D.ListBuilder_ListBuilder(strands, t2); - t1 = strands_builder.$ti._precomputed1; - t1._as(strand); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(strands_builder.get$_safeList(), strand_idx, strand); - return strands_builder.build$0(); + DNAEndsMoveStartBuilder: function DNAEndsMoveStartBuilder() { + this._actions$_helix = this._actions$_offset = this._$v = null; }, - substrand_name_set_reducer: function(strand, action) { - var t1, t2, t3, t4, substrand_idx, substrand, substrands; - type$.legacy_Strand._as(strand); - type$.legacy_SubstrandNameSet._as(action); - t1 = strand.substrands; - t2 = action.substrand; - t1.toString; - t3 = t1.$ti; - t4 = t3._precomputed1; - t4._as(t2); - t1 = t1._list; - substrand_idx = J.indexOf$2$asx(t1, t2, 0); - if (t2 instanceof G.Domain) - substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure(action)); - else if (t2 instanceof G.Loopout) - substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure0(action)); - else if (t2 instanceof S.Extension) - substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure1(action)); - else - throw H.wrapException(P.AssertionError$(string$.substr)); - substrands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); - t4._as(substrand); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); - return strand.rebuild$1(new E.substrand_name_set_reducer_closure2(substrands)); + _$DNAEndsMoveSetSelectedEnds: function _$DNAEndsMoveSetSelectedEnds(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_offset = t1; + _.helix = t2; + _.strands_affected = t3; }, - substrand_label_set_reducer: function(strand, action) { - var t1, t2, t3, t4, substrand_idx, substrand, substrands; - type$.legacy_Strand._as(strand); - type$.legacy_SubstrandLabelSet._as(action); - t1 = strand.substrands; - t2 = action.substrand; - t1.toString; - t3 = t1.$ti; - t4 = t3._precomputed1; - t4._as(t2); - t1 = t1._list; - substrand_idx = J.indexOf$2$asx(t1, t2, 0); - if (t2 instanceof G.Domain) - substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure(action)); - else if (t2 instanceof G.Loopout) - substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure0(action)); - else if (t2 instanceof S.Extension) - substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure1(action)); - else - throw H.wrapException(P.AssertionError$(string$.substr)); - substrands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); - t4._as(substrand); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); - return strand.rebuild$1(new E.substrand_label_set_reducer_closure2(substrands)); - }, - strands_move_commit_reducer: function(strands, state, action) { - var t1, t2, t3, t4, strands_list, t5, t6, t7, new_strand, strand, t8, strand_idx; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_StrandsMoveCommit._as(action); - t1 = state.design; - t2 = action.strands_move; - if (D.in_bounds_and_allowable(t1, t2)) - t3 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; - else - t3 = false; - if (t3) { - t3 = strands._list; - t4 = H._instanceType(strands); - strands_list = new Q.CopyOnWriteList(true, t3, t4._eval$1("CopyOnWriteList<1>")); - for (t5 = J.get$iterator$ax(t2.strands_moving._list), t4 = t4._precomputed1, t6 = J.getInterceptor$asx(t3); t5.moveNext$0();) { - t7 = t5.get$current(t5); - new_strand = E.one_strand_strands_move_copy_commit_reducer(t1, t7, t2); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t8 = new_strand.__first_domain; - if (t8 == null) - t8 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t8.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - if (t2.copy) { - t4._as(strand); - strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(strands_list._copy_on_write_list$_list, strand); - } else { - strand_idx = t6.indexOf$2(t3, t4._as(t7), 0); - t4._as(strand); - strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands_list._copy_on_write_list$_list, strand_idx, strand); - } - } - return D.BuiltList_BuiltList$of(strands_list, type$.legacy_Strand); - } else - return strands; + DNAEndsMoveSetSelectedEndsBuilder: function DNAEndsMoveSetSelectedEndsBuilder() { + var _ = this; + _._strands_affected = _._actions$_helix = _._actions$_original_offset = _._actions$_moves = _._$v = null; }, - one_strand_strands_move_copy_commit_reducer: function(design, strand, strands_move) { - var t5, t6, t7, group_name, moved_strand, - t1 = strands_move.get$current_view_order(), - t2 = strands_move.original_helices_view_order_inverse, - t3 = strands_move.original_address, - t4 = J.$index$asx(t2._map$_map, t3.helix_idx); - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t5 = strands_move.current_address; - t6 = t5.offset; - t7 = t3.offset; - if (typeof t6 !== "number") - return t6.$sub(); - if (typeof t7 !== "number") - return H.iae(t7); - group_name = E.current_group_name_from_strands_move(design, strands_move); - moved_strand = E.move_strand(J.$index$asx(design.groups._map$_map, group_name), t5.forward != t3.forward, t6 - t7, t1 - t4, t2, strand); - if (moved_strand == null) { - P.print("WARNING: didn't expect move_strand to return null in one_strand_strands_move_copy_commit_reducer"); - return strand; - } - return strands_move.copy && !strands_move.keep_color && !strand.is_scaffold ? moved_strand.rebuild$1(new E.one_strand_strands_move_copy_commit_reducer_closure()) : moved_strand; + _$DNAEndsMoveAdjustOffset: function _$DNAEndsMoveAdjustOffset(t0) { + this.offset = t0; }, - move_strand: function(current_group, delta_forward, delta_offset, delta_view_order, original_helices_view_order_inverse, strand) { - var is_moving, i, t2, substrand, t3, t4, t5, original_view_order, new_view_order, domain_moved, new_substrand, _box_1 = {}, - t1 = strand.substrands, - substrands = _box_1.substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - H.boolConversionCheck(delta_forward); - if (delta_forward) { - t1 = substrands.get$reversed(substrands); - _box_1.substrands = P.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); - } - is_moving = delta_view_order !== 0 || delta_offset !== 0 || delta_forward; - t1 = type$.legacy_void_Function_legacy_DomainBuilder; - i = 0; - while (true) { - t2 = J.get$length$asx(_box_1.substrands); - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t2 = {}; - substrand = J.$index$asx(_box_1.substrands, i); - if (substrand instanceof G.Domain) { - t3 = substrand.helix; - t4 = original_helices_view_order_inverse._map$_map; - t5 = J.getInterceptor$x(t4); - if (!t5.containsKey$1(t4, t3) && is_moving) - throw H.wrapException(P.AssertionError$("original_helices_view_order_inverse = " + original_helices_view_order_inverse.toString$0(0) + " does not contain key (helix idx) = " + t3)); - t2.new_helix_idx = t3; - if (is_moving) { - original_view_order = t5.$index(t4, t3); - if (typeof original_view_order !== "number") - return original_view_order.$add(); - if (typeof delta_view_order !== "number") - return H.iae(delta_view_order); - new_view_order = original_view_order + delta_view_order; - t3 = current_group.helices_view_order._list; - t4 = J.getInterceptor$asx(t3); - t5 = t4.get$length(t3); - if (typeof t5 !== "number") - return H.iae(t5); - if (new_view_order >= t5) - return null; - t2.new_helix_idx = t4.$index(t3, new_view_order); - } - t2 = t1._as(new E.move_strand_closure(_box_1, t2, i, delta_forward, substrand, delta_offset)); - t3 = new G.DomainBuilder(); - t3._domain$_$v = substrand; - t2.call$1(t3); - domain_moved = t3.build$0(); - new_substrand = domain_moved; - } else - new_substrand = substrand; - J.$indexSet$ax(_box_1.substrands, i, new_substrand); - ++i; - } - return strand.rebuild$1(new E.move_strand_closure0(_box_1)).initialize$0(0); + DNAEndsMoveAdjustOffsetBuilder: function DNAEndsMoveAdjustOffsetBuilder() { + this._actions$_offset = this._$v = null; }, - domains_move_commit_reducer: function(strands, state, action) { - var t1, t2, strands_builder, t3, t4, t5, t6, t7, t8, t9, t10, domains, strand_idx, new_strand, strand; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - t1 = type$.legacy_DomainsMoveCommit._as(action).domains_move; - if (t1.allowable && !t1.original_address.$eq(0, t1.current_address)) { - strands.toString; - t2 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t2); - for (t3 = t1.get$domains_moving_from_strand(), t3 = t3.get$keys(t3), t3 = t3.get$iterator(t3), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = strands._list, t7 = J.getInterceptor$asx(t6), t8 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { - t9 = t3.get$current(t3); - t10 = t1.__domains_moving_from_strand; - if (t10 == null) { - t10 = V.DomainsMove.prototype.get$domains_moving_from_strand.call(t1); - t1.set$__domains_moving_from_strand(t10); - } - t10 = t10.$index(0, t9); - t10.toString; - domains = P.LinkedHashSet_LinkedHashSet$from(t10, H._arrayInstanceType(t10)._precomputed1); - strand_idx = t7.indexOf$2(t6, t2._as(t9), 0); - new_strand = E.one_strand_domains_move_commit_reducer(state.design, t9, domains, t1); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t9 = new_strand.__first_domain; - if (t9 == null) - t9 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t9.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - t5._as(strand); - if (!$.$get$isSoundMode() && t8) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - if (strands_builder._listOwner != null) { - t9 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t4._as(P.List_List$from(t9 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t9, true, t5))); - strands_builder.set$_listOwner(null); - } - t9 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t9 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t9, strand_idx, strand); - } - return strands_builder.build$0(); - } else - return strands; + _$DNAEndsMoveStop: function _$DNAEndsMoveStop() { }, - one_strand_domains_move_commit_reducer: function(design, strand, domains_on_strand, domains_move) { - var i, domain, helix_idx, t3, t4, group_name, t5, t6, t7, t8, helix_idx0, t9, t10, t11, - t1 = strand.substrands, - t2 = H._instanceType(t1), - substrands = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); - t1 = t2._precomputed1; - i = 0; - while (true) { - t2 = J.get$length$asx(substrands._copy_on_write_list$_list); - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - domain = J.$index$asx(substrands._copy_on_write_list$_list, i); - if (domain instanceof G.Domain && domains_on_strand.contains$1(0, domain)) { - t2 = domains_move.original_address; - helix_idx = t2.helix_idx; - t3 = design.helices._map$_map; - t4 = J.getInterceptor$asx(t3); - group_name = t4.$index(t3, helix_idx).group; - t5 = design.groups._map$_map; - t6 = J.getInterceptor$asx(t5); - t7 = t6.$index(t5, group_name); - t8 = domains_move.current_address; - helix_idx0 = t8.helix_idx; - t3 = t6.$index(t5, t4.$index(t3, helix_idx0).group); - t4 = domains_move.groups; - t5 = domains_move.helices._map$_map; - t6 = J.getInterceptor$asx(t5); - t9 = t6.$index(t5, helix_idx0).group; - t4 = t4._map$_map; - t10 = J.getInterceptor$asx(t4); - t9 = t10.$index(t4, t9); - t11 = t9.__helices_view_order_inverse; - if (t11 == null) { - t11 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t9); - t9.set$__helices_view_order_inverse(t11); - t9 = t11; - } else - t9 = t11; - t9 = J.$index$asx(t9._map$_map, t6.$index(t5, helix_idx0).idx); - t4 = t10.$index(t4, t6.$index(t5, helix_idx).group); - t10 = t4.__helices_view_order_inverse; - if (t10 == null) { - t10 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t4); - t4.set$__helices_view_order_inverse(t10); - t4 = t10; - } else - t4 = t10; - t5 = J.$index$asx(t4._map$_map, t6.$index(t5, helix_idx).idx); - if (typeof t9 !== "number") - return t9.$sub(); - if (typeof t5 !== "number") - return H.iae(t5); - t6 = t8.offset; - t4 = t2.offset; - if (typeof t6 !== "number") - return t6.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t7 = t1._as(Q.move_domain(t3, t8.forward != t2.forward, t6 - t4, t9 - t5, domain, t7, false)); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, i, t7); - } - ++i; - } - return strand.rebuild$1(new E.one_strand_domains_move_commit_reducer_closure(substrands)); + _$DNAEndsMoveCommit: function _$DNAEndsMoveCommit(t0) { + this.dna_ends_move = t0; }, - strands_dna_ends_move_commit_reducer: function(strands, state, action) { - var move, t1, strands_builder, strands_affected, t2, t3, t4, t5, t6, records, t7, t8, strand_idx, ret, strand, strand0, t9, t10, t11, t12, t13, _i, record, offset, ss_idx, t14, strand_builder, substrand, substrand_builder, t15, t16, t17, t18, t19, _null = null, - _s12_ = "null element", - _s5_ = "_list"; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - move = type$.legacy_DNAEndsMoveCommit._as(action).dna_ends_move; - if (move.current_offset == move.original_offset) - return strands; - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_Strand); - for (t2 = J.get$iterator$ax(move.moves._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = state.design; - t3 = t3.dna_end; - t5 = t4.__substrand_to_strand; - if (t5 == null) { - t5 = N.Design.prototype.get$substrand_to_strand.call(t4); - t4.set$__substrand_to_strand(t5); - } - t6 = t4.__end_to_domain; - if (t6 == null) { - t6 = N.Design.prototype.get$end_to_domain.call(t4); - t4.set$__end_to_domain(t6); - t4 = t6; - } else - t4 = t6; - t3 = J.$index$asx(t4._map$_map, t3); - strands_affected.add$1(0, J.$index$asx(t5._map$_map, t3)); - } - records = H.setRuntimeTypeInfo([], type$.JSArray_legacy_InsertionDeletionRecord); - for (t2 = P._LinkedHashSetIterator$(strands_affected, strands_affected._collection$_modifications, strands_affected.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = strands._list, t6 = J.getInterceptor$asx(t5), t7 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t8 = t2._collection$_current; - strand_idx = t6.indexOf$2(t5, t1._as(t8), 0); - ret = E.single_strand_dna_ends_commit_stop_reducer(t8, move, state.design); - strand = ret.item1; - C.JSArray_methods.addAll$1(records, ret.item2); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t8 = strand.__first_domain; - if (t8 == null) - t8 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t8.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t4._as(strand0); - if (!$.$get$isSoundMode() && t7) - if (strand0 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (strands_builder._listOwner != null) { - t8 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t4))); - strands_builder.set$_listOwner(_null); - } - t8 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, strand_idx, strand0); - } - for (t1 = records.length, t2 = type$.legacy_Insertion, t5 = type$.List_legacy_Insertion, t6 = type$.ListBuilder_legacy_Insertion, t8 = type$.legacy_int, t9 = type$.List_legacy_int, t10 = type$.ListBuilder_legacy_int, t11 = type$.legacy_Substrand, t12 = type$.List_legacy_Substrand, t13 = type$.ListBuilder_legacy_Substrand, _i = 0; _i < records.length; records.length === t1 || (0, H.throwConcurrentModificationError)(records), ++_i) { - record = records[_i]; - offset = record.offset; - strand_idx = record.strand_idx; - ss_idx = record.substrand_idx; - t14 = strands_builder.__ListBuilder__list; - strand = J.$index$asx(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx); - strand.toString; - strand_builder = new E.StrandBuilder(); - strand_builder._strand$_$v = strand; - t14 = strand.__domains; - if (t14 == null) { - t14 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t14); - } - substrand = J.$index$asx(t14._list, ss_idx); - substrand.toString; - substrand_builder = new G.DomainBuilder(); - substrand_builder._domain$_$v = substrand; - if (J.contains$1$asx(substrand.deletions._list, offset)) { - t14 = substrand_builder.get$_domain$_$this(); - t15 = t14._deletions; - if (t15 == null) { - t15 = new D.ListBuilder(t10); - t15.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t8))); - t15.set$_listOwner(_null); - t14.set$_deletions(t15); - t14 = t15; - } else - t14 = t15; - if (t14._listOwner != null) { - t15 = t14.__ListBuilder__list; - if (t15 === $) - t15 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t16 = t14.$ti; - t14.set$__ListBuilder__list(t16._eval$1("List<1>")._as(P.List_List$from(t15, true, t16._precomputed1))); - t14.set$_listOwner(_null); - } - t14 = t14.__ListBuilder__list; - J.remove$1$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, offset); - } else { - t14 = substrand_builder.get$_domain$_$this(); - t15 = t14._insertions; - if (t15 == null) { - t15 = new D.ListBuilder(t6); - t15.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t2))); - t15.set$_listOwner(_null); - t14.set$_insertions(t15); - t14 = t15; - } else - t14 = t15; - t15 = t14.$ti; - t16 = t15._eval$1("bool(1)")._as(new E.strands_dna_ends_move_commit_reducer_closure(offset)); - if (t14._listOwner != null) { - t17 = t14.__ListBuilder__list; - if (t17 === $) - t17 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t14.set$__ListBuilder__list(t15._eval$1("List<1>")._as(P.List_List$from(t17, true, t15._precomputed1))); - t14.set$_listOwner(_null); - } - t14 = t14.__ListBuilder__list; - J.removeWhere$1$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, t16); - } - t14 = strand_builder.get$_strand$_$this(); - t15 = t14._substrands; - if (t15 == null) { - t15 = new D.ListBuilder(t13); - t15.set$__ListBuilder__list(t12._as(P.List_List$from(C.List_empty, true, t11))); - t15.set$_listOwner(_null); - t14.set$_substrands(t15); - t14 = t15; - } else - t14 = t15; - t15 = t14.$ti; - t16 = t15._precomputed1; - t17 = t16._as(substrand_builder.build$0()); - t18 = !$.$get$isSoundMode(); - if (t18 && !t16._is(null)) - if (t17 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (t14._listOwner != null) { - t19 = t14.__ListBuilder__list; - t14.set$__ListBuilder__list(t15._eval$1("List<1>")._as(P.List_List$from(t19 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t19, true, t16))); - t14.set$_listOwner(_null); - } - t14 = t14.__ListBuilder__list; - J.$indexSet$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, ss_idx, t17); - strand = strand_builder.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t14 = strand.__first_domain; - if (t14 == null) - t14 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t14.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t4._as(strand0); - if (t18 && t7) - if (strand0 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (strands_builder._listOwner != null) { - t14 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, true, t4))); - strands_builder.set$_listOwner(_null); - } - t14 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx, strand0); - } - return strands_builder.build$0(); + DNAEndsMoveCommitBuilder: function DNAEndsMoveCommitBuilder() { + this._dna_ends_move = this._$v = null; }, - strands_dna_extensions_move_commit_reducer: function(strands, state, action) { - var t1, strands_builder, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, strand, extension, t16, t17, substrand_idx, substrands_builder, t18, extension_start_point, _s5_ = "_list", - _s12_ = "null element"; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_DNAExtensionsMoveCommit._as(action); - strands.toString; - t1 = strands.$ti._precomputed1; - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - for (t2 = action.dna_extensions_move, t3 = J.get$iterator$ax(t2.moves._list), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder, t7 = type$.legacy_void_Function_legacy_ExtensionBuilder, t8 = strands._list, t9 = J.getInterceptor$asx(t8), t10 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { - t11 = t3.get$current(t3); - t12 = state.design; - t13 = t12.__substrand_to_strand; - if (t13 == null) { - t13 = N.Design.prototype.get$substrand_to_strand.call(t12); - t12.set$__substrand_to_strand(t13); - } - t14 = t12.__end_to_extension; - if (t14 == null) { - t14 = N.Design.prototype.get$end_to_extension.call(t12); - t12.set$__end_to_extension(t14); - } - t15 = t11.dna_end; - t14 = J.$index$asx(t14._map$_map, t15); - strand_idx = t9.indexOf$2(t8, t1._as(J.$index$asx(t13._map$_map, t14)), 0); - t14 = strands_builder.__ListBuilder__list; - strand = J.$index$asx(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx); - t13 = t12.__end_to_extension; - if (t13 == null) { - t13 = N.Design.prototype.get$end_to_extension.call(t12); - t12.set$__end_to_extension(t13); - } - extension = J.$index$asx(t13._map$_map, t15); - t13 = strand.substrands; - t13.toString; - t14 = t13.$ti; - t16 = t14._precomputed1; - t17 = t13._list; - substrand_idx = J.indexOf$2$asx(t17, t16._as(extension), 0); - substrands_builder = new D.ListBuilder(t14._eval$1("ListBuilder<1>")); - t18 = t14._eval$1("_BuiltList<1>"); - t14 = t14._eval$1("List<1>"); - if (t18._is(t13)) { - t18._as(t13); - substrands_builder.set$__ListBuilder__list(t14._as(t17)); - substrands_builder.set$_listOwner(t13); - } else { - substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t13, true, t16))); - substrands_builder.set$_listOwner(null); - } - extension_start_point = t11.attached_end_position; - t11 = t7._as(new E.strands_dna_extensions_move_commit_reducer_closure(E.compute_extension_length_and_angle_from_point(t2.current_point_of$1(t15), extension_start_point, extension, extension.adjacent_domain, t12.geometry))); - t12 = new S.ExtensionBuilder(); - t12._extension$_$v = extension; - t11.call$1(t12); - t11 = t16._as(t12.build$0()); - t12 = !$.$get$isSoundMode(); - if (t12 && !t16._is(null)) - if (t11 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (substrands_builder._listOwner != null) { - t13 = substrands_builder.__ListBuilder__list; - substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t13, true, t16))); - substrands_builder.set$_listOwner(null); - } - t13 = substrands_builder.__ListBuilder__list; - J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t13, substrand_idx, t11); - t11 = t6._as(new E.strands_dna_extensions_move_commit_reducer_closure0(substrands_builder)); - t13 = new E.StrandBuilder(); - t13._strand$_$v = strand; - t11.call$1(t13); - t11 = t5._as(t13.build$0()); - if (t12 && t10) - if (t11 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (strands_builder._listOwner != null) { - t12 = strands_builder.__ListBuilder__list; - strands_builder.set$__ListBuilder__list(t4._as(P.List_List$from(t12 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t12, true, t5))); - strands_builder.set$_listOwner(null); - } - t12 = strands_builder.__ListBuilder__list; - J.$indexSet$ax(t12 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t12, strand_idx, t11); - } - return strands_builder.build$0(); + _$DNAExtensionsMoveStart: function _$DNAExtensionsMoveStart(t0, t1) { + this.start_point = t0; + this.helix = t1; }, - single_strand_dna_ends_commit_stop_reducer: function(strand, all_move, design) { - var t3, i, t4, substrand, t5, bound_ss, _i, dnaend, new_offset, remaining_deletions, remaining_insertions, deletions_removed, t6, t7, _i0, offset, other_ss, other_strand, other_ss_idx, new_substrand, - records = H.setRuntimeTypeInfo([], type$.JSArray_legacy_InsertionDeletionRecord), - t1 = strand.substrands, - t2 = H._instanceType(t1), - substrands = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); - t1 = t2._precomputed1; - t2 = all_move.moves; - t3 = type$.legacy_void_Function_legacy_DomainBuilder; - i = 0; - while (true) { - t4 = J.get$length$asx(substrands._copy_on_write_list$_list); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(i < t4)) - break; - substrand = J.$index$asx(substrands._copy_on_write_list$_list, i); - if (substrand instanceof G.Domain) { - t4 = substrand.__dnaend_start; - if (t4 == null) - t4 = substrand.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(substrand); - t5 = substrand.__dnaend_end; - t4 = [t4, t5 == null ? substrand.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(substrand) : t5]; - bound_ss = substrand; - _i = 0; - for (; _i < 2; ++_i) { - dnaend = t4[_i]; - if (E.find_move(t2, dnaend) != null) { - new_offset = all_move.current_capped_offset_of$1(dnaend); - remaining_deletions = E.get_remaining_deletions(substrand, new_offset, dnaend); - remaining_insertions = E.get_remaining_insertions(substrand, new_offset, dnaend); - t5 = bound_ss.deletions; - t5.toString; - t5 = J.where$1$ax(t5._list, t5.$ti._eval$1("bool(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure(remaining_deletions))); - deletions_removed = P.List_List$of(t5, true, t5.$ti._eval$1("Iterable.E")); - t5 = bound_ss.insertions; - t5.toString; - t5 = J.where$1$ax(t5._list, t5.$ti._eval$1("bool(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure0(remaining_insertions))); - t6 = t5.$ti; - t7 = t6._eval$1("MappedIterable<1,int*>"); - for (t5 = C.JSArray_methods.$add(deletions_removed, P.List_List$of(new H.MappedIterable(t5, t6._eval$1("int*(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure1()), t7), true, t7._eval$1("Iterable.E"))), t6 = t5.length, _i0 = 0; _i0 < t5.length; t5.length === t6 || (0, H.throwConcurrentModificationError)(t5), ++_i0) { - offset = t5[_i0]; - other_ss = S.find_paired_domain(design, bound_ss, offset); - if (other_ss != null) { - t7 = design.__substrand_to_strand; - if (t7 == null) { - t7 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t7); - } - other_strand = J.$index$asx(t7._map$_map, other_ss); - t7 = other_strand.substrands; - t7.toString; - other_ss_idx = J.indexOf$2$asx(t7._list, t7.$ti._precomputed1._as(other_ss), 0); - t7 = design.strands; - t7.toString; - C.JSArray_methods.add$1(records, new E.InsertionDeletionRecord(offset, J.indexOf$2$asx(t7._list, t7.$ti._precomputed1._as(other_strand), 0), other_ss_idx)); - } - } - t5 = t3._as(new E.single_strand_dna_ends_commit_stop_reducer_closure2(dnaend, substrand, new_offset)); - t6 = new G.DomainBuilder(); - t6._domain$_$v = bound_ss; - t5.call$1(t6); - bound_ss = t6.build$0(); - bound_ss.toString; - t5 = t3._as(new E.single_strand_dna_ends_commit_stop_reducer_closure3(remaining_deletions, remaining_insertions)); - t6 = new G.DomainBuilder(); - t6._domain$_$v = bound_ss; - t5.call$1(t6); - bound_ss = t6.build$0(); - } - } - new_substrand = bound_ss; - } else - new_substrand = substrand; - t1._as(new_substrand); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, i, new_substrand); - ++i; - } - return new S.Tuple2(strand.rebuild$1(new E.single_strand_dna_ends_commit_stop_reducer_closure4(substrands)), records, type$.Tuple2_of_legacy_Strand_and_legacy_List_legacy_InsertionDeletionRecord); + DNAExtensionsMoveStartBuilder: function DNAExtensionsMoveStartBuilder() { + this._actions$_helix = this._actions$_start_point = this._$v = null; }, - get_remaining_deletions: function(substrand, new_offset, dnaend) { - var t1 = substrand.deletions; - t1.toString; - t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.get_remaining_deletions_closure(substrand, dnaend, new_offset))); - return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + _$DNAExtensionsMoveSetSelectedExtensionEnds: function _$DNAExtensionsMoveSetSelectedExtensionEnds(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_point = t1; + _.strands_affected = t2; + _.helix = t3; }, - get_remaining_insertions: function(substrand, new_offset, dnaend) { - var t1 = substrand.insertions; - t1.toString; - t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.get_remaining_insertions_closure(substrand, dnaend, new_offset))); - return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + DNAExtensionsMoveSetSelectedExtensionEndsBuilder: function DNAExtensionsMoveSetSelectedExtensionEndsBuilder() { + var _ = this; + _._actions$_helix = _._strands_affected = _._original_point = _._actions$_moves = _._$v = null; }, - find_move: function(moves, end) { - var t1, t2, t3; - for (t1 = J.get$iterator$ax(moves._list), t2 = J.getInterceptor$(end); t1.moveNext$0();) { - t3 = t1.get$current(t1); - if (t2.$eq(end, t3.dna_end)) - return t3; - } - return null; + _$DNAExtensionsMoveAdjustPosition: function _$DNAExtensionsMoveAdjustPosition(t0) { + this.position = t0; }, - strand_create: function(strands, state, action) { - var helix_idx, start, end, $forward, t1, _null = null; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_StrandCreateCommit._as(action); - helix_idx = action.helix_idx; - start = action.start; - end = action.end; - $forward = action.forward; - t1 = state.design; - for (t1 = t1.domains_on_helix_at$2(helix_idx, start).union$1(t1.domains_on_helix_at$2(helix_idx, end - 1))._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) - if (t1.get$current(t1).forward === $forward) - return strands; - return strands.rebuild$1(new E.strand_create_closure(E.Strand_Strand(H.setRuntimeTypeInfo([G.Domain_Domain(_null, end, $forward, helix_idx, _null, true, true, false, start)], type$.JSArray_legacy_Substrand), false, action.color, _null, false, _null, _null, _null, C.Map_empty0, _null, _null))); + DNAExtensionsMoveAdjustPositionBuilder: function DNAExtensionsMoveAdjustPositionBuilder() { + this._actions$_position = this._$v = null; }, - strands_single_strand_reducer: function(strands, action) { - var strand, t1, strand_idx, strands_builder; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_SingleStrandAction._as(action); - strand = action.get$strand(); - strands.toString; - t1 = strands.$ti._precomputed1; - strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand), 0); - if (strand_idx < 0) - return strands; - strand = $.$get$single_strand_reducer().call$2(strand, action).initialize$0(0); - strands_builder = D.ListBuilder_ListBuilder(strands, t1); - t1 = strands_builder.$ti._precomputed1; - t1._as(strand); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (strand == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(strands_builder.get$_safeList(), strand_idx, strand); - return strands_builder.build$0(); + _$DNAExtensionsMoveStop: function _$DNAExtensionsMoveStop() { }, - vendor_fields_remove_reducer: function(strand, action) { - type$.legacy_Strand._as(strand); - type$.legacy_VendorFieldsRemove._as(action); - return strand.rebuild$1(new E.vendor_fields_remove_reducer_closure()); + _$DNAExtensionsMoveCommit: function _$DNAExtensionsMoveCommit(t0) { + this.dna_extensions_move = t0; }, - plate_well_vendor_fields_remove_reducer: function(strand, action) { - type$.legacy_Strand._as(strand); - type$.legacy_PlateWellVendorFieldsRemove._as(action); - if (strand.vendor_fields != null) - return strand.rebuild$1(new E.plate_well_vendor_fields_remove_reducer_closure()); - else - return strand; + DNAExtensionsMoveCommitBuilder: function DNAExtensionsMoveCommitBuilder() { + this._dna_extensions_move = this._$v = null; }, - plate_well_vendor_fields_assign_reducer: function(strand, action) { - return type$.legacy_Strand._as(strand).rebuild$1(new E.plate_well_vendor_fields_assign_reducer_closure(type$.legacy_PlateWellVendorFieldsAssign._as(action))); + _$HelixGroupMoveStart: function _$HelixGroupMoveStart(t0) { + this.mouse_point = t0; }, - scale_purification_vendor_fields_assign_reducer: function(strand, action) { - return type$.legacy_Strand._as(strand).rebuild$1(new E.scale_purification_vendor_fields_assign_reducer_closure(type$.legacy_ScalePurificationVendorFieldsAssign._as(action))); + HelixGroupMoveStartBuilder: function HelixGroupMoveStartBuilder() { + this._mouse_point = this._$v = null; }, - strand_name_set_reducer: function(strand, action) { - return type$.legacy_Strand._as(strand).rebuild$1(new E.strand_name_set_reducer_closure(type$.legacy_StrandNameSet._as(action))); + _$HelixGroupMoveCreate: function _$HelixGroupMoveCreate(t0) { + this.helix_group_move = t0; }, - strand_label_set_reducer: function(strand, action) { - return type$.legacy_Strand._as(strand).rebuild$1(new E.strand_label_set_reducer_closure(type$.legacy_StrandLabelSet._as(action))); + HelixGroupMoveCreateBuilder: function HelixGroupMoveCreateBuilder() { + this._helix_group_move = this._$v = null; }, - extension_add_reducer: function(strand, action) { - var t1, t2, substrands, t3, t4, t5, adjacent_domain, ext, _null = null; - type$.legacy_Strand._as(strand); - type$.legacy_ExtensionAdd._as(action); - t1 = strand.substrands; - t2 = t1._list; - t1 = H._instanceType(t1); - substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t3 = action.is_5p; - t4 = type$.legacy_Domain; - t5 = J.getInterceptor$ax(t2); - adjacent_domain = t3 ? t4._as(t5.get$first(t2)) : t4._as(t5.get$last(t2)); - t2 = action.num_bases; - ext = S.Extension_Extension(adjacent_domain, _null, 35, 1.5, _null, t3, strand.is_scaffold, _null, _null, t2, _null); - t1 = t1._precomputed1; - if (t3) { - t1._as(ext); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insert$2$ax(substrands._copy_on_write_list$_list, 0, ext); - } else { - t1._as(ext); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(substrands._copy_on_write_list$_list, ext); - } - return strand.rebuild$1(new E.extension_add_reducer_closure(substrands)); - }, - modification_add_reducer: function(strand, action) { - var t1, strand_with_new_modification; - type$.legacy_Strand._as(strand); - type$.legacy_ModificationAdd._as(action); - t1 = action.modification; - if (t1 instanceof Z.ModificationInternal) - strand_with_new_modification = strand.rebuild$1(new E.modification_add_reducer_closure(action)); - else if (t1 instanceof Z.Modification3Prime) - strand_with_new_modification = strand.rebuild$1(new E.modification_add_reducer_closure0(action)); - else - strand_with_new_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_add_reducer_closure1(action)) : null; - return strand_with_new_modification; + _$HelixGroupMoveAdjustTranslation: function _$HelixGroupMoveAdjustTranslation(t0) { + this.mouse_point = t0; }, - modification_remove_reducer: function(strand, action) { - var t1, strand_with_new_modification; - type$.legacy_Strand._as(strand); - type$.legacy_ModificationRemove._as(action); - t1 = action.modification; - if (t1 instanceof Z.ModificationInternal) - strand_with_new_modification = strand.rebuild$1(new E.modification_remove_reducer_closure(action)); - else if (t1 instanceof Z.Modification3Prime) - strand_with_new_modification = strand.rebuild$1(new E.modification_remove_reducer_closure0()); - else - strand_with_new_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_remove_reducer_closure1()) : null; - return strand_with_new_modification; + HelixGroupMoveAdjustTranslationBuilder: function HelixGroupMoveAdjustTranslationBuilder() { + this._mouse_point = this._$v = null; }, - modification_edit_reducer: function(strand, action) { - var t1, strand_with_edited_modification; - type$.legacy_Strand._as(strand); - type$.legacy_ModificationEdit._as(action); - t1 = action.modification; - if (t1 instanceof Z.ModificationInternal) - strand_with_edited_modification = strand.rebuild$1(new E.modification_edit_reducer_closure(action)); - else if (t1 instanceof Z.Modification3Prime) - strand_with_edited_modification = strand.rebuild$1(new E.modification_edit_reducer_closure0(action)); - else - strand_with_edited_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_edit_reducer_closure1(action)) : null; - return strand_with_edited_modification; + _$HelixGroupMoveStop: function _$HelixGroupMoveStop() { }, - scaffold_set_reducer: function(strand, action) { - type$.legacy_Strand._as(strand); - type$.legacy_ScaffoldSet._as(action); - return strand.rebuild$1(new E.scaffold_set_reducer_closure(action, action.is_scaffold ? $.$get$ColorCycler_scaffold_color() : $.$get$color_cycler().next$0(0))); + HelixGroupMoveStopBuilder: function HelixGroupMoveStopBuilder() { + this._$v = null; }, - strand_or_substrand_color_set_reducer: function(strand, action) { - var t1, t2, t3, t4, substrand_idx, substrand, substrands; - type$.legacy_Strand._as(strand); - type$.legacy_StrandOrSubstrandColorSet._as(action); - t1 = action.substrand; - if (t1 == null) - strand = strand.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure(action)); - else { - t2 = strand.substrands; - t2.toString; - t3 = t2.$ti; - t4 = t3._precomputed1; - t4._as(t1); - t2 = t2._list; - substrand_idx = J.indexOf$2$asx(t2, t1, 0); - if (t1 instanceof G.Domain) - substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure0(action)); - else if (t1 instanceof G.Loopout) - substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure1(action)); - else if (t1 instanceof S.Extension) - substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure2(action)); - else - throw H.wrapException(P.AssertionError$(string$.substr)); - substrands = new Q.CopyOnWriteList(true, t2, t3._eval$1("CopyOnWriteList<1>")); - t4._as(substrand); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); - strand = strand.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure3(substrands)); - } - return strand; + _$HelixGroupMoveCommit: function _$HelixGroupMoveCommit(t0) { + this.helix_group_move = t0; }, - modifications_5p_edit_reducer: function(strands, state, action) { - var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_Modifications5PrimeEdit._as(action); - t1 = strands._list; - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.__id; - t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); - } - for (t5 = J.get$iterator$ax(action.modifications._list), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { - t7 = t5.get$current(t5).strand; - t8 = t7.__id; - strand_idx = C.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = E.Strand.prototype.get$id.call(t7, t7) : t8); - strand = t4.$index(t1, strand_idx); - strand.toString; - t7 = t6._as(new E.modifications_5p_edit_reducer_closure(action)); - t8 = new E.StrandBuilder(); - t8._strand$_$v = strand; - t7.call$1(t8); - strand = t8.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t7 = strand.__first_domain; - if (t7 == null) - t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t7.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t2._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); - } - return D._BuiltList$of(new_strands, type$.legacy_Strand); - }, - modifications_3p_edit_reducer: function(strands, state, action) { - var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_Modifications3PrimeEdit._as(action); - t1 = strands._list; - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.__id; - t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); - } - for (t5 = J.get$iterator$ax(action.modifications._list), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { - t7 = t5.get$current(t5).strand; - t8 = t7.__id; - strand_idx = C.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = E.Strand.prototype.get$id.call(t7, t7) : t8); - strand = t4.$index(t1, strand_idx); - strand.toString; - t7 = t6._as(new E.modifications_3p_edit_reducer_closure(action)); - t8 = new E.StrandBuilder(); - t8._strand$_$v = strand; - t7.call$1(t8); - strand = t8.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t7 = strand.__first_domain; - if (t7 == null) - t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t7.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t2._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); - } - return D._BuiltList$of(new_strands, type$.legacy_Strand); - }, - modifications_int_edit_reducer: function(strands, state, action) { - var strand_id_to_mods, t1, t2, t3, t4, t5, new_strands, t6, t7, t8, selectable_mods, strand_idx, strand, t9, t10, mods_int, t11, strand0; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_ModificationsInternalEdit._as(action); - strand_id_to_mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Set_legacy_SelectableModificationInternal); - for (t1 = J.get$iterator$ax(action.modifications._list), t2 = type$.legacy_SelectableModificationInternal; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.strand; - t5 = t4.__id; - if (!strand_id_to_mods.containsKey$1(0, t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5)) { - t5 = t4.__id; - if (t5 == null) - t5 = t4.__id = E.Strand.prototype.get$id.call(t4, t4); - strand_id_to_mods.$indexSet(0, t5, P.LinkedHashSet_LinkedHashSet$_empty(t2)); - } - t5 = t4.__id; - strand_id_to_mods.$index(0, t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5).add$1(0, t3); - } - t1 = strands._list; - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.__id; - t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); - } - for (t5 = strand_id_to_mods.get$keys(strand_id_to_mods), t5 = t5.get$iterator(t5), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder, t7 = action.new_modification; t5.moveNext$0();) { - t8 = t5.get$current(t5); - selectable_mods = strand_id_to_mods.$index(0, t8); - strand_idx = C.JSArray_methods.indexOf$1(t3, t8); - strand = t4.$index(t1, strand_idx); - t8 = strand.modifications_int; - t9 = t8._map$_map; - t10 = H._instanceType(t8); - t10 = t10._eval$1("@<1>")._bind$1(t10._rest[1]); - mods_int = new S.CopyOnWriteMap(t8._mapFactory, t9, t10._eval$1("CopyOnWriteMap<1,2>")); - for (t8 = new P._LinkedHashSetIterator(selectable_mods, selectable_mods._collection$_modifications, H._instanceType(selectable_mods)._eval$1("_LinkedHashSetIterator<1>")), t8._collection$_cell = selectable_mods._collection$_first, t9 = t10._rest[0], t10 = t10._rest[1]; t8.moveNext$0();) { - t11 = t9._as(t8._collection$_current.dna_idx); - t10._as(t7); - mods_int._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(mods_int._copy_on_write_map$_map, t11, t7); - } - t8 = t6._as(new E.modifications_int_edit_reducer_closure(mods_int)); - t9 = new E.StrandBuilder(); - t9._strand$_$v = strand; - t8.call$1(t9); - strand = t9.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t8 = strand.__first_domain; - if (t8 == null) - t8 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t8.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t2._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); - } - return D._BuiltList$of(new_strands, type$.legacy_Strand); + HelixGroupMoveCommitBuilder: function HelixGroupMoveCommitBuilder() { + this._helix_group_move = this._$v = null; }, - substrand_name_set_reducer_closure: function substrand_name_set_reducer_closure(t0) { - this.action = t0; + _$AssignDNA: function _$AssignDNA(t0, t1) { + this.strand = t0; + this.dna_assign_options = t1; }, - substrand_name_set_reducer_closure0: function substrand_name_set_reducer_closure0(t0) { - this.action = t0; + AssignDNABuilder: function AssignDNABuilder() { + this._actions$_dna_assign_options = this._strand = this._$v = null; }, - substrand_name_set_reducer_closure1: function substrand_name_set_reducer_closure1(t0) { - this.action = t0; + _$AssignDNAComplementFromBoundStrands: function _$AssignDNAComplementFromBoundStrands(t0) { + this.strands = t0; + this._actions$__hashCode = null; }, - substrand_name_set_reducer_closure2: function substrand_name_set_reducer_closure2(t0) { - this.substrands = t0; + AssignDNAComplementFromBoundStrandsBuilder: function AssignDNAComplementFromBoundStrandsBuilder() { + this._actions$_strands = this._$v = null; }, - substrand_label_set_reducer_closure: function substrand_label_set_reducer_closure(t0) { - this.action = t0; + _$AssignDomainNameComplementFromBoundStrands: function _$AssignDomainNameComplementFromBoundStrands(t0) { + this.strands = t0; + this._actions$__hashCode = null; }, - substrand_label_set_reducer_closure0: function substrand_label_set_reducer_closure0(t0) { - this.action = t0; + AssignDomainNameComplementFromBoundStrandsBuilder: function AssignDomainNameComplementFromBoundStrandsBuilder() { + this._actions$_strands = this._$v = null; }, - substrand_label_set_reducer_closure1: function substrand_label_set_reducer_closure1(t0) { - this.action = t0; + _$AssignDomainNameComplementFromBoundDomains: function _$AssignDomainNameComplementFromBoundDomains(t0) { + this.domains = t0; + this._actions$__hashCode = null; }, - substrand_label_set_reducer_closure2: function substrand_label_set_reducer_closure2(t0) { - this.substrands = t0; + AssignDomainNameComplementFromBoundDomainsBuilder: function AssignDomainNameComplementFromBoundDomainsBuilder() { + this._domains = this._$v = null; }, - one_strand_strands_move_copy_commit_reducer_closure: function one_strand_strands_move_copy_commit_reducer_closure() { + _$RemoveDNA: function _$RemoveDNA(t0, t1, t2) { + this.strand = t0; + this.remove_complements = t1; + this.remove_all = t2; }, - move_strand_closure: function move_strand_closure(t0, t1, t2, t3, t4, t5) { + RemoveDNABuilder: function RemoveDNABuilder() { var _ = this; - _._box_1 = t0; - _._box_0 = t1; - _.i = t2; - _.delta_forward = t3; - _.substrand = t4; - _.delta_offset = t5; - }, - move_strand__closure: function move_strand__closure(t0) { - this.delta_offset = t0; + _._remove_all = _._remove_complements = _._strand = _._$v = null; }, - move_strand__closure0: function move_strand__closure0(t0) { - this.delta_offset = t0; + _$InsertionAdd: function _$InsertionAdd(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; }, - move_strand___closure: function move_strand___closure(t0, t1) { - this.i = t0; - this.delta_offset = t1; + InsertionAddBuilder: function InsertionAddBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; }, - move_strand_closure0: function move_strand_closure0(t0) { - this._box_1 = t0; + _$InsertionLengthChange: function _$InsertionLengthChange(t0, t1, t2, t3) { + var _ = this; + _.domain = t0; + _.insertion = t1; + _.length = t2; + _.all_helices = t3; }, - one_strand_domains_move_commit_reducer_closure: function one_strand_domains_move_commit_reducer_closure(t0) { - this.substrands = t0; + InsertionLengthChangeBuilder: function InsertionLengthChangeBuilder() { + var _ = this; + _._all_helices = _._actions$_length = _._insertion = _._actions$_domain = _._$v = null; }, - strands_dna_ends_move_commit_reducer_closure: function strands_dna_ends_move_commit_reducer_closure(t0) { - this.offset = t0; + _$InsertionsLengthChange: function _$InsertionsLengthChange(t0, t1, t2, t3) { + var _ = this; + _.insertions = t0; + _.domains = t1; + _.length = t2; + _.all_helices = t3; }, - strands_dna_extensions_move_commit_reducer_closure: function strands_dna_extensions_move_commit_reducer_closure(t0) { - this.length_and_angle = t0; + InsertionsLengthChangeBuilder: function InsertionsLengthChangeBuilder() { + var _ = this; + _._all_helices = _._actions$_length = _._domains = _._actions$_insertions = _._$v = null; }, - strands_dna_extensions_move_commit_reducer_closure0: function strands_dna_extensions_move_commit_reducer_closure0(t0) { - this.substrands_builder = t0; + _$DeletionAdd: function _$DeletionAdd(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; }, - InsertionDeletionRecord: function InsertionDeletionRecord(t0, t1, t2) { - this.offset = t0; - this.strand_idx = t1; - this.substrand_idx = t2; + DeletionAddBuilder: function DeletionAddBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; }, - single_strand_dna_ends_commit_stop_reducer_closure: function single_strand_dna_ends_commit_stop_reducer_closure(t0) { - this.remaining_deletions = t0; + _$InsertionRemove: function _$InsertionRemove(t0, t1, t2) { + this.domain = t0; + this.insertion = t1; + this.all_helices = t2; }, - single_strand_dna_ends_commit_stop_reducer_closure0: function single_strand_dna_ends_commit_stop_reducer_closure0(t0) { - this.remaining_insertions = t0; + InsertionRemoveBuilder: function InsertionRemoveBuilder() { + var _ = this; + _._all_helices = _._insertion = _._actions$_domain = _._$v = null; }, - single_strand_dna_ends_commit_stop_reducer_closure1: function single_strand_dna_ends_commit_stop_reducer_closure1() { + _$DeletionRemove: function _$DeletionRemove(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; }, - single_strand_dna_ends_commit_stop_reducer_closure2: function single_strand_dna_ends_commit_stop_reducer_closure2(t0, t1, t2) { - this.dnaend = t0; - this.substrand = t1; - this.new_offset = t2; + DeletionRemoveBuilder: function DeletionRemoveBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; }, - single_strand_dna_ends_commit_stop_reducer_closure3: function single_strand_dna_ends_commit_stop_reducer_closure3(t0, t1) { - this.remaining_deletions = t0; - this.remaining_insertions = t1; + _$ScalePurificationVendorFieldsAssign: function _$ScalePurificationVendorFieldsAssign(t0, t1) { + this.strand = t0; + this.vendor_fields = t1; }, - single_strand_dna_ends_commit_stop_reducer_closure4: function single_strand_dna_ends_commit_stop_reducer_closure4(t0) { - this.substrands = t0; + ScalePurificationVendorFieldsAssignBuilder: function ScalePurificationVendorFieldsAssignBuilder() { + this._actions$_vendor_fields = this._strand = this._$v = null; }, - get_remaining_deletions_closure: function get_remaining_deletions_closure(t0, t1, t2) { - this.substrand = t0; - this.dnaend = t1; - this.new_offset = t2; + _$PlateWellVendorFieldsAssign: function _$PlateWellVendorFieldsAssign(t0, t1) { + this.strand = t0; + this.vendor_fields = t1; }, - get_remaining_insertions_closure: function get_remaining_insertions_closure(t0, t1, t2) { - this.substrand = t0; - this.dnaend = t1; - this.new_offset = t2; + PlateWellVendorFieldsAssignBuilder: function PlateWellVendorFieldsAssignBuilder() { + this._actions$_vendor_fields = this._strand = this._$v = null; }, - strand_create_closure: function strand_create_closure(t0) { + _$PlateWellVendorFieldsRemove: function _$PlateWellVendorFieldsRemove(t0) { this.strand = t0; }, - vendor_fields_remove_reducer_closure: function vendor_fields_remove_reducer_closure() { + PlateWellVendorFieldsRemoveBuilder: function PlateWellVendorFieldsRemoveBuilder() { + this._strand = this._$v = null; }, - plate_well_vendor_fields_remove_reducer_closure: function plate_well_vendor_fields_remove_reducer_closure() { + _$VendorFieldsRemove: function _$VendorFieldsRemove(t0) { + this.strand = t0; }, - plate_well_vendor_fields_assign_reducer_closure: function plate_well_vendor_fields_assign_reducer_closure(t0) { - this.action = t0; + VendorFieldsRemoveBuilder: function VendorFieldsRemoveBuilder() { + this._strand = this._$v = null; }, - scale_purification_vendor_fields_assign_reducer_closure: function scale_purification_vendor_fields_assign_reducer_closure(t0) { - this.action = t0; + _$ModificationAdd: function _$ModificationAdd(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; }, - strand_name_set_reducer_closure: function strand_name_set_reducer_closure(t0) { - this.action = t0; + ModificationAddBuilder: function ModificationAddBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; }, - strand_label_set_reducer_closure: function strand_label_set_reducer_closure(t0) { - this.action = t0; + _$ModificationRemove: function _$ModificationRemove(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; }, - extension_add_reducer_closure: function extension_add_reducer_closure(t0) { - this.substrands = t0; + ModificationRemoveBuilder: function ModificationRemoveBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; }, - modification_add_reducer_closure: function modification_add_reducer_closure(t0) { - this.action = t0; + _$ModificationConnectorLengthSet: function _$ModificationConnectorLengthSet(t0, t1, t2) { + var _ = this; + _.strand = t0; + _.modification = t1; + _.connector_length = t2; + _._actions$__hashCode = null; }, - modification_add_reducer_closure0: function modification_add_reducer_closure0(t0) { - this.action = t0; + ModificationConnectorLengthSetBuilder: function ModificationConnectorLengthSetBuilder() { + var _ = this; + _._actions$_connector_length = _._modification = _._strand = _._$v = null; }, - modification_add_reducer_closure1: function modification_add_reducer_closure1(t0) { - this.action = t0; + _$ModificationEdit: function _$ModificationEdit(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; }, - modification_remove_reducer_closure: function modification_remove_reducer_closure(t0) { - this.action = t0; + ModificationEditBuilder: function ModificationEditBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; }, - modification_remove_reducer_closure0: function modification_remove_reducer_closure0() { + _$Modifications5PrimeEdit: function _$Modifications5PrimeEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - modification_remove_reducer_closure1: function modification_remove_reducer_closure1() { + Modifications5PrimeEditBuilder: function Modifications5PrimeEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; }, - modification_edit_reducer_closure: function modification_edit_reducer_closure(t0) { - this.action = t0; + _$Modifications3PrimeEdit: function _$Modifications3PrimeEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - modification_edit_reducer_closure0: function modification_edit_reducer_closure0(t0) { - this.action = t0; + Modifications3PrimeEditBuilder: function Modifications3PrimeEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; }, - modification_edit_reducer_closure1: function modification_edit_reducer_closure1(t0) { - this.action = t0; + _$ModificationsInternalEdit: function _$ModificationsInternalEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; }, - scaffold_set_reducer_closure: function scaffold_set_reducer_closure(t0, t1) { - this.action = t0; - this.new_color = t1; + ModificationsInternalEditBuilder: function ModificationsInternalEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; }, - strand_or_substrand_color_set_reducer_closure: function strand_or_substrand_color_set_reducer_closure(t0) { - this.action = t0; + _$GridChange: function _$GridChange(t0, t1) { + this.grid = t0; + this.group_name = t1; }, - strand_or_substrand_color_set_reducer_closure0: function strand_or_substrand_color_set_reducer_closure0(t0) { - this.action = t0; + GridChangeBuilder: function GridChangeBuilder() { + this._group_name = this._actions$_grid = this._$v = null; }, - strand_or_substrand_color_set_reducer_closure1: function strand_or_substrand_color_set_reducer_closure1(t0) { - this.action = t0; + _$GroupDisplayedChange: function _$GroupDisplayedChange(t0) { + this.group_name = t0; }, - strand_or_substrand_color_set_reducer_closure2: function strand_or_substrand_color_set_reducer_closure2(t0) { - this.action = t0; + GroupDisplayedChangeBuilder: function GroupDisplayedChangeBuilder() { + this._group_name = this._$v = null; }, - strand_or_substrand_color_set_reducer_closure3: function strand_or_substrand_color_set_reducer_closure3(t0) { - this.substrands = t0; + _$GroupAdd: function _$GroupAdd(t0, t1) { + this.name = t0; + this.group = t1; }, - modifications_5p_edit_reducer_closure: function modifications_5p_edit_reducer_closure(t0) { - this.action = t0; + GroupAddBuilder: function GroupAddBuilder() { + this._actions$_group = this._actions$_name = this._$v = null; }, - modifications_3p_edit_reducer_closure: function modifications_3p_edit_reducer_closure(t0) { - this.action = t0; + _$GroupRemove: function _$GroupRemove(t0) { + this.name = t0; }, - modifications_int_edit_reducer_closure: function modifications_int_edit_reducer_closure(t0) { - this.mods_int = t0; + GroupRemoveBuilder: function GroupRemoveBuilder() { + this._actions$_name = this._$v = null; }, - Dialog_identity_function: function(items) { - return type$.legacy_BuiltList_legacy_DialogItem._as(items); + _$GroupChange: function _$GroupChange(t0, t1, t2) { + this.old_name = t0; + this.new_name = t1; + this.new_group = t2; }, - Dialog_Dialog: function(disable, disable_when_any_checkboxes_off, disable_when_any_checkboxes_on, disable_when_any_radio_button_selected, items, mutually_exclusive_checkbox_groups, process_saved_response, title, type, use_saved_response) { - var t2, t3, _i, t4, t5, t6, disable_when_any_radio_button_selected_quarter_built, t7, t8, t9, t10, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_BuiltList_legacy_int); - for (t2 = mutually_exclusive_checkbox_groups.length, t3 = type$.legacy_int, _i = 0; _i < mutually_exclusive_checkbox_groups.length; mutually_exclusive_checkbox_groups.length === t2 || (0, H.throwConcurrentModificationError)(mutually_exclusive_checkbox_groups), ++_i) - t1.push(D.BuiltList_BuiltList$from(mutually_exclusive_checkbox_groups[_i], t3)); - t2 = type$.legacy_BuiltList_legacy_int; - t4 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); - for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_on.get$keys(disable_when_any_checkboxes_on)); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t4.$indexSet(0, t6, D.BuiltList_BuiltList$from(disable_when_any_checkboxes_on.$index(0, t6), t3)); - } - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); - for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_off.get$keys(disable_when_any_checkboxes_off)); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t2.$indexSet(0, t6, D.BuiltList_BuiltList$from(disable_when_any_checkboxes_off.$index(0, t6), t3)); - } - disable_when_any_radio_button_selected_quarter_built = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_Map_of_legacy_int_and_legacy_BuiltList_legacy_String); - for (t5 = J.get$iterator$ax(disable_when_any_radio_button_selected.get$keys(disable_when_any_radio_button_selected)), t6 = type$.legacy_String, t7 = type$.legacy_BuiltList_legacy_String; t5.moveNext$0();) { - t8 = t5.get$current(t5); - disable_when_any_radio_button_selected_quarter_built.$indexSet(0, t8, P.LinkedHashMap_LinkedHashMap$_empty(t3, t7)); - for (t9 = disable_when_any_radio_button_selected.$index(0, t8), t9 = t9.get$keys(t9), t9 = t9.get$iterator(t9); t9.moveNext$0();) { - t10 = t9.get$current(t9); - disable_when_any_radio_button_selected_quarter_built.$index(0, t8).$indexSet(0, t10, D.BuiltList_BuiltList$of(disable_when_any_radio_button_selected.$index(0, t8).$index(0, t10), t6)); - } - } - t5 = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); - for (t6 = disable_when_any_radio_button_selected_quarter_built.get$keys(disable_when_any_radio_button_selected_quarter_built), t6 = t6.get$iterator(t6); t6.moveNext$0();) { - t8 = t6.get$current(t6); - t5.$indexSet(0, t8, A.BuiltMap_BuiltMap$of(disable_when_any_radio_button_selected_quarter_built.$index(0, t8), t3, t7)); - } - t3 = new E.DialogBuilder(); - type$.legacy_void_Function_legacy_DialogBuilder._as(new E.Dialog_Dialog_closure(title, type, process_saved_response, use_saved_response, items, disable, t1, t5, t4, t2)).call$1(t3); - return t3.build$0(); + GroupChangeBuilder: function GroupChangeBuilder() { + var _ = this; + _._new_group = _._new_name = _._old_name = _._$v = null; }, - DialogInteger_DialogInteger: function(label, tooltip, value) { - var t1 = new E.DialogIntegerBuilder(); - type$.legacy_void_Function_legacy_DialogIntegerBuilder._as(new E.DialogInteger_DialogInteger_closure(label, value, tooltip)).call$1(t1); - return t1.build$0(); + _$MoveHelicesToGroup: function _$MoveHelicesToGroup(t0, t1) { + this.helix_idxs = t0; + this.group_name = t1; + this._actions$__hashCode = null; }, - DialogFloat_DialogFloat: function(label, value) { - var t1 = new E.DialogFloatBuilder(); - type$.legacy_void_Function_legacy_DialogFloatBuilder._as(new E.DialogFloat_DialogFloat_closure(label, value, null)).call$1(t1); - return t1.build$0(); + MoveHelicesToGroupBuilder: function MoveHelicesToGroupBuilder() { + this._group_name = this._helix_idxs = this._$v = null; }, - DialogText_DialogText: function(label, tooltip, value) { - var size, t2, t1 = {}; - t1.size = size; - t1.size = null; - t2 = Math.max(20, value.length); - t1.size = t2; - t2 = new E.DialogTextBuilder(); - type$.legacy_void_Function_legacy_DialogTextBuilder._as(new E.DialogText_DialogText_closure(t1, label, value, tooltip)).call$1(t2); - return t2.build$0(); + _$DialogShow: function _$DialogShow(t0) { + this.dialog = t0; }, - DialogTextArea_DialogTextArea: function(cols, label, rows, tooltip, value) { - var t1 = new E.DialogTextAreaBuilder(); - type$.legacy_void_Function_legacy_DialogTextAreaBuilder._as(new E.DialogTextArea_DialogTextArea_closure(label, cols, rows, value, tooltip)).call$1(t1); - return t1.build$0(); + DialogShowBuilder: function DialogShowBuilder() { + this._actions$_dialog = this._$v = null; }, - DialogCheckbox_DialogCheckbox: function(label, tooltip, value) { - var t1 = new E.DialogCheckboxBuilder(); - type$.legacy_void_Function_legacy_DialogCheckboxBuilder._as(new E.DialogCheckbox_DialogCheckbox_closure(label, value, tooltip)).call$1(t1); - return t1.build$0(); + _$DialogHide: function _$DialogHide() { }, - DialogRadio_DialogRadio: function(label, option_tooltips, options, radio, selected_idx, tooltip) { - var t2, - t1 = type$.legacy_String, - options_list = P.List_List$from(options, true, t1), - option_tooltips_list = P.List_List$from(option_tooltips == null ? P.List_List$filled(options_list.length, "", false, t1) : option_tooltips, true, t1); - t1 = options_list.length; - t2 = option_tooltips_list.length; - if (t1 !== t2) - throw H.wrapException(P.ArgumentError$("options and item_tooltips must be same length, but their lengths are " + t1 + " and " + t2 + " respectively:\noptions = " + H.S(options_list) + "\nitem_tooltips = " + H.S(option_tooltips_list))); - t1 = new E.DialogRadioBuilder(); - type$.legacy_void_Function_legacy_DialogRadioBuilder._as(new E.DialogRadio_DialogRadio_closure(options_list, selected_idx, radio, label, tooltip, option_tooltips_list)).call$1(t1); - return t1.build$0(); + DialogHideBuilder: function DialogHideBuilder() { + this._$v = null; }, - DialogLink_DialogLink: function(label, link) { - var t1 = new E.DialogLinkBuilder(); - type$.legacy_void_Function_legacy_DialogLinkBuilder._as(new E.DialogLink_DialogLink_closure(label, link, null)).call$1(t1); - return t1.build$0(); + _$ContextMenuShow: function _$ContextMenuShow(t0) { + this.context_menu = t0; }, - DialogLabel_DialogLabel: function(label) { - var _$result, t2, t3, - _s11_ = "DialogLabel", - t1 = new E.DialogLabelBuilder(); - type$.legacy_void_Function_legacy_DialogLabelBuilder._as(new E.DialogLabel_DialogLabel_closure(label, null)).call$1(t1); - _$result = t1._dialog$_$v; - if (_$result == null) { - t2 = t1.get$_dialog$_$this()._dialog$_label; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); - t3 = t1.get$_dialog$_$this()._dialog$_value; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "value")); - _$result = new E._$DialogLabel(t2, t3, t1.get$_dialog$_$this()._tooltip); - } - return t1._dialog$_$v = _$result; + ContextMenuShowBuilder: function ContextMenuShowBuilder() { + this._actions$_context_menu = this._$v = null; }, - _$valueOf3: function($name) { - switch ($name) { - case "choose_autobreak_parameters": - return C.DialogType_choose_autobreak_parameters; - case "adjust_geometric_parameters": - return C.DialogType_adjust_geometric_parameters; - case "create_new_helix_group": - return C.DialogType_create_new_helix_group; - case "adjust_current_helix_group": - return C.DialogType_adjust_current_helix_group; - case "adjust_helix_indices": - return C.DialogType_adjust_helix_indices; - case "assign_scale_purification": - return C.DialogType_assign_scale_purification; - case "assign_plate_well": - return C.DialogType_assign_plate_well; - case "add_modification": - return C.DialogType_add_modification; - case "set_strand_name": - return C.DialogType_set_strand_name; - case "set_strand_label": - return C.DialogType_set_strand_label; - case "set_domain_name": - return C.DialogType_set_domain_name; - case "set_substrand_label": - return C.DialogType_set_substrand_label; - case "assign_dna_sequence": - return C.DialogType_assign_dna_sequence; - case "remove_dna_sequence": - return C.DialogType_remove_dna_sequence; - case "edit_modification": - return C.DialogType_edit_modification; - case "set_color": - return C.DialogType_set_color; - case "set_loopout_name": - return C.DialogType_set_loopout_name; - case "set_loopout_length": - return C.DialogType_set_loopout_length; - case "set_insertion_length": - return C.DialogType_set_insertion_length; - case "set_extension_num_bases": - return C.DialogType_set_extension_num_bases; - case "set_helix_minimum_offset": - return C.DialogType_set_helix_minimum_offset; - case "set_helix_maximum_offset": - return C.DialogType_set_helix_maximum_offset; - case "set_helix_index": - return C.DialogType_set_helix_index; - case "set_helix_roll_degrees": - return C.DialogType_set_helix_roll_degrees; - case "set_helix_tick_marks": - return C.DialogType_set_helix_tick_marks; - case "set_helix_grid_position": - return C.DialogType_set_helix_grid_position; - case "set_helix_position": - return C.DialogType_set_helix_position; - case "move_selected_helices_to_group": - return C.DialogType_move_selected_helices_to_group; - case "export_dna_sequences": - return C.DialogType_export_dna_sequences; - case "load_example_dna_design": - return C.DialogType_load_example_dna_design; - case "base_pair_display": - return C.DialogType_base_pair_display; - case "add_extension": - return C.DialogType_add_extension; - case "set_extension_name": - return C.DialogType_set_extension_name; - case "set_extension_display_length_angle": - return C.DialogType_2jN; - case "select_all_with_same_as_selected": - return C.DialogType_0i1; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + _$ContextMenuHide: function _$ContextMenuHide() { }, - DialogType: function DialogType(t0) { - this.name = t0; + ContextMenuHideBuilder: function ContextMenuHideBuilder() { + this._$v = null; }, - Dialog: function Dialog() { + _$StrandOrSubstrandColorPickerShow: function _$StrandOrSubstrandColorPickerShow(t0, t1) { + this.strand = t0; + this.substrand = t1; }, - Dialog_Dialog_closure: function Dialog_Dialog_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _.title = t0; - _.type = t1; - _.process_saved_response = t2; - _.use_saved_response = t3; - _.items = t4; - _.disable = t5; - _.mutually_exclusive_checkbox_groups_half_built = t6; - _.disable_when_any_radio_button_selected_half_built = t7; - _.disable_when_any_checkboxes_on_half_built = t8; - _.disable_when_any_checkboxes_off_half_built = t9; + StrandOrSubstrandColorPickerShowBuilder: function StrandOrSubstrandColorPickerShowBuilder() { + this._substrand = this._strand = this._$v = null; }, - DialogInteger: function DialogInteger() { + _$StrandOrSubstrandColorPickerHide: function _$StrandOrSubstrandColorPickerHide() { }, - DialogInteger_DialogInteger_closure: function DialogInteger_DialogInteger_closure(t0, t1, t2) { - this.label = t0; - this.value = t1; - this.tooltip = t2; + StrandOrSubstrandColorPickerHideBuilder: function StrandOrSubstrandColorPickerHideBuilder() { + this._$v = null; }, - DialogFloat: function DialogFloat() { + _$ScaffoldSet: function _$ScaffoldSet(t0, t1) { + this.strand = t0; + this.is_scaffold = t1; }, - DialogFloat_DialogFloat_closure: function DialogFloat_DialogFloat_closure(t0, t1, t2) { - this.label = t0; - this.value = t1; - this.tooltip = t2; + ScaffoldSetBuilder: function ScaffoldSetBuilder() { + this._actions$_is_scaffold = this._strand = this._$v = null; }, - DialogText: function DialogText() { + _$StrandOrSubstrandColorSet: function _$StrandOrSubstrandColorSet(t0, t1, t2) { + this.strand = t0; + this.substrand = t1; + this.color = t2; }, - DialogText_DialogText_closure: function DialogText_DialogText_closure(t0, t1, t2, t3) { + StrandOrSubstrandColorSetBuilder: function StrandOrSubstrandColorSetBuilder() { var _ = this; - _._box_0 = t0; - _.label = t1; - _.value = t2; - _.tooltip = t3; + _._actions$_color = _._substrand = _._strand = _._$v = null; }, - DialogTextArea: function DialogTextArea() { + _$StrandPasteKeepColorSet: function _$StrandPasteKeepColorSet(t0) { + this.keep = t0; }, - DialogTextArea_DialogTextArea_closure: function DialogTextArea_DialogTextArea_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.label = t0; - _.cols = t1; - _.rows = t2; - _.value = t3; - _.tooltip = t4; + StrandPasteKeepColorSetBuilder: function StrandPasteKeepColorSetBuilder() { + this._keep = this._$v = null; }, - DialogCheckbox: function DialogCheckbox() { + _$ExampleDesignsLoad: function _$ExampleDesignsLoad(t0) { + this.selected_idx = t0; }, - DialogCheckbox_DialogCheckbox_closure: function DialogCheckbox_DialogCheckbox_closure(t0, t1, t2) { - this.label = t0; - this.value = t1; - this.tooltip = t2; + ExampleDesignsLoadBuilder: function ExampleDesignsLoadBuilder() { + this._actions$_selected_idx = this._$v = null; }, - DialogRadio: function DialogRadio() { + _$BasePairTypeSet: function _$BasePairTypeSet(t0) { + this.selected_idx = t0; }, - DialogRadio_DialogRadio_closure: function DialogRadio_DialogRadio_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.options_list = t0; - _.selected_idx = t1; - _.radio = t2; - _.label = t3; - _.tooltip = t4; - _.option_tooltips_list = t5; + BasePairTypeSetBuilder: function BasePairTypeSetBuilder() { + this._actions$_selected_idx = this._$v = null; }, - DialogLink: function DialogLink() { + _$HelixPositionSet: function _$HelixPositionSet(t0, t1) { + this.helix_idx = t0; + this.position = t1; }, - DialogLink_DialogLink_closure: function DialogLink_DialogLink_closure(t0, t1, t2) { - this.label = t0; - this.link = t1; - this.tooltip = t2; + HelixPositionSetBuilder: function HelixPositionSetBuilder() { + this._actions$_position = this._actions$_helix_idx = this._$v = null; }, - DialogLabel: function DialogLabel() { + _$HelixGridPositionSet: function _$HelixGridPositionSet(t0, t1) { + this.helix = t0; + this.grid_position = t1; }, - DialogLabel_DialogLabel_closure: function DialogLabel_DialogLabel_closure(t0, t1) { - this.label = t0; - this.tooltip = t1; + HelixGridPositionSetBuilder: function HelixGridPositionSetBuilder() { + this._actions$_grid_position = this._actions$_helix = this._$v = null; }, - _$DialogTypeSerializer: function _$DialogTypeSerializer() { + _$HelicesPositionsSetBasedOnCrossovers: function _$HelicesPositionsSetBasedOnCrossovers() { }, - _$DialogSerializer: function _$DialogSerializer() { + HelicesPositionsSetBasedOnCrossoversBuilder: function HelicesPositionsSetBasedOnCrossoversBuilder() { + this._$v = null; }, - _$DialogIntegerSerializer: function _$DialogIntegerSerializer() { + _$InlineInsertionsDeletions: function _$InlineInsertionsDeletions() { }, - _$DialogFloatSerializer: function _$DialogFloatSerializer() { + InlineInsertionsDeletionsBuilder: function InlineInsertionsDeletionsBuilder() { + this._$v = null; }, - _$DialogTextSerializer: function _$DialogTextSerializer() { + _$DefaultCrossoverTypeForSettingHelixRollsSet: function _$DefaultCrossoverTypeForSettingHelixRollsSet(t0, t1) { + this.scaffold = t0; + this.staple = t1; }, - _$DialogTextAreaSerializer: function _$DialogTextAreaSerializer() { + DefaultCrossoverTypeForSettingHelixRollsSetBuilder: function DefaultCrossoverTypeForSettingHelixRollsSetBuilder() { + this._staple = this._scaffold = this._$v = null; }, - _$DialogCheckboxSerializer: function _$DialogCheckboxSerializer() { + _$AutofitSet: function _$AutofitSet(t0) { + this.autofit = t0; }, - _$DialogRadioSerializer: function _$DialogRadioSerializer() { + AutofitSetBuilder: function AutofitSetBuilder() { + this._actions$_autofit = this._$v = null; }, - _$DialogLinkSerializer: function _$DialogLinkSerializer() { + _$ShowHelixCirclesMainViewSet: function _$ShowHelixCirclesMainViewSet(t0) { + this.show_helix_circles_main_view = t0; }, - _$Dialog: function _$Dialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _.title = t0; - _.type = t1; - _.process_saved_response = t2; - _.use_saved_response = t3; - _.items = t4; - _.mutually_exclusive_checkbox_groups = t5; - _.disable_when_any_radio_button_selected = t6; - _.disable_when_any_checkboxes_on = t7; - _.disable_when_any_checkboxes_off = t8; - _.disable = t9; - _.on_submit = t10; - _._dialog$__hashCode = null; + ShowHelixCirclesMainViewSetBuilder: function ShowHelixCirclesMainViewSetBuilder() { + this._actions$_show_helix_circles_main_view = this._$v = null; }, - DialogBuilder: function DialogBuilder() { - var _ = this; - _._on_submit = _._disable = _._disable_when_any_checkboxes_off = _._disable_when_any_checkboxes_on = _._disable_when_any_radio_button_selected = _._mutually_exclusive_checkbox_groups = _._dialog$_items = _._use_saved_response = _._process_saved_response = _._dialog$_type = _._title = _._dialog$_$v = null; + _$ShowHelixComponentsMainViewSet: function _$ShowHelixComponentsMainViewSet(t0) { + this.show_helix_components = t0; + this._actions$__hashCode = null; }, - _$DialogInteger: function _$DialogInteger(t0, t1, t2) { - var _ = this; - _.label = t0; - _.value = t1; - _.tooltip = t2; - _._dialog$__hashCode = null; + ShowHelixComponentsMainViewSetBuilder: function ShowHelixComponentsMainViewSetBuilder() { + this._show_helix_components = this._$v = null; }, - DialogIntegerBuilder: function DialogIntegerBuilder() { - var _ = this; - _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + _$ShowEditMenuToggle: function _$ShowEditMenuToggle() { }, - _$DialogFloat: function _$DialogFloat(t0, t1, t2) { - this.label = t0; - this.value = t1; - this.tooltip = t2; + _$ShowGridCoordinatesSideViewSet: function _$ShowGridCoordinatesSideViewSet(t0) { + this.show_grid_coordinates_side_view = t0; }, - DialogFloatBuilder: function DialogFloatBuilder() { - var _ = this; - _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + ShowGridCoordinatesSideViewSetBuilder: function ShowGridCoordinatesSideViewSetBuilder() { + this._actions$_show_grid_coordinates_side_view = this._$v = null; }, - _$DialogText: function _$DialogText(t0, t1, t2, t3) { - var _ = this; - _.label = t0; - _.value = t1; - _.size = t2; - _.tooltip = t3; - _._dialog$__hashCode = null; + _$ShowAxisArrowsSet: function _$ShowAxisArrowsSet(t0) { + this.show_helices_axis_arrows = t0; }, - DialogTextBuilder: function DialogTextBuilder() { - var _ = this; - _._tooltip = _._size = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + ShowAxisArrowsSetBuilder: function ShowAxisArrowsSetBuilder() { + this._actions$_show_helices_axis_arrows = this._$v = null; }, - _$DialogTextArea: function _$DialogTextArea(t0, t1, t2, t3, t4) { - var _ = this; - _.label = t0; - _.cols = t1; - _.rows = t2; - _.value = t3; - _.tooltip = t4; - _._dialog$__hashCode = null; + _$ShowLoopoutExtensionLengthSet: function _$ShowLoopoutExtensionLengthSet(t0) { + this.show_length = t0; }, - DialogTextAreaBuilder: function DialogTextAreaBuilder() { - var _ = this; - _._tooltip = _._dialog$_value = _._rows = _._cols = _._dialog$_label = _._dialog$_$v = null; + ShowLoopoutExtensionLengthSetBuilder: function ShowLoopoutExtensionLengthSetBuilder() { + this._show_length = this._$v = null; }, - _$DialogCheckbox: function _$DialogCheckbox(t0, t1, t2) { - var _ = this; - _.label = t0; - _.value = t1; - _.tooltip = t2; - _._dialog$__hashCode = null; + _$LoadDnaSequenceImageUri: function _$LoadDnaSequenceImageUri(t0, t1, t2) { + this.uri = t0; + this.dna_sequence_png_horizontal_offset = t1; + this.dna_sequence_png_vertical_offset = t2; }, - DialogCheckboxBuilder: function DialogCheckboxBuilder() { + LoadDnaSequenceImageUriBuilder: function LoadDnaSequenceImageUriBuilder() { var _ = this; - _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + _._actions$_dna_sequence_png_vertical_offset = _._actions$_dna_sequence_png_horizontal_offset = _._uri = _._$v = null; }, - _$DialogRadio: function _$DialogRadio(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.options = t0; - _.selected_idx = t1; - _.label = t2; - _.radio = t3; - _.option_tooltips = t4; - _.tooltip = t5; - _._dialog$__hashCode = null; + _$SetIsZoomAboveThreshold: function _$SetIsZoomAboveThreshold(t0) { + this.is_zoom_above_threshold = t0; }, - DialogRadioBuilder: function DialogRadioBuilder() { - var _ = this; - _._tooltip = _._option_tooltips = _._radio = _._dialog$_label = _._dialog$_selected_idx = _._options = _._dialog$_$v = null; + SetIsZoomAboveThresholdBuilder: function SetIsZoomAboveThresholdBuilder() { + this._actions$_is_zoom_above_threshold = this._$v = null; }, - _$DialogLink: function _$DialogLink(t0, t1, t2, t3) { - var _ = this; - _.label = t0; - _.link = t1; - _.value = t2; - _.tooltip = t3; - _._dialog$__hashCode = null; + _$SetExportSvgActionDelayedForPngCache: function _$SetExportSvgActionDelayedForPngCache(t0) { + this.export_svg_action_delayed_for_png_cache = t0; }, - DialogLinkBuilder: function DialogLinkBuilder() { - var _ = this; - _._tooltip = _._dialog$_value = _._link = _._dialog$_label = _._dialog$_$v = null; + SetExportSvgActionDelayedForPngCacheBuilder: function SetExportSvgActionDelayedForPngCacheBuilder() { + this._actions$_export_svg_action_delayed_for_png_cache = this._$v = null; }, - _$DialogLabel: function _$DialogLabel(t0, t1, t2) { - var _ = this; - _.label = t0; - _.value = t1; - _.tooltip = t2; - _._dialog$__hashCode = null; + _$ShowBasePairLinesSet: function _$ShowBasePairLinesSet(t0) { + this.show_base_pair_lines = t0; + this._actions$__hashCode = null; }, - DialogLabelBuilder: function DialogLabelBuilder() { - var _ = this; - _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + ShowBasePairLinesSetBuilder: function ShowBasePairLinesSetBuilder() { + this._actions$_show_base_pair_lines = this._$v = null; }, - _Dialog_Object_BuiltJsonSerializable: function _Dialog_Object_BuiltJsonSerializable() { + _$ShowBasePairLinesWithMismatchesSet: function _$ShowBasePairLinesWithMismatchesSet(t0) { + this.show_base_pair_lines_with_mismatches = t0; + this._actions$__hashCode = null; }, - _DialogCheckbox_Object_BuiltJsonSerializable: function _DialogCheckbox_Object_BuiltJsonSerializable() { + ShowBasePairLinesWithMismatchesSetBuilder: function ShowBasePairLinesWithMismatchesSetBuilder() { + this._actions$_show_base_pair_lines_with_mismatches = this._$v = null; }, - _DialogFloat_Object_BuiltJsonSerializable: function _DialogFloat_Object_BuiltJsonSerializable() { + _$ShowSliceBarSet: function _$ShowSliceBarSet(t0) { + this.show = t0; }, - _DialogInteger_Object_BuiltJsonSerializable: function _DialogInteger_Object_BuiltJsonSerializable() { + ShowSliceBarSetBuilder: function ShowSliceBarSetBuilder() { + this._show = this._$v = null; }, - _DialogLabel_Object_BuiltJsonSerializable: function _DialogLabel_Object_BuiltJsonSerializable() { + _$SliceBarOffsetSet: function _$SliceBarOffsetSet(t0) { + this.offset = t0; }, - _DialogLink_Object_BuiltJsonSerializable: function _DialogLink_Object_BuiltJsonSerializable() { + SliceBarOffsetSetBuilder: function SliceBarOffsetSetBuilder() { + this._actions$_offset = this._$v = null; }, - _DialogRadio_Object_BuiltJsonSerializable: function _DialogRadio_Object_BuiltJsonSerializable() { + _$DisablePngCachingDnaSequencesSet: function _$DisablePngCachingDnaSequencesSet(t0) { + this.disable_png_caching_dna_sequences = t0; }, - _DialogText_Object_BuiltJsonSerializable: function _DialogText_Object_BuiltJsonSerializable() { + DisablePngCachingDnaSequencesSetBuilder: function DisablePngCachingDnaSequencesSetBuilder() { + this._actions$_disable_png_caching_dna_sequences = this._$v = null; }, - _DialogTextArea_Object_BuiltJsonSerializable: function _DialogTextArea_Object_BuiltJsonSerializable() { + _$RetainStrandColorOnSelectionSet: function _$RetainStrandColorOnSelectionSet(t0) { + this.retain_strand_color_on_selection = t0; }, - end_type_selectable: function(end) { - var t2, - t1 = end.is_5p; - if (t1) - if (end.substrand_is_first) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_5p_strand); - } else - t2 = false; - else - t2 = false; - if (!t2) { - if (t1) - if (!end.substrand_is_first) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_5p_domain); - } else - t2 = false; - else - t2 = false; - if (!t2) { - t1 = !t1; - if (t1) - if (end.substrand_is_last) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_3p_strand); - } else - t2 = false; - else - t2 = false; - if (!t2) - if (t1) - if (!end.substrand_is_last) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_3p_domain); - } else - t1 = false; - else - t1 = false; - else - t1 = true; - } else - t1 = true; - } else - t1 = true; - return t1; + RetainStrandColorOnSelectionSetBuilder: function RetainStrandColorOnSelectionSetBuilder() { + this._actions$_retain_strand_color_on_selection = this._$v = null; }, - origami_type_selectable: function(selectable) { - var t2, - t1 = $.app.store; - if (!t1.get$state(t1).design.get$is_origami()) - return true; - t1 = selectable.get$is_scaffold(); - t2 = $.app; - if (t1) { - t1 = t2.store; - return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_scaffold); - } else { - t1 = t2.store; - return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_staple); - } + _$DisplayReverseDNARightSideUpSet: function _$DisplayReverseDNARightSideUpSet(t0) { + this.display_reverse_DNA_right_side_up = t0; }, - ask_for_select_all_with_same_as_selected: function() { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, all_traits, t2, items, idx, trait, results, traits_for_selection, t3, t4, action, t1, selected_strands; - var $async$ask_for_select_all_with_same_as_selected = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $.app.store; - selected_strands = D.BuiltList_BuiltList$from(t1.get$state(t1).ui_state.selectables_store.get$selected_strands(), type$.legacy_Selectable); - if (J.get$length$asx(selected_strands._list) === 0) { - C.Window_methods.alert$1(window, "No strands are selected. Select at least one strand before choosing this option."); - // goto return - $async$goto = 1; - break; - } - t1 = type$.legacy_SelectableTrait; - all_traits = P.List_List$from($.$get$_$values4(), true, t1); - t2 = all_traits.length; - items = P.List_List$filled(t2 + 1, null, false, type$.legacy_DialogItem); - for (idx = 0; idx < t2; ++idx) { - trait = all_traits[idx]; - C.JSArray_methods.$indexSet(items, idx, E.DialogCheckbox_DialogCheckbox(trait.get$description(trait), "", false)); - } - C.JSArray_methods.$indexSet(items, t2, E.DialogCheckbox_DialogCheckbox("(Exclude scaffold(s))", "If checked, then only strands that are not scaffolds will be selected. \nHowever, *currently* selected scaffold strands will remain selected.", false)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Select all strands with same traits as currently selected strand(s)", C.DialogType_0i1, true)), $async$ask_for_select_all_with_same_as_selected); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - traits_for_selection = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableTrait); - for (t3 = J.getInterceptor$asx(results), t4 = type$.legacy_DialogCheckbox, idx = 0; idx < t2; ++idx) { - trait = all_traits[idx]; - if (t4._as(t3.$index(results, idx)).value) - C.JSArray_methods.add$1(traits_for_selection, trait); - } - action = U._$SelectAllWithSameAsSelected$_(t4._as(t3.$index(results, t2)).value, selected_strands, D._BuiltList$of(traits_for_selection, t1)); - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_select_all_with_same_as_selected, $async$completer); + DisplayReverseDNARightSideUpSetBuilder: function DisplayReverseDNARightSideUpSetBuilder() { + this._actions$_display_reverse_DNA_right_side_up = this._$v = null; }, - _$valueOf9: function($name) { - switch ($name) { - case "strand_name": - return C.SelectableTrait_strand_name; - case "strand_label": - return C.SelectableTrait_strand_label; - case "color": - return C.SelectableTrait_color; - case "modification_5p": - return C.SelectableTrait_modification_5p; - case "modification_3p": - return C.SelectableTrait_modification_3p; - case "modification_int": - return C.SelectableTrait_modification_int; - case "dna_sequence": - return C.SelectableTrait_dna_sequence; - case "vendor_fields": - return C.SelectableTrait_vendor_fields; - case "circular": - return C.SelectableTrait_circular; - case "helices": - return C.SelectableTrait_helices; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + _$SliceBarMoveStart: function _$SliceBarMoveStart() { }, - _$SelectableDeletion$_: function(domain, is_scaffold, offset) { - var _s18_ = "SelectableDeletion"; - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "offset")); - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "domain")); - return new E._$SelectableDeletion(offset, domain, is_scaffold); + SliceBarMoveStartBuilder: function SliceBarMoveStartBuilder() { + this._$v = null; }, - _$SelectableInsertion$_: function(domain, insertion, is_scaffold) { - var _s19_ = "SelectableInsertion"; - if (insertion == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "insertion")); - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain")); - return new E._$SelectableInsertion(insertion, domain, is_scaffold); + _$SliceBarMoveStop: function _$SliceBarMoveStop() { }, - _$SelectableModification5Prime$_: function(modification, strand) { - var _s28_ = "SelectableModification5Prime"; - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "modification")); - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "strand")); - return new E._$SelectableModification5Prime(modification, strand); + SliceBarMoveStopBuilder: function SliceBarMoveStopBuilder() { + this._$v = null; }, - _$SelectableModification3Prime$_: function(modification, strand) { - var _s28_ = "SelectableModification3Prime"; - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "modification")); - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "strand")); - return new E._$SelectableModification3Prime(modification, strand); + _$Autostaple: function _$Autostaple() { }, - _$SelectableModificationInternal$_: function(dna_idx, domain, modification, strand) { - var _s30_ = "SelectableModificationInternal"; - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "strand")); - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "domain")); - if (dna_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); - return new E._$SelectableModificationInternal(modification, strand, domain, dna_idx); + AutostapleBuilder: function AutostapleBuilder() { + this._$v = null; }, - SelectablesStore: function SelectablesStore() { + _$Autobreak: function _$Autobreak(t0, t1, t2, t3) { + var _ = this; + _.target_length = t0; + _.min_length = t1; + _.max_length = t2; + _.min_distance_to_xover = t3; }, - SelectablesStore_selected_strands_closure: function SelectablesStore_selected_strands_closure() { + AutobreakBuilder: function AutobreakBuilder() { + var _ = this; + _._min_distance_to_xover = _._max_length = _._min_length = _._target_length = _._$v = null; }, - SelectablesStore_selected_crossovers_closure: function SelectablesStore_selected_crossovers_closure() { + _$ZoomSpeedSet: function _$ZoomSpeedSet(t0) { + this.speed = t0; + this._actions$__hashCode = null; }, - SelectablesStore_selected_loopouts_closure: function SelectablesStore_selected_loopouts_closure() { + ZoomSpeedSetBuilder: function ZoomSpeedSetBuilder() { + this._speed = this._$v = null; }, - SelectablesStore_selected_extensions_closure: function SelectablesStore_selected_extensions_closure() { + _$OxdnaExport: function _$OxdnaExport(t0) { + this.selected_strands_only = t0; + this._actions$__hashCode = null; }, - SelectablesStore_selected_domains_closure: function SelectablesStore_selected_domains_closure() { + OxdnaExportBuilder: function OxdnaExportBuilder() { + this._selected_strands_only = this._$v = null; }, - SelectablesStore_selected_dna_ends_closure: function SelectablesStore_selected_dna_ends_closure() { + _$OxviewExport: function _$OxviewExport(t0) { + this.selected_strands_only = t0; + this._actions$__hashCode = null; }, - SelectablesStore_selected_dna_ends_on_domains_closure: function SelectablesStore_selected_dna_ends_on_domains_closure() { + OxviewExportBuilder: function OxviewExportBuilder() { + this._selected_strands_only = this._$v = null; }, - SelectablesStore_selected_dna_ends_on_extensions_closure: function SelectablesStore_selected_dna_ends_on_extensions_closure() { + _$OxExportOnlySelectedStrandsSet: function _$OxExportOnlySelectedStrandsSet(t0) { + this.only_selected = t0; + this._actions$__hashCode = null; }, - SelectablesStore_selected_deletions_closure: function SelectablesStore_selected_deletions_closure() { + OxExportOnlySelectedStrandsSetBuilder: function OxExportOnlySelectedStrandsSetBuilder() { + this._only_selected = this._$v = null; }, - SelectablesStore_selected_insertions_closure: function SelectablesStore_selected_insertions_closure() { + _AssignDNA_Object_BuiltJsonSerializable: function _AssignDNA_Object_BuiltJsonSerializable() { }, - SelectablesStore_selected_modifications_closure: function SelectablesStore_selected_modifications_closure() { + _AssignDNA_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNA_Object_BuiltJsonSerializable_UndoableAction() { }, - SelectablesStore_select_closure: function SelectablesStore_select_closure(t0) { - this.selected_items_builder = t0; + _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable() { }, - SelectablesStore_unselect_closure: function SelectablesStore_unselect_closure(t0) { - this.selected_items_builder = t0; + _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { }, - SelectablesStore_clear_closure: function SelectablesStore_clear_closure() { + _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable() { }, - SelectablesStore_select_all_closure: function SelectablesStore_select_all_closure(t0) { - this.selected_items_builder = t0; + _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction() { }, - SelectablesStore_toggle_all_closure: function SelectablesStore_toggle_all_closure(t0) { - this.selected_items_builder = t0; + _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable() { }, - SelectableDeletion: function SelectableDeletion() { + _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { }, - SelectableInsertion: function SelectableInsertion() { + _AutoPasteInitiate_Object_BuiltJsonSerializable: function _AutoPasteInitiate_Object_BuiltJsonSerializable() { }, - SelectableModification: function SelectableModification() { + _Autobreak_Object_BuiltJsonSerializable: function _Autobreak_Object_BuiltJsonSerializable() { }, - SelectableModification5Prime: function SelectableModification5Prime() { + _AutofitSet_Object_BuiltJsonSerializable: function _AutofitSet_Object_BuiltJsonSerializable() { }, - SelectableModification3Prime: function SelectableModification3Prime() { + _Autostaple_Object_BuiltJsonSerializable: function _Autostaple_Object_BuiltJsonSerializable() { }, - SelectableModificationInternal: function SelectableModificationInternal() { + _BasePairTypeSet_Object_BuiltJsonSerializable: function _BasePairTypeSet_Object_BuiltJsonSerializable() { }, - SelectableMixin: function SelectableMixin() { + _BatchAction_Object_UndoableAction: function _BatchAction_Object_UndoableAction() { }, - SelectableTrait: function SelectableTrait(t0) { - this.name = t0; + _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable: function _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable() { }, - _$SelectablesStoreSerializer: function _$SelectablesStoreSerializer() { + _ContextMenuHide_Object_BuiltJsonSerializable: function _ContextMenuHide_Object_BuiltJsonSerializable() { }, - _$SelectableDeletionSerializer: function _$SelectableDeletionSerializer() { + _ContextMenuShow_Object_BuiltJsonSerializable: function _ContextMenuShow_Object_BuiltJsonSerializable() { }, - _$SelectableInsertionSerializer: function _$SelectableInsertionSerializer() { + _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable() { }, - _$SelectableModification5PrimeSerializer: function _$SelectableModification5PrimeSerializer() { + _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction() { }, - _$SelectableModification3PrimeSerializer: function _$SelectableModification3PrimeSerializer() { + _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable() { }, - _$SelectableModificationInternalSerializer: function _$SelectableModificationInternalSerializer() { + _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction() { }, - _$SelectableTraitSerializer: function _$SelectableTraitSerializer() { + _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable: function _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable() { }, - _$SelectablesStore: function _$SelectablesStore(t0) { - var _ = this; - _.selected_items = t0; - _._selectable$__hashCode = _.__selected_modifications = _.__selected_insertions = _.__selected_deletions = _.__selected_dna_ends_on_extensions = _.__selected_dna_ends_on_domains = _.__selected_dna_ends = _.__selected_domains = _.__selected_extensions = _.__selected_loopouts = _.__selected_crossovers = _.__selected_strands = null; + _CopySelectedStrands_Object_BuiltJsonSerializable: function _CopySelectedStrands_Object_BuiltJsonSerializable() { }, - SelectablesStoreBuilder: function SelectablesStoreBuilder() { - this._selected_items = this._selectable$_$v = null; + _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable: function _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable() { }, - _$SelectableDeletion: function _$SelectableDeletion(t0, t1, t2) { - var _ = this; - _.offset = t0; - _.domain = t1; - _.is_scaffold = t2; - _._selectable$__hashCode = _._selectable$__id = _._selectable$__select_mode = null; + _DNAEndsMoveCommit_Object_BuiltJsonSerializable: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable() { }, - SelectableDeletionBuilder: function SelectableDeletionBuilder() { - var _ = this; - _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_offset = _._selectable$_$v = null; + _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - _$SelectableInsertion: function _$SelectableInsertion(t0, t1, t2) { - var _ = this; - _.insertion = t0; - _.domain = t1; - _.is_scaffold = t2; - _._selectable$__hashCode = _.__id_group = _._selectable$__id = _._selectable$__select_mode = null; + _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable: function _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable() { }, - SelectableInsertionBuilder: function SelectableInsertionBuilder() { - var _ = this; - _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_insertion = _._selectable$_$v = null; + _DNAEndsMoveStart_Object_BuiltJsonSerializable: function _DNAEndsMoveStart_Object_BuiltJsonSerializable() { }, - _$SelectableModification5Prime: function _$SelectableModification5Prime(t0, t1) { - var _ = this; - _.modification = t0; - _.strand = t1; - _._selectable$__hashCode = _._selectable$__id = _.__address = null; + _DNAEndsMoveStop_Object_BuiltJsonSerializable: function _DNAEndsMoveStop_Object_BuiltJsonSerializable() { }, - SelectableModification5PrimeBuilder: function SelectableModification5PrimeBuilder() { - this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; + _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable: function _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable() { }, - _$SelectableModification3Prime: function _$SelectableModification3Prime(t0, t1) { - var _ = this; - _.modification = t0; - _.strand = t1; - _._selectable$__hashCode = _._selectable$__id = _.__address = null; + _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable() { }, - SelectableModification3PrimeBuilder: function SelectableModification3PrimeBuilder() { - this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; + _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - _$SelectableModificationInternal: function _$SelectableModificationInternal(t0, t1, t2, t3) { - var _ = this; - _.modification = t0; - _.strand = t1; - _.domain = t2; - _.dna_idx = t3; - _._selectable$__hashCode = _._selectable$__id = _.__address = null; + _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable: function _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable() { }, - SelectableModificationInternalBuilder: function SelectableModificationInternalBuilder() { - var _ = this; - _._dna_idx = _._selectable$_domain = _._selectable$_strand = _._selectable$_modification = _._selectable$_$v = null; + _DNAExtensionsMoveStart_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStart_Object_BuiltJsonSerializable() { }, - _SelectableDeletion_Object_SelectableMixin: function _SelectableDeletion_Object_SelectableMixin() { + _DNAExtensionsMoveStop_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStop_Object_BuiltJsonSerializable() { }, - _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable() { + _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable: function _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable() { }, - _SelectableInsertion_Object_SelectableMixin: function _SelectableInsertion_Object_SelectableMixin() { + _DeleteAllSelected_Object_BuiltJsonSerializable: function _DeleteAllSelected_Object_BuiltJsonSerializable() { }, - _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable() { + _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction() { }, - _SelectableModification3Prime_Object_SelectableModification: function _SelectableModification3Prime_Object_SelectableModification() { + _DeletionAdd_Object_BuiltJsonSerializable: function _DeletionAdd_Object_BuiltJsonSerializable() { }, - _SelectableModification3Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin() { + _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction: function _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + _DeletionRemove_Object_BuiltJsonSerializable: function _DeletionRemove_Object_BuiltJsonSerializable() { }, - _SelectableModification5Prime_Object_SelectableModification: function _SelectableModification5Prime_Object_SelectableModification() { + _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction: function _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - _SelectableModification5Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin() { + _DialogHide_Object_BuiltJsonSerializable: function _DialogHide_Object_BuiltJsonSerializable() { }, - _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + _DialogShow_Object_BuiltJsonSerializable: function _DialogShow_Object_BuiltJsonSerializable() { }, - _SelectableModificationInternal_Object_SelectableModification: function _SelectableModificationInternal_Object_SelectableModification() { + _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable: function _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable() { }, - _SelectableModificationInternal_Object_SelectableModification_SelectableMixin: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin() { + _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable: function _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable() { }, - _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable: function _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable() { }, - _SelectablesStore_Object_BuiltJsonSerializable: function _SelectablesStore_Object_BuiltJsonSerializable() { + _DomainLabelFontSizeSet_Object_BuiltJsonSerializable: function _DomainLabelFontSizeSet_Object_BuiltJsonSerializable() { }, - SelectionBox_SelectionBox: function(start, toggle, is_main) { - var t1 = new E.SelectionBoxBuilder(); - type$.legacy_void_Function_legacy_SelectionBoxBuilder._as(new E.SelectionBox_SelectionBox_closure(start, toggle, is_main)).call$1(t1); - return t1.build$0(); + _DomainNameFontSizeSet_Object_BuiltJsonSerializable: function _DomainNameFontSizeSet_Object_BuiltJsonSerializable() { }, - SelectionBox: function SelectionBox() { + _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable: function _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable() { }, - SelectionBox_SelectionBox_closure: function SelectionBox_SelectionBox_closure(t0, t1, t2) { - this.start = t0; - this.toggle = t1; - this.is_main = t2; + _DomainsMoveCommit_Object_BuiltJsonSerializable: function _DomainsMoveCommit_Object_BuiltJsonSerializable() { }, - _$SelectionBoxSerializer: function _$SelectionBoxSerializer() { + _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - _$SelectionBox: function _$SelectionBox(t0, t1, t2, t3) { - var _ = this; - _.start = t0; - _.current = t1; - _.toggle = t2; - _.is_main = t3; - _._selection_box$__hashCode = null; + _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable: function _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable() { }, - SelectionBoxBuilder: function SelectionBoxBuilder() { - var _ = this; - _._selection_box$_is_main = _._selection_box$_toggle = _._selection_box$_current = _._selection_box$_start = _._selection_box$_$v = null; + _DomainsMoveStop_Object_BuiltJsonSerializable: function _DomainsMoveStop_Object_BuiltJsonSerializable() { }, - _SelectionBox_Object_BuiltJsonSerializable: function _SelectionBox_Object_BuiltJsonSerializable() { + _DynamicHelixUpdateSet_Object_BuiltJsonSerializable: function _DynamicHelixUpdateSet_Object_BuiltJsonSerializable() { }, - Strand_Strand: function(substrands, circular, color, dna_sequence, is_scaffold, label, modification_3p, modification_5p, modifications_int, $name, vendor_fields) { - var t2, strand, t1 = {}; - t1.color = color; - if (color == null) - t1.color = H.boolConversionCheck(is_scaffold) ? $.$get$scaffold_color() : $.$get$color_cycler().next$0(0); - t2 = new E.StrandBuilder(); - type$.legacy_void_Function_legacy_StrandBuilder._as(new E.Strand_Strand_closure(t1, circular, substrands, vendor_fields, modification_5p, modification_3p, modifications_int, is_scaffold, $name, label)).call$1(t2); - strand = t2.build$0(); - return (dna_sequence != null ? strand.set_dna_sequence$1(dna_sequence) : strand).initialize$0(0); + _EditModeToggle_Object_BuiltJsonSerializable: function _EditModeToggle_Object_BuiltJsonSerializable() { }, - Strand__finalizeBuilder: function(builder) { - var id, t4, t5, t6, i, t7, t8, substrand, t9, loopout, t10, t11, _null = null, _s5_ = "_list", - _s12_ = "null element", - first_ss = J.get$first$ax(builder.get$substrands().get$_list()), - first_dom = first_ss instanceof G.Domain ? first_ss : type$.legacy_Domain._as(J.$index$asx(builder.get$substrands().get$_list(), 1)), - t1 = first_dom.helix, - t2 = first_dom.get$offset_5p(), - t3 = first_dom.forward; - t2 = "strand-H" + t1 + "-" + t2 + "-"; - id = t2 + (t3 ? "forward" : "reverse"); - t1 = type$.legacy_void_Function_legacy_ExtensionBuilder; - t2 = type$.legacy_Substrand; - t3 = type$.List_legacy_Substrand; - t4 = type$.ListBuilder_legacy_Substrand; - t5 = type$.legacy_void_Function_legacy_LoopoutBuilder; - t6 = type$.legacy_void_Function_legacy_DomainBuilder; - i = 0; - while (true) { - t7 = builder.get$_strand$_$this(); - t8 = t7._substrands; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t8.set$_listOwner(_null); - t7.set$_substrands(t8); - t7 = t8; - } else - t7 = t8; - t7 = t7.__ListBuilder__list; - t7 = J.get$length$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - t7 = builder.get$_strand$_$this(); - t8 = t7._substrands; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t8.set$_listOwner(_null); - t7.set$_substrands(t8); - t7 = t8; - } else - t7 = t8; - t7 = t7.__ListBuilder__list; - substrand = J.$index$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i); - t7 = substrand instanceof G.Loopout; - if (t7) { - if (substrand.prev_domain_idx === i - 1) { - t8 = substrand.__next_domain_idx; - if (t8 == null) - t8 = substrand.__next_domain_idx = G.Loopout.prototype.get$next_domain_idx.call(substrand); - t8 = t8 !== i + 1; - } else - t8 = true; - if (t8) { - t8 = t5._as(new E.Strand__finalizeBuilder_closure(i)); - t9 = new G.LoopoutBuilder(); - t9._loopout$_$v = substrand; - t8.call$1(t9); - loopout = t9.build$0(); - t8 = builder.get$_strand$_$this(); - t9 = t8._substrands; - if (t9 == null) { - t9 = new D.ListBuilder(t4); - t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t9.set$_listOwner(_null); - t8.set$_substrands(t9); - t8 = t9; - } else - t8 = t9; - t9 = t8.$ti; - t10 = t9._precomputed1; - t10._as(loopout); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (loopout == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (t8._listOwner != null) { - t11 = t8.__ListBuilder__list; - t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); - t8.set$_listOwner(_null); - } - t8 = t8.__ListBuilder__list; - J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, i, loopout); - } - } - if (substrand instanceof G.Domain) { - t7 = builder.get$_strand$_$this(); - t8 = t7._substrands; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t8.set$_listOwner(_null); - t7.set$_substrands(t8); - t7 = t8; - } else - t7 = t8; - t8 = t6._as(new E.Strand__finalizeBuilder_closure0(id)); - t9 = new G.DomainBuilder(); - t9._domain$_$v = substrand; - t8.call$1(t9); - t8 = t7.$ti; - t10 = t8._precomputed1; - t9 = t10._as(t9.build$0()); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (t9 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (t7._listOwner != null) { - t11 = t7.__ListBuilder__list; - t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); - t7.set$_listOwner(_null); - } - t7 = t7.__ListBuilder__list; - J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); - } else if (t7) { - t7 = builder.get$_strand$_$this(); - t8 = t7._substrands; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t8.set$_listOwner(_null); - t7.set$_substrands(t8); - t7 = t8; - } else - t7 = t8; - t8 = t5._as(new E.Strand__finalizeBuilder_closure1(id)); - t9 = new G.LoopoutBuilder(); - t9._loopout$_$v = substrand; - t8.call$1(t9); - t8 = t7.$ti; - t10 = t8._precomputed1; - t9 = t10._as(t9.build$0()); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (t9 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (t7._listOwner != null) { - t11 = t7.__ListBuilder__list; - t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); - t7.set$_listOwner(_null); - } - t7 = t7.__ListBuilder__list; - J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); - } else if (substrand instanceof S.Extension) { - t7 = builder.get$_strand$_$this(); - t8 = t7._substrands; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t8.set$_listOwner(_null); - t7.set$_substrands(t8); - t7 = t8; - } else - t7 = t8; - t8 = t1._as(new E.Strand__finalizeBuilder_closure2(id)); - t9 = new S.ExtensionBuilder(); - t9._extension$_$v = substrand; - t8.call$1(t9); - t8 = t7.$ti; - t10 = t8._precomputed1; - t9 = t10._as(t9.build$0()); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (t9 == null) - H.throwExpression(P.ArgumentError$(_s12_)); - if (t7._listOwner != null) { - t11 = t7.__ListBuilder__list; - t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); - t7.set$_listOwner(_null); - } - t7 = t7.__ListBuilder__list; - J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); - } else - throw H.wrapException(P.AssertionError$("substrand " + i + " should be Domain, Loopout, or Extension, but is " + H.S(substrand))); - ++i; - } + _EditModesSet_Object_BuiltJsonSerializable: function _EditModesSet_Object_BuiltJsonSerializable() { }, - Strand_from_json: function(json_map) { - var t3, domains, t4, num_substrands, substrands, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, start_dna_idx_ss, i, substrand_json, t15, loopout_length, end_dna_idx_ss, num_bases, display_length, display_angle, $name, label, dna_sequence, color, unused_fields, t16, t17, ext, ssb, t18, num_insertions, loopouts, loopout_num_bases, lb, adjacent_domain, vendor_fields_dict, vendor_fields, strand, _null = null, - _s7_ = "loopout", - _s19_ = "extension_num_bases", - _s4_ = "name", _s5_ = "label", - _s8_ = "sequence", - _s5_0 = "color", - _s25_ = ").\nsubstrands JSON list: ", - substrand_jsons = type$.legacy_List_dynamic._as(E.mandatory_field(json_map, "domains", "Strand", C.List_substrands)), - t1 = type$.legacy_bool, - t2 = type$.dynamic, - is_scaffold = E.optional_field(json_map, "is_scaffold", false, C.List_empty0, _null, _null, t1, t2), - circular = E.optional_field(json_map, "circular", false, C.List_empty0, _null, _null, t1, t2); - t1 = type$.legacy_int; - t3 = type$.legacy_Domain; - domains = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - t4 = J.getInterceptor$asx(substrand_jsons); - num_substrands = t4.get$length(substrand_jsons); - substrands = P.List_List$filled(num_substrands, _null, false, type$.legacy_Substrand); - if (typeof num_substrands !== "number") - return H.iae(num_substrands); - t5 = type$.legacy_Map_of_legacy_String_and_dynamic; - t6 = type$.legacy_Insertion; - t7 = type$.List_legacy_Insertion; - t8 = type$.ListBuilder_legacy_Insertion; - t9 = type$.List_legacy_int; - t10 = type$.ListBuilder_legacy_int; - t11 = type$.legacy_void_Function_legacy_ExtensionBuilder; - t12 = type$.legacy_double; - t13 = type$.legacy_String; - t14 = num_substrands - 1; - start_dna_idx_ss = 0; - i = 0; - for (; i < num_substrands; ++i, start_dna_idx_ss = end_dna_idx_ss) { - substrand_json = t4.$index(substrand_jsons, i); - t15 = J.getInterceptor$x(substrand_json); - if (H.boolConversionCheck(t15.containsKey$1(substrand_json, _s7_))) { - loopout_length = H._asIntS(t15.$index(substrand_json, _s7_)); - if (typeof loopout_length !== "number") - return H.iae(loopout_length); - end_dna_idx_ss = start_dna_idx_ss + loopout_length; - if (i === 0 || i === t14) - throw H.wrapException(N.IllegalDesignError$("found loopout " + H.S(substrand_json) + " at index " + i + " in substrand list. cannot have loopouts at the beginning (index 0) or end (index " + t14 + _s25_ + H.S(substrand_jsons))); - } else if (H.boolConversionCheck(t15.containsKey$1(substrand_json, _s19_))) { - t5._as(substrand_json); - num_bases = E.mandatory_field(substrand_json, _s19_, "Extension", C.List_empty0); - display_length = E.optional_field(substrand_json, "display_length", 1.5, C.List_empty0, _null, _null, t12, t2); - display_angle = E.optional_field(substrand_json, "display_angle", 35, C.List_empty0, _null, _null, t12, t2); - $name = E.optional_field_with_null_default(substrand_json, _s4_, C.List_empty0, t13, t2); - label = E.optional_field_with_null_default(substrand_json, _s5_, C.List_empty0, t13, t2); - dna_sequence = E.optional_field_with_null_default(substrand_json, _s8_, C.List_empty0, t13, t2); - color = t15.containsKey$1(substrand_json, _s5_0) ? E.parse_json_color(t15.$index(substrand_json, _s5_0)) : _null; - unused_fields = E.unused_fields_map(substrand_json, C.List_zNb); - H._asIntS(num_bases); - if (unused_fields._mapOwner == null) { - t15 = unused_fields.__MapBuilder__map; - if (t15 === $) - t15 = H.throwExpression(H.LateError$fieldNI("_map")); - t16 = unused_fields.$ti; - unused_fields.set$_mapOwner(new A._BuiltMap(unused_fields._mapFactory, t15, t16._eval$1("@<1>")._bind$1(t16._rest[1])._eval$1("_BuiltMap<1,2>"))); - } - t15 = unused_fields._mapOwner; - t16 = t15._map$_map; - t17 = H._instanceType(t15); - ext = S.Extension_Extension(_null, color, display_angle, display_length, dna_sequence, _null, false, label, $name, num_bases, new S.CopyOnWriteMap(t15._mapFactory, t16, t17._eval$1("@<1>")._bind$1(t17._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - ext.toString; - t17 = t11._as(new E.Strand_from_json_closure(i === 0)); - t16 = new S.ExtensionBuilder(); - t16._extension$_$v = ext; - t17.call$1(t16); - ext = t16.build$0(); - C.JSArray_methods.$indexSet(substrands, i, ext); - end_dna_idx_ss = start_dna_idx_ss + ext.num_bases; - if (0 < i && i < t14) - throw H.wrapException(N.IllegalDesignError$("found extension " + ext.toString$0(0) + " at index " + i + " in substrand list. can only have extension at beginning (index 0) or end (index " + t14 + _s25_ + H.S(substrand_jsons))); - } else if (H.boolConversionCheck(t15.containsKey$1(substrand_json, "helix"))) { - ssb = G.Domain_from_json(t5._as(substrand_json)); - ssb.get$_domain$_$this()._is_first = i === 0; - t15 = t4.get$length(substrand_jsons); - if (typeof t15 !== "number") - return t15.$sub(); - ssb.get$_domain$_$this()._is_last = i === t15 - 1; - t15 = ssb.get$_domain$_$this(); - t16 = t15._insertions; - if (t16 == null) { - t16 = new D.ListBuilder(t8); - t16.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t16.set$_listOwner(_null); - t15.set$_insertions(t16); - t15 = t16; - } else - t15 = t16; - if (t15._listOwner == null) { - t16 = t15.__ListBuilder__list; - if (t16 === $) - t16 = H.throwExpression(H.LateError$fieldNI("_list")); - t17 = t15.$ti; - t18 = t17._eval$1("_BuiltList<1>"); - t18 = t18._as(new D._BuiltList(t16, t18)); - t15.set$__ListBuilder__list(t17._eval$1("List<1>")._as(t16)); - t15.set$_listOwner(t18); - } - t15 = t15._listOwner; - t15.toString; - num_insertions = G.Domain_num_insertions_in_list(t15); - t15 = ssb.get$_domain$_$this()._end; - t16 = ssb.get$_domain$_$this()._start; - if (typeof t15 !== "number") - return t15.$sub(); - if (typeof t16 !== "number") - return H.iae(t16); - t17 = ssb.get$_domain$_$this(); - t18 = t17._deletions; - if (t18 == null) { - t18 = new D.ListBuilder(t10); - t18.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t1))); - t18.set$_listOwner(_null); - t17.set$_deletions(t18); - t17 = t18; - } else - t17 = t18; - t17 = t17.__ListBuilder__list; - t17 = J.get$length$asx(t17 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t17); - if (typeof t17 !== "number") - return H.iae(t17); - ssb.get$_domain$_$this()._domain$_is_scaffold = is_scaffold; - end_dna_idx_ss = start_dna_idx_ss + (t15 - t16 + num_insertions - t17); - t17 = ssb.build$0(); - C.JSArray_methods.$indexSet(substrands, i, t17); - domains.$indexSet(0, i, t17); - } else - throw H.wrapException(N.IllegalDesignError$("unrecognized substrand; does not have any of these keys:\nextension_num_bases for an Extension, loopout for a Loopout, orhelix for a Domain.\nJSON: " + H.S(substrand_json))); - } - loopouts = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Loopout); - t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object; - i = 0; - while (true) { - t6 = t4.get$length(substrand_jsons); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(i < t6)) - break; - substrand_json = t4.$index(substrand_jsons, i); - t6 = J.getInterceptor$x(substrand_json); - if (H.boolConversionCheck(t6.containsKey$1(substrand_json, _s7_))) { - t5._as(substrand_json); - loopout_num_bases = H._asIntS(E.mandatory_field(substrand_json, _s7_, "Loopout", C.List_empty0)); - $name = E.optional_field_with_null_default(substrand_json, _s4_, C.List_empty0, t13, t2); - label = E.optional_field_with_null_default(substrand_json, _s5_, C.List_empty0, t13, t2); - color = t6.containsKey$1(substrand_json, _s5_0) ? E.parse_json_color(t6.$index(substrand_json, _s5_0)) : _null; - lb = new G.LoopoutBuilder(); - lb.get$_loopout$_$this()._loopout_num_bases = loopout_num_bases; - lb.get$_loopout$_$this()._loopout$_name = $name; - lb.get$_loopout$_$this()._loopout$_label = label; - lb.get$_loopout$_$this()._loopout$_color = color; - t6 = t1._as(E.unused_fields_map(substrand_json, C.List_loopout_label_name_color)); - lb.get$_loopout$_$this().set$_loopout$_unused_fields(t6); - lb.get$_loopout$_$this()._prev_domain_idx = i - 1; - lb.get$_loopout$_$this()._loopout$_is_scaffold = is_scaffold; - loopouts.$indexSet(0, i, lb.build$0()); - } - ++i; - } - for (t1 = loopouts.get$keys(loopouts), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t4 = t1.get$current(t1); - C.JSArray_methods.$indexSet(substrands, t4, loopouts.$index(0, t4)); - } - for (t1 = substrands.length, i = 0; i < t1; ++i) { - t4 = substrands[i]; - if (t4 instanceof S.Extension) { - if (H.boolConversionCheck(t4.is_5p)) { - t6 = i + 1; - if (t6 >= t1) - return H.ioore(substrands, t6); - adjacent_domain = t3._as(substrands[t6]); - } else { - t6 = i - 1; - if (t6 < 0) - return H.ioore(substrands, t6); - adjacent_domain = t3._as(substrands[t6]); - } - t6 = t11._as(new E.Strand_from_json_closure0(adjacent_domain)); - t7 = new S.ExtensionBuilder(); - t7._extension$_$v = t4; - t6.call$1(t7); - C.JSArray_methods.$indexSet(substrands, i, t7.build$0()); - } - } - for (i = 0; i < num_substrands; ++i) { - if (i >= t1) - return H.ioore(substrands, i); - if (substrands[i] == null) - throw H.wrapException(P.AssertionError$("should not have any null entries in substrands but " + i + " is null:\nsubstrands = " + H.S(substrands))); - } - dna_sequence = E.optional_field_with_null_default(json_map, _s8_, C.List_dna_sequence, t2, t2); - t1 = J.getInterceptor$x(json_map); - color = t1.containsKey$1(json_map, _s5_0) ? E.parse_json_color(t1.$index(json_map, _s5_0)) : $.$get$Strand_DEFAULT_STRAND_COLOR(); - $name = E.optional_field_with_null_default(json_map, _s4_, C.List_empty0, t13, t2); - label = E.optional_field_with_null_default(json_map, _s5_, C.List_empty0, t13, t2); - unused_fields = E.unused_fields_map(json_map, $.$get$strand_keys()); - vendor_fields_dict = E.optional_field_with_null_default(json_map, "vendor_fields", C.List_idt, t5, t2); - t1 = vendor_fields_dict == null; - vendor_fields = t1 ? _null : T.VendorFields_from_json(vendor_fields_dict); - if ($name == null && !t1 && J.containsKey$1$x(vendor_fields_dict, _s4_)) - $name = H._asStringS(J.$index$asx(vendor_fields_dict, _s4_)); - strand = E.Strand_Strand(substrands, circular, color, H._asStringS(dna_sequence), is_scaffold, label, _null, _null, C.Map_empty0, $name, vendor_fields).rebuild$1(new E.Strand_from_json_closure1(unused_fields)); - t1 = strand.substrands._list; - t2 = J.getInterceptor$ax(t1); - if (t2.get$first(t1) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(strand, "Loopout at beginning of strand not supported")); - if (t2.get$last(t1) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(strand, "Loopout at end of strand not supported")); - return strand; + _ErrorMessageSet_Object_BuiltJsonSerializable: function _ErrorMessageSet_Object_BuiltJsonSerializable() { }, - Strand: function Strand() { + _ExampleDesignsLoad_Object_BuiltJsonSerializable: function _ExampleDesignsLoad_Object_BuiltJsonSerializable() { }, - Strand_Strand_closure: function Strand_Strand_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _._box_0 = t0; - _.circular = t1; - _.substrands = t2; - _.vendor_fields = t3; - _.modification_5p = t4; - _.modification_3p = t5; - _.modifications_int = t6; - _.is_scaffold = t7; - _.name = t8; - _.label = t9; + _ExportCadnanoFile_Object_BuiltJsonSerializable: function _ExportCadnanoFile_Object_BuiltJsonSerializable() { }, - Strand__finalizeBuilder_closure: function Strand__finalizeBuilder_closure(t0) { - this.i = t0; + _ExportCanDoDNA_Object_BuiltJsonSerializable: function _ExportCanDoDNA_Object_BuiltJsonSerializable() { }, - Strand__finalizeBuilder_closure0: function Strand__finalizeBuilder_closure0(t0) { - this.id = t0; + _ExportCodenanoFile_Object_BuiltJsonSerializable: function _ExportCodenanoFile_Object_BuiltJsonSerializable() { }, - Strand__finalizeBuilder_closure1: function Strand__finalizeBuilder_closure1(t0) { - this.id = t0; + _ExportDNA_Object_BuiltJsonSerializable: function _ExportDNA_Object_BuiltJsonSerializable() { }, - Strand__finalizeBuilder_closure2: function Strand__finalizeBuilder_closure2(t0) { - this.id = t0; + _ExportSvg_Object_BuiltJsonSerializable: function _ExportSvg_Object_BuiltJsonSerializable() { }, - Strand__rebuild_substrands_with_new_fields_based_on_strand_closure: function Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(t0) { - this.substrands_new = t0; + _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable: function _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable() { }, - Strand__rebuild_domain_with_new_fields_based_on_strand_closure: function Strand__rebuild_domain_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.strand = t1; - _.is_first = t2; - _.is_last = t3; + _ExtensionAdd_Object_BuiltJsonSerializable: function _ExtensionAdd_Object_BuiltJsonSerializable() { }, - Strand__rebuild_loopout_with_new_fields_based_on_strand_closure: function Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(t0, t1, t2) { - this.$this = t0; - this.strand = t1; - this.idx = t2; + _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - Strand__rebuild_extension_with_new_fields_based_on_strand_closure: function Strand__rebuild_extension_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.strand = t1; - _.adjacent_domain = t2; - _.is_5p = t3; + _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable() { }, - Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure: function Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(t0) { - this.new_substrands = t0; + _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction() { }, - Strand__at_least_one_substrand_has_dna_sequence_closure: function Strand__at_least_one_substrand_has_dna_sequence_closure() { + _ExtensionNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable() { }, - Strand_remove_dna_sequence_closure: function Strand_remove_dna_sequence_closure(t0) { - this.substrands_new = t0; + _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { }, - Strand_set_dna_sequence_closure: function Strand_set_dna_sequence_closure(t0) { - this.substrands_new = t0; + _ExtensionsNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable() { }, - Strand__net_ins_del_length_increase_from_5p_to_closure: function Strand__net_ins_del_length_increase_from_5p_to_closure() { + _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { }, - Strand__net_ins_del_length_increase_from_5p_to_closure0: function Strand__net_ins_del_length_increase_from_5p_to_closure0() { + _GeometrySet_Object_BuiltJsonSerializable: function _GeometrySet_Object_BuiltJsonSerializable() { }, - Strand_from_json_closure: function Strand_from_json_closure(t0) { - this.is_5p = t0; + _GeometrySet_Object_BuiltJsonSerializable_UndoableAction: function _GeometrySet_Object_BuiltJsonSerializable_UndoableAction() { }, - Strand_from_json_closure0: function Strand_from_json_closure0(t0) { - this.adjacent_domain = t0; + _GridChange_Object_BuiltJsonSerializable: function _GridChange_Object_BuiltJsonSerializable() { }, - Strand_from_json_closure1: function Strand_from_json_closure1(t0) { - this.unused_fields = t0; + _GridChange_Object_BuiltJsonSerializable_UndoableAction: function _GridChange_Object_BuiltJsonSerializable_UndoableAction() { }, - _$StrandSerializer: function _$StrandSerializer() { + _GroupAdd_Object_BuiltJsonSerializable: function _GroupAdd_Object_BuiltJsonSerializable() { }, - _$Strand: function _$Strand(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _.substrands = t0; - _.vendor_fields = t1; - _.is_scaffold = t2; - _.circular = t3; - _.modification_5p = t4; - _.modification_3p = t5; - _.modifications_int = t6; - _.color = t7; - _.name = t8; - _.label = t9; - _.unused_fields = t10; - _._strand$__hashCode = _.__dnaend_5p = _.__dnaend_3p = _.__last_domain = _.__first_domain = _.__dna_length = _.__domains = _.__id = _.__select_mode = _.__extensions = _.__loopouts = _.__crossovers = _.__linkers = _.__domains_on_helix = _.__internal_modifications_on_substrand = _.__internal_modifications_on_substrand_absolute_idx = _.__selectable_modifications_int_by_dna_idx = _.__selectable_modifications = _.__selectable_modification_3p = _.__selectable_modification_5p = _.__selectable_insertions = _.__selectable_deletions = _.__address_3p = _.__address_5p = _.__has_3p_extension = _.__has_5p_extension = _.__dna_sequence = null; + _GroupAdd_Object_BuiltJsonSerializable_UndoableAction: function _GroupAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - StrandBuilder: function StrandBuilder() { - var _ = this; - _._strand$_unused_fields = _._label = _._strand$_name = _._strand$_color = _._modifications_int = _._modification_3p = _._modification_5p = _._circular = _._is_scaffold = _._vendor_fields = _._substrands = _._strand$_$v = null; + _GroupChange_Object_BuiltJsonSerializable: function _GroupChange_Object_BuiltJsonSerializable() { }, - _Strand_Object_SelectableMixin: function _Strand_Object_SelectableMixin() { + _GroupChange_Object_BuiltJsonSerializable_UndoableAction: function _GroupChange_Object_BuiltJsonSerializable_UndoableAction() { }, - _Strand_Object_SelectableMixin_BuiltJsonSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable() { + _GroupDisplayedChange_Object_BuiltJsonSerializable: function _GroupDisplayedChange_Object_BuiltJsonSerializable() { }, - _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + _GroupRemove_Object_BuiltJsonSerializable: function _GroupRemove_Object_BuiltJsonSerializable() { }, - _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable() { + _GroupRemove_Object_BuiltJsonSerializable_UndoableAction: function _GroupRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - current_group_name_from_strands_move: function(design, strands_move) { - var t1 = strands_move.current_address, - helix = J.$index$asx(design.helices._map$_map, t1.helix_idx); - return helix == null ? null : helix.group; + _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable: function _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable() { }, - original_group_name_from_domains_move: function(design, domains_move) { - var t1 = domains_move.original_address; - return J.$index$asx(design.helices._map$_map, t1.helix_idx).group; + _HelixAdd_Object_BuiltJsonSerializable: function _HelixAdd_Object_BuiltJsonSerializable() { }, - current_group_name_from_domains_move: function(design, domains_move) { - var t1 = domains_move.current_address; - return J.$index$asx(design.helices._map$_map, t1.helix_idx).group; + _HelixAdd_Object_BuiltJsonSerializable_UndoableAction: function _HelixAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - are_all_close: function(x1s, x2s) { - var t2, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_double); - for (t2 = S.zip(H.setRuntimeTypeInfo([x1s, x2s], type$.JSArray_legacy_Iterable_legacy_double), type$.legacy_double), t2 = new P._SyncStarIterator(t2._outerHelper(), H._instanceType(t2)._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) - t1.push(t2.get$current(t2)); - return C.JSArray_methods.every$1(t1, new E.are_all_close_closure(1e-9)); + _HelixGridPositionSet_Object_BuiltJsonSerializable: function _HelixGridPositionSet_Object_BuiltJsonSerializable() { }, - is_increasing: function(items, $T) { - var t1, prev, val, t2; - for (t1 = J.get$iterator$ax(items._list), prev = null; t1.moveNext$0(); prev = val) { - val = t1.get$current(t1); - if (prev != null) { - t2 = J.compareTo$1$ns(prev, val); - if (typeof t2 !== "number") - return t2.$ge(); - if (t2 >= 0) - return false; - } - } - return true; + _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction() { }, - deltas: function(nums) { - var deltas, prev, - t1 = nums._list, - t2 = J.getInterceptor$asx(t1); - if (t2.get$isEmpty(t1)) - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - deltas = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t1 = t2.get$iterator(t1), prev = 0; t1.moveNext$0(); prev = t2) { - t2 = t1.get$current(t1); - if (typeof t2 !== "number") - return t2.$sub(); - C.JSArray_methods.add$1(deltas, t2 - prev); - } - return deltas; + _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable: function _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable() { }, - get_text_file_content: function(url) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_String), - $async$returnValue; - var $async$get_text_file_content = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 3; - return P._asyncAwait(W.HttpRequest_getString(url).then$1$1(0, new E.get_text_file_content_closure(), type$.legacy_String), $async$get_text_file_content); - case 3: - // returning from await. - $async$returnValue = $async$result; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$get_text_file_content, $async$completer); + _HelixGroupMoveCommit_Object_BuiltJsonSerializable: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable() { }, - get_binary_file_content: function(url) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_ByteBuffer), - $async$returnValue; - var $async$get_binary_file_content = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 3; - return P._asyncAwait(W.HttpRequest_request(url, null, "arraybuffer", null).then$1$1(0, new E.get_binary_file_content_closure(), type$.legacy_ByteBuffer), $async$get_binary_file_content); - case 3: - // returning from await. - $async$returnValue = $async$result; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$get_binary_file_content, $async$completer); + _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - dialog: function(dialog) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_List_legacy_DialogItem), - $async$returnValue, t2, t3, t1; - var $async$dialog = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $.app.store; - if (t1.get$state(t1).ui_state.dialog != null) - $.app.dispatch$1(U._$DialogHide__$DialogHide()); - t1 = new P._Future($.Zone__current, type$._Future_legacy_List_legacy_DialogItem); - dialog.toString; - t2 = type$.legacy_void_Function_legacy_DialogBuilder._as(new E.dialog_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_legacy_List_legacy_DialogItem))); - t3 = new E.DialogBuilder(); - t3._dialog$_$v = dialog; - t2.call$1(t3); - dialog = t3.build$0(); - $.app.dispatch$1(U._$DialogShow$_(dialog)); - $async$returnValue = t1; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$dialog, $async$completer); + _HelixGroupMoveCreate_Object_BuiltJsonSerializable: function _HelixGroupMoveCreate_Object_BuiltJsonSerializable() { }, - get_version: function(version_str) { - var t3, t4, - t1 = P.RegExp_RegExp("(\\d+)\\.(\\d+)\\.(\\d+)", true).firstMatch$1(version_str)._match, - t2 = t1.length; - if (1 >= t2) - return H.ioore(t1, 1); - t3 = t1[1]; - if (2 >= t2) - return H.ioore(t1, 2); - t4 = t1[2]; - if (3 >= t2) - return H.ioore(t1, 3); - t1 = t1[3]; - return new E.Version(P.int_parse(t3, null), P.int_parse(t4, null), P.int_parse(t1, null)); + _HelixGroupMoveStart_Object_BuiltJsonSerializable: function _HelixGroupMoveStart_Object_BuiltJsonSerializable() { }, - helices_assign_svg: function(geometry, invert_y, helices, groups, helix_idxs_to_calculate) { - var t1, t2, svg_positions, t3, t4, t5, prev_helix, prev_y, t6, helix, t7, t8, t9, y, prev_pos, pos, delta_y, prev_grid_position, grid_position, x_diff, y_diff, other_pos, _null = null; - if (helix_idxs_to_calculate != null) { - t1 = helix_idxs_to_calculate._set; - t1 = t1.get$isEmpty(t1); - } else - t1 = true; - if (t1) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = J.get$iterator$ax(helices.get$values(helices)); t2.moveNext$0();) - t1.push(t2.get$current(t2).idx); - helix_idxs_to_calculate = X.BuiltSet_BuiltSet$of(t1, type$.legacy_int); - } - svg_positions = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_Point_legacy_num); - for (t1 = J.get$iterator$ax(groups.get$keys(groups)), t2 = type$.Point_legacy_num, t3 = groups._map$_map, t4 = J.getInterceptor$asx(t3); t1.moveNext$0();) - for (t5 = J.get$iterator$ax(t4.$index(t3, t1.get$current(t1)).helices_view_order._list), prev_helix = _null, prev_y = prev_helix; t5.moveNext$0();) { - t6 = t5.get$current(t5); - if (helix_idxs_to_calculate._set.contains$1(0, t6)) { - helix = J.$index$asx(helices._map$_map, t6); - t6 = helix.__position3d; - t6 = (t6 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t6).z; - t7 = geometry.__nm_to_svg_pixels; - if (t7 == null) - t7 = geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry); - t8 = helix.__position3d; - t8 = (t8 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t8).y; - t9 = geometry.__nm_to_svg_pixels; - y = t8 * (t9 == null ? geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t9); - if (prev_helix != null) { - t8 = helix.grid; - if (t8 === C.Grid_none) { - prev_pos = prev_helix.position_; - pos = helix.position_; - t8 = pos.x - prev_pos.x; - t9 = pos.y - prev_pos.y; - t9 = Math.sqrt(t8 * t8 + t9 * t9); - t8 = geometry.__nm_to_svg_pixels; - delta_y = t9 * (t8 == null ? geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t8); - } else { - prev_grid_position = prev_helix.grid_position; - grid_position = helix.grid_position; - prev_grid_position.toString; - if (t8 === C.Grid_square) { - x_diff = prev_grid_position.h - grid_position.h; - y_diff = prev_grid_position.v - grid_position.v; - } else { - t9 = t8 === C.Grid_hex; - if (t9 || t8 === C.Grid_honeycomb) { - if (t9) { - pos = E.hex_grid_position_to_position2d_diameter_1_circles(prev_grid_position); - other_pos = E.hex_grid_position_to_position2d_diameter_1_circles(grid_position); - } else if (t8 === C.Grid_honeycomb) { - pos = E.honeycomb_grid_position_to_position2d_diameter_1_circles(prev_grid_position); - other_pos = E.honeycomb_grid_position_to_position2d_diameter_1_circles(grid_position); - } else { - other_pos = _null; - pos = other_pos; - } - t8 = other_pos.x; - t9 = pos.x; - if (typeof t8 !== "number") - return t8.$sub(); - if (typeof t9 !== "number") - return H.iae(t9); - x_diff = t8 - t9; - t9 = other_pos.y; - t8 = pos.y; - if (typeof t9 !== "number") - return t9.$sub(); - if (typeof t8 !== "number") - return H.iae(t8); - y_diff = t9 - t8; - } else { - H.throwExpression(P.ArgumentError$("grid cannot be Grid.none to evaluate distance")); - y_diff = _null; - x_diff = y_diff; - } - } - if (typeof x_diff !== "number") - return x_diff.$mul(); - if (typeof y_diff !== "number") - return y_diff.$mul(); - t8 = Math.sqrt(x_diff * x_diff + y_diff * y_diff); - t9 = geometry.__distance_between_helices_svg; - delta_y = t8 * (t9 == null ? geometry.__distance_between_helices_svg = N.Geometry.prototype.get$distance_between_helices_svg.call(geometry) : t9); - } - if (typeof prev_y !== "number") - return prev_y.$add(); - y = prev_y + delta_y; - } - t8 = helix.idx; - t9 = invert_y ? -y : y; - svg_positions.$indexSet(0, t8, new P.Point(t6 * t7, t9, t2)); - prev_helix = helix; - prev_y = y; - } - } - return svg_positions; + _HelixGroupMoveStop_Object_BuiltJsonSerializable: function _HelixGroupMoveStop_Object_BuiltJsonSerializable() { }, - unwrap_from_noindent: function(obj) { - return obj instanceof K.NoIndent ? obj.value : obj; + _HelixIdxsChange_Object_BuiltJsonSerializable: function _HelixIdxsChange_Object_BuiltJsonSerializable() { }, - repeated_element_indices: function(list, $T) { - var i2, elt, i1, - elt_to_idx = P.LinkedHashMap_LinkedHashMap$_empty($T._eval$1("0*"), type$.legacy_int); - for (i2 = 0; i2 < list.length; ++i2) { - elt = list[i2]; - i1 = elt_to_idx.$index(0, elt); - if (i1 != null) - return new S.Tuple2(i1, i2, type$.Tuple2_of_legacy_int_and_legacy_int); - elt_to_idx.$indexSet(0, elt, i2); - } - return null; + _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction() { }, - xy_distances_to_rectangle: function(point, upper_left_corner, width, height, angle) { - var x_hi, y_low, y_hi, t1, dx, dy, - unrotated_point = E.rotate(point, -angle, upper_left_corner), - x_low = upper_left_corner.x; - if (typeof x_low !== "number") - return x_low.$add(); - x_hi = x_low + width; - y_low = upper_left_corner.y; - if (typeof y_low !== "number") - return y_low.$add(); - y_hi = y_low + height; - t1 = unrotated_point.x; - if (typeof t1 !== "number") - return H.iae(t1); - if (x_low <= t1 && t1 <= x_hi) - dx = 0; - else - dx = t1 <= x_low ? t1 - x_low : t1 - x_hi; - t1 = unrotated_point.y; - if (typeof t1 !== "number") - return H.iae(t1); - if (y_low <= t1 && t1 <= y_hi) - dy = 0; - else - dy = t1 <= y_low ? t1 - y_low : t1 - y_hi; - return new P.Point(dx, dy, type$.Point_legacy_num); + _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable() { }, - find_closest_helix: function($event, helices, groups, geometry, helix_idx_to_svg_position_map) { - var t1, min_dist, closest_helix, closest_helix0, t2, group, helix_upper_left_corner, t3, distances, dist, - svg_clicked_point = E.svg_position_of_mouse_click($event); - for (t1 = J.get$iterator$ax(helices), min_dist = null, closest_helix = null; t1.moveNext$0();) { - closest_helix0 = t1.get$current(t1); - t2 = closest_helix0.group; - group = J.$index$asx(groups._map$_map, t2); - t2 = closest_helix0.idx; - helix_upper_left_corner = group.transform_point_main_view$2(J.$index$asx(helix_idx_to_svg_position_map._map$_map, t2), geometry); - t2 = closest_helix0.__svg_width; - if (t2 == null) - t2 = closest_helix0.__svg_width = O.Helix.prototype.get$svg_width.call(closest_helix0); - t3 = closest_helix0.__svg_height; - if (t3 == null) - t3 = closest_helix0.__svg_height = O.Helix.prototype.get$svg_height.call(closest_helix0); - distances = E.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, t2, t3, group.pitch); - t3 = distances.x; - if (typeof t3 !== "number") - return t3.$mul(); - t2 = distances.y; - if (typeof t2 !== "number") - return t2.$mul(); - dist = Math.sqrt(t3 * t3 + t2 * t2); - if (min_dist == null || min_dist > dist) { - closest_helix = closest_helix0; - min_dist = dist; - } - } - return closest_helix; + _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction() { }, - bounded_offset_in_helices_group: function(offset, helices_in_group) { - var min_offset, max_offset, - range = E.find_helix_group_min_max(helices_in_group); - if (range == null) - return null; - min_offset = range.x; - max_offset = range.y; - if (offset != null) { - if (typeof max_offset !== "number") - return max_offset.$sub(); - return Math.min(max_offset - 1, Math.max(offset, H.checkNum(min_offset))); - } else - return min_offset; + _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable() { }, - find_helix_group_min_max: function(helices_in_group) { - var min_offset, max_offset, t2, - t1 = J.getInterceptor$asx(helices_in_group); - if (t1.get$isEmpty(helices_in_group)) - return null; - min_offset = t1.get$first(helices_in_group).min_offset; - max_offset = t1.get$first(helices_in_group).max_offset; - for (t1 = t1.get$iterator(helices_in_group); t1.moveNext$0();) { - t2 = t1.get$current(t1); - min_offset = Math.min(t2.min_offset, min_offset); - max_offset = Math.max(t2.max_offset, max_offset); - } - return new P.Point(min_offset, max_offset, type$.Point_legacy_int); + _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction() { }, - rotation_datas_at_offset_in_group: function(offset, design, group_name) { - var t1, t2, t3, helix, - rotation_params_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DesignSideRotationParams); - if (offset != null) - for (t1 = J.get$iterator$ax(J.$index$asx(design.get$helix_idxs_in_group()._map$_map, group_name)._list), t2 = design.helices; t1.moveNext$0();) { - t3 = t1.get$current(t1); - helix = J.$index$asx(t2._map$_map, t3); - if (offset >= helix.min_offset && offset < helix.max_offset) - C.JSArray_methods.add$1(rotation_params_list, V.DesignSideRotationParams_DesignSideRotationParams(t3, offset)); - } - return D.BuiltList_BuiltList$of(V.DesignSideRotationData_from_params(design, rotation_params_list), type$.legacy_DesignSideRotationData); + _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable() { }, - find_closest_address: function($event, helices, groups, geometry, helix_idx_to_svg_position_map) { - var distances, unrotated_point, t5, t6, closest_point_in_helix_untransformed, offset, - svg_clicked_point = E.svg_position_of_mouse_click($event), - helix = E.find_closest_helix($event, helices, groups, geometry, type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(helix_idx_to_svg_position_map)), - t1 = helix.idx, - t2 = helix_idx_to_svg_position_map._map$_map, - t3 = J.getInterceptor$asx(t2), - helix_svg_position = t3.$index(t2, t1), - t4 = helix.group, - group = J.$index$asx(groups._map$_map, t4), - helix_upper_left_corner = group.transform_point_main_view$2(t3.$index(t2, t1), geometry); - t2 = helix.get$svg_width(); - t3 = helix.get$svg_height(); - t4 = group.pitch; - distances = E.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, t2, t3, t4); - unrotated_point = E.rotate(svg_clicked_point, -t4, helix_upper_left_corner); - t3 = unrotated_point.x; - t2 = distances.x; - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t2 !== "number") - return H.iae(t2); - t5 = unrotated_point.y; - t6 = distances.y; - if (typeof t5 !== "number") - return t5.$add(); - if (typeof t6 !== "number") - return H.iae(t6); - closest_point_in_helix_untransformed = group.transform_point_main_view$3$inverse(E.rotate(new P.Point(t3 + t2, t5 + t6, type$.Point_legacy_num), t4, helix_upper_left_corner), geometry, true); - offset = helix.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, helix_svg_position.x); - return Z._$Address$_(helix.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, helix_svg_position.y), t1, offset); + _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction() { }, - svg_position_of_mouse_click: function($event) { - var offset_in_svg_elt, t2, - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - offset_in_svg_elt = t1 === $.$get$firefox() ? E.get_svg_point($event) : J.get$offset$x($event); - t1 = E.current_pan(true); - t2 = self.current_zoom_main(); - t1 = offset_in_svg_elt.$sub(0, t1); - if (typeof t2 !== "number") - return H.iae(t2); - return t1.$mul(0, 1 / t2); + _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable() { }, - get_svg_point: function($event) { - var t2, t3, - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - t2 = type$.Point_num; - if (t1 === $.$get$firefox()) { - t1 = E.svg_ancestor(type$.legacy_SvgElement._as(W._convertNativeToDart_EventTarget($event.target))).getBoundingClientRect(); - t3 = t1.left; - t3.toString; - t1 = t1.top; - t1.toString; - return new P.Point($event.clientX, $event.clientY, t2).$sub(0, new P.Point(t3, t1, t2)); - } else - return new P.Point($event.clientX, $event.clientY, t2); + _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction() { }, - svg_ancestor: function(elt) { - var t1, t2; - for (t1 = type$.legacy_SvgSvgElement, t2 = type$.legacy_SvgElement; !t1._is(elt);) - elt = t2._as(elt.parentElement); - return t1._as(elt); + _HelixMajorTickStartChange_Object_BuiltJsonSerializable: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable() { }, - transform_mouse_coord_to_svg_current_panzoom_correct_firefox: function($event, is_main_view, view_svg) { - var point, t2, - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - if (t1 !== $.$get$firefox()) { - point = J.get$offset$x($event); - t1 = E.current_pan(is_main_view); - t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); - t1 = point.$sub(0, t1); - if (typeof t2 !== "number") - return H.iae(t2); - point = t1.$mul(0, 1 / t2); - } else { - point = E.untransformed_svg_point(view_svg, $event, null); - t1 = E.current_pan(is_main_view); - t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); - t1 = point.$sub(0, t1); - if (typeof t2 !== "number") - return H.iae(t2); - point = t1.$mul(0, 1 / t2); - } - return point; + _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction() { }, - untransformed_svg_point: function(svg_elt, $event, mouse_pos) { - var svg_point_SVG_1, - svg_point_SVG = svg_elt.createSVGPoint(); - if (mouse_pos == null) - mouse_pos = new P.Point($event.clientX, $event.clientY, type$.Point_num); - (svg_point_SVG && C.Point_methods).set$x(svg_point_SVG, mouse_pos.x); - C.Point_methods.set$y(svg_point_SVG, mouse_pos.y); - svg_point_SVG_1 = svg_point_SVG.matrixTransform(svg_elt.getScreenCTM().inverse()); - return new P.Point(svg_point_SVG_1.x, svg_point_SVG_1.y, type$.Point_legacy_num); + _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable() { }, - transformed_svg_point: function(svg_elt, is_main, $event, mouse_pos) { - var svg_pos_untransformed = E.untransformed_svg_point(svg_elt, $event, mouse_pos), - t1 = E.current_pan(false), - t2 = self.current_zoom_side(); - t1 = svg_pos_untransformed.$sub(0, t1); - if (typeof t2 !== "number") - return H.iae(t2); - return t1.$mul(0, 1 / t2); + _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction() { }, - hex_grid_position_to_position2d_diameter_1_circles: function(gp) { - var x, - y = gp.v, - t1 = gp.h; - if (C.JSInt_methods.$mod(t1, 2) === 1) - y += Math.cos(1.0471975511965976); - x = Math.sin(1.0471975511965976) * t1; - return new P.Point(x, y, type$.Point_legacy_num); + _HelixMajorTicksChange_Object_BuiltJsonSerializable: function _HelixMajorTicksChange_Object_BuiltJsonSerializable() { }, - honeycomb_grid_position_to_position2d_diameter_1_circles: function(gp) { - var t1 = gp.v, - y = 1.5 * t1, - t2 = gp.h, - t3 = C.JSInt_methods.$mod(t2, 2); - if (t3 === 0 && C.JSInt_methods.$mod(t1, 2) === 1) - y += 0.5; - else if (t3 === 1 && C.JSInt_methods.$mod(t1, 2) === 0) - y += Math.cos(1.0471975511965976); - return new P.Point(t2 * Math.sin(1.0471975511965976), y, type$.Point_legacy_num); + _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction() { }, - position_2d_to_grid_position_diameter_1_circles: function(grid, x, y, coordinate_system) { - var h, v, t1; - if (grid === C.Grid_none) - throw H.wrapException(P.ArgumentError$("cannot output grid coordinates for grid = Grid.none")); - else if (grid === C.Grid_square) { - h = C.JSNumber_methods.round$0(x); - v = C.JSNumber_methods.round$0(y); - } else if (grid === C.Grid_honeycomb) { - h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); - t1 = C.JSInt_methods.$mod(h, 2); - if (t1 === 0) { - if (C.JSInt_methods.$mod(C.JSNumber_methods.floor$0(y), 3) === 2) - y -= 0.5; - } else if (t1 === 1) - if (C.JSInt_methods.$mod(C.JSNumber_methods.floor$0(y - Math.cos(1.0471975511965976)), 3) === 1) - y -= Math.cos(1.0471975511965976); - v = C.JSNumber_methods.round$0(y / 1.5); - } else if (grid === C.Grid_hex) - if (coordinate_system === C.HexGridCoordinateSystem_0) { - v = C.JSNumber_methods.round$0(y / Math.sin(1.0471975511965976)); - h = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(v, 2) === 1 ? x - Math.cos(1.0471975511965976) : x); - } else if (coordinate_system === C.HexGridCoordinateSystem_3) { - h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); - v = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(h, 2) === 1 ? y + Math.cos(1.0471975511965976) : y); - } else if (coordinate_system === C.HexGridCoordinateSystem_2) { - h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); - v = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(h, 2) === 1 ? y - Math.cos(1.0471975511965976) : y); - } else - throw H.wrapException(P.UnsupportedError$("coordinate system " + coordinate_system.toString$0(0) + " not supported")); - else { - h = null; - v = null; - } - return D.GridPosition_GridPosition(h, v); + _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable() { }, - grid_position_to_position3d: function(grid_position, grid, geometry) { - var x, y, point, t1, t2; - if (grid === C.Grid_square) { - x = grid_position.h * geometry.get$distance_between_helices_nm(); - y = grid_position.v * geometry.get$distance_between_helices_nm(); - } else if (grid === C.Grid_hex) { - point = E.hex_grid_position_to_position2d_diameter_1_circles(grid_position); - t1 = point.x; - t2 = geometry.get$distance_between_helices_nm(); - if (typeof t1 !== "number") - return t1.$mul(); - x = t1 * t2; - t2 = point.y; - t1 = geometry.get$distance_between_helices_nm(); - if (typeof t2 !== "number") - return t2.$mul(); - y = t2 * t1; - } else if (grid === C.Grid_honeycomb) { - point = E.honeycomb_grid_position_to_position2d_diameter_1_circles(grid_position); - t1 = point.x; - t2 = geometry.get$distance_between_helices_nm(); - if (typeof t1 !== "number") - return t1.$mul(); - x = t1 * t2; - t2 = point.y; - t1 = geometry.get$distance_between_helices_nm(); - if (typeof t2 !== "number") - return t2.$mul(); - y = t2 * t1; - } else - throw H.wrapException(P.ArgumentError$(string$.cannotc)); - return X.Position3D_Position3D(x, y, 0); + _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction() { }, - position3d_to_side_view_svg: function(position, invert_y, geometry) { - var t3, t4, t5, t6, - t1 = position.x, - t2 = geometry.get$nm_to_svg_pixels(); - H.boolConversionCheck(invert_y); - t3 = invert_y ? -1 : 1; - t4 = position.y; - t5 = geometry.get$nm_to_svg_pixels(); - t6 = invert_y ? -1 : 1; - return new P.Point(t1 * t2 * t3, t4 * t5 * t6, type$.Point_legacy_num); + _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable() { }, - svg_side_view_to_position3d: function(svg_pos, invert_y, geometry) { - var t3, t4, t5, t6, - t1 = svg_pos.x, - t2 = geometry.get$nm_to_svg_pixels(); - if (typeof t1 !== "number") - return t1.$div(); - H.boolConversionCheck(invert_y); - t3 = invert_y ? -1 : 1; - t4 = svg_pos.y; - t5 = geometry.get$nm_to_svg_pixels(); - if (typeof t4 !== "number") - return t4.$div(); - t6 = invert_y ? -1 : 1; - return X.Position3D_Position3D(t1 / t2 * t3, t4 / t5 * t6, 0); + _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { }, - mandatory_field: function(map, key, $name, legacy_keys) { - var t2, _i, legacy_key, msg, - t1 = J.getInterceptor$x(map); - if (!t1.containsKey$1(map, key)) { - for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { - legacy_key = legacy_keys[_i]; - if (t1.containsKey$1(map, legacy_key)) - return t1.$index(map, legacy_key); - } - msg = 'key "' + key + '" is missing from the description of a ' + $name + ":\n " + H.S(map); - throw H.wrapException(N.IllegalDesignError$(t2 !== 0 ? msg + ("\nThese legacy keys are also supported, but were not found either: " + C.JSArray_methods.join$1(legacy_keys, ", ")) : msg)); - } else - return t1.$index(map, key); + _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { }, - optional_field: function(map, key, default_value, legacy_keys, legacy_transformer, transformer, $T, $U) { - var value, t2, _i, legacy_key, - t1 = J.getInterceptor$x(map); - if (!t1.containsKey$1(map, key)) { - t2 = legacy_keys.length; - _i = 0; - while (true) { - if (!(_i < t2)) { - value = null; - break; - } - legacy_key = legacy_keys[_i]; - if (t1.containsKey$1(map, legacy_key)) { - value = t1.$index(map, legacy_key); - if (legacy_transformer != null) - return legacy_transformer.call$1($U._eval$1("0*")._as(value)); - break; - } - ++_i; - } - if (value == null) - return default_value; - } else - value = t1.$index(map, key); - if (transformer == null) - return $T._eval$1("0*")._as(value); - else - return transformer.call$1($U._eval$1("0*")._as(value)); + _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { }, - optional_field_with_null_default: function(map, key, legacy_keys, $T, $U) { - var t2, _i, legacy_key, - t1 = J.getInterceptor$x(map); - if (!t1.containsKey$1(map, key)) { - for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { - legacy_key = legacy_keys[_i]; - if (t1.containsKey$1(map, legacy_key)) - return $T._eval$1("0*")._as(t1.$index(map, legacy_key)); - } - return null; - } else { - t1 = $T._eval$1("0*")._as(t1.$index(map, key)); - return t1; - } + _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable() { }, - current_pan: function(is_main) { - var ret = is_main ? self.current_pan_main() : self.current_pan_side(), - t1 = J.getInterceptor$asx(ret); - return new P.Point(t1.$index(ret, 0), t1.$index(ret, 1), type$.Point_legacy_num); + _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction() { }, - get_scadnano_stylesheet: function() { - var t1, t2, _i, stylesheet, t3; - for (t1 = document.styleSheets, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - stylesheet = t1[_i]; - t3 = stylesheet.href; - if (t3 != null) - t3 = H.stringContainsUnchecked(t3, "scadnano-styles.css", 0); - else - t3 = false; - if (t3) - return type$.legacy_CssStyleSheet._as(stylesheet); - } - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = W.document().styleSheets, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i) - t1.push(t2[_i].href); - throw H.wrapException(P.AssertionError$('cannot find stylesheet containing "scadnano-styles.css" in its href\nlist of stylesheet hrefs:\n' + C.JSArray_methods.join$1(t1, "\n"))); + _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable() { }, - blob_type_to_string: function(blob_type) { - switch (blob_type) { - case C.BlobType_0: - return "text/plain;charset=utf-8"; - case C.BlobType_1: - return "application/octet-stream"; - case C.BlobType_2: - return "image/svg+xml;charset=utf-8,"; - case C.BlobType_3: - return string$.applic; - } - throw H.wrapException(P.AssertionError$(string$.You_ha)); + _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { }, - copy_svg_as_png: function(svg_element) { - return E.copy_svg_as_png$body(svg_element); + _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { }, - copy_svg_as_png$body: function(svg_element) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$next = [], serializer, source, svgUrl, svgImage, stackTrace, stackTrace0, t1, exception; - var $async$copy_svg_as_png = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - try { - serializer = new XMLSerializer(); - source = J.serializeToString$1$x(serializer, svg_element); - svgUrl = (self.URL || self.webkitURL).createObjectURL(W.Blob_Blob([source], "image/svg+xml")); - svgImage = W.ImageElement_ImageElement(svgUrl); - t1 = document.body; - (t1 && C.BodyElement_methods).append$1(t1, svgImage); - J.addEventListener$2$x(svgImage, "load", new E.copy_svg_as_png_closure(svg_element, svgImage, svgUrl)); - J.set$src$x(svgImage, svgUrl); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - stackTrace = H.getTraceFromException(exception); - P.print(stackTrace); - } else if (type$.legacy_Error._is(t1)) { - stackTrace0 = H.getTraceFromException(exception); - P.print(stackTrace0); - } else - throw exception; - } - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$copy_svg_as_png, $async$completer); + _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { }, - save_file: function(default_filename, $content, and_then, blob_type) { - return E.save_file$body(default_filename, $content, and_then, blob_type); + _HelixOffsetChange_Object_BuiltJsonSerializable: function _HelixOffsetChange_Object_BuiltJsonSerializable() { }, - save_file$body: function(default_filename, $content, and_then, blob_type) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$next = [], blob_type_string, blob, url, link, e, stackTrace, e0, stackTrace0, link0, t1, exception, msg; - var $async$save_file = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - try { - blob_type_string = E.blob_type_to_string(blob_type); - blob = W.Blob_Blob([$content], blob_type_string); - url = (self.URL || self.webkitURL).createObjectURL(blob); - link0 = W.AnchorElement_AnchorElement(); - C.AnchorElement_methods.set$href(link0, url); - C.AnchorElement_methods.set$download(link0, default_filename); - link = link0; - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - if (t1 === $.$get$firefox()) { - t1 = document.body; - t1.toString; - t1.appendChild(type$.Element._as(link)); - } - J.click$0$x(link); - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - if (t1 === $.$get$firefox()) - J.remove$0$ax(link); - (self.URL || self.webkitURL).revokeObjectURL(url); - if (and_then != null) - and_then.call$0(); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_Exception._is(t1)) { - e = t1; - stackTrace = H.getTraceFromException(exception); - msg = "error while saving file: " + H.S(e) + E.stack_trace_message_bug_report(stackTrace); - C.Window_methods.alert$1(window, msg); - } else if (type$.legacy_Error._is(t1)) { - e0 = t1; - stackTrace0 = H.getTraceFromException(exception); - msg = "error while saving file: " + H.S(e0) + E.stack_trace_message_bug_report(stackTrace0); - C.Window_methods.alert$1(window, msg); - } else - throw exception; - } - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$save_file, $async$completer); + _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction() { }, - stack_trace_message_bug_report: function(stack_trace) { - return "\n\n**********************************************************************************\n* If you believe this is due to a bug in scadnano, please file a bug report at *\n* https://github.com/UC-Davis-molecular-computing/scadnano/issues" + C.JSString_methods.$mul(" ", 14) + "*\n* Include this entire message in the email. *\n**********************************************************************************\n\nstack trace:\n" + H.S(stack_trace); + _HelixOffsetChangeAll_Object_BuiltJsonSerializable: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable() { }, - rotation_between_helices: function(helix, helix_other, $forward, geometry) { - var pos1 = helix.get$position3d(), - pos2 = helix_other.get$position3d(), - rotation = C.JSNumber_methods.$mod(Math.atan2(pos2.x - pos1.x, -(pos2.y - pos1.y)), 6.283185307179586) * 360 / 6.283185307179586; - return !$forward ? C.JSNumber_methods.$mod(rotation - geometry.minor_groove_angle, 360) : rotation; + _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction() { }, - rotate: function(point, angle_degrees, origin) { - var t3, t4, - angle_radians = angle_degrees * 2 * 3.141592653589793 / 360, - point_relative_to_origin = point.$sub(0, origin), - t1 = point_relative_to_origin.x, - t2 = Math.cos(angle_radians); - if (typeof t1 !== "number") - return t1.$mul(); - t3 = point_relative_to_origin.y; - t4 = Math.sin(angle_radians); - if (typeof t3 !== "number") - return t3.$mul(); - return new P.Point(t1 * t2 - t3 * t4, t1 * Math.sin(angle_radians) + t3 * Math.cos(angle_radians), type$.Point_legacy_num).$add(0, origin); + _HelixPositionSet_Object_BuiltJsonSerializable: function _HelixPositionSet_Object_BuiltJsonSerializable() { }, - helices_view_order_is_default: function(helix_idxs, group) { - var t1, - default_helices_view_order = P.List_List$from(helix_idxs, true, type$.legacy_int); - C.JSArray_methods.sort$0(default_helices_view_order); - t1 = group.helices_view_order; - return C.ListEquality_DefaultEquality.get$equals().call$2(new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")), default_helices_view_order); + _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction() { }, - get_address_on_helix: function($event, helix, group, geometry, helix_svg_position) { - var t1 = type$.legacy_String, - t2 = type$.legacy_HelixGroup, - t3 = type$.legacy_int, - t4 = type$.legacy_Point_legacy_num; - return E.find_closest_address($event, H.setRuntimeTypeInfo([helix], type$.JSArray_legacy_Helix), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([helix.group, group], t1, t2), t1, t2), geometry, A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([helix.idx, helix_svg_position], t3, t4), t3, t4)); + _HelixRemove_Object_BuiltJsonSerializable: function _HelixRemove_Object_BuiltJsonSerializable() { }, - merge_wildcards: function(s1, s2, wildcard) { - var t1, t2, union_builder, i, c1, c2; - H._asStringS(s1); - H._asStringS(s2); - H._asStringS(wildcard); - t1 = s1.length; - t2 = s2.length; - if (t1 !== t2) - throw H.wrapException(P.ArgumentError$("\ns1=" + H.S(s1) + " and\ns2=" + H.S(s2) + "\nare not the same length.")); - union_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (i = 0; i < t1; ++i) { - c1 = s1[i]; - if (i >= t2) - return H.ioore(s2, i); - c2 = s2[i]; - if (c1 === wildcard) - C.JSArray_methods.add$1(union_builder, c2); - else if (c2 === wildcard) - C.JSArray_methods.add$1(union_builder, c1); - else if (c1 !== c2) - throw H.wrapException(P.ArgumentError$("s1=" + s1 + " and s2=" + s2 + " have unequal symbols " + c1 + " and " + c2 + " at position " + i + ".")); - else - C.JSArray_methods.add$1(union_builder, c1); - } - return C.JSArray_methods.join$1(union_builder, ""); + _HelixRemove_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - merge_wildcards_favor_first: function(s1, s2, wildcard) { - var t1, t2, union_builder, i, c1, c2; - H._asStringS(s1); - H._asStringS(s2); - H._asStringS(wildcard); - t1 = s1.length; - t2 = s2.length; - if (t1 !== t2) - throw H.wrapException(P.ArgumentError$("\ns1=" + H.S(s1) + " and\ns2=" + H.S(s2) + "\nare not the same length.")); - union_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (i = 0; i < t1; ++i) { - c1 = s1[i]; - if (i >= t2) - return H.ioore(s2, i); - c2 = s2[i]; - if (c1 === wildcard) - C.JSArray_methods.add$1(union_builder, c2); - else if (c2 === wildcard) - C.JSArray_methods.add$1(union_builder, c1); - else - C.JSArray_methods.add$1(union_builder, c1); - } - return C.JSArray_methods.join$1(union_builder, ""); + _HelixRemoveAllSelected_Object_BuiltJsonSerializable: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable() { }, - check_dna_sequence: function(seq) { - var regex, counter_example, i, _null = null, - t1 = P.RegExp_RegExp("\\s+", true), - seq_no_spaces = H.stringReplaceAllUnchecked(seq, t1, ""); - t1 = seq_no_spaces.length; - if (t1 === 0) - throw H.wrapException(P.FormatException$('"' + seq + '" is not a valid DNA sequence; it cannot be empty', _null, _null)); - regex = P.RegExp_RegExp("^(a|c|g|t|A|C|G|T)+$", true); - if (regex._nativeRegExp.test(seq_no_spaces)) - return true; - else { - for (counter_example = _null, i = 0; i < t1; ++i) { - counter_example = seq_no_spaces[i]; - if (counter_example !== "A" && counter_example !== "C" && counter_example !== "G" && counter_example !== "T" && counter_example !== "a" && counter_example !== "c" && counter_example !== "g" && counter_example !== "t") - break; - } - throw H.wrapException(P.FormatException$("
" + E.with_newlines(seq, 100) + "
" + ("is not a valid DNA sequence; it can only contain the symbols a c g t A C G T but it contains the symbol " + H.S(counter_example)), _null, _null)); - } + _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction() { }, - with_newlines: function(string, width) { - var t1, i, i0, - lines = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t1 = string.length, i = 0; i < t1; i = i0) { - i0 = i + width; - C.JSArray_methods.add$1(lines, C.JSString_methods.substring$2(string, i, Math.min(i0, t1))); - } - return C.JSArray_methods.join$1(lines, "\n"); + _HelixRollSet_Object_BuiltJsonSerializable: function _HelixRollSet_Object_BuiltJsonSerializable() { }, - wc: function(seq) { - var t1 = type$.ReversedListIterable_String; - return new H.MappedListIterable(new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), type$.JSArray_String), t1), t1._eval$1("String*(ListIterable.E)")._as(new E.wc_closure()), t1._eval$1("MappedListIterable")).join$1(0, ""); + _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction() { }, - wc_base: function(base) { - switch (base) { - case "A": - return "T"; - case "a": - return "t"; - case "C": - return "G"; - case "C": - return "g"; - case "G": - return "C"; - case "g": - return "c"; - case "T": - return "A"; - case "t": - return "a"; - } - return base; + _HelixRollSetAtOther_Object_BuiltJsonSerializable: function _HelixRollSetAtOther_Object_BuiltJsonSerializable() { }, - bases_complementary: function(base1, base2, allow_null, allow_wildcard) { - var t1 = base1 === "?" || base2 === "?"; - if (t1) - return true; - if (base1.length !== 1 || base2.length !== 1) - throw H.wrapException(P.ArgumentError$("base1 and base2 must each be a single character: base1 = " + base1 + ", base2 = " + base2)); - base1 = base1.toUpperCase(); - base2 = base2.toUpperCase(); - t1 = type$.dynamic; - return $.$get$set_equality().equals$2(P.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), P.LinkedHashSet_LinkedHashSet$_literal(["A", "T"], t1)) || $.$get$set_equality().equals$2(P.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), P.LinkedHashSet_LinkedHashSet$_literal(["C", "G"], t1)); + _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction() { }, - reverse_complementary: function(seq1, seq2, allow_null, allow_wildcard) { - var t2, j, i, b1, - t1 = seq1 == null || seq2 == null; - if (t1) - return true; - t1 = seq1.length; - t2 = seq2.length; - if (t1 !== t2) - return false; - for (j = t2 - 1, i = 0; i < t1; ++i, --j) { - b1 = seq1[i]; - if (j < 0) - return H.ioore(seq2, j); - if (!E.bases_complementary(b1, seq2[j], true, true)) - return false; - } - return true; + _HelixSelect_Object_BuiltJsonSerializable: function _HelixSelect_Object_BuiltJsonSerializable() { }, - parse_json_color: function(json_obj) { - var r, g, b, hex_str, t1, exception; - try { - if (type$.legacy_Map_dynamic_dynamic._is(json_obj)) { - t1 = J.getInterceptor$asx(json_obj); - r = H._asIntS(t1.$index(json_obj, "r")); - g = H._asIntS(t1.$index(json_obj, "g")); - b = H._asIntS(t1.$index(json_obj, "b")); - return new S.RgbColor(r, g, b); - } else if (typeof json_obj == "string") { - t1 = S.HexColor_HexColor(json_obj); - return t1; - } else if (H._isInt(json_obj)) { - hex_str = "#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(json_obj, 16), 6, "0"); - t1 = S.HexColor_HexColor(hex_str); - return t1; - } else { - t1 = P.ArgumentError$value("JSON object representing color must be a Map, String, or int, but instead it is a " + J.get$runtimeType$(json_obj).toString$0(0) + ":\n" + H.S(json_obj), null, null); - throw H.wrapException(t1); - } - } catch (exception) { - if (type$.legacy_Exception._is(H.unwrapException(exception))) { - P.print("WARNING: I couldn't understand the color specification " + H.S(json_obj) + ", so I'm substituting black."); - return S.RgbColor_RgbColor$name("black"); - } else - throw exception; - } + _HelixSelectionsAdjust_Object_BuiltJsonSerializable: function _HelixSelectionsAdjust_Object_BuiltJsonSerializable() { }, - dispatch_set_zoom_threshold: function(new_zoom_threshold) { - H._asBoolS(new_zoom_threshold); - $.app.dispatch$1(U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(new_zoom_threshold)); + _HelixSelectionsClear_Object_BuiltJsonSerializable: function _HelixSelectionsClear_Object_BuiltJsonSerializable() { }, - svg_to_png_data: function() { - var t2, dna_sequence_element, strands_element, svg, dna_sequence_element_copy, strands_element_copy, bbox, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset, svg_width, svg_height, url, ctx, img, - t1 = document, - dna_sequence_element_list = t1.getElementsByClassName("dna-sequences-main-view"), - strands_element_list = t1.getElementsByClassName("strands-main-view"); - if (t1.getElementById("dna-sequences-main-view-png") == null) - if (dna_sequence_element_list.length !== 0) - if (strands_element_list.length !== 0) { - t2 = type$.legacy_GraphicsElement._as(J.get$first$ax(dna_sequence_element_list)); - t2 = new P.FilteredElementList(t2, new W._ChildNodeListLazy(t2)); - if (t2.get$length(t2) !== 0) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.dna_sequence_png_uri != null; - } else - t2 = true; - } else - t2 = true; - else - t2 = true; - else - t2 = true; - if (t2) - return; - t2 = type$.legacy_GraphicsElement; - dna_sequence_element = t2._as(J.get$first$ax(dna_sequence_element_list)); - strands_element = t2._as(J.get$first$ax(strands_element_list)); - svg = P.SvgSvgElement_SvgSvgElement(); - dna_sequence_element_copy = t2._as(V.clone_and_apply_style(dna_sequence_element)); - strands_element_copy = t2._as(V.clone_and_apply_style(strands_element)); - strands_element_copy.setAttribute("display", "none"); - bbox = dna_sequence_element.getBBox(); - t2 = bbox.x; - if (typeof t2 !== "number") - return H.iae(t2); - dna_sequence_png_horizontal_offset = 50 - t2; - t2 = bbox.y; - if (typeof t2 !== "number") - return H.iae(t2); - dna_sequence_png_vertical_offset = 50 - t2; - dna_sequence_element_copy.setAttribute("transform", "translate(" + H.S(dna_sequence_png_horizontal_offset) + ", " + H.S(dna_sequence_png_vertical_offset) + ")"); - svg.appendChild(strands_element_copy); - svg.appendChild(dna_sequence_element_copy); - t2 = bbox.width; - if (typeof t2 !== "number") - return t2.$add(); - svg_width = C.JSNumber_methods.toInt$0(t2 + 50); - t2 = bbox.height; - if (typeof t2 !== "number") - return t2.$add(); - svg_height = C.JSNumber_methods.toInt$0(t2 + 50); - svg.setAttribute("width", C.JSInt_methods.toString$0(svg_width)); - svg.setAttribute("height", C.JSInt_methods.toString$0(svg_height)); - url = (self.URL || self.webkitURL).createObjectURL(W.Blob_Blob([new XMLSerializer().serializeToString(svg)], E.blob_type_to_string(C.BlobType_2))); - t1 = t1.createElement("canvas"); - type$.legacy_CanvasElement._as(t1); - C.CanvasElement_methods.set$width(t1, svg_width); - C.CanvasElement_methods.set$height(t1, svg_height); - t1.setAttribute("style", "width: " + H.S(t1.width) + "px; height: " + H.S(t1.height) + "px;"); - ctx = t1.getContext("2d"); - ctx.clearRect(0, 0, bbox.width, bbox.height); - img = W.ImageElement_ImageElement(url); - t2 = type$._ElementEventStreamImpl_legacy_Event; - t1 = t2._eval$1("~(1)?")._as(new E.svg_to_png_data_closure(ctx, img, url, t1, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(img, "load", t1, false, t2._precomputed1); + _InlineInsertionsDeletions_Object_BuiltJsonSerializable: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable() { }, - unused_fields_map: function(map, fields) { - var _i, - t1 = type$.dynamic, - new_map = P.LinkedHashMap_LinkedHashMap$from(map, t1, t1); - for (t1 = fields.length, _i = 0; _i < fields.length; fields.length === t1 || (0, H.throwConcurrentModificationError)(fields), ++_i) - new_map.remove$1(0, fields[_i]); - return A.MapBuilder_MapBuilder(new_map, type$.legacy_String, type$.legacy_Object); + _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction() { }, - async_alert: function(msg) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic); - var $async$async_alert = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 2; - return P._asyncAwait(null, $async$async_alert); - case 2: - // returning from await. - P.Timer_Timer(P.Duration$(1, 0, 0), new E.async_alert_closure(msg)); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$async_alert, $async$completer); + _InsertionAdd_Object_BuiltJsonSerializable: function _InsertionAdd_Object_BuiltJsonSerializable() { }, - compute_end_rotation: function(display_angle, $forward, is_5p) { - var radians, x, y, t1; - if (typeof display_angle !== "number") - return display_angle.$mul(); - radians = display_angle * 2 * 3.141592653589793 / 360; - x = Math.cos(radians); - y = Math.sin(radians); - H.boolConversionCheck($forward); - t1 = !$forward; - if (t1) - x = -x; - if (!($forward && H.boolConversionCheck(is_5p))) - t1 = t1 && !H.boolConversionCheck(is_5p); - else - t1 = true; - if (t1) - x = -x; - return Math.atan2(-y, x) * 360 / 6.283185307179586; + _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction: function _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - compute_extension_attached_end_svg: function(ext, adj_dom, adj_helix, adj_helix_svg_y) { - var end_offset = H.boolConversionCheck(ext.is_5p) ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(); - return adj_helix.svg_base_pos$3(end_offset, adj_dom.forward, adj_helix_svg_y); + _InsertionLengthChange_Object_BuiltJsonSerializable: function _InsertionLengthChange_Object_BuiltJsonSerializable() { }, - compute_extension_free_end_svg: function(attached_end_svg, ext, adjacent_domain, geometry) { - var x = attached_end_svg.x, - y = attached_end_svg.y, - angle_radians = ext.display_angle * 2 * 3.141592653589793 / 360, - t1 = ext.display_length, - x_delta = t1 * Math.cos(angle_radians) * geometry.get$nm_to_svg_pixels(), - y_delta = t1 * Math.sin(angle_radians) * geometry.get$nm_to_svg_pixels(); - t1 = adjacent_domain.forward; - if (t1) - y_delta = -y_delta; - if (!(t1 && H.boolConversionCheck(ext.is_5p))) - t1 = !t1 && !H.boolConversionCheck(ext.is_5p); - else - t1 = true; - if (t1) - x_delta = -x_delta; - if (typeof x !== "number") - return x.$add(); - if (typeof y !== "number") - return y.$add(); - return new P.Point(x + x_delta, y + y_delta, type$.Point_legacy_num); + _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction() { }, - compute_extension_length_and_angle_from_point: function(current_mouse_point, attached_end_svg, ext, adjacent_domain, geometry) { - var x_delta, y_delta, t1, t2, angle_radians, t3, - new_x = current_mouse_point.x, - new_y = current_mouse_point.y, - old_x = attached_end_svg.x, - old_y = attached_end_svg.y; - if (typeof new_x !== "number") - return new_x.$sub(); - if (typeof old_x !== "number") - return H.iae(old_x); - x_delta = new_x - old_x; - if (typeof new_y !== "number") - return new_y.$sub(); - if (typeof old_y !== "number") - return H.iae(old_y); - y_delta = new_y - old_y; - t1 = Math.sqrt(x_delta * x_delta + y_delta * y_delta); - t2 = geometry.get$svg_pixels_to_nm(); - angle_radians = Math.atan2(y_delta, x_delta); - t3 = adjacent_domain.forward; - if (t3) - angle_radians = -angle_radians; - if (!(t3 && H.boolConversionCheck(ext.is_5p))) - t3 = !t3 && !H.boolConversionCheck(ext.is_5p); - else - t3 = true; - if (t3) - angle_radians = 3.141592653589793 - angle_radians; - return new S.Tuple2(t1 * t2, angle_radians * 180 / 3.141592653589793, type$.Tuple2_of_legacy_double_and_legacy_double); + _InsertionRemove_Object_BuiltJsonSerializable: function _InsertionRemove_Object_BuiltJsonSerializable() { }, - update_mouseover: function(event_syn, helix, helix_svg_position) { - var $event, t2, group, address, mouseover_params, - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.show_mouseover_data) { - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = helix.group; - group = J.$index$asx(t1._map$_map, t2); - t2 = $.app.store; - address = E.get_address_on_helix($event, helix, group, t2.get$state(t2).design.geometry, helix_svg_position); - mouseover_params = K.MouseoverParams_MouseoverParams(helix.idx, address.offset, address.forward); - t1 = $.app.store; - if (E.needs_update(mouseover_params, t1.get$state(t1).ui_state.mouseover_datas)) - $.app.dispatch$1(U._$MouseoverDataUpdate$_(D.BuiltList_BuiltList$from([mouseover_params], type$.legacy_MouseoverParams))); - } + _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction: function _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - needs_update: function(mouseover_params, mouseover_datas) { - var t1, t2, t3, t4, needs, t5; - for (t1 = J.get$iterator$ax(mouseover_datas._list), t2 = mouseover_params.helix_idx, t3 = mouseover_params.offset, t4 = mouseover_params.forward, needs = true; t1.moveNext$0();) { - t5 = t1.get$current(t1); - if (t5.helix.idx === t2) - if (t5.offset === t3) { - t5 = t5.domain; - t5 = (t5 == null ? null : t5.forward) === t4; - } else - t5 = false; - else - t5 = false; - if (t5) - needs = false; - } - return needs; + _InsertionsLengthChange_Object_BuiltJsonSerializable: function _InsertionsLengthChange_Object_BuiltJsonSerializable() { }, - invert_helices_view_order: function(helices_view_order) { - var t1, order, order0, - view_order_inverse = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_int); - for (t1 = J.get$iterator$ax(helices_view_order), order = 0; t1.moveNext$0(); order = order0) { - order0 = order + 1; - view_order_inverse.$indexSet(0, t1.get$current(t1), order); - } - return view_order_inverse; + _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { }, - minimum_strain_angle: function(relative_angles) { - var t2, _i, angle, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_double); - for (t2 = relative_angles.length, _i = 0; _i < relative_angles.length; relative_angles.length === t2 || (0, H.throwConcurrentModificationError)(relative_angles), ++_i) { - angle = relative_angles[_i]; - t3 = angle.item1; - t4 = angle.item2; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t1.push(t3 - t4); - } - return C.JSNumber_methods.$mod(-E.average_angle(t1), 360); + _InvertYSet_Object_BuiltJsonSerializable: function _InvertYSet_Object_BuiltJsonSerializable() { }, - sum_squared_angle_distances: function(angles, angle) { - var t1, sum, _i, a, a0, b, diff; - for (t1 = angles.length, sum = 0, _i = 0; _i < t1; ++_i) { - a = angles[_i]; - a0 = C.JSNumber_methods.$mod(angle - a, 360); - b = C.JSNumber_methods.$mod(a - angle, 360); - diff = a0 < b ? -a0 : b; - sum += diff * diff; - } - return sum; + _JoinStrandsByCrossover_Object_BuiltJsonSerializable: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable() { }, - average_angle: function(angles) { - var t1, mean_angle, min_dist, optimal_angle, n, candidate_angle, candidate_dist, - num_angles = angles.length; - if (num_angles > 0) { - t1 = C.JSArray_methods.reduce$1(angles, new E.average_angle_closure()); - if (typeof t1 !== "number") - return t1.$div(); - mean_angle = t1 / num_angles; - } else - mean_angle = 0; - for (min_dist = 1 / 0, optimal_angle = 0, n = 0; n < num_angles; ++n) { - candidate_angle = mean_angle + 360 * n / num_angles; - candidate_dist = E.sum_squared_angle_distances(angles, candidate_angle); - if (min_dist > candidate_dist) { - optimal_angle = candidate_angle; - min_dist = candidate_dist; - } - } - optimal_angle = C.JSNumber_methods.$mod(optimal_angle, 360); - if (Math.abs(360 - optimal_angle) < 1e-9) - optimal_angle = 0; - return C.JSNumber_methods.round$0(optimal_angle * Math.pow(10, 9)) / Math.pow(10, 9); + _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction() { }, - ColorCycler: function ColorCycler() { - this.idx = 0; + _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable() { }, - are_all_close_closure: function are_all_close_closure(t0) { - this.epsilon = t0; + _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction() { }, - get_text_file_content_closure: function get_text_file_content_closure() { + _Ligate_Object_BuiltJsonSerializable: function _Ligate_Object_BuiltJsonSerializable() { }, - get_binary_file_content_closure: function get_binary_file_content_closure() { + _Ligate_Object_BuiltJsonSerializable_UndoableAction: function _Ligate_Object_BuiltJsonSerializable_UndoableAction() { }, - dialog_closure: function dialog_closure(t0) { - this.completer = t0; + _LoadDNAFile_Object_BuiltJsonSerializable: function _LoadDNAFile_Object_BuiltJsonSerializable() { }, - dialog__closure: function dialog__closure(t0) { - this.completer = t0; + _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { }, - Version: function Version(t0, t1, t2) { - this.major = t0; - this.minor = t1; - this.patch = t2; + _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable: function _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable() { }, - HexGridCoordinateSystem: function HexGridCoordinateSystem(t0) { - this._util$_name = t0; + _LoadingDialogHide_Object_BuiltJsonSerializable: function _LoadingDialogHide_Object_BuiltJsonSerializable() { }, - Pan: function Pan() { + _LoadingDialogShow_Object_BuiltJsonSerializable: function _LoadingDialogShow_Object_BuiltJsonSerializable() { }, - BlobType: function BlobType(t0) { - this._util$_name = t0; + _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable: function _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable() { }, - copy_svg_as_png_closure: function copy_svg_as_png_closure(t0, t1, t2) { - this.svg_element = t0; - this.svgImage = t1; - this.svgUrl = t2; + _LoopoutLengthChange_Object_BuiltJsonSerializable: function _LoopoutLengthChange_Object_BuiltJsonSerializable() { }, - wc_closure: function wc_closure() { + _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction() { }, - svg_to_png_data_closure: function svg_to_png_data_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.ctx = t0; - _.img = t1; - _.url = t2; - _.canvas = t3; - _.dna_sequence_png_horizontal_offset = t4; - _.dna_sequence_png_vertical_offset = t5; + _LoopoutsLengthChange_Object_BuiltJsonSerializable: function _LoopoutsLengthChange_Object_BuiltJsonSerializable() { }, - async_alert_closure: function async_alert_closure(t0) { - this.msg = t0; + _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { }, - average_angle_closure: function average_angle_closure() { + _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable() { }, - _$DesignMainStrands: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? E._$$DesignMainStrandsProps$JsMap$(new L.JsBackedMap({})) : E._$$DesignMainStrandsProps__$$DesignMainStrandsProps(backingProps); + _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable() { }, - _$$DesignMainStrandsProps__$$DesignMainStrandsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return E._$$DesignMainStrandsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new E._$$DesignMainStrandsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strands$_props = backingMap; - return t1; - } - }, - _$$DesignMainStrandsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new E._$$DesignMainStrandsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strands$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - ConnectedDesignMainStrands_closure: function ConnectedDesignMainStrands_closure() { - }, - DesignMainStrandsProps: function DesignMainStrandsProps() { - }, - DesignMainStrandsComponent: function DesignMainStrandsComponent() { - }, - DesignMainStrandsComponent_render_closure: function DesignMainStrandsComponent_render_closure() { - }, - $DesignMainStrandsComponentFactory_closure: function $DesignMainStrandsComponentFactory_closure() { + _ManualPasteInitiate_Object_BuiltJsonSerializable: function _ManualPasteInitiate_Object_BuiltJsonSerializable() { }, - _$$DesignMainStrandsProps: function _$$DesignMainStrandsProps() { + _ModificationAdd_Object_BuiltJsonSerializable: function _ModificationAdd_Object_BuiltJsonSerializable() { }, - _$$DesignMainStrandsProps$PlainMap: function _$$DesignMainStrandsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { - var _ = this; - _._design_main_strands$_props = t0; - _.DesignMainStrandsProps_strands = t1; - _.DesignMainStrandsProps_helices = t2; - _.DesignMainStrandsProps_groups = t3; - _.DesignMainStrandsProps_side_selected_helix_idxs = t4; - _.DesignMainStrandsProps_selectables_store = t5; - _.DesignMainStrandsProps_show_dna = t6; - _.DesignMainStrandsProps_show_modifications = t7; - _.DesignMainStrandsProps_show_strand_names = t8; - _.DesignMainStrandsProps_show_strand_labels = t9; - _.DesignMainStrandsProps_show_domain_names = t10; - _.DesignMainStrandsProps_show_domain_labels = t11; - _.DesignMainStrandsProps_strand_name_font_size = t12; - _.DesignMainStrandsProps_strand_label_font_size = t13; - _.DesignMainStrandsProps_domain_name_font_size = t14; - _.DesignMainStrandsProps_domain_label_font_size = t15; - _.DesignMainStrandsProps_modification_font_size = t16; - _.DesignMainStrandsProps_drawing_potential_crossover = t17; - _.DesignMainStrandsProps_moving_dna_ends = t18; - _.DesignMainStrandsProps_dna_assign_options = t19; - _.DesignMainStrandsProps_only_display_selected_helices = t20; - _.DesignMainStrandsProps_modification_display_connector = t21; - _.DesignMainStrandsProps_display_reverse_DNA_right_side_up = t22; - _.DesignMainStrandsProps_geometry = t23; - _.DesignMainStrandsProps_helix_idx_to_svg_position_map = t24; - _.DesignMainStrandsProps_retain_strand_color_on_selection = t25; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t26; - _.UbiquitousDomPropsMixin__dom = t27; + _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction: function _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction() { }, - _$$DesignMainStrandsProps$JsMap: function _$$DesignMainStrandsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { - var _ = this; - _._design_main_strands$_props = t0; - _.DesignMainStrandsProps_strands = t1; - _.DesignMainStrandsProps_helices = t2; - _.DesignMainStrandsProps_groups = t3; - _.DesignMainStrandsProps_side_selected_helix_idxs = t4; - _.DesignMainStrandsProps_selectables_store = t5; - _.DesignMainStrandsProps_show_dna = t6; - _.DesignMainStrandsProps_show_modifications = t7; - _.DesignMainStrandsProps_show_strand_names = t8; - _.DesignMainStrandsProps_show_strand_labels = t9; - _.DesignMainStrandsProps_show_domain_names = t10; - _.DesignMainStrandsProps_show_domain_labels = t11; - _.DesignMainStrandsProps_strand_name_font_size = t12; - _.DesignMainStrandsProps_strand_label_font_size = t13; - _.DesignMainStrandsProps_domain_name_font_size = t14; - _.DesignMainStrandsProps_domain_label_font_size = t15; - _.DesignMainStrandsProps_modification_font_size = t16; - _.DesignMainStrandsProps_drawing_potential_crossover = t17; - _.DesignMainStrandsProps_moving_dna_ends = t18; - _.DesignMainStrandsProps_dna_assign_options = t19; - _.DesignMainStrandsProps_only_display_selected_helices = t20; - _.DesignMainStrandsProps_modification_display_connector = t21; - _.DesignMainStrandsProps_display_reverse_DNA_right_side_up = t22; - _.DesignMainStrandsProps_geometry = t23; - _.DesignMainStrandsProps_helix_idx_to_svg_position_map = t24; - _.DesignMainStrandsProps_retain_strand_color_on_selection = t25; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t26; - _.UbiquitousDomPropsMixin__dom = t27; + _ModificationConnectorLengthSet_Object_BuiltJsonSerializable: function _ModificationConnectorLengthSet_Object_BuiltJsonSerializable() { }, - _$DesignMainStrandsComponent: function _$DesignMainStrandsComponent(t0) { - var _ = this; - _._design_main_strands$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _ModificationEdit_Object_BuiltJsonSerializable: function _ModificationEdit_Object_BuiltJsonSerializable() { }, - $DesignMainStrandsProps: function $DesignMainStrandsProps() { + _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction() { }, - _DesignMainStrandsComponent_UiComponent2_PureComponent: function _DesignMainStrandsComponent_UiComponent2_PureComponent() { + _ModificationFontSizeSet_Object_BuiltJsonSerializable: function _ModificationFontSizeSet_Object_BuiltJsonSerializable() { }, - __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps() { + _ModificationRemove_Object_BuiltJsonSerializable: function _ModificationRemove_Object_BuiltJsonSerializable() { }, - __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps() { + _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction: function _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - _$DesignSideRotationArrow: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? E._$$DesignSideRotationArrowProps$JsMap$(new L.JsBackedMap({})) : E._$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps(backingProps); + _Modifications3PrimeEdit_Object_BuiltJsonSerializable: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable() { }, - _$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return E._$$DesignSideRotationArrowProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new E._$$DesignSideRotationArrowProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_rotation_arrow$_props = backingMap; - return t1; - } + _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { }, - _$$DesignSideRotationArrowProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new E._$$DesignSideRotationArrowProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_rotation_arrow$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _Modifications5PrimeEdit_Object_BuiltJsonSerializable: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable() { }, - DesignSideRotationArrowProps: function DesignSideRotationArrowProps() { + _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { }, - DesignSideRotationArrowComponent: function DesignSideRotationArrowComponent() { + _ModificationsInternalEdit_Object_BuiltJsonSerializable: function _ModificationsInternalEdit_Object_BuiltJsonSerializable() { }, - $DesignSideRotationArrowComponentFactory_closure: function $DesignSideRotationArrowComponentFactory_closure() { + _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction() { }, - _$$DesignSideRotationArrowProps: function _$$DesignSideRotationArrowProps() { + _MouseGridPositionSideClear_Object_BuiltJsonSerializable: function _MouseGridPositionSideClear_Object_BuiltJsonSerializable() { }, - _$$DesignSideRotationArrowProps$PlainMap: function _$$DesignSideRotationArrowProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_side_rotation_arrow$_props = t0; - _.DesignSideRotationArrowProps_angle_degrees = t1; - _.DesignSideRotationArrowProps_radius = t2; - _.DesignSideRotationArrowProps_color = t3; - _.DesignSideRotationArrowProps_invert_y = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable: function _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable() { }, - _$$DesignSideRotationArrowProps$JsMap: function _$$DesignSideRotationArrowProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._design_side_rotation_arrow$_props = t0; - _.DesignSideRotationArrowProps_angle_degrees = t1; - _.DesignSideRotationArrowProps_radius = t2; - _.DesignSideRotationArrowProps_color = t3; - _.DesignSideRotationArrowProps_invert_y = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _MousePositionSideClear_Object_BuiltJsonSerializable: function _MousePositionSideClear_Object_BuiltJsonSerializable() { }, - _$DesignSideRotationArrowComponent: function _$DesignSideRotationArrowComponent(t0) { - var _ = this; - _._design_side_rotation_arrow$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _MousePositionSideUpdate_Object_BuiltJsonSerializable: function _MousePositionSideUpdate_Object_BuiltJsonSerializable() { }, - $DesignSideRotationArrowProps: function $DesignSideRotationArrowProps() { + _MouseoverDataClear_Object_BuiltJsonSerializable: function _MouseoverDataClear_Object_BuiltJsonSerializable() { }, - __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps() { + _MouseoverDataUpdate_Object_BuiltJsonSerializable: function _MouseoverDataUpdate_Object_BuiltJsonSerializable() { }, - __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps() { + _MoveHelicesToGroup_Object_BuiltJsonSerializable: function _MoveHelicesToGroup_Object_BuiltJsonSerializable() { }, - StringScannerException: function StringScannerException(t0, t1, t2) { - this.source = t0; - this._span_exception$_message = t1; - this._span = t2; + _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction: function _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction() { }, - XmlParentBase: function XmlParentBase() { + _MoveLinker_Object_BuiltJsonSerializable: function _MoveLinker_Object_BuiltJsonSerializable() { }, - XmlHasParent: function XmlHasParent() { + _MoveLinker_Object_BuiltJsonSerializable_UndoableAction: function _MoveLinker_Object_BuiltJsonSerializable_UndoableAction() { }, - XmlHasVisitor: function XmlHasVisitor() { + _NewDesignSet_Object_BuiltJsonSerializable: function _NewDesignSet_Object_BuiltJsonSerializable() { }, - XmlNodeType: function XmlNodeType(t0) { - this._node_type$_name = t0; + _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction: function _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction() { }, - evaluateIterable: function(iterable, $E) { - return !type$.List_dynamic._is(iterable) && !type$.BuiltIterable_dynamic._is(iterable) && true ? J.toList$0$ax(iterable) : iterable; - } - }, - K = { - _getTime: function(dateTime) { - if (dateTime == null) - return null; - return ((H.Primitives_getHours(dateTime) << 3 | H.Primitives_getMinutes(dateTime) >>> 3) & 255) << 8 | ((H.Primitives_getMinutes(dateTime) & 7) << 5 | H.Primitives_getSeconds(dateTime) / 2 | 0) & 255; + _Nick_Object_BuiltJsonSerializable: function _Nick_Object_BuiltJsonSerializable() { }, - _getDate: function(dateTime) { - if (dateTime == null) - return null; - return (((H.Primitives_getYear(dateTime) - 1980 & 127) << 1 | H.Primitives_getMonth(dateTime) >>> 3) & 255) << 8 | ((H.Primitives_getMonth(dateTime) & 7) << 5 | H.Primitives_getDay(dateTime)) & 255; + _Nick_Object_BuiltJsonSerializable_UndoableAction: function _Nick_Object_BuiltJsonSerializable_UndoableAction() { }, - _ZipFileData: function _ZipFileData() { - var _ = this; - _.___ZipFileData_name = $; - _.uncompressedSize = _.compressedSize = _.crc32 = _.date = _.time = 0; - _.compressedData = null; - _.compress = true; - _.comment = ""; - _.mode = _.position = 0; + _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable: function _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable() { }, - _ZipEncoderData: function _ZipEncoderData(t0, t1) { - var _ = this; - _.level = t0; - _.___ZipEncoderData_date = _.___ZipEncoderData_time = $; - _.centralDirectorySize = _.localFileSize = 0; - _.files = t1; + _OxdnaExport_Object_BuiltJsonSerializable: function _OxdnaExport_Object_BuiltJsonSerializable() { }, - ZipEncoder: function ZipEncoder() { - this.__ZipEncoder__data = $; - this._output = null; + _OxviewExport_Object_BuiltJsonSerializable: function _OxviewExport_Object_BuiltJsonSerializable() { }, - BuiltListSerializer: function BuiltListSerializer(t0) { - this.types = t0; + _OxviewShowSet_Object_BuiltJsonSerializable: function _OxviewShowSet_Object_BuiltJsonSerializable() { }, - BuiltListSerializer_serialize_closure: function BuiltListSerializer_serialize_closure(t0, t1) { - this.serializers = t0; - this.elementType = t1; + _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable() { }, - BuiltListSerializer_deserialize_closure: function BuiltListSerializer_deserialize_closure(t0, t1) { - this.serializers = t0; - this.elementType = t1; + _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { }, - BuiltMapSerializer: function BuiltMapSerializer(t0) { - this.types = t0; + _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable() { }, - DurationSerializer: function DurationSerializer(t0) { - this.types = t0; + _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - NumSerializer: function NumSerializer(t0) { - this.types = t0; + _PotentialCrossoverCreate_Object_BuiltJsonSerializable: function _PotentialCrossoverCreate_Object_BuiltJsonSerializable() { }, - RegExpSerializer: function RegExpSerializer(t0) { - this.types = t0; + _PotentialCrossoverMove_Object_BuiltJsonSerializable: function _PotentialCrossoverMove_Object_BuiltJsonSerializable() { }, - FlattenParser: function FlattenParser(t0, t1, t2) { - this.message = t0; - this.delegate = t1; - this.$ti = t2; + _PotentialCrossoverRemove_Object_BuiltJsonSerializable: function _PotentialCrossoverRemove_Object_BuiltJsonSerializable() { }, - ReactDom_render: function(component, element) { - return self.ReactDOM.render(type$.legacy_ReactElement._as(component), type$.legacy_Element._as(element)); + _PrepareToLoadDNAFile_Object_BuiltJsonSerializable: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable() { }, - markChildrenValidated: function(children) { - var t1, _i, child; - for (t1 = children.length, _i = 0; _i < children.length; children.length === t1 || (0, H.throwConcurrentModificationError)(children), ++_i) { - child = children[_i]; - if (H.boolConversionCheck(self.React.isValidElement(child))) - self._markChildValidated(child); - } + _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { }, - React: function React() { + _Redo_Object_BuiltJsonSerializable: function _Redo_Object_BuiltJsonSerializable() { }, - Ref: function Ref(t0, t1) { - this.jsRef = t0; - this.$ti = t1; + _Redo_Object_BuiltJsonSerializable_DesignChangingAction: function _Redo_Object_BuiltJsonSerializable_DesignChangingAction() { }, - JsRef: function JsRef() { + _RelaxHelixRolls_Object_BuiltJsonSerializable: function _RelaxHelixRolls_Object_BuiltJsonSerializable() { }, - ReactDomServer: function ReactDomServer() { + _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction: function _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction() { }, - PropTypes: function PropTypes() { + _RemoveDNA_Object_BuiltJsonSerializable: function _RemoveDNA_Object_BuiltJsonSerializable() { }, - ReactClass: function ReactClass() { + _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction: function _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction() { }, - ReactClassConfig: function ReactClassConfig() { + _ReplaceStrands_Object_BuiltJsonSerializable: function _ReplaceStrands_Object_BuiltJsonSerializable() { }, - ReactElementStore: function ReactElementStore() { + _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction: function _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction() { }, - ReactElement: function ReactElement() { + _ResetLocalStorage_Object_BuiltJsonSerializable: function _ResetLocalStorage_Object_BuiltJsonSerializable() { }, - ReactPortal: function ReactPortal() { + _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable: function _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable() { }, - ReactComponent: function ReactComponent() { + _SaveDNAFile_Object_BuiltJsonSerializable: function _SaveDNAFile_Object_BuiltJsonSerializable() { }, - InteropContextValue: function InteropContextValue() { + _ScaffoldSet_Object_BuiltJsonSerializable: function _ScaffoldSet_Object_BuiltJsonSerializable() { }, - ReactContext: function ReactContext() { + _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction: function _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction() { }, - InteropProps: function InteropProps() { + _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable() { }, - JsError: function JsError() { + _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { }, - ReactDartInteropStatics: function ReactDartInteropStatics() { + _Select_Object_BuiltJsonSerializable: function _Select_Object_BuiltJsonSerializable() { }, - ComponentStatics2: function ComponentStatics2(t0, t1, t2) { - this.componentFactory = t0; - this.instanceForStaticMethods = t1; - this.bridgeFactory = t2; + _SelectAll_Object_BuiltJsonSerializable: function _SelectAll_Object_BuiltJsonSerializable() { }, - JsComponentConfig: function JsComponentConfig() { + _SelectAllSelectable_Object_BuiltJsonSerializable: function _SelectAllSelectable_Object_BuiltJsonSerializable() { }, - JsComponentConfig2: function JsComponentConfig2() { + _SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable: function _SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable() { }, - ReactErrorInfo: function ReactErrorInfo() { + _SelectModeToggle_Object_BuiltJsonSerializable: function _SelectModeToggle_Object_BuiltJsonSerializable() { }, - ReactDOM: function ReactDOM() { + _SelectModesAdd_Object_BuiltJsonSerializable: function _SelectModesAdd_Object_BuiltJsonSerializable() { }, - json_encode: function(obj, suppress_indent) { - var t1; - if (obj == null) - return null; - t1 = type$.dynamic; - return K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), suppress_indent).convert$1(obj.to_json_serializable$1$suppress_indent(suppress_indent)); + _SelectModesSet_Object_BuiltJsonSerializable: function _SelectModesSet_Object_BuiltJsonSerializable() { }, - SuppressableIndentEncoder$: function(replacer, suppress) { - return new K.SuppressableIndentEncoder(replacer, null, replacer.get$default_encode()); + _SelectOrToggleItems_Object_BuiltJsonSerializable: function _SelectOrToggleItems_Object_BuiltJsonSerializable() { }, - JSONSerializable: function JSONSerializable() { + _SelectionBoxCreate_Object_BuiltJsonSerializable: function _SelectionBoxCreate_Object_BuiltJsonSerializable() { }, - NoIndent: function NoIndent(t0) { - this.value = t0; + _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable: function _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable() { }, - SuppressableIndentEncoder: function SuppressableIndentEncoder(t0, t1, t2) { - this.replacer = t0; - this.indent = t1; - this._toEncodable = t2; + _SelectionBoxRemove_Object_BuiltJsonSerializable: function _SelectionBoxRemove_Object_BuiltJsonSerializable() { }, - Replacer: function Replacer(t0, t1) { - this.unique_id = 0; - this.replacement_map = t0; - this.encoder_no_indent = t1; + _SelectionBoxSizeChange_Object_BuiltJsonSerializable: function _SelectionBoxSizeChange_Object_BuiltJsonSerializable() { }, - load_file_middleware: function(store, action, next) { - var t1, design_view; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.PrepareToLoadDNAFile && !action.unit_testing) { - store.dispatch$1(new U._$LoadingDialogShow()); - P.Future_Future$delayed(C.Duration_50000, new K.load_file_middleware_closure(store, action), type$.dynamic); - } else if (action instanceof U.LoadDNAFile && !action.unit_testing) { - next.call$1(action); - document.title = action.filename; - t1 = $.app; - t1 = t1 == null ? null : t1.view; - design_view = t1 == null ? null : t1.design_view; - if (design_view != null) - design_view.render$1(0, store.get$state(store)); - if (store.get$state(store).ui_state.storables.autofit && store.get$state(store).design != null) - self.fit_and_center(); - store.dispatch$1(new U._$LoadingDialogHide()); - D.set_selectables_css_style_rules(store.get$state(store).design, store.get$state(store).ui_state.storables.edit_modes, store.get$state(store).ui_state.storables.select_mode_state.modes); - } else - next.call$1(action); + _SelectionRopeAddPoint_Object_BuiltJsonSerializable: function _SelectionRopeAddPoint_Object_BuiltJsonSerializable() { }, - load_file_middleware_closure: function load_file_middleware_closure(t0, t1) { - this.store = t0; - this.action = t1; + _SelectionRopeCreate_Object_BuiltJsonSerializable: function _SelectionRopeCreate_Object_BuiltJsonSerializable() { }, - ui_state_local_reducer: function(ui_state, action) { - return ui_state.rebuild$1(new K.ui_state_local_reducer_closure(ui_state, action)); + _SelectionRopeMouseMove_Object_BuiltJsonSerializable: function _SelectionRopeMouseMove_Object_BuiltJsonSerializable() { }, - helix_change_apply_to_all_reducer: function(helix_change_apply_to_all, action) { - if (action instanceof U.HelixMajorTickDistanceChange || action instanceof U.HelixMajorTicksChange || action instanceof U.HelixOffsetChange || action instanceof U.HelixMajorTickPeriodicDistancesChange) - return false; - else if (action instanceof U.HelixMajorTickDistanceChangeAll || action instanceof U.HelixMajorTicksChangeAll || action instanceof U.HelixOffsetChangeAll || action instanceof U.HelixMajorTickPeriodicDistancesChangeAll) - return true; - else - return helix_change_apply_to_all; + _SelectionRopeRemove_Object_BuiltJsonSerializable: function _SelectionRopeRemove_Object_BuiltJsonSerializable() { }, - potential_crossover_create_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_PotentialCrossoverCreate._as(action); - return true; + _SelectionsAdjustMainView_Object_BuiltJsonSerializable: function _SelectionsAdjustMainView_Object_BuiltJsonSerializable() { }, - potential_crossover_remove_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_PotentialCrossoverRemove._as(action); - return false; + _SelectionsClear_Object_BuiltJsonSerializable: function _SelectionsClear_Object_BuiltJsonSerializable() { }, - dna_ends_move_start_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_DNAEndsMoveStart._as(action); - return true; + _SetAppUIStateStorable_Object_BuiltJsonSerializable: function _SetAppUIStateStorable_Object_BuiltJsonSerializable() { }, - dna_ends_move_stop_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_DNAEndsMoveStop._as(action); - return false; + _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable: function _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable() { }, - dna_extensions_move_start_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_DNAExtensionsMoveStart._as(action); - return true; + _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable() { }, - dna_extensions_move_stop_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_DNAExtensionsMoveStop._as(action); - return false; + _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable() { }, - slice_bar_move_start_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_SliceBarMoveStart._as(action); - return true; + _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable: function _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable() { }, - slice_bar_move_stop_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_SliceBarMoveStop._as(action); - return false; + _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable: function _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable() { }, - helix_group_move_start_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_HelixGroupMoveStart._as(action); - return true; + _SetModificationDisplayConnector_Object_BuiltJsonSerializable: function _SetModificationDisplayConnector_Object_BuiltJsonSerializable() { }, - helix_group_move_stop_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_HelixGroupMoveStop._as(action); - return false; + _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable: function _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable() { }, - show_dna_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowDNASet._as(action).show; + _ShowAxisArrowsSet_Object_BuiltJsonSerializable: function _ShowAxisArrowsSet_Object_BuiltJsonSerializable() { }, - load_dialog_show_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_LoadingDialogShow._as(action); - return true; + _ShowBasePairLinesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesSet_Object_BuiltJsonSerializable() { }, - load_dialog_hide_app_ui_state_reducer: function(_, action) { - H._asBoolS(_); - type$.legacy_LoadingDialogHide._as(action); - return false; + _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable() { }, - show_strand_names_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowStrandNamesSet._as(action).show; + _ShowDNASet_Object_BuiltJsonSerializable: function _ShowDNASet_Object_BuiltJsonSerializable() { }, - show_strand_labels_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowStrandLabelsSet._as(action).show; + _ShowDomainLabelsSet_Object_BuiltJsonSerializable: function _ShowDomainLabelsSet_Object_BuiltJsonSerializable() { }, - show_domain_names_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowDomainNamesSet._as(action).show; + _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable: function _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable() { }, - show_domain_labels_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowDomainLabelsSet._as(action).show; + _ShowDomainNamesSet_Object_BuiltJsonSerializable: function _ShowDomainNamesSet_Object_BuiltJsonSerializable() { }, - show_modifications_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowModificationsSet._as(action).show; + _ShowEditMenuToggle_Object_BuiltJsonSerializable: function _ShowEditMenuToggle_Object_BuiltJsonSerializable() { }, - modification_display_connector_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetModificationDisplayConnector._as(action).show; + _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable: function _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable() { }, - modification_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_ModificationFontSizeSet._as(action).font_size; + _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable() { }, - zoom_speed_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_ZoomSpeedSet._as(action).speed; + _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable() { }, - strand_name_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_StrandNameFontSizeSet._as(action).font_size; + _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable: function _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable() { }, - domain_name_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_DomainNameFontSizeSet._as(action).font_size; + _ShowMismatchesSet_Object_BuiltJsonSerializable: function _ShowMismatchesSet_Object_BuiltJsonSerializable() { }, - strand_label_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_StrandLabelFontSizeSet._as(action).font_size; + _ShowModificationsSet_Object_BuiltJsonSerializable: function _ShowModificationsSet_Object_BuiltJsonSerializable() { }, - domain_label_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_DomainLabelFontSizeSet._as(action).font_size; + _ShowMouseoverDataSet_Object_BuiltJsonSerializable: function _ShowMouseoverDataSet_Object_BuiltJsonSerializable() { }, - major_tick_offset_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_MajorTickOffsetFontSizeSet._as(action).font_size; + _ShowMouseoverRectSet_Object_BuiltJsonSerializable: function _ShowMouseoverRectSet_Object_BuiltJsonSerializable() { }, - major_tick_width_font_size_reducer: function(_, action) { - H._asNumS(_); - return type$.legacy_MajorTickWidthFontSizeSet._as(action).font_size; + _ShowMouseoverRectToggle_Object_BuiltJsonSerializable: function _ShowMouseoverRectToggle_Object_BuiltJsonSerializable() { }, - show_mismatches_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowMismatchesSet._as(action).show; + _ShowSliceBarSet_Object_BuiltJsonSerializable: function _ShowSliceBarSet_Object_BuiltJsonSerializable() { }, - show_domain_name_mismatches_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowDomainNameMismatchesSet._as(action).show_domain_name_mismatches; + _ShowStrandLabelsSet_Object_BuiltJsonSerializable: function _ShowStrandLabelsSet_Object_BuiltJsonSerializable() { }, - show_unpaired_insertion_deletions_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowUnpairedInsertionDeletionsSet._as(action).show_unpaired_insertion_deletions; + _ShowStrandNamesSet_Object_BuiltJsonSerializable: function _ShowStrandNamesSet_Object_BuiltJsonSerializable() { }, - invert_y_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_InvertYSet._as(action).invert_y; + _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable: function _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable() { }, - dynamic_helix_update_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DynamicHelixUpdateSet._as(action).dynamically_update_helices; + _SkipUndo_Object_BuiltJsonSerializable: function _SkipUndo_Object_BuiltJsonSerializable() { }, - warn_on_exit_if_unsaved_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_WarnOnExitIfUnsavedSet._as(action).warn; + _SliceBarMoveStart_Object_BuiltJsonSerializable: function _SliceBarMoveStart_Object_BuiltJsonSerializable() { }, - show_helix_circles_main_view_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowHelixCirclesMainViewSet._as(action).show_helix_circles_main_view; + _SliceBarMoveStop_Object_BuiltJsonSerializable: function _SliceBarMoveStop_Object_BuiltJsonSerializable() { }, - show_helix_components_main_view_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowHelixComponentsMainViewSet._as(action).show_helix_components; + _SliceBarOffsetSet_Object_BuiltJsonSerializable: function _SliceBarOffsetSet_Object_BuiltJsonSerializable() { }, - show_edit_mode_menu_reducer: function(previous_show, action) { - H._asBoolS(previous_show); - type$.legacy_ShowEditMenuToggle._as(action); - return !H.boolConversionCheck(previous_show); + _StrandCreateAdjustOffset_Object_BuiltJsonSerializable: function _StrandCreateAdjustOffset_Object_BuiltJsonSerializable() { }, - show_grid_coordinates_side_view_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowGridCoordinatesSideViewSet._as(action).show_grid_coordinates_side_view; + _StrandCreateCommit_Object_BuiltJsonSerializable: function _StrandCreateCommit_Object_BuiltJsonSerializable() { }, - show_helices_axis_arrows_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowAxisArrowsSet._as(action).show_helices_axis_arrows; + _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - show_loopout_extension_length_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowLoopoutExtensionLengthSet._as(action).show_length; + _StrandCreateStart_Object_BuiltJsonSerializable: function _StrandCreateStart_Object_BuiltJsonSerializable() { }, - show_slice_bar_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowSliceBarSet._as(action).show; + _StrandCreateStop_Object_BuiltJsonSerializable: function _StrandCreateStop_Object_BuiltJsonSerializable() { }, - slice_bar_offset_set_reducer: function(_, action) { - H._asIntS(_); - return type$.legacy_SliceBarOffsetSet._as(action).offset; + _StrandLabelFontSizeSet_Object_BuiltJsonSerializable: function _StrandLabelFontSizeSet_Object_BuiltJsonSerializable() { }, - disable_png_caching_dna_sequences_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DisablePngCachingDnaSequencesSet._as(action).disable_png_caching_dna_sequences; + _StrandLabelSet_Object_BuiltJsonSerializable: function _StrandLabelSet_Object_BuiltJsonSerializable() { }, - retain_strand_color_on_selection_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_RetainStrandColorOnSelectionSet._as(action).retain_strand_color_on_selection; + _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { }, - display_reverse_DNA_right_side_up_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DisplayReverseDNARightSideUpSet._as(action).display_reverse_DNA_right_side_up; + _StrandNameFontSizeSet_Object_BuiltJsonSerializable: function _StrandNameFontSizeSet_Object_BuiltJsonSerializable() { }, - display_base_offsets_of_major_ticks_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DisplayMajorTicksOffsetsSet._as(action).show; + _StrandNameSet_Object_BuiltJsonSerializable: function _StrandNameSet_Object_BuiltJsonSerializable() { }, - display_base_offsets_of_major_ticks_only_first_helix_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(action).show; + _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { }, - display_major_tick_widths_all_helices_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetDisplayMajorTickWidthsAllHelices._as(action).show; + _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable() { }, - base_pair_type_idx_reducer: function(set_base_pair_display, action) { - var t1, t2; - type$.legacy_BasePairDisplayType._as(set_base_pair_display); - type$.legacy_BasePairTypeSet._as(action); - t1 = $.$get$BasePairDisplayType_types(); - t2 = action.selected_idx; - return J.$index$asx(t1._list, t2); + _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable() { }, - show_base_pair_lines_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowBasePairLinesSet._as(action).show_base_pair_lines; + _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable() { }, - show_base_pair_lines_with_mismatches_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowBasePairLinesWithMismatchesSet._as(action).show_base_pair_lines_with_mismatches; + _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction() { }, - export_svg_text_separately_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ExportSvgTextSeparatelySet._as(action).export_svg_text_separately; + _StrandPasteKeepColorSet_Object_BuiltJsonSerializable: function _StrandPasteKeepColorSet_Object_BuiltJsonSerializable() { }, - ox_export_only_selected_strands_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_OxExportOnlySelectedStrandsSet._as(action).only_selected; + _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable: function _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable() { }, - display_major_tick_widths_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetDisplayMajorTickWidths._as(action).show; + _StrandsMoveCommit_Object_BuiltJsonSerializable: function _StrandsMoveCommit_Object_BuiltJsonSerializable() { }, - strand_paste_keep_color_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_StrandPasteKeepColorSet._as(action).keep; + _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { }, - center_on_load_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_AutofitSet._as(action).autofit; + _StrandsMoveStart_Object_BuiltJsonSerializable: function _StrandsMoveStart_Object_BuiltJsonSerializable() { }, - show_oxview_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_OxviewShowSet._as(action).show; + _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable: function _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable() { }, - show_mouseover_data_set_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ShowMouseoverDataSet._as(action).show; + _StrandsMoveStop_Object_BuiltJsonSerializable: function _StrandsMoveStop_Object_BuiltJsonSerializable() { }, - only_display_selected_helices_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetOnlyDisplaySelectedHelices._as(action).only_display_selected_helices; + _StrandsReflect_Object_BuiltJsonSerializable: function _StrandsReflect_Object_BuiltJsonSerializable() { }, - default_crossover_type_scaffold_for_setting_helix_rolls_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(action).scaffold; + _SubstrandLabelSet_Object_BuiltJsonSerializable: function _SubstrandLabelSet_Object_BuiltJsonSerializable() { }, - default_crossover_type_staple_for_setting_helix_rolls_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(action).staple; + _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { }, - dna_assign_options_reducer: function(_, action) { - type$.legacy_DNAAssignOptions._as(_); - return type$.legacy_AssignDNA._as(action).dna_assign_options; + _SubstrandNameSet_Object_BuiltJsonSerializable: function _SubstrandNameSet_Object_BuiltJsonSerializable() { }, - local_storage_design_choice_reducer: function(_, action) { - var t1; - type$.legacy_LocalStorageDesignChoice._as(_); - t1 = type$.legacy_LocalStorageDesignChoiceSet._as(action).choice; - return t1.period_seconds > 0 ? t1 : t1.change_period$1(1); + _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { }, - clear_helix_selection_when_loading_new_design_set_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_ClearHelixSelectionWhenLoadingNewDesignSet._as(action).clear; + _ThrottledActionFast_Object_BuiltJsonSerializable: function _ThrottledActionFast_Object_BuiltJsonSerializable() { }, - changed_since_last_save_undoable_action_reducer: function(changed_since_last_save, action) { - H._asBoolS(changed_since_last_save); - type$.legacy_UndoableAction._as(action); - return true; + _ThrottledActionNonFast_Object_BuiltJsonSerializable: function _ThrottledActionNonFast_Object_BuiltJsonSerializable() { }, - changed_since_last_save_just_saved_reducer: function(changed_since_last_save, action) { - H._asBoolS(changed_since_last_save); - type$.legacy_SaveDNAFile._as(action); - return false; + _Undo_Object_BuiltJsonSerializable: function _Undo_Object_BuiltJsonSerializable() { }, - example_designs_idx_set_reducer: function(example_designs, action) { - var t1, t2; - type$.legacy_ExampleDesigns._as(example_designs); - type$.legacy_ExampleDesignsLoad._as(action); - example_designs.toString; - t1 = type$.legacy_void_Function_legacy_ExampleDesignsBuilder._as(new K.example_designs_idx_set_reducer_closure(action)); - t2 = new K.ExampleDesignsBuilder(); - K.ExampleDesigns__initializeBuilder(t2); - t2._example_designs$_$v = example_designs; - t1.call$1(t2); - return t2.build$0(); + _Undo_Object_BuiltJsonSerializable_DesignChangingAction: function _Undo_Object_BuiltJsonSerializable_DesignChangingAction() { }, - app_ui_state_storable_global_reducer: function(storables, state, action) { - var t2, t3, t4, t5, helices_in_first_group, t1 = {}; - if (action instanceof U.SetAppUIStateStorable) { - storables = action.storables; - t2 = state.design; - t3 = t2 != null; - if (t3) { - t4 = t2.groups; - t5 = storables.displayed_group_name; - t5 = !J.containsKey$1$x(t4._map$_map, t5); - t4 = t5; - } else - t4 = false; - if (t4) - storables = storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure(state)); - t1.slice_bar_offset = 0; - if (t3) { - t3 = t2.groups; - t3 = t2.helices_in_group$1(J.get$first$ax(t3.get$keys(t3))); - helices_in_first_group = t3.get$values(t3); - if (J.get$isNotEmpty$asx(helices_in_first_group)) - t1.slice_bar_offset = E.bounded_offset_in_helices_group(storables.slice_bar_offset, helices_in_first_group); - } - return storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure0(t1)); - } - return storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure1(storables, state, action)); + _UndoRedoClear_Object_BuiltJsonSerializable: function _UndoRedoClear_Object_BuiltJsonSerializable() { }, - displayed_group_name_group_remove_reducer: function(_, state, action) { - var $name, t1, first, last; - H._asStringS(_); - type$.legacy_AppState._as(state); - $name = type$.legacy_GroupRemove._as(action).name; - t1 = state.design.groups; - first = J.get$first$ax(t1.get$keys(t1)); - last = J.get$last$ax(t1.get$keys(t1)); - return $name != first ? first : last; + _VendorFieldsRemove_Object_BuiltJsonSerializable: function _VendorFieldsRemove_Object_BuiltJsonSerializable() { }, - slice_bar_offset_show_slice_bar_set_reducer: function(offset, state, action) { - var t1; - H._asIntS(offset); - type$.legacy_AppState._as(state); - if (type$.legacy_ShowSliceBarSet._as(action).show) { - t1 = state.design.helices_in_group$1(state.ui_state.storables.displayed_group_name); - return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); - } else - return offset; + _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { }, - slice_bar_offset_group_displayed_change_reducer: function(offset, state, action) { - var t1; - H._asIntS(offset); - type$.legacy_AppState._as(state); - type$.legacy_GroupDisplayedChange._as(action); - t1 = state.design.helices_in_group$1(action.group_name); - return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable: function _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable() { }, - slice_bar_offset_group_remove_reducer: function(offset, state, action) { - var new_group_name, t1; - H._asIntS(offset); - type$.legacy_AppState._as(state); - new_group_name = K.displayed_group_name_group_remove_reducer(null, state, type$.legacy_GroupRemove._as(action)); - t1 = state.design.helices_in_group$1(new_group_name); - return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + _ZoomSpeedSet_Object_BuiltJsonSerializable: function _ZoomSpeedSet_Object_BuiltJsonSerializable() { }, - slice_bar_offset_helix_offset_change_reducer: function(offset, state, action) { - var t1; - H._asIntS(offset); - type$.legacy_AppState._as(state); - type$.legacy_HelixOffsetChange._as(action); - t1 = U.design_global_reducer(state.design, state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name); - return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + app() { + return $.__app._readField$0(); }, - slice_bar_offset_helix_offset_change_all_reducer: function(offset, state, action) { - var t1; - H._asIntS(offset); - type$.legacy_AppState._as(state); - type$.legacy_HelixOffsetChangeAll._as(action); - t1 = U.design_global_reducer(state.design, state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name); - return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); - }, - app_ui_state_storable_local_reducer: function(storables, action) { - return storables.rebuild$1(new K.app_ui_state_storable_local_reducer_closure(storables, action)); - }, - displayed_group_name_change_displayed_group_reducer: function(_, action) { - H._asStringS(_); - return type$.legacy_GroupDisplayedChange._as(action).group_name; - }, - displayed_group_name_change_name_reducer: function(displayed_group_name, action) { - H._asStringS(displayed_group_name); - type$.legacy_GroupChange._as(action); - return displayed_group_name == action.old_name ? action.new_name : displayed_group_name; + setup_undo_redo_keyboard_listeners() { + var t1 = window, + t2 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new A.setup_undo_redo_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "keydown", t2, false, type$.legacy_KeyboardEvent); }, - last_mod_5p_modification_add_reducer: function(modification, action) { - var t1; - type$.legacy_Modification5Prime._as(modification); - t1 = type$.legacy_ModificationAdd._as(action).modification; - return t1 instanceof Z.Modification5Prime ? t1 : modification; + setup_save_open_dna_file_keyboard_listeners() { + var t1 = window, + t2 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new A.setup_save_open_dna_file_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "keydown", t2, false, type$.legacy_KeyboardEvent); }, - last_mod_3p_modification_add_reducer: function(modification, action) { - var t1; - type$.legacy_Modification3Prime._as(modification); - t1 = type$.legacy_ModificationAdd._as(action).modification; - return t1 instanceof Z.Modification3Prime ? t1 : modification; + copy_selected_strands_to_clipboard_image_keyboard_listeners() { + var t1 = window, + t2 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new A.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "keydown", t2, false, type$.legacy_KeyboardEvent); }, - last_mod_int_modification_add_reducer: function(modification, action) { - var t1; - type$.legacy_ModificationInternal._as(modification); - t1 = type$.legacy_ModificationAdd._as(action).modification; - return t1 instanceof Z.ModificationInternal ? t1 : modification; - }, - load_dna_sequence_image_uri: function(_, action) { - H._asStringS(_); - return type$.legacy_LoadDnaSequenceImageUri._as(action).uri; - }, - load_dna_sequence_png_horizontal_offset: function(_, action) { - H._asNumS(_); - return type$.legacy_LoadDnaSequenceImageUri._as(action).dna_sequence_png_horizontal_offset; - }, - load_dna_sequence_png_vertical_offset: function(_, action) { - H._asNumS(_); - return type$.legacy_LoadDnaSequenceImageUri._as(action).dna_sequence_png_vertical_offset; - }, - set_export_svg_action_delayed_for_png_cache: function(_, action) { - var t1 = type$.legacy_ExportSvg; - t1._as(_); - return t1._as(type$.legacy_SetExportSvgActionDelayedForPngCache._as(action).export_svg_action_delayed_for_png_cache); - }, - set_is_zoom_above_threshold: function(_, action) { - H._asBoolS(_); - return type$.legacy_SetIsZoomAboveThreshold._as(action).is_zoom_above_threshold; - }, - side_view_mouse_grid_pos_update_reducer: function(_, action) { - type$.legacy_GridPosition._as(_); - return type$.legacy_MouseGridPositionSideUpdate._as(action).grid_position; - }, - side_view_mouse_grid_pos_clear_reducer: function(_, action) { - type$.legacy_GridPosition._as(_); - type$.legacy_MouseGridPositionSideClear._as(action); - return null; + App: function App(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.__App_store_selection_rope_F = _.__App_store_F = _.__App_view_F = $; + _.context_selection_rope = t0; + _.__App_store_selection_box_F = $; + _.context_selection_box = t1; + _.__App_store_potential_crossover_F = $; + _.context_potential_crossover = t2; + _.__App_store_extensions_move_F = $; + _.context_extensions_move = t3; + _.__App_store_dna_ends_move_F = $; + _.context_dna_ends_move = t4; + _.__App_store_helix_group_move_F = $; + _.context_helix_group_move = t5; + _.keys_pressed = t6; + _.keyboard_shortcuts_enabled = true; }, - side_view_mouse_pos_update_reducer: function(_, action) { - type$.legacy_Point_legacy_num._as(_); - return type$.legacy_MousePositionSideUpdate._as(action).svg_pos; + App_setup_warning_before_unload_closure: function App_setup_warning_before_unload_closure(t0) { + this.$this = t0; }, - side_view_mouse_pos_clear_reducer: function(_, action) { - type$.legacy_Point_legacy_num._as(_); - type$.legacy_MousePositionSideClear._as(action); - return null; + App_setup_save_design_to_localStorage_before_unload_closure: function App_setup_save_design_to_localStorage_before_unload_closure(t0) { + this.$this = t0; }, - color_picker_strand_show_reducer: function(_, action) { - type$.legacy_Strand._as(_); - return type$.legacy_StrandOrSubstrandColorPickerShow._as(action).strand; + App_setup_view_closure: function App_setup_view_closure(t0) { + this.$this = t0; }, - color_picker_strand_hide_reducer: function(_, action) { - type$.legacy_Strand._as(_); - type$.legacy_StrandOrSubstrandColorPickerHide._as(action); - return null; + setup_undo_redo_keyboard_listeners_closure: function setup_undo_redo_keyboard_listeners_closure() { }, - color_picker_substrand_show_reducer: function(_, action) { - type$.legacy_Substrand._as(_); - return type$.legacy_StrandOrSubstrandColorPickerShow._as(action).substrand; + setup_save_open_dna_file_keyboard_listeners_closure: function setup_save_open_dna_file_keyboard_listeners_closure() { }, - color_picker_substrand_hide_reducer: function(_, action) { - type$.legacy_Substrand._as(_); - type$.legacy_StrandOrSubstrandColorPickerHide._as(action); - return null; + copy_selected_strands_to_clipboard_image_keyboard_listeners_closure: function copy_selected_strands_to_clipboard_image_keyboard_listeners_closure() { }, - ui_state_global_reducer: function(ui_state, state, action) { - return ui_state.rebuild$1(new K.ui_state_global_reducer_closure(ui_state, state, action)); + strand_bounds_status: function strand_bounds_status(t0) { + this._core$_name = t0; }, - original_helix_offsets_reducer: function(original_helix_offsets, state, action) { - var t1, t2, helix_offsets, t3, t4, t5, t6, t7, t8, t9, t10, helix; - if (action instanceof U.StrandsMoveStartSelectedStrands || action instanceof U.StrandCreateStart) { - t1 = original_helix_offsets._map$_map; - t2 = H._instanceType(original_helix_offsets); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - helix_offsets = new S.CopyOnWriteMap(original_helix_offsets._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = state.design.helices, t3 = J.get$iterator$ax(t1.get$keys(t1)), t4 = type$.JSArray_legacy_int, t5 = type$.legacy_int, t6 = type$._BuiltList_legacy_int, t7 = t2._rest[0], t2 = t2._rest[1]; t3.moveNext$0();) { - t8 = t3.get$current(t3); - t9 = t1._map$_map; - t10 = J.getInterceptor$asx(t9); - helix = t10.$index(t9, t8); - t8 = t10.$index(t9, t8).idx; - t9 = new D._BuiltList(P.List_List$from(H.setRuntimeTypeInfo([helix.min_offset, helix.max_offset], t4), false, t5), t6); - t9._maybeCheckForNull$0(); - t7._as(t8); - t2._as(t9); - helix_offsets._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helix_offsets._copy_on_write_map$_map, t8, t9); - } - return A.BuiltMap_BuiltMap$of(helix_offsets, t5, type$.legacy_BuiltList_legacy_int); + _$valueOf2($name) { + switch ($name) { + case "scadnano_file": + return B.DNAFileType_scadnano_file; + case "cadnano_file": + return B.DNAFileType_cadnano_file; + default: + throw A.wrapException(A.ArgumentError$($name, null)); } - return original_helix_offsets; - }, - selection_box_intersection_reducer: function(_, action) { - H._asBoolS(_); - return type$.legacy_SelectionBoxIntersectionRuleSet._as(action).intersect; - }, - ui_state_local_reducer_closure: function ui_state_local_reducer_closure(t0, t1) { - this.ui_state = t0; - this.action = t1; - }, - example_designs_idx_set_reducer_closure: function example_designs_idx_set_reducer_closure(t0) { - this.action = t0; - }, - app_ui_state_storable_global_reducer_closure: function app_ui_state_storable_global_reducer_closure(t0) { - this.state = t0; }, - app_ui_state_storable_global_reducer_closure0: function app_ui_state_storable_global_reducer_closure0(t0) { - this._box_0 = t0; - }, - app_ui_state_storable_global_reducer_closure1: function app_ui_state_storable_global_reducer_closure1(t0, t1, t2) { - this.storables = t0; - this.state = t1; - this.action = t2; - }, - app_ui_state_storable_local_reducer_closure: function app_ui_state_storable_local_reducer_closure(t0, t1) { - this.storables = t0; - this.action = t1; - }, - ui_state_global_reducer_closure: function ui_state_global_reducer_closure(t0, t1, t2) { - this.ui_state = t0; - this.state = t1; - this.action = t2; + DNAFileType: function DNAFileType(t0) { + this.name = t0; }, - standard_serializers_closure: function standard_serializers_closure() { + _$DNAFileTypeSerializer: function _$DNAFileTypeSerializer() { }, - BuiltJsonSerializable: function BuiltJsonSerializable() { + DNASequencePredefined_names() { + var t2, + t1 = A._setArrayType([], type$.JSArray_String); + for (t2 = $.$get$_$values0()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) + t1.push(t2.get$current(t2).name); + return A.BuiltList_BuiltList$of(t1, type$.String); }, - PointSerializer: function PointSerializer(t0, t1) { - this.types = t0; - this.$ti = t1; + _$valueOf0($name) { + switch ($name) { + case "M13p7249": + return B.DNASequencePredefined_M13p7249; + case "M13p7560": + return B.DNASequencePredefined_M13p7560; + case "M13p8064": + return B.DNASequencePredefined_M13p8064; + case "M13p8634": + return B.DNASequencePredefined_M13p8634; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - ColorSerializer: function ColorSerializer(t0) { - this.types = t0; + DNASequencePredefined: function DNASequencePredefined(t0) { + this.name = t0; }, - _$serializers_closure: function _$serializers_closure() { + _$DNASequencePredefinedSerializer: function _$DNASequencePredefinedSerializer() { }, - _$serializers_closure0: function _$serializers_closure0() { + BuiltMapValues_map_values(_this, f, $K, Vin, Vout) { + return _this.map$2$1(0, new A.BuiltMapValues_map_values_closure(f, $K, Vin, Vout), $K, Vout); }, - _$serializers_closure1: function _$serializers_closure1() { + MinMaxOfIterable_get_min(_this, $C) { + var min_val, val, + t1 = J.getInterceptor$asx(_this); + if (t1.get$isEmpty(_this)) + throw A.wrapException(A.ArgumentError$("cannot call min on an empty iterable", null)); + for (t1 = t1.get$iterator(_this), min_val = null; t1.moveNext$0();) { + val = t1.get$current(t1); + if (min_val == null || J.compareTo$1$ns(min_val, val) > 0) + min_val = val; + } + min_val.toString; + return min_val; }, - _$serializers_closure2: function _$serializers_closure2() { + MinMaxOfIterable_get_max(_this, $C) { + var max_val, val, + t1 = J.getInterceptor$asx(_this); + if (t1.get$isEmpty(_this)) + throw A.wrapException(A.ArgumentError$("cannot call max on an empty iterable", null)); + for (t1 = t1.get$iterator(_this), max_val = null; t1.moveNext$0();) { + val = t1.get$current(t1); + if (max_val == null || J.compareTo$1$ns(max_val, val) < 0) + max_val = val; + } + max_val.toString; + return max_val; }, - _$serializers_closure3: function _$serializers_closure3() { + BuiltMapValues_map_values_closure: function BuiltMapValues_map_values_closure(t0, t1, t2, t3) { + var _ = this; + _.f = t0; + _.K = t1; + _.Vin = t2; + _.Vout = t3; }, - _$serializers_closure4: function _$serializers_closure4() { + json_encode(obj, suppress_indent) { + var t1; + if (obj == null) + return "null"; + t1 = type$.dynamic; + return A.SuppressableIndentEncoder$(new A.Replacer(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.JsonEncoder(null, null)), suppress_indent).convert$1(obj.to_json_serializable$1$suppress_indent(suppress_indent)); }, - _$serializers_closure5: function _$serializers_closure5() { + SuppressableIndentEncoder$(replacer, suppress) { + return new A.SuppressableIndentEncoder(replacer, null, replacer.get$default_encode()); }, - _$serializers_closure6: function _$serializers_closure6() { + JSONSerializable: function JSONSerializable() { }, - _$serializers_closure7: function _$serializers_closure7() { + NoIndent: function NoIndent(t0) { + this.value = t0; }, - _$serializers_closure8: function _$serializers_closure8() { + SuppressableIndentEncoder: function SuppressableIndentEncoder(t0, t1, t2) { + this.replacer = t0; + this.indent = t1; + this._toEncodable = t2; }, - _$serializers_closure9: function _$serializers_closure9() { + Replacer: function Replacer(t0, t1) { + this.unique_id = 0; + this.replacement_map = t0; + this.encoder_no_indent = t1; }, - _$serializers_closure10: function _$serializers_closure10() { + check_reflect_strands_legal_middleware(store, action, next) { + var altered_design, e, msg, t1, strands_to_reflect, design, group_name, t2, t3, reflected_strands, exception, new_strands, t4, idx_mirrored_strand, t5, idx; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.StrandsReflect && action.strands._list.length !== 0) { + t1 = action.strands; + strands_to_reflect = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + design = store.get$state(store).get$design(); + t1 = design.group_names_of_strands$1(strands_to_reflect)._set; + if (t1.get$length(t1) !== 1) { + t1 = t1.join$1(0, ", "); + B.Window_methods.alert$1(window, "Cannot reflect selected strands unless they are all on the same helix group.\n3 These strands occupy the following helix groups: " + t1); + return; + } + group_name = t1.get$first(t1); + t1 = design.groups._map$_map.$index(0, group_name); + t1.toString; + t2 = action.horizontal; + t3 = action.reverse_polarity; + reflected_strands = t2 ? A.horizontal_reflection_of_strands(design, strands_to_reflect, t3) : A.vertical_reflection_of_strands(t1, strands_to_reflect, t3); + altered_design = design.remove_strands$1(strands_to_reflect); + altered_design = altered_design.add_strands$1(reflected_strands); + try { + altered_design.check_strands_overlap_legally$0(); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.IllegalDesignError._is(t1)) { + e = t1; + t1 = t2 ? "horizontally" : "vertically"; + msg = "Cannot mirror these strands " + t1 + "\nStrands would overlap each other:\n\n" + e.get$cause(); + B.Window_methods.alert$1(window, msg); + return; + } else + throw exception; + } + t1 = type$.int; + t2 = type$.Strand; + new_strands = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t4 = design.strands, idx_mirrored_strand = 0; t3.moveNext$0();) { + t5 = t3.get$current(t3); + t4.toString; + idx = B.JSArray_methods.indexOf$2(t4._list, t4.$ti._precomputed1._as(t5), 0); + if (!(idx_mirrored_strand < reflected_strands.length)) + return A.ioore(reflected_strands, idx_mirrored_strand); + new_strands.$indexSet(0, idx, reflected_strands[idx_mirrored_strand]); + ++idx_mirrored_strand; + } + store.dispatch$1(A._$ReplaceStrands$_(A.BuiltMap_BuiltMap$of(new_strands, t1, t2))); + } else + next.call$1(action); }, - _$serializers_closure11: function _$serializers_closure11() { - }, - _$serializers_closure12: function _$serializers_closure12() { - }, - _$serializers_closure13: function _$serializers_closure13() { - }, - _$serializers_closure14: function _$serializers_closure14() { - }, - _$serializers_closure15: function _$serializers_closure15() { - }, - _$serializers_closure16: function _$serializers_closure16() { - }, - _$serializers_closure17: function _$serializers_closure17() { - }, - _$serializers_closure18: function _$serializers_closure18() { - }, - _$serializers_closure19: function _$serializers_closure19() { - }, - _$serializers_closure20: function _$serializers_closure20() { - }, - _$serializers_closure21: function _$serializers_closure21() { - }, - _$serializers_closure22: function _$serializers_closure22() { - }, - _$serializers_closure23: function _$serializers_closure23() { - }, - _$serializers_closure24: function _$serializers_closure24() { - }, - _$serializers_closure25: function _$serializers_closure25() { - }, - _$serializers_closure26: function _$serializers_closure26() { - }, - _$serializers_closure27: function _$serializers_closure27() { + horizontal_reflection_of_strands(design, strands_to_mirror, reverse_polarity) { + var t3, t4, t5, min_offset, max_offset, mirrored_strands, t6, t7, _box_0, t8, t9, i, domain, t10, reflected_deletions, reflected_insertions, t11, t12, is_first, is_last, mirrored_strand, strand, + t1 = type$.JSArray_int, + t2 = A._setArrayType([], t1); + for (t3 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) + t2.push(t4.__interceptors$_current.start); + } + t3 = type$.int; + min_offset = A.MinMaxOfIterable_get_min(t2, t3); + t1 = A._setArrayType([], t1); + for (t2 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) + t1.push(t4.__interceptors$_current.end); + } + max_offset = A.MinMaxOfIterable_get_max(t1, t3); + mirrored_strands = A._setArrayType([], type$.JSArray_Strand); + for (t1 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list), t2 = type$.nullable_void_Function_StrandBuilder, t3 = type$.void_Function_StrandBuilder, t4 = type$.nullable_void_Function_DomainBuilder, t5 = type$.void_Function_DomainBuilder, t6 = !reverse_polarity, t7 = type$.Substrand; t1.moveNext$0();) { + _box_0 = {}; + t8 = t1.get$current(t1); + t9 = t8.substrands; + _box_0.mirrored_substrands = new A.CopyOnWriteList(true, t9._list, A._instanceType(t9)._eval$1("CopyOnWriteList<1>")); + i = 0; + while (true) { + t9 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t9 !== "number") + return A.iae(t9); + if (!(i < t9)) + break; + domain = J.$index$asx(_box_0.mirrored_substrands, i); + if (domain instanceof A.Domain) { + t9 = domain.start; + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof min_offset !== "number") + return A.iae(min_offset); + t10 = domain.end; + reflected_deletions = A.reflect_deletions(domain, min_offset, max_offset); + reflected_insertions = A.reflect_insertions(domain, min_offset, max_offset); + t11 = i === 0; + if (!(t11 && t6)) { + t12 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t12 !== "number") + return t12.$sub(); + is_first = i === t12 - 1 && reverse_polarity; + } else + is_first = true; + if (!(t11 && reverse_polarity)) { + t11 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t11 !== "number") + return t11.$sub(); + is_last = i === t11 - 1 && t6; + } else + is_last = true; + t11 = _box_0.mirrored_substrands; + t9 = t5._as(new A.horizontal_reflection_of_strands_closure(max_offset - t10 + min_offset, max_offset - t9 + min_offset, reverse_polarity, domain, reflected_deletions, reflected_insertions, is_first, is_last)); + t10 = new A.DomainBuilder(); + t10._domain$_$v = domain; + t4._as(t9).call$1(t10); + J.$indexSet$ax(t11, i, t10._domain$_build$0()); + } + ++i; + } + if (reverse_polarity) + _box_0.mirrored_substrands = A.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t7); + t9 = t3._as(new A.horizontal_reflection_of_strands_closure0(_box_0)); + t10 = new A.StrandBuilder(); + t10._strand$_$v = t8; + t2._as(t9).call$1(t10); + mirrored_strand = t10._strand$_build$0(); + strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); + if (mirrored_strand.substrands._list.length === 1) { + t8 = mirrored_strand.__first_domain; + if (t8 == null) + t8 = mirrored_strand.__first_domain = A.Strand.prototype.get$first_domain.call(mirrored_strand); + t8.toString; + } + mirrored_strand.check_two_consecutive_loopouts$0(); + mirrored_strand.check_loopouts_length$0(); + mirrored_strand.check_at_least_one_domain$0(); + mirrored_strand.check_only_at_ends$0(); + mirrored_strand.check_not_adjacent_to_loopout$0(); + B.JSArray_methods.add$1(mirrored_strands, strand); + } + return mirrored_strands; }, - _$serializers_closure28: function _$serializers_closure28() { + reflect_deletions(domain, min_offset, max_offset) { + var t1, t2, + reflected_deletions = A._setArrayType([], type$.JSArray_int); + for (t1 = domain.deletions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + if (typeof min_offset !== "number") + return A.iae(min_offset); + B.JSArray_methods.add$1(reflected_deletions, max_offset - t2 + min_offset); + } + B.JSArray_methods.sort$0(reflected_deletions); + return reflected_deletions; }, - _$serializers_closure29: function _$serializers_closure29() { + reflect_insertions(domain, min_offset, max_offset) { + var t1, t2, t3, t4, t5, t6, + reflected_insertions = A._setArrayType([], type$.JSArray_Insertion); + for (t1 = domain.insertions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.nullable_void_Function_InsertionBuilder, t3 = type$.void_Function_InsertionBuilder; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.offset; + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof min_offset !== "number") + return A.iae(min_offset); + t5 = t3._as(new A.reflect_insertions_closure(max_offset - t5 + min_offset)); + t6 = new A.InsertionBuilder(); + t6._domain$_$v = t4; + t2._as(t5).call$1(t6); + B.JSArray_methods.add$1(reflected_insertions, t6._domain$_build$0()); + } + B.JSArray_methods.sort$1(reflected_insertions, new A.reflect_insertions_closure0()); + return reflected_insertions; }, - _$serializers_closure30: function _$serializers_closure30() { + vertical_reflection_of_strands(group, strands_to_reflect, reverse_polarity) { + var t2, t3, t4, min_order, max_order, mirrored_strands, t5, t6, t7, _box_0, t8, t9, i, domain, helix_idx, reflected_order, reflected_helix_idx, t10, is_first, is_last, t11, mirrored_strand, strand, + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t2 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + t1.add$1(0, t3.__interceptors$_current.helix); + } + t2 = A._setArrayType([], type$.JSArray_int); + for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1); t1.moveNext$0();) { + t3 = t1._collection$_current; + t4 = group.__helices_view_order_inverse; + if (t4 == null) { + t4 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t4); + } + t3 = t4._map$_map.$index(0, t3); + t3.toString; + t2.push(t3); + } + B.JSArray_methods.sort$0(t2); + min_order = B.JSArray_methods.get$first(t2); + max_order = B.JSArray_methods.get$last(t2); + mirrored_strands = A._setArrayType([], type$.JSArray_Strand); + for (t1 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t2 = type$.nullable_void_Function_StrandBuilder, t3 = type$.void_Function_StrandBuilder, t4 = !reverse_polarity, t5 = type$.nullable_void_Function_DomainBuilder, t6 = type$.void_Function_DomainBuilder, t7 = type$.Substrand; t1.moveNext$0();) { + _box_0 = {}; + t8 = t1.get$current(t1); + t9 = t8.substrands; + _box_0.mirrored_substrands = new A.CopyOnWriteList(true, t9._list, A._instanceType(t9)._eval$1("CopyOnWriteList<1>")); + i = 0; + while (true) { + t9 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t9 !== "number") + return A.iae(t9); + if (!(i < t9)) + break; + domain = J.$index$asx(_box_0.mirrored_substrands, i); + if (domain instanceof A.Domain) { + helix_idx = domain.helix; + t9 = group.__helices_view_order_inverse; + if (t9 == null) { + t9 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t9); + } + t9 = t9._map$_map.$index(0, helix_idx); + t9.toString; + if (typeof max_order !== "number") + return max_order.$sub(); + if (typeof min_order !== "number") + return A.iae(min_order); + reflected_order = max_order - t9 + min_order; + t9 = group.helices_view_order._list; + if (!(reflected_order >= 0 && reflected_order < t9.length)) + return A.ioore(t9, reflected_order); + reflected_helix_idx = t9[reflected_order]; + t9 = i === 0; + if (!(t9 && reverse_polarity)) { + t10 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t10 !== "number") + return t10.$sub(); + is_first = i === t10 - 1 && t4; + } else + is_first = true; + if (!(t9 && t4)) { + t9 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t9 !== "number") + return t9.$sub(); + is_last = i === t9 - 1 && reverse_polarity; + } else + is_last = true; + t9 = _box_0.mirrored_substrands; + t10 = t6._as(new A.vertical_reflection_of_strands_closure(reflected_helix_idx, reverse_polarity, domain, is_first, is_last)); + t11 = new A.DomainBuilder(); + t11._domain$_$v = domain; + t5._as(t10).call$1(t11); + J.$indexSet$ax(t9, i, t11._domain$_build$0()); + } + ++i; + } + if (t4) + _box_0.mirrored_substrands = A.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t7); + t9 = t3._as(new A.vertical_reflection_of_strands_closure0(_box_0)); + t10 = new A.StrandBuilder(); + t10._strand$_$v = t8; + t2._as(t9).call$1(t10); + mirrored_strand = t10._strand$_build$0(); + strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); + if (mirrored_strand.substrands._list.length === 1) { + t8 = mirrored_strand.__first_domain; + if (t8 == null) + t8 = mirrored_strand.__first_domain = A.Strand.prototype.get$first_domain.call(mirrored_strand); + t8.toString; + } + mirrored_strand.check_two_consecutive_loopouts$0(); + mirrored_strand.check_loopouts_length$0(); + mirrored_strand.check_at_least_one_domain$0(); + mirrored_strand.check_only_at_ends$0(); + mirrored_strand.check_not_adjacent_to_loopout$0(); + B.JSArray_methods.add$1(mirrored_strands, strand); + } + return mirrored_strands; }, - _$serializers_closure31: function _$serializers_closure31() { + horizontal_reflection_of_strands_closure: function horizontal_reflection_of_strands_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.reflected_end = t0; + _.reflected_start = t1; + _.reverse_polarity = t2; + _.domain = t3; + _.reflected_deletions = t4; + _.reflected_insertions = t5; + _.is_first = t6; + _.is_last = t7; }, - _$serializers_closure32: function _$serializers_closure32() { + horizontal_reflection_of_strands_closure0: function horizontal_reflection_of_strands_closure0(t0) { + this._box_0 = t0; }, - _$serializers_closure33: function _$serializers_closure33() { + reflect_insertions_closure: function reflect_insertions_closure(t0) { + this.reflected_offset = t0; }, - _$serializers_closure34: function _$serializers_closure34() { + reflect_insertions_closure0: function reflect_insertions_closure0() { }, - _$serializers_closure35: function _$serializers_closure35() { + vertical_reflection_of_strands_closure: function vertical_reflection_of_strands_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.reflected_helix_idx = t0; + _.reverse_polarity = t1; + _.domain = t2; + _.is_first = t3; + _.is_last = t4; }, - _$serializers_closure36: function _$serializers_closure36() { + vertical_reflection_of_strands_closure0: function vertical_reflection_of_strands_closure0(t0) { + this._box_0 = t0; }, - _$serializers_closure37: function _$serializers_closure37() { + dna_ends_move_start_middleware(store, action, next) { + var t1, selected_ends, moves, t2, lowest_offset, highest_offset, design, strands_affected, _i, t3, t4, t5; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.DNAEndsMoveStart) { + t1 = store.get$state(store).ui_state.selectables_store; + selected_ends = t1.__selected_dna_ends_on_domains; + if (selected_ends == null) { + selected_ends = A.SelectablesStore.prototype.get$selected_dna_ends_on_domains.call(t1); + t1.set$__selected_dna_ends_on_domains(selected_ends); + } + moves = A._setArrayType([], type$.JSArray_DNAEndMove); + for (t1 = selected_ends._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + lowest_offset = A.find_allowable_offset(store.get$state(store).get$design(), t2, selected_ends, false); + highest_offset = A.find_allowable_offset(store.get$state(store).get$design(), t2, selected_ends, true); + if (t2 == null) + A.throwExpression(A.BuiltValueNullFieldError$("DNAEndMove", "dna_end")); + B.JSArray_methods.add$1(moves, new A._$DNAEndMove(t2, lowest_offset, highest_offset)); + } + design = store.get$state(store).get$design(); + t1 = type$.Strand; + strands_affected = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, A.throwConcurrentModificationError)(moves), ++_i) { + t3 = moves[_i].dna_end; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + t5 = design.__end_to_domain; + if (t5 == null) { + t5 = A.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t5); + } + t3 = t5._map$_map.$index(0, t3); + t3.toString; + t3 = t4._map$_map.$index(0, t3); + t3.toString; + strands_affected.add$1(0, t3); + } + next.call$1(action); + t2 = $.__app._readField$0(); + t3 = action.offset; + t4 = A.BuiltList_BuiltList$of(moves, type$.DNAEndMove); + t2.dispatch$1(A._$DNAEndsMoveSetSelectedEnds$_(action.helix, t4, t3, A.BuiltSet_BuiltSet$of(strands_affected, t1))); + } else + next.call$1(action); }, - _$serializers_closure38: function _$serializers_closure38() { + find_allowable_offset(design, end, selected_ends, highest) { + var helix_idx, t2, t3, t4, selected_offsets, unselected_end_offsets_to_one_side, selected_end_offsets_to_one_side, other_substrands_same_dir_same_helix, _i, ss, _i0, other_offset, t5, closest_unselected_offset, num_selected_offsets_between, adjust_factor, + t1 = design.get$end_to_domain()._map$_map.$index(0, end); + t1.toString; + helix_idx = t1.helix; + t2 = selected_ends._set; + t3 = A._instanceType(t2); + t4 = t3._eval$1("EfficientLengthMappedIterable"); + selected_offsets = A.LinkedHashSet_LinkedHashSet$of(new A.EfficientLengthMappedIterable(t2, t3._eval$1("int(SetMixin.E)")._as(selected_ends.$ti._eval$1("int(1)")._as(new A.find_allowable_offset_closure())), t4), t4._eval$1("Iterable.E")); + t4 = type$.JSArray_int; + unselected_end_offsets_to_one_side = A._setArrayType([], t4); + selected_end_offsets_to_one_side = A._setArrayType([], t4); + t1 = J.where$1$ax(design.domains_on_helix$1(helix_idx), new A.find_allowable_offset_closure0(t1)); + other_substrands_same_dir_same_helix = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + for (t1 = other_substrands_same_dir_same_helix.length, t2 = !highest, _i = 0; _i < other_substrands_same_dir_same_helix.length; other_substrands_same_dir_same_helix.length === t1 || (0, A.throwConcurrentModificationError)(other_substrands_same_dir_same_helix), ++_i) { + ss = other_substrands_same_dir_same_helix[_i]; + for (t3 = [ss.start, ss.end - 1], _i0 = 0; _i0 < 2; ++_i0) { + other_offset = t3[_i0]; + if (highest) { + t4 = end.is_start; + t5 = end.offset; + if (t4) { + t5.toString; + t4 = t5; + } else { + t5.toString; + t4 = t5 - 1; + } + t4 = other_offset > t4; + } else + t4 = false; + if (t4) + if (selected_offsets.contains$1(0, other_offset)) + B.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); + else + B.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); + else { + if (t2) { + t4 = end.is_start; + t5 = end.offset; + if (t4) { + t5.toString; + t4 = t5; + } else { + t5.toString; + t4 = t5 - 1; + } + t4 = other_offset < t4; + } else + t4 = false; + if (t4) + if (selected_offsets.contains$1(0, other_offset)) + B.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); + else + B.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); + } + } + } + if (unselected_end_offsets_to_one_side.length === 0) { + t1 = design.helices._map$_map.$index(0, helix_idx); + t1.toString; + return highest ? t1.max_offset - 1 : t1.min_offset; + } + closest_unselected_offset = B.JSArray_methods.reduce$1(unselected_end_offsets_to_one_side, highest ? B.CONSTANT2 : B.CONSTANT); + t1 = new A.WhereIterable(selected_end_offsets_to_one_side, type$.bool_Function_int._as(new A.find_allowable_offset_closure1(highest, closest_unselected_offset)), type$.WhereIterable_int); + num_selected_offsets_between = t1.get$length(t1); + adjust_factor = highest ? -1 - num_selected_offsets_between : 1 + num_selected_offsets_between; + if (typeof closest_unselected_offset !== "number") + return closest_unselected_offset.$add(); + return closest_unselected_offset + adjust_factor; }, - _$serializers_closure39: function _$serializers_closure39() { + find_allowable_offset_closure: function find_allowable_offset_closure() { }, - _$serializers_closure40: function _$serializers_closure40() { + find_allowable_offset_closure0: function find_allowable_offset_closure0(t0) { + this.substrand = t0; }, - _$serializers_closure41: function _$serializers_closure41() { + find_allowable_offset_closure1: function find_allowable_offset_closure1(t0, t1) { + this.highest = t0; + this.closest_unselected_offset = t1; }, - _$serializers_closure42: function _$serializers_closure42() { + export_cadnano_or_codenano_file_middleware(store, action, next) { + var state; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof A.ExportCadnanoFile) + A._save_file_cadnano(state, action.whitespace); + else if (action instanceof A.ExportCodenanoFile) + A._save_file_codenano(state); }, - _$serializers_closure43: function _$serializers_closure43() { + _save_file_cadnano(state, whitespace) { + return A._save_file_cadnano$body(state, whitespace); }, - _$serializers_closure44: function _$serializers_closure44() { + _save_file_cadnano$body(state, whitespace) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + default_filename, $content, whitespace_regex, e, t1, t2, t3, exception; + var $async$_save_file_cadnano = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + default_filename = state.ui_state.storables.loaded_filename; + t1 = default_filename; + default_filename = $.$get$context().withoutExtension$1(t1) + ".json"; + t1 = state.get$design(); + t2 = default_filename; + t3 = type$.dynamic; + $content = A.SuppressableIndentEncoder$(new A.Replacer(A.LinkedHashMap_LinkedHashMap$_empty(t3, t3), new A.JsonEncoder(null, null)), true).convert$1(A.to_cadnano_v2_serializable(t1, t2)); + if (!whitespace) { + whitespace_regex = A.RegExp_RegExp("\\s+", true); + t1 = $content; + t2 = type$.Pattern._as(whitespace_regex); + $content = A.stringReplaceAllUnchecked(t1, t2, ""); + } + A.save_file(default_filename, $content, null, B.BlobType_0); + } catch (exception) { + t1 = A.unwrapException(exception); + if (t1 instanceof A.IllegalCadnanoDesignError) { + e = t1; + B.Window_methods.alert$1(window, "Error exporting file: " + e.cause); + } else + throw exception; + } + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$_save_file_cadnano, $async$completer); }, - _$serializers_closure45: function _$serializers_closure45() { + _save_file_codenano(state) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, t1, t2, grids, design_json, t3, helix_json, t4, t5, _i, angle_key, degrees, pos, strand_json, hex, domain_json, $forward, json_str, design; + var $async$_save_file_codenano = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + design = state.maybe_design; + if (design == null) { + // goto return + $async$goto = 1; + break; + } + t1 = design.groups; + t1 = t1.get$values(t1); + t1.toString; + t2 = A._instanceType(t1); + t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Grid(Iterable.E)")._as(new A._save_file_codenano_closure()), t2._eval$1("Iterable.E"), type$.Grid); + grids = A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E")); + if (!(grids._collection$_length === 1 && J.$eq$(grids.get$first(grids), B.Grid_none))) { + B.Window_methods.alert$1(window, "Grid must be set to none for all helix groups to export to codenano. First convert all grids to none."); + // goto return + $async$goto = 1; + break; + } + design_json = state.get$design().to_json_serializable$1$suppress_indent(true); + design_json.$indexSet(0, "parameters", A.LinkedHashMap_LinkedHashMap$_literal(["z_step", 0.332, "helix_radius", 1, "bases_per_turn", 10.5, "groove_angle", -2.2175948142986774, "inter_helix_gap", 0.65], type$.String, type$.double)); + design_json.$indexSet(0, "version", "0.4.12"); + t1 = type$.List_dynamic; + for (t2 = J.get$iterator$ax(t1._as(design_json.$index(0, "helices"))), t3 = type$.Map_dynamic_dynamic; t2.moveNext$0();) { + helix_json = t3._as(t2.get$current(t2)); + for (t4 = ["pitch", "roll", "yaw"], t5 = J.getInterceptor$asx(helix_json), _i = 0; _i < 3; ++_i) { + angle_key = t4[_i]; + degrees = A._asDoubleS(t5.$index(helix_json, angle_key)); + t5.$indexSet(helix_json, angle_key, degrees == null ? 0 : degrees * 2 * 3.141592653589793 / 360); + } + pos = t5.$index(helix_json, "position"); + t5.remove$1(helix_json, "position"); + t5.$indexSet(helix_json, "origin", pos); + } + for (t1 = J.get$iterator$ax(t1._as(design_json.$index(0, "strands"))), t2 = type$.Iterable_dynamic, t4 = type$.NoIndent; t1.moveNext$0();) { + strand_json = t3._as(t1.get$current(t1)); + t5 = J.getInterceptor$x(strand_json); + if (t5.containsKey$1(strand_json, "color")) { + hex = A._asStringS(t5.$index(strand_json, "color")); + if (0 >= hex.length) { + $async$returnValue = A.ioore(hex, 0); + // goto return + $async$goto = 1; + break $async$outer; + } + t5.$indexSet(strand_json, "color", A.int_parse(hex[0] === "#" ? B.JSString_methods.substring$1(hex, 1) : hex, 16)); + } + for (t5 = J.get$iterator$ax(t2._as(t5.$index(strand_json, "domains"))); t5.moveNext$0();) { + domain_json = t3._as(t4._as(t5.get$current(t5)).value); + if (!domain_json.containsKey$1(0, "forward")) { + B.Window_methods.alert$1(window, "To export, strands cannot have any loopouts. Please remove all loopouts before exporting."); + // goto return + $async$goto = 1; + break $async$outer; + } + $forward = A._asBoolS(domain_json.$index(0, "forward")); + domain_json.remove$1(0, "forward"); + domain_json.$indexSet(0, "right", $forward); + } + } + t1 = type$.dynamic; + json_str = A.SuppressableIndentEncoder$(new A.Replacer(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.JsonEncoder(null, null)), true).convert$1(design_json); + t1 = state.ui_state.storables.loaded_filename; + A.save_file($.$get$context().withoutExtension$1(t1) + "-codenano.json", json_str, null, B.BlobType_0); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$_save_file_codenano, $async$completer); }, - _$serializers_closure46: function _$serializers_closure46() { + to_cadnano_v2_serializable(design, $name) { + var design_grid, grid_used, t2, t3, grid_type, num_bases, t4, t5, t6, t7, t8, right_direction, helices_ids_reverse, _null = null, + t1 = type$.dynamic, + dct = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.String, t1); + if ($name !== "") + dct.$indexSet(0, "name", $name); + dct.$indexSet(0, "vstrands", []); + if (design.has_default_groups$0()) { + design_grid = design.__grid; + if (design_grid == null) { + design_grid = A.Design.prototype.get$grid.call(design, design); + design.__grid = design_grid; + } + } else { + grid_used = A.HashMap_HashMap(_null, _null, _null, type$.Grid, t1); + for (t1 = design.groups, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t1 = t1._map$_map, grid_type = B.Grid_none; t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + grid_used.$indexSet(0, t1.$index(0, t3).grid, true); + grid_type = t1.$index(0, t3).grid; + } + if (grid_used._collection$_length > 1) + throw A.wrapException(A.IllegalCadnanoDesignError$("Designs using helix groups can be exported to cadnano v2 only if all groups share the same grid type.")); + design_grid = grid_type; + } + for (t1 = design.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")), num_bases = 0; t2.moveNext$0();) { + t1 = t2.__internal$_current; + num_bases = Math.max(num_bases, t1.max_offset); + } + if (design_grid === B.Grid_square) + num_bases = A._get_multiple_of_x_sup_closest_to_y(32, num_bases); + else if (design_grid === B.Grid_honeycomb) + num_bases = A._get_multiple_of_x_sup_closest_to_y(21, num_bases); + else + throw A.wrapException(A.IllegalCadnanoDesignError$("We can export to cadnano v2 `square` and `honeycomb` grids only.")); + for (t1 = design.strands._list, t2 = A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"), t3 = new J.ArrayIterator(t1, t1.length, t2), t4 = type$.Domain; t3.moveNext$0();) { + t5 = t3.__interceptors$_current; + for (t6 = t5.substrands._list, t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")), t5 = t5.is_scaffold; t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + if (t7 instanceof A.Loopout || t7 instanceof A.Extension) + throw A.wrapException(A.IllegalCadnanoDesignError$("We cannot handle designs with Loopouts or Extensions, since they are not cadnano v2 concepts.")); + t4._as(t7); + if (t5) { + t8 = B.JSInt_methods.$mod(t7.helix, 2); + right_direction = t7.forward; + right_direction = t8 === 0 ? right_direction : !right_direction; + } else { + t8 = B.JSInt_methods.$mod(t7.helix, 2); + right_direction = t7.forward; + if (t8 === 0) + right_direction = !right_direction; + } + if (!right_direction) + throw A.wrapException(A.IllegalCadnanoDesignError$("We can only convert designs where even helices have the scaffold going forward and odd helices have the scaffold going backward see the spec v2.txt Note 4. " + A.S(t7))); + } + } + helices_ids_reverse = A._cadnano_v2_fill_blank(design, dct, num_bases, design_grid); + for (t1 = new J.ArrayIterator(t1, t1.length, t2); t1.moveNext$0();) + A._cadnano_v2_place_strand(t1.__interceptors$_current, dct, helices_ids_reverse); + return dct; }, - _$serializers_closure47: function _$serializers_closure47() { + _get_multiple_of_x_sup_closest_to_y(x, y) { + var t1 = B.JSInt_methods.$mod(y, x); + return t1 === 0 ? y : y + (x - t1); }, - _$serializers_closure48: function _$serializers_closure48() { + _cadnano_v2_fill_blank(design, dct, num_bases, design_grid) { + var t2, t3, t4, t5, t6, i, t7, helix_dct, _i, _null = null, + t1 = type$.int, + helices_ids_reverse = A.HashMap_HashMap(_null, _null, _null, t1, t1); + for (t1 = design.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")), t1 = type$.JSArray_int, t3 = design_grid !== B.Grid_square, t4 = type$.String, t5 = type$.dynamic, t6 = design_grid === B.Grid_honeycomb, i = 0; t2.moveNext$0();) { + t7 = t2.__internal$_current; + helix_dct = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t4, t5); + helix_dct.$indexSet(0, "num", t7.idx); + if (!t3 || t6) { + t7 = t7.grid_position; + helix_dct.$indexSet(0, "row", t7.v); + helix_dct.$indexSet(0, "col", t7.h); + } + helix_dct.$indexSet(0, "scaf", []); + helix_dct.$indexSet(0, "loop", []); + helix_dct.$indexSet(0, "skip", []); + helix_dct.$indexSet(0, "stap", []); + for (_i = 0; _i < num_bases; ++_i) { + J.add$1$ax(helix_dct.$index(0, "scaf"), A._setArrayType([-1, -1, -1, -1], t1)); + J.add$1$ax(helix_dct.$index(0, "stap"), A._setArrayType([-1, -1, -1, -1], t1)); + J.add$1$ax(helix_dct.$index(0, "loop"), 0); + J.add$1$ax(helix_dct.$index(0, "skip"), 0); + } + helix_dct.$indexSet(0, "stap_colors", []); + helix_dct.$indexSet(0, "scafLoop", []); + helix_dct.$indexSet(0, "stapLoop", []); + helices_ids_reverse.$indexSet(0, A._asIntS(helix_dct.$index(0, "num")), i); + J.add$1$ax(dct.$index(0, "vstrands"), helix_dct); + ++i; + } + return helices_ids_reverse; }, - _$serializers_closure49: function _$serializers_closure49() { + _cadnano_v2_place_strand(strand, dct, helices_ids_reverse) { + var t6, domain, which_helix, base_id, t7, next_domain, next_helix, helix_from, start_from, end_from, forward_from, helix_to, start_to, end_to, forward_to, t8, t9, first_domain, first_helix, first_start, first_end, first_forward, last_domain, last_helix, last_start, the_base_from, the_base_to, temp1, temp3, temp2, temp4, + _s8_ = "vstrands", + _s3_ = "num", + strand_type = strand.is_scaffold ? "scaf" : "stap", + t1 = strand_type === "stap", + t2 = type$.Map_String_dynamic, + t3 = type$.JSArray_int, + t4 = strand.color, + t5 = type$.List_int, + i = 0; + while (true) { + t6 = strand.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t6); + } + if (!(i < t6._list.length)) + break; + t6 = strand.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t6); + } + t6 = t6._list; + if (!(i < t6.length)) + return A.ioore(t6, i); + domain = t6[i]; + t6 = helices_ids_reverse.$index(0, domain.helix); + t6.toString; + which_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), t6)); + if (t1) { + t6 = J.$index$asx(which_helix, "stap_colors"); + base_id = domain.forward ? domain.start : domain.end - 1; + J.add$1$ax(t6, A._setArrayType([base_id, A.to_cadnano_v2_int_hex(t4)], t3)); + } + A._cadnano_v2_place_strand_segment(which_helix, domain, strand_type); + t6 = strand.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t6); + } + if (i !== t6._list.length - 1) { + t6 = strand.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t6); + } + t7 = i + 1; + t6 = t6._list; + if (!(t7 < t6.length)) + return A.ioore(t6, t7); + next_domain = t6[t7]; + t6 = helices_ids_reverse.$index(0, next_domain.helix); + t6.toString; + next_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), t6)); + t6 = J.getInterceptor$asx(which_helix); + helix_from = A._asIntS(t6.$index(which_helix, _s3_)); + start_from = domain.start; + end_from = domain.end; + forward_from = domain.forward; + t7 = J.getInterceptor$asx(next_helix); + helix_to = A._asIntS(t7.$index(next_helix, _s3_)); + start_to = next_domain.start; + end_to = next_domain.end; + forward_to = next_domain.forward; + if (forward_from && !forward_to) { + t8 = end_from - 1; + t9 = end_to - 1; + J.setRange$3$ax(t5._as(J.$index$asx(t6.$index(which_helix, strand_type), t8)), 2, J.get$length$asx(t5._as(J.$index$asx(t6.$index(which_helix, strand_type), t8))), A._setArrayType([helix_to, t9], t3)); + J.setRange$3$ax(t5._as(J.$index$asx(t7.$index(next_helix, strand_type), t9)), 0, 2, A._setArrayType([helix_from, t8], t3)); + } else { + t8 = !forward_from; + if (t8 && forward_to) { + J.setRange$3$ax(t5._as(J.$index$asx(t6.$index(which_helix, strand_type), start_from)), 2, J.get$length$asx(t5._as(J.$index$asx(t6.$index(which_helix, strand_type), start_from))), A._setArrayType([helix_to, start_to], t3)); + J.setRange$3$ax(t5._as(J.$index$asx(t7.$index(next_helix, strand_type), start_to)), 0, 2, A._setArrayType([helix_from, start_from], t3)); + } else if (forward_from && forward_to) { + t8 = end_from - 1; + J.setRange$3$ax(J.$index$asx(t6.$index(which_helix, strand_type), t8), 2, J.get$length$asx(J.$index$asx(t6.$index(which_helix, strand_type), t8)), A._setArrayType([helix_to, start_to], t3)); + J.setRange$3$ax(J.$index$asx(t7.$index(next_helix, strand_type), end_to - 1), 0, 2, A._setArrayType([helix_from, start_from], t3)); + } else if (t8 && !forward_to) { + J.setRange$3$ax(J.$index$asx(t6.$index(which_helix, strand_type), start_from), 2, J.get$length$asx(J.$index$asx(t6.$index(which_helix, strand_type), start_from)), A._setArrayType([helix_to, end_to - 1], t3)); + J.setRange$3$ax(J.$index$asx(t7.$index(next_helix, strand_type), start_to), 0, 2, A._setArrayType([helix_from, end_from - 1], t3)); + } + } + } + ++i; + } + if (strand.circular) { + first_domain = strand.get$first_domain(); + first_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), first_domain.helix)); + first_start = first_domain.start; + first_end = first_domain.end; + first_forward = first_domain.forward; + last_domain = strand.get$last_domain(); + last_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), last_domain.helix)); + last_start = last_domain.start; + the_base_from = last_domain.end - 1; + if (!last_domain.forward) + the_base_from = last_start; + the_base_to = !first_forward ? first_end - 1 : first_start; + t1 = J.getInterceptor$asx(last_helix); + temp1 = A._setArrayType([A._asIntS(t1.$index(last_helix, _s3_)), the_base_from], t3); + t2 = J.getInterceptor$asx(first_helix); + t4 = type$.List_dynamic; + temp3 = t4._as(J.$index$asx(t2.$index(first_helix, strand_type), the_base_to)); + t5 = J.getInterceptor$asx(temp3); + if (J.$eq$(t5.$index(temp3, 0), -1) && J.$eq$(t5.$index(temp3, 1), -1)) + t5.setRange$3(temp3, 0, 2, temp1); + else + t5.setRange$3(temp3, 2, 4, temp1); + temp2 = A._setArrayType([A._asIntS(t2.$index(first_helix, _s3_)), the_base_to], t3); + temp4 = t4._as(J.$index$asx(t1.$index(last_helix, strand_type), the_base_from)); + t1 = J.getInterceptor$asx(temp4); + if (J.$eq$(t1.$index(temp4, 0), -1) && J.$eq$(t1.$index(temp4, 1), -1)) + t1.setRange$3(temp4, 0, 2, temp2); + else + t1.setRange$3(temp4, 2, 4, temp2); + } }, - _$serializers_closure50: function _$serializers_closure50() { + to_cadnano_v2_int_hex(color) { + return 65536 * J.toInt$0$n(color.r) + 256 * J.toInt$0$n(color.g) + J.toInt$0$n(color.b); }, - _$serializers_closure51: function _$serializers_closure51() { + _cadnano_v2_place_strand_segment(helix_dct, domain, strand_type) { + var t1, t2, t3, start, end, $forward, strand_helix, t4, i_base, from_base, to_base, to_base0; + for (t1 = domain.deletions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = J.getInterceptor$asx(helix_dct); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + J.$indexSet$ax(t2.$index(helix_dct, "skip"), t3, -1); + } + for (t1 = domain.insertions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + J.$indexSet$ax(t2.$index(helix_dct, "loop"), t3.offset, t3.length); + } + start = domain.start; + end = domain.end; + $forward = domain.forward; + strand_helix = A._asIntS(t2.$index(helix_dct, "num")); + for (t1 = type$.List_int, t3 = type$.JSArray_int, t4 = end - 1, i_base = start; i_base < end; i_base = to_base) { + from_base = i_base - 1; + to_base = i_base + 1; + if ($forward) + to_base0 = to_base; + else { + to_base0 = from_base; + from_base = to_base; + } + if (i_base === start) + if ($forward) + J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), A._setArrayType([strand_helix, to_base0], t3)); + else + J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 0, 2, A._setArrayType([strand_helix, from_base], t3)); + else if (i_base < t4) + J.$indexSet$ax(t2.$index(helix_dct, strand_type), i_base, A._setArrayType([strand_helix, from_base, strand_helix, to_base0], t3)); + else if ($forward) + J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 0, 2, A._setArrayType([strand_helix, from_base], t3)); + else + J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), A._setArrayType([strand_helix, to_base0], t3)); + } }, - _$serializers_closure52: function _$serializers_closure52() { + _save_file_codenano_closure: function _save_file_codenano_closure() { }, - _$serializers_closure53: function _$serializers_closure53() { + get_cause(e) { + if (type$.Exception._is(e)) + return e.toString$0(0); + else if (type$.Error._is(e)) + return e.toString$0(0); + else + return J.toString$0$(e); }, - _$serializers_closure54: function _$serializers_closure54() { - }, - _$serializers_closure55: function _$serializers_closure55() { - }, - _$serializers_closure56: function _$serializers_closure56() { - }, - _$serializers_closure57: function _$serializers_closure57() { - }, - _$serializers_closure58: function _$serializers_closure58() { - }, - _$serializers_closure59: function _$serializers_closure59() { - }, - _$serializers_closure60: function _$serializers_closure60() { - }, - _$serializers_closure61: function _$serializers_closure61() { - }, - _$serializers_closure62: function _$serializers_closure62() { - }, - _$serializers_closure63: function _$serializers_closure63() { - }, - _$serializers_closure64: function _$serializers_closure64() { - }, - _$serializers_closure65: function _$serializers_closure65() { - }, - _$serializers_closure66: function _$serializers_closure66() { - }, - _$serializers_closure67: function _$serializers_closure67() { - }, - _$serializers_closure68: function _$serializers_closure68() { - }, - _$serializers_closure69: function _$serializers_closure69() { - }, - _$serializers_closure70: function _$serializers_closure70() { - }, - _$serializers_closure71: function _$serializers_closure71() { - }, - _$serializers_closure72: function _$serializers_closure72() { - }, - _$serializers_closure73: function _$serializers_closure73() { - }, - _$serializers_closure74: function _$serializers_closure74() { - }, - _$serializers_closure75: function _$serializers_closure75() { - }, - _$serializers_closure76: function _$serializers_closure76() { - }, - _$serializers_closure77: function _$serializers_closure77() { + export_dna_sequences_middleware(store, action, next) { + var strands, filename, blob_type, result, $content, e, stackTrace, cause, msg, strands0, filename0, blob_type0, result0, content0, e0, stackTrace0, cause0, msg0, state, t1, t2, exception, t3, t4, t5, t6, onError, + _s11_ = "design_view"; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof A.ExportCanDoDNA) { + strands = null; + t1 = state.get$design().strands; + strands = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = strands; + t2 = A.instanceType(t1)._eval$1("bool(1)")._as(new A.export_dna_sequences_middleware_closure()); + t1._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(t1._copy_on_write_list$_list, t2); + filename = "cando_sequences.csv"; + blob_type = B.BlobType_0; + try { + result = A.cando_compatible_csv_export(strands); + $content = result; + A.save_file(filename, $content, null, blob_type); + } catch (exception) { + e = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + cause = A.get_cause(e); + msg = A.S(cause) + "\n\n" + A.S(stackTrace); + store.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(msg)); + t1 = $.__app._readField$0(); + t1 = t1.__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_design_view_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1.render$1(0, store.get$state(store)); + } + } + if (action instanceof A.ExportDNA) { + strands0 = null; + if (action.include_only_selected_strands) { + t1 = state.ui_state.selectables_store.get$selected_strands()._set; + strands0 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + } else if (action.exclude_selected_strands) { + t1 = state.get$design().strands; + strands0 = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + for (t1 = state.ui_state.selectables_store.get$selected_strands()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = strands0; + t3._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(t3._copy_on_write_list$_list, t2); + } + } else { + t1 = state.get$design().strands; + strands0 = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + } + if (!action.include_scaffold) + J.removeWhere$1$ax(strands0, new A.export_dna_sequences_middleware_closure0()); + t1 = action.export_dna_format; + filename0 = "sequences." + t1.extension$0(); + blob_type0 = t1.blob_type$0(); + try { + t2 = strands0; + t3 = action.delimiter; + t4 = action.domain_delimiter; + t5 = action.strand_order; + t6 = action.column_major_strand; + result0 = t1.export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order(t2, action.column_major_plate, t6, t3, t4, t5); + if (type$.Future_List_int._is(result0)) { + t1 = J.then$1$1$z(result0, new A.export_dna_sequences_middleware_closure1(filename0, blob_type0), type$.Null); + onError = new A.export_dna_sequences_middleware_closure2(store); + type$.nullable_bool_Function_Object._as(null); + t2 = t1.$ti; + t3 = $.Zone__current; + if (t3 !== B.C__RootZone) + onError = A._registerErrorHandler(onError, t3); + t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>"))); + } else { + content0 = A._asStringS(result0); + A.save_file(filename0, content0, null, blob_type0); + } + } catch (exception) { + e0 = A.unwrapException(exception); + stackTrace0 = A.getTraceFromException(exception); + cause0 = A.get_cause(e0); + msg0 = A.S(cause0) + "\n\n" + A.S(stackTrace0); + store.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(msg0)); + t1 = $.__app._readField$0(); + t1 = t1.__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_design_view_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1.render$1(0, store.get$state(store)); + } + } }, - _$serializers_closure78: function _$serializers_closure78() { + export_dna() { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t2, t3, t4, export_options, sort_options, items, results, include_scaffold, include_only_selected_strands, exclude_selected_strands, t5, column_major_strand, strand_order, column_major_plate, format, delimiter, domain_delimiter, t1; + var $async$export_dna = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.$get$_$values2(); + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + t4 = t3._eval$1("EfficientLengthMappedIterable"); + export_options = A.List_List$of(new A.EfficientLengthMappedIterable(t2, t3._eval$1("String(SetMixin.E)")._as(t1.$ti._eval$1("String(1)")._as(new A.export_dna_closure())), t4), true, t4._eval$1("Iterable.E")); + t4 = $.$get$_$values3(); + t4.toString; + t1 = t4._set; + t3 = A._instanceType(t1); + t2 = t3._eval$1("EfficientLengthMappedIterable"); + sort_options = A.List_List$of(new A.EfficientLengthMappedIterable(t1, t3._eval$1("String(SetMixin.E)")._as(t4.$ti._eval$1("String(1)")._as(new A.export_dna_closure0())), t2), true, t2._eval$1("Iterable.E")); + items = new A.FixedList(A.List_List$filled(10, null, false, type$.nullable_DialogItem), A.List_List$filled(10, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(4, A.DialogText_DialogText("delimiter between IDT fields", 'Delimiter to separate IDT fields in a "bulk input" text file, for instance if set to ";", then a line \nof the file could be\n strand_name;AAAAACCCCCGGGGG;25nm;STD', ",")); + items._util$_set$2(5, A.DialogText_DialogText("delimiter between DNA sequences of domains", 'Delimiter to separate DNA sequences from different domains/loopouts/extensions, for instance if set to " ", \nthen the exported DNA sequence could be\n AAAAA CCCCC GGGGG\nif it had three domains each of length 5.', "")); + items._util$_set$2(0, A.DialogCheckbox_DialogCheckbox("include scaffold", "", false)); + items._util$_set$2(1, A.DialogCheckbox_DialogCheckbox("include only selected strands", "", false)); + items._util$_set$2(2, A.DialogCheckbox_DialogCheckbox("exclude selected strands", "", false)); + t2 = type$.DialogItem; + items._util$_set$2(3, t2._as(A.DialogRadio_DialogRadio("export format", B.List_69n, export_options, false, 0, ""))); + items._util$_set$2(6, A.DialogCheckbox_DialogCheckbox("column-major well order (uncheck for row-major order)", 'For exporting to plates, this customizes the order in which wells are enumerated.\nColumn-major order is A1, B1, C1, ... Row-major order is A1, A2, A3, ... \nNote that this is distinct from the notion of "sort strands", which helps specify the \norder in which strands are processed (as opposed to order of wells in a plate).\n', true)); + items._util$_set$2(7, A.DialogCheckbox_DialogCheckbox("sort strands", 'By default strands are exported in the order they are stored in the .sc file.\nChecking this box allows some customization of the order in which strands are processed.\n(See "column-major" box below for description.) Note that for exporting plates, \nthis is distinct from the order in which wells are enumerated when putting strands \ninto the plate. That can be customized by selecting "column-major well order" below.\n', false)); + items._util$_set$2(8, A.DialogCheckbox_DialogCheckbox("column-major strand order (uncheck for row-major order)", 'When checked, strands are processed in column-major "visual order" by their 5\' ends. \nColumn-major means sort first by offset, then by helix index. For example, if\nthe 5\' addresses are (0,5), meaning helix 0 at offset 5, \nthen (0,10), (0,15), (1,5), (1,10), (1,15), (2,5), (2,10), (2,15),\nthen that is row-major order. Column-major order would be\n(0,5), (1,5), (2,5), (0,10), (1,10), (2,10), (0,15), (1,15), (2,15).\nFinally, instead of using the addresses of 5\' ends, other strand "parts" can be\nused to sort; see options under "strand part to sort by".\n', true)); + items._util$_set$2(9, t2._as(A.DialogRadio_DialogRadio("strand part to sort by", B.List_4m4, sort_options, false, 0, 'When sorting strands by their "address" (helix index and offset), this indicates\nwhich part of the strand to use as the address.\n'))); + t2 = type$.JSArray_int; + t4 = type$.int; + t3 = type$.Iterable_int; + t1 = A.LinkedHashMap_LinkedHashMap$_literal([1, A._setArrayType([2], t2), 2, A._setArrayType([1], t2)], t4, t3); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, A.LinkedHashMap_LinkedHashMap$_literal([8, A._setArrayType([7], t2), 9, A._setArrayType([7], t2)], t4, t3), t1, A.LinkedHashMap_LinkedHashMap$_literal([6, A.LinkedHashMap_LinkedHashMap$_literal([3, A._setArrayType(["CSV (.csv)", "IDT Bulk (.txt)"], type$.JSArray_String)], t4, type$.Iterable_String)], t4, type$.Map_of_int_and_Iterable_String), items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "export DNA sequences", B.DialogType_export_dna_sequences, true)), $async$export_dna); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogCheckbox; + include_scaffold = t2._as(t1.$index(results, 0)).value; + include_only_selected_strands = t2._as(t1.$index(results, 1)).value; + exclude_selected_strands = t2._as(t1.$index(results, 2)).value; + t3 = type$.DialogRadio; + t4 = t3._as(t1.$index(results, 3)); + t5 = t4.options; + t4 = t4.selected_idx; + t5 = t5._list; + if (!(t4 >= 0 && t4 < t5.length)) { + $async$returnValue = A.ioore(t5, t4); + // goto return + $async$goto = 1; + break; + } + t4 = t5[t4]; + if (t2._as(t1.$index(results, 7)).value) { + column_major_strand = t2._as(t1.$index(results, 8)).value; + t3 = t3._as(t1.$index(results, 9)); + t5 = t3.options; + t3 = t3.selected_idx; + t5 = t5._list; + if (!(t3 >= 0 && t3 < t5.length)) { + $async$returnValue = A.ioore(t5, t3); + // goto return + $async$goto = 1; + break; + } + strand_order = A.StrandOrder_fromString(t5[t3]); + } else { + strand_order = null; + column_major_strand = true; + } + column_major_plate = t2._as(t1.$index(results, 6)).value; + format = A.ExportDNAFormat_fromString(t4); + t2 = type$.DialogText; + delimiter = t2._as(t1.$index(results, 4)).value; + domain_delimiter = t2._as(t1.$index(results, 5)).value; + $.__app._readField$0().dispatch$1(A.ExportDNA_ExportDNA(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, format, include_only_selected_strands, include_scaffold, strand_order)); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$export_dna, $async$completer); }, - _$serializers_closure79: function _$serializers_closure79() { + cando_compatible_csv_export(strands) { + var t1, t2, t3, t4, t5, cando_strand, cando_split_name, t6, t7, + _s14_ = "*****NONE*****", + buf = new A.StringBuffer(""); + buf._contents = "Start,End,Sequence,Length,Color\n"; + for (t1 = J.get$iterator$ax(strands._copy_on_write_list$_list), t2 = type$.nullable_String; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.vendor_export_name$0(); + t5 = t4.length; + if (A.stringContainsUnchecked(t4, "SCAF", 0)) + continue; + t4 = t3.vendor_export_name$0(); + t5 = A.RegExp_RegExp("^ST", true); + t4.toString; + cando_strand = A.stringReplaceAllUnchecked(t4, t5, ""); + t4 = A.RegExp_RegExp("\\d+\\[\\d+\\]", true).allMatches$1(0, cando_strand); + t5 = A._instanceType(t4); + t5 = A.MappedIterable_MappedIterable(t4, t5._eval$1("String?(Iterable.E)")._as(new A.cando_compatible_csv_export_closure()), t5._eval$1("Iterable.E"), t2); + cando_split_name = A.List_List$of(t5, true, A._instanceType(t5)._eval$1("Iterable.E")); + t4 = cando_split_name.length; + if (t4 !== 2) + throw A.wrapException(A.ExportDNAException$("Invalid strand name: " + A.S(t3.vendor_export_name$0()))); + if (1 >= t4) + return A.ioore(cando_split_name, 1); + t4 = cando_split_name[1]; + t4.toString; + t5 = cando_split_name[0]; + t5.toString; + t6 = t3.vendor_dna_sequence$1$domain_delimiter(""); + if (t6 == null) + t6 = _s14_; + t7 = t3.vendor_dna_sequence$1$domain_delimiter(""); + if (t7 == null) + t7 = _s14_; + t3 = t3.color.toHexColor$0(); + buf._contents += t5 + "," + t4 + "," + t6 + "," + t7.length + "," + ("#" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.r), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.g), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.b), 16), 2, "0")).toUpperCase() + "\n"; + } + t1 = buf._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _$serializers_closure80: function _$serializers_closure80() { + has_cause(obj) { + var exception, + has_it = false; + try { + obj.get$cause(); + has_it = true; + } catch (exception) { + if (!type$.NoSuchMethodError._is(A.unwrapException(exception))) + throw exception; + } + return has_it; }, - _$DNAExtensionsMove$_: function(current_point, moves, start_point) { - if (moves == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMove", "moves")); - return new K._$DNAExtensionsMove(moves, start_point, current_point); + has_message(obj) { + var exception, + has_it = false; + try { + J.get$message$x(obj); + has_it = true; + } catch (exception) { + if (!type$.NoSuchMethodError._is(A.unwrapException(exception))) + throw exception; + } + return has_it; }, - _$DNAExtensionMove$_: function(attached_end_position, color, dna_end, extension, original_position) { - var _s16_ = "DNAExtensionMove"; - if (dna_end == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "dna_end")); - if (extension == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "extension")); - return new K._$DNAExtensionMove(dna_end, color, original_position, attached_end_position, extension); + export_dna_sequences_middleware_closure: function export_dna_sequences_middleware_closure() { }, - DNAExtensionsMove: function DNAExtensionsMove() { + export_dna_sequences_middleware_closure0: function export_dna_sequences_middleware_closure0() { }, - DNAExtensionMove: function DNAExtensionMove() { + export_dna_sequences_middleware_closure1: function export_dna_sequences_middleware_closure1(t0, t1) { + this.filename = t0; + this.blob_type = t1; }, - _$DNAExtensionsMoveSerializer: function _$DNAExtensionsMoveSerializer() { + export_dna_sequences_middleware_closure2: function export_dna_sequences_middleware_closure2(t0) { + this.store = t0; }, - _$DNAExtensionMoveSerializer: function _$DNAExtensionMoveSerializer() { + export_dna_closure: function export_dna_closure() { }, - _$DNAExtensionsMove: function _$DNAExtensionsMove(t0, t1, t2) { - var _ = this; - _.moves = t0; - _.start_point = t1; - _.current_point = t2; - _._dna_extensions_move$__hashCode = _._dna_extensions_move$__ends_moving = null; + export_dna_closure0: function export_dna_closure0() { }, - DNAExtensionsMoveBuilder: function DNAExtensionsMoveBuilder() { - var _ = this; - _._dna_extensions_move$_current_point = _._dna_extensions_move$_start_point = _._dna_extensions_move$_moves = _._dna_extensions_move$_$v = null; + cando_compatible_csv_export_closure: function cando_compatible_csv_export_closure() { }, - _$DNAExtensionMove: function _$DNAExtensionMove(t0, t1, t2, t3, t4) { - var _ = this; - _.dna_end = t0; - _.color = t1; - _.original_position = t2; - _.attached_end_position = t3; - _.extension = t4; + export_svg_middleware(store, action, next) { + var t1, ui_state, dna_sequence_png_uri, is_zoom_above_threshold, export_svg_action_delayed_for_png_cache, disable_png_caching_dna_sequences, using_png_dna_sequence, t2, selected_elts, elt; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + t1 = action instanceof A.ExportSvg; + if (t1 || action instanceof A.CopySelectedStandsToClipboardImage) { + ui_state = store.get$state(store).ui_state; + dna_sequence_png_uri = ui_state.dna_sequence_png_uri; + is_zoom_above_threshold = ui_state.is_zoom_above_threshold; + export_svg_action_delayed_for_png_cache = ui_state.export_svg_action_delayed_for_png_cache; + disable_png_caching_dna_sequences = ui_state.storables.disable_png_caching_dna_sequences; + using_png_dna_sequence = dna_sequence_png_uri != null && !is_zoom_above_threshold && export_svg_action_delayed_for_png_cache == null && !disable_png_caching_dna_sequences; + t2 = action instanceof A.CopySelectedStandsToClipboardImage; + if ((t2 || J.get$type$x(action) === B.ExportSvgType_0) && using_png_dna_sequence) + store.dispatch$1(A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(type$.nullable_ExportSvg._as(action))); + else if (t1) { + t1 = action.type; + if (t1 === B.ExportSvgType_0 || t1 === B.ExportSvgType_2 || t1 === B.ExportSvgType_3) { + t2 = document.getElementById("main-view-svg"); + t2.toString; + if (t1 === B.ExportSvgType_3) { + selected_elts = A.get_selected_svg_elements(store.get$state(store)); + if (selected_elts.length === 0) + B.Window_methods.alert$1(window, "No strands are selected, so there is nothing to export.\nPlease select some strands before choosing this option."); + else + A._export_from_element(A.get_cloned_svg_element_with_style(selected_elts, store.get$state(store).ui_state.storables.export_svg_text_separately), "selected"); + } else { + if (store.get$state(store).ui_state.storables.export_svg_text_separately) + elt = A.get_cloned_svg_element_with_style(A._setArrayType([t2], type$.JSArray_Element), store.get$state(store).ui_state.storables.export_svg_text_separately); + else + elt = t2; + A._export_from_element(elt, "main"); + } + } + if (t1 === B.ExportSvgType_1 || t1 === B.ExportSvgType_2) { + t1 = document.getElementById("side-view-svg"); + t1.toString; + A._export_from_element(t1, "side"); + } + } else if (t2) { + selected_elts = A.get_selected_svg_elements(store.get$state(store)); + if (selected_elts.length !== 0) + A.copy_svg_as_png(A.get_cloned_svg_element_with_style(selected_elts, false)); + } + } else + next.call$1(action); }, - DNAExtensionMoveBuilder: function DNAExtensionMoveBuilder() { - var _ = this; - _._extension = _._attached_end_position = _._original_position = _._dna_extensions_move$_color = _._dna_extensions_move$_dna_end = _._dna_extensions_move$_$v = null; + get_selected_svg_elements(state) { + var base_pairs, + t1 = state.ui_state, + selected_strands = t1.selectables_store.get$selected_strands(), + selected_elts = A._setArrayType([], type$.JSArray_Element), + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (t2.get$state(t2).ui_state.storables.base_pair_display_type !== B.BasePairDisplayType_none) { + t2 = type$.BuiltSet_Strand; + if (t1.storables.show_base_pair_lines_with_mismatches) { + t1 = state.get$design(); + t1.toString; + base_pairs = t1._base_pairs$2(true, t2._as(selected_strands)); + } else { + t1 = state.get$design(); + t1.toString; + base_pairs = t1._base_pairs$2(false, t2._as(selected_strands)); + } + B.JSArray_methods.addAll$1(selected_elts, A.get_svg_elements_of_base_pairs(base_pairs)); + } + B.JSArray_methods.addAll$1(selected_elts, A.get_svg_elements_of_strands(selected_strands)); + return selected_elts; }, - _DNAExtensionMove_Object_BuiltJsonSerializable: function _DNAExtensionMove_Object_BuiltJsonSerializable() { + get_svg_elements_of_strands(strands) { + var t3, t4, t5, t6, t7, t8, dna_seq_elt, + t1 = type$.JSArray_Element, + elts = A._setArrayType([], t1), + t2 = strands._set; + if (t2.get$length(t2) !== 0) + for (t2 = t2.get$iterator(t2), t3 = type$.Element, t4 = type$._FrozenElementList_Element; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = document; + t7 = t5.__id; + t7 = t6.getElementById(t7 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t7); + t7.toString; + t8 = t5.__id; + dna_seq_elt = t6.getElementById("dna-sequence-" + (t8 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t8)); + t8 = t5.__id; + t5 = t8 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t8; + A.checkTypeBound(t3, t3, "T", "querySelectorAll"); + t5 = t6.querySelectorAll(".mismatch-" + t5); + t7 = A._setArrayType([t7], t1); + if (dna_seq_elt != null) + t7.push(dna_seq_elt); + B.JSArray_methods.addAll$1(t7, new A._FrozenElementList(t5, t4)); + B.JSArray_methods.addAll$1(elts, t7); + } + return elts; }, - _DNAExtensionsMove_Object_BuiltJsonSerializable: function _DNAExtensionsMove_Object_BuiltJsonSerializable() { + get_svg_elements_of_base_pairs(base_pairs) { + var t1, t2, t3, t4, t5, t6, + elts = A._setArrayType([], type$.JSArray_Element); + for (t1 = base_pairs.get$keys(base_pairs), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = base_pairs._map$_map; t1.moveNext$0();) { + t3 = t1.__js_helper$_current; + t4 = t2.$index(0, t3); + t4.toString; + t5 = t4._list; + t6 = A._arrayInstanceType(t5); + B.JSArray_methods.addAll$1(elts, new A.MappedListIterable(t5, t6._eval$1("Element(1)")._as(A.instanceType(t4)._eval$1("Element(1)")._as(new A.get_svg_elements_of_base_pairs_closure(t3))), t6._eval$1("MappedListIterable<1,Element>"))); + } + return elts; }, - ExampleDesigns__initializeBuilder: function(b) { - var t1; - b.get$_example_designs$_$this()._directory = "examples/output_designs"; - t1 = type$.legacy_ListBuilder_legacy_String._as(D.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.legacy_String)); - b.get$_example_designs$_$this().set$_filenames(t1); - b.get$_example_designs$_$this()._selected_idx = -1; + rotate_vector(vec, ang) { + var cos, sin, t1, t2; + if (typeof ang !== "number") + return ang.$mul(); + ang *= 0.017453292519943295; + cos = Math.cos(ang); + sin = Math.sin(ang); + t1 = vec[0]; + t2 = vec[1]; + return A._setArrayType([t1 * cos - t2 * sin, t1 * sin + t2 * cos], type$.JSArray_double); }, - ExampleDesignsBuilder$: function() { + get_text_height(font) { var t2, - t1 = new K.ExampleDesignsBuilder(); - t1.get$_example_designs$_$this()._directory = "examples/output_designs"; - t2 = type$.legacy_ListBuilder_legacy_String._as(D.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.legacy_String)); - t1.get$_example_designs$_$this().set$_filenames(t2); - t1.get$_example_designs$_$this()._selected_idx = -1; + t1 = document.createElement("canvas"), + context = type$.CanvasRenderingContext2D._as(B.CanvasElement_methods.getContext$1(type$.CanvasElement._as(t1), "2d")); + context.font = font; + t1 = context.font; + t2 = A.RegExp_RegExp("[^0-9\\.]", true); + t1.toString; + t1 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t1, t2, "")); + t1.toString; return t1; }, - ExampleDesigns: function ExampleDesigns() { + dominant_baseline_matrix(dominant_baseline, rot, font) { + var t1, t2; + switch (dominant_baseline) { + case "ideographic": + t1 = A._setArrayType([1, 0, 0, 1], type$.JSArray_num); + t2 = A.get_text_height(font); + if (typeof t2 !== "number") + return A.iae(t2); + B.JSArray_methods.addAll$1(t1, A.rotate_vector(A._setArrayType([0, -3 * t2 / 12], type$.JSArray_double), rot)); + return A.DomMatrix_DomMatrix(t1); + case "hanging": + t1 = A._setArrayType([1, 0, 0, 1], type$.JSArray_num); + t2 = A.get_text_height(font); + if (typeof t2 !== "number") + return A.iae(t2); + B.JSArray_methods.addAll$1(t1, A.rotate_vector(A._setArrayType([0, 9 * t2 / 12], type$.JSArray_double), rot)); + return A.DomMatrix_DomMatrix(t1); + case "central": + t1 = A._setArrayType([1, 0, 0, 1], type$.JSArray_num); + t2 = A.get_text_height(font); + if (typeof t2 !== "number") + return A.iae(t2); + B.JSArray_methods.addAll$1(t1, A.rotate_vector(A._setArrayType([0, 4 * t2 / 12], type$.JSArray_double), rot)); + return A.DomMatrix_DomMatrix(t1); + default: + return A.DomMatrix_DomMatrix(A._setArrayType([1, 0, 0, 1, 0, 0], type$.JSArray_int)); + } }, - _$ExampleDesignsSerializer: function _$ExampleDesignsSerializer() { + create_portable_text(text_ele, j) { + var t2, pos, rot, i, t3, item, + _s17_ = "dominant-baseline", + char_ele = type$.TextElement._as(B.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "text")), + t1 = text_ele.textContent; + if (!(j < t1.length)) + return A.ioore(t1, j); + (char_ele && B.TextElement_methods).set$text(char_ele, t1[j]); + t1 = text_ele.style.cssText; + t1.toString; + char_ele.setAttribute("style", t1); + t1 = text_ele.getStartPositionOfChar(j); + t2 = type$.dynamic; + pos = A.DomPoint_fromPoint(A.LinkedHashMap_LinkedHashMap$_literal(["x", t1.x, "y", t1.y], t2, t2)); + rot = text_ele.getRotationOfChar(j); + i = 0; + while (true) { + t1 = text_ele.transform.baseVal; + t3 = t1.numberOfItems; + t3.toString; + if (!(i < t3)) + break; + item = t1.getItem(i); + t1 = item.matrix; + pos = (pos && B.DomPoint_methods).matrixTransform$1(pos, A.LinkedHashMap_LinkedHashMap$_literal(["a", t1.a, "b", t1.b, "c", t1.c, "d", t1.d, "e", t1.e, "f", t1.f], t2, t2)); + t1 = item.angle; + t1.toString; + ++i; + rot = t1; + } + t1 = char_ele.style; + t1.toString; + if (t1.getPropertyValue(B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)) !== "") { + t1 = char_ele.style; + t1.toString; + t1 = t1.getPropertyValue(B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)); + t3 = text_ele.style; + t3 = A.dominant_baseline_matrix(t1, rot, t3.fontSize + " " + t3.fontFamily); + pos = (pos && B.DomPoint_methods).matrixTransform$1(pos, A.LinkedHashMap_LinkedHashMap$_literal(["a", t3.a, "b", t3.b, "c", t3.c, "d", t3.d, "e", t3.e, "f", t3.f], t2, t2)); + } + t1 = char_ele.style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_), "", null); + t1 = char_ele.style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-anchor"), "start", null); + t1 = type$.bool_Function_String._as(B.JSArray_methods.get$contains(A._setArrayType(["loopout-extension-length", "dna-seq-insertion", "dna-seq-loopout", "dna-seq-extension", "dna-seq"], type$.JSArray_String))); + if (new A.AttributeClassSet(text_ele).readClasses$0().any$1(0, t1)) { + t1 = char_ele.style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-shadow"), "-0.7px -0.7px 0 #fff, 0.7px -0.7px 0 #fff, -0.7px 0.7px 0 #fff, 0.7px 0.7px 0 #fff", null); + } + char_ele.setAttribute("x", J.toString$0$(pos.x)); + char_ele.setAttribute("y", J.toString$0$(pos.y)); + char_ele.setAttribute("transform", "rotate(" + A.S(rot) + " " + A.S(pos.x) + " " + A.S(pos.y) + ")"); + return char_ele; }, - _$ExampleDesigns: function _$ExampleDesigns(t0, t1, t2) { - var _ = this; - _.directory = t0; - _.filenames = t1; - _.selected_idx = t2; - _._example_designs$__hashCode = null; + create_portable_rect(ele) { + var t2, t3, pos, i, t4, t5, + _s16_ = "transform-origin", + portableEle = type$.RectElement._as(B.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "rect")), + t1 = portableEle.style; + (t1 && B.CssStyleDeclaration_methods).set$cssText(t1, ele.style.cssText); + t1 = portableEle.style; + t1.toString; + if (t1.getPropertyValue(B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_)) !== "") { + t1 = portableEle.style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "", ""); + } + t1 = portableEle.style; + t2 = t1.cssText; + t2.toString; + t3 = A.RegExp_RegExp("transform-box:[^;]+;", true); + B.CssStyleDeclaration_methods.set$cssText(t1, A.stringReplaceAllUnchecked(t2, t3, "")); + pos = ele.getBBox(); + portableEle.setAttribute("x", J.toString$0$(pos.x)); + portableEle.setAttribute("y", J.toString$0$(pos.y)); + t1 = ele.rx.baseVal.value; + t1.toString; + portableEle.setAttribute("rx", B.JSNumber_methods.toString$0(t1)); + t1 = ele.ry.baseVal.value; + t1.toString; + portableEle.setAttribute("ry", B.JSNumber_methods.toString$0(t1)); + portableEle.setAttribute("width", J.toString$0$(pos.width)); + portableEle.setAttribute("height", J.toString$0$(pos.height)); + i = 0; + while (true) { + t1 = ele.transform.baseVal; + t2 = t1.numberOfItems; + t2.toString; + if (!(i < t2)) + break; + t1 = t1.getItem(i).angle; + if (t1 !== 0) { + t2 = pos.x; + t2.toString; + t3 = pos.width; + t3.toString; + t4 = pos.y; + t4.toString; + t5 = pos.height; + t5.toString; + portableEle.setAttribute("transform", "rotate(" + A.S(t1) + " " + A.S(t2 + t3 / 2) + " " + A.S(t4 + t5 / 2) + ")"); + } + ++i; + } + return portableEle; }, - ExampleDesignsBuilder: function ExampleDesignsBuilder() { - var _ = this; - _._selected_idx = _._filenames = _._directory = _._example_designs$_$v = null; + make_portable(src) { + var t2, t3, t4, t5, t6, t7, i, t8, t9, portable_eles, j, new_parent, t10, portableEle, + t1 = type$.Element; + A.checkTypeBound(t1, t1, "T", "querySelectorAll"); + t2 = src.querySelectorAll("*"); + t3 = document; + t3.body.appendChild(src); + for (t4 = type$.RectElement, t5 = type$.TextContentElement, t6 = type$.TextPathElement, t7 = type$.JSArray_TextContentElement, i = 0; i < t2.length; ++i) { + t8 = t1._as(t2[i]); + if (t5._is(t8)) { + if (J.get$length$asx(new A.FilteredElementList(t8, new A._ChildNodeListLazy(t8)).get$_html_common$_iterable().__internal$_iterable) === 1) { + t9 = new A.FilteredElementList(t8, new A._ChildNodeListLazy(t8)).get$_html_common$_iterable(); + t9 = t9._f.call$1(J.elementAt$1$ax(t9.__internal$_iterable, 0)).tagName === "textPath"; + } else + t9 = false; + if (t9) + continue; + portable_eles = A._setArrayType([], t7); + j = 0; + while (true) { + t9 = t8.getNumberOfChars(); + if (typeof t9 !== "number") + return A.iae(t9); + if (!(j < t9)) + break; + B.JSArray_methods.add$1(portable_eles, A.create_portable_text(t8, j)); + ++j; + } + if (t6._is(t8)) { + t9 = t8.parentElement; + t9.toString; + new_parent = t3.createElementNS("http://www.w3.org/2000/svg", "g"); + t9.parentElement.appendChild(new_parent); + new_parent.appendChild(t8); + t10 = t9.parentNode; + if (t10 != null) + t10.removeChild(t9); + } + B.JSArray_methods.forEach$1(portable_eles, new A.make_portable_closure(t8)); + t9 = t8.parentNode; + if (t9 != null) + t9.removeChild(t8); + } else if (t4._is(t8)) { + portableEle = A.create_portable_rect(t8); + if (!(i < t2.length)) + return A.ioore(t2, i); + t1._as(t2[i]).parentNode.appendChild(portableEle); + if (!(i < t2.length)) + return A.ioore(t2, i); + t8 = t1._as(t2[i]); + t9 = t8.parentNode; + if (t9 != null) + t9.removeChild(t8); + } + } + B.SvgSvgElement_methods.remove$0(src); + return src; }, - _ExampleDesigns_Object_BuiltJsonSerializable: function _ExampleDesigns_Object_BuiltJsonSerializable() { + get_cloned_svg_element_with_style(selected_elts, separate_text) { + var bbox, t3, t4, + cloned_svg_element_with_style = A.SvgSvgElement_SvgSvgElement(), + t1 = A._arrayInstanceType(selected_elts), + t2 = t1._eval$1("MappedListIterable<1,Element>"); + B.SvgSvgElement_methods.set$children(cloned_svg_element_with_style, A.List_List$of(new A.MappedListIterable(selected_elts, t1._eval$1("Element(1)")._as(A.export_svg__clone_and_apply_style$closure()), t2), true, t2._eval$1("ListIterable.E"))); + if (separate_text) + cloned_svg_element_with_style = A.make_portable(cloned_svg_element_with_style); + document.body.appendChild(cloned_svg_element_with_style); + bbox = cloned_svg_element_with_style.getBBox(); + B.SvgSvgElement_methods.remove$0(cloned_svg_element_with_style); + t1 = bbox.x; + t1.toString; + t1 = B.JSNumber_methods.floor$0(t1); + t2 = bbox.y; + t2.toString; + t2 = B.JSNumber_methods.floor$0(t2); + t3 = bbox.width; + t3.toString; + t3 = B.JSNumber_methods.ceil$0(t3); + t4 = bbox.height; + t4.toString; + cloned_svg_element_with_style.setAttribute("viewBox", "" + (t1 - 1) + " " + (t2 - 1) + " " + (t3 + 3) + " " + (B.JSNumber_methods.ceil$0(t4) + 6)); + return cloned_svg_element_with_style; }, - MouseoverParams_MouseoverParams: function(helix_idx, offset, $forward) { - var t1 = new K.MouseoverParamsBuilder(); - type$.legacy_void_Function_legacy_MouseoverParamsBuilder._as(new K.MouseoverParams_MouseoverParams_closure(helix_idx, offset, $forward)).call$1(t1); - return t1.build$0(); + _export_from_element(svg_element, filename_append) { + var cloned_svg_element_with_style0, source, filename, + cloned_svg_element_with_style = filename_append !== "selected" ? A.clone_and_apply_style(svg_element) : svg_element, + t1 = type$.SvgSvgElement; + if (!t1._is(svg_element)) { + cloned_svg_element_with_style0 = A.SvgSvgElement_SvgSvgElement(); + B.SvgSvgElement_methods.set$children(cloned_svg_element_with_style0, A._setArrayType([cloned_svg_element_with_style], type$.JSArray_Element)); + cloned_svg_element_with_style = cloned_svg_element_with_style0; + } + t1._as(cloned_svg_element_with_style); + source = new XMLSerializer().serializeToString(cloned_svg_element_with_style); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + filename = t1.get$state(t1).ui_state.storables.loaded_filename; + A.save_file(B.JSString_methods.substring$2(filename, 0, B.JSString_methods.lastIndexOf$1(filename, ".")) + ("_" + filename_append + ".svg"), source, null, B.BlobType_2); }, - MouseoverData_from_params: function(design, params) { - var t1, domain_in_direction, t2, helix_idx, offset, $forward, color_forward, helix, roll_forward, color_reverse, num_domains_found, strand_idx, domain_in_direction0, t3, t4, strand, - mouseover_datas_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_MouseoverData); - for (t1 = J.get$iterator$ax(params._list), domain_in_direction = null; t1.moveNext$0();) { - t2 = t1.get$current(t1); - helix_idx = t2.helix_idx; - offset = t2.offset; - $forward = t2.forward; - color_forward = $.$get$color_forward_rotation_arrow_no_strand(); - helix = J.$index$asx(design.helices._map$_map, helix_idx); - roll_forward = design.helix_rotation_forward$2(helix.idx, offset); - for (t2 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0, strand_idx = -1; t2.moveNext$0();) { - domain_in_direction0 = t2.get$current(t2); - if (domain_in_direction0.start <= offset && offset < domain_in_direction0.end) { - t3 = domain_in_direction0.forward; - if (t3 === $forward) { - strand_idx = design.idx_on_strand$1(new Z._$Address(helix_idx, offset, $forward)); - domain_in_direction = domain_in_direction0; - } - ++num_domains_found; - t4 = design.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t4); + clone_and_apply_style(elt_orig) { + var t2, elt_styled, selected, + _s13_ = "selected-pink", + t1 = type$.Element; + t1._as(elt_orig); + t2 = J.getInterceptor$x(elt_orig); + elt_styled = t1._as(t2.clone$1(elt_orig, true)); + selected = t2.get$classes(elt_orig).contains$1(0, _s13_); + t2.get$classes(elt_orig).remove$1(0, _s13_); + A.clone_and_apply_style_rec(elt_styled, elt_orig, 0); + if (selected) + t2.get$classes(elt_orig).add$1(0, _s13_); + return elt_styled; + }, + clone_and_apply_style_rec(elt_styled, elt_orig, depth) { + var t1, style_def, t2, _i, style_name, style_value, t3, t4, value, children_styled, children_orig, cd, + tag_name = elt_styled.tagName; + if (J.get$classes$x(elt_styled).contains$1(0, "svg-pan-zoom_viewport")) { + elt_styled.removeAttribute("style"); + elt_styled.setAttribute("transform", J.contains$1$asx(elt_styled.id, "side") ? "matrix(1,0,0,1,50,50)" : "matrix(1,0,0,1,100,50)"); + } + t1 = $.$get$relevant_styles(); + if (t1.containsKey$1(0, tag_name)) { + style_def = B.Window_methods._getComputedStyle$2(window, elt_orig, ""); + for (t1 = t1.$index(0, tag_name), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + style_name = t1[_i]; + style_def.toString; + A._asStringS(style_name); + style_value = style_def.getPropertyValue(B.CssStyleDeclaration_methods._browserPropertyName$1(style_def, style_name)); + if (style_value !== "") { + if (style_name === "visibility" && style_value === "hidden") { + t3 = elt_styled.style; + t3.toString; + t4 = B.CssStyleDeclaration_methods._browserPropertyName$1(t3, "display"); + t3.setProperty(t4, "none", ""); } - strand = J.$index$asx(t4._map$_map, domain_in_direction0); - if (t3) - color_forward = strand.color; - else - color_reverse = strand.color; + t3 = elt_styled.style; + t3.toString; + t4 = B.CssStyleDeclaration_methods._browserPropertyName$1(t3, style_name); + value = style_value == null ? "" : style_value; + t3.setProperty(t4, value, ""); } - if (num_domains_found >= 2) - break; } - C.JSArray_methods.add$1(mouseover_datas_builder, K.MouseoverData_MouseoverData(helix, offset, strand_idx, domain_in_direction, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); } - return mouseover_datas_builder; + children_styled = elt_styled.childNodes; + children_orig = elt_orig.childNodes; + for (t1 = type$.Element, t2 = depth + 1, cd = 0; cd < children_styled.length; ++cd) { + if (!(cd < children_orig.length)) + return A.ioore(children_orig, cd); + t3 = children_orig[cd]; + if (!t1._is(t3)) + continue; + A.clone_and_apply_style_rec(t1._as(children_styled[cd]), t3, t2); + } + return elt_styled; }, - MouseoverData_MouseoverData: function(helix, offset, strand_idx, domain, color_forward, color_reverse, roll_forward, minor_groove_angle) { - var t1 = new K.MouseoverDataBuilder(); - type$.legacy_void_Function_legacy_MouseoverDataBuilder._as(new K.MouseoverData_MouseoverData_closure(helix, domain, offset, strand_idx, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); - return t1.build$0(); + get_svg_elements_of_base_pairs_closure: function get_svg_elements_of_base_pairs_closure(t0) { + this.helix = t0; }, - MouseoverParams: function MouseoverParams() { + make_portable_closure: function make_portable_closure(t0) { + this.text_ele = t0; }, - MouseoverParams_MouseoverParams_closure: function MouseoverParams_MouseoverParams_closure(t0, t1, t2) { - this.helix_idx = t0; - this.offset = t1; - this.forward = t2; + forbid_create_circular_strand_no_crossovers_middleware(store, action, next) { + var design, crossover, t1, crossovers_on, t2, t3, strand_id, t4, helix, offset_5p, $forward, dna_end, address_end, domain_other; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.ConvertCrossoverToLoopout) { + design = store.get$state(store).get$design(); + crossover = action.crossover; + t1 = design.get$crossover_to_strand()._map$_map.$index(0, crossover); + t1.toString; + if (t1.circular && t1.get$crossovers()._list.length === 1) { + B.Window_methods.alert$1(window, 'This is the only crossover on this circular strand. It cannot be converted\nto a loopout.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); + return; + } + } else if (action instanceof A.ConvertCrossoversToLoopouts) { + design = store.get$state(store).get$design(); + crossovers_on = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Crossover); + for (t1 = action.crossovers._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_Crossover; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + strand_id = t3.strand_id; + if (!crossovers_on.containsKey$1(0, strand_id)) + crossovers_on.$indexSet(0, strand_id, A._setArrayType([], t2)); + t4 = crossovers_on.$index(0, strand_id); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + for (t1 = A.LinkedHashMapKeyIterator$(crossovers_on, crossovers_on._modifications, crossovers_on.$ti._precomputed1); t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + t3 = design.__strands_by_id; + if (t3 == null) { + t3 = A.Design.prototype.get$strands_by_id.call(design); + design.set$__strands_by_id(t3); + } + t3 = t3._map$_map.$index(0, t2); + t3.toString; + t2 = crossovers_on.$index(0, t2); + t2.toString; + t4 = t3.__crossovers; + if (t4 == null) { + t4 = A.Strand.prototype.get$crossovers.call(t3); + t3.set$__crossovers(t4); + } + if (t4._list.length === t2.length) { + t1 = t3.__first_domain; + if (t1 == null) { + t1 = t3.__first_domain = A.Strand.prototype.get$first_domain.call(t3); + t2 = t1; + } else + t2 = t1; + helix = t1.helix; + t1 = t2 == null ? t3.__first_domain = A.Strand.prototype.get$first_domain.call(t3) : t2; + offset_5p = t1.__offset_5p; + if (offset_5p == null) + offset_5p = t1.__offset_5p = A.Domain.prototype.get$offset_5p.call(t1); + t1 = t3.__first_domain; + $forward = (t1 == null ? t3.__first_domain = A.Strand.prototype.get$first_domain.call(t3) : t1).forward; + B.Window_methods.alert$1(window, "The strand with 5' end at helix " + helix + ", offset " + offset_5p + ", forward = " + $forward + ' \ncannot have all of its crossovers converted to Loopouts.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); + return; + } + } + } else if (action instanceof A.Ligate) { + design = store.get$state(store).get$design(); + dna_end = action.dna_end; + t1 = design.get$substrand_to_strand(); + t2 = design.get$end_to_domain()._map$_map.$index(0, dna_end); + t2.toString; + t2 = t1._map$_map.$index(0, t2); + t2.toString; + t1 = design.get$end_to_domain()._map$_map.$index(0, dna_end); + t1.toString; + t3 = dna_end.is_start; + address_end = t3 ? t1.get$address_start() : t1.get$address_end(); + domain_other = design.domain_on_helix_at$1(address_end.rebuild$1(new A.forbid_create_circular_strand_no_crossovers_middleware_closure(t3 ? -1 : 1))); + if (t2 === design.get$substrand_to_strand()._map$_map.$index(0, domain_other) && t2.get$crossovers()._list.length === 0) { + B.Window_methods.alert$1(window, 'This strand has no crossovers so cannot be made circular.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); + return; + } + } + next.call$1(action); }, - MouseoverData: function MouseoverData() { + forbid_create_circular_strand_no_crossovers_middleware_closure: function forbid_create_circular_strand_no_crossovers_middleware_closure(t0) { + this.delta = t0; }, - MouseoverData_MouseoverData_closure: function MouseoverData_MouseoverData_closure(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.helix = t0; - _.domain = t1; - _.offset = t2; - _.strand_idx = t3; - _.color_forward = t4; - _.color_reverse = t5; - _.roll_forward = t6; - _.minor_groove_angle = t7; + helix_positions_set_based_on_crossovers_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof A.HelicesPositionsSetBasedOnCrossovers) + store.dispatch$1(A.BatchAction_BatchAction(A.get_helix_position_and_roll_actions(store.get$state(store)), "set helix coordinates based on crossovers")); + }, + get_helix_position_and_roll_actions(state) { + var t1, t2, t3, all_actions, helices, addresses, first_roll, + group_names_to_skip = A._setArrayType([], type$.JSArray_String); + for (t1 = state.get$design().groups, t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1); t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + t3 = state.get$design().groups._map$_map.$index(0, t2); + t3.toString; + if (t3.grid !== B.Grid_none) + B.JSArray_methods.add$1(group_names_to_skip, t2); + } + if (group_names_to_skip.length !== 0) + B.Window_methods.alert$1(window, "Skipping helix groups " + B.JSArray_methods.join$1(group_names_to_skip, ", ") + ' because their grids are not "none".'); + all_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = state.get$design().groups, t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1); t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + if (B.JSArray_methods.contains$1(group_names_to_skip, t2)) + continue; + t2 = state.get$design().groups._map$_map.$index(0, t2); + t2.toString; + helices = A._get_helices_to_process(state, t2); + addresses = A._get_addresses_to_process(state, helices); + if (addresses == null) + continue; + if (0 >= helices.length) + return A.ioore(helices, 0); + first_roll = helices[0].roll; + B.JSArray_methods.addAll$1(all_actions, A.set_rolls_and_positions(helices, A._calculate_rolls_and_positions(state.get$design(), helices, addresses, first_roll))); + } + return all_actions; }, - _$MouseoverParamsSerializer: function _$MouseoverParamsSerializer() { + _get_helices_to_process(state, group) { + var helices, t2, t3, + design = state.get$design(), + t1 = state.ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isEmpty(t1)) { + t1 = design.helices; + t1 = t1.get$values(t1); + t1.toString; + helices = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); + } else { + t2 = A._setArrayType([], type$.JSArray_Helix); + for (t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t3 = t1.get$current(t1); + t3 = design.helices._map$_map.$index(0, t3); + t3.toString; + t2.push(t3); + } + helices = t2; + } + B.JSArray_methods.sort$1(helices, new A._get_helices_to_process_closure(group)); + return helices; }, - _$MouseoverDataSerializer: function _$MouseoverDataSerializer() { + _get_addresses_to_process(state, helices) { + var t2, t3, i, helix_top, helix_bot, t4, t5, addresses_crossovers_this_helices_pair, t6, address_top, address_bot, use_scaffold, use_staple, t7, address_top_bot, + design = state.get$design(), + t1 = state.ui_state, + addresses_of_selected_crossovers_by_prev_helix_idx = A._get_addresses_of_selected_crossovers_by_prev_helix_idx(t1.selectables_store.get$selected_crossovers(), helices, design), + addresses = A._setArrayType([], type$.JSArray_Tuple2_Address_Address); + for (t2 = type$.Tuple2_Address_Address, t3 = type$.Tuple2_int_int, i = 0; i < helices.length - 1;) { + helix_top = helices[i]; + ++i; + helix_bot = helices[i]; + t4 = helix_top.idx; + t5 = helix_bot.idx; + addresses_crossovers_this_helices_pair = addresses_of_selected_crossovers_by_prev_helix_idx.$index(0, new A.Tuple2(t4, t5, t3)); + t6 = addresses_crossovers_this_helices_pair.length; + if (t6 > 1) { + A.async_alert("You can select at most one crossover between any pair of adjacent helices.\nBut you have selected multiple crossovers between helices " + t4 + " and " + t5 + ".\nPlease select only one, or select none to default to the first crossover between the helices.\n"); + return null; + } else if (t6 === 1) { + address_top = B.JSArray_methods.get$first(addresses_crossovers_this_helices_pair).item1; + address_bot = B.JSArray_methods.get$first(addresses_crossovers_this_helices_pair).item2; + } else { + t6 = t1.storables; + use_scaffold = t6.default_crossover_type_scaffold_for_setting_helix_rolls; + use_staple = t6.default_crossover_type_staple_for_setting_helix_rolls; + t6 = state.get$design(); + t7 = t6.__is_origami; + if (!(t7 == null ? t6.__is_origami = A.Design.prototype.get$is_origami.call(t6) : t7)) { + use_scaffold = true; + use_staple = true; + } + address_top_bot = A._first_crossover_addresses_between_helices(helix_top, helix_bot, design, use_scaffold, use_staple); + if (address_top_bot == null) { + A.async_alert("Must have at least one crossover between helices " + t4 + " and " + t5); + return null; + } + address_top = address_top_bot.item1; + address_bot = address_top_bot.item2; + } + B.JSArray_methods.add$1(addresses, new A.Tuple2(address_top, address_bot, t2)); + } + return addresses; }, - _$MouseoverParams: function _$MouseoverParams(t0, t1, t2) { - var _ = this; - _.helix_idx = t0; - _.offset = t1; - _.forward = t2; - _._mouseover_data$__hashCode = null; + _first_crossover_addresses_between_helices(helix_top, helix_bot, design, use_scaffold, use_staple) { + var t2, t3, t4, address_crossovers_on_bot, crossover_top, t5, t6, + t1 = design.get$address_crossover_pairs_by_helix_idx()._map$_map.$index(0, helix_top.idx); + t1.toString; + t2 = design.get$address_crossover_pairs_by_helix_idx()._map$_map.$index(0, helix_bot.idx); + t2.toString; + if (!use_scaffold) { + t3 = t2._list; + t4 = A._arrayInstanceType(t3); + address_crossovers_on_bot = A.BuiltList_BuiltList$of(new A.WhereIterable(t3, t4._eval$1("bool(1)")._as(t2.$ti._eval$1("bool(1)")._as(new A._first_crossover_addresses_between_helices_closure())), t4._eval$1("WhereIterable<1>")), type$.Tuple2_Address_Crossover); + } else + address_crossovers_on_bot = t2; + if (!use_staple) { + t2 = address_crossovers_on_bot._list; + t3 = A._arrayInstanceType(t2); + address_crossovers_on_bot = A.BuiltList_BuiltList$of(new A.WhereIterable(t2, t3._eval$1("bool(1)")._as(address_crossovers_on_bot.$ti._eval$1("bool(1)")._as(new A._first_crossover_addresses_between_helices_closure0())), t3._eval$1("WhereIterable<1>")), type$.Tuple2_Address_Crossover); + } + for (t1 = t1._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = address_crossovers_on_bot._list, t3 = A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>"); t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + crossover_top = t4.item2; + for (t5 = new J.ArrayIterator(t2, t2.length, t3); t5.moveNext$0();) { + t6 = t5.__interceptors$_current; + if (J.$eq$(t6.item2, crossover_top)) + return new A.Tuple2(t4.item1, t6.item1, type$.Tuple2_Address_Address); + } + } + return null; }, - MouseoverParamsBuilder: function MouseoverParamsBuilder() { - var _ = this; - _._mouseover_data$_forward = _._mouseover_data$_offset = _._mouseover_data$_helix_idx = _._mouseover_data$_$v = null; + _get_addresses_of_selected_crossovers_by_prev_helix_idx(selected_crossovers, helices, design) { + var t2, i, i0, t3, t4, t5, t6, t7, t8, prev_dom, next_dom, prev_idx, next_idx, pair_idxs, pair_idxs_rev, dom_bot, dom_top, prev_is_top, offset_top, offset_bot, + t1 = type$.Tuple2_int_int, + addresses_top_bot_crossovers = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Tuple2_Address_Address); + for (t2 = type$.JSArray_Tuple2_Address_Address, i = 0; i < helices.length - 1; i = i0) { + i0 = i + 1; + addresses_top_bot_crossovers.$indexSet(0, new A.Tuple2(helices[i].idx, helices[i0].idx, t1), A._setArrayType([], t2)); + } + for (t2 = selected_crossovers._set, t2 = t2.get$iterator(t2), t3 = type$.Domain, t4 = type$.Tuple2_Address_Address; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = design.__crossover_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$crossover_to_strand.call(design); + design.set$__crossover_to_strand(t6); + } + t6 = t6._map$_map.$index(0, t5); + t6.toString; + t7 = t5.prev_domain_idx; + t6 = t6.substrands._list; + t8 = t6.length; + if (!(t7 >= 0 && t7 < t8)) + return A.ioore(t6, t7); + prev_dom = t3._as(t6[t7]); + t5 = t5.next_domain_idx; + if (!(t5 >= 0 && t5 < t8)) + return A.ioore(t6, t5); + next_dom = t3._as(t6[t5]); + prev_idx = prev_dom.helix; + next_idx = next_dom.helix; + pair_idxs = new A.Tuple2(prev_idx, next_idx, t1); + pair_idxs_rev = new A.Tuple2(next_idx, prev_idx, t1); + if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs) || addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { + if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { + dom_bot = prev_dom; + dom_top = next_dom; + pair_idxs = pair_idxs_rev; + prev_is_top = false; + } else { + dom_bot = next_dom; + dom_top = prev_dom; + prev_is_top = true; + } + if (!(prev_is_top && dom_top.forward)) + t5 = !prev_is_top && !dom_top.forward; + else + t5 = true; + offset_top = t5 ? dom_top.end - 1 : dom_top.start; + if (!(prev_is_top && dom_bot.forward)) + t5 = !prev_is_top && !dom_bot.forward; + else + t5 = true; + offset_bot = t5 ? dom_bot.start : dom_bot.end - 1; + t5 = addresses_top_bot_crossovers.$index(0, pair_idxs); + t5.toString; + B.JSArray_methods.add$1(t5, new A.Tuple2(new A._$Address(dom_top.helix, offset_top, dom_top.forward), new A._$Address(dom_bot.helix, offset_bot, dom_bot.forward), t4)); + } + } + return addresses_top_bot_crossovers; }, - _$MouseoverData: function _$MouseoverData(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.helix = t0; - _.offset = t1; - _.color_forward = t2; - _.color_reverse = t3; - _.roll_forward = t4; - _.minor_groove_angle = t5; - _.strand_idx = t6; - _.domain = t7; - _._mouseover_data$__hashCode = null; + _calculate_rolls_and_positions(design, helices, addresses, first_roll) { + var x, rollxys, t1, t2, i, t3, address_bot, t4, degrees_top, radians_top_cartesian, t5, t6, t7, angle_strand_bot, t8, t9, delta_roll, + geometry = design.geometry; + if (0 >= helices.length) + return A.ioore(helices, 0); + x = helices[0].get$position3d().z; + if (0 >= helices.length) + return A.ioore(helices, 0); + rollxys = A._setArrayType([new A.RollXY(first_roll, x, helices[0].get$position3d().y)], type$.JSArray_RollXY); + for (t1 = type$.nullable_void_Function_AddressBuilder, t2 = type$.void_Function_AddressBuilder, i = 0; i < addresses.length;) { + t3 = addresses[i]; + address_bot = t3.item2; + if (!(i < rollxys.length)) + return A.ioore(rollxys, i); + t4 = rollxys[i]; + degrees_top = design.helix_rotation_at$2(t3.item1, t4.roll); + radians_top_cartesian = (degrees_top - 90) * 2 * 3.141592653589793 / 360; + t3 = Math.cos(radians_top_cartesian); + t5 = geometry.__distance_between_helices_nm; + if (t5 == null) + t5 = geometry.__distance_between_helices_nm = A.Geometry.prototype.get$distance_between_helices_nm.call(geometry); + t6 = Math.sin(radians_top_cartesian); + t7 = geometry.__distance_between_helices_nm; + if (t7 == null) + t7 = geometry.__distance_between_helices_nm = A.Geometry.prototype.get$distance_between_helices_nm.call(geometry); + angle_strand_bot = B.JSNumber_methods.$mod(degrees_top + 180, 360); + if (!A.boolConversionCheck(address_bot.forward)) + angle_strand_bot = B.JSNumber_methods.$mod(angle_strand_bot - 150, 360); + t8 = t2._as(new A._calculate_rolls_and_positions_closure()); + t9 = new A.AddressBuilder(); + t9._address$_$v = address_bot; + t1._as(t8).call$1(t9); + delta_roll = B.JSNumber_methods.$mod(angle_strand_bot - design.helix_rotation_at$1(t9._address$_build$0()), 360); + ++i; + if (!(i < helices.length)) + return A.ioore(helices, i); + B.JSArray_methods.add$1(rollxys, new A.RollXY(B.JSNumber_methods.$mod(helices[i].roll + delta_roll, 360), t4.x + t3 * t5, t4.y + t6 * t7)); + } + return rollxys; }, - MouseoverDataBuilder: function MouseoverDataBuilder() { - var _ = this; - _._domain = _._strand_idx = _._mouseover_data$_minor_groove_angle = _._roll_forward = _._color_reverse = _._color_forward = _._mouseover_data$_offset = _._mouseover_data$_helix = _._mouseover_data$_$v = null; + set_rolls_and_positions(helices, rolls_and_positions) { + var i, helix, rollxy, t1, t2, position, + all_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (i = 0; i < helices.length; ++i) { + helix = helices[i]; + if (!(i < rolls_and_positions.length)) + return A.ioore(rolls_and_positions, i); + rollxy = rolls_and_positions[i]; + t1 = helix.idx; + t2 = helix.__position3d; + position = A.Position3D_Position3D(rollxy.x, rollxy.y, (t2 == null ? helix.__position3d = A.Helix.prototype.get$position3d.call(helix) : t2).z); + B.JSArray_methods.add$1(all_actions, new A._$HelixRollSet(t1, rollxy.roll)); + B.JSArray_methods.add$1(all_actions, new A._$HelixPositionSet(t1, position)); + } + return all_actions; }, - _MouseoverData_Object_BuiltJsonSerializable: function _MouseoverData_Object_BuiltJsonSerializable() { + _get_helices_to_process_closure: function _get_helices_to_process_closure(t0) { + this.group = t0; }, - _MouseoverParams_Object_BuiltJsonSerializable: function _MouseoverParams_Object_BuiltJsonSerializable() { + _first_crossover_addresses_between_helices_closure: function _first_crossover_addresses_between_helices_closure() { }, - _$DesignMainLoopoutExtensionLength: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(new L.JsBackedMap({})) : K._$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps(backingProps); + _first_crossover_addresses_between_helices_closure0: function _first_crossover_addresses_between_helices_closure0() { }, - _$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new K._$$DesignMainLoopoutExtensionLengthProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_loopout_extension_length$_props = backingMap; - return t1; - } + RollXY: function RollXY(t0, t1, t2) { + this.roll = t0; + this.x = t1; + this.y = t2; }, - _$$DesignMainLoopoutExtensionLengthProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new K._$$DesignMainLoopoutExtensionLengthProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_loopout_extension_length$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _calculate_rolls_and_positions_closure: function _calculate_rolls_and_positions_closure() { }, - DesignMainLoopoutExtensionLengthPropsMixin: function DesignMainLoopoutExtensionLengthPropsMixin() { + helix_idxs_change_middleware(store, action, next) { + var t1, existing_idxs, t2, old_idxs, remaining_idxs, t3, key_to_idxs, t4, t5, t6; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.HelixIdxsChange) { + t1 = store.get$state(store).get$design().helices; + t1 = t1.get$keys(t1); + t1.toString; + existing_idxs = A.LinkedHashSet_LinkedHashSet$of(t1, t1.$ti._eval$1("Iterable.E")); + t1 = action.idx_replacements; + t2 = t1.get$keys(t1); + t2.toString; + old_idxs = A.LinkedHashSet_LinkedHashSet$of(t2, t2.$ti._eval$1("Iterable.E")); + remaining_idxs = existing_idxs.difference$1(old_idxs); + t2 = t1.get$values(t1); + t2.toString; + t2 = A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E"))._collection$_length; + t3 = t1._map$_map; + if (t2 !== t3._length) { + key_to_idxs = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_List_int); + for (t2 = A._LinkedHashSetIterator$(old_idxs, old_idxs._collection$_modifications, A._instanceType(old_idxs)._precomputed1), t4 = type$.JSArray_int; t2.moveNext$0();) { + t5 = t2._collection$_current; + t6 = t3.$index(0, t5); + t6.toString; + if (key_to_idxs.containsKey$1(0, t6)) { + t6 = key_to_idxs.$index(0, t6); + t6.toString; + J.add$1$ax(t6, t5); + } else + key_to_idxs.$indexSet(0, t6, A._setArrayType([t5], t4)); + } + if (key_to_idxs._length !== t3._length) { + t1 = key_to_idxs.get$entries(key_to_idxs).where$1(0, new A.helix_idxs_change_middleware_closure()).map$1$1(0, new A.helix_idxs_change_middleware_closure0(), type$.String).join$1(0, " and helices "); + B.Window_methods.alert$1(window, "You tried to assign existing helices " + t1 + ". Each helix must have a unique new index; make sure all the integers you write are distinct from each other and do not appear elsewhere in the design"); + return; + } + } + for (t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + if (remaining_idxs.contains$1(0, t1)) { + B.Window_methods.alert$1(window, "Index " + A.S(t1) + " is already taken."); + return; + } + } + } + next.call$1(action); }, - DesignMainLoopoutExtensionLengthComponent: function DesignMainLoopoutExtensionLengthComponent() { + helix_idxs_change_middleware_closure: function helix_idxs_change_middleware_closure() { }, - $DesignMainLoopoutExtensionLengthComponentFactory_closure: function $DesignMainLoopoutExtensionLengthComponentFactory_closure() { + helix_idxs_change_middleware_closure0: function helix_idxs_change_middleware_closure0() { }, - _$$DesignMainLoopoutExtensionLengthProps: function _$$DesignMainLoopoutExtensionLengthProps() { + load_file_middleware(store, action, next) { + var fn, t1; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.PrepareToLoadDNAFile && !action.unit_testing) { + store.dispatch$1(new A._$LoadingDialogShow()); + A.Future_Future$delayed(B.Duration_50000, new A.load_file_middleware_closure(store, action), type$.dynamic); + } else if (action instanceof A.LoadDNAFile && !action.unit_testing) { + next.call$1(action); + fn = action.filename; + if (fn != null) + document.title = fn; + t1 = $.__app._readField$0().__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_design_view_A; + t1 === $ && A.throwLateFieldNI("design_view"); + t1.render$1(0, store.get$state(store)); + if (store.get$state(store).ui_state.storables.autofit && store.get$state(store).maybe_design != null) + self.fit_and_center(); + store.dispatch$1(new A._$LoadingDialogHide()); + if (store.get$state(store).maybe_design != null) + A.set_selectables_css_style_rules(store.get$state(store).get$design(), store.get$state(store).ui_state.storables.edit_modes, store.get$state(store).ui_state.storables.select_mode_state.modes); + } else + next.call$1(action); }, - _$$DesignMainLoopoutExtensionLengthProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_main_loopout_extension_length$_props = t0; - _.DesignMainLoopoutExtensionLengthPropsMixin_geometry = t1; - _.DesignMainLoopoutExtensionLengthPropsMixin_substrand = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + load_file_middleware_closure: function load_file_middleware_closure(t0, t1) { + this.store = t0; + this.action = t1; }, - _$$DesignMainLoopoutExtensionLengthProps$JsMap: function _$$DesignMainLoopoutExtensionLengthProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_main_loopout_extension_length$_props = t0; - _.DesignMainLoopoutExtensionLengthPropsMixin_geometry = t1; - _.DesignMainLoopoutExtensionLengthPropsMixin_substrand = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + save(state, storable) { + var value_string; + if (storable === B.Storable_design) + value_string = A.json_encode(state.maybe_design, false); + else + value_string = storable === B.Storable_app_ui_state_storables ? B.C_JsonCodec.encode$2$toEncodable($.$get$standard_serializers().serialize$1(state.ui_state.storables), null) : null; + if (value_string != null) + window.localStorage.setItem("scadnano:" + storable.name, value_string); }, - _$DesignMainLoopoutExtensionLengthComponent: function _$DesignMainLoopoutExtensionLengthComponent(t0) { - var _ = this; - _._design_main_loopout_extension_length$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + restore(store, storable) { + var e, stackTrace, error_message, exception; + try { + A._restore(store, storable); + } catch (exception) { + e = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + error_message = "ERROR: loading " + A.S(storable) + " from localStorage, encountered this error:\n" + A.S(J.toString$0$(e)) + "\n\nstack trace:\n\n" + A.S(stackTrace); + A.print(error_message); + store.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(error_message)); + } }, - $DesignMainLoopoutExtensionLengthPropsMixin: function $DesignMainLoopoutExtensionLengthPropsMixin() { + _restore(store, storable) { + var storable_json_map, storables, e, stackTrace, storable_json_map0, storables0, e0, stackTrace0, t1, t2, exception, action, + _s16_ = "\n\nstack trace:\n\n", + storable_key = "scadnano:" + storable.name; + if (window.localStorage.getItem(storable_key) != null) { + t1 = window.localStorage.getItem(storable_key); + t1.toString; + if (storable === B.Storable_design) { + t2 = window.localStorage.getItem("scadnano:app_ui_state_storables"); + t2.toString; + storable_json_map = B.C_JsonCodec.decode$1(0, t2); + storables = null; + try { + storables = type$.AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map)); + } catch (exception) { + e = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + A.print("ERROR: in loading storables from localStorage in order to find loaded_filename for design, encountered this error, so a default filename has been chosen:\n" + A.S(J.toString$0$(e)) + _s16_ + A.S(stackTrace)); + } + t2 = storables; + t2 = t2 == null ? null : t2.loaded_filename; + action = A.PrepareToLoadDNAFile_PrepareToLoadDNAFile(t1, B.DNAFileType_scadnano_file, t2 == null ? "default_filename.sc" : t2, false); + } else if (storable === B.Storable_app_ui_state_storables) { + storable_json_map0 = B.C_JsonCodec.decode$1(0, t1); + storables0 = null; + try { + storables0 = type$.AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map0)); + } catch (exception) { + e0 = A.unwrapException(exception); + stackTrace0 = A.getTraceFromException(exception); + A.print("ERROR: in loading storables from localStorage, encountered this error trying to load app_ui_state_storables, so using defaults for UI settings:\n" + A.S(J.toString$0$(e0)) + _s16_ + A.S(stackTrace0)); + storables0 = $.$get$DEFAULT_AppUIStateStorable(); + } + action = A.SetAppUIStateStorable_SetAppUIStateStorable(storables0); + document.title = storables0.loaded_filename; + } else + action = null; + if (action != null) + store.dispatch$1(action); + } }, - _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent() { + restore_all_local_storage(store) { + var t1; + for (t1 = $.$get$_$values5()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + A.restore(store, t1.get$current(t1)); }, - __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin() { + save_storable_async(state, storable) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); + var $async$save_storable_async = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + A.save(state, storable); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$save_storable_async, $async$completer); }, - __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin() { + local_storage_middleware(store, action, next) { + var storables_before, design_before, storables_after, design_after, state_after, t1; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + storables_before = store.get$state(store).ui_state.storables; + design_before = store.get$state(store).maybe_design; + next.call$1(action); + storables_after = store.get$state(store).ui_state.storables; + design_after = store.get$state(store).maybe_design; + state_after = store.get$state(store); + if (!J.$eq$(storables_before, storables_after)) { + t1 = action instanceof A.LoadDNAFile; + if (t1 && action.write_local_storage || !t1) + A.save_storable_async(state_after, B.Storable_app_ui_state_storables); + } + if (storables_after.local_storage_design_choice.option === B.LocalStorageDesignOption_on_edit && !J.$eq$(design_before, design_after)) { + if (!type$.UndoableAction._is(action) && !(action instanceof A.LoadDNAFile) && !(action instanceof A.AutoPasteInitiate) && !(action instanceof A.HelicesPositionsSetBasedOnCrossovers) && !(action instanceof A.Undo) && !(action instanceof A.Redo)) + A.print("WARNING: some Action changed the design, so I am writing the Design to localStorage,\nbut that action is not UndoableAction, LoadDNAFile, Undo, or Redo\naction is " + A.S(action)); + A.save_storable_async(state_after, B.Storable_design); + } + if (action instanceof A.LocalStorageDesignChoiceSet) { + t1 = action.choice.option; + t1 = t1 === B.LocalStorageDesignOption_on_edit || t1 === B.LocalStorageDesignOption_periodic; + } else + t1 = false; + if (t1) + A.save_storable_async(state_after, B.Storable_design); }, - _$DesignMainPotentialVerticalCrossover: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(new L.JsBackedMap({})) : K._$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps(backingProps); + Storable: function Storable(t0) { + this.name = t0; }, - _$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_potential_vertical_crossover$_props = backingMap; - return t1; + oxdna_export_middleware(store, action, next) { + var t1, state, t2, strands_to_export, dat_top, default_filename, $content; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + t1 = action instanceof A.OxdnaExport; + if (t1 || action instanceof A.OxviewExport) { + state = store.get$state(store); + if (action.get$selected_strands_only()) { + t2 = store.get$state(store).ui_state.selectables_store.get$selected_strands()._set; + strands_to_export = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + if (strands_to_export.length === 0) { + B.Window_methods.alert$1(window, "No strands are selected, so nothing to export.\nFirst select some strands, or choose Export\ud83e\udc52oxDNA to export all strands in the design."); + return; + } + } else { + t2 = state.get$design().strands; + strands_to_export = new A.CopyOnWriteList(true, t2._list, A._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + } + if (t1) { + dat_top = A.to_oxdna_format(state.get$design(), strands_to_export); + default_filename = state.ui_state.storables.loaded_filename; + t1 = $.$get$context(); + t2 = t1.withoutExtension$1(default_filename); + t1 = t1.withoutExtension$1(default_filename); + A.save_file(t2 + ".dat", dat_top.item1, null, B.BlobType_0); + A.save_file(t1 + ".top", dat_top.item2, null, B.BlobType_0); + } else if (action instanceof A.OxviewExport) { + $content = A.to_oxview_format(state.get$design(), strands_to_export); + default_filename = state.ui_state.storables.loaded_filename; + A.save_file($.$get$context().withoutExtension$1(default_filename) + ".oxview", $content, null, B.BlobType_0); + } } + next.call$1(action); }, - _$$DesignMainPotentialVerticalCrossoverProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new K._$$DesignMainPotentialVerticalCrossoverProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_potential_vertical_crossover$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + to_oxview_format(design, strands_to_export) { + var t7, sc_strand, oxdna_strand, oxvnucs, oxv_strand, scolor, index_in_strand, nuc, t8, t9, t10, oxvnuc, base_pairs_map, offset, domain1, domain2, sc_strand1, sc_strand2, oxv_strand1, oxv_strand2, d1, d2, s1_nuc_idx, b, + _s8_ = "monomers", + _s2_ = "bp", + system = A.convert_design_to_oxdna_system(design, strands_to_export), + t1 = type$.JSArray_Map_String_dynamic, + oxview_strands = A._setArrayType([], t1), + strand_nuc_start = A._setArrayType([-1], type$.JSArray_int), + t2 = type$.String, + t3 = type$.dynamic, + oxview_strand_map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), + strand_id_to_index = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), + t4 = J.getInterceptor$asx(strands_to_export), + t5 = type$.JSArray_double, + t6 = system.strands, + nuc_count = 0, strand_count = 0, i = 0; + while (true) { + t7 = t4.get$length(strands_to_export); + if (typeof t7 !== "number") + return A.iae(t7); + if (!(i < t7)) + break; + sc_strand = t4.$index(strands_to_export, i); + t7 = sc_strand.__id; + strand_id_to_index.$indexSet(0, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, i); + if (!(i < t6.length)) + return A.ioore(t6, i); + oxdna_strand = t6[i]; + ++strand_count; + oxvnucs = A._setArrayType([], t1); + B.JSArray_methods.add$1(strand_nuc_start, nuc_count); + if (!(i < t6.length)) + return A.ioore(t6, i); + oxv_strand = A.LinkedHashMap_LinkedHashMap$_literal(["id", strand_count, "class", "NucleicAcidStrand", "end5", nuc_count, "end3", nuc_count + t6[i].nucleotides.length, "monomers", oxvnucs], t2, t3); + t7 = sc_strand.__id; + oxview_strand_map.$indexSet(0, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, oxv_strand); + scolor = A.to_cadnano_v2_int_hex(sc_strand.color); + for (index_in_strand = 0; t7 = oxdna_strand.nucleotides, index_in_strand < t7.length; ++index_in_strand) { + nuc = t7[index_in_strand]; + t7 = nuc.center; + t8 = nuc.normal; + t9 = -t8.x; + t10 = -t8.y; + t8 = -t8.z; + t7 = A._setArrayType([t7.x - t9 * 0.6, t7.y - t10 * 0.6, t7.z - t8 * 0.6], t5); + t8 = A._setArrayType([t9, t10, t8], t5); + t10 = nuc.forward; + oxvnuc = A.LinkedHashMap_LinkedHashMap$_literal(["id", nuc_count, "p", t7, "a1", t8, "a3", A._setArrayType([t10.x, t10.y, t10.z], t5), "class", "DNA", "type", nuc.base, "cluster", 1], t2, t3); + if (index_in_strand !== 0) + oxvnuc.$indexSet(0, "n5", nuc_count - 1); + if (index_in_strand !== oxdna_strand.nucleotides.length - 1) + oxvnuc.$indexSet(0, "n3", nuc_count + 1); + oxvnuc.$indexSet(0, "color", scolor); + ++nuc_count; + B.JSArray_methods.add$1(oxvnucs, oxvnuc); + } + B.JSArray_methods.add$1(oxview_strands, oxv_strand); + ++i; + } + base_pairs_map = design.base_pairs_with_domain_strand$3(false, true, A._BuiltSet$of(t4.toSet$0(strands_to_export), type$.Strand)); + for (t1 = base_pairs_map.get$keys(base_pairs_map), t4 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t1)._precomputed1), t4 = base_pairs_map._map$_map, t6 = type$.Map_String_dynamic; t1.moveNext$0();) + for (t7 = t4.$index(0, t1.__js_helper$_current)._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t7.moveNext$0();) { + t8 = t7.__interceptors$_current; + offset = t8.item1; + domain1 = t8.item2; + domain2 = t8.item3; + sc_strand1 = t8.item4; + sc_strand2 = t8.item5; + t8 = sc_strand1.__id; + oxv_strand1 = t6._as(oxview_strand_map.$index(0, t8 == null ? sc_strand1.__id = A.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t8)); + t8 = sc_strand2.__id; + oxv_strand2 = t6._as(oxview_strand_map.$index(0, t8 == null ? sc_strand2.__id = A.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t8)); + d1 = sc_strand1.domain_offset_to_strand_dna_idx$3(domain1, offset, false); + d2 = sc_strand2.domain_offset_to_strand_dna_idx$3(domain2, offset, false); + t8 = sc_strand1.__id; + t8 = strand_id_to_index.$index(0, t8 == null ? sc_strand1.__id = A.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t8); + t8.toString; + ++t8; + if (!(t8 < strand_nuc_start.length)) + return A.ioore(strand_nuc_start, t8); + s1_nuc_idx = strand_nuc_start[t8]; + t8 = sc_strand2.__id; + t8 = strand_id_to_index.$index(0, t8 == null ? sc_strand2.__id = A.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t8); + t8.toString; + ++t8; + if (!(t8 < strand_nuc_start.length)) + return A.ioore(strand_nuc_start, t8); + t8 = strand_nuc_start[t8] + d2; + J.$indexSet$ax(J.$index$asx(oxv_strand1.$index(0, _s8_), d1), _s2_, t8); + if (J.containsKey$1$x(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_)) { + t9 = s1_nuc_idx + d1; + if (!J.$eq$(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_), t9)) { + A.printString("" + t8 + " " + t9 + " " + A.S(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_)) + " " + domain1.toString$0(0) + " " + domain2.toString$0(0)); + B.Window_methods.alert$1(window, "You have found a bug in scadnano, please file a bug report."); + } + } + } + b = system.compute_bounding_box$0(); + return B.C_JsonCodec.encode$2$toEncodable(A.LinkedHashMap_LinkedHashMap$_literal(["box", A._setArrayType([b.x, b.y, b.z], t5), "date", new A.DateTime(Date.now(), false).toIso8601String$0(), "systems", A._setArrayType([A.LinkedHashMap_LinkedHashMap$_literal(["id", 0, "strands", oxview_strands], t2, type$.Object)], type$.JSArray_Map_String_Object), "forces", [], "selections", []], t2, t3), null); }, - DesignMainPotentialVerticalCrossoverPropsMixin: function DesignMainPotentialVerticalCrossoverPropsMixin() { + to_oxdna_format(design, strands_to_export) { + return A.convert_design_to_oxdna_system(design, strands_to_export).oxdna_output$0(); }, - DesignMainPotentialVerticalCrossoverComponent: function DesignMainPotentialVerticalCrossoverComponent() { + OxdnaVector$(x, y, z) { + return new A.OxdnaVector(x, y, z); }, - DesignMainPotentialVerticalCrossoverComponent_render_closure: function DesignMainPotentialVerticalCrossoverComponent_render_closure(t0) { - this.crossover = t0; + convert_design_to_oxdna_system(design, strands_to_export) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, offset, grid, yaw_axis, pitch_axis, roll_axis, position, t13, t14, strand_domains, t15, ss_idx, domain, t16, ox_strand, seq, t17, origin_forward_normal, origin, $forward, normal, t18, t19, deletions, insertions, t20, t21, index, t22, t23, mod, i, t24, t25, t26, t27, t28, t29, t30, norm, forw, t31, t32, base, sstrand, dstrand_is_loopout, dstrand, prev_nuc, next_nuc, strand_length, unit, len, loopout_idx, loopout_idx0, old_nuc, len0, sstrand0, + system = new A.OxdnaSystem(A._setArrayType([], type$.JSArray_OxdnaStrand)), + geometry = design.geometry, + step_rot = -360 / geometry.bases_per_turn, + t1 = type$.int, + mod_map = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_int); + for (t2 = design.helices, t3 = t2.get$keys(t2), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = t2._map$_map; t3.moveNext$0();) { + t5 = t3.__js_helper$_current; + t6 = t4.$index(0, t5); + t6.toString; + mod_map.$indexSet(0, t5, A.List_List$filled(t6.max_offset - t6.min_offset, 0, false, t1)); + } + for (t3 = J.getInterceptor$ax(strands_to_export), t5 = t3.get$iterator(strands_to_export); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__domains; + if (t7 == null) { + t7 = A.Strand.prototype.get$domains.call(t6); + t6.set$__domains(t7); + t6 = t7; + } else + t6 = t7; + t6 = t6._list; + t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")); + for (; t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + t8 = t7.helix; + t9 = t4.$index(0, t8); + t9.toString; + for (t10 = t7.insertions._list, t10 = new J.ArrayIterator(t10, t10.length, A._arrayInstanceType(t10)._eval$1("ArrayIterator<1>")), t9 = t9.min_offset; t10.moveNext$0();) { + t11 = t10.__interceptors$_current; + t12 = mod_map.$index(0, t8); + t12.toString; + B.JSArray_methods.$indexSet(t12, t11.offset - t9, t11.length); + } + for (t7 = t7.deletions._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t7.moveNext$0();) { + t10 = t7.__interceptors$_current; + t11 = mod_map.$index(0, t8); + t11.toString; + if (typeof t10 !== "number") + return t10.$sub(); + B.JSArray_methods.$indexSet(t11, t10 - t9, -1); + } + } + } + for (t2 = t2.get$keys(t2), t5 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t2)._precomputed1); t2.moveNext$0();) { + t5 = t2.__js_helper$_current; + t6 = t4.$index(0, t5); + t6.toString; + for (offset = t6.min_offset + 1, t6 = t6.max_offset; offset < t6; ++offset) { + t7 = mod_map.$index(0, t5); + if (!(offset >= 0 && offset < t7.length)) + return A.ioore(t7, offset); + t8 = t7[offset]; + t9 = mod_map.$index(0, t5); + t10 = offset - 1; + if (!(t10 >= 0 && t10 < t9.length)) + return A.ioore(t9, t10); + B.JSArray_methods.$indexSet(t7, offset, t8 + t9[t10]); + } + } + t2 = type$.Tuple3_OxdnaVector_OxdnaVector_OxdnaVector; + t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t6 = t4.get$entries(t4), t6 = t6.get$iterator(t6), t7 = design.groups; t6.moveNext$0();) { + t8 = t6.get$current(t6); + t9 = t8.key; + t8 = t8.value; + t10 = t8.group; + t11 = t7._map$_map; + t12 = t11.$index(0, t10); + t12.toString; + grid = t12.grid; + yaw_axis = new A.OxdnaVector(0, 1, 0); + pitch_axis = new A.OxdnaVector(1, 0, 0).rotate$2(0, -t11.$index(0, t10).yaw, yaw_axis); + roll_axis = new A.OxdnaVector(0, 0, 1).rotate$2(0, -t11.$index(0, t10).yaw, yaw_axis); + yaw_axis = yaw_axis.rotate$2(0, t11.$index(0, t10).pitch, pitch_axis); + roll_axis = roll_axis.rotate$2(0, t11.$index(0, t10).pitch, pitch_axis); + yaw_axis = yaw_axis.rotate$2(0, -(t11.$index(0, t10).roll + t8.roll), roll_axis); + A.Position3D_Position3D(0, 0, 0); + if (grid === B.Grid_none) { + position = t8.position_; + if (position == null) { + t10 = t8.grid_position; + t10.toString; + position = A.grid_position_to_position3d(t10, t8.grid, t8.geometry); + } + } else { + t8 = t8.grid_position; + t8.toString; + position = A.grid_position_to_position3d(t8, grid, geometry); + } + t8 = t12.position; + position = A.Position3D_Position3D(position.x + t8.x, position.y + t8.y, position.z + t8.z); + t5.$indexSet(0, t9, new A.Tuple3(new A.OxdnaVector(position.x * 1.173984503404555, position.y * 1.173984503404555, position.z * 1.173984503404555), roll_axis, new A.OxdnaVector(-yaw_axis.x, -yaw_axis.y, -yaw_axis.z), t2)); + } + for (t2 = t3.get$iterator(strands_to_export), t3 = system.strands, t6 = type$.JSArray_OxdnaNucleotide, t7 = type$.Tuple2_OxdnaStrand_bool, t8 = geometry.rise_per_base_pair, t9 = -geometry.minor_groove_angle, t10 = type$.JSArray_String, t11 = type$.ReversedListIterable_String, t12 = type$.OxdnaNucleotide, t13 = type$.JSArray_Tuple2_OxdnaStrand_bool; t2.moveNext$0();) { + t14 = t2.get$current(t2); + strand_domains = A._setArrayType([], t13); + for (t15 = t14.substrands._list, ss_idx = 0; ss_idx < t15.length; ++ss_idx) { + domain = t15[ss_idx]; + t16 = A._setArrayType([], t6); + ox_strand = new A.OxdnaStrand(t16); + seq = domain.get$dna_sequence(); + if (seq == null) + seq = B.JSString_methods.$mul("T", domain.dna_length$0()); + if (domain instanceof A.Domain) { + t16 = domain.helix; + t17 = t4.$index(0, t16); + t17.toString; + origin_forward_normal = t5.$index(0, t17.idx); + origin = origin_forward_normal.item1; + $forward = origin_forward_normal.item2; + normal = origin_forward_normal.item3; + t18 = domain.forward; + t19 = !t18; + if (t19) { + normal = normal.rotate$2(0, t9, $forward); + seq = new A.ReversedListIterable(A._setArrayType(seq.split(""), t10), t11).join$1(0, ""); + } + normal = normal.rotate$2(0, t18 ? 20 : -20, $forward); + deletions = A.LinkedHashSet_LinkedHashSet$from(domain.deletions, t1); + insertions = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t20 = domain.insertions._list, t20 = new J.ArrayIterator(t20, t20.length, A._arrayInstanceType(t20)._eval$1("ArrayIterator<1>")); t20.moveNext$0();) { + t21 = t20.__interceptors$_current; + insertions.$indexSet(0, t21.offset, t21.length); + } + for (offset = domain.start, t20 = domain.end, t21 = seq.length, t17 = t17.min_offset, index = 0; offset < t20; ++offset) + if (!deletions.contains$1(0, offset)) { + t22 = mod_map.$index(0, t16); + t23 = offset - t17; + if (!(t23 >= 0 && t23 < t22.length)) + return A.ioore(t22, t23); + mod = t22[t23]; + if (insertions.containsKey$1(0, offset)) { + t22 = insertions.$index(0, offset); + t22.toString; + for (t23 = offset + mod - t22, i = 0; i < t22; ++i) { + t24 = t23 + i; + t25 = $forward.x; + t26 = $forward.y; + t27 = $forward.z; + t28 = origin.x; + t29 = origin.y; + t30 = origin.z; + norm = normal.rotate$2(0, step_rot * t24, $forward); + forw = t18 ? new A.OxdnaVector(-t25, -t26, -t27) : $forward; + if (!(index >= 0 && index < t21)) + return A.ioore(seq, index); + t31 = seq[index]; + t32 = $.$get$_OXDNA_ORIGIN(); + B.JSArray_methods.add$1(ox_strand.nucleotides, new A.OxdnaNucleotide(new A.OxdnaVector(t28 + t25 * t24 * t8 * 1.173984503404555, t29 + t26 * t24 * t8 * 1.173984503404555, t30 + t27 * t24 * t8 * 1.173984503404555), norm, forw, t31, t32, t32)); + ++index; + } + } + t22 = offset + mod; + t23 = $forward.x; + t24 = $forward.y; + t25 = $forward.z; + t26 = origin.x; + t27 = origin.y; + t28 = origin.z; + norm = normal.rotate$2(0, step_rot * t22, $forward); + forw = t18 ? new A.OxdnaVector(-t23, -t24, -t25) : $forward; + if (!(index >= 0 && index < t21)) + return A.ioore(seq, index); + t29 = seq[index]; + t30 = $.$get$_OXDNA_ORIGIN(); + B.JSArray_methods.add$1(ox_strand.nucleotides, new A.OxdnaNucleotide(new A.OxdnaVector(t26 + t23 * t22 * t8 * 1.173984503404555, t27 + t24 * t22 * t8 * 1.173984503404555, t28 + t25 * t22 * t8 * 1.173984503404555), norm, forw, t29, t30, t30)); + ++index; + } + if (t19) { + t16 = ox_strand.nucleotides; + ox_strand.set$nucleotides(A.List_List$from(new A.ReversedListIterable(t16, A._arrayInstanceType(t16)._eval$1("ReversedListIterable<1>")), true, t12)); + } + B.JSArray_methods.add$1(strand_domains, new A.Tuple2(ox_strand, false, t7)); + } else if (domain instanceof A.Loopout) { + for (t16 = domain.loopout_num_bases, t17 = seq.length, i = 0; i < t16; ++i) { + if (!(i < t17)) + return A.ioore(seq, i); + base = seq[i]; + t18 = $.$get$_OXDNA_ORIGIN(); + B.JSArray_methods.add$1(ox_strand.nucleotides, new A.OxdnaNucleotide(new A.OxdnaVector(0, 0, 0), new A.OxdnaVector(0, -1, 0), new A.OxdnaVector(0, 0, 1), base, t18, t18)); + } + B.JSArray_methods.add$1(strand_domains, new A.Tuple2(ox_strand, true, t7)); + } else if (domain instanceof A.Extension) { + B.JSArray_methods.addAll$1(t16, A._compute_extension_nucleotides(design, t5, ss_idx === 0, mod_map, t14)); + B.JSArray_methods.add$1(strand_domains, new A.Tuple2(ox_strand, false, t7)); + } else + throw A.wrapException(A.AssertionError$("unreachable")); + } + sstrand = new A.OxdnaStrand(A._setArrayType([], t6)); + for (i = 0; t14 = strand_domains.length, i < t14; ++i, sstrand = sstrand0) { + dstrand_is_loopout = strand_domains[i]; + dstrand = dstrand_is_loopout.item1; + if (A.boolConversionCheck(dstrand_is_loopout.item2)) { + t15 = i - 1; + if (!(t15 >= 0)) + return A.ioore(strand_domains, t15); + prev_nuc = B.JSArray_methods.get$last(strand_domains[t15].item1.nucleotides); + t15 = i + 1; + if (!(t15 < strand_domains.length)) + return A.ioore(strand_domains, t15); + next_nuc = B.JSArray_methods.get$first(strand_domains[t15].item1.nucleotides); + strand_length = dstrand.nucleotides.length; + t15 = next_nuc.center; + t14 = prev_nuc.center; + t16 = t14.x; + t17 = t15.x - t16; + t18 = t14.y; + t19 = t15.y - t18; + t14 = t14.z; + t15 = t15.z - t14; + $forward = new A.OxdnaVector(t17, t19, t15); + unit = new A.OxdnaVector(1, 0, 0); + len = $forward.length$0(0); + normal = (1 - Math.abs(t17 / len + t19 / len * 0 + t15 / len * 0) < 0.001 ? new A.OxdnaVector(0, 1, 0) : unit).cross$1($forward); + for (t20 = strand_length + 1, t21 = normal.x, t22 = normal.y, t23 = normal.z, loopout_idx = 0; loopout_idx < strand_length; loopout_idx = loopout_idx0) { + loopout_idx0 = loopout_idx + 1; + t24 = loopout_idx0 / t20; + t25 = dstrand.nucleotides; + if (!(loopout_idx < t25.length)) + return A.ioore(t25, loopout_idx); + old_nuc = t25[loopout_idx]; + len = normal.length$0(0); + len0 = $forward.length$0(0); + t25 = old_nuc.base; + t26 = $.$get$_OXDNA_ORIGIN(); + B.JSArray_methods.$indexSet(dstrand.nucleotides, loopout_idx, new A.OxdnaNucleotide(new A.OxdnaVector(t16 + t17 * t24, t18 + t19 * t24, t14 + t15 * t24), new A.OxdnaVector(t21 / len, t22 / len, t23 / len), new A.OxdnaVector(t17 / len0, t19 / len0, t15 / len0), t25, t26, t26)); + } + } + sstrand0 = new A.OxdnaStrand(A._setArrayType([], t6)); + sstrand0.set$nucleotides(B.JSArray_methods.$add(sstrand.nucleotides, dstrand.nucleotides)); + } + B.JSArray_methods.add$1(t3, sstrand); + } + return system; }, - $DesignMainPotentialVerticalCrossoverComponentFactory_closure: function $DesignMainPotentialVerticalCrossoverComponentFactory_closure() { + _compute_extension_nucleotides(design, helix_vectors, is_5p, mod_map, strand) { + var offset, origin_forward_normal, origin_, $forward, normal, t4, cen, norm, forw, ext, seq, nucs, i, base, t5, + geometry = design.geometry, + t1 = geometry.bases_per_turn, + adj_dom = is_5p ? B.JSArray_methods.get$first(strand.get$domains()._list) : B.JSArray_methods.get$last(strand.get$domains()._list), + t2 = adj_dom.helix, + t3 = design.helices._map$_map.$index(0, t2); + t3.toString; + offset = is_5p ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(); + origin_forward_normal = helix_vectors.$index(0, t2); + origin_ = origin_forward_normal.item1; + $forward = origin_forward_normal.item2; + normal = origin_forward_normal.item3; + t4 = adj_dom.forward; + if (!t4) + normal = normal.rotate$2(0, -geometry.minor_groove_angle, $forward); + normal = normal.rotate$2(0, t4 ? 20 : -20, $forward).normalize$0(0); + t2 = mod_map.$index(0, t2); + t3 = offset - t3.min_offset; + if (!(t3 >= 0 && t3 < t2.length)) + return A.ioore(t2, t3); + t3 = offset + t2[t3]; + cen = origin_.$add(0, $forward.$mul(0, t3).$mul(0, geometry.rise_per_base_pair).$mul(0, 1.173984503404555)); + norm = normal.rotate$2(0, -360 / t1 * t3, $forward); + forw = t4 ? $forward.$negate(0) : $forward; + t1 = strand.substrands; + ext = is_5p ? B.JSArray_methods.get$first(t1._list) : B.JSArray_methods.get$last(t1._list); + seq = ext.get$dna_sequence(); + if (seq == null) + seq = B.JSString_methods.$mul("T", ext.dna_length$0()); + if (is_5p) + seq = new A.ReversedListIterable(A._setArrayType(seq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$1(0, ""); + nucs = A._setArrayType([], type$.JSArray_OxdnaNucleotide); + for (t1 = seq.length, t2 = norm.x, t3 = norm.y, t4 = norm.z, i = 0; i < t1; ++i) { + base = seq[i]; + cen = new A.OxdnaVector(cen.x + t2, cen.y + t3, cen.z + t4); + t5 = $.$get$_OXDNA_ORIGIN(); + B.JSArray_methods.add$1(nucs, new A.OxdnaNucleotide(cen, forw, norm, base, t5, t5)); + } + return is_5p ? A.List_List$from(new A.ReversedListIterable(nucs, type$.ReversedListIterable_OxdnaNucleotide), true, type$.OxdnaNucleotide) : nucs; }, - _$$DesignMainPotentialVerticalCrossoverProps: function _$$DesignMainPotentialVerticalCrossoverProps() { + OxdnaVector: function OxdnaVector(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.z = t2; }, - _$$DesignMainPotentialVerticalCrossoverProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + OxdnaNucleotide: function OxdnaNucleotide(t0, t1, t2, t3, t4, t5) { var _ = this; - _._design_main_potential_vertical_crossover$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainPotentialVerticalCrossoverPropsMixin_potential_vertical_crossover = t4; - _.DesignMainPotentialVerticalCrossoverPropsMixin_helices = t5; - _.DesignMainPotentialVerticalCrossoverPropsMixin_groups = t6; - _.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = t7; - _.DesignMainPotentialVerticalCrossoverPropsMixin_helix_idx_to_svg_position_y_map = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + _.center = t0; + _.normal = t1; + _.forward = t2; + _.base = t3; + _.v = t4; + _.L = t5; }, - _$$DesignMainPotentialVerticalCrossoverProps$JsMap: function _$$DesignMainPotentialVerticalCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._design_main_potential_vertical_crossover$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainPotentialVerticalCrossoverPropsMixin_potential_vertical_crossover = t4; - _.DesignMainPotentialVerticalCrossoverPropsMixin_helices = t5; - _.DesignMainPotentialVerticalCrossoverPropsMixin_groups = t6; - _.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = t7; - _.DesignMainPotentialVerticalCrossoverPropsMixin_helix_idx_to_svg_position_y_map = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + OxdnaStrand: function OxdnaStrand(t0) { + this.nucleotides = t0; }, - _$DesignMainPotentialVerticalCrossoverComponent: function _$DesignMainPotentialVerticalCrossoverComponent(t0) { - var _ = this; - _._design_main_potential_vertical_crossover$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + OxdnaSystem: function OxdnaSystem(t0) { + this.strands = t0; }, - $DesignMainPotentialVerticalCrossoverPropsMixin: function $DesignMainPotentialVerticalCrossoverPropsMixin() { + periodic_design_save_local_storage_middleware(store, action, next) { + var t1, choice; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + t1 = action instanceof A.LocalStorageDesignChoiceSet; + if (t1 || action instanceof A.SetAppUIStateStorable) { + if (t1) + choice = action.choice; + else if (action instanceof A.SetAppUIStateStorable) + choice = action.storables.local_storage_design_choice; + else + throw A.wrapException(A.AssertionError$("unreachable")); + if (choice.option === B.LocalStorageDesignOption_periodic) { + t1 = $.timer; + if (t1 != null) { + t1.cancel$0(0); + $.timer = null; + } + A.start_timer_periodic_design_save_local_storage(choice.period_seconds); + } else { + t1 = $.timer; + if (t1 != null) { + t1.cancel$0(0); + $.timer = null; + } + } + } }, - _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent: function _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent() { + start_timer_periodic_design_save_local_storage(period_seconds) { + if (period_seconds > 0) + $.timer = A.Timer_Timer$periodic(A.Duration$(0, 0, period_seconds), new A.start_timer_periodic_design_save_local_storage_closure()); + else + throw A.wrapException(A.AssertionError$("WARNING: period_seconds cannot be <= 0 but is " + period_seconds)); }, - _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + start_timer_periodic_design_save_local_storage_closure: function start_timer_periodic_design_save_local_storage_closure() { }, - __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin() { + save_file_middleware(store, action, next) { + var state; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof A.SaveDNAFile) + A._save_file(state); + else if (type$.UndoableAction._is(action)) + A.change_tab_title(true); + else if (action instanceof A.Undo || action instanceof A.Redo) + A.change_tab_title(state.undo_redo.undo_stack._list.length !== 0); + }, + _save_file(state) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $content; + var $async$_save_file = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $content = A.json_encode(state.get$design(), true); + A.save_file(state.ui_state.storables.loaded_filename, $content, new A._save_file_closure(), B.BlobType_0); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$_save_file, $async$completer); }, - __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin() { + change_tab_title(changed_since_last_save) { + var t1; + if (changed_since_last_save && !J.startsWith$1$s(document.title, "*")) { + t1 = document; + t1.title = B.JSString_methods.$add("*", t1.title); + } else if (!changed_since_last_save && J.startsWith$1$s(document.title, "*")) { + t1 = document; + t1.title = J.substring$1$s(t1.title, 1); + } }, - __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin() { + _save_file_closure: function _save_file_closure() { }, - __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + selections_intersect_box_compute_middleware(store, action, next) { + var state, is_origami, select_modes, select_box, select_box_bbox, t1, elts_overlapping, rope_elt, points, selectable_by_id, t2, t3, t4, t5, overlapping_now_select_mode_enabled, _i, obj, + _s13_ = "main-view-svg"; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.SelectionsAdjustMainView) { + state = store.get$state(store); + is_origami = state.get$design().get$is_origami(); + select_modes = state.ui_state.storables.select_mode_state.modes; + if (action.box) { + select_box = type$.nullable_RectElement._as(document.querySelector("#selection-box-main")); + if (select_box == null) { + A.print("no selection box found, so not changing selections"); + return; + } + select_box_bbox = select_box.getBoundingClientRect(); + t1 = type$.List_SvgElement._as(A.generalized_intersection_list_box(_s13_, select_box_bbox, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? A.selections_intersect_box_compute__interval_intersect$closure() : A.selections_intersect_box_compute__interval_contained$closure())); + elts_overlapping = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); + } else { + rope_elt = type$.PolygonElement._as(document.querySelector("#selection-rope-main")); + if (rope_elt == null) { + A.print("no selection rope found, so not changing selections"); + return; + } + points = A.points_of_polygon_elt(rope_elt); + t1 = type$.List_SvgElement._as(A.generalized_intersection_list_polygon(_s13_, points, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? A.selections_intersect_box_compute__polygon_intersects_rect$closure() : A.selections_intersect_box_compute__polygon_contains_rect$closure())); + elts_overlapping = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); + } + t1 = state.get$design(); + selectable_by_id = t1.__selectable_by_id; + if (selectable_by_id == null) { + selectable_by_id = A.Design.prototype.get$selectable_by_id.call(t1); + t1.set$__selectable_by_id(selectable_by_id); + } + t1 = type$.JSArray_Selectable; + t2 = A._setArrayType([], t1); + for (t3 = A._LinkedHashSetIterator$(elts_overlapping, elts_overlapping._collection$_modifications, A._instanceType(elts_overlapping)._precomputed1), t4 = selectable_by_id._map$_map; t3.moveNext$0();) { + t5 = t3._collection$_current; + if (t4.containsKey$1(0, t5.id)) { + t5 = t4.$index(0, t5.id); + t5.toString; + t2.push(t5); + } + } + overlapping_now_select_mode_enabled = A._setArrayType([], t1); + for (t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) { + obj = t2[_i]; + t3 = obj.get$select_mode(); + if (select_modes._set.contains$1(0, t3)) + B.JSArray_methods.add$1(overlapping_now_select_mode_enabled, obj); + } + store.dispatch$1(A._$SelectOrToggleItems$_(A._BuiltList$of(overlapping_now_select_mode_enabled, type$.Selectable), action.toggle)); + } else + next.call$1(action); }, - PureComponent: function PureComponent() { - } - }, - Y = { - HuffmanTable$: function(lengths) { - var t1 = new Y.HuffmanTable(); - t1.HuffmanTable$1(lengths); - return t1; + points_of_polygon_elt(rope_elt) { + var t2, t3, t4, _i, point_svg, t5, t6, + point_list = rope_elt.points, + t1 = A._setArrayType([], type$.JSArray_Point), + i = 0; + while (true) { + t2 = point_list.length; + t2.toString; + if (!(i < t2)) + break; + t1.push(point_list.getItem(i)); + ++i; + } + t2 = A._setArrayType([], type$.JSArray_Point_double); + for (t3 = t1.length, t4 = type$.Point_double, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + point_svg = t1[_i]; + t5 = point_svg.x; + t5.toString; + t6 = point_svg.y; + t6.toString; + t2.push(new A.Point(t5, t6, t4)); + } + return t2; }, - HuffmanTable: function HuffmanTable() { - this.__HuffmanTable_table = $; - this.maxCodeLength = 0; - this.minCodeLength = 2147483647; + generalized_intersection_list_polygon(classname, polygon, select_modes, is_origami, overlap) { + var t1, t2, t3, elt_bbox_svg_rect, t4, t5, t6, t7, + elts_intersecting = A._setArrayType([], type$.JSArray_SvgElement); + for (t1 = J.get$iterator$ax(A.find_selectable_elements(select_modes, is_origami)), t2 = type$.double; t1.moveNext$0();) { + t3 = t1.get$current(t1); + elt_bbox_svg_rect = t3.getBBox(); + t4 = elt_bbox_svg_rect.x; + t4.toString; + t5 = elt_bbox_svg_rect.y; + t5.toString; + t6 = elt_bbox_svg_rect.width; + t6.toString; + t7 = elt_bbox_svg_rect.height; + t7.toString; + if (A.boolConversionCheck(overlap.call$2(polygon, A.Rectangle$(t4, t5, t6, t7, t2)))) + B.JSArray_methods.add$1(elts_intersecting, t3); + } + return elts_intersecting; }, - $jc: function(hash, value) { - if (typeof value !== "number") - return H.iae(value); - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; + generalized_intersection_list_box(classname, select_box_bbox, select_modes, is_origami, overlap) { + var t1, t2, elt_bbox, t3, t4, t5, t6, t7, t8, t9, t10, + elts_intersecting = A._setArrayType([], type$.JSArray_SvgElement); + for (t1 = J.get$iterator$ax(A.find_selectable_elements(select_modes, is_origami)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + elt_bbox = t2.getBoundingClientRect(); + t3 = elt_bbox.left; + t3.toString; + t4 = elt_bbox.width; + t4.toString; + t5 = elt_bbox.top; + t5.toString; + t6 = elt_bbox.height; + t6.toString; + t7 = select_box_bbox.left; + t7.toString; + t8 = select_box_bbox.width; + t8.toString; + t9 = select_box_bbox.top; + t9.toString; + t10 = select_box_bbox.height; + t10.toString; + if (A.boolConversionCheck(overlap.call$4(t3, t3 + t4, t7, t7 + t8))) { + t3 = elt_bbox.top; + t3.toString; + t4 = select_box_bbox.top; + t4.toString; + t10 = A.boolConversionCheck(overlap.call$4(t3, t5 + t6, t4, t9 + t10)); + t3 = t10; + } else + t3 = false; + if (t3) + B.JSArray_methods.add$1(elts_intersecting, t2); + } + return elts_intersecting; }, - $jf: function(hash) { - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; + interval_contained(l1, h1, l2, h2) { + if (typeof l1 !== "number") + return l1.$ge(); + if (typeof l2 !== "number") + return A.iae(l2); + return l1 >= l2 && h1 <= h2; }, - BuiltValueNullFieldError$: function(type, field) { - return new Y.BuiltValueNullFieldError(type, field); + interval_intersect(l1, h1, l2, h2) { + var t1; + if (typeof l2 !== "number") + return l2.$gt(); + if (!(l2 > h1)) { + if (typeof l1 !== "number") + return l1.$gt(); + t1 = l1 > h2; + } else + t1 = true; + return !t1; }, - BuiltValueNestedFieldError$: function(type, field, error) { - return new Y.BuiltValueNestedFieldError(type, field, error); + polygon_contains_rect(polygon, rect) { + var x1, y1, x2, y2, t1, _i; + type$.List_Point_double._as(polygon); + type$.Rectangle_num._as(rect); + x1 = rect.left; + y1 = rect.top; + if (typeof x1 !== "number") + return x1.$add(); + x2 = x1 + rect.width; + if (typeof y1 !== "number") + return y1.$add(); + y2 = y1 + rect.height; + t1 = type$.Point_double; + for (t1 = [new A.Point(x1, y1, t1), new A.Point(x2, y1, t1), new A.Point(x1, y2, t1), new A.Point(x2, y2, t1)], _i = 0; _i < 4; ++_i) + if (!A.polygon_contains_point(polygon, t1[_i])) + return false; + return true; }, - EnumClass: function EnumClass() { + rect_contains_polygon(rect, polygon) { + var t1, x1, y1, t2, t3, _i, polygon_vertex, t4; + for (t1 = polygon.length, x1 = rect.left, y1 = rect.top, t2 = rect.width, t3 = rect.height, _i = 0; _i < t1; ++_i) { + polygon_vertex = polygon[_i]; + if (typeof x1 !== "number") + return x1.$add(); + if (typeof y1 !== "number") + return y1.$add(); + t4 = polygon_vertex.x; + if (typeof t4 !== "number") + return A.iae(t4); + if (x1 <= t4) + if (t4 <= x1 + t2) { + t4 = polygon_vertex.y; + if (typeof t4 !== "number") + return A.iae(t4); + t4 = y1 <= t4 && t4 <= y1 + t3; + } else + t4 = false; + else + t4 = false; + if (!t4) + return false; + } + return true; }, - newBuiltValueToStringHelper_closure: function newBuiltValueToStringHelper_closure() { + polygon_intersects_rect(polygon, rect) { + var x1, y1, x2, y2, t1, up_left, up_right, bot_left, bot_right, _i, rect_line, t2, t3, _i0; + type$.List_Point_double._as(polygon); + type$.Rectangle_num._as(rect); + if (A.rect_contains_polygon(rect, polygon)) + return true; + if (A.polygon_contains_rect(polygon, rect)) + return true; + x1 = rect.left; + y1 = rect.top; + if (typeof x1 !== "number") + return x1.$add(); + x2 = x1 + rect.width; + if (typeof y1 !== "number") + return y1.$add(); + y2 = y1 + rect.height; + t1 = type$.Point_double; + up_left = new A.Point(x1, y1, t1); + up_right = new A.Point(x2, y1, t1); + bot_left = new A.Point(x1, y2, t1); + bot_right = new A.Point(x2, y2, t1); + t1 = [A.Line_Line(up_left, up_right), A.Line_Line(bot_left, bot_right), A.Line_Line(up_left, bot_left), A.Line_Line(up_right, bot_right)]; + _i = 0; + for (; _i < 4; ++_i) { + rect_line = t1[_i]; + for (t2 = A.lines_of_polygon(polygon), t3 = t2.length, _i0 = 0; _i0 < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i0) + if (rect_line.intersects$1(0, t2[_i0])) + return true; + } + return false; }, - IndentingBuiltValueToStringHelper: function IndentingBuiltValueToStringHelper(t0) { - this._result = t0; + polygon_contains_point(polygon, point) { + var t2, _i, max_x, infinite_line_from_point, lines, num_lines_intersecting, + t1 = A._setArrayType([], type$.JSArray_num); + for (t2 = polygon.length, _i = 0; _i < polygon.length; polygon.length === t2 || (0, A.throwConcurrentModificationError)(polygon), ++_i) + t1.push(polygon[_i].x); + max_x = A.MinMaxOfIterable_get_max(t1, type$.num); + if (typeof max_x !== "number") + return max_x.$add(); + infinite_line_from_point = A.Line_Line(point, new A.Point(max_x + 1, point.y, type$.Point_double)); + lines = A.lines_of_polygon(polygon); + for (t1 = lines.length, num_lines_intersecting = 0, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i) + if (infinite_line_from_point.intersects$1(0, lines[_i])) + ++num_lines_intersecting; + return B.JSInt_methods.$mod(num_lines_intersecting, 2) === 1; }, - BuiltValueNullFieldError: function BuiltValueNullFieldError(t0, t1) { - this.type = t0; - this.field = t1; + lines_of_polygon(polygon) { + var i, i0, + lines = A._setArrayType([], type$.JSArray_Line); + for (i = 0; i < polygon.length - 1; i = i0) { + i0 = i + 1; + B.JSArray_methods.add$1(lines, A.Line_Line(polygon[i], polygon[i0])); + } + B.JSArray_methods.add$1(lines, A.Line_Line(B.JSArray_methods.get$last(polygon), B.JSArray_methods.get$first(polygon))); + return lines; }, - BuiltValueNestedFieldError: function BuiltValueNestedFieldError(t0, t1, t2) { - this.type = t0; - this.field = t1; - this.error = t2; + find_selectable_elements(select_modes, is_origami) { + var t2, t3, t4, selectors, _i, mode, + t1 = A._setArrayType([], type$.JSArray_SelectModeChoice); + for (t2 = select_modes._set, t3 = t2.get$iterator(t2); t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (t4 !== B.SelectModeChoice_scaffold && t4 !== B.SelectModeChoice_staple) + t1.push(t4); + } + if (t1.length === 0) + return A._setArrayType([], type$.JSArray_GraphicsElement); + selectors = A._setArrayType([], type$.JSArray_String); + if (is_origami) + t3 = !t2.contains$1(0, B.SelectModeChoice_scaffold) || !t2.contains$1(0, B.SelectModeChoice_staple); + else + t3 = false; + if (t3) { + if (t2.contains$1(0, B.SelectModeChoice_scaffold)) + for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + mode = t1[_i]; + B.JSArray_methods.add$1(selectors, "." + B.SelectModeChoice_scaffold.css_selector$0() + "." + mode.css_selector$0()); + } + else if (t2.contains$1(0, B.SelectModeChoice_staple)) + for (t1 = t2.get$iterator(t2); t1.moveNext$0();) { + t2 = t1.get$current(t1); + B.JSArray_methods.add$1(selectors, ":not(." + B.SelectModeChoice_scaffold.css_selector$0() + ")." + t2.css_selector$0()); + } + } else + for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) + B.JSArray_methods.add$1(selectors, "." + t1[_i].css_selector$0()); + t1 = B.JSArray_methods.join$1(selectors, ", "); + t2 = document; + A.checkTypeBound(type$.GraphicsElement, type$.Element, "T", "querySelectorAll"); + return new A._FrozenElementList(t2.querySelectorAll(t1), type$._FrozenElementList_GraphicsElement); }, - _getRawName: function(type) { - var $name = J.toString$0$(type), - genericsStart = J.indexOf$1$asx($name, "<"); - return genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); + Box$(x, y, height, width) { + var t1 = new A.Box(x, y); + t1.width = width; + t1.height = height; + return t1; }, - _noSerializerMessageFor: function(typeName) { - var maybeRecordAdvice = J.contains$1$asx(typeName, "(") ? " Note that record types are not automatically serializable, please write and install your own `Serializer`." : ""; - return "No serializer for '" + typeName + "'." + maybeRecordAdvice; + generalized_intersection_list(elts, bboxes, select_box, overlap, $E) { + var elts_intersecting, t3, i, elt, i0, elt_bbox, t4, t5, t6, t7, t8, t9, + t1 = elts.__internal$_iterable, + t2 = J.getInterceptor$asx(t1); + if (t2.get$length(t1) !== bboxes.length) + throw A.wrapException(A.ArgumentError$("elts (length " + A.S(elts.get$length(elts)) + ") and bboxes (length " + bboxes.length + ") must have same length", null)); + elts_intersecting = A._setArrayType([], $E._eval$1("JSArray<0>")); + for (t3 = A._instanceType(elts), t3 = new A.MappedIterator(t2.get$iterator(t1), elts._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")), t1 = select_box.x, t2 = select_box.y, i = 0; t3.moveNext$0(); i = i0) { + elt = t3.__internal$_current; + i0 = i + 1; + if (!(i < bboxes.length)) + return A.ioore(bboxes, i); + elt_bbox = bboxes[i]; + t4 = elt_bbox.x; + t5 = elt_bbox.width; + if (typeof t4 !== "number") + return t4.$add(); + if (typeof t5 !== "number") + return A.iae(t5); + t6 = select_box.width; + if (typeof t1 !== "number") + return t1.$add(); + if (typeof t6 !== "number") + return A.iae(t6); + t7 = elt_bbox.y; + t8 = elt_bbox.height; + if (typeof t7 !== "number") + return t7.$add(); + if (typeof t8 !== "number") + return A.iae(t8); + t9 = select_box.height; + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t9 !== "number") + return A.iae(t9); + if (A.boolConversionCheck(overlap.call$4(t4, t4 + t5, t1, t1 + t6)) && A.boolConversionCheck(overlap.call$4(t7, t7 + t8, t2, t2 + t9))) + B.JSArray_methods.add$1(elts_intersecting, elt); + } + return elts_intersecting; }, - BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) { + Box: function Box(t0, t1) { var _ = this; - _._typeToSerializer = t0; - _._wireNameToSerializer = t1; - _._typeNameToSerializer = t2; - _.builderFactories = t3; - _.serializerPlugins = t4; + _.width = _.height = -1; + _.x = t0; + _.y = t1; }, - BuiltJsonSerializersBuilder: function BuiltJsonSerializersBuilder(t0, t1, t2, t3, t4) { - var _ = this; - _._typeToSerializer = t0; - _._wireNameToSerializer = t1; - _._typeNameToSerializer = t2; - _._builderFactories = t3; - _._plugins = t4; + app_state_reducer(state, action) { + var t1, modify_undo_redo_stacks, state0, t2, _box_0 = {}; + _box_0.state = state; + _box_0.action = action; + if (action instanceof A.SkipUndo) { + t1 = _box_0.action = action.undoable_action; + modify_undo_redo_stacks = false; + } else { + t1 = action; + modify_undo_redo_stacks = true; + } + if (t1 instanceof A.LoadDNAFile) + return A.load_dna_file_reducer(state, t1); + state0 = _box_0.state = $.$get$undo_redo_reducer().call$2(state, t1); + t1 = modify_undo_redo_stacks ? _box_0.state = $.$get$undoable_action_reducer().call$2(state0, t1) : state0; + state0 = t1.rebuild$1(new A.app_state_reducer_closure(_box_0)); + _box_0.state = state0; + _box_0.state = state0.rebuild$1(new A.app_state_reducer_closure0(_box_0, state)); + t1 = _box_0.action; + if (t1 instanceof A.BatchAction) + for (t1 = t1.actions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + _box_0.state = A.app_state_reducer(_box_0.state, A.SkipUndo_SkipUndo(t2)); + } + t1 = _box_0.state; + if (t1 == null) + throw A.wrapException(A.ArgumentError$("reducer returned a null state, which is disallowed", null)); + return t1; }, - Level: function Level(t0, t1) { - this.name = t0; - this.value = t1; + error_message_reducer(_, action) { + A._asStringQ(_); + return type$.ErrorMessageSet._as(action).error_message; }, - _ReduxDevToolsExtensionConnection: function _ReduxDevToolsExtensionConnection() { + app_state_reducer_closure: function app_state_reducer_closure(t0) { + this._box_0 = t0; }, - LocalStorageDesignChoice_LocalStorageDesignChoice: function(option, period_seconds) { - var t1 = new Y.LocalStorageDesignChoiceBuilder(); - type$.legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder._as(new Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure(option, period_seconds)).call$1(t1); - return t1.build$0(); + app_state_reducer_closure0: function app_state_reducer_closure0(t0, t1) { + this._box_0 = t0; + this.original_state = t1; }, - _$valueOf6: function($name) { - switch ($name) { - case "on_edit": - return C.LocalStorageDesignOption_on_edit; - case "on_exit": - return C.LocalStorageDesignOption_on_exit; - case "never": - return C.LocalStorageDesignOption_never; - case "periodic": - return C.LocalStorageDesignOption_periodic; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + ui_state_local_reducer(ui_state, action) { + return ui_state.rebuild$1(new A.ui_state_local_reducer_closure(ui_state, action)); }, - LocalStorageDesignOption: function LocalStorageDesignOption(t0) { - this.name = t0; + helix_change_apply_to_all_reducer(helix_change_apply_to_all, action) { + if (action instanceof A.HelixMajorTickDistanceChange || action instanceof A.HelixMajorTicksChange || action instanceof A.HelixOffsetChange || action instanceof A.HelixMajorTickPeriodicDistancesChange) + return false; + else if (action instanceof A.HelixMajorTickDistanceChangeAll || action instanceof A.HelixMajorTicksChangeAll || action instanceof A.HelixOffsetChangeAll || action instanceof A.HelixMajorTickPeriodicDistancesChangeAll) + return true; + else + return helix_change_apply_to_all; }, - LocalStorageDesignChoice: function LocalStorageDesignChoice() { + potential_crossover_create_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.PotentialCrossoverCreate._as(action); + return true; }, - LocalStorageDesignChoice_LocalStorageDesignChoice_closure: function LocalStorageDesignChoice_LocalStorageDesignChoice_closure(t0, t1) { - this.option = t0; - this.period_seconds = t1; + potential_crossover_remove_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.PotentialCrossoverRemove._as(action); + return false; }, - LocalStorageDesignChoice_to_on_edit_closure: function LocalStorageDesignChoice_to_on_edit_closure() { + dna_ends_move_start_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.DNAEndsMoveStart._as(action); + return true; }, - LocalStorageDesignChoice_to_on_exit_closure: function LocalStorageDesignChoice_to_on_exit_closure() { + dna_ends_move_stop_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.DNAEndsMoveStop._as(action); + return false; }, - LocalStorageDesignChoice_to_never_closure: function LocalStorageDesignChoice_to_never_closure() { + dna_extensions_move_start_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.DNAExtensionsMoveStart._as(action); + return true; }, - LocalStorageDesignChoice_to_periodic_closure: function LocalStorageDesignChoice_to_periodic_closure() { + dna_extensions_move_stop_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.DNAExtensionsMoveStop._as(action); + return false; }, - LocalStorageDesignChoice_change_period_closure: function LocalStorageDesignChoice_change_period_closure(t0) { - this.new_period = t0; + slice_bar_move_start_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.SliceBarMoveStart._as(action); + return true; }, - _$LocalStorageDesignOptionSerializer: function _$LocalStorageDesignOptionSerializer() { + slice_bar_move_stop_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.SliceBarMoveStop._as(action); + return false; }, - _$LocalStorageDesignChoiceSerializer: function _$LocalStorageDesignChoiceSerializer() { + helix_group_move_start_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.HelixGroupMoveStart._as(action); + return true; }, - _$LocalStorageDesignChoice: function _$LocalStorageDesignChoice(t0, t1) { - this.option = t0; - this.period_seconds = t1; + helix_group_move_stop_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.HelixGroupMoveStop._as(action); + return false; }, - LocalStorageDesignChoiceBuilder: function LocalStorageDesignChoiceBuilder() { - this._period_seconds = this._option = this._local_storage_design_choice$_$v = null; + show_dna_reducer(_, action) { + A._asBoolS(_); + return type$.ShowDNASet._as(action).show; }, - _LocalStorageDesignChoice_Object_BuiltJsonSerializable: function _LocalStorageDesignChoice_Object_BuiltJsonSerializable() { + load_dialog_show_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.LoadingDialogShow._as(action); + return true; }, - _$valueOf7: function($name) { - switch ($name) { - case "five_prime": - return C.ModificationType_five_prime; - case "three_prime": - return C.ModificationType_three_prime; - case "internal": - return C.ModificationType_internal; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + load_dialog_hide_app_ui_state_reducer(_, action) { + A._asBoolS(_); + type$.LoadingDialogHide._as(action); + return false; }, - ModificationType: function ModificationType(t0) { - this.name = t0; + show_strand_names_reducer(_, action) { + A._asBoolS(_); + return type$.ShowStrandNamesSet._as(action).show; }, - _$ModificationTypeSerializer: function _$ModificationTypeSerializer() { + show_strand_labels_reducer(_, action) { + A._asBoolS(_); + return type$.ShowStrandLabelsSet._as(action).show; }, - _$DesignMainDomainsMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Y._$$DesignMainDomainsMovingProps$JsMap$(new L.JsBackedMap({})) : Y._$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps(backingProps); + show_domain_names_reducer(_, action) { + A._asBoolS(_); + return type$.ShowDomainNamesSet._as(action).show; }, - _$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Y._$$DesignMainDomainsMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Y._$$DesignMainDomainsMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domains_moving$_props = backingMap; - return t1; - } + show_domain_labels_reducer(_, action) { + A._asBoolS(_); + return type$.ShowDomainLabelsSet._as(action).show; }, - _$$DesignMainDomainsMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Y._$$DesignMainDomainsMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_domains_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + show_modifications_reducer(_, action) { + A._asBoolS(_); + return type$.ShowModificationsSet._as(action).show; }, - ConnectedDesignMainDomainsMoving_closure: function ConnectedDesignMainDomainsMoving_closure() { + modification_display_connector_reducer(_, action) { + A._asBoolS(_); + return type$.SetModificationDisplayConnector._as(action).show; }, - ConnectedDesignMainDomainsMoving__closure: function ConnectedDesignMainDomainsMoving__closure() { + modification_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.ModificationFontSizeSet._as(action).font_size; }, - DesignMainDomainsMovingProps: function DesignMainDomainsMovingProps() { + zoom_speed_reducer(_, action) { + A._asDoubleS(_); + return type$.ZoomSpeedSet._as(action).speed; }, - DesignMainDomainsMovingComponent: function DesignMainDomainsMovingComponent() { + strand_name_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.StrandNameFontSizeSet._as(action).font_size; }, - $DesignMainDomainsMovingComponentFactory_closure: function $DesignMainDomainsMovingComponentFactory_closure() { + domain_name_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.DomainNameFontSizeSet._as(action).font_size; }, - _$$DesignMainDomainsMovingProps: function _$$DesignMainDomainsMovingProps() { + strand_label_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.StrandLabelFontSizeSet._as(action).font_size; }, - _$$DesignMainDomainsMovingProps$PlainMap: function _$$DesignMainDomainsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { - var _ = this; - _._design_main_domains_moving$_props = t0; - _.DesignMainDomainsMovingProps_domains_move = t1; - _.DesignMainDomainsMovingProps_color_of_domain = t2; - _.DesignMainDomainsMovingProps_original_group = t3; - _.DesignMainDomainsMovingProps_current_group = t4; - _.DesignMainDomainsMovingProps_helices = t5; - _.DesignMainDomainsMovingProps_groups = t6; - _.DesignMainDomainsMovingProps_side_selected_helix_idxs = t7; - _.DesignMainDomainsMovingProps_geometry = t8; - _.DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map = t9; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t10; - _.UbiquitousDomPropsMixin__dom = t11; + domain_label_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.DomainLabelFontSizeSet._as(action).font_size; }, - _$$DesignMainDomainsMovingProps$JsMap: function _$$DesignMainDomainsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { - var _ = this; - _._design_main_domains_moving$_props = t0; - _.DesignMainDomainsMovingProps_domains_move = t1; - _.DesignMainDomainsMovingProps_color_of_domain = t2; - _.DesignMainDomainsMovingProps_original_group = t3; - _.DesignMainDomainsMovingProps_current_group = t4; - _.DesignMainDomainsMovingProps_helices = t5; - _.DesignMainDomainsMovingProps_groups = t6; - _.DesignMainDomainsMovingProps_side_selected_helix_idxs = t7; - _.DesignMainDomainsMovingProps_geometry = t8; - _.DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map = t9; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t10; - _.UbiquitousDomPropsMixin__dom = t11; + major_tick_offset_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.MajorTickOffsetFontSizeSet._as(action).font_size; }, - _$DesignMainDomainsMovingComponent: function _$DesignMainDomainsMovingComponent(t0) { - var _ = this; - _._design_main_domains_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + major_tick_width_font_size_reducer(_, action) { + A._asDoubleS(_); + return type$.MajorTickWidthFontSizeSet._as(action).font_size; }, - $DesignMainDomainsMovingProps: function $DesignMainDomainsMovingProps() { + show_mismatches_reducer(_, action) { + A._asBoolS(_); + return type$.ShowMismatchesSet._as(action).show; }, - _DesignMainDomainsMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainsMovingComponent_UiComponent2_PureComponent() { + show_domain_name_mismatches_reducer(_, action) { + A._asBoolS(_); + return type$.ShowDomainNameMismatchesSet._as(action).show_domain_name_mismatches; }, - __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps() { + show_unpaired_insertion_deletions_reducer(_, action) { + A._asBoolS(_); + return type$.ShowUnpairedInsertionDeletionsSet._as(action).show_unpaired_insertion_deletions; }, - __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps() { + invert_y_reducer(_, action) { + A._asBoolS(_); + return type$.InvertYSet._as(action).invert_y; }, - _$DesignSidePotentialHelix: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Y._$$DesignSidePotentialHelixProps$JsMap$(new L.JsBackedMap({})) : Y._$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps(backingProps); + dynamic_helix_update_reducer(_, action) { + A._asBoolS(_); + return type$.DynamicHelixUpdateSet._as(action).dynamically_update_helices; }, - _$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Y._$$DesignSidePotentialHelixProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Y._$$DesignSidePotentialHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_potential_helix$_props = backingMap; - return t1; - } + warn_on_exit_if_unsaved_reducer(_, action) { + A._asBoolS(_); + return type$.WarnOnExitIfUnsavedSet._as(action).warn; }, - _$$DesignSidePotentialHelixProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Y._$$DesignSidePotentialHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_potential_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + show_helix_circles_main_view_reducer(_, action) { + A._asBoolS(_); + return type$.ShowHelixCirclesMainViewSet._as(action).show_helix_circles_main_view; }, - DesignSidePotentialHelixProps: function DesignSidePotentialHelixProps() { + show_helix_components_main_view_reducer(_, action) { + A._asBoolS(_); + return type$.ShowHelixComponentsMainViewSet._as(action).show_helix_components; }, - DesignSidePotentialHelixComponent: function DesignSidePotentialHelixComponent() { + show_edit_mode_menu_reducer(previous_show, action) { + A._asBoolS(previous_show); + type$.ShowEditMenuToggle._as(action); + return !A.boolConversionCheck(previous_show); }, - $DesignSidePotentialHelixComponentFactory_closure: function $DesignSidePotentialHelixComponentFactory_closure() { + show_grid_coordinates_side_view_reducer(_, action) { + A._asBoolS(_); + return type$.ShowGridCoordinatesSideViewSet._as(action).show_grid_coordinates_side_view; }, - _$$DesignSidePotentialHelixProps: function _$$DesignSidePotentialHelixProps() { + show_helices_axis_arrows_reducer(_, action) { + A._asBoolS(_); + return type$.ShowAxisArrowsSet._as(action).show_helices_axis_arrows; }, - _$$DesignSidePotentialHelixProps$PlainMap: function _$$DesignSidePotentialHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._design_side_potential_helix$_props = t0; - _.DesignSidePotentialHelixProps_grid = t1; - _.DesignSidePotentialHelixProps_grid_position = t2; - _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; - _.DesignSidePotentialHelixProps_invert_y = t4; - _.DesignSidePotentialHelixProps_geometry = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + show_loopout_extension_length_reducer(_, action) { + A._asBoolS(_); + return type$.ShowLoopoutExtensionLengthSet._as(action).show_length; }, - _$$DesignSidePotentialHelixProps$JsMap: function _$$DesignSidePotentialHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _._design_side_potential_helix$_props = t0; - _.DesignSidePotentialHelixProps_grid = t1; - _.DesignSidePotentialHelixProps_grid_position = t2; - _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; - _.DesignSidePotentialHelixProps_invert_y = t4; - _.DesignSidePotentialHelixProps_geometry = t5; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + show_slice_bar_reducer(_, action) { + A._asBoolS(_); + return type$.ShowSliceBarSet._as(action).show; }, - _$DesignSidePotentialHelixComponent: function _$DesignSidePotentialHelixComponent(t0) { - var _ = this; - _._design_side_potential_helix$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + slice_bar_offset_set_reducer(_, action) { + A._asIntQ(_); + return type$.SliceBarOffsetSet._as(action).offset; }, - $DesignSidePotentialHelixProps: function $DesignSidePotentialHelixProps() { + disable_png_caching_dna_sequences_reducer(_, action) { + A._asBoolS(_); + return type$.DisablePngCachingDnaSequencesSet._as(action).disable_png_caching_dna_sequences; }, - __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps() { + retain_strand_color_on_selection_reducer(_, action) { + A._asBoolS(_); + return type$.RetainStrandColorOnSelectionSet._as(action).retain_strand_color_on_selection; }, - __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps() { + display_reverse_DNA_right_side_up_reducer(_, action) { + A._asBoolS(_); + return type$.DisplayReverseDNARightSideUpSet._as(action).display_reverse_DNA_right_side_up; }, - _$SelectionBoxView: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Y._$$SelectionBoxViewProps$JsMap$(new L.JsBackedMap({})) : Y._$$SelectionBoxViewProps__$$SelectionBoxViewProps(backingProps); + display_base_offsets_of_major_ticks_reducer(_, action) { + A._asBoolS(_); + return type$.DisplayMajorTicksOffsetsSet._as(action).show; }, - _$$SelectionBoxViewProps__$$SelectionBoxViewProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Y._$$SelectionBoxViewProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Y._$$SelectionBoxViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._selection_box_view$_props = backingMap; - return t1; - } + display_base_offsets_of_major_ticks_only_first_helix_reducer(_, action) { + A._asBoolS(_); + return type$.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(action).show; }, - _$$SelectionBoxViewProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Y._$$SelectionBoxViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._selection_box_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + display_major_tick_widths_all_helices_reducer(_, action) { + A._asBoolS(_); + return type$.SetDisplayMajorTickWidthsAllHelices._as(action).show; }, - ConnectedSelectionBoxView_closure: function ConnectedSelectionBoxView_closure() { + base_pair_type_idx_reducer(set_base_pair_display, action) { + var t1, t2; + type$.BasePairDisplayType._as(set_base_pair_display); + type$.BasePairTypeSet._as(action); + t1 = $.$get$BasePairDisplayType_types(); + t2 = action.selected_idx; + t1 = t1._list; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + return t1[t2]; }, - SelectionBoxViewProps: function SelectionBoxViewProps() { + show_base_pair_lines_reducer(_, action) { + A._asBoolS(_); + return type$.ShowBasePairLinesSet._as(action).show_base_pair_lines; }, - SelectionBoxViewComponent: function SelectionBoxViewComponent() { + show_base_pair_lines_with_mismatches_reducer(_, action) { + A._asBoolS(_); + return type$.ShowBasePairLinesWithMismatchesSet._as(action).show_base_pair_lines_with_mismatches; }, - $SelectionBoxViewComponentFactory_closure: function $SelectionBoxViewComponentFactory_closure() { + export_svg_text_separately_reducer(_, action) { + A._asBoolS(_); + return type$.ExportSvgTextSeparatelySet._as(action).export_svg_text_separately; }, - _$$SelectionBoxViewProps: function _$$SelectionBoxViewProps() { + ox_export_only_selected_strands_reducer(_, action) { + A._asBoolS(_); + return type$.OxExportOnlySelectedStrandsSet._as(action).only_selected; }, - _$$SelectionBoxViewProps$PlainMap: function _$$SelectionBoxViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._selection_box_view$_props = t0; - _.SelectionBoxViewProps_selection_box = t1; - _.SelectionBoxViewProps_stroke_width_getter = t2; - _.SelectionBoxViewProps_id = t3; - _.SelectionBoxViewProps_is_main = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + display_major_tick_widths_reducer(_, action) { + A._asBoolS(_); + return type$.SetDisplayMajorTickWidths._as(action).show; }, - _$$SelectionBoxViewProps$JsMap: function _$$SelectionBoxViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._selection_box_view$_props = t0; - _.SelectionBoxViewProps_selection_box = t1; - _.SelectionBoxViewProps_stroke_width_getter = t2; - _.SelectionBoxViewProps_id = t3; - _.SelectionBoxViewProps_is_main = t4; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + strand_paste_keep_color_reducer(_, action) { + A._asBoolS(_); + return type$.StrandPasteKeepColorSet._as(action).keep; }, - _$SelectionBoxViewComponent: function _$SelectionBoxViewComponent(t0) { - var _ = this; - _._selection_box_view$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + center_on_load_reducer(_, action) { + A._asBoolS(_); + return type$.AutofitSet._as(action).autofit; }, - $SelectionBoxViewProps: function $SelectionBoxViewProps() { + show_oxview_reducer(_, action) { + A._asBoolS(_); + return type$.OxviewShowSet._as(action).show; }, - __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps() { + show_mouseover_data_set_reducer(_, action) { + A._asBoolS(_); + return type$.ShowMouseoverDataSet._as(action).show; }, - __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps() { + only_display_selected_helices_reducer(_, action) { + A._asBoolS(_); + return type$.SetOnlyDisplaySelectedHelices._as(action).only_display_selected_helices; }, - FileLocation$_: function(file, offset) { - if (offset < 0) - H.throwExpression(P.RangeError$("Offset may not be negative, was " + offset + ".")); - else if (offset > file._decodedChars.length) - H.throwExpression(P.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + ".")); - return new Y.FileLocation(file, offset); + default_crossover_type_scaffold_for_setting_helix_rolls_reducer(_, action) { + A._asBoolS(_); + return type$.DefaultCrossoverTypeForSettingHelixRollsSet._as(action).scaffold; }, - SourceFile: function SourceFile(t0, t1, t2) { - var _ = this; - _.url = t0; - _._lineStarts = t1; - _._decodedChars = t2; - _._cachedLine = null; + default_crossover_type_staple_for_setting_helix_rolls_reducer(_, action) { + A._asBoolS(_); + return type$.DefaultCrossoverTypeForSettingHelixRollsSet._as(action).staple; }, - FileLocation: function FileLocation(t0, t1) { - this.file = t0; - this.offset = t1; + dna_assign_options_reducer(_, action) { + type$.DNAAssignOptions._as(_); + return type$.AssignDNA._as(action).dna_assign_options; }, - _FileSpan: function _FileSpan(t0, t1, t2) { - this.file = t0; - this._file$_start = t1; - this._file$_end = t2; + local_storage_design_choice_reducer(_, action) { + var t1; + type$.LocalStorageDesignChoice._as(_); + t1 = type$.LocalStorageDesignChoiceSet._as(action).choice; + return t1.period_seconds > 0 ? t1 : t1.change_period$1(1); }, - SourceSpanMixin: function SourceSpanMixin() { + clear_helix_selection_when_loading_new_design_set_reducer(_, action) { + A._asBoolS(_); + return type$.ClearHelixSelectionWhenLoadingNewDesignSet._as(action).clear; }, - XmlChildrenBase: function XmlChildrenBase() { + changed_since_last_save_undoable_action_reducer(changed_since_last_save, action) { + A._asBoolS(changed_since_last_save); + type$.UndoableAction._as(action); + return true; }, - XmlHasChildren: function XmlHasChildren() { + changed_since_last_save_just_saved_reducer(changed_since_last_save, action) { + A._asBoolS(changed_since_last_save); + type$.SaveDNAFile._as(action); + return false; }, - groupBy: function(values, key, $S, $T) { - var t1, _i, element, t2, t3, - map = P.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>")); - for (t1 = $S._eval$1("JSArray<0>"), _i = 0; _i < 1; ++_i) { - element = values[_i]; - t2 = key.call$1(element); - t3 = map.$index(0, t2); - if (t3 == null) { - t3 = H.setRuntimeTypeInfo([], t1); - map.$indexSet(0, t2, t3); - t2 = t3; + example_designs_idx_set_reducer(example_designs, action) { + var t2, t3, + t1 = type$.ExampleDesigns; + t1._as(example_designs); + type$.ExampleDesignsLoad._as(action); + example_designs.toString; + t2 = type$.void_Function_ExampleDesignsBuilder._as(new A.example_designs_idx_set_reducer_closure(action)); + t3 = new A.ExampleDesignsBuilder(); + A.ExampleDesigns__initializeBuilder(t3); + A.ArgumentError_checkNotNull(example_designs, "other", t1); + t3._example_designs$_$v = example_designs; + type$.nullable_void_Function_ExampleDesignsBuilder._as(t2).call$1(t3); + return t3._example_designs$_build$0(); + }, + app_ui_state_storable_global_reducer(storables, state, action) { + var t2, t3, t4, helices_in_first_group, t1 = {}; + if (action instanceof A.SetAppUIStateStorable) { + storables = action.storables; + t2 = state.maybe_design != null; + if (t2) { + t3 = state.get$design().groups; + t4 = storables.displayed_group_name; + t4 = !t3._map$_map.containsKey$1(0, t4); + t3 = t4; } else - t2 = t3; - C.JSArray_methods.add$1(t2, element); + t3 = false; + if (t3) + storables = storables.rebuild$1(new A.app_ui_state_storable_global_reducer_closure(state)); + t1.slice_bar_offset = 0; + if (t2) { + t2 = state.get$design(); + t3 = state.get$design().groups; + t3 = t3.get$keys(t3); + t3 = t2.helices_in_group$1(t3.get$first(t3)); + helices_in_first_group = t3.get$values(t3); + if (!helices_in_first_group.get$isEmpty(helices_in_first_group)) + t1.slice_bar_offset = A.bounded_offset_in_helices_group(storables.slice_bar_offset, helices_in_first_group); + } + return storables.rebuild$1(new A.app_ui_state_storable_global_reducer_closure0(t1)); } - return map; - } - }, - S = {Inflate: function Inflate(t0, t1, t2, t3) { - var _ = this; - _.__Inflate_input = t0; - _.inputSet = false; - _.output = t1; - _._bitBufferLen = _._inflate$_bitBuffer = 0; - _._fixedLiteralLengthTable = t2; - _._fixedDistanceTable = t3; - }, CopyOnWriteMap: function CopyOnWriteMap(t0, t1, t2) { - var _ = this; - _._copy_on_write_map$_mapFactory = t0; - _._copyBeforeWrite = true; - _._copy_on_write_map$_map = t1; - _.$ti = t2; - }, NullSerializer: function NullSerializer(t0) { - this.types = t0; + return storables.rebuild$1(new A.app_ui_state_storable_global_reducer_closure1(storables, state, action)); }, - HexColor_HexColor: function(hexCode) { - var hexDigits = H.setRuntimeTypeInfo((J.startsWith$1$s(hexCode, "#") ? C.JSString_methods.substring$1(hexCode, 1) : hexCode).split(""), type$.JSArray_String); - return new S.HexColor(P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$2(hexDigits, 0, 2)), 16), P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$2(hexDigits, 2, 4)), 16), P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$1(hexDigits, 4)), 16)); + displayed_group_name_group_remove_reducer(_, state, action) { + var $name, t1, first, last; + A._asStringS(_); + type$.AppState._as(state); + $name = type$.GroupRemove._as(action).name; + t1 = state.get$design().groups; + t1 = t1.get$keys(t1); + first = t1.get$first(t1); + t1 = state.get$design().groups; + t1 = t1.get$keys(t1); + last = t1.get$last(t1); + return $name != first ? first : last; }, - RgbColor$: function(r, g, b) { - return new S.RgbColor(r, g, b); + slice_bar_offset_show_slice_bar_set_reducer(offset, state, action) { + var t1; + A._asIntQ(offset); + type$.AppState._as(state); + if (type$.ShowSliceBarSet._as(action).show) { + t1 = state.get$design().helices_in_group$1(state.ui_state.storables.displayed_group_name); + return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + } else + return offset; }, - RgbColor_RgbColor$name: function($name) { + slice_bar_offset_group_displayed_change_reducer(offset, state, action) { var t1; - if (!C.Map_ACwDL.containsKey$1(0, $name)) - throw H.wrapException(P.ArgumentError$("Only the color names defined by the CSS3 spec are supported. See http://www.w3.org/TR/css3-color/#svg-color for a list of valid color names.")); - t1 = C.Map_ACwDL.$index(0, $name); - t1.toString; - return t1; + A._asIntQ(offset); + type$.AppState._as(state); + type$.GroupDisplayedChange._as(action); + t1 = state.get$design().helices_in_group$1(action.group_name); + return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); }, - Color: function Color() { + slice_bar_offset_group_remove_reducer(offset, state, action) { + var new_group_name, t1; + A._asIntQ(offset); + type$.AppState._as(state); + new_group_name = A.displayed_group_name_group_remove_reducer("NO GROUP NAME DISPLAYED", state, type$.GroupRemove._as(action)); + t1 = state.get$design().helices_in_group$1(new_group_name); + return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); }, - HexColor: function HexColor(t0, t1, t2) { - this.r = t0; - this.g = t1; - this.b = t2; + slice_bar_offset_helix_offset_change_reducer(offset, state, action) { + var t1; + A._asIntQ(offset); + type$.AppState._as(state); + type$.HelixOffsetChange._as(action); + t1 = A.design_global_reducer(state.get$design(), state, action); + t1.toString; + t1 = t1.helices_in_group$1(state.ui_state.storables.displayed_group_name); + return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); }, - RgbColor: function RgbColor(t0, t1, t2) { - this.r = t0; - this.g = t1; - this.b = t2; + slice_bar_offset_helix_offset_change_all_reducer(offset, state, action) { + var t1; + A._asIntQ(offset); + type$.AppState._as(state); + type$.HelixOffsetChangeAll._as(action); + t1 = A.design_global_reducer(state.get$design(), state, action); + t1.toString; + t1 = t1.helices_in_group$1(state.ui_state.storables.displayed_group_name); + return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); }, - UiState0: function UiState0() { + app_ui_state_storable_local_reducer(storables, action) { + return storables.rebuild$1(new A.app_ui_state_storable_local_reducer_closure(storables, action)); }, - UiProps: function UiProps() { + displayed_group_name_change_displayed_group_reducer(_, action) { + A._asStringS(_); + return type$.GroupDisplayedChange._as(action).group_name; }, - UiProps_call_closure: function UiProps_call_closure() { + displayed_group_name_change_name_reducer(displayed_group_name, action) { + A._asStringS(displayed_group_name); + type$.GroupChange._as(action); + return displayed_group_name == action.old_name ? action.new_name : displayed_group_name; }, - PropsMapViewMixin: function PropsMapViewMixin() { + last_mod_5p_modification_add_reducer(modification, action) { + var t1; + type$.nullable_Modification5Prime._as(modification); + t1 = type$.ModificationAdd._as(action).modification; + return t1 instanceof A.Modification5Prime ? t1 : modification; }, - StateMapViewMixin: function StateMapViewMixin() { + last_mod_3p_modification_add_reducer(modification, action) { + var t1; + type$.nullable_Modification3Prime._as(modification); + t1 = type$.ModificationAdd._as(action).modification; + return t1 instanceof A.Modification3Prime ? t1 : modification; }, - MapViewMixin: function MapViewMixin() { + last_mod_int_modification_add_reducer(modification, action) { + var t1; + type$.nullable_ModificationInternal._as(modification); + t1 = type$.ModificationAdd._as(action).modification; + return t1 instanceof A.ModificationInternal ? t1 : modification; }, - PropDescriptor: function PropDescriptor(t0) { - this.key = t0; + load_dna_sequence_image_uri(_, action) { + A._asStringQ(_); + return type$.LoadDnaSequenceImageUri._as(action).uri; }, - PropsMeta: function PropsMeta(t0, t1) { - this.fields = t0; - this.keys = t1; + load_dna_sequence_png_horizontal_offset(_, action) { + A._asDoubleS(_); + return type$.LoadDnaSequenceImageUri._as(action).dna_sequence_png_horizontal_offset; }, - _AccessorMetaCollection: function _AccessorMetaCollection() { + load_dna_sequence_png_vertical_offset(_, action) { + A._asDoubleS(_); + return type$.LoadDnaSequenceImageUri._as(action).dna_sequence_png_vertical_offset; }, - _AccessorMetaCollection_keys_closure: function _AccessorMetaCollection_keys_closure(t0) { - this.$this = t0; + set_export_svg_action_delayed_for_png_cache(_, action) { + type$.nullable_ExportSvg._as(_); + return type$.SetExportSvgActionDelayedForPngCache._as(action).export_svg_action_delayed_for_png_cache; }, - PropsMetaCollection: function PropsMetaCollection(t0) { - this._metaByMixin = t0; + set_is_zoom_above_threshold(_, action) { + A._asBoolS(_); + return type$.SetIsZoomAboveThreshold._as(action).is_zoom_above_threshold; }, - _UiProps_MapBase_MapViewMixin: function _UiProps_MapBase_MapViewMixin() { + side_view_mouse_grid_pos_update_reducer(_, action) { + type$.nullable_GridPosition._as(_); + return type$.MouseGridPositionSideUpdate._as(action).grid_position; }, - _UiProps_MapBase_MapViewMixin_PropsMapViewMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin() { + side_view_mouse_grid_pos_clear_reducer(_, action) { + type$.nullable_GridPosition._as(_); + type$.MouseGridPositionSideClear._as(action); + return null; }, - _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin() { + side_view_mouse_pos_update_reducer(_, action) { + type$.nullable_Point_double._as(_); + return type$.MousePositionSideUpdate._as(action).svg_pos; }, - _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin() { + side_view_mouse_pos_clear_reducer(_, action) { + type$.nullable_Point_double._as(_); + type$.MousePositionSideClear._as(action); + return null; }, - _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin() { + color_picker_strand_show_reducer(_, action) { + type$.nullable_Strand._as(_); + return type$.StrandOrSubstrandColorPickerShow._as(action).strand; }, - _UiState_Object_MapViewMixin: function _UiState_Object_MapViewMixin() { + color_picker_strand_hide_reducer(_, action) { + type$.nullable_Strand._as(_); + type$.StrandOrSubstrandColorPickerHide._as(action); + return null; }, - _UiState_Object_MapViewMixin_StateMapViewMixin: function _UiState_Object_MapViewMixin_StateMapViewMixin() { + color_picker_substrand_show_reducer(_, action) { + type$.nullable_Substrand._as(_); + return type$.StrandOrSubstrandColorPickerShow._as(action).substrand; }, - CssClassPropsMixin: function CssClassPropsMixin() { + color_picker_substrand_hide_reducer(_, action) { + type$.nullable_Substrand._as(_); + type$.StrandOrSubstrandColorPickerHide._as(action); + return null; }, - optimizedRanges: function(ranges) { - var mergedRanges, t1, _i, thisRange, lastRange, t2, t3, matchingCount, t4, - sortedRanges = P.List_List$of(ranges, false, type$.RangeCharPredicate); - C.JSArray_methods.sort$1(sortedRanges, new S.optimizedRanges_closure()); - mergedRanges = H.setRuntimeTypeInfo([], type$.JSArray_RangeCharPredicate); - for (t1 = sortedRanges.length, _i = 0; _i < t1; ++_i) { - thisRange = sortedRanges[_i]; - if (mergedRanges.length === 0) - C.JSArray_methods.add$1(mergedRanges, thisRange); - else { - lastRange = C.JSArray_methods.get$last(mergedRanges); - t2 = lastRange.stop; - if (typeof t2 !== "number") - return t2.$add(); - t3 = thisRange.start; - if (typeof t3 !== "number") - return H.iae(t3); - if (t2 + 1 >= t3) { - t2 = lastRange.start; - t3 = thisRange.stop; - if (typeof t2 !== "number") - return t2.$gt(); - if (typeof t3 !== "number") - return H.iae(t3); - if (t2 > t3) - H.throwExpression(P.ArgumentError$("Invalid range: " + t2 + "-" + t3)); - C.JSArray_methods.$indexSet(mergedRanges, mergedRanges.length - 1, new G.RangeCharPredicate(t2, t3)); - } else - C.JSArray_methods.add$1(mergedRanges, thisRange); - } - } - matchingCount = C.JSArray_methods.fold$1$2(mergedRanges, 0, new S.optimizedRanges_closure0(), type$.int); - if (matchingCount === 0) - return C.ConstantCharPredicate_false; - else { - if (typeof matchingCount !== "number") - return matchingCount.$sub(); - if (matchingCount - 1 === 65535) - return C.ConstantCharPredicate_true; - else { - t1 = mergedRanges.length; - if (t1 === 1) { - if (0 >= t1) - return H.ioore(mergedRanges, 0); - t1 = mergedRanges[0]; - t2 = t1.start; - return t2 == t1.stop ? new G.SingleCharPredicate(t2) : t1; - } else { - t1 = C.JSArray_methods.get$first(mergedRanges).start; - t2 = C.JSArray_methods.get$last(mergedRanges).stop; - t3 = C.JSArray_methods.get$last(mergedRanges).stop; - t4 = C.JSArray_methods.get$first(mergedRanges).start; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = C.JSInt_methods._shrOtherPositive$1(t3 - t4 + 1 + 31, 5); - t1 = new U.LookupCharPredicate(t1, t2, new Uint32Array(t4)); - t1.LookupCharPredicate$1(mergedRanges); - return t1; - } + ui_state_global_reducer(ui_state, state, action) { + return ui_state.rebuild$1(new A.ui_state_global_reducer_closure(ui_state, state, action)); + }, + original_helix_offsets_reducer(original_helix_offsets, state, action) { + var t1, t2, helix_offsets, t3, t4, t5, t6, t7, t8; + if (action instanceof A.StrandsMoveStartSelectedStrands || action instanceof A.StrandCreateStart) { + t1 = original_helix_offsets._map$_map; + t2 = A._instanceType(original_helix_offsets); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helix_offsets = new A.CopyOnWriteMap(original_helix_offsets._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = state.get$design().helices, t1 = t1.get$keys(t1), t3 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t1)._precomputed1), t3 = type$.JSArray_int, t4 = type$.int, t5 = type$._BuiltList_int, t6 = t2._rest[0], t2 = t2._rest[1]; t1.moveNext$0();) { + t7 = t1.__js_helper$_current; + t7 = state.get$design().helices._map$_map.$index(0, t7); + t7.toString; + t8 = new A._BuiltList(A.List_List$from(A._setArrayType([t7.min_offset, t7.max_offset], t3), false, t4), t5); + t8._maybeCheckForNull$0(); + t7 = t6._as(t7.idx); + t2._as(t8); + helix_offsets._maybeCopyBeforeWrite$0(); + helix_offsets._copy_on_write_map$_map.$indexSet(0, t7, t8); } + return A.BuiltMap_BuiltMap$of(helix_offsets, t4, type$.BuiltList_int); } + return original_helix_offsets; }, - optimizedRanges_closure: function optimizedRanges_closure() { - }, - optimizedRanges_closure0: function optimizedRanges_closure0() { - }, - NodeCrypto: function NodeCrypto() { + selection_box_intersection_reducer(_, action) { + A._asBoolS(_); + return type$.SelectionBoxIntersectionRuleSet._as(action).intersect; }, - zip: function(iterables, $T) { - return S.zip$body(iterables, $T, $T._eval$1("List<0*>*")); + ui_state_local_reducer_closure: function ui_state_local_reducer_closure(t0, t1) { + this.ui_state = t0; + this.action = t1; }, - zip$body: function($async$iterables, $async$$T, $async$type) { - return P._makeSyncStarIterable(function() { - var iterables = $async$iterables, - $T = $async$$T; - var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, iterators; - return function $async$zip($async$errorCode, $async$result) { - if ($async$errorCode === 1) { - $async$currentError = $async$result; - $async$goto = $async$handler; - } - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $T._eval$1("Iterator<0*>*"); - t2 = H._arrayInstanceType(iterables); - t3 = t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"); - iterators = P.List_List$of(new H.MappedListIterable(iterables, t2._bind$1(t1)._eval$1("1(2)")._as(new S.zip_closure($T)), t3), false, t3._eval$1("ListIterable.E")); - t1 = $T._eval$1("0*"), t2 = H._arrayInstanceType(iterators), t3 = t2._bind$1(t1)._eval$1("1(2)"), t1 = t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"), t2 = t1._eval$1("ListIterable.E"); - case 2: - // for condition - if (!C.JSArray_methods.every$1(iterators, new S.zip_closure0($T))) { - // goto after for - $async$goto = 3; - break; - } - $async$goto = 4; - return P.List_List$of(new H.MappedListIterable(iterators, t3._as(new S.zip_closure1($T)), t1), false, t2); - case 4: - // after yield - // goto for condition - $async$goto = 2; - break; - case 3: - // after for - // implicit return - return P._IterationMarker_endOfIteration(); - case 1: - // rethrow - return P._IterationMarker_uncaughtError($async$currentError); - } - }; - }, $async$type); + example_designs_idx_set_reducer_closure: function example_designs_idx_set_reducer_closure(t0) { + this.action = t0; }, - zip_closure: function zip_closure(t0) { - this.T = t0; + app_ui_state_storable_global_reducer_closure: function app_ui_state_storable_global_reducer_closure(t0) { + this.state = t0; }, - zip_closure0: function zip_closure0(t0) { - this.T = t0; + app_ui_state_storable_global_reducer_closure0: function app_ui_state_storable_global_reducer_closure0(t0) { + this._box_0 = t0; }, - zip_closure1: function zip_closure1(t0) { - this.T = t0; + app_ui_state_storable_global_reducer_closure1: function app_ui_state_storable_global_reducer_closure1(t0, t1, t2) { + this.storables = t0; + this.state = t1; + this.action = t2; }, - save: function(state, storable) { - var value_string, - storable_key = "scadnano:" + storable.name; - if (storable === C.Storable_design) - value_string = K.json_encode(state.design, false); - else - value_string = storable === C.Storable_app_ui_state_storables ? C.C_JsonCodec.encode$2$toEncodable($.$get$standard_serializers().serialize$1(state.ui_state.storables), null) : null; - if (value_string != null) - window.localStorage.setItem(storable_key, value_string); + app_ui_state_storable_local_reducer_closure: function app_ui_state_storable_local_reducer_closure(t0, t1) { + this.storables = t0; + this.action = t1; }, - restore: function(store, storable) { - var e, stackTrace, error_message, exception; - try { - S._restore(store, storable); - } catch (exception) { - e = H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); - error_message = "ERROR: loading " + H.S(storable) + " from localStorage, encountered this error:\n" + H.S(J.toString$0$(e)) + "\n\nstack trace:\n\n" + H.S(stackTrace); - P.print(error_message); - store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(error_message)); - } + ui_state_global_reducer_closure: function ui_state_global_reducer_closure(t0, t1, t2) { + this.ui_state = t0; + this.state = t1; + this.action = t2; }, - _restore: function(store, storable) { - var storable_json_map, storables, e, stackTrace, storable_json_map0, storables0, e0, stackTrace0, json_str, exception, t1, action, - _s16_ = "\n\nstack trace:\n\n", - storable_key = "scadnano:" + storable.name; - if (window.localStorage.getItem(storable_key) != null) { - json_str = window.localStorage.getItem(storable_key); - if (storable === C.Storable_design) { - storable_json_map = C.C_JsonCodec.decode$1(0, window.localStorage.getItem("scadnano:app_ui_state_storables")); - storables = null; - try { - storables = type$.legacy_AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map)); - } catch (exception) { - e = H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); - P.print("ERROR: in loading storables from localStorage in order to find loaded_filename for design, encountered this error, so a default filename has been chosen:\n" + H.S(J.toString$0$(e)) + _s16_ + H.S(stackTrace)); - } - t1 = storables; - t1 = t1 == null ? null : t1.loaded_filename; - action = U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(json_str, C.DNAFileType_scadnano_file, t1 == null ? "default_filename.sc" : t1, false); - } else if (storable === C.Storable_app_ui_state_storables) { - storable_json_map0 = C.C_JsonCodec.decode$1(0, json_str); - storables0 = null; - try { - storables0 = type$.legacy_AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map0)); - } catch (exception) { - e0 = H.unwrapException(exception); - stackTrace0 = H.getTraceFromException(exception); - P.print("ERROR: in loading storables from localStorage, encountered this error trying to load app_ui_state_storables, so using defaults for UI settings:\n" + H.S(J.toString$0$(e0)) + _s16_ + H.S(stackTrace0)); - storables0 = $.$get$DEFAULT_AppUIStateStorable(); - } - action = U.SetAppUIStateStorable_SetAppUIStateStorable(storables0); - document.title = storables0.loaded_filename; + assign_domain_name_complement_from_bound_strands_reducer(strands, state, action) { + var computed_domains, t1, t2, all_strands, t3, strand_to_assign, strand_to_assign_idx, t4, t5; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.AssignDomainNameComplementFromBoundStrands._as(action); + computed_domains = A._setArrayType([], type$.JSArray_Domain); + t1 = strands._list; + t2 = A._instanceType(strands); + all_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = action.strands._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t3.moveNext$0();) { + strand_to_assign = t3.__interceptors$_current; + strand_to_assign_idx = B.JSArray_methods.indexOf$2(t1, t2._as(strand_to_assign), 0); + t4 = state.get$design(); + t5 = t4.__strands_overlapping; + if (t5 == null) { + t5 = A.Design.prototype.get$strands_overlapping.call(t4); + t4.set$__strands_overlapping(t5); + t4 = t5; } else - action = null; - if (action != null) - store.dispatch$1(action); + t4 = t5; + t4 = t4._map$_map.$index(0, strand_to_assign)._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) + strand_to_assign = A.compute_domain_name_complements(strand_to_assign, t4.__interceptors$_current, computed_domains); + t2._as(strand_to_assign); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); } + return A._BuiltList$of(all_strands, type$.Strand); }, - restore_all_local_storage: function(store) { - var t1; - for (t1 = $.$get$_$values5()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) - S.restore(store, t1.get$current(t1)); - }, - save_storable_async: function(state, storable) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic); - var $async$save_storable_async = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - S.save(state, storable); - // implicit return - return P._asyncReturn(null, $async$completer); + compute_domain_name_complements(strand_to, strand_from, computed_domains) { + var substrands, t3, t4, t5, ss_idx, substrand_to, helix_idx, t6, domains_on_helix_from, t7, t8, t9, t10, t11, + t1 = strand_to.substrands, + t2 = t1._list; + t1 = A._instanceType(t1); + substrands = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + for (t3 = type$.JSArray_Domain, t1 = t1._precomputed1, t4 = type$.nullable_void_Function_DomainBuilder, t5 = type$.void_Function_DomainBuilder, ss_idx = 0; ss_idx < t2.length; ++ss_idx) { + substrand_to = t2[ss_idx]; + if (substrand_to instanceof A.Domain) { + helix_idx = substrand_to.helix; + t6 = strand_from.__domains_on_helix; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains_on_helix.call(strand_from); + strand_from.set$__domains_on_helix(t6); + } + t6 = t6._map$_map.$index(0, helix_idx); + domains_on_helix_from = t6 == null ? null : new A.CopyOnWriteList(true, t6._list, A.instanceType(t6)._eval$1("CopyOnWriteList<1>")); + for (t6 = J.get$iterator$ax(domains_on_helix_from == null ? A._setArrayType([], t3) : domains_on_helix_from), t7 = substrand_to.forward, t8 = substrand_to.start, t9 = substrand_to.end; t6.moveNext$0();) { + t10 = t6.get$current(t6); + if (!substrand_to.$eq(0, t10)) + t11 = helix_idx === t10.helix && t7 === !t10.forward && substrand_to.compute_overlap$1(t10) != null && t8 === t10.start && t9 === t10.end && t10.name != null && !B.JSArray_methods.contains$1(computed_domains, substrand_to); + else + t11 = false; + if (t11) { + t6 = t10.name; + t7 = t6.length; + t8 = t7 - 1; + if (!(t8 >= 0)) + return A.ioore(t6, t8); + t6 = t5._as(new A.compute_domain_name_complements_closure(t6[t8] === "*" ? B.JSString_methods.substring$2(t6, 0, t8) : t6 + "*")); + t7 = new A.DomainBuilder(); + t7._domain$_$v = substrand_to; + t4._as(t6).call$1(t7); + t6 = t1._as(t7._domain$_build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t6); + B.JSArray_methods.add$1(computed_domains, t10); + break; + } } - }); - return P._asyncStartSync($async$save_storable_async, $async$completer); - }, - local_storage_middleware: function(store, action, next) { - var storables_before, design_before, storables_after, design_after, state_after, t1; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - storables_before = store.get$state(store).ui_state.storables; - design_before = store.get$state(store).design; - next.call$1(action); - storables_after = store.get$state(store).ui_state.storables; - design_after = store.get$state(store).design; - state_after = store.get$state(store); - if (!J.$eq$(storables_before, storables_after)) { - t1 = action instanceof U.LoadDNAFile; - if (t1 && action.write_local_storage || !t1) - S.save_storable_async(state_after, C.Storable_app_ui_state_storables); - } - if (storables_after.local_storage_design_choice.option === C.LocalStorageDesignOption_on_edit && !J.$eq$(design_before, design_after)) { - if (!type$.legacy_UndoableAction._is(action) && !(action instanceof U.LoadDNAFile) && !(action instanceof U.AutoPasteInitiate) && !(action instanceof U.HelicesPositionsSetBasedOnCrossovers) && !(action instanceof U.Undo) && !(action instanceof U.Redo)) - P.print("WARNING: some Action changed the design, so I am writing the Design to localStorage,\nbut that action is not UndoableAction, LoadDNAFile, Undo, or Redo\naction is " + H.S(action)); - S.save_storable_async(state_after, C.Storable_design); - } - if (action instanceof U.LocalStorageDesignChoiceSet) { - t1 = action.choice.option; - t1 = t1 === C.LocalStorageDesignOption_on_edit || t1 === C.LocalStorageDesignOption_periodic; - } else - t1 = false; - if (t1) - S.save_storable_async(state_after, C.Storable_design); - }, - Storable: function Storable(t0) { - this.name = t0; - }, - load_dna_file_reducer: function(state, action) { - var error, stack_trace, error0, stack_trace0, design_new, t1, t2, exception, error_message, new_state, side_selected_helix_idxs, t3, new_selectables_store, new_filename, displayed_group_name, _null = null, _box_0 = {}; - _box_0.design_new = _box_0.error_message = null; - try { - switch (action.dna_file_type) { - case C.DNAFileType_scadnano_file: - design_new = _box_0.design_new = N.Design_from_json_str(action.content, state.ui_state.storables.invert_y); - t1 = design_new; - t1 = design_new; - break; - case C.DNAFileType_cadnano_file: - t1 = action.content; - t2 = state.ui_state.storables.invert_y; - design_new = _box_0.design_new = N.Design_from_cadnano_v2(type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, t1, _null)), t2); - t1 = design_new; - t1 = design_new; - break; - default: - t1 = _null; - } - t2 = _null; - } catch (exception) { - t2 = H.unwrapException(exception); - if (type$.legacy_IllegalDesignError._is(t2)) { - error = t2; - stack_trace = H.getTraceFromException(exception); - error_message = "******************\n* illegal design *\n******************\n\nThe design has the following problem:\n\n" + error.get$cause() + "\n" + E.stack_trace_message_bug_report(stack_trace); - _box_0.error_message = error_message; - t2 = error_message; - } else { - error0 = t2; - stack_trace0 = H.getTraceFromException(exception); - C.Window_methods.alert$1(window, "I was unable to process that file. Only scadnano .sc files are supported for opening via the menu File-->Open or dragging onto the browser. If you are trying to import a cadnano file (ending. in .json), use the menu option File-->Import cadnano v2. Here is the full error message: "); - t2 = action.filename; - error_message = "I encountered an error while reading the file " + H.S(t2) + ":\n\n" + H.S($.$get$hline()) + "\n* error type: " + J.get$runtimeType$(error0).toString$0(0) + "\n* error message: " + H.S(J.toString$0$(error0)) + "\n" + H.S($.$get$hline()) + '\nIf the file is imported from cadnano, use the option of importing "cadnano v2".\nTo do this, go to the menu options, then perform Select File --> Import "cadnano v2".\nImporting a .json file is not allowed when selecting the "Open" option. Use a file with the .sc extension.\nIt is the same thing for dragging a file into the browser. A .json file will also cause an error, even if it is dragged in.\nEssentially, for .sc files, you can use the open or drag and drop feature. For .json files, you have to import "cadnano v2".\n\nThat file\'s contents are printed below.' + E.stack_trace_message_bug_report(stack_trace0) + "\n\nThe file " + H.S(t2) + " has this content:\n\n" + action.content; - _box_0.error_message = error_message; - t2 = error_message; } } - if ((t2 == null && t1 == null ? _box_0.error_message = string$.x3cp_sca : t2) != null) - new_state = state.rebuild$1(new S.load_dna_file_reducer_closure(_box_0)); - else if (t1 != null) { - _box_0.side_selected_helix_idxs = X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); - t2 = state.ui_state.storables; - if (!t2.clear_helix_selection_when_loading_new_design) { - side_selected_helix_idxs = t2.side_selected_helix_idxs; - _box_0.side_selected_helix_idxs = side_selected_helix_idxs; - t3 = state.design; - if (t3 != null) { - t1 = J.get$length$asx(t1.helices._map$_map); - t3 = J.get$length$asx(t3.helices._map$_map); - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = t1 < t3; - t1 = t3; + return strand_to.rebuild$1(new A.compute_domain_name_complements_closure0(substrands)); + }, + complement_domain_name($name) { + var t1 = $name.length, + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore($name, t2); + return $name[t2] === "*" ? B.JSString_methods.substring$2($name, 0, t2) : $name + "*"; + }, + assign_domain_name_complement_from_bound_domains_reducer(strands, state, action) { + var computed_domains, t1, t2, all_strands, t3, t4, t5, t6, strand_idx, strand_to; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.AssignDomainNameComplementFromBoundDomains._as(action); + computed_domains = A._setArrayType([], type$.JSArray_Domain); + t1 = strands._list; + t2 = A._instanceType(strands); + all_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = action.domains._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + if (!B.JSArray_methods.contains$1(computed_domains, t4)) { + t5 = state.get$design(); + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + t5 = t6; } else - t1 = false; - if (t1) - _box_0.side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new S.load_dna_file_reducer_closure0(_box_0)); + t5 = t6; + t5 = t5._map$_map.$index(0, t4); + t5.toString; + strand_idx = B.JSArray_methods.indexOf$2(t1, t2._as(t5), 0); + for (t6 = J.get$iterator$ax(state.get$design().domains_on_helix_overlapping$1(t4)), strand_to = t5; t6.moveNext$0();) + strand_to = A.compute_domain_name_complements_for_bound_domains(strand_to, t4, t6.get$current(t6), computed_domains); + t2._as(strand_to); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_idx, strand_to); } - t1 = new E.SelectablesStoreBuilder(); - t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t1.get$_selectable$_$this().set$_selected_items(t3); - type$.legacy_void_Function_legacy_SelectablesStoreBuilder._as(null); - new_selectables_store = t1.build$0(); - new_filename = action.filename; - if (new_filename == null) - new_filename = t2.loaded_filename; - _box_0.storables = t2; - displayed_group_name = t2.displayed_group_name; - if (!J.containsKey$1$x(_box_0.design_new.groups._map$_map, displayed_group_name)) - _box_0.storables = _box_0.storables.rebuild$1(new S.load_dna_file_reducer_closure1(_box_0)); - new_state = state.rebuild$1(new S.load_dna_file_reducer_closure2(_box_0, new_selectables_store, new_filename)); - } else - throw H.wrapException(P.AssertionError$("This line should be unreachable")); - return new_state; - }, - load_dna_file_reducer_closure: function load_dna_file_reducer_closure(t0) { - this._box_0 = t0; + } + return A._BuiltList$of(all_strands, type$.Strand); }, - load_dna_file_reducer_closure0: function load_dna_file_reducer_closure0(t0) { - this._box_0 = t0; + compute_domain_name_complements_for_bound_domains(strand_to, domain_to_assign, other_domain, computed_domains) { + var substrands, ss_idx, + t1 = strand_to.substrands, + t2 = t1._list; + t1 = A._instanceType(t1); + substrands = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1; + ss_idx = B.JSArray_methods.indexOf$2(t2, t1._as(domain_to_assign), 0); + if (ss_idx !== -1) + if (!J.$eq$(domain_to_assign, other_domain) && domain_to_assign.start === other_domain.start && domain_to_assign.end === other_domain.end && other_domain.name != null && !B.JSArray_methods.contains$1(computed_domains, domain_to_assign)) { + t2 = other_domain.name; + t2.toString; + t2 = t1._as(domain_to_assign.rebuild$1(new A.compute_domain_name_complements_for_bound_domains_closure(A.complement_domain_name(t2)))); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t2); + B.JSArray_methods.add$1(computed_domains, other_domain); + } + return strand_to.rebuild$1(new A.compute_domain_name_complements_for_bound_domains_closure0(substrands)); }, - load_dna_file_reducer__closure0: function load_dna_file_reducer__closure0(t0) { - this._box_0 = t0; + compute_domain_name_complements_closure: function compute_domain_name_complements_closure(t0) { + this.domain_name_to = t0; }, - load_dna_file_reducer_closure1: function load_dna_file_reducer_closure1(t0) { - this._box_0 = t0; + compute_domain_name_complements_closure0: function compute_domain_name_complements_closure0(t0) { + this.substrands = t0; }, - load_dna_file_reducer_closure2: function load_dna_file_reducer_closure2(t0, t1, t2) { - this._box_0 = t0; - this.new_selectables_store = t1; - this.new_filename = t2; + compute_domain_name_complements_for_bound_domains_closure: function compute_domain_name_complements_for_bound_domains_closure(t0) { + this.domain_name_to = t0; }, - load_dna_file_reducer__closure: function load_dna_file_reducer__closure(t0, t1, t2) { - this._box_0 = t0; - this.new_selectables_store = t1; - this.new_filename = t2; + compute_domain_name_complements_for_bound_domains_closure0: function compute_domain_name_complements_for_bound_domains_closure0(t0) { + this.substrands = t0; }, - undo_reducer: function(state, action) { - type$.legacy_AppState._as(state); - type$.legacy_Undo._as(action); - if (J.get$isEmpty$asx(state.undo_redo.undo_stack._list)) - return state; - return S.state_result_after_applying_undo(state, action); + convert_crossover_to_loopout_reducer(strand, action) { + var t1, t2, loopout_new, substrands, first_dom, i, _box_0 = {}; + type$.Strand._as(strand); + type$.ConvertCrossoverToLoopout._as(action); + t1 = action.length; + t2 = action.crossover; + loopout_new = A.Loopout_Loopout(strand.is_scaffold, t1, t2.prev_domain_idx); + t1 = strand.substrands; + substrands = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + _box_0.substrands = substrands; + t2 = t2.next_domain_idx; + substrands.insert$2(0, t2, loopout_new); + if (t2 === 0) { + first_dom = -1; + i = 0; + while (true) { + t1 = J.get$length$asx(_box_0.substrands); + if (typeof t1 !== "number") + return t1.$sub(); + if (!(i < t1 - 1)) + break; + if (J.$index$asx(_box_0.substrands, i) instanceof A.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof A.Domain) + first_dom = i + 1; + ++i; + } + if (first_dom < 0) + return strand; + _box_0.substrands = B.JSArray_methods.$add(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); + } + return strand.rebuild$1(new A.convert_crossover_to_loopout_reducer_closure(_box_0)).initialize$0(0); }, - state_result_after_applying_undo: function(state, action) { - var undo_stack, redo_stack, t2, t3, t4, t5, t6, i, t7, popped_item, t8, _s5_ = "_list", - new_design = state.design, - undo_redo = state.undo_redo, - t1 = undo_redo.undo_stack; - t1.toString; - undo_stack = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - t1 = undo_redo.redo_stack; - t1.toString; - redo_stack = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - for (t1 = action.num_undos, t2 = redo_stack.$ti, t3 = t2._precomputed1, t4 = undo_stack.$ti, t5 = t4._precomputed1, t4 = t4._eval$1("List<1>"), t6 = !t3._is(null), t2 = t2._eval$1("List<1>"), i = 0; i < t1; ++i) { - if (undo_stack._listOwner != null) { - t7 = undo_stack.__ListBuilder__list; - undo_stack.set$__ListBuilder__list(t4._as(P.List_List$from(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, true, t5))); - undo_stack.set$_listOwner(null); + convert_crossovers_to_loopouts_reducer(strands, state, action) { + var crossovers_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, strand_idx, t13, substrands_builder, t14, t15, t16, num_crossovers_processed_on_strand, _i, crossover, t17, t18, new_strand, strand, _null = null, + _s12_ = "null element", + _s5_ = "_list"; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.ConvertCrossoversToLoopouts._as(action); + crossovers_on_strand_id = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Crossover); + for (t1 = action.crossovers._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_Crossover; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + strand_id = t3.strand_id; + if (!crossovers_on_strand_id.containsKey$1(0, strand_id)) + crossovers_on_strand_id.$indexSet(0, strand_id, A._setArrayType([], t2)); + t4 = crossovers_on_strand_id.$index(0, strand_id); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + for (t2 = A.LinkedHashMapKeyIterator$(crossovers_on_strand_id, crossovers_on_strand_id._modifications, crossovers_on_strand_id.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder, t7 = action.length, t8 = strands._list, t9 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t10 = t2.__js_helper$_current; + t11 = state.get$design(); + t12 = t11.__strands_by_id; + if (t12 == null) { + t12 = A.Design.prototype.get$strands_by_id.call(t11); + t11.set$__strands_by_id(t12); + t11 = t12; + } else + t11 = t12; + t11 = t11._map$_map.$index(0, t10); + t11.toString; + strand_idx = B.JSArray_methods.indexOf$2(t8, t1._as(t11), 0); + t12 = t11.substrands; + t12.toString; + t13 = t12.$ti; + substrands_builder = new A.ListBuilder(t13._eval$1("ListBuilder<1>")); + t14 = t13._eval$1("_BuiltList<1>"); + t15 = t13._eval$1("List<1>"); + if (t14._is(t12)) { + t14._as(t12); + substrands_builder.set$__ListBuilder__list_A(t15._as(t12._list)); + substrands_builder.set$_listOwner(t12); + } else { + substrands_builder.set$__ListBuilder__list_A(t15._as(A.List_List$from(t12, true, t13._precomputed1))); + substrands_builder.set$_listOwner(_null); } - t7 = undo_stack.__ListBuilder__list; - popped_item = J.removeLast$0$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7); - t7 = t3._as(T.UndoRedoItem_UndoRedoItem(popped_item.short_description, new_design)); - if (!$.$get$isSoundMode() && t6) - if (t7 == null) - H.throwExpression(P.ArgumentError$("null element")); - if (redo_stack._listOwner != null) { - t8 = redo_stack.__ListBuilder__list; - redo_stack.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); - redo_stack.set$_listOwner(null); + t10 = crossovers_on_strand_id.$index(0, t10); + t10.toString; + t12 = A._arrayInstanceType(t10); + t14 = t12._eval$1("int(1,1)?")._as(new A.convert_crossovers_to_loopouts_reducer_closure()); + if (!!t10.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t12 = t12._precomputed1; + t16 = t10.length - 1; + if (t16 - 0 <= 32) + A.Sort__insertionSort(t10, 0, t16, t14, t12); + else + A.Sort__dualPivotQuicksort(t10, 0, t16, t14, t12); + for (t12 = t10.length, t14 = t11.is_scaffold, t13 = t13._precomputed1, t16 = !t13._is(null), num_crossovers_processed_on_strand = 0, _i = 0; _i < t10.length; t10.length === t12 || (0, A.throwConcurrentModificationError)(t10), ++_i) { + crossover = t10[_i]; + t17 = t13._as(A.Loopout_Loopout(t14, t7, crossover.prev_domain_idx + num_crossovers_processed_on_strand)); + if (!$.$get$isSoundMode() && t16) + if (t17 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (substrands_builder._listOwner != null) { + t18 = substrands_builder.__ListBuilder__list_A; + t18 === $ && A.throwLateFieldNI(_s5_); + substrands_builder.set$__ListBuilder__list_A(t15._as(A.List_List$from(t18, true, t13))); + substrands_builder.set$_listOwner(_null); + } + t18 = substrands_builder.__ListBuilder__list_A; + t18 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.insert$2(t18, crossover.next_domain_idx + num_crossovers_processed_on_strand, t17); + ++num_crossovers_processed_on_strand; } - t8 = redo_stack.__ListBuilder__list; - J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); - new_design = popped_item.design; + t10 = t6._as(new A.convert_crossovers_to_loopouts_reducer_closure0(substrands_builder)); + t12 = new A.StrandBuilder(); + t12._strand$_$v = t11; + t5._as(t10).call$1(t12); + new_strand = t12._strand$_build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t10 = new_strand.__first_domain; + if (t10 == null) + t10 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t10.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t9) + if (strand == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (strands_builder._listOwner != null) { + t10 = strands_builder.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t10, true, t4))); + strands_builder.set$_listOwner(_null); + } + t10 = strands_builder.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t10, strand_idx, strand); } - return S.create_new_state_with_new_design_and_undo_redo(state, new_design, undo_stack, redo_stack); - }, - create_new_state_with_new_design_and_undo_redo: function(old_state, new_design, new_undo_stack, new_redo_stack) { - return old_state.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo_closure(old_state, J.get$isNotEmpty$asx(new_undo_stack.get$_list()), new_design, new_undo_stack, new_redo_stack)); + return strands_builder.build$0(); }, - redo_reducer: function(state, action) { - var undo_redo, t1, t2, t3, undo_stack, redo_stack, t4, t5, t6, t7, i, t8, popped_item, new_design, _s5_ = "_list", _box_0 = {}; - type$.legacy_AppState._as(state); - type$.legacy_Redo._as(action); - undo_redo = state.undo_redo; - t1 = undo_redo.redo_stack; - if (J.get$isEmpty$asx(t1._list)) - return state; - else { - t2 = _box_0.new_design = state.design; - t3 = undo_redo.undo_stack; - t3.toString; - undo_stack = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); - redo_stack = D.ListBuilder_ListBuilder(t1, H._instanceType(t1)._precomputed1); - for (t1 = action.num_redos, t3 = undo_stack.$ti, t4 = t3._precomputed1, t5 = redo_stack.$ti, t6 = t5._precomputed1, t5 = t5._eval$1("List<1>"), t7 = !t4._is(null), t3 = t3._eval$1("List<1>"), i = 0; i < t1; ++i, t2 = new_design) { - if (redo_stack._listOwner != null) { - t8 = redo_stack.__ListBuilder__list; - redo_stack.set$__ListBuilder__list(t5._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t6))); - redo_stack.set$_listOwner(null); - } - t8 = redo_stack.__ListBuilder__list; - popped_item = J.removeLast$0$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8); - t2 = t4._as(T.UndoRedoItem_UndoRedoItem(popped_item.short_description, t2)); - if (!$.$get$isSoundMode() && t7) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - if (undo_stack._listOwner != null) { - t8 = undo_stack.__ListBuilder__list; - undo_stack.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t4))); - undo_stack.set$_listOwner(null); + loopouts_length_change_reducer(strands, state, action) { + var loopouts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, t16, substrands, t17, t18, _i, loopout, loopout_idx, new_strand, strand; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.LoopoutsLengthChange._as(action); + loopouts_on_strand_id = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Loopout); + for (t1 = action.loopouts._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_Loopout; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + strand_id = t3.strand_id; + if (!loopouts_on_strand_id.containsKey$1(0, strand_id)) + loopouts_on_strand_id.$indexSet(0, strand_id, A._setArrayType([], t2)); + t4 = loopouts_on_strand_id.$index(0, strand_id); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + for (t2 = A.LinkedHashMapKeyIterator$(loopouts_on_strand_id, loopouts_on_strand_id._modifications, loopouts_on_strand_id.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder, t7 = action.length, t8 = t7 === 0, t7 = t7 > 0, t9 = type$.nullable_void_Function_LoopoutBuilder, t10 = type$.void_Function_LoopoutBuilder, t11 = strands._list, t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t13 = t2.__js_helper$_current; + t14 = state.get$design(); + t15 = t14.__strands_by_id; + if (t15 == null) { + t15 = A.Design.prototype.get$strands_by_id.call(t14); + t14.set$__strands_by_id(t15); + t14 = t15; + } else + t14 = t15; + t14 = t14._map$_map.$index(0, t13); + t14.toString; + strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t14), 0); + t15 = t14.substrands; + t16 = A._instanceType(t15); + substrands = new A.CopyOnWriteList(true, t15._list, t16._eval$1("CopyOnWriteList<1>")); + t13 = loopouts_on_strand_id.$index(0, t13); + t13.toString; + t15 = A._arrayInstanceType(t13); + t17 = t15._eval$1("int(1,1)?")._as(new A.loopouts_length_change_reducer_closure()); + if (!!t13.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t15 = t15._precomputed1; + t18 = t13.length - 1; + if (t18 - 0 <= 32) + A.Sort__insertionSort(t13, 0, t18, t17, t15); + else + A.Sort__dualPivotQuicksort(t13, 0, t18, t17, t15); + for (t15 = t13.length, t16 = t16._precomputed1, _i = 0; _i < t13.length; t13.length === t15 || (0, A.throwConcurrentModificationError)(t13), ++_i) { + loopout = t13[_i]; + t16._as(loopout); + loopout_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, loopout, 0); + if (t7) { + t17 = t10._as(new A.loopouts_length_change_reducer_closure0(action)); + t18 = new A.LoopoutBuilder(); + t18._loopout$_$v = loopout; + t9._as(t17).call$1(t18); + t17 = t16._as(t18._loopout$_build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, loopout_idx, t17); + } else if (t8) { + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands._copy_on_write_list$_list, loopout_idx); } - t8 = undo_stack.__ListBuilder__list; - J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t2); - new_design = popped_item.design; - _box_0.new_design = new_design; } - return state.rebuild$1(new S.redo_reducer_closure(_box_0, state, J.get$isNotEmpty$asx(undo_stack.get$_list()), undo_redo, undo_stack, redo_stack)); + t13 = t6._as(new A.loopouts_length_change_reducer_closure1(substrands)); + t15 = new A.StrandBuilder(); + t15._strand$_$v = t14; + t5._as(t13).call$1(t15); + new_strand = t15._strand$_build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t13 = new_strand.__first_domain; + if (t13 == null) + t13 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t13.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t12) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (strands_builder._listOwner != null) { + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t13, true, t4))); + strands_builder.set$_listOwner(null); + } + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t13, strand_idx, strand); } + return strands_builder.build$0(); }, - undo_redo_clear_reducer: function(state, action) { - type$.legacy_AppState._as(state); - type$.legacy_UndoRedoClear._as(action); - return state.rebuild$1(new S.undo_redo_clear_reducer_closure()); + extensions_num_bases_change_reducer(strands, state, action) { + var exts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, t16, substrands, exts, _i, ext, idx, t17, new_strand, strand; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.ExtensionsNumBasesChange._as(action); + exts_on_strand_id = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Extension); + for (t1 = action.extensions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_Extension; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + strand_id = t3.strand_id; + if (!exts_on_strand_id.containsKey$1(0, strand_id)) + exts_on_strand_id.$indexSet(0, strand_id, A._setArrayType([], t2)); + t4 = exts_on_strand_id.$index(0, strand_id); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + for (t2 = A.LinkedHashMapKeyIterator$(exts_on_strand_id, exts_on_strand_id._modifications, exts_on_strand_id.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder, t7 = action.num_bases, t8 = t7 === 0, t7 = t7 > 0, t9 = type$.nullable_void_Function_ExtensionBuilder, t10 = type$.void_Function_ExtensionBuilder, t11 = strands._list, t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t13 = t2.__js_helper$_current; + t14 = state.get$design(); + t15 = t14.__strands_by_id; + if (t15 == null) { + t15 = A.Design.prototype.get$strands_by_id.call(t14); + t14.set$__strands_by_id(t15); + t14 = t15; + } else + t14 = t15; + t14 = t14._map$_map.$index(0, t13); + t14.toString; + strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t14), 0); + t15 = t14.substrands; + t16 = A._instanceType(t15); + substrands = new A.CopyOnWriteList(true, t15._list, t16._eval$1("CopyOnWriteList<1>")); + exts = exts_on_strand_id.$index(0, t13); + for (t13 = exts.length, t16 = t16._precomputed1, _i = 0; _i < exts.length; exts.length === t13 || (0, A.throwConcurrentModificationError)(exts), ++_i) { + ext = exts[_i]; + t16._as(ext); + idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, ext, 0); + if (t7) { + t15 = t10._as(new A.extensions_num_bases_change_reducer_closure(action)); + t17 = new A.ExtensionBuilder(); + t17._extension$_$v = ext; + t9._as(t15).call$1(t17); + t15 = t16._as(t17._extension$_build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, idx, t15); + } else if (t8) + throw A.wrapException(A.AssertionError$(string$.extens)); + } + t13 = t6._as(new A.extensions_num_bases_change_reducer_closure0(substrands)); + t15 = new A.StrandBuilder(); + t15._strand$_$v = t14; + t5._as(t13).call$1(t15); + new_strand = t15._strand$_build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t13 = new_strand.__first_domain; + if (t13 == null) + t13 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t13.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t12) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (strands_builder._listOwner != null) { + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t13, true, t4))); + strands_builder.set$_listOwner(null); + } + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t13, strand_idx, strand); + } + return strands_builder.build$0(); }, - undoable_action_typed_reducer: function(state, action) { - type$.legacy_AppState._as(state); - return state.rebuild$1(new S.undoable_action_typed_reducer_closure(state, type$.legacy_UndoableAction._as(action))); + loopout_length_change_reducer(strand, action) { + var t1, t2, t3, loopout_idx, substrands_builder; + type$.Strand._as(strand); + type$.LoopoutLengthChange._as(action); + t1 = strand.substrands; + t2 = action.loopout; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + loopout_idx = B.JSArray_methods.indexOf$2(t1._list, t2, 0); + substrands_builder = A.ListBuilder_ListBuilder(t1, t3); + t1 = action.num_bases; + if (t1 > 0) { + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new A.loopout_length_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), loopout_idx, t2); + } else if (t1 === 0) + B.JSArray_methods.removeAt$1(substrands_builder.get$_safeList(), loopout_idx); + return strand.rebuild$1(new A.loopout_length_change_reducer_closure0(substrands_builder)); }, - create_new_state_with_new_design_and_undo_redo_closure: function create_new_state_with_new_design_and_undo_redo_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.old_state = t0; - _.changed_since_last_save = t1; - _.new_design = t2; - _.new_undo_stack = t3; - _.new_redo_stack = t4; + extension_num_bases_change_reducer(strand, action) { + var t1, t2, t3, idx, substrands_builder; + type$.Strand._as(strand); + type$.ExtensionNumBasesChange._as(action); + t1 = strand.substrands; + t2 = action.ext; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + idx = B.JSArray_methods.indexOf$2(t1._list, t2, 0); + substrands_builder = A.ListBuilder_ListBuilder(t1, t3); + if (action.num_bases > 0) { + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new A.extension_num_bases_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t2); + } else + throw A.wrapException(A.AssertionError$(string$.extens)); + return strand.rebuild$1(new A.extension_num_bases_change_reducer_closure0(substrands_builder)); }, - create_new_state_with_new_design_and_undo_redo__closure: function create_new_state_with_new_design_and_undo_redo__closure(t0) { - this.changed_since_last_save = t0; + extension_display_length_angle_change_reducer(strand, action) { + var t1, t2, t3, idx, substrands_builder; + type$.Strand._as(strand); + type$.ExtensionDisplayLengthAngleSet._as(action); + t1 = strand.substrands; + t2 = action.ext; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + idx = B.JSArray_methods.indexOf$2(t1._list, t2, 0); + substrands_builder = A.ListBuilder_ListBuilder(t1, t3); + if (action.display_length <= 0) + throw A.wrapException(A.ArgumentError$("extension must have positive display_angle", null)); + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new A.extension_display_length_angle_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t2); + return strand.rebuild$1(new A.extension_display_length_angle_change_reducer_closure0(substrands_builder)); }, - create_new_state_with_new_design_and_undo_redo__closure0: function create_new_state_with_new_design_and_undo_redo__closure0(t0, t1) { - this.new_undo_stack = t0; - this.new_redo_stack = t1; + convert_crossover_to_loopout_reducer_closure: function convert_crossover_to_loopout_reducer_closure(t0) { + this._box_0 = t0; }, - redo_reducer_closure: function redo_reducer_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._box_0 = t0; - _.state = t1; - _.changed_since_last_save = t2; - _.undo_redo = t3; - _.undo_stack = t4; - _.redo_stack = t5; + convert_crossovers_to_loopouts_reducer_closure: function convert_crossovers_to_loopouts_reducer_closure() { }, - redo_reducer__closure: function redo_reducer__closure(t0) { - this.changed_since_last_save = t0; + convert_crossovers_to_loopouts_reducer_closure0: function convert_crossovers_to_loopouts_reducer_closure0(t0) { + this.substrands_builder = t0; }, - redo_reducer__closure0: function redo_reducer__closure0(t0, t1) { - this.undo_stack = t0; - this.redo_stack = t1; + loopouts_length_change_reducer_closure: function loopouts_length_change_reducer_closure() { }, - undo_redo_clear_reducer_closure: function undo_redo_clear_reducer_closure() { + loopouts_length_change_reducer_closure0: function loopouts_length_change_reducer_closure0(t0) { + this.action = t0; }, - undoable_action_typed_reducer_closure: function undoable_action_typed_reducer_closure(t0, t1) { - this.state = t0; - this.action = t1; + loopouts_length_change_reducer_closure1: function loopouts_length_change_reducer_closure1(t0) { + this.substrands = t0; }, - undoable_action_typed_reducer__closure: function undoable_action_typed_reducer__closure(t0, t1) { + extensions_num_bases_change_reducer_closure: function extensions_num_bases_change_reducer_closure(t0) { this.action = t0; - this.state = t1; - }, - Extension_Extension: function(adjacent_domain, color, display_angle, display_length, dna_sequence, is_5p, is_scaffold, label, $name, num_bases, unused_fields) { - var t2, t1 = {}; - t1.unused_fields = unused_fields; - if (unused_fields == null) - t1.unused_fields = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); - t2 = new S.ExtensionBuilder(); - type$.legacy_void_Function_legacy_ExtensionBuilder._as(new S.Extension_Extension_closure(t1, num_bases, display_length, display_angle, is_5p, $name, label, dna_sequence, color, is_scaffold, adjacent_domain)).call$1(t2); - return t2.build$0(); }, - Extension: function Extension() { + extensions_num_bases_change_reducer_closure0: function extensions_num_bases_change_reducer_closure0(t0) { + this.substrands = t0; }, - Extension_Extension_closure: function Extension_Extension_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._box_0 = t0; - _.num_bases = t1; - _.display_length = t2; - _.display_angle = t3; - _.is_5p = t4; - _.name = t5; - _.label = t6; - _.dna_sequence = t7; - _.color = t8; - _.is_scaffold = t9; - _.adjacent_domain = t10; + loopout_length_change_reducer_closure: function loopout_length_change_reducer_closure(t0) { + this.action = t0; }, - Extension_set_dna_sequence_closure: function Extension_set_dna_sequence_closure(t0) { - this.seq = t0; + loopout_length_change_reducer_closure0: function loopout_length_change_reducer_closure0(t0) { + this.substrands_builder = t0; }, - _$ExtensionSerializer: function _$ExtensionSerializer() { + extension_num_bases_change_reducer_closure: function extension_num_bases_change_reducer_closure(t0) { + this.action = t0; }, - _$Extension: function _$Extension(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { - var _ = this; - _.num_bases = t0; - _.display_length = t1; - _.display_angle = t2; - _.is_5p = t3; - _.label = t4; - _.name = t5; - _.dna_sequence = t6; - _.color = t7; - _.strand_id = t8; - _.is_scaffold = t9; - _.adjacent_domain = t10; - _.unused_fields = t11; - _._extension$__hashCode = _.__dnaend_free = _._extension$__id = _._extension$__select_mode = null; + extension_num_bases_change_reducer_closure0: function extension_num_bases_change_reducer_closure0(t0) { + this.substrands_builder = t0; }, - ExtensionBuilder: function ExtensionBuilder() { - var _ = this; - _._extension$_unused_fields = _._adjacent_domain = _._extension$_is_scaffold = _._strand_id = _._extension$_color = _._dna_sequence = _._extension$_name = _._extension$_label = _._is_5p = _._display_angle = _._display_length = _._num_bases = _._extension$_$v = null; + extension_display_length_angle_change_reducer_closure: function extension_display_length_angle_change_reducer_closure(t0) { + this.action = t0; }, - _Extension_Object_SelectableMixin: function _Extension_Object_SelectableMixin() { + extension_display_length_angle_change_reducer_closure0: function extension_display_length_angle_change_reducer_closure0(t0) { + this.substrands_builder = t0; }, - _Extension_Object_SelectableMixin_BuiltJsonSerializable: function _Extension_Object_SelectableMixin_BuiltJsonSerializable() { - }, - _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { - }, - Grid_valueOf: function($name) { - return S._$valueOf(H._asStringS($name)); - }, - _$valueOf: function($name) { - switch ($name) { - case "square": - return C.Grid_square; - case "hex": - return C.Grid_hex; - case "honeycomb": - return C.Grid_honeycomb; - case "none": - return C.Grid_none; - default: - throw H.wrapException(P.ArgumentError$($name)); + delete_all_reducer(strands, state, action) { + var t1, items, t2, select_mode_state, t3, t4, deletions, insertions; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.DeleteAllSelected._as(action); + t1 = state.ui_state; + items = t1.selectables_store.selected_items; + t2 = items._set; + if (t2.get$isEmpty(t2)) + return strands; + select_mode_state = t1.storables.select_mode_state; + t1 = select_mode_state.__strands_selectable; + if (t1 == null ? select_mode_state.__strands_selectable = A.SelectModeState.prototype.get$strands_selectable.call(select_mode_state) : t1) { + t1 = A._instanceType(t2); + strands = A._remove_strands(strands, A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure())), t1._eval$1("WhereIterable")), type$.Strand)); + } else { + t1 = select_mode_state.__linkers_selectable; + if (t1 == null ? select_mode_state.__linkers_selectable = A.SelectModeState.prototype.get$linkers_selectable.call(select_mode_state) : t1) { + t1 = A._instanceType(items)._eval$1("bool(1)"); + t3 = A._instanceType(t2); + t4 = t3._eval$1("bool(SetMixin.E)"); + t3 = t3._eval$1("WhereIterable"); + strands = A.remove_crossovers_and_loopouts(strands, state, A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t4._as(t1._as(new A.delete_all_reducer_closure0())), t3), type$.Crossover), A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t4._as(t1._as(new A.delete_all_reducer_closure1())), t3), type$.Loopout)); + } else { + t1 = select_mode_state.__ends_selectable; + if (t1 == null ? select_mode_state.__ends_selectable = A.SelectModeState.prototype.get$ends_selectable.call(select_mode_state) : t1) { + t1 = A._instanceType(t2); + strands = A.remove_domains(strands, state, new A.MappedIterable(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure2())), t1._eval$1("WhereIterable")), t1._eval$1("Domain(SetMixin.E)")._as(new A.delete_all_reducer_closure3(state)), t1._eval$1("MappedIterable"))); + } else if (select_mode_state.get$domains_selectable()) { + t1 = A._instanceType(t2); + strands = A.remove_domains(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure4())), t1._eval$1("WhereIterable")), true, type$.Domain)); + } else if (select_mode_state.get$deletions_selectable() || select_mode_state.get$insertions_selectable()) { + if (select_mode_state.get$deletions_selectable()) { + t1 = A._instanceType(t2); + deletions = A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure5())), t1._eval$1("WhereIterable")), true, type$.SelectableDeletion); + } else + deletions = A._setArrayType([], type$.JSArray_SelectableDeletion); + if (select_mode_state.get$insertions_selectable()) { + t1 = A._instanceType(t2); + insertions = A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure6())), t1._eval$1("WhereIterable")), true, type$.SelectableInsertion); + } else + insertions = A._setArrayType([], type$.JSArray_SelectableInsertion); + strands = A.remove_deletions_and_insertions(strands, state, deletions, insertions); + } else { + t1 = select_mode_state.__modifications_selectable; + if (t1 == null ? select_mode_state.__modifications_selectable = A.SelectModeState.prototype.get$modifications_selectable.call(select_mode_state) : t1) { + t1 = A._instanceType(t2); + strands = A.remove_modifications(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure7())), t1._eval$1("WhereIterable")), true, type$.SelectableModification)); + } else { + t1 = select_mode_state.__extensions_selectable; + if (t1 == null ? select_mode_state.__extensions_selectable = A.SelectModeState.prototype.get$extensions_selectable.call(select_mode_state) : t1) { + t1 = A._instanceType(t2); + strands = A.remove_extensions(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetMixin.E)")._as(A._instanceType(items)._eval$1("bool(1)")._as(new A.delete_all_reducer_closure8())), t1._eval$1("WhereIterable")), true, type$.Extension)); + } + } + } + } } + return strands; }, - Grid: function Grid(t0) { - this.name = t0; - }, - _$GridSerializer: function _$GridSerializer() { - }, - PotentialCrossover_PotentialCrossover: function(address, color, current_point, dna_end_first_click, linker, start_point) { - var t1 = new S.PotentialCrossoverBuilder(); - type$.legacy_void_Function_legacy_PotentialCrossoverBuilder._as(new S.PotentialCrossover_PotentialCrossover_closure(address, color, dna_end_first_click, start_point, current_point, linker)).call$1(t1); - return t1.build$0(); - }, - PotentialCrossover: function PotentialCrossover() { - }, - PotentialCrossover_PotentialCrossover_closure: function PotentialCrossover_PotentialCrossover_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.address = t0; - _.color = t1; - _.dna_end_first_click = t2; - _.start_point = t3; - _.current_point = t4; - _.linker = t5; - }, - _$PotentialCrossoverSerializer: function _$PotentialCrossoverSerializer() { + _remove_strands(strands, strands_to_remove) { + return strands.rebuild$1(new A._remove_strands_closure(strands_to_remove)); + }, + remove_crossovers_and_loopouts(strands, state, crossovers, loopouts) { + var t2, t3, t4, t5, t6, new_strands, old_strand_idx, + t1 = type$.Strand, + strands_to_replace = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Strand), + strand_to_linkers = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Linker); + for (t2 = A._LinkedHashSetIterator$(crossovers, crossovers._collection$_modifications, A._instanceType(crossovers)._precomputed1), t3 = type$.JSArray_Linker; t2.moveNext$0();) { + t4 = t2._collection$_current; + t5 = state.get$design(); + t6 = t5.__crossover_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$crossover_to_strand.call(t5); + t5.set$__crossover_to_strand(t6); + t5 = t6; + } else + t5 = t6; + t5 = t5._map$_map.$index(0, t4); + t5.toString; + if (strand_to_linkers.$index(0, t5) == null) + strand_to_linkers.$indexSet(0, t5, A._setArrayType([], t3)); + t5 = strand_to_linkers.$index(0, t5); + t5.toString; + B.JSArray_methods.add$1(t5, t4); + } + for (t2 = A._LinkedHashSetIterator$(loopouts, loopouts._collection$_modifications, A._instanceType(loopouts)._precomputed1); t2.moveNext$0();) { + t4 = t2._collection$_current; + t5 = state.get$design(); + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + t5 = t6; + } else + t5 = t6; + t5 = t5._map$_map.$index(0, t4); + t5.toString; + if (strand_to_linkers.$index(0, t5) == null) + strand_to_linkers.$indexSet(0, t5, A._setArrayType([], t3)); + t5 = strand_to_linkers.$index(0, t5); + t5.toString; + B.JSArray_methods.add$1(t5, t4); + } + for (t2 = A.LinkedHashMapKeyIterator$(strand_to_linkers, strand_to_linkers._modifications, strand_to_linkers.$ti._precomputed1); t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + t4 = strand_to_linkers.$index(0, t3); + t4.toString; + strands_to_replace.$indexSet(0, t3, A.remove_linkers_from_strand(t3, t4)); + } + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = A.LinkedHashMapKeyIterator$(strands_to_replace, strands_to_replace._modifications, strands_to_replace.$ti._precomputed1), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { + t5 = t3.__js_helper$_current; + t4._as(t5); + old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); + t5 = strands_to_replace.$index(0, t5); + t5.toString; + t2._as(t5); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); + } + return A._BuiltList$of(new_strands, t1); + }, + remove_linkers_from_strand(strand, linkers) { + var t1, substrands_list, t2, linker_idx, ss_idx, substrand, linker; + (linkers && B.JSArray_methods).sort$1(linkers, new A.remove_linkers_from_strand_closure()); + t1 = type$.JSArray_Substrand; + substrands_list = A._setArrayType([A._setArrayType([], t1)], type$.JSArray_List_Substrand); + for (t2 = strand.substrands._list, linker_idx = 0, ss_idx = 0; ss_idx < t2.length; ++ss_idx) { + substrand = t2[ss_idx]; + if (!(linker_idx < substrands_list.length)) + return A.ioore(substrands_list, linker_idx); + B.JSArray_methods.add$1(substrands_list[linker_idx], substrand); + if (linker_idx < linkers.length) { + linker = linkers[linker_idx]; + if (ss_idx === linker.get$prev_domain_idx()) { + ++linker_idx; + B.JSArray_methods.add$1(substrands_list, A._setArrayType([], t1)); + if (linker instanceof A.Loopout) + ++ss_idx; + } + } + } + if (strand.circular) { + t1 = substrands_list.length; + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(substrands_list, t2); + t2 = substrands_list[t2]; + if (0 >= t1) + return A.ioore(substrands_list, 0); + B.JSArray_methods.addAll$1(t2, substrands_list[0]); + t2 = substrands_list.length; + t1 = t2 - 1; + if (!(t1 >= 0)) + return A.ioore(substrands_list, t1); + t1 = substrands_list[t1]; + if (0 >= t2) + return A.ioore(substrands_list, 0); + substrands_list[0] = t1; + if (0 >= t2) + return A.ioore(substrands_list, -1); + substrands_list.pop(); + strand = strand.rebuild$1(new A.remove_linkers_from_strand_closure0()); + } + return A.create_new_strands_from_substrand_lists(substrands_list, strand); }, - _$PotentialCrossover: function _$PotentialCrossover(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.address = t0; - _.color = t1; - _.dna_end_first_click = t2; - _.start_point = t3; - _.current_point = t4; - _.linker = t5; - _._potential_crossover$__hashCode = null; + _dna_seq(substrands, strand) { + var t1, ss_seq, + ret = A._setArrayType([], type$.JSArray_String); + for (t1 = J.get$iterator$ax(substrands); t1.moveNext$0();) { + ss_seq = strand.dna_sequence_in$1(t1.get$current(t1)); + if (ss_seq == null) + return null; + B.JSArray_methods.add$1(ret, ss_seq); + } + return B.JSArray_methods.join$1(ret, ""); }, - PotentialCrossoverBuilder: function PotentialCrossoverBuilder() { - var _ = this; - _._linker = _._potential_crossover$_current_point = _._start_point = _._dna_end_first_click = _._potential_crossover$_color = _._address = _._potential_crossover$_$v = null; + create_new_strands_from_substrand_lists(substrands_list, strand) { + var t1, t2, _i, dna_sequences, mod_5p, mod_3p, ss_to_mods, internal_mods_to_keep, t3, t4, t5, t6, t7, t8, substrands, internal_mods_on_these_substrands, dna_length_cur_substrands, i, substrand, t9, t10, t11, t12, new_strands, color, is_scaffold, idt, dna_sequence, idt0, mods_int, mod_5p_cur, new_strand, _null = null; + if (substrands_list.length === 0) + return A._setArrayType([], type$.JSArray_Strand); + if (strand.get$dna_sequence() == null) { + t1 = A._setArrayType([], type$.JSArray_Null); + for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, A.throwConcurrentModificationError)(substrands_list), ++_i) + t1.push(_null); + dna_sequences = t1; + } else { + t1 = A._setArrayType([], type$.JSArray_nullable_String); + for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, A.throwConcurrentModificationError)(substrands_list), ++_i) + t1.push(A._dna_seq(substrands_list[_i], strand)); + dna_sequences = t1; + } + t1 = B.JSArray_methods.get$first(B.JSArray_methods.get$first(substrands_list)); + t2 = strand.substrands._list; + mod_5p = J.$eq$(t1, B.JSArray_methods.get$first(t2)) ? strand.modification_5p : _null; + mod_3p = J.$eq$(B.JSArray_methods.get$last(B.JSArray_methods.get$last(substrands_list)), B.JSArray_methods.get$last(t2)) ? strand.modification_3p : _null; + ss_to_mods = strand.__internal_modifications_on_substrand; + if (ss_to_mods == null) { + ss_to_mods = A.Strand.prototype.get$internal_modifications_on_substrand.call(strand); + strand.set$__internal_modifications_on_substrand(ss_to_mods); + } + internal_mods_to_keep = A._setArrayType([], type$.JSArray_Map_int_ModificationInternal); + for (t1 = substrands_list.length, t2 = ss_to_mods._map$_map, t3 = type$.nullable_void_Function_LoopoutBuilder, t4 = type$.void_Function_LoopoutBuilder, t5 = type$.nullable_void_Function_DomainBuilder, t6 = type$.void_Function_DomainBuilder, t7 = type$.int, t8 = type$.ModificationInternal, _i = 0; _i < substrands_list.length; substrands_list.length === t1 || (0, A.throwConcurrentModificationError)(substrands_list), ++_i) { + substrands = substrands_list[_i]; + internal_mods_on_these_substrands = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8); + for (dna_length_cur_substrands = 0, i = 0; i < substrands.length; ++i) { + substrand = substrands[i]; + t9 = t2.$index(0, substrand); + t9.toString; + if (t9._keys == null) { + t10 = t9._map$_map; + t9.set$_keys(new A.LinkedHashMapKeyIterable(t10, A._instanceType(t10)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t10 = t9._keys; + t11 = t10._map; + t10 = new A.LinkedHashMapKeyIterator(t11, t11._modifications, A._instanceType(t10)._eval$1("LinkedHashMapKeyIterator<1>")); + t10._cell = t11._first; + t9 = t9._map$_map; + for (; t10.moveNext$0();) { + t11 = t10.__js_helper$_current; + t12 = t9.$index(0, t11); + t12.toString; + if (typeof t11 !== "number") + return A.iae(t11); + internal_mods_on_these_substrands.$indexSet(0, dna_length_cur_substrands + t11, t12); + } + if (substrand instanceof A.Loopout) { + t9 = t4._as(new A.create_new_strands_from_substrand_lists_closure(i)); + t10 = new A.LoopoutBuilder(); + t10._loopout$_$v = substrand; + t3._as(t9).call$1(t10); + substrand = t10._loopout$_build$0(); + } + if (i === 0 && substrand instanceof A.Domain) { + t9 = t6._as(new A.create_new_strands_from_substrand_lists_closure0()); + t10 = new A.DomainBuilder(); + t10._domain$_$v = substrand; + t5._as(t9).call$1(t10); + substrand = t10._domain$_build$0(); + } + if (i === substrands.length - 1 && substrand instanceof A.Domain) { + t9 = t6._as(new A.create_new_strands_from_substrand_lists_closure1()); + t10 = new A.DomainBuilder(); + t10._domain$_$v = substrand; + t5._as(t9).call$1(t10); + substrand = t10._domain$_build$0(); + } + B.JSArray_methods.$indexSet(substrands, i, substrand); + dna_length_cur_substrands += substrand.dna_length$0(); + } + B.JSArray_methods.add$1(internal_mods_to_keep, internal_mods_on_these_substrands); + } + new_strands = A._setArrayType([], type$.JSArray_Strand); + for (color = strand.color, t1 = strand.name, is_scaffold = strand.is_scaffold, idt = strand.vendor_fields, i = 0; t2 = substrands_list.length, i < t2; ++i) { + substrands = substrands_list[i]; + if (!(i < dna_sequences.length)) + return A.ioore(dna_sequences, i); + dna_sequence = dna_sequences[i]; + t3 = i === 0; + idt0 = t3 ? idt : _null; + if (!(i < internal_mods_to_keep.length)) + return A.ioore(internal_mods_to_keep, i); + mods_int = internal_mods_to_keep[i]; + mod_5p_cur = t3 ? mod_5p : _null; + new_strand = A.Strand_Strand(substrands, false, color, dna_sequence, is_scaffold, _null, i === t2 - 1 ? mod_3p : _null, mod_5p_cur, mods_int, t1, idt0); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t2 = new_strand.__first_domain; + if (t2 == null) + t2 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t2.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + B.JSArray_methods.add$1(new_strands, strand); + } + return new_strands; }, - _PotentialCrossover_Object_BuiltJsonSerializable: function _PotentialCrossover_Object_BuiltJsonSerializable() { + remove_extensions(strands, state, extensions) { + var t2, t3, _i, ext, t4, t5, new_strands, i, strand, strand0, + t1 = type$.Strand, + strand_to_exts = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_Extension); + for (t2 = extensions.length, t3 = type$.Extension, _i = 0; _i < extensions.length; extensions.length === t2 || (0, A.throwConcurrentModificationError)(extensions), ++_i) { + ext = extensions[_i]; + t4 = state.get$design(); + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._map$_map.$index(0, ext); + t4.toString; + if (strand_to_exts.$index(0, t4) == null) + strand_to_exts.$indexSet(0, t4, A.LinkedHashSet_LinkedHashSet$_empty(t3)); + strand_to_exts.$index(0, t4).add$1(0, ext); + } + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + t2 = t2._precomputed1; + i = 0; + while (true) { + t3 = J.get$length$asx(new_strands._copy_on_write_list$_list); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + strand = J.$index$asx(new_strands._copy_on_write_list$_list, i); + if (strand_to_exts.containsKey$1(0, strand)) { + t3 = strand_to_exts.$index(0, strand); + t3.toString; + t4 = strand.__has_5p_extension; + if ((t4 == null ? strand.__has_5p_extension = A.Strand.prototype.get$has_5p_extension.call(strand) : t4) && t3.contains$1(0, B.JSArray_methods.get$first(strand.substrands._list))) + strand = A._remove_extension_from_strand(strand, true); + t4 = strand.__has_3p_extension; + if ((t4 == null ? strand.__has_3p_extension = A.Strand.prototype.get$has_3p_extension.call(strand) : t4) && t3.contains$1(0, B.JSArray_methods.get$last(strand.substrands._list))) + strand = A._remove_extension_from_strand(strand, false); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t3 = strand.__first_domain; + if (t3 == null) + t3 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t3.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); + } + ++i; + } + return A._BuiltList$of(new_strands, t1); }, - context_menu_to_ul: function(menu) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, - t1 = A.DomProps$($.$get$ul(), _null); - t1.set$className(0, "context-menu-list"); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t3 = J.get$iterator$ax(menu.items._list), t4 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent, t5 = menu.position; t3.moveNext$0();) { - t6 = t3.get$current(t3); - t7 = $.$get$li(); - t8 = {}; - t8 = new L.JsBackedMap(t8); - t7 = new A.DomProps(t7, t8, _null, _null); - t7.get$$$isClassGenerated(); - t9 = t6.title; - t8.$indexSet(0, "key", t9); - t10 = t6.nested; - t11 = t10 != null; - t8.jsObject.className = F.DartValueWrapper_wrapIfNeeded(t11 ? "has-submenu" : ""); - t8 = $.$get$span(); - t12 = {}; - t12 = new L.JsBackedMap(t12); - t8 = new A.DomProps(t8, t12, _null, _null); - t8.get$$$isClassGenerated(); - t13 = t6.tooltip; - if (t13 == null) - t13 = ""; - t12 = t12.jsObject; - t12.title = F.DartValueWrapper_wrapIfNeeded(t13); - t12.onClick = F.DartValueWrapper_wrapIfNeeded(t4._as(t6.on_click != null ? new S.context_menu_to_ul_closure(t6) : _null)); - t12.className = F.DartValueWrapper_wrapIfNeeded("context-menu-item" + (t6.disabled ? " context_menu_item_disabled" : "")); - t8 = t8.call$1(t9); - if (t11) { - t6 = S.design_context_menu___$DesignContextSubmenu$closure().call$0(); - t6.toString; - J.$indexSet$ax(J.get$props$x(t6), "DesignContextSubmenuProps.context_menu", new B._$ContextMenu(t10, t5)); - t6 = t6.call$0(); + _remove_extension_from_strand(strand, is_5p) { + var t1 = strand.substrands, + t2 = t1._list, + substrands = new A.CopyOnWriteList(true, t2, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")), + idx = is_5p ? 0 : t2.length - 1; + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands._copy_on_write_list$_list, idx); + return strand.rebuild$1(new A._remove_extension_from_strand_closure(substrands)); + }, + remove_domains(strands, state, domains) { + var t2, t3, t4, t5, t6, new_strands, old_strand_idx, + t1 = type$.Strand, + strands_to_replace = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Strand), + strand_to_domains = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_Domain); + for (t2 = J.get$iterator$ax(domains), t3 = type$.Domain; t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = state.get$design(); + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + t5 = t6; } else - t6 = _null; - t2.push(t7.call$2(t8, t6)); + t5 = t6; + t5 = t5._map$_map.$index(0, t4); + t5.toString; + if (strand_to_domains.$index(0, t5) == null) + strand_to_domains.$indexSet(0, t5, A.LinkedHashSet_LinkedHashSet$_empty(t3)); + strand_to_domains.$index(0, t5).add$1(0, t4); } - return t1.call$1(t2); + for (t2 = A.LinkedHashMapKeyIterator$(strand_to_domains, strand_to_domains._modifications, strand_to_domains.$ti._precomputed1); t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + t4 = strand_to_domains.$index(0, t3); + t4.toString; + strands_to_replace.$indexSet(0, t3, A._remove_domains_from_strand(t3, t4)); + } + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = A.LinkedHashMapKeyIterator$(strands_to_replace, strands_to_replace._modifications, strands_to_replace.$ti._precomputed1), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { + t5 = t3.__js_helper$_current; + t4._as(t5); + old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); + t5 = strands_to_replace.$index(0, t5); + t5.toString; + t2._as(t5); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); + } + return A._BuiltList$of(new_strands, t1); }, - _$DesignContextMenu: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignContextMenuProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignContextMenuProps__$$DesignContextMenuProps(backingProps); + _remove_domains_from_strand(strand, domains_to_remove) { + var t2, ss_idx, substrand, t3, last_substrands, + t1 = type$.JSArray_Substrand, + substrands = A._setArrayType([], t1), + substrands_list = A._setArrayType([substrands], type$.JSArray_List_Substrand); + for (t2 = strand.substrands._list, ss_idx = 0; ss_idx < t2.length; ++ss_idx) { + substrand = t2[ss_idx]; + if (domains_to_remove.contains$1(0, substrand)) { + if (substrands.length !== 0) + t3 = B.JSArray_methods.get$last(substrands) instanceof A.Loopout || B.JSArray_methods.get$last(substrands) instanceof A.Extension; + else + t3 = false; + if (t3) { + if (0 >= substrands.length) + return A.ioore(substrands, -1); + substrands.pop(); + } + if (substrands.length !== 0) { + substrands = A._setArrayType([], t1); + B.JSArray_methods.add$1(substrands_list, substrands); + } + if (ss_idx < t2.length - 1) { + t3 = t2[ss_idx + 1]; + t3 = t3 instanceof A.Loopout || t3 instanceof A.Extension; + } else + t3 = false; + if (t3) + ++ss_idx; + } else + B.JSArray_methods.add$1(substrands, substrand); + } + if (substrands.length === 0) { + if (0 >= substrands_list.length) + return A.ioore(substrands_list, -1); + substrands_list.pop(); + } else if (strand.circular) { + t1 = substrands_list.length; + if (t1 > 1) { + last_substrands = substrands_list[t1 - 1]; + B.JSArray_methods.addAll$1(last_substrands, substrands_list[0]); + t1 = substrands_list.length; + if (0 >= t1) + return A.ioore(substrands_list, 0); + substrands_list[0] = last_substrands; + if (0 >= t1) + return A.ioore(substrands_list, -1); + substrands_list.pop(); + } + strand = strand.rebuild$1(new A._remove_domains_from_strand_closure()); + } + return A.create_new_strands_from_substrand_lists(substrands_list, strand); }, - _$$DesignContextMenuProps__$$DesignContextMenuProps: function(backingMap) { - var t1; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignContextMenuProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignContextMenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_props = backingMap; - return t1; + remove_deletions_and_insertions(strands, state, deletions, insertions) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, deletion, insertion, new_strands, i, strand, substrands, j, domain, t12, t13, t14, deletions_existing, t15, insertions_existing, strand0, + t1 = type$.Strand, + strand_to_deletions = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_Domain_and_Set_SelectableDeletion), + strand_to_insertions = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_Domain_and_Set_SelectableInsertion); + for (t2 = strands._list, t3 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t4 = type$.SelectableDeletion, t5 = type$.SelectableInsertion, t6 = type$.Domain, t7 = type$.Set_SelectableDeletion, t8 = type$.Set_SelectableInsertion; t3.moveNext$0();) { + t9 = t3.__interceptors$_current; + strand_to_deletions.$indexSet(0, t9, A.LinkedHashMap_LinkedHashMap$_empty(t6, t7)); + strand_to_insertions.$indexSet(0, t9, A.LinkedHashMap_LinkedHashMap$_empty(t6, t8)); + t10 = t9.__domains; + if (t10 == null) { + t10 = A.Strand.prototype.get$domains.call(t9); + t9.set$__domains(t10); + } + t10 = t10._list; + t10 = new J.ArrayIterator(t10, t10.length, A._arrayInstanceType(t10)._eval$1("ArrayIterator<1>")); + for (; t10.moveNext$0();) { + t11 = t10.__interceptors$_current; + strand_to_deletions.$index(0, t9).$indexSet(0, t11, A.LinkedHashSet_LinkedHashSet$_empty(t4)); + strand_to_insertions.$index(0, t9).$indexSet(0, t11, A.LinkedHashSet_LinkedHashSet$_empty(t5)); + } + } + for (t3 = deletions.length, _i = 0; _i < deletions.length; deletions.length === t3 || (0, A.throwConcurrentModificationError)(deletions), ++_i) { + deletion = deletions[_i]; + t4 = state.get$design(); + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + t4 = t5; + } else + t4 = t5; + t5 = deletion.domain; + t4 = t4._map$_map.$index(0, t5); + t4.toString; + t5 = strand_to_deletions.$index(0, t4).$index(0, t5); + t5.toString; + J.add$1$ax(t5, deletion); + } + for (t3 = insertions.length, _i = 0; _i < insertions.length; insertions.length === t3 || (0, A.throwConcurrentModificationError)(insertions), ++_i) { + insertion = insertions[_i]; + t4 = state.get$design(); + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + t4 = t5; + } else + t4 = t5; + t5 = insertion.domain; + t4 = t4._map$_map.$index(0, t5); + t4.toString; + t5 = strand_to_insertions.$index(0, t4).$index(0, t5); + t5.toString; + J.add$1$ax(t5, insertion); + } + t3 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, t2, t3._eval$1("CopyOnWriteList<1>")); + for (t3 = t3._precomputed1, t4 = type$.nullable_void_Function_StrandBuilder, t5 = type$.void_Function_StrandBuilder, t7 = type$.int, t8 = type$.nullable_void_Function_DomainBuilder, t9 = type$.void_Function_DomainBuilder, i = 0; i < t2.length; ++i) { + strand = t2[i]; + t10 = strand.substrands; + t11 = A._instanceType(t10); + substrands = new A.CopyOnWriteList(true, t10._list, t11._eval$1("CopyOnWriteList<1>")); + t10 = t11._precomputed1; + j = 0; + while (true) { + t11 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t11 !== "number") + return A.iae(t11); + if (!(j < t11)) + break; + if (J.$index$asx(substrands._copy_on_write_list$_list, j) instanceof A.Domain) { + domain = t6._as(J.$index$asx(substrands._copy_on_write_list$_list, j)); + t11 = strand_to_deletions.$index(0, strand).$index(0, domain); + t11.toString; + t12 = strand_to_insertions.$index(0, strand).$index(0, domain); + t12.toString; + t13 = A.LinkedHashSet_LinkedHashSet$_empty(t7); + for (t11 = t11.get$iterator(t11); t11.moveNext$0();) + t13.add$1(0, t11.get$current(t11).offset); + t11 = A.LinkedHashSet_LinkedHashSet$_empty(t7); + for (t12 = t12.get$iterator(t12); t12.moveNext$0();) + t11.add$1(0, t12.get$current(t12).insertion.offset); + if (t13._collection$_length !== 0 || t11._collection$_length !== 0) { + t12 = domain.deletions; + t14 = A._instanceType(t12); + deletions_existing = new A.CopyOnWriteList(true, t12._list, t14._eval$1("CopyOnWriteList<1>")); + t12 = domain.insertions; + t15 = A._instanceType(t12); + insertions_existing = new A.CopyOnWriteList(true, t12._list, t15._eval$1("CopyOnWriteList<1>")); + t13 = t14._eval$1("bool(1)")._as(new A.remove_deletions_and_insertions_closure(t13)); + deletions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(deletions_existing._copy_on_write_list$_list, t13); + t11 = t15._eval$1("bool(1)")._as(new A.remove_deletions_and_insertions_closure0(t11)); + insertions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(insertions_existing._copy_on_write_list$_list, t11); + t11 = t9._as(new A.remove_deletions_and_insertions_closure1(deletions_existing, insertions_existing)); + t15 = new A.DomainBuilder(); + t15._domain$_$v = domain; + t8._as(t11).call$1(t15); + t11 = t10._as(t15._domain$_build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, j, t11); + } + } + ++j; + } + t10 = t5._as(new A.remove_deletions_and_insertions_closure2(substrands)); + t11 = new A.StrandBuilder(); + t11._strand$_$v = strand; + t4._as(t10).call$1(t11); + strand = t11._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t10 = strand.__first_domain; + if (t10 == null) + t10 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t10.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t3._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); } + return A._BuiltList$of(new_strands, t1); }, - _$$DesignContextMenuProps$JsMap$: function(backingMap) { - var t1 = new S._$$DesignContextMenuProps$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + remove_modifications(strands, state, modifications) { + var t1, t2, _i, mod, t3, t4, new_strands, t5, t6, _box_0, t7, t8, strand_idx, strand, t9, t10, mods_int, strand0, + strand_id_to_mods = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Set_SelectableModification); + for (t1 = modifications.length, t2 = type$.SelectableModification, _i = 0; _i < modifications.length; modifications.length === t1 || (0, A.throwConcurrentModificationError)(modifications), ++_i) { + mod = modifications[_i]; + t3 = mod.get$strand(); + t4 = t3.__id; + if (!strand_id_to_mods.containsKey$1(0, t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, t3) : t4)) { + t3 = mod.get$strand(); + t4 = t3.__id; + t3 = t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, t3) : t4; + strand_id_to_mods.$indexSet(0, t3, A.LinkedHashSet_LinkedHashSet$_empty(t2)); + } + t3 = mod.get$strand(); + t4 = t3.__id; + strand_id_to_mods.$index(0, t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, t3) : t4).add$1(0, mod); + } + t1 = strands._list; + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = A._setArrayType([], type$.JSArray_String); + for (t4 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__id; + t3.push(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6); + } + for (t4 = A.LinkedHashMapKeyIterator$(strand_id_to_mods, strand_id_to_mods._modifications, strand_id_to_mods.$ti._precomputed1), t2 = t2._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder; t4.moveNext$0();) { + _box_0 = {}; + t7 = t4.__js_helper$_current; + t8 = strand_id_to_mods.$index(0, t7); + t8.toString; + strand_idx = B.JSArray_methods.indexOf$1(t3, t7); + if (!(strand_idx >= 0 && strand_idx < t1.length)) + return A.ioore(t1, strand_idx); + strand = t1[strand_idx]; + t7 = strand.modifications_int; + t9 = t7._map$_map; + t10 = A._instanceType(t7); + mods_int = new A.CopyOnWriteMap(t7._mapFactory, t9, t10._eval$1("@<1>")._bind$1(t10._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + _box_0.remove_3p = _box_0.remove_5p = false; + for (t7 = new A._LinkedHashSetIterator(t8, t8._collection$_modifications, A._instanceType(t8)._eval$1("_LinkedHashSetIterator<1>")), t7._collection$_cell = t8._collection$_first; t7.moveNext$0();) { + t8 = t7._collection$_current; + if (t8 instanceof A.SelectableModification5Prime) + _box_0.remove_5p = true; + else if (t8 instanceof A.SelectableModification3Prime) + _box_0.remove_3p = true; + else if (t8 instanceof A.SelectableModificationInternal) { + t8 = t8.dna_idx; + mods_int._maybeCopyBeforeWrite$0(); + mods_int._copy_on_write_map$_map.remove$1(0, t8); + } + } + t7 = t6._as(new A.remove_modifications_closure(_box_0, mods_int)); + t8 = new A.StrandBuilder(); + t8._strand$_$v = strand; + t5._as(t7).call$1(t8); + strand = t8._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return A._BuiltList$of(new_strands, type$.Strand); }, - _$$DesignContextMenuState__$$DesignContextMenuState: function(backingMap) { - var t1 = S._$$DesignContextMenuState$JsMap$(backingMap); - return t1; + delete_all_reducer_closure: function delete_all_reducer_closure() { }, - _$$DesignContextMenuState$JsMap$: function(backingMap) { - var t1 = new S._$$DesignContextMenuState$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_state = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + delete_all_reducer_closure0: function delete_all_reducer_closure0() { }, - _$DesignContextSubmenu: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignContextSubmenuProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(backingProps); + delete_all_reducer_closure1: function delete_all_reducer_closure1() { }, - _$$DesignContextSubmenuProps__$$DesignContextSubmenuProps: function(backingMap) { - var t1; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignContextSubmenuProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignContextSubmenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_props = backingMap; - return t1; - } + delete_all_reducer_closure2: function delete_all_reducer_closure2() { }, - _$$DesignContextSubmenuProps$JsMap$: function(backingMap) { - var t1 = new S._$$DesignContextSubmenuProps$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + delete_all_reducer_closure3: function delete_all_reducer_closure3(t0) { + this.state = t0; }, - _$$DesignContextSubmenuState$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignContextSubmenuState$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_state = backingMap; - return t1; + delete_all_reducer_closure4: function delete_all_reducer_closure4() { }, - ConnectedDesignContextMenu_closure: function ConnectedDesignContextMenu_closure() { + delete_all_reducer_closure5: function delete_all_reducer_closure5() { }, - DesignContextMenuProps: function DesignContextMenuProps() { + delete_all_reducer_closure6: function delete_all_reducer_closure6() { }, - DesignContextMenuState: function DesignContextMenuState() { + delete_all_reducer_closure7: function delete_all_reducer_closure7() { }, - DesignContextMenuComponent: function DesignContextMenuComponent() { + delete_all_reducer_closure8: function delete_all_reducer_closure8() { }, - DesignContextSubmenuProps: function DesignContextSubmenuProps() { + _remove_strands_closure: function _remove_strands_closure(t0) { + this.strands_to_remove = t0; }, - DesignContextSubmenuState: function DesignContextSubmenuState() { + _remove_strands__closure: function _remove_strands__closure(t0) { + this.strands_to_remove = t0; }, - DesignContextSubmenuComponent: function DesignContextSubmenuComponent() { + remove_linkers_from_strand_closure: function remove_linkers_from_strand_closure() { }, - context_menu_to_ul_closure: function context_menu_to_ul_closure(t0) { - this.item = t0; + remove_linkers_from_strand_closure0: function remove_linkers_from_strand_closure0() { }, - $DesignContextMenuComponentFactory_closure: function $DesignContextMenuComponentFactory_closure() { + create_new_strands_from_substrand_lists_closure: function create_new_strands_from_substrand_lists_closure(t0) { + this.i = t0; }, - _$$DesignContextMenuProps: function _$$DesignContextMenuProps() { + create_new_strands_from_substrand_lists_closure0: function create_new_strands_from_substrand_lists_closure0() { }, - _$$DesignContextMenuProps$PlainMap: function _$$DesignContextMenuProps$PlainMap(t0, t1, t2, t3) { - var _ = this; - _._design_context_menu$_props = t0; - _.DesignContextMenuProps_context_menu = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + create_new_strands_from_substrand_lists_closure1: function create_new_strands_from_substrand_lists_closure1() { }, - _$$DesignContextMenuProps$JsMap: function _$$DesignContextMenuProps$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_context_menu$_props = t0; - _.DesignContextMenuProps_context_menu = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + _remove_extension_from_strand_closure: function _remove_extension_from_strand_closure(t0) { + this.substrands = t0; }, - _$$DesignContextMenuState: function _$$DesignContextMenuState() { + _remove_domains_from_strand_closure: function _remove_domains_from_strand_closure() { }, - _$$DesignContextMenuState$JsMap: function _$$DesignContextMenuState$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_context_menu$_state = t0; - _.DesignContextMenuState_width = t1; - _.DesignContextMenuState_height = t2; - _.DesignContextMenuState_menu_HTML_element_ref = t3; + remove_deletions_and_insertions_closure: function remove_deletions_and_insertions_closure(t0) { + this.deletions_offsets_to_remove = t0; }, - _$DesignContextMenuComponent: function _$DesignContextMenuComponent(t0) { - var _ = this; - _._design_context_menu$_cachedTypedState = _._design_context_menu$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + remove_deletions_and_insertions_closure0: function remove_deletions_and_insertions_closure0(t0) { + this.insertions_offsets_to_remove = t0; }, - $DesignContextSubmenuComponentFactory_closure: function $DesignContextSubmenuComponentFactory_closure() { + remove_deletions_and_insertions_closure1: function remove_deletions_and_insertions_closure1(t0, t1) { + this.deletions_existing = t0; + this.insertions_existing = t1; }, - _$$DesignContextSubmenuProps: function _$$DesignContextSubmenuProps() { + remove_deletions_and_insertions_closure2: function remove_deletions_and_insertions_closure2(t0) { + this.substrands = t0; }, - _$$DesignContextSubmenuProps$PlainMap: function _$$DesignContextSubmenuProps$PlainMap(t0, t1, t2, t3) { - var _ = this; - _._design_context_menu$_props = t0; - _.DesignContextSubmenuProps_context_menu = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + remove_modifications_closure: function remove_modifications_closure(t0, t1) { + this._box_0 = t0; + this.mods_int = t1; }, - _$$DesignContextSubmenuProps$JsMap: function _$$DesignContextSubmenuProps$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_context_menu$_props = t0; - _.DesignContextSubmenuProps_context_menu = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + design_global_reducer(design, state, action) { + design = A.design_composed_global_reducer(design, state, action); + return $.$get$design_whole_global_reducer().call$3(design, state, action); }, - _$$DesignContextSubmenuState: function _$$DesignContextSubmenuState() { + design_composed_local_reducer(design, action) { + var t1 = design.rebuild$1(new A.design_composed_local_reducer_closure(design, action)); + return t1; }, - _$$DesignContextSubmenuState$JsMap: function _$$DesignContextSubmenuState$JsMap(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._design_context_menu$_state = t0; - _.DesignContextSubmenuState_width = t1; - _.DesignContextSubmenuState_height = t2; - _.DesignContextSubmenuState_left = t3; - _.DesignContextSubmenuState_top = t4; - _.DesignContextSubmenuState_submenu_HTML_element_ref = t5; + design_composed_global_reducer(design, state, action) { + return design == null ? null : design.rebuild$1(new A.design_composed_global_reducer_closure(design, state, action)); }, - _$DesignContextSubmenuComponent: function _$DesignContextSubmenuComponent(t0) { - var _ = this; - _._design_context_menu$_cachedTypedState = _._design_context_menu$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + design_error_message_set_reducer(design, action) { + var t1; + type$.nullable_Design._as(design); + t1 = type$.ErrorMessageSet._as(action).error_message; + return t1 == null || t1.length === 0 ? design : null; + }, + design_geometry_set_reducer(design, state, action) { + var t1, t2, t3, new_helices, t4, t5, t6, t7, t8, t9, t10; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.GeometrySet._as(action); + if (design == null) + return null; + t1 = design.helices; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_helices = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t2 = t3._rest[0], t3 = t3._rest[1], t4 = type$.nullable_void_Function_HelixBuilder, t5 = type$.void_Function_HelixBuilder, t6 = type$.Helix; t1.moveNext$0();) { + t7 = t1.get$current(t1); + t8 = new_helices._copy_on_write_map$_map.$index(0, t7); + t8.toString; + t9 = t5._as(new A.design_geometry_set_reducer_closure(action)); + t10 = new A.HelixBuilder(); + t10.get$_helix$_$this()._group = "default_group"; + t10.get$_helix$_$this()._min_offset = 0; + t10.get$_helix$_$this()._roll = 0; + t6._as(t8); + t10._helix$_$v = t8; + t4._as(t9).call$1(t10); + t8 = t10._helix$_build$0(); + t2._as(t7); + t3._as(t8); + new_helices._maybeCopyBeforeWrite$0(); + new_helices._copy_on_write_map$_map.$indexSet(0, t7, t8); + } + return design.rebuild$1(new A.design_geometry_set_reducer_closure0(new_helices, action)); }, - $DesignContextMenuProps: function $DesignContextMenuProps() { + new_design_set_reducer(design, action) { + type$.nullable_Design._as(design); + return type$.NewDesignSet._as(action).design; }, - $DesignContextSubmenuProps: function $DesignContextSubmenuProps() { + design_composed_local_reducer_closure: function design_composed_local_reducer_closure(t0, t1) { + this.design = t0; + this.action = t1; }, - $DesignContextMenuState: function $DesignContextMenuState() { + design_composed_global_reducer_closure: function design_composed_global_reducer_closure(t0, t1, t2) { + this.design = t0; + this.state = t1; + this.action = t2; }, - $DesignContextSubmenuState: function $DesignContextSubmenuState() { + design_geometry_set_reducer_closure: function design_geometry_set_reducer_closure(t0) { + this.action = t0; }, - _DesignContextMenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextMenuComponent_UiStatefulComponent2_PureComponent() { + design_geometry_set_reducer_closure0: function design_geometry_set_reducer_closure0(t0, t1) { + this.new_helices = t0; + this.action = t1; }, - _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent() { + dna_ends_move_set_selected_ends_reducer(_, action) { + var t1, t2; + type$.nullable_DNAEndsMove._as(_); + type$.DNAEndsMoveSetSelectedEnds._as(action); + t1 = action.moves; + t2 = action.original_offset; + return A._$DNAEndsMove$_(t2, action.helix, t1, t2); }, - __$$DesignContextMenuProps_UiProps_DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps() { + dna_ends_move_adjust_reducer(move, action) { + var t1, t2; + type$.nullable_DNAEndsMove._as(move); + type$.DNAEndsMoveAdjustOffset._as(action); + if (move == null) + t1 = null; + else { + t1 = type$.void_Function_DNAEndsMoveBuilder._as(new A.dna_ends_move_adjust_reducer_closure(action)); + t2 = new A.DNAEndsMoveBuilder(); + A.ArgumentError_checkNotNull(move, "other", type$.DNAEndsMove); + t2._dna_ends_move$_$v = move; + type$.nullable_void_Function_DNAEndsMoveBuilder._as(t1).call$1(t2); + t1 = t2._dna_ends_move$_build$0(); + } + return t1; }, - __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps() { + dna_ends_move_stop_reducer(move, action) { + type$.nullable_DNAEndsMove._as(move); + type$.DNAEndsMoveStop._as(action); + return null; }, - __$$DesignContextMenuState_UiState_DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState() { + dna_ends_move_adjust_reducer_closure: function dna_ends_move_adjust_reducer_closure(t0) { + this.action = t0; }, - __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState() { + dna_extensions_move_set_selected_extension_ends_reducer(_, action) { + var t1, t2; + type$.nullable_DNAExtensionsMove._as(_); + type$.DNAExtensionsMoveSetSelectedExtensionEnds._as(action); + t1 = action.moves; + t2 = action.original_point; + return A._$DNAExtensionsMove$_(t2, t1, t2); }, - __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps() { + dna_extensions_move_adjust_reducer(move, action) { + var t1, t2; + type$.nullable_DNAExtensionsMove._as(move); + type$.DNAExtensionsMoveAdjustPosition._as(action); + if (move == null) + t1 = null; + else { + t1 = type$.void_Function_DNAExtensionsMoveBuilder._as(new A.dna_extensions_move_adjust_reducer_closure(action)); + t2 = new A.DNAExtensionsMoveBuilder(); + A.ArgumentError_checkNotNull(move, "other", type$.DNAExtensionsMove); + t2._dna_extensions_move$_$v = move; + type$.nullable_void_Function_DNAExtensionsMoveBuilder._as(t1).call$1(t2); + t1 = t2._dna_extensions_move$_build$0(); + } + return t1; }, - __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps() { + dna_extensions_move_stop_reducer(move, action) { + type$.nullable_DNAExtensionsMove._as(move); + type$.DNAExtensionsMoveStop._as(action); + return null; }, - __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState() { + dna_extensions_move_adjust_reducer_closure: function dna_extensions_move_adjust_reducer_closure(t0) { + this.action = t0; }, - __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState() { - }, - _$DesignDialogForm: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignDialogFormProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignDialogFormProps__$$DesignDialogFormProps(backingProps); - }, - _$$DesignDialogFormProps__$$DesignDialogFormProps: function(backingMap) { - var t1; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignDialogFormProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignDialogFormProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_dialog_form$_props = backingMap; - return t1; + domains_move_start_selected_domains_reducer(_, state, action) { + var t1, t2, t3, t4, selected_domains, t5, t6, t7; + type$.nullable_DomainsMove._as(_); + type$.AppState._as(state); + type$.DomainsMoveStartSelectedDomains._as(action); + t1 = state.ui_state.selectables_store.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + t4 = type$.Domain; + selected_domains = A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.domains_move_start_selected_domains_reducer_closure())), t3._eval$1("WhereIterable")), t4); + t3 = type$.Strand; + t1 = A.LinkedHashSet_LinkedHashSet$_empty(t3); + for (t2 = A._LinkedHashSetIterator$(selected_domains, selected_domains._collection$_modifications, A._instanceType(selected_domains)._precomputed1); t2.moveNext$0();) { + t5 = t2._collection$_current; + t6 = state.get$design(); + t7 = t6.__substrand_to_strand; + if (t7 == null) { + t7 = A.Design.prototype.get$substrand_to_strand.call(t6); + t6.set$__substrand_to_strand(t7); + t6 = t7; + } else + t6 = t7; + t5 = t6._map$_map.$index(0, t5); + t5.toString; + t1.add$1(0, t5); } + t2 = A.BuiltList_BuiltList$of(selected_domains, t4); + t4 = state.get$design(); + t5 = t4.__all_domains; + if (t5 == null) { + t5 = A.Design.prototype.get$all_domains.call(t4); + t4.set$__all_domains(t5); + t4 = t5; + } else + t4 = t5; + t3 = A.BuiltList_BuiltList$of(t1, t3); + t1 = action.original_helices_view_order_inverse; + t5 = state.get$design().helices; + return A.DomainsMove_DomainsMove(t4, t2, state.get$design().groups, t5, action.address, t1, t3); + }, + domains_move_stop_reducer(domains_move, action) { + type$.nullable_DomainsMove._as(domains_move); + type$.DomainsMoveStop._as(action); + return null; }, - _$$DesignDialogFormProps$JsMap$: function(backingMap) { - var t1 = new S._$$DesignDialogFormProps$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_dialog_form$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - _$$DesignDialogFormState__$$DesignDialogFormState: function(backingMap) { - var t1 = S._$$DesignDialogFormState$JsMap$(backingMap); - return t1; + domains_adjust_address_reducer(domains_move, state, action) { + var new_domains_move; + type$.nullable_DomainsMove._as(domains_move); + type$.AppState._as(state); + new_domains_move = domains_move.rebuild$1(new A.domains_adjust_address_reducer_closure(type$.DomainsMoveAdjustAddress._as(action))); + if (A.in_bounds0(state.get$design(), new_domains_move)) + return new_domains_move.rebuild$1(new A.domains_adjust_address_reducer_closure0(A.is_allowable0(state.get$design(), new_domains_move))); + else + return domains_move; }, - _$$DesignDialogFormState$JsMap$: function(backingMap) { - var t1 = new S._$$DesignDialogFormState$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_dialog_form$_state = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + in_bounds0(design, domains_move) { + var t5, t6, num_helices_in_group, t7, t8, delta_view_order, delta_offset, view_orders_of_helices_of_moving_domains, min_view_order, max_view_order, _i, domain, + t1 = domains_move.current_address, + t2 = design.helices, + t3 = t2._map$_map, + t4 = t3.$index(0, t1.helix_idx); + t4.toString; + t4 = t4.group; + t5 = design.groups._map$_map; + t6 = t5.$index(0, t4); + t6.toString; + num_helices_in_group = design.helices_in_group$1(t4)._map$_map._length; + t4 = domains_move.original_address; + t7 = t3.$index(0, t4.helix_idx); + t7.toString; + t7 = t5.$index(0, t7.group); + t7.toString; + t5 = domains_move.get$current_view_order(); + t8 = domains_move.get$original_view_order(); + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t8 !== "number") + return A.iae(t8); + delta_view_order = t5 - t8; + t1 = t1.offset; + t4 = t4.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + delta_offset = t1 - t4; + view_orders_of_helices_of_moving_domains = A.view_order_moving0(domains_move, t7); + t4 = type$.int; + min_view_order = A.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_domains, t4); + max_view_order = A.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_domains, t4); + if (typeof min_view_order !== "number") + return min_view_order.$add(); + if (min_view_order + delta_view_order < 0) + return false; + if (typeof max_view_order !== "number") + return max_view_order.$add(); + if (max_view_order + delta_view_order >= num_helices_in_group) + return false; + for (t1 = t2.get$keys(t2), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t6 = t6.helices_view_order; t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + t4 = domains_move.__domains_moving_on_helix; + if (t4 == null) { + t4 = A.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t4); + } + if (t4.$index(0, t2).length === 0) + continue; + t4 = t7.__helices_view_order_inverse; + if (t4 == null) { + t4 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t7); + t7.set$__helices_view_order_inverse(t4); + } + t4 = t4._map$_map.$index(0, t2); + t4.toString; + t4 += delta_view_order; + t5 = t6._list; + if (!(t4 >= 0 && t4 < t5.length)) + return A.ioore(t5, t4); + t4 = t3.$index(0, t5[t4]); + t4.toString; + t5 = domains_move.__domains_moving_on_helix; + if (t5 == null) { + t5 = A.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t5); + } + t2 = t5.$index(0, t2); + t5 = t2.length; + t8 = t4.max_offset; + t4 = t4.min_offset; + _i = 0; + for (; _i < t5; ++_i) { + domain = t2[_i]; + if (domain.start + delta_offset < t4) + return false; + if (domain.end + delta_offset > t8) + return false; + } + } + return true; }, - ConnectedDesignDialogForm_closure: function ConnectedDesignDialogForm_closure() { + view_order_moving0(domains_move, original_group) { + var t1, t2, t3, + ret = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t1 = domains_move.domains_moving._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = original_group.__helices_view_order_inverse; + if (t3 == null) { + t3 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); + original_group.set$__helices_view_order_inverse(t3); + } + t2 = t3._map$_map.$index(0, t2.helix); + t2.toString; + ret.add$1(0, t2); + } + return ret; }, - DesignDialogFormProps: function DesignDialogFormProps() { + is_allowable0(design, domains_move) { + var t5, t6, t7, delta_view_order, t8, delta_offset, delta_forward, domains_moving, new_helix_idx, domains_fixed, t9, t10, t11, t12, t13, t14, t15, t16, t17, _i, $forward, intervals_moving, t18, t19, intervals_fixed, + t1 = domains_move.current_address, + t2 = design.helices, + t3 = t2._map$_map, + t4 = t3.$index(0, t1.helix_idx); + t4.toString; + t5 = design.groups._map$_map; + t4 = t5.$index(0, t4.group); + t4.toString; + t6 = domains_move.get$current_view_order(); + t7 = domains_move.get$original_view_order(); + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t7 !== "number") + return A.iae(t7); + delta_view_order = t6 - t7; + t7 = t1.offset; + t6 = domains_move.original_address; + t8 = t6.offset; + if (typeof t7 !== "number") + return t7.$sub(); + if (typeof t8 !== "number") + return A.iae(t8); + delta_offset = t7 - t8; + delta_forward = t1.forward != t6.forward; + for (t1 = t2.get$keys(t2), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t4 = t4.helices_view_order; t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + t6 = domains_move.__domains_moving_on_helix; + if (t6 == null) { + t6 = A.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t6); + } + domains_moving = t6.$index(0, t2); + if (domains_moving.length === 0) + continue; + t6 = t3.$index(0, t2); + t6.toString; + t6 = t5.$index(0, t6.group); + t6.toString; + t7 = t6.__helices_view_order_inverse; + if (t7 == null) { + t7 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t6); + t6.set$__helices_view_order_inverse(t7); + t6 = t7; + } else + t6 = t7; + t2 = t6._map$_map.$index(0, t2); + t2.toString; + t2 += delta_view_order; + t6 = t4._list; + if (!(t2 >= 0 && t2 < t6.length)) + return A.ioore(t6, t2); + new_helix_idx = t6[t2]; + t2 = t3.$index(0, new_helix_idx); + t2.toString; + t6 = domains_move.__domains_fixed_on_helix; + if (t6 == null) { + t6 = A.DomainsMove.prototype.get$domains_fixed_on_helix.call(domains_move); + domains_move.set$__domains_fixed_on_helix(t6); + } + domains_fixed = t6.$index(0, new_helix_idx); + if (domains_fixed.length === 0) + continue; + for (t6 = [true, false], t7 = A.instanceType(domains_moving), t8 = t7._eval$1("bool(1)"), t9 = t7._eval$1("WhereIterable<1>"), t10 = t7._eval$1("Point(1)"), t7 = t7._eval$1("MappedIterable<1,Point>"), t11 = t7._eval$1("Iterable.E"), t12 = A.instanceType(domains_fixed), t13 = t12._eval$1("bool(1)"), t14 = t12._eval$1("WhereIterable<1>"), t15 = t12._eval$1("Point(1)"), t12 = t12._eval$1("MappedIterable<1,Point>"), t16 = t12._eval$1("Iterable.E"), t17 = t2.max_offset, t2 = t2.min_offset, _i = 0; _i < 2; ++_i) { + $forward = t6[_i]; + intervals_moving = A.List_List$of(new A.MappedIterable(new A.WhereIterable(domains_moving, t8._as(new A.is_allowable_closure3(delta_forward, $forward)), t9), t10._as(new A.is_allowable_closure4(delta_offset)), t7), true, t11); + t18 = A._arrayInstanceType(intervals_moving); + t18._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_moving.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t18 = t18._precomputed1; + t19 = intervals_moving.length - 1; + if (t19 - 0 <= 32) + A.Sort__insertionSort(intervals_moving, 0, t19, A.strands_move_reducer__interval_comparator$closure(), t18); + else + A.Sort__dualPivotQuicksort(intervals_moving, 0, t19, A.strands_move_reducer__interval_comparator$closure(), t18); + t18 = intervals_moving.length; + if (t18 !== 0) { + if (0 >= t18) + return A.ioore(intervals_moving, 0); + t19 = intervals_moving[0].x; + if (typeof t19 !== "number") + return t19.$lt(); + if (t19 < t2) + return false; + t19 = t18 - 1; + if (!(t19 >= 0)) + return A.ioore(intervals_moving, t19); + t19 = intervals_moving[t19].y; + if (typeof t19 !== "number") + return t19.$ge(); + if (t19 >= t17) + return false; + intervals_fixed = A.List_List$of(new A.MappedIterable(new A.WhereIterable(domains_fixed, t13._as(new A.is_allowable_closure5($forward)), t14), t15._as(new A.is_allowable_closure6()), t12), true, t16); + t18 = A._arrayInstanceType(intervals_fixed); + t18._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_fixed.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t18 = t18._precomputed1; + t19 = intervals_fixed.length - 1; + if (t19 - 0 <= 32) + A.Sort__insertionSort(intervals_fixed, 0, t19, A.strands_move_reducer__interval_comparator$closure(), t18); + else + A.Sort__dualPivotQuicksort(intervals_fixed, 0, t19, A.strands_move_reducer__interval_comparator$closure(), t18); + if (A.intersection(intervals_moving, intervals_fixed)) + return false; + } + } + } + return true; }, - DesignDialogFormState: function DesignDialogFormState() { + move_domain(current_group, delta_forward, delta_offset, delta_view_order, domain, original_group, set_first_last_false) { + var new_view_order, + t1 = original_group.get$helices_view_order_inverse()._map$_map.$index(0, domain.helix); + t1.toString; + new_view_order = t1 + delta_view_order; + t1 = current_group.helices_view_order._list; + if (!(new_view_order >= 0 && new_view_order < t1.length)) + return A.ioore(t1, new_view_order); + return domain.rebuild$1(new A.move_domain_closure(set_first_last_false, t1[new_view_order], delta_forward, domain, delta_offset)); }, - DesignDialogFormComponent: function DesignDialogFormComponent() { + domains_move_start_selected_domains_reducer_closure: function domains_move_start_selected_domains_reducer_closure() { }, - DesignDialogFormComponent_getDerivedStateFromProps_closure: function DesignDialogFormComponent_getDerivedStateFromProps_closure(t0) { - this.prev_state = t0; + domains_adjust_address_reducer_closure: function domains_adjust_address_reducer_closure(t0) { + this.action = t0; }, - DesignDialogFormComponent_render_closure: function DesignDialogFormComponent_render_closure(t0) { - this.$this = t0; + domains_adjust_address_reducer_closure0: function domains_adjust_address_reducer_closure0(t0) { + this.allowable = t0; }, - DesignDialogFormComponent_dialog_for_closure: function DesignDialogFormComponent_dialog_for_closure(t0, t1) { - this.$this = t0; - this.dialog_item_idx = t1; + is_allowable_closure3: function is_allowable_closure3(t0, t1) { + this.delta_forward = t0; + this.forward = t1; }, - DesignDialogFormComponent_dialog_for__closure6: function DesignDialogFormComponent_dialog_for__closure6(t0) { - this.new_checked = t0; + is_allowable_closure4: function is_allowable_closure4(t0) { + this.delta_offset = t0; }, - DesignDialogFormComponent_dialog_for__closure7: function DesignDialogFormComponent_dialog_for__closure7() { + is_allowable_closure5: function is_allowable_closure5(t0) { + this.forward = t0; }, - DesignDialogFormComponent_dialog_for_closure0: function DesignDialogFormComponent_dialog_for_closure0(t0, t1) { - this.$this = t0; - this.dialog_item_idx = t1; + is_allowable_closure6: function is_allowable_closure6() { }, - DesignDialogFormComponent_dialog_for__closure5: function DesignDialogFormComponent_dialog_for__closure5(t0) { - this.new_value = t0; + move_domain_closure: function move_domain_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.set_first_last_false = t0; + _.new_helix_idx = t1; + _.delta_forward = t2; + _.domain = t3; + _.delta_offset = t4; }, - DesignDialogFormComponent_dialog_for_closure1: function DesignDialogFormComponent_dialog_for_closure1(t0, t1) { - this.$this = t0; - this.dialog_item_idx = t1; + move_domain__closure: function move_domain__closure(t0) { + this.delta_offset = t0; }, - DesignDialogFormComponent_dialog_for__closure4: function DesignDialogFormComponent_dialog_for__closure4(t0) { - this.new_value = t0; + move_domain__closure0: function move_domain__closure0(t0) { + this.delta_offset = t0; }, - DesignDialogFormComponent_dialog_for_closure2: function DesignDialogFormComponent_dialog_for_closure2(t0, t1) { - this.$this = t0; - this.dialog_item_idx = t1; + move_domain___closure: function move_domain___closure(t0, t1) { + this.i = t0; + this.delta_offset = t1; }, - DesignDialogFormComponent_dialog_for__closure3: function DesignDialogFormComponent_dialog_for__closure3(t0) { - this.new_value = t0; + toggle_edit_mode_reducer(modes, action) { + var mode; + type$.BuiltSet_EditModeChoice._as(modes); + mode = type$.EditModeToggle._as(action).mode; + return modes._set.contains$1(0, mode) ? modes.rebuild$1(new A.toggle_edit_mode_reducer_closure(mode)) : modes.rebuild$1(new A.toggle_edit_mode_reducer_closure0(mode)); }, - DesignDialogFormComponent_dialog_for_closure3: function DesignDialogFormComponent_dialog_for_closure3(t0, t1) { - this.$this = t0; - this.dialog_item_idx = t1; + set_edit_modes_reducer(edit_modes, action) { + type$.BuiltSet_EditModeChoice._as(edit_modes); + return type$.EditModesSet._as(action).edit_modes; }, - DesignDialogFormComponent_dialog_for__closure2: function DesignDialogFormComponent_dialog_for__closure2(t0) { - this.new_value = t0; + toggle_edit_mode_reducer_closure: function toggle_edit_mode_reducer_closure(t0) { + this.mode = t0; }, - DesignDialogFormComponent_dialog_for_closure4: function DesignDialogFormComponent_dialog_for_closure4(t0, t1, t2) { - this.$this = t0; - this.item = t1; - this.dialog_item_idx = t2; + toggle_edit_mode_reducer_closure0: function toggle_edit_mode_reducer_closure0(t0) { + this.mode = t0; }, - DesignDialogFormComponent_dialog_for__closure1: function DesignDialogFormComponent_dialog_for__closure1(t0) { - this.selected_radio_idx = t0; + grid_change_reducer(groups, action) { + var t1 = type$.HelixGroup; + return A.BuiltMapValues_map_values(type$.BuiltMap_String_HelixGroup._as(groups), new A.grid_change_reducer_closure(type$.GridChange._as(action)), type$.String, t1, t1); }, - DesignDialogFormComponent_dialog_for_closure5: function DesignDialogFormComponent_dialog_for_closure5(t0, t1, t2) { - this.$this = t0; - this.item = t1; - this.dialog_item_idx = t2; + group_add_reducer(groups, action) { + return type$.BuiltMap_String_HelixGroup._as(groups).rebuild$1(new A.group_add_reducer_closure(type$.GroupAdd._as(action))); }, - DesignDialogFormComponent_dialog_for__closure0: function DesignDialogFormComponent_dialog_for__closure0(t0) { - this.selected_radio_idx = t0; + group_remove_reducer(groups, action) { + return type$.BuiltMap_String_HelixGroup._as(groups).rebuild$1(new A.group_remove_reducer_closure(type$.GroupRemove._as(action))); }, - DesignDialogFormComponent_dialog_for_closure6: function DesignDialogFormComponent_dialog_for_closure6(t0, t1, t2) { - this.$this = t0; - this.item = t1; - this.dialog_item_idx = t2; + group_change_reducer(groups, action) { + return type$.BuiltMap_String_HelixGroup._as(groups).rebuild$1(new A.group_change_reducer_closure(type$.GroupChange._as(action))); }, - DesignDialogFormComponent_dialog_for__closure: function DesignDialogFormComponent_dialog_for__closure(t0) { - this.selected_radio_idx = t0; + move_helices_to_group_groups_reducer(groups, state, action) { + var to_group_name, t1, t2, t3, t4, t5, t6, new_helices_view_order, t7, t8, t9, t10, t11, t12, t13, _i, from_group_name, t14, t15, t16, new_from_helices_group_order, t17, t18, from_group, to_group; + type$.BuiltMap_String_HelixGroup._as(groups); + type$.AppState._as(state); + type$.MoveHelicesToGroup._as(action); + to_group_name = action.group_name; + t1 = A._setArrayType([], type$.JSArray_String); + for (t2 = action.helix_idxs._list, t3 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t1.push(state.get$design().helices._map$_map.$index(0, t4).group); + } + t3 = state.get$design().groups; + t4 = t3._map$_map; + t5 = A._instanceType(t3); + t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); + groups = new A.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("CopyOnWriteMap<1,2>")); + t4 = t4.$index(0, to_group_name); + t4.toString; + t3 = t4.helices_view_order; + t6 = A._instanceType(t3); + new_helices_view_order = new A.CopyOnWriteList(true, t3._list, t6._eval$1("CopyOnWriteList<1>")); + for (t3 = t1.length, t7 = t5._rest[0], t5 = t5._rest[1], t8 = type$.nullable_void_Function_HelixGroupBuilder, t9 = type$.nullable_ListBuilder_int, t10 = type$.int, t11 = type$.List_int, t12 = type$.ListBuilder_int, t13 = type$.void_Function_HelixGroupBuilder, t6 = t6._precomputed1, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + from_group_name = t1[_i]; + t14 = groups._copy_on_write_map$_map.$index(0, from_group_name); + t14.toString; + t15 = t14.helices_view_order; + t16 = t15._list; + new_from_helices_group_order = new A.CopyOnWriteList(true, t16, A._instanceType(t15)._eval$1("CopyOnWriteList<1>")); + for (t15 = new J.ArrayIterator(t16, t16.length, A._arrayInstanceType(t16)._eval$1("ArrayIterator<1>")); t15.moveNext$0();) { + t16 = t15.__interceptors$_current; + if (B.JSArray_methods.contains$1(t2, t16)) { + if (!J.contains$1$asx(new_helices_view_order._copy_on_write_list$_list, t16)) { + t6._as(t16); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, t16); + } + new_from_helices_group_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_from_helices_group_order._copy_on_write_list$_list, t16); + } + } + t15 = t13._as(new A.move_helices_to_group_groups_reducer_closure(new_from_helices_group_order)); + t16 = new A.HelixGroupBuilder(); + t16.get$_group$_$this()._group$_grid = B.Grid_none; + t17 = $.$get$Position3D_origin(); + t17.toString; + t18 = new A.Position3DBuilder(); + t18._position3d$_$v = t17; + t16.get$_group$_$this()._group$_position = t18; + t16.get$_group$_$this()._pitch = 0; + t16.get$_group$_$this()._yaw = 0; + t16.get$_group$_$this()._group$_roll = 0; + t17 = new A.ListBuilder(t12); + t17.set$__ListBuilder__list_A(t11._as(A.List_List$from(B.List_empty, true, t10))); + t17.set$_listOwner(null); + t9._as(t17); + t16.get$_group$_$this().set$_group$_helices_view_order(t17); + t16._group$_$v = t14; + t8._as(t15).call$1(t16); + from_group = t16._group$_build$0(); + t7._as(from_group_name); + t5._as(from_group); + groups._maybeCopyBeforeWrite$0(); + groups._copy_on_write_map$_map.$indexSet(0, from_group_name, from_group); + } + to_group = t4.rebuild$1(new A.move_helices_to_group_groups_reducer_closure0(new_helices_view_order)); + t7._as(to_group_name); + t5._as(to_group); + groups._maybeCopyBeforeWrite$0(); + groups._copy_on_write_map$_map.$indexSet(0, to_group_name, to_group); + return A.BuiltMap_BuiltMap$of(groups, type$.String, type$.HelixGroup); }, - $DesignDialogFormComponentFactory_closure: function $DesignDialogFormComponentFactory_closure() { + grid_change_reducer_closure: function grid_change_reducer_closure(t0) { + this.action = t0; }, - _$$DesignDialogFormProps: function _$$DesignDialogFormProps() { + grid_change_reducer__closure: function grid_change_reducer__closure(t0) { + this.action = t0; }, - _$$DesignDialogFormProps$PlainMap: function _$$DesignDialogFormProps$PlainMap(t0, t1, t2, t3) { - var _ = this; - _._design_dialog_form$_props = t0; - _.DesignDialogFormProps_dialog = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + group_add_reducer_closure: function group_add_reducer_closure(t0) { + this.action = t0; }, - _$$DesignDialogFormProps$JsMap: function _$$DesignDialogFormProps$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_dialog_form$_props = t0; - _.DesignDialogFormProps_dialog = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; + group_remove_reducer_closure: function group_remove_reducer_closure(t0) { + this.action = t0; }, - _$$DesignDialogFormState: function _$$DesignDialogFormState() { + group_change_reducer_closure: function group_change_reducer_closure(t0) { + this.action = t0; }, - _$$DesignDialogFormState$JsMap: function _$$DesignDialogFormState$JsMap(t0, t1, t2, t3) { - var _ = this; - _._design_dialog_form$_state = t0; - _.DesignDialogFormState_current_responses = t1; - _.DesignDialogFormState_dialog_type = t2; - _.DesignDialogFormState_saved_responses = t3; + move_helices_to_group_groups_reducer_closure: function move_helices_to_group_groups_reducer_closure(t0) { + this.new_from_helices_group_order = t0; }, - _$DesignDialogFormComponent: function _$DesignDialogFormComponent(t0) { - var _ = this; - _._design_dialog_form$_cachedTypedState = _._design_dialog_form$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + move_helices_to_group_groups_reducer_closure0: function move_helices_to_group_groups_reducer_closure0(t0) { + this.new_helices_view_order = t0; }, - $DesignDialogFormProps: function $DesignDialogFormProps() { + helix_individual_reducer(helices, state, action) { + var t1, t2, new_helix, helices_map; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixIndividualAction._as(action); + t1 = action.get$helix_idx(); + t2 = helices._map$_map; + t1 = t2.$index(0, t1); + t1.toString; + new_helix = $.$get$_helix_individual_reducers().call$3(t1, state, action); + if (!J.$eq$(new_helix, t1)) { + t1 = A._instanceType(helices); + t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); + helices_map = new A.CopyOnWriteMap(helices._mapFactory, t2, t1._eval$1("CopyOnWriteMap<1,2>")); + t2 = t1._rest[0]._as(action.get$helix_idx()); + t1._rest[1]._as(new_helix); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t2, new_helix); + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); + } else + return helices; }, - $DesignDialogFormState: function $DesignDialogFormState() { + helix_idx_change_reducer(design, state, action) { + var t1, t2, t3, helices, t4, strands, new_groups, t5, t6, t7, t8, t9, t10, t11, t12, t13, helix, s, strand, substrands, changed_strand, d, substrand, domain, extension_5p, extension_3p, strand0; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.HelixIdxsChange._as(action); + if (design == null) + return null; + t1 = design.helices; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + helices = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + t1 = design.strands; + t4 = A._instanceType(t1); + strands = new A.CopyOnWriteList(true, t1._list, t4._eval$1("CopyOnWriteList<1>")); + new_groups = A.change_groups(action, helices, design); + helices.removeWhere$1(0, new A.helix_idx_change_reducer_closure(action)); + for (t1 = action.idx_replacements, t5 = t1.get$keys(t1), t6 = t5._map, t5 = A.LinkedHashMapKeyIterator$(t6, t6._modifications, A._instanceType(t5)._precomputed1), t6 = t3._rest[0], t3 = t3._rest[1], t7 = type$.nullable_void_Function_HelixBuilder, t8 = type$.void_Function_HelixBuilder, t9 = type$.Helix; t5.moveNext$0();) { + t10 = t5.__js_helper$_current; + t11 = t1._map$_map.$index(0, t10); + t11.toString; + t10 = t2.$index(0, t10); + t10.toString; + t12 = t8._as(new A.helix_idx_change_reducer_closure0(t11)); + t13 = new A.HelixBuilder(); + t13.get$_helix$_$this()._group = "default_group"; + t13.get$_helix$_$this()._min_offset = 0; + t13.get$_helix$_$this()._roll = 0; + t9._as(t10); + t13._helix$_$v = t10; + t7._as(t12).call$1(t13); + helix = t13._helix$_build$0(); + t6._as(t11); + t3._as(helix); + helices._maybeCopyBeforeWrite$0(); + helices._copy_on_write_map$_map.$indexSet(0, t11, helix); + } + t2 = type$.nullable_void_Function_DomainBuilder; + t3 = type$.void_Function_DomainBuilder; + t5 = type$.nullable_void_Function_ExtensionBuilder; + t6 = type$.void_Function_ExtensionBuilder; + t4 = t4._precomputed1; + t7 = type$.nullable_void_Function_StrandBuilder; + t8 = type$.void_Function_StrandBuilder; + s = 0; + while (true) { + t9 = J.get$length$asx(strands._copy_on_write_list$_list); + if (typeof t9 !== "number") + return A.iae(t9); + if (!(s < t9)) + break; + strand = J.$index$asx(strands._copy_on_write_list$_list, s); + t9 = strand.substrands; + t10 = A._instanceType(t9); + substrands = new A.CopyOnWriteList(true, t9._list, t10._eval$1("CopyOnWriteList<1>")); + t9 = t10._precomputed1; + changed_strand = false; + d = 0; + while (true) { + t10 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t10 !== "number") + return A.iae(t10); + if (!(d < t10)) + break; + t10 = {}; + substrand = J.$index$asx(substrands._copy_on_write_list$_list, d); + if (substrand instanceof A.Domain) { + t11 = substrand.helix; + t11 = t1._map$_map.containsKey$1(0, t11); + } else + t11 = false; + if (t11) { + t10.domain = substrand; + t11 = substrand.helix; + t11 = t1._map$_map.$index(0, t11); + t11.toString; + t11 = t3._as(new A.helix_idx_change_reducer_closure1(t11)); + t12 = new A.DomainBuilder(); + t12._domain$_$v = substrand; + t2._as(t11).call$1(t12); + domain = t12._domain$_build$0(); + t10.domain = domain; + t9._as(domain); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, d, domain); + if (d === 1 && J.$index$asx(substrands._copy_on_write_list$_list, 0) instanceof A.Extension) { + extension_5p = J.$index$asx(substrands._copy_on_write_list$_list, 0); + if (extension_5p instanceof A.Extension) { + t11 = t6._as(new A.helix_idx_change_reducer_closure2(t10)); + t12 = new A.ExtensionBuilder(); + t12._extension$_$v = extension_5p; + t5._as(t11).call$1(t12); + t11 = t9._as(t12._extension$_build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, 0, t11); + } + } + t11 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t11 !== "number") + return t11.$sub(); + if (d === t11 - 2) { + t11 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t11 !== "number") + return t11.$sub(); + t11 = J.$index$asx(substrands._copy_on_write_list$_list, t11 - 1) instanceof A.Extension; + } else + t11 = false; + if (t11) { + t11 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t11 !== "number") + return t11.$sub(); + extension_3p = J.$index$asx(substrands._copy_on_write_list$_list, t11 - 1); + if (extension_3p instanceof A.Extension) { + t10 = t6._as(new A.helix_idx_change_reducer_closure3(t10)); + t11 = new A.ExtensionBuilder(); + t11._extension$_$v = extension_3p; + t5._as(t10).call$1(t11); + extension_3p = t11._extension$_build$0(); + t10 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t10 !== "number") + return t10.$sub(); + t9._as(extension_3p); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, t10 - 1, extension_3p); + } + } + changed_strand = true; + } + ++d; + } + if (changed_strand) { + t9 = t8._as(new A.helix_idx_change_reducer_closure4(substrands)); + t10 = new A.StrandBuilder(); + t10._strand$_$v = strand; + t7._as(t9).call$1(t10); + strand = t10._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t9 = strand.__first_domain; + if (t9 == null) + t9 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t9.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands._copy_on_write_list$_list, s, strand0); + } + ++s; + } + return design.rebuild$1(new A.helix_idx_change_reducer_closure5(new_groups, helices, strands)); }, - _DesignDialogFormComponent_UiStatefulComponent2_PureComponent: function _DesignDialogFormComponent_UiStatefulComponent2_PureComponent() { + change_groups(action, helices, design) { + var t2, t3, t4, t5, t6, t7, new_groups, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, previous_is_default, helices_view_order_new, t19, t20, order_old_idx, new_group, + t1 = type$.int, + new_view_order = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t2 = action.idx_replacements, t3 = t2.get$keys(t2), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = design.groups; t3.moveNext$0();) { + t5 = t3.__js_helper$_current; + t6 = helices._copy_on_write_map$_map.$index(0, t5); + t6.toString; + t6 = t4._map$_map.$index(0, t6.group); + t6.toString; + t7 = t6.__helices_view_order_inverse; + if (t7 == null) { + t7 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t6); + t6.set$__helices_view_order_inverse(t7); + t6 = t7; + } else + t6 = t7; + t6 = t6._map$_map.$index(0, t5); + t6.toString; + new_view_order.$indexSet(0, t5, t6); + } + t3 = t4._map$_map; + t5 = A._instanceType(t4); + t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); + new_groups = new A.CopyOnWriteMap(t4._mapFactory, t3, t5._eval$1("CopyOnWriteMap<1,2>")); + for (t4 = t4.get$keys(t4), t6 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t6, t6._modifications, A._instanceType(t4)._precomputed1), t6 = t5._rest[0], t5 = t5._rest[1], t7 = type$.nullable_void_Function_HelixGroupBuilder, t8 = type$.nullable_ListBuilder_int, t9 = type$.List_int, t10 = type$.ListBuilder_int, t11 = type$.void_Function_HelixGroupBuilder, t12 = t2._map$_map, t13 = A._instanceType(t12)._eval$1("LinkedHashMapKeyIterable<1>"); t4.moveNext$0();) { + t14 = t4.__js_helper$_current; + t15 = t3.$index(0, t14); + t15.toString; + t16 = design.__helix_idxs_in_group; + if (t16 == null) { + t16 = A.Design.prototype.get$helix_idxs_in_group.call(design); + design.set$__helix_idxs_in_group(t16); + } + t16 = t16._map$_map.$index(0, t14); + t16.toString; + if (t2._keys == null) + t2.set$_keys(new A.LinkedHashMapKeyIterable(t12, t13)); + t17 = t2._keys; + t17.toString; + t18 = A.LinkedHashSet_LinkedHashSet(t17.$ti._eval$1("Iterable.E")); + t18.addAll$1(0, t17); + t17 = t16._list; + t17 = t18.intersection$1(0, A.LinkedHashSet_LinkedHashSet$from(t17, A._arrayInstanceType(t17)._precomputed1)); + if (t17.get$isNotEmpty(t17)) { + previous_is_default = A.helices_view_order_is_default(t16, t15); + t16 = t15.helices_view_order; + t17 = A._instanceType(t16); + helices_view_order_new = new A.CopyOnWriteList(true, t16._list, t17._eval$1("CopyOnWriteList<1>")); + if (t2._keys == null) + t2.set$_keys(new A.LinkedHashMapKeyIterable(t12, t13)); + t16 = t2._keys; + t18 = t16._map; + t16 = new A.LinkedHashMapKeyIterator(t18, t18._modifications, A._instanceType(t16)._eval$1("LinkedHashMapKeyIterator<1>")); + t16._cell = t18._first; + t18 = t17._precomputed1; + for (; t16.moveNext$0();) { + t19 = t16.__js_helper$_current; + t20 = t15.__helices_view_order_inverse; + if (t20 == null) { + t20 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t15); + t15.set$__helices_view_order_inverse(t20); + } + order_old_idx = t20._map$_map.$index(0, t19); + if (order_old_idx != null) { + t19 = t12.$index(0, t19); + t19.toString; + t18._as(t19); + helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_view_order_new._copy_on_write_list$_list, order_old_idx, t19); + } + } + if (A.boolConversionCheck(previous_is_default)) { + t17._eval$1("int(1,1)?")._as(null); + helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.sort$1$ax(helices_view_order_new._copy_on_write_list$_list, null); + } + t16 = t11._as(new A.change_groups_closure(helices_view_order_new)); + t17 = new A.HelixGroupBuilder(); + t17.get$_group$_$this()._group$_grid = B.Grid_none; + t18 = $.$get$Position3D_origin(); + t18.toString; + t19 = new A.Position3DBuilder(); + t19._position3d$_$v = t18; + t17.get$_group$_$this()._group$_position = t19; + t17.get$_group$_$this()._pitch = 0; + t17.get$_group$_$this()._yaw = 0; + t17.get$_group$_$this()._group$_roll = 0; + t18 = new A.ListBuilder(t10); + t18.set$__ListBuilder__list_A(t9._as(A.List_List$from(B.List_empty, true, t1))); + t18.set$_listOwner(null); + t8._as(t18); + t17.get$_group$_$this().set$_group$_helices_view_order(t18); + t17._group$_$v = t15; + t7._as(t16).call$1(t17); + new_group = t17._group$_build$0(); + t6._as(t14); + t5._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + new_groups._copy_on_write_map$_map.$indexSet(0, t14, new_group); + } + } + return new_groups; }, - __$$DesignDialogFormProps_UiProps_DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps() { + helix_offset_change_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + type$.HelixOffsetChange._as(action); + return A._change_offset_one_helix(helix, action.min_offset, action.max_offset); }, - __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps() { + _change_offset_one_helix(helix, min_offset, max_offset) { + return helix.rebuild$1(new A._change_offset_one_helix_closure(min_offset, helix, max_offset)); }, - __$$DesignDialogFormState_UiState_DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState() { + helix_offset_change_all_with_moving_strands_reducer(helices, state, action) { + var t1, new_strands_move, strand_bounds_details, $status, offsets; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.StrandsMoveAdjustAddress._as(action); + t1 = state.ui_state; + if (t1.storables.dynamically_update_helices) { + new_strands_move = t1.strands_move.rebuild$1(new A.helix_offset_change_all_with_moving_strands_reducer_closure(action)); + strand_bounds_details = A.get_strand_bounds_details(state.get$design(), new_strands_move, null); + $status = type$.strand_bounds_status._as(strand_bounds_details.$index(0, "status")); + offsets = strand_bounds_details.$index(0, "offsets"); + if ($status === B.strand_bounds_status_2 || $status === B.strand_bounds_status_4) { + t1 = type$.Helix; + helices = A.BuiltMapValues_map_values(helices, new A.helix_offset_change_all_with_moving_strands_reducer_map_func(offsets), type$.int, t1, t1); + } else if ($status === B.strand_bounds_status_3 || $status === B.strand_bounds_status_5) { + t1 = type$.Helix; + helices = A.BuiltMapValues_map_values(helices, new A.helix_offset_change_all_with_moving_strands_reducer_map_func0(offsets), type$.int, t1, t1); + } + } + return helices; }, - __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState() { + helix_offset_change_all_while_creating_strand_reducer(helices, state, action) { + var t1, strand_creation, t2, t3, helices_map, original_helix_offsets, t4, t5, t6; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.StrandCreateAdjustOffset._as(action); + t1 = state.ui_state; + if (t1.storables.dynamically_update_helices) { + strand_creation = t1.strand_creation; + if (strand_creation != null) { + t2 = helices._map$_map; + t3 = A._instanceType(helices); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + helices_map = new A.CopyOnWriteMap(helices._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + original_helix_offsets = t1.original_helix_offsets; + t1 = strand_creation.helix.idx; + t4 = t2.$index(0, t1).min_offset; + t5 = action.offset; + if (typeof t5 !== "number") + return A.iae(t5); + if (t4 > t5) { + t2 = t2.$index(0, t1).rebuild$1(new A.helix_offset_change_all_while_creating_strand_reducer_closure(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); + } + if (t2.$index(0, t1).max_offset <= t5) { + t2 = t2.$index(0, t1).rebuild$1(new A.helix_offset_change_all_while_creating_strand_reducer_closure0(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); + } + if (t5 > t2.$index(0, t1).min_offset) { + t4 = t2.$index(0, t1).min_offset; + t6 = original_helix_offsets._map$_map.$index(0, t1)._list; + if (0 >= t6.length) + return A.ioore(t6, 0); + t6 = t6[0]; + if (typeof t6 !== "number") + return A.iae(t6); + t6 = t4 < t6; + t4 = t6; + } else + t4 = false; + if (t4) { + t2 = t2.$index(0, t1).rebuild$1(new A.helix_offset_change_all_while_creating_strand_reducer_closure1(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); + } + if (t5 < t2.$index(0, t1).max_offset + 1) { + t4 = t2.$index(0, t1).max_offset; + t5 = original_helix_offsets._map$_map.$index(0, t1)._list; + if (1 >= t5.length) + return A.ioore(t5, 1); + t5 = t5[1]; + if (typeof t5 !== "number") + return A.iae(t5); + t5 = t4 > t5; + t4 = t5; + } else + t4 = false; + if (t4) { + t2 = t2.$index(0, t1).rebuild$1(new A.helix_offset_change_all_while_creating_strand_reducer_closure2(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); + } + } + } + return helices; }, - _$DesignMainPotentialVerticalCrossovers: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps(backingProps); + first_replace_strands_reducer(helices, state, action) { + var t1, t2, t3, changed_strands, min_offsets, max_offsets, key, t4, t5, helix_idx, t6, t7, t8, helices_map, t9, t10, t11, t12, + _s10_ = "No element", + _s13_ = "default_group"; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + t1 = type$.ReplaceStrands._as(action).new_strands; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + changed_strands = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3 = type$.int; + min_offsets = A.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + max_offsets = A.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t2 = type$.JSArray_int; t1.moveNext$0();) { + key = A._asIntS(t1.get$current(t1)); + for (t4 = B.JSArray_methods.get$iterator(changed_strands._copy_on_write_map$_map.$index(0, key).substrands._list); t4.moveNext$0();) { + t5 = t4.get$current(t4); + if (t5 instanceof A.Domain) { + helix_idx = t5.helix; + t6 = t5.start; + t7 = helices._map$_map; + if (t6 < t7.$index(0, helix_idx).min_offset) + if (min_offsets.containsKey$1(0, helix_idx)) { + t8 = min_offsets.$index(0, helix_idx); + t8.toString; + t6 = A.IterableIntegerExtension_get_minOrNull(A._setArrayType([t8, t6], t2)); + min_offsets.$indexSet(0, helix_idx, t6 == null ? A.throwExpression(A.StateError$(_s10_)) : t6); + } else + min_offsets.$indexSet(0, helix_idx, t6); + t5 = t5.end; + if (t5 > t7.$index(0, helix_idx).max_offset) + if (max_offsets.containsKey$1(0, helix_idx)) { + t6 = max_offsets.$index(0, helix_idx); + t6.toString; + t5 = A.IterableIntegerExtension_get_maxOrNull(A._setArrayType([t6, t5], t2)); + max_offsets.$indexSet(0, helix_idx, t5 == null ? A.throwExpression(A.StateError$(_s10_)) : t5); + } else + max_offsets.$indexSet(0, helix_idx, t5); + } + } + } + t1 = helices._map$_map; + t2 = A._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_map = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + if (min_offsets._length > 0) + for (t1 = A.LinkedHashMapKeyIterator$(min_offsets, min_offsets._modifications, min_offsets.$ti._precomputed1), t4 = t2._rest[0], t5 = t2._rest[1], t6 = type$.nullable_void_Function_HelixBuilder, t7 = type$.void_Function_HelixBuilder, t8 = type$.Helix; t1.moveNext$0();) { + t9 = t1.__js_helper$_current; + t10 = helices_map._copy_on_write_map$_map.$index(0, t9); + t10.toString; + t11 = t7._as(new A.first_replace_strands_reducer_closure(min_offsets, t9)); + t12 = new A.HelixBuilder(); + t12.get$_helix$_$this()._group = _s13_; + t12.get$_helix$_$this()._min_offset = 0; + t12.get$_helix$_$this()._roll = 0; + t8._as(t10); + t12._helix$_$v = t10; + t6._as(t11).call$1(t12); + t10 = t12._helix$_build$0(); + t4._as(t9); + t5._as(t10); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t9, t10); + } + if (max_offsets._length > 0) + for (t1 = A.LinkedHashMapKeyIterator$(max_offsets, max_offsets._modifications, max_offsets.$ti._precomputed1), t4 = t2._rest[0], t2 = t2._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t1.moveNext$0();) { + t8 = t1.__js_helper$_current; + t9 = helices_map._copy_on_write_map$_map.$index(0, t8); + t9.toString; + t10 = t6._as(new A.first_replace_strands_reducer_closure0(max_offsets, t8)); + t11 = new A.HelixBuilder(); + t11.get$_helix$_$this()._group = _s13_; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t7._as(t9); + t11._helix$_$v = t9; + t5._as(t10).call$1(t11); + t9 = t11._helix$_build$0(); + t4._as(t8); + t2._as(t9); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(helices_map, t3, type$.Helix); }, - _$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_potential_vertical_crossovers$_props = backingMap; - return t1; + reset_helices_offsets(helices, state) { + var helices_updated, original_helix_offsets, t3, t4, t5, t6, t7, t8, current_helix_min_offset, t9, t10, t11, current_helix_max_offset, + _s13_ = "default_group", + t1 = helices._map$_map, + t2 = A._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_updated = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + original_helix_offsets = state.ui_state.original_helix_offsets; + for (t1 = original_helix_offsets.get$keys(original_helix_offsets), t3 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t1)._precomputed1), t3 = original_helix_offsets._map$_map, t4 = t2._rest[0], t2 = t2._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t1.moveNext$0();) { + t8 = t1.__js_helper$_current; + current_helix_min_offset = state.get$design().min_offset_of_strands_at$1(t8); + t9 = t3.$index(0, t8)._list; + if (0 >= t9.length) + return A.ioore(t9, 0); + t9 = t9[0]; + if (typeof t9 !== "number") + return A.iae(t9); + if (current_helix_min_offset >= t9) { + t9 = helices_updated._copy_on_write_map$_map.$index(0, t8); + t9.toString; + t10 = t6._as(new A.reset_helices_offsets_closure(original_helix_offsets, t8)); + t11 = new A.HelixBuilder(); + t11.get$_helix$_$this()._group = _s13_; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t7._as(t9); + t11._helix$_$v = t9; + t5._as(t10).call$1(t11); + t9 = t11._helix$_build$0(); + t4._as(t8); + t2._as(t9); + helices_updated._maybeCopyBeforeWrite$0(); + helices_updated._copy_on_write_map$_map.$indexSet(0, t8, t9); + } + current_helix_max_offset = state.get$design().max_offset_of_strands_at$1(t8); + t9 = t3.$index(0, t8)._list; + if (1 >= t9.length) + return A.ioore(t9, 1); + t9 = t9[1]; + if (typeof t9 !== "number") + return A.iae(t9); + if (current_helix_max_offset <= t9) { + t9 = helices_updated._copy_on_write_map$_map.$index(0, t8); + t9.toString; + t10 = t6._as(new A.reset_helices_offsets_closure0(original_helix_offsets, t8)); + t11 = new A.HelixBuilder(); + t11.get$_helix$_$this()._group = _s13_; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t7._as(t9); + t11._helix$_$v = t9; + t5._as(t10).call$1(t11); + t9 = t11._helix$_build$0(); + t4._as(t8); + t2._as(t9); + helices_updated._maybeCopyBeforeWrite$0(); + helices_updated._copy_on_write_map$_map.$indexSet(0, t8, t9); + } } + return A.BuiltMap_BuiltMap$of(helices_updated, type$.int, t7); }, - _$$DesignMainPotentialVerticalCrossoversProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignMainPotentialVerticalCrossoversProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_potential_vertical_crossovers$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + reset_helices_offsets_after_selections_clear(helices, state, action) { + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.SelectionsClear._as(action); + return A.reset_helices_offsets(helices, state); }, - DesignMainPotentialVerticalCrossoversProps: function DesignMainPotentialVerticalCrossoversProps() { + helix_offset_change_all_reducer(helices, state, action) { + var t1; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + t1 = type$.Helix; + return A.BuiltMapValues_map_values(helices, new A.helix_offset_change_all_reducer_map_func(type$.HelixOffsetChangeAll._as(action)), type$.int, t1, t1); + }, + helix_min_offset_set_by_domains_reducer(helix, state, action) { + type$.Helix._as(helix); + type$.AppState._as(state); + type$.HelixMinOffsetSetByDomains._as(action); + return A._min_offset_set_by_domains_one_helix(helix, state.get$design()); + }, + helix_max_offset_set_by_domains_reducer(helix, state, action) { + type$.Helix._as(helix); + type$.AppState._as(state); + type$.HelixMaxOffsetSetByDomains._as(action); + return A._max_offset_set_by_domains_one_helix(helix, state.get$design()); + }, + _min_offset_set_by_domains_one_helix(helix, design) { + var t2, + domains = design.domains_on_helix$1(helix.idx), + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) + t1.push(t2.get$current(t2).start); + return helix.rebuild$1(new A._min_offset_set_by_domains_one_helix_closure(A.IterableIntegerExtension_get_min(t1))); }, - DesignMainPotentialVerticalCrossoversComponent: function DesignMainPotentialVerticalCrossoversComponent() { + _max_offset_set_by_domains_one_helix(helix, design) { + var t2, + domains = design.domains_on_helix$1(helix.idx), + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) + t1.push(t2.get$current(t2).end); + return helix.rebuild$1(new A._max_offset_set_by_domains_one_helix_closure(t1.length !== 0 ? A.IterableIntegerExtension_get_max(t1) : 10)); }, - DesignMainPotentialVerticalCrossoversComponent_render_closure: function DesignMainPotentialVerticalCrossoversComponent_render_closure(t0, t1) { - this.idx_top = t0; - this.idx_bot = t1; + helix_min_offset_set_by_domains_all_reducer(helices, state, action) { + var t1; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixMinOffsetSetByDomainsAll._as(action); + t1 = type$.Helix; + return A.BuiltMapValues_map_values(helices, new A.helix_min_offset_set_by_domains_all_reducer_map_func(state), type$.int, t1, t1); }, - $DesignMainPotentialVerticalCrossoversComponentFactory_closure: function $DesignMainPotentialVerticalCrossoversComponentFactory_closure() { + helix_max_offset_set_by_domains_all_reducer(helices, state, action) { + var t1; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixMaxOffsetSetByDomainsAll._as(action); + t1 = type$.Helix; + return A.BuiltMapValues_map_values(helices, new A.helix_max_offset_set_by_domains_all_reducer_map_func(state), type$.int, t1, t1); }, - _$$DesignMainPotentialVerticalCrossoversProps: function _$$DesignMainPotentialVerticalCrossoversProps() { + helix_max_offset_set_by_domains_all_same_max_reducer(helices, state, action) { + var design, t1, t2, domains, t3, t4, this_max_offset, _box_0 = {}; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixMaxOffsetSetByDomainsAllSameMax._as(action); + design = state.get$design(); + _box_0.max_offset = null; + for (t1 = helices.get$keys(helices), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = type$.JSArray_int; t1.moveNext$0();) { + domains = design.domains_on_helix$1(t1.__js_helper$_current); + t3 = A._setArrayType([], t2); + for (t4 = J.get$iterator$ax(domains); t4.moveNext$0();) + t3.push(t4.get$current(t4).end); + if (t3.length !== 0) { + t3 = A.IterableIntegerExtension_get_maxOrNull(t3); + this_max_offset = t3 == null ? A.throwExpression(A.StateError$("No element")) : t3; + } else + this_max_offset = 10; + t3 = _box_0.max_offset; + if (t3 == null) + _box_0.max_offset = this_max_offset; + else + _box_0.max_offset = Math.max(t3, this_max_offset); + } + if (_box_0.max_offset == null) + _box_0.max_offset = 10; + t1 = type$.Helix; + return A.BuiltMapValues_map_values(helices, new A.helix_max_offset_set_by_domains_all_same_max_reducer_closure(_box_0), type$.int, t1, t1); + }, + helix_major_tick_distance_change_all_reducer(helices, action) { + var t1 = type$.Helix; + return A.BuiltMapValues_map_values(type$.BuiltMap_int_Helix._as(helices), new A.helix_major_tick_distance_change_all_reducer_closure(type$.HelixMajorTickDistanceChangeAll._as(action)), type$.int, t1, t1); + }, + helix_major_ticks_change_all_reducer(helices, action) { + var t1 = type$.Helix; + return A.BuiltMapValues_map_values(type$.BuiltMap_int_Helix._as(helices), new A.helix_major_ticks_change_all_reducer_closure(type$.HelixMajorTicksChangeAll._as(action)), type$.int, t1, t1); + }, + helix_major_tick_start_change_all_reducer(helices, action) { + var t1 = type$.Helix; + return A.BuiltMapValues_map_values(type$.BuiltMap_int_Helix._as(helices), new A.helix_major_tick_start_change_all_reducer_closure(type$.HelixMajorTickStartChangeAll._as(action)), type$.int, t1, t1); + }, + helix_major_tick_periodic_distances_change_all_reducer(helices, action) { + var t1 = type$.Helix; + return A.BuiltMapValues_map_values(type$.BuiltMap_int_Helix._as(helices), new A.helix_major_tick_periodic_distances_change_all_reducer_closure(type$.HelixMajorTickPeriodicDistancesChangeAll._as(action)), type$.int, t1, t1); + }, + helix_major_tick_distance_change_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + return A._change_major_tick_distance_one_helix(helix, type$.HelixMajorTickDistanceChange._as(action).major_tick_distance); + }, + helix_major_tick_periodic_distances_change_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + return A._change_major_tick_periodic_distances_one_helix(helix, type$.HelixMajorTickPeriodicDistancesChange._as(action).major_tick_periodic_distances); + }, + helix_major_tick_start_change_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + return A._change_major_tick_start_one_helix(helix, type$.HelixMajorTickStartChange._as(action).major_tick_start); + }, + helix_major_ticks_change_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + return A._change_major_ticks_one_helix(helix, type$.HelixMajorTicksChange._as(action).major_ticks); + }, + _change_major_tick_distance_one_helix(helix, major_tick_distance) { + return helix.rebuild$1(new A._change_major_tick_distance_one_helix_closure(major_tick_distance)); + }, + _change_major_tick_start_one_helix(helix, major_tick_start) { + return helix.rebuild$1(new A._change_major_tick_start_one_helix_closure(major_tick_start)); + }, + _change_major_tick_periodic_distances_one_helix(helix, major_tick_periodic_distances) { + return helix.rebuild$1(new A._change_major_tick_periodic_distances_one_helix_closure(major_tick_periodic_distances)); + }, + _change_major_ticks_one_helix(helix, major_ticks) { + return helix.rebuild$1(new A._change_major_ticks_one_helix_closure(major_ticks)); + }, + helix_roll_set_reducer(helix, _, action) { + type$.Helix._as(helix); + type$.AppState._as(_); + return helix.rebuild$1(new A.helix_roll_set_reducer_closure(type$.HelixRollSet._as(action))); + }, + helix_roll_set_at_other_reducer(helices, state, action) { + var t1, t2, t3, t4, geometry, helix_new, helices_builder; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixRollSetAtOther._as(action); + t1 = action.helix_idx; + t2 = helices._map$_map; + t3 = t2.$index(0, t1); + t3.toString; + t4 = t2.$index(0, action.helix_other_idx); + t4.toString; + geometry = state.get$design().geometry; + helix_new = t3.rebuild$1(new A.helix_roll_set_at_other_reducer_closure(B.JSNumber_methods.$mod(t3.roll + (A.rotation_between_helices(t3, t4, action.forward, geometry) - state.get$design().helix_rotation_forward$2(t3.idx, action.anchor)), 360))); + t3 = A._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_builder = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_builder.$indexSet(0, t1, helix_new); + return helices_builder.build$0(); }, - _$$DesignMainPotentialVerticalCrossoversProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoversProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _._design_main_potential_vertical_crossovers$_props = t0; - _.DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers = t1; - _.DesignMainPotentialVerticalCrossoversProps_helices = t2; - _.DesignMainPotentialVerticalCrossoversProps_groups = t3; - _.DesignMainPotentialVerticalCrossoversProps_geometry = t4; - _.DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices = t5; - _.DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs = t6; - _.DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + helix_add_design_reducer(design, state, action) { + var t1, t2, new_idx, min_offset, max_offset, t3, t4, t5, t6, t7, t8, t9, new_helices_view_order, new_group, new_groups, helix, new_helices; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.HelixAdd._as(action); + if (design == null) + return null; + t1 = design.helices; + t2 = t1._map$_map; + if (t2._length > 0) { + new_idx = A.IterableIntegerExtension_get_max(t1.get$keys(t1)) + 1; + min_offset = design.__min_offset; + if (min_offset == null) { + min_offset = A.Design.prototype.get$min_offset.call(design); + design.__min_offset = min_offset; + } + max_offset = design.__max_offset; + if (max_offset == null) { + max_offset = A.Design.prototype.get$max_offset.call(design); + design.__max_offset = max_offset; + } + } else { + new_idx = 0; + min_offset = 0; + max_offset = 64; + } + t3 = design.groups; + t4 = state.ui_state.storables; + t5 = t4.displayed_group_name; + t6 = t3._map$_map; + t7 = t6.$index(0, t5); + t7.toString; + t8 = t7.helices_view_order; + t9 = A._instanceType(t8); + new_helices_view_order = new A.CopyOnWriteList(true, t8._list, t9._eval$1("CopyOnWriteList<1>")); + t9._precomputed1._as(new_idx); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, new_idx); + new_group = t7.rebuild$1(new A.helix_add_design_reducer_closure(new_helices_view_order)); + t9 = A._instanceType(t3); + t9 = t9._eval$1("@<1>")._bind$1(t9._rest[1]); + new_groups = new A.CopyOnWriteMap(t3._mapFactory, t6, t9._eval$1("CopyOnWriteMap<1,2>")); + t9._rest[0]._as(t5); + t9._rest[1]._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + new_groups._copy_on_write_map$_map.$indexSet(0, t5, new_group); + t9 = design.geometry; + t6 = action.grid_position; + t3 = action.position; + helix = A.Helix_Helix(t9, t7.grid, t6, t5, new_idx, t4.invert_y, max_offset, min_offset, t3); + t3 = A._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_helices = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + t2 = t3._rest[0]._as(helix.idx); + t3._rest[1]._as(helix); + new_helices._maybeCopyBeforeWrite$0(); + new_helices._copy_on_write_map$_map.$indexSet(0, t2, helix); + return design.rebuild$1(new A.helix_add_design_reducer_closure0(new_helices, new_groups)); + }, + helix_remove_design_global_reducer(design, state, action) { + var t1, substrands_on_helix, strands_with_substrands_removed, new_helices, t2, t3, t4, t5, t6, new_helices_view_order, new_group, new_groups; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.HelixRemove._as(action); + if (design == null) + return null; + t1 = action.helix_idx; + substrands_on_helix = J.toSet$0$ax(design.domains_on_helix$1(t1)); + strands_with_substrands_removed = A.remove_domains(design.strands, state, substrands_on_helix); + new_helices = A.remove_helix_assuming_no_domains(design.helices, action); + t2 = design.groups; + t3 = state.ui_state.storables.displayed_group_name; + t4 = t2._map$_map; + t5 = t4.$index(0, t3); + t5.toString; + t6 = t5.helices_view_order; + new_helices_view_order = new A.CopyOnWriteList(true, t6._list, A._instanceType(t6)._eval$1("CopyOnWriteList<1>")); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t1); + new_group = t5.rebuild$1(new A.helix_remove_design_global_reducer_closure(new_helices_view_order)); + t5 = A._instanceType(t2); + t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); + new_groups = new A.CopyOnWriteMap(t2._mapFactory, t4, t5._eval$1("CopyOnWriteMap<1,2>")); + t5._rest[0]._as(t3); + t5._rest[1]._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + new_groups._copy_on_write_map$_map.$indexSet(0, t3, new_group); + return design.rebuild$1(new A.helix_remove_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); + }, + helix_remove_all_selected_design_global_reducer(design, state, action) { + var helix_idxs, t1, substrands_on_helices, strands_with_substrands_removed, new_helices, t2, t3, new_groups, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, new_helices_view_order, t14, t15, t16, new_group; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.HelixRemoveAllSelected._as(action); + if (design == null) + return null; + helix_idxs = state.ui_state.storables.side_selected_helix_idxs; + t1 = design.domains_on_helices$1(helix_idxs)._list; + substrands_on_helices = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); + strands_with_substrands_removed = A.remove_domains(design.strands, state, substrands_on_helices); + new_helices = A.remove_helices_assuming_no_domains(design.helices, helix_idxs); + t1 = design.groups; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_groups = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = t1.get$keys(t1), t4 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t1)._precomputed1), t4 = t3._rest[0], t3 = t3._rest[1], t5 = type$.nullable_void_Function_HelixGroupBuilder, t6 = type$.nullable_ListBuilder_int, t7 = type$.int, t8 = type$.List_int, t9 = type$.ListBuilder_int, t10 = type$.void_Function_HelixGroupBuilder; t1.moveNext$0();) { + t11 = t1.__js_helper$_current; + t12 = t2.$index(0, t11); + t12.toString; + t13 = t12.helices_view_order; + new_helices_view_order = new A.CopyOnWriteList(true, t13._list, A._instanceType(t13)._eval$1("CopyOnWriteList<1>")); + for (t13 = helix_idxs._set, t13 = t13.get$iterator(t13); t13.moveNext$0();) { + t14 = t13.get$current(t13); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t14); + } + t13 = t10._as(new A.helix_remove_all_selected_design_global_reducer_closure(new_helices_view_order)); + t14 = new A.HelixGroupBuilder(); + t14.get$_group$_$this()._group$_grid = B.Grid_none; + t15 = $.$get$Position3D_origin(); + t15.toString; + t16 = new A.Position3DBuilder(); + t16._position3d$_$v = t15; + t14.get$_group$_$this()._group$_position = t16; + t14.get$_group$_$this()._pitch = 0; + t14.get$_group$_$this()._yaw = 0; + t14.get$_group$_$this()._group$_roll = 0; + t15 = new A.ListBuilder(t9); + t15.set$__ListBuilder__list_A(t8._as(A.List_List$from(B.List_empty, true, t7))); + t15.set$_listOwner(null); + t6._as(t15); + t14.get$_group$_$this().set$_group$_helices_view_order(t15); + t14._group$_$v = t12; + t5._as(t13).call$1(t14); + new_group = t14._group$_build$0(); + t4._as(t11); + t3._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + new_groups._copy_on_write_map$_map.$indexSet(0, t11, new_group); + } + return design.rebuild$1(new A.helix_remove_all_selected_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); }, - _$$DesignMainPotentialVerticalCrossoversProps$JsMap: function _$$DesignMainPotentialVerticalCrossoversProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _._design_main_potential_vertical_crossovers$_props = t0; - _.DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers = t1; - _.DesignMainPotentialVerticalCrossoversProps_helices = t2; - _.DesignMainPotentialVerticalCrossoversProps_groups = t3; - _.DesignMainPotentialVerticalCrossoversProps_geometry = t4; - _.DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices = t5; - _.DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs = t6; - _.DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map = t7; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + remove_helix_assuming_no_domains(helices, action) { + return helices.rebuild$1(new A.remove_helix_assuming_no_domains_closure(action)); }, - _$DesignMainPotentialVerticalCrossoversComponent: function _$DesignMainPotentialVerticalCrossoversComponent(t0) { - var _ = this; - _._design_main_potential_vertical_crossovers$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + remove_helices_assuming_no_domains(helices, helix_idxs) { + return helices.rebuild$1(new A.remove_helices_assuming_no_domains_closure(helix_idxs)); }, - $DesignMainPotentialVerticalCrossoversProps: function $DesignMainPotentialVerticalCrossoversProps() { + helix_grid_change_reducer(helices, state, action) { + var t1, t2, new_helices, geometry, t3, t4, t5, t6, t7, helix_builder, t8, t9, t10, position_normalized_diameter_1, gp; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.GridChange._as(action); + t1 = helices._map$_map; + t2 = A._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + new_helices = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + geometry = state.get$design().geometry; + t3 = state.get$design().get$helix_idxs_in_group()._map$_map.$index(0, action.group_name); + t3.toString; + for (t3 = t3._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = t2._rest[0], t2 = t2._rest[1], t5 = action.grid; t3.moveNext$0();) { + t6 = t3.__interceptors$_current; + t7 = t1.$index(0, t6); + t7.toString; + helix_builder = new A.HelixBuilder(); + helix_builder.get$_helix$_$this()._group = "default_group"; + helix_builder.get$_helix$_$this()._min_offset = 0; + helix_builder.get$_helix$_$this()._roll = 0; + helix_builder._helix$_$v = t7; + helix_builder.get$_helix$_$this()._grid = t5; + t5.toString; + t8 = t5 === B.Grid_none; + if (!t8 && t7.grid_position == null) { + t9 = t7.position_; + if (t9 == null) { + t9 = t7.grid_position; + t9.toString; + t9 = A.grid_position_to_position3d(t9, t7.grid, t7.geometry); + } + t10 = geometry.__distance_between_helices_nm; + t10 = 1 / (t10 == null ? geometry.__distance_between_helices_nm = A.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t10); + position_normalized_diameter_1 = A.Position3D_Position3D(t9.x * t10, t9.y * t10, t9.z * t10); + gp = A.position_2d_to_grid_position_diameter_1_circles(t5, position_normalized_diameter_1.z, position_normalized_diameter_1.y, B.HexGridCoordinateSystem_2); + t10 = new A.GridPositionBuilder(); + t10._grid_position$_$v = gp; + helix_builder.get$_helix$_$this()._grid_position = t10; + helix_builder.get$_helix$_$this()._position_ = null; + } + if (t8 && t7.position_ == null) { + helix_builder.get$_helix$_$this()._grid_position = null; + t8 = t7.grid_position; + t8.toString; + t7 = A.grid_position_to_position3d(t8, t7.grid, geometry); + t8 = new A.Position3DBuilder(); + t8._position3d$_$v = t7; + helix_builder.get$_helix$_$this()._position_ = t8; + } + t7 = helix_builder._helix$_build$0(); + t4._as(t6); + t2._as(t7); + new_helices._maybeCopyBeforeWrite$0(); + new_helices._copy_on_write_map$_map.$indexSet(0, t6, t7); + } + return A.BuiltMap_BuiltMap$of(new_helices, type$.int, type$.Helix); }, - __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps() { + relax_helix_rolls_reducer(helices, state, action) { + var helix_idxs_to_relax, t1, t2, new_helices_map, t3, t4, t5, t6, t7, helix_relaxed; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + helix_idxs_to_relax = type$.RelaxHelixRolls._as(action).only_selected ? state.ui_state.storables.side_selected_helix_idxs : state.get$design().get$helix_idxs(); + t1 = helices._map$_map; + t2 = A._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + new_helices_map = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = helix_idxs_to_relax.get$iterator(helix_idxs_to_relax), t3 = t2._rest[0], t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = new_helices_map._copy_on_write_map$_map.$index(0, t4); + t5.toString; + t6 = state.get$design(); + t7 = t6.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup; + if (t7 == null) { + t7 = A.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup.call(t6); + t6.set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup(t7); + t6 = t7; + } else + t6 = t7; + t6 = t6._map$_map.$index(0, t4); + t6.toString; + helix_relaxed = t5.relax_roll$2(helices, t6); + t3._as(t4); + t2._as(helix_relaxed); + new_helices_map._maybeCopyBeforeWrite$0(); + new_helices_map._copy_on_write_map$_map.$indexSet(0, t4, helix_relaxed); + } + return A.BuiltMap_BuiltMap$of(new_helices_map, type$.int, type$.Helix); }, - __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps() { + helix_group_change_reducer(helices, state, action) { + var t1; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + t1 = type$.Helix; + return A.BuiltMapValues_map_values(helices, new A.helix_group_change_reducer_closure(type$.GroupChange._as(action)), type$.int, t1, t1); + }, + helix_individual_grid_position_set_reducer(helix, action) { + return helix.rebuild$1(new A.helix_individual_grid_position_set_reducer_closure(action)); + }, + helix_grid_position_set_reducer(helices, state, action) { + var t1, t2, t3, new_helix, helices_map; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixGridPositionSet._as(action); + t1 = action.helix.idx; + t2 = helices._map$_map; + t3 = t2.$index(0, t1); + t3.toString; + new_helix = A.helix_individual_grid_position_set_reducer(t3, action); + if (!J.$eq$(new_helix, t3)) { + t3 = A._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_map.$indexSet(0, t1, new_helix); + return helices_map.build$0(); + } else + return helices; }, - _$DesignMainStrandAndDomainTexts: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignMainStrandAndDomainTextsProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps(backingProps); + helix_individual_position_set_reducer(helix, action) { + return helix.rebuild$1(new A.helix_individual_position_set_reducer_closure(action)); }, - _$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignMainStrandAndDomainTextsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignMainStrandAndDomainTextsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_and_domain_texts$_props = backingMap; - return t1; + helix_position_set_reducer(helices, state, action) { + var t1, t2, t3, new_helix, helices_map; + type$.BuiltMap_int_Helix._as(helices); + type$.AppState._as(state); + type$.HelixPositionSet._as(action); + t1 = action.helix_idx; + t2 = helices._map$_map; + t3 = t2.$index(0, t1); + t3.toString; + new_helix = A.helix_individual_position_set_reducer(t3, action); + if (!J.$eq$(new_helix, t3)) { + t3 = A._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_map.$indexSet(0, t1, new_helix); + return helices_map.build$0(); + } else + return helices; + }, + move_helices_to_group_helices_reducer(helices, action) { + var t1, t2, helices_map, t3, t4, t5, t6, t7, t8, t9, new_helix; + type$.BuiltMap_int_Helix._as(helices); + type$.MoveHelicesToGroup._as(action); + t1 = helices._map$_map; + t2 = A._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_map = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = action.helix_idxs._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t3 = t2._rest[0], t2 = t2._rest[1], t4 = type$.nullable_void_Function_HelixBuilder, t5 = type$.void_Function_HelixBuilder; t1.moveNext$0();) { + t6 = t1.__interceptors$_current; + t7 = helices_map._copy_on_write_map$_map.$index(0, t6); + t7.toString; + t8 = t5._as(new A.move_helices_to_group_helices_reducer_closure(action)); + t9 = new A.HelixBuilder(); + t9.get$_helix$_$this()._group = "default_group"; + t9.get$_helix$_$this()._min_offset = 0; + t9.get$_helix$_$this()._roll = 0; + t9._helix$_$v = t7; + t4._as(t8).call$1(t9); + new_helix = t9._helix$_build$0(); + t3._as(t6); + t2._as(new_helix); + helices_map._maybeCopyBeforeWrite$0(); + helices_map._copy_on_write_map$_map.$indexSet(0, t6, new_helix); } + return A.BuiltMap_BuiltMap$of(helices_map, type$.int, type$.Helix); }, - _$$DesignMainStrandAndDomainTextsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignMainStrandAndDomainTextsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_and_domain_texts$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + helix_idx_change_reducer_closure: function helix_idx_change_reducer_closure(t0) { + this.action = t0; }, - DesignMainStrandAndDomainTextsPropsMixin: function DesignMainStrandAndDomainTextsPropsMixin() { + helix_idx_change_reducer_closure0: function helix_idx_change_reducer_closure0(t0) { + this.new_idx = t0; }, - DesignMainStrandAndDomainTextsComponent: function DesignMainStrandAndDomainTextsComponent() { + helix_idx_change_reducer_closure1: function helix_idx_change_reducer_closure1(t0) { + this.new_idx = t0; }, - $DesignMainStrandAndDomainTextsComponentFactory_closure: function $DesignMainStrandAndDomainTextsComponentFactory_closure() { + helix_idx_change_reducer_closure2: function helix_idx_change_reducer_closure2(t0) { + this._box_0 = t0; }, - _$$DesignMainStrandAndDomainTextsProps: function _$$DesignMainStrandAndDomainTextsProps() { + helix_idx_change_reducer_closure3: function helix_idx_change_reducer_closure3(t0) { + this._box_0 = t0; }, - _$$DesignMainStrandAndDomainTextsProps$PlainMap: function _$$DesignMainStrandAndDomainTextsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { - var _ = this; - _._design_main_strand_and_domain_texts$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandAndDomainTextsPropsMixin_strand = t4; - _.DesignMainStrandAndDomainTextsPropsMixin_helices = t5; - _.DesignMainStrandAndDomainTextsPropsMixin_groups = t6; - _.DesignMainStrandAndDomainTextsPropsMixin_geometry = t7; - _.DesignMainStrandAndDomainTextsPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainStrandAndDomainTextsPropsMixin_only_display_selected_helices = t9; - _.DesignMainStrandAndDomainTextsPropsMixin_show_dna = t10; - _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_names = t11; - _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_labels = t12; - _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_names = t13; - _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_labels = t14; - _.DesignMainStrandAndDomainTextsPropsMixin_strand_name_font_size = t15; - _.DesignMainStrandAndDomainTextsPropsMixin_strand_label_font_size = t16; - _.DesignMainStrandAndDomainTextsPropsMixin_domain_name_font_size = t17; - _.DesignMainStrandAndDomainTextsPropsMixin_domain_label_font_size = t18; - _.DesignMainStrandAndDomainTextsPropsMixin_helix_idx_to_svg_position = t19; - _.DesignMainStrandAndDomainTextsPropsMixin_context_menu_strand = t20; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t21; - _.UbiquitousDomPropsMixin__dom = t22; + helix_idx_change_reducer_closure4: function helix_idx_change_reducer_closure4(t0) { + this.substrands = t0; }, - _$$DesignMainStrandAndDomainTextsProps$JsMap: function _$$DesignMainStrandAndDomainTextsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { - var _ = this; - _._design_main_strand_and_domain_texts$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandAndDomainTextsPropsMixin_strand = t4; - _.DesignMainStrandAndDomainTextsPropsMixin_helices = t5; - _.DesignMainStrandAndDomainTextsPropsMixin_groups = t6; - _.DesignMainStrandAndDomainTextsPropsMixin_geometry = t7; - _.DesignMainStrandAndDomainTextsPropsMixin_side_selected_helix_idxs = t8; - _.DesignMainStrandAndDomainTextsPropsMixin_only_display_selected_helices = t9; - _.DesignMainStrandAndDomainTextsPropsMixin_show_dna = t10; - _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_names = t11; - _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_labels = t12; - _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_names = t13; - _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_labels = t14; - _.DesignMainStrandAndDomainTextsPropsMixin_strand_name_font_size = t15; - _.DesignMainStrandAndDomainTextsPropsMixin_strand_label_font_size = t16; - _.DesignMainStrandAndDomainTextsPropsMixin_domain_name_font_size = t17; - _.DesignMainStrandAndDomainTextsPropsMixin_domain_label_font_size = t18; - _.DesignMainStrandAndDomainTextsPropsMixin_helix_idx_to_svg_position = t19; - _.DesignMainStrandAndDomainTextsPropsMixin_context_menu_strand = t20; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t21; - _.UbiquitousDomPropsMixin__dom = t22; + helix_idx_change_reducer_closure5: function helix_idx_change_reducer_closure5(t0, t1, t2) { + this.new_groups = t0; + this.helices = t1; + this.strands = t2; }, - _$DesignMainStrandAndDomainTextsComponent: function _$DesignMainStrandAndDomainTextsComponent(t0) { - var _ = this; - _._design_main_strand_and_domain_texts$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + change_groups_closure: function change_groups_closure(t0) { + this.helices_view_order_new = t0; }, - $DesignMainStrandAndDomainTextsPropsMixin: function $DesignMainStrandAndDomainTextsPropsMixin() { + _change_offset_one_helix_closure: function _change_offset_one_helix_closure(t0, t1, t2) { + this.min_offset = t0; + this.helix = t1; + this.max_offset = t2; }, - _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent: function _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent() { + helix_offset_change_all_with_moving_strands_reducer_closure: function helix_offset_change_all_with_moving_strands_reducer_closure(t0) { + this.action = t0; }, - _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + helix_offset_change_all_with_moving_strands_reducer_map_func: function helix_offset_change_all_with_moving_strands_reducer_map_func(t0) { + this.offsets = t0; }, - __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin() { + helix_offset_change_all_with_moving_strands_reducer_map_func0: function helix_offset_change_all_with_moving_strands_reducer_map_func0(t0) { + this.offsets = t0; }, - __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin() { + helix_offset_change_all_while_creating_strand_reducer_closure: function helix_offset_change_all_while_creating_strand_reducer_closure(t0) { + this.action = t0; }, - __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin() { + helix_offset_change_all_while_creating_strand_reducer_closure0: function helix_offset_change_all_while_creating_strand_reducer_closure0(t0) { + this.action = t0; }, - __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + helix_offset_change_all_while_creating_strand_reducer_closure1: function helix_offset_change_all_while_creating_strand_reducer_closure1(t0) { + this.action = t0; }, - _$DesignMainDNAEnd: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignMainDNAEndProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainDNAEndProps__$$DesignMainDNAEndProps(backingProps); + helix_offset_change_all_while_creating_strand_reducer_closure2: function helix_offset_change_all_while_creating_strand_reducer_closure2(t0) { + this.action = t0; }, - _$$DesignMainDNAEndProps__$$DesignMainDNAEndProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignMainDNAEndProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignMainDNAEndProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_end$_props = backingMap; - return t1; - } + first_replace_strands_reducer_closure: function first_replace_strands_reducer_closure(t0, t1) { + this.min_offsets = t0; + this.helix_idx = t1; }, - _$$DesignMainDNAEndProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignMainDNAEndProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + first_replace_strands_reducer_closure0: function first_replace_strands_reducer_closure0(t0, t1) { + this.max_offsets = t0; + this.helix_idx = t1; }, - DesignMainDNAEndPropsMixin: function DesignMainDNAEndPropsMixin() { + reset_helices_offsets_closure: function reset_helices_offsets_closure(t0, t1) { + this.original_helix_offsets = t0; + this.idx = t1; }, - DesignMainDNAEndComponent: function DesignMainDNAEndComponent() { + reset_helices_offsets_closure0: function reset_helices_offsets_closure0(t0, t1) { + this.original_helix_offsets = t0; + this.idx = t1; }, - $DesignMainDNAEndComponentFactory_closure: function $DesignMainDNAEndComponentFactory_closure() { + helix_offset_change_all_reducer_map_func: function helix_offset_change_all_reducer_map_func(t0) { + this.action = t0; }, - _$$DesignMainDNAEndProps: function _$$DesignMainDNAEndProps() { + _min_offset_set_by_domains_one_helix_closure: function _min_offset_set_by_domains_one_helix_closure(t0) { + this.min_offset = t0; }, - _$$DesignMainDNAEndProps$PlainMap: function _$$DesignMainDNAEndProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { - var _ = this; - _._design_main_strand_dna_end$_props = t0; - _.DesignMainDNAEndPropsMixin_strand = t1; - _.DesignMainDNAEndPropsMixin_domain = t2; - _.DesignMainDNAEndPropsMixin_ext = t3; - _.DesignMainDNAEndPropsMixin_strand_color = t4; - _.DesignMainDNAEndPropsMixin_is_5p = t5; - _.DesignMainDNAEndPropsMixin_is_scaffold = t6; - _.DesignMainDNAEndPropsMixin_is_on_extension = t7; - _.DesignMainDNAEndPropsMixin_transform = t8; - _.DesignMainDNAEndPropsMixin_helix = t9; - _.DesignMainDNAEndPropsMixin_group = t10; - _.DesignMainDNAEndPropsMixin_geometry = t11; - _.DesignMainDNAEndPropsMixin_selected = t12; - _.DesignMainDNAEndPropsMixin_context_menu_strand = t13; - _.DesignMainDNAEndPropsMixin_drawing_potential_crossover = t14; - _.DesignMainDNAEndPropsMixin_moving_this_dna_end = t15; - _.DesignMainDNAEndPropsMixin_helix_svg_position = t16; - _.DesignMainDNAEndPropsMixin_retain_strand_color_on_selection = t17; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t18; - _.UbiquitousDomPropsMixin__dom = t19; + _max_offset_set_by_domains_one_helix_closure: function _max_offset_set_by_domains_one_helix_closure(t0) { + this.max_offset = t0; }, - _$$DesignMainDNAEndProps$JsMap: function _$$DesignMainDNAEndProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { - var _ = this; - _._design_main_strand_dna_end$_props = t0; - _.DesignMainDNAEndPropsMixin_strand = t1; - _.DesignMainDNAEndPropsMixin_domain = t2; - _.DesignMainDNAEndPropsMixin_ext = t3; - _.DesignMainDNAEndPropsMixin_strand_color = t4; - _.DesignMainDNAEndPropsMixin_is_5p = t5; - _.DesignMainDNAEndPropsMixin_is_scaffold = t6; - _.DesignMainDNAEndPropsMixin_is_on_extension = t7; - _.DesignMainDNAEndPropsMixin_transform = t8; - _.DesignMainDNAEndPropsMixin_helix = t9; - _.DesignMainDNAEndPropsMixin_group = t10; - _.DesignMainDNAEndPropsMixin_geometry = t11; - _.DesignMainDNAEndPropsMixin_selected = t12; - _.DesignMainDNAEndPropsMixin_context_menu_strand = t13; - _.DesignMainDNAEndPropsMixin_drawing_potential_crossover = t14; - _.DesignMainDNAEndPropsMixin_moving_this_dna_end = t15; - _.DesignMainDNAEndPropsMixin_helix_svg_position = t16; - _.DesignMainDNAEndPropsMixin_retain_strand_color_on_selection = t17; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t18; - _.UbiquitousDomPropsMixin__dom = t19; + helix_min_offset_set_by_domains_all_reducer_map_func: function helix_min_offset_set_by_domains_all_reducer_map_func(t0) { + this.state = t0; }, - _$DesignMainDNAEndComponent: function _$DesignMainDNAEndComponent(t0) { - var _ = this; - _._design_main_strand_dna_end$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + helix_max_offset_set_by_domains_all_reducer_map_func: function helix_max_offset_set_by_domains_all_reducer_map_func(t0) { + this.state = t0; }, - $DesignMainDNAEndPropsMixin: function $DesignMainDNAEndPropsMixin() { + helix_max_offset_set_by_domains_all_same_max_reducer_closure: function helix_max_offset_set_by_domains_all_same_max_reducer_closure(t0) { + this._box_0 = t0; }, - _DesignMainDNAEndComponent_UiComponent2_PureComponent: function _DesignMainDNAEndComponent_UiComponent2_PureComponent() { + helix_max_offset_set_by_domains_all_same_max_reducer__closure: function helix_max_offset_set_by_domains_all_same_max_reducer__closure(t0) { + this._box_0 = t0; }, - __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin() { + helix_major_tick_distance_change_all_reducer_closure: function helix_major_tick_distance_change_all_reducer_closure(t0) { + this.action = t0; }, - __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin() { + helix_major_ticks_change_all_reducer_closure: function helix_major_ticks_change_all_reducer_closure(t0) { + this.action = t0; }, - _$DesignMainStrandLoopoutText: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignMainStrandLoopoutTextProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps(backingProps); + helix_major_tick_start_change_all_reducer_closure: function helix_major_tick_start_change_all_reducer_closure(t0) { + this.action = t0; }, - _$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignMainStrandLoopoutTextProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignMainStrandLoopoutTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_loopout_name$_props = backingMap; - return t1; - } + helix_major_tick_periodic_distances_change_all_reducer_closure: function helix_major_tick_periodic_distances_change_all_reducer_closure(t0) { + this.action = t0; }, - _$$DesignMainStrandLoopoutTextProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignMainStrandLoopoutTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_loopout_name$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + _change_major_tick_distance_one_helix_closure: function _change_major_tick_distance_one_helix_closure(t0) { + this.major_tick_distance = t0; }, - DesignMainStrandLoopoutTextPropsMixin: function DesignMainStrandLoopoutTextPropsMixin() { + _change_major_tick_start_one_helix_closure: function _change_major_tick_start_one_helix_closure(t0) { + this.major_tick_start = t0; }, - DesignMainStrandLoopoutTextComponent: function DesignMainStrandLoopoutTextComponent() { + _change_major_tick_periodic_distances_one_helix_closure: function _change_major_tick_periodic_distances_one_helix_closure(t0) { + this.major_tick_periodic_distances = t0; }, - $DesignMainStrandLoopoutTextComponentFactory_closure: function $DesignMainStrandLoopoutTextComponentFactory_closure() { + _change_major_ticks_one_helix_closure: function _change_major_ticks_one_helix_closure(t0) { + this.major_ticks = t0; }, - _$$DesignMainStrandLoopoutTextProps: function _$$DesignMainStrandLoopoutTextProps() { + helix_roll_set_reducer_closure: function helix_roll_set_reducer_closure(t0) { + this.action = t0; }, - _$$DesignMainStrandLoopoutTextProps$PlainMap: function _$$DesignMainStrandLoopoutTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._design_main_strand_loopout_name$_props = t0; - _.DesignMainStrandLoopoutTextPropsMixin_loopout = t1; - _.DesignMainStrandLoopoutTextPropsMixin_geometry = t2; - _.DesignMainStrandLoopoutTextPropsMixin_prev_domain = t3; - _.DesignMainStrandLoopoutTextPropsMixin_next_domain = t4; - _.DesignMainStrandLoopoutTextPropsMixin_text = t5; - _.DesignMainStrandLoopoutTextPropsMixin_css_selector_text = t6; - _.DesignMainStrandLoopoutTextPropsMixin_num_stacked = t7; - _.DesignMainStrandLoopoutTextPropsMixin_font_size = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + helix_roll_set_at_other_reducer_closure: function helix_roll_set_at_other_reducer_closure(t0) { + this.new_roll = t0; }, - _$$DesignMainStrandLoopoutTextProps$JsMap: function _$$DesignMainStrandLoopoutTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._design_main_strand_loopout_name$_props = t0; - _.DesignMainStrandLoopoutTextPropsMixin_loopout = t1; - _.DesignMainStrandLoopoutTextPropsMixin_geometry = t2; - _.DesignMainStrandLoopoutTextPropsMixin_prev_domain = t3; - _.DesignMainStrandLoopoutTextPropsMixin_next_domain = t4; - _.DesignMainStrandLoopoutTextPropsMixin_text = t5; - _.DesignMainStrandLoopoutTextPropsMixin_css_selector_text = t6; - _.DesignMainStrandLoopoutTextPropsMixin_num_stacked = t7; - _.DesignMainStrandLoopoutTextPropsMixin_font_size = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + helix_add_design_reducer_closure: function helix_add_design_reducer_closure(t0) { + this.new_helices_view_order = t0; }, - _$DesignMainStrandLoopoutTextComponent: function _$DesignMainStrandLoopoutTextComponent(t0) { - var _ = this; - _._design_main_strand_loopout_name$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + helix_add_design_reducer_closure0: function helix_add_design_reducer_closure0(t0, t1) { + this.new_helices = t0; + this.new_groups = t1; }, - $DesignMainStrandLoopoutTextPropsMixin: function $DesignMainStrandLoopoutTextPropsMixin() { + helix_remove_design_global_reducer_closure: function helix_remove_design_global_reducer_closure(t0) { + this.new_helices_view_order = t0; }, - _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent: function _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent() { + helix_remove_design_global_reducer_closure0: function helix_remove_design_global_reducer_closure0(t0, t1, t2) { + this.new_helices = t0; + this.new_groups = t1; + this.strands_with_substrands_removed = t2; }, - __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin() { + helix_remove_all_selected_design_global_reducer_closure: function helix_remove_all_selected_design_global_reducer_closure(t0) { + this.new_helices_view_order = t0; }, - __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin() { + helix_remove_all_selected_design_global_reducer_closure0: function helix_remove_all_selected_design_global_reducer_closure0(t0, t1, t2) { + this.new_helices = t0; + this.new_groups = t1; + this.strands_with_substrands_removed = t2; }, - _$DesignSideArrows: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? S._$$DesignSideArrowsProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignSideArrowsProps__$$DesignSideArrowsProps(backingProps); + remove_helix_assuming_no_domains_closure: function remove_helix_assuming_no_domains_closure(t0) { + this.action = t0; }, - _$$DesignSideArrowsProps__$$DesignSideArrowsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return S._$$DesignSideArrowsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new S._$$DesignSideArrowsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_arrows$_props = backingMap; - return t1; - } + remove_helices_assuming_no_domains_closure: function remove_helices_assuming_no_domains_closure(t0) { + this.helix_idxs = t0; }, - _$$DesignSideArrowsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new S._$$DesignSideArrowsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_side_arrows$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + remove_helices_assuming_no_domains__closure: function remove_helices_assuming_no_domains__closure(t0) { + this.helix_idxs = t0; }, - ConnectedDesignSideArrows_closure: function ConnectedDesignSideArrows_closure() { + helix_group_change_reducer_closure: function helix_group_change_reducer_closure(t0) { + this.action = t0; }, - DesignSideArrowsProps: function DesignSideArrowsProps() { + helix_group_change_reducer__closure: function helix_group_change_reducer__closure(t0) { + this.action = t0; }, - DesignMainArrowsComponent0: function DesignMainArrowsComponent0() { + helix_individual_grid_position_set_reducer_closure: function helix_individual_grid_position_set_reducer_closure(t0) { + this.action = t0; }, - $DesignMainArrowsComponentFactory_closure: function $DesignMainArrowsComponentFactory_closure() { + helix_individual_position_set_reducer_closure: function helix_individual_position_set_reducer_closure(t0) { + this.action = t0; }, - _$$DesignSideArrowsProps: function _$$DesignSideArrowsProps() { + move_helices_to_group_helices_reducer_closure: function move_helices_to_group_helices_reducer_closure(t0) { + this.action = t0; }, - _$$DesignSideArrowsProps$PlainMap: function _$$DesignSideArrowsProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_side_arrows$_props = t0; - _.DesignSideArrowsProps_invert_y = t1; - _.DesignSideArrowsProps_show_helices_axis_arrows = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + helix_group_move_create_translation_reducer(state, action) { + type$.nullable_HelixGroupMove._as(state); + return type$.HelixGroupMoveCreate._as(action).helix_group_move; }, - _$$DesignSideArrowsProps$JsMap: function _$$DesignSideArrowsProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._design_side_arrows$_props = t0; - _.DesignSideArrowsProps_invert_y = t1; - _.DesignSideArrowsProps_show_helices_axis_arrows = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; + helix_group_move_adjust_translation_reducer(move, action) { + var t1, t2; + type$.nullable_HelixGroupMove._as(move); + type$.HelixGroupMoveAdjustTranslation._as(action); + if (move == null) + t1 = null; + else { + t1 = type$.void_Function_HelixGroupMoveBuilder._as(new A.helix_group_move_adjust_translation_reducer_closure(action)); + t2 = new A.HelixGroupMoveBuilder(); + A.ArgumentError_checkNotNull(move, "other", type$.HelixGroupMove); + t2._helix_group_move$_$v = move; + type$.nullable_void_Function_HelixGroupMoveBuilder._as(t1).call$1(t2); + t1 = t2._helix_group_move$_build$0(); + } + return t1; }, - _$DesignMainArrowsComponent: function _$DesignMainArrowsComponent(t0) { - var _ = this; - _._design_side_arrows$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + helix_group_move_stop_translation_reducer(_, action) { + type$.nullable_HelixGroupMove._as(_); + type$.HelixGroupMoveStop._as(action); + return null; }, - $DesignSideArrowsProps: function $DesignSideArrowsProps() { + helix_group_move_commit_global_reducer(design, state, action) { + var helix_group_move, group_name, t1, t2, t3, new_groups; + type$.nullable_Design._as(design); + type$.AppState._as(state); + type$.HelixGroupMoveCommit._as(action); + if (design == null) + return null; + helix_group_move = action.helix_group_move; + group_name = helix_group_move.group_name; + t1 = design.groups; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_groups = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + t2 = t2.$index(0, group_name).rebuild$1(new A.helix_group_move_commit_global_reducer_closure(helix_group_move)); + t3._rest[0]._as(group_name); + t3._rest[1]._as(t2); + new_groups._maybeCopyBeforeWrite$0(); + new_groups._copy_on_write_map$_map.$indexSet(0, group_name, t2); + return design.rebuild$1(new A.helix_group_move_commit_global_reducer_closure0(new_groups)); }, - __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps: function __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps() { + helix_group_move_adjust_translation_reducer_closure: function helix_group_move_adjust_translation_reducer_closure(t0) { + this.action = t0; }, - __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps: function __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps() { + helix_group_move_commit_global_reducer_closure: function helix_group_move_commit_global_reducer_closure(t0) { + this.helix_group_move = t0; }, - Tuple2: function Tuple2(t0, t1, t2) { - this.item1 = t0; - this.item2 = t1; - this.$ti = t2; + helix_group_move_commit_global_reducer_closure0: function helix_group_move_commit_global_reducer_closure0(t0) { + this.new_groups = t0; }, - Tuple3: function Tuple3(t0, t1, t2, t3) { - var _ = this; - _.item1 = t0; - _.item2 = t1; - _.item3 = t2; - _.$ti = t3; + inline_insertions_deletions_reducer(design, _) { + var t1, t2, t3, helices_new, t4, t5, strand_builders_new, helix_idx, strands, i, strand; + type$.nullable_Design._as(design); + type$.InlineInsertionsDeletions._as(_); + if (design == null) + return null; + t1 = design.helices; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + helices_new = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3 = design.strands; + t3.toString; + t1 = t3._list; + t4 = A._arrayInstanceType(t1); + t5 = t4._eval$1("MappedListIterable<1,StrandBuilder>"); + strand_builders_new = A.List_List$of(new A.MappedListIterable(t1, t4._eval$1("StrandBuilder(1)")._as(t3.$ti._eval$1("StrandBuilder(1)")._as(new A.inline_insertions_deletions_reducer_closure())), t5), true, t5._eval$1("ListIterable.E")); + for (helix_idx = 0; helix_idx < t2._length; ++helix_idx) + A._inline_deletions_insertions_on_helix(design, helix_idx, helices_new, strand_builders_new); + t1 = A._arrayInstanceType(strand_builders_new); + t2 = t1._eval$1("MappedListIterable<1,Strand>"); + strands = A.List_List$of(new A.MappedListIterable(strand_builders_new, t1._eval$1("Strand(1)")._as(new A.inline_insertions_deletions_reducer_closure0()), t2), true, t2._eval$1("ListIterable.E")); + for (i = 0; i < strands.length; ++i) { + t1 = strands[i]; + t1.toString; + strand = t1._rebuild_substrands_with_new_fields_based_on_strand$1(t1._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(t1)); + if (t1.substrands._list.length === 1) { + t2 = t1.__first_domain; + if (t2 == null) + t2 = t1.__first_domain = A.Strand.prototype.get$first_domain.call(t1); + t2.toString; + } + t1.check_two_consecutive_loopouts$0(); + t1.check_loopouts_length$0(); + t1.check_at_least_one_domain$0(); + t1.check_only_at_ends$0(); + t1.check_not_adjacent_to_loopout$0(); + B.JSArray_methods.$indexSet(strands, i, strand); + } + return design.rebuild$1(new A.inline_insertions_deletions_reducer_closure1(helices_new, strands)); }, - Tuple5: function Tuple5(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.item1 = t0; - _.item2 = t1; - _.item3 = t2; - _.item4 = t3; - _.item5 = t4; - _.$ti = t5; + _inline_deletions_insertions_on_helix(design, helix_idx, helices_new, strands_new) { + var t2, t3, t4, t5, t6, insertions_length, _i, dels_ins, insertion, dels_ins_offsets_sorted, major_ticks, helix, major_tick_idx, delta_acc, offset, substrands_both_directions, substrands_one_direction, t7, t8, substrands, t9, t10, _i0, substrand, t11, t12, t13, delta_acc0, new_substrand, ss_idx, + t1 = design.helices._map$_map.$index(0, helix_idx); + t1.toString; + t2 = type$.JSArray_int; + t3 = A._setArrayType([], t2); + for (t4 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t4.moveNext$0();) + for (t5 = t4.get$current(t4).deletions._list, t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); t5.moveNext$0();) + t3.push(t5.__interceptors$_current); + t4 = A._setArrayType([], type$.JSArray_Insertion); + for (t5 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t5.moveNext$0();) + for (t6 = t5.get$current(t5).insertions._list, t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")); t6.moveNext$0();) + t4.push(t6.__interceptors$_current); + if (t4.length === 0) + insertions_length = 0; + else { + t2 = A._setArrayType([], t2); + for (t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) + t2.push(t4[_i].length); + insertions_length = B.JSArray_methods.reduce$1(t2, new A._inline_deletions_insertions_on_helix_closure()); + } + t2 = t3.length; + if (typeof insertions_length !== "number") + return insertions_length.$sub(); + t5 = type$.int; + dels_ins = A.LinkedHashMap_LinkedHashMap$_empty(t5, t5); + for (_i = 0; _i < t3.length; t3.length === t2 || (0, A.throwConcurrentModificationError)(t3), ++_i) + dels_ins.$indexSet(0, t3[_i], -1); + for (t3 = t4.length, _i = 0; _i < t4.length; t4.length === t3 || (0, A.throwConcurrentModificationError)(t4), ++_i) { + insertion = t4[_i]; + dels_ins.$indexSet(0, insertion.offset, insertion.length); + } + t3 = dels_ins.$ti._eval$1("LinkedHashMapKeyIterable<1>"); + dels_ins_offsets_sorted = A.List_List$of(new A.LinkedHashMapKeyIterable(dels_ins, t3), true, t3._eval$1("Iterable.E")); + B.JSArray_methods.sort$0(dels_ins_offsets_sorted); + t3 = t1.get$calculate_major_ticks(); + t4 = t3.$ti; + major_ticks = new A.CopyOnWriteList(true, t3._list, t4._eval$1("CopyOnWriteList<1>")); + major_ticks.sort$0(0); + helix = t1.rebuild$1(new A._inline_deletions_insertions_on_helix_closure0(insertions_length - t2)); + t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 0) { + for (t1 = dels_ins_offsets_sorted.length, t4 = t4._precomputed1, major_tick_idx = 0, delta_acc = 0, _i = 0; _i < dels_ins_offsets_sorted.length; dels_ins_offsets_sorted.length === t1 || (0, A.throwConcurrentModificationError)(dels_ins_offsets_sorted), ++_i) { + offset = dels_ins_offsets_sorted[_i]; + while (true) { + t2 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t2 !== "number") + return A.iae(t2); + if (major_tick_idx < t2) { + t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t2 !== "number") + return t2.$le(); + if (typeof offset !== "number") + return A.iae(offset); + t2 = t2 <= offset; + } else + t2 = false; + if (!t2) + break; + t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t2 !== "number") + return t2.$add(); + t2 = t4._as(t2 + delta_acc); + major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t2); + ++major_tick_idx; + } + t2 = dels_ins.$index(0, offset); + t2.toString; + delta_acc += t2; + } + while (true) { + t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t1 !== "number") + return A.iae(t1); + if (!(major_tick_idx < t1)) + break; + t1 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t1 !== "number") + return t1.$add(); + t1 = t4._as(t1 + delta_acc); + major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t1); + ++major_tick_idx; + } + helix = helix.rebuild$1(new A._inline_deletions_insertions_on_helix_closure1(major_ticks)); + } + t1 = helices_new.$ti; + t1._precomputed1._as(helix_idx); + t1._rest[1]._as(helix); + helices_new._maybeCopyBeforeWrite$0(); + helices_new._copy_on_write_map$_map.$indexSet(0, helix_idx, helix); + substrands_both_directions = design.domains_on_helix$1(helix_idx); + t1 = J.getInterceptor$ax(substrands_both_directions); + substrands_one_direction = A.LinkedHashMap_LinkedHashMap$_literal([true, t1.where$1(substrands_both_directions, new A._inline_deletions_insertions_on_helix_closure2()), false, t1.where$1(substrands_both_directions, new A._inline_deletions_insertions_on_helix_closure3())], type$.bool, type$.Iterable_Domain); + for (t1 = [true, false], t2 = type$.nullable_void_Function_DomainBuilder, t3 = type$.void_Function_DomainBuilder, t4 = type$.Domain, t5 = type$.Substrand, t6 = type$.List_Substrand, t7 = type$.ListBuilder_Substrand, _i = 0; _i < 2; ++_i) { + t8 = substrands_one_direction.$index(0, t1[_i]); + t8.toString; + substrands = A.List_List$of(t8, true, t8.$ti._eval$1("Iterable.E")); + t8 = A._arrayInstanceType(substrands); + t9 = t8._eval$1("int(1,1)?")._as(new A._inline_deletions_insertions_on_helix_closure4()); + if (!!substrands.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t8 = t8._precomputed1; + t10 = substrands.length - 1; + if (t10 - 0 <= 32) + A.Sort__insertionSort(substrands, 0, t10, t9, t8); + else + A.Sort__dualPivotQuicksort(substrands, 0, t10, t9, t8); + for (t8 = substrands.length, delta_acc = 0, _i0 = 0; _i0 < substrands.length; substrands.length === t8 || (0, A.throwConcurrentModificationError)(substrands), ++_i0, delta_acc = delta_acc0) { + substrand = substrands[_i0]; + t9 = substrand.start; + t10 = substrand.end; + t11 = t10 - t9; + t12 = substrand.deletions._list.length; + t13 = substrand.__num_insertions; + if (t13 == null) + t13 = substrand.__num_insertions = A.Domain.prototype.get$num_insertions.call(substrand); + delta_acc0 = delta_acc + (t11 - t12 + t13 - t11); + t10 = t3._as(new A._inline_deletions_insertions_on_helix_closure5(t9 + delta_acc, t10 + delta_acc0)); + t9 = new A.DomainBuilder(); + t4._as(substrand); + t9._domain$_$v = substrand; + t2._as(t10).call$1(t9); + new_substrand = t9._domain$_build$0(); + t9 = design.__substrand_to_strand; + if (t9 == null) { + t9 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t9); + } + t9 = t9._map$_map.$index(0, substrand); + t9.toString; + t10 = design.__strand_to_index; + if (t10 == null) { + t10 = A.Design.prototype.get$strand_to_index.call(design); + design.set$__strand_to_index(t10); + } + t10 = t10._map$_map.$index(0, t9); + t10.toString; + for (t9 = t9.substrands._list, ss_idx = 0; ss_idx < t9.length; ++ss_idx) { + t11 = t9[ss_idx]; + if (t11 instanceof A.Domain && t11.$eq(0, substrand)) { + if (t10 >>> 0 !== t10 || t10 >= strands_new.length) + return A.ioore(strands_new, t10); + t9 = strands_new[t10].get$_strand$_$this(); + t11 = t9._substrands; + if (t11 == null) { + t10 = new A.ListBuilder(t7); + t10.set$__ListBuilder__list_A(t6._as(A.List_List$from(B.List_empty, true, t5))); + t10.set$_listOwner(null); + t9.set$_substrands(t10); + t9 = t10; + } else + t9 = t11; + t10 = t9.$ti; + t11 = t10._precomputed1; + t11._as(new_substrand); + if (!$.$get$isSoundMode() && !t11._is(null)) + if (new_substrand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (t9._listOwner != null) { + t12 = t9.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI("_list"); + t9.set$__ListBuilder__list_A(t10._eval$1("List<1>")._as(A.List_List$from(t12, true, t11))); + t9.set$_listOwner(null); + } + t9 = t9.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t9, ss_idx, new_substrand); + break; + } + } + } + } }, - XmlEntityMapping: function XmlEntityMapping() { + inline_insertions_deletions_reducer_closure: function inline_insertions_deletions_reducer_closure() { }, - XmlDocument_XmlDocument$parse: function(input) { - var t1, t2, lineAndColumn, t3, t4, - result = $.$get$documentParserCache().$index(0, C.C_XmlDefaultEntityMapping).parseOn$1(new M.Context1(input, 0)); - if (result.get$isFailure()) { - t1 = result.buffer; - t2 = result.position; - lineAndColumn = L.Token_lineAndColumnOf(t1, t2); - t3 = result.get$message(result); - t4 = lineAndColumn[0]; - throw H.wrapException(T.XmlParserException$(t3, t1, lineAndColumn[1], t4, t2)); - } - return type$.XmlDocument._as(result.get$value(result)); - }, - XmlDocument$: function(childrenIterable) { - var t1 = B.XmlNodeList$(type$.XmlNode), - t2 = new S.XmlDocument(t1); - type$.Set_XmlNodeType._as(C.Set_QYFY4); - if (t1.__XmlNodeList__parent === $) - t1.__XmlNodeList__parent = t2; - else - H.throwExpression(H.LateError$fieldAI("_parent")); - t1.set$_nodeTypes(C.Set_QYFY4); - t1.addAll$1(0, childrenIterable); - return t2; + inline_insertions_deletions_reducer_closure0: function inline_insertions_deletions_reducer_closure0() { }, - XmlDocument: function XmlDocument(t0) { - this.XmlHasChildren_children = t0; + inline_insertions_deletions_reducer_closure1: function inline_insertions_deletions_reducer_closure1(t0, t1) { + this.helices_new = t0; + this.strands = t1; }, - XmlDocument_copy_closure: function XmlDocument_copy_closure() { + _inline_deletions_insertions_on_helix_closure: function _inline_deletions_insertions_on_helix_closure() { }, - documentParserCache_closure: function documentParserCache_closure() { + _inline_deletions_insertions_on_helix_closure0: function _inline_deletions_insertions_on_helix_closure0(t0) { + this.delta_length = t0; }, - _XmlDocument_XmlNode_XmlHasChildren: function _XmlDocument_XmlNode_XmlHasChildren() { + _inline_deletions_insertions_on_helix_closure1: function _inline_deletions_insertions_on_helix_closure1(t0) { + this.major_ticks = t0; }, - insertion_deletion_batching_middleware: function(store, action, next) { - var other_domains, t1, t2, t3, _i, paired_domain; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (type$.legacy_InsertionOrDeletionAction._is(action)) - if (action.get$all_helices()) { - other_domains = S.find_other_domains(store.get$state(store).design, action.get$domain(action), action.get$offset(action)); - if (other_domains.length === 0) - next.call$1(action); - else { - t1 = type$.JSArray_legacy_InsertionOrDeletionAction; - t2 = H.setRuntimeTypeInfo([], t1); - for (t3 = other_domains.length, _i = 0; _i < other_domains.length; other_domains.length === t3 || (0, H.throwConcurrentModificationError)(other_domains), ++_i) - t2.push(action.clone_for_other_domain$1(other_domains[_i])); - store.dispatch$1(U.BatchAction_BatchAction(C.JSArray_methods.$add(H.setRuntimeTypeInfo([action], t1), t2), action.short_description$0())); - } - } else { - paired_domain = S.find_paired_domain(store.get$state(store).design, action.get$domain(action), action.get$offset(action)); - if (paired_domain == null) - next.call$1(action); - else - store.dispatch$1(U.BatchAction_BatchAction(H.setRuntimeTypeInfo([action, action.clone_for_other_domain$1(paired_domain)], type$.JSArray_legacy_UndoableAction), action.short_description$0())); - } - else - next.call$1(action); - }, - find_other_domains: function(design, domain, offset) { - var t1, group_name, helix_idxs_in_group, other_domains, t2, t3, paired_domain; - design.toString; - t1 = domain.helix; - group_name = J.$index$asx(design.helices._map$_map, t1).group; - helix_idxs_in_group = J.$index$asx(design.get$helix_idxs_in_group()._map$_map, group_name); - other_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - for (t2 = J.get$iterator$ax(helix_idxs_in_group._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t3 === t1) { - paired_domain = S.find_paired_domain(design, domain, offset); - if (paired_domain != null) - C.JSArray_methods.add$1(other_domains, paired_domain); - } else - C.JSArray_methods.addAll$1(other_domains, design.domains_on_helix_at_offset_internal$2(t3, offset)); - } - return other_domains; - }, - find_paired_domain: function(design, domain, offset) { - var t1, t2; - for (t1 = design.domains_on_helix_at_offset_internal$2(domain.helix, offset)._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (!J.$eq$(t2, domain)) - return t2; - } - return null; - } - }, - M = { - SetMultimapBuilder_SetMultimapBuilder: function($K, $V) { - var t1 = new M.SetMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("SetMultimapBuilder<1,2>")); - t1.replace$1(0, C.Map_empty); - return t1; - }, - BuiltSetMultimap: function BuiltSetMultimap() { - }, - BuiltSetMultimap_hashCode_closure: function BuiltSetMultimap_hashCode_closure(t0) { - this.$this = t0; - }, - _BuiltSetMultimap: function _BuiltSetMultimap(t0, t1, t2) { - var _ = this; - _._set_multimap$_map = t0; - _._emptySet = t1; - _._set_multimap$_keys = _._set_multimap$_hashCode = null; - _.$ti = t2; - }, - SetMultimapBuilder: function SetMultimapBuilder(t0) { - var _ = this; - _.__SetMultimapBuilder__builtMap = $; - _._builtMapOwner = null; - _.__SetMultimapBuilder__builderMap = $; - _.$ti = t0; - }, - SetMultimapBuilder_replace_closure: function SetMultimapBuilder_replace_closure(t0) { - this.multimap = t0; - }, - StringSerializer: function StringSerializer(t0) { - this.types = t0; - }, - CanonicalizedMap: function CanonicalizedMap() { - }, - CanonicalizedMap_addAll_closure: function CanonicalizedMap_addAll_closure(t0) { - this.$this = t0; - }, - CanonicalizedMap_entries_closure: function CanonicalizedMap_entries_closure(t0) { - this.$this = t0; - }, - CanonicalizedMap_forEach_closure: function CanonicalizedMap_forEach_closure(t0, t1) { - this.$this = t0; - this.f = t1; - }, - CanonicalizedMap_keys_closure: function CanonicalizedMap_keys_closure(t0) { - this.$this = t0; + _inline_deletions_insertions_on_helix_closure2: function _inline_deletions_insertions_on_helix_closure2() { }, - CanonicalizedMap_map_closure: function CanonicalizedMap_map_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.transform = t1; - _.K2 = t2; - _.V2 = t3; + _inline_deletions_insertions_on_helix_closure3: function _inline_deletions_insertions_on_helix_closure3() { }, - CanonicalizedMap_removeWhere_closure: function CanonicalizedMap_removeWhere_closure(t0, t1) { - this.$this = t0; - this.test = t1; + _inline_deletions_insertions_on_helix_closure4: function _inline_deletions_insertions_on_helix_closure4() { }, - CanonicalizedMap_values_closure: function CanonicalizedMap_values_closure(t0) { - this.$this = t0; + _inline_deletions_insertions_on_helix_closure5: function _inline_deletions_insertions_on_helix_closure5(t0, t1) { + this.new_start = t0; + this.new_end = t1; }, - _DelegatingIterableBase: function _DelegatingIterableBase() { + insertion_deletion_reducer(strand, action) { + var domain, found, t1, t2, t3, dom_idx, t4, substrands; + type$.Strand._as(strand); + type$.InsertionOrDeletionAction._as(action); + domain = action.get$domain(action); + t1 = strand.substrands; + t2 = t1._list; + t3 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + dom_idx = 0; + while (true) { + if (!t3.moveNext$0()) { + found = false; + break; + } + t4 = t3.__interceptors$_current; + if (t4 instanceof A.Domain && t4.helix === domain.helix && t4.forward === domain.forward && t4.start === domain.start && t4.end === domain.end) { + found = true; + break; + } + ++dom_idx; + } + if (!found) { + A.print("WARNING: could not find domain " + A.S(domain) + " on strand substrands: " + t1.toString$0(0) + " when implementing action " + action.toString$0(0)); + return strand; + } + t1 = A._instanceType(t1); + substrands = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1._as($.$get$insertion_deletion_domain_reducer().call$2(domain, action)); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, dom_idx, t1); + return strand.rebuild$1(new A.insertion_deletion_reducer_closure(substrands)); }, - DelegatingList: function DelegatingList() { + insertion_add_reducer(domain, action) { + var t1, t2, insertions, t3; + type$.Domain._as(domain); + type$.InsertionAdd._as(action); + t1 = domain.insertions; + t2 = t1._list; + t1 = A._instanceType(t1); + insertions = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = A._setArrayType([], type$.JSArray_int); + for (t2 = B.JSArray_methods.get$iterator(t2); t2.moveNext$0();) + t3.push(t2.get$current(t2).offset); + t2 = action.offset; + if (!B.JSArray_methods.contains$1(t3, t2)) { + t1 = t1._precomputed1._as(A.Insertion_Insertion(t2, 1)); + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(insertions._copy_on_write_list$_list, t1); + insertions.sort$1(0, new A.insertion_add_reducer_closure()); + } + return domain.rebuild$1(new A.insertion_add_reducer_closure0(insertions)); }, - NotSpecified: function NotSpecified() { + insertion_remove_reducer(domain, action) { + var t1, insertions; + type$.Domain._as(domain); + type$.InsertionRemove._as(action); + t1 = domain.insertions; + insertions = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = action.insertion; + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(insertions._copy_on_write_list$_list, t1); + return domain.rebuild$1(new A.insertion_remove_reducer_closure(insertions)); }, - Context_Context$fromReactDartContext: function(reactDartContext, TValue) { - return new M.Context2(reactDartContext, TValue._eval$1("Context2<0*>")); + deletion_add_reducer(domain, action) { + var t1, t2, deletions, t3; + type$.Domain._as(domain); + type$.DeletionAdd._as(action); + t1 = domain.deletions; + t2 = t1._list; + t1 = A._instanceType(t1); + deletions = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = action.offset; + if (!B.JSArray_methods.contains$1(t2, t3)) { + t1._precomputed1._as(t3); + deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(deletions._copy_on_write_list$_list, t3); + deletions.sort$0(0); + } + return domain.rebuild$1(new A.deletion_add_reducer_closure(deletions)); }, - createContext: function(TValue) { - var t1 = TValue._eval$1("0*"); - return M.Context_Context$fromReactDartContext(M.createContext0(null, null, t1), t1); + deletion_remove_reducer(domain, action) { + var t1, deletions; + type$.Domain._as(domain); + type$.DeletionRemove._as(action); + t1 = domain.deletions; + deletions = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = action.offset; + deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(deletions._copy_on_write_list$_list, t1); + return domain.rebuild$1(new A.deletion_remove_reducer_closure(deletions)); }, - Context2: function Context2(t0, t1) { - this.reactDartContext = t0; - this.$ti = t1; + insertion_length_change_reducer(domain, action) { + var t1, t2, insertions, t3, idx; + type$.Domain._as(domain); + type$.InsertionLengthChange._as(action); + t1 = domain.insertions; + t2 = t1._list; + t1 = A._instanceType(t1); + insertions = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1; + t3 = t1._as(action.insertion); + idx = B.JSArray_methods.indexOf$2(t2, t3, 0); + t3 = t1._as(t3.rebuild$1(new A.insertion_length_change_reducer_closure(action))); + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(insertions._copy_on_write_list$_list, idx, t3); + return domain.rebuild$1(new A.insertion_length_change_reducer_closure0(insertions)); + }, + insertions_length_change_reducer(strands, state, action) { + var insertions_on_strand_id_domain, t1, t2, t3, t4, t5, i, insertion, t6, domain, strand_id, insertions_on_domain, strands_builder, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, t16, substrands, insertions_on_domains, t17, t18, t19, existing_insertions, idx, t20, t21, new_domain, domain_idx, new_strand, strand; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.InsertionsLengthChange._as(action); + insertions_on_strand_id_domain = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Map_of_Domain_and_List_Insertion); + for (t1 = action.insertions._list, t2 = action.domains, t3 = type$.Domain, t4 = type$.List_Insertion, t5 = type$.JSArray_Insertion, i = 0; i < t1.length; ++i) { + insertion = t1[i]; + t6 = t2._list; + if (!(i < t6.length)) + return A.ioore(t6, i); + domain = t6[i]; + strand_id = domain.strand_id; + if (!insertions_on_strand_id_domain.containsKey$1(0, strand_id)) + insertions_on_strand_id_domain.$indexSet(0, strand_id, A.LinkedHashMap_LinkedHashMap$_empty(t3, t4)); + insertions_on_domain = insertions_on_strand_id_domain.$index(0, strand_id); + if (!insertions_on_domain.containsKey$1(0, domain)) + insertions_on_domain.$indexSet(0, domain, A._setArrayType([], t5)); + t6 = insertions_on_domain.$index(0, domain); + t6.toString; + J.add$1$ax(t6, insertion); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + for (t2 = A.LinkedHashMapKeyIterator$(insertions_on_strand_id_domain, insertions_on_strand_id_domain._modifications, insertions_on_strand_id_domain.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder, t7 = type$.nullable_void_Function_DomainBuilder, t8 = type$.void_Function_DomainBuilder, t9 = type$.nullable_void_Function_InsertionBuilder, t10 = type$.void_Function_InsertionBuilder, t11 = strands._list, t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t13 = t2.__js_helper$_current; + t14 = state.get$design(); + t15 = t14.__strands_by_id; + if (t15 == null) { + t15 = A.Design.prototype.get$strands_by_id.call(t14); + t14.set$__strands_by_id(t15); + t14 = t15; + } else + t14 = t15; + t14 = t14._map$_map.$index(0, t13); + t14.toString; + strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t14), 0); + t15 = t14.substrands; + t16 = A._instanceType(t15); + substrands = new A.CopyOnWriteList(true, t15._list, t16._eval$1("CopyOnWriteList<1>")); + insertions_on_domains = insertions_on_strand_id_domain.$index(0, t13); + for (t13 = new A.LinkedHashMapKeyIterator(insertions_on_domains, insertions_on_domains._modifications, A._instanceType(insertions_on_domains)._eval$1("LinkedHashMapKeyIterator<1>")), t13._cell = insertions_on_domains._first, t16 = t16._precomputed1; t13.moveNext$0();) { + t15 = t13.__js_helper$_current; + t17 = insertions_on_domains.$index(0, t15); + t17.toString; + t18 = t15.insertions; + t19 = A._instanceType(t18); + existing_insertions = new A.CopyOnWriteList(true, t18._list, t19._eval$1("CopyOnWriteList<1>")); + for (t17 = J.get$iterator$ax(t17), t19 = t19._precomputed1; t17.moveNext$0();) { + t18 = t17.get$current(t17); + t19._as(t18); + idx = J.indexOf$2$asx(existing_insertions._copy_on_write_list$_list, t18, 0); + t18.toString; + t20 = t10._as(new A.insertions_length_change_reducer_closure(action)); + t21 = new A.InsertionBuilder(); + t21._domain$_$v = t18; + t9._as(t20).call$1(t21); + t18 = t19._as(t21._domain$_build$0()); + existing_insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(existing_insertions._copy_on_write_list$_list, idx, t18); + } + t17 = t8._as(new A.insertions_length_change_reducer_closure0(existing_insertions)); + t18 = new A.DomainBuilder(); + t18._domain$_$v = t15; + t7._as(t17).call$1(t18); + new_domain = t18._domain$_build$0(); + t16._as(t15); + domain_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, t15, 0); + t16._as(new_domain); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, domain_idx, new_domain); + } + t13 = t6._as(new A.insertions_length_change_reducer_closure1(substrands)); + t15 = new A.StrandBuilder(); + t15._strand$_$v = t14; + t5._as(t13).call$1(t15); + new_strand = t15._strand$_build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t13 = new_strand.__first_domain; + if (t13 == null) + t13 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t13.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t12) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (strands_builder._listOwner != null) { + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t13, true, t4))); + strands_builder.set$_listOwner(null); + } + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t13, strand_idx, strand); + } + return strands_builder.build$0(); }, - _indentString: function(str) { - return new H.MappedListIterable(H.setRuntimeTypeInfo(str.split("\n"), type$.JSArray_String), type$.legacy_String_Function_String._as(new M._indentString_closure()), type$.MappedListIterable_of_String_and_legacy_String).join$1(0, "\n"); + insertion_deletion_reducer_closure: function insertion_deletion_reducer_closure(t0) { + this.substrands = t0; }, - _prettyObj: function(obj) { - var items, t1, namespacedKeys, otherKeys, pairs, t2, t3, trailingComma; - if (type$.legacy_List_dynamic._is(obj)) { - items = J.map$1$1$ax(obj, M.pretty_print___prettyObj$closure(), type$.legacy_String).toList$0(0); - if (items.length > 4 || C.JSArray_methods.any$1(items, new M._prettyObj_closure())) - return "[\n" + M._indentString(C.JSArray_methods.join$1(items, ",\n")) + "\n]"; - else - return "[" + C.JSArray_methods.join$1(items, ", ") + "]"; - } else if (type$.legacy_Map_dynamic_dynamic._is(obj)) { - t1 = type$.legacy_String; - namespacedKeys = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_String); - otherKeys = []; - J.forEach$1$ax(J.get$keys$x(obj), new M._prettyObj_closure0(namespacedKeys, otherKeys)); - pairs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - t2 = namespacedKeys.get$keys(namespacedKeys); - t3 = H._instanceType(t2); - C.JSArray_methods.addAll$1(pairs, H.MappedIterable_MappedIterable(t2, t3._eval$1("String*(Iterable.E)")._as(new M._prettyObj_closure1(obj, namespacedKeys)), t3._eval$1("Iterable.E"), t1)); - t1 = H._arrayInstanceType(otherKeys); - C.JSArray_methods.addAll$1(pairs, new H.MappedListIterable(otherKeys, t1._eval$1("String*(1)")._as(new M._prettyObj_closure2(obj)), t1._eval$1("MappedListIterable<1,String*>"))); - trailingComma = P.RegExp_RegExp("\\s*,\\s*$", true); - if (pairs.length > 1 || C.JSArray_methods.any$1(pairs, new M._prettyObj_closure3())) - return "{\n" + C.JSString_methods.replaceFirst$2(M._indentString(C.JSArray_methods.join$1(pairs, "\n")), trailingComma, "") + "\n}"; - else - return "{" + C.JSString_methods.replaceFirst$2(C.JSArray_methods.join$1(pairs, " "), trailingComma, "") + "}"; - } else - return J.toString$0$(obj); + insertion_add_reducer_closure: function insertion_add_reducer_closure() { }, - _indentString_closure: function _indentString_closure() { + insertion_add_reducer_closure0: function insertion_add_reducer_closure0(t0) { + this.insertions = t0; }, - _prettyObj_closure: function _prettyObj_closure() { + insertion_remove_reducer_closure: function insertion_remove_reducer_closure(t0) { + this.insertions = t0; }, - _prettyObj_closure0: function _prettyObj_closure0(t0, t1) { - this.namespacedKeys = t0; - this.otherKeys = t1; + deletion_add_reducer_closure: function deletion_add_reducer_closure(t0) { + this.deletions = t0; }, - _prettyObj_closure1: function _prettyObj_closure1(t0, t1) { - this.obj = t0; - this.namespacedKeys = t1; + deletion_remove_reducer_closure: function deletion_remove_reducer_closure(t0) { + this.deletions = t0; }, - _prettyObj_closure_renderSubKey: function _prettyObj_closure_renderSubKey(t0, t1) { - this.namespace = t0; - this.obj = t1; + insertion_length_change_reducer_closure: function insertion_length_change_reducer_closure(t0) { + this.action = t0; }, - _prettyObj__closure: function _prettyObj__closure() { + insertion_length_change_reducer_closure0: function insertion_length_change_reducer_closure0(t0) { + this.insertions = t0; }, - _prettyObj_closure2: function _prettyObj_closure2(t0) { - this.obj = t0; + insertions_length_change_reducer_closure: function insertions_length_change_reducer_closure(t0) { + this.action = t0; }, - _prettyObj_closure3: function _prettyObj_closure3() { + insertions_length_change_reducer_closure0: function insertions_length_change_reducer_closure0(t0) { + this.existing_insertions = t0; }, - _parseUri: function(uri) { - if (type$.Uri._is(uri)) - return uri; - throw H.wrapException(P.ArgumentError$value(uri, "uri", "Value must be a String or a Uri")); + insertions_length_change_reducer_closure1: function insertions_length_change_reducer_closure1(t0) { + this.substrands = t0; }, - _validateArgList: function(method, args) { - var numArgs, i, numArgs0, message, t1, t2, t3, t4; - for (numArgs = args.length, i = 1; i < numArgs; ++i) { - if (args[i] == null || args[i - 1] != null) - continue; - for (; numArgs >= 1; numArgs = numArgs0) { - numArgs0 = numArgs - 1; - if (args[numArgs0] != null) + load_dna_file_reducer(state, action) { + var design_new, error, stack_trace, error0, stack_trace0, t1, t2, exception, error_message, new_state, design, side_selected_helix_idxs, t3, new_selectables_store, new_filename, displayed_group_name, _box_0 = {}; + _box_0.error_message = null; + design_new = null; + try { + switch (action.dna_file_type) { + case B.DNAFileType_scadnano_file: + design_new = A.Design_from_json_str(action.content, state.ui_state.storables.invert_y); + break; + case B.DNAFileType_cadnano_file: + t1 = action.content; + t2 = state.ui_state.storables.invert_y; + design_new = A.Design_from_cadnano_v2(type$.Map_String_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, t1, null)), t2); break; } - message = new P.StringBuffer(""); - t1 = method + "("; - message._contents = t1; - t2 = H._arrayInstanceType(args); - t3 = t2._eval$1("SubListIterable<1>"); - t4 = new H.SubListIterable(args, 0, numArgs, t3); - t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); - t3 = t1 + new H.MappedListIterable(t4, t3._eval$1("String(ListIterable.E)")._as(new M._validateArgList_closure()), t3._eval$1("MappedListIterable")).join$1(0, ", "); - message._contents = t3; - message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); - throw H.wrapException(P.ArgumentError$(message.toString$0(0))); + t1 = null; + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.IllegalDesignError._is(t1)) { + error = t1; + stack_trace = A.getTraceFromException(exception); + error_message = "******************\n* illegal design *\n******************\n\nThe design has the following problem:\n\n" + error.get$cause() + "\n" + A.stack_trace_message_bug_report(stack_trace); + _box_0.error_message = error_message; + t1 = error_message; + } else { + error0 = t1; + stack_trace0 = A.getTraceFromException(exception); + B.Window_methods.alert$1(window, "I was unable to process that file. Only scadnano .sc files are supported for opening via the menu File-->Open or dragging onto the browser. If you are trying to import a cadnano file (ending. in .json), use the menu option File-->Import cadnano v2. Here is the full error message: "); + t1 = A.S(action.filename); + error_message = "I encountered an error while reading the file " + t1 + ":\n\n" + A.S($.$get$hline()) + "\n* error type: " + J.get$runtimeType$(error0).toString$0(0) + "\n* error message: " + A.S(J.toString$0$(error0)) + "\n" + A.S($.$get$hline()) + '\nIf the file is imported from cadnano, use the option of importing "cadnano v2".\nTo do this, go to the menu options, then perform Select File --> Import "cadnano v2".\nImporting a .json file is not allowed when selecting the "Open" option. Use a file with the .sc extension.\nIt is the same thing for dragging a file into the browser. A .json file will also cause an error, even if it is dragged in.\nEssentially, for .sc files, you can use the open or drag and drop feature. For .json files, you have to import "cadnano v2".\n\nThat file\'s contents are printed below.' + A.stack_trace_message_bug_report(stack_trace0) + "\n\nThe file " + t1 + " has this content:\n\n" + action.content; + _box_0.error_message = error_message; + t1 = error_message; + } } + if ((t1 == null && design_new == null ? _box_0.error_message = string$.x3cp_sca : t1) != null) + new_state = state.rebuild$1(new A.load_dna_file_reducer_closure(_box_0)); + else if (design_new != null) { + design = design_new; + _box_0.side_selected_helix_idxs = A.BuiltSet_BuiltSet$from(B.List_empty, type$.int); + t1 = state.ui_state.storables; + if (!t1.clear_helix_selection_when_loading_new_design) { + side_selected_helix_idxs = t1.side_selected_helix_idxs; + _box_0.side_selected_helix_idxs = side_selected_helix_idxs; + if (state.maybe_design != null && design.helices._map$_map._length < state.get$design().helices._map$_map._length) + _box_0.side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new A.load_dna_file_reducer_closure0(design)); + } + t2 = new A.SelectablesStoreBuilder(); + t3 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + type$.nullable_void_Function_SelectablesStoreBuilder._as(null); + new_selectables_store = t2._selectable$_build$0(); + new_filename = action.filename; + if (new_filename == null) + new_filename = t1.loaded_filename; + _box_0.storables = t1; + displayed_group_name = t1.displayed_group_name; + if (!design_new.groups._map$_map.containsKey$1(0, displayed_group_name)) + _box_0.storables = t1.rebuild$1(new A.load_dna_file_reducer_closure1(design)); + new_state = state.rebuild$1(new A.load_dna_file_reducer_closure2(_box_0, design, new_selectables_store, new_filename)); + } else + throw A.wrapException(A.AssertionError$("This line should be unreachable")); + return new_state; }, - Context0: function Context0(t0) { - this.style = t0; - }, - Context_joinAll_closure: function Context_joinAll_closure() { + load_dna_file_reducer_closure: function load_dna_file_reducer_closure(t0) { + this._box_0 = t0; }, - Context_split_closure: function Context_split_closure() { + load_dna_file_reducer_closure0: function load_dna_file_reducer_closure0(t0) { + this.design = t0; }, - _validateArgList_closure: function _validateArgList_closure() { + load_dna_file_reducer__closure0: function load_dna_file_reducer__closure0(t0) { + this.design = t0; }, - Context1: function Context1(t0, t1) { - this.buffer = t0; - this.position = t1; + load_dna_file_reducer_closure1: function load_dna_file_reducer_closure1(t0) { + this.design = t0; }, - OptionalParserExtension_optional: function(_this, $T) { - return new M.OptionalParser(null, _this, $T._eval$1("OptionalParser<0?>")); + load_dna_file_reducer_closure2: function load_dna_file_reducer_closure2(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.design = t1; + _.new_selectables_store = t2; + _.new_filename = t3; }, - OptionalParser: function OptionalParser(t0, t1, t2) { - this.otherwise = t0; - this.delegate = t1; - this.$ti = t2; + load_dna_file_reducer__closure: function load_dna_file_reducer__closure(t0, t1, t2) { + this._box_0 = t0; + this.new_selectables_store = t1; + this.new_filename = t2; }, - createContext0: function(defaultValue, calculateChangedBits, TValue) { - var JSContext, t1, jsContextHolder = {}; - jsContextHolder[self._reactDartContextSymbol] = F.DartValueWrapper_wrapIfNeeded(defaultValue); - JSContext = self.React.createContext(jsContextHolder, calculateChangedBits != null ? P.allowInterop(new M.createContext_jsifyCalculateChangedBitsArgs(calculateChangedBits, TValue), type$.legacy_legacy_int_Function_dynamic_dynamic) : null); - t1 = J.getInterceptor$x(JSContext); - return new M.Context(JSContext, A.ReactJsContextComponentFactoryProxy$(t1.get$Provider(JSContext), false, true, true), A.ReactJsContextComponentFactoryProxy$(t1.get$Consumer(JSContext), true, false, true), TValue._eval$1("Context<0*>")); + mouseover_data_clear_reducer(_, action) { + type$.MouseoverDataClear._as(action); + return A.BuiltList_BuiltList$from(B.List_empty, type$.MouseoverData); + }, + mouseover_data_update_reducer(_, state, action) { + type$.AppState._as(state); + type$.MouseoverDataUpdate._as(action); + return A.BuiltList_BuiltList$of(A.MouseoverData_from_params(state.get$design(), action.mouseover_params), type$.MouseoverData); + }, + helix_rotation_set_at_other_mouseover_reducer(mouseover_datas, state, action) { + var t1, t2, t3, t4, geometry; + type$.BuiltList_MouseoverData._as(mouseover_datas); + type$.AppState._as(state); + type$.HelixRollSetAtOther._as(action); + t1 = state.get$design().helices; + t2 = action.helix_idx; + t1 = t1._map$_map.$index(0, t2); + t1.toString; + t3 = state.get$design().helices; + t4 = action.helix_other_idx; + t4 = t3._map$_map.$index(0, t4); + t4.toString; + geometry = state.get$design().geometry; + return A._update_mouseover_datas_with_helix_rotation(t2, state, mouseover_datas, A.rotation_between_helices(t1, t4, action.forward, geometry), action.anchor); }, - ContextHelpers_unjsifyNewContext: function(interopContext) { - if (interopContext != null && self._reactDartContextSymbol in interopContext) - return F.DartValueWrapper_unwrapIfNeeded(interopContext[self._reactDartContextSymbol]); - return interopContext; + _update_mouseover_datas_with_helix_rotation(helix_idx, model, mouseover_datas, rotation, rotation_anchor) { + var new_helix, mouseover_datas_builder, t2, t3, t4, t5, t6, i, mouseover_data, t7, t8, + t1 = model.get$design().helices._map$_map.$index(0, helix_idx); + t1.toString; + new_helix = t1.rebuild$1(new A._update_mouseover_datas_with_helix_rotation_closure(B.JSNumber_methods.$mod(t1.roll + (rotation - model.get$design().helix_rotation_forward$2(t1.idx, rotation_anchor)), 360))); + mouseover_datas.toString; + mouseover_datas_builder = A.ListBuilder_ListBuilder(mouseover_datas, mouseover_datas.$ti._precomputed1); + for (t1 = mouseover_datas._list, t2 = mouseover_datas_builder.$ti, t3 = t2._precomputed1, t4 = type$.nullable_void_Function_MouseoverDataBuilder, t5 = type$.void_Function_MouseoverDataBuilder, t6 = !t3._is(null), t2 = t2._eval$1("List<1>"), i = 0; i < t1.length; ++i) { + mouseover_data = t1[i]; + if (mouseover_data.helix.idx === helix_idx) { + t7 = t5._as(new A._update_mouseover_datas_with_helix_rotation_closure0(new_helix)); + t8 = new A.MouseoverDataBuilder(); + t8._mouseover_data$_$v = mouseover_data; + t4._as(t7).call$1(t8); + t7 = t3._as(t8._mouseover_data$_build$0()); + if (!$.$get$isSoundMode() && t6) + if (t7 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (mouseover_datas_builder._listOwner != null) { + t8 = mouseover_datas_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + mouseover_datas_builder.set$__ListBuilder__list_A(t2._as(A.List_List$from(t8, true, t3))); + mouseover_datas_builder.set$_listOwner(null); + } + t8 = mouseover_datas_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t8, i, t7); + } + } + return mouseover_datas_builder.build$0(); }, - Context: function Context(t0, t1, t2, t3) { - var _ = this; - _._jsThis = t0; - _.Provider = t1; - _.Consumer = t2; - _.$ti = t3; + _update_mouseover_datas_with_helix_rotation_closure: function _update_mouseover_datas_with_helix_rotation_closure(t0) { + this.new_roll = t0; }, - createContext_jsifyCalculateChangedBitsArgs: function createContext_jsifyCalculateChangedBitsArgs(t0, t1) { - this.calculateChangedBits = t0; - this.TValue = t1; + _update_mouseover_datas_with_helix_rotation_closure0: function _update_mouseover_datas_with_helix_rotation_closure0(t0) { + this.new_helix = t0; }, - assign_domain_name_complement_from_bound_strands_reducer: function(strands, state, action) { - var computed_domains, t1, t2, all_strands, t3, t4, strand_to_assign, strand_to_assign_idx, t5, t6; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_AssignDomainNameComplementFromBoundStrands._as(action); - computed_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - t1 = strands._list; - t2 = H._instanceType(strands); - all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - for (t3 = J.get$iterator$ax(action.strands._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { - strand_to_assign = t3.get$current(t3); - strand_to_assign_idx = t4.indexOf$2(t1, t2._as(strand_to_assign), 0); - t5 = state.design; - t6 = t5.__strands_overlapping; - if (t6 == null) { - t6 = N.Design.prototype.get$strands_overlapping.call(t5); - t5.set$__strands_overlapping(t6); - t5 = t6; + move_linker_reducer(strands, state, action) { + var design, potential_crossover, t1, end_fixed, end_to, t2, t3, t4, t5, new_all_strands, new_strands, t6, t7, new_strand_disconnected, new_strand_connected_intermediate, strands_to_join, t8, new_strand_connected, crossover_idx, t9, linker_seq, strand_to_dna_sequence, new_strand_connected_dna_sequence, strand_from_orig_idx, strand_to_orig_idx; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.MoveLinker._as(action); + design = state.get$design(); + potential_crossover = action.potential_crossover; + t1 = potential_crossover.linker; + t1.toString; + end_fixed = potential_crossover.dna_end_first_click; + end_to = action.dna_end_second_click; + t2 = design.__linker_to_strand; + if (t2 == null) { + t2 = A.Design.prototype.get$linker_to_strand.call(design); + design.set$__linker_to_strand(t2); + } + t2 = t2._map$_map.$index(0, t1); + t2.toString; + t3 = design.get$substrand_to_strand(); + t4 = design.get$end_to_domain()._map$_map.$index(0, end_to); + t4.toString; + t4 = t3._map$_map.$index(0, t4); + t4.toString; + if (t2.$eq(0, t4)) { + B.Window_methods.alert$1(window, "creating circular strand by moving existing crossover/loopout not supported yet"); + return strands; + } + t3 = strands._list; + t5 = A._instanceType(strands); + new_all_strands = new A.CopyOnWriteList(true, t3, t5._eval$1("CopyOnWriteList<1>")); + new_strands = A.remove_linkers_from_strand(t2, A._setArrayType([t1], type$.JSArray_Linker)); + t6 = new_strands.length; + if (t6 === 2) { + t7 = end_fixed.is_5p; + if (t7) { + if (0 >= t6) + return A.ioore(new_strands, 0); + new_strand_disconnected = new_strands[0]; + } else { + if (1 >= t6) + return A.ioore(new_strands, 1); + new_strand_disconnected = new_strands[1]; + } + if (t7) { + if (1 >= t6) + return A.ioore(new_strands, 1); + new_strand_connected_intermediate = new_strands[1]; + } else { + if (0 >= t6) + return A.ioore(new_strands, 0); + new_strand_connected_intermediate = new_strands[0]; + } + t6 = type$.JSArray_Strand; + strands_to_join = A._setArrayType([new_strand_connected_intermediate, t4], t6); + if (t7) { + t8 = type$.ReversedListIterable_Strand; + A.List_List$of(new A.ReversedListIterable(strands_to_join, t8), true, t8._eval$1("ListIterable.E")); + } + t8 = type$.Strand; + new_strand_connected = B.JSArray_methods.get$first((end_fixed.get$is_3p() ? A._join_strands_with_crossover(new_strand_connected_intermediate, t4, A._BuiltList$of(A._setArrayType([new_strand_connected_intermediate, t4], t6), t8), true) : A._join_strands_with_crossover(t4, new_strand_connected_intermediate, A._BuiltList$of(A._setArrayType([t4, new_strand_connected_intermediate], t6), t8), false))._list); + t6 = t1 instanceof A.Loopout; + if (t6) { + crossover_idx = t7 ? t4.get$domains()._list.length - 1 : new_strand_connected_intermediate.get$domains()._list.length - 1; + t9 = new_strand_connected.get$linkers()._list; + if (!(crossover_idx >= 0 && crossover_idx < t9.length)) + return A.ioore(t9, crossover_idx); + new_strand_connected = A.convert_crossover_to_loopout_reducer(new_strand_connected, A.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout(type$.Crossover._as(t9[crossover_idx]), t1.loopout_num_bases, t1.dna_sequence)); + } + if (t6) { + linker_seq = t1.dna_sequence; + if (linker_seq == null) + linker_seq = B.JSString_methods.$mul("?", t1.loopout_num_bases); } else - t5 = t6; - t5 = J.get$iterator$ax(J.$index$asx(t5._map$_map, strand_to_assign)._list); - for (; t5.moveNext$0();) - strand_to_assign = M.compute_domain_name_complements(strand_to_assign, t5.get$current(t5), computed_domains); - t2._as(strand_to_assign); - all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); + linker_seq = ""; + strand_to_dna_sequence = t4.get$dna_sequence(); + if (strand_to_dna_sequence == null) + strand_to_dna_sequence = B.JSString_methods.$mul("?", t4.get$dna_length()); + new_strand_connected_dna_sequence = new_strand_connected_intermediate.get$dna_sequence(); + if (new_strand_connected_dna_sequence == null) + new_strand_connected_dna_sequence = B.JSString_methods.$mul("?", new_strand_connected_intermediate.get$dna_length()); + new_strand_connected = new_strand_connected.set_dna_sequence$1(t7 ? strand_to_dna_sequence + linker_seq + new_strand_connected_dna_sequence : new_strand_connected_dna_sequence + linker_seq + strand_to_dna_sequence); + t1 = t5._precomputed1; + strand_from_orig_idx = B.JSArray_methods.indexOf$2(t3, t1._as(t2), 0); + strand_to_orig_idx = B.JSArray_methods.indexOf$2(t3, t1._as(t4), 0); + t1._as(new_strand_connected); + new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_from_orig_idx, new_strand_connected); + t1._as(new_strand_disconnected); + new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_to_orig_idx, new_strand_disconnected); + } else if (t6 === 1) { + B.Window_methods.alert$1(window, "moving crossover/loopout from a circular strand not yet supported"); + return strands; + } else + throw A.wrapException(A.AssertionError$("should be unreachable")); + return A._BuiltList$of(new_all_strands, t8); + }, + nick_reducer(strands, state, action) { + var domain_to_remove, t1, nick_offset, helix, $forward, start, end, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, domain_left, domain_right, index_removed, substrands_before, substrands_after, domain_after, domain_before, dna_length_before, dna_before, dna_after, dna_length_strand_5p, modifications_int_strand_5p, i, mods_on_ss, strand_new, strand_idx, strands_mutable, strand_5p, modifications_int_strand_3p, strand_3p, _null = null; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.Nick._as(action); + domain_to_remove = action.domain; + t1 = state.get$design().get$substrand_to_strand()._map$_map.$index(0, domain_to_remove); + t1.toString; + nick_offset = action.offset; + helix = domain_to_remove.helix; + $forward = domain_to_remove.forward; + start = domain_to_remove.start; + end = domain_to_remove.end; + t2 = domain_to_remove.is_scaffold; + t3 = domain_to_remove.deletions; + t3.toString; + t4 = t3.$ti._eval$1("bool(1)"); + t3 = t3._list; + t5 = A._arrayInstanceType(t3); + t6 = t5._eval$1("bool(1)"); + t7 = t6._as(t4._as(new A.nick_reducer_closure(nick_offset))); + t5 = t5._eval$1("WhereIterable<1>"); + t8 = domain_to_remove.insertions; + t8.toString; + t9 = t8.$ti._eval$1("bool(1)"); + t8 = t8._list; + t10 = A._arrayInstanceType(t8); + t11 = t10._eval$1("bool(1)"); + t10 = t10._eval$1("WhereIterable<1>"); + domain_left = A.Domain_Domain(new A.WhereIterable(t3, t7, t5), nick_offset, $forward, helix, new A.WhereIterable(t8, t11._as(t9._as(new A.nick_reducer_closure0(nick_offset))), t10), false, false, t2, start); + domain_right = A.Domain_Domain(new A.WhereIterable(t3, t6._as(t4._as(new A.nick_reducer_closure1(nick_offset))), t5), end, $forward, helix, new A.WhereIterable(t8, t11._as(t9._as(new A.nick_reducer_closure2(nick_offset))), t10), false, false, t2, nick_offset); + t2 = t1.substrands; + t2.toString; + t10 = t2.$ti; + t2 = t2._list; + index_removed = B.JSArray_methods.indexOf$2(t2, t10._precomputed1._as(domain_to_remove), 0); + t10 = t10._eval$1("_BuiltList<1>"); + t9 = t10._eval$1("CopyOnWriteList<1>"); + substrands_before = new A.CopyOnWriteList(true, B.JSArray_methods.sublist$2(t2, 0, index_removed), t9); + substrands_after = new A.CopyOnWriteList(true, B.JSArray_methods.sublist$2(t2, index_removed + 1, _null), t9); + if (!$forward) { + domain_after = domain_left; + domain_before = domain_right; + } else { + domain_after = domain_right; + domain_before = domain_left; } - return D._BuiltList$of(all_strands, type$.legacy_Strand); - }, - compute_domain_name_complements: function(strand_to, strand_from, computed_domains) { - var substrands, t3, t4, t5, ss_idx, t6, substrand_to, helix_idx, domains_on_helix_from, t7, t8, t9, t10, t11, - t1 = strand_to.substrands, - t2 = t1._list; - t1 = H._instanceType(t1); - substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t3 = J.getInterceptor$asx(t2); - t4 = type$.JSArray_legacy_Domain; - t1 = t1._precomputed1; - t5 = type$.legacy_void_Function_legacy_DomainBuilder; - ss_idx = 0; + domain_before = domain_before.rebuild$1(new A.nick_reducer_closure3(substrands_before)); + domain_after = domain_after.rebuild$1(new A.nick_reducer_closure4(substrands_after)); + t3 = t10._precomputed1; + t3._as(domain_before); + substrands_before._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(substrands_before._copy_on_write_list$_list, domain_before); + t3._as(domain_after); + substrands_after._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(substrands_after._copy_on_write_list$_list, 0, domain_after); + if (t1.get$dna_sequence() != null) { + t3 = A._setArrayType([], type$.JSArray_int); + for (t4 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t4.moveNext$0();) + t3.push(t4.get$current(t4).dna_length$0()); + dna_length_before = B.JSArray_methods.reduce$1(t3, new A.nick_reducer_closure5()); + t3 = t1.get$dna_sequence(); + t3.toString; + dna_before = B.JSString_methods.substring$2(t3, 0, dna_length_before); + t3 = t1.get$dna_sequence(); + t3.toString; + dna_after = B.JSString_methods.substring$1(t3, dna_length_before); + } else { + dna_after = _null; + dna_before = dna_after; + } + t3 = A._setArrayType([], type$.JSArray_int); + for (t4 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t4.moveNext$0();) + t3.push(t4.get$current(t4).dna_length$0()); + dna_length_strand_5p = B.JSArray_methods.reduce$1(t3, new A.nick_reducer_closure6()); + t3 = type$.int; + t4 = type$.ModificationInternal; + modifications_int_strand_5p = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4); + i = 0; while (true) { - t6 = t3.get$length(t2); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(ss_idx < t6)) + t5 = J.get$length$asx(substrands_before._copy_on_write_list$_list); + if (typeof t5 !== "number") + return A.iae(t5); + if (!(i < t5)) break; - substrand_to = t3.$index(t2, ss_idx); - if (substrand_to instanceof G.Domain) { - helix_idx = substrand_to.helix; - t6 = strand_from.__domains_on_helix; - if (t6 == null) { - t6 = E.Strand.prototype.get$domains_on_helix.call(strand_from); - strand_from.set$__domains_on_helix(t6); - } - t6 = J.$index$asx(t6._map$_map, helix_idx); - domains_on_helix_from = t6 == null ? null : new Q.CopyOnWriteList(true, t6._list, H.instanceType(t6)._eval$1("CopyOnWriteList<1>")); - for (t6 = J.get$iterator$ax(domains_on_helix_from == null ? H.setRuntimeTypeInfo([], t4) : domains_on_helix_from), t7 = substrand_to.forward, t8 = substrand_to.start, t9 = substrand_to.end; t6.moveNext$0();) { - t10 = t6.get$current(t6); - if (!substrand_to.$eq(0, t10)) - t11 = helix_idx === t10.helix && t7 === !t10.forward && substrand_to.compute_overlap$1(t10) != null && t8 === t10.start && t9 === t10.end && t10.name != null && !C.JSArray_methods.contains$1(computed_domains, substrand_to); - else - t11 = false; - if (t11) { - t6 = t10.name; - t7 = t6.length; - t8 = t7 - 1; - if (t8 < 0) - return H.ioore(t6, t8); - t7 = J.getInterceptor$ansx(t6); - t6 = t5._as(new M.compute_domain_name_complements_closure(t6[t8] === "*" ? t7.substring$2(t6, 0, t8) : t7.$add(t6, "*"))); - t7 = new G.DomainBuilder(); - t7._domain$_$v = substrand_to; - t6.call$1(t7); - t6 = t1._as(t7.build$0()); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t6); - C.JSArray_methods.add$1(computed_domains, t10); - break; - } - } + t5 = t1.__internal_modifications_on_substrand_absolute_idx; + if (t5 == null) { + t5 = A.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(t1); + t1.set$__internal_modifications_on_substrand_absolute_idx(t5); } - ++ss_idx; + t5 = t5._list; + if (!(i < t5.length)) + return A.ioore(t5, i); + mods_on_ss = t5[i]; + mods_on_ss.toString; + mods_on_ss._map$_map.forEach$1(0, mods_on_ss.$ti._eval$1("~(1,2)")._as(new A.nick_reducer_closure7(i, substrands_before, dna_length_strand_5p, modifications_int_strand_5p))); + ++i; } - return strand_to.rebuild$1(new M.compute_domain_name_complements_closure0(substrands)); - }, - complement_domain_name: function($name) { - var t1 = $name.length, - t2 = t1 - 1; - if (t2 < 0) - return H.ioore($name, t2); - t1 = J.getInterceptor$ansx($name); - return $name[t2] === "*" ? t1.substring$2($name, 0, t2) : t1.$add($name, "*"); - }, - assign_domain_name_complement_from_bound_domains_reducer: function(strands, state, action) { - var computed_domains, t1, t2, all_strands, t3, t4, t5, t6, t7, strand_to, strand_idx; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_AssignDomainNameComplementFromBoundDomains._as(action); - computed_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - t1 = strands._list; - t2 = H._instanceType(strands); - all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - for (t3 = J.get$iterator$ax(action.domains._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { - t5 = t3.get$current(t3); - if (!C.JSArray_methods.contains$1(computed_domains, t5)) { - t6 = state.design; - t7 = t6.__substrand_to_strand; - if (t7 == null) { - t7 = N.Design.prototype.get$substrand_to_strand.call(t6); - t6.set$__substrand_to_strand(t7); + if (t1.circular) { + t10._eval$1("List<1>")._as(substrands_before); + strand_new = t1.rebuild$1(new A.nick_reducer_closure8(J.$add$ansx(substrands_after._copy_on_write_list$_list, substrands_before))).initialize$0(0); + strands.toString; + t2 = strands.$ti._precomputed1; + strand_idx = B.JSArray_methods.indexOf$2(strands._list, t2._as(t1), 0); + strands_mutable = A.ListBuilder_ListBuilder(strands, t2); + t2 = strands_mutable.$ti._precomputed1; + t2._as(strand_new); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (strand_new == null) + A.throwExpression(A.ArgumentError$("null element", _null)); + B.JSArray_methods.$indexSet(strands_mutable.get$_safeList(), strand_idx, strand_new); + return strands_mutable.build$0(); + } else { + t5 = t1.name; + t6 = t1.color; + t7 = t1.is_scaffold; + strand_5p = A.Strand_Strand(substrands_before, false, t6, dna_before, t7, _null, _null, t1.modification_5p, modifications_int_strand_5p, t5, t1.vendor_fields); + modifications_int_strand_3p = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4); + t3 = J.get$length$asx(substrands_before._copy_on_write_list$_list); + if (typeof t3 !== "number") + return t3.$sub(); + i = t3 - 1; + for (; i < t2.length; ++i) { + t3 = t1.__internal_modifications_on_substrand_absolute_idx; + if (t3 == null) { + t3 = A.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(t1); + t1.set$__internal_modifications_on_substrand_absolute_idx(t3); } - strand_to = J.$index$asx(t7._map$_map, t5); - strand_idx = t4.indexOf$2(t1, t2._as(strand_to), 0); - for (t6 = J.get$iterator$ax(t6.domains_on_helix_overlapping$1(t5)); t6.moveNext$0();) - strand_to = M.compute_domain_name_complements_for_bound_domains(strand_to, t5, t6.get$current(t6), computed_domains); - t2._as(strand_to); - all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_idx, strand_to); + t3 = t3._list; + if (!(i >= 0 && i < t3.length)) + return A.ioore(t3, i); + mods_on_ss = t3[i]; + mods_on_ss.toString; + mods_on_ss._map$_map.forEach$1(0, mods_on_ss.$ti._eval$1("~(1,2)")._as(new A.nick_reducer_closure9(i, substrands_before, dna_length_strand_5p, modifications_int_strand_3p))); } + t2 = t7 ? t6 : _null; + strand_3p = A.Strand_Strand(substrands_after, false, t2, dna_after, t7, _null, t1.modification_3p, _null, modifications_int_strand_3p, t5, _null); + t5 = type$.JSArray_Strand; + return A.swap_old_strands_for_new(strands, A._setArrayType([t1], t5), A._setArrayType([strand_5p, strand_3p], t5)); } - return D._BuiltList$of(all_strands, type$.legacy_Strand); }, - compute_domain_name_complements_for_bound_domains: function(strand_to, domain_to_assign, other_domain, computed_domains) { - var substrands, ss_idx, - t1 = strand_to.substrands, - t2 = t1._list; - t1 = H._instanceType(t1); - substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t1 = t1._precomputed1; - ss_idx = J.indexOf$2$asx(t2, t1._as(domain_to_assign), 0); - if (ss_idx !== -1) - if (!J.$eq$(domain_to_assign, other_domain) && domain_to_assign.start === other_domain.start && domain_to_assign.end === other_domain.end && other_domain.name != null && !C.JSArray_methods.contains$1(computed_domains, domain_to_assign)) { - t1 = t1._as(domain_to_assign.rebuild$1(new M.compute_domain_name_complements_for_bound_domains_closure(M.complement_domain_name(other_domain.name)))); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t1); - C.JSArray_methods.add$1(computed_domains, other_domain); + ligate_reducer(strands, state, action) { + var dna_end_clicked, t1, t2, helix, $forward, t3, t4, other_domain, t5, t6, dom_right, dom_left, strand_3p, strand_5p, dom_3p, dom_5p, t7, dom_new, substrands, first_dom, i, new_strand, strand_idx, strands_mutable, substrands_5p_new, substrands_3p_new, _box_0 = {}; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + dna_end_clicked = type$.Ligate._as(action).dna_end; + t1 = state.get$design().get$end_to_domain()._map$_map.$index(0, dna_end_clicked); + t1.toString; + t2 = state.get$design().get$substrand_to_strand()._map$_map.$index(0, t1); + t2.toString; + helix = t1.helix; + $forward = t1.forward; + t3 = dna_end_clicked.offset; + t3.toString; + t4 = dna_end_clicked.is_start; + t3 = (t4 ? state.get$design().domains_on_helix_at$2(helix, t3 - 1) : state.get$design().domains_on_helix_at$2(helix, t3))._set; + t3 = t3.get$iterator(t3); + while (true) { + if (!t3.moveNext$0()) { + other_domain = null; + break; } - return strand_to.rebuild$1(new M.compute_domain_name_complements_for_bound_domains_closure0(substrands)); - }, - compute_domain_name_complements_closure: function compute_domain_name_complements_closure(t0) { - this.domain_name_to = t0; - }, - compute_domain_name_complements_closure0: function compute_domain_name_complements_closure0(t0) { - this.substrands = t0; - }, - compute_domain_name_complements_for_bound_domains_closure: function compute_domain_name_complements_for_bound_domains_closure(t0) { - this.domain_name_to = t0; - }, - compute_domain_name_complements_for_bound_domains_closure0: function compute_domain_name_complements_for_bound_domains_closure0(t0) { - this.substrands = t0; - }, - strand_create_start_reducer: function(strand_creation, state, action) { - var t1, t2; - type$.legacy_StrandCreation._as(strand_creation); - type$.legacy_AppState._as(state); - type$.legacy_StrandCreateStart._as(action); - t1 = state.design.helices; - t2 = action.address; - t1 = J.$index$asx(t1._map$_map, t2.helix_idx); - return U.StrandCreation_StrandCreation(action.color, t2.forward, t1, t2.offset); - }, - strand_create_adjust_offset_reducer: function(strand_creation, state, action) { - var new_offset, old_offset, t1, new_address, t2, t3, t4; - type$.legacy_StrandCreation._as(strand_creation); - type$.legacy_AppState._as(state); - type$.legacy_StrandCreateAdjustOffset._as(action); - new_offset = action.offset; - old_offset = strand_creation.current_offset; - t1 = strand_creation.helix.idx; - new_address = Z._$Address$_(strand_creation.forward, t1, new_offset); - if (state.ui_state.storables.dynamically_update_helices) { - if (old_offset !== new_offset && state.design.domain_on_helix_at$2(new_address, strand_creation) == null && new_offset !== strand_creation.original_offset) - return strand_creation.rebuild$1(new M.strand_create_adjust_offset_reducer_closure(action)); - } else { - if (old_offset !== new_offset) { - t2 = state.design; - if (t2.domain_on_helix_at$2(new_address, strand_creation) == null) - if (new_offset !== strand_creation.original_offset) { - t2 = t2.helices._map$_map; - t3 = J.getInterceptor$asx(t2); - t4 = t3.$index(t2, t1).min_offset; - if (typeof new_offset !== "number") - return H.iae(new_offset); - t1 = t4 <= new_offset && new_offset < t3.$index(t2, t1).max_offset; - } else - t1 = false; - else - t1 = false; + other_domain = t3.get$current(t3); + t5 = state.get$design(); + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + t5 = t6; } else - t1 = false; - if (t1) - return strand_creation.rebuild$1(new M.strand_create_adjust_offset_reducer_closure0(action)); + t5 = t6; + t5 = t5._map$_map.$index(0, other_domain); + t5.toString; + if (t2.ligatable_ends_with$1(t5) != null) + break; } - return strand_creation; - }, - strand_create_stop_reducer: function(_, __, action) { - type$.legacy_StrandCreation._as(_); - type$.legacy_AppState._as(__); - type$.legacy_StrandCreateStop._as(action); - return null; - }, - strand_create_adjust_offset_reducer_closure: function strand_create_adjust_offset_reducer_closure(t0) { - this.action = t0; - }, - strand_create_adjust_offset_reducer_closure0: function strand_create_adjust_offset_reducer_closure0(t0) { - this.action = t0; - }, - _$valueOf4: function($name) { - switch ($name) { - case "select": - return C.EditModeChoice_select; - case "rope_select": - return C.EditModeChoice_rope_select; - case "pencil": - return C.EditModeChoice_pencil; - case "nick": - return C.EditModeChoice_nick; - case "ligate": - return C.EditModeChoice_ligate; - case "insertion": - return C.EditModeChoice_insertion; - case "deletion": - return C.EditModeChoice_deletion; - case "move_group": - return C.EditModeChoice_move_group; - default: - throw H.wrapException(P.ArgumentError$($name)); + if (other_domain == null) + return strands; + if (!t4) { + dom_right = other_domain; + dom_left = t1; + } else { + dom_right = t1; + dom_left = other_domain; } - }, - EditModeChoice: function EditModeChoice(t0) { - this.name = t0; - }, - _$EditModeChoiceSerializer: function _$EditModeChoiceSerializer() { - }, - _$DesignMainDNASequences: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$DesignMainDNASequencesProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps(backingProps); - }, - _$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$DesignMainDNASequencesProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new M._$$DesignMainDNASequencesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_dna_sequences$_props = backingMap; - return t1; + t1 = state.get$design().get$substrand_to_strand()._map$_map.$index(0, dom_left); + t1.toString; + t2 = state.get$design().get$substrand_to_strand()._map$_map.$index(0, dom_right); + t2.toString; + if (!$forward) { + strand_3p = t2; + strand_5p = t1; + dom_3p = dom_right; + dom_5p = dom_left; + } else { + strand_3p = t1; + strand_5p = t2; + dom_3p = dom_left; + dom_5p = dom_right; } + t3 = strand_5p.is_scaffold || strand_3p.is_scaffold; + t4 = dom_left.deletions; + t4.toString; + t5 = t4.$ti; + t4 = B.JSArray_methods.$add(t4._list, t5._eval$1("BuiltList<1>")._as(dom_right.deletions)._list); + t6 = dom_left.insertions; + t6.toString; + t7 = t6.$ti; + dom_new = A.Domain_Domain(new A._BuiltList(t4, t5._eval$1("_BuiltList<1>")), dom_right.end, $forward, helix, new A._BuiltList(B.JSArray_methods.$add(t6._list, t7._eval$1("BuiltList<1>")._as(dom_right.insertions)._list), t7._eval$1("_BuiltList<1>")), dom_3p.is_first, dom_5p.is_last, t3, dom_left.start); + if (t1.$eq(0, t2)) { + t2 = t1.substrands; + substrands = new A.CopyOnWriteList(true, t2._list, A._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + _box_0.substrands = substrands; + substrands.removeAt$1(0, 0); + J.removeLast$0$ax(_box_0.substrands); + J.insert$2$ax(_box_0.substrands, 0, dom_new); + if (t1.get$crossovers()._list.length === 0) + return strands; + if (J.get$last$ax(_box_0.substrands) instanceof A.Loopout) { + first_dom = -1; + i = 0; + while (true) { + t2 = J.get$length$asx(_box_0.substrands); + if (typeof t2 !== "number") + return t2.$sub(); + if (!(i < t2 - 1)) + break; + if (J.$index$asx(_box_0.substrands, i) instanceof A.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof A.Domain) + first_dom = i + 1; + ++i; + } + _box_0.substrands = B.JSArray_methods.$add(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); + } + new_strand = t1.rebuild$1(new A.ligate_reducer_closure(_box_0)).initialize$0(0); + strands.toString; + t2 = strands.$ti._precomputed1; + strand_idx = B.JSArray_methods.indexOf$2(strands._list, t2._as(t1), 0); + strands_mutable = A.ListBuilder_ListBuilder(strands, t2); + t2 = strands_mutable.$ti._precomputed1; + t2._as(new_strand); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (new_strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(strands_mutable.get$_safeList(), strand_idx, new_strand); + return strands_mutable.build$0(); + } else { + t3 = strand_5p.substrands; + substrands_5p_new = new A.CopyOnWriteList(true, t3._list, A._instanceType(t3)._eval$1("CopyOnWriteList<1>")); + substrands_5p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands_5p_new._copy_on_write_list$_list, 0); + t3 = strand_3p.substrands; + t4 = A._instanceType(t3); + substrands_3p_new = new A.CopyOnWriteList(true, t3._list, t4._eval$1("CopyOnWriteList<1>")); + substrands_3p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeLast$0$ax(substrands_3p_new._copy_on_write_list$_list); + t4 = t4._eval$1("List<1>")._as(A._setArrayType([dom_new], type$.JSArray_Substrand)); + new_strand = A.join_two_strands_with_substrands(strand_3p, strand_5p, B.JSArray_methods.$add(J.$add$ansx(substrands_3p_new._copy_on_write_list$_list, t4), substrands_5p_new), dna_end_clicked.get$is_3p()); + t4 = type$.JSArray_Strand; + return A.swap_old_strands_for_new(strands, A._setArrayType([t1, t2], t4), A._setArrayType([new_strand], t4)); + } + }, + join_strands_by_multiple_crossovers_reducer(strands, state, action) { + var t1, t2, end_pairs, addresses_from, addresses_to, _i, end_pair, end1, end2, t3, end_from, end_to, i, address_from, address_to; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.JoinStrandsByMultipleCrossovers._as(action); + t1 = state.get$design(); + t2 = state.ui_state.selectables_store.get$selected_dna_ends()._set; + end_pairs = A.find_end_pairs_to_connect(t1, A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E"))); + t2 = type$.JSArray_Address; + addresses_from = A._setArrayType([], t2); + addresses_to = A._setArrayType([], t2); + for (t1 = end_pairs.length, _i = 0; _i < end_pairs.length; end_pairs.length === t1 || (0, A.throwConcurrentModificationError)(end_pairs), ++_i) { + end_pair = end_pairs[_i]; + end1 = end_pair.item1; + end2 = end_pair.item2; + t2 = end1.__is_3p; + if (t2 == null) { + t2 = end1.__is_3p = A.DNAEnd.prototype.get$is_3p.call(end1); + t3 = t2; + } else + t3 = t2; + end_from = t2 ? end1 : end2; + end_to = t3 ? end2 : end1; + t2 = state.get$design(); + t3 = t2.__end_to_address; + if (t3 == null) { + t3 = A.Design.prototype.get$end_to_address.call(t2); + t2.set$__end_to_address(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._map$_map.$index(0, end_from); + t2.toString; + B.JSArray_methods.add$1(addresses_from, t2); + t2 = state.get$design(); + t3 = t2.__end_to_address; + if (t3 == null) { + t3 = A.Design.prototype.get$end_to_address.call(t2); + t2.set$__end_to_address(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._map$_map.$index(0, end_to); + t2.toString; + B.JSArray_methods.add$1(addresses_to, t2); + } + for (i = 0; i < addresses_from.length; ++i) { + address_from = addresses_from[i]; + if (!(i < addresses_to.length)) + return A.ioore(addresses_to, i); + address_to = addresses_to[i]; + t1 = A._strand_with_end_address(strands, address_from, true); + t1.toString; + t2 = A._strand_with_end_address(strands, address_to, false); + t2.toString; + strands = A._join_strands_with_crossover(t1, t2, strands, true); + } + return strands; }, - _$$DesignMainDNASequencesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$DesignMainDNASequencesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_dna_sequences$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - DesignMainDNASequencesProps: function DesignMainDNASequencesProps() { - }, - DesignMainDNASequencesComponent: function DesignMainDNASequencesComponent() { - }, - $DesignMainDNASequencesComponentFactory_closure: function $DesignMainDNASequencesComponentFactory_closure() { - }, - _$$DesignMainDNASequencesProps: function _$$DesignMainDNASequencesProps() { + _strand_with_end_address(strands, address, end_is_3p) { + var t1, t2, t3, t4; + for (t1 = strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = !end_is_3p; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + if (end_is_3p) { + t4 = t3.__address_3p; + t4 = (t4 == null ? t3.__address_3p = A.Strand.prototype.get$address_3p.call(t3) : t4).$eq(0, address); + } else + t4 = false; + if (t4) + return t3; + if (t2) { + t4 = t3.__address_5p; + t4 = (t4 == null ? t3.__address_5p = A.Strand.prototype.get$address_5p.call(t3) : t4).$eq(0, address); + } else + t4 = false; + if (t4) + return t3; + } + return null; }, - _$$DesignMainDNASequencesProps$PlainMap: function _$$DesignMainDNASequencesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { - var _ = this; - _._design_main_dna_sequences$_props = t0; - _.DesignMainDNASequencesProps_helices = t1; - _.DesignMainDNASequencesProps_groups = t2; - _.DesignMainDNASequencesProps_geometry = t3; - _.DesignMainDNASequencesProps_strands = t4; - _.DesignMainDNASequencesProps_side_selected_helix_idxs = t5; - _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; - _.DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset = t7; - _.DesignMainDNASequencesProps_dna_sequence_png_vertical_offset = t8; - _.DesignMainDNASequencesProps_is_zoom_above_threshold = t9; - _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; - _.DesignMainDNASequencesProps_only_display_selected_helices = t11; - _.DesignMainDNASequencesProps_helix_idx_to_svg_position_map = t12; - _.DesignMainDNASequencesProps_disable_png_caching_dna_sequences = t13; - _.DesignMainDNASequencesProps_retain_strand_color_on_selection = t14; - _.DesignMainDNASequencesProps_display_reverse_DNA_right_side_up = t15; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t16; - _.UbiquitousDomPropsMixin__dom = t17; + find_end_pairs_to_connect(design, selected_ends) { + var t4, _i, t5, end, ends_by_group, helix_idx, t6, group_name, end_pairs_to_connect, helices_view_order_inverse, ends_in_group, t7, + t1 = type$.DNAEnd, + t2 = type$.Domain, + t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = selected_ends.length, _i = 0; t5 = selected_ends.length, _i < t5; selected_ends.length === t4 || (0, A.throwConcurrentModificationError)(selected_ends), ++_i) { + end = selected_ends[_i]; + t5 = design.__end_to_domain; + if (t5 == null) { + t5 = A.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t5); + } + t5 = t5._map$_map.$index(0, end); + t5.toString; + t3.$indexSet(0, end, t5); + } + ends_by_group = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_DNAEnd); + for (t4 = type$.JSArray_DNAEnd, _i = 0; _i < selected_ends.length; selected_ends.length === t5 || (0, A.throwConcurrentModificationError)(selected_ends), ++_i) { + end = selected_ends[_i]; + helix_idx = t3.$index(0, end).helix; + t6 = design.helices._map$_map.$index(0, helix_idx); + t6.toString; + group_name = t6.group; + if (!ends_by_group.containsKey$1(0, group_name)) + ends_by_group.$indexSet(0, group_name, A._setArrayType([], t4)); + t6 = ends_by_group.$index(0, group_name); + t6.toString; + B.JSArray_methods.add$1(t6, end); + } + end_pairs_to_connect = A._setArrayType([], type$.JSArray_Tuple2_DNAEnd_DNAEnd); + for (t3 = design.groups, t4 = t3.get$keys(t3), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t4)._precomputed1); t4.moveNext$0();) { + t5 = t4.__js_helper$_current; + t6 = t3._map$_map.$index(0, t5); + helices_view_order_inverse = t6.__helices_view_order_inverse; + if (helices_view_order_inverse == null) { + helices_view_order_inverse = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t6); + t6.set$__helices_view_order_inverse(helices_view_order_inverse); + } + ends_in_group = ends_by_group.$index(0, t5); + t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t6 = ends_in_group.length, _i = 0; _i < ends_in_group.length; ends_in_group.length === t6 || (0, A.throwConcurrentModificationError)(ends_in_group), ++_i) { + end = ends_in_group[_i]; + t7 = design.__end_to_domain; + if (t7 == null) { + t7 = A.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t7); + } + t7 = t7._map$_map.$index(0, end); + t7.toString; + t5.$indexSet(0, end, t7); + } + B.JSArray_methods.addAll$1(end_pairs_to_connect, A.find_end_pairs_to_connect_in_group(ends_in_group, t5, helices_view_order_inverse)); + } + return end_pairs_to_connect; }, - _$$DesignMainDNASequencesProps$JsMap: function _$$DesignMainDNASequencesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { - var _ = this; - _._design_main_dna_sequences$_props = t0; - _.DesignMainDNASequencesProps_helices = t1; - _.DesignMainDNASequencesProps_groups = t2; - _.DesignMainDNASequencesProps_geometry = t3; - _.DesignMainDNASequencesProps_strands = t4; - _.DesignMainDNASequencesProps_side_selected_helix_idxs = t5; - _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; - _.DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset = t7; - _.DesignMainDNASequencesProps_dna_sequence_png_vertical_offset = t8; - _.DesignMainDNASequencesProps_is_zoom_above_threshold = t9; - _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; - _.DesignMainDNASequencesProps_only_display_selected_helices = t11; - _.DesignMainDNASequencesProps_helix_idx_to_svg_position_map = t12; - _.DesignMainDNASequencesProps_disable_png_caching_dna_sequences = t13; - _.DesignMainDNASequencesProps_retain_strand_color_on_selection = t14; - _.DesignMainDNASequencesProps_display_reverse_DNA_right_side_up = t15; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t16; - _.UbiquitousDomPropsMixin__dom = t17; + find_end_pairs_to_connect_in_group(ends, domains_by_end, helices_view_order_inverse) { + var ends_by_offset, t1, t2, _i, end, t3, t4, t5, end_pairs, already_chosen_ends, ends_with_offset, i, end1, end2; + (ends && B.JSArray_methods).sort$1(ends, new A.find_end_pairs_to_connect_in_group_closure(domains_by_end, helices_view_order_inverse)); + ends_by_offset = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.List_DNAEnd); + for (t1 = ends.length, t2 = type$.JSArray_DNAEnd, _i = 0; _i < ends.length; ends.length === t1 || (0, A.throwConcurrentModificationError)(ends), ++_i) { + end = ends[_i]; + t3 = end.is_start; + t4 = end.offset; + if (t3) { + t4.toString; + t5 = t4; + } else { + t4.toString; + t5 = t4 - 1; + } + if (!ends_by_offset.containsKey$1(0, t5)) { + if (t3) { + t4.toString; + t5 = t4; + } else { + t4.toString; + t5 = t4 - 1; + } + ends_by_offset.$indexSet(0, t5, A._setArrayType([], t2)); + } + if (t3) { + t4.toString; + t3 = t4; + } else { + t4.toString; + t3 = t4 - 1; + } + t3 = ends_by_offset.$index(0, t3); + t3.toString; + B.JSArray_methods.add$1(t3, end); + } + end_pairs = A._setArrayType([], type$.JSArray_Tuple2_DNAEnd_DNAEnd); + for (t1 = A.LinkedHashMapKeyIterator$(ends_by_offset, ends_by_offset._modifications, ends_by_offset.$ti._precomputed1), t2 = type$.Tuple2_DNAEnd_DNAEnd, t3 = type$.DNAEnd; t1.moveNext$0();) { + already_chosen_ends = A.LinkedHashSet_LinkedHashSet$_empty(t3); + ends_with_offset = ends_by_offset.$index(0, t1.__js_helper$_current); + for (i = 0; i < ends_with_offset.length; ++i) { + end1 = ends_with_offset[i]; + if (already_chosen_ends.contains$1(0, end1)) + continue; + end2 = A.find_paired_end(end1, i + 1, ends_with_offset, already_chosen_ends, domains_by_end); + if (end2 != null) { + B.JSArray_methods.add$1(end_pairs, new A.Tuple2(end1, end2, t2)); + already_chosen_ends.add$1(0, end1); + already_chosen_ends.add$1(0, end2); + } + } + } + return end_pairs; }, - _$DesignMainDNASequencesComponent: function _$DesignMainDNASequencesComponent(t0) { - var _ = this; - _._design_main_dna_sequences$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + find_paired_end(end1, starting_index, ends_with_offset, already_chosen_ends, domains_by_end) { + var t1, t2, t3, i, end2, t4, + domain1 = domains_by_end.$index(0, end1); + for (t1 = end1.is_5p, t2 = domain1.forward, t3 = domain1.helix, i = starting_index; i < ends_with_offset.length; ++i) { + end2 = ends_with_offset[i]; + if (!already_chosen_ends.contains$1(0, end2)) { + t4 = domains_by_end.$index(0, end2); + t4.toString; + if (t1 !== end2.is_5p && t2 !== t4.forward && t3 !== t4.helix) + return end2; + } + } + return null; }, - $DesignMainDNASequencesProps: function $DesignMainDNASequencesProps() { + join_strands_by_crossover_reducer(strands, state, action) { + var end_first_click, end_second_click, first_clicked_is_3p, end_3p, end_5p, t1, t2, t3; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.JoinStrandsByCrossover._as(action); + end_first_click = action.dna_end_first_click; + end_second_click = action.dna_end_second_click; + first_clicked_is_3p = end_first_click.get$is_3p(); + end_3p = first_clicked_is_3p ? end_first_click : end_second_click; + end_5p = first_clicked_is_3p ? end_second_click : end_first_click; + t1 = state.get$design(); + t2 = t1.get$substrand_to_strand(); + t1 = t1.get$end_to_domain()._map$_map.$index(0, end_3p); + t1.toString; + t1 = t2._map$_map.$index(0, t1); + t1.toString; + t2 = state.get$design(); + t3 = t2.get$substrand_to_strand(); + t2 = t2.get$end_to_domain()._map$_map.$index(0, end_5p); + t2.toString; + t2 = t3._map$_map.$index(0, t2); + t2.toString; + return A._join_strands_with_crossover(t1, t2, strands, first_clicked_is_3p); }, - _DesignMainDNASequencesComponent_UiComponent2_PureComponent: function _DesignMainDNASequencesComponent_UiComponent2_PureComponent() { + _join_strands_with_crossover(strand_3p, strand_5p, strands, first_clicked_is_3p) { + var t1, t2, t3, strand_idx, strands_mutable, substrands_3p, t4, substrands_5p, t5, last_idx_3p, last_domain_3p, first_domain_5p, new_strand; + if (J.$eq$(strand_3p, strand_5p)) { + strands.toString; + t1 = strands.$ti; + t2 = t1._precomputed1; + t3 = strands._list; + strand_idx = B.JSArray_methods.indexOf$2(t3, t2._as(strand_3p), 0); + strands_mutable = new A.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); + t2 = t2._as(strand_3p.rebuild$1(new A._join_strands_with_crossover_closure()).initialize$0(0)); + strands_mutable._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_mutable._copy_on_write_list$_list, strand_idx, t2); + return A.BuiltList_BuiltList$of(strands_mutable, type$.Strand); + } + t1 = strand_3p.substrands; + t2 = t1._list; + t1 = A._instanceType(t1); + substrands_3p = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = strand_5p.substrands; + t4 = t3._list; + t3 = A._instanceType(t3); + substrands_5p = new A.CopyOnWriteList(true, t4, t3._eval$1("CopyOnWriteList<1>")); + t5 = t2.length; + last_idx_3p = t5 - 1; + if (!(last_idx_3p >= 0)) + return A.ioore(t2, last_idx_3p); + t5 = type$.Domain; + last_domain_3p = t5._as(t2[last_idx_3p]); + if (0 >= t4.length) + return A.ioore(t4, 0); + first_domain_5p = t5._as(t4[0]); + last_domain_3p = last_domain_3p.rebuild$1(new A._join_strands_with_crossover_closure0()); + first_domain_5p = first_domain_5p.rebuild$1(new A._join_strands_with_crossover_closure1(strand_5p)); + t1._precomputed1._as(last_domain_3p); + substrands_3p._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands_3p._copy_on_write_list$_list, last_idx_3p, last_domain_3p); + t3._precomputed1._as(first_domain_5p); + substrands_5p._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands_5p._copy_on_write_list$_list, 0, first_domain_5p); + t1._eval$1("List<1>")._as(substrands_5p); + new_strand = A.join_two_strands_with_substrands(strand_3p, strand_5p, J.$add$ansx(substrands_3p._copy_on_write_list$_list, substrands_5p), first_clicked_is_3p); + t1 = type$.JSArray_Strand; + return A.swap_old_strands_for_new(strands, A._setArrayType([strand_3p, strand_5p], t1), A._setArrayType([new_strand], t1)); }, - __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps() { + join_two_strands_with_substrands(strand_3p, strand_5p, substrands_new, properties_from_strand_3p) { + var color, idt, dna, t2, t3, t4, mods_int, t5, t6, t7, t8, strand_name, _null = null, + t1 = strand_3p.is_scaffold; + if (t1 && !strand_5p.is_scaffold) + properties_from_strand_3p = true; + else if (!t1 && strand_5p.is_scaffold) + properties_from_strand_3p = false; + color = properties_from_strand_3p ? strand_3p.color : strand_5p.color; + idt = properties_from_strand_3p ? strand_3p.vendor_fields : strand_5p.vendor_fields; + if (strand_3p.get$dna_sequence() == null && strand_5p.get$dna_sequence() == null) + dna = _null; + else if (strand_3p.get$dna_sequence() != null && strand_5p.get$dna_sequence() != null) { + t2 = strand_3p.get$dna_sequence(); + t2.toString; + t3 = strand_5p.get$dna_sequence(); + t3.toString; + dna = t2 + t3; + } else if (strand_3p.get$dna_sequence() == null) { + t2 = B.JSString_methods.$mul("?", strand_3p.get$dna_length()); + t3 = strand_5p.get$dna_sequence(); + t3.toString; + dna = t2 + t3; + } else if (strand_5p.get$dna_sequence() == null) { + t2 = strand_3p.get$dna_sequence(); + t2.toString; + dna = t2 + B.JSString_methods.$mul("?", strand_5p.get$dna_length()); + } else + dna = _null; + t2 = strand_3p.modifications_int; + t3 = t2._map$_map; + t4 = A._instanceType(t2); + t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]); + mods_int = new A.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("CopyOnWriteMap<1,2>")); + for (t2 = strand_5p.modifications_int, t3 = t2.get$keys(t2), t5 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t3)._precomputed1), t5 = t4._rest[0], t4 = t4._rest[1]; t3.moveNext$0();) { + t6 = t3.__js_helper$_current; + t7 = t2._map$_map.$index(0, t6); + t7.toString; + t8 = strand_3p.__dna_length; + if (t8 == null) + t8 = strand_3p.__dna_length = A.Strand.prototype.get$dna_length.call(strand_3p); + if (typeof t6 !== "number") + return A.iae(t6); + t6 = t5._as(t8 + t6); + t4._as(t7); + mods_int._maybeCopyBeforeWrite$0(); + mods_int._copy_on_write_map$_map.$indexSet(0, t6, t7); + } + strand_name = strand_3p.name; + t2 = strand_name == null; + t3 = !t2; + if (!(t3 && strand_5p.name == null)) + if (t2 && strand_5p.name != null) + strand_name = strand_5p.name; + else if (t3 && strand_5p.name != null) + strand_name = properties_from_strand_3p ? strand_name : strand_5p.name; + else + strand_name = _null; + t1 = t1 || strand_5p.is_scaffold; + return A.Strand_Strand(substrands_new, false, color, dna, t1, _null, strand_5p.modification_3p, strand_3p.modification_5p, mods_int, strand_name, idt); }, - __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps() { + swap_old_strands_for_new(strands, strands_to_remove, strands_to_add) { + var t2, _i, strand, t3, + t1 = A._instanceType(strands), + new_strands = new A.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); + for (t2 = strands_to_remove.length, _i = 0; _i < strands_to_remove.length; strands_to_remove.length === t2 || (0, A.throwConcurrentModificationError)(strands_to_remove), ++_i) { + strand = strands_to_remove[_i]; + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_strands._copy_on_write_list$_list, strand); + } + for (t2 = strands_to_add.length, t1 = t1._precomputed1, _i = 0; _i < strands_to_add.length; strands_to_add.length === t2 || (0, A.throwConcurrentModificationError)(strands_to_add), ++_i) { + t3 = t1._as(strands_to_add[_i]); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_strands._copy_on_write_list$_list, t3); + } + return A._BuiltList$of(new_strands, type$.Strand); }, - _$DesignMainSliceBar: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$DesignMainSliceBarProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainSliceBarProps__$$DesignMainSliceBarProps(backingProps); + nick_reducer_closure: function nick_reducer_closure(t0) { + this.nick_offset = t0; }, - _$$DesignMainSliceBarProps__$$DesignMainSliceBarProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$DesignMainSliceBarProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new M._$$DesignMainSliceBarProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_slice_bar$_props = backingMap; - return t1; - } + nick_reducer_closure0: function nick_reducer_closure0(t0) { + this.nick_offset = t0; }, - _$$DesignMainSliceBarProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$DesignMainSliceBarProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_slice_bar$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + nick_reducer_closure1: function nick_reducer_closure1(t0) { + this.nick_offset = t0; }, - DesignMainSliceBarProps: function DesignMainSliceBarProps() { + nick_reducer_closure2: function nick_reducer_closure2(t0) { + this.nick_offset = t0; }, - DesignMainSliceBarComponent: function DesignMainSliceBarComponent() { + nick_reducer_closure3: function nick_reducer_closure3(t0) { + this.substrands_before = t0; }, - DesignMainSliceBarComponent_render_closure: function DesignMainSliceBarComponent_render_closure() { + nick_reducer_closure4: function nick_reducer_closure4(t0) { + this.substrands_after = t0; }, - $DesignMainSliceBarComponentFactory_closure: function $DesignMainSliceBarComponentFactory_closure() { + nick_reducer_closure5: function nick_reducer_closure5() { }, - _$$DesignMainSliceBarProps: function _$$DesignMainSliceBarProps() { + nick_reducer_closure6: function nick_reducer_closure6() { }, - _$$DesignMainSliceBarProps$PlainMap: function _$$DesignMainSliceBarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + nick_reducer_closure7: function nick_reducer_closure7(t0, t1, t2, t3) { var _ = this; - _._design_main_slice_bar$_props = t0; - _.DesignMainSliceBarProps_slice_bar_offset = t1; - _.DesignMainSliceBarProps_displayed_group_name = t2; - _.DesignMainSliceBarProps_side_selected_helix_idxs = t3; - _.DesignMainSliceBarProps_groups = t4; - _.DesignMainSliceBarProps_helix_idxs_in_group = t5; - _.DesignMainSliceBarProps_helices = t6; - _.DesignMainSliceBarProps_only_display_selected_helices = t7; - _.DesignMainSliceBarProps_geometry = t8; - _.DesignMainSliceBarProps_helix_idx_to_svg_position_map = t9; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t10; - _.UbiquitousDomPropsMixin__dom = t11; + _.i = t0; + _.substrands_before = t1; + _.dna_length_strand_5p = t2; + _.modifications_int_strand_5p = t3; }, - _$$DesignMainSliceBarProps$JsMap: function _$$DesignMainSliceBarProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { - var _ = this; - _._design_main_slice_bar$_props = t0; - _.DesignMainSliceBarProps_slice_bar_offset = t1; - _.DesignMainSliceBarProps_displayed_group_name = t2; - _.DesignMainSliceBarProps_side_selected_helix_idxs = t3; - _.DesignMainSliceBarProps_groups = t4; - _.DesignMainSliceBarProps_helix_idxs_in_group = t5; - _.DesignMainSliceBarProps_helices = t6; - _.DesignMainSliceBarProps_only_display_selected_helices = t7; - _.DesignMainSliceBarProps_geometry = t8; - _.DesignMainSliceBarProps_helix_idx_to_svg_position_map = t9; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t10; - _.UbiquitousDomPropsMixin__dom = t11; + nick_reducer_closure8: function nick_reducer_closure8(t0) { + this.substrands = t0; }, - _$DesignMainSliceBarComponent: function _$DesignMainSliceBarComponent(t0) { + nick_reducer_closure9: function nick_reducer_closure9(t0, t1, t2, t3) { var _ = this; - _._design_main_slice_bar$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $DesignMainSliceBarProps: function $DesignMainSliceBarProps() { + _.i = t0; + _.substrands_before = t1; + _.dna_length_strand_5p = t2; + _.modifications_int_strand_3p = t3; }, - _DesignMainSliceBarComponent_UiComponent2_PureComponent: function _DesignMainSliceBarComponent_UiComponent2_PureComponent() { + ligate_reducer_closure: function ligate_reducer_closure(t0) { + this._box_0 = t0; }, - __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps() { + find_end_pairs_to_connect_in_group_closure: function find_end_pairs_to_connect_in_group_closure(t0, t1) { + this.domains_by_end = t0; + this.helices_view_order_inverse = t1; }, - __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps() { + _join_strands_with_crossover_closure: function _join_strands_with_crossover_closure() { }, - ask_for_label: function(strand, substrand, selected_strands, $T) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, existing_label, results, label, action, t1, t2, part_name, items; - var $async$ask_for_label = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = substrand == null; - t2 = !t1; - part_name = t2 ? substrand.type_description$0() : "strand"; - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - if (t1 && strand.label != null) - existing_label = strand.label; - else - existing_label = t2 && substrand.get$label(substrand) != null ? substrand.get$label(substrand) : ""; - C.JSArray_methods.$indexSet(items, 0, E.DialogTextArea_DialogTextArea(40, "label", 8, "Enter the " + part_name + " label here.", existing_label)); - t2 = "set " + part_name + " label"; - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), t2, t1 ? C.DialogType_set_strand_label : C.DialogType_set_substrand_label, false)), $async$ask_for_label); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - label = type$.legacy_DialogTextArea._as(J.$index$asx(results, 0)).value; - action = t1 ? M.batch_if_multiple_selected(M.label_set_strand_action_creator(label), strand, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands), "set strand label") : U.BatchAction_BatchAction(selected_strands._set.map$1$1(0, selected_strands.$ti._eval$1("UndoableAction*(1)")._as(new M.ask_for_label_closure(label, $T)), type$.legacy_UndoableAction), "set substrand labels"); - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_label, $async$completer); + _join_strands_with_crossover_closure0: function _join_strands_with_crossover_closure0() { }, - batch_if_multiple_selected: function(action_creator, strand, selected_strands, short_description) { - var t2, action, - t1 = selected_strands._set; - if (!t1.get$isEmpty(t1)) - t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), strand); - else - t2 = true; - if (t2) - action = action_creator.call$1(strand); - else { - if (!t1.contains$1(0, strand)) - selected_strands = selected_strands.rebuild$1(new M.batch_if_multiple_selected_closure(strand)); - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t2 = selected_strands._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) - t1.push(action_creator.call$1(t2.get$current(t2))); - action = U.BatchAction_BatchAction(t1, short_description); - } - return type$.legacy_UndoableAction._as(action); + _join_strands_with_crossover_closure1: function _join_strands_with_crossover_closure1(t0) { + this.strand_5p = t0; }, - get_selected_domains: function() { - var t2, - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); - t1 = t1._set.map$1$1(0, t1.$ti._eval$1("BuiltList*(1)")._as(new M.get_selected_domains_closure()), type$.legacy_BuiltList_legacy_Substrand); - t2 = H._instanceType(t1); - t2 = X.BuiltSet_BuiltSet$from(X.BuiltSet_BuiltSet$of(new H.ExpandIterable(t1, t2._eval$1("Iterable(Iterable.E)")._as(new M.get_selected_domains_closure0()), t2._eval$1("ExpandIterable")), type$.legacy_Substrand), type$.legacy_Domain); - t1 = $.app.store; - return t2.union$1(t1.get$state(t1).ui_state.selectables_store.get$selected_domains()); + potential_crossover_create_reducer(potential_crossover, action) { + type$.nullable_PotentialCrossover._as(potential_crossover); + return type$.PotentialCrossoverCreate._as(action).potential_crossover; }, - scaffold_set_strand_action_creator: function(is_scaffold) { - return new M.scaffold_set_strand_action_creator_closure(is_scaffold); + potential_crossover_move_reducer(potential_crossover, action) { + var t1, t2; + type$.nullable_PotentialCrossover._as(potential_crossover); + type$.PotentialCrossoverMove._as(action); + if (potential_crossover == null) + return null; + t1 = type$.void_Function_PotentialCrossoverBuilder._as(new A.potential_crossover_move_reducer_closure(action)); + t2 = new A.PotentialCrossoverBuilder(); + A.ArgumentError_checkNotNull(potential_crossover, "other", type$.PotentialCrossover); + t2._potential_crossover$_$v = potential_crossover; + type$.nullable_void_Function_PotentialCrossoverBuilder._as(t1).call$1(t2); + return t2._potential_crossover$_build$0(); }, - remove_dna_strand_action_creator: function(remove_complements, remove_all) { - return new M.remove_dna_strand_action_creator_closure(remove_complements, remove_all); + potential_crossover_remove_reducer(potential_crossover, action) { + type$.nullable_PotentialCrossover._as(potential_crossover); + type$.PotentialCrossoverRemove._as(action); + return null; }, - name_set_strand_action_creator: function($name) { - return new M.name_set_strand_action_creator_closure($name); + potential_crossover_move_reducer_closure: function potential_crossover_move_reducer_closure(t0) { + this.action = t0; }, - label_set_strand_action_creator: function(label) { - return new M.label_set_strand_action_creator_closure(label); + currently_selectable(state, item) { + var t2, + t1 = state.ui_state.storables, + edit_modes = t1.edit_modes, + select_modes = t1.select_mode_state.modes; + t1 = edit_modes._set; + if (!(t1.contains$1(0, B.EditModeChoice_select) || t1.contains$1(0, B.EditModeChoice_rope_select))) + return false; + t1 = item.get$select_mode(); + t2 = select_modes._set; + if (!t2.contains$1(0, t1)) + return false; + if (state.get$design().get$is_origami()) { + if (item.get$is_scaffold() && !t2.contains$1(0, B.SelectModeChoice_scaffold)) + return false; + if (!item.get$is_scaffold() && !t2.contains$1(0, B.SelectModeChoice_staple)) + return false; + } + return true; }, - clicked_strand_dna_idx: function(domain, address, strand) { - var t2, t3, index_of_domain_in_strand, strand_dna_idx, i, - domain_dna_idx = domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward), - t1 = strand.substrands; - t1.toString; - t2 = t1._list; - t3 = J.getInterceptor$asx(t2); - index_of_domain_in_strand = t3.indexOf$2(t2, t1.$ti._precomputed1._as(domain), 0); - for (strand_dna_idx = 0, i = 0; i < index_of_domain_in_strand; ++i) - strand_dna_idx += t3.$index(t2, i).dna_length$0(); - return strand_dna_idx + domain_dna_idx; + select_reducer(selectables_store, state, action) { + var item, toggle; + type$.SelectablesStore._as(selectables_store); + type$.AppState._as(state); + type$.Select._as(action); + item = action.selectable; + if (!A.currently_selectable(state, item)) + return selectables_store; + toggle = action.toggle; + if (action.only) + selectables_store = selectables_store.select$2$only(0, item, true); + else + selectables_store = toggle ? selectables_store.toggle$1(0, item) : selectables_store.select$1(0, item); + return selectables_store; }, - ask_for_assign_dna_sequence: function(strand, options) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$next = [], dna_sequence, e, t2, m13_rotation, t3, t4, t5, t6, results, use_predefined_dna_sequence, idx, dna_sequence_predefined, sequence_unrotated, rotation, assign_complements, disable_change_sequence_bound_strand, exception, new_options, items, t1; - var $async$ask_for_assign_dna_sequence = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = H.setRuntimeTypeInfo([null, null, null, null, null, null, null], type$.JSArray_legacy_DialogItem); - t1 = strand.get$dna_sequence(); - C.JSArray_methods.$indexSet(items, 0, E.DialogTextArea_DialogTextArea(80, "sequence", 4, null, t1 == null ? "" : t1)); - C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("use predefined DNA sequence", "", options.use_predefined_dna_sequence)); - t1 = type$.JSArray_legacy_String; - t2 = type$.legacy_String; - C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("predefined DNA sequence", null, D.BuiltList_BuiltList$of(H.setRuntimeTypeInfo(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2), true, 0, null)); - m13_rotation = options.m13_rotation; - C.JSArray_methods.$indexSet(items, 4, E.DialogInteger_DialogInteger("rotation of predefined DNA sequence", null, m13_rotation)); - C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("assign complement to bound strands", "", options.assign_complements)); - C.JSArray_methods.$indexSet(items, 6, E.DialogCheckbox_DialogCheckbox("disallow assigning different sequence to bound strand with existing sequence", "", options.disable_change_sequence_bound_strand)); - C.JSArray_methods.$indexSet(items, 2, E.DialogLink_DialogLink("Information about sequence variants", "https://scadnano-python-package.readthedocs.io/en/latest/#scadnano.M13Variant")); - t3 = type$.JSArray_legacy_int; - t4 = type$.legacy_int; - t5 = type$.legacy_Iterable_legacy_int; - t6 = P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], t3)], t4, t5); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([3, H.setRuntimeTypeInfo([1], t3), 4, H.setRuntimeTypeInfo([1], t3), 6, H.setRuntimeTypeInfo([5], t3)], t4, t5), t6, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign DNA sequence", C.DialogType_assign_dna_sequence, false)), $async$ask_for_assign_dna_sequence); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; + select_all_selectables_reducer(selectables_store, state, action) { + var t1, t2, scaffold_selectable, staple_selectable, t3, selected, t4, t5, t6, t7, t8, t9; + type$.SelectablesStore._as(selectables_store); + type$.AppState._as(state); + type$.SelectAllSelectable._as(action); + t1 = state.ui_state.storables; + t2 = t1.select_mode_state.modes._set; + scaffold_selectable = t2.contains$1(0, B.SelectModeChoice_scaffold); + staple_selectable = t2.contains$1(0, B.SelectModeChoice_staple); + t3 = type$.JSArray_Selectable; + selected = A._setArrayType([], t3); + for (t4 = state.get$design().strands._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + if (action.current_helix_group_only && state.get$design().group_name_of_strand$1(t5) !== t1.displayed_group_name) + continue; + t6 = state.get$design(); + t7 = t6.__is_origami; + if (t7 == null ? t6.__is_origami = A.Design.prototype.get$is_origami.call(t6) : t7) { + t6 = t5.is_scaffold; + if (!(t6 && scaffold_selectable)) + t6 = !t6 && staple_selectable; + else + t6 = true; + } else + t6 = true; + if (t6) { + if (t2.contains$1(0, B.SelectModeChoice_strand)) + B.JSArray_methods.add$1(selected, t5); + if (t2.contains$1(0, B.SelectModeChoice_loopout)) { + t6 = t5.__loopouts; + if (t6 == null) { + t6 = A.Strand.prototype.get$loopouts.call(t5); + t5.set$__loopouts(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_extension_)) { + t6 = t5.__extensions; + if (t6 == null) { + t6 = A.Strand.prototype.get$extensions.call(t5, t5); + t5.set$__extensions(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_crossover)) { + t6 = t5.__crossovers; + if (t6 == null) { + t6 = A.Strand.prototype.get$crossovers.call(t5); + t5.set$__crossovers(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_deletion)) { + t6 = t5.__selectable_deletions; + if (t6 == null) { + t6 = A.Strand.prototype.get$selectable_deletions.call(t5); + t5.set$__selectable_deletions(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_insertion)) { + t6 = t5.__selectable_insertions; + if (t6 == null) { + t6 = A.Strand.prototype.get$selectable_insertions.call(t5); + t5.set$__selectable_insertions(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_modification)) { + t6 = t5.__selectable_modifications; + if (t6 == null) { + t6 = A.Strand.prototype.get$selectable_modifications.call(t5); + t5.set$__selectable_modifications(t6); + } + B.JSArray_methods.addAll$1(selected, t6); + } + if (t2.contains$1(0, B.SelectModeChoice_end_5p_strand)) { + t6 = A._setArrayType([], t3); + t7 = t5.__extensions; + if (t7 == null) { + t7 = A.Strand.prototype.get$extensions.call(t5, t5); + t5.set$__extensions(t7); + } + t7 = t7._list; + t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); + for (; t7.moveNext$0();) { + t8 = t7.__interceptors$_current; + if (t8.is_5p) { + t9 = t8.__dnaend_free; + t6.push(t9 == null ? t8.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t8) : t9); } - dna_sequence = null; - t3 = J.getInterceptor$asx(results); - t4 = type$.legacy_DialogCheckbox; - use_predefined_dna_sequence = t4._as(t3.$index(results, 1)).value; - if (use_predefined_dna_sequence) { - t5 = type$.legacy_DialogRadio._as(t3.$index(results, 3)); - t6 = t5.options; - t5 = t5.selected_idx; - t5 = J.$index$asx(t6._list, t5); - m13_rotation = H._asIntS(type$.legacy_DialogInteger._as(t3.$index(results, 4)).value); - t1 = D.BuiltList_BuiltList$of(H.setRuntimeTypeInfo(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2); - idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t5), 0); - if (idx < 0) - H.throwExpression(P.ArgumentError$(H.S(t5) + " is not the display name of any predefined DNA sequence variant")); - dna_sequence_predefined = E._$valueOf0(J.$index$asx(E.DNASequencePredefined_names()._list, idx)); - sequence_unrotated = dna_sequence_predefined.get$sequence(); - rotation = C.JSInt_methods.$mod(m13_rotation, sequence_unrotated.length); - dna_sequence = J.substring$1$s(sequence_unrotated, rotation) + C.JSString_methods.substring$2(sequence_unrotated, 0, rotation); - } else - dna_sequence = type$.legacy_DialogTextArea._as(t3.$index(results, 0)).value; - assign_complements = t4._as(t3.$index(results, 5)).value; - disable_change_sequence_bound_strand = t4._as(t3.$index(results, 6)).value; - try { - E.check_dna_sequence(dna_sequence); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_FormatException._is(t1)) { - e = t1; - C.Window_methods.alert$1(window, J.get$message$x(e)); - // goto return - $async$goto = 1; - break; - } else - throw exception; + } + t7 = t5.__domains; + if (t7 == null) { + t7 = A.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t7); + } + t7 = t7._list; + t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); + for (; t7.moveNext$0();) { + t8 = t7.__interceptors$_current; + if (t8.is_first) { + if (t8.forward) { + t9 = t8.__dnaend_start; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_start.call(t8); + t8.__dnaend_start = t9; + t8 = t9; + } else + t8 = t9; + } else { + t9 = t8.__dnaend_end; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_end.call(t8); + t8.__dnaend_end = t9; + t8 = t9; + } else + t8 = t9; + } + t6.push(t8); } - new_options = X.DNAAssignOptions_DNAAssignOptions(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence); - $.app.dispatch$1(U._$AssignDNA$_(new_options, strand)); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); + } + B.JSArray_methods.addAll$1(selected, t6); } - }); - return P._asyncStartSync($async$ask_for_assign_dna_sequence, $async$completer); - }, - ask_for_remove_dna_sequence: function(strand, selected_strands) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, t1, t2, action, results; - var $async$ask_for_remove_dna_sequence = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogCheckbox_DialogCheckbox("remove from bound strands", "", true), E.DialogCheckbox_DialogCheckbox("remove from all strands", "", false)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "remove DNA sequence", C.DialogType_remove_dna_sequence, true)), $async$ask_for_remove_dna_sequence); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; + if (t2.contains$1(0, B.SelectModeChoice_end_3p_strand)) { + t6 = A._setArrayType([], t3); + t7 = t5.__extensions; + if (t7 == null) { + t7 = A.Strand.prototype.get$extensions.call(t5, t5); + t5.set$__extensions(t7); + } + t7 = t7._list; + t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); + for (; t7.moveNext$0();) { + t8 = t7.__interceptors$_current; + if (!t8.is_5p) { + t9 = t8.__dnaend_free; + t6.push(t9 == null ? t8.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t8) : t9); } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogCheckbox; - action = M.batch_if_multiple_selected(M.remove_dna_strand_action_creator(t2._as(t1.$index(results, 0)).value, t2._as(t1.$index(results, 1)).value), strand, selected_strands, "remove dna sequence"); - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); + } + t7 = t5.__domains; + if (t7 == null) { + t7 = A.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t7); + } + t7 = t7._list; + t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); + for (; t7.moveNext$0();) { + t8 = t7.__interceptors$_current; + if (t8.is_last) { + if (t8.forward) { + t9 = t8.__dnaend_end; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_end.call(t8); + t8.__dnaend_end = t9; + t8 = t9; + } else + t8 = t9; + } else { + t9 = t8.__dnaend_start; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_start.call(t8); + t8.__dnaend_start = t9; + t8 = t9; + } else + t8 = t9; + } + t6.push(t8); + } + } + B.JSArray_methods.addAll$1(selected, t6); } - }); - return P._asyncStartSync($async$ask_for_remove_dna_sequence, $async$completer); + if (t2.contains$1(0, B.SelectModeChoice_end_5p_domain)) { + t6 = t5.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t6); + } + t7 = t6._list; + t8 = A._arrayInstanceType(t7); + B.JSArray_methods.addAll$1(selected, new A.MappedIterable(new A.WhereIterable(t7, t8._eval$1("bool(1)")._as(t6.$ti._eval$1("bool(1)")._as(new A.select_all_selectables_reducer_closure())), t8._eval$1("WhereIterable<1>")), t8._eval$1("Selectable(1)")._as(new A.select_all_selectables_reducer_closure0()), t8._eval$1("MappedIterable<1,Selectable>"))); + } + if (t2.contains$1(0, B.SelectModeChoice_end_3p_domain)) { + t6 = t5.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t6); + t5 = t6; + } else + t5 = t6; + t6 = t5._list; + t7 = A._arrayInstanceType(t6); + B.JSArray_methods.addAll$1(selected, new A.MappedIterable(new A.WhereIterable(t6, t7._eval$1("bool(1)")._as(t5.$ti._eval$1("bool(1)")._as(new A.select_all_selectables_reducer_closure1())), t7._eval$1("WhereIterable<1>")), t7._eval$1("Selectable(1)")._as(new A.select_all_selectables_reducer_closure2()), t7._eval$1("MappedIterable<1,Selectable>"))); + } + } + } + return selectables_store.select_all$1(selected); }, - _$DesignMainStrand: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$DesignMainStrandProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainStrandProps__$$DesignMainStrandProps(backingProps); + select_or_toggle_items_reducer(selectables_store, state, action) { + var t1, t2; + type$.SelectablesStore._as(selectables_store); + type$.AppState._as(state); + type$.SelectOrToggleItems._as(action); + t1 = action.toggle; + t2 = action.items; + return t1 ? selectables_store.toggle_all$1(t2) : selectables_store.select_all$1(t2); }, - _$$DesignMainStrandProps__$$DesignMainStrandProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$DesignMainStrandProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new M._$$DesignMainStrandProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand$_props = backingMap; - return t1; - } - }, - _$$DesignMainStrandProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$DesignMainStrandProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + design_changing_action_reducer(selectables_store, action) { + var t1; + type$.SelectablesStore._as(selectables_store); + type$.DesignChangingAction._as(action); + t1 = selectables_store.clear$0(0); return t1; }, - DesignMainStrandPropsMixin: function DesignMainStrandPropsMixin() { - }, - DesignMainStrandComponent: function DesignMainStrandComponent() { - }, - DesignMainStrandComponent_render_closure: function DesignMainStrandComponent_render_closure() { - }, - DesignMainStrandComponent_assign_dna_closure: function DesignMainStrandComponent_assign_dna_closure(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_add_modification_closure: function DesignMainStrandComponent_add_modification_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.substrand = t1; - _.address = t2; - _.type = t3; - }, - DesignMainStrandComponent_set_strand_name_closure: function DesignMainStrandComponent_set_strand_name_closure(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_set_strand_label_closure: function DesignMainStrandComponent_set_strand_label_closure(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_set_domain_names_closure: function DesignMainStrandComponent_set_domain_names_closure(t0, t1) { - this.$this = t0; - this.domains = t1; - }, - DesignMainStrandComponent_set_domain_labels_closure: function DesignMainStrandComponent_set_domain_labels_closure(t0, t1) { - this.$this = t0; - this.substrand = t1; - }, - DesignMainStrandComponent_remove_dna_closure: function DesignMainStrandComponent_remove_dna_closure(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_reflect_closure: function DesignMainStrandComponent_reflect_closure(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_context_menu_strand_closure: function DesignMainStrandComponent_context_menu_strand_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.substrand = t1; - _.address = t2; - _.type = t3; - }, - DesignMainStrandComponent_context_menu_strand_closure0: function DesignMainStrandComponent_context_menu_strand_closure0(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.substrand = t1; - _.address = t2; - _.type = t3; - }, - DesignMainStrandComponent_context_menu_strand_closure1: function DesignMainStrandComponent_context_menu_strand_closure1() { - }, - DesignMainStrandComponent_context_menu_strand_closure2: function DesignMainStrandComponent_context_menu_strand_closure2() { - }, - DesignMainStrandComponent_context_menu_strand_closure3: function DesignMainStrandComponent_context_menu_strand_closure3(t0) { - this.$this = t0; - }, - DesignMainStrandComponent_context_menu_strand_closure4: function DesignMainStrandComponent_context_menu_strand_closure4() { - }, - DesignMainStrandComponent_context_menu_strand_closure5: function DesignMainStrandComponent_context_menu_strand_closure5(t0) { - this.$this = t0; + select_all_reducer(selectables_store, action) { + type$.SelectablesStore._as(selectables_store); + type$.SelectAll._as(action); + return selectables_store.select_all$2$only(action.selectables, action.only); }, - DesignMainStrandComponent_context_menu_strand_closure6: function DesignMainStrandComponent_context_menu_strand_closure6(t0) { - this.$this = t0; + selections_clear_reducer(selectables_store, _) { + return type$.SelectablesStore._as(selectables_store).clear$0(0); + }, + select_all_with_same_reducer(selectables_store, state, action) { + var t1, t2, t3, t4, t5, t6, t7, t8, selected_strands, include_strand, trait_value_strand, found_matching_trait, t9, _i; + type$.SelectablesStore._as(selectables_store); + type$.AppState._as(state); + type$.SelectAllStrandsWithSameAsSelected._as(action); + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SelectableTrait, type$.List_nullable_Object); + for (t2 = action.traits._list, t3 = A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t2, t2.length, t3); t4.moveNext$0();) + t1.$indexSet(0, t4.__interceptors$_current, []); + for (t4 = action.template_strands._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + for (t6 = new J.ArrayIterator(t2, t2.length, t3); t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + t8 = t1.$index(0, t7); + t8.toString; + B.JSArray_methods.add$1(t8, t7.trait_of_strand$1(t5)); + } + } + t2 = selectables_store.get$selected_strands()._set; + selected_strands = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + for (t2 = state.get$design().strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = t1.$ti._eval$1("LinkedHashMapKeyIterator<1>"), t4 = action.exclude_scaffolds; t2.moveNext$0();) { + t5 = t2.__interceptors$_current; + if (B.JSArray_methods.contains$1(selected_strands, t5)) + continue; + if (t4 && t5.is_scaffold) + continue; + for (t6 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t3), t6._cell = t1._first, include_strand = true; t6.moveNext$0();) { + t7 = t6.__js_helper$_current; + t8 = t1.$index(0, t7); + t8.toString; + trait_value_strand = t7.trait_of_strand$1(t5); + t9 = t8.length; + _i = 0; + while (true) { + if (!(_i < t8.length)) { + found_matching_trait = false; + break; + } + if (t7.matches$2(0, trait_value_strand, t8[_i])) { + found_matching_trait = true; + break; + } + t8.length === t9 || (0, A.throwConcurrentModificationError)(t8); + ++_i; + } + if (!found_matching_trait) { + include_strand = false; + continue; + } + } + if (include_strand) + B.JSArray_methods.add$1(selected_strands, t5); + } + return selectables_store.rebuild$1(new A.select_all_with_same_reducer_closure(selected_strands)); }, - DesignMainStrandComponent_context_menu_strand_closure7: function DesignMainStrandComponent_context_menu_strand_closure7(t0, t1) { - this.$this = t0; - this.substrand = t1; + helix_selections_adjust_reducer(helix_idxs_selected, state, action) { + var toggle, selection_box, all_helices_in_displayed_group, t1, t2, all_bboxes, t3, selection_box_as_box, helices_overlapping, helix_idxs_overlapping, helices_idxs_selected_new, _i, idx_overlapping; + type$.BuiltSet_int._as(helix_idxs_selected); + type$.AppState._as(state); + type$.HelixSelectionsAdjust._as(action); + toggle = action.toggle; + selection_box = action.selection_box; + all_helices_in_displayed_group = state.get$design().helices_in_group$1(state.ui_state.storables.displayed_group_name); + t1 = all_helices_in_displayed_group.get$values(all_helices_in_displayed_group); + t1.toString; + t2 = A._instanceType(t1); + t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Box(Iterable.E)")._as(new A.helix_selections_adjust_reducer_closure(state)), t2._eval$1("Iterable.E"), type$.Box); + all_bboxes = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); + t2 = selection_box.start; + t1 = selection_box.current; + t3 = Math.min(A.checkNum(t2.x), A.checkNum(t1.x)); + t1 = Math.min(A.checkNum(t2.y), A.checkNum(t1.y)); + t2 = selection_box.get$width(selection_box); + selection_box_as_box = A.Box$(t3, t1, selection_box.get$height(selection_box), t2); + helices_overlapping = A.generalized_intersection_list(all_helices_in_displayed_group.get$values(all_helices_in_displayed_group), all_bboxes, selection_box_as_box, A.selections_intersect_box_compute__interval_contained$closure(), type$.Helix); + t2 = A._arrayInstanceType(helices_overlapping); + t1 = t2._eval$1("MappedListIterable<1,int>"); + helix_idxs_overlapping = A.List_List$of(new A.MappedListIterable(helices_overlapping, t2._eval$1("int(1)")._as(new A.helix_selections_adjust_reducer_closure0()), t1), true, t1._eval$1("ListIterable.E")); + helix_idxs_selected.toString; + t1 = helix_idxs_selected.$ti; + t1._eval$1("_BuiltSet<1>")._as(helix_idxs_selected); + t2 = helix_idxs_selected._set; + helices_idxs_selected_new = new A.SetBuilder(helix_idxs_selected._setFactory, t2, helix_idxs_selected, t1._eval$1("SetBuilder<1>")); + helices_idxs_selected_new.addAll$1(0, helix_idxs_overlapping); + if (toggle) + for (t1 = helix_idxs_overlapping.length, _i = 0; _i < helix_idxs_overlapping.length; helix_idxs_overlapping.length === t1 || (0, A.throwConcurrentModificationError)(helix_idxs_overlapping), ++_i) { + idx_overlapping = helix_idxs_overlapping[_i]; + if (t2.contains$1(0, idx_overlapping)) + helices_idxs_selected_new.get$_safeSet().remove$1(0, idx_overlapping); + } + return helices_idxs_selected_new.build$0(); }, - DesignMainStrandComponent_context_menu_strand_closure8: function DesignMainStrandComponent_context_menu_strand_closure8(t0, t1) { - this.$this = t0; - this.substrand = t1; + helix_select_reducer(side_selected_helix_idxs, action) { + var idx, toggle; + type$.BuiltSet_int._as(side_selected_helix_idxs); + type$.HelixSelect._as(action); + idx = action.helix_idx; + toggle = action.toggle; + if (!side_selected_helix_idxs._set.contains$1(0, idx)) + side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new A.helix_select_reducer_closure(idx)); + else if (toggle) + side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new A.helix_select_reducer_closure0(idx)); + return side_selected_helix_idxs; }, - DesignMainStrandComponent_context_menu_strand_closure9: function DesignMainStrandComponent_context_menu_strand_closure9(t0) { - this.$this = t0; + helices_selected_clear_reducer(_, action) { + type$.BuiltSet_int._as(_); + type$.HelixSelectionsClear._as(action); + return A.BuiltSet_BuiltSet$from(B.List_empty, type$.int); }, - DesignMainStrandComponent_context_menu_strand__closure3: function DesignMainStrandComponent_context_menu_strand__closure3() { + helices_remove_all_selected_reducer(_, action) { + type$.BuiltSet_int._as(_); + type$.HelixRemoveAllSelected._as(action); + return A.BuiltSet_BuiltSet$from(B.List_empty, type$.int); }, - DesignMainStrandComponent_context_menu_strand_closure10: function DesignMainStrandComponent_context_menu_strand_closure10(t0) { - this.$this = t0; + helix_remove_selected_reducer(selected_helices, action) { + return type$.BuiltSet_int._as(selected_helices).rebuild$1(new A.helix_remove_selected_reducer_closure(type$.HelixRemove._as(action))); }, - DesignMainStrandComponent_context_menu_strand_closure11: function DesignMainStrandComponent_context_menu_strand_closure11(t0, t1) { - this.$this = t0; - this.substrand = t1; + selection_box_create_reducer(_, action) { + type$.nullable_SelectionBox._as(_); + type$.SelectionBoxCreate._as(action); + return A.SelectionBox_SelectionBox(action.point, action.toggle, action.is_main); }, - DesignMainStrandComponent_context_menu_strand_closure12: function DesignMainStrandComponent_context_menu_strand_closure12() { + selection_box_size_changed_reducer(selection_box, action) { + var t1, t2; + type$.nullable_SelectionBox._as(selection_box); + type$.SelectionBoxSizeChange._as(action); + selection_box.toString; + t1 = type$.void_Function_SelectionBoxBuilder._as(new A.selection_box_size_changed_reducer_closure(action)); + t2 = new A.SelectionBoxBuilder(); + A.ArgumentError_checkNotNull(selection_box, "other", type$.SelectionBox); + t2._selection_box$_$v = selection_box; + type$.nullable_void_Function_SelectionBoxBuilder._as(t1).call$1(t2); + return t2._selection_box$_build$0(); }, - DesignMainStrandComponent_context_menu_strand__closure2: function DesignMainStrandComponent_context_menu_strand__closure2() { + selection_box_remove_reducer(_, __) { + type$.nullable_SelectionBox._as(_); + type$.SelectionBoxRemove._as(__); + return null; }, - DesignMainStrandComponent_context_menu_strand_closure13: function DesignMainStrandComponent_context_menu_strand_closure13(t0) { - this.$this = t0; + selection_rope_create_reducer(_, action) { + type$.nullable_SelectionRope._as(_); + return A.SelectionRope_SelectionRope(type$.SelectionRopeCreate._as(action).toggle); }, - DesignMainStrandComponent_context_menu_strand__closure1: function DesignMainStrandComponent_context_menu_strand__closure1() { + selection_rope_mouse_move_reducer(rope, action) { + type$.nullable_SelectionRope._as(rope); + type$.SelectionRopeMouseMove._as(action); + if (rope == null) + return null; + if (rope.is_main == null) + rope = rope.rebuild$1(new A.selection_rope_mouse_move_reducer_closure(action)); + if (rope.is_main !== action.is_main_view) + return rope; + return rope.rebuild$1(new A.selection_rope_mouse_move_reducer_closure0(action)); }, - DesignMainStrandComponent_context_menu_strand_closure14: function DesignMainStrandComponent_context_menu_strand_closure14(t0, t1) { - this.$this = t0; - this.substrand = t1; + selection_rope_add_point_reducer(rope, action) { + var t1, t2, points; + type$.nullable_SelectionRope._as(rope); + type$.SelectionRopeAddPoint._as(action); + if (rope == null) + return null; + if (rope.is_main == null) + rope = rope.rebuild$1(new A.selection_rope_add_point_reducer_closure(action)); + if (rope.is_main !== action.is_main_view) + return rope; + t1 = rope.points; + t2 = t1._list; + t1 = A._instanceType(t1); + points = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + if (t2.length <= 1 || !rope.creates_self_intersection$1(action.point)) { + t1 = t1._precomputed1._as(action.point); + points._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(points._copy_on_write_list$_list, t1); + rope = rope.rebuild$1(new A.selection_rope_add_point_reducer_closure0(points)); + } + return rope; }, - DesignMainStrandComponent_context_menu_strand_closure15: function DesignMainStrandComponent_context_menu_strand_closure15() { + selection_rope_remove_reducer(_, __) { + type$.nullable_SelectionRope._as(_); + type$.SelectionRopeRemove._as(__); + return null; }, - DesignMainStrandComponent_context_menu_strand__closure0: function DesignMainStrandComponent_context_menu_strand__closure0() { + select_all_selectables_reducer_closure: function select_all_selectables_reducer_closure() { }, - DesignMainStrandComponent_context_menu_strand_closure16: function DesignMainStrandComponent_context_menu_strand_closure16(t0) { - this.$this = t0; + select_all_selectables_reducer_closure0: function select_all_selectables_reducer_closure0() { }, - DesignMainStrandComponent_context_menu_strand_closure17: function DesignMainStrandComponent_context_menu_strand_closure17(t0) { - this.$this = t0; + select_all_selectables_reducer_closure1: function select_all_selectables_reducer_closure1() { }, - DesignMainStrandComponent_context_menu_strand_closure18: function DesignMainStrandComponent_context_menu_strand_closure18(t0) { - this.$this = t0; + select_all_selectables_reducer_closure2: function select_all_selectables_reducer_closure2() { }, - DesignMainStrandComponent_context_menu_strand_closure19: function DesignMainStrandComponent_context_menu_strand_closure19(t0) { - this.$this = t0; + select_all_with_same_reducer_closure: function select_all_with_same_reducer_closure(t0) { + this.selected_strands = t0; }, - DesignMainStrandComponent_context_menu_strand_closure20: function DesignMainStrandComponent_context_menu_strand_closure20(t0, t1) { - this.$this = t0; - this.strand = t1; + helix_selections_adjust_reducer_closure: function helix_selections_adjust_reducer_closure(t0) { + this.state = t0; }, - DesignMainStrandComponent_context_menu_strand__closure: function DesignMainStrandComponent_context_menu_strand__closure(t0, t1) { - this.$this = t0; - this.strand = t1; + helix_selections_adjust_reducer_closure0: function helix_selections_adjust_reducer_closure0() { }, - DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(t0) { - this.all_strands = t0; + helix_select_reducer_closure: function helix_select_reducer_closure(t0) { + this.idx = t0; }, - DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0() { + helix_select_reducer_closure0: function helix_select_reducer_closure0(t0) { + this.idx = t0; }, - DesignMainStrandComponent_custom_scale_value_closure: function DesignMainStrandComponent_custom_scale_value_closure(t0) { - this.all_strands = t0; + helix_remove_selected_reducer_closure: function helix_remove_selected_reducer_closure(t0) { + this.action = t0; }, - DesignMainStrandComponent_custom_purification_value_closure: function DesignMainStrandComponent_custom_purification_value_closure(t0) { - this.all_strands = t0; + selection_box_size_changed_reducer_closure: function selection_box_size_changed_reducer_closure(t0) { + this.action = t0; }, - DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(t0) { - this.all_strands = t0; + selection_rope_mouse_move_reducer_closure: function selection_rope_mouse_move_reducer_closure(t0) { + this.action = t0; }, - DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0() { + selection_rope_mouse_move_reducer_closure0: function selection_rope_mouse_move_reducer_closure0(t0) { + this.action = t0; }, - DesignMainStrandComponent_select_plate_number_closure: function DesignMainStrandComponent_select_plate_number_closure(t0) { - this.all_strands = t0; + selection_rope_add_point_reducer_closure: function selection_rope_add_point_reducer_closure(t0) { + this.action = t0; }, - DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure() { + selection_rope_add_point_reducer_closure0: function selection_rope_add_point_reducer_closure0(t0) { + this.points = t0; }, - DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0() { + strand_create_start_reducer(_, state, action) { + var t1, t2; + type$.nullable_StrandCreation._as(_); + type$.AppState._as(state); + type$.StrandCreateStart._as(action); + t1 = state.get$design().helices; + t2 = action.address; + t1 = t1._map$_map.$index(0, t2.helix_idx); + t1.toString; + return A.StrandCreation_StrandCreation(action.color, t2.forward, t1, t2.offset); + }, + strand_create_adjust_offset_reducer(strand_creation, state, action) { + var new_offset, old_offset, t1, new_address, t2; + type$.nullable_StrandCreation._as(strand_creation); + type$.AppState._as(state); + type$.StrandCreateAdjustOffset._as(action); + if (strand_creation == null) + return null; + new_offset = action.offset; + old_offset = strand_creation.current_offset; + t1 = strand_creation.helix.idx; + new_address = A._$Address$_(strand_creation.forward, t1, new_offset); + if (state.ui_state.storables.dynamically_update_helices) { + if (old_offset !== new_offset && state.get$design().domain_on_helix_at$2(new_address, strand_creation) == null && new_offset !== strand_creation.original_offset) + return strand_creation.rebuild$1(new A.strand_create_adjust_offset_reducer_closure(action)); + } else { + if (old_offset !== new_offset) + if (state.get$design().domain_on_helix_at$2(new_address, strand_creation) == null) + if (new_offset !== strand_creation.original_offset) { + t2 = state.get$design().helices._map$_map.$index(0, t1).min_offset; + if (typeof new_offset !== "number") + return A.iae(new_offset); + t1 = t2 <= new_offset && new_offset < state.get$design().helices._map$_map.$index(0, t1).max_offset; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + if (t1) + return strand_creation.rebuild$1(new A.strand_create_adjust_offset_reducer_closure0(action)); + } + return strand_creation; }, - DesignMainStrandComponent_ask_for_domain_names_closure: function DesignMainStrandComponent_ask_for_domain_names_closure(t0) { - this.name = t0; + strand_create_stop_reducer(_, __, action) { + type$.nullable_StrandCreation._as(_); + type$.AppState._as(__); + type$.StrandCreateStop._as(action); + return null; }, - ask_for_label_closure: function ask_for_label_closure(t0, t1) { - this.label = t0; - this.T = t1; + strand_create_adjust_offset_reducer_closure: function strand_create_adjust_offset_reducer_closure(t0) { + this.action = t0; }, - batch_if_multiple_selected_closure: function batch_if_multiple_selected_closure(t0) { - this.strand = t0; + strand_create_adjust_offset_reducer_closure0: function strand_create_adjust_offset_reducer_closure0(t0) { + this.action = t0; }, - get_selected_domains_closure: function get_selected_domains_closure() { + copy_selected_strands_reducer(_, __, ___) { + type$.nullable_CopyInfo._as(_); + type$.AppState._as(__); + type$.CopySelectedStrands._as(___); + return null; }, - get_selected_domains_closure0: function get_selected_domains_closure0() { + manual_paste_initiate_reducer(_, state, action) { + var strands_and_helices_view_order, strands, helices_view_order; + type$.nullable_CopyInfo._as(_); + type$.AppState._as(state); + strands_and_helices_view_order = A.parse_strands_and_helices_view_order_from_clipboard(type$.ManualPasteInitiate._as(action).clipboard_content); + if (strands_and_helices_view_order == null) + return null; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return null; + if (helices_view_order == null) + return null; + return A.strands_copy_info_from_strand_list(state, strands, helices_view_order); }, - scaffold_set_strand_action_creator_closure: function scaffold_set_strand_action_creator_closure(t0) { - this.is_scaffold = t0; + autopaste_initiate_reducer(copy_info, state, action) { + var strands_and_helices_view_order, strands, helices_view_order; + type$.nullable_CopyInfo._as(copy_info); + type$.AppState._as(state); + strands_and_helices_view_order = A.parse_strands_and_helices_view_order_from_clipboard(type$.AutoPasteInitiate._as(action).clipboard_content); + if (strands_and_helices_view_order == null) + return null; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return null; + if (helices_view_order == null) + return null; + return copy_info == null || copy_info.translation == null ? A.strands_copy_info_from_strand_list(state, strands, helices_view_order) : copy_info; }, - remove_dna_strand_action_creator_closure: function remove_dna_strand_action_creator_closure(t0, t1) { - this.remove_complements = t0; - this.remove_all = t1; + parse_strands_and_helices_view_order_from_clipboard(clipboard_content) { + var mod_jsons, mod_key, mod, strand_json, strand, exception, t1, helices_view_order_json, t2, helices_view_order, mods, t3, strand_jsons, strands, t4, t5, t6, t7, t8, t9, t10, modifications_int, mod_json, t11, t12, t13, mod5p, mod3p, _null = null, + _s22_ = "internal_modifications", + error_msg = 'no strand info found on system clipboard, so nothing to paste; content of system clipboard: "' + clipboard_content + '"', + clipboard_json = null; + try { + clipboard_json = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, clipboard_content, _null)); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + A.print(error_msg); + return _null; + } else if (type$.Error._is(t1)) { + A.print(error_msg); + return _null; + } else + throw exception; + } + helices_view_order_json = type$.nullable_List_dynamic._as(J.$index$asx(clipboard_json, "helices_view_order")); + if (helices_view_order_json != null) { + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = J.get$iterator$ax(helices_view_order_json); t2.moveNext$0();) + t1.push(A._asIntS(t2.get$current(t2))); + helices_view_order = t1; + } else + helices_view_order = _null; + t1 = type$.Map_dynamic_dynamic; + mod_jsons = t1._as(J.$index$asx(J.$index$asx(clipboard_json, "modifications_in_design"), 0)); + mods = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Modification); + for (t2 = J.get$iterator$ax(J.get$keys$x(mod_jsons)), t3 = type$.Map_String_dynamic; t2.moveNext$0();) { + mod_key = t2.get$current(t2); + mod = null; + try { + mod = A.Modification_from_json(t3._as(J.$index$asx(mod_jsons, mod_key))); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + A.printString(A.S(error_msg)); + return _null; + } else if (type$.Error._is(t1)) { + A.printString(A.S(error_msg)); + return _null; + } else + throw exception; + } + mods.$indexSet(0, A._asStringS(mod_key), mod); + } + strand_jsons = type$.List_dynamic._as(J.$index$asx(clipboard_json, "strands")); + strands = A._setArrayType([], type$.JSArray_Strand); + for (t2 = J.get$iterator$ax(strand_jsons), t4 = type$.nullable_void_Function_StrandBuilder, t5 = type$.nullable_Modification5Prime, t6 = type$.nullable_Modification3Prime, t7 = type$.void_Function_StrandBuilder, t8 = type$.Strand, t9 = type$.int, t10 = type$.ModificationInternal; t2.moveNext$0();) { + strand_json = t2.get$current(t2); + strand = null; + try { + strand = A.Strand_from_json(t3._as(strand_json)); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + A.printString(A.S(error_msg)); + return _null; + } else if (type$.Error._is(t1)) { + A.printString(A.S(error_msg)); + return _null; + } else + throw exception; + } + modifications_int = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10); + if (J.$index$asx(strand_json, _s22_) != null) { + mod_json = t1._as(J.$index$asx(strand_json, _s22_)); + for (t11 = J.getInterceptor$x(mod_json), t12 = J.get$iterator$ax(t11.get$keys(mod_json)); t12.moveNext$0();) { + t13 = A._asStringS(t12.get$current(t12)); + modifications_int.$indexSet(0, A.int_parse(t13, _null), t10._as(mods.$index(0, t11.$index(mod_json, t13)))); + } + } + mod5p = t5._as(J.$index$asx(strand_json, "5prime_modification")); + mod3p = t6._as(J.$index$asx(strand_json, "3prime_modification")); + t11 = strand; + t11.toString; + t12 = t7._as(new A.parse_strands_and_helices_view_order_from_clipboard_closure(mod5p, mod3p, modifications_int)); + t13 = new A.StrandBuilder(); + t8._as(t11); + t13._strand$_$v = t11; + t4._as(t12).call$1(t13); + strand = t13._strand$_build$0(); + B.JSArray_methods.add$1(strands, strand); + } + return new A.Tuple2(strands, helices_view_order, type$.Tuple2_of_List_Strand_and_nullable_List_int); + }, + strands_copy_info_from_strand_list(state, selected_strands, helices_view_order) { + var helices_view_order_inverse, min_forward, min_offset, extreme_helix_idx, extreme_helix_view_order, t2, t3, extreme_helix_idx0, t4, helix_is_more_extreme, original_address, next_address, translation, _null = null, + t1 = J.getInterceptor$asx(selected_strands); + if (t1.get$isEmpty(selected_strands)) + return _null; + helices_view_order_inverse = A.invert_helices_view_order(helices_view_order); + for (t1 = t1.get$iterator(selected_strands), min_forward = _null, min_offset = min_forward, extreme_helix_idx = min_offset, extreme_helix_view_order = extreme_helix_idx; t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + extreme_helix_idx0 = t3.helix; + t4 = helices_view_order_inverse.$index(0, extreme_helix_idx0); + t4.toString; + if (extreme_helix_view_order != null) + helix_is_more_extreme = state.ui_state.storables.invert_y ? extreme_helix_view_order < t4 : extreme_helix_view_order > t4; + else + helix_is_more_extreme = true; + if (helix_is_more_extreme) { + min_offset = t3.start; + min_forward = t3.forward; + extreme_helix_idx = extreme_helix_idx0; + extreme_helix_view_order = t4; + } else { + if (min_offset != null) + t4 = extreme_helix_view_order === t4 && min_offset > t3.start; + else + t4 = true; + if (t4) { + min_offset = t3.start; + min_forward = t3.forward; + } + } + } + } + extreme_helix_idx.toString; + min_offset.toString; + min_forward.toString; + original_address = A._$Address$_(min_forward, extreme_helix_idx, min_offset); + next_address = A.compute_default_next_address(selected_strands, state.get$design(), original_address, helices_view_order, helices_view_order_inverse); + if (next_address == null) + translation = _null; + else { + t1 = type$.int; + translation = next_address.difference$2(original_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t1, t1)); + } + t1 = A.BuiltList_BuiltList$of(selected_strands, type$.Strand); + t2 = type$.int; + return A.CopyInfo_CopyInfo(original_address, A.BuiltList_BuiltList$of(helices_view_order, t2), A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t2, t2), t1, translation); }, - name_set_strand_action_creator_closure: function name_set_strand_action_creator_closure(t0) { - this.name = t0; + compute_default_next_address(selected_strands, design, start_address, helices_view_order, helices_view_order_inverse) { + var t1, group_name, t2, t3, t4, t5, t6, strands_move, translation_helix_order, t7, strands_move_beneath, t8, next_helix_idx, t9, t10, strands_move_right, _null = null, _box_0 = {}, + group_names = design.group_names_of_strands$1(selected_strands); + if (group_names == null) + return _null; + t1 = group_names._set; + if (t1.get$length(t1) !== 1) + return _null; + group_name = t1.get$first(t1); + t1 = design.groups; + t2 = t1._map$_map.$index(0, group_name); + t2.toString; + t3 = J.getInterceptor$ax(helices_view_order); + if (!t3.toSet$0(helices_view_order).containsAll$1(t2.helices_view_order)) + return _null; + t2 = design.strands; + t4 = A.BuiltList_BuiltList$of(selected_strands, type$.Strand); + t5 = design.helices; + t6 = type$.int; + strands_move = A.StrandsMove_StrandsMove(t2, true, t1, t5, true, start_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t6, t6), t4); + t4 = start_address.helix_idx; + t6 = helices_view_order_inverse.$index(0, t4); + t6.toString; + if (typeof t6 !== "number") + return t6.$add(); + translation_helix_order = t6 + 1; + t1 = type$.nullable_void_Function_StrandsMoveBuilder; + t2 = type$.void_Function_StrandsMoveBuilder; + t6 = type$.nullable_void_Function_AddressBuilder; + t7 = type$.void_Function_AddressBuilder; + strands_move_beneath = strands_move; + while (true) { + t8 = t3.get$length(helices_view_order); + if (typeof t8 !== "number") + return A.iae(t8); + if (!(translation_helix_order < t8)) + break; + next_helix_idx = t3.$index(helices_view_order, translation_helix_order); + t8 = strands_move_beneath.current_address; + t9 = t7._as(new A.compute_default_next_address_closure(next_helix_idx)); + t10 = new A.AddressBuilder(); + t10._address$_$v = t8; + t6._as(t9).call$1(t10); + t8 = t2._as(new A.compute_default_next_address_closure0(t10._address$_build$0())); + t9 = new A.StrandsMoveBuilder(); + t9._strands_move$_$v = strands_move_beneath; + t1._as(t8).call$1(t9); + strands_move_beneath = t9._strands_move$_build$0(); + if (A.in_bounds(design, strands_move_beneath, _null)) + if (A.is_allowable(design, strands_move_beneath, _null)) + return strands_move_beneath.current_address; + ++translation_helix_order; + } + t3 = t5._map$_map.$index(0, t4); + t3.toString; + t4 = start_address.offset; + if (typeof t4 !== "number") + return t4.$add(); + t4 = _box_0.offset = t4 + 1; + for (t3 = t3.max_offset, strands_move_right = strands_move; t4 < t3;) { + t4 = strands_move_right.current_address; + t5 = t7._as(new A.compute_default_next_address_closure1(_box_0)); + t8 = new A.AddressBuilder(); + t8._address$_$v = t4; + t6._as(t5).call$1(t8); + t4 = t2._as(new A.compute_default_next_address_closure2(t8._address$_build$0())); + t5 = new A.StrandsMoveBuilder(); + t5._strands_move$_$v = strands_move_right; + t1._as(t4).call$1(t5); + strands_move_right = t5._strands_move$_build$0(); + if (A.in_bounds(design, strands_move_right, _null)) + if (A.is_allowable(design, strands_move_right, _null)) + return strands_move_right.current_address; + t4 = ++_box_0.offset; + } + return _null; }, - label_set_strand_action_creator_closure: function label_set_strand_action_creator_closure(t0) { - this.label = t0; + manual_paste_copy_info_reducer(copy_info, state, action) { + var t1, current_address, t2, t3; + type$.nullable_CopyInfo._as(copy_info); + type$.AppState._as(state); + type$.StrandsMoveCommit._as(action); + t1 = action.strands_move; + if (t1.copy) { + if (copy_info == null) + throw A.wrapException(A.AssertionError$("copy_info should not be null when pasting")); + current_address = t1.current_address; + t2 = t1.groups; + t3 = t1.helices._map$_map.$index(0, current_address.helix_idx); + t3.toString; + t3 = t2._map$_map.$index(0, t3.group); + t3.toString; + if (t3.get$helices_view_order_inverse().$eq(0, t1.original_helices_view_order_inverse) && !action.autopaste && !current_address.$eq(0, copy_info.copied_address)) + copy_info = copy_info.rebuild$1(new A.manual_paste_copy_info_reducer_closure(current_address.difference$2(copy_info.copied_address, copy_info.helices_view_order_inverse))); + copy_info = copy_info.rebuild$1(new A.manual_paste_copy_info_reducer_closure0(current_address)); + } + return copy_info; }, - $DesignMainStrandComponentFactory_closure: function $DesignMainStrandComponentFactory_closure() { + parse_strands_and_helices_view_order_from_clipboard_closure: function parse_strands_and_helices_view_order_from_clipboard_closure(t0, t1, t2) { + this.mod5p = t0; + this.mod3p = t1; + this.modifications_int = t2; }, - _$$DesignMainStrandProps: function _$$DesignMainStrandProps() { + compute_default_next_address_closure: function compute_default_next_address_closure(t0) { + this.next_helix_idx = t0; }, - _$$DesignMainStrandProps$PlainMap: function _$$DesignMainStrandProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) { - var _ = this; - _._design_main_strand$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandPropsMixin_strand = t4; - _.DesignMainStrandPropsMixin_side_selected_helix_idxs = t5; - _.DesignMainStrandPropsMixin_only_display_selected_helices = t6; - _.DesignMainStrandPropsMixin_selected_ends_in_strand = t7; - _.DesignMainStrandPropsMixin_selected_crossovers_in_strand = t8; - _.DesignMainStrandPropsMixin_selected_loopouts_in_strand = t9; - _.DesignMainStrandPropsMixin_selected_extensions_in_strand = t10; - _.DesignMainStrandPropsMixin_selected_domains_in_strand = t11; - _.DesignMainStrandPropsMixin_selected_deletions_in_strand = t12; - _.DesignMainStrandPropsMixin_selected_insertions_in_strand = t13; - _.DesignMainStrandPropsMixin_selected_modifications_in_strand = t14; - _.DesignMainStrandPropsMixin_helices = t15; - _.DesignMainStrandPropsMixin_groups = t16; - _.DesignMainStrandPropsMixin_geometry = t17; - _.DesignMainStrandPropsMixin_selected = t18; - _.DesignMainStrandPropsMixin_drawing_potential_crossover = t19; - _.DesignMainStrandPropsMixin_moving_dna_ends = t20; - _.DesignMainStrandPropsMixin_dna_assign_options = t21; - _.DesignMainStrandPropsMixin_modification_display_connector = t22; - _.DesignMainStrandPropsMixin_show_dna = t23; - _.DesignMainStrandPropsMixin_show_modifications = t24; - _.DesignMainStrandPropsMixin_display_reverse_DNA_right_side_up = t25; - _.DesignMainStrandPropsMixin_show_strand_names = t26; - _.DesignMainStrandPropsMixin_show_strand_labels = t27; - _.DesignMainStrandPropsMixin_show_domain_names = t28; - _.DesignMainStrandPropsMixin_show_domain_labels = t29; - _.DesignMainStrandPropsMixin_strand_name_font_size = t30; - _.DesignMainStrandPropsMixin_strand_label_font_size = t31; - _.DesignMainStrandPropsMixin_domain_name_font_size = t32; - _.DesignMainStrandPropsMixin_domain_label_font_size = t33; - _.DesignMainStrandPropsMixin_modification_font_size = t34; - _.DesignMainStrandPropsMixin_invert_y = t35; - _.DesignMainStrandPropsMixin_helix_idx_to_svg_position_map = t36; - _.DesignMainStrandPropsMixin_retain_strand_color_on_selection = t37; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t38; - _.UbiquitousDomPropsMixin__dom = t39; + compute_default_next_address_closure0: function compute_default_next_address_closure0(t0) { + this.next_address = t0; }, - _$$DesignMainStrandProps$JsMap: function _$$DesignMainStrandProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) { - var _ = this; - _._design_main_strand$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainStrandPropsMixin_strand = t4; - _.DesignMainStrandPropsMixin_side_selected_helix_idxs = t5; - _.DesignMainStrandPropsMixin_only_display_selected_helices = t6; - _.DesignMainStrandPropsMixin_selected_ends_in_strand = t7; - _.DesignMainStrandPropsMixin_selected_crossovers_in_strand = t8; - _.DesignMainStrandPropsMixin_selected_loopouts_in_strand = t9; - _.DesignMainStrandPropsMixin_selected_extensions_in_strand = t10; - _.DesignMainStrandPropsMixin_selected_domains_in_strand = t11; - _.DesignMainStrandPropsMixin_selected_deletions_in_strand = t12; - _.DesignMainStrandPropsMixin_selected_insertions_in_strand = t13; - _.DesignMainStrandPropsMixin_selected_modifications_in_strand = t14; - _.DesignMainStrandPropsMixin_helices = t15; - _.DesignMainStrandPropsMixin_groups = t16; - _.DesignMainStrandPropsMixin_geometry = t17; - _.DesignMainStrandPropsMixin_selected = t18; - _.DesignMainStrandPropsMixin_drawing_potential_crossover = t19; - _.DesignMainStrandPropsMixin_moving_dna_ends = t20; - _.DesignMainStrandPropsMixin_dna_assign_options = t21; - _.DesignMainStrandPropsMixin_modification_display_connector = t22; - _.DesignMainStrandPropsMixin_show_dna = t23; - _.DesignMainStrandPropsMixin_show_modifications = t24; - _.DesignMainStrandPropsMixin_display_reverse_DNA_right_side_up = t25; - _.DesignMainStrandPropsMixin_show_strand_names = t26; - _.DesignMainStrandPropsMixin_show_strand_labels = t27; - _.DesignMainStrandPropsMixin_show_domain_names = t28; - _.DesignMainStrandPropsMixin_show_domain_labels = t29; - _.DesignMainStrandPropsMixin_strand_name_font_size = t30; - _.DesignMainStrandPropsMixin_strand_label_font_size = t31; - _.DesignMainStrandPropsMixin_domain_name_font_size = t32; - _.DesignMainStrandPropsMixin_domain_label_font_size = t33; - _.DesignMainStrandPropsMixin_modification_font_size = t34; - _.DesignMainStrandPropsMixin_invert_y = t35; - _.DesignMainStrandPropsMixin_helix_idx_to_svg_position_map = t36; - _.DesignMainStrandPropsMixin_retain_strand_color_on_selection = t37; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t38; - _.UbiquitousDomPropsMixin__dom = t39; + compute_default_next_address_closure1: function compute_default_next_address_closure1(t0) { + this._box_0 = t0; }, - _$DesignMainStrandComponent: function _$DesignMainStrandComponent(t0) { - var _ = this; - _._design_main_strand$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + compute_default_next_address_closure2: function compute_default_next_address_closure2(t0) { + this.next_address = t0; }, - $DesignMainStrandPropsMixin: function $DesignMainStrandPropsMixin() { + manual_paste_copy_info_reducer_closure: function manual_paste_copy_info_reducer_closure(t0) { + this.translation = t0; }, - _DesignMainStrandComponent_UiComponent2_PureComponent: function _DesignMainStrandComponent_UiComponent2_PureComponent() { + manual_paste_copy_info_reducer_closure0: function manual_paste_copy_info_reducer_closure0(t0) { + this.current_address = t0; }, - _DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + strands_move_start_reducer(_, state, action) { + var t1, t2, t3, t4, t5, t6; + type$.nullable_StrandsMove._as(_); + type$.AppState._as(state); + type$.StrandsMoveStart._as(action); + t1 = action.strands; + t2 = state.get$design().strands; + t3 = state.get$design().helices; + t4 = state.get$design().groups; + t5 = action.original_helices_view_order_inverse; + t6 = action.address; + return A.StrandsMove_StrandsMove(t2, action.copy, t4, t3, state.ui_state.storables.strand_paste_keep_color, t6, t5, t1); }, - __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin() { + strands_move_start_selected_strands_reducer(_, state, action) { + var t1, t2, t3, t4, selected_strands, t5, t6; + type$.nullable_StrandsMove._as(_); + type$.AppState._as(state); + type$.StrandsMoveStartSelectedStrands._as(action); + t1 = state.ui_state; + t2 = t1.selectables_store.selected_items; + t2.toString; + t3 = t2._set; + t4 = A._instanceType(t3); + selected_strands = A.BuiltList_BuiltList$from(new A.WhereIterable(t3, t4._eval$1("bool(SetMixin.E)")._as(t2.$ti._eval$1("bool(1)")._as(new A.strands_move_start_selected_strands_reducer_closure())), t4._eval$1("WhereIterable")), type$.Strand); + t4 = state.get$design().strands; + t2 = state.get$design().helices; + t3 = state.get$design().groups; + t5 = action.original_helices_view_order_inverse; + t6 = action.address; + return A.StrandsMove_StrandsMove(t4, action.copy, t3, t2, t1.storables.strand_paste_keep_color, t6, t5, selected_strands); }, - __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin() { + strands_move_stop_reducer(_, action) { + type$.nullable_StrandsMove._as(_); + type$.StrandsMoveStop._as(action); + return null; }, - __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin() { + strands_adjust_address_reducer(strands_move, state, action) { + var new_strands_move; + type$.nullable_StrandsMove._as(strands_move); + type$.AppState._as(state); + type$.StrandsMoveAdjustAddress._as(action); + if (strands_move == null) + return null; + new_strands_move = strands_move.rebuild$1(new A.strands_adjust_address_reducer_closure(action)); + if (A.in_bounds(state.get$design(), new_strands_move, null)) + return new_strands_move.rebuild$1(new A.strands_adjust_address_reducer_closure0(A.is_allowable(state.get$design(), new_strands_move, null))); + else + return strands_move; }, - __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + in_bounds_and_allowable(design, strands_move) { + var original_helix_idxs_set = A.populate_original_helices_idxs_set(strands_move); + return A.in_bounds(design, strands_move, original_helix_idxs_set) && A.is_allowable(design, strands_move, original_helix_idxs_set); }, - _$EditMode: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$EditModeProps$JsMap$(new L.JsBackedMap({})) : M._$$EditModeProps__$$EditModeProps(backingProps); + in_bounds(design, strands_move, original_helix_idxs_set) { + var $status = type$.strand_bounds_status._as(A.get_strand_bounds_details(design, strands_move, original_helix_idxs_set).$index(0, "status")); + if ($status === B.strand_bounds_status_6 || $status === B.strand_bounds_status_4 || $status === B.strand_bounds_status_5) + return true; + return false; }, - _$$EditModeProps__$$EditModeProps: function(backingMap) { - var t1; - if (backingMap instanceof L.JsBackedMap) - return M._$$EditModeProps$JsMap$(backingMap); - else { + get_strand_bounds_details(design, strands_move, original_helix_idxs_set) { + var t1, current_address_helix_idx, t2, t3, t4, num_helices_in_group, t5, t6, t7, t8, delta_view_order, delta_offset, view_orders_of_helices_of_moving_strands, min_view_order, max_view_order, out_of_bounds_min_offset_changes, out_of_bounds_max_offset_changes, in_bounds_min_offset_changes, in_bounds_max_offset_changes, t9, t10, t11, t12, outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset, originalMinOffset, originalMaxOffset, max_offset_of_helix, min_offset_of_helix, inBoundsNewMaxOffset, inBoundsNewMinOffset, outOfBoundsNewMaxOffset0, outOfBoundsNewMinOffset0, t13; + if (original_helix_idxs_set == null) + original_helix_idxs_set = A.populate_original_helices_idxs_set(strands_move); + t1 = strands_move.current_address; + current_address_helix_idx = t1.helix_idx; + t2 = design.helices._map$_map; + if (!t2.containsKey$1(0, current_address_helix_idx)) { t1 = type$.dynamic; - t1 = new M._$$EditModeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); - t1.get$$$isClassGenerated(); - t1._edit_mode$_props = backingMap; - return t1; + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_0], t1, t1); } - }, - _$$EditModeProps$JsMap$: function(backingMap) { - var t1 = new M._$$EditModeProps$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._edit_mode$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - EditModeProps: function EditModeProps() { - }, - EditModeComponent: function EditModeComponent() { - }, - EditModeComponent__button_for_choice_closure: function EditModeComponent__button_for_choice_closure(t0) { - this.mode = t0; - }, - $EditModeComponentFactory_closure: function $EditModeComponentFactory_closure() { - }, - _$$EditModeProps: function _$$EditModeProps() { - }, - _$$EditModeProps$PlainMap: function _$$EditModeProps$PlainMap(t0, t1, t2, t3) { - var _ = this; - _._edit_mode$_props = t0; - _.EditModeProps_modes = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; - }, - _$$EditModeProps$JsMap: function _$$EditModeProps$JsMap(t0, t1, t2, t3) { - var _ = this; - _._edit_mode$_props = t0; - _.EditModeProps_modes = t1; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t2; - _.UbiquitousDomPropsMixin__dom = t3; - }, - _$EditModeComponent: function _$EditModeComponent(t0, t1, t2, t3) { - var _ = this; - _._edit_mode$_cachedTypedProps = null; - _.RedrawCounterMixin__desiredRedrawCount = t0; - _.RedrawCounterMixin__didRedraw = t1; - _.RedrawCounterMixin_redrawCount = t2; - _.DisposableManagerProxy__disposableProxy = t3; - _.jsThis = _.state = _.props = null; - }, - $EditModeProps: function $EditModeProps() { - }, - _EditModeComponent_UiComponent2_RedrawCounterMixin: function _EditModeComponent_UiComponent2_RedrawCounterMixin() { - }, - __$$EditModeProps_UiProps_EditModeProps: function __$$EditModeProps_UiProps_EditModeProps() { - }, - __$$EditModeProps_UiProps_EditModeProps_$EditModeProps: function __$$EditModeProps_UiProps_EditModeProps_$EditModeProps() { - }, - _$MenuDropdownRight: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$MenuDropdownRightProps$JsMap$(new L.JsBackedMap({})) : M._$$MenuDropdownRightProps__$$MenuDropdownRightProps(backingProps); - }, - _$$MenuDropdownRightProps__$$MenuDropdownRightProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$MenuDropdownRightProps$JsMap$(backingMap); - else { + t3 = t2.$index(0, current_address_helix_idx); + t3.toString; + t3 = t3.group; + t4 = design.groups._map$_map.$index(0, t3); + t4.toString; + num_helices_in_group = design.helices_in_group$1(t3)._map$_map._length; + t3 = strands_move.groups; + t5 = strands_move.helices._map$_map; + t6 = t5.$index(0, current_address_helix_idx); + t6.toString; + t6 = t3._map$_map.$index(0, t6.group); + t6.toString; + t6 = t6.get$helices_view_order_inverse(); + t3 = t5.$index(0, current_address_helix_idx); + t3.toString; + t3 = t6._map$_map.$index(0, t3.idx); + t3.toString; + t6 = strands_move.original_helices_view_order_inverse; + t7 = strands_move.original_address; + t6 = t6._map$_map; + t8 = t6.$index(0, t7.helix_idx); + t8.toString; + delta_view_order = t3 - t8; + t1 = t1.offset; + t7 = t7.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t7 !== "number") + return A.iae(t7); + delta_offset = t1 - t7; + view_orders_of_helices_of_moving_strands = A.view_order_moving(strands_move); + t7 = type$.int; + min_view_order = A.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_strands, t7); + max_view_order = A.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_strands, t7); + if (typeof min_view_order !== "number") + return min_view_order.$add(); + if (min_view_order + delta_view_order < 0) { t1 = type$.dynamic; - t1 = new M._$$MenuDropdownRightProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_dropdown_right$_props = backingMap; - return t1; + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_1], t1, t1); } - }, - _$$MenuDropdownRightProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$MenuDropdownRightProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_dropdown_right$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - _$$MenuDropdownRightState$JsMap$: function(backingMap) { - var t1 = new M._$$MenuDropdownRightState$JsMap(new L.JsBackedMap({}), null, null); - t1.get$$$isClassGenerated(); - t1._menu_dropdown_right$_state = backingMap; - return t1; - }, - MenuDropdownRightProps: function MenuDropdownRightProps() { - }, - MenuDropdownRightState: function MenuDropdownRightState() { - }, - MenuDropdownRightComponent: function MenuDropdownRightComponent() { - }, - $MenuDropdownRightComponentFactory_closure: function $MenuDropdownRightComponentFactory_closure() { - }, - _$$MenuDropdownRightProps: function _$$MenuDropdownRightProps() { - }, - _$$MenuDropdownRightProps$PlainMap: function _$$MenuDropdownRightProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _._menu_dropdown_right$_props = t0; - _.MenuDropdownRightProps_tooltip = t1; - _.MenuDropdownRightProps_title = t2; - _.MenuDropdownRightProps_id = t3; - _.MenuDropdownRightProps_disallow_overflow = t4; - _.MenuDropdownRightProps_disabled = t5; - _.MenuDropdownRightProps_keyboard_shortcut = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; - }, - _$$MenuDropdownRightProps$JsMap: function _$$MenuDropdownRightProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _._menu_dropdown_right$_props = t0; - _.MenuDropdownRightProps_tooltip = t1; - _.MenuDropdownRightProps_title = t2; - _.MenuDropdownRightProps_id = t3; - _.MenuDropdownRightProps_disallow_overflow = t4; - _.MenuDropdownRightProps_disabled = t5; - _.MenuDropdownRightProps_keyboard_shortcut = t6; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; - }, - _$$MenuDropdownRightState: function _$$MenuDropdownRightState() { - }, - _$$MenuDropdownRightState$JsMap: function _$$MenuDropdownRightState$JsMap(t0, t1, t2) { - this._menu_dropdown_right$_state = t0; - this.MenuDropdownRightState_top = t1; - this.MenuDropdownRightState_HTML_element = t2; - }, - _$MenuDropdownRightComponent: function _$MenuDropdownRightComponent(t0) { - var _ = this; - _._menu_dropdown_right$_cachedTypedState = _._menu_dropdown_right$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $MenuDropdownRightProps: function $MenuDropdownRightProps() { - }, - $MenuDropdownRightState: function $MenuDropdownRightState() { - }, - __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps() { - }, - __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps() { - }, - __$$MenuDropdownRightState_UiState_MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState() { - }, - __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState() { - }, - _$MenuNumber: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$MenuNumberProps$JsMap$(new L.JsBackedMap({})) : M._$$MenuNumberProps__$$MenuNumberProps(backingProps); - }, - _$$MenuNumberProps__$$MenuNumberProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$MenuNumberProps$JsMap$(backingMap); - else { + if (typeof max_view_order !== "number") + return max_view_order.$add(); + if (max_view_order + delta_view_order >= num_helices_in_group) { t1 = type$.dynamic; - t1 = new M._$$MenuNumberProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_number$_props = backingMap; - return t1; + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_1], t1, t1); } - }, - _$$MenuNumberProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$MenuNumberProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._menu_number$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - MenuNumberPropsMixin: function MenuNumberPropsMixin() { - }, - MenuNumberComponent: function MenuNumberComponent() { - }, - MenuNumberComponent_render_closure: function MenuNumberComponent_render_closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; - }, - $MenuNumberComponentFactory_closure: function $MenuNumberComponentFactory_closure() { - }, - _$$MenuNumberProps: function _$$MenuNumberProps() { - }, - _$$MenuNumberProps$PlainMap: function _$$MenuNumberProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._menu_number$_props = t0; - _.MenuNumberPropsMixin_display = t1; - _.MenuNumberPropsMixin_default_value = t2; - _.MenuNumberPropsMixin_on_new_value = t3; - _.MenuNumberPropsMixin_min_value = t4; - _.MenuNumberPropsMixin_hide = t5; - _.MenuNumberPropsMixin_tooltip = t6; - _.MenuNumberPropsMixin_input_elt_id = t7; - _.MenuNumberPropsMixin_step = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; - }, - _$$MenuNumberProps$JsMap: function _$$MenuNumberProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _._menu_number$_props = t0; - _.MenuNumberPropsMixin_display = t1; - _.MenuNumberPropsMixin_default_value = t2; - _.MenuNumberPropsMixin_on_new_value = t3; - _.MenuNumberPropsMixin_min_value = t4; - _.MenuNumberPropsMixin_hide = t5; - _.MenuNumberPropsMixin_tooltip = t6; - _.MenuNumberPropsMixin_input_elt_id = t7; - _.MenuNumberPropsMixin_step = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; - }, - _$MenuNumberComponent: function _$MenuNumberComponent(t0) { - var _ = this; - _._menu_number$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $MenuNumberPropsMixin: function $MenuNumberPropsMixin() { - }, - __$$MenuNumberProps_UiProps_MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin() { - }, - __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin() { - }, - _$PotentialCrossoverView: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? M._$$PotentialCrossoverViewProps$JsMap$(new L.JsBackedMap({})) : M._$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps(backingProps); - }, - _$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return M._$$PotentialCrossoverViewProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new M._$$PotentialCrossoverViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._potential_crossover_view$_props = backingMap; - return t1; + t1 = type$.dynamic; + out_of_bounds_min_offset_changes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + out_of_bounds_max_offset_changes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + in_bounds_min_offset_changes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + in_bounds_max_offset_changes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t3 = A._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, A._instanceType(original_helix_idxs_set)._precomputed1), t8 = type$.JSArray_int, t4 = t4.helices_view_order, t9 = strands_move.strands_moving; t3.moveNext$0();) { + t10 = t3._collection$_current; + t11 = A.construct_helix_idx_to_domains_map(t9, original_helix_idxs_set)._map$_map.$index(0, t10); + t11.toString; + t11 = t11._list; + if (t11.length === 0) + continue; + t10 = t6.$index(0, t10); + t10.toString; + t10 += delta_view_order; + t12 = t4._list; + if (!(t10 >= 0 && t10 < t12.length)) + return A.ioore(t12, t10); + t10 = t2.$index(0, t12[t10]); + t10.toString; + outOfBoundsNewMinOffset = t10.min_offset; + outOfBoundsNewMaxOffset = t10.max_offset; + t10 = t10.idx; + originalMinOffset = t5.$index(0, t10).min_offset; + originalMaxOffset = t5.$index(0, t10).max_offset; + max_offset_of_helix = design.max_offset_of_strands_at$1(t10); + min_offset_of_helix = design.min_offset_of_strands_at$1(t10); + for (t11 = new J.ArrayIterator(t11, t11.length, A._arrayInstanceType(t11)._eval$1("ArrayIterator<1>")), inBoundsNewMaxOffset = outOfBoundsNewMaxOffset, inBoundsNewMinOffset = outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset0 = inBoundsNewMaxOffset, outOfBoundsNewMinOffset0 = inBoundsNewMinOffset; t11.moveNext$0();) { + t12 = t11.__interceptors$_current; + t13 = t12.start + delta_offset; + if (t13 < outOfBoundsNewMinOffset) + outOfBoundsNewMinOffset0 = A.MinMaxOfIterable_get_min(A._setArrayType([outOfBoundsNewMinOffset0, t13], t8), t7); + else if (t13 > outOfBoundsNewMinOffset) + inBoundsNewMinOffset = A.MinMaxOfIterable_get_min(A._setArrayType([A.MinMaxOfIterable_get_max(A._setArrayType([inBoundsNewMinOffset, t13], t8), t7), originalMinOffset, min_offset_of_helix], t8), t7); + t12 = t12.end + delta_offset; + if (t12 > outOfBoundsNewMaxOffset) + outOfBoundsNewMaxOffset0 = A.MinMaxOfIterable_get_max(A._setArrayType([outOfBoundsNewMaxOffset0, t12], t8), t7); + else if (t12 < outOfBoundsNewMaxOffset) + inBoundsNewMaxOffset = A.MinMaxOfIterable_get_max(A._setArrayType([A.MinMaxOfIterable_get_min(A._setArrayType([inBoundsNewMaxOffset, t12], t8), t7), originalMaxOffset, max_offset_of_helix], t8), t7); + } + if (typeof outOfBoundsNewMinOffset0 !== "number") + return outOfBoundsNewMinOffset0.$lt(); + if (outOfBoundsNewMinOffset0 < outOfBoundsNewMinOffset) + out_of_bounds_min_offset_changes.$indexSet(0, t10, outOfBoundsNewMinOffset0); + if (typeof outOfBoundsNewMaxOffset0 !== "number") + return outOfBoundsNewMaxOffset0.$gt(); + if (outOfBoundsNewMaxOffset0 > outOfBoundsNewMaxOffset) + out_of_bounds_max_offset_changes.$indexSet(0, t10, outOfBoundsNewMaxOffset0); + if (typeof inBoundsNewMinOffset !== "number") + return inBoundsNewMinOffset.$gt(); + if (inBoundsNewMinOffset > outOfBoundsNewMinOffset) + in_bounds_min_offset_changes.$indexSet(0, t10, inBoundsNewMinOffset); + if (typeof inBoundsNewMaxOffset !== "number") + return inBoundsNewMaxOffset.$lt(); + if (inBoundsNewMaxOffset < outOfBoundsNewMaxOffset) + in_bounds_max_offset_changes.$indexSet(0, t10, inBoundsNewMaxOffset); + } + if (out_of_bounds_min_offset_changes._length !== 0) + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_2, "offsets", out_of_bounds_min_offset_changes], t1, t1); + if (out_of_bounds_max_offset_changes._length !== 0) + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_3, "offsets", out_of_bounds_max_offset_changes], t1, t1); + if (in_bounds_min_offset_changes._length !== 0) + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_4, "offsets", in_bounds_min_offset_changes], t1, t1); + if (in_bounds_max_offset_changes._length !== 0) + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_5, "offsets", in_bounds_max_offset_changes], t1, t1); + return A.LinkedHashMap_LinkedHashMap$_literal(["status", B.strand_bounds_status_6], t1, t1); + }, + populate_original_helices_idxs_set(strands_move) { + var t1, t2, t3, + original_helix_idxs_set = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t1 = strands_move.strands_moving._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) + original_helix_idxs_set.add$1(0, t2.__interceptors$_current.helix); } + return original_helix_idxs_set; }, - _$$PotentialCrossoverViewProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new M._$$PotentialCrossoverViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._potential_crossover_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - ConnectedPotentialCrossoverView_closure: function ConnectedPotentialCrossoverView_closure() { - }, - PotentialCrossoverViewProps: function PotentialCrossoverViewProps() { - }, - PotentialCrossoverViewComponent: function PotentialCrossoverViewComponent() { - }, - $PotentialCrossoverViewComponentFactory_closure: function $PotentialCrossoverViewComponentFactory_closure() { - }, - _$$PotentialCrossoverViewProps: function _$$PotentialCrossoverViewProps() { - }, - _$$PotentialCrossoverViewProps$PlainMap: function _$$PotentialCrossoverViewProps$PlainMap(t0, t1, t2, t3, t4) { - var _ = this; - _._potential_crossover_view$_props = t0; - _.PotentialCrossoverViewProps_potential_crossover = t1; - _.PotentialCrossoverViewProps_id = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; - }, - _$$PotentialCrossoverViewProps$JsMap: function _$$PotentialCrossoverViewProps$JsMap(t0, t1, t2, t3, t4) { - var _ = this; - _._potential_crossover_view$_props = t0; - _.PotentialCrossoverViewProps_potential_crossover = t1; - _.PotentialCrossoverViewProps_id = t2; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t3; - _.UbiquitousDomPropsMixin__dom = t4; - }, - _$PotentialCrossoverViewComponent: function _$PotentialCrossoverViewComponent(t0) { - var _ = this; - _._potential_crossover_view$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $PotentialCrossoverViewProps: function $PotentialCrossoverViewProps() { - }, - __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps() { - }, - __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps() { - }, - XmlProductionDefinition: function XmlProductionDefinition() { - }, - castUiFactory: function(value, $T) { - return $T._eval$1("0*([Map<@,@>*])*")._as(value); - }, - selectLast: function(first, second, $T) { - var t1 = $T._eval$1("Failure<0>"); - t1._as(first); - return t1._as(second); - }, - helix_group_move_start_middleware: function(store, action, next) { - var state, group_name, t1, group, helices_in_group, helix_group_move; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.HelixGroupMoveStart) { - state = store.get$state(store); - group_name = state.ui_state.storables.displayed_group_name; - t1 = state.design; - group = J.$index$asx(t1.groups._map$_map, group_name); - helices_in_group = t1.helices_in_group$1(group_name); - if (J.get$isNotEmpty$asx(helices_in_group._map$_map)) { - next.call$1(action); - helix_group_move = G.HelixGroupMove_HelixGroupMove(group, group_name, helices_in_group, action.mouse_point); - $.app.dispatch$1(U._$HelixGroupMoveCreate$_(helix_group_move)); + view_order_moving(strands_move) { + var t1, t2, t3, t4, view_order_of_helix, + ret = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t1 = strands_move.strands_moving._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = strands_move.original_helices_view_order_inverse; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; } else - C.Window_methods.alert$1(window, "Cannot move a helix group that has no helices in it."); - } else - next.call$1(action); - } - }, - U = { - Serializers_Serializers: function() { - var t1 = type$.Type, - t2 = type$.Serializer_dynamic, - t3 = type$.String; - t2 = new Y.BuiltJsonSerializersBuilder(A.MapBuilder_MapBuilder(C.Map_empty, t1, t2), A.MapBuilder_MapBuilder(C.Map_empty, t3, t2), A.MapBuilder_MapBuilder(C.Map_empty, t3, t2), A.MapBuilder_MapBuilder(C.Map_empty, type$.FullType, type$.Function), D.ListBuilder_ListBuilder(C.List_empty, type$.SerializerPlugin)); - t2.add$1(0, new O.BigIntSerializer(D.BuiltList_BuiltList$from([C.Type_BigInt_8OV, J.get$runtimeType$($.$get$_BigIntImpl_zero())], t1))); - t2.add$1(0, new R.BoolSerializer(D.BuiltList_BuiltList$from([C.Type_bool_lhE], t1))); - t3 = type$.Object; - t2.add$1(0, new K.BuiltListSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltList_iTR, H.getRuntimeType(D.BuiltList_BuiltList$from(C.List_empty, t3))], t1))); - t2.add$1(0, new R.BuiltListMultimapSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltListMultimap_2Mt, H.getRuntimeType(R.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); - t2.add$1(0, new K.BuiltMapSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltMap_qd4, H.getRuntimeType(A.BuiltMap_BuiltMap(C.Map_empty, t3, t3))], t1))); - t2.add$1(0, new O.BuiltSetSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltSet_fcN, H.getRuntimeType(X.BuiltSet_BuiltSet$from(C.List_empty, t3))], t1))); - t2.add$1(0, new R.BuiltSetMultimapSerializer(X.BuiltSet_BuiltSet$from([C.Type_BuiltSetMultimap_9Fi], t1))); - t2.add$1(0, new Z.DateTimeSerializer(D.BuiltList_BuiltList$from([C.Type_DateTime_8AS], t1))); - t2.add$1(0, new D.DoubleSerializer(D.BuiltList_BuiltList$from([C.Type_double_K1J], t1))); - t2.add$1(0, new K.DurationSerializer(D.BuiltList_BuiltList$from([C.Type_Duration_SnA], t1))); - t2.add$1(0, new B.IntSerializer(D.BuiltList_BuiltList$from([C.Type_int_tHn], t1))); - t2.add$1(0, new T.Int32Serializer(D.BuiltList_BuiltList$from([C.Type_Int32_MYA], t1))); - t2.add$1(0, new Q.Int64Serializer(D.BuiltList_BuiltList$from([C.Type_Int64_gc6], t1))); - t2.add$1(0, new O.JsonObjectSerializer(D.BuiltList_BuiltList$from([C.Type_JsonObject_gyf, C.Type_BoolJsonObject_8HQ, C.Type_ListJsonObject_yPV, C.Type_MapJsonObject_bBG, C.Type_NumJsonObject_H9C, C.Type_StringJsonObject_GAC], t1))); - t2.add$1(0, new S.NullSerializer(D.BuiltList_BuiltList$from([C.Type_Null_Yyn], t1))); - t2.add$1(0, new K.NumSerializer(D.BuiltList_BuiltList$from([C.Type_num_cv7], t1))); - t2.add$1(0, new K.RegExpSerializer(D.BuiltList_BuiltList$from([C.Type_RegExp_Eeh, $.$get$_runtimeType()], t1))); - t2.add$1(0, new M.StringSerializer(D.BuiltList_BuiltList$from([C.Type_String_k8F], t1))); - t2.add$1(0, new U.Uint8ListSerializer()); - t2.add$1(0, new O.UriSerializer(D.BuiltList_BuiltList$from([C.Type_Uri_EFX, H.getRuntimeType(P.Uri_parse("http://example.com")), H.getRuntimeType(P.Uri_parse("http://example.com:"))], t1))); - t2.addBuilderFactory$2(C.FullType_eLJ, new U.Serializers_Serializers_closure()); - t2.addBuilderFactory$2(C.FullType_4Wf, new U.Serializers_Serializers_closure0()); - t2.addBuilderFactory$2(C.FullType_wIv, new U.Serializers_Serializers_closure1()); - t2.addBuilderFactory$2(C.FullType_4e8, new U.Serializers_Serializers_closure2()); - t2.addBuilderFactory$2(C.FullType_Ofx, new U.Serializers_Serializers_closure3()); - return t2.build$0(); - }, - FullType__getRawName: function(type) { - var $name = J.toString$0$(type), - genericsStart = J.indexOf$1$asx($name, "<"); - return genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); - }, - DeserializationError_DeserializationError: function(json, type, error) { - var limitedJson = J.toString$0$(json), - t1 = limitedJson.length; - if (t1 > 80) - J.replaceRange$3$asx(limitedJson, 77, t1, "..."); - return new U.DeserializationError(type, error); - }, - Serializers_Serializers_closure: function Serializers_Serializers_closure() { - }, - Serializers_Serializers_closure0: function Serializers_Serializers_closure0() { - }, - Serializers_Serializers_closure1: function Serializers_Serializers_closure1() { - }, - Serializers_Serializers_closure2: function Serializers_Serializers_closure2() { - }, - Serializers_Serializers_closure3: function Serializers_Serializers_closure3() { + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) { + t4 = t3.__interceptors$_current.helix; + view_order_of_helix = t2._map$_map.$index(0, t4); + if (view_order_of_helix == null) + throw A.wrapException(A.AssertionError$("Helix: " + t4 + ", has no inverse in strands_move.original_helices_view_order_inverse " + t2.toString$0(0))); + ret.add$1(0, view_order_of_helix); + } + } + return ret; }, - FullType: function FullType(t0, t1, t2) { - this.root = t0; - this.parameters = t1; - this.nullable = t2; + is_allowable(design, strands_move, original_helix_idxs_set) { + var t1, current_address_helix_idx, t2, t3, t4, t5, t6, t7, t8, delta_view_order, delta_offset, delta_forward, helix_idx_to_substrands_moving, helix_idx_to_substrands_fixed, t9, t10, new_helix_idx, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, _i, $forward, intervals_moving, t24, t25, intervals_fixed; + if (original_helix_idxs_set == null) + original_helix_idxs_set = A.populate_original_helices_idxs_set(strands_move); + t1 = strands_move.current_address; + current_address_helix_idx = t1.helix_idx; + t2 = design.helices; + t3 = t2._map$_map; + t4 = t3.$index(0, current_address_helix_idx); + t4.toString; + t4 = design.groups._map$_map.$index(0, t4.group); + t4.toString; + t5 = strands_move.groups; + t6 = strands_move.helices._map$_map; + t7 = t6.$index(0, current_address_helix_idx); + t7.toString; + t7 = t5._map$_map.$index(0, t7.group); + t7.toString; + t7 = t7.get$helices_view_order_inverse(); + t6 = t6.$index(0, current_address_helix_idx); + t6.toString; + t6 = t7._map$_map.$index(0, t6.idx); + t6.toString; + t7 = strands_move.original_helices_view_order_inverse; + t5 = strands_move.original_address; + t7 = t7._map$_map; + t8 = t7.$index(0, t5.helix_idx); + t8.toString; + delta_view_order = t6 - t8; + t8 = t1.offset; + t6 = t5.offset; + if (typeof t8 !== "number") + return t8.$sub(); + if (typeof t6 !== "number") + return A.iae(t6); + delta_offset = t8 - t6; + delta_forward = t1.forward != t5.forward; + helix_idx_to_substrands_moving = A.construct_helix_idx_to_domains_map(strands_move.strands_moving, original_helix_idxs_set); + helix_idx_to_substrands_fixed = A.construct_helix_idx_to_domains_map(strands_move.strands_fixed, t2.get$keys(t2)); + for (t1 = A._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, A._instanceType(original_helix_idxs_set)._precomputed1), t4 = t4.helices_view_order, t2 = helix_idx_to_substrands_fixed._map$_map, t5 = helix_idx_to_substrands_moving._map$_map; t1.moveNext$0();) { + t6 = t1._collection$_current; + t8 = t5.$index(0, t6); + t8.toString; + t9 = t8._list; + if (t9.length === 0) + continue; + t6 = t7.$index(0, t6); + t6.toString; + t6 += delta_view_order; + t10 = t4._list; + if (!(t6 >= 0 && t6 < t10.length)) + return A.ioore(t10, t6); + new_helix_idx = t10[t6]; + t6 = t3.$index(0, new_helix_idx); + t6.toString; + t10 = t2.$index(0, new_helix_idx); + t10.toString; + t11 = t10._list; + if (t11.length === 0) + continue; + for (t12 = [true, false], t8 = t8.$ti._eval$1("bool(1)"), t13 = A._arrayInstanceType(t9), t14 = t13._eval$1("bool(1)"), t15 = t13._eval$1("WhereIterable<1>"), t16 = t13._eval$1("Point(1)"), t13 = t13._eval$1("MappedIterable<1,Point>"), t17 = t13._eval$1("Iterable.E"), t10 = t10.$ti._eval$1("bool(1)"), t18 = A._arrayInstanceType(t11), t19 = t18._eval$1("bool(1)"), t20 = t18._eval$1("WhereIterable<1>"), t21 = t18._eval$1("Point(1)"), t18 = t18._eval$1("MappedIterable<1,Point>"), t22 = t18._eval$1("Iterable.E"), t23 = t6.max_offset, t6 = t6.min_offset, _i = 0; _i < 2; ++_i) { + $forward = t12[_i]; + intervals_moving = A.List_List$of(new A.MappedIterable(new A.WhereIterable(t9, t14._as(t8._as(new A.is_allowable_closure(delta_forward, $forward))), t15), t16._as(new A.is_allowable_closure0(delta_offset)), t13), true, t17); + t24 = A._arrayInstanceType(intervals_moving); + t24._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_moving.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t24 = t24._precomputed1; + t25 = intervals_moving.length - 1; + if (t25 - 0 <= 32) + A.Sort__insertionSort(intervals_moving, 0, t25, A.strands_move_reducer__interval_comparator$closure(), t24); + else + A.Sort__dualPivotQuicksort(intervals_moving, 0, t25, A.strands_move_reducer__interval_comparator$closure(), t24); + t24 = intervals_moving.length; + if (t24 !== 0) { + if (0 >= t24) + return A.ioore(intervals_moving, 0); + t25 = intervals_moving[0].x; + if (typeof t25 !== "number") + return t25.$lt(); + if (t25 < t6) + return false; + t25 = t24 - 1; + if (!(t25 >= 0)) + return A.ioore(intervals_moving, t25); + t25 = intervals_moving[t25].y; + if (typeof t25 !== "number") + return t25.$ge(); + if (t25 >= t23) + return false; + intervals_fixed = A.List_List$of(new A.MappedIterable(new A.WhereIterable(t11, t19._as(t10._as(new A.is_allowable_closure1($forward))), t20), t21._as(new A.is_allowable_closure2()), t18), true, t22); + t24 = A._arrayInstanceType(intervals_fixed); + t24._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_fixed.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t24 = t24._precomputed1; + t25 = intervals_fixed.length - 1; + if (t25 - 0 <= 32) + A.Sort__insertionSort(intervals_fixed, 0, t25, A.strands_move_reducer__interval_comparator$closure(), t24); + else + A.Sort__dualPivotQuicksort(intervals_fixed, 0, t25, A.strands_move_reducer__interval_comparator$closure(), t24); + if (A.intersection(intervals_moving, intervals_fixed)) + return false; + } + } + } + return true; }, - DeserializationError: function DeserializationError(t0, t1) { - this.type = t0; - this.error = t1; + interval_comparator(interval1, interval2) { + var t2, + t1 = type$.Point_int; + t1._as(interval1); + t1._as(interval2); + t1 = interval1.x; + t2 = interval2.x; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 - t2; }, - Uint8ListSerializer: function Uint8ListSerializer() { + intersection(ints1, ints2) { + var t3, t4, t5, + t1 = ints1.length, + t2 = ints2.length, + idx1 = 0, idx2 = 0; + while (true) { + if (!(idx1 < t1 && idx2 < t2)) + break; + while (true) { + if (idx2 < t2) { + if (!(idx2 >= 0)) + return A.ioore(ints2, idx2); + t3 = ints2[idx2].y; + if (!(idx1 >= 0 && idx1 < t1)) + return A.ioore(ints1, idx1); + t4 = ints1[idx1].x; + if (typeof t3 !== "number") + return t3.$lt(); + if (typeof t4 !== "number") + return A.iae(t4); + t4 = t3 < t4; + t3 = t4; + } else + t3 = false; + if (!t3) + break; + ++idx2; + } + if (idx2 === t2) + return false; + else { + if (!(idx2 >= 0 && idx2 < t2)) + return A.ioore(ints2, idx2); + t3 = ints2[idx2]; + t4 = t3.x; + if (!(idx1 >= 0 && idx1 < t1)) + return A.ioore(ints1, idx1); + t5 = ints1[idx1].y; + if (typeof t4 !== "number") + return t4.$le(); + if (typeof t5 !== "number") + return A.iae(t5); + if (t4 <= t5) + return true; + } + while (true) { + if (idx1 < t1) { + t5 = ints1[idx1].y; + if (typeof t5 !== "number") + return t5.$lt(); + t5 = t5 < t4; + } else + t5 = false; + if (!t5) + break; + ++idx1; + } + if (idx1 === t1) + return false; + else { + if (!(idx1 < t1)) + return A.ioore(ints1, idx1); + t4 = ints1[idx1].x; + t3 = t3.y; + if (typeof t4 !== "number") + return t4.$le(); + if (typeof t3 !== "number") + return A.iae(t3); + if (t4 <= t3) + return true; + } + } + return false; }, - SetEquality$: function(elementEquality, $E) { - return new U.SetEquality(elementEquality, $E._eval$1("SetEquality<0>")); + strands_move_start_selected_strands_reducer_closure: function strands_move_start_selected_strands_reducer_closure() { }, - DefaultEquality: function DefaultEquality(t0) { - this.$ti = t0; + strands_adjust_address_reducer_closure: function strands_adjust_address_reducer_closure(t0) { + this.action = t0; }, - IterableEquality: function IterableEquality(t0, t1) { - this._elementEquality = t0; - this.$ti = t1; + strands_adjust_address_reducer_closure0: function strands_adjust_address_reducer_closure0(t0) { + this.allowable = t0; }, - ListEquality: function ListEquality(t0, t1) { - this._elementEquality = t0; - this.$ti = t1; + is_allowable_closure: function is_allowable_closure(t0, t1) { + this.delta_forward = t0; + this.forward = t1; }, - _UnorderedEquality: function _UnorderedEquality() { + is_allowable_closure0: function is_allowable_closure0(t0) { + this.delta_offset = t0; }, - SetEquality: function SetEquality(t0, t1) { - this._elementEquality = t0; - this.$ti = t1; + is_allowable_closure1: function is_allowable_closure1(t0) { + this.forward = t0; }, - _MapEntry: function _MapEntry(t0, t1, t2) { - this.equality = t0; - this.key = t1; - this.value = t2; + is_allowable_closure2: function is_allowable_closure2() { }, - MapEquality: function MapEquality(t0, t1, t2) { - this._keyEquality = t0; - this._valueEquality = t1; - this.$ti = t2; + replace_strands_reducer(strands, action) { + var strands_builder, t1, t2, t3, t4, t5, t6, t7, t8; + type$.BuiltList_Strand._as(strands); + type$.ReplaceStrands._as(action); + strands.toString; + strands_builder = A.ListBuilder_ListBuilder(strands, strands.$ti._precomputed1); + for (t1 = action.new_strands, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t6 = t2.__js_helper$_current; + t7 = t1._map$_map.$index(0, t6); + t7.toString; + t4._as(t7); + !$.$get$isSoundMode() && t5; + if (strands_builder._listOwner != null) { + t8 = strands_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t8, true, t4))); + strands_builder.set$_listOwner(null); + } + t8 = strands_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t8, t6, t7); + } + return strands_builder.build$0(); }, - DeepCollectionEquality: function DeepCollectionEquality() { + strands_part_reducer(strands, state, action) { + var t1, t2, strand_idx, strand, strands_builder; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.StrandPartAction._as(action); + t1 = state.get$design().get$strands_by_id(); + t2 = action.get$strand_part().get$strand_id(); + t2 = t1._map$_map.$index(0, t2); + t2.toString; + strands.toString; + t1 = strands.$ti._precomputed1; + strand_idx = B.JSArray_methods.indexOf$2(strands._list, t1._as(t2), 0); + if (strand_idx < 0) + return strands; + strand = $.$get$strand_part_reducer().call$2(t2, action).initialize$0(0); + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + t1 = strands_builder.$ti._precomputed1; + t1._as(strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(strands_builder.get$_safeList(), strand_idx, strand); + return strands_builder.build$0(); }, - Response_fromStream: function(response) { - return U.Response_fromStream$body(response); + substrand_name_set_reducer(strand, action) { + var t1, t2, t3, t4, substrand_idx, substrand, substrands; + type$.Strand._as(strand); + type$.SubstrandNameSet._as(action); + t1 = strand.substrands; + t2 = action.substrand; + t1.toString; + t3 = t1.$ti; + t4 = t3._precomputed1; + t4._as(t2); + t1 = t1._list; + substrand_idx = B.JSArray_methods.indexOf$2(t1, t2, 0); + if (t2 instanceof A.Domain) + substrand = t2.rebuild$1(new A.substrand_name_set_reducer_closure(action)); + else if (t2 instanceof A.Loopout) + substrand = t2.rebuild$1(new A.substrand_name_set_reducer_closure0(action)); + else if (t2 instanceof A.Extension) + substrand = t2.rebuild$1(new A.substrand_name_set_reducer_closure1(action)); + else + throw A.wrapException(A.AssertionError$(string$.substr)); + substrands = new A.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + t4._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + return strand.rebuild$1(new A.substrand_name_set_reducer_closure2(substrands)); }, - Response_fromStream$body: function(response) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response), - $async$returnValue, body, t1, t2, t3, t4, t5, t6; - var $async$Response_fromStream = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 3; - return P._asyncAwait(response.stream.toBytes$0(), $async$Response_fromStream); - case 3: - // returning from await. - body = $async$result; - t1 = response.statusCode; - t2 = response.request; - t3 = response.headers; - t4 = response.reasonPhrase; - t5 = B.toUint8List(body); - t6 = J.get$length$asx(body); - t5 = new U.Response(t5, t2, t1, t4, t6, t3, false, true); - t5.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t1, t6, t3, false, true, t4, t2); - $async$returnValue = t5; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); + substrand_label_set_reducer(strand, action) { + var t1, t2, t3, t4, substrand_idx, substrand, substrands; + type$.Strand._as(strand); + type$.SubstrandLabelSet._as(action); + t1 = strand.substrands; + t2 = action.substrand; + t1.toString; + t3 = t1.$ti; + t4 = t3._precomputed1; + t4._as(t2); + t1 = t1._list; + substrand_idx = B.JSArray_methods.indexOf$2(t1, t2, 0); + if (t2 instanceof A.Domain) + substrand = t2.rebuild$1(new A.substrand_label_set_reducer_closure(action)); + else if (t2 instanceof A.Loopout) + substrand = t2.rebuild$1(new A.substrand_label_set_reducer_closure0(action)); + else if (t2 instanceof A.Extension) + substrand = t2.rebuild$1(new A.substrand_label_set_reducer_closure1(action)); + else + throw A.wrapException(A.AssertionError$(string$.substr)); + substrands = new A.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + t4._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + return strand.rebuild$1(new A.substrand_label_set_reducer_closure2(substrands)); + }, + strands_move_commit_reducer(strands, state, action) { + var t1, t2, t3, strands_list, t4, t5, new_strand, strand, t6, strand_idx; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.StrandsMoveCommit._as(action); + t1 = state.get$design(); + t2 = action.strands_move; + if (A.in_bounds_and_allowable(t1, t2)) + t1 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; + else + t1 = false; + if (t1) { + t1 = strands._list; + t3 = A._instanceType(strands); + strands_list = new A.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + for (t4 = t2.strands_moving._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + new_strand = A.one_strand_strands_move_copy_commit_reducer(state.get$design(), t5, t2); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t6 = new_strand.__first_domain; + if (t6 == null) + t6 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t6.toString; } - }); - return P._asyncStartSync($async$Response_fromStream, $async$completer); - }, - _contentTypeForHeaders: function(headers) { - var contentType = headers.$index(0, "content-type"); - if (contentType != null) - return R.MediaType_MediaType$parse(contentType); - return R.MediaType$("application", "octet-stream", null); - }, - Response: function Response(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.bodyBytes = t0; - _.request = t1; - _.statusCode = t2; - _.reasonPhrase = t3; - _.contentLength = t4; - _.headers = t5; - _.isRedirect = t6; - _.persistentConnection = t7; - }, - LookupCharPredicate: function LookupCharPredicate(t0, t1, t2) { - this.start = t0; - this.stop = t1; - this.bits = t2; - }, - EndOfInputParser: function EndOfInputParser(t0) { - this.message = t0; - }, - LazyRepeatingParser$: function(parser, limit, min, max, $R) { - var t1 = new U.LazyRepeatingParser(limit, min, max, parser, $R._eval$1("LazyRepeatingParser<0>")); - t1.RepeatingParser$3(parser, min, max, $R); - return t1; - }, - LazyRepeatingParser: function LazyRepeatingParser(t0, t1, t2, t3, t4) { - var _ = this; - _.limit = t0; - _.min = t1; - _.max = t2; - _.delegate = t3; - _.$ti = t4; - }, - CipherParameters: function CipherParameters() { - }, - KeyParameter: function KeyParameter(t0) { - this.__KeyParameter_key = t0; + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + if (t2.copy) { + t3._as(strand); + strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(strands_list._copy_on_write_list$_list, strand); + } else { + strand_idx = B.JSArray_methods.indexOf$2(t1, t3._as(t5), 0); + t3._as(strand); + strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_list._copy_on_write_list$_list, strand_idx, strand); + } + } + return A.BuiltList_BuiltList$of(strands_list, type$.Strand); + } else + return strands; }, - SkipUndo_SkipUndo: function(undoable_action) { - var _$result, t2, - t1 = new U.SkipUndoBuilder(); - type$.legacy_void_Function_legacy_SkipUndoBuilder._as(new U.SkipUndo_SkipUndo_closure(undoable_action)).call$1(t1); - _$result = t1._$v; - if (_$result == null) { - t2 = t1.get$_$this()._undoable_action; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SkipUndo", "undoable_action")); - _$result = new U._$SkipUndo(t2); + one_strand_strands_move_copy_commit_reducer(design, strand, strands_move) { + var t5, t6, t7, group_name, t8, moved_strand, + t1 = strands_move.groups, + t2 = strands_move.helices, + t3 = strands_move.current_address, + t4 = t3.helix_idx; + t2 = t2._map$_map; + t5 = t2.$index(0, t4); + t5.toString; + t5 = t1._map$_map.$index(0, t5.group); + t5.toString; + t5 = t5.get$helices_view_order_inverse(); + t4 = t2.$index(0, t4); + t4.toString; + t4 = t5._map$_map.$index(0, t4.idx); + t4.toString; + t5 = strands_move.original_helices_view_order_inverse; + t2 = strands_move.original_address; + t1 = t5._map$_map.$index(0, t2.helix_idx); + t1.toString; + t6 = t3.offset; + t7 = t2.offset; + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t7 !== "number") + return A.iae(t7); + group_name = A.current_group_name_from_strands_move(design, strands_move); + t8 = design.groups._map$_map.$index(0, group_name); + t8.toString; + moved_strand = A.move_strand(t8, t3.forward != t2.forward, t6 - t7, t4 - t1, t5, strand); + if (moved_strand == null) { + A.print("WARNING: didn't expect move_strand to return null in one_strand_strands_move_copy_commit_reducer"); + return strand; } - return t1._$v = _$result; - }, - Undo_Undo: function(num_undos) { - var t1 = new U.UndoBuilder(); - type$.legacy_void_Function_legacy_UndoBuilder._as(new U.Undo_Undo_closure(num_undos)).call$1(t1); - return t1.build$0(); - }, - Redo_Redo: function(num_redos) { - var t1 = new U.RedoBuilder(); - type$.legacy_void_Function_legacy_RedoBuilder._as(new U.Redo_Redo_closure(num_redos)).call$1(t1); - return t1.build$0(); + return strands_move.copy && !strands_move.keep_color && !strand.is_scaffold ? moved_strand.rebuild$1(new A.one_strand_strands_move_copy_commit_reducer_closure()) : moved_strand; }, - BatchAction_BatchAction: function(actions, short_description_value) { - var t1 = new U.BatchActionBuilder(); - type$.legacy_void_Function_legacy_BatchActionBuilder._as(new U.BatchAction_BatchAction_closure(actions, short_description_value)).call$1(t1); - return t1.build$0(); - }, - ThrottledActionFast_ThrottledActionFast: function(action, interval_sec) { - var t1 = new U.ThrottledActionFastBuilder(); - type$.legacy_void_Function_legacy_ThrottledActionFastBuilder._as(new U.ThrottledActionFast_ThrottledActionFast_closure(action, interval_sec)).call$1(t1); - return t1.build$0(); - }, - ThrottledActionNonFast_ThrottledActionNonFast: function(action, interval_sec) { - var t1 = new U.ThrottledActionNonFastBuilder(); - type$.legacy_void_Function_legacy_ThrottledActionNonFastBuilder._as(new U.ThrottledActionNonFast_ThrottledActionNonFast_closure(action, interval_sec)).call$1(t1); - return t1.build$0(); - }, - EditModeToggle_EditModeToggle: function(mode) { - var t1 = new U.EditModeToggleBuilder(); - type$.legacy_void_Function_legacy_EditModeToggleBuilder._as(new U.EditModeToggle_EditModeToggle_closure(mode)).call$1(t1); - return t1.build$0(); - }, - SelectModeToggle_SelectModeToggle: function(select_mode_choice) { - var t1 = new U.SelectModeToggleBuilder(); - type$.legacy_void_Function_legacy_SelectModeToggleBuilder._as(new U.SelectModeToggle_SelectModeToggle_closure(select_mode_choice)).call$1(t1); - return t1.build$0(); + move_strand(current_group, delta_forward, delta_offset, delta_view_order, original_helices_view_order_inverse, strand) { + var is_moving, t2, i, t3, substrand, t4, t5, new_view_order, domain_moved, new_substrand, _box_1 = {}, + t1 = strand.substrands, + substrands = _box_1.substrands = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + A.boolConversionCheck(delta_forward); + if (delta_forward) { + t1 = substrands.get$reversed(substrands); + _box_1.substrands = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); + } + is_moving = delta_view_order !== 0 || delta_offset !== 0 || delta_forward; + t1 = type$.nullable_void_Function_DomainBuilder; + t2 = type$.void_Function_DomainBuilder; + i = 0; + while (true) { + t3 = J.get$length$asx(_box_1.substrands); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + t3 = {}; + substrand = J.$index$asx(_box_1.substrands, i); + if (substrand instanceof A.Domain) { + t4 = substrand.helix; + t5 = original_helices_view_order_inverse._map$_map; + if (!t5.containsKey$1(0, t4) && is_moving) + throw A.wrapException(A.AssertionError$("original_helices_view_order_inverse = " + original_helices_view_order_inverse.toString$0(0) + " does not contain key (helix idx) = " + t4)); + t3.new_helix_idx = t4; + if (is_moving) { + t4 = t5.$index(0, t4); + t4.toString; + if (typeof delta_view_order !== "number") + return A.iae(delta_view_order); + new_view_order = t4 + delta_view_order; + t4 = current_group.helices_view_order._list; + t5 = t4.length; + if (new_view_order >= t5) + return null; + if (!(new_view_order >= 0)) + return A.ioore(t4, new_view_order); + t3.new_helix_idx = t4[new_view_order]; + } + t3 = t2._as(new A.move_strand_closure(_box_1, t3, i, delta_forward, substrand, delta_offset)); + t4 = new A.DomainBuilder(); + t4._domain$_$v = substrand; + t1._as(t3).call$1(t4); + domain_moved = t4._domain$_build$0(); + new_substrand = domain_moved; + } else + new_substrand = substrand; + J.$indexSet$ax(_box_1.substrands, i, new_substrand); + ++i; + } + return strand.rebuild$1(new A.move_strand_closure0(_box_1)).initialize$0(0); }, - SetAppUIStateStorable_SetAppUIStateStorable: function(storables) { - var t1 = new U.SetAppUIStateStorableBuilder(); - type$.legacy_void_Function_legacy_SetAppUIStateStorableBuilder._as(new U.SetAppUIStateStorable_SetAppUIStateStorable_closure(storables)).call$1(t1); - return t1.build$0(); + domains_move_commit_reducer(strands, state, action) { + var t1, t2, strands_builder, t3, t4, t5, t6, t7, t8, t9, domains, strand_idx, new_strand, strand; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + t1 = type$.DomainsMoveCommit._as(action).domains_move; + if (t1.allowable && !t1.original_address.$eq(0, t1.current_address)) { + strands.toString; + t2 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t2); + for (t3 = t1.get$domains_moving_from_strand(), t3 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = strands._list, t7 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { + t8 = t3.__js_helper$_current; + t9 = t1.__domains_moving_from_strand; + if (t9 == null) { + t9 = A.DomainsMove.prototype.get$domains_moving_from_strand.call(t1); + t1.set$__domains_moving_from_strand(t9); + } + t9 = t9.$index(0, t8); + t9.toString; + domains = A.LinkedHashSet_LinkedHashSet$from(t9, A._arrayInstanceType(t9)._precomputed1); + strand_idx = B.JSArray_methods.indexOf$2(t6, t2._as(t8), 0); + new_strand = A.one_strand_domains_move_commit_reducer(state.get$design(), t8, domains, t1); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (new_strand.substrands._list.length === 1) { + t8 = new_strand.__first_domain; + if (t8 == null) + t8 = new_strand.__first_domain = A.Strand.prototype.get$first_domain.call(new_strand); + t8.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t5._as(strand); + if (!$.$get$isSoundMode() && t7) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (strands_builder._listOwner != null) { + t8 = strands_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t4._as(A.List_List$from(t8, true, t5))); + strands_builder.set$_listOwner(null); + } + t8 = strands_builder.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t8, strand_idx, strand); + } + return strands_builder.build$0(); + } else + return strands; }, - ShowDNASet_ShowDNASet: function(show) { - var t1 = new U.ShowDNASetBuilder(); - type$.legacy_void_Function_legacy_ShowDNASetBuilder._as(new U.ShowDNASet_ShowDNASet_closure(show)).call$1(t1); - return t1.build$0(); + one_strand_domains_move_commit_reducer(design, strand, domains_on_strand, domains_move) { + var i, domain, helix_idx, t3, t4, t5, t6, helix_idx0, t7, t8, t9, + t1 = strand.substrands, + t2 = A._instanceType(t1), + substrands = new A.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); + t1 = t2._precomputed1; + i = 0; + while (true) { + t2 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t2 !== "number") + return A.iae(t2); + if (!(i < t2)) + break; + domain = J.$index$asx(substrands._copy_on_write_list$_list, i); + if (domain instanceof A.Domain && domains_on_strand.contains$1(0, domain)) { + t2 = domains_move.original_address; + helix_idx = t2.helix_idx; + t3 = design.helices._map$_map; + t4 = t3.$index(0, helix_idx); + t4.toString; + t5 = design.groups._map$_map; + t4 = t5.$index(0, t4.group); + t4.toString; + t6 = domains_move.current_address; + helix_idx0 = t6.helix_idx; + t3 = t3.$index(0, helix_idx0); + t3.toString; + t3 = t5.$index(0, t3.group); + t3.toString; + t5 = domains_move.groups; + t7 = domains_move.helices._map$_map; + t8 = t7.$index(0, helix_idx0); + t8.toString; + t5 = t5._map$_map; + t8 = t5.$index(0, t8.group); + t9 = t8.__helices_view_order_inverse; + if (t9 == null) { + t9 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t8); + t8.set$__helices_view_order_inverse(t9); + t8 = t9; + } else + t8 = t9; + t9 = t7.$index(0, helix_idx0); + t9.toString; + t9 = t8._map$_map.$index(0, t9.idx); + t9.toString; + t8 = t7.$index(0, helix_idx); + t8.toString; + t8 = t5.$index(0, t8.group); + t5 = t8.__helices_view_order_inverse; + if (t5 == null) { + t5 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t8); + t8.set$__helices_view_order_inverse(t5); + } + t7 = t7.$index(0, helix_idx); + t7.toString; + t7 = t5._map$_map.$index(0, t7.idx); + t7.toString; + t5 = t6.offset; + t8 = t2.offset; + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t8 !== "number") + return A.iae(t8); + t4 = t1._as(A.move_domain(t3, t6.forward != t2.forward, t5 - t8, t9 - t7, domain, t4, false)); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, i, t4); + } + ++i; + } + return strand.rebuild$1(new A.one_strand_domains_move_commit_reducer_closure(substrands)); }, - ShowDomainNamesSet_ShowDomainNamesSet: function(show) { - var t1 = new U.ShowDomainNamesSetBuilder(); - type$.legacy_void_Function_legacy_ShowDomainNamesSetBuilder._as(new U.ShowDomainNamesSet_ShowDomainNamesSet_closure(show)).call$1(t1); - return t1.build$0(); + strands_dna_ends_move_commit_reducer(strands, state, action) { + var move, t1, strands_builder, strands_affected, t2, t3, t4, t5, t6, records, t7, strand_idx, ret, strand, strand0, t8, t9, t10, t11, t12, t13, _i, record, offset, ss_idx, t14, strand_builder, substrand, substrand_builder, t15, t16, t17, t18, t19, _null = null, + _s12_ = "null element", + _s5_ = "_list"; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + move = type$.DNAEndsMoveCommit._as(action).dna_ends_move; + if (move.current_offset == move.original_offset) + return strands; + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + strands_affected = A.LinkedHashSet_LinkedHashSet$_empty(type$.Strand); + for (t2 = move.moves._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = state.get$design(); + t3 = t3.dna_end; + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + } + t6 = t4.__end_to_domain; + if (t6 == null) { + t6 = A.Design.prototype.get$end_to_domain.call(t4); + t4.set$__end_to_domain(t6); + t4 = t6; + } else + t4 = t6; + t3 = t4._map$_map.$index(0, t3); + t3.toString; + t3 = t5._map$_map.$index(0, t3); + t3.toString; + strands_affected.add$1(0, t3); + } + records = A._setArrayType([], type$.JSArray_InsertionDeletionRecord); + for (t2 = A._LinkedHashSetIterator$(strands_affected, strands_affected._collection$_modifications, strands_affected.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = strands._list, t6 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t7 = t2._collection$_current; + strand_idx = B.JSArray_methods.indexOf$2(t5, t1._as(t7), 0); + ret = A.single_strand_dna_ends_commit_stop_reducer(t7, move, state.get$design()); + strand = ret.item1; + B.JSArray_methods.addAll$1(records, ret.item2); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + if (!$.$get$isSoundMode() && t6) + if (strand0 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (strands_builder._listOwner != null) { + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t7, true, t4))); + strands_builder.set$_listOwner(_null); + } + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t7, strand_idx, strand0); + } + for (t1 = records.length, t2 = type$.Insertion, t5 = type$.List_Insertion, t7 = type$.ListBuilder_Insertion, t8 = type$.int, t9 = type$.List_int, t10 = type$.ListBuilder_int, t11 = type$.Substrand, t12 = type$.List_Substrand, t13 = type$.ListBuilder_Substrand, _i = 0; _i < records.length; records.length === t1 || (0, A.throwConcurrentModificationError)(records), ++_i) { + record = records[_i]; + offset = record.offset; + strand_idx = record.strand_idx; + ss_idx = record.substrand_idx; + t14 = strands_builder.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + if (!(strand_idx >= 0 && strand_idx < t14.length)) + return A.ioore(t14, strand_idx); + strand = t14[strand_idx]; + strand.toString; + strand_builder = new A.StrandBuilder(); + strand_builder._strand$_$v = strand; + t14 = strand.__domains; + if (t14 == null) { + t14 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t14); + } + t14 = t14._list; + if (!(ss_idx >= 0 && ss_idx < t14.length)) + return A.ioore(t14, ss_idx); + substrand = t14[ss_idx]; + substrand.toString; + substrand_builder = new A.DomainBuilder(); + substrand_builder._domain$_$v = substrand; + if (B.JSArray_methods.contains$1(substrand.deletions._list, offset)) { + t14 = substrand_builder.get$_domain$_$this(); + t15 = t14._deletions; + if (t15 == null) { + t15 = new A.ListBuilder(t10); + t15.set$__ListBuilder__list_A(t9._as(A.List_List$from(B.List_empty, true, t8))); + t15.set$_listOwner(_null); + t14.set$_deletions(t15); + t14 = t15; + } else + t14 = t15; + if (t14._listOwner != null) { + t15 = t14.__ListBuilder__list_A; + t15 === $ && A.throwLateFieldNI(_s5_); + t16 = t14.$ti; + t14.set$__ListBuilder__list_A(t16._eval$1("List<1>")._as(A.List_List$from(t15, true, t16._precomputed1))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.remove$1(t14, offset); + } else { + t14 = substrand_builder.get$_domain$_$this(); + t15 = t14._insertions; + if (t15 == null) { + t15 = new A.ListBuilder(t7); + t15.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t2))); + t15.set$_listOwner(_null); + t14.set$_insertions(t15); + t14 = t15; + } else + t14 = t15; + t15 = t14.$ti; + t16 = t15._eval$1("bool(1)")._as(new A.strands_dna_ends_move_commit_reducer_closure(offset)); + if (t14._listOwner != null) { + t17 = t14.__ListBuilder__list_A; + t17 === $ && A.throwLateFieldNI(_s5_); + t14.set$__ListBuilder__list_A(t15._eval$1("List<1>")._as(A.List_List$from(t17, true, t15._precomputed1))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + A._arrayInstanceType(t14)._eval$1("bool(1)")._as(t16); + if (!!t14.fixed$length) + A.throwExpression(A.UnsupportedError$("removeWhere")); + B.JSArray_methods._removeWhere$2(t14, t16, true); + } + t14 = strand_builder.get$_strand$_$this(); + t15 = t14._substrands; + if (t15 == null) { + t15 = new A.ListBuilder(t13); + t15.set$__ListBuilder__list_A(t12._as(A.List_List$from(B.List_empty, true, t11))); + t15.set$_listOwner(_null); + t14.set$_substrands(t15); + t14 = t15; + } else + t14 = t15; + t15 = t14.$ti; + t16 = t15._precomputed1; + t17 = t16._as(substrand_builder._domain$_build$0()); + t18 = !$.$get$isSoundMode(); + if (t18 && !t16._is(null)) + if (t17 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (t14._listOwner != null) { + t19 = t14.__ListBuilder__list_A; + t19 === $ && A.throwLateFieldNI(_s5_); + t14.set$__ListBuilder__list_A(t15._eval$1("List<1>")._as(A.List_List$from(t19, true, t16))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t14, ss_idx, t17); + strand = strand_builder._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t14 = strand.__first_domain; + if (t14 == null) + t14 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t14.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + if (t18 && t6) + if (strand0 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (strands_builder._listOwner != null) { + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(strands_builder.__ListBuilder__list_A, true, t4))); + strands_builder.set$_listOwner(_null); + } + B.JSArray_methods.$indexSet(strands_builder.__ListBuilder__list_A, strand_idx, strand0); + } + return strands_builder.build$0(); }, - ShowStrandNamesSet_ShowStrandNamesSet: function(show) { - var t1 = new U.ShowStrandNamesSetBuilder(); - type$.legacy_void_Function_legacy_ShowStrandNamesSetBuilder._as(new U.ShowStrandNamesSet_ShowStrandNamesSet_closure(show)).call$1(t1); - return t1.build$0(); + strands_dna_extensions_move_commit_reducer(strands, state, action) { + var t1, strands_builder, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, strand, t16, t17, t18, substrand_idx, substrands_builder, t19, extension_start_point, _null = null, _s5_ = "_list", + _s12_ = "null element"; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.DNAExtensionsMoveCommit._as(action); + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + for (t2 = action.dna_extensions_move, t3 = t2.moves._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = type$.nullable_void_Function_StrandBuilder, t7 = type$.void_Function_StrandBuilder, t8 = type$.nullable_void_Function_ExtensionBuilder, t9 = type$.void_Function_ExtensionBuilder, t10 = strands._list, t11 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { + t12 = t3.__interceptors$_current; + t13 = state.get$design(); + t14 = t13.__substrand_to_strand; + if (t14 == null) { + t14 = A.Design.prototype.get$substrand_to_strand.call(t13); + t13.set$__substrand_to_strand(t14); + t13 = t14; + } else + t13 = t14; + t14 = state.get$design(); + t15 = t14.__end_to_extension; + if (t15 == null) { + t15 = A.Design.prototype.get$end_to_extension.call(t14); + t14.set$__end_to_extension(t15); + t14 = t15; + } else + t14 = t15; + t15 = t12.dna_end; + t14 = t14._map$_map.$index(0, t15); + t14.toString; + t14 = t13._map$_map.$index(0, t14); + t14.toString; + strand_idx = B.JSArray_methods.indexOf$2(t10, t1._as(t14), 0); + t14 = strands_builder.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + if (!(strand_idx >= 0 && strand_idx < t14.length)) + return A.ioore(t14, strand_idx); + strand = t14[strand_idx]; + t14 = state.get$design(); + t13 = t14.__end_to_extension; + if (t13 == null) { + t13 = A.Design.prototype.get$end_to_extension.call(t14); + t14.set$__end_to_extension(t13); + } + t13 = t13._map$_map.$index(0, t15); + t13.toString; + t14 = strand.substrands; + t14.toString; + t16 = t14.$ti; + t17 = t16._precomputed1; + t18 = t14._list; + substrand_idx = B.JSArray_methods.indexOf$2(t18, t17._as(t13), 0); + substrands_builder = new A.ListBuilder(t16._eval$1("ListBuilder<1>")); + t19 = t16._eval$1("_BuiltList<1>"); + t16 = t16._eval$1("List<1>"); + if (t19._is(t14)) { + t19._as(t14); + substrands_builder.set$__ListBuilder__list_A(t16._as(t18)); + substrands_builder.set$_listOwner(t14); + } else { + substrands_builder.set$__ListBuilder__list_A(t16._as(A.List_List$from(t14, true, t17))); + substrands_builder.set$_listOwner(_null); + } + extension_start_point = t12.attached_end_position; + t12 = t2.current_point_of$1(t15); + t12.toString; + t12 = t9._as(new A.strands_dna_extensions_move_commit_reducer_closure(A.compute_extension_length_and_angle_from_point(t12, extension_start_point, t13, t13.adjacent_domain, state.get$design().geometry))); + t14 = new A.ExtensionBuilder(); + t14._extension$_$v = t13; + t8._as(t12).call$1(t14); + t12 = t17._as(t14._extension$_build$0()); + t13 = !$.$get$isSoundMode(); + if (t13 && !t17._is(null)) + if (t12 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (substrands_builder._listOwner != null) { + t14 = substrands_builder.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + substrands_builder.set$__ListBuilder__list_A(t16._as(A.List_List$from(t14, true, t17))); + substrands_builder.set$_listOwner(_null); + } + t14 = substrands_builder.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t14, substrand_idx, t12); + t12 = t7._as(new A.strands_dna_extensions_move_commit_reducer_closure0(substrands_builder)); + t14 = new A.StrandBuilder(); + t14._strand$_$v = strand; + t6._as(t12).call$1(t14); + t12 = t5._as(t14._strand$_build$0()); + if (t13 && t11) + if (t12 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (strands_builder._listOwner != null) { + strands_builder.set$__ListBuilder__list_A(t4._as(A.List_List$from(strands_builder.__ListBuilder__list_A, true, t5))); + strands_builder.set$_listOwner(_null); + } + B.JSArray_methods.$indexSet(strands_builder.__ListBuilder__list_A, strand_idx, t12); + } + return strands_builder.build$0(); }, - ShowStrandLabelsSet_ShowStrandLabelsSet: function(show) { - var t1 = new U.ShowStrandLabelsSetBuilder(); - type$.legacy_void_Function_legacy_ShowStrandLabelsSetBuilder._as(new U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure(show)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer(strand, all_move, design) { + var t3, t4, i, t5, substrand, t6, bound_ss, _i, dnaend, remaining_deletions, remaining_insertions, t7, t8, t9, t10, deletions_removed, _i0, offset, other_dom, other_ss_idx, new_substrand, + records = A._setArrayType([], type$.JSArray_InsertionDeletionRecord), + t1 = strand.substrands, + t2 = A._instanceType(t1), + substrands = new A.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); + t1 = t2._precomputed1; + t2 = all_move.moves; + t3 = type$.nullable_void_Function_DomainBuilder; + t4 = type$.void_Function_DomainBuilder; + i = 0; + while (true) { + t5 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t5 !== "number") + return A.iae(t5); + if (!(i < t5)) + break; + substrand = J.$index$asx(substrands._copy_on_write_list$_list, i); + if (substrand instanceof A.Domain) { + t5 = substrand.__dnaend_start; + if (t5 == null) + t5 = substrand.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(substrand); + t6 = substrand.__dnaend_end; + t5 = [t5, t6 == null ? substrand.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(substrand) : t6]; + bound_ss = substrand; + _i = 0; + for (; _i < 2; ++_i) { + dnaend = t5[_i]; + if (A.find_move(t2, dnaend) != null) { + t6 = all_move.current_capped_offset_of$1(dnaend); + t6.toString; + remaining_deletions = A.get_remaining_deletions(substrand, t6, dnaend); + remaining_insertions = A.get_remaining_insertions(substrand, t6, dnaend); + t7 = bound_ss.deletions; + t7.toString; + t8 = t7._list; + t9 = A._arrayInstanceType(t8); + t10 = t9._eval$1("WhereIterable<1>"); + deletions_removed = A.List_List$of(new A.WhereIterable(t8, t9._eval$1("bool(1)")._as(t7.$ti._eval$1("bool(1)")._as(new A.single_strand_dna_ends_commit_stop_reducer_closure(remaining_deletions))), t10), true, t10._eval$1("Iterable.E")); + t10 = bound_ss.insertions; + t10.toString; + t7 = t10._list; + t9 = A._arrayInstanceType(t7); + t8 = t9._eval$1("MappedIterable<1,int>"); + for (t7 = B.JSArray_methods.$add(deletions_removed, A.List_List$of(new A.MappedIterable(new A.WhereIterable(t7, t9._eval$1("bool(1)")._as(t10.$ti._eval$1("bool(1)")._as(new A.single_strand_dna_ends_commit_stop_reducer_closure0(remaining_insertions))), t9._eval$1("WhereIterable<1>")), t9._eval$1("int(1)")._as(new A.single_strand_dna_ends_commit_stop_reducer_closure1()), t8), true, t8._eval$1("Iterable.E"))), t8 = t7.length, _i0 = 0; _i0 < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i0) { + offset = t7[_i0]; + other_dom = A.find_paired_domain(design, bound_ss, offset); + if (other_dom != null) { + t9 = design.__substrand_to_strand; + if (t9 == null) { + t9 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t9); + } + t9 = t9._map$_map.$index(0, other_dom); + t9.toString; + t10 = t9.substrands; + t10.toString; + other_ss_idx = B.JSArray_methods.indexOf$2(t10._list, t10.$ti._precomputed1._as(other_dom), 0); + t10 = design.strands; + t10.toString; + B.JSArray_methods.add$1(records, new A.InsertionDeletionRecord(offset, B.JSArray_methods.indexOf$2(t10._list, t10.$ti._precomputed1._as(t9), 0), other_ss_idx)); + } + } + t6 = t4._as(new A.single_strand_dna_ends_commit_stop_reducer_closure2(dnaend, substrand, t6)); + t7 = new A.DomainBuilder(); + t7._domain$_$v = bound_ss; + t3._as(t6).call$1(t7); + bound_ss = t7._domain$_build$0(); + bound_ss.toString; + t6 = t4._as(new A.single_strand_dna_ends_commit_stop_reducer_closure3(remaining_deletions, remaining_insertions)); + t7 = new A.DomainBuilder(); + t7._domain$_$v = bound_ss; + t3._as(t6).call$1(t7); + bound_ss = t7._domain$_build$0(); + } + } + new_substrand = bound_ss; + } else + new_substrand = substrand; + t1._as(new_substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, i, new_substrand); + ++i; + } + return new A.Tuple2(strand.rebuild$1(new A.single_strand_dna_ends_commit_stop_reducer_closure4(substrands)), records, type$.Tuple2_of_Strand_and_List_InsertionDeletionRecord); }, - ShowDomainLabelsSet_ShowDomainLabelsSet: function(show) { - var t1 = new U.ShowDomainLabelsSetBuilder(); - type$.legacy_void_Function_legacy_ShowDomainLabelsSetBuilder._as(new U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure(show)).call$1(t1); - return t1.build$0(); + get_remaining_deletions(substrand, new_offset, dnaend) { + var t2, t3, t4, + t1 = substrand.deletions; + t1.toString; + t2 = t1._list; + t3 = A._arrayInstanceType(t2); + t4 = t3._eval$1("WhereIterable<1>"); + return A.List_List$of(new A.WhereIterable(t2, t3._eval$1("bool(1)")._as(t1.$ti._eval$1("bool(1)")._as(new A.get_remaining_deletions_closure(substrand, dnaend, new_offset))), t4), true, t4._eval$1("Iterable.E")); }, - ShowModificationsSet_ShowModificationsSet: function(show) { - var t1 = new U.ShowModificationsSetBuilder(); - type$.legacy_void_Function_legacy_ShowModificationsSetBuilder._as(new U.ShowModificationsSet_ShowModificationsSet_closure(show)).call$1(t1); - return t1.build$0(); + get_remaining_insertions(substrand, new_offset, dnaend) { + var t2, t3, t4, + t1 = substrand.insertions; + t1.toString; + t2 = t1._list; + t3 = A._arrayInstanceType(t2); + t4 = t3._eval$1("WhereIterable<1>"); + return A.List_List$of(new A.WhereIterable(t2, t3._eval$1("bool(1)")._as(t1.$ti._eval$1("bool(1)")._as(new A.get_remaining_insertions_closure(substrand, dnaend, new_offset))), t4), true, t4._eval$1("Iterable.E")); }, - ModificationFontSizeSet_ModificationFontSizeSet: function(font_size) { - var t1 = new U.ModificationFontSizeSetBuilder(); - type$.legacy_void_Function_legacy_ModificationFontSizeSetBuilder._as(new U.ModificationFontSizeSet_ModificationFontSizeSet_closure(font_size)).call$1(t1); - return t1.build$0(); + find_move(moves, end) { + var t1, t2, t3; + for (t1 = moves._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = J.getInterceptor$(end); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + if (t2.$eq(end, t3.dna_end)) + return t3; + } + return null; }, - MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet: function(font_size) { - var t1 = new U.MajorTickOffsetFontSizeSetBuilder(); - type$.legacy_void_Function_legacy_MajorTickOffsetFontSizeSetBuilder._as(new U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(font_size)).call$1(t1); - return t1.build$0(); + strand_create(strands, state, action) { + var helix_idx, start, end, $forward, t1, _null = null; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.StrandCreateCommit._as(action); + helix_idx = action.helix_idx; + start = action.start; + end = action.end; + $forward = action.forward; + for (t1 = state.get$design().domains_on_helix_at$2(helix_idx, start).union$1(state.get$design().domains_on_helix_at$2(helix_idx, end - 1))._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + if (t1.get$current(t1).forward === $forward) + return strands; + return strands.rebuild$1(new A.strand_create_closure(A.Strand_Strand(A._setArrayType([A.Domain_Domain(_null, end, $forward, helix_idx, _null, true, true, false, start)], type$.JSArray_Substrand), false, action.color, _null, false, _null, _null, _null, B.Map_empty0, _null, _null))); }, - MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet: function(font_size) { - var t1 = new U.MajorTickWidthFontSizeSetBuilder(); - type$.legacy_void_Function_legacy_MajorTickWidthFontSizeSetBuilder._as(new U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(font_size)).call$1(t1); - return t1.build$0(); + strands_single_strand_reducer(strands, action) { + var strand, t1, strand_idx, strands_builder; + type$.BuiltList_Strand._as(strands); + type$.SingleStrandAction._as(action); + strand = action.get$strand(); + strands.toString; + t1 = strands.$ti._precomputed1; + strand_idx = B.JSArray_methods.indexOf$2(strands._list, t1._as(strand), 0); + if (strand_idx < 0) + return strands; + strand = $.$get$single_strand_reducer().call$2(strand, action).initialize$0(0); + strands_builder = A.ListBuilder_ListBuilder(strands, t1); + t1 = strands_builder.$ti._precomputed1; + t1._as(strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (strand == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(strands_builder.get$_safeList(), strand_idx, strand); + return strands_builder.build$0(); }, - SetModificationDisplayConnector_SetModificationDisplayConnector: function(show) { - var t1 = new U.SetModificationDisplayConnectorBuilder(); - type$.legacy_void_Function_legacy_SetModificationDisplayConnectorBuilder._as(new U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure(show)).call$1(t1); - return t1.build$0(); + vendor_fields_remove_reducer(strand, action) { + type$.Strand._as(strand); + type$.VendorFieldsRemove._as(action); + return strand.rebuild$1(new A.vendor_fields_remove_reducer_closure()); }, - ShowMismatchesSet_ShowMismatchesSet: function(show) { - var t1 = new U.ShowMismatchesSetBuilder(); - type$.legacy_void_Function_legacy_ShowMismatchesSetBuilder._as(new U.ShowMismatchesSet_ShowMismatchesSet_closure(show)).call$1(t1); - return t1.build$0(); + plate_well_vendor_fields_remove_reducer(strand, action) { + type$.Strand._as(strand); + type$.PlateWellVendorFieldsRemove._as(action); + if (strand.vendor_fields != null) + return strand.rebuild$1(new A.plate_well_vendor_fields_remove_reducer_closure()); + else + return strand; }, - ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet: function(show_domain_name_mismatches) { - var t1 = new U.ShowDomainNameMismatchesSetBuilder(); - type$.legacy_void_Function_legacy_ShowDomainNameMismatchesSetBuilder._as(new U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(show_domain_name_mismatches)).call$1(t1); - return t1.build$0(); + plate_well_vendor_fields_assign_reducer(strand, action) { + return type$.Strand._as(strand).rebuild$1(new A.plate_well_vendor_fields_assign_reducer_closure(type$.PlateWellVendorFieldsAssign._as(action))); }, - ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet: function(show_unpaired_insertion_deletions) { - var t1 = new U.ShowUnpairedInsertionDeletionsSetBuilder(); - type$.legacy_void_Function_legacy_ShowUnpairedInsertionDeletionsSetBuilder._as(new U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(show_unpaired_insertion_deletions)).call$1(t1); - return t1.build$0(); + scale_purification_vendor_fields_assign_reducer(strand, action) { + return type$.Strand._as(strand).rebuild$1(new A.scale_purification_vendor_fields_assign_reducer_closure(type$.ScalePurificationVendorFieldsAssign._as(action))); }, - OxviewShowSet_OxviewShowSet: function(show) { - var t1 = new U.OxviewShowSetBuilder(); - type$.legacy_void_Function_legacy_OxviewShowSetBuilder._as(new U.OxviewShowSet_OxviewShowSet_closure(show)).call$1(t1); - return t1.build$0(); + strand_name_set_reducer(strand, action) { + return type$.Strand._as(strand).rebuild$1(new A.strand_name_set_reducer_closure(type$.StrandNameSet._as(action))); }, - SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function(show) { - var t1 = new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(); - type$.legacy_void_Function_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder._as(new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(show)).call$1(t1); - return t1.build$0(); + strand_label_set_reducer(strand, action) { + return type$.Strand._as(strand).rebuild$1(new A.strand_label_set_reducer_closure(type$.StrandLabelSet._as(action))); }, - DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet: function(show) { - var t1 = new U.DisplayMajorTicksOffsetsSetBuilder(); - type$.legacy_void_Function_legacy_DisplayMajorTicksOffsetsSetBuilder._as(new U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(show)).call$1(t1); - return t1.build$0(); + extension_add_reducer(strand, action) { + var t1, t2, substrands, t3, t4, adjacent_domain, ext, _null = null; + type$.Strand._as(strand); + type$.ExtensionAdd._as(action); + t1 = strand.substrands; + t2 = t1._list; + t1 = A._instanceType(t1); + substrands = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = action.is_5p; + t4 = type$.Domain; + adjacent_domain = t3 ? t4._as(B.JSArray_methods.get$first(t2)) : t4._as(B.JSArray_methods.get$last(t2)); + t2 = action.num_bases; + ext = A.Extension_Extension(adjacent_domain, _null, 35, 1.5, _null, t3, strand.is_scaffold, _null, _null, t2, _null); + t1 = t1._precomputed1; + if (t3) { + t1._as(ext); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(substrands._copy_on_write_list$_list, 0, ext); + } else { + t1._as(ext); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(substrands._copy_on_write_list$_list, ext); + } + return strand.rebuild$1(new A.extension_add_reducer_closure(substrands)); + }, + modification_add_reducer(strand, action) { + var mod, strand_with_new_modification; + type$.Strand._as(strand); + type$.ModificationAdd._as(action); + mod = action.modification; + if (mod instanceof A.ModificationInternal) + strand_with_new_modification = strand.rebuild$1(new A.modification_add_reducer_closure(action, mod)); + else if (mod instanceof A.Modification3Prime) + strand_with_new_modification = strand.rebuild$1(new A.modification_add_reducer_closure0(mod)); + else if (mod instanceof A.Modification5Prime) + strand_with_new_modification = strand.rebuild$1(new A.modification_add_reducer_closure1(mod)); + else + throw A.wrapException(A.AssertionError$(string$.modifi)); + return strand_with_new_modification; }, - SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices: function(show) { - var t1 = new U.SetDisplayMajorTickWidthsAllHelicesBuilder(); - type$.legacy_void_Function_legacy_SetDisplayMajorTickWidthsAllHelicesBuilder._as(new U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(show)).call$1(t1); - return t1.build$0(); + modification_remove_reducer(strand, action) { + var mod, strand_with_new_modification; + type$.Strand._as(strand); + type$.ModificationRemove._as(action); + mod = action.modification; + if (mod instanceof A.ModificationInternal) + strand_with_new_modification = strand.rebuild$1(new A.modification_remove_reducer_closure(action)); + else if (mod instanceof A.Modification3Prime) + strand_with_new_modification = strand.rebuild$1(new A.modification_remove_reducer_closure0()); + else if (mod instanceof A.Modification5Prime) + strand_with_new_modification = strand.rebuild$1(new A.modification_remove_reducer_closure1()); + else + throw A.wrapException(A.AssertionError$(string$.modifi)); + return strand_with_new_modification; }, - SetDisplayMajorTickWidths_SetDisplayMajorTickWidths: function(show) { - var t1 = new U.SetDisplayMajorTickWidthsBuilder(); - type$.legacy_void_Function_legacy_SetDisplayMajorTickWidthsBuilder._as(new U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(show)).call$1(t1); - return t1.build$0(); + modification_edit_reducer(strand, action) { + var mod, strand_with_edited_modification; + type$.Strand._as(strand); + type$.ModificationEdit._as(action); + mod = action.modification; + if (mod instanceof A.ModificationInternal) + strand_with_edited_modification = strand.rebuild$1(new A.modification_edit_reducer_closure(action, mod)); + else if (mod instanceof A.Modification3Prime) + strand_with_edited_modification = strand.rebuild$1(new A.modification_edit_reducer_closure0(mod)); + else if (mod instanceof A.Modification5Prime) + strand_with_edited_modification = strand.rebuild$1(new A.modification_edit_reducer_closure1(mod)); + else + throw A.wrapException(A.AssertionError$(string$.modifi)); + return strand_with_edited_modification; }, - SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices: function(only_display_selected_helices) { - var t1 = new U.SetOnlyDisplaySelectedHelicesBuilder(); - type$.legacy_void_Function_legacy_SetOnlyDisplaySelectedHelicesBuilder._as(new U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(only_display_selected_helices)).call$1(t1); - return t1.build$0(); + scaffold_set_reducer(strand, action) { + type$.Strand._as(strand); + type$.ScaffoldSet._as(action); + return strand.rebuild$1(new A.scaffold_set_reducer_closure(action, action.is_scaffold ? $.$get$ColorCycler_scaffold_color() : $.$get$color_cycler().next$0(0))); }, - LoadDNAFile_LoadDNAFile: function($content, dna_file_type, filename, unit_testing, write_local_storage) { - var t1 = new U.LoadDNAFileBuilder(); - type$.legacy_void_Function_legacy_LoadDNAFileBuilder._as(new U.LoadDNAFile_LoadDNAFile_closure($content, filename, write_local_storage, unit_testing, dna_file_type)).call$1(t1); - return t1.build$0(); + strand_or_substrand_color_set_reducer(strand, action) { + var substrand, t1, t2, t3, substrand_idx, substrands; + type$.Strand._as(strand); + type$.StrandOrSubstrandColorSet._as(action); + substrand = action.substrand; + if (substrand == null) + strand = strand.rebuild$1(new A.strand_or_substrand_color_set_reducer_closure(action)); + else { + t1 = strand.substrands; + t1.toString; + t2 = t1.$ti; + t3 = t2._precomputed1; + t1 = t1._list; + substrand_idx = B.JSArray_methods.indexOf$2(t1, t3._as(substrand), 0); + if (substrand instanceof A.Domain) + substrand = substrand.rebuild$1(new A.strand_or_substrand_color_set_reducer_closure0(action)); + else if (substrand instanceof A.Loopout) + substrand = substrand.rebuild$1(new A.strand_or_substrand_color_set_reducer_closure1(action)); + else if (substrand instanceof A.Extension) + substrand = substrand.rebuild$1(new A.strand_or_substrand_color_set_reducer_closure2(action)); + else + throw A.wrapException(A.AssertionError$(string$.substr)); + substrands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + strand = strand.rebuild$1(new A.strand_or_substrand_color_set_reducer_closure3(substrands)); + } + return strand; }, - PrepareToLoadDNAFile_PrepareToLoadDNAFile: function($content, dna_file_type, filename, write_local_storage) { - var t1 = new U.PrepareToLoadDNAFileBuilder(); - type$.legacy_void_Function_legacy_PrepareToLoadDNAFileBuilder._as(new U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure($content, filename, write_local_storage, false, dna_file_type)).call$1(t1); - return t1.build$0(); + modifications_5p_edit_reducer(strands, state, action) { + var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.Modifications5PrimeEdit._as(action); + t1 = strands._list; + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = A._setArrayType([], type$.JSArray_String); + for (t4 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__id; + t3.push(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6); + } + for (t4 = action.modifications._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder; t4.moveNext$0();) { + t7 = t4.__interceptors$_current.strand; + t8 = t7.__id; + strand_idx = B.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = A.Strand.prototype.get$id.call(t7, t7) : t8); + if (!(strand_idx >= 0 && strand_idx < t1.length)) + return A.ioore(t1, strand_idx); + strand = t1[strand_idx]; + strand.toString; + t7 = t6._as(new A.modifications_5p_edit_reducer_closure(action)); + t8 = new A.StrandBuilder(); + t8._strand$_$v = strand; + t5._as(t7).call$1(t8); + strand = t8._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return A._BuiltList$of(new_strands, type$.Strand); }, - NewDesignSet_NewDesignSet: function(design, short_description_value) { - var t1 = new U.NewDesignSetBuilder(); - type$.legacy_void_Function_legacy_NewDesignSetBuilder._as(new U.NewDesignSet_NewDesignSet_closure(design, short_description_value)).call$1(t1); - return t1.build$0(); + modifications_3p_edit_reducer(strands, state, action) { + var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.Modifications3PrimeEdit._as(action); + t1 = strands._list; + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = A._setArrayType([], type$.JSArray_String); + for (t4 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__id; + t3.push(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6); + } + for (t4 = action.modifications._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder; t4.moveNext$0();) { + t7 = t4.__interceptors$_current.strand; + t8 = t7.__id; + strand_idx = B.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = A.Strand.prototype.get$id.call(t7, t7) : t8); + if (!(strand_idx >= 0 && strand_idx < t1.length)) + return A.ioore(t1, strand_idx); + strand = t1[strand_idx]; + strand.toString; + t7 = t6._as(new A.modifications_3p_edit_reducer_closure(action)); + t8 = new A.StrandBuilder(); + t8._strand$_$v = strand; + t5._as(t7).call$1(t8); + strand = t8._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return A._BuiltList$of(new_strands, type$.Strand); }, - ShowMouseoverDataSet_ShowMouseoverDataSet: function(show) { - var t1 = new U.ShowMouseoverDataSetBuilder(); - type$.legacy_void_Function_legacy_ShowMouseoverDataSetBuilder._as(new U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure(show)).call$1(t1); - return t1.build$0(); + modifications_int_edit_reducer(strands, state, action) { + var strand_id_to_mods, t1, t2, t3, t4, t5, new_strands, t6, t7, t8, t9, strand_idx, strand, t10, t11, mods_int, strand0; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.ModificationsInternalEdit._as(action); + strand_id_to_mods = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Set_SelectableModificationInternal); + for (t1 = action.modifications._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.SelectableModificationInternal; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.strand; + t5 = t4.__id; + if (!strand_id_to_mods.containsKey$1(0, t5 == null ? t4.__id = A.Strand.prototype.get$id.call(t4, t4) : t5)) { + t5 = t4.__id; + if (t5 == null) + t5 = t4.__id = A.Strand.prototype.get$id.call(t4, t4); + strand_id_to_mods.$indexSet(0, t5, A.LinkedHashSet_LinkedHashSet$_empty(t2)); + } + t5 = t4.__id; + strand_id_to_mods.$index(0, t5 == null ? t4.__id = A.Strand.prototype.get$id.call(t4, t4) : t5).add$1(0, t3); + } + t1 = strands._list; + t2 = A._instanceType(strands); + new_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = A._setArrayType([], type$.JSArray_String); + for (t4 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__id; + t3.push(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6); + } + for (t4 = A.LinkedHashMapKeyIterator$(strand_id_to_mods, strand_id_to_mods._modifications, strand_id_to_mods.$ti._precomputed1), t2 = t2._precomputed1, t5 = type$.nullable_void_Function_StrandBuilder, t6 = type$.void_Function_StrandBuilder, t7 = action.new_modification; t4.moveNext$0();) { + t8 = t4.__js_helper$_current; + t9 = strand_id_to_mods.$index(0, t8); + t9.toString; + strand_idx = B.JSArray_methods.indexOf$1(t3, t8); + if (!(strand_idx >= 0 && strand_idx < t1.length)) + return A.ioore(t1, strand_idx); + strand = t1[strand_idx]; + t8 = strand.modifications_int; + t10 = t8._map$_map; + t11 = A._instanceType(t8); + t11 = t11._eval$1("@<1>")._bind$1(t11._rest[1]); + mods_int = new A.CopyOnWriteMap(t8._mapFactory, t10, t11._eval$1("CopyOnWriteMap<1,2>")); + for (t8 = new A._LinkedHashSetIterator(t9, t9._collection$_modifications, A._instanceType(t9)._eval$1("_LinkedHashSetIterator<1>")), t8._collection$_cell = t9._collection$_first, t9 = t11._rest[0], t11 = t11._rest[1]; t8.moveNext$0();) { + t10 = t9._as(t8._collection$_current.dna_idx); + t11._as(t7); + mods_int._maybeCopyBeforeWrite$0(); + mods_int._copy_on_write_map$_map.$indexSet(0, t10, t7); + } + t8 = t6._as(new A.modifications_int_edit_reducer_closure(mods_int)); + t9 = new A.StrandBuilder(); + t9._strand$_$v = strand; + t5._as(t8).call$1(t9); + strand = t9._strand$_build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (strand.substrands._list.length === 1) { + t8 = strand.__first_domain; + if (t8 == null) + t8 = strand.__first_domain = A.Strand.prototype.get$first_domain.call(strand); + t8.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return A._BuiltList$of(new_strands, type$.Strand); }, - HelixRollSetAtOther_HelixRollSetAtOther: function(helix_idx, helix_other_idx, $forward, anchor) { - var t1 = new U.HelixRollSetAtOtherBuilder(); - type$.legacy_void_Function_legacy_HelixRollSetAtOtherBuilder._as(new U.HelixRollSetAtOther_HelixRollSetAtOther_closure(helix_idx, helix_other_idx, $forward, anchor)).call$1(t1); - return t1.build$0(); + substrand_name_set_reducer_closure: function substrand_name_set_reducer_closure(t0) { + this.action = t0; }, - ErrorMessageSet_ErrorMessageSet: function(error_message) { - var t1 = new U.ErrorMessageSetBuilder(); - type$.legacy_void_Function_legacy_ErrorMessageSetBuilder._as(new U.ErrorMessageSet_ErrorMessageSet_closure(error_message)).call$1(t1); - return t1.build$0(); + substrand_name_set_reducer_closure0: function substrand_name_set_reducer_closure0(t0) { + this.action = t0; }, - SelectionBoxCreate_SelectionBoxCreate: function(point, toggle, is_main) { - var t1 = new U.SelectionBoxCreateBuilder(); - type$.legacy_void_Function_legacy_SelectionBoxCreateBuilder._as(new U.SelectionBoxCreate_SelectionBoxCreate_closure(point, toggle, is_main)).call$1(t1); - return t1.build$0(); + substrand_name_set_reducer_closure1: function substrand_name_set_reducer_closure1(t0) { + this.action = t0; }, - SelectionBoxSizeChange_SelectionBoxSizeChange: function(point, is_main) { - var t1 = new U.SelectionBoxSizeChangeBuilder(); - type$.legacy_void_Function_legacy_SelectionBoxSizeChangeBuilder._as(new U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure(point, is_main)).call$1(t1); - return t1.build$0(); + substrand_name_set_reducer_closure2: function substrand_name_set_reducer_closure2(t0) { + this.substrands = t0; }, - SelectionBoxRemove_SelectionBoxRemove: function(is_main) { - var t1 = new U.SelectionBoxRemoveBuilder(); - type$.legacy_void_Function_legacy_SelectionBoxRemoveBuilder._as(new U.SelectionBoxRemove_SelectionBoxRemove_closure(is_main)).call$1(t1); - return t1.build$0(); + substrand_label_set_reducer_closure: function substrand_label_set_reducer_closure(t0) { + this.action = t0; }, - MouseGridPositionSideUpdate_MouseGridPositionSideUpdate: function(grid_position) { - var t1 = new U.MouseGridPositionSideUpdateBuilder(); - type$.legacy_void_Function_legacy_MouseGridPositionSideUpdateBuilder._as(new U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(grid_position)).call$1(t1); - return t1.build$0(); + substrand_label_set_reducer_closure0: function substrand_label_set_reducer_closure0(t0) { + this.action = t0; }, - MouseGridPositionSideClear_MouseGridPositionSideClear: function() { - var t1 = new U.MouseGridPositionSideClearBuilder(); - type$.legacy_void_Function_legacy_MouseGridPositionSideClearBuilder._as(new U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure()).call$1(t1); - return t1.build$0(); + substrand_label_set_reducer_closure1: function substrand_label_set_reducer_closure1(t0) { + this.action = t0; }, - Select_Select: function(selectable, only, toggle) { - var t1 = new U.SelectBuilder(); - type$.legacy_void_Function_legacy_SelectBuilder._as(new U.Select_Select_closure(selectable, toggle, only)).call$1(t1); - return t1.build$0(); + substrand_label_set_reducer_closure2: function substrand_label_set_reducer_closure2(t0) { + this.substrands = t0; }, - SelectionsClear_SelectionsClear: function() { - var t1 = new U.SelectionsClearBuilder(); - type$.legacy_void_Function_legacy_SelectionsClearBuilder._as(new U.SelectionsClear_SelectionsClear_closure()).call$1(t1); - return t1.build$0(); + one_strand_strands_move_copy_commit_reducer_closure: function one_strand_strands_move_copy_commit_reducer_closure() { }, - SelectAllSelectable_SelectAllSelectable: function(current_helix_group_only) { - var t1 = new U.SelectAllSelectableBuilder(); - type$.legacy_void_Function_legacy_SelectAllSelectableBuilder._as(new U.SelectAllSelectable_SelectAllSelectable_closure(current_helix_group_only)).call$1(t1); - return t1.build$0(); + move_strand_closure: function move_strand_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_1 = t0; + _._box_0 = t1; + _.i = t2; + _.delta_forward = t3; + _.substrand = t4; + _.delta_offset = t5; }, - DeleteAllSelected_DeleteAllSelected: function() { - var t1 = new U.DeleteAllSelectedBuilder(); - type$.legacy_void_Function_legacy_DeleteAllSelectedBuilder._as(new U.DeleteAllSelected_DeleteAllSelected_closure()).call$1(t1); - return t1.build$0(); + move_strand__closure: function move_strand__closure(t0) { + this.delta_offset = t0; }, - HelixAdd_HelixAdd: function(grid_position, position) { - var t1; - if (grid_position == null && position == null) - throw H.wrapException(P.AssertionError$("cannot have both grid_position and position null in HelixAdd")); - t1 = new U.HelixAddBuilder(); - type$.legacy_void_Function_legacy_HelixAddBuilder._as(new U.HelixAdd_HelixAdd_closure(grid_position, position)).call$1(t1); - return t1.build$0(); + move_strand__closure0: function move_strand__closure0(t0) { + this.delta_offset = t0; }, - HelixRemove_HelixRemove: function(helix_idx) { - var t1 = new U.HelixRemoveBuilder(); - type$.legacy_void_Function_legacy_HelixRemoveBuilder._as(new U.HelixRemove_HelixRemove_closure(helix_idx)).call$1(t1); - return t1.build$0(); + move_strand___closure: function move_strand___closure(t0, t1) { + this.i = t0; + this.delta_offset = t1; }, - HelixSelect_HelixSelect: function(helix_idx, toggle) { - var t1 = new U.HelixSelectBuilder(); - type$.legacy_void_Function_legacy_HelixSelectBuilder._as(new U.HelixSelect_HelixSelect_closure(helix_idx, toggle)).call$1(t1); - return t1.build$0(); + move_strand_closure0: function move_strand_closure0(t0) { + this._box_1 = t0; }, - HelixSelectionsClear_HelixSelectionsClear: function() { - var t1 = new U.HelixSelectionsClearBuilder(); - type$.legacy_void_Function_legacy_HelixSelectionsClearBuilder._as(new U.HelixSelectionsClear_HelixSelectionsClear_closure()).call$1(t1); - return t1.build$0(); + one_strand_domains_move_commit_reducer_closure: function one_strand_domains_move_commit_reducer_closure(t0) { + this.substrands = t0; }, - HelixSelectionsAdjust_HelixSelectionsAdjust: function(toggle, selection_box) { - var t1 = new U.HelixSelectionsAdjustBuilder(); - type$.legacy_void_Function_legacy_HelixSelectionsAdjustBuilder._as(new U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure(toggle, selection_box)).call$1(t1); - return t1.build$0(); + strands_dna_ends_move_commit_reducer_closure: function strands_dna_ends_move_commit_reducer_closure(t0) { + this.offset = t0; }, - HelixIdxsChange_HelixIdxsChange: function(idx_replacements) { - var t1 = new U.HelixIdxsChangeBuilder(); - type$.legacy_void_Function_legacy_HelixIdxsChangeBuilder._as(new U.HelixIdxsChange_HelixIdxsChange_closure(idx_replacements)).call$1(t1); - return t1.build$0(); + strands_dna_extensions_move_commit_reducer_closure: function strands_dna_extensions_move_commit_reducer_closure(t0) { + this.length_and_angle = t0; }, - ExportDNA_ExportDNA: function(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, export_dna_format, include_only_selected_strands, include_scaffold, strand_order) { - var t1 = new U.ExportDNABuilder(); - type$.legacy_void_Function_legacy_ExportDNABuilder._as(new U.ExportDNA_ExportDNA_closure(include_scaffold, include_only_selected_strands, exclude_selected_strands, export_dna_format, delimiter, domain_delimiter, strand_order, column_major_strand, column_major_plate)).call$1(t1); - return t1.build$0(); + strands_dna_extensions_move_commit_reducer_closure0: function strands_dna_extensions_move_commit_reducer_closure0(t0) { + this.substrands_builder = t0; }, - ExportCanDoDNA_ExportCanDoDNA: function() { - var _$result, - t1 = new U.ExportCanDoDNABuilder(); - type$.legacy_void_Function_legacy_ExportCanDoDNABuilder._as(new U.ExportCanDoDNA_ExportCanDoDNA_closure()).call$1(t1); - _$result = t1._$v; - if (_$result == null) - _$result = new U._$ExportCanDoDNA(); - return t1._$v = _$result; + InsertionDeletionRecord: function InsertionDeletionRecord(t0, t1, t2) { + this.offset = t0; + this.strand_idx = t1; + this.substrand_idx = t2; }, - ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet: function(export_svg_text_separately) { - var t1 = new U.ExportSvgTextSeparatelySetBuilder(); - type$.legacy_void_Function_legacy_ExportSvgTextSeparatelySetBuilder._as(new U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(export_svg_text_separately)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure: function single_strand_dna_ends_commit_stop_reducer_closure(t0) { + this.remaining_deletions = t0; }, - ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet: function(display_angle, display_length, ext) { - var t1 = new U.ExtensionDisplayLengthAngleSetBuilder(); - type$.legacy_void_Function_legacy_ExtensionDisplayLengthAngleSetBuilder._as(new U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(ext, display_length, display_angle)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure0: function single_strand_dna_ends_commit_stop_reducer_closure0(t0) { + this.remaining_insertions = t0; }, - ExtensionAdd_ExtensionAdd: function(is_5p, num_bases, strand) { - var t1 = new U.ExtensionAddBuilder(); - type$.legacy_void_Function_legacy_ExtensionAddBuilder._as(new U.ExtensionAdd_ExtensionAdd_closure(strand, is_5p, num_bases)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure1: function single_strand_dna_ends_commit_stop_reducer_closure1() { }, - ExtensionNumBasesChange_ExtensionNumBasesChange: function(ext, num_bases) { - var t1 = new U.ExtensionNumBasesChangeBuilder(); - type$.legacy_void_Function_legacy_ExtensionNumBasesChangeBuilder._as(new U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure(ext, num_bases)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure2: function single_strand_dna_ends_commit_stop_reducer_closure2(t0, t1, t2) { + this.dnaend = t0; + this.substrand = t1; + this.new_offset = t2; }, - ExtensionsNumBasesChange_ExtensionsNumBasesChange: function(extensions, num_bases) { - var t1 = new U.ExtensionsNumBasesChangeBuilder(); - type$.legacy_void_Function_legacy_ExtensionsNumBasesChangeBuilder._as(new U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(extensions, num_bases)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure3: function single_strand_dna_ends_commit_stop_reducer_closure3(t0, t1) { + this.remaining_deletions = t0; + this.remaining_insertions = t1; }, - LoopoutLengthChange_LoopoutLengthChange: function(loopout, num_bases) { - var t1 = new U.LoopoutLengthChangeBuilder(); - type$.legacy_void_Function_legacy_LoopoutLengthChangeBuilder._as(new U.LoopoutLengthChange_LoopoutLengthChange_closure(loopout, num_bases)).call$1(t1); - return t1.build$0(); + single_strand_dna_ends_commit_stop_reducer_closure4: function single_strand_dna_ends_commit_stop_reducer_closure4(t0) { + this.substrands = t0; }, - LoopoutsLengthChange_LoopoutsLengthChange: function(loopouts, $length) { - var t1 = new U.LoopoutsLengthChangeBuilder(); - type$.legacy_void_Function_legacy_LoopoutsLengthChangeBuilder._as(new U.LoopoutsLengthChange_LoopoutsLengthChange_closure(loopouts, $length)).call$1(t1); - return t1.build$0(); + get_remaining_deletions_closure: function get_remaining_deletions_closure(t0, t1, t2) { + this.substrand = t0; + this.dnaend = t1; + this.new_offset = t2; }, - ConvertCrossoverToLoopout_ConvertCrossoverToLoopout: function(crossover, $length, dna_sequence) { - var t1 = new U.ConvertCrossoverToLoopoutBuilder(); - type$.legacy_void_Function_legacy_ConvertCrossoverToLoopoutBuilder._as(new U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(crossover, $length, dna_sequence)).call$1(t1); - return t1.build$0(); + get_remaining_insertions_closure: function get_remaining_insertions_closure(t0, t1, t2) { + this.substrand = t0; + this.dnaend = t1; + this.new_offset = t2; }, - ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts: function(crossovers, $length) { - var t1 = new U.ConvertCrossoversToLoopoutsBuilder(); - type$.legacy_void_Function_legacy_ConvertCrossoversToLoopoutsBuilder._as(new U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(crossovers, $length)).call$1(t1); - return t1.build$0(); + strand_create_closure: function strand_create_closure(t0) { + this.strand = t0; }, - ManualPasteInitiate_ManualPasteInitiate: function(clipboard_content) { - var t1 = new U.ManualPasteInitiateBuilder(); - type$.legacy_void_Function_legacy_ManualPasteInitiateBuilder._as(new U.ManualPasteInitiate_ManualPasteInitiate_closure(clipboard_content, true)).call$1(t1); - return t1.build$0(); + vendor_fields_remove_reducer_closure: function vendor_fields_remove_reducer_closure() { }, - AutoPasteInitiate_AutoPasteInitiate: function(clipboard_content) { - var t1 = new U.AutoPasteInitiateBuilder(); - type$.legacy_void_Function_legacy_AutoPasteInitiateBuilder._as(new U.AutoPasteInitiate_AutoPasteInitiate_closure(clipboard_content, true)).call$1(t1); - return t1.build$0(); + plate_well_vendor_fields_remove_reducer_closure: function plate_well_vendor_fields_remove_reducer_closure() { }, - AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands: function(strands) { - var t1 = new U.AssignDNAComplementFromBoundStrandsBuilder(); - type$.legacy_void_Function_legacy_AssignDNAComplementFromBoundStrandsBuilder._as(new U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(strands)).call$1(t1); - return t1.build$0(); + plate_well_vendor_fields_assign_reducer_closure: function plate_well_vendor_fields_assign_reducer_closure(t0) { + this.action = t0; }, - AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands: function(strands) { - var t1 = new U.AssignDomainNameComplementFromBoundStrandsBuilder(); - type$.legacy_void_Function_legacy_AssignDomainNameComplementFromBoundStrandsBuilder._as(new U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(strands)).call$1(t1); - return t1.build$0(); + scale_purification_vendor_fields_assign_reducer_closure: function scale_purification_vendor_fields_assign_reducer_closure(t0) { + this.action = t0; }, - AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains: function(domains) { - var t1 = new U.AssignDomainNameComplementFromBoundDomainsBuilder(); - type$.legacy_void_Function_legacy_AssignDomainNameComplementFromBoundDomainsBuilder._as(new U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(domains)).call$1(t1); - return t1.build$0(); + strand_name_set_reducer_closure: function strand_name_set_reducer_closure(t0) { + this.action = t0; }, - InsertionLengthChange_InsertionLengthChange: function(domain, insertion, $length) { - var t1 = new U.InsertionLengthChangeBuilder(); - type$.legacy_void_Function_legacy_InsertionLengthChangeBuilder._as(new U.InsertionLengthChange_InsertionLengthChange_closure(domain, insertion, $length)).call$1(t1); - return t1.build$0(); + strand_label_set_reducer_closure: function strand_label_set_reducer_closure(t0) { + this.action = t0; }, - InsertionsLengthChange_InsertionsLengthChange: function(domains, insertions, $length) { - var t1 = new U.InsertionsLengthChangeBuilder(); - type$.legacy_void_Function_legacy_InsertionsLengthChangeBuilder._as(new U.InsertionsLengthChange_InsertionsLengthChange_closure(insertions, domains, $length)).call$1(t1); - return t1.build$0(); + extension_add_reducer_closure: function extension_add_reducer_closure(t0) { + this.substrands = t0; }, - InsertionRemove_InsertionRemove: function(domain, insertion) { - var t1 = new U.InsertionRemoveBuilder(); - type$.legacy_void_Function_legacy_InsertionRemoveBuilder._as(new U.InsertionRemove_InsertionRemove_closure(domain, insertion)).call$1(t1); - return t1.build$0(); + modification_add_reducer_closure: function modification_add_reducer_closure(t0, t1) { + this.action = t0; + this.mod = t1; }, - DeletionRemove_DeletionRemove: function(domain, offset) { - var t1 = new U.DeletionRemoveBuilder(); - type$.legacy_void_Function_legacy_DeletionRemoveBuilder._as(new U.DeletionRemove_DeletionRemove_closure(domain, offset)).call$1(t1); - return t1.build$0(); + modification_add_reducer_closure0: function modification_add_reducer_closure0(t0) { + this.mod = t0; }, - Modifications5PrimeEdit_Modifications5PrimeEdit: function(modifications, new_modification) { - var t1 = new U.Modifications5PrimeEditBuilder(); - type$.legacy_void_Function_legacy_Modifications5PrimeEditBuilder._as(new U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure(modifications, new_modification)).call$1(t1); - return t1.build$0(); + modification_add_reducer_closure1: function modification_add_reducer_closure1(t0) { + this.mod = t0; }, - Modifications3PrimeEdit_Modifications3PrimeEdit: function(modifications, new_modification) { - var t1 = new U.Modifications3PrimeEditBuilder(); - type$.legacy_void_Function_legacy_Modifications3PrimeEditBuilder._as(new U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure(modifications, new_modification)).call$1(t1); - return t1.build$0(); + modification_remove_reducer_closure: function modification_remove_reducer_closure(t0) { + this.action = t0; }, - ModificationsInternalEdit_ModificationsInternalEdit: function(modifications, new_modification) { - var t1 = new U.ModificationsInternalEditBuilder(); - type$.legacy_void_Function_legacy_ModificationsInternalEditBuilder._as(new U.ModificationsInternalEdit_ModificationsInternalEdit_closure(modifications, new_modification)).call$1(t1); - return t1.build$0(); + modification_remove_reducer_closure0: function modification_remove_reducer_closure0() { }, - StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide: function() { - var t1 = new U.StrandOrSubstrandColorPickerHideBuilder(); - type$.legacy_void_Function_legacy_StrandOrSubstrandColorPickerHideBuilder._as(new U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure()).call$1(t1); - return t1.build$0(); + modification_remove_reducer_closure1: function modification_remove_reducer_closure1() { }, - LoadDnaSequenceImageUri_LoadDnaSequenceImageUri: function(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset) { - var t1 = new U.LoadDnaSequenceImageUriBuilder(); - type$.legacy_void_Function_legacy_LoadDnaSequenceImageUriBuilder._as(new U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)).call$1(t1); - return t1.build$0(); + modification_edit_reducer_closure: function modification_edit_reducer_closure(t0, t1) { + this.action = t0; + this.mod = t1; }, - SetIsZoomAboveThreshold_SetIsZoomAboveThreshold: function(is_zoom_above_threshold) { - var t1 = new U.SetIsZoomAboveThresholdBuilder(); - type$.legacy_void_Function_legacy_SetIsZoomAboveThresholdBuilder._as(new U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(is_zoom_above_threshold)).call$1(t1); - return t1.build$0(); + modification_edit_reducer_closure0: function modification_edit_reducer_closure0(t0) { + this.mod = t0; }, - SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache: function(export_svg_action_delayed_for_png_cache) { - var t1 = new U.SetExportSvgActionDelayedForPngCacheBuilder(); - type$.legacy_void_Function_legacy_SetExportSvgActionDelayedForPngCacheBuilder._as(new U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(export_svg_action_delayed_for_png_cache)).call$1(t1); - return t1.build$0(); - }, - ShowSliceBarSet_ShowSliceBarSet: function(show) { - var t1 = new U.ShowSliceBarSetBuilder(); - type$.legacy_void_Function_legacy_ShowSliceBarSetBuilder._as(new U.ShowSliceBarSet_ShowSliceBarSet_closure(show)).call$1(t1); - return t1.build$0(); - }, - SliceBarOffsetSet_SliceBarOffsetSet: function(offset) { - var t1 = new U.SliceBarOffsetSetBuilder(); - type$.legacy_void_Function_legacy_SliceBarOffsetSetBuilder._as(new U.SliceBarOffsetSet_SliceBarOffsetSet_closure(offset)).call$1(t1); - return t1.build$0(); - }, - DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet: function(disable_png_caching_dna_sequences) { - var t1 = new U.DisablePngCachingDnaSequencesSetBuilder(); - type$.legacy_void_Function_legacy_DisablePngCachingDnaSequencesSetBuilder._as(new U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(disable_png_caching_dna_sequences)).call$1(t1); - return t1.build$0(); - }, - RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet: function(retain_strand_color_on_selection) { - var t1 = new U.RetainStrandColorOnSelectionSetBuilder(); - type$.legacy_void_Function_legacy_RetainStrandColorOnSelectionSetBuilder._as(new U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(retain_strand_color_on_selection)).call$1(t1); - return t1.build$0(); - }, - DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet: function(display_reverse_DNA_right_side_up) { - var t1 = new U.DisplayReverseDNARightSideUpSetBuilder(); - type$.legacy_void_Function_legacy_DisplayReverseDNARightSideUpSetBuilder._as(new U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(display_reverse_DNA_right_side_up)).call$1(t1); - return t1.build$0(); - }, - Autobreak_Autobreak: function(max_length, min_distance_to_xover, min_length, target_length) { - var t1 = new U.AutobreakBuilder(); - type$.legacy_void_Function_legacy_AutobreakBuilder._as(new U.Autobreak_Autobreak_closure(target_length, min_length, max_length, min_distance_to_xover)).call$1(t1); - return t1.build$0(); - }, - OxdnaExport_OxdnaExport: function(selected_strands_only) { - var t1 = new U.OxdnaExportBuilder(); - type$.legacy_void_Function_legacy_OxdnaExportBuilder._as(new U.OxdnaExport_OxdnaExport_closure(selected_strands_only)).call$1(t1); - return t1.build$0(); - }, - OxviewExport_OxviewExport: function(selected_strands_only) { - var t1 = new U.OxviewExportBuilder(); - type$.legacy_void_Function_legacy_OxviewExportBuilder._as(new U.OxviewExport_OxviewExport_closure(selected_strands_only)).call$1(t1); - return t1.build$0(); - }, - _$LocalStorageDesignChoiceSet$_: function(choice) { - return new U._$LocalStorageDesignChoiceSet(choice); + modification_edit_reducer_closure1: function modification_edit_reducer_closure1(t0) { + this.mod = t0; }, - _$ClearHelixSelectionWhenLoadingNewDesignSet$_: function(clear) { - return new U._$ClearHelixSelectionWhenLoadingNewDesignSet(clear); + scaffold_set_reducer_closure: function scaffold_set_reducer_closure(t0, t1) { + this.action = t0; + this.new_color = t1; }, - _$SelectModesAdd$_: function(modes) { - if (modes == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectModesAdd", "modes")); - return new U._$SelectModesAdd(modes); + strand_or_substrand_color_set_reducer_closure: function strand_or_substrand_color_set_reducer_closure(t0) { + this.action = t0; }, - _$StrandNameSet$_: function($name, strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameSet", "strand")); - return new U._$StrandNameSet($name, strand); + strand_or_substrand_color_set_reducer_closure0: function strand_or_substrand_color_set_reducer_closure0(t0) { + this.action = t0; }, - _$StrandLabelSet$_: function(label, strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelSet", "strand")); - return new U._$StrandLabelSet(label, strand); + strand_or_substrand_color_set_reducer_closure1: function strand_or_substrand_color_set_reducer_closure1(t0) { + this.action = t0; }, - _$SubstrandNameSet$_: function($name, substrand) { - if (substrand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandNameSet", "substrand")); - return new U._$SubstrandNameSet($name, substrand); + strand_or_substrand_color_set_reducer_closure2: function strand_or_substrand_color_set_reducer_closure2(t0) { + this.action = t0; }, - _$SubstrandLabelSet$_: function(label, substrand) { - if (substrand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandLabelSet", "substrand")); - return new U._$SubstrandLabelSet(label, substrand); + strand_or_substrand_color_set_reducer_closure3: function strand_or_substrand_color_set_reducer_closure3(t0) { + this.substrands = t0; }, - _$DomainNameFontSizeSet$_: function(font_size) { - if (font_size == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainNameFontSizeSet", "font_size")); - return new U._$DomainNameFontSizeSet(font_size); + modifications_5p_edit_reducer_closure: function modifications_5p_edit_reducer_closure(t0) { + this.action = t0; }, - _$DomainLabelFontSizeSet$_: function(font_size) { - if (font_size == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainLabelFontSizeSet", "font_size")); - return new U._$DomainLabelFontSizeSet(font_size); + modifications_3p_edit_reducer_closure: function modifications_3p_edit_reducer_closure(t0) { + this.action = t0; }, - _$StrandNameFontSizeSet$_: function(font_size) { - if (font_size == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameFontSizeSet", "font_size")); - return new U._$StrandNameFontSizeSet(font_size); + modifications_int_edit_reducer_closure: function modifications_int_edit_reducer_closure(t0) { + this.mods_int = t0; }, - _$StrandLabelFontSizeSet$_: function(font_size) { - if (font_size == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelFontSizeSet", "font_size")); - return new U._$StrandLabelFontSizeSet(font_size); + undo_reducer(state, action) { + type$.AppState._as(state); + type$.Undo._as(action); + if (state.undo_redo.undo_stack._list.length === 0) + return state; + return A.state_result_after_applying_undo(state, action); }, - _$InvertYSet$_: function(invert_y) { - return new U._$InvertYSet(invert_y); + state_result_after_applying_undo(state, action) { + var undo_stack, redo_stack, t2, t3, t4, t5, t6, i, t7, popped_item, t8, _s5_ = "_list", + new_design = state.get$design(), + undo_redo = state.undo_redo, + t1 = undo_redo.undo_stack; + t1.toString; + undo_stack = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + t1 = undo_redo.redo_stack; + t1.toString; + redo_stack = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + for (t1 = action.num_undos, t2 = redo_stack.$ti, t3 = t2._precomputed1, t4 = undo_stack.$ti, t5 = t4._precomputed1, t4 = t4._eval$1("List<1>"), t6 = !t3._is(null), t2 = t2._eval$1("List<1>"), i = 0; i < t1; ++i) { + if (undo_stack._listOwner != null) { + t7 = undo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + undo_stack.set$__ListBuilder__list_A(t4._as(A.List_List$from(t7, true, t5))); + undo_stack.set$_listOwner(null); + } + t7 = undo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + popped_item = B.JSArray_methods.removeLast$0(t7); + t7 = t3._as(A.UndoRedoItem_UndoRedoItem(popped_item.short_description, new_design)); + if (!$.$get$isSoundMode() && t6) + if (t7 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (redo_stack._listOwner != null) { + t8 = redo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + redo_stack.set$__ListBuilder__list_A(t2._as(A.List_List$from(t8, true, t3))); + redo_stack.set$_listOwner(null); + } + t8 = redo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t8, t7); + new_design = popped_item.design; + } + return A.create_new_state_with_new_design_and_undo_redo(state, new_design, undo_stack, redo_stack); }, - _$DynamicHelixUpdateSet$_: function(dynamically_update_helices) { - return new U._$DynamicHelixUpdateSet(dynamically_update_helices); + create_new_state_with_new_design_and_undo_redo(old_state, new_design, new_undo_stack, new_redo_stack) { + var t1 = new_undo_stack.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + return old_state.rebuild$1(new A.create_new_state_with_new_design_and_undo_redo_closure(old_state, t1.length !== 0, new_design, new_undo_stack, new_redo_stack)); }, - _$WarnOnExitIfUnsavedSet$_: function(warn) { - return new U._$WarnOnExitIfUnsavedSet(warn); + redo_reducer(state, action) { + var undo_redo, t1, t2, t3, undo_stack, redo_stack, t4, t5, t6, t7, i, t8, popped_item, new_design, _s5_ = "_list", _box_0 = {}; + type$.AppState._as(state); + type$.Redo._as(action); + undo_redo = state.undo_redo; + t1 = undo_redo.redo_stack; + if (t1._list.length === 0) + return state; + else { + t2 = _box_0.new_design = state.get$design(); + t3 = undo_redo.undo_stack; + t3.toString; + undo_stack = A.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); + redo_stack = A.ListBuilder_ListBuilder(t1, A._instanceType(t1)._precomputed1); + for (t1 = action.num_redos, t3 = undo_stack.$ti, t4 = t3._precomputed1, t5 = redo_stack.$ti, t6 = t5._precomputed1, t5 = t5._eval$1("List<1>"), t7 = !t4._is(null), t3 = t3._eval$1("List<1>"), i = 0; i < t1; ++i, t2 = new_design) { + if (redo_stack._listOwner != null) { + t8 = redo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + redo_stack.set$__ListBuilder__list_A(t5._as(A.List_List$from(t8, true, t6))); + redo_stack.set$_listOwner(null); + } + t8 = redo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + popped_item = B.JSArray_methods.removeLast$0(t8); + t2 = t4._as(A.UndoRedoItem_UndoRedoItem(popped_item.short_description, t2)); + if (!$.$get$isSoundMode() && t7) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (undo_stack._listOwner != null) { + t8 = undo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + undo_stack.set$__ListBuilder__list_A(t3._as(A.List_List$from(t8, true, t4))); + undo_stack.set$_listOwner(null); + } + t8 = undo_stack.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t8, t2); + new_design = popped_item.design; + _box_0.new_design = new_design; + } + t1 = undo_stack.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI(_s5_); + return state.rebuild$1(new A.redo_reducer_closure(_box_0, state, t1.length !== 0, undo_redo, undo_stack, redo_stack)); + } }, - _$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage: function() { - type$.legacy_void_Function_legacy_CopySelectedStandsToClipboardImageBuilder._as(null); - return new U.CopySelectedStandsToClipboardImageBuilder().build$0(); + undo_redo_clear_reducer(state, action) { + type$.AppState._as(state); + type$.UndoRedoClear._as(action); + return state.rebuild$1(new A.undo_redo_clear_reducer_closure()); }, - _$SaveDNAFile__$SaveDNAFile: function() { - type$.legacy_void_Function_legacy_SaveDNAFileBuilder._as(null); - return new U.SaveDNAFileBuilder().build$0(); + undoable_action_typed_reducer(state, action) { + type$.AppState._as(state); + return state.rebuild$1(new A.undoable_action_typed_reducer_closure(state, type$.UndoableAction._as(action))); }, - _$ExportCadnanoFile$_: function(whitespace) { - return new U._$ExportCadnanoFile(whitespace); + create_new_state_with_new_design_and_undo_redo_closure: function create_new_state_with_new_design_and_undo_redo_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.old_state = t0; + _.changed_since_last_save = t1; + _.new_design = t2; + _.new_undo_stack = t3; + _.new_redo_stack = t4; }, - _$MouseoverDataClear__$MouseoverDataClear: function() { - type$.legacy_void_Function_legacy_MouseoverDataClearBuilder._as(null); - return new U.MouseoverDataClearBuilder().build$0(); + create_new_state_with_new_design_and_undo_redo__closure: function create_new_state_with_new_design_and_undo_redo__closure(t0) { + this.changed_since_last_save = t0; }, - _$MouseoverDataUpdate$_: function(mouseover_params) { - if (mouseover_params == null) - H.throwExpression(Y.BuiltValueNullFieldError$("MouseoverDataUpdate", "mouseover_params")); - return new U._$MouseoverDataUpdate(mouseover_params); + create_new_state_with_new_design_and_undo_redo__closure0: function create_new_state_with_new_design_and_undo_redo__closure0(t0, t1) { + this.new_undo_stack = t0; + this.new_redo_stack = t1; }, - _$HelixRollSet$_: function(helix_idx, roll) { - return new U._$HelixRollSet(helix_idx, roll); + redo_reducer_closure: function redo_reducer_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_0 = t0; + _.state = t1; + _.changed_since_last_save = t2; + _.undo_redo = t3; + _.undo_stack = t4; + _.redo_stack = t5; }, - _$RelaxHelixRolls$_: function(only_selected) { - return new U._$RelaxHelixRolls(only_selected); + redo_reducer__closure: function redo_reducer__closure(t0) { + this.changed_since_last_save = t0; }, - _$SelectionRopeCreate$_: function(toggle) { - return new U._$SelectionRopeCreate(toggle); + redo_reducer__closure0: function redo_reducer__closure0(t0, t1) { + this.undo_stack = t0; + this.redo_stack = t1; }, - _$SelectionRopeMouseMove$_: function(is_main_view, point) { - return new U._$SelectionRopeMouseMove(point, is_main_view); + undo_redo_clear_reducer_closure: function undo_redo_clear_reducer_closure() { }, - _$SelectionRopeAddPoint$_: function(is_main_view, point) { - return new U._$SelectionRopeAddPoint(point, is_main_view); + undoable_action_typed_reducer_closure: function undoable_action_typed_reducer_closure(t0, t1) { + this.state = t0; + this.action = t1; }, - _$MousePositionSideUpdate$_: function(svg_pos) { - return new U._$MousePositionSideUpdate(svg_pos); + undoable_action_typed_reducer__closure: function undoable_action_typed_reducer__closure(t0, t1) { + this.action = t0; + this.state = t1; }, - _$MousePositionSideClear__$MousePositionSideClear: function() { - type$.legacy_void_Function_legacy_MousePositionSideClearBuilder._as(null); - return new U.MousePositionSideClearBuilder().build$0(); + TypedGlobalReducer$(reducer, LocalState, GlobalState, Action) { + return new A.TypedGlobalReducer(reducer, LocalState._eval$1("@<0>")._bind$1(GlobalState)._bind$1(Action)._eval$1("TypedGlobalReducer<1,2,3>")); }, - _$GeometrySet$_: function(geometry) { - if (geometry == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GeometrySet", "geometry")); - return new U._$GeometrySet(geometry); - }, - _$SelectionBoxIntersectionRuleSet$_: function(intersect) { - return new U._$SelectionBoxIntersectionRuleSet(intersect); - }, - _$SelectionsAdjustMainView$_: function(box, toggle) { - return new U._$SelectionsAdjustMainView(toggle, box); - }, - _$SelectOrToggleItems$_: function(items, toggle) { - if (items == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectOrToggleItems", "items")); - return new U._$SelectOrToggleItems(items, toggle); - }, - _$SelectAll$_: function(only, selectables) { - if (selectables == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectAll", "selectables")); - return new U._$SelectAll(selectables, only); - }, - _$SelectAllWithSameAsSelected$_: function(exclude_scaffolds, templates, traits) { - var _s27_ = "SelectAllWithSameAsSelected"; - if (templates == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "templates")); - if (traits == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "traits")); - return new U._$SelectAllWithSameAsSelected(templates, traits, exclude_scaffolds); - }, - _$HelixMajorTickDistanceChange$_: function(helix_idx, major_tick_distance) { - var _s28_ = "HelixMajorTickDistanceChange"; - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "helix_idx")); - if (major_tick_distance == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "major_tick_distance")); - return new U._$HelixMajorTickDistanceChange(helix_idx, major_tick_distance); - }, - _$HelixMajorTickDistanceChangeAll$_: function(major_tick_distance) { - if (major_tick_distance == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChangeAll", "major_tick_distance")); - return new U._$HelixMajorTickDistanceChangeAll(major_tick_distance); - }, - _$HelixMajorTickStartChange$_: function(helix_idx, major_tick_start) { - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickStartChange", "helix_idx")); - return new U._$HelixMajorTickStartChange(helix_idx, major_tick_start); - }, - _$HelixMajorTickStartChangeAll$_: function(major_tick_start) { - return new U._$HelixMajorTickStartChangeAll(major_tick_start); - }, - _$HelixMajorTicksChange$_: function(helix_idx, major_ticks) { - var _s21_ = "HelixMajorTicksChange"; - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "helix_idx")); - if (major_ticks == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "major_ticks")); - return new U._$HelixMajorTicksChange(helix_idx, major_ticks); - }, - _$HelixMajorTicksChangeAll$_: function(major_ticks) { - if (major_ticks == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTicksChangeAll", "major_ticks")); - return new U._$HelixMajorTicksChangeAll(major_ticks); - }, - _$HelixMajorTickPeriodicDistancesChange$_: function(helix_idx, major_tick_periodic_distances) { - var _s37_ = "HelixMajorTickPeriodicDistancesChange"; - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "helix_idx")); - if (major_tick_periodic_distances == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "major_tick_periodic_distances")); - return new U._$HelixMajorTickPeriodicDistancesChange(helix_idx, major_tick_periodic_distances); + combineGlobalReducers(reducers, LocalState, GlobalState) { + return new A.combineGlobalReducers_closure(reducers, LocalState, GlobalState); }, - _$HelixMajorTickPeriodicDistancesChangeAll$_: function(major_tick_periodic_distances) { - if (major_tick_periodic_distances == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickPeriodicDistancesChangeAll", "major_tick_periodic_distances")); - return new U._$HelixMajorTickPeriodicDistancesChangeAll(major_tick_periodic_distances); + TypedGlobalReducer: function TypedGlobalReducer(t0, t1) { + this.reducer = t0; + this.$ti = t1; }, - _$HelixOffsetChange$_: function(helix_idx, max_offset, min_offset) { - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixOffsetChange", "helix_idx")); - return new U._$HelixOffsetChange(helix_idx, min_offset, max_offset); + combineGlobalReducers_closure: function combineGlobalReducers_closure(t0, t1, t2) { + this.reducers = t0; + this.LocalState = t1; + this.GlobalState = t2; }, - _$HelixMinOffsetSetByDomains$_: function(helix_idx) { - return new U._$HelixMinOffsetSetByDomains(helix_idx); + standard_serializers_closure: function standard_serializers_closure() { }, - _$HelixMaxOffsetSetByDomains$_: function(helix_idx) { - return new U._$HelixMaxOffsetSetByDomains(helix_idx); + BuiltJsonSerializable: function BuiltJsonSerializable() { }, - _$ExportSvg$_: function(type) { - return new U._$ExportSvg(type); + PointSerializer: function PointSerializer(t0, t1) { + this.types = t0; + this.$ti = t1; }, - _$Nick$_: function(domain, offset) { - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Nick", "domain")); - return new U._$Nick(domain, offset); + ColorSerializer: function ColorSerializer(t0) { + this.types = t0; }, - _$Ligate$_: function(dna_end) { - return new U._$Ligate(dna_end); + _$serializers_closure: function _$serializers_closure() { }, - _$JoinStrandsByCrossover$_: function(dna_end_first_click, dna_end_second_click) { - var _s22_ = "JoinStrandsByCrossover"; - if (dna_end_first_click == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "dna_end_first_click")); - if (dna_end_second_click == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "dna_end_second_click")); - return new U._$JoinStrandsByCrossover(dna_end_first_click, dna_end_second_click); + _$serializers_closure0: function _$serializers_closure0() { }, - _$MoveLinker$_: function(dna_end_second_click, potential_crossover) { - if (potential_crossover == null) - H.throwExpression(Y.BuiltValueNullFieldError$("MoveLinker", "potential_crossover")); - return new U._$MoveLinker(potential_crossover, dna_end_second_click); + _$serializers_closure1: function _$serializers_closure1() { }, - _$StrandsReflect$_: function(horizontal, reverse_polarity, strands) { - if (strands == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandsReflect", "strands")); - return new U._$StrandsReflect(strands, horizontal, reverse_polarity); + _$serializers_closure2: function _$serializers_closure2() { }, - _$ReplaceStrands$_: function(new_strands) { - if (new_strands == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ReplaceStrands", "new_strands")); - return new U._$ReplaceStrands(new_strands); + _$serializers_closure3: function _$serializers_closure3() { }, - _$StrandCreateStart$_: function(address, color) { - return new U._$StrandCreateStart(address, color); + _$serializers_closure4: function _$serializers_closure4() { }, - _$StrandCreateAdjustOffset$_: function(offset) { - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandCreateAdjustOffset", "offset")); - return new U._$StrandCreateAdjustOffset(offset); + _$serializers_closure5: function _$serializers_closure5() { }, - _$StrandCreateStop__$StrandCreateStop: function() { - type$.legacy_void_Function_legacy_StrandCreateStopBuilder._as(null); - return new U.StrandCreateStopBuilder().build$0(); + _$serializers_closure6: function _$serializers_closure6() { }, - _$StrandCreateCommit$_: function(color, end, $forward, helix_idx, start) { - return new U._$StrandCreateCommit(helix_idx, start, end, $forward, color); + _$serializers_closure7: function _$serializers_closure7() { }, - _$PotentialCrossoverCreate$_: function(potential_crossover) { - if (potential_crossover == null) - H.throwExpression(Y.BuiltValueNullFieldError$("PotentialCrossoverCreate", "potential_crossover")); - return new U._$PotentialCrossoverCreate(potential_crossover); + _$serializers_closure8: function _$serializers_closure8() { }, - _$PotentialCrossoverMove$_: function(point) { - return new U._$PotentialCrossoverMove(point); + _$serializers_closure9: function _$serializers_closure9() { }, - _$PotentialCrossoverRemove__$PotentialCrossoverRemove: function() { - type$.legacy_void_Function_legacy_PotentialCrossoverRemoveBuilder._as(null); - return new U.PotentialCrossoverRemoveBuilder().build$0(); + _$serializers_closure10: function _$serializers_closure10() { }, - _$StrandsMoveStart$_: function(address, copy, original_helices_view_order_inverse, strands) { - var _s16_ = "StrandsMoveStart"; - if (strands == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "strands")); - if (original_helices_view_order_inverse == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "original_helices_view_order_inverse")); - return new U._$StrandsMoveStart(strands, address, copy, original_helices_view_order_inverse); + _$serializers_closure11: function _$serializers_closure11() { }, - _$StrandsMoveStartSelectedStrands$_: function(address, copy, original_helices_view_order_inverse) { - if (original_helices_view_order_inverse == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandsMoveStartSelectedStrands", "original_helices_view_order_inverse")); - return new U._$StrandsMoveStartSelectedStrands(address, copy, original_helices_view_order_inverse); + _$serializers_closure12: function _$serializers_closure12() { }, - _$StrandsMoveStop__$StrandsMoveStop: function() { - type$.legacy_void_Function_legacy_StrandsMoveStopBuilder._as(null); - return new U.StrandsMoveStopBuilder().build$0(); + _$serializers_closure13: function _$serializers_closure13() { }, - _$StrandsMoveAdjustAddress$_: function(address) { - return new U._$StrandsMoveAdjustAddress(address); + _$serializers_closure14: function _$serializers_closure14() { }, - _$StrandsMoveCommit$_: function(autopaste, strands_move) { - if (strands_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandsMoveCommit", "strands_move")); - return new U._$StrandsMoveCommit(strands_move, autopaste); + _$serializers_closure15: function _$serializers_closure15() { }, - _$DomainsMoveStartSelectedDomains$_: function(address, original_helices_view_order_inverse) { - if (original_helices_view_order_inverse == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainsMoveStartSelectedDomains", "original_helices_view_order_inverse")); - return new U._$DomainsMoveStartSelectedDomains(address, original_helices_view_order_inverse); + _$serializers_closure16: function _$serializers_closure16() { }, - _$DomainsMoveStop__$DomainsMoveStop: function() { - type$.legacy_void_Function_legacy_DomainsMoveStopBuilder._as(null); - return new U.DomainsMoveStopBuilder().build$0(); + _$serializers_closure17: function _$serializers_closure17() { }, - _$DomainsMoveAdjustAddress$_: function(address) { - return new U._$DomainsMoveAdjustAddress(address); + _$serializers_closure18: function _$serializers_closure18() { }, - _$DomainsMoveCommit$_: function(domains_move) { - if (domains_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainsMoveCommit", "domains_move")); - return new U._$DomainsMoveCommit(domains_move); + _$serializers_closure19: function _$serializers_closure19() { }, - _$DNAEndsMoveStart$_: function(helix, offset) { - var _s16_ = "DNAEndsMoveStart"; - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "offset")); - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "helix")); - return new U._$DNAEndsMoveStart(offset, helix); + _$serializers_closure20: function _$serializers_closure20() { }, - _$DNAEndsMoveSetSelectedEnds$_: function(helix, moves, original_offset, strands_affected) { - var _s26_ = "DNAEndsMoveSetSelectedEnds"; - if (moves == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "moves")); - if (original_offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "original_offset")); - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix")); - if (strands_affected == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "strands_affected")); - return new U._$DNAEndsMoveSetSelectedEnds(moves, original_offset, helix, strands_affected); - }, - _$DNAEndsMoveAdjustOffset$_: function(offset) { - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveAdjustOffset", "offset")); - return new U._$DNAEndsMoveAdjustOffset(offset); - }, - _$DNAEndsMoveCommit$_: function(dna_ends_move) { - if (dna_ends_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveCommit", "dna_ends_move")); - return new U._$DNAEndsMoveCommit(dna_ends_move); - }, - _$DNAExtensionsMoveStart$_: function(helix, start_point) { - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveStart", "helix")); - return new U._$DNAExtensionsMoveStart(start_point, helix); - }, - _$DNAExtensionsMoveSetSelectedExtensionEnds$_: function(helix, moves, original_point, strands_affected) { - var _s41_ = string$.DNAExt; - if (moves == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "moves")); - if (strands_affected == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "strands_affected")); - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "helix")); - return new U._$DNAExtensionsMoveSetSelectedExtensionEnds(moves, original_point, strands_affected, helix); - }, - _$DNAExtensionsMoveAdjustPosition$_: function(position) { - return new U._$DNAExtensionsMoveAdjustPosition(position); - }, - _$DNAExtensionsMoveCommit$_: function(dna_extensions_move) { - if (dna_extensions_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveCommit", "dna_extensions_move")); - return new U._$DNAExtensionsMoveCommit(dna_extensions_move); - }, - _$HelixGroupMoveStart$_: function(mouse_point) { - return new U._$HelixGroupMoveStart(mouse_point); - }, - _$HelixGroupMoveCreate$_: function(helix_group_move) { - if (helix_group_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveCreate", "helix_group_move")); - return new U._$HelixGroupMoveCreate(helix_group_move); - }, - _$HelixGroupMoveAdjustTranslation$_: function(mouse_point) { - return new U._$HelixGroupMoveAdjustTranslation(mouse_point); - }, - _$HelixGroupMoveStop__$HelixGroupMoveStop: function() { - type$.legacy_void_Function_legacy_HelixGroupMoveStopBuilder._as(null); - return new U.HelixGroupMoveStopBuilder().build$0(); - }, - _$HelixGroupMoveCommit$_: function(helix_group_move) { - if (helix_group_move == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveCommit", "helix_group_move")); - return new U._$HelixGroupMoveCommit(helix_group_move); - }, - _$AssignDNA$_: function(dna_assign_options, strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("AssignDNA", "strand")); - return new U._$AssignDNA(strand, dna_assign_options); - }, - _$RemoveDNA$_: function(remove_all, remove_complements, strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("RemoveDNA", "strand")); - return new U._$RemoveDNA(strand, remove_complements, remove_all); - }, - _$InsertionAdd$_: function(all_helices, domain, offset) { - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$("InsertionAdd", "domain")); - return new U._$InsertionAdd(domain, offset, all_helices); + _$serializers_closure21: function _$serializers_closure21() { }, - _$DeletionAdd$_: function(all_helices, domain, offset) { - if (domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DeletionAdd", "domain")); - return new U._$DeletionAdd(domain, offset, all_helices); + _$serializers_closure22: function _$serializers_closure22() { }, - _$ScalePurificationVendorFieldsAssign$_: function(strand, vendor_fields) { - var _s35_ = "ScalePurificationVendorFieldsAssign"; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "strand")); - if (vendor_fields == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "vendor_fields")); - return new U._$ScalePurificationVendorFieldsAssign(strand, vendor_fields); + _$serializers_closure23: function _$serializers_closure23() { }, - _$PlateWellVendorFieldsAssign$_: function(strand, vendor_fields) { - var _s27_ = "PlateWellVendorFieldsAssign"; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "strand")); - if (vendor_fields == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "vendor_fields")); - return new U._$PlateWellVendorFieldsAssign(strand, vendor_fields); - }, - _$PlateWellVendorFieldsRemove$_: function(strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsRemove", "strand")); - return new U._$PlateWellVendorFieldsRemove(strand); - }, - _$VendorFieldsRemove$_: function(strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("VendorFieldsRemove", "strand")); - return new U._$VendorFieldsRemove(strand); - }, - _$ModificationAdd$_: function(modification, strand, strand_dna_idx) { - var _s15_ = "ModificationAdd"; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "strand")); - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modification")); - return new U._$ModificationAdd(strand, modification, strand_dna_idx); + _$serializers_closure24: function _$serializers_closure24() { }, - _$ModificationRemove$_: function(modification, strand, strand_dna_idx) { - var _s18_ = "ModificationRemove"; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "strand")); - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "modification")); - return new U._$ModificationRemove(strand, modification, strand_dna_idx); + _$serializers_closure25: function _$serializers_closure25() { }, - _$ModificationEdit$_: function(modification, strand, strand_dna_idx) { - var _s16_ = "ModificationEdit"; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "strand")); - if (modification == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "modification")); - return new U._$ModificationEdit(strand, modification, strand_dna_idx); + _$serializers_closure26: function _$serializers_closure26() { }, - _$GridChange$_: function(grid, group_name) { - var _s10_ = "GridChange"; - if (grid == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); - if (group_name == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "group_name")); - return new U._$GridChange(grid, group_name); - }, - _$GroupDisplayedChange$_: function(group_name) { - if (group_name == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GroupDisplayedChange", "group_name")); - return new U._$GroupDisplayedChange(group_name); - }, - _$GroupAdd$_: function(group, $name) { - if (group == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GroupAdd", "group")); - return new U._$GroupAdd($name, group); - }, - _$GroupRemove$_: function($name) { - if ($name == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GroupRemove", "name")); - return new U._$GroupRemove($name); - }, - _$GroupChange$_: function(new_group, new_name, old_name) { - var _s11_ = "GroupChange"; - if (old_name == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "old_name")); - if (new_group == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "new_group")); - return new U._$GroupChange(old_name, new_name, new_group); - }, - _$MoveHelicesToGroup$_: function(group_name, helix_idxs) { - var _s18_ = "MoveHelicesToGroup"; - if (helix_idxs == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idxs")); - if (group_name == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "group_name")); - return new U._$MoveHelicesToGroup(helix_idxs, group_name); + _$serializers_closure27: function _$serializers_closure27() { }, - _$DialogShow$_: function(dialog) { - if (dialog == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DialogShow", "dialog")); - return new U._$DialogShow(dialog); + _$serializers_closure28: function _$serializers_closure28() { }, - _$DialogHide__$DialogHide: function() { - type$.legacy_void_Function_legacy_DialogHideBuilder._as(null); - return new U.DialogHideBuilder().build$0(); + _$serializers_closure29: function _$serializers_closure29() { }, - _$ContextMenuShow$_: function(context_menu) { - if (context_menu == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ContextMenuShow", "context_menu")); - return new U._$ContextMenuShow(context_menu); + _$serializers_closure30: function _$serializers_closure30() { }, - _$ContextMenuHide__$ContextMenuHide: function() { - type$.legacy_void_Function_legacy_ContextMenuHideBuilder._as(null); - return new U.ContextMenuHideBuilder().build$0(); + _$serializers_closure31: function _$serializers_closure31() { }, - _$StrandOrSubstrandColorPickerShow$_: function(strand, substrand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandOrSubstrandColorPickerShow", "strand")); - return new U._$StrandOrSubstrandColorPickerShow(strand, substrand); + _$serializers_closure32: function _$serializers_closure32() { }, - _$ScaffoldSet$_: function(is_scaffold, strand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ScaffoldSet", "strand")); - return new U._$ScaffoldSet(strand, is_scaffold); + _$serializers_closure33: function _$serializers_closure33() { }, - _$StrandOrSubstrandColorSet$_: function(color, strand, substrand) { - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandOrSubstrandColorSet", "strand")); - return new U._$StrandOrSubstrandColorSet(strand, substrand, color); + _$serializers_closure34: function _$serializers_closure34() { }, - _$StrandPasteKeepColorSet$_: function(keep) { - return new U._$StrandPasteKeepColorSet(keep); + _$serializers_closure35: function _$serializers_closure35() { }, - _$ExampleDesignsLoad$_: function(selected_idx) { - return new U._$ExampleDesignsLoad(selected_idx); + _$serializers_closure36: function _$serializers_closure36() { }, - _$BasePairTypeSet$_: function(selected_idx) { - return new U._$BasePairTypeSet(selected_idx); + _$serializers_closure37: function _$serializers_closure37() { }, - _$HelixPositionSet$_: function(helix_idx, position) { - return new U._$HelixPositionSet(helix_idx, position); + _$serializers_closure38: function _$serializers_closure38() { }, - _$HelixGridPositionSet$_: function(grid_position, helix) { - if (helix == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixGridPositionSet", "helix")); - return new U._$HelixGridPositionSet(helix, grid_position); + _$serializers_closure39: function _$serializers_closure39() { }, - _$DefaultCrossoverTypeForSettingHelixRollsSet$_: function(scaffold, staple) { - var _s43_ = string$.Defaul; - if (scaffold == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "scaffold")); - if (staple == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "staple")); - return new U._$DefaultCrossoverTypeForSettingHelixRollsSet(scaffold, staple); + _$serializers_closure40: function _$serializers_closure40() { }, - _$AutofitSet$_: function(autofit) { - return new U._$AutofitSet(autofit); + _$serializers_closure41: function _$serializers_closure41() { }, - _$ShowHelixCirclesMainViewSet$_: function(show_helix_circles_main_view) { - return new U._$ShowHelixCirclesMainViewSet(show_helix_circles_main_view); + _$serializers_closure42: function _$serializers_closure42() { }, - _$ShowHelixComponentsMainViewSet$_: function(show_helix_components) { - return new U._$ShowHelixComponentsMainViewSet(show_helix_components); + _$serializers_closure43: function _$serializers_closure43() { }, - _$ShowGridCoordinatesSideViewSet$_: function(show_grid_coordinates_side_view) { - return new U._$ShowGridCoordinatesSideViewSet(show_grid_coordinates_side_view); + _$serializers_closure44: function _$serializers_closure44() { }, - _$ShowAxisArrowsSet$_: function(show_helices_axis_arrows) { - return new U._$ShowAxisArrowsSet(show_helices_axis_arrows); + _$serializers_closure45: function _$serializers_closure45() { }, - _$ShowLoopoutExtensionLengthSet$_: function(show_length) { - return new U._$ShowLoopoutExtensionLengthSet(show_length); + _$serializers_closure46: function _$serializers_closure46() { }, - _$ShowBasePairLinesWithMismatchesSet$_: function(show_base_pair_lines_with_mismatches) { - return new U._$ShowBasePairLinesWithMismatchesSet(show_base_pair_lines_with_mismatches); + _$serializers_closure47: function _$serializers_closure47() { }, - _$ZoomSpeedSet$_: function(speed) { - if (speed == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ZoomSpeedSet", "speed")); - return new U._$ZoomSpeedSet(speed); + _$serializers_closure48: function _$serializers_closure48() { }, - _$OxExportOnlySelectedStrandsSet$_: function(only_selected) { - return new U._$OxExportOnlySelectedStrandsSet(only_selected); + _$serializers_closure49: function _$serializers_closure49() { }, - DesignChangingAction: function DesignChangingAction() { + _$serializers_closure50: function _$serializers_closure50() { }, - UndoableAction: function UndoableAction() { + _$serializers_closure51: function _$serializers_closure51() { }, - SkipUndo: function SkipUndo() { + _$serializers_closure52: function _$serializers_closure52() { }, - SkipUndo_SkipUndo_closure: function SkipUndo_SkipUndo_closure(t0) { - this.undoable_action = t0; + _$serializers_closure53: function _$serializers_closure53() { }, - Undo: function Undo() { + _$serializers_closure54: function _$serializers_closure54() { }, - Undo_Undo_closure: function Undo_Undo_closure(t0) { - this.num_undos = t0; + _$serializers_closure55: function _$serializers_closure55() { }, - Redo: function Redo() { + _$serializers_closure56: function _$serializers_closure56() { }, - Redo_Redo_closure: function Redo_Redo_closure(t0) { - this.num_redos = t0; + _$serializers_closure57: function _$serializers_closure57() { }, - UndoRedoClear: function UndoRedoClear() { + _$serializers_closure58: function _$serializers_closure58() { }, - BatchAction: function BatchAction() { + _$serializers_closure59: function _$serializers_closure59() { }, - BatchAction_BatchAction_closure: function BatchAction_BatchAction_closure(t0, t1) { - this.actions = t0; - this.short_description_value = t1; + _$serializers_closure60: function _$serializers_closure60() { }, - ThrottledActionFast: function ThrottledActionFast() { + _$serializers_closure61: function _$serializers_closure61() { }, - ThrottledActionFast_ThrottledActionFast_closure: function ThrottledActionFast_ThrottledActionFast_closure(t0, t1) { - this.action = t0; - this.interval_sec = t1; + _$serializers_closure62: function _$serializers_closure62() { }, - ThrottledActionNonFast: function ThrottledActionNonFast() { + _$serializers_closure63: function _$serializers_closure63() { }, - ThrottledActionNonFast_ThrottledActionNonFast_closure: function ThrottledActionNonFast_ThrottledActionNonFast_closure(t0, t1) { - this.action = t0; - this.interval_sec = t1; + _$serializers_closure64: function _$serializers_closure64() { }, - LocalStorageDesignChoiceSet: function LocalStorageDesignChoiceSet() { + _$serializers_closure65: function _$serializers_closure65() { }, - ResetLocalStorage: function ResetLocalStorage() { + _$serializers_closure66: function _$serializers_closure66() { }, - ClearHelixSelectionWhenLoadingNewDesignSet: function ClearHelixSelectionWhenLoadingNewDesignSet() { + _$serializers_closure67: function _$serializers_closure67() { }, - EditModeToggle: function EditModeToggle() { + _$serializers_closure68: function _$serializers_closure68() { }, - EditModeToggle_EditModeToggle_closure: function EditModeToggle_EditModeToggle_closure(t0) { - this.mode = t0; + _$serializers_closure69: function _$serializers_closure69() { }, - EditModesSet: function EditModesSet() { + _$serializers_closure70: function _$serializers_closure70() { }, - SelectModeToggle: function SelectModeToggle() { + _$serializers_closure71: function _$serializers_closure71() { }, - SelectModeToggle_SelectModeToggle_closure: function SelectModeToggle_SelectModeToggle_closure(t0) { - this.select_mode_choice = t0; + _$serializers_closure72: function _$serializers_closure72() { }, - SelectModesAdd: function SelectModesAdd() { + _$serializers_closure73: function _$serializers_closure73() { }, - SelectModesSet: function SelectModesSet() { + _$serializers_closure74: function _$serializers_closure74() { }, - StrandNameSet: function StrandNameSet() { + _$serializers_closure75: function _$serializers_closure75() { }, - StrandLabelSet: function StrandLabelSet() { + _$serializers_closure76: function _$serializers_closure76() { }, - SubstrandNameSet: function SubstrandNameSet() { + _$serializers_closure77: function _$serializers_closure77() { }, - SubstrandLabelSet: function SubstrandLabelSet() { + _$Address$_($forward, helix_idx, offset) { + var _s7_ = "Address", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s7_, "helix_idx", t1); + A.BuiltValueNullFieldError_checkNotNull(offset, _s7_, "offset", t1); + A.BuiltValueNullFieldError_checkNotNull($forward, _s7_, "forward", type$.bool); + return new A._$Address(helix_idx, offset, $forward); + }, + _$AddressDifference$_(forward_delta, helix_idx_delta, offset_delta) { + var _s17_ = "AddressDifference", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx_delta, _s17_, "helix_idx_delta", t1); + A.BuiltValueNullFieldError_checkNotNull(offset_delta, _s17_, "offset_delta", t1); + A.BuiltValueNullFieldError_checkNotNull(forward_delta, _s17_, "forward_delta", type$.bool); + return new A._$AddressDifference(helix_idx_delta, offset_delta, forward_delta); }, - SetAppUIStateStorable: function SetAppUIStateStorable() { + Address: function Address() { }, - SetAppUIStateStorable_SetAppUIStateStorable_closure: function SetAppUIStateStorable_SetAppUIStateStorable_closure(t0) { - this.storables = t0; + AddressDifference: function AddressDifference() { }, - ShowDNASet: function ShowDNASet() { + _$AddressSerializer: function _$AddressSerializer() { }, - ShowDNASet_ShowDNASet_closure: function ShowDNASet_ShowDNASet_closure(t0) { - this.show = t0; + _$AddressDifferenceSerializer: function _$AddressDifferenceSerializer() { }, - ShowDomainNamesSet: function ShowDomainNamesSet() { + _$Address: function _$Address(t0, t1, t2) { + this.helix_idx = t0; + this.offset = t1; + this.forward = t2; }, - ShowDomainNamesSet_ShowDomainNamesSet_closure: function ShowDomainNamesSet_ShowDomainNamesSet_closure(t0) { - this.show = t0; + AddressBuilder: function AddressBuilder() { + var _ = this; + _._address$_forward = _._offset = _._helix_idx = _._address$_$v = null; }, - ShowStrandNamesSet: function ShowStrandNamesSet() { + _$AddressDifference: function _$AddressDifference(t0, t1, t2) { + this.helix_idx_delta = t0; + this.offset_delta = t1; + this.forward_delta = t2; }, - ShowStrandNamesSet_ShowStrandNamesSet_closure: function ShowStrandNamesSet_ShowStrandNamesSet_closure(t0) { - this.show = t0; + AddressDifferenceBuilder: function AddressDifferenceBuilder() { + var _ = this; + _._forward_delta = _._offset_delta = _._helix_idx_delta = _._address$_$v = null; }, - ShowStrandLabelsSet: function ShowStrandLabelsSet() { + _Address_Object_BuiltJsonSerializable: function _Address_Object_BuiltJsonSerializable() { }, - ShowStrandLabelsSet_ShowStrandLabelsSet_closure: function ShowStrandLabelsSet_ShowStrandLabelsSet_closure(t0) { - this.show = t0; + _AddressDifference_Object_BuiltJsonSerializable: function _AddressDifference_Object_BuiltJsonSerializable() { }, - ShowDomainLabelsSet: function ShowDomainLabelsSet() { + AppState__initializeBuilder(b) { + var t1, t2; + b.get$_app_state$_$this()._maybe_design = null; + t1 = b.get$ui_state(); + t2 = $.$get$DEFAULT_AppUIState(); + A.ArgumentError_checkNotNull(t2, "other", type$.AppUIState); + t1._app_ui_state$_$v = t2; + b.get$_app_state$_$this()._error_message = string$.x3cp_sca; + t2 = $.$get$DEFAULT_UndoRedoBuilder(); + b.get$_app_state$_$this()._undo_redo = t2; }, - ShowDomainLabelsSet_ShowDomainLabelsSet_closure: function ShowDomainLabelsSet_ShowDomainLabelsSet_closure(t0) { - this.show = t0; + AppStateBuilder$() { + var t2, t3, + t1 = new A.AppStateBuilder(); + t1.get$_app_state$_$this()._maybe_design = null; + t2 = t1.get$ui_state(); + t3 = $.$get$DEFAULT_AppUIState(); + A.ArgumentError_checkNotNull(t3, "other", type$.AppUIState); + t2._app_ui_state$_$v = t3; + t1.get$_app_state$_$this()._error_message = string$.x3cp_sca; + t3 = $.$get$DEFAULT_UndoRedoBuilder(); + t1.get$_app_state$_$this()._undo_redo = t3; + return t1; }, - ShowModificationsSet: function ShowModificationsSet() { + AppState: function AppState() { }, - ShowModificationsSet_ShowModificationsSet_closure: function ShowModificationsSet_ShowModificationsSet_closure(t0) { - this.show = t0; + _$AppState: function _$AppState(t0, t1, t2, t3) { + var _ = this; + _.maybe_design = t0; + _.ui_state = t1; + _.undo_redo = t2; + _.error_message = t3; + _._app_state$__hashCode = _.__has_error = _.__helix_idx_to_svg_position_map = null; }, - DomainNameFontSizeSet: function DomainNameFontSizeSet() { + AppStateBuilder: function AppStateBuilder() { + var _ = this; + _._error_message = _._undo_redo = _._ui_state = _._maybe_design = _._app_state$_$v = null; }, - DomainLabelFontSizeSet: function DomainLabelFontSizeSet() { + AppUIState__initializeBuilder(b) { + var t1, t2; + b.get$_app_ui_state$_$this()._copy_info = null; + b.get$_app_ui_state$_$this()._last_mod_5p = null; + b.get$_app_ui_state$_$this()._last_mod_3p = null; + b.get$_app_ui_state$_$this()._last_mod_int = null; + b.get$mouseover_datas().replace$1(0, []); + b.get$_app_ui_state$_$this()._selection_box_displayed_main = false; + b.get$_app_ui_state$_$this()._selection_box_displayed_side = false; + t1 = new A.SelectablesStoreBuilder(); + t2 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t1.get$_selectable$_$this().set$_selected_items(t2); + b.get$_app_ui_state$_$this()._selectables_store = t1; + b.get$_app_ui_state$_$this()._drawing_potential_crossover = false; + b.get$_app_ui_state$_$this()._dna_ends_are_moving = false; + b.get$_app_ui_state$_$this()._helix_group_is_moving = false; + b.get$_app_ui_state$_$this()._show_load_dialog = false; + b.get$_app_ui_state$_$this()._slice_bar_is_moving = false; + b.get$_app_ui_state$_$this()._changed_since_last_save = false; + b.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; + type$.nullable_Point_double._as(null); + b.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); + b.get$_app_ui_state$_$this()._strands_move = null; + b.get$_app_ui_state$_$this()._context_menu = null; + b.get$_app_ui_state$_$this()._dialog = null; + b.get$_app_ui_state$_$this()._color_picker_strand = null; + b.get$_app_ui_state$_$this()._color_picker_substrand = null; + b.get$_app_ui_state$_$this()._strand_creation = null; + b.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; + t1 = $.$get$DEFAULT_example_designs_builder(); + b.get$_app_ui_state$_$this()._example_designs = t1; + t1 = $.$get$DEFAULT_dna_assign_options_builder(); + b.get$_app_ui_state$_$this()._dna_assign_options = t1; + b.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; + b.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; + b.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; + b.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; + b.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; + t1 = b.get$storables(); + t2 = $.$get$DEFAULT_AppUIStateStorable(); + A.ArgumentError_checkNotNull(t2, "other", type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = t2; }, - StrandNameFontSizeSet: function StrandNameFontSizeSet() { + AppUIStateBuilder$() { + var t2, t3, + t1 = new A.AppUIStateBuilder(); + t1.get$_app_ui_state$_$this()._copy_info = null; + t1.get$_app_ui_state$_$this()._last_mod_5p = null; + t1.get$_app_ui_state$_$this()._last_mod_3p = null; + t1.get$_app_ui_state$_$this()._last_mod_int = null; + t1.get$mouseover_datas().replace$1(0, []); + t1.get$_app_ui_state$_$this()._selection_box_displayed_main = false; + t1.get$_app_ui_state$_$this()._selection_box_displayed_side = false; + t2 = new A.SelectablesStoreBuilder(); + t3 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + t1.get$_app_ui_state$_$this()._selectables_store = t2; + t1.get$_app_ui_state$_$this()._drawing_potential_crossover = false; + t1.get$_app_ui_state$_$this()._dna_ends_are_moving = false; + t1.get$_app_ui_state$_$this()._helix_group_is_moving = false; + t1.get$_app_ui_state$_$this()._show_load_dialog = false; + t1.get$_app_ui_state$_$this()._slice_bar_is_moving = false; + t1.get$_app_ui_state$_$this()._changed_since_last_save = false; + t1.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; + type$.nullable_Point_double._as(null); + t1.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); + t1.get$_app_ui_state$_$this()._strands_move = null; + t1.get$_app_ui_state$_$this()._context_menu = null; + t1.get$_app_ui_state$_$this()._dialog = null; + t1.get$_app_ui_state$_$this()._color_picker_strand = null; + t1.get$_app_ui_state$_$this()._color_picker_substrand = null; + t1.get$_app_ui_state$_$this()._strand_creation = null; + t1.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; + t2 = $.$get$DEFAULT_example_designs_builder(); + t1.get$_app_ui_state$_$this()._example_designs = t2; + t2 = $.$get$DEFAULT_dna_assign_options_builder(); + t1.get$_app_ui_state$_$this()._dna_assign_options = t2; + t1.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; + t1.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; + t1.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; + t1.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; + t1.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; + t2 = t1.get$storables(); + t3 = $.$get$DEFAULT_AppUIStateStorable(); + A.ArgumentError_checkNotNull(t3, "other", type$.AppUIStateStorables); + t2._app_ui_state_storables$_$v = t3; + return t1; }, - StrandLabelFontSizeSet: function StrandLabelFontSizeSet() { + AppUIState: function AppUIState() { }, - ModificationFontSizeSet: function ModificationFontSizeSet() { + _$AppUIStateSerializer: function _$AppUIStateSerializer() { }, - ModificationFontSizeSet_ModificationFontSizeSet_closure: function ModificationFontSizeSet_ModificationFontSizeSet_closure(t0) { - this.font_size = t0; + _$AppUIState: function _$AppUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33) { + var _ = this; + _.selectables_store = t0; + _.strands_move = t1; + _.domains_move = t2; + _.copy_info = t3; + _.drawing_potential_crossover = t4; + _.dna_ends_are_moving = t5; + _.helix_group_is_moving = t6; + _.show_load_dialog = t7; + _.slice_bar_is_moving = t8; + _.selection_box_displayed_main = t9; + _.selection_box_displayed_side = t10; + _.dna_assign_options = t11; + _.helix_change_apply_to_all = t12; + _.selection_rope = t13; + _.last_mod_5p = t14; + _.last_mod_3p = t15; + _.last_mod_int = t16; + _.mouseover_datas = t17; + _.example_designs = t18; + _.dialog = t19; + _.color_picker_strand = t20; + _.color_picker_substrand = t21; + _.strand_creation = t22; + _.side_view_grid_position_mouse_cursor = t23; + _.side_view_position_mouse_cursor = t24; + _.context_menu = t25; + _.changed_since_last_save = t26; + _.dna_sequence_png_uri = t27; + _.dna_sequence_png_horizontal_offset = t28; + _.dna_sequence_png_vertical_offset = t29; + _.export_svg_action_delayed_for_png_cache = t30; + _.is_zoom_above_threshold = t31; + _.storables = t32; + _.original_helix_offsets = t33; + _.__hashCode = null; }, - MajorTickOffsetFontSizeSet: function MajorTickOffsetFontSizeSet() { + AppUIStateBuilder: function AppUIStateBuilder() { + var _ = this; + _._dna_sequence_png_horizontal_offset = _._dna_sequence_png_uri = _._changed_since_last_save = _._context_menu = _._side_view_position_mouse_cursor = _._side_view_grid_position_mouse_cursor = _._strand_creation = _._color_picker_substrand = _._color_picker_strand = _._dialog = _._example_designs = _._mouseover_datas = _._last_mod_int = _._last_mod_3p = _._last_mod_5p = _._selection_rope = _._helix_change_apply_to_all = _._dna_assign_options = _._selection_box_displayed_side = _._selection_box_displayed_main = _._slice_bar_is_moving = _._show_load_dialog = _._helix_group_is_moving = _._dna_ends_are_moving = _._drawing_potential_crossover = _._copy_info = _._domains_move = _._strands_move = _._selectables_store = _._app_ui_state$_$v = null; + _._original_helix_offsets = _._storables = _._is_zoom_above_threshold = _._export_svg_action_delayed_for_png_cache = _._dna_sequence_png_vertical_offset = null; }, - MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure: function MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(t0) { - this.font_size = t0; + _AppUIState_Object_BuiltJsonSerializable: function _AppUIState_Object_BuiltJsonSerializable() { }, - MajorTickWidthFontSizeSet: function MajorTickWidthFontSizeSet() { + AppUIStateStorables__initializeBuilder(b) { + var t2, + t1 = type$.nullable_SetBuilder_EditModeChoice._as(A.SetBuilder_SetBuilder([B.EditModeChoice_select], type$.EditModeChoice)); + b.get$_app_ui_state_storables$_$this().set$_edit_modes(t1); + t1 = $.$get$DEFAULT_SelectModeStateBuilder(); + b.get$_app_ui_state_storables$_$this()._select_mode_state = t1; + t1 = type$.nullable_SetBuilder_int._as(A.SetBuilder_SetBuilder(B.List_empty, type$.int)); + b.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t1); + b.get$_app_ui_state_storables$_$this()._autofit = true; + b.get$_app_ui_state_storables$_$this()._show_dna = false; + b.get$_app_ui_state_storables$_$this()._show_strand_names = false; + b.get$_app_ui_state_storables$_$this()._show_strand_labels = false; + b.get$_app_ui_state_storables$_$this()._show_domain_names = false; + b.get$_app_ui_state_storables$_$this()._show_domain_labels = false; + b.get$_app_ui_state_storables$_$this()._base_pair_display_type = B.BasePairDisplayType_none; + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; + b.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; + b.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; + b.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; + b.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; + b.get$_app_ui_state_storables$_$this()._show_modifications = true; + b.get$_app_ui_state_storables$_$this()._show_mismatches = false; + b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; + b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; + b.get$_app_ui_state_storables$_$this()._show_oxview = false; + b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; + b.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; + b.get$_app_ui_state_storables$_$this()._modification_font_size = 12; + b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; + b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; + b.get$_app_ui_state_storables$_$this()._modification_display_connector = true; + b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; + b.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; + b.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; + b.get$_app_ui_state_storables$_$this()._invert_y = false; + b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; + b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; + b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; + b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; + b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; + b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; + b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; + b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; + b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; + b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; + b.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; + b.get$_app_ui_state_storables$_$this()._show_slice_bar = false; + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; + b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; + b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; + b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; + t1 = A.LocalStorageDesignChoice_LocalStorageDesignChoice(B.LocalStorageDesignOption_on_edit, 30); + t2 = new A.LocalStorageDesignChoiceBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.LocalStorageDesignChoice); + t2._local_storage_design_choice$_$v = t1; + b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t2; + b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; + b.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; + b.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; + b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; + b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; }, - MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure: function MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(t0) { - this.font_size = t0; - }, - SetModificationDisplayConnector: function SetModificationDisplayConnector() { - }, - SetModificationDisplayConnector_SetModificationDisplayConnector_closure: function SetModificationDisplayConnector_SetModificationDisplayConnector_closure(t0) { - this.show = t0; - }, - ShowMismatchesSet: function ShowMismatchesSet() { - }, - ShowMismatchesSet_ShowMismatchesSet_closure: function ShowMismatchesSet_ShowMismatchesSet_closure(t0) { - this.show = t0; - }, - ShowDomainNameMismatchesSet: function ShowDomainNameMismatchesSet() { - }, - ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure: function ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(t0) { - this.show_domain_name_mismatches = t0; - }, - ShowUnpairedInsertionDeletionsSet: function ShowUnpairedInsertionDeletionsSet() { - }, - ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure: function ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(t0) { - this.show_unpaired_insertion_deletions = t0; - }, - OxviewShowSet: function OxviewShowSet() { - }, - OxviewShowSet_OxviewShowSet_closure: function OxviewShowSet_OxviewShowSet_closure(t0) { - this.show = t0; - }, - SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix() { - }, - SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(t0) { - this.show = t0; - }, - DisplayMajorTicksOffsetsSet: function DisplayMajorTicksOffsetsSet() { - }, - DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure: function DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(t0) { - this.show = t0; - }, - SetDisplayMajorTickWidthsAllHelices: function SetDisplayMajorTickWidthsAllHelices() { - }, - SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure: function SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(t0) { - this.show = t0; - }, - SetDisplayMajorTickWidths: function SetDisplayMajorTickWidths() { - }, - SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure: function SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(t0) { - this.show = t0; - }, - SetOnlyDisplaySelectedHelices: function SetOnlyDisplaySelectedHelices() { - }, - SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure: function SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(t0) { - this.only_display_selected_helices = t0; - }, - InvertYSet: function InvertYSet() { - }, - DynamicHelixUpdateSet: function DynamicHelixUpdateSet() { - }, - WarnOnExitIfUnsavedSet: function WarnOnExitIfUnsavedSet() { - }, - LoadingDialogShow: function LoadingDialogShow() { - }, - LoadingDialogHide: function LoadingDialogHide() { - }, - CopySelectedStandsToClipboardImage: function CopySelectedStandsToClipboardImage() { + AppUIStateStorablesBuilder$() { + var t3, + t1 = new A.AppUIStateStorablesBuilder(), + t2 = type$.nullable_SetBuilder_EditModeChoice._as(A.SetBuilder_SetBuilder([B.EditModeChoice_select], type$.EditModeChoice)); + t1.get$_app_ui_state_storables$_$this().set$_edit_modes(t2); + t2 = $.$get$DEFAULT_SelectModeStateBuilder(); + t1.get$_app_ui_state_storables$_$this()._select_mode_state = t2; + t2 = type$.nullable_SetBuilder_int._as(A.SetBuilder_SetBuilder(B.List_empty, type$.int)); + t1.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t2); + t1.get$_app_ui_state_storables$_$this()._autofit = true; + t1.get$_app_ui_state_storables$_$this()._show_dna = false; + t1.get$_app_ui_state_storables$_$this()._show_strand_names = false; + t1.get$_app_ui_state_storables$_$this()._show_strand_labels = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_names = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_labels = false; + t1.get$_app_ui_state_storables$_$this()._base_pair_display_type = B.BasePairDisplayType_none; + t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; + t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; + t1.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; + t1.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; + t1.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; + t1.get$_app_ui_state_storables$_$this()._show_modifications = true; + t1.get$_app_ui_state_storables$_$this()._show_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; + t1.get$_app_ui_state_storables$_$this()._show_oxview = false; + t1.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; + t1.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; + t1.get$_app_ui_state_storables$_$this()._modification_font_size = 12; + t1.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; + t1.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; + t1.get$_app_ui_state_storables$_$this()._modification_display_connector = true; + t1.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; + t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; + t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; + t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; + t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; + t1.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; + t1.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; + t1.get$_app_ui_state_storables$_$this()._invert_y = false; + t1.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; + t1.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; + t1.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; + t1.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; + t1.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; + t1.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; + t1.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; + t1.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; + t1.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; + t1.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; + t1.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; + t1.get$_app_ui_state_storables$_$this()._show_slice_bar = false; + t1.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; + t1.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; + t1.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; + t1.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; + t2 = A.LocalStorageDesignChoice_LocalStorageDesignChoice(B.LocalStorageDesignOption_on_edit, 30); + t3 = new A.LocalStorageDesignChoiceBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.LocalStorageDesignChoice); + t3._local_storage_design_choice$_$v = t2; + t1.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t3; + t1.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; + t1.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; + t1.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; + t1.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; + t1.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; + return t1; }, - SaveDNAFile: function SaveDNAFile() { + AppUIStateStorables: function AppUIStateStorables() { }, - LoadDNAFile: function LoadDNAFile() { + _$AppUIStateStorablesSerializer: function _$AppUIStateStorablesSerializer() { }, - LoadDNAFile_LoadDNAFile_closure: function LoadDNAFile_LoadDNAFile_closure(t0, t1, t2, t3, t4) { + _$AppUIStateStorables: function _$AppUIStateStorables(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56) { var _ = this; - _.content = t0; - _.filename = t1; - _.write_local_storage = t2; - _.unit_testing = t3; - _.dna_file_type = t4; - }, - PrepareToLoadDNAFile: function PrepareToLoadDNAFile() { + _.select_mode_state = t0; + _.edit_modes = t1; + _.side_selected_helix_idxs = t2; + _.autofit = t3; + _.show_dna = t4; + _.show_strand_names = t5; + _.show_strand_labels = t6; + _.show_domain_names = t7; + _.show_domain_labels = t8; + _.base_pair_display_type = t9; + _.show_base_pair_lines = t10; + _.show_base_pair_lines_with_mismatches = t11; + _.strand_name_font_size = t12; + _.strand_label_font_size = t13; + _.domain_name_font_size = t14; + _.domain_label_font_size = t15; + _.show_modifications = t16; + _.show_mismatches = t17; + _.show_domain_name_mismatches = t18; + _.show_unpaired_insertion_deletions = t19; + _.show_oxview = t20; + _.show_slice_bar = t21; + _.show_mouseover_data = t22; + _.only_display_selected_helices = t23; + _.modification_font_size = t24; + _.major_tick_offset_font_size = t25; + _.major_tick_width_font_size = t26; + _.zoom_speed = t27; + _.modification_display_connector = t28; + _.strand_paste_keep_color = t29; + _.display_base_offsets_of_major_ticks = t30; + _.display_base_offsets_of_major_ticks_only_first_helix = t31; + _.display_major_tick_widths = t32; + _.display_major_tick_widths_all_helices = t33; + _.loaded_filename = t34; + _.loaded_script_filename = t35; + _.invert_y = t36; + _.dynamically_update_helices = t37; + _.warn_on_exit_if_unsaved = t38; + _.show_helix_circles_main_view = t39; + _.show_helix_components_main_view = t40; + _.show_edit_mode_menu = t41; + _.show_grid_coordinates_side_view = t42; + _.show_helices_axis_arrows = t43; + _.show_loopout_extension_length = t44; + _.default_crossover_type_scaffold_for_setting_helix_rolls = t45; + _.default_crossover_type_staple_for_setting_helix_rolls = t46; + _.local_storage_design_choice = t47; + _.clear_helix_selection_when_loading_new_design = t48; + _.displayed_group_name = t49; + _.slice_bar_offset = t50; + _.disable_png_caching_dna_sequences = t51; + _.retain_strand_color_on_selection = t52; + _.display_reverse_DNA_right_side_up = t53; + _.selection_box_intersection = t54; + _.export_svg_text_separately = t55; + _.ox_export_only_selected_strands = t56; + _._app_ui_state_storables$__hashCode = null; }, - PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure: function PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure(t0, t1, t2, t3, t4) { + AppUIStateStorablesBuilder: function AppUIStateStorablesBuilder() { var _ = this; - _.content = t0; - _.filename = t1; - _.write_local_storage = t2; - _.unit_testing = t3; - _.dna_file_type = t4; - }, - NewDesignSet: function NewDesignSet() { + _._modification_display_connector = _._zoom_speed = _._major_tick_width_font_size = _._major_tick_offset_font_size = _._modification_font_size = _._only_display_selected_helices = _._show_mouseover_data = _._show_slice_bar = _._show_oxview = _._show_unpaired_insertion_deletions = _._show_domain_name_mismatches = _._show_mismatches = _._show_modifications = _._domain_label_font_size = _._domain_name_font_size = _._strand_label_font_size = _._strand_name_font_size = _._show_base_pair_lines_with_mismatches = _._show_base_pair_lines = _._base_pair_display_type = _._show_domain_labels = _._show_domain_names = _._show_strand_labels = _._show_strand_names = _._show_dna = _._autofit = _._side_selected_helix_idxs = _._edit_modes = _._select_mode_state = _._app_ui_state_storables$_$v = null; + _._ox_export_only_selected_strands = _._export_svg_text_separately = _._selection_box_intersection = _._display_reverse_DNA_right_side_up = _._retain_strand_color_on_selection = _._disable_png_caching_dna_sequences = _._slice_bar_offset = _._displayed_group_name = _._clear_helix_selection_when_loading_new_design = _._local_storage_design_choice = _._default_crossover_type_staple_for_setting_helix_rolls = _._default_crossover_type_scaffold_for_setting_helix_rolls = _._show_loopout_extension_length = _._show_helices_axis_arrows = _._show_grid_coordinates_side_view = _._show_edit_mode_menu = _._show_helix_components_main_view = _._show_helix_circles_main_view = _._warn_on_exit_if_unsaved = _._dynamically_update_helices = _._invert_y = _._loaded_script_filename = _._loaded_filename = _._display_major_tick_widths_all_helices = _._display_major_tick_widths = _._display_base_offsets_of_major_ticks_only_first_helix = _._display_base_offsets_of_major_ticks = _._strand_paste_keep_color = null; }, - NewDesignSet_NewDesignSet_closure: function NewDesignSet_NewDesignSet_closure(t0, t1) { - this.design = t0; - this.short_description_value = t1; + _AppUIStateStorables_Object_BuiltJsonSerializable: function _AppUIStateStorables_Object_BuiltJsonSerializable() { }, - ExportCadnanoFile: function ExportCadnanoFile() { + _$valueOf1($name) { + switch ($name) { + case "none": + return B.BasePairDisplayType_none; + case "lines": + return B.BasePairDisplayType_lines; + case "rectangle": + return B.BasePairDisplayType_rectangle; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - ExportCodenanoFile: function ExportCodenanoFile() { + BasePairDisplayType: function BasePairDisplayType(t0) { + this.name = t0; }, - ShowMouseoverDataSet: function ShowMouseoverDataSet() { + _$BasePairDisplayTypeSerializer: function _$BasePairDisplayTypeSerializer() { }, - ShowMouseoverDataSet_ShowMouseoverDataSet_closure: function ShowMouseoverDataSet_ShowMouseoverDataSet_closure(t0) { - this.show = t0; + BrowserClipboard: function BrowserClipboard() { }, - MouseoverDataClear: function MouseoverDataClear() { + ContextMenuItem_ContextMenuItem(disabled, nested, on_click, title, tooltip) { + var t1 = new A.ContextMenuItemBuilder(); + type$.nullable_void_Function_ContextMenuItemBuilder._as(new A.ContextMenuItem_ContextMenuItem_closure(title, on_click, tooltip, nested, disabled)).call$1(t1); + return t1._context_menu$_build$0(); }, - MouseoverDataUpdate: function MouseoverDataUpdate() { + _$ContextMenu$_(items, position) { + var _s11_ = "ContextMenu"; + A.BuiltValueNullFieldError_checkNotNull(items, _s11_, "items", type$.BuiltList_ContextMenuItem); + A.BuiltValueNullFieldError_checkNotNull(position, _s11_, "position", type$.Point_double); + return new A._$ContextMenu(items, position); }, - HelixRollSet: function HelixRollSet() { + ContextMenu: function ContextMenu() { }, - HelixRollSetAtOther: function HelixRollSetAtOther() { + ContextMenuItem: function ContextMenuItem() { }, - HelixRollSetAtOther_HelixRollSetAtOther_closure: function HelixRollSetAtOther_HelixRollSetAtOther_closure(t0, t1, t2, t3) { + ContextMenuItem_ContextMenuItem_closure: function ContextMenuItem_ContextMenuItem_closure(t0, t1, t2, t3, t4) { var _ = this; - _.helix_idx = t0; - _.helix_other_idx = t1; - _.forward = t2; - _.anchor = t3; - }, - RelaxHelixRolls: function RelaxHelixRolls() { - }, - ErrorMessageSet: function ErrorMessageSet() { - }, - ErrorMessageSet_ErrorMessageSet_closure: function ErrorMessageSet_ErrorMessageSet_closure(t0) { - this.error_message = t0; - }, - SelectionBoxCreate: function SelectionBoxCreate() { - }, - SelectionBoxCreate_SelectionBoxCreate_closure: function SelectionBoxCreate_SelectionBoxCreate_closure(t0, t1, t2) { - this.point = t0; - this.toggle = t1; - this.is_main = t2; - }, - SelectionBoxSizeChange: function SelectionBoxSizeChange() { - }, - SelectionBoxSizeChange_SelectionBoxSizeChange_closure: function SelectionBoxSizeChange_SelectionBoxSizeChange_closure(t0, t1) { - this.point = t0; - this.is_main = t1; - }, - SelectionBoxRemove: function SelectionBoxRemove() { - }, - SelectionBoxRemove_SelectionBoxRemove_closure: function SelectionBoxRemove_SelectionBoxRemove_closure(t0) { - this.is_main = t0; - }, - SelectionRopeCreate: function SelectionRopeCreate() { - }, - SelectionRopeMouseMove: function SelectionRopeMouseMove() { - }, - SelectionRopeAddPoint: function SelectionRopeAddPoint() { - }, - SelectionRopeRemove: function SelectionRopeRemove() { - }, - MouseGridPositionSideUpdate: function MouseGridPositionSideUpdate() { - }, - MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure: function MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(t0) { - this.grid_position = t0; - }, - MouseGridPositionSideClear: function MouseGridPositionSideClear() { - }, - MouseGridPositionSideClear_MouseGridPositionSideClear_closure: function MouseGridPositionSideClear_MouseGridPositionSideClear_closure() { - }, - MousePositionSideUpdate: function MousePositionSideUpdate() { - }, - MousePositionSideClear: function MousePositionSideClear() { - }, - GeometrySet: function GeometrySet() { - }, - SelectionBoxIntersectionRuleSet: function SelectionBoxIntersectionRuleSet() { - }, - Select: function Select() { - }, - Select_Select_closure: function Select_Select_closure(t0, t1, t2) { - this.selectable = t0; - this.toggle = t1; - this.only = t2; - }, - SelectionsClear: function SelectionsClear() { - }, - SelectionsClear_SelectionsClear_closure: function SelectionsClear_SelectionsClear_closure() { - }, - SelectionsAdjustMainView: function SelectionsAdjustMainView() { - }, - SelectOrToggleItems: function SelectOrToggleItems() { - }, - SelectAll: function SelectAll() { - }, - SelectAllSelectable: function SelectAllSelectable() { - }, - SelectAllSelectable_SelectAllSelectable_closure: function SelectAllSelectable_SelectAllSelectable_closure(t0) { - this.current_helix_group_only = t0; - }, - SelectAllWithSameAsSelected: function SelectAllWithSameAsSelected() { - }, - DeleteAllSelected: function DeleteAllSelected() { + _.title = t0; + _.on_click = t1; + _.tooltip = t2; + _.nested = t3; + _.disabled = t4; }, - DeleteAllSelected_DeleteAllSelected_closure: function DeleteAllSelected_DeleteAllSelected_closure() { + _$ContextMenuSerializer: function _$ContextMenuSerializer() { }, - HelixAdd: function HelixAdd() { + _$ContextMenuItemSerializer: function _$ContextMenuItemSerializer() { }, - HelixAdd_HelixAdd_closure: function HelixAdd_HelixAdd_closure(t0, t1) { - this.grid_position = t0; + _$ContextMenu: function _$ContextMenu(t0, t1) { + this.items = t0; this.position = t1; + this._context_menu$__hashCode = null; }, - HelixRemove: function HelixRemove() { - }, - HelixRemove_HelixRemove_closure: function HelixRemove_HelixRemove_closure(t0) { - this.helix_idx = t0; - }, - HelixRemoveAllSelected: function HelixRemoveAllSelected() { - }, - HelixSelect: function HelixSelect() { - }, - HelixSelect_HelixSelect_closure: function HelixSelect_HelixSelect_closure(t0, t1) { - this.helix_idx = t0; - this.toggle = t1; - }, - HelixSelectionsClear: function HelixSelectionsClear() { - }, - HelixSelectionsClear_HelixSelectionsClear_closure: function HelixSelectionsClear_HelixSelectionsClear_closure() { - }, - HelixSelectionsAdjust: function HelixSelectionsAdjust() { - }, - HelixSelectionsAdjust_HelixSelectionsAdjust_closure: function HelixSelectionsAdjust_HelixSelectionsAdjust_closure(t0, t1) { - this.toggle = t0; - this.selection_box = t1; - }, - HelixMajorTickDistanceChange: function HelixMajorTickDistanceChange() { - }, - HelixMajorTickDistanceChangeAll: function HelixMajorTickDistanceChangeAll() { - }, - HelixMajorTickStartChange: function HelixMajorTickStartChange() { - }, - HelixMajorTickStartChangeAll: function HelixMajorTickStartChangeAll() { - }, - HelixMajorTicksChange: function HelixMajorTicksChange() { + ContextMenuBuilder: function ContextMenuBuilder() { + this._context_menu$_position = this._items = this._context_menu$_$v = null; }, - HelixMajorTicksChangeAll: function HelixMajorTicksChangeAll() { + _$ContextMenuItem: function _$ContextMenuItem(t0, t1, t2, t3, t4) { + var _ = this; + _.title = t0; + _.on_click = t1; + _.tooltip = t2; + _.nested = t3; + _.disabled = t4; + _._context_menu$__hashCode = null; }, - HelixMajorTickPeriodicDistancesChange: function HelixMajorTickPeriodicDistancesChange() { + ContextMenuItemBuilder: function ContextMenuItemBuilder() { + var _ = this; + _._disabled = _._nested = _._context_menu$_tooltip = _._on_click = _._context_menu$_title = _._context_menu$_$v = null; }, - HelixMajorTickPeriodicDistancesChangeAll: function HelixMajorTickPeriodicDistancesChangeAll() { + _ContextMenu_Object_BuiltJsonSerializable: function _ContextMenu_Object_BuiltJsonSerializable() { }, - HelixIdxsChange: function HelixIdxsChange() { + _ContextMenuItem_Object_BuiltJsonSerializable: function _ContextMenuItem_Object_BuiltJsonSerializable() { }, - HelixIdxsChange_HelixIdxsChange_closure: function HelixIdxsChange_HelixIdxsChange_closure(t0) { - this.idx_replacements = t0; + CopyInfo_CopyInfo(copied_address, helices_view_order, helices_view_order_inverse, strands, translation) { + var t1 = new A.CopyInfoBuilder(); + type$.nullable_void_Function_CopyInfoBuilder._as(new A.CopyInfo_CopyInfo_closure(strands, copied_address, translation, helices_view_order, helices_view_order_inverse)).call$1(t1); + return t1._copy_info$_build$0(); }, - HelixOffsetChange: function HelixOffsetChange() { + CopyInfo: function CopyInfo() { }, - HelixMinOffsetSetByDomains: function HelixMinOffsetSetByDomains() { + CopyInfo_CopyInfo_closure: function CopyInfo_CopyInfo_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.strands = t0; + _.copied_address = t1; + _.translation = t2; + _.helices_view_order = t3; + _.helices_view_order_inverse = t4; }, - HelixMaxOffsetSetByDomains: function HelixMaxOffsetSetByDomains() { + CopyInfo_create_strands_move_closure: function CopyInfo_create_strands_move_closure(t0) { + this.$this = t0; }, - HelixMinOffsetSetByDomainsAll: function HelixMinOffsetSetByDomainsAll() { + CopyInfo_create_strands_move_closure0: function CopyInfo_create_strands_move_closure0(t0) { + this.$this = t0; }, - HelixMaxOffsetSetByDomainsAll: function HelixMaxOffsetSetByDomainsAll() { + _$CopyInfoSerializer: function _$CopyInfoSerializer() { }, - HelixMaxOffsetSetByDomainsAllSameMax: function HelixMaxOffsetSetByDomainsAllSameMax() { + _$CopyInfo: function _$CopyInfo(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.strands = t0; + _.copied_address = t1; + _.prev_paste_address = t2; + _.translation = t3; + _.helices_view_order = t4; + _.helices_view_order_inverse = t5; + _._copy_info$__hashCode = null; }, - HelixOffsetChangeAll: function HelixOffsetChangeAll() { + CopyInfoBuilder: function CopyInfoBuilder() { + var _ = this; + _._helices_view_order_inverse = _._helices_view_order = _._translation = _._prev_paste_address = _._copied_address = _._copy_info$_strands = _._copy_info$_$v = null; }, - ShowMouseoverRectSet: function ShowMouseoverRectSet() { + _CopyInfo_Object_BuiltJsonSerializable: function _CopyInfo_Object_BuiltJsonSerializable() { }, - ShowMouseoverRectToggle: function ShowMouseoverRectToggle() { + Crossover_Crossover(prev_domain_idx, next_domain_idx, is_scaffold, strand_id) { + var t1 = new A.CrossoverBuilder(); + type$.nullable_void_Function_CrossoverBuilder._as(new A.Crossover_Crossover_closure(prev_domain_idx, next_domain_idx, is_scaffold, strand_id)).call$1(t1); + return t1._crossover$_build$0(); }, - ExportDNA: function ExportDNA() { + Crossover: function Crossover() { }, - ExportDNA_ExportDNA_closure: function ExportDNA_ExportDNA_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + Crossover_Crossover_closure: function Crossover_Crossover_closure(t0, t1, t2, t3) { var _ = this; - _.include_scaffold = t0; - _.include_only_selected_strands = t1; - _.exclude_selected_strands = t2; - _.export_dna_format = t3; - _.delimiter = t4; - _.domain_delimiter = t5; - _.strand_order = t6; - _.column_major_strand = t7; - _.column_major_plate = t8; + _.prev_domain_idx = t0; + _.next_domain_idx = t1; + _.is_scaffold = t2; + _.strand_id = t3; }, - ExportCanDoDNA: function ExportCanDoDNA() { + _$CrossoverSerializer: function _$CrossoverSerializer() { }, - ExportCanDoDNA_ExportCanDoDNA_closure: function ExportCanDoDNA_ExportCanDoDNA_closure() { + _$Crossover: function _$Crossover(t0, t1, t2, t3) { + var _ = this; + _.prev_domain_idx = t0; + _.next_domain_idx = t1; + _.is_scaffold = t2; + _.strand_id = t3; + _._crossover$__hashCode = _._crossover$__id = _._crossover$__select_mode = null; }, - ExportSvgType: function ExportSvgType(t0) { - this._actions$_name = t0; + CrossoverBuilder: function CrossoverBuilder() { + var _ = this; + _._crossover$_strand_id = _._crossover$_is_scaffold = _._next_domain_idx = _._crossover$_prev_domain_idx = _._crossover$_$v = null; }, - ExportSvg: function ExportSvg() { + _Crossover_Object_SelectableMixin: function _Crossover_Object_SelectableMixin() { }, - ExportSvgTextSeparatelySet: function ExportSvgTextSeparatelySet() { + _Crossover_Object_SelectableMixin_BuiltJsonSerializable: function _Crossover_Object_SelectableMixin_BuiltJsonSerializable() { }, - ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure: function ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(t0) { - this.export_svg_text_separately = t0; + Design_Design(geometry, grid, groups, helix_builders, invert_y, strands, unused_fields) { + var t1, t2, t3, t4, t5, helices, t6, t7, t8, t9, design, _box_0 = {}; + _box_0.geometry = geometry; + _box_0.groups = groups; + if (geometry == null) + _box_0.geometry = $.$get$default_geometry(); + for (t1 = J.getInterceptor$ax(helix_builders), t2 = t1.get$iterator(helix_builders); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = _box_0.geometry; + t4.toString; + t5 = new A.GeometryBuilder(); + t5._geometry$_$v = t4; + t3.get$_helix$_$this()._helix$_geometry = t5; + } + t2 = type$.int; + t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.HelixBuilder); + for (t1 = t1.get$iterator(helix_builders); t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.get$_helix$_$this()._idx; + t5.toString; + t3.$indexSet(0, t5, t4); + } + A.set_helices_min_max_offsets(t3, strands); + t1 = _box_0.groups; + A.assign_grids_to_helix_builders_from_groups(t1 == null ? _box_0.groups = A._calculate_groups_from_helix_builders(helix_builders, grid) : t1, t3); + t1 = t3.get$values(t3); + t3 = type$.Helix; + t4 = A._instanceType(t1); + helices = A.MappedIterable_MappedIterable(t1, t4._eval$1("Helix(Iterable.E)")._as(new A.Design_Design_closure()), t4._eval$1("Iterable.E"), t3); + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); + for (t1 = A._instanceType(helices), t1 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); t1.moveNext$0();) { + t4 = t1.__internal$_current; + t2.$indexSet(0, t4.idx, t4); + } + for (t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t2.$ti._precomputed1), t4 = type$.nullable_void_Function_HelixBuilder, t5 = type$.void_Function_HelixBuilder; t1.moveNext$0();) { + t6 = t1.__js_helper$_current; + t7 = t2.$index(0, t6); + t7.toString; + t8 = t5._as(new A.Design_Design_closure0(_box_0)); + t9 = new A.HelixBuilder(); + t9.get$_helix$_$this()._group = "default_group"; + t9.get$_helix$_$this()._min_offset = 0; + t9.get$_helix$_$this()._roll = 0; + t3._as(t7); + t9._helix$_$v = t7; + t4._as(t8).call$1(t9); + t2.$indexSet(0, t6, t9._helix$_build$0()); + } + t1 = new A.DesignBuilder(); + A.Design__initializeBuilder(t1); + type$.nullable_void_Function_DesignBuilder._as(new A.Design_Design_closure1(_box_0, t2, strands, unused_fields)).call$1(t1); + design = t1._design0$_build$0(); + design._ensure_helix_groups_exist$0(); + design._check_helix_offsets$0(); + design._check_strands_reference_helices_legally$0(); + design._check_loopouts_not_consecutive_or_singletons_or_zero_length$0(); + design.check_strands_overlap_legally$0(); + design._check_grid_positions_disjoint$0(); + return design; }, - ExtensionDisplayLengthAngleSet: function ExtensionDisplayLengthAngleSet() { + Design__initializeBuilder(b) { + var t1, t2, + _s13_ = "default_group"; + b.get$_design0$_$this()._version = "0.19.5"; + t1 = $.$get$default_geometry(); + t1.toString; + t2 = new A.GeometryBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Geometry); + t2._geometry$_$v = t1; + b.get$_design0$_$this()._geometry = t2; + t2 = type$.nullable_MapBuilder_int_Helix._as(A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix)); + b.get$_design0$_$this().set$_helices(t2); + t2 = type$.nullable_ListBuilder_Strand._as(A.ListBuilder_ListBuilder(B.List_empty, type$.Strand)); + b.get$_design0$_$this().set$_strands(t2); + t2 = type$.dynamic; + t1 = type$.String; + t2 = type$.nullable_MapBuilder_String_dynamic._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), t1, type$.Object)); + b.get$_design0$_$this().set$_unused_fields(t2); + t2 = type$.HelixGroup; + t2 = type$.nullable_MapBuilder_String_HelixGroup._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_literal(["default_group", $.$get$DEFAULT_HelixGroup()], t1, t2), t1, t2)); + b.get$_design0$_$this().set$_groups(t2); + t2 = b.get$groups(); + t1 = b.get$groups().__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); + t2.$indexSet(0, _s13_, t1.$index(0, _s13_).rebuild$1(new A.Design__initializeBuilder_closure())); }, - ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure: function ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(t0, t1, t2) { - this.ext = t0; - this.display_length = t1; - this.display_angle = t2; + Design__check_mutually_exclusive_fields(json_map) { + var _i, pair, t2, key1, key2, + t1 = type$.JSArray_String, + exclusive_pairs = [A._setArrayType(["grid", "groups"], t1), A._setArrayType(["helices_view_order", "groups"], t1)]; + for (t1 = J.getInterceptor$x(json_map), _i = 0; _i < 2; ++_i) { + pair = exclusive_pairs[_i]; + t2 = pair.length; + if (0 >= t2) + return A.ioore(pair, 0); + key1 = pair[0]; + if (1 >= t2) + return A.ioore(pair, 1); + key2 = pair[1]; + if (t1.containsKey$1(json_map, key1) && t1.containsKey$1(json_map, key2)) + throw A.wrapException(A.IllegalDesignError$('cannot specify both "' + A.S(key1) + '" and "' + A.S(key2) + '" in Design JSON')); + } }, - ExtensionAdd: function ExtensionAdd() { + Design__num_helix_groups(json_map) { + var t1 = J.getInterceptor$x(json_map); + return t1.containsKey$1(json_map, "groups") ? A._asIntS(J.get$length$asx(t1.$index(json_map, "groups"))) : 0; }, - ExtensionAdd_ExtensionAdd_closure: function ExtensionAdd_ExtensionAdd_closure(t0, t1, t2) { - this.strand = t0; - this.is_5p = t1; - this.num_bases = t2; - }, - ExtensionNumBasesChange: function ExtensionNumBasesChange() { - }, - ExtensionNumBasesChange_ExtensionNumBasesChange_closure: function ExtensionNumBasesChange_ExtensionNumBasesChange_closure(t0, t1) { - this.ext = t0; - this.num_bases = t1; - }, - ExtensionsNumBasesChange: function ExtensionsNumBasesChange() { - }, - ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure: function ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(t0, t1) { - this.extensions = t0; - this.num_bases = t1; - }, - LoopoutLengthChange: function LoopoutLengthChange() { + Design__helices_from_json(json_map, invert_y, geometry) { + var using_groups, multiple_groups_used, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, idx_default, helix_json, helix_builder, t16, t17, t18, position, pitch, yaw, t19, expected_pitch, expected_yaw, idx_of_helix_with_expected_pitch_yaw, pitch_yaw_match_expectation, is_new_pitch_yaw, p, y, t20, _i, repeated_idxs, i1, i2, _null = null, + _s13_ = "default_group", + _s19_ = "major_tick_distance", + _s11_ = "major_ticks", + _s29_ = "major_tick_periodic_distances", + _s13_0 = "grid_position", + _s10_ = "max_offset", + _s8_ = "position", + t1 = type$.JSArray_HelixBuilder, + helix_builders_list = A._setArrayType([], t1), + t2 = type$.String, + t3 = type$.HelixPitchYaw, + group_to_pitch_yaw = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), + pitch_yaw_to_helices = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.List_HelixBuilder), + grid_is_none = A.optional_field(json_map, "grid", B.Grid_none, B.List_empty0, _null, A.grid_Grid_valueOf$closure(), type$.Grid, t2) === B.Grid_none; + t2 = J.getInterceptor$x(json_map); + using_groups = t2.containsKey$1(json_map, "groups"); + t3 = A.Design__num_helix_groups(json_map); + if (typeof t3 !== "number") + return t3.$gt(); + multiple_groups_used = t3 > 1; + t3 = type$.List_dynamic; + for (t2 = J.get$iterator$ax(t3._as(t2.$index(json_map, "helices"))), t4 = !grid_is_none, t5 = type$.nullable_String, t6 = type$.dynamic, t7 = type$.int, t8 = type$.Object, t9 = type$.nullable_double, t10 = type$.Map_String_dynamic, t11 = type$.nullable_MapBuilder_String_dynamic, t12 = type$.nullable_ListBuilder_int, t13 = type$.List_int, t14 = type$.ListBuilder_int, t15 = !using_groups, idx_default = 0; t2.moveNext$0();) { + helix_json = t10._as(t2.get$current(t2)); + helix_builder = new A.HelixBuilder(); + helix_builder.get$_helix$_$this()._group = _s13_; + helix_builder.get$_helix$_$this()._min_offset = 0; + helix_builder.get$_helix$_$this()._roll = 0; + t16 = t11._as(A.unused_fields_map(helix_json, $.$get$helix_keys())); + helix_builder.get$_helix$_$this().set$_helix$_unused_fields(t16); + t16 = J.getInterceptor$x(helix_json); + if (t16.containsKey$1(helix_json, _s19_)) { + t17 = t16.$index(helix_json, _s19_); + t17.toString; + t18 = new A.ListBuilder(t14); + t18.set$__ListBuilder__list_A(t13._as(A.List_List$from([A._asIntS(t17)], true, t7))); + t18.set$_listOwner(_null); + t12._as(t18); + helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t18); + } + if (t16.containsKey$1(helix_json, _s11_)) { + t17 = t16.$index(helix_json, _s11_); + t17.toString; + t18 = new A.ListBuilder(t14); + t18.set$__ListBuilder__list_A(t13._as(A.List_List$from(A.List_List$from(A.List_List$from(t3._as(t17), true, t7), true, t7), true, t7))); + t18.set$_listOwner(_null); + t12._as(t18); + helix_builder.get$_helix$_$this().set$_major_ticks(t18); + } + if (t16.containsKey$1(helix_json, _s29_)) { + t17 = t16.$index(helix_json, _s29_); + t17.toString; + t18 = new A.ListBuilder(t14); + t18.set$__ListBuilder__list_A(t13._as(A.List_List$from(A.List_List$from(t13._as(t17), true, t7), true, t7))); + t18.set$_listOwner(_null); + t12._as(t18); + helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t18); + } + if (t16.containsKey$1(helix_json, _s13_0)) { + t17 = t16.$index(helix_json, _s13_0); + t17.toString; + t3._as(t17); + t18 = J.getInterceptor$asx(t17); + if (t18.get$length(t17) !== 2) + A.throwExpression(A.ArgumentError$("list of grid_position coordinates must be length 2 but this is the list: " + A.S(t17), _null)); + t17 = A.GridPosition_GridPosition(A._asIntS(t18.$index(t17, 0)), A._asIntS(t18.$index(t17, 1))); + t18 = new A.GridPositionBuilder(); + t18._grid_position$_$v = t17; + helix_builder.get$_helix$_$this()._grid_position = t18; + } + if (t16.containsKey$1(helix_json, _s10_)) + if (t16.$index(helix_json, _s10_) != null) { + t17 = t16.$index(helix_json, _s10_); + t17.toString; + A._asIntS(t17); + helix_builder.get$_helix$_$this()._max_offset = t17; + } + t17 = A._asStringQ(A.optional_field(helix_json, "group", _s13_, B.List_empty0, _null, _null, t5, t6)); + helix_builder.get$_helix$_$this()._group = t17; + t17 = A._asIntQ(A.optional_field_with_null_default(helix_json, "min_offset", B.List_empty0, t7, t8)); + helix_builder.get$_helix$_$this()._min_offset = t17; + t17 = A._asIntQ(A.optional_field_with_null_default(helix_json, "major_tick_start", B.List_empty0, t7, t8)); + helix_builder.get$_helix$_$this()._major_tick_start = t17; + t17 = A._asIntQ(A.optional_field_with_null_default(helix_json, "idx", B.List_empty0, t7, t8)); + helix_builder.get$_helix$_$this()._idx = t17; + t17 = A._asDoubleQ(A.optional_field(helix_json, "roll", 0, B.List_empty0, _null, _null, t9, t6)); + helix_builder.get$_helix$_$this()._roll = t17; + if (t16.containsKey$1(helix_json, _s19_) && t16.containsKey$1(helix_json, _s29_)) { + t17 = helix_builder.get$idx(); + A.throwExpression(A.IllegalDesignError$("helix " + A.S(t17 == null ? "" : t17) + " has both keys major_tick_distance and major_tick_periodic_distances. At most one is allow to be specified.")); + } + position = A.Position3D_get_position_from_helix_json_map(helix_json); + if (position == null) + t17 = _null; + else { + t17 = new A.Position3DBuilder(); + t17._position3d$_$v = position; + } + helix_builder.get$_helix$_$this()._position_ = t17; + if (helix_builder.get$_helix$_$this()._idx == null) + helix_builder.get$_helix$_$this()._idx = idx_default; + t17 = helix_builder.get$_helix$_$this()._idx; + t17.toString; + pitch = A._asDoubleS(t16.containsKey$1(helix_json, "pitch") ? t16.$index(helix_json, "pitch") : 0); + yaw = A._asDoubleS(t16.containsKey$1(helix_json, "yaw") ? t16.$index(helix_json, "yaw") : 0); + t18 = helix_builder.get$_helix$_$this()._group; + t18.toString; + if (multiple_groups_used) + if (group_to_pitch_yaw.containsKey$1(0, t18)) { + t19 = group_to_pitch_yaw.$index(0, t18); + t19.toString; + expected_pitch = t19.pitch; + expected_yaw = t19.yaw; + idx_of_helix_with_expected_pitch_yaw = t19.helix_idx; + if (typeof pitch !== "number") + return pitch.$sub(); + if (typeof expected_pitch !== "number") + return A.iae(expected_pitch); + if (Math.abs(pitch - expected_pitch) < 1e-9) { + if (typeof yaw !== "number") + return yaw.$sub(); + if (typeof expected_yaw !== "number") + return A.iae(expected_yaw); + pitch_yaw_match_expectation = Math.abs(yaw - expected_yaw) < 1e-9; + } else + pitch_yaw_match_expectation = false; + if (!pitch_yaw_match_expectation) { + t1 = "" + t17; + throw A.wrapException(A.IllegalDesignError$("In HelixGroup " + t18 + ", Helix " + t1 + " has pitch " + A.S(pitch) + " and yaw " + A.S(yaw) + " but Helix " + t1 + "\n has pitch " + A.S(expected_pitch) + " and yaw " + A.S(expected_yaw) + ". Please seperate Helix " + t1 + " and Helix\n " + A.S(idx_of_helix_with_expected_pitch_yaw) + " into seperate HelixGroups.")); + } + } else + group_to_pitch_yaw.$indexSet(0, t18, new A.HelixPitchYaw(pitch, yaw, t17)); + else { + t18 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices); + t18 = t18.get$iterator(t18); + while (true) { + if (!t18.moveNext$0()) { + is_new_pitch_yaw = true; + break; + } + t19 = t18.get$current(t18).key; + p = t19.pitch; + y = t19.yaw; + if (typeof p !== "number") + return p.$sub(); + if (typeof pitch !== "number") + return A.iae(pitch); + if (Math.abs(p - pitch) < 1e-9) { + if (typeof y !== "number") + return y.$sub(); + if (typeof yaw !== "number") + return A.iae(yaw); + t20 = Math.abs(y - yaw) < 1e-9; + } else + t20 = false; + if (t20) { + t18 = pitch_yaw_to_helices.$index(0, t19); + t18.toString; + J.add$1$ax(t18, helix_builder); + is_new_pitch_yaw = false; + break; + } + } + if (is_new_pitch_yaw) + pitch_yaw_to_helices.$indexSet(0, new A.HelixPitchYaw(pitch, yaw, t17), A._setArrayType([helix_builder], t1)); + } + geometry.toString; + t18 = new A.GeometryBuilder(); + t18._geometry$_$v = geometry; + helix_builder.get$_helix$_$this()._helix$_geometry = t18; + if (grid_is_none && t15 && t16.containsKey$1(helix_json, _s13_0)) + throw A.wrapException(A.IllegalDesignError$("grid is none, but Helix " + t17 + " has grid_position = " + A.S(t16.$index(helix_json, _s13_0)))); + else if (t4 && t15 && t16.containsKey$1(helix_json, _s8_)) + throw A.wrapException(A.IllegalDesignError$("grid is not none, but Helix " + t17 + " has position = " + A.S(t16.$index(helix_json, _s8_)))); + B.JSArray_methods.add$1(helix_builders_list, helix_builder); + ++idx_default; + } + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, A.throwConcurrentModificationError)(helix_builders_list), ++_i) { + t3 = helix_builders_list[_i].get$_helix$_$this()._idx; + t3.toString; + t1.push(t3); + } + repeated_idxs = A.repeated_element_indices(t1, t7); + if (repeated_idxs != null) { + i1 = repeated_idxs.item1; + i2 = repeated_idxs.item2; + t1 = B.JSArray_methods.$index(helix_builders_list, i1).get$_helix$_$this()._idx; + t1.toString; + A.throwExpression(A.IllegalDesignError$("helix idx values must be unique, but two helices share idx = " + t1 + "; they appear at positions " + A.S(i1) + " and " + A.S(i2) + " in the list of helices.")); + } + t1 = A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.HelixBuilder); + for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, A.throwConcurrentModificationError)(helix_builders_list), ++_i) { + helix_builder = helix_builders_list[_i]; + t3 = helix_builder.get$_helix$_$this()._idx; + t3.toString; + t1.$indexSet(0, t3, helix_builder); + } + return new A.Tuple3(t1, group_to_pitch_yaw, pitch_yaw_to_helices, type$.Tuple3_of_Map_int_HelixBuilder_and_Map_String_HelixPitchYaw_and_Map_of_HelixPitchYaw_and_List_HelixBuilder); }, - LoopoutLengthChange_LoopoutLengthChange_closure: function LoopoutLengthChange_LoopoutLengthChange_closure(t0, t1) { - this.loopout = t0; - this.num_bases = t1; + Design__groups_from_json(json_map, helix_builders_map, group_to_pitch_yaw, pitch_yaw_to_helices) { + var t4, group_builders_map, groups_json, t5, t6, t7, t8, t9, t10, group_json, t11, t12, t13, t14, group_name, pitch, yaw, new_groups, group, helix_pitch, helix_yaw, helix_list, helix_pitch_yaw_is_zero, new_pitch, new_yaw, new_group_name, + t1 = type$.String, + grid = A.optional_field(json_map, "grid", B.Grid_none, B.List_empty0, null, A.grid_Grid_valueOf$closure(), type$.Grid, t1), + t2 = J.getInterceptor$x(json_map), + t3 = type$.HelixGroupBuilder; + if (!t2.containsKey$1(json_map, "groups")) { + t2 = $.$get$DEFAULT_HelixGroup(); + t2.toString; + t4 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t4); + A.ArgumentError_checkNotNull(t2, "other", type$.HelixGroup); + t4._group$_$v = t2; + t4.get$_group$_$this()._group$_grid = grid; + group_builders_map = A.LinkedHashMap_LinkedHashMap$_literal(["default_group", t4], t1, t3); + } else { + t4 = type$.Map_String_dynamic; + groups_json = t4._as(t2.$index(json_map, "groups")); + group_builders_map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t2 = J.getInterceptor$x(groups_json), t5 = J.get$iterator$ax(t2.get$keys(groups_json)), t6 = type$.nullable_ListBuilder_int, t7 = type$.int, t8 = type$.List_int, t9 = type$.ListBuilder_int; t5.moveNext$0();) { + t10 = t5.get$current(t5); + group_json = t2.$index(groups_json, t10); + helix_builders_map.toString; + t11 = A._instanceType(helix_builders_map)._eval$1("LinkedHashMapKeyIterable<1>"); + t12 = t11._eval$1("bool(Iterable.E)")._as(new A.Design__groups_from_json_closure(helix_builders_map, t10)); + t11 = A.HelixGroup_from_json(t4._as(group_json), new A.WhereIterable(new A.LinkedHashMapKeyIterable(helix_builders_map, t11), t12, t11._eval$1("WhereIterable"))); + t11.toString; + t12 = new A.HelixGroupBuilder(); + t12.get$_group$_$this()._group$_grid = B.Grid_none; + t13 = $.$get$Position3D_origin(); + t13.toString; + t14 = new A.Position3DBuilder(); + t14._position3d$_$v = t13; + t12.get$_group$_$this()._group$_position = t14; + t12.get$_group$_$this()._pitch = 0; + t12.get$_group$_$this()._yaw = 0; + t12.get$_group$_$this()._group$_roll = 0; + t13 = new A.ListBuilder(t9); + t13.set$__ListBuilder__list_A(t8._as(A.List_List$from(B.List_empty, true, t7))); + t13.set$_listOwner(null); + t6._as(t13); + t12.get$_group$_$this().set$_group$_helices_view_order(t13); + t12._group$_$v = t11; + group_builders_map.$indexSet(0, t10, t12); + } + } + A.ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map); + t2 = A.Design__num_helix_groups(json_map); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 1) + for (t1 = J.get$entries$x(group_to_pitch_yaw), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + group_name = t2.key; + t2 = t2.value; + pitch = t2.pitch; + yaw = t2.yaw; + t2 = group_builders_map.$index(0, group_name); + t2.toString; + t3 = group_builders_map.$index(0, group_name).get$_group$_$this()._pitch; + t3.toString; + if (typeof pitch !== "number") + return A.iae(pitch); + t2.get$_group$_$this()._pitch = t3 + pitch; + t3 = group_builders_map.$index(0, group_name); + t3.toString; + t2 = group_builders_map.$index(0, group_name).get$_group$_$this()._yaw; + t2.toString; + if (typeof yaw !== "number") + return A.iae(yaw); + t3.get$_group$_$this()._yaw = t2 + yaw; + } + else { + new_groups = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + t2 = group_builders_map.get$values(group_builders_map); + group = t2._f.call$1(J.get$first$ax(t2.__internal$_iterable)); + for (t2 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices), t2 = t2.get$iterator(t2), t3 = type$.nullable_ListBuilder_int, t4 = type$.int, t5 = type$.List_int, t6 = type$.ListBuilder_int, t7 = type$.double, t8 = type$.dynamic; t2.moveNext$0();) { + t9 = t2.get$current(t2); + t10 = t9.key; + helix_pitch = t10.pitch; + helix_yaw = t10.yaw; + helix_list = t9.value; + if (typeof helix_pitch !== "number") + return A.iae(helix_pitch); + if (Math.abs(0 - helix_pitch) < 1e-9) { + if (typeof helix_yaw !== "number") + return A.iae(helix_yaw); + helix_pitch_yaw_is_zero = Math.abs(0 - helix_yaw) < 1e-9; + } else + helix_pitch_yaw_is_zero = false; + if (!helix_pitch_yaw_is_zero) { + t9 = group.get$_group$_$this()._pitch; + t9.toString; + new_pitch = t9 + helix_pitch; + t9 = group.get$_group$_$this()._yaw; + t9.toString; + if (typeof helix_yaw !== "number") + return A.iae(helix_yaw); + new_yaw = t9 + helix_yaw; + new_group_name = "pitch_" + A.S(new_pitch) + "_yaw_" + A.S(new_yaw); + group_json = A.LinkedHashMap_LinkedHashMap$_empty(t1, t8); + group_json.$indexSet(0, "pitch", new_pitch); + group_json.$indexSet(0, "yaw", new_yaw); + t9 = group.get$_group$_$this(); + t10 = t9._group$_position; + t9 = (t10 == null ? t9._group$_position = new A.Position3DBuilder() : t10)._position3d$_build$0(); + group_json.$indexSet(0, "position", A.LinkedHashMap_LinkedHashMap$_literal(["x", t9.x, "y", t9.y, "z", t9.z], t1, t7)); + group_json.$indexSet(0, "grid", group.get$_group$_$this()._group$_grid.name); + t9 = J.getInterceptor$ax(helix_list); + t10 = A.HelixGroup_from_json(group_json, t9.map$1$1(helix_list, new A.Design__groups_from_json_closure0(), t4)); + t10.toString; + t11 = new A.HelixGroupBuilder(); + t11.get$_group$_$this()._group$_grid = B.Grid_none; + t12 = $.$get$Position3D_origin(); + t12.toString; + t13 = new A.Position3DBuilder(); + t13._position3d$_$v = t12; + t11.get$_group$_$this()._group$_position = t13; + t11.get$_group$_$this()._pitch = 0; + t11.get$_group$_$this()._yaw = 0; + t11.get$_group$_$this()._group$_roll = 0; + t12 = new A.ListBuilder(t6); + t12.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t4))); + t12.set$_listOwner(null); + t3._as(t12); + t11.get$_group$_$this().set$_group$_helices_view_order(t12); + t11._group$_$v = t10; + new_groups.$indexSet(0, new_group_name, t11); + for (t9 = t9.get$iterator(helix_list); t9.moveNext$0();) + t9.get$current(t9).get$_helix$_$this()._group = new_group_name; + } + } + group_builders_map.addEntries$1(group_builders_map, new_groups.get$entries(new_groups)); + } + return group_builders_map; }, - LoopoutsLengthChange: function LoopoutsLengthChange() { + Design__helices_and_groups_from_json(json_map, invert_y, position_x_z_should_swap, geometry) { + var helices_view_order, t2, t3, t4, t5, t6, t7, + _s18_ = "helices_view_order", + grid_is_none = A.optional_field(json_map, "grid", B.Grid_none, B.List_empty0, null, A.grid_Grid_valueOf$closure(), type$.Grid, type$.String) === B.Grid_none, + t1 = J.getInterceptor$x(json_map), + using_groups = t1.containsKey$1(json_map, "groups"), + r = A.Design__helices_from_json(json_map, invert_y, geometry), + helix_builders_map = r.item1, + group_builders_map = A.Design__groups_from_json(json_map, helix_builders_map, r.item2, r.item3); + if (t1.containsKey$1(json_map, _s18_)) { + helices_view_order = A.List_List$from(type$.Iterable_dynamic._as(t1.$index(json_map, _s18_)), true, type$.int); + group_builders_map.$index(0, "default_group").get$helices_view_order().replace$1(0, helices_view_order); + } + A.assign_default_helices_view_orders_to_groups(group_builders_map, helix_builders_map); + if (position_x_z_should_swap) { + for (t1 = helix_builders_map.get$values(helix_builders_map), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")), t1 = !using_groups; t2.moveNext$0();) { + t3 = t2.__internal$_current; + if (!(grid_is_none && t1)) + if (using_groups) { + t4 = group_builders_map.$index(0, t3.get$_helix$_$this()._group).get$_group$_$this()._group$_grid; + t4.toString; + t4 = t4 === B.Grid_none; + } else + t4 = false; + else + t4 = true; + if (t4) { + t4 = t3.get$_helix$_$this(); + t5 = t4._position_; + t4 = (t5 == null ? t4._position_ = new A.Position3DBuilder() : t5).get$_position3d$_$this()._x; + t4.toString; + t5 = t3.get$_helix$_$this(); + t6 = t5._position_; + t5 = t6 == null ? t5._position_ = new A.Position3DBuilder() : t6; + t6 = t3.get$_helix$_$this(); + t7 = t6._position_; + t6 = (t7 == null ? t6._position_ = new A.Position3DBuilder() : t7).get$_position3d$_$this()._z; + t5.get$_position3d$_$this()._x = t6; + t3 = t3.get$_helix$_$this(); + t6 = t3._position_; + (t6 == null ? t3._position_ = new A.Position3DBuilder() : t6).get$_position3d$_$this()._z = t4; + } + } + for (t1 = group_builders_map.get$values(group_builders_map), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + t3 = t1.get$_group$_$this(); + t4 = t3._group$_position; + t3 = (t4 == null ? t3._group$_position = new A.Position3DBuilder() : t4).get$_position3d$_$this()._x; + t3.toString; + t4 = t1.get$_group$_$this(); + t5 = t4._group$_position; + t4 = t5 == null ? t4._group$_position = new A.Position3DBuilder() : t5; + t5 = t1.get$_group$_$this(); + t6 = t5._group$_position; + t5 = (t6 == null ? t5._group$_position = new A.Position3DBuilder() : t6).get$_position3d$_$this()._z; + t4.get$_position3d$_$this()._x = t5; + t1 = t1.get$_group$_$this(); + t5 = t1._group$_position; + (t5 == null ? t1._group$_position = new A.Position3DBuilder() : t5).get$_position3d$_$this()._z = t3; + } + } + return new A.Tuple2(helix_builders_map, group_builders_map, type$.Tuple2_of_Map_int_HelixBuilder_and_Map_String_HelixGroupBuilder); }, - LoopoutsLengthChange_LoopoutsLengthChange_closure: function LoopoutsLengthChange_LoopoutsLengthChange_closure(t0, t1) { - this.loopouts = t0; - this.length = t1; + Design_from_json_str(json_str, invert_y) { + var e, exception, t1, json_map = null; + try { + json_map = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, json_str, null)); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.FormatException._is(t1)) { + e = t1; + throw A.wrapException(A.IllegalDesignError$("Error in syntax of scadnano file: " + A.S(J.get$message$x(e)))); + } else + throw exception; + } + return A.Design_from_json(json_map, invert_y); }, - ConvertCrossoverToLoopout: function ConvertCrossoverToLoopout() { + Design_from_json(json_map, invert_y) { + var t1, version1, version2, t2, t3, position_x_z_should_swap, unused_fields, geometry, t, strands, strand_jsons, t4, groups_map, mods_5p, mods_3p, mods_int, t5, _i, all_mods_key_and_mods, all_mods_key, mods, all_mods_json, t6, t7, t8, mod_key, mod, all_mods, _null = null, + _s23_ = "modifications_in_design"; + if (json_map == null) + return _null; + A.Design__check_mutually_exclusive_fields(json_map); + t1 = type$.String; + version1 = A.get_version(A.optional_field(json_map, "version", "0.19.5", B.List_empty0, _null, _null, t1, type$.dynamic)); + version2 = A.get_version("0.13.0"); + t2 = version1.major; + t3 = version2.major; + if (t2 >= t3) { + t2 = t2 === t3; + if (!(t2 && version1.minor < version2.minor)) { + t2 = t2 && version1.minor === version2.minor && version1.patch < version2.patch; + position_x_z_should_swap = t2; + } else + position_x_z_should_swap = true; + } else + position_x_z_should_swap = true; + unused_fields = A.unused_fields_map(json_map, $.$get$design_keys()).build$0(); + t2 = type$.Map_String_dynamic; + geometry = A.optional_field(json_map, "geometry", A.Geometry_Geometry(10.5, 1, 1, 150, 0.332), B.List_parameters, _null, new A.Design_from_json_closure(), type$.Geometry, t2); + t = A.Design__helices_and_groups_from_json(json_map, invert_y, position_x_z_should_swap, geometry); + strands = A._setArrayType([], type$.JSArray_Strand); + t3 = J.getInterceptor$asx(json_map); + strand_jsons = type$.List_dynamic._as(t3.$index(json_map, "strands")); + for (t4 = J.get$iterator$ax(strand_jsons); t4.moveNext$0();) + B.JSArray_methods.add$1(strands, A.Strand_from_json(t2._as(t4.get$current(t4)))); + groups_map = J.map$2$1$ax(t.item2, new A.Design_from_json_closure0(), t1, type$.HelixGroup); + mods_5p = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Modification5Prime); + mods_3p = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Modification3Prime); + mods_int = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ModificationInternal); + for (t4 = [new A.Tuple2("modifications_5p_in_design", mods_5p, type$.Tuple2_of_String_and_Map_String_Modification5Prime), new A.Tuple2("modifications_3p_in_design", mods_3p, type$.Tuple2_of_String_and_Map_String_Modification3Prime), new A.Tuple2("modifications_int_in_design", mods_int, type$.Tuple2_of_String_and_Map_String_ModificationInternal)], t5 = type$.Iterable_dynamic, _i = 0; _i < 3; ++_i) { + all_mods_key_and_mods = t4[_i]; + all_mods_key = all_mods_key_and_mods.item1; + mods = all_mods_key_and_mods.item2; + if (J.contains$1$asx(t3.get$keys(json_map), all_mods_key)) { + all_mods_json = t3.$index(json_map, all_mods_key); + for (t6 = J.getInterceptor$x(all_mods_json), t7 = J.get$iterator$ax(t5._as(t6.get$keys(all_mods_json))), t8 = J.getInterceptor$ax(mods); t7.moveNext$0();) { + mod_key = t7.get$current(t7); + mod = A.Modification_from_json(t2._as(t6.$index(all_mods_json, mod_key))); + if (!J.$eq$(mod_key, mod.get$vendor_code())) + A.printString("WARNING: key " + A.S(mod_key) + " does not match vendor_code field " + mod.get$vendor_code() + "for modification " + mod.toString$0(0) + "\nreplacing with key = " + mod.get$vendor_code()); + t8.$indexSet(mods, mod.get$vendor_code(), mod); + } + } + } + all_mods = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Modification); + if (t3.containsKey$1(json_map, _s23_)) { + all_mods_json = t2._as(t3.$index(json_map, _s23_)); + for (t1 = J.getInterceptor$x(all_mods_json), t3 = J.get$iterator$ax(t1.get$keys(all_mods_json)); t3.moveNext$0();) { + t4 = t3.get$current(t3); + mod = A.Modification_from_json(t2._as(t1.$index(all_mods_json, t4))); + if (t4 !== mod.get$vendor_code()) + A.printString('WARNING: modification key "' + A.S(t4) + '" does not match vendor code "' + mod.get$vendor_code() + '"; changing key to match vendor code'); + mod_key = mod.get$vendor_code(); + if (all_mods.containsKey$1(0, mod_key)) + throw A.wrapException(A.IllegalDesignError$('multiple modifications with same vendor code "' + mod_key + '"')); + all_mods.$indexSet(0, mod_key, mod); + } + } + A.Design_assign_modifications_to_strands(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods); + t1 = J.get$values$x(t.item1); + t2 = unused_fields._map$_map; + t3 = A._instanceType(unused_fields); + return A.Design_Design(geometry, B.Grid_none, groups_map, t1, invert_y, strands, new A.CopyOnWriteMap(unused_fields._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); }, - ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure: function ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(t0, t1, t2) { - this.crossover = t0; - this.length = t1; - this.dna_sequence = t2; + Design_assign_modifications_to_strands(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods) { + var legacy, t1, t2, t3, t4, t5, t6, t7, t8, i, _box_0, strand, strand_json, t9, mod_name, t10, key, t11, mods_by_idx, mod_names_by_idx_json, offset, mod, + _s19_ = "5prime_modification", + _s27_ = " not found in modifications", + _s25_ = " is not a 5' modification", + _s19_0 = "3prime_modification", + _s25_0 = " is not a 3' modification", + _s22_ = "internal_modifications", + _s32_ = " is not an internal modification"; + if (all_mods._length !== 0) + legacy = true; + else { + if (!(mods_5p._length !== 0 || mods_3p._length !== 0 || mods_int._length !== 0)) + return; + legacy = false; + } + for (t1 = J.getInterceptor$asx(strand_jsons), t2 = type$.nullable_void_Function_StrandBuilder, t3 = type$.void_Function_StrandBuilder, t4 = type$.Modification5Prime, t5 = type$.Modification3Prime, t6 = type$.Iterable_dynamic, t7 = type$.ModificationInternal, t8 = type$.int, i = 0; i < strands.length; ++i) { + _box_0 = {}; + strand = strands[i]; + strand_json = t1.$index(strand_jsons, i); + t9 = J.getInterceptor$x(strand_json); + if (t9.containsKey$1(strand_json, _s19_)) { + mod_name = t9.$index(strand_json, _s19_); + _box_0.mod = null; + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) { + t10 = J.getInterceptor$s(mod_name); + key = t10.substring$2(mod_name, 0, 3) === "5'-" ? t10.substring$1(mod_name, 3) : "5'-" + A.S(mod_name); + } else + key = mod_name; + if (!all_mods.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(all_mods.$index(0, key) instanceof A.Modification5Prime)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s25_)); + _box_0.mod = t4._as(all_mods.$index(0, key)); + } else { + if (!mods_5p.containsKey$1(0, mod_name)) { + t10 = J.getInterceptor$s(mod_name); + key = t10.substring$2(mod_name, 0, 3) === "5'-" ? t10.substring$1(mod_name, 3) : "5'-" + A.S(mod_name); + } else + key = mod_name; + if (!mods_5p.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(mods_5p.$index(0, key) instanceof A.Modification5Prime)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s25_)); + _box_0.mod = t4._as(mods_5p.$index(0, key)); + } + strand.toString; + t10 = t3._as(new A.Design_assign_modifications_to_strands_closure(_box_0)); + t11 = new A.StrandBuilder(); + t11._strand$_$v = strand; + t2._as(t10).call$1(t11); + strand = t11._strand$_build$0(); + } + if (t9.containsKey$1(strand_json, _s19_0)) { + mod_name = t9.$index(strand_json, _s19_0); + _box_0.mod = null; + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) { + t10 = J.getInterceptor$s(mod_name); + key = t10.substring$2(mod_name, 0, 3) === "3'-" ? t10.substring$1(mod_name, 3) : "3'-" + A.S(mod_name); + } else + key = mod_name; + if (!all_mods.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(all_mods.$index(0, key) instanceof A.Modification3Prime)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s25_0)); + _box_0.mod = t5._as(all_mods.$index(0, key)); + } else { + if (!mods_3p.containsKey$1(0, mod_name)) { + t10 = J.getInterceptor$s(mod_name); + key = t10.substring$2(mod_name, 0, 3) === "3'-" ? t10.substring$1(mod_name, 3) : "3'-" + A.S(mod_name); + } else + key = mod_name; + if (!mods_3p.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(mods_3p.$index(0, key) instanceof A.Modification3Prime)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s25_0)); + _box_0.mod = t5._as(mods_3p.$index(0, key)); + } + strand.toString; + t10 = t3._as(new A.Design_assign_modifications_to_strands_closure0(_box_0)); + t11 = new A.StrandBuilder(); + t11._strand$_$v = strand; + t2._as(t10).call$1(t11); + strand = t11._strand$_build$0(); + } + if (t9.containsKey$1(strand_json, _s22_)) { + mods_by_idx = A.LinkedHashMap_LinkedHashMap$_empty(t8, t7); + mod_names_by_idx_json = t9.$index(strand_json, _s22_); + for (t9 = J.getInterceptor$x(mod_names_by_idx_json), t10 = J.get$iterator$ax(t6._as(t9.get$keys(mod_names_by_idx_json))); t10.moveNext$0();) { + t11 = A._asStringS(t10.get$current(t10)); + offset = A.int_parse(t11, null); + mod_name = A._asStringS(t9.$index(mod_names_by_idx_json, t11)); + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) + key = J.substring$2$s(mod_name, 0, 9) === "internal-" ? B.JSString_methods.substring$1(mod_name, 9) : "internal-" + mod_name; + else + key = mod_name; + if (!all_mods.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(all_mods.$index(0, key) instanceof A.ModificationInternal)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s32_)); + mod = t7._as(all_mods.$index(0, key)); + } else { + key = !mods_int.containsKey$1(0, mod_name) ? "internal-" + A.S(mod_name) : mod_name; + if (!mods_int.containsKey$1(0, key)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s27_)); + if (!(mods_int.$index(0, key) instanceof A.ModificationInternal)) + throw A.wrapException(A.IllegalDesignError$("modification " + A.S(mod_name) + _s32_)); + mod = t7._as(mods_int.$index(0, key)); + } + mods_by_idx.$indexSet(0, offset, mod); + } + strand.toString; + t9 = t3._as(new A.Design_assign_modifications_to_strands_closure1(mods_by_idx)); + t10 = new A.StrandBuilder(); + t10._strand$_$v = strand; + t2._as(t9).call$1(t10); + strand = t10._strand$_build$0(); + } + B.JSArray_methods.$indexSet(strands, i, strand); + } }, - ConvertCrossoversToLoopouts: function ConvertCrossoversToLoopouts() { + Design_domains_mismatch(forward_domain, reverse_domain) { + var t1, name1, name2; + if (!forward_domain.overlaps$1(reverse_domain)) + return false; + if (forward_domain.start !== reverse_domain.start) + return true; + if (forward_domain.end !== reverse_domain.end) + return true; + t1 = forward_domain.name; + if (t1 == null || false) + return false; + t1.toString; + name1 = reverse_domain.name; + if (t1.length > name1.length) + name2 = t1; + else { + name2 = name1; + name1 = t1; + } + return name1 + "*" !== name2; }, - ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure: function ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(t0, t1) { - this.crossovers = t0; - this.length = t1; + Design_from_cadnano_v2(json_dict, invert_y) { + var grid_type, t2, t3, t4, min_col, min_row, cadnano_helix, t5, col, row, helix_builders, t6, n, helix, t7, seen, strands, cadnano_helices, helix_num, _i, strand_type, base_id, strand, + _s8_ = "vstrands", + _null = null, + _s13_ = "default_group", + t1 = J.getInterceptor$asx(json_dict), + num_bases = A._asIntS(J.get$length$asx(J.$index$asx(J.$index$asx(t1.$index(json_dict, _s8_), 0), "scaf"))); + if (typeof num_bases !== "number") + return num_bases.$mod(); + grid_type = B.JSInt_methods.$mod(num_bases, 21) === 0 ? B.Grid_honeycomb : B.Grid_square; + for (t2 = type$.Iterable_dynamic, t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))), t4 = type$.Map_String_dynamic, min_col = _null, min_row = min_col; t3.moveNext$0();) { + cadnano_helix = t4._as(t3.get$current(t3)); + t5 = J.getInterceptor$asx(cadnano_helix); + col = A._asIntS(t5.$index(cadnano_helix, "col")); + row = A._asIntS(t5.$index(cadnano_helix, "row")); + if (min_row == null) + min_row = row; + if (min_col == null) + min_col = col; + if (typeof row !== "number") + return row.$lt(); + if (typeof min_row !== "number") + return A.iae(min_row); + if (row < min_row) + min_row = row; + if (typeof col !== "number") + return col.$lt(); + if (typeof min_col !== "number") + return A.iae(min_col); + if (col < min_col) + min_col = col; + } + t3 = type$.int; + helix_builders = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t3, type$.HelixBuilder); + for (t5 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t5.moveNext$0();) { + cadnano_helix = t4._as(t5.get$current(t5)); + t6 = J.getInterceptor$asx(cadnano_helix); + col = A._asIntS(t6.$index(cadnano_helix, "col")); + row = A._asIntS(t6.$index(cadnano_helix, "row")); + n = A._asIntS(t6.$index(cadnano_helix, "num")); + helix = new A.HelixBuilder(); + helix.get$_helix$_$this()._group = _s13_; + helix.get$_helix$_$this()._min_offset = 0; + helix.get$_helix$_$this()._roll = 0; + helix.get$_helix$_$this()._idx = n; + helix.get$_helix$_$this()._max_offset = num_bases; + t6 = A.GridPosition_GridPosition(col, row); + t7 = new A.GridPositionBuilder(); + t7._grid_position$_$v = t6; + helix.get$_helix$_$this()._grid_position = t7; + helix.get$_helix$_$this()._group = _s13_; + helix_builders.$indexSet(0, n, helix); + } + seen = A.HashMap_HashMap(_null, _null, _null, type$.String, type$.Map_of_Tuple2_int_int_and_bool); + t5 = type$.Tuple2_int_int; + t6 = type$.bool; + seen.$indexSet(0, "scaf", A.HashMap_HashMap(_null, _null, _null, t5, t6)); + seen.$indexSet(0, "stap", A.HashMap_HashMap(_null, _null, _null, t5, t6)); + strands = A._setArrayType([], type$.JSArray_Strand); + cadnano_helices = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t3, t4); + for (t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t3.moveNext$0();) { + cadnano_helix = t4._as(t3.get$current(t3)); + cadnano_helices.$indexSet(0, A._asIntS(J.$index$asx(cadnano_helix, "num")), cadnano_helix); + } + for (t1 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t1.moveNext$0();) { + helix_num = A._asIntS(J.$index$asx(t4._as(t1.get$current(t1)), "num")); + for (t2 = ["scaf", "stap"], _i = 0; _i < 2; ++_i) { + strand_type = t2[_i]; + t3 = seen.$index(0, strand_type); + t3.toString; + for (t6 = J.getInterceptor$x(t3), base_id = 0; base_id < num_bases; ++base_id) { + if (t6.containsKey$1(t3, new A.Tuple2(helix_num, base_id, t5))) + continue; + strand = A.Design__cadnano_v2_import_explore_strand(cadnano_helices, strand_type, t3, helix_num, base_id); + if (strand != null) + B.JSArray_methods.add$1(strands, strand); + } + } + } + return A.Design_Design(_null, grid_type, _null, helix_builders.get$values(helix_builders), invert_y, strands, B.Map_empty1); }, - Nick: function Nick() { + Design__cadnano_v2_import_explore_strand(vstrands, strand_type, seen, helix_num, base_id) { + var t1, t2, t3, t4, tmp, strand_5_end_helix, strand_5_end_base, is_circular, strand_color, domains, _null = null; + J.$indexSet$ax(seen, new A.Tuple2(helix_num, base_id, type$.Tuple2_int_int), true); + t1 = vstrands.$index(0, helix_num); + t1.toString; + t1 = J.$index$asx(t1, strand_type); + t1.toString; + t1 = J.$index$asx(t1, base_id); + t1.toString; + t1 = J.$index$asx(t1, 0); + t1.toString; + A._asIntS(t1); + t2 = vstrands.$index(0, helix_num); + t2.toString; + t2 = J.$index$asx(t2, strand_type); + t2.toString; + t2 = J.$index$asx(t2, base_id); + t2.toString; + t2 = J.$index$asx(t2, 1); + t2.toString; + A._asIntS(t2); + t3 = vstrands.$index(0, helix_num); + t3.toString; + t3 = J.$index$asx(t3, strand_type); + t3.toString; + t3 = J.$index$asx(t3, base_id); + t3.toString; + t3 = J.$index$asx(t3, 2); + t3.toString; + A._asIntS(t3); + t4 = vstrands.$index(0, helix_num); + t4.toString; + t4 = J.$index$asx(t4, strand_type); + t4.toString; + t4 = J.$index$asx(t4, base_id); + t4.toString; + t4 = J.$index$asx(t4, 3); + t4.toString; + A._asIntS(t4); + if (t1 === -1 && t2 === -1 && t3 === -1 && t4 === -1) + return _null; + tmp = A.Design__cadnano_v2_import_find_5_end(vstrands, strand_type, helix_num, base_id, t1, t2); + strand_5_end_helix = tmp.item1; + strand_5_end_base = tmp.item2; + is_circular = tmp.item3; + strand_color = A.Design__cadnano_v2_import_find_strand_color(vstrands, strand_type, strand_5_end_base, strand_5_end_helix); + domains = A.Design__cadnano_v2_import_explore_domains(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix); + if (is_circular) + A.Design__cadnano_v2_import_circular_strands_merge_first_last_domains(domains); + return A.Strand_Strand(domains, is_circular, strand_color, _null, strand_type === "scaf", _null, _null, _null, B.Map_empty0, _null, _null); }, - Ligate: function Ligate() { + Design__cadnano_v2_import_find_5_end(vstrands, strand_type, helix_num, base_id, id_from, base_from) { + var is_circular, t2, t3, + t1 = type$.Tuple2_int_int, + circular_seen = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.bool), + base_from_before = base_id, + id_from_before = helix_num; + while (true) { + if (!!(id_from === -1 && base_from === -1)) { + is_circular = false; + break; + } + if (circular_seen.containsKey$1(0, new A.Tuple2(id_from, base_from, t1))) { + is_circular = true; + break; + } + circular_seen.$indexSet(0, new A.Tuple2(id_from, base_from, t1), true); + t2 = vstrands.$index(0, id_from); + t2.toString; + t2 = J.$index$asx(t2, strand_type); + t2.toString; + t2 = J.$index$asx(t2, base_from); + t2.toString; + t2 = J.$index$asx(t2, 0); + t2.toString; + A._asIntS(t2); + t3 = vstrands.$index(0, id_from); + t3.toString; + t3 = J.$index$asx(t3, strand_type); + t3.toString; + t3 = J.$index$asx(t3, base_from); + t3.toString; + t3 = J.$index$asx(t3, 1); + t3.toString; + A._asIntS(t3); + base_from_before = base_from; + base_from = t3; + id_from_before = id_from; + id_from = t2; + } + return new A.Tuple3(id_from_before, base_from_before, is_circular, type$.Tuple3_int_int_bool); }, - JoinStrandsByCrossover: function JoinStrandsByCrossover() { + Design__cadnano_v2_import_find_strand_color(vstrands, strand_type, strand_5_end_base, strand_5_end_helix) { + var t1, t2, tmp, t3, base_id, stap_color, + color = $.$get$default_cadnano_strand_color(); + if (strand_type === "scaf") + return $.$get$default_scaffold_color(); + if (strand_type === "stap") { + t1 = vstrands.$index(0, strand_5_end_helix); + t1.toString; + t1 = J.$index$asx(t1, "stap_colors"); + t1.toString; + t1 = J.get$iterator$ax(type$.Iterable_dynamic._as(t1)); + t2 = type$.List_dynamic; + for (; t1.moveNext$0();) { + tmp = t2._as(t1.get$current(t1)); + t3 = J.getInterceptor$asx(tmp); + base_id = A._asIntS(t3.$index(tmp, 0)); + stap_color = A._asIntS(t3.$index(tmp, 1)); + if (base_id == strand_5_end_base) { + color = A.HexColor_HexColor(B.JSString_methods.padLeft$2(J.toRadixString$1$n(stap_color, 16), 6, "0")); + break; + } + } + } + return color; }, - MoveLinker: function MoveLinker() { + Design__cadnano_v2_import_explore_domains(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix) { + var t2, direction_forward, start, end, circular_seen, t3, t4, t5, curr_base, curr_helix, t6, t7, t8, t9, t10, t11, + domains = A._setArrayType([], type$.JSArray_Domain), + t1 = strand_type === "scaf"; + if (t1) { + if (typeof strand_5_end_helix !== "number") + return strand_5_end_helix.$mod(); + t2 = B.JSInt_methods.$mod(strand_5_end_helix, 2) === 0; + } else + t2 = false; + if (!t2) + if (strand_type === "stap") { + if (typeof strand_5_end_helix !== "number") + return strand_5_end_helix.$mod(); + t2 = B.JSInt_methods.$mod(strand_5_end_helix, 2) === 1; + direction_forward = t2; + } else + direction_forward = false; + else + direction_forward = true; + if (direction_forward) { + start = strand_5_end_base; + end = -1; + } else { + end = strand_5_end_base; + start = -1; + } + t2 = type$.Tuple2_int_int; + circular_seen = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.bool); + t3 = J.getInterceptor$ax(seen); + t4 = type$.List_dynamic; + t5 = strand_type === "stap"; + curr_base = strand_5_end_base; + curr_helix = strand_5_end_helix; + while (true) { + if (!!(curr_helix === -1 && curr_base === -1)) + break; + if (circular_seen.containsKey$1(0, new A.Tuple2(curr_helix, curr_base, t2))) + break; + circular_seen.$indexSet(0, new A.Tuple2(curr_helix, curr_base, t2), true); + t3.$indexSet(seen, new A.Tuple2(curr_helix, curr_base, t2), true); + t6 = vstrands.$index(0, curr_helix); + t6.toString; + t6 = J.$index$asx(t6, strand_type); + t6.toString; + t6 = J.$index$asx(t6, curr_base); + t6.toString; + t6 = J.$index$asx(t6, 2); + t6.toString; + A._asIntS(t6); + t7 = vstrands.$index(0, curr_helix); + t7.toString; + t7 = J.$index$asx(t7, strand_type); + t7.toString; + t7 = J.$index$asx(t7, curr_base); + t7.toString; + t7 = J.$index$asx(t7, 3); + t7.toString; + A._asIntS(t7); + if (t6 === curr_helix) { + if (!direction_forward) { + if (typeof curr_base !== "number") + return A.iae(curr_base); + t8 = t7 > curr_base; + } else + t8 = false; + if (!t8) { + if (direction_forward) { + if (typeof curr_base !== "number") + return A.iae(curr_base); + t8 = t7 < curr_base; + } else + t8 = false; + if (!t8) { + if (typeof curr_base !== "number") + return A.iae(curr_base); + if (Math.abs(t7 - curr_base) <= 1) + t8 = t6 === strand_5_end_helix && t7 === strand_5_end_base; + else + t8 = true; + } else + t8 = true; + } else + t8 = true; + } else + t8 = true; + if (t8) { + if (direction_forward) + end = curr_base; + else + start = curr_base; + t8 = Math.min(A.checkNum(start), A.checkNum(end)); + t9 = Math.max(A.checkNum(start), A.checkNum(end)); + t10 = vstrands.$index(0, curr_helix); + t10.toString; + t10 = A.Design__cadnano_v2_import_extract_deletions(t4._as(J.$index$asx(t10, "skip")), start, end); + t11 = vstrands.$index(0, curr_helix); + t11.toString; + B.JSArray_methods.add$1(domains, A.Domain_Domain(t10, t9 + 1, direction_forward, curr_helix, A.Design__cadnano_v2_import_extract_insertions(t4._as(J.$index$asx(t11, "loop")), start, end), false, false, t1, t8)); + if (!(t1 && B.JSInt_methods.$mod(t6, 2) === 0)) + direction_forward = t5 && B.JSInt_methods.$mod(t6, 2) === 1; + else + direction_forward = true; + if (direction_forward) { + start = t7; + end = -1; + } else { + end = t7; + start = -1; + } + } + curr_base = t7; + curr_helix = t6; + } + return domains; }, - JoinStrandsByMultipleCrossovers: function JoinStrandsByMultipleCrossovers() { + Design__cadnano_v2_import_circular_strands_merge_first_last_domains(domains) { + if (B.JSArray_methods.get$first(domains).helix !== B.JSArray_methods.get$last(domains).helix) + return; + if (0 >= domains.length) + return A.ioore(domains, 0); + B.JSArray_methods.$indexSet(domains, 0, domains[0].rebuild$1(new A.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(domains))); + if (0 >= domains.length) + return A.ioore(domains, -1); + domains.pop(); }, - StrandsReflect: function StrandsReflect() { + Design__cadnano_v2_import_extract_deletions(skip_table, start, end) { + var to_return = A._setArrayType([], type$.JSArray_int), + t1 = J.getInterceptor$asx(skip_table), + base_id = start; + while (true) { + if (typeof base_id !== "number") + return base_id.$lt(); + if (typeof end !== "number") + return A.iae(end); + if (!(base_id < end)) + break; + if (J.$eq$(t1.$index(skip_table, base_id), -1)) + B.JSArray_methods.add$1(to_return, base_id); + ++base_id; + } + return to_return; }, - ReplaceStrands: function ReplaceStrands() { + Design__cadnano_v2_import_extract_insertions(loop_table, start, end) { + var to_return = A._setArrayType([], type$.JSArray_Insertion), + t1 = J.getInterceptor$asx(loop_table), + base_id = start; + while (true) { + if (typeof base_id !== "number") + return base_id.$lt(); + if (typeof end !== "number") + return A.iae(end); + if (!(base_id < end)) + break; + if (!J.$eq$(t1.$index(loop_table, base_id), 0)) + B.JSArray_methods.add$1(to_return, A.Insertion_Insertion(base_id, A._asIntS(t1.$index(loop_table, base_id)))); + ++base_id; + } + return to_return; }, - StrandCreateStart: function StrandCreateStart() { + _calculate_groups_from_helix_builders(helix_builders, grid) { + var t2, group_to_helix_idxs, t3, t4, t5, + t1 = J.getInterceptor$asx(helix_builders); + if (t1.get$isEmpty(helix_builders)) + return A.LinkedHashMap_LinkedHashMap$_literal(["default_group", A.HelixGroup_HelixGroup(grid, A._setArrayType([], type$.JSArray_int), 0, null, 0, 0)], type$.String, type$.HelixGroup); + t2 = type$.String; + group_to_helix_idxs = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_int); + for (t1 = t1.get$iterator(helix_builders), t3 = type$.JSArray_int; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.get$_helix$_$this()._group; + t5.toString; + if (!group_to_helix_idxs.containsKey$1(0, t5)) + group_to_helix_idxs.$indexSet(0, t5, A._setArrayType([], t3)); + t5 = group_to_helix_idxs.$index(0, t5); + t5.toString; + t4 = t4.get$_helix$_$this()._idx; + t4.toString; + B.JSArray_methods.add$1(t5, t4); + } + t1 = group_to_helix_idxs.get$values(group_to_helix_idxs); + t3 = A._instanceType(t1); + A.MappedIterable_MappedIterable(t1, t3._eval$1("~(Iterable.E)")._as(new A._calculate_groups_from_helix_builders_closure()), t3._eval$1("Iterable.E"), type$.void); + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.HelixGroup); + for (t1 = A.LinkedHashMapKeyIterator$(group_to_helix_idxs, group_to_helix_idxs._modifications, group_to_helix_idxs.$ti._precomputed1); t1.moveNext$0();) { + t3 = t1.__js_helper$_current; + t4 = group_to_helix_idxs.$index(0, t3); + t4.toString; + t2.$indexSet(0, t3, A.HelixGroup_HelixGroup(grid, t4, 0, null, 0, 0)); + } + return t2; }, - StrandCreateAdjustOffset: function StrandCreateAdjustOffset() { + ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map) { + var t1, t2; + for (t1 = helix_builders_map.get$values(helix_builders_map), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + if (!group_builders_map.containsKey$1(0, t1.get$_helix$_$this()._group)) + throw A.wrapException(A.IllegalDesignError$("helix " + A.S(t1.get$idx()) + " has group " + A.S(t1.get$group()) + ", which does not exist in the design.\nThe valid groups are: " + group_builders_map.get$keys(group_builders_map).join$1(0, ", "))); + } }, - StrandCreateStop: function StrandCreateStop() { + assign_grids_to_helix_builders_from_groups(groups_map, helix_builders) { + var t1, t2, t3; + for (t1 = helix_builders.get$values(helix_builders), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + t3 = groups_map.$index(0, t1.get$_helix$_$this()._group); + t3.toString; + t1.get$_helix$_$this()._grid = t3.grid; + } }, - StrandCreateCommit: function StrandCreateCommit() { + assign_default_helices_view_orders_to_groups(group_builders_map, helix_builders) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, helix_builders_in_group, t11, helix_idxs, existing_helices_view_order, identity, helices_view_order, sorted_helices_view_order, sorted_helix_idxs, new_helices_view_order, _null = null, _s4_ = "sort", + t1 = type$.int, + num_helices_in_group = group_builders_map.map$2$1(group_builders_map, new A.assign_default_helices_view_orders_to_groups_closure(), type$.String, t1); + for (t2 = helix_builders.get$values(helix_builders), t3 = A._instanceType(t2), t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); t3.moveNext$0();) { + t2 = t3.__internal$_current; + t4 = t2.get$_helix$_$this()._group; + t4.toString; + t2 = num_helices_in_group.$index(0, t2.get$_helix$_$this()._group); + t2.toString; + if (typeof t2 !== "number") + return t2.$add(); + num_helices_in_group.$indexSet(0, t4, t2 + 1); + } + for (t2 = A.LinkedHashMapKeyIterator$(group_builders_map, group_builders_map._modifications, A._instanceType(group_builders_map)._precomputed1), t3 = type$.List_int, t4 = type$.ListBuilder_int, t5 = A._instanceType(helix_builders)._eval$1("LinkedHashMapKeyIterator<1>"), t6 = type$.HelixBuilder; t2.moveNext$0();) { + t7 = t2.__js_helper$_current; + t8 = group_builders_map.$index(0, t7); + t8.toString; + t9 = t8.get$_group$_$this(); + t10 = t9._group$_helices_view_order; + if (t10 == null) { + t10 = new A.ListBuilder(t4); + t10.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t1))); + t10.set$_listOwner(_null); + t9.set$_group$_helices_view_order(t10); + t9 = t10; + } else + t9 = t10; + t9 = t9.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI("_list"); + if (t9.length !== num_helices_in_group.$index(0, t7)) { + helix_builders_in_group = A.LinkedHashMap_LinkedHashMap$_empty(t1, t6); + for (t9 = new A.LinkedHashMapKeyIterator(helix_builders, helix_builders._modifications, t5), t9._cell = helix_builders._first; t9.moveNext$0();) { + t10 = t9.__js_helper$_current; + t11 = helix_builders.$index(0, t10); + t11.toString; + if (t11.get$_helix$_$this()._group == t7) + helix_builders_in_group.$indexSet(0, t10, t11); + } + t7 = helix_builders_in_group.$ti._eval$1("LinkedHashMapKeyIterable<1>"); + helix_idxs = A.List_List$of(new A.LinkedHashMapKeyIterable(helix_builders_in_group, t7), true, t7._eval$1("Iterable.E")); + t7 = t8.get$_group$_$this(); + t9 = t7._group$_helices_view_order; + if (t9 == null) { + t9 = new A.ListBuilder(t4); + t9.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t1))); + t9.set$_listOwner(_null); + t7.set$_group$_helices_view_order(t9); + t7 = t9; + } else + t7 = t9; + if (t7._listOwner == null) { + t9 = t7.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI("_list"); + t10 = t7.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t11 = t11._as(new A._BuiltList(t9, t11)); + t7.set$__ListBuilder__list_A(t10._eval$1("List<1>")._as(t9)); + t7.set$_listOwner(t11); + } + existing_helices_view_order = t7._listOwner; + if (existing_helices_view_order._list.length !== helix_idxs.length) { + identity = A.List_List$of(helix_idxs, true, t1); + t7 = A._arrayInstanceType(identity); + t7._eval$1("int(1,1)?")._as(null); + if (!!identity.immutable$list) + A.throwExpression(A.UnsupportedError$(_s4_)); + t7 = t7._precomputed1; + t9 = identity.length - 1; + if (t9 - 0 <= 32) + A.Sort__insertionSort(identity, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + else + A.Sort__dualPivotQuicksort(identity, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + helices_view_order = identity; + } else { + sorted_helices_view_order = A.List_List$of(existing_helices_view_order, true, t1); + sorted_helix_idxs = A.List_List$of(helix_idxs, true, t1); + t7 = A._arrayInstanceType(sorted_helices_view_order); + t7._eval$1("int(1,1)?")._as(null); + if (!!sorted_helices_view_order.immutable$list) + A.throwExpression(A.UnsupportedError$(_s4_)); + t7 = t7._precomputed1; + t9 = sorted_helices_view_order.length - 1; + if (t9 - 0 <= 32) + A.Sort__insertionSort(sorted_helices_view_order, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + else + A.Sort__dualPivotQuicksort(sorted_helices_view_order, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + t7 = A._arrayInstanceType(sorted_helix_idxs); + t7._eval$1("int(1,1)?")._as(null); + if (!!sorted_helix_idxs.immutable$list) + A.throwExpression(A.UnsupportedError$(_s4_)); + t7 = t7._precomputed1; + t9 = sorted_helix_idxs.length - 1; + if (t9 - 0 <= 32) + A.Sort__insertionSort(sorted_helix_idxs, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + else + A.Sort__dualPivotQuicksort(sorted_helix_idxs, 0, t9, J._interceptors_JSArray__compareAny$closure(), t7); + if (sorted_helices_view_order !== sorted_helix_idxs) + A.throwExpression(A.IllegalDesignError$("The specified helices view order: " + existing_helices_view_order.toString$0(0) + "\n is not a bijection on helices indices: " + A.S(helix_idxs) + ".")); + helices_view_order = existing_helices_view_order; + } + new_helices_view_order = J.toList$0$ax(helices_view_order); + t7 = t8.get$_group$_$this(); + t8 = t7._group$_helices_view_order; + if (t8 == null) { + t8 = new A.ListBuilder(t4); + t8.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t1))); + t8.set$_listOwner(_null); + t7.set$_group$_helices_view_order(t8); + t7 = t8; + } else + t7 = t8; + t8 = t7.$ti; + t7.set$__ListBuilder__list_A(t8._eval$1("List<1>")._as(A.List_List$from(new_helices_view_order, true, t8._precomputed1))); + t7.set$_listOwner(_null); + } + } }, - PotentialCrossoverCreate: function PotentialCrossoverCreate() { + construct_helix_idx_to_domains_map(strands, helix_idxs) { + var t1, t2, t3, t4, t5, helix_idx_to_substrands_builtset_builder, t6, + helix_idx_to_domains = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_List_Domain); + if (helix_idxs != null) + for (t1 = helix_idxs.get$iterator(helix_idxs), t2 = type$.JSArray_Domain; t1.moveNext$0();) + helix_idx_to_domains.$indexSet(0, t1.get$current(t1), A._setArrayType([], t2)); + for (t1 = J.get$iterator$ax(strands), t2 = type$.JSArray_Domain; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = t4.helix; + if (helix_idx_to_domains.containsKey$1(0, t5)) { + t5 = helix_idx_to_domains.$index(0, t5); + t5.toString; + J.add$1$ax(t5, t4); + } else + helix_idx_to_domains.$indexSet(0, t5, A._setArrayType([t4], t2)); + } + } + helix_idx_to_substrands_builtset_builder = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_BuiltList_Domain); + for (t1 = type$.int, t2 = A.LinkedHashMapKeyIterator$(helix_idx_to_domains, helix_idx_to_domains._modifications, t1), t3 = type$.Domain, t4 = type$._BuiltList_Domain; t2.moveNext$0();) { + t5 = t2.__js_helper$_current; + t6 = helix_idx_to_domains.$index(0, t5); + t6.toString; + J.sort$1$ax(t6, new A.construct_helix_idx_to_domains_map_closure()); + t6 = new A._BuiltList(A.List_List$from(t6, false, t3), t4); + t6._maybeCheckForNull$0(); + helix_idx_to_substrands_builtset_builder.$indexSet(0, t5, t6); + } + return A.BuiltMap_BuiltMap$of(helix_idx_to_substrands_builtset_builder, t1, type$.BuiltList_Domain); + }, + set_helices_min_max_offsets(helix_builders, strands) { + var t2, helix_builder, t3, min_offset, + t1 = A._instanceType(helix_builders), + helix_idx_to_domains = A.construct_helix_idx_to_domains_map(strands, new A.LinkedHashMapKeyIterable(helix_builders, t1._eval$1("LinkedHashMapKeyIterable<1>"))); + for (t1 = A.LinkedHashMapKeyIterator$(helix_builders, helix_builders._modifications, t1._precomputed1), t2 = helix_idx_to_domains._map$_map; t1.moveNext$0();) { + helix_builder = helix_builders.$index(0, t1.__js_helper$_current); + if (helix_builder.get$_helix$_$this()._max_offset == null) { + t3 = A.calculate_default_max_offset(strands); + helix_builder.get$_helix$_$this()._max_offset = t3; + } + if (helix_builder.get$_helix$_$this()._min_offset == null) { + t3 = t2.$index(0, helix_builder.get$_helix$_$this()._idx); + t3.toString; + t3 = t3._list; + min_offset = t3.length === 0 ? 0 : B.JSArray_methods.get$first(t3).start; + for (t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) + min_offset = Math.min(min_offset, t3.__interceptors$_current.start); + if (min_offset > 0) + min_offset = 0; + helix_builder.get$_helix$_$this()._min_offset = min_offset; + } + if (helix_builder.get$_helix$_$this()._major_tick_start == null) { + t3 = helix_builder.get$_helix$_$this()._min_offset; + helix_builder.get$_helix$_$this()._major_tick_start = t3; + } + } }, - PotentialCrossoverMove: function PotentialCrossoverMove() { + calculate_default_max_offset(strands) { + var greatest_max_offset, t2, t3, greatest_max_offset0, + t1 = J.getInterceptor$asx(strands); + if (t1.get$isEmpty(strands)) + greatest_max_offset = 64; + else { + greatest_max_offset = t1.get$first(strands).get$first_domain().end; + for (t1 = t1.get$iterator(strands); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + greatest_max_offset0 = t2.__interceptors$_current.end; + if (greatest_max_offset0 > greatest_max_offset) + greatest_max_offset = greatest_max_offset0; + } + } + } + return greatest_max_offset; }, - PotentialCrossoverRemove: function PotentialCrossoverRemove() { + _wc(code_unit) { + var t1 = $.$get$_wc_table(); + if (t1.containsKey$1(0, code_unit)) { + t1 = t1.$index(0, code_unit); + t1.toString; + return t1; + } else + return code_unit; }, - ManualPasteInitiate: function ManualPasteInitiate() { + IllegalDesignError$(cause) { + return new A.IllegalDesignError(cause); }, - ManualPasteInitiate_ManualPasteInitiate_closure: function ManualPasteInitiate_ManualPasteInitiate_closure(t0, t1) { - this.clipboard_content = t0; - this.in_browser = t1; + IllegalCadnanoDesignError$(cause) { + return new A.IllegalCadnanoDesignError(cause); }, - AutoPasteInitiate: function AutoPasteInitiate() { + StrandError$(strand, the_cause) { + var t1 = new A.StrandError(the_cause), + first_substrand = strand.get$first_domain(), + last_substrand = strand.get$last_domain(), + t2 = strand.substrands._list.length, + t3 = first_substrand.get$offset_5p(), + t4 = last_substrand.helix, + t5 = last_substrand.get$offset_3p(), + t6 = strand.get$dna_length(), + t7 = strand.get$dna_sequence(); + t7 = t7 == null ? null : t7.length; + t1.cause = the_cause + ("\n number of domains = " + t2 + "\n strand 5' end offset = " + t3 + "\n strand 3' helix = " + t4 + "\n strand 3' end offset = " + t5 + "\n strand length = " + t6 + "\n DNA sequence length = " + A.S(t7) + "\n DNA sequence = " + A.S(strand.get$dna_sequence()) + "\n strand 5' helix = " + first_substrand.helix + "\n"); + return t1; }, - AutoPasteInitiate_AutoPasteInitiate_closure: function AutoPasteInitiate_AutoPasteInitiate_closure(t0, t1) { - this.clipboard_content = t0; - this.in_browser = t1; + Design: function Design() { }, - CopySelectedStrands: function CopySelectedStrands() { + Design_Design_closure: function Design_Design_closure() { }, - StrandsMoveStart: function StrandsMoveStart() { + Design_Design_closure0: function Design_Design_closure0(t0) { + this._box_0 = t0; }, - StrandsMoveStartSelectedStrands: function StrandsMoveStartSelectedStrands() { + Design_Design_closure1: function Design_Design_closure1(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.helices_map = t1; + _.strands = t2; + _.unused_fields = t3; }, - StrandsMoveStop: function StrandsMoveStop() { + Design__initializeBuilder_closure: function Design__initializeBuilder_closure() { }, - StrandsMoveAdjustAddress: function StrandsMoveAdjustAddress() { + Design_helices_in_group_closure: function Design_helices_in_group_closure(t0) { + this.group_name = t0; }, - StrandsMoveCommit: function StrandsMoveCommit() { + Design_address_crossover_pairs_by_helix_idx_closure: function Design_address_crossover_pairs_by_helix_idx_closure() { }, - DomainsMoveStartSelectedDomains: function DomainsMoveStartSelectedDomains() { + Design_domain_mismatches_map_closure: function Design_domain_mismatches_map_closure(t0) { + this.domain_mismatches_builtmap_builder = t0; }, - DomainsMoveStop: function DomainsMoveStop() { + Design_unpaired_insertion_deletion_map_closure: function Design_unpaired_insertion_deletion_map_closure(t0) { + this.unpaired_insertion_deletion_half_built_map = t0; }, - DomainsMoveAdjustAddress: function DomainsMoveAdjustAddress() { + Design_max_offset_closure: function Design_max_offset_closure() { }, - DomainsMoveCommit: function DomainsMoveCommit() { + Design_min_offset_closure: function Design_min_offset_closure() { }, - DNAEndsMoveStart: function DNAEndsMoveStart() { + Design_add_strands_closure: function Design_add_strands_closure(t0) { + this.new_strands = t0; }, - DNAEndsMoveSetSelectedEnds: function DNAEndsMoveSetSelectedEnds() { + Design_remove_strands_closure: function Design_remove_strands_closure(t0) { + this.strands_to_remove_set = t0; }, - DNAEndsMoveAdjustOffset: function DNAEndsMoveAdjustOffset() { + Design_remove_strands__closure: function Design_remove_strands__closure(t0) { + this.strands_to_remove_set = t0; }, - DNAEndsMoveStop: function DNAEndsMoveStop() { + Design_has_nondefault_min_offset_closure: function Design_has_nondefault_min_offset_closure() { }, - DNAEndsMoveCommit: function DNAEndsMoveCommit() { + Design__groups_from_json_closure: function Design__groups_from_json_closure(t0, t1) { + this.helix_builders_map = t0; + this.name = t1; }, - DNAExtensionsMoveStart: function DNAExtensionsMoveStart() { + Design__groups_from_json_closure0: function Design__groups_from_json_closure0() { }, - DNAExtensionsMoveSetSelectedExtensionEnds: function DNAExtensionsMoveSetSelectedExtensionEnds() { + Design_from_json_closure: function Design_from_json_closure() { }, - DNAExtensionsMoveAdjustPosition: function DNAExtensionsMoveAdjustPosition() { + Design_from_json_closure0: function Design_from_json_closure0() { }, - DNAExtensionsMoveStop: function DNAExtensionsMoveStop() { + Design_assign_modifications_to_strands_closure: function Design_assign_modifications_to_strands_closure(t0) { + this._box_0 = t0; }, - DNAExtensionsMoveCommit: function DNAExtensionsMoveCommit() { + Design_assign_modifications_to_strands_closure0: function Design_assign_modifications_to_strands_closure0(t0) { + this._box_0 = t0; }, - HelixGroupMoveStart: function HelixGroupMoveStart() { + Design_assign_modifications_to_strands_closure1: function Design_assign_modifications_to_strands_closure1(t0) { + this.mods_by_idx = t0; }, - HelixGroupMoveCreate: function HelixGroupMoveCreate() { + Design_check_strands_overlap_legally_err_msg: function Design_check_strands_overlap_legally_err_msg() { }, - HelixGroupMoveAdjustTranslation: function HelixGroupMoveAdjustTranslation() { + Design_check_strands_overlap_legally_closure: function Design_check_strands_overlap_legally_closure() { }, - HelixGroupMoveStop: function HelixGroupMoveStop() { + Design_domains_on_helix_closure: function Design_domains_on_helix_closure(t0) { + this.forward = t0; }, - HelixGroupMoveCommit: function HelixGroupMoveCommit() { + Design_domains_on_helix_overlapping_closure: function Design_domains_on_helix_overlapping_closure(t0) { + this.domain = t0; }, - AssignDNA: function AssignDNA() { + Design_domain_name_mismatches_closure: function Design_domain_name_mismatches_closure() { }, - AssignDNAComplementFromBoundStrands: function AssignDNAComplementFromBoundStrands() { + Design_base_pairs_with_domain_strand_closure: function Design_base_pairs_with_domain_strand_closure() { }, - AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure: function AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(t0) { - this.strands = t0; + Design_base_pairs_with_domain_strand_closure0: function Design_base_pairs_with_domain_strand_closure0() { }, - AssignDomainNameComplementFromBoundStrands: function AssignDomainNameComplementFromBoundStrands() { + Design_base_pairs_with_domain_strand_closure1: function Design_base_pairs_with_domain_strand_closure1() { }, - AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure: function AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(t0) { - this.strands = t0; + Design_base_pairs_with_domain_strand_closure2: function Design_base_pairs_with_domain_strand_closure2() { }, - AssignDomainNameComplementFromBoundDomains: function AssignDomainNameComplementFromBoundDomains() { + Design__base_pairs_closure: function Design__base_pairs_closure() { }, - AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure: function AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(t0) { + Design_find_overlapping_domains_on_helix_closure: function Design_find_overlapping_domains_on_helix_closure() { + }, + Design_find_overlapping_domains_on_helix_closure0: function Design_find_overlapping_domains_on_helix_closure0() { + }, + Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure: function Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(t0) { this.domains = t0; }, - RemoveDNA: function RemoveDNA() { + _calculate_groups_from_helix_builders_closure: function _calculate_groups_from_helix_builders_closure() { }, - InsertionAdd: function InsertionAdd() { + assign_default_helices_view_orders_to_groups_closure: function assign_default_helices_view_orders_to_groups_closure() { }, - InsertionAdd_clone_for_other_domain_closure: function InsertionAdd_clone_for_other_domain_closure(t0) { - this.domain = t0; + construct_helix_idx_to_domains_map_closure: function construct_helix_idx_to_domains_map_closure() { }, - InsertionLengthChange: function InsertionLengthChange() { + Mismatch: function Mismatch(t0, t1, t2) { + this.dna_idx = t0; + this.offset = t1; + this.within_insertion = t2; }, - InsertionLengthChange_clone_for_other_domain_closure: function InsertionLengthChange_clone_for_other_domain_closure(t0) { - this.$this = t0; + IllegalDesignError: function IllegalDesignError(t0) { + this.cause = t0; }, - InsertionLengthChange_InsertionLengthChange_closure: function InsertionLengthChange_InsertionLengthChange_closure(t0, t1, t2) { - this.domain = t0; - this.insertion = t1; - this.length = t2; + IllegalCadnanoDesignError: function IllegalCadnanoDesignError(t0) { + this.cause = t0; }, - InsertionsLengthChange: function InsertionsLengthChange() { + StrandError: function StrandError(t0) { + this.cause = t0; }, - InsertionsLengthChange_InsertionsLengthChange_closure: function InsertionsLengthChange_InsertionsLengthChange_closure(t0, t1, t2) { - this.insertions = t0; - this.domains = t1; - this.length = t2; + HelixPitchYaw: function HelixPitchYaw(t0, t1, t2) { + this.pitch = t0; + this.yaw = t1; + this.helix_idx = t2; }, - DeletionAdd: function DeletionAdd() { + _$Design: function _$Design(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.version = t0; + _.geometry = t1; + _.helices = t2; + _.strands = t3; + _.groups = t4; + _.unused_fields = t5; + _.__address_3p_to_domain = _.__address_5p_to_domain = _.__address_3p_to_strand = _.__address_5p_to_strand = _.__end_to_address = _.__address_to_end = _.__helix_idx_to_domains = _.__helix_idxs = _.__linker_to_strand = _.__crossover_to_strand = _.__strand_to_index = _.__substrand_to_strand = _.__end_to_extension = _.__end_to_domain = _.__unpaired_insertion_deletion_map = _.__domain_mismatches_map = _.__strands_overlapping = _.__selectable_by_id = _.__ends_by_id = _.__modifications_by_id = _.__insertions_by_id = _.__deletions_by_id = _.__crossovers_by_id = _.__extensions_by_id = _.__loopouts_by_id = _.__domains_by_id = _.__strands_by_id = _.__address_crossover_pairs_by_helix_idx = _.__color_of_domain = _.__is_origami = null; + _._design0$__hashCode = _.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = _.__helix_to_crossover_addresses_disallow_intrahelix = _.__helix_to_crossover_addresses = _.__has_insertions_or_deletions = _.__all_domains = _.__domain_name_mismatches = _.__helix_idxs_in_group = _.__grid = _.__min_offset = _.__max_offset = _.__potential_vertical_crossovers = null; }, - DeletionAdd_clone_for_other_domain_closure: function DeletionAdd_clone_for_other_domain_closure(t0) { - this.domain = t0; + DesignBuilder: function DesignBuilder() { + var _ = this; + _._unused_fields = _._groups = _._strands = _._helices = _._geometry = _._version = _._design0$_$v = null; }, - InsertionRemove: function InsertionRemove() { + _Design_Object_UnusedFields: function _Design_Object_UnusedFields() { }, - InsertionRemove_clone_for_other_domain_closure: function InsertionRemove_clone_for_other_domain_closure(t0) { - this.$this = t0; + DesignSideRotationParams_DesignSideRotationParams(helix_idx, offset) { + var t1 = new A.DesignSideRotationParamsBuilder(); + type$.nullable_void_Function_DesignSideRotationParamsBuilder._as(new A.DesignSideRotationParams_DesignSideRotationParams_closure(helix_idx, offset)).call$1(t1); + return t1._design_side_rotation_data$_build$0(); }, - InsertionRemove_InsertionRemove_closure: function InsertionRemove_InsertionRemove_closure(t0, t1) { - this.domain = t0; - this.insertion = t1; + DesignSideRotationData_from_params(design, params) { + var t1, _i, param, helix_idx, offset, color_forward, t2, roll_forward, t3, color_reverse, num_domains_found, t4, t5, t6, color_forward0, + design_side_rotation_datas_builder = A._setArrayType([], type$.JSArray_DesignSideRotationData); + for (t1 = params.length, _i = 0; _i < params.length; params.length === t1 || (0, A.throwConcurrentModificationError)(params), ++_i) { + param = params[_i]; + helix_idx = param.helix_idx; + offset = param.offset; + color_forward = $.$get$color_forward_rotation_arrow_no_strand(); + t2 = design.helices._map$_map.$index(0, helix_idx); + t2.toString; + roll_forward = design.helix_rotation_forward$2(t2.idx, offset); + for (t3 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0; t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (t4.start <= offset && offset < t4.end) { + ++num_domains_found; + t5 = design.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t5); + } + t5 = t5._map$_map.$index(0, t4); + t5.toString; + t6 = t4.forward; + color_forward0 = t4.color; + if (t6) + color_forward = color_forward0 == null ? t5.color : color_forward0; + else + color_reverse = color_forward0 == null ? t5.color : color_forward0; + } + if (num_domains_found >= 2) + break; + } + B.JSArray_methods.add$1(design_side_rotation_datas_builder, A.DesignSideRotationData_DesignSideRotationData(t2, offset, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); + } + return design_side_rotation_datas_builder; }, - DeletionRemove: function DeletionRemove() { + DesignSideRotationData_DesignSideRotationData(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle) { + var t1 = new A.DesignSideRotationDataBuilder(); + type$.nullable_void_Function_DesignSideRotationDataBuilder._as(new A.DesignSideRotationData_DesignSideRotationData_closure(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); + return t1._design_side_rotation_data$_build$0(); }, - DeletionRemove_DeletionRemove_closure: function DeletionRemove_DeletionRemove_closure(t0, t1) { - this.domain = t0; + DesignSideRotationParams: function DesignSideRotationParams() { + }, + DesignSideRotationParams_DesignSideRotationParams_closure: function DesignSideRotationParams_DesignSideRotationParams_closure(t0, t1) { + this.helix_idx = t0; this.offset = t1; }, - ScalePurificationVendorFieldsAssign: function ScalePurificationVendorFieldsAssign() { + DesignSideRotationData: function DesignSideRotationData() { }, - PlateWellVendorFieldsAssign: function PlateWellVendorFieldsAssign() { + DesignSideRotationData_DesignSideRotationData_closure: function DesignSideRotationData_DesignSideRotationData_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; }, - PlateWellVendorFieldsRemove: function PlateWellVendorFieldsRemove() { + _$DesignSideRotationParamsSerializer: function _$DesignSideRotationParamsSerializer() { }, - VendorFieldsRemove: function VendorFieldsRemove() { + _$DesignSideRotationDataSerializer: function _$DesignSideRotationDataSerializer() { }, - ModificationAdd: function ModificationAdd() { + _$DesignSideRotationParams: function _$DesignSideRotationParams(t0, t1) { + this.helix_idx = t0; + this.offset = t1; + this._design_side_rotation_data$__hashCode = null; }, - ModificationRemove: function ModificationRemove() { + DesignSideRotationParamsBuilder: function DesignSideRotationParamsBuilder() { + this._design_side_rotation_data$_offset = this._design_side_rotation_data$_helix_idx = this._design_side_rotation_data$_$v = null; }, - ModificationConnectorLengthSet: function ModificationConnectorLengthSet() { + _$DesignSideRotationData: function _$DesignSideRotationData(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; + _._design_side_rotation_data$__hashCode = null; }, - ModificationEdit: function ModificationEdit() { + DesignSideRotationDataBuilder: function DesignSideRotationDataBuilder() { + var _ = this; + _._design_side_rotation_data$_minor_groove_angle = _._design_side_rotation_data$_roll_forward = _._design_side_rotation_data$_color_reverse = _._design_side_rotation_data$_color_forward = _._design_side_rotation_data$_offset = _._design_side_rotation_data$_helix = _._design_side_rotation_data$_$v = null; }, - Modifications5PrimeEdit: function Modifications5PrimeEdit() { + _DesignSideRotationData_Object_BuiltJsonSerializable: function _DesignSideRotationData_Object_BuiltJsonSerializable() { }, - Modifications5PrimeEdit_Modifications5PrimeEdit_closure: function Modifications5PrimeEdit_Modifications5PrimeEdit_closure(t0, t1) { - this.modifications = t0; - this.new_modification = t1; + _DesignSideRotationParams_Object_BuiltJsonSerializable: function _DesignSideRotationParams_Object_BuiltJsonSerializable() { }, - Modifications3PrimeEdit: function Modifications3PrimeEdit() { + Dialog_identity_function(items) { + return type$.BuiltList_DialogItem._as(items); }, - Modifications3PrimeEdit_Modifications3PrimeEdit_closure: function Modifications3PrimeEdit_Modifications3PrimeEdit_closure(t0, t1) { - this.modifications = t0; - this.new_modification = t1; + Dialog_Dialog(disable, disable_when_any_checkboxes_off, disable_when_any_checkboxes_on, disable_when_any_radio_button_selected, items, mutually_exclusive_checkbox_groups, process_saved_response, title, type, use_saved_response) { + var t2, t3, _i, t4, t5, t6, t7, disable_when_any_radio_button_selected_quarter_built, t8, t9, t10, t11, t12, + t1 = A._setArrayType([], type$.JSArray_BuiltList_int); + for (t2 = mutually_exclusive_checkbox_groups.length, t3 = type$.int, _i = 0; _i < mutually_exclusive_checkbox_groups.length; mutually_exclusive_checkbox_groups.length === t2 || (0, A.throwConcurrentModificationError)(mutually_exclusive_checkbox_groups), ++_i) + t1.push(A.BuiltList_BuiltList$from(mutually_exclusive_checkbox_groups[_i], t3)); + t2 = type$.BuiltList_int; + t4 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t2); + for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_on.get$keys(disable_when_any_checkboxes_on)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = disable_when_any_checkboxes_on.$index(0, t6); + t7.toString; + t4.$indexSet(0, t6, A.BuiltList_BuiltList$from(t7, t3)); + } + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t2); + for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_off.get$keys(disable_when_any_checkboxes_off)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = disable_when_any_checkboxes_off.$index(0, t6); + t7.toString; + t2.$indexSet(0, t6, A.BuiltList_BuiltList$from(t7, t3)); + } + disable_when_any_radio_button_selected_quarter_built = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Map_of_int_and_BuiltList_String); + for (t5 = J.get$iterator$ax(disable_when_any_radio_button_selected.get$keys(disable_when_any_radio_button_selected)), t6 = type$.String, t7 = type$.BuiltList_String; t5.moveNext$0();) { + t8 = t5.get$current(t5); + disable_when_any_radio_button_selected_quarter_built.$indexSet(0, t8, A.LinkedHashMap_LinkedHashMap$_empty(t3, t7)); + for (t9 = disable_when_any_radio_button_selected.$index(0, t8), t10 = new A.LinkedHashMapKeyIterator(t9, t9._modifications, A._instanceType(t9)._eval$1("LinkedHashMapKeyIterator<1>")), t10._cell = t9._first; t10.moveNext$0();) { + t9 = t10.__js_helper$_current; + t11 = disable_when_any_radio_button_selected_quarter_built.$index(0, t8); + t11.toString; + t12 = disable_when_any_radio_button_selected.$index(0, t8).$index(0, t9); + t12.toString; + t11.$indexSet(0, t9, A.BuiltList_BuiltList$of(t12, t6)); + } + } + t5 = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.BuiltMap_of_int_and_BuiltList_String); + for (t6 = A.LinkedHashMapKeyIterator$(disable_when_any_radio_button_selected_quarter_built, disable_when_any_radio_button_selected_quarter_built._modifications, disable_when_any_radio_button_selected_quarter_built.$ti._precomputed1); t6.moveNext$0();) { + t8 = t6.__js_helper$_current; + t9 = disable_when_any_radio_button_selected_quarter_built.$index(0, t8); + t9.toString; + t5.$indexSet(0, t8, A.BuiltMap_BuiltMap$of(t9, t3, t7)); + } + t3 = new A.DialogBuilder(); + type$.nullable_void_Function_DialogBuilder._as(new A.Dialog_Dialog_closure(title, type, process_saved_response, use_saved_response, items, disable, t1, t5, t4, t2)).call$1(t3); + return t3._dialog$_build$0(); }, - ModificationsInternalEdit: function ModificationsInternalEdit() { + DialogInteger_DialogInteger(label, tooltip, value) { + var t1 = new A.DialogIntegerBuilder(); + type$.nullable_void_Function_DialogIntegerBuilder._as(new A.DialogInteger_DialogInteger_closure(label, value, tooltip)).call$1(t1); + return t1._dialog$_build$0(); }, - ModificationsInternalEdit_ModificationsInternalEdit_closure: function ModificationsInternalEdit_ModificationsInternalEdit_closure(t0, t1) { - this.modifications = t0; - this.new_modification = t1; + DialogFloat_DialogFloat(label, value) { + var t1 = new A.DialogFloatBuilder(); + type$.nullable_void_Function_DialogFloatBuilder._as(new A.DialogFloat_DialogFloat_closure(label, value, "")).call$1(t1); + return t1._dialog$_build$0(); }, - GridChange: function GridChange() { + DialogText_DialogText(label, tooltip, value) { + var size, t2, t1 = {}; + t1.size = size; + t1.size = null; + t2 = Math.max(20, value.length); + t1.size = t2; + t2 = new A.DialogTextBuilder(); + type$.nullable_void_Function_DialogTextBuilder._as(new A.DialogText_DialogText_closure(t1, label, value, tooltip)).call$1(t2); + return t2._dialog$_build$0(); }, - GroupDisplayedChange: function GroupDisplayedChange() { + DialogTextArea_DialogTextArea(cols, label, rows, tooltip, value) { + var t1 = new A.DialogTextAreaBuilder(); + type$.nullable_void_Function_DialogTextAreaBuilder._as(new A.DialogTextArea_DialogTextArea_closure(label, cols, rows, value, tooltip)).call$1(t1); + return t1._dialog$_build$0(); }, - GroupAdd: function GroupAdd() { + DialogCheckbox_DialogCheckbox(label, tooltip, value) { + var t1 = new A.DialogCheckboxBuilder(); + type$.nullable_void_Function_DialogCheckboxBuilder._as(new A.DialogCheckbox_DialogCheckbox_closure(label, value, tooltip)).call$1(t1); + return t1._dialog$_build$0(); }, - GroupRemove: function GroupRemove() { + DialogRadio_DialogRadio(label, option_tooltips, options, radio, selected_idx, tooltip) { + var t2, + t1 = type$.String, + options_list = A.List_List$from(options, true, t1), + option_tooltips_list = A.List_List$from(option_tooltips == null ? A.List_List$filled(options_list.length, "", false, t1) : option_tooltips, true, t1); + t1 = options_list.length; + t2 = option_tooltips_list.length; + if (t1 !== t2) + throw A.wrapException(A.ArgumentError$("options and item_tooltips must be same length, but their lengths are " + t1 + " and " + t2 + " respectively:\noptions = " + A.S(options_list) + "\nitem_tooltips = " + A.S(option_tooltips_list), null)); + t1 = new A.DialogRadioBuilder(); + type$.nullable_void_Function_DialogRadioBuilder._as(new A.DialogRadio_DialogRadio_closure(options_list, selected_idx, radio, label, tooltip, option_tooltips_list)).call$1(t1); + return t1._dialog$_build$0(); + }, + DialogLink_DialogLink(label, link) { + var t1 = new A.DialogLinkBuilder(); + type$.nullable_void_Function_DialogLinkBuilder._as(new A.DialogLink_DialogLink_closure(label, link, "")).call$1(t1); + return t1._dialog$_build$0(); + }, + DialogLabel_DialogLabel(label) { + var _$result, t2, t3, t4, t5, + _s11_ = "DialogLabel", + t1 = new A.DialogLabelBuilder(); + type$.nullable_void_Function_DialogLabelBuilder._as(new A.DialogLabel_DialogLabel_closure(label, "")).call$1(t1); + _$result = t1._dialog$_$v; + if (_$result == null) { + t2 = type$.String; + t3 = A.BuiltValueNullFieldError_checkNotNull(t1.get$_dialog$_$this()._dialog$_label, _s11_, "label", t2); + t4 = A.BuiltValueNullFieldError_checkNotNull(t1.get$_dialog$_$this()._dialog$_value, _s11_, "value", t2); + t5 = A.BuiltValueNullFieldError_checkNotNull(t1.get$_dialog$_$this()._tooltip, _s11_, "tooltip", t2); + _$result = new A._$DialogLabel(t3, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t3, _s11_, "label", t2); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, "value", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, "tooltip", t2); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogLabel); + return t1._dialog$_$v = _$result; }, - GroupChange: function GroupChange() { + _$valueOf3($name) { + switch ($name) { + case "choose_autobreak_parameters": + return B.DialogType_choose_autobreak_parameters; + case "adjust_geometric_parameters": + return B.DialogType_adjust_geometric_parameters; + case "create_new_helix_group": + return B.DialogType_create_new_helix_group; + case "adjust_current_helix_group": + return B.DialogType_adjust_current_helix_group; + case "adjust_helix_indices": + return B.DialogType_adjust_helix_indices; + case "assign_scale_purification": + return B.DialogType_assign_scale_purification; + case "assign_plate_well": + return B.DialogType_assign_plate_well; + case "add_modification": + return B.DialogType_add_modification; + case "set_strand_name": + return B.DialogType_set_strand_name; + case "set_strand_label": + return B.DialogType_set_strand_label; + case "set_domain_name": + return B.DialogType_set_domain_name; + case "set_substrand_label": + return B.DialogType_set_substrand_label; + case "assign_dna_sequence": + return B.DialogType_assign_dna_sequence; + case "remove_dna_sequence": + return B.DialogType_remove_dna_sequence; + case "edit_modification": + return B.DialogType_edit_modification; + case "set_color": + return B.DialogType_set_color; + case "set_loopout_name": + return B.DialogType_set_loopout_name; + case "set_loopout_length": + return B.DialogType_set_loopout_length; + case "set_insertion_length": + return B.DialogType_set_insertion_length; + case "set_extension_num_bases": + return B.DialogType_set_extension_num_bases; + case "set_helix_minimum_offset": + return B.DialogType_set_helix_minimum_offset; + case "set_helix_maximum_offset": + return B.DialogType_set_helix_maximum_offset; + case "set_helix_index": + return B.DialogType_set_helix_index; + case "set_helix_roll_degrees": + return B.DialogType_set_helix_roll_degrees; + case "set_helix_tick_marks": + return B.DialogType_set_helix_tick_marks; + case "set_helix_grid_position": + return B.DialogType_set_helix_grid_position; + case "set_helix_position": + return B.DialogType_set_helix_position; + case "move_selected_helices_to_group": + return B.DialogType_move_selected_helices_to_group; + case "export_dna_sequences": + return B.DialogType_export_dna_sequences; + case "load_example_dna_design": + return B.DialogType_load_example_dna_design; + case "base_pair_display": + return B.DialogType_base_pair_display; + case "add_extension": + return B.DialogType_add_extension; + case "set_extension_name": + return B.DialogType_set_extension_name; + case "set_extension_display_length_angle": + return B.DialogType_2jN; + case "select_all_with_same_as_selected": + return B.DialogType_0i1; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - MoveHelicesToGroup: function MoveHelicesToGroup() { + DialogType: function DialogType(t0) { + this.name = t0; }, - DialogShow: function DialogShow() { + Dialog: function Dialog() { }, - DialogHide: function DialogHide() { + Dialog_Dialog_closure: function Dialog_Dialog_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _.title = t0; + _.type = t1; + _.process_saved_response = t2; + _.use_saved_response = t3; + _.items = t4; + _.disable = t5; + _.mutually_exclusive_checkbox_groups_half_built = t6; + _.disable_when_any_radio_button_selected_half_built = t7; + _.disable_when_any_checkboxes_on_half_built = t8; + _.disable_when_any_checkboxes_off_half_built = t9; }, - ContextMenuShow: function ContextMenuShow() { + DialogInteger: function DialogInteger() { }, - ContextMenuHide: function ContextMenuHide() { + DialogInteger_DialogInteger_closure: function DialogInteger_DialogInteger_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; }, - StrandOrSubstrandColorPickerShow: function StrandOrSubstrandColorPickerShow() { + DialogFloat: function DialogFloat() { }, - StrandOrSubstrandColorPickerHide: function StrandOrSubstrandColorPickerHide() { + DialogFloat_DialogFloat_closure: function DialogFloat_DialogFloat_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; }, - StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure: function StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure() { + DialogText: function DialogText() { }, - ScaffoldSet: function ScaffoldSet() { + DialogText_DialogText_closure: function DialogText_DialogText_closure(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.label = t1; + _.value = t2; + _.tooltip = t3; }, - StrandOrSubstrandColorSet: function StrandOrSubstrandColorSet() { + DialogTextArea: function DialogTextArea() { }, - StrandPasteKeepColorSet: function StrandPasteKeepColorSet() { + DialogTextArea_DialogTextArea_closure: function DialogTextArea_DialogTextArea_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.label = t0; + _.cols = t1; + _.rows = t2; + _.value = t3; + _.tooltip = t4; }, - ExampleDesignsLoad: function ExampleDesignsLoad() { + DialogCheckbox: function DialogCheckbox() { }, - BasePairTypeSet: function BasePairTypeSet() { + DialogCheckbox_DialogCheckbox_closure: function DialogCheckbox_DialogCheckbox_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; }, - HelixPositionSet: function HelixPositionSet() { + DialogRadio: function DialogRadio() { }, - HelixGridPositionSet: function HelixGridPositionSet() { + DialogRadio_DialogRadio_closure: function DialogRadio_DialogRadio_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.options_list = t0; + _.selected_idx = t1; + _.radio = t2; + _.label = t3; + _.tooltip = t4; + _.option_tooltips_list = t5; }, - HelicesPositionsSetBasedOnCrossovers: function HelicesPositionsSetBasedOnCrossovers() { + DialogLink: function DialogLink() { }, - InlineInsertionsDeletions: function InlineInsertionsDeletions() { + DialogLink_DialogLink_closure: function DialogLink_DialogLink_closure(t0, t1, t2) { + this.label = t0; + this.link = t1; + this.tooltip = t2; }, - DefaultCrossoverTypeForSettingHelixRollsSet: function DefaultCrossoverTypeForSettingHelixRollsSet() { + DialogLabel: function DialogLabel() { }, - AutofitSet: function AutofitSet() { + DialogLabel_DialogLabel_closure: function DialogLabel_DialogLabel_closure(t0, t1) { + this.label = t0; + this.tooltip = t1; }, - ShowHelixCirclesMainViewSet: function ShowHelixCirclesMainViewSet() { + _$DialogTypeSerializer: function _$DialogTypeSerializer() { }, - ShowHelixComponentsMainViewSet: function ShowHelixComponentsMainViewSet() { + _$DialogSerializer: function _$DialogSerializer() { }, - ShowEditMenuToggle: function ShowEditMenuToggle() { + _$DialogIntegerSerializer: function _$DialogIntegerSerializer() { }, - ShowGridCoordinatesSideViewSet: function ShowGridCoordinatesSideViewSet() { - }, - ShowAxisArrowsSet: function ShowAxisArrowsSet() { - }, - ShowLoopoutExtensionLengthSet: function ShowLoopoutExtensionLengthSet() { + _$DialogFloatSerializer: function _$DialogFloatSerializer() { }, - LoadDnaSequenceImageUri: function LoadDnaSequenceImageUri() { + _$DialogTextSerializer: function _$DialogTextSerializer() { }, - LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure: function LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(t0, t1, t2) { - this.uri = t0; - this.dna_sequence_png_horizontal_offset = t1; - this.dna_sequence_png_vertical_offset = t2; + _$DialogTextAreaSerializer: function _$DialogTextAreaSerializer() { }, - SetIsZoomAboveThreshold: function SetIsZoomAboveThreshold() { + _$DialogCheckboxSerializer: function _$DialogCheckboxSerializer() { }, - SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure: function SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(t0) { - this.is_zoom_above_threshold = t0; + _$DialogRadioSerializer: function _$DialogRadioSerializer() { }, - SetExportSvgActionDelayedForPngCache: function SetExportSvgActionDelayedForPngCache() { + _$DialogLinkSerializer: function _$DialogLinkSerializer() { }, - SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure: function SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(t0) { - this.export_svg_action_delayed_for_png_cache = t0; + _$Dialog: function _$Dialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.title = t0; + _.type = t1; + _.process_saved_response = t2; + _.use_saved_response = t3; + _.items = t4; + _.mutually_exclusive_checkbox_groups = t5; + _.disable_when_any_radio_button_selected = t6; + _.disable_when_any_checkboxes_on = t7; + _.disable_when_any_checkboxes_off = t8; + _.disable = t9; + _.on_submit = t10; + _._dialog$__hashCode = null; }, - ShowBasePairLinesSet: function ShowBasePairLinesSet() { + DialogBuilder: function DialogBuilder() { + var _ = this; + _._on_submit = _._disable = _._disable_when_any_checkboxes_off = _._disable_when_any_checkboxes_on = _._disable_when_any_radio_button_selected = _._mutually_exclusive_checkbox_groups = _._dialog$_items = _._use_saved_response = _._process_saved_response = _._dialog$_type = _._title = _._dialog$_$v = null; }, - ShowBasePairLinesWithMismatchesSet: function ShowBasePairLinesWithMismatchesSet() { + _$DialogInteger: function _$DialogInteger(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; }, - ShowSliceBarSet: function ShowSliceBarSet() { + DialogIntegerBuilder: function DialogIntegerBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; }, - ShowSliceBarSet_ShowSliceBarSet_closure: function ShowSliceBarSet_ShowSliceBarSet_closure(t0) { - this.show = t0; + _$DialogFloat: function _$DialogFloat(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; }, - SliceBarOffsetSet: function SliceBarOffsetSet() { + DialogFloatBuilder: function DialogFloatBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; }, - SliceBarOffsetSet_SliceBarOffsetSet_closure: function SliceBarOffsetSet_SliceBarOffsetSet_closure(t0) { - this.offset = t0; + _$DialogText: function _$DialogText(t0, t1, t2, t3) { + var _ = this; + _.label = t0; + _.value = t1; + _.size = t2; + _.tooltip = t3; + _._dialog$__hashCode = null; }, - DisablePngCachingDnaSequencesSet: function DisablePngCachingDnaSequencesSet() { + DialogTextBuilder: function DialogTextBuilder() { + var _ = this; + _._tooltip = _._size = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; }, - DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure: function DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(t0) { - this.disable_png_caching_dna_sequences = t0; + _$DialogTextArea: function _$DialogTextArea(t0, t1, t2, t3, t4) { + var _ = this; + _.label = t0; + _.cols = t1; + _.rows = t2; + _.value = t3; + _.tooltip = t4; + _._dialog$__hashCode = null; }, - RetainStrandColorOnSelectionSet: function RetainStrandColorOnSelectionSet() { + DialogTextAreaBuilder: function DialogTextAreaBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._rows = _._cols = _._dialog$_label = _._dialog$_$v = null; }, - RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure: function RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(t0) { - this.retain_strand_color_on_selection = t0; + _$DialogCheckbox: function _$DialogCheckbox(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; }, - DisplayReverseDNARightSideUpSet: function DisplayReverseDNARightSideUpSet() { + DialogCheckboxBuilder: function DialogCheckboxBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; }, - DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure: function DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(t0) { - this.display_reverse_DNA_right_side_up = t0; + _$DialogRadio: function _$DialogRadio(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.options = t0; + _.selected_idx = t1; + _.label = t2; + _.radio = t3; + _.option_tooltips = t4; + _.tooltip = t5; + _._dialog$__hashCode = null; }, - SliceBarMoveStart: function SliceBarMoveStart() { + DialogRadioBuilder: function DialogRadioBuilder() { + var _ = this; + _._tooltip = _._option_tooltips = _._radio = _._dialog$_label = _._dialog$_selected_idx = _._options = _._dialog$_$v = null; }, - SliceBarMoveStop: function SliceBarMoveStop() { + _$DialogLink: function _$DialogLink(t0, t1, t2, t3) { + var _ = this; + _.label = t0; + _.link = t1; + _.value = t2; + _.tooltip = t3; + _._dialog$__hashCode = null; }, - Autostaple: function Autostaple() { + DialogLinkBuilder: function DialogLinkBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._link = _._dialog$_label = _._dialog$_$v = null; }, - Autobreak: function Autobreak() { + _$DialogLabel: function _$DialogLabel(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; }, - Autobreak_Autobreak_closure: function Autobreak_Autobreak_closure(t0, t1, t2, t3) { + DialogLabelBuilder: function DialogLabelBuilder() { var _ = this; - _.target_length = t0; - _.min_length = t1; - _.max_length = t2; - _.min_distance_to_xover = t3; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; }, - ZoomSpeedSet: function ZoomSpeedSet() { + _Dialog_Object_BuiltJsonSerializable: function _Dialog_Object_BuiltJsonSerializable() { }, - OxdnaExport: function OxdnaExport() { + _DialogCheckbox_Object_BuiltJsonSerializable: function _DialogCheckbox_Object_BuiltJsonSerializable() { }, - OxdnaExport_OxdnaExport_closure: function OxdnaExport_OxdnaExport_closure(t0) { - this.selected_strands_only = t0; + _DialogFloat_Object_BuiltJsonSerializable: function _DialogFloat_Object_BuiltJsonSerializable() { }, - OxviewExport: function OxviewExport() { + _DialogInteger_Object_BuiltJsonSerializable: function _DialogInteger_Object_BuiltJsonSerializable() { }, - OxviewExport_OxviewExport_closure: function OxviewExport_OxviewExport_closure(t0) { - this.selected_strands_only = t0; + _DialogLabel_Object_BuiltJsonSerializable: function _DialogLabel_Object_BuiltJsonSerializable() { }, - OxExportOnlySelectedStrandsSet: function OxExportOnlySelectedStrandsSet() { + _DialogLink_Object_BuiltJsonSerializable: function _DialogLink_Object_BuiltJsonSerializable() { }, - _$UndoSerializer: function _$UndoSerializer() { + _DialogRadio_Object_BuiltJsonSerializable: function _DialogRadio_Object_BuiltJsonSerializable() { }, - _$RedoSerializer: function _$RedoSerializer() { + _DialogText_Object_BuiltJsonSerializable: function _DialogText_Object_BuiltJsonSerializable() { }, - _$UndoRedoClearSerializer: function _$UndoRedoClearSerializer() { + _DialogTextArea_Object_BuiltJsonSerializable: function _DialogTextArea_Object_BuiltJsonSerializable() { }, - _$BatchActionSerializer: function _$BatchActionSerializer() { + DNAAssignOptions_DNAAssignOptions(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence) { + var t1 = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(t1); + type$.nullable_void_Function_DNAAssignOptionsBuilder._as(new A.DNAAssignOptions_DNAAssignOptions_closure(dna_sequence, use_predefined_dna_sequence, assign_complements, disable_change_sequence_bound_strand, m13_rotation)).call$1(t1); + return t1._dna_assign_options$_build$0(); }, - _$ThrottledActionFastSerializer: function _$ThrottledActionFastSerializer() { + DNAAssignOptions__initializeBuilder(b) { + b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = ""; + b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + b.get$_dna_assign_options$_$this()._assign_complements = true; + b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + b.get$_dna_assign_options$_$this()._m13_rotation = 5587; }, - _$ThrottledActionNonFastSerializer: function _$ThrottledActionNonFastSerializer() { + DNAAssignOptionsBuilder$() { + var t1 = new A.DNAAssignOptionsBuilder(); + t1.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = ""; + t1.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t1.get$_dna_assign_options$_$this()._assign_complements = true; + t1.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t1.get$_dna_assign_options$_$this()._m13_rotation = 5587; + return t1; }, - _$LocalStorageDesignChoiceSetSerializer: function _$LocalStorageDesignChoiceSetSerializer() { + DNAAssignOptions: function DNAAssignOptions() { }, - _$ResetLocalStorageSerializer: function _$ResetLocalStorageSerializer() { + DNAAssignOptions_DNAAssignOptions_closure: function DNAAssignOptions_DNAAssignOptions_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_sequence = t0; + _.use_predefined_dna_sequence = t1; + _.assign_complements = t2; + _.disable_change_sequence_bound_strand = t3; + _.m13_rotation = t4; }, - _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer: function _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer() { + _$DNAAssignOptionsSerializer: function _$DNAAssignOptionsSerializer() { }, - _$EditModeToggleSerializer: function _$EditModeToggleSerializer() { + _$DNAAssignOptions: function _$DNAAssignOptions(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_sequence = t0; + _.use_predefined_dna_sequence = t1; + _.assign_complements = t2; + _.disable_change_sequence_bound_strand = t3; + _.m13_rotation = t4; + _._dna_assign_options$__hashCode = null; }, - _$EditModesSetSerializer: function _$EditModesSetSerializer() { + DNAAssignOptionsBuilder: function DNAAssignOptionsBuilder() { + var _ = this; + _._m13_rotation = _._disable_change_sequence_bound_strand = _._assign_complements = _._use_predefined_dna_sequence = _._dna_assign_options$_dna_sequence = _._dna_assign_options$_$v = null; }, - _$SelectModeToggleSerializer: function _$SelectModeToggleSerializer() { + _DNAAssignOptions_Object_BuiltJsonSerializable: function _DNAAssignOptions_Object_BuiltJsonSerializable() { }, - _$SelectModesAddSerializer: function _$SelectModesAddSerializer() { + DNAEnd_DNAEnd($forward, is_5p, is_on_extension, is_scaffold, is_start, offset, substrand_id, substrand_is_first, substrand_is_last) { + var t1 = new A.DNAEndBuilder(); + type$.nullable_void_Function_DNAEndBuilder._as(new A.DNAEnd_DNAEnd_closure(offset, is_5p, is_start, $forward, substrand_is_first, substrand_is_last, substrand_id, is_scaffold, is_on_extension)).call$1(t1); + return t1._dna_end$_build$0(); }, - _$SelectModesSetSerializer: function _$SelectModesSetSerializer() { + DNAEnd: function DNAEnd() { }, - _$StrandNameSetSerializer: function _$StrandNameSetSerializer() { + DNAEnd_DNAEnd_closure: function DNAEnd_DNAEnd_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.offset = t0; + _.is_5p = t1; + _.is_start = t2; + _.forward = t3; + _.substrand_is_first = t4; + _.substrand_is_last = t5; + _.substrand_id = t6; + _.is_scaffold = t7; + _.is_on_extension = t8; }, - _$StrandLabelSetSerializer: function _$StrandLabelSetSerializer() { + _$DNAEndSerializer: function _$DNAEndSerializer() { }, - _$SubstrandNameSetSerializer: function _$SubstrandNameSetSerializer() { + _$DNAEnd: function _$DNAEnd(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.offset = t0; + _.forward = t1; + _.is_5p = t2; + _.is_start = t3; + _.is_on_extension = t4; + _.substrand_is_first = t5; + _.substrand_is_last = t6; + _.substrand_id = t7; + _.is_scaffold = t8; + _._dna_end$__hashCode = _._dna_end$__id = _._dna_end$__select_mode = _.__is_3p = null; }, - _$SubstrandLabelSetSerializer: function _$SubstrandLabelSetSerializer() { + DNAEndBuilder: function DNAEndBuilder() { + var _ = this; + _._dna_end$_is_scaffold = _._substrand_id = _._substrand_is_last = _._substrand_is_first = _._is_on_extension = _._is_start = _._dna_end$_is_5p = _._dna_end$_forward = _._dna_end$_offset = _._dna_end$_$v = null; }, - _$SetAppUIStateStorableSerializer: function _$SetAppUIStateStorableSerializer() { + _DNAEnd_Object_SelectableMixin: function _DNAEnd_Object_SelectableMixin() { }, - _$ShowDNASetSerializer: function _$ShowDNASetSerializer() { + _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable: function _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable() { }, - _$ShowDomainNamesSetSerializer: function _$ShowDomainNamesSetSerializer() { + _$DNAEndsMove$_(current_offset, helix, moves, original_offset) { + var t1, + _s11_ = "DNAEndsMove"; + A.BuiltValueNullFieldError_checkNotNull(moves, _s11_, "moves", type$.BuiltList_DNAEndMove); + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(original_offset, _s11_, "original_offset", t1); + A.BuiltValueNullFieldError_checkNotNull(helix, _s11_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(current_offset, _s11_, "current_offset", t1); + return new A._$DNAEndsMove(moves, original_offset, helix, current_offset); + }, + _$DNAEndMove$_(dna_end, highest_offset, lowest_offset) { + var t1, + _s10_ = "DNAEndMove"; + A.BuiltValueNullFieldError_checkNotNull(dna_end, _s10_, "dna_end", type$.DNAEnd); + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(lowest_offset, _s10_, "lowest_offset", t1); + A.BuiltValueNullFieldError_checkNotNull(highest_offset, _s10_, "highest_offset", t1); + return new A._$DNAEndMove(dna_end, lowest_offset, highest_offset); }, - _$ShowStrandNamesSetSerializer: function _$ShowStrandNamesSetSerializer() { + DNAEndsMove: function DNAEndsMove() { }, - _$ShowStrandLabelsSetSerializer: function _$ShowStrandLabelsSetSerializer() { + DNAEndMove: function DNAEndMove() { }, - _$ShowDomainLabelsSetSerializer: function _$ShowDomainLabelsSetSerializer() { + _$DNAEndsMoveSerializer: function _$DNAEndsMoveSerializer() { }, - _$ShowModificationsSetSerializer: function _$ShowModificationsSetSerializer() { + _$DNAEndMoveSerializer: function _$DNAEndMoveSerializer() { }, - _$DomainNameFontSizeSetSerializer: function _$DomainNameFontSizeSetSerializer() { + _$DNAEndsMove: function _$DNAEndsMove(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_offset = t1; + _.helix = t2; + _.current_offset = t3; + _._dna_ends_move$__hashCode = _._dna_ends_move$__delta = _._dna_ends_move$__ends_moving = null; }, - _$DomainLabelFontSizeSetSerializer: function _$DomainLabelFontSizeSetSerializer() { + DNAEndsMoveBuilder: function DNAEndsMoveBuilder() { + var _ = this; + _._dna_ends_move$_current_offset = _._dna_ends_move$_helix = _._dna_ends_move$_original_offset = _._moves = _._dna_ends_move$_$v = null; }, - _$StrandNameFontSizeSetSerializer: function _$StrandNameFontSizeSetSerializer() { + _$DNAEndMove: function _$DNAEndMove(t0, t1, t2) { + this.dna_end = t0; + this.lowest_offset = t1; + this.highest_offset = t2; }, - _$StrandLabelFontSizeSetSerializer: function _$StrandLabelFontSizeSetSerializer() { + DNAEndMoveBuilder: function DNAEndMoveBuilder() { + var _ = this; + _._highest_offset = _._lowest_offset = _._dna_end = _._dna_ends_move$_$v = null; }, - _$ModificationFontSizeSetSerializer: function _$ModificationFontSizeSetSerializer() { + _DNAEndMove_Object_BuiltJsonSerializable: function _DNAEndMove_Object_BuiltJsonSerializable() { }, - _$MajorTickOffsetFontSizeSetSerializer: function _$MajorTickOffsetFontSizeSetSerializer() { + _DNAEndsMove_Object_BuiltJsonSerializable: function _DNAEndsMove_Object_BuiltJsonSerializable() { }, - _$MajorTickWidthFontSizeSetSerializer: function _$MajorTickWidthFontSizeSetSerializer() { + _$DNAExtensionsMove$_(current_point, moves, start_point) { + var t1, + _s17_ = "DNAExtensionsMove"; + A.BuiltValueNullFieldError_checkNotNull(moves, _s17_, "moves", type$.BuiltList_DNAExtensionMove); + t1 = type$.Point_double; + A.BuiltValueNullFieldError_checkNotNull(start_point, _s17_, "start_point", t1); + A.BuiltValueNullFieldError_checkNotNull(current_point, _s17_, "current_point", t1); + return new A._$DNAExtensionsMove(moves, start_point, current_point); + }, + _$DNAExtensionMove$_(attached_end_position, color, dna_end, extension, original_position) { + var t1, + _s16_ = "DNAExtensionMove"; + A.BuiltValueNullFieldError_checkNotNull(dna_end, _s16_, "dna_end", type$.DNAEnd); + A.BuiltValueNullFieldError_checkNotNull(color, _s16_, "color", type$.Color); + t1 = type$.Point_double; + A.BuiltValueNullFieldError_checkNotNull(original_position, _s16_, "original_position", t1); + A.BuiltValueNullFieldError_checkNotNull(attached_end_position, _s16_, "attached_end_position", t1); + A.BuiltValueNullFieldError_checkNotNull(extension, _s16_, "extension", type$.Extension); + return new A._$DNAExtensionMove(dna_end, color, original_position, attached_end_position, extension); }, - _$SetModificationDisplayConnectorSerializer: function _$SetModificationDisplayConnectorSerializer() { + DNAExtensionsMove: function DNAExtensionsMove() { }, - _$ShowMismatchesSetSerializer: function _$ShowMismatchesSetSerializer() { + DNAExtensionMove: function DNAExtensionMove() { }, - _$ShowDomainNameMismatchesSetSerializer: function _$ShowDomainNameMismatchesSetSerializer() { + _$DNAExtensionsMoveSerializer: function _$DNAExtensionsMoveSerializer() { }, - _$ShowUnpairedInsertionDeletionsSetSerializer: function _$ShowUnpairedInsertionDeletionsSetSerializer() { + _$DNAExtensionMoveSerializer: function _$DNAExtensionMoveSerializer() { }, - _$OxviewShowSetSerializer: function _$OxviewShowSetSerializer() { + _$DNAExtensionsMove: function _$DNAExtensionsMove(t0, t1, t2) { + var _ = this; + _.moves = t0; + _.start_point = t1; + _.current_point = t2; + _._dna_extensions_move$__hashCode = _.__ends_moving = null; }, - _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer() { + DNAExtensionsMoveBuilder: function DNAExtensionsMoveBuilder() { + var _ = this; + _._dna_extensions_move$_current_point = _._dna_extensions_move$_start_point = _._dna_extensions_move$_moves = _._dna_extensions_move$_$v = null; }, - _$DisplayMajorTicksOffsetsSetSerializer: function _$DisplayMajorTicksOffsetsSetSerializer() { + _$DNAExtensionMove: function _$DNAExtensionMove(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_end = t0; + _.color = t1; + _.original_position = t2; + _.attached_end_position = t3; + _.extension = t4; }, - _$SetDisplayMajorTickWidthsAllHelicesSerializer: function _$SetDisplayMajorTickWidthsAllHelicesSerializer() { + DNAExtensionMoveBuilder: function DNAExtensionMoveBuilder() { + var _ = this; + _._extension = _._attached_end_position = _._original_position = _._dna_extensions_move$_color = _._dna_extensions_move$_dna_end = _._dna_extensions_move$_$v = null; }, - _$SetDisplayMajorTickWidthsSerializer: function _$SetDisplayMajorTickWidthsSerializer() { + _DNAExtensionMove_Object_BuiltJsonSerializable: function _DNAExtensionMove_Object_BuiltJsonSerializable() { }, - _$SetOnlyDisplaySelectedHelicesSerializer: function _$SetOnlyDisplaySelectedHelicesSerializer() { + _DNAExtensionsMove_Object_BuiltJsonSerializable: function _DNAExtensionsMove_Object_BuiltJsonSerializable() { }, - _$InvertYSetSerializer: function _$InvertYSetSerializer() { + Insertion_Insertion(offset, count) { + var t1 = new A.InsertionBuilder(); + type$.nullable_void_Function_InsertionBuilder._as(new A.Insertion_Insertion_closure(offset, count, "NONE YET")).call$1(t1); + return t1._domain$_build$0(); }, - _$DynamicHelixUpdateSetSerializer: function _$DynamicHelixUpdateSetSerializer() { + Domain_Domain(deletions, end, $forward, helix, insertions, is_first, is_last, is_scaffold, start) { + var t2, _null = null, t1 = {}; + t1.deletions = deletions; + t1.insertions = insertions; + if (deletions == null) + t1.deletions = A.BuiltList_BuiltList$from(B.List_empty, type$.int); + if (insertions == null) + t1.insertions = A.BuiltList_BuiltList$from(B.List_empty, type$.Insertion); + t2 = new A.DomainBuilder(); + type$.nullable_void_Function_DomainBuilder._as(new A.Domain_Domain_closure(t1, helix, $forward, start, end, _null, _null, _null, _null, "NONE YET", is_first, is_last, is_scaffold)).call$1(t2); + return t2._domain$_build$0(); }, - _$WarnOnExitIfUnsavedSetSerializer: function _$WarnOnExitIfUnsavedSetSerializer() { + Domain_from_json(json_map) { + var color, t3, $name, label, unused_fields, i, j, j0, ins1, ins2, _i, deletion, insertion, _s6_ = "Domain", _null = null, + _s17_ = "insertion offset ", + $forward = A.mandatory_field(json_map, "forward", _s6_, B.List_right), + helix = A.mandatory_field(json_map, "helix", _s6_, B.List_empty0), + start = A.mandatory_field(json_map, "start", _s6_, B.List_empty0), + end = A.mandatory_field(json_map, "end", _s6_, B.List_empty0), + t1 = type$.dynamic, + t2 = type$.int, + deletions = A.List_List$from(A.optional_field(json_map, "deletions", [], B.List_empty0, _null, _null, type$.Iterable_dynamic, t1), true, t2), + insertions = A.Domain_parse_json_insertions(A.optional_field(json_map, "insertions", [], B.List_empty0, _null, _null, type$.List_dynamic, t1)); + t1 = J.getInterceptor$x(json_map); + if (t1.containsKey$1(json_map, "color")) { + t1 = t1.$index(json_map, "color"); + t1.toString; + color = A.parse_json_color(t1); + } else + color = _null; + t1 = type$.String; + t3 = type$.Object; + $name = A.optional_field_with_null_default(json_map, "name", B.List_empty0, t1, t3); + label = A.optional_field_with_null_default(json_map, "label", B.List_empty0, t1, t3); + unused_fields = A.unused_fields_map(json_map, $.$get$domain_keys()); + t2 = A.LinkedHashSet_LinkedHashSet$from(deletions, t2); + deletions = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + t2 = A.LinkedHashSet_LinkedHashSet$from(insertions, type$.Insertion); + insertions = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + for (t1 = insertions.length, i = 0; i < t1; i = j) + for (j = i + 1, j0 = j; j0 < t1; ++j0) { + ins1 = insertions[i]; + ins2 = insertions[j0]; + if (ins1.offset === ins2.offset) + throw A.wrapException(A.IllegalDesignError$("two insertions on a domain have the same offset but different lengths:\n" + ins1.toString$0(0) + "\n" + ins2.toString$0(0) + "\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + } + for (t2 = deletions.length, _i = 0; _i < t2; ++_i) { + deletion = deletions[_i]; + A._asNumS(start); + if (typeof deletion !== "number") + return deletion.$lt(); + if (typeof start !== "number") + return A.iae(start); + if (deletion < start) + throw A.wrapException(A.IllegalDesignError$("deletion " + A.S(deletion) + " cannot be less than offset " + A.S(start) + ".\n\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + A._asNumS(end); + if (typeof end !== "number") + return A.iae(end); + if (deletion >= end) + throw A.wrapException(A.IllegalDesignError$("deletion " + A.S(deletion) + " cannot be greater than or equal to offset " + A.S(end) + ".\n\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + } + for (_i = 0; _i < t1; ++_i) { + insertion = insertions[_i]; + t2 = insertion.offset; + A._asNumS(start); + if (typeof start !== "number") + return A.iae(start); + if (t2 < start) + throw A.wrapException(A.IllegalDesignError$(_s17_ + t2 + " cannot be less than start offset " + A.S(start) + ".\n\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + A._asNumS(end); + if (typeof end !== "number") + return A.iae(end); + if (t2 >= end) + throw A.wrapException(A.IllegalDesignError$(_s17_ + t2 + " cannot be greater than or equal to end offset " + A.S(end) + ".\n\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + t2 = insertion.length; + if (t2 <= 0) + throw A.wrapException(A.IllegalDesignError$("insertion length " + t2 + " cannot be less than or equal to 0.\n\n" + A.Domain_pre_domain_description(A._asIntS(helix), A._asBoolS($forward), A._asIntS(start), A._asIntS(end)))); + } + t1 = new A.DomainBuilder(); + A._asBoolQ($forward); + t1.get$_domain$_$this()._domain$_forward = $forward; + A._asIntQ(helix); + t1.get$_domain$_$this()._domain$_helix = helix; + A._asIntQ(start); + t1.get$_domain$_$this()._start = start; + A._asIntQ(end); + t1.get$_domain$_$this()._end = end; + t1.get$deletions().replace$1(0, deletions); + t1.get$insertions().replace$1(0, insertions); + t1.get$_domain$_$this()._domain$_color = color; + t1.get$_domain$_$this()._domain$_name = $name; + t1.get$_domain$_$this()._domain$_label = label; + t1.get$_domain$_$this()._domain$_strand_id = "NONE YET"; + type$.nullable_MapBuilder_String_dynamic._as(unused_fields); + t1.get$_domain$_$this().set$_domain$_unused_fields(unused_fields); + return t1; }, - _$LoadingDialogShowSerializer: function _$LoadingDialogShowSerializer() { + Domain_pre_domain_description(helix, $forward, start, end) { + return "This occurred on a " + (A.boolConversionCheck($forward) ? "forward" : "reverse") + " Domain with\n helix = " + A.S(helix) + "\n start = " + A.S(start) + "\n end = " + A.S(end) + "."; }, - _$LoadingDialogHideSerializer: function _$LoadingDialogHideSerializer() { + Domain_parse_json_insertions(json_encoded_insertions) { + return A.List_List$from(J.map$1$ax(json_encoded_insertions, new A.Domain_parse_json_insertions_closure()), true, type$.Insertion); }, - _$CopySelectedStandsToClipboardImageSerializer: function _$CopySelectedStandsToClipboardImageSerializer() { + Domain_num_insertions_in_list(insertions) { + var t1, num; + for (t1 = insertions.get$iterator(insertions), num = 0; t1.moveNext$0();) + num += t1.get$current(t1).length; + return num; }, - _$SaveDNAFileSerializer: function _$SaveDNAFileSerializer() { + Insertion: function Insertion() { }, - _$LoadDNAFileSerializer: function _$LoadDNAFileSerializer() { + Insertion_Insertion_closure: function Insertion_Insertion_closure(t0, t1, t2) { + this.offset = t0; + this.count = t1; + this.strand_id = t2; }, - _$PrepareToLoadDNAFileSerializer: function _$PrepareToLoadDNAFileSerializer() { + Domain: function Domain() { }, - _$NewDesignSetSerializer: function _$NewDesignSetSerializer() { + Domain_Domain_closure: function Domain_Domain_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._box_0 = t0; + _.helix = t1; + _.forward = t2; + _.start = t3; + _.end = t4; + _.name = t5; + _.label = t6; + _.dna_sequence = t7; + _.color = t8; + _.strand_id = t9; + _.is_first = t10; + _.is_last = t11; + _.is_scaffold = t12; }, - _$ExportCadnanoFileSerializer: function _$ExportCadnanoFileSerializer() { + Domain_set_dna_sequence_closure: function Domain_set_dna_sequence_closure(t0) { + this.seq = t0; }, - _$ExportCodenanoFileSerializer: function _$ExportCodenanoFileSerializer() { + Domain_to_json_serializable_closure: function Domain_to_json_serializable_closure(t0) { + this.suppress_indent = t0; }, - _$ShowMouseoverDataSetSerializer: function _$ShowMouseoverDataSetSerializer() { + Domain_parse_json_insertions_closure: function Domain_parse_json_insertions_closure() { }, - _$MouseoverDataClearSerializer: function _$MouseoverDataClearSerializer() { + Domain_dna_length_in_closure: function Domain_dna_length_in_closure(t0, t1) { + this.left = t0; + this.right = t1; }, - _$MouseoverDataUpdateSerializer: function _$MouseoverDataUpdateSerializer() { + Domain_dna_length_in_closure0: function Domain_dna_length_in_closure0(t0, t1) { + this.left = t0; + this.right = t1; }, - _$HelixRollSetSerializer: function _$HelixRollSetSerializer() { + Domain_dna_sequence_deletions_insertions_to_spaces_closure: function Domain_dna_sequence_deletions_insertions_to_spaces_closure() { }, - _$HelixRollSetAtOtherSerializer: function _$HelixRollSetAtOtherSerializer() { + Domain_dna_sequence_deletions_insertions_to_spaces_closure0: function Domain_dna_sequence_deletions_insertions_to_spaces_closure0() { }, - _$RelaxHelixRollsSerializer: function _$RelaxHelixRollsSerializer() { + Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds: function Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(t0, t1) { + this.$this = t0; + this.forward = t1; }, - _$ErrorMessageSetSerializer: function _$ErrorMessageSetSerializer() { + Domain_net_ins_del_length_increase_from_5p_to_closure: function Domain_net_ins_del_length_increase_from_5p_to_closure() { }, - _$SelectionBoxCreateSerializer: function _$SelectionBoxCreateSerializer() { + Domain_net_ins_del_length_increase_from_5p_to_closure0: function Domain_net_ins_del_length_increase_from_5p_to_closure0() { }, - _$SelectionBoxSizeChangeSerializer: function _$SelectionBoxSizeChangeSerializer() { + _$InsertionSerializer: function _$InsertionSerializer() { }, - _$SelectionBoxRemoveSerializer: function _$SelectionBoxRemoveSerializer() { + _$DomainSerializer: function _$DomainSerializer() { }, - _$SelectionRopeCreateSerializer: function _$SelectionRopeCreateSerializer() { + _$Insertion: function _$Insertion(t0, t1, t2) { + var _ = this; + _.offset = t0; + _.length = t1; + _.strand_id = t2; + _._domain$__hashCode = null; }, - _$SelectionRopeMouseMoveSerializer: function _$SelectionRopeMouseMoveSerializer() { + InsertionBuilder: function InsertionBuilder() { + var _ = this; + _._domain$_strand_id = _._domain$_length = _._domain$_offset = _._domain$_$v = null; }, - _$SelectionRopeAddPointSerializer: function _$SelectionRopeAddPointSerializer() { + _$Domain: function _$Domain(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.start = t2; + _.end = t3; + _.deletions = t4; + _.insertions = t5; + _.is_first = t6; + _.is_last = t7; + _.is_scaffold = t8; + _.name = t9; + _.label = t10; + _.dna_sequence = t11; + _.color = t12; + _.strand_id = t13; + _.unused_fields = t14; + _._domain$__hashCode = _.__num_insertions = _.__offset_3p = _.__offset_5p = _._domain$__address_3p = _._domain$__address_5p = _.__address_end = _.__address_start = _._domain$__selectable_insertions = _._domain$__selectable_deletions = _.__dnaend_end = _.__dnaend_start = _.__insertion_offset_to_length = _._domain$__select_mode = _._domain$__id = null; }, - _$SelectionRopeRemoveSerializer: function _$SelectionRopeRemoveSerializer() { + DomainBuilder: function DomainBuilder() { + var _ = this; + _._domain$_unused_fields = _._domain$_strand_id = _._domain$_color = _._domain$_dna_sequence = _._domain$_label = _._domain$_name = _._domain$_is_scaffold = _._is_last = _._is_first = _._insertions = _._deletions = _._end = _._start = _._domain$_forward = _._domain$_helix = _._domain$_$v = null; }, - _$MouseGridPositionSideUpdateSerializer: function _$MouseGridPositionSideUpdateSerializer() { + _Domain_Object_SelectableMixin: function _Domain_Object_SelectableMixin() { }, - _$MouseGridPositionSideClearSerializer: function _$MouseGridPositionSideClearSerializer() { + _Domain_Object_SelectableMixin_BuiltJsonSerializable: function _Domain_Object_SelectableMixin_BuiltJsonSerializable() { }, - _$MousePositionSideUpdateSerializer: function _$MousePositionSideUpdateSerializer() { + _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { }, - _$MousePositionSideClearSerializer: function _$MousePositionSideClearSerializer() { + _Insertion_Object_BuiltJsonSerializable: function _Insertion_Object_BuiltJsonSerializable() { }, - _$GeometrySetSerializer: function _$GeometrySetSerializer() { + _$DomainNameMismatch$_(forward_domain, helix_idx, reverse_domain) { + var t1, + _s18_ = "DomainNameMismatch"; + A.BuiltValueNullFieldError_checkNotNull(helix_idx, _s18_, "helix_idx", type$.int); + t1 = type$.Domain; + A.BuiltValueNullFieldError_checkNotNull(forward_domain, _s18_, "forward_domain", t1); + A.BuiltValueNullFieldError_checkNotNull(reverse_domain, _s18_, "reverse_domain", t1); + return new A._$DomainNameMismatch(helix_idx, forward_domain, reverse_domain); }, - _$SelectionBoxIntersectionRuleSetSerializer: function _$SelectionBoxIntersectionRuleSetSerializer() { + DomainNameMismatch: function DomainNameMismatch() { }, - _$SelectSerializer: function _$SelectSerializer() { + _$DomainNameMismatchSerializer: function _$DomainNameMismatchSerializer() { }, - _$SelectionsClearSerializer: function _$SelectionsClearSerializer() { + _$DomainNameMismatch: function _$DomainNameMismatch(t0, t1, t2) { + var _ = this; + _.helix_idx = t0; + _.forward_domain = t1; + _.reverse_domain = t2; + _._domain_name_mismatch$__hashCode = null; }, - _$SelectionsAdjustMainViewSerializer: function _$SelectionsAdjustMainViewSerializer() { + DomainNameMismatchBuilder: function DomainNameMismatchBuilder() { + var _ = this; + _._reverse_domain = _._forward_domain = _._domain_name_mismatch$_helix_idx = _._domain_name_mismatch$_$v = null; }, - _$SelectOrToggleItemsSerializer: function _$SelectOrToggleItemsSerializer() { + _DomainNameMismatch_Object_BuiltJsonSerializable: function _DomainNameMismatch_Object_BuiltJsonSerializable() { }, - _$SelectAllSerializer: function _$SelectAllSerializer() { + DomainsMove_DomainsMove(all_domains, domains_moving, groups, helices, original_address, original_helices_view_order_inverse, strands_with_domains_moving) { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_Domain); + for (t2 = all_domains._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = domains_moving._list; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (!B.JSArray_methods.contains$1(t3, t4)) + t1.push(t4); + } + t2 = new A.DomainsMoveBuilder(); + type$.nullable_void_Function_DomainsMoveBuilder._as(new A.DomainsMove_DomainsMove_closure(domains_moving, t1, strands_with_domains_moving, helices, groups, original_helices_view_order_inverse, original_address, false, true)).call$1(t2); + return t2._domains_move$_build$0(); }, - _$SelectAllSelectableSerializer: function _$SelectAllSelectableSerializer() { + DomainsMove: function DomainsMove() { }, - _$SelectAllWithSameAsSelectedSerializer: function _$SelectAllWithSameAsSelectedSerializer() { + DomainsMove_DomainsMove_closure: function DomainsMove_DomainsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.domains_moving = t0; + _.domains_fixed = t1; + _.strands_with_domains_moving = t2; + _.helices = t3; + _.groups = t4; + _.original_helices_view_order_inverse = t5; + _.original_address = t6; + _.copy = t7; + _.keep_color = t8; }, - _$DeleteAllSelectedSerializer: function _$DeleteAllSelectedSerializer() { + _$DomainsMoveSerializer: function _$DomainsMoveSerializer() { }, - _$HelixAddSerializer: function _$HelixAddSerializer() { + _$DomainsMove: function _$DomainsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.domains_moving = t0; + _.domains_fixed = t1; + _.helices = t2; + _.groups = t3; + _.strands_with_domains_moving = t4; + _.original_helices_view_order_inverse = t5; + _.original_address = t6; + _.current_address = t7; + _.allowable = t8; + _.copy = t9; + _.keep_color = t10; + _._domains_move$__hashCode = _.__domains_moving_from_strand = _.__domains_fixed_on_helix = _.__domains_moving_on_helix = null; }, - _$HelixRemoveSerializer: function _$HelixRemoveSerializer() { + DomainsMoveBuilder: function DomainsMoveBuilder() { + var _ = this; + _._keep_color = _._copy = _._allowable = _._current_address = _._original_address = _._original_helices_view_order_inverse = _._strands_with_domains_moving = _._domains_move$_groups = _._domains_move$_helices = _._domains_fixed = _._domains_moving = _._domains_move$_$v = null; }, - _$HelixRemoveAllSelectedSerializer: function _$HelixRemoveAllSelectedSerializer() { + _DomainsMove_Object_BuiltJsonSerializable: function _DomainsMove_Object_BuiltJsonSerializable() { }, - _$HelixSelectSerializer: function _$HelixSelectSerializer() { - }, - _$HelixSelectionsClearSerializer: function _$HelixSelectionsClearSerializer() { - }, - _$HelixSelectionsAdjustSerializer: function _$HelixSelectionsAdjustSerializer() { - }, - _$HelixMajorTickDistanceChangeSerializer: function _$HelixMajorTickDistanceChangeSerializer() { - }, - _$HelixMajorTickDistanceChangeAllSerializer: function _$HelixMajorTickDistanceChangeAllSerializer() { + _$valueOf4($name) { + switch ($name) { + case "select": + return B.EditModeChoice_select; + case "rope_select": + return B.EditModeChoice_rope_select; + case "pencil": + return B.EditModeChoice_pencil; + case "nick": + return B.EditModeChoice_nick; + case "ligate": + return B.EditModeChoice_ligate; + case "insertion": + return B.EditModeChoice_insertion; + case "deletion": + return B.EditModeChoice_deletion; + case "move_group": + return B.EditModeChoice_move_group; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$HelixMajorTickStartChangeSerializer: function _$HelixMajorTickStartChangeSerializer() { + EditModeChoice: function EditModeChoice(t0) { + this.name = t0; }, - _$HelixMajorTickStartChangeAllSerializer: function _$HelixMajorTickStartChangeAllSerializer() { + _$EditModeChoiceSerializer: function _$EditModeChoiceSerializer() { }, - _$HelixMajorTicksChangeSerializer: function _$HelixMajorTicksChangeSerializer() { + ExampleDesigns__initializeBuilder(b) { + var t1; + b.get$_example_designs$_$this()._directory = "examples/output_designs"; + t1 = type$.nullable_ListBuilder_String._as(A.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.String)); + b.get$_example_designs$_$this().set$_filenames(t1); + b.get$_example_designs$_$this()._selected_idx = -1; }, - _$HelixMajorTicksChangeAllSerializer: function _$HelixMajorTicksChangeAllSerializer() { + ExampleDesignsBuilder$() { + var t2, + t1 = new A.ExampleDesignsBuilder(); + t1.get$_example_designs$_$this()._directory = "examples/output_designs"; + t2 = type$.nullable_ListBuilder_String._as(A.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.String)); + t1.get$_example_designs$_$this().set$_filenames(t2); + t1.get$_example_designs$_$this()._selected_idx = -1; + return t1; }, - _$HelixMajorTickPeriodicDistancesChangeSerializer: function _$HelixMajorTickPeriodicDistancesChangeSerializer() { + ExampleDesigns: function ExampleDesigns() { }, - _$HelixMajorTickPeriodicDistancesChangeAllSerializer: function _$HelixMajorTickPeriodicDistancesChangeAllSerializer() { + _$ExampleDesignsSerializer: function _$ExampleDesignsSerializer() { }, - _$HelixIdxsChangeSerializer: function _$HelixIdxsChangeSerializer() { + _$ExampleDesigns: function _$ExampleDesigns(t0, t1, t2) { + var _ = this; + _.directory = t0; + _.filenames = t1; + _.selected_idx = t2; + _._example_designs$__hashCode = null; }, - _$HelixOffsetChangeSerializer: function _$HelixOffsetChangeSerializer() { + ExampleDesignsBuilder: function ExampleDesignsBuilder() { + var _ = this; + _._selected_idx = _._filenames = _._directory = _._example_designs$_$v = null; }, - _$HelixMinOffsetSetByDomainsSerializer: function _$HelixMinOffsetSetByDomainsSerializer() { + _ExampleDesigns_Object_BuiltJsonSerializable: function _ExampleDesigns_Object_BuiltJsonSerializable() { }, - _$HelixMaxOffsetSetByDomainsSerializer: function _$HelixMaxOffsetSetByDomainsSerializer() { + strand_helix_offset_key(strand, strand_order, column_major) { + var helix_idx, offset, helix_idx_5p, offset_5p, helix_idx_3p, offset_3p, t1, t2, helix_idx0, t3; + if (strand_order === B.StrandOrder_five_prime) { + helix_idx = strand.get$first_domain().helix; + offset = strand.get$first_domain().get$offset_5p(); + } else if (strand_order === B.StrandOrder_three_prime) { + helix_idx = strand.get$last_domain().helix; + offset = strand.get$last_domain().get$offset_3p(); + } else if (strand_order === B.StrandOrder_five_or_three_prime) { + helix_idx_5p = strand.get$first_domain().helix; + offset_5p = strand.get$first_domain().get$offset_5p(); + helix_idx_3p = strand.get$last_domain().helix; + offset_3p = strand.get$last_domain().get$offset_3p(); + if (column_major) { + if (offset_5p >= offset_3p) + t1 = offset_5p === offset_3p && helix_idx_5p <= helix_idx_3p; + else + t1 = true; + if (t1) { + offset = offset_5p; + helix_idx = helix_idx_5p; + } else { + offset = offset_3p; + helix_idx = helix_idx_3p; + } + } else { + if (helix_idx_5p >= helix_idx_3p) + t1 = helix_idx_5p === helix_idx_3p && offset_5p <= offset_3p; + else + t1 = true; + if (t1) { + offset = offset_5p; + helix_idx = helix_idx_5p; + } else { + offset = offset_3p; + helix_idx = helix_idx_3p; + } + } + } else if (strand_order === B.StrandOrder_top_left_domain_start) { + helix_idx = strand.get$first_domain().helix; + offset = strand.get$first_domain().start; + for (t1 = strand.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + helix_idx0 = t2.helix; + if (helix_idx <= helix_idx0) + t3 = helix_idx === helix_idx0 && offset > t2.start; + else + t3 = true; + if (t3) { + offset = t2.start; + helix_idx = helix_idx0; + } + } + } else + throw A.wrapException(A.ArgumentError$(strand_order.toString$0(0) + " is not a valid StrandOrder", null)); + return new A.Tuple2(helix_idx, offset, type$.Tuple2_int_int); }, - _$HelixMinOffsetSetByDomainsAllSerializer: function _$HelixMinOffsetSetByDomainsAllSerializer() { + strands_comparison_function(strand_order, column_major) { + return new A.strands_comparison_function_compare(strand_order, column_major); }, - _$HelixMaxOffsetSetByDomainsAllSerializer: function _$HelixMaxOffsetSetByDomainsAllSerializer() { + ExportDNAFormat_fromString(str) { + var t1, t2, t3; + for (t1 = J.get$iterator$ax(B.Map_bv0.get$keys(B.Map_bv0)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = B.Map_bv0.$index(0, t2); + t3.toString; + if (t3 === str) + return t2; + } + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); }, - _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer: function _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer() { + ExportDNAException$(cause) { + return new A.ExportDNAException(cause); }, - _$HelixOffsetChangeAllSerializer: function _$HelixOffsetChangeAllSerializer() { + csv_export(strands, domain_delimiter) { + var t1 = A._arrayInstanceType(strands); + return new A.MappedListIterable(strands, t1._eval$1("String(1)")._as(new A.csv_export_closure(domain_delimiter)), t1._eval$1("MappedListIterable<1,String>")).join$1(0, "\n"); }, - _$ShowMouseoverRectSetSerializer: function _$ShowMouseoverRectSetSerializer() { + idt_bulk_export(strands, delimiter, domain_delimiter) { + var t1 = A._arrayInstanceType(strands); + return new A.MappedListIterable(strands, t1._eval$1("String(1)")._as(new A.idt_bulk_export_closure(delimiter, domain_delimiter, "25nm", "STD")), t1._eval$1("MappedListIterable<1,String>")).join$1(0, "\n"); }, - _$ShowMouseoverRectToggleSerializer: function _$ShowMouseoverRectToggleSerializer() { + idt_plates_export(strands, plate_type, column_major_plate, domain_delimiter) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.List_int), + $async$returnValue, min_strands_per_plate, final_plate_less_than_min_required, t2, decoder, num_strands_remaining, on_final_plate, num_strands_remaining0, plate, excel_row, plate_name, _i, t3, strand, t4, t5, plate0, t0, num_strands_per_plate, t1, num_plates_needed, $async$temp1, $async$temp2, $async$temp3, $async$temp4, $async$temp5; + var $async$idt_plates_export = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + num_strands_per_plate = A.num_wells_per_plate(plate_type); + t1 = strands.length; + num_plates_needed = B.JSInt_methods.$tdiv(t1, num_strands_per_plate); + if (B.JSInt_methods.$mod(t1, num_strands_per_plate) !== 0) + ++num_plates_needed; + min_strands_per_plate = A.min_wells_per_plate(plate_type); + final_plate_less_than_min_required = t1 - Math.max(0, (num_plates_needed - 1) * num_strands_per_plate) < min_strands_per_plate; + if (num_plates_needed > 10) { + t2 = plate_type === B.PlateType_0 ? 96 : 384; + throw A.wrapException(A.ExportDNAException$("To put " + t1 + " strands into " + t2 + "-well plates requires " + num_plates_needed + " plates.\nIt is currently unsupported to create more than 10 plates in a single design.\nPlease file an issue requesting this feature here: https://github.com/UC-Davis-molecular-computing/scadnano/issues")); + } + $async$temp1 = A; + $async$temp2 = new A.ZipDecoder(); + $async$temp3 = A; + $async$temp4 = type$.List_int; + $async$temp5 = J; + $async$goto = 3; + return A._asyncAwait(A.get_binary_file_content("excel-spreadsheets/idt-plates-empty-" + num_plates_needed + "plate.xlsx"), $async$idt_plates_export); + case 3: + // returning from await. + decoder = $async$temp1._newSpreadsheetDecoder($async$temp2.decodeBuffer$3$password$verify($async$temp3.InputStream$($async$temp4._as($async$temp5.asUint8List$2$x($async$result, 0, null)), 0, null, 0), null, true), true); + num_strands_remaining = strands.length; + on_final_plate = num_plates_needed === 1; + for (num_strands_remaining0 = num_strands_remaining, plate = 1, excel_row = 1, plate_name = "plate1", _i = 0, t1 = 1, t2 = 0, t3 = 0; _i < strands.length; strands.length === num_strands_remaining || (0, A.throwConcurrentModificationError)(strands), ++_i, t3 = t2, t2 = t1, t1 = plate0) { + strand = strands[_i]; + t4 = A.rows_of(plate_type); + if (!(t2 < t4.length)) { + $async$returnValue = A.ioore(t4, t2); + // goto return + $async$goto = 1; + break $async$outer; + } + t4 = t4[t2]; + t5 = A.cols_of(plate_type); + if (!(t3 < t5.length)) { + $async$returnValue = A.ioore(t5, t3); + // goto return + $async$goto = 1; + break $async$outer; + } + t5 = t5[t3]; + decoder.insertRow$2(0, plate_name, excel_row); + decoder.updateCell$4(plate_name, 0, excel_row, t4 + t5); + decoder.updateCell$4(plate_name, 1, excel_row, strand.vendor_export_name$0()); + t5 = strand.vendor_dna_sequence$1$domain_delimiter(domain_delimiter); + decoder.updateCell$4(plate_name, 2, excel_row, t5 == null ? "*****NONE*****" : t5); + --num_strands_remaining0; + if (!on_final_plate && final_plate_less_than_min_required && num_strands_remaining0 === min_strands_per_plate) { + ++t1; + plate0 = t1; + t1 = 0; + t2 = 0; + } else { + if (column_major_plate) { + ++t2; + if (t2 === A.rows_of(plate_type).length) { + t2 = t3 + 1; + if (t2 === A.cols_of(plate_type).length) { + ++t1; + t2 = t1; + t1 = 0; + } else { + t0 = t2; + t2 = t1; + t1 = t0; + } + t3 = t2; + t2 = t1; + t1 = 0; + } else { + t0 = t3; + t3 = t1; + t1 = t2; + t2 = t0; + } + } else { + ++t3; + if (t3 === A.cols_of(plate_type).length) { + ++t2; + if (t2 === A.rows_of(plate_type).length) { + ++t1; + t2 = t1; + t1 = 0; + } else { + t0 = t2; + t2 = t1; + t1 = t0; + } + t3 = t2; + t2 = 0; + } else { + t0 = t3; + t3 = t1; + t1 = t2; + t2 = t0; + } + } + plate0 = t3; + } + if (plate !== plate0) { + plate_name = "plate" + plate0; + plate = plate0; + excel_row = 1; + on_final_plate = true; + } else + ++excel_row; + } + $async$returnValue = decoder.encode$0(); + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$idt_plates_export, $async$completer); }, - _$ExportDNASerializer: function _$ExportDNASerializer() { + num_wells_per_plate(plate_type) { + switch (plate_type) { + case B.PlateType_0: + return 96; + case B.PlateType_1: + return 384; + case B.PlateType_2: + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); + default: + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); + } }, - _$ExportSvgSerializer: function _$ExportSvgSerializer() { + min_wells_per_plate(plate_type) { + switch (plate_type) { + case B.PlateType_0: + return 24; + case B.PlateType_1: + return 96; + case B.PlateType_2: + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); + default: + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); + } }, - _$ExportSvgTextSeparatelySetSerializer: function _$ExportSvgTextSeparatelySetSerializer() { + rows_of(plate_type) { + switch (plate_type) { + case B.PlateType_0: + return A._setArrayType(["A", "B", "C", "D", "E", "F", "G", "H"], type$.JSArray_String); + case B.PlateType_1: + return A._setArrayType(["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P"], type$.JSArray_String); + case B.PlateType_2: + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); + default: + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); + } }, - _$ExtensionDisplayLengthAngleSetSerializer: function _$ExtensionDisplayLengthAngleSetSerializer() { + cols_of(plate_type) { + var t1, i; + switch (plate_type) { + case B.PlateType_0: + t1 = A._setArrayType([], type$.JSArray_int); + for (i = 1; i <= 12; ++i) + t1.push(i); + return t1; + case B.PlateType_1: + t1 = A._setArrayType([], type$.JSArray_int); + for (i = 1; i <= 24; ++i) + t1.push(i); + return t1; + case B.PlateType_2: + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); + default: + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); + } }, - _$ExtensionAddSerializer: function _$ExtensionAddSerializer() { + _$valueOf5($name) { + switch ($name) { + case "idt_bulk": + return B.ExportDNAFormat_idt_bulk; + case "idt_plates96": + return B.ExportDNAFormat_idt_plates96; + case "idt_plates384": + return B.ExportDNAFormat_idt_plates384; + case "csv": + return B.ExportDNAFormat_csv; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$ExtensionNumBasesChangeSerializer: function _$ExtensionNumBasesChangeSerializer() { + strands_comparison_function_compare: function strands_comparison_function_compare(t0, t1) { + this.strand_order = t0; + this.column_major = t1; }, - _$ExtensionsNumBasesChangeSerializer: function _$ExtensionsNumBasesChangeSerializer() { + ExportDNAFormat: function ExportDNAFormat(t0) { + this.name = t0; }, - _$LoopoutLengthChangeSerializer: function _$LoopoutLengthChangeSerializer() { + ExportDNAException: function ExportDNAException(t0) { + this.cause = t0; }, - _$LoopoutsLengthChangeSerializer: function _$LoopoutsLengthChangeSerializer() { + csv_export_closure: function csv_export_closure(t0) { + this.domain_delimiter = t0; }, - _$ConvertCrossoverToLoopoutSerializer: function _$ConvertCrossoverToLoopoutSerializer() { + idt_bulk_export_closure: function idt_bulk_export_closure(t0, t1, t2, t3) { + var _ = this; + _.delimiter = t0; + _.domain_delimiter = t1; + _.scale = t2; + _.purification = t3; }, - _$ConvertCrossoversToLoopoutsSerializer: function _$ConvertCrossoversToLoopoutsSerializer() { + PlateType: function PlateType(t0) { + this._core$_name = t0; }, - _$NickSerializer: function _$NickSerializer() { + _$ExportDNAFormatSerializer: function _$ExportDNAFormatSerializer() { }, - _$LigateSerializer: function _$LigateSerializer() { + StrandOrder_fromString(str) { + var t1, t2, t3; + for (t1 = J.get$iterator$ax(B.Map_yHyvP.get$keys(B.Map_yHyvP)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = B.Map_yHyvP.$index(0, t2); + t3.toString; + if (t3 === str) + return t2; + } + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); }, - _$JoinStrandsByCrossoverSerializer: function _$JoinStrandsByCrossoverSerializer() { + _$valueOf10($name) { + switch ($name) { + case "five_prime": + return B.StrandOrder_five_prime; + case "three_prime": + return B.StrandOrder_three_prime; + case "five_or_three_prime": + return B.StrandOrder_five_or_three_prime; + case "top_left_domain_start": + return B.StrandOrder_top_left_domain_start; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$MoveLinkerSerializer: function _$MoveLinkerSerializer() { + StrandOrder: function StrandOrder(t0) { + this.name = t0; }, - _$JoinStrandsByMultipleCrossoversSerializer: function _$JoinStrandsByMultipleCrossoversSerializer() { + _$StrandOrderSerializer: function _$StrandOrderSerializer() { }, - _$StrandsReflectSerializer: function _$StrandsReflectSerializer() { + Extension_Extension(adjacent_domain, color, display_angle, display_length, dna_sequence, is_5p, is_scaffold, label, $name, num_bases, unused_fields) { + var t2, t1 = {}; + t1.unused_fields = unused_fields; + if (unused_fields == null) + t1.unused_fields = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + t2 = new A.ExtensionBuilder(); + type$.nullable_void_Function_ExtensionBuilder._as(new A.Extension_Extension_closure(t1, num_bases, display_length, display_angle, is_5p, $name, label, dna_sequence, color, is_scaffold, adjacent_domain, "NONE YET")).call$1(t2); + return t2._extension$_build$0(); }, - _$ReplaceStrandsSerializer: function _$ReplaceStrandsSerializer() { + Extension: function Extension() { }, - _$StrandCreateStartSerializer: function _$StrandCreateStartSerializer() { + Extension_Extension_closure: function Extension_Extension_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._box_0 = t0; + _.num_bases = t1; + _.display_length = t2; + _.display_angle = t3; + _.is_5p = t4; + _.name = t5; + _.label = t6; + _.dna_sequence = t7; + _.color = t8; + _.is_scaffold = t9; + _.adjacent_domain = t10; + _.strand_id = t11; }, - _$StrandCreateAdjustOffsetSerializer: function _$StrandCreateAdjustOffsetSerializer() { + Extension_set_dna_sequence_closure: function Extension_set_dna_sequence_closure(t0) { + this.seq = t0; }, - _$StrandCreateStopSerializer: function _$StrandCreateStopSerializer() { + _$ExtensionSerializer: function _$ExtensionSerializer() { }, - _$StrandCreateCommitSerializer: function _$StrandCreateCommitSerializer() { + _$Extension: function _$Extension(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _.num_bases = t0; + _.display_length = t1; + _.display_angle = t2; + _.is_5p = t3; + _.label = t4; + _.name = t5; + _.dna_sequence = t6; + _.color = t7; + _.strand_id = t8; + _.is_scaffold = t9; + _.adjacent_domain = t10; + _.unused_fields = t11; + _._extension$__hashCode = _.__dnaend_free = _._extension$__id = _._extension$__select_mode = null; }, - _$PotentialCrossoverCreateSerializer: function _$PotentialCrossoverCreateSerializer() { + ExtensionBuilder: function ExtensionBuilder() { + var _ = this; + _._extension$_unused_fields = _._adjacent_domain = _._extension$_is_scaffold = _._strand_id = _._extension$_color = _._dna_sequence = _._extension$_name = _._extension$_label = _._is_5p = _._display_angle = _._display_length = _._num_bases = _._extension$_$v = null; }, - _$PotentialCrossoverMoveSerializer: function _$PotentialCrossoverMoveSerializer() { + _Extension_Object_SelectableMixin: function _Extension_Object_SelectableMixin() { }, - _$PotentialCrossoverRemoveSerializer: function _$PotentialCrossoverRemoveSerializer() { + _Extension_Object_SelectableMixin_BuiltJsonSerializable: function _Extension_Object_SelectableMixin_BuiltJsonSerializable() { }, - _$ManualPasteInitiateSerializer: function _$ManualPasteInitiateSerializer() { + _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { }, - _$AutoPasteInitiateSerializer: function _$AutoPasteInitiateSerializer() { + Geometry_Geometry(bases_per_turn, helix_radius, inter_helix_gap, minor_groove_angle, rise_per_base_pair) { + var t1 = new A.GeometryBuilder(); + type$.nullable_void_Function_GeometryBuilder._as(new A.Geometry_Geometry_closure(rise_per_base_pair, helix_radius, inter_helix_gap, bases_per_turn, minor_groove_angle)).call$1(t1); + return t1._geometry$_build$0(); }, - _$CopySelectedStrandsSerializer: function _$CopySelectedStrandsSerializer() { + Geometry_from_json(json_map) { + var _null = null, + t1 = type$.double, + t2 = type$.dynamic, + rise_per_base_pair = A.optional_field(json_map, "rise_per_base_pair", 0.332, B.List_z_step, _null, _null, t1, t2), + helix_radius = A.optional_field(json_map, "helix_radius", 1, B.List_empty0, _null, _null, t1, t2), + inter_helix_gap = A.optional_field(json_map, "inter_helix_gap", 1, B.List_empty0, _null, _null, t1, t2), + geometry = A.Geometry_Geometry(A.optional_field(json_map, "bases_per_turn", 10.5, B.List_empty0, _null, _null, t1, t2), helix_radius, inter_helix_gap, A.optional_field(json_map, "minor_groove_angle", 150, B.List_groove_angle, new A.Geometry_from_json_closure(), _null, t1, t1), rise_per_base_pair), + unused_fields = A.unused_fields_map(json_map, $.$get$geometry_keys()); + geometry.toString; + t1 = type$.void_Function_GeometryBuilder._as(new A.Geometry_from_json_closure0(unused_fields)); + t2 = new A.GeometryBuilder(); + A.ArgumentError_checkNotNull(geometry, "other", type$.Geometry); + t2._geometry$_$v = geometry; + type$.nullable_void_Function_GeometryBuilder._as(t1).call$1(t2); + return t2._geometry$_build$0(); }, - _$StrandsMoveStartSerializer: function _$StrandsMoveStartSerializer() { + Geometry: function Geometry() { }, - _$StrandsMoveStartSelectedStrandsSerializer: function _$StrandsMoveStartSelectedStrandsSerializer() { + Geometry_Geometry_closure: function Geometry_Geometry_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.rise_per_base_pair = t0; + _.helix_radius = t1; + _.inter_helix_gap = t2; + _.bases_per_turn = t3; + _.minor_groove_angle = t4; }, - _$StrandsMoveStopSerializer: function _$StrandsMoveStopSerializer() { + Geometry_from_json_closure: function Geometry_from_json_closure() { }, - _$StrandsMoveAdjustAddressSerializer: function _$StrandsMoveAdjustAddressSerializer() { + Geometry_from_json_closure0: function Geometry_from_json_closure0(t0) { + this.unused_fields = t0; }, - _$StrandsMoveCommitSerializer: function _$StrandsMoveCommitSerializer() { + _$GeometrySerializer: function _$GeometrySerializer() { }, - _$DomainsMoveStartSelectedDomainsSerializer: function _$DomainsMoveStartSelectedDomainsSerializer() { + _$Geometry: function _$Geometry(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.rise_per_base_pair = t0; + _.helix_radius = t1; + _.inter_helix_gap = t2; + _.bases_per_turn = t3; + _.minor_groove_angle = t4; + _.unused_fields = t5; + _._geometry$__hashCode = _.__svg_pixels_to_nm = _.__nm_to_svg_pixels = _.__base_height_svg = _.__base_width_svg = _.__helix_diameter_svg = _.__helix_radius_svg = _.__helix_diameter_nm = _.__distance_between_helices_svg = _.__distance_between_helices_nm = null; }, - _$DomainsMoveStopSerializer: function _$DomainsMoveStopSerializer() { + GeometryBuilder: function GeometryBuilder() { + var _ = this; + _._geometry$_unused_fields = _._minor_groove_angle = _._bases_per_turn = _._inter_helix_gap = _._helix_radius = _._rise_per_base_pair = _._geometry$_$v = null; }, - _$DomainsMoveAdjustAddressSerializer: function _$DomainsMoveAdjustAddressSerializer() { + _Geometry_Object_BuiltJsonSerializable: function _Geometry_Object_BuiltJsonSerializable() { }, - _$DomainsMoveCommitSerializer: function _$DomainsMoveCommitSerializer() { + _Geometry_Object_BuiltJsonSerializable_UnusedFields: function _Geometry_Object_BuiltJsonSerializable_UnusedFields() { }, - _$DNAEndsMoveStartSerializer: function _$DNAEndsMoveStartSerializer() { + Grid_valueOf($name) { + return A._$valueOf(A._asStringS($name)); }, - _$DNAEndsMoveSetSelectedEndsSerializer: function _$DNAEndsMoveSetSelectedEndsSerializer() { + _$valueOf($name) { + switch ($name) { + case "square": + return B.Grid_square; + case "hex": + return B.Grid_hex; + case "honeycomb": + return B.Grid_honeycomb; + case "none": + return B.Grid_none; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$DNAEndsMoveAdjustOffsetSerializer: function _$DNAEndsMoveAdjustOffsetSerializer() { + Grid: function Grid(t0) { + this.name = t0; }, - _$DNAEndsMoveStopSerializer: function _$DNAEndsMoveStopSerializer() { + _$GridSerializer: function _$GridSerializer() { }, - _$DNAEndsMoveCommitSerializer: function _$DNAEndsMoveCommitSerializer() { + GridPosition_GridPosition(h, v) { + var t1 = new A.GridPositionBuilder(); + type$.nullable_void_Function_GridPositionBuilder._as(new A.GridPosition_GridPosition_closure(h, v)).call$1(t1); + return t1._grid_position$_build$0(); }, - _$DNAExtensionsMoveStartSerializer: function _$DNAExtensionsMoveStartSerializer() { + GridPosition: function GridPosition() { }, - _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer: function _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer() { + GridPosition_GridPosition_closure: function GridPosition_GridPosition_closure(t0, t1) { + this.h = t0; + this.v = t1; }, - _$DNAExtensionsMoveAdjustPositionSerializer: function _$DNAExtensionsMoveAdjustPositionSerializer() { + _$GridPositionSerializer: function _$GridPositionSerializer() { }, - _$DNAExtensionsMoveStopSerializer: function _$DNAExtensionsMoveStopSerializer() { + _$GridPosition: function _$GridPosition(t0, t1) { + this.h = t0; + this.v = t1; + this._grid_position$__hashCode = null; }, - _$DNAExtensionsMoveCommitSerializer: function _$DNAExtensionsMoveCommitSerializer() { + GridPositionBuilder: function GridPositionBuilder() { + this._v = this._h = this._grid_position$_$v = null; }, - _$HelixGroupMoveStartSerializer: function _$HelixGroupMoveStartSerializer() { + _GridPosition_Object_BuiltJsonSerializable: function _GridPosition_Object_BuiltJsonSerializable() { }, - _$HelixGroupMoveCreateSerializer: function _$HelixGroupMoveCreateSerializer() { + HelixGroup__initializeBuilder(b) { + var t1, t2; + b.get$_group$_$this()._group$_grid = B.Grid_none; + t1 = $.$get$Position3D_origin(); + t1.toString; + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t2._position3d$_$v = t1; + b.get$_group$_$this()._group$_position = t2; + b.get$_group$_$this()._pitch = 0; + b.get$_group$_$this()._yaw = 0; + b.get$_group$_$this()._group$_roll = 0; + t2 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); + b.get$_group$_$this().set$_group$_helices_view_order(t2); }, - _$HelixGroupMoveAdjustTranslationSerializer: function _$HelixGroupMoveAdjustTranslationSerializer() { + HelixGroup_HelixGroup(grid, helices_view_order, pitch, position, roll, yaw) { + var t2, t1 = {}; + t1.position = position; + if (position == null) + t1.position = $.$get$Position3D_origin(); + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + type$.nullable_void_Function_HelixGroupBuilder._as(new A.HelixGroup_HelixGroup_closure(t1, grid, helices_view_order, pitch, yaw, roll)).call$1(t2); + return t2._group$_build$0(); }, - _$HelixGroupMoveStopSerializer: function _$HelixGroupMoveStopSerializer() { + HelixGroup_from_json(json_map, helix_idxs) { + var helices_view_order, list1, list2, position, _null = null, + _s18_ = "helices_view_order", + _s2_ = ", ", + _s21_ = "\nhelices_view_order: ", + t1 = type$.dynamic, + grid = A._$valueOf(A.optional_field(json_map, "grid", "none", B.List_empty0, _null, _null, type$.String, t1)), + t2 = J.getInterceptor$x(json_map), + t3 = type$.int; + if (t2.containsKey$1(json_map, _s18_)) { + helices_view_order = A.List_List$from(type$.Iterable_dynamic._as(t2.$index(json_map, _s18_)), true, t3); + t2 = helices_view_order.length; + if (t2 !== helix_idxs.get$length(helix_idxs)) + throw A.wrapException(A.IllegalDesignError$("number of helices (" + A.S(helix_idxs.get$length(helix_idxs)) + ") does not match length of helices_view_order (" + t2 + ")\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + B.JSArray_methods.join$1(helices_view_order, _s2_))); + list1 = A.List_List$from(helices_view_order, true, t3); + list2 = A.List_List$from(helix_idxs, true, t3); + B.JSArray_methods.sort$0(list1); + B.JSArray_methods.sort$0(list2); + if (!A.boolConversionCheck(type$.bool_Function_2_nullable_List_dynamic_and_nullable_List_dynamic._as(new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic).get$equals()).call$2(list1, list2))) + throw A.wrapException(A.IllegalDesignError$("helices_view_order " + A.S(helices_view_order) + " must have same indexes as helix_idxs " + helix_idxs.toString$0(0) + "\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + B.JSArray_methods.join$1(helices_view_order, _s2_))); + } else { + helices_view_order = A.List_List$of(helix_idxs, true, t3); + B.JSArray_methods.sort$0(helices_view_order); + } + position = A.Position3D_Position3D$from_json(type$.Map_String_dynamic._as(A.mandatory_field(json_map, "position", "HelixGroup", B.List_origin))); + t2 = type$.double; + return A.HelixGroup_HelixGroup(grid, helices_view_order, A.optional_field(json_map, "pitch", 0, B.List_empty0, _null, _null, t2, t1), position, A.optional_field(json_map, "roll", 0, B.List_empty0, _null, _null, t2, t1), A.optional_field(json_map, "yaw", 0, B.List_empty0, _null, _null, t2, t1)); }, - _$HelixGroupMoveCommitSerializer: function _$HelixGroupMoveCommitSerializer() { + HelixGroupBuilder$() { + var t2, t3, + t1 = new A.HelixGroupBuilder(); + t1.get$_group$_$this()._group$_grid = B.Grid_none; + t2 = $.$get$Position3D_origin(); + t2.toString; + t3 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); + t3._position3d$_$v = t2; + t1.get$_group$_$this()._group$_position = t3; + t1.get$_group$_$this()._pitch = 0; + t1.get$_group$_$this()._yaw = 0; + t1.get$_group$_$this()._group$_roll = 0; + t3 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); + t1.get$_group$_$this().set$_group$_helices_view_order(t3); + return t1; }, - _$AssignDNASerializer: function _$AssignDNASerializer() { + HelixGroup: function HelixGroup() { }, - _$AssignDNAComplementFromBoundStrandsSerializer: function _$AssignDNAComplementFromBoundStrandsSerializer() { + HelixGroup_HelixGroup_closure: function HelixGroup_HelixGroup_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_0 = t0; + _.grid = t1; + _.helices_view_order = t2; + _.pitch = t3; + _.yaw = t4; + _.roll = t5; }, - _$AssignDomainNameComplementFromBoundStrandsSerializer: function _$AssignDomainNameComplementFromBoundStrandsSerializer() { + _$HelixGroupSerializer: function _$HelixGroupSerializer() { }, - _$AssignDomainNameComplementFromBoundDomainsSerializer: function _$AssignDomainNameComplementFromBoundDomainsSerializer() { + _$HelixGroup: function _$HelixGroup(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.grid = t0; + _.helices_view_order = t1; + _.position = t2; + _.pitch = t3; + _.yaw = t4; + _.roll = t5; + _._group$__hashCode = _.__helices_view_order_inverse = null; }, - _$RemoveDNASerializer: function _$RemoveDNASerializer() { + HelixGroupBuilder: function HelixGroupBuilder() { + var _ = this; + _._group$_roll = _._yaw = _._pitch = _._group$_position = _._group$_helices_view_order = _._group$_grid = _._group$_$v = null; }, - _$InsertionAddSerializer: function _$InsertionAddSerializer() { + _HelixGroup_Object_BuiltJsonSerializable: function _HelixGroup_Object_BuiltJsonSerializable() { }, - _$InsertionLengthChangeSerializer: function _$InsertionLengthChangeSerializer() { + Helix_Helix(geometry, grid, grid_position, group, idx, invert_y, max_offset, min_offset, position) { + var major_tick_periodic_distances, major_tick_start, t2, t1 = {}; + t1.geometry = geometry; + t1.grid = grid; + t1.grid_position = grid_position; + t1.major_tick_start = major_tick_start; + t1.major_tick_periodic_distances = major_tick_periodic_distances; + t1.major_tick_start = t1.major_tick_periodic_distances = null; + t1.major_tick_start = min_offset; + if (geometry == null) + t1.geometry = $.$get$default_geometry(); + if (grid_position == null && grid !== B.Grid_none) + t1.grid_position = A.GridPosition_GridPosition(0, idx); + t1.major_tick_periodic_distances = A._setArrayType([], type$.JSArray_int); + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + type$.nullable_void_Function_HelixBuilder._as(new A.Helix_Helix_closure(t1, idx, group, position, 0, min_offset, max_offset)).call$1(t2); + return t2._helix$_build$0(); }, - _$InsertionsLengthChangeSerializer: function _$InsertionsLengthChangeSerializer() { + Helix: function Helix() { }, - _$DeletionAddSerializer: function _$DeletionAddSerializer() { + Helix_Helix_closure: function Helix_Helix_closure(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._box_0 = t0; + _.idx = t1; + _.group = t2; + _.position = t3; + _.roll = t4; + _.min_offset = t5; + _.max_offset = t6; }, - _$InsertionRemoveSerializer: function _$InsertionRemoveSerializer() { + Helix_relax_roll_closure: function Helix_relax_roll_closure(t0, t1) { + this.$this = t0; + this.roll_delta = t1; }, - _$DeletionRemoveSerializer: function _$DeletionRemoveSerializer() { + _$HelixSerializer: function _$HelixSerializer() { }, - _$ScalePurificationVendorFieldsAssignSerializer: function _$ScalePurificationVendorFieldsAssignSerializer() { - }, - _$PlateWellVendorFieldsAssignSerializer: function _$PlateWellVendorFieldsAssignSerializer() { - }, - _$PlateWellVendorFieldsRemoveSerializer: function _$PlateWellVendorFieldsRemoveSerializer() { + _$Helix: function _$Helix(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _.idx = t0; + _.grid = t1; + _.geometry = t2; + _.group = t3; + _.grid_position = t4; + _.position_ = t5; + _.roll = t6; + _.max_offset = t7; + _.min_offset = t8; + _.major_tick_start = t9; + _.major_tick_periodic_distances = t10; + _.major_ticks = t11; + _.unused_fields = t12; + _._helix$__hashCode = _.__calculate_major_ticks = _.__num_bases = _.__svg_height = _.__svg_width = _.__has_major_tick_periodic_distances = _.__has_major_ticks = _.__has_major_tick_distance = _.__has_default_major_ticks = _.__has_default_major_tick_start = _.__has_default_major_tick_distance = _.__has_default_roll = _.__has_default_group = _.__position3d = _.__has_position = _.__has_grid_position = _.__default_position = null; }, - _$VendorFieldsRemoveSerializer: function _$VendorFieldsRemoveSerializer() { + HelixBuilder: function HelixBuilder() { + var _ = this; + _._helix$_unused_fields = _._major_ticks = _._major_tick_periodic_distances = _._major_tick_start = _._min_offset = _._max_offset = _._roll = _._position_ = _._grid_position = _._group = _._helix$_geometry = _._grid = _._idx = _._helix$_$v = null; }, - _$ModificationAddSerializer: function _$ModificationAddSerializer() { + _Helix_Object_BuiltJsonSerializable: function _Helix_Object_BuiltJsonSerializable() { }, - _$ModificationRemoveSerializer: function _$ModificationRemoveSerializer() { + _Helix_Object_BuiltJsonSerializable_UnusedFields: function _Helix_Object_BuiltJsonSerializable_UnusedFields() { }, - _$ModificationConnectorLengthSetSerializer: function _$ModificationConnectorLengthSetSerializer() { + HelixGroupMove_HelixGroupMove(group, group_name, helices, original_mouse_point) { + var t1; + if (helices._map$_map._length === 0) + throw A.wrapException(A.ArgumentError$value("helices should not be empty in a HelixGroupMove object", null, null)); + t1 = new A.HelixGroupMoveBuilder(); + type$.nullable_void_Function_HelixGroupMoveBuilder._as(new A.HelixGroupMove_HelixGroupMove_closure(group_name, group, helices, original_mouse_point)).call$1(t1); + return t1._helix_group_move$_build$0(); }, - _$ModificationEditSerializer: function _$ModificationEditSerializer() { + HelixGroupMove: function HelixGroupMove() { }, - _$Modifications5PrimeEditSerializer: function _$Modifications5PrimeEditSerializer() { + HelixGroupMove_HelixGroupMove_closure: function HelixGroupMove_HelixGroupMove_closure(t0, t1, t2, t3) { + var _ = this; + _.group_name = t0; + _.group = t1; + _.helices = t2; + _.original_mouse_point = t3; }, - _$Modifications3PrimeEditSerializer: function _$Modifications3PrimeEditSerializer() { + HelixGroupMove_current_position_closure: function HelixGroupMove_current_position_closure(t0, t1) { + this.$this = t0; + this.nm_translation = t1; }, - _$ModificationsInternalEditSerializer: function _$ModificationsInternalEditSerializer() { + _$HelixGroupMoveSerializer: function _$HelixGroupMoveSerializer() { }, - _$GridChangeSerializer: function _$GridChangeSerializer() { + _$HelixGroupMove: function _$HelixGroupMove(t0, t1, t2, t3, t4) { + var _ = this; + _.group_name = t0; + _.group = t1; + _.helices = t2; + _.original_mouse_point = t3; + _.current_mouse_point = t4; + _._helix_group_move$__hashCode = _.__geometry = _._helix_group_move$__helix_idxs_in_group = _.__is_nontrivial = _.__delta = _.__current_position = null; }, - _$GroupDisplayedChangeSerializer: function _$GroupDisplayedChangeSerializer() { + HelixGroupMoveBuilder: function HelixGroupMoveBuilder() { + var _ = this; + _._current_mouse_point = _._original_mouse_point = _._helix_group_move$_helices = _._helix_group_move$_group = _._helix_group_move$_group_name = _._helix_group_move$_$v = null; }, - _$GroupAddSerializer: function _$GroupAddSerializer() { + _HelixGroupMove_Object_BuiltJsonSerializable: function _HelixGroupMove_Object_BuiltJsonSerializable() { }, - _$GroupRemoveSerializer: function _$GroupRemoveSerializer() { + LocalStorageDesignChoice_LocalStorageDesignChoice(option, period_seconds) { + var t1 = new A.LocalStorageDesignChoiceBuilder(); + type$.nullable_void_Function_LocalStorageDesignChoiceBuilder._as(new A.LocalStorageDesignChoice_LocalStorageDesignChoice_closure(option, period_seconds)).call$1(t1); + return t1._local_storage_design_choice$_build$0(); }, - _$GroupChangeSerializer: function _$GroupChangeSerializer() { + _$valueOf6($name) { + switch ($name) { + case "on_edit": + return B.LocalStorageDesignOption_on_edit; + case "on_exit": + return B.LocalStorageDesignOption_on_exit; + case "never": + return B.LocalStorageDesignOption_never; + case "periodic": + return B.LocalStorageDesignOption_periodic; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$MoveHelicesToGroupSerializer: function _$MoveHelicesToGroupSerializer() { + LocalStorageDesignOption: function LocalStorageDesignOption(t0) { + this.name = t0; }, - _$DialogShowSerializer: function _$DialogShowSerializer() { + LocalStorageDesignChoice: function LocalStorageDesignChoice() { }, - _$DialogHideSerializer: function _$DialogHideSerializer() { + LocalStorageDesignChoice_LocalStorageDesignChoice_closure: function LocalStorageDesignChoice_LocalStorageDesignChoice_closure(t0, t1) { + this.option = t0; + this.period_seconds = t1; }, - _$ContextMenuShowSerializer: function _$ContextMenuShowSerializer() { + LocalStorageDesignChoice_to_on_edit_closure: function LocalStorageDesignChoice_to_on_edit_closure() { }, - _$ContextMenuHideSerializer: function _$ContextMenuHideSerializer() { + LocalStorageDesignChoice_to_on_exit_closure: function LocalStorageDesignChoice_to_on_exit_closure() { }, - _$StrandOrSubstrandColorPickerShowSerializer: function _$StrandOrSubstrandColorPickerShowSerializer() { + LocalStorageDesignChoice_to_never_closure: function LocalStorageDesignChoice_to_never_closure() { }, - _$StrandOrSubstrandColorPickerHideSerializer: function _$StrandOrSubstrandColorPickerHideSerializer() { + LocalStorageDesignChoice_to_periodic_closure: function LocalStorageDesignChoice_to_periodic_closure() { }, - _$ScaffoldSetSerializer: function _$ScaffoldSetSerializer() { + LocalStorageDesignChoice_change_period_closure: function LocalStorageDesignChoice_change_period_closure(t0) { + this.new_period = t0; }, - _$StrandOrSubstrandColorSetSerializer: function _$StrandOrSubstrandColorSetSerializer() { + _$LocalStorageDesignOptionSerializer: function _$LocalStorageDesignOptionSerializer() { }, - _$StrandPasteKeepColorSetSerializer: function _$StrandPasteKeepColorSetSerializer() { + _$LocalStorageDesignChoiceSerializer: function _$LocalStorageDesignChoiceSerializer() { }, - _$ExampleDesignsLoadSerializer: function _$ExampleDesignsLoadSerializer() { + _$LocalStorageDesignChoice: function _$LocalStorageDesignChoice(t0, t1) { + this.option = t0; + this.period_seconds = t1; }, - _$BasePairTypeSetSerializer: function _$BasePairTypeSetSerializer() { + LocalStorageDesignChoiceBuilder: function LocalStorageDesignChoiceBuilder() { + this._period_seconds = this._option = this._local_storage_design_choice$_$v = null; }, - _$HelixPositionSetSerializer: function _$HelixPositionSetSerializer() { + _LocalStorageDesignChoice_Object_BuiltJsonSerializable: function _LocalStorageDesignChoice_Object_BuiltJsonSerializable() { }, - _$HelixGridPositionSetSerializer: function _$HelixGridPositionSetSerializer() { + Loopout_Loopout(is_scaffold, loopout_num_bases, prev_domain_idx) { + var _null = null, + t1 = new A.LoopoutBuilder(); + type$.nullable_void_Function_LoopoutBuilder._as(new A.Loopout_Loopout_closure(loopout_num_bases, prev_domain_idx, is_scaffold, _null, _null, _null, _null, "NONE YET")).call$1(t1); + return t1._loopout$_build$0(); }, - _$HelicesPositionsSetBasedOnCrossoversSerializer: function _$HelicesPositionsSetBasedOnCrossoversSerializer() { + Loopout: function Loopout() { }, - _$InlineInsertionsDeletionsSerializer: function _$InlineInsertionsDeletionsSerializer() { + Loopout_Loopout_closure: function Loopout_Loopout_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.loopout_num_bases = t0; + _.prev_domain_idx = t1; + _.is_scaffold = t2; + _.dna_sequence = t3; + _.color = t4; + _.name = t5; + _.label = t6; + _.strand_id = t7; }, - _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer: function _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer() { + Loopout_set_dna_sequence_closure: function Loopout_set_dna_sequence_closure(t0) { + this.seq = t0; }, - _$AutofitSetSerializer: function _$AutofitSetSerializer() { + _$LoopoutSerializer: function _$LoopoutSerializer() { }, - _$ShowHelixCirclesMainViewSetSerializer: function _$ShowHelixCirclesMainViewSetSerializer() { + _$Loopout: function _$Loopout(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.loopout_num_bases = t0; + _.name = t1; + _.label = t2; + _.prev_domain_idx = t3; + _.dna_sequence = t4; + _.color = t5; + _.strand_id = t6; + _.is_scaffold = t7; + _.unused_fields = t8; + _._loopout$__hashCode = _._loopout$__id = _._loopout$__select_mode = _.__next_domain_idx = null; }, - _$ShowHelixComponentsMainViewSetSerializer: function _$ShowHelixComponentsMainViewSetSerializer() { + LoopoutBuilder: function LoopoutBuilder() { + var _ = this; + _._loopout$_unused_fields = _._loopout$_is_scaffold = _._loopout$_strand_id = _._loopout$_color = _._loopout$_dna_sequence = _._prev_domain_idx = _._loopout$_label = _._loopout$_name = _._loopout_num_bases = _._loopout$_$v = null; }, - _$ShowEditMenuToggleSerializer: function _$ShowEditMenuToggleSerializer() { + _Loopout_Object_SelectableMixin: function _Loopout_Object_SelectableMixin() { }, - _$ShowGridCoordinatesSideViewSetSerializer: function _$ShowGridCoordinatesSideViewSetSerializer() { + _Loopout_Object_SelectableMixin_BuiltJsonSerializable: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable() { }, - _$ShowAxisArrowsSetSerializer: function _$ShowAxisArrowsSetSerializer() { + _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { }, - _$ShowLoopoutExtensionLengthSetSerializer: function _$ShowLoopoutExtensionLengthSetSerializer() { + Modification_mod_to_json_serializable(mod, suppress_indent) { + var t2, t3, t4, + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + t1.$indexSet(0, "display_text", mod.get$display_text()); + t1.$indexSet(0, "vendor_code", mod.get$vendor_code()); + if (mod.get$connector_length() !== 4) + t1.$indexSet(0, "connector_length", mod.get$connector_length()); + t2 = mod.get$unused_fields(); + t3 = t2._map$_map; + t4 = A._instanceType(t2); + t1.addAll$1(0, new A.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return t1; }, - _$LoadDnaSequenceImageUriSerializer: function _$LoadDnaSequenceImageUriSerializer() { + Modification_from_json(json_map) { + var t3, unused_fields, display_text, vendor_code, mod, connector_length, allowed_bases_json, allowed_bases, + _s8_ = "location", + _null = null, + _s12_ = "display_text", + _s11_ = "vendor_code", + _s16_ = "connector_length", + _s5_ = "other", + t1 = J.getInterceptor$asx(json_map), + t2 = t1.$index(json_map, _s8_); + t2.toString; + A._asStringS(t2); + t3 = $.$get$modification_keys(); + unused_fields = A.unused_fields_map(json_map, t3); + if (t2 === "5'") { + display_text = A._asStringS(t1.$index(json_map, _s12_)); + A._asStringS(t1.$index(json_map, _s8_)); + vendor_code = A._asStringS(A.mandatory_field(json_map, _s11_, "Modification5Prime", B.List_idt_text)); + t1 = A.Modification5Prime_Modification5Prime(A.optional_field(json_map, _s16_, 4, B.List_empty0, _null, _null, type$.int, type$.dynamic), display_text, A.unused_fields_map(json_map, t3).build$0(), vendor_code); + t1.toString; + t2 = type$.void_Function_Modification5PrimeBuilder._as(new A.Modification_from_json_closure(unused_fields)); + t3 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification5Prime); + t3._modification$_$v = t1; + type$.nullable_void_Function_Modification5PrimeBuilder._as(t2).call$1(t3); + mod = t3._modification$_build$0(); + } else if (t2 === "3'") { + display_text = A._asStringS(t1.$index(json_map, _s12_)); + A._asStringS(t1.$index(json_map, _s8_)); + vendor_code = A._asStringS(A.mandatory_field(json_map, _s11_, "Modification3Prime", B.List_idt_text)); + t1 = A.Modification3Prime_Modification3Prime(A.optional_field(json_map, _s16_, 4, B.List_empty0, _null, _null, type$.int, type$.dynamic), display_text, A.unused_fields_map(json_map, t3).build$0(), vendor_code); + t1.toString; + t2 = type$.void_Function_Modification3PrimeBuilder._as(new A.Modification_from_json_closure0(unused_fields)); + t3 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification3Prime); + t3._modification$_$v = t1; + type$.nullable_void_Function_Modification3PrimeBuilder._as(t2).call$1(t3); + mod = t3._modification$_build$0(); + } else if (t2 === "internal") { + display_text = A._asStringS(t1.$index(json_map, _s12_)); + A._asStringS(t1.$index(json_map, _s8_)); + vendor_code = A._asStringS(A.mandatory_field(json_map, _s11_, "ModificationInternal", B.List_idt_text)); + connector_length = A.optional_field(json_map, _s16_, 4, B.List_empty0, _null, _null, type$.int, type$.dynamic); + allowed_bases_json = type$.nullable_List_dynamic._as(t1.$index(json_map, "allowed_bases")); + allowed_bases = allowed_bases_json == null ? _null : A.BuiltSet_BuiltSet$from(allowed_bases_json, type$.String); + t1 = A.ModificationInternal_ModificationInternal(allowed_bases, connector_length, display_text, A.unused_fields_map(json_map, t3).build$0(), vendor_code); + t1.toString; + t2 = type$.void_Function_ModificationInternalBuilder._as(new A.Modification_from_json_closure1(unused_fields)); + t3 = new A.ModificationInternalBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ModificationInternal); + t3._modification$_$v = t1; + type$.nullable_void_Function_ModificationInternalBuilder._as(t2).call$1(t3); + mod = t3._modification$_build$0(); + } else + throw A.wrapException(A.IllegalDesignError$('unknown Modification location "' + t2 + '"')); + return mod; }, - _$SetIsZoomAboveThresholdSerializer: function _$SetIsZoomAboveThresholdSerializer() { + Modification5Prime_Modification5Prime(connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(B.Map_empty, type$.String, type$.dynamic) : unused_fields, + t1 = new A.Modification5PrimeBuilder(); + type$.nullable_void_Function_Modification5PrimeBuilder._as(new A.Modification5Prime_Modification5Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); + return t1._modification$_build$0(); }, - _$SetExportSvgActionDelayedForPngCacheSerializer: function _$SetExportSvgActionDelayedForPngCacheSerializer() { + Modification3Prime_Modification3Prime(connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(B.Map_empty, type$.String, type$.dynamic) : unused_fields, + t1 = new A.Modification3PrimeBuilder(); + type$.nullable_void_Function_Modification3PrimeBuilder._as(new A.Modification3Prime_Modification3Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); + return t1._modification$_build$0(); }, - _$ShowBasePairLinesSetSerializer: function _$ShowBasePairLinesSetSerializer() { + ModificationInternal_ModificationInternal(allowed_bases, connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(B.Map_empty, type$.String, type$.dynamic) : unused_fields, + t1 = new A.ModificationInternalBuilder(); + type$.nullable_void_Function_ModificationInternalBuilder._as(new A.ModificationInternal_ModificationInternal_closure(display_text, vendor_code, connector_length, allowed_bases, unused_fields_to_assign)).call$1(t1); + return t1._modification$_build$0(); }, - _$ShowBasePairLinesWithMismatchesSetSerializer: function _$ShowBasePairLinesWithMismatchesSetSerializer() { + Modification_from_json_closure: function Modification_from_json_closure(t0) { + this.unused_fields = t0; }, - _$ShowSliceBarSetSerializer: function _$ShowSliceBarSetSerializer() { + Modification_from_json_closure0: function Modification_from_json_closure0(t0) { + this.unused_fields = t0; }, - _$SliceBarOffsetSetSerializer: function _$SliceBarOffsetSetSerializer() { + Modification_from_json_closure1: function Modification_from_json_closure1(t0) { + this.unused_fields = t0; }, - _$DisablePngCachingDnaSequencesSetSerializer: function _$DisablePngCachingDnaSequencesSetSerializer() { + Modification5Prime: function Modification5Prime() { }, - _$RetainStrandColorOnSelectionSetSerializer: function _$RetainStrandColorOnSelectionSetSerializer() { + Modification5Prime_Modification5Prime_closure: function Modification5Prime_Modification5Prime_closure(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields_to_assign = t3; }, - _$DisplayReverseDNARightSideUpSetSerializer: function _$DisplayReverseDNARightSideUpSetSerializer() { + Modification3Prime: function Modification3Prime() { }, - _$SliceBarMoveStartSerializer: function _$SliceBarMoveStartSerializer() { + Modification3Prime_Modification3Prime_closure: function Modification3Prime_Modification3Prime_closure(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields_to_assign = t3; }, - _$SliceBarMoveStopSerializer: function _$SliceBarMoveStopSerializer() { + ModificationInternal: function ModificationInternal() { }, - _$AutostapleSerializer: function _$AutostapleSerializer() { + ModificationInternal_ModificationInternal_closure: function ModificationInternal_ModificationInternal_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.allowed_bases = t3; + _.unused_fields_to_assign = t4; }, - _$AutobreakSerializer: function _$AutobreakSerializer() { + _$Modification5PrimeSerializer: function _$Modification5PrimeSerializer() { }, - _$ZoomSpeedSetSerializer: function _$ZoomSpeedSetSerializer() { + _$Modification3PrimeSerializer: function _$Modification3PrimeSerializer() { }, - _$OxdnaExportSerializer: function _$OxdnaExportSerializer() { + _$ModificationInternalSerializer: function _$ModificationInternalSerializer() { }, - _$OxviewExportSerializer: function _$OxviewExportSerializer() { + _$Modification5Prime: function _$Modification5Prime(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields = t3; + _._modification$__hashCode = null; }, - _$OxExportOnlySelectedStrandsSetSerializer: function _$OxExportOnlySelectedStrandsSetSerializer() { + Modification5PrimeBuilder: function Modification5PrimeBuilder() { + var _ = this; + _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; }, - _$SkipUndo: function _$SkipUndo(t0) { - this.undoable_action = t0; + _$Modification3Prime: function _$Modification3Prime(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields = t3; + _._modification$__hashCode = null; }, - SkipUndoBuilder: function SkipUndoBuilder() { - this._undoable_action = this._$v = null; + Modification3PrimeBuilder: function Modification3PrimeBuilder() { + var _ = this; + _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; }, - _$Undo: function _$Undo(t0) { - this.num_undos = t0; + _$ModificationInternal: function _$ModificationInternal(t0, t1, t2, t3, t4) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.allowed_bases = t3; + _.unused_fields = t4; + _._modification$__hashCode = null; }, - UndoBuilder: function UndoBuilder() { - this._num_undos = this._$v = null; + ModificationInternalBuilder: function ModificationInternalBuilder() { + var _ = this; + _._modification$_unused_fields = _._allowed_bases = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; }, - _$Redo: function _$Redo(t0) { - this.num_redos = t0; + _Modification3Prime_Object_BuiltJsonSerializable: function _Modification3Prime_Object_BuiltJsonSerializable() { }, - RedoBuilder: function RedoBuilder() { - this._num_redos = this._$v = null; + _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields() { }, - _$UndoRedoClear: function _$UndoRedoClear() { + _Modification5Prime_Object_BuiltJsonSerializable: function _Modification5Prime_Object_BuiltJsonSerializable() { }, - _$BatchAction: function _$BatchAction(t0, t1) { - this.actions = t0; - this.short_description_value = t1; + _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields() { }, - BatchActionBuilder: function BatchActionBuilder() { - this._short_description_value = this._actions = this._$v = null; + _ModificationInternal_Object_BuiltJsonSerializable: function _ModificationInternal_Object_BuiltJsonSerializable() { }, - _$ThrottledActionFast: function _$ThrottledActionFast(t0, t1) { - this.action = t0; - this.interval_sec = t1; + _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields: function _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields() { }, - ThrottledActionFastBuilder: function ThrottledActionFastBuilder() { - this._interval_sec = this._action = this._$v = null; + _$valueOf7($name) { + switch ($name) { + case "five_prime": + return B.ModificationType_five_prime; + case "three_prime": + return B.ModificationType_three_prime; + case "internal": + return B.ModificationType_internal; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - _$ThrottledActionNonFast: function _$ThrottledActionNonFast(t0, t1) { - this.action = t0; - this.interval_sec = t1; + ModificationType: function ModificationType(t0) { + this.name = t0; }, - ThrottledActionNonFastBuilder: function ThrottledActionNonFastBuilder() { - this._interval_sec = this._action = this._$v = null; + _$ModificationTypeSerializer: function _$ModificationTypeSerializer() { }, - _$LocalStorageDesignChoiceSet: function _$LocalStorageDesignChoiceSet(t0) { - this.choice = t0; + MouseoverParams_MouseoverParams(helix_idx, offset, $forward) { + var t1 = new A.MouseoverParamsBuilder(); + type$.nullable_void_Function_MouseoverParamsBuilder._as(new A.MouseoverParams_MouseoverParams_closure(helix_idx, offset, $forward)).call$1(t1); + return t1._mouseover_data$_build$0(); }, - LocalStorageDesignChoiceSetBuilder: function LocalStorageDesignChoiceSetBuilder() { - this._choice = this._$v = null; + MouseoverData_from_params(design, params) { + var t1, domain_in_direction, t2, helix_idx, offset, $forward, color_forward, roll_forward, t3, color_reverse, num_domains_found, strand_idx, domain_in_direction0, t4, t5, color_forward0, + mouseover_datas_builder = A._setArrayType([], type$.JSArray_MouseoverData); + for (t1 = params._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), domain_in_direction = null; t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + helix_idx = t2.helix_idx; + offset = t2.offset; + $forward = t2.forward; + color_forward = $.$get$color_forward_rotation_arrow_no_strand(); + t2 = design.helices._map$_map.$index(0, helix_idx); + t2.toString; + roll_forward = design.helix_rotation_forward$2(t2.idx, offset); + for (t3 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0, strand_idx = -1; t3.moveNext$0();) { + domain_in_direction0 = t3.get$current(t3); + if (domain_in_direction0.start <= offset && offset < domain_in_direction0.end) { + t4 = domain_in_direction0.forward; + if (t4 === $forward) { + strand_idx = design.idx_on_strand$1(new A._$Address(helix_idx, offset, $forward)); + domain_in_direction = domain_in_direction0; + } + ++num_domains_found; + t5 = design.__substrand_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t5); + } + t5 = t5._map$_map.$index(0, domain_in_direction0); + t5.toString; + color_forward0 = t5.color; + if (t4) + color_forward = color_forward0; + else + color_reverse = color_forward0; + } + if (num_domains_found >= 2) + break; + } + B.JSArray_methods.add$1(mouseover_datas_builder, A.MouseoverData_MouseoverData(t2, offset, strand_idx, domain_in_direction, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); + } + return mouseover_datas_builder; }, - _$ResetLocalStorage: function _$ResetLocalStorage() { + MouseoverData_MouseoverData(helix, offset, strand_idx, domain, color_forward, color_reverse, roll_forward, minor_groove_angle) { + var t1 = new A.MouseoverDataBuilder(); + type$.nullable_void_Function_MouseoverDataBuilder._as(new A.MouseoverData_MouseoverData_closure(helix, domain, offset, strand_idx, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); + return t1._mouseover_data$_build$0(); }, - _$ClearHelixSelectionWhenLoadingNewDesignSet: function _$ClearHelixSelectionWhenLoadingNewDesignSet(t0) { - this.clear = t0; + MouseoverParams: function MouseoverParams() { }, - ClearHelixSelectionWhenLoadingNewDesignSetBuilder: function ClearHelixSelectionWhenLoadingNewDesignSetBuilder() { - this._clear = this._$v = null; + MouseoverParams_MouseoverParams_closure: function MouseoverParams_MouseoverParams_closure(t0, t1, t2) { + this.helix_idx = t0; + this.offset = t1; + this.forward = t2; }, - _$EditModeToggle: function _$EditModeToggle(t0) { - this.mode = t0; + MouseoverData: function MouseoverData() { }, - EditModeToggleBuilder: function EditModeToggleBuilder() { - this._mode = this._$v = null; + MouseoverData_MouseoverData_closure: function MouseoverData_MouseoverData_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.helix = t0; + _.domain = t1; + _.offset = t2; + _.strand_idx = t3; + _.color_forward = t4; + _.color_reverse = t5; + _.roll_forward = t6; + _.minor_groove_angle = t7; }, - _$EditModesSet: function _$EditModesSet(t0) { - this.edit_modes = t0; + _$MouseoverParamsSerializer: function _$MouseoverParamsSerializer() { }, - EditModesSetBuilder: function EditModesSetBuilder() { - this._actions$_edit_modes = this._$v = null; + _$MouseoverDataSerializer: function _$MouseoverDataSerializer() { }, - _$SelectModeToggle: function _$SelectModeToggle(t0) { - this.select_mode_choice = t0; + _$MouseoverParams: function _$MouseoverParams(t0, t1, t2) { + var _ = this; + _.helix_idx = t0; + _.offset = t1; + _.forward = t2; + _._mouseover_data$__hashCode = null; }, - SelectModeToggleBuilder: function SelectModeToggleBuilder() { - this._select_mode_choice = this._$v = null; + MouseoverParamsBuilder: function MouseoverParamsBuilder() { + var _ = this; + _._mouseover_data$_forward = _._mouseover_data$_offset = _._mouseover_data$_helix_idx = _._mouseover_data$_$v = null; }, - _$SelectModesAdd: function _$SelectModesAdd(t0) { - this.modes = t0; + _$MouseoverData: function _$MouseoverData(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; + _.strand_idx = t6; + _.domain = t7; + _._mouseover_data$__hashCode = null; }, - SelectModesAddBuilder: function SelectModesAddBuilder() { - this._actions$_modes = this._$v = null; + MouseoverDataBuilder: function MouseoverDataBuilder() { + var _ = this; + _._domain = _._strand_idx = _._mouseover_data$_minor_groove_angle = _._roll_forward = _._color_reverse = _._color_forward = _._mouseover_data$_offset = _._mouseover_data$_helix = _._mouseover_data$_$v = null; }, - _$SelectModesSet: function _$SelectModesSet(t0) { - this.select_mode_choices = t0; + _MouseoverData_Object_BuiltJsonSerializable: function _MouseoverData_Object_BuiltJsonSerializable() { }, - SelectModesSetBuilder: function SelectModesSetBuilder() { - this._select_mode_choices = this._$v = null; + _MouseoverParams_Object_BuiltJsonSerializable: function _MouseoverParams_Object_BuiltJsonSerializable() { }, - _$StrandNameSet: function _$StrandNameSet(t0, t1) { - this.name = t0; - this.strand = t1; - this._actions$__hashCode = null; + Position3D_Position3D$from_json(map) { + var t2, t3, t4, + t1 = J.getInterceptor$x(map); + if (t1.containsKey$1(map, "x") && t1.containsKey$1(map, "y") && t1.containsKey$1(map, "z")) { + t2 = t1.$index(map, "x"); + t2.toString; + A._asDoubleS(t2); + t3 = t1.$index(map, "y"); + t3.toString; + A._asDoubleS(t3); + t1 = t1.$index(map, "z"); + t1.toString; + return A.Position3D_Position3D(t2, t3, A._asDoubleS(t1)); + } else if (t1.containsKey$1(map, "origin")) { + t1 = t1.$index(map, "origin"); + t1.toString; + type$.Map_String_dynamic._as(t1); + t2 = J.getInterceptor$asx(t1); + t3 = t2.$index(t1, "x"); + t3.toString; + A._asDoubleS(t3); + t4 = t2.$index(t1, "y"); + t4.toString; + A._asDoubleS(t4); + t1 = t2.$index(t1, "z"); + t1.toString; + return A.Position3D_Position3D(t3, t4, A._asDoubleS(t1)); + } else + throw A.wrapException(A.AssertionError$('Position3D.from_json: map must contain "x", "y", and "z" keys, or "origin" key')); }, - StrandNameSetBuilder: function StrandNameSetBuilder() { - this._strand = this._actions$_name = this._$v = null; + Position3D_get_position_from_helix_json_map(helix_map) { + var map, + _s8_ = "position", + t1 = J.getInterceptor$x(helix_map); + if (t1.containsKey$1(helix_map, _s8_)) { + t1 = t1.$index(helix_map, _s8_); + t1.toString; + type$.Map_String_dynamic._as(t1); + map = t1; + } else + map = helix_map; + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, "origin")) + t1 = t1.containsKey$1(map, "x") && t1.containsKey$1(map, "y") && t1.containsKey$1(map, "z"); + else + t1 = true; + if (t1) + return A.Position3D_Position3D$from_json(map); + else + return null; }, - _$StrandLabelSet: function _$StrandLabelSet(t0, t1) { - this.label = t0; - this.strand = t1; - this._actions$__hashCode = null; + Position3D_Position3D(x, y, z) { + var t1 = new A.Position3DBuilder(); + type$.nullable_void_Function_Position3DBuilder._as(new A.Position3D_Position3D_closure(x, y, z)).call$1(t1); + return t1._position3d$_build$0(); }, - StrandLabelSetBuilder: function StrandLabelSetBuilder() { - this._strand = this._actions$_label = this._$v = null; + Position3D: function Position3D() { }, - _$SubstrandNameSet: function _$SubstrandNameSet(t0, t1) { - this.name = t0; - this.substrand = t1; - this._actions$__hashCode = null; + Position3D_Position3D_closure: function Position3D_Position3D_closure(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.z = t2; }, - SubstrandNameSetBuilder: function SubstrandNameSetBuilder() { - this._substrand = this._actions$_name = this._$v = null; + _$Position3DSerializer: function _$Position3DSerializer() { }, - _$SubstrandLabelSet: function _$SubstrandLabelSet(t0, t1) { - this.label = t0; - this.substrand = t1; - this._actions$__hashCode = null; + _$Position3D: function _$Position3D(t0, t1, t2) { + var _ = this; + _.x = t0; + _.y = t1; + _.z = t2; + _._position3d$__hashCode = null; }, - SubstrandLabelSetBuilder: function SubstrandLabelSetBuilder() { - this._substrand = this._actions$_label = this._$v = null; + Position3DBuilder: function Position3DBuilder() { + var _ = this; + _._z = _._y = _._x = _._position3d$_$v = null; }, - _$SetAppUIStateStorable: function _$SetAppUIStateStorable(t0) { - this.storables = t0; + _Position3D_Object_BuiltJsonSerializable: function _Position3D_Object_BuiltJsonSerializable() { }, - SetAppUIStateStorableBuilder: function SetAppUIStateStorableBuilder() { - this._actions$_storables = this._$v = null; + PotentialCrossover_PotentialCrossover(address, color, current_point, dna_end_first_click, linker, start_point) { + var t1 = new A.PotentialCrossoverBuilder(); + type$.nullable_void_Function_PotentialCrossoverBuilder._as(new A.PotentialCrossover_PotentialCrossover_closure(address, color, dna_end_first_click, start_point, current_point, linker)).call$1(t1); + return t1._potential_crossover$_build$0(); }, - _$ShowDNASet: function _$ShowDNASet(t0) { - this.show = t0; + PotentialCrossover: function PotentialCrossover() { }, - ShowDNASetBuilder: function ShowDNASetBuilder() { - this._show = this._$v = null; + PotentialCrossover_PotentialCrossover_closure: function PotentialCrossover_PotentialCrossover_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.address = t0; + _.color = t1; + _.dna_end_first_click = t2; + _.start_point = t3; + _.current_point = t4; + _.linker = t5; }, - _$ShowDomainNamesSet: function _$ShowDomainNamesSet(t0) { - this.show = t0; + _$PotentialCrossoverSerializer: function _$PotentialCrossoverSerializer() { }, - ShowDomainNamesSetBuilder: function ShowDomainNamesSetBuilder() { - this._show = this._$v = null; + _$PotentialCrossover: function _$PotentialCrossover(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.address = t0; + _.color = t1; + _.dna_end_first_click = t2; + _.start_point = t3; + _.current_point = t4; + _.linker = t5; + _._potential_crossover$__hashCode = null; }, - _$ShowStrandNamesSet: function _$ShowStrandNamesSet(t0) { - this.show = t0; + PotentialCrossoverBuilder: function PotentialCrossoverBuilder() { + var _ = this; + _._linker = _._potential_crossover$_current_point = _._start_point = _._dna_end_first_click = _._potential_crossover$_color = _._address = _._potential_crossover$_$v = null; }, - ShowStrandNamesSetBuilder: function ShowStrandNamesSetBuilder() { - this._show = this._$v = null; + _PotentialCrossover_Object_BuiltJsonSerializable: function _PotentialCrossover_Object_BuiltJsonSerializable() { }, - _$ShowStrandLabelsSet: function _$ShowStrandLabelsSet(t0) { - this.show = t0; + _$PotentialVerticalCrossover$_(color, dna_end_bot, dna_end_top, domain_bot, domain_top, forward_top, helix_idx_bot, helix_idx_top, offset) { + var _s26_ = "PotentialVerticalCrossover", + t1 = type$.int; + A.BuiltValueNullFieldError_checkNotNull(helix_idx_top, _s26_, "helix_idx_top", t1); + A.BuiltValueNullFieldError_checkNotNull(helix_idx_bot, _s26_, "helix_idx_bot", t1); + A.BuiltValueNullFieldError_checkNotNull(offset, _s26_, "offset", t1); + A.BuiltValueNullFieldError_checkNotNull(forward_top, _s26_, "forward_top", type$.bool); + A.BuiltValueNullFieldError_checkNotNull(color, _s26_, "color", type$.String); + t1 = type$.Domain; + A.BuiltValueNullFieldError_checkNotNull(domain_top, _s26_, "domain_top", t1); + A.BuiltValueNullFieldError_checkNotNull(domain_bot, _s26_, "domain_bot", t1); + t1 = type$.DNAEnd; + A.BuiltValueNullFieldError_checkNotNull(dna_end_top, _s26_, "dna_end_top", t1); + A.BuiltValueNullFieldError_checkNotNull(dna_end_bot, _s26_, "dna_end_bot", t1); + return new A._$PotentialVerticalCrossover(helix_idx_top, helix_idx_bot, offset, forward_top, color, domain_top, domain_bot, dna_end_top, dna_end_bot); }, - ShowStrandLabelsSetBuilder: function ShowStrandLabelsSetBuilder() { - this._show = this._$v = null; + PotentialVerticalCrossover: function PotentialVerticalCrossover() { }, - _$ShowDomainLabelsSet: function _$ShowDomainLabelsSet(t0) { - this.show = t0; + _$PotentialVerticalCrossoverSerializer: function _$PotentialVerticalCrossoverSerializer() { }, - ShowDomainLabelsSetBuilder: function ShowDomainLabelsSetBuilder() { - this._show = this._$v = null; + _$PotentialVerticalCrossover: function _$PotentialVerticalCrossover(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.helix_idx_top = t0; + _.helix_idx_bot = t1; + _.offset = t2; + _.forward_top = t3; + _.color = t4; + _.domain_top = t5; + _.domain_bot = t6; + _.dna_end_top = t7; + _.dna_end_bot = t8; + _._potential_vertical_crossover$__hashCode = null; }, - _$ShowModificationsSet: function _$ShowModificationsSet(t0) { - this.show = t0; + PotentialVerticalCrossoverBuilder: function PotentialVerticalCrossoverBuilder() { + var _ = this; + _._dna_end_bot = _._dna_end_top = _._domain_bot = _._domain_top = _._potential_vertical_crossover$_color = _._forward_top = _._potential_vertical_crossover$_offset = _._helix_idx_bot = _._helix_idx_top = _._potential_vertical_crossover$_$v = null; }, - ShowModificationsSetBuilder: function ShowModificationsSetBuilder() { - this._show = this._$v = null; + _PotentialVerticalCrossover_Object_BuiltJsonSerializable: function _PotentialVerticalCrossover_Object_BuiltJsonSerializable() { }, - _$DomainNameFontSizeSet: function _$DomainNameFontSizeSet(t0) { - this.font_size = t0; - }, - DomainNameFontSizeSetBuilder: function DomainNameFontSizeSetBuilder() { - this._font_size = this._$v = null; - }, - _$DomainLabelFontSizeSet: function _$DomainLabelFontSizeSet(t0) { - this.font_size = t0; - }, - DomainLabelFontSizeSetBuilder: function DomainLabelFontSizeSetBuilder() { - this._font_size = this._$v = null; - }, - _$StrandNameFontSizeSet: function _$StrandNameFontSizeSet(t0) { - this.font_size = t0; + _$valueOf8($name) { + switch ($name) { + case "end_5p_strand": + return B.SelectModeChoice_end_5p_strand; + case "end_3p_strand": + return B.SelectModeChoice_end_3p_strand; + case "end_5p_domain": + return B.SelectModeChoice_end_5p_domain; + case "end_3p_domain": + return B.SelectModeChoice_end_3p_domain; + case "domain": + return B.SelectModeChoice_domain; + case "crossover": + return B.SelectModeChoice_crossover; + case "loopout": + return B.SelectModeChoice_loopout; + case "extension_": + return B.SelectModeChoice_extension_; + case "strand": + return B.SelectModeChoice_strand; + case "insertion": + return B.SelectModeChoice_insertion; + case "deletion": + return B.SelectModeChoice_deletion; + case "modification": + return B.SelectModeChoice_modification; + case "scaffold": + return B.SelectModeChoice_scaffold; + case "staple": + return B.SelectModeChoice_staple; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - StrandNameFontSizeSetBuilder: function StrandNameFontSizeSetBuilder() { - this._font_size = this._$v = null; + SelectModeChoice: function SelectModeChoice(t0) { + this.name = t0; }, - _$StrandLabelFontSizeSet: function _$StrandLabelFontSizeSet(t0) { - this.font_size = t0; + _$SelectModeChoiceSerializer: function _$SelectModeChoiceSerializer() { }, - StrandLabelFontSizeSetBuilder: function StrandLabelFontSizeSetBuilder() { - this._font_size = this._$v = null; + SelectModeState_add_selectable_css_selectors(mode) { }, - _$ModificationFontSizeSet: function _$ModificationFontSizeSet(t0) { - this.font_size = t0; + SelectModeState_remove_selectable_css_selectors(mode) { }, - ModificationFontSizeSetBuilder: function ModificationFontSizeSetBuilder() { - this._font_size = this._$v = null; + SelectModeStateBuilder$() { + var t1 = new A.SelectModeStateBuilder(), + t2 = type$.nullable_SetBuilder_SelectModeChoice._as(A.SetBuilder_SetBuilder([B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold], type$.SelectModeChoice)); + t1.get$_select_mode_state$_$this().set$_modes(t2); + return t1; }, - _$MajorTickOffsetFontSizeSet: function _$MajorTickOffsetFontSizeSet(t0) { - this.font_size = t0; + SelectModeState: function SelectModeState() { }, - MajorTickOffsetFontSizeSetBuilder: function MajorTickOffsetFontSizeSetBuilder() { - this._font_size = this._$v = null; + SelectModeState_add_mode_closure: function SelectModeState_add_mode_closure(t0, t1) { + this.$this = t0; + this.mode = t1; }, - _$MajorTickWidthFontSizeSet: function _$MajorTickWidthFontSizeSet(t0) { - this.font_size = t0; + SelectModeState_remove_mode_closure: function SelectModeState_remove_mode_closure(t0, t1) { + this.$this = t0; + this.mode = t1; }, - MajorTickWidthFontSizeSetBuilder: function MajorTickWidthFontSizeSetBuilder() { - this._font_size = this._$v = null; + SelectModeState_add_modes_closure: function SelectModeState_add_modes_closure(t0, t1) { + this.$this = t0; + this.new_modes = t1; }, - _$SetModificationDisplayConnector: function _$SetModificationDisplayConnector(t0) { - this.show = t0; + SelectModeState_remove_modes_closure: function SelectModeState_remove_modes_closure(t0, t1) { + this.$this = t0; + this.new_modes = t1; }, - SetModificationDisplayConnectorBuilder: function SetModificationDisplayConnectorBuilder() { - this._show = this._$v = null; + SelectModeState_set_modes_closure: function SelectModeState_set_modes_closure(t0) { + this.new_modes = t0; }, - _$ShowMismatchesSet: function _$ShowMismatchesSet(t0) { - this.show = t0; + _$SelectModeStateSerializer: function _$SelectModeStateSerializer() { }, - ShowMismatchesSetBuilder: function ShowMismatchesSetBuilder() { - this._show = this._$v = null; + _$SelectModeState: function _$SelectModeState(t0) { + var _ = this; + _.modes = t0; + _._select_mode_state$__hashCode = _.__modifications_selectable = _.__insertions_selectable = _.__deletions_selectable = _.__extensions_selectable = _.__domains_selectable = _.__ends_selectable = _.__linkers_selectable = _.__strands_selectable = null; }, - _$ShowDomainNameMismatchesSet: function _$ShowDomainNameMismatchesSet(t0) { - this.show_domain_name_mismatches = t0; + SelectModeStateBuilder: function SelectModeStateBuilder() { + this._modes = this._select_mode_state$_$v = null; }, - ShowDomainNameMismatchesSetBuilder: function ShowDomainNameMismatchesSetBuilder() { - this._actions$_show_domain_name_mismatches = this._$v = null; + end_type_selectable(end) { + var t2, _s5_ = "store", + t1 = end.is_5p; + if (t1) + if (end.substrand_is_first) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_5p_strand); + } else + t2 = false; + else + t2 = false; + if (!t2) { + if (t1) + if (!end.substrand_is_first) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_5p_domain); + } else + t2 = false; + else + t2 = false; + if (!t2) { + t1 = !t1; + if (t1) + if (end.substrand_is_last) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_3p_strand); + } else + t2 = false; + else + t2 = false; + if (!t2) + if (t1) + if (!end.substrand_is_last) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_3p_domain); + } else + t1 = false; + else + t1 = false; + else + t1 = true; + } else + t1 = true; + } else + t1 = true; + return t1; }, - _$ShowUnpairedInsertionDeletionsSet: function _$ShowUnpairedInsertionDeletionsSet(t0) { - this.show_unpaired_insertion_deletions = t0; + origami_type_selectable(selectable) { + var _s5_ = "store", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (!t1.get$state(t1).get$design().get$is_origami()) + return true; + if (selectable.get$is_scaffold()) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_scaffold); + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_staple); + } }, - ShowUnpairedInsertionDeletionsSetBuilder: function ShowUnpairedInsertionDeletionsSetBuilder() { - this._actions$_show_unpaired_insertion_deletions = this._$v = null; + ask_for_select_all_with_same_as_selected() { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, selected_strands, all_traits, t2, t3, t4, items, idx, trait, results, traits_for_selection, action, t1; + var $async$ask_for_select_all_with_same_as_selected = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + selected_strands = A.BuiltList_BuiltList$from(t1, t1.$ti._precomputed1); + if (selected_strands._list.length === 0) { + B.Window_methods.alert$1(window, "No strands are selected. Select at least one strand before choosing this option."); + // goto return + $async$goto = 1; + break; + } + t1 = type$.SelectableTrait; + all_traits = A.List_List$from($.$get$_$values4(), true, t1); + t2 = all_traits.length; + t3 = t2 + 1; + t4 = A.List_List$filled(t3, null, false, type$.nullable_DialogItem); + t3 = A.List_List$filled(t3, false, false, type$.bool); + items = new A.FixedList(t4, t3, type$.FixedList_DialogItem); + for (idx = 0; idx < t2; ++idx) { + trait = all_traits[idx]; + B.JSArray_methods.$indexSet(t4, idx, A.DialogCheckbox_DialogCheckbox(trait.get$description(trait), "", false)); + B.JSArray_methods.$indexSet(t3, idx, true); + } + items._util$_set$2(t2, A.DialogCheckbox_DialogCheckbox("(Exclude scaffold(s))", "If checked, then only strands that are not scaffolds will be selected. \nHowever, *currently* selected scaffold strands will remain selected.", false)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "Select all strands with same traits as currently selected strand(s)", B.DialogType_0i1, true)), $async$ask_for_select_all_with_same_as_selected); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + traits_for_selection = A._setArrayType([], type$.JSArray_SelectableTrait); + for (t3 = J.getInterceptor$asx(results), t4 = type$.DialogCheckbox, idx = 0; idx < t2; ++idx) { + trait = all_traits[idx]; + if (t4._as(t3.$index(results, idx)).value) + B.JSArray_methods.add$1(traits_for_selection, trait); + } + action = A._$SelectAllStrandsWithSameAsSelected$_(t4._as(t3.$index(results, t2)).value, selected_strands, A._BuiltList$of(traits_for_selection, t1)); + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_select_all_with_same_as_selected, $async$completer); }, - _$OxviewShowSet: function _$OxviewShowSet(t0) { - this.show = t0; + _$valueOf9($name) { + switch ($name) { + case "strand_name": + return B.SelectableTrait_strand_name; + case "strand_label": + return B.SelectableTrait_strand_label; + case "color": + return B.SelectableTrait_color; + case "modification_5p": + return B.SelectableTrait_modification_5p; + case "modification_3p": + return B.SelectableTrait_modification_3p; + case "modification_int": + return B.SelectableTrait_modification_int; + case "dna_sequence": + return B.SelectableTrait_dna_sequence; + case "vendor_fields": + return B.SelectableTrait_vendor_fields; + case "circular": + return B.SelectableTrait_circular; + case "helices": + return B.SelectableTrait_helices; + default: + throw A.wrapException(A.ArgumentError$($name, null)); + } }, - OxviewShowSetBuilder: function OxviewShowSetBuilder() { - this._show = this._$v = null; + _$SelectableDeletion$_(domain, is_scaffold, offset) { + var _s18_ = "SelectableDeletion"; + A.BuiltValueNullFieldError_checkNotNull(offset, _s18_, "offset", type$.int); + A.BuiltValueNullFieldError_checkNotNull(domain, _s18_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(is_scaffold, _s18_, "is_scaffold", type$.bool); + return new A._$SelectableDeletion(offset, domain, is_scaffold); }, - _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t0) { - this.show = t0; + _$SelectableInsertion$_(domain, insertion, is_scaffold) { + var _s19_ = "SelectableInsertion"; + A.BuiltValueNullFieldError_checkNotNull(insertion, _s19_, "insertion", type$.Insertion); + A.BuiltValueNullFieldError_checkNotNull(domain, _s19_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(is_scaffold, _s19_, "is_scaffold", type$.bool); + return new A._$SelectableInsertion(insertion, domain, is_scaffold); }, - SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder() { - this._show = this._$v = null; + _$SelectableModification5Prime$_(modification, strand) { + var _s28_ = "SelectableModification5Prime"; + A.BuiltValueNullFieldError_checkNotNull(modification, _s28_, "modification", type$.Modification5Prime); + A.BuiltValueNullFieldError_checkNotNull(strand, _s28_, "strand", type$.Strand); + return new A._$SelectableModification5Prime(modification, strand); }, - _$DisplayMajorTicksOffsetsSet: function _$DisplayMajorTicksOffsetsSet(t0) { - this.show = t0; + _$SelectableModification3Prime$_(modification, strand) { + var _s28_ = "SelectableModification3Prime"; + A.BuiltValueNullFieldError_checkNotNull(modification, _s28_, "modification", type$.Modification3Prime); + A.BuiltValueNullFieldError_checkNotNull(strand, _s28_, "strand", type$.Strand); + return new A._$SelectableModification3Prime(modification, strand); }, - DisplayMajorTicksOffsetsSetBuilder: function DisplayMajorTicksOffsetsSetBuilder() { - this._show = this._$v = null; + _$SelectableModificationInternal$_(dna_idx, domain, modification, strand) { + var _s30_ = "SelectableModificationInternal"; + A.BuiltValueNullFieldError_checkNotNull(modification, _s30_, "modification", type$.ModificationInternal); + A.BuiltValueNullFieldError_checkNotNull(strand, _s30_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(domain, _s30_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(dna_idx, _s30_, "dna_idx", type$.int); + return new A._$SelectableModificationInternal(modification, strand, domain, dna_idx); }, - _$SetDisplayMajorTickWidthsAllHelices: function _$SetDisplayMajorTickWidthsAllHelices(t0) { - this.show = t0; + SelectablesStore: function SelectablesStore() { }, - SetDisplayMajorTickWidthsAllHelicesBuilder: function SetDisplayMajorTickWidthsAllHelicesBuilder() { - this._show = this._$v = null; + SelectablesStore_selected_strands_closure: function SelectablesStore_selected_strands_closure() { }, - _$SetDisplayMajorTickWidths: function _$SetDisplayMajorTickWidths(t0) { - this.show = t0; + SelectablesStore_selected_crossovers_closure: function SelectablesStore_selected_crossovers_closure() { }, - SetDisplayMajorTickWidthsBuilder: function SetDisplayMajorTickWidthsBuilder() { - this._show = this._$v = null; + SelectablesStore_selected_loopouts_closure: function SelectablesStore_selected_loopouts_closure() { }, - _$SetOnlyDisplaySelectedHelices: function _$SetOnlyDisplaySelectedHelices(t0) { - this.only_display_selected_helices = t0; + SelectablesStore_selected_extensions_closure: function SelectablesStore_selected_extensions_closure() { }, - SetOnlyDisplaySelectedHelicesBuilder: function SetOnlyDisplaySelectedHelicesBuilder() { - this._actions$_only_display_selected_helices = this._$v = null; + SelectablesStore_selected_domains_closure: function SelectablesStore_selected_domains_closure() { }, - _$InvertYSet: function _$InvertYSet(t0) { - this.invert_y = t0; + SelectablesStore_selected_dna_ends_closure: function SelectablesStore_selected_dna_ends_closure() { }, - InvertYSetBuilder: function InvertYSetBuilder() { - this._actions$_invert_y = this._$v = null; + SelectablesStore_selected_dna_ends_on_domains_closure: function SelectablesStore_selected_dna_ends_on_domains_closure() { }, - _$DynamicHelixUpdateSet: function _$DynamicHelixUpdateSet(t0) { - this.dynamically_update_helices = t0; + SelectablesStore_selected_dna_ends_on_extensions_closure: function SelectablesStore_selected_dna_ends_on_extensions_closure() { }, - DynamicHelixUpdateSetBuilder: function DynamicHelixUpdateSetBuilder() { - this._actions$_dynamically_update_helices = this._$v = null; + SelectablesStore_selected_deletions_closure: function SelectablesStore_selected_deletions_closure() { }, - _$WarnOnExitIfUnsavedSet: function _$WarnOnExitIfUnsavedSet(t0) { - this.warn = t0; + SelectablesStore_selected_insertions_closure: function SelectablesStore_selected_insertions_closure() { }, - WarnOnExitIfUnsavedSetBuilder: function WarnOnExitIfUnsavedSetBuilder() { - this._warn = this._$v = null; + SelectablesStore_selected_modifications_closure: function SelectablesStore_selected_modifications_closure() { }, - _$LoadingDialogShow: function _$LoadingDialogShow() { + SelectablesStore_select_closure: function SelectablesStore_select_closure(t0) { + this.selected_items_builder = t0; }, - _$LoadingDialogHide: function _$LoadingDialogHide() { + SelectablesStore_unselect_closure: function SelectablesStore_unselect_closure(t0) { + this.selected_items_builder = t0; }, - _$CopySelectedStandsToClipboardImage: function _$CopySelectedStandsToClipboardImage() { + SelectablesStore_clear_closure: function SelectablesStore_clear_closure() { }, - CopySelectedStandsToClipboardImageBuilder: function CopySelectedStandsToClipboardImageBuilder() { - this._$v = null; + SelectablesStore_select_all_closure: function SelectablesStore_select_all_closure(t0) { + this.selected_items_builder = t0; }, - _$SaveDNAFile: function _$SaveDNAFile() { + SelectablesStore_toggle_all_closure: function SelectablesStore_toggle_all_closure(t0) { + this.selected_items_builder = t0; }, - SaveDNAFileBuilder: function SaveDNAFileBuilder() { - this._$v = null; + SelectableDeletion: function SelectableDeletion() { }, - _$LoadDNAFile: function _$LoadDNAFile(t0, t1, t2, t3, t4) { - var _ = this; - _.content = t0; - _.write_local_storage = t1; - _.unit_testing = t2; - _.dna_file_type = t3; - _.filename = t4; + SelectableInsertion: function SelectableInsertion() { }, - LoadDNAFileBuilder: function LoadDNAFileBuilder() { - var _ = this; - _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; + SelectableModification: function SelectableModification() { }, - _$PrepareToLoadDNAFile: function _$PrepareToLoadDNAFile(t0, t1, t2, t3, t4) { - var _ = this; - _.content = t0; - _.write_local_storage = t1; - _.unit_testing = t2; - _.dna_file_type = t3; - _.filename = t4; + SelectableModification5Prime: function SelectableModification5Prime() { }, - PrepareToLoadDNAFileBuilder: function PrepareToLoadDNAFileBuilder() { - var _ = this; - _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; + SelectableModification3Prime: function SelectableModification3Prime() { }, - _$NewDesignSet: function _$NewDesignSet(t0, t1) { - this.design = t0; - this.short_description_value = t1; + SelectableModificationInternal: function SelectableModificationInternal() { }, - NewDesignSetBuilder: function NewDesignSetBuilder() { - this._short_description_value = this._actions$_design = this._$v = null; + SelectableMixin: function SelectableMixin() { }, - _$ExportCadnanoFile: function _$ExportCadnanoFile(t0) { - this.whitespace = t0; - this._actions$__hashCode = null; + SelectableTrait: function SelectableTrait(t0) { + this.name = t0; }, - ExportCadnanoFileBuilder: function ExportCadnanoFileBuilder() { - this._whitespace = this._$v = null; + _$SelectablesStoreSerializer: function _$SelectablesStoreSerializer() { }, - _$ExportCodenanoFile: function _$ExportCodenanoFile() { + _$SelectableDeletionSerializer: function _$SelectableDeletionSerializer() { }, - _$ShowMouseoverDataSet: function _$ShowMouseoverDataSet(t0) { - this.show = t0; + _$SelectableInsertionSerializer: function _$SelectableInsertionSerializer() { }, - ShowMouseoverDataSetBuilder: function ShowMouseoverDataSetBuilder() { - this._show = this._$v = null; + _$SelectableModification5PrimeSerializer: function _$SelectableModification5PrimeSerializer() { }, - _$MouseoverDataClear: function _$MouseoverDataClear() { + _$SelectableModification3PrimeSerializer: function _$SelectableModification3PrimeSerializer() { }, - MouseoverDataClearBuilder: function MouseoverDataClearBuilder() { - this._$v = null; + _$SelectableModificationInternalSerializer: function _$SelectableModificationInternalSerializer() { }, - _$MouseoverDataUpdate: function _$MouseoverDataUpdate(t0) { - this.mouseover_params = t0; + _$SelectableTraitSerializer: function _$SelectableTraitSerializer() { }, - MouseoverDataUpdateBuilder: function MouseoverDataUpdateBuilder() { - this._mouseover_params = this._$v = null; + _$SelectablesStore: function _$SelectablesStore(t0) { + var _ = this; + _.selected_items = t0; + _._selectable$__hashCode = _.__selected_modifications = _.__selected_insertions = _.__selected_deletions = _.__selected_dna_ends_on_extensions = _.__selected_dna_ends_on_domains = _.__selected_dna_ends = _.__selected_domains = _.__selected_extensions = _.__selected_loopouts = _.__selected_crossovers = _.__selected_strands = null; }, - _$HelixRollSet: function _$HelixRollSet(t0, t1) { - this.helix_idx = t0; - this.roll = t1; + SelectablesStoreBuilder: function SelectablesStoreBuilder() { + this._selected_items = this._selectable$_$v = null; }, - HelixRollSetBuilder: function HelixRollSetBuilder() { - this._actions$_roll = this._actions$_helix_idx = this._$v = null; + _$SelectableDeletion: function _$SelectableDeletion(t0, t1, t2) { + var _ = this; + _.offset = t0; + _.domain = t1; + _.is_scaffold = t2; + _._selectable$__hashCode = _._selectable$__id = _._selectable$__select_mode = null; }, - _$HelixRollSetAtOther: function _$HelixRollSetAtOther(t0, t1, t2, t3) { + SelectableDeletionBuilder: function SelectableDeletionBuilder() { var _ = this; - _.helix_idx = t0; - _.helix_other_idx = t1; - _.forward = t2; - _.anchor = t3; + _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_offset = _._selectable$_$v = null; }, - HelixRollSetAtOtherBuilder: function HelixRollSetAtOtherBuilder() { + _$SelectableInsertion: function _$SelectableInsertion(t0, t1, t2) { var _ = this; - _._anchor = _._actions$_forward = _._helix_other_idx = _._actions$_helix_idx = _._$v = null; + _.insertion = t0; + _.domain = t1; + _.is_scaffold = t2; + _._selectable$__hashCode = _.__id_group = _._selectable$__id = _._selectable$__select_mode = null; }, - _$RelaxHelixRolls: function _$RelaxHelixRolls(t0) { - this.only_selected = t0; + SelectableInsertionBuilder: function SelectableInsertionBuilder() { + var _ = this; + _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_insertion = _._selectable$_$v = null; }, - RelaxHelixRollsBuilder: function RelaxHelixRollsBuilder() { - this._only_selected = this._$v = null; + _$SelectableModification5Prime: function _$SelectableModification5Prime(t0, t1) { + var _ = this; + _.modification = t0; + _.strand = t1; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; }, - _$ErrorMessageSet: function _$ErrorMessageSet(t0) { - this.error_message = t0; + SelectableModification5PrimeBuilder: function SelectableModification5PrimeBuilder() { + this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; }, - ErrorMessageSetBuilder: function ErrorMessageSetBuilder() { - this._actions$_error_message = this._$v = null; + _$SelectableModification3Prime: function _$SelectableModification3Prime(t0, t1) { + var _ = this; + _.modification = t0; + _.strand = t1; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; }, - _$SelectionBoxCreate: function _$SelectionBoxCreate(t0, t1, t2) { - this.point = t0; - this.toggle = t1; - this.is_main = t2; + SelectableModification3PrimeBuilder: function SelectableModification3PrimeBuilder() { + this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; }, - SelectionBoxCreateBuilder: function SelectionBoxCreateBuilder() { + _$SelectableModificationInternal: function _$SelectableModificationInternal(t0, t1, t2, t3) { var _ = this; - _._actions$_is_main = _._actions$_toggle = _._point = _._$v = null; + _.modification = t0; + _.strand = t1; + _.domain = t2; + _.dna_idx = t3; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; }, - _$SelectionBoxSizeChange: function _$SelectionBoxSizeChange(t0, t1) { - this.point = t0; - this.is_main = t1; + SelectableModificationInternalBuilder: function SelectableModificationInternalBuilder() { + var _ = this; + _._dna_idx = _._selectable$_domain = _._selectable$_strand = _._selectable$_modification = _._selectable$_$v = null; }, - SelectionBoxSizeChangeBuilder: function SelectionBoxSizeChangeBuilder() { - this._actions$_is_main = this._point = this._$v = null; + _SelectableDeletion_Object_SelectableMixin: function _SelectableDeletion_Object_SelectableMixin() { }, - _$SelectionBoxRemove: function _$SelectionBoxRemove(t0) { - this.is_main = t0; + _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable() { }, - SelectionBoxRemoveBuilder: function SelectionBoxRemoveBuilder() { - this._actions$_is_main = this._$v = null; + _SelectableInsertion_Object_SelectableMixin: function _SelectableInsertion_Object_SelectableMixin() { }, - _$SelectionRopeCreate: function _$SelectionRopeCreate(t0) { - this.toggle = t0; - this._actions$__hashCode = null; + _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable() { }, - SelectionRopeCreateBuilder: function SelectionRopeCreateBuilder() { - this._actions$_toggle = this._$v = null; + _SelectableModification3Prime_Object_SelectableModification: function _SelectableModification3Prime_Object_SelectableModification() { }, - _$SelectionRopeMouseMove: function _$SelectionRopeMouseMove(t0, t1) { - this.point = t0; - this.is_main_view = t1; - this._actions$__hashCode = null; + _SelectableModification3Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin() { }, - SelectionRopeMouseMoveBuilder: function SelectionRopeMouseMoveBuilder() { - this._is_main_view = this._point = this._$v = null; + _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { }, - _$SelectionRopeAddPoint: function _$SelectionRopeAddPoint(t0, t1) { - this.point = t0; - this.is_main_view = t1; - this._actions$__hashCode = null; + _SelectableModification5Prime_Object_SelectableModification: function _SelectableModification5Prime_Object_SelectableModification() { }, - SelectionRopeAddPointBuilder: function SelectionRopeAddPointBuilder() { - this._is_main_view = this._point = this._$v = null; + _SelectableModification5Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin() { }, - _$SelectionRopeRemove: function _$SelectionRopeRemove() { + _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { }, - _$MouseGridPositionSideUpdate: function _$MouseGridPositionSideUpdate(t0) { - this.grid_position = t0; + _SelectableModificationInternal_Object_SelectableModification: function _SelectableModificationInternal_Object_SelectableModification() { }, - MouseGridPositionSideUpdateBuilder: function MouseGridPositionSideUpdateBuilder() { - this._actions$_grid_position = this._$v = null; + _SelectableModificationInternal_Object_SelectableModification_SelectableMixin: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin() { }, - _$MouseGridPositionSideClear: function _$MouseGridPositionSideClear() { + _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { }, - MouseGridPositionSideClearBuilder: function MouseGridPositionSideClearBuilder() { - this._$v = null; + _SelectablesStore_Object_BuiltJsonSerializable: function _SelectablesStore_Object_BuiltJsonSerializable() { }, - _$MousePositionSideUpdate: function _$MousePositionSideUpdate(t0) { - this.svg_pos = t0; + SelectionBox_SelectionBox(start, toggle, is_main) { + var t1 = new A.SelectionBoxBuilder(); + type$.nullable_void_Function_SelectionBoxBuilder._as(new A.SelectionBox_SelectionBox_closure(start, toggle, is_main)).call$1(t1); + return t1._selection_box$_build$0(); }, - MousePositionSideUpdateBuilder: function MousePositionSideUpdateBuilder() { - this._svg_pos = this._$v = null; + SelectionBox: function SelectionBox() { }, - _$MousePositionSideClear: function _$MousePositionSideClear() { + SelectionBox_SelectionBox_closure: function SelectionBox_SelectionBox_closure(t0, t1, t2) { + this.start = t0; + this.toggle = t1; + this.is_main = t2; }, - MousePositionSideClearBuilder: function MousePositionSideClearBuilder() { - this._$v = null; + _$SelectionBoxSerializer: function _$SelectionBoxSerializer() { }, - _$GeometrySet: function _$GeometrySet(t0) { - this.geometry = t0; + _$SelectionBox: function _$SelectionBox(t0, t1, t2, t3) { + var _ = this; + _.start = t0; + _.current = t1; + _.toggle = t2; + _.is_main = t3; + _._selection_box$__hashCode = null; }, - GeometrySetBuilder: function GeometrySetBuilder() { - this._actions$_geometry = this._$v = null; + SelectionBoxBuilder: function SelectionBoxBuilder() { + var _ = this; + _._selection_box$_is_main = _._selection_box$_toggle = _._selection_box$_current = _._selection_box$_start = _._selection_box$_$v = null; }, - _$SelectionBoxIntersectionRuleSet: function _$SelectionBoxIntersectionRuleSet(t0) { - this.intersect = t0; - this._actions$__hashCode = null; + _SelectionBox_Object_BuiltJsonSerializable: function _SelectionBox_Object_BuiltJsonSerializable() { }, - SelectionBoxIntersectionRuleSetBuilder: function SelectionBoxIntersectionRuleSetBuilder() { - this._intersect = this._$v = null; + SelectionRope_SelectionRope(toggle) { + var t1 = new A.SelectionRopeBuilder(); + type$.nullable_void_Function_SelectionRopeBuilder._as(new A.SelectionRope_SelectionRope_closure(toggle)).call$1(t1); + return t1._selection_rope$_build$0(); }, - _$Select: function _$Select(t0, t1, t2) { - this.selectable = t0; - this.toggle = t1; - this.only = t2; + Line_Line(p1, p2) { + var t1 = new A.LineBuilder(); + type$.nullable_void_Function_LineBuilder._as(new A.Line_Line_closure(p1, p2)).call$1(t1); + return t1._selection_rope$_build$0(); }, - SelectBuilder: function SelectBuilder() { - var _ = this; - _._only = _._actions$_toggle = _._selectable = _._$v = null; + Line_orientation(a, b, c) { + var t3, t4, t5, t6, val, + t1 = b.y, + t2 = a.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + t3 = c.x; + t4 = b.x; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + t5 = a.x; + if (typeof t5 !== "number") + return A.iae(t5); + t6 = c.y; + if (typeof t6 !== "number") + return t6.$sub(); + val = (t1 - t2) * (t3 - t4) - (t4 - t5) * (t6 - t1); + if (val === 0) + return B.Orientation_0; + else if (val < 0) + return B.Orientation_1; + else + return B.Orientation_2; }, - _$SelectionsClear: function _$SelectionsClear() { + vectors_point_same_direction(v1, v2) { + var t3, t4, + t1 = v1.x, + t2 = v2.x; + if (typeof t1 !== "number") + return t1.$mul(); + if (typeof t2 !== "number") + return A.iae(t2); + t3 = v1.y; + t4 = v2.y; + if (typeof t3 !== "number") + return t3.$mul(); + if (typeof t4 !== "number") + return A.iae(t4); + return t1 * t2 + t3 * t4 > 0; }, - SelectionsClearBuilder: function SelectionsClearBuilder() { - this._$v = null; + SelectionRope: function SelectionRope() { }, - _$SelectionsAdjustMainView: function _$SelectionsAdjustMainView(t0, t1) { + SelectionRope_SelectionRope_closure: function SelectionRope_SelectionRope_closure(t0) { this.toggle = t0; - this.box = t1; }, - SelectionsAdjustMainViewBuilder: function SelectionsAdjustMainViewBuilder() { - this._box = this._actions$_toggle = this._$v = null; + Line: function Line() { }, - _$SelectOrToggleItems: function _$SelectOrToggleItems(t0, t1) { - this.items = t0; - this.toggle = t1; + Line_Line_closure: function Line_Line_closure(t0, t1) { + this.p1 = t0; + this.p2 = t1; }, - SelectOrToggleItemsBuilder: function SelectOrToggleItemsBuilder() { - this._actions$_toggle = this._actions$_items = this._$v = null; + Orientation: function Orientation(t0) { + this._core$_name = t0; }, - _$SelectAll: function _$SelectAll(t0, t1) { - this.selectables = t0; - this.only = t1; - }, - SelectAllBuilder: function SelectAllBuilder() { - this._only = this._selectables = this._$v = null; - }, - _$SelectAllSelectable: function _$SelectAllSelectable(t0) { - this.current_helix_group_only = t0; - }, - SelectAllSelectableBuilder: function SelectAllSelectableBuilder() { - this._current_helix_group_only = this._$v = null; + _$SelectionRopeSerializer: function _$SelectionRopeSerializer() { }, - _$SelectAllWithSameAsSelected: function _$SelectAllWithSameAsSelected(t0, t1, t2) { - this.templates = t0; - this.traits = t1; - this.exclude_scaffolds = t2; + _$LineSerializer: function _$LineSerializer() { }, - SelectAllWithSameAsSelectedBuilder: function SelectAllWithSameAsSelectedBuilder() { + _$SelectionRope: function _$SelectionRope(t0, t1, t2, t3) { var _ = this; - _._exclude_scaffolds = _._traits = _._templates = _._$v = null; - }, - _$DeleteAllSelected: function _$DeleteAllSelected() { - }, - DeleteAllSelectedBuilder: function DeleteAllSelectedBuilder() { - this._$v = null; - }, - _$HelixAdd: function _$HelixAdd(t0, t1) { - this.grid_position = t0; - this.position = t1; - }, - HelixAddBuilder: function HelixAddBuilder() { - this._actions$_position = this._actions$_grid_position = this._$v = null; + _.toggle = t0; + _.points = t1; + _.current_point = t2; + _.is_main = t3; + _._selection_rope$__hashCode = _.__lines_without_first = _.__lines_without_last = _.__lines = null; }, - _$HelixRemove: function _$HelixRemove(t0) { - this.helix_idx = t0; + SelectionRopeBuilder: function SelectionRopeBuilder() { + var _ = this; + _._is_main = _._current_point = _._points = _._toggle = _._selection_rope$_$v = null; }, - HelixRemoveBuilder: function HelixRemoveBuilder() { - this._actions$_helix_idx = this._$v = null; + _$Line: function _$Line(t0, t1) { + this.p1 = t0; + this.p2 = t1; + this._selection_rope$__hashCode = null; }, - _$HelixRemoveAllSelected: function _$HelixRemoveAllSelected() { + LineBuilder: function LineBuilder() { + this._p2 = this._p1 = this._selection_rope$_$v = null; }, - HelixRemoveAllSelectedBuilder: function HelixRemoveAllSelectedBuilder() { - this._$v = null; + _Line_Object_BuiltJsonSerializable: function _Line_Object_BuiltJsonSerializable() { }, - _$HelixSelect: function _$HelixSelect(t0, t1) { - this.helix_idx = t0; - this.toggle = t1; + _SelectionRope_Object_BuiltJsonSerializable: function _SelectionRope_Object_BuiltJsonSerializable() { }, - HelixSelectBuilder: function HelixSelectBuilder() { - this._actions$_toggle = this._actions$_helix_idx = this._$v = null; + Strand_Strand(substrands, circular, color, dna_sequence, is_scaffold, label, modification_3p, modification_5p, modifications_int, $name, vendor_fields) { + var t2, strand, t1 = {}; + t1.color = color; + if (color == null) + t1.color = A.boolConversionCheck(is_scaffold) ? $.$get$scaffold_color() : $.$get$color_cycler().next$0(0); + t2 = new A.StrandBuilder(); + type$.nullable_void_Function_StrandBuilder._as(new A.Strand_Strand_closure(t1, circular, substrands, vendor_fields, modification_5p, modification_3p, modifications_int, is_scaffold, $name, label)).call$1(t2); + strand = t2._strand$_build$0(); + return (dna_sequence != null ? strand.set_dna_sequence$1(dna_sequence) : strand).initialize$0(0); }, - _$HelixSelectionsClear: function _$HelixSelectionsClear() { + Strand__finalizeBuilder(builder) { + var first_ss, first_dom, t2, t3, id, t4, t5, t6, t7, t8, t9, i, t10, t11, substrand, t12, loopout, t13, t14, _null = null, _s5_ = "_list", + _s12_ = "null element", + t1 = builder.get$substrands().__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI(_s5_); + first_ss = B.JSArray_methods.get$first(t1); + if (first_ss instanceof A.Domain) + first_dom = first_ss; + else { + t1 = builder.get$substrands().__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI(_s5_); + if (1 >= t1.length) + return A.ioore(t1, 1); + first_dom = type$.Domain._as(t1[1]); + } + t1 = first_dom.helix; + t2 = first_dom.get$offset_5p(); + t3 = first_dom.forward ? "forward" : "reverse"; + id = "strand-H" + t1 + "-" + t2 + "-" + t3; + t1 = type$.nullable_void_Function_ExtensionBuilder; + t2 = type$.void_Function_ExtensionBuilder; + t3 = type$.Substrand; + t4 = type$.List_Substrand; + t5 = type$.ListBuilder_Substrand; + t6 = type$.nullable_void_Function_LoopoutBuilder; + t7 = type$.void_Function_LoopoutBuilder; + t8 = type$.nullable_void_Function_DomainBuilder; + t9 = type$.void_Function_DomainBuilder; + i = 0; + while (true) { + t10 = builder.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t5); + t11.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t10 = t10.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + if (!(i < t10.length)) + break; + t10 = builder.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t5); + t11.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t10 = t10.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + if (!(i < t10.length)) + return A.ioore(t10, i); + substrand = t10[i]; + t10 = substrand instanceof A.Loopout; + if (t10) { + if (substrand.prev_domain_idx === i - 1) { + t11 = substrand.__next_domain_idx; + if (t11 == null) + t11 = substrand.__next_domain_idx = A.Loopout.prototype.get$next_domain_idx.call(substrand); + t11 = t11 !== i + 1; + } else + t11 = true; + if (t11) { + t11 = t7._as(new A.Strand__finalizeBuilder_closure(i)); + t12 = new A.LoopoutBuilder(); + t12._loopout$_$v = substrand; + t6._as(t11).call$1(t12); + loopout = t12._loopout$_build$0(); + t11 = builder.get$_strand$_$this(); + t12 = t11._substrands; + if (t12 == null) { + t12 = new A.ListBuilder(t5); + t12.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t12.set$_listOwner(_null); + t11.set$_substrands(t12); + t11 = t12; + } else + t11 = t12; + t12 = t11.$ti; + t13 = t12._precomputed1; + t13._as(loopout); + if (!$.$get$isSoundMode() && !t13._is(null)) + if (loopout == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (t11._listOwner != null) { + t14 = t11.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + t11.set$__ListBuilder__list_A(t12._eval$1("List<1>")._as(A.List_List$from(t14, true, t13))); + t11.set$_listOwner(_null); + } + t11 = t11.__ListBuilder__list_A; + t11 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t11, i, loopout); + } + } + if (substrand instanceof A.Domain) { + t10 = builder.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t5); + t11.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t11 = t9._as(new A.Strand__finalizeBuilder_closure0(id)); + t12 = new A.DomainBuilder(); + t12._domain$_$v = substrand; + t8._as(t11).call$1(t12); + t11 = t10.$ti; + t13 = t11._precomputed1; + t12 = t13._as(t12._domain$_build$0()); + if (!$.$get$isSoundMode() && !t13._is(null)) + if (t12 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (t10._listOwner != null) { + t14 = t10.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + t10.set$__ListBuilder__list_A(t11._eval$1("List<1>")._as(A.List_List$from(t14, true, t13))); + t10.set$_listOwner(_null); + } + t10 = t10.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t10, i, t12); + } else if (t10) { + t10 = builder.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t5); + t11.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t11 = t7._as(new A.Strand__finalizeBuilder_closure1(id)); + t12 = new A.LoopoutBuilder(); + t12._loopout$_$v = substrand; + t6._as(t11).call$1(t12); + t11 = t10.$ti; + t13 = t11._precomputed1; + t12 = t13._as(t12._loopout$_build$0()); + if (!$.$get$isSoundMode() && !t13._is(null)) + if (t12 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (t10._listOwner != null) { + t14 = t10.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + t10.set$__ListBuilder__list_A(t11._eval$1("List<1>")._as(A.List_List$from(t14, true, t13))); + t10.set$_listOwner(_null); + } + t10 = t10.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t10, i, t12); + } else if (substrand instanceof A.Extension) { + t10 = builder.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t5); + t11.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t11 = t2._as(new A.Strand__finalizeBuilder_closure2(id)); + t12 = new A.ExtensionBuilder(); + t12._extension$_$v = substrand; + t1._as(t11).call$1(t12); + t11 = t10.$ti; + t13 = t11._precomputed1; + t12 = t13._as(t12._extension$_build$0()); + if (!$.$get$isSoundMode() && !t13._is(null)) + if (t12 == null) + A.throwExpression(A.ArgumentError$(_s12_, _null)); + if (t10._listOwner != null) { + t14 = t10.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + t10.set$__ListBuilder__list_A(t11._eval$1("List<1>")._as(A.List_List$from(t14, true, t13))); + t10.set$_listOwner(_null); + } + t10 = t10.__ListBuilder__list_A; + t10 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t10, i, t12); + } else + throw A.wrapException(A.AssertionError$("substrand " + i + " should be Domain, Loopout, or Extension, but is " + A.S(substrand))); + ++i; + } }, - HelixSelectionsClearBuilder: function HelixSelectionsClearBuilder() { - this._$v = null; + Strand_from_json(json_map) { + var t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, start_dna_idx_ss, i, substrand_json, t20, loopout_length, end_dna_idx_ss, num_bases, display_length, display_angle, $name, label, dna_sequence, color, unused_fields, t21, t22, t23, ext, ssb, num_insertions, loopouts, loopout_num_bases, lb, adjacent_domain, vendor_fields_dict, vendor_fields, strand, _null = null, + _s7_ = "loopout", + _s19_ = "extension_num_bases", + _s4_ = "name", _s5_ = "label", + _s8_ = "sequence", + _s5_0 = "color", + _s25_ = " has not been initialized", + _s25_0 = ").\nsubstrands JSON list: ", + substrand_jsons = type$.List_dynamic._as(A.mandatory_field(json_map, "domains", "Strand", B.List_substrands)), + t1 = type$.bool, + t2 = type$.dynamic, + is_scaffold = A.optional_field(json_map, "is_scaffold", false, B.List_empty0, _null, _null, t1, t2), + circular = A.optional_field(json_map, "circular", false, B.List_empty0, _null, _null, t1, t2), + t3 = type$.int, + t4 = type$.Domain, + domains = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), + t5 = J.getInterceptor$asx(substrand_jsons), + num_substrands = t5.get$length(substrand_jsons), + t6 = A.List_List$filled(num_substrands, _null, false, type$.nullable_Substrand); + t1 = A.List_List$filled(num_substrands, false, false, t1); + if (typeof num_substrands !== "number") + return A.iae(num_substrands); + t7 = type$.Substrand; + t8 = type$.Map_String_dynamic; + t9 = type$.Insertion; + t10 = type$.List_Insertion; + t11 = type$.ListBuilder_Insertion; + t12 = type$.List_int; + t13 = type$.ListBuilder_int; + t14 = type$.nullable_void_Function_ExtensionBuilder; + t15 = type$.void_Function_ExtensionBuilder; + t16 = type$.double; + t17 = type$.String; + t18 = type$.Object; + t19 = num_substrands - 1; + start_dna_idx_ss = 0; + i = 0; + for (; i < num_substrands; ++i, start_dna_idx_ss = end_dna_idx_ss) { + substrand_json = t5.$index(substrand_jsons, i); + t20 = J.getInterceptor$x(substrand_json); + if (t20.containsKey$1(substrand_json, _s7_)) { + loopout_length = A._asIntS(t20.$index(substrand_json, _s7_)); + if (typeof loopout_length !== "number") + return A.iae(loopout_length); + end_dna_idx_ss = start_dna_idx_ss + loopout_length; + if (i === 0 || i === t19) + throw A.wrapException(A.IllegalDesignError$("found loopout " + A.S(substrand_json) + " at index " + i + " in substrand list. cannot have loopouts at the beginning (index 0) or end (index " + t19 + _s25_0 + A.S(substrand_jsons))); + } else if (t20.containsKey$1(substrand_json, _s19_)) { + t8._as(substrand_json); + num_bases = A.mandatory_field(substrand_json, _s19_, "Extension", B.List_empty0); + display_length = A.optional_field(substrand_json, "display_length", 1.5, B.List_empty0, _null, _null, t16, t2); + display_angle = A.optional_field(substrand_json, "display_angle", 35, B.List_empty0, _null, _null, t16, t2); + $name = A.optional_field_with_null_default(substrand_json, _s4_, B.List_empty0, t17, t18); + label = A.optional_field_with_null_default(substrand_json, _s5_, B.List_empty0, t17, t18); + dna_sequence = A.optional_field_with_null_default(substrand_json, _s8_, B.List_empty0, t17, t18); + if (t20.containsKey$1(substrand_json, _s5_0)) { + t20 = t20.$index(substrand_json, _s5_0); + t20.toString; + color = A.parse_json_color(t20); + } else + color = _null; + unused_fields = A.unused_fields_map(substrand_json, B.List_zNb); + A._asIntS(num_bases); + t20 = A.Domain_Domain(_null, 0, true, 0, _null, false, false, false, 0); + if (unused_fields._mapOwner == null) { + t21 = unused_fields.__MapBuilder__map_A; + t21 === $ && A.throwLateFieldNI("_map"); + t22 = unused_fields.$ti; + unused_fields.set$_mapOwner(new A._BuiltMap(unused_fields._mapFactory, t21, t22._eval$1("@<1>")._bind$1(t22._rest[1])._eval$1("_BuiltMap<1,2>"))); + } + t21 = unused_fields._mapOwner; + t22 = t21._map$_map; + t23 = A._instanceType(t21); + ext = A.Extension_Extension(t20, color, display_angle, display_length, dna_sequence, false, false, label, $name, num_bases, new A.CopyOnWriteMap(t21._mapFactory, t22, t23._eval$1("@<1>")._bind$1(t23._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + ext.toString; + t23 = t15._as(new A.Strand_from_json_closure(i === 0)); + t22 = new A.ExtensionBuilder(); + t22._extension$_$v = ext; + t14._as(t23).call$1(t22); + ext = t22._extension$_build$0(); + B.JSArray_methods.$indexSet(t6, i, t7._as(ext)); + B.JSArray_methods.$indexSet(t1, i, true); + end_dna_idx_ss = start_dna_idx_ss + ext.num_bases; + if (0 < i && i < t19) + throw A.wrapException(A.IllegalDesignError$("found extension " + ext.toString$0(0) + " at index " + i + " in substrand list. can only have extension at beginning (index 0) or end (index " + t19 + _s25_0 + A.S(substrand_jsons))); + } else if (t20.containsKey$1(substrand_json, "helix")) { + ssb = A.Domain_from_json(t8._as(substrand_json)); + ssb.get$_domain$_$this()._is_first = i === 0; + t20 = t5.get$length(substrand_jsons); + if (typeof t20 !== "number") + return t20.$sub(); + ssb.get$_domain$_$this()._is_last = i === t20 - 1; + t20 = ssb.get$_domain$_$this(); + t21 = t20._insertions; + if (t21 == null) { + t21 = new A.ListBuilder(t11); + t21.set$__ListBuilder__list_A(t10._as(A.List_List$from(B.List_empty, true, t9))); + t21.set$_listOwner(_null); + t20.set$_insertions(t21); + t20 = t21; + } else + t20 = t21; + if (t20._listOwner == null) { + t21 = t20.__ListBuilder__list_A; + t21 === $ && A.throwLateFieldNI("_list"); + t22 = t20.$ti; + t23 = t22._eval$1("_BuiltList<1>"); + t23 = t23._as(new A._BuiltList(t21, t23)); + t20.set$__ListBuilder__list_A(t22._eval$1("List<1>")._as(t21)); + t20.set$_listOwner(t23); + } + t20 = t20._listOwner; + t20.toString; + num_insertions = A.Domain_num_insertions_in_list(t20); + t20 = ssb.get$_domain$_$this()._end; + t20.toString; + t21 = ssb.get$_domain$_$this()._start; + t21.toString; + t22 = ssb.get$_domain$_$this(); + t23 = t22._deletions; + if (t23 == null) { + t23 = new A.ListBuilder(t13); + t23.set$__ListBuilder__list_A(t12._as(A.List_List$from(B.List_empty, true, t3))); + t23.set$_listOwner(_null); + t22.set$_deletions(t23); + t22 = t23; + } else + t22 = t23; + t22 = t22.__ListBuilder__list_A; + t22 === $ && A.throwLateFieldNI("_list"); + t22 = t22.length; + ssb.get$_domain$_$this()._domain$_is_scaffold = is_scaffold; + end_dna_idx_ss = start_dna_idx_ss + (t20 - t21 + num_insertions - t22); + t22 = ssb._domain$_build$0(); + B.JSArray_methods.$indexSet(t6, i, t7._as(t22)); + B.JSArray_methods.$indexSet(t1, i, true); + domains.$indexSet(0, i, t22); + } else + throw A.wrapException(A.IllegalDesignError$("unrecognized substrand; does not have any of these keys:\nextension_num_bases for an Extension, loopout for a Loopout, orhelix for a Domain.\nJSON: " + A.S(substrand_json))); + } + loopouts = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Loopout); + t2 = type$.nullable_MapBuilder_String_dynamic; + i = 0; + while (true) { + t3 = t5.get$length(substrand_jsons); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + substrand_json = t5.$index(substrand_jsons, i); + t3 = J.getInterceptor$x(substrand_json); + if (t3.containsKey$1(substrand_json, _s7_)) { + t8._as(substrand_json); + loopout_num_bases = A._asIntS(A.mandatory_field(substrand_json, _s7_, "Loopout", B.List_empty0)); + $name = A.optional_field_with_null_default(substrand_json, _s4_, B.List_empty0, t17, t18); + label = A.optional_field_with_null_default(substrand_json, _s5_, B.List_empty0, t17, t18); + if (t3.containsKey$1(substrand_json, _s5_0)) { + t3 = t3.$index(substrand_json, _s5_0); + t3.toString; + color = A.parse_json_color(t3); + } else + color = _null; + lb = new A.LoopoutBuilder(); + lb.get$_loopout$_$this()._loopout_num_bases = loopout_num_bases; + lb.get$_loopout$_$this()._loopout$_name = $name; + lb.get$_loopout$_$this()._loopout$_label = label; + lb.get$_loopout$_$this()._loopout$_color = color; + lb.get$_loopout$_$this()._loopout$_strand_id = "NONE YET"; + t3 = t2._as(A.unused_fields_map(substrand_json, B.List_loopout_label_name_color)); + lb.get$_loopout$_$this().set$_loopout$_unused_fields(t3); + lb.get$_loopout$_$this()._prev_domain_idx = i - 1; + lb.get$_loopout$_$this()._loopout$_is_scaffold = is_scaffold; + loopouts.$indexSet(0, i, lb._loopout$_build$0()); + } + ++i; + } + for (t2 = A.LinkedHashMapKeyIterator$(loopouts, loopouts._modifications, loopouts.$ti._precomputed1); t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + t5 = loopouts.$index(0, t3); + t5.toString; + B.JSArray_methods.$indexSet(t6, t3, t5); + B.JSArray_methods.$indexSet(t1, t3, true); + } + for (t2 = t1.length, t3 = type$.Extension, t5 = t6.length, i = 0; i < t5; ++i) { + if (!(i < t2)) + return A.ioore(t1, i); + if (!t1[i]) + A.throwExpression(A.StateError$("Item at index " + i + _s25_)); + t9 = t6[i]; + t9.toString; + if (t9 instanceof A.Extension) { + t3._as(t9); + if (t9.is_5p) { + t10 = i + 1; + if (!(t10 < t2)) + return A.ioore(t1, t10); + if (!t1[t10]) + A.throwExpression(A.StateError$("Item at index " + t10 + _s25_)); + if (!(t10 < t5)) + return A.ioore(t6, t10); + t10 = t6[t10]; + t10.toString; + t4._as(t10); + adjacent_domain = t10; + } else { + t10 = i - 1; + if (!(t10 >= 0 && t10 < t2)) + return A.ioore(t1, t10); + if (!t1[t10]) + A.throwExpression(A.StateError$("Item at index " + t10 + _s25_)); + t10 = t6[t10]; + t10.toString; + t4._as(t10); + adjacent_domain = t10; + } + t10 = t15._as(new A.Strand_from_json_closure0(adjacent_domain)); + t11 = new A.ExtensionBuilder(); + t11._extension$_$v = t9; + t14._as(t10).call$1(t11); + B.JSArray_methods.$indexSet(t6, i, t7._as(t11._extension$_build$0())); + B.JSArray_methods.$indexSet(t1, i, true); + } + } + for (i = 0; i < num_substrands; ++i) { + if (!(i < t2)) + return A.ioore(t1, i); + if (!t1[i]) + A.throwExpression(A.StateError$("Item at index " + i + _s25_)); + if (!(i < t5)) + return A.ioore(t6, i); + t6[i].toString; + } + dna_sequence = A.optional_field_with_null_default(json_map, _s8_, B.List_dna_sequence, t17, t18); + t2 = J.getInterceptor$x(json_map); + color = t2.containsKey$1(json_map, _s5_0) ? A.parse_json_color(t2.$index(json_map, _s5_0)) : $.$get$Strand_DEFAULT_STRAND_COLOR(); + $name = A.optional_field_with_null_default(json_map, _s4_, B.List_empty0, t17, t18); + label = A.optional_field_with_null_default(json_map, _s5_, B.List_empty0, t17, t18); + unused_fields = A.unused_fields_map(json_map, $.$get$strand_keys()); + vendor_fields_dict = A.optional_field_with_null_default(json_map, "vendor_fields", B.List_idt, t8, t18); + t2 = vendor_fields_dict == null; + vendor_fields = t2 ? _null : A.VendorFields_from_json(vendor_fields_dict); + if ($name == null && !t2 && J.containsKey$1$x(vendor_fields_dict, _s4_)) + $name = A._asStringQ(J.$index$asx(vendor_fields_dict, _s4_)); + strand = A.Strand_Strand(new A.FixedList(t6, t1, type$.FixedList_Substrand), circular, color, dna_sequence, is_scaffold, label, _null, _null, B.Map_empty0, $name, vendor_fields).rebuild$1(new A.Strand_from_json_closure1(unused_fields)); + t1 = strand.substrands._list; + if (B.JSArray_methods.get$first(t1) instanceof A.Loopout) + throw A.wrapException(A.StrandError$(strand, "Loopout at beginning of strand not supported")); + if (B.JSArray_methods.get$last(t1) instanceof A.Loopout) + throw A.wrapException(A.StrandError$(strand, "Loopout at end of strand not supported")); + return strand; }, - _$HelixSelectionsAdjust: function _$HelixSelectionsAdjust(t0, t1) { - this.toggle = t0; - this.selection_box = t1; + Strand: function Strand() { }, - HelixSelectionsAdjustBuilder: function HelixSelectionsAdjustBuilder() { - this._selection_box = this._actions$_toggle = this._$v = null; + Strand_Strand_closure: function Strand_Strand_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._box_0 = t0; + _.circular = t1; + _.substrands = t2; + _.vendor_fields = t3; + _.modification_5p = t4; + _.modification_3p = t5; + _.modifications_int = t6; + _.is_scaffold = t7; + _.name = t8; + _.label = t9; }, - _$HelixMajorTickDistanceChange: function _$HelixMajorTickDistanceChange(t0, t1) { - this.helix_idx = t0; - this.major_tick_distance = t1; + Strand__finalizeBuilder_closure: function Strand__finalizeBuilder_closure(t0) { + this.i = t0; }, - HelixMajorTickDistanceChangeBuilder: function HelixMajorTickDistanceChangeBuilder() { - this._major_tick_distance = this._actions$_helix_idx = this._$v = null; + Strand__finalizeBuilder_closure0: function Strand__finalizeBuilder_closure0(t0) { + this.id = t0; }, - _$HelixMajorTickDistanceChangeAll: function _$HelixMajorTickDistanceChangeAll(t0) { - this.major_tick_distance = t0; + Strand__finalizeBuilder_closure1: function Strand__finalizeBuilder_closure1(t0) { + this.id = t0; }, - HelixMajorTickDistanceChangeAllBuilder: function HelixMajorTickDistanceChangeAllBuilder() { - this._major_tick_distance = this._$v = null; + Strand__finalizeBuilder_closure2: function Strand__finalizeBuilder_closure2(t0) { + this.id = t0; }, - _$HelixMajorTickStartChange: function _$HelixMajorTickStartChange(t0, t1) { - this.helix_idx = t0; - this.major_tick_start = t1; + Strand__rebuild_substrands_with_new_fields_based_on_strand_closure: function Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(t0) { + this.substrands_new = t0; }, - HelixMajorTickStartChangeBuilder: function HelixMajorTickStartChangeBuilder() { - this._actions$_major_tick_start = this._actions$_helix_idx = this._$v = null; + Strand__rebuild_domain_with_new_fields_based_on_strand_closure: function Strand__rebuild_domain_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.strand = t1; + _.is_first = t2; + _.is_last = t3; }, - _$HelixMajorTickStartChangeAll: function _$HelixMajorTickStartChangeAll(t0) { - this.major_tick_start = t0; + Strand__rebuild_loopout_with_new_fields_based_on_strand_closure: function Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(t0, t1, t2) { + this.$this = t0; + this.strand = t1; + this.idx = t2; }, - HelixMajorTickStartChangeAllBuilder: function HelixMajorTickStartChangeAllBuilder() { - this._actions$_major_tick_start = this._$v = null; + Strand__rebuild_extension_with_new_fields_based_on_strand_closure: function Strand__rebuild_extension_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.strand = t1; + _.adjacent_domain = t2; + _.is_5p = t3; }, - _$HelixMajorTicksChange: function _$HelixMajorTicksChange(t0, t1) { - this.helix_idx = t0; - this.major_ticks = t1; + Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure: function Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(t0) { + this.new_substrands = t0; }, - HelixMajorTicksChangeBuilder: function HelixMajorTicksChangeBuilder() { - this._actions$_major_ticks = this._actions$_helix_idx = this._$v = null; + Strand__at_least_one_substrand_has_dna_sequence_closure: function Strand__at_least_one_substrand_has_dna_sequence_closure() { }, - _$HelixMajorTicksChangeAll: function _$HelixMajorTicksChangeAll(t0) { - this.major_ticks = t0; + Strand_remove_dna_sequence_closure: function Strand_remove_dna_sequence_closure(t0) { + this.substrands_new = t0; }, - HelixMajorTicksChangeAllBuilder: function HelixMajorTicksChangeAllBuilder() { - this._actions$_major_ticks = this._$v = null; + Strand_set_dna_sequence_closure: function Strand_set_dna_sequence_closure(t0) { + this.substrands_new = t0; }, - _$HelixMajorTickPeriodicDistancesChange: function _$HelixMajorTickPeriodicDistancesChange(t0, t1) { - this.helix_idx = t0; - this.major_tick_periodic_distances = t1; + Strand__net_ins_del_length_increase_from_5p_to_closure: function Strand__net_ins_del_length_increase_from_5p_to_closure() { }, - HelixMajorTickPeriodicDistancesChangeBuilder: function HelixMajorTickPeriodicDistancesChangeBuilder() { - this._actions$_major_tick_periodic_distances = this._actions$_helix_idx = this._$v = null; + Strand__net_ins_del_length_increase_from_5p_to_closure0: function Strand__net_ins_del_length_increase_from_5p_to_closure0() { }, - _$HelixMajorTickPeriodicDistancesChangeAll: function _$HelixMajorTickPeriodicDistancesChangeAll(t0) { - this.major_tick_periodic_distances = t0; + Strand_from_json_closure: function Strand_from_json_closure(t0) { + this.is_5p = t0; }, - HelixMajorTickPeriodicDistancesChangeAllBuilder: function HelixMajorTickPeriodicDistancesChangeAllBuilder() { - this._actions$_major_tick_periodic_distances = this._$v = null; + Strand_from_json_closure0: function Strand_from_json_closure0(t0) { + this.adjacent_domain = t0; }, - _$HelixIdxsChange: function _$HelixIdxsChange(t0) { - this.idx_replacements = t0; + Strand_from_json_closure1: function Strand_from_json_closure1(t0) { + this.unused_fields = t0; }, - HelixIdxsChangeBuilder: function HelixIdxsChangeBuilder() { - this._idx_replacements = this._$v = null; + _$StrandSerializer: function _$StrandSerializer() { }, - _$HelixOffsetChange: function _$HelixOffsetChange(t0, t1, t2) { - this.helix_idx = t0; - this.min_offset = t1; - this.max_offset = t2; + _$Strand: function _$Strand(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.substrands = t0; + _.vendor_fields = t1; + _.is_scaffold = t2; + _.circular = t3; + _.modification_5p = t4; + _.modification_3p = t5; + _.modifications_int = t6; + _.color = t7; + _.name = t8; + _.label = t9; + _.unused_fields = t10; + _.__dna_sequence = null; + _.___dna_sequence = false; + _.__selectable_modification_5p = _.__selectable_insertions = _.__selectable_deletions = _.__address_3p = _.__address_5p = _.__has_3p_extension = _.__has_5p_extension = null; + _.___selectable_modification_5p = false; + _.__selectable_modification_3p = null; + _.___selectable_modification_3p = false; + _._strand$__hashCode = _.__dnaend_5p = _.__dnaend_3p = _.__last_domain = _.__first_domain = _.__dna_length = _.__domains = _.__id = _.__select_mode = _.__extensions = _.__loopouts = _.__crossovers = _.__linkers = _.__domains_on_helix = _.__internal_modifications_on_substrand = _.__internal_modifications_on_substrand_absolute_idx = _.__selectable_modifications_int_by_dna_idx = _.__selectable_modifications = null; }, - HelixOffsetChangeBuilder: function HelixOffsetChangeBuilder() { + StrandBuilder: function StrandBuilder() { var _ = this; - _._actions$_max_offset = _._actions$_min_offset = _._actions$_helix_idx = _._$v = null; + _._strand$_unused_fields = _._label = _._strand$_name = _._strand$_color = _._modifications_int = _._modification_3p = _._modification_5p = _._circular = _._is_scaffold = _._vendor_fields = _._substrands = _._strand$_$v = null; }, - _$HelixMinOffsetSetByDomains: function _$HelixMinOffsetSetByDomains(t0) { - this.helix_idx = t0; + _Strand_Object_SelectableMixin: function _Strand_Object_SelectableMixin() { }, - HelixMinOffsetSetByDomainsBuilder: function HelixMinOffsetSetByDomainsBuilder() { - this._actions$_helix_idx = this._$v = null; + _Strand_Object_SelectableMixin_BuiltJsonSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable() { }, - _$HelixMaxOffsetSetByDomains: function _$HelixMaxOffsetSetByDomains(t0) { - this.helix_idx = t0; + _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { }, - HelixMaxOffsetSetByDomainsBuilder: function HelixMaxOffsetSetByDomainsBuilder() { - this._actions$_helix_idx = this._$v = null; + _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable() { }, - _$HelixMinOffsetSetByDomainsAll: function _$HelixMinOffsetSetByDomainsAll() { + StrandCreation_StrandCreation(color, $forward, helix, original_offset) { + var t1 = new A.StrandCreationBuilder(); + type$.nullable_void_Function_StrandCreationBuilder._as(new A.StrandCreation_StrandCreation_closure(helix, $forward, original_offset, color)).call$1(t1); + return t1._strand_creation$_build$0(); }, - HelixMinOffsetSetByDomainsAllBuilder: function HelixMinOffsetSetByDomainsAllBuilder() { - this._$v = null; + StrandCreation: function StrandCreation() { }, - _$HelixMaxOffsetSetByDomainsAll: function _$HelixMaxOffsetSetByDomainsAll() { + StrandCreation_StrandCreation_closure: function StrandCreation_StrandCreation_closure(t0, t1, t2, t3) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.original_offset = t2; + _.color = t3; }, - HelixMaxOffsetSetByDomainsAllBuilder: function HelixMaxOffsetSetByDomainsAllBuilder() { - this._$v = null; + _$StrandCreationSerializer: function _$StrandCreationSerializer() { }, - _$HelixMaxOffsetSetByDomainsAllSameMax: function _$HelixMaxOffsetSetByDomainsAllSameMax() { + _$StrandCreation: function _$StrandCreation(t0, t1, t2, t3, t4) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.original_offset = t2; + _.current_offset = t3; + _.color = t4; + _._strand_creation$__hashCode = null; }, - HelixMaxOffsetSetByDomainsAllSameMaxBuilder: function HelixMaxOffsetSetByDomainsAllSameMaxBuilder() { - this._$v = null; + StrandCreationBuilder: function StrandCreationBuilder() { + var _ = this; + _._color = _._current_offset = _._original_offset = _._forward = _._helix = _._strand_creation$_$v = null; }, - _$HelixOffsetChangeAll: function _$HelixOffsetChangeAll(t0, t1) { - this.min_offset = t0; - this.max_offset = t1; + _StrandCreation_Object_BuiltJsonSerializable: function _StrandCreation_Object_BuiltJsonSerializable() { }, - HelixOffsetChangeAllBuilder: function HelixOffsetChangeAllBuilder() { - this._actions$_max_offset = this._actions$_min_offset = this._$v = null; + StrandsMove_StrandsMove(all_strands, copy, groups, helices, keep_color, original_address, original_helices_view_order_inverse, strands_moving) { + var strands_fixed, t1, t2, t3; + if (copy) + strands_fixed = all_strands; + else { + t1 = A._setArrayType([], type$.JSArray_Strand); + for (t2 = all_strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (!B.JSArray_methods.contains$1(strands_moving._list, t3)) + t1.push(t3); + } + strands_fixed = t1; + copy = false; + } + if (original_helices_view_order_inverse == null) + throw A.wrapException(A.ArgumentError$("original_helices_view_order_inverse must be specified", null)); + t1 = new A.StrandsMoveBuilder(); + type$.nullable_void_Function_StrandsMoveBuilder._as(new A.StrandsMove_StrandsMove_closure(strands_moving, strands_fixed, helices, groups, original_helices_view_order_inverse, original_address, copy, keep_color)).call$1(t1); + return t1._strands_move$_build$0(); }, - _$ShowMouseoverRectSet: function _$ShowMouseoverRectSet(t0) { - this.show = t0; + StrandsMove: function StrandsMove() { }, - ShowMouseoverRectSetBuilder: function ShowMouseoverRectSetBuilder() { - this._show = this._$v = null; + StrandsMove_StrandsMove_closure: function StrandsMove_StrandsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.strands_moving = t0; + _.strands_fixed = t1; + _.helices = t2; + _.groups = t3; + _.original_helices_view_order_inverse = t4; + _.original_address = t5; + _.copy = t6; + _.keep_color = t7; }, - _$ShowMouseoverRectToggle: function _$ShowMouseoverRectToggle() { + _$StrandsMoveSerializer: function _$StrandsMoveSerializer() { }, - _$ExportDNA: function _$ExportDNA(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$StrandsMove: function _$StrandsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; - _.include_scaffold = t0; - _.include_only_selected_strands = t1; - _.exclude_selected_strands = t2; - _.export_dna_format = t3; - _.strand_order = t4; - _.column_major_strand = t5; - _.column_major_plate = t6; - _.delimiter = t7; - _.domain_delimiter = t8; + _.strands_moving = t0; + _.strands_fixed = t1; + _.helices = t2; + _.groups = t3; + _.original_helices_view_order_inverse = t4; + _.original_address = t5; + _.current_address = t6; + _.allowable = t7; + _.copy = t8; + _.keep_color = t9; + _._strands_move$__hashCode = null; }, - ExportDNABuilder: function ExportDNABuilder() { + StrandsMoveBuilder: function StrandsMoveBuilder() { var _ = this; - _._domain_delimiter = _._delimiter = _._column_major_plate = _._column_major_strand = _._strand_order = _._export_dna_format = _._exclude_selected_strands = _._include_only_selected_strands = _._include_scaffold = _._$v = null; - }, - _$ExportCanDoDNA: function _$ExportCanDoDNA() { - }, - ExportCanDoDNABuilder: function ExportCanDoDNABuilder() { - this._$v = null; + _._strands_move$_keep_color = _._strands_move$_copy = _._strands_move$_allowable = _._strands_move$_current_address = _._strands_move$_original_address = _._strands_move$_original_helices_view_order_inverse = _._strands_move$_groups = _._strands_move$_helices = _._strands_fixed = _._strands_moving = _._strands_move$_$v = null; }, - _$ExportSvg: function _$ExportSvg(t0) { - this.type = t0; + _StrandsMove_Object_BuiltJsonSerializable: function _StrandsMove_Object_BuiltJsonSerializable() { }, - ExportSvgBuilder: function ExportSvgBuilder() { - this._type = this._$v = null; + UndoRedo_UndoRedo() { + var t1 = new A.UndoRedoBuilder(), + t2 = type$.UndoRedoItem, + t3 = type$.nullable_ListBuilder_UndoRedoItem, + t4 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + type$.nullable_void_Function_UndoRedoBuilder._as(new A.UndoRedo_UndoRedo_closure()).call$1(t1); + return t1._undo_redo$_build$0(); + }, + UndoRedoItem_UndoRedoItem(short_description, design) { + var t1 = new A.UndoRedoItemBuilder(); + type$.nullable_void_Function_UndoRedoItemBuilder._as(new A.UndoRedoItem_UndoRedoItem_closure(short_description, design)).call$1(t1); + return t1._undo_redo$_build$0(); + }, + UndoRedoBuilder$() { + var t1 = new A.UndoRedoBuilder(), + t2 = type$.UndoRedoItem, + t3 = type$.nullable_ListBuilder_UndoRedoItem, + t4 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + return t1; }, - _$ExportSvgTextSeparatelySet: function _$ExportSvgTextSeparatelySet(t0) { - this.export_svg_text_separately = t0; + UndoRedo: function UndoRedo() { }, - ExportSvgTextSeparatelySetBuilder: function ExportSvgTextSeparatelySetBuilder() { - this._actions$_export_svg_text_separately = this._$v = null; + UndoRedo_UndoRedo_closure: function UndoRedo_UndoRedo_closure() { }, - _$ExtensionDisplayLengthAngleSet: function _$ExtensionDisplayLengthAngleSet(t0, t1, t2) { - this.ext = t0; - this.display_length = t1; - this.display_angle = t2; + UndoRedoItem: function UndoRedoItem() { }, - ExtensionDisplayLengthAngleSetBuilder: function ExtensionDisplayLengthAngleSetBuilder() { - var _ = this; - _._actions$_display_angle = _._actions$_display_length = _._ext = _._$v = null; + UndoRedoItem_UndoRedoItem_closure: function UndoRedoItem_UndoRedoItem_closure(t0, t1) { + this.short_description = t0; + this.design = t1; }, - _$ExtensionAdd: function _$ExtensionAdd(t0, t1, t2) { - this.strand = t0; - this.is_5p = t1; - this.num_bases = t2; + _$UndoRedoItemSerializer: function _$UndoRedoItemSerializer() { }, - ExtensionAddBuilder: function ExtensionAddBuilder() { - var _ = this; - _._actions$_num_bases = _._actions$_is_5p = _._strand = _._$v = null; + _$UndoRedo: function _$UndoRedo(t0, t1) { + this.undo_stack = t0; + this.redo_stack = t1; + this._undo_redo$__hashCode = null; }, - _$ExtensionNumBasesChange: function _$ExtensionNumBasesChange(t0, t1) { - this.ext = t0; - this.num_bases = t1; + UndoRedoBuilder: function UndoRedoBuilder() { + this._redo_stack = this._undo_stack = this._undo_redo$_$v = null; }, - ExtensionNumBasesChangeBuilder: function ExtensionNumBasesChangeBuilder() { - this._actions$_num_bases = this._ext = this._$v = null; + _$UndoRedoItem: function _$UndoRedoItem(t0, t1) { + this.short_description = t0; + this.design = t1; + this._undo_redo$__hashCode = null; }, - _$ExtensionsNumBasesChange: function _$ExtensionsNumBasesChange(t0, t1) { - this.extensions = t0; - this.num_bases = t1; + UndoRedoItemBuilder: function UndoRedoItemBuilder() { + this._design = this._short_description = this._undo_redo$_$v = null; }, - ExtensionsNumBasesChangeBuilder: function ExtensionsNumBasesChangeBuilder() { - this._actions$_num_bases = this._extensions = this._$v = null; + _UndoRedo_Object_BuiltJsonSerializable: function _UndoRedo_Object_BuiltJsonSerializable() { }, - _$LoopoutLengthChange: function _$LoopoutLengthChange(t0, t1) { - this.loopout = t0; - this.num_bases = t1; + _UndoRedoItem_Object_BuiltJsonSerializable: function _UndoRedoItem_Object_BuiltJsonSerializable() { }, - LoopoutLengthChangeBuilder: function LoopoutLengthChangeBuilder() { - this._actions$_num_bases = this._loopout = this._$v = null; + UnusedFields: function UnusedFields() { }, - _$LoopoutsLengthChange: function _$LoopoutsLengthChange(t0, t1) { - this.loopouts = t0; - this.length = t1; + VendorFields_VendorFields(plate, purification, scale, well) { + var t1 = new A.VendorFieldsBuilder(); + type$.nullable_void_Function_VendorFieldsBuilder._as(new A.VendorFields_VendorFields_closure(scale, purification, plate, well)).call$1(t1); + return t1._vendor_fields$_build$0(); }, - LoopoutsLengthChangeBuilder: function LoopoutsLengthChangeBuilder() { - this._actions$_length = this._loopouts = this._$v = null; + VendorFields_from_json(json_map) { + var unused_fields, t2, t3, + _s12_ = "VendorFields", + scale = A.mandatory_field(json_map, "scale", _s12_, B.List_empty0), + purification = A.mandatory_field(json_map, "purification", _s12_, B.List_empty0), + t1 = J.getInterceptor$x(json_map), + plate = t1.containsKey$1(json_map, "plate") ? t1.$index(json_map, "plate") : null, + well = t1.containsKey$1(json_map, "well") ? t1.$index(json_map, "well") : null; + t1 = plate == null; + if (t1 && well != null) + throw A.wrapException(A.IllegalDesignError$("cannot set VendorFields.well to " + A.S(well) + " when plate is null\nthis occurred when reading VendorFields entry:\n" + A.S(json_map))); + if (!t1 && well == null) + throw A.wrapException(A.IllegalDesignError$("cannot set VendorFields.plate to " + A.S(plate) + " when well is null\nthis occurred when reading VendorFields entry:\n" + A.S(json_map))); + unused_fields = A.unused_fields_map(json_map, B.List_sEI); + A._asStringS(scale); + A._asStringS(purification); + t1 = A.VendorFields_VendorFields(A._asStringQ(plate), purification, scale, A._asStringQ(well)); + t1.toString; + t2 = type$.void_Function_VendorFieldsBuilder._as(new A.VendorFields_from_json_closure(unused_fields)); + t3 = new A.VendorFieldsBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.VendorFields); + t3._vendor_fields$_$v = t1; + type$.nullable_void_Function_VendorFieldsBuilder._as(t2).call$1(t3); + return t3._vendor_fields$_build$0(); }, - _$ConvertCrossoverToLoopout: function _$ConvertCrossoverToLoopout(t0, t1, t2) { - this.crossover = t0; - this.length = t1; - this.dna_sequence = t2; + VendorFields: function VendorFields() { }, - ConvertCrossoverToLoopoutBuilder: function ConvertCrossoverToLoopoutBuilder() { + VendorFields_VendorFields_closure: function VendorFields_VendorFields_closure(t0, t1, t2, t3) { var _ = this; - _._actions$_dna_sequence = _._actions$_length = _._crossover = _._$v = null; + _.scale = t0; + _.purification = t1; + _.plate = t2; + _.well = t3; }, - _$ConvertCrossoversToLoopouts: function _$ConvertCrossoversToLoopouts(t0, t1) { - this.crossovers = t0; - this.length = t1; + VendorFields_from_json_closure: function VendorFields_from_json_closure(t0) { + this.unused_fields = t0; }, - ConvertCrossoversToLoopoutsBuilder: function ConvertCrossoversToLoopoutsBuilder() { - this._actions$_length = this._crossovers = this._$v = null; + _$VendorFieldsSerializer: function _$VendorFieldsSerializer() { }, - _$Nick: function _$Nick(t0, t1) { - this.domain = t0; - this.offset = t1; + _$VendorFields: function _$VendorFields(t0, t1, t2, t3, t4) { + var _ = this; + _.scale = t0; + _.purification = t1; + _.plate = t2; + _.well = t3; + _.unused_fields = t4; + _._vendor_fields$__hashCode = null; }, - NickBuilder: function NickBuilder() { - this._actions$_offset = this._actions$_domain = this._$v = null; + VendorFieldsBuilder: function VendorFieldsBuilder() { + var _ = this; + _._vendor_fields$_unused_fields = _._well = _._plate = _._purification = _._scale = _._vendor_fields$_$v = null; }, - _$Ligate: function _$Ligate(t0) { - this.dna_end = t0; + _VendorFields_Object_BuiltJsonSerializable: function _VendorFields_Object_BuiltJsonSerializable() { }, - LigateBuilder: function LigateBuilder() { - this._actions$_dna_end = this._$v = null; + _VendorFields_Object_BuiltJsonSerializable_UnusedFields: function _VendorFields_Object_BuiltJsonSerializable_UnusedFields() { }, - _$JoinStrandsByCrossover: function _$JoinStrandsByCrossover(t0, t1) { - this.dna_end_first_click = t0; - this.dna_end_second_click = t1; + current_group_name_from_strands_move(design, strands_move) { + var t1 = design.helices._map$_map.$index(0, strands_move.current_address.helix_idx); + t1.toString; + return t1.group; }, - JoinStrandsByCrossoverBuilder: function JoinStrandsByCrossoverBuilder() { - this._dna_end_second_click = this._actions$_dna_end_first_click = this._$v = null; + original_group_name_from_domains_move(design, domains_move) { + var t1 = domains_move.original_address; + t1 = design.helices._map$_map.$index(0, t1.helix_idx); + t1.toString; + return t1.group; }, - _$MoveLinker: function _$MoveLinker(t0, t1) { - this.potential_crossover = t0; - this.dna_end_second_click = t1; - this._actions$__hashCode = null; + current_group_name_from_domains_move(design, domains_move) { + var t1 = domains_move.current_address; + t1 = design.helices._map$_map.$index(0, t1.helix_idx); + t1.toString; + return t1.group; }, - MoveLinkerBuilder: function MoveLinkerBuilder() { - this._dna_end_second_click = this._potential_crossover = this._$v = null; + are_all_close(x1s, x2s) { + var t2, + t1 = A._setArrayType([], type$.JSArray_List_double); + for (t2 = A.zip(A._setArrayType([x1s, x2s], type$.JSArray_Iterable_double), type$.double), t2 = new A._SyncStarIterator(t2._outerHelper(), A._instanceType(t2)._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) + t1.push(t2.get$current(t2)); + return B.JSArray_methods.every$1(t1, new A.are_all_close_closure(1e-9)); + }, + is_increasing(items, $T) { + var t1, prev, val; + for (t1 = items._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), prev = null; t1.moveNext$0(); prev = val) { + val = t1.__interceptors$_current; + if (prev != null) + if (J.compareTo$1$ns(prev, val) >= 0) + return false; + } + return true; }, - _$JoinStrandsByMultipleCrossovers: function _$JoinStrandsByMultipleCrossovers() { + deltas(nums) { + var deltas, prev, t2, + t1 = nums._list; + if (t1.length === 0) + return A._setArrayType([], type$.JSArray_int); + deltas = A._setArrayType([], type$.JSArray_int); + for (t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), prev = 0; t1.moveNext$0(); prev = t2) { + t2 = t1.__interceptors$_current; + if (typeof t2 !== "number") + return t2.$sub(); + B.JSArray_methods.add$1(deltas, t2 - prev); + } + return deltas; }, - JoinStrandsByMultipleCrossoversBuilder: function JoinStrandsByMultipleCrossoversBuilder() { - this._$v = null; + get_text_file_content(url) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.String), + $async$returnValue; + var $async$get_text_file_content = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return A._asyncAwait(A.HttpRequest_getString(url).then$1$1(0, new A.get_text_file_content_closure(), type$.String), $async$get_text_file_content); + case 3: + // returning from await. + $async$returnValue = $async$result; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$get_text_file_content, $async$completer); }, - _$StrandsReflect: function _$StrandsReflect(t0, t1, t2) { - this.strands = t0; - this.horizontal = t1; - this.reverse_polarity = t2; + get_binary_file_content(url) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.ByteBuffer), + $async$returnValue; + var $async$get_binary_file_content = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return A._asyncAwait(A.HttpRequest_request(url, null, "arraybuffer", null).then$1$1(0, new A.get_binary_file_content_closure(), type$.ByteBuffer), $async$get_binary_file_content); + case 3: + // returning from await. + $async$returnValue = $async$result; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$get_binary_file_content, $async$completer); }, - StrandsReflectBuilder: function StrandsReflectBuilder() { - var _ = this; - _._reverse_polarity = _._horizontal = _._actions$_strands = _._$v = null; + dialog(dialog) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_List_DialogItem), + $async$returnValue, t2, t3, t1; + var $async$dialog = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.dialog != null) + $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); + t1 = new A._Future($.Zone__current, type$._Future_List_DialogItem); + dialog.toString; + t2 = type$.void_Function_DialogBuilder._as(new A.dialog_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_List_DialogItem))); + t3 = new A.DialogBuilder(); + A.ArgumentError_checkNotNull(dialog, "other", type$.Dialog); + t3._dialog$_$v = dialog; + type$.nullable_void_Function_DialogBuilder._as(t2).call$1(t3); + dialog = t3._dialog$_build$0(); + $.__app._readField$0().dispatch$1(A._$DialogShow$_(dialog)); + $async$returnValue = t1; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$dialog, $async$completer); }, - _$ReplaceStrands: function _$ReplaceStrands(t0) { - this.new_strands = t0; + get_version(version_str) { + var t3, t4, + t1 = A.RegExp_RegExp("(\\d+)\\.(\\d+)\\.(\\d+)", true).firstMatch$1(version_str)._match, + t2 = t1.length; + if (1 >= t2) + return A.ioore(t1, 1); + t3 = t1[1]; + t3.toString; + if (2 >= t2) + return A.ioore(t1, 2); + t4 = t1[2]; + t4.toString; + if (3 >= t2) + return A.ioore(t1, 3); + t1 = t1[3]; + t1.toString; + return new A.Version(A.int_parse(t3, null), A.int_parse(t4, null), A.int_parse(t1, null)); }, - ReplaceStrandsBuilder: function ReplaceStrandsBuilder() { - this._new_strands = this._$v = null; + helices_assign_svg(geometry, invert_y, helices, groups, helix_idxs_to_calculate) { + var t1, t2, t3, svg_positions, t4, prev_helix, prev_y, t5, t6, t7, t8, t9, y, pos, delta_y, t10, x_diff, y_diff, t11, other_pos, _null = null; + if (helix_idxs_to_calculate != null) { + t1 = helix_idxs_to_calculate._set; + t1 = t1.get$isEmpty(t1); + } else + t1 = true; + if (t1) { + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = helices.get$values(helices), t3 = A._instanceType(t2), t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); t3.moveNext$0();) + t1.push(t3.__internal$_current.idx); + helix_idxs_to_calculate = A.BuiltSet_BuiltSet$of(t1, type$.int); + } + t1 = type$.Point_double; + svg_positions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1); + for (t2 = groups.get$keys(groups), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = groups._map$_map; t2.moveNext$0();) { + t4 = t3.$index(0, t2.__js_helper$_current); + t4.toString; + for (t4 = t4.helices_view_order._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")), prev_helix = _null, prev_y = prev_helix; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + if (helix_idxs_to_calculate._set.contains$1(0, t5)) { + t5 = helices._map$_map.$index(0, t5); + t5.toString; + t6 = t5.__position3d; + t6 = (t6 == null ? t5.__position3d = A.Helix.prototype.get$position3d.call(t5) : t6).z; + t7 = geometry.__nm_to_svg_pixels; + if (t7 == null) + t7 = geometry.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(geometry); + t8 = t5.__position3d; + t8 = (t8 == null ? t5.__position3d = A.Helix.prototype.get$position3d.call(t5) : t8).y; + t9 = geometry.__nm_to_svg_pixels; + y = t8 * (t9 == null ? geometry.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t9); + if (prev_helix != null) { + t8 = t5.grid; + if (t8 === B.Grid_none) { + t8 = prev_helix.position_; + t8.toString; + pos = t5.position_; + t9 = pos.x - t8.x; + t8 = pos.y - t8.y; + t8 = Math.sqrt(t9 * t9 + t8 * t8); + t9 = geometry.__nm_to_svg_pixels; + delta_y = t8 * (t9 == null ? geometry.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t9); + } else { + t9 = prev_helix.grid_position; + t9.toString; + t10 = t5.grid_position; + t10.toString; + if (t8 === B.Grid_square) { + x_diff = t9.h - t10.h; + y_diff = t9.v - t10.v; + } else { + t11 = t8 === B.Grid_hex; + if (t11 || t8 === B.Grid_honeycomb) { + if (t11) { + pos = A.hex_grid_position_to_position2d_diameter_1_circles(t9); + other_pos = A.hex_grid_position_to_position2d_diameter_1_circles(t10); + } else if (t8 === B.Grid_honeycomb) { + pos = A.honeycomb_grid_position_to_position2d_diameter_1_circles(t9); + other_pos = A.honeycomb_grid_position_to_position2d_diameter_1_circles(t10); + } else { + other_pos = _null; + pos = other_pos; + } + t8 = other_pos.x; + t9 = pos.x; + if (typeof t8 !== "number") + return t8.$sub(); + if (typeof t9 !== "number") + return A.iae(t9); + x_diff = t8 - t9; + t9 = other_pos.y; + t8 = pos.y; + if (typeof t9 !== "number") + return t9.$sub(); + if (typeof t8 !== "number") + return A.iae(t8); + y_diff = t9 - t8; + } else { + A.throwExpression(A.ArgumentError$("grid cannot be Grid.none to evaluate distance", _null)); + y_diff = _null; + x_diff = y_diff; + } + } + if (typeof x_diff !== "number") + return x_diff.$mul(); + if (typeof y_diff !== "number") + return y_diff.$mul(); + t8 = Math.sqrt(x_diff * x_diff + y_diff * y_diff); + t9 = geometry.__distance_between_helices_svg; + delta_y = t8 * (t9 == null ? geometry.__distance_between_helices_svg = A.Geometry.prototype.get$distance_between_helices_svg.call(geometry) : t9); + } + prev_y.toString; + y = prev_y + delta_y; + } + t8 = invert_y ? -y : y; + svg_positions.$indexSet(0, t5.idx, new A.Point(t6 * t7, t8, t1)); + prev_helix = t5; + prev_y = y; + } + } + } + return svg_positions; }, - _$StrandCreateStart: function _$StrandCreateStart(t0, t1) { - this.address = t0; - this.color = t1; + unwrap_from_noindent(obj) { + return obj instanceof A.NoIndent ? obj.value : obj; }, - StrandCreateStartBuilder: function StrandCreateStartBuilder() { - this._actions$_color = this._actions$_address = this._$v = null; + repeated_element_indices(list, $T) { + var i2, elt, i1, + elt_to_idx = A.LinkedHashMap_LinkedHashMap$_empty($T, type$.int); + for (i2 = 0; i2 < list.length; ++i2) { + elt = list[i2]; + i1 = elt_to_idx.$index(0, elt); + if (i1 != null) + return new A.Tuple2(i1, i2, type$.Tuple2_int_int); + elt_to_idx.$indexSet(0, elt, i2); + } + return null; }, - _$StrandCreateAdjustOffset: function _$StrandCreateAdjustOffset(t0) { - this.offset = t0; + xy_distances_to_rectangle(point, upper_left_corner, width, height, angle) { + var x_hi, y_low, y_hi, t1, dx, dy, + unrotated_point = A.rotate(point, -angle, upper_left_corner), + x_low = upper_left_corner.x; + if (typeof x_low !== "number") + return x_low.$add(); + x_hi = x_low + width; + y_low = upper_left_corner.y; + if (typeof y_low !== "number") + return y_low.$add(); + y_hi = y_low + height; + t1 = unrotated_point.x; + if (typeof t1 !== "number") + return A.iae(t1); + if (x_low <= t1 && t1 <= x_hi) + dx = 0; + else + dx = t1 <= x_low ? t1 - x_low : t1 - x_hi; + t1 = unrotated_point.y; + if (typeof t1 !== "number") + return A.iae(t1); + if (y_low <= t1 && t1 <= y_hi) + dy = 0; + else + dy = t1 <= y_low ? t1 - y_low : t1 - y_hi; + return new A.Point(dx, dy, type$.Point_double); }, - StrandCreateAdjustOffsetBuilder: function StrandCreateAdjustOffsetBuilder() { - this._actions$_offset = this._$v = null; + find_closest_helix($event, helices, groups, geometry, helix_idx_to_svg_position_map) { + var t1, min_dist, closest_helix, closest_helix0, t2, t3, helix_upper_left_corner, t4, distances, dist, + svg_clicked_point = A.svg_position_of_mouse_click($event); + for (t1 = J.get$iterator$ax(helices), min_dist = null, closest_helix = null; t1.moveNext$0();) { + closest_helix0 = t1.get$current(t1); + t2 = closest_helix0.group; + t2 = groups._map$_map.$index(0, t2); + t2.toString; + t3 = closest_helix0.idx; + t3 = helix_idx_to_svg_position_map._map$_map.$index(0, t3); + t3.toString; + helix_upper_left_corner = t2.transform_point_main_view$2(t3, geometry); + t3 = closest_helix0.__svg_width; + if (t3 == null) + t3 = closest_helix0.__svg_width = A.Helix.prototype.get$svg_width.call(closest_helix0); + t4 = closest_helix0.__svg_height; + if (t4 == null) + t4 = closest_helix0.__svg_height = A.Helix.prototype.get$svg_height.call(closest_helix0); + distances = A.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, t3, t4, t2.pitch); + t2 = distances.x; + if (typeof t2 !== "number") + return t2.$mul(); + t4 = distances.y; + if (typeof t4 !== "number") + return t4.$mul(); + dist = Math.sqrt(t2 * t2 + t4 * t4); + if (min_dist == null || min_dist > dist) { + closest_helix = closest_helix0; + min_dist = dist; + } + } + closest_helix.toString; + return closest_helix; }, - _$StrandCreateStop: function _$StrandCreateStop() { + bounded_offset_in_helices_group(offset, helices_in_group) { + var min_offset, max_offset, + range = A.find_helix_group_min_max(helices_in_group); + if (range == null) + return null; + min_offset = range.x; + max_offset = range.y; + if (offset != null) { + if (typeof max_offset !== "number") + return max_offset.$sub(); + return Math.min(max_offset - 1, Math.max(offset, A.checkNum(min_offset))); + } else + return min_offset; }, - StrandCreateStopBuilder: function StrandCreateStopBuilder() { - this._$v = null; + find_helix_group_min_max(helices_in_group) { + var t3, t4, min_offset, max_offset, + t1 = helices_in_group.__internal$_iterable, + t2 = J.getInterceptor$asx(t1); + if (t2.get$isEmpty(t1)) + return null; + t3 = t2.get$first(t1); + t4 = helices_in_group._f; + min_offset = t4.call$1(t3).min_offset; + max_offset = t4.call$1(t2.get$first(t1)).max_offset; + for (t3 = A._instanceType(helices_in_group), t3 = new A.MappedIterator(t2.get$iterator(t1), t4, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); t3.moveNext$0();) { + t1 = t3.__internal$_current; + min_offset = Math.min(t1.min_offset, min_offset); + max_offset = Math.max(t1.max_offset, max_offset); + } + return new A.Point(min_offset, max_offset, type$.Point_int); + }, + rotation_datas_at_offset_in_group(offset, design, group_name) { + var t1, t2, t3, t4, + rotation_params_list = A._setArrayType([], type$.JSArray_DesignSideRotationParams); + if (offset != null) + for (t1 = design.get$helix_idxs_in_group()._map$_map.$index(0, group_name)._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = design.helices; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t2._map$_map.$index(0, t3); + t4.toString; + if (offset >= t4.min_offset && offset < t4.max_offset) + B.JSArray_methods.add$1(rotation_params_list, A.DesignSideRotationParams_DesignSideRotationParams(t3, offset)); + } + return A.BuiltList_BuiltList$of(A.DesignSideRotationData_from_params(design, rotation_params_list), type$.DesignSideRotationData); }, - _$StrandCreateCommit: function _$StrandCreateCommit(t0, t1, t2, t3, t4) { - var _ = this; - _.helix_idx = t0; - _.start = t1; - _.end = t2; - _.forward = t3; - _.color = t4; + find_closest_address($event, helices, groups, geometry, helix_idx_to_svg_position_map) { + var t4, helix_upper_left_corner, distances, unrotated_point, t5, t6, t7, t8, closest_point_in_helix_untransformed, offset, + svg_clicked_point = A.svg_position_of_mouse_click($event), + helix = A.find_closest_helix($event, helices, groups, geometry, helix_idx_to_svg_position_map), + t1 = helix.idx, + t2 = helix_idx_to_svg_position_map._map$_map, + t3 = t2.$index(0, t1); + t3.toString; + t4 = helix.group; + t4 = groups._map$_map.$index(0, t4); + t4.toString; + t2 = t2.$index(0, t1); + t2.toString; + helix_upper_left_corner = t4.transform_point_main_view$2(t2, geometry); + t2 = t4.pitch; + distances = A.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, helix.get$svg_width(), helix.get$svg_height(), t2); + unrotated_point = A.rotate(svg_clicked_point, -t2, helix_upper_left_corner); + t5 = unrotated_point.x; + t6 = distances.x; + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t6 !== "number") + return A.iae(t6); + t7 = unrotated_point.y; + t8 = distances.y; + if (typeof t7 !== "number") + return t7.$add(); + if (typeof t8 !== "number") + return A.iae(t8); + closest_point_in_helix_untransformed = t4.transform_point_main_view$3$inverse(A.rotate(new A.Point(t5 + t6, t7 + t8, type$.Point_double), t2, helix_upper_left_corner), geometry, true); + offset = helix.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, t3.x); + return A._$Address$_(helix.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, t3.y), t1, offset); }, - StrandCreateCommitBuilder: function StrandCreateCommitBuilder() { - var _ = this; - _._actions$_color = _._actions$_forward = _._actions$_end = _._actions$_start = _._actions$_helix_idx = _._$v = null; + svg_position_of_mouse_click($event) { + var offset_in_svg_elt, t2, + t1 = A.browser(); + t1.toString; + offset_in_svg_elt = t1 === $.$get$firefox() ? A.get_svg_point($event) : A.from_point_num(J.get$offset$x($event)); + t1 = A.current_pan(true); + t2 = self.current_zoom_main(); + t1 = offset_in_svg_elt.$sub(0, t1); + if (typeof t2 !== "number") + return A.iae(t2); + return t1.$mul(0, 1 / t2); }, - _$PotentialCrossoverCreate: function _$PotentialCrossoverCreate(t0) { - this.potential_crossover = t0; + get_svg_point($event) { + var t2, t3, + t1 = A.browser(); + t1.toString; + t2 = type$.Point_num; + if (t1 === $.$get$firefox()) { + t1 = A.svg_ancestor(type$.SvgElement._as(A._convertNativeToDart_EventTarget($event.target))).getBoundingClientRect(); + t3 = t1.left; + t3.toString; + t1 = t1.top; + t1.toString; + return A.from_point_num(new A.Point($event.clientX, $event.clientY, t2).$sub(0, new A.Point(t3, t1, t2))); + } else + return A.from_point_num(new A.Point($event.clientX, $event.clientY, t2)); }, - PotentialCrossoverCreateBuilder: function PotentialCrossoverCreateBuilder() { - this._potential_crossover = this._$v = null; + svg_ancestor(elt) { + var t1, t2; + for (t1 = type$.SvgSvgElement, t2 = type$.SvgElement; !t1._is(elt);) + elt = t2._as(elt.parentElement); + return elt; }, - _$PotentialCrossoverMove: function _$PotentialCrossoverMove(t0) { - this.point = t0; + transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, is_main_view, view_svg) { + var point, t2, + t1 = A.browser(); + t1.toString; + if (t1 !== $.$get$firefox()) { + point = A.from_point_num(J.get$offset$x($event)); + t1 = A.current_pan(is_main_view); + t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); + t1 = point.$sub(0, t1); + if (typeof t2 !== "number") + return A.iae(t2); + point = t1.$mul(0, 1 / t2); + } else { + point = A.untransformed_svg_point(view_svg, $event, null); + t1 = A.current_pan(is_main_view); + t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); + t1 = point.$sub(0, t1); + if (typeof t2 !== "number") + return A.iae(t2); + point = t1.$mul(0, 1 / t2); + } + return point; }, - PotentialCrossoverMoveBuilder: function PotentialCrossoverMoveBuilder() { - this._point = this._$v = null; + untransformed_svg_point(svg_elt, $event, mouse_pos) { + var svg_point_SVG_1, t1, t2, + svg_point_SVG = svg_elt.createSVGPoint(); + if (mouse_pos == null) + mouse_pos = A.from_point_num(new A.Point($event.clientX, $event.clientY, type$.Point_num)); + (svg_point_SVG && B.Point_methods).set$x(svg_point_SVG, mouse_pos.x); + B.Point_methods.set$y(svg_point_SVG, mouse_pos.y); + svg_point_SVG_1 = svg_point_SVG.matrixTransform(svg_elt.getScreenCTM().inverse()); + t1 = svg_point_SVG_1.x; + t1.toString; + t2 = svg_point_SVG_1.y; + t2.toString; + return new A.Point(t1, t2, type$.Point_double); }, - _$PotentialCrossoverRemove: function _$PotentialCrossoverRemove() { + transformed_svg_point(svg_elt, is_main, $event, mouse_pos) { + var svg_pos_untransformed = A.untransformed_svg_point(svg_elt, $event, mouse_pos), + t1 = A.current_pan(false), + t2 = self.current_zoom_side(); + t1 = svg_pos_untransformed.$sub(0, t1); + if (typeof t2 !== "number") + return A.iae(t2); + return t1.$mul(0, 1 / t2); }, - PotentialCrossoverRemoveBuilder: function PotentialCrossoverRemoveBuilder() { - this._$v = null; + hex_grid_position_to_position2d_diameter_1_circles(gp) { + var x, + y = gp.v, + t1 = gp.h; + if (B.JSInt_methods.$mod(t1, 2) === 1) + y += Math.cos(1.0471975511965976); + x = Math.sin(1.0471975511965976) * t1; + return new A.Point(x, y, type$.Point_double); }, - _$ManualPasteInitiate: function _$ManualPasteInitiate(t0, t1) { - this.clipboard_content = t0; - this.in_browser = t1; - this._actions$__hashCode = null; + honeycomb_grid_position_to_position2d_diameter_1_circles(gp) { + var t1 = gp.v, + y = 1.5 * t1, + t2 = gp.h, + t3 = B.JSInt_methods.$mod(t2, 2); + if (t3 === 0 && B.JSInt_methods.$mod(t1, 2) === 1) + y += 0.5; + else if (t3 === 1 && B.JSInt_methods.$mod(t1, 2) === 0) + y += Math.cos(1.0471975511965976); + return new A.Point(t2 * Math.sin(1.0471975511965976), y, type$.Point_double); }, - ManualPasteInitiateBuilder: function ManualPasteInitiateBuilder() { - this._in_browser = this._clipboard_content = this._$v = null; + position_2d_to_grid_position_diameter_1_circles(grid, x, y, coordinate_system) { + var h, v, t1; + if (grid === B.Grid_none) + throw A.wrapException(A.ArgumentError$("cannot output grid coordinates for grid = Grid.none", null)); + else if (grid === B.Grid_square) { + h = B.JSNumber_methods.round$0(x); + v = B.JSNumber_methods.round$0(y); + } else if (grid === B.Grid_honeycomb) { + h = B.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + t1 = B.JSInt_methods.$mod(h, 2); + if (t1 === 0) { + if (B.JSInt_methods.$mod(B.JSNumber_methods.floor$0(y), 3) === 2) + y -= 0.5; + } else if (t1 === 1) + if (B.JSInt_methods.$mod(B.JSNumber_methods.floor$0(y - Math.cos(1.0471975511965976)), 3) === 1) + y -= Math.cos(1.0471975511965976); + v = B.JSNumber_methods.round$0(y / 1.5); + } else if (grid === B.Grid_hex) + if (coordinate_system === B.HexGridCoordinateSystem_0) { + v = B.JSNumber_methods.round$0(y / Math.sin(1.0471975511965976)); + h = B.JSNumber_methods.round$0(B.JSInt_methods.$mod(v, 2) === 1 ? x - Math.cos(1.0471975511965976) : x); + } else if (coordinate_system === B.HexGridCoordinateSystem_3) { + h = B.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + v = B.JSNumber_methods.round$0(B.JSInt_methods.$mod(h, 2) === 1 ? y + Math.cos(1.0471975511965976) : y); + } else if (coordinate_system === B.HexGridCoordinateSystem_2) { + h = B.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + v = B.JSNumber_methods.round$0(B.JSInt_methods.$mod(h, 2) === 1 ? y - Math.cos(1.0471975511965976) : y); + } else + throw A.wrapException(A.UnsupportedError$("coordinate system " + coordinate_system.toString$0(0) + " not supported")); + else { + h = null; + v = null; + } + h.toString; + v.toString; + return A.GridPosition_GridPosition(h, v); }, - _$AutoPasteInitiate: function _$AutoPasteInitiate(t0, t1) { - this.clipboard_content = t0; - this.in_browser = t1; - this._actions$__hashCode = null; + grid_position_to_position3d(grid_position, grid, geometry) { + var x, y, point, t1, t2; + if (grid === B.Grid_square) { + x = grid_position.h * geometry.get$distance_between_helices_nm(); + y = grid_position.v * geometry.get$distance_between_helices_nm(); + } else if (grid === B.Grid_hex) { + point = A.hex_grid_position_to_position2d_diameter_1_circles(grid_position); + t1 = point.x; + t2 = geometry.get$distance_between_helices_nm(); + if (typeof t1 !== "number") + return t1.$mul(); + x = t1 * t2; + t2 = point.y; + t1 = geometry.get$distance_between_helices_nm(); + if (typeof t2 !== "number") + return t2.$mul(); + y = t2 * t1; + } else if (grid === B.Grid_honeycomb) { + point = A.honeycomb_grid_position_to_position2d_diameter_1_circles(grid_position); + t1 = point.x; + t2 = geometry.get$distance_between_helices_nm(); + if (typeof t1 !== "number") + return t1.$mul(); + x = t1 * t2; + t2 = point.y; + t1 = geometry.get$distance_between_helices_nm(); + if (typeof t2 !== "number") + return t2.$mul(); + y = t2 * t1; + } else + throw A.wrapException(A.ArgumentError$(string$.cannotc, null)); + return A.Position3D_Position3D(x, y, 0); }, - AutoPasteInitiateBuilder: function AutoPasteInitiateBuilder() { - this._in_browser = this._clipboard_content = this._$v = null; + position3d_to_side_view_svg(position, invert_y, geometry) { + var t3, t4, t5, t6, + t1 = position.x, + t2 = geometry.get$nm_to_svg_pixels(); + A.boolConversionCheck(invert_y); + t3 = invert_y ? -1 : 1; + t4 = position.y; + t5 = geometry.get$nm_to_svg_pixels(); + t6 = invert_y ? -1 : 1; + return new A.Point(t1 * t2 * t3, t4 * t5 * t6, type$.Point_double); }, - _$CopySelectedStrands: function _$CopySelectedStrands() { + svg_side_view_to_position3d(svg_pos, invert_y, geometry) { + var t3, t4, t5, t6, + t1 = svg_pos.x, + t2 = geometry.get$nm_to_svg_pixels(); + if (typeof t1 !== "number") + return t1.$div(); + A.boolConversionCheck(invert_y); + t3 = invert_y ? -1 : 1; + t4 = svg_pos.y; + t5 = geometry.get$nm_to_svg_pixels(); + if (typeof t4 !== "number") + return t4.$div(); + t6 = invert_y ? -1 : 1; + return A.Position3D_Position3D(t1 / t2 * t3, t4 / t5 * t6, 0); }, - CopySelectedStrandsBuilder: function CopySelectedStrandsBuilder() { - this._$v = null; + mandatory_field(map, key, $name, legacy_keys) { + var t2, _i, legacy_key, msg, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) + return t1.$index(map, legacy_key); + } + msg = 'key "' + key + '" is missing from the description of a ' + $name + ":\n " + A.S(map); + throw A.wrapException(A.IllegalDesignError$(t2 !== 0 ? msg + ("\nThese legacy keys are also supported, but were not found either: " + B.JSArray_methods.join$1(legacy_keys, ", ")) : msg)); + } else + return t1.$index(map, key); }, - _$StrandsMoveStart: function _$StrandsMoveStart(t0, t1, t2, t3) { - var _ = this; - _.strands = t0; - _.address = t1; - _.copy = t2; - _.original_helices_view_order_inverse = t3; + optional_field(map, key, default_value, legacy_keys, legacy_transformer, transformer, $T, $U) { + var value, t2, _i, legacy_key, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + t2 = legacy_keys.length; + _i = 0; + while (true) { + if (!(_i < t2)) { + value = null; + break; + } + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) { + value = t1.$index(map, legacy_key); + if (legacy_transformer != null) + return legacy_transformer.call$1($U._as(value)); + break; + } + ++_i; + } + if (value == null) + return default_value; + } else + value = t1.$index(map, key); + if (transformer == null) + return $T._as(value); + else + return transformer.call$1($U._as(value)); }, - StrandsMoveStartBuilder: function StrandsMoveStartBuilder() { - var _ = this; - _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._actions$_strands = _._$v = null; + optional_field_with_null_default(map, key, legacy_keys, $T, $U) { + var t2, _i, legacy_key, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) + return $T._eval$1("0?")._as(t1.$index(map, legacy_key)); + } + return null; + } else { + t1 = $T._eval$1("0?")._as(t1.$index(map, key)); + return t1; + } }, - _$StrandsMoveStartSelectedStrands: function _$StrandsMoveStartSelectedStrands(t0, t1, t2) { - this.address = t0; - this.copy = t1; - this.original_helices_view_order_inverse = t2; + current_pan(is_main) { + var ret = is_main ? self.current_pan_main() : self.current_pan_side(), + t1 = J.getInterceptor$asx(ret); + return new A.Point(t1.$index(ret, 0), t1.$index(ret, 1), type$.Point_double); }, - StrandsMoveStartSelectedStrandsBuilder: function StrandsMoveStartSelectedStrandsBuilder() { - var _ = this; - _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._$v = null; + get_scadnano_stylesheet() { + var t1, t2, _i, stylesheet, t3, t4; + for (t1 = document.styleSheets, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + stylesheet = t1[_i]; + t3 = stylesheet.href; + if (t3 != null) { + t4 = t3.length; + t3 = A.stringContainsUnchecked(t3, "scadnano-styles.css", 0); + } else + t3 = false; + if (t3) + return type$.CssStyleSheet._as(stylesheet); + } + t1 = A._setArrayType([], type$.JSArray_nullable_String); + for (t2 = A.document().styleSheets, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) + t1.push(t2[_i].href); + throw A.wrapException(A.AssertionError$('cannot find stylesheet containing "scadnano-styles.css" in its href\nlist of stylesheet hrefs:\n' + B.JSArray_methods.join$1(t1, "\n"))); }, - _$StrandsMoveStop: function _$StrandsMoveStop() { + blob_type_to_string(blob_type) { + switch (blob_type) { + case B.BlobType_0: + return "text/plain;charset=utf-8"; + case B.BlobType_1: + return "application/octet-stream"; + case B.BlobType_2: + return "image/svg+xml;charset=utf-8,"; + case B.BlobType_3: + return string$.applic; + default: + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); + } }, - StrandsMoveStopBuilder: function StrandsMoveStopBuilder() { - this._$v = null; + copy_svg_as_png(svg_element) { + return A.copy_svg_as_png$body(svg_element); }, - _$StrandsMoveAdjustAddress: function _$StrandsMoveAdjustAddress(t0) { - this.address = t0; + copy_svg_as_png$body(svg_element) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + serializer, source, svgUrl, svgImage, stackTrace, stackTrace0, t1, exception; + var $async$copy_svg_as_png = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + serializer = new XMLSerializer(); + source = J.serializeToString$1$x(serializer, svg_element); + svgUrl = (self.URL || self.webkitURL).createObjectURL(A.Blob_Blob([source], "image/svg+xml")); + svgImage = A.ImageElement_ImageElement(svgUrl); + t1 = document.body; + t1.toString; + B.BodyElement_methods.append$1(t1, svgImage); + J.addEventListener$2$x(svgImage, "load", new A.copy_svg_as_png_closure(svg_element, svgImage, svgUrl)); + J.set$src$x(svgImage, svgUrl); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + stackTrace = A.getTraceFromException(exception); + A.print(stackTrace); + } else if (type$.Error._is(t1)) { + stackTrace0 = A.getTraceFromException(exception); + A.print(stackTrace0); + } else + throw exception; + } + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$copy_svg_as_png, $async$completer); }, - StrandsMoveAdjustAddressBuilder: function StrandsMoveAdjustAddressBuilder() { - this._actions$_address = this._$v = null; + save_file(default_filename, $content, and_then, blob_type) { + return A.save_file$body(default_filename, $content, and_then, blob_type); }, - _$StrandsMoveCommit: function _$StrandsMoveCommit(t0, t1) { - this.strands_move = t0; - this.autopaste = t1; + save_file$body(default_filename, $content, and_then, blob_type) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + blob_type_string, blob, url, link, e, stackTrace, e0, stackTrace0, link0, t1, exception, t2; + var $async$save_file = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + blob_type_string = A.blob_type_to_string(blob_type); + blob = A.Blob_Blob([$content], blob_type_string); + url = (self.URL || self.webkitURL).createObjectURL(blob); + link0 = A.AnchorElement_AnchorElement(); + B.AnchorElement_methods.set$href(link0, url); + B.AnchorElement_methods.set$download(link0, default_filename); + link = link0; + t1 = A.browser(); + t1.toString; + if (t1 === $.$get$firefox()) { + t1 = document.body; + t1.toString; + t1.appendChild(type$.Element._as(link)); + } + J.click$0$x(link); + t1 = A.browser(); + t1.toString; + if (t1 === $.$get$firefox()) + J.remove$0$ax(link); + (self.URL || self.webkitURL).revokeObjectURL(url); + if (and_then != null) + and_then.call$0(); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + e = t1; + stackTrace = A.getTraceFromException(exception); + t1 = A.S(e); + t2 = A.stack_trace_message_bug_report(stackTrace); + B.Window_methods.alert$1(window, "error while saving file: " + t1 + t2); + } else if (type$.Error._is(t1)) { + e0 = t1; + stackTrace0 = A.getTraceFromException(exception); + t1 = A.S(e0); + t2 = A.stack_trace_message_bug_report(stackTrace0); + B.Window_methods.alert$1(window, "error while saving file: " + t1 + t2); + } else + throw exception; + } + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$save_file, $async$completer); }, - StrandsMoveCommitBuilder: function StrandsMoveCommitBuilder() { - this._autopaste = this._actions$_strands_move = this._$v = null; + stack_trace_message_bug_report(stack_trace) { + return "\n\n**********************************************************************************\n* If you believe this is due to a bug in scadnano, please file a bug report at *\n* https://github.com/UC-Davis-molecular-computing/scadnano/issues" + B.JSString_methods.$mul(" ", 14) + "*\n* Include this entire message in the email. *\n**********************************************************************************\n\nstack trace:\n" + A.S(stack_trace); }, - _$DomainsMoveStartSelectedDomains: function _$DomainsMoveStartSelectedDomains(t0, t1) { - this.address = t0; - this.original_helices_view_order_inverse = t1; + rotation_between_helices(helix, helix_other, $forward, geometry) { + var pos1 = helix.get$position3d(), + pos2 = helix_other.get$position3d(), + rotation = B.JSNumber_methods.$mod(Math.atan2(pos2.x - pos1.x, -(pos2.y - pos1.y)), 6.283185307179586) * 360 / 6.283185307179586; + return !$forward ? B.JSNumber_methods.$mod(rotation - geometry.minor_groove_angle, 360) : rotation; }, - DomainsMoveStartSelectedDomainsBuilder: function DomainsMoveStartSelectedDomainsBuilder() { - this._actions$_original_helices_view_order_inverse = this._actions$_address = this._$v = null; - }, - _$DomainsMoveStop: function _$DomainsMoveStop() { + rotate(point, angle_degrees, origin) { + var t3, t4, + angle_radians = angle_degrees * 2 * 3.141592653589793 / 360, + point_relative_to_origin = point.$sub(0, origin), + t1 = point_relative_to_origin.x, + t2 = Math.cos(angle_radians); + if (typeof t1 !== "number") + return t1.$mul(); + t3 = point_relative_to_origin.y; + t4 = Math.sin(angle_radians); + if (typeof t3 !== "number") + return t3.$mul(); + return new A.Point(t1 * t2 - t3 * t4, t1 * Math.sin(angle_radians) + t3 * Math.cos(angle_radians), type$.Point_double).$add(0, origin); }, - DomainsMoveStopBuilder: function DomainsMoveStopBuilder() { - this._$v = null; + helices_view_order_is_default(helix_idxs, group) { + var t1, t2, + default_helices_view_order = A.List_List$from(helix_idxs, true, type$.int); + B.JSArray_methods.sort$0(default_helices_view_order); + t1 = group.helices_view_order; + t2 = t1._list; + return type$.bool_Function_2_nullable_List_dynamic_and_nullable_List_dynamic._as(B.ListEquality_DefaultEquality.get$equals()).call$2(new A.CopyOnWriteList(true, t2, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")), default_helices_view_order); }, - _$DomainsMoveAdjustAddress: function _$DomainsMoveAdjustAddress(t0) { - this.address = t0; + get_address_on_helix($event, helix, group, geometry, helix_svg_position) { + var t1 = type$.String, + t2 = type$.HelixGroup, + t3 = type$.int, + t4 = type$.Point_double; + return A.find_closest_address($event, A._setArrayType([helix], type$.JSArray_Helix), A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([helix.group, group], t1, t2), t1, t2), geometry, A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([helix.idx, helix_svg_position], t3, t4), t3, t4)); }, - DomainsMoveAdjustAddressBuilder: function DomainsMoveAdjustAddressBuilder() { - this._actions$_address = this._$v = null; + merge_wildcards(s1, s2, wildcard) { + var t1, t2, union_builder, i, c1, c2; + A._asStringS(s1); + A._asStringS(s2); + A._asStringS(wildcard); + t1 = s1.length; + t2 = s2.length; + if (t1 !== t2) + throw A.wrapException(A.ArgumentError$("\ns1=" + s1 + " and\ns2=" + s2 + "\nare not the same length.", null)); + union_builder = A._setArrayType([], type$.JSArray_String); + for (i = 0; i < t1; ++i) { + c1 = s1[i]; + if (!(i < t2)) + return A.ioore(s2, i); + c2 = s2[i]; + if (c1 === wildcard) + B.JSArray_methods.add$1(union_builder, c2); + else if (c2 === wildcard) + B.JSArray_methods.add$1(union_builder, c1); + else if (c1 !== c2) + throw A.wrapException(A.ArgumentError$("s1=" + s1 + " and s2=" + s2 + " have unequal symbols " + c1 + " and " + c2 + " at position " + i + ".", null)); + else + B.JSArray_methods.add$1(union_builder, c1); + } + return B.JSArray_methods.join$1(union_builder, ""); }, - _$DomainsMoveCommit: function _$DomainsMoveCommit(t0) { - this.domains_move = t0; + merge_wildcards_favor_first(s1, s2, wildcard) { + var t1, t2, union_builder, i, c1, c2; + A._asStringS(s1); + A._asStringS(s2); + A._asStringS(wildcard); + t1 = s1.length; + t2 = s2.length; + if (t1 !== t2) + throw A.wrapException(A.ArgumentError$("\ns1=" + s1 + " and\ns2=" + s2 + "\nare not the same length.", null)); + union_builder = A._setArrayType([], type$.JSArray_String); + for (i = 0; i < t1; ++i) { + c1 = s1[i]; + if (!(i < t2)) + return A.ioore(s2, i); + c2 = s2[i]; + if (c1 === wildcard) + B.JSArray_methods.add$1(union_builder, c2); + else if (c2 === wildcard) + B.JSArray_methods.add$1(union_builder, c1); + else + B.JSArray_methods.add$1(union_builder, c1); + } + return B.JSArray_methods.join$1(union_builder, ""); }, - DomainsMoveCommitBuilder: function DomainsMoveCommitBuilder() { - this._actions$_domains_move = this._$v = null; + check_dna_sequence(seq) { + var regex, counter_example, i, _null = null, + t1 = A.RegExp_RegExp("\\s+", true), + seq_no_spaces = A.stringReplaceAllUnchecked(seq, t1, ""); + t1 = seq_no_spaces.length; + if (t1 === 0) + throw A.wrapException(A.FormatException$('"' + seq + '" is not a valid DNA sequence; it cannot be empty', _null, _null)); + regex = A.RegExp_RegExp("^([acgtACGT])+$", true); + if (regex._nativeRegExp.test(seq_no_spaces)) + return true; + else { + for (counter_example = "NONE", i = 0; i < t1; ++i) { + counter_example = seq_no_spaces[i]; + if (counter_example !== "A" && counter_example !== "C" && counter_example !== "G" && counter_example !== "T" && counter_example !== "a" && counter_example !== "c" && counter_example !== "g" && counter_example !== "t") + break; + } + throw A.wrapException(A.FormatException$("
" + A.with_newlines(seq, 100) + "
" + ("is not a valid DNA sequence; it can only contain the symbols a c g t A C G T but it contains the symbol " + counter_example), _null, _null)); + } }, - _$DNAEndsMoveStart: function _$DNAEndsMoveStart(t0, t1) { - this.offset = t0; - this.helix = t1; + with_newlines(string, width) { + var t1, i, i0, + lines = A._setArrayType([], type$.JSArray_String); + for (t1 = string.length, i = 0; i < t1; i = i0) { + i0 = i + width; + B.JSArray_methods.add$1(lines, B.JSString_methods.substring$2(string, i, Math.min(i0, t1))); + } + return B.JSArray_methods.join$1(lines, "\n"); }, - DNAEndsMoveStartBuilder: function DNAEndsMoveStartBuilder() { - this._actions$_helix = this._actions$_offset = this._$v = null; + wc(seq) { + var t1 = type$.ReversedListIterable_String; + return new A.MappedListIterable(new A.ReversedListIterable(A._setArrayType(seq.split(""), type$.JSArray_String), t1), t1._eval$1("String(ListIterable.E)")._as(new A.wc_closure()), t1._eval$1("MappedListIterable")).join$1(0, ""); }, - _$DNAEndsMoveSetSelectedEnds: function _$DNAEndsMoveSetSelectedEnds(t0, t1, t2, t3) { - var _ = this; - _.moves = t0; - _.original_offset = t1; - _.helix = t2; - _.strands_affected = t3; + wc_base(base) { + switch (base) { + case "A": + return "T"; + case "a": + return "t"; + case "C": + return "G"; + case "C": + return "g"; + case "G": + return "C"; + case "g": + return "c"; + case "T": + return "A"; + case "t": + return "a"; + } + return base; }, - DNAEndsMoveSetSelectedEndsBuilder: function DNAEndsMoveSetSelectedEndsBuilder() { - var _ = this; - _._strands_affected = _._actions$_helix = _._actions$_original_offset = _._actions$_moves = _._$v = null; + bases_complementary(base1, base2, allow_null, allow_wildcard) { + var t1 = base1 === "?" || base2 === "?"; + if (t1) + return true; + if (base1.length !== 1 || base2.length !== 1) + throw A.wrapException(A.ArgumentError$("base1 and base2 must each be a single character: base1 = " + base1 + ", base2 = " + base2, null)); + base1 = base1.toUpperCase(); + base2 = base2.toUpperCase(); + t1 = type$.dynamic; + return $.$get$set_equality().equals$2(A.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), A.LinkedHashSet_LinkedHashSet$_literal(["A", "T"], t1)) || $.$get$set_equality().equals$2(A.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), A.LinkedHashSet_LinkedHashSet$_literal(["C", "G"], t1)); }, - _$DNAEndsMoveAdjustOffset: function _$DNAEndsMoveAdjustOffset(t0) { - this.offset = t0; + reverse_complementary(seq1, seq2, allow_null, allow_wildcard) { + var t1, t2, j, i, b1; + if (seq1 == null || seq2 == null) + return true; + t1 = seq1.length; + t2 = seq2.length; + if (t1 !== t2) + return false; + for (j = t2 - 1, i = 0; i < t1; ++i, --j) { + b1 = seq1[i]; + if (!(j >= 0)) + return A.ioore(seq2, j); + if (!A.bases_complementary(b1, seq2[j], true, true)) + return false; + } + return true; }, - DNAEndsMoveAdjustOffsetBuilder: function DNAEndsMoveAdjustOffsetBuilder() { - this._actions$_offset = this._$v = null; + parse_json_color(json_obj) { + var r, g, b, hex_str, t1, exception; + try { + if (type$.Map_dynamic_dynamic._is(json_obj)) { + t1 = J.getInterceptor$asx(json_obj); + r = A._asIntS(t1.$index(json_obj, "r")); + g = A._asIntS(t1.$index(json_obj, "g")); + b = A._asIntS(t1.$index(json_obj, "b")); + return new A.RgbColor(r, g, b); + } else if (typeof json_obj == "string") { + t1 = A.HexColor_HexColor(json_obj); + return t1; + } else if (A._isInt(json_obj)) { + hex_str = "#" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(json_obj, 16), 6, "0"); + t1 = A.HexColor_HexColor(hex_str); + return t1; + } else { + t1 = A.ArgumentError$value("JSON object representing color must be a Map, String, or int, but instead it is a " + J.get$runtimeType$(json_obj).toString$0(0) + ":\n" + A.S(json_obj), null, null); + throw A.wrapException(t1); + } + } catch (exception) { + if (type$.Exception._is(A.unwrapException(exception))) { + A.print("WARNING: I couldn't understand the color specification " + A.S(json_obj) + ", so I'm substituting black."); + return A.RgbColor_RgbColor$name("black"); + } else + throw exception; + } }, - _$DNAEndsMoveStop: function _$DNAEndsMoveStop() { + dispatch_set_zoom_threshold(new_zoom_threshold) { + A._asBoolS(new_zoom_threshold); + $.__app._readField$0().dispatch$1(A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(new_zoom_threshold)); }, - _$DNAEndsMoveCommit: function _$DNAEndsMoveCommit(t0) { - this.dna_ends_move = t0; + svg_to_png_data() { + var t2, dna_sequence_element, strands_element, svg, dna_sequence_element_copy, strands_element_copy, bbox, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset, svg_width, svg_height, url, ctx, t3, img, + t1 = document, + dna_sequence_element_list = t1.getElementsByClassName("dna-sequences-main-view"), + strands_element_list = t1.getElementsByClassName("strands-main-view"); + if (t1.getElementById("dna-sequences-main-view-png") == null) + if (dna_sequence_element_list.length !== 0) + if (strands_element_list.length !== 0) { + t2 = type$.GraphicsElement._as(J.get$first$ax(dna_sequence_element_list)); + t2 = new A.FilteredElementList(t2, new A._ChildNodeListLazy(t2)); + if (t2.get$length(t2) !== 0) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).ui_state.dna_sequence_png_uri != null; + } else + t2 = true; + } else + t2 = true; + else + t2 = true; + else + t2 = true; + if (t2) + return; + t2 = type$.GraphicsElement; + dna_sequence_element = t2._as(J.get$first$ax(dna_sequence_element_list)); + strands_element = t2._as(J.get$first$ax(strands_element_list)); + svg = A.SvgSvgElement_SvgSvgElement(); + dna_sequence_element_copy = t2._as(A.clone_and_apply_style(dna_sequence_element)); + strands_element_copy = t2._as(A.clone_and_apply_style(strands_element)); + strands_element_copy.setAttribute("display", "none"); + bbox = dna_sequence_element.getBBox(); + t2 = bbox.x; + t2.toString; + dna_sequence_png_horizontal_offset = 50 - t2; + t2 = bbox.y; + t2.toString; + dna_sequence_png_vertical_offset = 50 - t2; + dna_sequence_element_copy.setAttribute("transform", "translate(" + A.S(dna_sequence_png_horizontal_offset) + ", " + A.S(dna_sequence_png_vertical_offset) + ")"); + svg.appendChild(strands_element_copy); + svg.appendChild(dna_sequence_element_copy); + t2 = bbox.width; + t2.toString; + svg_width = B.JSNumber_methods.toInt$0(t2 + 50); + t2 = bbox.height; + t2.toString; + svg_height = B.JSNumber_methods.toInt$0(t2 + 50); + svg.setAttribute("width", B.JSInt_methods.toString$0(svg_width)); + svg.setAttribute("height", B.JSInt_methods.toString$0(svg_height)); + url = (self.URL || self.webkitURL).createObjectURL(A.Blob_Blob([new XMLSerializer().serializeToString(svg)], A.blob_type_to_string(B.BlobType_2))); + t1 = t1.createElement("canvas"); + type$.CanvasElement._as(t1); + B.CanvasElement_methods.set$width(t1, svg_width); + B.CanvasElement_methods.set$height(t1, svg_height); + t1.setAttribute("style", "width: " + A.S(t1.width) + "px; height: " + A.S(t1.height) + "px;"); + ctx = t1.getContext("2d"); + t2 = bbox.width; + t2.toString; + t3 = bbox.height; + t3.toString; + ctx.clearRect(0, 0, t2, t3); + img = A.ImageElement_ImageElement(url); + t3 = type$._ElementEventStreamImpl_legacy_Event; + t1 = t3._eval$1("~(1)?")._as(new A.svg_to_png_data_closure(ctx, img, url, t1, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(img, "load", t1, false, t3._precomputed1); }, - DNAEndsMoveCommitBuilder: function DNAEndsMoveCommitBuilder() { - this._dna_ends_move = this._$v = null; + unused_fields_map(map, fields) { + var _i, + t1 = type$.dynamic, + new_map = A.LinkedHashMap_LinkedHashMap$from(map, t1, t1); + for (t1 = fields.length, _i = 0; _i < fields.length; fields.length === t1 || (0, A.throwConcurrentModificationError)(fields), ++_i) + new_map.remove$1(0, fields[_i]); + return A.MapBuilder_MapBuilder(new_map, type$.String, type$.Object); }, - _$DNAExtensionsMoveStart: function _$DNAExtensionsMoveStart(t0, t1) { - this.start_point = t0; - this.helix = t1; + async_alert(msg) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); + var $async$async_alert = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 2; + return A._asyncAwait(null, $async$async_alert); + case 2: + // returning from await. + A.Timer_Timer(A.Duration$(1, 0, 0), new A.async_alert_closure(msg)); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$async_alert, $async$completer); }, - DNAExtensionsMoveStartBuilder: function DNAExtensionsMoveStartBuilder() { - this._actions$_helix = this._actions$_start_point = this._$v = null; + compute_end_rotation(display_angle, $forward, is_5p) { + var radians, x, y, t1; + if (typeof display_angle !== "number") + return display_angle.$mul(); + radians = display_angle * 2 * 3.141592653589793 / 360; + x = Math.cos(radians); + y = Math.sin(radians); + A.boolConversionCheck($forward); + t1 = !$forward; + if (t1) + x = -x; + if (!($forward && A.boolConversionCheck(is_5p))) + t1 = t1 && !A.boolConversionCheck(is_5p); + else + t1 = true; + if (t1) + x = -x; + return Math.atan2(-y, x) * 360 / 6.283185307179586; }, - _$DNAExtensionsMoveSetSelectedExtensionEnds: function _$DNAExtensionsMoveSetSelectedExtensionEnds(t0, t1, t2, t3) { - var _ = this; - _.moves = t0; - _.original_point = t1; - _.strands_affected = t2; - _.helix = t3; + compute_extension_attached_end_svg(ext, adj_dom, adj_helix, adj_helix_svg_y) { + var end_offset = ext.is_5p ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(); + return adj_helix.svg_base_pos$3(end_offset, adj_dom.forward, adj_helix_svg_y); }, - DNAExtensionsMoveSetSelectedExtensionEndsBuilder: function DNAExtensionsMoveSetSelectedExtensionEndsBuilder() { - var _ = this; - _._actions$_helix = _._strands_affected = _._original_point = _._actions$_moves = _._$v = null; + compute_extension_free_end_svg(attached_end_svg, ext, adjacent_domain, geometry) { + var x = attached_end_svg.x, + y = attached_end_svg.y, + angle_radians = ext.display_angle * 2 * 3.141592653589793 / 360, + t1 = ext.display_length, + x_delta = t1 * Math.cos(angle_radians) * geometry.get$nm_to_svg_pixels(), + y_delta = t1 * Math.sin(angle_radians) * geometry.get$nm_to_svg_pixels(); + t1 = adjacent_domain.forward; + if (t1) + y_delta = -y_delta; + if (!(t1 && ext.is_5p)) + t1 = !t1 && !ext.is_5p; + else + t1 = true; + if (t1) + x_delta = -x_delta; + if (typeof x !== "number") + return x.$add(); + if (typeof y !== "number") + return y.$add(); + return new A.Point(x + x_delta, y + y_delta, type$.Point_double); }, - _$DNAExtensionsMoveAdjustPosition: function _$DNAExtensionsMoveAdjustPosition(t0) { - this.position = t0; + compute_extension_length_and_angle_from_point(current_mouse_point, attached_end_svg, ext, adjacent_domain, geometry) { + var x_delta, y_delta, t1, t2, angle_radians, t3, + new_x = current_mouse_point.x, + new_y = current_mouse_point.y, + old_x = attached_end_svg.x, + old_y = attached_end_svg.y; + if (typeof new_x !== "number") + return new_x.$sub(); + if (typeof old_x !== "number") + return A.iae(old_x); + x_delta = new_x - old_x; + if (typeof new_y !== "number") + return new_y.$sub(); + if (typeof old_y !== "number") + return A.iae(old_y); + y_delta = new_y - old_y; + t1 = Math.sqrt(x_delta * x_delta + y_delta * y_delta); + t2 = geometry.get$svg_pixels_to_nm(); + angle_radians = Math.atan2(y_delta, x_delta); + t3 = adjacent_domain.forward; + if (t3) + angle_radians = -angle_radians; + if (!(t3 && ext.is_5p)) + t3 = !t3 && !ext.is_5p; + else + t3 = true; + if (t3) + angle_radians = 3.141592653589793 - angle_radians; + return new A.Tuple2(t1 * t2, angle_radians * 180 / 3.141592653589793, type$.Tuple2_double_double); }, - DNAExtensionsMoveAdjustPositionBuilder: function DNAExtensionsMoveAdjustPositionBuilder() { - this._actions$_position = this._$v = null; + update_mouseover(event_syn, helix, helix_svg_position) { + var $event, t2, address, mouseover_params, _s5_ = "store", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) { + $event = type$.MouseEvent._as(J.get$nativeEvent$x(event_syn)); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = helix.group; + t2 = t1._map$_map.$index(0, t2); + t2.toString; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + address = A.get_address_on_helix($event, helix, t2, t1.get$state(t1).get$design().geometry, helix_svg_position); + mouseover_params = A.MouseoverParams_MouseoverParams(helix.idx, address.offset, address.forward); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (A.needs_update(mouseover_params, t1.get$state(t1).ui_state.mouseover_datas)) + $.__app._readField$0().dispatch$1(A._$MouseoverDataUpdate$_(A.BuiltList_BuiltList$from([mouseover_params], type$.MouseoverParams))); + } }, - _$DNAExtensionsMoveStop: function _$DNAExtensionsMoveStop() { + needs_update(mouseover_params, mouseover_datas) { + var t1, t2, t3, t4, needs, t5; + for (t1 = mouseover_datas._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = mouseover_params.helix_idx, t3 = mouseover_params.offset, t4 = mouseover_params.forward, needs = true; t1.moveNext$0();) { + t5 = t1.__interceptors$_current; + if (t5.helix.idx === t2) + if (t5.offset === t3) { + t5 = t5.domain; + t5 = (t5 == null ? null : t5.forward) === t4; + } else + t5 = false; + else + t5 = false; + if (t5) + needs = false; + } + return needs; }, - _$DNAExtensionsMoveCommit: function _$DNAExtensionsMoveCommit(t0) { - this.dna_extensions_move = t0; + invert_helices_view_order(helices_view_order) { + var t1, order, order0, + view_order_inverse = new A.JsLinkedHashMap(type$.JsLinkedHashMap_int_int); + for (t1 = J.get$iterator$ax(helices_view_order), order = 0; t1.moveNext$0(); order = order0) { + order0 = order + 1; + view_order_inverse.$indexSet(0, t1.get$current(t1), order); + } + return view_order_inverse; }, - DNAExtensionsMoveCommitBuilder: function DNAExtensionsMoveCommitBuilder() { - this._dna_extensions_move = this._$v = null; + minimum_strain_angle(relative_angles) { + var t2, _i, angle, t3, t4, + t1 = A._setArrayType([], type$.JSArray_double); + for (t2 = relative_angles.length, _i = 0; _i < relative_angles.length; relative_angles.length === t2 || (0, A.throwConcurrentModificationError)(relative_angles), ++_i) { + angle = relative_angles[_i]; + t3 = angle.item1; + t4 = angle.item2; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + t1.push(t3 - t4); + } + return B.JSNumber_methods.$mod(-A.average_angle(t1), 360); }, - _$HelixGroupMoveStart: function _$HelixGroupMoveStart(t0) { - this.mouse_point = t0; + sum_squared_angle_distances(angles, angle) { + var t1, sum, _i, a, a0, b, diff; + for (t1 = angles.length, sum = 0, _i = 0; _i < t1; ++_i) { + a = angles[_i]; + a0 = B.JSNumber_methods.$mod(angle - a, 360); + b = B.JSNumber_methods.$mod(a - angle, 360); + diff = a0 < b ? -a0 : b; + sum += diff * diff; + } + return sum; }, - HelixGroupMoveStartBuilder: function HelixGroupMoveStartBuilder() { - this._mouse_point = this._$v = null; + average_angle(angles) { + var t1, mean_angle, min_dist, optimal_angle, n, candidate_angle, candidate_dist, + num_angles = angles.length; + if (num_angles > 0) { + t1 = B.JSArray_methods.reduce$1(angles, new A.average_angle_closure()); + if (typeof t1 !== "number") + return t1.$div(); + mean_angle = t1 / num_angles; + } else + mean_angle = 0; + for (min_dist = 1 / 0, optimal_angle = 0, n = 0; n < num_angles; ++n) { + candidate_angle = mean_angle + 360 * n / num_angles; + candidate_dist = A.sum_squared_angle_distances(angles, candidate_angle); + if (min_dist > candidate_dist) { + optimal_angle = candidate_angle; + min_dist = candidate_dist; + } + } + optimal_angle = B.JSNumber_methods.$mod(optimal_angle, 360); + if (Math.abs(360 - optimal_angle) < 1e-9) + optimal_angle = 0; + return B.JSNumber_methods.round$0(optimal_angle * Math.pow(10, 9)) / Math.pow(10, 9); }, - _$HelixGroupMoveCreate: function _$HelixGroupMoveCreate(t0) { - this.helix_group_move = t0; + add_if_not_null(set, elt, $T) { + return elt == null ? set : set.rebuild$1(new A.add_if_not_null_closure(elt, $T)); }, - HelixGroupMoveCreateBuilder: function HelixGroupMoveCreateBuilder() { - this._helix_group_move = this._$v = null; + from_point_num(point) { + var t2, + t1 = point.x; + t1.toString; + t2 = point.y; + t2.toString; + return new A.Point(t1, t2, type$.Point_double); }, - _$HelixGroupMoveAdjustTranslation: function _$HelixGroupMoveAdjustTranslation(t0) { - this.mouse_point = t0; + ColorCycler: function ColorCycler() { + this.idx = 0; }, - HelixGroupMoveAdjustTranslationBuilder: function HelixGroupMoveAdjustTranslationBuilder() { - this._mouse_point = this._$v = null; + are_all_close_closure: function are_all_close_closure(t0) { + this.epsilon = t0; }, - _$HelixGroupMoveStop: function _$HelixGroupMoveStop() { + get_text_file_content_closure: function get_text_file_content_closure() { }, - HelixGroupMoveStopBuilder: function HelixGroupMoveStopBuilder() { - this._$v = null; + get_binary_file_content_closure: function get_binary_file_content_closure() { }, - _$HelixGroupMoveCommit: function _$HelixGroupMoveCommit(t0) { - this.helix_group_move = t0; + dialog_closure: function dialog_closure(t0) { + this.completer = t0; }, - HelixGroupMoveCommitBuilder: function HelixGroupMoveCommitBuilder() { - this._helix_group_move = this._$v = null; + dialog__closure: function dialog__closure(t0) { + this.completer = t0; }, - _$AssignDNA: function _$AssignDNA(t0, t1) { - this.strand = t0; - this.dna_assign_options = t1; + Version: function Version(t0, t1, t2) { + this.major = t0; + this.minor = t1; + this.patch = t2; }, - AssignDNABuilder: function AssignDNABuilder() { - this._actions$_dna_assign_options = this._strand = this._$v = null; + HexGridCoordinateSystem: function HexGridCoordinateSystem(t0) { + this._core$_name = t0; }, - _$AssignDNAComplementFromBoundStrands: function _$AssignDNAComplementFromBoundStrands(t0) { - this.strands = t0; - this._actions$__hashCode = null; + Pan: function Pan() { }, - AssignDNAComplementFromBoundStrandsBuilder: function AssignDNAComplementFromBoundStrandsBuilder() { - this._actions$_strands = this._$v = null; + BlobType: function BlobType(t0) { + this._core$_name = t0; }, - _$AssignDomainNameComplementFromBoundStrands: function _$AssignDomainNameComplementFromBoundStrands(t0) { - this.strands = t0; - this._actions$__hashCode = null; + copy_svg_as_png_closure: function copy_svg_as_png_closure(t0, t1, t2) { + this.svg_element = t0; + this.svgImage = t1; + this.svgUrl = t2; }, - AssignDomainNameComplementFromBoundStrandsBuilder: function AssignDomainNameComplementFromBoundStrandsBuilder() { - this._actions$_strands = this._$v = null; + wc_closure: function wc_closure() { }, - _$AssignDomainNameComplementFromBoundDomains: function _$AssignDomainNameComplementFromBoundDomains(t0) { - this.domains = t0; - this._actions$__hashCode = null; + svg_to_png_data_closure: function svg_to_png_data_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.ctx = t0; + _.img = t1; + _.url = t2; + _.canvas = t3; + _.dna_sequence_png_horizontal_offset = t4; + _.dna_sequence_png_vertical_offset = t5; }, - AssignDomainNameComplementFromBoundDomainsBuilder: function AssignDomainNameComplementFromBoundDomainsBuilder() { - this._domains = this._$v = null; + async_alert_closure: function async_alert_closure(t0) { + this.msg = t0; }, - _$RemoveDNA: function _$RemoveDNA(t0, t1, t2) { - this.strand = t0; - this.remove_complements = t1; - this.remove_all = t2; + average_angle_closure: function average_angle_closure() { }, - RemoveDNABuilder: function RemoveDNABuilder() { - var _ = this; - _._remove_all = _._remove_complements = _._strand = _._$v = null; + FixedList: function FixedList(t0, t1, t2) { + this._util$_items = t0; + this._initialized = t1; + this.$ti = t2; }, - _$InsertionAdd: function _$InsertionAdd(t0, t1, t2) { - this.domain = t0; - this.offset = t1; - this.all_helices = t2; + _FixedListIterator: function _FixedListIterator(t0, t1) { + this._util$_list = t0; + this._util$_index = -1; + this.$ti = t1; }, - InsertionAddBuilder: function InsertionAddBuilder() { - var _ = this; - _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + add_if_not_null_closure: function add_if_not_null_closure(t0, t1) { + this.elt = t0; + this.T = t1; }, - _$InsertionLengthChange: function _$InsertionLengthChange(t0, t1, t2, t3) { - var _ = this; - _.domain = t0; - _.insertion = t1; - _.length = t2; - _.all_helices = t3; + _$End3Prime(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$End3PrimeProps$JsMap$(new A.JsBackedMap({})) : A._$$End3PrimeProps__$$End3PrimeProps(backingProps); }, - InsertionLengthChangeBuilder: function InsertionLengthChangeBuilder() { - var _ = this; - _._all_helices = _._actions$_length = _._insertion = _._actions$_domain = _._$v = null; + _$$End3PrimeProps__$$End3PrimeProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$End3PrimeProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$End3PrimeProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, _null, _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._lib_3p_end$_props = backingMap; + return t1; + } }, - _$InsertionsLengthChange: function _$InsertionsLengthChange(t0, t1, t2, t3) { - var _ = this; - _.insertions = t0; - _.domains = t1; - _.length = t2; - _.all_helices = t3; + _$$End3PrimeProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$End3PrimeProps$JsMap(new A.JsBackedMap({}), $, $, $, $, _null, _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._lib_3p_end$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - InsertionsLengthChangeBuilder: function InsertionsLengthChangeBuilder() { - var _ = this; - _._all_helices = _._actions$_length = _._domains = _._actions$_insertions = _._$v = null; + End3PrimeProps: function End3PrimeProps() { }, - _$DeletionAdd: function _$DeletionAdd(t0, t1, t2) { - this.domain = t0; - this.offset = t1; - this.all_helices = t2; + End3PrimeComponent: function End3PrimeComponent() { }, - DeletionAddBuilder: function DeletionAddBuilder() { - var _ = this; - _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + $End3PrimeComponentFactory_closure: function $End3PrimeComponentFactory_closure() { }, - _$InsertionRemove: function _$InsertionRemove(t0, t1, t2) { - this.domain = t0; - this.insertion = t1; - this.all_helices = t2; + _$$End3PrimeProps: function _$$End3PrimeProps() { }, - InsertionRemoveBuilder: function InsertionRemoveBuilder() { + _$$End3PrimeProps$PlainMap: function _$$End3PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _._all_helices = _._insertion = _._actions$_domain = _._$v = null; + _._lib_3p_end$_props = t0; + _.End3PrimeProps___End3PrimeProps_classname_A = t1; + _.End3PrimeProps___End3PrimeProps_pos_A = t2; + _.End3PrimeProps___End3PrimeProps_color_A = t3; + _.End3PrimeProps___End3PrimeProps_forward_A = t4; + _.End3PrimeProps_on_pointer_down = t5; + _.End3PrimeProps_on_pointer_up = t6; + _.End3PrimeProps_on_mouse_up = t7; + _.End3PrimeProps_on_mouse_move = t8; + _.End3PrimeProps_on_mouse_enter = t9; + _.End3PrimeProps_on_mouse_leave = t10; + _.End3PrimeProps_id_ = t11; + _.End3PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _$DeletionRemove: function _$DeletionRemove(t0, t1, t2) { - this.domain = t0; - this.offset = t1; - this.all_helices = t2; + _$$End3PrimeProps$JsMap: function _$$End3PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._lib_3p_end$_props = t0; + _.End3PrimeProps___End3PrimeProps_classname_A = t1; + _.End3PrimeProps___End3PrimeProps_pos_A = t2; + _.End3PrimeProps___End3PrimeProps_color_A = t3; + _.End3PrimeProps___End3PrimeProps_forward_A = t4; + _.End3PrimeProps_on_pointer_down = t5; + _.End3PrimeProps_on_pointer_up = t6; + _.End3PrimeProps_on_mouse_up = t7; + _.End3PrimeProps_on_mouse_move = t8; + _.End3PrimeProps_on_mouse_enter = t9; + _.End3PrimeProps_on_mouse_leave = t10; + _.End3PrimeProps_id_ = t11; + _.End3PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - DeletionRemoveBuilder: function DeletionRemoveBuilder() { + _$End3PrimeComponent: function _$End3PrimeComponent(t0) { var _ = this; - _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + _.___$End3PrimeComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$ScalePurificationVendorFieldsAssign: function _$ScalePurificationVendorFieldsAssign(t0, t1) { - this.strand = t0; - this.vendor_fields = t1; + $End3PrimeProps: function $End3PrimeProps() { }, - ScalePurificationVendorFieldsAssignBuilder: function ScalePurificationVendorFieldsAssignBuilder() { - this._actions$_vendor_fields = this._strand = this._$v = null; + __$$End3PrimeProps_UiProps_End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps() { }, - _$PlateWellVendorFieldsAssign: function _$PlateWellVendorFieldsAssign(t0, t1) { - this.strand = t0; - this.vendor_fields = t1; + __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps() { }, - PlateWellVendorFieldsAssignBuilder: function PlateWellVendorFieldsAssignBuilder() { - this._actions$_vendor_fields = this._strand = this._$v = null; + _$End5Prime(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$End5PrimeProps$JsMap$(new A.JsBackedMap({})) : A._$$End5PrimeProps__$$End5PrimeProps(backingProps); }, - _$PlateWellVendorFieldsRemove: function _$PlateWellVendorFieldsRemove(t0) { - this.strand = t0; + _$$End5PrimeProps__$$End5PrimeProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$End5PrimeProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$End5PrimeProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, _null, _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._lib_5p_end$_props = backingMap; + return t1; + } }, - PlateWellVendorFieldsRemoveBuilder: function PlateWellVendorFieldsRemoveBuilder() { - this._strand = this._$v = null; + _$$End5PrimeProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$End5PrimeProps$JsMap(new A.JsBackedMap({}), $, $, $, $, _null, _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._lib_5p_end$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$VendorFieldsRemove: function _$VendorFieldsRemove(t0) { - this.strand = t0; - }, - VendorFieldsRemoveBuilder: function VendorFieldsRemoveBuilder() { - this._strand = this._$v = null; - }, - _$ModificationAdd: function _$ModificationAdd(t0, t1, t2) { - this.strand = t0; - this.modification = t1; - this.strand_dna_idx = t2; + End5PrimeProps: function End5PrimeProps() { }, - ModificationAddBuilder: function ModificationAddBuilder() { - var _ = this; - _._strand_dna_idx = _._modification = _._strand = _._$v = null; + End5PrimeComponent: function End5PrimeComponent() { }, - _$ModificationRemove: function _$ModificationRemove(t0, t1, t2) { - this.strand = t0; - this.modification = t1; - this.strand_dna_idx = t2; + $End5PrimeComponentFactory_closure: function $End5PrimeComponentFactory_closure() { }, - ModificationRemoveBuilder: function ModificationRemoveBuilder() { - var _ = this; - _._strand_dna_idx = _._modification = _._strand = _._$v = null; + _$$End5PrimeProps: function _$$End5PrimeProps() { }, - _$ModificationConnectorLengthSet: function _$ModificationConnectorLengthSet(t0, t1, t2) { + _$$End5PrimeProps$PlainMap: function _$$End5PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _.strand = t0; - _.modification = t1; - _.connector_length = t2; - _._actions$__hashCode = null; + _._lib_5p_end$_props = t0; + _.End5PrimeProps___End5PrimeProps_classname_A = t1; + _.End5PrimeProps___End5PrimeProps_pos_A = t2; + _.End5PrimeProps___End5PrimeProps_color_A = t3; + _.End5PrimeProps___End5PrimeProps_forward_A = t4; + _.End5PrimeProps_on_pointer_down = t5; + _.End5PrimeProps_on_pointer_up = t6; + _.End5PrimeProps_on_mouse_up = t7; + _.End5PrimeProps_on_mouse_move = t8; + _.End5PrimeProps_on_mouse_enter = t9; + _.End5PrimeProps_on_mouse_leave = t10; + _.End5PrimeProps_id_ = t11; + _.End5PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - ModificationConnectorLengthSetBuilder: function ModificationConnectorLengthSetBuilder() { + _$$End5PrimeProps$JsMap: function _$$End5PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _._actions$_connector_length = _._modification = _._strand = _._$v = null; - }, - _$ModificationEdit: function _$ModificationEdit(t0, t1, t2) { - this.strand = t0; - this.modification = t1; - this.strand_dna_idx = t2; + _._lib_5p_end$_props = t0; + _.End5PrimeProps___End5PrimeProps_classname_A = t1; + _.End5PrimeProps___End5PrimeProps_pos_A = t2; + _.End5PrimeProps___End5PrimeProps_color_A = t3; + _.End5PrimeProps___End5PrimeProps_forward_A = t4; + _.End5PrimeProps_on_pointer_down = t5; + _.End5PrimeProps_on_pointer_up = t6; + _.End5PrimeProps_on_mouse_up = t7; + _.End5PrimeProps_on_mouse_move = t8; + _.End5PrimeProps_on_mouse_enter = t9; + _.End5PrimeProps_on_mouse_leave = t10; + _.End5PrimeProps_id_ = t11; + _.End5PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - ModificationEditBuilder: function ModificationEditBuilder() { + _$End5PrimeComponent: function _$End5PrimeComponent(t0) { var _ = this; - _._strand_dna_idx = _._modification = _._strand = _._$v = null; - }, - _$Modifications5PrimeEdit: function _$Modifications5PrimeEdit(t0, t1) { - this.modifications = t0; - this.new_modification = t1; - }, - Modifications5PrimeEditBuilder: function Modifications5PrimeEditBuilder() { - this._new_modification = this._actions$_modifications = this._$v = null; - }, - _$Modifications3PrimeEdit: function _$Modifications3PrimeEdit(t0, t1) { - this.modifications = t0; - this.new_modification = t1; - }, - Modifications3PrimeEditBuilder: function Modifications3PrimeEditBuilder() { - this._new_modification = this._actions$_modifications = this._$v = null; + _.___$End5PrimeComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$ModificationsInternalEdit: function _$ModificationsInternalEdit(t0, t1) { - this.modifications = t0; - this.new_modification = t1; + $End5PrimeProps: function $End5PrimeProps() { }, - ModificationsInternalEditBuilder: function ModificationsInternalEditBuilder() { - this._new_modification = this._actions$_modifications = this._$v = null; + __$$End5PrimeProps_UiProps_End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps() { }, - _$GridChange: function _$GridChange(t0, t1) { - this.grid = t0; - this.group_name = t1; + __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps() { }, - GridChangeBuilder: function GridChangeBuilder() { - this._group_name = this._actions$_grid = this._$v = null; + _$AxisArrowsMain(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$AxisArrowsMainProps$JsMap$(new A.JsBackedMap({})) : A._$$AxisArrowsMainProps__$$AxisArrowsMainProps(backingProps); }, - _$GroupDisplayedChange: function _$GroupDisplayedChange(t0) { - this.group_name = t0; + _$$AxisArrowsMainProps__$$AxisArrowsMainProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$AxisArrowsMainProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$AxisArrowsMainProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._axis_arrows_main$_props = backingMap; + return t1; + } }, - GroupDisplayedChangeBuilder: function GroupDisplayedChangeBuilder() { - this._group_name = this._$v = null; + _$$AxisArrowsMainProps$JsMap$(backingMap) { + var t1 = new A._$$AxisArrowsMainProps$JsMap(new A.JsBackedMap({}), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._axis_arrows_main$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$GroupAdd: function _$GroupAdd(t0, t1) { - this.name = t0; - this.group = t1; + ConnectedAxisArrowsMain_closure: function ConnectedAxisArrowsMain_closure() { }, - GroupAddBuilder: function GroupAddBuilder() { - this._actions$_group = this._actions$_name = this._$v = null; + AxisArrowsMainProps: function AxisArrowsMainProps() { }, - _$GroupRemove: function _$GroupRemove(t0) { - this.name = t0; + DesignMainArrowsComponent: function DesignMainArrowsComponent() { }, - GroupRemoveBuilder: function GroupRemoveBuilder() { - this._actions$_name = this._$v = null; + $DesignMainArrowsComponentFactory_closure: function $DesignMainArrowsComponentFactory_closure() { }, - _$GroupChange: function _$GroupChange(t0, t1, t2) { - this.old_name = t0; - this.new_name = t1; - this.new_group = t2; + _$$AxisArrowsMainProps: function _$$AxisArrowsMainProps() { }, - GroupChangeBuilder: function GroupChangeBuilder() { + _$$AxisArrowsMainProps$PlainMap: function _$$AxisArrowsMainProps$PlainMap(t0, t1, t2, t3, t4) { var _ = this; - _._new_group = _._new_name = _._old_name = _._$v = null; - }, - _$MoveHelicesToGroup: function _$MoveHelicesToGroup(t0, t1) { - this.helix_idxs = t0; - this.group_name = t1; - this._actions$__hashCode = null; + _._axis_arrows_main$_props = t0; + _.AxisArrowsMainProps___AxisArrowsMainProps_invert_y_A = t1; + _.AxisArrowsMainProps___AxisArrowsMainProps_show_helices_axis_arrows_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - MoveHelicesToGroupBuilder: function MoveHelicesToGroupBuilder() { - this._group_name = this._helix_idxs = this._$v = null; + _$$AxisArrowsMainProps$JsMap: function _$$AxisArrowsMainProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._axis_arrows_main$_props = t0; + _.AxisArrowsMainProps___AxisArrowsMainProps_invert_y_A = t1; + _.AxisArrowsMainProps___AxisArrowsMainProps_show_helices_axis_arrows_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _$DialogShow: function _$DialogShow(t0) { - this.dialog = t0; + _$DesignMainArrowsComponent: function _$DesignMainArrowsComponent(t0) { + var _ = this; + _.___$DesignMainArrowsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - DialogShowBuilder: function DialogShowBuilder() { - this._actions$_dialog = this._$v = null; + $AxisArrowsMainProps: function $AxisArrowsMainProps() { }, - _$DialogHide: function _$DialogHide() { + __$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps: function __$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps() { }, - DialogHideBuilder: function DialogHideBuilder() { - this._$v = null; + __$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps: function __$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps() { }, - _$ContextMenuShow: function _$ContextMenuShow(t0) { - this.context_menu = t0; + set_axis_arrows_props(elt, state) { + var t1 = state.ui_state.storables; + elt.set$invert_y(t1.invert_y); + elt.set$show_helices_axis_arrows(t1.show_helices_axis_arrows); + return elt; }, - ContextMenuShowBuilder: function ContextMenuShowBuilder() { - this._actions$_context_menu = this._$v = null; + _$AxisArrowsSide(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$AxisArrowsSideProps$JsMap$(new A.JsBackedMap({})) : A._$$AxisArrowsSideProps__$$AxisArrowsSideProps(backingProps); }, - _$ContextMenuHide: function _$ContextMenuHide() { + _$$AxisArrowsSideProps__$$AxisArrowsSideProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$AxisArrowsSideProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$AxisArrowsSideProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._axis_arrows_side$_props = backingMap; + return t1; + } }, - ContextMenuHideBuilder: function ContextMenuHideBuilder() { - this._$v = null; + _$$AxisArrowsSideProps$JsMap$(backingMap) { + var t1 = new A._$$AxisArrowsSideProps$JsMap(new A.JsBackedMap({}), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._axis_arrows_side$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$StrandOrSubstrandColorPickerShow: function _$StrandOrSubstrandColorPickerShow(t0, t1) { - this.strand = t0; - this.substrand = t1; + ConnectedAxisArrowsSide_closure: function ConnectedAxisArrowsSide_closure() { }, - StrandOrSubstrandColorPickerShowBuilder: function StrandOrSubstrandColorPickerShowBuilder() { - this._substrand = this._strand = this._$v = null; + AxisArrowsSideProps: function AxisArrowsSideProps() { }, - _$StrandOrSubstrandColorPickerHide: function _$StrandOrSubstrandColorPickerHide() { + AxisArrowsComponent: function AxisArrowsComponent() { }, - StrandOrSubstrandColorPickerHideBuilder: function StrandOrSubstrandColorPickerHideBuilder() { - this._$v = null; + $AxisArrowsComponentFactory_closure: function $AxisArrowsComponentFactory_closure() { }, - _$ScaffoldSet: function _$ScaffoldSet(t0, t1) { - this.strand = t0; - this.is_scaffold = t1; + _$$AxisArrowsSideProps: function _$$AxisArrowsSideProps() { }, - ScaffoldSetBuilder: function ScaffoldSetBuilder() { - this._actions$_is_scaffold = this._strand = this._$v = null; + _$$AxisArrowsSideProps$PlainMap: function _$$AxisArrowsSideProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._axis_arrows_side$_props = t0; + _.AxisArrowsSideProps___AxisArrowsSideProps_invert_y_A = t1; + _.AxisArrowsSideProps___AxisArrowsSideProps_show_helices_axis_arrows_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _$StrandOrSubstrandColorSet: function _$StrandOrSubstrandColorSet(t0, t1, t2) { - this.strand = t0; - this.substrand = t1; - this.color = t2; + _$$AxisArrowsSideProps$JsMap: function _$$AxisArrowsSideProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._axis_arrows_side$_props = t0; + _.AxisArrowsSideProps___AxisArrowsSideProps_invert_y_A = t1; + _.AxisArrowsSideProps___AxisArrowsSideProps_show_helices_axis_arrows_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - StrandOrSubstrandColorSetBuilder: function StrandOrSubstrandColorSetBuilder() { + _$AxisArrowsComponent: function _$AxisArrowsComponent(t0) { var _ = this; - _._actions$_color = _._substrand = _._strand = _._$v = null; + _.___$AxisArrowsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$StrandPasteKeepColorSet: function _$StrandPasteKeepColorSet(t0) { - this.keep = t0; + $AxisArrowsSideProps: function $AxisArrowsSideProps() { }, - StrandPasteKeepColorSetBuilder: function StrandPasteKeepColorSetBuilder() { - this._keep = this._$v = null; + __$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps: function __$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps() { }, - _$ExampleDesignsLoad: function _$ExampleDesignsLoad(t0) { - this.selected_idx = t0; + __$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps: function __$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps() { }, - ExampleDesignsLoadBuilder: function ExampleDesignsLoadBuilder() { - this._actions$_selected_idx = this._$v = null; + copy_selected_strands() { + var t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isEmpty(t1)) + return; + t1 = $.__app._readField$0(); + type$.nullable_void_Function_CopySelectedStrandsBuilder._as(null); + t1.dispatch$1(new A.CopySelectedStrandsBuilder()._build$0()); }, - _$BasePairTypeSet: function _$BasePairTypeSet(t0) { - this.selected_idx = t0; + paste_strands_manually() { + $.$get$clipboard().read$0(0).then$1$1(0, new A.paste_strands_manually_closure(), type$.Null); }, - BasePairTypeSetBuilder: function BasePairTypeSetBuilder() { - this._actions$_selected_idx = this._$v = null; + paste_strands_auto() { + $.$get$clipboard().read$0(0).then$1$1(0, new A.paste_strands_auto_closure(), type$.Null); }, - _$HelixPositionSet: function _$HelixPositionSet(t0, t1) { - this.helix_idx = t0; - this.position = t1; + main_view_pointer_up($event) { + var t1, t2, strands_move, domains_move, strand_creation, t3, t4, t5, _s5_ = "store", _s6_ = "_state"; + type$.MouseEvent._as($event); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.slice_bar_is_moving) { + t1 = $.__app._readField$0(); + type$.nullable_void_Function_SliceBarMoveStopBuilder._as(null); + t1.dispatch$1(new A.SliceBarMoveStopBuilder()._build$0()); + } + t1 = $.__app._readField$0().__App_store_dna_ends_move_F; + t1 === $ && A.throwLateFieldNI("store_dna_ends_move"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1 != null) { + $.__app._readField$0().dispatch$1(new A._$DNAEndsMoveStop()); + if (t1.get$is_nontrivial()) + $.__app._readField$0().dispatch$1(A._$DNAEndsMoveCommit$_(t1)); + } + t1 = $.__app._readField$0().__App_store_extensions_move_F; + t1 === $ && A.throwLateFieldNI("store_extensions_move"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1 != null) { + $.__app._readField$0().dispatch$1(new A._$DNAExtensionsMoveStop()); + if (!t1.start_point.$eq(0, t1.current_point)) + $.__app._readField$0().dispatch$1(A._$DNAExtensionsMoveCommit$_(t1)); + } + t1 = $.__app._readField$0().__App_store_helix_group_move_F; + t1 === $ && A.throwLateFieldNI("store_helix_group_move"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1 != null) { + $.__app._readField$0().dispatch$1(A._$HelixGroupMoveStop__$HelixGroupMoveStop()); + t2 = t1.__is_nontrivial; + if (t2 == null ? t1.__is_nontrivial = A.HelixGroupMove.prototype.get$is_nontrivial.call(t1) : t2) + $.__app._readField$0().dispatch$1(A._$HelixGroupMoveCommit$_(t1)); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + strands_move = t1.get$state(t1).ui_state.strands_move; + if (strands_move != null) { + $.__app._readField$0().dispatch$1(A._$StrandsMoveStop__$StrandsMoveStop()); + if (strands_move.allowable) + t1 = !strands_move.original_address.$eq(0, strands_move.current_address) || strands_move.copy; + else + t1 = false; + if (t1) + $.__app._readField$0().dispatch$1(A._$StrandsMoveCommit$_(false, strands_move)); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + domains_move = t1.get$state(t1).ui_state.domains_move; + if (domains_move != null) { + $.__app._readField$0().dispatch$1(A._$DomainsMoveStop__$DomainsMoveStop()); + if (domains_move.allowable && !domains_move.original_address.$eq(0, domains_move.current_address)) + $.__app._readField$0().dispatch$1(A._$DomainsMoveCommit$_(domains_move)); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + strand_creation = t1.get$state(t1).ui_state.strand_creation; + if (strand_creation != null) { + $.__app._readField$0().dispatch$1(A._$StrandCreateStop__$StrandCreateStop()); + if (strand_creation.original_offset !== strand_creation.current_offset) { + t1 = $.__app._readField$0(); + t2 = strand_creation.helix.idx; + t3 = strand_creation.forward; + t4 = strand_creation.get$start(strand_creation); + t5 = strand_creation.get$end(strand_creation); + t1.dispatch$1(A._$StrandCreateCommit$_(strand_creation.color, t5, t3, t2, t4)); + } + } }, - HelixPositionSetBuilder: function HelixPositionSetBuilder() { - this._actions$_position = this._actions$_helix_idx = this._$v = null; + DraggableComponent: function DraggableComponent(t0) { + this._core$_name = t0; }, - _$HelixGridPositionSet: function _$HelixGridPositionSet(t0, t1) { - this.helix = t0; - this.grid_position = t1; + DesignViewComponent: function DesignViewComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _.root_element = t0; + _.design_above_footer_pane = t1; + _.footer_separator = t2; + _.footer_element = t3; + _.modes_element = t4; + _.error_message_pane = t5; + _.side_view_menu = t6; + _.context_menu_container = t7; + _.dialog_form_container = t8; + _.dialog_loading_container = t9; + _.strand_color_picker_container = t10; + _.__DesignViewComponent_main_pane_A = _.__DesignViewComponent_side_pane_A = _.__DesignViewComponent_error_message_component_A = _.__DesignViewComponent_main_view_svg_A = _.__DesignViewComponent_side_view_svg_A = $; + _.svg_panzoom_has_been_set_up = false; + _.side_view_mouse_position = t11; + _.main_view_mouse_position = t12; + _.draggables = t13; }, - HelixGridPositionSetBuilder: function HelixGridPositionSetBuilder() { - this._actions$_grid_position = this._actions$_helix = this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_closure: function DesignViewComponent_handle_keyboard_mouse_events_closure() { }, - _$HelicesPositionsSetBasedOnCrossovers: function _$HelicesPositionsSetBasedOnCrossovers() { + DesignViewComponent_handle_keyboard_mouse_events_closure0: function DesignViewComponent_handle_keyboard_mouse_events_closure0(t0) { + this.$this = t0; }, - HelicesPositionsSetBasedOnCrossoversBuilder: function HelicesPositionsSetBasedOnCrossoversBuilder() { - this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_closure1: function DesignViewComponent_handle_keyboard_mouse_events_closure1(t0) { + this.$this = t0; }, - _$InlineInsertionsDeletions: function _$InlineInsertionsDeletions() { + DesignViewComponent_handle_keyboard_mouse_events_closure2: function DesignViewComponent_handle_keyboard_mouse_events_closure2() { }, - InlineInsertionsDeletionsBuilder: function InlineInsertionsDeletionsBuilder() { - this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_closure3: function DesignViewComponent_handle_keyboard_mouse_events_closure3(t0) { + this.$this = t0; }, - _$DefaultCrossoverTypeForSettingHelixRollsSet: function _$DefaultCrossoverTypeForSettingHelixRollsSet(t0, t1) { - this.scaffold = t0; - this.staple = t1; + DesignViewComponent_handle_keyboard_mouse_events_closure4: function DesignViewComponent_handle_keyboard_mouse_events_closure4(t0) { + this.$this = t0; }, - DefaultCrossoverTypeForSettingHelixRollsSetBuilder: function DefaultCrossoverTypeForSettingHelixRollsSetBuilder() { - this._staple = this._scaffold = this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_end_select_mode: function DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(t0) { + this.$this = t0; }, - _$AutofitSet: function _$AutofitSet(t0) { - this.autofit = t0; + DesignViewComponent_handle_keyboard_mouse_events_closure5: function DesignViewComponent_handle_keyboard_mouse_events_closure5(t0) { + this.end_select_mode = t0; }, - AutofitSetBuilder: function AutofitSetBuilder() { - this._actions$_autofit = this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_closure6: function DesignViewComponent_handle_keyboard_mouse_events_closure6(t0) { + this.end_select_mode = t0; }, - _$ShowHelixCirclesMainViewSet: function _$ShowHelixCirclesMainViewSet(t0) { - this.show_helix_circles_main_view = t0; + DesignViewComponent_handle_keyboard_mouse_events_closure7: function DesignViewComponent_handle_keyboard_mouse_events_closure7(t0, t1) { + this.is_main_view = t0; + this.svg_elt = t1; }, - ShowHelixCirclesMainViewSetBuilder: function ShowHelixCirclesMainViewSetBuilder() { - this._actions$_show_helix_circles_main_view = this._$v = null; + DesignViewComponent_handle_keyboard_mouse_events_closure8: function DesignViewComponent_handle_keyboard_mouse_events_closure8(t0) { + this.svg_elt = t0; }, - _$ShowHelixComponentsMainViewSet: function _$ShowHelixComponentsMainViewSet(t0) { - this.show_helix_components = t0; - this._actions$__hashCode = null; + DesignViewComponent_install_draggable_closure: function DesignViewComponent_install_draggable_closure(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; }, - ShowHelixComponentsMainViewSetBuilder: function ShowHelixComponentsMainViewSetBuilder() { - this._show_helix_components = this._$v = null; + DesignViewComponent_install_draggable_closure0: function DesignViewComponent_install_draggable_closure0(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; }, - _$ShowEditMenuToggle: function _$ShowEditMenuToggle() { + DesignViewComponent_install_draggable_closure1: function DesignViewComponent_install_draggable_closure1(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; }, - _$ShowGridCoordinatesSideViewSet: function _$ShowGridCoordinatesSideViewSet(t0) { - this.show_grid_coordinates_side_view = t0; + paste_strands_manually_closure: function paste_strands_manually_closure() { }, - ShowGridCoordinatesSideViewSetBuilder: function ShowGridCoordinatesSideViewSetBuilder() { - this._actions$_show_grid_coordinates_side_view = this._$v = null; + paste_strands_auto_closure: function paste_strands_auto_closure() { }, - _$ShowAxisArrowsSet: function _$ShowAxisArrowsSet(t0) { - this.show_helices_axis_arrows = t0; + context_menu_to_ul(menu) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, + t1 = A.DomProps$($.$get$ul(), _null); + t1.set$className(0, "context-menu-list"); + t2 = A._setArrayType([], type$.JSArray_ReactElement); + for (t3 = menu.items._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = type$.nullable_dynamic_Function_SyntheticMouseEvent, t5 = menu.position; t3.moveNext$0();) { + t6 = t3.__interceptors$_current; + t7 = A.DomProps$($.$get$li(), _null); + t8 = t6.title; + t9 = t7.props; + t9.$indexSet(0, "key", t8); + t10 = t6.nested; + t11 = t10 != null; + t12 = t11 ? "has-submenu" : ""; + t9.jsObject.className = A.DartValueWrapper_wrapIfNeeded(t12); + t9 = A.DomProps$($.$get$span(), _null); + t12 = t6.tooltip; + t13 = t9.props.jsObject; + t13.title = A.DartValueWrapper_wrapIfNeeded(t12); + t12 = t4._as(t6.on_click != null ? new A.context_menu_to_ul_closure(t6) : _null); + t13.onClick = A.DartValueWrapper_wrapIfNeeded(t12); + t6 = t6.disabled ? " context_menu_item_disabled" : ""; + t13.className = A.DartValueWrapper_wrapIfNeeded("context-menu-item" + t6); + t6 = t9.call$1(t8); + if (t11) { + t8 = A.design_context_menu___$DesignContextSubmenu$closure().call$0(); + t8.toString; + J.$indexSet$ax(J.get$props$x(t8), "DesignContextSubmenuProps.context_menu", new A._$ContextMenu(t10, t5)); + t8 = t8.call$0(); + } else + t8 = _null; + t2.push(t7.call$2(t6, t8)); + } + return t1.call$1(t2); }, - ShowAxisArrowsSetBuilder: function ShowAxisArrowsSetBuilder() { - this._actions$_show_helices_axis_arrows = this._$v = null; + _$DesignContextMenu(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignContextMenuProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignContextMenuProps__$$DesignContextMenuProps(backingProps); }, - _$ShowLoopoutExtensionLengthSet: function _$ShowLoopoutExtensionLengthSet(t0) { - this.show_length = t0; + _$$DesignContextMenuProps__$$DesignContextMenuProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignContextMenuProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignContextMenuProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap; + return t1; + } }, - ShowLoopoutExtensionLengthSetBuilder: function ShowLoopoutExtensionLengthSetBuilder() { - this._show_length = this._$v = null; + _$$DesignContextMenuProps$JsMap$(backingMap) { + var t1 = new A._$$DesignContextMenuProps$JsMap(new A.JsBackedMap({}), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$LoadDnaSequenceImageUri: function _$LoadDnaSequenceImageUri(t0, t1, t2) { - this.uri = t0; - this.dna_sequence_png_horizontal_offset = t1; - this.dna_sequence_png_vertical_offset = t2; + _$$DesignContextMenuState__$$DesignContextMenuState(backingMap) { + var t1 = A._$$DesignContextMenuState$JsMap$(backingMap); + return t1; }, - LoadDnaSequenceImageUriBuilder: function LoadDnaSequenceImageUriBuilder() { - var _ = this; - _._actions$_dna_sequence_png_vertical_offset = _._actions$_dna_sequence_png_horizontal_offset = _._uri = _._$v = null; + _$$DesignContextMenuState$JsMap$(backingMap) { + var t1 = new A._$$DesignContextMenuState$JsMap(new A.JsBackedMap({}), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$SetIsZoomAboveThreshold: function _$SetIsZoomAboveThreshold(t0) { - this.is_zoom_above_threshold = t0; + _$DesignContextSubmenu(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignContextSubmenuProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(backingProps); }, - SetIsZoomAboveThresholdBuilder: function SetIsZoomAboveThresholdBuilder() { - this._actions$_is_zoom_above_threshold = this._$v = null; + _$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignContextSubmenuProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignContextSubmenuProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap; + return t1; + } }, - _$SetExportSvgActionDelayedForPngCache: function _$SetExportSvgActionDelayedForPngCache(t0) { - this.export_svg_action_delayed_for_png_cache = t0; + _$$DesignContextSubmenuProps$JsMap$(backingMap) { + var t1 = new A._$$DesignContextSubmenuProps$JsMap(new A.JsBackedMap({}), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - SetExportSvgActionDelayedForPngCacheBuilder: function SetExportSvgActionDelayedForPngCacheBuilder() { - this._actions$_export_svg_action_delayed_for_png_cache = this._$v = null; + _$$DesignContextSubmenuState$JsMap$(backingMap) { + var t1 = new A._$$DesignContextSubmenuState$JsMap(new A.JsBackedMap({}), $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap; + return t1; }, - _$ShowBasePairLinesSet: function _$ShowBasePairLinesSet(t0) { - this.show_base_pair_lines = t0; - this._actions$__hashCode = null; + ConnectedDesignContextMenu_closure: function ConnectedDesignContextMenu_closure() { }, - ShowBasePairLinesSetBuilder: function ShowBasePairLinesSetBuilder() { - this._actions$_show_base_pair_lines = this._$v = null; + DesignContextMenuProps: function DesignContextMenuProps() { }, - _$ShowBasePairLinesWithMismatchesSet: function _$ShowBasePairLinesWithMismatchesSet(t0) { - this.show_base_pair_lines_with_mismatches = t0; - this._actions$__hashCode = null; + DesignContextMenuState: function DesignContextMenuState() { }, - ShowBasePairLinesWithMismatchesSetBuilder: function ShowBasePairLinesWithMismatchesSetBuilder() { - this._actions$_show_base_pair_lines_with_mismatches = this._$v = null; + DesignContextMenuComponent: function DesignContextMenuComponent() { }, - _$ShowSliceBarSet: function _$ShowSliceBarSet(t0) { - this.show = t0; + DesignContextSubmenuProps: function DesignContextSubmenuProps() { }, - ShowSliceBarSetBuilder: function ShowSliceBarSetBuilder() { - this._show = this._$v = null; + DesignContextSubmenuState: function DesignContextSubmenuState() { }, - _$SliceBarOffsetSet: function _$SliceBarOffsetSet(t0) { - this.offset = t0; + DesignContextSubmenuComponent: function DesignContextSubmenuComponent() { }, - SliceBarOffsetSetBuilder: function SliceBarOffsetSetBuilder() { - this._actions$_offset = this._$v = null; + context_menu_to_ul_closure: function context_menu_to_ul_closure(t0) { + this.item = t0; }, - _$DisablePngCachingDnaSequencesSet: function _$DisablePngCachingDnaSequencesSet(t0) { - this.disable_png_caching_dna_sequences = t0; + $DesignContextMenuComponentFactory_closure: function $DesignContextMenuComponentFactory_closure() { }, - DisablePngCachingDnaSequencesSetBuilder: function DisablePngCachingDnaSequencesSetBuilder() { - this._actions$_disable_png_caching_dna_sequences = this._$v = null; + _$$DesignContextMenuProps: function _$$DesignContextMenuProps() { }, - _$RetainStrandColorOnSelectionSet: function _$RetainStrandColorOnSelectionSet(t0) { - this.retain_strand_color_on_selection = t0; + _$$DesignContextMenuProps$PlainMap: function _$$DesignContextMenuProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextMenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - RetainStrandColorOnSelectionSetBuilder: function RetainStrandColorOnSelectionSetBuilder() { - this._actions$_retain_strand_color_on_selection = this._$v = null; + _$$DesignContextMenuProps$JsMap: function _$$DesignContextMenuProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextMenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _$DisplayReverseDNARightSideUpSet: function _$DisplayReverseDNARightSideUpSet(t0) { - this.display_reverse_DNA_right_side_up = t0; + _$$DesignContextMenuState: function _$$DesignContextMenuState() { }, - DisplayReverseDNARightSideUpSetBuilder: function DisplayReverseDNARightSideUpSetBuilder() { - this._actions$_display_reverse_DNA_right_side_up = this._$v = null; + _$$DesignContextMenuState$JsMap: function _$$DesignContextMenuState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_state = t0; + _.DesignContextMenuState___DesignContextMenuState_width_A = t1; + _.DesignContextMenuState___DesignContextMenuState_height_A = t2; + _.DesignContextMenuState___DesignContextMenuState_menu_HTML_element_ref_A = t3; }, - _$SliceBarMoveStart: function _$SliceBarMoveStart() { + _$DesignContextMenuComponent: function _$DesignContextMenuComponent(t0) { + var _ = this; + _.___$DesignContextMenuComponent__cachedTypedState_A = _.___$DesignContextMenuComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - SliceBarMoveStartBuilder: function SliceBarMoveStartBuilder() { - this._$v = null; + $DesignContextSubmenuComponentFactory_closure: function $DesignContextSubmenuComponentFactory_closure() { }, - _$SliceBarMoveStop: function _$SliceBarMoveStop() { + _$$DesignContextSubmenuProps: function _$$DesignContextSubmenuProps() { }, - SliceBarMoveStopBuilder: function SliceBarMoveStopBuilder() { - this._$v = null; + _$$DesignContextSubmenuProps$PlainMap: function _$$DesignContextSubmenuProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextSubmenuProps___DesignContextSubmenuProps_context_menu_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _$Autostaple: function _$Autostaple() { + _$$DesignContextSubmenuProps$JsMap: function _$$DesignContextSubmenuProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextSubmenuProps___DesignContextSubmenuProps_context_menu_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - AutostapleBuilder: function AutostapleBuilder() { - this._$v = null; + _$$DesignContextSubmenuState: function _$$DesignContextSubmenuState() { }, - _$Autobreak: function _$Autobreak(t0, t1, t2, t3) { + _$$DesignContextSubmenuState$JsMap: function _$$DesignContextSubmenuState$JsMap(t0, t1, t2, t3, t4, t5) { var _ = this; - _.target_length = t0; - _.min_length = t1; - _.max_length = t2; - _.min_distance_to_xover = t3; + _._design_context_menu$_state = t0; + _.DesignContextSubmenuState___DesignContextSubmenuState_width_A = t1; + _.DesignContextSubmenuState___DesignContextSubmenuState_height_A = t2; + _.DesignContextSubmenuState___DesignContextSubmenuState_left_A = t3; + _.DesignContextSubmenuState___DesignContextSubmenuState_top_A = t4; + _.DesignContextSubmenuState___DesignContextSubmenuState_submenu_HTML_element_ref_A = t5; }, - AutobreakBuilder: function AutobreakBuilder() { + _$DesignContextSubmenuComponent: function _$DesignContextSubmenuComponent(t0) { var _ = this; - _._min_distance_to_xover = _._max_length = _._min_length = _._target_length = _._$v = null; + _.___$DesignContextSubmenuComponent__cachedTypedState_A = _.___$DesignContextSubmenuComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$ZoomSpeedSet: function _$ZoomSpeedSet(t0) { - this.speed = t0; - this._actions$__hashCode = null; + $DesignContextMenuProps: function $DesignContextMenuProps() { }, - ZoomSpeedSetBuilder: function ZoomSpeedSetBuilder() { - this._speed = this._$v = null; + $DesignContextSubmenuProps: function $DesignContextSubmenuProps() { }, - _$OxdnaExport: function _$OxdnaExport(t0) { - this.selected_strands_only = t0; - this._actions$__hashCode = null; + $DesignContextMenuState: function $DesignContextMenuState() { }, - OxdnaExportBuilder: function OxdnaExportBuilder() { - this._selected_strands_only = this._$v = null; + $DesignContextSubmenuState: function $DesignContextSubmenuState() { }, - _$OxviewExport: function _$OxviewExport(t0) { - this.selected_strands_only = t0; - this._actions$__hashCode = null; + _DesignContextMenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextMenuComponent_UiStatefulComponent2_PureComponent() { }, - OxviewExportBuilder: function OxviewExportBuilder() { - this._selected_strands_only = this._$v = null; + _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent() { }, - _$OxExportOnlySelectedStrandsSet: function _$OxExportOnlySelectedStrandsSet(t0) { - this.only_selected = t0; - this._actions$__hashCode = null; + __$$DesignContextMenuProps_UiProps_DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps() { }, - OxExportOnlySelectedStrandsSetBuilder: function OxExportOnlySelectedStrandsSetBuilder() { - this._only_selected = this._$v = null; + __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps() { }, - _AssignDNA_Object_BuiltJsonSerializable: function _AssignDNA_Object_BuiltJsonSerializable() { + __$$DesignContextMenuState_UiState_DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState() { }, - _AssignDNA_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNA_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState() { }, - _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable() { + __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps() { }, - _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps() { }, - _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable() { + __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState() { }, - _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState() { }, - _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable() { + _$DesignDialogForm(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignDialogFormProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignDialogFormProps__$$DesignDialogFormProps(backingProps); }, - _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignDialogFormProps__$$DesignDialogFormProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignDialogFormProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignDialogFormProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_props = backingMap; + return t1; + } }, - _AutoPasteInitiate_Object_BuiltJsonSerializable: function _AutoPasteInitiate_Object_BuiltJsonSerializable() { + _$$DesignDialogFormProps$JsMap$(backingMap) { + var t1 = new A._$$DesignDialogFormProps$JsMap(new A.JsBackedMap({}), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _Autobreak_Object_BuiltJsonSerializable: function _Autobreak_Object_BuiltJsonSerializable() { + _$$DesignDialogFormState__$$DesignDialogFormState(backingMap) { + var t1 = A._$$DesignDialogFormState$JsMap$(backingMap); + return t1; }, - _AutofitSet_Object_BuiltJsonSerializable: function _AutofitSet_Object_BuiltJsonSerializable() { + _$$DesignDialogFormState$JsMap$(backingMap) { + var t1 = new A._$$DesignDialogFormState$JsMap(new A.JsBackedMap({}), null, null, $); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_state = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _Autostaple_Object_BuiltJsonSerializable: function _Autostaple_Object_BuiltJsonSerializable() { + ConnectedDesignDialogForm_closure: function ConnectedDesignDialogForm_closure() { }, - _BasePairTypeSet_Object_BuiltJsonSerializable: function _BasePairTypeSet_Object_BuiltJsonSerializable() { + DesignDialogFormProps: function DesignDialogFormProps() { }, - _BatchAction_Object_BuiltJsonSerializable: function _BatchAction_Object_BuiltJsonSerializable() { + DesignDialogFormState: function DesignDialogFormState() { }, - _BatchAction_Object_BuiltJsonSerializable_UndoableAction: function _BatchAction_Object_BuiltJsonSerializable_UndoableAction() { + DesignDialogFormComponent: function DesignDialogFormComponent() { }, - _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable: function _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_getDerivedStateFromProps_closure: function DesignDialogFormComponent_getDerivedStateFromProps_closure(t0) { + this.prev_state = t0; }, - _ContextMenuHide_Object_BuiltJsonSerializable: function _ContextMenuHide_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_render_closure: function DesignDialogFormComponent_render_closure(t0) { + this.$this = t0; }, - _ContextMenuShow_Object_BuiltJsonSerializable: function _ContextMenuShow_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure: function DesignDialogFormComponent_dialog_for_closure(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; }, - _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure6: function DesignDialogFormComponent_dialog_for__closure6(t0) { + this.new_checked = t0; }, - _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction() { + DesignDialogFormComponent_dialog_for__closure7: function DesignDialogFormComponent_dialog_for__closure7() { }, - _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure0: function DesignDialogFormComponent_dialog_for_closure0(t0, t1, t2) { + this.$this = t0; + this.current_responses = t1; + this.dialog_item_idx = t2; }, - _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction() { + DesignDialogFormComponent_dialog_for__closure5: function DesignDialogFormComponent_dialog_for__closure5(t0) { + this.new_value = t0; }, - _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable: function _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure1: function DesignDialogFormComponent_dialog_for_closure1(t0, t1, t2) { + this.$this = t0; + this.current_responses = t1; + this.dialog_item_idx = t2; }, - _CopySelectedStrands_Object_BuiltJsonSerializable: function _CopySelectedStrands_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure4: function DesignDialogFormComponent_dialog_for__closure4(t0) { + this.new_value = t0; }, - _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable: function _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure2: function DesignDialogFormComponent_dialog_for_closure2(t0, t1, t2) { + this.$this = t0; + this.current_responses = t1; + this.dialog_item_idx = t2; }, - _DNAEndsMoveCommit_Object_BuiltJsonSerializable: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure3: function DesignDialogFormComponent_dialog_for__closure3(t0) { + this.new_value = t0; }, - _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + DesignDialogFormComponent_dialog_for_closure3: function DesignDialogFormComponent_dialog_for_closure3(t0, t1, t2) { + this.$this = t0; + this.current_responses = t1; + this.dialog_item_idx = t2; }, - _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable: function _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure2: function DesignDialogFormComponent_dialog_for__closure2(t0) { + this.new_value = t0; }, - _DNAEndsMoveStart_Object_BuiltJsonSerializable: function _DNAEndsMoveStart_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure4: function DesignDialogFormComponent_dialog_for_closure4(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.item = t1; + _.current_responses = t2; + _.dialog_item_idx = t3; }, - _DNAEndsMoveStop_Object_BuiltJsonSerializable: function _DNAEndsMoveStop_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure1: function DesignDialogFormComponent_dialog_for__closure1(t0) { + this.selected_radio_idx = t0; }, - _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable: function _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for_closure5: function DesignDialogFormComponent_dialog_for_closure5(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.item = t1; + _.current_responses = t2; + _.dialog_item_idx = t3; }, - _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure0: function DesignDialogFormComponent_dialog_for__closure0(t0) { + this.selected_radio_idx = t0; }, - _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + DesignDialogFormComponent_dialog_for_closure6: function DesignDialogFormComponent_dialog_for_closure6(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.item = t1; + _.current_responses = t2; + _.dialog_item_idx = t3; }, - _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable: function _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable() { + DesignDialogFormComponent_dialog_for__closure: function DesignDialogFormComponent_dialog_for__closure(t0) { + this.selected_radio_idx = t0; }, - _DNAExtensionsMoveStart_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStart_Object_BuiltJsonSerializable() { + $DesignDialogFormComponentFactory_closure: function $DesignDialogFormComponentFactory_closure() { }, - _DNAExtensionsMoveStop_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStop_Object_BuiltJsonSerializable() { + _$$DesignDialogFormProps: function _$$DesignDialogFormProps() { }, - _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable: function _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable() { + _$$DesignDialogFormProps$PlainMap: function _$$DesignDialogFormProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_props = t0; + _.DesignDialogFormProps_dialog = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _DeleteAllSelected_Object_BuiltJsonSerializable: function _DeleteAllSelected_Object_BuiltJsonSerializable() { + _$$DesignDialogFormProps$JsMap: function _$$DesignDialogFormProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_props = t0; + _.DesignDialogFormProps_dialog = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignDialogFormState: function _$$DesignDialogFormState() { }, - _DeletionAdd_Object_BuiltJsonSerializable: function _DeletionAdd_Object_BuiltJsonSerializable() { + _$$DesignDialogFormState$JsMap: function _$$DesignDialogFormState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_state = t0; + _.DesignDialogFormState_current_responses = t1; + _.DesignDialogFormState_dialog_type = t2; + _.DesignDialogFormState___DesignDialogFormState_saved_responses_A = t3; }, - _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction: function _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignDialogFormComponent: function _$DesignDialogFormComponent(t0) { + var _ = this; + _.___$DesignDialogFormComponent__cachedTypedState_A = _.___$DesignDialogFormComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _DeletionRemove_Object_BuiltJsonSerializable: function _DeletionRemove_Object_BuiltJsonSerializable() { + $DesignDialogFormProps: function $DesignDialogFormProps() { }, - _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction: function _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction() { + $DesignDialogFormState: function $DesignDialogFormState() { }, - _DialogHide_Object_BuiltJsonSerializable: function _DialogHide_Object_BuiltJsonSerializable() { + _DesignDialogFormComponent_UiStatefulComponent2_PureComponent: function _DesignDialogFormComponent_UiStatefulComponent2_PureComponent() { }, - _DialogShow_Object_BuiltJsonSerializable: function _DialogShow_Object_BuiltJsonSerializable() { + __$$DesignDialogFormProps_UiProps_DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps() { }, - _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable: function _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable() { + __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps() { }, - _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable: function _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable() { + __$$DesignDialogFormState_UiState_DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState() { }, - _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable: function _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable() { + __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState() { }, - _DomainLabelFontSizeSet_Object_BuiltJsonSerializable: function _DomainLabelFontSizeSet_Object_BuiltJsonSerializable() { + set_design_footer_props(elt, state) { + var t3, strand_first_mouseover_data, loaded_filename, + t1 = state.ui_state, + mouseover_datas = t1.mouseover_datas, + t2 = mouseover_datas._list, + first_mouseover_data = t2.length !== 0 ? B.JSArray_methods.get$first(t2) : null; + if (t2.length !== 0) { + t2 = state.get$design().get$substrand_to_strand(); + t3 = first_mouseover_data.domain; + strand_first_mouseover_data = t2._map$_map.$index(0, t3); + } else + strand_first_mouseover_data = null; + loaded_filename = t1.storables.loaded_filename; + elt.toString; + type$.BuiltList_MouseoverData._as(mouseover_datas); + J.$indexSet$ax(elt.get$props(elt), "DesignFooterProps.mouseover_datas", mouseover_datas); + J.$indexSet$ax(elt.get$props(elt), string$.DesignF, strand_first_mouseover_data); + J.$indexSet$ax(elt.get$props(elt), "DesignFooterProps.loaded_filename", loaded_filename); + return elt; + }, + _$DesignFooter(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignFooterProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignFooterProps__$$DesignFooterProps(backingProps); + }, + _$$DesignFooterProps__$$DesignFooterProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignFooterProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignFooterProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, null, $, $); + t1.get$$$isClassGenerated(); + t1._design_footer$_props = backingMap; + return t1; + } }, - _DomainNameFontSizeSet_Object_BuiltJsonSerializable: function _DomainNameFontSizeSet_Object_BuiltJsonSerializable() { + _$$DesignFooterProps$JsMap$(backingMap) { + var t1 = new A._$$DesignFooterProps$JsMap(new A.JsBackedMap({}), $, null, null, $, $); + t1.get$$$isClassGenerated(); + t1._design_footer$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable: function _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable() { + ConnectedDesignFooter_closure: function ConnectedDesignFooter_closure() { }, - _DomainsMoveCommit_Object_BuiltJsonSerializable: function _DomainsMoveCommit_Object_BuiltJsonSerializable() { + DesignFooterProps: function DesignFooterProps() { }, - _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + DesignFooterComponent: function DesignFooterComponent() { }, - _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable: function _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable() { + $DesignFooterComponentFactory_closure: function $DesignFooterComponentFactory_closure() { }, - _DomainsMoveStop_Object_BuiltJsonSerializable: function _DomainsMoveStop_Object_BuiltJsonSerializable() { + _$$DesignFooterProps: function _$$DesignFooterProps() { }, - _DynamicHelixUpdateSet_Object_BuiltJsonSerializable: function _DynamicHelixUpdateSet_Object_BuiltJsonSerializable() { + _$$DesignFooterProps$PlainMap: function _$$DesignFooterProps$PlainMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_footer$_props = t0; + _.DesignFooterProps___DesignFooterProps_mouseover_datas_A = t1; + _.DesignFooterProps_strand_first_mouseover_data = t2; + _.DesignFooterProps_loaded_filename = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _EditModeToggle_Object_BuiltJsonSerializable: function _EditModeToggle_Object_BuiltJsonSerializable() { + _$$DesignFooterProps$JsMap: function _$$DesignFooterProps$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_footer$_props = t0; + _.DesignFooterProps___DesignFooterProps_mouseover_datas_A = t1; + _.DesignFooterProps_strand_first_mouseover_data = t2; + _.DesignFooterProps_loaded_filename = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _EditModesSet_Object_BuiltJsonSerializable: function _EditModesSet_Object_BuiltJsonSerializable() { + _$DesignFooterComponent: function _$DesignFooterComponent(t0) { + var _ = this; + _.___$DesignFooterComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _ErrorMessageSet_Object_BuiltJsonSerializable: function _ErrorMessageSet_Object_BuiltJsonSerializable() { + $DesignFooterProps: function $DesignFooterProps() { }, - _ExampleDesignsLoad_Object_BuiltJsonSerializable: function _ExampleDesignsLoad_Object_BuiltJsonSerializable() { + __$$DesignFooterProps_UiProps_DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps() { }, - _ExportCadnanoFile_Object_BuiltJsonSerializable: function _ExportCadnanoFile_Object_BuiltJsonSerializable() { + __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps() { }, - _ExportCanDoDNA_Object_BuiltJsonSerializable: function _ExportCanDoDNA_Object_BuiltJsonSerializable() { + _$DesignLoadingDialog(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignLoadingDialogProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignLoadingDialogProps__$$DesignLoadingDialogProps(backingProps); }, - _ExportCodenanoFile_Object_BuiltJsonSerializable: function _ExportCodenanoFile_Object_BuiltJsonSerializable() { + _$$DesignLoadingDialogProps__$$DesignLoadingDialogProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignLoadingDialogProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignLoadingDialogProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_loading_dialog$_props = backingMap; + return t1; + } }, - _ExportDNA_Object_BuiltJsonSerializable: function _ExportDNA_Object_BuiltJsonSerializable() { + _$$DesignLoadingDialogProps$JsMap$(backingMap) { + var t1 = new A._$$DesignLoadingDialogProps$JsMap(new A.JsBackedMap({}), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_loading_dialog$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _ExportSvg_Object_BuiltJsonSerializable: function _ExportSvg_Object_BuiltJsonSerializable() { + ConnectedLoadingDialog_closure: function ConnectedLoadingDialog_closure() { }, - _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable: function _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable() { + DesignLoadingDialogProps: function DesignLoadingDialogProps() { }, - _ExtensionAdd_Object_BuiltJsonSerializable: function _ExtensionAdd_Object_BuiltJsonSerializable() { + DesignLoadingDialogComponent: function DesignLoadingDialogComponent() { }, - _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction() { + $DesignLoadingDialogComponentFactory_closure: function $DesignLoadingDialogComponentFactory_closure() { }, - _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable() { + _$$DesignLoadingDialogProps: function _$$DesignLoadingDialogProps() { }, - _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignLoadingDialogProps$PlainMap: function _$$DesignLoadingDialogProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_loading_dialog$_props = t0; + _.DesignLoadingDialogProps___DesignLoadingDialogProps_show_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _ExtensionNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable() { + _$$DesignLoadingDialogProps$JsMap: function _$$DesignLoadingDialogProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_loading_dialog$_props = t0; + _.DesignLoadingDialogProps___DesignLoadingDialogProps_show_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignLoadingDialogComponent: function _$DesignLoadingDialogComponent(t0) { + var _ = this; + _.___$DesignLoadingDialogComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _ExtensionsNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable() { + $DesignLoadingDialogProps: function $DesignLoadingDialogProps() { }, - _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps() { }, - _GeometrySet_Object_BuiltJsonSerializable: function _GeometrySet_Object_BuiltJsonSerializable() { + __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps() { }, - _GeometrySet_Object_BuiltJsonSerializable_UndoableAction: function _GeometrySet_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMain(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainProps__$$DesignMainProps(backingProps); }, - _GridChange_Object_BuiltJsonSerializable: function _GridChange_Object_BuiltJsonSerializable() { + _$$DesignMainProps__$$DesignMainProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main$_props = backingMap; + return t1; + } }, - _GridChange_Object_BuiltJsonSerializable_UndoableAction: function _GridChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainProps$JsMap(new A.JsBackedMap({}), $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _GroupAdd_Object_BuiltJsonSerializable: function _GroupAdd_Object_BuiltJsonSerializable() { + ConnectedDesignMain_closure: function ConnectedDesignMain_closure() { }, - _GroupAdd_Object_BuiltJsonSerializable_UndoableAction: function _GroupAdd_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainProps: function DesignMainProps() { }, - _GroupChange_Object_BuiltJsonSerializable: function _GroupChange_Object_BuiltJsonSerializable() { + DesignMainComponent: function DesignMainComponent() { }, - _GroupChange_Object_BuiltJsonSerializable_UndoableAction: function _GroupChange_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainComponent_render_closure: function DesignMainComponent_render_closure() { }, - _GroupDisplayedChange_Object_BuiltJsonSerializable: function _GroupDisplayedChange_Object_BuiltJsonSerializable() { + DesignMainComponent_render_closure0: function DesignMainComponent_render_closure0() { }, - _GroupRemove_Object_BuiltJsonSerializable: function _GroupRemove_Object_BuiltJsonSerializable() { + DesignMainComponent_render_closure1: function DesignMainComponent_render_closure1() { }, - _GroupRemove_Object_BuiltJsonSerializable_UndoableAction: function _GroupRemove_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainComponent_render_closure2: function DesignMainComponent_render_closure2() { }, - _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable: function _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable() { + DesignMainComponent_render_closure3: function DesignMainComponent_render_closure3() { }, - _HelixAdd_Object_BuiltJsonSerializable: function _HelixAdd_Object_BuiltJsonSerializable() { + DesignMainComponent_render_closure4: function DesignMainComponent_render_closure4() { }, - _HelixAdd_Object_BuiltJsonSerializable_UndoableAction: function _HelixAdd_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainComponent_render_closure5: function DesignMainComponent_render_closure5() { }, - _HelixGridPositionSet_Object_BuiltJsonSerializable: function _HelixGridPositionSet_Object_BuiltJsonSerializable() { + $DesignMainComponentFactory_closure: function $DesignMainComponentFactory_closure() { }, - _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainProps: function _$$DesignMainProps() { }, - _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable: function _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable() { + _$$DesignMainProps$PlainMap: function _$$DesignMainProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_main$_props = t0; + _.DesignMainProps___DesignMainProps_state_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _HelixGroupMoveCommit_Object_BuiltJsonSerializable: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable() { + _$$DesignMainProps$JsMap: function _$$DesignMainProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_main$_props = t0; + _.DesignMainProps___DesignMainProps_state_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainComponent: function _$DesignMainComponent(t0) { + var _ = this; + _.___$DesignMainComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _HelixGroupMoveCreate_Object_BuiltJsonSerializable: function _HelixGroupMoveCreate_Object_BuiltJsonSerializable() { + $DesignMainProps: function $DesignMainProps() { }, - _HelixGroupMoveStart_Object_BuiltJsonSerializable: function _HelixGroupMoveStart_Object_BuiltJsonSerializable() { + __$$DesignMainProps_UiProps_DesignMainProps: function __$$DesignMainProps_UiProps_DesignMainProps() { }, - _HelixGroupMoveStop_Object_BuiltJsonSerializable: function _HelixGroupMoveStop_Object_BuiltJsonSerializable() { + __$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps: function __$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps() { }, - _HelixIdxsChange_Object_BuiltJsonSerializable: function _HelixIdxsChange_Object_BuiltJsonSerializable() { + _$DesignMainBasePairLines(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainBasePairLinesProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps(backingProps); }, - _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainBasePairLinesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainBasePairLinesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_lines$_props = backingMap; + return t1; + } }, - _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairLinesProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainBasePairLinesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_lines$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainBasePairLinesProps: function DesignMainBasePairLinesProps() { }, - _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable() { + DesignMainBasePairLinesComponent: function DesignMainBasePairLinesComponent() { }, - _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainBasePairLinesComponentFactory_closure: function $DesignMainBasePairLinesComponentFactory_closure() { }, - _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairLinesProps: function _$$DesignMainBasePairLinesProps() { }, - _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainBasePairLinesProps$PlainMap: function _$$DesignMainBasePairLinesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_lines$_props = t0; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_with_mismatches_A = t1; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_design_A = t2; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_only_display_selected_helices_A = t3; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_side_selected_helix_idxs_A = t4; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairLinesProps$JsMap: function _$$DesignMainBasePairLinesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_lines$_props = t0; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_with_mismatches_A = t1; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_design_A = t2; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_only_display_selected_helices_A = t3; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_side_selected_helix_idxs_A = t4; + _.DesignMainBasePairLinesProps___DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainBasePairLinesComponent: function _$DesignMainBasePairLinesComponent(t0) { + var _ = this; + _.___$DesignMainBasePairLinesComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _HelixMajorTickStartChange_Object_BuiltJsonSerializable: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable() { + $DesignMainBasePairLinesProps: function $DesignMainBasePairLinesProps() { }, - _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction() { + _DesignMainBasePairLinesComponent_UiComponent2_PureComponent: function _DesignMainBasePairLinesComponent_UiComponent2_PureComponent() { }, - _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable() { + __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps() { }, - _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps() { }, - _HelixMajorTicksChange_Object_BuiltJsonSerializable: function _HelixMajorTicksChange_Object_BuiltJsonSerializable() { + _$DesignMainBasePairRectangle(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainBasePairRectangleProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps(backingProps); }, - _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainBasePairRectangleProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainBasePairRectangleProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_rectangle$_props = backingMap; + return t1; + } }, - _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairRectangleProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainBasePairRectangleProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_rectangle$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainBasePairRectangleProps: function DesignMainBasePairRectangleProps() { }, - _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable() { + DesignMainBasePairRectangleComponent: function DesignMainBasePairRectangleComponent() { }, - _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainBasePairRectangleComponentFactory_closure: function $DesignMainBasePairRectangleComponentFactory_closure() { }, - _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairRectangleProps: function _$$DesignMainBasePairRectangleProps() { }, - _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainBasePairRectangleProps$PlainMap: function _$$DesignMainBasePairRectangleProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_rectangle$_props = t0; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_with_mismatches_A = t1; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_design_A = t2; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_only_display_selected_helices_A = t3; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_side_selected_helix_idxs_A = t4; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable() { + _$$DesignMainBasePairRectangleProps$JsMap: function _$$DesignMainBasePairRectangleProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_rectangle$_props = t0; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_with_mismatches_A = t1; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_design_A = t2; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_only_display_selected_helices_A = t3; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_side_selected_helix_idxs_A = t4; + _.DesignMainBasePairRectangleProps___DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainBasePairRectangleComponent: function _$DesignMainBasePairRectangleComponent(t0) { + var _ = this; + _.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable() { + $DesignMainBasePairRectangleProps: function $DesignMainBasePairRectangleProps() { }, - _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { + _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent: function _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent() { }, - _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { + __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps() { }, - _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps() { }, - _HelixOffsetChange_Object_BuiltJsonSerializable: function _HelixOffsetChange_Object_BuiltJsonSerializable() { + _$DesignMainDNAMismatches(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDNAMismatchesProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps(backingProps); }, - _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDNAMismatchesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDNAMismatchesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_mismatches$_props = backingMap; + return t1; + } }, - _HelixOffsetChangeAll_Object_BuiltJsonSerializable: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable() { + _$$DesignMainDNAMismatchesProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDNAMismatchesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_mismatches$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainDNAMismatchesProps: function DesignMainDNAMismatchesProps() { }, - _HelixPositionSet_Object_BuiltJsonSerializable: function _HelixPositionSet_Object_BuiltJsonSerializable() { + DesignMainDNAMismatchesComponent: function DesignMainDNAMismatchesComponent() { }, - _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainDNAMismatchesComponentFactory_closure: function $DesignMainDNAMismatchesComponentFactory_closure() { }, - _HelixRemove_Object_BuiltJsonSerializable: function _HelixRemove_Object_BuiltJsonSerializable() { + _$$DesignMainDNAMismatchesProps: function _$$DesignMainDNAMismatchesProps() { }, - _HelixRemove_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemove_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDNAMismatchesProps$PlainMap: function _$$DesignMainDNAMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_dna_mismatches$_props = t0; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_design_A = t1; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_only_display_selected_helices_A = t2; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_side_selected_helix_idxs_A = t3; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _HelixRemoveAllSelected_Object_BuiltJsonSerializable: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable() { + _$$DesignMainDNAMismatchesProps$JsMap: function _$$DesignMainDNAMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_dna_mismatches$_props = t0; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_design_A = t1; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_only_display_selected_helices_A = t2; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_side_selected_helix_idxs_A = t3; + _.DesignMainDNAMismatchesProps___DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainDNAMismatchesComponent: function _$DesignMainDNAMismatchesComponent(t0) { + var _ = this; + _.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _HelixRollSet_Object_BuiltJsonSerializable: function _HelixRollSet_Object_BuiltJsonSerializable() { + $DesignMainDNAMismatchesProps: function $DesignMainDNAMismatchesProps() { }, - _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction() { + _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent() { }, - _HelixRollSetAtOther_Object_BuiltJsonSerializable: function _HelixRollSetAtOther_Object_BuiltJsonSerializable() { + __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps() { }, - _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps() { }, - _HelixSelect_Object_BuiltJsonSerializable: function _HelixSelect_Object_BuiltJsonSerializable() { + _$DesignMainDNASequence(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDNASequenceProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps(backingProps); }, - _HelixSelectionsAdjust_Object_BuiltJsonSerializable: function _HelixSelectionsAdjust_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDNASequenceProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDNASequenceProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequence$_props = backingMap; + return t1; + } }, - _HelixSelectionsClear_Object_BuiltJsonSerializable: function _HelixSelectionsClear_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequenceProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDNASequenceProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequence$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _InlineInsertionsDeletions_Object_BuiltJsonSerializable: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable() { + DesignMainDNASequenceProps: function DesignMainDNASequenceProps() { }, - _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainDNASequenceComponent: function DesignMainDNASequenceComponent() { }, - _InsertionAdd_Object_BuiltJsonSerializable: function _InsertionAdd_Object_BuiltJsonSerializable() { + $DesignMainDNASequenceComponentFactory_closure: function $DesignMainDNASequenceComponentFactory_closure() { }, - _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction: function _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDNASequenceProps: function _$$DesignMainDNASequenceProps() { }, - _InsertionLengthChange_Object_BuiltJsonSerializable: function _InsertionLengthChange_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequenceProps$PlainMap: function _$$DesignMainDNASequenceProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_dna_sequence$_props = t0; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_strand_A = t1; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_side_selected_helix_idxs_A = t2; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_only_display_selected_helices_A = t3; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_display_reverse_DNA_right_side_up_A = t4; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_helices_A = t5; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_groups_A = t6; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_geometry_A = t7; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_helix_idx_to_svg_position_map_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDNASequenceProps$JsMap: function _$$DesignMainDNASequenceProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_dna_sequence$_props = t0; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_strand_A = t1; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_side_selected_helix_idxs_A = t2; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_only_display_selected_helices_A = t3; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_display_reverse_DNA_right_side_up_A = t4; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_helices_A = t5; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_groups_A = t6; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_geometry_A = t7; + _.DesignMainDNASequenceProps___DesignMainDNASequenceProps_helix_idx_to_svg_position_map_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - _InsertionRemove_Object_BuiltJsonSerializable: function _InsertionRemove_Object_BuiltJsonSerializable() { + _$DesignMainDNASequenceComponent: function _$DesignMainDNASequenceComponent(t0) { + var _ = this; + _.___$DesignMainDNASequenceComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction: function _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainDNASequenceProps: function $DesignMainDNASequenceProps() { }, - _InsertionsLengthChange_Object_BuiltJsonSerializable: function _InsertionsLengthChange_Object_BuiltJsonSerializable() { + _DesignMainDNASequenceComponent_UiComponent2_PureComponent: function _DesignMainDNASequenceComponent_UiComponent2_PureComponent() { }, - _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps() { }, - _InvertYSet_Object_BuiltJsonSerializable: function _InvertYSet_Object_BuiltJsonSerializable() { + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps() { }, - _JoinStrandsByCrossover_Object_BuiltJsonSerializable: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable() { + _$DesignMainDNASequences(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDNASequencesProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps(backingProps); }, - _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDNASequencesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDNASequencesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, null, $, $, $, null, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequences$_props = backingMap; + return t1; + } }, - _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequencesProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDNASequencesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, null, $, $, $, null, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequences$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainDNASequencesProps: function DesignMainDNASequencesProps() { }, - _Ligate_Object_BuiltJsonSerializable: function _Ligate_Object_BuiltJsonSerializable() { + DesignMainDNASequencesComponent: function DesignMainDNASequencesComponent() { }, - _Ligate_Object_BuiltJsonSerializable_UndoableAction: function _Ligate_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainDNASequencesComponentFactory_closure: function $DesignMainDNASequencesComponentFactory_closure() { }, - _LoadDNAFile_Object_BuiltJsonSerializable: function _LoadDNAFile_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequencesProps: function _$$DesignMainDNASequencesProps() { }, - _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { + _$$DesignMainDNASequencesProps$PlainMap: function _$$DesignMainDNASequencesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_dna_sequences$_props = t0; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_helices_A = t1; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_groups_A = t2; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_geometry_A = t3; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_strands_A = t4; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_side_selected_helix_idxs_A = t5; + _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset_A = t7; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_dna_sequence_png_vertical_offset_A = t8; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_is_zoom_above_threshold_A = t9; + _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_only_display_selected_helices_A = t11; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_helix_idx_to_svg_position_map_A = t12; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_disable_png_caching_dna_sequences_A = t13; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_retain_strand_color_on_selection_A = t14; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_display_reverse_DNA_right_side_up_A = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t16; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t17; }, - _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable: function _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable() { + _$$DesignMainDNASequencesProps$JsMap: function _$$DesignMainDNASequencesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_dna_sequences$_props = t0; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_helices_A = t1; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_groups_A = t2; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_geometry_A = t3; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_strands_A = t4; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_side_selected_helix_idxs_A = t5; + _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset_A = t7; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_dna_sequence_png_vertical_offset_A = t8; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_is_zoom_above_threshold_A = t9; + _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_only_display_selected_helices_A = t11; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_helix_idx_to_svg_position_map_A = t12; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_disable_png_caching_dna_sequences_A = t13; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_retain_strand_color_on_selection_A = t14; + _.DesignMainDNASequencesProps___DesignMainDNASequencesProps_display_reverse_DNA_right_side_up_A = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t16; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t17; }, - _LoadingDialogHide_Object_BuiltJsonSerializable: function _LoadingDialogHide_Object_BuiltJsonSerializable() { + _$DesignMainDNASequencesComponent: function _$DesignMainDNASequencesComponent(t0) { + var _ = this; + _.___$DesignMainDNASequencesComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _LoadingDialogShow_Object_BuiltJsonSerializable: function _LoadingDialogShow_Object_BuiltJsonSerializable() { + $DesignMainDNASequencesProps: function $DesignMainDNASequencesProps() { }, - _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable: function _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable() { + _DesignMainDNASequencesComponent_UiComponent2_PureComponent: function _DesignMainDNASequencesComponent_UiComponent2_PureComponent() { }, - _LoopoutLengthChange_Object_BuiltJsonSerializable: function _LoopoutLengthChange_Object_BuiltJsonSerializable() { + __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps() { }, - _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps() { }, - _LoopoutsLengthChange_Object_BuiltJsonSerializable: function _LoopoutsLengthChange_Object_BuiltJsonSerializable() { + _$DesignMainDomainMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDomainMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps(backingProps); }, - _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDomainMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDomainMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domain_moving$_props = backingMap; + return t1; + } }, - _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable() { + _$$DesignMainDomainMovingProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDomainMovingProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domain_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable() { + DesignMainDomainMovingProps: function DesignMainDomainMovingProps() { }, - _ManualPasteInitiate_Object_BuiltJsonSerializable: function _ManualPasteInitiate_Object_BuiltJsonSerializable() { + DesignMainDomainMovingComponent: function DesignMainDomainMovingComponent() { }, - _ModificationAdd_Object_BuiltJsonSerializable: function _ModificationAdd_Object_BuiltJsonSerializable() { + $DesignMainDomainMovingComponentFactory_closure: function $DesignMainDomainMovingComponentFactory_closure() { }, - _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction: function _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDomainMovingProps: function _$$DesignMainDomainMovingProps() { }, - _ModificationConnectorLengthSet_Object_BuiltJsonSerializable: function _ModificationConnectorLengthSet_Object_BuiltJsonSerializable() { + _$$DesignMainDomainMovingProps$PlainMap: function _$$DesignMainDomainMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_domain_moving$_props = t0; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_domain_moved_A = t1; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_color_A = t2; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_original_group_A = t3; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_current_group_A = t4; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_side_selected_helix_idxs_A = t5; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_view_order_A = t6; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_offset_A = t7; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_forward_A = t8; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_allowable_A = t9; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_helices_A = t10; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_groups_A = t11; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_geometry_A = t12; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_domain_helix_svg_position_y_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; }, - _ModificationEdit_Object_BuiltJsonSerializable: function _ModificationEdit_Object_BuiltJsonSerializable() { + _$$DesignMainDomainMovingProps$JsMap: function _$$DesignMainDomainMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_domain_moving$_props = t0; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_domain_moved_A = t1; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_color_A = t2; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_original_group_A = t3; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_current_group_A = t4; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_side_selected_helix_idxs_A = t5; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_view_order_A = t6; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_offset_A = t7; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_delta_forward_A = t8; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_allowable_A = t9; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_helices_A = t10; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_groups_A = t11; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_geometry_A = t12; + _.DesignMainDomainMovingProps___DesignMainDomainMovingProps_domain_helix_svg_position_y_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; }, - _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainDomainMovingComponent: function _$DesignMainDomainMovingComponent(t0) { + var _ = this; + _.___$DesignMainDomainMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _ModificationFontSizeSet_Object_BuiltJsonSerializable: function _ModificationFontSizeSet_Object_BuiltJsonSerializable() { + $DesignMainDomainMovingProps: function $DesignMainDomainMovingProps() { }, - _ModificationRemove_Object_BuiltJsonSerializable: function _ModificationRemove_Object_BuiltJsonSerializable() { + _DesignMainDomainMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainMovingComponent_UiComponent2_PureComponent() { }, - _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction: function _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps() { }, - _Modifications3PrimeEdit_Object_BuiltJsonSerializable: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable() { + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps() { }, - _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainDomainNameMismatches(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDomainNameMismatchesProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps(backingProps); }, - _Modifications5PrimeEdit_Object_BuiltJsonSerializable: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable() { + _$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDomainNameMismatchesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDomainNameMismatchesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domain_name_mismatches$_props = backingMap; + return t1; + } }, - _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDomainNameMismatchesProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDomainNameMismatchesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domain_name_mismatches$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _ModificationsInternalEdit_Object_BuiltJsonSerializable: function _ModificationsInternalEdit_Object_BuiltJsonSerializable() { + DesignMainDomainNameMismatchesProps: function DesignMainDomainNameMismatchesProps() { }, - _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainDomainNameMismatchesComponent: function DesignMainDomainNameMismatchesComponent() { }, - _MouseGridPositionSideClear_Object_BuiltJsonSerializable: function _MouseGridPositionSideClear_Object_BuiltJsonSerializable() { + $DesignMainDomainNameMismatchesComponentFactory_closure: function $DesignMainDomainNameMismatchesComponentFactory_closure() { }, - _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable: function _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable() { + _$$DesignMainDomainNameMismatchesProps: function _$$DesignMainDomainNameMismatchesProps() { }, - _MousePositionSideClear_Object_BuiltJsonSerializable: function _MousePositionSideClear_Object_BuiltJsonSerializable() { + _$$DesignMainDomainNameMismatchesProps$PlainMap: function _$$DesignMainDomainNameMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_domain_name_mismatches$_props = t0; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_design_A = t1; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_only_display_selected_helices_A = t2; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_side_selected_helix_idxs_A = t3; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _MousePositionSideUpdate_Object_BuiltJsonSerializable: function _MousePositionSideUpdate_Object_BuiltJsonSerializable() { + _$$DesignMainDomainNameMismatchesProps$JsMap: function _$$DesignMainDomainNameMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_domain_name_mismatches$_props = t0; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_design_A = t1; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_only_display_selected_helices_A = t2; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_side_selected_helix_idxs_A = t3; + _.DesignMainDomainNameMismatchesProps___DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _MouseoverDataClear_Object_BuiltJsonSerializable: function _MouseoverDataClear_Object_BuiltJsonSerializable() { + _$DesignMainDomainNameMismatchesComponent: function _$DesignMainDomainNameMismatchesComponent(t0) { + var _ = this; + _.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _MouseoverDataUpdate_Object_BuiltJsonSerializable: function _MouseoverDataUpdate_Object_BuiltJsonSerializable() { - }, - _MoveHelicesToGroup_Object_BuiltJsonSerializable: function _MoveHelicesToGroup_Object_BuiltJsonSerializable() { - }, - _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction: function _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction() { - }, - _MoveLinker_Object_BuiltJsonSerializable: function _MoveLinker_Object_BuiltJsonSerializable() { - }, - _MoveLinker_Object_BuiltJsonSerializable_UndoableAction: function _MoveLinker_Object_BuiltJsonSerializable_UndoableAction() { - }, - _NewDesignSet_Object_BuiltJsonSerializable: function _NewDesignSet_Object_BuiltJsonSerializable() { + $DesignMainDomainNameMismatchesProps: function $DesignMainDomainNameMismatchesProps() { }, - _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction: function _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction() { + _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent() { }, - _Nick_Object_BuiltJsonSerializable: function _Nick_Object_BuiltJsonSerializable() { + __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps() { }, - _Nick_Object_BuiltJsonSerializable_UndoableAction: function _Nick_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps() { }, - _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable: function _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable() { + set_design_main_domains_moving_props(elt, state) { + var t4, group_name, t5, current_group, original_group, selected_domains_on_multiple_groups, + t1 = state.ui_state, + t2 = t1.domains_move, + t3 = t2 != null; + if (t3) { + t4 = state.get$design(); + group_name = A.original_group_name_from_domains_move(t4, t2); + t4 = t4.groups._map$_map.$index(0, group_name); + t4.toString; + t5 = state.get$design(); + group_name = A.current_group_name_from_domains_move(t5, t2); + t5 = t5.groups._map$_map.$index(0, group_name); + t5.toString; + current_group = t5; + original_group = t4; + } else { + original_group = null; + current_group = null; + } + if (t3) { + t3 = state.get$design().group_names_of_domains$1(t2.domains_moving)._set; + selected_domains_on_multiple_groups = t3.get$length(t3) > 1; + } else + selected_domains_on_multiple_groups = false; + if (selected_domains_on_multiple_groups) + t2 = null; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDosd, t2); + t2 = state.get$design(); + t3 = t2.__color_of_domain; + if (t3 == null) { + t3 = A.Design.prototype.get$color_of_domain.call(t2); + t2.set$__color_of_domain(t3); + t2 = t3; + } else + t2 = t3; + type$.BuiltMap_Domain_Color._as(t2); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDosco, t2); + t2 = type$.BuiltMap_String_HelixGroup._as(state.get$design().groups); + J.$indexSet$ax(elt.get$props(elt), "DesignMainDomainsMovingProps.groups", t2); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDoso, original_group); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDoscu, current_group); + t2 = type$.BuiltMap_int_Helix._as(state.get$design().helices); + J.$indexSet$ax(elt.get$props(elt), "DesignMainDomainsMovingProps.helices", t2); + t1 = type$.BuiltSet_int._as(t1.storables.side_selected_helix_idxs); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDoss, t1); + t1 = type$.BuiltMap_int_num._as(state.get$helix_idx_to_svg_position_map().map$2$1(0, new A.set_design_main_domains_moving_props_closure(), type$.int, type$.num)); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMDosh, t1); + t1 = state.get$design().geometry; + J.$indexSet$ax(elt.get$props(elt), "DesignMainDomainsMovingProps.geometry", t1); + return elt; + }, + _$DesignMainDomainsMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDomainsMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps(backingProps); + }, + _$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDomainsMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDomainsMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domains_moving$_props = backingMap; + return t1; + } }, - _OxdnaExport_Object_BuiltJsonSerializable: function _OxdnaExport_Object_BuiltJsonSerializable() { + _$$DesignMainDomainsMovingProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDomainsMovingProps$JsMap(new A.JsBackedMap({}), null, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_domains_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _OxviewExport_Object_BuiltJsonSerializable: function _OxviewExport_Object_BuiltJsonSerializable() { + set_design_main_domains_moving_props_closure: function set_design_main_domains_moving_props_closure() { }, - _OxviewShowSet_Object_BuiltJsonSerializable: function _OxviewShowSet_Object_BuiltJsonSerializable() { + ConnectedDesignMainDomainsMoving_closure: function ConnectedDesignMainDomainsMoving_closure() { }, - _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable() { + DesignMainDomainsMovingProps: function DesignMainDomainsMovingProps() { }, - _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainDomainsMovingComponent: function DesignMainDomainsMovingComponent() { }, - _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable() { + $DesignMainDomainsMovingComponentFactory_closure: function $DesignMainDomainsMovingComponentFactory_closure() { }, - _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainDomainsMovingProps: function _$$DesignMainDomainsMovingProps() { }, - _PotentialCrossoverCreate_Object_BuiltJsonSerializable: function _PotentialCrossoverCreate_Object_BuiltJsonSerializable() { + _$$DesignMainDomainsMovingProps$PlainMap: function _$$DesignMainDomainsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_domains_moving$_props = t0; + _.DesignMainDomainsMovingProps_domains_move = t1; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_color_of_domain_A = t2; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_original_group_A = t3; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_current_group_A = t4; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_helices_A = t5; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_groups_A = t6; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_side_selected_helix_idxs_A = t7; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_geometry_A = t8; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map_A = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - _PotentialCrossoverMove_Object_BuiltJsonSerializable: function _PotentialCrossoverMove_Object_BuiltJsonSerializable() { + _$$DesignMainDomainsMovingProps$JsMap: function _$$DesignMainDomainsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_domains_moving$_props = t0; + _.DesignMainDomainsMovingProps_domains_move = t1; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_color_of_domain_A = t2; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_original_group_A = t3; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_current_group_A = t4; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_helices_A = t5; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_groups_A = t6; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_side_selected_helix_idxs_A = t7; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_geometry_A = t8; + _.DesignMainDomainsMovingProps___DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map_A = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - _PotentialCrossoverRemove_Object_BuiltJsonSerializable: function _PotentialCrossoverRemove_Object_BuiltJsonSerializable() { + _$DesignMainDomainsMovingComponent: function _$DesignMainDomainsMovingComponent(t0) { + var _ = this; + _.___$DesignMainDomainsMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _PrepareToLoadDNAFile_Object_BuiltJsonSerializable: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable() { + $DesignMainDomainsMovingProps: function $DesignMainDomainsMovingProps() { }, - _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { + _DesignMainDomainsMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainsMovingComponent_UiComponent2_PureComponent() { }, - _Redo_Object_BuiltJsonSerializable: function _Redo_Object_BuiltJsonSerializable() { + __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps() { }, - _Redo_Object_BuiltJsonSerializable_DesignChangingAction: function _Redo_Object_BuiltJsonSerializable_DesignChangingAction() { + __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps() { }, - _RelaxHelixRolls_Object_BuiltJsonSerializable: function _RelaxHelixRolls_Object_BuiltJsonSerializable() { + send_error(escaped_error_message) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + t1, t2; + var $async$send_error = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $.__app._readField$0().dispatch$1(A.ErrorMessageSet_ErrorMessageSet(escaped_error_message)); + $.__app._readField$0().dispatch$1(new A._$LoadingDialogHide()); + t1 = $.__app._readField$0().__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_design_view_A; + t1 === $ && A.throwLateFieldNI("design_view"); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t1.render$1(0, t2.get$state(t2)); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$send_error, $async$completer); }, - _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction: function _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction() { + _$DesignMainErrorBoundary(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainErrorBoundaryProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(backingProps); }, - _RemoveDNA_Object_BuiltJsonSerializable: function _RemoveDNA_Object_BuiltJsonSerializable() { + _$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainErrorBoundaryProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainErrorBoundaryProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_props = backingMap; + return t1; + } }, - _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction: function _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainErrorBoundaryProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$DesignMainErrorBoundaryProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _ReplaceStrands_Object_BuiltJsonSerializable: function _ReplaceStrands_Object_BuiltJsonSerializable() { + _$$DesignMainErrorBoundaryState$JsMap$(backingMap) { + var t1 = new A._$$DesignMainErrorBoundaryState$JsMap(new A.JsBackedMap({}), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_state = backingMap; + return t1; }, - _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction: function _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainErrorBoundaryStateMixin: function DesignMainErrorBoundaryStateMixin() { }, - _ResetLocalStorage_Object_BuiltJsonSerializable: function _ResetLocalStorage_Object_BuiltJsonSerializable() { + DesignMainErrorBoundaryComponent: function DesignMainErrorBoundaryComponent() { }, - _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable: function _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable() { + $DesignMainErrorBoundaryComponentFactory_closure: function $DesignMainErrorBoundaryComponentFactory_closure() { }, - _SaveDNAFile_Object_BuiltJsonSerializable: function _SaveDNAFile_Object_BuiltJsonSerializable() { + _$$DesignMainErrorBoundaryProps: function _$$DesignMainErrorBoundaryProps() { }, - _ScaffoldSet_Object_BuiltJsonSerializable: function _ScaffoldSet_Object_BuiltJsonSerializable() { + _$$DesignMainErrorBoundaryProps$PlainMap: function _$$DesignMainErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction: function _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainErrorBoundaryProps$JsMap: function _$$DesignMainErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable() { + _$$DesignMainErrorBoundaryState: function _$$DesignMainErrorBoundaryState() { }, - _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainErrorBoundaryState$JsMap: function _$$DesignMainErrorBoundaryState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_main_error_boundary$_state = t0; + _.DesignMainErrorBoundaryStateMixin_error = t1; + _.ErrorBoundaryState___ErrorBoundaryState_hasError_A = t2; + _.ErrorBoundaryState___ErrorBoundaryState_showFallbackUIOnError_A = t3; }, - _Select_Object_BuiltJsonSerializable: function _Select_Object_BuiltJsonSerializable() { + _$DesignMainErrorBoundaryComponent: function _$DesignMainErrorBoundaryComponent(t0) { + var _ = this; + _.___$DesignMainErrorBoundaryComponent__cachedTypedState_A = _.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _SelectAll_Object_BuiltJsonSerializable: function _SelectAll_Object_BuiltJsonSerializable() { + $DesignMainErrorBoundaryStateMixin: function $DesignMainErrorBoundaryStateMixin() { }, - _SelectAllSelectable_Object_BuiltJsonSerializable: function _SelectAllSelectable_Object_BuiltJsonSerializable() { + _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { }, - _SelectAllWithSameAsSelected_Object_BuiltJsonSerializable: function _SelectAllWithSameAsSelected_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps() { }, - _SelectModeToggle_Object_BuiltJsonSerializable: function _SelectModeToggle_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { }, - _SelectModesAdd_Object_BuiltJsonSerializable: function _SelectModesAdd_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState() { }, - _SelectModesSet_Object_BuiltJsonSerializable: function _SelectModesSet_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { }, - _SelectOrToggleItems_Object_BuiltJsonSerializable: function _SelectOrToggleItems_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin() { }, - _SelectionBoxCreate_Object_BuiltJsonSerializable: function _SelectionBoxCreate_Object_BuiltJsonSerializable() { + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin() { }, - _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable: function _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable() { + _$DesignMainHelices(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainHelicesProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainHelicesProps__$$DesignMainHelicesProps(backingProps); }, - _SelectionBoxRemove_Object_BuiltJsonSerializable: function _SelectionBoxRemove_Object_BuiltJsonSerializable() { + _$$DesignMainHelicesProps__$$DesignMainHelicesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainHelicesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainHelicesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_helices$_props = backingMap; + return t1; + } }, - _SelectionBoxSizeChange_Object_BuiltJsonSerializable: function _SelectionBoxSizeChange_Object_BuiltJsonSerializable() { + _$$DesignMainHelicesProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainHelicesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_helices$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _SelectionRopeAddPoint_Object_BuiltJsonSerializable: function _SelectionRopeAddPoint_Object_BuiltJsonSerializable() { + DesignMainHelicesProps: function DesignMainHelicesProps() { }, - _SelectionRopeCreate_Object_BuiltJsonSerializable: function _SelectionRopeCreate_Object_BuiltJsonSerializable() { + DesignMainHelicesComponent: function DesignMainHelicesComponent() { }, - _SelectionRopeMouseMove_Object_BuiltJsonSerializable: function _SelectionRopeMouseMove_Object_BuiltJsonSerializable() { + $DesignMainHelicesComponentFactory_closure: function $DesignMainHelicesComponentFactory_closure() { }, - _SelectionRopeRemove_Object_BuiltJsonSerializable: function _SelectionRopeRemove_Object_BuiltJsonSerializable() { + _$$DesignMainHelicesProps: function _$$DesignMainHelicesProps() { }, - _SelectionsAdjustMainView_Object_BuiltJsonSerializable: function _SelectionsAdjustMainView_Object_BuiltJsonSerializable() { + _$$DesignMainHelicesProps$PlainMap: function _$$DesignMainHelicesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_helices$_props = t0; + _.DesignMainHelicesProps___DesignMainHelicesProps_helices_A = t1; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_idxs_in_group_A = t2; + _.DesignMainHelicesProps___DesignMainHelicesProps_groups_A = t3; + _.DesignMainHelicesProps___DesignMainHelicesProps_side_selected_helix_idxs_A = t4; + _.DesignMainHelicesProps___DesignMainHelicesProps_major_tick_offset_font_size_A = t5; + _.DesignMainHelicesProps___DesignMainHelicesProps_major_tick_width_font_size_A = t6; + _.DesignMainHelicesProps___DesignMainHelicesProps_only_display_selected_helices_A = t7; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_change_apply_to_all_A = t8; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_dna_A = t9; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_domain_labels_A = t10; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_base_offsets_of_major_ticks_A = t11; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix_A = t12; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_major_tick_widths_A = t13; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_major_tick_widths_all_helices_A = t14; + _.DesignMainHelicesProps___DesignMainHelicesProps_geometry_A = t15; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_helix_circles_A = t16; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_idx_to_svg_position_map_A = t17; + _.DesignMainHelicesProps___DesignMainHelicesProps_invert_y_A = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t19; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t20; }, - _SelectionsClear_Object_BuiltJsonSerializable: function _SelectionsClear_Object_BuiltJsonSerializable() { + _$$DesignMainHelicesProps$JsMap: function _$$DesignMainHelicesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_helices$_props = t0; + _.DesignMainHelicesProps___DesignMainHelicesProps_helices_A = t1; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_idxs_in_group_A = t2; + _.DesignMainHelicesProps___DesignMainHelicesProps_groups_A = t3; + _.DesignMainHelicesProps___DesignMainHelicesProps_side_selected_helix_idxs_A = t4; + _.DesignMainHelicesProps___DesignMainHelicesProps_major_tick_offset_font_size_A = t5; + _.DesignMainHelicesProps___DesignMainHelicesProps_major_tick_width_font_size_A = t6; + _.DesignMainHelicesProps___DesignMainHelicesProps_only_display_selected_helices_A = t7; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_change_apply_to_all_A = t8; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_dna_A = t9; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_domain_labels_A = t10; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_base_offsets_of_major_ticks_A = t11; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix_A = t12; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_major_tick_widths_A = t13; + _.DesignMainHelicesProps___DesignMainHelicesProps_display_major_tick_widths_all_helices_A = t14; + _.DesignMainHelicesProps___DesignMainHelicesProps_geometry_A = t15; + _.DesignMainHelicesProps___DesignMainHelicesProps_show_helix_circles_A = t16; + _.DesignMainHelicesProps___DesignMainHelicesProps_helix_idx_to_svg_position_map_A = t17; + _.DesignMainHelicesProps___DesignMainHelicesProps_invert_y_A = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t19; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t20; }, - _SetAppUIStateStorable_Object_BuiltJsonSerializable: function _SetAppUIStateStorable_Object_BuiltJsonSerializable() { + _$DesignMainHelicesComponent: function _$DesignMainHelicesComponent(t0) { + var _ = this; + _.___$DesignMainHelicesComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable: function _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable() { + $DesignMainHelicesProps: function $DesignMainHelicesProps() { }, - _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable() { + _DesignMainHelicesComponent_UiComponent2_PureComponent: function _DesignMainHelicesComponent_UiComponent2_PureComponent() { }, - _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable() { + __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps() { }, - _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable: function _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable() { + __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps() { }, - _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable: function _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable() { + _$DesignMainHelix(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainHelixProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainHelixProps__$$DesignMainHelixProps(backingProps); }, - _SetModificationDisplayConnector_Object_BuiltJsonSerializable: function _SetModificationDisplayConnector_Object_BuiltJsonSerializable() { + _$$DesignMainHelixProps__$$DesignMainHelixProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainHelixProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainHelixProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_helix$_props = backingMap; + return t1; + } }, - _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable: function _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable() { + _$$DesignMainHelixProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainHelixProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_helix$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _ShowAxisArrowsSet_Object_BuiltJsonSerializable: function _ShowAxisArrowsSet_Object_BuiltJsonSerializable() { + DesignMainHelixProps: function DesignMainHelixProps() { }, - _ShowBasePairLinesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesSet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent: function DesignMainHelixComponent() { }, - _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure: function DesignMainHelixComponent_render_closure(t0) { + this.$this = t0; }, - _ShowDNASet_Object_BuiltJsonSerializable: function _ShowDNASet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure0: function DesignMainHelixComponent_render_closure0(t0) { + this.$this = t0; }, - _ShowDomainLabelsSet_Object_BuiltJsonSerializable: function _ShowDomainLabelsSet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure1: function DesignMainHelixComponent_render_closure1(t0, t1) { + this.$this = t0; + this.geometry = t1; }, - _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable: function _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure2: function DesignMainHelixComponent_render_closure2() { }, - _ShowDomainNamesSet_Object_BuiltJsonSerializable: function _ShowDomainNamesSet_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure3: function DesignMainHelixComponent_render_closure3(t0) { + this.$this = t0; }, - _ShowEditMenuToggle_Object_BuiltJsonSerializable: function _ShowEditMenuToggle_Object_BuiltJsonSerializable() { + DesignMainHelixComponent_render_closure4: function DesignMainHelixComponent_render_closure4(t0) { + this.$this = t0; }, - _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable: function _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable() { + $DesignMainHelixComponentFactory_closure: function $DesignMainHelixComponentFactory_closure() { }, - _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable() { + _$$DesignMainHelixProps: function _$$DesignMainHelixProps() { }, - _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable() { + _$$DesignMainHelixProps$PlainMap: function _$$DesignMainHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_helix$_props = t0; + _.DesignMainHelixProps___DesignMainHelixProps_helix_A = t1; + _.DesignMainHelixProps___DesignMainHelixProps_selected_A = t2; + _.DesignMainHelixProps___DesignMainHelixProps_major_tick_offset_font_size_A = t3; + _.DesignMainHelixProps___DesignMainHelixProps_major_tick_width_font_size_A = t4; + _.DesignMainHelixProps___DesignMainHelixProps_helix_change_apply_to_all_A = t5; + _.DesignMainHelixProps___DesignMainHelixProps_show_dna_A = t6; + _.DesignMainHelixProps___DesignMainHelixProps_show_domain_labels_A = t7; + _.DesignMainHelixProps___DesignMainHelixProps_display_base_offsets_of_major_ticks_A = t8; + _.DesignMainHelixProps___DesignMainHelixProps_display_major_tick_widths_A = t9; + _.DesignMainHelixProps___DesignMainHelixProps_show_helix_circles_A = t10; + _.DesignMainHelixProps___DesignMainHelixProps_helix_svg_position_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable: function _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable() { + _$$DesignMainHelixProps$JsMap: function _$$DesignMainHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_helix$_props = t0; + _.DesignMainHelixProps___DesignMainHelixProps_helix_A = t1; + _.DesignMainHelixProps___DesignMainHelixProps_selected_A = t2; + _.DesignMainHelixProps___DesignMainHelixProps_major_tick_offset_font_size_A = t3; + _.DesignMainHelixProps___DesignMainHelixProps_major_tick_width_font_size_A = t4; + _.DesignMainHelixProps___DesignMainHelixProps_helix_change_apply_to_all_A = t5; + _.DesignMainHelixProps___DesignMainHelixProps_show_dna_A = t6; + _.DesignMainHelixProps___DesignMainHelixProps_show_domain_labels_A = t7; + _.DesignMainHelixProps___DesignMainHelixProps_display_base_offsets_of_major_ticks_A = t8; + _.DesignMainHelixProps___DesignMainHelixProps_display_major_tick_widths_A = t9; + _.DesignMainHelixProps___DesignMainHelixProps_show_helix_circles_A = t10; + _.DesignMainHelixProps___DesignMainHelixProps_helix_svg_position_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - _ShowMismatchesSet_Object_BuiltJsonSerializable: function _ShowMismatchesSet_Object_BuiltJsonSerializable() { + _$DesignMainHelixComponent: function _$DesignMainHelixComponent(t0) { + var _ = this; + _.___$DesignMainHelixComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _ShowModificationsSet_Object_BuiltJsonSerializable: function _ShowModificationsSet_Object_BuiltJsonSerializable() { + $DesignMainHelixProps: function $DesignMainHelixProps() { }, - _ShowMouseoverDataSet_Object_BuiltJsonSerializable: function _ShowMouseoverDataSet_Object_BuiltJsonSerializable() { + _DesignMainHelixComponent_UiComponent2_PureComponent: function _DesignMainHelixComponent_UiComponent2_PureComponent() { }, - _ShowMouseoverRectSet_Object_BuiltJsonSerializable: function _ShowMouseoverRectSet_Object_BuiltJsonSerializable() { + __$$DesignMainHelixProps_UiProps_DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps() { }, - _ShowMouseoverRectToggle_Object_BuiltJsonSerializable: function _ShowMouseoverRectToggle_Object_BuiltJsonSerializable() { + __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps() { }, - _ShowSliceBarSet_Object_BuiltJsonSerializable: function _ShowSliceBarSet_Object_BuiltJsonSerializable() { + _$DesignMainLoopoutExtensionLength(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainLoopoutExtensionLengthProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps(backingProps); }, - _ShowStrandLabelsSet_Object_BuiltJsonSerializable: function _ShowStrandLabelsSet_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainLoopoutExtensionLengthProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainLoopoutExtensionLengthProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_length$_props = backingMap; + return t1; + } }, - _ShowStrandNamesSet_Object_BuiltJsonSerializable: function _ShowStrandNamesSet_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainLoopoutExtensionLengthProps$JsMap(new A.JsBackedMap({}), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_length$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable: function _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable() { + DesignMainLoopoutExtensionLengthProps: function DesignMainLoopoutExtensionLengthProps() { }, - _SkipUndo_Object_BuiltJsonSerializable: function _SkipUndo_Object_BuiltJsonSerializable() { + DesignMainLoopoutExtensionLengthComponent: function DesignMainLoopoutExtensionLengthComponent() { }, - _SliceBarMoveStart_Object_BuiltJsonSerializable: function _SliceBarMoveStart_Object_BuiltJsonSerializable() { + $DesignMainLoopoutExtensionLengthComponentFactory_closure: function $DesignMainLoopoutExtensionLengthComponentFactory_closure() { }, - _SliceBarMoveStop_Object_BuiltJsonSerializable: function _SliceBarMoveStop_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthProps: function _$$DesignMainLoopoutExtensionLengthProps() { }, - _SliceBarOffsetSet_Object_BuiltJsonSerializable: function _SliceBarOffsetSet_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_loopout_extension_length$_props = t0; + _.DesignMainLoopoutExtensionLengthProps___DesignMainLoopoutExtensionLengthProps_geometry_A = t1; + _.DesignMainLoopoutExtensionLengthProps___DesignMainLoopoutExtensionLengthProps_substrand_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _StrandCreateAdjustOffset_Object_BuiltJsonSerializable: function _StrandCreateAdjustOffset_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthProps$JsMap: function _$$DesignMainLoopoutExtensionLengthProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_loopout_extension_length$_props = t0; + _.DesignMainLoopoutExtensionLengthProps___DesignMainLoopoutExtensionLengthProps_geometry_A = t1; + _.DesignMainLoopoutExtensionLengthProps___DesignMainLoopoutExtensionLengthProps_substrand_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _StrandCreateCommit_Object_BuiltJsonSerializable: function _StrandCreateCommit_Object_BuiltJsonSerializable() { + _$DesignMainLoopoutExtensionLengthComponent: function _$DesignMainLoopoutExtensionLengthComponent(t0) { + var _ = this; + _.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainLoopoutExtensionLengthProps: function $DesignMainLoopoutExtensionLengthProps() { }, - _StrandCreateStart_Object_BuiltJsonSerializable: function _StrandCreateStart_Object_BuiltJsonSerializable() { + _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent() { }, - _StrandCreateStop_Object_BuiltJsonSerializable: function _StrandCreateStop_Object_BuiltJsonSerializable() { + __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps() { }, - _StrandLabelFontSizeSet_Object_BuiltJsonSerializable: function _StrandLabelFontSizeSet_Object_BuiltJsonSerializable() { + __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps() { }, - _StrandLabelSet_Object_BuiltJsonSerializable: function _StrandLabelSet_Object_BuiltJsonSerializable() { + _$DesignMainLoopoutExtensionLengths(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps(backingProps); }, - _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainLoopoutExtensionLengthsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_lengths$_props = backingMap; + return t1; + } }, - _StrandNameFontSizeSet_Object_BuiltJsonSerializable: function _StrandNameFontSizeSet_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainLoopoutExtensionLengthsProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_lengths$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _StrandNameSet_Object_BuiltJsonSerializable: function _StrandNameSet_Object_BuiltJsonSerializable() { + DesignMainLoopoutExtensionLengthsProps: function DesignMainLoopoutExtensionLengthsProps() { }, - _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainLoopoutExtensionLengthsComponent: function DesignMainLoopoutExtensionLengthsComponent() { }, - _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable() { + $DesignMainLoopoutExtensionLengthsComponentFactory_closure: function $DesignMainLoopoutExtensionLengthsComponentFactory_closure() { }, - _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthsProps: function _$$DesignMainLoopoutExtensionLengthsProps() { }, - _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutExtensionLengthsProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthsProps$PlainMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_main_loopout_extension_lengths$_props = t0; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_geometry_A = t1; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_strands_A = t2; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_show_length_A = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction() { + _$$DesignMainLoopoutExtensionLengthsProps$JsMap: function _$$DesignMainLoopoutExtensionLengthsProps$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_main_loopout_extension_lengths$_props = t0; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_geometry_A = t1; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_strands_A = t2; + _.DesignMainLoopoutExtensionLengthsProps___DesignMainLoopoutExtensionLengthsProps_show_length_A = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _StrandPasteKeepColorSet_Object_BuiltJsonSerializable: function _StrandPasteKeepColorSet_Object_BuiltJsonSerializable() { + _$DesignMainLoopoutExtensionLengthsComponent: function _$DesignMainLoopoutExtensionLengthsComponent(t0) { + var _ = this; + _.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable: function _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable() { + $DesignMainLoopoutExtensionLengthsProps: function $DesignMainLoopoutExtensionLengthsProps() { }, - _StrandsMoveCommit_Object_BuiltJsonSerializable: function _StrandsMoveCommit_Object_BuiltJsonSerializable() { + _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent() { }, - _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps() { }, - _StrandsMoveStart_Object_BuiltJsonSerializable: function _StrandsMoveStart_Object_BuiltJsonSerializable() { + __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps() { }, - _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable: function _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable() { + _$DesignMainPotentialVerticalCrossover(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps(backingProps); }, - _StrandsMoveStop_Object_BuiltJsonSerializable: function _StrandsMoveStop_Object_BuiltJsonSerializable() { + _$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainPotentialVerticalCrossoverProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossover$_props = backingMap; + return t1; + } }, - _StrandsReflect_Object_BuiltJsonSerializable: function _StrandsReflect_Object_BuiltJsonSerializable() { + _$$DesignMainPotentialVerticalCrossoverProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainPotentialVerticalCrossoverProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossover$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _SubstrandLabelSet_Object_BuiltJsonSerializable: function _SubstrandLabelSet_Object_BuiltJsonSerializable() { + DesignMainPotentialVerticalCrossoverProps: function DesignMainPotentialVerticalCrossoverProps() { }, - _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { + DesignMainPotentialVerticalCrossoverComponent: function DesignMainPotentialVerticalCrossoverComponent() { }, - _SubstrandNameSet_Object_BuiltJsonSerializable: function _SubstrandNameSet_Object_BuiltJsonSerializable() { + DesignMainPotentialVerticalCrossoverComponent_render_closure: function DesignMainPotentialVerticalCrossoverComponent_render_closure(t0) { + this.crossover = t0; }, - _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { + $DesignMainPotentialVerticalCrossoverComponentFactory_closure: function $DesignMainPotentialVerticalCrossoverComponentFactory_closure() { }, - _ThrottledActionFast_Object_BuiltJsonSerializable: function _ThrottledActionFast_Object_BuiltJsonSerializable() { + _$$DesignMainPotentialVerticalCrossoverProps: function _$$DesignMainPotentialVerticalCrossoverProps() { }, - _ThrottledActionNonFast_Object_BuiltJsonSerializable: function _ThrottledActionNonFast_Object_BuiltJsonSerializable() { + _$$DesignMainPotentialVerticalCrossoverProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_potential_vertical_crossover$_props = t0; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_potential_vertical_crossover_A = t1; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_helices_A = t2; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_groups_A = t3; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_geometry_A = t4; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _Undo_Object_BuiltJsonSerializable: function _Undo_Object_BuiltJsonSerializable() { + _$$DesignMainPotentialVerticalCrossoverProps$JsMap: function _$$DesignMainPotentialVerticalCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_potential_vertical_crossover$_props = t0; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_potential_vertical_crossover_A = t1; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_helices_A = t2; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_groups_A = t3; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_geometry_A = t4; + _.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_helix_idx_to_svg_position_y_map_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - _Undo_Object_BuiltJsonSerializable_DesignChangingAction: function _Undo_Object_BuiltJsonSerializable_DesignChangingAction() { + _$DesignMainPotentialVerticalCrossoverComponent: function _$DesignMainPotentialVerticalCrossoverComponent(t0) { + var _ = this; + _.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _UndoRedoClear_Object_BuiltJsonSerializable: function _UndoRedoClear_Object_BuiltJsonSerializable() { + $DesignMainPotentialVerticalCrossoverProps: function $DesignMainPotentialVerticalCrossoverProps() { }, - _VendorFieldsRemove_Object_BuiltJsonSerializable: function _VendorFieldsRemove_Object_BuiltJsonSerializable() { + _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent: function _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent() { }, - _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps() { }, - _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable: function _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable() { + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps() { }, - _ZoomSpeedSet_Object_BuiltJsonSerializable: function _ZoomSpeedSet_Object_BuiltJsonSerializable() { + _$DesignMainPotentialVerticalCrossovers(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps(backingProps); }, - app_state_reducer: function(state, action) { - var t1, modify_undo_redo_stacks, state0, t2, _box_0 = {}; - _box_0.state = state; - _box_0.action = action; - if (action instanceof U.SkipUndo) { - t1 = _box_0.action = action.undoable_action; - modify_undo_redo_stacks = false; - } else { - t1 = action; - modify_undo_redo_stacks = true; + _$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainPotentialVerticalCrossoversProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossovers$_props = backingMap; + return t1; } - if (t1 instanceof U.LoadDNAFile) - return S.load_dna_file_reducer(state, t1); - state0 = _box_0.state = $.$get$undo_redo_reducer().call$2(state, t1); - t1 = modify_undo_redo_stacks ? _box_0.state = $.$get$undoable_action_reducer().call$2(state0, t1) : state0; - state0 = t1.rebuild$1(new U.app_state_reducer_closure(_box_0)); - _box_0.state = state0; - _box_0.state = state0.rebuild$1(new U.app_state_reducer_closure0(_box_0, state)); - t1 = _box_0.action; - if (t1 instanceof U.BatchAction) - for (t1 = J.get$iterator$ax(t1.actions._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - _box_0.state = U.app_state_reducer(_box_0.state, U.SkipUndo_SkipUndo(t2)); - } - t1 = _box_0.state; - if (t1 == null) - throw H.wrapException(P.ArgumentError$("reducer returned a null state, which is disallowed")); + }, + _$$DesignMainPotentialVerticalCrossoversProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainPotentialVerticalCrossoversProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossovers$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - error_message_reducer: function(error_message, action) { - H._asStringS(error_message); - return type$.legacy_ErrorMessageSet._as(action).error_message; + DesignMainPotentialVerticalCrossoversProps: function DesignMainPotentialVerticalCrossoversProps() { }, - app_state_reducer_closure: function app_state_reducer_closure(t0) { - this._box_0 = t0; + DesignMainPotentialVerticalCrossoversComponent: function DesignMainPotentialVerticalCrossoversComponent() { }, - app_state_reducer_closure0: function app_state_reducer_closure0(t0, t1) { - this._box_0 = t0; - this.original_state = t1; + DesignMainPotentialVerticalCrossoversComponent_render_closure: function DesignMainPotentialVerticalCrossoversComponent_render_closure(t0, t1) { + this.idx_top = t0; + this.idx_bot = t1; }, - design_global_reducer: function(design, state, action) { - design = U.design_composed_global_reducer(design, state, action); - return $.$get$design_whole_global_reducer().call$3(design, state, action); + $DesignMainPotentialVerticalCrossoversComponentFactory_closure: function $DesignMainPotentialVerticalCrossoversComponentFactory_closure() { }, - design_composed_local_reducer: function(design, action) { - var t1 = design.rebuild$1(new U.design_composed_local_reducer_closure(design, action)); - return t1; + _$$DesignMainPotentialVerticalCrossoversProps: function _$$DesignMainPotentialVerticalCrossoversProps() { }, - design_composed_global_reducer: function(design, state, action) { - return design == null ? null : design.rebuild$1(new U.design_composed_global_reducer_closure(design, state, action)); + _$$DesignMainPotentialVerticalCrossoversProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoversProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_potential_vertical_crossovers$_props = t0; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers_A = t1; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_helices_A = t2; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_groups_A = t3; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_geometry_A = t4; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices_A = t5; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs_A = t6; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map_A = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - design_error_message_set_reducer: function(design, action) { - var t1; - type$.legacy_Design._as(design); - t1 = type$.legacy_ErrorMessageSet._as(action).error_message; - return t1.length === 0 ? design : null; - }, - design_geometry_set_reducer: function(design, state, action) { - var t1, t2, t3, new_helices, t4, t5, t6, t7, t8, t9; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - type$.legacy_GeometrySet._as(action); - t1 = design.helices; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - new_helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = t3._rest[0], t3 = t3._rest[1], t4 = type$.legacy_void_Function_legacy_HelixBuilder, t5 = type$.legacy_Helix; t1.moveNext$0();) { - t6 = t1.get$current(t1); - t7 = J.$index$asx(new_helices._copy_on_write_map$_map, t6); - t7.toString; - t8 = t4._as(new U.design_geometry_set_reducer_closure(action)); - t9 = new O.HelixBuilder(); - t9.get$_helix$_$this()._group = "default_group"; - t9.get$_helix$_$this()._min_offset = 0; - t9.get$_helix$_$this()._roll = 0; - t5._as(t7); - t9._helix$_$v = t7; - t8.call$1(t9); - t7 = t9.build$0(); - t2._as(t6); - t3._as(t7); - new_helices._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_helices._copy_on_write_map$_map, t6, t7); - } - return design.rebuild$1(new U.design_geometry_set_reducer_closure0(new_helices, action)); + _$$DesignMainPotentialVerticalCrossoversProps$JsMap: function _$$DesignMainPotentialVerticalCrossoversProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_potential_vertical_crossovers$_props = t0; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers_A = t1; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_helices_A = t2; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_groups_A = t3; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_geometry_A = t4; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices_A = t5; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs_A = t6; + _.DesignMainPotentialVerticalCrossoversProps___DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map_A = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t9; }, - new_design_set_reducer: function(design, action) { - type$.legacy_Design._as(design); - return type$.legacy_NewDesignSet._as(action).design; + _$DesignMainPotentialVerticalCrossoversComponent: function _$DesignMainPotentialVerticalCrossoversComponent(t0) { + var _ = this; + _.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - design_composed_local_reducer_closure: function design_composed_local_reducer_closure(t0, t1) { - this.design = t0; - this.action = t1; + $DesignMainPotentialVerticalCrossoversProps: function $DesignMainPotentialVerticalCrossoversProps() { }, - design_composed_global_reducer_closure: function design_composed_global_reducer_closure(t0, t1, t2) { - this.design = t0; - this.state = t1; - this.action = t2; + __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps() { }, - design_geometry_set_reducer_closure: function design_geometry_set_reducer_closure(t0) { - this.action = t0; + __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps() { }, - design_geometry_set_reducer_closure0: function design_geometry_set_reducer_closure0(t0, t1) { - this.new_helices = t0; - this.action = t1; + _$DesignMainSliceBar(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainSliceBarProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainSliceBarProps__$$DesignMainSliceBarProps(backingProps); }, - mouseover_data_clear_reducer: function(_, action) { - type$.legacy_MouseoverDataClear._as(action); - return D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_MouseoverData); - }, - mouseover_data_update_reducer: function(_, state, action) { - type$.legacy_AppState._as(state); - type$.legacy_MouseoverDataUpdate._as(action); - return D.BuiltList_BuiltList$of(K.MouseoverData_from_params(state.design, action.mouseover_params), type$.legacy_MouseoverData); - }, - helix_rotation_set_at_other_mouseover_reducer: function(mouseover_datas, state, action) { - var t1, t2, t3, t4, helix, helix_other, geometry; - type$.legacy_BuiltList_legacy_MouseoverData._as(mouseover_datas); - type$.legacy_AppState._as(state); - type$.legacy_HelixRollSetAtOther._as(action); - t1 = state.design; - t2 = t1.helices; - t3 = action.helix_idx; - t2 = t2._map$_map; - t4 = J.getInterceptor$asx(t2); - helix = t4.$index(t2, t3); - helix_other = t4.$index(t2, action.helix_other_idx); - geometry = t1.geometry; - return U._update_mouseover_datas_with_helix_rotation(t3, state, mouseover_datas, E.rotation_between_helices(helix, helix_other, action.forward, geometry), action.anchor); - }, - _update_mouseover_datas_with_helix_rotation: function(helix_idx, model, mouseover_datas, rotation, rotation_anchor) { - var mouseover_datas_builder, t2, t3, t4, t5, t6, i, t7, mouseover_data, t8, - t1 = model.design, - old_helix = J.$index$asx(t1.helices._map$_map, helix_idx), - old_rotation_at_rotation_anchor = t1.helix_rotation_forward$2(old_helix.idx, rotation_anchor), - new_helix = old_helix.rebuild$1(new U._update_mouseover_datas_with_helix_rotation_closure(C.JSNumber_methods.$mod(old_helix.roll + (rotation - old_rotation_at_rotation_anchor), 360))); - mouseover_datas.toString; - mouseover_datas_builder = D.ListBuilder_ListBuilder(mouseover_datas, mouseover_datas.$ti._precomputed1); - t1 = mouseover_datas._list; - t2 = J.getInterceptor$asx(t1); - t3 = mouseover_datas_builder.$ti; - t4 = t3._precomputed1; - t5 = type$.legacy_void_Function_legacy_MouseoverDataBuilder; - t6 = !t4._is(null); - t3 = t3._eval$1("List<1>"); - i = 0; - while (true) { - t7 = t2.get$length(t1); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - mouseover_data = t2.$index(t1, i); - if (mouseover_data.helix.idx === helix_idx) { - t7 = t5._as(new U._update_mouseover_datas_with_helix_rotation_closure0(new_helix)); - t8 = new K.MouseoverDataBuilder(); - t8._mouseover_data$_$v = mouseover_data; - t7.call$1(t8); - t7 = t4._as(t8.build$0()); - if (!$.$get$isSoundMode() && t6) - if (t7 == null) - H.throwExpression(P.ArgumentError$("null element")); - if (mouseover_datas_builder._listOwner != null) { - t8 = mouseover_datas_builder.__ListBuilder__list; - mouseover_datas_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t4))); - mouseover_datas_builder.set$_listOwner(null); - } - t8 = mouseover_datas_builder.__ListBuilder__list; - J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, i, t7); - } - ++i; + _$$DesignMainSliceBarProps__$$DesignMainSliceBarProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainSliceBarProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainSliceBarProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_slice_bar$_props = backingMap; + return t1; } - return mouseover_datas_builder.build$0(); }, - _update_mouseover_datas_with_helix_rotation_closure: function _update_mouseover_datas_with_helix_rotation_closure(t0) { - this.new_roll = t0; + _$$DesignMainSliceBarProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainSliceBarProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_slice_bar$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _update_mouseover_datas_with_helix_rotation_closure0: function _update_mouseover_datas_with_helix_rotation_closure0(t0) { - this.new_helix = t0; + DesignMainSliceBarProps: function DesignMainSliceBarProps() { }, - StrandCreation_StrandCreation: function(color, $forward, helix, original_offset) { - var t1 = new U.StrandCreationBuilder(); - type$.legacy_void_Function_legacy_StrandCreationBuilder._as(new U.StrandCreation_StrandCreation_closure(helix, $forward, original_offset, color)).call$1(t1); - return t1.build$0(); + DesignMainSliceBarComponent: function DesignMainSliceBarComponent() { }, - StrandCreation: function StrandCreation() { + DesignMainSliceBarComponent_render_closure: function DesignMainSliceBarComponent_render_closure() { }, - StrandCreation_StrandCreation_closure: function StrandCreation_StrandCreation_closure(t0, t1, t2, t3) { - var _ = this; - _.helix = t0; - _.forward = t1; - _.original_offset = t2; - _.color = t3; + $DesignMainSliceBarComponentFactory_closure: function $DesignMainSliceBarComponentFactory_closure() { }, - _$StrandCreationSerializer: function _$StrandCreationSerializer() { + _$$DesignMainSliceBarProps: function _$$DesignMainSliceBarProps() { }, - _$StrandCreation: function _$StrandCreation(t0, t1, t2, t3, t4) { + _$$DesignMainSliceBarProps$PlainMap: function _$$DesignMainSliceBarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; - _.helix = t0; - _.forward = t1; - _.original_offset = t2; - _.current_offset = t3; - _.color = t4; - _._strand_creation$__hashCode = null; + _._design_main_slice_bar$_props = t0; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_slice_bar_offset_A = t1; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helices_A = t2; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_groups_A = t3; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_geometry_A = t4; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_displayed_group_name_A = t5; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helix_idxs_in_group_A = t6; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_side_selected_helix_idxs_A = t7; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_only_display_selected_helices_A = t8; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helix_idx_to_svg_position_map_A = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - StrandCreationBuilder: function StrandCreationBuilder() { + _$$DesignMainSliceBarProps$JsMap: function _$$DesignMainSliceBarProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; - _._color = _._current_offset = _._original_offset = _._forward = _._helix = _._strand_creation$_$v = null; + _._design_main_slice_bar$_props = t0; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_slice_bar_offset_A = t1; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helices_A = t2; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_groups_A = t3; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_geometry_A = t4; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_displayed_group_name_A = t5; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helix_idxs_in_group_A = t6; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_side_selected_helix_idxs_A = t7; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_only_display_selected_helices_A = t8; + _.DesignMainSliceBarProps___DesignMainSliceBarProps_helix_idx_to_svg_position_map_A = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - _StrandCreation_Object_BuiltJsonSerializable: function _StrandCreation_Object_BuiltJsonSerializable() { + _$DesignMainSliceBarComponent: function _$DesignMainSliceBarComponent(t0) { + var _ = this; + _.___$DesignMainSliceBarComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - StrandsMove_StrandsMove: function(all_strands, copy, groups, helices, keep_color, original_address, original_helices_view_order_inverse, strands_moving) { - var strands_fixed, t1, t2, t3; - if (copy) - strands_fixed = all_strands; + $DesignMainSliceBarProps: function $DesignMainSliceBarProps() { + }, + _DesignMainSliceBarComponent_UiComponent2_PureComponent: function _DesignMainSliceBarComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps() { + }, + __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps() { + }, + ask_for_label(strand, substrand, selected, $T) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, existing_label, t3, results, label, action, selected_substrands, t1, t2, part_name, items; + var $async$ask_for_label = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = substrand == null; + t2 = !t1; + part_name = t2 ? substrand.type_description$0() : "strand"; + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + if (t1 && strand.label != null) { + t2 = strand.label; + t2.toString; + existing_label = t2; + } else if (t2 && substrand.get$label(substrand) != null) { + t2 = substrand.get$label(substrand); + t2.toString; + existing_label = t2; + } else + existing_label = ""; + items._util$_set$2(0, A.DialogTextArea_DialogTextArea(40, "label", 8, "Enter the " + part_name + " label here.", existing_label)); + t2 = "set " + part_name; + t3 = t1 ? B.DialogType_set_strand_label : B.DialogType_set_substrand_label; + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), t2 + " label", t3, false)), $async$ask_for_label); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + label = type$.DialogTextArea._as(J.$index$asx(results, 0)).value; + if (t1) + action = A.batch_if_multiple_selected(A.label_set_strand_action_creator(label), strand, type$.BuiltSet_Strand._as(selected), "set strand label"); + else { + selected_substrands = A.LinkedHashSet_LinkedHashSet$from(selected, type$.Substrand); + if (!selected_substrands.contains$1(0, substrand)) + selected_substrands.add$1(0, substrand); + if (selected_substrands._collection$_length === 1) + action = A._$SubstrandLabelSet$_(label, substrand); + else { + t1 = A._instanceType(selected_substrands); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(selected_substrands, t1._eval$1("UndoableAction(SetMixin.E)")._as(new A.ask_for_label_closure(label)), t1._eval$1("EfficientLengthMappedIterable")), t2 + " labels"); + } + } + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_label, $async$completer); + }, + batch_if_multiple_selected(action_creator, strand, selected_strands, short_description) { + var t2, action, + t1 = selected_strands._set; + if (!t1.get$isEmpty(t1)) + t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), strand); + else + t2 = true; + if (t2) + action = action_creator.call$1(strand); else { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - for (t2 = J.get$iterator$ax(all_strands._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (!J.contains$1$asx(strands_moving._list, t3)) - t1.push(t3); - } - strands_fixed = t1; - copy = false; + if (!t1.contains$1(0, strand)) + selected_strands = selected_strands.rebuild$1(new A.batch_if_multiple_selected_closure(strand)); + t1 = A._setArrayType([], type$.JSArray_UndoableAction); + for (t2 = selected_strands._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) + t1.push(action_creator.call$1(t2.get$current(t2))); + action = A.BatchAction_BatchAction(t1, short_description); } - if (original_helices_view_order_inverse == null) - throw H.wrapException(P.ArgumentError$("original_helices_view_order_inverse must be specified")); - t1 = new U.StrandsMoveBuilder(); - type$.legacy_void_Function_legacy_StrandsMoveBuilder._as(new U.StrandsMove_StrandsMove_closure(strands_moving, strands_fixed, helices, groups, original_helices_view_order_inverse, original_address, copy, keep_color)).call$1(t1); - return t1.build$0(); + return action; }, - StrandsMove: function StrandsMove() { + get_selected_domains() { + var t2, t3, t4, t5, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + t2 = t1._set; + t3 = A._instanceType(t2); + t4 = t3._eval$1("EfficientLengthMappedIterable>"); + t5 = type$.Domain; + t5 = A.BuiltSet_BuiltSet$from(A.BuiltSet_BuiltSet$of(new A.ExpandIterable(new A.EfficientLengthMappedIterable(t2, t3._eval$1("BuiltList(SetMixin.E)")._as(t1.$ti._eval$1("BuiltList(1)")._as(new A.get_selected_domains_closure())), t4), t4._eval$1("Iterable(Iterable.E)")._as(new A.get_selected_domains_closure0()), t4._eval$1("ExpandIterable")), t5), t5); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI("store"); + return t5.union$1(t4.get$state(t4).ui_state.selectables_store.get$selected_domains()); }, - StrandsMove_StrandsMove_closure: function StrandsMove_StrandsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.strands_moving = t0; - _.strands_fixed = t1; - _.helices = t2; - _.groups = t3; - _.original_helices_view_order_inverse = t4; - _.original_address = t5; - _.copy = t6; - _.keep_color = t7; + scaffold_set_strand_action_creator(is_scaffold) { + return new A.scaffold_set_strand_action_creator_closure(is_scaffold); }, - _$StrandsMoveSerializer: function _$StrandsMoveSerializer() { + remove_dna_strand_action_creator(remove_complements, remove_all) { + return new A.remove_dna_strand_action_creator_closure(remove_complements, remove_all); }, - _$StrandsMove: function _$StrandsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { - var _ = this; - _.strands_moving = t0; - _.strands_fixed = t1; - _.helices = t2; - _.groups = t3; - _.original_helices_view_order_inverse = t4; - _.original_address = t5; - _.current_address = t6; - _.allowable = t7; - _.copy = t8; - _.keep_color = t9; - _._strands_move$__hashCode = null; + name_set_strand_action_creator($name) { + return new A.name_set_strand_action_creator_closure($name); }, - StrandsMoveBuilder: function StrandsMoveBuilder() { + label_set_strand_action_creator(label) { + return new A.label_set_strand_action_creator_closure(label); + }, + clicked_strand_dna_idx(domain, address, strand) { + var t2, index_of_domain_in_strand, strand_dna_idx, i, + domain_dna_idx = domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward), + t1 = strand.substrands; + t1.toString; + t2 = t1._list; + index_of_domain_in_strand = B.JSArray_methods.indexOf$2(t2, t1.$ti._precomputed1._as(domain), 0); + for (strand_dna_idx = 0, i = 0; i < index_of_domain_in_strand; ++i) { + if (!(i < t2.length)) + return A.ioore(t2, i); + strand_dna_idx += t2[i].dna_length$0(); + } + return strand_dna_idx + domain_dna_idx; + }, + ask_for_assign_dna_sequence(strand, options) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, dna_sequence, e, t2, m13_rotation, t3, t4, t5, t6, results, use_predefined_dna_sequence, idx, dna_sequence_predefined, sequence_unrotated, rotation, assign_complements, disable_change_sequence_bound_strand, exception, new_options, items, t1; + var $async$ask_for_assign_dna_sequence = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = new A.FixedList(A.List_List$filled(7, null, false, type$.nullable_DialogItem), A.List_List$filled(7, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = strand.get$dna_sequence(); + items._util$_set$2(0, A.DialogTextArea_DialogTextArea(80, "sequence", 4, "", t1 == null ? "" : t1)); + items._util$_set$2(1, A.DialogCheckbox_DialogCheckbox("use predefined DNA sequence", "", options.use_predefined_dna_sequence)); + t1 = type$.JSArray_String; + t2 = type$.String; + items._util$_set$2(3, type$.DialogItem._as(A.DialogRadio_DialogRadio("predefined DNA sequence", null, A.BuiltList_BuiltList$of(A._setArrayType(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2), true, 0, ""))); + m13_rotation = options.m13_rotation; + items._util$_set$2(4, A.DialogInteger_DialogInteger("rotation of predefined DNA sequence", "", m13_rotation)); + items._util$_set$2(5, A.DialogCheckbox_DialogCheckbox("assign complement to bound strands", "", options.assign_complements)); + items._util$_set$2(6, A.DialogCheckbox_DialogCheckbox("disallow assigning different sequence to bound strand with existing sequence", "", options.disable_change_sequence_bound_strand)); + items._util$_set$2(2, A.DialogLink_DialogLink("Information about sequence variants", "https://scadnano-python-package.readthedocs.io/en/latest/#scadnano.M13Variant")); + t3 = type$.JSArray_int; + t4 = type$.int; + t5 = type$.Iterable_int; + t6 = A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType([1], t3)], t4, t5); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, A.LinkedHashMap_LinkedHashMap$_literal([3, A._setArrayType([1], t3), 4, A._setArrayType([1], t3), 6, A._setArrayType([5], t3)], t4, t5), t6, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "assign DNA sequence", B.DialogType_assign_dna_sequence, false)), $async$ask_for_assign_dna_sequence); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + dna_sequence = null; + t3 = J.getInterceptor$asx(results); + t4 = type$.DialogCheckbox; + use_predefined_dna_sequence = t4._as(t3.$index(results, 1)).value; + if (use_predefined_dna_sequence) { + t5 = type$.DialogRadio._as(t3.$index(results, 3)); + t6 = t5.options; + t5 = t5.selected_idx; + t6 = t6._list; + if (!(t5 >= 0 && t5 < t6.length)) { + $async$returnValue = A.ioore(t6, t5); + // goto return + $async$goto = 1; + break; + } + t5 = t6[t5]; + m13_rotation = type$.DialogInteger._as(t3.$index(results, 4)).value; + t1 = A.BuiltList_BuiltList$of(A._setArrayType(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2); + idx = B.JSArray_methods.indexOf$2(t1._list, t1.$ti._precomputed1._as(t5), 0); + if (idx < 0) + A.throwExpression(A.ArgumentError$(A.S(t5) + " is not the display name of any predefined DNA sequence variant", null)); + t1 = A.DNASequencePredefined_names()._list; + if (!(idx >= 0 && idx < t1.length)) { + $async$returnValue = A.ioore(t1, idx); + // goto return + $async$goto = 1; + break; + } + dna_sequence_predefined = A._$valueOf0(t1[idx]); + sequence_unrotated = dna_sequence_predefined.get$sequence(); + rotation = B.JSInt_methods.$mod(m13_rotation, sequence_unrotated.length); + dna_sequence = B.JSString_methods.substring$1(sequence_unrotated, rotation) + B.JSString_methods.substring$2(sequence_unrotated, 0, rotation); + } else + dna_sequence = type$.DialogTextArea._as(t3.$index(results, 0)).value; + assign_complements = t4._as(t3.$index(results, 5)).value; + disable_change_sequence_bound_strand = t4._as(t3.$index(results, 6)).value; + try { + A.check_dna_sequence(dna_sequence); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.FormatException._is(t1)) { + e = t1; + B.Window_methods.alert$1(window, J.get$message$x(e)); + // goto return + $async$goto = 1; + break; + } else + throw exception; + } + new_options = A.DNAAssignOptions_DNAAssignOptions(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence); + $.__app._readField$0().dispatch$1(A._$AssignDNA$_(new_options, strand)); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_assign_dna_sequence, $async$completer); + }, + ask_for_remove_dna_sequence(strand, selected_strands) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, t2, action, results; + var $async$ask_for_remove_dna_sequence = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogCheckbox_DialogCheckbox("remove from bound strands", "", true), A.DialogCheckbox_DialogCheckbox("remove from all strands", "", false)], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "remove DNA sequence", B.DialogType_remove_dna_sequence, true)), $async$ask_for_remove_dna_sequence); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogCheckbox; + action = A.batch_if_multiple_selected(A.remove_dna_strand_action_creator(t2._as(t1.$index(results, 0)).value, t2._as(t1.$index(results, 1)).value), strand, selected_strands, "remove dna sequence"); + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_remove_dna_sequence, $async$completer); + }, + _$DesignMainStrand(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandProps__$$DesignMainStrandProps(backingProps); + }, + _$$DesignMainStrandProps__$$DesignMainStrandProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandProps$JsMap(new A.JsBackedMap({}), $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandProps: function DesignMainStrandProps() { + }, + DesignMainStrandComponent: function DesignMainStrandComponent() { + }, + DesignMainStrandComponent_render_closure: function DesignMainStrandComponent_render_closure() { + }, + DesignMainStrandComponent_assign_dna_closure: function DesignMainStrandComponent_assign_dna_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_add_modification_closure: function DesignMainStrandComponent_add_modification_closure(t0, t1, t2, t3) { var _ = this; - _._strands_move$_keep_color = _._strands_move$_copy = _._strands_move$_allowable = _._strands_move$_current_address = _._strands_move$_original_address = _._strands_move$_original_helices_view_order_inverse = _._strands_move$_groups = _._strands_move$_helices = _._strands_fixed = _._strands_moving = _._strands_move$_$v = null; + _.$this = t0; + _.substrand = t1; + _.address = t2; + _.type = t3; }, - _StrandsMove_Object_BuiltJsonSerializable: function _StrandsMove_Object_BuiltJsonSerializable() { + DesignMainStrandComponent_set_strand_name_closure: function DesignMainStrandComponent_set_strand_name_closure(t0) { + this.$this = t0; }, - UnusedFields: function UnusedFields() { + DesignMainStrandComponent_set_strand_label_closure: function DesignMainStrandComponent_set_strand_label_closure(t0) { + this.$this = t0; }, - copy_selected_strands: function() { - var t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; - if (t1.get$isEmpty(t1)) - return; - t1 = $.app; - type$.legacy_void_Function_legacy_CopySelectedStrandsBuilder._as(null); - t1.dispatch$1(new U.CopySelectedStrandsBuilder().build$0()); + DesignMainStrandComponent_set_domain_names_closure: function DesignMainStrandComponent_set_domain_names_closure(t0, t1) { + this.$this = t0; + this.domains = t1; }, - paste_strands_manually: function() { - $.$get$clipboard().read$0(0).then$1$1(0, new U.paste_strands_manually_closure(), type$.Null); + DesignMainStrandComponent_set_domain_labels_closure: function DesignMainStrandComponent_set_domain_labels_closure(t0, t1) { + this.$this = t0; + this.substrand = t1; }, - paste_strands_auto: function() { - $.$get$clipboard().read$0(0).then$1$1(0, new U.paste_strands_auto_closure(), type$.Null); + DesignMainStrandComponent_remove_dna_closure: function DesignMainStrandComponent_remove_dna_closure(t0) { + this.$this = t0; }, - main_view_pointer_up: function($event) { - var t1, dna_ends_move, extensions_move, helix_group_move, strands_move, domains_move, strand_creation, t2, t3, t4, t5; - type$.legacy_MouseEvent._as($event); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.slice_bar_is_moving) { - t1 = $.app; - type$.legacy_void_Function_legacy_SliceBarMoveStopBuilder._as(null); - t1.dispatch$1(new U.SliceBarMoveStopBuilder().build$0()); - } - t1 = $.app; - dna_ends_move = t1.store_dna_ends_move._state; - if (dna_ends_move != null) { - t1.dispatch$1(new U._$DNAEndsMoveStop()); - if (dna_ends_move.get$is_nontrivial()) - $.app.dispatch$1(U._$DNAEndsMoveCommit$_(dna_ends_move)); - } - t1 = $.app; - extensions_move = t1.store_extensions_move._state; - if (extensions_move != null) { - t1.dispatch$1(new U._$DNAExtensionsMoveStop()); - if (!extensions_move.start_point.$eq(0, extensions_move.current_point)) - $.app.dispatch$1(U._$DNAExtensionsMoveCommit$_(extensions_move)); - } - t1 = $.app; - helix_group_move = t1.store_helix_group_move._state; - if (helix_group_move != null) { - t1.dispatch$1(U._$HelixGroupMoveStop__$HelixGroupMoveStop()); - t1 = helix_group_move.__is_nontrivial; - if (t1 == null ? helix_group_move.__is_nontrivial = G.HelixGroupMove.prototype.get$is_nontrivial.call(helix_group_move) : t1) - $.app.dispatch$1(U._$HelixGroupMoveCommit$_(helix_group_move)); - } - t1 = $.app.store; - strands_move = t1.get$state(t1).ui_state.strands_move; - if (strands_move != null) { - $.app.dispatch$1(U._$StrandsMoveStop__$StrandsMoveStop()); - if (strands_move.allowable) - t1 = !strands_move.original_address.$eq(0, strands_move.current_address) || strands_move.copy; - else - t1 = false; - if (t1) - $.app.dispatch$1(U._$StrandsMoveCommit$_(false, strands_move)); - } - t1 = $.app.store; - domains_move = t1.get$state(t1).ui_state.domains_move; - if (domains_move != null) { - $.app.dispatch$1(U._$DomainsMoveStop__$DomainsMoveStop()); - if (domains_move.allowable && !domains_move.original_address.$eq(0, domains_move.current_address)) - $.app.dispatch$1(U._$DomainsMoveCommit$_(domains_move)); - } - t1 = $.app.store; - strand_creation = t1.get$state(t1).ui_state.strand_creation; - if (strand_creation != null) { - $.app.dispatch$1(U._$StrandCreateStop__$StrandCreateStop()); - if (strand_creation.original_offset !== strand_creation.current_offset) { - t1 = $.app; - t2 = strand_creation.helix.idx; - t3 = strand_creation.forward; - t4 = strand_creation.get$start(strand_creation); - t5 = strand_creation.get$end(strand_creation); - t1.dispatch$1(U._$StrandCreateCommit$_(strand_creation.color, t5, t3, t2, t4)); - } - } + DesignMainStrandComponent_reflect_closure: function DesignMainStrandComponent_reflect_closure(t0) { + this.$this = t0; }, - DraggableComponent: function DraggableComponent(t0) { - this._design$_name = t0; + DesignMainStrandComponent_context_menu_strand_closure: function DesignMainStrandComponent_context_menu_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.domain = t1; + _.address = t2; + _.type = t3; }, - DesignViewComponent: function DesignViewComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + DesignMainStrandComponent_context_menu_strand_closure0: function DesignMainStrandComponent_context_menu_strand_closure0(t0, t1, t2, t3) { var _ = this; - _.root_element = t0; - _.design_above_footer_pane = t1; - _.footer_separator = t2; - _.footer_element = t3; - _.modes_element = t4; - _.error_message_pane = t5; - _.side_view_menu = t6; - _.context_menu_container = t7; - _.dialog_form_container = t8; - _.dialog_loading_container = t9; - _.strand_color_picker_container = t10; - _.main_pane = _.side_pane = _.error_message_component = _.main_view_svg = _.side_view_svg = null; - _.svg_panzoom_has_been_set_up = false; - _.side_view_mouse_position = t11; - _.main_view_mouse_position = t12; - _.draggables = t13; + _.$this = t0; + _.domain = t1; + _.address = t2; + _.type = t3; }, - DesignViewComponent_handle_keyboard_mouse_events_closure: function DesignViewComponent_handle_keyboard_mouse_events_closure() { + DesignMainStrandComponent_context_menu_strand_closure1: function DesignMainStrandComponent_context_menu_strand_closure1() { }, - DesignViewComponent_handle_keyboard_mouse_events_closure0: function DesignViewComponent_handle_keyboard_mouse_events_closure0(t0) { + DesignMainStrandComponent_context_menu_strand_closure2: function DesignMainStrandComponent_context_menu_strand_closure2() { + }, + DesignMainStrandComponent_context_menu_strand_closure3: function DesignMainStrandComponent_context_menu_strand_closure3(t0) { this.$this = t0; }, - DesignViewComponent_handle_keyboard_mouse_events_closure1: function DesignViewComponent_handle_keyboard_mouse_events_closure1(t0) { + DesignMainStrandComponent_context_menu_strand_closure4: function DesignMainStrandComponent_context_menu_strand_closure4() { + }, + DesignMainStrandComponent_context_menu_strand_closure5: function DesignMainStrandComponent_context_menu_strand_closure5(t0) { this.$this = t0; }, - DesignViewComponent_handle_keyboard_mouse_events_closure2: function DesignViewComponent_handle_keyboard_mouse_events_closure2() { + DesignMainStrandComponent_context_menu_strand_closure6: function DesignMainStrandComponent_context_menu_strand_closure6(t0) { + this.$this = t0; }, - DesignViewComponent_handle_keyboard_mouse_events_closure3: function DesignViewComponent_handle_keyboard_mouse_events_closure3(t0) { + DesignMainStrandComponent_context_menu_strand_closure7: function DesignMainStrandComponent_context_menu_strand_closure7(t0, t1) { this.$this = t0; + this.domain = t1; }, - DesignViewComponent_handle_keyboard_mouse_events_closure4: function DesignViewComponent_handle_keyboard_mouse_events_closure4(t0) { + DesignMainStrandComponent_context_menu_strand_closure8: function DesignMainStrandComponent_context_menu_strand_closure8(t0, t1) { this.$this = t0; + this.domain = t1; }, - DesignViewComponent_handle_keyboard_mouse_events_end_select_mode: function DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(t0) { + DesignMainStrandComponent_context_menu_strand_closure9: function DesignMainStrandComponent_context_menu_strand_closure9(t0) { this.$this = t0; }, - DesignViewComponent_handle_keyboard_mouse_events_closure5: function DesignViewComponent_handle_keyboard_mouse_events_closure5(t0) { - this.end_select_mode = t0; + DesignMainStrandComponent_context_menu_strand__closure3: function DesignMainStrandComponent_context_menu_strand__closure3() { }, - DesignViewComponent_handle_keyboard_mouse_events_closure6: function DesignViewComponent_handle_keyboard_mouse_events_closure6(t0) { - this.end_select_mode = t0; + DesignMainStrandComponent_context_menu_strand_closure10: function DesignMainStrandComponent_context_menu_strand_closure10(t0, t1) { + this.$this = t0; + this.domain = t1; }, - DesignViewComponent_handle_keyboard_mouse_events_closure7: function DesignViewComponent_handle_keyboard_mouse_events_closure7(t0, t1) { - this.is_main_view = t0; - this.svg_elt = t1; + DesignMainStrandComponent_context_menu_strand_closure11: function DesignMainStrandComponent_context_menu_strand_closure11(t0, t1) { + this.$this = t0; + this.domain = t1; }, - DesignViewComponent_handle_keyboard_mouse_events_closure8: function DesignViewComponent_handle_keyboard_mouse_events_closure8(t0) { - this.svg_elt = t0; + DesignMainStrandComponent_context_menu_strand_closure12: function DesignMainStrandComponent_context_menu_strand_closure12(t0) { + this.domain = t0; }, - DesignViewComponent_install_draggable_closure: function DesignViewComponent_install_draggable_closure(t0, t1, t2) { + DesignMainStrandComponent_context_menu_strand__closure2: function DesignMainStrandComponent_context_menu_strand__closure2() { + }, + DesignMainStrandComponent_context_menu_strand_closure13: function DesignMainStrandComponent_context_menu_strand_closure13(t0) { this.$this = t0; - this.view_svg = t1; - this.is_main_view = t2; }, - DesignViewComponent_install_draggable_closure0: function DesignViewComponent_install_draggable_closure0(t0, t1, t2) { + DesignMainStrandComponent_context_menu_strand__closure1: function DesignMainStrandComponent_context_menu_strand__closure1() { + }, + DesignMainStrandComponent_context_menu_strand_closure14: function DesignMainStrandComponent_context_menu_strand_closure14(t0, t1) { this.$this = t0; - this.view_svg = t1; - this.is_main_view = t2; + this.domain = t1; }, - DesignViewComponent_install_draggable_closure1: function DesignViewComponent_install_draggable_closure1(t0, t1, t2) { + DesignMainStrandComponent_context_menu_strand_closure15: function DesignMainStrandComponent_context_menu_strand_closure15(t0) { + this.domain = t0; + }, + DesignMainStrandComponent_context_menu_strand__closure0: function DesignMainStrandComponent_context_menu_strand__closure0() { + }, + DesignMainStrandComponent_context_menu_strand_closure16: function DesignMainStrandComponent_context_menu_strand_closure16(t0) { this.$this = t0; - this.view_svg = t1; - this.is_main_view = t2; }, - paste_strands_manually_closure: function paste_strands_manually_closure() { + DesignMainStrandComponent_context_menu_strand_closure17: function DesignMainStrandComponent_context_menu_strand_closure17(t0) { + this.$this = t0; }, - paste_strands_auto_closure: function paste_strands_auto_closure() { + DesignMainStrandComponent_context_menu_strand_closure18: function DesignMainStrandComponent_context_menu_strand_closure18(t0) { + this.$this = t0; }, - _$DesignMainDNASequence: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? U._$$DesignMainDNASequenceProps$JsMap$(new L.JsBackedMap({})) : U._$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps(backingProps); + DesignMainStrandComponent_context_menu_strand_closure19: function DesignMainStrandComponent_context_menu_strand_closure19(t0) { + this.$this = t0; }, - _$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return U._$$DesignMainDNASequenceProps$JsMap$(backingMap); + DesignMainStrandComponent_context_menu_strand_closure20: function DesignMainStrandComponent_context_menu_strand_closure20(t0, t1) { + this.$this = t0; + this.strand = t1; + }, + DesignMainStrandComponent_context_menu_strand__closure: function DesignMainStrandComponent_context_menu_strand__closure(t0, t1) { + this.$this = t0; + this.strand = t1; + }, + DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0() { + }, + DesignMainStrandComponent_custom_scale_value_closure: function DesignMainStrandComponent_custom_scale_value_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_custom_purification_value_closure: function DesignMainStrandComponent_custom_purification_value_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0() { + }, + DesignMainStrandComponent_select_plate_number_closure: function DesignMainStrandComponent_select_plate_number_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure() { + }, + DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0() { + }, + DesignMainStrandComponent_ask_for_domain_names_closure: function DesignMainStrandComponent_ask_for_domain_names_closure(t0) { + this.name = t0; + }, + ask_for_label_closure: function ask_for_label_closure(t0) { + this.label = t0; + }, + batch_if_multiple_selected_closure: function batch_if_multiple_selected_closure(t0) { + this.strand = t0; + }, + get_selected_domains_closure: function get_selected_domains_closure() { + }, + get_selected_domains_closure0: function get_selected_domains_closure0() { + }, + scaffold_set_strand_action_creator_closure: function scaffold_set_strand_action_creator_closure(t0) { + this.is_scaffold = t0; + }, + remove_dna_strand_action_creator_closure: function remove_dna_strand_action_creator_closure(t0, t1) { + this.remove_complements = t0; + this.remove_all = t1; + }, + name_set_strand_action_creator_closure: function name_set_strand_action_creator_closure(t0) { + this.name = t0; + }, + label_set_strand_action_creator_closure: function label_set_strand_action_creator_closure(t0) { + this.label = t0; + }, + $DesignMainStrandComponentFactory_closure: function $DesignMainStrandComponentFactory_closure() { + }, + _$$DesignMainStrandProps: function _$$DesignMainStrandProps() { + }, + _$$DesignMainStrandProps$PlainMap: function _$$DesignMainStrandProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35) { + var _ = this; + _._design_main_strand$_props = t0; + _.DesignMainStrandProps___DesignMainStrandProps_strand_A = t1; + _.DesignMainStrandProps_side_selected_helix_idxs = t2; + _.DesignMainStrandProps___DesignMainStrandProps_only_display_selected_helices_A = t3; + _.DesignMainStrandProps___DesignMainStrandProps_selected_ends_in_strand_A = t4; + _.DesignMainStrandProps___DesignMainStrandProps_selected_crossovers_in_strand_A = t5; + _.DesignMainStrandProps___DesignMainStrandProps_selected_loopouts_in_strand_A = t6; + _.DesignMainStrandProps___DesignMainStrandProps_selected_extensions_in_strand_A = t7; + _.DesignMainStrandProps___DesignMainStrandProps_selected_domains_in_strand_A = t8; + _.DesignMainStrandProps___DesignMainStrandProps_selected_deletions_in_strand_A = t9; + _.DesignMainStrandProps___DesignMainStrandProps_selected_insertions_in_strand_A = t10; + _.DesignMainStrandProps___DesignMainStrandProps_selected_modifications_in_strand_A = t11; + _.DesignMainStrandProps___DesignMainStrandProps_helices_A = t12; + _.DesignMainStrandProps___DesignMainStrandProps_groups_A = t13; + _.DesignMainStrandProps___DesignMainStrandProps_geometry_A = t14; + _.DesignMainStrandProps___DesignMainStrandProps_selected_A = t15; + _.DesignMainStrandProps___DesignMainStrandProps_drawing_potential_crossover_A = t16; + _.DesignMainStrandProps___DesignMainStrandProps_moving_dna_ends_A = t17; + _.DesignMainStrandProps___DesignMainStrandProps_dna_assign_options_A = t18; + _.DesignMainStrandProps___DesignMainStrandProps_modification_display_connector_A = t19; + _.DesignMainStrandProps___DesignMainStrandProps_show_dna_A = t20; + _.DesignMainStrandProps___DesignMainStrandProps_show_modifications_A = t21; + _.DesignMainStrandProps___DesignMainStrandProps_display_reverse_DNA_right_side_up_A = t22; + _.DesignMainStrandProps___DesignMainStrandProps_show_strand_names_A = t23; + _.DesignMainStrandProps___DesignMainStrandProps_show_strand_labels_A = t24; + _.DesignMainStrandProps___DesignMainStrandProps_show_domain_names_A = t25; + _.DesignMainStrandProps___DesignMainStrandProps_show_domain_labels_A = t26; + _.DesignMainStrandProps___DesignMainStrandProps_strand_name_font_size_A = t27; + _.DesignMainStrandProps___DesignMainStrandProps_strand_label_font_size_A = t28; + _.DesignMainStrandProps___DesignMainStrandProps_domain_name_font_size_A = t29; + _.DesignMainStrandProps___DesignMainStrandProps_domain_label_font_size_A = t30; + _.DesignMainStrandProps___DesignMainStrandProps_modification_font_size_A = t31; + _.DesignMainStrandProps___DesignMainStrandProps_helix_idx_to_svg_position_map_A = t32; + _.DesignMainStrandProps___DesignMainStrandProps_retain_strand_color_on_selection_A = t33; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t34; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t35; + }, + _$$DesignMainStrandProps$JsMap: function _$$DesignMainStrandProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35) { + var _ = this; + _._design_main_strand$_props = t0; + _.DesignMainStrandProps___DesignMainStrandProps_strand_A = t1; + _.DesignMainStrandProps_side_selected_helix_idxs = t2; + _.DesignMainStrandProps___DesignMainStrandProps_only_display_selected_helices_A = t3; + _.DesignMainStrandProps___DesignMainStrandProps_selected_ends_in_strand_A = t4; + _.DesignMainStrandProps___DesignMainStrandProps_selected_crossovers_in_strand_A = t5; + _.DesignMainStrandProps___DesignMainStrandProps_selected_loopouts_in_strand_A = t6; + _.DesignMainStrandProps___DesignMainStrandProps_selected_extensions_in_strand_A = t7; + _.DesignMainStrandProps___DesignMainStrandProps_selected_domains_in_strand_A = t8; + _.DesignMainStrandProps___DesignMainStrandProps_selected_deletions_in_strand_A = t9; + _.DesignMainStrandProps___DesignMainStrandProps_selected_insertions_in_strand_A = t10; + _.DesignMainStrandProps___DesignMainStrandProps_selected_modifications_in_strand_A = t11; + _.DesignMainStrandProps___DesignMainStrandProps_helices_A = t12; + _.DesignMainStrandProps___DesignMainStrandProps_groups_A = t13; + _.DesignMainStrandProps___DesignMainStrandProps_geometry_A = t14; + _.DesignMainStrandProps___DesignMainStrandProps_selected_A = t15; + _.DesignMainStrandProps___DesignMainStrandProps_drawing_potential_crossover_A = t16; + _.DesignMainStrandProps___DesignMainStrandProps_moving_dna_ends_A = t17; + _.DesignMainStrandProps___DesignMainStrandProps_dna_assign_options_A = t18; + _.DesignMainStrandProps___DesignMainStrandProps_modification_display_connector_A = t19; + _.DesignMainStrandProps___DesignMainStrandProps_show_dna_A = t20; + _.DesignMainStrandProps___DesignMainStrandProps_show_modifications_A = t21; + _.DesignMainStrandProps___DesignMainStrandProps_display_reverse_DNA_right_side_up_A = t22; + _.DesignMainStrandProps___DesignMainStrandProps_show_strand_names_A = t23; + _.DesignMainStrandProps___DesignMainStrandProps_show_strand_labels_A = t24; + _.DesignMainStrandProps___DesignMainStrandProps_show_domain_names_A = t25; + _.DesignMainStrandProps___DesignMainStrandProps_show_domain_labels_A = t26; + _.DesignMainStrandProps___DesignMainStrandProps_strand_name_font_size_A = t27; + _.DesignMainStrandProps___DesignMainStrandProps_strand_label_font_size_A = t28; + _.DesignMainStrandProps___DesignMainStrandProps_domain_name_font_size_A = t29; + _.DesignMainStrandProps___DesignMainStrandProps_domain_label_font_size_A = t30; + _.DesignMainStrandProps___DesignMainStrandProps_modification_font_size_A = t31; + _.DesignMainStrandProps___DesignMainStrandProps_helix_idx_to_svg_position_map_A = t32; + _.DesignMainStrandProps___DesignMainStrandProps_retain_strand_color_on_selection_A = t33; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t34; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t35; + }, + _$DesignMainStrandComponent: function _$DesignMainStrandComponent(t0) { + var _ = this; + _.___$DesignMainStrandComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; + }, + $DesignMainStrandProps: function $DesignMainStrandProps() { + }, + _DesignMainStrandComponent_UiComponent2_PureComponent: function _DesignMainStrandComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandProps: function __$$DesignMainStrandProps_UiProps_DesignMainStrandProps() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps: function __$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps() { + }, + _$DesignMainStrandAndDomainTexts(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandAndDomainTextsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps(backingProps); + }, + _$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandAndDomainTextsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new U._$$DesignMainDNASequenceProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandAndDomainTextsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_dna_sequence$_props = backingMap; + t1._design_main_strand_and_domain_texts$_props = backingMap; return t1; } }, - _$$DesignMainDNASequenceProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new U._$$DesignMainDNASequenceProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + _$$DesignMainStrandAndDomainTextsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandAndDomainTextsProps$JsMap(new A.JsBackedMap({}), $, $, $, $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_dna_sequence$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_main_strand_and_domain_texts$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignMainDNASequencePropsMixin: function DesignMainDNASequencePropsMixin() { + DesignMainStrandAndDomainTextsProps: function DesignMainStrandAndDomainTextsProps() { }, - DesignMainDNASequenceComponent: function DesignMainDNASequenceComponent() { + DesignMainStrandAndDomainTextsComponent: function DesignMainStrandAndDomainTextsComponent() { }, - $DesignMainDNASequenceComponentFactory_closure: function $DesignMainDNASequenceComponentFactory_closure() { + $DesignMainStrandAndDomainTextsComponentFactory_closure: function $DesignMainStrandAndDomainTextsComponentFactory_closure() { }, - _$$DesignMainDNASequenceProps: function _$$DesignMainDNASequenceProps() { + _$$DesignMainStrandAndDomainTextsProps: function _$$DesignMainStrandAndDomainTextsProps() { }, - _$$DesignMainDNASequenceProps$PlainMap: function _$$DesignMainDNASequenceProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + _$$DesignMainStrandAndDomainTextsProps$PlainMap: function _$$DesignMainStrandAndDomainTextsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; - _._design_main_dna_sequence$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDNASequencePropsMixin_strand = t4; - _.DesignMainDNASequencePropsMixin_side_selected_helix_idxs = t5; - _.DesignMainDNASequencePropsMixin_only_display_selected_helices = t6; - _.DesignMainDNASequencePropsMixin_display_reverse_DNA_right_side_up = t7; - _.DesignMainDNASequencePropsMixin_helices = t8; - _.DesignMainDNASequencePropsMixin_groups = t9; - _.DesignMainDNASequencePropsMixin_geometry = t10; - _.DesignMainDNASequencePropsMixin_helix_idx_to_svg_position_map = t11; + _._design_main_strand_and_domain_texts$_props = t0; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_A = t1; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_helices_A = t2; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_groups_A = t3; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_geometry_A = t4; + _.DesignMainStrandAndDomainTextsProps_side_selected_helix_idxs = t5; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_only_display_selected_helices_A = t6; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_dna_A = t7; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_strand_names_A = t8; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_strand_labels_A = t9; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_domain_names_A = t10; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_domain_labels_A = t11; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_name_font_size_A = t12; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_label_font_size_A = t13; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_domain_name_font_size_A = t14; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_domain_label_font_size_A = t15; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_helix_idx_to_svg_position_A = t16; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_context_menu_strand_A = t17; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t12; - _.UbiquitousDomPropsMixin__dom = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t18; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t19; }, - _$$DesignMainDNASequenceProps$JsMap: function _$$DesignMainDNASequenceProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + _$$DesignMainStrandAndDomainTextsProps$JsMap: function _$$DesignMainStrandAndDomainTextsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; - _._design_main_dna_sequence$_props = t0; - _.TransformByHelixGroupPropsMixin_helices = t1; - _.TransformByHelixGroupPropsMixin_groups = t2; - _.TransformByHelixGroupPropsMixin_geometry = t3; - _.DesignMainDNASequencePropsMixin_strand = t4; - _.DesignMainDNASequencePropsMixin_side_selected_helix_idxs = t5; - _.DesignMainDNASequencePropsMixin_only_display_selected_helices = t6; - _.DesignMainDNASequencePropsMixin_display_reverse_DNA_right_side_up = t7; - _.DesignMainDNASequencePropsMixin_helices = t8; - _.DesignMainDNASequencePropsMixin_groups = t9; - _.DesignMainDNASequencePropsMixin_geometry = t10; - _.DesignMainDNASequencePropsMixin_helix_idx_to_svg_position_map = t11; + _._design_main_strand_and_domain_texts$_props = t0; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_A = t1; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_helices_A = t2; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_groups_A = t3; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_geometry_A = t4; + _.DesignMainStrandAndDomainTextsProps_side_selected_helix_idxs = t5; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_only_display_selected_helices_A = t6; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_dna_A = t7; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_strand_names_A = t8; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_strand_labels_A = t9; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_domain_names_A = t10; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_show_domain_labels_A = t11; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_name_font_size_A = t12; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_strand_label_font_size_A = t13; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_domain_name_font_size_A = t14; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_domain_label_font_size_A = t15; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_helix_idx_to_svg_position_A = t16; + _.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_context_menu_strand_A = t17; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t12; - _.UbiquitousDomPropsMixin__dom = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t18; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t19; }, - _$DesignMainDNASequenceComponent: function _$DesignMainDNASequenceComponent(t0) { + _$DesignMainStrandAndDomainTextsComponent: function _$DesignMainStrandAndDomainTextsComponent(t0) { var _ = this; - _._design_main_dna_sequence$_cachedTypedProps = null; + _.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $DesignMainDNASequencePropsMixin: function $DesignMainDNASequencePropsMixin() { - }, - _DesignMainDNASequenceComponent_UiComponent2_PureComponent: function _DesignMainDNASequenceComponent_UiComponent2_PureComponent() { - }, - _DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin() { + $DesignMainStrandAndDomainTextsProps: function $DesignMainStrandAndDomainTextsProps() { }, - __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin() { + _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent: function _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent() { }, - __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin() { + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps() { }, - __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps() { }, - _$DesignSide: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? U._$$DesignSideProps$JsMap$(new L.JsBackedMap({})) : U._$$DesignSideProps__$$DesignSideProps(backingProps); + _$DesignMainStrandCreating(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandCreatingProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps(backingProps); }, - _$$DesignSideProps__$$DesignSideProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return U._$$DesignSideProps$JsMap$(backingMap); + _$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandCreatingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new U._$$DesignSideProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandCreatingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_side$_props = backingMap; + t1._design_main_strand_creating$_props = backingMap; return t1; } }, - _$$DesignSideProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new U._$$DesignSideProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + _$$DesignMainStrandCreatingProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandCreatingProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_side$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_main_strand_creating$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - ConnectedDesignSide_closure: function ConnectedDesignSide_closure() { - }, - DesignSideProps: function DesignSideProps() { - }, - DesignSideComponent: function DesignSideComponent() { + DesignMainStrandCreatingProps: function DesignMainStrandCreatingProps() { }, - DesignSideComponent_render_closure: function DesignSideComponent_render_closure() { + DesignMainStrandCreatingComponent: function DesignMainStrandCreatingComponent() { }, - $DesignSideComponentFactory_closure: function $DesignSideComponentFactory_closure() { + $DesignMainStrandCreatingComponentFactory_closure: function $DesignMainStrandCreatingComponentFactory_closure() { }, - _$$DesignSideProps: function _$$DesignSideProps() { + _$$DesignMainStrandCreatingProps: function _$$DesignMainStrandCreatingProps() { }, - _$$DesignSideProps$PlainMap: function _$$DesignSideProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + _$$DesignMainStrandCreatingProps$PlainMap: function _$$DesignMainStrandCreatingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; - _._design_side$_props = t0; - _.DesignSideProps_helices = t1; - _.DesignSideProps_helix_idxs_selected = t2; - _.DesignSideProps_rotation_datas = t3; - _.DesignSideProps_edit_modes = t4; - _.DesignSideProps_geometry = t5; - _.DesignSideProps_slice_bar_offset = t6; - _.DesignSideProps_mouse_svg_pos = t7; - _.DesignSideProps_grid_position_mouse_cursor = t8; - _.DesignSideProps_invert_y = t9; - _.DesignSideProps_helix_change_apply_to_all = t10; - _.DesignSideProps_show_grid_coordinates = t11; - _.DesignSideProps_displayed_group = t12; + _._design_main_strand_creating$_props = t0; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_helix_A = t1; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_forward_A = t2; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_start_A = t3; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_end_A = t4; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_color_A = t5; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_helices_A = t6; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_groups_A = t7; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_geometry_A = t8; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_svg_position_y_A = t9; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - _$$DesignSideProps$JsMap: function _$$DesignSideProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + _$$DesignMainStrandCreatingProps$JsMap: function _$$DesignMainStrandCreatingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; - _._design_side$_props = t0; - _.DesignSideProps_helices = t1; - _.DesignSideProps_helix_idxs_selected = t2; - _.DesignSideProps_rotation_datas = t3; - _.DesignSideProps_edit_modes = t4; - _.DesignSideProps_geometry = t5; - _.DesignSideProps_slice_bar_offset = t6; - _.DesignSideProps_mouse_svg_pos = t7; - _.DesignSideProps_grid_position_mouse_cursor = t8; - _.DesignSideProps_invert_y = t9; - _.DesignSideProps_helix_change_apply_to_all = t10; - _.DesignSideProps_show_grid_coordinates = t11; - _.DesignSideProps_displayed_group = t12; + _._design_main_strand_creating$_props = t0; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_helix_A = t1; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_forward_A = t2; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_start_A = t3; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_end_A = t4; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_color_A = t5; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_helices_A = t6; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_groups_A = t7; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_geometry_A = t8; + _.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_svg_position_y_A = t9; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t13; - _.UbiquitousDomPropsMixin__dom = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t10; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t11; }, - _$DesignSideComponent: function _$DesignSideComponent(t0) { + _$DesignMainStrandCreatingComponent: function _$DesignMainStrandCreatingComponent(t0) { var _ = this; - _._design_side$_cachedTypedProps = null; + _.___$DesignMainStrandCreatingComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignSideProps: function $DesignSideProps() { + $DesignMainStrandCreatingProps: function $DesignMainStrandCreatingProps() { }, - _DesignSideComponent_UiComponent2_PureComponent: function _DesignSideComponent_UiComponent2_PureComponent() { + _DesignMainStrandCreatingComponent_UiComponent2_PureComponent: function _DesignMainStrandCreatingComponent_UiComponent2_PureComponent() { }, - __$$DesignSideProps_UiProps_DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps() { + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps() { }, - __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps() { + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps() { }, - Highlighter$: function(span, color) { - var t1 = U.Highlighter__collateLines(H.setRuntimeTypeInfo([U._Highlight$(span, true)], type$.JSArray__Highlight)), - t2 = new U.Highlighter_closure(color).call$0(), - t3 = C.JSInt_methods.toString$0(C.JSArray_methods.get$last(t1).number + 1), - t4 = U.Highlighter__contiguous(t1) ? 0 : 3, - t5 = H._arrayInstanceType(t1); - return new U.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new H.MappedListIterable(t1, t5._eval$1("int(1)")._as(new U.Highlighter$__closure()), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, C.CONSTANT), !B.isAllTheSame(new H.MappedListIterable(t1, t5._eval$1("Object?(1)")._as(new U.Highlighter$__closure0()), t5._eval$1("MappedListIterable<1,Object?>"))), new P.StringBuffer("")); + _$DesignMainStrandCrossover(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandCrossoverProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps(backingProps); }, - Highlighter__contiguous: function(lines) { - var i, thisLine, nextLine; - for (i = 0; i < lines.length - 1;) { - thisLine = lines[i]; - ++i; - nextLine = lines[i]; - if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url)) - return false; + _$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandCrossoverProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandCrossoverProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_props = backingMap; + return t1; } - return true; }, - Highlighter__collateLines: function(highlights) { - var t1, t2, t3, - highlightsByUrl = Y.groupBy(highlights, new U.Highlighter__collateLines_closure(), type$._Highlight, type$.nullable_Uri); - for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();) - J.sort$1$ax(t1.get$current(t1), new U.Highlighter__collateLines_closure0()); - t1 = highlightsByUrl.get$values(highlightsByUrl); - t2 = H._instanceType(t1); - t3 = t2._eval$1("ExpandIterable"); - return P.List_List$of(new H.ExpandIterable(t1, t2._eval$1("Iterable<_Line>(Iterable.E)")._as(new U.Highlighter__collateLines_closure1()), t3), true, t3._eval$1("Iterable.E")); + _$$DesignMainStrandCrossoverProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandCrossoverProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _Highlight$: function(span, primary) { - return new U._Highlight(new U._Highlight_closure(span).call$0(), true); + _$$DesignMainStrandCrossoverState$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandCrossoverState$JsMap(new A.JsBackedMap({}), $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_state = backingMap; + return t1; }, - _Highlight__normalizeNewlines: function(span) { - var t1, endOffset, i, t2, t3, t4, - text = span.get$text(span); - if (!C.JSString_methods.contains$1(text, "\r\n")) - return span; - t1 = span.get$end(span); - endOffset = t1.get$offset(t1); - for (t1 = text.length - 1, i = 0; i < t1; ++i) - if (C.JSString_methods._codeUnitAt$1(text, i) === 13 && C.JSString_methods._codeUnitAt$1(text, i + 1) === 10) - --endOffset; - t1 = span.get$start(span); - t2 = span.get$sourceUrl(); - t3 = span.get$end(span); - t3 = t3.get$line(t3); - t2 = V.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2); - t3 = H.stringReplaceAllUnchecked(text, "\r\n", "\n"); - t4 = span.get$context(span); - return X.SourceSpanWithContext$(t1, t2, t3, H.stringReplaceAllUnchecked(t4, "\r\n", "\n")); + DesignMainStrandCrossoverProps: function DesignMainStrandCrossoverProps() { }, - _Highlight__normalizeTrailingNewline: function(span) { - var context, text, start, end, t1, t2, t3; - if (!C.JSString_methods.endsWith$1(span.get$context(span), "\n")) - return span; - if (C.JSString_methods.endsWith$1(span.get$text(span), "\n\n")) - return span; - context = C.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1); - text = span.get$text(span); - start = span.get$start(span); - end = span.get$end(span); - if (C.JSString_methods.endsWith$1(span.get$text(span), "\n")) { - t1 = B.findLineStart(span.get$context(span), span.get$text(span), span.get$start(span).get$column()); - t1.toString; - t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length; - } else - t1 = false; - if (t1) { - text = C.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); - if (text.length === 0) - end = start; - else { - t1 = span.get$end(span); - t1 = t1.get$offset(t1); - t2 = span.get$sourceUrl(); - t3 = span.get$end(span); - t3 = t3.get$line(t3); - if (typeof t3 !== "number") - return t3.$sub(); - end = V.SourceLocation$(t1 - 1, U._Highlight__lastLineLength(context), t3 - 1, t2); - t1 = span.get$start(span); - t1 = t1.get$offset(t1); - t2 = span.get$end(span); - start = t1 === t2.get$offset(t2) ? end : span.get$start(span); - } - } - return X.SourceSpanWithContext$(start, end, text, context); + DesignMainStrandCrossoverState: function DesignMainStrandCrossoverState() { }, - _Highlight__normalizeEndOfLine: function(span) { - var t1, t2, text, t3, t4; - if (span.get$end(span).get$column() !== 0) - return span; - t1 = span.get$end(span); - t1 = t1.get$line(t1); - t2 = span.get$start(span); - if (t1 == t2.get$line(t2)) - return span; - text = C.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); - t1 = span.get$start(span); - t2 = span.get$end(span); - t2 = t2.get$offset(t2); - t3 = span.get$sourceUrl(); - t4 = span.get$end(span); - t4 = t4.get$line(t4); - if (typeof t4 !== "number") - return t4.$sub(); - t3 = V.SourceLocation$(t2 - 1, text.length - C.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3); - return X.SourceSpanWithContext$(t1, t3, text, C.JSString_methods.endsWith$1(span.get$context(span), "\n") ? C.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span)); + DesignMainStrandCrossoverComponent: function DesignMainStrandCrossoverComponent() { }, - _Highlight__lastLineLength: function(text) { - var t1 = text.length; - if (t1 === 0) - return 0; - else if (C.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10) - return t1 === 1 ? 0 : t1 - C.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1; - else - return t1 - C.JSString_methods.lastIndexOf$1(text, "\n") - 1; + DesignMainStrandCrossoverComponent_render_closure: function DesignMainStrandCrossoverComponent_render_closure(t0) { + this.$this = t0; }, - Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._lines = t0; - _._primaryColor = t1; - _._secondaryColor = t2; - _._paddingBeforeSidebar = t3; - _._maxMultilineSpans = t4; - _._multipleFiles = t5; - _._buffer = t6; + DesignMainStrandCrossoverComponent_render_closure0: function DesignMainStrandCrossoverComponent_render_closure0(t0) { + this.$this = t0; }, - Highlighter_closure: function Highlighter_closure(t0) { - this.color = t0; + DesignMainStrandCrossoverComponent_render_closure1: function DesignMainStrandCrossoverComponent_render_closure1(t0) { + this.$this = t0; }, - Highlighter$__closure: function Highlighter$__closure() { + DesignMainStrandCrossoverComponent_render_closure2: function DesignMainStrandCrossoverComponent_render_closure2(t0) { + this.$this = t0; }, - Highlighter$___closure: function Highlighter$___closure() { + $DesignMainStrandCrossoverComponentFactory_closure: function $DesignMainStrandCrossoverComponentFactory_closure() { }, - Highlighter$__closure0: function Highlighter$__closure0() { + _$$DesignMainStrandCrossoverProps: function _$$DesignMainStrandCrossoverProps() { }, - Highlighter__collateLines_closure: function Highlighter__collateLines_closure() { + _$$DesignMainStrandCrossoverProps$PlainMap: function _$$DesignMainStrandCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_strand_crossover$_props = t0; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_crossover_A = t1; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_strand_A = t2; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_helices_A = t3; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_groups_A = t4; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_selected_A = t5; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_prev_domain_A = t6; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_next_domain_A = t7; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_geometry_A = t8; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_prev_domain_helix_svg_position_y_A = t9; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_next_domain_helix_svg_position_y_A = t10; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_retain_strand_color_on_selection_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() { + _$$DesignMainStrandCrossoverProps$JsMap: function _$$DesignMainStrandCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_strand_crossover$_props = t0; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_crossover_A = t1; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_strand_A = t2; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_helices_A = t3; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_groups_A = t4; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_selected_A = t5; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_prev_domain_A = t6; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_next_domain_A = t7; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_geometry_A = t8; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_prev_domain_helix_svg_position_y_A = t9; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_next_domain_helix_svg_position_y_A = t10; + _.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_retain_strand_color_on_selection_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() { + _$$DesignMainStrandCrossoverState: function _$$DesignMainStrandCrossoverState() { }, - Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) { - this.line = t0; + _$$DesignMainStrandCrossoverState$JsMap: function _$$DesignMainStrandCrossoverState$JsMap(t0, t1) { + this._design_main_strand_crossover$_state = t0; + this.DesignMainStrandCrossoverState___DesignMainStrandCrossoverState_mouse_hover_A = t1; }, - Highlighter_highlight_closure: function Highlighter_highlight_closure() { + _$DesignMainStrandCrossoverComponent: function _$DesignMainStrandCrossoverComponent(t0) { + var _ = this; + _.___$DesignMainStrandCrossoverComponent__cachedTypedState_A = _.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) { - this.$this = t0; + $DesignMainStrandCrossoverProps: function $DesignMainStrandCrossoverProps() { }, - Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) { - this.$this = t0; - this.startLine = t1; - this.line = t2; + $DesignMainStrandCrossoverState: function $DesignMainStrandCrossoverState() { }, - Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) { - this.$this = t0; - this.highlight = t1; + _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent: function _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent() { }, - Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) { - this.$this = t0; + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps() { }, - Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _._box_0 = t0; - _.$this = t1; - _.current = t2; - _.startLine = t3; - _.line = t4; - _.highlight = t5; - _.endLine = t6; + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps() { }, - Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; + __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState() { }, - Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) { - this.$this = t0; - this.vertical = t1; + __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState() { }, - Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.text = t1; - _.startColumn = t2; - _.endColumn = t3; + _$DesignMainStrandDeletion(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandDeletionProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps(backingProps); }, - Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) { + _$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandDeletionProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandDeletionProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_deletion$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandDeletionProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandDeletionProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_deletion$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandDeletionPropsMixin: function DesignMainStrandDeletionPropsMixin() { + }, + DesignMainStrandDeletionComponent: function DesignMainStrandDeletionComponent() { + }, + DesignMainStrandDeletionComponent_render_closure: function DesignMainStrandDeletionComponent_render_closure(t0) { this.$this = t0; - this.line = t1; - this.highlight = t2; }, - Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) { + DesignMainStrandDeletionComponent_render_closure0: function DesignMainStrandDeletionComponent_render_closure0(t0) { this.$this = t0; - this.line = t1; - this.highlight = t2; }, - Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.coversWholeLine = t1; - _.line = t2; - _.highlight = t3; + DesignMainStrandDeletionComponent_render_closure1: function DesignMainStrandDeletionComponent_render_closure1(t0) { + this.$this = t0; }, - Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) { - this._box_0 = t0; - this.$this = t1; - this.end = t2; + DesignMainStrandDeletionComponent_render_closure2: function DesignMainStrandDeletionComponent_render_closure2(t0) { + this.$this = t0; }, - _Highlight: function _Highlight(t0, t1) { - this.span = t0; - this.isPrimary = t1; + $DesignMainStrandDeletionComponentFactory_closure: function $DesignMainStrandDeletionComponentFactory_closure() { }, - _Highlight_closure: function _Highlight_closure(t0) { - this.span = t0; + _$$DesignMainStrandDeletionProps: function _$$DesignMainStrandDeletionProps() { }, - _Line: function _Line(t0, t1, t2, t3) { + _$$DesignMainStrandDeletionProps$PlainMap: function _$$DesignMainStrandDeletionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _.text = t0; - _.number = t1; - _.url = t2; - _.highlights = t3; - }, - OdsDecoder__getRowRepeated: function(row) { - var attr = row.getAttribute$1(0, "table:number-rows-repeated"); - return attr != null ? P.int_parse(attr, null) : 1; + _._design_main_strand_deletion$_props = t0; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_selectable_deletion_A = t1; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_helix_A = t2; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_selected_A = t3; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_transform_A = t4; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_svg_position_y_A = t5; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - OdsDecoder__getCellRepeated: function(cell) { - var attr = cell.getAttribute$1(0, "table:number-columns-repeated"); - return attr != null ? P.int_parse(attr, null) : 1; + _$$DesignMainStrandDeletionProps$JsMap: function _$$DesignMainStrandDeletionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._design_main_strand_deletion$_props = t0; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_selectable_deletion_A = t1; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_helix_A = t2; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_selected_A = t3; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_transform_A = t4; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_svg_position_y_A = t5; + _.DesignMainStrandDeletionPropsMixin___DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - OdsDecoder__findRowByIndex: function(table, rowIndex) { - var row, t3, attr, repeat, _null = null, - rows = Q.filterElements(table.XmlHasChildren_children, "table:table-row", _null), - t1 = J.get$iterator$ax(rows.__internal$_iterable), - t2 = new H.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), - currentIndex = -1; - while (true) { - if (!t2.moveNext$0()) { - row = _null; - break; - } - row = t1.get$current(t1); - t3 = row.getAttributeNode$2$namespace("table:number-rows-repeated", _null); - attr = t3 == null ? _null : t3.value; - currentIndex += attr != null ? P.int_parse(attr, _null) : 1; - if (currentIndex >= rowIndex) - break; - } - if (row != null) { - repeat = U.OdsDecoder__getRowRepeated(row); - if (repeat !== 1) { - rows = U.OdsDecoder__expandRepeatedRows(table, row); - t1 = rowIndex - (currentIndex - repeat + 1); - if (t1 < 0 || t1 >= rows.length) - return H.ioore(rows, t1); - row = rows[t1]; - } - } - return row; + _$DesignMainStrandDeletionComponent: function _$DesignMainStrandDeletionComponent(t0) { + var _ = this; + _.___$DesignMainStrandDeletionComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - OdsDecoder__findCellByIndex: function(row, columnIndex) { - var cell, t3, attr, repeat, _null = null, - cells = Q.filterElements(row.XmlHasChildren_children, "table:table-cell", _null), - t1 = J.get$iterator$ax(cells.__internal$_iterable), - t2 = new H.WhereIterator(t1, cells._f, cells.$ti._eval$1("WhereIterator<1>")), - currentIndex = -1; - while (true) { - if (!t2.moveNext$0()) { - cell = _null; - break; - } - cell = t1.get$current(t1); - t3 = cell.getAttributeNode$2$namespace("table:number-columns-repeated", _null); - attr = t3 == null ? _null : t3.value; - currentIndex += attr != null ? P.int_parse(attr, _null) : 1; - if (currentIndex >= columnIndex) - break; - } - if (cell != null) { - repeat = U.OdsDecoder__getCellRepeated(cell); - if (repeat !== 1) { - cells = U.OdsDecoder__expandRepeatedCells(row, cell); - t1 = columnIndex - (currentIndex - repeat + 1); - if (t1 < 0 || t1 >= cells.length) - return H.ioore(cells, t1); - cell = cells[t1]; - } - } - return cell; + $DesignMainStrandDeletionPropsMixin: function $DesignMainStrandDeletionPropsMixin() { }, - OdsDecoder__expandRepeatedRows: function(table, row) { - var repeat, index, rows, i, - t1 = row.getAttributeNode$1("table:number-rows-repeated"); - t1.toString; - row.XmlHasAttributes_attributes.remove$1(0, t1); - repeat = P.int_parse(t1.value, null); - t1 = table.XmlHasChildren_children; - index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0); - rows = H.setRuntimeTypeInfo([], type$.JSArray_XmlElement); - for (i = 0; i < repeat; ++i) - C.JSArray_methods.add$1(rows, row.copy$0()); - t1.removeAt$1(0, index); - t1.insertAll$2(0, index, rows); - return rows; + _DesignMainStrandDeletionComponent_UiComponent2_PureComponent: function _DesignMainStrandDeletionComponent_UiComponent2_PureComponent() { }, - OdsDecoder__expandRepeatedCells: function(row, cell) { - var repeat, index, cells, i, - t1 = cell.getAttributeNode$1("table:number-columns-repeated"); - t1.toString; - cell.XmlHasAttributes_attributes.remove$1(0, t1); - repeat = P.int_parse(t1.value, null); - t1 = row.XmlHasChildren_children; - index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); - cells = H.setRuntimeTypeInfo([], type$.JSArray_XmlElement); - for (i = 0; i < repeat; ++i) - C.JSArray_methods.add$1(cells, cell.copy$0()); - t1.removeAt$1(0, index); - t1.insertAll$2(0, index, cells); - return cells; + __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin() { }, - _newSpreadsheetDecoder: function(archive, update) { - var format, t1, t2, - mimetype = archive.findFile$1("mimetype"); - if (mimetype != null) { - mimetype.decompress$0(); - format = C.C_Utf8Codec.decode$1(0, type$.List_int._as(mimetype.get$content(mimetype))) === $._spreasheetExtensionMap.$index(0, "ods") ? "ods" : null; - } else - format = archive.findFile$1("xl/workbook.xml") != null ? "xlsx" : null; - switch (format) { - case "ods": - t1 = type$.String; - t2 = new U.OdsDecoder(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_String)); - t2.__SpreadsheetDecoder__archive = archive; - t2.__SpreadsheetDecoder__update = true; - t2.set$__SpreadsheetDecoder__tables(type$.Map_String_SpreadsheetTable._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); - t2._parseContent$0(); - return t2; - case "xlsx": - t1 = type$.String; - t2 = new U.XlsxDecoder(H.setRuntimeTypeInfo([], type$.JSArray_String), H.setRuntimeTypeInfo([], type$.JSArray_int), P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); - t2.__SpreadsheetDecoder__archive = archive; - t2.__SpreadsheetDecoder__update = true; - if (t2.get$_update(t2) === true) { - t2.set$__SpreadsheetDecoder__archiveFiles(type$.Map_String_ArchiveFile._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); - t2.set$__SpreadsheetDecoder__sheets(type$.Map_String_XmlElement._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); - t2.set$__SpreadsheetDecoder__xmlFiles(type$.Map_String_XmlDocument._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlDocument))); - } - t2.set$__SpreadsheetDecoder__tables(type$.Map_String_SpreadsheetTable._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); - t2._parseRelations$0(); - t2._parseStyles$0(); - t2._parseSharedStrings$0(); - t2._parseContent$0(); - return t2; - default: - throw H.wrapException(P.UnsupportedError$("Spreadsheet format unsupported")); - } + __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin() { }, - lettersToNumeric: function(letters) { - var index, sum, mul, c, n; - for (index = letters.length - 1, sum = 0, mul = 1; index >= 0; --index) { - c = C.JSString_methods._codeUnitAt$1(letters[index], 0); - if (65 <= c && c <= 90) - n = 1 + (c - 65); - else - n = 97 <= c && c <= 122 ? 1 + (c - 97) : 1; - sum += n * mul; - mul *= 26; - } - return sum; + _$DesignMainDNAEnd(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDNAEndProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDNAEndProps__$$DesignMainDNAEndProps(backingProps); }, - numericToLetters: function(number) { - var letters, remainder; - for (letters = ""; number !== 0;) { - remainder = C.JSInt_methods.$mod(number, 26); - letters = H.Primitives_stringFromCharCode(65 + (remainder === 0 ? 26 : remainder) - 1) + letters; - number = C.JSInt_methods._tdivFast$1(number - 1, 26); + _$$DesignMainDNAEndProps__$$DesignMainDNAEndProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDNAEndProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDNAEndProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end$_props = backingMap; + return t1; } - return letters; - }, - _letterOnly: function(rune) { - H._asIntS(rune); - if (typeof rune !== "number") - return H.iae(rune); - if (65 <= rune && rune <= 90) - return rune; - else if (97 <= rune && rune <= 122) - return rune - 32; - return 0; - }, - _twoDigits: function(n) { - if (n >= 10) - return "" + n; - return "0" + n; }, - cellCoordsFromCellId: function(cellId) { - var t1, letters, t2, lettersPart, numericsPart; - cellId.toString; - t1 = type$.Runes; - letters = H.MappedIterable_MappedIterable(new P.Runes(cellId), t1._eval$1("int(Iterable.E)")._as(U.spreadsheet_decoder___letterOnly$closure()), t1._eval$1("Iterable.E"), type$.int); - t1 = H._instanceType(letters); - t2 = t1._eval$1("WhereIterable"); - lettersPart = C.C_Utf8Codec.decode$1(0, P.List_List$of(new H.WhereIterable(letters, t1._eval$1("bool(Iterable.E)")._as(new U.cellCoordsFromCellId_closure()), t2), false, t2._eval$1("Iterable.E"))); - numericsPart = C.JSString_methods.substring$1(cellId, lettersPart.length); - return [U.lettersToNumeric(lettersPart), P.int_parse(numericsPart, null)]; + _$$DesignMainDNAEndProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDNAEndProps$JsMap(new A.JsBackedMap({}), $, null, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - XlsxDecoder__getCellNumber: function(cell) { - var t1 = cell.getAttribute$1(0, "r"); - t1.toString; - return U.cellCoordsFromCellId(t1)[0]; + DesignMainDNAEndPropsMixin: function DesignMainDNAEndPropsMixin() { }, - XlsxDecoder__findRowByIndex: function(table, rowIndex) { - var row, t3, _null = null, - rows = Q.filterElements(table.XmlHasChildren_children, "row", _null), - t1 = J.get$iterator$ax(rows.__internal$_iterable), - t2 = new H.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), - currentIndex = 0; - while (true) { - if (!t2.moveNext$0()) { - row = _null; - break; - } - row = t1.get$current(t1); - t3 = row.getAttributeNode$2$namespace("r", _null); - t3 = t3 == null ? _null : t3.value; - t3.toString; - currentIndex = P.int_parse(t3, _null) - 1; - if (currentIndex >= rowIndex) - break; - } - return row == null || currentIndex !== rowIndex ? U.XlsxDecoder__insertRow(table, row, rowIndex) : row; + DesignMainDNAEndComponent: function DesignMainDNAEndComponent() { }, - XlsxDecoder__updateCell: function(node, columnIndex, rowIndex, value) { - var cell, t4, cell0, index, _null = null, - t1 = node.XmlHasChildren_children, - cells = Q.filterElements(t1, "c", _null), - t2 = J.get$iterator$ax(cells.__internal$_iterable), - t3 = new H.WhereIterator(t2, cells._f, cells.$ti._eval$1("WhereIterator<1>")), - currentIndex = 0; - while (true) { - if (!t3.moveNext$0()) { - cell = _null; - break; - } - cell = t2.get$current(t2); - t4 = cell.getAttributeNode$2$namespace("r", _null); - t4 = t4 == null ? _null : t4.value; - t4.toString; - currentIndex = U.cellCoordsFromCellId(t4)[0] - 1; - if (currentIndex >= columnIndex) - break; - } - t2 = cell == null; - if (t2 || currentIndex !== columnIndex) { - cell0 = U.XlsxDecoder__createCell(columnIndex, rowIndex, value); - if (t2) - t1.add$1(0, cell0); - else - t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0), cell0); - cell = cell0; - } else { - index = t2 ? 0 : C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); - cell = U.XlsxDecoder__createCell(columnIndex, rowIndex, value); - t1.removeAt$1(0, index); - t1.insert$2(0, index, cell); - } - return cell; + $DesignMainDNAEndComponentFactory_closure: function $DesignMainDNAEndComponentFactory_closure() { }, - XlsxDecoder__insertRow: function(table, lastRow, rowIndex) { - var t1, - attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("r"), C.JSInt_methods.toString$0(rowIndex + 1), C.XmlAttributeType_1)], type$.JSArray_XmlAttribute), - row = G.XmlElement$(Q.XmlName_XmlName("row"), attributes, H.setRuntimeTypeInfo([], type$.JSArray_XmlNode), true); - if (lastRow == null) - table.XmlHasChildren_children.add$1(0, row); - else { - t1 = table.XmlHasChildren_children; - t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(lastRow), 0), row); - } - return row; + _$$DesignMainDNAEndProps: function _$$DesignMainDNAEndProps() { }, - XlsxDecoder__createCell: function(columnIndex, rowIndex, value) { - var children, t3, - t1 = type$.JSArray_XmlAttribute, - attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("r"), U.numericToLetters(columnIndex + 1) + (rowIndex + 1), C.XmlAttributeType_1), N.XmlAttribute$(Q.XmlName_XmlName("t"), "inlineStr", C.XmlAttributeType_1)], t1), - t2 = type$.JSArray_XmlElement; - if (value == null) - children = H.setRuntimeTypeInfo([], t2); - else { - t3 = type$.JSArray_XmlNode; - children = H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("is"), H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("t"), H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([new L.XmlText(value, null)], t3), true)], t3), true)], t2); - } - return G.XmlElement$(Q.XmlName_XmlName("c"), attributes, children, true); + _$$DesignMainDNAEndProps$PlainMap: function _$$DesignMainDNAEndProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_strand_dna_end$_props = t0; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_strand_A = t1; + _.DesignMainDNAEndPropsMixin_domain = t2; + _.DesignMainDNAEndPropsMixin_ext = t3; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_strand_color_A = t4; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_is_5p_A = t5; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_is_scaffold_A = t6; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_transform_A = t7; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_helix_A = t8; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_group_A = t9; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_geometry_A = t10; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_selected_A = t11; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_context_menu_strand_A = t12; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_drawing_potential_crossover_A = t13; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_moving_this_dna_end_A = t14; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_helix_svg_position_A = t15; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_retain_strand_color_on_selection_A = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t17; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t18; }, - OdsDecoder: function OdsDecoder(t0) { + _$$DesignMainDNAEndProps$JsMap: function _$$DesignMainDNAEndProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; - _._styleNames = t0; - _.__SpreadsheetDecoder__tables = _.__SpreadsheetDecoder__archiveFiles = _.__SpreadsheetDecoder__xmlFiles = _.__SpreadsheetDecoder__sheets = _.__SpreadsheetDecoder__archive = _.__SpreadsheetDecoder__update = $; + _._design_main_strand_dna_end$_props = t0; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_strand_A = t1; + _.DesignMainDNAEndPropsMixin_domain = t2; + _.DesignMainDNAEndPropsMixin_ext = t3; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_strand_color_A = t4; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_is_5p_A = t5; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_is_scaffold_A = t6; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_transform_A = t7; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_helix_A = t8; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_group_A = t9; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_geometry_A = t10; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_selected_A = t11; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_context_menu_strand_A = t12; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_drawing_potential_crossover_A = t13; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_moving_this_dna_end_A = t14; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_helix_svg_position_A = t15; + _.DesignMainDNAEndPropsMixin___DesignMainDNAEndPropsMixin_retain_strand_color_on_selection_A = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t17; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t18; }, - OdsDecoder__parseContent_closure: function OdsDecoder__parseContent_closure(t0) { - this.$this = t0; + _$DesignMainDNAEndComponent: function _$DesignMainDNAEndComponent(t0) { + var _ = this; + _.___$DesignMainDNAEndComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - OdsDecoder__parseStyles_closure: function OdsDecoder__parseStyles_closure(t0) { - this.$this = t0; + $DesignMainDNAEndPropsMixin: function $DesignMainDNAEndPropsMixin() { }, - OdsDecoder__parseTable_closure: function OdsDecoder__parseTable_closure(t0) { - this.$this = t0; + _DesignMainDNAEndComponent_UiComponent2_PureComponent: function _DesignMainDNAEndComponent_UiComponent2_PureComponent() { }, - OdsDecoder__parseTable_closure0: function OdsDecoder__parseTable_closure0(t0, t1) { - this.$this = t0; - this.table = t1; + __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin() { }, - OdsDecoder__parseRow_closure: function OdsDecoder__parseRow_closure(t0) { - this.$this = t0; + __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin() { }, - OdsDecoder__parseRow_closure0: function OdsDecoder__parseRow_closure0(t0, t1, t2) { - this.$this = t0; - this.table = t1; - this.row = t2; + _$EndMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$EndMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$EndMovingProps__$$EndMovingProps(backingProps); }, - OdsDecoder__readCell_closure: function OdsDecoder__readCell_closure(t0, t1) { - this.$this = t0; - this.list = t1; + _$$EndMovingProps__$$EndMovingProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$EndMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$EndMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end_moving$_props = backingMap; + return t1; + } }, - OdsDecoder__readString_closure: function OdsDecoder__readString_closure(t0, t1) { - this.$this = t0; - this.buffer = t1; + _$$EndMovingProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$EndMovingProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - SpreadsheetDecoder: function SpreadsheetDecoder() { + ConnectedEndMoving_closure: function ConnectedEndMoving_closure() { }, - SpreadsheetDecoder__cloneArchive_closure: function SpreadsheetDecoder__cloneArchive_closure(t0, t1) { - this.$this = t0; - this.clone = t1; + EndMovingProps: function EndMovingProps() { }, - SpreadsheetDecoder__isEmptyRow_closure: function SpreadsheetDecoder__isEmptyRow_closure() { + EndMovingComponent: function EndMovingComponent() { }, - SpreadsheetTable: function SpreadsheetTable(t0) { - this._maxCols = this._maxRows = 0; - this._spreadsheet_decoder$_rows = t0; + $EndMovingComponentFactory_closure: function $EndMovingComponentFactory_closure() { }, - cellCoordsFromCellId_closure: function cellCoordsFromCellId_closure() { + _$$EndMovingProps: function _$$EndMovingProps() { }, - XlsxDecoder: function XlsxDecoder(t0, t1, t2) { + _$$EndMovingProps$PlainMap: function _$$EndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; - _._sharedStrings = t0; - _._numFormats = t1; - _._sharedStringsTarget = _._stylesTarget = null; - _._worksheetTargets = t2; - _.__SpreadsheetDecoder__tables = _.__SpreadsheetDecoder__archiveFiles = _.__SpreadsheetDecoder__xmlFiles = _.__SpreadsheetDecoder__sheets = _.__SpreadsheetDecoder__archive = _.__SpreadsheetDecoder__update = $; - }, - XlsxDecoder_insertRow_closure: function XlsxDecoder_insertRow_closure(t0) { - this.foundRow = t0; + _._design_main_strand_dna_end_moving$_props = t0; + _.EndMovingProps_dna_end = t1; + _.EndMovingProps_helix = t2; + _.EndMovingProps_color = t3; + _.EndMovingProps_forward = t4; + _.EndMovingProps_is_5p = t5; + _.EndMovingProps_current_offset = t6; + _.EndMovingProps_svg_position_y = t7; + _.EndMovingProps_transform = t8; + _.EndMovingProps___EndMovingProps_render_A = t9; + _.EndMovingProps___EndMovingProps_allowable_A = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t11; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t12; }, - XlsxDecoder_insertRow_closure0: function XlsxDecoder_insertRow_closure0() { + _$$EndMovingProps$JsMap: function _$$EndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_main_strand_dna_end_moving$_props = t0; + _.EndMovingProps_dna_end = t1; + _.EndMovingProps_helix = t2; + _.EndMovingProps_color = t3; + _.EndMovingProps_forward = t4; + _.EndMovingProps_is_5p = t5; + _.EndMovingProps_current_offset = t6; + _.EndMovingProps_svg_position_y = t7; + _.EndMovingProps_transform = t8; + _.EndMovingProps___EndMovingProps_render_A = t9; + _.EndMovingProps___EndMovingProps_allowable_A = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t11; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t12; }, - XlsxDecoder_insertRow__closure: function XlsxDecoder_insertRow__closure(t0) { - this.rIndex = t0; + _$EndMovingComponent: function _$EndMovingComponent(t0) { + var _ = this; + _.___$EndMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - XlsxDecoder__parseRelations_closure: function XlsxDecoder__parseRelations_closure(t0) { - this.$this = t0; + $EndMovingProps: function $EndMovingProps() { }, - XlsxDecoder__parseStyles_closure: function XlsxDecoder__parseStyles_closure(t0) { - this.$this = t0; + __$$EndMovingProps_UiProps_EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps() { }, - XlsxDecoder__parseSharedStrings_closure: function XlsxDecoder__parseSharedStrings_closure(t0) { - this.$this = t0; + __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps() { }, - XlsxDecoder__parseSharedString_closure: function XlsxDecoder__parseSharedString_closure(t0, t1) { - this.$this = t0; - this.list = t1; + _$ExtensionEndMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$ExtensionEndMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$ExtensionEndMovingProps__$$ExtensionEndMovingProps(backingProps); }, - XlsxDecoder__parseContent_closure: function XlsxDecoder__parseContent_closure(t0) { - this.$this = t0; + _$$ExtensionEndMovingProps__$$ExtensionEndMovingProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$ExtensionEndMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$ExtensionEndMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_extension_end_moving$_props = backingMap; + return t1; + } }, - XlsxDecoder__parseTable_closure: function XlsxDecoder__parseTable_closure(t0, t1) { - this.$this = t0; - this.table = t1; + _$$ExtensionEndMovingProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$ExtensionEndMovingProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_extension_end_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - XlsxDecoder__parseRow_closure: function XlsxDecoder__parseRow_closure(t0, t1, t2) { - this.$this = t0; - this.table = t1; - this.row = t2; + ConnectedExtensionEndMoving_closure: function ConnectedExtensionEndMoving_closure() { }, - XlsxDecoder__parseValue_closure: function XlsxDecoder__parseValue_closure(t0) { - this.buffer = t0; + ExtensionEndMovingProps: function ExtensionEndMovingProps() { }, - XmlDescendantsIterable: function XmlDescendantsIterable(t0) { - this._descendants$_start = t0; + ExtensionEndMovingComponent: function ExtensionEndMovingComponent() { }, - XmlDescendantsIterator: function XmlDescendantsIterator(t0) { - this._todo = t0; - this.__XmlDescendantsIterator__current = $; - }, - propsOrStateMapsEqual: function(a, b) { - var t2, t3, t4, key, bVal, aVal, - t1 = type$.legacy_Map_dynamic_dynamic; - t1._as(a); - t1._as(b); - if (a == null ? b == null : a === b) - return true; - t1 = J.getInterceptor$asx(a); - t2 = J.getInterceptor$asx(b); - if (t1.get$length(a) != t2.get$length(b)) - return false; - for (t3 = J.get$iterator$ax(t1.get$keys(a)), t4 = type$.legacy_Function; t3.moveNext$0();) { - key = t3.get$current(t3); - if (!t2.containsKey$1(b, key)) - return false; - bVal = t2.$index(b, key); - aVal = t1.$index(a, key); - if (bVal == null ? aVal != null : bVal !== aVal) - if (!(t4._is(bVal) && t4._is(aVal) && J.$eq$(bVal, aVal))) - return false; - } - return true; + $ExtensionEndMovingComponentFactory_closure: function $ExtensionEndMovingComponentFactory_closure() { }, - autostaple_and_autobreak_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.Autostaple) - U._autostaple(store); - else if (action instanceof U.Autobreak) - U._autobreak(store, action); - else - next.call$1(action); + _$$ExtensionEndMovingProps: function _$$ExtensionEndMovingProps() { }, - _autostaple: function(store) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - t1, $async$temp1, $async$temp2; - var $async$_autostaple = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = type$.legacy_String; - $async$temp1 = U; - $async$temp2 = store; - $async$goto = 2; - return P._asyncAwait(G.post("https://scadnano-backend.onrender.com/autostaple", K.json_encode(store.get$state(store).design, true), P.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autostaple); - case 2: - // returning from await. - $async$temp1._handle_response($async$temp2, $async$result, "autostaple"); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$_autostaple, $async$completer); + _$$ExtensionEndMovingProps$PlainMap: function _$$ExtensionEndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_dna_extension_end_moving$_props = t0; + _.ExtensionEndMovingProps_dna_end = t1; + _.ExtensionEndMovingProps_ext = t2; + _.ExtensionEndMovingProps_geometry = t3; + _.ExtensionEndMovingProps_attached_end_svg = t4; + _.ExtensionEndMovingProps_helix = t5; + _.ExtensionEndMovingProps_group = t6; + _.ExtensionEndMovingProps_color = t7; + _.ExtensionEndMovingProps_forward = t8; + _.ExtensionEndMovingProps_is_5p = t9; + _.ExtensionEndMovingProps_current_point = t10; + _.ExtensionEndMovingProps___ExtensionEndMovingProps_render_A = t11; + _.ExtensionEndMovingProps___ExtensionEndMovingProps_allowable_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _autobreak: function(store, action) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - t1, $async$temp1, $async$temp2; - var $async$_autobreak = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = type$.legacy_String; - $async$temp1 = U; - $async$temp2 = store; - $async$goto = 2; - return P._asyncAwait(G.post("https://scadnano-backend.onrender.com/autobreak", C.C_JsonCodec.encode$2$toEncodable(P.LinkedHashMap_LinkedHashMap$_literal(["settings", P.LinkedHashMap_LinkedHashMap$_literal(["minStapleLegLen", action.min_distance_to_xover, "minStapleLen", action.min_length, "maxStapleLen", action.max_length, "tgtStapleLen", action.target_length], t1, type$.legacy_int), "design", store.get$state(store).design.to_json_serializable$0()], t1, type$.legacy_Map_of_legacy_String_and_dynamic), null), P.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autobreak); - case 2: - // returning from await. - $async$temp1._handle_response($async$temp2, $async$result, "autobreak"); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$_autobreak, $async$completer); + _$$ExtensionEndMovingProps$JsMap: function _$$ExtensionEndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_dna_extension_end_moving$_props = t0; + _.ExtensionEndMovingProps_dna_end = t1; + _.ExtensionEndMovingProps_ext = t2; + _.ExtensionEndMovingProps_geometry = t3; + _.ExtensionEndMovingProps_attached_end_svg = t4; + _.ExtensionEndMovingProps_helix = t5; + _.ExtensionEndMovingProps_group = t6; + _.ExtensionEndMovingProps_color = t7; + _.ExtensionEndMovingProps_forward = t8; + _.ExtensionEndMovingProps_is_5p = t9; + _.ExtensionEndMovingProps_current_point = t10; + _.ExtensionEndMovingProps___ExtensionEndMovingProps_render_A = t11; + _.ExtensionEndMovingProps___ExtensionEndMovingProps_allowable_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _handle_response: function(store, response, short_description) { - var response_body_json, - t1 = response.statusCode, - t2 = response.headers, - t3 = response.bodyBytes; - if (t1 === 200) - store.dispatch$1(U.NewDesignSet_NewDesignSet(N.Design_from_json_str(B.encodingForCharset(J.$index$asx(U._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), store.get$state(store).ui_state.storables.invert_y), short_description)); - else { - response_body_json = type$.legacy_Map_dynamic_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, B.encodingForCharset(J.$index$asx(U._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), null)); - C.Window_methods.alert$1(window, "Error: " + H.S(J.$index$asx(response_body_json, "error"))); - } + _$ExtensionEndMovingComponent: function _$ExtensionEndMovingComponent(t0) { + var _ = this; + _.___$ExtensionEndMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - strand_create_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.StrandCreateStart) - if (store.get$state(store).design.domain_on_helix_at$2(action.address, null) != null) - return; - next.call$1(action); - } - }, - Z = {DateTimeSerializer: function DateTimeSerializer(t0) { - this.types = t0; + $ExtensionEndMovingProps: function $ExtensionEndMovingProps() { }, - DraggableEvent$_: function(originalEvent, dragInfo, cancelled) { - dragInfo.get$_dnd$_position(dragInfo); - return new Z.DraggableEvent(originalEvent); + __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps() { }, - _DragEventDispatcher_dispatchEnterOverLeave: function(draggable, target) { - var t1, dragLeaveEvent, - _s15_ = "_customDragOver"; - if (target == null) - return; - t1 = $._DragEventDispatcher_previousTarget; - if (t1 === target) - target.dispatchEvent(W.MouseEvent_MouseEvent(_s15_, null)); - else { - target.dispatchEvent(W.MouseEvent_MouseEvent("_customDragEnter", t1)); - if ($._DragEventDispatcher_previousTarget != null) { - dragLeaveEvent = W.MouseEvent_MouseEvent("_customDragLeave", target); - $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); - } - target.dispatchEvent(W.MouseEvent_MouseEvent(_s15_, null)); - $._DragEventDispatcher_previousTarget = target; - } + __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps() { }, - _DragEventDispatcher_dispatchDrop: function(draggable, target) { - target.dispatchEvent(W.MouseEvent_MouseEvent("_customDrop", null)); - Z._DragEventDispatcher_reset(); + _$DesignMainDomain(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainDomainProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainDomainProps__$$DesignMainDomainProps(backingProps); }, - _DragEventDispatcher_reset: function() { - if ($._DragEventDispatcher_previousTarget != null) { - var dragLeaveEvent = W.MouseEvent_MouseEvent("_customDragLeave", null); - $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); - $._DragEventDispatcher_previousTarget = null; + _$$DesignMainDomainProps__$$DesignMainDomainProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainDomainProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainDomainProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain$_props = backingMap; + return t1; } }, - _TouchManager$: function(draggable) { - var t1 = type$.JSArray_StreamSubscription_dynamic; - t1 = new Z._TouchManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); - t1._EventManager$1(draggable); + _$$DesignMainDomainProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainDomainProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - _MouseManager$: function(draggable) { - var t1 = type$.JSArray_StreamSubscription_dynamic; - t1 = new Z._MouseManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); - t1._EventManager$1(draggable); - return t1; + DesignMainDomainProps: function DesignMainDomainProps() { }, - _PointerManager$: function(draggable) { - var t1 = type$.JSArray_StreamSubscription_dynamic; - t1 = new Z._PointerManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); - t1._EventManager$1(draggable); - return t1; + DesignMainDomainComponent: function DesignMainDomainComponent() { }, - Draggable: function Draggable(t0, t1) { - var _ = this; - _.id = t0; - _._onDragEnd = _._onDrag = _._onDragStart = null; - _.__Draggable__elements = $; - _._eventManagers = t1; + DesignMainDomainComponent_render_closure: function DesignMainDomainComponent_render_closure() { }, - Draggable_onDragStart_closure: function Draggable_onDragStart_closure(t0) { + DesignMainDomainComponent_render_closure0: function DesignMainDomainComponent_render_closure0(t0) { this.$this = t0; }, - Draggable_onDrag_closure: function Draggable_onDrag_closure(t0) { + DesignMainDomainComponent_render_closure1: function DesignMainDomainComponent_render_closure1(t0) { this.$this = t0; }, - Draggable_onDragEnd_closure: function Draggable_onDragEnd_closure(t0) { - this.$this = t0; + $DesignMainDomainComponentFactory_closure: function $DesignMainDomainComponentFactory_closure() { }, - Draggable__suppressClickEvent_closure: function Draggable__suppressClickEvent_closure() { + _$$DesignMainDomainProps: function _$$DesignMainDomainProps() { }, - Draggable__suppressClickEvent_closure0: function Draggable__suppressClickEvent_closure0(t0) { - this.clickPreventer = t0; + _$$DesignMainDomainProps$PlainMap: function _$$DesignMainDomainProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_strand_domain$_props = t0; + _.DesignMainDomainProps___DesignMainDomainProps_domain_A = t1; + _.DesignMainDomainProps___DesignMainDomainProps_strand_color_A = t2; + _.DesignMainDomainProps___DesignMainDomainProps_helix_A = t3; + _.DesignMainDomainProps___DesignMainDomainProps_strand_tooltip_A = t4; + _.DesignMainDomainProps___DesignMainDomainProps_strand_A = t5; + _.DesignMainDomainProps___DesignMainDomainProps_transform_A = t6; + _.DesignMainDomainProps___DesignMainDomainProps_helix_svg_position_A = t7; + _.DesignMainDomainProps___DesignMainDomainProps_context_menu_strand_A = t8; + _.DesignMainDomainProps___DesignMainDomainProps_selected_A = t9; + _.DesignMainDomainProps___DesignMainDomainProps_helices_A = t10; + _.DesignMainDomainProps___DesignMainDomainProps_groups_A = t11; + _.DesignMainDomainProps___DesignMainDomainProps_geometry_A = t12; + _.DesignMainDomainProps___DesignMainDomainProps_retain_strand_color_on_selection_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; }, - Draggable_destroy_closure: function Draggable_destroy_closure() { + _$$DesignMainDomainProps$JsMap: function _$$DesignMainDomainProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_strand_domain$_props = t0; + _.DesignMainDomainProps___DesignMainDomainProps_domain_A = t1; + _.DesignMainDomainProps___DesignMainDomainProps_strand_color_A = t2; + _.DesignMainDomainProps___DesignMainDomainProps_helix_A = t3; + _.DesignMainDomainProps___DesignMainDomainProps_strand_tooltip_A = t4; + _.DesignMainDomainProps___DesignMainDomainProps_strand_A = t5; + _.DesignMainDomainProps___DesignMainDomainProps_transform_A = t6; + _.DesignMainDomainProps___DesignMainDomainProps_helix_svg_position_A = t7; + _.DesignMainDomainProps___DesignMainDomainProps_context_menu_strand_A = t8; + _.DesignMainDomainProps___DesignMainDomainProps_selected_A = t9; + _.DesignMainDomainProps___DesignMainDomainProps_helices_A = t10; + _.DesignMainDomainProps___DesignMainDomainProps_groups_A = t11; + _.DesignMainDomainProps___DesignMainDomainProps_geometry_A = t12; + _.DesignMainDomainProps___DesignMainDomainProps_retain_strand_color_on_selection_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; }, - Draggable__resetCurrentDrag_closure: function Draggable__resetCurrentDrag_closure() { + _$DesignMainDomainComponent: function _$DesignMainDomainComponent(t0) { + var _ = this; + _.___$DesignMainDomainComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - DraggableEvent: function DraggableEvent(t0) { - this.originalEvent = t0; + $DesignMainDomainProps: function $DesignMainDomainProps() { }, - _DragInfo: function _DragInfo(t0, t1, t2, t3, t4) { - var _ = this; - _.element = t0; - _.startPosition = t1; - _.avatarHandler = t2; - _.___DragInfo__position = $; - _.started = false; - _.horizontalOnly = t3; - _.verticalOnly = t4; + _DesignMainDomainComponent_UiComponent2_PureComponent: function _DesignMainDomainComponent_UiComponent2_PureComponent() { }, - _EventManager: function _EventManager() { + __$$DesignMainDomainProps_UiProps_DesignMainDomainProps: function __$$DesignMainDomainProps_UiProps_DesignMainDomainProps() { }, - _EventManager_closure: function _EventManager_closure() { + __$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps: function __$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps() { }, - _EventManager_installEscAndBlur_closure: function _EventManager_installEscAndBlur_closure(t0) { - this.$this = t0; + _$DesignMainStrandDomainText(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandDomainTextProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps(backingProps); }, - _EventManager_installEscAndBlur_closure0: function _EventManager_installEscAndBlur_closure0(t0) { - this.$this = t0; + _$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandDomainTextProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandDomainTextProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain_text$_props = backingMap; + return t1; + } }, - _EventManager_reset_closure: function _EventManager_reset_closure() { + _$$DesignMainStrandDomainTextProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandDomainTextProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain_text$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _EventManager_destroy_closure: function _EventManager_destroy_closure() { + DesignMainStrandDomainTextProps: function DesignMainStrandDomainTextProps() { }, - _EventManager_destroy_closure0: function _EventManager_destroy_closure0() { + DesignMainStrandDomainTextComponent: function DesignMainStrandDomainTextComponent() { }, - _TouchManager: function _TouchManager(t0, t1, t2) { - this.startSubs = t0; - this.dragSubs = t1; - this.drg = t2; + $DesignMainStrandDomainTextComponentFactory_closure: function $DesignMainStrandDomainTextComponentFactory_closure() { }, - _TouchManager_installStart_closure: function _TouchManager_installStart_closure(t0) { - this.$this = t0; + _$$DesignMainStrandDomainTextProps: function _$$DesignMainStrandDomainTextProps() { }, - _TouchManager_installStart__closure: function _TouchManager_installStart__closure(t0) { - this.$this = t0; + _$$DesignMainStrandDomainTextProps$PlainMap: function _$$DesignMainStrandDomainTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_domain_text$_props = t0; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_strand_A = t1; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_domain_A = t2; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_A = t3; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_geometry_A = t4; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_groups_A = t5; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_text_A = t6; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_css_selector_text_A = t7; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_font_size_A = t8; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_num_stacked_A = t9; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_transform_A = t10; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_svg_position_A = t11; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_context_menu_strand_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _TouchManager_installMove_closure: function _TouchManager_installMove_closure(t0) { - this.$this = t0; + _$$DesignMainStrandDomainTextProps$JsMap: function _$$DesignMainStrandDomainTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_domain_text$_props = t0; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_strand_A = t1; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_domain_A = t2; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_A = t3; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_geometry_A = t4; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_groups_A = t5; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_text_A = t6; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_css_selector_text_A = t7; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_font_size_A = t8; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_num_stacked_A = t9; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_transform_A = t10; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_helix_svg_position_A = t11; + _.DesignMainStrandDomainTextProps___DesignMainStrandDomainTextProps_context_menu_strand_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _TouchManager_installEnd_closure: function _TouchManager_installEnd_closure(t0) { - this.$this = t0; + _$DesignMainStrandDomainTextComponent: function _$DesignMainStrandDomainTextComponent(t0) { + var _ = this; + _.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _TouchManager_installCancel_closure: function _TouchManager_installCancel_closure(t0) { - this.$this = t0; + $DesignMainStrandDomainTextProps: function $DesignMainStrandDomainTextProps() { }, - _MouseManager: function _MouseManager(t0, t1, t2) { - this.startSubs = t0; - this.dragSubs = t1; - this.drg = t2; + _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent: function _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent() { }, - _MouseManager_installStart_closure: function _MouseManager_installStart_closure(t0) { - this.$this = t0; + __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps() { }, - _MouseManager_installStart__closure: function _MouseManager_installStart__closure(t0) { - this.$this = t0; + __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps() { }, - _MouseManager_installMove_closure: function _MouseManager_installMove_closure(t0) { - this.$this = t0; + ask_for_num_bases(title, current_num_bases, lower_bound) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.int), + $async$returnValue, results, num_bases, items; + var $async$ask_for_num_bases = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogInteger_DialogInteger("number of bases:", "", current_num_bases)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), title, B.DialogType_set_extension_num_bases, false)), $async$ask_for_num_bases); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + $async$returnValue = current_num_bases; + // goto return + $async$goto = 1; + break; + } + num_bases = type$.DialogInteger._as(J.$index$asx(results, 0)).value; + if (num_bases < lower_bound) { + B.Window_methods.alert$1(window, "number of bases must be at least " + lower_bound + ", but you entered " + num_bases); + $async$returnValue = current_num_bases; + // goto return + $async$goto = 1; + break; + } + $async$returnValue = num_bases; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_num_bases, $async$completer); }, - _MouseManager_installEnd_closure: function _MouseManager_installEnd_closure(t0) { + _$DesignMainExtension(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainExtensionProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainExtensionProps__$$DesignMainExtensionProps(backingProps); + }, + _$$DesignMainExtensionProps__$$DesignMainExtensionProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainExtensionProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainExtensionProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension$_props = backingMap; + return t1; + } + }, + _$$DesignMainExtensionProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainExtensionProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainExtensionProps: function DesignMainExtensionProps() { + }, + DesignMainExtensionComponent: function DesignMainExtensionComponent() { + }, + DesignMainExtensionComponent_context_menu_extension_closure: function DesignMainExtensionComponent_context_menu_extension_closure(t0) { this.$this = t0; }, - _PointerManager: function _PointerManager(t0, t1, t2) { - this.startSubs = t0; - this.dragSubs = t1; - this.drg = t2; + DesignMainExtensionComponent_context_menu_extension__closure0: function DesignMainExtensionComponent_context_menu_extension__closure0() { }, - _PointerManager_installStart_closure: function _PointerManager_installStart_closure(t0) { + DesignMainExtensionComponent_context_menu_extension_closure0: function DesignMainExtensionComponent_context_menu_extension_closure0(t0) { this.$this = t0; }, - _PointerManager_installStart__closure: function _PointerManager_installStart__closure(t0) { + DesignMainExtensionComponent_context_menu_extension__closure: function DesignMainExtensionComponent_context_menu_extension__closure() { + }, + DesignMainExtensionComponent_context_menu_extension_closure1: function DesignMainExtensionComponent_context_menu_extension_closure1(t0) { this.$this = t0; }, - _PointerManager_installMove_closure: function _PointerManager_installMove_closure(t0) { + DesignMainExtensionComponent_context_menu_extension_closure2: function DesignMainExtensionComponent_context_menu_extension_closure2(t0) { this.$this = t0; }, - _PointerManager_installEnd_closure: function _PointerManager_installEnd_closure(t0) { + DesignMainExtensionComponent_extension_num_bases_change_closure: function DesignMainExtensionComponent_extension_num_bases_change_closure(t0) { this.$this = t0; }, - _PointerManager_installCancel_closure: function _PointerManager_installCancel_closure(t0) { + DesignMainExtensionComponent_set_extension_label_closure: function DesignMainExtensionComponent_set_extension_label_closure(t0) { this.$this = t0; }, - ByteStream: function ByteStream(t0) { - this._stream = t0; + DesignMainExtensionComponent_ask_for_extension_name_closure: function DesignMainExtensionComponent_ask_for_extension_name_closure(t0) { + this.name = t0; }, - ByteStream_toBytes_closure: function ByteStream_toBytes_closure(t0) { - this.completer = t0; + $DesignMainExtensionComponentFactory_closure: function $DesignMainExtensionComponentFactory_closure() { }, - CaseInsensitiveMap$from: function(other, $V) { - var t1 = new Z.CaseInsensitiveMap(new Z.CaseInsensitiveMap$from_closure(), new Z.CaseInsensitiveMap$from_closure0(), P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, $V._eval$1("MapEntry")), $V._eval$1("CaseInsensitiveMap<0>")); - t1.addAll$1(0, other); - return t1; + _$$DesignMainExtensionProps: function _$$DesignMainExtensionProps() { }, - CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2, t3) { + _$$DesignMainExtensionProps$PlainMap: function _$$DesignMainExtensionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; - _._canonicalize = t0; - _._isValidKeyFn = t1; - _._base = t2; - _.$ti = t3; + _._design_main_strand_extension$_props = t0; + _.DesignMainExtensionProps___DesignMainExtensionProps_ext_A = t1; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_domain_A = t2; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_helix_A = t3; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_color_A = t4; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_A = t5; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_tooltip_A = t6; + _.DesignMainExtensionProps___DesignMainExtensionProps_transform_A = t7; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_helix_svg_position_A = t8; + _.DesignMainExtensionProps___DesignMainExtensionProps_selected_A = t9; + _.DesignMainExtensionProps___DesignMainExtensionProps_helices_A = t10; + _.DesignMainExtensionProps___DesignMainExtensionProps_groups_A = t11; + _.DesignMainExtensionProps___DesignMainExtensionProps_geometry_A = t12; + _.DesignMainExtensionProps___DesignMainExtensionProps_retain_strand_color_on_selection_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; }, - CaseInsensitiveMap$from_closure: function CaseInsensitiveMap$from_closure() { + _$$DesignMainExtensionProps$JsMap: function _$$DesignMainExtensionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_strand_extension$_props = t0; + _.DesignMainExtensionProps___DesignMainExtensionProps_ext_A = t1; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_domain_A = t2; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_helix_A = t3; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_color_A = t4; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_A = t5; + _.DesignMainExtensionProps___DesignMainExtensionProps_strand_tooltip_A = t6; + _.DesignMainExtensionProps___DesignMainExtensionProps_transform_A = t7; + _.DesignMainExtensionProps___DesignMainExtensionProps_adjacent_helix_svg_position_A = t8; + _.DesignMainExtensionProps___DesignMainExtensionProps_selected_A = t9; + _.DesignMainExtensionProps___DesignMainExtensionProps_helices_A = t10; + _.DesignMainExtensionProps___DesignMainExtensionProps_groups_A = t11; + _.DesignMainExtensionProps___DesignMainExtensionProps_geometry_A = t12; + _.DesignMainExtensionProps___DesignMainExtensionProps_retain_strand_color_on_selection_A = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t14; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t15; + }, + _$DesignMainExtensionComponent: function _$DesignMainExtensionComponent(t0) { + var _ = this; + _.___$DesignMainExtensionComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - CaseInsensitiveMap$from_closure0: function CaseInsensitiveMap$from_closure0() { + $DesignMainExtensionProps: function $DesignMainExtensionProps() { }, - _$ErrorBoundary: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Z._$$ErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : Z._$$ErrorBoundaryProps__$$ErrorBoundaryProps(backingProps); + _DesignMainExtensionComponent_UiComponent2_PureComponent: function _DesignMainExtensionComponent_UiComponent2_PureComponent() { }, - _$$ErrorBoundaryProps__$$ErrorBoundaryProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Z._$$ErrorBoundaryProps$JsMap$(backingMap); + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps() { + }, + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps() { + }, + _$DesignMainStrandExtensionText(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandExtensionTextProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps(backingProps); + }, + _$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandExtensionTextProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new Z._$$ErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandExtensionTextProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._error_boundary$_props = backingMap; + t1._design_main_strand_extension_text$_props = backingMap; return t1; } }, - _$$ErrorBoundaryProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Z._$$ErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._error_boundary$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - _$$ErrorBoundaryState$JsMap$: function(backingMap) { - var t1 = new Z._$$ErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); + _$$DesignMainStrandExtensionTextProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandExtensionTextProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._error_boundary$_state = backingMap; + t1._design_main_strand_extension_text$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - ErrorBoundaryProps: function ErrorBoundaryProps() { - }, - ErrorBoundaryState: function ErrorBoundaryState() { + DesignMainStrandExtensionTextProps: function DesignMainStrandExtensionTextProps() { }, - ErrorBoundaryComponent: function ErrorBoundaryComponent() { + DesignMainStrandExtensionTextComponent: function DesignMainStrandExtensionTextComponent() { }, - $ErrorBoundaryComponentFactory_closure: function $ErrorBoundaryComponentFactory_closure() { + $DesignMainStrandExtensionTextComponentFactory_closure: function $DesignMainStrandExtensionTextComponentFactory_closure() { }, - _$$ErrorBoundaryProps: function _$$ErrorBoundaryProps() { + _$$DesignMainStrandExtensionTextProps: function _$$DesignMainStrandExtensionTextProps() { }, - _$$ErrorBoundaryProps$PlainMap: function _$$ErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + _$$DesignMainStrandExtensionTextProps$PlainMap: function _$$DesignMainStrandExtensionTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _._error_boundary$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; + _._design_main_strand_extension_text$_props = t0; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_ext_A = t1; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_geometry_A = t2; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_text_A = t3; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_css_selector_text_A = t4; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_num_stacked_A = t5; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_font_size_A = t6; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - _$$ErrorBoundaryProps$JsMap: function _$$ErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + _$$DesignMainStrandExtensionTextProps$JsMap: function _$$DesignMainStrandExtensionTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _._error_boundary$_props = t0; - _.ErrorBoundaryProps_onComponentDidCatch = t1; - _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; - _.ErrorBoundaryProps_fallbackUIRenderer = t3; - _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; - _.ErrorBoundaryProps_loggerName = t5; - _.ErrorBoundaryProps_shouldLogErrors = t6; - _.ErrorBoundaryProps_logger = t7; + _._design_main_strand_extension_text$_props = t0; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_ext_A = t1; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_geometry_A = t2; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_text_A = t3; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_css_selector_text_A = t4; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_num_stacked_A = t5; + _.DesignMainStrandExtensionTextProps___DesignMainStrandExtensionTextProps_font_size_A = t6; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t8; - _.UbiquitousDomPropsMixin__dom = t9; - }, - _$$ErrorBoundaryState: function _$$ErrorBoundaryState() { + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - _$$ErrorBoundaryState$JsMap: function _$$ErrorBoundaryState$JsMap(t0, t1, t2) { - this._error_boundary$_state = t0; - this.ErrorBoundaryState_hasError = t1; - this.ErrorBoundaryState_showFallbackUIOnError = t2; - }, - _$ErrorBoundaryComponent: function _$ErrorBoundaryComponent(t0) { + _$DesignMainStrandExtensionTextComponent: function _$DesignMainStrandExtensionTextComponent(t0) { var _ = this; - _._error_boundary$_cachedTypedState = _._error_boundary$_cachedTypedProps = null; + _.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $ErrorBoundaryProps: function $ErrorBoundaryProps() { - }, - $ErrorBoundaryState: function $ErrorBoundaryState() { - }, - _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { - }, - __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps() { - }, - __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { - }, - __$$ErrorBoundaryState_UiState_ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState() { - }, - __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { - }, - registerComponent2: function(dartComponentFactory, builderFactory, componentClass, isWrapper, parentType, skipMethods) { - var t1, - reactComponentFactory = $.$get$registerComponent2().call$3$bridgeFactory$skipMethods(dartComponentFactory, Z.component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure(), skipMethods); - $.$get$_typeAliasToFactory().$indexSet(0, builderFactory, reactComponentFactory); - $.$get$_typeAliasToFactory().$indexSet(0, componentClass, reactComponentFactory); - t1 = reactComponentFactory.reactClass; - t1._componentTypeMeta = new B.ComponentTypeMeta(isWrapper); - return reactComponentFactory; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - UiComponent2BridgeImpl_bridgeFactory: function(component) { - type$.legacy_Component2._as(component); - return C.C_UiComponent2BridgeImpl; + $DesignMainStrandExtensionTextProps: function $DesignMainStrandExtensionTextProps() { }, - UiComponent2: function UiComponent2() { + _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent: function _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent() { }, - UiComponent2_addUnconsumedProps_closure: function UiComponent2_addUnconsumedProps_closure() { + __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps() { }, - UiStatefulComponent2: function UiStatefulComponent2() { + __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps() { }, - UiStatefulMixin2: function UiStatefulMixin2() { + _$DesignMainStrandInsertion(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandInsertionProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps(backingProps); }, - UiComponent2BridgeImpl: function UiComponent2BridgeImpl() { + _$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandInsertionProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandInsertionProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_insertion$_props = backingMap; + return t1; + } }, - _UiComponent2_Component2_DisposableManagerProxy: function _UiComponent2_Component2_DisposableManagerProxy() { + _$$DesignMainStrandInsertionProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandInsertionProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_insertion$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass: function _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass() { + DesignMainStrandInsertionProps: function DesignMainStrandInsertionProps() { }, - _UiStatefulComponent2_UiComponent2_UiStatefulMixin2: function _UiStatefulComponent2_UiComponent2_UiStatefulMixin2() { + DesignMainStrandInsertionComponent: function DesignMainStrandInsertionComponent() { }, - DisposableManagerProxy: function DisposableManagerProxy() { + DesignMainStrandInsertionComponent_render_closure: function DesignMainStrandInsertionComponent_render_closure(t0) { + this.$this = t0; }, - CharacterPredicate: function CharacterPredicate() { + DesignMainStrandInsertionComponent_render_closure0: function DesignMainStrandInsertionComponent_render_closure0(t0) { + this.$this = t0; }, - WhitespaceCharPredicate: function WhitespaceCharPredicate() { + DesignMainStrandInsertionComponent__insertion_background_closure: function DesignMainStrandInsertionComponent__insertion_background_closure(t0) { + this.$this = t0; }, - DelegateParser: function DelegateParser() { + $DesignMainStrandInsertionComponentFactory_closure: function $DesignMainStrandInsertionComponentFactory_closure() { }, - PredicateParser: function PredicateParser(t0, t1, t2) { - this.length = t0; - this.predicate = t1; - this.message = t2; + _$$DesignMainStrandInsertionProps: function _$$DesignMainStrandInsertionProps() { }, - PossessiveRepeatingParserExtension_star: function(_this, $T) { - return Z.PossessiveRepeatingParserExtension_repeat(_this, 0, 9007199254740991, $T); + _$$DesignMainStrandInsertionProps$PlainMap: function _$$DesignMainStrandInsertionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_insertion$_props = t0; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_selectable_insertion_A = t1; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_helix_A = t2; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_transform_A = t3; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_color_A = t4; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_selected_A = t5; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_display_reverse_DNA_right_side_up_A = t6; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_svg_position_y_A = t7; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_retain_strand_color_on_selection_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - PossessiveRepeatingParserExtension_repeat: function(_this, min, max, $T) { - var t1 = new Z.PossessiveRepeatingParser(min, max, _this, $T._eval$1("PossessiveRepeatingParser<0>")); - t1.RepeatingParser$3(_this, min, max, $T); - return t1; + _$$DesignMainStrandInsertionProps$JsMap: function _$$DesignMainStrandInsertionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_insertion$_props = t0; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_selectable_insertion_A = t1; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_helix_A = t2; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_transform_A = t3; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_color_A = t4; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_selected_A = t5; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_display_reverse_DNA_right_side_up_A = t6; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_svg_position_y_A = t7; + _.DesignMainStrandInsertionProps___DesignMainStrandInsertionProps_retain_strand_color_on_selection_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - PossessiveRepeatingParser: function PossessiveRepeatingParser(t0, t1, t2, t3) { + _$DesignMainStrandInsertionComponent: function _$DesignMainStrandInsertionComponent(t0) { var _ = this; - _.min = t0; - _.max = t1; - _.delegate = t2; - _.$ti = t3; + _.___$DesignMainStrandInsertionComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - patchName: function(object) { - var current, nameDescriptor; - for (current = object; current = self.Object.getPrototypeOf(current), current != null;) { - nameDescriptor = self.Object.getOwnPropertyDescriptor(current, "name"); - if (nameDescriptor != null) { - self.Object.defineProperty(object, "name", nameDescriptor); - return; - } - } + $DesignMainStrandInsertionProps: function $DesignMainStrandInsertionProps() { }, - _NsmEmulatedFunctionWithNameProperty: function _NsmEmulatedFunctionWithNameProperty() { - this._ddc_emulated_function_name_bug$_name = null; + _DesignMainStrandInsertionComponent_UiComponent2_PureComponent: function _DesignMainStrandInsertionComponent_UiComponent2_PureComponent() { }, - isBugPresent_closure: function isBugPresent_closure() { + __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps() { }, - _PropertyDescriptor: function _PropertyDescriptor() { + __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps() { }, - check_reflect_strands_legal_middleware: function(store, action, next) { - var altered_design, e, msg, t1, strands_to_reflect, design, group_name, group, t2, reflected_strands, exception, new_strands, t3, t4, idx_mirrored_strand, t5, idx; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.StrandsReflect && J.get$isNotEmpty$asx(action.strands._list)) { - t1 = action.strands; - strands_to_reflect = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - design = store.get$state(store).design; - t1 = design.group_names_of_strands$1(strands_to_reflect)._set; - if (t1.get$length(t1) !== 1) { - msg = "Cannot reflect selected strands unless they are all on the same helix group.\n3 These strands occupy the following helix groups: " + t1.join$1(0, ", "); - C.Window_methods.alert$1(window, msg); - return; + loopout_path_description_within_group(prev_helix, next_helix, prev_domain, next_domain, loopout, include_start_M, show_loopout_labels, prev_helix_svg_position_y, next_helix_svg_position_y) { + var prev_offset, next_offset, $forward, prev_svg, next_svg, t1, right_svg, left_svg, t2, t3, $length, h, w, y, t4, c1, c2, t0, bot_dom, top_dom, bot_helix, top_helix, top_dom_is_prev, top_offset, bot_offset, y_offset1, y_offset2, x_offset1, x_offset2, x_offset10, x_offset20, y_offset10, y_offset20, + geometry = prev_helix.geometry, + same_helix = prev_helix.idx === next_helix.idx; + if (same_helix && prev_domain.forward === next_domain.forward) { + prev_offset = prev_domain.get$offset_3p(); + next_offset = next_domain.get$offset_5p(); + $forward = prev_domain.forward; + prev_svg = prev_helix.svg_base_pos$3(prev_offset, $forward, prev_helix_svg_position_y); + next_svg = prev_helix.svg_base_pos$3(next_offset, $forward, prev_helix_svg_position_y); + t1 = prev_offset >= next_offset; + if (t1) { + right_svg = prev_svg; + left_svg = next_svg; + } else { + right_svg = next_svg; + left_svg = prev_svg; } - group_name = t1.get$first(t1); - group = J.$index$asx(design.groups._map$_map, group_name); - t1 = action.horizontal; - t2 = action.reverse_polarity; - reflected_strands = t1 ? Z.horizontal_reflection_of_strands(design, strands_to_reflect, t2) : Z.vertical_reflection_of_strands(group, strands_to_reflect, t2); - altered_design = design.remove_strands$1(strands_to_reflect); - altered_design = altered_design.add_strands$1(reflected_strands); - try { - altered_design.check_strands_overlap_legally$0(); - } catch (exception) { - t2 = H.unwrapException(exception); - if (type$.legacy_IllegalDesignError._is(t2)) { - e = t2; - msg = "Cannot mirror these strands " + (t1 ? "horizontally" : "vertically") + "\nStrands would overlap each other:\n\n" + e.get$cause(); - C.Window_methods.alert$1(window, msg); - return; - } else - throw exception; + t2 = right_svg.x; + t3 = left_svg.x; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return A.iae(t3); + $length = loopout.loopout_num_bases; + h = 3 * (1 / (1 + Math.exp(-($length - 1)))) * geometry.get$base_height_svg(); + if (!A.boolConversionCheck(show_loopout_labels)) + $length -= 5; + w = 2 * Math.pow(t2 - t3, 0.3333333333333333) * (1 / (1 + Math.exp(-$length))) * geometry.get$base_width_svg(); + y = left_svg.y; + if ($forward) { + if (typeof y !== "number") + return y.$sub(); + y -= h; + } else { + if (typeof y !== "number") + return y.$add(); + y += h; } - t1 = type$.legacy_int; - t2 = type$.legacy_Strand; - new_strands = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t3 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t4 = design.strands, idx_mirrored_strand = 0; t3.moveNext$0();) { - t5 = t3.get$current(t3); - t4.toString; - idx = J.indexOf$2$asx(t4._list, t4.$ti._precomputed1._as(t5), 0); - if (idx_mirrored_strand >= reflected_strands.length) - return H.ioore(reflected_strands, idx_mirrored_strand); - new_strands.$indexSet(0, idx, reflected_strands[idx_mirrored_strand]); - ++idx_mirrored_strand; + t4 = type$.Point_double; + c1 = new A.Point(t3 - w, y, t4); + c2 = new A.Point(t2 + w, y, t4); + if (t1) { + t0 = c2; + c2 = c1; + c1 = t0; + } + t1 = include_start_M ? "M " + A.S(prev_svg.x) + " " + A.S(prev_svg.y) + " " : ""; + return t1 + ("C " + A.S(c1.x) + " " + A.S(c1.y) + " " + A.S(c2.x) + " " + A.S(c2.y) + " " + A.S(next_svg.x) + " " + A.S(next_svg.y)); + } else { + if (typeof prev_helix_svg_position_y !== "number") + return prev_helix_svg_position_y.$gt(); + if (typeof next_helix_svg_position_y !== "number") + return A.iae(next_helix_svg_position_y); + if (!(prev_helix_svg_position_y > next_helix_svg_position_y)) + t1 = same_helix && !prev_domain.forward; + else + t1 = true; + if (t1) { + bot_dom = prev_domain; + top_dom = next_domain; + bot_helix = prev_helix; + top_helix = next_helix; + } else { + bot_dom = next_domain; + top_dom = prev_domain; + bot_helix = next_helix; + top_helix = prev_helix; } - store.dispatch$1(U._$ReplaceStrands$_(A.BuiltMap_BuiltMap$of(new_strands, t1, t2))); - } else - next.call$1(action); - }, - horizontal_reflection_of_strands: function(design, strands_to_mirror, reverse_polarity) { - var t3, t4, t5, min_offset, max_offset, mirrored_strands, _box_0, t6, t7, i, domain, t8, reflected_deletions, reflected_insertions, t9, t10, is_first, is_last, mirrored_strand, strand, - t1 = type$.JSArray_legacy_int, - t2 = H.setRuntimeTypeInfo([], t1); - for (t3 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) - t2.push(t4.get$current(t4).start); } - t3 = type$.legacy_int; - min_offset = N.MinMaxOfIterable_get_min(t2, t3); - t1 = H.setRuntimeTypeInfo([], t1); - for (t2 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t2.moveNext$0();) { - t4 = t2.get$current(t2); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) - t1.push(t4.get$current(t4).end); + top_dom_is_prev = J.$eq$(top_dom, prev_domain); + top_offset = top_dom_is_prev ? top_dom.get$offset_3p() : top_dom.get$offset_5p(); + bot_offset = top_dom_is_prev ? bot_dom.get$offset_5p() : bot_dom.get$offset_3p(); + prev_offset = top_dom_is_prev ? top_offset : bot_offset; + next_offset = top_dom_is_prev ? bot_offset : top_offset; + prev_svg = prev_helix.svg_base_pos$3(prev_offset, prev_domain.forward, prev_helix_svg_position_y); + next_svg = next_helix.svg_base_pos$3(next_offset, next_domain.forward, next_helix_svg_position_y); + if (top_helix.idx === bot_helix.idx) { + t1 = loopout.loopout_num_bases; + w = 1.5 * (1 / (1 + Math.exp(-(t1 - 1)))) * geometry.get$base_width_svg(); + h = A.boolConversionCheck(show_loopout_labels) ? 10 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_height_svg() : 10 * (1 / (1 + Math.exp(-(t1 - 5)))) * geometry.get$base_height_svg(); + } else { + t1 = loopout.loopout_num_bases; + w = 2 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_width_svg(); + h = 10 * (1 / (1 + Math.exp(-(t1 - 3)))) * geometry.get$base_height_svg(); } - max_offset = N.MinMaxOfIterable_get_max(t1, t3); - mirrored_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - for (t1 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = type$.legacy_void_Function_legacy_DomainBuilder, t4 = !reverse_polarity, t5 = type$.legacy_Substrand; t1.moveNext$0();) { - _box_0 = {}; - t6 = t1.get$current(t1); - t7 = t6.substrands; - _box_0.mirrored_substrands = new Q.CopyOnWriteList(true, t7._list, H._instanceType(t7)._eval$1("CopyOnWriteList<1>")); - i = 0; - while (true) { - t7 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - domain = J.$index$asx(_box_0.mirrored_substrands, i); - if (domain instanceof G.Domain) { - t7 = domain.start; - if (typeof max_offset !== "number") - return max_offset.$sub(); - if (typeof min_offset !== "number") - return H.iae(min_offset); - t8 = domain.end; - reflected_deletions = Z.reflect_deletions(domain, min_offset, max_offset); - reflected_insertions = Z.reflect_insertions(domain, min_offset, max_offset); - t9 = i === 0; - if (!(t9 && t4)) { - t10 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t10 !== "number") - return t10.$sub(); - is_first = i === t10 - 1 && reverse_polarity; - } else - is_first = true; - if (!(t9 && reverse_polarity)) { - t9 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t9 !== "number") - return t9.$sub(); - is_last = i === t9 - 1 && t4; - } else - is_last = true; - t9 = _box_0.mirrored_substrands; - t7 = t3._as(new Z.horizontal_reflection_of_strands_closure(max_offset - t8 + min_offset, max_offset - t7 + min_offset, reverse_polarity, domain, reflected_deletions, reflected_insertions, is_first, is_last)); - t8 = new G.DomainBuilder(); - t8._domain$_$v = domain; - t7.call$1(t8); - J.$indexSet$ax(t9, i, t8.build$0()); - } - ++i; - } - if (reverse_polarity) - _box_0.mirrored_substrands = P.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t5); - t7 = t2._as(new Z.horizontal_reflection_of_strands_closure0(_box_0)); - t8 = new E.StrandBuilder(); - t8._strand$_$v = t6; - t7.call$1(t8); - mirrored_strand = t8.build$0(); - strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); - if (J.get$length$asx(mirrored_strand.substrands._list) === 1) { - t6 = mirrored_strand.__first_domain; - if (t6 == null) - t6 = mirrored_strand.__first_domain = E.Strand.prototype.get$first_domain.call(mirrored_strand); - t6.toString; - } - mirrored_strand.check_two_consecutive_loopouts$0(); - mirrored_strand.check_loopouts_length$0(); - mirrored_strand.check_at_least_one_domain$0(); - mirrored_strand.check_only_at_ends$0(); - mirrored_strand.check_not_adjacent_to_loopout$0(); - C.JSArray_methods.add$1(mirrored_strands, strand); + y_offset1 = prev_svg.y; + y_offset2 = next_svg.y; + x_offset1 = prev_svg.x; + x_offset2 = next_svg.x; + if (top_offset === top_dom.end - 1) { + if (typeof x_offset1 !== "number") + return x_offset1.$add(); + x_offset10 = x_offset1 + w; + if (typeof x_offset2 !== "number") + return x_offset2.$add(); + x_offset20 = x_offset2 + w; + } else { + if (typeof x_offset1 !== "number") + return x_offset1.$sub(); + x_offset10 = x_offset1 - w; + if (typeof x_offset2 !== "number") + return x_offset2.$sub(); + x_offset20 = x_offset2 - w; } - return mirrored_strands; - }, - reflect_deletions: function(domain, min_offset, max_offset) { - var t1, t2, - reflected_deletions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t1 = J.get$iterator$ax(domain.deletions._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (typeof max_offset !== "number") - return max_offset.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - if (typeof min_offset !== "number") - return H.iae(min_offset); - C.JSArray_methods.add$1(reflected_deletions, max_offset - t2 + min_offset); + if (top_dom_is_prev) { + if (typeof y_offset1 !== "number") + return y_offset1.$sub(); + y_offset10 = y_offset1 - h; + if (typeof y_offset2 !== "number") + return y_offset2.$add(); + y_offset20 = y_offset2 + h; + } else { + if (typeof y_offset1 !== "number") + return y_offset1.$add(); + y_offset10 = y_offset1 + h; + if (typeof y_offset2 !== "number") + return y_offset2.$sub(); + y_offset20 = y_offset2 - h; } - C.JSArray_methods.sort$0(reflected_deletions); - return reflected_deletions; - }, - reflect_insertions: function(domain, min_offset, max_offset) { - var t1, t2, t3, t4, t5, - reflected_insertions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); - for (t1 = J.get$iterator$ax(domain.insertions._list), t2 = type$.legacy_void_Function_legacy_InsertionBuilder; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.offset; - if (typeof max_offset !== "number") - return max_offset.$sub(); - if (typeof min_offset !== "number") - return H.iae(min_offset); - t4 = t2._as(new Z.reflect_insertions_closure(max_offset - t4 + min_offset)); - t5 = new G.InsertionBuilder(); - t5._domain$_$v = t3; - t4.call$1(t5); - C.JSArray_methods.add$1(reflected_insertions, t5.build$0()); - } - C.JSArray_methods.sort$1(reflected_insertions, new Z.reflect_insertions_closure0()); - return reflected_insertions; + t1 = include_start_M ? "M " + A.S(x_offset1) + " " + A.S(y_offset1) + " " : ""; + return t1 + ("C " + A.S(x_offset10) + " " + A.S(y_offset10) + " " + A.S(x_offset20) + " " + A.S(y_offset20) + " " + A.S(x_offset2) + " " + A.S(y_offset2)); }, - vertical_reflection_of_strands: function(group, strands_to_reflect, reverse_polarity) { - var t2, t3, t4, min_order, max_order, mirrored_strands, t5, _box_0, t6, t7, i, domain, helix_idx, order, reflected_helix_idx, t8, is_first, is_last, t9, mirrored_strand, strand, - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t2 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__domains; - if (t4 == null) { - t4 = E.Strand.prototype.get$domains.call(t3); - t3.set$__domains(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - t1.add$1(0, t3.get$current(t3).helix); - } - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1); t1.moveNext$0();) { - t3 = t1._collection$_current; - t4 = group.__helices_view_order_inverse; - if (t4 == null) { - t4 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); - group.set$__helices_view_order_inverse(t4); - } - t2.push(J.$index$asx(t4._map$_map, t3)); - } - C.JSArray_methods.sort$0(t2); - min_order = C.JSArray_methods.get$first(t2); - max_order = C.JSArray_methods.get$last(t2); - mirrored_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - for (t1 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = !reverse_polarity, t4 = type$.legacy_void_Function_legacy_DomainBuilder, t5 = type$.legacy_Substrand; t1.moveNext$0();) { - _box_0 = {}; - t6 = t1.get$current(t1); - t7 = t6.substrands; - _box_0.mirrored_substrands = new Q.CopyOnWriteList(true, t7._list, H._instanceType(t7)._eval$1("CopyOnWriteList<1>")); - i = 0; - while (true) { - t7 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - domain = J.$index$asx(_box_0.mirrored_substrands, i); - if (domain instanceof G.Domain) { - helix_idx = domain.helix; - t7 = group.__helices_view_order_inverse; - if (t7 == null) { - t7 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); - group.set$__helices_view_order_inverse(t7); - } - order = J.$index$asx(t7._map$_map, helix_idx); - if (typeof max_order !== "number") - return max_order.$sub(); - if (typeof order !== "number") - return H.iae(order); - if (typeof min_order !== "number") - return H.iae(min_order); - reflected_helix_idx = J.$index$asx(group.helices_view_order._list, max_order - order + min_order); - t7 = i === 0; - if (!(t7 && reverse_polarity)) { - t8 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t8 !== "number") - return t8.$sub(); - is_first = i === t8 - 1 && t3; - } else - is_first = true; - if (!(t7 && t3)) { - t7 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t7 !== "number") - return t7.$sub(); - is_last = i === t7 - 1 && reverse_polarity; - } else - is_last = true; - t7 = _box_0.mirrored_substrands; - t8 = t4._as(new Z.vertical_reflection_of_strands_closure(reflected_helix_idx, reverse_polarity, domain, is_first, is_last)); - t9 = new G.DomainBuilder(); - t9._domain$_$v = domain; - t8.call$1(t9); - J.$indexSet$ax(t7, i, t9.build$0()); + ask_for_length(title, current_length, dialog_type, lower_bound, tooltip) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.int), + $async$returnValue, results, $length, items; + var $async$ask_for_length = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogInteger_DialogInteger("new length:", tooltip, current_length)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), title, dialog_type, false)), $async$ask_for_length); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + $async$returnValue = current_length; + // goto return + $async$goto = 1; + break; + } + $length = type$.DialogInteger._as(J.$index$asx(results, 0)).value; + if ($length < lower_bound) { + B.Window_methods.alert$1(window, "length must be at least " + lower_bound + ", but you entered " + $length); + $async$returnValue = current_length; + // goto return + $async$goto = 1; + break; + } + $async$returnValue = $length; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); } - ++i; - } - if (t3) - _box_0.mirrored_substrands = P.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t5); - t7 = t2._as(new Z.vertical_reflection_of_strands_closure0(_box_0)); - t8 = new E.StrandBuilder(); - t8._strand$_$v = t6; - t7.call$1(t8); - mirrored_strand = t8.build$0(); - strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); - if (J.get$length$asx(mirrored_strand.substrands._list) === 1) { - t6 = mirrored_strand.__first_domain; - if (t6 == null) - t6 = mirrored_strand.__first_domain = E.Strand.prototype.get$first_domain.call(mirrored_strand); - t6.toString; - } - mirrored_strand.check_two_consecutive_loopouts$0(); - mirrored_strand.check_loopouts_length$0(); - mirrored_strand.check_at_least_one_domain$0(); - mirrored_strand.check_only_at_ends$0(); - mirrored_strand.check_not_adjacent_to_loopout$0(); - C.JSArray_methods.add$1(mirrored_strands, strand); - } - return mirrored_strands; - }, - horizontal_reflection_of_strands_closure: function horizontal_reflection_of_strands_closure(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.reflected_end = t0; - _.reflected_start = t1; - _.reverse_polarity = t2; - _.domain = t3; - _.reflected_deletions = t4; - _.reflected_insertions = t5; - _.is_first = t6; - _.is_last = t7; - }, - horizontal_reflection_of_strands_closure0: function horizontal_reflection_of_strands_closure0(t0) { - this._box_0 = t0; - }, - reflect_insertions_closure: function reflect_insertions_closure(t0) { - this.reflected_offset = t0; - }, - reflect_insertions_closure0: function reflect_insertions_closure0() { - }, - vertical_reflection_of_strands_closure: function vertical_reflection_of_strands_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.reflected_helix_idx = t0; - _.reverse_polarity = t1; - _.domain = t2; - _.is_first = t3; - _.is_last = t4; - }, - vertical_reflection_of_strands_closure0: function vertical_reflection_of_strands_closure0(t0) { - this._box_0 = t0; - }, - dna_ends_move_set_selected_ends_reducer: function(_, action) { - var t1, t2; - type$.legacy_DNAEndsMove._as(_); - type$.legacy_DNAEndsMoveSetSelectedEnds._as(action); - t1 = action.moves; - t2 = action.original_offset; - return B._$DNAEndsMove$_(t2, action.helix, t1, t2); - }, - dna_ends_move_adjust_reducer: function(move, action) { - var t1, t2; - type$.legacy_DNAEndsMove._as(move); - type$.legacy_DNAEndsMoveAdjustOffset._as(action); - move.toString; - t1 = type$.legacy_void_Function_legacy_DNAEndsMoveBuilder._as(new Z.dna_ends_move_adjust_reducer_closure(action)); - t2 = new B.DNAEndsMoveBuilder(); - t2._dna_ends_move$_$v = move; - t1.call$1(t2); - return t2.build$0(); - }, - dna_ends_move_stop_reducer: function(move, action) { - type$.legacy_DNAEndsMove._as(move); - type$.legacy_DNAEndsMoveStop._as(action); - return null; - }, - dna_ends_move_adjust_reducer_closure: function dna_ends_move_adjust_reducer_closure(t0) { - this.action = t0; - }, - helix_group_move_create_translation_reducer: function(state, action) { - type$.legacy_HelixGroupMove._as(state); - return type$.legacy_HelixGroupMoveCreate._as(action).helix_group_move; - }, - helix_group_move_adjust_translation_reducer: function(move, action) { - var t1, t2; - type$.legacy_HelixGroupMove._as(move); - type$.legacy_HelixGroupMoveAdjustTranslation._as(action); - move.toString; - t1 = type$.legacy_void_Function_legacy_HelixGroupMoveBuilder._as(new Z.helix_group_move_adjust_translation_reducer_closure(action)); - t2 = new G.HelixGroupMoveBuilder(); - t2._helix_group_move$_$v = move; - t1.call$1(t2); - return t2.build$0(); - }, - helix_group_move_stop_translation_reducer: function(_, action) { - type$.legacy_HelixGroupMove._as(_); - type$.legacy_HelixGroupMoveStop._as(action); - return null; - }, - helix_group_move_commit_global_reducer: function(design, state, action) { - var helix_group_move, group_name, t1, t2, t3, new_groups; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - helix_group_move = type$.legacy_HelixGroupMoveCommit._as(action).helix_group_move; - group_name = helix_group_move.group_name; - t1 = design.groups; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - new_groups = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - t2 = J.$index$asx(t2, group_name).rebuild$1(new Z.helix_group_move_commit_global_reducer_closure(helix_group_move)); - t3._rest[0]._as(group_name); - t3._rest[1]._as(t2); - new_groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_groups._copy_on_write_map$_map, group_name, t2); - return design.rebuild$1(new Z.helix_group_move_commit_global_reducer_closure0(new_groups)); - }, - helix_group_move_adjust_translation_reducer_closure: function helix_group_move_adjust_translation_reducer_closure(t0) { - this.action = t0; - }, - helix_group_move_commit_global_reducer_closure: function helix_group_move_commit_global_reducer_closure(t0) { - this.helix_group_move = t0; - }, - helix_group_move_commit_global_reducer_closure0: function helix_group_move_commit_global_reducer_closure0(t0) { - this.new_groups = t0; - }, - _$Address$_: function($forward, helix_idx, offset) { - var _s7_ = "Address"; - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "helix_idx")); - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "offset")); - if ($forward == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "forward")); - return new Z._$Address(helix_idx, offset, $forward); - }, - _$AddressDifference$_: function(forward_delta, helix_idx_delta, offset_delta) { - return new Z._$AddressDifference(helix_idx_delta, offset_delta, forward_delta); - }, - Address: function Address() { - }, - AddressDifference: function AddressDifference() { - }, - _$AddressSerializer: function _$AddressSerializer() { - }, - _$AddressDifferenceSerializer: function _$AddressDifferenceSerializer() { - }, - _$Address: function _$Address(t0, t1, t2) { - this.helix_idx = t0; - this.offset = t1; - this.forward = t2; - }, - AddressBuilder: function AddressBuilder() { - var _ = this; - _._address$_forward = _._offset = _._helix_idx = _._address$_$v = null; - }, - _$AddressDifference: function _$AddressDifference(t0, t1, t2) { - this.helix_idx_delta = t0; - this.offset_delta = t1; - this.forward_delta = t2; - }, - AddressDifferenceBuilder: function AddressDifferenceBuilder() { - var _ = this; - _._forward_delta = _._offset_delta = _._helix_idx_delta = _._address$_$v = null; - }, - _Address_Object_BuiltJsonSerializable: function _Address_Object_BuiltJsonSerializable() { - }, - _AddressDifference_Object_BuiltJsonSerializable: function _AddressDifference_Object_BuiltJsonSerializable() { - }, - DNAEnd_DNAEnd: function(is_5p, is_on_extension, is_scaffold, is_start, offset, substrand_id, substrand_is_first, substrand_is_last) { - var t1 = new Z.DNAEndBuilder(); - type$.legacy_void_Function_legacy_DNAEndBuilder._as(new Z.DNAEnd_DNAEnd_closure(offset, is_5p, is_start, substrand_is_first, substrand_is_last, substrand_id, is_scaffold, is_on_extension)).call$1(t1); - return t1.build$0(); - }, - DNAEnd: function DNAEnd() { - }, - DNAEnd_DNAEnd_closure: function DNAEnd_DNAEnd_closure(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.offset = t0; - _.is_5p = t1; - _.is_start = t2; - _.substrand_is_first = t3; - _.substrand_is_last = t4; - _.substrand_id = t5; - _.is_scaffold = t6; - _.is_on_extension = t7; - }, - _$DNAEndSerializer: function _$DNAEndSerializer() { - }, - _$DNAEnd: function _$DNAEnd(t0, t1, t2, t3, t4, t5, t6, t7) { - var _ = this; - _.offset = t0; - _.is_5p = t1; - _.is_start = t2; - _.is_on_extension = t3; - _.substrand_is_first = t4; - _.substrand_is_last = t5; - _.substrand_id = t6; - _.is_scaffold = t7; - _._dna_end$__hashCode = _._dna_end$__id = _._dna_end$__select_mode = _.__is_3p = null; - }, - DNAEndBuilder: function DNAEndBuilder() { - var _ = this; - _._dna_end$_is_scaffold = _._substrand_id = _._substrand_is_last = _._substrand_is_first = _._is_on_extension = _._is_start = _._dna_end$_is_5p = _._dna_end$_offset = _._dna_end$_$v = null; + }); + return A._asyncStartSync($async$ask_for_length, $async$completer); }, - _DNAEnd_Object_SelectableMixin: function _DNAEnd_Object_SelectableMixin() { + _$DesignMainLoopout(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainLoopoutProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainLoopoutProps__$$DesignMainLoopoutProps(backingProps); }, - _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable: function _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable() { + _$$DesignMainLoopoutProps__$$DesignMainLoopoutProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainLoopoutProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainLoopoutProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_props = backingMap; + return t1; + } }, - Modification_mod_to_json_serializable: function(mod, suppress_indent) { - var t2, t3, t4, - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); - t1.$indexSet(0, "display_text", mod.get$display_text()); - mod.get$vendor_code(); - t1.$indexSet(0, "vendor_code", mod.get$vendor_code()); - if (mod.get$connector_length() !== 4) - t1.$indexSet(0, "connector_length", mod.get$connector_length()); - t2 = mod.get$unused_fields(); - t3 = t2._map$_map; - t4 = H._instanceType(t2); - t1.addAll$1(0, new S.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + _$$DesignMainLoopoutProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainLoopoutProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - Modification_from_json: function(json_map) { - var display_text, vendor_code, t3, mod, connector_length, allowed_bases_json, allowed_bases, - _s8_ = "location", - _null = null, - _s12_ = "display_text", - _s11_ = "vendor_code", - _s16_ = "connector_length", - t1 = J.getInterceptor$asx(json_map), - $location = H._asStringS(t1.$index(json_map, _s8_)), - t2 = $.$get$modification_keys(), - unused_fields = E.unused_fields_map(json_map, t2); - if ($location === "5'") { - display_text = H._asStringS(t1.$index(json_map, _s12_)); - H._asStringS(t1.$index(json_map, _s8_)); - vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "Modification5Prime", C.List_idt_text)); - t1 = Z.Modification5Prime_Modification5Prime(E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic), display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); - t1.toString; - t2 = type$.legacy_void_Function_legacy_Modification5PrimeBuilder._as(new Z.Modification_from_json_closure(unused_fields)); - t3 = new Z.Modification5PrimeBuilder(); - t3._modification$_$v = t1; - t2.call$1(t3); - mod = t3.build$0(); - } else if ($location === "3'") { - display_text = H._asStringS(t1.$index(json_map, _s12_)); - H._asStringS(t1.$index(json_map, _s8_)); - vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "Modification3Prime", C.List_idt_text)); - t1 = Z.Modification3Prime_Modification3Prime(E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic), display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); - t1.toString; - t2 = type$.legacy_void_Function_legacy_Modification3PrimeBuilder._as(new Z.Modification_from_json_closure0(unused_fields)); - t3 = new Z.Modification3PrimeBuilder(); - t3._modification$_$v = t1; - t2.call$1(t3); - mod = t3.build$0(); - } else if ($location === "internal") { - display_text = H._asStringS(t1.$index(json_map, _s12_)); - H._asStringS(t1.$index(json_map, _s8_)); - vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "ModificationInternal", C.List_idt_text)); - connector_length = E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic); - allowed_bases_json = t1.$index(json_map, "allowed_bases"); - allowed_bases = allowed_bases_json == null ? _null : X.BuiltSet_BuiltSet$from(type$.Iterable_dynamic._as(allowed_bases_json), type$.legacy_String); - t1 = Z.ModificationInternal_ModificationInternal(allowed_bases, connector_length, display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); - t1.toString; - t2 = type$.legacy_void_Function_legacy_ModificationInternalBuilder._as(new Z.Modification_from_json_closure1(unused_fields)); - t3 = new Z.ModificationInternalBuilder(); - t3._modification$_$v = t1; - t2.call$1(t3); - mod = t3.build$0(); - } else - throw H.wrapException(N.IllegalDesignError$('unknown Modification location "' + H.S($location) + '"')); - return mod; - }, - Modification5Prime_Modification5Prime: function(connector_length, display_text, unused_fields, vendor_code) { - var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, - t1 = new Z.Modification5PrimeBuilder(); - type$.legacy_void_Function_legacy_Modification5PrimeBuilder._as(new Z.Modification5Prime_Modification5Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); - return t1.build$0(); + _$$DesignMainLoopoutState$JsMap$(backingMap) { + var t1 = new A._$$DesignMainLoopoutState$JsMap(new A.JsBackedMap({}), $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_state = backingMap; + return t1; }, - Modification3Prime_Modification3Prime: function(connector_length, display_text, unused_fields, vendor_code) { - var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, - t1 = new Z.Modification3PrimeBuilder(); - type$.legacy_void_Function_legacy_Modification3PrimeBuilder._as(new Z.Modification3Prime_Modification3Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); - return t1.build$0(); + DesignMainLoopoutProps: function DesignMainLoopoutProps() { }, - ModificationInternal_ModificationInternal: function(allowed_bases, connector_length, display_text, unused_fields, vendor_code) { - var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, - t1 = new Z.ModificationInternalBuilder(); - type$.legacy_void_Function_legacy_ModificationInternalBuilder._as(new Z.ModificationInternal_ModificationInternal_closure(display_text, vendor_code, connector_length, allowed_bases, unused_fields_to_assign)).call$1(t1); - return t1.build$0(); + DesignMainLoopoutState: function DesignMainLoopoutState() { }, - Modification_from_json_closure: function Modification_from_json_closure(t0) { - this.unused_fields = t0; + DesignMainLoopoutComponent: function DesignMainLoopoutComponent() { }, - Modification_from_json_closure0: function Modification_from_json_closure0(t0) { - this.unused_fields = t0; + DesignMainLoopoutComponent_render_closure: function DesignMainLoopoutComponent_render_closure(t0) { + this.$this = t0; }, - Modification_from_json_closure1: function Modification_from_json_closure1(t0) { - this.unused_fields = t0; + DesignMainLoopoutComponent_render_closure0: function DesignMainLoopoutComponent_render_closure0(t0) { + this.$this = t0; }, - Modification5Prime: function Modification5Prime() { + DesignMainLoopoutComponent_render_closure1: function DesignMainLoopoutComponent_render_closure1(t0) { + this.$this = t0; }, - Modification5Prime_Modification5Prime_closure: function Modification5Prime_Modification5Prime_closure(t0, t1, t2, t3) { - var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.unused_fields_to_assign = t3; + DesignMainLoopoutComponent_render_closure2: function DesignMainLoopoutComponent_render_closure2(t0) { + this.$this = t0; }, - Modification3Prime: function Modification3Prime() { + DesignMainLoopoutComponent_context_menu_loopout_closure: function DesignMainLoopoutComponent_context_menu_loopout_closure(t0) { + this.$this = t0; }, - Modification3Prime_Modification3Prime_closure: function Modification3Prime_Modification3Prime_closure(t0, t1, t2, t3) { - var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.unused_fields_to_assign = t3; + DesignMainLoopoutComponent_context_menu_loopout__closure0: function DesignMainLoopoutComponent_context_menu_loopout__closure0() { }, - ModificationInternal: function ModificationInternal() { + DesignMainLoopoutComponent_context_menu_loopout_closure0: function DesignMainLoopoutComponent_context_menu_loopout_closure0(t0) { + this.$this = t0; }, - ModificationInternal_ModificationInternal_closure: function ModificationInternal_ModificationInternal_closure(t0, t1, t2, t3, t4) { - var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.allowed_bases = t3; - _.unused_fields_to_assign = t4; + DesignMainLoopoutComponent_context_menu_loopout__closure: function DesignMainLoopoutComponent_context_menu_loopout__closure() { }, - _$Modification5PrimeSerializer: function _$Modification5PrimeSerializer() { + DesignMainLoopoutComponent_context_menu_loopout_closure1: function DesignMainLoopoutComponent_context_menu_loopout_closure1(t0) { + this.$this = t0; }, - _$Modification3PrimeSerializer: function _$Modification3PrimeSerializer() { + DesignMainLoopoutComponent_context_menu_loopout_closure2: function DesignMainLoopoutComponent_context_menu_loopout_closure2(t0) { + this.$this = t0; }, - _$ModificationInternalSerializer: function _$ModificationInternalSerializer() { + DesignMainLoopoutComponent_loopout_length_change_closure: function DesignMainLoopoutComponent_loopout_length_change_closure(t0) { + this.$this = t0; }, - _$Modification5Prime: function _$Modification5Prime(t0, t1, t2, t3) { - var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.unused_fields = t3; - _._modification$__hashCode = null; + DesignMainLoopoutComponent_set_loopout_label_closure: function DesignMainLoopoutComponent_set_loopout_label_closure(t0) { + this.$this = t0; }, - Modification5PrimeBuilder: function Modification5PrimeBuilder() { - var _ = this; - _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; + DesignMainLoopoutComponent_ask_for_loopout_name_closure: function DesignMainLoopoutComponent_ask_for_loopout_name_closure(t0) { + this.name = t0; }, - _$Modification3Prime: function _$Modification3Prime(t0, t1, t2, t3) { - var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.unused_fields = t3; - _._modification$__hashCode = null; + $DesignMainLoopoutComponentFactory_closure: function $DesignMainLoopoutComponentFactory_closure() { }, - Modification3PrimeBuilder: function Modification3PrimeBuilder() { - var _ = this; - _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; + _$$DesignMainLoopoutProps: function _$$DesignMainLoopoutProps() { }, - _$ModificationInternal: function _$ModificationInternal(t0, t1, t2, t3, t4) { + _$$DesignMainLoopoutProps$PlainMap: function _$$DesignMainLoopoutProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; - _.display_text = t0; - _.vendor_code = t1; - _.connector_length = t2; - _.allowed_bases = t3; - _.unused_fields = t4; - _._modification$__hashCode = null; + _._design_main_strand_loopout$_props = t0; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_loopout_A = t1; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_strand_A = t2; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_strand_color_A = t3; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_domain_A = t4; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_domain_A = t5; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_helix_A = t6; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_helix_A = t7; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_selected_A = t8; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_show_domain_names_A = t9; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_helices_A = t10; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_groups_A = t11; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_geometry_A = t12; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_helix_svg_position_y_A = t13; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_helix_svg_position_y_A = t14; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_retain_strand_color_on_selection_A = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t16; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t17; }, - ModificationInternalBuilder: function ModificationInternalBuilder() { + _$$DesignMainLoopoutProps$JsMap: function _$$DesignMainLoopoutProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; - _._modification$_unused_fields = _._allowed_bases = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; - }, - _Modification3Prime_Object_BuiltJsonSerializable: function _Modification3Prime_Object_BuiltJsonSerializable() { - }, - _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields() { + _._design_main_strand_loopout$_props = t0; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_loopout_A = t1; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_strand_A = t2; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_strand_color_A = t3; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_domain_A = t4; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_domain_A = t5; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_helix_A = t6; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_helix_A = t7; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_selected_A = t8; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_show_domain_names_A = t9; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_helices_A = t10; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_groups_A = t11; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_geometry_A = t12; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_prev_helix_svg_position_y_A = t13; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_next_helix_svg_position_y_A = t14; + _.DesignMainLoopoutProps___DesignMainLoopoutProps_retain_strand_color_on_selection_A = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t16; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t17; }, - _Modification5Prime_Object_BuiltJsonSerializable: function _Modification5Prime_Object_BuiltJsonSerializable() { + _$$DesignMainLoopoutState: function _$$DesignMainLoopoutState() { }, - _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields() { + _$$DesignMainLoopoutState$JsMap: function _$$DesignMainLoopoutState$JsMap(t0, t1) { + this._design_main_strand_loopout$_state = t0; + this.DesignMainLoopoutState___DesignMainLoopoutState_mouse_hover_A = t1; }, - _ModificationInternal_Object_BuiltJsonSerializable: function _ModificationInternal_Object_BuiltJsonSerializable() { + _$DesignMainLoopoutComponent: function _$DesignMainLoopoutComponent(t0) { + var _ = this; + _.___$DesignMainLoopoutComponent__cachedTypedState_A = _.___$DesignMainLoopoutComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields: function _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields() { + $DesignMainLoopoutProps: function $DesignMainLoopoutProps() { }, - _$PotentialVerticalCrossover$_: function(color, dna_end_bot, dna_end_top, domain_bot, domain_top, forward_top, helix_idx_bot, helix_idx_top, offset) { - var _s26_ = "PotentialVerticalCrossover"; - if (helix_idx_bot == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_bot")); - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "offset")); - if (forward_top == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "forward_top")); - if (domain_top == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "domain_top")); - if (domain_bot == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "domain_bot")); - if (dna_end_top == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "dna_end_top")); - if (dna_end_bot == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "dna_end_bot")); - return new Z._$PotentialVerticalCrossover(helix_idx_top, helix_idx_bot, offset, forward_top, color, domain_top, domain_bot, dna_end_top, dna_end_bot); + $DesignMainLoopoutState: function $DesignMainLoopoutState() { }, - PotentialVerticalCrossover: function PotentialVerticalCrossover() { + _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent: function _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent() { }, - _$PotentialVerticalCrossoverSerializer: function _$PotentialVerticalCrossoverSerializer() { + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps() { }, - _$PotentialVerticalCrossover: function _$PotentialVerticalCrossover(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _.helix_idx_top = t0; - _.helix_idx_bot = t1; - _.offset = t2; - _.forward_top = t3; - _.color = t4; - _.domain_top = t5; - _.domain_bot = t6; - _.dna_end_top = t7; - _.dna_end_bot = t8; - _._potential_vertical_crossover$__hashCode = null; + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps() { }, - PotentialVerticalCrossoverBuilder: function PotentialVerticalCrossoverBuilder() { - var _ = this; - _._dna_end_bot = _._dna_end_top = _._domain_bot = _._domain_top = _._potential_vertical_crossover$_color = _._forward_top = _._potential_vertical_crossover$_offset = _._helix_idx_bot = _._helix_idx_top = _._potential_vertical_crossover$_$v = null; + __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState() { }, - _PotentialVerticalCrossover_Object_BuiltJsonSerializable: function _PotentialVerticalCrossover_Object_BuiltJsonSerializable() { + __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState() { }, - _$DesignMainBasePairLines: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Z._$$DesignMainBasePairLinesProps$JsMap$(new L.JsBackedMap({})) : Z._$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps(backingProps); + _$DesignMainStrandLoopoutText(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandLoopoutTextProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps(backingProps); }, - _$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Z._$$DesignMainBasePairLinesProps$JsMap$(backingMap); + _$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandLoopoutTextProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new Z._$$DesignMainBasePairLinesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandLoopoutTextProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_base_pair_lines$_props = backingMap; + t1._design_main_strand_loopout_name$_props = backingMap; return t1; } }, - _$$DesignMainBasePairLinesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Z._$$DesignMainBasePairLinesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + _$$DesignMainStrandLoopoutTextProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandLoopoutTextProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_base_pair_lines$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_main_strand_loopout_name$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignMainBasePairLinesProps: function DesignMainBasePairLinesProps() { + DesignMainStrandLoopoutTextProps: function DesignMainStrandLoopoutTextProps() { }, - DesignMainBasePairLinesComponent: function DesignMainBasePairLinesComponent() { + DesignMainStrandLoopoutTextComponent: function DesignMainStrandLoopoutTextComponent() { }, - $DesignMainBasePairLinesComponentFactory_closure: function $DesignMainBasePairLinesComponentFactory_closure() { + $DesignMainStrandLoopoutTextComponentFactory_closure: function $DesignMainStrandLoopoutTextComponentFactory_closure() { }, - _$$DesignMainBasePairLinesProps: function _$$DesignMainBasePairLinesProps() { + _$$DesignMainStrandLoopoutTextProps: function _$$DesignMainStrandLoopoutTextProps() { }, - _$$DesignMainBasePairLinesProps$PlainMap: function _$$DesignMainBasePairLinesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + _$$DesignMainStrandLoopoutTextProps$PlainMap: function _$$DesignMainStrandLoopoutTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; - _._design_main_base_pair_lines$_props = t0; - _.DesignMainBasePairLinesProps_with_mismatches = t1; - _.DesignMainBasePairLinesProps_design = t2; - _.DesignMainBasePairLinesProps_only_display_selected_helices = t3; - _.DesignMainBasePairLinesProps_side_selected_helix_idxs = t4; - _.DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map = t5; + _._design_main_strand_loopout_name$_props = t0; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_loopout_A = t1; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_geometry_A = t2; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_prev_domain_A = t3; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_next_domain_A = t4; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_text_A = t5; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_css_selector_text_A = t6; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_num_stacked_A = t7; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_font_size_A = t8; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - _$$DesignMainBasePairLinesProps$JsMap: function _$$DesignMainBasePairLinesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + _$$DesignMainStrandLoopoutTextProps$JsMap: function _$$DesignMainStrandLoopoutTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; - _._design_main_base_pair_lines$_props = t0; - _.DesignMainBasePairLinesProps_with_mismatches = t1; - _.DesignMainBasePairLinesProps_design = t2; - _.DesignMainBasePairLinesProps_only_display_selected_helices = t3; - _.DesignMainBasePairLinesProps_side_selected_helix_idxs = t4; - _.DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map = t5; + _._design_main_strand_loopout_name$_props = t0; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_loopout_A = t1; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_geometry_A = t2; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_prev_domain_A = t3; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_next_domain_A = t4; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_text_A = t5; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_css_selector_text_A = t6; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_num_stacked_A = t7; + _.DesignMainStrandLoopoutTextProps___DesignMainStrandLoopoutTextProps_font_size_A = t8; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - _$DesignMainBasePairLinesComponent: function _$DesignMainBasePairLinesComponent(t0) { + _$DesignMainStrandLoopoutTextComponent: function _$DesignMainStrandLoopoutTextComponent(t0) { var _ = this; - _._design_main_base_pair_lines$_cachedTypedProps = null; + _.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $DesignMainBasePairLinesProps: function $DesignMainBasePairLinesProps() { - }, - _DesignMainBasePairLinesComponent_UiComponent2_PureComponent: function _DesignMainBasePairLinesComponent_UiComponent2_PureComponent() { - }, - __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps() { - }, - __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps() { - }, - _$DesignMainLoopoutExtensionLengths: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(new L.JsBackedMap({})) : Z._$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps(backingProps); - }, - _$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_loopout_extension_lengths$_props = backingMap; - return t1; - } - }, - _$$DesignMainLoopoutExtensionLengthsProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_loopout_extension_lengths$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; - }, - DesignMainLoopoutExtensionLengthsProps: function DesignMainLoopoutExtensionLengthsProps() { - }, - DesignMainLoopoutExtensionLengthsComponent: function DesignMainLoopoutExtensionLengthsComponent() { - }, - $DesignMainLoopoutExtensionLengthsComponentFactory_closure: function $DesignMainLoopoutExtensionLengthsComponentFactory_closure() { + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$$DesignMainLoopoutExtensionLengthsProps: function _$$DesignMainLoopoutExtensionLengthsProps() { - }, - _$$DesignMainLoopoutExtensionLengthsProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthsProps$PlainMap(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._design_main_loopout_extension_lengths$_props = t0; - _.DesignMainLoopoutExtensionLengthsProps_geometry = t1; - _.DesignMainLoopoutExtensionLengthsProps_strands = t2; - _.DesignMainLoopoutExtensionLengthsProps_show_length = t3; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + $DesignMainStrandLoopoutTextProps: function $DesignMainStrandLoopoutTextProps() { }, - _$$DesignMainLoopoutExtensionLengthsProps$JsMap: function _$$DesignMainLoopoutExtensionLengthsProps$JsMap(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._design_main_loopout_extension_lengths$_props = t0; - _.DesignMainLoopoutExtensionLengthsProps_geometry = t1; - _.DesignMainLoopoutExtensionLengthsProps_strands = t2; - _.DesignMainLoopoutExtensionLengthsProps_show_length = t3; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent: function _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent() { }, - _$DesignMainLoopoutExtensionLengthsComponent: function _$DesignMainLoopoutExtensionLengthsComponent(t0) { - var _ = this; - _._design_main_loopout_extension_lengths$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps() { }, - $DesignMainLoopoutExtensionLengthsProps: function $DesignMainLoopoutExtensionLengthsProps() { + __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps() { }, - _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent() { - }, - __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps() { + ask_for_add_modification(strand, substrand, address, type) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, selected_index, strand_dna_idx, items, t1, t2, last_mod, initial_display_text, initial_vendor_code, initial_connector_length, t3, t4, results, display_text, vendor_code, t5, connector_length, index_of_dna_base, attached_to_base, allowed_bases_str, mod, i, allowed_bases, action, ends_selected, all_actions, _i, end_selected, t6, t7; + var $async$ask_for_add_modification = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + if (type === B.ModificationType_five_prime) + selected_index = 1; + else + selected_index = type === B.ModificationType_three_prime ? 0 : 2; + strand_dna_idx = substrand instanceof A.Domain ? A.clicked_strand_dna_idx(substrand, address, strand) : 0; + items = new A.FixedList(A.List_List$filled(7, null, false, type$.nullable_DialogItem), A.List_List$filled(7, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = type$.String; + items._util$_set$2(0, type$.DialogItem._as(A.DialogRadio_DialogRadio("modification type", null, A.LinkedHashSet_LinkedHashSet$_literal(["3'", "5'", "internal"], t1), true, selected_index, ""))); + if (selected_index === 0) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + last_mod = t2.get$state(t2).ui_state.last_mod_3p; + } else if (selected_index === 1) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + last_mod = t2.get$state(t2).ui_state.last_mod_5p; + } else if (selected_index === 2) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + last_mod = t2.get$state(t2).ui_state.last_mod_int; + } else + throw A.wrapException(A.AssertionError$("should be unreachable")); + if (last_mod != null) { + initial_display_text = last_mod.get$display_text(); + initial_vendor_code = last_mod.get$vendor_code(); + initial_connector_length = last_mod.get$connector_length(); + } else { + initial_display_text = ""; + initial_vendor_code = ""; + initial_connector_length = 4; + } + items._util$_set$2(1, A.DialogText_DialogText("display text", string$.This_it, initial_display_text)); + items._util$_set$2(2, A.DialogText_DialogText("vendor code", string$.This_i_, initial_vendor_code)); + items._util$_set$2(3, A.DialogInteger_DialogInteger("connector length", string$.The_nu, initial_connector_length)); + items._util$_set$2(4, A.DialogInteger_DialogInteger("index of DNA base", "The index of the DNA base at which to attach an internal modification.", strand_dna_idx)); + items._util$_set$2(5, A.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, true)); + items._util$_set$2(6, A.DialogText_DialogText("allowed bases", string$.For_in, "ACGT")); + t2 = type$.JSArray_String; + t3 = type$.int; + t4 = type$.Iterable_String; + t4 = A.LinkedHashMap_LinkedHashMap$_literal([4, A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType(["3'", "5'"], t2)], t3, t4), 5, A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType(["3'", "5'"], t2)], t3, t4), 6, A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType(["3'", "5'"], t2)], t3, t4)], t3, type$.Map_of_int_and_Iterable_String); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, A.LinkedHashMap_LinkedHashMap$_literal([6, A._setArrayType([5], type$.JSArray_int)], t3, type$.Iterable_int), B.Map_empty2, t4, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "add modification", B.DialogType_add_modification, false)), $async$ask_for_add_modification); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.DialogRadio._as(t2.$index(results, 0)); + t4 = t3.options; + t3 = t3.selected_idx; + t4 = t4._list; + if (!(t3 >= 0 && t3 < t4.length)) { + $async$returnValue = A.ioore(t4, t3); + // goto return + $async$goto = 1; + break; + } + t3 = t4[t3]; + t4 = type$.DialogText; + display_text = t4._as(t2.$index(results, 1)).value; + vendor_code = t4._as(t2.$index(results, 2)).value; + t5 = type$.DialogInteger; + connector_length = t5._as(t2.$index(results, 3)).value; + index_of_dna_base = t5._as(t2.$index(results, 4)).value; + attached_to_base = type$.DialogCheckbox._as(t2.$index(results, 5)).value; + allowed_bases_str = t4._as(t2.$index(results, 6)).value; + if (t3 === "3'") + mod = A.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); + else if (t3 === "5'") + mod = A.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); + else { + if (attached_to_base) { + t2 = A.RegExp_RegExp("[^(ACGTacgt)]", true); + allowed_bases_str = A.stringReplaceAllUnchecked(allowed_bases_str, t2, ""); + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) + t2.add$1(0, allowed_bases_str[i].toUpperCase()); + allowed_bases = A._BuiltSet$of(t2, t1); + } else + allowed_bases = null; + mod = A.ModificationInternal_ModificationInternal(type$.nullable_BuiltSet_String._as(allowed_bases), connector_length, display_text, null, vendor_code); + } + if (mod instanceof A.ModificationInternal) + action = A._$ModificationAdd$_(mod, strand, index_of_dna_base); + else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_dna_ends()._set; + ends_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (mod instanceof A.Modification5Prime && !B.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_5p())) + B.JSArray_methods.add$1(ends_selected, strand.get$dnaend_5p()); + else if (mod instanceof A.Modification3Prime && !B.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_3p())) + B.JSArray_methods.add$1(ends_selected, strand.get$dnaend_3p()); + t1 = ends_selected.length; + if (t1 === 1) + action = A._$ModificationAdd$_(mod, strand, index_of_dna_base); + else if (t1 > 1) { + all_actions = A._setArrayType([], type$.JSArray_ModificationAdd); + for (t1 = ends_selected.length, t2 = type$.DNAEnd, t3 = mod == null, t4 = $.__app._name, _i = 0; _i < ends_selected.length; ends_selected.length === t1 || (0, A.throwConcurrentModificationError)(ends_selected), ++_i) { + end_selected = ends_selected[_i]; + t5 = $.__app._value; + if (t5 == null ? $.__app == null : t5 === $.__app) + A.throwExpression(A.LateError$fieldNI(t4)); + t5 = t5.__App_store_F; + t5 === $ && A.throwLateFieldNI("store"); + t5 = t5.get$state(t5).get$design(); + t5.toString; + t2._as(end_selected); + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = A.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + } + t7 = t5.__end_to_domain; + if (t7 == null) { + t7 = A.Design.prototype.get$end_to_domain.call(t5); + t5.set$__end_to_domain(t7); + t5 = t7; + } else + t5 = t7; + t5 = t5._map$_map.$index(0, end_selected); + t5.toString; + t5 = t6._map$_map.$index(0, t5); + t5.toString; + if (t3) + A.throwExpression(A.BuiltValueNullFieldError$("ModificationAdd", "modification")); + B.JSArray_methods.add$1(all_actions, new A._$ModificationAdd(t5, mod, null)); + } + action = A.BatchAction_BatchAction(all_actions, "add modifications"); + } else { + A.print(string$.WARNINs); + // goto return + $async$goto = 1; + break; + } + } + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_add_modification, $async$completer); }, - __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps() { + edit_modification(modification, selectable_modification, strand, dna_idx_mod) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, t1, attached_to_base_old, t2, results, display_text, vendor_code, connector_length, new_mod, attached_to_base, allowed_bases_str, t3, i, allowed_bases, selectable_mods, action, is_internal, num_items, items; + var $async$edit_modification = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + is_internal = modification instanceof A.ModificationInternal; + num_items = is_internal ? 5 : 3; + items = new A.FixedList(A.List_List$filled(num_items, null, false, type$.nullable_DialogItem), A.List_List$filled(num_items, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogText_DialogText("display text", string$.This_it, modification.get$display_text())); + items._util$_set$2(1, A.DialogText_DialogText("vendor code", string$.This_i_, modification.get$vendor_code())); + items._util$_set$2(2, A.DialogInteger_DialogInteger("connector length", string$.The_nu, modification.get$connector_length())); + if (is_internal) { + t1 = modification.allowed_bases; + attached_to_base_old = t1 != null; + items._util$_set$2(3, A.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, attached_to_base_old)); + items._util$_set$2(4, A.DialogText_DialogText("allowed bases", string$.For_in, attached_to_base_old ? t1._set.join$1(0, "") : "ACGT")); + } + t1 = type$.int; + t2 = type$.Iterable_int; + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, is_internal ? A.LinkedHashMap_LinkedHashMap$_literal([4, A._setArrayType([3], type$.JSArray_int)], t1, t2) : A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "edit modification", B.DialogType_edit_modification, false)), $async$edit_modification); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogText; + display_text = t2._as(t1.$index(results, 0)).value; + vendor_code = t2._as(t1.$index(results, 1)).value; + connector_length = type$.DialogInteger._as(t1.$index(results, 2)).value; + if (modification instanceof A.Modification3Prime) + new_mod = A.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); + else if (modification instanceof A.Modification5Prime) + new_mod = A.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); + else { + attached_to_base = type$.DialogCheckbox._as(t1.$index(results, 3)).value; + allowed_bases_str = t2._as(t1.$index(results, 4)).value; + if (attached_to_base) { + t1 = A.RegExp_RegExp("[^(ACGTacgt)]", true); + allowed_bases_str = A.stringReplaceAllUnchecked(allowed_bases_str, t1, ""); + t1 = type$.String; + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) + t2.add$1(0, allowed_bases_str[i].toUpperCase()); + allowed_bases = A._BuiltSet$of(t2, t1); + } else + allowed_bases = null; + new_mod = A.ModificationInternal_ModificationInternal(type$.nullable_BuiltSet_String._as(allowed_bases), connector_length, display_text, null, vendor_code); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set; + selectable_mods = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (!B.JSArray_methods.contains$1(selectable_mods, selectable_modification)) + B.JSArray_methods.add$1(selectable_mods, selectable_modification); + t1 = selectable_mods.length; + if (t1 === 1) + action = A._$ModificationEdit$_(new_mod, strand, dna_idx_mod); + else if (t1 > 1) + if (new_mod instanceof A.Modification5Prime) { + t1 = A._arrayInstanceType(selectable_mods); + action = A.Modifications5PrimeEdit_Modifications5PrimeEdit(A.List_List$from(new A.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new A.edit_modification_closure()), t1._eval$1("WhereIterable<1>")), true, type$.SelectableModification5Prime), new_mod); + } else if (new_mod instanceof A.Modification3Prime) { + t1 = A._arrayInstanceType(selectable_mods); + action = A.Modifications3PrimeEdit_Modifications3PrimeEdit(A.List_List$from(new A.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new A.edit_modification_closure0()), t1._eval$1("WhereIterable<1>")), true, type$.SelectableModification3Prime), new_mod); + } else if (new_mod instanceof A.ModificationInternal) { + t1 = A._arrayInstanceType(selectable_mods); + action = A.ModificationsInternalEdit_ModificationsInternalEdit(A.List_List$from(new A.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new A.edit_modification_closure1()), t1._eval$1("WhereIterable<1>")), true, type$.SelectableModificationInternal), new_mod); + } else + throw A.wrapException(A.AssertionError$("should be unreachable")); + else { + A.print(string$.WARNINs); + // goto return + $async$goto = 1; + break; + } + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$edit_modification, $async$completer); }, - _$EditAndSelectModes: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Z._$$EditAndSelectModesProps$JsMap$(new L.JsBackedMap({})) : Z._$$EditAndSelectModesProps__$$EditAndSelectModesProps(backingProps); + _$DesignMainStrandModification(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandModificationProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps(backingProps); }, - _$$EditAndSelectModesProps__$$EditAndSelectModesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Z._$$EditAndSelectModesProps$JsMap$(backingMap); + _$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandModificationProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new Z._$$EditAndSelectModesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandModificationProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, null, $, $, $, $, $, $, $, null, $, $); t1.get$$$isClassGenerated(); - t1._props = backingMap; + t1._design_main_strand_modification$_props = backingMap; return t1; } }, - _$$EditAndSelectModesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Z._$$EditAndSelectModesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + _$$DesignMainStrandModificationProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandModificationProps$JsMap(new A.JsBackedMap({}), $, $, null, $, $, $, $, $, $, $, null, $, $); t1.get$$$isClassGenerated(); - t1._props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_main_strand_modification$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - ConnectedEditAndSelectModes_closure: function ConnectedEditAndSelectModes_closure() { + DesignMainStrandModificationProps: function DesignMainStrandModificationProps() { }, - EditAndSelectModesProps: function EditAndSelectModesProps() { + DesignMainStrandModificationComponent: function DesignMainStrandModificationComponent() { }, - EditAndSelectModesComponent: function EditAndSelectModesComponent() { + DesignMainStrandModificationComponent_render_closure: function DesignMainStrandModificationComponent_render_closure(t0) { + this.$this = t0; }, - EditAndSelectModesComponent_render_closure: function EditAndSelectModesComponent_render_closure() { + DesignMainStrandModificationComponent_render_closure0: function DesignMainStrandModificationComponent_render_closure0(t0) { + this.$this = t0; }, - $EditAndSelectModesComponentFactory_closure: function $EditAndSelectModesComponentFactory_closure() { + DesignMainStrandModificationComponent_context_menu_modification_closure: function DesignMainStrandModificationComponent_context_menu_modification_closure(t0) { + this.$this = t0; }, - _$$EditAndSelectModesProps: function _$$EditAndSelectModesProps() { + edit_modification_closure: function edit_modification_closure() { }, - _$$EditAndSelectModesProps$PlainMap: function _$$EditAndSelectModesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + edit_modification_closure0: function edit_modification_closure0() { + }, + edit_modification_closure1: function edit_modification_closure1() { + }, + $DesignMainStrandModificationComponentFactory_closure: function $DesignMainStrandModificationComponentFactory_closure() { + }, + _$$DesignMainStrandModificationProps: function _$$DesignMainStrandModificationProps() { + }, + _$$DesignMainStrandModificationProps$PlainMap: function _$$DesignMainStrandModificationProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; - _._props = t0; - _.EditAndSelectModesProps_edit_modes = t1; - _.EditAndSelectModesProps_select_mode_state = t2; - _.EditAndSelectModesProps_is_origami = t3; - _.EditAndSelectModesProps_edit_mode_menu_visible = t4; + _._design_main_strand_modification$_props = t0; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_selectable_modification_A = t1; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_helix_A = t2; + _.DesignMainStrandModificationProps_ext = t3; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_transform_A = t4; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_font_size_A = t5; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_display_connector_A = t6; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_selected_A = t7; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_geometry_A = t8; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_helix_svg_position_y_A = t9; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_retain_strand_color_on_selection_A = t10; + _.DesignMainStrandModificationProps_dna_idx_mod = t11; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - _$$EditAndSelectModesProps$JsMap: function _$$EditAndSelectModesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + _$$DesignMainStrandModificationProps$JsMap: function _$$DesignMainStrandModificationProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; - _._props = t0; - _.EditAndSelectModesProps_edit_modes = t1; - _.EditAndSelectModesProps_select_mode_state = t2; - _.EditAndSelectModesProps_is_origami = t3; - _.EditAndSelectModesProps_edit_mode_menu_visible = t4; + _._design_main_strand_modification$_props = t0; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_selectable_modification_A = t1; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_helix_A = t2; + _.DesignMainStrandModificationProps_ext = t3; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_transform_A = t4; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_font_size_A = t5; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_display_connector_A = t6; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_selected_A = t7; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_geometry_A = t8; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_helix_svg_position_y_A = t9; + _.DesignMainStrandModificationProps___DesignMainStrandModificationProps_retain_strand_color_on_selection_A = t10; + _.DesignMainStrandModificationProps_dna_idx_mod = t11; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t5; - _.UbiquitousDomPropsMixin__dom = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; }, - _$EditAndSelectModesComponent: function _$EditAndSelectModesComponent(t0, t1, t2, t3) { + _$DesignMainStrandModificationComponent: function _$DesignMainStrandModificationComponent(t0) { var _ = this; - _._cachedTypedProps = null; - _.RedrawCounterMixin__desiredRedrawCount = t0; - _.RedrawCounterMixin__didRedraw = t1; - _.RedrawCounterMixin_redrawCount = t2; - _.DisposableManagerProxy__disposableProxy = t3; - _.jsThis = _.state = _.props = null; + _.___$DesignMainStrandModificationComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $EditAndSelectModesProps: function $EditAndSelectModesProps() { + $DesignMainStrandModificationProps: function $DesignMainStrandModificationProps() { }, - _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin: function _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin() { + __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps() { }, - __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps() { + __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps() { }, - __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps() { + _$DesignMainStrandModifications(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandModificationsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps(backingProps); + }, + _$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandModificationsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandModificationsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modifications$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandModificationsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandModificationsProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modifications$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$MenuBoolean: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? Z._$$MenuBooleanProps$JsMap$(new L.JsBackedMap({})) : Z._$$MenuBooleanProps__$$MenuBooleanProps(backingProps); + DesignMainStrandModificationsProps: function DesignMainStrandModificationsProps() { }, - _$$MenuBooleanProps__$$MenuBooleanProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return Z._$$MenuBooleanProps$JsMap$(backingMap); + DesignMainStrandModificationsComponent: function DesignMainStrandModificationsComponent() { + }, + $DesignMainStrandModificationsComponentFactory_closure: function $DesignMainStrandModificationsComponentFactory_closure() { + }, + _$$DesignMainStrandModificationsProps: function _$$DesignMainStrandModificationsProps() { + }, + _$$DesignMainStrandModificationsProps$PlainMap: function _$$DesignMainStrandModificationsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_strand_modifications$_props = t0; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_strand_A = t1; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_helices_A = t2; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_groups_A = t3; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_geometry_A = t4; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_side_selected_helix_idxs_A = t5; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_only_display_selected_helices_A = t6; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_selected_modifications_in_strand_A = t7; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_font_size_A = t8; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_display_connector_A = t9; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_helix_idx_to_svg_position_y_map_A = t10; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_retain_strand_color_on_selection_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; + }, + _$$DesignMainStrandModificationsProps$JsMap: function _$$DesignMainStrandModificationsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_strand_modifications$_props = t0; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_strand_A = t1; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_helices_A = t2; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_groups_A = t3; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_geometry_A = t4; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_side_selected_helix_idxs_A = t5; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_only_display_selected_helices_A = t6; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_selected_modifications_in_strand_A = t7; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_font_size_A = t8; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_display_connector_A = t9; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_helix_idx_to_svg_position_y_map_A = t10; + _.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_retain_strand_color_on_selection_A = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t12; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t13; + }, + _$DesignMainStrandModificationsComponent: function _$DesignMainStrandModificationsComponent(t0) { + var _ = this; + _.___$DesignMainStrandModificationsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; + }, + $DesignMainStrandModificationsProps: function $DesignMainStrandModificationsProps() { + }, + _DesignMainStrandModificationsComponent_UiComponent2_PureComponent: function _DesignMainStrandModificationsComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps() { + }, + _$DesignMainStrandMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps(backingProps); + }, + _$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new Z._$$MenuBooleanProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignMainStrandMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._menu_boolean$_props = backingMap; + t1._design_main_strand_moving$_props = backingMap; return t1; } }, - _$$MenuBooleanProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new Z._$$MenuBooleanProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + _$$DesignMainStrandMovingProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandMovingProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._menu_boolean$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_main_strand_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - MenuBooleanPropsMixin: function MenuBooleanPropsMixin() { + DesignMainStrandMovingProps: function DesignMainStrandMovingProps() { }, - MenuBooleanComponent: function MenuBooleanComponent() { + DesignMainStrandMovingComponent: function DesignMainStrandMovingComponent() { }, - $MenuBooleanComponentFactory_closure: function $MenuBooleanComponentFactory_closure() { + $DesignMainStrandMovingComponentFactory_closure: function $DesignMainStrandMovingComponentFactory_closure() { }, - _$$MenuBooleanProps: function _$$MenuBooleanProps() { + _$$DesignMainStrandMovingProps: function _$$DesignMainStrandMovingProps() { }, - _$$MenuBooleanProps$PlainMap: function _$$MenuBooleanProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$$DesignMainStrandMovingProps$PlainMap: function _$$DesignMainStrandMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _._menu_boolean$_props = t0; - _.MenuBooleanPropsMixin_value = t1; - _.MenuBooleanPropsMixin_tooltip = t2; - _.MenuBooleanPropsMixin_display = t3; - _.MenuBooleanPropsMixin_onChange = t4; - _.MenuBooleanPropsMixin_name = t5; - _.MenuBooleanPropsMixin_hide = t6; + _._design_main_strand_moving$_props = t0; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_strand_A = t1; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_original_helices_view_order_inverse_A = t2; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_current_group_A = t3; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_side_selected_helix_idxs_A = t4; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_view_order_A = t5; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_offset_A = t6; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_forward_A = t7; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_allowable_A = t8; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_helices_A = t9; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_groups_A = t10; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_geometry_A = t11; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_helix_idx_to_svg_position_map_A = t12; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _$$MenuBooleanProps$JsMap: function _$$MenuBooleanProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$$DesignMainStrandMovingProps$JsMap: function _$$DesignMainStrandMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _._menu_boolean$_props = t0; - _.MenuBooleanPropsMixin_value = t1; - _.MenuBooleanPropsMixin_tooltip = t2; - _.MenuBooleanPropsMixin_display = t3; - _.MenuBooleanPropsMixin_onChange = t4; - _.MenuBooleanPropsMixin_name = t5; - _.MenuBooleanPropsMixin_hide = t6; + _._design_main_strand_moving$_props = t0; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_strand_A = t1; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_original_helices_view_order_inverse_A = t2; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_current_group_A = t3; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_side_selected_helix_idxs_A = t4; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_view_order_A = t5; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_offset_A = t6; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_delta_forward_A = t7; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_allowable_A = t8; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_helices_A = t9; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_groups_A = t10; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_geometry_A = t11; + _.DesignMainStrandMovingProps___DesignMainStrandMovingProps_helix_idx_to_svg_position_map_A = t12; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - _$MenuBooleanComponent: function _$MenuBooleanComponent(t0) { + _$DesignMainStrandMovingComponent: function _$DesignMainStrandMovingComponent(t0) { var _ = this; - _._menu_boolean$_cachedTypedProps = null; + _.___$DesignMainStrandMovingComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $MenuBooleanPropsMixin: function $MenuBooleanPropsMixin() { + $DesignMainStrandMovingProps: function $DesignMainStrandMovingProps() { }, - __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin: function __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin() { + _DesignMainStrandMovingComponent_UiComponent2_PureComponent: function _DesignMainStrandMovingComponent_UiComponent2_PureComponent() { }, - __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin: function __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin() { + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps() { }, - XmlAttributesBase: function XmlAttributesBase() { + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps() { }, - XmlHasAttributes: function XmlHasAttributes() { + crossover_path_description_within_group(prev_domain, next_domain, helices, geometry, prev_helix_svg_position_y, next_helix_svg_position_y) { + var start_svg, control, end_svg, + t1 = prev_domain.helix, + t2 = helices._map$_map; + t1 = t2.$index(0, t1); + t1.toString; + t2 = t2.$index(0, next_domain.helix); + t2.toString; + start_svg = t1.svg_base_pos$3(prev_domain.get$offset_3p(), prev_domain.forward, prev_helix_svg_position_y); + control = A.control_point_for_crossover_bezier_curve(prev_domain, next_domain, helices, prev_helix_svg_position_y, next_helix_svg_position_y, geometry); + end_svg = t2.svg_base_pos$3(next_domain.get$offset_5p(), next_domain.forward, next_helix_svg_position_y); + return "M " + A.S(start_svg.x) + " " + A.S(start_svg.y) + " Q " + A.S(control.x) + " " + A.S(control.y) + " " + A.S(end_svg.x) + " " + A.S(end_svg.y); }, - throttle_middleware: function(store, action, next) { - var throttled_action, last_time, current_time; - type$.legacy_Store_dynamic._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (type$.legacy_ThrottledAction._is(action)) { - throttled_action = action.get$action(action); - last_time = $._throttled_types.$index(0, H.getRuntimeType(throttled_action)); - current_time = 1000 * Date.now(); - if (last_time == null || (current_time - last_time) / 1000000 >= action.get$interval_sec()) { - $._throttled_types.$indexSet(0, H.getRuntimeType(throttled_action), current_time); - next.call$1(throttled_action); - } - } else - next.call$1(action); - } - }, - V = { - Int32__decodeDigit: function(c) { - if (c >= 48 && c <= 57) - return c - 48; - else if (c >= 97 && c <= 122) - return c - 97 + 10; - else if (c >= 65 && c <= 90) - return c - 65 + 10; + control_point_for_crossover_bezier_curve(from_ss, to_ss, helices, from_helix_svg_position_y, to_helix_svg_position_y, geometry) { + var t3, t4, start_pos, end_pos, from_strand_below, t5, t6, t7, vector, t8, t9, normal, + t1 = helices._map$_map, + t2 = t1.$index(0, from_ss.helix); + t2.toString; + t1 = t1.$index(0, to_ss.helix); + t1.toString; + if (typeof from_helix_svg_position_y !== "number") + return from_helix_svg_position_y.$sub(); + if (typeof to_helix_svg_position_y !== "number") + return A.iae(to_helix_svg_position_y); + t3 = geometry.get$distance_between_helices_svg(); + t4 = from_ss.forward; + start_pos = t2.svg_base_pos$3(from_ss.get$offset_3p(), t4, from_helix_svg_position_y); + end_pos = t1.svg_base_pos$3(to_ss.get$offset_5p(), to_ss.forward, to_helix_svg_position_y); + from_strand_below = from_helix_svg_position_y > to_helix_svg_position_y; + t1 = start_pos.x; + t2 = end_pos.x; + if (typeof t1 !== "number") + return t1.$add(); + if (typeof t2 !== "number") + return A.iae(t2); + t5 = start_pos.y; + t6 = end_pos.y; + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t6 !== "number") + return A.iae(t6); + t7 = type$.Point_double; + vector = end_pos.$sub(0, start_pos); + t8 = vector.y; + t9 = vector.x; + if (typeof t9 !== "number") + return t9.$negate(); + normal = new A.Point(t8, -t9, t7); + if (!(!t4 && from_strand_below)) + t4 = t4 && !from_strand_below; else - return -1; - }, - Int64__parseRadix: function(s, radix) { - var i, negative, d0, d1, d2, c, digit, d00, d10, _null = null, - t1 = s.length; - if (0 < t1 && s[0] === "-") { - i = 1; - negative = true; - } else { - i = 0; - negative = false; + t4 = true; + if (t4) { + if (typeof t8 !== "number") + return t8.$negate(); + normal = new A.Point(-t8, t9, t7); } - if (i >= t1) - throw H.wrapException(P.FormatException$("No digits in '" + s + "'", _null, _null)); - for (d0 = 0, d1 = 0, d2 = 0; i < t1; ++i, d1 = d10, d0 = d00) { - c = C.JSString_methods._codeUnitAt$1(s, i); - digit = V.Int32__decodeDigit(c); - if (digit < 0 || digit >= radix) - throw H.wrapException(P.FormatException$("Non-radix char code: " + c, _null, _null)); - d0 = d0 * radix + digit; - d00 = d0 & 4194303; - d1 = d1 * radix + C.JSInt_methods._shrOtherPositive$1(d0, 22); - d10 = d1 & 4194303; - d2 = d2 * radix + (d1 >>> 22) & 1048575; + return new A.Point((t1 + t2) / 2, (t5 + t6) / 2, t7).$add(0, normal.$mul(0, 1 / normal.get$magnitude()).$mul(0, Math.abs((from_helix_svg_position_y - to_helix_svg_position_y) / t3) * 0.5).$mul(0, geometry.get$base_width_svg() / 2)); + }, + _$DesignMainStrandPaths(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandPathsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps(backingProps); + }, + _$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandPathsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandPathsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_paths$_props = backingMap; + return t1; } - if (negative) - return V.Int64__sub(0, 0, 0, d0, d1, d2); - return new V.Int64(d0 & 4194303, d1 & 4194303, d2 & 1048575); }, - Int64_Int64: function(value) { - var negative, v2, v1, t1, t2, t3; - if (value < 0) { - value = -value; - negative = true; - } else - negative = false; - v2 = C.JSInt_methods._tdivFast$1(value, 17592186044416); - value -= v2 * 17592186044416; - v1 = C.JSInt_methods._tdivFast$1(value, 4194304); - t1 = v1 & 4194303; - t2 = v2 & 1048575; - t3 = value - v1 * 4194304 & 4194303; - return negative ? V.Int64__sub(0, 0, 0, t3, t1, t2) : new V.Int64(t3, t1, t2); + _$$DesignMainStrandPathsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandPathsProps$JsMap(new A.JsBackedMap({}), $, null, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_paths$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - Int64__promote: function(value) { - if (value instanceof V.Int64) - return value; - else if (H._isInt(value)) - return V.Int64_Int64(value); - else if (value instanceof V.Int32) - return V.Int64_Int64(value._i); - throw H.wrapException(P.ArgumentError$value(value, null, null)); + DesignMainStrandPathsProps: function DesignMainStrandPathsProps() { }, - Int64__toRadixStringUnsigned: function(radix, d0, d1, d2, sign) { - var d4, d3, fatRadix, chunk1, chunk2, chunk3, q, q0, q1, q2, q3, chunk10, residue; - if (d0 === 0 && d1 === 0 && d2 === 0) - return "0"; - d4 = (d2 << 4 | d1 >>> 18) >>> 0; - d3 = d1 >>> 8 & 1023; - d2 = (d1 << 2 | d0 >>> 20) & 1023; - d1 = d0 >>> 10 & 1023; - d0 &= 1023; - if (radix >= 37) - return H.ioore(C.List_WrN, radix); - fatRadix = C.List_WrN[radix]; - chunk1 = ""; - chunk2 = ""; - chunk3 = ""; - while (true) { - if (!!(d4 === 0 && d3 === 0)) - break; - q = C.JSInt_methods.$tdiv(d4, fatRadix); - d3 += d4 - q * fatRadix << 10 >>> 0; - q0 = C.JSInt_methods.$tdiv(d3, fatRadix); - d2 += d3 - q0 * fatRadix << 10 >>> 0; - q1 = C.JSInt_methods.$tdiv(d2, fatRadix); - d1 += d2 - q1 * fatRadix << 10 >>> 0; - q2 = C.JSInt_methods.$tdiv(d1, fatRadix); - d0 += d1 - q2 * fatRadix << 10 >>> 0; - q3 = C.JSInt_methods.$tdiv(d0, fatRadix); - chunk10 = C.JSString_methods.substring$1(C.JSInt_methods.toRadixString$1(fatRadix + (d0 - q3 * fatRadix), radix), 1); - chunk3 = chunk2; - chunk2 = chunk1; - chunk1 = chunk10; - d3 = q0; - d4 = q; - d2 = q1; - d1 = q2; - d0 = q3; - } - residue = (d2 << 20 >>> 0) + (d1 << 10 >>> 0) + d0; - return sign + (residue === 0 ? "" : C.JSInt_methods.toRadixString$1(residue, radix)) + chunk1 + chunk2 + chunk3; + DesignMainStrandPathsComponent: function DesignMainStrandPathsComponent() { }, - Int64__sub: function(a0, a1, a2, b0, b1, b2) { - var diff0 = a0 - b0, - diff1 = a1 - b1 - (C.JSInt_methods._shrOtherPositive$1(diff0, 22) & 1); - return new V.Int64(diff0 & 4194303, diff1 & 4194303, a2 - b2 - (C.JSInt_methods._shrOtherPositive$1(diff1, 22) & 1) & 1048575); + $DesignMainStrandPathsComponentFactory_closure: function $DesignMainStrandPathsComponentFactory_closure() { }, - Int32: function Int32(t0) { - this._i = t0; + _$$DesignMainStrandPathsProps: function _$$DesignMainStrandPathsProps() { }, - Int64: function Int64(t0, t1, t2) { - this._l = t0; - this._m = t1; - this._fixnum$_h = t2; + _$$DesignMainStrandPathsProps$PlainMap: function _$$DesignMainStrandPathsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_strand_paths$_props = t0; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_strand_A = t1; + _.DesignMainStrandPathsProps_side_selected_helix_idxs = t2; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_only_display_selected_helices_A = t3; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_ends_in_strand_A = t4; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_crossovers_in_strand_A = t5; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_loopouts_in_strand_A = t6; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_extensions_in_strand_A = t7; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_domains_in_strand_A = t8; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_helices_A = t9; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_groups_A = t10; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_geometry_A = t11; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_show_domain_names_A = t12; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_drawing_potential_crossover_A = t13; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_moving_dna_ends_A = t14; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_strand_tooltip_A = t15; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_context_menu_strand_A = t16; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_helix_idx_to_svg_position_map_A = t17; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_retain_strand_color_on_selection_A = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t19; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t20; }, - GrammarDefinition: function GrammarDefinition() { + _$$DesignMainStrandPathsProps$JsMap: function _$$DesignMainStrandPathsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_strand_paths$_props = t0; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_strand_A = t1; + _.DesignMainStrandPathsProps_side_selected_helix_idxs = t2; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_only_display_selected_helices_A = t3; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_ends_in_strand_A = t4; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_crossovers_in_strand_A = t5; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_loopouts_in_strand_A = t6; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_extensions_in_strand_A = t7; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_selected_domains_in_strand_A = t8; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_helices_A = t9; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_groups_A = t10; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_geometry_A = t11; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_show_domain_names_A = t12; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_drawing_potential_crossover_A = t13; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_moving_dna_ends_A = t14; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_strand_tooltip_A = t15; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_context_menu_strand_A = t16; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_helix_idx_to_svg_position_map_A = t17; + _.DesignMainStrandPathsProps___DesignMainStrandPathsProps_retain_strand_color_on_selection_A = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t19; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t20; }, - any: function() { - return new V.AnyParser("input expected"); + _$DesignMainStrandPathsComponent: function _$DesignMainStrandPathsComponent(t0) { + var _ = this; + _.___$DesignMainStrandPathsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - AnyParser: function AnyParser(t0) { - this.message = t0; + $DesignMainStrandPathsProps: function $DesignMainStrandPathsProps() { }, - Component2: function Component2() { + _DesignMainStrandPathsComponent_UiComponent2_PureComponent: function _DesignMainStrandPathsComponent_UiComponent2_PureComponent() { }, - ReactComponentFactoryProxy: function ReactComponentFactoryProxy() { + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps() { }, - ReactComponentFactoryProxy_call_closure: function ReactComponentFactoryProxy_call_closure() { + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps() { }, - NotSpecified0: function NotSpecified0() { + set_design_main_strands_props(elt, state) { + var t2, t3, + t1 = state.get$design().strands; + elt.toString; + type$.BuiltList_Strand._as(t1); + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.strands", t1); + t1 = type$.BuiltMap_int_Helix._as(state.get$design().helices); + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.helices", t1); + t1 = type$.BuiltMap_String_HelixGroup._as(state.get$design().groups); + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.groups", t1); + t1 = state.ui_state; + t2 = t1.storables; + t3 = type$.BuiltSet_int._as(t2.side_selected_helix_idxs); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPsi, t3); + t3 = t1.selectables_store; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.selectables_store", t3); + t3 = t1.drawing_potential_crossover; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPdr, t3); + t3 = t1.dna_ends_are_moving; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.moving_dna_ends", t3); + t1 = t1.dna_assign_options; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPdn, t1); + t1 = t2.only_display_selected_helices; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPo, t1); + t1 = t2.show_dna; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.show_dna", t1); + t1 = t2.show_modifications; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPshm, t1); + t1 = t2.modification_font_size; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPmf, t1); + t1 = t2.modification_display_connector; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPmd, t1); + t1 = t2.show_strand_names; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.show_strand_names", t1); + t1 = t2.show_strand_labels; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPshs, t1); + t1 = t2.show_domain_names; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.show_domain_names", t1); + t1 = t2.show_domain_labels; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPshd, t1); + t1 = t2.strand_name_font_size; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPstn, t1); + t1 = t2.strand_label_font_size; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPstl, t1); + t1 = t2.domain_name_font_size; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPdon, t1); + t1 = t2.domain_label_font_size; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPdol, t1); + t1 = type$.BuiltMap_of_int_and_Point_double._as(state.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPh, t1); + t1 = t2.display_reverse_DNA_right_side_up; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPdi, t1); + t1 = state.get$design().geometry; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsProps.geometry", t1); + t2 = t2.retain_strand_color_on_selection; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsPr, t2); + return elt; + }, + _$DesignMainStrands(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandsProps__$$DesignMainStrandsProps(backingProps); + }, + _$$DesignMainStrandsProps__$$DesignMainStrandsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strands$_props = backingMap; + return t1; + } }, - registerComponent2_closure: function registerComponent2_closure() { + _$$DesignMainStrandsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandsProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strands$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - a_closure: function a_closure() { + ConnectedDesignMainStrands_closure: function ConnectedDesignMainStrands_closure() { }, - br_closure: function br_closure() { + DesignMainStrandsProps: function DesignMainStrandsProps() { }, - button_closure: function button_closure() { + DesignMainStrandsComponent: function DesignMainStrandsComponent() { }, - div_closure: function div_closure() { + DesignMainStrandsComponent_render_closure: function DesignMainStrandsComponent_render_closure() { }, - form_closure: function form_closure() { + $DesignMainStrandsComponentFactory_closure: function $DesignMainStrandsComponentFactory_closure() { }, - img_closure: function img_closure() { + _$$DesignMainStrandsProps: function _$$DesignMainStrandsProps() { }, - input_closure: function input_closure() { + _$$DesignMainStrandsProps$PlainMap: function _$$DesignMainStrandsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { + var _ = this; + _._design_main_strands$_props = t0; + _.DesignMainStrandsProps___DesignMainStrandsProps_strands_A = t1; + _.DesignMainStrandsProps___DesignMainStrandsProps_helices_A = t2; + _.DesignMainStrandsProps___DesignMainStrandsProps_groups_A = t3; + _.DesignMainStrandsProps___DesignMainStrandsProps_side_selected_helix_idxs_A = t4; + _.DesignMainStrandsProps___DesignMainStrandsProps_selectables_store_A = t5; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_dna_A = t6; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_modifications_A = t7; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_strand_names_A = t8; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_strand_labels_A = t9; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_domain_names_A = t10; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_domain_labels_A = t11; + _.DesignMainStrandsProps___DesignMainStrandsProps_strand_name_font_size_A = t12; + _.DesignMainStrandsProps___DesignMainStrandsProps_strand_label_font_size_A = t13; + _.DesignMainStrandsProps___DesignMainStrandsProps_domain_name_font_size_A = t14; + _.DesignMainStrandsProps___DesignMainStrandsProps_domain_label_font_size_A = t15; + _.DesignMainStrandsProps___DesignMainStrandsProps_modification_font_size_A = t16; + _.DesignMainStrandsProps___DesignMainStrandsProps_drawing_potential_crossover_A = t17; + _.DesignMainStrandsProps___DesignMainStrandsProps_moving_dna_ends_A = t18; + _.DesignMainStrandsProps___DesignMainStrandsProps_dna_assign_options_A = t19; + _.DesignMainStrandsProps___DesignMainStrandsProps_only_display_selected_helices_A = t20; + _.DesignMainStrandsProps___DesignMainStrandsProps_modification_display_connector_A = t21; + _.DesignMainStrandsProps___DesignMainStrandsProps_display_reverse_DNA_right_side_up_A = t22; + _.DesignMainStrandsProps___DesignMainStrandsProps_geometry_A = t23; + _.DesignMainStrandsProps___DesignMainStrandsProps_helix_idx_to_svg_position_map_A = t24; + _.DesignMainStrandsProps___DesignMainStrandsProps_retain_strand_color_on_selection_A = t25; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t26; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t27; }, - label_closure: function label_closure() { + _$$DesignMainStrandsProps$JsMap: function _$$DesignMainStrandsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { + var _ = this; + _._design_main_strands$_props = t0; + _.DesignMainStrandsProps___DesignMainStrandsProps_strands_A = t1; + _.DesignMainStrandsProps___DesignMainStrandsProps_helices_A = t2; + _.DesignMainStrandsProps___DesignMainStrandsProps_groups_A = t3; + _.DesignMainStrandsProps___DesignMainStrandsProps_side_selected_helix_idxs_A = t4; + _.DesignMainStrandsProps___DesignMainStrandsProps_selectables_store_A = t5; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_dna_A = t6; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_modifications_A = t7; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_strand_names_A = t8; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_strand_labels_A = t9; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_domain_names_A = t10; + _.DesignMainStrandsProps___DesignMainStrandsProps_show_domain_labels_A = t11; + _.DesignMainStrandsProps___DesignMainStrandsProps_strand_name_font_size_A = t12; + _.DesignMainStrandsProps___DesignMainStrandsProps_strand_label_font_size_A = t13; + _.DesignMainStrandsProps___DesignMainStrandsProps_domain_name_font_size_A = t14; + _.DesignMainStrandsProps___DesignMainStrandsProps_domain_label_font_size_A = t15; + _.DesignMainStrandsProps___DesignMainStrandsProps_modification_font_size_A = t16; + _.DesignMainStrandsProps___DesignMainStrandsProps_drawing_potential_crossover_A = t17; + _.DesignMainStrandsProps___DesignMainStrandsProps_moving_dna_ends_A = t18; + _.DesignMainStrandsProps___DesignMainStrandsProps_dna_assign_options_A = t19; + _.DesignMainStrandsProps___DesignMainStrandsProps_only_display_selected_helices_A = t20; + _.DesignMainStrandsProps___DesignMainStrandsProps_modification_display_connector_A = t21; + _.DesignMainStrandsProps___DesignMainStrandsProps_display_reverse_DNA_right_side_up_A = t22; + _.DesignMainStrandsProps___DesignMainStrandsProps_geometry_A = t23; + _.DesignMainStrandsProps___DesignMainStrandsProps_helix_idx_to_svg_position_map_A = t24; + _.DesignMainStrandsProps___DesignMainStrandsProps_retain_strand_color_on_selection_A = t25; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t26; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t27; }, - li_closure: function li_closure() { + _$DesignMainStrandsComponent: function _$DesignMainStrandsComponent(t0) { + var _ = this; + _.___$DesignMainStrandsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - option_closure: function option_closure() { + $DesignMainStrandsProps: function $DesignMainStrandsProps() { }, - p_closure: function p_closure() { + _DesignMainStrandsComponent_UiComponent2_PureComponent: function _DesignMainStrandsComponent_UiComponent2_PureComponent() { }, - select_closure: function select_closure() { + __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps() { }, - span_closure: function span_closure() { + __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps() { }, - textarea_closure: function textarea_closure() { + set_design_main_strands_moving_props(elt, state) { + var original_helices_view_order_inverse, t2, group_name, group_names, t3, selected_strands_on_multiple_groups, current_group, + t1 = state.ui_state, + strands_move = t1.strands_move; + if (strands_move != null) { + original_helices_view_order_inverse = strands_move.original_helices_view_order_inverse; + t2 = state.get$design(); + group_name = A.current_group_name_from_strands_move(t2, strands_move); + t2 = t2.groups._map$_map.$index(0, group_name); + t2.toString; + if (!strands_move.copy) { + group_names = state.get$design().group_names_of_strands$1(strands_move.strands_moving); + if (group_names != null) { + t3 = group_names._set; + selected_strands_on_multiple_groups = t3.get$length(t3) > 1; + } else + selected_strands_on_multiple_groups = false; + } else + selected_strands_on_multiple_groups = false; + current_group = t2; + } else { + current_group = null; + original_helices_view_order_inverse = null; + selected_strands_on_multiple_groups = false; + } + t2 = selected_strands_on_multiple_groups ? null : strands_move; + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsMst, t2); + t2 = type$.BuiltMap_String_HelixGroup._as(state.get$design().groups); + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsMovingProps.groups", t2); + type$.nullable_BuiltMap_int_int._as(original_helices_view_order_inverse); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsMo, original_helices_view_order_inverse); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsMc, current_group); + t2 = type$.BuiltMap_int_Helix._as(state.get$design().helices); + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsMovingProps.helices", t2); + t1 = type$.BuiltSet_int._as(t1.storables.side_selected_helix_idxs); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsMsi, t1); + t1 = type$.BuiltMap_of_int_and_Point_double._as(state.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(elt.get$props(elt), string$.DesignMStsMh, t1); + t1 = state.get$design().geometry; + J.$indexSet$ax(elt.get$props(elt), "DesignMainStrandsMovingProps.geometry", t1); + return elt; + }, + _$DesignMainStrandsMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandsMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps(backingProps); + }, + _$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainStrandsMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandsMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strands_moving$_props = backingMap; + return t1; + } }, - title_closure: function title_closure() { + _$$DesignMainStrandsMovingProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainStrandsMovingProps$JsMap(new A.JsBackedMap({}), null, null, null, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_strands_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - ul_closure: function ul_closure() { + ConnectedDesignMainStrandsMoving_closure: function ConnectedDesignMainStrandsMoving_closure() { }, - circle_closure: function circle_closure() { + DesignMainStrandsMovingProps: function DesignMainStrandsMovingProps() { }, - g_closure: function g_closure() { + DesignMainStrandsMovingComponent: function DesignMainStrandsMovingComponent() { }, - image_closure: function image_closure() { + $DesignMainStrandsMovingComponentFactory_closure: function $DesignMainStrandsMovingComponentFactory_closure() { }, - line_closure: function line_closure() { + _$$DesignMainStrandsMovingProps: function _$$DesignMainStrandsMovingProps() { }, - path_closure: function path_closure() { + _$$DesignMainStrandsMovingProps$PlainMap: function _$$DesignMainStrandsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strands_moving$_props = t0; + _.DesignMainStrandsMovingProps_strands_move = t1; + _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; + _.DesignMainStrandsMovingProps_current_group = t3; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_helices_A = t4; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_groups_A = t5; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_side_selected_helix_idxs_A = t6; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_geometry_A = t7; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_helix_idx_to_svg_position_map_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - polygon_closure: function polygon_closure() { + _$$DesignMainStrandsMovingProps$JsMap: function _$$DesignMainStrandsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strands_moving$_props = t0; + _.DesignMainStrandsMovingProps_strands_move = t1; + _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; + _.DesignMainStrandsMovingProps_current_group = t3; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_helices_A = t4; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_groups_A = t5; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_side_selected_helix_idxs_A = t6; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_geometry_A = t7; + _.DesignMainStrandsMovingProps___DesignMainStrandsMovingProps_helix_idx_to_svg_position_map_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - polyline_closure: function polyline_closure() { + _$DesignMainStrandsMovingComponent: function _$DesignMainStrandsMovingComponent(t0) { + var _ = this; + _.___$DesignMainStrandsMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - rect_closure: function rect_closure() { + $DesignMainStrandsMovingProps: function $DesignMainStrandsMovingProps() { }, - text_closure: function text_closure() { + __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps() { }, - textPath_closure: function textPath_closure() { + __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps() { }, - export_svg_middleware: function(store, action, next) { - var t1, ui_state, dna_sequence_png_uri, is_zoom_above_threshold, export_svg_action_delayed_for_png_cache, disable_png_caching_dna_sequences, using_png_dna_sequence, t2, elt, selected_elts; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - t1 = action instanceof U.ExportSvg; - if (t1 || action instanceof U.CopySelectedStandsToClipboardImage) { - ui_state = store.get$state(store).ui_state; - dna_sequence_png_uri = ui_state.dna_sequence_png_uri; - is_zoom_above_threshold = ui_state.is_zoom_above_threshold; - export_svg_action_delayed_for_png_cache = ui_state.export_svg_action_delayed_for_png_cache; - disable_png_caching_dna_sequences = ui_state.storables.disable_png_caching_dna_sequences; - using_png_dna_sequence = dna_sequence_png_uri != null && !is_zoom_above_threshold && export_svg_action_delayed_for_png_cache == null && !disable_png_caching_dna_sequences; - t2 = action instanceof U.CopySelectedStandsToClipboardImage; - if ((t2 || J.get$type$x(action) === C.ExportSvgType_0) && using_png_dna_sequence) - store.dispatch$1(U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(type$.legacy_Action._as(action))); - else if (t1) { - t1 = action.type; - if (t1 === C.ExportSvgType_0 || t1 === C.ExportSvgType_2 || t1 === C.ExportSvgType_3) { - elt = document.getElementById("main-view-svg"); - if (t1 === C.ExportSvgType_3) { - selected_elts = V.get_selected_svg_elements(store.get$state(store)); - if (selected_elts.length === 0) - C.Window_methods.alert$1(window, "No strands are selected, so there is nothing to export.\nPlease select some strands before choosing this option."); - else - V._export_from_element(V.get_cloned_svg_element_with_style(selected_elts, store.get$state(store).ui_state.storables.export_svg_text_separately), "selected"); - } else - V._export_from_element(store.get$state(store).ui_state.storables.export_svg_text_separately ? V.get_cloned_svg_element_with_style(H.setRuntimeTypeInfo([elt], type$.JSArray_legacy_Element), store.get$state(store).ui_state.storables.export_svg_text_separately) : elt, "main"); - } - if (t1 === C.ExportSvgType_1 || t1 === C.ExportSvgType_2) - V._export_from_element(document.getElementById("side-view-svg"), "side"); - } else if (t2) { - selected_elts = V.get_selected_svg_elements(store.get$state(store)); - if (selected_elts.length !== 0) - E.copy_svg_as_png(V.get_cloned_svg_element_with_style(selected_elts, false)); - } - } else - next.call$1(action); + _$DesignMainUnpairedInsertionDeletions(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps(backingProps); }, - get_selected_svg_elements: function(state) { - var t3, base_pairs, - t1 = state.ui_state, - selected_strands = t1.selectables_store.get$selected_strands(), - selected_elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element), - t2 = $.app.store; - if (t2.get$state(t2).ui_state.storables.base_pair_display_type !== C.BasePairDisplayType_none) { - t1 = t1.storables.show_base_pair_lines_with_mismatches; - t2 = type$.legacy_BuiltSet_legacy_Strand; - t3 = state.design; - if (t1) { - t3.toString; - base_pairs = t3._base_pairs$2(true, t2._as(selected_strands)); - } else { - t3.toString; - base_pairs = t3._base_pairs$2(false, t2._as(selected_strands)); - } - C.JSArray_methods.addAll$1(selected_elts, V.get_svg_elements_of_base_pairs(base_pairs)); + _$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_unpaired_insertion_deletions$_props = backingMap; + return t1; } - C.JSArray_methods.addAll$1(selected_elts, V.get_svg_elements_of_strands(selected_strands)); - return selected_elts; }, - get_svg_elements_of_strands: function(strands) { - var t3, t4, t5, t6, strand_elt, dna_seq_elt, mismatch_elts, _i, - t1 = type$.JSArray_legacy_Element, - elts = H.setRuntimeTypeInfo([], t1), - t2 = strands._set; - if (t2.get$length(t2) !== 0) - for (t2 = t2.get$iterator(t2), t3 = type$.legacy_Element; t2.moveNext$0();) { - t4 = t2.get$current(t2); - t5 = document; - t6 = t4.__id; - strand_elt = t5.getElementById(t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6); - t6 = t4.__id; - dna_seq_elt = t5.getElementById("dna-sequence-" + (t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6)); - t6 = t4.__id; - mismatch_elts = t5.getElementsByClassName("mismatch-" + (t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6)); - t4 = H.setRuntimeTypeInfo([strand_elt], t1); - if (dna_seq_elt != null) - t4.push(dna_seq_elt); - for (t5 = mismatch_elts.length, _i = 0; _i < mismatch_elts.length; mismatch_elts.length === t5 || (0, H.throwConcurrentModificationError)(mismatch_elts), ++_i) - t4.push(t3._as(mismatch_elts[_i])); - C.JSArray_methods.addAll$1(elts, t4); - } - return elts; + _$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_unpaired_insertion_deletions$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - get_svg_elements_of_base_pairs: function(base_pairs) { - var t1, t2, t3, t4, t5, t6, - elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element); - for (t1 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t2 = base_pairs._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_Element; t1.moveNext$0();) { - t5 = t1.get$current(t1); - t6 = t3.$index(t2, t5); - t6.toString; - C.JSArray_methods.addAll$1(elts, J.map$1$1$ax(t6._list, H.instanceType(t6)._eval$1("Element*(1)")._as(new V.get_svg_elements_of_base_pairs_closure(t5)), t4)); - } - return elts; + DesignMainUnpairedInsertionDeletionsProps: function DesignMainUnpairedInsertionDeletionsProps() { }, - rotate_vector: function(vec, ang) { - var cos, sin, t1, t2; - if (typeof ang !== "number") - return ang.$mul(); - ang *= 0.017453292519943295; - cos = Math.cos(ang); - sin = Math.sin(ang); - t1 = vec[0]; - t2 = vec[1]; - return H.setRuntimeTypeInfo([t1 * cos - t2 * sin, t1 * sin + t2 * cos], type$.JSArray_legacy_double); + DesignMainUnpairedInsertionDeletionsComponent: function DesignMainUnpairedInsertionDeletionsComponent() { }, - get_text_height: function(font) { - var t2, - t1 = document.createElement("canvas"), - context = type$.legacy_CanvasRenderingContext2D._as(C.CanvasElement_methods.getContext$1(type$.legacy_CanvasElement._as(t1), "2d")); - context.font = font; - t1 = context.font; - t2 = P.RegExp_RegExp("[^0-9\\.]", true); - t1.toString; - return H.Primitives_parseDouble(H.stringReplaceAllUnchecked(t1, t2, "")); + $DesignMainUnpairedInsertionDeletionsComponentFactory_closure: function $DesignMainUnpairedInsertionDeletionsComponentFactory_closure() { }, - dominant_baseline_matrix: function(dominant_baseline, rot, font) { - var t1, t2; - switch (dominant_baseline) { - case "ideographic": - t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); - t2 = V.get_text_height(font); - if (typeof t2 !== "number") - return H.iae(t2); - C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, -3 * t2 / 12], type$.JSArray_legacy_double), rot)); - return W.DomMatrix_DomMatrix(t1); - case "hanging": - t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); - t2 = V.get_text_height(font); - if (typeof t2 !== "number") - return H.iae(t2); - C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, 9 * t2 / 12], type$.JSArray_legacy_double), rot)); - return W.DomMatrix_DomMatrix(t1); - case "central": - t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); - t2 = V.get_text_height(font); - if (typeof t2 !== "number") - return H.iae(t2); - C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, 4 * t2 / 12], type$.JSArray_legacy_double), rot)); - return W.DomMatrix_DomMatrix(t1); - default: - return W.DomMatrix_DomMatrix(H.setRuntimeTypeInfo([1, 0, 0, 1, 0, 0], type$.JSArray_legacy_int)); - } + _$$DesignMainUnpairedInsertionDeletionsProps: function _$$DesignMainUnpairedInsertionDeletionsProps() { }, - create_portable_text: function(text_ele, j) { - var t2, pos, rot, i, t3, item, - _s17_ = "dominant-baseline", - char_ele = type$.legacy_TextElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "text")), - t1 = text_ele.textContent; - if (j >= t1.length) - return H.ioore(t1, j); - (char_ele && C.TextElement_methods).set$text(char_ele, t1[j]); - char_ele.setAttribute("style", text_ele.style.cssText); - t1 = text_ele.getStartPositionOfChar(j); - t2 = type$.dynamic; - pos = W.DomPoint_fromPoint(P.LinkedHashMap_LinkedHashMap$_literal(["x", t1.x, "y", t1.y], t2, t2)); - rot = text_ele.getRotationOfChar(j); - i = 0; - while (true) { - t1 = text_ele.transform.baseVal; - t3 = t1.numberOfItems; - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - item = t1.getItem(i); - t1 = item.matrix; - pos = (pos && C.DomPoint_methods).matrixTransform$1(pos, P.LinkedHashMap_LinkedHashMap$_literal(["a", t1.a, "b", t1.b, "c", t1.c, "d", t1.d, "e", t1.e, "f", t1.f], t2, t2)); - rot = item.angle; - ++i; - } - t1 = char_ele.style; - t1.toString; - if (t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)) !== "") { - t1 = char_ele.style; - t1.toString; - t1 = t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)); - t3 = text_ele.style; - t3 = V.dominant_baseline_matrix(t1, rot, t3.fontSize + " " + t3.fontFamily); - pos = (pos && C.DomPoint_methods).matrixTransform$1(pos, P.LinkedHashMap_LinkedHashMap$_literal(["a", t3.a, "b", t3.b, "c", t3.c, "d", t3.d, "e", t3.e, "f", t3.f], t2, t2)); - } - t1 = char_ele.style; - t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_), "", null); - t1 = char_ele.style; - t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-anchor"), "start", null); - t1 = type$.bool_Function_String._as(C.JSArray_methods.get$contains(H.setRuntimeTypeInfo(["loopout-extension-length", "dna-seq-insertion", "dna-seq-loopout", "dna-seq-extension", "dna-seq"], type$.JSArray_legacy_String))); - if (new P.AttributeClassSet(text_ele).readClasses$0().any$1(0, t1)) { - t1 = char_ele.style; - t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-shadow"), "-0.7px -0.7px 0 #fff, 0.7px -0.7px 0 #fff, -0.7px 0.7px 0 #fff, 0.7px 0.7px 0 #fff", null); - } - char_ele.setAttribute("x", J.toString$0$(pos.x)); - char_ele.setAttribute("y", J.toString$0$(pos.y)); - char_ele.setAttribute("transform", "rotate(" + H.S(rot) + " " + H.S(pos.x) + " " + H.S(pos.y) + ")"); - return char_ele; - }, - create_portable_rect: function(ele) { - var t2, t3, pos, i, - _s16_ = "transform-origin", - portableEle = type$.legacy_RectElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "rect")), - t1 = portableEle.style; - (t1 && C.CssStyleDeclaration_methods).set$cssText(t1, ele.style.cssText); - t1 = portableEle.style; - t1.toString; - if (t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_)) !== "") { - t1 = portableEle.style; - t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "", ""); - } - t1 = portableEle.style; - t2 = t1.cssText; - t3 = P.RegExp_RegExp("transform-box:[^;]+;", true); - t2.toString; - C.CssStyleDeclaration_methods.set$cssText(t1, H.stringReplaceAllUnchecked(t2, t3, "")); - pos = ele.getBBox(); - portableEle.setAttribute("x", J.toString$0$(pos.x)); - portableEle.setAttribute("y", J.toString$0$(pos.y)); - portableEle.setAttribute("rx", J.toString$0$(ele.rx.baseVal.value)); - portableEle.setAttribute("ry", J.toString$0$(ele.ry.baseVal.value)); - portableEle.setAttribute("width", J.toString$0$(pos.width)); - portableEle.setAttribute("height", J.toString$0$(pos.height)); - i = 0; - while (true) { - t1 = ele.transform.baseVal; - t2 = t1.numberOfItems; - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t1 = t1.getItem(i).angle; - if (t1 !== 0) { - t1 = "rotate(" + H.S(t1) + " "; - t2 = pos.x; - t3 = pos.width; - if (typeof t3 !== "number") - return t3.$div(); - if (typeof t2 !== "number") - return t2.$add(); - t3 = t1 + H.S(t2 + t3 / 2) + " "; - t2 = pos.y; - t1 = pos.height; - if (typeof t1 !== "number") - return t1.$div(); - if (typeof t2 !== "number") - return t2.$add(); - portableEle.setAttribute("transform", t3 + H.S(t2 + t1 / 2) + ")"); - } - ++i; - } - return portableEle; - }, - make_portable: function(src) { - var t2, t3, t4, t5, t6, t7, i, t8, t9, portable_eles, j, $parent, new_parent, portableEle, - t1 = type$.legacy_Element; - H.checkTypeBound(t1, type$.Element, "T", "querySelectorAll"); - t2 = src.querySelectorAll("*"); - t3 = document; - t3.body.appendChild(src); - for (t4 = type$.legacy_RectElement, t5 = type$.legacy_TextContentElement, t6 = type$.legacy_TextPathElement, t7 = type$.JSArray_legacy_TextContentElement, i = 0; i < t2.length; ++i) { - t8 = t1._as(t2[i]); - if (t5._is(t8)) { - if (J.get$length$asx(new P.FilteredElementList(t8, new W._ChildNodeListLazy(t8)).get$_html_common$_iterable().__internal$_iterable) === 1) { - t9 = new P.FilteredElementList(t8, new W._ChildNodeListLazy(t8)).get$_html_common$_iterable(); - t9 = t9._f.call$1(J.elementAt$1$ax(t9.__internal$_iterable, 0)).tagName === "textPath"; - } else - t9 = false; - if (t9) - continue; - portable_eles = H.setRuntimeTypeInfo([], t7); - j = 0; - while (true) { - t9 = t8.getNumberOfChars(); - if (typeof t9 !== "number") - return H.iae(t9); - if (!(j < t9)) - break; - C.JSArray_methods.add$1(portable_eles, V.create_portable_text(t8, j)); - ++j; - } - if (t6._is(t8)) { - $parent = t8.parentElement; - new_parent = t3.createElementNS("http://www.w3.org/2000/svg", "g"); - $parent.parentElement.appendChild(new_parent); - new_parent.appendChild(t8); - t9 = $parent.parentNode; - if (t9 != null) - t9.removeChild($parent); - } - C.JSArray_methods.forEach$1(portable_eles, new V.make_portable_closure(t8)); - t9 = t8.parentNode; - if (t9 != null) - t9.removeChild(t8); - } else if (t4._is(t8)) { - portableEle = V.create_portable_rect(t8); - if (i >= t2.length) - return H.ioore(t2, i); - t1._as(t2[i]).parentNode.appendChild(portableEle); - if (i >= t2.length) - return H.ioore(t2, i); - t8 = t1._as(t2[i]); - t9 = t8.parentNode; - if (t9 != null) - t9.removeChild(t8); - } - } - C.SvgSvgElement_methods.remove$0(src); - return src; + _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap: function _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_unpaired_insertion_deletions$_props = t0; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_design_A = t1; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices_A = t2; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs_A = t3; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - get_cloned_svg_element_with_style: function(selected_elts, separate_text) { - var bbox, - cloned_svg_element_with_style = P.SvgSvgElement_SvgSvgElement(), - t1 = H._arrayInstanceType(selected_elts), - t2 = t1._eval$1("MappedListIterable<1,Element*>"); - C.SvgSvgElement_methods.set$children(cloned_svg_element_with_style, P.List_List$of(new H.MappedListIterable(selected_elts, t1._eval$1("Element*(1)")._as(V.export_svg__clone_and_apply_style$closure()), t2), true, t2._eval$1("ListIterable.E"))); - if (separate_text) - cloned_svg_element_with_style = V.make_portable(cloned_svg_element_with_style); - document.body.appendChild(cloned_svg_element_with_style); - bbox = cloned_svg_element_with_style.getBBox(); - C.SvgSvgElement_methods.remove$0(cloned_svg_element_with_style); - cloned_svg_element_with_style.setAttribute("viewBox", "" + (J.floor$0$n(bbox.x) - 1) + " " + (J.floor$0$n(bbox.y) - 1) + " " + (J.ceil$0$n(bbox.width) + 3) + " " + (J.ceil$0$n(bbox.height) + 6)); - return cloned_svg_element_with_style; + _$$DesignMainUnpairedInsertionDeletionsProps$JsMap: function _$$DesignMainUnpairedInsertionDeletionsProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_unpaired_insertion_deletions$_props = t0; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_design_A = t1; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices_A = t2; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs_A = t3; + _.DesignMainUnpairedInsertionDeletionsProps___DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _export_from_element: function(svg_element, filename_append) { - var cloned_svg_element_with_style0, source, filename, - cloned_svg_element_with_style = filename_append !== "selected" ? V.clone_and_apply_style(svg_element) : svg_element, - t1 = type$.legacy_SvgSvgElement; - if (!t1._is(svg_element)) { - cloned_svg_element_with_style0 = P.SvgSvgElement_SvgSvgElement(); - C.SvgSvgElement_methods.set$children(cloned_svg_element_with_style0, H.setRuntimeTypeInfo([cloned_svg_element_with_style], type$.JSArray_legacy_Element)); - cloned_svg_element_with_style = cloned_svg_element_with_style0; - } - t1._as(cloned_svg_element_with_style); - source = new XMLSerializer().serializeToString(cloned_svg_element_with_style); - t1 = $.app.store; - filename = t1.get$state(t1).ui_state.storables.loaded_filename; - E.save_file(C.JSString_methods.substring$2(filename, 0, C.JSString_methods.lastIndexOf$1(filename, ".")) + ("_" + filename_append + ".svg"), source, null, C.BlobType_2); + _$DesignMainUnpairedInsertionDeletionsComponent: function _$DesignMainUnpairedInsertionDeletionsComponent(t0) { + var _ = this; + _.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - clone_and_apply_style: function(elt_orig) { - var t2, elt_styled, selected, - _s13_ = "selected-pink", - t1 = type$.legacy_Element; - t1._as(elt_orig); - t2 = J.getInterceptor$x(elt_orig); - elt_styled = t1._as(t2.clone$1(elt_orig, true)); - selected = t2.get$classes(elt_orig).contains$1(0, _s13_); - t2.get$classes(elt_orig).remove$1(0, _s13_); - V.clone_and_apply_style_rec(elt_styled, elt_orig, 0); - if (selected) - t2.get$classes(elt_orig).add$1(0, _s13_); - return elt_styled; + $DesignMainUnpairedInsertionDeletionsProps: function $DesignMainUnpairedInsertionDeletionsProps() { }, - clone_and_apply_style_rec: function(elt_styled, elt_orig, depth) { - var t1, style_def, t2, _i, style_name, style_value, t3, t4, value, children_styled, children_orig, cd, - tag_name = elt_styled.tagName; - if (J.get$classes$x(elt_styled).contains$1(0, "svg-pan-zoom_viewport")) { - elt_styled.removeAttribute("style"); - elt_styled.setAttribute("transform", J.contains$1$asx(elt_styled.id, "side") ? "matrix(1,0,0,1,50,50)" : "matrix(1,0,0,1,100,50)"); - } - t1 = $.$get$relevant_styles(); - if (t1.get$keys(t1).contains$1(0, tag_name)) { - style_def = C.Window_methods._getComputedStyle$2(window, elt_orig, ""); - for (t1 = t1.$index(0, tag_name), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - style_name = t1[_i]; - style_def.toString; - H._asStringS(style_name); - style_value = style_def.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(style_def, style_name)); - if (style_value !== "") { - if (style_name === "visibility" && style_value === "hidden") { - t3 = elt_styled.style; - t3.toString; - t4 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, "display"); - t3.setProperty(t4, "none", ""); - } - t3 = elt_styled.style; - t3.toString; - t4 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, style_name); - value = style_value == null ? "" : style_value; - t3.setProperty(t4, value, ""); - } - } - } - children_styled = elt_styled.childNodes; - children_orig = elt_orig.childNodes; - for (t1 = type$.legacy_Element, t2 = depth + 1, cd = 0; cd < children_styled.length; ++cd) { - if (cd >= children_orig.length) - return H.ioore(children_orig, cd); - t3 = children_orig[cd]; - if (!t1._is(t3)) - continue; - V.clone_and_apply_style_rec(t1._as(children_styled[cd]), t3, t2); - } - return elt_styled; + _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent: function _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent() { }, - get_svg_elements_of_base_pairs_closure: function get_svg_elements_of_base_pairs_closure(t0) { - this.helix = t0; + __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps() { }, - make_portable_closure: function make_portable_closure(t0) { - this.text_ele = t0; + __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps() { }, - helix_individual_reducer: function(helices, state, action) { - var t1, t2, helix, new_helix, helices_map; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixIndividualAction._as(action); - t1 = action.get$helix_idx(); - t2 = helices._map$_map; - helix = J.$index$asx(t2, t1); - new_helix = $.$get$_helix_individual_reducers().call$3(helix, state, action); - if (!J.$eq$(new_helix, helix)) { - t1 = H._instanceType(helices); - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); - helices_map = new S.CopyOnWriteMap(helices._mapFactory, t2, t1._eval$1("CopyOnWriteMap<1,2>")); - t2 = t1._rest[0]._as(action.get$helix_idx()); - t1._rest[1]._as(new_helix); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t2, new_helix); - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); - } else - return helices; + _$DesignMainWarningStar(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainWarningStarProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignMainWarningStarProps__$$DesignMainWarningStarProps(backingProps); }, - helix_idx_change_reducer: function(design, state, action) { - var t1, t2, t3, helices, t4, strands, new_groups, t5, t6, t7, t8, t9, new_idx, t10, t11, helix, s, strand, substrands, changed_strand, d, substrand; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - type$.legacy_HelixIdxsChange._as(action); - t1 = design.helices; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - t1 = design.strands; - t4 = H._instanceType(t1); - strands = new Q.CopyOnWriteList(true, t1._list, t4._eval$1("CopyOnWriteList<1>")); - new_groups = V.change_groups(action, helices, design); - helices.removeWhere$1(0, new V.helix_idx_change_reducer_closure(action)); - for (t1 = action.idx_replacements, t5 = J.get$iterator$ax(t1.get$keys(t1)), t6 = t3._rest[0], t3 = t3._rest[1], t7 = type$.legacy_void_Function_legacy_HelixBuilder, t8 = type$.legacy_Helix; t5.moveNext$0();) { - t9 = t5.get$current(t5); - new_idx = J.$index$asx(t1._map$_map, t9); - t9 = J.$index$asx(t2, t9); - t9.toString; - t10 = t7._as(new V.helix_idx_change_reducer_closure0(new_idx)); - t11 = new O.HelixBuilder(); - t11.get$_helix$_$this()._group = "default_group"; - t11.get$_helix$_$this()._min_offset = 0; - t11.get$_helix$_$this()._roll = 0; - t8._as(t9); - t11._helix$_$v = t9; - t10.call$1(t11); - helix = t11.build$0(); - t6._as(new_idx); - t3._as(helix); - helices._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices._copy_on_write_map$_map, new_idx, helix); - } - t2 = type$.legacy_void_Function_legacy_DomainBuilder; - t4 = t4._precomputed1; - t3 = type$.legacy_void_Function_legacy_StrandBuilder; - s = 0; - while (true) { - t5 = J.get$length$asx(strands._copy_on_write_list$_list); - if (typeof t5 !== "number") - return H.iae(t5); - if (!(s < t5)) - break; - strand = J.$index$asx(strands._copy_on_write_list$_list, s); - t5 = strand.substrands; - t6 = t5._list; - t5 = H._instanceType(t5); - substrands = new Q.CopyOnWriteList(true, t6, t5._eval$1("CopyOnWriteList<1>")); - t7 = J.getInterceptor$asx(t6); - t5 = t5._precomputed1; - changed_strand = false; - d = 0; - while (true) { - t8 = t7.get$length(t6); - if (typeof t8 !== "number") - return H.iae(t8); - if (!(d < t8)) - break; - substrand = t7.$index(t6, d); - if (substrand instanceof G.Domain) { - t8 = substrand.helix; - new_idx = J.$index$asx(t1._map$_map, t8); - if (new_idx != null) { - t8 = t2._as(new V.helix_idx_change_reducer_closure1(new_idx)); - t9 = new G.DomainBuilder(); - t9._domain$_$v = substrand; - t8.call$1(t9); - t8 = t5._as(t9.build$0()); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, d, t8); - changed_strand = true; - } - } - ++d; - } - if (changed_strand) { - t5 = t3._as(new V.helix_idx_change_reducer_closure2(substrands)); - t6 = new E.StrandBuilder(); - t6._strand$_$v = strand; - t5.call$1(t6); - t5 = t4._as(t6.build$0()); - strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands._copy_on_write_list$_list, s, t5); - } - ++s; + _$$DesignMainWarningStarProps__$$DesignMainWarningStarProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignMainWarningStarProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainWarningStarProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_warning_star$_props = backingMap; + return t1; } - return design.rebuild$1(new V.helix_idx_change_reducer_closure3(new_groups, helices, strands)); }, - change_groups: function(action, helices, design) { - var t2, t3, t4, t5, t6, group, new_groups, t7, t8, t9, t10, t11, t12, helix_idxs_in_group, previous_is_default, t13, helices_view_order_new, t14, t15, t16, order_old_idx, new_group, - t1 = type$.legacy_int, - new_view_order = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - for (t2 = action.idx_replacements, t3 = J.get$iterator$ax(t2.get$keys(t2)), t4 = design.groups; t3.moveNext$0();) { - t5 = t3.get$current(t3); - t6 = J.$index$asx(helices._copy_on_write_map$_map, t5).group; - group = J.$index$asx(t4._map$_map, t6); - t6 = group.__helices_view_order_inverse; - if (t6 == null) { - t6 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); - group.set$__helices_view_order_inverse(t6); - } - new_view_order.$indexSet(0, t5, J.$index$asx(t6._map$_map, t5)); - } - t3 = t4._map$_map; - t5 = H._instanceType(t4); - t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); - new_groups = new S.CopyOnWriteMap(t4._mapFactory, t3, t5._eval$1("CopyOnWriteMap<1,2>")); - for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t6 = t5._rest[0], t5 = t5._rest[1], t7 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t8 = type$.legacy_ListBuilder_legacy_int, t9 = type$.List_legacy_int, t10 = type$.ListBuilder_legacy_int; t4.moveNext$0();) { - t11 = t4.get$current(t4); - group = J.$index$asx(t3, t11); - t12 = design.__helix_idxs_in_group; - if (t12 == null) { - t12 = N.Design.prototype.get$helix_idxs_in_group.call(design); - design.set$__helix_idxs_in_group(t12); - } - helix_idxs_in_group = J.$index$asx(t12._map$_map, t11); - if (t2._keys == null) - t2.set$_keys(J.get$keys$x(t2._map$_map)); - t12 = t2._keys; - t12.toString; - t12 = J.toSet$0$ax(t12).intersection$1(0, J.toSet$0$ax(helix_idxs_in_group._list)); - if (t12.get$isNotEmpty(t12)) { - previous_is_default = E.helices_view_order_is_default(helix_idxs_in_group, group); - t12 = group.helices_view_order; - t13 = H._instanceType(t12); - helices_view_order_new = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); - if (t2._keys == null) - t2.set$_keys(J.get$keys$x(t2._map$_map)); - t12 = t2._keys; - t12.toString; - t12 = J.get$iterator$ax(t12); - t14 = t13._precomputed1; - for (; t12.moveNext$0();) { - t15 = t12.get$current(t12); - t16 = group.__helices_view_order_inverse; - if (t16 == null) { - t16 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); - group.set$__helices_view_order_inverse(t16); - } - order_old_idx = J.$index$asx(t16._map$_map, t15); - if (order_old_idx != null) { - t15 = t14._as(J.$index$asx(t2._map$_map, t15)); - helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_view_order_new._copy_on_write_list$_list, order_old_idx, t15); - } - } - if (H.boolConversionCheck(previous_is_default)) { - t13._eval$1("int(1,1)?")._as(null); - helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.sort$1$ax(helices_view_order_new._copy_on_write_list$_list, null); - } - t12 = t7._as(new V.change_groups_closure(helices_view_order_new)); - t13 = new O.HelixGroupBuilder(); - t13.get$_group$_$this()._group$_grid = C.Grid_none; - t14 = $.$get$Position3D_origin(); - t14.toString; - t15 = new X.Position3DBuilder(); - t15._position3d$_$v = t14; - t13.get$_group$_$this()._group$_position = t15; - t13.get$_group$_$this()._pitch = 0; - t13.get$_group$_$this()._yaw = 0; - t13.get$_group$_$this()._group$_roll = 0; - t14 = new D.ListBuilder(t10); - t14.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t1))); - t14.set$_listOwner(null); - t8._as(t14); - t13.get$_group$_$this().set$_group$_helices_view_order(t14); - t13._group$_$v = group; - t12.call$1(t13); - new_group = t13.build$0(); - t6._as(t11); - t5._as(new_group); - new_groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_groups._copy_on_write_map$_map, t11, new_group); - } - } - return new_groups; + _$$DesignMainWarningStarProps$JsMap$(backingMap) { + var t1 = new A._$$DesignMainWarningStarProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_warning_star$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - helix_offset_change_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - type$.legacy_HelixOffsetChange._as(action); - return V._change_offset_one_helix(helix, action.min_offset, action.max_offset); + DesignMainWarningStarProps: function DesignMainWarningStarProps() { }, - _change_offset_one_helix: function(helix, min_offset, max_offset) { - return helix.rebuild$1(new V._change_offset_one_helix_closure(min_offset, helix, max_offset)); + DesignMainWarningStarComponent: function DesignMainWarningStarComponent() { }, - helix_offset_change_all_with_moving_strands_reducer: function(helices, state, action) { - var t1, new_strands_move, strand_bounds_details, $status, offsets; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_StrandsMoveAdjustAddress._as(action); - t1 = state.ui_state; - if (t1.storables.dynamically_update_helices) { - new_strands_move = t1.strands_move.rebuild$1(new V.helix_offset_change_all_with_moving_strands_reducer_closure(action)); - strand_bounds_details = D.get_strand_bounds_details(state.design, new_strands_move, null); - $status = type$.legacy_strand_bounds_status._as(strand_bounds_details.$index(0, "status")); - offsets = strand_bounds_details.$index(0, "offsets"); - if ($status === C.strand_bounds_status_2 || $status === C.strand_bounds_status_4) { - t1 = type$.legacy_Helix; - helices = N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_with_moving_strands_reducer_map_func(offsets), type$.legacy_int, t1, t1); - } else if ($status === C.strand_bounds_status_3 || $status === C.strand_bounds_status_5) { - t1 = type$.legacy_Helix; - helices = N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_with_moving_strands_reducer_map_func0(offsets), type$.legacy_int, t1, t1); - } - } - return helices; + $DesignMainWarningStarComponentFactory_closure: function $DesignMainWarningStarComponentFactory_closure() { }, - helix_offset_change_all_while_creating_strand_reducer: function(helices, state, action) { - var t1, strand_creation, t2, t3, helices_map, original_helix_offsets, t4, t5, t6, t7; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_StrandCreateAdjustOffset._as(action); - t1 = state.ui_state; - if (t1.storables.dynamically_update_helices) { - strand_creation = t1.strand_creation; - if (strand_creation != null) { - t2 = helices._map$_map; - t3 = H._instanceType(helices); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - helices_map = new S.CopyOnWriteMap(helices._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - original_helix_offsets = t1.original_helix_offsets; - t1 = strand_creation.helix.idx; - t4 = J.getInterceptor$asx(t2); - t5 = t4.$index(t2, t1).min_offset; - t6 = action.offset; - if (typeof t6 !== "number") - return H.iae(t6); - if (t5 > t6) { - t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure(action)); - t3._rest[0]._as(t1); - t3._rest[1]._as(t2); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); - } - if (t4.$index(t2, t1).max_offset <= t6) { - t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure0(action)); - t3._rest[0]._as(t1); - t3._rest[1]._as(t2); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); - } - if (t6 > t4.$index(t2, t1).min_offset) { - t5 = t4.$index(t2, t1).min_offset; - t7 = J.$index$asx(J.$index$asx(original_helix_offsets._map$_map, t1)._list, 0); - if (typeof t7 !== "number") - return H.iae(t7); - t7 = t5 < t7; - t5 = t7; - } else - t5 = false; - if (t5) { - t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure1(action)); - t3._rest[0]._as(t1); - t3._rest[1]._as(t2); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); - } - if (t6 < t4.$index(t2, t1).max_offset + 1) { - t5 = t4.$index(t2, t1).max_offset; - t6 = J.$index$asx(J.$index$asx(original_helix_offsets._map$_map, t1)._list, 1); - if (typeof t6 !== "number") - return H.iae(t6); - t6 = t5 > t6; - t5 = t6; - } else - t5 = false; - if (t5) { - t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure2(action)); - t3._rest[0]._as(t1); - t3._rest[1]._as(t2); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); - } - } - } - return helices; + _$$DesignMainWarningStarProps: function _$$DesignMainWarningStarProps() { }, - first_replace_strands_reducer: function(helices, state, action) { - var t1, t2, t3, changed_strands, min_offsets, max_offsets, key, t4, t5, helix_idx, t6, t7, t8, helices_map, t9, t10, t11, - _s10_ = "No element", - _s13_ = "default_group"; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - t1 = type$.legacy_ReplaceStrands._as(action).new_strands; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - changed_strands = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); - t3 = type$.legacy_int; - min_offsets = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); - max_offsets = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); - for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.JSArray_legacy_int; t1.moveNext$0();) { - key = H._asIntS(t1.get$current(t1)); - for (t4 = J.get$iterator$ax(J.$index$asx(changed_strands._copy_on_write_map$_map, key).substrands._list); t4.moveNext$0();) { - t5 = t4.get$current(t4); - if (t5 instanceof G.Domain) { - helix_idx = t5.helix; - t6 = t5.start; - t7 = helices._map$_map; - t8 = J.getInterceptor$asx(t7); - if (t6 < t8.$index(t7, helix_idx).min_offset) - if (min_offsets.containsKey$1(0, helix_idx)) { - t6 = A.IterableIntegerExtension_get_minOrNull(H.setRuntimeTypeInfo([min_offsets.$index(0, helix_idx), t6], t2)); - min_offsets.$indexSet(0, helix_idx, t6 == null ? H.throwExpression(P.StateError$(_s10_)) : t6); - } else - min_offsets.$indexSet(0, helix_idx, t6); - t5 = t5.end; - if (t5 > t8.$index(t7, helix_idx).max_offset) - if (max_offsets.containsKey$1(0, helix_idx)) { - t5 = A.IterableIntegerExtension_get_maxOrNull(H.setRuntimeTypeInfo([max_offsets.$index(0, helix_idx), t5], t2)); - max_offsets.$indexSet(0, helix_idx, t5 == null ? H.throwExpression(P.StateError$(_s10_)) : t5); - } else - max_offsets.$indexSet(0, helix_idx, t5); - } - } - } - t1 = helices._map$_map; - t2 = H._instanceType(helices); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - if (min_offsets.get$length(min_offsets) > 0) - for (t1 = min_offsets.get$keys(min_offsets), t1 = t1.get$iterator(t1), t4 = t2._rest[0], t5 = t2._rest[1], t6 = type$.legacy_void_Function_legacy_HelixBuilder, t7 = type$.legacy_Helix; t1.moveNext$0();) { - t8 = t1.get$current(t1); - t9 = J.$index$asx(helices_map._copy_on_write_map$_map, t8); - t9.toString; - t10 = t6._as(new V.first_replace_strands_reducer_closure(min_offsets, t8)); - t11 = new O.HelixBuilder(); - t11.get$_helix$_$this()._group = _s13_; - t11.get$_helix$_$this()._min_offset = 0; - t11.get$_helix$_$this()._roll = 0; - t7._as(t9); - t11._helix$_$v = t9; - t10.call$1(t11); - t9 = t11.build$0(); - t4._as(t8); - t5._as(t9); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t8, t9); - } - if (max_offsets.get$length(max_offsets) > 0) - for (t1 = max_offsets.get$keys(max_offsets), t1 = t1.get$iterator(t1), t4 = t2._rest[0], t2 = t2._rest[1], t5 = type$.legacy_void_Function_legacy_HelixBuilder, t6 = type$.legacy_Helix; t1.moveNext$0();) { - t7 = t1.get$current(t1); - t8 = J.$index$asx(helices_map._copy_on_write_map$_map, t7); - t8.toString; - t9 = t5._as(new V.first_replace_strands_reducer_closure0(max_offsets, t7)); - t10 = new O.HelixBuilder(); - t10.get$_helix$_$this()._group = _s13_; - t10.get$_helix$_$this()._min_offset = 0; - t10.get$_helix$_$this()._roll = 0; - t6._as(t8); - t10._helix$_$v = t8; - t9.call$1(t10); - t8 = t10.build$0(); - t4._as(t7); - t2._as(t8); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t7, t8); - } - return A.BuiltMap_BuiltMap$of(helices_map, t3, type$.legacy_Helix); + _$$DesignMainWarningStarProps$PlainMap: function _$$DesignMainWarningStarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_warning_star$_props = t0; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_base_svg_pos_A = t1; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_forward_A = t2; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_geometry_A = t3; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_color_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - reset_helices_offsets: function(helices, state) { - var helices_updated, original_helix_offsets, t3, t4, t5, t6, t7, t8, t9, current_helix_min_offset, t10, t11, t12, current_helix_max_offset, - _s13_ = "default_group", - t1 = helices._map$_map, - t2 = H._instanceType(helices); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - helices_updated = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - original_helix_offsets = state.ui_state.original_helix_offsets; - for (t1 = J.get$iterator$ax(original_helix_offsets.get$keys(original_helix_offsets)), t3 = original_helix_offsets._map$_map, t4 = J.getInterceptor$asx(t3), t5 = state.design, t6 = t2._rest[0], t2 = t2._rest[1], t7 = type$.legacy_void_Function_legacy_HelixBuilder, t8 = type$.legacy_Helix; t1.moveNext$0();) { - t9 = t1.get$current(t1); - current_helix_min_offset = t5.min_offset_of_strands_at$1(t9); - t10 = J.$index$asx(t4.$index(t3, t9)._list, 0); - if (typeof t10 !== "number") - return H.iae(t10); - if (current_helix_min_offset >= t10) { - t10 = J.$index$asx(helices_updated._copy_on_write_map$_map, t9); - t10.toString; - t11 = t7._as(new V.reset_helices_offsets_closure(original_helix_offsets, t9)); - t12 = new O.HelixBuilder(); - t12.get$_helix$_$this()._group = _s13_; - t12.get$_helix$_$this()._min_offset = 0; - t12.get$_helix$_$this()._roll = 0; - t8._as(t10); - t12._helix$_$v = t10; - t11.call$1(t12); - t10 = t12.build$0(); - t6._as(t9); - t2._as(t10); - helices_updated._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_updated._copy_on_write_map$_map, t9, t10); - } - current_helix_max_offset = t5.max_offset_of_strands_at$1(t9); - t10 = J.$index$asx(t4.$index(t3, t9)._list, 1); - if (typeof t10 !== "number") - return H.iae(t10); - if (current_helix_max_offset <= t10) { - t10 = J.$index$asx(helices_updated._copy_on_write_map$_map, t9); - t10.toString; - t11 = t7._as(new V.reset_helices_offsets_closure0(original_helix_offsets, t9)); - t12 = new O.HelixBuilder(); - t12.get$_helix$_$this()._group = _s13_; - t12.get$_helix$_$this()._min_offset = 0; - t12.get$_helix$_$this()._roll = 0; - t8._as(t10); - t12._helix$_$v = t10; - t11.call$1(t12); - t10 = t12.build$0(); - t6._as(t9); - t2._as(t10); - helices_updated._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_updated._copy_on_write_map$_map, t9, t10); - } - } - return A.BuiltMap_BuiltMap$of(helices_updated, type$.legacy_int, t8); + _$$DesignMainWarningStarProps$JsMap: function _$$DesignMainWarningStarProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_warning_star$_props = t0; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_base_svg_pos_A = t1; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_forward_A = t2; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_geometry_A = t3; + _.DesignMainWarningStarProps___DesignMainWarningStarProps_color_A = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - reset_helices_offsets_after_selections_clear: function(helices, state, action) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_SelectionsClear._as(action); - return V.reset_helices_offsets(helices, state); + _$DesignMainWarningStarComponent: function _$DesignMainWarningStarComponent(t0) { + var _ = this; + _.___$DesignMainWarningStarComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - helix_offset_change_all_reducer: function(helices, state, action) { - var t1; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_reducer_map_func(type$.legacy_HelixOffsetChangeAll._as(action)), type$.legacy_int, t1, t1); - }, - helix_min_offset_set_by_domains_reducer: function(helix, state, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(state); - type$.legacy_HelixMinOffsetSetByDomains._as(action); - return V._min_offset_set_by_domains_one_helix(helix, state.design); - }, - helix_max_offset_set_by_domains_reducer: function(helix, state, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(state); - type$.legacy_HelixMaxOffsetSetByDomains._as(action); - return V._max_offset_set_by_domains_one_helix(helix, state.design); - }, - _min_offset_set_by_domains_one_helix: function(helix, design) { - var t2, - domains = design.domains_on_helix$1(helix.idx), - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) - t1.push(t2.get$current(t2).start); - return helix.rebuild$1(new V._min_offset_set_by_domains_one_helix_closure(A.IterableIntegerExtension_get_min(t1))); + $DesignMainWarningStarProps: function $DesignMainWarningStarProps() { }, - _max_offset_set_by_domains_one_helix: function(helix, design) { - var t2, - domains = design.domains_on_helix$1(helix.idx), - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) - t1.push(t2.get$current(t2).end); - return helix.rebuild$1(new V._max_offset_set_by_domains_one_helix_closure(t1.length !== 0 ? A.IterableIntegerExtension_get_max(t1) : 10)); + __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps() { }, - helix_min_offset_set_by_domains_all_reducer: function(helices, state, action) { - var t1; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixMinOffsetSetByDomainsAll._as(action); - t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(helices, new V.helix_min_offset_set_by_domains_all_reducer_map_func(state), type$.legacy_int, t1, t1); + __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps() { }, - helix_max_offset_set_by_domains_all_reducer: function(helices, state, action) { + set_design_side_props(elt, state) { + var t5, t6, t7, t8, t9, t10, helices_in_group, + t1 = state.get$design().groups, + t2 = state.ui_state, + t3 = t2.storables, + t4 = t3.displayed_group_name; + t1 = t1._map$_map.$index(0, t4); + t1.toString; + t5 = state.get$design().get$helix_idxs_in_group()._map$_map.$index(0, t4); + t5.toString; + t6 = type$.int; + t7 = type$.Helix; + t8 = A.LinkedHashMap_LinkedHashMap$_empty(t6, t7); + for (t5 = t5._list, t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); t5.moveNext$0();) { + t9 = t5.__interceptors$_current; + t10 = state.get$design().helices._map$_map.$index(0, t9); + t10.toString; + t8.$indexSet(0, t9, t10); + } + helices_in_group = A.BuiltMap_BuiltMap$of(t8, t6, t7); + elt.toString; + type$.BuiltMap_int_Helix._as(helices_in_group); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.helices", helices_in_group); + t5 = state.get$design().geometry; + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.geometry", t5); + t5 = t2.helix_change_apply_to_all; + J.$indexSet$ax(elt.get$props(elt), string$.DesignSPrh, t5); + t5 = type$.BuiltSet_int._as(t3.side_selected_helix_idxs); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.helix_idxs_selected", t5); + if (t3.show_slice_bar) { + t5 = t3.slice_bar_offset; + t5.toString; + t4 = A.rotation_datas_at_offset_in_group(t5, state.get$design(), t4); + } else + t4 = A.BuiltList_BuiltList$from(B.List_empty, type$.DesignSideRotationData); + type$.BuiltList_DesignSideRotationData._as(t4); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.rotation_datas", t4); + t4 = t3.slice_bar_offset; + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.slice_bar_offset", t4); + t4 = type$.BuiltSet_EditModeChoice._as(t3.edit_modes); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.edit_modes", t4); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.displayed_group", t1); + t1 = t2.side_view_grid_position_mouse_cursor; + J.$indexSet$ax(elt.get$props(elt), string$.DesignSPrg, t1); + t2 = type$.nullable_Point_double._as(t2.side_view_position_mouse_cursor); + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.mouse_svg_pos", t2); + t2 = t3.show_grid_coordinates_side_view; + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.show_grid_coordinates", t2); + t3 = t3.invert_y; + J.$indexSet$ax(elt.get$props(elt), "DesignSideProps.invert_y", t3); + return elt; + }, + _$DesignSide(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignSideProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignSideProps__$$DesignSideProps(backingProps); + }, + _$$DesignSideProps__$$DesignSideProps(backingMap) { var t1; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixMaxOffsetSetByDomainsAll._as(action); - t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(helices, new V.helix_max_offset_set_by_domains_all_reducer_map_func(state), type$.legacy_int, t1, t1); - }, - helix_max_offset_set_by_domains_all_same_max_reducer: function(helices, state, action) { - var design, t1, t2, domains, t3, t4, this_max_offset, _box_0 = {}; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax._as(action); - design = state.design; - _box_0.max_offset = null; - for (t1 = J.get$iterator$ax(helices.get$keys(helices)), t2 = type$.JSArray_legacy_int; t1.moveNext$0();) { - domains = design.domains_on_helix$1(t1.get$current(t1)); - t3 = H.setRuntimeTypeInfo([], t2); - for (t4 = J.get$iterator$ax(domains); t4.moveNext$0();) - t3.push(t4.get$current(t4).end); - if (t3.length !== 0) { - t3 = A.IterableIntegerExtension_get_maxOrNull(t3); - this_max_offset = t3 == null ? H.throwExpression(P.StateError$("No element")) : t3; - } else - this_max_offset = 10; - t3 = _box_0.max_offset; - if (t3 == null) - _box_0.max_offset = this_max_offset; - else - t3 = _box_0.max_offset = Math.max(t3, this_max_offset); + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignSideProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignSideProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, null, null, null, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side$_props = backingMap; + return t1; } - if (_box_0.max_offset == null) - _box_0.max_offset = 10; - t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(helices, new V.helix_max_offset_set_by_domains_all_same_max_reducer_closure(_box_0), type$.legacy_int, t1, t1); - }, - helix_major_tick_distance_change_all_reducer: function(helices, action) { - var t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_distance_change_all_reducer_closure(type$.legacy_HelixMajorTickDistanceChangeAll._as(action)), type$.legacy_int, t1, t1); - }, - helix_major_ticks_change_all_reducer: function(helices, action) { - var t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_ticks_change_all_reducer_closure(type$.legacy_HelixMajorTicksChangeAll._as(action)), type$.legacy_int, t1, t1); - }, - helix_major_tick_start_change_all_reducer: function(helices, action) { - var t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_start_change_all_reducer_closure(type$.legacy_HelixMajorTickStartChangeAll._as(action)), type$.legacy_int, t1, t1); - }, - helix_major_tick_periodic_distances_change_all_reducer: function(helices, action) { - var t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_periodic_distances_change_all_reducer_closure(type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(action)), type$.legacy_int, t1, t1); - }, - helix_major_tick_distance_change_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - return V._change_major_tick_distance_one_helix(helix, type$.legacy_HelixMajorTickDistanceChange._as(action).major_tick_distance); - }, - helix_major_tick_periodic_distances_change_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - return V._change_major_tick_periodic_distances_one_helix(helix, type$.legacy_HelixMajorTickPeriodicDistancesChange._as(action).major_tick_periodic_distances); - }, - helix_major_tick_start_change_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - return V._change_major_tick_start_one_helix(helix, type$.legacy_HelixMajorTickStartChange._as(action).major_tick_start); - }, - helix_major_ticks_change_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - return V._change_major_ticks_one_helix(helix, type$.legacy_HelixMajorTicksChange._as(action).major_ticks); - }, - _change_major_tick_distance_one_helix: function(helix, major_tick_distance) { - return helix.rebuild$1(new V._change_major_tick_distance_one_helix_closure(major_tick_distance)); - }, - _change_major_tick_start_one_helix: function(helix, major_tick_start) { - return helix.rebuild$1(new V._change_major_tick_start_one_helix_closure(major_tick_start)); - }, - _change_major_tick_periodic_distances_one_helix: function(helix, major_tick_periodic_distances) { - return helix.rebuild$1(new V._change_major_tick_periodic_distances_one_helix_closure(major_tick_periodic_distances)); - }, - _change_major_ticks_one_helix: function(helix, major_ticks) { - return helix.rebuild$1(new V._change_major_ticks_one_helix_closure(major_ticks)); - }, - helix_roll_set_reducer: function(helix, _, action) { - type$.legacy_Helix._as(helix); - type$.legacy_AppState._as(_); - return helix.rebuild$1(new V.helix_roll_set_reducer_closure(type$.legacy_HelixRollSet._as(action))); - }, - helix_roll_set_at_other_reducer: function(helices, state, action) { - var t1, t2, t3, helix, helix_other, geometry, rotation, old_rotation_at_anchor, helix_new, helices_builder; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixRollSetAtOther._as(action); - t1 = action.helix_idx; - t2 = helices._map$_map; - t3 = J.getInterceptor$asx(t2); - helix = t3.$index(t2, t1); - helix_other = t3.$index(t2, action.helix_other_idx); - t3 = state.design; - geometry = t3.geometry; - rotation = E.rotation_between_helices(helix, helix_other, action.forward, geometry); - old_rotation_at_anchor = t3.helix_rotation_forward$2(helix.idx, action.anchor); - helix_new = helix.rebuild$1(new V.helix_roll_set_at_other_reducer_closure(C.JSNumber_methods.$mod(helix.roll + (rotation - old_rotation_at_anchor), 360))); - t3 = H._instanceType(helices); - t3._eval$1("_BuiltMap<1,2>")._as(helices); - helices_builder = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); - helices_builder.$indexSet(0, t1, helix_new); - return helices_builder.build$0(); }, - helix_add_design_reducer: function(design, state, action) { - var t1, t2, num_helices, new_idx, min_offset, max_offset, t3, t4, t5, t6, group, t7, t8, new_helices_view_order, new_group, new_groups, helix, new_helices; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - type$.legacy_HelixAdd._as(action); - t1 = design.helices; - t2 = t1._map$_map; - num_helices = J.get$length$asx(t2); - if (typeof num_helices !== "number") - return num_helices.$gt(); - if (num_helices > 0) { - new_idx = A.IterableIntegerExtension_get_max(t1.get$keys(t1)) + 1; - min_offset = design.__min_offset; - if (min_offset == null) { - min_offset = N.Design.prototype.get$min_offset.call(design); - design.__min_offset = min_offset; - } - max_offset = design.__max_offset; - if (max_offset == null) { - max_offset = N.Design.prototype.get$max_offset.call(design); - design.__max_offset = max_offset; - } - } else { - new_idx = 0; - min_offset = 0; - max_offset = 64; - } - t3 = design.groups; - t4 = state.ui_state.storables; - t5 = t4.displayed_group_name; - t6 = t3._map$_map; - group = J.$index$asx(t6, t5); - t7 = group.helices_view_order; - t8 = H._instanceType(t7); - new_helices_view_order = new Q.CopyOnWriteList(true, t7._list, t8._eval$1("CopyOnWriteList<1>")); - t8._precomputed1._as(new_idx); - new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, new_idx); - new_group = group.rebuild$1(new V.helix_add_design_reducer_closure(new_helices_view_order)); - t8 = H._instanceType(t3); - t8 = t8._eval$1("@<1>")._bind$1(t8._rest[1]); - new_groups = new S.CopyOnWriteMap(t3._mapFactory, t6, t8._eval$1("CopyOnWriteMap<1,2>")); - t8._rest[0]._as(t5); - t8._rest[1]._as(new_group); - new_groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_groups._copy_on_write_map$_map, t5, new_group); - t8 = group.grid; - t6 = design.geometry; - t3 = action.grid_position; - t7 = action.position; - helix = O.Helix_Helix(t6, t8, t3, t5, new_idx, t4.invert_y, max_offset, min_offset, t7); - t7 = H._instanceType(t1); - t7 = t7._eval$1("@<1>")._bind$1(t7._rest[1]); - new_helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t7._eval$1("CopyOnWriteMap<1,2>")); - t2 = t7._rest[0]._as(helix.idx); - t7._rest[1]._as(helix); - new_helices._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_helices._copy_on_write_map$_map, t2, helix); - return design.rebuild$1(new V.helix_add_design_reducer_closure0(new_helices, new_groups)); - }, - helix_remove_design_global_reducer: function(design, state, action) { - var t1, substrands_on_helix, strands_with_substrands_removed, new_helices, t2, t3, t4, group, t5, new_helices_view_order, new_group, new_groups; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - type$.legacy_HelixRemove._as(action); - t1 = action.helix_idx; - substrands_on_helix = J.toSet$0$ax(design.domains_on_helix$1(t1)); - strands_with_substrands_removed = G.remove_domains(design.strands, state, substrands_on_helix); - new_helices = V.remove_helix_assuming_no_domains(design.helices, action); - t2 = design.groups; - t3 = state.ui_state.storables.displayed_group_name; - t4 = t2._map$_map; - group = J.$index$asx(t4, t3); - t5 = group.helices_view_order; - new_helices_view_order = new Q.CopyOnWriteList(true, t5._list, H._instanceType(t5)._eval$1("CopyOnWriteList<1>")); - new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t1); - new_group = group.rebuild$1(new V.helix_remove_design_global_reducer_closure(new_helices_view_order)); - t1 = H._instanceType(t2); - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); - new_groups = new S.CopyOnWriteMap(t2._mapFactory, t4, t1._eval$1("CopyOnWriteMap<1,2>")); - t1._rest[0]._as(t3); - t1._rest[1]._as(new_group); - new_groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_groups._copy_on_write_map$_map, t3, new_group); - return design.rebuild$1(new V.helix_remove_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); - }, - helix_remove_all_selected_design_global_reducer: function(design, state, action) { - var helix_idxs, substrands_on_helices, strands_with_substrands_removed, new_helices, t1, t2, t3, new_groups, t4, t5, t6, t7, t8, t9, t10, group, t11, new_helices_view_order, t12, t13, t14, new_group; - type$.legacy_Design._as(design); - type$.legacy_AppState._as(state); - type$.legacy_HelixRemoveAllSelected._as(action); - helix_idxs = state.ui_state.storables.side_selected_helix_idxs; - substrands_on_helices = J.toSet$0$ax(design.domains_on_helices$1(helix_idxs)._list); - strands_with_substrands_removed = G.remove_domains(design.strands, state, substrands_on_helices); - new_helices = V.remove_helices_assuming_no_domains(design.helices, helix_idxs); - t1 = design.groups; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - new_groups = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = J.get$iterator$ax(t1.get$keys(t1)), t4 = t3._rest[0], t3 = t3._rest[1], t5 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t6 = type$.legacy_ListBuilder_legacy_int, t7 = type$.legacy_int, t8 = type$.List_legacy_int, t9 = type$.ListBuilder_legacy_int; t1.moveNext$0();) { - t10 = t1.get$current(t1); - group = J.$index$asx(t2, t10); - t11 = group.helices_view_order; - new_helices_view_order = new Q.CopyOnWriteList(true, t11._list, H._instanceType(t11)._eval$1("CopyOnWriteList<1>")); - for (t11 = helix_idxs._set, t11 = t11.get$iterator(t11); t11.moveNext$0();) { - t12 = t11.get$current(t11); - new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t12); - } - t11 = t5._as(new V.helix_remove_all_selected_design_global_reducer_closure(new_helices_view_order)); - t12 = new O.HelixGroupBuilder(); - t12.get$_group$_$this()._group$_grid = C.Grid_none; - t13 = $.$get$Position3D_origin(); - t13.toString; - t14 = new X.Position3DBuilder(); - t14._position3d$_$v = t13; - t12.get$_group$_$this()._group$_position = t14; - t12.get$_group$_$this()._pitch = 0; - t12.get$_group$_$this()._yaw = 0; - t12.get$_group$_$this()._group$_roll = 0; - t13 = new D.ListBuilder(t9); - t13.set$__ListBuilder__list(t8._as(P.List_List$from(C.List_empty, true, t7))); - t13.set$_listOwner(null); - t6._as(t13); - t12.get$_group$_$this().set$_group$_helices_view_order(t13); - t12._group$_$v = group; - t11.call$1(t12); - new_group = t12.build$0(); - t4._as(t10); - t3._as(new_group); - new_groups._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_groups._copy_on_write_map$_map, t10, new_group); - } - return design.rebuild$1(new V.helix_remove_all_selected_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); + _$$DesignSideProps$JsMap$(backingMap) { + var t1 = new A._$$DesignSideProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, null, null, null, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - remove_helix_assuming_no_domains: function(helices, action) { - return helices.rebuild$1(new V.remove_helix_assuming_no_domains_closure(action)); + ConnectedDesignSide_closure: function ConnectedDesignSide_closure() { }, - remove_helices_assuming_no_domains: function(helices, helix_idxs) { - return helices.rebuild$1(new V.remove_helices_assuming_no_domains_closure(helix_idxs)); + DesignSideProps: function DesignSideProps() { }, - helix_grid_change_reducer: function(helices, state, action) { - var t1, t2, new_helices, t3, geometry, t4, t5, t6, t7, helix, helix_builder, t8, t9, t10, position_normalized_diameter_1, gp; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_GridChange._as(action); - t1 = helices._map$_map; - t2 = H._instanceType(helices); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - new_helices = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - t3 = state.design; - geometry = t3.geometry; - for (t3 = J.get$iterator$ax(J.$index$asx(t3.get$helix_idxs_in_group()._map$_map, action.group_name)._list), t4 = t2._rest[0], t2 = t2._rest[1], t5 = action.grid, t6 = J.getInterceptor$asx(t1); t3.moveNext$0();) { - t7 = t3.get$current(t3); - helix = t6.$index(t1, t7); - helix.toString; - helix_builder = new O.HelixBuilder(); - helix_builder.get$_helix$_$this()._group = "default_group"; - helix_builder.get$_helix$_$this()._min_offset = 0; - helix_builder.get$_helix$_$this()._roll = 0; - helix_builder._helix$_$v = helix; - helix_builder.get$_helix$_$this()._grid = t5; - t5.toString; - t8 = t5 === C.Grid_none; - if (!t8 && helix.grid_position == null) { - t9 = helix.position_; - if (t9 == null) - t9 = E.grid_position_to_position3d(helix.grid_position, helix.grid, helix.geometry); - t10 = geometry.__distance_between_helices_nm; - t10 = 1 / (t10 == null ? geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t10); - position_normalized_diameter_1 = X.Position3D_Position3D(t9.x * t10, t9.y * t10, t9.z * t10); - gp = E.position_2d_to_grid_position_diameter_1_circles(t5, position_normalized_diameter_1.z, position_normalized_diameter_1.y, C.HexGridCoordinateSystem_2); - t10 = new D.GridPositionBuilder(); - t10._grid_position$_$v = gp; - helix_builder.get$_helix$_$this()._grid_position = t10; - helix_builder.get$_helix$_$this()._position_ = null; - } - if (t8 && helix.position_ == null) { - helix_builder.get$_helix$_$this()._grid_position = null; - t8 = E.grid_position_to_position3d(helix.grid_position, helix.grid, geometry); - t9 = new X.Position3DBuilder(); - t9._position3d$_$v = t8; - helix_builder.get$_helix$_$this()._position_ = t9; - } - t8 = helix_builder.build$0(); - t4._as(t7); - t2._as(t8); - new_helices._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_helices._copy_on_write_map$_map, t7, t8); - } - return A.BuiltMap_BuiltMap$of(new_helices, type$.legacy_int, type$.legacy_Helix); + DesignSideComponent: function DesignSideComponent() { }, - relax_helix_rolls_reducer: function(helices, state, action) { - var helix_idxs_to_relax, t1, t2, new_helices_map, t3, t4, helix, t5, t6, helix_relaxed; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - helix_idxs_to_relax = type$.legacy_RelaxHelixRolls._as(action).only_selected ? state.ui_state.storables.side_selected_helix_idxs : state.design.get$helix_idxs(); - t1 = helices._map$_map; - t2 = H._instanceType(helices); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - new_helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = helix_idxs_to_relax.get$iterator(helix_idxs_to_relax), t3 = t2._rest[0], t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - helix = J.$index$asx(new_helices_map._copy_on_write_map$_map, t4); - t5 = state.design; - t6 = t5.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup; - if (t6 == null) { - t6 = N.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup.call(t5); - t5.set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup(t6); - t5 = t6; - } else - t5 = t6; - helix_relaxed = helix.relax_roll$2(helices, J.$index$asx(t5._map$_map, t4)); - t3._as(t4); - t2._as(helix_relaxed); - new_helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_helices_map._copy_on_write_map$_map, t4, helix_relaxed); - } - return A.BuiltMap_BuiltMap$of(new_helices_map, type$.legacy_int, type$.legacy_Helix); + DesignSideComponent_render_closure: function DesignSideComponent_render_closure() { }, - helix_group_change_reducer: function(helices, state, action) { - var t1; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - t1 = type$.legacy_Helix; - return N.BuiltMapValues_map_values(helices, new V.helix_group_change_reducer_closure(type$.legacy_GroupChange._as(action)), type$.legacy_int, t1, t1); - }, - helix_individual_grid_position_set_reducer: function(helix, action) { - return helix.rebuild$1(new V.helix_individual_grid_position_set_reducer_closure(action)); - }, - helix_grid_position_set_reducer: function(helices, state, action) { - var t1, t2, helix, new_helix, t3, helices_map; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixGridPositionSet._as(action); - t1 = action.helix.idx; - t2 = helices._map$_map; - helix = J.$index$asx(t2, t1); - new_helix = V.helix_individual_grid_position_set_reducer(helix, action); - if (!J.$eq$(new_helix, helix)) { - t3 = H._instanceType(helices); - t3._eval$1("_BuiltMap<1,2>")._as(helices); - helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); - helices_map.$indexSet(0, t1, new_helix); - return helices_map.build$0(); - } else - return helices; + $DesignSideComponentFactory_closure: function $DesignSideComponentFactory_closure() { }, - helix_individual_position_set_reducer: function(helix, action) { - return helix.rebuild$1(new V.helix_individual_position_set_reducer_closure(action)); + _$$DesignSideProps: function _$$DesignSideProps() { }, - helix_position_set_reducer: function(helices, state, action) { - var t1, t2, helix, new_helix, t3, helices_map; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_AppState._as(state); - type$.legacy_HelixPositionSet._as(action); - t1 = action.helix_idx; - t2 = helices._map$_map; - helix = J.$index$asx(t2, t1); - new_helix = V.helix_individual_position_set_reducer(helix, action); - if (!J.$eq$(new_helix, helix)) { - t3 = H._instanceType(helices); - t3._eval$1("_BuiltMap<1,2>")._as(helices); - helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); - helices_map.$indexSet(0, t1, new_helix); - return helices_map.build$0(); - } else - return helices; + _$$DesignSideProps$PlainMap: function _$$DesignSideProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_side$_props = t0; + _.DesignSideProps___DesignSideProps_helices_A = t1; + _.DesignSideProps___DesignSideProps_helix_idxs_selected_A = t2; + _.DesignSideProps___DesignSideProps_rotation_datas_A = t3; + _.DesignSideProps___DesignSideProps_edit_modes_A = t4; + _.DesignSideProps___DesignSideProps_geometry_A = t5; + _.DesignSideProps_slice_bar_offset = t6; + _.DesignSideProps_mouse_svg_pos = t7; + _.DesignSideProps_grid_position_mouse_cursor = t8; + _.DesignSideProps___DesignSideProps_invert_y_A = t9; + _.DesignSideProps___DesignSideProps_helix_change_apply_to_all_A = t10; + _.DesignSideProps___DesignSideProps_show_grid_coordinates_A = t11; + _.DesignSideProps___DesignSideProps_displayed_group_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - move_helices_to_group_helices_reducer: function(helices, action) { - var t1, t2, helices_map, t3, t4, t5, helix, t6, t7, new_helix; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_MoveHelicesToGroup._as(action); - t1 = helices._map$_map; - t2 = H._instanceType(helices); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = J.get$iterator$ax(action.helix_idxs._list), t3 = t2._rest[0], t2 = t2._rest[1], t4 = type$.legacy_void_Function_legacy_HelixBuilder; t1.moveNext$0();) { - t5 = t1.get$current(t1); - helix = J.$index$asx(helices_map._copy_on_write_map$_map, t5); - helix.toString; - t6 = t4._as(new V.move_helices_to_group_helices_reducer_closure(action)); - t7 = new O.HelixBuilder(); - t7.get$_helix$_$this()._group = "default_group"; - t7.get$_helix$_$this()._min_offset = 0; - t7.get$_helix$_$this()._roll = 0; - t7._helix$_$v = helix; - t6.call$1(t7); - new_helix = t7.build$0(); - t3._as(t5); - t2._as(new_helix); - helices_map._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(helices_map._copy_on_write_map$_map, t5, new_helix); - } - return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + _$$DesignSideProps$JsMap: function _$$DesignSideProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_side$_props = t0; + _.DesignSideProps___DesignSideProps_helices_A = t1; + _.DesignSideProps___DesignSideProps_helix_idxs_selected_A = t2; + _.DesignSideProps___DesignSideProps_rotation_datas_A = t3; + _.DesignSideProps___DesignSideProps_edit_modes_A = t4; + _.DesignSideProps___DesignSideProps_geometry_A = t5; + _.DesignSideProps_slice_bar_offset = t6; + _.DesignSideProps_mouse_svg_pos = t7; + _.DesignSideProps_grid_position_mouse_cursor = t8; + _.DesignSideProps___DesignSideProps_invert_y_A = t9; + _.DesignSideProps___DesignSideProps_helix_change_apply_to_all_A = t10; + _.DesignSideProps___DesignSideProps_show_grid_coordinates_A = t11; + _.DesignSideProps___DesignSideProps_displayed_group_A = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t13; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t14; }, - helix_idx_change_reducer_closure: function helix_idx_change_reducer_closure(t0) { - this.action = t0; + _$DesignSideComponent: function _$DesignSideComponent(t0) { + var _ = this; + _.___$DesignSideComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - helix_idx_change_reducer_closure0: function helix_idx_change_reducer_closure0(t0) { - this.new_idx = t0; - }, - helix_idx_change_reducer_closure1: function helix_idx_change_reducer_closure1(t0) { - this.new_idx = t0; - }, - helix_idx_change_reducer_closure2: function helix_idx_change_reducer_closure2(t0) { - this.substrands = t0; - }, - helix_idx_change_reducer_closure3: function helix_idx_change_reducer_closure3(t0, t1, t2) { - this.new_groups = t0; - this.helices = t1; - this.strands = t2; - }, - change_groups_closure: function change_groups_closure(t0) { - this.helices_view_order_new = t0; - }, - _change_offset_one_helix_closure: function _change_offset_one_helix_closure(t0, t1, t2) { - this.min_offset = t0; - this.helix = t1; - this.max_offset = t2; - }, - helix_offset_change_all_with_moving_strands_reducer_closure: function helix_offset_change_all_with_moving_strands_reducer_closure(t0) { - this.action = t0; - }, - helix_offset_change_all_with_moving_strands_reducer_map_func: function helix_offset_change_all_with_moving_strands_reducer_map_func(t0) { - this.offsets = t0; - }, - helix_offset_change_all_with_moving_strands_reducer_map_func0: function helix_offset_change_all_with_moving_strands_reducer_map_func0(t0) { - this.offsets = t0; - }, - helix_offset_change_all_while_creating_strand_reducer_closure: function helix_offset_change_all_while_creating_strand_reducer_closure(t0) { - this.action = t0; - }, - helix_offset_change_all_while_creating_strand_reducer_closure0: function helix_offset_change_all_while_creating_strand_reducer_closure0(t0) { - this.action = t0; - }, - helix_offset_change_all_while_creating_strand_reducer_closure1: function helix_offset_change_all_while_creating_strand_reducer_closure1(t0) { - this.action = t0; - }, - helix_offset_change_all_while_creating_strand_reducer_closure2: function helix_offset_change_all_while_creating_strand_reducer_closure2(t0) { - this.action = t0; - }, - first_replace_strands_reducer_closure: function first_replace_strands_reducer_closure(t0, t1) { - this.min_offsets = t0; - this.helix_idx = t1; - }, - first_replace_strands_reducer_closure0: function first_replace_strands_reducer_closure0(t0, t1) { - this.max_offsets = t0; - this.helix_idx = t1; - }, - reset_helices_offsets_closure: function reset_helices_offsets_closure(t0, t1) { - this.original_helix_offsets = t0; - this.idx = t1; - }, - reset_helices_offsets_closure0: function reset_helices_offsets_closure0(t0, t1) { - this.original_helix_offsets = t0; - this.idx = t1; - }, - helix_offset_change_all_reducer_map_func: function helix_offset_change_all_reducer_map_func(t0) { - this.action = t0; - }, - _min_offset_set_by_domains_one_helix_closure: function _min_offset_set_by_domains_one_helix_closure(t0) { - this.min_offset = t0; - }, - _max_offset_set_by_domains_one_helix_closure: function _max_offset_set_by_domains_one_helix_closure(t0) { - this.max_offset = t0; - }, - helix_min_offset_set_by_domains_all_reducer_map_func: function helix_min_offset_set_by_domains_all_reducer_map_func(t0) { - this.state = t0; - }, - helix_max_offset_set_by_domains_all_reducer_map_func: function helix_max_offset_set_by_domains_all_reducer_map_func(t0) { - this.state = t0; - }, - helix_max_offset_set_by_domains_all_same_max_reducer_closure: function helix_max_offset_set_by_domains_all_same_max_reducer_closure(t0) { - this._box_0 = t0; - }, - helix_max_offset_set_by_domains_all_same_max_reducer__closure: function helix_max_offset_set_by_domains_all_same_max_reducer__closure(t0) { - this._box_0 = t0; - }, - helix_major_tick_distance_change_all_reducer_closure: function helix_major_tick_distance_change_all_reducer_closure(t0) { - this.action = t0; - }, - helix_major_ticks_change_all_reducer_closure: function helix_major_ticks_change_all_reducer_closure(t0) { - this.action = t0; - }, - helix_major_tick_start_change_all_reducer_closure: function helix_major_tick_start_change_all_reducer_closure(t0) { - this.action = t0; - }, - helix_major_tick_periodic_distances_change_all_reducer_closure: function helix_major_tick_periodic_distances_change_all_reducer_closure(t0) { - this.action = t0; - }, - _change_major_tick_distance_one_helix_closure: function _change_major_tick_distance_one_helix_closure(t0) { - this.major_tick_distance = t0; + $DesignSideProps: function $DesignSideProps() { }, - _change_major_tick_start_one_helix_closure: function _change_major_tick_start_one_helix_closure(t0) { - this.major_tick_start = t0; + _DesignSideComponent_UiComponent2_PureComponent: function _DesignSideComponent_UiComponent2_PureComponent() { }, - _change_major_tick_periodic_distances_one_helix_closure: function _change_major_tick_periodic_distances_one_helix_closure(t0) { - this.major_tick_periodic_distances = t0; + __$$DesignSideProps_UiProps_DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps() { }, - _change_major_ticks_one_helix_closure: function _change_major_ticks_one_helix_closure(t0) { - this.major_ticks = t0; + __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps() { }, - helix_roll_set_reducer_closure: function helix_roll_set_reducer_closure(t0) { - this.action = t0; + _$DesignSideHelix(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignSideHelixProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignSideHelixProps__$$DesignSideHelixProps(backingProps); }, - helix_roll_set_at_other_reducer_closure: function helix_roll_set_at_other_reducer_closure(t0) { - this.new_roll = t0; + _$$DesignSideHelixProps__$$DesignSideHelixProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignSideHelixProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignSideHelixProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, $, $, $, $, $, $, null, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side_helix$_props = backingMap; + return t1; + } }, - helix_add_design_reducer_closure: function helix_add_design_reducer_closure(t0) { - this.new_helices_view_order = t0; + _$$DesignSideHelixProps$JsMap$(backingMap) { + var t1 = new A._$$DesignSideHelixProps$JsMap(new A.JsBackedMap({}), $, null, $, $, $, $, $, $, null, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side_helix$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - helix_add_design_reducer_closure0: function helix_add_design_reducer_closure0(t0, t1) { - this.new_helices = t0; - this.new_groups = t1; + DesignSideHelixProps: function DesignSideHelixProps() { }, - helix_remove_design_global_reducer_closure: function helix_remove_design_global_reducer_closure(t0) { - this.new_helices_view_order = t0; + DesignSideHelixComponent: function DesignSideHelixComponent() { }, - helix_remove_design_global_reducer_closure0: function helix_remove_design_global_reducer_closure0(t0, t1, t2) { - this.new_helices = t0; - this.new_groups = t1; - this.strands_with_substrands_removed = t2; + DesignSideHelixComponent_render_closure: function DesignSideHelixComponent_render_closure(t0) { + this.$this = t0; }, - helix_remove_all_selected_design_global_reducer_closure: function helix_remove_all_selected_design_global_reducer_closure(t0) { - this.new_helices_view_order = t0; + DesignSideHelixComponent_render_closure0: function DesignSideHelixComponent_render_closure0(t0) { + this.$this = t0; }, - helix_remove_all_selected_design_global_reducer_closure0: function helix_remove_all_selected_design_global_reducer_closure0(t0, t1, t2) { - this.new_helices = t0; - this.new_groups = t1; - this.strands_with_substrands_removed = t2; + $DesignSideHelixComponentFactory_closure: function $DesignSideHelixComponentFactory_closure() { }, - remove_helix_assuming_no_domains_closure: function remove_helix_assuming_no_domains_closure(t0) { - this.action = t0; + _$$DesignSideHelixProps: function _$$DesignSideHelixProps() { }, - remove_helices_assuming_no_domains_closure: function remove_helices_assuming_no_domains_closure(t0) { - this.helix_idxs = t0; + _$$DesignSideHelixProps$PlainMap: function _$$DesignSideHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_side_helix$_props = t0; + _.DesignSideHelixProps___DesignSideHelixProps_helix_A = t1; + _.DesignSideHelixProps_slice_bar_offset = t2; + _.DesignSideHelixProps___DesignSideHelixProps_selected_A = t3; + _.DesignSideHelixProps___DesignSideHelixProps_mouse_is_over_A = t4; + _.DesignSideHelixProps___DesignSideHelixProps_helix_change_apply_to_all_A = t5; + _.DesignSideHelixProps___DesignSideHelixProps_show_grid_coordinates_A = t6; + _.DesignSideHelixProps___DesignSideHelixProps_invert_y_A = t7; + _.DesignSideHelixProps___DesignSideHelixProps_grid_A = t8; + _.DesignSideHelixProps_rotation_data = t9; + _.DesignSideHelixProps___DesignSideHelixProps_edit_modes_A = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t11; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t12; }, - remove_helices_assuming_no_domains__closure: function remove_helices_assuming_no_domains__closure(t0) { - this.helix_idxs = t0; + _$$DesignSideHelixProps$JsMap: function _$$DesignSideHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_side_helix$_props = t0; + _.DesignSideHelixProps___DesignSideHelixProps_helix_A = t1; + _.DesignSideHelixProps_slice_bar_offset = t2; + _.DesignSideHelixProps___DesignSideHelixProps_selected_A = t3; + _.DesignSideHelixProps___DesignSideHelixProps_mouse_is_over_A = t4; + _.DesignSideHelixProps___DesignSideHelixProps_helix_change_apply_to_all_A = t5; + _.DesignSideHelixProps___DesignSideHelixProps_show_grid_coordinates_A = t6; + _.DesignSideHelixProps___DesignSideHelixProps_invert_y_A = t7; + _.DesignSideHelixProps___DesignSideHelixProps_grid_A = t8; + _.DesignSideHelixProps_rotation_data = t9; + _.DesignSideHelixProps___DesignSideHelixProps_edit_modes_A = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t11; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t12; }, - helix_group_change_reducer_closure: function helix_group_change_reducer_closure(t0) { - this.action = t0; + _$DesignSideHelixComponent: function _$DesignSideHelixComponent(t0) { + var _ = this; + _.___$DesignSideHelixComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - helix_group_change_reducer__closure: function helix_group_change_reducer__closure(t0) { - this.action = t0; + $DesignSideHelixProps: function $DesignSideHelixProps() { }, - helix_individual_grid_position_set_reducer_closure: function helix_individual_grid_position_set_reducer_closure(t0) { - this.action = t0; + _DesignSideHelixComponent_UiComponent2_PureComponent: function _DesignSideHelixComponent_UiComponent2_PureComponent() { }, - helix_individual_position_set_reducer_closure: function helix_individual_position_set_reducer_closure(t0) { - this.action = t0; + __$$DesignSideHelixProps_UiProps_DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps() { }, - move_helices_to_group_helices_reducer_closure: function move_helices_to_group_helices_reducer_closure(t0) { - this.action = t0; + __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps() { }, - DesignSideRotationParams_DesignSideRotationParams: function(helix_idx, offset) { - var t1 = new V.DesignSideRotationParamsBuilder(); - type$.legacy_void_Function_legacy_DesignSideRotationParamsBuilder._as(new V.DesignSideRotationParams_DesignSideRotationParams_closure(helix_idx, offset)).call$1(t1); - return t1.build$0(); + _$DesignSidePotentialHelix(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignSidePotentialHelixProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps(backingProps); }, - DesignSideRotationData_from_params: function(design, params) { - var t1, _i, param, helix_idx, offset, color_forward, helix, roll_forward, t2, color_reverse, num_domains_found, t3, t4, strand, color_forward0, - design_side_rotation_datas_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DesignSideRotationData); - for (t1 = params.length, _i = 0; _i < params.length; params.length === t1 || (0, H.throwConcurrentModificationError)(params), ++_i) { - param = params[_i]; - helix_idx = param.helix_idx; - offset = param.offset; - color_forward = $.$get$color_forward_rotation_arrow_no_strand(); - helix = J.$index$asx(design.helices._map$_map, helix_idx); - roll_forward = design.helix_rotation_forward$2(helix.idx, offset); - for (t2 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0; t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t3.start <= offset && offset < t3.end) { - ++num_domains_found; - t4 = design.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(design); - design.set$__substrand_to_strand(t4); - } - strand = J.$index$asx(t4._map$_map, t3); - t4 = t3.forward; - color_forward0 = t3.color; - if (t4) - color_forward = color_forward0 == null ? strand.color : color_forward0; - else - color_reverse = color_forward0 == null ? strand.color : color_forward0; - } - if (num_domains_found >= 2) - break; - } - C.JSArray_methods.add$1(design_side_rotation_datas_builder, V.DesignSideRotationData_DesignSideRotationData(helix, offset, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); + _$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignSidePotentialHelixProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignSidePotentialHelixProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, null, null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side_potential_helix$_props = backingMap; + return t1; } - return design_side_rotation_datas_builder; - }, - DesignSideRotationData_DesignSideRotationData: function(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle) { - var t1 = new V.DesignSideRotationDataBuilder(); - type$.legacy_void_Function_legacy_DesignSideRotationDataBuilder._as(new V.DesignSideRotationData_DesignSideRotationData_closure(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); - return t1.build$0(); - }, - DesignSideRotationParams: function DesignSideRotationParams() { }, - DesignSideRotationParams_DesignSideRotationParams_closure: function DesignSideRotationParams_DesignSideRotationParams_closure(t0, t1) { - this.helix_idx = t0; - this.offset = t1; - }, - DesignSideRotationData: function DesignSideRotationData() { - }, - DesignSideRotationData_DesignSideRotationData_closure: function DesignSideRotationData_DesignSideRotationData_closure(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.helix = t0; - _.offset = t1; - _.color_forward = t2; - _.color_reverse = t3; - _.roll_forward = t4; - _.minor_groove_angle = t5; + _$$DesignSidePotentialHelixProps$JsMap$(backingMap) { + var t1 = new A._$$DesignSidePotentialHelixProps$JsMap(new A.JsBackedMap({}), $, null, null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_side_potential_helix$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _$DesignSideRotationParamsSerializer: function _$DesignSideRotationParamsSerializer() { + DesignSidePotentialHelixProps: function DesignSidePotentialHelixProps() { }, - _$DesignSideRotationDataSerializer: function _$DesignSideRotationDataSerializer() { + DesignSidePotentialHelixComponent: function DesignSidePotentialHelixComponent() { }, - _$DesignSideRotationParams: function _$DesignSideRotationParams(t0, t1) { - this.helix_idx = t0; - this.offset = t1; - this._design_side_rotation_data$__hashCode = null; + $DesignSidePotentialHelixComponentFactory_closure: function $DesignSidePotentialHelixComponentFactory_closure() { }, - DesignSideRotationParamsBuilder: function DesignSideRotationParamsBuilder() { - this._design_side_rotation_data$_offset = this._design_side_rotation_data$_helix_idx = this._design_side_rotation_data$_$v = null; + _$$DesignSidePotentialHelixProps: function _$$DesignSidePotentialHelixProps() { }, - _$DesignSideRotationData: function _$DesignSideRotationData(t0, t1, t2, t3, t4, t5) { + _$$DesignSidePotentialHelixProps$PlainMap: function _$$DesignSidePotentialHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; - _.helix = t0; - _.offset = t1; - _.color_forward = t2; - _.color_reverse = t3; - _.roll_forward = t4; - _.minor_groove_angle = t5; - _._design_side_rotation_data$__hashCode = null; + _._design_side_potential_helix$_props = t0; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_grid_A = t1; + _.DesignSidePotentialHelixProps_grid_position = t2; + _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_invert_y_A = t4; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_geometry_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - DesignSideRotationDataBuilder: function DesignSideRotationDataBuilder() { + _$$DesignSidePotentialHelixProps$JsMap: function _$$DesignSidePotentialHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; - _._design_side_rotation_data$_minor_groove_angle = _._design_side_rotation_data$_roll_forward = _._design_side_rotation_data$_color_reverse = _._design_side_rotation_data$_color_forward = _._design_side_rotation_data$_offset = _._design_side_rotation_data$_helix = _._design_side_rotation_data$_$v = null; - }, - _DesignSideRotationData_Object_BuiltJsonSerializable: function _DesignSideRotationData_Object_BuiltJsonSerializable() { - }, - _DesignSideRotationParams_Object_BuiltJsonSerializable: function _DesignSideRotationParams_Object_BuiltJsonSerializable() { - }, - DomainsMove_DomainsMove: function(all_domains, domains_moving, groups, helices, original_address, original_helices_view_order_inverse, strands_with_domains_moving) { - var t2, t3, t4, t5, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - for (t2 = J.get$iterator$ax(all_domains._list), t3 = domains_moving._list, t4 = J.getInterceptor$asx(t3); t2.moveNext$0();) { - t5 = t2.get$current(t2); - if (!t4.contains$1(t3, t5)) - t1.push(t5); - } - t2 = new V.DomainsMoveBuilder(); - type$.legacy_void_Function_legacy_DomainsMoveBuilder._as(new V.DomainsMove_DomainsMove_closure(domains_moving, t1, strands_with_domains_moving, helices, groups, original_helices_view_order_inverse, original_address, false, true)).call$1(t2); - return t2.build$0(); - }, - DomainsMove: function DomainsMove() { + _._design_side_potential_helix$_props = t0; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_grid_A = t1; + _.DesignSidePotentialHelixProps_grid_position = t2; + _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_invert_y_A = t4; + _.DesignSidePotentialHelixProps___DesignSidePotentialHelixProps_geometry_A = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - DomainsMove_DomainsMove_closure: function DomainsMove_DomainsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$DesignSidePotentialHelixComponent: function _$DesignSidePotentialHelixComponent(t0) { var _ = this; - _.domains_moving = t0; - _.domains_fixed = t1; - _.strands_with_domains_moving = t2; - _.helices = t3; - _.groups = t4; - _.original_helices_view_order_inverse = t5; - _.original_address = t6; - _.copy = t7; - _.keep_color = t8; - }, - _$DomainsMoveSerializer: function _$DomainsMoveSerializer() { + _.___$DesignSidePotentialHelixComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$DomainsMove: function _$DomainsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { - var _ = this; - _.domains_moving = t0; - _.domains_fixed = t1; - _.helices = t2; - _.groups = t3; - _.strands_with_domains_moving = t4; - _.original_helices_view_order_inverse = t5; - _.original_address = t6; - _.current_address = t7; - _.allowable = t8; - _.copy = t9; - _.keep_color = t10; - _._domains_move$__hashCode = _.__domains_moving_from_strand = _.__domains_fixed_on_helix = _.__domains_moving_on_helix = null; + $DesignSidePotentialHelixProps: function $DesignSidePotentialHelixProps() { }, - DomainsMoveBuilder: function DomainsMoveBuilder() { - var _ = this; - _._keep_color = _._copy = _._allowable = _._current_address = _._original_address = _._original_helices_view_order_inverse = _._strands_with_domains_moving = _._domains_move$_groups = _._domains_move$_helices = _._domains_fixed = _._domains_moving = _._domains_move$_$v = null; + __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps() { }, - _DomainsMove_Object_BuiltJsonSerializable: function _DomainsMove_Object_BuiltJsonSerializable() { + __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps() { }, - _$DesignFooter: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? V._$$DesignFooterProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignFooterProps__$$DesignFooterProps(backingProps); + _$DesignSideRotation(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignSideRotationProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignSideRotationProps__$$DesignSideRotationProps(backingProps); }, - _$$DesignFooterProps__$$DesignFooterProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return V._$$DesignFooterProps$JsMap$(backingMap); + _$$DesignSideRotationProps__$$DesignSideRotationProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignSideRotationProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new V._$$DesignFooterProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); + t1 = new A._$$DesignSideRotationProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_footer$_props = backingMap; + t1._design_side_rotation$_props = backingMap; return t1; } }, - _$$DesignFooterProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new V._$$DesignFooterProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + _$$DesignSideRotationProps$JsMap$(backingMap) { + var t1 = new A._$$DesignSideRotationProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_footer$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_side_rotation$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - ConnectedDesignFooter_closure: function ConnectedDesignFooter_closure() { - }, - DesignFooterProps: function DesignFooterProps() { + DesignSideRotationProps: function DesignSideRotationProps() { }, - DesignFooterComponent: function DesignFooterComponent() { + DesignSideRotationComponent: function DesignSideRotationComponent() { }, - $DesignFooterComponentFactory_closure: function $DesignFooterComponentFactory_closure() { + $DesignSideRotationComponentFactory_closure: function $DesignSideRotationComponentFactory_closure() { }, - _$$DesignFooterProps: function _$$DesignFooterProps() { + _$$DesignSideRotationProps: function _$$DesignSideRotationProps() { }, - _$$DesignFooterProps$PlainMap: function _$$DesignFooterProps$PlainMap(t0, t1, t2, t3, t4, t5) { + _$$DesignSideRotationProps$PlainMap: function _$$DesignSideRotationProps$PlainMap(t0, t1, t2, t3, t4, t5) { var _ = this; - _._design_footer$_props = t0; - _.DesignFooterProps_mouseover_datas = t1; - _.DesignFooterProps_strand_first_mouseover_data = t2; - _.DesignFooterProps_loaded_filename = t3; + _._design_side_rotation$_props = t0; + _.DesignSideRotationProps___DesignSideRotationProps_radius_A = t1; + _.DesignSideRotationProps___DesignSideRotationProps_data_A = t2; + _.DesignSideRotationProps___DesignSideRotationProps_invert_y_A = t3; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _$$DesignFooterProps$JsMap: function _$$DesignFooterProps$JsMap(t0, t1, t2, t3, t4, t5) { + _$$DesignSideRotationProps$JsMap: function _$$DesignSideRotationProps$JsMap(t0, t1, t2, t3, t4, t5) { var _ = this; - _._design_footer$_props = t0; - _.DesignFooterProps_mouseover_datas = t1; - _.DesignFooterProps_strand_first_mouseover_data = t2; - _.DesignFooterProps_loaded_filename = t3; + _._design_side_rotation$_props = t0; + _.DesignSideRotationProps___DesignSideRotationProps_radius_A = t1; + _.DesignSideRotationProps___DesignSideRotationProps_data_A = t2; + _.DesignSideRotationProps___DesignSideRotationProps_invert_y_A = t3; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t4; - _.UbiquitousDomPropsMixin__dom = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t4; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t5; }, - _$DesignFooterComponent: function _$DesignFooterComponent(t0) { + _$DesignSideRotationComponent: function _$DesignSideRotationComponent(t0) { var _ = this; - _._design_footer$_cachedTypedProps = null; + _.___$DesignSideRotationComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignFooterProps: function $DesignFooterProps() { + $DesignSideRotationProps: function $DesignSideRotationProps() { }, - __$$DesignFooterProps_UiProps_DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps() { + _DesignSideRotationComponent_UiComponent2_PureComponent: function _DesignSideRotationComponent_UiComponent2_PureComponent() { }, - __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps() { + __$$DesignSideRotationProps_UiProps_DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps() { + }, + __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps() { }, - _$DesignMain: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? V._$$DesignMainProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainProps__$$DesignMainProps(backingProps); + _$DesignSideRotationArrow(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignSideRotationArrowProps$JsMap$(new A.JsBackedMap({})) : A._$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps(backingProps); }, - _$$DesignMainProps__$$DesignMainProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return V._$$DesignMainProps$JsMap$(backingMap); + _$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$DesignSideRotationArrowProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new V._$$DesignMainProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$DesignSideRotationArrowProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main$_props = backingMap; + t1._design_side_rotation_arrow$_props = backingMap; return t1; } }, - _$$DesignMainProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new V._$$DesignMainProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + _$$DesignSideRotationArrowProps$JsMap$(backingMap) { + var t1 = new A._$$DesignSideRotationArrowProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._design_side_rotation_arrow$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - ConnectedDesignMain_closure: function ConnectedDesignMain_closure() { - }, - DesignMainPropsMixin: function DesignMainPropsMixin() { - }, - DesignMainComponent: function DesignMainComponent() { - }, - DesignMainComponent_render_closure: function DesignMainComponent_render_closure() { - }, - DesignMainComponent_render_closure0: function DesignMainComponent_render_closure0() { - }, - DesignMainComponent_render_closure1: function DesignMainComponent_render_closure1() { - }, - DesignMainComponent_render_closure2: function DesignMainComponent_render_closure2() { - }, - DesignMainComponent_render_closure3: function DesignMainComponent_render_closure3() { - }, - DesignMainComponent_render_closure4: function DesignMainComponent_render_closure4() { + DesignSideRotationArrowProps: function DesignSideRotationArrowProps() { }, - DesignMainComponent_render_closure5: function DesignMainComponent_render_closure5() { + DesignSideRotationArrowComponent: function DesignSideRotationArrowComponent() { }, - $DesignMainComponentFactory_closure: function $DesignMainComponentFactory_closure() { + $DesignSideRotationArrowComponentFactory_closure: function $DesignSideRotationArrowComponentFactory_closure() { }, - _$$DesignMainProps: function _$$DesignMainProps() { + _$$DesignSideRotationArrowProps: function _$$DesignSideRotationArrowProps() { }, - _$$DesignMainProps$PlainMap: function _$$DesignMainProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46) { + _$$DesignSideRotationArrowProps$PlainMap: function _$$DesignSideRotationArrowProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._design_main$_props = t0; - _.DesignMainPropsMixin_design = t1; - _.DesignMainPropsMixin_potential_vertical_crossovers = t2; - _.DesignMainPropsMixin_side_selected_helix_idxs = t3; - _.DesignMainPropsMixin_edit_modes = t4; - _.DesignMainPropsMixin_strands_move = t5; - _.DesignMainPropsMixin_strand_creation = t6; - _.DesignMainPropsMixin_has_error = t7; - _.DesignMainPropsMixin_show_mismatches = t8; - _.DesignMainPropsMixin_show_domain_name_mismatches = t9; - _.DesignMainPropsMixin_show_unpaired_insertion_deletions = t10; - _.DesignMainPropsMixin_show_dna = t11; - _.DesignMainPropsMixin_base_pair_display_type = t12; - _.DesignMainPropsMixin_show_base_pair_lines = t13; - _.DesignMainPropsMixin_show_base_pair_lines_with_mismatches = t14; - _.DesignMainPropsMixin_show_domain_names = t15; - _.DesignMainPropsMixin_show_strand_names = t16; - _.DesignMainPropsMixin_domain_label_font_size = t17; - _.DesignMainPropsMixin_major_tick_offset_font_size = t18; - _.DesignMainPropsMixin_major_tick_width_font_size = t19; - _.DesignMainPropsMixin_drawing_potential_crossover = t20; - _.DesignMainPropsMixin_dna_sequence_png_uri = t21; - _.DesignMainPropsMixin_dna_sequence_png_horizontal_offset = t22; - _.DesignMainPropsMixin_dna_sequence_png_vertical_offset = t23; - _.DesignMainPropsMixin_export_svg_action_delayed_for_png_cache = t24; - _.DesignMainPropsMixin_is_zoom_above_threshold = t25; - _.DesignMainPropsMixin_only_display_selected_helices = t26; - _.DesignMainPropsMixin_helix_change_apply_to_all = t27; - _.DesignMainPropsMixin_display_base_offsets_of_major_ticks = t28; - _.DesignMainPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t29; - _.DesignMainPropsMixin_display_major_tick_widths = t30; - _.DesignMainPropsMixin_display_major_tick_widths_all_helices = t31; - _.DesignMainPropsMixin_show_helix_circles = t32; - _.DesignMainPropsMixin_show_helix_components = t33; - _.DesignMainPropsMixin_helix_group_is_moving = t34; - _.DesignMainPropsMixin_show_loopout_extension_length = t35; - _.DesignMainPropsMixin_show_slice_bar = t36; - _.DesignMainPropsMixin_slice_bar_offset = t37; - _.DesignMainPropsMixin_displayed_group_name = t38; - _.DesignMainPropsMixin_selection_rope = t39; - _.DesignMainPropsMixin_disable_png_caching_dna_sequences = t40; - _.DesignMainPropsMixin_retain_strand_color_on_selection = t41; - _.DesignMainPropsMixin_display_reverse_DNA_right_side_up = t42; - _.DesignMainPropsMixin_helix_idx_to_svg_position_map = t43; - _.DesignMainPropsMixin_invert_y = t44; + _._design_side_rotation_arrow$_props = t0; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_angle_degrees_A = t1; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_radius_A = t2; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_color_A = t3; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_invert_y_A = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t45; - _.UbiquitousDomPropsMixin__dom = t46; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$$DesignMainProps$JsMap: function _$$DesignMainProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46) { + _$$DesignSideRotationArrowProps$JsMap: function _$$DesignSideRotationArrowProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._design_main$_props = t0; - _.DesignMainPropsMixin_design = t1; - _.DesignMainPropsMixin_potential_vertical_crossovers = t2; - _.DesignMainPropsMixin_side_selected_helix_idxs = t3; - _.DesignMainPropsMixin_edit_modes = t4; - _.DesignMainPropsMixin_strands_move = t5; - _.DesignMainPropsMixin_strand_creation = t6; - _.DesignMainPropsMixin_has_error = t7; - _.DesignMainPropsMixin_show_mismatches = t8; - _.DesignMainPropsMixin_show_domain_name_mismatches = t9; - _.DesignMainPropsMixin_show_unpaired_insertion_deletions = t10; - _.DesignMainPropsMixin_show_dna = t11; - _.DesignMainPropsMixin_base_pair_display_type = t12; - _.DesignMainPropsMixin_show_base_pair_lines = t13; - _.DesignMainPropsMixin_show_base_pair_lines_with_mismatches = t14; - _.DesignMainPropsMixin_show_domain_names = t15; - _.DesignMainPropsMixin_show_strand_names = t16; - _.DesignMainPropsMixin_domain_label_font_size = t17; - _.DesignMainPropsMixin_major_tick_offset_font_size = t18; - _.DesignMainPropsMixin_major_tick_width_font_size = t19; - _.DesignMainPropsMixin_drawing_potential_crossover = t20; - _.DesignMainPropsMixin_dna_sequence_png_uri = t21; - _.DesignMainPropsMixin_dna_sequence_png_horizontal_offset = t22; - _.DesignMainPropsMixin_dna_sequence_png_vertical_offset = t23; - _.DesignMainPropsMixin_export_svg_action_delayed_for_png_cache = t24; - _.DesignMainPropsMixin_is_zoom_above_threshold = t25; - _.DesignMainPropsMixin_only_display_selected_helices = t26; - _.DesignMainPropsMixin_helix_change_apply_to_all = t27; - _.DesignMainPropsMixin_display_base_offsets_of_major_ticks = t28; - _.DesignMainPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t29; - _.DesignMainPropsMixin_display_major_tick_widths = t30; - _.DesignMainPropsMixin_display_major_tick_widths_all_helices = t31; - _.DesignMainPropsMixin_show_helix_circles = t32; - _.DesignMainPropsMixin_show_helix_components = t33; - _.DesignMainPropsMixin_helix_group_is_moving = t34; - _.DesignMainPropsMixin_show_loopout_extension_length = t35; - _.DesignMainPropsMixin_show_slice_bar = t36; - _.DesignMainPropsMixin_slice_bar_offset = t37; - _.DesignMainPropsMixin_displayed_group_name = t38; - _.DesignMainPropsMixin_selection_rope = t39; - _.DesignMainPropsMixin_disable_png_caching_dna_sequences = t40; - _.DesignMainPropsMixin_retain_strand_color_on_selection = t41; - _.DesignMainPropsMixin_display_reverse_DNA_right_side_up = t42; - _.DesignMainPropsMixin_helix_idx_to_svg_position_map = t43; - _.DesignMainPropsMixin_invert_y = t44; + _._design_side_rotation_arrow$_props = t0; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_angle_degrees_A = t1; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_radius_A = t2; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_color_A = t3; + _.DesignSideRotationArrowProps___DesignSideRotationArrowProps_invert_y_A = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t45; - _.UbiquitousDomPropsMixin__dom = t46; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$DesignMainComponent: function _$DesignMainComponent(t0) { + _$DesignSideRotationArrowComponent: function _$DesignSideRotationArrowComponent(t0) { var _ = this; - _._design_main$_cachedTypedProps = null; + _.___$DesignSideRotationArrowComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $DesignMainPropsMixin: function $DesignMainPropsMixin() { + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - __$$DesignMainProps_UiProps_DesignMainPropsMixin: function __$$DesignMainProps_UiProps_DesignMainPropsMixin() { + $DesignSideRotationArrowProps: function $DesignSideRotationArrowProps() { }, - __$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin: function __$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin() { + __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps() { }, - _$DesignMainBasePairRectangle: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? V._$$DesignMainBasePairRectangleProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps(backingProps); + __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps() { }, - _$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return V._$$DesignMainBasePairRectangleProps$JsMap$(backingMap); + set_edit_and_select_mode_props(elt, state) { + var t2, t3, + t1 = state.maybe_design; + t1 = t1 == null ? null : t1.get$is_origami(); + t2 = state.ui_state.storables; + t3 = t2.edit_modes; + elt.toString; + type$.BuiltSet_EditModeChoice._as(t3); + J.$indexSet$ax(elt.get$props(elt), "EditAndSelectModesProps.edit_modes", t3); + t3 = t2.select_mode_state; + J.$indexSet$ax(elt.get$props(elt), string$.EditAns, t3); + J.$indexSet$ax(elt.get$props(elt), "EditAndSelectModesProps.is_origami", t1 === true); + t2 = t2.show_edit_mode_menu; + J.$indexSet$ax(elt.get$props(elt), string$.EditAne, t2); + return elt; + }, + _$EditAndSelectModes(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$EditAndSelectModesProps$JsMap$(new A.JsBackedMap({})) : A._$$EditAndSelectModesProps__$$EditAndSelectModesProps(backingProps); + }, + _$$EditAndSelectModesProps__$$EditAndSelectModesProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$EditAndSelectModesProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new V._$$DesignMainBasePairRectangleProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$EditAndSelectModesProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_base_pair_rectangle$_props = backingMap; + t1._edit_and_select_modes$_props = backingMap; return t1; } }, - _$$DesignMainBasePairRectangleProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new V._$$DesignMainBasePairRectangleProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + _$$EditAndSelectModesProps$JsMap$(backingMap) { + var t1 = new A._$$EditAndSelectModesProps$JsMap(new A.JsBackedMap({}), $, $, $, $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_base_pair_rectangle$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._edit_and_select_modes$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignMainBasePairRectangleProps: function DesignMainBasePairRectangleProps() { + ConnectedEditAndSelectModes_closure: function ConnectedEditAndSelectModes_closure() { }, - DesignMainBasePairRectangleComponent: function DesignMainBasePairRectangleComponent() { + EditAndSelectModesProps: function EditAndSelectModesProps() { }, - $DesignMainBasePairRectangleComponentFactory_closure: function $DesignMainBasePairRectangleComponentFactory_closure() { + EditAndSelectModesComponent: function EditAndSelectModesComponent() { }, - _$$DesignMainBasePairRectangleProps: function _$$DesignMainBasePairRectangleProps() { + EditAndSelectModesComponent_render_closure: function EditAndSelectModesComponent_render_closure() { }, - _$$DesignMainBasePairRectangleProps$PlainMap: function _$$DesignMainBasePairRectangleProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + $EditAndSelectModesComponentFactory_closure: function $EditAndSelectModesComponentFactory_closure() { + }, + _$$EditAndSelectModesProps: function _$$EditAndSelectModesProps() { + }, + _$$EditAndSelectModesProps$PlainMap: function _$$EditAndSelectModesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._design_main_base_pair_rectangle$_props = t0; - _.DesignMainBasePairRectangleProps_with_mismatches = t1; - _.DesignMainBasePairRectangleProps_design = t2; - _.DesignMainBasePairRectangleProps_only_display_selected_helices = t3; - _.DesignMainBasePairRectangleProps_side_selected_helix_idxs = t4; - _.DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map = t5; + _._edit_and_select_modes$_props = t0; + _.EditAndSelectModesProps___EditAndSelectModesProps_edit_modes_A = t1; + _.EditAndSelectModesProps___EditAndSelectModesProps_select_mode_state_A = t2; + _.EditAndSelectModesProps___EditAndSelectModesProps_is_origami_A = t3; + _.EditAndSelectModesProps___EditAndSelectModesProps_edit_mode_menu_visible_A = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$$DesignMainBasePairRectangleProps$JsMap: function _$$DesignMainBasePairRectangleProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + _$$EditAndSelectModesProps$JsMap: function _$$EditAndSelectModesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._design_main_base_pair_rectangle$_props = t0; - _.DesignMainBasePairRectangleProps_with_mismatches = t1; - _.DesignMainBasePairRectangleProps_design = t2; - _.DesignMainBasePairRectangleProps_only_display_selected_helices = t3; - _.DesignMainBasePairRectangleProps_side_selected_helix_idxs = t4; - _.DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map = t5; + _._edit_and_select_modes$_props = t0; + _.EditAndSelectModesProps___EditAndSelectModesProps_edit_modes_A = t1; + _.EditAndSelectModesProps___EditAndSelectModesProps_select_mode_state_A = t2; + _.EditAndSelectModesProps___EditAndSelectModesProps_is_origami_A = t3; + _.EditAndSelectModesProps___EditAndSelectModesProps_edit_mode_menu_visible_A = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t6; - _.UbiquitousDomPropsMixin__dom = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$DesignMainBasePairRectangleComponent: function _$DesignMainBasePairRectangleComponent(t0) { + _$EditAndSelectModesComponent: function _$EditAndSelectModesComponent(t0, t1, t2, t3) { var _ = this; - _._design_main_base_pair_rectangle$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.___$EditAndSelectModesComponent__cachedTypedProps_A = $; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignMainBasePairRectangleProps: function $DesignMainBasePairRectangleProps() { + $EditAndSelectModesProps: function $EditAndSelectModesProps() { }, - _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent: function _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent() { + _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin: function _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin() { }, - __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps() { + __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps() { }, - __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps() { + __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps() { }, - _$DesignMainHelices: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? V._$$DesignMainHelicesProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainHelicesProps__$$DesignMainHelicesProps(backingProps); + _$EditMode(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$EditModeProps$JsMap$(new A.JsBackedMap({})) : A._$$EditModeProps__$$EditModeProps(backingProps); }, - _$$DesignMainHelicesProps__$$DesignMainHelicesProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return V._$$DesignMainHelicesProps$JsMap$(backingMap); + _$$EditModeProps__$$EditModeProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$EditModeProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new V._$$DesignMainHelicesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$EditModeProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_helices$_props = backingMap; + t1._props = backingMap; return t1; } }, - _$$DesignMainHelicesProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new V._$$DesignMainHelicesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + _$$EditModeProps$JsMap$(backingMap) { + var t1 = new A._$$EditModeProps$JsMap(new A.JsBackedMap({}), $, $, $); t1.get$$$isClassGenerated(); - t1._design_main_helices$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - DesignMainHelicesProps: function DesignMainHelicesProps() { + EditModeProps: function EditModeProps() { }, - DesignMainHelicesComponent: function DesignMainHelicesComponent() { + EditModeComponent: function EditModeComponent() { }, - $DesignMainHelicesComponentFactory_closure: function $DesignMainHelicesComponentFactory_closure() { + EditModeComponent__button_for_choice_closure: function EditModeComponent__button_for_choice_closure(t0) { + this.mode = t0; }, - _$$DesignMainHelicesProps: function _$$DesignMainHelicesProps() { + $EditModeComponentFactory_closure: function $EditModeComponentFactory_closure() { }, - _$$DesignMainHelicesProps$PlainMap: function _$$DesignMainHelicesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + _$$EditModeProps: function _$$EditModeProps() { + }, + _$$EditModeProps$PlainMap: function _$$EditModeProps$PlainMap(t0, t1, t2, t3) { var _ = this; - _._design_main_helices$_props = t0; - _.DesignMainHelicesProps_helices = t1; - _.DesignMainHelicesProps_helix_idxs_in_group = t2; - _.DesignMainHelicesProps_groups = t3; - _.DesignMainHelicesProps_side_selected_helix_idxs = t4; - _.DesignMainHelicesProps_major_tick_offset_font_size = t5; - _.DesignMainHelicesProps_major_tick_width_font_size = t6; - _.DesignMainHelicesProps_only_display_selected_helices = t7; - _.DesignMainHelicesProps_helix_change_apply_to_all = t8; - _.DesignMainHelicesProps_show_dna = t9; - _.DesignMainHelicesProps_show_domain_labels = t10; - _.DesignMainHelicesProps_display_base_offsets_of_major_ticks = t11; - _.DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix = t12; - _.DesignMainHelicesProps_display_major_tick_widths = t13; - _.DesignMainHelicesProps_display_major_tick_widths_all_helices = t14; - _.DesignMainHelicesProps_geometry = t15; - _.DesignMainHelicesProps_show_helix_circles = t16; - _.DesignMainHelicesProps_helix_idx_to_svg_position_map = t17; - _.DesignMainHelicesProps_invert_y = t18; + _._props = t0; + _.EditModeProps___EditModeProps_modes_A = t1; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t19; - _.UbiquitousDomPropsMixin__dom = t20; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _$$DesignMainHelicesProps$JsMap: function _$$DesignMainHelicesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + _$$EditModeProps$JsMap: function _$$EditModeProps$JsMap(t0, t1, t2, t3) { var _ = this; - _._design_main_helices$_props = t0; - _.DesignMainHelicesProps_helices = t1; - _.DesignMainHelicesProps_helix_idxs_in_group = t2; - _.DesignMainHelicesProps_groups = t3; - _.DesignMainHelicesProps_side_selected_helix_idxs = t4; - _.DesignMainHelicesProps_major_tick_offset_font_size = t5; - _.DesignMainHelicesProps_major_tick_width_font_size = t6; - _.DesignMainHelicesProps_only_display_selected_helices = t7; - _.DesignMainHelicesProps_helix_change_apply_to_all = t8; - _.DesignMainHelicesProps_show_dna = t9; - _.DesignMainHelicesProps_show_domain_labels = t10; - _.DesignMainHelicesProps_display_base_offsets_of_major_ticks = t11; - _.DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix = t12; - _.DesignMainHelicesProps_display_major_tick_widths = t13; - _.DesignMainHelicesProps_display_major_tick_widths_all_helices = t14; - _.DesignMainHelicesProps_geometry = t15; - _.DesignMainHelicesProps_show_helix_circles = t16; - _.DesignMainHelicesProps_helix_idx_to_svg_position_map = t17; - _.DesignMainHelicesProps_invert_y = t18; + _._props = t0; + _.EditModeProps___EditModeProps_modes_A = t1; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t19; - _.UbiquitousDomPropsMixin__dom = t20; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _$DesignMainHelicesComponent: function _$DesignMainHelicesComponent(t0) { + _$EditModeComponent: function _$EditModeComponent(t0, t1, t2, t3) { var _ = this; - _._design_main_helices$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.___$EditModeComponent__cachedTypedProps_A = $; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - $DesignMainHelicesProps: function $DesignMainHelicesProps() { + $EditModeProps: function $EditModeProps() { }, - _DesignMainHelicesComponent_UiComponent2_PureComponent: function _DesignMainHelicesComponent_UiComponent2_PureComponent() { + _EditModeComponent_UiComponent2_RedrawCounterMixin: function _EditModeComponent_UiComponent2_RedrawCounterMixin() { }, - __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps() { + __$$EditModeProps_UiProps_EditModeProps: function __$$EditModeProps_UiProps_EditModeProps() { }, - __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps() { + __$$EditModeProps_UiProps_EditModeProps_$EditModeProps: function __$$EditModeProps_UiProps_EditModeProps_$EditModeProps() { }, - context_menu_helix: function(helix, helix_change_apply_to_all) { - var _null = null, - context_menu_item_set_position = helix.grid === C.Grid_none ? B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_position(new V.context_menu_helix_dialog_helix_set_position(helix)), "set position", _null) : B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_grid_position(new V.context_menu_helix_dialog_helix_set_grid_position(helix)), "set grid position", _null), - t1 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_min_offset(new V.context_menu_helix_dialog_helix_set_min_offset(helix, helix_change_apply_to_all)), "set min offset", _null), - t2 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_max_offset(new V.context_menu_helix_dialog_helix_set_max_offset(helix, helix_change_apply_to_all)), "set max offset", _null), - t3 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_idx(new V.context_menu_helix_dialog_helix_set_idx(helix)), "set index", _null), - t4 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_major_tick_marks(new V.context_menu_helix_dialog_helix_set_major_tick_marks(helix, helix_change_apply_to_all)), "set tick marks", _null), - t5 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_roll(new V.context_menu_helix_dialog_helix_set_roll(helix)), "set roll", _null), - t6 = $.app.store; - t6 = J.get$length$asx(t6.get$state(t6).design.groups._map$_map); - if (typeof t6 !== "number") - return t6.$le(); - return H.setRuntimeTypeInfo([t1, t2, t3, t4, t5, context_menu_item_set_position, B.ContextMenuItem_ContextMenuItem(t6 <= 1, _null, new V.context_menu_helix_helix_set_group(new V.context_menu_helix_dialog_helix_set_group(helix)), "set group", _null)], type$.JSArray_legacy_ContextMenuItem); + ErrorMessageComponent: function ErrorMessageComponent(t0) { + this.root_element = t0; }, - parse_major_ticks_and_check_validity: function(major_ticks_str, helix, apply_to_all) { - var _i, major_tick_str, major_tick, t, t2, _null = null, + context_menu_helix(helix, helix_change_apply_to_all) { + var _null = null, + context_menu_item_set_position = helix.grid === B.Grid_none ? A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_position(new A.context_menu_helix_dialog_helix_set_position(helix)), "set position", "") : A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_grid_position(new A.context_menu_helix_dialog_helix_set_grid_position(helix)), "set grid position", ""), + t1 = A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_min_offset(new A.context_menu_helix_dialog_helix_set_min_offset(helix, helix_change_apply_to_all)), "set min offset", ""), + t2 = A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_max_offset(new A.context_menu_helix_dialog_helix_set_max_offset(helix, helix_change_apply_to_all)), "set max offset", ""), + t3 = A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_idx(new A.context_menu_helix_dialog_helix_set_idx(helix)), "set index", ""), + t4 = A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_major_tick_marks(new A.context_menu_helix_dialog_helix_set_major_tick_marks(helix, helix_change_apply_to_all)), "set tick marks", ""), + t5 = A.ContextMenuItem_ContextMenuItem(false, _null, new A.context_menu_helix_helix_set_roll(new A.context_menu_helix_dialog_helix_set_roll(helix)), "set roll", ""), + t6 = $.__app._readField$0().__App_store_F; + t6 === $ && A.throwLateFieldNI("store"); + return A._BuiltList$of(A._setArrayType([t1, t2, t3, t4, t5, context_menu_item_set_position, A.ContextMenuItem_ContextMenuItem(t6.get$state(t6).get$design().groups._map$_map._length <= 1, _null, new A.context_menu_helix_helix_set_group(new A.context_menu_helix_dialog_helix_set_group(helix)), "set group", "")], type$.JSArray_ContextMenuItem), type$.ContextMenuItem); + }, + parse_major_ticks_and_check_validity(major_ticks_str, helix, apply_to_all) { + var t, other_helix, t1, _i, major_tick_str, major_tick, t3, exception, _null = null, _s29_ = " is less than minimum offset ", - t1 = type$.WhereIterable_String, - major_ticks_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(major_ticks_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_major_ticks_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), - major_ticks = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t1 = major_ticks_strs.length, _i = 0; _i < t1; ++_i) { + t2 = type$.WhereIterable_String, + major_ticks_strs = A.List_List$of(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(major_ticks_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new A.parse_major_ticks_and_check_validity_closure()), t2), true, t2._eval$1("Iterable.E")), + major_ticks = A._setArrayType([], type$.JSArray_int); + for (t2 = major_ticks_strs.length, _i = 0; _i < t2; ++_i) { major_tick_str = major_ticks_strs[_i]; - major_tick = H.Primitives_parseInt(major_tick_str, _null); + major_tick = A.Primitives_parseInt(major_tick_str, _null); if (major_tick == null) { - C.Window_methods.alert$1(window, '"' + H.S(major_tick_str) + '" is not a valid integer'); + B.Window_methods.alert$1(window, '"' + A.S(major_tick_str) + '" is not a valid integer'); return _null; - } else if (major_tick <= 0 && major_ticks.length !== 0) { - C.Window_methods.alert$1(window, "non-positive value " + H.S(major_tick) + " can only be used if it is the first element \nin the list, specifying where the first tick should be; all others must be \npositive offsets from the previous tick mark"); + } else if (major_tick <= 0 && J.get$length$asx(major_ticks) !== 0) { + B.Window_methods.alert$1(window, "non-positive value " + A.S(major_tick) + " can only be used if it is the first element \nin the list, specifying where the first tick should be; all others must be \npositive offsets from the previous tick mark"); return _null; - } else - C.JSArray_methods.add$1(major_ticks, major_tick + (major_ticks.length === 0 ? 0 : C.JSArray_methods.get$last(major_ticks))); + } else { + t3 = J.get$length$asx(major_ticks) === 0 ? 0 : J.get$last$ax(major_ticks); + J.add$1$ax(major_ticks, major_tick + t3); + } + } + t = null; + try { + t = J.firstWhere$1$ax(major_ticks, new A.parse_major_ticks_and_check_validity_closure0(helix)); + } catch (exception) { + t = null; } - t = C.JSArray_methods.firstWhere$2$orElse(major_ticks, new V.parse_major_ticks_and_check_validity_closure0(helix), new V.parse_major_ticks_and_check_validity_closure1()); if (t != null) { - C.Window_methods.alert$1(window, "major tick " + H.S(t) + _s29_ + helix.min_offset); + B.Window_methods.alert$1(window, "major tick " + A.S(t) + _s29_ + helix.min_offset); return _null; } - if (apply_to_all) - for (t1 = $.app.store, t1 = t1.get$state(t1).design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t = C.JSArray_methods.firstWhere$2$orElse(major_ticks, new V.parse_major_ticks_and_check_validity_closure2(t2), new V.parse_major_ticks_and_check_validity_closure3()); - if (t != null) { - C.Window_methods.alert$1(window, "major tick " + H.S(t) + _s29_ + t2.min_offset); + if (apply_to_all) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).get$design().helices; + t2 = t2.get$values(t2); + t3 = A._instanceType(t2); + t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t3.moveNext$0();) { + other_helix = t3.__internal$_current; + t1 = null; + try { + t1 = J.firstWhere$1$ax(major_ticks, new A.parse_major_ticks_and_check_validity_closure1(other_helix)); + } catch (exception) { + t1 = null; + } + if (t1 != null) { + B.Window_methods.alert$1(window, "major tick " + A.S(t1) + _s29_ + other_helix.min_offset); return _null; } } + } return major_ticks; }, - parse_major_tick_distances_and_check_validity: function(major_tick_distances_str) { + parse_major_tick_distances_and_check_validity(major_tick_distances_str) { var _i, major_tick_distance_str, major_tick_distance, t1 = type$.WhereIterable_String, - major_tick_distances_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(major_tick_distances_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_major_tick_distances_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), - major_tick_distances = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + major_tick_distances_strs = A.List_List$of(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(major_tick_distances_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new A.parse_major_tick_distances_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), + major_tick_distances = A._setArrayType([], type$.JSArray_int); for (t1 = major_tick_distances_strs.length, _i = 0; _i < t1; ++_i) { major_tick_distance_str = major_tick_distances_strs[_i]; - major_tick_distance = H.Primitives_parseInt(major_tick_distance_str, null); + major_tick_distance = A.Primitives_parseInt(major_tick_distance_str, null); if (major_tick_distance == null) { - C.Window_methods.alert$1(window, '"' + H.S(major_tick_distance_str) + '" is not a valid integer'); + B.Window_methods.alert$1(window, '"' + A.S(major_tick_distance_str) + '" is not a valid integer'); return null; } else if (major_tick_distance <= 0) { - C.Window_methods.alert$1(window, H.S(major_tick_distance) + string$.x20is_no); + B.Window_methods.alert$1(window, A.S(major_tick_distance) + string$.x20is_no); return null; } else - C.JSArray_methods.add$1(major_tick_distances, major_tick_distance); + B.JSArray_methods.add$1(major_tick_distances, major_tick_distance); } return major_tick_distances; }, - parse_helix_idxs_and_check_validity: function(helix_idxs_str) { - var _i, helix_idx, t2, + parse_helix_idxs_and_check_validity(helix_idxs_str) { + var _i, helix_idx, t2, t3, t1 = type$.WhereIterable_String, - helix_idxs_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(helix_idxs_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_helix_idxs_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), - helix_idxs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + helix_idxs_strs = A.List_List$of(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(helix_idxs_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new A.parse_helix_idxs_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), + helix_idxs = A._setArrayType([], type$.JSArray_int); for (t1 = helix_idxs_strs.length, _i = 0; _i < t1; ++_i) { - helix_idx = H.Primitives_parseInt(helix_idxs_strs[_i], null); + helix_idx = A.Primitives_parseInt(helix_idxs_strs[_i], null); if (helix_idx == null) { - C.Window_methods.alert$1(window, '"' + H.S(helix_idx) + '" is not a valid integer'); + B.Window_methods.alert$1(window, '"' + A.S(helix_idx) + '" is not a valid integer'); return null; } else { - t2 = $.app.store; - t2 = t2.get$state(t2).design.helices; - if (t2._keys == null) - t2.set$_keys(J.get$keys$x(t2._map$_map)); - t2 = t2._keys; - t2.toString; - if (!J.contains$1$asx(t2, helix_idx)) { - C.Window_methods.alert$1(window, H.S(helix_idx) + " is not the index of any helix in this design"); + t2 = $.__app._value; + if (t2 == null ? $.__app == null : t2 === $.__app) + A.throwExpression(A.LateError$fieldNI($.__app._name)); + t2 = t2.__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).get$design().helices; + if (t2._keys == null) { + t3 = t2._map$_map; + t2.set$_keys(new A.LinkedHashMapKeyIterable(t3, A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + if (!t2._keys._map.containsKey$1(0, helix_idx)) { + B.Window_methods.alert$1(window, A.S(helix_idx) + " is not the index of any helix in this design"); return null; } else - C.JSArray_methods.add$1(helix_idxs, helix_idx); + B.JSArray_methods.add$1(helix_idxs, helix_idx); } } return helix_idxs; @@ -41147,17966 +41503,16007 @@ parse_major_ticks_and_check_validity_closure0: function parse_major_ticks_and_check_validity_closure0(t0) { this.helix = t0; }, - parse_major_ticks_and_check_validity_closure1: function parse_major_ticks_and_check_validity_closure1() { - }, - parse_major_ticks_and_check_validity_closure2: function parse_major_ticks_and_check_validity_closure2(t0) { + parse_major_ticks_and_check_validity_closure1: function parse_major_ticks_and_check_validity_closure1(t0) { this.other_helix = t0; }, - parse_major_ticks_and_check_validity_closure3: function parse_major_ticks_and_check_validity_closure3() { - }, parse_major_tick_distances_and_check_validity_closure: function parse_major_tick_distances_and_check_validity_closure() { }, parse_helix_idxs_and_check_validity_closure: function parse_helix_idxs_and_check_validity_closure() { }, - SourceLocation$: function(offset, column, line, sourceUrl) { - var t1 = line == null, - t2 = t1 ? 0 : line; - if (offset < 0) - H.throwExpression(P.RangeError$("Offset may not be negative, was " + offset + ".")); - else if (!t1 && line < 0) - H.throwExpression(P.RangeError$("Line may not be negative, was " + H.S(line) + ".")); - else if (column < 0) - H.throwExpression(P.RangeError$("Column may not be negative, was " + column + ".")); - return new V.SourceLocation(sourceUrl, offset, t2, column); + _$HelixGroupMoving(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$HelixGroupMovingProps$JsMap$(new A.JsBackedMap({})) : A._$$HelixGroupMovingProps__$$HelixGroupMovingProps(backingProps); }, - SourceLocation: function SourceLocation(t0, t1, t2, t3) { - var _ = this; - _.sourceUrl = t0; - _.offset = t1; - _.line = t2; - _.column = t3; + _$$HelixGroupMovingProps__$$HelixGroupMovingProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$HelixGroupMovingProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$HelixGroupMovingProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._helix_group_moving$_props = backingMap; + return t1; + } }, - SourceSpanBase: function SourceSpanBase() { + _$$HelixGroupMovingProps$JsMap$(backingMap) { + var t1 = new A._$$HelixGroupMovingProps$JsMap(new A.JsBackedMap({}), null, $, $, $, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._helix_group_moving$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - XmlGrammarDefinition: function XmlGrammarDefinition() { + ConnectedHelixGroupMoving_closure: function ConnectedHelixGroupMoving_closure() { }, - XmlGrammarDefinition_attribute_closure: function XmlGrammarDefinition_attribute_closure(t0) { - this.$this = t0; + HelixGroupMovingProps: function HelixGroupMovingProps() { }, - XmlGrammarDefinition_attributeValueDouble_closure: function XmlGrammarDefinition_attributeValueDouble_closure() { + HelixGroupMovingComponent: function HelixGroupMovingComponent() { }, - XmlGrammarDefinition_attributeValueSingle_closure: function XmlGrammarDefinition_attributeValueSingle_closure() { + HelixGroupMovingComponent_render_closure: function HelixGroupMovingComponent_render_closure(t0) { + this.new_position = t0; }, - XmlGrammarDefinition_comment_closure: function XmlGrammarDefinition_comment_closure(t0) { - this.$this = t0; + $HelixGroupMovingComponentFactory_closure: function $HelixGroupMovingComponentFactory_closure() { }, - XmlGrammarDefinition_declaration_closure: function XmlGrammarDefinition_declaration_closure(t0) { - this.$this = t0; + _$$HelixGroupMovingProps: function _$$HelixGroupMovingProps() { }, - XmlGrammarDefinition_cdata_closure: function XmlGrammarDefinition_cdata_closure(t0) { - this.$this = t0; + _$$HelixGroupMovingProps$PlainMap: function _$$HelixGroupMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._helix_group_moving$_props = t0; + _.HelixGroupMovingProps_helix_group_move = t1; + _.HelixGroupMovingProps___HelixGroupMovingProps_side_selected_helix_idxs_A = t2; + _.HelixGroupMovingProps___HelixGroupMovingProps_only_display_selected_helices_A = t3; + _.HelixGroupMovingProps___HelixGroupMovingProps_show_helix_circles_A = t4; + _.HelixGroupMovingProps___HelixGroupMovingProps_helix_idx_to_svg_position_map_A = t5; + _.HelixGroupMovingProps___HelixGroupMovingProps_major_tick_offset_font_size_A = t6; + _.HelixGroupMovingProps___HelixGroupMovingProps_major_tick_width_font_size_A = t7; + _.HelixGroupMovingProps___HelixGroupMovingProps_show_domain_labels_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - XmlGrammarDefinition_doctype_closure: function XmlGrammarDefinition_doctype_closure(t0) { - this.$this = t0; - }, - XmlGrammarDefinition_document_closure: function XmlGrammarDefinition_document_closure(t0) { - this.$this = t0; + _$$HelixGroupMovingProps$JsMap: function _$$HelixGroupMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._helix_group_moving$_props = t0; + _.HelixGroupMovingProps_helix_group_move = t1; + _.HelixGroupMovingProps___HelixGroupMovingProps_side_selected_helix_idxs_A = t2; + _.HelixGroupMovingProps___HelixGroupMovingProps_only_display_selected_helices_A = t3; + _.HelixGroupMovingProps___HelixGroupMovingProps_show_helix_circles_A = t4; + _.HelixGroupMovingProps___HelixGroupMovingProps_helix_idx_to_svg_position_map_A = t5; + _.HelixGroupMovingProps___HelixGroupMovingProps_major_tick_offset_font_size_A = t6; + _.HelixGroupMovingProps___HelixGroupMovingProps_major_tick_width_font_size_A = t7; + _.HelixGroupMovingProps___HelixGroupMovingProps_show_domain_labels_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - XmlGrammarDefinition_element_closure: function XmlGrammarDefinition_element_closure(t0) { - this.$this = t0; + _$HelixGroupMovingComponent: function _$HelixGroupMovingComponent(t0) { + var _ = this; + _.___$HelixGroupMovingComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - XmlGrammarDefinition_processing_closure: function XmlGrammarDefinition_processing_closure(t0) { - this.$this = t0; + $HelixGroupMovingProps: function $HelixGroupMovingProps() { }, - XmlHasText: function XmlHasText() { + _HelixGroupMovingComponent_UiComponent2_PureComponent: function _HelixGroupMovingComponent_UiComponent2_PureComponent() { }, - invalidate_png_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (type$.legacy_SvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.dna_sequence_png_uri != null) - store.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); - else if (type$.legacy_HelixSelectSvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.storables.only_display_selected_helices && store.get$state(store).ui_state.dna_sequence_png_uri != null) - store.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); - next.call$1(action); - } - }, - G = { - post: function(url, body, headers) { - return G._withClient(new G.post_closure(url, headers, body, null), type$.legacy_Response); + __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps() { }, - _withClient: function(fn, $T) { - return G._withClient$body(fn, $T, $T._eval$1("0*")); + __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps() { }, - _withClient$body: function(fn, $T, $async$type) { + ask_for_autobreak_parameters() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter($async$type), - $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], t1, client; - var $async$_withClient = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) { - $async$currentError = $async$result; - $async$goto = $async$handler; - } + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, results, t1, t2, target_length, min_length, max_length, min_distance_to_xover, items; + var $async$ask_for_autobreak_parameters = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - client = new O.BrowserClient(P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_HttpRequest)); - $async$handler = 3; - $async$goto = 6; - return P._asyncAwait(fn.call$1(client), $async$_withClient); - case 6: + items = new A.FixedList(A.List_List$filled(4, null, false, type$.nullable_DialogItem), A.List_List$filled(4, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogInteger_DialogInteger("target length", "", 49)); + items._util$_set$2(1, A.DialogInteger_DialogInteger("min length", "", 15)); + items._util$_set$2(2, A.DialogInteger_DialogInteger("max length", "", 60)); + items._util$_set$2(3, A.DialogInteger_DialogInteger("min distance to xover", "", 3)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "Choose autobreak parameters", B.DialogType_choose_autobreak_parameters, true)), $async$ask_for_autobreak_parameters); + case 3: // returning from await. - t1 = $async$result; - $async$returnValue = t1; - $async$next = [1]; - // goto finally - $async$goto = 4; - break; - $async$next.push(5); - // goto finally - $async$goto = 4; - break; + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogInteger; + target_length = t2._as(t1.$index(results, 0)).value; + min_length = t2._as(t1.$index(results, 1)).value; + max_length = t2._as(t1.$index(results, 2)).value; + min_distance_to_xover = t2._as(t1.$index(results, 3)).value; + $.__app._readField$0().dispatch$1(A.Autobreak_Autobreak(max_length, min_distance_to_xover, min_length, target_length)); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_autobreak_parameters, $async$completer); + }, + ask_for_geometry(geometry) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, items, results, t1, t2, rise_per_base_pair, helix_radius, inter_helix_gap, new_geometry; + var $async$ask_for_geometry = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + if (geometry == null) + geometry = A.Geometry_Geometry(10.5, 1, 1, 150, 0.332); + items = new A.FixedList(A.List_List$filled(5, null, false, type$.nullable_DialogItem), A.List_List$filled(5, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogFloat_DialogFloat("rise per base pair (nm)", geometry.rise_per_base_pair)); + items._util$_set$2(1, A.DialogFloat_DialogFloat("helix radius (nm)", geometry.helix_radius)); + items._util$_set$2(2, A.DialogFloat_DialogFloat("inter helix gap (nm)", geometry.inter_helix_gap)); + items._util$_set$2(3, A.DialogFloat_DialogFloat("bases per turn", geometry.bases_per_turn)); + items._util$_set$2(4, A.DialogFloat_DialogFloat("minor groove angle (degrees)", geometry.minor_groove_angle)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", B.DialogType_adjust_geometric_parameters, true)), $async$ask_for_geometry); case 3: - // uncaught - $async$next = [2]; - case 4: - // finally - $async$handler = 2; - J.close$0$z(client); - // goto the next finally handler - $async$goto = $async$next.pop(); - break; - case 5: - // after finally + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogFloat; + rise_per_base_pair = t2._as(t1.$index(results, 0)).value; + helix_radius = t2._as(t1.$index(results, 1)).value; + inter_helix_gap = t2._as(t1.$index(results, 2)).value; + new_geometry = A.Geometry_Geometry(t2._as(t1.$index(results, 3)).value, helix_radius, inter_helix_gap, t2._as(t1.$index(results, 4)).value, rise_per_base_pair); + $.__app._readField$0().dispatch$1(A._$GeometrySet$_(new_geometry)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); - case 2: - // rethrow - return P._asyncRethrow($async$currentError, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$_withClient, $async$completer); + return A._asyncStartSync($async$ask_for_geometry, $async$completer); }, - post_closure: function post_closure(t0, t1, t2, t3) { - var _ = this; - _.url = t0; - _.headers = t1; - _.body = t2; - _.encoding = t3; + request_load_file_from_file_chooser(file_chooser, onload_callback) { + var file, basefilename, file_reader, t1, t2, t3, + files = file_chooser.files; + if (files == null) { + B.Window_methods.alert$1(window, "No files selected"); + return; + } + if (0 >= files.length) + return A.ioore(files, 0); + file = files[0]; + basefilename = A.ParsedPath_ParsedPath$parse(file.name, $.$get$context().style).get$basename(); + file_reader = new FileReader(); + t1 = type$.nullable_void_Function_legacy_ProgressEvent; + t2 = t1._as(new A.request_load_file_from_file_chooser_closure(onload_callback, file_reader, basefilename)); + type$.nullable_void_Function._as(null); + t3 = type$.legacy_ProgressEvent; + A._EventStreamSubscription$(file_reader, "load", t2, false, t3); + A._EventStreamSubscription$(file_reader, "error", t1._as(new A.request_load_file_from_file_chooser_closure0("error reading file: " + J.toString$0$(file_reader.error))), false, t3); + file_reader.readAsText(file); }, - BaseRequest: function BaseRequest() { + scadnano_file_loaded(file_reader, filename) { + var json_model_text; + type$.FileReader._as(file_reader); + A._asStringS(filename); + json_model_text = A._asStringS((file_reader && B.FileReader_methods).get$result(file_reader)); + $.__app._readField$0().dispatch$1(A.PrepareToLoadDNAFile_PrepareToLoadDNAFile(json_model_text, B.DNAFileType_scadnano_file, filename, true)); }, - BaseRequest_closure: function BaseRequest_closure() { + cadnano_file_loaded(file_reader, filename) { + return A.cadnano_file_loaded$body(file_reader, filename); }, - BaseRequest_closure0: function BaseRequest_closure0() { + cadnano_file_loaded$body(file_reader, filename) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + json_cadnano_text, e, t1, exception; + var $async$cadnano_file_loaded = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + filename = filename; + try { + json_cadnano_text = A._asStringS(B.FileReader_methods.get$result(file_reader)); + t1 = filename; + filename = $.$get$context().withoutExtension$1(t1) + ".sc"; + $.__app._readField$0().dispatch$1(A.PrepareToLoadDNAFile_PrepareToLoadDNAFile(json_cadnano_text, B.DNAFileType_cadnano_file, filename, true)); + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Exception._is(t1)) { + e = t1; + B.Window_methods.alert$1(window, "Error importing file: " + A.S(e)); + } else + throw exception; + } + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$cadnano_file_loaded, $async$completer); }, - DartValueWrapper_wrapIfNeeded0: function(value) { - var t2, - t1 = type$.legacy_Function; - if (t1._is(value) && P.allowInterop(value, t1) !== value) { - t1 = $.$get$DartValueWrapper__functionWrapperCache(); - t2 = t1.$index(0, value); - if (t2 == null) { - t2 = new G.DartValueWrapper0(value); - t1.$indexSet(0, value, t2); - t1 = t2; - } else - t1 = t2; + _$Menu(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuProps__$$MenuProps(backingProps); + }, + _$$MenuProps__$$MenuProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $); + t1.get$$$isClassGenerated(); + t1._menu$_props = backingMap; return t1; } - return value; }, - DartValueWrapper_unwrapIfNeeded0: function(value, $T) { - if (value instanceof G.DartValueWrapper0) - return $T._eval$1("0*")._as(value.value); - return $T._eval$1("0*")._as(value); + _$$MenuProps$JsMap$(backingMap) { + var t1 = new A._$$MenuProps$JsMap(new A.JsBackedMap({}), $, $, $); + t1.get$$$isClassGenerated(); + t1._menu$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - DartValueWrapper0: function DartValueWrapper0(t0) { - this.value = t0; + ConnectedMenu_closure: function ConnectedMenu_closure() { }, - Parser: function Parser() { + MenuProps: function MenuProps() { }, - char: function(char, message) { - var t1 = X.toCharCode(char), - t2 = type$.CodeUnits; - t2 = new H.MappedListIterable(new H.CodeUnits(char), t2._eval$1("String(ListMixin.E)")._as(X.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0); - t2 = '"' + t2 + '" expected'; - return new G.CharacterParser(new G.SingleCharPredicate(t1), t2); + MenuComponent: function MenuComponent() { }, - SingleCharPredicate: function SingleCharPredicate(t0) { - this.value = t0; + MenuComponent_no_grid_is_none_closure: function MenuComponent_no_grid_is_none_closure() { }, - CharacterParser: function CharacterParser(t0, t1) { - this.predicate = t0; - this.message = t1; + MenuComponent_file_menu_closure: function MenuComponent_file_menu_closure(t0) { + this.$this = t0; }, - RangeCharPredicate$: function(start, $stop) { - if (typeof start !== "number") - return start.$gt(); - if (typeof $stop !== "number") - return H.iae($stop); - if (start > $stop) - H.throwExpression(P.ArgumentError$("Invalid range: " + start + "-" + $stop)); - return new G.RangeCharPredicate(start, $stop); + MenuComponent_file_menu_closure0: function MenuComponent_file_menu_closure0() { }, - RangeCharPredicate: function RangeCharPredicate(t0, t1) { - this.start = t0; - this.stop = t1; + MenuComponent_file_menu_closure1: function MenuComponent_file_menu_closure1() { }, - LimitedRepeatingParser: function LimitedRepeatingParser() { + MenuComponent_file_menu_closure2: function MenuComponent_file_menu_closure2() { }, - browser: function() { - var t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - return t1; + MenuComponent_file_menu_closure3: function MenuComponent_file_menu_closure3(t0) { + this.$this = t0; }, - _HtmlNavigator: function _HtmlNavigator() { + MenuComponent_file_menu_closure4: function MenuComponent_file_menu_closure4() { }, - BaseBlockCipher: function BaseBlockCipher() { + MenuComponent_file_menu_closure5: function MenuComponent_file_menu_closure5() { }, - MD4FamilyDigest: function MD4FamilyDigest() { + MenuComponent_file_menu_closure6: function MenuComponent_file_menu_closure6(t0) { + this.$this = t0; }, - shiftl32: function(x, n) { - var t1; - n &= 31; - t1 = $._MASK32_HI_BITS[n]; - if (typeof x !== "number") - return x.$and(); - return (x & t1) << n >>> 0; + MenuComponent_file_menu_save_design_local_storage_options_closure: function MenuComponent_file_menu_save_design_local_storage_options_closure(t0) { + this.$this = t0; }, - rotr32: function(x, n) { - n &= 31; - if (typeof x !== "number") - return x.$shr(); - return (C.JSInt_methods._shrOtherPositive$1(x, n) | G.shiftl32(x, 32 - n)) >>> 0; + MenuComponent_file_menu_save_design_local_storage_options_closure0: function MenuComponent_file_menu_save_design_local_storage_options_closure0(t0) { + this.$this = t0; }, - pack32: function(x, out, offset, endian) { - var t1 = J.getInterceptor$x(out); - out = J.asByteData$2$x(t1.get$buffer(out), t1.get$offsetInBytes(out), t1.get$length(out)); - J.setUint32$3$x(out, offset, x, endian); + MenuComponent_file_menu_save_design_local_storage_options_closure1: function MenuComponent_file_menu_save_design_local_storage_options_closure1(t0) { + this.$this = t0; }, - unpack32: function(inp, offset, endian) { - var t1 = J.getInterceptor$x(inp); - inp = J.asByteData$2$x(t1.get$buffer(inp), t1.get$offsetInBytes(inp), t1.get$length(inp)); - return J.getUint32$2$x(inp, offset, endian); + MenuComponent_file_menu_save_design_local_storage_options_closure2: function MenuComponent_file_menu_save_design_local_storage_options_closure2(t0) { + this.$this = t0; }, - Register64$: function(hiOrLo32OrY) { - var t1 = new G.Register64(); - t1.$set$2(0, hiOrLo32OrY, null); - return t1; + MenuComponent_file_menu_save_design_local_storage_options_closure3: function MenuComponent_file_menu_save_design_local_storage_options_closure3() { }, - Register64: function Register64() { - this.__Register64__lo32 = this.__Register64__hi32 = $; + MenuComponent_edit_menu_closure: function MenuComponent_edit_menu_closure(t0) { + this.$this = t0; }, - setup_undo_redo_keyboard_listeners: function() { - var t2, t3, - t1 = document.body; - t1.toString; - t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; - t3 = t2._eval$1("~(1)?")._as(new G.setup_undo_redo_keyboard_listeners_closure()); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + MenuComponent_edit_menu_closure0: function MenuComponent_edit_menu_closure0() { }, - setup_save_open_dna_file_keyboard_listeners: function() { - var t2, t3, - t1 = document.body; - t1.toString; - t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; - t3 = t2._eval$1("~(1)?")._as(new G.setup_save_open_dna_file_keyboard_listeners_closure()); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + MenuComponent_edit_menu_closure1: function MenuComponent_edit_menu_closure1() { }, - copy_selected_strands_to_clipboard_image_keyboard_listeners: function() { - var t2, t3, - t1 = document.body; - t1.toString; - t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; - t3 = t2._eval$1("~(1)?")._as(new G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure()); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + MenuComponent_edit_menu_closure2: function MenuComponent_edit_menu_closure2(t0) { + this.$this = t0; }, - App: function App(t0, t1, t2, t3, t4, t5, t6) { - var _ = this; - _.store_selection_rope = _.store = _.view = null; - _.context_selection_rope = t0; - _.store_selection_box = null; - _.context_selection_box = t1; - _.store_potential_crossover = null; - _.context_potential_crossover = t2; - _.store_extensions_move = null; - _.context_extensions_move = t3; - _.store_dna_ends_move = null; - _.context_dna_ends_move = t4; - _.store_helix_group_move = null; - _.context_helix_group_move = t5; - _.keys_pressed = t6; - _.keyboard_shortcuts_enabled = true; + MenuComponent_edit_menu_closure3: function MenuComponent_edit_menu_closure3() { + }, + MenuComponent_edit_menu_closure4: function MenuComponent_edit_menu_closure4() { + }, + MenuComponent_undo_dropdowns_closure: function MenuComponent_undo_dropdowns_closure() { + }, + MenuComponent_redo_dropdowns_closure: function MenuComponent_redo_dropdowns_closure() { + }, + MenuComponent_undo_or_redo_dropdown_closure: function MenuComponent_undo_or_redo_dropdown_closure(t0, t1) { + this.undo_or_redo_action_creator = t0; + this.num_times = t1; }, - App_start_closure: function App_start_closure(t0) { + MenuComponent_edit_menu_copy_paste_closure: function MenuComponent_edit_menu_copy_paste_closure(t0) { this.$this = t0; }, - App_setup_warning_before_unload_closure: function App_setup_warning_before_unload_closure(t0) { + MenuComponent_edit_menu_copy_paste_closure0: function MenuComponent_edit_menu_copy_paste_closure0(t0) { this.$this = t0; }, - App_setup_save_design_to_localStorage_before_unload_closure: function App_setup_save_design_to_localStorage_before_unload_closure(t0) { + MenuComponent_edit_menu_copy_paste_closure1: function MenuComponent_edit_menu_copy_paste_closure1() { + }, + MenuComponent_edit_menu_copy_paste_closure2: function MenuComponent_edit_menu_copy_paste_closure2() { + }, + MenuComponent_edit_menu_copy_paste_closure3: function MenuComponent_edit_menu_copy_paste_closure3() { + }, + MenuComponent_edit_menu_copy_paste_closure4: function MenuComponent_edit_menu_copy_paste_closure4() { + }, + MenuComponent_edit_menu_copy_paste_closure5: function MenuComponent_edit_menu_copy_paste_closure5() { + }, + MenuComponent_edit_menu_copy_paste_closure6: function MenuComponent_edit_menu_copy_paste_closure6(t0) { this.$this = t0; }, - setup_undo_redo_keyboard_listeners_closure: function setup_undo_redo_keyboard_listeners_closure() { + MenuComponent_edit_menu_copy_paste_closure7: function MenuComponent_edit_menu_copy_paste_closure7(t0) { + this.$this = t0; }, - setup_save_open_dna_file_keyboard_listeners_closure: function setup_save_open_dna_file_keyboard_listeners_closure() { + MenuComponent_edit_menu_helix_rolls_closure: function MenuComponent_edit_menu_helix_rolls_closure() { }, - copy_selected_strands_to_clipboard_image_keyboard_listeners_closure: function copy_selected_strands_to_clipboard_image_keyboard_listeners_closure() { + MenuComponent_edit_menu_helix_rolls_closure0: function MenuComponent_edit_menu_helix_rolls_closure0() { }, - delete_all_reducer: function(strands, state, action) { - var t1, items, t2, select_mode_state, ends, deletions; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_DeleteAllSelected._as(action); - t1 = state.ui_state; - items = t1.selectables_store.selected_items; - t2 = items._set; - if (t2.get$isEmpty(t2)) - return strands; - select_mode_state = t1.storables.select_mode_state; - t1 = select_mode_state.__strands_selectable; - if (t1 == null ? select_mode_state.__strands_selectable = N.SelectModeState.prototype.get$strands_selectable.call(select_mode_state) : t1) - strands = G._remove_strands(strands, P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure())), type$.legacy_Strand)); - else { - t1 = select_mode_state.__linkers_selectable; - if (t1 == null ? select_mode_state.__linkers_selectable = N.SelectModeState.prototype.get$linkers_selectable.call(select_mode_state) : t1) { - t1 = H._instanceType(items)._eval$1("bool(1)"); - strands = G.remove_crossovers_and_loopouts(strands, state, P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, t1._as(new G.delete_all_reducer_closure0())), type$.legacy_Crossover), P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, t1._as(new G.delete_all_reducer_closure1())), type$.legacy_Loopout)); - } else { - t1 = select_mode_state.__ends_selectable; - if (t1 == null ? select_mode_state.__ends_selectable = N.SelectModeState.prototype.get$ends_selectable.call(select_mode_state) : t1) { - ends = t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure2())); - t1 = ends.$ti; - strands = G.remove_domains(strands, state, new H.MappedIterable(ends, t1._eval$1("Domain*(1)")._as(new G.delete_all_reducer_closure3(state)), t1._eval$1("MappedIterable<1,Domain*>"))); - } else if (select_mode_state.get$domains_selectable()) - strands = G.remove_domains(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure4())), true, type$.legacy_Domain)); - else if (select_mode_state.get$deletions_selectable() || select_mode_state.get$insertions_selectable()) { - deletions = select_mode_state.get$deletions_selectable() ? P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure5())), true, type$.legacy_SelectableDeletion) : H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); - strands = G.remove_deletions_and_insertions(strands, state, deletions, select_mode_state.get$insertions_selectable() ? P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure6())), true, type$.legacy_SelectableInsertion) : H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion)); - } else { - t1 = select_mode_state.__modifications_selectable; - if (t1 == null ? select_mode_state.__modifications_selectable = N.SelectModeState.prototype.get$modifications_selectable.call(select_mode_state) : t1) - strands = G.remove_modifications(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure7())), true, type$.legacy_SelectableModification)); - else { - t1 = select_mode_state.__extensions_selectable; - if (t1 == null ? select_mode_state.__extensions_selectable = N.SelectModeState.prototype.get$extensions_selectable.call(select_mode_state) : t1) - strands = G.remove_extensions(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure8())), true, type$.legacy_Extension)); - } - } - } - } - return strands; + MenuComponent_edit_menu_helix_rolls_closure1: function MenuComponent_edit_menu_helix_rolls_closure1() { }, - _remove_strands: function(strands, strands_to_remove) { - return strands.rebuild$1(new G._remove_strands_closure(strands_to_remove)); + MenuComponent_edit_menu_helix_rolls_closure2: function MenuComponent_edit_menu_helix_rolls_closure2(t0) { + this.$this = t0; }, - remove_crossovers_and_loopouts: function(strands, state, crossovers, loopouts) { - var t2, t3, t4, t5, t6, strand, new_strands, old_strand_idx, - t1 = type$.legacy_Strand, - strands_to_replace = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), - strand_to_linkers = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Linker); - for (t2 = P._LinkedHashSetIterator$(crossovers, crossovers._collection$_modifications, H._instanceType(crossovers)._precomputed1), t3 = state.design, t4 = type$.JSArray_legacy_Linker; t2.moveNext$0();) { - t5 = t2._collection$_current; - t6 = t3.__crossover_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$crossover_to_strand.call(t3); - t3.set$__crossover_to_strand(t6); - } - strand = J.$index$asx(t6._map$_map, t5); - if (strand_to_linkers.$index(0, strand) == null) - strand_to_linkers.$indexSet(0, strand, H.setRuntimeTypeInfo([], t4)); - t6 = strand_to_linkers.$index(0, strand); - (t6 && C.JSArray_methods).add$1(t6, t5); - } - for (t2 = P._LinkedHashSetIterator$(loopouts, loopouts._collection$_modifications, H._instanceType(loopouts)._precomputed1); t2.moveNext$0();) { - t5 = t2._collection$_current; - t6 = t3.__substrand_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$substrand_to_strand.call(t3); - t3.set$__substrand_to_strand(t6); - } - t6 = J.$index$asx(t6._map$_map, t5); - if (strand_to_linkers.$index(0, t6) == null) - strand_to_linkers.$indexSet(0, t6, H.setRuntimeTypeInfo([], t4)); - t6 = strand_to_linkers.$index(0, t6); - (t6 && C.JSArray_methods).add$1(t6, t5); - } - for (t2 = strand_to_linkers.get$keys(strand_to_linkers), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - strands_to_replace.$indexSet(0, t3, G.remove_linkers_from_strand(t3, strand_to_linkers.$index(0, t3))); - } - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); - for (t3 = strands_to_replace.get$keys(strands_to_replace), t3 = t3.get$iterator(t3), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { - t5 = t3.get$current(t3); - t4._as(t5); - old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); - t5 = t2._as(strands_to_replace.$index(0, t5)); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); - } - return D._BuiltList$of(new_strands, t1); + MenuComponent_edit_menu_helix_rolls_closure3: function MenuComponent_edit_menu_helix_rolls_closure3(t0) { + this.$this = t0; }, - remove_linkers_from_strand: function(strand, linkers) { - var t1, substrands_list, t2, t3, linker_idx, ss_idx, t4, substrand, linker; - (linkers && C.JSArray_methods).sort$1(linkers, new G.remove_linkers_from_strand_closure()); - t1 = type$.JSArray_legacy_Substrand; - substrands_list = H.setRuntimeTypeInfo([H.setRuntimeTypeInfo([], t1)], type$.JSArray_legacy_List_legacy_Substrand); - t2 = strand.substrands._list; - t3 = J.getInterceptor$asx(t2); - linker_idx = 0; - ss_idx = 0; - while (true) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(ss_idx < t4)) - break; - substrand = t3.$index(t2, ss_idx); - if (linker_idx >= substrands_list.length) - return H.ioore(substrands_list, linker_idx); - C.JSArray_methods.add$1(substrands_list[linker_idx], substrand); - if (linker_idx < linkers.length) { - linker = linkers[linker_idx]; - if (ss_idx === linker.get$prev_domain_idx()) { - ++linker_idx; - C.JSArray_methods.add$1(substrands_list, H.setRuntimeTypeInfo([], t1)); - if (linker instanceof G.Loopout) - ++ss_idx; - } - } - ++ss_idx; - } - if (strand.circular) { - t1 = substrands_list.length; - t2 = t1 - 1; - if (t2 < 0) - return H.ioore(substrands_list, t2); - t2 = substrands_list[t2]; - if (0 >= t1) - return H.ioore(substrands_list, 0); - C.JSArray_methods.addAll$1(t2, substrands_list[0]); - t2 = substrands_list.length; - t1 = t2 - 1; - if (t1 < 0) - return H.ioore(substrands_list, t1); - t1 = substrands_list[t1]; - if (0 >= t2) - return H.ioore(substrands_list, 0); - substrands_list[0] = t1; - if (0 >= t2) - return H.ioore(substrands_list, -1); - substrands_list.pop(); - strand = strand.rebuild$1(new G.remove_linkers_from_strand_closure0()); - } - return G.create_new_strands_from_substrand_lists(substrands_list, strand); + MenuComponent_view_menu_autofit_closure: function MenuComponent_view_menu_autofit_closure() { }, - _dna_seq: function(substrands, strand) { - var t1, - ret = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t1 = J.get$iterator$ax(substrands); t1.moveNext$0();) - C.JSArray_methods.add$1(ret, strand.dna_sequence_in$1(t1.get$current(t1))); - return C.JSArray_methods.join$1(ret, ""); + MenuComponent_view_menu_autofit_closure0: function MenuComponent_view_menu_autofit_closure0(t0) { + this.$this = t0; }, - create_new_strands_from_substrand_lists: function(substrands_list, strand) { - var t1, t2, _i, dna_sequences, t3, mod_5p, mod_3p, ss_to_mods, internal_mods_to_keep, t4, t5, t6, t7, substrands, internal_mods_on_these_substrands, dna_length_cur_substrands, i, substrand, mods_this_ss, t8, t9, t10, t11, mod, new_strands, color, is_scaffold, idt, dna_sequence, idt0, mods_int, mod_5p_cur, new_strand, _null = null; - if (substrands_list.length === 0) - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - if (strand.get$dna_sequence() == null) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_Null); - for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) - t1.push(_null); - dna_sequences = t1; - } else { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) - t1.push(G._dna_seq(substrands_list[_i], strand)); - dna_sequences = t1; - } - t1 = C.JSArray_methods.get$first(C.JSArray_methods.get$first(substrands_list)); - t2 = strand.substrands._list; - t3 = J.getInterceptor$ax(t2); - mod_5p = J.$eq$(t1, t3.get$first(t2)) ? strand.modification_5p : _null; - mod_3p = J.$eq$(C.JSArray_methods.get$last(C.JSArray_methods.get$last(substrands_list)), t3.get$last(t2)) ? strand.modification_3p : _null; - ss_to_mods = strand.__internal_modifications_on_substrand; - if (ss_to_mods == null) { - ss_to_mods = E.Strand.prototype.get$internal_modifications_on_substrand.call(strand); - strand.set$__internal_modifications_on_substrand(ss_to_mods); - } - internal_mods_to_keep = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Map_of_legacy_int_and_legacy_ModificationInternal); - for (t1 = substrands_list.length, t2 = ss_to_mods._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_void_Function_legacy_LoopoutBuilder, t5 = type$.legacy_void_Function_legacy_DomainBuilder, t6 = type$.legacy_int, t7 = type$.legacy_ModificationInternal, _i = 0; _i < substrands_list.length; substrands_list.length === t1 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) { - substrands = substrands_list[_i]; - internal_mods_on_these_substrands = P.LinkedHashMap_LinkedHashMap$_empty(t6, t7); - for (dna_length_cur_substrands = 0, i = 0; i < substrands.length; ++i) { - substrand = substrands[i]; - mods_this_ss = t3.$index(t2, substrand); - if (mods_this_ss._keys == null) - mods_this_ss.set$_keys(J.get$keys$x(mods_this_ss._map$_map)); - t8 = mods_this_ss._keys; - t8.toString; - t8 = J.get$iterator$ax(t8); - t9 = mods_this_ss._map$_map; - t10 = J.getInterceptor$asx(t9); - for (; t8.moveNext$0();) { - t11 = t8.get$current(t8); - mod = t10.$index(t9, t11); - if (typeof t11 !== "number") - return H.iae(t11); - internal_mods_on_these_substrands.$indexSet(0, dna_length_cur_substrands + t11, mod); - } - if (substrand instanceof G.Loopout) { - t8 = t4._as(new G.create_new_strands_from_substrand_lists_closure(i)); - t9 = new G.LoopoutBuilder(); - t9._loopout$_$v = substrand; - t8.call$1(t9); - substrand = t9.build$0(); - } - if (i === 0 && substrand instanceof G.Domain) { - t8 = t5._as(new G.create_new_strands_from_substrand_lists_closure0()); - t9 = new G.DomainBuilder(); - t9._domain$_$v = substrand; - t8.call$1(t9); - substrand = t9.build$0(); - } - if (i === substrands.length - 1 && substrand instanceof G.Domain) { - t8 = t5._as(new G.create_new_strands_from_substrand_lists_closure1()); - t9 = new G.DomainBuilder(); - t9._domain$_$v = substrand; - t8.call$1(t9); - substrand = t9.build$0(); - } - C.JSArray_methods.$indexSet(substrands, i, substrand); - dna_length_cur_substrands += substrand.dna_length$0(); - } - C.JSArray_methods.add$1(internal_mods_to_keep, internal_mods_on_these_substrands); - } - new_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - for (color = strand.color, t1 = strand.name, is_scaffold = strand.is_scaffold, idt = strand.vendor_fields, i = 0; t2 = substrands_list.length, i < t2; ++i) { - substrands = substrands_list[i]; - if (i >= dna_sequences.length) - return H.ioore(dna_sequences, i); - dna_sequence = dna_sequences[i]; - t3 = i === 0; - idt0 = t3 ? idt : _null; - if (i >= internal_mods_to_keep.length) - return H.ioore(internal_mods_to_keep, i); - mods_int = internal_mods_to_keep[i]; - mod_5p_cur = t3 ? mod_5p : _null; - new_strand = E.Strand_Strand(substrands, false, color, dna_sequence, is_scaffold, _null, i === t2 - 1 ? mod_3p : _null, mod_5p_cur, mods_int, t1, idt0); - strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); - if (J.get$length$asx(new_strand.substrands._list) === 1) { - t2 = new_strand.__first_domain; - if (t2 == null) - t2 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); - t2.toString; - } - new_strand.check_two_consecutive_loopouts$0(); - new_strand.check_loopouts_length$0(); - new_strand.check_at_least_one_domain$0(); - new_strand.check_only_at_ends$0(); - new_strand.check_not_adjacent_to_loopout$0(); - C.JSArray_methods.add$1(new_strands, strand); - } - return new_strands; + MenuComponent_view_menu_warnings_closure: function MenuComponent_view_menu_warnings_closure(t0) { + this.$this = t0; }, - remove_extensions: function(strands, state, extensions) { - var t2, t3, t4, _i, ext, t5, strand, new_strands, i, strand0, - t1 = type$.legacy_Strand, - strand_to_exts = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Set_legacy_Extension); - for (t2 = extensions.length, t3 = state.design, t4 = type$.legacy_Extension, _i = 0; _i < extensions.length; extensions.length === t2 || (0, H.throwConcurrentModificationError)(extensions), ++_i) { - ext = extensions[_i]; - t5 = t3.__substrand_to_strand; - if (t5 == null) { - t5 = N.Design.prototype.get$substrand_to_strand.call(t3); - t3.set$__substrand_to_strand(t5); - } - strand = J.$index$asx(t5._map$_map, ext); - if (strand_to_exts.$index(0, strand) == null) - strand_to_exts.$indexSet(0, strand, P.LinkedHashSet_LinkedHashSet$_empty(t4)); - strand_to_exts.$index(0, strand).add$1(0, ext); - } - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); - t2 = t2._precomputed1; - i = 0; - while (true) { - t3 = J.get$length$asx(new_strands._copy_on_write_list$_list); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - strand = J.$index$asx(new_strands._copy_on_write_list$_list, i); - if (strand_to_exts.get$keys(strand_to_exts).contains$1(0, strand)) { - t3 = strand_to_exts.$index(0, strand); - t4 = strand.__has_5p_extension; - if ((t4 == null ? strand.__has_5p_extension = E.Strand.prototype.get$has_5p_extension.call(strand) : t4) && t3.contains$1(0, J.get$first$ax(strand.substrands._list))) - strand = G._remove_extension_from_strand(strand, true); - t4 = strand.__has_3p_extension; - if ((t4 == null ? strand.__has_3p_extension = E.Strand.prototype.get$has_3p_extension.call(strand) : t4) && t3.contains$1(0, J.get$last$ax(strand.substrands._list))) - strand = G._remove_extension_from_strand(strand, false); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t3 = strand.__first_domain; - if (t3 == null) - t3 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t3.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t2._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); - } - ++i; - } - return D._BuiltList$of(new_strands, t1); + MenuComponent_view_menu_warnings_closure0: function MenuComponent_view_menu_warnings_closure0(t0) { + this.$this = t0; }, - _remove_extension_from_strand: function(strand, is_5p) { - var idx, - t1 = strand.substrands, - t2 = t1._list, - substrands = new Q.CopyOnWriteList(true, t2, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - if (is_5p) - idx = 0; - else { - t1 = J.get$length$asx(t2); - if (typeof t1 !== "number") - return t1.$sub(); - idx = t1 - 1; - } - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeAt$1$ax(substrands._copy_on_write_list$_list, idx); - return strand.rebuild$1(new G._remove_extension_from_strand_closure(substrands)); - }, - remove_domains: function(strands, state, domains) { - var t2, t3, t4, t5, t6, strand, new_strands, old_strand_idx, - t1 = type$.legacy_Strand, - strands_to_replace = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), - strand_to_domains = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Set_legacy_Domain); - for (t2 = J.get$iterator$ax(domains), t3 = type$.legacy_Domain; t2.moveNext$0();) { - t4 = t2.get$current(t2); - t5 = state.design; - t6 = t5.__substrand_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$substrand_to_strand.call(t5); - t5.set$__substrand_to_strand(t6); - t5 = t6; - } else - t5 = t6; - strand = J.$index$asx(t5._map$_map, t4); - if (strand_to_domains.$index(0, strand) == null) - strand_to_domains.$indexSet(0, strand, P.LinkedHashSet_LinkedHashSet$_empty(t3)); - strand_to_domains.$index(0, strand).add$1(0, t4); - } - for (t2 = strand_to_domains.get$keys(strand_to_domains), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - strands_to_replace.$indexSet(0, t3, G._remove_domains_from_strand(t3, strand_to_domains.$index(0, t3))); - } - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); - for (t3 = strands_to_replace.get$keys(strands_to_replace), t3 = t3.get$iterator(t3), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { - t5 = t3.get$current(t3); - t4._as(t5); - old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); - t5 = t2._as(strands_to_replace.$index(0, t5)); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); - } - return D._BuiltList$of(new_strands, t1); + MenuComponent_view_menu_warnings_closure1: function MenuComponent_view_menu_warnings_closure1(t0) { + this.$this = t0; }, - _remove_domains_from_strand: function(strand, domains_to_remove) { - var t4, substrand, last_substrands, - t1 = type$.JSArray_legacy_Substrand, - substrands = H.setRuntimeTypeInfo([], t1), - substrands_list = H.setRuntimeTypeInfo([substrands], type$.JSArray_legacy_List_legacy_Substrand), - t2 = strand.substrands._list, - t3 = J.getInterceptor$asx(t2), - ss_idx = 0; - while (true) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(ss_idx < t4)) - break; - substrand = t3.$index(t2, ss_idx); - if (domains_to_remove.contains$1(0, substrand)) { - if (substrands.length !== 0) - t4 = C.JSArray_methods.get$last(substrands) instanceof G.Loopout || C.JSArray_methods.get$last(substrands) instanceof S.Extension; - else - t4 = false; - if (t4) { - if (0 >= substrands.length) - return H.ioore(substrands, -1); - substrands.pop(); - } - if (substrands.length !== 0) { - substrands = H.setRuntimeTypeInfo([], t1); - C.JSArray_methods.add$1(substrands_list, substrands); - } - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return t4.$sub(); - if (ss_idx < t4 - 1) { - t4 = ss_idx + 1; - t4 = t3.$index(t2, t4) instanceof G.Loopout || t3.$index(t2, t4) instanceof S.Extension; - } else - t4 = false; - if (t4) - ++ss_idx; - } else - C.JSArray_methods.add$1(substrands, substrand); - ++ss_idx; - } - if (substrands.length === 0) { - if (0 >= substrands_list.length) - return H.ioore(substrands_list, -1); - substrands_list.pop(); - } else if (strand.circular) { - t1 = substrands_list.length; - if (t1 > 1) { - last_substrands = substrands_list[t1 - 1]; - C.JSArray_methods.addAll$1(last_substrands, substrands_list[0]); - t1 = substrands_list.length; - if (0 >= t1) - return H.ioore(substrands_list, 0); - substrands_list[0] = last_substrands; - if (0 >= t1) - return H.ioore(substrands_list, -1); - substrands_list.pop(); - } - strand = strand.rebuild$1(new G._remove_domains_from_strand_closure()); - } - return G.create_new_strands_from_substrand_lists(substrands_list, strand); + MenuComponent_view_menu_show_labels_closure: function MenuComponent_view_menu_show_labels_closure(t0) { + this.$this = t0; }, - remove_deletions_and_insertions: function(strands, state, deletions, insertions) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _i, deletion, insertion, new_strands, i, strand, substrands, j, domain, t13, deletions_existing, t14, insertions_existing, strand0, - t1 = type$.legacy_Strand, - strand_to_deletions = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableDeletion), - strand_to_insertions = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableInsertion); - for (t2 = strands._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.legacy_SelectableDeletion, t6 = type$.legacy_SelectableInsertion, t7 = type$.legacy_Domain, t8 = type$.legacy_Set_legacy_SelectableDeletion, t9 = type$.legacy_Set_legacy_SelectableInsertion; t4.moveNext$0();) { - t10 = t4.get$current(t4); - strand_to_deletions.$indexSet(0, t10, P.LinkedHashMap_LinkedHashMap$_empty(t7, t8)); - strand_to_insertions.$indexSet(0, t10, P.LinkedHashMap_LinkedHashMap$_empty(t7, t9)); - t11 = t10.__domains; - if (t11 == null) { - t11 = E.Strand.prototype.get$domains.call(t10); - t10.set$__domains(t11); - } - t11 = J.get$iterator$ax(t11._list); - for (; t11.moveNext$0();) { - t12 = t11.get$current(t11); - strand_to_deletions.$index(0, t10).$indexSet(0, t12, P.LinkedHashSet_LinkedHashSet$_empty(t5)); - strand_to_insertions.$index(0, t10).$indexSet(0, t12, P.LinkedHashSet_LinkedHashSet$_empty(t6)); - } - } - for (t4 = deletions.length, t5 = state.design, _i = 0; _i < deletions.length; deletions.length === t4 || (0, H.throwConcurrentModificationError)(deletions), ++_i) { - deletion = deletions[_i]; - t6 = t5.__substrand_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$substrand_to_strand.call(t5); - t5.set$__substrand_to_strand(t6); - } - t8 = deletion.domain; - J.add$1$ax(strand_to_deletions.$index(0, J.$index$asx(t6._map$_map, t8)).$index(0, t8), deletion); - } - for (t4 = insertions.length, _i = 0; _i < insertions.length; insertions.length === t4 || (0, H.throwConcurrentModificationError)(insertions), ++_i) { - insertion = insertions[_i]; - t6 = t5.__substrand_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$substrand_to_strand.call(t5); - t5.set$__substrand_to_strand(t6); - } - t8 = insertion.domain; - J.add$1$ax(strand_to_insertions.$index(0, J.$index$asx(t6._map$_map, t8)).$index(0, t8), insertion); - } - t4 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, t2, t4._eval$1("CopyOnWriteList<1>")); - t4 = t4._precomputed1; - t5 = type$.legacy_void_Function_legacy_StrandBuilder; - t6 = type$.legacy_int; - t8 = type$.legacy_void_Function_legacy_DomainBuilder; - i = 0; - while (true) { - t9 = t3.get$length(t2); - if (typeof t9 !== "number") - return H.iae(t9); - if (!(i < t9)) - break; - strand = t3.$index(t2, i); - t9 = strand.substrands; - t10 = H._instanceType(t9); - substrands = new Q.CopyOnWriteList(true, t9._list, t10._eval$1("CopyOnWriteList<1>")); - t9 = t10._precomputed1; - j = 0; - while (true) { - t10 = J.get$length$asx(substrands._copy_on_write_list$_list); - if (typeof t10 !== "number") - return H.iae(t10); - if (!(j < t10)) - break; - if (J.$index$asx(substrands._copy_on_write_list$_list, j) instanceof G.Domain) { - domain = t7._as(J.$index$asx(substrands._copy_on_write_list$_list, j)); - deletions = strand_to_deletions.$index(0, strand).$index(0, domain); - insertions = strand_to_insertions.$index(0, strand).$index(0, domain); - t10 = P.LinkedHashSet_LinkedHashSet$_empty(t6); - for (t11 = deletions.get$iterator(deletions); t11.moveNext$0();) - t10.add$1(0, t11.get$current(t11).offset); - t11 = P.LinkedHashSet_LinkedHashSet$_empty(t6); - for (t12 = insertions.get$iterator(insertions); t12.moveNext$0();) - t11.add$1(0, t12.get$current(t12).insertion.offset); - if (t10._collection$_length !== 0 || t11._collection$_length !== 0) { - t12 = domain.deletions; - t13 = H._instanceType(t12); - deletions_existing = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); - t12 = domain.insertions; - t14 = H._instanceType(t12); - insertions_existing = new Q.CopyOnWriteList(true, t12._list, t14._eval$1("CopyOnWriteList<1>")); - t10 = t13._eval$1("bool(1)")._as(new G.remove_deletions_and_insertions_closure(t10)); - deletions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(deletions_existing._copy_on_write_list$_list, t10); - t11 = t14._eval$1("bool(1)")._as(new G.remove_deletions_and_insertions_closure0(t11)); - insertions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(insertions_existing._copy_on_write_list$_list, t11); - t11 = t8._as(new G.remove_deletions_and_insertions_closure1(deletions_existing, insertions_existing)); - t14 = new G.DomainBuilder(); - t14._domain$_$v = domain; - t11.call$1(t14); - t10 = t9._as(t14.build$0()); - substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands._copy_on_write_list$_list, j, t10); - } - } - ++j; - } - t9 = t5._as(new G.remove_deletions_and_insertions_closure2(substrands)); - t10 = new E.StrandBuilder(); - t10._strand$_$v = strand; - t9.call$1(t10); - strand = t10.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t9 = strand.__first_domain; - if (t9 == null) - t9 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t9.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t4._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); - ++i; - } - return D._BuiltList$of(new_strands, t1); + MenuComponent_view_menu_show_labels_closure0: function MenuComponent_view_menu_show_labels_closure0() { }, - remove_modifications: function(strands, state, modifications) { - var t1, t2, _i, mod, t3, t4, new_strands, t5, t6, t7, _box_0, selectable_mods, strand_idx, strand, t8, t9, mods_int, strand0, - strand_id_to_mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Set_legacy_SelectableModification); - for (t1 = modifications.length, t2 = type$.legacy_SelectableModification, _i = 0; _i < modifications.length; modifications.length === t1 || (0, H.throwConcurrentModificationError)(modifications), ++_i) { - mod = modifications[_i]; - t3 = mod.get$strand(); - t4 = t3.__id; - if (!strand_id_to_mods.containsKey$1(0, t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4)) { - t3 = mod.get$strand(); - t4 = t3.__id; - t3 = t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4; - strand_id_to_mods.$indexSet(0, t3, P.LinkedHashSet_LinkedHashSet$_empty(t2)); - } - t3 = mod.get$strand(); - t4 = t3.__id; - strand_id_to_mods.$index(0, t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4).add$1(0, mod); - } - t1 = strands._list; - t2 = H._instanceType(strands); - new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.__id; - t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); - } - for (t5 = strand_id_to_mods.get$keys(strand_id_to_mods), t5 = t5.get$iterator(t5), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { - _box_0 = {}; - t7 = t5.get$current(t5); - selectable_mods = strand_id_to_mods.$index(0, t7); - strand_idx = C.JSArray_methods.indexOf$1(t3, t7); - strand = t4.$index(t1, strand_idx); - t7 = strand.modifications_int; - t8 = t7._map$_map; - t9 = H._instanceType(t7); - mods_int = new S.CopyOnWriteMap(t7._mapFactory, t8, t9._eval$1("@<1>")._bind$1(t9._rest[1])._eval$1("CopyOnWriteMap<1,2>")); - _box_0.remove_3p = _box_0.remove_5p = false; - for (t7 = new P._LinkedHashSetIterator(selectable_mods, selectable_mods._collection$_modifications, H._instanceType(selectable_mods)._eval$1("_LinkedHashSetIterator<1>")), t7._collection$_cell = selectable_mods._collection$_first; t7.moveNext$0();) { - t8 = t7._collection$_current; - if (t8 instanceof E.SelectableModification5Prime) - _box_0.remove_5p = true; - else if (t8 instanceof E.SelectableModification3Prime) - _box_0.remove_3p = true; - else if (t8 instanceof E.SelectableModificationInternal) { - t8 = t8.dna_idx; - mods_int._maybeCopyBeforeWrite$0(); - J.remove$1$ax(mods_int._copy_on_write_map$_map, t8); - } - } - t7 = t6._as(new G.remove_modifications_closure(_box_0, mods_int)); - t8 = new E.StrandBuilder(); - t8._strand$_$v = strand; - t7.call$1(t8); - strand = t8.build$0(); - strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); - if (J.get$length$asx(strand.substrands._list) === 1) { - t7 = strand.__first_domain; - if (t7 == null) - t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); - t7.toString; - } - strand.check_two_consecutive_loopouts$0(); - strand.check_loopouts_length$0(); - strand.check_at_least_one_domain$0(); - strand.check_only_at_ends$0(); - strand.check_not_adjacent_to_loopout$0(); - t2._as(strand0); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); - } - return D._BuiltList$of(new_strands, type$.legacy_Strand); + MenuComponent_view_menu_show_labels_closure1: function MenuComponent_view_menu_show_labels_closure1(t0) { + this.$this = t0; }, - delete_all_reducer_closure: function delete_all_reducer_closure() { + MenuComponent_view_menu_show_labels_closure2: function MenuComponent_view_menu_show_labels_closure2() { }, - delete_all_reducer_closure0: function delete_all_reducer_closure0() { + MenuComponent_view_menu_show_labels_closure3: function MenuComponent_view_menu_show_labels_closure3(t0) { + this.$this = t0; }, - delete_all_reducer_closure1: function delete_all_reducer_closure1() { + MenuComponent_view_menu_show_labels_closure4: function MenuComponent_view_menu_show_labels_closure4() { }, - delete_all_reducer_closure2: function delete_all_reducer_closure2() { + MenuComponent_view_menu_show_labels_closure5: function MenuComponent_view_menu_show_labels_closure5(t0) { + this.$this = t0; }, - delete_all_reducer_closure3: function delete_all_reducer_closure3(t0) { - this.state = t0; + MenuComponent_view_menu_show_labels_closure6: function MenuComponent_view_menu_show_labels_closure6() { }, - delete_all_reducer_closure4: function delete_all_reducer_closure4() { + MenuComponent_view_menu_mods_closure: function MenuComponent_view_menu_mods_closure(t0) { + this.$this = t0; }, - delete_all_reducer_closure5: function delete_all_reducer_closure5() { + MenuComponent_view_menu_mods_closure0: function MenuComponent_view_menu_mods_closure0(t0) { + this.$this = t0; }, - delete_all_reducer_closure6: function delete_all_reducer_closure6() { + MenuComponent_view_menu_mods_closure1: function MenuComponent_view_menu_mods_closure1() { }, - delete_all_reducer_closure7: function delete_all_reducer_closure7() { + MenuComponent_view_menu_helices_closure: function MenuComponent_view_menu_helices_closure(t0) { + this.$this = t0; }, - delete_all_reducer_closure8: function delete_all_reducer_closure8() { + MenuComponent_view_menu_helices_closure0: function MenuComponent_view_menu_helices_closure0(t0) { + this.$this = t0; }, - _remove_strands_closure: function _remove_strands_closure(t0) { - this.strands_to_remove = t0; + MenuComponent_view_menu_helices_closure1: function MenuComponent_view_menu_helices_closure1(t0) { + this.$this = t0; }, - _remove_strands__closure: function _remove_strands__closure(t0) { - this.strands_to_remove = t0; + MenuComponent_view_menu_helices_closure2: function MenuComponent_view_menu_helices_closure2(t0) { + this.$this = t0; }, - remove_linkers_from_strand_closure: function remove_linkers_from_strand_closure() { + MenuComponent_view_menu_display_major_ticks_options_closure: function MenuComponent_view_menu_display_major_ticks_options_closure(t0) { + this.$this = t0; }, - remove_linkers_from_strand_closure0: function remove_linkers_from_strand_closure0() { + MenuComponent_view_menu_display_major_ticks_options_closure0: function MenuComponent_view_menu_display_major_ticks_options_closure0(t0) { + this.$this = t0; }, - create_new_strands_from_substrand_lists_closure: function create_new_strands_from_substrand_lists_closure(t0) { - this.i = t0; + MenuComponent_view_menu_display_major_ticks_options_closure1: function MenuComponent_view_menu_display_major_ticks_options_closure1() { }, - create_new_strands_from_substrand_lists_closure0: function create_new_strands_from_substrand_lists_closure0() { + MenuComponent_view_menu_display_major_ticks_options_closure2: function MenuComponent_view_menu_display_major_ticks_options_closure2(t0) { + this.$this = t0; }, - create_new_strands_from_substrand_lists_closure1: function create_new_strands_from_substrand_lists_closure1() { + MenuComponent_view_menu_display_major_ticks_options_closure3: function MenuComponent_view_menu_display_major_ticks_options_closure3(t0) { + this.$this = t0; }, - _remove_extension_from_strand_closure: function _remove_extension_from_strand_closure(t0) { - this.substrands = t0; + MenuComponent_view_menu_display_major_ticks_options_closure4: function MenuComponent_view_menu_display_major_ticks_options_closure4() { }, - _remove_domains_from_strand_closure: function _remove_domains_from_strand_closure() { + MenuComponent_view_menu_base_pairs_closure: function MenuComponent_view_menu_base_pairs_closure(t0) { + this.$this = t0; }, - remove_deletions_and_insertions_closure: function remove_deletions_and_insertions_closure(t0) { - this.deletions_offsets_to_remove = t0; + MenuComponent_view_menu_base_pairs_closure0: function MenuComponent_view_menu_base_pairs_closure0(t0) { + this.$this = t0; }, - remove_deletions_and_insertions_closure0: function remove_deletions_and_insertions_closure0(t0) { - this.insertions_offsets_to_remove = t0; + MenuComponent_view_menu_base_pairs_closure1: function MenuComponent_view_menu_base_pairs_closure1(t0) { + this.$this = t0; }, - remove_deletions_and_insertions_closure1: function remove_deletions_and_insertions_closure1(t0, t1) { - this.deletions_existing = t0; - this.insertions_existing = t1; + MenuComponent_view_menu_dna_closure: function MenuComponent_view_menu_dna_closure(t0) { + this.$this = t0; }, - remove_deletions_and_insertions_closure2: function remove_deletions_and_insertions_closure2(t0) { - this.substrands = t0; + MenuComponent_view_menu_dna_closure0: function MenuComponent_view_menu_dna_closure0(t0) { + this.$this = t0; }, - remove_modifications_closure: function remove_modifications_closure(t0, t1) { - this._box_0 = t0; - this.mods_int = t1; + MenuComponent_view_menu_show_oxview_closure: function MenuComponent_view_menu_show_oxview_closure(t0) { + this.$this = t0; }, - Insertion_Insertion: function(offset, count) { - var t1 = new G.InsertionBuilder(); - type$.legacy_void_Function_legacy_InsertionBuilder._as(new G.Insertion_Insertion_closure(offset, count)).call$1(t1); - return t1.build$0(); + MenuComponent_view_menu_zoom_speed_closure: function MenuComponent_view_menu_zoom_speed_closure() { }, - Domain_Domain: function(deletions, end, $forward, helix, insertions, is_first, is_last, is_scaffold, start) { - var t2, _null = null, t1 = {}; - t1.deletions = deletions; - t1.insertions = insertions; - if (deletions == null) - t1.deletions = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_int); - if (insertions == null) - t1.insertions = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_Insertion); - t2 = new G.DomainBuilder(); - type$.legacy_void_Function_legacy_DomainBuilder._as(new G.Domain_Domain_closure(t1, helix, $forward, start, end, _null, _null, _null, _null, _null, is_first, is_last, is_scaffold)).call$1(t2); - return t2.build$0(); + MenuComponent_view_menu_misc_closure: function MenuComponent_view_menu_misc_closure(t0) { + this.$this = t0; }, - Domain_from_json: function(json_map) { - var $name, label, unused_fields, i, j, j0, ins1, ins2, _i, deletion, insertion, _s6_ = "Domain", _null = null, - _s17_ = "insertion offset ", - $forward = E.mandatory_field(json_map, "forward", _s6_, C.List_right), - helix = E.mandatory_field(json_map, "helix", _s6_, C.List_empty0), - start = E.mandatory_field(json_map, "start", _s6_, C.List_empty0), - end = E.mandatory_field(json_map, "end", _s6_, C.List_empty0), - t1 = type$.dynamic, - t2 = type$.legacy_int, - deletions = P.List_List$from(E.optional_field(json_map, "deletions", [], C.List_empty0, _null, _null, type$.legacy_Iterable_dynamic, t1), true, t2), - insertions = G.Domain_parse_json_insertions(E.optional_field(json_map, "insertions", [], C.List_empty0, _null, _null, type$.legacy_List_dynamic, t1)), - t3 = J.getInterceptor$x(json_map), - color = t3.containsKey$1(json_map, "color") ? E.parse_json_color(t3.$index(json_map, "color")) : _null; - t3 = type$.legacy_String; - $name = E.optional_field_with_null_default(json_map, "name", C.List_empty0, t3, t1); - label = E.optional_field_with_null_default(json_map, "label", C.List_empty0, t3, t1); - unused_fields = E.unused_fields_map(json_map, $.$get$domain_keys()); - t2 = P.LinkedHashSet_LinkedHashSet$from(deletions, t2); - deletions = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("SetMixin.E")); - t2 = P.LinkedHashSet_LinkedHashSet$from(insertions, type$.legacy_Insertion); - insertions = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("SetMixin.E")); - for (t1 = insertions.length, i = 0; i < t1; i = j) - for (j = i + 1, j0 = j; j0 < t1; ++j0) { - ins1 = insertions[i]; - ins2 = insertions[j0]; - if (ins1.offset === ins2.offset) - throw H.wrapException(N.IllegalDesignError$("two insertions on a domain have the same offset but different lengths:\n" + ins1.toString$0(0) + "\n" + ins2.toString$0(0) + "\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - } - for (t2 = deletions.length, _i = 0; _i < t2; ++_i) { - deletion = deletions[_i]; - H._asNumS(start); - if (typeof deletion !== "number") - return deletion.$lt(); - if (typeof start !== "number") - return H.iae(start); - if (deletion < start) - throw H.wrapException(N.IllegalDesignError$("deletion " + H.S(deletion) + " cannot be less than offset " + H.S(start) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - H._asNumS(end); - if (typeof end !== "number") - return H.iae(end); - if (deletion >= end) - throw H.wrapException(N.IllegalDesignError$("deletion " + H.S(deletion) + " cannot be greater than or equal to offset " + H.S(end) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - } - for (_i = 0; _i < t1; ++_i) { - insertion = insertions[_i]; - t2 = insertion.offset; - H._asNumS(start); - if (typeof start !== "number") - return H.iae(start); - if (t2 < start) - throw H.wrapException(N.IllegalDesignError$(_s17_ + t2 + " cannot be less than start offset " + H.S(start) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - H._asNumS(end); - if (typeof end !== "number") - return H.iae(end); - if (t2 >= end) - throw H.wrapException(N.IllegalDesignError$(_s17_ + t2 + " cannot be greater than or equal to end offset " + H.S(end) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - t2 = insertion.length; - if (t2 <= 0) - throw H.wrapException(N.IllegalDesignError$("insertion length " + t2 + " cannot be less than or equal to 0.\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); - } - t1 = new G.DomainBuilder(); - H._asBoolS($forward); - t1.get$_domain$_$this()._domain$_forward = $forward; - H._asIntS(helix); - t1.get$_domain$_$this()._domain$_helix = helix; - H._asIntS(start); - t1.get$_domain$_$this()._start = start; - H._asIntS(end); - t1.get$_domain$_$this()._end = end; - t1.get$deletions().replace$1(0, deletions); - t1.get$insertions().replace$1(0, insertions); - t1.get$_domain$_$this()._domain$_color = color; - t1.get$_domain$_$this()._domain$_name = $name; - t1.get$_domain$_$this()._domain$_label = label; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(unused_fields); - t1.get$_domain$_$this().set$_domain$_unused_fields(unused_fields); - return t1; + MenuComponent_view_menu_misc_closure0: function MenuComponent_view_menu_misc_closure0(t0) { + this.$this = t0; }, - Domain_pre_domain_description: function(helix, $forward, start, end) { - return "This occurred on a " + (H.boolConversionCheck($forward) ? "forward" : "reverse") + " Domain with\n helix = " + H.S(helix) + "\n start = " + H.S(start) + "\n end = " + H.S(end) + "."; + MenuComponent_view_menu_misc_closure1: function MenuComponent_view_menu_misc_closure1(t0) { + this.$this = t0; }, - Domain_parse_json_insertions: function(json_encoded_insertions) { - return P.List_List$from(J.map$1$ax(json_encoded_insertions, new G.Domain_parse_json_insertions_closure()), true, type$.legacy_Insertion); + MenuComponent_view_menu_misc_closure2: function MenuComponent_view_menu_misc_closure2(t0) { + this.$this = t0; }, - Domain_num_insertions_in_list: function(insertions) { - var t1, num; - for (t1 = insertions.get$iterator(insertions), num = 0; t1.moveNext$0();) - num += t1.get$current(t1).length; - return num; + MenuComponent_view_menu_misc_closure3: function MenuComponent_view_menu_misc_closure3(t0) { + this.$this = t0; }, - Insertion: function Insertion() { + MenuComponent_view_menu_misc_closure4: function MenuComponent_view_menu_misc_closure4(t0) { + this.$this = t0; }, - Insertion_Insertion_closure: function Insertion_Insertion_closure(t0, t1) { - this.offset = t0; - this.count = t1; + MenuComponent_view_menu_misc_closure5: function MenuComponent_view_menu_misc_closure5(t0) { + this.$this = t0; }, - Domain: function Domain() { + MenuComponent_export_menu_closure: function MenuComponent_export_menu_closure() { }, - Domain_Domain_closure: function Domain_Domain_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { - var _ = this; - _._box_0 = t0; - _.helix = t1; - _.forward = t2; - _.start = t3; - _.end = t4; - _.name = t5; - _.label = t6; - _.dna_sequence = t7; - _.color = t8; - _.strand_id = t9; - _.is_first = t10; - _.is_last = t11; - _.is_scaffold = t12; + MenuComponent_export_menu_closure0: function MenuComponent_export_menu_closure0() { }, - Domain_set_dna_sequence_closure: function Domain_set_dna_sequence_closure(t0) { - this.seq = t0; + MenuComponent_export_menu_closure1: function MenuComponent_export_menu_closure1() { }, - Domain_to_json_serializable_closure: function Domain_to_json_serializable_closure(t0) { - this.suppress_indent = t0; + MenuComponent_export_menu_closure2: function MenuComponent_export_menu_closure2(t0) { + this.$this = t0; }, - Domain_parse_json_insertions_closure: function Domain_parse_json_insertions_closure() { + MenuComponent_export_menu_closure3: function MenuComponent_export_menu_closure3() { }, - Domain_dna_length_in_closure: function Domain_dna_length_in_closure(t0, t1) { - this.left = t0; - this.right = t1; + MenuComponent_export_menu_closure4: function MenuComponent_export_menu_closure4() { }, - Domain_dna_length_in_closure0: function Domain_dna_length_in_closure0(t0, t1) { - this.left = t0; - this.right = t1; + MenuComponent_export_menu_closure5: function MenuComponent_export_menu_closure5() { }, - Domain_dna_sequence_deletions_insertions_to_spaces_closure: function Domain_dna_sequence_deletions_insertions_to_spaces_closure() { + MenuComponent_export_menu_closure6: function MenuComponent_export_menu_closure6() { }, - Domain_dna_sequence_deletions_insertions_to_spaces_closure0: function Domain_dna_sequence_deletions_insertions_to_spaces_closure0() { + MenuComponent_export_menu_closure7: function MenuComponent_export_menu_closure7(t0) { + this.$this = t0; }, - Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds: function Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(t0, t1) { + MenuComponent_export_menu_closure8: function MenuComponent_export_menu_closure8(t0) { this.$this = t0; - this.forward = t1; }, - Domain_net_ins_del_length_increase_from_5p_to_closure: function Domain_net_ins_del_length_increase_from_5p_to_closure() { + MenuComponent_export_menu_closure9: function MenuComponent_export_menu_closure9(t0) { + this.$this = t0; }, - Domain_net_ins_del_length_increase_from_5p_to_closure0: function Domain_net_ins_del_length_increase_from_5p_to_closure0() { + MenuComponent_help_menu_closure: function MenuComponent_help_menu_closure() { }, - _$InsertionSerializer: function _$InsertionSerializer() { + request_load_file_from_file_chooser_closure: function request_load_file_from_file_chooser_closure(t0, t1, t2) { + this.onload_callback = t0; + this.file_reader = t1; + this.basefilename = t2; }, - _$DomainSerializer: function _$DomainSerializer() { + request_load_file_from_file_chooser_closure0: function request_load_file_from_file_chooser_closure0(t0) { + this.err_msg = t0; }, - _$Insertion: function _$Insertion(t0, t1, t2) { - var _ = this; - _.offset = t0; - _.length = t1; - _.strand_id = t2; - _._domain$__hashCode = null; + $MenuComponentFactory_closure: function $MenuComponentFactory_closure() { }, - InsertionBuilder: function InsertionBuilder() { + _$$MenuProps: function _$$MenuProps() { + }, + _$$MenuProps$PlainMap: function _$$MenuProps$PlainMap(t0, t1, t2, t3) { var _ = this; - _._domain$_strand_id = _._domain$_length = _._domain$_offset = _._domain$_$v = null; + _._menu$_props = t0; + _.MenuProps___MenuProps_state_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - _$Domain: function _$Domain(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + _$$MenuProps$JsMap: function _$$MenuProps$JsMap(t0, t1, t2, t3) { var _ = this; - _.helix = t0; - _.forward = t1; - _.start = t2; - _.end = t3; - _.deletions = t4; - _.insertions = t5; - _.is_first = t6; - _.is_last = t7; - _.is_scaffold = t8; - _.name = t9; - _.label = t10; - _.dna_sequence = t11; - _.color = t12; - _.strand_id = t13; - _.unused_fields = t14; - _._domain$__hashCode = _.__num_insertions = _.__offset_3p = _.__offset_5p = _._domain$__address_3p = _._domain$__address_5p = _.__address_end = _.__address_start = _._domain$__selectable_insertions = _._domain$__selectable_deletions = _.__dnaend_end = _.__dnaend_start = _.__insertion_offset_to_length = _._domain$__select_mode = _._domain$__id = null; + _._menu$_props = t0; + _.MenuProps___MenuProps_state_A = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t2; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t3; }, - DomainBuilder: function DomainBuilder() { + _$MenuComponent: function _$MenuComponent(t0) { var _ = this; - _._domain$_unused_fields = _._domain$_strand_id = _._domain$_color = _._domain$_dna_sequence = _._domain$_label = _._domain$_name = _._domain$_is_scaffold = _._is_last = _._is_first = _._insertions = _._deletions = _._end = _._start = _._domain$_forward = _._domain$_helix = _._domain$_$v = null; + _.___$MenuComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _Domain_Object_SelectableMixin: function _Domain_Object_SelectableMixin() { + $MenuProps: function $MenuProps() { }, - _Domain_Object_SelectableMixin_BuiltJsonSerializable: function _Domain_Object_SelectableMixin_BuiltJsonSerializable() { + __$$MenuProps_UiProps_MenuProps: function __$$MenuProps_UiProps_MenuProps() { }, - _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + __$$MenuProps_UiProps_MenuProps_$MenuProps: function __$$MenuProps_UiProps_MenuProps_$MenuProps() { }, - _Insertion_Object_BuiltJsonSerializable: function _Insertion_Object_BuiltJsonSerializable() { + _$MenuBoolean(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuBooleanProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuBooleanProps__$$MenuBooleanProps(backingProps); }, - HelixGroupMove_HelixGroupMove: function(group, group_name, helices, original_mouse_point) { + _$$MenuBooleanProps__$$MenuBooleanProps(backingMap) { var t1; - if (J.get$isEmpty$asx(helices._map$_map)) - throw H.wrapException(P.ArgumentError$value("helices should not be empty in a HelixGroupMove object", null, null)); - t1 = new G.HelixGroupMoveBuilder(); - type$.legacy_void_Function_legacy_HelixGroupMoveBuilder._as(new G.HelixGroupMove_HelixGroupMove_closure(group_name, group, helices, original_mouse_point)).call$1(t1); - return t1.build$0(); + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuBooleanProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuBooleanProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_boolean$_props = backingMap; + return t1; + } }, - HelixGroupMove: function HelixGroupMove() { + _$$MenuBooleanProps$JsMap$(backingMap) { + var t1 = new A._$$MenuBooleanProps$JsMap(new A.JsBackedMap({}), $, $, $, null, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_boolean$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - HelixGroupMove_HelixGroupMove_closure: function HelixGroupMove_HelixGroupMove_closure(t0, t1, t2, t3) { - var _ = this; - _.group_name = t0; - _.group = t1; - _.helices = t2; - _.original_mouse_point = t3; + MenuBooleanProps: function MenuBooleanProps() { }, - HelixGroupMove_current_position_closure: function HelixGroupMove_current_position_closure(t0, t1) { - this.$this = t0; - this.nm_translation = t1; + MenuBooleanComponent: function MenuBooleanComponent() { }, - _$HelixGroupMoveSerializer: function _$HelixGroupMoveSerializer() { + $MenuBooleanComponentFactory_closure: function $MenuBooleanComponentFactory_closure() { }, - _$HelixGroupMove: function _$HelixGroupMove(t0, t1, t2, t3, t4) { - var _ = this; - _.group_name = t0; - _.group = t1; - _.helices = t2; - _.original_mouse_point = t3; - _.current_mouse_point = t4; - _._helix_group_move$__hashCode = _.__geometry = _._helix_group_move$__helix_idxs_in_group = _.__is_nontrivial = _.__delta = _.__current_position = null; + _$$MenuBooleanProps: function _$$MenuBooleanProps() { }, - HelixGroupMoveBuilder: function HelixGroupMoveBuilder() { + _$$MenuBooleanProps$PlainMap: function _$$MenuBooleanProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _._current_mouse_point = _._original_mouse_point = _._helix_group_move$_helices = _._helix_group_move$_group = _._helix_group_move$_group_name = _._helix_group_move$_$v = null; - }, - _HelixGroupMove_Object_BuiltJsonSerializable: function _HelixGroupMove_Object_BuiltJsonSerializable() { - }, - Loopout_Loopout: function(is_scaffold, loopout_num_bases, prev_domain_idx) { - var _null = null, - t1 = new G.LoopoutBuilder(); - type$.legacy_void_Function_legacy_LoopoutBuilder._as(new G.Loopout_Loopout_closure(loopout_num_bases, prev_domain_idx, is_scaffold, _null, _null, _null, _null)).call$1(t1); - return t1.build$0(); - }, - Loopout: function Loopout() { + _._menu_boolean$_props = t0; + _.MenuBooleanProps___MenuBooleanProps_value_A = t1; + _.MenuBooleanProps___MenuBooleanProps_display_A = t2; + _.MenuBooleanProps___MenuBooleanProps_on_change_A = t3; + _.MenuBooleanProps_name = t4; + _.MenuBooleanProps___MenuBooleanProps_hide_A = t5; + _.MenuBooleanProps___MenuBooleanProps_tooltip_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - Loopout_Loopout_closure: function Loopout_Loopout_closure(t0, t1, t2, t3, t4, t5, t6) { + _$$MenuBooleanProps$JsMap: function _$$MenuBooleanProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _.loopout_num_bases = t0; - _.prev_domain_idx = t1; - _.is_scaffold = t2; - _.dna_sequence = t3; - _.color = t4; - _.name = t5; - _.label = t6; + _._menu_boolean$_props = t0; + _.MenuBooleanProps___MenuBooleanProps_value_A = t1; + _.MenuBooleanProps___MenuBooleanProps_display_A = t2; + _.MenuBooleanProps___MenuBooleanProps_on_change_A = t3; + _.MenuBooleanProps_name = t4; + _.MenuBooleanProps___MenuBooleanProps_hide_A = t5; + _.MenuBooleanProps___MenuBooleanProps_tooltip_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - Loopout_set_dna_sequence_closure: function Loopout_set_dna_sequence_closure(t0) { - this.seq = t0; + _$MenuBooleanComponent: function _$MenuBooleanComponent(t0) { + var _ = this; + _.___$MenuBooleanComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _$LoopoutSerializer: function _$LoopoutSerializer() { + $MenuBooleanProps: function $MenuBooleanProps() { }, - _$Loopout: function _$Loopout(t0, t1, t2, t3, t4, t5, t6, t7, t8) { - var _ = this; - _.loopout_num_bases = t0; - _.name = t1; - _.label = t2; - _.prev_domain_idx = t3; - _.dna_sequence = t4; - _.color = t5; - _.strand_id = t6; - _.is_scaffold = t7; - _.unused_fields = t8; - _._loopout$__hashCode = _._loopout$__id = _._loopout$__select_mode = _.__next_domain_idx = null; + __$$MenuBooleanProps_UiProps_MenuBooleanProps: function __$$MenuBooleanProps_UiProps_MenuBooleanProps() { }, - LoopoutBuilder: function LoopoutBuilder() { - var _ = this; - _._loopout$_unused_fields = _._loopout$_is_scaffold = _._loopout$_strand_id = _._loopout$_color = _._loopout$_dna_sequence = _._prev_domain_idx = _._loopout$_label = _._loopout$_name = _._loopout_num_bases = _._loopout$_$v = null; + __$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps: function __$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps() { }, - _Loopout_Object_SelectableMixin: function _Loopout_Object_SelectableMixin() { + _$MenuDropdownItem(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuDropdownItemProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuDropdownItemProps__$$MenuDropdownItemProps(backingProps); }, - _Loopout_Object_SelectableMixin_BuiltJsonSerializable: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable() { + _$$MenuDropdownItemProps__$$MenuDropdownItemProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuDropdownItemProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuDropdownItemProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, null, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_item$_props = backingMap; + return t1; + } }, - _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + _$$MenuDropdownItemProps$JsMap$(backingMap) { + var t1 = new A._$$MenuDropdownItemProps$JsMap(new A.JsBackedMap({}), $, $, null, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_item$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - SourceSpanFormatException$: function(message, span, source) { - return new G.SourceSpanFormatException(source, message, span); + MenuDropdownItemProps: function MenuDropdownItemProps() { }, - SourceSpanException: function SourceSpanException() { + MenuDropdownItemComponent: function MenuDropdownItemComponent() { }, - SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) { - this.source = t0; - this._span_exception$_message = t1; - this._span = t2; + $MenuDropdownItemComponentFactory_closure: function $MenuDropdownItemComponentFactory_closure() { }, - XmlElement$: function($name, attributesIterable, childrenIterable, isSelfClosing) { - var t4, - t1 = B.XmlNodeList$(type$.XmlNode), - t2 = B.XmlNodeList$(type$.XmlAttribute), - t3 = new G.XmlElement(isSelfClosing, $name, t1, t2, null); - $name.toString; - H._instanceType($name)._eval$1("XmlHasParent.T")._as(t3); - if ($name.get$parent($name) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + $name.toString$0(0))); - $name.set$_has_parent$_parent(t3); - t4 = type$.Set_XmlNodeType; - t4._as(C.Set_EeIxt); - if (t2.__XmlNodeList__parent === $) - t2.__XmlNodeList__parent = t3; - else - H.throwExpression(H.LateError$fieldAI("_parent")); - t2.set$_nodeTypes(C.Set_EeIxt); - t2.addAll$1(0, attributesIterable); - t4._as(C.Set_q81d9); - if (t1.__XmlNodeList__parent === $) - t1.__XmlNodeList__parent = t3; - else - H.throwExpression(H.LateError$fieldAI("_parent")); - t1.set$_nodeTypes(C.Set_q81d9); - t1.addAll$1(0, childrenIterable); - return t3; + _$$MenuDropdownItemProps: function _$$MenuDropdownItemProps() { }, - XmlElement: function XmlElement(t0, t1, t2, t3, t4) { + _$$MenuDropdownItemProps$PlainMap: function _$$MenuDropdownItemProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; - _.isSelfClosing = t0; - _.name = t1; - _.XmlHasChildren_children = t2; - _.XmlHasAttributes_attributes = t3; - _.XmlHasParent__parent = t4; - }, - XmlElement_copy_closure: function XmlElement_copy_closure() { + _._menu_dropdown_item$_props = t0; + _.MenuDropdownItemProps___MenuDropdownItemProps_display_A = t1; + _.MenuDropdownItemProps___MenuDropdownItemProps_on_click_A = t2; + _.MenuDropdownItemProps_keyboard_shortcut = t3; + _.MenuDropdownItemProps___MenuDropdownItemProps_disabled_A = t4; + _.MenuDropdownItemProps___MenuDropdownItemProps_active_A = t5; + _.MenuDropdownItemProps___MenuDropdownItemProps_tooltip_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - XmlElement_copy_closure0: function XmlElement_copy_closure0() { + _$$MenuDropdownItemProps$JsMap: function _$$MenuDropdownItemProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_item$_props = t0; + _.MenuDropdownItemProps___MenuDropdownItemProps_display_A = t1; + _.MenuDropdownItemProps___MenuDropdownItemProps_on_click_A = t2; + _.MenuDropdownItemProps_keyboard_shortcut = t3; + _.MenuDropdownItemProps___MenuDropdownItemProps_disabled_A = t4; + _.MenuDropdownItemProps___MenuDropdownItemProps_active_A = t5; + _.MenuDropdownItemProps___MenuDropdownItemProps_tooltip_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - _XmlElement_XmlNode_XmlHasParent: function _XmlElement_XmlNode_XmlHasParent() { + _$MenuDropdownItemComponent: function _$MenuDropdownItemComponent(t0) { + var _ = this; + _.___$MenuDropdownItemComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - _XmlElement_XmlNode_XmlHasParent_XmlHasName: function _XmlElement_XmlNode_XmlHasParent_XmlHasName() { + $MenuDropdownItemProps: function $MenuDropdownItemProps() { }, - _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes: function _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes() { + __$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps() { }, - _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren: function _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren() { + __$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps() { }, - XmlParserDefinition: function XmlParserDefinition(t0) { - this.entityMapping = t0; + _$MenuDropdownRight(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuDropdownRightProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuDropdownRightProps__$$MenuDropdownRightProps(backingProps); }, - helix_hide_all_middleware: function(store, action, next) { - var ui_state, design, t1; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if ((action instanceof U.SetOnlyDisplaySelectedHelices || action instanceof U.HelixSelect || action instanceof U.HelixSelectionsAdjust || action instanceof U.HelixSelectionsClear || action instanceof U.HelixRemoveAllSelected || action instanceof U.HelixRemove || action instanceof U.LoadDNAFile || action instanceof U.SetAppUIStateStorable) && !store.get$state(store).get$has_error()) { - ui_state = store.get$state(store).ui_state; - design = store.get$state(store).design; - t1 = ui_state.storables; - if (t1.only_display_selected_helices) { - t1 = t1.side_selected_helix_idxs._set; - t1 = t1.get$isEmpty(t1) && J.get$isNotEmpty$asx(design.helices._map$_map); - } else - t1 = false; - if (t1) - E.async_alert('The option "Display only selected helices" is enabled. Since no helices are selected, none will be displayed in the main view.\n\nTo display the helices, either select some helices in the side view, or disable the option "View-->Helices-->Display only selected helices".'); + _$$MenuDropdownRightProps__$$MenuDropdownRightProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuDropdownRightProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuDropdownRightProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, null, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_props = backingMap; + return t1; } }, - system_clipboard_middleware: function(store, action, next) { - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.CopySelectedStrands) { - G.put_strand_info_on_clipboard(store); - next.call$1(action); - } else if (action instanceof U.ManualPasteInitiate) - G.handle_manual_paste_initiate(store, action, next); - else if (action instanceof U.AutoPasteInitiate) - G.handle_autopaste_initiate(store, action, next); - else - next.call$1(action); + _$$MenuDropdownRightProps$JsMap$(backingMap) { + var t1 = new A._$$MenuDropdownRightProps$JsMap(new A.JsBackedMap({}), $, $, null, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - handle_manual_paste_initiate: function(store, action, next) { - var copy_info, t1; - if (G.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) - return; - next.call$1(action); - copy_info = store.get$state(store).ui_state.copy_info; - t1 = copy_info.strands; - store.dispatch$1(U._$StrandsMoveStart$_(copy_info.copied_address, true, copy_info.helices_view_order_inverse, t1)); + _$$MenuDropdownRightState$JsMap$(backingMap) { + var t1 = new A._$$MenuDropdownRightState$JsMap(new A.JsBackedMap({}), null, $); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_state = backingMap; + return t1; }, - handle_autopaste_initiate: function(store, action, next) { - var copy_info, strands_move, batch_actions_list, new_strand_moving_details, t1, helix_idx, helices_offset_change_action, _s6_ = "status", - _s7_ = "offsets", - _s17_ = "HelixOffsetChange", - _s9_ = "helix_idx"; - if (G.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) - return; - next.call$1(action); - copy_info = store.get$state(store).ui_state.copy_info; - strands_move = copy_info.create_strands_move$2$start_at_copied(store.get$state(store), true); - if (!D.in_bounds_and_allowable(store.get$state(store).design, strands_move)) - strands_move = copy_info.create_strands_move$2$start_at_copied(store.get$state(store), false); - batch_actions_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - new_strand_moving_details = D.get_strand_bounds_details(store.get$state(store).design, strands_move, null); - if (store.get$state(store).ui_state.storables.dynamically_update_helices) - if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_2 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_3) - for (t1 = new_strand_moving_details.$index(0, _s7_), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - helix_idx = H._asIntS(t1.get$current(t1)); - if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_2) { - helices_offset_change_action = new U._$HelixOffsetChange(helix_idx, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx), null); - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, _s9_)); - } else { - helices_offset_change_action = new U._$HelixOffsetChange(helix_idx, null, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx)); - if (helix_idx == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, _s9_)); - } - C.JSArray_methods.add$1(batch_actions_list, helices_offset_change_action); - } - if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_6 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_4 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_5) { - C.JSArray_methods.add$1(batch_actions_list, U._$StrandsMoveCommit$_(true, strands_move)); - store.dispatch$1(U.BatchAction_BatchAction(batch_actions_list, "Changing helix offsets and then executing autopaste")); - } + MenuDropdownRightProps: function MenuDropdownRightProps() { }, - paste_is_impossible_from_clipboard: function(clipboard_content, in_browser) { - var strands, helices_view_order, - _s76_ = "copied Strands came from more than one HelixGroup, so they cannot be pasted.", - strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(clipboard_content); - if (strands_and_helices_view_order == null) - return true; - strands = strands_and_helices_view_order.item1; - helices_view_order = strands_and_helices_view_order.item2; - if (J.get$isEmpty$asx(strands)) - return true; - if (helices_view_order == null) { - P.print(_s76_); - if (in_browser) - C.Window_methods.alert$1(window, _s76_); - return true; - } - return false; + MenuDropdownRightState: function MenuDropdownRightState() { }, - put_strand_info_on_clipboard: function(store) { - var clipboard_strings, t2, strand_json, strands_json, design, helices_view_order, modifications, encoder, mods_map, t3, mod_json, clipboard_content, - strands = store.get$state(store).ui_state.selectables_store.get$selected_strands(), - t1 = strands._set; - if (t1.get$isNotEmpty(t1)) { - clipboard_strings = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = t1.get$iterator(t1); t2.moveNext$0();) { - strand_json = K.json_encode(t2.get$current(t2), true); - strand_json.toString; - C.JSArray_methods.add$1(clipboard_strings, H.stringReplaceAllUnchecked(strand_json, "\n", "\n ")); - } - strands_json = C.JSArray_methods.join$1(clipboard_strings, ",\n "); - design = store.get$state(store).design; - t2 = design.group_names_of_strands$1(strands)._set; - if (t2.get$length(t2) === 1) { - t1 = design.group_of_helix_idx$1(t1.get$first(t1).get$first_domain().helix).helices_view_order; - helices_view_order = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - } else - helices_view_order = null; - modifications = G.all_modifications(D.BuiltList_BuiltList$from(strands, strands.$ti._precomputed1)); - t1 = type$.dynamic; - encoder = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), true); - mods_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, t1); - t2 = modifications._set; - t3 = t2.get$length(t2); - if (typeof t3 !== "number") - return t3.$gt(); - if (t3 > 0) - for (t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (!mods_map.containsKey$1(0, t3.get$vendor_code())) - mods_map.$indexSet(0, t3.get$vendor_code(), t3.to_json_serializable$1$suppress_indent(true)); - } - mod_json = encoder.convert$1(mods_map); - clipboard_content = '{\n "strands": [\n ' + strands_json + '\n ],\n "helices_view_order": ' + H.S(helices_view_order) + ',\n "modifications_in_design": [\n ' + mod_json + "\n ]\n}"; - $.$get$clipboard().toString; - P.promiseToFuture(window.navigator.clipboard.writeText(clipboard_content), t1); - } + MenuDropdownRightComponent: function MenuDropdownRightComponent() { }, - all_modifications: function(strands) { - var t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, - t1 = type$.dynamic, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = strands._list, t4 = J.getInterceptor$ax(t3), t5 = t4.get$iterator(t3); t5.moveNext$0();) { - t6 = t5.get$current(t5).modification_5p; - if (t6 != null) - t2.add$1(0, t6); - } - t5 = type$.legacy_Modification; - mods_5p = X.BuiltSet_BuiltSet$from(t2, t5); - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t6 = t4.get$iterator(t3); t6.moveNext$0();) { - t7 = t6.get$current(t6).modification_3p; - if (t7 != null) - t2.add$1(0, t7); - } - mods_3p = X.BuiltSet_BuiltSet$from(t2, t5); - t1 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = t4.get$iterator(t3); t2.moveNext$0();) { - t3 = t2.get$current(t2).modifications_int; - if (t3._values == null) - t3.set$_values(J.get$values$x(t3._map$_map)); - t3 = t3._values; - t3.toString; - t3 = J.get$iterator$ax(t3); - for (; t3.moveNext$0();) - t1.add$1(0, t3.get$current(t3)); - } - mods_int = X.BuiltSet_BuiltSet$from(t1, t5); - return mods_5p.union$1(mods_3p).union$1(mods_int); - } - }, - N = { - expectQuotedString: function(scanner) { - var string; - scanner.expect$2$name($.$get$_quotedString(), "quoted string"); - string = scanner.get$lastMatch().$index(0, 0); - return C.JSString_methods.splitMapJoin$2$onMatch(J.substring$2$s(string, 1, string.length - 1), $.$get$_quotedPair(), type$.String_Function_Match._as(new N.expectQuotedString_closure())); + $MenuDropdownRightComponentFactory_closure: function $MenuDropdownRightComponentFactory_closure() { }, - expectQuotedString_closure: function expectQuotedString_closure() { + _$$MenuDropdownRightProps: function _$$MenuDropdownRightProps() { }, - RepeatingParser: function RepeatingParser() { + _$$MenuDropdownRightProps$PlainMap: function _$$MenuDropdownRightProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_right$_props = t0; + _.MenuDropdownRightProps___MenuDropdownRightProps_title__A = t1; + _.MenuDropdownRightProps___MenuDropdownRightProps_id__A = t2; + _.MenuDropdownRightProps_keyboard_shortcut = t3; + _.MenuDropdownRightProps___MenuDropdownRightProps_tooltip_A = t4; + _.MenuDropdownRightProps___MenuDropdownRightProps_disabled_A = t5; + _.MenuDropdownRightProps___MenuDropdownRightProps_disallow_overflow_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - OperatingSystem_getCurrentOperatingSystem: function() { - return C.JSArray_methods.firstWhere$2$orElse($.$get$OperatingSystem__knownSystems(), new N.OperatingSystem_getCurrentOperatingSystem_closure(), new N.OperatingSystem_getCurrentOperatingSystem_closure0()); + _$$MenuDropdownRightProps$JsMap: function _$$MenuDropdownRightProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_right$_props = t0; + _.MenuDropdownRightProps___MenuDropdownRightProps_title__A = t1; + _.MenuDropdownRightProps___MenuDropdownRightProps_id__A = t2; + _.MenuDropdownRightProps_keyboard_shortcut = t3; + _.MenuDropdownRightProps___MenuDropdownRightProps_tooltip_A = t4; + _.MenuDropdownRightProps___MenuDropdownRightProps_disabled_A = t5; + _.MenuDropdownRightProps___MenuDropdownRightProps_disallow_overflow_A = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t7; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t8; }, - OperatingSystem$: function($name, matchesNavigator) { - return new N.OperatingSystem(matchesNavigator); + _$$MenuDropdownRightState: function _$$MenuDropdownRightState() { }, - OperatingSystem: function OperatingSystem(t0) { - this._matchesNavigator = t0; + _$$MenuDropdownRightState$JsMap: function _$$MenuDropdownRightState$JsMap(t0, t1, t2) { + this._menu_dropdown_right$_state = t0; + this.MenuDropdownRightState_top = t1; + this.MenuDropdownRightState___MenuDropdownRightState_HTML_element_A = t2; }, - OperatingSystem_getCurrentOperatingSystem_closure: function OperatingSystem_getCurrentOperatingSystem_closure() { + _$MenuDropdownRightComponent: function _$MenuDropdownRightComponent(t0) { + var _ = this; + _.___$MenuDropdownRightComponent__cachedTypedState_A = _.___$MenuDropdownRightComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - OperatingSystem_getCurrentOperatingSystem_closure0: function OperatingSystem_getCurrentOperatingSystem_closure0() { + $MenuDropdownRightProps: function $MenuDropdownRightProps() { }, - linux_closure: function linux_closure() { + $MenuDropdownRightState: function $MenuDropdownRightState() { }, - mac_closure: function mac_closure() { + __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps() { }, - unix_closure: function unix_closure() { + __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps() { }, - windows_closure: function windows_closure() { + __$$MenuDropdownRightState_UiState_MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState() { }, - Pbkdf2Parameters: function Pbkdf2Parameters(t0, t1, t2) { - this.salt = t0; - this.iterationCount = t1; - this.desiredKeyLength = t2; - }, - BaseKeyDerivator: function BaseKeyDerivator() { + __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState() { }, - BuiltMapValues_map_values: function(_this, f, $K, Vin, Vout) { - return _this.map$2$1(0, new N.BuiltMapValues_map_values_closure(f, $K, Vin, Vout), $K._eval$1("0*"), Vout._eval$1("0*")); + _$MenuFormFile(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuFormFileProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuFormFileProps__$$MenuFormFileProps(backingProps); }, - MinMaxOfIterable_get_min: function(_this, $C) { - var min_val, val, t2, - t1 = J.getInterceptor$asx(_this); - if (t1.get$isEmpty(_this)) - throw H.wrapException(P.ArgumentError$("cannot call min on an empty iterable")); - for (t1 = t1.get$iterator(_this), min_val = null; t1.moveNext$0();) { - val = t1.get$current(t1); - if (min_val != null) { - t2 = J.compareTo$1$ns(min_val, val); - if (typeof t2 !== "number") - return t2.$gt(); - t2 = t2 > 0; - } else - t2 = true; - if (t2) - min_val = val; + _$$MenuFormFileProps__$$MenuFormFileProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuFormFileProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuFormFileProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $, null, $, $); + t1.get$$$isClassGenerated(); + t1._menu_form_file$_props = backingMap; + return t1; } - return min_val; }, - MinMaxOfIterable_get_max: function(_this, $C) { - var max_val, val, t2, - t1 = J.getInterceptor$asx(_this); - if (t1.get$isEmpty(_this)) - throw H.wrapException(P.ArgumentError$("cannot call max on an empty iterable")); - for (t1 = t1.get$iterator(_this), max_val = null; t1.moveNext$0();) { - val = t1.get$current(t1); - if (max_val != null) { - t2 = J.compareTo$1$ns(max_val, val); - if (typeof t2 !== "number") - return t2.$lt(); - t2 = t2 < 0; - } else - t2 = true; - if (t2) - max_val = val; - } - return max_val; + _$$MenuFormFileProps$JsMap$(backingMap) { + var t1 = new A._$$MenuFormFileProps$JsMap(new A.JsBackedMap({}), $, $, $, $, null, $, $); + t1.get$$$isClassGenerated(); + t1._menu_form_file$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - BuiltMapValues_map_values_closure: function BuiltMapValues_map_values_closure(t0, t1, t2, t3) { + MenuFormFileProps: function MenuFormFileProps() { + }, + MenuFormFileComponent: function MenuFormFileComponent() { + }, + MenuFormFileComponent_render_closure: function MenuFormFileComponent_render_closure() { + }, + $MenuFormFileComponentFactory_closure: function $MenuFormFileComponentFactory_closure() { + }, + _$$MenuFormFileProps: function _$$MenuFormFileProps() { + }, + _$$MenuFormFileProps$PlainMap: function _$$MenuFormFileProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; - _.f = t0; - _.K = t1; - _.Vin = t2; - _.Vout = t3; + _._menu_form_file$_props = t0; + _.MenuFormFileProps___MenuFormFileProps_id__A = t1; + _.MenuFormFileProps___MenuFormFileProps_accept_A = t2; + _.MenuFormFileProps___MenuFormFileProps_on_change_A = t3; + _.MenuFormFileProps___MenuFormFileProps_display_A = t4; + _.MenuFormFileProps_keyboard_shortcut = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - oxdna_export_middleware: function(store, action, next) { - var t1, state, strands_to_export, t2, dat_top, default_filename, default_filename_dat, default_filename_top, $content; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - t1 = action instanceof U.OxdnaExport; - if (t1 || action instanceof U.OxviewExport) { - state = store.get$state(store); - if (action.get$selected_strands_only()) { - strands_to_export = store.get$state(store).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (strands_to_export.length === 0) { - C.Window_methods.alert$1(window, "No strands are selected, so nothing to export.\nFirst select some strands, or choose Export\ud83e\udc52oxDNA to export all strands in the design."); - return; - } - } else { - t2 = state.design.strands; - strands_to_export = new Q.CopyOnWriteList(true, t2._list, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); - } - if (t1) { - dat_top = N.to_oxdna_format(state.design, strands_to_export); - default_filename = state.ui_state.storables.loaded_filename; - t1 = $.$get$context(); - default_filename_dat = t1.withoutExtension$1(default_filename) + ".dat"; - default_filename_top = t1.withoutExtension$1(default_filename) + ".top"; - E.save_file(default_filename_dat, dat_top.item1, null, C.BlobType_0); - E.save_file(default_filename_top, dat_top.item2, null, C.BlobType_0); - } else if (action instanceof U.OxviewExport) { - $content = N.to_oxview_format(state.design, strands_to_export); - default_filename = state.ui_state.storables.loaded_filename; - E.save_file($.$get$context().withoutExtension$1(default_filename) + ".oxview", $content, null, C.BlobType_0); - } - } - next.call$1(action); + _$$MenuFormFileProps$JsMap: function _$$MenuFormFileProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._menu_form_file$_props = t0; + _.MenuFormFileProps___MenuFormFileProps_id__A = t1; + _.MenuFormFileProps___MenuFormFileProps_accept_A = t2; + _.MenuFormFileProps___MenuFormFileProps_on_change_A = t3; + _.MenuFormFileProps___MenuFormFileProps_display_A = t4; + _.MenuFormFileProps_keyboard_shortcut = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t6; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t7; }, - to_oxview_format: function(design, strands_to_export) { - var t7, sc_strand, oxdna_strand, oxvnucs, oxv_strand, scolor, index_in_strand, nuc, t8, t9, t10, oxvnuc, base_pairs_map, offset, domain1, domain2, sc_strand1, sc_strand2, oxv_strand1, oxv_strand2, d1, d2, s1_nuc_idx, b, - _s8_ = "monomers", - _s2_ = "bp", - system = N.convert_design_to_oxdna_system(design, strands_to_export), - t1 = type$.JSArray_legacy_Map_of_legacy_String_and_dynamic, - oxview_strands = H.setRuntimeTypeInfo([], t1), - strand_nuc_start = H.setRuntimeTypeInfo([-1], type$.JSArray_legacy_int), - t2 = type$.legacy_String, - t3 = type$.dynamic, - oxview_strand_map = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3), - strand_id_to_index = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_int), - t4 = J.getInterceptor$asx(strands_to_export), - t5 = type$.JSArray_legacy_double, - t6 = system.strands, - nuc_count = 0, strand_count = 0, i = 0; - while (true) { - t7 = t4.get$length(strands_to_export); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - sc_strand = t4.$index(strands_to_export, i); - t7 = sc_strand.__id; - strand_id_to_index.$indexSet(0, t7 == null ? sc_strand.__id = E.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, i); - if (i >= t6.length) - return H.ioore(t6, i); - oxdna_strand = t6[i]; - ++strand_count; - oxvnucs = H.setRuntimeTypeInfo([], t1); - C.JSArray_methods.add$1(strand_nuc_start, nuc_count); - if (i >= t6.length) - return H.ioore(t6, i); - oxv_strand = P.LinkedHashMap_LinkedHashMap$_literal(["id", strand_count, "class", "NucleicAcidStrand", "end5", nuc_count, "end3", nuc_count + t6[i].nucleotides.length, "monomers", oxvnucs], t2, t3); - t7 = sc_strand.__id; - oxview_strand_map.$indexSet(0, t7 == null ? sc_strand.__id = E.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, oxv_strand); - scolor = A.to_cadnano_v2_int_hex(sc_strand.color); - for (index_in_strand = 0; t7 = oxdna_strand.nucleotides, index_in_strand < t7.length; ++index_in_strand) { - nuc = t7[index_in_strand]; - t7 = nuc.center; - t8 = nuc.normal; - t9 = -t8.x; - t10 = -t8.y; - t8 = -t8.z; - t7 = H.setRuntimeTypeInfo([t7.x - t9 * 0.6, t7.y - t10 * 0.6, t7.z - t8 * 0.6], t5); - t8 = H.setRuntimeTypeInfo([t9, t10, t8], t5); - t10 = nuc.forward; - oxvnuc = P.LinkedHashMap_LinkedHashMap$_literal(["id", nuc_count, "p", t7, "a1", t8, "a3", H.setRuntimeTypeInfo([t10.x, t10.y, t10.z], t5), "class", "DNA", "type", nuc.base, "cluster", 1], t2, t3); - if (index_in_strand !== 0) - oxvnuc.$indexSet(0, "n5", nuc_count - 1); - if (index_in_strand !== oxdna_strand.nucleotides.length - 1) - oxvnuc.$indexSet(0, "n3", nuc_count + 1); - oxvnuc.$indexSet(0, "color", scolor); - ++nuc_count; - C.JSArray_methods.add$1(oxvnucs, oxvnuc); - } - C.JSArray_methods.add$1(oxview_strands, oxv_strand); - ++i; - } - base_pairs_map = design.base_pairs_with_domain_strand$3(false, true, X._BuiltSet$of(t4.toSet$0(strands_to_export), type$.legacy_Strand)); - for (t1 = J.get$iterator$ax(base_pairs_map.get$keys(base_pairs_map)), t4 = base_pairs_map._map$_map, t6 = J.getInterceptor$asx(t4), t7 = type$.legacy_Map_of_legacy_String_and_dynamic; t1.moveNext$0();) - for (t8 = J.get$iterator$ax(t6.$index(t4, t1.get$current(t1))._list); t8.moveNext$0();) { - t9 = t8.get$current(t8); - offset = t9.item1; - domain1 = t9.item2; - domain2 = t9.item3; - sc_strand1 = t9.item4; - sc_strand2 = t9.item5; - t9 = sc_strand1.__id; - oxv_strand1 = t7._as(oxview_strand_map.$index(0, t9 == null ? sc_strand1.__id = E.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9)); - t9 = sc_strand2.__id; - oxv_strand2 = t7._as(oxview_strand_map.$index(0, t9 == null ? sc_strand2.__id = E.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9)); - d1 = sc_strand1.domain_offset_to_strand_dna_idx$3(domain1, offset, false); - d2 = sc_strand2.domain_offset_to_strand_dna_idx$3(domain2, offset, false); - t9 = sc_strand1.__id; - t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand1.__id = E.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9); - if (typeof t9 !== "number") - return t9.$add(); - ++t9; - if (t9 >= strand_nuc_start.length) - return H.ioore(strand_nuc_start, t9); - s1_nuc_idx = strand_nuc_start[t9]; - t9 = sc_strand2.__id; - t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand2.__id = E.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9); - if (typeof t9 !== "number") - return t9.$add(); - ++t9; - if (t9 >= strand_nuc_start.length) - return H.ioore(strand_nuc_start, t9); - t9 = strand_nuc_start[t9] + d2; - J.$indexSet$ax(J.$index$asx(oxv_strand1.$index(0, _s8_), d1), _s2_, t9); - if (H.boolConversionCheck(J.containsKey$1$x(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_))) { - t10 = s1_nuc_idx + d1; - if (!J.$eq$(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_), t10)) { - H.printString("" + t9 + " " + t10 + " " + H.S(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_)) + " " + domain1.toString$0(0) + " " + domain2.toString$0(0)); - C.Window_methods.alert$1(window, "You have found a bug in scadnano, please file a bug report."); - } - } - } - b = system.compute_bounding_box$0(); - return C.C_JsonCodec.encode$2$toEncodable(P.LinkedHashMap_LinkedHashMap$_literal(["box", H.setRuntimeTypeInfo([b.x, b.y, b.z], t5), "date", new P.DateTime(Date.now(), false).toIso8601String$0(), "systems", H.setRuntimeTypeInfo([P.LinkedHashMap_LinkedHashMap$_literal(["id", 0, "strands", oxview_strands], t2, type$.legacy_Object)], type$.JSArray_legacy_Map_of_legacy_String_and_legacy_Object), "forces", [], "selections", []], t2, t3), null); + _$MenuFormFileComponent: function _$MenuFormFileComponent(t0) { + var _ = this; + _.___$MenuFormFileComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - to_oxdna_format: function(design, strands_to_export) { - return N.convert_design_to_oxdna_system(design, strands_to_export).oxdna_output$0(); + $MenuFormFileProps: function $MenuFormFileProps() { }, - OxdnaVector$: function(x, y, z) { - return new N.OxdnaVector(x, y, z); + __$$MenuFormFileProps_UiProps_MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps() { }, - convert_design_to_oxdna_system: function(design, strands_to_export) { - var t2, t3, t4, t5, t6, helix, t7, t8, t9, t10, t11, t12, offset, t13, group, grid, yaw_axis, pitch_axis, roll_axis, position, t14, t15, strand_domains, t16, t17, ss_idx, t18, domain, ox_strand, seq, origin_forward_normal, origin, $forward, normal, t19, t20, deletions, insertions, t21, t22, t23, index, t24, t25, mod, num, i, t26, t27, t28, t29, t30, norm, forw, t31, t32, base, sstrand, dstrand_is_loopout, dstrand, prev_nuc, next_nuc, strand_length, unit, len, loopout_idx, loopout_idx0, old_nuc, len0, sstrand0, - system = new N.OxdnaSystem(H.setRuntimeTypeInfo([], type$.JSArray_legacy_OxdnaStrand)), - geometry = design.geometry, - step_rot = -360 / geometry.bases_per_turn, - t1 = type$.legacy_int, - mod_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_int); - for (t2 = design.helices, t3 = J.get$iterator$ax(t2.get$keys(t2)), t4 = t2._map$_map, t5 = J.getInterceptor$asx(t4); t3.moveNext$0();) { - t6 = t3.get$current(t3); - helix = t5.$index(t4, t6); - mod_map.$indexSet(0, t6, P.List_List$filled(helix.max_offset - helix.min_offset, 0, false, t1)); - } - for (t3 = J.getInterceptor$ax(strands_to_export), t6 = t3.get$iterator(strands_to_export); t6.moveNext$0();) { - t7 = t6.get$current(t6); - t8 = t7.__domains; - if (t8 == null) { - t8 = E.Strand.prototype.get$domains.call(t7); - t7.set$__domains(t8); - t7 = t8; - } else - t7 = t8; - t7 = J.get$iterator$ax(t7._list); - for (; t7.moveNext$0();) { - t8 = t7.get$current(t7); - if (t8 instanceof G.Domain) { - t9 = t8.helix; - helix = t5.$index(t4, t9); - for (t10 = J.get$iterator$ax(t8.insertions._list); t10.moveNext$0();) { - t11 = t10.get$current(t10); - t12 = mod_map.$index(0, t9); - (t12 && C.JSArray_methods).$indexSet(t12, t11.offset - helix.min_offset, t11.length); - } - for (t8 = J.get$iterator$ax(t8.deletions._list); t8.moveNext$0();) { - t10 = t8.get$current(t8); - t11 = mod_map.$index(0, t9); - t12 = helix.min_offset; - if (typeof t10 !== "number") - return t10.$sub(); - (t11 && C.JSArray_methods).$indexSet(t11, t10 - t12, -1); - } - } - } - } - for (t2 = J.get$iterator$ax(t2.get$keys(t2)); t2.moveNext$0();) { - t6 = t2.get$current(t2); - helix = t5.$index(t4, t6); - for (offset = helix.min_offset + 1, t7 = helix.max_offset; offset < t7; ++offset) { - t8 = mod_map.$index(0, t6); - if (offset < 0 || offset >= t8.length) - return H.ioore(t8, offset); - t9 = t8[offset]; - t10 = mod_map.$index(0, t6); - t11 = offset - 1; - if (t11 < 0 || t11 >= t10.length) - return H.ioore(t10, t11); - t11 = t10[t11]; - if (typeof t9 !== "number") - return t9.$add(); - if (typeof t11 !== "number") - return H.iae(t11); - C.JSArray_methods.$indexSet(t8, offset, t9 + t11); - } - } - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector); - for (t5 = J.getInterceptor$x(t4), t6 = t5.get$entries(t4), t6 = t6.get$iterator(t6), t7 = type$.Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector, t8 = design.groups; t6.moveNext$0();) { - t9 = t6.get$current(t6); - t10 = t9.key; - t9 = t9.value; - t11 = t9.group; - t12 = t8._map$_map; - t13 = J.getInterceptor$asx(t12); - group = t13.$index(t12, t11); - grid = group.grid; - yaw_axis = new N.OxdnaVector(0, 1, 0); - pitch_axis = new N.OxdnaVector(1, 0, 0).rotate$2(0, -t13.$index(t12, t11).yaw, yaw_axis); - roll_axis = new N.OxdnaVector(0, 0, 1).rotate$2(0, -t13.$index(t12, t11).yaw, yaw_axis); - yaw_axis = yaw_axis.rotate$2(0, t13.$index(t12, t11).pitch, pitch_axis); - roll_axis = roll_axis.rotate$2(0, t13.$index(t12, t11).pitch, pitch_axis); - yaw_axis = yaw_axis.rotate$2(0, -(t13.$index(t12, t11).roll + t9.roll), roll_axis); - X.Position3D_Position3D(0, 0, 0); - if (grid === C.Grid_none) { - position = t9.position_; - t11 = position == null; - if (t11) - E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); - if (t11) - position = E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); - } else - position = E.grid_position_to_position3d(t9.grid_position, grid, geometry); - t9 = group.position; - position = X.Position3D_Position3D(position.x + t9.x, position.y + t9.y, position.z + t9.z); - t2.$indexSet(0, t10, new S.Tuple3(new N.OxdnaVector(position.x * 1.173984503404555, position.y * 1.173984503404555, position.z * 1.173984503404555), roll_axis, new N.OxdnaVector(-yaw_axis.x, -yaw_axis.y, -yaw_axis.z), t7)); - } - for (t3 = t3.get$iterator(strands_to_export), t6 = system.strands, t7 = type$.JSArray_legacy_OxdnaNucleotide, t8 = type$.Tuple2_of_legacy_OxdnaStrand_and_legacy_bool, t9 = geometry.rise_per_base_pair, t10 = -geometry.minor_groove_angle, t11 = type$.JSArray_String, t12 = type$.ReversedListIterable_String, t13 = type$.legacy_OxdnaNucleotide, t14 = type$.JSArray_legacy_Tuple2_of_legacy_OxdnaStrand_and_legacy_bool; t3.moveNext$0();) { - t15 = t3.get$current(t3); - strand_domains = H.setRuntimeTypeInfo([], t14); - t16 = t15.substrands._list; - t17 = J.getInterceptor$asx(t16); - ss_idx = 0; - while (true) { - t18 = t17.get$length(t16); - if (typeof t18 !== "number") - return H.iae(t18); - if (!(ss_idx < t18)) - break; - domain = t17.$index(t16, ss_idx); - t18 = H.setRuntimeTypeInfo([], t7); - ox_strand = new N.OxdnaStrand(t18); - seq = domain.get$dna_sequence(); - if (seq == null) - seq = C.JSString_methods.$mul("T", domain.dna_length$0()); - if (domain instanceof G.Domain) { - t18 = domain.helix; - helix = t5.$index(t4, t18); - origin_forward_normal = t2.$index(0, helix.idx); - origin = origin_forward_normal.item1; - $forward = origin_forward_normal.item2; - normal = origin_forward_normal.item3; - t19 = domain.forward; - t20 = !t19; - if (t20) { - normal = normal.rotate$2(0, t10, $forward); - seq = new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), t11), t12).join$1(0, ""); - } - normal = normal.rotate$2(0, t19 ? 20 : -20, $forward); - deletions = P.LinkedHashSet_LinkedHashSet$from(domain.deletions, t1); - insertions = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - for (t21 = J.get$iterator$ax(domain.insertions._list); t21.moveNext$0();) { - t22 = t21.get$current(t21); - insertions.$indexSet(0, t22.offset, t22.length); - } - for (offset = domain.start, t21 = domain.end, t22 = seq.length, t23 = helix.min_offset, index = 0; offset < t21; ++offset) - if (!deletions.contains$1(0, offset)) { - t24 = mod_map.$index(0, t18); - t25 = offset - t23; - if (t25 < 0 || t25 >= t24.length) - return H.ioore(t24, t25); - mod = t24[t25]; - if (insertions.containsKey$1(0, offset)) { - num = insertions.$index(0, offset); - if (typeof num !== "number") - return H.iae(num); - i = 0; - for (; i < num; ++i) { - if (typeof mod !== "number") - return H.iae(mod); - t24 = offset + mod - num + i; - t25 = $forward.x; - t26 = $forward.y; - t27 = $forward.z; - t28 = origin.x; - t29 = origin.y; - t30 = origin.z; - norm = normal.rotate$2(0, step_rot * t24, $forward); - forw = t19 ? new N.OxdnaVector(-t25, -t26, -t27) : $forward; - if (index < 0 || index >= t22) - return H.ioore(seq, index); - t31 = seq[index]; - t32 = $.$get$_OXDNA_ORIGIN(); - C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(t28 + t25 * t24 * t9 * 1.173984503404555, t29 + t26 * t24 * t9 * 1.173984503404555, t30 + t27 * t24 * t9 * 1.173984503404555), norm, forw, t31, t32, t32)); - ++index; - } - } - if (typeof mod !== "number") - return H.iae(mod); - t24 = offset + mod; - t25 = $forward.x; - t26 = $forward.y; - t27 = $forward.z; - t28 = origin.x; - t29 = origin.y; - t30 = origin.z; - norm = normal.rotate$2(0, step_rot * t24, $forward); - forw = t19 ? new N.OxdnaVector(-t25, -t26, -t27) : $forward; - if (index < 0 || index >= t22) - return H.ioore(seq, index); - t31 = seq[index]; - t32 = $.$get$_OXDNA_ORIGIN(); - C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(t28 + t25 * t24 * t9 * 1.173984503404555, t29 + t26 * t24 * t9 * 1.173984503404555, t30 + t27 * t24 * t9 * 1.173984503404555), norm, forw, t31, t32, t32)); - ++index; - } - if (t20) { - t18 = ox_strand.nucleotides; - ox_strand.set$nucleotides(P.List_List$from(new H.ReversedListIterable(t18, H._arrayInstanceType(t18)._eval$1("ReversedListIterable<1>")), true, t13)); - } - C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, false, t8)); - } else if (domain instanceof G.Loopout) { - for (t18 = domain.loopout_num_bases, t19 = seq.length, i = 0; i < t18; ++i) { - if (i >= t19) - return H.ioore(seq, i); - base = seq[i]; - t20 = $.$get$_OXDNA_ORIGIN(); - C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(0, 0, 0), new N.OxdnaVector(0, -1, 0), new N.OxdnaVector(0, 0, 1), base, t20, t20)); - } - C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, true, t8)); - } else if (domain instanceof S.Extension) { - C.JSArray_methods.addAll$1(t18, N._compute_extension_nucleotides(design, t2, ss_idx === 0, mod_map, t15)); - C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, false, t8)); - } else - throw H.wrapException(P.AssertionError$("unreachable")); - ++ss_idx; - } - sstrand = new N.OxdnaStrand(H.setRuntimeTypeInfo([], t7)); - for (i = 0; t15 = strand_domains.length, i < t15; ++i, sstrand = sstrand0) { - dstrand_is_loopout = strand_domains[i]; - dstrand = dstrand_is_loopout.item1; - if (H.boolConversionCheck(dstrand_is_loopout.item2)) { - t16 = i - 1; - if (t16 < 0) - return H.ioore(strand_domains, t16); - prev_nuc = C.JSArray_methods.get$last(strand_domains[t16].item1.nucleotides); - t16 = i + 1; - if (t16 >= strand_domains.length) - return H.ioore(strand_domains, t16); - next_nuc = C.JSArray_methods.get$first(strand_domains[t16].item1.nucleotides); - strand_length = dstrand.nucleotides.length; - t16 = next_nuc.center; - t15 = prev_nuc.center; - t17 = t15.x; - t18 = t16.x - t17; - t19 = t15.y; - t20 = t16.y - t19; - t15 = t15.z; - t16 = t16.z - t15; - $forward = new N.OxdnaVector(t18, t20, t16); - unit = new N.OxdnaVector(1, 0, 0); - len = $forward.length$0(0); - normal = (1 - Math.abs(t18 / len + t20 / len * 0 + t16 / len * 0) < 0.001 ? new N.OxdnaVector(0, 1, 0) : unit).cross$1($forward); - for (t21 = strand_length + 1, t22 = normal.x, t23 = normal.y, t24 = normal.z, loopout_idx = 0; loopout_idx < strand_length; loopout_idx = loopout_idx0) { - loopout_idx0 = loopout_idx + 1; - t25 = loopout_idx0 / t21; - t26 = dstrand.nucleotides; - if (loopout_idx >= t26.length) - return H.ioore(t26, loopout_idx); - old_nuc = t26[loopout_idx]; - len = normal.length$0(0); - len0 = $forward.length$0(0); - t26 = old_nuc.base; - t27 = $.$get$_OXDNA_ORIGIN(); - C.JSArray_methods.$indexSet(dstrand.nucleotides, loopout_idx, new N.OxdnaNucleotide(new N.OxdnaVector(t17 + t18 * t25, t19 + t20 * t25, t15 + t16 * t25), new N.OxdnaVector(t22 / len, t23 / len, t24 / len), new N.OxdnaVector(t18 / len0, t20 / len0, t16 / len0), t26, t27, t27)); - } - } - sstrand0 = new N.OxdnaStrand(H.setRuntimeTypeInfo([], t7)); - sstrand0.set$nucleotides(C.JSArray_methods.$add(sstrand.nucleotides, dstrand.nucleotides)); - } - C.JSArray_methods.add$1(t6, sstrand); - } - return system; + __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps() { }, - _compute_extension_nucleotides: function(design, helix_vectors, is_5p, mod_map, strand) { - var t4, mod, cen, norm, forw, ext, seq, nucs, i, base, t5, - geometry = design.geometry, - t1 = geometry.bases_per_turn, - adj_dom = is_5p ? J.get$first$ax(strand.get$domains()._list) : J.get$last$ax(strand.get$domains()._list), - t2 = adj_dom.helix, - adj_helix = J.$index$asx(design.helices._map$_map, t2), - offset = is_5p ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(), - origin_forward_normal = helix_vectors.$index(0, t2), - origin_ = origin_forward_normal.item1, - $forward = origin_forward_normal.item2, - normal = origin_forward_normal.item3, - t3 = adj_dom.forward; - if (!t3) - normal = normal.rotate$2(0, -geometry.minor_groove_angle, $forward); - normal = normal.rotate$2(0, t3 ? 20 : -20, $forward).normalize$0(0); - t2 = mod_map.$index(0, t2); - t4 = offset - adj_helix.min_offset; - if (t4 < 0 || t4 >= t2.length) - return H.ioore(t2, t4); - mod = t2[t4]; - if (typeof mod !== "number") - return H.iae(mod); - t4 = offset + mod; - cen = origin_.$add(0, $forward.$mul(0, t4).$mul(0, geometry.rise_per_base_pair).$mul(0, 1.173984503404555)); - norm = normal.rotate$2(0, -360 / t1 * t4, $forward); - forw = t3 ? $forward.$negate(0) : $forward; - t1 = strand.substrands; - ext = is_5p ? J.get$first$ax(t1._list) : J.get$last$ax(t1._list); - seq = ext.get$dna_sequence(); - if (seq == null) - seq = C.JSString_methods.$mul("T", ext.dna_length$0()); - if (is_5p) - seq = new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$1(0, ""); - nucs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_OxdnaNucleotide); - for (t1 = seq.length, t2 = norm.x, t3 = norm.y, t4 = norm.z, i = 0; i < t1; ++i) { - base = seq[i]; - cen = new N.OxdnaVector(cen.x + t2, cen.y + t3, cen.z + t4); - t5 = $.$get$_OXDNA_ORIGIN(); - C.JSArray_methods.add$1(nucs, new N.OxdnaNucleotide(cen, forw, norm, base, t5, t5)); + _$MenuNumber(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$MenuNumberProps$JsMap$(new A.JsBackedMap({})) : A._$$MenuNumberProps__$$MenuNumberProps(backingProps); + }, + _$$MenuNumberProps__$$MenuNumberProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$MenuNumberProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$MenuNumberProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, null, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_number$_props = backingMap; + return t1; } - return is_5p ? P.List_List$from(new H.ReversedListIterable(nucs, type$.ReversedListIterable_legacy_OxdnaNucleotide), true, type$.legacy_OxdnaNucleotide) : nucs; }, - OxdnaVector: function OxdnaVector(t0, t1, t2) { - this.x = t0; - this.y = t1; - this.z = t2; + _$$MenuNumberProps$JsMap$(backingMap) { + var t1 = new A._$$MenuNumberProps$JsMap(new A.JsBackedMap({}), $, $, $, null, $, $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_number$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - OxdnaNucleotide: function OxdnaNucleotide(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.center = t0; - _.normal = t1; - _.forward = t2; - _.base = t3; - _.v = t4; - _.L = t5; + MenuNumberPropsMixin: function MenuNumberPropsMixin() { }, - OxdnaStrand: function OxdnaStrand(t0) { - this.nucleotides = t0; + MenuNumberComponent: function MenuNumberComponent() { }, - OxdnaSystem: function OxdnaSystem(t0) { - this.strands = t0; + MenuNumberComponent_render_closure: function MenuNumberComponent_render_closure(t0, t1) { + this.$this = t0; + this.input_elt_id = t1; }, - Design_Design: function(geometry, grid, groups, helix_builders, invert_y, strands, unused_fields) { - var t1, t2, t3, t4, t5, helices, t6, t7, t8, design, _box_0 = {}; - _box_0.geometry = geometry; - _box_0.groups = groups; - if (geometry == null) - _box_0.geometry = $.$get$default_geometry(); - for (t1 = J.getInterceptor$ax(helix_builders), t2 = t1.get$iterator(helix_builders); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = _box_0.geometry; - t4.toString; - t5 = new N.GeometryBuilder(); - t5._geometry$_$v = t4; - t3.get$_helix$_$this()._helix$_geometry = t5; - } - t2 = type$.legacy_int; - t3 = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_HelixBuilder); - for (t1 = t1.get$iterator(helix_builders); t1.moveNext$0();) { - t4 = t1.get$current(t1); - t3.$indexSet(0, t4.get$_helix$_$this()._idx, t4); - } - N.set_helices_min_max_offsets(t3, strands); - t1 = _box_0.groups; - N.assign_grids_to_helix_builders_from_groups(t1 == null ? _box_0.groups = N._calculate_groups_from_helix_builder(helix_builders, grid) : t1, t3); - t1 = t3.get$values(t3); - t3 = type$.legacy_Helix; - t4 = H._instanceType(t1); - helices = H.MappedIterable_MappedIterable(t1, t4._eval$1("Helix*(Iterable.E)")._as(new N.Design_Design_closure()), t4._eval$1("Iterable.E"), t3); - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); - for (t1 = H._instanceType(helices), t1 = new H.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); t1.moveNext$0();) { - t4 = t1.__internal$_current; - t2.$indexSet(0, t4.idx, t4); - } - for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t4 = type$.legacy_void_Function_legacy_HelixBuilder; t1.moveNext$0();) { - t5 = t1.get$current(t1); - t6 = t2.$index(0, t5); - t6.toString; - t7 = t4._as(new N.Design_Design_closure0(_box_0)); - t8 = new O.HelixBuilder(); - t8.get$_helix$_$this()._group = "default_group"; - t8.get$_helix$_$this()._min_offset = 0; - t8.get$_helix$_$this()._roll = 0; - t3._as(t6); - t8._helix$_$v = t6; - t7.call$1(t8); - t2.$indexSet(0, t5, t8.build$0()); - } - t1 = new N.DesignBuilder(); - N.Design__initializeBuilder(t1); - type$.legacy_void_Function_legacy_DesignBuilder._as(new N.Design_Design_closure1(_box_0, t2, strands, unused_fields)).call$1(t1); - design = t1.build$0(); - design._ensure_helix_groups_exist$0(); - design._check_helix_offsets$0(); - design._check_strands_reference_helices_legally$0(); - design._check_loopouts_not_consecutive_or_singletons_or_zero_length$0(); - design.check_strands_overlap_legally$0(); - design._check_grid_positions_disjoint$0(); - return design; + $MenuNumberComponentFactory_closure: function $MenuNumberComponentFactory_closure() { }, - Design__initializeBuilder: function(b) { - var t1, t2, - _s13_ = "default_group"; - b.get$_design0$_$this()._version = "0.19.5"; - t1 = $.$get$default_geometry(); - t1.toString; - t2 = new N.GeometryBuilder(); - t2._geometry$_$v = t1; - b.get$_design0$_$this()._geometry = t2; - t1 = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix)); - b.get$_design0$_$this().set$_helices(t1); - t1 = type$.legacy_ListBuilder_legacy_Strand._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand)); - b.get$_design0$_$this().set$_strands(t1); - t1 = type$.dynamic; - t2 = type$.legacy_String; - t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), t2, type$.legacy_Object)); - b.get$_design0$_$this().set$_unused_fields(t1); - t2 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_literal(["default_group", $.$get$DEFAULT_HelixGroup()], t2, type$.legacy__$HelixGroup), t2, type$.legacy_HelixGroup)); - b.get$_design0$_$this().set$_groups(t2); - b.get$groups().$indexSet(0, _s13_, J.$index$asx(b.get$groups().get$_map$_map(), _s13_).rebuild$1(new N.Design__initializeBuilder_closure())); + _$$MenuNumberProps: function _$$MenuNumberProps() { }, - Design__check_mutually_exclusive_fields: function(json_map) { - var _i, pair, t2, key1, key2, - t1 = type$.JSArray_legacy_String, - exclusive_pairs = [H.setRuntimeTypeInfo(["grid", "groups"], t1), H.setRuntimeTypeInfo(["helices_view_order", "groups"], t1)]; - for (t1 = J.getInterceptor$x(json_map), _i = 0; _i < 2; ++_i) { - pair = exclusive_pairs[_i]; - t2 = pair.length; - if (0 >= t2) - return H.ioore(pair, 0); - key1 = pair[0]; - if (1 >= t2) - return H.ioore(pair, 1); - key2 = pair[1]; - if (t1.containsKey$1(json_map, key1) && t1.containsKey$1(json_map, key2)) - throw H.wrapException(N.IllegalDesignError$('cannot specify both "' + H.S(key1) + '" and "' + H.S(key2) + '" in Design JSON')); - } + _$$MenuNumberProps$PlainMap: function _$$MenuNumberProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._menu_number$_props = t0; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_display_A = t1; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_default_value_A = t2; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_on_new_value_A = t3; + _.MenuNumberPropsMixin_input_elt_id = t4; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_min_value_A = t5; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_hide_A = t6; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_tooltip_A = t7; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_step_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - Design__num_helix_groups: function(json_map) { - var t1 = J.getInterceptor$x(json_map); - return t1.containsKey$1(json_map, "groups") ? H._asIntS(J.get$length$asx(t1.$index(json_map, "groups"))) : 0; + _$$MenuNumberProps$JsMap: function _$$MenuNumberProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._menu_number$_props = t0; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_display_A = t1; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_default_value_A = t2; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_on_new_value_A = t3; + _.MenuNumberPropsMixin_input_elt_id = t4; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_min_value_A = t5; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_hide_A = t6; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_tooltip_A = t7; + _.MenuNumberPropsMixin___MenuNumberPropsMixin_step_A = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t9; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t10; }, - Design__helices_from_json: function(json_map, invert_y, geometry) { - var using_groups, t4, multiple_groups_used, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, idx_default, helix_json, helix_builder, t16, t17, major_ticks_json, gp_list, t18, position, helix_idx, pitch, yaw, group, helix_pitch_yaw, expected_pitch, expected_yaw, idx_of_helix_with_expected_pitch_yaw, pitch_yaw_match_expectation, is_new_pitch_yaw, p, y, t19, _i, repeated_idxs, i1, i2, _null = null, - _s13_ = "default_group", - _s19_ = "major_tick_distance", - _s11_ = "major_ticks", - _s29_ = "major_tick_periodic_distances", - _s13_0 = "grid_position", - _s10_ = "max_offset", - _s8_ = "position", - t1 = type$.JSArray_legacy_HelixBuilder, - helix_builders_list = H.setRuntimeTypeInfo([], t1), - t2 = type$.legacy_String, - t3 = type$.legacy_HelixPitchYaw, - group_to_pitch_yaw = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3), - pitch_yaw_to_helices = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_List_legacy_HelixBuilder), - grid_is_none = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, _null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, t2) === C.Grid_none; - t3 = J.getInterceptor$x(json_map); - using_groups = t3.containsKey$1(json_map, "groups"); - t4 = N.Design__num_helix_groups(json_map); - if (typeof t4 !== "number") - return t4.$gt(); - multiple_groups_used = t4 > 1; - t4 = type$.legacy_List_dynamic; - for (t3 = J.get$iterator$ax(t4._as(t3.$index(json_map, "helices"))), t5 = !grid_is_none, t6 = type$.dynamic, t7 = type$.legacy_int, t8 = type$.legacy_double, t9 = type$.legacy_Map_of_legacy_String_and_dynamic, t10 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object, t11 = type$.legacy_ListBuilder_legacy_int, t12 = type$.List_legacy_int, t13 = type$.ListBuilder_legacy_int, t14 = type$.Iterable_dynamic, t15 = !using_groups, idx_default = 0; t3.moveNext$0();) { - helix_json = t9._as(t3.get$current(t3)); - helix_builder = new O.HelixBuilder(); - helix_builder.get$_helix$_$this()._group = _s13_; - helix_builder.get$_helix$_$this()._min_offset = 0; - helix_builder.get$_helix$_$this()._roll = 0; - t16 = t10._as(E.unused_fields_map(helix_json, $.$get$helix_keys())); - helix_builder.get$_helix$_$this().set$_helix$_unused_fields(t16); - t16 = J.getInterceptor$x(helix_json); - if (t16.containsKey$1(helix_json, _s19_)) { - t17 = new D.ListBuilder(t13); - t17.set$__ListBuilder__list(t12._as(P.List_List$from([H._asIntS(t16.$index(helix_json, _s19_))], true, t7))); - t17.set$_listOwner(_null); - t11._as(t17); - helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t17); - } - if (t16.containsKey$1(helix_json, _s11_)) { - major_ticks_json = t16.$index(helix_json, _s11_); - if (major_ticks_json != null) { - t17 = new D.ListBuilder(t13); - t17.set$__ListBuilder__list(t12._as(P.List_List$from(P.List_List$from(t14._as(major_ticks_json), true, t7), true, t7))); - t17.set$_listOwner(_null); - t11._as(t17); - helix_builder.get$_helix$_$this().set$_major_ticks(t17); - } - } - if (t16.containsKey$1(helix_json, _s29_)) { - t17 = new D.ListBuilder(t13); - t17.set$__ListBuilder__list(t12._as(P.List_List$from(P.List_List$from(t14._as(t16.$index(helix_json, _s29_)), true, t7), true, t7))); - t17.set$_listOwner(_null); - t11._as(t17); - helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t17); - } - if (t16.containsKey$1(helix_json, _s13_0)) { - gp_list = t4._as(t16.$index(helix_json, _s13_0)); - t17 = J.getInterceptor$asx(gp_list); - if (t17.get$length(gp_list) !== 2) - H.throwExpression(P.ArgumentError$("list of grid_position coordinates must be length 2 but this is the list: " + H.S(gp_list))); - t17 = D.GridPosition_GridPosition(H._asIntS(t17.$index(gp_list, 0)), H._asIntS(t17.$index(gp_list, 1))); - t18 = new D.GridPositionBuilder(); - t18._grid_position$_$v = t17; - helix_builder.get$_helix$_$this()._grid_position = t18; - } - if (t16.containsKey$1(helix_json, _s10_)) - if (t16.$index(helix_json, _s10_) != null) { - t17 = H._asIntS(t16.$index(helix_json, _s10_)); - helix_builder.get$_helix$_$this()._max_offset = t17; - } - t17 = H._asStringS(E.optional_field(helix_json, "group", _s13_, C.List_empty0, _null, _null, t2, t6)); - helix_builder.get$_helix$_$this()._group = t17; - t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "min_offset", C.List_empty0, t7, t6)); - helix_builder.get$_helix$_$this()._min_offset = t17; - t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "major_tick_start", C.List_empty0, t7, t6)); - helix_builder.get$_helix$_$this()._major_tick_start = t17; - t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "idx", C.List_empty0, t7, t6)); - helix_builder.get$_helix$_$this()._idx = t17; - t17 = H._asDoubleS(E.optional_field(helix_json, "roll", 0, C.List_empty0, _null, _null, t8, t6)); - helix_builder.get$_helix$_$this()._roll = t17; - if (t16.containsKey$1(helix_json, _s19_) && t16.containsKey$1(helix_json, _s29_)) { - t17 = helix_builder.get$idx(); - H.throwExpression(N.IllegalDesignError$("helix " + H.S(t17 == null ? "" : t17) + " has both keys major_tick_distance and major_tick_periodic_distances. At most one is allow to be specified.")); - } - position = X.Position3D_Position3D$from_json(t16.containsKey$1(helix_json, _s8_) ? t9._as(t16.$index(helix_json, _s8_)) : helix_json); - if (position == null) - t17 = _null; - else { - t17 = new X.Position3DBuilder(); - t17._position3d$_$v = position; - } - helix_builder.get$_helix$_$this()._position_ = t17; - if (helix_builder.get$_helix$_$this()._idx == null) - helix_builder.get$_helix$_$this()._idx = idx_default; - helix_idx = helix_builder.get$_helix$_$this()._idx; - pitch = H._asNumS(t16.containsKey$1(helix_json, "pitch") ? t16.$index(helix_json, "pitch") : 0); - yaw = H._asNumS(t16.containsKey$1(helix_json, "yaw") ? t16.$index(helix_json, "yaw") : 0); - group = helix_builder.get$_helix$_$this()._group; - if (multiple_groups_used) - if (group_to_pitch_yaw.containsKey$1(0, group)) { - helix_pitch_yaw = group_to_pitch_yaw.$index(0, group); - expected_pitch = helix_pitch_yaw.pitch; - expected_yaw = helix_pitch_yaw.yaw; - idx_of_helix_with_expected_pitch_yaw = helix_pitch_yaw.helix_idx; - if (typeof pitch !== "number") - return pitch.$sub(); - if (typeof expected_pitch !== "number") - return H.iae(expected_pitch); - if (Math.abs(pitch - expected_pitch) < 1e-9) { - if (typeof yaw !== "number") - return yaw.$sub(); - if (typeof expected_yaw !== "number") - return H.iae(expected_yaw); - pitch_yaw_match_expectation = Math.abs(yaw - expected_yaw) < 1e-9; - } else - pitch_yaw_match_expectation = false; - if (!pitch_yaw_match_expectation) - throw H.wrapException(N.IllegalDesignError$("In HelixGroup " + H.S(group) + ", Helix " + H.S(helix_idx) + " has pitch " + H.S(pitch) + " and yaw " + H.S(yaw) + " but Helix " + H.S(helix_idx) + "\n has pitch " + H.S(expected_pitch) + " and yaw " + H.S(expected_yaw) + ". Please seperate Helix " + H.S(helix_idx) + " and Helix\n " + H.S(idx_of_helix_with_expected_pitch_yaw) + " into seperate HelixGroups.")); - } else - group_to_pitch_yaw.$indexSet(0, group, new N.HelixPitchYaw(pitch, yaw, helix_idx)); - else { - t17 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices); - t17 = t17.get$iterator(t17); - while (true) { - if (!t17.moveNext$0()) { - is_new_pitch_yaw = true; - break; - } - t18 = t17.get$current(t17).key; - p = t18.pitch; - y = t18.yaw; - if (typeof p !== "number") - return p.$sub(); - if (typeof pitch !== "number") - return H.iae(pitch); - if (Math.abs(p - pitch) < 1e-9) { - if (typeof y !== "number") - return y.$sub(); - if (typeof yaw !== "number") - return H.iae(yaw); - t19 = Math.abs(y - yaw) < 1e-9; - } else - t19 = false; - if (t19) { - J.add$1$ax(pitch_yaw_to_helices.$index(0, t18), helix_builder); - is_new_pitch_yaw = false; - break; - } - } - if (is_new_pitch_yaw) - pitch_yaw_to_helices.$indexSet(0, new N.HelixPitchYaw(pitch, yaw, helix_idx), H.setRuntimeTypeInfo([helix_builder], t1)); - } - geometry.toString; - t17 = new N.GeometryBuilder(); - t17._geometry$_$v = geometry; - helix_builder.get$_helix$_$this()._helix$_geometry = t17; - if (grid_is_none && t15 && t16.containsKey$1(helix_json, _s13_0)) - throw H.wrapException(N.IllegalDesignError$("grid is none, but Helix " + H.S(helix_idx) + " has grid_position = " + H.S(t16.$index(helix_json, _s13_0)))); - else if (t5 && t15 && t16.containsKey$1(helix_json, _s8_)) - throw H.wrapException(N.IllegalDesignError$("grid is not none, but Helix " + H.S(helix_idx) + " has position = " + H.S(t16.$index(helix_json, _s8_)))); - C.JSArray_methods.add$1(helix_builders_list, helix_builder); - ++idx_default; - } - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, H.throwConcurrentModificationError)(helix_builders_list), ++_i) - t1.push(helix_builders_list[_i].get$_helix$_$this()._idx); - repeated_idxs = E.repeated_element_indices(t1, t7); - if (repeated_idxs != null) { - i1 = repeated_idxs.item1; - i2 = repeated_idxs.item2; - H.throwExpression(N.IllegalDesignError$("helix idx values must be unique, but two helices share idx = " + H.S(C.JSArray_methods.$index(helix_builders_list, i1).get$_helix$_$this()._idx) + "; they appear at positions " + H.S(i1) + " and " + H.S(i2) + " in the list of helices.")); - } - t1 = P.LinkedHashMap_LinkedHashMap$_empty(t7, type$.legacy_HelixBuilder); - for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, H.throwConcurrentModificationError)(helix_builders_list), ++_i) { - helix_builder = helix_builders_list[_i]; - t1.$indexSet(0, helix_builder.get$_helix$_$this()._idx, helix_builder); - } - return new S.Tuple3(t1, group_to_pitch_yaw, pitch_yaw_to_helices, type$.Tuple3_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixPitchYaw_and_legacy_Map_of_legacy_HelixPitchYaw_and_legacy_List_legacy_HelixBuilder); + _$MenuNumberComponent: function _$MenuNumberComponent(t0) { + var _ = this; + _.___$MenuNumberComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - Design__groups_from_json: function(json_map, helix_builders_map, group_to_pitch_yaw, pitch_yaw_to_helices) { - var t3, group_builders_map, groups_json, t4, t5, t6, t7, t8, t9, group_json, t10, t11, t12, t13, group_name, pitch, yaw, new_groups, group, helix_pitch, helix_yaw, helix_list, helix_pitch_yaw_is_zero, new_pitch, new_yaw, new_group_name, - t1 = type$.legacy_String, - grid = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, t1), - t2 = J.getInterceptor$x(json_map); - if (!t2.containsKey$1(json_map, "groups")) { - t2 = $.$get$DEFAULT_HelixGroup(); - t2.toString; - t3 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t3); - t3._group$_$v = t2; - t3.get$_group$_$this()._group$_grid = grid; - group_builders_map = P.LinkedHashMap_LinkedHashMap$_literal(["default_group", t3], t1, type$.legacy_HelixGroupBuilder); - } else { - t3 = type$.legacy_Map_of_legacy_String_and_dynamic; - groups_json = t3._as(t2.$index(json_map, "groups")); - group_builders_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_HelixGroupBuilder); - for (t2 = J.getInterceptor$x(groups_json), t4 = J.get$iterator$ax(t2.get$keys(groups_json)), t5 = type$.legacy_ListBuilder_legacy_int, t6 = type$.legacy_int, t7 = type$.List_legacy_int, t8 = type$.ListBuilder_legacy_int; t4.moveNext$0();) { - t9 = t4.get$current(t4); - group_json = t2.$index(groups_json, t9); - t10 = helix_builders_map.get$keys(helix_builders_map); - t11 = H._instanceType(t10); - t12 = t11._eval$1("bool(Iterable.E)")._as(new N.Design__groups_from_json_closure(helix_builders_map, t9)); - t11 = O.HelixGroup_from_json(t3._as(group_json), new H.WhereIterable(t10, t12, t11._eval$1("WhereIterable"))); - t11.toString; - t12 = new O.HelixGroupBuilder(); - t12.get$_group$_$this()._group$_grid = C.Grid_none; - t10 = $.$get$Position3D_origin(); - t10.toString; - t13 = new X.Position3DBuilder(); - t13._position3d$_$v = t10; - t12.get$_group$_$this()._group$_position = t13; - t12.get$_group$_$this()._pitch = 0; - t12.get$_group$_$this()._yaw = 0; - t12.get$_group$_$this()._group$_roll = 0; - t10 = new D.ListBuilder(t8); - t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t10.set$_listOwner(null); - t5._as(t10); - t12.get$_group$_$this().set$_group$_helices_view_order(t10); - t12._group$_$v = t11; - group_builders_map.$indexSet(0, t9, t12); - } - } - N.ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map); - t2 = N.Design__num_helix_groups(json_map); - if (typeof t2 !== "number") - return t2.$gt(); - if (t2 > 1) - for (t1 = J.get$entries$x(group_to_pitch_yaw), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - group_name = t2.key; - t2 = t2.value; - pitch = t2.pitch; - yaw = t2.yaw; - t2 = group_builders_map.$index(0, group_name); - t3 = t2.get$_group$_$this()._pitch; - if (typeof t3 !== "number") - return t3.$add(); - if (typeof pitch !== "number") - return H.iae(pitch); - t2.get$_group$_$this()._pitch = t3 + pitch; - t3 = group_builders_map.$index(0, group_name); - t2 = t3.get$_group$_$this()._yaw; - if (typeof t2 !== "number") - return t2.$add(); - if (typeof yaw !== "number") - return H.iae(yaw); - t3.get$_group$_$this()._yaw = t2 + yaw; - } + $MenuNumberPropsMixin: function $MenuNumberPropsMixin() { + }, + __$$MenuNumberProps_UiProps_MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin() { + }, + __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin() { + }, + set_side_menu_props(elt, state) { + var t1 = state.maybe_design; + t1 = t1 == null ? null : t1.groups; + elt.toString; + type$.nullable_BuiltMap_String_HelixGroup._as(t1); + J.$indexSet$ax(elt.get$props(elt), "SideMenuProps.groups", t1); + t1 = state.ui_state.storables.displayed_group_name; + J.$indexSet$ax(elt.get$props(elt), "SideMenuProps.displayed_group_name", t1); + return elt; + }, + _$SideMenu(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$SideMenuProps$JsMap$(new A.JsBackedMap({})) : A._$$SideMenuProps__$$SideMenuProps(backingProps); + }, + _$$SideMenuProps__$$SideMenuProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$SideMenuProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { - new_groups = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_HelixGroupBuilder); - t2 = group_builders_map.get$values(group_builders_map); - group = t2.get$first(t2); - for (t2 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices), t2 = t2.get$iterator(t2), t3 = type$.legacy_ListBuilder_legacy_int, t4 = type$.legacy_int, t5 = type$.List_legacy_int, t6 = type$.ListBuilder_legacy_int, t7 = type$.legacy_num, t8 = type$.dynamic; t2.moveNext$0();) { - t9 = t2.get$current(t2); - t10 = t9.key; - helix_pitch = t10.pitch; - helix_yaw = t10.yaw; - helix_list = t9.value; - if (typeof helix_pitch !== "number") - return H.iae(helix_pitch); - if (Math.abs(0 - helix_pitch) < 1e-9) { - if (typeof helix_yaw !== "number") - return H.iae(helix_yaw); - helix_pitch_yaw_is_zero = Math.abs(0 - helix_yaw) < 1e-9; - } else - helix_pitch_yaw_is_zero = false; - if (!helix_pitch_yaw_is_zero) { - t9 = group.get$_group$_$this()._pitch; - if (typeof t9 !== "number") - return t9.$add(); - new_pitch = t9 + helix_pitch; - t9 = group.get$_group$_$this()._yaw; - if (typeof t9 !== "number") - return t9.$add(); - if (typeof helix_yaw !== "number") - return H.iae(helix_yaw); - new_yaw = t9 + helix_yaw; - new_group_name = "pitch_" + H.S(new_pitch) + "_yaw_" + H.S(new_yaw); - group_json = P.LinkedHashMap_LinkedHashMap$_empty(t1, t8); - group_json.$indexSet(0, "pitch", new_pitch); - group_json.$indexSet(0, "yaw", new_yaw); - t9 = group.get$_group$_$this(); - t10 = t9._group$_position; - t9 = (t10 == null ? t9._group$_position = new X.Position3DBuilder() : t10).build$0(); - group_json.$indexSet(0, "position", P.LinkedHashMap_LinkedHashMap$_literal(["x", t9.x, "y", t9.y, "z", t9.z], t1, t7)); - group_json.$indexSet(0, "grid", group.get$_group$_$this()._group$_grid.name); - t9 = J.getInterceptor$ax(helix_list); - t10 = O.HelixGroup_from_json(group_json, t9.map$1$1(helix_list, new N.Design__groups_from_json_closure0(), t4)); - t10.toString; - t11 = new O.HelixGroupBuilder(); - t11.get$_group$_$this()._group$_grid = C.Grid_none; - t12 = $.$get$Position3D_origin(); - t12.toString; - t13 = new X.Position3DBuilder(); - t13._position3d$_$v = t12; - t11.get$_group$_$this()._group$_position = t13; - t11.get$_group$_$this()._pitch = 0; - t11.get$_group$_$this()._yaw = 0; - t11.get$_group$_$this()._group$_roll = 0; - t12 = new D.ListBuilder(t6); - t12.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); - t12.set$_listOwner(null); - t3._as(t12); - t11.get$_group$_$this().set$_group$_helices_view_order(t12); - t11._group$_$v = t10; - new_groups.$indexSet(0, new_group_name, t11); - for (t9 = t9.get$iterator(helix_list); t9.moveNext$0();) - t9.get$current(t9).get$_helix$_$this()._group = new_group_name; - } - } - group_builders_map.addEntries$1(group_builders_map, new_groups.get$entries(new_groups)); + t1 = type$.dynamic; + t1 = new A._$$SideMenuProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_side$_props = backingMap; + return t1; } - return group_builders_map; }, - Design__helices_and_groups_from_json: function(json_map, invert_y, position_x_z_should_swap, geometry) { - var helices_view_order, t2, t3, t4, t5, swap, t6, - _s18_ = "helices_view_order", - grid_is_none = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, type$.legacy_String) === C.Grid_none, - t1 = J.getInterceptor$x(json_map), - using_groups = t1.containsKey$1(json_map, "groups"), - r = N.Design__helices_from_json(json_map, invert_y, geometry), - helix_builders_map = r.item1, - group_builders_map = N.Design__groups_from_json(json_map, helix_builders_map, r.item2, r.item3); - if (t1.containsKey$1(json_map, _s18_)) { - helices_view_order = P.List_List$from(type$.Iterable_dynamic._as(t1.$index(json_map, _s18_)), true, type$.legacy_int); - group_builders_map.$index(0, "default_group").get$helices_view_order().replace$1(0, helices_view_order); - } - N.assign_default_helices_view_orders_to_groups(group_builders_map, helix_builders_map); - if (position_x_z_should_swap) { - for (t1 = helix_builders_map.get$values(helix_builders_map), t1 = t1.get$iterator(t1), t2 = !using_groups; t1.moveNext$0();) { - t3 = t1.get$current(t1); - if (!(grid_is_none && t2)) - if (using_groups) { - t4 = group_builders_map.$index(0, t3.get$_helix$_$this()._group).get$_group$_$this()._group$_grid; - t4.toString; - t4 = t4 === C.Grid_none; - } else - t4 = false; - else - t4 = true; - if (t4) { - t4 = t3.get$_helix$_$this(); - t5 = t4._position_; - swap = (t5 == null ? t4._position_ = new X.Position3DBuilder() : t5).get$_position3d$_$this()._x; - t4 = t3.get$_helix$_$this(); - t5 = t4._position_; - t4 = t5 == null ? t4._position_ = new X.Position3DBuilder() : t5; - t5 = t3.get$_helix$_$this(); - t6 = t5._position_; - t5 = (t6 == null ? t5._position_ = new X.Position3DBuilder() : t6).get$_position3d$_$this()._z; - t4.get$_position3d$_$this()._x = t5; - t3 = t3.get$_helix$_$this(); - t5 = t3._position_; - (t5 == null ? t3._position_ = new X.Position3DBuilder() : t5).get$_position3d$_$this()._z = swap; - } - } - for (t1 = group_builders_map.get$values(group_builders_map), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.get$_group$_$this(); - t4 = t3._group$_position; - swap = (t4 == null ? t3._group$_position = new X.Position3DBuilder() : t4).get$_position3d$_$this()._x; - t3 = t2.get$_group$_$this(); - t4 = t3._group$_position; - t3 = t4 == null ? t3._group$_position = new X.Position3DBuilder() : t4; - t4 = t2.get$_group$_$this(); - t5 = t4._group$_position; - t4 = (t5 == null ? t4._group$_position = new X.Position3DBuilder() : t5).get$_position3d$_$this()._z; - t3.get$_position3d$_$this()._x = t4; - t2 = t2.get$_group$_$this(); - t4 = t2._group$_position; - (t4 == null ? t2._group$_position = new X.Position3DBuilder() : t4).get$_position3d$_$this()._z = swap; - } - } - return new S.Tuple2(helix_builders_map, group_builders_map, type$.Tuple2_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixGroupBuilder); + _$$SideMenuProps$JsMap$(backingMap) { + var t1 = new A._$$SideMenuProps$JsMap(new A.JsBackedMap({}), null, $, $, $); + t1.get$$$isClassGenerated(); + t1._menu_side$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - Design_from_json_str: function(json_str, invert_y) { - var e, exception, t1, json_map = null; - try { - json_map = type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, json_str, null)); - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.legacy_FormatException._is(t1)) { - e = t1; - throw H.wrapException(N.IllegalDesignError$("Error in syntax of scadnano file: " + H.S(J.get$message$x(e)))); - } else - throw exception; - } - return N.Design_from_json(json_map, invert_y); + ConnectedSideMenu_closure: function ConnectedSideMenu_closure() { }, - Design_from_json: function(json_map, invert_y) { - var t1, t2, version1, version2, t3, t4, position_x_z_should_swap, unused_fields, geometry, t, strands, strand_jsons, groups_map, mods_5p, mods_3p, mods_int, t5, _i, all_mods_key_and_mods, all_mods_key, mods, all_mods_json, t6, t7, t8, mod_key, mod, all_mods, _null = null, - _s23_ = "modifications_in_design"; - if (json_map == null) - return _null; - N.Design__check_mutually_exclusive_fields(json_map); - t1 = type$.legacy_String; - t2 = type$.dynamic; - version1 = E.get_version(E.optional_field(json_map, "version", "0.19.5", C.List_empty0, _null, _null, t1, t2)); - version2 = E.get_version("0.13.0"); - t3 = version1.major; - t4 = version2.major; - if (t3 >= t4) { - t3 = t3 === t4; - if (!(t3 && version1.minor < version2.minor)) { - t3 = t3 && version1.minor === version2.minor && version1.patch < version2.patch; - position_x_z_should_swap = t3; - } else - position_x_z_should_swap = true; - } else - position_x_z_should_swap = true; - unused_fields = E.unused_fields_map(json_map, $.$get$design_keys()).build$0(); - geometry = E.optional_field(json_map, "geometry", N.Geometry_Geometry(10.5, 1, 1, 150, 0.332), C.List_parameters, _null, new N.Design_from_json_closure(), type$.legacy_Geometry, t2); - t = N.Design__helices_and_groups_from_json(json_map, invert_y, position_x_z_should_swap, geometry); - strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - t2 = J.getInterceptor$asx(json_map); - strand_jsons = type$.legacy_List_dynamic._as(t2.$index(json_map, "strands")); - for (t3 = J.get$iterator$ax(strand_jsons), t4 = type$.legacy_Map_of_legacy_String_and_dynamic; t3.moveNext$0();) - C.JSArray_methods.add$1(strands, E.Strand_from_json(t4._as(t3.get$current(t3)))); - groups_map = J.map$2$1$ax(t.item2, new N.Design_from_json_closure0(), t1, type$.legacy_HelixGroup); - mods_5p = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification5Prime); - mods_3p = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification3Prime); - mods_int = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_ModificationInternal); - for (t3 = [new S.Tuple2("modifications_5p_in_design", mods_5p, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification5Prime), new S.Tuple2("modifications_3p_in_design", mods_3p, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification3Prime), new S.Tuple2("modifications_int_in_design", mods_int, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_ModificationInternal)], t5 = type$.legacy_Iterable_dynamic, _i = 0; _i < 3; ++_i) { - all_mods_key_and_mods = t3[_i]; - all_mods_key = all_mods_key_and_mods.item1; - mods = all_mods_key_and_mods.item2; - if (J.contains$1$asx(t2.get$keys(json_map), all_mods_key)) { - all_mods_json = t2.$index(json_map, all_mods_key); - for (t6 = J.getInterceptor$x(all_mods_json), t7 = J.get$iterator$ax(t5._as(t6.get$keys(all_mods_json))), t8 = J.getInterceptor$ax(mods); t7.moveNext$0();) { - mod_key = t7.get$current(t7); - mod = Z.Modification_from_json(t4._as(t6.$index(all_mods_json, mod_key))); - if (!J.$eq$(mod_key, mod.get$vendor_code())) - H.printString("WARNING: key " + H.S(mod_key) + " does not match vendor_code field " + mod.get$vendor_code() + "for modification " + mod.toString$0(0) + "\nreplacing with key = " + mod.get$vendor_code()); - t8.$indexSet(mods, mod.get$vendor_code(), mod); - } - } - } - all_mods = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification); - if (t2.containsKey$1(json_map, _s23_)) { - all_mods_json = t4._as(t2.$index(json_map, _s23_)); - for (t1 = J.getInterceptor$x(all_mods_json), t2 = J.get$iterator$ax(t1.get$keys(all_mods_json)); t2.moveNext$0();) { - t3 = t2.get$current(t2); - mod = Z.Modification_from_json(t4._as(t1.$index(all_mods_json, t3))); - if (t3 !== mod.get$vendor_code()) - H.printString('WARNING: modification key "' + H.S(t3) + '" does not match vendor code "' + mod.get$vendor_code() + '"; changing key to match vendor code'); - mod_key = mod.get$vendor_code(); - if (all_mods.containsKey$1(0, mod_key)) - throw H.wrapException(N.IllegalDesignError$('multiple modifications with same vendor code "' + mod_key + '"')); - all_mods.$indexSet(0, mod_key, mod); - } - } - N.Design_assign_modifications_to_strands(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods); - t1 = J.get$values$x(t.item1); - t2 = unused_fields._map$_map; - t3 = H._instanceType(unused_fields); - return N.Design_Design(geometry, C.Grid_none, groups_map, t1, invert_y, strands, new S.CopyOnWriteMap(unused_fields._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + SideMenuProps: function SideMenuProps() { }, - Design_assign_modifications_to_strands: function(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods) { - var legacy, t1, t2, t3, t4, t5, t6, t7, i, _box_0, strand, strand_json, t8, mod_name, t9, key, t10, mods_by_idx, mod_names_by_idx_json, offset, mod, - _s19_ = "5prime_modification", - _s19_0 = "3prime_modification", - _s22_ = "internal_modifications"; - if (all_mods.get$isNotEmpty(all_mods)) - legacy = true; - else { - if (!(mods_5p.get$isNotEmpty(mods_5p) || mods_3p.get$isNotEmpty(mods_3p) || mods_int.get$isNotEmpty(mods_int))) - return; - legacy = false; - } - for (t1 = J.getInterceptor$asx(strand_jsons), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = type$.legacy_Modification5Prime, t4 = type$.legacy_Modification3Prime, t5 = type$.legacy_Iterable_dynamic, t6 = type$.legacy_ModificationInternal, t7 = type$.legacy_int, i = 0; i < strands.length; ++i) { - _box_0 = {}; - strand = strands[i]; - strand_json = t1.$index(strand_jsons, i); - t8 = J.getInterceptor$x(strand_json); - if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s19_))) { - mod_name = t8.$index(strand_json, _s19_); - _box_0.mod = null; - if (legacy) { - if (!all_mods.containsKey$1(0, mod_name)) { - t9 = J.getInterceptor$s(mod_name); - key = t9.substring$2(mod_name, 0, 3) === "5'-" ? t9.substring$1(mod_name, 3) : "5'-" + H.S(mod_name); - } else - key = mod_name; - _box_0.mod = t3._as(all_mods.$index(0, key)); - } else { - if (!mods_5p.containsKey$1(0, mod_name)) { - t9 = J.getInterceptor$s(mod_name); - key = t9.substring$2(mod_name, 0, 3) === "5'-" ? t9.substring$1(mod_name, 3) : "5'-" + H.S(mod_name); - } else - key = mod_name; - _box_0.mod = t3._as(mods_5p.$index(0, key)); - } - strand.toString; - t9 = t2._as(new N.Design_assign_modifications_to_strands_closure(_box_0)); - t10 = new E.StrandBuilder(); - t10._strand$_$v = strand; - t9.call$1(t10); - strand = t10.build$0(); - } - if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s19_0))) { - mod_name = t8.$index(strand_json, _s19_0); - _box_0.mod = null; - if (legacy) { - if (!all_mods.containsKey$1(0, mod_name)) { - t9 = J.getInterceptor$s(mod_name); - key = t9.substring$2(mod_name, 0, 3) === "3'-" ? t9.substring$1(mod_name, 3) : "3'-" + H.S(mod_name); - } else - key = mod_name; - _box_0.mod = t4._as(all_mods.$index(0, key)); - } else { - if (!mods_3p.containsKey$1(0, mod_name)) { - t9 = J.getInterceptor$s(mod_name); - key = t9.substring$2(mod_name, 0, 3) === "3'-" ? t9.substring$1(mod_name, 3) : "3'-" + H.S(mod_name); - } else - key = mod_name; - _box_0.mod = t4._as(mods_3p.$index(0, key)); - } - strand.toString; - t9 = t2._as(new N.Design_assign_modifications_to_strands_closure0(_box_0)); - t10 = new E.StrandBuilder(); - t10._strand$_$v = strand; - t9.call$1(t10); - strand = t10.build$0(); - } - if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s22_))) { - mods_by_idx = P.LinkedHashMap_LinkedHashMap$_empty(t7, t6); - mod_names_by_idx_json = t8.$index(strand_json, _s22_); - for (t8 = J.getInterceptor$x(mod_names_by_idx_json), t9 = J.get$iterator$ax(t5._as(t8.get$keys(mod_names_by_idx_json))); t9.moveNext$0();) { - t10 = H._asStringS(t9.get$current(t9)); - offset = P.int_parse(t10, null); - mod_name = H._asStringS(t8.$index(mod_names_by_idx_json, t10)); - if (legacy) { - if (!all_mods.containsKey$1(0, mod_name)) - key = J.substring$2$s(mod_name, 0, 9) === "internal-" ? C.JSString_methods.substring$1(mod_name, 9) : "internal-" + mod_name; - else - key = mod_name; - mod = t6._as(all_mods.$index(0, key)); - } else - mod = t6._as(mods_int.$index(0, !mods_int.containsKey$1(0, mod_name) ? "internal-" + H.S(mod_name) : mod_name)); - mods_by_idx.$indexSet(0, offset, mod); - } - strand.toString; - t8 = t2._as(new N.Design_assign_modifications_to_strands_closure1(mods_by_idx)); - t9 = new E.StrandBuilder(); - t9._strand$_$v = strand; - t8.call$1(t9); - strand = t9.build$0(); - } - C.JSArray_methods.$indexSet(strands, i, strand); - } + SideMenuComponent: function SideMenuComponent() { }, - Design_domains_mismatch: function(forward_domain, reverse_domain) { - var name2, name1, t0; - if (!forward_domain.overlaps$1(reverse_domain)) - return false; - if (forward_domain.start !== reverse_domain.start) - return true; - if (forward_domain.end !== reverse_domain.end) - return true; - name2 = forward_domain.name; - if (name2 == null || false) - return false; - name1 = reverse_domain.name; - if (!(name2.length > name1.length)) { - t0 = name2; - name2 = name1; - name1 = t0; - } - return J.$add$ansx(name1, "*") !== name2; + SideMenuComponent_groups_menu_closure: function SideMenuComponent_groups_menu_closure(t0) { + this.name = t0; }, - Design_from_cadnano_v2: function(json_dict, invert_y) { - var grid_type, t2, t3, t4, min_col, min_row, cadnano_helix, t5, col, row, helix_builders, t6, n, helix, t7, seen, strands, cadnano_helices, helix_num, _i, strand_type, base_id, strand, - _s8_ = "vstrands", - _null = null, - _s13_ = "default_group", - t1 = J.getInterceptor$asx(json_dict), - num_bases = H._asIntS(J.get$length$asx(J.$index$asx(J.$index$asx(t1.$index(json_dict, _s8_), 0), "scaf"))); - if (typeof num_bases !== "number") - return num_bases.$mod(); - grid_type = C.JSInt_methods.$mod(num_bases, 21) === 0 ? C.Grid_honeycomb : C.Grid_square; - for (t2 = type$.legacy_Iterable_dynamic, t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))), t4 = type$.legacy_Map_of_legacy_String_and_dynamic, min_col = _null, min_row = min_col; t3.moveNext$0();) { - cadnano_helix = t4._as(t3.get$current(t3)); - t5 = J.getInterceptor$asx(cadnano_helix); - col = H._asIntS(t5.$index(cadnano_helix, "col")); - row = H._asIntS(t5.$index(cadnano_helix, "row")); - if (min_row == null) - min_row = row; - if (min_col == null) - min_col = col; - if (typeof row !== "number") - return row.$lt(); - if (typeof min_row !== "number") - return H.iae(min_row); - if (row < min_row) - min_row = row; - if (typeof col !== "number") - return col.$lt(); - if (typeof min_col !== "number") - return H.iae(min_col); - if (col < min_col) - min_col = col; - } - t3 = type$.legacy_int; - helix_builders = P.LinkedHashMap_LinkedHashMap(_null, _null, t3, type$.legacy_HelixBuilder); - for (t5 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t5.moveNext$0();) { - cadnano_helix = t4._as(t5.get$current(t5)); - t6 = J.getInterceptor$asx(cadnano_helix); - col = H._asIntS(t6.$index(cadnano_helix, "col")); - row = H._asIntS(t6.$index(cadnano_helix, "row")); - n = H._asIntS(t6.$index(cadnano_helix, "num")); - helix = new O.HelixBuilder(); - helix.get$_helix$_$this()._group = _s13_; - helix.get$_helix$_$this()._min_offset = 0; - helix.get$_helix$_$this()._roll = 0; - helix.get$_helix$_$this()._idx = n; - helix.get$_helix$_$this()._max_offset = num_bases; - t6 = D.GridPosition_GridPosition(col, row); - t7 = new D.GridPositionBuilder(); - t7._grid_position$_$v = t6; - helix.get$_helix$_$this()._grid_position = t7; - helix.get$_helix$_$this()._group = _s13_; - helix_builders.$indexSet(0, n, helix); - } - seen = P.HashMap_HashMap(_null, _null, _null, type$.legacy_String, type$.legacy_Map_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_bool); - t5 = type$.legacy_Tuple2_of_legacy_int_and_legacy_int; - t6 = type$.legacy_bool; - seen.$indexSet(0, "scaf", P.HashMap_HashMap(_null, _null, _null, t5, t6)); - seen.$indexSet(0, "stap", P.HashMap_HashMap(_null, _null, _null, t5, t6)); - strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); - cadnano_helices = P.LinkedHashMap_LinkedHashMap(_null, _null, t3, t4); - for (t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t3.moveNext$0();) { - cadnano_helix = t4._as(t3.get$current(t3)); - cadnano_helices.$indexSet(0, H._asIntS(J.$index$asx(cadnano_helix, "num")), cadnano_helix); - } - for (t1 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))), t2 = type$.Tuple2_of_legacy_int_and_legacy_int; t1.moveNext$0();) { - helix_num = H._asIntS(J.$index$asx(t4._as(t1.get$current(t1)), "num")); - for (t3 = ["scaf", "stap"], _i = 0; _i < 2; ++_i) { - strand_type = t3[_i]; - for (base_id = 0; base_id < num_bases; ++base_id) { - if (J.containsKey$1$x(seen.$index(0, strand_type), new S.Tuple2(helix_num, base_id, t2))) - continue; - strand = N.Design__cadnano_v2_import_explore_strand(cadnano_helices, strand_type, seen.$index(0, strand_type), helix_num, base_id); - if (strand != null) - C.JSArray_methods.add$1(strands, strand); - } - } - } - return N.Design_Design(_null, grid_type, _null, helix_builders.get$values(helix_builders), invert_y, strands, C.Map_empty1); + SideMenuComponent_groups_menu_closure0: function SideMenuComponent_groups_menu_closure0(t0, t1) { + this.$this = t0; + this.groups = t1; }, - Design__cadnano_v2_import_explore_strand: function(vstrands, strand_type, seen, helix_num, base_id) { - var id_from, base_from, id_to, base_to, tmp, strand_5_end_helix, strand_5_end_base, is_circular, strand_color, domains, _null = null; - J.$indexSet$ax(seen, new S.Tuple2(helix_num, base_id, type$.Tuple2_of_legacy_int_and_legacy_int), true); - id_from = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 0)); - base_from = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 1)); - id_to = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 2)); - base_to = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 3)); - if (id_from === -1 && base_from === -1 && id_to === -1 && base_to === -1) - return _null; - tmp = N.Design__cadnano_v2_import_find_5_end(vstrands, strand_type, helix_num, base_id, id_from, base_from); - strand_5_end_helix = tmp.item1; - strand_5_end_base = tmp.item2; - is_circular = tmp.item3; - strand_color = N.Design__cadnano_v2_import_find_strand_color(vstrands, strand_type, strand_5_end_base, strand_5_end_helix); - domains = N.Design__cadnano_v2_import_explore_domains(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix); - if (is_circular) - N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains(domains); - return E.Strand_Strand(domains, is_circular, strand_color, _null, strand_type === "scaf", _null, _null, _null, C.Map_empty0, _null, _null); + SideMenuComponent_groups_menu_closure1: function SideMenuComponent_groups_menu_closure1(t0, t1) { + this.$this = t0; + this.groups = t1; }, - Design__cadnano_v2_import_find_5_end: function(vstrands, strand_type, helix_num, base_id, id_from, base_from) { - var is_circular, id_from0, base_from0, - circular_seen = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_bool), - t1 = type$.Tuple2_of_legacy_int_and_legacy_int, - base_from_before = base_id, - id_from_before = helix_num; - while (true) { - if (!!(id_from === -1 && base_from === -1)) { - is_circular = false; - break; - } - if (circular_seen.containsKey$1(0, new S.Tuple2(id_from, base_from, t1))) { - is_circular = true; - break; - } - circular_seen.$indexSet(0, new S.Tuple2(id_from, base_from, t1), true); - id_from0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, id_from), strand_type), base_from), 0)); - base_from0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, id_from), strand_type), base_from), 1)); - base_from_before = base_from; - base_from = base_from0; - id_from_before = id_from; - id_from = id_from0; - } - return new S.Tuple3(id_from_before, base_from_before, is_circular, type$.Tuple3_of_legacy_int_and_legacy_int_and_legacy_bool); + SideMenuComponent_groups_menu_closure2: function SideMenuComponent_groups_menu_closure2(t0) { + this.$this = t0; }, - Design__cadnano_v2_import_find_strand_color: function(vstrands, strand_type, strand_5_end_base, strand_5_end_helix) { - var t1, t2, tmp, t3, base_id, stap_color, - color = $.$get$default_cadnano_strand_color(); - if (strand_type === "scaf") - return $.$get$default_scaffold_color(); - if (strand_type === "stap") - for (t1 = J.get$iterator$ax(type$.legacy_Iterable_dynamic._as(J.$index$asx(vstrands.$index(0, strand_5_end_helix), "stap_colors"))), t2 = type$.legacy_List_dynamic; t1.moveNext$0();) { - tmp = t2._as(t1.get$current(t1)); - t3 = J.getInterceptor$asx(tmp); - base_id = H._asIntS(t3.$index(tmp, 0)); - stap_color = H._asIntS(t3.$index(tmp, 1)); - if (base_id == strand_5_end_base) { - color = S.HexColor_HexColor(C.JSString_methods.padLeft$2(J.toRadixString$1$n(stap_color, 16), 6, "0")); - break; - } - } - return color; + SideMenuComponent_groups_menu_closure3: function SideMenuComponent_groups_menu_closure3(t0, t1) { + this.$this = t0; + this.groups = t1; }, - Design__cadnano_v2_import_explore_domains: function(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix) { - var t2, direction_forward, start, end, circular_seen, t3, t4, t5, curr_base, curr_helix, curr_helix0, curr_base0, t6, t7, - domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain), - t1 = strand_type === "scaf"; - if (t1) { - if (typeof strand_5_end_helix !== "number") - return strand_5_end_helix.$mod(); - t2 = C.JSInt_methods.$mod(strand_5_end_helix, 2) === 0; - } else - t2 = false; - if (!t2) - if (strand_type === "stap") { - if (typeof strand_5_end_helix !== "number") - return strand_5_end_helix.$mod(); - t2 = C.JSInt_methods.$mod(strand_5_end_helix, 2) === 1; - direction_forward = t2; - } else - direction_forward = false; - else - direction_forward = true; - if (direction_forward) { - start = strand_5_end_base; - end = -1; - } else { - end = strand_5_end_base; - start = -1; - } - circular_seen = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_bool); - t2 = type$.Tuple2_of_legacy_int_and_legacy_int; - t3 = J.getInterceptor$ax(seen); - t4 = type$.legacy_List_dynamic; - t5 = strand_type === "stap"; - curr_base = strand_5_end_base; - curr_helix = strand_5_end_helix; - while (true) { - if (!!(curr_helix === -1 && curr_base === -1)) - break; - if (circular_seen.containsKey$1(0, new S.Tuple2(curr_helix, curr_base, t2))) - break; - circular_seen.$indexSet(0, new S.Tuple2(curr_helix, curr_base, t2), true); - t3.$indexSet(seen, new S.Tuple2(curr_helix, curr_base, t2), true); - curr_helix0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, curr_helix), strand_type), curr_base), 2)); - curr_base0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, curr_helix), strand_type), curr_base), 3)); - if (curr_helix0 == curr_helix) { - if (!direction_forward) { - if (typeof curr_base0 !== "number") - return curr_base0.$gt(); - if (typeof curr_base !== "number") - return H.iae(curr_base); - t6 = curr_base0 > curr_base; - } else - t6 = false; - if (!t6) { - if (direction_forward) { - if (typeof curr_base0 !== "number") - return curr_base0.$lt(); - if (typeof curr_base !== "number") - return H.iae(curr_base); - t6 = curr_base0 < curr_base; - } else - t6 = false; - if (!t6) { - if (typeof curr_base0 !== "number") - return curr_base0.$sub(); - if (typeof curr_base !== "number") - return H.iae(curr_base); - if (Math.abs(curr_base0 - curr_base) <= 1) - t6 = curr_helix0 == strand_5_end_helix && curr_base0 === strand_5_end_base; - else - t6 = true; - } else - t6 = true; - } else - t6 = true; - } else - t6 = true; - if (t6) { - if (direction_forward) - end = curr_base; - else - start = curr_base; - t6 = Math.min(H.checkNum(start), H.checkNum(end)); - t7 = Math.max(H.checkNum(start), H.checkNum(end)); - C.JSArray_methods.add$1(domains, G.Domain_Domain(N.Design__cadnano_v2_import_extract_deletions(t4._as(J.$index$asx(vstrands.$index(0, curr_helix), "skip")), start, end), t7 + 1, direction_forward, curr_helix, N.Design__cadnano_v2_import_extract_insertions(t4._as(J.$index$asx(vstrands.$index(0, curr_helix), "loop")), start, end), false, false, t1, t6)); - if (t1) { - if (typeof curr_helix0 !== "number") - return curr_helix0.$mod(); - t6 = C.JSInt_methods.$mod(curr_helix0, 2) === 0; - } else - t6 = false; - if (!t6) - if (t5) { - if (typeof curr_helix0 !== "number") - return curr_helix0.$mod(); - t6 = C.JSInt_methods.$mod(curr_helix0, 2) === 1; - direction_forward = t6; - } else - direction_forward = false; - else - direction_forward = true; - if (direction_forward) { - start = curr_base0; - end = -1; - } else { - end = curr_base0; - start = -1; - } - } - curr_base = curr_base0; - curr_helix = curr_helix0; - } - return domains; + SideMenuComponent_grid_menu_closure: function SideMenuComponent_grid_menu_closure(t0, t1) { + this.$this = t0; + this.grid = t1; }, - Design__cadnano_v2_import_circular_strands_merge_first_last_domains: function(domains) { - if (C.JSArray_methods.get$first(domains).helix !== C.JSArray_methods.get$last(domains).helix) - return; - if (0 >= domains.length) - return H.ioore(domains, 0); - C.JSArray_methods.$indexSet(domains, 0, domains[0].rebuild$1(new N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(domains))); - if (0 >= domains.length) - return H.ioore(domains, -1); - domains.pop(); + SideMenuComponent_set_new_parameters_for_current_group_closure: function SideMenuComponent_set_new_parameters_for_current_group_closure(t0, t1) { + this.$this = t0; + this.groups = t1; }, - Design__cadnano_v2_import_extract_deletions: function(skip_table, start, end) { - var to_return = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), - t1 = J.getInterceptor$asx(skip_table), - base_id = start; - while (true) { - if (typeof base_id !== "number") - return base_id.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(base_id < end)) - break; - if (J.$eq$(t1.$index(skip_table, base_id), -1)) - C.JSArray_methods.add$1(to_return, base_id); - ++base_id; - } - return to_return; + SideMenuComponent_adjust_helix_indices_for_current_group_closure: function SideMenuComponent_adjust_helix_indices_for_current_group_closure(t0, t1) { + this.$this = t0; + this.groups = t1; }, - Design__cadnano_v2_import_extract_insertions: function(loop_table, start, end) { - var to_return = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion), - t1 = J.getInterceptor$asx(loop_table), - base_id = start; - while (true) { - if (typeof base_id !== "number") - return base_id.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(base_id < end)) - break; - if (!J.$eq$(t1.$index(loop_table, base_id), 0)) - C.JSArray_methods.add$1(to_return, G.Insertion_Insertion(base_id, H._asIntS(t1.$index(loop_table, base_id)))); - ++base_id; - } - return to_return; + SideMenuComponent_add_new_group_closure: function SideMenuComponent_add_new_group_closure(t0, t1) { + this.$this = t0; + this.existing_names = t1; }, - _calculate_groups_from_helix_builder: function(helix_builders, grid) { - var t2, group_to_helix_idxs, t3, t4, $name, t5, - t1 = J.getInterceptor$asx(helix_builders); - if (t1.get$isEmpty(helix_builders)) - return P.LinkedHashMap_LinkedHashMap$_literal(["default_group", O.HelixGroup_HelixGroup(grid, H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), 0, null, 0, 0)], type$.legacy_String, type$.legacy_HelixGroup); - t2 = type$.legacy_String; - group_to_helix_idxs = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_List_legacy_int); - for (t1 = t1.get$iterator(helix_builders), t3 = type$.JSArray_legacy_int; t1.moveNext$0();) { - t4 = t1.get$current(t1); - $name = t4.get$_helix$_$this()._group; - if (!group_to_helix_idxs.containsKey$1(0, $name)) - group_to_helix_idxs.$indexSet(0, $name, H.setRuntimeTypeInfo([], t3)); - t5 = group_to_helix_idxs.$index(0, $name); - (t5 && C.JSArray_methods).add$1(t5, t4.get$_helix$_$this()._idx); - } - t1 = group_to_helix_idxs.get$values(group_to_helix_idxs); - t3 = H._instanceType(t1); - H.MappedIterable_MappedIterable(t1, t3._eval$1("~(Iterable.E)")._as(new N._calculate_groups_from_helix_builder_closure()), t3._eval$1("Iterable.E"), type$.void); - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_HelixGroup); - for (t1 = group_to_helix_idxs.get$keys(group_to_helix_idxs), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t3 = t1.get$current(t1); - t2.$indexSet(0, t3, O.HelixGroup_HelixGroup(grid, group_to_helix_idxs.$index(0, t3), 0, null, 0, 0)); - } - return t2; + SideMenuComponent_ask_new_helix_indices_for_current_group_closure: function SideMenuComponent_ask_new_helix_indices_for_current_group_closure(t0) { + this.items = t0; }, - ensure_helix_groups_in_groups_map: function(helix_builders_map, group_builders_map) { - var t1, t2; - for (t1 = helix_builders_map.get$values(helix_builders_map), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (!group_builders_map.containsKey$1(0, t2.get$_helix$_$this()._group)) - throw H.wrapException(N.IllegalDesignError$("helix " + H.S(t2.get$idx()) + " has group " + H.S(t2.get$group()) + ", which does not exist in the design.\nThe valid groups are: " + group_builders_map.get$keys(group_builders_map).join$1(0, ", "))); - } + SideMenuComponent_ask_new_helix_indices_for_current_group__closure: function SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t0) { + this.saved_item = t0; }, - assign_grids_to_helix_builders_from_groups: function(groups_map, helix_builders) { - var t1, t2, t3; - for (t1 = helix_builders.get$values(helix_builders), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = groups_map.$index(0, t2.get$_helix$_$this()._group).grid; - t2.get$_helix$_$this()._grid = t3; - } + $SideMenuComponentFactory_closure: function $SideMenuComponentFactory_closure() { }, - assign_default_helices_view_orders_to_groups: function(group_builders_map, helix_builders) { - var t2, t3, t4, t5, t6, group_builder, t7, t8, helix_builders_in_group, helix, helix_idxs, t9, existing_helices_view_order, identity, helices_view_order, sorted_helices_view_order, sorted_helix_idxs, new_helices_view_order, _null = null, _s4_ = "sort", - t1 = type$.legacy_int, - num_helices_in_group = group_builders_map.map$2$1(group_builders_map, new N.assign_default_helices_view_orders_to_groups_closure(), type$.legacy_String, t1); - for (t2 = helix_builders.get$values(helix_builders), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2).get$_helix$_$this()._group; - t4 = num_helices_in_group.$index(0, t3); - if (typeof t4 !== "number") - return t4.$add(); - num_helices_in_group.$indexSet(0, t3, t4 + 1); - } - for (t2 = group_builders_map.get$keys(group_builders_map), t2 = t2.get$iterator(t2), t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.legacy_HelixBuilder; t2.moveNext$0();) { - t6 = t2.get$current(t2); - group_builder = group_builders_map.$index(0, t6); - t7 = group_builder.get$_group$_$this(); - t8 = t7._group$_helices_view_order; - if (t8 == null) { - t8 = new D.ListBuilder(t4); - t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); - t8.set$_listOwner(_null); - t7.set$_group$_helices_view_order(t8); - t7 = t8; - } else - t7 = t8; - t7 = t7.__ListBuilder__list; - t7 = J.get$length$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t7); - t8 = num_helices_in_group.$index(0, t6); - if (t7 == null ? t8 != null : t7 !== t8) { - helix_builders_in_group = P.LinkedHashMap_LinkedHashMap$_empty(t1, t5); - for (t7 = helix_builders.get$keys(helix_builders), t7 = t7.get$iterator(t7); t7.moveNext$0();) { - t8 = t7.get$current(t7); - helix = helix_builders.$index(0, t8); - if (helix.get$_helix$_$this()._group == t6) - helix_builders_in_group.$indexSet(0, t8, helix); - } - t6 = helix_builders_in_group.get$keys(helix_builders_in_group); - helix_idxs = P.List_List$of(t6, true, H._instanceType(t6)._eval$1("Iterable.E")); - t6 = group_builder.get$_group$_$this(); - t7 = t6._group$_helices_view_order; - if (t7 == null) { - t7 = new D.ListBuilder(t4); - t7.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); - t7.set$_listOwner(_null); - t6.set$_group$_helices_view_order(t7); - t6 = t7; - } else - t6 = t7; - if (t6._listOwner == null) { - t7 = t6.__ListBuilder__list; - if (t7 === $) - t7 = H.throwExpression(H.LateError$fieldNI("_list")); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t9 = t9._as(new D._BuiltList(t7, t9)); - t6.set$__ListBuilder__list(t8._eval$1("List<1>")._as(t7)); - t6.set$_listOwner(t9); - } - existing_helices_view_order = t6._listOwner; - t6 = J.get$length$asx(existing_helices_view_order._list); - if (t6 !== helix_idxs.length) { - identity = P.List_List$of(helix_idxs, true, t1); - t6 = H._arrayInstanceType(identity); - t6._eval$1("int(1,1)?")._as(null); - if (!!identity.immutable$list) - H.throwExpression(P.UnsupportedError$(_s4_)); - t6 = t6._precomputed1; - t7 = identity.length - 1; - if (t7 - 0 <= 32) - H.Sort__insertionSort(identity, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - else - H.Sort__dualPivotQuicksort(identity, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - helices_view_order = identity; - } else { - sorted_helices_view_order = P.List_List$of(existing_helices_view_order, true, t1); - sorted_helix_idxs = P.List_List$of(helix_idxs, true, t1); - t6 = H._arrayInstanceType(sorted_helices_view_order); - t6._eval$1("int(1,1)?")._as(null); - if (!!sorted_helices_view_order.immutable$list) - H.throwExpression(P.UnsupportedError$(_s4_)); - t6 = t6._precomputed1; - t7 = sorted_helices_view_order.length - 1; - if (t7 - 0 <= 32) - H.Sort__insertionSort(sorted_helices_view_order, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - else - H.Sort__dualPivotQuicksort(sorted_helices_view_order, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - t6 = H._arrayInstanceType(sorted_helix_idxs); - t6._eval$1("int(1,1)?")._as(null); - if (!!sorted_helix_idxs.immutable$list) - H.throwExpression(P.UnsupportedError$(_s4_)); - t6 = t6._precomputed1; - t7 = sorted_helix_idxs.length - 1; - if (t7 - 0 <= 32) - H.Sort__insertionSort(sorted_helix_idxs, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - else - H.Sort__dualPivotQuicksort(sorted_helix_idxs, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); - if (sorted_helices_view_order !== sorted_helix_idxs) - H.throwExpression(N.IllegalDesignError$("The specified helices view order: " + existing_helices_view_order.toString$0(0) + "\n is not a bijection on helices indices: " + H.S(helix_idxs) + ".")); - helices_view_order = existing_helices_view_order; - } - new_helices_view_order = J.toList$0$ax(helices_view_order); - t6 = group_builder.get$_group$_$this(); - t7 = t6._group$_helices_view_order; - if (t7 == null) { - t7 = new D.ListBuilder(t4); - t7.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); - t7.set$_listOwner(_null); - t6.set$_group$_helices_view_order(t7); - t6 = t7; - } else - t6 = t7; - t7 = t6.$ti; - t6.set$__ListBuilder__list(t7._eval$1("List<1>")._as(P.List_List$from(new_helices_view_order, true, t7._precomputed1))); - t6.set$_listOwner(_null); - } - } + _$$SideMenuProps: function _$$SideMenuProps() { }, - construct_helix_idx_to_domains_map: function(strands, helix_idxs) { - var t1, t2, t3, t4, t5, t6, helix_idx_to_substrands_builtset_builder, substrands, - helix_idx_to_substrands = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain); - if (helix_idxs != null) - for (t1 = J.get$iterator$ax(helix_idxs), t2 = type$.JSArray_legacy_Domain; t1.moveNext$0();) - helix_idx_to_substrands.$indexSet(0, t1.get$current(t1), H.setRuntimeTypeInfo([], t2)); - for (t1 = J.get$iterator$ax(strands), t2 = type$.JSArray_legacy_Domain, t3 = type$.legacy_Domain; t1.moveNext$0();) - for (t4 = J.get$iterator$ax(t1.get$current(t1).substrands._list); t4.moveNext$0();) { - t5 = t4.get$current(t4); - if (t5.is_domain$0()) { - t3._as(t5); - t6 = t5.helix; - if (helix_idx_to_substrands.containsKey$1(0, t6)) - J.add$1$ax(helix_idx_to_substrands.$index(0, t6), t5); - else - helix_idx_to_substrands.$indexSet(0, t6, H.setRuntimeTypeInfo([t5], t2)); - } - } - helix_idx_to_substrands_builtset_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain); - for (t1 = helix_idx_to_substrands.get$keys(helix_idx_to_substrands), t1 = t1.get$iterator(t1), t2 = type$._BuiltList_legacy_Domain; t1.moveNext$0();) { - t4 = t1.get$current(t1); - substrands = helix_idx_to_substrands.$index(0, t4); - J.sort$1$ax(substrands, new N.construct_helix_idx_to_domains_map_closure()); - t5 = new D._BuiltList(P.List_List$from(substrands, false, t3), t2); - t5._maybeCheckForNull$0(); - helix_idx_to_substrands_builtset_builder.$indexSet(0, t4, t5); - } - return A.BuiltMap_BuiltMap$of(helix_idx_to_substrands_builtset_builder, type$.legacy_int, type$.legacy_BuiltList_legacy_Domain); - }, - set_helices_min_max_offsets: function(helix_builders, strands) { - var t1, t2, t3, helix_builder, t4, t5, min_offset, - helix_idx_to_substrands = N.construct_helix_idx_to_domains_map(strands, helix_builders.get$keys(helix_builders)); - for (t1 = helix_builders.get$keys(helix_builders), t1 = t1.get$iterator(t1), t2 = helix_idx_to_substrands._map$_map, t3 = J.getInterceptor$asx(t2); t1.moveNext$0();) { - helix_builder = helix_builders.$index(0, t1.get$current(t1)); - if (helix_builder.get$_helix$_$this()._max_offset == null) { - t4 = N.calculate_default_max_offset(strands); - helix_builder.get$_helix$_$this()._max_offset = t4; - } - if (helix_builder.get$_helix$_$this()._min_offset == null) { - t4 = t3.$index(t2, helix_builder.get$_helix$_$this()._idx)._list; - t5 = J.getInterceptor$asx(t4); - min_offset = t5.get$isEmpty(t4) ? 0 : t5.get$first(t4).start; - for (t4 = t5.get$iterator(t4); t4.moveNext$0();) - min_offset = Math.min(min_offset, t4.get$current(t4).start); - if (min_offset > 0) - min_offset = 0; - helix_builder.get$_helix$_$this()._min_offset = min_offset; - } - if (helix_builder.get$_helix$_$this()._major_tick_start == null) { - t4 = helix_builder.get$_helix$_$this()._min_offset; - helix_builder.get$_helix$_$this()._major_tick_start = t4; - } - } + _$$SideMenuProps$PlainMap: function _$$SideMenuProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._menu_side$_props = t0; + _.SideMenuProps_groups = t1; + _.SideMenuProps___SideMenuProps_displayed_group_name_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - calculate_default_max_offset: function(strands) { - var greatest_max_offset, t2, t3, greatest_max_offset0, - t1 = J.getInterceptor$asx(strands); - if (t1.get$isEmpty(strands)) - greatest_max_offset = 64; - else { - greatest_max_offset = t1.get$first(strands).get$first_domain().end; - for (t1 = t1.get$iterator(strands); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - greatest_max_offset0 = t2.get$current(t2).end; - if (greatest_max_offset0 > greatest_max_offset) - greatest_max_offset = greatest_max_offset0; - } - } - } - return greatest_max_offset; + _$$SideMenuProps$JsMap: function _$$SideMenuProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._menu_side$_props = t0; + _.SideMenuProps_groups = t1; + _.SideMenuProps___SideMenuProps_displayed_group_name_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - _wc: function(code_unit) { - var t1 = $.$get$_wc_table(); - if (t1.containsKey$1(0, code_unit)) - return t1.$index(0, code_unit); - else - return code_unit; + _$SideMenuComponent: function _$SideMenuComponent(t0) { + var _ = this; + _.___$SideMenuComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - IllegalDesignError$: function(cause) { - return new N.IllegalDesignError(cause); + $SideMenuProps: function $SideMenuProps() { }, - IllegalCadnanoDesignError$: function(cause) { - return new N.IllegalCadnanoDesignError(cause); + __$$SideMenuProps_UiProps_SideMenuProps: function __$$SideMenuProps_UiProps_SideMenuProps() { }, - StrandError$: function(strand, the_cause) { - var t1 = new N.StrandError(the_cause), - first_substrand = strand.get$first_domain(), - last_substrand = strand.get$last_domain(), - t2 = "\n number of domains = " + H.S(J.get$length$asx(strand.substrands._list)) + "\n strand 5' end offset = " + first_substrand.get$offset_5p() + "\n strand 3' helix = " + last_substrand.helix + "\n strand 3' end offset = " + last_substrand.get$offset_3p() + "\n strand length = " + strand.get$dna_length() + "\n DNA sequence length = ", - t3 = strand.get$dna_sequence(); - t1.cause = the_cause + (t2 + H.S(t3 == null ? null : t3.length) + "\n DNA sequence = " + H.S(strand.get$dna_sequence()) + "\n strand 5' helix = " + first_substrand.helix + "\n"); - return t1; + __$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps: function __$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps() { }, - Design: function Design() { + OxviewViewComponent: function OxviewViewComponent() { + this.__OxviewViewComponent_frame_A = this.__OxviewViewComponent_div_A = $; }, - Design_Design_closure: function Design_Design_closure() { + set_potential_crossover_props(elt, potential_crossover) { + J.$indexSet$ax(elt.get$props(elt), string$.PotentC, potential_crossover); + J.$indexSet$ax(elt.get$props(elt), "PotentialCrossoverViewProps.id_", "potential-crossover-main"); + return elt; }, - Design_Design_closure0: function Design_Design_closure0(t0) { - this._box_0 = t0; + _$PotentialCrossoverView(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$PotentialCrossoverViewProps$JsMap$(new A.JsBackedMap({})) : A._$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps(backingProps); }, - Design_Design_closure1: function Design_Design_closure1(t0, t1, t2, t3) { - var _ = this; - _._box_0 = t0; - _.helices_map = t1; - _.strands = t2; - _.unused_fields = t3; + _$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$PotentialCrossoverViewProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$PotentialCrossoverViewProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, $, $); + t1.get$$$isClassGenerated(); + t1._potential_crossover_view$_props = backingMap; + return t1; + } }, - Design__initializeBuilder_closure: function Design__initializeBuilder_closure() { + _$$PotentialCrossoverViewProps$JsMap$(backingMap) { + var t1 = new A._$$PotentialCrossoverViewProps$JsMap(new A.JsBackedMap({}), null, $, $, $); + t1.get$$$isClassGenerated(); + t1._potential_crossover_view$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - Design_helices_in_group_closure: function Design_helices_in_group_closure(t0) { - this.group_name = t0; + ConnectedPotentialCrossoverView_closure: function ConnectedPotentialCrossoverView_closure() { }, - Design_address_crossover_pairs_by_helix_idx_closure: function Design_address_crossover_pairs_by_helix_idx_closure() { + PotentialCrossoverViewProps: function PotentialCrossoverViewProps() { }, - Design_domain_mismatches_map_closure: function Design_domain_mismatches_map_closure(t0) { - this.domain_mismatches_builtmap_builder = t0; + PotentialCrossoverViewComponent: function PotentialCrossoverViewComponent() { }, - Design_unpaired_insertion_deletion_map_closure: function Design_unpaired_insertion_deletion_map_closure(t0) { - this.unpaired_insertion_deletion_half_built_map = t0; + $PotentialCrossoverViewComponentFactory_closure: function $PotentialCrossoverViewComponentFactory_closure() { }, - Design_max_offset_closure: function Design_max_offset_closure() { + _$$PotentialCrossoverViewProps: function _$$PotentialCrossoverViewProps() { }, - Design_min_offset_closure: function Design_min_offset_closure() { + _$$PotentialCrossoverViewProps$PlainMap: function _$$PotentialCrossoverViewProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_crossover_view$_props = t0; + _.PotentialCrossoverViewProps_potential_crossover = t1; + _.PotentialCrossoverViewProps___PotentialCrossoverViewProps_id__A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Design_add_strands_closure: function Design_add_strands_closure(t0) { - this.new_strands = t0; + _$$PotentialCrossoverViewProps$JsMap: function _$$PotentialCrossoverViewProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_crossover_view$_props = t0; + _.PotentialCrossoverViewProps_potential_crossover = t1; + _.PotentialCrossoverViewProps___PotentialCrossoverViewProps_id__A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Design_remove_strands_closure: function Design_remove_strands_closure(t0) { - this.strands_to_remove_set = t0; + _$PotentialCrossoverViewComponent: function _$PotentialCrossoverViewComponent(t0) { + var _ = this; + _.___$PotentialCrossoverViewComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - Design_remove_strands__closure: function Design_remove_strands__closure(t0) { - this.strands_to_remove_set = t0; + $PotentialCrossoverViewProps: function $PotentialCrossoverViewProps() { }, - Design_has_nondefault_min_offset_closure: function Design_has_nondefault_min_offset_closure() { + __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps() { }, - Design__groups_from_json_closure: function Design__groups_from_json_closure(t0, t1) { - this.helix_builders_map = t0; - this.name = t1; + __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps() { }, - Design__groups_from_json_closure0: function Design__groups_from_json_closure0() { + _$PotentialExtensionsView(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$PotentialExtensionsViewProps$JsMap$(new A.JsBackedMap({})) : A._$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps(backingProps); }, - Design_from_json_closure: function Design_from_json_closure() { + _$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$PotentialExtensionsViewProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$PotentialExtensionsViewProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, $, $); + t1.get$$$isClassGenerated(); + t1._potential_extensions_view$_props = backingMap; + return t1; + } }, - Design_from_json_closure0: function Design_from_json_closure0() { + _$$PotentialExtensionsViewProps$JsMap$(backingMap) { + var t1 = new A._$$PotentialExtensionsViewProps$JsMap(new A.JsBackedMap({}), null, null, $, $); + t1.get$$$isClassGenerated(); + t1._potential_extensions_view$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - Design_assign_modifications_to_strands_closure: function Design_assign_modifications_to_strands_closure(t0) { - this._box_0 = t0; + ConnectedPotentialExtensionsView_closure: function ConnectedPotentialExtensionsView_closure() { }, - Design_assign_modifications_to_strands_closure0: function Design_assign_modifications_to_strands_closure0(t0) { - this._box_0 = t0; + PotentialExtensionsViewProps: function PotentialExtensionsViewProps() { }, - Design_assign_modifications_to_strands_closure1: function Design_assign_modifications_to_strands_closure1(t0) { - this.mods_by_idx = t0; + PotentialExtensionsViewComponent: function PotentialExtensionsViewComponent() { }, - Design_check_strands_overlap_legally_err_msg: function Design_check_strands_overlap_legally_err_msg() { + PotentialExtensionsViewComponent_render_closure: function PotentialExtensionsViewComponent_render_closure(t0, t1) { + this.$this = t0; + this.potential_extensions = t1; }, - Design_check_strands_overlap_legally_closure: function Design_check_strands_overlap_legally_closure() { + $PotentialExtensionsViewComponentFactory_closure: function $PotentialExtensionsViewComponentFactory_closure() { }, - Design_domains_on_helix_closure: function Design_domains_on_helix_closure(t0) { - this.forward = t0; + _$$PotentialExtensionsViewProps: function _$$PotentialExtensionsViewProps() { }, - Design_domains_on_helix_overlapping_closure: function Design_domains_on_helix_overlapping_closure(t0) { - this.domain = t0; + _$$PotentialExtensionsViewProps$PlainMap: function _$$PotentialExtensionsViewProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_extensions_view$_props = t0; + _.PotentialExtensionsViewProps_potential_extensions = t1; + _.PotentialExtensionsViewProps_id_ = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Design_domain_name_mismatches_closure: function Design_domain_name_mismatches_closure() { + _$$PotentialExtensionsViewProps$JsMap: function _$$PotentialExtensionsViewProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_extensions_view$_props = t0; + _.PotentialExtensionsViewProps_potential_extensions = t1; + _.PotentialExtensionsViewProps_id_ = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Design_base_pairs_with_domain_strand_closure: function Design_base_pairs_with_domain_strand_closure() { + _$PotentialExtensionsViewComponent: function _$PotentialExtensionsViewComponent(t0) { + var _ = this; + _.___$PotentialExtensionsViewComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - Design_base_pairs_with_domain_strand_closure0: function Design_base_pairs_with_domain_strand_closure0() { + $PotentialExtensionsViewProps: function $PotentialExtensionsViewProps() { }, - Design_base_pairs_with_domain_strand_closure1: function Design_base_pairs_with_domain_strand_closure1() { + __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps() { }, - Design_base_pairs_with_domain_strand_closure2: function Design_base_pairs_with_domain_strand_closure2() { + __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps() { }, - Design__base_pairs_closure: function Design__base_pairs_closure() { + PureComponent: function PureComponent() { }, - Design_find_overlapping_domains_on_helix_closure: function Design_find_overlapping_domains_on_helix_closure() { + ReactBootstrap: function ReactBootstrap() { }, - Design_find_overlapping_domains_on_helix_closure0: function Design_find_overlapping_domains_on_helix_closure0() { + ReactColor: function ReactColor() { }, - Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure: function Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(t0) { - this.domains = t0; + RedrawCounterMixin: function RedrawCounterMixin() { }, - _calculate_groups_from_helix_builder_closure: function _calculate_groups_from_helix_builder_closure() { + _$SelectMode(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$SelectModeProps$JsMap$(new A.JsBackedMap({})) : A._$$SelectModeProps__$$SelectModeProps(backingProps); }, - assign_default_helices_view_orders_to_groups_closure: function assign_default_helices_view_orders_to_groups_closure() { + _$$SelectModeProps__$$SelectModeProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$SelectModeProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$SelectModeProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._select_mode$_props = backingMap; + return t1; + } }, - construct_helix_idx_to_domains_map_closure: function construct_helix_idx_to_domains_map_closure() { + _$$SelectModeProps$JsMap$(backingMap) { + var t1 = new A._$$SelectModeProps$JsMap(new A.JsBackedMap({}), $, $, $, $); + t1.get$$$isClassGenerated(); + t1._select_mode$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - Mismatch: function Mismatch(t0, t1, t2) { - this.dna_idx = t0; - this.offset = t1; - this.within_insertion = t2; + SelectModePropsMixin: function SelectModePropsMixin() { }, - IllegalDesignError: function IllegalDesignError(t0) { - this.cause = t0; + SelectModeComponent: function SelectModeComponent() { }, - IllegalCadnanoDesignError: function IllegalCadnanoDesignError(t0) { - this.cause = t0; + SelectModeComponent_render_closure: function SelectModeComponent_render_closure() { }, - StrandError: function StrandError(t0) { - this.cause = t0; + SelectModeComponent_render_closure0: function SelectModeComponent_render_closure0(t0) { + this.mode = t0; }, - HelixPitchYaw: function HelixPitchYaw(t0, t1, t2) { - this.pitch = t0; - this.yaw = t1; - this.helix_idx = t2; + $SelectModeComponentFactory_closure: function $SelectModeComponentFactory_closure() { }, - _$Design: function _$Design(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.version = t0; - _.geometry = t1; - _.helices = t2; - _.strands = t3; - _.groups = t4; - _.unused_fields = t5; - _.__address_3p_to_domain = _.__address_5p_to_domain = _.__address_3p_to_strand = _.__address_5p_to_strand = _.__end_to_address = _.__address_to_end = _.__helix_idx_to_domains = _.__helix_idxs = _.__linker_to_strand = _.__crossover_to_strand = _.__strand_to_index = _.__substrand_to_strand = _.__end_to_extension = _.__end_to_domain = _.__unpaired_insertion_deletion_map = _.__domain_mismatches_map = _.__strands_overlapping = _.__selectable_by_id = _.__ends_by_id = _.__modifications_by_id = _.__insertions_by_id = _.__deletions_by_id = _.__crossovers_by_id = _.__extensions_by_id = _.__loopouts_by_id = _.__domains_by_id = _.__strands_by_id = _.__address_crossover_pairs_by_helix_idx = _.__color_of_domain = _.__is_origami = null; - _._design0$__hashCode = _.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = _.__helix_to_crossover_addresses_disallow_intrahelix = _.__helix_to_crossover_addresses = _.__has_insertions_or_deletions = _.__all_domains = _.__domain_name_mismatches = _.__helix_idxs_in_group = _.__grid = _.__min_offset = _.__max_offset = _.__potential_vertical_crossovers = null; + _$$SelectModeProps: function _$$SelectModeProps() { }, - DesignBuilder: function DesignBuilder() { + _$$SelectModeProps$PlainMap: function _$$SelectModeProps$PlainMap(t0, t1, t2, t3, t4) { var _ = this; - _._unused_fields = _._groups = _._strands = _._helices = _._geometry = _._version = _._design0$_$v = null; - }, - _Design_Object_UnusedFields: function _Design_Object_UnusedFields() { - }, - Geometry_Geometry: function(bases_per_turn, helix_radius, inter_helix_gap, minor_groove_angle, rise_per_base_pair) { - var t1 = new N.GeometryBuilder(); - type$.legacy_void_Function_legacy_GeometryBuilder._as(new N.Geometry_Geometry_closure(rise_per_base_pair, helix_radius, inter_helix_gap, bases_per_turn, minor_groove_angle)).call$1(t1); - return t1.build$0(); - }, - Geometry_from_json: function(json_map) { - var _null = null, - t1 = type$.legacy_double, - t2 = type$.dynamic, - rise_per_base_pair = E.optional_field(json_map, "rise_per_base_pair", 0.332, C.List_z_step, _null, _null, t1, t2), - helix_radius = E.optional_field(json_map, "helix_radius", 1, C.List_empty0, _null, _null, t1, t2), - inter_helix_gap = E.optional_field(json_map, "inter_helix_gap", 1, C.List_empty0, _null, _null, t1, t2), - geometry = N.Geometry_Geometry(E.optional_field(json_map, "bases_per_turn", 10.5, C.List_empty0, _null, _null, t1, t2), helix_radius, inter_helix_gap, E.optional_field(json_map, "minor_groove_angle", 150, C.List_groove_angle, new N.Geometry_from_json_closure(), _null, t1, type$.legacy_num), rise_per_base_pair), - unused_fields = E.unused_fields_map(json_map, $.$get$geometry_keys()); - geometry.toString; - t1 = type$.legacy_void_Function_legacy_GeometryBuilder._as(new N.Geometry_from_json_closure0(unused_fields)); - t2 = new N.GeometryBuilder(); - t2._geometry$_$v = geometry; - t1.call$1(t2); - return t2.build$0(); - }, - Geometry: function Geometry() { + _._select_mode$_props = t0; + _.SelectModePropsMixin___SelectModePropsMixin_select_mode_state_A = t1; + _.SelectModePropsMixin___SelectModePropsMixin_is_origami_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Geometry_Geometry_closure: function Geometry_Geometry_closure(t0, t1, t2, t3, t4) { + _$$SelectModeProps$JsMap: function _$$SelectModeProps$JsMap(t0, t1, t2, t3, t4) { var _ = this; - _.rise_per_base_pair = t0; - _.helix_radius = t1; - _.inter_helix_gap = t2; - _.bases_per_turn = t3; - _.minor_groove_angle = t4; + _._select_mode$_props = t0; + _.SelectModePropsMixin___SelectModePropsMixin_select_mode_state_A = t1; + _.SelectModePropsMixin___SelectModePropsMixin_is_origami_A = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t3; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t4; }, - Geometry_from_json_closure: function Geometry_from_json_closure() { + _$SelectModeComponent: function _$SelectModeComponent(t0, t1, t2, t3) { + var _ = this; + _.___$SelectModeComponent__cachedTypedProps_A = $; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - Geometry_from_json_closure0: function Geometry_from_json_closure0(t0) { - this.unused_fields = t0; + $SelectModePropsMixin: function $SelectModePropsMixin() { }, - _$GeometrySerializer: function _$GeometrySerializer() { + _SelectModeComponent_UiComponent2_RedrawCounterMixin: function _SelectModeComponent_UiComponent2_RedrawCounterMixin() { }, - _$Geometry: function _$Geometry(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.rise_per_base_pair = t0; - _.helix_radius = t1; - _.inter_helix_gap = t2; - _.bases_per_turn = t3; - _.minor_groove_angle = t4; - _.unused_fields = t5; - _._geometry$__hashCode = _.__svg_pixels_to_nm = _.__nm_to_svg_pixels = _.__base_height_svg = _.__base_width_svg = _.__helix_diameter_svg = _.__helix_radius_svg = _.__helix_diameter_nm = _.__distance_between_helices_svg = _.__distance_between_helices_nm = null; + __$$SelectModeProps_UiProps_SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin() { }, - GeometryBuilder: function GeometryBuilder() { - var _ = this; - _._geometry$_unused_fields = _._minor_groove_angle = _._bases_per_turn = _._inter_helix_gap = _._helix_radius = _._rise_per_base_pair = _._geometry$_$v = null; + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin() { }, - _Geometry_Object_BuiltJsonSerializable: function _Geometry_Object_BuiltJsonSerializable() { + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin() { }, - _Geometry_Object_BuiltJsonSerializable_UnusedFields: function _Geometry_Object_BuiltJsonSerializable_UnusedFields() { + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { }, - SelectModeState_add_selectable_css_selectors: function(mode) { + _$SelectionBoxView(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$SelectionBoxViewProps$JsMap$(new A.JsBackedMap({})) : A._$$SelectionBoxViewProps__$$SelectionBoxViewProps(backingProps); }, - SelectModeState_remove_selectable_css_selectors: function(mode) { + _$$SelectionBoxViewProps__$$SelectionBoxViewProps(backingMap) { + var t1, _null = null; + if (backingMap instanceof A.JsBackedMap) + return A._$$SelectionBoxViewProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$SelectionBoxViewProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._selection_box_view$_props = backingMap; + return t1; + } }, - SelectModeStateBuilder$: function() { - var t1 = new N.SelectModeStateBuilder(), - t2 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); - t1.get$_select_mode_state$_$this().set$_modes(t2); + _$$SelectionBoxViewProps$JsMap$(backingMap) { + var _null = null, + t1 = new A._$$SelectionBoxViewProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, $, $); + t1.get$$$isClassGenerated(); + t1._selection_box_view$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - SelectModeState: function SelectModeState() { + ConnectedSelectionBoxView_closure: function ConnectedSelectionBoxView_closure() { }, - SelectModeState_add_mode_closure: function SelectModeState_add_mode_closure(t0, t1) { - this.$this = t0; - this.mode = t1; + SelectionBoxViewProps: function SelectionBoxViewProps() { }, - SelectModeState_remove_mode_closure: function SelectModeState_remove_mode_closure(t0, t1) { - this.$this = t0; - this.mode = t1; + SelectionBoxViewComponent: function SelectionBoxViewComponent() { }, - SelectModeState_add_modes_closure: function SelectModeState_add_modes_closure(t0, t1) { - this.$this = t0; - this.new_modes = t1; + $SelectionBoxViewComponentFactory_closure: function $SelectionBoxViewComponentFactory_closure() { }, - SelectModeState_remove_modes_closure: function SelectModeState_remove_modes_closure(t0, t1) { - this.$this = t0; - this.new_modes = t1; + _$$SelectionBoxViewProps: function _$$SelectionBoxViewProps() { }, - SelectModeState_set_modes_closure: function SelectModeState_set_modes_closure(t0) { - this.new_modes = t0; + _$$SelectionBoxViewProps$PlainMap: function _$$SelectionBoxViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_box_view$_props = t0; + _.SelectionBoxViewProps_selection_box = t1; + _.SelectionBoxViewProps_stroke_width_getter = t2; + _.SelectionBoxViewProps_id_ = t3; + _.SelectionBoxViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$SelectModeStateSerializer: function _$SelectModeStateSerializer() { + _$$SelectionBoxViewProps$JsMap: function _$$SelectionBoxViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_box_view$_props = t0; + _.SelectionBoxViewProps_selection_box = t1; + _.SelectionBoxViewProps_stroke_width_getter = t2; + _.SelectionBoxViewProps_id_ = t3; + _.SelectionBoxViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$SelectModeState: function _$SelectModeState(t0) { + _$SelectionBoxViewComponent: function _$SelectionBoxViewComponent(t0) { var _ = this; - _.modes = t0; - _._select_mode_state$__hashCode = _.__modifications_selectable = _.__insertions_selectable = _.__deletions_selectable = _.__extensions_selectable = _.__domains_selectable = _.__ends_selectable = _.__linkers_selectable = _.__strands_selectable = null; + _.___$SelectionBoxViewComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - SelectModeStateBuilder: function SelectModeStateBuilder() { - this._modes = this._select_mode_state$_$v = null; + $SelectionBoxViewProps: function $SelectionBoxViewProps() { + }, + __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps() { + }, + __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps() { }, - _$MenuDropdownItem: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? N._$$MenuDropdownItemProps$JsMap$(new L.JsBackedMap({})) : N._$$MenuDropdownItemProps__$$MenuDropdownItemProps(backingProps); + _$SelectionRopeView(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$SelectionRopeViewProps$JsMap$(new A.JsBackedMap({})) : A._$$SelectionRopeViewProps__$$SelectionRopeViewProps(backingProps); }, - _$$MenuDropdownItemProps__$$MenuDropdownItemProps: function(backingMap) { + _$$SelectionRopeViewProps__$$SelectionRopeViewProps(backingMap) { var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return N._$$MenuDropdownItemProps$JsMap$(backingMap); + if (backingMap instanceof A.JsBackedMap) + return A._$$SelectionRopeViewProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); else { t1 = type$.dynamic; - t1 = new N._$$MenuDropdownItemProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$SelectionRopeViewProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._menu_dropdown_item$_props = backingMap; + t1._selection_rope_view$_props = backingMap; return t1; } }, - _$$MenuDropdownItemProps$JsMap$: function(backingMap) { + _$$SelectionRopeViewProps$JsMap$(backingMap) { var _null = null, - t1 = new N._$$MenuDropdownItemProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1 = new A._$$SelectionRopeViewProps$JsMap(new A.JsBackedMap({}), _null, _null, _null, _null, $, $); t1.get$$$isClassGenerated(); - t1._menu_dropdown_item$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + t1._selection_rope_view$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; return t1; }, - MenuDropdownItemPropsMixin: function MenuDropdownItemPropsMixin() { + ConnectedSelectionRopeView_closure: function ConnectedSelectionRopeView_closure() { }, - MenuDropdownItemComponent: function MenuDropdownItemComponent() { + SelectionRopeViewProps: function SelectionRopeViewProps() { }, - $MenuDropdownItemComponentFactory_closure: function $MenuDropdownItemComponentFactory_closure() { + SelectionRopeViewComponent: function SelectionRopeViewComponent() { }, - _$$MenuDropdownItemProps: function _$$MenuDropdownItemProps() { + $SelectionRopeViewComponentFactory_closure: function $SelectionRopeViewComponentFactory_closure() { }, - _$$MenuDropdownItemProps$PlainMap: function _$$MenuDropdownItemProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$$SelectionRopeViewProps: function _$$SelectionRopeViewProps() { + }, + _$$SelectionRopeViewProps$PlainMap: function _$$SelectionRopeViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._menu_dropdown_item$_props = t0; - _.MenuDropdownItemPropsMixin_display = t1; - _.MenuDropdownItemPropsMixin_on_click = t2; - _.MenuDropdownItemPropsMixin_keyboard_shortcut = t3; - _.MenuDropdownItemPropsMixin_disabled = t4; - _.MenuDropdownItemPropsMixin_active = t5; - _.MenuDropdownItemPropsMixin_tooltip = t6; + _._selection_rope_view$_props = t0; + _.SelectionRopeViewProps_selection_rope = t1; + _.SelectionRopeViewProps_stroke_width_getter = t2; + _.SelectionRopeViewProps_id_ = t3; + _.SelectionRopeViewProps_is_main = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$$MenuDropdownItemProps$JsMap: function _$$MenuDropdownItemProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + _$$SelectionRopeViewProps$JsMap: function _$$SelectionRopeViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._menu_dropdown_item$_props = t0; - _.MenuDropdownItemPropsMixin_display = t1; - _.MenuDropdownItemPropsMixin_on_click = t2; - _.MenuDropdownItemPropsMixin_keyboard_shortcut = t3; - _.MenuDropdownItemPropsMixin_disabled = t4; - _.MenuDropdownItemPropsMixin_active = t5; - _.MenuDropdownItemPropsMixin_tooltip = t6; + _._selection_rope_view$_props = t0; + _.SelectionRopeViewProps_selection_rope = t1; + _.SelectionRopeViewProps_stroke_width_getter = t2; + _.SelectionRopeViewProps_id_ = t3; + _.SelectionRopeViewProps_is_main = t4; _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t7; - _.UbiquitousDomPropsMixin__dom = t8; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - _$MenuDropdownItemComponent: function _$MenuDropdownItemComponent(t0) { + _$SelectionRopeViewComponent: function _$SelectionRopeViewComponent(t0) { var _ = this; - _._menu_dropdown_item$_cachedTypedProps = null; + _.___$SelectionRopeViewComponent__cachedTypedProps_A = $; _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; - }, - $MenuDropdownItemPropsMixin: function $MenuDropdownItemPropsMixin() { + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin() { - }, - __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin() { + $SelectionRopeViewProps: function $SelectionRopeViewProps() { }, - XmlAttribute$: function($name, value, attributeType) { - var t1 = new N.XmlAttribute($name, value, attributeType, null); - $name.toString; - H._instanceType($name)._eval$1("XmlHasParent.T")._as(t1); - if ($name.get$parent($name) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + $name.toString$0(0))); - $name.set$_has_parent$_parent(t1); - return t1; + __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps() { }, - XmlAttribute: function XmlAttribute(t0, t1, t2, t3) { - var _ = this; - _.name = t0; - _.value = t1; - _.attributeType = t2; - _.XmlHasParent__parent = t3; + __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps() { }, - _XmlAttribute_XmlNode_XmlHasParent: function _XmlAttribute_XmlNode_XmlHasParent() { + _$StrandOrSubstrandColorPicker(backingProps) { + type$.nullable_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$StrandOrSubstrandColorPickerProps$JsMap$(new A.JsBackedMap({})) : A._$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps(backingProps); }, - _XmlAttribute_XmlNode_XmlHasParent_XmlHasName: function _XmlAttribute_XmlNode_XmlHasParent_XmlHasName() { + _$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps(backingMap) { + var t1; + if (backingMap instanceof A.JsBackedMap) + return A._$$StrandOrSubstrandColorPickerProps$JsMap$(type$.nullable_JsBackedMap._as(backingMap)); + else { + t1 = type$.dynamic; + t1 = new A._$$StrandOrSubstrandColorPickerProps$PlainMap(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, $, null, null, $, $); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_props = backingMap; + return t1; + } }, - XmlData: function XmlData() { + _$$StrandOrSubstrandColorPickerProps$JsMap$(backingMap) { + var t1 = new A._$$StrandOrSubstrandColorPickerProps$JsMap(new A.JsBackedMap({}), null, $, null, null, $, $); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_props = backingMap == null ? new A.JsBackedMap({}) : backingMap; + return t1; }, - _XmlData_XmlNode_XmlHasParent: function _XmlData_XmlNode_XmlHasParent() { + _$$StrandOrSubstrandColorPickerState$JsMap$(backingMap) { + var t1 = new A._$$StrandOrSubstrandColorPickerState$JsMap(new A.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_state = backingMap; + return t1; }, - createNameMatcher: function($name, namespace) { - if ($name === "*") - if (namespace == null || namespace === "*") - return new N.createNameMatcher_closure(); - else - return new N.createNameMatcher_closure0(namespace); - else if (namespace == null) - return new N.createNameMatcher_closure1($name); - else if (namespace === "*") - return new N.createNameMatcher_closure2($name); - else - return new N.createNameMatcher_closure3($name, namespace); + ConnectedStrandOrSubstrandColorPicker_closure: function ConnectedStrandOrSubstrandColorPicker_closure() { }, - createNameMatcher_closure: function createNameMatcher_closure() { + StrandOrSubstrandColorPickerProps: function StrandOrSubstrandColorPickerProps() { }, - createNameMatcher_closure0: function createNameMatcher_closure0(t0) { - this.namespace = t0; + StrandOrSubstrandColorPickerState: function StrandOrSubstrandColorPickerState() { }, - createNameMatcher_closure1: function createNameMatcher_closure1(t0) { - this.name = t0; + StrandOrSubstrandColorPickerComponent: function StrandOrSubstrandColorPickerComponent() { }, - createNameMatcher_closure2: function createNameMatcher_closure2(t0) { - this.name = t0; + StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure(t0) { + this.color = t0; }, - createNameMatcher_closure3: function createNameMatcher_closure3(t0, t1) { - this.name = t0; - this.namespace = t1; + StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure(t0) { + this.color = t0; }, - oxview_update_view_middleware: function(store, action, next) { - var design; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof U.OxviewShowSet) - $.app.view.update_showing_oxview$0(); - if (store.get$state(store).ui_state.storables.show_oxview && type$.legacy_DesignChangingAction._is(action)) { - design = store.get$state(store).design; - if (design != null) - N.update_oxview_view(design, null); - } + StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure: function StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure(t0) { + this.strand = t0; }, - update_oxview_view: function(design, frame) { - var t1, text_blob_type, t2, t3, t4, message_js_commands, t5, dat_top, blob_dat, message, - _s41_ = string$.https_; - if (frame == null) { - t1 = $.app.view; - t1 = t1 == null ? null : t1.oxview_view; - frame = t1 == null ? null : t1.frame; - } - text_blob_type = E.blob_type_to_string(C.BlobType_0); - t1 = type$.JSArray_legacy_Blob; - t2 = type$.JSArray_legacy_String; - t3 = type$.legacy_String; - t4 = type$.dynamic; - message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["resetScene(resetCamera = false);"], text_blob_type)], t1), "ext", H.setRuntimeTypeInfo(["js"], t2)], t3, t4); - t5 = W._convertNativeToDart_Window(frame.contentWindow); - if (t5 != null) - J.postMessage$2$x(t5, message_js_commands, _s41_); - t5 = design.strands; - dat_top = N.to_oxdna_format(design, new Q.CopyOnWriteList(true, t5._list, H._instanceType(t5)._eval$1("CopyOnWriteList<1>"))); - blob_dat = W.Blob_Blob([dat_top.item1], text_blob_type); - message = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob([dat_top.item2], text_blob_type), blob_dat], t1), "ext", H.setRuntimeTypeInfo(["top", "dat"], t2), "inbox_settings", H.setRuntimeTypeInfo(["Monomer", "Origin"], t2)], t3, t4); - t4 = W._convertNativeToDart_Window(frame.contentWindow); - if (t4 != null) - J.postMessage$2$x(t4, message, _s41_); + JSColor: function JSColor() { }, - context_menu_show_reducer: function(_, action) { - type$.legacy_ContextMenu._as(_); - return type$.legacy_ContextMenuShow._as(action).context_menu; + $StrandOrSubstrandColorPickerComponentFactory_closure: function $StrandOrSubstrandColorPickerComponentFactory_closure() { }, - context_menu_hide_reducer: function(_, action) { - type$.legacy_ContextMenu._as(_); - type$.legacy_ContextMenuHide._as(action); - return null; - } - }, - F = { - Logger_Logger: function($name) { - return $.Logger__loggers.putIfAbsent$2(0, $name, new F.Logger_Logger_closure($name)); + _$$StrandOrSubstrandColorPickerProps: function _$$StrandOrSubstrandColorPickerProps() { }, - Logger: function Logger(t0, t1, t2, t3) { + _$$StrandOrSubstrandColorPickerProps$PlainMap: function _$$StrandOrSubstrandColorPickerProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _.name = t0; - _.parent = t1; - _._level = null; - _._children = t2; - _.children = t3; - _._controller = null; - }, - Logger_Logger_closure: function Logger_Logger_closure(t0) { - this.name = t0; + _._strand_color_picker$_props = t0; + _.StrandOrSubstrandColorPickerProps_color = t1; + _.StrandOrSubstrandColorPickerProps___StrandOrSubstrandColorPickerProps_show_A = t2; + _.StrandOrSubstrandColorPickerProps_strand = t3; + _.StrandOrSubstrandColorPickerProps_substrand = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - UrlStyle: function UrlStyle(t0, t1, t2, t3) { + _$$StrandOrSubstrandColorPickerProps$JsMap: function _$$StrandOrSubstrandColorPickerProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _.separatorPattern = t0; - _.needsSeparatorPattern = t1; - _.rootPattern = t2; - _.relativeRootPattern = t3; - }, - ReferenceParser: function ReferenceParser(t0, t1, t2) { - this.$function = t0; - this.$arguments = t1; - this.$ti = t2; + _._strand_color_picker$_props = t0; + _.StrandOrSubstrandColorPickerProps_color = t1; + _.StrandOrSubstrandColorPickerProps___StrandOrSubstrandColorPickerProps_show_A = t2; + _.StrandOrSubstrandColorPickerProps_strand = t3; + _.StrandOrSubstrandColorPickerProps_substrand = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_aria_FI = t5; + _.UbiquitousDomPropsMixin___UbiquitousDomPropsMixin_dom_FI = t6; }, - AESEngine: function AESEngine(t0, t1, t2, t3, t4, t5) { - var _ = this; - _._ROUNDS = 0; - _._WorkingKey = null; - _._forEncryption = false; - _._s = t0; - _._S = t1; - _._Si = t2; - _._rcon = t3; - _._T0 = t4; - _._Tinv0 = t5; + _$$StrandOrSubstrandColorPickerState: function _$$StrandOrSubstrandColorPickerState() { }, - validateJsApiThenReturn: function(computeReturn, $T) { - F.validateJsApi(); - return computeReturn.call$0(); + _$$StrandOrSubstrandColorPickerState$JsMap: function _$$StrandOrSubstrandColorPickerState$JsMap(t0, t1) { + this._strand_color_picker$_state = t0; + this.StrandOrSubstrandColorPickerState_color = t1; }, - validateJsApi: function() { - var exception, t1, _null = null; - if ($._isJsApiValid) - return; - try { - self.React.isValidElement(_null); - self.ReactDOM.findDOMNode(_null); - self._createReactDartComponentClass(_null, _null, _null); - self._createReactDartComponentClass2(_null, _null, _null); - $._isJsApiValid = true; - } catch (exception) { - if (type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) - throw H.wrapException(P.Exception_Exception("react.js and react_dom.js must be loaded.")); - else { - t1 = P.Exception_Exception("Loaded react.js must include react-dart JS interop helpers."); - throw H.wrapException(t1); - } - } + _$StrandOrSubstrandColorPickerComponent: function _$StrandOrSubstrandColorPickerComponent(t0) { + var _ = this; + _.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A = _.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A = $; + _.DisposableManagerProxy__disposableProxy = t0; + _.__Component2_jsThis_A = _.__Component2_state_A = _.__Component2_props_A = $; }, - DartValueWrapper_wrapIfNeeded: function(value) { - var t1 = type$.legacy_Function; - if (t1._is(value) && P.allowInterop(value, t1) !== value) - return new F.DartValueWrapper(value); - return value; + $StrandOrSubstrandColorPickerProps: function $StrandOrSubstrandColorPickerProps() { }, - DartValueWrapper_unwrapIfNeeded: function(value) { - if (value instanceof F.DartValueWrapper) - return value.value; - return value; + $StrandOrSubstrandColorPickerState: function $StrandOrSubstrandColorPickerState() { }, - DartValueWrapper: function DartValueWrapper(t0) { - this.value = t0; + __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps() { }, - _$valueOf2: function($name) { - switch ($name) { - case "scadnano_file": - return C.DNAFileType_scadnano_file; - case "cadnano_file": - return C.DNAFileType_cadnano_file; - default: - throw H.wrapException(P.ArgumentError$($name)); - } + __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps() { }, - DNAFileType: function DNAFileType(t0) { - this.name = t0; + __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState() { }, - _$DNAFileTypeSerializer: function _$DNAFileTypeSerializer() { + __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState() { }, - export_dna_sequences_middleware: function(store, action, next) { - var strands, filename, blob_type, result, $content, e, stackTrace, cause, msg, strands0, filename0, blob_type0, result0, content0, e0, stackTrace0, cause0, msg0, state, t1, t2, exception, t3, t4, t5, t6, onError; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - state = store.get$state(store); - if (action instanceof U.ExportCanDoDNA) { - strands = null; - t1 = state.design.strands; - strands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - t1 = strands; - t2 = H.instanceType(t1)._eval$1("bool(1)")._as(new F.export_dna_sequences_middleware_closure()); - t1._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(t1._copy_on_write_list$_list, t2); - filename = "cando_sequences.csv"; - blob_type = C.BlobType_0; - try { - result = F.cando_compatible_csv_export(strands); - $content = result; - E.save_file(filename, $content, null, blob_type); - } catch (exception) { - e = H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); - cause = ""; - if (F.has_cause(e)) - cause = H._asStringS(e.get$cause()); - else if (F.has_message(e)) - cause = H._asStringS(J.get$message$x(e)); - msg = J.$add$ansx(cause, "\n\n") + J.toString$0$(stackTrace); - store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg)); - $.app.view.design_view.render$1(0, store.get$state(store)); - } - } - if (action instanceof U.ExportDNA) { - strands0 = null; - if (action.include_only_selected_strands) - strands0 = state.ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - else if (action.exclude_selected_strands) { - t1 = state.design.strands; - strands0 = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - for (t1 = state.ui_state.selectables_store.get$selected_strands()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = strands0; - t3._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(t3._copy_on_write_list$_list, t2); - } - } else { - t1 = state.design.strands; - strands0 = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - } - if (!action.include_scaffold) - J.removeWhere$1$ax(strands0, new F.export_dna_sequences_middleware_closure0()); - t1 = action.export_dna_format; - filename0 = "sequences." + t1.extension$0(); - blob_type0 = t1.blob_type$0(); - try { - t2 = strands0; - t3 = action.delimiter; - t4 = action.domain_delimiter; - t5 = action.strand_order; - t6 = action.column_major_strand; - result0 = t1.export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order(t2, action.column_major_plate, t6, t3, t4, t5); - if (type$.legacy_Future_legacy_List_legacy_int._is(result0)) { - t1 = J.then$1$1$z(result0, new F.export_dna_sequences_middleware_closure1(filename0, blob_type0), type$.Null); - onError = new F.export_dna_sequences_middleware_closure2(store); - type$.nullable_bool_Function_Object._as(null); - t2 = t1.$ti; - t3 = $.Zone__current; - if (t3 !== C.C__RootZone) - onError = P._registerErrorHandler(onError, t3); - t1._addListener$1(new P._FutureListener(new P._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>"))); - } else { - content0 = H._asStringS(result0); - E.save_file(filename0, content0, null, blob_type0); - } - } catch (exception) { - e0 = H.unwrapException(exception); - stackTrace0 = H.getTraceFromException(exception); - cause0 = ""; - if (F.has_cause(e0)) - cause0 = H._asStringS(e0.get$cause()); - else if (F.has_message(e0)) - cause0 = H._asStringS(J.get$message$x(e0)); - msg0 = J.$add$ansx(cause0, "\n\n") + J.toString$0$(stackTrace0); - store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg0)); - $.app.view.design_view.render$1(0, store.get$state(store)); - } - } + setup_file_drag_and_drop_listener(drop_zone) { + var t1, t2, t3; + drop_zone.toString; + t1 = type$._ElementEventStreamImpl_legacy_MouseEvent; + t2 = t1._eval$1("~(1)?"); + t3 = t2._as(new A.setup_file_drag_and_drop_listener_closure()); + type$.nullable_void_Function._as(null); + t1 = t1._precomputed1; + A._EventStreamSubscription$(drop_zone, "dragover", t3, false, t1); + A._EventStreamSubscription$(drop_zone, "drop", t2._as(new A.setup_file_drag_and_drop_listener_closure0()), false, t1); }, - export_dna: function() { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, export_options, sort_options, items, t3, t4, results, include_scaffold, include_only_selected_strands, exclude_selected_strands, t5, column_major_strand, strand_order, column_major_plate, format, delimiter, domain_delimiter, t1, t2; - var $async$export_dna = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $.$get$_$values2(); - t2 = type$.legacy_String; - t1.toString; - t1 = t1._set.map$1$1(0, t1.$ti._eval$1("String*(1)")._as(new F.export_dna_closure()), t2); - export_options = P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")); - t1 = $.$get$_$values3(); - t1.toString; - t2 = t1._set.map$1$1(0, t1.$ti._eval$1("String*(1)")._as(new F.export_dna_closure0()), t2); - sort_options = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("Iterable.E")); - items = P.List_List$filled(10, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("delimiter between IDT fields", 'Delimiter to separate IDT fields in a "bulk input" text file, for instance if set to ";", then a line \nof the file could be\n strand_name;AAAAACCCCCGGGGG;25nm;STD', ",")); - C.JSArray_methods.$indexSet(items, 5, E.DialogText_DialogText("delimiter between DNA sequences of domains", 'Delimiter to separate DNA sequences from different domains/loopouts/extensions, for instance if set to " ", \nthen the exported DNA sequence could be\n AAAAA CCCCC GGGGG\nif it had three domains each of length 5.', "")); - C.JSArray_methods.$indexSet(items, 0, E.DialogCheckbox_DialogCheckbox("include scaffold", "", false)); - C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("include only selected strands", "", false)); - C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("exclude selected strands", "", false)); - C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("export format", C.List_69n, export_options, false, 0, null)); - C.JSArray_methods.$indexSet(items, 6, E.DialogCheckbox_DialogCheckbox("column-major well order (uncheck for row-major order)", 'For exporting to plates, this customizes the order in which wells are enumerated.\nColumn-major order is A1, B1, C1, ... Row-major order is A1, A2, A3, ... \nNote that this is distinct from the notion of "sort strands", which helps specify the \norder in which strands are processed (as opposed to order of wells in a plate).\n', true)); - C.JSArray_methods.$indexSet(items, 7, E.DialogCheckbox_DialogCheckbox("sort strands", 'By default strands are exported in the order they are stored in the .sc file.\nChecking this box allows some customization of the order in which strands are processed.\n(See "column-major" box below for description.) Note that for exporting plates, \nthis is distinct from the order in which wells are enumerated when putting strands \ninto the plate. That can be customized by selecting "column-major well order" below.\n', false)); - C.JSArray_methods.$indexSet(items, 8, E.DialogCheckbox_DialogCheckbox("column-major strand order (uncheck for row-major order)", 'When checked, strands are processed in column-major "visual order" by their 5\' ends. \nColumn-major means sort first by offset, then by helix index. For example, if\nthe 5\' addresses are (0,5), meaning helix 0 at offset 5, \nthen (0,10), (0,15), (1,5), (1,10), (1,15), (2,5), (2,10), (2,15),\nthen that is row-major order. Column-major order would be\n(0,5), (1,5), (2,5), (0,10), (1,10), (2,10), (0,15), (1,15), (2,15).\nFinally, instead of using the addresses of 5\' ends, other strand "parts" can be\nused to sort; see options under "strand part to sort by".\n', true)); - C.JSArray_methods.$indexSet(items, 9, E.DialogRadio_DialogRadio("strand part to sort by", C.List_4m4, sort_options, false, 0, 'When sorting strands by their "address" (helix index and offset), this indicates\nwhich part of the strand to use as the address.\n')); - t2 = type$.JSArray_legacy_int; - t1 = type$.legacy_int; - t3 = type$.legacy_Iterable_legacy_int; - t4 = P.LinkedHashMap_LinkedHashMap$_literal([1, H.setRuntimeTypeInfo([2], t2), 2, H.setRuntimeTypeInfo([1], t2)], t1, t3); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([8, H.setRuntimeTypeInfo([7], t2), 9, H.setRuntimeTypeInfo([7], t2)], t1, t3), t4, P.LinkedHashMap_LinkedHashMap$_literal([6, P.LinkedHashMap_LinkedHashMap$_literal([3, H.setRuntimeTypeInfo([C.Map_bv0.$index(0, C.ExportDNAFormat_csv), C.Map_bv0.$index(0, C.ExportDNAFormat_idt_bulk)], type$.JSArray_legacy_String)], t1, type$.legacy_Iterable_legacy_String)], t1, type$.legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String), items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "export DNA sequences", C.DialogType_export_dna_sequences, true)), $async$export_dna); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogCheckbox; - include_scaffold = t2._as(t1.$index(results, 0)).value; - include_only_selected_strands = t2._as(t1.$index(results, 1)).value; - exclude_selected_strands = t2._as(t1.$index(results, 2)).value; - t3 = type$.legacy_DialogRadio; - t4 = t3._as(t1.$index(results, 3)); - t5 = t4.options; - t4 = t4.selected_idx; - t4 = J.$index$asx(t5._list, t4); - if (t2._as(t1.$index(results, 7)).value) { - column_major_strand = t2._as(t1.$index(results, 8)).value; - t3 = t3._as(t1.$index(results, 9)); - t5 = t3.options; - t3 = t3.selected_idx; - strand_order = O.StrandOrder_fromString(J.$index$asx(t5._list, t3)); - } else { - strand_order = null; - column_major_strand = true; - } - column_major_plate = t2._as(t1.$index(results, 6)).value; - format = D.ExportDNAFormat_fromString(t4); - t2 = type$.legacy_DialogText; - delimiter = t2._as(t1.$index(results, 4)).value; - domain_delimiter = t2._as(t1.$index(results, 5)).value; - $.app.dispatch$1(U.ExportDNA_ExportDNA(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, format, include_only_selected_strands, include_scaffold, strand_order)); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$export_dna, $async$completer); + View: function View(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.root_element = t0; + _.edit_and_select_modes_element = t1; + _.menu_element = t2; + _.nonmenu_panes_container_element = t3; + _.design_element = t4; + _.design_and_modes_buttons_container_element = t5; + _.design_oxview_separator = t6; + _.__View_oxview_view_A = _.__View_design_view_A = $; + _.currently_showing_oxview = false; }, - cando_compatible_csv_export: function(strands) { - var t1, t2, t3, t4, t5, cando_strand, cando_split_name, cando_strand_end, - _s14_ = "*****NONE*****", - buf = new P.StringBuffer(""); - buf._contents = "Start,End,Sequence,Length,Color\n"; - for (t1 = J.get$iterator$ax(strands._copy_on_write_list$_list), t2 = type$.legacy_String; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.vendor_export_name$0(); - t4.toString; - if (H.stringContainsUnchecked(t4, "SCAF", 0)) - continue; - t4 = t3.vendor_export_name$0(); - t5 = P.RegExp_RegExp("^ST", true); - t4.toString; - cando_strand = H.stringReplaceAllUnchecked(t4, t5, ""); - t4 = P.RegExp_RegExp("\\d+\\[\\d+\\]", true).allMatches$1(0, cando_strand); - t5 = H._instanceType(t4); - t5 = H.MappedIterable_MappedIterable(t4, t5._eval$1("String*(Iterable.E)")._as(new F.cando_compatible_csv_export_closure()), t5._eval$1("Iterable.E"), t2); - cando_split_name = P.List_List$of(t5, true, H._instanceType(t5)._eval$1("Iterable.E")); - t4 = cando_split_name.length; - if (t4 !== 2) - throw H.wrapException(D.ExportDNAException$("Invalid strand name: " + H.S(t3.vendor_export_name$0()))); - if (1 >= t4) - return H.ioore(cando_split_name, 1); - cando_strand_end = cando_split_name[1]; - t4 = H.S(cando_split_name[0]) + "," + H.S(cando_strand_end) + ","; - t5 = t3.vendor_dna_sequence$1$domain_delimiter(""); - t4 = t4 + (t5 == null ? _s14_ : t5) + ","; - t5 = t3.vendor_dna_sequence$1$domain_delimiter(""); - t4 = t4 + (t5 == null ? _s14_ : t5).length + ","; - t3 = t3.color.toHexColor$0(); - buf._contents += t4 + ("#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.r), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.g), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.b), 16), 2, "0")).toUpperCase() + "\n"; - } - t1 = buf._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + setup_file_drag_and_drop_listener_closure: function setup_file_drag_and_drop_listener_closure() { }, - has_cause: function(obj) { - var exception, - has_it = false; - try { - obj.get$cause(); - has_it = true; - } catch (exception) { - if (!type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) - throw exception; - } - return has_it; + setup_file_drag_and_drop_listener_closure0: function setup_file_drag_and_drop_listener_closure0() { }, - has_message: function(obj) { - var exception, - has_it = false; - try { - J.get$message$x(obj); - has_it = true; - } catch (exception) { - if (!type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) - throw exception; - } - return has_it; + setup_file_drag_and_drop_listener__closure: function setup_file_drag_and_drop_listener__closure() { }, - export_dna_sequences_middleware_closure: function export_dna_sequences_middleware_closure() { + setup_file_drag_and_drop_listener__closure0: function setup_file_drag_and_drop_listener__closure0(t0, t1) { + this.file_reader = t0; + this.filename = t1; }, - export_dna_sequences_middleware_closure0: function export_dna_sequences_middleware_closure0() { + setup_file_drag_and_drop_listener__closure1: function setup_file_drag_and_drop_listener__closure1(t0) { + this.err_msg = t0; }, - export_dna_sequences_middleware_closure1: function export_dna_sequences_middleware_closure1(t0, t1) { - this.filename = t0; - this.blob_type = t1; + FileLocation$_(file, offset) { + if (offset < 0) + A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (offset > file._decodedChars.length) + A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + ".")); + return new A.FileLocation(file, offset); }, - export_dna_sequences_middleware_closure2: function export_dna_sequences_middleware_closure2(t0) { - this.store = t0; + SourceFile: function SourceFile(t0, t1, t2) { + var _ = this; + _.url = t0; + _._lineStarts = t1; + _._decodedChars = t2; + _._cachedLine = null; }, - export_dna_closure: function export_dna_closure() { + FileLocation: function FileLocation(t0, t1) { + this.file = t0; + this.offset = t1; }, - export_dna_closure0: function export_dna_closure0() { + _FileSpan: function _FileSpan(t0, t1, t2) { + this.file = t0; + this._file$_start = t1; + this._file$_end = t2; }, - cando_compatible_csv_export_closure: function cando_compatible_csv_export_closure() { + Highlighter$(span, color) { + var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, true)], type$.JSArray__Highlight)), + t2 = new A.Highlighter_closure(color).call$0(), + t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1), + t4 = A.Highlighter__contiguous(t1) ? 0 : 3, + t5 = A._arrayInstanceType(t1); + return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, t5._eval$1("int(1)")._as(new A.Highlighter$__closure()), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, t5._eval$1("Object?(1)")._as(new A.Highlighter$__closure0()), t5._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer("")); }, - periodic_design_save_local_storage_middleware: function(store, action, next) { - var t1, choice; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); - t1 = action instanceof U.LocalStorageDesignChoiceSet; - if (t1 || action instanceof U.SetAppUIStateStorable) { - if (t1) - choice = action.choice; - else - choice = action instanceof U.SetAppUIStateStorable ? action.storables.local_storage_design_choice : null; - if (choice.option === C.LocalStorageDesignOption_periodic) { - t1 = $.timer; - if (t1 != null) { - t1.cancel$0(0); - $.timer = null; - } - F.start_timer_periodic_design_save_local_storage(choice.period_seconds); - } else { - t1 = $.timer; - if (t1 != null) { - t1.cancel$0(0); - $.timer = null; - } - } + Highlighter__contiguous(lines) { + var i, thisLine, nextLine; + for (i = 0; i < lines.length - 1;) { + thisLine = lines[i]; + ++i; + nextLine = lines[i]; + if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url)) + return false; } + return true; }, - start_timer_periodic_design_save_local_storage: function(period_seconds) { - if (period_seconds > 0) - $.timer = P.Timer_Timer$periodic(P.Duration$(0, 0, period_seconds), new F.start_timer_periodic_design_save_local_storage_closure()); - else - throw H.wrapException(P.AssertionError$("WARNING: period_seconds cannot be <= 0 but is " + period_seconds)); + Highlighter__collateLines(highlights) { + var t1, t2, t3, + highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object); + for (t1 = highlightsByUrl.get$values(highlightsByUrl), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) + J.sort$1$ax(t2.__internal$_current, new A.Highlighter__collateLines_closure0()); + t1 = highlightsByUrl.get$entries(highlightsByUrl); + t2 = A._instanceType(t1); + t3 = t2._eval$1("ExpandIterable"); + return A.List_List$of(new A.ExpandIterable(t1, t2._eval$1("Iterable<_Line>(Iterable.E)")._as(new A.Highlighter__collateLines_closure1()), t3), true, t3._eval$1("Iterable.E")); }, - start_timer_periodic_design_save_local_storage_closure: function start_timer_periodic_design_save_local_storage_closure() { + _Highlight$(span, primary) { + var t1 = new A._Highlight_closure(span).call$0(); + return new A._Highlight(t1, true, null); }, - move_linker_reducer: function(strands, state, action) { - var design, potential_crossover, linker, end_fixed, end_to, t1, strand_from, t2, t3, new_all_strands, new_strands, t4, t5, new_strand_disconnected, new_strand_connected_intermediate, strands_to_join, t6, new_strand_connected, t7, crossover_idx, linker_seq, strand_to_dna_sequence, new_strand_connected_dna_sequence, strand_from_orig_idx, strand_to_orig_idx; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_MoveLinker._as(action); - design = state.design; - potential_crossover = action.potential_crossover; - linker = potential_crossover.linker; - end_fixed = potential_crossover.dna_end_first_click; - end_to = action.dna_end_second_click; - t1 = design.__linker_to_strand; - if (t1 == null) { - t1 = N.Design.prototype.get$linker_to_strand.call(design); - design.set$__linker_to_strand(t1); - } - strand_from = J.$index$asx(t1._map$_map, linker); - t1 = design.get$substrand_to_strand(); - t2 = J.$index$asx(design.get$end_to_domain()._map$_map, end_to); - t2 = J.$index$asx(t1._map$_map, t2); - if (J.$eq$(strand_from, t2)) { - C.Window_methods.alert$1(window, "creating circular strand by moving existing crossover/loopout not supported yet"); - return strands; - } - t1 = strands._list; - t3 = H._instanceType(strands); - new_all_strands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); - new_strands = G.remove_linkers_from_strand(strand_from, H.setRuntimeTypeInfo([linker], type$.JSArray_legacy_Linker)); - t4 = new_strands.length; - if (t4 === 2) { - t5 = end_fixed.is_5p; - if (t5) { - if (0 >= t4) - return H.ioore(new_strands, 0); - new_strand_disconnected = new_strands[0]; - } else { - if (1 >= t4) - return H.ioore(new_strands, 1); - new_strand_disconnected = new_strands[1]; - } - if (t5) { - if (1 >= t4) - return H.ioore(new_strands, 1); - new_strand_connected_intermediate = new_strands[1]; - } else { - if (0 >= t4) - return H.ioore(new_strands, 0); - new_strand_connected_intermediate = new_strands[0]; - } - t4 = type$.JSArray_legacy_Strand; - strands_to_join = H.setRuntimeTypeInfo([new_strand_connected_intermediate, t2], t4); - if (t5) { - t6 = type$.ReversedListIterable_legacy_Strand; - P.List_List$of(new H.ReversedListIterable(strands_to_join, t6), true, t6._eval$1("ListIterable.E")); - } - t6 = type$.legacy_Strand; - new_strand_connected = J.get$first$ax((end_fixed.get$is_3p() ? F._join_strands_with_crossover(new_strand_connected_intermediate, t2, D._BuiltList$of(H.setRuntimeTypeInfo([new_strand_connected_intermediate, t2], t4), t6), true) : F._join_strands_with_crossover(t2, new_strand_connected_intermediate, D._BuiltList$of(H.setRuntimeTypeInfo([t2, new_strand_connected_intermediate], t4), t6), false))._list); - t4 = linker instanceof G.Loopout; - if (t4) { - if (t5) { - t7 = J.get$length$asx(t2.get$domains()._list); - if (typeof t7 !== "number") - return t7.$sub(); - crossover_idx = t7 - 1; - } else { - t7 = J.get$length$asx(new_strand_connected_intermediate.get$domains()._list); - if (typeof t7 !== "number") - return t7.$sub(); - crossover_idx = t7 - 1; - } - new_strand_connected = X.convert_crossover_to_loopout_reducer(new_strand_connected, U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout(type$.legacy_Crossover._as(J.$index$asx(new_strand_connected.get$linkers()._list, crossover_idx)), linker.loopout_num_bases, linker.dna_sequence)); - } - if (t4) { - linker_seq = linker.dna_sequence; - if (linker_seq == null) - linker_seq = C.JSString_methods.$mul("?", linker.loopout_num_bases); - } else - linker_seq = ""; - strand_to_dna_sequence = t2.get$dna_sequence(); - if (strand_to_dna_sequence == null) - strand_to_dna_sequence = C.JSString_methods.$mul("?", t2.get$dna_length()); - new_strand_connected_dna_sequence = new_strand_connected_intermediate.get$dna_sequence(); - if (new_strand_connected_dna_sequence == null) - new_strand_connected_dna_sequence = C.JSString_methods.$mul("?", new_strand_connected_intermediate.get$dna_length()); - new_strand_connected = new_strand_connected.set_dna_sequence$1(t5 ? strand_to_dna_sequence + linker_seq + new_strand_connected_dna_sequence : new_strand_connected_dna_sequence + linker_seq + strand_to_dna_sequence); - t3 = t3._precomputed1; - t4 = J.getInterceptor$asx(t1); - strand_from_orig_idx = t4.indexOf$2(t1, t3._as(strand_from), 0); - strand_to_orig_idx = t4.indexOf$2(t1, t3._as(t2), 0); - t3._as(new_strand_connected); - new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_from_orig_idx, new_strand_connected); - t3._as(new_strand_disconnected); - new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_to_orig_idx, new_strand_disconnected); - } else if (t4 === 1) { - C.Window_methods.alert$1(window, "moving crossover/loopout from a circular strand not yet supported"); - return strands; - } else - throw H.wrapException(P.AssertionError$("should be unreachable")); - return D._BuiltList$of(new_all_strands, t6); - }, - nick_reducer: function(strands, state, action) { - var domain_to_remove, strand, nick_offset, helix, $forward, start, end, t1, t2, t3, t4, t5, t6, t7, t8, domain_left, domain_right, index_removed, substrands_before, substrands_after, domain_after, domain_before, dna_length_before, dna_before, dna_after, dna_length_strand_5p, modifications_int_strand_5p, i, mods_on_ss, strand_new, strand_idx, strands_mutable, strand_5p, modifications_int_strand_3p, strand_3p, _null = null; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_Nick._as(action); - domain_to_remove = action.domain; - strand = J.$index$asx(state.design.get$substrand_to_strand()._map$_map, domain_to_remove); - nick_offset = action.offset; - helix = domain_to_remove.helix; - $forward = domain_to_remove.forward; - start = domain_to_remove.start; - end = domain_to_remove.end; - t1 = domain_to_remove.is_scaffold; - t2 = domain_to_remove.deletions; - t2.toString; - t3 = t2.$ti._eval$1("bool(1)"); - t2 = t2._list; - t4 = J.getInterceptor$ax(t2); - t5 = t4.where$1(t2, t3._as(new F.nick_reducer_closure(nick_offset))); - t6 = domain_to_remove.insertions; - t6.toString; - t7 = t6.$ti._eval$1("bool(1)"); - t6 = t6._list; - t8 = J.getInterceptor$ax(t6); - domain_left = G.Domain_Domain(t5, nick_offset, $forward, helix, t8.where$1(t6, t7._as(new F.nick_reducer_closure0(nick_offset))), false, false, t1, start); - domain_right = G.Domain_Domain(t4.where$1(t2, t3._as(new F.nick_reducer_closure1(nick_offset))), end, $forward, helix, t8.where$1(t6, t7._as(new F.nick_reducer_closure2(nick_offset))), false, false, t1, nick_offset); - t1 = strand.substrands; - t1.toString; - t7 = t1.$ti; - t1 = t1._list; - t6 = J.getInterceptor$asx(t1); - index_removed = t6.indexOf$2(t1, t7._precomputed1._as(domain_to_remove), 0); - t7 = t7._eval$1("_BuiltList<1>"); - t8 = t7._eval$1("CopyOnWriteList<1>"); - substrands_before = new Q.CopyOnWriteList(true, t6.sublist$2(t1, 0, index_removed), t8); - substrands_after = new Q.CopyOnWriteList(true, t6.sublist$2(t1, index_removed + 1, _null), t8); - if (!$forward) { - domain_after = domain_left; - domain_before = domain_right; - } else { - domain_after = domain_right; - domain_before = domain_left; - } - domain_before = domain_before.rebuild$1(new F.nick_reducer_closure3(substrands_before)); - domain_after = domain_after.rebuild$1(new F.nick_reducer_closure4(substrands_after)); - t2 = t7._precomputed1; - t2._as(domain_before); - substrands_before._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(substrands_before._copy_on_write_list$_list, domain_before); - t2._as(domain_after); - substrands_after._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insert$2$ax(substrands_after._copy_on_write_list$_list, 0, domain_after); - if (strand.get$dna_sequence() != null) { - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t3 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t3.moveNext$0();) - t2.push(t3.get$current(t3).dna_length$0()); - dna_length_before = C.JSArray_methods.reduce$1(t2, new F.nick_reducer_closure5()); - dna_before = J.substring$2$s(strand.get$dna_sequence(), 0, dna_length_before); - dna_after = J.substring$1$s(strand.get$dna_sequence(), dna_length_before); - } else { - dna_after = _null; - dna_before = dna_after; - } - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t3 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t3.moveNext$0();) - t2.push(t3.get$current(t3).dna_length$0()); - dna_length_strand_5p = C.JSArray_methods.reduce$1(t2, new F.nick_reducer_closure6()); - t2 = type$.legacy_int; - t3 = type$.legacy_ModificationInternal; - modifications_int_strand_5p = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); - i = 0; - while (true) { - t4 = J.get$length$asx(substrands_before._copy_on_write_list$_list); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(i < t4)) - break; - t4 = strand.__internal_modifications_on_substrand_absolute_idx; - if (t4 == null) { - t4 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(strand); - strand.set$__internal_modifications_on_substrand_absolute_idx(t4); - } - mods_on_ss = J.$index$asx(t4._list, i); - mods_on_ss.toString; - J.forEach$1$ax(mods_on_ss._map$_map, mods_on_ss.$ti._eval$1("~(1,2)")._as(new F.nick_reducer_closure7(i, substrands_before, dna_length_strand_5p, modifications_int_strand_5p))); - ++i; - } - if (strand.circular) { - t7._eval$1("List<1>")._as(substrands_before); - strand_new = strand.rebuild$1(new F.nick_reducer_closure8(J.$add$ansx(substrands_after._copy_on_write_list$_list, substrands_before))).initialize$0(0); - strands.toString; - t1 = strands.$ti._precomputed1; - strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand), 0); - strands_mutable = D.ListBuilder_ListBuilder(strands, t1); - t1 = strands_mutable.$ti._precomputed1; - t1._as(strand_new); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (strand_new == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(strands_mutable.get$_safeList(), strand_idx, strand_new); - return strands_mutable.build$0(); - } else { - t4 = strand.name; - t5 = strand.color; - t7 = strand.vendor_fields; - t8 = strand.is_scaffold; - strand_5p = E.Strand_Strand(substrands_before, false, t5, dna_before, t8, _null, _null, strand.modification_5p, modifications_int_strand_5p, t4, t7); - modifications_int_strand_3p = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); - t2 = J.get$length$asx(substrands_before._copy_on_write_list$_list); - if (typeof t2 !== "number") - return t2.$sub(); - i = t2 - 1; - while (true) { - t2 = t6.get$length(t1); - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t2 = strand.__internal_modifications_on_substrand_absolute_idx; - if (t2 == null) { - t2 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(strand); - strand.set$__internal_modifications_on_substrand_absolute_idx(t2); - } - mods_on_ss = J.$index$asx(t2._list, i); - mods_on_ss.toString; - J.forEach$1$ax(mods_on_ss._map$_map, mods_on_ss.$ti._eval$1("~(1,2)")._as(new F.nick_reducer_closure9(i, substrands_before, dna_length_strand_5p, modifications_int_strand_3p))); - ++i; - } - t1 = t8 ? t5 : _null; - strand_3p = E.Strand_Strand(substrands_after, false, t1, dna_after, t8, _null, strand.modification_3p, _null, modifications_int_strand_3p, t4, _null); - t4 = type$.JSArray_legacy_Strand; - return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand], t4), H.setRuntimeTypeInfo([strand_5p, strand_3p], t4)); - } - }, - ligate_reducer: function(strands, state, action) { - var dna_end_clicked, t1, domain, strand, helix, $forward, offset, t2, domains_adjacent, other_domain, t3, t4, dom_right, dom_left, strand_left, strand_right, strand_3p, strand_5p, dom_3p, dom_5p, t5, dom_new, substrands, first_dom, i, new_strand, strand_idx, strands_mutable, substrands_5p_new, substrands_3p_new, _box_0 = {}; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - dna_end_clicked = type$.legacy_Ligate._as(action).dna_end; - t1 = state.design; - domain = J.$index$asx(t1.get$end_to_domain()._map$_map, dna_end_clicked); - strand = J.$index$asx(t1.get$substrand_to_strand()._map$_map, domain); - helix = domain.helix; - $forward = domain.forward; - offset = dna_end_clicked.offset; - t2 = dna_end_clicked.is_start; - if (t2) { - if (typeof offset !== "number") - return offset.$sub(); - domains_adjacent = t1.domains_on_helix_at$2(helix, offset - 1); + _Highlight__normalizeNewlines(span) { + var t1, endOffset, i, t2, t3, t4, + text = span.get$text(span); + if (!B.JSString_methods.contains$1(text, "\r\n")) + return span; + t1 = span.get$end(span); + endOffset = t1.get$offset(t1); + for (t1 = text.length - 1, i = 0; i < t1; ++i) + if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10) + --endOffset; + t1 = span.get$start(span); + t2 = span.get$sourceUrl(); + t3 = span.get$end(span); + t3 = t3.get$line(t3); + t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2); + t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n"); + t4 = span.get$context(span); + return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n")); + }, + _Highlight__normalizeTrailingNewline(span) { + var context, text, start, end, t1, t2, t3; + if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n")) + return span; + if (B.JSString_methods.endsWith$1(span.get$text(span), "\n\n")) + return span; + context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1); + text = span.get$text(span); + start = span.get$start(span); + end = span.get$end(span); + if (B.JSString_methods.endsWith$1(span.get$text(span), "\n")) { + t1 = A.findLineStart(span.get$context(span), span.get$text(span), span.get$start(span).get$column()); + t1.toString; + t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length; } else - domains_adjacent = t1.domains_on_helix_at$2(helix, offset); - t3 = domains_adjacent._set; - t3 = t3.get$iterator(t3); - while (true) { - if (!t3.moveNext$0()) { - other_domain = null; - break; - } - other_domain = t3.get$current(t3); - t4 = t1.__substrand_to_strand; - if (t4 == null) { - t4 = N.Design.prototype.get$substrand_to_strand.call(t1); - t1.set$__substrand_to_strand(t4); - } - if (strand.ligatable_ends_with$1(J.$index$asx(t4._map$_map, other_domain)) != null) - break; - } - if (other_domain == null) - return strands; - if (!t2) { - dom_right = other_domain; - dom_left = domain; - } else { - dom_right = domain; - dom_left = other_domain; - } - strand_left = J.$index$asx(t1.get$substrand_to_strand()._map$_map, dom_left); - strand_right = J.$index$asx(t1.get$substrand_to_strand()._map$_map, dom_right); - if (!$forward) { - strand_3p = strand_right; - strand_5p = strand_left; - dom_3p = dom_right; - dom_5p = dom_left; - } else { - strand_3p = strand_left; - strand_5p = strand_right; - dom_3p = dom_left; - dom_5p = dom_right; - } - t1 = strand_5p.is_scaffold || strand_3p.is_scaffold; - t2 = dom_left.deletions; - t2.toString; - t3 = t2.$ti; - t2 = J.$add$ansx(t2._list, t3._eval$1("BuiltList<1>")._as(dom_right.deletions)._list); - t4 = dom_left.insertions; - t4.toString; - t5 = t4.$ti; - dom_new = G.Domain_Domain(new D._BuiltList(t2, t3._eval$1("_BuiltList<1>")), dom_right.end, $forward, helix, new D._BuiltList(J.$add$ansx(t4._list, t5._eval$1("BuiltList<1>")._as(dom_right.insertions)._list), t5._eval$1("_BuiltList<1>")), dom_3p.is_first, dom_5p.is_last, t1, dom_left.start); - if (J.$eq$(strand_left, strand_right)) { - t1 = strand_left.substrands; - substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - _box_0.substrands = substrands; - substrands.removeAt$1(0, 0); - J.removeLast$0$ax(_box_0.substrands); - J.insert$2$ax(_box_0.substrands, 0, dom_new); - if (J.get$isEmpty$asx(strand_left.get$crossovers()._list)) - return strands; - if (J.get$last$ax(_box_0.substrands) instanceof G.Loopout) { - first_dom = -1; - i = 0; - while (true) { - t1 = J.get$length$asx(_box_0.substrands); - if (typeof t1 !== "number") - return t1.$sub(); - if (!(i < t1 - 1)) - break; - if (J.$index$asx(_box_0.substrands, i) instanceof G.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof G.Domain) - first_dom = i + 1; - ++i; - } - _box_0.substrands = J.$add$ansx(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); - } - new_strand = strand_left.rebuild$1(new F.ligate_reducer_closure(_box_0)).initialize$0(0); - strands.toString; - t1 = strands.$ti._precomputed1; - strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand_left), 0); - strands_mutable = D.ListBuilder_ListBuilder(strands, t1); - t1 = strands_mutable.$ti._precomputed1; - t1._as(new_strand); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (new_strand == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(strands_mutable.get$_safeList(), strand_idx, new_strand); - return strands_mutable.build$0(); - } else { - t1 = strand_5p.substrands; - substrands_5p_new = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - substrands_5p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeAt$1$ax(substrands_5p_new._copy_on_write_list$_list, 0); - t1 = strand_3p.substrands; - t2 = H._instanceType(t1); - substrands_3p_new = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); - substrands_3p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeLast$0$ax(substrands_3p_new._copy_on_write_list$_list); - t2 = t2._eval$1("List<1>")._as(H.setRuntimeTypeInfo([dom_new], type$.JSArray_legacy_Substrand)); - new_strand = F.join_two_strands_with_substrands(strand_3p, strand_5p, C.JSArray_methods.$add(J.$add$ansx(substrands_3p_new._copy_on_write_list$_list, t2), substrands_5p_new), dna_end_clicked.get$is_3p()); - t2 = type$.JSArray_legacy_Strand; - return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand_left, strand_right], t2), H.setRuntimeTypeInfo([new_strand], t2)); - } - }, - join_strands_by_multiple_crossovers_reducer: function(strands, state, action) { - var t1, end_pairs, t2, addresses_from, addresses_to, _i, end_pair, end1, end2, t3, t4, end_from, end_to, i, address_from, address_to; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_JoinStrandsByMultipleCrossovers._as(action); - t1 = state.design; - end_pairs = F.find_end_pairs_to_connect(t1, state.ui_state.selectables_store.get$selected_dna_ends()._set.toList$1$growable(0, true)); - t2 = type$.JSArray_legacy_Address; - addresses_from = H.setRuntimeTypeInfo([], t2); - addresses_to = H.setRuntimeTypeInfo([], t2); - for (t2 = end_pairs.length, _i = 0; _i < end_pairs.length; end_pairs.length === t2 || (0, H.throwConcurrentModificationError)(end_pairs), ++_i) { - end_pair = end_pairs[_i]; - end1 = end_pair.item1; - end2 = end_pair.item2; - t3 = end1.__is_3p; - if (t3 == null) { - t3 = end1.__is_3p = Z.DNAEnd.prototype.get$is_3p.call(end1); - t4 = t3; - } else - t4 = t3; - end_from = t3 ? end1 : end2; - end_to = t4 ? end2 : end1; - t3 = t1.__end_to_address; - if (t3 == null) { - t3 = N.Design.prototype.get$end_to_address.call(t1); - t1.set$__end_to_address(t3); - } - C.JSArray_methods.add$1(addresses_from, J.$index$asx(t3._map$_map, end_from)); - t3 = t1.__end_to_address; - if (t3 == null) { - t3 = N.Design.prototype.get$end_to_address.call(t1); - t1.set$__end_to_address(t3); + t1 = false; + if (t1) { + text = B.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); + if (text.length === 0) + end = start; + else { + t1 = span.get$end(span); + t1 = t1.get$offset(t1); + t2 = span.get$sourceUrl(); + t3 = span.get$end(span); + t3 = t3.get$line(t3); + if (typeof t3 !== "number") + return t3.$sub(); + end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2); + t1 = span.get$start(span); + t1 = t1.get$offset(t1); + t2 = span.get$end(span); + start = t1 === t2.get$offset(t2) ? end : span.get$start(span); } - C.JSArray_methods.add$1(addresses_to, J.$index$asx(t3._map$_map, end_to)); - } - for (i = 0; i < addresses_from.length; ++i) { - address_from = addresses_from[i]; - if (i >= addresses_to.length) - return H.ioore(addresses_to, i); - address_to = addresses_to[i]; - strands = F._join_strands_with_crossover(F._strand_with_end_address(strands, address_from, true), F._strand_with_end_address(strands, address_to, false), strands, true); } - return strands; + return A.SourceSpanWithContext$(start, end, text, context); }, - _strand_with_end_address: function(strands, address, end_is_3p) { - var t1, t2, t3, t4; - for (t1 = J.get$iterator$ax(strands._list), t2 = !end_is_3p; t1.moveNext$0();) { - t3 = t1.get$current(t1); - if (end_is_3p) { - t4 = t3.__address_3p; - t4 = (t4 == null ? t3.__address_3p = E.Strand.prototype.get$address_3p.call(t3) : t4).$eq(0, address); - } else - t4 = false; - if (t4) - return t3; - if (t2) { - t4 = t3.__address_5p; - t4 = (t4 == null ? t3.__address_5p = E.Strand.prototype.get$address_5p.call(t3) : t4).$eq(0, address); - } else - t4 = false; - if (t4) - return t3; - } - return null; + _Highlight__normalizeEndOfLine(span) { + var t1, t2, text, t3, t4; + if (span.get$end(span).get$column() !== 0) + return span; + t1 = span.get$end(span); + t1 = t1.get$line(t1); + t2 = span.get$start(span); + if (t1 == t2.get$line(t2)) + return span; + text = B.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); + t1 = span.get$start(span); + t2 = span.get$end(span); + t2 = t2.get$offset(t2); + t3 = span.get$sourceUrl(); + t4 = span.get$end(span); + t4 = t4.get$line(t4); + if (typeof t4 !== "number") + return t4.$sub(); + t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3); + return A.SourceSpanWithContext$(t1, t3, text, B.JSString_methods.endsWith$1(span.get$context(span), "\n") ? B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span)); }, - find_end_pairs_to_connect: function(design, selected_ends) { - var t4, _i, t5, end, ends_by_group, helix_idx, group_name, t6, end_pairs_to_connect, helices_view_order_inverse, ends_in_group, t7, - t1 = type$.legacy_DNAEnd, - t2 = type$.legacy_Domain, - t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t4 = selected_ends.length, _i = 0; t5 = selected_ends.length, _i < t5; selected_ends.length === t4 || (0, H.throwConcurrentModificationError)(selected_ends), ++_i) { - end = selected_ends[_i]; - t5 = design.__end_to_domain; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_domain.call(design); - design.set$__end_to_domain(t5); - } - t3.$indexSet(0, end, J.$index$asx(t5._map$_map, end)); - } - ends_by_group = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_DNAEnd); - for (t4 = type$.JSArray_legacy_DNAEnd, _i = 0; _i < selected_ends.length; selected_ends.length === t5 || (0, H.throwConcurrentModificationError)(selected_ends), ++_i) { - end = selected_ends[_i]; - helix_idx = t3.$index(0, end).helix; - group_name = J.$index$asx(design.helices._map$_map, helix_idx).group; - if (!ends_by_group.containsKey$1(0, group_name)) - ends_by_group.$indexSet(0, group_name, H.setRuntimeTypeInfo([], t4)); - t6 = ends_by_group.$index(0, group_name); - (t6 && C.JSArray_methods).add$1(t6, end); - } - end_pairs_to_connect = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); - for (t3 = design.groups, t4 = J.get$iterator$ax(t3.get$keys(t3)); t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = J.$index$asx(t3._map$_map, t5); - helices_view_order_inverse = t6.__helices_view_order_inverse; - if (helices_view_order_inverse == null) { - helices_view_order_inverse = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t6); - t6.set$__helices_view_order_inverse(helices_view_order_inverse); - } - ends_in_group = ends_by_group.$index(0, t5); - t5 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t6 = ends_in_group.length, _i = 0; _i < ends_in_group.length; ends_in_group.length === t6 || (0, H.throwConcurrentModificationError)(ends_in_group), ++_i) { - end = ends_in_group[_i]; - t7 = design.__end_to_domain; - if (t7 == null) { - t7 = N.Design.prototype.get$end_to_domain.call(design); - design.set$__end_to_domain(t7); - } - t5.$indexSet(0, end, J.$index$asx(t7._map$_map, end)); - } - C.JSArray_methods.addAll$1(end_pairs_to_connect, F.find_end_pairs_to_connect_in_group(ends_in_group, t5, helices_view_order_inverse)); - } - return end_pairs_to_connect; + _Highlight__lastLineLength(text) { + var t1 = text.length; + if (t1 === 0) + return 0; + else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10) + return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1; + else + return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1; }, - find_end_pairs_to_connect_in_group: function(ends, domains_by_end, helices_view_order_inverse) { - var ends_by_offset, t1, t2, _i, end, t3, t4, t5, end_pairs, already_chosen_ends, ends_with_offset, i, end1, end2; - (ends && C.JSArray_methods).sort$1(ends, new F.find_end_pairs_to_connect_in_group_closure(domains_by_end, helices_view_order_inverse)); - ends_by_offset = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_DNAEnd); - for (t1 = ends.length, t2 = type$.JSArray_legacy_DNAEnd, _i = 0; _i < ends.length; ends.length === t1 || (0, H.throwConcurrentModificationError)(ends), ++_i) { - end = ends[_i]; - t3 = end.is_start; - t4 = end.offset; - if (t3) - t5 = t4; - else { - if (typeof t4 !== "number") - return t4.$sub(); - t5 = t4 - 1; - } - if (!ends_by_offset.containsKey$1(0, t5)) { - if (t3) - t5 = t4; - else { - if (typeof t4 !== "number") - return t4.$sub(); - t5 = t4 - 1; - } - ends_by_offset.$indexSet(0, t5, H.setRuntimeTypeInfo([], t2)); - } - if (t3) - t3 = t4; - else { - if (typeof t4 !== "number") - return t4.$sub(); - t3 = t4 - 1; - } - t3 = ends_by_offset.$index(0, t3); - (t3 && C.JSArray_methods).add$1(t3, end); - } - end_pairs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); - for (t1 = ends_by_offset.get$keys(ends_by_offset), t1 = t1.get$iterator(t1), t2 = type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd, t3 = type$.legacy_DNAEnd; t1.moveNext$0();) { - already_chosen_ends = P.LinkedHashSet_LinkedHashSet$_empty(t3); - ends_with_offset = ends_by_offset.$index(0, t1.get$current(t1)); - for (i = 0; i < ends_with_offset.length; ++i) { - end1 = ends_with_offset[i]; - if (already_chosen_ends.contains$1(0, end1)) - continue; - end2 = F.find_paired_end(end1, i + 1, ends_with_offset, already_chosen_ends, domains_by_end); - if (end2 != null) { - C.JSArray_methods.add$1(end_pairs, new S.Tuple2(end1, end2, t2)); - already_chosen_ends.add$1(0, end1); - already_chosen_ends.add$1(0, end2); - } - } - } - return end_pairs; + Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._lines = t0; + _._primaryColor = t1; + _._secondaryColor = t2; + _._paddingBeforeSidebar = t3; + _._maxMultilineSpans = t4; + _._multipleFiles = t5; + _._buffer = t6; }, - find_paired_end: function(end1, starting_index, ends_with_offset, already_chosen_ends, domains_by_end) { - var i, end2, domain2, - domain1 = domains_by_end.$index(0, end1); - for (i = starting_index; i < ends_with_offset.length; ++i) { - end2 = ends_with_offset[i]; - if (!already_chosen_ends.contains$1(0, end2)) { - domain2 = domains_by_end.$index(0, end2); - if (end1.is_5p !== end2.is_5p && domain1.forward !== domain2.forward && domain1.helix !== domain2.helix) - return end2; - } - } - return null; + Highlighter_closure: function Highlighter_closure(t0) { + this.color = t0; }, - join_strands_by_crossover_reducer: function(strands, state, action) { - var end_first_click, end_second_click, first_clicked_is_3p, end_3p, end_5p, t1, t2, t3; - type$.legacy_BuiltList_legacy_Strand._as(strands); - type$.legacy_AppState._as(state); - type$.legacy_JoinStrandsByCrossover._as(action); - end_first_click = action.dna_end_first_click; - end_second_click = action.dna_end_second_click; - first_clicked_is_3p = end_first_click.get$is_3p(); - end_3p = first_clicked_is_3p ? end_first_click : end_second_click; - end_5p = first_clicked_is_3p ? end_second_click : end_first_click; - t1 = state.design; - t2 = t1.get$substrand_to_strand(); - t3 = J.$index$asx(t1.get$end_to_domain()._map$_map, end_3p); - t3 = J.$index$asx(t2._map$_map, t3); - t2 = t1.get$substrand_to_strand(); - t1 = J.$index$asx(t1.get$end_to_domain()._map$_map, end_5p); - return F._join_strands_with_crossover(t3, J.$index$asx(t2._map$_map, t1), strands, first_clicked_is_3p); + Highlighter$__closure: function Highlighter$__closure() { }, - _join_strands_with_crossover: function(strand_3p, strand_5p, strands, first_clicked_is_3p) { - var t1, t2, t3, strand_idx, strands_mutable, substrands_3p, t4, substrands_5p, t5, last_idx_3p, last_domain_3p, first_domain_5p, new_strand; - if (J.$eq$(strand_3p, strand_5p)) { - strands.toString; - t1 = strands.$ti; - t2 = t1._precomputed1; - t3 = strands._list; - strand_idx = J.indexOf$2$asx(t3, t2._as(strand_3p), 0); - strands_mutable = new Q.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); - t2 = t2._as(strand_3p.rebuild$1(new F._join_strands_with_crossover_closure()).initialize$0(0)); - strands_mutable._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(strands_mutable._copy_on_write_list$_list, strand_idx, t2); - return D.BuiltList_BuiltList$of(strands_mutable, type$.legacy_Strand); - } - t1 = strand_3p.substrands; - t2 = t1._list; - t1 = H._instanceType(t1); - substrands_3p = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - t3 = strand_5p.substrands; - t4 = t3._list; - t3 = H._instanceType(t3); - substrands_5p = new Q.CopyOnWriteList(true, t4, t3._eval$1("CopyOnWriteList<1>")); - t5 = J.get$length$asx(t2); - if (typeof t5 !== "number") - return t5.$sub(); - last_idx_3p = t5 - 1; - t5 = type$.legacy_Domain; - last_domain_3p = t5._as(J.$index$asx(t2, last_idx_3p)); - first_domain_5p = t5._as(J.$index$asx(t4, 0)); - last_domain_3p = last_domain_3p.rebuild$1(new F._join_strands_with_crossover_closure0()); - first_domain_5p = first_domain_5p.rebuild$1(new F._join_strands_with_crossover_closure1(strand_5p)); - t1._precomputed1._as(last_domain_3p); - substrands_3p._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands_3p._copy_on_write_list$_list, last_idx_3p, last_domain_3p); - t3._precomputed1._as(first_domain_5p); - substrands_5p._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(substrands_5p._copy_on_write_list$_list, 0, first_domain_5p); - t1._eval$1("List<1>")._as(substrands_5p); - new_strand = F.join_two_strands_with_substrands(strand_3p, strand_5p, J.$add$ansx(substrands_3p._copy_on_write_list$_list, substrands_5p), first_clicked_is_3p); - t1 = type$.JSArray_legacy_Strand; - return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand_3p, strand_5p], t1), H.setRuntimeTypeInfo([new_strand], t1)); + Highlighter$___closure: function Highlighter$___closure() { }, - join_two_strands_with_substrands: function(strand_3p, strand_5p, substrands_new, properties_from_strand_3p) { - var color, idt, dna, t2, t3, t4, mods_int, t5, t6, mod_3p, t7, strand_name, _null = null, - t1 = strand_3p.is_scaffold; - if (t1 && !strand_5p.is_scaffold) - properties_from_strand_3p = true; - else if (!t1 && strand_5p.is_scaffold) - properties_from_strand_3p = false; - color = properties_from_strand_3p ? strand_3p.color : strand_5p.color; - idt = properties_from_strand_3p ? strand_3p.vendor_fields : strand_5p.vendor_fields; - if (strand_3p.get$dna_sequence() == null && strand_5p.get$dna_sequence() == null) - dna = _null; - else if (strand_3p.get$dna_sequence() != null && strand_5p.get$dna_sequence() != null) - dna = J.$add$ansx(strand_3p.get$dna_sequence(), strand_5p.get$dna_sequence()); - else if (strand_3p.get$dna_sequence() == null) - dna = C.JSString_methods.$add(C.JSString_methods.$mul("?", strand_3p.get$dna_length()), strand_5p.get$dna_sequence()); - else - dna = strand_5p.get$dna_sequence() == null ? J.$add$ansx(strand_3p.get$dna_sequence(), C.JSString_methods.$mul("?", strand_5p.get$dna_length())) : _null; - t2 = strand_3p.modifications_int; - t3 = t2._map$_map; - t4 = H._instanceType(t2); - t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]); - mods_int = new S.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("CopyOnWriteMap<1,2>")); - for (t2 = strand_5p.modifications_int, t3 = J.get$iterator$ax(t2.get$keys(t2)), t5 = t4._rest[0], t4 = t4._rest[1]; t3.moveNext$0();) { - t6 = t3.get$current(t3); - mod_3p = J.$index$asx(t2._map$_map, t6); - t7 = strand_3p.__dna_length; - if (t7 == null) - t7 = strand_3p.__dna_length = E.Strand.prototype.get$dna_length.call(strand_3p); - if (typeof t6 !== "number") - return H.iae(t6); - t6 = t5._as(t7 + t6); - t4._as(mod_3p); - mods_int._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(mods_int._copy_on_write_map$_map, t6, mod_3p); - } - strand_name = strand_3p.name; - t2 = strand_name == null; - t3 = !t2; - if (!(t3 && strand_5p.name == null)) - if (t2 && strand_5p.name != null) - strand_name = strand_5p.name; - else if (t3 && strand_5p.name != null) - strand_name = properties_from_strand_3p ? strand_name : strand_5p.name; - else - strand_name = _null; - t1 = t1 || strand_5p.is_scaffold; - return E.Strand_Strand(substrands_new, false, color, dna, t1, _null, strand_5p.modification_3p, strand_3p.modification_5p, mods_int, strand_name, idt); + Highlighter$__closure0: function Highlighter$__closure0() { }, - swap_old_strands_for_new: function(strands, strands_to_remove, strands_to_add) { - var t2, _i, strand, t3, - t1 = H._instanceType(strands), - new_strands = new Q.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); - for (t2 = strands_to_remove.length, _i = 0; _i < strands_to_remove.length; strands_to_remove.length === t2 || (0, H.throwConcurrentModificationError)(strands_to_remove), ++_i) { - strand = strands_to_remove[_i]; - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.remove$1$ax(new_strands._copy_on_write_list$_list, strand); - } - for (t2 = strands_to_add.length, t1 = t1._precomputed1, _i = 0; _i < strands_to_add.length; strands_to_add.length === t2 || (0, H.throwConcurrentModificationError)(strands_to_add), ++_i) { - t3 = t1._as(strands_to_add[_i]); - new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(new_strands._copy_on_write_list$_list, t3); - } - return D._BuiltList$of(new_strands, type$.legacy_Strand); + Highlighter__collateLines_closure: function Highlighter__collateLines_closure() { }, - nick_reducer_closure: function nick_reducer_closure(t0) { - this.nick_offset = t0; + Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() { }, - nick_reducer_closure0: function nick_reducer_closure0(t0) { - this.nick_offset = t0; + Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() { }, - nick_reducer_closure1: function nick_reducer_closure1(t0) { - this.nick_offset = t0; + Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) { + this.line = t0; }, - nick_reducer_closure2: function nick_reducer_closure2(t0) { - this.nick_offset = t0; + Highlighter_highlight_closure: function Highlighter_highlight_closure() { }, - nick_reducer_closure3: function nick_reducer_closure3(t0) { - this.substrands_before = t0; + Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) { + this.$this = t0; }, - nick_reducer_closure4: function nick_reducer_closure4(t0) { - this.substrands_after = t0; + Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) { + this.$this = t0; + this.startLine = t1; + this.line = t2; }, - nick_reducer_closure5: function nick_reducer_closure5() { + Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) { + this.$this = t0; + this.highlight = t1; }, - nick_reducer_closure6: function nick_reducer_closure6() { + Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) { + this.$this = t0; }, - nick_reducer_closure7: function nick_reducer_closure7(t0, t1, t2, t3) { + Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _.i = t0; - _.substrands_before = t1; - _.dna_length_strand_5p = t2; - _.modifications_int_strand_5p = t3; + _._box_0 = t0; + _.$this = t1; + _.current = t2; + _.startLine = t3; + _.line = t4; + _.highlight = t5; + _.endLine = t6; }, - nick_reducer_closure8: function nick_reducer_closure8(t0) { - this.substrands = t0; + Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; }, - nick_reducer_closure9: function nick_reducer_closure9(t0, t1, t2, t3) { + Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) { + this.$this = t0; + this.vertical = t1; + }, + Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) { var _ = this; - _.i = t0; - _.substrands_before = t1; - _.dna_length_strand_5p = t2; - _.modifications_int_strand_3p = t3; + _.$this = t0; + _.text = t1; + _.startColumn = t2; + _.endColumn = t3; }, - ligate_reducer_closure: function ligate_reducer_closure(t0) { + Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) { + this.$this = t0; + this.line = t1; + this.highlight = t2; + }, + Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) { + this.$this = t0; + this.line = t1; + this.highlight = t2; + }, + Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.coversWholeLine = t1; + _.line = t2; + _.highlight = t3; + }, + Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) { this._box_0 = t0; + this.$this = t1; + this.end = t2; }, - find_end_pairs_to_connect_in_group_closure: function find_end_pairs_to_connect_in_group_closure(t0, t1) { - this.domains_by_end = t0; - this.helices_view_order_inverse = t1; + _Highlight: function _Highlight(t0, t1, t2) { + this.span = t0; + this.isPrimary = t1; + this.label = t2; }, - _join_strands_with_crossover_closure: function _join_strands_with_crossover_closure() { + _Highlight_closure: function _Highlight_closure(t0) { + this.span = t0; }, - _join_strands_with_crossover_closure0: function _join_strands_with_crossover_closure0() { + _Line: function _Line(t0, t1, t2, t3) { + var _ = this; + _.text = t0; + _.number = t1; + _.url = t2; + _.highlights = t3; }, - _join_strands_with_crossover_closure1: function _join_strands_with_crossover_closure1(t0) { - this.strand_5p = t0; + SourceLocation$(offset, column, line, sourceUrl) { + var t1 = line == null, + t2 = t1 ? 0 : line; + if (offset < 0) + A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (!t1 && line < 0) + A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + ".")); + else if (column < 0) + A.throwExpression(A.RangeError$("Column may not be negative, was " + column + ".")); + return new A.SourceLocation(sourceUrl, offset, t2, column); }, - potential_crossover_create_reducer: function(potential_crossover, action) { - type$.legacy_PotentialCrossover._as(potential_crossover); - return type$.legacy_PotentialCrossoverCreate._as(action).potential_crossover; + SourceLocation: function SourceLocation(t0, t1, t2, t3) { + var _ = this; + _.sourceUrl = t0; + _.offset = t1; + _.line = t2; + _.column = t3; }, - potential_crossover_move_reducer: function(potential_crossover, action) { - var t1, t2; - type$.legacy_PotentialCrossover._as(potential_crossover); - type$.legacy_PotentialCrossoverMove._as(action); - potential_crossover.toString; - t1 = type$.legacy_void_Function_legacy_PotentialCrossoverBuilder._as(new F.potential_crossover_move_reducer_closure(action)); - t2 = new S.PotentialCrossoverBuilder(); - t2._potential_crossover$_$v = potential_crossover; - t1.call$1(t2); - return t2.build$0(); + SourceLocationMixin: function SourceLocationMixin() { }, - potential_crossover_remove_reducer: function(potential_crossover, action) { - type$.legacy_PotentialCrossover._as(potential_crossover); - type$.legacy_PotentialCrossoverRemove._as(action); - return null; + SourceSpanBase: function SourceSpanBase() { }, - potential_crossover_move_reducer_closure: function potential_crossover_move_reducer_closure(t0) { - this.action = t0; + SourceSpanFormatException$(message, span, source) { + return new A.SourceSpanFormatException(source, message, span); }, - SelectionRope_SelectionRope: function(toggle) { - var t1 = new F.SelectionRopeBuilder(); - type$.legacy_void_Function_legacy_SelectionRopeBuilder._as(new F.SelectionRope_SelectionRope_closure(toggle)).call$1(t1); - return t1.build$0(); + SourceSpanException: function SourceSpanException() { }, - Line_Line: function(p1, p2) { - var t1 = new F.LineBuilder(); - type$.legacy_void_Function_legacy_LineBuilder._as(new F.Line_Line_closure(p1, p2)).call$1(t1); - return t1.build$0(); + SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) { + this.source = t0; + this._span_exception$_message = t1; + this._span = t2; }, - Line_orientation: function(a, b, c) { - var t3, t4, t5, t6, val, - t1 = b.y, - t2 = a.y; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - t3 = c.x; - t4 = b.x; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t5 = a.x; - if (typeof t5 !== "number") - return H.iae(t5); - t6 = c.y; - if (typeof t6 !== "number") - return t6.$sub(); - val = (t1 - t2) * (t3 - t4) - (t4 - t5) * (t6 - t1); - if (val === 0) - return C.Orientation_0; - else if (val < 0) - return C.Orientation_1; - else - return C.Orientation_2; + SourceSpanMixin: function SourceSpanMixin() { }, - vectors_point_same_direction: function(v1, v2) { - var t3, t4, - t1 = v1.x, - t2 = v2.x; - if (typeof t1 !== "number") - return t1.$mul(); - if (typeof t2 !== "number") - return H.iae(t2); - t3 = v1.y; - t4 = v2.y; - if (typeof t3 !== "number") - return t3.$mul(); - if (typeof t4 !== "number") - return H.iae(t4); - return t1 * t2 + t3 * t4 > 0; + SourceSpanWithContext$(start, end, text, _context) { + var t1 = new A.SourceSpanWithContext(_context, start, end, text); + t1.SourceSpanBase$3(start, end, text); + if (!B.JSString_methods.contains$1(_context, text)) + A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null)); + if (A.findLineStart(_context, text, start.get$column()) == null) + A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null)); + return t1; }, - SelectionRope: function SelectionRope() { + SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) { + var _ = this; + _._context = t0; + _.start = t1; + _.end = t2; + _.text = t3; }, - SelectionRope_SelectionRope_closure: function SelectionRope_SelectionRope_closure(t0) { - this.toggle = t0; + OdsDecoder__getRowRepeated(row) { + var attr = row.getAttribute$1(0, "table:number-rows-repeated"); + return attr != null ? A.int_parse(attr, null) : 1; }, - Line: function Line() { + OdsDecoder__getCellRepeated(cell) { + var attr = cell.getAttribute$1(0, "table:number-columns-repeated"); + return attr != null ? A.int_parse(attr, null) : 1; }, - Line_Line_closure: function Line_Line_closure(t0, t1) { - this.p1 = t0; - this.p2 = t1; + OdsDecoder__findRowByIndex(table, rowIndex) { + var row, t3, attr, repeat, _null = null, + rows = A.filterElements(table.XmlHasChildren_children, "table:table-row", _null), + t1 = J.get$iterator$ax(rows.__internal$_iterable), + t2 = new A.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), + currentIndex = -1; + while (true) { + if (!t2.moveNext$0()) { + row = _null; + break; + } + row = t1.get$current(t1); + t3 = row.getAttributeNode$2$namespace("table:number-rows-repeated", _null); + attr = t3 == null ? _null : t3.value; + currentIndex += attr != null ? A.int_parse(attr, _null) : 1; + if (currentIndex >= rowIndex) + break; + } + if (row != null) { + repeat = A.OdsDecoder__getRowRepeated(row); + if (repeat !== 1) { + rows = A.OdsDecoder__expandRepeatedRows(table, row); + t1 = rowIndex - (currentIndex - repeat + 1); + if (!(t1 >= 0 && t1 < rows.length)) + return A.ioore(rows, t1); + row = rows[t1]; + } + } + return row; }, - Orientation: function Orientation(t0) { - this._selection_rope$_name = t0; + OdsDecoder__findCellByIndex(row, columnIndex) { + var cell, t3, attr, repeat, _null = null, + cells = A.filterElements(row.XmlHasChildren_children, "table:table-cell", _null), + t1 = J.get$iterator$ax(cells.__internal$_iterable), + t2 = new A.WhereIterator(t1, cells._f, cells.$ti._eval$1("WhereIterator<1>")), + currentIndex = -1; + while (true) { + if (!t2.moveNext$0()) { + cell = _null; + break; + } + cell = t1.get$current(t1); + t3 = cell.getAttributeNode$2$namespace("table:number-columns-repeated", _null); + attr = t3 == null ? _null : t3.value; + currentIndex += attr != null ? A.int_parse(attr, _null) : 1; + if (currentIndex >= columnIndex) + break; + } + if (cell != null) { + repeat = A.OdsDecoder__getCellRepeated(cell); + if (repeat !== 1) { + cells = A.OdsDecoder__expandRepeatedCells(row, cell); + t1 = columnIndex - (currentIndex - repeat + 1); + if (!(t1 >= 0 && t1 < cells.length)) + return A.ioore(cells, t1); + cell = cells[t1]; + } + } + return cell; }, - _$SelectionRopeSerializer: function _$SelectionRopeSerializer() { + OdsDecoder__expandRepeatedRows(table, row) { + var repeat, index, rows, i, + t1 = row.getAttributeNode$1("table:number-rows-repeated"); + t1.toString; + row.XmlHasAttributes_attributes.remove$1(0, t1); + repeat = A.int_parse(t1.value, null); + t1 = table.XmlHasChildren_children; + index = B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0); + rows = A._setArrayType([], type$.JSArray_XmlElement); + for (i = 0; i < repeat; ++i) + B.JSArray_methods.add$1(rows, row.copy$0()); + t1.removeAt$1(0, index); + t1.insertAll$2(0, index, rows); + return rows; }, - _$LineSerializer: function _$LineSerializer() { + OdsDecoder__expandRepeatedCells(row, cell) { + var repeat, index, cells, i, + t1 = cell.getAttributeNode$1("table:number-columns-repeated"); + t1.toString; + cell.XmlHasAttributes_attributes.remove$1(0, t1); + repeat = A.int_parse(t1.value, null); + t1 = row.XmlHasChildren_children; + index = B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); + cells = A._setArrayType([], type$.JSArray_XmlElement); + for (i = 0; i < repeat; ++i) + B.JSArray_methods.add$1(cells, cell.copy$0()); + t1.removeAt$1(0, index); + t1.insertAll$2(0, index, cells); + return cells; }, - _$SelectionRope: function _$SelectionRope(t0, t1, t2, t3) { - var _ = this; - _.toggle = t0; - _.points = t1; - _.current_point = t2; - _.is_main = t3; - _._selection_rope$__hashCode = _.__lines_without_first = _.__lines_without_last = _.__lines = null; + _newSpreadsheetDecoder(archive, update) { + var format, t1, t2, + mimetype = archive.findFile$1("mimetype"); + if (mimetype != null) { + mimetype.decompress$0(); + format = B.C_Utf8Codec.decode$1(0, type$.List_int._as(mimetype.get$content(mimetype))) === $._spreasheetExtensionMap.$index(0, "ods") ? "ods" : null; + } else + format = archive.findFile$1("xl/workbook.xml") != null ? "xlsx" : null; + switch (format) { + case "ods": + t1 = type$.String; + t2 = new A.OdsDecoder(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_String)); + t2.__SpreadsheetDecoder__archive_A = archive; + t2.__SpreadsheetDecoder__update_A = true; + t2.set$__SpreadsheetDecoder__tables_A(type$.Map_String_SpreadsheetTable._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); + t2._parseContent$0(); + return t2; + case "xlsx": + t1 = type$.String; + t2 = new A.XlsxDecoder(A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray_int), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); + t2.__SpreadsheetDecoder__archive_A = archive; + t2.__SpreadsheetDecoder__update_A = true; + t2.set$__SpreadsheetDecoder__archiveFiles_A(type$.Map_String_ArchiveFile._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); + t2.set$__SpreadsheetDecoder__sheets_A(type$.Map_String_XmlElement._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); + t2.set$__SpreadsheetDecoder__xmlFiles_A(type$.Map_String_XmlDocument._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlDocument))); + t2.set$__SpreadsheetDecoder__tables_A(type$.Map_String_SpreadsheetTable._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); + t2._parseRelations$0(); + t2._parseStyles$0(); + t2._parseSharedStrings$0(); + t2._parseContent$0(); + return t2; + default: + throw A.wrapException(A.UnsupportedError$("Spreadsheet format unsupported")); + } }, - SelectionRopeBuilder: function SelectionRopeBuilder() { - var _ = this; - _._is_main = _._current_point = _._points = _._toggle = _._selection_rope$_$v = null; + lettersToNumeric(letters) { + var index, sum, mul, c, n; + for (index = letters.length - 1, sum = 0, mul = 1; index >= 0; --index) { + c = B.JSString_methods._codeUnitAt$1(letters[index], 0); + if (65 <= c && c <= 90) + n = 1 + (c - 65); + else + n = 97 <= c && c <= 122 ? 1 + (c - 97) : 1; + sum += n * mul; + mul *= 26; + } + return sum; }, - _$Line: function _$Line(t0, t1) { - this.p1 = t0; - this.p2 = t1; - this._selection_rope$__hashCode = null; + numericToLetters(number) { + var letters, remainder; + for (letters = ""; number !== 0;) { + remainder = B.JSInt_methods.$mod(number, 26); + letters = A.Primitives_stringFromCharCode(65 + (remainder === 0 ? 26 : remainder) - 1) + letters; + number = B.JSInt_methods._tdivFast$1(number - 1, 26); + } + return letters; }, - LineBuilder: function LineBuilder() { - this._p2 = this._p1 = this._selection_rope$_$v = null; + _letterOnly(rune) { + A._asIntS(rune); + if (typeof rune !== "number") + return A.iae(rune); + if (65 <= rune && rune <= 90) + return rune; + else if (97 <= rune && rune <= 122) + return rune - 32; + return 0; }, - _Line_Object_BuiltJsonSerializable: function _Line_Object_BuiltJsonSerializable() { + _twoDigits(n) { + if (n >= 10) + return "" + n; + return "0" + n; }, - _SelectionRope_Object_BuiltJsonSerializable: function _SelectionRope_Object_BuiltJsonSerializable() { + cellCoordsFromCellId(cellId) { + var t1, letters, t2, lettersPart, numericsPart; + cellId.toString; + t1 = type$.Runes; + letters = A.MappedIterable_MappedIterable(new A.Runes(cellId), t1._eval$1("int(Iterable.E)")._as(A.spreadsheet_decoder___letterOnly$closure()), t1._eval$1("Iterable.E"), type$.int); + t1 = A._instanceType(letters); + t2 = t1._eval$1("WhereIterable"); + lettersPart = B.C_Utf8Codec.decode$1(0, A.List_List$of(new A.WhereIterable(letters, t1._eval$1("bool(Iterable.E)")._as(new A.cellCoordsFromCellId_closure()), t2), false, t2._eval$1("Iterable.E"))); + numericsPart = B.JSString_methods.substring$1(cellId, lettersPart.length); + return [A.lettersToNumeric(lettersPart), A.int_parse(numericsPart, null)]; }, - _$EndMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? F._$$EndMovingProps$JsMap$(new L.JsBackedMap({})) : F._$$EndMovingProps__$$EndMovingProps(backingProps); + XlsxDecoder__getCellNumber(cell) { + var t1 = cell.getAttribute$1(0, "r"); + t1.toString; + return A.cellCoordsFromCellId(t1)[0]; }, - _$$EndMovingProps__$$EndMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return F._$$EndMovingProps$JsMap$(backingMap); + XlsxDecoder__findRowByIndex(table, rowIndex) { + var row, t3, _null = null, + rows = A.filterElements(table.XmlHasChildren_children, "row", _null), + t1 = J.get$iterator$ax(rows.__internal$_iterable), + t2 = new A.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), + currentIndex = 0; + while (true) { + if (!t2.moveNext$0()) { + row = _null; + break; + } + row = t1.get$current(t1); + t3 = row.getAttributeNode$2$namespace("r", _null); + t3 = t3 == null ? _null : t3.value; + t3.toString; + currentIndex = A.int_parse(t3, _null) - 1; + if (currentIndex >= rowIndex) + break; + } + return row == null || currentIndex !== rowIndex ? A.XlsxDecoder__insertRow(table, row, rowIndex) : row; + }, + XlsxDecoder__updateCell(node, columnIndex, rowIndex, value) { + var cell, t4, cell0, index, _null = null, + t1 = node.XmlHasChildren_children, + cells = A.filterElements(t1, "c", _null), + t2 = J.get$iterator$ax(cells.__internal$_iterable), + t3 = new A.WhereIterator(t2, cells._f, cells.$ti._eval$1("WhereIterator<1>")), + currentIndex = 0; + while (true) { + if (!t3.moveNext$0()) { + cell = _null; + break; + } + cell = t2.get$current(t2); + t4 = cell.getAttributeNode$2$namespace("r", _null); + t4 = t4 == null ? _null : t4.value; + t4.toString; + currentIndex = A.cellCoordsFromCellId(t4)[0] - 1; + if (currentIndex >= columnIndex) + break; + } + t2 = cell == null; + if (t2 || currentIndex !== columnIndex) { + cell0 = A.XlsxDecoder__createCell(columnIndex, rowIndex, value); + if (t2) + t1.add$1(0, cell0); + else + t1.insert$2(0, B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0), cell0); + cell = cell0; + } else { + index = t2 ? 0 : B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); + cell = A.XlsxDecoder__createCell(columnIndex, rowIndex, value); + t1.removeAt$1(0, index); + t1.insert$2(0, index, cell); + } + return cell; + }, + XlsxDecoder__insertRow(table, lastRow, rowIndex) { + var t1, + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("r"), B.JSInt_methods.toString$0(rowIndex + 1), B.XmlAttributeType_PIp)], type$.JSArray_XmlAttribute), + row = A.XmlElement$(A.XmlName_XmlName("row"), attributes, A._setArrayType([], type$.JSArray_XmlNode), true); + if (lastRow == null) + table.XmlHasChildren_children.add$1(0, row); else { - t1 = type$.dynamic; - t1 = new F._$$EndMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_end_moving$_props = backingMap; - return t1; + t1 = table.XmlHasChildren_children; + t1.insert$2(0, B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(lastRow), 0), row); } + return row; }, - _$$EndMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new F._$$EndMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_dna_end_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + XlsxDecoder__createCell(columnIndex, rowIndex, value) { + var children, t3, + t1 = type$.JSArray_XmlAttribute, + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("r"), A.numericToLetters(columnIndex + 1) + (rowIndex + 1), B.XmlAttributeType_PIp), A.XmlAttribute$(A.XmlName_XmlName("t"), "inlineStr", B.XmlAttributeType_PIp)], t1), + t2 = type$.JSArray_XmlElement; + if (value == null) + children = A._setArrayType([], t2); + else { + t3 = type$.JSArray_XmlNode; + children = A._setArrayType([A.XmlElement$(A.XmlName_XmlName("is"), A._setArrayType([], t1), A._setArrayType([A.XmlElement$(A.XmlName_XmlName("t"), A._setArrayType([], t1), A._setArrayType([new A.XmlText(value, null)], t3), true)], t3), true)], t2); + } + return A.XmlElement$(A.XmlName_XmlName("c"), attributes, children, true); }, - ConnectedEndMoving_closure: function ConnectedEndMoving_closure() { + OdsDecoder: function OdsDecoder(t0) { + var _ = this; + _._styleNames = t0; + _.__SpreadsheetDecoder__tables_A = _.__SpreadsheetDecoder__archiveFiles_A = _.__SpreadsheetDecoder__xmlFiles_A = _.__SpreadsheetDecoder__sheets_A = _.__SpreadsheetDecoder__archive_A = _.__SpreadsheetDecoder__update_A = $; }, - EndMovingProps: function EndMovingProps() { + OdsDecoder__parseContent_closure: function OdsDecoder__parseContent_closure(t0) { + this.$this = t0; }, - EndMovingComponent: function EndMovingComponent() { + OdsDecoder__parseStyles_closure: function OdsDecoder__parseStyles_closure(t0) { + this.$this = t0; }, - $EndMovingComponentFactory_closure: function $EndMovingComponentFactory_closure() { + OdsDecoder__parseTable_closure: function OdsDecoder__parseTable_closure(t0) { + this.$this = t0; }, - _$$EndMovingProps: function _$$EndMovingProps() { + OdsDecoder__parseTable_closure0: function OdsDecoder__parseTable_closure0(t0, t1) { + this.$this = t0; + this.table = t1; }, - _$$EndMovingProps$PlainMap: function _$$EndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { - var _ = this; - _._design_main_strand_dna_end_moving$_props = t0; - _.EndMovingProps_dna_end = t1; - _.EndMovingProps_helix = t2; - _.EndMovingProps_color = t3; - _.EndMovingProps_forward = t4; - _.EndMovingProps_is_5p = t5; - _.EndMovingProps_allowable = t6; - _.EndMovingProps_current_offset = t7; - _.EndMovingProps_render = t8; - _.EndMovingProps_svg_position_y = t9; - _.EndMovingProps_transform = t10; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t11; - _.UbiquitousDomPropsMixin__dom = t12; + OdsDecoder__parseRow_closure: function OdsDecoder__parseRow_closure(t0) { + this.$this = t0; }, - _$$EndMovingProps$JsMap: function _$$EndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { - var _ = this; - _._design_main_strand_dna_end_moving$_props = t0; - _.EndMovingProps_dna_end = t1; - _.EndMovingProps_helix = t2; - _.EndMovingProps_color = t3; - _.EndMovingProps_forward = t4; - _.EndMovingProps_is_5p = t5; - _.EndMovingProps_allowable = t6; - _.EndMovingProps_current_offset = t7; - _.EndMovingProps_render = t8; - _.EndMovingProps_svg_position_y = t9; - _.EndMovingProps_transform = t10; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t11; - _.UbiquitousDomPropsMixin__dom = t12; + OdsDecoder__parseRow_closure0: function OdsDecoder__parseRow_closure0(t0, t1, t2) { + this.$this = t0; + this.table = t1; + this.row = t2; }, - _$EndMovingComponent: function _$EndMovingComponent(t0) { + OdsDecoder__readCell_closure: function OdsDecoder__readCell_closure(t0, t1) { + this.$this = t0; + this.list = t1; + }, + SpreadsheetDecoder: function SpreadsheetDecoder() { + }, + SpreadsheetDecoder__isEmptyRow_closure: function SpreadsheetDecoder__isEmptyRow_closure() { + }, + SpreadsheetTable: function SpreadsheetTable(t0) { + this._maxCols = this._maxRows = 0; + this._spreadsheet_decoder$_rows = t0; + }, + cellCoordsFromCellId_closure: function cellCoordsFromCellId_closure() { + }, + XlsxDecoder: function XlsxDecoder(t0, t1, t2) { var _ = this; - _._design_main_strand_dna_end_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _._sharedStrings = t0; + _._numFormats = t1; + _._sharedStringsTarget = _._stylesTarget = null; + _._worksheetTargets = t2; + _.__SpreadsheetDecoder__tables_A = _.__SpreadsheetDecoder__archiveFiles_A = _.__SpreadsheetDecoder__xmlFiles_A = _.__SpreadsheetDecoder__sheets_A = _.__SpreadsheetDecoder__archive_A = _.__SpreadsheetDecoder__update_A = $; }, - $EndMovingProps: function $EndMovingProps() { + XlsxDecoder_insertRow_closure: function XlsxDecoder_insertRow_closure(t0) { + this.foundRow = t0; }, - __$$EndMovingProps_UiProps_EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps() { + XlsxDecoder_insertRow_closure0: function XlsxDecoder_insertRow_closure0() { }, - __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps() { + XlsxDecoder_insertRow__closure: function XlsxDecoder_insertRow__closure(t0) { + this.rIndex = t0; }, - _$DesignMainStrandsMoving: function(backingProps) { - type$.legacy_Map_dynamic_dynamic._as(backingProps); - return backingProps == null ? F._$$DesignMainStrandsMovingProps$JsMap$(new L.JsBackedMap({})) : F._$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps(backingProps); + XlsxDecoder__parseRelations_closure: function XlsxDecoder__parseRelations_closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps: function(backingMap) { - var t1, _null = null; - if (backingMap instanceof L.JsBackedMap) - return F._$$DesignMainStrandsMovingProps$JsMap$(backingMap); - else { - t1 = type$.dynamic; - t1 = new F._$$DesignMainStrandsMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strands_moving$_props = backingMap; - return t1; - } + XlsxDecoder__parseStyles_closure: function XlsxDecoder__parseStyles_closure(t0) { + this.$this = t0; }, - _$$DesignMainStrandsMovingProps$JsMap$: function(backingMap) { - var _null = null, - t1 = new F._$$DesignMainStrandsMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_main_strands_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; - return t1; + XlsxDecoder__parseSharedStrings_closure: function XlsxDecoder__parseSharedStrings_closure(t0) { + this.$this = t0; }, - ConnectedDesignMainStrandsMoving_closure: function ConnectedDesignMainStrandsMoving_closure() { + XlsxDecoder__parseSharedString_closure: function XlsxDecoder__parseSharedString_closure(t0, t1) { + this.$this = t0; + this.list = t1; }, - DesignMainStrandsMovingProps: function DesignMainStrandsMovingProps() { + XlsxDecoder__parseContent_closure: function XlsxDecoder__parseContent_closure(t0) { + this.$this = t0; }, - DesignMainStrandsMovingComponent: function DesignMainStrandsMovingComponent() { + XlsxDecoder__parseTable_closure: function XlsxDecoder__parseTable_closure(t0, t1) { + this.$this = t0; + this.table = t1; }, - $DesignMainStrandsMovingComponentFactory_closure: function $DesignMainStrandsMovingComponentFactory_closure() { + XlsxDecoder__parseRow_closure: function XlsxDecoder__parseRow_closure(t0, t1, t2) { + this.$this = t0; + this.table = t1; + this.row = t2; }, - _$$DesignMainStrandsMovingProps: function _$$DesignMainStrandsMovingProps() { + StringScannerException: function StringScannerException(t0, t1, t2) { + this.source = t0; + this._span_exception$_message = t1; + this._span = t2; }, - _$$DesignMainStrandsMovingProps$PlainMap: function _$$DesignMainStrandsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + StringScanner: function StringScanner(t0, t1) { var _ = this; - _._design_main_strands_moving$_props = t0; - _.DesignMainStrandsMovingProps_strands_move = t1; - _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; - _.DesignMainStrandsMovingProps_current_group = t3; - _.DesignMainStrandsMovingProps_helices = t4; - _.DesignMainStrandsMovingProps_groups = t5; - _.DesignMainStrandsMovingProps_side_selected_helix_idxs = t6; - _.DesignMainStrandsMovingProps_geometry = t7; - _.DesignMainStrandsMovingProps_helix_idx_to_svg_position_map = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + _.sourceUrl = t0; + _.string = t1; + _._string_scanner$_position = 0; + _._lastMatchPosition = _._lastMatch = null; }, - _$$DesignMainStrandsMovingProps$JsMap: function _$$DesignMainStrandsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + Tuple2: function Tuple2(t0, t1, t2) { + this.item1 = t0; + this.item2 = t1; + this.$ti = t2; + }, + Tuple3: function Tuple3(t0, t1, t2, t3) { var _ = this; - _._design_main_strands_moving$_props = t0; - _.DesignMainStrandsMovingProps_strands_move = t1; - _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; - _.DesignMainStrandsMovingProps_current_group = t3; - _.DesignMainStrandsMovingProps_helices = t4; - _.DesignMainStrandsMovingProps_groups = t5; - _.DesignMainStrandsMovingProps_side_selected_helix_idxs = t6; - _.DesignMainStrandsMovingProps_geometry = t7; - _.DesignMainStrandsMovingProps_helix_idx_to_svg_position_map = t8; - _.componentFactory = null; - _.UbiquitousDomPropsMixin__aria = t9; - _.UbiquitousDomPropsMixin__dom = t10; + _.item1 = t0; + _.item2 = t1; + _.item3 = t2; + _.$ti = t3; }, - _$DesignMainStrandsMovingComponent: function _$DesignMainStrandsMovingComponent(t0) { + Tuple5: function Tuple5(t0, t1, t2, t3, t4, t5) { var _ = this; - _._design_main_strands_moving$_cachedTypedProps = null; - _.DisposableManagerProxy__disposableProxy = t0; - _.jsThis = _.state = _.props = null; + _.item1 = t0; + _.item2 = t1; + _.item3 = t2; + _.item4 = t3; + _.item5 = t4; + _.$ti = t5; }, - $DesignMainStrandsMovingProps: function $DesignMainStrandsMovingProps() { + _ObservableTimer$(duration, callback) { + var t1 = new A._ObservableTimer(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); + t1._ObservableTimer$2(duration, callback); + return t1; }, - __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps() { + ManagedDisposer: function ManagedDisposer(t0, t1) { + this._disposer = t0; + this._didDispose = t1; + this._isDisposing = false; }, - __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps() { + ManagedDisposer_dispose_closure: function ManagedDisposer_dispose_closure(t0) { + this.$this = t0; }, - group_remove_middleware: function(store, action, next) { - var t1, t2, t3; - type$.legacy_Store_legacy_AppState._as(store); - type$.legacy_dynamic_Function_dynamic._as(next); - if (action instanceof U.GroupRemove) { - t1 = store.get$state(store).design.get$helix_idxs_in_group(); - t2 = action.name; - t1 = J.$index$asx(t1._map$_map, t2)._list; - t3 = J.getInterceptor$asx(t1); - if (t3.get$isNotEmpty(t1)) - if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, 'Group "' + H.S(t2) + '" has helices in it. If you delete the group, the helices will be removed, including any portions of strands on them.\n\nAre you sure you wish to remove group "' + H.S(t2) + '"?'))) - return; - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t1 = t3.get$iterator(t1); t1.moveNext$0();) - t2.push(U.HelixRemove_HelixRemove(t1.get$current(t1))); - C.JSArray_methods.add$1(t2, action); - store.dispatch$1(U.BatchAction_BatchAction(t2, "remove group")); - } else - next.call$1(action); + _ObservableTimer: function _ObservableTimer(t0) { + this._didConclude = t0; + this.___ObservableTimer__timer_A = $; }, - main: function() { - var t1 = type$.dynamic; - t1 = new G.App(M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int)); - $.app = t1; - t1.start$0(0); - } - }; - var holders = [C, H, J, P, W, D, B, A, L, X, O, R, T, Q, E, K, Y, S, M, U, Z, V, G, N, F]; - hunkHelpers.setFunctionNamesIfNecessary(holders); - var $ = {}; - H.JS_CONST.prototype = {}; - J.Interceptor.prototype = { - $eq: function(receiver, other) { - return receiver === other; + _ObservableTimer_closure: function _ObservableTimer_closure(t0, t1) { + this.$this = t0; + this.callback = t1; }, - get$hashCode: function(receiver) { - return H.Primitives_objectHashCode(receiver); + Disposable: function Disposable(t0, t1, t2, t3) { + var _ = this; + _._awaitableFutures = t0; + _._didDispose = t1; + _._leakFlag = null; + _._internalDisposables = t2; + _._disposable$_state = t3; }, - toString$0: function(receiver) { - return "Instance of '" + H.S(H.Primitives_objectTypeName(receiver)) + "'"; + Disposable__addObservableTimerDisposable_closure: function Disposable__addObservableTimerDisposable_closure(t0) { + this.timer = t0; }, - noSuchMethod$1: function(receiver, invocation) { - type$.Invocation._as(invocation); - throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + Disposable__addObservableTimerDisposable_closure0: function Disposable__addObservableTimerDisposable_closure0(t0, t1) { + this.$this = t0; + this.disposable = t1; }, - get$runtimeType: function(receiver) { - return H.getRuntimeType(receiver); - } - }; - J.JSBool.prototype = { - toString$0: function(receiver) { - return String(receiver); + DisposableState: function DisposableState(t0) { + this._core$_name = t0; }, - $or: function(receiver, other) { - return other || receiver; + DtdExternalId: function DtdExternalId(t0, t1, t2, t3) { + var _ = this; + _.publicId = t0; + _.publicIdType = t1; + _.systemId = t2; + _.systemIdType = t3; }, - get$hashCode: function(receiver) { - return receiver ? 519018 : 218159; + _textReplace(match) { + var t1 = match.group$1(0); + t1.toString; + switch (t1) { + case "<": + return "<"; + case "&": + return "&"; + case "]]>": + return "]]>"; + default: + return A._asNumericCharacterReferences(t1); + } }, - get$runtimeType: function(receiver) { - return C.Type_bool_lhE; + _singeQuoteAttributeReplace(match) { + var t1 = match.group$1(0); + t1.toString; + switch (t1) { + case "'": + return "'"; + case "&": + return "&"; + case "<": + return "<"; + default: + return A._asNumericCharacterReferences(t1); + } }, - $isbool: 1 - }; - J.JSNull.prototype = { - $eq: function(receiver, other) { - return null == other; + _doubleQuoteAttributeReplace(match) { + var t1 = match.group$1(0); + t1.toString; + switch (t1) { + case '"': + return """; + case "&": + return "&"; + case "<": + return "<"; + default: + return A._asNumericCharacterReferences(t1); + } }, - toString$0: function(receiver) { - return "null"; + _asNumericCharacterReferences(toEscape) { + var t1; + toEscape.toString; + t1 = type$.Runes; + return A.MappedIterable_MappedIterable(new A.Runes(toEscape), t1._eval$1("String(Iterable.E)")._as(new A._asNumericCharacterReferences_closure()), t1._eval$1("Iterable.E"), type$.String).join$0(0); }, - get$hashCode: function(receiver) { - return 0; + XmlDefaultEntityMapping: function XmlDefaultEntityMapping() { }, - get$runtimeType: function(receiver) { - return C.Type_Null_Yyn; + _asNumericCharacterReferences_closure: function _asNumericCharacterReferences_closure() { }, - noSuchMethod$1: function(receiver, invocation) { - return this.super$Interceptor$noSuchMethod(receiver, type$.Invocation._as(invocation)); + XmlEntityMapping: function XmlEntityMapping() { }, - $isNull: 1 - }; - J.JavaScriptObject.prototype = { - get$hashCode: function(receiver) { - return 0; + XmlAttributeType: function XmlAttributeType(t0, t1) { + this.token = t0; + this._core$_name = t1; }, - get$runtimeType: function(receiver) { - return C.Type_JSObject_8k0; + XmlNodeType: function XmlNodeType(t0) { + this._core$_name = t0; }, - toString$0: function(receiver) { - return String(receiver); + XmlException: function XmlException() { }, - $isJSObject: 1, - $isJsConnectOptions: 1, - $isJsMap: 1, - $isJsRef: 1, - $isReactClass: 1, - $isReactElement: 1, - $isReactComponent: 1, - $isReactContext: 1, - $isJsMap: 1, - $isReactErrorInfo: 1, - $isSyntheticFormEvent: 1, - $isSyntheticMouseEvent: 1, - $isSyntheticPointerEvent: 1, - $isJSColor: 1, - send$1: function(receiver, p0) { - return receiver.send(p0); + XmlFormatException: function XmlFormatException() { }, - set$areOwnPropsEqual: function(obj, v) { - return obj.areOwnPropsEqual = v; + XmlParentException$(message, node, $parent) { + return new A.XmlParentException(message); }, - set$areStatePropsEqual: function(obj, v) { - return obj.areStatePropsEqual = v; + XmlParentException_checkNoParent(node) { + if (node.get$parent(node) != null) + throw A.wrapException(A.XmlParentException$(string$.Node_a, node, node.get$parent(node))); }, - set$areMergedPropsEqual: function(obj, v) { - return obj.areMergedPropsEqual = v; + XmlParentException_checkMatchingParent(node, $parent) { + if (node.get$parent(node) !== $parent) + throw A.wrapException(A.XmlParentException$("Node already has a non-matching parent", node, $parent)); }, - get$context: function(obj) { - return obj.context; + XmlParentException: function XmlParentException(t0) { + this.message = t0; }, - get$current: function(obj) { - return obj.current; + XmlParserException$(message, buffer, position) { + return new A.XmlParserException(buffer, position, $, $, $, message); }, - get$defaultProps: function(obj) { - return obj.defaultProps; + XmlParserException: function XmlParserException(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.buffer = t0; + _.position = t1; + _.XmlFormatException___XmlFormatException_line_FI = t2; + _.XmlFormatException___XmlFormatException_column_FI = t3; + _.XmlFormatException___XmlFormatException__lineAndColumn_FI = t4; + _.message = t5; }, - set$displayName: function(obj, v) { - return obj.displayName = v; + _XmlParserException_XmlException_XmlFormatException: function _XmlParserException_XmlException_XmlFormatException() { }, - get$dartComponentVersion: function(obj) { - return obj.dartComponentVersion; + XmlTagException$(message, actualName, buffer, expectedName, position) { + return new A.XmlTagException(buffer, position, $, $, $, message); }, - set$dartComponentVersion: function(obj, v) { - return obj.dartComponentVersion = v; + XmlTagException_XmlTagException$mismatchClosingTag(expectedName, actualName, buffer, position) { + return A.XmlTagException$("Expected , but found ", actualName, buffer, expectedName, position); }, - get$type: function(obj) { - return obj.type; + XmlTagException_XmlTagException$unexpectedClosingTag(actualName, buffer, position) { + return A.XmlTagException$("Unexpected ", actualName, buffer, null, position); }, - get$props: function(obj) { - return obj.props; + XmlTagException_XmlTagException$missingClosingTag(expectedName, buffer, position) { + return A.XmlTagException$("Missing ", null, buffer, expectedName, position); }, - get$children: function(obj) { - return obj.children; + XmlTagException: function XmlTagException(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.buffer = t0; + _.position = t1; + _.XmlFormatException___XmlFormatException_line_FI = t2; + _.XmlFormatException___XmlFormatException_column_FI = t3; + _.XmlFormatException___XmlFormatException__lineAndColumn_FI = t4; + _.message = t5; }, - get$dartComponent: function(obj) { - return obj.dartComponent; + _XmlTagException_XmlException_XmlFormatException: function _XmlTagException_XmlException_XmlFormatException() { }, - get$state: function(obj) { - return obj.state; + XmlNodeTypeException$(message, node, types) { + return new A.XmlNodeTypeException(message); }, - set$state: function(obj, v) { - return obj.state = v; + XmlNodeTypeException_checkValidType(node, types) { + if (!J.containsKey$1$x(types._collection$_map, node.get$nodeType(node))) + throw A.wrapException(new A.XmlNodeTypeException("Got " + node.get$nodeType(node).toString$0(0) + ", but expected one of " + types.join$1(0, ", "))); }, - setState$1: function(receiver, p0) { - return receiver.setState(p0); + XmlNodeTypeException: function XmlNodeTypeException(t0) { + this.message = t0; }, - get$Provider: function(obj) { - return obj.Provider; + XmlDescendantsIterable: function XmlDescendantsIterable(t0) { + this._descendants$_start = t0; }, - get$Consumer: function(obj) { - return obj.Consumer; + XmlDescendantsIterator: function XmlDescendantsIterator(t0) { + this._todo = t0; + this.__XmlDescendantsIterator__current_A = $; }, - get$componentStack: function(obj) { - return obj.componentStack; + XmlAttributesBase: function XmlAttributesBase() { }, - get$dartStackTrace: function(obj) { - return obj.dartStackTrace; + XmlHasAttributes: function XmlHasAttributes() { }, - set$dartStackTrace: function(obj, v) { - return obj.dartStackTrace = v; + XmlChildrenBase: function XmlChildrenBase() { }, - get$nativeEvent: function(obj) { - return obj.nativeEvent; + XmlHasChildren: function XmlHasChildren() { }, - get$target: function(obj) { - return obj.target; + XmlHasName: function XmlHasName() { }, - stopPropagation$0: function(receiver) { - return receiver.stopPropagation(); + XmlParentBase: function XmlParentBase() { }, - preventDefault$0: function(receiver) { - return receiver.preventDefault(); + XmlHasParent: function XmlHasParent() { }, - get$ctrlKey: function(obj) { - return obj.ctrlKey; + XmlValueBase: function XmlValueBase() { }, - get$metaKey: function(obj) { - return obj.metaKey; + XmlHasVisitor: function XmlHasVisitor() { }, - get$shiftKey: function(obj) { - return obj.shiftKey; + XmlHasWriter: function XmlHasWriter() { }, - get$button: function(obj) { - return obj.button; + XmlAttribute$($name, value, attributeType) { + var t1 = new A.XmlAttribute($name, value, attributeType, null); + A._instanceType($name)._eval$1("XmlHasParent.T")._as(t1); + A.XmlParentException_checkNoParent($name); + $name.set$_has_parent$_parent(t1); + return t1; }, - get$hex: function(obj) { - return obj.hex; - } - }; - J.PlainJavaScriptObject.prototype = {}; - J.UnknownJavaScriptObject.prototype = {}; - J.JavaScriptFunction.prototype = { - toString$0: function(receiver) { - var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; - if (dartClosure == null) - return this.super$JavaScriptObject$toString(receiver); - return "JavaScript function for " + H.S(J.toString$0$(dartClosure)); + XmlAttribute: function XmlAttribute(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.value = t1; + _.attributeType = t2; + _.XmlHasParent__parent = t3; }, - $isFunction: 1 - }; - J.JSArray.prototype = { - cast$1$0: function(receiver, $R) { - return new H.CastList(receiver, H._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + _XmlAttribute_XmlNode_XmlHasName: function _XmlAttribute_XmlNode_XmlHasName() { }, - add$1: function(receiver, value) { - H._arrayInstanceType(receiver)._precomputed1._as(value); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("add")); - receiver.push(value); + _XmlAttribute_XmlNode_XmlHasName_XmlHasParent: function _XmlAttribute_XmlNode_XmlHasName_XmlHasParent() { }, - removeAt$1: function(receiver, index) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeAt")); - if (index < 0 || index >= receiver.length) - throw H.wrapException(P.RangeError$value(index, null, null)); - return receiver.splice(index, 1)[0]; + XmlCDATA: function XmlCDATA(t0, t1) { + this.value = t0; + this.XmlHasParent__parent = t1; }, - insert$2: function(receiver, index, value) { - H._arrayInstanceType(receiver)._precomputed1._as(value); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("insert")); - if (index < 0 || index > receiver.length) - throw H.wrapException(P.RangeError$value(index, null, null)); - receiver.splice(index, 0, value); + XmlComment: function XmlComment(t0, t1) { + this.value = t0; + this.XmlHasParent__parent = t1; }, - insertAll$2: function(receiver, index, iterable) { - var insertionLength, t1, end; - H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("insertAll")); - P.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); - if (!type$.EfficientLengthIterable_dynamic._is(iterable)) - iterable = J.toList$0$ax(iterable); - insertionLength = J.get$length$asx(iterable); - t1 = receiver.length; - if (typeof insertionLength !== "number") - return H.iae(insertionLength); - receiver.length = t1 + insertionLength; - end = index + insertionLength; - this.setRange$4(receiver, end, receiver.length, receiver, index); - this.setRange$3(receiver, index, end, iterable); + XmlData: function XmlData() { }, - setAll$2: function(receiver, index, iterable) { - var t1, t2, index0; - H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("setAll")); - P.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); - for (t1 = J.get$iterator$ax(iterable._source), t2 = H._instanceType(iterable), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0(); index = index0) { - index0 = index + 1; - this.$indexSet(receiver, index, t2._as(t1.get$current(t1))); - } + _XmlData_XmlNode_XmlHasParent: function _XmlData_XmlNode_XmlHasParent() { }, - removeLast$0: function(receiver) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeLast")); - if (receiver.length === 0) - throw H.wrapException(H.diagnoseIndexError(receiver, -1)); - return receiver.pop(); + XmlDeclaration$(attributesIterable) { + var t1 = A.XmlNodeList$(type$.XmlAttribute), + t2 = new A.XmlDeclaration(t1, null); + type$.Set_XmlNodeType._as(B.Set_r7Xh1); + t1.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t1.__XmlNodeList__parent_F = t2; + t1.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI("_nodeTypes"); + t1.set$__XmlNodeList__nodeTypes_F(B.Set_r7Xh1); + t1.addAll$1(0, attributesIterable); + return t2; }, - remove$1: function(receiver, element) { - var i; - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("remove")); - for (i = 0; i < receiver.length; ++i) - if (J.$eq$(receiver[i], element)) { - receiver.splice(i, 1); - return true; - } - return false; + XmlDeclaration: function XmlDeclaration(t0, t1) { + this.XmlHasAttributes_attributes = t0; + this.XmlHasParent__parent = t1; }, - removeWhere$1: function(receiver, test) { - H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeWhere")); - this._removeWhere$2(receiver, test, true); + XmlDeclaration_copy_closure: function XmlDeclaration_copy_closure() { }, - _removeWhere$2: function(receiver, test, removeMatching) { - var retained, end, i, element, t1; - H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); - retained = []; - end = receiver.length; - for (i = 0; i < end; ++i) { - element = receiver[i]; - if (!H.boolConversionCheck(test.call$1(element))) - retained.push(element); - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - t1 = retained.length; - if (t1 === end) - return; - this.set$length(receiver, t1); - for (i = 0; i < retained.length; ++i) - receiver[i] = retained[i]; + _XmlDeclaration_XmlNode_XmlHasParent: function _XmlDeclaration_XmlNode_XmlHasParent() { }, - where$1: function(receiver, f) { - var t1 = H._arrayInstanceType(receiver); - return new H.WhereIterable(receiver, t1._eval$1("bool(1)")._as(f), t1._eval$1("WhereIterable<1>")); + _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes: function _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes() { }, - expand$1$1: function(receiver, f, $T) { - var t1 = H._arrayInstanceType(receiver); - return new H.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + XmlDoctype: function XmlDoctype(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.externalId = t1; + _.internalSubset = t2; + _.XmlHasParent__parent = t3; }, - addAll$1: function(receiver, collection) { - var t1; - H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(collection); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("addAll")); - if (Array.isArray(collection)) { - this._addAllFromArray$1(receiver, collection); - return; - } - for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) - receiver.push(t1.get$current(t1)); + _XmlDoctype_XmlNode_XmlHasParent: function _XmlDoctype_XmlNode_XmlHasParent() { + }, + XmlDocument_XmlDocument$parse(input) { + var t1 = type$.Iterable_XmlEvent._as(new A.XmlEventIterable(input, B.C_XmlDefaultEntityMapping, true, true, false, false, false)), + result = A._setArrayType([], type$.JSArray_XmlNode); + t1.forEach$1(0, new A._XmlNodeDecoderSink(new A.ConversionSink(type$.void_Function_Iterable_XmlNode._as(B.JSArray_methods.get$addAll(result)), type$.ConversionSink_List_XmlNode)).get$visit()); + return A.XmlDocument$(result); + }, + XmlDocument$(childrenIterable) { + var t1 = A.XmlNodeList$(type$.XmlNode), + t2 = new A.XmlDocument(t1); + type$.Set_XmlNodeType._as(B.Set_wEo81); + t1.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t1.__XmlNodeList__parent_F = t2; + t1.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI("_nodeTypes"); + t1.set$__XmlNodeList__nodeTypes_F(B.Set_wEo81); + t1.addAll$1(0, childrenIterable); + return t2; }, - _addAllFromArray$1: function(receiver, array) { - var len, i; - type$.JSArray_dynamic._as(array); - len = array.length; - if (len === 0) - return; - if (receiver === array) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - for (i = 0; i < len; ++i) - receiver.push(array[i]); + XmlDocument: function XmlDocument(t0) { + this.XmlHasChildren_children = t0; }, - clear$0: function(receiver) { - this.set$length(receiver, 0); + XmlDocument_copy_closure: function XmlDocument_copy_closure() { }, - forEach$1: function(receiver, f) { - var end, i; - H._arrayInstanceType(receiver)._eval$1("~(1)")._as(f); - end = receiver.length; - for (i = 0; i < end; ++i) { - f.call$1(receiver[i]); - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } + _XmlDocument_XmlNode_XmlHasChildren: function _XmlDocument_XmlNode_XmlHasChildren() { }, - map$1$1: function(receiver, f, $T) { - var t1 = H._arrayInstanceType(receiver); - return new H.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + XmlElement$($name, attributes, children, isSelfClosing) { + var t4, + _s10_ = "_nodeTypes", + t1 = A.XmlNodeList$(type$.XmlNode), + t2 = A.XmlNodeList$(type$.XmlAttribute), + t3 = new A.XmlElement(isSelfClosing, $name, t1, t2, null); + A._instanceType($name)._eval$1("XmlHasParent.T")._as(t3); + A.XmlParentException_checkNoParent($name); + $name.set$_has_parent$_parent(t3); + t4 = type$.Set_XmlNodeType; + t4._as(B.Set_r7Xh1); + t2.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t2.__XmlNodeList__parent_F = t3; + t2.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI(_s10_); + t2.set$__XmlNodeList__nodeTypes_F(B.Set_r7Xh1); + t2.addAll$1(0, attributes); + t4._as(B.Set_EyI1); + t1.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t1.__XmlNodeList__parent_F = t3; + t1.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI(_s10_); + t1.set$__XmlNodeList__nodeTypes_F(B.Set_EyI1); + t1.addAll$1(0, children); + return t3; }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + XmlElement$tag(qualifiedName, attributes, children, isSelfClosing) { + var _s10_ = "_nodeTypes", + t1 = A.XmlName_XmlName$fromString(qualifiedName), + t2 = A.XmlNodeList$(type$.XmlNode), + t3 = A.XmlNodeList$(type$.XmlAttribute), + t4 = new A.XmlElement(isSelfClosing, t1, t2, t3, null); + A._instanceType(t1)._eval$1("XmlHasParent.T")._as(t4); + A.XmlParentException_checkNoParent(t1); + t1.set$_has_parent$_parent(t4); + t1 = type$.Set_XmlNodeType; + t1._as(B.Set_r7Xh1); + t3.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t3.__XmlNodeList__parent_F = t4; + t3.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI(_s10_); + t3.set$__XmlNodeList__nodeTypes_F(B.Set_r7Xh1); + t3.addAll$1(0, attributes); + t1._as(B.Set_EyI1); + t2.__XmlNodeList__parent_F !== $ && A.throwLateFieldAI("_parent"); + t2.__XmlNodeList__parent_F = t4; + t2.__XmlNodeList__nodeTypes_F !== $ && A.throwLateFieldAI(_s10_); + t2.set$__XmlNodeList__nodeTypes_F(B.Set_EyI1); + t2.addAll$1(0, children); + return t4; }, - join$1: function(receiver, separator) { - var i, - list = P.List_List$filled(receiver.length, "", false, type$.String); - for (i = 0; i < receiver.length; ++i) - this.$indexSet(list, i, H.S(receiver[i])); - return list.join(separator); + XmlElement: function XmlElement(t0, t1, t2, t3, t4) { + var _ = this; + _.isSelfClosing = t0; + _.name = t1; + _.XmlHasChildren_children = t2; + _.XmlHasAttributes_attributes = t3; + _.XmlHasParent__parent = t4; }, - join$0: function($receiver) { - return this.join$1($receiver, ""); + XmlElement_copy_closure: function XmlElement_copy_closure() { }, - take$1: function(receiver, n) { - return H.SubListIterable$(receiver, 0, H.checkNotNullable(n, "count", type$.int), H._arrayInstanceType(receiver)._precomputed1); + XmlElement_copy_closure0: function XmlElement_copy_closure0() { }, - skip$1: function(receiver, n) { - return H.SubListIterable$(receiver, n, null, H._arrayInstanceType(receiver)._precomputed1); + _XmlElement_XmlNode_XmlHasName: function _XmlElement_XmlNode_XmlHasName() { }, - reduce$1: function(receiver, combine) { - var $length, value, i; - H._arrayInstanceType(receiver)._eval$1("1(1,1)")._as(combine); - $length = receiver.length; - if ($length === 0) - throw H.wrapException(H.IterableElementError_noElement()); - if (0 >= $length) - return H.ioore(receiver, 0); - value = receiver[0]; - for (i = 1; i < $length; ++i) { - value = combine.call$2(value, receiver[i]); - if ($length !== receiver.length) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return value; + _XmlElement_XmlNode_XmlHasName_XmlHasParent: function _XmlElement_XmlNode_XmlHasName_XmlHasParent() { }, - fold$1$2: function(receiver, initialValue, combine, $T) { - var $length, value, i; - $T._as(initialValue); - H._arrayInstanceType(receiver)._bind$1($T)._eval$1("1(1,2)")._as(combine); - $length = receiver.length; - for (value = initialValue, i = 0; i < $length; ++i) { - value = combine.call$2(value, receiver[i]); - if (receiver.length !== $length) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return value; + _XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes: function _XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes() { }, - firstWhere$2$orElse: function(receiver, test, orElse) { - var end, i, element, - t1 = H._arrayInstanceType(receiver); - t1._eval$1("bool(1)")._as(test); - t1._eval$1("1()?")._as(orElse); - end = receiver.length; - for (i = 0; i < end; ++i) { - element = receiver[i]; - if (H.boolConversionCheck(test.call$1(element))) - return element; - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - if (orElse != null) - return orElse.call$0(); - throw H.wrapException(H.IterableElementError_noElement()); + _XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes_XmlHasChildren: function _XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes_XmlHasChildren() { }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + XmlNode: function XmlNode() { }, - sublist$2: function(receiver, start, end) { - if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, "start", null)); - if (end == null) - end = receiver.length; - else if (end < start || end > receiver.length) - throw H.wrapException(P.RangeError$range(end, start, receiver.length, "end", null)); - if (start === end) - return H.setRuntimeTypeInfo([], H._arrayInstanceType(receiver)); - return H.setRuntimeTypeInfo(receiver.slice(start, end), H._arrayInstanceType(receiver)); + _XmlNode_Object_XmlAttributesBase: function _XmlNode_Object_XmlAttributesBase() { }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + _XmlNode_Object_XmlAttributesBase_XmlChildrenBase: function _XmlNode_Object_XmlAttributesBase_XmlChildrenBase() { }, - getRange$2: function(receiver, start, end) { - P.RangeError_checkValidRange(start, end, receiver.length); - return H.SubListIterable$(receiver, start, end, H._arrayInstanceType(receiver)._precomputed1); + _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor: function _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor() { }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(H.IterableElementError_noElement()); + _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter: function _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter() { }, - get$last: function(receiver) { - var t1 = receiver.length; - if (t1 > 0) - return receiver[t1 - 1]; - throw H.wrapException(H.IterableElementError_noElement()); + _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase: function _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase() { }, - get$single: function(receiver) { - var t1 = receiver.length; - if (t1 === 1) { - if (0 >= t1) - return H.ioore(receiver, 0); - return receiver[0]; - } - if (t1 === 0) - throw H.wrapException(H.IterableElementError_noElement()); - throw H.wrapException(H.IterableElementError_tooMany()); + _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase: function _XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase() { }, - removeRange$2: function(receiver, start, end) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeRange")); - P.RangeError_checkValidRange(start, end, receiver.length); - if (typeof end !== "number") - return end.$sub(); - if (typeof start !== "number") - return H.iae(start); - receiver.splice(start, end - start); + XmlProcessing: function XmlProcessing(t0, t1, t2) { + this.target = t0; + this.value = t1; + this.XmlHasParent__parent = t2; }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - var $length, otherList, otherStart, t1, t2, i; - H._asIntS(end); - H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("setRange")); - P.RangeError_checkValidRange(start, end, receiver.length); - if (typeof end !== "number") - return end.$sub(); - $length = end - start; - if ($length === 0) - return; - P.RangeError_checkNotNegative(skipCount, "skipCount"); - if (type$.List_dynamic._is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); - otherStart = 0; - } - t1 = J.getInterceptor$asx(otherList); - t2 = t1.get$length(otherList); - if (typeof t2 !== "number") - return H.iae(t2); - if (otherStart + $length > t2) - throw H.wrapException(H.IterableElementError_tooFew()); - if (otherStart < start) - for (i = $length - 1; i >= 0; --i) - receiver[start + i] = t1.$index(otherList, otherStart + i); - else - for (i = 0; i < $length; ++i) - receiver[start + i] = t1.$index(otherList, otherStart + i); + XmlText: function XmlText(t0, t1) { + this.value = t0; + this.XmlHasParent__parent = t1; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + XmlCache: function XmlCache(t0, t1, t2, t3) { + var _ = this; + _._loader = t0; + _._maxSize = t1; + _._cache$_values = t2; + _.$ti = t3; }, - fillRange$3: function(receiver, start, end, fillValue) { - var i; - H._arrayInstanceType(receiver)._eval$1("1?")._as(fillValue); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("fill range")); - P.RangeError_checkValidRange(start, end, receiver.length); - for (i = start; i < end; ++i) - receiver[i] = fillValue; + XmlCharacterDataParser: function XmlCharacterDataParser(t0, t1) { + this._stopper = t0; + this._minLength = t1; }, - replaceRange$3: function(receiver, start, end, replacement) { - var removeLength, insertLength, t1, insertEnd, delta, newLength, _this = this; - H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(replacement); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("replaceRange")); - P.RangeError_checkValidRange(start, end, receiver.length); - if (!type$.EfficientLengthIterable_dynamic._is(replacement)) - replacement = J.toList$0$ax(replacement); - if (typeof start !== "number") - return H.iae(start); - removeLength = end - start; - insertLength = J.get$length$asx(replacement); - if (typeof insertLength !== "number") - return H.iae(insertLength); - t1 = receiver.length; - insertEnd = start + insertLength; - if (removeLength >= insertLength) { - delta = removeLength - insertLength; - newLength = t1 - delta; - _this.setRange$3(receiver, start, insertEnd, replacement); - if (delta !== 0) { - _this.setRange$4(receiver, insertEnd, newLength, receiver, end); - _this.set$length(receiver, newLength); - } - } else { - newLength = t1 + (insertLength - removeLength); - receiver.length = newLength; - _this.setRange$4(receiver, insertEnd, newLength, receiver, end); - _this.setRange$3(receiver, start, insertEnd, replacement); - } + XmlName_XmlName(local) { + var t1 = new A.XmlSimpleName(local, null); + return t1; }, - any$1: function(receiver, test) { - var end, i; - H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); - end = receiver.length; - for (i = 0; i < end; ++i) { - if (H.boolConversionCheck(test.call$1(receiver[i]))) - return true; - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return false; + XmlName_XmlName$fromString(qualified) { + var index = J.indexOf$1$asx(qualified, ":"); + if (index > 0) + return new A.XmlPrefixName(B.JSString_methods.substring$2(qualified, 0, index), B.JSString_methods.substring$1(qualified, index + 1), qualified, null); + else + return new A.XmlSimpleName(qualified, null); }, - every$1: function(receiver, test) { - var end, i; - H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); - end = receiver.length; - for (i = 0; i < end; ++i) { - if (!H.boolConversionCheck(test.call$1(receiver[i]))) - return false; - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return true; + XmlName: function XmlName() { }, - get$reversed: function(receiver) { - return new H.ReversedListIterable(receiver, H._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>")); + _XmlName_Object_XmlHasVisitor: function _XmlName_Object_XmlHasVisitor() { }, - sort$1: function(receiver, compare) { - var t2, - t1 = H._arrayInstanceType(receiver); - t1._eval$1("int(1,1)?")._as(compare); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t2 = compare == null ? J._interceptors_JSArray__compareAny$closure() : compare; - H.Sort_sort(receiver, t2, t1._precomputed1); + _XmlName_Object_XmlHasVisitor_XmlHasWriter: function _XmlName_Object_XmlHasVisitor_XmlHasWriter() { }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent: function _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent() { }, - indexOf$2: function(receiver, element, start) { - var i, - $length = receiver.length; - if (start >= $length) - return -1; - for (i = start; i < $length; ++i) { - if (i >= receiver.length) - return H.ioore(receiver, i); - if (J.$eq$(receiver[i], element)) - return i; - } - return -1; + createNameMatcher($name, namespace) { + if ($name === "*") + if (namespace == null || namespace === "*") + return new A.createNameMatcher_closure(); + else + return new A.createNameMatcher_closure0(namespace); + else if (namespace == null) + return new A.createNameMatcher_closure1($name); + else if (namespace === "*") + return new A.createNameMatcher_closure2($name); + else + return new A.createNameMatcher_closure3($name, namespace); }, - indexOf$1: function($receiver, element) { - return this.indexOf$2($receiver, element, 0); + createNameMatcher_closure: function createNameMatcher_closure() { }, - contains$1: function(receiver, other) { - var i; - for (i = 0; i < receiver.length; ++i) - if (J.$eq$(receiver[i], other)) - return true; - return false; + createNameMatcher_closure0: function createNameMatcher_closure0(t0) { + this.namespace = t0; }, - get$isEmpty: function(receiver) { - return receiver.length === 0; + createNameMatcher_closure1: function createNameMatcher_closure1(t0) { + this.name = t0; }, - get$isNotEmpty: function(receiver) { - return receiver.length !== 0; + createNameMatcher_closure2: function createNameMatcher_closure2(t0) { + this.name = t0; }, - toString$0: function(receiver) { - return P.IterableBase_iterableToFullString(receiver, "[", "]"); + createNameMatcher_closure3: function createNameMatcher_closure3(t0, t1) { + this.name = t0; + this.namespace = t1; }, - toList$1$growable: function(receiver, growable) { - var t1 = H._arrayInstanceType(receiver); - return growable ? H.setRuntimeTypeInfo(receiver.slice(0), t1) : J.JSArray_JSArray$markFixed(receiver.slice(0), t1._precomputed1); + XmlNodeList$($E) { + return new A.XmlNodeList(A._setArrayType([], $E._eval$1("JSArray<0>")), $E._eval$1("XmlNodeList<0>")); }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + XmlNodeList: function XmlNodeList(t0, t1) { + var _ = this; + _.__XmlNodeList__nodeTypes_F = _.__XmlNodeList__parent_F = $; + _._wrappers$_base = t0; + _.$ti = t1; }, - toSet$0: function(receiver) { - return P.LinkedHashSet_LinkedHashSet$from(receiver, H._arrayInstanceType(receiver)._precomputed1); + XmlNodeList__expandFragment_closure: function XmlNodeList__expandFragment_closure(t0) { + this.$this = t0; }, - get$iterator: function(receiver) { - return new J.ArrayIterator(receiver, receiver.length, H._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); + XmlPrefixName: function XmlPrefixName(t0, t1, t2, t3) { + var _ = this; + _.prefix = t0; + _.local = t1; + _.qualified = t2; + _.XmlHasParent__parent = t3; }, - get$hashCode: function(receiver) { - return H.Primitives_objectHashCode(receiver); + XmlSimpleName: function XmlSimpleName(t0, t1) { + this.local = t0; + this.XmlHasParent__parent = t1; }, - get$length: function(receiver) { - return receiver.length; + XmlVisitor: function XmlVisitor() { }, - set$length: function(receiver, newLength) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("set length")); - if (newLength < 0) - throw H.wrapException(P.RangeError$range(newLength, 0, null, "newLength", null)); - receiver.length = newLength; + XmlWriter: function XmlWriter(t0, t1) { + this.buffer = t0; + this.entityMapping = t1; }, - $index: function(receiver, index) { - H._asIntS(index); - if (!H._isInt(index)) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index >= receiver.length || index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - return receiver[index]; + _XmlWriter_Object_XmlVisitor: function _XmlWriter_Object_XmlVisitor() { }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - H._arrayInstanceType(receiver)._precomputed1._as(value); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("indexed set")); - if (!H._isInt(index)) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index >= receiver.length || index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - receiver[index] = value; + XmlAnnotator: function XmlAnnotator(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.validateNesting = t0; + _.validateDocument = t1; + _.withBuffer = t2; + _.withLocation = t3; + _.withParent = t4; + _._roots = t5; + _._parents = t6; }, - $add: function(receiver, other) { - var t1 = H._arrayInstanceType(receiver); - t1._eval$1("List<1>")._as(other); - t1 = P.List_List$of(receiver, true, t1._precomputed1); - this.addAll$1(t1, other); - return t1; + XmlHasBuffer: function XmlHasBuffer() { }, - indexWhere$2: function(receiver, test, start) { - var i; - H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); - if (start >= receiver.length) - return -1; - for (i = start; i < receiver.length; ++i) - if (H.boolConversionCheck(test.call$1(receiver[i]))) - return i; - return -1; + XmlHasLocation: function XmlHasLocation() { }, - indexWhere$1: function($receiver, test) { - return this.indexWhere$2($receiver, test, 0); + XmlHasParent0: function XmlHasParent0() { }, - set$last: function(receiver, element) { - var t1; - H._arrayInstanceType(receiver)._precomputed1._as(element); - t1 = receiver.length; - if (t1 === 0) - throw H.wrapException(H.IterableElementError_noElement()); - this.$indexSet(receiver, t1 - 1, element); + XmlEventEncoder: function XmlEventEncoder(t0) { + this.entityMapping = t0; }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 - }; - J.JSUnmodifiableArray.prototype = {}; - J.ArrayIterator.prototype = { - get$current: function(_) { - return this.__interceptors$_current; + _XmlEventEncoderSink: function _XmlEventEncoderSink(t0, t1) { + this.sink = t0; + this.entityMapping = t1; }, - moveNext$0: function() { - var t2, _this = this, - t1 = _this._iterable, - $length = t1.length; - if (_this.__interceptors$_length !== $length) - throw H.wrapException(H.throwConcurrentModificationError(t1)); - t2 = _this._index; - if (t2 >= $length) { - _this.set$__interceptors$_current(null); - return false; - } - _this.set$__interceptors$_current(t1[t2]); - ++_this._index; - return true; + __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor: function __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor() { }, - set$__interceptors$_current: function(_current) { - this.__interceptors$_current = this.$ti._eval$1("1?")._as(_current); + _XmlNodeDecoderSink: function _XmlNodeDecoderSink(t0) { + this.sink = t0; + this.parent = null; }, - $isIterator: 1 - }; - J.JSNumber.prototype = { - compareTo$1: function(receiver, b) { - var bIsNegative; - H._asNumS(b); - if (typeof b != "number") - throw H.wrapException(H.argumentErrorValue(b)); - if (receiver < b) - return -1; - else if (receiver > b) - return 1; - else if (receiver === b) { - if (receiver === 0) { - bIsNegative = this.get$isNegative(b); - if (this.get$isNegative(receiver) === bIsNegative) - return 0; - if (this.get$isNegative(receiver)) - return -1; - return 1; - } - return 0; - } else if (isNaN(receiver)) { - if (isNaN(b)) - return 0; - return 1; - } else - return -1; + _XmlNodeDecoderSink_convertAttributes_closure: function _XmlNodeDecoderSink_convertAttributes_closure() { }, - get$isNegative: function(receiver) { - return receiver === 0 ? 1 / receiver < 0 : receiver < 0; + __XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor: function __XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor() { }, - toInt$0: function(receiver) { - var t1; - if (receiver >= -2147483648 && receiver <= 2147483647) - return receiver | 0; - if (isFinite(receiver)) { - t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); - return t1 + 0; - } - throw H.wrapException(P.UnsupportedError$("" + receiver + ".toInt()")); + XmlEvent: function XmlEvent() { }, - ceil$0: function(receiver) { - var truncated, d; - if (receiver >= 0) { - if (receiver <= 2147483647) { - truncated = receiver | 0; - return receiver === truncated ? truncated : truncated + 1; - } - } else if (receiver >= -2147483648) - return receiver | 0; - d = Math.ceil(receiver); - if (isFinite(d)) - return d; - throw H.wrapException(P.UnsupportedError$("" + receiver + ".ceil()")); + _XmlEvent_Object_XmlHasParent: function _XmlEvent_Object_XmlHasParent() { }, - floor$0: function(receiver) { - var truncated, d; - if (receiver >= 0) { - if (receiver <= 2147483647) - return receiver | 0; - } else if (receiver >= -2147483648) { - truncated = receiver | 0; - return receiver === truncated ? truncated : truncated - 1; - } - d = Math.floor(receiver); - if (isFinite(d)) - return d; - throw H.wrapException(P.UnsupportedError$("" + receiver + ".floor()")); + _XmlEvent_Object_XmlHasParent_XmlHasLocation: function _XmlEvent_Object_XmlHasParent_XmlHasLocation() { }, - round$0: function(receiver) { - if (receiver > 0) { - if (receiver !== 1 / 0) - return Math.round(receiver); - } else if (receiver > -1 / 0) - return 0 - Math.round(0 - receiver); - throw H.wrapException(P.UnsupportedError$("" + receiver + ".round()")); + _XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer: function _XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer() { }, - roundToDouble$0: function(receiver) { - if (receiver < 0) - return -Math.round(-receiver); - else - return Math.round(receiver); + XmlCDATAEvent: function XmlCDATAEvent(t0, t1, t2, t3, t4) { + var _ = this; + _.value = t0; + _.XmlHasBuffer__buffer = t1; + _.XmlHasLocation__start = t2; + _.XmlHasLocation__stop = t3; + _.XmlHasParent__parent0 = t4; }, - toStringAsFixed$1: function(receiver, fractionDigits) { - var result; - if (fractionDigits > 20) - throw H.wrapException(P.RangeError$range(fractionDigits, 0, 20, "fractionDigits", null)); - result = receiver.toFixed(fractionDigits); - if (receiver === 0 && this.get$isNegative(receiver)) - return "-" + result; - return result; + XmlCommentEvent: function XmlCommentEvent(t0, t1, t2, t3, t4) { + var _ = this; + _.value = t0; + _.XmlHasBuffer__buffer = t1; + _.XmlHasLocation__start = t2; + _.XmlHasLocation__stop = t3; + _.XmlHasParent__parent0 = t4; }, - toRadixString$1: function(receiver, radix) { - var result, match, t1, exponent; - if (radix < 2 || radix > 36) - throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); - result = receiver.toString(radix); - if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) - return result; - match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); - if (match == null) - H.throwExpression(P.UnsupportedError$("Unexpected toString result: " + result)); - t1 = match.length; - if (1 >= t1) - return H.ioore(match, 1); - result = match[1]; - if (3 >= t1) - return H.ioore(match, 3); - exponent = +match[3]; - t1 = match[2]; - if (t1 != null) { - result += t1; - exponent -= t1.length; - } - return result + C.JSString_methods.$mul("0", exponent); + XmlDeclarationEvent: function XmlDeclarationEvent(t0, t1, t2, t3, t4) { + var _ = this; + _.attributes = t0; + _.XmlHasBuffer__buffer = t1; + _.XmlHasLocation__start = t2; + _.XmlHasLocation__stop = t3; + _.XmlHasParent__parent0 = t4; }, - toString$0: function(receiver) { - if (receiver === 0 && 1 / receiver < 0) - return "-0.0"; - else - return "" + receiver; + XmlDoctypeEvent: function XmlDoctypeEvent(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.name = t0; + _.externalId = t1; + _.internalSubset = t2; + _.XmlHasBuffer__buffer = t3; + _.XmlHasLocation__start = t4; + _.XmlHasLocation__stop = t5; + _.XmlHasParent__parent0 = t6; }, - get$hashCode: function(receiver) { - var absolute, floorLog2, factor, scaled, - intValue = receiver | 0; - if (receiver === intValue) - return intValue & 536870911; - absolute = Math.abs(receiver); - floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; - factor = Math.pow(2, floorLog2); - scaled = absolute < 1 ? absolute / factor : factor / absolute; - return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; + XmlEndElementEvent: function XmlEndElementEvent(t0, t1, t2, t3, t4) { + var _ = this; + _.name = t0; + _.XmlHasBuffer__buffer = t1; + _.XmlHasLocation__start = t2; + _.XmlHasLocation__stop = t3; + _.XmlHasParent__parent0 = t4; }, - $sub: function(receiver, other) { - H._asNumS(other); - if (typeof other != "number") - throw H.wrapException(H.argumentErrorValue(other)); - return receiver - other; + _XmlEndElementEvent_XmlEvent_XmlNamed: function _XmlEndElementEvent_XmlEvent_XmlNamed() { }, - $mod: function(receiver, other) { - var result; - if (typeof other != "number") - throw H.wrapException(H.argumentErrorValue(other)); - result = receiver % other; - if (result === 0) - return 0; - if (result > 0) - return result; - if (other < 0) - return result - other; - else - return result + other; - }, - $tdiv: function(receiver, other) { - if (typeof other != "number") - throw H.wrapException(H.argumentErrorValue(other)); - if ((receiver | 0) === receiver) - if (other >= 1 || other < -1) - return receiver / other | 0; - return this._tdivSlow$1(receiver, other); - }, - _tdivFast$1: function(receiver, other) { - return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); + XmlProcessingEvent: function XmlProcessingEvent(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.target = t0; + _.value = t1; + _.XmlHasBuffer__buffer = t2; + _.XmlHasLocation__start = t3; + _.XmlHasLocation__stop = t4; + _.XmlHasParent__parent0 = t5; }, - _tdivSlow$1: function(receiver, other) { - var quotient = receiver / other; - if (quotient >= -2147483648 && quotient <= 2147483647) - return quotient | 0; - if (quotient > 0) { - if (quotient !== 1 / 0) - return Math.floor(quotient); - } else if (quotient > -1 / 0) - return Math.ceil(quotient); - throw H.wrapException(P.UnsupportedError$("Result of truncating division is " + H.S(quotient) + ": " + H.S(receiver) + " ~/ " + other)); + XmlStartElementEvent: function XmlStartElementEvent(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.name = t0; + _.attributes = t1; + _.isSelfClosing = t2; + _.XmlHasBuffer__buffer = t3; + _.XmlHasLocation__start = t4; + _.XmlHasLocation__stop = t5; + _.XmlHasParent__parent0 = t6; + }, + _XmlStartElementEvent_XmlEvent_XmlNamed: function _XmlStartElementEvent_XmlEvent_XmlNamed() { + }, + XmlRawTextEvent: function XmlRawTextEvent(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.raw = t0; + _.entityMapping = t1; + _.__XmlRawTextEvent_value_FI = $; + _.XmlHasBuffer__buffer = t2; + _.XmlHasLocation__start = t3; + _.XmlHasLocation__stop = t4; + _.XmlHasParent__parent0 = t5; + }, + XmlEventIterable: function XmlEventIterable(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.input = t0; + _.entityMapping = t1; + _.validateNesting = t2; + _.validateDocument = t3; + _.withBuffer = t4; + _.withLocation = t5; + _.withParent = t6; + }, + XmlEventIterator: function XmlEventIterator(t0, t1, t2) { + var _ = this; + _._eventParser = t0; + _._annotator = t1; + _._iterator$_context = t2; + _._iterator$_current = null; + }, + XmlEventParser: function XmlEventParser(t0) { + this.entityMapping = t0; }, - $shl: function(receiver, other) { - if (typeof other != "number") - throw H.wrapException(H.argumentErrorValue(other)); - if (other < 0) - throw H.wrapException(H.argumentErrorValue(other)); - return other > 31 ? 0 : receiver << other >>> 0; + XmlEventParser_characterData_closure: function XmlEventParser_characterData_closure(t0) { + this.$this = t0; }, - _shlPositive$1: function(receiver, other) { - return other > 31 ? 0 : receiver << other >>> 0; + XmlEventParser_startElement_closure: function XmlEventParser_startElement_closure() { }, - $shr: function(receiver, other) { - var t1; - if (other < 0) - throw H.wrapException(H.argumentErrorValue(other)); - if (receiver > 0) - t1 = this._shrBothPositive$1(receiver, other); - else { - t1 = other > 31 ? 31 : other; - t1 = receiver >> t1 >>> 0; - } - return t1; + XmlEventParser_attribute_closure: function XmlEventParser_attribute_closure(t0) { + this.$this = t0; }, - _shrOtherPositive$1: function(receiver, other) { - var t1; - if (receiver > 0) - t1 = this._shrBothPositive$1(receiver, other); - else { - t1 = other > 31 ? 31 : other; - t1 = receiver >> t1 >>> 0; - } - return t1; + XmlEventParser_attributeAssignment_closure: function XmlEventParser_attributeAssignment_closure() { }, - _shrReceiverPositive$1: function(receiver, other) { - if (other < 0) - throw H.wrapException(H.argumentErrorValue(other)); - return this._shrBothPositive$1(receiver, other); + XmlEventParser_attributeValueDoubleQuote_closure: function XmlEventParser_attributeValueDoubleQuote_closure() { }, - _shrBothPositive$1: function(receiver, other) { - return other > 31 ? 0 : receiver >>> other; + XmlEventParser_attributeValueSingleQuote_closure: function XmlEventParser_attributeValueSingleQuote_closure() { }, - get$runtimeType: function(receiver) { - return C.Type_num_cv7; + XmlEventParser_attributeValueNoQuote_closure: function XmlEventParser_attributeValueNoQuote_closure() { }, - $isComparable: 1, - $isdouble: 1, - $isnum: 1 - }; - J.JSInt.prototype = { - get$bitLength: function(receiver) { - var wordBits, i, - t1 = receiver < 0 ? -receiver - 1 : receiver, - nonneg = t1; - for (wordBits = 32; nonneg >= 4294967296;) { - nonneg = this._tdivFast$1(nonneg, 4294967296); - wordBits += 32; - } - i = nonneg | nonneg >> 1; - i |= i >> 2; - i |= i >> 4; - i |= i >> 8; - i = (i | i >> 16) >>> 0; - i = (i >>> 0) - (i >>> 1 & 1431655765); - i = (i & 858993459) + (i >>> 2 & 858993459); - i = i + (i >>> 4) & 252645135; - i += i >>> 8; - return wordBits - (32 - (i + (i >>> 16) & 63)); + XmlEventParser_endElement_closure: function XmlEventParser_endElement_closure() { }, - get$runtimeType: function(receiver) { - return C.Type_int_tHn; + XmlEventParser_comment_closure: function XmlEventParser_comment_closure() { }, - $isint: 1 - }; - J.JSNumNotInt.prototype = { - get$runtimeType: function(receiver) { - return C.Type_double_K1J; - } - }; - J.JSString.prototype = { - codeUnitAt$1: function(receiver, index) { - if (!H._isInt(index)) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index >= receiver.length) - H.throwExpression(H.diagnoseIndexError(receiver, index)); - return receiver.charCodeAt(index); + XmlEventParser_cdata_closure: function XmlEventParser_cdata_closure() { }, - _codeUnitAt$1: function(receiver, index) { - if (index >= receiver.length) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - return receiver.charCodeAt(index); + XmlEventParser_declaration_closure: function XmlEventParser_declaration_closure() { }, - allMatches$2: function(receiver, string, start) { - var t1 = string.length; - if (start > t1) - throw H.wrapException(P.RangeError$range(start, 0, t1, null, null)); - return new H._StringAllMatchesIterable(string, receiver, start); + XmlEventParser_processing_closure: function XmlEventParser_processing_closure() { }, - allMatches$1: function($receiver, string) { - return this.allMatches$2($receiver, string, 0); + XmlEventParser_processing_closure0: function XmlEventParser_processing_closure0() { }, - matchAsPrefix$2: function(receiver, string, start) { - var t1, i, _null = null; - if (start < 0 || start > string.length) - throw H.wrapException(P.RangeError$range(start, 0, string.length, _null, _null)); - t1 = receiver.length; - if (start + t1 > string.length) - return _null; - for (i = 0; i < t1; ++i) - if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) - return _null; - return new H.StringMatch(start, receiver); + XmlEventParser_doctype_closure: function XmlEventParser_doctype_closure() { }, - $add: function(receiver, other) { - if (typeof other != "string") - throw H.wrapException(P.ArgumentError$value(other, null, null)); - return receiver + other; + XmlEventParser_doctypeExternalIdSystem_closure: function XmlEventParser_doctypeExternalIdSystem_closure() { }, - endsWith$1: function(receiver, other) { - var otherLength = other.length, - t1 = receiver.length; - if (otherLength > t1) - return false; - return other === this.substring$1(receiver, t1 - otherLength); + XmlEventParser_doctypeExternalIdPublic_closure: function XmlEventParser_doctypeExternalIdPublic_closure() { }, - replaceAll$2: function(receiver, from, to) { - return H.stringReplaceAllUnchecked(receiver, from, to); + XmlEventParser_doctypeIntSubset_closure: function XmlEventParser_doctypeIntSubset_closure() { }, - splitMapJoin$2$onMatch: function(receiver, from, onMatch) { - return H.stringReplaceAllFuncUnchecked(receiver, from, type$.nullable_String_Function_Match._as(onMatch), null); + eventParserCache_closure: function eventParserCache_closure() { }, - replaceFirst$2: function(receiver, from, to) { - P.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); - return H.stringReplaceFirstUnchecked(receiver, from, to, 0); + ConversionSink: function ConversionSink(t0, t1) { + this.callback = t0; + this.$ti = t1; }, - replaceRange$3: function(receiver, start, end, replacement) { - var e = P.RangeError_checkValidRange(start, end, receiver.length); - if (!H._isInt(e)) - H.throwExpression(H.argumentErrorValue(e)); - return H.stringReplaceRangeUnchecked(receiver, start, e, replacement); + XmlEventAttribute: function XmlEventAttribute(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.value = t1; + _.attributeType = t2; + _.XmlHasParent__parent0 = t3; }, - startsWith$2: function(receiver, pattern, index) { - var endIndex; - if (index < 0 || index > receiver.length) - throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null, null)); - endIndex = index + pattern.length; - if (endIndex > receiver.length) - return false; - return pattern === receiver.substring(index, endIndex); + _XmlEventAttribute_Object_XmlNamed: function _XmlEventAttribute_Object_XmlNamed() { }, - startsWith$1: function($receiver, pattern) { - return this.startsWith$2($receiver, pattern, 0); + _XmlEventAttribute_Object_XmlNamed_XmlHasParent: function _XmlEventAttribute_Object_XmlNamed_XmlHasParent() { }, - substring$2: function(receiver, startIndex, endIndex) { - var _null = null; - if (!H._isInt(startIndex)) - H.throwExpression(H.argumentErrorValue(startIndex)); - if (endIndex == null) - endIndex = receiver.length; - if (typeof startIndex !== "number") - return startIndex.$lt(); - if (startIndex < 0) - throw H.wrapException(P.RangeError$value(startIndex, _null, _null)); - if (startIndex > endIndex) - throw H.wrapException(P.RangeError$value(startIndex, _null, _null)); - if (endIndex > receiver.length) - throw H.wrapException(P.RangeError$value(endIndex, _null, _null)); - return receiver.substring(startIndex, endIndex); + XmlNamed: function XmlNamed() { }, - substring$1: function($receiver, startIndex) { - return this.substring$2($receiver, startIndex, null); + XmlEventVisitor: function XmlEventVisitor() { }, - toLowerCase$0: function(receiver) { - return receiver.toLowerCase(); + transform_of_helix2(props, helix_idx, $P) { + var t1 = props.get$helices()._map$_map.$index(0, helix_idx); + t1.toString; + t1 = props.get$groups()._map$_map.$index(0, t1.group); + t1.toString; + return t1.transform_str$1(props.get$geometry(props)); }, - trim$0: function(receiver) { - var startIndex, t1, endIndex0, - result = receiver.trim(), - endIndex = result.length; - if (endIndex === 0) - return result; - if (this._codeUnitAt$1(result, 0) === 133) { - startIndex = J.JSString__skipLeadingWhitespace(result, 1); - if (startIndex === endIndex) - return ""; - } else - startIndex = 0; - t1 = endIndex - 1; - endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; - if (startIndex === 0 && endIndex0 === endIndex) - return result; - return result.substring(startIndex, endIndex0); + isBrowserObject(o) { + return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData._is(o) || type$.Node._is(o) || type$.Window._is(o) || type$.WorkerGlobalScope._is(o); }, - trimRight$0: function(receiver) { - var result, endIndex, t1; - if (typeof receiver.trimRight != "undefined") { - result = receiver.trimRight(); - endIndex = result.length; - if (endIndex === 0) - return result; - t1 = endIndex - 1; - if (this.codeUnitAt$1(result, t1) === 133) - endIndex = J.JSString__skipTrailingWhitespace(result, t1); - } else { - endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length); - result = receiver; + printString(string) { + if (typeof dartPrint == "function") { + dartPrint(string); + return; } - if (endIndex === result.length) - return result; - if (endIndex === 0) - return ""; - return result.substring(0, endIndex); - }, - $mul: function(receiver, times) { - var s, result; - if (0 >= times) - return ""; - if (times === 1 || receiver.length === 0) - return receiver; - if (times !== times >>> 0) - throw H.wrapException(C.C_OutOfMemoryError); - for (s = receiver, result = ""; true;) { - if ((times & 1) === 1) - result = s + result; - times = times >>> 1; - if (times === 0) - break; - s += s; + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; } - return result; - }, - padLeft$2: function(receiver, width, padding) { - var delta = width - receiver.length; - if (delta <= 0) - return receiver; - return this.$mul(padding, delta) + receiver; - }, - padRight$1: function(receiver, width) { - var delta = width - receiver.length; - if (delta <= 0) - return receiver; - return receiver + this.$mul(" ", delta); - }, - indexOf$2: function(receiver, pattern, start) { - var t1; - if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); - t1 = receiver.indexOf(pattern, start); - return t1; - }, - indexOf$1: function($receiver, pattern) { - return this.indexOf$2($receiver, pattern, 0); - }, - lastIndexOf$2: function(receiver, pattern, start) { - var t1, t2; - if (start == null) - start = receiver.length; - else if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); - t1 = pattern.length; - t2 = receiver.length; - if (start + t1 > t2) - start = t2 - t1; - return receiver.lastIndexOf(pattern, start); - }, - lastIndexOf$1: function($receiver, pattern) { - return this.lastIndexOf$2($receiver, pattern, null); - }, - contains$2: function(receiver, other, startIndex) { - var t1 = receiver.length; - if (startIndex > t1) - throw H.wrapException(P.RangeError$range(startIndex, 0, t1, null, null)); - return H.stringContainsUnchecked(receiver, other, startIndex); + if (typeof window == "object") + return; + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); }, - contains$1: function($receiver, other) { - return this.contains$2($receiver, other, 0); + CRC32(crc, b) { + return (B.List_B8J[(crc ^ b) & 255] ^ crc >>> 8) >>> 0; }, - compareTo$1: function(receiver, other) { - var t1; - H._asStringS(other); - if (typeof other != "string") - throw H.wrapException(H.argumentErrorValue(other)); - if (receiver === other) - t1 = 0; - else - t1 = receiver < other ? -1 : 1; - return t1; + getCrc32(array, crc) { + var ip, ip0, t2, + t1 = J.getInterceptor$asx(array), + len = t1.get$length(array); + crc ^= 4294967295; + ip = 0; + while (true) { + if (typeof len !== "number") + return len.$ge(); + if (!(len >= 8)) + break; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + len -= 8; + } + if (len > 0) + do { + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return A.iae(t2); + crc = B.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + if (--len, len > 0) { + ip = ip0; + continue; + } else + break; + } while (true); + return (crc ^ 4294967295) >>> 0; }, - toString$0: function(receiver) { - return receiver; + evaluateIterable(iterable, $E) { + return !type$.List_dynamic._is(iterable) && !type$.BuiltIterable_dynamic._is(iterable) && true ? J.toList$0$ax(iterable) : iterable; }, - get$hashCode: function(receiver) { - var t1, hash, i; - for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { - hash = hash + receiver.charCodeAt(i) & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - hash ^= hash >> 6; + groupBy(values, key, $S, $T) { + var t1, _i, element, t2, t3, + map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>")); + for (t1 = $S._eval$1("JSArray<0>"), _i = 0; _i < 1; ++_i) { + element = values[_i]; + t2 = key.call$1(element); + t3 = map.$index(0, t2); + if (t3 == null) { + t3 = A._setArrayType([], t1); + map.$indexSet(0, t2, t3); + t2 = t3; + } else + t2 = t3; + J.add$1$ax(t2, element); } - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >> 11; - return hash + ((hash & 16383) << 15) & 536870911; - }, - get$runtimeType: function(receiver) { - return C.Type_String_k8F; + return map; }, - get$length: function(receiver) { - return receiver.length; + IterableIntegerExtension_get_minOrNull(_this) { + var value, newValue, + iterator = J.get$iterator$ax(_this); + if (iterator.moveNext$0()) { + value = iterator.get$current(iterator); + for (; iterator.moveNext$0();) { + newValue = iterator.get$current(iterator); + if (typeof newValue !== "number") + return newValue.$lt(); + if (typeof value !== "number") + return A.iae(value); + if (newValue < value) + value = newValue; + } + return value; + } + return null; }, - $index: function(receiver, index) { - H._asIntS(index); - if (!H._isInt(index)) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index >= receiver.length || index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - return receiver[index]; + IterableIntegerExtension_get_min(_this) { + var t1 = A.IterableIntegerExtension_get_minOrNull(_this); + return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1; }, - $isJSIndexable: 1, - $isComparable: 1, - $isPattern: 1, - $isString: 1 - }; - H.CastStream.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - var t2, - t1 = this.$ti; - t1._eval$1("~(2)?")._as(onData); - t2 = this._source.listen$3$cancelOnError$onDone(null, cancelOnError, type$.nullable_void_Function._as(onDone)); - t1 = new H.CastStreamSubscription(t2, $.Zone__current, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastStreamSubscription<1,2>")); - t2.onData$1(t1.get$__internal$_onData()); - t1.onData$1(onData); - t1.onError$1(0, onError); - return t1; + IterableIntegerExtension_get_maxOrNull(_this) { + var value, newValue, + iterator = J.get$iterator$ax(_this); + if (iterator.moveNext$0()) { + value = iterator.get$current(iterator); + for (; iterator.moveNext$0();) { + newValue = iterator.get$current(iterator); + if (typeof newValue !== "number") + return newValue.$gt(); + if (typeof value !== "number") + return A.iae(value); + if (newValue > value) + value = newValue; + } + return value; + } + return null; }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + IterableIntegerExtension_get_max(_this) { + var t1 = A.IterableIntegerExtension_get_maxOrNull(_this); + return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1; }, - listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + decodeDigit(c) { + var letter, + digit = c ^ 48; + if (digit < 10) + return digit; + letter = (c | 32) - 97; + if (letter >= 0) + return letter + 10; + else + return 255; }, - cast$1$0: function(_, $R) { - return new H.CastStream(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastStream<1,2>")); - } - }; - H.CastStreamSubscription.prototype = { - cancel$0: function(_) { - return this._source.cancel$0(0); + encodingForCharset(charset) { + var t1; + if (charset == null) + return B.C_Latin1Codec; + t1 = A.Encoding_getByName(charset); + return t1 == null ? B.C_Latin1Codec : t1; }, - onData$1: function(handleData) { - var t1 = this.$ti; - t1._eval$1("~(2)?")._as(handleData); - this.set$__internal$_handleData(handleData == null ? null : type$.$env_1_1_dynamic._bind$1(t1._rest[1])._eval$1("1(2)")._as(handleData)); + toUint8List(input) { + if (type$.Uint8List._is(input)) + return input; + if (type$.TypedData._is(input)) + return J.asUint8List$2$x(J.get$buffer$x(input), 0, null); + return new Uint8Array(A._ensureNativeList(input)); }, - onError$1: function(_, handleError) { - var _this = this; - _this._source.onError$1(0, handleError); - if (handleError == null) - _this.__internal$_handleError = null; - else if (type$.void_Function_Object_StackTrace._is(handleError)) - _this.__internal$_handleError = _this.__internal$_zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); - else if (type$.void_Function_Object._is(handleError)) - _this.__internal$_handleError = type$.dynamic_Function_Object._as(handleError); - else - throw H.wrapException(P.ArgumentError$(string$.handle)); + toByteStream(stream) { + return stream; }, - __internal$_onData$1: function(data) { - var targetData, error, stack, handleError, t2, exception, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(data); - t2 = _this.__internal$_handleData; - if (t2 == null) - return; - targetData = null; + wrapFormatException($name, value, body, $T) { + var error, error0, t1, exception; try { - targetData = t1._rest[1]._as(data); + t1 = body.call$0(); + return t1; } catch (exception) { - error = H.unwrapException(exception); - stack = H.getTraceFromException(exception); - handleError = _this.__internal$_handleError; - if (handleError == null) - P._rootHandleUncaughtError(null, null, _this.__internal$_zone, error, type$.StackTrace._as(stack)); - else { - t1 = type$.Object; - t2 = _this.__internal$_zone; - if (type$.void_Function_Object_StackTrace._is(handleError)) - t2.runBinaryGuarded$2$3(handleError, error, stack, t1, type$.StackTrace); - else - t2.runUnaryGuarded$1$2(type$.void_Function_Object._as(handleError), error, t1); - } - return; + t1 = A.unwrapException(exception); + if (t1 instanceof A.SourceSpanFormatException) { + error = t1; + throw A.wrapException(A.SourceSpanFormatException$("Invalid " + $name + ": " + error._span_exception$_message, error._span, J.get$source$z(error))); + } else if (type$.FormatException._is(t1)) { + error0 = t1; + throw A.wrapException(A.FormatException$("Invalid " + $name + ' "' + value + '": ' + A.S(J.get$message$x(error0)), J.get$source$z(error0), J.get$offset$x(error0))); + } else + throw exception; } - _this.__internal$_zone.runUnaryGuarded$1$2(t2, targetData, t1._rest[1]); - }, - pause$1: function(_, resumeSignal) { - this._source.pause$1(0, resumeSignal); - }, - pause$0: function($receiver) { - return this.pause$1($receiver, null); - }, - resume$0: function(_) { - this._source.resume$0(0); - }, - set$__internal$_handleData: function(_handleData) { - this.__internal$_handleData = this.$ti._eval$1("~(2)?")._as(_handleData); - }, - $isStreamSubscription: 1 - }; - H._CastIterableBase.prototype = { - get$iterator: function(_) { - var t1 = H._instanceType(this); - return new H.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>")); }, - get$length: function(_) { - return J.get$length$asx(this.get$_source()); - }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this.get$_source()); - }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this.get$_source()); + castUiFactory(value, $T) { + return $T._eval$1("0([Map<@,@>?])")._as(value); }, - skip$1: function(_, count) { - var t1 = H._instanceType(this); - return H.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); + propsOrStateMapsEqual(a, b) { + var t1, t2, key, bVal, aVal; + if (a == b) + return true; + if (J.get$length$asx(a.get$_component_base$_map()) != J.get$length$asx(b.get$_component_base$_map())) + return false; + for (t1 = J.get$iterator$ax(J.get$keys$x(a.get$_component_base$_map())), t2 = type$.Function; t1.moveNext$0();) { + key = t1.get$current(t1); + if (!J.containsKey$1$x(b.get$_component_base$_map(), key)) + return false; + bVal = J.$index$asx(b.get$_component_base$_map(), key); + aVal = J.$index$asx(a.get$_component_base$_map(), key); + if (bVal == null ? aVal != null : bVal !== aVal) + if (!(t2._is(bVal) && t2._is(aVal) && J.$eq$(bVal, aVal))) + return false; + } + return true; }, - take$1: function(_, count) { - var t1 = H._instanceType(this); - return H.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); + forwardUnconsumedProps(props, keySetsToOmit, propsToUpdate) { + var t1, t2, t3, t4, key, t5, shouldContinue; + for (t1 = J.get$iterator$ax(J.get$keys$x(props.get$_component_base$_map())), t2 = A._instanceType(propsToUpdate), t3 = t2._eval$1("MapViewMixin.K"), t2 = t2._eval$1("MapViewMixin.V"), t4 = J.getInterceptor$asx(keySetsToOmit); t1.moveNext$0();) { + key = t1.get$current(t1); + if (t4.get$isNotEmpty(keySetsToOmit)) { + if (J.contains$1$asx(t4.get$first(keySetsToOmit), key)) + continue; + t5 = t4.get$length(keySetsToOmit); + if (typeof t5 !== "number") + return t5.$gt(); + if (t5 > 1) { + t5 = t4.get$iterator(keySetsToOmit); + while (true) { + if (!t5.moveNext$0()) { + shouldContinue = false; + break; + } + if (J.contains$1$asx(t5.get$current(t5), key)) { + shouldContinue = true; + break; + } + } + if (shouldContinue) + continue; + } + } + t5 = B.JSArray_methods.contains$1(B.List_key_ref_children, key); + if (t5) + continue; + t5 = J.$index$asx(props.get$_component_base$_map(), key); + t3._as(key); + t2._as(t5); + J.$indexSet$ax(propsToUpdate.get$_component_base$_map(), key, t5); + } }, - elementAt$1: function(_, index) { - return H._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); + getBackingMap(map) { + return map; }, - get$first: function(_) { - return H._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source())); + unindent(multilineString) { + var t2, + t1 = A.RegExp_RegExp("^( *)", true).firstMatch$1(multilineString)._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t1 = t1[1]; + t1.toString; + t2 = B.JSString_methods.trim$0(multilineString); + return A.stringReplaceAllUnchecked(t2, "\n" + t1, "\n"); }, - get$last: function(_) { - return H._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source())); + current() { + var exception, t1, path, lastIndex, uri = null; + try { + uri = A.Uri_base(); + } catch (exception) { + if (type$.Exception._is(A.unwrapException(exception))) { + t1 = $._current; + if (t1 != null) + return t1; + throw exception; + } else + throw exception; + } + if (J.$eq$(uri, $._currentUriBase)) { + t1 = $._current; + t1.toString; + return t1; + } + $._currentUriBase = uri; + if ($.$get$Style_platform() == $.$get$Style_url()) + t1 = $._current = uri.resolve$1(".").toString$0(0); + else { + path = uri.toFilePath$0(); + lastIndex = path.length - 1; + t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex); + } + return t1; }, - get$single: function(_) { - return H._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source())); + isAlphabetic(char) { + var t1; + if (!(char >= 65 && char <= 90)) + t1 = char >= 97 && char <= 122; + else + t1 = true; + return t1; }, - contains$1: function(_, other) { - return J.contains$1$asx(this.get$_source(), other); + isDriveLetter(path, index) { + var t1 = path.length, + t2 = index + 2; + if (t1 < t2) + return false; + if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index))) + return false; + if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) + return false; + if (t1 === t2) + return true; + return B.JSString_methods.codeUnitAt$1(path, t2) === 47; }, - toString$0: function(_) { - return J.toString$0$(this.get$_source()); - } - }; - H.CastIterator.prototype = { - moveNext$0: function() { - return this._source.moveNext$0(); + resolve(parser, $R) { + var todo, seen, t3, $parent, t4, _i, child, referenced, + t1 = type$.ResolvableParser_dynamic, + t2 = type$.Parser_dynamic, + mapping = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + parser = A._dereference(parser, mapping, $R); + todo = A._setArrayType([parser], type$.JSArray_Parser_dynamic); + seen = A.LinkedHashSet_LinkedHashSet$_literal([parser], t2); + for (t2 = type$.dynamic; t3 = todo.length, t3 !== 0;) { + if (0 >= t3) + return A.ioore(todo, -1); + $parent = todo.pop(); + for (t3 = $parent.get$children($parent), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { + child = t3[_i]; + if (t1._is(child)) { + referenced = A._dereference(child, mapping, t2); + $parent.replace$2(0, child, referenced); + child = referenced; + } + if (seen.add$1(0, child)) + B.JSArray_methods.add$1(todo, child); + } + } + return parser; }, - get$current: function(_) { - var t1 = this._source; - return this.$ti._rest[1]._as(t1.get$current(t1)); + _dereference(parser, mapping, $R) { + var t2, t3, + t1 = $R._eval$1("ResolvableParser<0>"), + references = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (; t1._is(parser);) { + if (mapping.containsKey$1(0, parser)) { + t1 = mapping.$index(0, parser); + t1.toString; + return $R._eval$1("Parser<0>")._as(t1); + } else if (!references.add$1(0, parser)) + throw A.wrapException(A.StateError$("Recursive references detected: " + references.toString$0(0))); + t2 = parser.$function; + t3 = parser.$arguments; + parser = parser.$ti._eval$1("Parser<1>")._as(A.Primitives_applyFunction(t2, t3, null)); + } + for (t1 = A._LinkedHashSetIterator$(references, references._collection$_modifications, references.$ti._precomputed1); t1.moveNext$0();) + mapping.$indexSet(0, t1._collection$_current, parser); + return parser; }, - $isIterator: 1 - }; - H.CastIterable.prototype = { - cast$1$0: function(_, $R) { - return H.CastIterable_CastIterable(this._source, H._instanceType(this)._precomputed1, $R); + _toFormattedChar(code) { + A._asIntS(code); + switch (code) { + case 8: + return "\\b"; + case 9: + return "\\t"; + case 10: + return "\\n"; + case 11: + return "\\v"; + case 12: + return "\\f"; + case 13: + return "\\r"; + case 34: + return '\\"'; + case 39: + return "\\'"; + case 92: + return "\\\\"; + } + if (typeof code !== "number") + return code.$lt(); + if (code < 32) + return "\\x" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(code, 16), 2, "0"); + return A.Primitives_stringFromCharCode(code); }, - get$_source: function() { - return this._source; - } - }; - H._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; - H._CastListBase.prototype = { - $index: function(_, index) { - return this.$ti._rest[1]._as(J.$index$asx(this._source, H._asIntS(index))); + selectFirst(first, second, $R) { + var t1 = $R._eval$1("Failure<0>"); + t1._as(first); + t1._as(second); + return first; }, - $indexSet: function(_, index, value) { - var t1 = this.$ti; - J.$indexSet$ax(this._source, H._asIntS(index), t1._precomputed1._as(t1._rest[1]._as(value))); + selectLast(first, second, $R) { + var t1 = $R._eval$1("Failure<0>"); + t1._as(first); + return t1._as(second); }, - set$length: function(_, $length) { - J.set$length$asx(this._source, $length); + selectFarthest(first, second, $R) { + var t1 = $R._eval$1("Failure<0>"); + t1._as(first); + t1._as(second); + return first.position <= second.position ? second : first; }, - add$1: function(_, value) { - var t1 = this.$ti; - J.add$1$ax(this._source, t1._precomputed1._as(t1._rest[1]._as(value))); - }, - addAll$1: function(_, values) { - var t1 = this.$ti; - J.addAll$1$ax(this._source, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(values), t1._rest[1], t1._precomputed1)); + registerComponent20(componentFactory, bridgeFactory, skipMethods) { + var errorPrinted, componentInstance, componentStatics, filteredSkipMethods, defaultProps, e, stack, e0, stack0, jsConfig2, displayName, reactComponentClass, e1, stack1, t1, finalList, shouldWarn, exception, t2, reactComponentClass0, + _s21_ = "shouldComponentUpdate", + _s18_ = "componentDidUpdate"; + type$.Component2_Function._as(componentFactory); + type$.Iterable_String._as(skipMethods); + type$.nullable_Component2Bridge_Function_Component2._as(bridgeFactory); + errorPrinted = false; + try { + t1 = bridgeFactory == null ? A.bridge_Component2BridgeImpl_bridgeFactory$closure() : bridgeFactory; + componentInstance = componentFactory.call$0(); + componentStatics = new A.ComponentStatics2(componentFactory, componentInstance, t1); + finalList = A.List_List$of(skipMethods, true, type$.String); + if (B.JSArray_methods.contains$1(finalList, _s21_)) { + B.JSArray_methods.remove$1(finalList, _s21_); + shouldWarn = true; + } else + shouldWarn = false; + if (B.JSArray_methods.contains$1(finalList, _s18_)) { + B.JSArray_methods.remove$1(finalList, _s18_); + shouldWarn = true; + } + if (B.JSArray_methods.contains$1(finalList, "render")) { + B.JSArray_methods.remove$1(finalList, "render"); + shouldWarn = true; + } + if (shouldWarn) { + window; + if (typeof console != "undefined") + window.console.warn("WARNING: Crucial lifecycle methods passed into skipMethods. shouldComponentUpdate, componentDidUpdate, and render cannot be skipped and will still be added to the new component. Please remove them from skipMethods."); + } + filteredSkipMethods = finalList; + defaultProps = null; + try { + defaultProps = A.JsBackedMap_JsBackedMap$from(J.get$defaultProps$x(componentInstance)); + } catch (exception) { + e = A.unwrapException(exception); + stack = A.getTraceFromException(exception); + A.print("Error when registering Component2 when getting defaultProps: " + A.S(e) + "\n" + A.S(stack)); + errorPrinted = true; + throw exception; + } + try { + } catch (exception) { + e0 = A.unwrapException(exception); + stack0 = A.getTraceFromException(exception); + A.print("Error when registering Component2 when getting propTypes: " + A.S(e0) + "\n" + A.S(stack0)); + errorPrinted = true; + throw exception; + } + t1 = defaultProps.jsObject; + componentInstance.get$contextType(); + t2 = {}; + t2 = t2; + jsConfig2 = {skipMethods: filteredSkipMethods, contextType: null, defaultProps: t1, propTypes: t2}; + displayName = J.get$displayName$x(componentInstance); + reactComponentClass0 = self._createReactDartComponentClass2($.$get$ReactDartInteropStatics2_staticsForJs(), componentStatics, jsConfig2); + J.set$displayName$x(reactComponentClass0, displayName); + reactComponentClass = reactComponentClass0; + self.Object.defineProperty(reactComponentClass, "name", {value: displayName}); + J.set$dartComponentVersion$x(reactComponentClass, "2"); + t2 = A.ReactDartComponentFactoryProxy2$(reactComponentClass, type$.Component2); + return t2; + } catch (exception) { + e1 = A.unwrapException(exception); + stack1 = A.getTraceFromException(exception); + if (!A.boolConversionCheck(errorPrinted)) + A.print("Error when registering Component2: " + A.S(e1) + "\n" + A.S(stack1)); + throw exception; + } }, - sort$1: function(_, compare) { + adjust_grid_position_middleware(store, action, next) { var t1; - this.$ti._eval$1("int(2,2)?")._as(compare); - t1 = compare == null ? null : new H._CastListBase_sort_closure(this, compare); - J.sort$1$ax(this._source, t1); + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.HelixGridPositionSet) { + t1 = store.get$state(store).get$design().helices; + if (!A.is_grid_position_occupied(t1.get$values(t1), action.grid_position)) + next.call$1(action); + } else + next.call$1(action); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + is_grid_position_occupied(helices, grid_position) { + var t1; + for (t1 = A._instanceType(helices), t1 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); t1.moveNext$0();) + if (J.$eq$(t1.__internal$_current.grid_position, grid_position)) + return true; + return false; }, - insert$2: function(_, index, element) { - var t1 = this.$ti; - J.insert$2$ax(this._source, index, t1._precomputed1._as(t1._rest[1]._as(element))); + assign_dna_middleware(store, action, next) { + var e, t1, exception; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.AssignDNA) { + t1 = action.dna_assign_options; + t1 = t1.assign_complements && t1.disable_change_sequence_bound_strand; + } else + t1 = false; + if (t1) + try { + A.assign_dna_reducer(store.get$state(store).get$design().strands, store.get$state(store), action); + } catch (exception) { + t1 = A.unwrapException(exception); + if (t1 instanceof A.ArgumentError) { + e = t1; + B.Window_methods.alert$1(window, A._asStringQ(e.message)); + return; + } else + throw exception; + } + next.call$1(action); }, - insertAll$2: function(_, index, elements) { - var t1 = this.$ti; - J.insertAll$2$ax(this._source, index, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + autostaple_and_autobreak_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.Autostaple) + A._autostaple(store); + else if (action instanceof A.Autobreak) + A._autobreak(store, action); + else + next.call$1(action); }, - setAll$2: function(_, index, elements) { - var t1 = this.$ti; - J.setAll$2$ax(this._source, index, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + _autostaple(store) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + t1, $async$temp1, $async$temp2; + var $async$_autostaple = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = type$.String; + $async$temp1 = A; + $async$temp2 = store; + $async$goto = 2; + return A._asyncAwait(A.post(A.Uri_parse("https://scadnano-backend.onrender.com/autostaple"), A.json_encode(store.get$state(store).get$design(), true), A.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autostaple); + case 2: + // returning from await. + $async$temp1._handle_response($async$temp2, $async$result, "autostaple"); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$_autostaple, $async$completer); }, - remove$1: function(_, value) { - return J.remove$1$ax(this._source, value); + _autobreak(store, action) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + t1, body, $async$temp1, $async$temp2; + var $async$_autobreak = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = type$.String; + body = B.C_JsonCodec.encode$2$toEncodable(A.LinkedHashMap_LinkedHashMap$_literal(["settings", A.LinkedHashMap_LinkedHashMap$_literal(["minStapleLegLen", action.min_distance_to_xover, "minStapleLen", action.min_length, "maxStapleLen", action.max_length, "tgtStapleLen", action.target_length], t1, type$.int), "design", store.get$state(store).get$design().to_json_serializable$0()], t1, type$.Map_String_dynamic), null); + $async$temp1 = A; + $async$temp2 = store; + $async$goto = 2; + return A._asyncAwait(A.post(A.Uri_parse("https://scadnano-backend.onrender.com/autobreak"), body, A.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autobreak); + case 2: + // returning from await. + $async$temp1._handle_response($async$temp2, $async$result, "autobreak"); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$_autobreak, $async$completer); }, - removeAt$1: function(_, index) { - return this.$ti._rest[1]._as(J.removeAt$1$ax(this._source, index)); + _handle_response(store, response, short_description) { + var design_new, response_body_json, + t1 = response.statusCode, + t2 = response.headers, + t3 = response.bodyBytes; + if (t1 === 200) { + design_new = A.Design_from_json_str(A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), store.get$state(store).ui_state.storables.invert_y); + if (design_new != null) + store.dispatch$1(A.NewDesignSet_NewDesignSet(design_new, short_description)); + else + B.Window_methods.alert$1(window, "Error: Received null design from server"); + } else { + response_body_json = type$.Map_dynamic_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), null)); + B.Window_methods.alert$1(window, "Error: " + A.S(J.$index$asx(response_body_json, "error"))); + } }, - removeLast$0: function(_) { - return this.$ti._rest[1]._as(J.removeLast$0$ax(this._source)); + dna_extensions_move_start_middleware(store, action, next) { + var t1, selected_ends, moves, design, t2, t3, t4, t5, t6, t7, t8, t9, end_offset, extension_attached_end_svg, translate_svg, t10, t11, extension_start_point, extension_end_point, color, move, strands_affected, _i; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.DNAExtensionsMoveStart) { + t1 = store.get$state(store).ui_state.selectables_store; + selected_ends = t1.__selected_dna_ends_on_extensions; + if (selected_ends == null) { + selected_ends = A.SelectablesStore.prototype.get$selected_dna_ends_on_extensions.call(t1); + t1.set$__selected_dna_ends_on_extensions(selected_ends); + } + moves = A._setArrayType([], type$.JSArray_DNAExtensionMove); + design = store.get$state(store).get$design(); + for (t1 = selected_ends._set, t1 = t1.get$iterator(t1), t2 = type$.Point_double; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = design.__end_to_extension; + if (t4 == null) { + t4 = A.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t4); + } + t4 = t4._map$_map.$index(0, t3); + t4.toString; + t5 = design.helices; + t6 = t4.adjacent_domain; + t7 = t6.helix; + t5 = t5._map$_map.$index(0, t7); + t5.toString; + t8 = store.get$state(store); + t9 = t8.__helix_idx_to_svg_position_map; + if (t9 == null) { + t9 = A.AppState.prototype.get$helix_idx_to_svg_position_map.call(t8); + t8.set$__helix_idx_to_svg_position_map(t9); + t8 = t9; + } else + t8 = t9; + t7 = t8._map$_map.$index(0, t7).y; + if (t4.is_5p) { + t8 = t6.__offset_5p; + if (t8 == null) { + t8 = A.Domain.prototype.get$offset_5p.call(t6); + t6.__offset_5p = t8; + end_offset = t8; + } else + end_offset = t8; + } else { + t8 = t6.__offset_3p; + if (t8 == null) { + t8 = A.Domain.prototype.get$offset_3p.call(t6); + t6.__offset_3p = t8; + end_offset = t8; + } else + end_offset = t8; + } + extension_attached_end_svg = t5.svg_base_pos$3(end_offset, t6.forward, t7); + t5 = design.groups._map$_map.$index(0, t5.group); + t5.toString; + t7 = design.geometry; + t5 = t5.position; + t8 = t7.__nm_to_svg_pixels; + if (t8 == null) + t8 = t7.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t7); + translate_svg = A.Position3D_Position3D(t5.x * t8, t5.y * t8, t5.z * t8); + t8 = translate_svg.z; + t5 = translate_svg.y; + t9 = extension_attached_end_svg.$ti; + t9._as(new A.Point(t8, t5, t2)); + t10 = extension_attached_end_svg.x; + if (typeof t10 !== "number") + return t10.$add(); + t11 = t9._precomputed1; + t8 = t11._as(t10 + t8); + t10 = extension_attached_end_svg.y; + if (typeof t10 !== "number") + return t10.$add(); + extension_start_point = new A.Point(t8, t11._as(t10 + t5), t9); + extension_end_point = A.compute_extension_free_end_svg(extension_start_point, t4, t6, t7); + t7 = design.__substrand_to_strand; + if (t7 == null) { + t5 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t5); + } else + t5 = t7; + t6 = design.__end_to_extension; + if (t6 == null) { + t6 = A.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t6); + } + t6 = t6._map$_map.$index(0, t3); + t6.toString; + t6 = t5._map$_map.$index(0, t6); + t6.toString; + color = t6.color; + move = new A._$DNAExtensionMove(t3, color, extension_end_point, extension_start_point, t4); + move._$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position(extension_start_point, color, t3, t4, extension_end_point); + B.JSArray_methods.add$1(moves, move); + } + t1 = type$.Strand; + strands_affected = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, A.throwConcurrentModificationError)(moves), ++_i) { + t3 = moves[_i].dna_end; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = A.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + t5 = design.__end_to_extension; + if (t5 == null) { + t5 = A.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t5); + } + t3 = t5._map$_map.$index(0, t3); + t3.toString; + t3 = t4._map$_map.$index(0, t3); + t3.toString; + strands_affected.add$1(0, t3); + } + next.call$1(action); + t2 = $.__app._readField$0(); + t3 = action.start_point; + t4 = A.BuiltList_BuiltList$of(moves, type$.DNAExtensionMove); + t1 = A.BuiltSet_BuiltSet$of(strands_affected, t1); + t2.dispatch$1(A._$DNAExtensionsMoveSetSelectedExtensionEnds$_(action.helix, t4, t3, t1)); + } else + next.call$1(action); }, - removeWhere$1: function(_, test) { - J.removeWhere$1$ax(this._source, new H._CastListBase_removeWhere_closure(this, this.$ti._eval$1("bool(2)")._as(test))); + edit_select_mode_change_middleware(store, action, next) { + var select_modes, edit_modes; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof A.EditModesSet || action instanceof A.EditModeToggle || action instanceof A.SelectModesSet || action instanceof A.SelectModesAdd || action instanceof A.SelectModeToggle || action instanceof A.SetAppUIStateStorable) { + select_modes = store.get$state(store).ui_state.storables.select_mode_state.modes; + edit_modes = store.get$state(store).ui_state.storables.edit_modes; + if (store.get$state(store).maybe_design != null) + A.set_selectables_css_style_rules(store.get$state(store).get$design(), edit_modes, select_modes); + } }, - getRange$2: function(_, start, end) { - var t1 = this.$ti; - return H.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]); + set_selectables_css_style_rules(design, edit_modes, select_modes) { + var all_parts_selectable, t2, t3, _i, select_mode_choice, t4, select_mode_contains_part, selectable_css_style_this_choice, all_strand_selector, staple_only_selector, scaffold_selector, stylesheet, idx, + t1 = edit_modes._set, + edit_mode_is_select_or_rope = t1.contains$1(0, B.EditModeChoice_select) || t1.contains$1(0, B.EditModeChoice_rope_select), + scaffold_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, B.SelectModeChoice_scaffold), + staple_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, B.SelectModeChoice_staple); + if (edit_mode_is_select_or_rope) + if (design.get$is_origami()) { + t1 = scaffold_parts_selectable && staple_parts_selectable; + all_parts_selectable = t1; + } else + all_parts_selectable = true; + else + all_parts_selectable = false; + for (t1 = A._setArrayType([B.SelectModeChoice_strand], type$.JSArray_SelectModeChoice), t2 = $.$get$SelectModeChoice_strand_parts(), t2 = B.JSArray_methods.$add(t1, new A.CopyOnWriteList(true, t2._list, A._instanceType(t2)._eval$1("CopyOnWriteList<1>"))), t1 = t2.length, t3 = type$.Map_String_String, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) { + select_mode_choice = t2[_i]; + t4 = design.__is_origami; + if (t4 == null) + t4 = design.__is_origami = A.Design.prototype.get$is_origami.call(design); + select_mode_contains_part = select_modes._set.contains$1(0, select_mode_choice); + if (B.JSArray_methods.contains$1($.$get$SelectModeChoice_ends()._list, select_mode_choice)) + selectable_css_style_this_choice = B.Map_CNaF8; + else + selectable_css_style_this_choice = B.SelectModeChoice_domain === select_mode_choice ? B.Map_GN46y : B.Map_OgmUV; + all_strand_selector = "." + select_mode_choice.css_selector$0() + ":hover"; + staple_only_selector = ":not(." + B.SelectModeChoice_scaffold.css_selector$0() + ")." + select_mode_choice.css_selector$0() + ":hover"; + scaffold_selector = "." + B.SelectModeChoice_scaffold.css_selector$0() + "." + select_mode_choice.css_selector$0() + ":hover"; + if (!edit_mode_is_select_or_rope || !select_mode_contains_part) { + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } else if (!t4 || all_parts_selectable) { + A.css_class_set_style(all_strand_selector, t3._as(selectable_css_style_this_choice)); + A.css_class_set_style(staple_only_selector, selectable_css_style_this_choice); + A.css_class_set_style(scaffold_selector, selectable_css_style_this_choice); + } else if (scaffold_parts_selectable) { + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + A.css_class_set_style(scaffold_selector, t3._as(selectable_css_style_this_choice)); + } else if (staple_parts_selectable) { + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + A.css_class_set_style(staple_only_selector, t3._as(selectable_css_style_this_choice)); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } else { + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = A.get_scadnano_stylesheet(); + idx = A.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } + } }, - setRange$4: function(_, start, end, iterable, skipCount) { - var t1 = this.$ti; - J.setRange$4$ax(this._source, start, H._asIntS(end), H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(iterable), t1._rest[1], t1._precomputed1), skipCount); + css_class_set_style(selector, new_style_map) { + var rule, t1, new_index, style, t2, style_val, value, + stylesheet = A.get_scadnano_stylesheet(), + idx = A.style_rule_index_with_selector(stylesheet, selector); + if (idx == null) + rule = null; + else { + t1 = stylesheet.cssRules; + if (idx >>> 0 !== idx || idx >= t1.length) + return A.ioore(t1, idx); + rule = type$.CssStyleRule._as(t1[idx]); + } + if (rule == null) { + new_index = stylesheet.insertRule(selector + " {}"); + rule = type$.CssStyleRule._as(B._CssRuleList_methods.$index(stylesheet.cssRules, new_index)); + } + style = rule.style; + for (t1 = J.get$iterator$ax(new_style_map.get$keys(new_style_map)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + style_val = new_style_map.$index(0, t2); + style.toString; + t2 = B.CssStyleDeclaration_methods._browserPropertyName$1(style, t2); + value = style_val == null ? "" : style_val; + style.setProperty(t2, value, ""); + } }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + style_rule_index_with_selector(stylesheet, selector) { + var t1, t2, t3, i, rule; + for (t1 = stylesheet.cssRules, t2 = t1.length, t3 = type$.CssStyleRule, i = 0; i < t2; ++i) { + rule = t1[i]; + if (t3._is(rule) && rule.selectorText === selector) + return i; + } + return null; }, - removeRange$2: function(_, start, end) { - J.removeRange$2$ax(this._source, start, end); + example_design_selected_middleware(store, action, next) { + var example_designs, t1, t2, t3, t4; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof A.ExampleDesignsLoad) { + example_designs = store.get$state(store).ui_state.example_designs; + t1 = example_designs.selected_idx; + t2 = t1 >= 0; + if (t2) { + t3 = example_designs.directory; + t4 = example_designs.filenames._list; + if (!(t1 < t4.length)) + return A.ioore(t4, t1); + t4 = t4[t1]; + t4 = A.S(t4) + ".sc"; + t4 = t3 + "/" + A.S(t4); + t3 = t4; + } else + t3 = null; + t3.toString; + if (t2) { + t2 = example_designs.filenames._list; + if (!(t1 < t2.length)) + return A.ioore(t2, t1); + t1 = t2[t1]; + t1 = A.S(t1) + ".sc"; + } else + t1 = null; + t1.toString; + A._get_file_content_and_dispatch_load(store, t3, t1); + } }, - $isEfficientLengthIterable: 1, - $isList: 1 - }; - H._CastListBase_sort_closure.prototype = { - call$2: function(v1, v2) { - var t1 = this.$this.$ti, - t2 = t1._precomputed1; - t2._as(v1); - t2._as(v2); - t1 = t1._rest[1]; - return this.compare.call$2(t1._as(v1), t1._as(v2)); + _get_file_content_and_dispatch_load(store, url, filename) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$temp1, $async$temp2; + var $async$_get_file_content_and_dispatch_load = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$temp1 = store; + $async$temp2 = A; + $async$goto = 2; + return A._asyncAwait(A.get_text_file_content(url), $async$_get_file_content_and_dispatch_load); + case 2: + // returning from await. + $async$temp1.dispatch$1($async$temp2.PrepareToLoadDNAFile_PrepareToLoadDNAFile($async$result, B.DNAFileType_scadnano_file, filename, true)); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$_get_file_content_and_dispatch_load, $async$completer); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: function() { - return this.$this.$ti._eval$1("int(1,1)"); - } - }; - H._CastListBase_removeWhere_closure.prototype = { - call$1: function(element) { - var t1 = this.$this.$ti; - return this.test.call$1(t1._rest[1]._as(t1._precomputed1._as(element))); + group_remove_middleware(store, action, next) { + var t1, t2; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.GroupRemove) { + t1 = store.get$state(store).get$design().get$helix_idxs_in_group(); + t2 = action.name; + t1 = t1._map$_map.$index(0, t2); + t1.toString; + t1 = t1._list; + if (t1.length !== 0) { + t2 = A.S(t2); + if (!A.boolConversionCheck(B.Window_methods.confirm$1(window, 'Group "' + t2 + '" has helices in it. If you delete the group, the helices will be removed, including any portions of strands on them.\n\nAre you sure you wish to remove group "' + t2 + '"?'))) + return; + } + t2 = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + t2.push(A.HelixRemove_HelixRemove(t1.__interceptors$_current)); + B.JSArray_methods.add$1(t2, action); + store.dispatch$1(A.BatchAction_BatchAction(t2, "remove group")); + } else + next.call$1(action); }, - $signature: function() { - return this.$this.$ti._eval$1("bool(1)"); - } - }; - H.CastList.prototype = { - cast$1$0: function(_, $R) { - return new H.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + helix_grid_offsets_middleware(store, action, next) { + var t1, t2, geometry, t3, t4, t5, t6, t7, position_normalized_diameter_1, idxs, i1, i2, i20, h1idx, h2idx, pos1, pos2, t8, t9; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.GridChange) { + t1 = action.grid; + t1.toString; + if (t1 !== B.Grid_none) { + t1 = store.get$state(store).get$design().groups; + t2 = action.group_name; + t2 = t1._map$_map.$index(0, t2).grid === B.Grid_none; + t1 = t2; + } else + t1 = false; + } else + t1 = false; + if (t1) { + geometry = store.get$state(store).get$design().geometry; + t1 = type$.GridPosition; + t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1); + for (t3 = store.get$state(store).get$design().helices_in_group$1(action.group_name), t3 = t3.get$values(t3), t4 = A._instanceType(t3), t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")), t3 = action.grid; t4.moveNext$0();) { + t5 = t4.__internal$_current; + t6 = t5.idx; + t7 = t5.position_; + if (t7 == null) { + t7 = t5.grid_position; + t7.toString; + t5 = A.grid_position_to_position3d(t7, t5.grid, t5.geometry); + } else + t5 = t7; + t7 = geometry.__distance_between_helices_nm; + t7 = 1 / (t7 == null ? geometry.__distance_between_helices_nm = A.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t7); + position_normalized_diameter_1 = A.Position3D_Position3D(t5.x * t7, t5.y * t7, t5.z * t7); + t2.$indexSet(0, t6, A.position_2d_to_grid_position_diameter_1_circles(t3, position_normalized_diameter_1.z, position_normalized_diameter_1.y, B.HexGridCoordinateSystem_2)); + } + if (A.LinkedHashSet_LinkedHashSet$from(t2.get$values(t2), t1)._collection$_length !== t2._length) { + t1 = t2.$ti._eval$1("LinkedHashMapKeyIterable<1>"); + idxs = A.List_List$of(new A.LinkedHashMapKeyIterable(t2, t1), true, t1._eval$1("Iterable.E")); + for (i1 = 0; t1 = idxs.length, i1 < t1; i1 = i2) + for (i2 = i1 + 1, i20 = i2; i20 < t1; ++i20) { + h1idx = idxs[i1]; + h2idx = idxs[i20]; + t4 = t2.$index(0, h1idx); + t4.toString; + t5 = t2.$index(0, h2idx); + t5.toString; + if (t4.$eq(0, t5)) { + t1 = store.get$state(store).get$design().helices._map$_map; + t2 = t1.$index(0, h1idx); + pos1 = t2.__position3d; + if (pos1 == null) + pos1 = t2.__position3d = A.Helix.prototype.get$position3d.call(t2); + t1 = t1.$index(0, h2idx); + pos2 = t1.__position3d; + if (pos2 == null) + pos2 = t1.__position3d = A.Helix.prototype.get$position3d.call(t1); + t1 = t3.name; + t2 = pos1.x; + t5 = pos1.y; + t6 = pos1.z; + t7 = pos2.x; + t8 = pos2.y; + t9 = pos2.z; + B.Window_methods.alert$1(window, "This design cannot be automatically converted to the " + t1 + " grid.\nTwo helices, with idx values " + A.S(h1idx) + " and " + A.S(h2idx) + ", have positions that are\nboth closest to grid position (" + t4.h + ", " + t4.v + "). They have positions\n(" + A.S(t2) + ", " + A.S(t5) + ", " + A.S(t6) + ") and \n(" + A.S(t7) + ", " + A.S(t8) + ", " + A.S(t9) + "), respectively.\n"); + return; + } + } + } + } + next.call$1(action); }, - get$_source: function() { - return this._source; - } - }; - H.CastSet.prototype = { - cast$1$0: function(_, $R) { - return new H.CastSet(this._source, this.__internal$_emptySet, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastSet<1,2>")); + helix_group_move_start_middleware(store, action, next) { + var state, group_name, t1, helices_in_group, helix_group_move; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.HelixGroupMoveStart) { + state = store.get$state(store); + group_name = state.ui_state.storables.displayed_group_name; + t1 = state.get$design().groups._map$_map.$index(0, group_name); + t1.toString; + helices_in_group = state.get$design().helices_in_group$1(group_name); + if (helices_in_group._map$_map._length !== 0) { + next.call$1(action); + helix_group_move = A.HelixGroupMove_HelixGroupMove(t1, group_name, helices_in_group, action.mouse_point); + $.__app._readField$0().dispatch$1(A._$HelixGroupMoveCreate$_(helix_group_move)); + } else + B.Window_methods.alert$1(window, "Cannot move a helix group that has no helices in it."); + } else + next.call$1(action); }, - add$1: function(_, value) { - var t1 = this.$ti; - return this._source.add$1(0, t1._precomputed1._as(t1._rest[1]._as(value))); + helix_hide_all_middleware(store, action, next) { + var ui_state, design, t1; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if ((action instanceof A.SetOnlyDisplaySelectedHelices || action instanceof A.HelixSelect || action instanceof A.HelixSelectionsAdjust || action instanceof A.HelixSelectionsClear || action instanceof A.HelixRemoveAllSelected || action instanceof A.HelixRemove || action instanceof A.LoadDNAFile || action instanceof A.SetAppUIStateStorable) && !store.get$state(store).get$has_error()) { + ui_state = store.get$state(store).ui_state; + design = store.get$state(store).get$design(); + t1 = ui_state.storables; + if (t1.only_display_selected_helices) { + t1 = t1.side_selected_helix_idxs._set; + t1 = t1.get$isEmpty(t1) && design.helices._map$_map._length !== 0; + } else + t1 = false; + if (t1) + A.async_alert('The option "Display only selected helices" is enabled. Since no helices are selected, none will be displayed in the main view.\n\nTo display the helices, either select some helices in the side view, or disable the option "View-->Helices-->Display only selected helices".'); + } }, - addAll$1: function(_, elements) { - var t1 = this.$ti; - this._source.addAll$1(0, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + helix_change_offsets_middleware(store, action, next) { + var design, helix_idx, helix_has_domains, min_offset, max_offset, min_offset_of_strand, max_offset_of_strand, t1, t2, t3, t4, + _s29_ = "Cannot set minimum offset to ", + _s29_0 = "Cannot set maximum offset to ", + _s53_ = " because there is a strand on that helix with offset ", + _s62_ = ". Please choose a smaller minimum offset or delete the strand.", + _s61_ = ". Please choose a larger maximum offset or delete the strand."; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.HelixOffsetChange) { + design = store.get$state(store).get$design(); + helix_idx = action.helix_idx; + helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(helix_idx)); + min_offset = action.min_offset; + max_offset = action.max_offset; + if (min_offset != null && helix_has_domains) { + min_offset_of_strand = store.get$state(store).get$design().min_offset_of_strands_at$1(helix_idx); + if (typeof min_offset !== "number") + return min_offset.$gt(); + if (min_offset > min_offset_of_strand) { + B.Window_methods.alert$1(window, _s29_ + min_offset + " on helix " + A.S(helix_idx) + _s53_ + min_offset_of_strand + _s62_); + return; + } + } + if (max_offset != null && helix_has_domains) { + max_offset_of_strand = store.get$state(store).get$design().max_offset_of_strands_at$1(helix_idx); + if (typeof max_offset !== "number") + return max_offset.$lt(); + if (max_offset < max_offset_of_strand) { + B.Window_methods.alert$1(window, _s29_0 + max_offset + " on helix " + A.S(helix_idx) + _s53_ + max_offset_of_strand + _s61_); + return; + } + } + } else if (action instanceof A.HelixOffsetChangeAll) { + min_offset = action.min_offset; + max_offset = action.max_offset; + design = store.get$state(store).get$design(); + for (t1 = design.helices, t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = max_offset != null, t3 = min_offset != null; t1.moveNext$0();) { + t4 = t1.__js_helper$_current; + helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(t4)); + if (t3 && helix_has_domains) { + min_offset_of_strand = store.get$state(store).get$design().min_offset_of_strands_at$1(t4); + if (typeof min_offset !== "number") + return min_offset.$gt(); + if (min_offset > min_offset_of_strand) { + B.Window_methods.alert$1(window, _s29_ + min_offset + " on helix " + A.S(t4) + _s53_ + min_offset_of_strand + _s62_); + return; + } + } + if (t2 && helix_has_domains) { + max_offset_of_strand = store.get$state(store).get$design().max_offset_of_strands_at$1(t4); + if (typeof max_offset !== "number") + return max_offset.$lt(); + if (max_offset < max_offset_of_strand) { + B.Window_methods.alert$1(window, _s29_0 + max_offset + " on helix " + A.S(t4) + _s53_ + max_offset_of_strand + _s61_); + return; + } + } + } + } + next.call$1(action); }, - remove$1: function(_, object) { - return this._source.remove$1(0, object); + helix_remove_middleware(store, action, next) { + var t1, t2, helix_idx_with_substrands, t3, helix_idx_string, first_line_string; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.HelixRemove) { + t1 = store.get$state(store).get$design(); + t2 = action.helix_idx; + if (J.get$isNotEmpty$asx(t1.domains_on_helix$1(t2))) { + t1 = "" + t2; + if (!A.boolConversionCheck(B.Window_methods.confirm$1(window, "Helix " + t1 + " has domains on it. If you delete the helix, the domains will be removed. Are you sure you wish to remove helix " + t1 + "?"))) + return; + } + } else if (action instanceof A.HelixRemoveAllSelected) { + helix_idx_with_substrands = A.LinkedHashSet_LinkedHashSet(type$.int); + for (t1 = store.get$state(store).ui_state.storables.side_selected_helix_idxs._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (J.get$isNotEmpty$asx(store.get$state(store).get$design().domains_on_helix$1(t3))) + helix_idx_with_substrands.add$1(0, t3); + } + if (helix_idx_with_substrands._collection$_length !== 0) { + helix_idx_string = helix_idx_with_substrands.join$1(0, ", "); + first_line_string = helix_idx_with_substrands._collection$_length === 1 ? "Selected helix " + helix_idx_string + " has domains on it. " : "Selected helices: " + helix_idx_string + " have domains on them. "; + if (!A.boolConversionCheck(B.Window_methods.confirm$1(window, first_line_string + "If you delete the selected helices, the domains will be removed. Are you sure you wish to remove selected helices: " + t1.join$1(0, ", ") + "?"))) + return; + } + } + next.call$1(action); }, - removeAll$1: function(objects) { - this._source.removeAll$1(objects); + insertion_deletion_batching_middleware(store, action, next) { + var other_domains, t1, t2, t3, _i, paired_domain; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (type$.InsertionOrDeletionAction._is(action)) + if (action.get$all_helices()) { + other_domains = A.find_other_domains(store.get$state(store).get$design(), action.get$domain(action), action.get$offset(action)); + if (other_domains.length === 0) + next.call$1(action); + else { + t1 = type$.JSArray_InsertionOrDeletionAction; + t2 = A._setArrayType([], t1); + for (t3 = other_domains.length, _i = 0; _i < other_domains.length; other_domains.length === t3 || (0, A.throwConcurrentModificationError)(other_domains), ++_i) + t2.push(action.clone_for_other_domain$1(other_domains[_i])); + store.dispatch$1(A.BatchAction_BatchAction(B.JSArray_methods.$add(A._setArrayType([action], t1), t2), action.short_description$0())); + } + } else { + paired_domain = A.find_paired_domain(store.get$state(store).get$design(), action.get$domain(action), action.get$offset(action)); + if (paired_domain == null) + next.call$1(action); + else + store.dispatch$1(A.BatchAction_BatchAction(A._setArrayType([action, action.clone_for_other_domain$1(paired_domain)], type$.JSArray_UndoableAction), action.short_description$0())); + } + else + next.call$1(action); }, - removeWhere$1: function(_, test) { - this._source.removeWhere$1(0, new H.CastSet_removeWhere_closure(this, this.$ti._eval$1("bool(2)")._as(test))); + find_other_domains(design, domain, offset) { + var t1, t2, other_domains, t3, paired_domain; + design.toString; + t1 = domain.helix; + t2 = design.helices._map$_map.$index(0, t1); + t2.toString; + t2 = design.get$helix_idxs_in_group()._map$_map.$index(0, t2.group); + t2.toString; + other_domains = A._setArrayType([], type$.JSArray_Domain); + for (t2 = t2._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (t3 === t1) { + paired_domain = A.find_paired_domain(design, domain, offset); + if (paired_domain != null) + B.JSArray_methods.add$1(other_domains, paired_domain); + } else + B.JSArray_methods.addAll$1(other_domains, design.domains_on_helix_at_offset_internal$2(t3, offset)); + } + return other_domains; }, - containsAll$1: function(objects) { - return this._source.containsAll$1(objects); + find_paired_domain(design, domain, offset) { + var t1, t2; + for (t1 = design.domains_on_helix_at_offset_internal$2(domain.helix, offset)._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (!J.$eq$(t2, domain)) + return t2; + } + return null; }, - intersection$1: function(_, other) { - var t1, _this = this; - if (_this.__internal$_emptySet != null) - return _this._conditionalAdd$2(other, true); - t1 = _this.$ti; - return new H.CastSet(_this._source.intersection$1(0, other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>")); + invalidate_png_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (type$.SvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.dna_sequence_png_uri != null) + store.dispatch$1(A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); + else if (type$.HelixSelectSvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.storables.only_display_selected_helices && store.get$state(store).ui_state.dna_sequence_png_uri != null) + store.dispatch$1(A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); + next.call$1(action); }, - difference$1: function(other) { - var t1, _this = this; - if (_this.__internal$_emptySet != null) - return _this._conditionalAdd$2(other, false); - t1 = _this.$ti; - return new H.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>")); - }, - _conditionalAdd$2: function(other, otherContains) { - var castElement, - emptySet = this.__internal$_emptySet, - t1 = this.$ti, - t2 = t1._rest[1], - result = emptySet == null ? P.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2); - for (t2 = this._source, t2 = t2.get$iterator(t2), t1 = t1._rest[1]; t2.moveNext$0();) { - castElement = t1._as(t2.get$current(t2)); - if (otherContains === other.contains$1(0, castElement)) - result.add$1(0, castElement); - } - return result; + move_ensure_all_in_same_helix_group_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.StrandsMoveStart) + if (action.original_helices_view_order_inverse == null) { + B.Window_methods.alert$1(window, "Cannot move or copy strands unless they are all on the same helix group.\noriginal_helices_view_order_inverse is null"); + return; + } + next.call$1(action); }, - union$1: function(other) { + oxview_update_view_middleware(store, action, next) { var t1; - this.$ti._eval$1("Set<2>")._as(other); - t1 = this._clone$0(); - t1.addAll$1(0, other); - return t1; - }, - clear$0: function(_) { - this._source.clear$0(0); + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof A.OxviewShowSet) { + t1 = $.__app._readField$0().__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1.update_showing_oxview$0(); + } + if (store.get$state(store).ui_state.storables.show_oxview && type$.DesignChangingAction._is(action)) + A.update_oxview_view(store.get$state(store).get$design(), null); + }, + update_oxview_view(design, frame) { + var t1, t2, t3, t4, message, t5, dat_top, blob_dat, + _s41_ = string$.https_; + if (frame == null) { + t1 = $.__app._readField$0().__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_oxview_view_A; + t1 === $ && A.throwLateFieldNI("oxview_view"); + t1 = t1.__OxviewViewComponent_frame_A; + t1 === $ && A.throwLateFieldNI("frame"); + frame = t1; + } + t1 = type$.JSArray_Blob; + t2 = type$.JSArray_String; + t3 = type$.String; + t4 = type$.dynamic; + message = A.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", A._setArrayType([A.Blob_Blob(["resetScene(resetCamera = false);"], A.blob_type_to_string(B.BlobType_0))], t1), "ext", A._setArrayType(["js"], t2)], t3, t4); + t5 = A._convertNativeToDart_Window(frame.contentWindow); + if (t5 != null) + J.postMessage$2$x(t5, message, _s41_); + t5 = design.strands; + dat_top = A.to_oxdna_format(design, new A.CopyOnWriteList(true, t5._list, A._instanceType(t5)._eval$1("CopyOnWriteList<1>"))); + blob_dat = A.Blob_Blob([dat_top.item1], A.blob_type_to_string(B.BlobType_0)); + message = A.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", A._setArrayType([A.Blob_Blob([dat_top.item2], A.blob_type_to_string(B.BlobType_0)), blob_dat], t1), "ext", A._setArrayType(["top", "dat"], t2), "inbox_settings", A._setArrayType(["Monomer", "Origin"], t2)], t3, t4); + t4 = A._convertNativeToDart_Window(frame.contentWindow); + if (t4 != null) + J.postMessage$2$x(t4, message, _s41_); }, - _clone$0: function() { - var emptySet = this.__internal$_emptySet, - t1 = this.$ti._rest[1], - result = emptySet == null ? P.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1); - result.addAll$1(0, this); - return result; + reselect_moved_copied_strands_middleware(store, action, next) { + var t1, t2, design, addresses, new_address_helix_idx, t3, new_helices_view_order, old_helices_view_order_inverse, t4, t5, t6, t7, t8, old_domain, t9, old_5p_end, t10, t11, t12, t13, new_helix_view_order, new_helix_idx, new_strands, new_design, address_to_strand, _i; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.StrandsMoveCommit) { + t1 = action.strands_move; + t1 = t1.copy || t1.strands_moving._list.length > 1; + } else + t1 = false; + if (t1) { + t1 = store.get$state(store).get$design(); + t2 = action.strands_move; + if (A.in_bounds_and_allowable(t1, t2)) + t1 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; + else + t1 = false; + if (!t1) + return; + design = store.get$state(store).get$design(); + addresses = A._setArrayType([], type$.JSArray_Address); + t1 = t2.current_address; + new_address_helix_idx = t1.helix_idx; + t3 = design.helices._map$_map.$index(0, new_address_helix_idx); + t3.toString; + t3 = design.groups._map$_map.$index(0, t3.group); + t3.toString; + new_helices_view_order = t3.helices_view_order; + old_helices_view_order_inverse = t2.original_helices_view_order_inverse; + for (t3 = t2.strands_moving._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = t1.offset, t5 = t2.original_address, t6 = t5.offset, t1 = t1.forward != t5.forward, t7 = t2.helices, t5 = t5.helix_idx, t2 = t2.groups; t3.moveNext$0();) { + t8 = t3.__interceptors$_current; + old_domain = t8.__first_domain; + if (old_domain == null) + old_domain = t8.__first_domain = A.Strand.prototype.get$first_domain.call(t8); + t8 = old_domain.forward; + if (t8) { + t9 = old_domain.__dnaend_start; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_start.call(old_domain); + old_domain.__dnaend_start = t9; + old_5p_end = t9; + } else + old_5p_end = t9; + } else { + t9 = old_domain.__dnaend_end; + if (t9 == null) { + t9 = A.Domain.prototype.get$dnaend_end.call(old_domain); + old_domain.__dnaend_end = t9; + old_5p_end = t9; + } else + old_5p_end = t9; + } + t9 = old_domain.helix; + t10 = old_helices_view_order_inverse._map$_map; + t9 = t10.$index(0, t9); + t9.toString; + t11 = t7._map$_map; + t12 = t11.$index(0, new_address_helix_idx); + t12.toString; + t12 = t2._map$_map.$index(0, t12.group); + t12.toString; + t13 = t12.__helices_view_order_inverse; + if (t13 == null) { + t13 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t12); + t12.set$__helices_view_order_inverse(t13); + t12 = t13; + } else + t12 = t13; + t11 = t11.$index(0, new_address_helix_idx); + t11.toString; + t11 = t12._map$_map.$index(0, t11.idx); + t11.toString; + t10 = t10.$index(0, t5); + t10.toString; + new_helix_view_order = t9 + (t11 - t10); + t10 = new_helices_view_order._list; + if (!(new_helix_view_order >= 0 && new_helix_view_order < t10.length)) + return A.ioore(t10, new_helix_view_order); + new_helix_idx = t10[new_helix_view_order]; + t9 = old_5p_end.offset; + if (old_5p_end.is_start) + t9.toString; + else { + t9.toString; + --t9; + } + if (typeof t4 !== "number") + return t4.$sub(); + if (typeof t6 !== "number") + return A.iae(t6); + if (new_helix_idx == null) + A.throwExpression(A.BuiltValueNullFieldError$("Address", "helix_idx")); + B.JSArray_methods.add$1(addresses, new A._$Address(new_helix_idx, t9 + (t4 - t6), t1 !== t8)); + } + next.call$1(action); + new_strands = A._setArrayType([], type$.JSArray_Strand); + new_design = store.get$state(store).get$design(); + if (t1) + address_to_strand = new_design.get$address_3p_to_strand(); + else { + t1 = new_design.__address_5p_to_strand; + if (t1 == null) { + t1 = A.Design.prototype.get$address_5p_to_strand.call(new_design); + new_design.set$__address_5p_to_strand(t1); + address_to_strand = t1; + } else + address_to_strand = t1; + } + for (t1 = addresses.length, t2 = address_to_strand._map$_map, _i = 0; _i < addresses.length; addresses.length === t1 || (0, A.throwConcurrentModificationError)(addresses), ++_i) { + t3 = t2.$index(0, addresses[_i]); + t3.toString; + B.JSArray_methods.add$1(new_strands, t3); + } + store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_strands, type$.Strand))); + } else + next.call$1(action); }, - toSet$0: function(_) { - return this._clone$0(); + reselect_moved_dna_ends_middleware(store, action, next) { + var addresses, t1, t2, old_end, t3, t4, new_ends, _i, address; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.DNAEndsMoveCommit && action.dna_ends_move.moves._list.length > 1) { + addresses = A._setArrayType([], type$.JSArray_Address); + for (t1 = action.dna_ends_move, t2 = t1.moves._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + old_end = t2.__interceptors$_current.dna_end; + t3 = store.get$state(store).get$design(); + t4 = t3.__end_to_domain; + if (t4 == null) { + t4 = A.Design.prototype.get$end_to_domain.call(t3); + t3.set$__end_to_domain(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._map$_map.$index(0, old_end); + t3.toString; + t4 = t1.current_capped_offset_of$1(old_end); + t4.toString; + B.JSArray_methods.add$1(addresses, new A._$Address(t3.helix, t4, t3.forward)); + } + next.call$1(action); + new_ends = A._setArrayType([], type$.JSArray_DNAEnd); + for (t1 = addresses.length, _i = 0; _i < addresses.length; addresses.length === t1 || (0, A.throwConcurrentModificationError)(addresses), ++_i) { + address = addresses[_i]; + t2 = store.get$state(store).get$design(); + t3 = t2.__address_to_end; + if (t3 == null) { + t3 = A.Design.prototype.get$address_to_end.call(t2); + t2.set$__address_to_end(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._map$_map.$index(0, address); + t2.toString; + B.JSArray_methods.add$1(new_ends, t2); + } + store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_ends, type$.DNAEnd))); + } else + next.call$1(action); }, - $isEfficientLengthIterable: 1, - $isSet: 1, - get$_source: function() { - return this._source; - } - }; - H.CastSet_removeWhere_closure.prototype = { - call$1: function(element) { - var t1 = this.$this.$ti; - return this.test.call$1(t1._rest[1]._as(t1._precomputed1._as(element))); - }, - $signature: function() { - return this.$this.$ti._eval$1("bool(1)"); - } - }; - H.CastMap.prototype = { - cast$2$0: function(_, RK, RV) { - var t1 = this.$ti; - return new H.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>")); - }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._source, key); + reselect_moved_dna_extension_ends_middleware(store, action, next) { + var extension_ids, t1, old_end, t2, t3, new_ends, _i, extension_id; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.DNAExtensionsMoveCommit && action.dna_extensions_move.moves._list.length > 1) { + extension_ids = A._setArrayType([], type$.JSArray_String); + for (t1 = action.dna_extensions_move.moves._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + old_end = t1.__interceptors$_current.dna_end; + t2 = store.get$state(store).get$design(); + t3 = t2.__end_to_extension; + if (t3 == null) { + t3 = A.Design.prototype.get$end_to_extension.call(t2); + t2.set$__end_to_extension(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._map$_map.$index(0, old_end); + t2.toString; + t3 = t2._extension$__id; + B.JSArray_methods.add$1(extension_ids, t3 == null ? t2._extension$__id = A.Extension.prototype.get$id.call(t2, t2) : t3); + } + next.call$1(action); + new_ends = A._setArrayType([], type$.JSArray_DNAEnd); + for (t1 = extension_ids.length, _i = 0; _i < extension_ids.length; extension_ids.length === t1 || (0, A.throwConcurrentModificationError)(extension_ids), ++_i) { + extension_id = extension_ids[_i]; + t2 = store.get$state(store).get$design(); + t3 = t2.__extensions_by_id; + if (t3 == null) { + t3 = A.Design.prototype.get$extensions_by_id.call(t2); + t2.set$__extensions_by_id(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._map$_map.$index(0, extension_id); + t2.toString; + t3 = t2.__dnaend_free; + B.JSArray_methods.add$1(new_ends, t3 == null ? t2.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t2) : t3); + } + store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_ends, type$.DNAEnd))); + } else + next.call$1(action); }, - $index: function(_, key) { - return this.$ti._eval$1("4?")._as(J.$index$asx(this._source, key)); + reselect_moved_domains_middleware(store, action, next) { + var old_design, domains_move, addresses, t1, new_address_helix_idx, t2, new_helices_view_order, old_helices_view_order_inverse, t3, t4, t5, t6, t7, t8, t9, t10, old_5p_end, t11, t12, t13, new_helix_view_order, new_helix_idx, new_domains, new_design, address_to_domain, _i; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.DomainsMoveCommit && action.domains_move.domains_moving._list.length > 1) { + old_design = store.get$state(store).get$design(); + domains_move = action.domains_move; + if (!(A.in_bounds0(old_design, domains_move) && A.is_allowable0(old_design, domains_move) && !domains_move.original_address.$eq(0, domains_move.current_address))) + return; + addresses = A._setArrayType([], type$.JSArray_Address); + t1 = domains_move.current_address; + new_address_helix_idx = t1.helix_idx; + t2 = old_design.helices._map$_map.$index(0, new_address_helix_idx); + t2.toString; + t2 = old_design.groups._map$_map.$index(0, t2.group); + t2.toString; + new_helices_view_order = t2.helices_view_order; + old_helices_view_order_inverse = domains_move.original_helices_view_order_inverse; + for (t2 = domains_move.domains_moving._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = t1.offset, t4 = domains_move.original_address, t5 = t4.offset, t1 = t1.forward != t4.forward, t6 = domains_move.helices, t4 = t4.helix_idx, t7 = domains_move.groups; t2.moveNext$0();) { + t8 = t2.__interceptors$_current; + t9 = t8.forward; + if (t9) { + t10 = t8.__dnaend_start; + if (t10 == null) { + t10 = A.Domain.prototype.get$dnaend_start.call(t8); + t8.__dnaend_start = t10; + old_5p_end = t10; + } else + old_5p_end = t10; + } else { + t10 = t8.__dnaend_end; + if (t10 == null) { + t10 = A.Domain.prototype.get$dnaend_end.call(t8); + t8.__dnaend_end = t10; + old_5p_end = t10; + } else + old_5p_end = t10; + } + t8 = t8.helix; + t8 = old_helices_view_order_inverse._map$_map.$index(0, t8); + t8.toString; + t10 = t6._map$_map; + t11 = t10.$index(0, new_address_helix_idx); + t11.toString; + t12 = t7._map$_map; + t11 = t12.$index(0, t11.group); + t13 = t11.__helices_view_order_inverse; + if (t13 == null) { + t13 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); + t11.set$__helices_view_order_inverse(t13); + t11 = t13; + } else + t11 = t13; + t13 = t10.$index(0, new_address_helix_idx); + t13.toString; + t13 = t11._map$_map.$index(0, t13.idx); + t13.toString; + t11 = t10.$index(0, t4); + t11.toString; + t11 = t12.$index(0, t11.group); + t12 = t11.__helices_view_order_inverse; + if (t12 == null) { + t12 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); + t11.set$__helices_view_order_inverse(t12); + t11 = t12; + } else + t11 = t12; + t10 = t10.$index(0, t4); + t10.toString; + t10 = t11._map$_map.$index(0, t10.idx); + t10.toString; + new_helix_view_order = t8 + (t13 - t10); + t10 = new_helices_view_order._list; + if (!(new_helix_view_order >= 0 && new_helix_view_order < t10.length)) + return A.ioore(t10, new_helix_view_order); + new_helix_idx = t10[new_helix_view_order]; + t8 = old_5p_end.offset; + if (old_5p_end.is_start) + t8.toString; + else { + t8.toString; + --t8; + } + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t5 !== "number") + return A.iae(t5); + if (new_helix_idx == null) + A.throwExpression(A.BuiltValueNullFieldError$("Address", "helix_idx")); + B.JSArray_methods.add$1(addresses, new A._$Address(new_helix_idx, t8 + (t3 - t5), t1 !== t9)); + } + next.call$1(action); + new_domains = A._setArrayType([], type$.JSArray_Domain); + new_design = store.get$state(store).get$design(); + if (t1) { + t1 = new_design.__address_3p_to_domain; + if (t1 == null) { + t1 = A.Design.prototype.get$address_3p_to_domain.call(new_design); + new_design.set$__address_3p_to_domain(t1); + address_to_domain = t1; + } else + address_to_domain = t1; + } else { + t1 = new_design.__address_5p_to_domain; + if (t1 == null) { + t1 = A.Design.prototype.get$address_5p_to_domain.call(new_design); + new_design.set$__address_5p_to_domain(t1); + address_to_domain = t1; + } else + address_to_domain = t1; + } + for (t1 = addresses.length, t2 = address_to_domain._map$_map, _i = 0; _i < addresses.length; addresses.length === t1 || (0, A.throwConcurrentModificationError)(addresses), ++_i) { + t3 = t2.$index(0, addresses[_i]); + t3.toString; + B.JSArray_methods.add$1(new_domains, t3); + } + store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_domains, type$.Domain))); + } else + next.call$1(action); }, - $indexSet: function(_, key, value) { - var t1 = this.$ti; - t1._rest[2]._as(key); - t1._rest[3]._as(value); - J.$indexSet$ax(this._source, t1._precomputed1._as(key), t1._rest[1]._as(value)); + reset_local_storage_middleware(store, action, next) { + var t1; + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof A.ResetLocalStorage) { + t1 = window.localStorage; + (t1 && B.Storage_methods).remove$1(t1, "scadnano:design"); + t1 = window.localStorage; + (t1 && B.Storage_methods).remove$1(t1, "scadnano:app_ui_state_storables"); + window.location.reload(); + } }, - remove$1: function(_, key) { - return this.$ti._eval$1("4?")._as(J.remove$1$ax(this._source, key)); + strand_create_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.StrandCreateStart) + if (store.get$state(store).get$design().domain_on_helix_at$2(action.address, null) != null) + return; + next.call$1(action); }, - forEach$1: function(_, f) { - J.forEach$1$ax(this._source, new H.CastMap_forEach_closure(this, this.$ti._eval$1("~(3,4)")._as(f))); + system_clipboard_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.CopySelectedStrands) { + A.put_strand_info_on_clipboard(store); + next.call$1(action); + } else if (action instanceof A.ManualPasteInitiate) + A.handle_manual_paste_initiate(store, action, next); + else if (action instanceof A.AutoPasteInitiate) + A.handle_autopaste_initiate(store, action, next); + else + next.call$1(action); }, - get$keys: function(_) { - var t1 = this.$ti; - return H.CastIterable_CastIterable(J.get$keys$x(this._source), t1._precomputed1, t1._rest[2]); + handle_manual_paste_initiate(store, action, next) { + var copy_info, t1; + if (A.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) + return; + next.call$1(action); + copy_info = store.get$state(store).ui_state.copy_info; + t1 = copy_info.strands; + store.dispatch$1(A._$StrandsMoveStart$_(copy_info.copied_address, true, copy_info.helices_view_order_inverse, t1)); }, - get$values: function(_) { - var t1 = this.$ti; - return H.CastIterable_CastIterable(J.get$values$x(this._source), t1._rest[1], t1._rest[3]); + handle_autopaste_initiate(store, action, next) { + var t1, strands_move, batch_actions_list, new_strand_moving_details, helix_idx, helices_offset_change_action, _s6_ = "status", + _s7_ = "offsets", + _s17_ = "HelixOffsetChange", + _s9_ = "helix_idx"; + if (A.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) + return; + next.call$1(action); + t1 = store.get$state(store).ui_state.copy_info; + t1.toString; + strands_move = t1.create_strands_move$2$start_at_copied(store.get$state(store), true); + if (!A.in_bounds_and_allowable(store.get$state(store).get$design(), strands_move)) + strands_move = t1.create_strands_move$2$start_at_copied(store.get$state(store), false); + batch_actions_list = A._setArrayType([], type$.JSArray_UndoableAction); + new_strand_moving_details = A.get_strand_bounds_details(store.get$state(store).get$design(), strands_move, null); + if (store.get$state(store).ui_state.storables.dynamically_update_helices) + if (new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_2 || new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_3) { + t1 = new_strand_moving_details.$index(0, _s7_); + t1.toString; + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + for (; t1.moveNext$0();) { + helix_idx = A._asIntS(t1.__js_helper$_current); + if (new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_2) { + helices_offset_change_action = new A._$HelixOffsetChange(helix_idx, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx), null); + if (helix_idx == null) + A.throwExpression(A.BuiltValueNullFieldError$(_s17_, _s9_)); + } else { + helices_offset_change_action = new A._$HelixOffsetChange(helix_idx, null, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx)); + if (helix_idx == null) + A.throwExpression(A.BuiltValueNullFieldError$(_s17_, _s9_)); + } + B.JSArray_methods.add$1(batch_actions_list, helices_offset_change_action); + } + } + if (new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_6 || new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_4 || new_strand_moving_details.$index(0, _s6_) === B.strand_bounds_status_5) { + B.JSArray_methods.add$1(batch_actions_list, A._$StrandsMoveCommit$_(true, strands_move)); + store.dispatch$1(A.BatchAction_BatchAction(batch_actions_list, "Changing helix offsets and then executing autopaste")); + } }, - get$length: function(_) { - return J.get$length$asx(this._source); + paste_is_impossible_from_clipboard(clipboard_content, in_browser) { + var strands, helices_view_order, + _s76_ = "copied Strands came from more than one HelixGroup, so they cannot be pasted.", + strands_and_helices_view_order = A.parse_strands_and_helices_view_order_from_clipboard(clipboard_content); + if (strands_and_helices_view_order == null) + return true; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return true; + if (helices_view_order == null) { + A.print(_s76_); + if (in_browser) + B.Window_methods.alert$1(window, _s76_); + return true; + } + return false; }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._source); + put_strand_info_on_clipboard(store) { + var clipboard_strings, t2, strand_json, strands_json, design, helices_view_order, modifications, encoder, mods_map, t3, mod_json, + strands = store.get$state(store).ui_state.selectables_store.get$selected_strands(), + t1 = strands._set; + if (t1.get$isNotEmpty(t1)) { + clipboard_strings = A._setArrayType([], type$.JSArray_String); + for (t2 = t1.get$iterator(t1); t2.moveNext$0();) { + strand_json = A.json_encode(t2.get$current(t2), true); + B.JSArray_methods.add$1(clipboard_strings, A.stringReplaceAllUnchecked(strand_json, "\n", "\n ")); + } + strands_json = B.JSArray_methods.join$1(clipboard_strings, ",\n "); + design = store.get$state(store).get$design(); + t2 = design.group_names_of_strands$1(strands)._set; + if (t2.get$length(t2) === 1) { + t1 = design.group_of_helix_idx$1(t1.get$first(t1).get$first_domain().helix).helices_view_order; + helices_view_order = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + } else + helices_view_order = null; + modifications = A.all_modifications(A.BuiltList_BuiltList$from(strands, strands.$ti._precomputed1)); + t1 = type$.dynamic; + encoder = A.SuppressableIndentEncoder$(new A.Replacer(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.JsonEncoder(null, null)), true); + mods_map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, t1); + t2 = modifications._set; + if (t2.get$length(t2) > 0) + for (t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (!mods_map.containsKey$1(0, t3.get$vendor_code())) + mods_map.$indexSet(0, t3.get$vendor_code(), t3.to_json_serializable$1$suppress_indent(true)); + } + mod_json = encoder.convert$1(mods_map); + t2 = A.S(helices_view_order); + $.$get$clipboard().toString; + t3 = window.navigator.clipboard; + if (t3 != null) + A.promiseToFuture(t3.writeText('{\n "strands": [\n ' + strands_json + '\n ],\n "helices_view_order": ' + t2 + ',\n "modifications_in_design": [\n ' + mod_json + "\n ]\n}"), t1); + } }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._source); + all_modifications(strands) { + var t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, + t1 = type$.dynamic, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strands._list, t4 = A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>"), t5 = new J.ArrayIterator(t3, t3.length, t4); t5.moveNext$0();) { + t6 = t5.__interceptors$_current.modification_5p; + if (t6 != null) + t2.add$1(0, t6); + } + t5 = type$.Modification; + mods_5p = A.BuiltSet_BuiltSet$from(t2, t5); + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t6 = new J.ArrayIterator(t3, t3.length, t4); t6.moveNext$0();) { + t7 = t6.__interceptors$_current.modification_3p; + if (t7 != null) + t2.add$1(0, t7); + } + mods_3p = A.BuiltSet_BuiltSet$from(t2, t5); + t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = new J.ArrayIterator(t3, t3.length, t4); t2.moveNext$0();) { + t3 = t2.__interceptors$_current.modifications_int; + if (t3._values == null) { + t4 = t3._map$_map; + t3.set$_values(t4.get$values(t4)); + } + t3 = t3._values; + t4 = A._instanceType(t3); + t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t4.moveNext$0();) + t1.add$1(0, t4.__internal$_current); + } + mods_int = A.BuiltSet_BuiltSet$from(t1, t5); + return mods_5p.union$1(mods_3p).union$1(mods_int); }, - get$entries: function(_) { - return J.get$entries$x(this._source).map$1$1(0, new H.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>")); + throttle_middleware(store, action, next) { + var throttled_action, last_time, current_time; + type$.Store_dynamic._as(store); + type$.dynamic_Function_dynamic._as(next); + if (type$.ThrottledAction._is(action)) { + throttled_action = action.get$action(action); + last_time = $._throttled_types.$index(0, A.getRuntimeType(throttled_action)); + current_time = 1000 * Date.now(); + if (last_time == null || (current_time - last_time) / 1000000 >= action.get$interval_sec()) { + $._throttled_types.$indexSet(0, A.getRuntimeType(throttled_action), current_time); + next.call$1(throttled_action); + } + } else + next.call$1(action); }, - removeWhere$1: function(_, test) { - J.removeWhere$1$ax(this._source, new H.CastMap_removeWhere_closure(this, this.$ti._eval$1("bool(3,4)")._as(test))); - } - }; - H.CastMap_forEach_closure.prototype = { - call$2: function(key, value) { - var t1 = this.$this.$ti; - t1._precomputed1._as(key); - t1._rest[1]._as(value); - this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); + zoom_speed_middleware(store, action, next) { + type$.Store_AppState._as(store); + type$.dynamic_Function_dynamic._as(next); + if (action instanceof A.ZoomSpeedSet) + self.set_zoom_speed(action.speed); + next.call$1(action); }, - $signature: function() { - return this.$this.$ti._eval$1("~(1,2)"); - } - }; - H.CastMap_entries_closure.prototype = { - call$1: function(e) { - var t2, - t1 = this.$this.$ti; - t1._eval$1("MapEntry<1,2>")._as(e); - t2 = t1._rest[3]; - return new P.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>")); + remove_dna_reducer(strands, action) { + var strand, t1, t2, idx, idxs, strand_idx, i, other_strand, strands_builder, _i, t3; + type$.BuiltList_Strand._as(strands); + type$.RemoveDNA._as(action); + strand = action.strand; + t1 = type$.JSArray_int; + if (action.remove_all) { + t1 = A._setArrayType([], t1); + for (t2 = strands._list, idx = 0; idx < t2.length; ++idx) + t1.push(idx); + idxs = t1; + } else { + strands.toString; + t2 = strands._list; + strand_idx = B.JSArray_methods.indexOf$2(t2, strands.$ti._precomputed1._as(strand), 0); + idxs = A._setArrayType([strand_idx], t1); + if (action.remove_complements) + for (i = 0; i < t2.length; ++i) { + other_strand = t2[i]; + if (i !== strand_idx && other_strand.overlaps$1(strand)) + B.JSArray_methods.add$1(idxs, i); + } + } + t1 = A._instanceType(strands); + strands_builder = new A.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); + for (t2 = idxs.length, t1 = t1._precomputed1, _i = 0; _i < idxs.length; idxs.length === t2 || (0, A.throwConcurrentModificationError)(idxs), ++_i) { + idx = idxs[_i]; + t3 = t1._as(J.$index$asx(strands_builder._copy_on_write_list$_list, idx).remove_dna_sequence$0()); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, idx, t3); + } + return A.BuiltList_BuiltList$of(strands_builder, type$.Strand); }, - $signature: function() { - return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)"); - } - }; - H.CastMap_removeWhere_closure.prototype = { - call$2: function(key, value) { - var t1 = this.$this.$ti; - t1._precomputed1._as(key); - t1._rest[1]._as(value); - return this.test.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); + assign_dna_reducer_complement_from_bound_strands(strands, state, action) { + var t1, t2, all_strands, t3, strand_to_assign, strand_to_assign_idx, t4, t5, strand_changed; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.AssignDNAComplementFromBoundStrands._as(action); + t1 = strands._list; + t2 = A._instanceType(strands); + all_strands = new A.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = action.strands._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t3.moveNext$0();) { + strand_to_assign = t3.__interceptors$_current; + strand_to_assign_idx = B.JSArray_methods.indexOf$2(t1, t2._as(strand_to_assign), 0); + t4 = state.get$design(); + t5 = t4.__strands_overlapping; + if (t5 == null) { + t5 = A.Design.prototype.get$strands_overlapping.call(t4); + t4.set$__strands_overlapping(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._map$_map.$index(0, strand_to_assign)._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + strand_changed = false; + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + if (!t5.___dna_sequence) { + t5.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(t5); + t5.___dna_sequence = true; + } + if (t5.__dna_sequence != null) { + strand_to_assign = strand_to_assign.set_dna_sequence$1(A.compute_dna_complement_from(state.get$design(), strand_to_assign, t5, false)); + strand_changed = true; + } + } + if (strand_changed) { + t2._as(strand_to_assign); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); + } + } + return A._BuiltList$of(all_strands, type$.Strand); }, - $signature: function() { - return this.$this.$ti._eval$1("bool(1,2)"); - } - }; - H.CastQueue.prototype = { - cast$1$0: function(_, $R) { - return new H.CastQueue(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); + assign_dna_reducer(strands, state, action) { + var strand, t1, t2, t3, strand_idx, t4, t5, seq, t6, sequence, strands_builder, strand_with_new_sequence, i, other_strand, new_dna; + type$.BuiltList_Strand._as(strands); + type$.AppState._as(state); + type$.AssignDNA._as(action); + strand = action.strand; + strands.toString; + t1 = strands.$ti; + t2 = t1._precomputed1; + t3 = strands._list; + strand_idx = B.JSArray_methods.indexOf$2(t3, t2._as(strand), 0); + if (strand.get$dna_sequence() != null) + strand = strand.remove_dna_sequence$0(); + t4 = action.dna_assign_options; + t5 = A.RegExp_RegExp("\\s+", true); + seq = A.stringReplaceAllUnchecked(t4.dna_sequence, t5, "").toUpperCase(); + t5 = strand.get$dna_length(); + t6 = seq.length; + if (t6 > t5) + sequence = B.JSString_methods.substring$2(seq, 0, t5); + else + sequence = t6 < t5 ? seq + B.JSString_methods.$mul("?", t5 - t6) : seq; + strands_builder = new A.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); + strand_with_new_sequence = strand.set_dna_sequence$1(A.merge_sequences_if_necessary(strand, sequence)); + t2._as(strand_with_new_sequence); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, strand_idx, strand_with_new_sequence); + if (t4.assign_complements) { + t1 = t4.disable_change_sequence_bound_strand; + i = 0; + while (true) { + t3 = J.get$length$asx(strands_builder._copy_on_write_list$_list); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + c$0: { + other_strand = J.$index$asx(strands_builder._copy_on_write_list$_list, i); + if (strand.$eq(0, other_strand)) { + if (!strand.___dna_sequence) { + strand.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(strand); + strand.___dna_sequence = true; + } + t3 = strand.__dna_sequence; + t4 = t3.length; + t3 = !A.stringContainsUnchecked(t3, "?", 0); + } else + t3 = false; + if (t3) + break c$0; + if (other_strand.overlaps$1(strand)) { + new_dna = A.compute_dna_complement_from(state.get$design(), other_strand, strand_with_new_sequence, t1); + if (!other_strand.___dna_sequence) { + other_strand.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(other_strand); + other_strand.___dna_sequence = true; + } + if (new_dna !== other_strand.__dna_sequence) { + t3 = t2._as(other_strand.set_dna_sequence$1(new_dna)); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, i, t3); + } + } + } + ++i; + } + } + return A.BuiltList_BuiltList$of(strands_builder, type$.Strand); }, - add$1: function(_, value) { - var t1 = this.$ti, - t2 = this._source; - t2._add$1(0, t2.$ti._precomputed1._as(t1._precomputed1._as(t1._rest[1]._as(value)))); + compare_overlap(o1, o2) { + var o1_start, o1_end, o2_start, o2_end, + t1 = type$.Tuple2_of_Tuple2_int_int_and_Domain; + t1._as(o1); + t1._as(o2); + t1 = o1.item1; + o1_start = t1.item1; + o1_end = t1.item2; + t1 = o2.item1; + o2_start = t1.item1; + o2_end = t1.item2; + if (o1_start != o2_start) { + if (typeof o1_start !== "number") + return o1_start.$sub(); + if (typeof o2_start !== "number") + return A.iae(o2_start); + return o1_start - o2_start; + } else { + if (typeof o1_end !== "number") + return o1_end.$sub(); + if (typeof o2_end !== "number") + return A.iae(o2_end); + return o1_end - o2_end; + } }, - $isEfficientLengthIterable: 1, - $isQueue: 1, - get$_source: function() { - return this._source; - } - }; - H.LateError.prototype = { - toString$0: function(_) { - var message = this._message; - return message != null ? "LateInitializationError: " + message : "LateInitializationError"; - } - }; - H.ReachabilityError.prototype = { - toString$0: function(_) { - var t1 = "ReachabilityError: " + this._message; - return t1; - } - }; - H.CodeUnits.prototype = { - get$length: function(_) { - return this.__internal$_string.length; + compute_dna_complement_from(design, strand_to, strand_from, error_on_change) { + var new_dna_sequence, dom_to, dom_from, msg, t3, t4, t5, t6, t7, ss_idx, substrand_to, substrand_to_dna_sequence, unpaired_addresses, first_unpaired_address, helix_idx, t8, domains_on_helix_from, overlaps, t9, t10, t11, substrand_complement_builder, start_idx, _i, overlap, overlap_left, overlap_right, wildcards, overlap_complement, existing_substrand_to_dna_sequence, exception, _s1_ = "?", + t1 = strand_to.get$dna_sequence(), + t2 = type$.JSArray_String, + strand_complement_builder = A._setArrayType([], t2); + if (t1 != null) + for (t1 = strand_to.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t3 = t1.__interceptors$_current.get$dna_sequence(); + t3.toString; + B.JSArray_methods.add$1(strand_complement_builder, t3); + } + else + for (t1 = strand_to.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + B.JSArray_methods.add$1(strand_complement_builder, B.JSString_methods.$mul(_s1_, t1.__interceptors$_current.dna_length$0())); + for (t1 = strand_to.substrands._list, t3 = type$.Tuple2_of_Tuple2_int_int_and_Domain, t4 = type$.JSArray_Tuple2_of_Tuple2_int_int_and_Domain, t5 = type$.JSArray_Domain, t6 = type$.ReversedListIterable_String, t7 = t6._eval$1("ListIterable.E"), ss_idx = 0; ss_idx < t1.length; ++ss_idx) { + substrand_to = t1[ss_idx]; + if (substrand_to instanceof A.Loopout || substrand_to instanceof A.Extension) + substrand_to_dna_sequence = B.JSString_methods.$mul(_s1_, substrand_to.dna_length$0()); + else if (substrand_to instanceof A.Domain) { + unpaired_addresses = design.find_unpaired_insertion_deletions_on_domain$2(substrand_to, true); + if (unpaired_addresses.length !== 0) { + first_unpaired_address = B.JSArray_methods.get$first(unpaired_addresses); + throw A.wrapException(A.ArgumentError$("I cannot assign DNA complements when there is an unpaired deletion or insertion, but I found one at this address:\nhelix idx=" + A.S(first_unpaired_address.helix_idx) + ", offset=" + A.S(first_unpaired_address.offset) + "\nTo view all of them in the design, go to View-->Show unpaired deletions/insertions.", null)); + } + helix_idx = substrand_to.helix; + t8 = strand_from.__domains_on_helix; + if (t8 == null) { + t8 = A.Strand.prototype.get$domains_on_helix.call(strand_from); + strand_from.set$__domains_on_helix(t8); + } + t8 = t8._map$_map.$index(0, helix_idx); + domains_on_helix_from = t8 == null ? null : new A.CopyOnWriteList(true, t8._list, A.instanceType(t8)._eval$1("CopyOnWriteList<1>")); + if (domains_on_helix_from == null) + domains_on_helix_from = A._setArrayType([], t5); + overlaps = A._setArrayType([], t4); + for (t8 = J.get$iterator$ax(domains_on_helix_from), t9 = substrand_to.forward; t8.moveNext$0();) { + t10 = t8.get$current(t8); + if (!substrand_to.$eq(0, t10) && helix_idx === t10.helix && t9 === !t10.forward && substrand_to.compute_overlap$1(t10) != null) { + t11 = substrand_to.compute_overlap$1(t10); + t11.toString; + B.JSArray_methods.add$1(overlaps, new A.Tuple2(t11, t10, t3)); + } + } + t4._eval$1("int(1,1)?")._as(A.assign_or_remove_dna_reducer__compare_overlap$closure()); + if (!!overlaps.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t8 = overlaps.length - 1; + if (t8 - 0 <= 32) + A.Sort__insertionSort(overlaps, 0, t8, A.assign_or_remove_dna_reducer__compare_overlap$closure(), t3); + else + A.Sort__dualPivotQuicksort(overlaps, 0, t8, A.assign_or_remove_dna_reducer__compare_overlap$closure(), t3); + substrand_complement_builder = A._setArrayType([], t2); + start_idx = substrand_to.start; + for (t8 = overlaps.length, _i = 0; _i < overlaps.length; overlaps.length === t8 || (0, A.throwConcurrentModificationError)(overlaps), ++_i, start_idx = overlap_right) { + overlap = overlaps[_i]; + t10 = overlap.item1; + overlap_left = t10.item1; + overlap_right = t10.item2; + if (typeof overlap_left !== "number") + return overlap_left.$sub(); + wildcards = B.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, overlap_left - 1)); + if (typeof overlap_right !== "number") + return overlap_right.$sub(); + t10 = overlap.item2.dna_sequence_in$2(overlap_left, overlap_right - 1); + t10.toString; + overlap_complement = A.wc(t10); + B.JSArray_methods.add$1(substrand_complement_builder, wildcards); + B.JSArray_methods.add$1(substrand_complement_builder, overlap_complement); + } + B.JSArray_methods.add$1(substrand_complement_builder, B.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, substrand_to.end - 1))); + substrand_to_dna_sequence = B.JSArray_methods.join$1(!t9 ? A.List_List$of(new A.ReversedListIterable(substrand_complement_builder, t6), true, t7) : substrand_complement_builder, ""); + } else + substrand_to_dna_sequence = "NO DNA SEQUENCE YET"; + if (!(ss_idx < strand_complement_builder.length)) + return A.ioore(strand_complement_builder, ss_idx); + existing_substrand_to_dna_sequence = strand_complement_builder[ss_idx]; + B.JSArray_methods.$indexSet(strand_complement_builder, ss_idx, (error_on_change ? A.util__merge_wildcards$closure() : A.util__merge_wildcards_favor_first$closure()).call$3(substrand_to_dna_sequence, existing_substrand_to_dna_sequence, _s1_)); + } + new_dna_sequence = B.JSArray_methods.join$1(strand_complement_builder, ""); + if (strand_to.get$dna_sequence() != null) + if (!error_on_change) { + t1 = new_dna_sequence; + t2 = strand_to.get$dna_sequence(); + t2.toString; + new_dna_sequence = A.merge_wildcards_favor_first(t1, t2, _s1_); + } else + try { + t1 = strand_to.get$dna_sequence(); + t1.toString; + new_dna_sequence = A.merge_wildcards(t1, new_dna_sequence, _s1_); + } catch (exception) { + if (A.unwrapException(exception) instanceof A.ArgumentError) { + dom_to = strand_to.get$first_domain(); + dom_from = strand_from.get$first_domain(); + msg = "strand starting at helix " + dom_to.helix + ", offset " + dom_to.get$offset_5p() + " has length " + strand_to.get$dna_length() + " and already has a partial DNA sequence assignment of length " + strand_to.get$dna_sequence().length + ", which is \n" + A.S(strand_to.get$dna_sequence()) + ", but you tried to assign sequence of length " + J.get$length$asx(new_dna_sequence) + " to it, which is\n" + A.S(new_dna_sequence) + " (this assignment was indirect, since you assigned directly to a strand bound to this one). This occurred while directly assigning a DNA sequence to the strand whose 5' end is at helix " + dom_from.helix + ", and is of length " + strand_from.get$dna_length() + "."; + throw A.wrapException(A.IllegalDesignError$(msg)); + } else + throw exception; + } + return new_dna_sequence; }, - $index: function(_, i) { - return C.JSString_methods.codeUnitAt$1(this.__internal$_string, H._asIntS(i)); - } - }; - H.nullFuture_closure.prototype = { - call$0: function() { - return P.Future_Future$value(null, type$.Null); + merge_sequences_if_necessary(strand, seq) { + var first_ss, msg, t1, t2, exception; + seq = seq; + if (strand.get$dna_sequence() != null) + try { + t1 = seq; + t2 = strand.get$dna_sequence(); + t2.toString; + seq = A.merge_wildcards(t1, t2, "?"); + } catch (exception) { + if (A.unwrapException(exception) instanceof A.ArgumentError) { + first_ss = strand.get$first_domain(); + msg = "strand starting at helix " + first_ss.helix + ", offset " + first_ss.get$offset_5p() + " has length " + strand.get$dna_length() + " and already has a DNA sequence assignment of length " + strand.get$dna_sequence().length + ", which is \n" + A.S(strand.get$dna_sequence()) + ", but you tried to assign a different sequence of length " + J.get$length$asx(seq) + " to it, which is\n{" + A.S(seq) + "}."; + throw A.wrapException(A.IllegalDesignError$(msg)); + } else + throw exception; + } + return seq; }, - $signature: 228 - }; - H.NotNullableError.prototype = { - toString$0: function(_) { - return "Null is not a valid value for the parameter '" + this.__internal$_name + "' of type '" + H.createRuntimeType(this.$ti._precomputed1).toString$0(0) + "'"; - } - }; - H.EfficientLengthIterable.prototype = {}; - H.ListIterable.prototype = { - get$iterator: function(_) { - var _this = this; - return new H.ListIterator(_this, _this.get$length(_this), H._instanceType(_this)._eval$1("ListIterator")); + context_menu_show_reducer(_, action) { + type$.nullable_ContextMenu._as(_); + return type$.ContextMenuShow._as(action).context_menu; }, - forEach$1: function(_, action) { - var $length, i, _this = this; - H._instanceType(_this)._eval$1("~(ListIterable.E)")._as(action); - $length = _this.get$length(_this); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - action.call$1(_this.elementAt$1(0, i)); - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - } + context_menu_hide_reducer(_, action) { + type$.nullable_ContextMenu._as(_); + type$.ContextMenuHide._as(action); + return null; }, - get$isEmpty: function(_) { - return this.get$length(this) === 0; + dialog_show_reducer(_, action) { + type$.nullable_Dialog._as(_); + return type$.DialogShow._as(action).dialog; }, - get$first: function(_) { - if (this.get$length(this) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - return this.elementAt$1(0, 0); + dialog_hide_reducer(_, action) { + type$.nullable_Dialog._as(_); + type$.DialogHide._as(action); + return null; }, - get$last: function(_) { - var t1, _this = this; - if (_this.get$length(_this) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = _this.get$length(_this); - if (typeof t1 !== "number") - return t1.$sub(); - return _this.elementAt$1(0, t1 - 1); + toggle_select_mode_reducer(state, action) { + var mode, new_state, t1, t2; + type$.SelectModeState._as(state); + mode = type$.SelectModeToggle._as(action).select_mode_choice; + if (state.modes._set.contains$1(0, mode)) + new_state = state.remove_mode$1(mode); + else { + new_state = state.add_mode$1(mode); + if (mode === B.SelectModeChoice_strand) + new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); + else if (B.JSArray_methods.contains$1($.$get$SelectModeChoice_strand_parts()._list, mode)) { + new_state = new_state.remove_mode$1(B.SelectModeChoice_strand); + if (mode === B.SelectModeChoice_crossover || mode === B.SelectModeChoice_loopout) { + t1 = $.$get$SelectModeChoice_ends(); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t1._list, A._instanceType(t1)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_extension_], type$.JSArray_SelectModeChoice)))); + } else { + t1 = $.$get$SelectModeChoice_ends(); + t2 = t1._list; + if (B.JSArray_methods.contains$1(t2, mode)) + new_state = new_state.remove_modes$1(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_extension_, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], type$.JSArray_SelectModeChoice)); + else if (mode === B.SelectModeChoice_domain) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, A._instanceType(t1)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_extension_, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], type$.JSArray_SelectModeChoice)))); + else if (mode === B.SelectModeChoice_extension_) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, A._instanceType(t1)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], type$.JSArray_SelectModeChoice)))); + else if (mode === B.SelectModeChoice_deletion || mode === B.SelectModeChoice_insertion) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, A._instanceType(t1)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_extension_, B.SelectModeChoice_domain, B.SelectModeChoice_modification], type$.JSArray_SelectModeChoice)))); + else if (mode === B.SelectModeChoice_modification) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, A._instanceType(t1)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_extension_, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion], type$.JSArray_SelectModeChoice)))); + } + } + } + return new_state; }, - get$single: function(_) { - var t1, _this = this; - if (_this.get$length(_this) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = _this.get$length(_this); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 1) - throw H.wrapException(H.IterableElementError_tooMany()); - return _this.elementAt$1(0, 0); + set_select_modes_reducer(state, action) { + return type$.SelectModeState._as(state).set_modes$1(type$.SelectModesSet._as(action).select_mode_choices); }, - contains$1: function(_, element) { - var i, _this = this, - $length = _this.get$length(_this); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - if (J.$eq$(_this.elementAt$1(0, i), element)) - return true; - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); + add_select_modes_reducer(state, action) { + var t1, new_state, t2, t3, t4, t5; + type$.SelectModeState._as(state); + t1 = type$.SelectModesAdd._as(action).modes; + new_state = state.add_modes$1(t1); + for (t1 = t1._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_SelectModeChoice; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + if (t3 === B.SelectModeChoice_strand) + new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); + else if (B.JSArray_methods.contains$1($.$get$SelectModeChoice_strand_parts()._list, t3)) { + new_state = new_state.remove_mode$1(B.SelectModeChoice_strand); + if (t3 === B.SelectModeChoice_crossover || t3 === B.SelectModeChoice_loopout) { + t3 = $.$get$SelectModeChoice_ends(); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t3._list, A._instanceType(t3)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t2)))); + } else { + t4 = $.$get$SelectModeChoice_ends(); + t5 = t4._list; + if (B.JSArray_methods.contains$1(t5, t3)) + new_state = new_state.remove_modes$1(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t2)); + else if (t3 === B.SelectModeChoice_domain) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t5, A._instanceType(t4)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t2)))); + else if (t3 === B.SelectModeChoice_deletion || t3 === B.SelectModeChoice_insertion) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t5, A._instanceType(t4)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_modification], t2)))); + else if (t3 === B.SelectModeChoice_modification) + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t5, A._instanceType(t4)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion], t2)))); + } + } } - return false; + return new_state; }, - every$1: function(_, test) { - var $length, i, _this = this; - H._instanceType(_this)._eval$1("bool(ListIterable.E)")._as(test); - $length = _this.get$length(_this); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - if (!H.boolConversionCheck(test.call$1(_this.elementAt$1(0, i)))) + isAllTheSame(iter) { + var firstValue, t1; + if (iter.get$length(iter) === 0) + return true; + firstValue = iter.get$first(iter); + for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new A.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")); t1.moveNext$0();) + if (!J.$eq$(t1.__internal$_current, firstValue)) return false; - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - } return true; }, - join$1: function(_, separator) { - var first, t1, i, _this = this, - $length = _this.get$length(_this); - if (separator.length !== 0) { - if ($length === 0) - return ""; - first = H.S(_this.elementAt$1(0, 0)); - if ($length != _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - if (typeof $length !== "number") - return H.iae($length); - t1 = first; - i = 1; - for (; i < $length; ++i) { - t1 = t1 + separator + H.S(_this.elementAt$1(0, i)); - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - } - return t1.charCodeAt(0) == 0 ? t1 : t1; - } else { - if (typeof $length !== "number") - return H.iae($length); - i = 0; - t1 = ""; - for (; i < $length; ++i) { - t1 += H.S(_this.elementAt$1(0, i)); - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); + replaceFirstNull(list, element, $E) { + var index = B.JSArray_methods.indexOf$1(list, null); + if (index < 0) + throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null)); + B.JSArray_methods.$indexSet(list, index, element); + }, + replaceWithNull(list, element, $E) { + var index = B.JSArray_methods.indexOf$1(list, element); + if (index < 0) + throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null)); + B.JSArray_methods.$indexSet(list, index, null); + }, + countCodeUnits(string, codeUnit) { + var t1, count; + for (t1 = new A.CodeUnits(string), t1 = new A.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) + if (t1.__internal$_current === codeUnit) + ++count; + return count; + }, + findLineStart(context, text, column) { + var beginningOfLine, index, lineStart; + if (text.length === 0) + for (beginningOfLine = 0; true;) { + index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine); + if (index === -1) + return context.length - beginningOfLine >= column ? beginningOfLine : null; + if (index - beginningOfLine >= column) + return beginningOfLine; + beginningOfLine = index + 1; } - return t1.charCodeAt(0) == 0 ? t1 : t1; + index = B.JSString_methods.indexOf$1(context, text); + for (; index !== -1;) { + lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1; + if (column === index - lineStart) + return lineStart; + index = B.JSString_methods.indexOf$2(context, text, index + 1); } + return null; }, - join$0: function($receiver) { - return this.join$1($receiver, ""); + filterElements(iterable, $name, namespace) { + var matcher = A.createNameMatcher($name, namespace), + t1 = iterable.whereType$1$0(0, type$.XmlElement), + t2 = t1.$ti; + return new A.WhereIterable(t1, t2._eval$1("bool(Iterable.E)")._as(matcher), t2._eval$1("WhereIterable")); }, - where$1: function(_, test) { - return this.super$Iterable$where(0, H._instanceType(this)._eval$1("bool(ListIterable.E)")._as(test)); + XmlParentExtension_get_parentElement(_this) { + var current; + for (current = _this.XmlHasParent__parent; current != null; current = current.get$parent(current)) + if (current instanceof A.XmlElement) + return current; + return null; }, - map$1$1: function(_, f, $T) { - var t1 = H._instanceType(this); - return new H.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + lookupAttribute(start, prefix, local) { + var node, t1, t2, $name; + for (node = start; node != null; node = node.get$parent(node)) + for (t1 = J.get$iterator$ax(node.get$attributes(node)); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + $name = t2.name; + if ($name.get$prefix($name) == prefix && $name.get$local() === local) + return t2; + } + return null; }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + main() { + var t1 = type$.dynamic; + $.__app._value = new A.App(A.createContext(t1), A.createContext(t1), A.createContext(t1), A.createContext(t1), A.createContext(t1), A.createContext(t1), A.LinkedHashSet_LinkedHashSet$_empty(type$.int)); + $.__app._readField$0().start$0(0); + } + }, + J = { + makeDispatchRecord(interceptor, proto, extension, indexability) { + return {i: interceptor, p: proto, e: extension, x: indexability}; }, - reduce$1: function(_, combine) { - var $length, value, i, _this = this; - H._instanceType(_this)._eval$1("ListIterable.E(ListIterable.E,ListIterable.E)")._as(combine); - $length = _this.get$length(_this); - if ($length === 0) - throw H.wrapException(H.IterableElementError_noElement()); - value = _this.elementAt$1(0, 0); - if (typeof $length !== "number") - return H.iae($length); - i = 1; - for (; i < $length; ++i) { - value = combine.call$2(value, _this.elementAt$1(0, i)); - if ($length !== _this.get$length(_this)) - throw H.wrapException(P.ConcurrentModificationError$(_this)); + getNativeInterceptor(object) { + var proto, objectProto, $constructor, interceptor, t1, + record = object[init.dispatchPropertyName]; + if (record == null) + if ($.initNativeDispatchFlag == null) { + A.initNativeDispatch(); + record = object[init.dispatchPropertyName]; + } + if (record != null) { + proto = record.p; + if (false === proto) + return record.i; + if (true === proto) + return object; + objectProto = Object.getPrototypeOf(object); + if (proto === objectProto) + return record.i; + if (record.e === objectProto) + throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record)))); } - return value; - }, - skip$1: function(_, count) { - return H.SubListIterable$(this, count, null, H._instanceType(this)._eval$1("ListIterable.E")); + $constructor = object.constructor; + if ($constructor == null) + interceptor = null; + else { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + interceptor = $constructor[t1]; + } + if (interceptor != null) + return interceptor; + interceptor = A.lookupAndCacheInterceptor(object); + if (interceptor != null) + return interceptor; + if (typeof object == "function") + return B.JavaScriptFunction_methods; + proto = Object.getPrototypeOf(object); + if (proto == null) + return B.PlainJavaScriptObject_methods; + if (proto === Object.prototype) + return B.PlainJavaScriptObject_methods; + if (typeof $constructor == "function") { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); + return B.UnknownJavaScriptObject_methods; + } + return B.UnknownJavaScriptObject_methods; }, - take$1: function(_, count) { - return H.SubListIterable$(this, 0, H.checkNotNullable(count, "count", type$.int), H._instanceType(this)._eval$1("ListIterable.E")); + JSArray_JSArray$fixed($length, $E) { + if (!A._isInt($length)) + throw A.wrapException(A.ArgumentError$value($length, "length", "is not an integer")); + if ($length < 0 || $length > 4294967295) + throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null)); + return J.JSArray_JSArray$markFixed(new Array($length), $E); }, - toList$1$growable: function(_, growable) { - return P.List_List$of(this, growable, H._instanceType(this)._eval$1("ListIterable.E")); + JSArray_JSArray$growable($length, $E) { + if (!A._isInt($length) || $length < 0) + throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + A.S($length), null)); + return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + JSArray_JSArray$allocateGrowable($length, $E) { + return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); }, - toSet$0: function(_) { - var t1, _this = this, - result = P.LinkedHashSet_LinkedHashSet(H._instanceType(_this)._eval$1("ListIterable.E")), - i = 0; - while (true) { - t1 = _this.get$length(_this); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - result.add$1(0, _this.elementAt$1(0, i)); - ++i; - } - return result; - } - }; - H.SubListIterable.prototype = { - SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { - var endOrLength, - t1 = this.__internal$_start; - P.RangeError_checkNotNegative(t1, "start"); - endOrLength = this._endOrLength; - if (endOrLength != null) { - P.RangeError_checkNotNegative(endOrLength, "end"); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > endOrLength) - throw H.wrapException(P.RangeError$range(t1, 0, endOrLength, "start", null)); - } + JSArray_JSArray$markFixed(allocation, $E) { + return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")), $E); }, - get$_endIndex: function() { - var t1, - $length = J.get$length$asx(this.__internal$_iterable), - endOrLength = this._endOrLength; - if (endOrLength != null) { - if (typeof $length !== "number") - return H.iae($length); - t1 = endOrLength > $length; - } else - t1 = true; - if (t1) - return $length; - return endOrLength; + JSArray_markFixedList(list, $T) { + list.fixed$length = Array; + return list; }, - get$_startIndex: function() { - var $length = J.get$length$asx(this.__internal$_iterable), - t1 = this.__internal$_start; - if (typeof t1 !== "number") - return t1.$gt(); - if (typeof $length !== "number") - return H.iae($length); - if (t1 > $length) - return $length; - return t1; + JSArray_markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + return list; }, - get$length: function(_) { - var endOrLength, - $length = J.get$length$asx(this.__internal$_iterable), - t1 = this.__internal$_start; - if (typeof t1 !== "number") - return t1.$ge(); - if (typeof $length !== "number") - return H.iae($length); - if (t1 >= $length) - return 0; - endOrLength = this._endOrLength; - if (endOrLength == null || endOrLength >= $length) - return $length - t1; - if (typeof endOrLength !== "number") - return endOrLength.$sub(); - return endOrLength - t1; + JSArray__compareAny(a, b) { + var t1 = type$.Comparable_dynamic; + return J.compareTo$1$ns(t1._as(a), t1._as(b)); }, - elementAt$1: function(_, index) { - var realIndex, _this = this, - t1 = _this.get$_startIndex(); - if (typeof t1 !== "number") - return t1.$add(); - if (typeof index !== "number") - return H.iae(index); - realIndex = t1 + index; - if (index >= 0) { - t1 = _this.get$_endIndex(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = realIndex >= t1; - } else - t1 = true; - if (t1) - throw H.wrapException(P.IndexError$(index, _this, "index", null, null)); - return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); + JSString__isWhitespace(codeUnit) { + if (codeUnit < 256) + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } }, - skip$1: function(_, count) { - var t1, newStart, endOrLength, _this = this; - P.RangeError_checkNotNegative(count, "count"); - t1 = _this.__internal$_start; - if (typeof t1 !== "number") - return t1.$add(); - if (typeof count !== "number") - return H.iae(count); - newStart = t1 + count; - endOrLength = _this._endOrLength; - if (endOrLength != null && newStart >= endOrLength) - return new H.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>")); - return H.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1); + JSString__skipLeadingWhitespace(string, index) { + var t1, codeUnit; + for (t1 = string.length; index < t1;) { + codeUnit = B.JSString_methods._codeUnitAt$1(string, index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; + } + return index; }, - take$1: function(_, count) { - var endOrLength, t1, newEnd, _this = this; - P.RangeError_checkNotNegative(count, "count"); - endOrLength = _this._endOrLength; - t1 = _this.__internal$_start; - if (endOrLength == null) { - if (typeof t1 !== "number") - return t1.$add(); - return H.SubListIterable$(_this.__internal$_iterable, t1, t1 + count, _this.$ti._precomputed1); - } else { - if (typeof t1 !== "number") - return t1.$add(); - newEnd = t1 + count; - if (endOrLength < newEnd) - return _this; - return H.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); + JSString__skipTrailingWhitespace(string, index) { + var index0, codeUnit; + for (; index > 0; index = index0) { + index0 = index - 1; + codeUnit = B.JSString_methods.codeUnitAt$1(string, index0); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; } + return index; }, - toList$1$growable: function(_, growable) { - var t3, $length, result, i, _this = this, - start = _this.__internal$_start, - t1 = _this.__internal$_iterable, - t2 = J.getInterceptor$asx(t1), - end = t2.get$length(t1), - endOrLength = _this._endOrLength; - if (endOrLength != null) { - if (typeof end !== "number") - return H.iae(end); - t3 = endOrLength < end; - } else - t3 = false; - if (t3) - end = endOrLength; - if (typeof end !== "number") - return end.$sub(); - if (typeof start !== "number") - return H.iae(start); - $length = end - start; - if ($length <= 0) { - t1 = _this.$ti._precomputed1; - return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + getInterceptor$(receiver) { + if (typeof receiver == "number") { + if (Math.floor(receiver) == receiver) + return J.JSInt.prototype; + return J.JSNumNotInt.prototype; } - result = P.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1); - for (i = 1; i < $length; ++i) { - C.JSArray_methods.$indexSet(result, i, t2.elementAt$1(t1, start + i)); - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < end) - throw H.wrapException(P.ConcurrentModificationError$(_this)); + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return J.JSNull.prototype; + if (typeof receiver == "boolean") + return J.JSBool.prototype; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; } - return result; + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - } - }; - H.ListIterator.prototype = { - get$current: function(_) { - return this.__internal$_current; + getInterceptor$ansx(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - moveNext$0: function() { - var t3, _this = this, - t1 = _this.__internal$_iterable, - t2 = J.getInterceptor$asx(t1), - $length = t2.get$length(t1); - if (_this.__internal$_length != $length) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - t3 = _this.__internal$_index; - if (typeof $length !== "number") - return H.iae($length); - if (t3 >= $length) { - _this.set$__internal$_current(null); - return false; + getInterceptor$asx(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; } - _this.set$__internal$_current(t2.elementAt$1(t1, t3)); - ++_this.__internal$_index; - return true; + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - set$__internal$_current: function(_current) { - this.__internal$_current = this.$ti._eval$1("1?")._as(_current); + getInterceptor$ax(receiver) { + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - $isIterator: 1 - }; - H.MappedIterable.prototype = { - get$iterator: function(_) { - var t1 = H._instanceType(this); - return new H.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); + getInterceptor$n(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; }, - get$length: function(_) { - return J.get$length$asx(this.__internal$_iterable); + getInterceptor$ns(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this.__internal$_iterable); + getInterceptor$s(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; }, - get$first: function(_) { - return this._f.call$1(J.get$first$ax(this.__internal$_iterable)); + getInterceptor$x(receiver) { + if (receiver == null) + return receiver; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - get$last: function(_) { - return this._f.call$1(J.get$last$ax(this.__internal$_iterable)); + getInterceptor$z(receiver) { + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; }, - get$single: function(_) { - return this._f.call$1(J.get$single$ax(this.__internal$_iterable)); + set$_innerHtml$x(receiver, value) { + return J.getInterceptor$x(receiver).set$_innerHtml(receiver, value); }, - elementAt$1: function(_, index) { - return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); - } - }; - H.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; - H.MappedIterator.prototype = { - moveNext$0: function() { - var _this = this, - t1 = _this._iterator; - if (t1.moveNext$0()) { - _this.set$__internal$_current(_this._f.call$1(t1.get$current(t1))); - return true; - } - _this.set$__internal$_current(null); - return false; + set$dartComponentVersion$x(receiver, value) { + return J.getInterceptor$x(receiver).set$dartComponentVersion(receiver, value); }, - get$current: function(_) { - return this.__internal$_current; + set$dartStackTrace$x(receiver, value) { + return J.getInterceptor$x(receiver).set$dartStackTrace(receiver, value); }, - set$__internal$_current: function(_current) { - this.__internal$_current = this.$ti._eval$1("2?")._as(_current); - } - }; - H.MappedListIterable.prototype = { - get$length: function(_) { - return J.get$length$asx(this._source); + set$disabled$z(receiver, value) { + return J.getInterceptor$z(receiver).set$disabled(receiver, value); }, - elementAt$1: function(_, index) { - return this._f.call$1(J.elementAt$1$ax(this._source, index)); - } - }; - H.WhereIterable.prototype = { - get$iterator: function(_) { - return new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); + set$display$z(receiver, value) { + return J.getInterceptor$z(receiver).set$display(receiver, value); }, - map$1$1: function(_, f, $T) { - var t1 = this.$ti; - return new H.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + set$displayName$x(receiver, value) { + return J.getInterceptor$x(receiver).set$displayName(receiver, value); }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - } - }; - H.WhereIterator.prototype = { - moveNext$0: function() { - var t1, t2; - for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) - if (H.boolConversionCheck(t2.call$1(t1.get$current(t1)))) - return true; - return false; + set$height$x(receiver, value) { + return J.getInterceptor$x(receiver).set$height(receiver, value); }, - get$current: function(_) { - var t1 = this._iterator; - return t1.get$current(t1); - } - }; - H.ExpandIterable.prototype = { - get$iterator: function(_) { - var t1 = this.$ti; - return new H.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, C.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); - } - }; - H.ExpandIterator.prototype = { - get$current: function(_) { - return this.__internal$_current; + set$key$z(receiver, value) { + return J.getInterceptor$z(receiver).set$key(receiver, value); }, - moveNext$0: function() { - var t1, t2, _this = this; - if (_this._currentExpansion == null) - return false; - for (t1 = _this._iterator, t2 = _this._f; !_this._currentExpansion.moveNext$0();) { - _this.set$__internal$_current(null); - if (t1.moveNext$0()) { - _this.set$_currentExpansion(null); - _this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current(t1)))); - } else - return false; - } - t1 = _this._currentExpansion; - _this.set$__internal$_current(t1.get$current(t1)); - return true; + set$length$asx(receiver, value) { + return J.getInterceptor$asx(receiver).set$length(receiver, value); }, - set$_currentExpansion: function(_currentExpansion) { - this._currentExpansion = this.$ti._eval$1("Iterator<2>?")._as(_currentExpansion); + set$props$x(receiver, value) { + return J.getInterceptor$x(receiver).set$props(receiver, value); }, - set$__internal$_current: function(_current) { - this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + set$render$x(receiver, value) { + return J.getInterceptor$x(receiver).set$render(receiver, value); }, - $isIterator: 1 - }; - H.TakeIterable.prototype = { - get$iterator: function(_) { - return new H.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, H._instanceType(this)._eval$1("TakeIterator<1>")); - } - }; - H.EfficientLengthTakeIterable.prototype = { - get$length: function(_) { - var iterableLength = J.get$length$asx(this.__internal$_iterable), - t1 = this._takeCount; - if (typeof iterableLength !== "number") - return iterableLength.$gt(); - if (iterableLength > t1) - return t1; - return iterableLength; + set$show$z(receiver, value) { + return J.getInterceptor$z(receiver).set$show(receiver, value); }, - $isEfficientLengthIterable: 1 - }; - H.TakeIterator.prototype = { - moveNext$0: function() { - if (--this._remaining >= 0) - return this._iterator.moveNext$0(); - this._remaining = -1; - return false; + set$src$x(receiver, value) { + return J.getInterceptor$x(receiver).set$src(receiver, value); }, - get$current: function(_) { - var t1; - if (this._remaining < 0) - return null; - t1 = this._iterator; - return t1.get$current(t1); - } - }; - H.TakeWhileIterable.prototype = { - get$iterator: function(_) { - return new H.TakeWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("TakeWhileIterator<1>")); - } - }; - H.TakeWhileIterator.prototype = { - moveNext$0: function() { - var t1, _this = this; - if (_this._isFinished) - return false; - t1 = _this._iterator; - if (!t1.moveNext$0() || !H.boolConversionCheck(_this._f.call$1(t1.get$current(t1)))) { - _this._isFinished = true; - return false; - } - return true; + set$state$x(receiver, value) { + return J.getInterceptor$x(receiver).set$state(receiver, value); }, - get$current: function(_) { - var t1; - if (this._isFinished) - return null; - t1 = this._iterator; - return t1.get$current(t1); - } - }; - H.SkipIterable.prototype = { - skip$1: function(_, count) { - var t1 = this._skipCount; - if (count == null) - H.throwExpression(P.ArgumentError$notNull("count")); - P.RangeError_checkNotNegative(count, "count"); - if (typeof t1 !== "number") - return t1.$add(); - if (typeof count !== "number") - return H.iae(count); - return new H.SkipIterable(this.__internal$_iterable, t1 + count, H._instanceType(this)._eval$1("SkipIterable<1>")); + set$store$z(receiver, value) { + return J.getInterceptor$z(receiver).set$store(receiver, value); }, - get$iterator: function(_) { - return new H.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, H._instanceType(this)._eval$1("SkipIterator<1>")); - } - }; - H.EfficientLengthSkipIterable.prototype = { - get$length: function(_) { - var $length, - t1 = J.get$length$asx(this.__internal$_iterable), - t2 = this._skipCount; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - $length = t1 - t2; - if ($length >= 0) - return $length; - return 0; + set$value$x(receiver, value) { + return J.getInterceptor$x(receiver).set$value(receiver, value); }, - skip$1: function(_, count) { - var t1 = this._skipCount; - if (count == null) - H.throwExpression(P.ArgumentError$notNull("count")); - P.RangeError_checkNotNegative(count, "count"); - if (typeof t1 !== "number") - return t1.$add(); - if (typeof count !== "number") - return H.iae(count); - return new H.EfficientLengthSkipIterable(this.__internal$_iterable, t1 + count, this.$ti); + set$width$x(receiver, value) { + return J.getInterceptor$x(receiver).set$width(receiver, value); }, - $isEfficientLengthIterable: 1 - }; - H.SkipIterator.prototype = { - moveNext$0: function() { - var t2, - t1 = this._iterator, - i = 0; - while (true) { - t2 = this._skipCount; - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t1.moveNext$0(); - ++i; - } - this._skipCount = 0; - return t1.moveNext$0(); + get$attributes$x(receiver) { + return J.getInterceptor$x(receiver).get$attributes(receiver); }, - get$current: function(_) { - var t1 = this._iterator; - return t1.get$current(t1); - } - }; - H.SkipWhileIterable.prototype = { - get$iterator: function(_) { - return new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); - } - }; - H.SkipWhileIterator.prototype = { - moveNext$0: function() { - var t1, t2, _this = this; - if (!_this._hasSkipped) { - _this._hasSkipped = true; - for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) - if (!H.boolConversionCheck(t2.call$1(t1.get$current(t1)))) - return true; - } - return _this._iterator.moveNext$0(); + get$buffer$x(receiver) { + return J.getInterceptor$x(receiver).get$buffer(receiver); }, - get$current: function(_) { - var t1 = this._iterator; - return t1.get$current(t1); - } - }; - H.EmptyIterable.prototype = { - get$iterator: function(_) { - return C.C_EmptyIterator; + get$button$x(receiver) { + return J.getInterceptor$x(receiver).get$button(receiver); }, - forEach$1: function(_, action) { - this.$ti._eval$1("~(1)")._as(action); + get$checked$x(receiver) { + return J.getInterceptor$x(receiver).get$checked(receiver); }, - get$isEmpty: function(_) { - return true; + get$classes$x(receiver) { + return J.getInterceptor$x(receiver).get$classes(receiver); }, - get$length: function(_) { - return 0; + get$componentStack$x(receiver) { + return J.getInterceptor$x(receiver).get$componentStack(receiver); }, - get$first: function(_) { - throw H.wrapException(H.IterableElementError_noElement()); + get$ctrlKey$x(receiver) { + return J.getInterceptor$x(receiver).get$ctrlKey(receiver); }, - get$last: function(_) { - throw H.wrapException(H.IterableElementError_noElement()); + get$current$x(receiver) { + return J.getInterceptor$x(receiver).get$current(receiver); }, - get$single: function(_) { - throw H.wrapException(H.IterableElementError_noElement()); + get$currentTarget$x(receiver) { + return J.getInterceptor$x(receiver).get$currentTarget(receiver); }, - elementAt$1: function(_, index) { - throw H.wrapException(P.RangeError$range(index, 0, 0, "index", null)); + get$dartComponent$x(receiver) { + return J.getInterceptor$x(receiver).get$dartComponent(receiver); }, - contains$1: function(_, element) { - return false; + get$dartComponentVersion$x(receiver) { + return J.getInterceptor$x(receiver).get$dartComponentVersion(receiver); }, - every$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return true; + get$defaultProps$x(receiver) { + return J.getInterceptor$x(receiver).get$defaultProps(receiver); }, - join$1: function(_, separator) { - return ""; + get$displayName$x(receiver) { + return J.getInterceptor$x(receiver).get$displayName(receiver); }, - where$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return this; + get$entries$x(receiver) { + return J.getInterceptor$x(receiver).get$entries(receiver); }, - map$1$1: function(_, f, $T) { - this.$ti._bind$1($T)._eval$1("1(2)")._as(f); - return new H.EmptyIterable($T._eval$1("EmptyIterable<0>")); + get$first$ax(receiver) { + return J.getInterceptor$ax(receiver).get$first(receiver); }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + get$hashCode$(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); }, - skip$1: function(_, count) { - P.RangeError_checkNotNegative(count, "count"); - return this; + get$hex$x(receiver) { + return J.getInterceptor$x(receiver).get$hex(receiver); }, - take$1: function(_, count) { - P.RangeError_checkNotNegative(count, "count"); - return this; + get$innerHtml$x(receiver) { + return J.getInterceptor$x(receiver).get$innerHtml(receiver); }, - toList$1$growable: function(_, growable) { - var t1 = this.$ti._precomputed1; - return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + get$isEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + get$isNotEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); }, - toSet$0: function(_) { - return P.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); - } - }; - H.EmptyIterator.prototype = { - moveNext$0: function() { - return false; + get$iterator$ax(receiver) { + return J.getInterceptor$ax(receiver).get$iterator(receiver); }, - get$current: function(_) { - throw H.wrapException(H.IterableElementError_noElement()); + get$keyCode$x(receiver) { + return J.getInterceptor$x(receiver).get$keyCode(receiver); }, - $isIterator: 1 - }; - H.WhereTypeIterable.prototype = { - get$iterator: function(_) { - return new H.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); - } - }; - H.WhereTypeIterator.prototype = { - moveNext$0: function() { - var t1, t2; - for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) - if (t2._is(t1.get$current(t1))) - return true; - return false; + get$keys$x(receiver) { + return J.getInterceptor$x(receiver).get$keys(receiver); }, - get$current: function(_) { - var t1 = this._source; - return this.$ti._precomputed1._as(t1.get$current(t1)); + get$last$ax(receiver) { + return J.getInterceptor$ax(receiver).get$last(receiver); }, - $isIterator: 1 - }; - H.FixedLengthListMixin.prototype = { - set$length: function(receiver, newLength) { - throw H.wrapException(P.UnsupportedError$("Cannot change the length of a fixed-length list")); + get$length$asx(receiver) { + return J.getInterceptor$asx(receiver).get$length(receiver); }, - add$1: function(receiver, value) { - H.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + get$message$x(receiver) { + return J.getInterceptor$x(receiver).get$message(receiver); }, - insert$2: function(receiver, index, value) { - H.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + get$metaKey$x(receiver) { + return J.getInterceptor$x(receiver).get$metaKey(receiver); }, - insertAll$2: function(receiver, at, iterable) { - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + get$nativeEvent$x(receiver) { + return J.getInterceptor$x(receiver).get$nativeEvent(receiver); }, - addAll$1: function(receiver, iterable) { - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + get$nodeType$x(receiver) { + return J.getInterceptor$x(receiver).get$nodeType(receiver); }, - remove$1: function(receiver, element) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + get$offset$x(receiver) { + return J.getInterceptor$x(receiver).get$offset(receiver); }, - removeWhere$1: function(receiver, test) { - H.instanceType(receiver)._eval$1("bool(FixedLengthListMixin.E)")._as(test); - throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + get$onClick$x(receiver) { + return J.getInterceptor$x(receiver).get$onClick(receiver); }, - clear$0: function(receiver) { - throw H.wrapException(P.UnsupportedError$("Cannot clear a fixed-length list")); + get$onMouseDown$x(receiver) { + return J.getInterceptor$x(receiver).get$onMouseDown(receiver); }, - removeAt$1: function(receiver, index) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + get$onTouchStart$x(receiver) { + return J.getInterceptor$x(receiver).get$onTouchStart(receiver); }, - removeLast$0: function(receiver) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + get$props$x(receiver) { + return J.getInterceptor$x(receiver).get$props(receiver); }, - removeRange$2: function(receiver, start, end) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); - } - }; - H.UnmodifiableListMixin.prototype = { - $indexSet: function(_, index, value) { - H._asIntS(index); - H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + get$reversed$ax(receiver) { + return J.getInterceptor$ax(receiver).get$reversed(receiver); }, - set$length: function(_, newLength) { - throw H.wrapException(P.UnsupportedError$("Cannot change the length of an unmodifiable list")); + get$runtimeType$(receiver) { + return J.getInterceptor$(receiver).get$runtimeType(receiver); }, - setAll$2: function(_, at, iterable) { - H._instanceType(this)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + get$setRequestHeader$x(receiver) { + return J.getInterceptor$x(receiver).get$setRequestHeader(receiver); }, - add$1: function(_, value) { - H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + get$shiftKey$x(receiver) { + return J.getInterceptor$x(receiver).get$shiftKey(receiver); }, - insert$2: function(_, index, element) { - H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(element); - throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + get$single$ax(receiver) { + return J.getInterceptor$ax(receiver).get$single(receiver); }, - insertAll$2: function(_, at, iterable) { - H._instanceType(this)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + get$source$z(receiver) { + return J.getInterceptor$z(receiver).get$source(receiver); }, - addAll$1: function(_, iterable) { - H._instanceType(this)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + get$target$x(receiver) { + return J.getInterceptor$x(receiver).get$target(receiver); }, - remove$1: function(_, element) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + get$type$x(receiver) { + return J.getInterceptor$x(receiver).get$type(receiver); }, - removeWhere$1: function(_, test) { - H._instanceType(this)._eval$1("bool(UnmodifiableListMixin.E)")._as(test); - throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + get$value$x(receiver) { + return J.getInterceptor$x(receiver).get$value(receiver); }, - sort$1: function(_, compare) { - H._instanceType(this)._eval$1("int(UnmodifiableListMixin.E,UnmodifiableListMixin.E)?")._as(compare); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + get$values$x(receiver) { + return J.getInterceptor$x(receiver).get$values(receiver); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + get$which$x(receiver) { + return J.getInterceptor$x(receiver).get$which(receiver); }, - clear$0: function(_) { - throw H.wrapException(P.UnsupportedError$("Cannot clear an unmodifiable list")); + $add$ansx(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver + a0; + return J.getInterceptor$ansx(receiver).$add(receiver, a0); }, - removeAt$1: function(_, index) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + $eq$(receiver, a0) { + if (receiver == null) + return a0 == null; + if (typeof receiver != "object") + return a0 != null && receiver === a0; + return J.getInterceptor$(receiver).$eq(receiver, a0); }, - removeLast$0: function(_) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + $index$asx(receiver, a0) { + if (typeof a0 === "number") + if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) + if (a0 >>> 0 === a0 && a0 < receiver.length) + return receiver[a0]; + return J.getInterceptor$asx(receiver).$index(receiver, a0); }, - setRange$4: function(_, start, end, iterable, skipCount) { - H._asIntS(end); - H._instanceType(this)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + $indexSet$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + $sub$n(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver - a0; + return J.getInterceptor$n(receiver).$sub(receiver, a0); }, - removeRange$2: function(_, start, end) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + _codeUnitAt$1$s(receiver, a0) { + return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0); }, - fillRange$3: function(_, start, end, fillValue) { - H._instanceType(this)._eval$1("UnmodifiableListMixin.E?")._as(fillValue); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); - } - }; - H.UnmodifiableListBase.prototype = {}; - H.ReversedListIterable.prototype = { - get$length: function(_) { - return J.get$length$asx(this._source); + _initMouseEvent_1$15$x(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) { + return J.getInterceptor$x(receiver)._initMouseEvent_1$15(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }, - elementAt$1: function(_, index) { - var t1 = this._source, - t2 = J.getInterceptor$asx(t1), - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof index !== "number") - return H.iae(index); - return t2.elementAt$1(t1, t3 - 1 - index); - } - }; - H.Symbol.prototype = { - get$hashCode: function(_) { - var hash = this._hashCode; - if (hash != null) - return hash; - hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911; - this._hashCode = hash; - return hash; + _replaceChild$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); }, - toString$0: function(_) { - return 'Symbol("' + H.S(this.__internal$_name) + '")'; + add$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).add$1(receiver, a0); }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof H.Symbol && this.__internal$_name == other.__internal$_name; + addAll$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); }, - $isSymbol0: 1 - }; - H.__CastListBase__CastIterableBase_ListMixin.prototype = {}; - H.ConstantMapView.prototype = {}; - H.ConstantMap.prototype = { - cast$2$0: function(_, RK, RV) { - var t1 = H._instanceType(this); - return P.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV); + addEventListener$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); }, - get$isEmpty: function(_) { - return this.get$length(this) === 0; + addEventListener$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); }, - get$isNotEmpty: function(_) { - return this.get$length(this) !== 0; + allMatches$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + allMatches$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); }, - $indexSet: function(_, key, val) { - var t1 = H._instanceType(this); - t1._precomputed1._as(key); - t1._rest[1]._as(val); - H.ConstantMap__throwUnmodifiable(); - H.ReachabilityError$(string$.x60null_); + asByteData$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1); }, - remove$1: function(_, key) { - H.ConstantMap__throwUnmodifiable(); - H.ReachabilityError$(string$.x60null_); + asUint8List$0$x(receiver) { + return J.getInterceptor$x(receiver).asUint8List$0(receiver); }, - get$entries: function(_) { - return this.entries$body$ConstantMap(_, H._instanceType(this)._eval$1("MapEntry<1,2>")); + asUint8List$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1); }, - entries$body$ConstantMap: function($async$_, $async$type) { - var $async$self = this; - return P._makeSyncStarIterable(function() { - var _ = $async$_; - var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key, t3; - return function $async$get$entries($async$errorCode, $async$result) { - if ($async$errorCode === 1) { - $async$currentError = $async$result; - $async$goto = $async$handler; - } - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = H._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>"); - case 2: - // for condition - if (!t1.moveNext$0()) { - // goto after for - $async$goto = 3; - break; - } - key = t1.get$current(t1); - t3 = $async$self.$index(0, key); - t3.toString; - $async$goto = 4; - return new P.MapEntry(key, t3, t2); - case 4: - // after yield - // goto for condition - $async$goto = 2; - break; - case 3: - // after for - // implicit return - return P._IterationMarker_endOfIteration(); - case 1: - // rethrow - return P._IterationMarker_uncaughtError($async$currentError); - } - }; - }, $async$type); + cast$1$0$ax(receiver, $T1) { + return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); }, - map$2$1: function(_, transform, K2, V2) { - var result = P.LinkedHashMap_LinkedHashMap$_empty(K2, V2); - this.forEach$1(0, new H.ConstantMap_map_closure(this, H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), result)); - return result; + cast$2$0$ax(receiver, $T1, $T2) { + return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); }, - map$1: function($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + click$0$x(receiver) { + return J.getInterceptor$x(receiver).click$0(receiver); }, - removeWhere$1: function(_, test) { - H._instanceType(this)._eval$1("bool(1,2)")._as(test); - H.ConstantMap__throwUnmodifiable(); - H.ReachabilityError$(string$.x60null_); + close$0$z(receiver) { + return J.getInterceptor$z(receiver).close$0(receiver); }, - $isMap: 1 - }; - H.ConstantMap_map_closure.prototype = { - call$2: function(key, value) { - var t1 = H._instanceType(this.$this), - entry = this.transform.call$2(t1._precomputed1._as(key), t1._rest[1]._as(value)); - this.result.$indexSet(0, entry.key, entry.value); + codeUnitAt$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("~(1,2)"); - } - }; - H.ConstantStringMap.prototype = { - get$length: function(_) { - return this.__js_helper$_length; + compareTo$1$ns(receiver, a0) { + return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); }, - containsKey$1: function(_, key) { - if (typeof key != "string") - return false; - if ("__proto__" === key) - return false; - return this._jsObject.hasOwnProperty(key); + contains$1$asx(receiver, a0) { + return J.getInterceptor$asx(receiver).contains$1(receiver, a0); }, - $index: function(_, key) { - if (!this.containsKey$1(0, key)) - return null; - return this._fetch$1(key); + contains$2$asx(receiver, a0, a1) { + return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1); }, - _fetch$1: function(key) { - return this._jsObject[H._asStringS(key)]; + containsKey$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); }, - forEach$1: function(_, f) { - var keys, t2, i, key, - t1 = H._instanceType(this); - t1._eval$1("~(1,2)")._as(f); - keys = this.__js_helper$_keys; - for (t2 = keys.length, t1 = t1._rest[1], i = 0; i < t2; ++i) { - key = keys[i]; - f.call$2(key, t1._as(this._fetch$1(key))); - } + drawImage$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).drawImage$3(receiver, a0, a1, a2); }, - get$keys: function(_) { - return new H._ConstantMapKeyIterable(this, H._instanceType(this)._eval$1("_ConstantMapKeyIterable<1>")); + elementAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); }, - get$values: function(_) { - var t1 = H._instanceType(this); - return H.MappedIterable_MappedIterable(this.__js_helper$_keys, new H.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]); - } - }; - H.ConstantStringMap_values_closure.prototype = { - call$1: function(key) { - var t1 = this.$this, - t2 = H._instanceType(t1); - return t2._rest[1]._as(t1._fetch$1(t2._precomputed1._as(key))); + endsWith$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("2(1)"); - } - }; - H._ConstantMapKeyIterable.prototype = { - get$iterator: function(_) { - var t1 = this._map.__js_helper$_keys; - return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + expand$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); }, - get$length: function(_) { - return this._map.__js_helper$_keys.length; - } - }; - H.GeneralConstantMap.prototype = { - _getMap$0: function() { - var t1, _this = this, - backingMap = _this.$map; - if (backingMap == null) { - t1 = _this.$ti; - backingMap = new H.JsLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("JsLinkedHashMap<1,2>")); - H.fillLiteralMap(_this._jsData, backingMap); - _this.$map = backingMap; - } - return backingMap; + firstWhere$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).firstWhere$1(receiver, a0); }, - containsKey$1: function(_, key) { - return this._getMap$0().containsKey$1(0, key); + forEach$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); }, - $index: function(_, key) { - return this._getMap$0().$index(0, key); + getBoundingClientRect$0$x(receiver) { + return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); }, - forEach$1: function(_, f) { - this.$ti._eval$1("~(1,2)")._as(f); - this._getMap$0().forEach$1(0, f); + getRange$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); }, - get$keys: function(_) { - var t1 = this._getMap$0(); - return t1.get$keys(t1); + getUint32$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1); }, - get$values: function(_) { - var t1 = this._getMap$0(); - return t1.get$values(t1); + indexOf$1$asx(receiver, a0) { + return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); }, - get$length: function(_) { - var t1 = this._getMap$0(); - return t1.get$length(t1); - } - }; - H.Instantiation.prototype = { - Instantiation$1: function(_genericClosure) { - if (false) - H.instantiatedGenericFunctionType(0, 0); + indexOf$2$asx(receiver, a0, a1) { + return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); }, - toString$0: function(_) { - var types = "<" + C.JSArray_methods.join$1([H.createRuntimeType(this.$ti._precomputed1)], ", ") + ">"; - return H.S(this._genericClosure) + " with " + types; - } - }; - H.Instantiation1.prototype = { - call$2: function(a0, a1) { - return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); + insert$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); }, - call$0: function() { - return this._genericClosure.call$1$0(this.$ti._rest[0]); + insertAll$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); }, - $signature: function() { - return H.instantiatedGenericFunctionType(H.closureFunctionType(this._genericClosure), this.$ti); - } - }; - H.JSInvocationMirror.prototype = { - get$memberName: function() { - var t1 = this._memberName; - if (type$.Symbol._is(t1)) - return t1; - return this._memberName = new H.Symbol(H._asStringS(t1)); + insertAllBefore$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); }, - get$positionalArguments: function() { - var t1, t2, t3, t4, t5, argumentCount, list, index, _this = this; - if (_this.__js_helper$_kind === 1) - return C.List_empty; - t1 = _this._arguments; - t2 = J.getInterceptor$asx(t1); - t3 = t2.get$length(t1); - t4 = J.get$length$asx(_this._namedArgumentNames); - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t5 = _this._typeArgumentCount; - if (typeof t5 !== "number") - return H.iae(t5); - argumentCount = t3 - t4 - t5; - if (argumentCount === 0) - return C.List_empty; - list = []; - for (index = 0; index < argumentCount; ++index) - list.push(t2.$index(t1, index)); - return J.JSArray_markUnmodifiableList(list); + insertBefore$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertBefore$2(receiver, a0, a1); }, - get$namedArguments: function() { - var t1, t2, namedArgumentCount, t3, t4, t5, t6, namedArgumentsStartIndex, map, i, _this = this; - if (_this.__js_helper$_kind !== 0) - return C.Map_empty4; - t1 = _this._namedArgumentNames; - t2 = J.getInterceptor$asx(t1); - namedArgumentCount = t2.get$length(t1); - t3 = _this._arguments; - t4 = J.getInterceptor$asx(t3); - t5 = t4.get$length(t3); - if (typeof t5 !== "number") - return t5.$sub(); - if (typeof namedArgumentCount !== "number") - return H.iae(namedArgumentCount); - t6 = _this._typeArgumentCount; - if (typeof t6 !== "number") - return H.iae(t6); - namedArgumentsStartIndex = t5 - namedArgumentCount - t6; - if (namedArgumentCount === 0) - return C.Map_empty4; - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); - for (i = 0; i < namedArgumentCount; ++i) - map.$indexSet(0, new H.Symbol(H._asStringS(t2.$index(t1, i))), t4.$index(t3, namedArgumentsStartIndex + i)); - return new H.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); + join$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).join$1(receiver, a0); }, - $isInvocation: 1 - }; - H.Primitives_functionNoSuchMethod_closure.prototype = { - call$2: function($name, argument) { - var t1; - H._asStringS($name); - t1 = this._box_0; - t1.names = t1.names + "$" + H.S($name); - C.JSArray_methods.add$1(this.namedArgumentList, $name); - C.JSArray_methods.add$1(this.$arguments, argument); - ++t1.argumentCount; + map$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).map$1(receiver, a0); }, - $signature: 31 - }; - H.TypeErrorDecoder.prototype = { - matchTypeError$1: function(message) { - var result, t1, _this = this, - match = new RegExp(_this._pattern).exec(message); - if (match == null) - return null; - result = Object.create(null); - t1 = _this._arguments; - if (t1 !== -1) - result.arguments = match[t1 + 1]; - t1 = _this._argumentsExpr; - if (t1 !== -1) - result.argumentsExpr = match[t1 + 1]; - t1 = _this._expr; - if (t1 !== -1) - result.expr = match[t1 + 1]; - t1 = _this._method; - if (t1 !== -1) - result.method = match[t1 + 1]; - t1 = _this._receiver; - if (t1 !== -1) - result.receiver = match[t1 + 1]; - return result; - } - }; - H.NullError.prototype = { - toString$0: function(_) { - var t1 = this._method; - if (t1 == null) - return "NoSuchMethodError: " + H.S(this.__js_helper$_message); - return "NoSuchMethodError: method not found: '" + t1 + "' on null"; + map$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); }, - $isNoSuchMethodError: 1 - }; - H.JsNoSuchMethodError.prototype = { - toString$0: function(_) { - var t2, _this = this, - _s38_ = "NoSuchMethodError: method not found: '", - t1 = _this._method; - if (t1 == null) - return "NoSuchMethodError: " + H.S(_this.__js_helper$_message); - t2 = _this._receiver; - if (t2 == null) - return _s38_ + t1 + "' (" + H.S(_this.__js_helper$_message) + ")"; - return _s38_ + t1 + "' on '" + t2 + "' (" + H.S(_this.__js_helper$_message) + ")"; + map$2$1$ax(receiver, a0, $T1, $T2) { + return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); }, - $isNoSuchMethodError: 1 - }; - H.UnknownJsTypeError.prototype = { - toString$0: function(_) { - var t1 = this.__js_helper$_message; - return t1.length === 0 ? "Error" : "Error: " + t1; - } - }; - H.NullThrownFromJavaScriptException.prototype = { - toString$0: function(_) { - return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; + matchAsPrefix$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); }, - $isException: 1 - }; - H.ExceptionAndStackTrace.prototype = { - get$stackTrace: function() { - return this.stackTrace; - } - }; - H._StackTrace.prototype = { - toString$0: function(_) { - var trace, - t1 = this._trace; - if (t1 != null) - return t1; - t1 = this._exception; - trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; - return this._trace = trace == null ? "" : trace; + matches$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).matches$1(receiver, a0); }, - $isStackTrace: 1 - }; - H.Closure.prototype = { - toString$0: function(_) { - var $constructor = this.constructor, - $name = $constructor == null ? null : $constructor.name; - return "Closure '" + H.unminifyOrTag($name == null ? "unknown" : $name) + "'"; + matchesWithAncestors$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); }, - $isFunction: 1, - get$$call: function() { - return this; + noSuchMethod$1$(receiver, a0) { + return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); }, - "call*": "call$1", - $requiredArgCount: 1, - $defaultValues: null - }; - H.TearOffClosure.prototype = {}; - H.StaticClosure.prototype = { - toString$0: function(_) { - var $name = this.$static_name; - if ($name == null) - return "Closure of unknown static method"; - return "Closure '" + H.unminifyOrTag($name) + "'"; - } - }; - H.BoundClosure.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (_this === other) - return true; - if (!(other instanceof H.BoundClosure)) - return false; - return _this._self === other._self && _this._target === other._target && _this._receiver === other._receiver; + postMessage$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); }, - get$hashCode: function(_) { - var receiverHashCode, - t1 = this._receiver; - if (t1 == null) - receiverHashCode = H.Primitives_objectHashCode(this._self); - else - receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primitives_objectHashCode(t1); - t1 = H.Primitives_objectHashCode(this._target); - if (typeof receiverHashCode !== "number") - return receiverHashCode.$xor(); - return (receiverHashCode ^ t1) >>> 0; + preventDefault$0$x(receiver) { + return J.getInterceptor$x(receiver).preventDefault$0(receiver); }, - toString$0: function(_) { - var receiver = this._receiver; - if (receiver == null) - receiver = this._self; - return "Closure '" + H.S(this._name) + "' of " + ("Instance of '" + H.S(H.Primitives_objectTypeName(receiver)) + "'"); - } - }; - H.RuntimeError.prototype = { - toString$0: function(_) { - return "RuntimeError: " + this.message; + remove$0$ax(receiver) { + return J.getInterceptor$ax(receiver).remove$0(receiver); }, - get$message: function(receiver) { - return this.message; - } - }; - H._AssertionError.prototype = { - toString$0: function(_) { - return "Assertion failed: " + P.Error_safeToString(this.message); - } - }; - H._Required.prototype = {}; - H.JsLinkedHashMap.prototype = { - get$length: function(_) { - return this.__js_helper$_length; + remove$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).remove$1(receiver, a0); }, - get$isEmpty: function(_) { - return this.__js_helper$_length === 0; + removeAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); }, - get$isNotEmpty: function(_) { - return !this.get$isEmpty(this); + removeEventListener$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); }, - get$keys: function(_) { - return new H.LinkedHashMapKeyIterable(this, H._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); + removeEventListener$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); }, - get$values: function(_) { - var _this = this, - t1 = H._instanceType(_this); - return H.MappedIterable_MappedIterable(_this.get$keys(_this), new H.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]); + removeLast$0$ax(receiver) { + return J.getInterceptor$ax(receiver).removeLast$0(receiver); }, - containsKey$1: function(_, key) { - var strings, nums, _this = this; - if (typeof key == "string") { - strings = _this._strings; - if (strings == null) - return false; - return _this._containsTableEntry$2(strings, key); - } else if (typeof key == "number" && (key & 0x3ffffff) === key) { - nums = _this._nums; - if (nums == null) - return false; - return _this._containsTableEntry$2(nums, key); - } else - return _this.internalContainsKey$1(key); + removeRange$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); }, - internalContainsKey$1: function(key) { - var _this = this, - rest = _this.__js_helper$_rest; - if (rest == null) - return false; - return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0; + removeWhere$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); }, - addAll$1: function(_, other) { - J.forEach$1$ax(H._instanceType(this)._eval$1("Map<1,2>")._as(other), new H.JsLinkedHashMap_addAll_closure(this)); + replaceWith$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); }, - $index: function(_, key) { - var strings, cell, t1, nums, _this = this, _null = null; - if (typeof key == "string") { - strings = _this._strings; - if (strings == null) - return _null; - cell = _this._getTableCell$2(strings, key); - t1 = cell == null ? _null : cell.hashMapCellValue; - return t1; - } else if (typeof key == "number" && (key & 0x3ffffff) === key) { - nums = _this._nums; - if (nums == null) - return _null; - cell = _this._getTableCell$2(nums, key); - t1 = cell == null ? _null : cell.hashMapCellValue; - return t1; - } else - return _this.internalGet$1(key); + round$0$n(receiver) { + return J.getInterceptor$n(receiver).round$0(receiver); }, - internalGet$1: function(key) { - var bucket, index, _this = this, - rest = _this.__js_helper$_rest; - if (rest == null) - return null; - bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)); - index = _this.internalFindBucketIndex$2(bucket, key); - if (index < 0) - return null; - return bucket[index].hashMapCellValue; + send$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).send$1(receiver, a0); }, - $indexSet: function(_, key, value) { - var strings, nums, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - if (typeof key == "string") { - strings = _this._strings; - _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); - } else if (typeof key == "number" && (key & 0x3ffffff) === key) { - nums = _this._nums; - _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); - } else - _this.internalSet$2(key, value); + serializeToString$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).serializeToString$1(receiver, a0); }, - internalSet$2: function(key, value) { - var rest, hash, bucket, index, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - rest = _this.__js_helper$_rest; - if (rest == null) - rest = _this.__js_helper$_rest = _this._newHashTable$0(); - hash = _this.internalComputeHashCode$1(key); - bucket = _this._getTableBucket$2(rest, hash); - if (bucket == null) - _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]); - else { - index = _this.internalFindBucketIndex$2(bucket, key); - if (index >= 0) - bucket[index].hashMapCellValue = value; - else - bucket.push(_this._newLinkedCell$2(key, value)); - } + setAll$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); }, - putIfAbsent$2: function(_, key, ifAbsent) { - var value, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._eval$1("2()")._as(ifAbsent); - if (_this.containsKey$1(0, key)) - return _this.$index(0, key); - value = ifAbsent.call$0(); - _this.$indexSet(0, key, value); - return value; + setRange$3$ax(receiver, a0, a1, a2) { + return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); }, - remove$1: function(_, key) { - var _this = this; - if (typeof key == "string") - return _this._removeHashTableEntry$2(_this._strings, key); - else if (typeof key == "number" && (key & 0x3ffffff) === key) - return _this._removeHashTableEntry$2(_this._nums, key); - else - return _this.internalRemove$1(key); + setRange$4$ax(receiver, a0, a1, a2, a3) { + return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); }, - internalRemove$1: function(key) { - var hash, bucket, index, cell, _this = this, - rest = _this.__js_helper$_rest; - if (rest == null) - return null; - hash = _this.internalComputeHashCode$1(key); - bucket = _this._getTableBucket$2(rest, hash); - index = _this.internalFindBucketIndex$2(bucket, key); - if (index < 0) - return null; - cell = bucket.splice(index, 1)[0]; - _this._unlinkCell$1(cell); - if (bucket.length === 0) - _this._deleteTableEntry$2(rest, hash); - return cell.hashMapCellValue; + setSelectionRange$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).setSelectionRange$2(receiver, a0, a1); }, - clear$0: function(_) { - var _this = this; - if (_this.__js_helper$_length > 0) { - _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; - _this.__js_helper$_length = 0; - _this._modified$0(); - } + setState$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).setState$1(receiver, a0); }, - forEach$1: function(_, action) { - var cell, modifications, _this = this; - H._instanceType(_this)._eval$1("~(1,2)")._as(action); - cell = _this._first; - modifications = _this._modifications; - for (; cell != null;) { - action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); - if (modifications !== _this._modifications) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - cell = cell._next; - } + setUint32$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).setUint32$3(receiver, a0, a1, a2); }, - _addHashTableEntry$3: function(table, key, value) { - var cell, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - cell = _this._getTableCell$2(table, key); - if (cell == null) - _this._setTableEntry$3(table, key, _this._newLinkedCell$2(key, value)); - else - cell.hashMapCellValue = value; + skip$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).skip$1(receiver, a0); }, - _removeHashTableEntry$2: function(table, key) { - var cell; - if (table == null) - return null; - cell = this._getTableCell$2(table, key); - if (cell == null) - return null; - this._unlinkCell$1(cell); - this._deleteTableEntry$2(table, key); - return cell.hashMapCellValue; + sort$0$ax(receiver) { + return J.getInterceptor$ax(receiver).sort$0(receiver); }, - _modified$0: function() { - this._modifications = this._modifications + 1 & 67108863; + sort$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).sort$1(receiver, a0); }, - _newLinkedCell$2: function(key, value) { - var _this = this, - t1 = H._instanceType(_this), - cell = new H.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value)); - if (_this._first == null) - _this._first = _this._last = cell; - else { - t1 = _this._last; - t1.toString; - cell._previous = t1; - _this._last = t1._next = cell; - } - ++_this.__js_helper$_length; - _this._modified$0(); - return cell; + startsWith$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); }, - _unlinkCell$1: function(cell) { - var _this = this, - previous = cell._previous, - next = cell._next; - if (previous == null) - _this._first = next; - else - previous._next = next; - if (next == null) - _this._last = previous; - else - next._previous = previous; - --_this.__js_helper$_length; - _this._modified$0(); + stopPropagation$0$x(receiver) { + return J.getInterceptor$x(receiver).stopPropagation$0(receiver); }, - internalComputeHashCode$1: function(key) { - return J.get$hashCode$(key) & 0x3ffffff; + sublist$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); }, - internalFindBucketIndex$2: function(bucket, key) { - var $length, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; ++i) - if (J.$eq$(bucket[i].hashMapCellKey, key)) - return i; - return -1; + sublist$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + substring$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).substring$1(receiver, a0); }, - _getTableCell$2: function(table, key) { - return table[key]; + substring$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); }, - _getTableBucket$2: function(table, key) { - return table[key]; + take$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).take$1(receiver, a0); }, - _setTableEntry$3: function(table, key, value) { - table[key] = value; + then$1$1$z(receiver, a0, $T1) { + return J.getInterceptor$z(receiver).then$1$1(receiver, a0, $T1); }, - _deleteTableEntry$2: function(table, key) { - delete table[key]; + then$1$2$onError$z(receiver, a0, a1, $T1) { + return J.getInterceptor$z(receiver).then$1$2$onError(receiver, a0, a1, $T1); }, - _containsTableEntry$2: function(table, key) { - return this._getTableCell$2(table, key) != null; + toBlob$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).toBlob$1(receiver, a0); }, - _newHashTable$0: function() { - var _s20_ = "", - table = Object.create(null); - this._setTableEntry$3(table, _s20_, table); - this._deleteTableEntry$2(table, _s20_); - return table; + toInt$0$n(receiver) { + return J.getInterceptor$n(receiver).toInt$0(receiver); }, - $isLinkedHashMap: 1 - }; - H.JsLinkedHashMap_values_closure.prototype = { - call$1: function(each) { - var t1 = this.$this; - return t1.$index(0, H._instanceType(t1)._precomputed1._as(each)); + toList$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toList$0(receiver); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("2(1)"); - } - }; - H.JsLinkedHashMap_addAll_closure.prototype = { - call$2: function(key, value) { - var t1 = this.$this, - t2 = H._instanceType(t1); - t1.$indexSet(0, t2._precomputed1._as(key), t2._rest[1]._as(value)); + toList$1$growable$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("~(1,2)"); - } - }; - H.LinkedHashMapCell.prototype = {}; - H.LinkedHashMapKeyIterable.prototype = { - get$length: function(_) { - return this._map.__js_helper$_length; + toLowerCase$0$s(receiver) { + return J.getInterceptor$s(receiver).toLowerCase$0(receiver); }, - get$isEmpty: function(_) { - return this._map.__js_helper$_length === 0; + toRadixString$1$n(receiver, a0) { + return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); }, - get$iterator: function(_) { - var t1 = this._map, - t2 = new H.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); - t2._cell = t1._first; - return t2; + toSet$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toSet$0(receiver); }, - contains$1: function(_, element) { - return this._map.containsKey$1(0, element); + toString$0$(receiver) { + return J.getInterceptor$(receiver).toString$0(receiver); }, - forEach$1: function(_, f) { - var t1, cell, modifications; - this.$ti._eval$1("~(1)")._as(f); - t1 = this._map; - cell = t1._first; - modifications = t1._modifications; - for (; cell != null;) { - f.call$1(cell.hashMapCellKey); - if (modifications !== t1._modifications) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - cell = cell._next; - } - } - }; - H.LinkedHashMapKeyIterator.prototype = { - get$current: function(_) { - return this.__js_helper$_current; + toStringAsFixed$1$n(receiver, a0) { + return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); }, - moveNext$0: function() { - var cell, _this = this, - t1 = _this._map; - if (_this._modifications !== t1._modifications) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - cell = _this._cell; - if (cell == null) { - _this.set$__js_helper$_current(null); - return false; - } else { - _this.set$__js_helper$_current(cell.hashMapCellKey); - _this._cell = cell._next; - return true; - } + trim$0$s(receiver) { + return J.getInterceptor$s(receiver).trim$0(receiver); }, - set$__js_helper$_current: function(_current) { - this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + where$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).where$1(receiver, a0); }, - $isIterator: 1 - }; - H.initHooks_closure.prototype = { - call$1: function(o) { - return this.getTag(o); + Interceptor: function Interceptor() { }, - $signature: 14 - }; - H.initHooks_closure0.prototype = { - call$2: function(o, tag) { - return this.getUnknownTag(o, tag); + JSBool: function JSBool() { }, - $signature: 354 - }; - H.initHooks_closure1.prototype = { - call$1: function(tag) { - return this.prototypeForTag(H._asStringS(tag)); + JSNull: function JSNull() { }, - $signature: 380 - }; - H.JSSyntaxRegExp.prototype = { - toString$0: function(_) { - return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; + JavaScriptObject: function JavaScriptObject() { }, - get$_nativeGlobalVersion: function() { - var _this = this, - t1 = _this._nativeGlobalRegExp; - if (t1 != null) - return t1; - t1 = _this._nativeRegExp; - return _this._nativeGlobalRegExp = H.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + LegacyJavaScriptObject: function LegacyJavaScriptObject() { }, - get$_nativeAnchoredVersion: function() { - var _this = this, - t1 = _this._nativeAnchoredRegExp; - if (t1 != null) - return t1; - t1 = _this._nativeRegExp; - return _this._nativeAnchoredRegExp = H.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + PlainJavaScriptObject: function PlainJavaScriptObject() { }, - firstMatch$1: function(string) { - var m; - if (typeof string != "string") - H.throwExpression(H.argumentErrorValue(string)); - m = this._nativeRegExp.exec(string); - if (m == null) - return null; - return new H._MatchImplementation(m); + UnknownJavaScriptObject: function UnknownJavaScriptObject() { }, - allMatches$2: function(_, string, start) { - var t1 = string.length; - if (start > t1) - throw H.wrapException(P.RangeError$range(start, 0, t1, null, null)); - return new H._AllMatchesIterable(this, string, start); + JavaScriptFunction: function JavaScriptFunction() { }, - allMatches$1: function($receiver, string) { - return this.allMatches$2($receiver, string, 0); + JSArray: function JSArray(t0) { + this.$ti = t0; }, - _execGlobal$2: function(string, start) { - var match, - regexp = this.get$_nativeGlobalVersion(); - regexp.lastIndex = start; - match = regexp.exec(string); - if (match == null) - return null; - return new H._MatchImplementation(match); + JSUnmodifiableArray: function JSUnmodifiableArray(t0) { + this.$ti = t0; }, - _execAnchored$2: function(string, start) { - var match, - regexp = this.get$_nativeAnchoredVersion(); - regexp.lastIndex = start; - match = regexp.exec(string); - if (match == null) - return null; - if (0 >= match.length) - return H.ioore(match, -1); - if (match.pop() != null) - return null; - return new H._MatchImplementation(match); + ArrayIterator: function ArrayIterator(t0, t1, t2) { + var _ = this; + _._iterable = t0; + _.__interceptors$_length = t1; + _._index = 0; + _.__interceptors$_current = null; + _.$ti = t2; }, - matchAsPrefix$2: function(_, string, start) { - if (start < 0 || start > string.length) - throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); - return this._execAnchored$2(string, start); + JSNumber: function JSNumber() { }, - $isPattern: 1, - $isRegExp: 1 - }; - H._MatchImplementation.prototype = { - get$start: function(_) { - return this._match.index; + JSInt: function JSInt() { }, - get$end: function(_) { - var t1 = this._match; - return t1.index + t1[0].length; + JSNumNotInt: function JSNumNotInt() { }, - group$1: function(index) { - return C.JSArray_methods.$index(this._match, index); + JSString: function JSString() { + } + }, + B = {}; + var holders = [A, J, B]; + var $ = {}; + A.JS_CONST.prototype = {}; + J.Interceptor.prototype = { + $eq(receiver, other) { + return receiver === other; }, - $index: function(_, index) { - return C.JSArray_methods.$index(this._match, H._asIntS(index)); + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); }, - $isMatch: 1, - $isRegExpMatch: 1 - }; - H._AllMatchesIterable.prototype = { - get$iterator: function(_) { - return new H._AllMatchesIterator(this._re, this._string, this.__js_helper$_start); - } - }; - H._AllMatchesIterator.prototype = { - get$current: function(_) { - return this.__js_helper$_current; + toString$0(receiver) { + return "Instance of '" + A.S(A.Primitives_objectTypeName(receiver)) + "'"; }, - moveNext$0: function() { - var t1, t2, t3, match, nextIndex, _this = this, - string = _this._string; - if (string == null) - return false; - t1 = _this._nextIndex; - t2 = string.length; - if (t1 <= t2) { - t3 = _this._regExp; - match = t3._execGlobal$2(string, t1); - if (match != null) { - _this.__js_helper$_current = match; - nextIndex = match.get$end(match); - if (match._match.index === nextIndex) { - if (t3._nativeRegExp.unicode) { - t1 = _this._nextIndex; - t3 = t1 + 1; - if (t3 < t2) { - t1 = C.JSString_methods.codeUnitAt$1(string, t1); - if (t1 >= 55296 && t1 <= 56319) { - t1 = C.JSString_methods.codeUnitAt$1(string, t3); - t1 = t1 >= 56320 && t1 <= 57343; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; - } - _this._nextIndex = nextIndex; - return true; - } - } - _this._string = _this.__js_helper$_current = null; - return false; + noSuchMethod$1(receiver, invocation) { + type$.Invocation._as(invocation); + throw A.wrapException(new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); }, - $isIterator: 1 + get$runtimeType(receiver) { + return A.getRuntimeType(receiver); + } }; - H.StringMatch.prototype = { - get$end: function(_) { - return this.start + this.pattern.length; + J.JSBool.prototype = { + toString$0(receiver) { + return String(receiver); }, - $index: function(_, g) { - H._asIntS(g); - if (g !== 0) - H.throwExpression(P.RangeError$value(g, null, null)); - return this.pattern; + $or(receiver, other) { + return other || receiver; }, - group$1: function(group_) { - if (group_ !== 0) - throw H.wrapException(P.RangeError$value(group_, null, null)); - return this.pattern; + get$hashCode(receiver) { + return receiver ? 519018 : 218159; }, - $isMatch: 1, - get$start: function(receiver) { - return this.start; - } - }; - H._StringAllMatchesIterable.prototype = { - get$iterator: function(_) { - return new H._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); + get$runtimeType(receiver) { + return B.Type_bool_lhE; }, - get$first: function(_) { - var t1 = this._pattern, - index = this._input.indexOf(t1, this.__js_helper$_index); - if (index >= 0) - return new H.StringMatch(index, t1); - throw H.wrapException(H.IterableElementError_noElement()); - } + $isbool: 1 }; - H._StringAllMatchesIterator.prototype = { - moveNext$0: function() { - var index, end, _this = this, - t1 = _this.__js_helper$_index, - t2 = _this._pattern, - t3 = t2.length, - t4 = _this._input, - t5 = t4.length; - if (t1 + t3 > t5) { - _this.__js_helper$_current = null; - return false; - } - index = t4.indexOf(t2, t1); - if (index < 0) { - _this.__js_helper$_index = t5 + 1; - _this.__js_helper$_current = null; - return false; - } - end = index + t3; - _this.__js_helper$_current = new H.StringMatch(index, t2); - _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; - return true; + J.JSNull.prototype = { + $eq(receiver, other) { + return null == other; }, - get$current: function(_) { - var t1 = this.__js_helper$_current; - t1.toString; - return t1; + toString$0(receiver) { + return "null"; }, - $isIterator: 1 - }; - H.NativeByteBuffer.prototype = { - get$runtimeType: function(receiver) { - return C.Type_ByteBuffer_RkP; + get$hashCode(receiver) { + return 0; }, - asUint8List$2: function(receiver, offsetInBytes, $length) { - H._checkViewArguments(receiver, offsetInBytes, $length); - return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length); + get$runtimeType(receiver) { + return B.Type_Null_Yyn; }, - asByteData$2: function(receiver, offsetInBytes, $length) { - var t1; - H._checkViewArguments(receiver, offsetInBytes, $length); - t1 = new DataView(receiver, offsetInBytes, $length); - return t1; + noSuchMethod$1(receiver, invocation) { + return this.super$Interceptor$noSuchMethod(receiver, type$.Invocation._as(invocation)); }, - $isNativeByteBuffer: 1, - $isByteBuffer: 1 + $isNull: 1 }; - H.NativeTypedData.prototype = { - get$buffer: function(receiver) { - return receiver.buffer; - }, - get$lengthInBytes: function(receiver) { - return receiver.byteLength; + J.JavaScriptObject.prototype = {}; + J.LegacyJavaScriptObject.prototype = { + get$hashCode(receiver) { + return 0; }, - get$offsetInBytes: function(receiver) { - return receiver.byteOffset; + get$runtimeType(receiver) { + return B.Type_JSObject_8k0; }, - _invalidPosition$3: function(receiver, position, $length, $name) { - if (!H._isInt(position)) - throw H.wrapException(P.ArgumentError$value(position, $name, "Invalid list position")); - else - throw H.wrapException(P.RangeError$range(position, 0, $length, $name, null)); + toString$0(receiver) { + return String(receiver); }, - _checkPosition$3: function(receiver, position, $length, $name) { - if (position >>> 0 !== position || position > $length) - this._invalidPosition$3(receiver, position, $length, $name); + $isJSObject: 1, + $isJsConnectOptions: 1, + $isJsMap: 1, + $isJsRef: 1, + $isReactClass: 1, + $isReactElement: 1, + $isReactComponent: 1, + $isReactContext: 1, + $isJsMap: 1, + $isReactErrorInfo: 1, + $isSyntheticFormEvent: 1, + $isSyntheticMouseEvent: 1, + $isSyntheticPointerEvent: 1, + $isJSColor: 1, + send$1(receiver, p0) { + return receiver.send(p0); }, - $isNativeTypedData: 1, - $isTypedData: 1 - }; - H.NativeByteData.prototype = { - get$runtimeType: function(receiver) { - return C.Type_ByteData_zNC; + set$areOwnPropsEqual(obj, v) { + return obj.areOwnPropsEqual = v; }, - getUint32$2: function(receiver, byteOffset, endian) { - return this._getUint32$2(receiver, byteOffset, C.C_Endian === endian); + set$areStatePropsEqual(obj, v) { + return obj.areStatePropsEqual = v; }, - _getUint32$2: function(receiver, byteOffset, littleEndian) { - return receiver.getUint32(byteOffset, littleEndian); + set$areMergedPropsEqual(obj, v) { + return obj.areMergedPropsEqual = v; }, - setUint32$3: function(receiver, byteOffset, value, endian) { - return this._setUint32$3(receiver, byteOffset, value, C.C_Endian === endian); + get$context(obj) { + return obj.context; }, - _setUint32$3: function(receiver, byteOffset, value, littleEndian) { - return receiver.setUint32(byteOffset, value, littleEndian); + get$current(obj) { + return obj.current; }, - $isByteData: 1 - }; - H.NativeTypedArray.prototype = { - get$length: function(receiver) { - return receiver.length; + get$defaultProps(obj) { + return obj.defaultProps; }, - _setRangeFast$4: function(receiver, start, end, source, skipCount) { - var count, sourceLength, - targetLength = receiver.length; - this._checkPosition$3(receiver, start, targetLength, "start"); - this._checkPosition$3(receiver, end, targetLength, "end"); - if (typeof start !== "number") - return start.$gt(); - if (typeof end !== "number") - return H.iae(end); - if (start > end) - throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); - count = end - start; - if (typeof skipCount !== "number") - return skipCount.$lt(); - if (skipCount < 0) - throw H.wrapException(P.ArgumentError$(skipCount)); - sourceLength = source.length; - if (sourceLength - skipCount < count) - throw H.wrapException(P.StateError$("Not enough elements")); - if (skipCount !== 0 || sourceLength !== count) - source = source.subarray(skipCount, skipCount + count); - receiver.set(source, start); + set$displayName(obj, v) { + return obj.displayName = v; }, - $isJSIndexable: 1, - $isJavaScriptIndexingBehavior: 1 - }; - H.NativeTypedArrayOfDouble.prototype = { - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + get$dartComponentVersion(obj) { + return obj.dartComponentVersion; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - H._asDoubleS(value); - H._checkValidIndex(index, receiver, receiver.length); - receiver[index] = value; + set$dartComponentVersion(obj, v) { + return obj.dartComponentVersion = v; }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - H._asIntS(end); - type$.Iterable_double._as(iterable); - if (type$.NativeTypedArrayOfDouble._is(iterable)) { - this._setRangeFast$4(receiver, start, end, iterable, skipCount); - return; - } - this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + get$type(obj) { + return obj.type; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + get$props(obj) { + return obj.props; }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 - }; - H.NativeTypedArrayOfInt.prototype = { - $indexSet: function(receiver, index, value) { - H._asIntS(index); - H._asIntS(value); - H._checkValidIndex(index, receiver, receiver.length); - receiver[index] = value; + get$children(obj) { + return obj.children; }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - H._asIntS(end); - type$.Iterable_int._as(iterable); - if (type$.NativeTypedArrayOfInt._is(iterable)) { - this._setRangeFast$4(receiver, start, end, iterable, skipCount); - return; - } - this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + get$dartComponent(obj) { + return obj.dartComponent; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + set$state(obj, v) { + return obj.state = v; }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 - }; - H.NativeFloat32List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Float32List_LB7; + setState$1(receiver, p0) { + return receiver.setState(p0); }, - sublist$2: function(receiver, start, end) { - return new Float32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + get$Provider(obj) { + return obj.Provider; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); - } - }; - H.NativeFloat64List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Float64List_LB7; + get$Consumer(obj) { + return obj.Consumer; }, - sublist$2: function(receiver, start, end) { - return new Float64Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + get$componentStack(obj) { + return obj.componentStack; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); - } - }; - H.NativeInt16List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Int16List_uXf; + get$dartStackTrace(obj) { + return obj.dartStackTrace; }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + set$dartStackTrace(obj, v) { + return obj.dartStackTrace = v; }, - sublist$2: function(receiver, start, end) { - return new Int16Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + get$nativeEvent(obj) { + return obj.nativeEvent; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); - } - }; - H.NativeInt32List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Int32List_O50; + get$target(obj) { + return obj.target; }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + stopPropagation$0(receiver) { + return receiver.stopPropagation(); }, - sublist$2: function(receiver, start, end) { - return new Int32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + preventDefault$0(receiver) { + return receiver.preventDefault(); }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + get$ctrlKey(obj) { + return obj.ctrlKey; }, - $isInt32List: 1 - }; - H.NativeInt8List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Int8List_ekJ; + get$metaKey(obj) { + return obj.metaKey; }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + get$shiftKey(obj) { + return obj.shiftKey; }, - sublist$2: function(receiver, start, end) { - return new Int8Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + get$button(obj) { + return obj.button; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + get$hex(obj) { + return obj.hex; } }; - H.NativeUint16List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Uint16List_2bx; - }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; - }, - sublist$2: function(receiver, start, end) { - return new Uint16Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); - }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + J.PlainJavaScriptObject.prototype = {}; + J.UnknownJavaScriptObject.prototype = {}; + J.JavaScriptFunction.prototype = { + toString$0(receiver) { + var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; + if (dartClosure == null) + return this.super$LegacyJavaScriptObject$toString(receiver); + return "JavaScript function for " + A.S(J.toString$0$(dartClosure)); }, - $isUint16List: 1 + $isFunction: 1 }; - H.NativeUint32List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Uint32List_2bx; + J.JSArray.prototype = { + cast$1$0(receiver, $R) { + return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + add$1(receiver, value) { + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("add")); + receiver.push(value); }, - sublist$2: function(receiver, start, end) { - return new Uint32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + removeAt$1(receiver, index) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeAt")); + if (index < 0 || index >= receiver.length) + throw A.wrapException(A.RangeError$value(index, null, null)); + return receiver.splice(index, 1)[0]; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + insert$2(receiver, index, value) { + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insert")); + if (index < 0 || index > receiver.length) + throw A.wrapException(A.RangeError$value(index, null, null)); + receiver.splice(index, 0, value); }, - $isUint32List: 1 - }; - H.NativeUint8ClampedList.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Uint8ClampedList_Jik; + insertAll$2(receiver, index, iterable) { + var insertionLength, t1, end; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insertAll")); + A.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); + if (!type$.EfficientLengthIterable_dynamic._is(iterable)) + iterable = J.toList$0$ax(iterable); + insertionLength = J.get$length$asx(iterable); + t1 = receiver.length; + if (typeof insertionLength !== "number") + return A.iae(insertionLength); + receiver.length = t1 + insertionLength; + end = index + insertionLength; + this.setRange$4(receiver, end, receiver.length, receiver, index); + this.setRange$3(receiver, index, end, iterable); }, - get$length: function(receiver) { - return receiver.length; + setAll$2(receiver, index, iterable) { + var t1, t2, index0; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("setAll")); + A.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); + for (t1 = J.get$iterator$ax(iterable._source), t2 = A._instanceType(iterable), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0(); index = index0) { + index0 = index + 1; + this.$indexSet(receiver, index, t2._as(t1.get$current(t1))); + } }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + removeLast$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeLast")); + if (receiver.length === 0) + throw A.wrapException(A.diagnoseIndexError(receiver, -1)); + return receiver.pop(); }, - sublist$2: function(receiver, start, end) { - return new Uint8ClampedArray(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + remove$1(receiver, element) { + var i; + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("remove")); + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], element)) { + receiver.splice(i, 1); + return true; + } + return false; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); - } - }; - H.NativeUint8List.prototype = { - get$runtimeType: function(receiver) { - return C.Type_Uint8List_WLA; + removeWhere$1(receiver, test) { + A._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeWhere")); + this._removeWhere$2(receiver, test, true); }, - get$length: function(receiver) { - return receiver.length; + _removeWhere$2(receiver, test, removeMatching) { + var retained, end, i, element, t1; + A._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + retained = []; + end = receiver.length; + for (i = 0; i < end; ++i) { + element = receiver[i]; + if (!A.boolConversionCheck(test.call$1(element))) + retained.push(element); + if (receiver.length !== end) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + t1 = retained.length; + if (t1 === end) + return; + this.set$length(receiver, t1); + for (i = 0; i < retained.length; ++i) + receiver[i] = retained[i]; }, - $index: function(receiver, index) { - H._asIntS(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + where$1(receiver, f) { + var t1 = A._arrayInstanceType(receiver); + return new A.WhereIterable(receiver, t1._eval$1("bool(1)")._as(f), t1._eval$1("WhereIterable<1>")); }, - sublist$2: function(receiver, start, end) { - return new Uint8Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + expand$1$1(receiver, f, $T) { + var t1 = A._arrayInstanceType(receiver); + return new A.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + addAll$1(receiver, collection) { + var t1; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(collection); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("addAll")); + if (Array.isArray(collection)) { + this._addAllFromArray$1(receiver, collection); + return; + } + for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) + receiver.push(t1.get$current(t1)); }, - $isNativeUint8List: 1, - $isUint8List: 1 - }; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; - H.Rti.prototype = { - _eval$1: function(recipe) { - return H._Universe_evalInEnvironment(init.typeUniverse, this, recipe); + _addAllFromArray$1(receiver, array) { + var len, i; + type$.JSArray_dynamic._as(array); + len = array.length; + if (len === 0) + return; + if (receiver === array) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + for (i = 0; i < len; ++i) + receiver.push(array[i]); }, - _bind$1: function(typeOrTuple) { - return H._Universe_bind(init.typeUniverse, this, typeOrTuple); - } - }; - H._FunctionParameters.prototype = {}; - H._Type.prototype = { - toString$0: function(_) { - return H._rtiToString(this._rti, null); + clear$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("clear")); + receiver.length = 0; }, - $isType: 1 - }; - H._Error.prototype = { - toString$0: function(_) { - return this.__rti$_message; - } - }; - H._TypeError.prototype = { - get$message: function(_) { - return this.__rti$_message; - } - }; - P._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { - call$1: function(_) { - var t1 = this._box_0, - f = t1.storedCallback; - t1.storedCallback = null; - f.call$0(); + forEach$1(receiver, f) { + var end, i; + A._arrayInstanceType(receiver)._eval$1("~(1)")._as(f); + end = receiver.length; + for (i = 0; i < end; ++i) { + f.call$1(receiver[i]); + if (receiver.length !== end) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } }, - $signature: 32 - }; - P._AsyncRun__initializeScheduleImmediate_closure.prototype = { - call$1: function(callback) { - var t1, t2; - this._box_0.storedCallback = type$.void_Function._as(callback); - t1 = this.div; - t2 = this.span; - t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); + map$1$1(receiver, f, $T) { + var t1 = A._arrayInstanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - $signature: 273 - }; - P._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { - call$0: function() { - this.callback.call$0(); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 12 - }; - P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { - call$0: function() { - this.callback.call$0(); + join$1(receiver, separator) { + var i, + list = A.List_List$filled(receiver.length, "", false, type$.String); + for (i = 0; i < receiver.length; ++i) + this.$indexSet(list, i, A.S(receiver[i])); + return list.join(separator); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 12 - }; - P._TimerImpl.prototype = { - _TimerImpl$2: function(milliseconds, callback) { - if (self.setTimeout != null) - this._handle = self.setTimeout(H.convertDartClosureToJS(new P._TimerImpl_internalCallback(this, callback), 0), milliseconds); - else - throw H.wrapException(P.UnsupportedError$("`setTimeout()` not found.")); + join$0($receiver) { + return this.join$1($receiver, ""); }, - _TimerImpl$periodic$2: function(milliseconds, callback) { - if (self.setTimeout != null) - this._handle = self.setInterval(H.convertDartClosureToJS(new P._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); - else - throw H.wrapException(P.UnsupportedError$("Periodic timer.")); + take$1(receiver, n) { + return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1); }, - cancel$0: function(_) { - var t1; - if (self.setTimeout != null) { - t1 = this._handle; - if (t1 == null) - return; - if (this._once) - self.clearTimeout(t1); - else - self.clearInterval(t1); - this._handle = null; - } else - throw H.wrapException(P.UnsupportedError$("Canceling a timer.")); + skip$1(receiver, n) { + return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1); }, - $isTimer: 1 - }; - P._TimerImpl_internalCallback.prototype = { - call$0: function() { - var t1 = this.$this; - t1._handle = null; - t1._tick = 1; - this.callback.call$0(); + reduce$1(receiver, combine) { + var $length, value, i; + A._arrayInstanceType(receiver)._eval$1("1(1,1)")._as(combine); + $length = receiver.length; + if ($length === 0) + throw A.wrapException(A.IterableElementError_noElement()); + if (0 >= $length) + return A.ioore(receiver, 0); + value = receiver[0]; + for (i = 1; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if ($length !== receiver.length) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + return value; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 - }; - P._TimerImpl$periodic_closure.prototype = { - call$0: function() { - var duration, _this = this, - t1 = _this.$this, - tick = t1._tick + 1, - t2 = _this.milliseconds; - if (t2 > 0) { - duration = Date.now() - _this.start; - if (duration > (tick + 1) * t2) - tick = C.JSInt_methods.$tdiv(duration, t2); + fold$1$2(receiver, initialValue, combine, $T) { + var $length, value, i; + $T._as(initialValue); + A._arrayInstanceType(receiver)._bind$1($T)._eval$1("1(1,2)")._as(combine); + $length = receiver.length; + for (value = initialValue, i = 0; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if (receiver.length !== $length) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); } - t1._tick = tick; - _this.callback.call$1(t1); + return value; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 12 - }; - P._AsyncAwaitCompleter.prototype = { - complete$1: function(_, value) { - var t2, _this = this, - t1 = _this.$ti; - t1._eval$1("1/?")._as(value); - if (!_this.isSync) - _this._future._asyncComplete$1(value); - else { - t2 = _this._future; - if (t1._eval$1("Future<1>")._is(value)) - t2._chainFuture$1(value); - else - t2._completeWithValue$1(t1._precomputed1._as(value)); + firstWhere$2$orElse(receiver, test, orElse) { + var end, i, element, + t1 = A._arrayInstanceType(receiver); + t1._eval$1("bool(1)")._as(test); + t1._eval$1("1()?")._as(orElse); + end = receiver.length; + for (i = 0; i < end; ++i) { + element = receiver[i]; + if (A.boolConversionCheck(test.call$1(element))) + return element; + if (receiver.length !== end) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); } + if (orElse != null) + return orElse.call$0(); + throw A.wrapException(A.IterableElementError_noElement()); }, - completeError$2: function(e, st) { - var t1; - if (st == null) - st = P.AsyncError_defaultStackTrace(e); - t1 = this._future; - if (this.isSync) - t1._completeError$2(e, st); - else - t1._asyncCompleteError$2(e, st); - }, - $isCompleter: 1 - }; - P._awaitOnObject_closure.prototype = { - call$1: function(result) { - return this.bodyFunction.call$2(0, result); - }, - $signature: 36 - }; - P._awaitOnObject_closure0.prototype = { - call$2: function(error, stackTrace) { - this.bodyFunction.call$2(1, new H.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 250 - }; - P._wrapJsFunctionForAsync_closure.prototype = { - call$2: function(errorCode, result) { - this.$protected(H._asIntS(errorCode), result); + firstWhere$1($receiver, test) { + return this.firstWhere$2$orElse($receiver, test, null); }, - $signature: 254 - }; - P._IterationMarker.prototype = { - toString$0: function(_) { - return "IterationMarker(" + this.state + ", " + H.S(this.value) + ")"; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - get$value: function(receiver) { - return this.value; - } - }; - P._SyncStarIterator.prototype = { - get$current: function(_) { - var nested = this._nestedIterator; - if (nested == null) - return this.$ti._precomputed1._as(this._async$_current); - return nested.get$current(nested); + sublist$2(receiver, start, end) { + if (start < 0 || start > receiver.length) + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, "start", null)); + if (end == null) + end = receiver.length; + else if (end < start || end > receiver.length) + throw A.wrapException(A.RangeError$range(end, start, receiver.length, "end", null)); + if (start === end) + return A._setArrayType([], A._arrayInstanceType(receiver)); + return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver)); }, - moveNext$0: function() { - var t1, t2, value, state, suspendedBodies, inner, _this = this; - for (t1 = _this.$ti._eval$1("Iterator<1>"); true;) { - t2 = _this._nestedIterator; - if (t2 != null) - if (t2.moveNext$0()) - return true; - else - _this.set$_nestedIterator(null); - value = function(body, SUCCESS, ERROR) { - var errorValue, - errorCode = SUCCESS; - while (true) - try { - return body(errorCode, errorValue); - } catch (error) { - errorValue = error; - errorCode = ERROR; - } - }(_this._body, 0, 1); - if (value instanceof P._IterationMarker) { - state = value.state; - if (state === 2) { - suspendedBodies = _this._suspendedBodies; - if (suspendedBodies == null || suspendedBodies.length === 0) { - _this.set$_async$_current(null); - return false; - } - if (0 >= suspendedBodies.length) - return H.ioore(suspendedBodies, -1); - _this._body = suspendedBodies.pop(); - continue; - } else { - t2 = value.value; - if (state === 3) - throw t2; - else { - inner = t1._as(J.get$iterator$ax(t2)); - if (inner instanceof P._SyncStarIterator) { - t2 = _this._suspendedBodies; - if (t2 == null) - t2 = _this._suspendedBodies = []; - C.JSArray_methods.add$1(t2, _this._body); - _this._body = inner._body; - continue; - } else { - _this.set$_nestedIterator(inner); - continue; - } - } - } - } else { - _this.set$_async$_current(value); - return true; - } - } - return false; + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - set$_async$_current: function(_current) { - this._async$_current = this.$ti._eval$1("1?")._as(_current); + getRange$2(receiver, start, end) { + A.RangeError_checkValidRange(start, end, receiver.length); + return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1); }, - set$_nestedIterator: function(_nestedIterator) { - this._nestedIterator = this.$ti._eval$1("Iterator<1>?")._as(_nestedIterator); + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.IterableElementError_noElement()); }, - $isIterator: 1 - }; - P._SyncStarIterable.prototype = { - get$iterator: function(_) { - return new P._SyncStarIterator(this._outerHelper(), this.$ti._eval$1("_SyncStarIterator<1>")); - } - }; - P.AsyncError.prototype = { - toString$0: function(_) { - return H.S(this.error); + get$last(receiver) { + var t1 = receiver.length; + if (t1 > 0) + return receiver[t1 - 1]; + throw A.wrapException(A.IterableElementError_noElement()); }, - $isError: 1, - get$stackTrace: function() { - return this.stackTrace; - } - }; - P._BroadcastStream.prototype = {}; - P._BroadcastSubscription.prototype = { - _onPause$0: function() { + get$single(receiver) { + var t1 = receiver.length; + if (t1 === 1) { + if (0 >= t1) + return A.ioore(receiver, 0); + return receiver[0]; + } + if (t1 === 0) + throw A.wrapException(A.IterableElementError_noElement()); + throw A.wrapException(A.IterableElementError_tooMany()); }, - _onResume$0: function() { + removeRange$2(receiver, start, end) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeRange")); + A.RangeError_checkValidRange(start, end, receiver.length); + receiver.splice(start, end - start); }, - set$_async$_next: function(_next) { - this._async$_next = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_next); + setRange$4(receiver, start, end, iterable, skipCount) { + var $length, otherList, otherStart, t1, t2, i; + A._asIntS(end); + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("setRange")); + A.RangeError_checkValidRange(start, end, receiver.length); + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length === 0) + return; + A.RangeError_checkNotNegative(skipCount, "skipCount"); + if (type$.List_dynamic._is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); + otherStart = 0; + } + t1 = J.getInterceptor$asx(otherList); + t2 = t1.get$length(otherList); + if (typeof t2 !== "number") + return A.iae(t2); + if (otherStart + $length > t2) + throw A.wrapException(A.IterableElementError_tooFew()); + if (otherStart < start) + for (i = $length - 1; i >= 0; --i) + receiver[start + i] = t1.$index(otherList, otherStart + i); + else + for (i = 0; i < $length; ++i) + receiver[start + i] = t1.$index(otherList, otherStart + i); }, - set$_async$_previous: function(_previous) { - this._async$_previous = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_previous); - } - }; - P._BroadcastStreamController.prototype = { - get$_mayAddEvent: function() { - return this._async$_state < 4; + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - _removeListener$1: function(subscription) { - var previous, next; - H._instanceType(this)._eval$1("_BroadcastSubscription<1>")._as(subscription); - previous = subscription._async$_previous; - next = subscription._async$_next; - if (previous == null) - this.set$_firstSubscription(next); - else - previous.set$_async$_next(next); - if (next == null) - this.set$_lastSubscription(previous); - else - next.set$_async$_previous(previous); - subscription.set$_async$_previous(subscription); - subscription.set$_async$_next(subscription); + fillRange$3(receiver, start, end, fillValue) { + var i; + A._arrayInstanceType(receiver)._eval$1("1?")._as(fillValue); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("fill range")); + A.RangeError_checkValidRange(start, end, receiver.length); + for (i = start; i < end; ++i) + receiver[i] = fillValue; }, - _subscribe$4: function(onData, onError, onDone, cancelOnError) { - var t2, t3, t4, t5, t6, subscription, oldLast, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("~(1)?")._as(onData); - type$.nullable_void_Function._as(onDone); - if ((_this._async$_state & 4) !== 0) { - t1 = new P._DoneStreamSubscription($.Zone__current, onDone, t1._eval$1("_DoneStreamSubscription<1>")); - t1._schedule$0(); - return t1; + replaceRange$3(receiver, start, end, replacement) { + var removeLength, insertLength, t1, insertEnd, delta, newLength, _this = this; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(replacement); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("replaceRange")); + A.RangeError_checkValidRange(start, end, receiver.length); + if (!type$.EfficientLengthIterable_dynamic._is(replacement)) + replacement = J.toList$0$ax(replacement); + if (typeof start !== "number") + return A.iae(start); + removeLength = end - start; + insertLength = J.get$length$asx(replacement); + if (typeof insertLength !== "number") + return A.iae(insertLength); + t1 = receiver.length; + insertEnd = start + insertLength; + if (removeLength >= insertLength) { + delta = removeLength - insertLength; + newLength = t1 - delta; + _this.setRange$3(receiver, start, insertEnd, replacement); + if (delta !== 0) { + _this.setRange$4(receiver, insertEnd, newLength, receiver, end); + _this.set$length(receiver, newLength); + } + } else { + newLength = t1 + (insertLength - removeLength); + receiver.length = newLength; + _this.setRange$4(receiver, insertEnd, newLength, receiver, end); + _this.setRange$3(receiver, start, insertEnd, replacement); } - t2 = $.Zone__current; - t3 = cancelOnError ? 1 : 0; - t4 = P._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); - t5 = P._BufferingStreamSubscription__registerErrorHandler(t2, onError); - t6 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; - t1 = t1._eval$1("_BroadcastSubscription<1>"); - subscription = new P._BroadcastSubscription(_this, t4, t5, type$.void_Function._as(t6), t2, t3, t1); - subscription.set$_async$_previous(subscription); - subscription.set$_async$_next(subscription); - t1._as(subscription); - subscription._eventState = _this._async$_state & 1; - oldLast = _this._lastSubscription; - _this.set$_lastSubscription(subscription); - subscription.set$_async$_next(null); - subscription.set$_async$_previous(oldLast); - if (oldLast == null) - _this.set$_firstSubscription(subscription); - else - oldLast.set$_async$_next(subscription); - if (_this._firstSubscription == _this._lastSubscription) - P._runGuarded(_this.onListen); - return subscription; }, - _recordCancel$1: function(sub) { - var _this = this, - t1 = H._instanceType(_this); - sub = t1._eval$1("_BroadcastSubscription<1>")._as(t1._eval$1("StreamSubscription<1>")._as(sub)); - if (sub._async$_next === sub) - return null; - t1 = sub._eventState; - if ((t1 & 2) !== 0) - sub._eventState = t1 | 4; - else { - _this._removeListener$1(sub); - if ((_this._async$_state & 2) === 0 && _this._firstSubscription == null) - _this._callOnCancel$0(); + any$1(receiver, test) { + var end, i; + A._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + end = receiver.length; + for (i = 0; i < end; ++i) { + if (A.boolConversionCheck(test.call$1(receiver[i]))) + return true; + if (receiver.length !== end) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); } - return null; + return false; }, - _recordPause$1: function(subscription) { - H._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); + every$1(receiver, test) { + var end, i; + A._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + end = receiver.length; + for (i = 0; i < end; ++i) { + if (!A.boolConversionCheck(test.call$1(receiver[i]))) + return false; + if (receiver.length !== end) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + return true; }, - _recordResume$1: function(subscription) { - H._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); + get$reversed(receiver) { + return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>")); }, - _addEventError$0: function() { - if ((this._async$_state & 4) !== 0) - return new P.StateError("Cannot add new events after calling close"); - return new P.StateError("Cannot add new events while doing an addStream"); + sort$1(receiver, compare) { + var t2, + t1 = A._arrayInstanceType(receiver); + t1._eval$1("int(1,1)?")._as(compare); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t2 = compare == null ? J._interceptors_JSArray__compareAny$closure() : compare; + A.Sort_sort(receiver, t2, t1._precomputed1); }, - add$1: function(_, data) { - var _this = this; - H._instanceType(_this)._precomputed1._as(data); - if (!_this.get$_mayAddEvent()) - throw H.wrapException(_this._addEventError$0()); - _this._sendData$1(data); + sort$0($receiver) { + return this.sort$1($receiver, null); }, - _forEachListener$1: function(action) { - var t1, subscription, id, next, _this = this; - H._instanceType(_this)._eval$1("~(_BufferingStreamSubscription<1>)")._as(action); - t1 = _this._async$_state; - if ((t1 & 2) !== 0) - throw H.wrapException(P.StateError$(string$.Cannotf)); - subscription = _this._firstSubscription; - if (subscription == null) - return; - id = t1 & 1; - _this._async$_state = t1 ^ 3; - for (; subscription != null;) { - t1 = subscription._eventState; - if ((t1 & 1) === id) { - subscription._eventState = t1 | 2; - action.call$1(subscription); - t1 = subscription._eventState ^= 1; - next = subscription._async$_next; - if ((t1 & 4) !== 0) - _this._removeListener$1(subscription); - subscription._eventState &= 4294967293; - subscription = next; - } else - subscription = subscription._async$_next; + indexOf$2(receiver, element, start) { + var i, + $length = receiver.length; + if (start >= $length) + return -1; + for (i = start; i < $length; ++i) { + if (!(i < receiver.length)) + return A.ioore(receiver, i); + if (J.$eq$(receiver[i], element)) + return i; } - _this._async$_state &= 4294967293; - if (_this._firstSubscription == null) - _this._callOnCancel$0(); - }, - _callOnCancel$0: function() { - if ((this._async$_state & 4) !== 0) - if (null.get$_mayComplete()) - null._asyncComplete$1(null); - P._runGuarded(this.onCancel); + return -1; }, - set$_firstSubscription: function(_firstSubscription) { - this._firstSubscription = H._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_firstSubscription); + indexOf$1($receiver, element) { + return this.indexOf$2($receiver, element, 0); }, - set$_lastSubscription: function(_lastSubscription) { - this._lastSubscription = H._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_lastSubscription); + contains$1(receiver, other) { + var i; + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], other)) + return true; + return false; }, - $isStreamController: 1, - $is_StreamControllerLifecycle: 1, - $is_EventSink: 1, - $is_EventDispatch: 1 - }; - P._SyncBroadcastStreamController.prototype = { - get$_mayAddEvent: function() { - return P._BroadcastStreamController.prototype.get$_mayAddEvent.call(this) && (this._async$_state & 2) === 0; + get$isEmpty(receiver) { + return receiver.length === 0; }, - _addEventError$0: function() { - if ((this._async$_state & 2) !== 0) - return new P.StateError(string$.Cannotf); - return this.super$_BroadcastStreamController$_addEventError(); + get$isNotEmpty(receiver) { + return receiver.length !== 0; }, - _sendData$1: function(data) { - var t2, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(data); - t2 = _this._firstSubscription; - if (t2 == null) - return; - if (t2 === _this._lastSubscription) { - _this._async$_state |= 2; - t1._eval$1("_BroadcastSubscription<1>")._as(t2)._async$_add$1(0, data); - _this._async$_state &= 4294967293; - if (_this._firstSubscription == null) - _this._callOnCancel$0(); - return; - } - _this._forEachListener$1(new P._SyncBroadcastStreamController__sendData_closure(_this, data)); - } - }; - P._SyncBroadcastStreamController__sendData_closure.prototype = { - call$1: function(subscription) { - this.$this.$ti._eval$1("_BufferingStreamSubscription<1>")._as(subscription)._async$_add$1(0, this.data); + toString$0(receiver) { + return A.IterableBase_iterableToFullString(receiver, "[", "]"); }, - $signature: function() { - return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); - } - }; - P._AsyncBroadcastStreamController.prototype = { - _sendData$1: function(data) { - var subscription, - t1 = this.$ti; - t1._precomputed1._as(data); - for (subscription = this._firstSubscription, t1 = t1._eval$1("_DelayedData<1>"); subscription != null; subscription = subscription._async$_next) - subscription._addPending$1(new P._DelayedData(data, t1)); - } - }; - P.Future_Future_closure.prototype = { - call$0: function() { - var e, s, exception; - try { - this.result._complete$1(this.computation.call$0()); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._completeWithErrorCallback(this.result, e, s); - } + toList$1$growable(receiver, growable) { + var t1 = A._arrayInstanceType(receiver); + return growable ? A._setArrayType(receiver.slice(0), t1) : J.JSArray_JSArray$markFixed(receiver.slice(0), t1._precomputed1); }, - $signature: 0 - }; - P.Future_Future$delayed_closure.prototype = { - call$0: function() { - var e, s, exception, _this = this, - t1 = _this.computation; - if (t1 == null) - _this.result._complete$1(null); - else - try { - _this.result._complete$1(t1.call$0()); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._completeWithErrorCallback(_this.result, e, s); - } + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - $signature: 0 - }; - P.Future_wait__error_set.prototype = { - call$1: function(t1) { - return this._box_0._error = t1; + toSet$0(receiver) { + return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1); }, - $signature: 257 - }; - P.Future_wait__stackTrace_set.prototype = { - call$1: function(t1) { - return this._box_0._stackTrace = type$.StackTrace._as(t1); + get$iterator(receiver) { + return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); }, - $signature: 261 - }; - P.Future_wait__error_get.prototype = { - call$0: function() { - var t1 = this._box_0._error; - return t1 === $ ? H.throwExpression(H.LateError$localNI("error")) : t1; + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); }, - $signature: 262 - }; - P.Future_wait__stackTrace_get.prototype = { - call$0: function() { - var t1 = this._box_0._stackTrace; - return t1 === $ ? H.throwExpression(H.LateError$localNI("stackTrace")) : t1; + get$length(receiver) { + return receiver.length; }, - $signature: 267 - }; - P.Future_wait_handleError.prototype = { - call$2: function(theError, theStackTrace) { - var t1, t2, _this = this; - type$.StackTrace._as(theStackTrace); - t1 = _this._box_0; - t2 = --t1.remaining; - if (t1.values != null) { - t1.values = null; - if (t1.remaining === 0 || _this.eagerError) - _this._future._completeError$2(theError, theStackTrace); - else { - _this._error_set.call$1(theError); - _this._stackTrace_set.call$1(theStackTrace); - } - } else if (t2 === 0 && !_this.eagerError) - _this._future._completeError$2(_this._error_get.call$0(), _this._stackTrace_get.call$0()); + set$length(receiver, newLength) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("set length")); + if (newLength < 0) + throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null)); + receiver.length = newLength; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 97 - }; - P.Future_wait_closure.prototype = { - call$1: function(value) { - var valueList, t2, _this = this, - t1 = _this.T; - t1._as(value); - t2 = _this._box_0; - --t2.remaining; - valueList = t2.values; - if (valueList != null) { - J.$indexSet$ax(valueList, _this.pos, value); - if (t2.remaining === 0) - _this._future._completeWithValue$1(P.List_List$from(valueList, true, t1)); - } else if (t2.remaining === 0 && !_this.eagerError) - _this._future._completeError$2(_this._error_get.call$0(), _this._stackTrace_get.call$0()); + $index(receiver, index) { + A._asIntS(index); + if (!A._isInt(index)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + return receiver[index]; }, - $signature: function() { - return this.T._eval$1("Null(0)"); - } - }; - P._Completer.prototype = { - completeError$2: function(error, stackTrace) { - type$.nullable_StackTrace._as(stackTrace); - H.checkNotNullable(error, "error", type$.Object); - if (this.future._async$_state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); - if (stackTrace == null) - stackTrace = P.AsyncError_defaultStackTrace(error); - this._completeError$2(error, stackTrace); + $indexSet(receiver, index, value) { + A._asIntS(index); + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("indexed set")); + if (!A._isInt(index)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + receiver[index] = value; }, - completeError$1: function(error) { - return this.completeError$2(error, null); + $add(receiver, other) { + var t1 = A._arrayInstanceType(receiver); + t1._eval$1("List<1>")._as(other); + t1 = A.List_List$of(receiver, true, t1._precomputed1); + this.addAll$1(t1, other); + return t1; }, - $isCompleter: 1 - }; - P._AsyncCompleter.prototype = { - complete$1: function(_, value) { - var t2, - t1 = this.$ti; - t1._eval$1("1/?")._as(value); - t2 = this.future; - if (t2._async$_state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); - t2._asyncComplete$1(t1._eval$1("1/")._as(value)); + indexWhere$2(receiver, test, start) { + var i; + A._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + if (start >= receiver.length) + return -1; + for (i = start; i < receiver.length; ++i) + if (A.boolConversionCheck(test.call$1(receiver[i]))) + return i; + return -1; }, - complete$0: function($receiver) { - return this.complete$1($receiver, null); + indexWhere$1($receiver, test) { + return this.indexWhere$2($receiver, test, 0); }, - _completeError$2: function(error, stackTrace) { - this.future._asyncCompleteError$2(error, stackTrace); - } - }; - P._SyncCompleter.prototype = { - complete$1: function(_, value) { - var t2, - t1 = this.$ti; - t1._eval$1("1/?")._as(value); - t2 = this.future; - if (t2._async$_state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); - t2._complete$1(t1._eval$1("1/")._as(value)); + set$last(receiver, element) { + var t1; + A._arrayInstanceType(receiver)._precomputed1._as(element); + t1 = receiver.length; + if (t1 === 0) + throw A.wrapException(A.IterableElementError_noElement()); + this.$indexSet(receiver, t1 - 1, element); }, - _completeError$2: function(error, stackTrace) { - this.future._completeError$2(error, stackTrace); - } + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - P._FutureListener.prototype = { - matchesErrorTest$1: function(asyncError) { - if ((this.state & 15) !== 6) - return true; - return this.result._zone.runUnary$2$2(type$.bool_Function_Object._as(this.callback), asyncError.error, type$.bool, type$.Object); + J.JSUnmodifiableArray.prototype = {}; + J.ArrayIterator.prototype = { + get$current(_) { + return this.__interceptors$_current; }, - handleError$1: function(asyncError) { - var errorCallback = this.errorCallback, - t1 = type$.dynamic, - t2 = type$.Object, - t3 = this.$ti._eval$1("2/"), - t4 = this.result._zone; - if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) - return t3._as(t4.runBinary$3$3(errorCallback, asyncError.error, asyncError.stackTrace, t1, t2, type$.StackTrace)); - else - return t3._as(t4.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), asyncError.error, t1, t2)); - } - }; - P._Future.prototype = { - then$1$2$onError: function(_, f, onError, $R) { - var currentZone, result, t2, - t1 = this.$ti; - t1._bind$1($R)._eval$1("1/(2)")._as(f); - currentZone = $.Zone__current; - if (currentZone !== C.C__RootZone) { - $R._eval$1("@<0/>")._bind$1(t1._precomputed1)._eval$1("1(2)")._as(f); - if (onError != null) - onError = P._registerErrorHandler(onError, currentZone); + moveNext$0() { + var t2, _this = this, + t1 = _this._iterable, + $length = t1.length; + if (_this.__interceptors$_length !== $length) + throw A.wrapException(A.throwConcurrentModificationError(t1)); + t2 = _this._index; + if (t2 >= $length) { + _this.set$__interceptors$_current(null); + return false; } - result = new P._Future(currentZone, $R._eval$1("_Future<0>")); - t2 = onError == null ? 1 : 3; - this._addListener$1(new P._FutureListener(result, t2, f, onError, t1._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); - return result; - }, - then$1$1: function($receiver, f, $R) { - return this.then$1$2$onError($receiver, f, null, $R); - }, - _thenAwait$1$2: function(f, onError, $E) { - var result, - t1 = this.$ti; - t1._bind$1($E)._eval$1("1/(2)")._as(f); - result = new P._Future($.Zone__current, $E._eval$1("_Future<0>")); - this._addListener$1(new P._FutureListener(result, 19, f, onError, t1._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); - return result; + _this.set$__interceptors$_current(t1[t2]); + ++_this._index; + return true; }, - whenComplete$1: function(action) { - var t1, result; - type$.dynamic_Function._as(action); - t1 = this.$ti; - result = new P._Future($.Zone__current, t1); - this._addListener$1(new P._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); - return result; + set$__interceptors$_current(_current) { + this.__interceptors$_current = this.$ti._eval$1("1?")._as(_current); }, - _addListener$1: function(listener) { - var source, _this = this, - t1 = _this._async$_state; - if (t1 <= 1) { - listener._nextListener = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); - _this._resultOrListeners = listener; - } else { - if (t1 === 2) { - source = type$._Future_dynamic._as(_this._resultOrListeners); - t1 = source._async$_state; - if (t1 < 4) { - source._addListener$1(listener); - return; - } - _this._async$_state = t1; - _this._resultOrListeners = source._resultOrListeners; + $isIterator: 1 + }; + J.JSNumber.prototype = { + compareTo$1(receiver, b) { + var bIsNegative; + A._asNumS(b); + if (typeof b != "number") + throw A.wrapException(A.argumentErrorValue(b)); + if (receiver < b) + return -1; + else if (receiver > b) + return 1; + else if (receiver === b) { + if (receiver === 0) { + bIsNegative = this.get$isNegative(b); + if (this.get$isNegative(receiver) === bIsNegative) + return 0; + if (this.get$isNegative(receiver)) + return -1; + return 1; } - P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__addListener_closure(_this, listener))); - } + return 0; + } else if (isNaN(receiver)) { + if (isNaN(b)) + return 0; + return 1; + } else + return -1; }, - _prependListeners$1: function(listeners) { - var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {}; - _box_0.listeners = listeners; - if (listeners == null) - return; - t1 = _this._async$_state; - if (t1 <= 1) { - existingListeners = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); - _this._resultOrListeners = listeners; - if (existingListeners != null) { - next = listeners._nextListener; - for (cursor = listeners; next != null; cursor = next, next = next0) - next0 = next._nextListener; - cursor._nextListener = existingListeners; - } - } else { - if (t1 === 2) { - source = type$._Future_dynamic._as(_this._resultOrListeners); - t1 = source._async$_state; - if (t1 < 4) { - source._prependListeners$1(listeners); - return; - } - _this._async$_state = t1; - _this._resultOrListeners = source._resultOrListeners; - } - _box_0.listeners = _this._reverseListeners$1(listeners); - P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__prependListeners_closure(_box_0, _this))); - } - }, - _removeListeners$0: function() { - var current = type$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners); - this._resultOrListeners = null; - return this._reverseListeners$1(current); + get$isNegative(receiver) { + return receiver === 0 ? 1 / receiver < 0 : receiver < 0; }, - _reverseListeners$1: function(listeners) { - var current, prev, next; - for (current = listeners, prev = null; current != null; prev = current, current = next) { - next = current._nextListener; - current._nextListener = prev; + toInt$0(receiver) { + var t1; + if (receiver >= -2147483648 && receiver <= 2147483647) + return receiver | 0; + if (isFinite(receiver)) { + t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); + return t1 + 0; } - return prev; + throw A.wrapException(A.UnsupportedError$("" + receiver + ".toInt()")); }, - _chainForeignFuture$1: function(source) { - var e, s, exception, _this = this; - _this._async$_state = 1; - try { - source.then$1$2$onError(0, new P._Future__chainForeignFuture_closure(_this), new P._Future__chainForeignFuture_closure0(_this), type$.Null); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(_this, e, s)); - } + ceil$0(receiver) { + var truncated, d; + if (receiver >= 0) { + if (receiver <= 2147483647) { + truncated = receiver | 0; + return receiver === truncated ? truncated : truncated + 1; + } + } else if (receiver >= -2147483648) + return receiver | 0; + d = Math.ceil(receiver); + if (isFinite(d)) + return d; + throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()")); }, - _complete$1: function(value) { - var listeners, _this = this, - t1 = _this.$ti; - t1._eval$1("1/")._as(value); - if (t1._eval$1("Future<1>")._is(value)) - if (t1._is(value)) - P._Future__chainCoreFuture(value, _this); - else - _this._chainForeignFuture$1(value); - else { - listeners = _this._removeListeners$0(); - t1._precomputed1._as(value); - _this._async$_state = 4; - _this._resultOrListeners = value; - P._Future__propagateToListeners(_this, listeners); + floor$0(receiver) { + var truncated, d; + if (receiver >= 0) { + if (receiver <= 2147483647) + return receiver | 0; + } else if (receiver >= -2147483648) { + truncated = receiver | 0; + return receiver === truncated ? truncated : truncated - 1; } + d = Math.floor(receiver); + if (isFinite(d)) + return d; + throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()")); }, - _completeWithValue$1: function(value) { - var listeners, _this = this; - _this.$ti._precomputed1._as(value); - listeners = _this._removeListeners$0(); - _this._async$_state = 4; - _this._resultOrListeners = value; - P._Future__propagateToListeners(_this, listeners); - }, - _completeError$2: function(error, stackTrace) { - var listeners, t1, _this = this; - type$.StackTrace._as(stackTrace); - listeners = _this._removeListeners$0(); - t1 = P.AsyncError$(error, stackTrace); - _this._async$_state = 8; - _this._resultOrListeners = t1; - P._Future__propagateToListeners(_this, listeners); + round$0(receiver) { + if (receiver > 0) { + if (receiver !== 1 / 0) + return Math.round(receiver); + } else if (receiver > -1 / 0) + return 0 - Math.round(0 - receiver); + throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()")); }, - _asyncComplete$1: function(value) { - var t1 = this.$ti; - t1._eval$1("1/")._as(value); - if (t1._eval$1("Future<1>")._is(value)) { - this._chainFuture$1(value); - return; - } - this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); + roundToDouble$0(receiver) { + if (receiver < 0) + return -Math.round(-receiver); + else + return Math.round(receiver); }, - _asyncCompleteWithValue$1: function(value) { - var _this = this; - _this.$ti._precomputed1._as(value); - _this._async$_state = 1; - P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__asyncCompleteWithValue_closure(_this, value))); + toStringAsFixed$1(receiver, fractionDigits) { + var result; + if (fractionDigits > 20) + throw A.wrapException(A.RangeError$range(fractionDigits, 0, 20, "fractionDigits", null)); + result = receiver.toFixed(fractionDigits); + if (receiver === 0 && this.get$isNegative(receiver)) + return "-" + result; + return result; }, - _chainFuture$1: function(value) { - var _this = this, - t1 = _this.$ti; - t1._eval$1("Future<1>")._as(value); - if (t1._is(value)) { - if (value._async$_state === 8) { - _this._async$_state = 1; - P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__chainFuture_closure(_this, value))); - } else - P._Future__chainCoreFuture(value, _this); - return; + toRadixString$1(receiver, radix) { + var result, match, t1, exponent; + if (radix < 2 || radix > 36) + throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null)); + result = receiver.toString(radix); + if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) + return result; + match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); + if (match == null) + A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result)); + t1 = match.length; + if (1 >= t1) + return A.ioore(match, 1); + result = match[1]; + if (3 >= t1) + return A.ioore(match, 3); + exponent = +match[3]; + t1 = match[2]; + if (t1 != null) { + result += t1; + exponent -= t1.length; } - _this._chainForeignFuture$1(value); + return result + B.JSString_methods.$mul("0", exponent); }, - _asyncCompleteError$2: function(error, stackTrace) { - type$.StackTrace._as(stackTrace); - this._async$_state = 1; - P._rootScheduleMicrotask(null, null, this._zone, type$.void_Function._as(new P._Future__asyncCompleteError_closure(this, error, stackTrace))); + toString$0(receiver) { + if (receiver === 0 && 1 / receiver < 0) + return "-0.0"; + else + return "" + receiver; }, - $isFuture: 1 - }; - P._Future__addListener_closure.prototype = { - call$0: function() { - P._Future__propagateToListeners(this.$this, this.listener); + get$hashCode(receiver) { + var absolute, floorLog2, factor, scaled, + intValue = receiver | 0; + if (receiver === intValue) + return intValue & 536870911; + absolute = Math.abs(receiver); + floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; + factor = Math.pow(2, floorLog2); + scaled = absolute < 1 ? absolute / factor : factor / absolute; + return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; }, - $signature: 0 - }; - P._Future__prependListeners_closure.prototype = { - call$0: function() { - P._Future__propagateToListeners(this.$this, this._box_0.listeners); + $sub(receiver, other) { + A._asNumS(other); + if (typeof other != "number") + throw A.wrapException(A.argumentErrorValue(other)); + return receiver - other; }, - $signature: 0 - }; - P._Future__chainForeignFuture_closure.prototype = { - call$1: function(value) { - var error, stackTrace, exception, - t1 = this.$this; - t1._async$_state = 0; - try { - t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); - } catch (exception) { - error = H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); - t1._completeError$2(error, stackTrace); - } + $mod(receiver, other) { + var result = receiver % other; + if (result === 0) + return 0; + if (result > 0) + return result; + if (other < 0) + return result - other; + else + return result + other; }, - $signature: 32 - }; - P._Future__chainForeignFuture_closure0.prototype = { - call$2: function(error, stackTrace) { - this.$this._completeError$2(error, type$.StackTrace._as(stackTrace)); + $tdiv(receiver, other) { + if ((receiver | 0) === receiver) + if (other >= 1 || other < -1) + return receiver / other | 0; + return this._tdivSlow$1(receiver, other); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 293 - }; - P._Future__chainForeignFuture_closure1.prototype = { - call$0: function() { - this.$this._completeError$2(this.e, this.s); + _tdivFast$1(receiver, other) { + return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); }, - $signature: 0 - }; - P._Future__asyncCompleteWithValue_closure.prototype = { - call$0: function() { - this.$this._completeWithValue$1(this.value); + _tdivSlow$1(receiver, other) { + var quotient = receiver / other; + if (quotient >= -2147483648 && quotient <= 2147483647) + return quotient | 0; + if (quotient > 0) { + if (quotient !== 1 / 0) + return Math.floor(quotient); + } else if (quotient > -1 / 0) + return Math.ceil(quotient); + throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other)); }, - $signature: 0 - }; - P._Future__chainFuture_closure.prototype = { - call$0: function() { - P._Future__chainCoreFuture(this.value, this.$this); + $shl(receiver, other) { + if (typeof other != "number") + throw A.wrapException(A.argumentErrorValue(other)); + if (other < 0) + throw A.wrapException(A.argumentErrorValue(other)); + return other > 31 ? 0 : receiver << other >>> 0; }, - $signature: 0 - }; - P._Future__asyncCompleteError_closure.prototype = { - call$0: function() { - this.$this._completeError$2(this.error, this.stackTrace); + _shlPositive$1(receiver, other) { + return other > 31 ? 0 : receiver << other >>> 0; }, - $signature: 0 - }; - P._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { - call$0: function() { - var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; - try { - t1 = _this._box_0.listener; - completeResult = t1.result._zone.run$1$1(type$.dynamic_Function._as(t1.callback), type$.dynamic); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - if (_this.hasError) { - t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners).error; - t2 = e; - t2 = t1 == null ? t2 == null : t1 === t2; - t1 = t2; - } else - t1 = false; - t2 = _this._box_0; - if (t1) - t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); - else - t2.listenerValueOrError = P.AsyncError$(e, s); - t2.listenerHasError = true; - return; - } - if (completeResult instanceof P._Future && completeResult._async$_state >= 4) { - if (completeResult._async$_state === 8) { - t1 = _this._box_0; - t1.listenerValueOrError = type$.AsyncError._as(completeResult._resultOrListeners); - t1.listenerHasError = true; - } - return; + $shr(receiver, other) { + var t1; + if (other < 0) + throw A.wrapException(A.argumentErrorValue(other)); + if (receiver > 0) + t1 = this._shrBothPositive$1(receiver, other); + else { + t1 = other > 31 ? 31 : other; + t1 = receiver >> t1 >>> 0; } - if (type$.Future_dynamic._is(completeResult)) { - originalSource = _this._box_1.source; - t1 = _this._box_0; - t1.listenerValueOrError = J.then$1$1$z(completeResult, new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); - t1.listenerHasError = false; + return t1; + }, + _shrOtherPositive$1(receiver, other) { + var t1; + if (receiver > 0) + t1 = this._shrBothPositive$1(receiver, other); + else { + t1 = other > 31 ? 31 : other; + t1 = receiver >> t1 >>> 0; } + return t1; }, - $signature: 0 - }; - P._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { - call$1: function(_) { - return this.originalSource; + _shrReceiverPositive$1(receiver, other) { + if (0 > other) + throw A.wrapException(A.argumentErrorValue(other)); + return this._shrBothPositive$1(receiver, other); }, - $signature: 337 - }; - P._Future__propagateToListeners_handleValueCallback.prototype = { - call$0: function() { - var e, s, t1, t2, t3, t4, t5, exception; - try { - t1 = this._box_0; - t2 = t1.listener; - t3 = t2.$ti; - t4 = t3._precomputed1; - t5 = t4._as(this.sourceResult); - t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t3._eval$1("2/(1)")._as(t2.callback), t5, t3._eval$1("2/"), t4); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - t1 = this._box_0; - t1.listenerValueOrError = P.AsyncError$(e, s); - t1.listenerHasError = true; - } + _shrBothPositive$1(receiver, other) { + return other > 31 ? 0 : receiver >>> other; }, - $signature: 0 + get$runtimeType(receiver) { + return B.Type_num_cv7; + }, + $isComparable: 1, + $isdouble: 1, + $isnum: 1 }; - P._Future__propagateToListeners_handleError.prototype = { - call$0: function() { - var asyncError, e, s, t1, exception, t2, t3, t4, _this = this; - try { - asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); - t1 = _this._box_0; - if (H.boolConversionCheck(t1.listener.matchesErrorTest$1(asyncError)) && t1.listener.errorCallback != null) { - t1.listenerValueOrError = t1.listener.handleError$1(asyncError); - t1.listenerHasError = false; - } - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); - t2 = t1.error; - t3 = e; - t4 = _this._box_0; - if (t2 == null ? t3 == null : t2 === t3) - t4.listenerValueOrError = t1; - else - t4.listenerValueOrError = P.AsyncError$(e, s); - t4.listenerHasError = true; + J.JSInt.prototype = { + get$bitLength(receiver) { + var wordBits, + t1 = receiver < 0 ? -receiver - 1 : receiver, + nonneg = t1; + for (wordBits = 32; nonneg >= 4294967296;) { + nonneg = this._tdivFast$1(nonneg, 4294967296); + wordBits += 32; } + return wordBits - Math.clz32(nonneg); }, - $signature: 0 + get$runtimeType(receiver) { + return B.Type_int_tHn; + }, + $isint: 1 + }; + J.JSNumNotInt.prototype = { + get$runtimeType(receiver) { + return B.Type_double_K1J; + } }; - P._AsyncCallbackEntry.prototype = {}; - P.Stream.prototype = { - map$1$1: function(_, convert, $S) { - var t1 = H._instanceType(this); - return new P._MapStream(t1._bind$1($S)._eval$1("1(Stream.T)")._as(convert), this, t1._eval$1("@")._bind$1($S)._eval$1("_MapStream<1,2>")); + J.JSString.prototype = { + codeUnitAt$1(receiver, index) { + if (!A._isInt(index)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (index < 0) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (index >= receiver.length) + A.throwExpression(A.diagnoseIndexError(receiver, index)); + return receiver.charCodeAt(index); }, - map$1: function($receiver, convert) { - return this.map$1$1($receiver, convert, type$.dynamic); + _codeUnitAt$1(receiver, index) { + if (index >= receiver.length) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + return receiver.charCodeAt(index); }, - get$length: function(_) { - var t1 = {}, - future = new P._Future($.Zone__current, type$._Future_int); - t1.count = 0; - this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1, this), true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); - return future; + allMatches$2(receiver, string, start) { + var t1 = string.length; + if (start > t1) + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._StringAllMatchesIterable(string, receiver, start); }, - cast$1$0: function(_, $R) { - return new H.CastStream(this, H._instanceType(this)._eval$1("@")._bind$1($R)._eval$1("CastStream<1,2>")); + allMatches$1($receiver, string) { + return this.allMatches$2($receiver, string, 0); }, - get$first: function(_) { - var future = new P._Future($.Zone__current, H._instanceType(this)._eval$1("_Future")), - subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new P.Stream_first_closure(future), future.get$_completeError()); - subscription.onData$1(new P.Stream_first_closure0(this, subscription, future)); - return future; - } - }; - P.Stream_Stream$fromIterable_closure.prototype = { - call$0: function() { - var t1 = this.elements; - return new P._IterablePendingEvents(new J.ArrayIterator(t1, 1, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), this.T._eval$1("_IterablePendingEvents<0>")); + matchAsPrefix$2(receiver, string, start) { + var t1, i, _null = null; + if (start < 0 || start > string.length) + throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null)); + t1 = receiver.length; + if (start + t1 > string.length) + return _null; + for (i = 0; i < t1; ++i) + if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) + return _null; + return new A.StringMatch(start, receiver); }, - $signature: function() { - return this.T._eval$1("_IterablePendingEvents<0>()"); - } - }; - P.Stream_length_closure.prototype = { - call$1: function(_) { - H._instanceType(this.$this)._eval$1("Stream.T")._as(_); - ++this._box_0.count; + $add(receiver, other) { + if (typeof other != "string") + throw A.wrapException(A.ArgumentError$value(other, null, null)); + return receiver + other; }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("~(Stream.T)"); - } - }; - P.Stream_length_closure0.prototype = { - call$0: function() { - this.future._complete$1(this._box_0.count); + endsWith$1(receiver, other) { + var otherLength = other.length, + t1 = receiver.length; + if (otherLength > t1) + return false; + return other === this.substring$1(receiver, t1 - otherLength); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 - }; - P.Stream_first_closure.prototype = { - call$0: function() { - var e, s, t1, exception; - try { - t1 = H.IterableElementError_noElement(); - throw H.wrapException(t1); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._completeWithErrorCallback(this.future, e, s); - } + replaceAll$2(receiver, from, to) { + return A.stringReplaceAllUnchecked(receiver, from, to); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 - }; - P.Stream_first_closure0.prototype = { - call$1: function(value) { - P._cancelAndValue(this.subscription, this.future, H._instanceType(this.$this)._eval$1("Stream.T")._as(value)); + replaceFirst$2(receiver, from, to) { + A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); + return A.stringReplaceFirstUnchecked(receiver, from, to, 0); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("~(Stream.T)"); - } - }; - P.StreamSubscription.prototype = {}; - P.StreamView.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - return this._stream.listen$4$cancelOnError$onDone$onError(H._instanceType(this)._eval$1("~(StreamView.T)?")._as(onData), cancelOnError, type$.nullable_void_Function._as(onDone), onError); + replaceRange$3(receiver, start, end, replacement) { + var e = A.RangeError_checkValidRange(start, end, receiver.length); + if (!A._isInt(e)) + A.throwExpression(A.argumentErrorValue(e)); + return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + startsWith$2(receiver, pattern, index) { + var endIndex; + if (index < 0 || index > receiver.length) + throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); + endIndex = index + pattern.length; + if (endIndex > receiver.length) + return false; + return pattern === receiver.substring(index, endIndex); }, - listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); - } - }; - P.StreamTransformerBase.prototype = {}; - P._StreamController.prototype = { - get$_pendingEvents: function() { - var t1, _this = this; - if ((_this._async$_state & 8) === 0) - return H._instanceType(_this)._eval$1("_PendingEvents<1>?")._as(_this._varData); - t1 = H._instanceType(_this); - return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData()); + startsWith$1($receiver, pattern) { + return this.startsWith$2($receiver, pattern, 0); }, - _ensurePendingEvents$0: function() { - var events, t1, _this = this; - if ((_this._async$_state & 8) === 0) { - events = _this._varData; - if (events == null) - events = _this._varData = new P._StreamImplEvents(H._instanceType(_this)._eval$1("_StreamImplEvents<1>")); - return H._instanceType(_this)._eval$1("_StreamImplEvents<1>")._as(events); - } - t1 = H._instanceType(_this); - events = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData(); - return t1._eval$1("_StreamImplEvents<1>")._as(events); + substring$2(receiver, start, end) { + if (!A._isInt(start)) + A.throwExpression(A.argumentErrorValue(start)); + return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length)); }, - get$_subscription: function() { - var varData = this._varData; - if ((this._async$_state & 8) !== 0) - varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).get$varData(); - return H._instanceType(this)._eval$1("_ControllerSubscription<1>")._as(varData); + substring$1($receiver, start) { + return this.substring$2($receiver, start, null); }, - _badEventState$0: function() { - if ((this._async$_state & 4) !== 0) - return new P.StateError("Cannot add event after closing"); - return new P.StateError("Cannot add event while adding a stream"); + toLowerCase$0(receiver) { + return receiver.toLowerCase(); }, - add$1: function(_, value) { - var t2, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(value); - t2 = _this._async$_state; - if (t2 >= 4) - throw H.wrapException(_this._badEventState$0()); - if ((t2 & 1) !== 0) - _this._sendData$1(value); - else if ((t2 & 3) === 0) - _this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, t1._eval$1("_DelayedData<1>"))); - }, - _subscribe$4: function(onData, onError, onDone, cancelOnError) { - var subscription, pendingEvents, t2, addState, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("~(1)?")._as(onData); - type$.nullable_void_Function._as(onDone); - if ((_this._async$_state & 3) !== 0) - throw H.wrapException(P.StateError$("Stream has already been listened to.")); - subscription = P._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, t1._precomputed1); - pendingEvents = _this.get$_pendingEvents(); - t2 = _this._async$_state |= 1; - if ((t2 & 8) !== 0) { - addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); - addState.set$varData(subscription); - addState.resume$0(0); + trim$0(receiver) { + var startIndex, t1, endIndex0, + result = receiver.trim(), + endIndex = result.length; + if (endIndex === 0) + return result; + if (this._codeUnitAt$1(result, 0) === 133) { + startIndex = J.JSString__skipLeadingWhitespace(result, 1); + if (startIndex === endIndex) + return ""; } else - _this._varData = subscription; - subscription._setPendingEvents$1(pendingEvents); - subscription._guardCallback$1(new P._StreamController__subscribe_closure(_this)); - return subscription; + startIndex = 0; + t1 = endIndex - 1; + endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; + if (startIndex === 0 && endIndex0 === endIndex) + return result; + return result.substring(startIndex, endIndex0); }, - _recordCancel$1: function(subscription) { - var result, onCancel, cancelResult, e, s, exception, result0, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("StreamSubscription<1>")._as(subscription); - result = null; - if ((_this._async$_state & 8) !== 0) - result = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).cancel$0(0); - _this._varData = null; - _this._async$_state = _this._async$_state & 4294967286 | 2; - onCancel = _this.onCancel; - if (onCancel != null) - if (result == null) - try { - cancelResult = onCancel.call$0(); - if (type$.Future_void._is(cancelResult)) - result = cancelResult; - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - result0 = new P._Future($.Zone__current, type$._Future_void); - result0._asyncCompleteError$2(e, s); - result = result0; - } - else - result = result.whenComplete$1(onCancel); - t1 = new P._StreamController__recordCancel_complete(_this); - if (result != null) - result = result.whenComplete$1(t1); - else - t1.call$0(); - return result; + trimRight$0(receiver) { + var result, endIndex, t1; + if (typeof receiver.trimRight != "undefined") { + result = receiver.trimRight(); + endIndex = result.length; + if (endIndex === 0) + return result; + t1 = endIndex - 1; + if (this.codeUnitAt$1(result, t1) === 133) + endIndex = J.JSString__skipTrailingWhitespace(result, t1); + } else { + endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length); + result = receiver; + } + if (endIndex === result.length) + return result; + if (endIndex === 0) + return ""; + return result.substring(0, endIndex); }, - _recordPause$1: function(subscription) { - var _this = this, - t1 = H._instanceType(_this); - t1._eval$1("StreamSubscription<1>")._as(subscription); - if ((_this._async$_state & 8) !== 0) - t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).pause$0(0); - P._runGuarded(_this.onPause); + $mul(receiver, times) { + var s, result; + if (typeof times !== "number") + return A.iae(times); + if (0 >= times) + return ""; + if (times === 1 || receiver.length === 0) + return receiver; + if (times !== times >>> 0) + throw A.wrapException(B.C_OutOfMemoryError); + for (s = receiver, result = ""; true;) { + if ((times & 1) === 1) + result = s + result; + times = times >>> 1; + if (times === 0) + break; + s += s; + } + return result; }, - _recordResume$1: function(subscription) { - var _this = this, - t1 = H._instanceType(_this); - t1._eval$1("StreamSubscription<1>")._as(subscription); - if ((_this._async$_state & 8) !== 0) - t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).resume$0(0); - P._runGuarded(_this.onResume); + padLeft$2(receiver, width, padding) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return this.$mul(padding, delta) + receiver; }, - $isStreamController: 1, - $is_StreamControllerLifecycle: 1, - $is_EventSink: 1, - $is_EventDispatch: 1 - }; - P._StreamController__subscribe_closure.prototype = { - call$0: function() { - P._runGuarded(this.$this.onListen); + padRight$1(receiver, width) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return receiver + this.$mul(" ", delta); }, - $signature: 0 - }; - P._StreamController__recordCancel_complete.prototype = { - call$0: function() { + indexOf$2(receiver, pattern, start) { + var t1; + if (start < 0 || start > receiver.length) + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); + t1 = receiver.indexOf(pattern, start); + return t1; }, - $signature: 0 - }; - P._SyncStreamControllerDispatch.prototype = { - _sendData$1: function(data) { - this.$ti._precomputed1._as(data); - this.get$_subscription()._async$_add$1(0, data); - } - }; - P._SyncStreamController.prototype = {}; - P._ControllerStream.prototype = { - _createSubscription$4: function(onData, onError, onDone, cancelOnError) { - return this._async$_controller._subscribe$4(H._instanceType(this)._eval$1("~(1)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError); + indexOf$1($receiver, pattern) { + return this.indexOf$2($receiver, pattern, 0); }, - get$hashCode: function(_) { - return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; + lastIndexOf$2(receiver, pattern, start) { + var t1, t2; + if (start == null) + start = receiver.length; + else if (start < 0 || start > receiver.length) + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); + t1 = pattern.length; + t2 = receiver.length; + if (start + t1 > t2) + start = t2 - t1; + return receiver.lastIndexOf(pattern, start); }, - $eq: function(_, other) { - if (other == null) - return false; - if (this === other) - return true; - return other instanceof P._ControllerStream && other._async$_controller === this._async$_controller; - } - }; - P._ControllerSubscription.prototype = { - _onCancel$0: function() { - return this._async$_controller._recordCancel$1(this); + lastIndexOf$1($receiver, pattern) { + return this.lastIndexOf$2($receiver, pattern, null); }, - _onPause$0: function() { - this._async$_controller._recordPause$1(this); + contains$2(receiver, other, startIndex) { + var t1 = receiver.length; + if (startIndex > t1) + throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null)); + return A.stringContainsUnchecked(receiver, other, startIndex); }, - _onResume$0: function() { - this._async$_controller._recordResume$1(this); - } - }; - P._BufferingStreamSubscription.prototype = { - _setPendingEvents$1: function(pendingEvents) { - var _this = this; - H._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(pendingEvents); - if (pendingEvents == null) - return; - _this.set$_pending(pendingEvents); - if (!pendingEvents.get$isEmpty(pendingEvents)) { - _this._async$_state = (_this._async$_state | 64) >>> 0; - pendingEvents.schedule$1(_this); - } + contains$1($receiver, other) { + return this.contains$2($receiver, other, 0); }, - onData$1: function(handleData) { - var t1 = H._instanceType(this); - this.set$_async$_onData(P._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval$1("~(_BufferingStreamSubscription.T)?")._as(handleData), t1._eval$1("_BufferingStreamSubscription.T"))); + compareTo$1(receiver, other) { + var t1; + A._asStringS(other); + if (typeof other != "string") + throw A.wrapException(A.argumentErrorValue(other)); + if (receiver === other) + t1 = 0; + else + t1 = receiver < other ? -1 : 1; + return t1; }, - onError$1: function(_, handleError) { - this._onError = P._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError); + toString$0(receiver) { + return receiver; }, - pause$1: function(_, resumeSignal) { - var t2, t3, _this = this, - t1 = _this._async$_state; - if ((t1 & 8) !== 0) - return; - t2 = (t1 + 128 | 4) >>> 0; - _this._async$_state = t2; - if (t1 < 128) { - t3 = _this._pending; - if (t3 != null) - if (t3._async$_state === 1) - t3._async$_state = 3; - } - if ((t1 & 4) === 0 && (t2 & 32) === 0) - _this._guardCallback$1(_this.get$_onPause()); - }, - pause$0: function($receiver) { - return this.pause$1($receiver, null); - }, - resume$0: function(_) { - var _this = this, - t1 = _this._async$_state; - if ((t1 & 8) !== 0) - return; - if (t1 >= 128) { - t1 = _this._async$_state = t1 - 128; - if (t1 < 128) { - if ((t1 & 64) !== 0) { - t1 = _this._pending; - t1 = !t1.get$isEmpty(t1); - } else - t1 = false; - if (t1) - _this._pending.schedule$1(_this); - else { - t1 = (_this._async$_state & 4294967291) >>> 0; - _this._async$_state = t1; - if ((t1 & 32) === 0) - _this._guardCallback$1(_this.get$_onResume()); - } - } + get$hashCode(receiver) { + var t1, hash, i; + for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { + hash = hash + receiver.charCodeAt(i) & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + hash ^= hash >> 6; } + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >> 11; + return hash + ((hash & 16383) << 15) & 536870911; }, - cancel$0: function(_) { - var _this = this, - t1 = (_this._async$_state & 4294967279) >>> 0; - _this._async$_state = t1; - if ((t1 & 8) === 0) - _this._cancel$0(); - t1 = _this._cancelFuture; - return t1 == null ? $.$get$Future__nullFuture() : t1; + get$runtimeType(receiver) { + return B.Type_String_k8F; }, - _cancel$0: function() { - var t2, _this = this, - t1 = _this._async$_state = (_this._async$_state | 8) >>> 0; - if ((t1 & 64) !== 0) { - t2 = _this._pending; - if (t2._async$_state === 1) - t2._async$_state = 3; - } - if ((t1 & 32) === 0) - _this.set$_pending(null); - _this._cancelFuture = _this._onCancel$0(); + get$length(receiver) { + return receiver.length; }, - _async$_add$1: function(_, data) { - var t2, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("_BufferingStreamSubscription.T")._as(data); - t2 = _this._async$_state; - if ((t2 & 8) !== 0) - return; - if (t2 < 32) - _this._sendData$1(data); - else - _this._addPending$1(new P._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); + $index(receiver, index) { + A._asIntS(index); + if (!A._isInt(index)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + return receiver[index]; }, - _addError$2: function(error, stackTrace) { - var t1 = this._async$_state; - if ((t1 & 8) !== 0) - return; - if (t1 < 32) - this._sendError$2(error, stackTrace); - else - this._addPending$1(new P._DelayedError(error, stackTrace)); + $isJSIndexable: 1, + $isComparable: 1, + $isPattern: 1, + $isString: 1 + }; + A._CastIterableBase.prototype = { + get$iterator(_) { + var t1 = A._instanceType(this); + return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>")); }, - _close$0: function() { - var _this = this, - t1 = _this._async$_state; - if ((t1 & 8) !== 0) - return; - t1 = (t1 | 2) >>> 0; - _this._async$_state = t1; - if (t1 < 32) - _this._sendDone$0(); - else - _this._addPending$1(C.C__DelayedDone); + get$length(_) { + return J.get$length$asx(this.get$_source()); }, - _onPause$0: function() { + get$isEmpty(_) { + return J.get$isEmpty$asx(this.get$_source()); }, - _onResume$0: function() { + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this.get$_source()); }, - _onCancel$0: function() { - return null; + skip$1(_, count) { + var t1 = A._instanceType(this); + return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); }, - _addPending$1: function($event) { - var _this = this, - t1 = H._instanceType(_this), - pending = t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>?")._as(_this._pending); - if (pending == null) - pending = new P._StreamImplEvents(t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>")); - _this.set$_pending(pending); - pending.add$1(0, $event); - t1 = _this._async$_state; - if ((t1 & 64) === 0) { - t1 = (t1 | 64) >>> 0; - _this._async$_state = t1; - if (t1 < 128) - pending.schedule$1(_this); - } + take$1(_, count) { + var t1 = A._instanceType(this); + return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); }, - _sendData$1: function(data) { - var t2, _this = this, - t1 = H._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); - t1._as(data); - t2 = _this._async$_state; - _this._async$_state = (t2 | 32) >>> 0; - _this._zone.runUnaryGuarded$1$2(_this._async$_onData, data, t1); - _this._async$_state = (_this._async$_state & 4294967263) >>> 0; - _this._checkState$1((t2 & 4) !== 0); + elementAt$1(_, index) { + return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); }, - _sendError$2: function(error, stackTrace) { - var t1, t2, cancelFuture, _this = this; - type$.StackTrace._as(stackTrace); - t1 = _this._async$_state; - t2 = new P._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); - if ((t1 & 1) !== 0) { - _this._async$_state = (t1 | 16) >>> 0; - _this._cancel$0(); - cancelFuture = _this._cancelFuture; - if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) - cancelFuture.whenComplete$1(t2); - else - t2.call$0(); - } else { - t2.call$0(); - _this._checkState$1((t1 & 4) !== 0); - } + get$first(_) { + return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source())); }, - _sendDone$0: function() { - var cancelFuture, _this = this, - t1 = new P._BufferingStreamSubscription__sendDone_sendDone(_this); - _this._cancel$0(); - _this._async$_state = (_this._async$_state | 16) >>> 0; - cancelFuture = _this._cancelFuture; - if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) - cancelFuture.whenComplete$1(t1); - else - t1.call$0(); + get$last(_) { + return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source())); }, - _guardCallback$1: function(callback) { - var t1, _this = this; - type$.void_Function._as(callback); - t1 = _this._async$_state; - _this._async$_state = (t1 | 32) >>> 0; - callback.call$0(); - _this._async$_state = (_this._async$_state & 4294967263) >>> 0; - _this._checkState$1((t1 & 4) !== 0); + get$single(_) { + return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source())); }, - _checkState$1: function(wasInputPaused) { - var t1, isInputPaused, _this = this; - if ((_this._async$_state & 64) !== 0) { - t1 = _this._pending; - t1 = t1.get$isEmpty(t1); - } else - t1 = false; - if (t1) { - t1 = _this._async$_state = (_this._async$_state & 4294967231) >>> 0; - if ((t1 & 4) !== 0) - if (t1 < 128) { - t1 = _this._pending; - t1 = t1 == null ? null : t1.get$isEmpty(t1); - t1 = t1 !== false; - } else - t1 = false; - else - t1 = false; - if (t1) - _this._async$_state = (_this._async$_state & 4294967291) >>> 0; - } - for (; true; wasInputPaused = isInputPaused) { - t1 = _this._async$_state; - if ((t1 & 8) !== 0) { - _this.set$_pending(null); - return; - } - isInputPaused = (t1 & 4) !== 0; - if (wasInputPaused === isInputPaused) - break; - _this._async$_state = (t1 ^ 32) >>> 0; - if (isInputPaused) - _this._onPause$0(); - else - _this._onResume$0(); - _this._async$_state = (_this._async$_state & 4294967263) >>> 0; - } - t1 = _this._async$_state; - if ((t1 & 64) !== 0 && t1 < 128) - _this._pending.schedule$1(_this); + contains$1(_, other) { + return J.contains$1$asx(this.get$_source(), other); }, - set$_async$_onData: function(_onData) { - this._async$_onData = H._instanceType(this)._eval$1("~(_BufferingStreamSubscription.T)")._as(_onData); + toString$0(_) { + return J.toString$0$(this.get$_source()); + } + }; + A.CastIterator.prototype = { + moveNext$0() { + return this._source.moveNext$0(); }, - set$_pending: function(_pending) { - this._pending = H._instanceType(this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(_pending); + get$current(_) { + var t1 = this._source; + return this.$ti._rest[1]._as(t1.get$current(t1)); }, - $isStreamSubscription: 1, - $is_EventSink: 1, - $is_EventDispatch: 1 + $isIterator: 1 }; - P._BufferingStreamSubscription__sendError_sendError.prototype = { - call$0: function() { - var onError, t3, t4, - t1 = this.$this, - t2 = t1._async$_state; - if ((t2 & 8) !== 0 && (t2 & 16) === 0) - return; - t1._async$_state = (t2 | 32) >>> 0; - onError = t1._onError; - t2 = this.error; - t3 = type$.Object; - t4 = t1._zone; - if (type$.void_Function_Object_StackTrace._is(onError)) - t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); - else - t4.runUnaryGuarded$1$2(type$.void_Function_Object._as(onError), t2, t3); - t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + A.CastIterable.prototype = { + cast$1$0(_, $R) { + return A.CastIterable_CastIterable(this._source, A._instanceType(this)._precomputed1, $R); }, - $signature: 0 + get$_source() { + return this._source; + } }; - P._BufferingStreamSubscription__sendDone_sendDone.prototype = { - call$0: function() { - var t1 = this.$this, - t2 = t1._async$_state; - if ((t2 & 16) === 0) - return; - t1._async$_state = (t2 | 42) >>> 0; - t1._zone.runGuarded$1(t1._onDone); - t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; + A._CastListBase.prototype = { + $index(_, index) { + return this.$ti._rest[1]._as(J.$index$asx(this._source, A._asIntS(index))); }, - $signature: 0 - }; - P._StreamImpl.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - H._instanceType(this)._eval$1("~(1)?")._as(onData); - type$.nullable_void_Function._as(onDone); - return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); + $indexSet(_, index, value) { + var t1 = this.$ti; + J.$indexSet$ax(this._source, A._asIntS(index), t1._precomputed1._as(t1._rest[1]._as(value))); }, - listen$1: function(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + set$length(_, $length) { + J.set$length$asx(this._source, $length); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + add$1(_, value) { + var t1 = this.$ti; + J.add$1$ax(this._source, t1._precomputed1._as(t1._rest[1]._as(value))); }, - listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + addAll$1(_, values) { + var t1 = this.$ti; + J.addAll$1$ax(this._source, A.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(values), t1._rest[1], t1._precomputed1)); }, - _createSubscription$4: function(onData, onError, onDone, cancelOnError) { - var t1 = H._instanceType(this); - return P._BufferingStreamSubscription$(t1._eval$1("~(1)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError, t1._precomputed1); - } - }; - P._GeneratedStreamImpl.prototype = { - _createSubscription$4: function(onData, onError, onDone, cancelOnError) { - var _this = this, - t1 = _this.$ti; - t1._eval$1("~(1)?")._as(onData); - type$.nullable_void_Function._as(onDone); - if (_this._isUsed) - throw H.wrapException(P.StateError$("Stream has already been listened to.")); - _this._isUsed = true; - t1 = P._BufferingStreamSubscription$(onData, onError, onDone, cancelOnError, t1._precomputed1); - t1._setPendingEvents$1(_this._pending.call$0()); - return t1; - } - }; - P._IterablePendingEvents.prototype = { - get$isEmpty: function(_) { - return this._async$_iterator == null; + sort$1(_, compare) { + var t1; + this.$ti._eval$1("int(2,2)?")._as(compare); + t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare); + J.sort$1$ax(this._source, t1); }, - handleNext$1: function(dispatch) { - var iterator, movedNext, e, s, exception, _this = this; - _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); - iterator = _this._async$_iterator; - if (iterator == null) - throw H.wrapException(P.StateError$("No events pending.")); - movedNext = false; - try { - if (iterator.moveNext$0()) { - movedNext = true; - dispatch._sendData$1(J.get$current$x(iterator)); - } else { - _this.set$_async$_iterator(null); - dispatch._sendDone$0(); - } - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - if (!H.boolConversionCheck(movedNext)) - _this.set$_async$_iterator(C.C_EmptyIterator); - dispatch._sendError$2(e, s); - } + sort$0($receiver) { + return this.sort$1($receiver, null); }, - set$_async$_iterator: function(_iterator) { - this._async$_iterator = this.$ti._eval$1("Iterator<1>?")._as(_iterator); - } + insert$2(_, index, element) { + var t1 = this.$ti; + J.insert$2$ax(this._source, index, t1._precomputed1._as(t1._rest[1]._as(element))); + }, + insertAll$2(_, index, elements) { + var t1 = this.$ti; + J.insertAll$2$ax(this._source, index, A.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + }, + setAll$2(_, index, elements) { + var t1 = this.$ti; + J.setAll$2$ax(this._source, index, A.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + }, + remove$1(_, value) { + return J.remove$1$ax(this._source, value); + }, + removeAt$1(_, index) { + return this.$ti._rest[1]._as(J.removeAt$1$ax(this._source, index)); + }, + removeLast$0(_) { + return this.$ti._rest[1]._as(J.removeLast$0$ax(this._source)); + }, + removeWhere$1(_, test) { + J.removeWhere$1$ax(this._source, new A._CastListBase_removeWhere_closure(this, this.$ti._eval$1("bool(2)")._as(test))); + }, + getRange$2(_, start, end) { + var t1 = this.$ti; + return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]); + }, + setRange$4(_, start, end, iterable, skipCount) { + var t1 = this.$ti; + J.setRange$4$ax(this._source, start, A._asIntS(end), A.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(iterable), t1._rest[1], t1._precomputed1), skipCount); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + $isEfficientLengthIterable: 1, + $isList: 1 }; - P._DelayedEvent.prototype = { - set$next: function(_, next) { - this.next = type$.nullable__DelayedEvent_dynamic._as(next); + A._CastListBase_sort_closure.prototype = { + call$2(v1, v2) { + var t1 = this.$this.$ti, + t2 = t1._precomputed1; + t2._as(v1); + t2._as(v2); + t1 = t1._rest[1]; + return this.compare.call$2(t1._as(v1), t1._as(v2)); }, - get$next: function(receiver) { - return this.next; + $signature() { + return this.$this.$ti._eval$1("int(1,1)"); } }; - P._DelayedData.prototype = { - perform$1: function(dispatch) { - this.$ti._eval$1("_EventDispatch<1>")._as(dispatch)._sendData$1(this.value); + A._CastListBase_removeWhere_closure.prototype = { + call$1(element) { + var t1 = this.$this.$ti; + return this.test.call$1(t1._rest[1]._as(t1._precomputed1._as(element))); }, - get$value: function(receiver) { - return this.value; + $signature() { + return this.$this.$ti._eval$1("bool(1)"); } }; - P._DelayedError.prototype = { - perform$1: function(dispatch) { - dispatch._sendError$2(this.error, this.stackTrace); + A.CastList.prototype = { + cast$1$0(_, $R) { + return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); }, - get$stackTrace: function() { - return this.stackTrace; + get$_source() { + return this._source; } }; - P._DelayedDone.prototype = { - perform$1: function(dispatch) { - dispatch._sendDone$0(); + A.CastSet.prototype = { + cast$1$0(_, $R) { + return new A.CastSet(this._source, this.__internal$_emptySet, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastSet<1,2>")); }, - get$next: function(_) { - return null; - }, - set$next: function(_, _0) { - throw H.wrapException(P.StateError$("No events after a done.")); + add$1(_, value) { + var t1 = this.$ti; + return this._source.add$1(0, t1._precomputed1._as(t1._rest[1]._as(value))); }, - $is_DelayedEvent: 1 - }; - P._PendingEvents.prototype = { - schedule$1: function(dispatch) { - var t1, _this = this; - H._instanceType(_this)._eval$1("_EventDispatch<1>")._as(dispatch); - t1 = _this._async$_state; - if (t1 === 1) - return; - if (t1 >= 1) { - _this._async$_state = 1; - return; - } - P.scheduleMicrotask(new P._PendingEvents_schedule_closure(_this, dispatch)); - _this._async$_state = 1; + $isEfficientLengthIterable: 1, + $isSet: 1, + get$_source() { + return this._source; } }; - P._PendingEvents_schedule_closure.prototype = { - call$0: function() { - var t1 = this.$this, - oldState = t1._async$_state; - t1._async$_state = 0; - if (oldState === 3) - return; - t1.handleNext$1(this.dispatch); + A.CastMap.prototype = { + cast$2$0(_, RK, RV) { + var t1 = this.$ti; + return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>")); }, - $signature: 0 - }; - P._StreamImplEvents.prototype = { - get$isEmpty: function(_) { - return this.lastPendingEvent == null; + containsKey$1(_, key) { + return J.containsKey$1$x(this._source, key); }, - add$1: function(_, $event) { - var lastEvent, _this = this; - type$._DelayedEvent_dynamic._as($event); - lastEvent = _this.lastPendingEvent; - if (lastEvent == null) - _this.firstPendingEvent = _this.lastPendingEvent = $event; - else { - lastEvent.set$next(0, $event); - _this.lastPendingEvent = $event; - } + $index(_, key) { + return this.$ti._eval$1("4?")._as(J.$index$asx(this._source, key)); }, - handleNext$1: function(dispatch) { - var $event, nextEvent, _this = this; - _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); - $event = _this.firstPendingEvent; - nextEvent = $event.get$next($event); - _this.firstPendingEvent = nextEvent; - if (nextEvent == null) - _this.lastPendingEvent = null; - $event.perform$1(dispatch); - } - }; - P._DoneStreamSubscription.prototype = { - _schedule$0: function() { - var _this = this; - if ((_this._async$_state & 2) !== 0) - return; - P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(_this.get$_sendDone())); - _this._async$_state = (_this._async$_state | 2) >>> 0; + $indexSet(_, key, value) { + var t1 = this.$ti; + t1._rest[2]._as(key); + t1._rest[3]._as(value); + J.$indexSet$ax(this._source, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - onData$1: function(handleData) { - this.$ti._eval$1("~(1)?")._as(handleData); + remove$1(_, key) { + return this.$ti._eval$1("4?")._as(J.remove$1$ax(this._source, key)); }, - onError$1: function(_, handleError) { + forEach$1(_, f) { + J.forEach$1$ax(this._source, new A.CastMap_forEach_closure(this, this.$ti._eval$1("~(3,4)")._as(f))); }, - pause$1: function(_, resumeSignal) { - this._async$_state += 4; + get$keys(_) { + var t1 = this.$ti; + return A.CastIterable_CastIterable(J.get$keys$x(this._source), t1._precomputed1, t1._rest[2]); }, - pause$0: function($receiver) { - return this.pause$1($receiver, null); + get$values(_) { + var t1 = this.$ti; + return A.CastIterable_CastIterable(J.get$values$x(this._source), t1._rest[1], t1._rest[3]); }, - resume$0: function(_) { - var t1 = this._async$_state; - if (t1 >= 4) { - t1 = this._async$_state = t1 - 4; - if (t1 < 4 && (t1 & 1) === 0) - this._schedule$0(); - } + get$length(_) { + return J.get$length$asx(this._source); }, - cancel$0: function(_) { - return $.$get$Future__nullFuture(); + get$isEmpty(_) { + return J.get$isEmpty$asx(this._source); }, - _sendDone$0: function() { - var doneHandler, _this = this, - t1 = _this._async$_state = (_this._async$_state & 4294967293) >>> 0; - if (t1 >= 4) - return; - _this._async$_state = (t1 | 1) >>> 0; - doneHandler = _this._onDone; - if (doneHandler != null) - _this._zone.runGuarded$1(doneHandler); + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this._source); }, - $isStreamSubscription: 1 + get$entries(_) { + return J.get$entries$x(this._source).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>")); + }, + removeWhere$1(_, test) { + J.removeWhere$1$ax(this._source, new A.CastMap_removeWhere_closure(this, this.$ti._eval$1("bool(3,4)")._as(test))); + } }; - P._StreamIterator.prototype = {}; - P._cancelAndValue_closure.prototype = { - call$0: function() { - return this.future._complete$1(this.value); + A.CastMap_forEach_closure.prototype = { + call$2(key, value) { + var t1 = this.$this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); }, - $signature: 0 + $signature() { + return this.$this.$ti._eval$1("~(1,2)"); + } }; - P._ForwardingStream.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - H._instanceType(this)._eval$1("~(_ForwardingStream.T)?")._as(onData); - type$.nullable_void_Function._as(onDone); - return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); + A.CastMap_entries_closure.prototype = { + call$1(e) { + var t2, + t1 = this.$this.$ti; + t1._eval$1("MapEntry<1,2>")._as(e); + t2 = t1._rest[3]; + return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>")); }, - listen$1: function(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + $signature() { + return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)"); + } + }; + A.CastMap_removeWhere_closure.prototype = { + call$2(key, value) { + var t1 = this.$this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + return this.test.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + $signature() { + return this.$this.$ti._eval$1("bool(1,2)"); + } + }; + A.CastQueue.prototype = { + cast$1$0(_, $R) { + return new A.CastQueue(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); }, - listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + add$1(_, value) { + var t1 = this.$ti, + t2 = this._source; + t2._add$1(0, t2.$ti._precomputed1._as(t1._precomputed1._as(t1._rest[1]._as(value)))); }, - _createSubscription$4: function(onData, onError, onDone, cancelOnError) { - var t1 = H._instanceType(this); - return P._ForwardingStreamSubscription$(this, t1._eval$1("~(_ForwardingStream.T)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError, t1._eval$1("_ForwardingStream.S"), t1._eval$1("_ForwardingStream.T")); + $isEfficientLengthIterable: 1, + $isQueue: 1, + get$_source() { + return this._source; } }; - P._ForwardingStreamSubscription.prototype = { - _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { - var _this = this; - _this.set$_subscription(_this._stream._async$_source.listen$3$onDone$onError(_this.get$_handleData(), _this.get$_handleDone(), _this.get$_handleError())); - }, - _async$_add$1: function(_, data) { - H._instanceType(this)._eval$1("_ForwardingStreamSubscription.T")._as(data); - if ((this._async$_state & 2) !== 0) - return; - this.super$_BufferingStreamSubscription$_add(0, data); + A.LateError.prototype = { + toString$0(_) { + return "LateInitializationError: " + this._message; + } + }; + A.ReachabilityError.prototype = { + toString$0(_) { + return "ReachabilityError: " + this._message; + } + }; + A.CodeUnits.prototype = { + get$length(_) { + return this.__internal$_string.length; }, - _addError$2: function(error, stackTrace) { - if ((this._async$_state & 2) !== 0) - return; - this.super$_BufferingStreamSubscription$_addError(error, stackTrace); + $index(_, i) { + return B.JSString_methods.codeUnitAt$1(this.__internal$_string, A._asIntS(i)); + } + }; + A.nullFuture_closure.prototype = { + call$0() { + return A.Future_Future$value(null, type$.Null); }, - _onPause$0: function() { - var t1 = this._subscription; - if (t1 != null) - t1.pause$0(0); + $signature: 251 + }; + A.SentinelValue.prototype = {}; + A.NotNullableError.prototype = { + toString$0(_) { + return "Null is not a valid value for '" + this.__internal$_name + "' of type '" + A.createRuntimeType(this.$ti._precomputed1).toString$0(0) + "'"; }, - _onResume$0: function() { - var t1 = this._subscription; - if (t1 != null) - t1.resume$0(0); + $isTypeError: 1 + }; + A.EfficientLengthIterable.prototype = {}; + A.ListIterable.prototype = { + get$iterator(_) { + var _this = this; + return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator")); }, - _onCancel$0: function() { - var subscription = this._subscription; - if (subscription != null) { - this.set$_subscription(null); - return subscription.cancel$0(0); + forEach$1(_, action) { + var $length, i, _this = this; + A._instanceType(_this)._eval$1("~(ListIterable.E)")._as(action); + $length = _this.get$length(_this); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) { + action.call$1(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } - return null; }, - _handleData$1: function(data) { - this._stream._handleData$2(H._instanceType(this)._eval$1("_ForwardingStreamSubscription.S")._as(data), this); + get$isEmpty(_) { + return this.get$length(this) === 0; }, - _handleError$2: function(error, stackTrace) { - type$.StackTrace._as(stackTrace); - H._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._addError$2(error, stackTrace); + get$first(_) { + if (this.get$length(this) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + return this.elementAt$1(0, 0); }, - _handleDone$0: function() { - H._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._close$0(); + get$last(_) { + var t1, _this = this; + if (_this.get$length(_this) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$sub(); + return _this.elementAt$1(0, t1 - 1); }, - set$_subscription: function(_subscription) { - this._subscription = H._instanceType(this)._eval$1("StreamSubscription<_ForwardingStreamSubscription.S>?")._as(_subscription); - } - }; - P._MapStream.prototype = { - _handleData$2: function(inputEvent, sink) { - var outputEvent, e, s, exception, - t1 = this.$ti; - t1._precomputed1._as(inputEvent); - t1._eval$1("_EventSink<2>")._as(sink); - outputEvent = null; - try { - outputEvent = this._transform.call$1(inputEvent); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._addErrorWithReplacement(sink, e, s); - return; - } - sink._async$_add$1(0, outputEvent); - } - }; - P._Zone.prototype = {$isZone: 1}; - P._rootHandleUncaughtError_closure.prototype = { - call$0: function() { - var error = H.wrapException(this.error); - error.stack = J.toString$0$(this.stackTrace); - throw error; + get$single(_) { + var t1, _this = this; + if (_this.get$length(_this) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw A.wrapException(A.IterableElementError_tooMany()); + return _this.elementAt$1(0, 0); }, - $signature: 0 - }; - P._RootZone.prototype = { - runGuarded$1: function(f) { - var e, s, exception, _null = null; - type$.void_Function._as(f); - try { - if (C.C__RootZone === $.Zone__current) { - f.call$0(); - return; - } - P._rootRun(_null, _null, this, f, type$.void); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); + contains$1(_, element) { + var i, _this = this, + $length = _this.get$length(_this); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) { + if (J.$eq$(_this.elementAt$1(0, i), element)) + return true; + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } + return false; }, - runUnaryGuarded$1$2: function(f, arg, $T) { - var e, s, exception, _null = null; - $T._eval$1("~(0)")._as(f); - $T._as(arg); - try { - if (C.C__RootZone === $.Zone__current) { - f.call$1(arg); - return; + join$1(_, separator) { + var first, t1, i, _this = this, + $length = _this.get$length(_this); + if (separator.length !== 0) { + if ($length === 0) + return ""; + first = A.S(_this.elementAt$1(0, 0)); + if ($length != _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + if (typeof $length !== "number") + return A.iae($length); + t1 = first; + i = 1; + for (; i < $length; ++i) { + t1 = t1 + separator + A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } - P._rootRunUnary(_null, _null, this, f, arg, type$.void, $T); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); - } - }, - runBinaryGuarded$2$3: function(f, arg1, arg2, T1, T2) { - var e, s, exception, _null = null; - T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); - T1._as(arg1); - T2._as(arg2); - try { - if (C.C__RootZone === $.Zone__current) { - f.call$2(arg1, arg2); - return; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } else { + if (typeof $length !== "number") + return A.iae($length); + i = 0; + t1 = ""; + for (; i < $length; ++i) { + t1 += A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } - P._rootRunBinary(_null, _null, this, f, arg1, arg2, type$.void, T1, T2); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); + return t1.charCodeAt(0) == 0 ? t1 : t1; } }, - bindCallbackGuarded$1: function(f) { - return new P._RootZone_bindCallbackGuarded_closure(this, type$.void_Function._as(f)); + join$0($receiver) { + return this.join$1($receiver, ""); }, - bindUnaryCallbackGuarded$1$1: function(f, $T) { - return new P._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); + where$1(_, test) { + return this.super$Iterable$where(0, A._instanceType(this)._eval$1("bool(ListIterable.E)")._as(test)); }, - $index: function(_, key) { - return null; + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return new A.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(toElement), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - run$1$1: function(f, $R) { - $R._eval$1("0()")._as(f); - if ($.Zone__current === C.C__RootZone) - return f.call$0(); - return P._rootRun(null, null, this, f, $R); + map$1($receiver, toElement) { + return this.map$1$1($receiver, toElement, type$.dynamic); }, - runUnary$2$2: function(f, arg, $R, $T) { - $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); - $T._as(arg); - if ($.Zone__current === C.C__RootZone) - return f.call$1(arg); - return P._rootRunUnary(null, null, this, f, arg, $R, $T); + reduce$1(_, combine) { + var $length, value, i, _this = this; + A._instanceType(_this)._eval$1("ListIterable.E(ListIterable.E,ListIterable.E)")._as(combine); + $length = _this.get$length(_this); + if ($length === 0) + throw A.wrapException(A.IterableElementError_noElement()); + value = _this.elementAt$1(0, 0); + if (typeof $length !== "number") + return A.iae($length); + i = 1; + for (; i < $length; ++i) { + value = combine.call$2(value, _this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return value; }, - runBinary$3$3: function(f, arg1, arg2, $R, T1, T2) { - $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); - T1._as(arg1); - T2._as(arg2); - if ($.Zone__current === C.C__RootZone) - return f.call$2(arg1, arg2); - return P._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); + skip$1(_, count) { + return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E")); }, - registerBinaryCallback$3$1: function(f, $R, T1, T2) { - return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); - } - }; - P._RootZone_bindCallbackGuarded_closure.prototype = { - call$0: function() { - return this.$this.runGuarded$1(this.f); + take$1(_, count) { + return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E")); }, - $signature: 0 - }; - P._RootZone_bindUnaryCallbackGuarded_closure.prototype = { - call$1: function(arg) { - var t1 = this.T; - return this.$this.runUnaryGuarded$1$2(this.f, t1._as(arg), t1); + toList$1$growable(_, growable) { + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("ListIterable.E")); }, - $signature: function() { - return this.T._eval$1("~(0)"); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); } }; - P._HashMap.prototype = { - get$length: function(_) { - return this._collection$_length; - }, - get$isEmpty: function(_) { - return this._collection$_length === 0; - }, - get$isNotEmpty: function(_) { - return this._collection$_length !== 0; + A.SubListIterable.prototype = { + SubListIterable$3(_iterable, _start, _endOrLength, $E) { + var endOrLength, + t1 = this.__internal$_start; + A.RangeError_checkNotNegative(t1, "start"); + endOrLength = this._endOrLength; + if (endOrLength != null) { + A.RangeError_checkNotNegative(endOrLength, "end"); + if (t1 > endOrLength) + throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null)); + } }, - get$keys: function(_) { - return new P._HashMapKeyIterable(this, H._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); + get$_endIndex() { + var t1, + $length = J.get$length$asx(this.__internal$_iterable), + endOrLength = this._endOrLength; + if (endOrLength != null) { + if (typeof $length !== "number") + return A.iae($length); + t1 = endOrLength > $length; + } else + t1 = true; + if (t1) + return $length; + return endOrLength; }, - get$values: function(_) { - var t1 = H._instanceType(this); - return H.MappedIterable_MappedIterable(new P._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new P._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]); + get$_startIndex() { + var $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; + if (typeof $length !== "number") + return A.iae($length); + if (t1 > $length) + return $length; + return t1; }, - containsKey$1: function(_, key) { - var strings, nums; - if (typeof key == "string" && key !== "__proto__") { - strings = this._collection$_strings; - return strings == null ? false : strings[key] != null; - } else if (typeof key == "number" && (key & 1073741823) === key) { - nums = this._collection$_nums; - return nums == null ? false : nums[key] != null; - } else - return this._containsKey$1(key); - }, - _containsKey$1: function(key) { - var rest = this._collection$_rest; - if (rest == null) - return false; - return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; + get$length(_) { + var endOrLength, + $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; + if (typeof $length !== "number") + return A.iae($length); + if (t1 >= $length) + return 0; + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength >= $length) + return $length - t1; + if (typeof endOrLength !== "number") + return endOrLength.$sub(); + return endOrLength - t1; }, - $index: function(_, key) { - var strings, t1, nums; - if (typeof key == "string" && key !== "__proto__") { - strings = this._collection$_strings; - t1 = strings == null ? null : P._HashMap__getTableEntry(strings, key); - return t1; - } else if (typeof key == "number" && (key & 1073741823) === key) { - nums = this._collection$_nums; - t1 = nums == null ? null : P._HashMap__getTableEntry(nums, key); - return t1; + elementAt$1(_, index) { + var realIndex, _this = this, + t1 = _this.get$_startIndex(); + if (typeof t1 !== "number") + return t1.$add(); + if (typeof index !== "number") + return A.iae(index); + realIndex = t1 + index; + if (index >= 0) { + t1 = _this.get$_endIndex(); + if (typeof t1 !== "number") + return A.iae(t1); + t1 = realIndex >= t1; } else - return this._get$1(0, key); + t1 = true; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, null, "index")); + return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); }, - _get$1: function(_, key) { - var bucket, index, - rest = this._collection$_rest; - if (rest == null) - return null; - bucket = this._getBucket$2(rest, key); - index = this._findBucketIndex$2(bucket, key); - return index < 0 ? null : bucket[index + 1]; + skip$1(_, count) { + var newStart, endOrLength, _this = this; + A.RangeError_checkNotNegative(count, "count"); + newStart = _this.__internal$_start + count; + endOrLength = _this._endOrLength; + if (endOrLength != null && newStart >= endOrLength) + return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>")); + return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1); }, - $indexSet: function(_, key, value) { - var strings, nums, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - if (typeof key == "string" && key !== "__proto__") { - strings = _this._collection$_strings; - _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = P._HashMap__newHashTable() : strings, key, value); - } else if (typeof key == "number" && (key & 1073741823) === key) { - nums = _this._collection$_nums; - _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = P._HashMap__newHashTable() : nums, key, value); + take$1(_, count) { + var endOrLength, t1, newEnd, _this = this; + A.RangeError_checkNotNegative(count, "count"); + endOrLength = _this._endOrLength; + t1 = _this.__internal$_start; + newEnd = t1 + count; + if (endOrLength == null) + return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); + else { + if (endOrLength < newEnd) + return _this; + return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); + } + }, + toList$1$growable(_, growable) { + var t3, $length, result, i, _this = this, + start = _this.__internal$_start, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + end = t2.get$length(t1), + endOrLength = _this._endOrLength; + if (endOrLength != null) { + if (typeof end !== "number") + return A.iae(end); + t3 = endOrLength < end; } else - _this._collection$_set$2(key, value); + t3 = false; + if (t3) + end = endOrLength; + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length <= 0) { + t1 = _this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1); + for (i = 1; i < $length; ++i) { + B.JSArray_methods.$indexSet(result, i, t2.elementAt$1(t1, start + i)); + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < end) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return result; }, - _collection$_set$2: function(key, value) { - var rest, hash, bucket, index, _this = this, - t1 = H._instanceType(_this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - rest = _this._collection$_rest; - if (rest == null) - rest = _this._collection$_rest = P._HashMap__newHashTable(); - hash = _this._computeHashCode$1(key); - bucket = rest[hash]; - if (bucket == null) { - P._HashMap__setTableEntry(rest, hash, [key, value]); - ++_this._collection$_length; - _this._collection$_keys = null; - } else { - index = _this._findBucketIndex$2(bucket, key); - if (index >= 0) - bucket[index + 1] = value; - else { - bucket.push(key, value); - ++_this._collection$_length; - _this._collection$_keys = null; - } + toList$0($receiver) { + return this.toList$1$growable($receiver, true); + } + }; + A.ListIterator.prototype = { + get$current(_) { + return this.__internal$_current; + }, + moveNext$0() { + var t3, _this = this, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + $length = t2.get$length(t1); + if (_this.__internal$_length != $length) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + t3 = _this.__internal$_index; + if (typeof $length !== "number") + return A.iae($length); + if (t3 >= $length) { + _this.set$__internal$_current(null); + return false; } + _this.set$__internal$_current(t2.elementAt$1(t1, t3)); + ++_this.__internal$_index; + return true; }, - remove$1: function(_, key) { - var _this = this; - if (typeof key == "string" && key !== "__proto__") - return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, key); - else if (typeof key == "number" && (key & 1073741823) === key) - return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, key); - else - return _this._remove$1(0, key); + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("1?")._as(_current); }, - _remove$1: function(_, key) { - var hash, bucket, index, result, _this = this, - rest = _this._collection$_rest; - if (rest == null) - return null; - hash = _this._computeHashCode$1(key); - bucket = rest[hash]; - index = _this._findBucketIndex$2(bucket, key); - if (index < 0) - return null; - --_this._collection$_length; - _this._collection$_keys = null; - result = bucket.splice(index, 2)[1]; - if (0 === bucket.length) - delete rest[hash]; - return result; + $isIterator: 1 + }; + A.MappedIterable.prototype = { + get$iterator(_) { + var t1 = A._instanceType(this); + return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); }, - forEach$1: function(_, action) { - var keys, $length, i, key, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("~(1,2)")._as(action); - keys = _this._collection$_computeKeys$0(); - for ($length = keys.length, t1 = t1._precomputed1, i = 0; i < $length; ++i) { - key = keys[i]; - action.call$2(t1._as(key), _this.$index(0, key)); - if (keys !== _this._collection$_keys) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - } + get$length(_) { + return J.get$length$asx(this.__internal$_iterable); }, - _collection$_computeKeys$0: function() { - var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, - result = _this._collection$_keys; - if (result != null) - return result; - result = P.List_List$filled(_this._collection$_length, null, false, type$.dynamic); - strings = _this._collection$_strings; - if (strings != null) { - names = Object.getOwnPropertyNames(strings); - entries = names.length; - for (index = 0, i = 0; i < entries; ++i) { - result[index] = names[i]; - ++index; - } - } else - index = 0; - nums = _this._collection$_nums; - if (nums != null) { - names = Object.getOwnPropertyNames(nums); - entries = names.length; - for (i = 0; i < entries; ++i) { - result[index] = +names[i]; - ++index; - } - } - rest = _this._collection$_rest; - if (rest != null) { - names = Object.getOwnPropertyNames(rest); - entries = names.length; - for (i = 0; i < entries; ++i) { - bucket = rest[names[i]]; - $length = bucket.length; - for (i0 = 0; i0 < $length; i0 += 2) { - result[index] = bucket[i0]; - ++index; - } - } - } - return _this._collection$_keys = result; + get$isEmpty(_) { + return J.get$isEmpty$asx(this.__internal$_iterable); }, - _collection$_addHashTableEntry$3: function(table, key, value) { - var t1 = H._instanceType(this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - if (table[key] == null) { - ++this._collection$_length; - this._collection$_keys = null; - } - P._HashMap__setTableEntry(table, key, value); + get$first(_) { + return this._f.call$1(J.get$first$ax(this.__internal$_iterable)); }, - _collection$_removeHashTableEntry$2: function(table, key) { - var value; - if (table != null && table[key] != null) { - value = H._instanceType(this)._rest[1]._as(P._HashMap__getTableEntry(table, key)); - delete table[key]; - --this._collection$_length; - this._collection$_keys = null; - return value; - } else - return null; + get$last(_) { + return this._f.call$1(J.get$last$ax(this.__internal$_iterable)); }, - _computeHashCode$1: function(key) { - return J.get$hashCode$(key) & 1073741823; + get$single(_) { + return this._f.call$1(J.get$single$ax(this.__internal$_iterable)); }, - _getBucket$2: function(table, key) { - return table[this._computeHashCode$1(key)]; + elementAt$1(_, index) { + return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); + } + }; + A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; + A.MappedIterator.prototype = { + moveNext$0() { + var _this = this, + t1 = _this._iterator; + if (t1.moveNext$0()) { + _this.set$__internal$_current(_this._f.call$1(t1.get$current(t1))); + return true; + } + _this.set$__internal$_current(null); + return false; }, - _findBucketIndex$2: function(bucket, key) { - var $length, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; i += 2) - if (J.$eq$(bucket[i], key)) - return i; - return -1; + get$current(_) { + return this.__internal$_current; + }, + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); } }; - P._HashMap_values_closure.prototype = { - call$1: function(each) { - var t1 = this.$this; - return t1.$index(0, H._instanceType(t1)._precomputed1._as(each)); + A.MappedListIterable.prototype = { + get$length(_) { + return J.get$length$asx(this._source); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("2(1)"); + elementAt$1(_, index) { + return this._f.call$1(J.elementAt$1$ax(this._source, index)); } }; - P._IdentityHashMap.prototype = { - _computeHashCode$1: function(key) { - return H.objectHashCode(key) & 1073741823; + A.WhereIterable.prototype = { + get$iterator(_) { + return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); }, - _findBucketIndex$2: function(bucket, key) { - var $length, i, t1; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; i += 2) { - t1 = bucket[i]; - if (t1 == null ? key == null : t1 === key) - return i; - } - return -1; + map$1$1(_, toElement, $T) { + var t1 = this.$ti; + return new A.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(toElement), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + }, + map$1($receiver, toElement) { + return this.map$1$1($receiver, toElement, type$.dynamic); } }; - P._CustomHashMap.prototype = { - $index: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) - return null; - return this.super$_HashMap$_get(0, key); + A.WhereIterator.prototype = { + moveNext$0() { + var t1, t2; + for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) + if (A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; + return false; }, - $indexSet: function(_, key, value) { + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); + } + }; + A.ExpandIterable.prototype = { + get$iterator(_) { var t1 = this.$ti; - this.super$_HashMap$_set(t1._precomputed1._as(key), t1._rest[1]._as(value)); + return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); + } + }; + A.ExpandIterator.prototype = { + get$current(_) { + return this.__internal$_current; }, - containsKey$1: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) + moveNext$0() { + var t1, t2, _this = this; + if (_this._currentExpansion == null) return false; - return this.super$_HashMap$_containsKey(key); + for (t1 = _this._iterator, t2 = _this._f; !_this._currentExpansion.moveNext$0();) { + _this.set$__internal$_current(null); + if (t1.moveNext$0()) { + _this.set$_currentExpansion(null); + _this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current(t1)))); + } else + return false; + } + t1 = _this._currentExpansion; + _this.set$__internal$_current(t1.get$current(t1)); + return true; }, - remove$1: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) - return null; - return this.super$_HashMap$_remove(0, key); + set$_currentExpansion(_currentExpansion) { + this._currentExpansion = this.$ti._eval$1("Iterator<2>?")._as(_currentExpansion); }, - _computeHashCode$1: function(key) { - return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); }, - _findBucketIndex$2: function(bucket, key) { - var $length, t1, t2, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; i += 2) - if (H.boolConversionCheck(t2.call$2(bucket[i], t1._as(key)))) - return i; - return -1; + $isIterator: 1 + }; + A.TakeIterable.prototype = { + get$iterator(_) { + return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>")); } }; - P._CustomHashMap_closure.prototype = { - call$1: function(v) { - return this.K._is(v); + A.EfficientLengthTakeIterable.prototype = { + get$length(_) { + var iterableLength = J.get$length$asx(this.__internal$_iterable), + t1 = this._takeCount; + if (typeof iterableLength !== "number") + return iterableLength.$gt(); + if (iterableLength > t1) + return t1; + return iterableLength; }, - $signature: 69 + $isEfficientLengthIterable: 1 }; - P._HashMapKeyIterable.prototype = { - get$length: function(_) { - return this._collection$_map._collection$_length; - }, - get$isEmpty: function(_) { - return this._collection$_map._collection$_length === 0; - }, - get$iterator: function(_) { - var t1 = this._collection$_map; - return new P._HashMapKeyIterator(t1, t1._collection$_computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); - }, - contains$1: function(_, element) { - return this._collection$_map.containsKey$1(0, element); + A.TakeIterator.prototype = { + moveNext$0() { + if (--this._remaining >= 0) + return this._iterator.moveNext$0(); + this._remaining = -1; + return false; }, - forEach$1: function(_, f) { - var t1, keys, $length, i; - this.$ti._eval$1("~(1)")._as(f); - t1 = this._collection$_map; - keys = t1._collection$_computeKeys$0(); - for ($length = keys.length, i = 0; i < $length; ++i) { - f.call$1(keys[i]); - if (keys !== t1._collection$_keys) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - } + get$current(_) { + var t1; + if (this._remaining < 0) + return null; + t1 = this._iterator; + return t1.get$current(t1); } }; - P._HashMapKeyIterator.prototype = { - get$current: function(_) { - return this._collection$_current; - }, - moveNext$0: function() { - var _this = this, - keys = _this._collection$_keys, - offset = _this._collection$_offset, - t1 = _this._collection$_map; - if (keys !== t1._collection$_keys) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else if (offset >= keys.length) { - _this.set$_collection$_current(null); + A.TakeWhileIterable.prototype = { + get$iterator(_) { + return new A.TakeWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("TakeWhileIterator<1>")); + } + }; + A.TakeWhileIterator.prototype = { + moveNext$0() { + var t1, _this = this; + if (_this._isFinished) + return false; + t1 = _this._iterator; + if (!t1.moveNext$0() || !A.boolConversionCheck(_this._f.call$1(t1.get$current(t1)))) { + _this._isFinished = true; return false; - } else { - _this.set$_collection$_current(keys[offset]); - _this._collection$_offset = offset + 1; - return true; } + return true; }, - set$_collection$_current: function(_current) { - this._collection$_current = this.$ti._eval$1("1?")._as(_current); + get$current(_) { + var t1; + if (this._isFinished) + return null; + t1 = this._iterator; + return t1.get$current(t1); + } + }; + A.SkipIterable.prototype = { + skip$1(_, count) { + A.ArgumentError_checkNotNull(count, "count", type$.int); + A.RangeError_checkNotNegative(count, "count"); + return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>")); }, - $isIterator: 1 + get$iterator(_) { + return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, A._instanceType(this)._eval$1("SkipIterator<1>")); + } }; - P._LinkedIdentityHashMap.prototype = { - internalComputeHashCode$1: function(key) { - return H.objectHashCode(key) & 1073741823; + A.EfficientLengthSkipIterable.prototype = { + get$length(_) { + var $length, + t1 = J.get$length$asx(this.__internal$_iterable); + if (typeof t1 !== "number") + return t1.$sub(); + $length = t1 - this._skipCount; + if ($length >= 0) + return $length; + return 0; }, - internalFindBucketIndex$2: function(bucket, key) { - var $length, i, t1; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; ++i) { - t1 = bucket[i].hashMapCellKey; - if (t1 == null ? key == null : t1 === key) - return i; + skip$1(_, count) { + A.ArgumentError_checkNotNull(count, "count", type$.int); + A.RangeError_checkNotNegative(count, "count"); + return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti); + }, + $isEfficientLengthIterable: 1 + }; + A.SkipIterator.prototype = { + moveNext$0() { + var t1, i; + for (t1 = this._iterator, i = 0; i < this._skipCount; ++i) + t1.moveNext$0(); + this._skipCount = 0; + return t1.moveNext$0(); + }, + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); + } + }; + A.SkipWhileIterable.prototype = { + get$iterator(_) { + return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); + } + }; + A.SkipWhileIterator.prototype = { + moveNext$0() { + var t1, t2, _this = this; + if (!_this._hasSkipped) { + _this._hasSkipped = true; + for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) + if (!A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; } - return -1; + return _this._iterator.moveNext$0(); + }, + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); } }; - P._LinkedCustomHashMap.prototype = { - $index: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) - return null; - return this.super$JsLinkedHashMap$internalGet(key); + A.EmptyIterable.prototype = { + get$iterator(_) { + return B.C_EmptyIterator; }, - $indexSet: function(_, key, value) { - var t1 = this.$ti; - this.super$JsLinkedHashMap$internalSet(t1._precomputed1._as(key), t1._rest[1]._as(value)); + forEach$1(_, action) { + this.$ti._eval$1("~(1)")._as(action); }, - containsKey$1: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) - return false; - return this.super$JsLinkedHashMap$internalContainsKey(key); + get$isEmpty(_) { + return true; }, - remove$1: function(_, key) { - if (!H.boolConversionCheck(this._validKey.call$1(key))) - return null; - return this.super$JsLinkedHashMap$internalRemove(key); + get$length(_) { + return 0; }, - internalComputeHashCode$1: function(key) { - return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; + get$first(_) { + throw A.wrapException(A.IterableElementError_noElement()); }, - internalFindBucketIndex$2: function(bucket, key) { - var $length, t1, t2, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; ++i) - if (H.boolConversionCheck(t2.call$2(t1._as(bucket[i].hashMapCellKey), t1._as(key)))) - return i; - return -1; + get$last(_) { + throw A.wrapException(A.IterableElementError_noElement()); + }, + get$single(_) { + throw A.wrapException(A.IterableElementError_noElement()); + }, + elementAt$1(_, index) { + throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null)); + }, + contains$1(_, element) { + return false; + }, + join$1(_, separator) { + return ""; + }, + where$1(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return this; + }, + map$1$1(_, toElement, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(toElement); + return new A.EmptyIterable($T._eval$1("EmptyIterable<0>")); + }, + map$1($receiver, toElement) { + return this.map$1$1($receiver, toElement, type$.dynamic); + }, + skip$1(_, count) { + A.RangeError_checkNotNegative(count, "count"); + return this; + }, + take$1(_, count) { + A.RangeError_checkNotNegative(count, "count"); + return this; + }, + toList$1$growable(_, growable) { + var t1 = this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + }, + toList$0($receiver) { + return this.toList$1$growable($receiver, true); } }; - P._LinkedCustomHashMap_closure.prototype = { - call$1: function(v) { - return this.K._is(v); + A.EmptyIterator.prototype = { + moveNext$0() { + return false; }, - $signature: 69 + get$current(_) { + throw A.wrapException(A.IterableElementError_noElement()); + }, + $isIterator: 1 + }; + A.WhereTypeIterable.prototype = { + get$iterator(_) { + return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); + } }; - P._HashSet.prototype = { - _newSet$0: function() { - return new P._HashSet(H._instanceType(this)._eval$1("_HashSet<1>")); + A.WhereTypeIterator.prototype = { + moveNext$0() { + var t1, t2; + for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) + if (t2._is(t1.get$current(t1))) + return true; + return false; }, - _newSimilarSet$1$0: function($R) { - return new P._HashSet($R._eval$1("_HashSet<0>")); + get$current(_) { + var t1 = this._source; + return this.$ti._precomputed1._as(t1.get$current(t1)); }, - _newSimilarSet$0: function() { - return this._newSimilarSet$1$0(type$.dynamic); + $isIterator: 1 + }; + A.FixedLengthListMixin.prototype = { + set$length(receiver, newLength) { + throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list")); }, - get$iterator: function(_) { - return new P._HashSetIterator(this, this._computeElements$0(), H._instanceType(this)._eval$1("_HashSetIterator<1>")); + add$1(receiver, value) { + A.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, - get$length: function(_) { - return this._collection$_length; + insert$2(receiver, index, value) { + A.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, - get$isEmpty: function(_) { - return this._collection$_length === 0; + insertAll$2(receiver, at, iterable) { + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, - get$isNotEmpty: function(_) { - return this._collection$_length !== 0; + addAll$1(receiver, iterable) { + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, - contains$1: function(_, object) { - var strings, nums; - if (typeof object == "string" && object !== "__proto__") { - strings = this._collection$_strings; - return strings == null ? false : strings[object] != null; - } else if (typeof object == "number" && (object & 1073741823) === object) { - nums = this._collection$_nums; - return nums == null ? false : nums[object] != null; - } else - return this._contains$1(object); + remove$1(receiver, element) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, - _contains$1: function(object) { - var rest = this._collection$_rest; - if (rest == null) - return false; - return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; + removeWhere$1(receiver, test) { + A.instanceType(receiver)._eval$1("bool(FixedLengthListMixin.E)")._as(test); + throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, - add$1: function(_, element) { - var strings, nums, _this = this; - H._instanceType(_this)._precomputed1._as(element); - if (typeof element == "string" && element !== "__proto__") { - strings = _this._collection$_strings; - return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = P._HashSet__newHashTable() : strings, element); - } else if (typeof element == "number" && (element & 1073741823) === element) { - nums = _this._collection$_nums; - return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = P._HashSet__newHashTable() : nums, element); - } else - return _this._add$1(0, element); + removeAt$1(receiver, index) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, - _add$1: function(_, element) { - var rest, hash, bucket, _this = this; - H._instanceType(_this)._precomputed1._as(element); - rest = _this._collection$_rest; - if (rest == null) - rest = _this._collection$_rest = P._HashSet__newHashTable(); - hash = _this._computeHashCode$1(element); - bucket = rest[hash]; - if (bucket == null) - rest[hash] = [element]; - else { - if (_this._findBucketIndex$2(bucket, element) >= 0) - return false; - bucket.push(element); - } - ++_this._collection$_length; - _this._elements = null; - return true; + removeLast$0(receiver) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); + } + }; + A.UnmodifiableListMixin.prototype = { + $indexSet(_, index, value) { + A._asIntS(index); + A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, - addAll$1: function(_, objects) { - var t1; - for (t1 = J.get$iterator$ax(H._instanceType(this)._eval$1("Iterable<1>")._as(objects)); t1.moveNext$0();) - this.add$1(0, t1.get$current(t1)); + set$length(_, newLength) { + throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list")); }, - remove$1: function(_, object) { - var _this = this; - if (typeof object == "string" && object !== "__proto__") - return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); - else if (typeof object == "number" && (object & 1073741823) === object) - return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); - else - return _this._remove$1(0, object); + setAll$2(_, at, iterable) { + A._instanceType(this)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, - _remove$1: function(_, object) { - var hash, bucket, index, _this = this, - rest = _this._collection$_rest; - if (rest == null) + add$1(_, value) { + A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + insert$2(_, index, element) { + A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(element); + throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + insertAll$2(_, at, iterable) { + A._instanceType(this)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + addAll$1(_, iterable) { + A._instanceType(this)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + remove$1(_, element) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + removeWhere$1(_, test) { + A._instanceType(this)._eval$1("bool(UnmodifiableListMixin.E)")._as(test); + throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + sort$1(_, compare) { + A._instanceType(this)._eval$1("int(UnmodifiableListMixin.E,UnmodifiableListMixin.E)?")._as(compare); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + sort$0($receiver) { + return this.sort$1($receiver, null); + }, + removeAt$1(_, index) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + removeLast$0(_) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + setRange$4(_, start, end, iterable, skipCount) { + A._asIntS(end); + A._instanceType(this)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + } + }; + A.UnmodifiableListBase.prototype = {}; + A.ReversedListIterable.prototype = { + get$length(_) { + return J.get$length$asx(this._source); + }, + elementAt$1(_, index) { + var t1 = this._source, + t2 = J.getInterceptor$asx(t1), + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof index !== "number") + return A.iae(index); + return t2.elementAt$1(t1, t3 - 1 - index); + } + }; + A.Symbol.prototype = { + get$hashCode(_) { + var hash = this._hashCode; + if (hash != null) + return hash; + hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911; + this._hashCode = hash; + return hash; + }, + toString$0(_) { + return 'Symbol("' + A.S(this.__internal$_name) + '")'; + }, + $eq(_, other) { + if (other == null) return false; - hash = _this._computeHashCode$1(object); - bucket = rest[hash]; - index = _this._findBucketIndex$2(bucket, object); - if (index < 0) + return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name; + }, + $isSymbol0: 1 + }; + A.__CastListBase__CastIterableBase_ListMixin.prototype = {}; + A.ConstantMapView.prototype = {}; + A.ConstantMap.prototype = { + cast$2$0(_, RK, RV) { + var t1 = A._instanceType(this); + return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV); + }, + get$isEmpty(_) { + return this.get$length(this) === 0; + }, + get$isNotEmpty(_) { + return this.get$length(this) !== 0; + }, + toString$0(_) { + return A.MapBase_mapToString(this); + }, + $indexSet(_, key, val) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(val); + A.ConstantMap__throwUnmodifiable(); + A.ReachabilityError$(string$.x60null_t); + }, + remove$1(_, key) { + A.ConstantMap__throwUnmodifiable(); + A.ReachabilityError$(string$.x60null_t); + }, + get$entries(_) { + return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>")); + }, + entries$body$ConstantMap($async$_, $async$type) { + var $async$self = this; + return A._makeSyncStarIterable(function() { + var _ = $async$_; + var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key; + return function $async$get$entries($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>"); + case 2: + // for condition + if (!t1.moveNext$0()) { + // goto after for + $async$goto = 3; + break; + } + key = t1.get$current(t1); + $async$goto = 4; + return new A.MapEntry(key, $async$self.$index(0, key), t2); + case 4: + // after yield + // goto for condition + $async$goto = 2; + break; + case 3: + // after for + // implicit return + return A._IterationMarker_endOfIteration(); + case 1: + // rethrow + return A._IterationMarker_uncaughtError($async$currentError); + } + }; + }, $async$type); + }, + map$2$1(_, transform, K2, V2) { + var result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); + this.forEach$1(0, new A.ConstantMap_map_closure(this, A._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), result)); + return result; + }, + map$1($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + }, + removeWhere$1(_, test) { + A._instanceType(this)._eval$1("bool(1,2)")._as(test); + A.ConstantMap__throwUnmodifiable(); + A.ReachabilityError$(string$.x60null_t); + }, + $isMap: 1 + }; + A.ConstantMap_map_closure.prototype = { + call$2(key, value) { + var t1 = A._instanceType(this.$this), + entry = this.transform.call$2(t1._precomputed1._as(key), t1._rest[1]._as(value)); + this.result.$indexSet(0, entry.key, entry.value); + }, + $signature() { + return A._instanceType(this.$this)._eval$1("~(1,2)"); + } + }; + A.ConstantStringMap.prototype = { + get$length(_) { + return this._length; + }, + containsKey$1(_, key) { + if (typeof key != "string") return false; - --_this._collection$_length; - _this._elements = null; - bucket.splice(index, 1); - if (0 === bucket.length) - delete rest[hash]; - return true; + if ("__proto__" === key) + return false; + return this._jsObject.hasOwnProperty(key); }, - clear$0: function(_) { - var _this = this; - if (_this._collection$_length > 0) { - _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._elements = null; - _this._collection$_length = 0; - } + $index(_, key) { + if (!this.containsKey$1(0, key)) + return null; + return this._jsObject[A._asStringS(key)]; }, - _computeElements$0: function() { - var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, - result = _this._elements; - if (result != null) - return result; - result = P.List_List$filled(_this._collection$_length, null, false, type$.dynamic); - strings = _this._collection$_strings; - if (strings != null) { - names = Object.getOwnPropertyNames(strings); - entries = names.length; - for (index = 0, i = 0; i < entries; ++i) { - result[index] = names[i]; - ++index; - } - } else - index = 0; - nums = _this._collection$_nums; - if (nums != null) { - names = Object.getOwnPropertyNames(nums); - entries = names.length; - for (i = 0; i < entries; ++i) { - result[index] = +names[i]; - ++index; - } + forEach$1(_, f) { + var keys, t2, t3, i, t4, + t1 = this.$ti; + t1._eval$1("~(1,2)")._as(f); + keys = this.__js_helper$_keys; + for (t2 = keys.length, t3 = this._jsObject, t1 = t1._rest[1], i = 0; i < t2; ++i) { + t4 = A._asStringS(keys[i]); + f.call$2(t4, t1._as(t3[t4])); } - rest = _this._collection$_rest; - if (rest != null) { - names = Object.getOwnPropertyNames(rest); - entries = names.length; - for (i = 0; i < entries; ++i) { - bucket = rest[names[i]]; - $length = bucket.length; - for (i0 = 0; i0 < $length; ++i0) { - result[index] = bucket[i0]; - ++index; - } - } + }, + get$keys(_) { + return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>")); + }, + get$values(_) { + var t1 = this.$ti; + return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]); + } + }; + A.ConstantStringMap_values_closure.prototype = { + call$1(key) { + var t1 = this.$this, + t2 = t1.$ti; + return t2._rest[1]._as(t1._jsObject[A._asStringS(t2._precomputed1._as(key))]); + }, + $signature() { + return this.$this.$ti._eval$1("2(1)"); + } + }; + A._ConstantMapKeyIterable.prototype = { + get$iterator(_) { + var t1 = this._map.__js_helper$_keys; + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + }, + get$length(_) { + return this._map.__js_helper$_keys.length; + } + }; + A.GeneralConstantMap.prototype = { + _getMap$0() { + var t1, t2, _this = this, + backingMap = _this.$map; + if (backingMap == null) { + t1 = _this.$ti; + t2 = A.GeneralConstantMap__typeTest(t1._eval$1("1?")); + backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t2, t1._precomputed1, t1._rest[1]); + A.fillLiteralMap(_this._jsData, backingMap); + _this.$map = backingMap; } - return _this._elements = result; + return backingMap; }, - _collection$_addHashTableEntry$2: function(table, element) { - H._instanceType(this)._precomputed1._as(element); - if (table[element] != null) - return false; - table[element] = 0; - ++this._collection$_length; - this._elements = null; - return true; + containsKey$1(_, key) { + return this._getMap$0().containsKey$1(0, key); }, - _collection$_removeHashTableEntry$2: function(table, element) { - if (table != null && table[element] != null) { - delete table[element]; - --this._collection$_length; - this._elements = null; - return true; - } else - return false; + $index(_, key) { + return this._getMap$0().$index(0, key); }, - _computeHashCode$1: function(element) { - return J.get$hashCode$(element) & 1073741823; + forEach$1(_, f) { + this.$ti._eval$1("~(1,2)")._as(f); + this._getMap$0().forEach$1(0, f); }, - _findBucketIndex$2: function(bucket, element) { - var $length, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; ++i) - if (J.$eq$(bucket[i], element)) - return i; - return -1; + get$keys(_) { + var t1 = this._getMap$0(); + return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); }, - $isHashSet: 1 + get$values(_) { + var t1 = this._getMap$0(); + return t1.get$values(t1); + }, + get$length(_) { + return this._getMap$0()._length; + } }; - P._HashSetIterator.prototype = { - get$current: function(_) { - return this._collection$_current; + A.GeneralConstantMap__typeTest_closure.prototype = { + call$1(o) { + return this.T._is(o); }, - moveNext$0: function() { - var _this = this, - elements = _this._elements, - offset = _this._collection$_offset, - t1 = _this._collection$_set; - if (elements !== t1._elements) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else if (offset >= elements.length) { - _this.set$_collection$_current(null); + $signature: 66 + }; + A.Instantiation.prototype = { + Instantiation$1(_genericClosure) { + if (false) + A.instantiatedGenericFunctionType(0, 0); + }, + $eq(_, other) { + if (other == null) return false; - } else { - _this.set$_collection$_current(elements[offset]); - _this._collection$_offset = offset + 1; - return true; + return other instanceof A.Instantiation && J.$eq$(this._genericClosure, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other); + }, + get$hashCode(_) { + return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + toString$0(_) { + var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); + return A.S(this._genericClosure) + " with " + ("<" + t1 + ">"); + } + }; + A.Instantiation1.prototype = { + call$2(a0, a1) { + return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); + }, + call$0() { + return this._genericClosure.call$1$0(this.$ti._rest[0]); + }, + $signature() { + return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti); + } + }; + A.JSInvocationMirror.prototype = { + get$memberName() { + var t1 = this._memberName; + return t1; + }, + get$positionalArguments() { + var t1, argumentCount, list, index, _this = this; + if (_this.__js_helper$_kind === 1) + return B.List_empty; + t1 = _this._arguments; + argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount; + if (argumentCount === 0) + return B.List_empty; + list = []; + for (index = 0; index < argumentCount; ++index) { + if (!(index < t1.length)) + return A.ioore(t1, index); + list.push(t1[index]); } + return J.JSArray_markUnmodifiableList(list); }, - set$_collection$_current: function(_current) { - this._collection$_current = this.$ti._eval$1("1?")._as(_current); + get$namedArguments() { + var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4, _this = this; + if (_this.__js_helper$_kind !== 0) + return B.Map_empty4; + t1 = _this._namedArgumentNames; + namedArgumentCount = t1.length; + t2 = _this._arguments; + namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount; + if (namedArgumentCount === 0) + return B.Map_empty4; + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); + for (i = 0; i < namedArgumentCount; ++i) { + if (!(i < t1.length)) + return A.ioore(t1, i); + t3 = t1[i]; + t4 = namedArgumentsStartIndex + i; + if (!(t4 >= 0 && t4 < t2.length)) + return A.ioore(t2, t4); + map.$indexSet(0, new A.Symbol(t3), t2[t4]); + } + return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); }, - $isIterator: 1 + $isInvocation: 1 + }; + A.Primitives_functionNoSuchMethod_closure.prototype = { + call$2($name, argument) { + var t1; + A._asStringS($name); + t1 = this._box_0; + t1.names = t1.names + "$" + A.S($name); + B.JSArray_methods.add$1(this.namedArgumentList, $name); + B.JSArray_methods.add$1(this.$arguments, argument); + ++t1.argumentCount; + }, + $signature: 34 + }; + A.TypeErrorDecoder.prototype = { + matchTypeError$1(message) { + var result, t1, _this = this, + match = new RegExp(_this._pattern).exec(message); + if (match == null) + return null; + result = Object.create(null); + t1 = _this._arguments; + if (t1 !== -1) + result.arguments = match[t1 + 1]; + t1 = _this._argumentsExpr; + if (t1 !== -1) + result.argumentsExpr = match[t1 + 1]; + t1 = _this._expr; + if (t1 !== -1) + result.expr = match[t1 + 1]; + t1 = _this._method; + if (t1 !== -1) + result.method = match[t1 + 1]; + t1 = _this._receiver; + if (t1 !== -1) + result.receiver = match[t1 + 1]; + return result; + } }; - P._LinkedHashSet.prototype = { - _newSet$0: function() { - return new P._LinkedHashSet(H._instanceType(this)._eval$1("_LinkedHashSet<1>")); + A.NullError.prototype = { + toString$0(_) { + var t1 = this._method; + if (t1 == null) + return "NoSuchMethodError: " + A.S(this.__js_helper$_message); + return "NoSuchMethodError: method not found: '" + t1 + "' on null"; }, - _newSimilarSet$1$0: function($R) { - return new P._LinkedHashSet($R._eval$1("_LinkedHashSet<0>")); + $isNoSuchMethodError: 1 + }; + A.JsNoSuchMethodError.prototype = { + toString$0(_) { + var t2, _this = this, + _s38_ = "NoSuchMethodError: method not found: '", + t1 = _this._method; + if (t1 == null) + return "NoSuchMethodError: " + A.S(_this.__js_helper$_message); + t2 = _this._receiver; + if (t2 == null) + return _s38_ + t1 + "' (" + A.S(_this.__js_helper$_message) + ")"; + return _s38_ + t1 + "' on '" + t2 + "' (" + A.S(_this.__js_helper$_message) + ")"; }, - _newSimilarSet$0: function() { - return this._newSimilarSet$1$0(type$.dynamic); + $isNoSuchMethodError: 1 + }; + A.UnknownJsTypeError.prototype = { + toString$0(_) { + var t1 = this.__js_helper$_message; + return t1.length === 0 ? "Error" : "Error: " + t1; + } + }; + A.NullThrownFromJavaScriptException.prototype = { + toString$0(_) { + return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; }, - get$iterator: function(_) { - var _this = this, - t1 = new P._LinkedHashSetIterator(_this, _this._collection$_modifications, H._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>")); - t1._collection$_cell = _this._collection$_first; - return t1; + $isException: 1 + }; + A.ExceptionAndStackTrace.prototype = { + get$stackTrace() { + return this.stackTrace; + } + }; + A._StackTrace.prototype = { + toString$0(_) { + var trace, + t1 = this._trace; + if (t1 != null) + return t1; + t1 = this._exception; + trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; + return this._trace = trace == null ? "" : trace; }, - get$length: function(_) { - return this._collection$_length; + $isStackTrace: 1 + }; + A.Closure.prototype = { + toString$0(_) { + var $constructor = this.constructor, + $name = $constructor == null ? null : $constructor.name; + return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'"; }, - get$isEmpty: function(_) { - return this._collection$_length === 0; + $isFunction: 1, + get$$call() { + return this; }, - get$isNotEmpty: function(_) { - return this._collection$_length !== 0; + "call*": "call$1", + $requiredArgCount: 1, + $defaultValues: null + }; + A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0}; + A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2}; + A.TearOffClosure.prototype = {}; + A.StaticClosure.prototype = { + toString$0(_) { + var $name = this.$static_name; + if ($name == null) + return "Closure of unknown static method"; + return "Closure '" + A.unminifyOrTag($name) + "'"; + } + }; + A.BoundClosure.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + if (!(other instanceof A.BoundClosure)) + return false; + return this.$_target === other.$_target && this._receiver === other._receiver; + }, + get$hashCode(_) { + var receiverHashCode = A.objectHashCode(this._receiver), + t1 = A.Primitives_objectHashCode(this.$_target); + if (typeof receiverHashCode !== "number") + return receiverHashCode.$xor(); + return (receiverHashCode ^ t1) >>> 0; + }, + toString$0(_) { + return "Closure '" + A.S(this.$_name) + "' of " + ("Instance of '" + A.S(A.Primitives_objectTypeName(this._receiver)) + "'"); + } + }; + A.RuntimeError.prototype = { + toString$0(_) { + return "RuntimeError: " + this.message; + }, + get$message(receiver) { + return this.message; + } + }; + A._AssertionError.prototype = { + toString$0(_) { + return "Assertion failed: " + A.Error_safeToString(this.message); + } + }; + A._Required.prototype = {}; + A.JsLinkedHashMap.prototype = { + get$length(_) { + return this._length; + }, + get$isEmpty(_) { + return this._length === 0; + }, + get$isNotEmpty(_) { + return this._length !== 0; + }, + get$keys(_) { + return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); }, - contains$1: function(_, object) { + get$values(_) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]); + }, + containsKey$1(_, key) { var strings, nums; - if (typeof object == "string" && object !== "__proto__") { - strings = this._collection$_strings; + if (typeof key == "string") { + strings = this._strings; if (strings == null) return false; - return type$.nullable__LinkedHashSetCell._as(strings[object]) != null; - } else if (typeof object == "number" && (object & 1073741823) === object) { - nums = this._collection$_nums; + return strings[key] != null; + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = this._nums; if (nums == null) return false; - return type$.nullable__LinkedHashSetCell._as(nums[object]) != null; + return nums[key] != null; } else - return this._contains$1(object); + return this.internalContainsKey$1(key); }, - _contains$1: function(object) { - var rest = this._collection$_rest; + internalContainsKey$1(key) { + var rest = this.__js_helper$_rest; if (rest == null) return false; - return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; + return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0; }, - forEach$1: function(_, action) { - var cell, modifications, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("~(1)")._as(action); - cell = _this._collection$_first; - modifications = _this._collection$_modifications; - for (t1 = t1._precomputed1; cell != null;) { - action.call$1(t1._as(cell._element)); - if (modifications !== _this._collection$_modifications) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - cell = cell._collection$_next; - } + addAll$1(_, other) { + A._instanceType(this)._eval$1("Map<1,2>")._as(other); + other.forEach$1(other, new A.JsLinkedHashMap_addAll_closure(this)); }, - get$first: function(_) { - var first = this._collection$_first; - if (first == null) - throw H.wrapException(P.StateError$("No elements")); - return H._instanceType(this)._precomputed1._as(first._element); + $index(_, key) { + var strings, cell, t1, nums, _null = null; + if (typeof key == "string") { + strings = this._strings; + if (strings == null) + return _null; + cell = strings[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = this._nums; + if (nums == null) + return _null; + cell = nums[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else + return this.internalGet$1(key); }, - get$last: function(_) { - var last = this._collection$_last; - if (last == null) - throw H.wrapException(P.StateError$("No elements")); - return H._instanceType(this)._precomputed1._as(last._element); + internalGet$1(key) { + var bucket, index, + rest = this.__js_helper$_rest; + if (rest == null) + return null; + bucket = rest[this.internalComputeHashCode$1(key)]; + index = this.internalFindBucketIndex$2(bucket, key); + if (index < 0) + return null; + return bucket[index].hashMapCellValue; }, - add$1: function(_, element) { - var strings, nums, _this = this; - H._instanceType(_this)._precomputed1._as(element); - if (typeof element == "string" && element !== "__proto__") { - strings = _this._collection$_strings; - return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = P._LinkedHashSet__newHashTable() : strings, element); - } else if (typeof element == "number" && (element & 1073741823) === element) { - nums = _this._collection$_nums; - return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = P._LinkedHashSet__newHashTable() : nums, element); + $indexSet(_, key, value) { + var strings, nums, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string") { + strings = _this._strings; + _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = _this._nums; + _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); } else - return _this._add$1(0, element); + _this.internalSet$2(key, value); }, - _add$1: function(_, element) { - var rest, hash, bucket, _this = this; - H._instanceType(_this)._precomputed1._as(element); - rest = _this._collection$_rest; + internalSet$2(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this.__js_helper$_rest; if (rest == null) - rest = _this._collection$_rest = P._LinkedHashSet__newHashTable(); - hash = _this._computeHashCode$1(element); + rest = _this.__js_helper$_rest = _this._newHashTable$0(); + hash = _this.internalComputeHashCode$1(key); bucket = rest[hash]; if (bucket == null) - rest[hash] = [_this._collection$_newLinkedCell$1(element)]; + rest[hash] = [_this._newLinkedCell$2(key, value)]; else { - if (_this._findBucketIndex$2(bucket, element) >= 0) - return false; - bucket.push(_this._collection$_newLinkedCell$1(element)); + index = _this.internalFindBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index].hashMapCellValue = value; + else + bucket.push(_this._newLinkedCell$2(key, value)); } - return true; }, - remove$1: function(_, object) { + putIfAbsent$2(_, key, ifAbsent) { + var value, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._eval$1("2()")._as(ifAbsent); + if (_this.containsKey$1(0, key)) + return _this.$index(0, key); + value = ifAbsent.call$0(); + _this.$indexSet(0, key, value); + return value; + }, + remove$1(_, key) { var _this = this; - if (typeof object == "string" && object !== "__proto__") - return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); - else if (typeof object == "number" && (object & 1073741823) === object) - return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + if (typeof key == "string") + return _this._removeHashTableEntry$2(_this._strings, key); + else if (typeof key == "number" && (key & 0x3fffffff) === key) + return _this._removeHashTableEntry$2(_this._nums, key); else - return _this._remove$1(0, object); + return _this.internalRemove$1(key); }, - _remove$1: function(_, object) { + internalRemove$1(key) { var hash, bucket, index, cell, _this = this, - rest = _this._collection$_rest; + rest = _this.__js_helper$_rest; if (rest == null) - return false; - hash = _this._computeHashCode$1(object); + return null; + hash = _this.internalComputeHashCode$1(key); bucket = rest[hash]; - index = _this._findBucketIndex$2(bucket, object); + index = _this.internalFindBucketIndex$2(bucket, key); if (index < 0) - return false; + return null; cell = bucket.splice(index, 1)[0]; - if (0 === bucket.length) + _this._unlinkCell$1(cell); + if (bucket.length === 0) delete rest[hash]; - _this._collection$_unlinkCell$1(cell); - return true; - }, - removeWhere$1: function(_, test) { - this._filterWhere$2(H._instanceType(this)._eval$1("bool(1)")._as(test), true); + return cell.hashMapCellValue; }, - _filterWhere$2: function(test, removeMatching) { - var cell, element, next, modifications, t2, _this = this, - t1 = H._instanceType(_this); - t1._eval$1("bool(1)")._as(test); - cell = _this._collection$_first; - for (t1 = t1._precomputed1; cell != null; cell = next) { - element = t1._as(cell._element); - next = cell._collection$_next; - modifications = _this._collection$_modifications; - t2 = test.call$1(element); - if (modifications !== _this._collection$_modifications) - throw H.wrapException(P.ConcurrentModificationError$(_this)); - if (true === t2) - _this.remove$1(0, element); + clear$0(_) { + var _this = this; + if (_this._length > 0) { + _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; + _this._length = 0; + _this._modified$0(); } }, - clear$0: function(_) { - var _this = this; - if (_this._collection$_length > 0) { - _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_first = _this._collection$_last = null; - _this._collection$_length = 0; - _this._collection$_modified$0(); + forEach$1(_, action) { + var cell, modifications, _this = this; + A._instanceType(_this)._eval$1("~(1,2)")._as(action); + cell = _this._first; + modifications = _this._modifications; + for (; cell != null;) { + action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); + if (modifications !== _this._modifications) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + cell = cell._next; } }, - _collection$_addHashTableEntry$2: function(table, element) { - H._instanceType(this)._precomputed1._as(element); - if (type$.nullable__LinkedHashSetCell._as(table[element]) != null) - return false; - table[element] = this._collection$_newLinkedCell$1(element); - return true; + _addHashTableEntry$3(table, key, value) { + var cell, + t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + cell = table[key]; + if (cell == null) + table[key] = this._newLinkedCell$2(key, value); + else + cell.hashMapCellValue = value; }, - _collection$_removeHashTableEntry$2: function(table, element) { + _removeHashTableEntry$2(table, key) { var cell; if (table == null) - return false; - cell = type$.nullable__LinkedHashSetCell._as(table[element]); + return null; + cell = table[key]; if (cell == null) - return false; - this._collection$_unlinkCell$1(cell); - delete table[element]; - return true; + return null; + this._unlinkCell$1(cell); + delete table[key]; + return cell.hashMapCellValue; }, - _collection$_modified$0: function() { - this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; + _modified$0() { + this._modifications = this._modifications + 1 & 1073741823; }, - _collection$_newLinkedCell$1: function(element) { - var t1, _this = this, - cell = new P._LinkedHashSetCell(H._instanceType(_this)._precomputed1._as(element)); - if (_this._collection$_first == null) - _this._collection$_first = _this._collection$_last = cell; + _newLinkedCell$2(key, value) { + var _this = this, + t1 = A._instanceType(_this), + cell = new A.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value)); + if (_this._first == null) + _this._first = _this._last = cell; else { - t1 = _this._collection$_last; + t1 = _this._last; t1.toString; - cell._collection$_previous = t1; - _this._collection$_last = t1._collection$_next = cell; + cell._previous = t1; + _this._last = t1._next = cell; } - ++_this._collection$_length; - _this._collection$_modified$0(); + ++_this._length; + _this._modified$0(); return cell; }, - _collection$_unlinkCell$1: function(cell) { + _unlinkCell$1(cell) { var _this = this, - previous = cell._collection$_previous, - next = cell._collection$_next; + previous = cell._previous, + next = cell._next; if (previous == null) - _this._collection$_first = next; + _this._first = next; else - previous._collection$_next = next; + previous._next = next; if (next == null) - _this._collection$_last = previous; + _this._last = previous; else - next._collection$_previous = previous; - --_this._collection$_length; - _this._collection$_modified$0(); + next._previous = previous; + --_this._length; + _this._modified$0(); }, - _computeHashCode$1: function(element) { - return J.get$hashCode$(element) & 1073741823; + internalComputeHashCode$1(key) { + return J.get$hashCode$(key) & 0x3fffffff; }, - _findBucketIndex$2: function(bucket, element) { + internalFindBucketIndex$2(bucket, key) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) - if (J.$eq$(bucket[i]._element, element)) + if (J.$eq$(bucket[i].hashMapCellKey, key)) return i; return -1; }, - $isLinkedHashSet: 1 + toString$0(_) { + return A.MapBase_mapToString(this); + }, + _newHashTable$0() { + var table = Object.create(null); + table[""] = table; + delete table[""]; + return table; + }, + $isLinkedHashMap: 1 }; - P._LinkedHashSetCell.prototype = {}; - P._LinkedHashSetIterator.prototype = { - get$current: function(_) { - return this._collection$_current; + A.JsLinkedHashMap_values_closure.prototype = { + call$1(each) { + var t1 = this.$this; + return t1.$index(0, A._instanceType(t1)._precomputed1._as(each)); }, - moveNext$0: function() { - var _this = this, - cell = _this._collection$_cell, - t1 = _this._collection$_set; - if (_this._collection$_modifications !== t1._collection$_modifications) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else if (cell == null) { - _this.set$_collection$_current(null); + $signature() { + return A._instanceType(this.$this)._eval$1("2(1)"); + } + }; + A.JsLinkedHashMap_addAll_closure.prototype = { + call$2(key, value) { + var t1 = this.$this, + t2 = A._instanceType(t1); + t1.$indexSet(0, t2._precomputed1._as(key), t2._rest[1]._as(value)); + }, + $signature() { + return A._instanceType(this.$this)._eval$1("~(1,2)"); + } + }; + A.LinkedHashMapCell.prototype = {}; + A.LinkedHashMapKeyIterable.prototype = { + get$length(_) { + return this._map._length; + }, + get$isEmpty(_) { + return this._map._length === 0; + }, + get$iterator(_) { + var t1 = this._map, + t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); + t2._cell = t1._first; + return t2; + }, + contains$1(_, element) { + return this._map.containsKey$1(0, element); + }, + forEach$1(_, f) { + var t1, cell, modifications; + this.$ti._eval$1("~(1)")._as(f); + t1 = this._map; + cell = t1._first; + modifications = t1._modifications; + for (; cell != null;) { + f.call$1(cell.hashMapCellKey); + if (modifications !== t1._modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + cell = cell._next; + } + } + }; + A.LinkedHashMapKeyIterator.prototype = { + get$current(_) { + return this.__js_helper$_current; + }, + moveNext$0() { + var cell, _this = this, + t1 = _this._map; + if (_this._modifications !== t1._modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + cell = _this._cell; + if (cell == null) { + _this.set$__js_helper$_current(null); return false; } else { - _this.set$_collection$_current(_this.$ti._eval$1("1?")._as(cell._element)); - _this._collection$_cell = cell._collection$_next; + _this.set$__js_helper$_current(cell.hashMapCellKey); + _this._cell = cell._next; return true; } }, - set$_collection$_current: function(_current) { - this._collection$_current = this.$ti._eval$1("1?")._as(_current); + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); }, $isIterator: 1 }; - P.UnmodifiableListView.prototype = { - cast$1$0: function(_, $R) { - return new P.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>")); + A.initHooks_closure.prototype = { + call$1(o) { + return this.getTag(o); }, - get$length: function(_) { - return J.get$length$asx(this._collection$_source); + $signature: 12 + }; + A.initHooks_closure0.prototype = { + call$2(o, tag) { + return this.getUnknownTag(o, tag); }, - $index: function(_, index) { - return J.elementAt$1$ax(this._collection$_source, H._asIntS(index)); - } + $signature: 417 }; - P.IterableBase.prototype = {}; - P.LinkedHashMap_LinkedHashMap$from_closure.prototype = { - call$2: function(k, v) { - this.result.$indexSet(0, this.K._as(k), this.V._as(v)); + A.initHooks_closure1.prototype = { + call$1(tag) { + return this.prototypeForTag(A._asStringS(tag)); }, - $signature: 45 + $signature: 164 }; - P.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; - P.ListMixin.prototype = { - get$iterator: function(receiver) { - return new H.ListIterator(receiver, this.get$length(receiver), H.instanceType(receiver)._eval$1("ListIterator")); + A.JSSyntaxRegExp.prototype = { + toString$0(_) { + return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$_nativeGlobalVersion() { + var _this = this, + t1 = _this._nativeGlobalRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, - forEach$1: function(receiver, action) { - var $length, i; - H.instanceType(receiver)._eval$1("~(ListMixin.E)")._as(action); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - action.call$1(this.$index(receiver, i)); - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } + get$_nativeAnchoredVersion() { + var _this = this, + t1 = _this._nativeAnchoredRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, - get$isEmpty: function(receiver) { - return this.get$length(receiver) === 0; + firstMatch$1(string) { + var m; + if (typeof string != "string") + A.throwExpression(A.argumentErrorValue(string)); + m = this._nativeRegExp.exec(string); + if (m == null) + return null; + return new A._MatchImplementation(m); }, - get$isNotEmpty: function(receiver) { - return !this.get$isEmpty(receiver); + allMatches$2(_, string, start) { + var t1 = string.length; + if (start > t1) + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._AllMatchesIterable(this, string, start); }, - get$first: function(receiver) { - if (this.get$length(receiver) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - return this.$index(receiver, 0); + allMatches$1($receiver, string) { + return this.allMatches$2($receiver, string, 0); }, - get$last: function(receiver) { - var t1; - if (this.get$length(receiver) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$sub(); - return this.$index(receiver, t1 - 1); + _execGlobal$2(string, start) { + var match, + regexp = this.get$_nativeGlobalVersion(); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + return new A._MatchImplementation(match); }, - get$single: function(receiver) { - var t1; - if (this.get$length(receiver) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 1) - throw H.wrapException(H.IterableElementError_tooMany()); - return this.$index(receiver, 0); + _execAnchored$2(string, start) { + var match, + regexp = this.get$_nativeAnchoredVersion(); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + if (0 >= match.length) + return A.ioore(match, -1); + if (match.pop() != null) + return null; + return new A._MatchImplementation(match); }, - contains$1: function(receiver, element) { - var i, - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - if (J.$eq$(this.$index(receiver, i), element)) - return true; - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return false; + matchAsPrefix$2(_, string, start) { + if (start < 0 || start > string.length) + throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null)); + return this._execAnchored$2(string, start); }, - every$1: function(receiver, test) { - var $length, i; - H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - if (!H.boolConversionCheck(test.call$1(this.$index(receiver, i)))) - return false; - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return true; + $isPattern: 1, + $isRegExp: 1 + }; + A._MatchImplementation.prototype = { + get$start(_) { + return this._match.index; }, - any$1: function(receiver, test) { - var $length, i; - H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - if (H.boolConversionCheck(test.call$1(this.$index(receiver, i)))) + get$end(_) { + var t1 = this._match; + return t1.index + t1[0].length; + }, + group$1(index) { + return B.JSArray_methods.$index(this._match, index); + }, + $index(_, index) { + return B.JSArray_methods.$index(this._match, A._asIntS(index)); + }, + $isMatch: 1, + $isRegExpMatch: 1 + }; + A._AllMatchesIterable.prototype = { + get$iterator(_) { + return new A._AllMatchesIterator(this._re, this._string, this.__js_helper$_start); + } + }; + A._AllMatchesIterator.prototype = { + get$current(_) { + return this.__js_helper$_current; + }, + moveNext$0() { + var t1, t2, t3, match, nextIndex, _this = this, + string = _this._string; + if (string == null) + return false; + t1 = _this._nextIndex; + t2 = string.length; + if (t1 <= t2) { + t3 = _this._regExp; + match = t3._execGlobal$2(string, t1); + if (match != null) { + _this.__js_helper$_current = match; + nextIndex = match.get$end(match); + if (match._match.index === nextIndex) { + if (t3._nativeRegExp.unicode) { + t1 = _this._nextIndex; + t3 = t1 + 1; + if (t3 < t2) { + t1 = B.JSString_methods.codeUnitAt$1(string, t1); + if (t1 >= 55296 && t1 <= 56319) { + t1 = B.JSString_methods.codeUnitAt$1(string, t3); + t1 = t1 >= 56320 && t1 <= 57343; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; + } + _this._nextIndex = nextIndex; return true; - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } } + _this._string = _this.__js_helper$_current = null; return false; }, - firstWhere$2$orElse: function(receiver, test, orElse) { - var $length, i, element, - t1 = H.instanceType(receiver); - t1._eval$1("bool(ListMixin.E)")._as(test); - t1._eval$1("ListMixin.E()?")._as(orElse); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - element = this.$index(receiver, i); - if (H.boolConversionCheck(test.call$1(element))) - return element; - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - throw H.wrapException(H.IterableElementError_noElement()); + $isIterator: 1 + }; + A.StringMatch.prototype = { + get$end(_) { + return this.start + this.pattern.length; }, - lastWhere$2$orElse: function(receiver, test, orElse) { - var $length, i, element, - t1 = H.instanceType(receiver); - t1._eval$1("bool(ListMixin.E)")._as(test); - t1._eval$1("ListMixin.E()?")._as(orElse); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return $length.$sub(); - i = $length - 1; - for (; i >= 0; --i) { - element = this.$index(receiver, i); - if (H.boolConversionCheck(test.call$1(element))) - return element; - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - if (orElse != null) - return orElse.call$0(); - throw H.wrapException(H.IterableElementError_noElement()); + $index(_, g) { + A._asIntS(g); + if (g !== 0) + A.throwExpression(A.RangeError$value(g, null, null)); + return this.pattern; }, - join$1: function(receiver, separator) { - var t1; - if (this.get$length(receiver) === 0) - return ""; - t1 = P.StringBuffer__writeAll("", receiver, separator); - return t1.charCodeAt(0) == 0 ? t1 : t1; + group$1(group_) { + if (group_ !== 0) + throw A.wrapException(A.RangeError$value(group_, null, null)); + return this.pattern; }, - where$1: function(receiver, test) { - var t1 = H.instanceType(receiver); - return new H.WhereIterable(receiver, t1._eval$1("bool(ListMixin.E)")._as(test), t1._eval$1("WhereIterable")); + $isMatch: 1, + get$start(receiver) { + return this.start; + } + }; + A._StringAllMatchesIterable.prototype = { + get$iterator(_) { + return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); }, - map$1$1: function(receiver, f, $T) { - var t1 = H.instanceType(receiver); - return new H.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + get$first(_) { + var t1 = this._pattern, + index = this._input.indexOf(t1, this.__js_helper$_index); + if (index >= 0) + return new A.StringMatch(index, t1); + throw A.wrapException(A.IterableElementError_noElement()); + } + }; + A._StringAllMatchesIterator.prototype = { + moveNext$0() { + var index, end, _this = this, + t1 = _this.__js_helper$_index, + t2 = _this._pattern, + t3 = t2.length, + t4 = _this._input, + t5 = t4.length; + if (t1 + t3 > t5) { + _this.__js_helper$_current = null; + return false; + } + index = t4.indexOf(t2, t1); + if (index < 0) { + _this.__js_helper$_index = t5 + 1; + _this.__js_helper$_current = null; + return false; + } + end = index + t3; + _this.__js_helper$_current = new A.StringMatch(index, t2); + _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; + return true; }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + get$current(_) { + var t1 = this.__js_helper$_current; + t1.toString; + return t1; }, - expand$1$1: function(receiver, f, $T) { - var t1 = H.instanceType(receiver); - return new H.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + $isIterator: 1 + }; + A._Cell.prototype = { + readLocal$1$0() { + var t1 = this._value; + if (t1 === this) + A.throwExpression(new A.LateError("Local '" + this._name + "' has not been initialized.")); + return t1; }, - fold$1$2: function(receiver, initialValue, combine, $T) { - var $length, value, i; - $T._as(initialValue); - H.instanceType(receiver)._bind$1($T)._eval$1("1(1,ListMixin.E)")._as(combine); - $length = this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - value = initialValue; - i = 0; - for (; i < $length; ++i) { - value = combine.call$2(value, this.$index(receiver, i)); - if ($length !== this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return value; + readLocal$0() { + return this.readLocal$1$0(type$.dynamic); }, - skip$1: function(receiver, count) { - return H.SubListIterable$(receiver, count, null, H.instanceType(receiver)._eval$1("ListMixin.E")); + _readLocal$0() { + var t1 = this._value; + if (t1 === this) + throw A.wrapException(new A.LateError("Local '" + this._name + "' has not been initialized.")); + return t1; }, - take$1: function(receiver, count) { - return H.SubListIterable$(receiver, 0, H.checkNotNullable(count, "count", type$.int), H.instanceType(receiver)._eval$1("ListMixin.E")); + _readField$0() { + var t1 = this._value; + if (t1 === this) + throw A.wrapException(A.LateError$fieldNI(this._name)); + return t1; }, - toList$1$growable: function(receiver, growable) { - var t1, first, result, i, _this = this; - if (_this.get$isEmpty(receiver)) { - t1 = H.instanceType(receiver)._eval$1("ListMixin.E"); - return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); - } - first = _this.$index(receiver, 0); - result = P.List_List$filled(_this.get$length(receiver), first, growable, H.instanceType(receiver)._eval$1("ListMixin.E")); - i = 1; - while (true) { - t1 = _this.get$length(receiver); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - C.JSArray_methods.$indexSet(result, i, _this.$index(receiver, i)); - ++i; - } - return result; + set$value(_, v) { + this._value = v; + } + }; + A.NativeByteBuffer.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteBuffer_RkP; }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + asUint8List$2(receiver, offsetInBytes, $length) { + A._checkViewArguments(receiver, offsetInBytes, $length); + return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length); }, - toSet$0: function(receiver) { - var t1, - result = P.LinkedHashSet_LinkedHashSet(H.instanceType(receiver)._eval$1("ListMixin.E")), - i = 0; - while (true) { - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - result.add$1(0, this.$index(receiver, i)); - ++i; - } - return result; + asUint8List$0($receiver) { + return this.asUint8List$2($receiver, 0, null); }, - add$1: function(receiver, element) { + asByteData$2(receiver, offsetInBytes, $length) { var t1; - H.instanceType(receiver)._eval$1("ListMixin.E")._as(element); - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$add(); - this.set$length(receiver, t1 + 1); - this.$indexSet(receiver, t1, element); - }, - addAll$1: function(receiver, iterable) { - var i, t1; - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - i = this.get$length(receiver); - for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) { - this.add$1(receiver, t1.get$current(t1)); - if (typeof i !== "number") - return i.$add(); - ++i; - } + A._checkViewArguments(receiver, offsetInBytes, $length); + t1 = new DataView(receiver, offsetInBytes, $length); + return t1; }, - remove$1: function(receiver, element) { - var t1, i = 0; - while (true) { - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - if (J.$eq$(this.$index(receiver, i), element)) { - this._closeGap$2(receiver, i, i + 1); - return true; - } - ++i; - } - return false; + $isNativeByteBuffer: 1, + $isByteBuffer: 1 + }; + A.NativeTypedData.prototype = { + get$buffer(receiver) { + return receiver.buffer; }, - _closeGap$2: function(receiver, start, end) { - var size, i, _this = this, - $length = _this.get$length(receiver); - if (typeof start !== "number") - return H.iae(start); - size = end - start; - if (typeof $length !== "number") - return H.iae($length); - i = end; - for (; i < $length; ++i) - _this.$indexSet(receiver, i - size, _this.$index(receiver, i)); - _this.set$length(receiver, $length - size); + get$lengthInBytes(receiver) { + return receiver.byteLength; }, - removeWhere$1: function(receiver, test) { - this._filter$2(receiver, H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test), false); + get$offsetInBytes(receiver) { + return receiver.byteOffset; }, - _filter$2: function(receiver, test, retainMatching) { - var retained, $length, i, element, _this = this, - t1 = H.instanceType(receiver); - t1._eval$1("bool(ListMixin.E)")._as(test); - retained = H.setRuntimeTypeInfo([], t1._eval$1("JSArray")); - $length = _this.get$length(receiver); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) { - element = _this.$index(receiver, i); - if (J.$eq$(test.call$1(element), false)) - C.JSArray_methods.add$1(retained, element); - if ($length !== _this.get$length(receiver)) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - if (retained.length !== _this.get$length(receiver)) { - _this.setRange$3(receiver, 0, retained.length, retained); - _this.set$length(receiver, retained.length); - } + _invalidPosition$3(receiver, position, $length, $name) { + if (!A._isInt(position)) + throw A.wrapException(A.ArgumentError$value(position, $name, "Invalid list position")); + else + throw A.wrapException(A.RangeError$range(position, 0, $length, $name, null)); }, - clear$0: function(receiver) { - this.set$length(receiver, 0); + _checkPosition$3(receiver, position, $length, $name) { + if (position >>> 0 !== position || position > $length) + this._invalidPosition$3(receiver, position, $length, $name); }, - cast$1$0: function(receiver, $R) { - return new H.CastList(receiver, H.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); + $isNativeTypedData: 1, + $isTypedData: 1 + }; + A.NativeByteData.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteData_zNC; }, - removeLast$0: function(receiver) { - var t1, result, _this = this; - if (_this.get$length(receiver) === 0) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = _this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$sub(); - result = _this.$index(receiver, t1 - 1); - t1 = _this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$sub(); - _this.set$length(receiver, t1 - 1); - return result; + getUint32$2(receiver, byteOffset, endian) { + return this._getUint32$2(receiver, byteOffset, B.C_Endian === endian); }, - sort$1: function(receiver, compare) { - var t2, - t1 = H.instanceType(receiver); - t1._eval$1("int(ListMixin.E,ListMixin.E)?")._as(compare); - t2 = compare == null ? P.collection_ListMixin__compareAny$closure() : compare; - H.Sort_sort(receiver, t2, t1._eval$1("ListMixin.E")); + _getUint32$2(receiver, byteOffset, littleEndian) { + return receiver.getUint32(byteOffset, littleEndian); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + setUint32$3(receiver, byteOffset, value, endian) { + return this._setUint32$3(receiver, byteOffset, value, B.C_Endian === endian); }, - $add: function(receiver, other) { - var t1 = H.instanceType(receiver); - t1._eval$1("List")._as(other); - t1 = P.List_List$of(receiver, true, t1._eval$1("ListMixin.E")); - C.JSArray_methods.addAll$1(t1, other); - return t1; + _setUint32$3(receiver, byteOffset, value, littleEndian) { + return receiver.setUint32(byteOffset, value, littleEndian); }, - sublist$2: function(receiver, start, end) { - var listLength = this.get$length(receiver); - if (end == null) - end = listLength; - if (end == null) - throw H.wrapException("!"); - P.RangeError_checkValidRange(start, end, listLength); - return P.List_List$from(this.getRange$2(receiver, start, end), true, H.instanceType(receiver)._eval$1("ListMixin.E")); + $isByteData: 1 + }; + A.NativeTypedArray.prototype = { + get$length(receiver) { + return receiver.length; }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + _setRangeFast$4(receiver, start, end, source, skipCount) { + var count, sourceLength, + targetLength = receiver.length; + this._checkPosition$3(receiver, start, targetLength, "start"); + this._checkPosition$3(receiver, end, targetLength, "end"); + if (typeof end !== "number") + return A.iae(end); + if (start > end) + throw A.wrapException(A.RangeError$range(start, 0, end, null, null)); + count = end - start; + if (skipCount < 0) + throw A.wrapException(A.ArgumentError$(skipCount, null)); + sourceLength = source.length; + if (sourceLength - skipCount < count) + throw A.wrapException(A.StateError$("Not enough elements")); + if (skipCount !== 0 || sourceLength !== count) + source = source.subarray(skipCount, skipCount + count); + receiver.set(source, start); }, - getRange$2: function(receiver, start, end) { - P.RangeError_checkValidRange(start, end, this.get$length(receiver)); - return H.SubListIterable$(receiver, start, end, H.instanceType(receiver)._eval$1("ListMixin.E")); + $isJSIndexable: 1, + $isJavaScriptIndexingBehavior: 1 + }; + A.NativeTypedArrayOfDouble.prototype = { + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - removeRange$2: function(receiver, start, end) { - P.RangeError_checkValidRange(start, end, this.get$length(receiver)); - if (typeof end !== "number") - return end.$gt(); - if (typeof start !== "number") - return H.iae(start); - if (end > start) - this._closeGap$2(receiver, start, end); + $indexSet(receiver, index, value) { + A._asIntS(index); + A._asDoubleS(value); + A._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; }, - fillRange$3: function(receiver, start, end, fill) { - var i; - H.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); - P.RangeError_checkValidRange(start, end, this.get$length(receiver)); - i = start; - while (true) { - if (typeof i !== "number") - return i.$lt(); - if (!(i < end)) - break; - this.$indexSet(receiver, i, fill); - ++i; + setRange$4(receiver, start, end, iterable, skipCount) { + A._asIntS(end); + type$.Iterable_double._as(iterable); + if (type$.NativeTypedArrayOfDouble._is(iterable)) { + this._setRangeFast$4(receiver, start, end, iterable, skipCount); + return; } + this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - var t1, $length, otherStart, otherList, t2, i; - H._asIntS(end); - t1 = H.instanceType(receiver); - t1._eval$1("Iterable")._as(iterable); - P.RangeError_checkValidRange(start, end, this.get$length(receiver)); - if (typeof end !== "number") - return end.$sub(); - if (typeof start !== "number") - return H.iae(start); - $length = end - start; - if ($length === 0) + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.NativeTypedArrayOfInt.prototype = { + $indexSet(receiver, index, value) { + A._asIntS(index); + A._asIntS(value); + A._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; + }, + setRange$4(receiver, start, end, iterable, skipCount) { + A._asIntS(end); + type$.Iterable_int._as(iterable); + if (type$.NativeTypedArrayOfInt._is(iterable)) { + this._setRangeFast$4(receiver, start, end, iterable, skipCount); return; - P.RangeError_checkNotNegative(skipCount, "skipCount"); - if (t1._eval$1("List")._is(iterable)) { - otherStart = skipCount; - otherList = iterable; - } else { - otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); - otherStart = 0; } - if (typeof otherStart !== "number") - return otherStart.$add(); - t1 = J.getInterceptor$asx(otherList); - t2 = t1.get$length(otherList); - if (typeof t2 !== "number") - return H.iae(t2); - if (otherStart + $length > t2) - throw H.wrapException(H.IterableElementError_tooFew()); - if (otherStart < start) - for (i = $length - 1; i >= 0; --i) - this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); - else - for (i = 0; i < $length; ++i) - this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); + this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); }, - setRange$3: function($receiver, start, end, iterable) { + setRange$3($receiver, start, end, iterable) { return this.setRange$4($receiver, start, end, iterable, 0); }, - indexOf$2: function(receiver, element, start) { - var t1, - i = start; - while (true) { - t1 = this.get$length(receiver); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - if (J.$eq$(this.$index(receiver, i), element)) - return i; - ++i; - } - return -1; + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.NativeFloat32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float32List_LB7; }, - insert$2: function(receiver, index, element) { - var $length, _this = this; - H.instanceType(receiver)._eval$1("ListMixin.E")._as(element); - H.checkNotNullable(index, "index", type$.int); - $length = _this.get$length(receiver); - P.RangeError_checkValueInInterval(index, 0, $length, "index"); - _this.add$1(receiver, element); - if (index !== $length) { - if (typeof $length !== "number") - return $length.$add(); - _this.setRange$4(receiver, index + 1, $length + 1, receiver, index); - _this.$indexSet(receiver, index, element); - } + sublist$2(receiver, start, end) { + return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - removeAt$1: function(receiver, index) { - var result = this.$index(receiver, index); - this._closeGap$2(receiver, index, index + 1); - return result; + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + A.NativeFloat64List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float64List_LB7; }, - insertAll$2: function(receiver, index, iterable) { - var t1, insertionLength, oldLength, i, oldCopyStart, _this = this; - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - P.RangeError_checkValueInInterval(index, 0, _this.get$length(receiver), "index"); - if (index === _this.get$length(receiver)) { - _this.addAll$1(receiver, iterable); - return; - } - if (!type$.EfficientLengthIterable_dynamic._is(iterable) || false) - iterable = J.toList$0$ax(iterable); - t1 = J.getInterceptor$asx(iterable); - insertionLength = t1.get$length(iterable); - if (insertionLength === 0) - return; - oldLength = _this.get$length(receiver); - if (typeof oldLength !== "number") - return oldLength.$sub(); - if (typeof insertionLength !== "number") - return H.iae(insertionLength); - i = oldLength - insertionLength; - for (; i < oldLength; ++i) - _this.add$1(receiver, _this.$index(receiver, i > 0 ? i : 0)); - if (t1.get$length(iterable) !== insertionLength) { - t1 = _this.get$length(receiver); - if (typeof t1 !== "number") - return t1.$sub(); - _this.set$length(receiver, t1 - insertionLength); - throw H.wrapException(P.ConcurrentModificationError$(iterable)); - } - oldCopyStart = index + insertionLength; - if (oldCopyStart < oldLength) - _this.setRange$4(receiver, oldCopyStart, oldLength, receiver, index); - _this.setAll$2(receiver, index, iterable); + sublist$2(receiver, start, end) { + return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - setAll$2: function(receiver, index, iterable) { - var t1, index0; - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - if (type$.List_dynamic._is(iterable)) - this.setRange$3(receiver, index, index + iterable.length, iterable); - else - for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0(); index = index0) { - index0 = index + 1; - this.$indexSet(receiver, index, t1.get$current(t1)); - } + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + A.NativeInt16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int16List_uXf; }, - get$reversed: function(receiver) { - return new H.ReversedListIterable(receiver, H.instanceType(receiver)._eval$1("ReversedListIterable")); + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2(receiver, start, end) { + return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - toString$0: function(receiver) { - return P.IterableBase_iterableToFullString(receiver, "[", "]"); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); } }; - P.MapBase.prototype = {}; - P.MapBase_mapToString_closure.prototype = { - call$2: function(k, v) { - var t2, - t1 = this._box_0; - if (!t1.first) - this.result._contents += ", "; - t1.first = false; - t1 = this.result; - t2 = t1._contents += H.S(k); - t1._contents = t2 + ": "; - t1._contents += H.S(v); + A.NativeInt32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int32List_O50; }, - $signature: 95 - }; - P.MapMixin.prototype = { - cast$2$0: function(receiver, RK, RV) { - var t1 = H.instanceType(receiver); - return P.Map_castFrom(receiver, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV); + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - forEach$1: function(receiver, action) { - var t1, key; - H.instanceType(receiver)._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); - for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { - key = t1.get$current(t1); - action.call$2(key, this.$index(receiver, key)); - } + sublist$2(receiver, start, end) { + return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - addAll$1: function(receiver, other) { - var t1, t2, key; - H.instanceType(receiver)._eval$1("Map")._as(other); - for (t1 = J.getInterceptor$x(other), t2 = J.get$iterator$ax(t1.get$keys(other)); t2.moveNext$0();) { - key = t2.get$current(t2); - this.$indexSet(receiver, key, t1.$index(other, key)); - } + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - get$entries: function(receiver) { - return J.map$1$1$ax(this.get$keys(receiver), new P.MapMixin_entries_closure(receiver), H.instanceType(receiver)._eval$1("MapEntry")); + $isInt32List: 1 + }; + A.NativeInt8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int8List_ekJ; }, - map$2$1: function(receiver, transform, K2, V2) { - var result, t1, key, entry; - H.instanceType(receiver)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); - result = P.LinkedHashMap_LinkedHashMap$_empty(K2, V2); - for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { - key = t1.get$current(t1); - entry = transform.call$2(key, this.$index(receiver, key)); - result.$indexSet(0, entry.key, entry.value); - } - return result; + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - map$1: function($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + sublist$2(receiver, start, end) { + return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - addEntries$1: function(receiver, newEntries) { - var t1, t2; - H.instanceType(receiver)._eval$1("Iterable>")._as(newEntries); - for (t1 = newEntries.get$iterator(newEntries); t1.moveNext$0();) { - t2 = t1.get$current(t1); - this.$indexSet(receiver, t2.key, t2.value); - } + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + A.NativeUint16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint16List_2bx; }, - removeWhere$1: function(receiver, test) { - var keysToRemove, key, _i, - t1 = H.instanceType(receiver); - t1._eval$1("bool(MapMixin.K,MapMixin.V)")._as(test); - keysToRemove = H.setRuntimeTypeInfo([], t1._eval$1("JSArray")); - for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { - key = t1.get$current(t1); - if (H.boolConversionCheck(test.call$2(key, this.$index(receiver, key)))) - C.JSArray_methods.add$1(keysToRemove, key); - } - for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, H.throwConcurrentModificationError)(keysToRemove), ++_i) - this.remove$1(receiver, keysToRemove[_i]); + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - containsKey$1: function(receiver, key) { - return J.contains$1$asx(this.get$keys(receiver), key); + sublist$2(receiver, start, end) { + return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - get$length: function(receiver) { - return J.get$length$asx(this.get$keys(receiver)); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - get$isEmpty: function(receiver) { - return J.get$isEmpty$asx(this.get$keys(receiver)); + $isUint16List: 1 + }; + A.NativeUint32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint32List_2bx; }, - get$isNotEmpty: function(receiver) { - return J.get$isNotEmpty$asx(this.get$keys(receiver)); + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - get$values: function(receiver) { - var t1 = H.instanceType(receiver); - return new P._MapBaseValueIterable(receiver, t1._eval$1("@")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>")); + sublist$2(receiver, start, end) { + return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - toString$0: function(receiver) { - return P.MapBase_mapToString(receiver); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - $isMap: 1 + $isUint32List: 1 }; - P.MapMixin_entries_closure.prototype = { - call$1: function(key) { - var t1 = this.$this, - t2 = H.instanceType(t1); - t2._eval$1("MapMixin.K")._as(key); - return new P.MapEntry(key, J.$index$asx(t1, key), t2._eval$1("@")._bind$1(t2._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>")); + A.NativeUint8ClampedList.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8ClampedList_Jik; }, - $signature: function() { - return H.instanceType(this.$this)._eval$1("MapEntry(MapMixin.K)"); + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2(receiver, start, end) { + return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); + }, + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); } }; - P._MapBaseValueIterable.prototype = { - get$length: function(_) { - return J.get$length$asx(this._collection$_map); + A.NativeUint8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8List_WLA; }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._collection$_map); + get$length(receiver) { + return receiver.length; }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._collection$_map); + $index(receiver, index) { + A._asIntS(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; }, - get$first: function(_) { - var t1 = this._collection$_map, - t2 = J.getInterceptor$x(t1); - return t2.$index(t1, J.get$first$ax(t2.get$keys(t1))); + sublist$2(receiver, start, end) { + return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - get$single: function(_) { - var t1 = this._collection$_map, - t2 = J.getInterceptor$x(t1); - return t2.$index(t1, J.get$single$ax(t2.get$keys(t1))); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - get$last: function(_) { - var t1 = this._collection$_map, - t2 = J.getInterceptor$x(t1); - return t2.$index(t1, J.get$last$ax(t2.get$keys(t1))); + $isNativeUint8List: 1, + $isUint8List: 1 + }; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A.Rti.prototype = { + _eval$1(recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe); }, - get$iterator: function(_) { - var t1 = this._collection$_map, - t2 = this.$ti; - return new P._MapBaseValueIterator(J.get$iterator$ax(J.get$keys$x(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>")); + _bind$1(typeOrTuple) { + return A._Universe_bind(init.typeUniverse, this, typeOrTuple); } }; - P._MapBaseValueIterator.prototype = { - moveNext$0: function() { - var _this = this, - t1 = _this._collection$_keys; - if (t1.moveNext$0()) { - _this.set$_collection$_current(J.$index$asx(_this._collection$_map, t1.get$current(t1))); - return true; - } - _this.set$_collection$_current(null); - return false; + A._FunctionParameters.prototype = {}; + A._Type.prototype = { + toString$0(_) { + return A._rtiToString(this._rti, null); }, - get$current: function(_) { - return this._collection$_current; + $isType: 1 + }; + A._Error.prototype = { + toString$0(_) { + return this.__rti$_message; + } + }; + A._TypeError.prototype = { + get$message(_) { + return this.__rti$_message; }, - set$_collection$_current: function(_current) { - this._collection$_current = this.$ti._eval$1("2?")._as(_current); + $isTypeError: 1 + }; + A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { + call$1(_) { + var t1 = this._box_0, + f = t1.storedCallback; + t1.storedCallback = null; + f.call$0(); }, - $isIterator: 1 + $signature: 47 }; - P._UnmodifiableMapMixin.prototype = { - $indexSet: function(_, key, value) { - var t1 = H._instanceType(this); - t1._precomputed1._as(key); - t1._rest[1]._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); + A._AsyncRun__initializeScheduleImmediate_closure.prototype = { + call$1(callback) { + var t1, t2; + this._box_0.storedCallback = type$.void_Function._as(callback); + t1 = this.div; + t2 = this.span; + t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); }, - remove$1: function(_, key) { - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); + $signature: 239 + }; + A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { + call$0() { + this.callback.call$0(); }, - removeWhere$1: function(_, test) { - H._instanceType(this)._eval$1("bool(1,2)")._as(test); - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); - } + $signature: 10 }; - P.MapView.prototype = { - cast$2$0: function(_, RK, RV) { - return J.cast$2$0$ax(this._collection$_map, RK, RV); + A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { + call$0() { + this.callback.call$0(); }, - $index: function(_, key) { - return J.$index$asx(this._collection$_map, key); + $signature: 10 + }; + A._TimerImpl.prototype = { + _TimerImpl$2(milliseconds, callback) { + if (self.setTimeout != null) + this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found.")); }, - $indexSet: function(_, key, value) { - var t1 = H._instanceType(this); - J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); + _TimerImpl$periodic$2(milliseconds, callback) { + if (self.setTimeout != null) + this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("Periodic timer.")); }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._collection$_map, key); + cancel$0(_) { + var t1; + if (self.setTimeout != null) { + t1 = this._handle; + if (t1 == null) + return; + if (this._once) + self.clearTimeout(t1); + else + self.clearInterval(t1); + this._handle = null; + } else + throw A.wrapException(A.UnsupportedError$("Canceling a timer.")); }, - forEach$1: function(_, action) { - J.forEach$1$ax(this._collection$_map, H._instanceType(this)._eval$1("~(1,2)")._as(action)); + $isTimer: 1 + }; + A._TimerImpl_internalCallback.prototype = { + call$0() { + var t1 = this.$this; + t1._handle = null; + t1._tick = 1; + this.callback.call$0(); }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._collection$_map); + $signature: 0 + }; + A._TimerImpl$periodic_closure.prototype = { + call$0() { + var duration, _this = this, + t1 = _this.$this, + tick = t1._tick + 1, + t2 = _this.milliseconds; + if (t2 > 0) { + duration = Date.now() - _this.start; + if (duration > (tick + 1) * t2) + tick = B.JSInt_methods.$tdiv(duration, t2); + } + t1._tick = tick; + _this.callback.call$1(t1); }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._collection$_map); + $signature: 10 + }; + A._AsyncAwaitCompleter.prototype = { + complete$1(_, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._eval$1("1/?")._as(value); + if (!_this.isSync) + _this._future._asyncComplete$1(value); + else { + t2 = _this._future; + if (t1._eval$1("Future<1>")._is(value)) + t2._chainFuture$1(value); + else + t2._completeWithValue$1(t1._precomputed1._as(value)); + } }, - get$length: function(_) { - return J.get$length$asx(this._collection$_map); + completeError$2(e, st) { + var t1; + if (st == null) + st = A.AsyncError_defaultStackTrace(e); + t1 = this._future; + if (this.isSync) + t1._completeError$2(e, st); + else + t1._asyncCompleteError$2(e, st); }, - get$keys: function(_) { - return J.get$keys$x(this._collection$_map); + $isCompleter: 1 + }; + A._awaitOnObject_closure.prototype = { + call$1(result) { + return this.bodyFunction.call$2(0, result); }, - remove$1: function(_, key) { - return J.remove$1$ax(this._collection$_map, key); + $signature: 30 + }; + A._awaitOnObject_closure0.prototype = { + call$2(error, stackTrace) { + this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); }, - toString$0: function(_) { - return J.toString$0$(this._collection$_map); + $signature: 240 + }; + A._wrapJsFunctionForAsync_closure.prototype = { + call$2(errorCode, result) { + this.$protected(A._asIntS(errorCode), result); }, - get$values: function(_) { - return J.get$values$x(this._collection$_map); + $signature: 243 + }; + A._IterationMarker.prototype = { + toString$0(_) { + return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")"; }, - get$entries: function(_) { - return J.get$entries$x(this._collection$_map); + get$value(receiver) { + return this.value; + } + }; + A._SyncStarIterator.prototype = { + get$current(_) { + var nested = this._nestedIterator; + if (nested == null) + return this._async$_current; + return nested.get$current(nested); }, - map$2$1: function(_, transform, K2, V2) { - return J.map$2$1$ax(this._collection$_map, H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), K2, V2); + moveNext$0() { + var t1, t2, value, state, suspendedBodies, inner, _this = this; + for (t1 = _this.$ti._eval$1("Iterator<1>"); true;) { + t2 = _this._nestedIterator; + if (t2 != null) + if (t2.moveNext$0()) + return true; + else + _this.set$_nestedIterator(null); + value = function(body, SUCCESS, ERROR) { + var errorValue, + errorCode = SUCCESS; + while (true) + try { + return body(errorCode, errorValue); + } catch (error) { + errorValue = error; + errorCode = ERROR; + } + }(_this._body, 0, 1); + if (value instanceof A._IterationMarker) { + state = value.state; + if (state === 2) { + suspendedBodies = _this._suspendedBodies; + if (suspendedBodies == null || suspendedBodies.length === 0) { + _this.set$_async$_current(null); + return false; + } + if (0 >= suspendedBodies.length) + return A.ioore(suspendedBodies, -1); + _this._body = suspendedBodies.pop(); + continue; + } else { + t2 = value.value; + if (state === 3) + throw t2; + else { + inner = t1._as(J.get$iterator$ax(t2)); + if (inner instanceof A._SyncStarIterator) { + t2 = _this._suspendedBodies; + if (t2 == null) + t2 = _this._suspendedBodies = []; + B.JSArray_methods.add$1(t2, _this._body); + _this._body = inner._body; + continue; + } else { + _this.set$_nestedIterator(inner); + continue; + } + } + } + } else { + _this.set$_async$_current(value); + return true; + } + } + return false; }, - map$1: function($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + set$_async$_current(_current) { + this._async$_current = this.$ti._eval$1("1?")._as(_current); }, - removeWhere$1: function(_, test) { - J.removeWhere$1$ax(this._collection$_map, H._instanceType(this)._eval$1("bool(1,2)")._as(test)); + set$_nestedIterator(_nestedIterator) { + this._nestedIterator = this.$ti._eval$1("Iterator<1>?")._as(_nestedIterator); }, - $isMap: 1 + $isIterator: 1 }; - P.UnmodifiableMapView.prototype = { - cast$2$0: function(_, RK, RV) { - return new P.UnmodifiableMapView(J.cast$2$0$ax(this._collection$_map, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>")); + A._SyncStarIterable.prototype = { + get$iterator(_) { + return new A._SyncStarIterator(this._outerHelper(), this.$ti._eval$1("_SyncStarIterator<1>")); } }; - P.ListQueue.prototype = { - cast$1$0: function(_, $R) { - return new H.CastQueue(this, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); - }, - get$iterator: function(_) { - var _this = this; - return new P._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); - }, - forEach$1: function(_, f) { - var modificationCount, i, t1, _this = this; - _this.$ti._eval$1("~(1)")._as(f); - modificationCount = _this._modificationCount; - for (i = _this._head; i !== _this._tail; i = (i + 1 & _this._table.length - 1) >>> 0) { - t1 = _this._table; - if (i < 0 || i >= t1.length) - return H.ioore(t1, i); - f.call$1(t1[i]); - if (modificationCount !== _this._modificationCount) - H.throwExpression(P.ConcurrentModificationError$(_this)); - } + A.AsyncError.prototype = { + toString$0(_) { + return A.S(this.error); }, - get$isEmpty: function(_) { - return this._head === this._tail; + $isError: 1, + get$stackTrace() { + return this.stackTrace; + } + }; + A._BroadcastStream.prototype = {}; + A._BroadcastSubscription.prototype = { + _onPause$0() { }, - get$length: function(_) { - return (this._tail - this._head & this._table.length - 1) >>> 0; + _onResume$0() { }, - get$first: function(_) { - var t2, - t1 = this._head; - if (t1 === this._tail) - throw H.wrapException(H.IterableElementError_noElement()); - t2 = this._table; - if (t1 >= t2.length) - return H.ioore(t2, t1); - return t2[t1]; + set$_async$_next(_next) { + this._async$_next = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_next); }, - get$last: function(_) { - var t3, - t1 = this._head, - t2 = this._tail; - if (t1 === t2) - throw H.wrapException(H.IterableElementError_noElement()); - t1 = this._table; - t3 = t1.length; - t2 = (t2 - 1 & t3 - 1) >>> 0; - if (t2 < 0 || t2 >= t3) - return H.ioore(t1, t2); - return t1[t2]; + set$_async$_previous(_previous) { + this._async$_previous = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_previous); + } + }; + A._BroadcastStreamController.prototype = { + get$_mayAddEvent() { + return this._state < 4; }, - get$single: function(_) { - var t1, t2, _this = this; - if (_this._head === _this._tail) - throw H.wrapException(H.IterableElementError_noElement()); - if (_this.get$length(_this) > 1) - throw H.wrapException(H.IterableElementError_tooMany()); - t1 = _this._table; - t2 = _this._head; - if (t2 >= t1.length) - return H.ioore(t1, t2); - return t1[t2]; + _removeListener$1(subscription) { + var previous, next; + A._instanceType(this)._eval$1("_BroadcastSubscription<1>")._as(subscription); + previous = subscription._async$_previous; + next = subscription._async$_next; + if (previous == null) + this.set$_firstSubscription(next); + else + previous.set$_async$_next(next); + if (next == null) + this.set$_lastSubscription(previous); + else + next.set$_async$_previous(previous); + subscription.set$_async$_previous(subscription); + subscription.set$_async$_next(subscription); }, - elementAt$1: function(_, index) { - var t1, t2, t3; - P.RangeError_checkValidIndex(index, this); - t1 = this._table; - t2 = this._head; - if (typeof index !== "number") - return H.iae(index); - t3 = t1.length; - t2 = (t2 + index & t3 - 1) >>> 0; - if (t2 < 0 || t2 >= t3) - return H.ioore(t1, t2); - return t1[t2]; + _subscribe$4(onData, onError, onDone, cancelOnError) { + var t2, t3, t4, t5, t6, subscription, oldLast, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._state & 4) !== 0) + return A._DoneStreamSubscription$(onDone, t1._precomputed1); + t2 = $.Zone__current; + t3 = cancelOnError ? 1 : 0; + t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); + t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + t1 = t1._eval$1("_BroadcastSubscription<1>"); + subscription = new A._BroadcastSubscription(_this, t4, t5, type$.void_Function._as(t6), t2, t3, t1); + subscription.set$_async$_previous(subscription); + subscription.set$_async$_next(subscription); + t1._as(subscription); + subscription._eventState = _this._state & 1; + oldLast = _this._lastSubscription; + _this.set$_lastSubscription(subscription); + subscription.set$_async$_next(null); + subscription.set$_async$_previous(oldLast); + if (oldLast == null) + _this.set$_firstSubscription(subscription); + else + oldLast.set$_async$_next(subscription); + if (_this._firstSubscription == _this._lastSubscription) + A._runGuarded(_this.onListen); + return subscription; }, - toList$1$growable: function(_, growable) { - var t1, list, i, t2, _this = this, - mask = _this._table.length - 1, - $length = (_this._tail - _this._head & mask) >>> 0; - if ($length === 0) { - t1 = _this.$ti._precomputed1; - return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); - } - list = P.List_List$filled($length, _this.get$first(_this), growable, _this.$ti._precomputed1); - for (i = 0; i < $length; ++i) { - t1 = _this._table; - t2 = (_this._head + i & mask) >>> 0; - if (t2 >= t1.length) - return H.ioore(t1, t2); - C.JSArray_methods.$indexSet(list, i, t1[t2]); + _recordCancel$1(sub) { + var _this = this, + t1 = A._instanceType(_this); + sub = t1._eval$1("_BroadcastSubscription<1>")._as(t1._eval$1("StreamSubscription<1>")._as(sub)); + if (sub._async$_next === sub) + return null; + t1 = sub._eventState; + if ((t1 & 2) !== 0) + sub._eventState = t1 | 4; + else { + _this._removeListener$1(sub); + if ((_this._state & 2) === 0 && _this._firstSubscription == null) + _this._callOnCancel$0(); } - return list; + return null; }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + _recordPause$1(subscription) { + A._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); }, - add$1: function(_, value) { - this._add$1(0, this.$ti._precomputed1._as(value)); + _recordResume$1(subscription) { + A._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); }, - toString$0: function(_) { - return P.IterableBase_iterableToFullString(this, "{", "}"); + _addEventError$0() { + if ((this._state & 4) !== 0) + return new A.StateError("Cannot add new events after calling close"); + return new A.StateError("Cannot add new events while doing an addStream"); }, - removeFirst$0: function() { - var t2, result, _this = this, - t1 = _this._head; - if (t1 === _this._tail) - throw H.wrapException(H.IterableElementError_noElement()); - ++_this._modificationCount; - t2 = _this._table; - if (t1 >= t2.length) - return H.ioore(t2, t1); - result = t2[t1]; - C.JSArray_methods.$indexSet(t2, t1, null); - _this._head = (_this._head + 1 & _this._table.length - 1) >>> 0; - return result; + add$1(_, data) { + var _this = this; + A._instanceType(_this)._precomputed1._as(data); + if (!_this.get$_mayAddEvent()) + throw A.wrapException(_this._addEventError$0()); + _this._sendData$1(data); }, - _add$1: function(_, element) { - var t2, t3, newTable, split, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(element); - C.JSArray_methods.$indexSet(_this._table, _this._tail, element); - t2 = _this._tail; - t3 = _this._table.length; - t2 = (t2 + 1 & t3 - 1) >>> 0; - _this._tail = t2; - if (_this._head === t2) { - newTable = P.List_List$filled(t3 * 2, null, false, t1._eval$1("1?")); - t1 = _this._table; - t2 = _this._head; - split = t1.length - t2; - C.JSArray_methods.setRange$4(newTable, 0, split, t1, t2); - C.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0); - _this._head = 0; - _this._tail = _this._table.length; - _this.set$_table(newTable); + _forEachListener$1(action) { + var t1, subscription, id, next, _this = this; + A._instanceType(_this)._eval$1("~(_BufferingStreamSubscription<1>)")._as(action); + t1 = _this._state; + if ((t1 & 2) !== 0) + throw A.wrapException(A.StateError$(string$.Cannotf)); + subscription = _this._firstSubscription; + if (subscription == null) + return; + id = t1 & 1; + _this._state = t1 ^ 3; + for (; subscription != null;) { + t1 = subscription._eventState; + if ((t1 & 1) === id) { + subscription._eventState = t1 | 2; + action.call$1(subscription); + t1 = subscription._eventState ^= 1; + next = subscription._async$_next; + if ((t1 & 4) !== 0) + _this._removeListener$1(subscription); + subscription._eventState &= 4294967293; + subscription = next; + } else + subscription = subscription._async$_next; } - ++_this._modificationCount; - }, - set$_table: function(_table) { - this._table = this.$ti._eval$1("List<1?>")._as(_table); - }, - $isQueue: 1 - }; - P._ListQueueIterator.prototype = { - get$current: function(_) { - return this._collection$_current; + _this._state &= 4294967293; + if (_this._firstSubscription == null) + _this._callOnCancel$0(); }, - moveNext$0: function() { - var t2, t3, _this = this, - t1 = _this._queue; - if (_this._modificationCount !== t1._modificationCount) - H.throwExpression(P.ConcurrentModificationError$(t1)); - t2 = _this._collection$_position; - if (t2 === _this._collection$_end) { - _this.set$_collection$_current(null); - return false; + _callOnCancel$0() { + if ((this._state & 4) !== 0) { + var doneFuture = this._doneFuture; + if ((doneFuture._state & 30) === 0) + doneFuture._asyncComplete$1(null); } - t3 = t1._table; - if (t2 >= t3.length) - return H.ioore(t3, t2); - _this.set$_collection$_current(t3[t2]); - _this._collection$_position = (_this._collection$_position + 1 & t1._table.length - 1) >>> 0; - return true; + A._runGuarded(this.onCancel); }, - set$_collection$_current: function(_current) { - this._collection$_current = this.$ti._eval$1("1?")._as(_current); + set$_firstSubscription(_firstSubscription) { + this._firstSubscription = A._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_firstSubscription); }, - $isIterator: 1 - }; - P.SetMixin.prototype = { - get$isEmpty: function(_) { - return this.get$length(this) === 0; + set$_lastSubscription(_lastSubscription) { + this._lastSubscription = A._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_lastSubscription); }, - get$isNotEmpty: function(_) { - return this.get$length(this) !== 0; + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventSink: 1, + $is_EventDispatch: 1, + $isSink: 1 + }; + A._SyncBroadcastStreamController.prototype = { + get$_mayAddEvent() { + return A._BroadcastStreamController.prototype.get$_mayAddEvent.call(this) && (this._state & 2) === 0; }, - cast$1$0: function(_, $R) { - return P.Set_castFrom(this, null, H._instanceType(this)._eval$1("SetMixin.E"), $R); + _addEventError$0() { + if ((this._state & 2) !== 0) + return new A.StateError(string$.Cannotf); + return this.super$_BroadcastStreamController$_addEventError(); }, - clear$0: function(_) { - this.removeAll$1(this.toList$0(0)); + _sendData$1(data) { + var t1, _this = this; + _this.$ti._precomputed1._as(data); + t1 = _this._firstSubscription; + if (t1 == null) + return; + if (t1 === _this._lastSubscription) { + _this._state |= 2; + t1._async$_add$1(0, data); + _this._state &= 4294967293; + if (_this._firstSubscription == null) + _this._callOnCancel$0(); + return; + } + _this._forEachListener$1(new A._SyncBroadcastStreamController__sendData_closure(_this, data)); + } + }; + A._SyncBroadcastStreamController__sendData_closure.prototype = { + call$1(subscription) { + this.$this.$ti._eval$1("_BufferingStreamSubscription<1>")._as(subscription)._async$_add$1(0, this.data); }, - addAll$1: function(_, elements) { - var t1; - for (t1 = J.get$iterator$ax(H._instanceType(this)._eval$1("Iterable")._as(elements)); t1.moveNext$0();) - this.add$1(0, t1.get$current(t1)); - }, - removeAll$1: function(elements) { - var t1; - for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) - this.remove$1(0, t1.get$current(t1)); - }, - removeWhere$1: function(_, test) { - var toRemove, t1, element, _this = this; - H._instanceType(_this)._eval$1("bool(SetMixin.E)")._as(test); - toRemove = []; - for (t1 = _this.get$iterator(_this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (H.boolConversionCheck(test.call$1(element))) - toRemove.push(element); - } - _this.removeAll$1(toRemove); - }, - containsAll$1: function(other) { - var t1; - for (t1 = J.get$iterator$ax(other); t1.moveNext$0();) - if (!this.contains$1(0, t1.get$current(t1))) - return false; - return true; - }, - union$1: function(other) { - var t1; - H._instanceType(this)._eval$1("Set")._as(other); - t1 = this.toSet$0(0); - t1.addAll$1(0, other); - return t1; - }, - intersection$1: function(_, other) { - var t1, element, - result = this.toSet$0(0); - for (t1 = this.get$iterator(this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (!other.contains$1(0, element)) - result.remove$1(0, element); - } - return result; - }, - difference$1: function(other) { - var t1, element, - result = this.toSet$0(0); - for (t1 = this.get$iterator(this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (other.contains$1(0, element)) - result.remove$1(0, element); + $signature() { + return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); + } + }; + A._AsyncBroadcastStreamController.prototype = { + _sendData$1(data) { + var subscription, + t1 = this.$ti; + t1._precomputed1._as(data); + for (subscription = this._firstSubscription, t1 = t1._eval$1("_DelayedData<1>"); subscription != null; subscription = subscription._async$_next) + subscription._addPending$1(new A._DelayedData(data, t1)); + } + }; + A.Future_Future_closure.prototype = { + call$0() { + var e, s, exception; + try { + this.result._complete$1(this.computation.call$0()); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._completeWithErrorCallback(this.result, e, s); } - return result; - }, - toList$1$growable: function(_, growable) { - return P.List_List$of(this, growable, H._instanceType(this)._eval$1("SetMixin.E")); - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - }, - map$1$1: function(_, f, $T) { - var t1 = H._instanceType(this); - return new H.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); - }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - }, - get$single: function(_) { - var it, _this = this, - t1 = _this.get$length(_this); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 1) - throw H.wrapException(H.IterableElementError_tooMany()); - it = _this.get$iterator(_this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - return it.get$current(it); }, - toString$0: function(_) { - return P.IterableBase_iterableToFullString(this, "{", "}"); - }, - where$1: function(_, f) { - var t1 = H._instanceType(this); - return new H.WhereIterable(this, t1._eval$1("bool(SetMixin.E)")._as(f), t1._eval$1("WhereIterable")); - }, - expand$1$1: function(_, f, $T) { - var t1 = H._instanceType(this); - return new H.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(SetMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); - }, - forEach$1: function(_, f) { - var t1; - H._instanceType(this)._eval$1("~(SetMixin.E)")._as(f); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - f.call$1(t1.get$current(t1)); + $signature: 0 + }; + A.Future_Future$delayed_closure.prototype = { + call$0() { + var e, s, exception, _this = this, + t1 = _this.computation; + if (t1 == null) + _this.result._complete$1(null); + else + try { + _this.result._complete$1(t1.call$0()); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._completeWithErrorCallback(_this.result, e, s); + } }, - every$1: function(_, f) { - var t1; - H._instanceType(this)._eval$1("bool(SetMixin.E)")._as(f); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - if (!H.boolConversionCheck(f.call$1(t1.get$current(t1)))) - return false; - return true; + $signature: 0 + }; + A.Future_wait_handleError.prototype = { + call$2(theError, theStackTrace) { + var t1, t2, _this = this; + type$.StackTrace._as(theStackTrace); + t1 = _this._box_0; + t2 = --t1.remaining; + if (t1.values != null) { + t1.values = null; + if (t1.remaining === 0 || _this.eagerError) + _this._future._completeError$2(theError, theStackTrace); + else { + _this.error._value = theError; + _this.stackTrace._value = theStackTrace; + } + } else if (t2 === 0 && !_this.eagerError) + _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0()); }, - join$1: function(_, separator) { - var t1, - iterator = this.get$iterator(this); - if (!iterator.moveNext$0()) - return ""; - if (separator === "") { - t1 = ""; - do - t1 += H.S(iterator.get$current(iterator)); - while (iterator.moveNext$0()); - } else { - t1 = H.S(iterator.get$current(iterator)); - for (; iterator.moveNext$0();) - t1 = t1 + separator + H.S(iterator.get$current(iterator)); - } - return t1.charCodeAt(0) == 0 ? t1 : t1; + $signature: 84 + }; + A.Future_wait_closure.prototype = { + call$1(value) { + var valueList, t2, _this = this, + t1 = _this.T; + t1._as(value); + t2 = _this._box_0; + --t2.remaining; + valueList = t2.values; + if (valueList != null) { + J.$indexSet$ax(valueList, _this.pos, value); + if (t2.remaining === 0) + _this._future._completeWithValue$1(A.List_List$from(valueList, true, t1)); + } else if (t2.remaining === 0 && !_this.eagerError) + _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0()); }, - any$1: function(_, test) { - var t1; - H._instanceType(this)._eval$1("bool(SetMixin.E)")._as(test); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - if (H.boolConversionCheck(test.call$1(t1.get$current(t1)))) - return true; - return false; + $signature() { + return this.T._eval$1("Null(0)"); + } + }; + A._Completer.prototype = { + completeError$2(error, stackTrace) { + type$.nullable_StackTrace._as(stackTrace); + A.checkNotNullable(error, "error", type$.Object); + if ((this.future._state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + this._completeError$2(error, stackTrace); }, - take$1: function(_, n) { - return H.TakeIterable_TakeIterable(this, n, H._instanceType(this)._eval$1("SetMixin.E")); + completeError$1(error) { + return this.completeError$2(error, null); }, - skip$1: function(_, n) { - return H.SkipIterable_SkipIterable(this, n, H._instanceType(this)._eval$1("SetMixin.E")); + $isCompleter: 1 + }; + A._AsyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._asyncComplete$1(t1._eval$1("1/")._as(value)); }, - get$first: function(_) { - var it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - return it.get$current(it); + complete$0($receiver) { + return this.complete$1($receiver, null); }, - get$last: function(_) { - var result, - it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - do - result = it.get$current(it); - while (it.moveNext$0()); - return result; + _completeError$2(error, stackTrace) { + this.future._asyncCompleteError$2(error, stackTrace); + } + }; + A._SyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._complete$1(t1._eval$1("1/")._as(value)); }, - elementAt$1: function(_, index) { - var t1, elementIndex, element, _s5_ = "index"; - H.checkNotNullable(index, _s5_, type$.int); - P.RangeError_checkNotNegative(index, _s5_); - for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { - element = t1.get$current(t1); - if (index === elementIndex) - return element; - ++elementIndex; - } - throw H.wrapException(P.IndexError$(index, this, _s5_, null, elementIndex)); + _completeError$2(error, stackTrace) { + this.future._completeError$2(error, stackTrace); } }; - P.SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1}; - P._SetBase.prototype = { - cast$1$0: function(_, $R) { - return P.Set_castFrom(this, this.get$_newSimilarSet(), H._instanceType(this)._precomputed1, $R); + A._FutureListener.prototype = { + matchesErrorTest$1(asyncError) { + if ((this.state & 15) !== 6) + return true; + return this.result._zone.runUnary$2$2(type$.bool_Function_Object._as(this.callback), asyncError.error, type$.bool, type$.Object); }, - difference$1: function(other) { - var t1, element, - result = this._newSet$0(); - for (t1 = this.get$iterator(this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (!other.contains$1(0, element)) - result.add$1(0, element); + handleError$1(asyncError) { + var exception, _this = this, + errorCallback = _this.errorCallback, + result = null, + t1 = type$.dynamic, + t2 = type$.Object, + t3 = _this.result._zone; + if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) + result = t3.runBinary$3$3(errorCallback, asyncError.error, asyncError.stackTrace, t1, t2, type$.StackTrace); + else + result = t3.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), asyncError.error, t1, t2); + try { + t1 = _this.$ti._eval$1("2/")._as(result); + return t1; + } catch (exception) { + if (type$.TypeError._is(A.unwrapException(exception))) { + if ((_this.state & 1) !== 0) + throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError")); + throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError")); + } else + throw exception; } - return result; - }, - intersection$1: function(_, other) { - var t1, element, - result = this._newSet$0(); - for (t1 = this.get$iterator(this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (other.contains$1(0, element)) - result.add$1(0, element); + } + }; + A._Future.prototype = { + then$1$2$onError(_, f, onError, $R) { + var currentZone, result, t2, + t1 = this.$ti; + t1._bind$1($R)._eval$1("1/(2)")._as(f); + currentZone = $.Zone__current; + if (currentZone === B.C__RootZone) { + if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError)) + throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_)); + } else { + $R._eval$1("@<0/>")._bind$1(t1._precomputed1)._eval$1("1(2)")._as(f); + if (onError != null) + onError = A._registerErrorHandler(onError, currentZone); } + result = new A._Future(currentZone, $R._eval$1("_Future<0>")); + t2 = onError == null ? 1 : 3; + this._addListener$1(new A._FutureListener(result, t2, f, onError, t1._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); return result; }, - toSet$0: function(_) { - var t1 = this._newSet$0(); - t1.addAll$1(0, this); - return t1; - }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isSet: 1 - }; - P._UnmodifiableSetMixin.prototype = { - add$1: function(_, value) { - this.$ti._precomputed1._as(value); - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); + then$1$1($receiver, f, $R) { + return this.then$1$2$onError($receiver, f, null, $R); }, - clear$0: function(_) { - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); + _thenAwait$1$2(f, onError, $E) { + var result, + t1 = this.$ti; + t1._bind$1($E)._eval$1("1/(2)")._as(f); + result = new A._Future($.Zone__current, $E._eval$1("_Future<0>")); + this._addListener$1(new A._FutureListener(result, 3, f, onError, t1._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); + return result; }, - addAll$1: function(_, elements) { - this.$ti._eval$1("Iterable<1>")._as(elements); - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); + whenComplete$1(action) { + var t1, result; + type$.dynamic_Function._as(action); + t1 = this.$ti; + result = new A._Future($.Zone__current, t1); + this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); + return result; }, - removeAll$1: function(elements) { - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); + _setErrorObject$1(error) { + this._state = this._state & 1 | 16; + this._resultOrListeners = error; }, - removeWhere$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); + _cloneResult$1(source) { + this._state = source._state & 30 | this._state & 1; + this._resultOrListeners = source._resultOrListeners; }, - remove$1: function(_, value) { - P._UnmodifiableSetMixin__throwUnmodifiable(); - return H.ReachabilityError$(string$.x60null_); - } - }; - P._UnmodifiableSet.prototype = { - _newSet$0: function() { - return P.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); + _addListener$1(listener) { + var source, _this = this, + t1 = _this._state; + if (t1 <= 3) { + listener._nextListener = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listener; + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._state & 24) === 0) { + source._addListener$1(listener); + return; + } + _this._cloneResult$1(source); + } + A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new A._Future__addListener_closure(_this, listener))); + } }, - _newSimilarSet$1$0: function($R) { - return P.LinkedHashSet_LinkedHashSet($R); + _prependListeners$1(listeners) { + var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {}; + _box_0.listeners = listeners; + if (listeners == null) + return; + t1 = _this._state; + if (t1 <= 3) { + existingListeners = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listeners; + if (existingListeners != null) { + next = listeners._nextListener; + for (cursor = listeners; next != null; cursor = next, next = next0) + next0 = next._nextListener; + cursor._nextListener = existingListeners; + } + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._state & 24) === 0) { + source._prependListeners$1(listeners); + return; + } + _this._cloneResult$1(source); + } + _box_0.listeners = _this._reverseListeners$1(listeners); + A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new A._Future__prependListeners_closure(_box_0, _this))); + } }, - _newSimilarSet$0: function() { - return this._newSimilarSet$1$0(type$.dynamic); + _removeListeners$0() { + var current = type$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners); + this._resultOrListeners = null; + return this._reverseListeners$1(current); }, - contains$1: function(_, element) { - return J.containsKey$1$x(this._collection$_map, element); + _reverseListeners$1(listeners) { + var current, prev, next; + for (current = listeners, prev = null; current != null; prev = current, current = next) { + next = current._nextListener; + current._nextListener = prev; + } + return prev; }, - get$iterator: function(_) { - return J.get$iterator$ax(J.get$keys$x(this._collection$_map)); + _chainForeignFuture$1(source) { + var e, s, exception, _this = this; + _this._state ^= 2; + try { + source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s)); + } }, - get$length: function(_) { - return J.get$length$asx(this._collection$_map); - } - }; - P._ListBase_Object_ListMixin.prototype = {}; - P._SetBase_Object_SetMixin.prototype = {}; - P._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; - P.__SetBase_Object_SetMixin.prototype = {}; - P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {}; - P._JsonMap.prototype = { - $index: function(_, key) { - var result, - t1 = this._processed; - if (t1 == null) - return this._data.$index(0, key); - else if (typeof key != "string") - return null; + _complete$1(value) { + var listeners, _this = this, + t1 = _this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) + if (t1._is(value)) + A._Future__chainCoreFuture(value, _this); + else + _this._chainForeignFuture$1(value); else { - result = t1[key]; - return typeof result == "undefined" ? this._process$1(key) : result; + listeners = _this._removeListeners$0(); + t1._precomputed1._as(value); + _this._state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); } }, - get$length: function(_) { - var t1; - if (this._processed == null) { - t1 = this._data; - t1 = t1.get$length(t1); - } else - t1 = this._computeKeys$0().length; - return t1; - }, - get$isEmpty: function(_) { - return this.get$length(this) === 0; + _completeWithValue$1(value) { + var listeners, _this = this; + _this.$ti._precomputed1._as(value); + listeners = _this._removeListeners$0(); + _this._state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); }, - get$isNotEmpty: function(_) { - return this.get$length(this) > 0; + _completeError$2(error, stackTrace) { + var listeners; + type$.StackTrace._as(stackTrace); + listeners = this._removeListeners$0(); + this._setErrorObject$1(A.AsyncError$(error, stackTrace)); + A._Future__propagateToListeners(this, listeners); }, - get$keys: function(_) { - var t1; - if (this._processed == null) { - t1 = this._data; - return t1.get$keys(t1); + _asyncComplete$1(value) { + var t1 = this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) { + this._chainFuture$1(value); + return; } - return new P._JsonMapKeyIterable(this); + this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); }, - get$values: function(_) { - var t1, _this = this; - if (_this._processed == null) { - t1 = _this._data; - return t1.get$values(t1); + _asyncCompleteWithValue$1(value) { + var _this = this; + _this.$ti._precomputed1._as(value); + _this._state ^= 2; + A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new A._Future__asyncCompleteWithValue_closure(_this, value))); + }, + _chainFuture$1(value) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("Future<1>")._as(value); + if (t1._is(value)) { + if ((value._state & 16) !== 0) { + _this._state ^= 2; + A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new A._Future__chainFuture_closure(_this, value))); + } else + A._Future__chainCoreFuture(value, _this); + return; } - return H.MappedIterable_MappedIterable(_this._computeKeys$0(), new P._JsonMap_values_closure(_this), type$.String, type$.dynamic); + _this._chainForeignFuture$1(value); }, - $indexSet: function(_, key, value) { - var processed, original, _this = this; - H._asStringS(key); - if (_this._processed == null) - _this._data.$indexSet(0, key, value); - else if (_this.containsKey$1(0, key)) { - processed = _this._processed; - processed[key] = value; - original = _this._original; - if (original == null ? processed != null : original !== processed) - original[key] = null; - } else - _this._upgrade$0().$indexSet(0, key, value); + _asyncCompleteError$2(error, stackTrace) { + type$.StackTrace._as(stackTrace); + this._state ^= 2; + A._rootScheduleMicrotask(null, null, this._zone, type$.void_Function._as(new A._Future__asyncCompleteError_closure(this, error, stackTrace))); }, - containsKey$1: function(_, key) { - if (this._processed == null) - return this._data.containsKey$1(0, key); - if (typeof key != "string") - return false; - return Object.prototype.hasOwnProperty.call(this._original, key); + $isFuture: 1 + }; + A._Future__addListener_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this.listener); }, - remove$1: function(_, key) { - if (this._processed != null && !this.containsKey$1(0, key)) - return null; - return this._upgrade$0().remove$1(0, key); + $signature: 0 + }; + A._Future__prependListeners_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this._box_0.listeners); }, - forEach$1: function(_, f) { - var keys, i, key, value, _this = this; - type$.void_Function_String_dynamic._as(f); - if (_this._processed == null) - return _this._data.forEach$1(0, f); - keys = _this._computeKeys$0(); - for (i = 0; i < keys.length; ++i) { - key = keys[i]; - value = _this._processed[key]; - if (typeof value == "undefined") { - value = P._convertJsonToDartLazy(_this._original[key]); - _this._processed[key] = value; - } - f.call$2(key, value); - if (keys !== _this._data) - throw H.wrapException(P.ConcurrentModificationError$(_this)); + $signature: 0 + }; + A._Future__chainForeignFuture_closure.prototype = { + call$1(value) { + var error, stackTrace, exception, + t1 = this.$this; + t1._state ^= 2; + try { + t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); + } catch (exception) { + error = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + t1._completeError$2(error, stackTrace); } }, - _computeKeys$0: function() { - var keys = type$.nullable_List_dynamic._as(this._data); - if (keys == null) - keys = this._data = H.setRuntimeTypeInfo(Object.keys(this._original), type$.JSArray_String); - return keys; + $signature: 47 + }; + A._Future__chainForeignFuture_closure0.prototype = { + call$2(error, stackTrace) { + this.$this._completeError$2(error, type$.StackTrace._as(stackTrace)); }, - _upgrade$0: function() { - var result, keys, i, t1, key, _this = this; - if (_this._processed == null) - return _this._data; - result = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); - keys = _this._computeKeys$0(); - for (i = 0; t1 = keys.length, i < t1; ++i) { - key = keys[i]; - result.$indexSet(0, key, _this.$index(0, key)); - } - if (t1 === 0) - C.JSArray_methods.add$1(keys, ""); - else - C.JSArray_methods.set$length(keys, 0); - _this._original = _this._processed = null; - return _this._data = result; + $signature: 270 + }; + A._Future__chainForeignFuture_closure1.prototype = { + call$0() { + this.$this._completeError$2(this.e, this.s); }, - _process$1: function(key) { - var result; - if (!Object.prototype.hasOwnProperty.call(this._original, key)) - return null; - result = P._convertJsonToDartLazy(this._original[key]); - return this._processed[key] = result; - } + $signature: 0 }; - P._JsonMap_values_closure.prototype = { - call$1: function(each) { - return this.$this.$index(0, each); + A._Future__asyncCompleteWithValue_closure.prototype = { + call$0() { + this.$this._completeWithValue$1(this.value); }, - $signature: 252 + $signature: 0 }; - P._JsonMapKeyIterable.prototype = { - get$length: function(_) { - var t1 = this._parent; - return t1.get$length(t1); + A._Future__chainFuture_closure.prototype = { + call$0() { + A._Future__chainCoreFuture(this.value, this.$this); }, - elementAt$1: function(_, index) { - var t1 = this._parent; - return t1._processed == null ? t1.get$keys(t1).elementAt$1(0, index) : C.JSArray_methods.$index(t1._computeKeys$0(), index); + $signature: 0 + }; + A._Future__asyncCompleteError_closure.prototype = { + call$0() { + this.$this._completeError$2(this.error, this.stackTrace); }, - get$iterator: function(_) { - var t1 = this._parent; - if (t1._processed == null) { - t1 = t1.get$keys(t1); - t1 = t1.get$iterator(t1); - } else { - t1 = t1._computeKeys$0(); - t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + $signature: 0 + }; + A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { + call$0() { + var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; + try { + t1 = _this._box_0.listener; + completeResult = t1.result._zone.run$1$1(type$.dynamic_Function._as(t1.callback), type$.dynamic); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + if (_this.hasError) { + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners).error; + t2 = e; + t2 = t1 == null ? t2 == null : t1 === t2; + t1 = t2; + } else + t1 = false; + t2 = _this._box_0; + if (t1) + t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + else + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; + return; + } + if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) { + if ((completeResult._state & 16) !== 0) { + t1 = _this._box_0; + t1.listenerValueOrError = type$.AsyncError._as(completeResult._resultOrListeners); + t1.listenerHasError = true; + } + return; + } + if (type$.Future_dynamic._is(completeResult)) { + originalSource = _this._box_1.source; + t1 = _this._box_0; + t1.listenerValueOrError = J.then$1$1$z(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); + t1.listenerHasError = false; } - return t1; }, - contains$1: function(_, key) { - return this._parent.containsKey$1(0, key); - } + $signature: 0 }; - P.Utf8Decoder__decoder_closure.prototype = { - call$0: function() { - var t1, exception; + A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { + call$1(_) { + return this.originalSource; + }, + $signature: 277 + }; + A._Future__propagateToListeners_handleValueCallback.prototype = { + call$0() { + var e, s, t1, t2, t3, t4, t5, exception; try { - t1 = new TextDecoder("utf-8", {fatal: true}); - return t1; + t1 = this._box_0; + t2 = t1.listener; + t3 = t2.$ti; + t4 = t3._precomputed1; + t5 = t4._as(this.sourceResult); + t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t3._eval$1("2/(1)")._as(t2.callback), t5, t3._eval$1("2/"), t4); } catch (exception) { - H.unwrapException(exception); + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = this._box_0; + t1.listenerValueOrError = A.AsyncError$(e, s); + t1.listenerHasError = true; } - return null; }, - $signature: 1 + $signature: 0 }; - P.Utf8Decoder__decoderNonfatal_closure.prototype = { - call$0: function() { - var t1, exception; + A._Future__propagateToListeners_handleError.prototype = { + call$0() { + var asyncError, e, s, t1, exception, t2, t3, t4, _this = this; try { - t1 = new TextDecoder("utf-8", {fatal: false}); - return t1; + asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t1 = _this._box_0; + if (A.boolConversionCheck(t1.listener.matchesErrorTest$1(asyncError)) && t1.listener.errorCallback != null) { + t1.listenerValueOrError = t1.listener.handleError$1(asyncError); + t1.listenerHasError = false; + } } catch (exception) { - H.unwrapException(exception); + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t2 = t1.error; + t3 = e; + t4 = _this._box_0; + if (t2 == null ? t3 == null : t2 === t3) + t4.listenerValueOrError = t1; + else + t4.listenerValueOrError = A.AsyncError$(e, s); + t4.listenerHasError = true; } - return null; }, - $signature: 1 + $signature: 0 }; - P.AsciiCodec.prototype = { - get$name: function(_) { - return "us-ascii"; + A._AsyncCallbackEntry.prototype = {}; + A.Stream.prototype = { + map$1$1(_, convert, $S) { + var t1 = A._instanceType(this); + return new A._MapStream(t1._bind$1($S)._eval$1("1(Stream.T)")._as(convert), this, t1._eval$1("@")._bind$1($S)._eval$1("_MapStream<1,2>")); }, - encode$1: function(source) { - return C.AsciiEncoder_127.convert$1(source); + map$1($receiver, convert) { + return this.map$1$1($receiver, convert, type$.dynamic); }, - decode$1: function(_, bytes) { - var t1; - type$.List_int._as(bytes); - t1 = C.AsciiDecoder_false_127.convert$1(bytes); - return t1; + get$length(_) { + var t1 = {}, + future = new A._Future($.Zone__current, type$._Future_int); + t1.count = 0; + this.listen$4$cancelOnError$onDone$onError(new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError()); + return future; }, - get$encoder: function() { - return C.AsciiEncoder_127; + get$first(_) { + var future = new A._Future($.Zone__current, A._instanceType(this)._eval$1("_Future")), + subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new A.Stream_first_closure(future), future.get$_completeError()); + subscription.onData$1(new A.Stream_first_closure0(this, subscription, future)); + return future; } }; - P._UnicodeSubsetEncoder.prototype = { - convert$1: function(string) { - var end, $length, result, t1, t2, i, codeUnit; - H._asStringS(string); - end = P.RangeError_checkValidRange(0, null, string.length); - if (end == null) - throw H.wrapException(P.RangeError$("Invalid range")); - $length = end - 0; - result = new Uint8Array($length); - for (t1 = ~this._subsetMask, t2 = J.getInterceptor$s(string), i = 0; i < $length; ++i) { - codeUnit = t2._codeUnitAt$1(string, i); - if ((codeUnit & t1) !== 0) - throw H.wrapException(P.ArgumentError$value(string, "string", "Contains invalid characters.")); - if (i >= $length) - return H.ioore(result, i); - result[i] = codeUnit; - } - return result; + A.Stream_length_closure.prototype = { + call$1(_) { + A._instanceType(this.$this)._eval$1("Stream.T")._as(_); + ++this._box_0.count; + }, + $signature() { + return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; - P.AsciiEncoder.prototype = {}; - P._UnicodeSubsetDecoder.prototype = { - convert$1: function(bytes) { - var t1, end, t2, i, byte; - type$.List_int._as(bytes); - t1 = J.getInterceptor$asx(bytes); - end = P.RangeError_checkValidRange(0, null, t1.get$length(bytes)); - if (end == null) - throw H.wrapException(P.RangeError$("Invalid range")); - for (t2 = ~this._subsetMask, i = 0; i < end; ++i) { - byte = t1.$index(bytes, i); - if ((byte & t2) >>> 0 !== 0) { - if (!this._allowInvalid) - throw H.wrapException(P.FormatException$("Invalid value in input: " + byte, null, null)); - return this._convertInvalid$3(bytes, 0, end); - } - } - return P.String_String$fromCharCodes(bytes, 0, end); + A.Stream_length_closure0.prototype = { + call$0() { + this.future._complete$1(this._box_0.count); }, - _convertInvalid$3: function(bytes, start, end) { - var t1, t2, i, t3, value; - type$.List_int._as(bytes); - for (t1 = ~this._subsetMask, t2 = J.getInterceptor$asx(bytes), i = start, t3 = ""; i < end; ++i) { - value = t2.$index(bytes, i); - t3 += H.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value); - } - return t3.charCodeAt(0) == 0 ? t3 : t3; - } + $signature: 0 }; - P.AsciiDecoder.prototype = {}; - P.Base64Codec.prototype = { - get$encoder: function() { - return C.C_Base64Encoder; - }, - normalize$3: function(_, source, start, end) { - var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length, - _s31_ = "Invalid base64 encoding length "; - end = P.RangeError_checkValidRange(start, end, source.length); - if (end == null) - throw H.wrapException(P.RangeError$("Invalid range")); - inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { - i0 = i + 1; - char = C.JSString_methods._codeUnitAt$1(source, i); - if (char === 37) { - i1 = i0 + 2; - if (i1 <= end) { - digit1 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0)); - digit2 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0 + 1)); - char0 = digit1 * 16 + digit2 - (digit2 & 256); - if (char0 === 37) - char0 = -1; - i0 = i1; - } else - char0 = -1; - } else - char0 = char; - if (0 <= char0 && char0 <= 127) { - if (char0 < 0 || char0 >= inverseAlphabet.length) - return H.ioore(inverseAlphabet, char0); - value = inverseAlphabet[char0]; - if (value >= 0) { - char0 = C.JSString_methods.codeUnitAt$1(string$.ABCDEF, value); - if (char0 === char) - continue; - char = char0; - } else { - if (value === -1) { - if (firstPadding < 0) { - t1 = buffer == null ? null : buffer._contents.length; - if (t1 == null) - t1 = 0; - firstPadding = t1 + (i - sliceStart); - firstPaddingSourceIndex = i; - } - ++paddingCount; - if (char === 61) - continue; - } - char = char0; - } - if (value !== -2) { - if (buffer == null) { - buffer = new P.StringBuffer(""); - t1 = buffer; - } else - t1 = buffer; - t1._contents += C.JSString_methods.substring$2(source, sliceStart, i); - t1._contents += H.Primitives_stringFromCharCode(char); - sliceStart = i0; - continue; - } - } - throw H.wrapException(P.FormatException$("Invalid base64 data", source, i)); - } - if (buffer != null) { - t1 = buffer._contents += C.JSString_methods.substring$2(source, sliceStart, end); - t2 = t1.length; - if (firstPadding >= 0) - P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); - else { - endLength = C.JSInt_methods.$mod(t2 - 1, 4) + 1; - if (endLength === 1) - throw H.wrapException(P.FormatException$(_s31_, source, end)); - for (; endLength < 4;) { - t1 += "="; - buffer._contents = t1; - ++endLength; - } - } - t1 = buffer._contents; - return C.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); - } - $length = end - start; - if (firstPadding >= 0) - P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); - else { - endLength = C.JSInt_methods.$mod($length, 4); - if (endLength === 1) - throw H.wrapException(P.FormatException$(_s31_, source, end)); - if (endLength > 1) - source = C.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); + A.Stream_first_closure.prototype = { + call$0() { + var e, s, t1, exception; + try { + t1 = A.IterableElementError_noElement(); + throw A.wrapException(t1); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._completeWithErrorCallback(this.future, e, s); } - return source; - } - }; - P.Base64Encoder.prototype = { - convert$1: function(input) { - var t1; - type$.List_int._as(input); - input.toString; - t1 = J.getInterceptor$asx(input); - if (t1.get$length(input) === 0) - return ""; - t1 = new P._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true); - t1.toString; - return P.String_String$fromCharCodes(t1, 0, null); - } + }, + $signature: 0 }; - P._Base64Encoder.prototype = { - encode$4: function(bytes, start, end, isLast) { - var t1, byteCount, fullChunks, bufferLength, output; - type$.List_int._as(bytes); - t1 = this._convert$_state; - byteCount = (t1 & 3) + (end - start); - fullChunks = C.JSInt_methods._tdivFast$1(byteCount, 3); - bufferLength = fullChunks * 4; - if (byteCount - fullChunks * 3 > 0) - bufferLength += 4; - output = new Uint8Array(bufferLength); - this._convert$_state = P._Base64Encoder_encodeChunk(this._alphabet, bytes, start, end, true, output, 0, t1); - if (bufferLength > 0) - return output; - return null; + A.Stream_first_closure0.prototype = { + call$1(value) { + A._cancelAndValue(this.subscription, this.future, A._instanceType(this.$this)._eval$1("Stream.T")._as(value)); + }, + $signature() { + return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; - P.Base64Decoder.prototype = { - convert$1: function(input) { - var end, decoder, t1, t2; - H._asStringS(input); - end = P.RangeError_checkValidRange(0, null, input.length); - if (end == null) - throw H.wrapException(P.RangeError$("Invalid range")); - if (0 === end) - return new Uint8Array(0); - decoder = new P._Base64Decoder(); - t1 = decoder.decode$3(0, input, 0, end); - t1.toString; - t2 = decoder._convert$_state; - if (t2 < -1) - H.throwExpression(P.FormatException$("Missing padding character", input, end)); - if (t2 > 0) - H.throwExpression(P.FormatException$("Invalid length, must be multiple of four", input, end)); - decoder._convert$_state = -1; - return t1; + A.StreamSubscription.prototype = {}; + A.StreamView.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + return this._stream.listen$4$cancelOnError$onDone$onError(A._instanceType(this)._eval$1("~(StreamView.T)?")._as(onData), cancelOnError, type$.nullable_void_Function._as(onDone), onError); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; - P._Base64Decoder.prototype = { - decode$3: function(_, input, start, end) { - var buffer, _this = this, - t1 = _this._convert$_state; - if (t1 < 0) { - _this._convert$_state = P._Base64Decoder__checkPadding(input, start, end, t1); - return null; + A.StreamTransformerBase.prototype = {}; + A._StreamController.prototype = { + get$_pendingEvents() { + var t1, _this = this; + if ((_this._state & 8) === 0) + return _this.$ti._eval$1("_PendingEvents<1>?")._as(_this._varData); + t1 = _this.$ti; + return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData()); + }, + _ensurePendingEvents$0() { + var events, t1, _this = this; + if ((_this._state & 8) === 0) { + events = _this._varData; + if (events == null) + events = _this._varData = new A._PendingEvents(_this.$ti._eval$1("_PendingEvents<1>")); + return _this.$ti._eval$1("_PendingEvents<1>")._as(events); } - if (start === end) - return new Uint8Array(0); - buffer = P._Base64Decoder__allocateBuffer(input, start, end, t1); - _this._convert$_state = P._Base64Decoder_decodeChunk(input, start, end, buffer, 0, _this._convert$_state); - return buffer; - } + t1 = _this.$ti; + events = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData(); + return t1._eval$1("_PendingEvents<1>")._as(events); + }, + get$_subscription() { + var varData = this._varData; + if ((this._state & 8) !== 0) + varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).get$varData(); + return this.$ti._eval$1("_ControllerSubscription<1>")._as(varData); + }, + _badEventState$0() { + if ((this._state & 4) !== 0) + return new A.StateError("Cannot add event after closing"); + return new A.StateError("Cannot add event while adding a stream"); + }, + add$1(_, value) { + var _this = this; + _this.$ti._precomputed1._as(value); + if (_this._state >= 4) + throw A.wrapException(_this._badEventState$0()); + _this._async$_add$1(0, value); + }, + _closeUnchecked$0() { + var t1 = this._state |= 4; + if ((t1 & 1) !== 0) + this.get$_subscription()._addPending$1(B.C__DelayedDone); + else if ((t1 & 3) === 0) + this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone); + }, + _async$_add$1(_, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(value); + t2 = _this._state; + if ((t2 & 1) !== 0) { + t1._precomputed1._as(value); + _this.get$_subscription()._addPending$1(new A._DelayedData(value, t1._eval$1("_DelayedData<1>"))); + } else if ((t2 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value, t1._eval$1("_DelayedData<1>"))); + }, + _subscribe$4(onData, onError, onDone, cancelOnError) { + var subscription, pendingEvents, t2, addState, _this = this, + t1 = _this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._state & 3) !== 0) + throw A.wrapException(A.StateError$("Stream has already been listened to.")); + subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, t1._precomputed1); + pendingEvents = _this.get$_pendingEvents(); + t2 = _this._state |= 1; + if ((t2 & 8) !== 0) { + addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + addState.set$varData(subscription); + addState.resume$0(0); + } else + _this._varData = subscription; + subscription._setPendingEvents$1(pendingEvents); + subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this)); + return subscription; + }, + _recordCancel$1(subscription) { + var result, onCancel, cancelResult, e, s, exception, result0, _this = this, + t1 = _this.$ti; + t1._eval$1("StreamSubscription<1>")._as(subscription); + result = null; + if ((_this._state & 8) !== 0) + result = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).cancel$0(0); + _this._varData = null; + _this._state = _this._state & 4294967286 | 2; + onCancel = _this.onCancel; + if (onCancel != null) + if (result == null) + try { + cancelResult = onCancel.call$0(); + if (type$.Future_void._is(cancelResult)) + result = cancelResult; + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + result0 = new A._Future($.Zone__current, type$._Future_void); + result0._asyncCompleteError$2(e, s); + result = result0; + } + else + result = result.whenComplete$1(onCancel); + t1 = new A._StreamController__recordCancel_complete(_this); + if (result != null) + result = result.whenComplete$1(t1); + else + t1.call$0(); + return result; + }, + _recordPause$1(subscription) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("StreamSubscription<1>")._as(subscription); + if ((_this._state & 8) !== 0) + t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).pause$0(0); + A._runGuarded(_this.onPause); + }, + _recordResume$1(subscription) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("StreamSubscription<1>")._as(subscription); + if ((_this._state & 8) !== 0) + t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).resume$0(0); + A._runGuarded(_this.onResume); + }, + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventSink: 1, + $is_EventDispatch: 1, + $isSink: 1 }; - P.ByteConversionSink.prototype = {}; - P.ByteConversionSinkBase.prototype = {}; - P._ByteCallbackSink.prototype = { - add$1: function(_, chunk) { - var t1, t2, t3, t4, v, grown, _this = this; - type$.Iterable_int._as(chunk); - t1 = _this._convert$_buffer; - t2 = _this._bufferIndex; - t3 = J.getInterceptor$asx(chunk); - t4 = t3.get$length(chunk); - if (typeof t4 !== "number") - return t4.$gt(); - if (t4 > t1.length - t2) { - t1 = _this._convert$_buffer; - t2 = t3.get$length(chunk); - if (typeof t2 !== "number") - return t2.$add(); - v = t2 + t1.length - 1; - v |= C.JSInt_methods._shrOtherPositive$1(v, 1); - v |= v >>> 2; - v |= v >>> 4; - v |= v >>> 8; - grown = new Uint8Array((((v | v >>> 16) >>> 0) + 1) * 2); - t1 = _this._convert$_buffer; - C.NativeUint8List_methods.setRange$3(grown, 0, t1.length, t1); - _this.set$_convert$_buffer(grown); - } - t1 = _this._convert$_buffer; - t2 = _this._bufferIndex; - t4 = t3.get$length(chunk); - if (typeof t4 !== "number") - return H.iae(t4); - C.NativeUint8List_methods.setRange$3(t1, t2, t2 + t4, chunk); - t4 = _this._bufferIndex; - t3 = t3.get$length(chunk); - if (typeof t3 !== "number") - return H.iae(t3); - _this._bufferIndex = t4 + t3; + A._StreamController__subscribe_closure.prototype = { + call$0() { + A._runGuarded(this.$this.onListen); }, - close$0: function(_) { - this._callback.call$1(C.NativeUint8List_methods.sublist$2(this._convert$_buffer, 0, this._bufferIndex)); + $signature: 0 + }; + A._StreamController__recordCancel_complete.prototype = { + call$0() { + var doneFuture = this.$this._doneFuture; + if (doneFuture != null && (doneFuture._state & 30) === 0) + doneFuture._asyncComplete$1(null); }, - set$_convert$_buffer: function(_buffer) { - this._convert$_buffer = type$.List_int._as(_buffer); - } + $signature: 0 }; - P.ChunkedConversionSink.prototype = {}; - P.Codec.prototype = { - encode$1: function(input) { - H._instanceType(this)._eval$1("Codec.S")._as(input); - return this.get$encoder().convert$1(input); + A._AsyncStreamControllerDispatch.prototype = {}; + A._AsyncStreamController.prototype = {}; + A._ControllerStream.prototype = { + get$hashCode(_) { + return (A.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; + }, + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return other instanceof A._ControllerStream && other._async$_controller === this._async$_controller; } }; - P.Converter.prototype = {}; - P.Encoding.prototype = {}; - P.HtmlEscapeMode.prototype = { - toString$0: function(_) { - return "unknown"; + A._ControllerSubscription.prototype = { + _onCancel$0() { + return this._async$_controller._recordCancel$1(this); + }, + _onPause$0() { + this._async$_controller._recordPause$1(this); + }, + _onResume$0() { + this._async$_controller._recordResume$1(this); } }; - P.HtmlEscape.prototype = { - convert$1: function(text) { - var val; - H._asStringS(text); - val = this._convert$3(text, 0, text.length); - return val == null ? text : val; + A._BufferingStreamSubscription.prototype = { + _setPendingEvents$1(pendingEvents) { + var _this = this; + A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(pendingEvents); + if (pendingEvents == null) + return; + _this.set$_pending(pendingEvents); + if (pendingEvents.lastPendingEvent != null) { + _this._state = (_this._state | 64) >>> 0; + pendingEvents.schedule$1(_this); + } }, - _convert$3: function(text, start, end) { - var i, result, replacement, t1; - for (i = start, result = null; i < end; ++i) { - if (i >= text.length) - return H.ioore(text, i); - switch (text[i]) { - case "&": - replacement = "&"; - break; - case '"': - replacement = """; - break; - case "'": - replacement = "'"; - break; - case "<": - replacement = "<"; - break; - case ">": - replacement = ">"; - break; - case "/": - replacement = "/"; - break; - default: - replacement = null; + onData$1(handleData) { + var t1 = A._instanceType(this); + this.set$_async$_onData(A._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval$1("~(_BufferingStreamSubscription.T)?")._as(handleData), t1._eval$1("_BufferingStreamSubscription.T"))); + }, + pause$0(_) { + var t2, t3, _this = this, + t1 = _this._state; + if ((t1 & 8) !== 0) + return; + t2 = (t1 + 128 | 4) >>> 0; + _this._state = t2; + if (t1 < 128) { + t3 = _this._pending; + if (t3 != null) + if (t3._state === 1) + t3._state = 3; + } + if ((t1 & 4) === 0 && (t2 & 32) === 0) + _this._guardCallback$1(_this.get$_onPause()); + }, + resume$0(_) { + var _this = this, + t1 = _this._state; + if ((t1 & 8) !== 0) + return; + if (t1 >= 128) { + t1 = _this._state = t1 - 128; + if (t1 < 128) + if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null) + _this._pending.schedule$1(_this); + else { + t1 = (t1 & 4294967291) >>> 0; + _this._state = t1; + if ((t1 & 32) === 0) + _this._guardCallback$1(_this.get$_onResume()); + } + } + }, + cancel$0(_) { + var _this = this, + t1 = (_this._state & 4294967279) >>> 0; + _this._state = t1; + if ((t1 & 8) === 0) + _this._cancel$0(); + t1 = _this._cancelFuture; + return t1 == null ? $.$get$Future__nullFuture() : t1; + }, + _cancel$0() { + var t2, _this = this, + t1 = _this._state = (_this._state | 8) >>> 0; + if ((t1 & 64) !== 0) { + t2 = _this._pending; + if (t2._state === 1) + t2._state = 3; + } + if ((t1 & 32) === 0) + _this.set$_pending(null); + _this._cancelFuture = _this._onCancel$0(); + }, + _async$_add$1(_, data) { + var t2, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("_BufferingStreamSubscription.T")._as(data); + t2 = _this._state; + if ((t2 & 8) !== 0) + return; + if (t2 < 32) + _this._sendData$1(data); + else + _this._addPending$1(new A._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); + }, + _addError$2(error, stackTrace) { + var t1 = this._state; + if ((t1 & 8) !== 0) + return; + if (t1 < 32) + this._sendError$2(error, stackTrace); + else + this._addPending$1(new A._DelayedError(error, stackTrace)); + }, + _close$0() { + var _this = this, + t1 = _this._state; + if ((t1 & 8) !== 0) + return; + t1 = (t1 | 2) >>> 0; + _this._state = t1; + if (t1 < 32) + _this._sendDone$0(); + else + _this._addPending$1(B.C__DelayedDone); + }, + _onPause$0() { + }, + _onResume$0() { + }, + _onCancel$0() { + return null; + }, + _addPending$1($event) { + var t1, _this = this, + pending = _this._pending; + if (pending == null) { + pending = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>")); + _this.set$_pending(pending); + } + pending.add$1(0, $event); + t1 = _this._state; + if ((t1 & 64) === 0) { + t1 = (t1 | 64) >>> 0; + _this._state = t1; + if (t1 < 128) + pending.schedule$1(_this); + } + }, + _sendData$1(data) { + var t2, _this = this, + t1 = A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); + t1._as(data); + t2 = _this._state; + _this._state = (t2 | 32) >>> 0; + _this._zone.runUnaryGuarded$1$2(_this._async$_onData, data, t1); + _this._state = (_this._state & 4294967263) >>> 0; + _this._checkState$1((t2 & 4) !== 0); + }, + _sendError$2(error, stackTrace) { + var cancelFuture, _this = this, + t1 = _this._state, + t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); + if ((t1 & 1) !== 0) { + _this._state = (t1 | 16) >>> 0; + _this._cancel$0(); + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t2); + else + t2.call$0(); + } else { + t2.call$0(); + _this._checkState$1((t1 & 4) !== 0); + } + }, + _sendDone$0() { + var cancelFuture, _this = this, + t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this); + _this._cancel$0(); + _this._state = (_this._state | 16) >>> 0; + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t1); + else + t1.call$0(); + }, + _guardCallback$1(callback) { + var t1, _this = this; + type$.void_Function._as(callback); + t1 = _this._state; + _this._state = (t1 | 32) >>> 0; + callback.call$0(); + _this._state = (_this._state & 4294967263) >>> 0; + _this._checkState$1((t1 & 4) !== 0); + }, + _checkState$1(wasInputPaused) { + var t2, isInputPaused, _this = this, + t1 = _this._state; + if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) { + t1 = _this._state = (t1 & 4294967231) >>> 0; + if ((t1 & 4) !== 0) + if (t1 < 128) { + t2 = _this._pending; + t2 = t2 == null ? null : t2.lastPendingEvent == null; + t2 = t2 !== false; + } else + t2 = false; + else + t2 = false; + if (t2) { + t1 = (t1 & 4294967291) >>> 0; + _this._state = t1; } - if (replacement != null) { - if (result == null) - result = new P.StringBuffer(""); - if (i > start) - result._contents += C.JSString_methods.substring$2(text, start, i); - result._contents += replacement; - start = i + 1; + } + for (; true; wasInputPaused = isInputPaused) { + if ((t1 & 8) !== 0) { + _this.set$_pending(null); + return; } + isInputPaused = (t1 & 4) !== 0; + if (wasInputPaused === isInputPaused) + break; + _this._state = (t1 ^ 32) >>> 0; + if (isInputPaused) + _this._onPause$0(); + else + _this._onResume$0(); + t1 = (_this._state & 4294967263) >>> 0; + _this._state = t1; } - if (result == null) - return null; - if (end > start) - result._contents += J.substring$2$s(text, start, end); - t1 = result._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; - } + if ((t1 & 64) !== 0 && t1 < 128) + _this._pending.schedule$1(_this); + }, + set$_async$_onData(_onData) { + this._async$_onData = A._instanceType(this)._eval$1("~(_BufferingStreamSubscription.T)")._as(_onData); + }, + set$_pending(_pending) { + this._pending = A._instanceType(this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(_pending); + }, + $isStreamSubscription: 1, + $is_EventSink: 1, + $is_EventDispatch: 1 }; - P.JsonUnsupportedObjectError.prototype = { - toString$0: function(_) { - var safeString = P.Error_safeToString(this.unsupportedObject); - return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; + A._BufferingStreamSubscription__sendError_sendError.prototype = { + call$0() { + var onError, t3, t4, + t1 = this.$this, + t2 = t1._state; + if ((t2 & 8) !== 0 && (t2 & 16) === 0) + return; + t1._state = (t2 | 32) >>> 0; + onError = t1._onError; + t2 = this.error; + t3 = type$.Object; + t4 = t1._zone; + if (type$.void_Function_Object_StackTrace._is(onError)) + t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); + else + t4.runUnaryGuarded$1$2(type$.void_Function_Object._as(onError), t2, t3); + t1._state = (t1._state & 4294967263) >>> 0; }, - get$cause: function() { - return this.cause; + $signature: 0 + }; + A._BufferingStreamSubscription__sendDone_sendDone.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1._state; + if ((t2 & 16) === 0) + return; + t1._state = (t2 | 42) >>> 0; + t1._zone.runGuarded$1(t1._onDone); + t1._state = (t1._state & 4294967263) >>> 0; + }, + $signature: 0 + }; + A._StreamImpl.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = A._instanceType(this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._async$_controller._subscribe$4(t1._eval$1("~(1)?")._as(onData), onError, onDone, cancelOnError === true); + }, + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; - P.JsonCyclicError.prototype = { - toString$0: function(_) { - return "Cyclic error in JSON stringify"; + A._DelayedEvent.prototype = { + set$next(_, next) { + this.next = type$.nullable__DelayedEvent_dynamic._as(next); + }, + get$next(receiver) { + return this.next; } }; - P.JsonCodec.prototype = { - decode$2$reviver: function(_, source, reviver) { - var t1; - type$.nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object._as(reviver); - t1 = P._parseJson(source, this.get$decoder()._reviver); - return t1; + A._DelayedData.prototype = { + perform$1(dispatch) { + this.$ti._eval$1("_EventDispatch<1>")._as(dispatch)._sendData$1(this.value); }, - decode$1: function($receiver, source) { - return this.decode$2$reviver($receiver, source, null); + get$value(receiver) { + return this.value; + } + }; + A._DelayedError.prototype = { + perform$1(dispatch) { + dispatch._sendError$2(this.error, this.stackTrace); }, - encode$2$toEncodable: function(value, toEncodable) { - var t1; - type$.nullable_nullable_Object_Function_dynamic._as(toEncodable); - t1 = this.get$encoder(); - t1 = P._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); - return t1; + get$stackTrace() { + return this.stackTrace; + } + }; + A._DelayedDone.prototype = { + perform$1(dispatch) { + dispatch._sendDone$0(); }, - encode$1: function(value) { - return this.encode$2$toEncodable(value, null); + get$next(_) { + return null; }, - get$encoder: function() { - return C.JsonEncoder_null_null; + set$next(_, _0) { + throw A.wrapException(A.StateError$("No events after a done.")); }, - get$decoder: function() { - return C.JsonDecoder_null; - } + $is_DelayedEvent: 1 }; - P.JsonEncoder.prototype = { - convert$1: function(object) { - var stringifier, - t1 = this._toEncodable, - t2 = this.get$indent(), - output = new P.StringBuffer(""); - if (t2 == null) - stringifier = P._JsonStringStringifier$(output, t1); - else { - if (t1 == null) - t1 = P.convert___defaultToEncodable$closure(); - stringifier = new P._JsonStringStringifierPretty(t2, 0, output, [], t1); + A._PendingEvents.prototype = { + schedule$1(dispatch) { + var t1, _this = this; + _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); + t1 = _this._state; + if (t1 === 1) + return; + if (t1 >= 1) { + _this._state = 1; + return; } - stringifier.writeObject$1(object); - t1 = output._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch)); + _this._state = 1; }, - get$indent: function() { - return this.indent; + add$1(_, $event) { + var lastEvent, _this = this; + type$._DelayedEvent_dynamic._as($event); + lastEvent = _this.lastPendingEvent; + if (lastEvent == null) + _this.firstPendingEvent = _this.lastPendingEvent = $event; + else { + lastEvent.set$next(0, $event); + _this.lastPendingEvent = $event; + } } }; - P.JsonDecoder.prototype = { - convert$1: function(input) { - return P._parseJson(H._asStringS(input), this._reviver); - } + A._PendingEvents_schedule_closure.prototype = { + call$0() { + var t2, $event, nextEvent, + t1 = this.$this, + oldState = t1._state; + t1._state = 0; + if (oldState === 3) + return; + t2 = t1.$ti._eval$1("_EventDispatch<1>")._as(this.dispatch); + $event = t1.firstPendingEvent; + nextEvent = $event.get$next($event); + t1.firstPendingEvent = nextEvent; + if (nextEvent == null) + t1.lastPendingEvent = null; + $event.perform$1(t2); + }, + $signature: 0 }; - P._JsonStringifier.prototype = { - writeStringContent$1: function(s) { - var t1, t2, offset, i, charCode, t3, t4, - $length = s.length; - for (t1 = J.getInterceptor$s(s), t2 = this._sink, offset = 0, i = 0; i < $length; ++i) { - charCode = t1._codeUnitAt$1(s, i); - if (charCode > 92) { - if (charCode >= 55296) { - t3 = charCode & 64512; - if (t3 === 55296) { - t4 = i + 1; - t4 = !(t4 < $length && (C.JSString_methods._codeUnitAt$1(s, t4) & 64512) === 56320); - } else - t4 = false; - if (!t4) - if (t3 === 56320) { - t3 = i - 1; - t3 = !(t3 >= 0 && (C.JSString_methods.codeUnitAt$1(s, t3) & 64512) === 55296); - } else - t3 = false; - else - t3 = true; - if (t3) { - if (i > offset) - t2._contents += C.JSString_methods.substring$2(s, offset, i); - offset = i + 1; - t2._contents += H.Primitives_stringFromCharCode(92); - t2._contents += H.Primitives_stringFromCharCode(117); - t2._contents += H.Primitives_stringFromCharCode(100); - t3 = charCode >>> 8 & 15; - t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); - t3 = charCode >>> 4 & 15; - t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); - t3 = charCode & 15; - t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); - } - } - continue; - } - if (charCode < 32) { - if (i > offset) - t2._contents += C.JSString_methods.substring$2(s, offset, i); - offset = i + 1; - t2._contents += H.Primitives_stringFromCharCode(92); - switch (charCode) { - case 8: - t2._contents += H.Primitives_stringFromCharCode(98); - break; - case 9: - t2._contents += H.Primitives_stringFromCharCode(116); - break; - case 10: - t2._contents += H.Primitives_stringFromCharCode(110); - break; - case 12: - t2._contents += H.Primitives_stringFromCharCode(102); - break; - case 13: - t2._contents += H.Primitives_stringFromCharCode(114); - break; - default: - t2._contents += H.Primitives_stringFromCharCode(117); - t2._contents += H.Primitives_stringFromCharCode(48); - t2._contents += H.Primitives_stringFromCharCode(48); - t3 = charCode >>> 4 & 15; - t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); - t3 = charCode & 15; - t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); - break; - } - } else if (charCode === 34 || charCode === 92) { - if (i > offset) - t2._contents += C.JSString_methods.substring$2(s, offset, i); - offset = i + 1; - t2._contents += H.Primitives_stringFromCharCode(92); - t2._contents += H.Primitives_stringFromCharCode(charCode); - } - } - if (offset === 0) - t2._contents += H.S(s); - else if (offset < $length) - t2._contents += t1.substring$2(s, offset, $length); - }, - _checkCycle$1: function(object) { - var t1, t2, i, t3; - for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { - t3 = t1[i]; - if (object == null ? t3 == null : object === t3) - throw H.wrapException(new P.JsonCyclicError(object, null)); - } - C.JSArray_methods.add$1(t1, object); - }, - writeObject$1: function(object) { - var customJson, e, t1, exception, _this = this; - if (_this.writeJsonValue$1(object)) + A._DoneStreamSubscription.prototype = { + _schedule$0() { + var _this = this; + if ((_this._state & 2) !== 0) return; - _this._checkCycle$1(object); - try { - customJson = _this._toEncodable.call$1(object); - if (!_this.writeJsonValue$1(customJson)) { - t1 = P.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); - throw H.wrapException(t1); - } - t1 = _this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = P.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); - throw H.wrapException(t1); - } + A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(_this.get$_sendDone())); + _this._state = (_this._state | 2) >>> 0; }, - writeJsonValue$1: function(object) { - var t1, success, _this = this; - if (typeof object == "number") { - if (!isFinite(object)) - return false; - _this._sink._contents += C.JSNumber_methods.toString$0(object); - return true; - } else if (object === true) { - _this._sink._contents += "true"; - return true; - } else if (object === false) { - _this._sink._contents += "false"; - return true; - } else if (object == null) { - _this._sink._contents += "null"; - return true; - } else if (typeof object == "string") { - t1 = _this._sink; - t1._contents += '"'; - _this.writeStringContent$1(object); - t1._contents += '"'; - return true; - } else if (type$.List_dynamic._is(object)) { - _this._checkCycle$1(object); - _this.writeList$1(object); - t1 = _this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - return true; - } else if (type$.Map_dynamic_dynamic._is(object)) { - _this._checkCycle$1(object); - success = _this.writeMap$1(object); - t1 = _this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - return success; - } else - return false; + onData$1(handleData) { + this.$ti._eval$1("~(1)?")._as(handleData); }, - writeList$1: function(list) { - var t2, i, t3, - t1 = this._sink; - t1._contents += "["; - t2 = J.getInterceptor$asx(list); - if (t2.get$isNotEmpty(list)) { - this.writeObject$1(t2.$index(list, 0)); - i = 1; - while (true) { - t3 = t2.get$length(list); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - t1._contents += ","; - this.writeObject$1(t2.$index(list, i)); - ++i; - } - } - t1._contents += "]"; + pause$0(_) { + this._state += 4; }, - writeMap$1: function(map) { - var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, - t1 = J.getInterceptor$asx(map); - if (t1.get$isEmpty(map)) { - _this._sink._contents += "{}"; - return true; - } - t2 = t1.get$length(map); - if (typeof t2 !== "number") - return t2.$mul(); - t2 *= 2; - keyValueList = P.List_List$filled(t2, null, false, type$.nullable_Object); - i = _box_0.i = 0; - _box_0.allStringKeys = true; - t1.forEach$1(map, new P._JsonStringifier_writeMap_closure(_box_0, keyValueList)); - if (!_box_0.allStringKeys) - return false; - t1 = _this._sink; - t1._contents += "{"; - for (separator = '"'; i < t2; i += 2, separator = ',"') { - t1._contents += separator; - _this.writeStringContent$1(H._asStringS(keyValueList[i])); - t1._contents += '":'; - t3 = i + 1; - if (t3 >= t2) - return H.ioore(keyValueList, t3); - _this.writeObject$1(keyValueList[t3]); + resume$0(_) { + var t1 = this._state; + if (t1 >= 4) { + t1 = this._state = t1 - 4; + if (t1 < 4 && (t1 & 1) === 0) + this._schedule$0(); } - t1._contents += "}"; - return true; - } - }; - P._JsonStringifier_writeMap_closure.prototype = { - call$2: function(key, value) { - var t1, t2; - if (typeof key != "string") - this._box_0.allStringKeys = false; - t1 = this.keyValueList; - t2 = this._box_0; - C.JSArray_methods.$indexSet(t1, t2.i++, key); - C.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $signature: 95 - }; - P._JsonPrettyPrintMixin.prototype = { - writeList$1: function(list) { - var i, _this = this, - t1 = J.getInterceptor$asx(list), - t2 = t1.get$isEmpty(list), - t3 = _this._sink, - t4 = t3._contents; - if (t2) - t3._contents = t4 + "[]"; - else { - t3._contents = t4 + "[\n"; - _this.writeIndentation$1(++_this._JsonPrettyPrintMixin__indentLevel); - _this.writeObject$1(t1.$index(list, 0)); - i = 1; - while (true) { - t2 = t1.get$length(list); - if (typeof t2 !== "number") - return H.iae(t2); - if (!(i < t2)) - break; - t3._contents += ",\n"; - _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); - _this.writeObject$1(t1.$index(list, i)); - ++i; - } - t3._contents += "\n"; - _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); - t3._contents += "]"; - } + cancel$0(_) { + return $.$get$Future__nullFuture(); }, - writeMap$1: function(map) { - var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, - t1 = J.getInterceptor$asx(map); - if (t1.get$isEmpty(map)) { - _this._sink._contents += "{}"; - return true; - } - t2 = t1.get$length(map); - if (typeof t2 !== "number") - return t2.$mul(); - t2 *= 2; - keyValueList = P.List_List$filled(t2, null, false, type$.nullable_Object); - i = _box_0.i = 0; - _box_0.allStringKeys = true; - t1.forEach$1(map, new P._JsonPrettyPrintMixin_writeMap_closure(_box_0, keyValueList)); - if (!_box_0.allStringKeys) - return false; - t1 = _this._sink; - t1._contents += "{\n"; - ++_this._JsonPrettyPrintMixin__indentLevel; - for (separator = ""; i < t2; i += 2, separator = ",\n") { - t1._contents += separator; - _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); - t1._contents += '"'; - _this.writeStringContent$1(H._asStringS(keyValueList[i])); - t1._contents += '": '; - t3 = i + 1; - if (t3 >= t2) - return H.ioore(keyValueList, t3); - _this.writeObject$1(keyValueList[t3]); - } - t1._contents += "\n"; - _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); - t1._contents += "}"; - return true; - } - }; - P._JsonPrettyPrintMixin_writeMap_closure.prototype = { - call$2: function(key, value) { - var t1, t2; - if (typeof key != "string") - this._box_0.allStringKeys = false; - t1 = this.keyValueList; - t2 = this._box_0; - C.JSArray_methods.$indexSet(t1, t2.i++, key); - C.JSArray_methods.$indexSet(t1, t2.i++, value); + _sendDone$0() { + var doneHandler, _this = this, + t1 = _this._state = (_this._state & 4294967293) >>> 0; + if (t1 >= 4) + return; + _this._state = (t1 | 1) >>> 0; + doneHandler = _this._onDone; + if (doneHandler != null) + _this._zone.runGuarded$1(doneHandler); }, - $signature: 95 + $isStreamSubscription: 1 }; - P._JsonStringStringifier.prototype = { - get$_partialResult: function() { - var t1 = this._sink._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + A._StreamIterator.prototype = {}; + A._EmptyStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = this.$ti; + t1._eval$1("~(1)?")._as(onData); + return A._DoneStreamSubscription$(type$.nullable_void_Function._as(onDone), t1._precomputed1); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; - P._JsonStringStringifierPretty.prototype = { - writeIndentation$1: function(count) { - var t1, t2, i; - for (t1 = this._indent, t2 = this._sink, i = 0; i < count; ++i) - t2._contents += t1; - } + A._cancelAndValue_closure.prototype = { + call$0() { + return this.future._complete$1(this.value); + }, + $signature: 0 }; - P.Latin1Codec.prototype = { - get$name: function(_) { - return "iso-8859-1"; + A._ForwardingStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + A._instanceType(this)._eval$1("~(_ForwardingStream.T)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); }, - encode$1: function(source) { - return C.Latin1Encoder_255.convert$1(source); + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, - decode$1: function(_, bytes) { - var t1; - type$.List_int._as(bytes); - t1 = C.Latin1Decoder_false_255.convert$1(bytes); - return t1; + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, - get$encoder: function() { - return C.Latin1Encoder_255; + _createSubscription$4(onData, onError, onDone, cancelOnError) { + var t1 = A._instanceType(this); + return A._ForwardingStreamSubscription$(this, t1._eval$1("~(_ForwardingStream.T)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError, t1._eval$1("_ForwardingStream.S"), t1._eval$1("_ForwardingStream.T")); } }; - P.Latin1Encoder.prototype = {}; - P.Latin1Decoder.prototype = {}; - P.Utf8Codec.prototype = { - get$name: function(_) { - return "utf-8"; + A._ForwardingStreamSubscription.prototype = { + _ForwardingStreamSubscription$5(_stream, onData, onError, onDone, cancelOnError, $S, $T) { + var _this = this; + _this.set$_subscription(_this._stream._async$_source.listen$3$onDone$onError(_this.get$_handleData(), _this.get$_handleDone(), _this.get$_handleError())); }, - decode$1: function(_, codeUnits) { - type$.List_int._as(codeUnits); - return C.Utf8Decoder_false.convert$1(codeUnits); + _async$_add$1(_, data) { + A._instanceType(this)._eval$1("_ForwardingStreamSubscription.T")._as(data); + if ((this._state & 2) !== 0) + return; + this.super$_BufferingStreamSubscription$_add(0, data); + }, + _addError$2(error, stackTrace) { + if ((this._state & 2) !== 0) + return; + this.super$_BufferingStreamSubscription$_addError(error, stackTrace); + }, + _onPause$0() { + var t1 = this._subscription; + if (t1 != null) + t1.pause$0(0); + }, + _onResume$0() { + var t1 = this._subscription; + if (t1 != null) + t1.resume$0(0); + }, + _onCancel$0() { + var subscription = this._subscription; + if (subscription != null) { + this.set$_subscription(null); + return subscription.cancel$0(0); + } + return null; + }, + _handleData$1(data) { + this._stream._handleData$2(A._instanceType(this)._eval$1("_ForwardingStreamSubscription.S")._as(data), this); + }, + _handleError$2(error, stackTrace) { + type$.StackTrace._as(stackTrace); + A._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._addError$2(error, stackTrace); + }, + _handleDone$0() { + A._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._close$0(); }, - get$encoder: function() { - return C.C_Utf8Encoder; + set$_subscription(_subscription) { + this._subscription = A._instanceType(this)._eval$1("StreamSubscription<_ForwardingStreamSubscription.S>?")._as(_subscription); } }; - P.Utf8Encoder.prototype = { - convert$1: function(string) { - var end, $length, t1, encoder; - H._asStringS(string); - end = P.RangeError_checkValidRange(0, null, string.length); - if (end == null) - throw H.wrapException(P.RangeError$("Invalid range")); - $length = end - 0; - if ($length === 0) - return new Uint8Array(0); - t1 = new Uint8Array($length * 3); - encoder = new P._Utf8Encoder(t1); - if (encoder._fillBuffer$3(string, 0, end) !== end) { - J.codeUnitAt$1$s(string, end - 1); - encoder._writeReplacementCharacter$0(); + A._MapStream.prototype = { + _handleData$2(inputEvent, sink) { + var outputEvent, e, s, exception, + t1 = this.$ti; + t1._precomputed1._as(inputEvent); + t1._eval$1("_EventSink<2>")._as(sink); + outputEvent = null; + try { + outputEvent = this._transform.call$1(inputEvent); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._addErrorWithReplacement(sink, e, s); + return; } - return C.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); + sink._async$_add$1(0, outputEvent); } }; - P._Utf8Encoder.prototype = { - _writeReplacementCharacter$0: function() { - var _this = this, - t1 = _this._convert$_buffer, - t2 = _this._bufferIndex, - t3 = _this._bufferIndex = t2 + 1, - t4 = t1.length; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 239; - t2 = _this._bufferIndex = t3 + 1; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = 191; - _this._bufferIndex = t2 + 1; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 189; + A._Zone.prototype = {$isZone: 1}; + A._rootHandleError_closure.prototype = { + call$0() { + A.Error_throwWithStackTrace(this.error, this.stackTrace); + A.ReachabilityError$(string$.x60null_t); }, - _writeSurrogate$2: function(leadingSurrogate, nextCodeUnit) { - var rune, t1, t2, t3, t4, _this = this; - if ((nextCodeUnit & 64512) === 56320) { - rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; - t1 = _this._convert$_buffer; - t2 = _this._bufferIndex; - t3 = _this._bufferIndex = t2 + 1; - t4 = t1.length; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = rune >>> 18 | 240; - t2 = _this._bufferIndex = t3 + 1; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = rune >>> 12 & 63 | 128; - t3 = _this._bufferIndex = t2 + 1; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = rune >>> 6 & 63 | 128; - _this._bufferIndex = t3 + 1; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = rune & 63 | 128; - return true; - } else { - _this._writeReplacementCharacter$0(); - return false; + $signature: 0 + }; + A._RootZone.prototype = { + runGuarded$1(f) { + var e, s, exception; + type$.void_Function._as(f); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$0(); + return; + } + A._rootRun(null, null, this, f, type$.void); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(e, type$.StackTrace._as(s)); } }, - _fillBuffer$3: function(str, start, end) { - var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this; - if (start !== end && (C.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296) - --end; - for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { - codeUnit = C.JSString_methods._codeUnitAt$1(str, stringIndex); - if (codeUnit <= 127) { - t3 = _this._bufferIndex; - if (t3 >= t2) - break; - _this._bufferIndex = t3 + 1; - t1[t3] = codeUnit; - } else { - t3 = codeUnit & 64512; - if (t3 === 55296) { - if (_this._bufferIndex + 4 > t2) - break; - stringIndex0 = stringIndex + 1; - if (_this._writeSurrogate$2(codeUnit, C.JSString_methods._codeUnitAt$1(str, stringIndex0))) - stringIndex = stringIndex0; - } else if (t3 === 56320) { - if (_this._bufferIndex + 3 > t2) - break; - _this._writeReplacementCharacter$0(); - } else if (codeUnit <= 2047) { - t3 = _this._bufferIndex; - t4 = t3 + 1; - if (t4 >= t2) - break; - _this._bufferIndex = t4; - if (t3 >= t2) - return H.ioore(t1, t3); - t1[t3] = codeUnit >>> 6 | 192; - _this._bufferIndex = t4 + 1; - t1[t4] = codeUnit & 63 | 128; - } else { - t3 = _this._bufferIndex; - if (t3 + 2 >= t2) - break; - t4 = _this._bufferIndex = t3 + 1; - if (t3 >= t2) - return H.ioore(t1, t3); - t1[t3] = codeUnit >>> 12 | 224; - t3 = _this._bufferIndex = t4 + 1; - if (t4 >= t2) - return H.ioore(t1, t4); - t1[t4] = codeUnit >>> 6 & 63 | 128; - _this._bufferIndex = t3 + 1; - if (t3 >= t2) - return H.ioore(t1, t3); - t1[t3] = codeUnit & 63 | 128; - } + runUnaryGuarded$1$2(f, arg, $T) { + var e, s, exception; + $T._eval$1("~(0)")._as(f); + $T._as(arg); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$1(arg); + return; } + A._rootRunUnary(null, null, this, f, arg, type$.void, $T); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(e, type$.StackTrace._as(s)); } - return stringIndex; + }, + runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { + var e, s, exception; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$2(arg1, arg2); + return; + } + A._rootRunBinary(null, null, this, f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(e, type$.StackTrace._as(s)); + } + }, + bindCallbackGuarded$1(f) { + return new A._RootZone_bindCallbackGuarded_closure(this, type$.void_Function._as(f)); + }, + bindUnaryCallbackGuarded$1$1(f, $T) { + return new A._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); + }, + $index(_, key) { + return null; + }, + run$1$1(f, $R) { + $R._eval$1("0()")._as(f); + if ($.Zone__current === B.C__RootZone) + return f.call$0(); + return A._rootRun(null, null, this, f, $R); + }, + runUnary$2$2(f, arg, $R, $T) { + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + if ($.Zone__current === B.C__RootZone) + return f.call$1(arg); + return A._rootRunUnary(null, null, this, f, arg, $R, $T); + }, + runBinary$3$3(f, arg1, arg2, $R, T1, T2) { + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + if ($.Zone__current === B.C__RootZone) + return f.call$2(arg1, arg2); + return A._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); + }, + registerBinaryCallback$3$1(f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); } }; - P.Utf8Decoder.prototype = { - convert$1: function(codeUnits) { - var t1, result; - type$.List_int._as(codeUnits); - t1 = this._allowMalformed; - result = P.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null); - if (result != null) - return result; - return new P._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true); + A._RootZone_bindCallbackGuarded_closure.prototype = { + call$0() { + return this.$this.runGuarded$1(this.f); + }, + $signature: 0 + }; + A._RootZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.f, t1._as(arg), t1); + }, + $signature() { + return this.T._eval$1("~(0)"); } }; - P._Utf8Decoder.prototype = { - convertGeneral$4: function(codeUnits, start, maybeEnd, single) { - var end, bytes, errorOffset, result, t1, message, _this = this; - type$.List_int._as(codeUnits); - end = P.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits)); - if (start === end) - return ""; - if (type$.Uint8List._is(codeUnits)) { - bytes = codeUnits; - errorOffset = 0; + A._HashMap.prototype = { + get$length(_) { + return this._collection$_length; + }, + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_length !== 0; + }, + get$keys(_) { + return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); + }, + get$values(_) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]); + }, + containsKey$1(_, key) { + var strings, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[key] != null; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + return nums == null ? false : nums[key] != null; + } else + return this._containsKey$1(key); + }, + _containsKey$1(key) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; + }, + $index(_, key) { + var strings, t1, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key); + return t1; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key); + return t1; + } else + return this._collection$_get$1(0, key); + }, + _collection$_get$1(_, key) { + var bucket, index, + rest = this._collection$_rest; + if (rest == null) + return null; + bucket = this._getBucket$2(rest, key); + index = this._findBucketIndex$2(bucket, key); + return index < 0 ? null : bucket[index + 1]; + }, + $indexSet(_, key, value) { + var strings, nums, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string" && key !== "__proto__") { + strings = _this._collection$_strings; + _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value); + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = _this._collection$_nums; + _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value); + } else + _this._collection$_set$2(key, value); + }, + _collection$_set$2(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._HashMap__newHashTable(); + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) { + A._HashMap__setTableEntry(rest, hash, [key, value]); + ++_this._collection$_length; + _this._collection$_keys = null; } else { - bytes = P._Utf8Decoder__makeUint8List(codeUnits, start, end); - if (typeof end !== "number") - return end.$sub(); - end -= start; - errorOffset = start; - start = 0; - } - result = _this._convertRecursive$4(bytes, start, end, true); - t1 = _this._convert$_state; - if ((t1 & 1) !== 0) { - message = P._Utf8Decoder_errorDescription(t1); - _this._convert$_state = 0; - throw H.wrapException(P.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); + index = _this._findBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index + 1] = value; + else { + bucket.push(key, value); + ++_this._collection$_length; + _this._collection$_keys = null; + } } - return result; }, - _convertRecursive$4: function(bytes, start, end, single) { - var mid, s1, _this = this; - if (typeof end !== "number") - return end.$sub(); - if (end - start > 1000) { - mid = C.JSInt_methods._tdivFast$1(start + end, 2); - s1 = _this._convertRecursive$4(bytes, start, mid, false); - if ((_this._convert$_state & 1) !== 0) - return s1; - return s1 + _this._convertRecursive$4(bytes, mid, end, single); + remove$1(_, key) { + var _this = this; + if (typeof key == "string" && key !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, key); + else if (typeof key == "number" && (key & 1073741823) === key) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, key); + else + return _this._remove$1(0, key); + }, + _remove$1(_, key) { + var hash, bucket, index, result, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return null; + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, key); + if (index < 0) + return null; + --_this._collection$_length; + _this._collection$_keys = null; + result = bucket.splice(index, 2)[1]; + if (0 === bucket.length) + delete rest[hash]; + return result; + }, + forEach$1(_, action) { + var keys, $length, i, key, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1,2)")._as(action); + keys = _this._collection$_computeKeys$0(); + for ($length = keys.length, t1 = t1._precomputed1, i = 0; i < $length; ++i) { + key = keys[i]; + action.call$2(t1._as(key), _this.$index(0, key)); + if (keys !== _this._collection$_keys) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } - return _this.decodeGeneral$4(bytes, start, end, single); }, - decodeGeneral$4: function(bytes, start, end, single) { - var t2, type, t3, i0, markEnd, i1, m, _this = this, _65533 = 65533, - state = _this._convert$_state, - char = _this._charOrIndex, - buffer = new P.StringBuffer(""), - i = start + 1, - t1 = J.getInterceptor$asx(bytes), - byte = t1.$index(bytes, start); - $label0$0: - for (t2 = _this.allowMalformed; true;) { - for (; true; i = i0) { - type = C.JSString_methods.codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; - char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; - state = C.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type); - if (state === 0) { - buffer._contents += H.Primitives_stringFromCharCode(char); - if (i === end) - break $label0$0; - break; - } else if ((state & 1) !== 0) { - if (t2) - switch (state) { - case 69: - case 67: - buffer._contents += H.Primitives_stringFromCharCode(_65533); - break; - case 65: - buffer._contents += H.Primitives_stringFromCharCode(_65533); - --i; - break; - default: - t3 = buffer._contents += H.Primitives_stringFromCharCode(_65533); - buffer._contents = t3 + H.Primitives_stringFromCharCode(_65533); - break; - } - else { - _this._convert$_state = state; - _this._charOrIndex = i - 1; - return ""; - } - state = 0; - } - if (i === end) - break $label0$0; - i0 = i + 1; - byte = t1.$index(bytes, i); - } - i0 = i + 1; - byte = t1.$index(bytes, i); - if (byte < 128) { - while (true) { - if (!(i0 < end)) { - markEnd = end; - break; - } - i1 = i0 + 1; - byte = t1.$index(bytes, i0); - if (byte >= 128) { - markEnd = i1 - 1; - i0 = i1; - break; - } - i0 = i1; - } - if (markEnd - i < 20) - for (m = i; m < markEnd; ++m) - buffer._contents += H.Primitives_stringFromCharCode(t1.$index(bytes, m)); - else - buffer._contents += P.String_String$fromCharCodes(bytes, i, markEnd); - if (markEnd === end) - break $label0$0; - i = i0; - } else - i = i0; + _collection$_computeKeys$0() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._collection$_keys; + if (result != null) + return result; + result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; } - if (single && state > 32) - if (t2) - buffer._contents += H.Primitives_stringFromCharCode(_65533); - else { - _this._convert$_state = 77; - _this._charOrIndex = end; - return ""; + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; } - _this._convert$_state = state; - _this._charOrIndex = char; - t1 = buffer._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; - } - }; - P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin.prototype = {}; - P.NoSuchMethodError_toString_closure.prototype = { - call$2: function(key, value) { - var t1, t2, t3; - type$.Symbol._as(key); - t1 = this.sb; - t2 = this._box_0; - t1._contents += t2.comma; - t3 = t1._contents += H.S(key.__internal$_name); - t1._contents = t3 + ": "; - t1._contents += P.Error_safeToString(value); - t2.comma = ", "; - }, - $signature: 256 - }; - P._BigIntImpl.prototype = { - $negate: function(_) { - var t2, t3, _this = this, - t1 = _this._used; - if (t1 === 0) - return _this; - t2 = !_this._isNegative; - t3 = _this._digits; - t1 = P._BigIntImpl__normalize(t1, t3); - return new P._BigIntImpl(t1 === 0 ? false : t2, t3, t1); - }, - _drShift$1: function(n) { - var resultUsed, digits, resultDigits, t1, i, t2, t3, result, _this = this, - used = _this._used; - if (used === 0) - return $.$get$_BigIntImpl_zero(); - resultUsed = used - n; - if (resultUsed <= 0) - return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); - digits = _this._digits; - resultDigits = new Uint16Array(resultUsed); - for (t1 = digits.length, i = n; i < used; ++i) { - t2 = i - n; - if (i < 0 || i >= t1) - return H.ioore(digits, i); - t3 = digits[i]; - if (t2 >= resultUsed) - return H.ioore(resultDigits, t2); - resultDigits[t2] = t3; } - t2 = _this._isNegative; - t3 = P._BigIntImpl__normalize(resultUsed, resultDigits); - result = new P._BigIntImpl(t3 === 0 ? false : t2, resultDigits, t3); - if (t2) - for (i = 0; i < n; ++i) { - if (i >= t1) - return H.ioore(digits, i); - if (digits[i] !== 0) - return result.$sub(0, $.$get$_BigIntImpl_one()); - } - return result; - }, - $shr: function(_, shiftAmount) { - var t1, digitShift, bitShift, resultUsed, digits, resultDigits, t2, result, i, _this = this; - if (typeof shiftAmount !== "number") - return shiftAmount.$lt(); - if (shiftAmount < 0) - throw H.wrapException(P.ArgumentError$("shift-amount must be posititve " + shiftAmount)); - t1 = _this._used; - if (t1 === 0) - return _this; - digitShift = C.JSInt_methods._tdivFast$1(shiftAmount, 16); - bitShift = C.JSInt_methods.$mod(shiftAmount, 16); - if (bitShift === 0) - return _this._drShift$1(digitShift); - resultUsed = t1 - digitShift; - if (resultUsed <= 0) - return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); - digits = _this._digits; - resultDigits = new Uint16Array(resultUsed); - P._BigIntImpl__rsh(digits, t1, shiftAmount, resultDigits); - t1 = _this._isNegative; - t2 = P._BigIntImpl__normalize(resultUsed, resultDigits); - result = new P._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); - if (t1) { - t1 = digits.length; - if (digitShift < 0 || digitShift >= t1) - return H.ioore(digits, digitShift); - if ((digits[digitShift] & C.JSInt_methods.$shl(1, bitShift) - 1) !== 0) - return result.$sub(0, $.$get$_BigIntImpl_one()); - for (i = 0; i < digitShift; ++i) { - if (i >= t1) - return H.ioore(digits, i); - if (digits[i] !== 0) - return result.$sub(0, $.$get$_BigIntImpl_one()); + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; i0 += 2) { + result[index] = bucket[i0]; + ++index; + } } } - return result; + return _this._collection$_keys = result; }, - compareTo$1: function(_, other) { - var t1, result; - type$._BigIntImpl._as(other); - t1 = this._isNegative; - if (t1 === other._isNegative) { - result = P._BigIntImpl__compareDigits(this._digits, this._used, other._digits, other._used); - return t1 ? 0 - result : result; + _collection$_addHashTableEntry$3(table, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (table[key] == null) { + ++this._collection$_length; + this._collection$_keys = null; } - return t1 ? -1 : 1; - }, - _absAddSetSign$2: function(other, isNegative) { - var resultUsed, resultDigits, t1, _this = this, - used = _this._used, - otherUsed = other._used; - if (used < otherUsed) - return other._absAddSetSign$2(_this, isNegative); - if (used === 0) - return $.$get$_BigIntImpl_zero(); - if (otherUsed === 0) - return _this._isNegative === isNegative ? _this : _this.$negate(0); - resultUsed = used + 1; - resultDigits = new Uint16Array(resultUsed); - P._BigIntImpl__absAdd(_this._digits, used, other._digits, otherUsed, resultDigits); - t1 = P._BigIntImpl__normalize(resultUsed, resultDigits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); + A._HashMap__setTableEntry(table, key, value); }, - _absSubSetSign$2: function(other, isNegative) { - var otherUsed, resultDigits, t1, _this = this, - used = _this._used; - if (used === 0) - return $.$get$_BigIntImpl_zero(); - otherUsed = other._used; - if (otherUsed === 0) - return _this._isNegative === isNegative ? _this : _this.$negate(0); - resultDigits = new Uint16Array(used); - P._BigIntImpl__absSub(_this._digits, used, other._digits, otherUsed, resultDigits); - t1 = P._BigIntImpl__normalize(used, resultDigits); - return new P._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); + _collection$_removeHashTableEntry$2(table, key) { + var value; + if (table != null && table[key] != null) { + value = A._instanceType(this)._rest[1]._as(A._HashMap__getTableEntry(table, key)); + delete table[key]; + --this._collection$_length; + this._collection$_keys = null; + return value; + } else + return null; }, - $add: function(_, other) { - var t2, isNegative, _this = this, - t1 = _this._used; - if (t1 === 0) - return other; - t2 = other._used; - if (t2 === 0) - return _this; - isNegative = _this._isNegative; - if (isNegative === other._isNegative) - return _this._absAddSetSign$2(other, isNegative); - if (P._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) - return _this._absSubSetSign$2(other, isNegative); - return other._absSubSetSign$2(_this, !isNegative); + _computeHashCode$1(key) { + return J.get$hashCode$(key) & 1073741823; }, - $sub: function(_, other) { - var t1, t2, isNegative, _this = this; - type$._BigIntImpl._as(other); - t1 = _this._used; - if (t1 === 0) - return other.$negate(0); - t2 = other._used; - if (t2 === 0) - return _this; - isNegative = _this._isNegative; - if (isNegative !== other._isNegative) - return _this._absAddSetSign$2(other, isNegative); - if (P._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) - return _this._absSubSetSign$2(other, isNegative); - return other._absSubSetSign$2(_this, !isNegative); + _getBucket$2(table, key) { + return table[this._computeHashCode$1(key)]; }, - $mul: function(_, other) { - var resultUsed, digits, otherDigits, resultDigits, t1, i, t2, - used = this._used, - otherUsed = other._used; - if (used === 0 || otherUsed === 0) - return $.$get$_BigIntImpl_zero(); - resultUsed = used + otherUsed; - digits = this._digits; - otherDigits = other._digits; - resultDigits = new Uint16Array(resultUsed); - for (t1 = otherDigits.length, i = 0; i < otherUsed;) { - if (i >= t1) - return H.ioore(otherDigits, i); - P._BigIntImpl__mulAdd(otherDigits[i], digits, 0, resultDigits, i, used); - ++i; - } - t1 = this._isNegative !== other._isNegative; - t2 = P._BigIntImpl__normalize(resultUsed, resultDigits); - return new P._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); + _findBucketIndex$2(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) + if (J.$eq$(bucket[i], key)) + return i; + return -1; + } + }; + A._HashMap_values_closure.prototype = { + call$1(each) { + var t1 = this.$this; + return t1.$index(0, A._instanceType(t1)._precomputed1._as(each)); }, - _div$1: function(other) { - var t1, t2, t3, t4, lastQuo_used, quo_digits, quo; - if (this._used < other._used) - return $.$get$_BigIntImpl_zero(); - this._divRem$1(other); - t1 = $._BigIntImpl____lastQuoRemUsed; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastQuoRemUsed")) : t1; - t3 = $._BigIntImpl____lastRemUsed; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_lastRemUsed")) : t3; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - lastQuo_used = t2 - t4; - t4 = $._BigIntImpl____lastQuoRemDigits; - t2 = t4 === $ ? H.throwExpression(H.LateError$fieldNI("_lastQuoRemDigits")) : t4; - quo_digits = P._BigIntImpl__cloneDigits(t2, t3, t1, lastQuo_used); - t1 = P._BigIntImpl__normalize(lastQuo_used, quo_digits); - quo = new P._BigIntImpl(false, quo_digits, t1); - return this._isNegative !== other._isNegative && t1 > 0 ? quo.$negate(0) : quo; - }, - _rem$1: function(other) { - var t1, t2, t3, remDigits, rem, _this = this, - _s12_ = "_lastRemUsed"; - if (_this._used < other._used) - return _this; - _this._divRem$1(other); - t1 = $._BigIntImpl____lastQuoRemDigits; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_lastQuoRemDigits")); - t2 = $._BigIntImpl____lastRemUsed; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; - remDigits = P._BigIntImpl__cloneDigits(t1, 0, t3, t2); - t1 = $._BigIntImpl____lastRemUsed; - t1 = P._BigIntImpl__normalize(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, remDigits); - rem = new P._BigIntImpl(false, remDigits, t1); - t1 = $._BigIntImpl____lastRem_nsh; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastRem_nsh")) : t1; - if (typeof t2 !== "number") - return t2.$gt(); - if (t2 > 0) - rem = rem.$shr(0, t1); - return _this._isNegative && rem._used > 0 ? rem.$negate(0) : rem; + $signature() { + return A._instanceType(this.$this)._eval$1("2(1)"); + } + }; + A._IdentityHashMap.prototype = { + _computeHashCode$1(key) { + return A.objectHashCode(key) & 1073741823; }, - _divRem$1: function(other) { - var yDigits, yUsed, t1, nsh, yDigits0, yUsed0, resultDigits, resultUsed0, topDigitDivisor, j, tmpDigits, tmpUsed, resultUsed1, t2, nyDigits, i, estimatedQuotientDigit, _this = this, - resultUsed = _this._used; - if (resultUsed === $._BigIntImpl__lastDividendUsed && other._used === $._BigIntImpl__lastDivisorUsed && _this._digits === $._BigIntImpl__lastDividendDigits && other._digits === $._BigIntImpl__lastDivisorDigits) - return; - yDigits = other._digits; - yUsed = other._used; - t1 = yUsed - 1; - if (t1 < 0 || t1 >= yDigits.length) - return H.ioore(yDigits, t1); - nsh = 16 - C.JSInt_methods.get$bitLength(yDigits[t1]); - if (nsh > 0) { - yDigits0 = new Uint16Array(yUsed + 5); - yUsed0 = P._BigIntImpl__lShiftDigits(yDigits, yUsed, nsh, yDigits0); - resultDigits = new Uint16Array(resultUsed + 5); - resultUsed0 = P._BigIntImpl__lShiftDigits(_this._digits, resultUsed, nsh, resultDigits); - } else { - resultDigits = P._BigIntImpl__cloneDigits(_this._digits, 0, resultUsed, resultUsed + 2); - yUsed0 = yUsed; - yDigits0 = yDigits; - resultUsed0 = resultUsed; - } - t1 = yUsed0 - 1; - if (t1 < 0 || t1 >= yDigits0.length) - return H.ioore(yDigits0, t1); - topDigitDivisor = yDigits0[t1]; - j = resultUsed0 - yUsed0; - tmpDigits = new Uint16Array(resultUsed0); - tmpUsed = P._BigIntImpl__dlShiftDigits(yDigits0, yUsed0, j, tmpDigits); - resultUsed1 = resultUsed0 + 1; - t1 = resultDigits.length; - if (P._BigIntImpl__compareDigits(resultDigits, resultUsed0, tmpDigits, tmpUsed) >= 0) { - if (resultUsed0 < 0 || resultUsed0 >= t1) - return H.ioore(resultDigits, resultUsed0); - resultDigits[resultUsed0] = 1; - P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); - } else { - if (resultUsed0 < 0 || resultUsed0 >= t1) - return H.ioore(resultDigits, resultUsed0); - resultDigits[resultUsed0] = 0; - } - t2 = yUsed0 + 2; - nyDigits = new Uint16Array(t2); - if (yUsed0 < 0 || yUsed0 >= t2) - return H.ioore(nyDigits, yUsed0); - nyDigits[yUsed0] = 1; - P._BigIntImpl__absSub(nyDigits, yUsed0 + 1, yDigits0, yUsed0, nyDigits); - i = resultUsed0 - 1; - for (; j > 0;) { - estimatedQuotientDigit = P._BigIntImpl__estimateQuotientDigit(topDigitDivisor, resultDigits, i); - --j; - P._BigIntImpl__mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed0); - if (i < 0 || i >= t1) - return H.ioore(resultDigits, i); - if (resultDigits[i] < estimatedQuotientDigit) { - tmpUsed = P._BigIntImpl__dlShiftDigits(nyDigits, yUsed0, j, tmpDigits); - P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); - for (; --estimatedQuotientDigit, resultDigits[i] < estimatedQuotientDigit;) - P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); - } - --i; + _findBucketIndex$2(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) { + t1 = bucket[i]; + if (t1 == null ? key == null : t1 === key) + return i; } - $._BigIntImpl__lastDividendDigits = _this._digits; - $._BigIntImpl__lastDividendUsed = resultUsed; - $._BigIntImpl__lastDivisorDigits = yDigits; - $._BigIntImpl__lastDivisorUsed = yUsed; - $._BigIntImpl____lastQuoRemDigits = resultDigits; - $._BigIntImpl____lastQuoRemUsed = resultUsed1; - $._BigIntImpl____lastRemUsed = yUsed0; - $._BigIntImpl____lastRem_nsh = nsh; + return -1; + } + }; + A._CustomHashMap.prototype = { + $index(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$_HashMap$_get(0, key); }, - get$hashCode: function(_) { - var hash, t2, t3, i, - combine = new P._BigIntImpl_hashCode_combine(), - t1 = this._used; - if (t1 === 0) - return 6707; - hash = this._isNegative ? 83585 : 429689; - for (t2 = this._digits, t3 = t2.length, i = 0; i < t1; ++i) { - if (i >= t3) - return H.ioore(t2, i); - hash = combine.call$2(hash, t2[i]); - } - return new P._BigIntImpl_hashCode_finish().call$1(hash); + $indexSet(_, key, value) { + var t1 = this.$ti; + this.super$_HashMap$_set(t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - $eq: function(_, other) { - if (other == null) + containsKey$1(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) return false; - return other instanceof P._BigIntImpl && this.compareTo$1(0, other) === 0; + return this.super$_HashMap$_containsKey(key); }, - toString$0: function(_) { - var decimalDigitChunks, rest, t2, digits4, t3, _this = this, - t1 = _this._used; - if (t1 === 0) - return "0"; - if (t1 === 1) { - if (_this._isNegative) { - t1 = _this._digits; - if (0 >= t1.length) - return H.ioore(t1, 0); - return C.JSInt_methods.toString$0(-t1[0]); - } - t1 = _this._digits; - if (0 >= t1.length) - return H.ioore(t1, 0); - return C.JSInt_methods.toString$0(t1[0]); - } - decimalDigitChunks = H.setRuntimeTypeInfo([], type$.JSArray_String); - t1 = _this._isNegative; - rest = t1 ? _this.$negate(0) : _this; - for (; rest._used > 1;) { - t2 = $.$get$_BigIntImpl__bigInt10000(); - if (t2._used === 0) - H.throwExpression(C.C_IntegerDivisionByZeroException); - digits4 = J.toString$0$(rest._rem$1(t2)); - C.JSArray_methods.add$1(decimalDigitChunks, digits4); - t3 = digits4.length; - if (t3 === 1) - C.JSArray_methods.add$1(decimalDigitChunks, "000"); - if (t3 === 2) - C.JSArray_methods.add$1(decimalDigitChunks, "00"); - if (t3 === 3) - C.JSArray_methods.add$1(decimalDigitChunks, "0"); - rest = rest._div$1(t2); - } - t2 = rest._digits; - if (0 >= t2.length) - return H.ioore(t2, 0); - C.JSArray_methods.add$1(decimalDigitChunks, C.JSInt_methods.toString$0(t2[0])); - if (t1) - C.JSArray_methods.add$1(decimalDigitChunks, "-"); - return new H.ReversedListIterable(decimalDigitChunks, type$.ReversedListIterable_String).join$0(0); + remove$1(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$_HashMap$_remove(0, key); }, - $isBigInt: 1, - $isComparable: 1 - }; - P._BigIntImpl_hashCode_combine.prototype = { - call$2: function(hash, value) { - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; + _computeHashCode$1(key) { + return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; }, - $signature: 176 + _findBucketIndex$2(bucket, key) { + var $length, t1, t2, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; i += 2) + if (A.boolConversionCheck(t2.call$2(bucket[i], t1._as(key)))) + return i; + return -1; + } }; - P._BigIntImpl_hashCode_finish.prototype = { - call$1: function(hash) { - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; + A._CustomHashMap_closure.prototype = { + call$1(v) { + return this.K._is(v); }, - $signature: 173 + $signature: 36 }; - P.DateTime.prototype = { - add$1: function(_, duration) { - return P.DateTime$_withValue(this._value + C.JSInt_methods._tdivFast$1(type$.Duration._as(duration)._duration, 1000), this.isUtc); + A._HashMapKeyIterable.prototype = { + get$length(_) { + return this._collection$_map._collection$_length; }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof P.DateTime && this._value === other._value && this.isUtc === other.isUtc; + get$isEmpty(_) { + return this._collection$_map._collection$_length === 0; }, - compareTo$1: function(_, other) { - return C.JSInt_methods.compareTo$1(this._value, type$.DateTime._as(other)._value); + get$iterator(_) { + var t1 = this._collection$_map; + return new A._HashMapKeyIterator(t1, t1._collection$_computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); }, - DateTime$_withValue$2$isUtc: function(_value, isUtc) { - var t2, - t1 = this._value; - if (Math.abs(t1) <= 864e13) - t2 = false; - else - t2 = true; - if (t2) - throw H.wrapException(P.ArgumentError$("DateTime is outside valid range: " + t1)); - H.checkNotNullable(this.isUtc, "isUtc", type$.bool); + contains$1(_, element) { + return this._collection$_map.containsKey$1(0, element); }, - get$hashCode: function(_) { - var t1 = this._value; - return (t1 ^ C.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; + forEach$1(_, f) { + var t1, keys, $length, i; + this.$ti._eval$1("~(1)")._as(f); + t1 = this._collection$_map; + keys = t1._collection$_computeKeys$0(); + for ($length = keys.length, i = 0; i < $length; ++i) { + f.call$1(keys[i]); + if (keys !== t1._collection$_keys) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + } + } + }; + A._HashMapKeyIterator.prototype = { + get$current(_) { + return this._collection$_current; }, - toString$0: function(_) { + moveNext$0() { var _this = this, - y = P.DateTime__fourDigits(H.Primitives_getYear(_this)), - m = P.DateTime__twoDigits(H.Primitives_getMonth(_this)), - d = P.DateTime__twoDigits(H.Primitives_getDay(_this)), - h = P.DateTime__twoDigits(H.Primitives_getHours(_this)), - min = P.DateTime__twoDigits(H.Primitives_getMinutes(_this)), - sec = P.DateTime__twoDigits(H.Primitives_getSeconds(_this)), - ms = P.DateTime__threeDigits(H.Primitives_getMilliseconds(_this)); - if (_this.isUtc) - return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; - else - return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; + keys = _this._collection$_keys, + offset = _this._collection$_offset, + t1 = _this._collection$_map; + if (keys !== t1._collection$_keys) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (offset >= keys.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(keys[offset]); + _this._collection$_offset = offset + 1; + return true; + } }, - toIso8601String$0: function() { - var _this = this, - y = H.Primitives_getYear(_this) >= -9999 && H.Primitives_getYear(_this) <= 9999 ? P.DateTime__fourDigits(H.Primitives_getYear(_this)) : P.DateTime__sixDigits(H.Primitives_getYear(_this)), - m = P.DateTime__twoDigits(H.Primitives_getMonth(_this)), - d = P.DateTime__twoDigits(H.Primitives_getDay(_this)), - h = P.DateTime__twoDigits(H.Primitives_getHours(_this)), - min = P.DateTime__twoDigits(H.Primitives_getMinutes(_this)), - sec = P.DateTime__twoDigits(H.Primitives_getSeconds(_this)), - ms = P.DateTime__threeDigits(H.Primitives_getMilliseconds(_this)); - if (_this.isUtc) - return y + "-" + m + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; - else - return y + "-" + m + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms; + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); }, - $isComparable: 1 + $isIterator: 1 }; - P.DateTime_parse_parseIntOrZero.prototype = { - call$1: function(matched) { - if (matched == null) - return 0; - return P.int_parse(matched, null); + A._LinkedIdentityHashMap.prototype = { + internalComputeHashCode$1(key) { + return A.objectHashCode(key) & 1073741823; }, - $signature: 171 - }; - P.DateTime_parse_parseMilliAndMicroseconds.prototype = { - call$1: function(matched) { - var t1, result, i; - if (matched == null) - return 0; - for (t1 = matched.length, result = 0, i = 0; i < 6; ++i) { - result *= 10; - if (i < t1) - result += C.JSString_methods._codeUnitAt$1(matched, i) ^ 48; + internalFindBucketIndex$2(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) { + t1 = bucket[i].hashMapCellKey; + if (t1 == null ? key == null : t1 === key) + return i; } - return result; - }, - $signature: 171 + return -1; + } }; - P.Duration.prototype = { - $sub: function(_, other) { - return new P.Duration(this._duration - type$.Duration._as(other)._duration); + A._LinkedCustomHashMap.prototype = { + $index(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$JsLinkedHashMap$internalGet(key); }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof P.Duration && this._duration === other._duration; + $indexSet(_, key, value) { + var t1 = this.$ti; + this.super$JsLinkedHashMap$internalSet(t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - get$hashCode: function(_) { - return C.JSInt_methods.get$hashCode(this._duration); + containsKey$1(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) + return false; + return this.super$JsLinkedHashMap$internalContainsKey(key); }, - compareTo$1: function(_, other) { - return C.JSInt_methods.compareTo$1(this._duration, type$.Duration._as(other)._duration); + remove$1(_, key) { + if (!A.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$JsLinkedHashMap$internalRemove(key); }, - toString$0: function(_) { - var twoDigitMinutes, twoDigitSeconds, sixDigitUs, - t1 = new P.Duration_toString_twoDigits(), - t2 = this._duration; - if (t2 < 0) - return "-" + new P.Duration(0 - t2).toString$0(0); - twoDigitMinutes = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 60000000) % 60); - twoDigitSeconds = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 1000000) % 60); - sixDigitUs = new P.Duration_toString_sixDigits().call$1(t2 % 1000000); - return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoDigitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); + internalComputeHashCode$1(key) { + return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; }, - $isComparable: 1 + internalFindBucketIndex$2(bucket, key) { + var $length, t1, t2, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; ++i) + if (A.boolConversionCheck(t2.call$2(t1._as(bucket[i].hashMapCellKey), t1._as(key)))) + return i; + return -1; + } }; - P.Duration_toString_sixDigits.prototype = { - call$1: function(n) { - if (n >= 100000) - return "" + n; - if (n >= 10000) - return "0" + n; - if (n >= 1000) - return "00" + n; - if (n >= 100) - return "000" + n; - if (n >= 10) - return "0000" + n; - return "00000" + n; + A._LinkedCustomHashMap_closure.prototype = { + call$1(v) { + return this.K._is(v); }, - $signature: 80 + $signature: 36 }; - P.Duration_toString_twoDigits.prototype = { - call$1: function(n) { - if (n >= 10) - return "" + n; - return "0" + n; - }, - $signature: 80 - }; - P.Error.prototype = { - get$stackTrace: function() { - return H.getTraceFromException(this.$thrownJsError); - } - }; - P.AssertionError.prototype = { - toString$0: function(_) { - var t1 = this.message; - if (t1 != null) - return "Assertion failed: " + P.Error_safeToString(t1); - return "Assertion failed"; + A._HashSet.prototype = { + _newSet$0() { + return new A._HashSet(A._instanceType(this)._eval$1("_HashSet<1>")); }, - get$message: function(receiver) { - return this.message; - } - }; - P.TypeError.prototype = {}; - P.NullThrownError.prototype = { - toString$0: function(_) { - return "Throw of null."; - } - }; - P.ArgumentError.prototype = { - get$_errorName: function() { - return "Invalid argument" + (!this._hasValue ? "(s)" : ""); + _newSimilarSet$1$0($R) { + return new A._HashSet($R._eval$1("_HashSet<0>")); }, - get$_errorExplanation: function() { - return ""; + _newSimilarSet$0() { + return this._newSimilarSet$1$0(type$.dynamic); }, - toString$0: function(_) { - var explanation, errorValue, _this = this, - $name = _this.name, - nameString = $name == null ? "" : " (" + $name + ")", - message = _this.message, - messageString = message == null ? "" : ": " + H.S(message), - prefix = _this.get$_errorName() + nameString + messageString; - if (!_this._hasValue) - return prefix; - explanation = _this.get$_errorExplanation(); - errorValue = P.Error_safeToString(_this.invalidValue); - return prefix + explanation + ": " + errorValue; + get$iterator(_) { + return new A._HashSetIterator(this, this._computeElements$0(), A._instanceType(this)._eval$1("_HashSetIterator<1>")); }, - get$message: function(receiver) { - return this.message; - } - }; - P.RangeError.prototype = { - get$_errorName: function() { - return "RangeError"; + get$length(_) { + return this._collection$_length; }, - get$_errorExplanation: function() { - var explanation, - start = this.start, - end = this.end; - if (start == null) - explanation = end != null ? ": Not less than or equal to " + H.S(end) : ""; - else if (end == null) - explanation = ": Not greater than or equal to " + H.S(start); - else if (end > start) - explanation = ": Not in inclusive range " + H.S(start) + ".." + H.S(end); - else - explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + H.S(start); - return explanation; - } - }; - P.IndexError.prototype = { - get$_errorName: function() { - return "RangeError"; + get$isEmpty(_) { + return this._collection$_length === 0; }, - get$_errorExplanation: function() { - var t1, - invalidValue = H._asIntS(this.invalidValue); - if (typeof invalidValue !== "number") - return invalidValue.$lt(); - if (invalidValue < 0) - return ": index must not be negative"; - t1 = this.length; - if (t1 === 0) - return ": no indices are valid"; - return ": index should be less than " + H.S(t1); + get$isNotEmpty(_) { + return this._collection$_length !== 0; }, - get$length: function(receiver) { - return this.length; - } - }; - P.NoSuchMethodError.prototype = { - toString$0: function(_) { - var $arguments, t1, _i, t2, t3, argument, memberName, receiverText, actualParameters, _this = this, _box_0 = {}, - sb = new P.StringBuffer(""); - _box_0.comma = ""; - $arguments = _this._core$_arguments; - for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { - argument = $arguments[_i]; - sb._contents = t2 + t3; - t2 = sb._contents += P.Error_safeToString(argument); - _box_0.comma = ", "; - } - _this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure(_box_0, sb)); - memberName = _this._core$_memberName.__internal$_name; - receiverText = P.Error_safeToString(_this._core$_receiver); - actualParameters = sb.toString$0(0); - t1 = "NoSuchMethodError: method not found: '" + H.S(memberName) + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; - return t1; - } - }; - P.UnsupportedError.prototype = { - toString$0: function(_) { - return "Unsupported operation: " + this.message; + contains$1(_, object) { + var strings, nums; + if (typeof object == "string" && object !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[object] != null; + } else if (typeof object == "number" && (object & 1073741823) === object) { + nums = this._collection$_nums; + return nums == null ? false : nums[object] != null; + } else + return this._contains$1(object); }, - get$message: function(receiver) { - return this.message; - } - }; - P.UnimplementedError.prototype = { - toString$0: function(_) { - var message = this.message; - return message != null ? "UnimplementedError: " + message : "UnimplementedError"; + _contains$1(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; }, - get$message: function(receiver) { - return this.message; - } - }; - P.StateError.prototype = { - toString$0: function(_) { - return "Bad state: " + this.message; + add$1(_, element) { + var strings, nums, _this = this; + A._instanceType(_this)._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._HashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._HashSet__newHashTable() : nums, element); + } else + return _this._add$1(0, element); }, - get$message: function(receiver) { - return this.message; - } - }; - P.ConcurrentModificationError.prototype = { - toString$0: function(_) { - var t1 = this.modifiedObject; - if (t1 == null) - return "Concurrent modification during iteration."; - return "Concurrent modification during iteration: " + P.Error_safeToString(t1) + "."; - } - }; - P.OutOfMemoryError.prototype = { - toString$0: function(_) { - return "Out of Memory"; + _add$1(_, element) { + var rest, hash, bucket, _this = this; + A._instanceType(_this)._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._HashSet__newHashTable(); + hash = _this._computeHashCode$1(element); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [element]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(element); + } + ++_this._collection$_length; + _this._elements = null; + return true; }, - get$stackTrace: function() { - return null; + addAll$1(_, objects) { + var t1; + for (t1 = J.get$iterator$ax(A._instanceType(this)._eval$1("Iterable<1>")._as(objects)); t1.moveNext$0();) + this.add$1(0, t1.get$current(t1)); }, - $isError: 1 - }; - P.StackOverflowError.prototype = { - toString$0: function(_) { - return "Stack Overflow"; + remove$1(_, object) { + var _this = this; + if (typeof object == "string" && object !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); + else if (typeof object == "number" && (object & 1073741823) === object) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + else + return _this._remove$1(0, object); }, - get$stackTrace: function() { - return null; + _remove$1(_, object) { + var hash, bucket, index, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return false; + hash = _this._computeHashCode$1(object); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + --_this._collection$_length; + _this._elements = null; + bucket.splice(index, 1); + if (0 === bucket.length) + delete rest[hash]; + return true; }, - $isError: 1 - }; - P.CyclicInitializationError.prototype = { - toString$0: function(_) { - var variableName = this.variableName; - return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + variableName + "' during its initialization"; - } - }; - P._Exception.prototype = { - toString$0: function(_) { - return "Exception: " + this.message; + clear$0(_) { + var _this = this; + if (_this._collection$_length > 0) { + _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._elements = null; + _this._collection$_length = 0; + } }, - $isException: 1, - get$message: function(receiver) { - return this.message; - } - }; - P.FormatException.prototype = { - toString$0: function(_) { - var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice, - message = this.message, - report = message != null && "" !== message ? "FormatException: " + H.S(message) : "FormatException", - offset = this.offset, - source = this.source; - if (typeof source == "string") { - if (offset != null) - t1 = offset < 0 || offset > source.length; - else - t1 = false; - if (t1) - offset = null; - if (offset == null) { - if (source.length > 78) - source = C.JSString_methods.substring$2(source, 0, 75) + "..."; - return report + "\n" + source; - } - for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { - char = C.JSString_methods._codeUnitAt$1(source, i); - if (char === 10) { - if (lineStart !== i || !previousCharWasCR) - ++lineNum; - lineStart = i + 1; - previousCharWasCR = false; - } else if (char === 13) { - ++lineNum; - lineStart = i + 1; - previousCharWasCR = true; - } + _computeElements$0() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._elements; + if (result != null) + return result; + result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; } - report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); - lineEnd = source.length; - for (i = offset; i < lineEnd; ++i) { - char = C.JSString_methods.codeUnitAt$1(source, i); - if (char === 10 || char === 13) { - lineEnd = i; - break; - } + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; } - if (lineEnd - lineStart > 78) - if (offset - lineStart < 75) { - end = lineStart + 75; - start = lineStart; - prefix = ""; - postfix = "..."; - } else { - if (lineEnd - offset < 75) { - start = lineEnd - 75; - end = lineEnd; - postfix = ""; - } else { - start = offset - 36; - end = offset + 36; - postfix = "..."; - } - prefix = "..."; + } + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; ++i0) { + result[index] = bucket[i0]; + ++index; } - else { - end = lineEnd; - start = lineStart; - prefix = ""; - postfix = ""; } - slice = C.JSString_methods.substring$2(source, start, end); - return report + prefix + slice + postfix + "\n" + C.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; + } + return _this._elements = result; + }, + _collection$_addHashTableEntry$2(table, element) { + A._instanceType(this)._precomputed1._as(element); + if (table[element] != null) + return false; + table[element] = 0; + ++this._collection$_length; + this._elements = null; + return true; + }, + _collection$_removeHashTableEntry$2(table, element) { + if (table != null && table[element] != null) { + delete table[element]; + --this._collection$_length; + this._elements = null; + return true; } else - return offset != null ? report + (" (at offset " + H.S(offset) + ")") : report; + return false; }, - $isException: 1, - get$message: function(receiver) { - return this.message; + _computeHashCode$1(element) { + return J.get$hashCode$(element) & 1073741823; }, - get$source: function(receiver) { - return this.source; + _findBucketIndex$2(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i], element)) + return i; + return -1; }, - get$offset: function(receiver) { - return this.offset; - } + $isHashSet: 1 }; - P.IntegerDivisionByZeroException.prototype = { - toString$0: function(_) { - return "IntegerDivisionByZeroException"; + A._HashSetIterator.prototype = { + get$current(_) { + return this._collection$_current; }, - $isException: 1 - }; - P.Expando.prototype = { - $index: function(_, object) { - var values, - t1 = this._jsWeakMapOrKey; - if (typeof t1 != "string") { - if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") - H.throwExpression(P.ArgumentError$value(object, "Expandos are not allowed on strings, numbers, booleans or null", null)); - return t1.get(object); - } - values = H.Primitives_getProperty(object, "expando$values"); - t1 = values == null ? null : H.Primitives_getProperty(values, t1); - return this.$ti._eval$1("1?")._as(t1); - }, - $indexSet: function(_, object, value) { - var t1, values, - _s14_ = "expando$values"; - this.$ti._eval$1("1?")._as(value); - t1 = this._jsWeakMapOrKey; - if (typeof t1 != "string") - t1.set(object, value); - else { - values = H.Primitives_getProperty(object, _s14_); - if (values == null) { - values = new P.Object(); - H.Primitives_setProperty(object, _s14_, values); - } - H.Primitives_setProperty(values, t1, value); + moveNext$0() { + var _this = this, + elements = _this._elements, + offset = _this._collection$_offset, + t1 = _this._collection$_set; + if (elements !== t1._elements) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (offset >= elements.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(elements[offset]); + _this._collection$_offset = offset + 1; + return true; } }, - toString$0: function(_) { - return "Expando:" + H.S(this.name); - } - }; - P.Iterable.prototype = { - cast$1$0: function(_, $R) { - return H.CastIterable_CastIterable(this, H._instanceType(this)._eval$1("Iterable.E"), $R); - }, - map$1$1: function(_, f, $T) { - var t1 = H._instanceType(this); - return H.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(f), t1._eval$1("Iterable.E"), $T); + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + $isIterator: 1 + }; + A._LinkedHashSet.prototype = { + _newSet$0() { + return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>")); }, - where$1: function(_, test) { - var t1 = H._instanceType(this); - return new H.WhereIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("WhereIterable")); + _newSimilarSet$1$0($R) { + return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>")); }, - whereType$1$0: function(_, $T) { - return new H.WhereTypeIterable(this, $T._eval$1("WhereTypeIterable<0>")); + _newSimilarSet$0() { + return this._newSimilarSet$1$0(type$.dynamic); }, - expand$1$1: function(_, f, $T) { - var t1 = H._instanceType(this); - return new H.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(Iterable.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + get$iterator(_) { + var _this = this, + t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>")); + t1._collection$_cell = _this._collection$_first; + return t1; }, - contains$1: function(_, element) { - var t1; - for (t1 = this.get$iterator(this); t1.moveNext$0();) - if (J.$eq$(t1.get$current(t1), element)) - return true; - return false; + get$length(_) { + return this._collection$_length; }, - forEach$1: function(_, f) { - var t1; - H._instanceType(this)._eval$1("~(Iterable.E)")._as(f); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - f.call$1(t1.get$current(t1)); + get$isEmpty(_) { + return this._collection$_length === 0; }, - fold$1$2: function(_, initialValue, combine, $T) { - var t1, value; - $T._as(initialValue); - H._instanceType(this)._bind$1($T)._eval$1("1(1,Iterable.E)")._as(combine); - for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();) - value = combine.call$2(value, t1.get$current(t1)); - return value; + get$isNotEmpty(_) { + return this._collection$_length !== 0; }, - every$1: function(_, test) { - var t1; - H._instanceType(this)._eval$1("bool(Iterable.E)")._as(test); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - if (!H.boolConversionCheck(test.call$1(t1.get$current(t1)))) + contains$1(_, object) { + var strings, nums; + if (typeof object == "string" && object !== "__proto__") { + strings = this._collection$_strings; + if (strings == null) return false; - return true; - }, - join$1: function(_, separator) { - var t1, - iterator = this.get$iterator(this); - if (!iterator.moveNext$0()) - return ""; - if (separator === "") { - t1 = ""; - do - t1 += H.S(J.toString$0$(iterator.get$current(iterator))); - while (iterator.moveNext$0()); - } else { - t1 = H.S(J.toString$0$(iterator.get$current(iterator))); - for (; iterator.moveNext$0();) - t1 = t1 + separator + H.S(J.toString$0$(iterator.get$current(iterator))); - } - return t1.charCodeAt(0) == 0 ? t1 : t1; + return type$.nullable__LinkedHashSetCell._as(strings[object]) != null; + } else if (typeof object == "number" && (object & 1073741823) === object) { + nums = this._collection$_nums; + if (nums == null) + return false; + return type$.nullable__LinkedHashSetCell._as(nums[object]) != null; + } else + return this._contains$1(object); }, - any$1: function(_, test) { - var t1; - H._instanceType(this)._eval$1("bool(Iterable.E)")._as(test); - for (t1 = this.get$iterator(this); t1.moveNext$0();) - if (H.boolConversionCheck(test.call$1(t1.get$current(t1)))) - return true; - return false; + _contains$1(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; }, - toList$1$growable: function(_, growable) { - return P.List_List$of(this, growable, H._instanceType(this)._eval$1("Iterable.E")); + forEach$1(_, action) { + var cell, modifications, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1)")._as(action); + cell = _this._collection$_first; + modifications = _this._collection$_modifications; + for (t1 = t1._precomputed1; cell != null;) { + action.call$1(t1._as(cell._element)); + if (modifications !== _this._collection$_modifications) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + cell = cell._collection$_next; + } }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + get$first(_) { + var first = this._collection$_first; + if (first == null) + throw A.wrapException(A.StateError$("No elements")); + return A._instanceType(this)._precomputed1._as(first._element); }, - toSet$0: function(_) { - var t1 = P.LinkedHashSet_LinkedHashSet(H._instanceType(this)._eval$1("Iterable.E")); - t1.addAll$1(0, this); - return t1; + get$last(_) { + var last = this._collection$_last; + if (last == null) + throw A.wrapException(A.StateError$("No elements")); + return A._instanceType(this)._precomputed1._as(last._element); }, - get$length: function(_) { - var count, - it = this.get$iterator(this); - for (count = 0; it.moveNext$0();) - ++count; - return count; + add$1(_, element) { + var strings, nums, _this = this; + A._instanceType(_this)._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element); + } else + return _this._add$1(0, element); }, - get$isEmpty: function(_) { - return !this.get$iterator(this).moveNext$0(); + _add$1(_, element) { + var rest, hash, bucket, _this = this; + A._instanceType(_this)._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._LinkedHashSet__newHashTable(); + hash = _this._computeHashCode$1(element); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._collection$_newLinkedCell$1(element)]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(_this._collection$_newLinkedCell$1(element)); + } + return true; }, - get$isNotEmpty: function(_) { - return !this.get$isEmpty(this); + remove$1(_, object) { + var _this = this; + if (typeof object == "string" && object !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); + else if (typeof object == "number" && (object & 1073741823) === object) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + else + return _this._remove$1(0, object); }, - take$1: function(_, count) { - return H.TakeIterable_TakeIterable(this, count, H._instanceType(this)._eval$1("Iterable.E")); + _remove$1(_, object) { + var hash, bucket, index, cell, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return false; + hash = _this._computeHashCode$1(object); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + cell = bucket.splice(index, 1)[0]; + if (0 === bucket.length) + delete rest[hash]; + _this._collection$_unlinkCell$1(cell); + return true; }, - skip$1: function(_, count) { - return H.SkipIterable_SkipIterable(this, count, H._instanceType(this)._eval$1("Iterable.E")); + removeWhere$1(_, test) { + this._filterWhere$2(A._instanceType(this)._eval$1("bool(1)")._as(test), true); }, - skipWhile$1: function(_, test) { - var t1 = H._instanceType(this); - return new H.SkipWhileIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("SkipWhileIterable")); + _filterWhere$2(test, removeMatching) { + var cell, element, next, modifications, t2, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("bool(1)")._as(test); + cell = _this._collection$_first; + for (t1 = t1._precomputed1; cell != null; cell = next) { + element = t1._as(cell._element); + next = cell._collection$_next; + modifications = _this._collection$_modifications; + t2 = test.call$1(element); + if (modifications !== _this._collection$_modifications) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + if (true === t2) + _this.remove$1(0, element); + } }, - get$first: function(_) { - var it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - return it.get$current(it); + clear$0(_) { + var _this = this; + if (_this._collection$_length > 0) { + _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_first = _this._collection$_last = null; + _this._collection$_length = 0; + _this._collection$_modified$0(); + } }, - get$last: function(_) { - var result, - it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - do - result = it.get$current(it); - while (it.moveNext$0()); - return result; + _collection$_addHashTableEntry$2(table, element) { + A._instanceType(this)._precomputed1._as(element); + if (type$.nullable__LinkedHashSetCell._as(table[element]) != null) + return false; + table[element] = this._collection$_newLinkedCell$1(element); + return true; }, - get$single: function(_) { - var result, - it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - result = it.get$current(it); - if (it.moveNext$0()) - throw H.wrapException(H.IterableElementError_tooMany()); - return result; + _collection$_removeHashTableEntry$2(table, element) { + var cell; + if (table == null) + return false; + cell = type$.nullable__LinkedHashSetCell._as(table[element]); + if (cell == null) + return false; + this._collection$_unlinkCell$1(cell); + delete table[element]; + return true; }, - firstWhere$2$orElse: function(_, test, orElse) { - var element, - t1 = H._instanceType(this); - t1._eval$1("bool(Iterable.E)")._as(test); - t1._eval$1("Iterable.E()?")._as(orElse); - for (t1 = this.get$iterator(this); t1.moveNext$0();) { - element = t1.get$current(t1); - if (H.boolConversionCheck(test.call$1(element))) - return element; - } - throw H.wrapException(H.IterableElementError_noElement()); + _collection$_modified$0() { + this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; }, - elementAt$1: function(_, index) { - var t1, elementIndex, element; - P.RangeError_checkNotNegative(index, "index"); - for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { - element = t1.get$current(t1); - if (index === elementIndex) - return element; - ++elementIndex; + _collection$_newLinkedCell$1(element) { + var t1, _this = this, + cell = new A._LinkedHashSetCell(A._instanceType(_this)._precomputed1._as(element)); + if (_this._collection$_first == null) + _this._collection$_first = _this._collection$_last = cell; + else { + t1 = _this._collection$_last; + t1.toString; + cell._collection$_previous = t1; + _this._collection$_last = t1._collection$_next = cell; } - throw H.wrapException(P.IndexError$(index, this, "index", null, elementIndex)); + ++_this._collection$_length; + _this._collection$_modified$0(); + return cell; }, - toString$0: function(_) { - return P.IterableBase_iterableToShortString(this, "(", ")"); - } - }; - P.Iterator.prototype = {}; - P.MapEntry.prototype = { - toString$0: function(_) { - return "MapEntry(" + H.S(this.key) + ": " + H.S(this.value) + ")"; + _collection$_unlinkCell$1(cell) { + var _this = this, + previous = cell._collection$_previous, + next = cell._collection$_next; + if (previous == null) + _this._collection$_first = next; + else + previous._collection$_next = next; + if (next == null) + _this._collection$_last = previous; + else + next._collection$_previous = previous; + --_this._collection$_length; + _this._collection$_modified$0(); }, - get$value: function(receiver) { - return this.value; - } - }; - P.Null.prototype = { - get$hashCode: function(_) { - return P.Object.prototype.get$hashCode.call(C.JSNull_methods, this); + _computeHashCode$1(element) { + return J.get$hashCode$(element) & 1073741823; }, - toString$0: function(_) { - return "null"; - } + _findBucketIndex$2(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i]._element, element)) + return i; + return -1; + }, + $isLinkedHashSet: 1 }; - P.Object.prototype = {constructor: P.Object, $isObject: 1, - $eq: function(_, other) { - return this === other; + A._LinkedHashSetCell.prototype = {}; + A._LinkedHashSetIterator.prototype = { + get$current(_) { + return this._collection$_current; }, - get$hashCode: function(_) { - return H.Primitives_objectHashCode(this); + moveNext$0() { + var _this = this, + cell = _this._collection$_cell, + t1 = _this._collection$_set; + if (_this._collection$_modifications !== t1._collection$_modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (cell == null) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(_this.$ti._eval$1("1?")._as(cell._element)); + _this._collection$_cell = cell._collection$_next; + return true; + } }, - toString$0: function(_) { - return "Instance of '" + H.S(H.Primitives_objectTypeName(this)) + "'"; + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); }, - noSuchMethod$1: function(_, invocation) { - type$.Invocation._as(invocation); - throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + $isIterator: 1 + }; + A.UnmodifiableListView.prototype = { + cast$1$0(_, $R) { + return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>")); }, - get$runtimeType: function(_) { - return H.getRuntimeType(this); + get$length(_) { + return J.get$length$asx(this._collection$_source); }, - toString: function() { - return this.toString$0(this); + $index(_, index) { + return J.elementAt$1$ax(this._collection$_source, A._asIntS(index)); + } + }; + A.IterableBase.prototype = {}; + A.LinkedHashMap_LinkedHashMap$from_closure.prototype = { + call$2(k, v) { + this.result.$indexSet(0, this.K._as(k), this.V._as(v)); }, - call$1: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1", 0, [$0], [], 0)); + $signature: 42 + }; + A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; + A.ListMixin.prototype = { + get$iterator(receiver) { + return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); }, - call$2: function($0, $1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2", 0, [$0, $1], [], 0)); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - call$0: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$0", 0, [], [], 0)); + forEach$1(receiver, action) { + var $length, i; + A.instanceType(receiver)._eval$1("~(ListMixin.E)")._as(action); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) { + action.call$1(this.$index(receiver, i)); + if ($length !== this.get$length(receiver)) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } }, - call$3: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3", 0, [$0, $1, $2], [], 0)); + get$isEmpty(receiver) { + return this.get$length(receiver) === 0; }, - call$1$1: function($0, $T1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$1", 0, [$0, $T1], [], 1)); + get$isNotEmpty(receiver) { + return !this.get$isEmpty(receiver); }, - call$1$growable: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$growable", 0, [$0], ["growable"], 0)); + get$first(receiver) { + if (this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + return this.$index(receiver, 0); }, - call$1$2: function($0, $1, $T1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$2", 0, [$0, $1, $T1], [], 1)); + get$last(receiver) { + var t1; + if (this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + return this.$index(receiver, t1 - 1); }, - call$4: function($0, $1, $2, $3) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4", 0, [$0, $1, $2, $3], [], 0)); + get$single(receiver) { + var t1; + if (this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw A.wrapException(A.IterableElementError_tooMany()); + return this.$index(receiver, 0); }, - call$2$1: function($0, $T1, $T2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$1", 0, [$0, $T1, $T2], [], 2)); + contains$1(receiver, element) { + var i, + $length = this.get$length(receiver); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) { + if (J.$eq$(this.$index(receiver, i), element)) + return true; + if ($length !== this.get$length(receiver)) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + return false; }, - call$4$cancelOnError$onDone$onError: function($0, $1, $2, $3) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4$cancelOnError$onDone$onError", 0, [$0, $1, $2, $3], ["cancelOnError", "onDone", "onError"], 0)); + lastWhere$2$orElse(receiver, test, orElse) { + var $length, i, element, + t1 = A.instanceType(receiver); + t1._eval$1("bool(ListMixin.E)")._as(test); + t1._eval$1("ListMixin.E()?")._as(orElse); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return $length.$sub(); + i = $length - 1; + for (; i >= 0; --i) { + element = this.$index(receiver, i); + if (A.boolConversionCheck(test.call$1(element))) + return element; + if ($length !== this.get$length(receiver)) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + if (orElse != null) + return orElse.call$0(); + throw A.wrapException(A.IterableElementError_noElement()); }, - call$3$bridgeFactory$skipMethods: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$bridgeFactory$skipMethods", 0, [$0, $1, $2], ["bridgeFactory", "skipMethods"], 0)); + join$1(receiver, separator) { + var t1; + if (this.get$length(receiver) === 0) + return ""; + t1 = A.StringBuffer__writeAll("", receiver, separator); + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - call$1$2$onError: function($0, $1, $T1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$2$onError", 0, [$0, $1, $T1], ["onError"], 1)); + where$1(receiver, test) { + var t1 = A.instanceType(receiver); + return new A.WhereIterable(receiver, t1._eval$1("bool(ListMixin.E)")._as(test), t1._eval$1("WhereIterable")); }, - call$8: function($0, $1, $2, $3, $4, $5, $6, $7) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$8", 0, [$0, $1, $2, $3, $4, $5, $6, $7], [], 0)); + map$1$1(receiver, f, $T) { + var t1 = A.instanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - call$3$address$substrand: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$address$substrand", 0, [$0, $1, $2], ["address", "substrand"], 0)); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - call$4$address$substrand$type: function($0, $1, $2, $3) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4$address$substrand$type", 0, [$0, $1, $2, $3], ["address", "substrand", "type"], 0)); + skip$1(receiver, count) { + return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E")); }, - call$7: function($0, $1, $2, $3, $4, $5, $6) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$7", 0, [$0, $1, $2, $3, $4, $5, $6], [], 0)); + take$1(receiver, count) { + return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E")); }, - call$12: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$12", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11], [], 0)); + toList$1$growable(receiver, growable) { + var t1, first, result, i, _this = this; + if (_this.get$isEmpty(receiver)) { + t1 = A.instanceType(receiver)._eval$1("ListMixin.E"); + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + first = _this.$index(receiver, 0); + result = A.List_List$filled(_this.get$length(receiver), first, growable, A.instanceType(receiver)._eval$1("ListMixin.E")); + i = 1; + while (true) { + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return A.iae(t1); + if (!(i < t1)) + break; + B.JSArray_methods.$indexSet(result, i, _this.$index(receiver, i)); + ++i; + } + return result; }, - call$16: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$16", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15], [], 0)); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - call$18: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$18", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17], [], 0)); + toSet$0(receiver) { + var t1, + result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E")), + i = 0; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return A.iae(t1); + if (!(i < t1)) + break; + result.add$1(0, this.$index(receiver, i)); + ++i; + } + return result; }, - call$10: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$10", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9], [], 0)); + add$1(receiver, element) { + var t1; + A.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$add(); + this.set$length(receiver, t1 + 1); + this.$indexSet(receiver, t1, element); }, - call$15: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$15", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14], [], 0)); + addAll$1(receiver, iterable) { + var i, t1, t2; + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + i = this.get$length(receiver); + for (t1 = J.get$iterator$ax(iterable._source), t2 = A._instanceType(iterable), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0();) { + this.add$1(receiver, t2._as(t1.get$current(t1))); + if (typeof i !== "number") + return i.$add(); + ++i; + } }, - call$1$mouse_pos: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$mouse_pos", 0, [$0], ["mouse_pos"], 0)); + remove$1(receiver, element) { + var t1, i = 0; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return A.iae(t1); + if (!(i < t1)) + break; + if (J.$eq$(this.$index(receiver, i), element)) { + this._closeGap$2(receiver, i, i + 1); + return true; + } + ++i; + } + return false; }, - call$1$event: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$event", 0, [$0], ["event"], 0)); + _closeGap$2(receiver, start, end) { + var i, _this = this, + $length = _this.get$length(receiver), + size = end - start; + if (typeof $length !== "number") + return A.iae($length); + i = end; + for (; i < $length; ++i) + _this.$indexSet(receiver, i - size, _this.$index(receiver, i)); + _this.set$length(receiver, $length - size); }, - call$1$suppress_indent: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$suppress_indent", 0, [$0], ["suppress_indent"], 0)); + removeWhere$1(receiver, test) { + this._collection$_filter$2(receiver, A.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test), false); }, - call$3$specifiedType: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$specifiedType", 0, [$0, $1, $2], ["specifiedType"], 0)); + _collection$_filter$2(receiver, test, retainMatching) { + var retained, $length, i, element, _this = this, + t1 = A.instanceType(receiver); + t1._eval$1("bool(ListMixin.E)")._as(test); + retained = A._setArrayType([], t1._eval$1("JSArray")); + $length = _this.get$length(receiver); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) { + element = _this.$index(receiver, i); + if (J.$eq$(test.call$1(element), false)) + B.JSArray_methods.add$1(retained, element); + if ($length !== _this.get$length(receiver)) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + if (retained.length !== _this.get$length(receiver)) { + _this.setRange$3(receiver, 0, retained.length, retained); + _this.set$length(receiver, retained.length); + } }, - call$2$0: function($T1, $T2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$0", 0, [$T1, $T2], [], 2)); + cast$1$0(receiver, $R) { + return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); }, - call$3$onDone$onError: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$onDone$onError", 0, [$0, $1, $2], ["onDone", "onError"], 0)); + removeLast$0(receiver) { + var t1, result, _this = this; + if (_this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + result = _this.$index(receiver, t1 - 1); + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + _this.set$length(receiver, t1 - 1); + return result; }, - call$1$end: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$end", 0, [$0], ["end"], 0)); + sort$1(receiver, compare) { + var t2, + t1 = A.instanceType(receiver); + t1._eval$1("int(ListMixin.E,ListMixin.E)?")._as(compare); + t2 = compare == null ? A.collection_ListMixin__compareAny$closure() : compare; + A.Sort_sort(receiver, t2, t1._eval$1("ListMixin.E")); }, - call$1$text: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$text", 0, [$0], ["text"], 0)); + sort$0($receiver) { + return this.sort$1($receiver, null); }, - call$1$line: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$line", 0, [$0], ["line"], 0)); + $add(receiver, other) { + var t1 = A.instanceType(receiver); + t1._eval$1("List")._as(other); + t1 = A.List_List$of(receiver, true, t1._eval$1("ListMixin.E")); + B.JSArray_methods.addAll$1(t1, other); + return t1; }, - call$2$withDrive: function($0, $1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$withDrive", 0, [$0, $1], ["withDrive"], 0)); + sublist$2(receiver, start, end) { + var listLength = this.get$length(receiver); + if (end == null) + end = listLength; + if (end == null) + throw A.wrapException("!"); + A.RangeError_checkValidRange(start, end, listLength); + return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E")); }, - call$3$length$position: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$length$position", 0, [$0, $1, $2], ["length", "position"], 0)); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - call$3$async: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$async", 0, [$0, $1, $2], ["async"], 0)); + getRange$2(receiver, start, end) { + A.RangeError_checkValidRange(start, end, this.get$length(receiver)); + return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E")); }, - call$2$orElse: function($0, $1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$orElse", 0, [$0, $1], ["orElse"], 0)); + fillRange$3(receiver, start, end, fill) { + var i; + A.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + A.RangeError_checkValidRange(start, end, this.get$length(receiver)); + for (i = start; i < end; ++i) + this.$indexSet(receiver, i, fill); }, - call$1$0: function($T1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$0", 0, [$T1], [], 1)); + setRange$4(receiver, start, end, iterable, skipCount) { + var t1, $length, otherStart, otherList, t2, i; + A._asIntS(end); + t1 = A.instanceType(receiver); + t1._eval$1("Iterable")._as(iterable); + A.RangeError_checkValidRange(start, end, this.get$length(receiver)); + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length === 0) + return; + A.RangeError_checkNotNegative(skipCount, "skipCount"); + if (t1._eval$1("List")._is(iterable)) { + otherStart = skipCount; + otherList = iterable; + } else { + otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); + otherStart = 0; + } + t1 = J.getInterceptor$asx(otherList); + t2 = t1.get$length(otherList); + if (typeof t2 !== "number") + return A.iae(t2); + if (otherStart + $length > t2) + throw A.wrapException(A.IterableElementError_tooFew()); + if (otherStart < start) + for (i = $length - 1; i >= 0; --i) + this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); + else + for (i = 0; i < $length; ++i) + this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); }, - call$2$namespace: function($0, $1) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$namespace", 0, [$0, $1], ["namespace"], 0)); + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - call$3$cancelOnError$onDone: function($0, $1, $2) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$cancelOnError$onDone", 0, [$0, $1, $2], ["cancelOnError", "onDone"], 0)); + indexOf$2(receiver, element, start) { + var t1, + i = start; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return A.iae(t1); + if (!(i < t1)) + break; + if (J.$eq$(this.$index(receiver, i), element)) + return i; + ++i; + } + return -1; }, - call$1$size: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$size", 0, [$0], ["size"], 0)); + insert$2(receiver, index, element) { + var $length, _this = this; + A.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + A.checkNotNullable(index, "index", type$.int); + $length = _this.get$length(receiver); + A.RangeError_checkValueInInterval(index, 0, $length, "index"); + _this.add$1(receiver, element); + if (index !== $length) { + if (typeof $length !== "number") + return $length.$add(); + _this.setRange$4(receiver, index + 1, $length + 1, receiver, index); + _this.$indexSet(receiver, index, element); + } }, - $indexSet: function($receiver, $0, $1) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("[]=", "$indexSet", 0, [$0, $1], [], 0)); + removeAt$1(receiver, index) { + var result = this.$index(receiver, index); + this._closeGap$2(receiver, index, index + 1); + return result; }, - $index: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("[]", "$index", 0, [$0], [], 0)); + insertAll$2(receiver, index, iterable) { + var t1, insertionLength, oldLength, i, oldCopyStart, _this = this; + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + A.RangeError_checkValueInInterval(index, 0, _this.get$length(receiver), "index"); + if (index === _this.get$length(receiver)) { + _this.addAll$1(receiver, iterable); + return; + } + if (!type$.EfficientLengthIterable_dynamic._is(iterable) || false) + iterable = A.List_List$of(iterable, true, A._instanceType(iterable)._eval$1("Iterable.E")); + t1 = J.getInterceptor$asx(iterable); + insertionLength = t1.get$length(iterable); + if (insertionLength === 0) + return; + oldLength = _this.get$length(receiver); + if (typeof oldLength !== "number") + return oldLength.$sub(); + if (typeof insertionLength !== "number") + return A.iae(insertionLength); + i = oldLength - insertionLength; + for (; i < oldLength; ++i) + _this.add$1(receiver, _this.$index(receiver, i > 0 ? i : 0)); + if (t1.get$length(iterable) !== insertionLength) { + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + _this.set$length(receiver, t1 - insertionLength); + throw A.wrapException(A.ConcurrentModificationError$(iterable)); + } + oldCopyStart = index + insertionLength; + if (oldCopyStart < oldLength) + _this.setRange$4(receiver, oldCopyStart, oldLength, receiver, index); + _this.setAll$2(receiver, index, iterable); }, - add$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("add", "add$1", 0, [$0], [], 0)); + setAll$2(receiver, index, iterable) { + var t1, index0; + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + if (type$.List_dynamic._is(iterable)) + this.setRange$3(receiver, index, index + iterable.length, iterable); + else + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0(); index = index0) { + index0 = index + 1; + this.$indexSet(receiver, index, t1.get$current(t1)); + } }, - map$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("map", "map$1", 0, [$0], [], 0)); + get$reversed(receiver) { + return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable")); }, - compareTo$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("compareTo", "compareTo$1", 0, [$0], [], 0)); + toString$0(receiver) { + return A.IterableBase_iterableToFullString(receiver, "[", "]"); + } + }; + A.MapBase.prototype = {}; + A.MapBase_mapToString_closure.prototype = { + call$2(k, v) { + var t2, + t1 = this._box_0; + if (!t1.first) + this.result._contents += ", "; + t1.first = false; + t1 = this.result; + t2 = t1._contents += A.S(k); + t1._contents = t2 + ": "; + t1._contents += A.S(v); }, - containsKey$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("containsKey", "containsKey$1", 0, [$0], [], 0)); + $signature: 89 + }; + A.MapMixin.prototype = { + cast$2$0(receiver, RK, RV) { + var t1 = A.instanceType(receiver); + return A.Map_castFrom(receiver, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV); }, - remove$0: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("remove", "remove$0", 0, [], [], 0)); + forEach$1(receiver, action) { + var t1, key; + A.instanceType(receiver)._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + action.call$2(key, this.$index(receiver, key)); + } }, - substring$2: function($receiver, $0, $1) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("substring", "substring$2", 0, [$0, $1], [], 0)); + addAll$1(receiver, other) { + J.forEach$1$ax(A.instanceType(receiver)._eval$1("Map")._as(other), new A.MapMixin_addAll_closure(receiver)); }, - substring$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("substring", "substring$1", 0, [$0], [], 0)); + get$entries(receiver) { + return J.map$1$1$ax(this.get$keys(receiver), new A.MapMixin_entries_closure(receiver), A.instanceType(receiver)._eval$1("MapEntry")); }, - setRange$3: function($receiver, $0, $1, $2) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("setRange", "setRange$3", 0, [$0, $1, $2], [], 0)); + map$2$1(receiver, transform, K2, V2) { + var result, t1, key, entry; + A.instanceType(receiver)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); + result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + entry = transform.call$2(key, this.$index(receiver, key)); + result.$indexSet(0, entry.key, entry.value); + } + return result; }, - setState$1: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("setState", "setState$1", 0, [$0], [], 0)); + map$1($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, - preventDefault$0: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("preventDefault", "preventDefault$0", 0, [], [], 0)); + addEntries$1(receiver, newEntries) { + var t1, t2; + A.instanceType(receiver)._eval$1("Iterable>")._as(newEntries); + for (t1 = newEntries.get$iterator(newEntries); t1.moveNext$0();) { + t2 = t1.get$current(t1); + this.$indexSet(receiver, t2.key, t2.value); + } }, - stopPropagation$0: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("stopPropagation", "stopPropagation$0", 0, [], [], 0)); + removeWhere$1(receiver, test) { + var keysToRemove, key, _i, + t1 = A.instanceType(receiver); + t1._eval$1("bool(MapMixin.K,MapMixin.V)")._as(test); + keysToRemove = A._setArrayType([], t1._eval$1("JSArray")); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + if (A.boolConversionCheck(test.call$2(key, this.$index(receiver, key)))) + B.JSArray_methods.add$1(keysToRemove, key); + } + for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i) + this.remove$1(receiver, keysToRemove[_i]); }, - toLowerCase$0: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("toLowerCase", "toLowerCase$0", 0, [], [], 0)); + containsKey$1(receiver, key) { + return J.contains$1$asx(this.get$keys(receiver), key); }, - _initKeyboardEvent$10: function($receiver, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("_initKeyboardEvent", "_initKeyboardEvent$10", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9], [], 0)); + get$length(receiver) { + return J.get$length$asx(this.get$keys(receiver)); }, - toJson$0: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("toJson", "toJson$0", 0, [], [], 0)); + get$isEmpty(receiver) { + return J.get$isEmpty$asx(this.get$keys(receiver)); }, - cast$1$0: function($receiver, $T1) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("cast", "cast$1$0", 0, [$T1], [], 1)); + get$isNotEmpty(receiver) { + return J.get$isNotEmpty$asx(this.get$keys(receiver)); }, - _throwNoParent$0: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("_throwNoParent", "_throwNoParent$0", 0, [], [], 0)); + get$values(receiver) { + var t1 = A.instanceType(receiver); + return new A._MapBaseValueIterable(receiver, t1._eval$1("@")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>")); }, - $sub: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("-", "$sub", 0, [$0], [], 0)); + toString$0(receiver) { + return A.MapBase_mapToString(receiver); }, - get$length: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("length", "get$length", 1, [], [], 0)); + $isMap: 1 + }; + A.MapMixin_addAll_closure.prototype = { + call$2(key, value) { + var t1 = this.$this, + t2 = A.instanceType(t1); + J.$indexSet$ax(t1, t2._eval$1("MapMixin.K")._as(key), t2._eval$1("MapMixin.V")._as(value)); }, - get$keys: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("keys", "get$keys", 1, [], [], 0)); + $signature() { + return A.instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)"); + } + }; + A.MapMixin_entries_closure.prototype = { + call$1(key) { + var t1 = this.$this, + t2 = A.instanceType(t1); + t2._eval$1("MapMixin.K")._as(key); + return new A.MapEntry(key, J.$index$asx(t1, key), t2._eval$1("@")._bind$1(t2._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>")); }, - get$iterator: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("iterator", "get$iterator", 1, [], [], 0)); + $signature() { + return A.instanceType(this.$this)._eval$1("MapEntry(MapMixin.K)"); + } + }; + A._MapBaseValueIterable.prototype = { + get$length(_) { + return J.get$length$asx(this._collection$_map); }, - get$current: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("current", "get$current", 1, [], [], 0)); + get$isEmpty(_) { + return J.get$isEmpty$asx(this._collection$_map); }, - get$state: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("state", "get$state", 1, [], [], 0)); + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this._collection$_map); }, - get$offset: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("offset", "get$offset", 1, [], [], 0)); + get$first(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$first$ax(t2.get$keys(t1))); }, - get$cause: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("cause", "get$cause", 1, [], [], 0)); + get$single(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$single$ax(t2.get$keys(t1))); }, - get$message: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("message", "get$message", 1, [], [], 0)); + get$last(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$last$ax(t2.get$keys(t1))); }, - get$stackTrace: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("stackTrace", "get$stackTrace", 1, [], [], 0)); + get$iterator(_) { + var t1 = this._collection$_map, + t2 = this.$ti; + return new A._MapBaseValueIterator(J.get$iterator$ax(J.get$keys$x(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>")); + } + }; + A._MapBaseValueIterator.prototype = { + moveNext$0() { + var _this = this, + t1 = _this._collection$_keys; + if (t1.moveNext$0()) { + _this.set$_collection$_current(J.$index$asx(_this._collection$_map, t1.get$current(t1))); + return true; + } + _this.set$_collection$_current(null); + return false; }, - get$props: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("props", "get$props", 1, [], [], 0)); + get$current(_) { + return this._collection$_current; }, - get$componentFactory: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("componentFactory", "get$componentFactory", 1, [], [], 0)); + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("2?")._as(_current); }, - get$defaultProps: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("defaultProps", "get$defaultProps", 1, [], [], 0)); + $isIterator: 1 + }; + A._UnmodifiableMapMixin.prototype = { + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); }, - get$dartComponent: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponent", "get$dartComponent", 1, [], [], 0)); + remove$1(_, key) { + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); }, - get$context: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("context", "get$context", 1, [], [], 0)); + removeWhere$1(_, test) { + A._instanceType(this)._eval$1("bool(1,2)")._as(test); + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); + } + }; + A.MapView.prototype = { + cast$2$0(_, RK, RV) { + return J.cast$2$0$ax(this._collection$_map, RK, RV); }, - get$type: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("type", "get$type", 1, [], [], 0)); + $index(_, key) { + return J.$index$asx(this._collection$_map, key); }, - get$dartComponentVersion: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponentVersion", "get$dartComponentVersion", 1, [], [], 0)); + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - get$componentStack: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("componentStack", "get$componentStack", 1, [], [], 0)); + containsKey$1(_, key) { + return J.containsKey$1$x(this._collection$_map, key); }, - get$dartStackTrace: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartStackTrace", "get$dartStackTrace", 1, [], [], 0)); + forEach$1(_, action) { + J.forEach$1$ax(this._collection$_map, A._instanceType(this)._eval$1("~(1,2)")._as(action)); }, - get$hex: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("hex", "get$hex", 1, [], [], 0)); + get$isEmpty(_) { + return J.get$isEmpty$asx(this._collection$_map); }, - get$helices: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("helices", "get$helices", 1, [], [], 0)); + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this._collection$_map); }, - get$groups: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("groups", "get$groups", 1, [], [], 0)); + get$length(_) { + return J.get$length$asx(this._collection$_map); }, - get$geometry: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("geometry", "get$geometry", 1, [], [], 0)); + get$keys(_) { + return J.get$keys$x(this._collection$_map); }, - get$nativeEvent: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("nativeEvent", "get$nativeEvent", 1, [], [], 0)); + remove$1(_, key) { + return J.remove$1$ax(this._collection$_map, key); }, - get$button: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("button", "get$button", 1, [], [], 0)); + toString$0(_) { + return J.toString$0$(this._collection$_map); }, - get$shiftKey: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("shiftKey", "get$shiftKey", 1, [], [], 0)); + get$values(_) { + return J.get$values$x(this._collection$_map); }, - get$ctrlKey: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("ctrlKey", "get$ctrlKey", 1, [], [], 0)); + get$entries(_) { + return J.get$entries$x(this._collection$_map); }, - get$metaKey: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("metaKey", "get$metaKey", 1, [], [], 0)); + map$2$1(_, transform, K2, V2) { + return J.map$2$1$ax(this._collection$_map, A._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), K2, V2); }, - get$value: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("value", "get$value", 1, [], [], 0)); + map$1($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, - get$target: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("target", "get$target", 1, [], [], 0)); + removeWhere$1(_, test) { + J.removeWhere$1$ax(this._collection$_map, A._instanceType(this)._eval$1("bool(1,2)")._as(test)); }, - get$checked: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("checked", "get$checked", 1, [], [], 0)); + $isMap: 1 + }; + A.UnmodifiableMapView.prototype = { + cast$2$0(_, RK, RV) { + return new A.UnmodifiableMapView(J.cast$2$0$ax(this._collection$_map, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>")); + } + }; + A.ListQueue.prototype = { + cast$1$0(_, $R) { + return new A.CastQueue(this, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); }, - get$attributes: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("attributes", "get$attributes", 1, [], [], 0)); + get$iterator(_) { + var _this = this; + return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); }, - get$tagName: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("tagName", "get$tagName", 1, [], [], 0)); + forEach$1(_, f) { + var modificationCount, i, t1, _this = this; + _this.$ti._eval$1("~(1)")._as(f); + modificationCount = _this._modificationCount; + for (i = _this._head; i !== _this._tail; i = (i + 1 & _this._table.length - 1) >>> 0) { + t1 = _this._table; + if (!(i >= 0 && i < t1.length)) + return A.ioore(t1, i); + f.call$1(t1[i]); + if (modificationCount !== _this._modificationCount) + A.throwExpression(A.ConcurrentModificationError$(_this)); + } }, - get$jsThis: function() { - return this.noSuchMethod$1(this, H.createInvocationMirror("jsThis", "get$jsThis", 1, [], [], 0)); + get$isEmpty(_) { + return this._head === this._tail; }, - get$Provider: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("Provider", "get$Provider", 1, [], [], 0)); + get$length(_) { + return (this._tail - this._head & this._table.length - 1) >>> 0; }, - get$Consumer: function($receiver) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("Consumer", "get$Consumer", 1, [], [], 0)); + get$first(_) { + var t2, + t1 = this._head; + if (t1 === this._tail) + throw A.wrapException(A.IterableElementError_noElement()); + t2 = this._table; + if (!(t1 < t2.length)) + return A.ioore(t2, t1); + return t2[t1]; }, - set$displayName: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("displayName=", "set$displayName", 2, [$0], [], 0)); + get$last(_) { + var t3, + t1 = this._head, + t2 = this._tail; + if (t1 === t2) + throw A.wrapException(A.IterableElementError_noElement()); + t1 = this._table; + t3 = t1.length; + t2 = (t2 - 1 & t3 - 1) >>> 0; + if (!(t2 >= 0 && t2 < t3)) + return A.ioore(t1, t2); + return t1[t2]; }, - set$dartComponentVersion: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponentVersion=", "set$dartComponentVersion", 2, [$0], [], 0)); + get$single(_) { + var t1, t2, _this = this; + if (_this._head === _this._tail) + throw A.wrapException(A.IterableElementError_noElement()); + if (_this.get$length(_this) > 1) + throw A.wrapException(A.IterableElementError_tooMany()); + t1 = _this._table; + t2 = _this._head; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + return t1[t2]; }, - set$state: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("state=", "set$state", 2, [$0], [], 0)); + elementAt$1(_, index) { + var t1, t2, t3, _this = this; + A.IndexError_check(index, _this.get$length(_this), _this, null, null); + t1 = _this._table; + t2 = _this._head; + if (typeof index !== "number") + return A.iae(index); + t3 = t1.length; + t2 = (t2 + index & t3 - 1) >>> 0; + if (!(t2 >= 0 && t2 < t3)) + return A.ioore(t1, t2); + return t1[t2]; }, - set$dartStackTrace: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartStackTrace=", "set$dartStackTrace", 2, [$0], [], 0)); + toList$1$growable(_, growable) { + var t1, list, i, t2, _this = this, + mask = _this._table.length - 1, + $length = (_this._tail - _this._head & mask) >>> 0; + if ($length === 0) { + t1 = _this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + list = A.List_List$filled($length, _this.get$first(_this), growable, _this.$ti._precomputed1); + for (i = 0; i < $length; ++i) { + t1 = _this._table; + t2 = (_this._head + i & mask) >>> 0; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + B.JSArray_methods.$indexSet(list, i, t1[t2]); + } + return list; }, - set$areOwnPropsEqual: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("areOwnPropsEqual=", "set$areOwnPropsEqual", 2, [$0], [], 0)); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - set$areStatePropsEqual: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("areStatePropsEqual=", "set$areStatePropsEqual", 2, [$0], [], 0)); + add$1(_, value) { + this._add$1(0, this.$ti._precomputed1._as(value)); }, - set$areMergedPropsEqual: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("areMergedPropsEqual=", "set$areMergedPropsEqual", 2, [$0], [], 0)); + toString$0(_) { + return A.IterableBase_iterableToFullString(this, "{", "}"); }, - set$componentFactory: function($0) { - return this.noSuchMethod$1(this, H.createInvocationMirror("componentFactory=", "set$componentFactory", 2, [$0], [], 0)); + removeFirst$0() { + var t2, result, _this = this, + t1 = _this._head; + if (t1 === _this._tail) + throw A.wrapException(A.IterableElementError_noElement()); + ++_this._modificationCount; + t2 = _this._table; + if (!(t1 < t2.length)) + return A.ioore(t2, t1); + result = t2[t1]; + B.JSArray_methods.$indexSet(t2, t1, null); + _this._head = (_this._head + 1 & _this._table.length - 1) >>> 0; + return result; }, - set$value: function($receiver, $0) { - return this.noSuchMethod$1($receiver, H.createInvocationMirror("value=", "set$value", 2, [$0], [], 0)); - } - }; - P._StringStackTrace.prototype = { - toString$0: function(_) { - return ""; + _add$1(_, element) { + var t2, t3, newTable, split, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(element); + B.JSArray_methods.$indexSet(_this._table, _this._tail, element); + t2 = _this._tail; + t3 = _this._table.length; + t2 = (t2 + 1 & t3 - 1) >>> 0; + _this._tail = t2; + if (_this._head === t2) { + newTable = A.List_List$filled(t3 * 2, null, false, t1._eval$1("1?")); + t1 = _this._table; + t2 = _this._head; + split = t1.length - t2; + B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2); + B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0); + _this._head = 0; + _this._tail = _this._table.length; + _this.set$_table(newTable); + } + ++_this._modificationCount; }, - $isStackTrace: 1 - }; - P.Runes.prototype = { - get$iterator: function(_) { - return new P.RuneIterator(this.string); + set$_table(_table) { + this._table = this.$ti._eval$1("List<1?>")._as(_table); }, - get$last: function(_) { - var code, previousCode, - t1 = this.string, - t2 = t1.length; - if (t2 === 0) - throw H.wrapException(P.StateError$("No elements.")); - code = C.JSString_methods.codeUnitAt$1(t1, t2 - 1); - if ((code & 64512) === 56320 && t2 > 1) { - previousCode = C.JSString_methods.codeUnitAt$1(t1, t2 - 2); - if ((previousCode & 64512) === 55296) - return P._combineSurrogatePair(previousCode, code); - } - return code; - } + $isQueue: 1 }; - P.RuneIterator.prototype = { - get$current: function(_) { - return this._currentCodePoint; + A._ListQueueIterator.prototype = { + get$current(_) { + return this._collection$_current; }, - moveNext$0: function() { - var codeUnit, nextPosition, nextCodeUnit, _this = this, - t1 = _this._core$_position = _this._nextPosition, - t2 = _this.string, - t3 = t2.length; - if (t1 === t3) { - _this._currentCodePoint = -1; + moveNext$0() { + var t2, t3, _this = this, + t1 = _this._queue; + if (_this._modificationCount !== t1._modificationCount) + A.throwExpression(A.ConcurrentModificationError$(t1)); + t2 = _this._collection$_position; + if (t2 === _this._collection$_end) { + _this.set$_collection$_current(null); return false; } - codeUnit = C.JSString_methods._codeUnitAt$1(t2, t1); - nextPosition = t1 + 1; - if ((codeUnit & 64512) === 55296 && nextPosition < t3) { - nextCodeUnit = C.JSString_methods._codeUnitAt$1(t2, nextPosition); - if ((nextCodeUnit & 64512) === 56320) { - _this._nextPosition = nextPosition + 1; - _this._currentCodePoint = P._combineSurrogatePair(codeUnit, nextCodeUnit); - return true; - } - } - _this._nextPosition = nextPosition; - _this._currentCodePoint = codeUnit; + t3 = t1._table; + if (!(t2 < t3.length)) + return A.ioore(t3, t2); + _this.set$_collection$_current(t3[t2]); + _this._collection$_position = (_this._collection$_position + 1 & t1._table.length - 1) >>> 0; return true; }, + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, $isIterator: 1 }; - P.StringBuffer.prototype = { - get$length: function(_) { - return this._contents.length; - }, - toString$0: function(_) { - var t1 = this._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + A.SetMixin.prototype = { + get$isEmpty(_) { + return this.get$length(this) === 0; }, - $isStringSink: 1 - }; - P.Uri__parseIPv4Address_error.prototype = { - call$2: function(msg, position) { - throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); + get$isNotEmpty(_) { + return this.get$length(this) !== 0; }, - $signature: 268 - }; - P.Uri_parseIPv6Address_error.prototype = { - call$2: function(msg, position) { - throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); + cast$1$0(_, $R) { + return A.Set_castFrom(this, null, A._instanceType(this)._eval$1("SetMixin.E"), $R); }, - call$1: function(msg) { - return this.call$2(msg, null); + addAll$1(_, elements) { + var t1; + for (t1 = J.get$iterator$ax(A._instanceType(this)._eval$1("Iterable")._as(elements)); t1.moveNext$0();) + this.add$1(0, t1.get$current(t1)); }, - $signature: 269 - }; - P.Uri_parseIPv6Address_parseHex.prototype = { - call$2: function(start, end) { - var value; - if (end - start > 4) - this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); - value = P.int_parse(C.JSString_methods.substring$2(this.host, start, end), 16); - if (value < 0 || value > 65535) - this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); - return value; + removeAll$1(elements) { + var t1; + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + this.remove$1(0, t1.get$current(t1)); }, - $signature: 176 - }; - P._Uri.prototype = { - get$_text: function() { - var t2, t3, t4, _this = this, - t1 = _this.___Uri__text; - if (t1 === $) { - t1 = _this.scheme; - t2 = t1.length !== 0 ? t1 + ":" : ""; - t3 = _this._host; - t4 = t3 == null; - if (!t4 || t1 === "file") { - t1 = t2 + "//"; - t2 = _this._userInfo; - if (t2.length !== 0) - t1 = t1 + t2 + "@"; - if (!t4) - t1 += t3; - t2 = _this._port; - if (t2 != null) - t1 = t1 + ":" + H.S(t2); - } else - t1 = t2; - t1 += _this.path; - t2 = _this._query; - if (t2 != null) - t1 = t1 + "?" + t2; - t2 = _this._fragment; - if (t2 != null) - t1 = t1 + "#" + t2; - t1 = t1.charCodeAt(0) == 0 ? t1 : t1; - if (_this.___Uri__text === $) - _this.___Uri__text = t1; - else - t1 = H.throwExpression(H.LateError$fieldADI("_text")); + removeWhere$1(_, test) { + var toRemove, t1, element, _this = this; + A._instanceType(_this)._eval$1("bool(SetMixin.E)")._as(test); + toRemove = []; + for (t1 = _this.get$iterator(_this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (A.boolConversionCheck(test.call$1(element))) + toRemove.push(element); } - return t1; + _this.removeAll$1(toRemove); }, - get$pathSegments: function() { - var pathToSplit, _this = this, - t1 = _this.___Uri_pathSegments; - if (t1 === $) { - pathToSplit = _this.path; - if (pathToSplit.length !== 0 && C.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47) - pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); - t1 = pathToSplit.length === 0 ? C.List_empty0 : P.List_List$unmodifiable(new H.MappedListIterable(H.setRuntimeTypeInfo(pathToSplit.split("/"), type$.JSArray_String), type$.dynamic_Function_String._as(P.core_Uri_decodeComponent$closure()), type$.MappedListIterable_String_dynamic), type$.String); - if (_this.___Uri_pathSegments === $) - _this.set$___Uri_pathSegments(t1); - else - t1 = H.throwExpression(H.LateError$fieldADI("pathSegments")); - } - return t1; + containsAll$1(other) { + var t1; + for (t1 = J.get$iterator$ax(other); t1.moveNext$0();) + if (!this.contains$1(0, t1.get$current(t1))) + return false; + return true; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.___Uri_hashCode; - if (t1 === $) { - t1 = J.get$hashCode$(_this.get$_text()); - if (_this.___Uri_hashCode === $) - _this.___Uri_hashCode = t1; - else - t1 = H.throwExpression(H.LateError$fieldADI("hashCode")); - } + union$1(other) { + var t1; + A._instanceType(this)._eval$1("Set")._as(other); + t1 = this.toSet$0(0); + t1.addAll$1(0, other); return t1; }, - get$userInfo: function() { - return this._userInfo; - }, - get$host: function(_) { - var host = this._host; - if (host == null) - return ""; - if (C.JSString_methods.startsWith$1(host, "[")) - return C.JSString_methods.substring$2(host, 1, host.length - 1); - return host; + toList$1$growable(_, growable) { + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("SetMixin.E")); }, - get$port: function(_) { - var t1 = this._port; - return t1 == null ? P._Uri__defaultPort(this.scheme) : t1; + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - get$query: function(_) { - var t1 = this._query; - return t1 == null ? "" : t1; + map$1$1(_, f, $T) { + var t1 = A._instanceType(this); + return new A.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - get$fragment: function() { - var t1 = this._fragment; - return t1 == null ? "" : t1; + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - isScheme$1: function(scheme) { - var thisScheme = this.scheme; - if (scheme.length !== thisScheme.length) - return false; - return P._Uri__compareScheme(scheme, thisScheme); + get$single(_) { + var it, _this = this, + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw A.wrapException(A.IterableElementError_tooMany()); + it = _this.get$iterator(_this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + return it.get$current(it); }, - _mergePaths$2: function(base, reference) { - var backCount, refStart, baseEnd, newEnd, delta, t1; - for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(reference, "../", refStart);) { - refStart += 3; - ++backCount; - } - baseEnd = C.JSString_methods.lastIndexOf$1(base, "/"); - while (true) { - if (!(baseEnd > 0 && backCount > 0)) - break; - newEnd = C.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); - if (newEnd < 0) - break; - delta = baseEnd - newEnd; - t1 = delta !== 2; - if (!t1 || delta === 3) - if (C.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) - t1 = !t1 || C.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46; - else - t1 = false; - else - t1 = false; - if (t1) - break; - --backCount; - baseEnd = newEnd; - } - return C.JSString_methods.replaceRange$3(base, baseEnd + 1, null, C.JSString_methods.substring$1(reference, refStart - 3 * backCount)); + toString$0(_) { + return A.IterableBase_iterableToFullString(this, "{", "}"); }, - resolve$1: function(reference) { - return this.resolveUri$1(P.Uri_parse(reference)); + forEach$1(_, f) { + var t1; + A._instanceType(this)._eval$1("~(SetMixin.E)")._as(f); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + f.call$1(t1.get$current(t1)); }, - resolveUri$1: function(reference) { - var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; - if (reference.get$scheme().length !== 0) { - targetScheme = reference.get$scheme(); - if (reference.get$hasAuthority()) { - targetUserInfo = reference.get$userInfo(); - targetHost = reference.get$host(reference); - targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; - } else { - targetPort = _null; - targetHost = targetPort; - targetUserInfo = ""; - } - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + join$1(_, separator) { + var t1, + iterator = this.get$iterator(this); + if (!iterator.moveNext$0()) + return ""; + if (separator === "") { + t1 = ""; + do + t1 += A.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); } else { - targetScheme = _this.scheme; - if (reference.get$hasAuthority()) { - targetUserInfo = reference.get$userInfo(); - targetHost = reference.get$host(reference); - targetPort = P._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; - } else { - targetUserInfo = _this._userInfo; - targetHost = _this._host; - targetPort = _this._port; - targetPath = _this.path; - if (reference.get$path(reference) === "") - targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; - else { - packageNameEnd = P._Uri__packageNameEnd(_this, targetPath); - if (packageNameEnd > 0) { - packageName = C.JSString_methods.substring$2(targetPath, 0, packageNameEnd); - targetPath = reference.get$hasAbsolutePath() ? packageName + P._Uri__removeDotSegments(reference.get$path(reference)) : packageName + P._Uri__removeDotSegments(_this._mergePaths$2(C.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); - } else if (reference.get$hasAbsolutePath()) - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - else if (targetPath.length === 0) - if (targetHost == null) - targetPath = targetScheme.length === 0 ? reference.get$path(reference) : P._Uri__removeDotSegments(reference.get$path(reference)); - else - targetPath = P._Uri__removeDotSegments("/" + reference.get$path(reference)); - else { - mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); - t1 = targetScheme.length === 0; - if (!t1 || targetHost != null || C.JSString_methods.startsWith$1(targetPath, "/")) - targetPath = P._Uri__removeDotSegments(mergedPath); - else - targetPath = P._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); - } - targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; - } - } + t1 = A.S(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) + t1 = t1 + separator + A.S(iterator.get$current(iterator)); } - return P._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - get$hasAuthority: function() { - return this._host != null; + any$1(_, test) { + var t1; + A._instanceType(this)._eval$1("bool(SetMixin.E)")._as(test); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (A.boolConversionCheck(test.call$1(t1.get$current(t1)))) + return true; + return false; }, - get$hasPort: function() { - return this._port != null; + take$1(_, n) { + return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._eval$1("SetMixin.E")); }, - get$hasQuery: function() { - return this._query != null; + skip$1(_, n) { + return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._eval$1("SetMixin.E")); }, - get$hasFragment: function() { - return this._fragment != null; + get$first(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + return it.get$current(it); }, - get$hasAbsolutePath: function() { - return C.JSString_methods.startsWith$1(this.path, "/"); + get$last(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; }, - toFilePath$0: function() { - var pathSegments, _this = this, - t1 = _this.scheme; - if (t1 !== "" && t1 !== "file") - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); - t1 = _this._query; - if ((t1 == null ? "" : t1) !== "") - throw H.wrapException(P.UnsupportedError$(string$.Cannotefq)); - t1 = _this._fragment; - if ((t1 == null ? "" : t1) !== "") - throw H.wrapException(P.UnsupportedError$(string$.Cannoteff)); - t1 = $.$get$_Uri__isWindowsCached(); - if (H.boolConversionCheck(t1)) - t1 = P._Uri__toWindowsFilePath(_this); - else { - if (_this._host != null && _this.get$host(_this) !== "") - H.throwExpression(P.UnsupportedError$(string$.Cannoten)); - pathSegments = _this.get$pathSegments(); - P._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); - t1 = P.StringBuffer__writeAll(C.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/"); - t1 = t1.charCodeAt(0) == 0 ? t1 : t1; + elementAt$1(_, index) { + var t1, elementIndex, element, _s5_ = "index"; + A.checkNotNullable(index, _s5_, type$.int); + A.RangeError_checkNotNegative(index, _s5_); + for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { + element = t1.get$current(t1); + if (index === elementIndex) + return element; + ++elementIndex; } - return t1; + throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, _s5_)); + } + }; + A.SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1}; + A._SetBase.prototype = { + cast$1$0(_, $R) { + return A.Set_castFrom(this, this.get$_newSimilarSet(), A._instanceType(this)._precomputed1, $R); }, - toString$0: function(_) { - return this.get$_text(); + difference$1(other) { + var t1, element, + result = this._newSet$0(); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (!other.contains$1(0, element)) + result.add$1(0, element); + } + return result; }, - $eq: function(_, other) { - var t1, t2, _this = this; - if (other == null) - return false; - if (_this === other) - return true; - if (type$.Uri._is(other)) - if (_this.scheme === other.get$scheme()) - if (_this._host != null === other.get$hasAuthority()) - if (_this._userInfo === other.get$userInfo()) - if (_this.get$host(_this) === other.get$host(other)) - if (_this.get$port(_this) === other.get$port(other)) - if (_this.path === other.get$path(other)) { - t1 = _this._query; - t2 = t1 == null; - if (!t2 === other.get$hasQuery()) { - if (t2) - t1 = ""; - if (t1 === other.get$query(other)) { - t1 = _this._fragment; - t2 = t1 == null; - if (!t2 === other.get$hasFragment()) { - if (t2) - t1 = ""; - t1 = t1 === other.get$fragment(); - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; + intersection$1(_, other) { + var t1, element, + result = this._newSet$0(); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (other.contains$1(0, element)) + result.add$1(0, element); + } + return result; + }, + toSet$0(_) { + var t1 = this._newSet$0(); + t1.addAll$1(0, this); return t1; }, - set$___Uri_pathSegments: function(___Uri_pathSegments) { - this.___Uri_pathSegments = type$.nullable_List_String._as(___Uri_pathSegments); + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 + }; + A._UnmodifiableSetMixin.prototype = { + add$1(_, value) { + this.$ti._precomputed1._as(value); + A._UnmodifiableSetMixin__throwUnmodifiable(); + return A.ReachabilityError$(string$.x60null_t); }, - $isUri: 1, - get$scheme: function() { - return this.scheme; + removeAll$1(elements) { + A._UnmodifiableSetMixin__throwUnmodifiable(); + return A.ReachabilityError$(string$.x60null_t); }, - get$path: function(receiver) { - return this.path; + remove$1(_, value) { + A._UnmodifiableSetMixin__throwUnmodifiable(); + return A.ReachabilityError$(string$.x60null_t); } }; - P.UriData.prototype = { - get$uri: function() { - var t2, queryIndex, end, query, _this = this, _null = null, - t1 = _this._uriCache; - if (t1 == null) { - t1 = _this._separatorIndices; - if (0 >= t1.length) - return H.ioore(t1, 0); - t2 = _this._text; - t1 = t1[0] + 1; - queryIndex = C.JSString_methods.indexOf$2(t2, "?", t1); - end = t2.length; - if (queryIndex >= 0) { - query = P._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, C.List_CVk, false); - end = queryIndex; - } else - query = _null; - t1 = _this._uriCache = new P._DataUri("data", "", _null, _null, P._Uri__normalizeOrSubstring(t2, t1, end, C.List_qg4, false), query, _null); - } - return t1; + A._UnmodifiableSet.prototype = { + _newSet$0() { + return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); }, - toString$0: function(_) { - var t2, - t1 = this._separatorIndices; - if (0 >= t1.length) - return H.ioore(t1, 0); - t2 = this._text; - return t1[0] === -1 ? "data:" + t2 : t2; - } - }; - P._createTables_build.prototype = { - call$2: function(state, defaultTransition) { - var t1 = this.tables; - if (state >= t1.length) - return H.ioore(t1, state); - t1 = t1[state]; - C.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); - return t1; + _newSimilarSet$1$0($R) { + return A.LinkedHashSet_LinkedHashSet($R); }, - $signature: 270 - }; - P._createTables_setChars.prototype = { - call$3: function(target, chars, transition) { - var t1, i, t2; - for (t1 = chars.length, i = 0; i < t1; ++i) { - t2 = C.JSString_methods._codeUnitAt$1(chars, i) ^ 96; - if (t2 >= 96) - return H.ioore(target, t2); - target[t2] = transition; - } + _newSimilarSet$0() { + return this._newSimilarSet$1$0(type$.dynamic); + }, + contains$1(_, element) { + return J.containsKey$1$x(this._collection$_map, element); }, - $signature: 167 + get$iterator(_) { + return J.get$iterator$ax(J.get$keys$x(this._collection$_map)); + }, + get$length(_) { + return J.get$length$asx(this._collection$_map); + } }; - P._createTables_setRange.prototype = { - call$3: function(target, range, transition) { - var i, n, t1; - for (i = C.JSString_methods._codeUnitAt$1(range, 0), n = C.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) { - t1 = (i ^ 96) >>> 0; - if (t1 >= 96) - return H.ioore(target, t1); - target[t1] = transition; + A._ListBase_Object_ListMixin.prototype = {}; + A._SetBase_Object_SetMixin.prototype = {}; + A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; + A.__SetBase_Object_SetMixin.prototype = {}; + A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {}; + A._JsonMap.prototype = { + $index(_, key) { + var result, + t1 = this._processed; + if (t1 == null) + return this._data.$index(0, key); + else if (typeof key != "string") + return null; + else { + result = t1[key]; + return typeof result == "undefined" ? this._process$1(key) : result; } }, - $signature: 167 - }; - P._SimpleUri.prototype = { - get$hasAuthority: function() { - return this._hostStart > 0; + get$length(_) { + return this._processed == null ? this._data._length : this._computeKeys$0().length; }, - get$hasPort: function() { - return this._hostStart > 0 && this._portStart + 1 < this._pathStart; + get$isEmpty(_) { + return this.get$length(this) === 0; }, - get$hasQuery: function() { - return this._queryStart < this._fragmentStart; + get$isNotEmpty(_) { + return this.get$length(this) > 0; }, - get$hasFragment: function() { - return this._fragmentStart < this._core$_uri.length; + get$keys(_) { + var t1; + if (this._processed == null) { + t1 = this._data; + return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); + } + return new A._JsonMapKeyIterable(this); }, - get$hasAbsolutePath: function() { - return C.JSString_methods.startsWith$2(this._core$_uri, "/", this._pathStart); + get$values(_) { + var t1, _this = this; + if (_this._processed == null) { + t1 = _this._data; + return t1.get$values(t1); + } + return A.MappedIterable_MappedIterable(_this._computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic); }, - get$scheme: function() { - var t1 = this._schemeCache; - return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; + $indexSet(_, key, value) { + var processed, original, _this = this; + A._asStringS(key); + if (_this._processed == null) + _this._data.$indexSet(0, key, value); + else if (_this.containsKey$1(0, key)) { + processed = _this._processed; + processed[key] = value; + original = _this._original; + if (original == null ? processed != null : original !== processed) + original[key] = null; + } else + _this._upgrade$0().$indexSet(0, key, value); }, - _computeScheme$0: function() { - var t2, _this = this, - t1 = _this._schemeEnd; - if (t1 <= 0) - return ""; - t2 = t1 === 4; - if (t2 && C.JSString_methods.startsWith$1(_this._core$_uri, "http")) - return "http"; - if (t1 === 5 && C.JSString_methods.startsWith$1(_this._core$_uri, "https")) - return "https"; - if (t2 && C.JSString_methods.startsWith$1(_this._core$_uri, "file")) - return "file"; - if (t1 === 7 && C.JSString_methods.startsWith$1(_this._core$_uri, "package")) - return "package"; - return C.JSString_methods.substring$2(_this._core$_uri, 0, t1); + containsKey$1(_, key) { + if (this._processed == null) + return this._data.containsKey$1(0, key); + if (typeof key != "string") + return false; + return Object.prototype.hasOwnProperty.call(this._original, key); }, - get$userInfo: function() { - var t1 = this._hostStart, - t2 = this._schemeEnd + 3; - return t1 > t2 ? C.JSString_methods.substring$2(this._core$_uri, t2, t1 - 1) : ""; + remove$1(_, key) { + if (this._processed != null && !this.containsKey$1(0, key)) + return null; + return this._upgrade$0().remove$1(0, key); }, - get$host: function(_) { - var t1 = this._hostStart; - return t1 > 0 ? C.JSString_methods.substring$2(this._core$_uri, t1, this._portStart) : ""; + forEach$1(_, f) { + var keys, i, key, value, _this = this; + type$.void_Function_String_dynamic._as(f); + if (_this._processed == null) + return _this._data.forEach$1(0, f); + keys = _this._computeKeys$0(); + for (i = 0; i < keys.length; ++i) { + key = keys[i]; + value = _this._processed[key]; + if (typeof value == "undefined") { + value = A._convertJsonToDartLazy(_this._original[key]); + _this._processed[key] = value; + } + f.call$2(key, value); + if (keys !== _this._data) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } }, - get$port: function(_) { - var t1, _this = this; - if (_this.get$hasPort()) - return P.int_parse(C.JSString_methods.substring$2(_this._core$_uri, _this._portStart + 1, _this._pathStart), null); - t1 = _this._schemeEnd; - if (t1 === 4 && C.JSString_methods.startsWith$1(_this._core$_uri, "http")) - return 80; - if (t1 === 5 && C.JSString_methods.startsWith$1(_this._core$_uri, "https")) - return 443; - return 0; + _computeKeys$0() { + var keys = type$.nullable_List_dynamic._as(this._data); + if (keys == null) + keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String); + return keys; + }, + _upgrade$0() { + var result, keys, i, t1, key, _this = this; + if (_this._processed == null) + return _this._data; + result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = _this._computeKeys$0(); + for (i = 0; t1 = keys.length, i < t1; ++i) { + key = keys[i]; + result.$indexSet(0, key, _this.$index(0, key)); + } + if (t1 === 0) + B.JSArray_methods.add$1(keys, ""); + else + B.JSArray_methods.clear$0(keys); + _this._original = _this._processed = null; + return _this._data = result; }, - get$path: function(_) { - return C.JSString_methods.substring$2(this._core$_uri, this._pathStart, this._queryStart); + _process$1(key) { + var result; + if (!Object.prototype.hasOwnProperty.call(this._original, key)) + return null; + result = A._convertJsonToDartLazy(this._original[key]); + return this._processed[key] = result; + } + }; + A._JsonMap_values_closure.prototype = { + call$1(each) { + return this.$this.$index(0, A._asStringS(each)); }, - get$query: function(_) { - var t1 = this._queryStart, - t2 = this._fragmentStart; - return t1 < t2 ? C.JSString_methods.substring$2(this._core$_uri, t1 + 1, t2) : ""; + $signature: 164 + }; + A._JsonMapKeyIterable.prototype = { + get$length(_) { + var t1 = this._parent; + return t1.get$length(t1); }, - get$fragment: function() { - var t1 = this._fragmentStart, - t2 = this._core$_uri; - return t1 < t2.length ? C.JSString_methods.substring$1(t2, t1 + 1) : ""; + elementAt$1(_, index) { + var t1 = this._parent; + return t1._processed == null ? t1.get$keys(t1).elementAt$1(0, index) : B.JSArray_methods.$index(t1._computeKeys$0(), index); }, - get$pathSegments: function() { - var parts, i, - start = this._pathStart, - end = this._queryStart, - t1 = this._core$_uri; - if (C.JSString_methods.startsWith$2(t1, "/", start)) - ++start; - if (start === end) - return C.List_empty0; - parts = H.setRuntimeTypeInfo([], type$.JSArray_String); - for (i = start; i < end; ++i) - if (C.JSString_methods.codeUnitAt$1(t1, i) === 47) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, i)); - start = i + 1; - } - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, end)); - return P.List_List$unmodifiable(parts, type$.String); + get$iterator(_) { + var t1 = this._parent; + if (t1._processed == null) { + t1 = t1.get$keys(t1); + t1 = t1.get$iterator(t1); + } else { + t1 = t1._computeKeys$0(); + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + return t1; }, - _isPort$1: function(port) { - var portDigitStart = this._portStart + 1; - return portDigitStart + port.length === this._pathStart && C.JSString_methods.startsWith$2(this._core$_uri, port, portDigitStart); + contains$1(_, key) { + return this._parent.containsKey$1(0, key); + } + }; + A.Utf8Decoder__decoder_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: true}); + return t1; + } catch (exception) { + } + return null; }, - removeFragment$0: function() { - var _this = this, - t1 = _this._fragmentStart, - t2 = _this._core$_uri; - if (t1 >= t2.length) - return _this; - return new P._SimpleUri(C.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); + $signature: 9 + }; + A.Utf8Decoder__decoderNonfatal_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: false}); + return t1; + } catch (exception) { + } + return null; }, - resolve$1: function(reference) { - return this.resolveUri$1(P.Uri_parse(reference)); + $signature: 9 + }; + A.AsciiCodec.prototype = { + get$name(_) { + return "us-ascii"; }, - resolveUri$1: function(reference) { - if (reference instanceof P._SimpleUri) - return this._simpleMerge$2(this, reference); - return this._toNonSimple$0().resolveUri$1(reference); + encode$1(source) { + return B.AsciiEncoder_127.convert$1(source); }, - _simpleMerge$2: function(base, ref) { - var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, - t1 = ref._schemeEnd; - if (t1 > 0) - return ref; - t2 = ref._hostStart; - if (t2 > 0) { - t3 = base._schemeEnd; - if (t3 <= 0) - return ref; - t4 = t3 === 4; - if (t4 && C.JSString_methods.startsWith$1(base._core$_uri, "file")) - isSimple = ref._pathStart !== ref._queryStart; - else if (t4 && C.JSString_methods.startsWith$1(base._core$_uri, "http")) - isSimple = !ref._isPort$1("80"); - else - isSimple = !(t3 === 5 && C.JSString_methods.startsWith$1(base._core$_uri, "https")) || !ref._isPort$1("443"); - if (isSimple) { - delta = t3 + 1; - return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, delta) + C.JSString_methods.substring$1(ref._core$_uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); - } else - return this._toNonSimple$0().resolveUri$1(ref); + decode$1(_, bytes) { + var t1; + type$.List_int._as(bytes); + t1 = B.AsciiDecoder_false_127.convert$1(bytes); + return t1; + }, + get$encoder() { + return B.AsciiEncoder_127; + } + }; + A._UnicodeSubsetEncoder.prototype = { + convert$1(string) { + var end, $length, result, t1, i, codeUnit; + A._asStringS(string); + end = A.RangeError_checkValidRange(0, null, string.length); + if (typeof end !== "number") + return end.$sub(); + $length = end - 0; + result = new Uint8Array($length); + for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) { + codeUnit = B.JSString_methods._codeUnitAt$1(string, i); + if ((codeUnit & t1) !== 0) + throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); + if (!(i < $length)) + return A.ioore(result, i); + result[i] = codeUnit; } - refStart = ref._pathStart; - t1 = ref._queryStart; - if (refStart === t1) { - t2 = ref._fragmentStart; - if (t1 < t2) { - t3 = base._queryStart; - delta = t3 - t1; - return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, t3) + C.JSString_methods.substring$1(ref._core$_uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); - } - t1 = ref._core$_uri; - if (t2 < t1.length) { - t3 = base._fragmentStart; - return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, t3) + C.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); + return result; + } + }; + A.AsciiEncoder.prototype = {}; + A._UnicodeSubsetDecoder.prototype = { + convert$1(bytes) { + var t1, end, t2, i, byte; + type$.List_int._as(bytes); + t1 = J.getInterceptor$asx(bytes); + end = A.RangeError_checkValidRange(0, null, t1.get$length(bytes)); + if (typeof end !== "number") + return A.iae(end); + t2 = ~this._subsetMask; + i = 0; + for (; i < end; ++i) { + byte = t1.$index(bytes, i); + if ((byte & t2) >>> 0 !== 0) { + if (!this._allowInvalid) + throw A.wrapException(A.FormatException$("Invalid value in input: " + byte, null, null)); + return this._convertInvalid$3(bytes, 0, end); } - return base.removeFragment$0(); } - t2 = ref._core$_uri; - if (C.JSString_methods.startsWith$2(t2, "/", refStart)) { - basePathStart = base._pathStart; - packageNameEnd = P._SimpleUri__packageNameEnd(this); - basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; - delta = basePathStart0 - refStart; - return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, basePathStart0) + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + return A.String_String$fromCharCodes(bytes, 0, end); + }, + _convertInvalid$3(bytes, start, end) { + var t1, t2, i, t3, value; + type$.List_int._as(bytes); + if (typeof end !== "number") + return A.iae(end); + t1 = ~this._subsetMask; + t2 = J.getInterceptor$asx(bytes); + i = start; + t3 = ""; + for (; i < end; ++i) { + value = t2.$index(bytes, i); + t3 += A.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value); } - baseStart = base._pathStart; - baseEnd = base._queryStart; - if (baseStart === baseEnd && base._hostStart > 0) { - for (; C.JSString_methods.startsWith$2(t2, "../", refStart);) - refStart += 3; - delta = baseStart - refStart + 1; - return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, baseStart) + "/" + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); - } - baseUri = base._core$_uri; - packageNameEnd = P._SimpleUri__packageNameEnd(this); - if (packageNameEnd >= 0) - baseStart0 = packageNameEnd; - else - for (baseStart0 = baseStart; C.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) - baseStart0 += 3; - backCount = 0; - while (true) { - refStart0 = refStart + 3; - if (!(refStart0 <= t1 && C.JSString_methods.startsWith$2(t2, "../", refStart))) - break; - ++backCount; - refStart = refStart0; - } - for (insert = ""; baseEnd > baseStart0;) { - --baseEnd; - if (C.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { - if (backCount === 0) { - insert = "/"; - break; + return t3.charCodeAt(0) == 0 ? t3 : t3; + } + }; + A.AsciiDecoder.prototype = {}; + A.Base64Codec.prototype = { + get$encoder() { + return B.C_Base64Encoder; + }, + normalize$3(_, source, start, end) { + var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length, + _s31_ = "Invalid base64 encoding length "; + end = A.RangeError_checkValidRange(start, end, source.length); + inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); + if (typeof end !== "number") + return A.iae(end); + i = start; + sliceStart = i; + buffer = null; + firstPadding = -1; + firstPaddingSourceIndex = -1; + paddingCount = 0; + for (; i < end; i = i0) { + i0 = i + 1; + char = B.JSString_methods._codeUnitAt$1(source, i); + if (char === 37) { + i1 = i0 + 2; + if (i1 <= end) { + digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0)); + digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1)); + char0 = digit1 * 16 + digit2 - (digit2 & 256); + if (char0 === 37) + char0 = -1; + i0 = i1; + } else + char0 = -1; + } else + char0 = char; + if (0 <= char0 && char0 <= 127) { + if (!(char0 >= 0 && char0 < inverseAlphabet.length)) + return A.ioore(inverseAlphabet, char0); + value = inverseAlphabet[char0]; + if (value >= 0) { + char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value); + if (char0 === char) + continue; + char = char0; + } else { + if (value === -1) { + if (firstPadding < 0) { + t1 = buffer == null ? null : buffer._contents.length; + if (t1 == null) + t1 = 0; + firstPadding = t1 + (i - sliceStart); + firstPaddingSourceIndex = i; + } + ++paddingCount; + if (char === 61) + continue; + } + char = char0; + } + if (value !== -2) { + if (buffer == null) { + buffer = new A.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t1._contents = t2 + A.Primitives_stringFromCharCode(char); + sliceStart = i0; + continue; } - --backCount; - insert = "/"; } + throw A.wrapException(A.FormatException$("Invalid base64 data", source, i)); } - if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !C.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { - refStart -= backCount * 3; - insert = ""; - } - delta = baseEnd - refStart + insert.length; - return new P._SimpleUri(C.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); - }, - toFilePath$0: function() { - var t2, t3, _this = this, - t1 = _this._schemeEnd; - if (t1 >= 0) { - t2 = !(t1 === 4 && C.JSString_methods.startsWith$1(_this._core$_uri, "file")); - t1 = t2; - } else - t1 = false; - if (t1) - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); - t1 = _this._queryStart; - t2 = _this._core$_uri; - if (t1 < t2.length) { - if (t1 < _this._fragmentStart) - throw H.wrapException(P.UnsupportedError$(string$.Cannotefq)); - throw H.wrapException(P.UnsupportedError$(string$.Cannoteff)); + if (buffer != null) { + t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end); + t2 = t1.length; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); + else { + endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1; + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + for (; endLength < 4;) { + t1 += "="; + buffer._contents = t1; + ++endLength; + } + } + t1 = buffer._contents; + return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); } - t3 = $.$get$_Uri__isWindowsCached(); - if (H.boolConversionCheck(t3)) - t1 = P._Uri__toWindowsFilePath(_this); + $length = end - start; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); else { - if (_this._hostStart < _this._portStart) - H.throwExpression(P.UnsupportedError$(string$.Cannoten)); - t1 = C.JSString_methods.substring$2(t2, _this._pathStart, t1); + endLength = B.JSInt_methods.$mod($length, 4); + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + if (endLength > 1) + source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); } - return t1; - }, - get$hashCode: function(_) { - var t1 = this._hashCodeCache; - return t1 == null ? this._hashCodeCache = C.JSString_methods.get$hashCode(this._core$_uri) : t1; - }, - $eq: function(_, other) { - if (other == null) - return false; - if (this === other) - return true; - return type$.Uri._is(other) && this._core$_uri === other.toString$0(0); - }, - _toNonSimple$0: function() { - var _this = this, _null = null, - t1 = _this.get$scheme(), - t2 = _this.get$userInfo(), - t3 = _this._hostStart > 0 ? _this.get$host(_this) : _null, - t4 = _this.get$hasPort() ? _this.get$port(_this) : _null, - t5 = _this._core$_uri, - t6 = _this._queryStart, - t7 = C.JSString_methods.substring$2(t5, _this._pathStart, t6), - t8 = _this._fragmentStart; - t6 = t6 < t8 ? _this.get$query(_this) : _null; - return P._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); - }, - toString$0: function(_) { - return this._core$_uri; - }, - $isUri: 1 - }; - P._DataUri.prototype = {}; - W.HtmlElement.prototype = {}; - W.AccessibleNode.prototype = { - get$checked: function(receiver) { - return receiver.checked; + return source; } }; - W.AccessibleNodeList.prototype = { - get$length: function(receiver) { - return receiver.length; + A.Base64Encoder.prototype = { + convert$1(input) { + var t1; + type$.List_int._as(input); + input.toString; + t1 = J.getInterceptor$asx(input); + if (t1.get$length(input) === 0) + return ""; + t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true); + t1.toString; + return A.String_String$fromCharCodes(t1, 0, null); } }; - W.AnchorElement.prototype = { - set$download: function(receiver, value) { - receiver.download = value; - }, - get$target: function(receiver) { - return receiver.target; - }, - set$href: function(receiver, value) { - receiver.href = value; - }, - toString$0: function(receiver) { - return String(receiver); - }, - $isAnchorElement: 1 - }; - W.ApplicationCacheErrorEvent.prototype = { - get$message: function(receiver) { - return receiver.message; + A._Base64Encoder.prototype = { + encode$4(bytes, start, end, isLast) { + var t1, byteCount, fullChunks, bufferLength, output; + type$.List_int._as(bytes); + t1 = this._convert$_state; + byteCount = (t1 & 3) + (end - start); + fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3); + bufferLength = fullChunks * 4; + if (byteCount - fullChunks * 3 > 0) + bufferLength += 4; + output = new Uint8Array(bufferLength); + this._convert$_state = A._Base64Encoder_encodeChunk(this._alphabet, bytes, start, end, true, output, 0, t1); + if (bufferLength > 0) + return output; + return null; } }; - W.AreaElement.prototype = { - get$target: function(receiver) { - return receiver.target; - }, - toString$0: function(receiver) { - return String(receiver); + A.Base64Decoder.prototype = { + convert$1(input) { + var end, decoder, t1, t2; + A._asStringS(input); + end = A.RangeError_checkValidRange(0, null, input.length); + if (0 === end) + return new Uint8Array(0); + decoder = new A._Base64Decoder(); + t1 = decoder.decode$3(0, input, 0, end); + t1.toString; + t2 = decoder._convert$_state; + if (t2 < -1) + A.throwExpression(A.FormatException$("Missing padding character", input, end)); + if (t2 > 0) + A.throwExpression(A.FormatException$("Invalid length, must be multiple of four", input, end)); + decoder._convert$_state = -1; + return t1; } }; - W.BaseElement.prototype = { - get$target: function(receiver) { - return receiver.target; - }, - $isBaseElement: 1 - }; - W.BeforeUnloadEvent.prototype = { - set$returnValue: function(receiver, value) { - receiver.returnValue = value; - }, - $isBeforeUnloadEvent: 1 - }; - W.Blob.prototype = {$isBlob: 1}; - W.BluetoothRemoteGattDescriptor.prototype = { - get$value: function(receiver) { - return receiver.value; + A._Base64Decoder.prototype = { + decode$3(_, input, start, end) { + var buffer, _this = this, + t1 = _this._convert$_state; + if (t1 < 0) { + _this._convert$_state = A._Base64Decoder__checkPadding(input, start, end, t1); + return null; + } + if (start === end) + return new Uint8Array(0); + buffer = A._Base64Decoder__allocateBuffer(input, start, end, t1); + _this._convert$_state = A._Base64Decoder_decodeChunk(input, start, end, buffer, 0, _this._convert$_state); + return buffer; } }; - W.BodyElement.prototype = {$isBodyElement: 1}; - W.ButtonElement.prototype = { - get$value: function(receiver) { - return receiver.value; + A.ByteConversionSink.prototype = {}; + A.ByteConversionSinkBase.prototype = {}; + A._ByteCallbackSink.prototype = { + add$1(_, chunk) { + var t1, t2, t3, t4, v, grown, _this = this; + type$.Iterable_int._as(chunk); + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t3 = J.getInterceptor$asx(chunk); + t4 = t3.get$length(chunk); + if (typeof t4 !== "number") + return t4.$gt(); + if (t4 > t1.length - t2) { + t1 = _this._convert$_buffer; + t2 = t3.get$length(chunk); + if (typeof t2 !== "number") + return t2.$add(); + v = t2 + t1.length - 1; + v |= B.JSInt_methods._shrOtherPositive$1(v, 1); + v |= v >>> 2; + v |= v >>> 4; + v |= v >>> 8; + grown = new Uint8Array((((v | v >>> 16) >>> 0) + 1) * 2); + t1 = _this._convert$_buffer; + B.NativeUint8List_methods.setRange$3(grown, 0, t1.length, t1); + _this.set$_convert$_buffer(grown); + } + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t4 = t3.get$length(chunk); + if (typeof t4 !== "number") + return A.iae(t4); + B.NativeUint8List_methods.setRange$3(t1, t2, t2 + t4, chunk); + t4 = _this._bufferIndex; + t3 = t3.get$length(chunk); + if (typeof t3 !== "number") + return A.iae(t3); + _this._bufferIndex = t4 + t3; }, - set$value: function(receiver, value) { - receiver.value = value; + close$0(_) { + this._callback.call$1(B.NativeUint8List_methods.sublist$2(this._convert$_buffer, 0, this._bufferIndex)); }, - $isButtonElement: 1 - }; - W.CacheStorage.prototype = { - keys$0: function(receiver) { - return P.promiseToFuture(receiver.keys(), type$.dynamic); + set$_convert$_buffer(_buffer) { + this._convert$_buffer = type$.List_int._as(_buffer); } }; - W.CanvasElement.prototype = { - set$height: function(receiver, value) { - receiver.height = value; - }, - set$width: function(receiver, value) { - receiver.width = value; - }, - getContext$1: function(receiver, contextId) { - return receiver.getContext(contextId); - }, - _toDataUrl$2: function(receiver, type, arguments_OR_quality) { - return receiver.toDataURL(type, arguments_OR_quality); - }, - _toBlob$3: function(receiver, callback, type, $arguments) { - return receiver.toBlob(H.convertDartClosureToJS(type$.void_Function_nullable_Blob._as(callback), 1), type, $arguments); - }, - toBlob$1: function(receiver, type) { - var t1 = new P._Future($.Zone__current, type$._Future_Blob); - this._toBlob$3(receiver, new W.CanvasElement_toBlob_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_Blob)), type, null); - return t1; - }, - $isCanvasElement: 1, - $isCanvasImageSource: 1 - }; - W.CanvasElement_toBlob_closure.prototype = { - call$1: function(value) { - this.completer.complete$1(0, type$.nullable_Blob._as(value)); - }, - $signature: 281 - }; - W.CanvasRenderingContext2D.prototype = { - drawImage$3: function(receiver, source, destX, destY) { - return receiver.drawImage(source, destX, destY); - }, - $isCanvasRenderingContext2D: 1 - }; - W.CharacterData.prototype = { - get$length: function(receiver) { - return receiver.length; + A.ChunkedConversionSink.prototype = {$isSink: 1}; + A.Codec.prototype = { + encode$1(input) { + A._instanceType(this)._eval$1("Codec.S")._as(input); + return this.get$encoder().convert$1(input); } }; - W.CssKeywordValue.prototype = { - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; + A.Converter.prototype = {}; + A.Encoding.prototype = {}; + A.HtmlEscapeMode.prototype = { + toString$0(_) { + return "unknown"; } }; - W.CssNumericValue.prototype = { - add$1: function(receiver, value) { - return receiver.add(type$.CssNumericValue._as(value)); + A.HtmlEscape.prototype = { + convert$1(text) { + var val; + A._asStringS(text); + val = this._convert$3(text, 0, text.length); + return val == null ? text : val; }, - $isCssNumericValue: 1 - }; - W.CssPerspective.prototype = { - get$length: function(receiver) { - return receiver.length; + _convert$3(text, start, end) { + var i, result, replacement, t1; + for (i = start, result = null; i < end; ++i) { + if (!(i < text.length)) + return A.ioore(text, i); + switch (text[i]) { + case "&": + replacement = "&"; + break; + case '"': + replacement = """; + break; + case "'": + replacement = "'"; + break; + case "<": + replacement = "<"; + break; + case ">": + replacement = ">"; + break; + case "/": + replacement = "/"; + break; + default: + replacement = null; + } + if (replacement != null) { + if (result == null) + result = new A.StringBuffer(""); + if (i > start) + result._contents += B.JSString_methods.substring$2(text, start, i); + result._contents += replacement; + start = i + 1; + } + } + if (result == null) + return null; + if (end > start) + result._contents += J.substring$2$s(text, start, end); + t1 = result._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - W.CssRule.prototype = {$isCssRule: 1}; - W.CssStyleDeclaration.prototype = { - _browserPropertyName$1: function(receiver, propertyName) { - var t1 = $.$get$CssStyleDeclaration__propertyCache(), - $name = t1[propertyName]; - if (typeof $name == "string") - return $name; - $name = this._supportedBrowserPropertyName$1(receiver, propertyName); - t1[propertyName] = $name; - return $name; - }, - _supportedBrowserPropertyName$1: function(receiver, propertyName) { - var prefixed; - if (propertyName.replace(/^-ms-/, "ms-").replace(/-([\da-z])/ig, function(_, letter) { - return letter.toUpperCase(); - }) in receiver) - return propertyName; - prefixed = $.$get$Device_cssPrefix() + H.S(propertyName); - if (prefixed in receiver) - return prefixed; - return propertyName; - }, - _setPropertyHelper$3: function(receiver, propertyName, value, priority) { - if (value == null) - value = ""; - if (priority == null) - priority = ""; - receiver.setProperty(propertyName, value, priority); - }, - set$cssText: function(receiver, value) { - receiver.cssText = value; + A.JsonUnsupportedObjectError.prototype = { + toString$0(_) { + var safeString = A.Error_safeToString(this.unsupportedObject); + return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; }, - get$length: function(receiver) { - return receiver.length; + get$cause() { + return this.cause; } }; - W.CssStyleDeclarationBase.prototype = {}; - W.CssStyleRule.prototype = {$isCssStyleRule: 1}; - W.CssStyleSheet.prototype = { - removeRule$1: function(receiver, index) { - return receiver.removeRule(index); - }, - $isCssStyleSheet: 1 - }; - W.CssStyleValue.prototype = {}; - W.CssTransformComponent.prototype = {}; - W.CssTransformValue.prototype = { - get$length: function(receiver) { - return receiver.length; + A.JsonCyclicError.prototype = { + toString$0(_) { + return "Cyclic error in JSON stringify"; } }; - W.CssUnitValue.prototype = { - get$value: function(receiver) { - return receiver.value; + A.JsonCodec.prototype = { + decode$2$reviver(_, source, reviver) { + var t1; + type$.nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object._as(reviver); + t1 = A._parseJson(source, this.get$decoder()._reviver); + return t1; }, - set$value: function(receiver, value) { - receiver.value = value; - } - }; - W.CssUnparsedValue.prototype = { - get$length: function(receiver) { - return receiver.length; - } - }; - W.DataElement.prototype = { - get$value: function(receiver) { - return receiver.value; + decode$1($receiver, source) { + return this.decode$2$reviver($receiver, source, null); }, - set$value: function(receiver, value) { - receiver.value = value; - } - }; - W.DataTransfer.prototype = { - set$dropEffect: function(receiver, value) { - receiver.dropEffect = value; - } - }; - W.DataTransferItemList.prototype = { - get$length: function(receiver) { - return receiver.length; + encode$2$toEncodable(value, toEncodable) { + var t1; + type$.nullable_nullable_Object_Function_dynamic._as(toEncodable); + t1 = this.get$encoder(); + t1 = A._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); + return t1; }, - add$1: function(receiver, data_OR_file) { - return receiver.add(data_OR_file); + encode$1(value) { + return this.encode$2$toEncodable(value, null); }, - $index: function(receiver, index) { - return receiver[H._asIntS(index)]; - } - }; - W.DeprecationReport.prototype = { - get$message: function(receiver) { - return receiver.message; - } - }; - W.DivElement.prototype = {$isDivElement: 1}; - W.Document.prototype = { - createElementNS$2: function(receiver, namespaceURI, qualifiedName) { - var t1 = receiver.createElementNS(namespaceURI, qualifiedName); - return t1; + get$encoder() { + return B.JsonEncoder_null_null; }, - $isDocument: 1 - }; - W.DomError.prototype = { - get$message: function(receiver) { - return receiver.message; + get$decoder() { + return B.JsonDecoder_null; } }; - W.DomException.prototype = { - get$message: function(receiver) { - return receiver.message; - }, - toString$0: function(receiver) { - return String(receiver); + A.JsonEncoder.prototype = { + convert$1(object) { + var stringifier, + t1 = this._toEncodable, + t2 = this.get$indent(), + output = new A.StringBuffer(""); + if (t2 == null) + stringifier = A._JsonStringStringifier$(output, t1); + else { + if (t1 == null) + t1 = A.convert___defaultToEncodable$closure(); + stringifier = new A._JsonStringStringifierPretty(t2, 0, output, [], t1); + } + stringifier.writeObject$1(object); + t1 = output._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - $isDomException: 1 - }; - W.DomImplementation.prototype = { - createHtmlDocument$1: function(receiver, title) { - return receiver.createHTMLDocument(title); + get$indent() { + return this.indent; } }; - W.DomPoint.prototype = {}; - W.DomPointReadOnly.prototype = { - matrixTransform$1: function(receiver, matrix) { - var t1 = receiver.matrixTransform(P.convertDartToNative_Dictionary(matrix)); - return t1; + A.JsonDecoder.prototype = { + convert$1(input) { + return A._parseJson(A._asStringS(input), this._reviver); } }; - W.DomRectList.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + A._JsonStringifier.prototype = { + writeStringContent$1(s) { + var t1, offset, i, charCode, t2, t3, + $length = s.length; + for (t1 = this._sink, offset = 0, i = 0; i < $length; ++i) { + charCode = B.JSString_methods._codeUnitAt$1(s, i); + if (charCode > 92) { + if (charCode >= 55296) { + t2 = charCode & 64512; + if (t2 === 55296) { + t3 = i + 1; + t3 = !(t3 < $length && (B.JSString_methods._codeUnitAt$1(s, t3) & 64512) === 56320); + } else + t3 = false; + if (!t3) + if (t2 === 56320) { + t2 = i - 1; + t2 = !(t2 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t2) & 64512) === 55296); + } else + t2 = false; + else + t2 = true; + if (t2) { + if (i > offset) + t1._contents += B.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2 = t1._contents += A.Primitives_stringFromCharCode(92); + t2 += A.Primitives_stringFromCharCode(117); + t1._contents = t2; + t2 += A.Primitives_stringFromCharCode(100); + t1._contents = t2; + t3 = charCode >>> 8 & 15; + t2 += A.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t1._contents = t2; + t3 = charCode >>> 4 & 15; + t2 += A.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t1._contents = t2; + t3 = charCode & 15; + t1._contents = t2 + A.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) + t1._contents += B.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2 = t1._contents += A.Primitives_stringFromCharCode(92); + switch (charCode) { + case 8: + t1._contents = t2 + A.Primitives_stringFromCharCode(98); + break; + case 9: + t1._contents = t2 + A.Primitives_stringFromCharCode(116); + break; + case 10: + t1._contents = t2 + A.Primitives_stringFromCharCode(110); + break; + case 12: + t1._contents = t2 + A.Primitives_stringFromCharCode(102); + break; + case 13: + t1._contents = t2 + A.Primitives_stringFromCharCode(114); + break; + default: + t2 += A.Primitives_stringFromCharCode(117); + t1._contents = t2; + t2 += A.Primitives_stringFromCharCode(48); + t1._contents = t2; + t2 += A.Primitives_stringFromCharCode(48); + t1._contents = t2; + t3 = charCode >>> 4 & 15; + t2 += A.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t1._contents = t2; + t3 = charCode & 15; + t1._contents = t2 + A.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + break; + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) + t1._contents += B.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2 = t1._contents += A.Primitives_stringFromCharCode(92); + t1._contents = t2 + A.Primitives_stringFromCharCode(charCode); + } + } + if (offset === 0) + t1._contents += s; + else if (offset < $length) + t1._contents += B.JSString_methods.substring$2(s, offset, $length); }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Rectangle_num._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + _checkCycle$1(object) { + var t1, t2, i, t3; + for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { + t3 = t1[i]; + if (object == null ? t3 == null : object === t3) + throw A.wrapException(new A.JsonCyclicError(object, null)); + } + B.JSArray_methods.add$1(t1, object); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + writeObject$1(object) { + var customJson, e, t1, exception, _this = this; + if (_this.writeJsonValue$1(object)) + return; + _this._checkCycle$1(object); + try { + customJson = _this._toEncodable.call$1(object); + if (!_this.writeJsonValue$1(customJson)) { + t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); + throw A.wrapException(t1); + } + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); + throw A.wrapException(t1); + } }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + writeJsonValue$1(object) { + var t1, success, _this = this; + if (typeof object == "number") { + if (!isFinite(object)) + return false; + _this._sink._contents += B.JSNumber_methods.toString$0(object); + return true; + } else if (object === true) { + _this._sink._contents += "true"; + return true; + } else if (object === false) { + _this._sink._contents += "false"; + return true; + } else if (object == null) { + _this._sink._contents += "null"; + return true; + } else if (typeof object == "string") { + t1 = _this._sink; + t1._contents += '"'; + _this.writeStringContent$1(object); + t1._contents += '"'; + return true; + } else if (type$.List_dynamic._is(object)) { + _this._checkCycle$1(object); + _this.writeList$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return true; + } else if (type$.Map_dynamic_dynamic._is(object)) { + _this._checkCycle$1(object); + success = _this.writeMap$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return success; + } else + return false; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + writeList$1(list) { + var t2, i, t3, + t1 = this._sink; + t1._contents += "["; + t2 = J.getInterceptor$asx(list); + if (t2.get$isNotEmpty(list)) { + this.writeObject$1(t2.$index(list, 0)); + i = 1; + while (true) { + t3 = t2.get$length(list); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + t1._contents += ","; + this.writeObject$1(t2.$index(list, i)); + ++i; + } + } + t1._contents += "]"; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); - }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); - }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.DomRectReadOnly.prototype = { - toString$0: function(receiver) { - var t2, - t1 = receiver.left; - t1.toString; - t1 = "Rectangle (" + H.S(t1) + ", "; - t2 = receiver.top; - t2.toString; - return t1 + H.S(t2) + ") " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); - }, - $eq: function(receiver, other) { - var t1, t2; - if (other == null) + writeMap$1(map) { + var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this._sink._contents += "{}"; + return true; + } + t2 = t1.get$length(map); + if (typeof t2 !== "number") + return t2.$mul(); + t2 *= 2; + keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) return false; - if (type$.Rectangle_num._is(other)) { - t1 = receiver.left; - t1.toString; - t2 = J.getInterceptor$x(other); - if (t1 === t2.get$left(other)) { - t1 = receiver.top; - t1.toString; - t1 = t1 === t2.get$top(other) && this.get$width(receiver) == t2.get$width(other) && this.get$height(receiver) == t2.get$height(other); - } else - t1 = false; - } else - t1 = false; - return t1; - }, - get$hashCode: function(receiver) { - var t2, - t1 = receiver.left; - t1.toString; - t1 = C.JSNumber_methods.get$hashCode(t1); - t2 = receiver.top; - t2.toString; - return W._JenkinsSmiHash_hash4(t1, C.JSNumber_methods.get$hashCode(t2), J.get$hashCode$(this.get$width(receiver)), J.get$hashCode$(this.get$height(receiver))); - }, - get$bottom: function(receiver) { - var t1 = receiver.bottom; - t1.toString; - return t1; - }, - get$_height: function(receiver) { - return receiver.height; - }, - get$height: function(receiver) { - var t1 = this.get$_height(receiver); - t1.toString; - return t1; - }, - get$left: function(receiver) { - var t1 = receiver.left; - t1.toString; - return t1; - }, - get$right: function(receiver) { - var t1 = receiver.right; - t1.toString; - return t1; - }, - get$top: function(receiver) { - var t1 = receiver.top; - t1.toString; - return t1; - }, - get$_width: function(receiver) { - return receiver.width; - }, - get$width: function(receiver) { - var t1 = this.get$_width(receiver); - t1.toString; - return t1; - }, - $isRectangle: 1 - }; - W.DomStringList.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - H._asStringS(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); - }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); - }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); - }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.DomTokenList.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; - }, - add$1: function(receiver, tokens) { - return receiver.add(H._asStringS(tokens)); + t1 = _this._sink; + t1._contents += "{"; + for (separator = '"'; i < t2; i += 2, separator = ',"') { + t1._contents += separator; + _this.writeStringContent$1(A._asStringS(keyValueList[i])); + t1._contents += '":'; + t3 = i + 1; + if (!(t3 < t2)) + return A.ioore(keyValueList, t3); + _this.writeObject$1(keyValueList[t3]); + } + t1._contents += "}"; + return true; } }; - W._FrozenElementList.prototype = { - get$length: function(_) { - return this._nodeList.length; - }, - $index: function(_, index) { - return this.$ti._precomputed1._as(C.NodeList_methods.$index(this._nodeList, H._asIntS(index))); - }, - $indexSet: function(_, index, value) { - H._asIntS(index); - this.$ti._precomputed1._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot modify list")); - }, - set$length: function(_, newLength) { - throw H.wrapException(P.UnsupportedError$("Cannot modify list")); - }, - sort$1: function(_, compare) { - this.$ti._eval$1("int(1,1)?")._as(compare); - throw H.wrapException(P.UnsupportedError$("Cannot sort list")); - }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); - }, - get$first: function(_) { - return this.$ti._precomputed1._as(C.NodeList_methods.get$first(this._nodeList)); - }, - get$last: function(_) { - return this.$ti._precomputed1._as(C.NodeList_methods.get$last(this._nodeList)); + A._JsonStringifier_writeMap_closure.prototype = { + call$2(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + B.JSArray_methods.$indexSet(t1, t2.i++, key); + B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - get$single: function(_) { - return this.$ti._precomputed1._as(C.NodeList_methods.get$single(this._nodeList)); - } + $signature: 89 }; - W.Element.prototype = { - get$attributes: function(receiver) { - return new W._ElementAttributeMap(receiver); - }, - set$attributes: function(receiver, value) { - var t1, t2, t3; - type$.Map_String_String._as(value); - new W._ElementAttributeMap(receiver).clear$0(0); - for (t1 = value.get$keys(value), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = value.$index(0, t2); - t3.toString; - receiver.setAttribute(t2, t3); - } - }, - get$classes: function(receiver) { - return new W._ElementCssClassSet(receiver); - }, - get$offset: function(receiver) { - return P.Rectangle$(C.JSNumber_methods.round$0(receiver.offsetLeft), C.JSNumber_methods.round$0(receiver.offsetTop), C.JSNumber_methods.round$0(receiver.offsetWidth), C.JSNumber_methods.round$0(receiver.offsetHeight), type$.num); - }, - toString$0: function(receiver) { - return receiver.localName; - }, - matches$1: function(receiver, selectors) { - if (!!receiver.matches) - return receiver.matches(selectors); - else if (!!receiver.webkitMatchesSelector) - return receiver.webkitMatchesSelector(selectors); - else if (!!receiver.mozMatchesSelector) - return receiver.mozMatchesSelector(selectors); - else if (!!receiver.msMatchesSelector) - return receiver.msMatchesSelector(selectors); - else if (!!receiver.oMatchesSelector) - return receiver.oMatchesSelector(selectors); - else - throw H.wrapException(P.UnsupportedError$("Not supported on this platform")); - }, - matchesWithAncestors$1: function(receiver, selectors) { - var elem = receiver; - do { - if (J.matches$1$x(elem, selectors)) - return true; - elem = elem.parentElement; - } while (elem != null); - return false; - }, - createFragment$3$treeSanitizer$validator: function(receiver, html, treeSanitizer, validator) { - var t1, t2, contextElement, fragment; - if (treeSanitizer == null) { - t1 = $.Element__defaultValidator; - if (t1 == null) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_NodeValidator); - t2 = new W.NodeValidatorBuilder(t1); - C.JSArray_methods.add$1(t1, W._Html5NodeValidator$(null)); - C.JSArray_methods.add$1(t1, W._TemplatingNodeValidator$()); - $.Element__defaultValidator = t2; - validator = t2; - } else - validator = t1; - t1 = $.Element__defaultSanitizer; - if (t1 == null) { - t1 = new W._ValidatingTreeSanitizer(validator); - $.Element__defaultSanitizer = t1; - treeSanitizer = t1; - } else { - t1.validator = validator; - treeSanitizer = t1; + A._JsonPrettyPrintMixin.prototype = { + writeList$1(list) { + var i, _this = this, + t1 = J.getInterceptor$asx(list), + t2 = t1.get$isEmpty(list), + t3 = _this._sink, + t4 = t3._contents; + if (t2) + t3._contents = t4 + "[]"; + else { + t3._contents = t4 + "[\n"; + _this.writeIndentation$1(++_this._JsonPrettyPrintMixin__indentLevel); + _this.writeObject$1(t1.$index(list, 0)); + i = 1; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return A.iae(t2); + if (!(i < t2)) + break; + t3._contents += ",\n"; + _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); + _this.writeObject$1(t1.$index(list, i)); + ++i; } + t3._contents += "\n"; + _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); + t3._contents += "]"; } - if ($.Element__parseDocument == null) { - t1 = document; - t2 = t1.implementation; - t2.toString; - t2 = C.DomImplementation_methods.createHtmlDocument$1(t2, ""); - $.Element__parseDocument = t2; - $.Element__parseRange = t2.createRange(); - t2 = $.Element__parseDocument.createElement("base"); - type$.BaseElement._as(t2); - t1 = t1.baseURI; - t1.toString; - t2.href = t1; - $.Element__parseDocument.head.appendChild(t2); - } - t1 = $.Element__parseDocument; - if (t1.body == null) { - t2 = t1.createElement("body"); - C.HtmlDocument_methods.set$body(t1, type$.BodyElement._as(t2)); - } - t1 = $.Element__parseDocument; - if (type$.BodyElement._is(receiver)) { - t1 = t1.body; - t1.toString; - contextElement = t1; - } else { - t1.toString; - contextElement = t1.createElement(receiver.tagName); - $.Element__parseDocument.body.appendChild(contextElement); + }, + writeMap$1(map) { + var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this._sink._contents += "{}"; + return true; } - if ("createContextualFragment" in window.Range.prototype && !C.JSArray_methods.contains$1(C.List_ego, receiver.tagName)) { - $.Element__parseRange.selectNodeContents(contextElement); - t1 = $.Element__parseRange; - fragment = t1.createContextualFragment(html); - } else { - J.set$_innerHtml$x(contextElement, html); - fragment = $.Element__parseDocument.createDocumentFragment(); - for (; t1 = contextElement.firstChild, t1 != null;) - fragment.appendChild(t1); + t2 = t1.get$length(map); + if (typeof t2 !== "number") + return t2.$mul(); + t2 *= 2; + keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new A._JsonPrettyPrintMixin_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) + return false; + t1 = _this._sink; + t1._contents += "{\n"; + ++_this._JsonPrettyPrintMixin__indentLevel; + for (separator = ""; i < t2; i += 2, separator = ",\n") { + t1._contents += separator; + _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); + t1._contents += '"'; + _this.writeStringContent$1(A._asStringS(keyValueList[i])); + t1._contents += '": '; + t3 = i + 1; + if (!(t3 < t2)) + return A.ioore(keyValueList, t3); + _this.writeObject$1(keyValueList[t3]); } - if (contextElement !== $.Element__parseDocument.body) - J.remove$0$ax(contextElement); - treeSanitizer.sanitizeTree$1(fragment); - document.adoptNode(fragment); - return fragment; - }, - get$innerHtml: function(receiver) { - return receiver.innerHTML; - }, - click$0: function(receiver) { - return receiver.click(); - }, - set$_innerHtml: function(receiver, value) { - receiver.innerHTML = value; - }, - get$tagName: function(receiver) { - return receiver.tagName; - }, - getBoundingClientRect$0: function(receiver) { - return receiver.getBoundingClientRect(); - }, - get$onClick: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); - }, - get$onMouseDown: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); - }, - get$onTouchStart: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); - }, - $isElement: 1 - }; - W.Element_Element$html_closure.prototype = { - call$1: function(e) { - return type$.Element._is(type$.Node._as(e)); - }, - $signature: 165 - }; - W.Entry.prototype = { - _html$_remove$2: function(receiver, successCallback, errorCallback) { - type$.void_Function._as(successCallback); - type$.nullable_void_Function_DomException._as(errorCallback); - return receiver.remove(H.convertDartClosureToJS(successCallback, 0), H.convertDartClosureToJS(errorCallback, 1)); - }, - remove$0: function(receiver) { - var t1 = new P._Future($.Zone__current, type$._Future_dynamic), - completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_dynamic); - this._html$_remove$2(receiver, new W.Entry_remove_closure(completer), new W.Entry_remove_closure0(completer)); - return t1; - } - }; - W.Entry_remove_closure.prototype = { - call$0: function() { - this.completer.complete$0(0); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 - }; - W.Entry_remove_closure0.prototype = { - call$1: function(error) { - this.completer.completeError$1(type$.DomException._as(error)); - }, - $signature: 289 - }; - W.ErrorEvent.prototype = { - get$message: function(receiver) { - return receiver.message; + t1._contents += "\n"; + _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); + t1._contents += "}"; + return true; } }; - W.Event.prototype = { - get$currentTarget: function(receiver) { - return W._convertNativeToDart_EventTarget(receiver.currentTarget); - }, - get$target: function(receiver) { - return W._convertNativeToDart_EventTarget(receiver.target); - }, - _initEvent$3: function(receiver, type, bubbles, cancelable) { - return receiver.initEvent(type, true, true); - }, - preventDefault$0: function(receiver) { - return receiver.preventDefault(); - }, - stopPropagation$0: function(receiver) { - return receiver.stopPropagation(); + A._JsonPrettyPrintMixin_writeMap_closure.prototype = { + call$2(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + B.JSArray_methods.$indexSet(t1, t2.i++, key); + B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $isEvent: 1 + $signature: 89 }; - W.Events.prototype = { - $index: function(_, type) { - return new W._EventStream(this._ptr, H._asStringS(type), false, type$._EventStream_Event); + A._JsonStringStringifier.prototype = { + get$_partialResult() { + var t1 = this._sink._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - W.ElementEvents.prototype = { - $index: function(_, type) { - H._asStringS(type); - if ($.ElementEvents_webkitEvents.get$keys($.ElementEvents_webkitEvents).contains$1(0, type.toLowerCase())) - if ($.$get$Device_isWebKit()) - return new W._ElementEventStreamImpl(this._ptr, $.ElementEvents_webkitEvents.$index(0, type.toLowerCase()), false, type$._ElementEventStreamImpl_Event); - return new W._ElementEventStreamImpl(this._ptr, type, false, type$._ElementEventStreamImpl_Event); + A._JsonStringStringifierPretty.prototype = { + writeIndentation$1(count) { + var t1, t2, i; + for (t1 = this._indent, t2 = this._sink, i = 0; i < count; ++i) + t2._contents += t1; } }; - W.EventTarget.prototype = { - addEventListener$3: function(receiver, type, listener, useCapture) { - type$.nullable_dynamic_Function_Event._as(listener); - if (listener != null) - this._addEventListener$3(receiver, type, listener, useCapture); - }, - addEventListener$2: function($receiver, type, listener) { - return this.addEventListener$3($receiver, type, listener, null); - }, - removeEventListener$3: function(receiver, type, listener, useCapture) { - type$.nullable_dynamic_Function_Event._as(listener); - if (listener != null) - this._removeEventListener$3(receiver, type, listener, useCapture); - }, - removeEventListener$2: function($receiver, type, listener) { - return this.removeEventListener$3($receiver, type, listener, null); + A.Latin1Codec.prototype = { + get$name(_) { + return "iso-8859-1"; }, - _addEventListener$3: function(receiver, type, listener, options) { - return receiver.addEventListener(type, H.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + encode$1(source) { + return B.Latin1Encoder_255.convert$1(source); }, - _removeEventListener$3: function(receiver, type, listener, options) { - return receiver.removeEventListener(type, H.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + decode$1(_, bytes) { + var t1; + type$.List_int._as(bytes); + t1 = B.Latin1Decoder_false_255.convert$1(bytes); + return t1; }, - $isEventTarget: 1 + get$encoder() { + return B.Latin1Encoder_255; + } }; - W.File.prototype = {$isFile: 1}; - W.FileList.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.File._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); - }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); - }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + A.Latin1Encoder.prototype = {}; + A.Latin1Decoder.prototype = {}; + A.Utf8Codec.prototype = { + get$name(_) { + return "utf-8"; }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1, - $isFileList: 1 - }; - W.FileReader.prototype = { - get$result: function(receiver) { - var res = receiver.result; - if (type$.ByteBuffer._is(res)) - return C.NativeByteBuffer_methods.asUint8List$2(res, 0, null); - return res; + decode$1(_, codeUnits) { + type$.List_int._as(codeUnits); + return B.Utf8Decoder_false.convert$1(codeUnits); }, - $isFileReader: 1 - }; - W.FileWriter.prototype = { - get$length: function(receiver) { - return receiver.length; + get$encoder() { + return B.C_Utf8Encoder; } }; - W.FontFace.prototype = {$isFontFace: 1}; - W.FontFaceSet.prototype = { - add$1: function(receiver, arg) { - return receiver.add(type$.FontFace._as(arg)); + A.Utf8Encoder.prototype = { + convert$1(string) { + var end, $length, t1, encoder; + A._asStringS(string); + end = A.RangeError_checkValidRange(0, null, string.length); + if (typeof end !== "number") + return end.$sub(); + $length = end - 0; + if ($length === 0) + return new Uint8Array(0); + t1 = new Uint8Array($length * 3); + encoder = new A._Utf8Encoder(t1); + if (encoder._fillBuffer$3(string, 0, end) !== end) { + B.JSString_methods.codeUnitAt$1(string, end - 1); + encoder._writeReplacementCharacter$0(); + } + return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); } }; - W.FormElement.prototype = { - get$length: function(receiver) { - return receiver.length; + A._Utf8Encoder.prototype = { + _writeReplacementCharacter$0() { + var _this = this, + t1 = _this._convert$_buffer, + t2 = _this._bufferIndex, + t3 = _this._bufferIndex = t2 + 1, + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 239; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = 191; + _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 189; }, - get$target: function(receiver) { - return receiver.target; - } - }; - W.Gamepad.prototype = {$isGamepad: 1}; - W.GamepadButton.prototype = { - get$value: function(receiver) { - return receiver.value; + _writeSurrogate$2(leadingSurrogate, nextCodeUnit) { + var rune, t1, t2, t3, t4, _this = this; + if ((nextCodeUnit & 64512) === 56320) { + rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t3 = _this._bufferIndex = t2 + 1; + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 18 | 240; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune >>> 12 & 63 | 128; + t3 = _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune & 63 | 128; + return true; + } else { + _this._writeReplacementCharacter$0(); + return false; + } + }, + _fillBuffer$3(str, start, end) { + var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this; + if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296) + --end; + for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { + codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex); + if (codeUnit <= 127) { + t3 = _this._bufferIndex; + if (t3 >= t2) + break; + _this._bufferIndex = t3 + 1; + t1[t3] = codeUnit; + } else { + t3 = codeUnit & 64512; + if (t3 === 55296) { + if (_this._bufferIndex + 4 > t2) + break; + stringIndex0 = stringIndex + 1; + if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0))) + stringIndex = stringIndex0; + } else if (t3 === 56320) { + if (_this._bufferIndex + 3 > t2) + break; + _this._writeReplacementCharacter$0(); + } else if (codeUnit <= 2047) { + t3 = _this._bufferIndex; + t4 = t3 + 1; + if (t4 >= t2) + break; + _this._bufferIndex = t4; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 6 | 192; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit & 63 | 128; + } else { + t3 = _this._bufferIndex; + if (t3 + 2 >= t2) + break; + t4 = _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 12 | 224; + t3 = _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit & 63 | 128; + } + } + } + return stringIndex; } }; - W.History.prototype = { - get$length: function(receiver) { - return receiver.length; + A.Utf8Decoder.prototype = { + convert$1(codeUnits) { + var t1, result; + type$.List_int._as(codeUnits); + t1 = this._allowMalformed; + result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null); + if (result != null) + return result; + return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true); } }; - W.HtmlCollection.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Node._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); - }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + A._Utf8Decoder.prototype = { + convertGeneral$4(codeUnits, start, maybeEnd, single) { + var end, bytes, errorOffset, result, t1, message, _this = this; + type$.List_int._as(codeUnits); + end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits)); + if (start === end) + return ""; + if (type$.Uint8List._is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end); + if (typeof end !== "number") + return end.$sub(); + end -= start; + errorOffset = start; + start = 0; + } + result = _this._convertRecursive$4(bytes, start, end, true); + t1 = _this._convert$_state; + if ((t1 & 1) !== 0) { + message = A._Utf8Decoder_errorDescription(t1); + _this._convert$_state = 0; + throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); + } + return result; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); - }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + _convertRecursive$4(bytes, start, end, single) { + var mid, s1, _this = this; + if (typeof end !== "number") + return end.$sub(); + if (end - start > 1000) { + mid = B.JSInt_methods._tdivFast$1(start + end, 2); + s1 = _this._convertRecursive$4(bytes, start, mid, false); + if ((_this._convert$_state & 1) !== 0) + return s1; + return s1 + _this._convertRecursive$4(bytes, mid, end, single); + } + return _this.decodeGeneral$4(bytes, start, end, single); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1, - $isHtmlCollection: 1 - }; - W.HtmlDocument.prototype = { - set$body: function(receiver, value) { - receiver.body = value; + decodeGeneral$4(bytes, start, end, single) { + var t2, type, t3, i0, markEnd, i1, m, _this = this, _65533 = 65533, + state = _this._convert$_state, + char = _this._charOrIndex, + buffer = new A.StringBuffer(""), + i = start + 1, + t1 = J.getInterceptor$asx(bytes), + byte = t1.$index(bytes, start); + $label0$0: + for (t2 = _this.allowMalformed; true;) { + for (; true; i = i0) { + type = B.JSString_methods.codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; + char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; + state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type); + if (state === 0) { + buffer._contents += A.Primitives_stringFromCharCode(char); + if (i === end) + break $label0$0; + break; + } else if ((state & 1) !== 0) { + if (t2) + switch (state) { + case 69: + case 67: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + break; + case 65: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + --i; + break; + default: + t3 = buffer._contents += A.Primitives_stringFromCharCode(_65533); + buffer._contents = t3 + A.Primitives_stringFromCharCode(_65533); + break; + } + else { + _this._convert$_state = state; + _this._charOrIndex = i - 1; + return ""; + } + state = 0; + } + if (i === end) + break $label0$0; + i0 = i + 1; + byte = t1.$index(bytes, i); + } + i0 = i + 1; + byte = t1.$index(bytes, i); + if (byte < 128) { + while (true) { + if (!(i0 < end)) { + markEnd = end; + break; + } + i1 = i0 + 1; + byte = t1.$index(bytes, i0); + if (byte >= 128) { + markEnd = i1 - 1; + i0 = i1; + break; + } + i0 = i1; + } + if (markEnd - i < 20) + for (m = i; m < markEnd; ++m) + buffer._contents += A.Primitives_stringFromCharCode(t1.$index(bytes, m)); + else + buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd); + if (markEnd === end) + break $label0$0; + i = i0; + } else + i = i0; + } + if (single && state > 32) + if (t2) + buffer._contents += A.Primitives_stringFromCharCode(_65533); + else { + _this._convert$_state = 77; + _this._charOrIndex = end; + return ""; + } + _this._convert$_state = state; + _this._charOrIndex = char; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - W.HttpRequest.prototype = { - get$responseHeaders: function(receiver) { - var headersList, _i, header, t2, splitIdx, key, value, - t1 = type$.String, - headers = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), - headersString = receiver.getAllResponseHeaders(); - if (headersString == null) - return headers; - headersList = headersString.split("\r\n"); - for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { - header = headersList[_i]; - header.toString; - t2 = J.getInterceptor$asx(header); - if (t2.get$length(header) === 0) - continue; - splitIdx = t2.indexOf$1(header, ": "); - if (splitIdx === -1) - continue; - key = t2.substring$2(header, 0, splitIdx).toLowerCase(); - value = t2.substring$1(header, splitIdx + 2); - if (headers.containsKey$1(0, key)) - headers.$indexSet(0, key, H.S(headers.$index(0, key)) + ", " + value); - else - headers.$indexSet(0, key, value); + A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin.prototype = {}; + A.NoSuchMethodError_toString_closure.prototype = { + call$2(key, value) { + var t1, t2, t3; + type$.Symbol._as(key); + t1 = this.sb; + t2 = this._box_0; + t3 = t1._contents += t2.comma; + t3 += A.S(key.__internal$_name); + t1._contents = t3; + t1._contents = t3 + ": "; + t1._contents += A.Error_safeToString(value); + t2.comma = ", "; + }, + $signature: 266 + }; + A._BigIntImpl.prototype = { + $negate(_) { + var t2, t3, _this = this, + t1 = _this._used; + if (t1 === 0) + return _this; + t2 = !_this._isNegative; + t3 = _this._digits; + t1 = A._BigIntImpl__normalize(t1, t3); + return new A._BigIntImpl(t1 === 0 ? false : t2, t3, t1); + }, + _drShift$1(n) { + var resultUsed, digits, resultDigits, t1, i, t2, t3, result, _this = this, + used = _this._used; + if (used === 0) + return $.$get$_BigIntImpl_zero(); + resultUsed = used - n; + if (resultUsed <= 0) + return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); + digits = _this._digits; + resultDigits = new Uint16Array(resultUsed); + for (t1 = digits.length, i = n; i < used; ++i) { + t2 = i - n; + if (!(i >= 0 && i < t1)) + return A.ioore(digits, i); + t3 = digits[i]; + if (!(t2 < resultUsed)) + return A.ioore(resultDigits, t2); + resultDigits[t2] = t3; } - return headers; + t2 = _this._isNegative; + t3 = A._BigIntImpl__normalize(resultUsed, resultDigits); + result = new A._BigIntImpl(t3 === 0 ? false : t2, resultDigits, t3); + if (t2) + for (i = 0; i < n; ++i) { + if (!(i < t1)) + return A.ioore(digits, i); + if (digits[i] !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + } + return result; }, - open$3$async: function(receiver, method, url, async) { - return receiver.open(method, url, true); + $shr(_, shiftAmount) { + var t1, digitShift, bitShift, resultUsed, digits, resultDigits, t2, result, i, _this = this; + if (typeof shiftAmount !== "number") + return shiftAmount.$lt(); + if (shiftAmount < 0) + throw A.wrapException(A.ArgumentError$("shift-amount must be posititve " + shiftAmount, null)); + t1 = _this._used; + if (t1 === 0) + return _this; + digitShift = B.JSInt_methods._tdivFast$1(shiftAmount, 16); + bitShift = B.JSInt_methods.$mod(shiftAmount, 16); + if (bitShift === 0) + return _this._drShift$1(digitShift); + resultUsed = t1 - digitShift; + if (resultUsed <= 0) + return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); + digits = _this._digits; + resultDigits = new Uint16Array(resultUsed); + A._BigIntImpl__rsh(digits, t1, shiftAmount, resultDigits); + t1 = _this._isNegative; + t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); + result = new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); + if (t1) { + t1 = digits.length; + if (!(digitShift >= 0 && digitShift < t1)) + return A.ioore(digits, digitShift); + if ((digits[digitShift] & B.JSInt_methods.$shl(1, bitShift) - 1) !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + for (i = 0; i < digitShift; ++i) { + if (!(i < t1)) + return A.ioore(digits, i); + if (digits[i] !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + } + } + return result; }, - set$withCredentials: function(receiver, value) { - receiver.withCredentials = false; + compareTo$1(_, other) { + var t1, result; + type$._BigIntImpl._as(other); + t1 = this._isNegative; + if (t1 === other._isNegative) { + result = A._BigIntImpl__compareDigits(this._digits, this._used, other._digits, other._used); + return t1 ? 0 - result : result; + } + return t1 ? -1 : 1; }, - send$1: function(receiver, body_OR_data) { - return receiver.send(body_OR_data); + _absAddSetSign$2(other, isNegative) { + var resultUsed, resultDigits, t1, _this = this, + used = _this._used, + otherUsed = other._used; + if (used < otherUsed) + return other._absAddSetSign$2(_this, isNegative); + if (used === 0) + return $.$get$_BigIntImpl_zero(); + if (otherUsed === 0) + return _this._isNegative === isNegative ? _this : _this.$negate(0); + resultUsed = used + 1; + resultDigits = new Uint16Array(resultUsed); + A._BigIntImpl__absAdd(_this._digits, used, other._digits, otherUsed, resultDigits); + t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, - setRequestHeader$2: function(receiver, $name, value) { - return receiver.setRequestHeader(H._asStringS($name), H._asStringS(value)); + _absSubSetSign$2(other, isNegative) { + var otherUsed, resultDigits, t1, _this = this, + used = _this._used; + if (used === 0) + return $.$get$_BigIntImpl_zero(); + otherUsed = other._used; + if (otherUsed === 0) + return _this._isNegative === isNegative ? _this : _this.$negate(0); + resultDigits = new Uint16Array(used); + A._BigIntImpl__absSub(_this._digits, used, other._digits, otherUsed, resultDigits); + t1 = A._BigIntImpl__normalize(used, resultDigits); + return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, - $isHttpRequest: 1 - }; - W.HttpRequest_getString_closure.prototype = { - call$1: function(xhr) { - var t1 = type$.HttpRequest._as(xhr).responseText; - t1.toString; - return t1; + $add(_, other) { + var t2, isNegative, _this = this, + t1 = _this._used; + if (t1 === 0) + return other; + t2 = other._used; + if (t2 === 0) + return _this; + isNegative = _this._isNegative; + if (isNegative === other._isNegative) + return _this._absAddSetSign$2(other, isNegative); + if (A._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) + return _this._absSubSetSign$2(other, isNegative); + return other._absSubSetSign$2(_this, !isNegative); }, - $signature: 294 - }; - W.HttpRequest_request_closure.prototype = { - call$1: function(e) { - var t1, t2, accepted, unknownRedirect, t3; - type$.ProgressEvent._as(e); - t1 = this.xhr; - t2 = t1.status; - t2.toString; - accepted = t2 >= 200 && t2 < 300; - unknownRedirect = t2 > 307 && t2 < 400; - t2 = accepted || t2 === 0 || t2 === 304 || unknownRedirect; - t3 = this.completer; - if (t2) - t3.complete$1(0, t1); - else - t3.completeError$1(e); + $sub(_, other) { + var t1, t2, isNegative, _this = this; + type$._BigIntImpl._as(other); + t1 = _this._used; + if (t1 === 0) + return other.$negate(0); + t2 = other._used; + if (t2 === 0) + return _this; + isNegative = _this._isNegative; + if (isNegative !== other._isNegative) + return _this._absAddSetSign$2(other, isNegative); + if (A._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) + return _this._absSubSetSign$2(other, isNegative); + return other._absSubSetSign$2(_this, !isNegative); }, - $signature: 300 - }; - W.HttpRequestEventTarget.prototype = {}; - W.IFrameElement.prototype = {$isIFrameElement: 1}; - W.ImageData.prototype = {$isImageData: 1}; - W.ImageElement.prototype = { - set$src: function(receiver, value) { - receiver.src = value; + $mul(_, other) { + var resultUsed, digits, otherDigits, resultDigits, t1, i, t2, + used = this._used, + otherUsed = other._used; + if (used === 0 || otherUsed === 0) + return $.$get$_BigIntImpl_zero(); + resultUsed = used + otherUsed; + digits = this._digits; + otherDigits = other._digits; + resultDigits = new Uint16Array(resultUsed); + for (t1 = otherDigits.length, i = 0; i < otherUsed;) { + if (!(i < t1)) + return A.ioore(otherDigits, i); + A._BigIntImpl__mulAdd(otherDigits[i], digits, 0, resultDigits, i, used); + ++i; + } + t1 = this._isNegative !== other._isNegative; + t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); + return new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); }, - $isCanvasImageSource: 1 - }; - W.InputElement.prototype = { - get$checked: function(receiver) { - return receiver.checked; + _div$1(other) { + var t1, t2, lastQuo_used, quo_digits, quo; + if (this._used < other._used) + return $.$get$_BigIntImpl_zero(); + this._divRem$1(other); + t1 = $._BigIntImpl____lastQuoRemUsed._readField$0(); + t2 = $._BigIntImpl____lastRemUsed._readField$0(); + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + lastQuo_used = t1 - t2; + quo_digits = A._BigIntImpl__cloneDigits($._BigIntImpl____lastQuoRemDigits._readField$0(), $._BigIntImpl____lastRemUsed._readField$0(), $._BigIntImpl____lastQuoRemUsed._readField$0(), lastQuo_used); + t2 = A._BigIntImpl__normalize(lastQuo_used, quo_digits); + quo = new A._BigIntImpl(false, quo_digits, t2); + return this._isNegative !== other._isNegative && t2 > 0 ? quo.$negate(0) : quo; + }, + _rem$1(other) { + var remDigits, t1, rem, _this = this; + if (_this._used < other._used) + return _this; + _this._divRem$1(other); + remDigits = A._BigIntImpl__cloneDigits($._BigIntImpl____lastQuoRemDigits._readField$0(), 0, $._BigIntImpl____lastRemUsed._readField$0(), $._BigIntImpl____lastRemUsed._readField$0()); + t1 = A._BigIntImpl__normalize($._BigIntImpl____lastRemUsed._readField$0(), remDigits); + rem = new A._BigIntImpl(false, remDigits, t1); + t1 = $._BigIntImpl____lastRem_nsh._readField$0(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 0) + rem = rem.$shr(0, $._BigIntImpl____lastRem_nsh._readField$0()); + return _this._isNegative && rem._used > 0 ? rem.$negate(0) : rem; }, - get$value: function(receiver) { - return receiver.value; + _divRem$1(other) { + var yDigits, yUsed, t1, nsh, yDigits0, yUsed0, resultDigits, resultUsed0, topDigitDivisor, j, tmpDigits, tmpUsed, resultUsed1, t2, nyDigits, i, estimatedQuotientDigit, _this = this, + resultUsed = _this._used; + if (resultUsed === $._BigIntImpl__lastDividendUsed && other._used === $._BigIntImpl__lastDivisorUsed && _this._digits === $._BigIntImpl__lastDividendDigits && other._digits === $._BigIntImpl__lastDivisorDigits) + return; + yDigits = other._digits; + yUsed = other._used; + t1 = yUsed - 1; + if (!(t1 >= 0 && t1 < yDigits.length)) + return A.ioore(yDigits, t1); + nsh = 16 - B.JSInt_methods.get$bitLength(yDigits[t1]); + if (nsh > 0) { + yDigits0 = new Uint16Array(yUsed + 5); + yUsed0 = A._BigIntImpl__lShiftDigits(yDigits, yUsed, nsh, yDigits0); + resultDigits = new Uint16Array(resultUsed + 5); + resultUsed0 = A._BigIntImpl__lShiftDigits(_this._digits, resultUsed, nsh, resultDigits); + } else { + resultDigits = A._BigIntImpl__cloneDigits(_this._digits, 0, resultUsed, resultUsed + 2); + yUsed0 = yUsed; + yDigits0 = yDigits; + resultUsed0 = resultUsed; + } + t1 = yUsed0 - 1; + if (!(t1 >= 0 && t1 < yDigits0.length)) + return A.ioore(yDigits0, t1); + topDigitDivisor = yDigits0[t1]; + j = resultUsed0 - yUsed0; + tmpDigits = new Uint16Array(resultUsed0); + tmpUsed = A._BigIntImpl__dlShiftDigits(yDigits0, yUsed0, j, tmpDigits); + resultUsed1 = resultUsed0 + 1; + t1 = resultDigits.length; + if (A._BigIntImpl__compareDigits(resultDigits, resultUsed0, tmpDigits, tmpUsed) >= 0) { + if (!(resultUsed0 >= 0 && resultUsed0 < t1)) + return A.ioore(resultDigits, resultUsed0); + resultDigits[resultUsed0] = 1; + A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + } else { + if (!(resultUsed0 >= 0 && resultUsed0 < t1)) + return A.ioore(resultDigits, resultUsed0); + resultDigits[resultUsed0] = 0; + } + t2 = yUsed0 + 2; + nyDigits = new Uint16Array(t2); + if (!(yUsed0 >= 0 && yUsed0 < t2)) + return A.ioore(nyDigits, yUsed0); + nyDigits[yUsed0] = 1; + A._BigIntImpl__absSub(nyDigits, yUsed0 + 1, yDigits0, yUsed0, nyDigits); + i = resultUsed0 - 1; + for (; j > 0;) { + estimatedQuotientDigit = A._BigIntImpl__estimateQuotientDigit(topDigitDivisor, resultDigits, i); + --j; + A._BigIntImpl__mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed0); + if (!(i >= 0 && i < t1)) + return A.ioore(resultDigits, i); + if (resultDigits[i] < estimatedQuotientDigit) { + tmpUsed = A._BigIntImpl__dlShiftDigits(nyDigits, yUsed0, j, tmpDigits); + A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + for (; --estimatedQuotientDigit, resultDigits[i] < estimatedQuotientDigit;) + A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + } + --i; + } + $._BigIntImpl__lastDividendDigits = _this._digits; + $._BigIntImpl__lastDividendUsed = resultUsed; + $._BigIntImpl__lastDivisorDigits = yDigits; + $._BigIntImpl__lastDivisorUsed = yUsed; + $._BigIntImpl____lastQuoRemDigits._value = resultDigits; + $._BigIntImpl____lastQuoRemUsed._value = resultUsed1; + $._BigIntImpl____lastRemUsed._value = yUsed0; + $._BigIntImpl____lastRem_nsh._value = nsh; }, - set$value: function(receiver, value) { - receiver.value = value; + get$hashCode(_) { + var hash, t2, t3, i, + combine = new A._BigIntImpl_hashCode_combine(), + t1 = this._used; + if (t1 === 0) + return 6707; + hash = this._isNegative ? 83585 : 429689; + for (t2 = this._digits, t3 = t2.length, i = 0; i < t1; ++i) { + if (!(i < t3)) + return A.ioore(t2, i); + hash = combine.call$2(hash, t2[i]); + } + return new A._BigIntImpl_hashCode_finish().call$1(hash); }, - setSelectionRange$2: function(receiver, start, end) { - return receiver.setSelectionRange(start, end); + $eq(_, other) { + if (other == null) + return false; + return other instanceof A._BigIntImpl && this.compareTo$1(0, other) === 0; }, - $isInputElement: 1, - $isFileUploadInputElement: 1 - }; - W.IntersectionObserverEntry.prototype = { - get$target: function(receiver) { - return receiver.target; - } + toString$0(_) { + var decimalDigitChunks, rest, t2, digits4, t3, _this = this, + t1 = _this._used; + if (t1 === 0) + return "0"; + if (t1 === 1) { + if (_this._isNegative) { + t1 = _this._digits; + if (0 >= t1.length) + return A.ioore(t1, 0); + return B.JSInt_methods.toString$0(-t1[0]); + } + t1 = _this._digits; + if (0 >= t1.length) + return A.ioore(t1, 0); + return B.JSInt_methods.toString$0(t1[0]); + } + decimalDigitChunks = A._setArrayType([], type$.JSArray_String); + t1 = _this._isNegative; + rest = t1 ? _this.$negate(0) : _this; + for (; rest._used > 1;) { + t2 = $.$get$_BigIntImpl__bigInt10000(); + if (t2._used === 0) + A.throwExpression(B.C_IntegerDivisionByZeroException); + digits4 = J.toString$0$(rest._rem$1(t2)); + B.JSArray_methods.add$1(decimalDigitChunks, digits4); + t3 = digits4.length; + if (t3 === 1) + B.JSArray_methods.add$1(decimalDigitChunks, "000"); + if (t3 === 2) + B.JSArray_methods.add$1(decimalDigitChunks, "00"); + if (t3 === 3) + B.JSArray_methods.add$1(decimalDigitChunks, "0"); + rest = rest._div$1(t2); + } + t2 = rest._digits; + if (0 >= t2.length) + return A.ioore(t2, 0); + B.JSArray_methods.add$1(decimalDigitChunks, B.JSInt_methods.toString$0(t2[0])); + if (t1) + B.JSArray_methods.add$1(decimalDigitChunks, "-"); + return new A.ReversedListIterable(decimalDigitChunks, type$.ReversedListIterable_String).join$0(0); + }, + $isBigInt: 1, + $isComparable: 1 }; - W.InterventionReport.prototype = { - get$message: function(receiver) { - return receiver.message; - } + A._BigIntImpl_hashCode_combine.prototype = { + call$2(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + $signature: 63 }; - W.KeyboardEvent.prototype = { - _initKeyboardEvent$10: function(receiver, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { - if (typeof receiver.initKeyEvent == "function") - receiver.initKeyEvent(type, true, true, view, true, false, false, false, 0, 0); - else - receiver.initKeyboardEvent(type, true, true, view, keyIdentifier, $location, true, false, false, false); + A._BigIntImpl_hashCode_finish.prototype = { + call$1(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; }, - get$keyCode: function(receiver) { - return receiver.keyCode; + $signature: 71 + }; + A.DateTime.prototype = { + add$1(_, duration) { + return A.DateTime$_withValue(this._core$_value + B.JSInt_methods._tdivFast$1(type$.Duration._as(duration)._duration, 1000), this.isUtc); }, - get$which: function(receiver) { - return receiver.which; + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.DateTime && this._core$_value === other._core$_value && this.isUtc === other.isUtc; }, - get$altKey: function(receiver) { - return receiver.altKey; + compareTo$1(_, other) { + return B.JSInt_methods.compareTo$1(this._core$_value, type$.DateTime._as(other)._core$_value); }, - get$ctrlKey: function(receiver) { - return receiver.ctrlKey; + DateTime$_withValue$2$isUtc(_value, isUtc) { + var t2, + t1 = this._core$_value; + if (Math.abs(t1) <= 864e13) + t2 = false; + else + t2 = true; + if (t2) + throw A.wrapException(A.ArgumentError$("DateTime is outside valid range: " + t1, null)); + A.checkNotNullable(this.isUtc, "isUtc", type$.bool); }, - get$metaKey: function(receiver) { - return receiver.metaKey; + get$hashCode(_) { + var t1 = this._core$_value; + return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; }, - get$repeat: function(receiver) { - return receiver.repeat; + toString$0(_) { + var _this = this, + y = A.DateTime__fourDigits(A.Primitives_getYear(_this)), + m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), + d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), + h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), + min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), + sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), + ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)), + t1 = y + "-" + m; + if (_this.isUtc) + return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; + else + return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; }, - get$shiftKey: function(receiver) { - return receiver.shiftKey; + toIso8601String$0() { + var _this = this, + y = A.Primitives_getYear(_this) >= -9999 && A.Primitives_getYear(_this) <= 9999 ? A.DateTime__fourDigits(A.Primitives_getYear(_this)) : A.DateTime__sixDigits(A.Primitives_getYear(_this)), + m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), + d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), + h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), + min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), + sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), + ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)), + t1 = y + "-" + m; + if (_this.isUtc) + return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; + else + return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms; }, - $isKeyboardEvent: 1 + $isComparable: 1 }; - W.LIElement.prototype = { - get$value: function(receiver) { - return receiver.value; + A.DateTime_parse_parseIntOrZero.prototype = { + call$1(matched) { + if (matched == null) + return 0; + return A.int_parse(matched, null); }, - set$value: function(receiver, value) { - receiver.value = value; - } + $signature: 160 }; - W.Location.prototype = { - toString$0: function(receiver) { - return String(receiver); + A.DateTime_parse_parseMilliAndMicroseconds.prototype = { + call$1(matched) { + var t1, result, i; + if (matched == null) + return 0; + for (t1 = matched.length, result = 0, i = 0; i < 6; ++i) { + result *= 10; + if (i < t1) + result += B.JSString_methods._codeUnitAt$1(matched, i) ^ 48; + } + return result; }, - $isLocation: 1 - }; - W.MediaElement.prototype = {}; - W.MediaError.prototype = { - get$message: function(receiver) { - return receiver.message; - } + $signature: 160 }; - W.MediaKeyMessageEvent.prototype = { - get$message: function(receiver) { - return receiver.message; - } + A.Duration.prototype = { + $sub(_, other) { + return new A.Duration(this._duration - type$.Duration._as(other)._duration); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Duration && this._duration === other._duration; + }, + get$hashCode(_) { + return B.JSInt_methods.get$hashCode(this._duration); + }, + compareTo$1(_, other) { + return B.JSInt_methods.compareTo$1(this._duration, type$.Duration._as(other)._duration); + }, + toString$0(_) { + var minutes, minutesPadding, seconds, secondsPadding, + microseconds = this._duration, + sign = microseconds < 0 ? "-" : "", + hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000); + microseconds %= 3600000000; + if (microseconds < 0) + microseconds = -microseconds; + minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000); + microseconds %= 60000000; + minutesPadding = minutes < 10 ? "0" : ""; + seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); + secondsPadding = seconds < 10 ? "0" : ""; + return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); + }, + $isComparable: 1 }; - W.MediaKeySession.prototype = { - remove$0: function(receiver) { - return P.promiseToFuture(receiver.remove(), type$.dynamic); + A._Enum.prototype = { + toString$0(_) { + return this._enumToString$0(); } }; - W.MediaList.prototype = { - get$length: function(receiver) { - return receiver.length; + A.Error.prototype = { + get$stackTrace() { + return A.getTraceFromException(this.$thrownJsError); } }; - W.MessagePort.prototype = { - addEventListener$3: function(receiver, type, listener, useCapture) { - type$.nullable_dynamic_Function_Event._as(listener); - if (type === "message") - receiver.start(); - this.super$EventTarget$addEventListener(receiver, type, listener, false); - }, - $isMessagePort: 1 - }; - W.MeterElement.prototype = { - get$value: function(receiver) { - return receiver.value; + A.AssertionError.prototype = { + toString$0(_) { + var t1 = this.message; + if (t1 != null) + return "Assertion failed: " + A.Error_safeToString(t1); + return "Assertion failed"; }, - set$value: function(receiver, value) { - receiver.value = value; + get$message(receiver) { + return this.message; } }; - W.MidiInputMap.prototype = { - containsKey$1: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; - }, - $index: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); - }, - forEach$1: function(receiver, f) { - var entries, entry; - type$.void_Function_String_dynamic._as(f); - entries = receiver.entries(); - for (; true;) { - entry = entries.next(); - if (entry.done) - return; - f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); - } - }, - get$keys: function(receiver) { - var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new W.MidiInputMap_keys_closure(keys)); - return keys; - }, - get$values: function(receiver) { - var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); - this.forEach$1(receiver, new W.MidiInputMap_values_closure(values)); - return values; - }, - get$length: function(receiver) { - return receiver.size; + A.TypeError.prototype = {}; + A.NullThrownError.prototype = { + toString$0(_) { + return "Throw of null."; }, - get$isEmpty: function(receiver) { - return receiver.size === 0; + $isTypeError: 1 + }; + A.ArgumentError.prototype = { + get$_errorName() { + return "Invalid argument" + (!this._hasValue ? "(s)" : ""); }, - get$isNotEmpty: function(receiver) { - return receiver.size !== 0; + get$_errorExplanation() { + return ""; }, - $indexSet: function(receiver, key, value) { - H._asStringS(key); - throw H.wrapException(P.UnsupportedError$("Not supported")); + toString$0(_) { + var _this = this, + $name = _this.name, + nameString = $name == null ? "" : " (" + $name + ")", + message = _this.message, + messageString = message == null ? "" : ": " + A.S(message), + prefix = _this.get$_errorName() + nameString + messageString; + if (!_this._hasValue) + return prefix; + return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue()); }, - remove$1: function(receiver, key) { - throw H.wrapException(P.UnsupportedError$("Not supported")); + get$invalidValue() { + return this.invalidValue; }, - $isMap: 1 + get$message(receiver) { + return this.message; + } }; - W.MidiInputMap_keys_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.keys, k); + A.RangeError.prototype = { + get$invalidValue() { + return A._asNumQ(this.invalidValue); }, - $signature: 31 - }; - W.MidiInputMap_values_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.values, v); + get$_errorName() { + return "RangeError"; }, - $signature: 31 + get$_errorExplanation() { + var explanation, + start = this.start, + end = this.end; + if (start == null) + explanation = end != null ? ": Not less than or equal to " + A.S(end) : ""; + else if (end == null) + explanation = ": Not greater than or equal to " + A.S(start); + else if (end > start) + explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end); + else + explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start); + return explanation; + } }; - W.MidiOutputMap.prototype = { - containsKey$1: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + A.IndexError.prototype = { + get$invalidValue() { + return A._asIntS(this.invalidValue); }, - $index: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + get$_errorName() { + return "RangeError"; }, - forEach$1: function(receiver, f) { - var entries, entry; - type$.void_Function_String_dynamic._as(f); - entries = receiver.entries(); - for (; true;) { - entry = entries.next(); - if (entry.done) - return; - f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); - } - }, - get$keys: function(receiver) { - var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new W.MidiOutputMap_keys_closure(keys)); - return keys; - }, - get$values: function(receiver) { - var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); - this.forEach$1(receiver, new W.MidiOutputMap_values_closure(values)); - return values; - }, - get$length: function(receiver) { - return receiver.size; - }, - get$isEmpty: function(receiver) { - return receiver.size === 0; - }, - get$isNotEmpty: function(receiver) { - return receiver.size !== 0; - }, - $indexSet: function(receiver, key, value) { - H._asStringS(key); - throw H.wrapException(P.UnsupportedError$("Not supported")); - }, - remove$1: function(receiver, key) { - throw H.wrapException(P.UnsupportedError$("Not supported")); + get$_errorExplanation() { + var t1, + invalidValue = A._asIntS(this.invalidValue); + if (typeof invalidValue !== "number") + return invalidValue.$lt(); + if (invalidValue < 0) + return ": index must not be negative"; + t1 = this.length; + if (t1 === 0) + return ": no indices are valid"; + return ": index should be less than " + A.S(t1); }, - $isMap: 1 + get$length(receiver) { + return this.length; + } }; - W.MidiOutputMap_keys_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.keys, k); - }, - $signature: 31 + A.NoSuchMethodError.prototype = { + toString$0(_) { + var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {}, + sb = new A.StringBuffer(""); + _box_0.comma = ""; + $arguments = _this._core$_arguments; + for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { + argument = $arguments[_i]; + sb._contents = t2 + t3; + t2 = sb._contents += A.Error_safeToString(argument); + _box_0.comma = ", "; + } + _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); + receiverText = A.Error_safeToString(_this._core$_receiver); + actualParameters = sb.toString$0(0); + return "NoSuchMethodError: method not found: '" + A.S(_this._core$_memberName.__internal$_name) + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; + } }; - W.MidiOutputMap_values_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.values, v); + A.UnsupportedError.prototype = { + toString$0(_) { + return "Unsupported operation: " + this.message; }, - $signature: 31 + get$message(receiver) { + return this.message; + } }; - W.MimeType.prototype = {$isMimeType: 1}; - W.MimeTypeArray.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.MimeType._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); - }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + A.UnimplementedError.prototype = { + toString$0(_) { + var message = this.message; + return message != null ? "UnimplementedError: " + message : "UnimplementedError"; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + get$message(receiver) { + return this.message; + } + }; + A.StateError.prototype = { + toString$0(_) { + return "Bad state: " + this.message; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + get$message(receiver) { + return this.message; + } + }; + A.ConcurrentModificationError.prototype = { + toString$0(_) { + var t1 = this.modifiedObject; + if (t1 == null) + return "Concurrent modification during iteration."; + return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + "."; + } + }; + A.OutOfMemoryError.prototype = { + toString$0(_) { + return "Out of Memory"; }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$stackTrace() { + return null; }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 + $isError: 1 }; - W.MouseEvent.prototype = { - get$button: function(receiver) { - return receiver.button; - }, - _initMouseEvent_1$15: function(receiver, type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { - return receiver.initMouseEvent(type, true, true, view, detail, screenX, screenY, clientX, clientY, false, false, false, false, button, relatedTarget); + A.StackOverflowError.prototype = { + toString$0(_) { + return "Stack Overflow"; }, - get$offset: function(receiver) { - var t1, t2, target, t3, t4, t5, point; - if (!!receiver.offsetX) - return new P.Point(receiver.offsetX, receiver.offsetY, type$.Point_num); - else { - t1 = receiver.target; - t2 = type$.Element; - if (!t2._is(W._convertNativeToDart_EventTarget(t1))) - throw H.wrapException(P.UnsupportedError$("offsetX is only supported on elements")); - target = t2._as(W._convertNativeToDart_EventTarget(t1)); - t1 = receiver.clientX; - t2 = receiver.clientY; - t3 = type$.Point_num; - t4 = target.getBoundingClientRect(); - t5 = t4.left; - t5.toString; - t4 = t4.top; - t4.toString; - point = new P.Point(t1, t2, t3).$sub(0, new P.Point(t5, t4, t3)); - return new P.Point(J.toInt$0$n(point.x), J.toInt$0$n(point.y), t3); - } + get$stackTrace() { + return null; }, - $isMouseEvent: 1 + $isError: 1 }; - W.MutationRecord.prototype = { - get$target: function(receiver) { - return receiver.target; + A.CyclicInitializationError.prototype = { + toString$0(_) { + var variableName = this.variableName; + return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + variableName + "' during its initialization"; } }; - W.NavigatorUserMediaError.prototype = { - get$message: function(receiver) { - return receiver.message; + A._Exception.prototype = { + toString$0(_) { + return "Exception: " + this.message; + }, + $isException: 1, + get$message(receiver) { + return this.message; } }; - W._ChildNodeListLazy.prototype = { - get$first: function(_) { - var result = this._this.firstChild; - if (result == null) - throw H.wrapException(P.StateError$("No elements")); - return result; - }, - get$last: function(_) { - var result = this._this.lastChild; - if (result == null) - throw H.wrapException(P.StateError$("No elements")); - return result; - }, - get$single: function(_) { - var t1 = this._this, - l = t1.childNodes.length; - if (l === 0) - throw H.wrapException(P.StateError$("No elements")); - if (l > 1) - throw H.wrapException(P.StateError$("More than one element")); - t1 = t1.firstChild; - t1.toString; - return t1; - }, - add$1: function(_, value) { - this._this.appendChild(type$.Node._as(value)); - }, - addAll$1: function(_, iterable) { - var t1, t2, len, i, t3; - type$.Iterable_Node._as(iterable); - if (iterable instanceof W._ChildNodeListLazy) { - t1 = iterable._this; - t2 = this._this; - if (t1 !== t2) - for (len = t1.childNodes.length, i = 0; i < len; ++i) { - t3 = t1.firstChild; - t3.toString; - t2.appendChild(t3); + A.FormatException.prototype = { + toString$0(_) { + var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, + message = this.message, + report = message != null && "" !== message ? "FormatException: " + A.S(message) : "FormatException", + offset = this.offset, + source = this.source; + if (typeof source == "string") { + if (offset != null) + t1 = offset < 0 || offset > source.length; + else + t1 = false; + if (t1) + offset = null; + if (offset == null) { + if (source.length > 78) + source = B.JSString_methods.substring$2(source, 0, 75) + "..."; + return report + "\n" + source; + } + for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + char = B.JSString_methods._codeUnitAt$1(source, i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) + ++lineNum; + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + ++lineNum; + lineStart = i + 1; + previousCharWasCR = true; } - return; - } - for (t1 = J.get$iterator$ax(iterable), t2 = this._this; t1.moveNext$0();) - t2.appendChild(t1.get$current(t1)); - }, - insert$2: function(_, index, node) { - var t1, t2, t3, _this = this; - type$.Node._as(node); - if (index < 0 || index > _this._this.childNodes.length) - throw H.wrapException(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); - t1 = _this._this; - t2 = t1.childNodes; - t3 = t2.length; - if (index === t3) - t1.appendChild(node); - else { - if (index < 0 || index >= t3) - return H.ioore(t2, index); - J.insertBefore$2$x(t1, node, t2[index]); - } - }, - insertAll$2: function(_, index, iterable) { - var t1, t2, t3; - type$.Iterable_Node._as(iterable); - t1 = this._this; - t2 = t1.childNodes; - t3 = t2.length; - if (index === t3) - this.addAll$1(0, iterable); - else { - if (index < 0 || index >= t3) - return H.ioore(t2, index); - J.insertAllBefore$2$x(t1, iterable, t2[index]); - } - }, - setAll$2: function(_, index, iterable) { - type$.Iterable_Node._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot setAll on Node list")); - }, - removeLast$0: function(_) { - var result = this.get$last(this); - this._this.removeChild(result); - return result; - }, - removeAt$1: function(_, index) { - var result, - t1 = this._this, - t2 = t1.childNodes; - if (index < 0 || index >= t2.length) - return H.ioore(t2, index); - result = t2[index]; - t1.removeChild(result); - return result; - }, - remove$1: function(_, object) { - var t1; - if (!type$.Node._is(object)) - return false; - t1 = this._this; - if (t1 !== object.parentNode) - return false; - t1.removeChild(object); - return true; - }, - _html$_filter$2: function(_, test, removeMatching) { - var t1, child, nextChild; - type$.bool_Function_Node._as(test); - t1 = this._this; - child = t1.firstChild; - for (; child != null; child = nextChild) { - nextChild = child.nextSibling; - if (J.$eq$(test.call$1(child), true)) - t1.removeChild(child); - } - }, - removeWhere$1: function(_, test) { - this._html$_filter$2(0, type$.bool_Function_Node._as(test), true); - }, - clear$0: function(_) { - J._clearChildren$0$x(this._this); + } + report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); + lineEnd = source.length; + for (i = offset; i < lineEnd; ++i) { + char = B.JSString_methods.codeUnitAt$1(source, i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + if (lineEnd - lineStart > 78) + if (offset - lineStart < 75) { + end = lineStart + 75; + start = lineStart; + prefix = ""; + postfix = "..."; + } else { + if (lineEnd - offset < 75) { + start = lineEnd - 75; + end = lineEnd; + postfix = ""; + } else { + start = offset - 36; + end = offset + 36; + postfix = "..."; + } + prefix = "..."; + } + else { + end = lineEnd; + start = lineStart; + prefix = ""; + postfix = ""; + } + return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; + } else + return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report; }, - $indexSet: function(_, index, value) { - var t1; - H._asIntS(index); - t1 = this._this; - t1.replaceChild(type$.Node._as(value), C.NodeList_methods.$index(t1.childNodes, index)); + $isException: 1, + get$message(receiver) { + return this.message; }, - get$iterator: function(_) { - var t1 = this._this.childNodes; - return new W.FixedSizeListIterator(t1, t1.length, H.instanceType(t1)._eval$1("FixedSizeListIterator")); + get$source(receiver) { + return this.source; }, - sort$1: function(_, compare) { - type$.nullable_int_Function_Node_Node._as(compare); - throw H.wrapException(P.UnsupportedError$("Cannot sort Node list")); + get$offset(receiver) { + return this.offset; + } + }; + A.IntegerDivisionByZeroException.prototype = { + get$message(_) { + return "Division resulted in non-finite value"; }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + get$stackTrace() { + return null; }, - setRange$4: function(_, start, end, iterable, skipCount) { - H._asIntS(end); - type$.Iterable_Node._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot setRange on Node list")); + toString$0(_) { + return "IntegerDivisionByZeroException"; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + $isError: 1, + $isException: 1 + }; + A.Iterable.prototype = { + cast$1$0(_, $R) { + return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R); }, - removeRange$2: function(_, start, end) { - throw H.wrapException(P.UnsupportedError$("Cannot removeRange on Node list")); + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(toElement), t1._eval$1("Iterable.E"), $T); }, - get$length: function(_) { - return this._this.childNodes.length; + map$1($receiver, toElement) { + return this.map$1$1($receiver, toElement, type$.dynamic); }, - set$length: function(_, value) { - throw H.wrapException(P.UnsupportedError$("Cannot set length on immutable List.")); + where$1(_, test) { + var t1 = A._instanceType(this); + return new A.WhereIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("WhereIterable")); }, - $index: function(_, index) { - H._asIntS(index); - return C.NodeList_methods.$index(this._this.childNodes, index); - } - }; - W.Node.prototype = { - remove$0: function(receiver) { - var t1 = receiver.parentNode; - if (t1 != null) - t1.removeChild(receiver); + whereType$1$0(_, $T) { + return new A.WhereTypeIterable(this, $T._eval$1("WhereTypeIterable<0>")); }, - replaceWith$1: function(receiver, otherNode) { - var $parent, t1, exception; - try { - t1 = receiver.parentNode; - t1.toString; - $parent = t1; - J._replaceChild$2$x($parent, otherNode, receiver); - } catch (exception) { - H.unwrapException(exception); - } - return receiver; + expand$1$1(_, toElements, $T) { + var t1 = A._instanceType(this); + return new A.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(Iterable.E)")._as(toElements), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, - insertAllBefore$2: function(receiver, newNodes, refChild) { + contains$1(_, element) { var t1; - type$.Iterable_Node._as(newNodes); - for (t1 = J.get$iterator$ax(newNodes); t1.moveNext$0();) - this.insertBefore$2(receiver, t1.get$current(t1), refChild); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (J.$eq$(t1.get$current(t1), element)) + return true; + return false; }, - _clearChildren$0: function(receiver) { + forEach$1(_, action) { var t1; - for (; t1 = receiver.firstChild, t1 != null;) - receiver.removeChild(t1); - }, - toString$0: function(receiver) { - var value = receiver.nodeValue; - return value == null ? this.super$Interceptor$toString(receiver) : value; - }, - set$text: function(receiver, value) { - receiver.textContent = value; + A._instanceType(this)._eval$1("~(Iterable.E)")._as(action); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + action.call$1(t1.get$current(t1)); }, - append$1: function(receiver, node) { - return receiver.appendChild(node); + every$1(_, test) { + var t1; + A._instanceType(this)._eval$1("bool(Iterable.E)")._as(test); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (!A.boolConversionCheck(test.call$1(t1.get$current(t1)))) + return false; + return true; }, - clone$1: function(receiver, deep) { - return receiver.cloneNode(true); + join$1(_, separator) { + var t1, + iterator = this.get$iterator(this); + if (!iterator.moveNext$0()) + return ""; + if (separator === "") { + t1 = ""; + do + t1 += A.S(J.toString$0$(iterator.get$current(iterator))); + while (iterator.moveNext$0()); + } else { + t1 = A.S(J.toString$0$(iterator.get$current(iterator))); + for (; iterator.moveNext$0();) + t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator))); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - contains$1: function(receiver, other) { - return receiver.contains(other); + join$0($receiver) { + return this.join$1($receiver, ""); }, - insertBefore$2: function(receiver, node, child) { - return receiver.insertBefore(node, child); + toList$1$growable(_, growable) { + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E")); }, - _replaceChild$2: function(receiver, node, child) { - return receiver.replaceChild(node, child); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - $isNode: 1 - }; - W.NodeList.prototype = { - get$length: function(receiver) { - return receiver.length; + toSet$0(_) { + var t1 = A.LinkedHashSet_LinkedHashSet(A._instanceType(this)._eval$1("Iterable.E")); + t1.addAll$1(0, this); + return t1; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + get$length(_) { + var count, + it = this.get$iterator(this); + for (count = 0; it.moveNext$0();) + ++count; + return count; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Node._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + get$isEmpty(_) { + return !this.get$iterator(this).moveNext$0(); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + get$isNotEmpty(_) { + return !this.get$isEmpty(this); }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + take$1(_, count) { + return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E")); }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + skip$1(_, count) { + return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E")); }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + skipWhile$1(_, test) { + var t1 = A._instanceType(this); + return new A.SkipWhileIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("SkipWhileIterable")); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$first(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + return it.get$current(it); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.OptionElement.prototype = { - get$value: function(receiver) { - return receiver.value; + get$last(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; }, - set$value: function(receiver, value) { - receiver.value = value; + get$single(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + result = it.get$current(it); + if (it.moveNext$0()) + throw A.wrapException(A.IterableElementError_tooMany()); + return result; }, - $isOptionElement: 1 - }; - W.OutputElement.prototype = { - get$value: function(receiver) { - return receiver.value; + elementAt$1(_, index) { + var t1, elementIndex, element; + A.RangeError_checkNotNegative(index, "index"); + for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { + element = t1.get$current(t1); + if (index === elementIndex) + return element; + ++elementIndex; + } + throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, "index")); }, - set$value: function(receiver, value) { - receiver.value = value; - } - }; - W.OverconstrainedError.prototype = { - get$message: function(receiver) { - return receiver.message; + toString$0(_) { + return A.IterableBase_iterableToShortString(this, "(", ")"); } }; - W.ParamElement.prototype = { - get$value: function(receiver) { - return receiver.value; + A.Iterator.prototype = {}; + A.MapEntry.prototype = { + toString$0(_) { + return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")"; }, - set$value: function(receiver, value) { - receiver.value = value; - } - }; - W.PaymentInstruments.prototype = { - keys$0: function(receiver) { - return P.promiseToFuture(receiver.keys(), type$.List_dynamic); + get$value(receiver) { + return this.value; } }; - W.Plugin.prototype = { - get$length: function(receiver) { - return receiver.length; + A.Null.prototype = { + get$hashCode(_) { + return A.Object.prototype.get$hashCode.call(this, this); }, - $isPlugin: 1 + toString$0(_) { + return "null"; + } }; - W.PluginArray.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Plugin._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + A.Object.prototype = {$isObject: 1, + $eq(_, other) { + return this === other; }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + get$hashCode(_) { + return A.Primitives_objectHashCode(this); }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + toString$0(_) { + return "Instance of '" + A.S(A.Primitives_objectTypeName(this)) + "'"; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + noSuchMethod$1(_, invocation) { + type$.Invocation._as(invocation); + throw A.wrapException(A.NoSuchMethodError$_(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$runtimeType(_) { + return A.getRuntimeType(this); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.PointerEvent.prototype = {$isPointerEvent: 1}; - W.PositionError.prototype = { - get$message: function(receiver) { - return receiver.message; - } - }; - W.PreElement.prototype = {}; - W.PresentationAvailability.prototype = { - get$value: function(receiver) { - return receiver.value; - } - }; - W.PresentationConnectionCloseEvent.prototype = { - get$message: function(receiver) { - return receiver.message; - } - }; - W.ProcessingInstruction.prototype = { - get$target: function(receiver) { - return receiver.target; + toString() { + return this.toString$0(this); } }; - W.ProgressElement.prototype = { - get$value: function(receiver) { - return receiver.value; + A._StringStackTrace.prototype = { + toString$0(_) { + return ""; }, - set$value: function(receiver, value) { - receiver.value = value; - } + $isStackTrace: 1 }; - W.ProgressEvent.prototype = {$isProgressEvent: 1}; - W.ReportBody.prototype = {}; - W.ResizeObserverEntry.prototype = { - get$target: function(receiver) { - return receiver.target; + A.Runes.prototype = { + get$iterator(_) { + return new A.RuneIterator(this.string); + }, + get$last(_) { + var code, previousCode, + t1 = this.string, + t2 = t1.length; + if (t2 === 0) + throw A.wrapException(A.StateError$("No elements.")); + code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1); + if ((code & 64512) === 56320 && t2 > 1) { + previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2); + if ((previousCode & 64512) === 55296) + return A._combineSurrogatePair(previousCode, code); + } + return code; } }; - W.RtcStatsReport.prototype = { - containsKey$1: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; - }, - $index: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + A.RuneIterator.prototype = { + get$current(_) { + return this._currentCodePoint; }, - forEach$1: function(receiver, f) { - var entries, entry; - type$.void_Function_String_dynamic._as(f); - entries = receiver.entries(); - for (; true;) { - entry = entries.next(); - if (entry.done) - return; - f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + moveNext$0() { + var codeUnit, nextPosition, nextCodeUnit, _this = this, + t1 = _this._core$_position = _this._nextPosition, + t2 = _this.string, + t3 = t2.length; + if (t1 === t3) { + _this._currentCodePoint = -1; + return false; } + codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1); + nextPosition = t1 + 1; + if ((codeUnit & 64512) === 55296 && nextPosition < t3) { + nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition); + if ((nextCodeUnit & 64512) === 56320) { + _this._nextPosition = nextPosition + 1; + _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit); + return true; + } + } + _this._nextPosition = nextPosition; + _this._currentCodePoint = codeUnit; + return true; }, - get$keys: function(receiver) { - var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new W.RtcStatsReport_keys_closure(keys)); - return keys; - }, - get$values: function(receiver) { - var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); - this.forEach$1(receiver, new W.RtcStatsReport_values_closure(values)); - return values; - }, - get$length: function(receiver) { - return receiver.size; - }, - get$isEmpty: function(receiver) { - return receiver.size === 0; - }, - get$isNotEmpty: function(receiver) { - return receiver.size !== 0; + $isIterator: 1 + }; + A.StringBuffer.prototype = { + get$length(_) { + return this._contents.length; }, - $indexSet: function(receiver, key, value) { - H._asStringS(key); - throw H.wrapException(P.UnsupportedError$("Not supported")); + write$1(_, obj) { + this._contents += A.S(obj); }, - remove$1: function(receiver, key) { - throw H.wrapException(P.UnsupportedError$("Not supported")); + toString$0(_) { + var t1 = this._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - $isMap: 1 + $isStringSink: 1 }; - W.RtcStatsReport_keys_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.keys, k); + A.Uri__parseIPv4Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, - $signature: 31 + $signature: 228 }; - W.RtcStatsReport_values_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.values, v); + A.Uri_parseIPv6Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, - $signature: 31 + $signature: 231 }; - W.SelectElement.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; + A.Uri_parseIPv6Address_parseHex.prototype = { + call$2(start, end) { + var value; + if (end - start > 4) + this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); + value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16); + if (value < 0 || value > 65535) + this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); + return value; }, - $isSelectElement: 1 + $signature: 63 }; - W.SourceBuffer.prototype = {$isSourceBuffer: 1}; - W.SourceBufferList.prototype = { - get$length: function(receiver) { - return receiver.length; - }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; - }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.SourceBuffer._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); - }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); - }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); - }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + A._Uri.prototype = { + get$_core$_text() { + var t1, t2, t3, t4, _this = this, + value = _this.___Uri__text_FI; + if (value === $) { + t1 = _this.scheme; + t2 = t1.length !== 0 ? t1 + ":" : ""; + t3 = _this._host; + t4 = t3 == null; + if (!t4 || t1 === "file") { + t1 = t2 + "//"; + t2 = _this._userInfo; + if (t2.length !== 0) + t1 = t1 + t2 + "@"; + if (!t4) + t1 += t3; + t2 = _this._port; + if (t2 != null) + t1 = t1 + ":" + A.S(t2); + } else + t1 = t2; + t1 += _this.path; + t2 = _this._query; + if (t2 != null) + t1 = t1 + "?" + t2; + t2 = _this._fragment; + if (t2 != null) + t1 = t1 + "#" + t2; + value !== $ && A.throwLateFieldADI("_text"); + value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1; + } + return value; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + get$pathSegments() { + var pathToSplit, result, _this = this, + value = _this.___Uri_pathSegments_FI; + if (value === $) { + pathToSplit = _this.path; + if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47) + pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1); + result = pathToSplit.length === 0 ? B.List_empty0 : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), type$.dynamic_Function_String._as(A.core_Uri_decodeComponent$closure()), type$.MappedListIterable_String_dynamic), type$.String); + _this.___Uri_pathSegments_FI !== $ && A.throwLateFieldADI("pathSegments"); + _this.set$___Uri_pathSegments_FI(result); + value = result; + } + return value; }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$hashCode(_) { + var result, _this = this, + value = _this.___Uri_hashCode_FI; + if (value === $) { + result = B.JSString_methods.get$hashCode(_this.get$_core$_text()); + _this.___Uri_hashCode_FI !== $ && A.throwLateFieldADI("hashCode"); + _this.___Uri_hashCode_FI = result; + value = result; + } + return value; }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; - W.SpeechGrammarList.prototype = { - get$length: function(receiver) { - return receiver.length; + get$userInfo() { + return this._userInfo; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + get$host(_) { + var host = this._host; + if (host == null) + return ""; + if (B.JSString_methods.startsWith$1(host, "[")) + return B.JSString_methods.substring$2(host, 1, host.length - 1); + return host; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.SpeechGrammar._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + get$port(_) { + var t1 = this._port; + return t1 == null ? A._Uri__defaultPort(this.scheme) : t1; }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + get$query(_) { + var t1 = this._query; + return t1 == null ? "" : t1; }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + get$fragment() { + var t1 = this._fragment; + return t1 == null ? "" : t1; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + isScheme$1(scheme) { + var thisScheme = this.scheme; + if (scheme.length !== thisScheme.length) + return false; + return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + _mergePaths$2(base, reference) { + var backCount, refStart, baseEnd, newEnd, delta, t1; + for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { + refStart += 3; + ++backCount; + } + baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); + while (true) { + if (!(baseEnd > 0 && backCount > 0)) + break; + newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); + if (newEnd < 0) + break; + delta = baseEnd - newEnd; + t1 = delta !== 2; + if (!t1 || delta === 3) + if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) + t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46; + else + t1 = false; + else + t1 = false; + if (t1) + break; + --backCount; + baseEnd = newEnd; + } + return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount)); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.SpeechRecognitionError.prototype = { - get$message: function(receiver) { - return receiver.message; - } - }; - W.SpeechRecognitionResult.prototype = { - get$length: function(receiver) { - return receiver.length; + resolveUri$1(reference) { + var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; + if (reference.get$scheme().length !== 0) { + targetScheme = reference.get$scheme(); + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; + } else { + targetPort = _null; + targetHost = targetPort; + targetUserInfo = ""; + } + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetScheme = _this.scheme; + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetUserInfo = _this._userInfo; + targetHost = _this._host; + targetPort = _this._port; + targetPath = _this.path; + if (reference.get$path(reference) === "") + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; + else { + packageNameEnd = A._Uri__packageNameEnd(_this, targetPath); + if (packageNameEnd > 0) { + packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd); + targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); + } else if (reference.get$hasAbsolutePath()) + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + else if (targetPath.length === 0) + if (targetHost == null) + targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference)); + else + targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference)); + else { + mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); + t1 = targetScheme.length === 0; + if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/")) + targetPath = A._Uri__removeDotSegments(mergedPath); + else + targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); + } + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } + } + } + return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); }, - $isSpeechRecognitionResult: 1 - }; - W.Storage.prototype = { - containsKey$1: function(receiver, key) { - return receiver.getItem(H._asStringS(key)) != null; + get$hasAuthority() { + return this._host != null; }, - $index: function(receiver, key) { - return receiver.getItem(H._asStringS(key)); + get$hasPort() { + return this._port != null; }, - $indexSet: function(receiver, key, value) { - receiver.setItem(H._asStringS(key), H._asStringS(value)); + get$hasQuery() { + return this._query != null; }, - remove$1: function(receiver, key) { - var value; - H._asStringS(key); - value = receiver.getItem(key); - receiver.removeItem(key); - return value; + get$hasFragment() { + return this._fragment != null; }, - forEach$1: function(receiver, f) { - var i, key, t1; - type$.void_Function_String_String._as(f); - for (i = 0; true; ++i) { - key = receiver.key(i); - if (key == null) - return; - t1 = receiver.getItem(key); - t1.toString; - f.call$2(key, t1); - } + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$1(this.path, "/"); }, - get$keys: function(receiver) { - var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new W.Storage_keys_closure(keys)); - return keys; + toFilePath$0() { + var pathSegments, _this = this, + t1 = _this.scheme; + if (t1 !== "" && t1 !== "file") + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); + t1 = _this._query; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannotefq)); + t1 = _this._fragment; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannoteff)); + t1 = $.$get$_Uri__isWindowsCached(); + if (A.boolConversionCheck(t1)) + t1 = A._Uri__toWindowsFilePath(_this); + else { + if (_this._host != null && _this.get$host(_this) !== "") + A.throwExpression(A.UnsupportedError$(string$.Cannoten)); + pathSegments = _this.get$pathSegments(); + A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); + t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/"); + t1 = t1.charCodeAt(0) == 0 ? t1 : t1; + } + return t1; }, - get$values: function(receiver) { - var values = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new W.Storage_values_closure(values)); - return values; + toString$0(_) { + return this.get$_core$_text(); }, - get$length: function(receiver) { - return receiver.length; + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (_this === other) + return true; + if (type$.Uri._is(other)) + if (_this.scheme === other.get$scheme()) + if (_this._host != null === other.get$hasAuthority()) + if (_this._userInfo === other.get$userInfo()) + if (_this.get$host(_this) === other.get$host(other)) + if (_this.get$port(_this) === other.get$port(other)) + if (_this.path === other.get$path(other)) { + t1 = _this._query; + t2 = t1 == null; + if (!t2 === other.get$hasQuery()) { + if (t2) + t1 = ""; + if (t1 === other.get$query(other)) { + t1 = _this._fragment; + t2 = t1 == null; + if (!t2 === other.get$hasFragment()) { + if (t2) + t1 = ""; + t1 = t1 === other.get$fragment(); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; }, - get$isEmpty: function(receiver) { - return receiver.key(0) == null; + set$___Uri_pathSegments_FI(___Uri_pathSegments_FI) { + this.___Uri_pathSegments_FI = type$.List_String._as(___Uri_pathSegments_FI); }, - get$isNotEmpty: function(receiver) { - return receiver.key(0) != null; + $isUri: 1, + get$scheme() { + return this.scheme; }, - $isMap: 1 + get$path(receiver) { + return this.path; + } }; - W.Storage_keys_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.keys, k); + A.UriData.prototype = { + get$uri() { + var t2, queryIndex, end, query, _this = this, _null = null, + t1 = _this._uriCache; + if (t1 == null) { + t1 = _this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = _this._core$_text; + t1 = t1[0] + 1; + queryIndex = B.JSString_methods.indexOf$2(t2, "?", t1); + end = t2.length; + if (queryIndex >= 0) { + query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, B.List_CVk, false, false); + end = queryIndex; + } else + query = _null; + t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, B.List_qg4, false, false), query, _null); + } + return t1; }, - $signature: 94 + toString$0(_) { + var t2, + t1 = this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = this._core$_text; + return t1[0] === -1 ? "data:" + t2 : t2; + } }; - W.Storage_values_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.values, v); + A._createTables_build.prototype = { + call$2(state, defaultTransition) { + var t1 = this.tables; + if (!(state < t1.length)) + return A.ioore(t1, state); + t1 = t1[state]; + B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); + return t1; }, - $signature: 94 + $signature: 233 }; - W.StyleSheet.prototype = {$isStyleSheet: 1}; - W.TemplateElement.prototype = {$isTemplateElement: 1}; - W.TextAreaElement.prototype = { - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; - }, - setSelectionRange$2: function(receiver, start, end) { - return receiver.setSelectionRange(start, end); + A._createTables_setChars.prototype = { + call$3(target, chars, transition) { + var t1, i, t2; + for (t1 = chars.length, i = 0; i < t1; ++i) { + t2 = B.JSString_methods._codeUnitAt$1(chars, i) ^ 96; + if (!(t2 < 96)) + return A.ioore(target, t2); + target[t2] = transition; + } }, - $isTextAreaElement: 1 + $signature: 159 }; - W.TextTrack.prototype = {$isTextTrack: 1}; - W.TextTrackCue.prototype = {$isTextTrackCue: 1}; - W.TextTrackCueList.prototype = { - get$length: function(receiver) { - return receiver.length; + A._createTables_setRange.prototype = { + call$3(target, range, transition) { + var i, n, t1; + for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) { + t1 = (i ^ 96) >>> 0; + if (!(t1 < 96)) + return A.ioore(target, t1); + target[t1] = transition; + } }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + $signature: 159 + }; + A._SimpleUri.prototype = { + get$hasAuthority() { + return this._hostStart > 0; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.TextTrackCue._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + get$hasPort() { + return this._hostStart > 0 && this._portStart + 1 < this._pathStart; }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + get$hasQuery() { + return this._queryStart < this._fragmentStart; }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + get$hasFragment() { + return this._fragmentStart < this._core$_uri.length; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$2(this._core$_uri, "/", this._pathStart); }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + get$scheme() { + var t1 = this._schemeCache; + return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + _computeScheme$0() { + var t2, _this = this, + t1 = _this._schemeEnd; + if (t1 <= 0) + return ""; + t2 = t1 === 4; + if (t2 && B.JSString_methods.startsWith$1(_this._core$_uri, "http")) + return "http"; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._core$_uri, "https")) + return "https"; + if (t2 && B.JSString_methods.startsWith$1(_this._core$_uri, "file")) + return "file"; + if (t1 === 7 && B.JSString_methods.startsWith$1(_this._core$_uri, "package")) + return "package"; + return B.JSString_methods.substring$2(_this._core$_uri, 0, t1); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.TextTrackList.prototype = { - get$length: function(receiver) { - return receiver.length; + get$userInfo() { + var t1 = this._hostStart, + t2 = this._schemeEnd + 3; + return t1 > t2 ? B.JSString_methods.substring$2(this._core$_uri, t2, t1 - 1) : ""; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + get$host(_) { + var t1 = this._hostStart; + return t1 > 0 ? B.JSString_methods.substring$2(this._core$_uri, t1, this._portStart) : ""; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.TextTrack._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + get$port(_) { + var t1, _this = this; + if (_this.get$hasPort()) + return A.int_parse(B.JSString_methods.substring$2(_this._core$_uri, _this._portStart + 1, _this._pathStart), null); + t1 = _this._schemeEnd; + if (t1 === 4 && B.JSString_methods.startsWith$1(_this._core$_uri, "http")) + return 80; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._core$_uri, "https")) + return 443; + return 0; }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + get$path(_) { + return B.JSString_methods.substring$2(this._core$_uri, this._pathStart, this._queryStart); }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + get$query(_) { + var t1 = this._queryStart, + t2 = this._fragmentStart; + return t1 < t2 ? B.JSString_methods.substring$2(this._core$_uri, t1 + 1, t2) : ""; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + get$fragment() { + var t1 = this._fragmentStart, + t2 = this._core$_uri; + return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : ""; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + get$pathSegments() { + var parts, i, + start = this._pathStart, + end = this._queryStart, + t1 = this._core$_uri; + if (B.JSString_methods.startsWith$2(t1, "/", start)) + ++start; + if (start === end) + return B.List_empty0; + parts = A._setArrayType([], type$.JSArray_String); + for (i = start; i < end; ++i) + if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, i)); + start = i + 1; + } + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, end)); + return A.List_List$unmodifiable(parts, type$.String); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + _isPort$1(port) { + var portDigitStart = this._portStart + 1; + return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._core$_uri, port, portDigitStart); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.TimeRanges.prototype = { - get$length: function(receiver) { - return receiver.length; - } - }; - W.Touch.prototype = { - get$target: function(receiver) { - return W._convertNativeToDart_EventTarget(receiver.target); + removeFragment$0() { + var _this = this, + t1 = _this._fragmentStart, + t2 = _this._core$_uri; + if (t1 >= t2.length) + return _this; + return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); }, - $isTouch: 1 - }; - W.TouchEvent.prototype = {$isTouchEvent: 1}; - W.TouchList.prototype = { - get$length: function(receiver) { - return receiver.length; + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + resolveUri$1(reference) { + if (reference instanceof A._SimpleUri) + return this._simpleMerge$2(this, reference); + return this._toNonSimple$0().resolveUri$1(reference); }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Touch._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + _simpleMerge$2(base, ref) { + var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, + t1 = ref._schemeEnd; + if (t1 > 0) + return ref; + t2 = ref._hostStart; + if (t2 > 0) { + t3 = base._schemeEnd; + if (t3 <= 0) + return ref; + t4 = t3 === 4; + if (t4 && B.JSString_methods.startsWith$1(base._core$_uri, "file")) + isSimple = ref._pathStart !== ref._queryStart; + else if (t4 && B.JSString_methods.startsWith$1(base._core$_uri, "http")) + isSimple = !ref._isPort$1("80"); + else + isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._core$_uri, "https")) || !ref._isPort$1("443"); + if (isSimple) { + delta = t3 + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._core$_uri, 0, delta) + B.JSString_methods.substring$1(ref._core$_uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); + } else + return this._toNonSimple$0().resolveUri$1(ref); + } + refStart = ref._pathStart; + t1 = ref._queryStart; + if (refStart === t1) { + t2 = ref._fragmentStart; + if (t1 < t2) { + t3 = base._queryStart; + delta = t3 - t1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._core$_uri, 0, t3) + B.JSString_methods.substring$1(ref._core$_uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); + } + t1 = ref._core$_uri; + if (t2 < t1.length) { + t3 = base._fragmentStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._core$_uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); + } + return base.removeFragment$0(); + } + t2 = ref._core$_uri; + if (B.JSString_methods.startsWith$2(t2, "/", refStart)) { + basePathStart = base._pathStart; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; + delta = basePathStart0 - refStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._core$_uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseStart = base._pathStart; + baseEnd = base._queryStart; + if (baseStart === baseEnd && base._hostStart > 0) { + for (; B.JSString_methods.startsWith$2(t2, "../", refStart);) + refStart += 3; + delta = baseStart - refStart + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._core$_uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseUri = base._core$_uri; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + if (packageNameEnd >= 0) + baseStart0 = packageNameEnd; + else + for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) + baseStart0 += 3; + backCount = 0; + while (true) { + refStart0 = refStart + 3; + if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart))) + break; + ++backCount; + refStart = refStart0; + } + for (insert = ""; baseEnd > baseStart0;) { + --baseEnd; + if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { + if (backCount === 0) { + insert = "/"; + break; + } + --backCount; + insert = "/"; + } + } + if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { + refStart -= backCount * 3; + insert = ""; + } + delta = baseEnd - refStart + insert.length; + return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + toFilePath$0() { + var t2, t3, _this = this, + t1 = _this._schemeEnd; + if (t1 >= 0) { + t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._core$_uri, "file")); + t1 = t2; + } else + t1 = false; + if (t1) + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); + t1 = _this._queryStart; + t2 = _this._core$_uri; + if (t1 < t2.length) { + if (t1 < _this._fragmentStart) + throw A.wrapException(A.UnsupportedError$(string$.Cannotefq)); + throw A.wrapException(A.UnsupportedError$(string$.Cannoteff)); + } + t3 = $.$get$_Uri__isWindowsCached(); + if (A.boolConversionCheck(t3)) + t1 = A._Uri__toWindowsFilePath(_this); + else { + if (_this._hostStart < _this._portStart) + A.throwExpression(A.UnsupportedError$(string$.Cannoten)); + t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1); + } + return t1; }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + get$hashCode(_) { + var t1 = this._hashCodeCache; + return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._core$_uri) : t1; }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return type$.Uri._is(other) && this._core$_uri === other.toString$0(0); }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + _toNonSimple$0() { + var _this = this, _null = null, + t1 = _this.get$scheme(), + t2 = _this.get$userInfo(), + t3 = _this._hostStart > 0 ? _this.get$host(_this) : _null, + t4 = _this.get$hasPort() ? _this.get$port(_this) : _null, + t5 = _this._core$_uri, + t6 = _this._queryStart, + t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6), + t8 = _this._fragmentStart; + t6 = t6 < t8 ? _this.get$query(_this) : _null; + return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + toString$0(_) { + return this._core$_uri; }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 - }; - W.TrackDefaultList.prototype = { - get$length: function(receiver) { - return receiver.length; - } + $isUri: 1 }; - W.UIEvent.prototype = {}; - W.Url.prototype = { - toString$0: function(receiver) { - return String(receiver); + A._DataUri.prototype = {}; + A.Expando.prototype = { + $index(_, object) { + if (object == null || A._isBool(object) || typeof object == "number" || typeof object == "string") + A.throwExpression(A.ArgumentError$value(object, string$.Expand, null)); + return this._jsWeakMap.get(object); + }, + $indexSet(_, object, value) { + this._jsWeakMap.set(object, this.$ti._eval$1("1?")._as(value)); + }, + toString$0(_) { + return "Expando:" + A.S(this.name); } }; - W.VREyeParameters.prototype = { - get$offset: function(receiver) { - return receiver.offset; + A.HtmlElement.prototype = {}; + A.AccessibleNode.prototype = { + get$checked(receiver) { + return receiver.checked; } }; - W.VideoElement.prototype = {$isCanvasImageSource: 1}; - W.VideoTrackList.prototype = { - get$length: function(receiver) { + A.AccessibleNodeList.prototype = { + get$length(receiver) { return receiver.length; } }; - W.Window.prototype = { - alert$1: function(receiver, message) { - return receiver.alert(message); - }, - confirm$1: function(receiver, message) { - return receiver.confirm(message); + A.AnchorElement.prototype = { + set$download(receiver, value) { + receiver.download = value; }, - _getComputedStyle$2: function(receiver, elt, pseudoElt) { - return receiver.getComputedStyle(elt, pseudoElt); + get$target(receiver) { + return receiver.target; }, - postMessage$2: function(receiver, message, targetOrigin) { - receiver.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); - return; + set$href(receiver, value) { + receiver.href = value; }, - $isWindow: 1, - $isWindowBase: 1 - }; - W._BeforeUnloadEvent.prototype = { - set$returnValue: function(_, value) { - var t1 = this.wrapped; - if ("returnValue" in t1) - t1.returnValue = value; + toString$0(receiver) { + return String(receiver); }, - $isBeforeUnloadEvent: 1 + $isAnchorElement: 1 }; - W._BeforeUnloadEventStreamProvider.prototype = { - forTarget$1: function(e) { - var _null = null, - t1 = type$._SyncStreamController_BeforeUnloadEvent, - controller = new P._SyncStreamController(_null, _null, _null, _null, t1), - t2 = type$.nullable_void_Function_BeforeUnloadEvent._as(new W._BeforeUnloadEventStreamProvider_forTarget_closure(controller)); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(e, "beforeunload", t2, false, type$.BeforeUnloadEvent); - return new P._ControllerStream(controller, t1._eval$1("_ControllerStream<1>")); + A.ApplicationCacheErrorEvent.prototype = { + get$message(receiver) { + return receiver.message; } }; - W._BeforeUnloadEventStreamProvider_forTarget_closure.prototype = { - call$1: function($event) { - this.controller.add$1(0, new W._BeforeUnloadEvent(type$.BeforeUnloadEvent._as($event))); + A.AreaElement.prototype = { + get$target(receiver) { + return receiver.target; }, - $signature: 318 + toString$0(receiver) { + return String(receiver); + } }; - W.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; - W.XmlSerializer.prototype = { - serializeToString$1: function(receiver, root) { - return receiver.serializeToString(root); + A.BaseElement.prototype = { + get$target(receiver) { + return receiver.target; + }, + $isBaseElement: 1 + }; + A.BeforeUnloadEvent.prototype = { + set$returnValue(receiver, value) { + receiver.returnValue = value; + }, + $isBeforeUnloadEvent: 1 + }; + A.Blob.prototype = {$isBlob: 1}; + A.BluetoothRemoteGattDescriptor.prototype = { + get$value(receiver) { + return receiver.value; } }; - W._Attr.prototype = { - get$value: function(receiver) { + A.BodyElement.prototype = {$isBodyElement: 1}; + A.ButtonElement.prototype = { + get$value(receiver) { return receiver.value; }, - set$value: function(receiver, value) { + set$value(receiver, value) { receiver.value = value; }, - $is_Attr: 1 + $isButtonElement: 1 + }; + A.CacheStorage.prototype = { + keys$0(receiver) { + return A.promiseToFuture(receiver.keys(), type$.dynamic); + } + }; + A.CanvasElement.prototype = { + set$height(receiver, value) { + receiver.height = value; + }, + set$width(receiver, value) { + receiver.width = value; + }, + getContext$1(receiver, contextId) { + return receiver.getContext(contextId); + }, + _toDataUrl$2(receiver, type, arguments_OR_quality) { + return receiver.toDataURL(type, arguments_OR_quality); + }, + _toBlob$3(receiver, callback, type, $arguments) { + return receiver.toBlob(A.convertDartClosureToJS(type$.void_Function_nullable_Blob._as(callback), 1), type, $arguments); + }, + toBlob$1(receiver, type) { + var t1 = new A._Future($.Zone__current, type$._Future_Blob); + this._toBlob$3(receiver, new A.CanvasElement_toBlob_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_Blob)), type, null); + return t1; + }, + $isCanvasElement: 1, + $isCanvasImageSource: 1 + }; + A.CanvasElement_toBlob_closure.prototype = { + call$1(value) { + this.completer.complete$1(0, type$.nullable_Blob._as(value)); + }, + $signature: 236 }; - W._CssRuleList.prototype = { - get$length: function(receiver) { + A.CanvasRenderingContext2D.prototype = { + drawImage$3(receiver, source, destX, destY) { + return receiver.drawImage(source, destX, destY); + }, + $isCanvasRenderingContext2D: 1 + }; + A.CharacterData.prototype = { + get$length(receiver) { return receiver.length; + } + }; + A.CssKeywordValue.prototype = { + get$value(receiver) { + return receiver.value; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + set$value(receiver, value) { + receiver.value = value; + } + }; + A.CssNumericValue.prototype = { + add$1(receiver, value) { + return receiver.add(type$.CssNumericValue._as(value)); + }, + $isCssNumericValue: 1 + }; + A.CssPerspective.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.CssRule.prototype = {$isCssRule: 1}; + A.CssStyleDeclaration.prototype = { + _browserPropertyName$1(receiver, propertyName) { + var t1 = $.$get$CssStyleDeclaration__propertyCache(), + $name = t1[propertyName]; + if (typeof $name == "string") + return $name; + $name = this._supportedBrowserPropertyName$1(receiver, propertyName); + t1[propertyName] = $name; + return $name; + }, + _supportedBrowserPropertyName$1(receiver, propertyName) { + var prefixed; + if (propertyName.replace(/^-ms-/, "ms-").replace(/-([\da-z])/ig, function(_, letter) { + return letter.toUpperCase(); + }) in receiver) + return propertyName; + prefixed = $.$get$Device_cssPrefix() + A.S(propertyName); + if (prefixed in receiver) + return prefixed; + return propertyName; + }, + _setPropertyHelper$3(receiver, propertyName, value, priority) { + if (value == null) + value = ""; + if (priority == null) + priority = ""; + receiver.setProperty(propertyName, value, priority); + }, + set$cssText(receiver, value) { + receiver.cssText = value; + }, + get$length(receiver) { + return receiver.length; + } + }; + A.CssStyleDeclarationBase.prototype = {}; + A.CssStyleRule.prototype = {$isCssStyleRule: 1}; + A.CssStyleSheet.prototype = { + removeRule$1(receiver, index) { + return receiver.removeRule(index); + }, + $isCssStyleSheet: 1 + }; + A.CssStyleValue.prototype = {}; + A.CssTransformComponent.prototype = {}; + A.CssTransformValue.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.CssUnitValue.prototype = { + get$value(receiver) { + return receiver.value; + }, + set$value(receiver, value) { + receiver.value = value; + } + }; + A.CssUnparsedValue.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.DataElement.prototype = { + get$value(receiver) { + return receiver.value; + }, + set$value(receiver, value) { + receiver.value = value; + } + }; + A.DataTransfer.prototype = { + set$dropEffect(receiver, value) { + receiver.dropEffect = value; + } + }; + A.DataTransferItemList.prototype = { + get$length(receiver) { + return receiver.length; + }, + add$1(receiver, data_OR_file) { + return receiver.add(data_OR_file); + }, + $index(receiver, index) { + return receiver[A._asIntS(index)]; + } + }; + A.DeprecationReport.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.DivElement.prototype = {$isDivElement: 1}; + A.Document.prototype = { + createElementNS$2(receiver, namespaceURI, qualifiedName) { + var t1 = receiver.createElementNS(namespaceURI, qualifiedName); + return t1; + }, + $isDocument: 1 + }; + A.DomError.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.DomException.prototype = { + get$message(receiver) { + return receiver.message; + }, + toString$0(receiver) { + return String(receiver); + } + }; + A.DomImplementation.prototype = { + createHtmlDocument$1(receiver, title) { + return receiver.createHTMLDocument(title); + } + }; + A.DomPoint.prototype = {}; + A.DomPointReadOnly.prototype = { + matrixTransform$1(receiver, matrix) { + var t1 = receiver.matrixTransform(A.convertDartToNative_Dictionary(matrix)); + return t1; + } + }; + A.DomRectList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.CssRule._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Rectangle_num._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isJSIndexable: 1, @@ -59115,23 +57512,16 @@ $isIterable: 1, $isList: 1 }; - W._DomRect.prototype = { - toString$0: function(receiver) { + A.DomRectReadOnly.prototype = { + toString$0(receiver) { var t2, t1 = receiver.left; t1.toString; - t1 = "Rectangle (" + H.S(t1) + ", "; t2 = receiver.top; t2.toString; - t2 = t1 + H.S(t2) + ") "; - t1 = receiver.width; - t1.toString; - t1 = t2 + H.S(t1) + " x "; - t2 = receiver.height; - t2.toString; - return t1 + H.S(t2); + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(this.get$width(receiver)) + " x " + A.S(this.get$height(receiver)); }, - $eq: function(receiver, other) { + $eq(receiver, other) { var t1, t2; if (other == null) return false; @@ -59142,94 +57532,99 @@ if (t1 === t2.get$left(other)) { t1 = receiver.top; t1.toString; - if (t1 === t2.get$top(other)) { - t1 = receiver.width; - t1.toString; - if (t1 === t2.get$width(other)) { - t1 = receiver.height; - t1.toString; - t2 = t1 === t2.get$height(other); - t1 = t2; - } else - t1 = false; - } else - t1 = false; + t1 = t1 === t2.get$top(other) && this.get$width(receiver) == t2.get$width(other) && this.get$height(receiver) == t2.get$height(other); } else t1 = false; } else t1 = false; return t1; }, - get$hashCode: function(receiver) { - var t2, t3, t4, + get$hashCode(receiver) { + var t2, t1 = receiver.left; t1.toString; - t1 = C.JSNumber_methods.get$hashCode(t1); t2 = receiver.top; t2.toString; - t2 = C.JSNumber_methods.get$hashCode(t2); - t3 = receiver.width; - t3.toString; - t3 = C.JSNumber_methods.get$hashCode(t3); - t4 = receiver.height; - t4.toString; - return W._JenkinsSmiHash_hash4(t1, t2, t3, C.JSNumber_methods.get$hashCode(t4)); + return A.Object_hash(t1, t2, this.get$width(receiver), this.get$height(receiver), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + get$bottom(receiver) { + var t1 = receiver.bottom; + t1.toString; + return t1; }, - get$_height: function(receiver) { + get$_height(receiver) { return receiver.height; }, - get$height: function(receiver) { - var t1 = receiver.height; + get$height(receiver) { + var t1 = this.get$_height(receiver); + t1.toString; + return t1; + }, + get$left(receiver) { + var t1 = receiver.left; + t1.toString; + return t1; + }, + get$right(receiver) { + var t1 = receiver.right; + t1.toString; + return t1; + }, + get$top(receiver) { + var t1 = receiver.top; t1.toString; return t1; }, - get$_width: function(receiver) { + get$_width(receiver) { return receiver.width; }, - get$width: function(receiver) { - var t1 = receiver.width; + get$width(receiver) { + var t1 = this.get$_width(receiver); t1.toString; return t1; - } + }, + $isRectangle: 1 }; - W._GamepadList.prototype = { - get$length: function(receiver) { + A.DomStringList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.nullable_Gamepad._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + A._asStringS(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isJSIndexable: 1, @@ -59238,1777 +57633,1710 @@ $isIterable: 1, $isList: 1 }; - W._NamedNodeMap.prototype = { - get$length: function(receiver) { + A.DomTokenList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + get$value(receiver) { + return receiver.value; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Node._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + set$value(receiver, value) { + receiver.value = value; }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + add$1(receiver, tokens) { + return receiver.add(A._asStringS(tokens)); + } + }; + A._FrozenElementList.prototype = { + get$length(_) { + return this._nodeList.length; }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + $index(_, index) { + return this.$ti._precomputed1._as(B.NodeList_methods.$index(this._nodeList, A._asIntS(index))); }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + $indexSet(_, index, value) { + A._asIntS(index); + this.$ti._precomputed1._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify list")); }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + set$length(_, newLength) { + throw A.wrapException(A.UnsupportedError$("Cannot modify list")); }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + sort$1(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + throw A.wrapException(A.UnsupportedError$("Cannot sort list")); }, - $isJSIndexable: 1, - $isEfficientLengthIterable: 1, - $isJavaScriptIndexingBehavior: 1, - $isIterable: 1, - $isList: 1 + sort$0($receiver) { + return this.sort$1($receiver, null); + }, + get$first(_) { + return this.$ti._precomputed1._as(B.NodeList_methods.get$first(this._nodeList)); + }, + get$last(_) { + return this.$ti._precomputed1._as(B.NodeList_methods.get$last(this._nodeList)); + }, + get$single(_) { + return this.$ti._precomputed1._as(B.NodeList_methods.get$single(this._nodeList)); + } + }; + A.Element.prototype = { + get$attributes(receiver) { + return new A._ElementAttributeMap(receiver); + }, + set$attributes(receiver, value) { + var t1, t2, t3; + type$.Map_String_String._as(value); + new A._ElementAttributeMap(receiver).clear$0(0); + for (t1 = A.LinkedHashMapKeyIterator$(value, value._modifications, A._instanceType(value)._precomputed1); t1.moveNext$0();) { + t2 = t1.__js_helper$_current; + t3 = value.$index(0, t2); + t3.toString; + receiver.setAttribute(t2, t3); + } + }, + get$classes(receiver) { + return new A._ElementCssClassSet(receiver); + }, + get$offset(receiver) { + return A.Rectangle$(B.JSNumber_methods.round$0(receiver.offsetLeft), B.JSNumber_methods.round$0(receiver.offsetTop), B.JSNumber_methods.round$0(receiver.offsetWidth), B.JSNumber_methods.round$0(receiver.offsetHeight), type$.num); + }, + toString$0(receiver) { + return receiver.localName; + }, + matches$1(receiver, selectors) { + if (!!receiver.matches) + return receiver.matches(selectors); + else if (!!receiver.webkitMatchesSelector) + return receiver.webkitMatchesSelector(selectors); + else if (!!receiver.mozMatchesSelector) + return receiver.mozMatchesSelector(selectors); + else if (!!receiver.msMatchesSelector) + return receiver.msMatchesSelector(selectors); + else if (!!receiver.oMatchesSelector) + return receiver.oMatchesSelector(selectors); + else + throw A.wrapException(A.UnsupportedError$("Not supported on this platform")); + }, + matchesWithAncestors$1(receiver, selectors) { + var elem = receiver; + do { + if (J.matches$1$x(elem, selectors)) + return true; + elem = elem.parentElement; + } while (elem != null); + return false; + }, + createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { + var t1, t2, contextElement, fragment; + if (treeSanitizer == null) { + t1 = $.Element__defaultValidator; + if (t1 == null) { + t1 = A._setArrayType([], type$.JSArray_NodeValidator); + t2 = new A.NodeValidatorBuilder(t1); + B.JSArray_methods.add$1(t1, A._Html5NodeValidator$(null)); + B.JSArray_methods.add$1(t1, A._TemplatingNodeValidator$()); + $.Element__defaultValidator = t2; + validator = t2; + } else + validator = t1; + t1 = $.Element__defaultSanitizer; + if (t1 == null) { + validator.toString; + t1 = new A._ValidatingTreeSanitizer(validator); + $.Element__defaultSanitizer = t1; + treeSanitizer = t1; + } else { + validator.toString; + t1.validator = validator; + treeSanitizer = t1; + } + } + if ($.Element__parseDocument == null) { + t1 = document; + t2 = t1.implementation; + t2.toString; + t2 = B.DomImplementation_methods.createHtmlDocument$1(t2, ""); + $.Element__parseDocument = t2; + $.Element__parseRange = t2.createRange(); + t2 = $.Element__parseDocument.createElement("base"); + type$.BaseElement._as(t2); + t1 = t1.baseURI; + t1.toString; + t2.href = t1; + $.Element__parseDocument.head.appendChild(t2); + } + t1 = $.Element__parseDocument; + if (t1.body == null) { + t2 = t1.createElement("body"); + B.HtmlDocument_methods.set$body(t1, type$.BodyElement._as(t2)); + } + t1 = $.Element__parseDocument; + if (type$.BodyElement._is(receiver)) { + t1 = t1.body; + t1.toString; + contextElement = t1; + } else { + t1.toString; + contextElement = t1.createElement(receiver.tagName); + $.Element__parseDocument.body.appendChild(contextElement); + } + if ("createContextualFragment" in window.Range.prototype && !B.JSArray_methods.contains$1(B.List_ego, receiver.tagName)) { + $.Element__parseRange.selectNodeContents(contextElement); + t1 = $.Element__parseRange; + fragment = t1.createContextualFragment(html); + } else { + J.set$_innerHtml$x(contextElement, html); + fragment = $.Element__parseDocument.createDocumentFragment(); + for (; t1 = contextElement.firstChild, t1 != null;) + fragment.appendChild(t1); + } + if (contextElement !== $.Element__parseDocument.body) + J.remove$0$ax(contextElement); + treeSanitizer.sanitizeTree$1(fragment); + document.adoptNode(fragment); + return fragment; + }, + get$innerHtml(receiver) { + return receiver.innerHTML; + }, + click$0(receiver) { + return receiver.click(); + }, + set$_innerHtml(receiver, value) { + receiver.innerHTML = value; + }, + getBoundingClientRect$0(receiver) { + return receiver.getBoundingClientRect(); + }, + get$onClick(receiver) { + return new A._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onMouseDown(receiver) { + return new A._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onTouchStart(receiver) { + return new A._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); + }, + $isElement: 1 + }; + A.Element_Element$html_closure.prototype = { + call$1(e) { + return type$.Element._is(type$.Node._as(e)); + }, + $signature: 157 + }; + A.ErrorEvent.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.Event.prototype = { + get$currentTarget(receiver) { + return A._convertNativeToDart_EventTarget(receiver.currentTarget); + }, + get$target(receiver) { + return A._convertNativeToDart_EventTarget(receiver.target); + }, + _initEvent$3(receiver, type, bubbles, cancelable) { + return receiver.initEvent(type, true, true); + }, + preventDefault$0(receiver) { + return receiver.preventDefault(); + }, + stopPropagation$0(receiver) { + return receiver.stopPropagation(); + }, + $isEvent: 1 + }; + A.Events.prototype = { + $index(_, type) { + return new A._EventStream(this._ptr, A._asStringS(type), false, type$._EventStream_Event); + } + }; + A.ElementEvents.prototype = { + $index(_, type) { + var t1; + A._asStringS(type); + t1 = $.$get$ElementEvents_webkitEvents(); + if (t1.containsKey$1(0, type.toLowerCase())) + if ($.$get$Device_isWebKit()) + return new A._ElementEventStreamImpl(this._ptr, t1.$index(0, type.toLowerCase()), false, type$._ElementEventStreamImpl_Event); + return new A._ElementEventStreamImpl(this._ptr, type, false, type$._ElementEventStreamImpl_Event); + } + }; + A.EventTarget.prototype = { + addEventListener$3(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (listener != null) + this._addEventListener$3(receiver, type, listener, useCapture); + }, + addEventListener$2($receiver, type, listener) { + return this.addEventListener$3($receiver, type, listener, null); + }, + removeEventListener$3(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (listener != null) + this._removeEventListener$3(receiver, type, listener, useCapture); + }, + removeEventListener$2($receiver, type, listener) { + return this.removeEventListener$3($receiver, type, listener, null); + }, + _addEventListener$3(receiver, type, listener, options) { + return receiver.addEventListener(type, A.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + }, + _removeEventListener$3(receiver, type, listener, options) { + return receiver.removeEventListener(type, A.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + }, + $isEventTarget: 1 }; - W._SpeechRecognitionResultList.prototype = { - get$length: function(receiver) { + A.File.prototype = {$isFile: 1}; + A.FileList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.SpeechRecognitionResult._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.File._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, - $isList: 1 + $isList: 1, + $isFileList: 1 + }; + A.FileReader.prototype = { + get$result(receiver) { + var res = receiver.result; + if (type$.ByteBuffer._is(res)) + return B.NativeByteBuffer_methods.asUint8List$2(res, 0, null); + return res; + }, + $isFileReader: 1 + }; + A.FileWriter.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.FontFace.prototype = {$isFontFace: 1}; + A.FontFaceSet.prototype = { + add$1(receiver, arg) { + return receiver.add(type$.FontFace._as(arg)); + } }; - W._StyleSheetList.prototype = { - get$length: function(receiver) { + A.FormElement.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + get$target(receiver) { + return receiver.target; + } + }; + A.Gamepad.prototype = {$isGamepad: 1}; + A.GamepadButton.prototype = { + get$value(receiver) { + return receiver.value; + } + }; + A.History.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.HtmlCollection.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.StyleSheet._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, - $isList: 1 + $isList: 1, + $isHtmlCollection: 1 }; - W._AttributeMap.prototype = { - cast$2$0: function(_, $K, $V) { - var t1 = type$.String; - return P.Map_castFrom(this, t1, t1, $K, $V); - }, - clear$0: function(_) { - var t1, t2, t3, _i, key; - for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - key = t1[_i]; - if (typeof key == "string") - t3.removeAttribute(key); + A.HtmlDocument.prototype = { + set$body(receiver, value) { + receiver.body = value; + } + }; + A.HttpRequest.prototype = { + get$responseHeaders(receiver) { + var headersList, _i, header, t2, splitIdx, key, value, + t1 = type$.String, + headers = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), + headersString = receiver.getAllResponseHeaders(); + if (headersString == null) + return headers; + headersList = headersString.split("\r\n"); + for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { + header = headersList[_i]; + header.toString; + t2 = J.getInterceptor$asx(header); + if (t2.get$length(header) === 0) + continue; + splitIdx = t2.indexOf$1(header, ": "); + if (splitIdx === -1) + continue; + key = t2.substring$2(header, 0, splitIdx).toLowerCase(); + value = t2.substring$1(header, splitIdx + 2); + if (headers.containsKey$1(0, key)) + headers.$indexSet(0, key, A.S(headers.$index(0, key)) + ", " + value); + else + headers.$indexSet(0, key, value); } + return headers; }, - forEach$1: function(_, f) { - var t1, t2, t3, _i, t4; - type$.void_Function_String_String._as(f); - for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - t4 = H._asStringS(t1[_i]); - f.call$2(t4, t3.getAttribute(t4)); - } + open$3$async(receiver, method, url, async) { + return receiver.open(method, url, true); }, - get$keys: function(_) { - var keys, len, t2, i, attr, t3, - t1 = this._html$_element.attributes; - t1.toString; - keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { - if (i >= t1.length) - return H.ioore(t1, i); - attr = t2._as(t1[i]); - if (attr.namespaceURI == null) { - t3 = attr.name; - t3.toString; - C.JSArray_methods.add$1(keys, t3); - } - } - return keys; + set$withCredentials(receiver, value) { + receiver.withCredentials = false; }, - get$values: function(_) { - var values, len, t2, i, attr, t3, - t1 = this._html$_element.attributes; - t1.toString; - values = H.setRuntimeTypeInfo([], type$.JSArray_String); - for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { - if (i >= t1.length) - return H.ioore(t1, i); - attr = t2._as(t1[i]); - if (attr.namespaceURI == null) { - t3 = attr.value; - t3.toString; - C.JSArray_methods.add$1(values, t3); - } - } - return values; + send$1(receiver, body_OR_data) { + return receiver.send(body_OR_data); }, - get$isEmpty: function(_) { - return this.get$keys(this).length === 0; + setRequestHeader$2(receiver, $name, value) { + return receiver.setRequestHeader(A._asStringS($name), A._asStringS(value)); }, - get$isNotEmpty: function(_) { - return this.get$keys(this).length !== 0; - } + $isHttpRequest: 1 }; - W._ElementAttributeMap.prototype = { - containsKey$1: function(_, key) { - return typeof key == "string" && H.boolConversionCheck(this._html$_element.hasAttribute(key)); - }, - $index: function(_, key) { - return this._html$_element.getAttribute(H._asStringS(key)); - }, - $indexSet: function(_, key, value) { - this._html$_element.setAttribute(H._asStringS(key), H._asStringS(value)); - }, - remove$1: function(_, key) { - var t1, value; - if (typeof key == "string") { - t1 = this._html$_element; - value = t1.getAttribute(key); - t1.removeAttribute(key); - t1 = value; - } else - t1 = null; + A.HttpRequest_getString_closure.prototype = { + call$1(xhr) { + var t1 = type$.HttpRequest._as(xhr).responseText; + t1.toString; return t1; }, - get$length: function(_) { - return this.get$keys(this).length; - } + $signature: 241 }; - W._ElementCssClassSet.prototype = { - readClasses$0: function() { - var t1, t2, _i, trimmed, - s = P.LinkedHashSet_LinkedHashSet(type$.String); - for (t1 = this._html$_element.className.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { - trimmed = J.trim$0$s(t1[_i]); - if (trimmed.length !== 0) - s.add$1(0, trimmed); - } - return s; - }, - writeClasses$1: function(s) { - this._html$_element.className = type$.Set_String._as(s).join$1(0, " "); + A.HttpRequest_request_closure.prototype = { + call$1(e) { + var t1, t2, accepted, unknownRedirect, t3; + type$.ProgressEvent._as(e); + t1 = this.xhr; + t2 = t1.status; + t2.toString; + accepted = t2 >= 200 && t2 < 300; + unknownRedirect = t2 > 307 && t2 < 400; + t2 = accepted || t2 === 0 || t2 === 304 || unknownRedirect; + t3 = this.completer; + if (t2) + t3.complete$1(0, t1); + else + t3.completeError$1(e); }, - get$length: function(_) { - return this._html$_element.classList.length; + $signature: 51 + }; + A.HttpRequestEventTarget.prototype = {}; + A.IFrameElement.prototype = {$isIFrameElement: 1}; + A.ImageData.prototype = {$isImageData: 1}; + A.ImageElement.prototype = { + set$src(receiver, value) { + receiver.src = value; }, - get$isEmpty: function(_) { - return this._html$_element.classList.length === 0; + $isCanvasImageSource: 1 + }; + A.InputElement.prototype = { + get$checked(receiver) { + return receiver.checked; }, - get$isNotEmpty: function(_) { - return this._html$_element.classList.length !== 0; + get$value(receiver) { + return receiver.value; }, - clear$0: function(_) { - this._html$_element.className = ""; + set$value(receiver, value) { + receiver.value = value; }, - contains$1: function(_, value) { - return typeof value == "string" && this._html$_element.classList.contains(value); + setSelectionRange$2(receiver, start, end) { + return receiver.setSelectionRange(start, end); }, - add$1: function(_, value) { - var list, t1; - H._asStringS(value); - list = this._html$_element.classList; - t1 = list.contains(value); - list.add(value); - return !t1; + $isInputElement: 1, + $isFileUploadInputElement: 1 + }; + A.IntersectionObserverEntry.prototype = { + get$target(receiver) { + return receiver.target; + } + }; + A.InterventionReport.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.KeyboardEvent.prototype = { + _initKeyboardEvent$10(receiver, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { + if (typeof receiver.initKeyEvent == "function") + receiver.initKeyEvent(type, true, true, view, true, false, false, false, 0, 0); + else + receiver.initKeyboardEvent(type, true, true, view, keyIdentifier, $location, true, false, false, false); }, - remove$1: function(_, value) { - var list, removed, t1; - if (typeof value == "string") { - list = this._html$_element.classList; - removed = list.contains(value); - list.remove(value); - t1 = removed; - } else - t1 = false; - return t1; + get$keyCode(receiver) { + return receiver.keyCode; + }, + get$which(receiver) { + return receiver.which; + }, + get$altKey(receiver) { + return receiver.altKey; + }, + get$ctrlKey(receiver) { + return receiver.ctrlKey; + }, + get$metaKey(receiver) { + return receiver.metaKey; + }, + get$repeat(receiver) { + return receiver.repeat; }, - addAll$1: function(_, iterable) { - W._ElementCssClassSet__addAll(this._html$_element, type$.Iterable_String._as(iterable)); + get$shiftKey(receiver) { + return receiver.shiftKey; }, - removeAll$1: function(iterable) { - W._ElementCssClassSet__removeAll(this._html$_element, iterable); + $isKeyboardEvent: 1 + }; + A.LIElement.prototype = { + get$value(receiver) { + return receiver.value; }, - removeWhere$1: function(_, test) { - W._ElementCssClassSet__removeWhere(this._html$_element, type$.bool_Function_String._as(test), true); + set$value(receiver, value) { + receiver.value = value; } }; - W.EventStreamProvider.prototype = {}; - W._EventStream.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - var t1 = H._instanceType(this); - t1._eval$1("~(1)?")._as(onData); - type$.nullable_void_Function._as(onDone); - return W._EventStreamSubscription$(this._html$_target, this._eventType, onData, false, t1._precomputed1); + A.Location.prototype = { + toString$0(receiver) { + return String(receiver); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + $isLocation: 1 + }; + A.MediaElement.prototype = {}; + A.MediaError.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.MediaKeyMessageEvent.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.MediaList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.MessagePort.prototype = { + addEventListener$3(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (type === "message") + receiver.start(); + this.super$EventTarget$addEventListener(receiver, type, listener, false); + }, + $isMessagePort: 1 + }; + A.MeterElement.prototype = { + get$value(receiver) { + return receiver.value; }, - listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + set$value(receiver, value) { + receiver.value = value; } }; - W._ElementEventStreamImpl.prototype = {}; - W._EventStreamSubscription.prototype = { - cancel$0: function(_) { - var _this = this; - if (_this._html$_target == null) - return $.$get$nullFuture(); - _this._unlisten$0(); - _this._html$_target = null; - _this.set$_onData(null); - return $.$get$nullFuture(); + A.MidiInputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))) != null; }, - onData$1: function(handleData) { - var t1, _this = this; - _this.$ti._eval$1("~(1)?")._as(handleData); - if (_this._html$_target == null) - throw H.wrapException(P.StateError$("Subscription has been canceled.")); - _this._unlisten$0(); - t1 = W._wrapZone(new W._EventStreamSubscription_onData_closure(handleData), type$.Event); - _this.set$_onData(t1); - _this._tryResume$0(); + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); }, - onError$1: function(_, handleError) { + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - pause$1: function(_, resumeSignal) { - if (this._html$_target == null) - return; - ++this._pauseCount; - this._unlisten$0(); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiInputMap_keys_closure(keys)); + return keys; }, - pause$0: function($receiver) { - return this.pause$1($receiver, null); + get$values(receiver) { + var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new A.MidiInputMap_values_closure(values)); + return values; }, - resume$0: function(_) { - var _this = this; - if (_this._html$_target == null || _this._pauseCount <= 0) - return; - --_this._pauseCount; - _this._tryResume$0(); + get$length(receiver) { + return receiver.size; }, - _tryResume$0: function() { - var t2, _this = this, - t1 = _this._onData; - if (t1 != null && _this._pauseCount <= 0) { - t2 = _this._html$_target; - t2.toString; - J.addEventListener$3$x(t2, _this._eventType, t1, false); - } + get$isEmpty(receiver) { + return receiver.size === 0; }, - _unlisten$0: function() { - var t2, - t1 = this._onData; - if (t1 != null) { - t2 = this._html$_target; - t2.toString; - J.removeEventListener$3$x(t2, this._eventType, t1, false); - } + get$isNotEmpty(receiver) { + return receiver.size !== 0; }, - set$_onData: function(_onData) { - this._onData = type$.nullable_dynamic_Function_Event._as(_onData); - } + $indexSet(receiver, key, value) { + A._asStringS(key); + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + remove$1(receiver, key) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 }; - W._EventStreamSubscription_closure.prototype = { - call$1: function(e) { - return this.onData.call$1(type$.Event._as(e)); + A.MidiInputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 42 + $signature: 34 }; - W._EventStreamSubscription_onData_closure.prototype = { - call$1: function(e) { - return this.handleData.call$1(type$.Event._as(e)); + A.MidiInputMap_values_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.values, v); }, - $signature: 42 + $signature: 34 }; - W._Html5NodeValidator.prototype = { - _Html5NodeValidator$1$uriPolicy: function(uriPolicy) { - var _i; - if ($._Html5NodeValidator__attributeValidators.get$isEmpty($._Html5NodeValidator__attributeValidators)) { - for (_i = 0; _i < 262; ++_i) - $._Html5NodeValidator__attributeValidators.$indexSet(0, C.List_2Zi[_i], W.html__Html5NodeValidator__standardAttributeValidator$closure()); - for (_i = 0; _i < 12; ++_i) - $._Html5NodeValidator__attributeValidators.$indexSet(0, C.List_yrN[_i], W.html__Html5NodeValidator__uriAttributeValidator$closure()); + A.MidiOutputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))) != null; + }, + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); + }, + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); } }, - allowsElement$1: function(element) { - return $.$get$_Html5NodeValidator__allowedElements().contains$1(0, W.Element__safeTagName(element)); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiOutputMap_keys_closure(keys)); + return keys; }, - allowsAttribute$3: function(element, attributeName, value) { - var validator = $._Html5NodeValidator__attributeValidators.$index(0, H.S(W.Element__safeTagName(element)) + "::" + H.S(attributeName)); - if (validator == null) - validator = $._Html5NodeValidator__attributeValidators.$index(0, "*::" + H.S(attributeName)); - if (validator == null) - return false; - return H._asBoolS(validator.call$4(element, attributeName, value, this)); + get$values(receiver) { + var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new A.MidiOutputMap_values_closure(values)); + return values; }, - $isNodeValidator: 1 - }; - W.ImmutableListMixin.prototype = { - get$iterator: function(receiver) { - return new W.FixedSizeListIterator(receiver, this.get$length(receiver), H.instanceType(receiver)._eval$1("FixedSizeListIterator")); + get$length(receiver) { + return receiver.size; }, - add$1: function(receiver, value) { - H.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + get$isEmpty(receiver) { + return receiver.size === 0; }, - addAll$1: function(receiver, iterable) { - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + get$isNotEmpty(receiver) { + return receiver.size !== 0; }, - sort$1: function(receiver, compare) { - H.instanceType(receiver)._eval$1("int(ImmutableListMixin.E,ImmutableListMixin.E)?")._as(compare); - throw H.wrapException(P.UnsupportedError$("Cannot sort immutable List.")); + $indexSet(receiver, key, value) { + A._asStringS(key); + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + remove$1(receiver, key) { + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - insert$2: function(receiver, index, element) { - H.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(element); - throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + $isMap: 1 + }; + A.MidiOutputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - insertAll$2: function(receiver, index, iterable) { - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + $signature: 34 + }; + A.MidiOutputMap_values_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.values, v); }, - setAll$2: function(receiver, index, iterable) { - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot modify an immutable List.")); + $signature: 34 + }; + A.MimeType.prototype = {$isMimeType: 1}; + A.MimeTypeArray.prototype = { + get$length(receiver) { + return receiver.length; }, - removeAt$1: function(receiver, pos) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - removeLast$0: function(receiver) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.MimeType._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - remove$1: function(receiver, object) { - throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - removeWhere$1: function(receiver, test) { - H.instanceType(receiver)._eval$1("bool(ImmutableListMixin.E)")._as(test); - throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - H._asIntS(end); - H.instanceType(receiver)._eval$1("Iterable")._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot setRange on immutable List.")); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - removeRange$2: function(receiver, start, end) { - throw H.wrapException(P.UnsupportedError$("Cannot removeRange on immutable List.")); - } + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W.NodeValidatorBuilder.prototype = { - add$1: function(_, validator) { - C.JSArray_methods.add$1(this._validators, type$.NodeValidator._as(validator)); + A.MouseEvent.prototype = { + get$button(receiver) { + return receiver.button; }, - allowsElement$1: function(element) { - return C.JSArray_methods.any$1(this._validators, new W.NodeValidatorBuilder_allowsElement_closure(element)); + _initMouseEvent_1$15(receiver, type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { + return receiver.initMouseEvent(type, true, true, view, detail, screenX, screenY, clientX, clientY, false, false, false, false, button, relatedTarget); }, - allowsAttribute$3: function(element, attributeName, value) { - return C.JSArray_methods.any$1(this._validators, new W.NodeValidatorBuilder_allowsAttribute_closure(element, attributeName, value)); + get$offset(receiver) { + var t1, t2, target, t3, t4, t5, point; + if (!!receiver.offsetX) + return new A.Point(receiver.offsetX, receiver.offsetY, type$.Point_num); + else { + t1 = receiver.target; + t2 = type$.Element; + if (!t2._is(A._convertNativeToDart_EventTarget(t1))) + throw A.wrapException(A.UnsupportedError$("offsetX is only supported on elements")); + target = t2._as(A._convertNativeToDart_EventTarget(t1)); + t1 = receiver.clientX; + t2 = receiver.clientY; + t3 = type$.Point_num; + t4 = target.getBoundingClientRect(); + t5 = t4.left; + t5.toString; + t4 = t4.top; + t4.toString; + point = new A.Point(t1, t2, t3).$sub(0, new A.Point(t5, t4, t3)); + return new A.Point(J.toInt$0$n(point.x), J.toInt$0$n(point.y), t3); + } }, - $isNodeValidator: 1 + $isMouseEvent: 1 }; - W.NodeValidatorBuilder_allowsElement_closure.prototype = { - call$1: function(v) { - return type$.NodeValidator._as(v).allowsElement$1(this.element); - }, - $signature: 164 + A.MutationRecord.prototype = { + get$target(receiver) { + return receiver.target; + } }; - W.NodeValidatorBuilder_allowsAttribute_closure.prototype = { - call$1: function(v) { - return type$.NodeValidator._as(v).allowsAttribute$3(this.element, this.attributeName, this.value); - }, - $signature: 164 + A.NavigatorUserMediaError.prototype = { + get$message(receiver) { + return receiver.message; + } }; - W._SimpleNodeValidator.prototype = { - _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes: function(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { - var legalAttributes, extraUriAttributes, t1; - this.allowedElements.addAll$1(0, allowedElements); - legalAttributes = allowedAttributes.where$1(0, new W._SimpleNodeValidator_closure()); - extraUriAttributes = allowedAttributes.where$1(0, new W._SimpleNodeValidator_closure0()); - this.allowedAttributes.addAll$1(0, legalAttributes); - t1 = this.allowedUriAttributes; - t1.addAll$1(0, C.List_empty0); - t1.addAll$1(0, extraUriAttributes); + A._ChildNodeListLazy.prototype = { + get$first(_) { + var result = this._this.firstChild; + if (result == null) + throw A.wrapException(A.StateError$("No elements")); + return result; + }, + get$last(_) { + var result = this._this.lastChild; + if (result == null) + throw A.wrapException(A.StateError$("No elements")); + return result; + }, + get$single(_) { + var t1 = this._this, + l = t1.childNodes.length; + if (l === 0) + throw A.wrapException(A.StateError$("No elements")); + if (l > 1) + throw A.wrapException(A.StateError$("More than one element")); + t1 = t1.firstChild; + t1.toString; + return t1; }, - allowsElement$1: function(element) { - return this.allowedElements.contains$1(0, W.Element__safeTagName(element)); + add$1(_, value) { + this._this.appendChild(type$.Node._as(value)); }, - allowsAttribute$3: function(element, attributeName, value) { - var _this = this, - tagName = W.Element__safeTagName(element), - t1 = _this.allowedUriAttributes; - if (t1.contains$1(0, H.S(tagName) + "::" + H.S(attributeName))) - return _this.uriPolicy.allowsUri$1(value); - else if (t1.contains$1(0, "*::" + H.S(attributeName))) - return _this.uriPolicy.allowsUri$1(value); + addAll$1(_, iterable) { + var t1, t2, len, i, t3; + type$.Iterable_Node._as(iterable); + if (iterable instanceof A._ChildNodeListLazy) { + t1 = iterable._this; + t2 = this._this; + if (t1 !== t2) + for (len = t1.childNodes.length, i = 0; i < len; ++i) { + t3 = t1.firstChild; + t3.toString; + t2.appendChild(t3); + } + return; + } + for (t1 = iterable.get$iterator(iterable), t2 = this._this; t1.moveNext$0();) + t2.appendChild(t1.get$current(t1)); + }, + insert$2(_, index, node) { + var t1, t2, t3, _this = this; + type$.Node._as(node); + if (index < 0 || index > _this._this.childNodes.length) + throw A.wrapException(A.RangeError$range(index, 0, _this.get$length(_this), null, null)); + t1 = _this._this; + t2 = t1.childNodes; + t3 = t2.length; + if (index === t3) + t1.appendChild(node); else { - t1 = _this.allowedAttributes; - if (t1.contains$1(0, H.S(tagName) + "::" + H.S(attributeName))) - return true; - else if (t1.contains$1(0, "*::" + H.S(attributeName))) - return true; - else if (t1.contains$1(0, H.S(tagName) + "::*")) - return true; - else if (t1.contains$1(0, "*::*")) - return true; + if (!(index >= 0 && index < t3)) + return A.ioore(t2, index); + J.insertBefore$2$x(t1, node, t2[index]); + } + }, + insertAll$2(_, index, iterable) { + var t1, t2, t3; + type$.Iterable_Node._as(iterable); + t1 = this._this; + t2 = t1.childNodes; + t3 = t2.length; + if (index === t3) + this.addAll$1(0, iterable); + else { + if (!(index >= 0 && index < t3)) + return A.ioore(t2, index); + J.insertAllBefore$2$x(t1, iterable, t2[index]); } + }, + setAll$2(_, index, iterable) { + type$.Iterable_Node._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot setAll on Node list")); + }, + removeLast$0(_) { + var result = this.get$last(this); + this._this.removeChild(result); + return result; + }, + removeAt$1(_, index) { + var result, + t1 = this._this, + t2 = t1.childNodes; + if (!(index >= 0 && index < t2.length)) + return A.ioore(t2, index); + result = t2[index]; + t1.removeChild(result); + return result; + }, + remove$1(_, object) { return false; }, - $isNodeValidator: 1 + _filter$2(_, test, removeMatching) { + var t1, child, nextChild; + type$.bool_Function_Node._as(test); + t1 = this._this; + child = t1.firstChild; + for (; child != null; child = nextChild) { + nextChild = child.nextSibling; + if (J.$eq$(test.call$1(child), true)) + t1.removeChild(child); + } + }, + removeWhere$1(_, test) { + this._filter$2(0, type$.bool_Function_Node._as(test), true); + }, + $indexSet(_, index, value) { + var t1; + A._asIntS(index); + t1 = this._this; + t1.replaceChild(type$.Node._as(value), B.NodeList_methods.$index(t1.childNodes, index)); + }, + get$iterator(_) { + var t1 = this._this.childNodes; + return new A.FixedSizeListIterator(t1, t1.length, A.instanceType(t1)._eval$1("FixedSizeListIterator")); + }, + sort$1(_, compare) { + type$.nullable_int_Function_Node_Node._as(compare); + throw A.wrapException(A.UnsupportedError$("Cannot sort Node list")); + }, + sort$0($receiver) { + return this.sort$1($receiver, null); + }, + setRange$4(_, start, end, iterable, skipCount) { + A._asIntS(end); + type$.Iterable_Node._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot setRange on Node list")); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + get$length(_) { + return this._this.childNodes.length; + }, + set$length(_, value) { + throw A.wrapException(A.UnsupportedError$("Cannot set length on immutable List.")); + }, + $index(_, index) { + A._asIntS(index); + return B.NodeList_methods.$index(this._this.childNodes, index); + } }; - W._SimpleNodeValidator_closure.prototype = { - call$1: function(x) { - return !C.JSArray_methods.contains$1(C.List_yrN, H._asStringS(x)); + A.Node.prototype = { + remove$0(receiver) { + var t1 = receiver.parentNode; + if (t1 != null) + t1.removeChild(receiver); }, - $signature: 61 + replaceWith$1(receiver, otherNode) { + var $parent, t1, exception; + try { + t1 = receiver.parentNode; + t1.toString; + $parent = t1; + J._replaceChild$2$x($parent, otherNode, receiver); + } catch (exception) { + } + return receiver; + }, + insertAllBefore$2(receiver, newNodes, child) { + var t1, t2; + type$.Iterable_Node._as(newNodes); + for (t1 = J.get$iterator$ax(newNodes._source), t2 = A._instanceType(newNodes), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0();) + this.insertBefore$2(receiver, t2._as(t1.get$current(t1)), child); + }, + _clearChildren$0(receiver) { + var t1; + for (; t1 = receiver.firstChild, t1 != null;) + receiver.removeChild(t1); + }, + toString$0(receiver) { + var value = receiver.nodeValue; + return value == null ? this.super$Interceptor$toString(receiver) : value; + }, + set$text(receiver, value) { + receiver.textContent = value; + }, + append$1(receiver, node) { + return receiver.appendChild(node); + }, + clone$1(receiver, deep) { + return receiver.cloneNode(true); + }, + contains$1(receiver, other) { + return receiver.contains(other); + }, + insertBefore$2(receiver, node, child) { + return receiver.insertBefore(node, child); + }, + _replaceChild$2(receiver, node, child) { + return receiver.replaceChild(node, child); + }, + $isNode: 1 }; - W._SimpleNodeValidator_closure0.prototype = { - call$1: function(x) { - return C.JSArray_methods.contains$1(C.List_yrN, H._asStringS(x)); + A.NodeList.prototype = { + get$length(receiver) { + return receiver.length; }, - $signature: 61 + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); + }, + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); + }, + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W._TemplatingNodeValidator.prototype = { - allowsAttribute$3: function(element, attributeName, value) { - if (this.super$_SimpleNodeValidator$allowsAttribute(element, attributeName, value)) - return true; - if (attributeName === "template" && value === "") - return true; - if (element.getAttribute("template") === "") - return this._templateAttrs.contains$1(0, attributeName); - return false; + A.OptionElement.prototype = { + get$value(receiver) { + return receiver.value; + }, + set$value(receiver, value) { + receiver.value = value; + }, + $isOptionElement: 1 + }; + A.OutputElement.prototype = { + get$value(receiver) { + return receiver.value; + }, + set$value(receiver, value) { + receiver.value = value; + } + }; + A.OverconstrainedError.prototype = { + get$message(receiver) { + return receiver.message; } }; - W._TemplatingNodeValidator_closure.prototype = { - call$1: function(attr) { - return "TEMPLATE::" + H.S(H._asStringS(attr)); + A.ParamElement.prototype = { + get$value(receiver) { + return receiver.value; }, - $signature: 99 + set$value(receiver, value) { + receiver.value = value; + } }; - W.FixedSizeListIterator.prototype = { - moveNext$0: function() { - var _this = this, - nextPosition = _this._position + 1, - t1 = _this._length; - if (nextPosition < t1) { - _this.set$_current(J.$index$asx(_this._array, nextPosition)); - _this._position = nextPosition; - return true; - } - _this.set$_current(null); - _this._position = t1; - return false; + A.PaymentInstruments.prototype = { + keys$0(receiver) { + return A.promiseToFuture(receiver.keys(), type$.List_dynamic); + } + }; + A.Plugin.prototype = { + get$length(receiver) { + return receiver.length; }, - get$current: function(_) { - return this._current; + $isPlugin: 1 + }; + A.PluginArray.prototype = { + get$length(receiver) { + return receiver.length; }, - set$_current: function(_current) { - this._current = this.$ti._eval$1("1?")._as(_current); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $isIterator: 1 + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Plugin._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); + }, + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); + }, + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.PointerEvent.prototype = {$isPointerEvent: 1}; + A.PositionError.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.PreElement.prototype = {}; + A.PresentationAvailability.prototype = { + get$value(receiver) { + return receiver.value; + } + }; + A.PresentationConnectionCloseEvent.prototype = { + get$message(receiver) { + return receiver.message; + } + }; + A.ProcessingInstruction.prototype = { + get$target(receiver) { + return receiver.target; + } }; - W._DOMWindowCrossFrame.prototype = { - postMessage$2: function(_, message, targetOrigin) { - this._window.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); + A.ProgressElement.prototype = { + get$value(receiver) { + return receiver.value; }, - $isEventTarget: 1, - $isWindowBase: 1 + set$value(receiver, value) { + receiver.value = value; + } }; - W.KeyEvent.prototype = { - get$keyCode: function(_) { - return this._shadowKeyCode; + A.ProgressEvent.prototype = {$isProgressEvent: 1}; + A.ReportBody.prototype = {}; + A.ResizeObserverEntry.prototype = { + get$target(receiver) { + return receiver.target; + } + }; + A.RtcStatsReport.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))) != null; }, - get$altKey: function(_) { - return this._shadowAltKey; + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); }, - get$which: function(_) { - return this._shadowKeyCode; + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - get$currentTarget: function(_) { - return this._currentTarget; + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.RtcStatsReport_keys_closure(keys)); + return keys; }, - get$ctrlKey: function(_) { - return J.get$ctrlKey$x(this._html$_parent); + get$values(receiver) { + var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new A.RtcStatsReport_values_closure(values)); + return values; }, - get$metaKey: function(_) { - return J.get$metaKey$x(this._html$_parent); + get$length(receiver) { + return receiver.size; }, - get$shiftKey: function(_) { - return J.get$shiftKey$x(this._html$_parent); + get$isEmpty(receiver) { + return receiver.size === 0; }, - _initKeyboardEvent$10: function(_, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { - throw H.wrapException(P.UnsupportedError$("Cannot initialize a KeyboardEvent from a KeyEvent.")); + get$isNotEmpty(receiver) { + return receiver.size !== 0; }, - get$repeat: function(_) { - return H.throwExpression(P.UnimplementedError$(null)); + $indexSet(receiver, key, value) { + A._asStringS(key); + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - $isKeyboardEvent: 1 + remove$1(receiver, key) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 }; - W._WrappedEvent.prototype = { - get$currentTarget: function(_) { - return J.get$currentTarget$x(this.wrapped); + A.RtcStatsReport_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - get$target: function(_) { - return J.get$target$x(this.wrapped); + $signature: 34 + }; + A.RtcStatsReport_values_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.values, v); }, - _initEvent$3: function(_, type, bubbles, cancelable) { - throw H.wrapException(P.UnsupportedError$("Cannot initialize this Event.")); + $signature: 34 + }; + A.SelectElement.prototype = { + get$length(receiver) { + return receiver.length; }, - preventDefault$0: function(_) { - J.preventDefault$0$x(this.wrapped); + get$value(receiver) { + return receiver.value; }, - stopPropagation$0: function(_) { - J.stopPropagation$0$x(this.wrapped); + set$value(receiver, value) { + receiver.value = value; }, - $isEvent: 1 + $isSelectElement: 1 }; - W._TrustedHtmlTreeSanitizer.prototype = { - sanitizeTree$1: function(node) { + A.SharedArrayBuffer.prototype = {$isSharedArrayBuffer: 1}; + A.SourceBuffer.prototype = {$isSourceBuffer: 1}; + A.SourceBufferList.prototype = { + get$length(receiver) { + return receiver.length; }, - $isNodeTreeSanitizer: 1 - }; - W._SameOriginUriPolicy.prototype = {$isUriPolicy: 1}; - W._ValidatingTreeSanitizer.prototype = { - sanitizeTree$1: function(node) { - var previousTreeModifications, - walk = new W._ValidatingTreeSanitizer_sanitizeTree_walk(this); - do { - previousTreeModifications = this.numTreeModifications; - walk.call$2(node, null); - } while (previousTreeModifications !== this.numTreeModifications); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - _removeNode$2: function(node, $parent) { - ++this.numTreeModifications; - if ($parent == null || $parent !== node.parentNode) - J.remove$0$ax(node); - else - $parent.removeChild(node); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.SourceBuffer._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - _sanitizeUntrustedElement$2: function(element, $parent) { - var corruptedTest1, elementText, elementTagName, exception, t1, - corrupted = true, - attrs = null, isAttr = null; - try { - attrs = J.get$attributes$x(element); - isAttr = attrs._html$_element.getAttribute("is"); - type$.Element._as(element); - corruptedTest1 = function(element) { - if (!(element.attributes instanceof NamedNodeMap)) - return true; - if (element.id == 'lastChild' || element.name == 'lastChild' || element.id == 'previousSibling' || element.name == 'previousSibling' || element.id == 'children' || element.name == 'children') - return true; - var childNodes = element.childNodes; - if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) - return true; - if (element.children) - if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) - return true; - var length = 0; - if (element.children) - length = element.children.length; - for (var i = 0; i < length; i++) { - var child = element.children[i]; - if (child.id == 'attributes' || child.name == 'attributes' || child.id == 'lastChild' || child.name == 'lastChild' || child.id == 'previousSibling' || child.name == 'previousSibling' || child.id == 'children' || child.name == 'children') - return true; - } - return false; - }(element); - corrupted = H.boolConversionCheck(corruptedTest1) ? true : !(element.attributes instanceof NamedNodeMap); - } catch (exception) { - H.unwrapException(exception); - } - elementText = "element unprintable"; - try { - elementText = J.toString$0$(element); - } catch (exception) { - H.unwrapException(exception); - } - try { - elementTagName = W.Element__safeTagName(element); - this._sanitizeElement$7(type$.Element._as(element), $parent, corrupted, elementText, elementTagName, type$.Map_dynamic_dynamic._as(attrs), H._asStringQ(isAttr)); - } catch (exception) { - if (H.unwrapException(exception) instanceof P.ArgumentError) - throw exception; - else { - this._removeNode$2(element, $parent); - window; - t1 = "Removing corrupted element " + H.S(elementText); - if (typeof console != "undefined") - window.console.warn(t1); - } - } + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - _sanitizeElement$7: function(element, $parent, corrupted, text, tag, attrs, isAttr) { - var t1, keys, i, $name, t2, t3, _this = this; - if (corrupted) { - _this._removeNode$2(element, $parent); - window; - t1 = "Removing element due to corrupted attributes on <" + text + ">"; - if (typeof console != "undefined") - window.console.warn(t1); - return; - } - if (!_this.validator.allowsElement$1(element)) { - _this._removeNode$2(element, $parent); - window; - t1 = "Removing disallowed element <" + H.S(tag) + "> from " + H.S($parent); - if (typeof console != "undefined") - window.console.warn(t1); - return; - } - if (isAttr != null) - if (!_this.validator.allowsAttribute$3(element, "is", isAttr)) { - _this._removeNode$2(element, $parent); - window; - t1 = "Removing disallowed type extension <" + H.S(tag) + ' is="' + isAttr + '">'; - if (typeof console != "undefined") - window.console.warn(t1); - return; - } - t1 = attrs.get$keys(attrs); - keys = H.setRuntimeTypeInfo(t1.slice(0), H._arrayInstanceType(t1)); - for (i = attrs.get$keys(attrs).length - 1, t1 = attrs._html$_element; i >= 0; --i) { - if (i >= keys.length) - return H.ioore(keys, i); - $name = keys[i]; - t2 = _this.validator; - t3 = J.toLowerCase$0$s($name); - H._asStringS($name); - if (!t2.allowsAttribute$3(element, t3, t1.getAttribute($name))) { - window; - t2 = "Removing disallowed attribute <" + H.S(tag) + " " + $name + '="' + H.S(t1.getAttribute($name)) + '">'; - if (typeof console != "undefined") - window.console.warn(t2); - t1.removeAttribute($name); - } - } - if (type$.TemplateElement._is(element)) { - t1 = element.content; - t1.toString; - _this.sanitizeTree$1(t1); - } + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - $isNodeTreeSanitizer: 1 - }; - W._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { - call$2: function(node, $parent) { - var child, nextChild, t2, t3, t4, exception, - t1 = this.$this; - switch (node.nodeType) { - case 1: - t1._sanitizeUntrustedElement$2(node, $parent); - break; - case 8: - case 11: - case 3: - case 4: - break; - default: - t1._removeNode$2(node, $parent); - } - child = node.lastChild; - for (t2 = type$.Node; null != child;) { - nextChild = null; - try { - nextChild = child.previousSibling; - if (nextChild != null) { - t3 = nextChild.nextSibling; - t4 = child; - t4 = t3 == null ? t4 != null : t3 !== t4; - t3 = t4; - } else - t3 = false; - if (t3) { - t3 = P.StateError$("Corrupt HTML"); - throw H.wrapException(t3); - } - } catch (exception) { - H.unwrapException(exception); - t3 = t2._as(child); - ++t1.numTreeModifications; - t4 = t3.parentNode; - t4 = node == null ? t4 != null : node !== t4; - if (t4) { - t4 = t3.parentNode; - if (t4 != null) - t4.removeChild(t3); - } else - node.removeChild(t3); - child = null; - nextChild = node.lastChild; - } - if (child != null) - this.call$2(child, node); - child = nextChild; - } + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - $signature: 456 - }; - W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase.prototype = {}; - W._DomRectList_Interceptor_ListMixin.prototype = {}; - W._DomRectList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._DomStringList_Interceptor_ListMixin.prototype = {}; - W._DomStringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._FileList_Interceptor_ListMixin.prototype = {}; - W._FileList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._HtmlCollection_Interceptor_ListMixin.prototype = {}; - W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._MidiInputMap_Interceptor_MapMixin.prototype = {}; - W._MidiOutputMap_Interceptor_MapMixin.prototype = {}; - W._MimeTypeArray_Interceptor_ListMixin.prototype = {}; - W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._NodeList_Interceptor_ListMixin.prototype = {}; - W._NodeList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._PluginArray_Interceptor_ListMixin.prototype = {}; - W._PluginArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._RtcStatsReport_Interceptor_MapMixin.prototype = {}; - W._SourceBufferList_EventTarget_ListMixin.prototype = {}; - W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; - W._SpeechGrammarList_Interceptor_ListMixin.prototype = {}; - W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._Storage_Interceptor_MapMixin.prototype = {}; - W._TextTrackCueList_Interceptor_ListMixin.prototype = {}; - W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W._TextTrackList_EventTarget_ListMixin.prototype = {}; - W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; - W._TouchList_Interceptor_ListMixin.prototype = {}; - W._TouchList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W.__CssRuleList_Interceptor_ListMixin.prototype = {}; - W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W.__GamepadList_Interceptor_ListMixin.prototype = {}; - W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W.__NamedNodeMap_Interceptor_ListMixin.prototype = {}; - W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W.__SpeechRecognitionResultList_Interceptor_ListMixin.prototype = {}; - W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - W.__StyleSheetList_Interceptor_ListMixin.prototype = {}; - W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P._StructuredClone.prototype = { - findSlot$1: function(value) { - var i, - t1 = this.values, - $length = t1.length; - for (i = 0; i < $length; ++i) - if (t1[i] === value) - return i; - C.JSArray_methods.add$1(t1, value); - C.JSArray_methods.add$1(this.copies, null); - return $length; + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - walk$1: function(e) { - var slot, t2, copy, _this = this, t1 = {}; - if (e == null) - return e; - if (H._isBool(e)) - return e; - if (typeof e == "number") - return e; - if (typeof e == "string") - return e; - if (e instanceof P.DateTime) - return new Date(e._value); - if (type$.RegExp._is(e)) - throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); - if (type$.File._is(e)) - return e; - if (type$.Blob._is(e)) - return e; - if (type$.FileList._is(e)) - return e; - if (type$.ImageData._is(e)) - return e; - if (type$.NativeByteBuffer._is(e) || type$.NativeTypedData._is(e) || type$.MessagePort._is(e)) - return e; - if (type$.Map_dynamic_dynamic._is(e)) { - slot = _this.findSlot$1(e); - t2 = _this.copies; - if (slot >= t2.length) - return H.ioore(t2, slot); - copy = t1.copy = t2[slot]; - if (copy != null) - return copy; - copy = {}; - t1.copy = copy; - C.JSArray_methods.$indexSet(t2, slot, copy); - J.forEach$1$ax(e, new P._StructuredClone_walk_closure(t1, _this)); - return t1.copy; - } - if (type$.List_dynamic._is(e)) { - slot = _this.findSlot$1(e); - t1 = _this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = t1[slot]; - if (copy != null) - return copy; - return _this.copyList$2(e, slot); - } - if (type$.JSObject._is(e)) { - slot = _this.findSlot$1(e); - t2 = _this.copies; - if (slot >= t2.length) - return H.ioore(t2, slot); - copy = t1.copy = t2[slot]; - if (copy != null) - return copy; - copy = {}; - t1.copy = copy; - C.JSArray_methods.$indexSet(t2, slot, copy); - _this.forEachObjectKey$2(e, new P._StructuredClone_walk_closure0(t1, _this)); - return t1.copy; - } - throw H.wrapException(P.UnimplementedError$("structured clone of other type")); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - copyList$2: function(e, slot) { - var i, - t1 = J.getInterceptor$asx(e), - $length = t1.get$length(e), - copy = new Array($length); - C.JSArray_methods.$indexSet(this.copies, slot, copy); - if (typeof $length !== "number") - return H.iae($length); - i = 0; - for (; i < $length; ++i) - C.JSArray_methods.$indexSet(copy, i, this.walk$1(t1.$index(e, i))); - return copy; - } + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P._StructuredClone_walk_closure.prototype = { - call$2: function(key, value) { - this._box_0.copy[key] = this.$this.walk$1(value); + A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; + A.SpeechGrammarList.prototype = { + get$length(receiver) { + return receiver.length; }, - $signature: 45 - }; - P._StructuredClone_walk_closure0.prototype = { - call$2: function(key, value) { - this._box_0.copy[key] = this.$this.walk$1(value); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $signature: 163 - }; - P._AcceptStructuredClone.prototype = { - findSlot$1: function(value) { - var i, - t1 = this.values, - $length = t1.length; - for (i = 0; i < $length; ++i) - if (t1[i] === value) - return i; - C.JSArray_methods.add$1(t1, value); - C.JSArray_methods.add$1(this.copies, null); - return $length; + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.SpeechGrammar._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - walk$1: function(e) { - var proto, slot, t1, copy, t2, l, $length, i, _this = this, _box_0 = {}; - if (e == null) - return e; - if (H._isBool(e)) - return e; - if (typeof e == "number") - return e; - if (typeof e == "string") - return e; - if (e instanceof Date) - return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); - if (e instanceof RegExp) - throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); - if (typeof Promise != "undefined" && e instanceof Promise) - return P.promiseToFuture(e, type$.dynamic); - proto = Object.getPrototypeOf(e); - if (proto === Object.prototype || proto === null) { - slot = _this.findSlot$1(e); - t1 = _this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = _box_0.copy = t1[slot]; - if (copy != null) - return copy; - t2 = type$.dynamic; - copy = P.LinkedHashMap_LinkedHashMap$_empty(t2, t2); - _box_0.copy = copy; - C.JSArray_methods.$indexSet(t1, slot, copy); - _this.forEachJsField$2(e, new P._AcceptStructuredClone_walk_closure(_box_0, _this)); - return _box_0.copy; - } - if (e instanceof Array) { - l = e; - slot = _this.findSlot$1(l); - t1 = _this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = t1[slot]; - if (copy != null) - return copy; - t2 = J.getInterceptor$asx(l); - $length = t2.get$length(l); - copy = _this.mustCopy ? new Array($length) : l; - C.JSArray_methods.$indexSet(t1, slot, copy); - if (typeof $length !== "number") - return H.iae($length); - t1 = J.getInterceptor$ax(copy); - i = 0; - for (; i < $length; ++i) - t1.$indexSet(copy, i, _this.walk$1(t2.$index(l, i))); - return copy; - } - return e; + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - convertNativeToDart_AcceptStructuredClone$2$mustCopy: function(object, mustCopy) { - this.mustCopy = mustCopy; - return this.walk$1(object); - } - }; - P._AcceptStructuredClone_walk_closure.prototype = { - call$2: function(key, value) { - var t1 = this._box_0.copy, - t2 = this.$this.walk$1(value); - J.$indexSet$ax(t1, key, t2); - return t2; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - $signature: 220 - }; - P._convertDartToNative_Value_closure.prototype = { - call$1: function(element) { - this.array.push(P._convertDartToNative_Value(element)); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - $signature: 36 - }; - P.convertDartToNative_Dictionary_closure.prototype = { - call$2: function(key, value) { - this.object[key] = P._convertDartToNative_Value(value); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - $signature: 45 - }; - P._StructuredCloneDart2Js.prototype = { - forEachObjectKey$2: function(object, action) { - var t1, t2, _i, key; - type$.dynamic_Function_dynamic_dynamic._as(action); - for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t2; ++_i) { - key = t1[_i]; - action.call$2(key, object[key]); - } - } + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P._AcceptStructuredCloneDart2Js.prototype = { - forEachJsField$2: function(object, action) { - var t1, t2, _i, key; - type$.dynamic_Function_dynamic_dynamic._as(action); - for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - key = t1[_i]; - action.call$2(key, object[key]); - } + A.SpeechRecognitionError.prototype = { + get$message(receiver) { + return receiver.message; } }; - P.CssClassSetImpl.prototype = { - _validateToken$1: function(value) { - var t1; - H._asStringS(value); - t1 = $.$get$CssClassSetImpl__validTokenRE()._nativeRegExp; - if (typeof value != "string") - H.throwExpression(H.argumentErrorValue(value)); - if (t1.test(value)) - return value; - throw H.wrapException(P.ArgumentError$value(value, "value", "Not a valid class token")); - }, - toString$0: function(_) { - return this.readClasses$0().join$1(0, " "); + A.SpeechRecognitionResult.prototype = { + get$length(receiver) { + return receiver.length; }, - get$iterator: function(_) { - var t1 = this.readClasses$0(); - return P._LinkedHashSetIterator$(t1, t1._collection$_modifications, H._instanceType(t1)._precomputed1); + $isSpeechRecognitionResult: 1 + }; + A.Storage.prototype = { + containsKey$1(receiver, key) { + return receiver.getItem(A._asStringS(key)) != null; }, - forEach$1: function(_, f) { - type$.void_Function_String._as(f); - this.readClasses$0().forEach$1(0, f); + $index(receiver, key) { + return receiver.getItem(A._asStringS(key)); }, - join$1: function(_, separator) { - return this.readClasses$0().join$1(0, separator); + $indexSet(receiver, key, value) { + receiver.setItem(A._asStringS(key), A._asStringS(value)); }, - map$1$1: function(_, f, $T) { - var t1, t2; - $T._eval$1("0(String)")._as(f); - t1 = this.readClasses$0(); - t2 = H._instanceType(t1); - return new H.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + remove$1(receiver, key) { + var value; + A._asStringS(key); + value = receiver.getItem(key); + receiver.removeItem(key); + return value; }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + forEach$1(receiver, f) { + var i, key, t1; + type$.void_Function_String_String._as(f); + for (i = 0; true; ++i) { + key = receiver.key(i); + if (key == null) + return; + t1 = receiver.getItem(key); + t1.toString; + f.call$2(key, t1); + } }, - where$1: function(_, f) { - var t1, t2; - type$.bool_Function_String._as(f); - t1 = this.readClasses$0(); - t2 = H._instanceType(t1); - return new H.WhereIterable(t1, t2._eval$1("bool(SetMixin.E)")._as(f), t2._eval$1("WhereIterable")); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.Storage_keys_closure(keys)); + return keys; }, - expand$1$1: function(_, f, $T) { - var t1, t2; - $T._eval$1("Iterable<0>(String)")._as(f); - t1 = this.readClasses$0(); - t2 = H._instanceType(t1); - return new H.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(SetMixin.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + get$values(receiver) { + var values = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.Storage_values_closure(values)); + return values; }, - every$1: function(_, f) { - type$.bool_Function_String._as(f); - return this.readClasses$0().every$1(0, f); + get$length(receiver) { + return receiver.length; }, - get$isEmpty: function(_) { - return this.readClasses$0()._collection$_length === 0; + get$isEmpty(receiver) { + return receiver.key(0) == null; }, - get$isNotEmpty: function(_) { - return this.readClasses$0()._collection$_length !== 0; + get$isNotEmpty(receiver) { + return receiver.key(0) != null; }, - get$length: function(_) { - return this.readClasses$0()._collection$_length; + $isMap: 1 + }; + A.Storage_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - contains$1: function(_, value) { - if (typeof value != "string") - return false; - this._validateToken$1(value); - return this.readClasses$0().contains$1(0, value); + $signature: 76 + }; + A.Storage_values_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.values, v); }, - add$1: function(_, value) { - var t1; - H._asStringS(value); - this._validateToken$1(value); - t1 = this.modify$1(0, new P.CssClassSetImpl_add_closure(value)); - return H._asBoolS(t1 == null ? false : t1); + $signature: 76 + }; + A.StyleSheet.prototype = {$isStyleSheet: 1}; + A.TemplateElement.prototype = {$isTemplateElement: 1}; + A.TextAreaElement.prototype = { + get$value(receiver) { + return receiver.value; }, - remove$1: function(_, value) { - var s, result; - if (typeof value != "string") - return false; - this._validateToken$1(value); - s = this.readClasses$0(); - result = s.remove$1(0, value); - this.writeClasses$1(s); - return result; + set$value(receiver, value) { + receiver.value = value; }, - addAll$1: function(_, iterable) { - this.modify$1(0, new P.CssClassSetImpl_addAll_closure(this, type$.Iterable_String._as(iterable))); + setSelectionRange$2(receiver, start, end) { + return receiver.setSelectionRange(start, end); }, - removeAll$1: function(iterable) { - this.modify$1(0, new P.CssClassSetImpl_removeAll_closure(iterable)); + $isTextAreaElement: 1 + }; + A.TextTrack.prototype = {$isTextTrack: 1}; + A.TextTrackCue.prototype = {$isTextTrackCue: 1}; + A.TextTrackCueList.prototype = { + get$length(receiver) { + return receiver.length; }, - removeWhere$1: function(_, test) { - this.modify$1(0, new P.CssClassSetImpl_removeWhere_closure(type$.bool_Function_String._as(test))); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - containsAll$1: function(collection) { - return this.readClasses$0().containsAll$1(collection); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.TextTrackCue._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - intersection$1: function(_, other) { - return this.readClasses$0().intersection$1(0, other); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - union$1: function(other) { - type$.Set_String._as(other); - return this.readClasses$0().union$1(other); + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - difference$1: function(other) { - return this.readClasses$0().difference$1(other); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - get$first: function(_) { - var t1 = this.readClasses$0(); - return t1.get$first(t1); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - get$last: function(_) { - var t1 = this.readClasses$0(); - return t1.get$last(t1); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - get$single: function(_) { - var t1 = this.readClasses$0(); - return t1.get$single(t1); + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TextTrackList.prototype = { + get$length(receiver) { + return receiver.length; }, - toList$1$growable: function(_, growable) { - var t1 = this.readClasses$0(); - return P.List_List$of(t1, growable, H._instanceType(t1)._eval$1("SetMixin.E")); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.TextTrack._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - toSet$0: function(_) { - return this.readClasses$0().toSet$0(0); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - take$1: function(_, n) { - var t1 = this.readClasses$0(); - return H.TakeIterable_TakeIterable(t1, n, H._instanceType(t1)._eval$1("SetMixin.E")); + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - skip$1: function(_, n) { - var t1 = this.readClasses$0(); - return H.SkipIterable_SkipIterable(t1, n, H._instanceType(t1)._eval$1("SetMixin.E")); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - elementAt$1: function(_, index) { - return this.readClasses$0().elementAt$1(0, index); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - clear$0: function(_) { - this.modify$1(0, new P.CssClassSetImpl_clear_closure()); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - modify$1: function(_, f) { - var s, ret; - type$.dynamic_Function_Set_String._as(f); - s = this.readClasses$0(); - ret = f.call$1(s); - this.writeClasses$1(s); - return ret; + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TimeRanges.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.CssClassSetImpl_add_closure.prototype = { - call$1: function(s) { - return type$.Set_String._as(s).add$1(0, this.value); + A.Touch.prototype = { + get$target(receiver) { + return A._convertNativeToDart_EventTarget(receiver.target); }, - $signature: 221 + $isTouch: 1 }; - P.CssClassSetImpl_addAll_closure.prototype = { - call$1: function(s) { - return type$.Set_String._as(s).addAll$1(0, J.map$1$1$ax(this.iterable, this.$this.get$_validateToken(), type$.String)); + A.TouchEvent.prototype = {$isTouchEvent: 1}; + A.TouchList.prototype = { + get$length(receiver) { + return receiver.length; }, - $signature: 66 - }; - P.CssClassSetImpl_removeAll_closure.prototype = { - call$1: function(s) { - return type$.Set_String._as(s).removeAll$1(this.iterable); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $signature: 66 - }; - P.CssClassSetImpl_removeWhere_closure.prototype = { - call$1: function(s) { - type$.Set_String._as(s); - s._filterWhere$2(H._instanceType(s)._eval$1("bool(1)")._as(this.test), true); - return null; + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Touch._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - $signature: 66 - }; - P.CssClassSetImpl_clear_closure.prototype = { - call$1: function(s) { - return type$.Set_String._as(s).clear$0(0); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - $signature: 66 - }; - P.FilteredElementList.prototype = { - get$_html_common$_iterable: function() { - var t1 = this._childNodes, - t2 = H._instanceType(t1); - return new H.MappedIterable(new H.WhereIterable(t1, t2._eval$1("bool(ListMixin.E)")._as(new P.FilteredElementList__iterable_closure()), t2._eval$1("WhereIterable")), t2._eval$1("Element(ListMixin.E)")._as(new P.FilteredElementList__iterable_closure0()), t2._eval$1("MappedIterable")); + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - forEach$1: function(_, f) { - type$.void_Function_Element._as(f); - C.JSArray_methods.forEach$1(P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element), f); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - $indexSet: function(_, index, value) { - var t1; - H._asIntS(index); - type$.Element._as(value); - t1 = this.get$_html_common$_iterable(); - J.replaceWith$1$x(t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)), value); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - set$length: function(_, newLength) { - var len = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); - if (typeof len !== "number") - return H.iae(len); - if (newLength >= len) - return; - else if (newLength < 0) - throw H.wrapException(P.ArgumentError$("Invalid list length")); - this.removeRange$2(0, newLength, len); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - add$1: function(_, value) { - this._childNodes._this.appendChild(type$.Element._as(value)); + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TrackDefaultList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.UIEvent.prototype = {}; + A.Url.prototype = { + toString$0(receiver) { + return String(receiver); + } + }; + A.VREyeParameters.prototype = { + get$offset(receiver) { + return receiver.offset; + } + }; + A.VideoElement.prototype = {$isCanvasImageSource: 1}; + A.VideoTrackList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.Window.prototype = { + alert$1(receiver, message) { + return receiver.alert(message); }, - addAll$1: function(_, iterable) { - var t1, t2; - for (t1 = J.get$iterator$ax(type$.Iterable_Element._as(iterable)), t2 = this._childNodes._this; t1.moveNext$0();) - t2.appendChild(t1.get$current(t1)); + confirm$1(receiver, message) { + return receiver.confirm(message); }, - contains$1: function(_, needle) { - if (!type$.Element._is(needle)) - return false; - return needle.parentNode === this._node; + _getComputedStyle$2(receiver, elt, pseudoElt) { + return receiver.getComputedStyle(elt, pseudoElt); }, - get$reversed: function(_) { - var t1 = P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); - return new H.ReversedListIterable(t1, H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); + postMessage$2(receiver, message, targetOrigin) { + receiver.postMessage(new A._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); + return; }, - sort$1: function(_, compare) { - type$.nullable_int_Function_Element_Element._as(compare); - throw H.wrapException(P.UnsupportedError$("Cannot sort filtered list")); + $isWindow: 1, + $isWindowBase: 1 + }; + A.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; + A.XmlSerializer.prototype = { + serializeToString$1(receiver, root) { + return receiver.serializeToString(root); + } + }; + A._Attr.prototype = { + get$value(receiver) { + return receiver.value; }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + set$value(receiver, value) { + receiver.value = value; }, - setRange$4: function(_, start, end, iterable, skipCount) { - H._asIntS(end); - type$.Iterable_Element._as(iterable); - throw H.wrapException(P.UnsupportedError$("Cannot setRange on filtered list")); + $is_Attr: 1 + }; + A._CssRuleList.prototype = { + get$length(receiver) { + return receiver.length; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - removeRange$2: function(_, start, end) { - var t1 = this.get$_html_common$_iterable(); - t1 = H.SkipIterable_SkipIterable(t1, start, t1.$ti._eval$1("Iterable.E")); - if (typeof end !== "number") - return end.$sub(); - if (typeof start !== "number") - return H.iae(start); - C.JSArray_methods.forEach$1(P.List_List$from(H.TakeIterable_TakeIterable(t1, end - start, H._instanceType(t1)._eval$1("Iterable.E")), true, type$.dynamic), new P.FilteredElementList_removeRange_closure()); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.CssRule._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - clear$0: function(_) { - J._clearChildren$0$x(this._childNodes._this); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - removeLast$0: function(_) { - var t1 = this.get$_html_common$_iterable(), - result = t1._f.call$1(J.get$last$ax(t1.__internal$_iterable)); - if (result != null) - J.remove$0$ax(result); - return result; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - insert$2: function(_, index, value) { - var t1, element; - type$.Element._as(value); - if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) - this._childNodes._this.appendChild(value); - else { - t1 = this.get$_html_common$_iterable(); - element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); - t1 = element.parentNode; - t1.toString; - J.insertBefore$2$x(t1, value, element); - } - }, - insertAll$2: function(_, index, iterable) { - var t1, element; - type$.Iterable_Element._as(iterable); - if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) - this.addAll$1(0, iterable); - else { - t1 = this.get$_html_common$_iterable(); - element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); - t1 = element.parentNode; - t1.toString; - J.insertAllBefore$2$x(t1, iterable, element); - } - }, - removeAt$1: function(_, index) { - var t1 = this.get$_html_common$_iterable(); - t1 = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); - J.remove$0$ax(t1); - return t1; - }, - remove$1: function(_, element) { - if (!type$.Element._is(element)) - return false; - if (this.contains$1(0, element)) { - J.remove$0$ax(element); - return true; - } else - return false; - }, - get$length: function(_) { - return J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); - }, - $index: function(_, index) { - var t1; - H._asIntS(index); - t1 = this.get$_html_common$_iterable(); - return t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); - }, - get$iterator: function(_) { - var t1 = P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); - return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); - } - }; - P.FilteredElementList__iterable_closure.prototype = { - call$1: function(n) { - return type$.Element._is(type$.Node._as(n)); - }, - $signature: 165 - }; - P.FilteredElementList__iterable_closure0.prototype = { - call$1: function(n) { - return type$.Element._as(type$.Node._as(n)); - }, - $signature: 223 - }; - P.FilteredElementList_removeRange_closure.prototype = { - call$1: function(el) { - return J.remove$0$ax(el); - }, - $signature: 36 - }; - P.Cursor.prototype = {}; - P.CursorWithValue.prototype = { - get$value: function(receiver) { - return new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.value, false); - } - }; - P._completeRequest_closure.prototype = { - call$1: function(e) { - this.completer.complete$1(0, this.T._as(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(this.request.result, false))); - }, - $signature: 42 - }; - P.KeyRange.prototype = {$isKeyRange: 1}; - P.ObjectStore.prototype = { - add$1: function(receiver, value) { - var request, e, stacktrace, t1, exception, key = null; - try { - request = null; - if (key != null) - request = this._indexed_db$_add$2(receiver, value, key); - else - request = this._indexed_db$_add$1(receiver, value); - t1 = P._completeRequest(type$.Request._as(request), type$.dynamic); - return t1; - } catch (exception) { - e = H.unwrapException(exception); - stacktrace = H.getTraceFromException(exception); - t1 = P.Future_Future$error(e, stacktrace, type$.dynamic); - return t1; - } - }, - _indexed_db$_add$2: function(receiver, value, key) { - return receiver.add(new P._StructuredCloneDart2Js([], []).walk$1(value)); - }, - _indexed_db$_add$1: function($receiver, value) { - return this._indexed_db$_add$2($receiver, value, null); - } - }; - P.Observation.prototype = { - get$value: function(receiver) { - return receiver.value; - } - }; - P.Request0.prototype = {$isRequest0: 1}; - P.VersionChangeEvent.prototype = { - get$target: function(receiver) { - return receiver.target; - } - }; - P._convertToJS_closure.prototype = { - call$1: function(o) { - var jsFunction; - type$.Function._as(o); - jsFunction = function(_call, f, captureThis) { - return function() { - return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); - }; - }(P._callDartFunction, o, false); - P._defineProperty(jsFunction, $.$get$DART_CLOSURE_PROPERTY_NAME(), o); - return jsFunction; - }, - $signature: 14 - }; - P._convertToJS_closure0.prototype = { - call$1: function(o) { - return new this.ctor(o); - }, - $signature: 14 - }; - P._wrapToDart_closure.prototype = { - call$1: function(o) { - return new P.JsFunction(o); - }, - $signature: 224 - }; - P._wrapToDart_closure0.prototype = { - call$1: function(o) { - return new P.JsArray(o, type$.JsArray_dynamic); - }, - $signature: 225 - }; - P._wrapToDart_closure1.prototype = { - call$1: function(o) { - return new P.JsObject(o); - }, - $signature: 227 - }; - P.JsObject.prototype = { - $index: function(_, property) { - if (typeof property != "string" && typeof property != "number") - throw H.wrapException(P.ArgumentError$("property is not a String or num")); - return P._convertToDart(this._js$_jsObject[property]); - }, - $indexSet: function(_, property, value) { - if (typeof property != "string" && typeof property != "number") - throw H.wrapException(P.ArgumentError$("property is not a String or num")); - this._js$_jsObject[property] = P._convertToJS(value); - }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof P.JsObject && this._js$_jsObject === other._js$_jsObject; - }, - toString$0: function(_) { - var t1, exception; - try { - t1 = String(this._js$_jsObject); - return t1; - } catch (exception) { - H.unwrapException(exception); - t1 = this.super$Object$toString(0); - return t1; - } - }, - callMethod$2: function(method, args) { - var t2, - t1 = this._js$_jsObject; - if (args == null) - t2 = null; - else { - t2 = H._arrayInstanceType(args); - t2 = P.List_List$from(new H.MappedListIterable(args, t2._eval$1("@(1)")._as(P.js___convertToJS$closure()), t2._eval$1("MappedListIterable<1,@>")), true, type$.dynamic); - } - return P._convertToDart(t1[method].apply(t1, t2)); - }, - callMethod$1: function(method) { - return this.callMethod$2(method, null); - }, - get$hashCode: function(_) { - return 0; - } - }; - P.JsFunction.prototype = {}; - P.JsArray.prototype = { - _checkIndex$1: function(index) { - var _this = this, - t1 = index < 0 || index >= _this.get$length(_this); - if (t1) - throw H.wrapException(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); - }, - $index: function(_, index) { - if (H._isInt(index)) - this._checkIndex$1(index); - return this.$ti._precomputed1._as(this.super$JsObject$$index(0, index)); - }, - $indexSet: function(_, index, value) { - if (H._isInt(index)) - this._checkIndex$1(index); - this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); - }, - get$length: function(_) { - var len = this._js$_jsObject.length; - if (typeof len === "number" && len >>> 0 === len) - return len; - throw H.wrapException(P.StateError$("Bad JsArray length")); - }, - set$length: function(_, $length) { - this.super$_JsArray_JsObject_ListMixin$$indexSet(0, "length", $length); - }, - add$1: function(_, value) { - this.callMethod$2("push", [this.$ti._precomputed1._as(value)]); - }, - addAll$1: function(_, iterable) { - this.$ti._eval$1("Iterable<1>")._as(iterable); - this.callMethod$2("push", iterable instanceof Array ? iterable : P.List_List$from(iterable, true, type$.dynamic)); - }, - insert$2: function(_, index, element) { - var t1, _this = this; - _this.$ti._precomputed1._as(element); - t1 = index < 0 || index >= _this.get$length(_this) + 1; - if (t1) - H.throwExpression(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); - _this.callMethod$2("splice", [index, 0, element]); - }, - removeAt$1: function(_, index) { - this._checkIndex$1(index); - return this.$ti._precomputed1._as(J.$index$asx(this.callMethod$2("splice", [index, 1]), 0)); - }, - removeLast$0: function(_) { - var _this = this; - if (_this.get$length(_this) === 0) - throw H.wrapException(P.RangeError$(-1)); - return _this.$ti._precomputed1._as(_this.callMethod$1("pop")); - }, - removeRange$2: function(_, start, end) { - P.JsArray__checkRange(start, end, this.get$length(this)); - if (typeof end !== "number") - return end.$sub(); - if (typeof start !== "number") - return H.iae(start); - this.callMethod$2("splice", [start, end - start]); - }, - setRange$4: function(_, start, end, iterable, skipCount) { - var $length, args, _this = this; - H._asIntS(end); - _this.$ti._eval$1("Iterable<1>")._as(iterable); - P.JsArray__checkRange(start, end, _this.get$length(_this)); - if (typeof end !== "number") - return end.$sub(); - $length = end - start; - if ($length === 0) - return; - if (skipCount < 0) - throw H.wrapException(P.ArgumentError$(skipCount)); - args = [start, $length]; - C.JSArray_methods.addAll$1(args, J.skip$1$ax(iterable, skipCount).take$1(0, $length)); - _this.callMethod$2("splice", args); - }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - sort$1: function(_, compare) { - this.$ti._eval$1("int(1,1)?")._as(compare); - this.callMethod$2("sort", compare == null ? [] : [compare]); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, + $isJSIndexable: 1, $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; - P._JsArray_JsObject_ListMixin.prototype = { - $indexSet: function(_, property, value) { - return this.super$JsObject$$indexSet(0, property, value); - } - }; - P._convertDataTree__convert0.prototype = { - call$1: function(o) { - var convertedMap, t2, key, convertedList, - t1 = this._convertedObjects; - if (t1.containsKey$1(0, o)) - return t1.$index(0, o); - if (type$.Map_dynamic_dynamic._is(o)) { - convertedMap = {}; - t1.$indexSet(0, o, convertedMap); - for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { - key = t2.get$current(t2); - convertedMap[key] = this.call$1(t1.$index(o, key)); - } - return convertedMap; - } else if (type$.Iterable_dynamic._is(o)) { - convertedList = []; - t1.$indexSet(0, o, convertedList); - C.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); - return convertedList; - } else - return o; - }, - $signature: 85 - }; - P.NullRejectionException.prototype = { - toString$0: function(_) { - return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; - }, - $isException: 1 - }; - P.promiseToFuture_closure.prototype = { - call$1: function(r) { - return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); - }, - $signature: 36 - }; - P.promiseToFuture_closure0.prototype = { - call$1: function(e) { - if (e == null) - return this.completer.completeError$1(new P.NullRejectionException(e === undefined)); - return this.completer.completeError$1(e); - }, - $signature: 36 - }; - P.Point.prototype = { - toString$0: function(_) { - return "Point(" + H.S(this.x) + ", " + H.S(this.y) + ")"; - }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof P.Point && this.x == other.x && this.y == other.y; - }, - get$hashCode: function(_) { - var t1 = J.get$hashCode$(this.x), - t2 = J.get$hashCode$(this.y); - return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(0, t1), t2)); - }, - $add: function(_, other) { - var t2, t3, t4, t5, - t1 = this.$ti; - t1._as(other); - t2 = this.x; - t3 = other.x; - if (typeof t2 !== "number") - return t2.$add(); - if (typeof t3 !== "number") - return H.iae(t3); - t4 = t1._precomputed1; - t3 = t4._as(t2 + t3); - t2 = this.y; - t5 = other.y; - if (typeof t2 !== "number") - return t2.$add(); - if (typeof t5 !== "number") - return H.iae(t5); - return new P.Point(t3, t4._as(t2 + t5), t1); - }, - $sub: function(_, other) { - var t2, t3, t4, t5, - t1 = this.$ti; - t1._as(other); - t2 = this.x; - t3 = other.x; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - t4 = t1._precomputed1; - t3 = t4._as(t2 - t3); - t2 = this.y; - t5 = other.y; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t5 !== "number") - return H.iae(t5); - return new P.Point(t3, t4._as(t2 - t5), t1); - }, - $mul: function(_, factor) { + A._DomRect.prototype = { + toString$0(receiver) { var t2, t3, t4, - t1 = this.x; - if (typeof t1 !== "number") - return t1.$mul(); - t2 = this.$ti; - t3 = t2._precomputed1; - t1 = t3._as(t1 * factor); - t4 = this.y; - if (typeof t4 !== "number") - return t4.$mul(); - return new P.Point(t1, t3._as(t4 * factor), t2); - }, - get$magnitude: function() { - var t2, - t1 = this.x; - if (typeof t1 !== "number") - return t1.$mul(); - t2 = this.y; - if (typeof t2 !== "number") - return t2.$mul(); - return Math.sqrt(t1 * t1 + t2 * t2); - } - }; - P._RectangleBase.prototype = { - get$right: function(_) { - var t1 = this.left; - if (typeof t1 !== "number") - return t1.$add(); - return this.$ti._precomputed1._as(t1 + this.width); - }, - get$bottom: function(_) { - var t1 = this.top; - if (typeof t1 !== "number") - return t1.$add(); - return this.$ti._precomputed1._as(t1 + this.height); - }, - toString$0: function(_) { - var _this = this; - return "Rectangle (" + H.S(_this.left) + ", " + H.S(_this.top) + ") " + H.S(_this.width) + " x " + H.S(_this.height); + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(t3) + " x " + A.S(t4); }, - $eq: function(_, other) { - var t1, t2, t3, t4, _this = this; + $eq(receiver, other) { + var t1, t2; if (other == null) return false; if (type$.Rectangle_num._is(other)) { - t1 = _this.left; + t1 = receiver.left; + t1.toString; t2 = J.getInterceptor$x(other); - if (t1 == t2.get$left(other)) { - t3 = _this.top; - if (t3 == t2.get$top(other)) { - if (typeof t1 !== "number") - return t1.$add(); - t4 = _this.$ti._precomputed1; - if (t4._as(t1 + _this.width) === t2.get$right(other)) { - if (typeof t3 !== "number") - return t3.$add(); - t1 = t4._as(t3 + _this.height) === t2.get$bottom(other); + if (t1 === t2.get$left(other)) { + t1 = receiver.top; + t1.toString; + if (t1 === t2.get$top(other)) { + t1 = receiver.width; + t1.toString; + if (t1 === t2.get$width(other)) { + t1 = receiver.height; + t1.toString; + t2 = t1 === t2.get$height(other); + t1 = t2; } else t1 = false; } else @@ -61019,22358 +59347,20829 @@ t1 = false; return t1; }, - get$hashCode: function(_) { - var t5, _this = this, - t1 = _this.left, - t2 = J.get$hashCode$(t1), - t3 = _this.top, - t4 = J.get$hashCode$(t3); - if (typeof t1 !== "number") - return t1.$add(); - t5 = _this.$ti._precomputed1; - t1 = C.JSNumber_methods.get$hashCode(t5._as(t1 + _this.width)); - if (typeof t3 !== "number") - return t3.$add(); - t3 = C.JSNumber_methods.get$hashCode(t5._as(t3 + _this.height)); - return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(H.SystemHash_combine(H.SystemHash_combine(0, t2), t4), t1), t3)); - } - }; - P.Rectangle.prototype = { - get$left: function(receiver) { - return this.left; + get$hashCode(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return A.Object_hash(t1, t2, t3, t4, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - get$top: function(receiver) { - return this.top; + get$_height(receiver) { + return receiver.height; }, - get$width: function(receiver) { - return this.width; + get$height(receiver) { + var t1 = receiver.height; + t1.toString; + return t1; }, - get$height: function(receiver) { - return this.height; - } - }; - P.AElement.prototype = { - get$target: function(receiver) { - return receiver.target; - } - }; - P.Angle.prototype = { - get$value: function(receiver) { - return receiver.value; + get$_width(receiver) { + return receiver.width; }, - set$value: function(receiver, value) { - receiver.value = value; + get$width(receiver) { + var t1 = receiver.width; + t1.toString; + return t1; } }; - P.CircleElement.prototype = {$isCircleElement: 1}; - P.DefsElement.prototype = {$isDefsElement: 1}; - P.FEGaussianBlurElement.prototype = {$isFEGaussianBlurElement: 1}; - P.FEMergeElement.prototype = {$isFEMergeElement: 1}; - P.FEMergeNodeElement.prototype = {$isFEMergeNodeElement: 1}; - P.FilterElement.prototype = {$isFilterElement: 1}; - P.GElement.prototype = {$isGElement: 1}; - P.GeometryElement.prototype = {}; - P.GraphicsElement.prototype = {$isGraphicsElement: 1}; - P.Length.prototype = { - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; - }, - $isLength: 1 - }; - P.LengthList.prototype = { - get$length: function(receiver) { + A._GamepadList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Length._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.nullable_Gamepad._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, - clear$0: function(receiver) { - return receiver.clear(); - }, + $isJSIndexable: 1, $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; - P.Number.prototype = { - get$value: function(receiver) { - return receiver.value; - }, - set$value: function(receiver, value) { - receiver.value = value; - }, - $isNumber: 1 - }; - P.NumberList.prototype = { - get$length: function(receiver) { + A._NamedNodeMap.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Number._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, - clear$0: function(receiver) { - return receiver.clear(); - }, + $isJSIndexable: 1, $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; - P.Point0.prototype = { - set$x: function(receiver, value) { - receiver.x = value; - }, - set$y: function(receiver, value) { - receiver.y = value; - }, - $isPoint0: 1 - }; - P.PointList.prototype = { - get$length: function(receiver) { - return receiver.length; - } - }; - P.PolygonElement.prototype = {$isPolygonElement: 1}; - P.RectElement.prototype = {$isRectElement: 1}; - P.StringList.prototype = { - get$length: function(receiver) { + A._SpeechRecognitionResultList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - H._asStringS(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.SpeechRecognitionResult._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, - clear$0: function(receiver) { - return receiver.clear(); - }, + $isJSIndexable: 1, $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; - P.AttributeClassSet.prototype = { - readClasses$0: function() { - var t1, t2, _i, trimmed, - classname = this._svg$_element.getAttribute("class"), - s = P.LinkedHashSet_LinkedHashSet(type$.String); - if (classname == null) - return s; - for (t1 = classname.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { - trimmed = J.trim$0$s(t1[_i]); - if (trimmed.length !== 0) - s.add$1(0, trimmed); - } - return s; - }, - writeClasses$1: function(s) { - this._svg$_element.setAttribute("class", s.join$1(0, " ")); - } - }; - P.SvgElement.prototype = { - get$classes: function(receiver) { - return new P.AttributeClassSet(receiver); - }, - set$children: function(receiver, value) { - type$.List_Element._as(value); - this._clearChildren$0(receiver); - new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiver)).addAll$1(0, value); - }, - get$innerHtml: function(receiver) { - var container = document.createElement("div"), - cloned = type$.SvgElement._as(this.clone$1(receiver, true)); - cloned.toString; - W._ChildrenElementList__addAll(container, type$.Iterable_Element._as(new P.FilteredElementList(cloned, new W._ChildNodeListLazy(cloned)))); - return container.innerHTML; - }, - click$0: function(receiver) { - throw H.wrapException(P.UnsupportedError$("Cannot invoke click SVG.")); - }, - get$onClick: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); - }, - get$onMouseDown: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); - }, - get$onTouchStart: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); - }, - $isSvgElement: 1 - }; - P.SvgSvgElement.prototype = {$isSvgSvgElement: 1}; - P.TextContentElement.prototype = {$isTextContentElement: 1}; - P.TextElement.prototype = {$isTextElement: 1}; - P.TextPathElement.prototype = {$isTextPathElement: 1}; - P.TextPositioningElement.prototype = {}; - P.Transform.prototype = {$isTransform: 1}; - P.TransformList.prototype = { - get$length: function(receiver) { + A._StyleSheetList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + $index(receiver, index) { + var t1; + A._asIntS(index); + t1 = receiver.length; + if (index >>> 0 !== index || index >= t1) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); + return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Transform._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.StyleSheet._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$first: function(receiver) { + get$first(receiver) { if (receiver.length > 0) return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$last: function(receiver) { + get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + throw A.wrapException(A.StateError$("No elements")); }, - get$single: function(receiver) { + get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - elementAt$1: function(receiver, index) { + elementAt$1(receiver, index) { return this.$index(receiver, index); }, - clear$0: function(receiver) { - return receiver.clear(); - }, + $isJSIndexable: 1, $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; - P._LengthList_Interceptor_ListMixin.prototype = {}; - P._LengthList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P._NumberList_Interceptor_ListMixin.prototype = {}; - P._NumberList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P._StringList_Interceptor_ListMixin.prototype = {}; - P._StringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P._TransformList_Interceptor_ListMixin.prototype = {}; - P._TransformList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P.Endian.prototype = {}; - P.UnmodifiableByteBufferView.prototype = { - asUint8List$2: function(_, offsetInBytes, $length) { - return new P.UnmodifiableUint8ListView(H.NativeUint8List_NativeUint8List$view(this._typed_data$_data, offsetInBytes, $length)); - }, - asByteData$2: function(_, offsetInBytes, $length) { - return new P.UnmodifiableByteDataView(H.NativeByteData_NativeByteData$view(this._typed_data$_data, offsetInBytes, $length)); - }, - $isByteBuffer: 1 - }; - P.UnmodifiableByteDataView.prototype = { - getUint32$2: function(_, byteOffset, endian) { - return C.NativeByteData_methods._getUint32$2(this._typed_data$_data, byteOffset, C.C_Endian === endian); + A._AttributeMap.prototype = { + cast$2$0(_, $K, $V) { + var t1 = type$.String; + return A.Map_castFrom(this, t1, t1, $K, $V); }, - setUint32$3: function(_, byteOffset, value, endian) { - return this._unsupported$0(); + clear$0(_) { + var t1, t2, t3, _i, key; + for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + key = t1[_i]; + if (typeof key == "string") + t3.removeAttribute(key); + } }, - get$offsetInBytes: function(_) { - return this._typed_data$_data.byteOffset; + forEach$1(_, f) { + var t1, t2, t3, _i, t4; + type$.void_Function_String_String._as(f); + for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + t4 = A._asStringS(t1[_i]); + f.call$2(t4, t3.getAttribute(t4)); + } }, - get$lengthInBytes: function(_) { - return this._typed_data$_data.byteLength; + get$keys(_) { + var keys, len, t2, i, attr, t3, + t1 = this._html$_element.attributes; + t1.toString; + keys = A._setArrayType([], type$.JSArray_String); + for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { + if (!(i < t1.length)) + return A.ioore(t1, i); + attr = t2._as(t1[i]); + if (attr.namespaceURI == null) { + t3 = attr.name; + t3.toString; + B.JSArray_methods.add$1(keys, t3); + } + } + return keys; }, - get$buffer: function(_) { - return new P.UnmodifiableByteBufferView(this._typed_data$_data.buffer); + get$values(_) { + var values, len, t2, i, attr, t3, + t1 = this._html$_element.attributes; + t1.toString; + values = A._setArrayType([], type$.JSArray_String); + for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { + if (!(i < t1.length)) + return A.ioore(t1, i); + attr = t2._as(t1[i]); + if (attr.namespaceURI == null) { + t3 = attr.value; + t3.toString; + B.JSArray_methods.add$1(values, t3); + } + } + return values; }, - _unsupported$0: function() { - throw H.wrapException(P.UnsupportedError$("An UnmodifiableByteDataView may not be modified")); + get$isEmpty(_) { + return this.get$keys(this).length === 0; }, - $isTypedData: 1, - $isByteData: 1 + get$isNotEmpty(_) { + return this.get$keys(this).length !== 0; + } }; - P._UnmodifiableListMixin.prototype = { - get$length: function(_) { - return this.get$_typed_data$_list().length; - }, - $index: function(_, index) { - H._asIntS(index); - return J.$index$asx(this.get$_typed_data$_list(), index); + A._ElementAttributeMap.prototype = { + containsKey$1(_, key) { + return typeof key == "string" && A.boolConversionCheck(this._html$_element.hasAttribute(key)); }, - get$offsetInBytes: function(_) { - return H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteOffset; + $index(_, key) { + return this._html$_element.getAttribute(A._asStringS(key)); }, - get$lengthInBytes: function(_) { - return H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteLength; + $indexSet(_, key, value) { + this._html$_element.setAttribute(A._asStringS(key), A._asStringS(value)); }, - get$buffer: function(_) { - return new P.UnmodifiableByteBufferView(H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).buffer); + remove$1(_, key) { + var t1, value; + if (typeof key == "string") { + t1 = this._html$_element; + value = t1.getAttribute(key); + t1.removeAttribute(key); + t1 = value; + } else + t1 = null; + return t1; }, - sublist$2: function(_, start, end) { - var endIndex, sublistLength, result; - end.toString; - endIndex = P.RangeError_checkValidRange(start, end, this.get$_typed_data$_list().length); - if (typeof endIndex !== "number") - return endIndex.$sub(); - sublistLength = endIndex - start; - result = this._createList$1(sublistLength); - J.setRange$4$ax(result, 0, sublistLength, this.get$_typed_data$_list(), start); - return result; - }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + get$length(_) { + return this.get$keys(this).length; } }; - P.UnmodifiableUint8ListView.prototype = { - _createList$1: function($length) { - return new Uint8Array($length); + A._ElementCssClassSet.prototype = { + readClasses$0() { + var t1, t2, _i, trimmed, + s = A.LinkedHashSet_LinkedHashSet(type$.String); + for (t1 = this._html$_element.className.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { + trimmed = J.trim$0$s(t1[_i]); + if (trimmed.length !== 0) + s.add$1(0, trimmed); + } + return s; }, - $isTypedData: 1, - $isUint8List: 1, - get$_typed_data$_list: function() { - return this._typed_data$_list; - } - }; - P.UnmodifiableInt32ListView.prototype = { - _createList$1: function($length) { - return new Int32Array($length); + writeClasses$1(s) { + this._html$_element.className = type$.Set_String._as(s).join$1(0, " "); }, - $isTypedData: 1, - $isInt32List: 1, - get$_typed_data$_list: function() { - return this._typed_data$_list; + get$length(_) { + return this._html$_element.classList.length; + }, + get$isEmpty(_) { + return this._html$_element.classList.length === 0; + }, + get$isNotEmpty(_) { + return this._html$_element.classList.length !== 0; + }, + contains$1(_, value) { + return typeof value == "string" && this._html$_element.classList.contains(value); + }, + add$1(_, value) { + var list, t1; + A._asStringS(value); + list = this._html$_element.classList; + t1 = list.contains(value); + list.add(value); + return !t1; + }, + remove$1(_, value) { + var list, removed, t1; + if (typeof value == "string") { + list = this._html$_element.classList; + removed = list.contains(value); + list.remove(value); + t1 = removed; + } else + t1 = false; + return t1; + }, + removeAll$1(iterable) { + A._ElementCssClassSet__removeAll(this._html$_element, iterable); } }; - P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; - P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; - P.AudioBuffer.prototype = { - get$length: function(receiver) { - return receiver.length; + A.EventStreamProvider.prototype = {}; + A._EventStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = A._instanceType(this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return A._EventStreamSubscription$(this._target, this._eventType, onData, false, t1._precomputed1); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; - P.AudioNode.prototype = {}; - P.AudioParam.prototype = { - get$value: function(receiver) { - return receiver.value; + A._ElementEventStreamImpl.prototype = {}; + A._EventStreamSubscription.prototype = { + cancel$0(_) { + var _this = this; + if (_this._target == null) + return $.$get$nullFuture(); + _this._unlisten$0(); + _this._target = null; + _this.set$_onData(null); + return $.$get$nullFuture(); }, - set$value: function(receiver, value) { - receiver.value = value; + onData$1(handleData) { + var t1, _this = this; + _this.$ti._eval$1("~(1)?")._as(handleData); + if (_this._target == null) + throw A.wrapException(A.StateError$("Subscription has been canceled.")); + _this._unlisten$0(); + t1 = A._wrapZone(new A._EventStreamSubscription_onData_closure(handleData), type$.Event); + _this.set$_onData(t1); + _this._tryResume$0(); + }, + pause$0(_) { + if (this._target == null) + return; + ++this._pauseCount; + this._unlisten$0(); + }, + resume$0(_) { + var _this = this; + if (_this._target == null || _this._pauseCount <= 0) + return; + --_this._pauseCount; + _this._tryResume$0(); + }, + _tryResume$0() { + var t2, _this = this, + t1 = _this._onData; + if (t1 != null && _this._pauseCount <= 0) { + t2 = _this._target; + t2.toString; + J.addEventListener$3$x(t2, _this._eventType, t1, false); + } + }, + _unlisten$0() { + var t2, + t1 = this._onData; + if (t1 != null) { + t2 = this._target; + t2.toString; + J.removeEventListener$3$x(t2, this._eventType, t1, false); + } + }, + set$_onData(_onData) { + this._onData = type$.nullable_dynamic_Function_Event._as(_onData); } }; - P.AudioParamMap.prototype = { - containsKey$1: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + A._EventStreamSubscription_closure.prototype = { + call$1(e) { + return this.onData.call$1(type$.Event._as(e)); }, - $index: function(receiver, key) { - return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + $signature: 19 + }; + A._EventStreamSubscription_onData_closure.prototype = { + call$1(e) { + return this.handleData.call$1(type$.Event._as(e)); }, - forEach$1: function(receiver, f) { - var entries, entry; - type$.void_Function_String_dynamic._as(f); - entries = receiver.entries(); - for (; true;) { - entry = entries.next(); - if (entry.done) - return; - f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + $signature: 19 + }; + A._Html5NodeValidator.prototype = { + _Html5NodeValidator$1$uriPolicy(uriPolicy) { + var _i; + if ($._Html5NodeValidator__attributeValidators._length === 0) { + for (_i = 0; _i < 262; ++_i) + $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_2Zi[_i], A.html__Html5NodeValidator__standardAttributeValidator$closure()); + for (_i = 0; _i < 12; ++_i) + $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_yrN[_i], A.html__Html5NodeValidator__uriAttributeValidator$closure()); } }, - get$keys: function(receiver) { - var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - this.forEach$1(receiver, new P.AudioParamMap_keys_closure(keys)); - return keys; + allowsElement$1(element) { + return $.$get$_Html5NodeValidator__allowedElements().contains$1(0, A.Element__safeTagName(element)); }, - get$values: function(receiver) { - var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); - this.forEach$1(receiver, new P.AudioParamMap_values_closure(values)); - return values; + allowsAttribute$3(element, attributeName, value) { + var validator = $._Html5NodeValidator__attributeValidators.$index(0, A.S(A.Element__safeTagName(element)) + "::" + attributeName); + if (validator == null) + validator = $._Html5NodeValidator__attributeValidators.$index(0, "*::" + attributeName); + if (validator == null) + return false; + return A._asBoolS(validator.call$4(element, attributeName, value, this)); }, - get$length: function(receiver) { - return receiver.size; + $isNodeValidator: 1 + }; + A.ImmutableListMixin.prototype = { + get$iterator(receiver) { + return new A.FixedSizeListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("FixedSizeListIterator")); }, - get$isEmpty: function(receiver) { - return receiver.size === 0; + add$1(receiver, value) { + A.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, - get$isNotEmpty: function(receiver) { - return receiver.size !== 0; + addAll$1(receiver, iterable) { + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); + }, + sort$1(receiver, compare) { + A.instanceType(receiver)._eval$1("int(ImmutableListMixin.E,ImmutableListMixin.E)?")._as(compare); + throw A.wrapException(A.UnsupportedError$("Cannot sort immutable List.")); }, - $indexSet: function(receiver, key, value) { - H._asStringS(key); - throw H.wrapException(P.UnsupportedError$("Not supported")); + sort$0($receiver) { + return this.sort$1($receiver, null); }, - remove$1: function(receiver, key) { - throw H.wrapException(P.UnsupportedError$("Not supported")); + insert$2(receiver, index, element) { + A.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(element); + throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, - $isMap: 1 + insertAll$2(receiver, index, iterable) { + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); + }, + setAll$2(receiver, index, iterable) { + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot modify an immutable List.")); + }, + removeAt$1(receiver, pos) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); + }, + removeLast$0(receiver) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); + }, + remove$1(receiver, object) { + throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); + }, + removeWhere$1(receiver, test) { + A.instanceType(receiver)._eval$1("bool(ImmutableListMixin.E)")._as(test); + throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); + }, + setRange$4(receiver, start, end, iterable, skipCount) { + A._asIntS(end); + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot setRange on immutable List.")); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + } }; - P.AudioParamMap_keys_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.keys, k); + A.NodeValidatorBuilder.prototype = { + add$1(_, validator) { + B.JSArray_methods.add$1(this._validators, type$.NodeValidator._as(validator)); }, - $signature: 31 + allowsElement$1(element) { + return B.JSArray_methods.any$1(this._validators, new A.NodeValidatorBuilder_allowsElement_closure(element)); + }, + allowsAttribute$3(element, attributeName, value) { + return B.JSArray_methods.any$1(this._validators, new A.NodeValidatorBuilder_allowsAttribute_closure(element, attributeName, value)); + }, + $isNodeValidator: 1 }; - P.AudioParamMap_values_closure.prototype = { - call$2: function(k, v) { - return C.JSArray_methods.add$1(this.values, v); + A.NodeValidatorBuilder_allowsElement_closure.prototype = { + call$1(v) { + return type$.NodeValidator._as(v).allowsElement$1(this.element); }, - $signature: 31 + $signature: 156 }; - P.AudioScheduledSourceNode.prototype = {}; - P.AudioTrackList.prototype = { - get$length: function(receiver) { - return receiver.length; - } + A.NodeValidatorBuilder_allowsAttribute_closure.prototype = { + call$1(v) { + return type$.NodeValidator._as(v).allowsAttribute$3(this.element, this.attributeName, this.value); + }, + $signature: 156 }; - P.BaseAudioContext.prototype = {}; - P.ConstantSourceNode.prototype = { - get$offset: function(receiver) { - return receiver.offset; - } + A._SimpleNodeValidator.prototype = { + _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { + var legalAttributes, extraUriAttributes, t1; + this.allowedElements.addAll$1(0, allowedElements); + legalAttributes = allowedAttributes.where$1(0, new A._SimpleNodeValidator_closure()); + extraUriAttributes = allowedAttributes.where$1(0, new A._SimpleNodeValidator_closure0()); + this.allowedAttributes.addAll$1(0, legalAttributes); + t1 = this.allowedUriAttributes; + t1.addAll$1(0, B.List_empty0); + t1.addAll$1(0, extraUriAttributes); + }, + allowsElement$1(element) { + return this.allowedElements.contains$1(0, A.Element__safeTagName(element)); + }, + allowsAttribute$3(element, attributeName, value) { + var t4, _this = this, + t1 = _this.allowedUriAttributes, + t2 = A.S(A.Element__safeTagName(element)), + t3 = t2 + "::" + attributeName; + if (t1.contains$1(0, t3)) + return _this.uriPolicy.allowsUri$1(value); + else { + t4 = "*::" + attributeName; + if (t1.contains$1(0, t4)) + return _this.uriPolicy.allowsUri$1(value); + else { + t1 = _this.allowedAttributes; + if (t1.contains$1(0, t3)) + return true; + else if (t1.contains$1(0, t4)) + return true; + else if (t1.contains$1(0, t2 + "::*")) + return true; + else if (t1.contains$1(0, "*::*")) + return true; + } + } + return false; + }, + $isNodeValidator: 1 }; - P.OfflineAudioContext.prototype = { - get$length: function(receiver) { - return receiver.length; - } + A._SimpleNodeValidator_closure.prototype = { + call$1(x) { + return !B.JSArray_methods.contains$1(B.List_yrN, A._asStringS(x)); + }, + $signature: 26 }; - P._AudioParamMap_Interceptor_MapMixin.prototype = {}; - P.SqlError.prototype = { - get$message: function(receiver) { - return receiver.message; + A._SimpleNodeValidator_closure0.prototype = { + call$1(x) { + return B.JSArray_methods.contains$1(B.List_yrN, A._asStringS(x)); + }, + $signature: 26 + }; + A._TemplatingNodeValidator.prototype = { + allowsAttribute$3(element, attributeName, value) { + if (this.super$_SimpleNodeValidator$allowsAttribute(element, attributeName, value)) + return true; + if (attributeName === "template" && value === "") + return true; + if (element.getAttribute("template") === "") + return this._templateAttrs.contains$1(0, attributeName); + return false; } }; - P.SqlResultSetRowList.prototype = { - get$length: function(receiver) { - return receiver.length; + A._TemplatingNodeValidator_closure.prototype = { + call$1(attr) { + return "TEMPLATE::" + A.S(A._asStringS(attr)); }, - $index: function(receiver, index) { - var t1; - H._asIntS(index); - if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); - t1 = P.convertNativeToDart_Dictionary(receiver.item(index)); - t1.toString; - return t1; + $signature: 27 + }; + A.FixedSizeListIterator.prototype = { + moveNext$0() { + var _this = this, + nextPosition = _this._position + 1, + t1 = _this._html$_length; + if (nextPosition < t1) { + _this.set$_current(J.$index$asx(_this._array, nextPosition)); + _this._position = nextPosition; + return true; + } + _this.set$_current(null); + _this._position = t1; + return false; }, - $indexSet: function(receiver, index, value) { - H._asIntS(index); - type$.Map_dynamic_dynamic._as(value); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + get$current(_) { + return this._current; }, - set$length: function(receiver, value) { - throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + set$_current(_current) { + this._current = this.$ti._eval$1("1?")._as(_current); }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(P.StateError$("No elements")); + $isIterator: 1 + }; + A._DOMWindowCrossFrame.prototype = { + postMessage$2(_, message, targetOrigin) { + this._window.postMessage(new A._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); }, - get$last: function(receiver) { - var len = receiver.length; - if (len > 0) - return receiver[len - 1]; - throw H.wrapException(P.StateError$("No elements")); + $isEventTarget: 1, + $isWindowBase: 1 + }; + A.KeyEvent.prototype = { + get$keyCode(_) { + return this._shadowKeyCode; }, - get$single: function(receiver) { - var len = receiver.length; - if (len === 1) - return receiver[0]; - if (len === 0) - throw H.wrapException(P.StateError$("No elements")); - throw H.wrapException(P.StateError$("More than one element")); + get$altKey(_) { + return this._shadowAltKey; }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + get$which(_) { + return this._shadowKeyCode; }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 - }; - P._SqlResultSetRowList_Interceptor_ListMixin.prototype = {}; - P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - D.Archive.prototype = { - addFile$1: function(_, file) { - var t2, - t1 = this._fileMap, - index = t1.$index(0, file.name); - if (index != null) { - C.JSArray_methods.$indexSet(this.files, index, file); - return; - } - t2 = this.files; - C.JSArray_methods.add$1(t2, file); - t1.$indexSet(0, file.name, t2.length - 1); + get$currentTarget(_) { + return this._currentTarget; }, - get$length: function(_) { - return this.files.length; + get$ctrlKey(_) { + return J.get$ctrlKey$x(this._html$_parent); }, - $index: function(_, index) { - return C.JSArray_methods.$index(this.files, H._asIntS(index)); + get$metaKey(_) { + return J.get$metaKey$x(this._html$_parent); }, - findFile$1: function($name) { - var t1, - index = this._fileMap.$index(0, $name); - if (index != null) { - t1 = this.files; - if (index >>> 0 !== index || index >= t1.length) - return H.ioore(t1, index); - t1 = t1[index]; - } else - t1 = null; - return t1; + get$shiftKey(_) { + return J.get$shiftKey$x(this._html$_parent); }, - get$first: function(_) { - return C.JSArray_methods.get$first(this.files); + _initKeyboardEvent$10(_, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { + throw A.wrapException(A.UnsupportedError$("Cannot initialize a KeyboardEvent from a KeyEvent.")); }, - get$last: function(_) { - return C.JSArray_methods.get$last(this.files); + get$repeat(_) { + return A.throwExpression(A.UnimplementedError$(null)); }, - get$isEmpty: function(_) { - return this.files.length === 0; + $isKeyboardEvent: 1 + }; + A._WrappedEvent.prototype = { + get$currentTarget(_) { + return J.get$currentTarget$x(this.wrapped); }, - get$isNotEmpty: function(_) { - return this.files.length !== 0; + get$target(_) { + return J.get$target$x(this.wrapped); }, - get$iterator: function(_) { - var t1 = this.files; - return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); - } - }; - B.ArchiveFile.prototype = { - ArchiveFile$4: function($name, size, $content, _compressionType) { - var t2, _this = this, - t1 = _this.name; - t1.toString; - _this.name = H.stringReplaceAllUnchecked(t1, "\\", "/"); - t1 = type$.Uint8List; - if (t1._is($content)) { - _this._archive_file$_content = $content; - _this._rawContent = T.InputStream$($content, 0, null, 0); - t1 = _this.size; - if (typeof t1 !== "number") - return t1.$le(); - if (t1 <= 0) - _this.size = J.get$length$asx($content); - } else if (type$.TypedData._is($content)) { - t2 = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); - _this._archive_file$_content = t2; - _this._rawContent = T.InputStream$(t2, 0, null, 0); - t2 = _this.size; - if (typeof t2 !== "number") - return t2.$le(); - if (t2 <= 0) - _this.size = J.get$length$asx(t1._as(_this._archive_file$_content)); - } else if (type$.List_int._is($content)) { - _this._archive_file$_content = $content; - _this._rawContent = T.InputStream$($content, 0, null, 0); - t1 = _this.size; - if (typeof t1 !== "number") - return t1.$le(); - if (t1 <= 0) - _this.size = J.get$length$asx($content); - } else if ($content instanceof X.FileContent) - _this._archive_file$_content = $content; + _initEvent$3(_, type, bubbles, cancelable) { + throw A.wrapException(A.UnsupportedError$("Cannot initialize this Event.")); }, - get$content: function(_) { - var _this = this, - t1 = _this._archive_file$_content; - if ((t1 instanceof X.FileContent ? _this._archive_file$_content = t1.get$content(t1) : t1) == null) - _this.decompress$0(); - return _this._archive_file$_content; + preventDefault$0(_) { + J.preventDefault$0$x(this.wrapped); }, - decompress$0: function() { - var t1, t2, t3, t4, _this = this; - if (_this._archive_file$_content == null && _this._rawContent != null) { - if (_this._compressionType === 8) { - t1 = _this._rawContent; - t1 = t1.toUint8List$0(); - t2 = Y.HuffmanTable$(C.List_2Bc); - t3 = Y.HuffmanTable$(C.List_X3d1); - t1 = T.InputStream$(t1, 0, null, 0); - t4 = Q.OutputStream$(null); - t3 = new S.Inflate(t1, t4, t2, t3); - t3.inputSet = true; - t3._inflate$0(); - _this._archive_file$_content = type$.List_int._as(C.NativeByteBuffer_methods.asUint8List$2(t4._output_stream$_buffer.buffer, 0, t4.length)); - } else { - t1 = _this._rawContent; - _this._archive_file$_content = t1.toUint8List$0(); - } - _this._compressionType = 0; - } + stopPropagation$0(_) { + J.stopPropagation$0$x(this.wrapped); }, - toString$0: function(_) { - return this.name; - } + $isEvent: 1 }; - A.Bz2BitReader.prototype = { - readBits$1: function(numBits) { - var t1, value, t2, t3, t4, t5, _this = this; - if (numBits === 0) - return 0; - if (_this._bitPos === 0) { - _this._bitPos = 8; - _this._bz2_bit_reader$_bitBuffer = _this.input.readByte$0(); - } - for (t1 = _this.input, value = 0; t2 = _this._bitPos, numBits > t2;) { - t3 = C.JSInt_methods.$shl(value, t2); - t4 = _this._bz2_bit_reader$_bitBuffer; - if (t2 < 0 || t2 >= 9) - return H.ioore(C.List_knt, t2); - t5 = C.List_knt[t2]; - if (typeof t4 !== "number") - return t4.$and(); - value = t3 + (t4 & t5); - numBits -= t2; - _this._bitPos = 8; - _this._bz2_bit_reader$_bitBuffer = J.$index$asx(t1.buffer, t1.offset++); - } - if (numBits > 0) { - if (t2 === 0) { - _this._bitPos = 8; - _this._bz2_bit_reader$_bitBuffer = t1.readByte$0(); - } - t1 = C.JSInt_methods.$shl(value, numBits); - t2 = _this._bz2_bit_reader$_bitBuffer; - t3 = _this._bitPos - numBits; - if (typeof t2 !== "number") - return t2.$shr(); - t2 = C.JSInt_methods.$shr(t2, t3); - if (numBits >= 9) - return H.ioore(C.List_knt, numBits); - value = t1 + (t2 & C.List_knt[numBits]); - _this._bitPos = t3; - } - return value; - } + A._TrustedHtmlTreeSanitizer.prototype = { + sanitizeTree$1(node) { + }, + $isNodeTreeSanitizer: 1 }; - L.BZip2Decoder.prototype = { - decodeStream$2: function(input, output) { - var t1, combinedCrc, type, blockCrc, _this = this, - br = new A.Bz2BitReader(input); - _this._gMinlen = _this._gSel = _this._groupNo = _this._groupPos = 0; - if (br.readBits$1(8) !== 66 || br.readBits$1(8) !== 90 || br.readBits$1(8) !== 104) - throw H.wrapException(R.ArchiveException$("Invalid Signature")); - _this.__BZip2Decoder__blockSize100k = br.readBits$1(8) - 48; - t1 = _this.get$_blockSize100k(); - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 >= 0) { - t1 = _this.get$_blockSize100k(); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 9; - } else - t1 = true; - if (t1) - throw H.wrapException(R.ArchiveException$("Invalid BlockSize")); - t1 = _this.get$_blockSize100k(); - if (typeof t1 !== "number") - return t1.$mul(); - _this.__BZip2Decoder__tt = new Uint32Array(t1 * 100000); - for (combinedCrc = 0; true;) { - type = _this._readBlockType$1(br); - if (type === 0) { - br.readBits$1(8); - br.readBits$1(8); - br.readBits$1(8); - br.readBits$1(8); - blockCrc = _this._readCompressed$2(br, output); - combinedCrc = (combinedCrc << 1 | combinedCrc >>> 31) ^ blockCrc ^ 4294967295; - } else if (type === 2) { - br.readBits$1(8); - br.readBits$1(8); - br.readBits$1(8); - br.readBits$1(8); - return; - } - } + A._SameOriginUriPolicy.prototype = {$isUriPolicy: 1}; + A._ValidatingTreeSanitizer.prototype = { + sanitizeTree$1(node) { + var previousTreeModifications, + walk = new A._ValidatingTreeSanitizer_sanitizeTree_walk(this); + do { + previousTreeModifications = this.numTreeModifications; + walk.call$2(node, null); + } while (previousTreeModifications !== this.numTreeModifications); }, - _readBlockType$1: function(br) { - var eos, compressed, i, b; - for (eos = true, compressed = true, i = 0; i < 6; ++i) { - b = br.readBits$1(8); - if (b !== C.List_ww8[i]) - compressed = false; - if (b !== C.List_ww80[i]) - eos = false; - if (!eos && !compressed) - throw H.wrapException(R.ArchiveException$("Invalid Block Signature")); - } - return compressed ? 0 : 2; + _removeNode$2(node, $parent) { + ++this.numTreeModifications; + if ($parent == null || $parent !== node.parentNode) + J.remove$0$ax(node); + else + $parent.removeChild(node); }, - _readCompressed$2: function(br, output) { - var i, t1, k, j, alphaSize, numGroups, pos, v, tmp, v0, t, c, t2, t3, minLen, maxLen, t4, eob, nblockMAX, kk, ii, jj, nextSym, nblock, es, $N, uc, nn, pp, z, lno, off, pp0, tPos, tPos0, k0, rNToGo, rTPos, sSaveNBlockPP, blockCrc, cStateOutLen, cStateOutCh, cNBlockUsed, k1, k00, cK0, cK00, _this = this, - _s8_ = "_inUse16", - _s10_ = "Data error", - _s13_ = "_numSelectors", - _s12_ = "_selectorMtf", - _s4_ = "_len", _s5_ = "_mtfa", - _s8_0 = "_mtfbase", - _s11_ = "_seqToUnseq", - _s8_1 = "_unzftab", - _s3_ = "_tt", _s6_ = "_cftab", _4294967295 = 4294967295, - _s10_0 = "Data Error", - blockRandomized = br.readBits$1(1), - origPtr = ((br.readBits$1(8) << 8 | br.readBits$1(8)) << 8 | br.readBits$1(8)) >>> 0; - _this.__BZip2Decoder__inUse16 = new Uint8Array(16); - for (i = 0; i < 16; ++i) { - t1 = _this.__BZip2Decoder__inUse16; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_)); - J.$indexSet$ax(t1, i, br.readBits$1(1)); - } - _this.__BZip2Decoder__inUse = new Uint8Array(256); - for (i = 0, k = 0; i < 16; ++i, k += 16) { - t1 = _this.__BZip2Decoder__inUse16; - if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_)) : t1, i) !== 0) - for (j = 0; j < 16; ++j) { - t1 = _this.__BZip2Decoder__inUse; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_inUse")); - J.$indexSet$ax(t1, k + j, br.readBits$1(1)); + _sanitizeUntrustedElement$2(element, $parent) { + var corruptedTest1, elementText, elementTagName, exception, t1, + corrupted = true, + attrs = null, isAttr = null; + try { + attrs = J.get$attributes$x(element); + isAttr = attrs._html$_element.getAttribute("is"); + type$.Element._as(element); + corruptedTest1 = function(element) { + if (!(element.attributes instanceof NamedNodeMap)) + return true; + if (element.id == "lastChild" || element.name == "lastChild" || element.id == "previousSibling" || element.name == "previousSibling" || element.id == "children" || element.name == "children") + return true; + var childNodes = element.childNodes; + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) + return true; + if (element.children) + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) + return true; + var length = 0; + if (element.children) + length = element.children.length; + for (var i = 0; i < length; i++) { + var child = element.children[i]; + if (child.id == "attributes" || child.name == "attributes" || child.id == "lastChild" || child.name == "lastChild" || child.id == "previousSibling" || child.name == "previousSibling" || child.id == "children" || child.name == "children") + return true; } + return false; + }(element); + corrupted = A.boolConversionCheck(corruptedTest1) ? true : !(element.attributes instanceof NamedNodeMap); + } catch (exception) { } - _this._makeMaps$0(); - t1 = _this._numInUse; - if (t1 === 0) - throw H.wrapException(R.ArchiveException$(_s10_)); - alphaSize = t1 + 2; - numGroups = br.readBits$1(3); - if (numGroups < 2 || numGroups > 6) - throw H.wrapException(R.ArchiveException$(_s10_)); - _this.__BZip2Decoder__numSelectors = br.readBits$1(15); - t1 = _this.get$_numSelectors(); - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 < 1) - throw H.wrapException(R.ArchiveException$(_s10_)); - _this.__BZip2Decoder__selectorMtf = new Uint8Array(18002); - _this.__BZip2Decoder__selector = new Uint8Array(18002); - i = 0; - while (true) { - t1 = _this.__BZip2Decoder__numSelectors; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s13_)); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - for (j = 0; true;) { - if (br.readBits$1(1) === 0) - break; - ++j; - if (j >= numGroups) - throw H.wrapException(R.ArchiveException$(_s10_)); + elementText = "element unprintable"; + try { + elementText = J.toString$0$(element); + } catch (exception) { + } + try { + elementTagName = A.Element__safeTagName(element); + this._sanitizeElement$7(element, $parent, corrupted, elementText, elementTagName, type$.Map_dynamic_dynamic._as(attrs), A._asStringQ(isAttr)); + } catch (exception) { + if (A.unwrapException(exception) instanceof A.ArgumentError) + throw exception; + else { + this._removeNode$2(element, $parent); + window; + t1 = A.S(elementText); + if (typeof console != "undefined") + window.console.warn("Removing corrupted element " + t1); } - t1 = _this.__BZip2Decoder__selectorMtf; - J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, i, j); - ++i; } - pos = new Uint8Array(6); - for (i = 0; i < numGroups; ++i) { - if (i >= 6) - return H.ioore(pos, i); - pos[i] = i; + }, + _sanitizeElement$7(element, $parent, corrupted, text, tag, attrs, isAttr) { + var t1, keys, i, t2, $name, t3, t4, _this = this; + if (corrupted) { + _this._removeNode$2(element, $parent); + window; + if (typeof console != "undefined") + window.console.warn("Removing element due to corrupted attributes on <" + text + ">"); + return; } - i = 0; - while (true) { - t1 = _this.__BZip2Decoder__numSelectors; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s13_)); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - t1 = _this.__BZip2Decoder__selectorMtf; - v = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, i); - if (v < 0 || v >= 6) - return H.ioore(pos, v); - tmp = pos[v]; - for (; v > 0; v = v0) { - v0 = v - 1; - pos[v] = pos[v0]; - } - pos[0] = tmp; - t1 = _this.__BZip2Decoder__selector; - J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_selector")) : t1, i, tmp); - ++i; + if (!_this.validator.allowsElement$1(element)) { + _this._removeNode$2(element, $parent); + window; + t1 = A.S($parent); + if (typeof console != "undefined") + window.console.warn("Removing disallowed element <" + A.S(tag) + "> from " + t1); + return; } - _this.set$__BZip2Decoder__len(type$.List_Uint8List._as(P.List_List$filled(6, $.$get$BZip2_emptyUint8List(), false, type$.Uint8List))); - for (t = 0; t < numGroups; ++t) { - t1 = _this.__BZip2Decoder__len; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s4_)); - J.$indexSet$ax(t1, t, new Uint8Array(258)); - c = br.readBits$1(5); - for (i = 0; i < alphaSize; ++i) { - for (; true;) { - if (c < 1 || c > 20) - throw H.wrapException(R.ArchiveException$(_s10_)); - if (br.readBits$1(1) === 0) - break; - c = br.readBits$1(1) === 0 ? c + 1 : c - 1; - } - t1 = _this.__BZip2Decoder__len; - J.$indexSet$ax(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i, c); + if (isAttr != null) + if (!_this.validator.allowsAttribute$3(element, "is", isAttr)) { + _this._removeNode$2(element, $parent); + window; + if (typeof console != "undefined") + window.console.warn("Removing disallowed type extension <" + A.S(tag) + ' is="' + isAttr + '">'); + return; } - } - t1 = $.$get$BZip2_emptyInt32List(); - t2 = type$.Int32List; - t3 = type$.List_Int32List; - _this.set$__BZip2Decoder__limit(t3._as(P.List_List$filled(6, t1, false, t2))); - _this.set$__BZip2Decoder__base(t3._as(P.List_List$filled(6, t1, false, t2))); - _this.set$__BZip2Decoder__perm(t3._as(P.List_List$filled(6, t1, false, t2))); - _this.__BZip2Decoder__minLens = new Int32Array(6); - for (t = 0; t < numGroups; ++t) { - t1 = _this.__BZip2Decoder__limit; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_limit")); - J.$indexSet$ax(t1, t, new Int32Array(258)); - t1 = _this.__BZip2Decoder__base; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_base")); - J.$indexSet$ax(t1, t, new Int32Array(258)); - t1 = _this.__BZip2Decoder__perm; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_perm")); - J.$indexSet$ax(t1, t, new Int32Array(258)); - for (minLen = 32, maxLen = 0, i = 0; i < alphaSize; ++i) { - t1 = _this.__BZip2Decoder__len; - if (J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i) > maxLen) { - t1 = _this.__BZip2Decoder__len; - maxLen = J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i); - } - t1 = _this.__BZip2Decoder__len; - if (J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i) < minLen) { - t1 = _this.__BZip2Decoder__len; - minLen = J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i); - } + t1 = attrs.get$keys(attrs); + keys = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); + for (i = attrs.get$keys(attrs).length - 1, t1 = attrs._html$_element, t2 = "Removing disallowed attribute <" + A.S(tag) + " "; i >= 0; --i) { + if (!(i < keys.length)) + return A.ioore(keys, i); + $name = keys[i]; + t3 = _this.validator; + t4 = J.toLowerCase$0$s($name); + A._asStringS($name); + if (!t3.allowsAttribute$3(element, t4, t1.getAttribute($name))) { + window; + t3 = t1.getAttribute($name); + if (typeof console != "undefined") + window.console.warn(t2 + $name + '="' + A.S(t3) + '">'); + t1.removeAttribute($name); } - t1 = _this.__BZip2Decoder__limit; - t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_limit")) : t1, t); - t2 = _this.__BZip2Decoder__base; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_base")) : t2, t); - t3 = _this.__BZip2Decoder__perm; - t3 = J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_perm")) : t3, t); - t4 = _this.__BZip2Decoder__len; - _this._hbCreateDecodeTables$7(t1, t2, t3, J.$index$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t4, t), minLen, maxLen, alphaSize); - t1 = _this.__BZip2Decoder__minLens; - J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_minLens")) : t1, t, minLen); } - eob = _this._numInUse + 1; - t1 = _this.get$_blockSize100k(); - if (typeof t1 !== "number") - return H.iae(t1); - nblockMAX = 100000 * t1; - _this.__BZip2Decoder__unzftab = new Int32Array(256); - _this.__BZip2Decoder__mtfa = new Uint8Array(4096); - _this.__BZip2Decoder__mtfbase = new Int32Array(16); - for (kk = 4095, ii = 15; ii >= 0; --ii) { - for (t1 = ii * 16, jj = 15; jj >= 0; --jj) { - t2 = _this.__BZip2Decoder__mtfa; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); - J.$indexSet$ax(t2, kk, t1 + jj); - --kk; - } - t1 = _this.__BZip2Decoder__mtfbase; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - J.$indexSet$ax(t1, ii, kk + 1); + if (type$.TemplateElement._is(element)) { + t1 = element.content; + t1.toString; + _this.sanitizeTree$1(t1); } - _this._groupPos = 0; - _this._groupNo = -1; - nextSym = _this._getMtfVal$1(br); - for (nblock = 0; true;) { - if (nextSym === eob) + }, + $isNodeTreeSanitizer: 1 + }; + A._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { + call$2(node, $parent) { + var child, nextChild, t2, t3, t4, exception, + t1 = this.$this; + switch (node.nodeType) { + case 1: + t1._sanitizeUntrustedElement$2(node, $parent); break; - if (nextSym === 0 || nextSym === 1) { - es = -1; - $N = 1; - do { - if ($N >= 2097152) - throw H.wrapException(R.ArchiveException$(_s10_)); - if (nextSym === 0) - es += $N; - else if (nextSym === 1) - es += 2 * $N; - $N *= 2; - nextSym = _this._getMtfVal$1(br); - } while (nextSym === 0 || nextSym === 1); - ++es; - t1 = _this.__BZip2Decoder__seqToUnseq; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t2 = _this.__BZip2Decoder__mtfa; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t3 = _this.__BZip2Decoder__mtfbase; - uc = J.$index$asx(t1, J.$index$asx(t2, J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t3, 0))); - t1 = _this.__BZip2Decoder__unzftab; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_1)); - t2 = J.getInterceptor$asx(t1); - t2.$indexSet(t1, uc, t2.$index(t1, uc) + es); - for (; es > 0;) { - if (nblock >= nblockMAX) - throw H.wrapException(R.ArchiveException$(_s10_)); - t1 = _this.__BZip2Decoder__tt; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s3_)); - if (nblock < 0 || nblock >= t1.length) - return H.ioore(t1, nblock); - t1[nblock] = uc; - ++nblock; - --es; - } - continue; - } else { - if (nblock >= nblockMAX) - throw H.wrapException(R.ArchiveException$(_s10_)); - nn = nextSym - 1; - t1 = _this.__BZip2Decoder__mtfbase; - if (nn < 16) { - pp = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, 0); - t1 = _this.__BZip2Decoder__mtfa; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); - uc = J.$index$asx(t1, pp + nn); - for (; nn > 3;) { - z = pp + nn; - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - t3 = z - 1; - J.$indexSet$ax(t2, z, J.$index$asx(t1, t3)); - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - t4 = z - 2; - J.$indexSet$ax(t2, t3, J.$index$asx(t1, t4)); - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - t3 = z - 3; - J.$indexSet$ax(t2, t4, J.$index$asx(t1, t3)); - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - J.$indexSet$ax(t2, t3, J.$index$asx(t1, z - 4)); - nn -= 4; - } - for (; nn > 0;) { - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - t3 = pp + nn; - J.$indexSet$ax(t2, t3, J.$index$asx(t1, t3 - 1)); - --nn; - } - t1 = _this.__BZip2Decoder__mtfa; - J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1, pp, uc); - } else { - lno = C.JSInt_methods._tdivFast$1(nn, 16); - off = C.JSInt_methods.$mod(nn, 16); - pp = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, lno) + off; - t1 = _this.__BZip2Decoder__mtfa; - uc = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1, pp); - while (true) { - t1 = _this.__BZip2Decoder__mtfbase; - if (!(pp > J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, lno))) - break; - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - pp0 = pp - 1; - J.$indexSet$ax(t2, pp, J.$index$asx(t1, pp0)); - pp = pp0; - } - t1 = _this.__BZip2Decoder__mtfbase; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - t2 = J.getInterceptor$asx(t1); - t2.$indexSet(t1, lno, t2.$index(t1, lno) + 1); - for (; lno > 0;) { - t1 = _this.__BZip2Decoder__mtfbase; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - t2 = J.getInterceptor$asx(t1); - t2.$indexSet(t1, lno, t2.$index(t1, lno) - 1); - t1 = _this.__BZip2Decoder__mtfa; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t2 = _this.__BZip2Decoder__mtfbase; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t2, lno); - t3 = _this.__BZip2Decoder__mtfa; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t4 = _this.__BZip2Decoder__mtfbase; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - --lno; - J.$indexSet$ax(t1, t2, J.$index$asx(t3, J.$index$asx(t4, lno) + 16 - 1)); - } - t1 = _this.__BZip2Decoder__mtfbase; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - t2 = J.getInterceptor$asx(t1); - t2.$indexSet(t1, 0, t2.$index(t1, 0) - 1); - t1 = _this.__BZip2Decoder__mtfa; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t2 = _this.__BZip2Decoder__mtfbase; - J.$indexSet$ax(t1, J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t2, 0), uc); - t1 = _this.__BZip2Decoder__mtfbase; - if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, 0) === 0) - for (kk = 4095, ii = 15; ii >= 0; --ii) { - for (jj = 15; jj >= 0; --jj) { - t1 = _this.__BZip2Decoder__mtfa; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; - t3 = _this.__BZip2Decoder__mtfbase; - J.$indexSet$ax(t2, kk, J.$index$asx(t1, J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t3, ii) + jj)); - --kk; - } - t1 = _this.__BZip2Decoder__mtfbase; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); - J.$indexSet$ax(t1, ii, kk + 1); - } - } - t1 = _this.__BZip2Decoder__unzftab; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s8_1)); - t2 = _this.__BZip2Decoder__seqToUnseq; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_)) : t2, uc); - t3 = J.getInterceptor$asx(t1); - t3.$indexSet(t1, t2, t3.$index(t1, t2) + 1); - t2 = _this.__BZip2Decoder__tt; - t1 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t2; - t2 = _this.__BZip2Decoder__seqToUnseq; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_)) : t2, uc); - if (nblock < 0 || nblock >= t1.length) - return H.ioore(t1, nblock); - t1[nblock] = t2; - ++nblock; - nextSym = _this._getMtfVal$1(br); - continue; - } - } - if (origPtr >= nblock) - throw H.wrapException(R.ArchiveException$(_s10_)); - for (i = 0; i <= 255; ++i) { - t1 = _this.__BZip2Decoder__unzftab; - if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_1)) : t1, i) >= 0) { - t1 = _this.__BZip2Decoder__unzftab; - t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_1)) : t1, i) > nblock; - } else - t1 = true; - if (t1) - throw H.wrapException(R.ArchiveException$(_s10_)); - } - _this.__BZip2Decoder__cftab = new Int32Array(257); - J.$indexSet$ax(_this.get$_cftab(), 0, 0); - for (i = 1; i <= 256; ++i) { - t1 = _this.__BZip2Decoder__cftab; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); - t2 = _this.__BZip2Decoder__unzftab; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s8_1)); - J.$indexSet$ax(t1, i, J.$index$asx(t2, i - 1)); - } - for (i = 1; i <= 256; ++i) { - t1 = _this.__BZip2Decoder__cftab; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); - t2 = J.getInterceptor$asx(t1); - t3 = t2.$index(t1, i); - t4 = _this.__BZip2Decoder__cftab; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s6_)); - t2.$indexSet(t1, i, t3 + J.$index$asx(t4, i - 1)); - } - for (i = 0; i <= 256; ++i) { - t1 = _this.__BZip2Decoder__cftab; - if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t1, i) >= 0) { - t1 = _this.__BZip2Decoder__cftab; - t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t1, i) > nblock; - } else - t1 = true; - if (t1) - throw H.wrapException(R.ArchiveException$(_s10_)); - } - for (i = 1; i <= 256; ++i) { - t1 = _this.__BZip2Decoder__cftab; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); - t1 = J.$index$asx(t1, i - 1); - t2 = _this.__BZip2Decoder__cftab; - if (t1 > J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2, i)) - throw H.wrapException(R.ArchiveException$(_s10_)); - } - for (i = 0; i < nblock; ++i) { - t1 = _this.__BZip2Decoder__tt; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t1; - if (i >= t2.length) - return H.ioore(t2, i); - uc = t2[i] & 255; - t2 = _this.__BZip2Decoder__cftab; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2, uc); - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = (t1[t2] | i << 8) >>> 0; - t2 = _this.__BZip2Decoder__cftab; - t1 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2; - t2 = J.getInterceptor$asx(t1); - t2.$indexSet(t1, uc, t2.$index(t1, uc) + 1); - } - t1 = _this.get$_tt(); - if (origPtr >= t1.length) - return H.ioore(t1, origPtr); - tPos = t1[origPtr] >>> 8; - t1 = blockRandomized !== 0; - if (t1) { - t2 = _this.get$_blockSize100k(); - if (typeof t2 !== "number") - return H.iae(t2); - if (tPos >= 100000 * t2) - throw H.wrapException(R.ArchiveException$(_s10_)); - t2 = _this.get$_tt(); - if (tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - tPos0 = tPos >>> 8; - k0 = tPos & 255 ^ 0; - tPos = tPos0; - rNToGo = 618; - rTPos = 1; - } else { - t2 = _this.get$_blockSize100k(); - if (typeof t2 !== "number") - return H.iae(t2); - if (tPos >= 100000 * t2) - return _4294967295; - t2 = _this.get$_tt(); - if (tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - k0 = tPos & 255; - tPos = tPos >>> 8; - rNToGo = 0; - rTPos = 0; + case 8: + case 11: + case 3: + case 4: + break; + default: + t1._removeNode$2(node, $parent); } - sSaveNBlockPP = nblock + 1; - if (t1) - for (blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = k0, k0 = k00) { - for (t1 = cStateOutCh & 255; true;) { - if (cStateOutLen === 0) - break; - output.writeByte$1(cStateOutCh); - t2 = blockCrc >>> 24 & 255 ^ t1; - if (t2 >= 256) - return H.ioore(C.List_E4S, t2); - blockCrc = (blockCrc << 8 ^ C.List_E4S[t2]) >>> 0; - --cStateOutLen; - } - if (cNBlockUsed === sSaveNBlockPP) - return blockCrc; - if (cNBlockUsed > sSaveNBlockPP) - throw H.wrapException(R.ArchiveException$("Data error.")); - t1 = _this.__BZip2Decoder__tt; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t1; - if (tPos < 0 || tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - tPos0 = tPos >>> 8; - if (rNToGo === 0) { - if (rTPos >= 512) - return H.ioore(C.List_Ewu, rTPos); - rNToGo = C.List_Ewu[rTPos]; - ++rTPos; - if (rTPos === 512) - rTPos = 0; - } - --rNToGo; - t2 = rNToGo === 1 ? 1 : 0; - k1 = tPos & 255 ^ t2; - ++cNBlockUsed; - if (cNBlockUsed === sSaveNBlockPP) { - k00 = k0; - tPos = tPos0; - cStateOutLen = 1; - continue; - } - if (k1 !== k0) { - k00 = k1; - tPos = tPos0; - cStateOutLen = 1; - continue; - } - if (tPos0 >= t1.length) - return H.ioore(t1, tPos0); - tPos = t1[tPos0]; - tPos0 = tPos >>> 8; - if (rNToGo === 0) { - if (rTPos >= 512) - return H.ioore(C.List_Ewu, rTPos); - rNToGo = C.List_Ewu[rTPos]; - ++rTPos; - if (rTPos === 512) - rTPos = 0; - } - t2 = rNToGo === 1 ? 1 : 0; - k1 = tPos & 255 ^ t2; - ++cNBlockUsed; - if (cNBlockUsed === sSaveNBlockPP) { - k00 = k0; - tPos = tPos0; - cStateOutLen = 2; - continue; - } - if (k1 !== k0) { - k00 = k1; - tPos = tPos0; - cStateOutLen = 2; - continue; - } - if (tPos0 >= t1.length) - return H.ioore(t1, tPos0); - tPos = t1[tPos0]; - tPos0 = tPos >>> 8; - if (rNToGo === 0) { - if (rTPos >= 512) - return H.ioore(C.List_Ewu, rTPos); - rNToGo = C.List_Ewu[rTPos]; - ++rTPos; - if (rTPos === 512) - rTPos = 0; - } - t2 = rNToGo === 1 ? 1 : 0; - k1 = tPos & 255 ^ t2; - ++cNBlockUsed; - if (cNBlockUsed === sSaveNBlockPP) { - k00 = k0; - tPos = tPos0; - cStateOutLen = 3; - continue; - } - if (k1 !== k0) { - k00 = k1; - tPos = tPos0; - cStateOutLen = 3; - continue; - } - if (tPos0 >= t1.length) - return H.ioore(t1, tPos0); - tPos = t1[tPos0]; - tPos0 = tPos >>> 8; - if (rNToGo === 0) { - if (rTPos >= 512) - return H.ioore(C.List_Ewu, rTPos); - rNToGo = C.List_Ewu[rTPos]; - ++rTPos; - if (rTPos === 512) - rTPos = 0; - } - t2 = rNToGo === 1 ? 1 : 0; - cStateOutLen = (tPos & 255 ^ t2) + 4; - if (tPos0 >= t1.length) - return H.ioore(t1, tPos0); - tPos = t1[tPos0]; - tPos0 = tPos >>> 8; - if (rNToGo === 0) { - if (rTPos >= 512) - return H.ioore(C.List_Ewu, rTPos); - rNToGo = C.List_Ewu[rTPos]; - ++rTPos; - if (rTPos === 512) - rTPos = 0; - } - t1 = rNToGo === 1 ? 1 : 0; - k00 = tPos & 255 ^ t1; - cNBlockUsed = cNBlockUsed + 1 + 1; - tPos = tPos0; - } - else - for (cK0 = k0, blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = cK0, cK0 = cK00) { - if (cStateOutLen > 0) { - for (t1 = cStateOutCh & 255; true;) { - if (cStateOutLen === 1) - break; - output.writeByte$1(cStateOutCh); - t2 = blockCrc >>> 24 & 255 ^ t1; - if (t2 >= 256) - return H.ioore(C.List_E4S, t2); - blockCrc = blockCrc << 8 ^ C.List_E4S[t2]; - --cStateOutLen; - } - output.writeByte$1(cStateOutCh); - t1 = blockCrc >>> 24 & 255 ^ t1; - if (t1 >= 256) - return H.ioore(C.List_E4S, t1); - blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; - } - if (cNBlockUsed > sSaveNBlockPP) - throw H.wrapException(R.ArchiveException$(_s10_)); - if (cNBlockUsed === sSaveNBlockPP) - return blockCrc; - t1 = _this.__BZip2Decoder__blockSize100k; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockSize100k")) : t1; - if (typeof t2 !== "number") - return H.iae(t2); - if (tPos >= 100000 * t2) - throw H.wrapException(R.ArchiveException$(_s10_0)); - t2 = _this.__BZip2Decoder__tt; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t2; - if (tPos < 0 || tPos >= t3.length) - return H.ioore(t3, tPos); - tPos = t3[tPos]; - k1 = tPos & 255; - tPos = tPos >>> 8; - ++cNBlockUsed; - if (k1 !== cK0) { - output.writeByte$1(cK0); - t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; - if (t1 >= 256) - return H.ioore(C.List_E4S, t1); - blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; - cK00 = k1; - cStateOutLen = 0; - continue; - } - if (cNBlockUsed === sSaveNBlockPP) { - output.writeByte$1(cK0); - t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; - if (t1 >= 256) - return H.ioore(C.List_E4S, t1); - blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; - cK00 = cK0; - cStateOutLen = 0; - continue; - } - if (typeof t1 !== "number") - return H.iae(t1); - if (tPos >= 100000 * t1) - throw H.wrapException(R.ArchiveException$(_s10_0)); - if (tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - k1 = tPos & 255; - tPos = tPos >>> 8; - ++cNBlockUsed; - if (cNBlockUsed === sSaveNBlockPP) { - cK00 = cK0; - cStateOutLen = 2; - continue; - } - if (k1 !== cK0) { - cK00 = k1; - cStateOutLen = 2; - continue; - } - if (typeof t1 !== "number") - return H.iae(t1); - if (tPos >= 100000 * t1) - throw H.wrapException(R.ArchiveException$(_s10_0)); - if (tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - k1 = tPos & 255; - tPos = tPos >>> 8; - ++cNBlockUsed; - if (cNBlockUsed === sSaveNBlockPP) { - cK00 = cK0; - cStateOutLen = 3; - continue; - } - if (k1 !== cK0) { - cK00 = k1; - cStateOutLen = 3; - continue; + child = node.lastChild; + for (t2 = type$.Node; child != null;) { + nextChild = null; + try { + nextChild = child.previousSibling; + if (nextChild != null) { + t3 = nextChild.nextSibling; + t4 = child; + t4 = t3 == null ? t4 != null : t3 !== t4; + t3 = t4; + } else + t3 = false; + if (t3) { + t3 = A.StateError$("Corrupt HTML"); + throw A.wrapException(t3); } - if (typeof t1 !== "number") - return H.iae(t1); - if (tPos >= 100000 * t1) - throw H.wrapException(R.ArchiveException$(_s10_0)); - if (tPos >= t2.length) - return H.ioore(t2, tPos); - tPos = t2[tPos]; - tPos0 = tPos >>> 8; - cStateOutLen = (tPos & 255) + 4; - if (typeof t1 !== "number") - return H.iae(t1); - if (tPos0 >= 100000 * t1) - throw H.wrapException(R.ArchiveException$(_s10_0)); - if (tPos0 >= t2.length) - return H.ioore(t2, tPos0); - tPos = t2[tPos0]; - cK00 = tPos & 255; - tPos = tPos >>> 8; - cNBlockUsed = cNBlockUsed + 1 + 1; + } catch (exception) { + t3 = t2._as(child); + ++t1.numTreeModifications; + t4 = t3.parentNode; + if (node == null ? t4 != null : node !== t4) { + if (t4 != null) + t4.removeChild(t3); + } else + node.removeChild(t3); + child = null; + nextChild = node.lastChild; } - return blockCrc; - }, - _getMtfVal$1: function(br) { - var t1, t2, zn, zvec, _this = this, - _s10_ = "Data error"; - if (_this._groupPos === 0) { - t1 = ++_this._groupNo; - t2 = _this.get$_numSelectors(); - if (typeof t2 !== "number") - return H.iae(t2); - if (t1 >= t2) - throw H.wrapException(R.ArchiveException$(_s10_)); - _this._groupPos = 50; - _this._gSel = J.$index$asx(_this.get$_selector(_this), _this._groupNo); - _this._gMinlen = J.$index$asx(_this.get$_minLens(), _this._gSel); - t1 = type$.Int32List; - _this.__BZip2Decoder__gLimit = t1._as(J.$index$asx(_this.get$_limit(), _this._gSel)); - _this.__BZip2Decoder__gPerm = t1._as(J.$index$asx(_this.get$_perm(), _this._gSel)); - _this.__BZip2Decoder__gBase = t1._as(J.$index$asx(_this.get$_bzip2_decoder$_base(), _this._gSel)); - } - --_this._groupPos; - zn = _this._gMinlen; - zvec = br.readBits$1(zn); - for (; true;) { - if (zn > 20) - throw H.wrapException(R.ArchiveException$(_s10_)); - t1 = _this.__BZip2Decoder__gLimit; - if (zvec <= J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_gLimit")) : t1, zn)) - break; - ++zn; - zvec = (zvec << 1 | br.readBits$1(1)) >>> 0; + if (child != null) + this.call$2(child, node); + child = nextChild; } - if (zvec - J.$index$asx(_this.get$_gBase(), zn) < 0 || zvec - J.$index$asx(_this.get$_gBase(), zn) >= 258) - throw H.wrapException(R.ArchiveException$(_s10_)); - t1 = _this.__BZip2Decoder__gPerm; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_gPerm")); - return J.$index$asx(t1, zvec - J.$index$asx(_this.get$_gBase(), zn)); }, - _hbCreateDecodeTables$7: function(limit, base, perm, $length, minLen, maxLen, alphaSize) { - var t1, t2, i, pp, j, t3, vec, i0; - for (t1 = J.getInterceptor$asx($length), t2 = J.getInterceptor$ax(perm), i = minLen, pp = 0; i <= maxLen; ++i) - for (j = 0; j < alphaSize; ++j) - if (t1.$index($length, j) === i) { - t2.$indexSet(perm, pp, j); - ++pp; - } - for (t2 = J.getInterceptor$asx(base), i = 0; i < 23; ++i) - t2.$indexSet(base, i, 0); - for (i = 0; i < alphaSize; ++i) { - t3 = t1.$index($length, i) + 1; - t2.$indexSet(base, t3, t2.$index(base, t3) + 1); + $signature: 276 + }; + A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._MidiInputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MidiOutputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._RtcStatsReport_JavaScriptObject_MapMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._Storage_JavaScriptObject_MapMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._StructuredClone.prototype = { + findSlot$1(value) { + var i, + t1 = this.values, + $length = t1.length; + for (i = 0; i < $length; ++i) + if (t1[i] === value) + return i; + B.JSArray_methods.add$1(t1, value); + B.JSArray_methods.add$1(this.copies, null); + return $length; + }, + walk$1(e) { + var slot, t2, copy, _this = this, t1 = {}; + if (e == null) + return e; + if (A._isBool(e)) + return e; + if (typeof e == "number") + return e; + if (typeof e == "string") + return e; + if (e instanceof A.DateTime) + return new Date(e._core$_value); + if (type$.RegExp._is(e)) + throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); + if (type$.File._is(e)) + return e; + if (type$.Blob._is(e)) + return e; + if (type$.FileList._is(e)) + return e; + if (type$.ImageData._is(e)) + return e; + if (type$.NativeByteBuffer._is(e) || type$.NativeTypedData._is(e) || type$.MessagePort._is(e) || type$.SharedArrayBuffer._is(e)) + return e; + if (type$.Map_dynamic_dynamic._is(e)) { + slot = _this.findSlot$1(e); + t2 = _this.copies; + if (!(slot < t2.length)) + return A.ioore(t2, slot); + copy = t1.copy = t2[slot]; + if (copy != null) + return copy; + copy = {}; + t1.copy = copy; + B.JSArray_methods.$indexSet(t2, slot, copy); + J.forEach$1$ax(e, new A._StructuredClone_walk_closure(t1, _this)); + return t1.copy; } - for (i = 1; i < 23; ++i) - t2.$indexSet(base, i, t2.$index(base, i) + t2.$index(base, i - 1)); - for (t1 = J.getInterceptor$asx(limit), i = 0; i < 23; ++i) - t1.$indexSet(limit, i, 0); - for (i = minLen, vec = 0; i <= maxLen; i = i0) { - i0 = i + 1; - vec += t2.$index(base, i0) - t2.$index(base, i); - t1.$indexSet(limit, i, vec - 1); - vec = vec << 1 >>> 0; + if (type$.List_dynamic._is(e)) { + slot = _this.findSlot$1(e); + t1 = _this.copies; + if (!(slot < t1.length)) + return A.ioore(t1, slot); + copy = t1[slot]; + if (copy != null) + return copy; + return _this.copyList$2(e, slot); } - for (i = minLen + 1; i <= maxLen; ++i) - t2.$indexSet(base, i, (t1.$index(limit, i - 1) + 1 << 1 >>> 0) - t2.$index(base, i)); - }, - _makeMaps$0: function() { - var i, t1, _this = this; - _this._numInUse = 0; - _this.__BZip2Decoder__seqToUnseq = new Uint8Array(256); - for (i = 0; i < 256; ++i) { - t1 = _this.__BZip2Decoder__inUse; - if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_inUse")) : t1, i) !== 0) { - t1 = _this.__BZip2Decoder__seqToUnseq; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_seqToUnseq")); - J.$indexSet$ax(t1, _this._numInUse++, i); - } + if (type$.JSObject._is(e)) { + slot = _this.findSlot$1(e); + t2 = _this.copies; + if (!(slot < t2.length)) + return A.ioore(t2, slot); + copy = t1.copy = t2[slot]; + if (copy != null) + return copy; + copy = {}; + t1.copy = copy; + B.JSArray_methods.$indexSet(t2, slot, copy); + _this.forEachObjectKey$2(e, new A._StructuredClone_walk_closure0(t1, _this)); + return t1.copy; } + throw A.wrapException(A.UnimplementedError$("structured clone of other type")); }, - get$_blockSize100k: function() { - var t1 = this.__BZip2Decoder__blockSize100k; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockSize100k")) : t1; - }, - get$_tt: function() { - var t1 = this.__BZip2Decoder__tt; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_tt")) : t1; - }, - get$_selector: function(_) { - var t1 = this.__BZip2Decoder__selector; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_selector")) : t1; - }, - get$_limit: function() { - var t1 = this.__BZip2Decoder__limit; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_limit")) : t1; - }, - get$_bzip2_decoder$_base: function() { - var t1 = this.__BZip2Decoder__base; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_base")) : t1; - }, - get$_perm: function() { - var t1 = this.__BZip2Decoder__perm; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_perm")) : t1; - }, - get$_minLens: function() { - var t1 = this.__BZip2Decoder__minLens; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_minLens")) : t1; + copyList$2(e, slot) { + var i, + t1 = J.getInterceptor$asx(e), + $length = t1.get$length(e), + copy = new Array($length); + B.JSArray_methods.$indexSet(this.copies, slot, copy); + if (typeof $length !== "number") + return A.iae($length); + i = 0; + for (; i < $length; ++i) + B.JSArray_methods.$indexSet(copy, i, this.walk$1(t1.$index(e, i))); + return copy; + } + }; + A._StructuredClone_walk_closure.prototype = { + call$2(key, value) { + this._box_0.copy[key] = this.$this.walk$1(value); }, - get$_numSelectors: function() { - var t1 = this.__BZip2Decoder__numSelectors; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_numSelectors")) : t1; + $signature: 42 + }; + A._StructuredClone_walk_closure0.prototype = { + call$2(key, value) { + this._box_0.copy[key] = this.$this.walk$1(value); }, - get$_gBase: function() { - var t1 = this.__BZip2Decoder__gBase; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_gBase")) : t1; + $signature: 155 + }; + A._AcceptStructuredClone.prototype = { + findSlot$1(value) { + var i, + t1 = this.values, + $length = t1.length; + for (i = 0; i < $length; ++i) + if (t1[i] === value) + return i; + B.JSArray_methods.add$1(t1, value); + B.JSArray_methods.add$1(this.copies, null); + return $length; }, - get$_cftab: function() { - var t1 = this.__BZip2Decoder__cftab; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_cftab")) : t1; + walk$1(e) { + var slot, t1, copy, t2, map, l, $length, i, _this = this; + if (e == null) + return e; + if (A._isBool(e)) + return e; + if (typeof e == "number") + return e; + if (typeof e == "string") + return e; + if (e instanceof Date) + return A.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); + if (e instanceof RegExp) + throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); + if (typeof Promise != "undefined" && e instanceof Promise) + return A.promiseToFuture(e, type$.dynamic); + if (A.isJavaScriptSimpleObject(e)) { + slot = _this.findSlot$1(e); + t1 = _this.copies; + if (!(slot < t1.length)) + return A.ioore(t1, slot); + copy = t1[slot]; + if (copy != null) + return copy; + t2 = type$.dynamic; + map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); + B.JSArray_methods.$indexSet(t1, slot, map); + _this.forEachJsField$2(e, new A._AcceptStructuredClone_walk_closure(_this, map)); + return map; + } + if (e instanceof Array) { + l = e; + slot = _this.findSlot$1(l); + t1 = _this.copies; + if (!(slot < t1.length)) + return A.ioore(t1, slot); + copy = t1[slot]; + if (copy != null) + return copy; + t2 = J.getInterceptor$asx(l); + $length = t2.get$length(l); + copy = _this.mustCopy ? new Array($length) : l; + B.JSArray_methods.$indexSet(t1, slot, copy); + if (typeof $length !== "number") + return A.iae($length); + t1 = J.getInterceptor$ax(copy); + i = 0; + for (; i < $length; ++i) + t1.$indexSet(copy, i, _this.walk$1(t2.$index(l, i))); + return copy; + } + return e; }, - set$__BZip2Decoder__limit: function(__BZip2Decoder__limit) { - this.__BZip2Decoder__limit = type$.nullable_List_Int32List._as(__BZip2Decoder__limit); + convertNativeToDart_AcceptStructuredClone$2$mustCopy(object, mustCopy) { + this.mustCopy = mustCopy; + return this.walk$1(object); + } + }; + A._AcceptStructuredClone_walk_closure.prototype = { + call$2(key, value) { + var t1 = this.$this.walk$1(value); + this.map.$indexSet(0, key, t1); + return t1; }, - set$__BZip2Decoder__base: function(__BZip2Decoder__base) { - this.__BZip2Decoder__base = type$.nullable_List_Int32List._as(__BZip2Decoder__base); + $signature: 282 + }; + A._convertDartToNative_Value_closure.prototype = { + call$1(element) { + this.array.push(A._convertDartToNative_Value(element)); }, - set$__BZip2Decoder__perm: function(__BZip2Decoder__perm) { - this.__BZip2Decoder__perm = type$.nullable_List_Int32List._as(__BZip2Decoder__perm); + $signature: 30 + }; + A.convertDartToNative_Dictionary_closure.prototype = { + call$2(key, value) { + this.object[key] = A._convertDartToNative_Value(value); }, - set$__BZip2Decoder__len: function(__BZip2Decoder__len) { - this.__BZip2Decoder__len = type$.nullable_List_Uint8List._as(__BZip2Decoder__len); + $signature: 42 + }; + A._StructuredCloneDart2Js.prototype = { + forEachObjectKey$2(object, action) { + var t1, t2, _i, key; + type$.dynamic_Function_dynamic_dynamic._as(action); + for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t2; ++_i) { + key = t1[_i]; + action.call$2(key, object[key]); + } } }; - X.FileContent.prototype = {}; - O.AesDecrypt.prototype = { - decryptData$3: function(buff, start, len) { - var t1, t2, t3, t4, j, j0, loopCount, t5, t6, t7, k, _this = this; - for (t1 = start + len, t2 = J.getInterceptor$asx(buff), t3 = _this.counterBlock, t4 = _this.iv, j = start; j < t1; j = j0) { - j0 = j + 16; - loopCount = j0 <= t1 ? 16 : t1 - j; - _this.mac._digest.update$3(0, buff, j, loopCount); - O.AesCipherUtil_prepareBuffAESIVBytes(t4, _this.nonce); - t5 = _this.aesEngine; - t6 = t5._WorkingKey; - if (t6 == null) - H.throwExpression(P.StateError$("AES engine not initialised")); - t7 = t4.byteLength; - if (typeof t7 !== "number") - return H.iae(t7); - if (16 > t7) - H.throwExpression(P.ArgumentError$("Input buffer too short")); - t7 = t3.byteLength; - if (typeof t7 !== "number") - return H.iae(t7); - if (16 > t7) - H.throwExpression(P.ArgumentError$("Output buffer too short")); - if (t5._forEncryption) - t5._encryptBlock$5(t4, 0, t3, 0, t6); - else - t5._decryptBlock$5(t4, 0, t3, 0, t6); - for (k = 0; k < loopCount; ++k) { - t5 = j + k; - t6 = t2.$index(buff, t5); - if (k >= 16) - return H.ioore(t3, k); - t2.$indexSet(buff, t5, (t6 ^ t3[k]) >>> 0); - } - ++_this.nonce; + A._AcceptStructuredCloneDart2Js.prototype = { + forEachJsField$2(object, action) { + var t1, t2, _i, key; + type$.dynamic_Function_dynamic_dynamic._as(action); + for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + key = t1[_i]; + action.call$2(key, object[key]); } - return len; } }; - R.ArchiveException.prototype = {}; - T.InputStreamBase.prototype = {}; - T.InputStream.prototype = { - get$length: function(_) { - var _this = this, - t1 = _this.get$_input_stream$_length(_this), - t2 = _this.offset; - if (typeof t1 !== "number") - return t1.$sub(); - return t1 - (t2 - _this.start); + A.CssClassSetImpl.prototype = { + _validateToken$1(value) { + var t1; + A._asStringS(value); + t1 = $.$get$CssClassSetImpl__validTokenRE()._nativeRegExp; + if (typeof value != "string") + A.throwExpression(A.argumentErrorValue(value)); + if (t1.test(value)) + return value; + throw A.wrapException(A.ArgumentError$value(value, "value", "Not a valid class token")); }, - get$isEOS: function() { - var _this = this, - t1 = _this.offset, - t2 = _this.get$_input_stream$_length(_this); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 >= _this.start + t2; + toString$0(_) { + return this.readClasses$0().join$1(0, " "); + }, + get$iterator(_) { + var t1 = this.readClasses$0(); + return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); }, - rewind$1: function($length) { - var t1 = this.offset -= $length; - if (t1 < 0) - this.offset = 0; + forEach$1(_, f) { + type$.void_Function_String._as(f); + this.readClasses$0().forEach$1(0, f); }, - $index: function(_, index) { + map$1$1(_, f, $T) { var t1, t2; - H._asIntS(index); - t1 = this.buffer; - t2 = this.offset; - if (typeof index !== "number") - return H.iae(index); - return J.$index$asx(t1, t2 + index); + $T._eval$1("0(String)")._as(f); + t1 = this.readClasses$0(); + t2 = A._instanceType(t1); + return new A.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - subset$2: function(position, $length) { - var t1, _this = this; - position = position == null ? _this.offset : position + _this.start; - if ($length == null || $length < 0) { - t1 = _this.get$_input_stream$_length(_this); - if (typeof t1 !== "number") - return t1.$sub(); - $length = t1 - (position - _this.start); - } - return T.InputStream$(_this.buffer, _this.byteOrder, $length, position); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - readByte$0: function() { - return J.$index$asx(this.buffer, this.offset++); + get$isEmpty(_) { + return this.readClasses$0()._collection$_length === 0; }, - readBytes$1: function(count) { - var _this = this, - bytes = _this.subset$2(_this.offset - _this.start, count); - _this.offset = _this.offset + bytes.get$length(bytes); - return bytes; + get$isNotEmpty(_) { + return this.readClasses$0()._collection$_length !== 0; }, - readString$2$size$utf8: function(size, utf8) { - var str, exception, t1, - bytes = this.readBytes$1(size).toUint8List$0(); - try { - str = utf8 ? new P.Utf8Decoder(false).convert$1(bytes) : P.String_String$fromCharCodes(bytes, 0, null); - return str; - } catch (exception) { - H.unwrapException(exception); - t1 = P.String_String$fromCharCodes(bytes, 0, null); - return t1; - } + get$length(_) { + return this.readClasses$0()._collection$_length; }, - readString$1$size: function(size) { - return this.readString$2$size$utf8(size, true); + contains$1(_, value) { + if (typeof value != "string") + return false; + this._validateToken$1(value); + return this.readClasses$0().contains$1(0, value); }, - readUint16$0: function() { - var b1, b2, _this = this, - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b1 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b2 = t1 & 255; - if (_this.byteOrder === 1) - return b1 << 8 | b2; - return b2 << 8 | b1; + add$1(_, value) { + var t1; + A._asStringS(value); + this._validateToken$1(value); + t1 = this.modify$1(0, new A.CssClassSetImpl_add_closure(value)); + return A._asBoolS(t1 == null ? false : t1); }, - readUint32$0: function() { - var b1, b2, b3, b4, _this = this, - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b1 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b2 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b3 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b4 = t1 & 255; - if (_this.byteOrder === 1) - return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; - return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; + remove$1(_, value) { + var s, result; + if (typeof value != "string") + return false; + this._validateToken$1(value); + s = this.readClasses$0(); + result = s.remove$1(0, value); + this.writeClasses$1(s); + return result; }, - readUint64$0: function() { - var b1, b2, b3, b4, b5, b6, b7, b8, _this = this, - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b1 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b2 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b3 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b4 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b5 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b6 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b7 = t1 & 255; - t1 = J.$index$asx(_this.buffer, _this.offset++); - if (typeof t1 !== "number") - return t1.$and(); - b8 = t1 & 255; - if (_this.byteOrder === 1) - return (C.JSInt_methods._shlPositive$1(b1, 56) | C.JSInt_methods._shlPositive$1(b2, 48) | C.JSInt_methods._shlPositive$1(b3, 40) | C.JSInt_methods._shlPositive$1(b4, 32) | b5 << 24 | b6 << 16 | b7 << 8 | b8) >>> 0; - return (C.JSInt_methods._shlPositive$1(b8, 56) | C.JSInt_methods._shlPositive$1(b7, 48) | C.JSInt_methods._shlPositive$1(b6, 40) | C.JSInt_methods._shlPositive$1(b5, 32) | b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; + removeAll$1(iterable) { + this.modify$1(0, new A.CssClassSetImpl_removeAll_closure(iterable)); }, - toUint8List$1: function(bytes) { - var t2, t3, end, _this = this, - len = _this.get$length(_this), - t1 = _this.buffer; - if (type$.Uint8List._is(t1)) { - t2 = J.getInterceptor$asx(t1); - if (_this.offset + len > t2.get$length(t1)) - len = t2.get$length(t1) - _this.offset; - t3 = t2.get$buffer(t1); - t1 = t2.get$offsetInBytes(t1); - t2 = _this.offset; - if (typeof t1 !== "number") - return t1.$add(); - return J.asUint8List$2$x(t3, t1 + t2, len); - } - end = _this.offset + len; - t1 = J.get$length$asx(t1); - if (typeof t1 !== "number") - return H.iae(t1); - if (end > t1) - end = J.get$length$asx(_this.buffer); - return new Uint8Array(H._ensureNativeList(J.sublist$2$ax(_this.buffer, _this.offset, end))); + get$first(_) { + var t1 = this.readClasses$0(); + return t1.get$first(t1); }, - toUint8List$0: function() { - return this.toUint8List$1(null); + get$last(_) { + var t1 = this.readClasses$0(); + return t1.get$last(t1); + }, + get$single(_) { + var t1 = this.readClasses$0(); + return t1.get$single(t1); }, - get$_input_stream$_length: function(_) { - var t1 = this.__InputStream__length; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_length")) : t1; + toList$1$growable(_, growable) { + var t1 = this.readClasses$0(); + return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetMixin.E")); }, - get$offset: function(receiver) { - return this.offset; + toList$0($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0(_) { + return this.readClasses$0().toSet$0(0); + }, + take$1(_, n) { + var t1 = this.readClasses$0(); + return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); + }, + skip$1(_, n) { + var t1 = this.readClasses$0(); + return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); + }, + elementAt$1(_, index) { + return this.readClasses$0().elementAt$1(0, index); + }, + modify$1(_, f) { + var s, ret; + type$.dynamic_Function_Set_String._as(f); + s = this.readClasses$0(); + ret = f.call$1(s); + this.writeClasses$1(s); + return ret; } }; - Q.OutputStreamBase.prototype = {}; - Q.OutputStream.prototype = { - writeByte$1: function(value) { - var t1, t2, _this = this; - if (_this.length === _this._output_stream$_buffer.length) - _this._expandBuffer$0(); - t1 = _this._output_stream$_buffer; - t2 = _this.length++; - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = value & 255; + A.CssClassSetImpl_add_closure.prototype = { + call$1(s) { + return type$.Set_String._as(s).add$1(0, this.value); }, - writeBytes$2: function(bytes, len) { - var t1, t2, t3, t4, _this = this; - type$.List_int._as(bytes); - if (len == null) - len = J.get$length$asx(bytes); - if (typeof len !== "number") - return H.iae(len); - for (; t1 = _this.length, t2 = t1 + len, t3 = _this._output_stream$_buffer, t4 = t3.length, t2 > t4;) - _this._expandBuffer$1(t2 - t4); - C.NativeUint8List_methods.setRange$3(t3, t1, t2, bytes); - _this.length += len; + $signature: 285 + }; + A.CssClassSetImpl_removeAll_closure.prototype = { + call$1(s) { + return type$.Set_String._as(s).removeAll$1(this.iterable); }, - writeBytes$1: function(bytes) { - return this.writeBytes$2(bytes, null); + $signature: 322 + }; + A.FilteredElementList.prototype = { + get$_html_common$_iterable() { + var t1 = this._childNodes, + t2 = A._instanceType(t1); + return new A.MappedIterable(new A.WhereIterable(t1, t2._eval$1("bool(ListMixin.E)")._as(new A.FilteredElementList__iterable_closure()), t2._eval$1("WhereIterable")), t2._eval$1("Element(ListMixin.E)")._as(new A.FilteredElementList__iterable_closure0()), t2._eval$1("MappedIterable")); }, - writeInputStream$1: function(stream) { - var t2, t3, t4, t5, t6, t7, _this = this, - t1 = stream.start; - while (true) { - t2 = _this.length; - t3 = stream.__InputStream__length; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_length")) : t3; - t5 = stream.offset - t1; - if (typeof t4 !== "number") - return t4.$sub(); - t6 = _this._output_stream$_buffer; - t7 = t6.length; - if (!(t2 + (t4 - t5) > t7)) - break; - if (typeof t3 !== "number") - return t3.$sub(); - _this._expandBuffer$1(t2 + (t3 - t5) - t7); - } - C.NativeUint8List_methods.setRange$4(t6, t2, t2 + stream.get$length(stream), stream.buffer, stream.offset); - _this.length = _this.length + stream.get$length(stream); + forEach$1(_, f) { + type$.void_Function_Element._as(f); + B.JSArray_methods.forEach$1(A.List_List$from(this.get$_html_common$_iterable(), false, type$.Element), f); }, - writeUint16$1: function(value) { - if (typeof value !== "number") - return value.$and(); - this.writeByte$1(value & 255); - this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + $indexSet(_, index, value) { + var t1; + A._asIntS(index); + type$.Element._as(value); + t1 = this.get$_html_common$_iterable(); + J.replaceWith$1$x(t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)), value); }, - writeUint32$1: function(value) { - var _this = this; - if (typeof value !== "number") - return value.$and(); - _this.writeByte$1(value & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 16) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 24) & 255); + set$length(_, newLength) { + var len = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); + if (typeof len !== "number") + return A.iae(len); + if (newLength >= len) + return; + else if (newLength < 0) + throw A.wrapException(A.ArgumentError$("Invalid list length", null)); + this.removeRange$2(0, newLength, len); }, - writeUint64$1: function(value) { - var topBit, _this = this; - if (typeof value !== "number") - return value.$and(); - if ((value & 9223372036854776e3) >>> 0 !== 0) { - value = (value ^ 9223372036854776e3) >>> 0; - topBit = 128; - } else - topBit = 0; - _this.writeByte$1(value & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 16) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 24) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 32) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 40) & 255); - _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 48) & 255); - _this.writeByte$1(topBit | C.JSInt_methods._shrOtherPositive$1(value, 56) & 255); - }, - subset$2: function(start, end) { - var _this = this; - if (start < 0) - start = _this.length + start; - if (end == null) - end = _this.length; - else if (end < 0) - end = _this.length + end; - return C.NativeByteBuffer_methods.asUint8List$2(_this._output_stream$_buffer.buffer, start, end - start); + add$1(_, value) { + this._childNodes._this.appendChild(type$.Element._as(value)); }, - subset$1: function(start) { - return this.subset$2(start, null); + addAll$1(_, iterable) { + var t1, t2; + for (t1 = J.get$iterator$ax(type$.Iterable_Element._as(iterable)), t2 = this._childNodes._this; t1.moveNext$0();) + t2.appendChild(t1.get$current(t1)); }, - _expandBuffer$1: function(required) { - var blockSize = required != null ? required > 32768 ? required : 32768 : 32768, - t1 = this._output_stream$_buffer, - t2 = t1.length, - newBuffer = new Uint8Array((t2 + blockSize) * 2); - C.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); - this._output_stream$_buffer = newBuffer; + contains$1(_, needle) { + if (!type$.Element._is(needle)) + return false; + return needle.parentNode === this._node; }, - _expandBuffer$0: function() { - return this._expandBuffer$1(null); + sort$1(_, compare) { + type$.nullable_int_Function_Element_Element._as(compare); + throw A.wrapException(A.UnsupportedError$("Cannot sort filtered list")); }, - get$length: function(receiver) { - return this.length; - } - }; - E.ZipDirectory.prototype = { - get$centralDirectorySize: function() { - var t1 = this.__ZipDirectory_centralDirectorySize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("centralDirectorySize")) : t1; + sort$0($receiver) { + return this.sort$1($receiver, null); }, - get$centralDirectoryOffset: function() { - var t1 = this.__ZipDirectory_centralDirectoryOffset; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("centralDirectoryOffset")) : t1; + setRange$4(_, start, end, iterable, skipCount) { + A._asIntS(end); + type$.Iterable_Element._as(iterable); + throw A.wrapException(A.UnsupportedError$("Cannot setRange on filtered list")); }, - ZipDirectory$read$2$password: function(input, password) { - var len, dirContent, t2, t3, t4, t5, _this = this, - t1 = _this._findEocdrSignature$1(input); - _this.filePosition = t1; - input.offset = input.start + t1; - input.readUint32$0(); - _this.numberOfThisDisk = input.readUint16$0(); - input.readUint16$0(); - _this.totalCentralDirectoryEntriesOnThisDisk = input.readUint16$0(); - input.readUint16$0(); - _this.__ZipDirectory_centralDirectorySize = input.readUint32$0(); - _this.__ZipDirectory_centralDirectoryOffset = input.readUint32$0(); - len = input.readUint16$0(); - if (len > 0) - input.readString$2$size$utf8(len, false); - if (_this.get$centralDirectoryOffset() === 4294967295 || _this.get$centralDirectorySize() === 4294967295 || _this.totalCentralDirectoryEntriesOnThisDisk === 65535 || _this.numberOfThisDisk === 65535) - _this._readZip64Data$1(input); - dirContent = input.subset$2(_this.get$centralDirectoryOffset(), _this.get$centralDirectorySize()); - t1 = dirContent.start; - t2 = _this.fileHeaders; - t3 = type$.JSArray_int; - while (true) { - t4 = dirContent.offset; - t5 = dirContent.__InputStream__length; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t5 !== "number") - return H.iae(t5); - if (!(t4 < t1 + t5)) - break; - if (dirContent.readUint32$0() !== 33639248) - break; - t4 = new X.ZipFileHeader(H.setRuntimeTypeInfo([], t3)); - t4.ZipFileHeader$3(dirContent, input, password); - C.JSArray_methods.add$1(t2, t4); - } + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - _readZip64Data$1: function(input) { - var zip64, zip64DirOffset, zip64DiskNumber, zip64NumEntriesOnDisk, dirSize, dirOffset, _this = this, - t1 = input.start, - ip = input.offset - t1, - locPos = _this.filePosition - 20; - if (locPos < 0) - return; - zip64 = input.subset$2(locPos, 20); - if (zip64.readUint32$0() !== 117853008) { - input.offset = t1 + ip; - return; - } - zip64.readUint32$0(); - zip64DirOffset = zip64.readUint64$0(); - zip64.readUint32$0(); - input.offset = t1 + zip64DirOffset; - if (input.readUint32$0() !== 101075792) { - input.offset = t1 + ip; - return; - } - input.readUint64$0(); - input.readUint16$0(); - input.readUint16$0(); - zip64DiskNumber = input.readUint32$0(); - input.readUint32$0(); - zip64NumEntriesOnDisk = input.readUint64$0(); - input.readUint64$0(); - dirSize = input.readUint64$0(); - dirOffset = input.readUint64$0(); - _this.numberOfThisDisk = zip64DiskNumber; - _this.totalCentralDirectoryEntriesOnThisDisk = zip64NumEntriesOnDisk; - _this.__ZipDirectory_centralDirectorySize = dirSize; - _this.__ZipDirectory_centralDirectoryOffset = dirOffset; - input.offset = t1 + ip; + removeRange$2(_, start, end) { + var t1 = this.get$_html_common$_iterable(); + t1 = A.SkipIterable_SkipIterable(t1, start, t1.$ti._eval$1("Iterable.E")); + if (typeof end !== "number") + return end.$sub(); + B.JSArray_methods.forEach$1(A.List_List$from(A.TakeIterable_TakeIterable(t1, end - start, A._instanceType(t1)._eval$1("Iterable.E")), true, type$.Element), new A.FilteredElementList_removeRange_closure()); }, - _findEocdrSignature$1: function(input) { - var ip, - t1 = input.offset, - t2 = input.start; - for (ip = input.get$length(input) - 5; ip >= 0; --ip) { - input.offset = t2 + ip; - if (input.readUint32$0() === 101010256) { - input.offset = t2 + (t1 - t2); - return ip; - } - } - throw H.wrapException(R.ArchiveException$("Could not find End of Central Directory Record")); - } - }; - Q.AesHeader.prototype = {}; - Q.ZipFile.prototype = { - ZipFile$3: function(input, header, password) { - var fnLen, exLen, extra, t2, t3, id, size, bytes, t4, compressionMethod, sigOrCrc, _this = this, - t1 = input.readUint32$0(); - _this.signature = t1; - if (t1 !== 67324752) - throw H.wrapException(R.ArchiveException$("Invalid Zip Signature")); - input.readUint16$0(); - _this.flags = input.readUint16$0(); - _this.compressionMethod = input.readUint16$0(); - _this.lastModFileTime = input.readUint16$0(); - _this.lastModFileDate = input.readUint16$0(); - _this.crc32 = input.readUint32$0(); - input.readUint32$0(); - _this.uncompressedSize = input.readUint32$0(); - fnLen = input.readUint16$0(); - exLen = input.readUint16$0(); - _this.filename = input.readString$1$size(fnLen); - _this.set$extraField(input.readBytes$1(exLen).toUint8List$0()); - _this._encryptionType = (_this.flags & 1) !== 0 ? 1 : 0; - _this._password = password; - t1 = _this.header.compressedSize; - t1.toString; - _this.__ZipFile__rawContent = input.readBytes$1(t1); - if (_this._encryptionType !== 0 && exLen > 2) { - extra = T.InputStream$(_this.extraField, 0, null, 0); - t1 = extra.start; - while (true) { - t2 = extra.offset; - t3 = extra.__InputStream__length; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(t2 < t1 + t3)) - break; - id = extra.readUint16$0(); - size = extra.readUint16$0(); - bytes = extra.subset$2(extra.offset - t1, size); - t2 = extra.offset; - t3 = bytes.__InputStream__length; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_length")); - t4 = bytes.offset; - if (typeof t3 !== "number") - return t3.$sub(); - extra.offset = t2 + (t3 - (t4 - bytes.start)); - if (id === 39169) { - bytes.readUint16$0(); - bytes.readString$1$size(2); - t2 = J.$index$asx(bytes.buffer, bytes.offset++); - compressionMethod = bytes.readUint16$0(); - _this._encryptionType = 2; - _this._aesHeader = new Q.AesHeader(t2, compressionMethod); - _this.compressionMethod = compressionMethod; - } - } - } - if ((_this.flags & 8) !== 0) { - sigOrCrc = input.readUint32$0(); - if (sigOrCrc === 134695760) - _this.crc32 = input.readUint32$0(); - else - _this.crc32 = sigOrCrc; - input.readUint32$0(); - _this.uncompressedSize = input.readUint32$0(); + removeLast$0(_) { + var t1 = this.get$_html_common$_iterable(), + result = t1._f.call$1(J.get$last$ax(t1.__internal$_iterable)); + if (result != null) + J.remove$0$ax(result); + return result; + }, + insert$2(_, index, value) { + var t1, element; + type$.Element._as(value); + if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) + this._childNodes._this.appendChild(value); + else { + t1 = this.get$_html_common$_iterable(); + element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + t1 = element.parentNode; + t1.toString; + J.insertBefore$2$x(t1, value, element); } - t1 = _this.header; - t1 = t1 == null ? null : t1.filename; - _this.filename = t1 == null ? _this.filename : t1; }, - get$content: function(_) { - var t1, t2, salt, keySize, verify, bytes, deriveKey, keyData, aesDecrypt, t3, t4, t5, mac, output, _this = this; - if (_this._zip_file$_content == null) { - if (_this._encryptionType !== 0) { - t1 = _this.get$_zip_file$_rawContent(); - if (t1.get$length(t1) <= 0) { - _this.set$_zip_file$_content(0, _this.get$_zip_file$_rawContent().toUint8List$0()); - _this._encryptionType = 0; - } else { - t1 = _this._encryptionType; - if (t1 === 1) - _this.__ZipFile__rawContent = _this._decodeZipCrypto$1(_this.get$_zip_file$_rawContent()); - else if (t1 === 2) { - t1 = _this.get$_zip_file$_rawContent(); - t2 = _this._aesHeader.encryptionStrength; - if (t2 === 1) { - salt = t1.readBytes$1(8).toUint8List$0(); - keySize = 16; - } else if (t2 === 2) { - salt = t1.readBytes$1(12).toUint8List$0(); - keySize = 24; - } else { - salt = t1.readBytes$1(16).toUint8List$0(); - keySize = 32; - } - verify = t1.readBytes$1(2).toUint8List$0(); - bytes = t1.readBytes$1(t1.get$length(t1) - 10).toUint8List$0(); - t1 = _this._password; - t1.toString; - deriveKey = Q.ZipFile__deriveKey(t1, salt, keySize); - keyData = new Uint8Array(H._ensureNativeList(C.NativeUint8List_methods.sublist$2(deriveKey, 0, keySize))); - t1 = keySize * 2; - if (!O.Uint8ListEquality_equals(C.NativeUint8List_methods.sublist$2(deriveKey, t1, t1 + 2), verify)) - H.throwExpression(P.Exception_Exception("password error")); - t1 = new Uint8Array(16); - aesDecrypt = new O.AesDecrypt(t1, new Uint8Array(16), keyData, keySize); - t1 = type$.int; - t2 = J.JSArray_JSArray$fixed(0, t1); - t3 = type$.JSArray_int; - t4 = H.setRuntimeTypeInfo([99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22], t3); - t5 = H.setRuntimeTypeInfo([82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125], t3); - t3 = aesDecrypt.aesEngine = new F.AESEngine(t2, t4, t5, H.setRuntimeTypeInfo([1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145], t3), H.setRuntimeTypeInfo([2774754246, 2222750968, 2574743534, 2373680118, 234025727, 3177933782, 2976870366, 1422247313, 1345335392, 50397442, 2842126286, 2099981142, 436141799, 1658312629, 3870010189, 2591454956, 1170918031, 2642575903, 1086966153, 2273148410, 368769775, 3948501426, 3376891790, 200339707, 3970805057, 1742001331, 4255294047, 3937382213, 3214711843, 4154762323, 2524082916, 1539358875, 3266819957, 486407649, 2928907069, 1780885068, 1513502316, 1094664062, 49805301, 1338821763, 1546925160, 4104496465, 887481809, 150073849, 2473685474, 1943591083, 1395732834, 1058346282, 201589768, 1388824469, 1696801606, 1589887901, 672667696, 2711000631, 251987210, 3046808111, 151455502, 907153956, 2608889883, 1038279391, 652995533, 1764173646, 3451040383, 2675275242, 453576978, 2659418909, 1949051992, 773462580, 756751158, 2993581788, 3998898868, 4221608027, 4132590244, 1295727478, 1641469623, 3467883389, 2066295122, 1055122397, 1898917726, 2542044179, 4115878822, 1758581177, 0, 753790401, 1612718144, 536673507, 3367088505, 3982187446, 3194645204, 1187761037, 3653156455, 1262041458, 3729410708, 3561770136, 3898103984, 1255133061, 1808847035, 720367557, 3853167183, 385612781, 3309519750, 3612167578, 1429418854, 2491778321, 3477423498, 284817897, 100794884, 2172616702, 4031795360, 1144798328, 3131023141, 3819481163, 4082192802, 4272137053, 3225436288, 2324664069, 2912064063, 3164445985, 1211644016, 83228145, 3753688163, 3249976951, 1977277103, 1663115586, 806359072, 452984805, 250868733, 1842533055, 1288555905, 336333848, 890442534, 804056259, 3781124030, 2727843637, 3427026056, 957814574, 1472513171, 4071073621, 2189328124, 1195195770, 2892260552, 3881655738, 723065138, 2507371494, 2690670784, 2558624025, 3511635870, 2145180835, 1713513028, 2116692564, 2878378043, 2206763019, 3393603212, 703524551, 3552098411, 1007948840, 2044649127, 3797835452, 487262998, 1994120109, 1004593371, 1446130276, 1312438900, 503974420, 3679013266, 168166924, 1814307912, 3831258296, 1573044895, 1859376061, 4021070915, 2791465668, 2828112185, 2761266481, 937747667, 2339994098, 854058965, 1137232011, 1496790894, 3077402074, 2358086913, 1691735473, 3528347292, 3769215305, 3027004632, 4199962284, 133494003, 636152527, 2942657994, 2390391540, 3920539207, 403179536, 3585784431, 2289596656, 1864705354, 1915629148, 605822008, 4054230615, 3350508659, 1371981463, 602466507, 2094914977, 2624877800, 555687742, 3712699286, 3703422305, 2257292045, 2240449039, 2423288032, 1111375484, 3300242801, 2858837708, 3628615824, 84083462, 32962295, 302911004, 2741068226, 1597322602, 4183250862, 3501832553, 2441512471, 1489093017, 656219450, 3114180135, 954327513, 335083755, 3013122091, 856756514, 3144247762, 1893325225, 2307821063, 2811532339, 3063651117, 572399164, 2458355477, 552200649, 1238290055, 4283782570, 2015897680, 2061492133, 2408352771, 4171342169, 2156497161, 386731290, 3669999461, 837215959, 3326231172, 3093850320, 3275833730, 2962856233, 1999449434, 286199582, 3417354363, 4233385128, 3602627437, 974525996], t3), H.setRuntimeTypeInfo([1353184337, 1399144830, 3282310938, 2522752826, 3412831035, 4047871263, 2874735276, 2466505547, 1442459680, 4134368941, 2440481928, 625738485, 4242007375, 3620416197, 2151953702, 2409849525, 1230680542, 1729870373, 2551114309, 3787521629, 41234371, 317738113, 2744600205, 3338261355, 3881799427, 2510066197, 3950669247, 3663286933, 763608788, 3542185048, 694804553, 1154009486, 1787413109, 2021232372, 1799248025, 3715217703, 3058688446, 397248752, 1722556617, 3023752829, 407560035, 2184256229, 1613975959, 1165972322, 3765920945, 2226023355, 480281086, 2485848313, 1483229296, 436028815, 2272059028, 3086515026, 601060267, 3791801202, 1468997603, 715871590, 120122290, 63092015, 2591802758, 2768779219, 4068943920, 2997206819, 3127509762, 1552029421, 723308426, 2461301159, 4042393587, 2715969870, 3455375973, 3586000134, 526529745, 2331944644, 2639474228, 2689987490, 853641733, 1978398372, 971801355, 2867814464, 111112542, 1360031421, 4186579262, 1023860118, 2919579357, 1186850381, 3045938321, 90031217, 1876166148, 4279586912, 620468249, 2548678102, 3426959497, 2006899047, 3175278768, 2290845959, 945494503, 3689859193, 1191869601, 3910091388, 3374220536, 0, 2206629897, 1223502642, 2893025566, 1316117100, 4227796733, 1446544655, 517320253, 658058550, 1691946762, 564550760, 3511966619, 976107044, 2976320012, 266819475, 3533106868, 2660342555, 1338359936, 2720062561, 1766553434, 370807324, 179999714, 3844776128, 1138762300, 488053522, 185403662, 2915535858, 3114841645, 3366526484, 2233069911, 1275557295, 3151862254, 4250959779, 2670068215, 3170202204, 3309004356, 880737115, 1982415755, 3703972811, 1761406390, 1676797112, 3403428311, 277177154, 1076008723, 538035844, 2099530373, 4164795346, 288553390, 1839278535, 1261411869, 4080055004, 3964831245, 3504587127, 1813426987, 2579067049, 4199060497, 577038663, 3297574056, 440397984, 3626794326, 4019204898, 3343796615, 3251714265, 4272081548, 906744984, 3481400742, 685669029, 646887386, 2764025151, 3835509292, 227702864, 2613862250, 1648787028, 3256061430, 3904428176, 1593260334, 4121936770, 3196083615, 2090061929, 2838353263, 3004310991, 999926984, 2809993232, 1852021992, 2075868123, 158869197, 4095236462, 28809964, 2828685187, 1701746150, 2129067946, 147831841, 3873969647, 3650873274, 3459673930, 3557400554, 3598495785, 2947720241, 824393514, 815048134, 3227951669, 935087732, 2798289660, 2966458592, 366520115, 1251476721, 4158319681, 240176511, 804688151, 2379631990, 1303441219, 1414376140, 3741619940, 3820343710, 461924940, 3089050817, 2136040774, 82468509, 1563790337, 1937016826, 776014843, 1511876531, 1389550482, 861278441, 323475053, 2355222426, 2047648055, 2383738969, 2302415851, 3995576782, 902390199, 3991215329, 1018251130, 1507840668, 1064563285, 2043548696, 3208103795, 3939366739, 1537932639, 342834655, 2262516856, 2180231114, 1053059257, 741614648, 1598071746, 1925389590, 203809468, 2336832552, 1100287487, 1895934009, 3736275976, 2632234200, 2428589668, 1636092795, 1890988757, 1952214088, 1113045200], t3)); - t3._forEncryption = true; - t3.set$_WorkingKey(t3.generateWorkingKey$2(true, new U.KeyParameter(keyData))); - if (t3._forEncryption) - t3.set$_s(P.List_List$from(t4, true, t1)); - else - t3.set$_s(P.List_List$from(t5, true, t1)); - mac = A.HMac$(A.SHA1Digest$(), 64); - mac.init$1(0, new U.KeyParameter(keyData)); - aesDecrypt.mac = mac; - aesDecrypt.decryptData$3(bytes, 0, J.get$length$asx(bytes)); - _this.__ZipFile__rawContent = T.InputStream$(bytes, 0, null, 0); - } - _this._encryptionType = 0; - } - } - t1 = _this.compressionMethod; - if (t1 === 8) { - t1 = _this.get$_zip_file$_rawContent(); - t2 = _this.uncompressedSize; - t3 = Y.HuffmanTable$(C.List_2Bc); - t4 = Y.HuffmanTable$(C.List_X3d1); - t2 = Q.OutputStream$(t2); - t4 = new S.Inflate(t1, t2, t3, t4); - t4.inputSet = true; - t4._inflate$0(); - _this.set$_zip_file$_content(0, type$.List_int._as(C.NativeByteBuffer_methods.asUint8List$2(t2._output_stream$_buffer.buffer, 0, t2.length))); - _this.compressionMethod = 0; - } else if (t1 === 12) { - output = Q.OutputStream$(32768); - new L.BZip2Decoder().decodeStream$2(_this.get$_zip_file$_rawContent(), output); - _this.set$_zip_file$_content(0, C.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length)); - _this.compressionMethod = 0; - } else if (t1 === 0) - _this.set$_zip_file$_content(0, _this.get$_zip_file$_rawContent().toUint8List$0()); - else - throw H.wrapException(R.ArchiveException$("Unsupported zip compression method " + t1)); + insertAll$2(_, index, iterable) { + var t1, element; + type$.Iterable_Element._as(iterable); + if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) + this.addAll$1(0, iterable); + else { + t1 = this.get$_html_common$_iterable(); + element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + t1 = element.parentNode; + t1.toString; + J.insertAllBefore$2$x(t1, iterable, element); } - t1 = _this._zip_file$_content; - t1.toString; + }, + removeAt$1(_, index) { + var t1 = this.get$_html_common$_iterable(); + t1 = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + J.remove$0$ax(t1); return t1; }, - toString$0: function(_) { - return this.filename; + remove$1(_, element) { + return false; }, - _updateKeys$1: function(c) { - var t1 = this._zip_file$_keys; - C.JSArray_methods.$indexSet(t1, 0, X.CRC32(t1[0], c)); - C.JSArray_methods.$indexSet(t1, 1, t1[1] + (t1[0] & 255)); - C.JSArray_methods.$indexSet(t1, 1, t1[1] * 134775813 + 1); - C.JSArray_methods.$indexSet(t1, 2, X.CRC32(t1[2], t1[1] >>> 24)); + get$length(_) { + return J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); }, - _decryptByte$0: function() { - var temp = this._zip_file$_keys[2] & 65535 | 2; - return temp * (temp ^ 1) >>> 8 & 255; + $index(_, index) { + var t1; + A._asIntS(index); + t1 = this.get$_html_common$_iterable(); + return t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); }, - _decodeZipCrypto$1: function(input) { - var i, t1, t2, bytes, temp, _this = this; - for (i = 0; i < 12; ++i) { - t1 = _this.__ZipFile__rawContent; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_rawContent")); - t1 = J.$index$asx(t1.buffer, t1.offset++); - t2 = _this._decryptByte$0(); - if (typeof t1 !== "number") - return t1.$xor(); - _this._updateKeys$1((t1 ^ t2) >>> 0); - } - bytes = _this.get$_zip_file$_rawContent().toUint8List$0(); - for (t1 = J.getInterceptor$asx(bytes), i = 0; i < t1.get$length(bytes); ++i) { - temp = (t1.$index(bytes, i) ^ _this._decryptByte$0()) >>> 0; - _this._updateKeys$1(temp); - t1.$indexSet(bytes, i, temp); - } - return T.InputStream$(bytes, 0, null, 0); + get$iterator(_) { + var t1 = A.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + }; + A.FilteredElementList__iterable_closure.prototype = { + call$1(n) { + return type$.Element._is(type$.Node._as(n)); }, - get$_zip_file$_rawContent: function() { - var t1 = this.__ZipFile__rawContent; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_rawContent")) : t1; + $signature: 157 + }; + A.FilteredElementList__iterable_closure0.prototype = { + call$1(n) { + return type$.Element._as(type$.Node._as(n)); }, - set$extraField: function(extraField) { - this.extraField = type$.List_int._as(extraField); + $signature: 411 + }; + A.FilteredElementList_removeRange_closure.prototype = { + call$1(el) { + return J.remove$0$ax(type$.Element._as(el)); }, - set$_zip_file$_content: function(_, _content) { - this._zip_file$_content = type$.nullable_List_int._as(_content); + $signature: 44 + }; + A.Cursor.prototype = {}; + A.CursorWithValue.prototype = { + get$value(receiver) { + return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.value, false); } }; - X.ZipFileHeader.prototype = { - ZipFileHeader$3: function(input, bytes, password) { - var fnameLen, extraLen, commentLen, extra, t1, t2, t3, id, size, bytes0, t4, _this = this; - _this.versionMadeBy = input.readUint16$0(); - input.readUint16$0(); - input.readUint16$0(); - input.readUint16$0(); - input.readUint16$0(); - input.readUint16$0(); - input.readUint32$0(); - _this.compressedSize = input.readUint32$0(); - _this.uncompressedSize = input.readUint32$0(); - fnameLen = input.readUint16$0(); - extraLen = input.readUint16$0(); - commentLen = input.readUint16$0(); - _this.diskNumberStart = input.readUint16$0(); - input.readUint16$0(); - _this.externalFileAttributes = input.readUint32$0(); - _this.localHeaderOffset = input.readUint32$0(); - if (fnameLen > 0) - _this.filename = input.readString$1$size(fnameLen); - if (extraLen > 0) { - extra = input.readBytes$1(extraLen); - _this.set$extraField(extra.toUint8List$0()); - extra.rewind$1(extraLen); - t1 = extra.start; - while (true) { - t2 = extra.offset; - t3 = extra.__InputStream__length; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(t2 < t1 + t3)) - break; - id = extra.readUint16$0(); - size = extra.readUint16$0(); - bytes0 = extra.subset$2(extra.offset - t1, size); - t2 = extra.offset; - t3 = bytes0.__InputStream__length; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_length")); - t4 = bytes0.offset; - if (typeof t3 !== "number") - return t3.$sub(); - extra.offset = t2 + (t3 - (t4 - bytes0.start)); - if (id === 1) { - if (size >= 8 && _this.uncompressedSize === 4294967295) { - _this.uncompressedSize = bytes0.readUint64$0(); - size -= 8; - } - if (size >= 8 && _this.compressedSize === 4294967295) { - _this.compressedSize = bytes0.readUint64$0(); - size -= 8; - } - if (size >= 8 && _this.localHeaderOffset === 4294967295) { - _this.localHeaderOffset = bytes0.readUint64$0(); - size -= 8; - } - if (size >= 4 && _this.diskNumberStart === 65535) - _this.diskNumberStart = bytes0.readUint32$0(); - } - } + A._completeRequest_closure.prototype = { + call$1(e) { + this.completer.complete$1(0, this.T._as(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(this.request.result, false))); + }, + $signature: 19 + }; + A.KeyRange.prototype = {$isKeyRange: 1}; + A.ObjectStore.prototype = { + add$1(receiver, value) { + var request, e, stacktrace, t1, exception, key = null; + try { + request = null; + if (key != null) + request = this._indexed_db$_add$2(receiver, value, key); + else + request = this._indexed_db$_add$1(receiver, value); + t1 = A._completeRequest(type$.Request._as(request), type$.dynamic); + return t1; + } catch (exception) { + e = A.unwrapException(exception); + stacktrace = A.getTraceFromException(exception); + t1 = A.Future_Future$error(e, stacktrace, type$.dynamic); + return t1; } - if (commentLen > 0) - input.readString$1$size(commentLen); - t1 = _this.localHeaderOffset; - t1.toString; - bytes.offset = bytes.start + t1; - t1 = type$.JSArray_int; - t1 = new Q.ZipFile(H.setRuntimeTypeInfo([], t1), _this, H.setRuntimeTypeInfo([0, 0, 0], t1)); - t1.ZipFile$3(bytes, _this, password); - _this.file = t1; }, - toString$0: function(_) { - return this.filename; + _indexed_db$_add$2(receiver, value, key) { + return receiver.add(new A._StructuredCloneDart2Js([], []).walk$1(value)); }, - set$extraField: function(extraField) { - this.extraField = type$.List_int._as(extraField); + _indexed_db$_add$1($receiver, value) { + return this._indexed_db$_add$2($receiver, value, null); } }; - Q.ZipDecoder.prototype = { - decodeBuffer$3$password$verify: function(input, password, verify) { - var archive, t2, t3, _i, zfh, t4, t5, t6, computedCrc, t7, t8, t9, file, - t1 = new E.ZipDirectory(H.setRuntimeTypeInfo([], type$.JSArray_ZipFileHeader)); - t1.ZipDirectory$read$2$password(input, password); - this.__ZipDecoder_directory = t1; - archive = new D.Archive(H.setRuntimeTypeInfo([], type$.JSArray_ArchiveFile), P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); - t1 = this.__ZipDecoder_directory; - t1 = (t1 === $ ? H.throwExpression(H.LateError$fieldNI("directory")) : t1).fileHeaders; - t2 = t1.length; - t3 = type$.List_int; - _i = 0; - for (; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - zfh = t1[_i]; - t4 = zfh.file; - t4.toString; - t5 = zfh.externalFileAttributes; - t5.toString; - t6 = t4.compressionMethod; - computedCrc = X.getCrc32(t4.get$content(t4), 0); - if (computedCrc !== t4.crc32) - throw H.wrapException(R.ArchiveException$("Invalid CRC for file in archive.")); - t7 = t4.filename; - t8 = t4.uncompressedSize; - t8.toString; - t9 = t4.compressionMethod; - file = new B.ArchiveFile(t7, t8, C.JSInt_methods._tdivFast$1(Date.now(), 1000), t9); - file.ArchiveFile$4(t7, t8, t4, t9); - t5 = t5 >>> 16; - file.mode = t5; - if (zfh.versionMadeBy >>> 8 === 3) { - file.isFile = false; - switch (t5 & 61440) { - case 32768: - case 0: - file.isFile = true; - break; - case 40960: - t5 = file._archive_file$_content; - if ((t5 instanceof X.FileContent ? file._archive_file$_content = t5.get$content(t5) : t5) == null) - file.decompress$0(); - t5 = t3._as(t3._as(file._archive_file$_content)); - C.Utf8Decoder_false.convert$1(t5); - break; - } - } else - file.isFile = !J.endsWith$1$s(file.name, "/"); - file.crc32 = t4.crc32; - file.compress = t6 !== 0; - file.lastModTime = (t4.lastModFileDate << 16 | t4.lastModFileTime) >>> 0; - archive.addFile$1(0, file); - } - return archive; + A.Observation.prototype = { + get$value(receiver) { + return receiver.value; } }; - K._ZipFileData.prototype = {}; - K._ZipEncoderData.prototype = {}; - K.ZipEncoder.prototype = { - get$_zip_encoder$_data: function() { - var t1 = this.__ZipEncoder__data; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_data")) : t1; - }, - encode$1: function(archive) { - var t2, t3, t4, t5, _i, file, fileData, t6, lastModMS, lastModTime, compressedData, crc32, bytes, level, t7, t8, t9, t10, t11, t12, t13, encodedFilename, dataLen, filename, compressedSize, needsZip64, compressionMethod, lastModFileTime, lastModFileDate, uncompressedSize, out, extra, _this = this, _null = null, _s5_ = "_data", _4294967295 = 4294967295, - output = Q.OutputStream$(32768), - t1 = new K._ZipEncoderData(1, H.setRuntimeTypeInfo([], type$.JSArray__ZipFileData)); - t1.___ZipEncoderData_time = K._getTime(_null); - t1.___ZipEncoderData_date = K._getDate(_null); - _this.__ZipEncoder__data = t1; - _this._output = output; - for (t1 = archive.files, t2 = t1.length, t3 = type$.Utf8Codec._eval$1("Codec.S"), t4 = type$.JSArray_int, t5 = type$.List_int, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - file = t1[_i]; - fileData = new K._ZipFileData(); - t6 = _this.__ZipEncoder__data; - C.JSArray_methods.add$1((t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).files, fileData); - lastModMS = file.lastModTime * 1000; - lastModTime = new P.DateTime(lastModMS, false); - lastModTime.DateTime$_withValue$2$isUtc(lastModMS, false); - fileData.___ZipFileData_name = file.name; - t6 = _this.__ZipEncoder__data; - t6 = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).___ZipEncoderData_time; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI("time")); - if (t6 == null) { - t6 = K._getTime(lastModTime); - t6.toString; - } - fileData.time = t6; - t6 = _this.__ZipEncoder__data; - t6 = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).___ZipEncoderData_date; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI("date")); - if (t6 == null) { - t6 = K._getDate(lastModTime); - t6.toString; - } - fileData.date = t6; - fileData.mode = file.mode; - if (!file.compress) { - if (file._compressionType !== 0) - file.decompress$0(); - t6 = file._archive_file$_content; - if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) - file.decompress$0(); - t6 = file._archive_file$_content; - if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) - file.decompress$0(); - compressedData = T.InputStream$(file._archive_file$_content, 0, _null, 0); - crc32 = file.crc32; - crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(file); - } else { - t6 = file._compressionType; - if (t6 !== 0 && t6 === 8) { - compressedData = file._rawContent; - crc32 = file.crc32; - crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(file); - } else if (file.isFile) { - crc32 = _this.getFileCrc32$1(file); - t6 = file._archive_file$_content; - if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) - file.decompress$0(); - bytes = file._archive_file$_content; - t5._as(bytes); - t6 = _this.__ZipEncoder__data; - level = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).level; - t6 = new T._HuffmanTree(); - t7 = new T._HuffmanTree(); - t8 = new T._HuffmanTree(); - t9 = new Uint16Array(16); - t10 = new Uint32Array(573); - t11 = new Uint8Array(573); - t12 = T.InputStream$(bytes, 0, _null, 0); - t13 = new Q.OutputStream(new Uint8Array(32768)); - t11 = new T.Deflate(t12, t13, t6, t7, t8, t9, t10, t11); - if (level === -1) - level = 6; - if (level <= 9) - t9 = false; - else - t9 = true; - if (t9) - H.throwExpression(R.ArchiveException$("Invalid Deflate parameter")); - $.Deflate____config = t11._getConfig$1(level); - t9 = t11.__Deflate__dynamicLengthTree = new Uint16Array(1146); - t10 = t11.__Deflate__dynamicDistTree = new Uint16Array(122); - t12 = t11.__Deflate__bitLengthTree = new Uint16Array(78); - t11.__Deflate__windowBits = 15; - t11.__Deflate__windowSize = 32768; - t11.__Deflate__windowMask = 32768 - 1; - t11.__Deflate__hashBits = 15; - t11.__Deflate__hashSize = 32768; - t11.__Deflate__hashMask = 32768 - 1; - t11.__Deflate__hashShift = 5; - t11.__Deflate__window = new Uint8Array(32768 * 2); - t11.__Deflate__prev = new Uint16Array(32768); - t11.__Deflate__head = new Uint16Array(32768); - t11.__Deflate__litBufferSize = 16384; - t11.__Deflate__pendingBuffer = new Uint8Array(65536); - t11.__Deflate__pendingBufferSize = 65536; - t11.__Deflate__dbuf = 16384; - t11.__Deflate__lbuf = 49152; - t11.__Deflate__level = level; - t11.__Deflate__pendingOut = t11.__Deflate__pending = t11.__Deflate__strategy = 0; - t11._status = 113; - t11.crc32 = 0; - t6.___HuffmanTree_dynamicTree = t9 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")) : t9; - t6.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticLDesc(); - t7.___HuffmanTree_dynamicTree = t10 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")) : t10; - t7.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticDDesc(); - t8.___HuffmanTree_dynamicTree = t12 === $ ? H.throwExpression(H.LateError$fieldNI("_bitLengthTree")) : t12; - t8.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticBlDesc(); - t11.__Deflate__numValidBits = t11.__Deflate__bitBuffer = 0; - t11.__Deflate__lastEOBLen = 8; - t11._initBlock$0(); - t11._lmInit$0(); - t11._deflate$1(4); - t11._flushPending$0(); - compressedData = T.InputStream$(t5._as(C.NativeByteBuffer_methods.asUint8List$2(t13._output_stream$_buffer.buffer, 0, t13.length)), 0, _null, 0); - } else { - compressedData = _null; - crc32 = 0; - } - } - t6 = t3._as(file.name); - encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(t6); - if (compressedData == null) - dataLen = _null; - else { - t6 = compressedData.__InputStream__length; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI("_length")); - t7 = compressedData.offset; - t8 = compressedData.start; - if (typeof t6 !== "number") - return t6.$sub(); - t8 = t6 - (t7 - t8); - dataLen = t8; - } - if (dataLen == null) - dataLen = 0; - t6 = _this.__ZipEncoder__data; - t7 = t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6; - t8 = encodedFilename.length; - t7.localFileSize = t7.localFileSize + (30 + t8 + dataLen); - t7 = t6.centralDirectorySize; - t6.centralDirectorySize = t7 + (46 + t8); - fileData.crc32 = crc32; - fileData.compressedSize = dataLen; - fileData.compressedData = compressedData; - fileData.uncompressedSize = file.size; - fileData.compress = file.compress; - fileData.comment = null; - t6 = _this._output; - fileData.position = t6.length; - filename = fileData.___ZipFileData_name; - if (filename === $) - filename = H.throwExpression(H.LateError$fieldNI("name")); - t6.writeUint32$1(67324752); - compressedSize = fileData.compressedSize; - if (compressedSize <= 4294967295) { - t7 = fileData.uncompressedSize; - if (typeof t7 !== "number") - return t7.$gt(); - needsZip64 = t7 > 4294967295; - } else - needsZip64 = true; - compressionMethod = fileData.compress ? 8 : 0; - lastModFileTime = fileData.time; - lastModFileDate = fileData.date; - crc32 = fileData.crc32; - if (needsZip64) - compressedSize = _4294967295; - uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; - if (needsZip64) { - out = new Q.OutputStream(new Uint8Array(32768)); - out.writeByte$1(1); - out.writeByte$1(0); - out.writeByte$1(16); - out.writeByte$1(0); - out.writeUint64$1(fileData.uncompressedSize); - out.writeUint64$1(fileData.compressedSize); - extra = C.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length); - } else - extra = H.setRuntimeTypeInfo([], t4); - compressedData = fileData.compressedData; - t3._as(filename); - encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(filename); - t6.writeUint16$1(20); - t6.writeUint16$1(2048); - t6.writeUint16$1(compressionMethod); - t6.writeUint16$1(lastModFileTime); - t6.writeUint16$1(lastModFileDate); - t6.writeUint32$1(crc32); - t6.writeUint32$1(compressedSize); - t6.writeUint32$1(uncompressedSize); - t6.writeUint16$1(encodedFilename.length); - t6.writeUint16$1(extra.length); - t6.writeBytes$1(encodedFilename); - t6.writeBytes$1(extra); - if (compressedData != null) - t6.writeInputStream$1(compressedData); - fileData.compressedData = null; - } - t1 = archive.comment; - t2 = _this.get$_zip_encoder$_data().files; - t3 = _this._output; - t3.toString; - _this._writeCentralDirectory$3(t2, t1, t3); - t1 = C.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length); - return t1; + A.Request0.prototype = {$isRequest0: 1}; + A.VersionChangeEvent.prototype = { + get$target(receiver) { + return receiver.target; + } + }; + A._convertToJS_closure.prototype = { + call$1(o) { + var jsFunction; + type$.Function._as(o); + jsFunction = function(_call, f, captureThis) { + return function() { + return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); + }; + }(A._callDartFunction, o, false); + A._defineProperty(jsFunction, $.$get$DART_CLOSURE_PROPERTY_NAME(), o); + return jsFunction; }, - getFileCrc32$1: function(file) { - if (file.get$content(file) == null) - return 0; - file.get$content(file); - return X.getCrc32(type$.List_int._as(file.get$content(file)), 0); + $signature: 12 + }; + A._convertToJS_closure0.prototype = { + call$1(o) { + return new this.ctor(o); }, - _writeCentralDirectory$3: function(files, comment, output) { - var t1, encodedComment, centralDirPosition, t2, t3, zipNeedsZip64, _i, t4, fileData, needsZip64, compressionMethod, lastModifiedFileTime, lastModifiedFileDate, crc32, compressedSize, uncompressedSize, localHeaderOffset, out, extraField, fileComment, t5, encodedFilename, encodedFileComment, centralDirectorySize, _4294967295 = 4294967295; - type$.List__ZipFileData._as(files); - t1 = type$.Utf8Codec._eval$1("Codec.S"); - t1._as(""); - encodedComment = C.C_Utf8Codec.get$encoder().convert$1(""); - centralDirPosition = output.length; - for (t2 = files.length, t3 = type$.JSArray_int, zipNeedsZip64 = false, _i = 0; t4 = files.length, _i < t4; files.length === t2 || (0, H.throwConcurrentModificationError)(files), ++_i) { - fileData = files[_i]; - if (fileData.compressedSize <= 4294967295) { - t4 = fileData.uncompressedSize; - if (typeof t4 !== "number") - return t4.$gt(); - needsZip64 = t4 > 4294967295 || fileData.position > 4294967295; - } else - needsZip64 = true; - zipNeedsZip64 = C.JSBool_methods.$or(zipNeedsZip64, needsZip64); - compressionMethod = fileData.compress ? 8 : 0; - lastModifiedFileTime = fileData.time; - lastModifiedFileDate = fileData.date; - crc32 = fileData.crc32; - compressedSize = needsZip64 ? _4294967295 : fileData.compressedSize; - uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; - t4 = fileData.mode; - localHeaderOffset = needsZip64 ? _4294967295 : fileData.position; - if (needsZip64) { - out = new Q.OutputStream(new Uint8Array(32768)); - out.writeByte$1(1); - out.writeByte$1(0); - out.writeByte$1(24); - out.writeByte$1(0); - out.writeUint64$1(fileData.uncompressedSize); - out.writeUint64$1(fileData.compressedSize); - out.writeUint64$1(fileData.position); - extraField = C.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length); - } else - extraField = H.setRuntimeTypeInfo([], t3); - fileComment = fileData.comment; - if (fileComment == null) - fileComment = ""; - t5 = fileData.___ZipFileData_name; - t5 = t1._as(t5 === $ ? H.throwExpression(H.LateError$fieldNI("name")) : t5); - encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(t5); - t1._as(fileComment); - encodedFileComment = C.C_Utf8Codec.get$encoder().convert$1(fileComment); - output.writeUint32$1(33639248); - output.writeUint16$1(20); - output.writeUint16$1(20); - output.writeUint16$1(2048); - output.writeUint16$1(compressionMethod); - output.writeUint16$1(lastModifiedFileTime); - output.writeUint16$1(lastModifiedFileDate); - output.writeUint32$1(crc32); - output.writeUint32$1(compressedSize); - output.writeUint32$1(uncompressedSize); - output.writeUint16$1(encodedFilename.length); - output.writeUint16$1(extraField.length); - output.writeUint16$1(encodedFileComment.length); - output.writeUint16$1(0); - output.writeUint16$1(0); - output.writeUint32$1(t4 << 16 >>> 0); - output.writeUint32$1(localHeaderOffset); - output.writeBytes$1(encodedFilename); - output.writeBytes$1(extraField); - output.writeBytes$1(encodedFileComment); + $signature: 12 + }; + A._wrapToDart_closure.prototype = { + call$1(o) { + return new A.JsFunction(o); + }, + $signature: 685 + }; + A._wrapToDart_closure0.prototype = { + call$1(o) { + return new A.JsArray(o, type$.JsArray_dynamic); + }, + $signature: 190 + }; + A._wrapToDart_closure1.prototype = { + call$1(o) { + return new A.JsObject(o); + }, + $signature: 211 + }; + A.JsObject.prototype = { + $index(_, property) { + if (typeof property != "string" && typeof property != "number") + throw A.wrapException(A.ArgumentError$("property is not a String or num", null)); + return A._convertToDart(this._js$_jsObject[property]); + }, + $indexSet(_, property, value) { + if (typeof property != "string" && typeof property != "number") + throw A.wrapException(A.ArgumentError$("property is not a String or num", null)); + this._js$_jsObject[property] = A._convertToJS(value); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.JsObject && this._js$_jsObject === other._js$_jsObject; + }, + toString$0(_) { + var t1, exception; + try { + t1 = String(this._js$_jsObject); + return t1; + } catch (exception) { + t1 = this.super$Object$toString(0); + return t1; } - t1 = output.length; - centralDirectorySize = t1 - centralDirPosition; - if (!zipNeedsZip64) - if (t4 <= 65535) { - t2 = centralDirectorySize > 4294967295 || centralDirPosition > 4294967295; - needsZip64 = t2; - } else - needsZip64 = true; - else - needsZip64 = true; - if (needsZip64) { - output.writeUint32$1(101075792); - output.writeUint64$1(44); - output.writeUint16$1(45); - output.writeUint16$1(45); - output.writeUint32$1(0); - output.writeUint32$1(0); - output.writeUint64$1(t4); - output.writeUint64$1(t4); - output.writeUint64$1(centralDirectorySize); - output.writeUint64$1(centralDirPosition); - output.writeUint32$1(117853008); - output.writeUint32$1(0); - output.writeUint64$1(t1); - output.writeUint32$1(1); + }, + callMethod$2(method, args) { + var t2, + t1 = this._js$_jsObject; + if (args == null) + t2 = null; + else { + t2 = A._arrayInstanceType(args); + t2 = A.List_List$from(new A.MappedListIterable(args, t2._eval$1("@(1)")._as(A.js___convertToJS$closure()), t2._eval$1("MappedListIterable<1,@>")), true, type$.dynamic); } - output.writeUint32$1(101010256); - output.writeUint16$1(0); - output.writeUint16$1(needsZip64 ? 65535 : 0); - output.writeUint16$1(needsZip64 ? 65535 : t4); - output.writeUint16$1(needsZip64 ? 65535 : t4); - output.writeUint32$1(needsZip64 ? _4294967295 : centralDirectorySize); - output.writeUint32$1(needsZip64 ? _4294967295 : centralDirPosition); - output.writeUint16$1(encodedComment.length); - output.writeBytes$1(encodedComment); + return A._convertToDart(t1[method].apply(t1, t2)); + }, + callMethod$1(method) { + return this.callMethod$2(method, null); + }, + get$hashCode(_) { + return 0; } }; - T.Deflate.prototype = { - _deflate$1: function(flush) { - var t1, bstate, t2, i, _this = this; - if (flush > 4 || false) - throw H.wrapException(R.ArchiveException$("Invalid Deflate Parameter")); - if (_this.get$_deflate$_pending() !== 0) - _this._flushPending$0(); - if (_this._deflate$_input.get$isEOS()) - if (_this.get$_lookAhead() === 0) - t1 = flush !== 0 && _this._status !== 666; - else - t1 = true; - else - t1 = true; - if (t1) { - t1 = $.Deflate____config; - switch ((t1 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t1).$function) { - case 0: - bstate = _this._deflateStored$1(flush); - break; - case 1: - bstate = _this._deflateFast$1(flush); - break; - case 2: - bstate = _this._deflateSlow$1(flush); - break; - default: - bstate = -1; - break; - } - t1 = bstate === 2; - if (t1 || bstate === 3) - _this._status = 666; - if (bstate === 0 || t1) - return 0; - if (bstate === 1) { - if (flush === 1) { - _this._sendBits$2(2, 3); - _this._sendCode$2(256, C.List_Xg4); - _this.biFlush$0(); - t1 = _this.__Deflate__lastEOBLen; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_lastEOBLen")); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return H.iae(t2); - if (1 + t1 + 10 - t2 < 9) { - _this._sendBits$2(2, 3); - _this._sendCode$2(256, C.List_Xg4); - _this.biFlush$0(); - } - _this.__Deflate__lastEOBLen = 7; - } else { - _this._trStoredBlock$3(0, 0, false); - if (flush === 3) { - i = 0; - while (true) { - t1 = _this.__Deflate__hashSize; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_hashSize")); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(i < t1)) - break; - t1 = _this.__Deflate__head; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_head")); - if (i >= t1.length) - return H.ioore(t1, i); - t1[i] = 0; - ++i; - } - } - } - _this._flushPending$0(); - } - } - if (flush !== 4) - return 0; - return 1; + A.JsFunction.prototype = {}; + A.JsArray.prototype = { + _checkIndex$1(index) { + var _this = this, + t1 = index < 0 || index >= _this.get$length(_this); + if (t1) + throw A.wrapException(A.RangeError$range(index, 0, _this.get$length(_this), null, null)); }, - _lmInit$0: function() { - var t2, i, _this = this, - t1 = _this.get$_windowSize(); - if (typeof t1 !== "number") - return H.iae(t1); - _this.__Deflate__actualWindowSize = 2 * t1; - t1 = _this.get$_deflate$_head(_this); - t2 = _this.get$_hashSize(); - if (typeof t2 !== "number") - return t2.$sub(); - --t2; - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = 0; - i = 0; - while (true) { - t1 = _this.__Deflate__hashSize; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_hashSize")); - if (typeof t1 !== "number") - return t1.$sub(); - if (!(i < t1 - 1)) - break; - t1 = _this.__Deflate__head; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_head")); - if (i >= t1.length) - return H.ioore(t1, i); - t1[i] = 0; - ++i; - } - _this.__Deflate__lookAhead = _this.__Deflate__blockStart = _this.__Deflate__strStart = 0; - _this.__Deflate__matchLength = _this.__Deflate__prevLength = 2; - _this.__Deflate__insertHash = _this.__Deflate__matchAvailable = 0; + $index(_, index) { + if (A._isInt(index)) + this._checkIndex$1(index); + return this.$ti._precomputed1._as(this.super$JsObject$$index(0, index)); }, - _initBlock$0: function() { - var i, t1, t2, _this = this; - for (i = 0; i < 286; ++i) { - t1 = _this.__Deflate__dynamicLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")); - t2 = i * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = 0; - } - for (i = 0; i < 30; ++i) { - t1 = _this.__Deflate__dynamicDistTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")); - t2 = i * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = 0; - } - for (i = 0; i < 19; ++i) { - t1 = _this.__Deflate__bitLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); - t2 = i * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = 0; - } - t1 = _this.get$_dynamicLengthTree(); - if (512 >= t1.length) - return H.ioore(t1, 512); - t1[512] = 1; - _this.__Deflate__lastLit = _this.__Deflate__matches = _this.__Deflate__optimalLen = _this.__Deflate__staticLen = 0; + $indexSet(_, index, value) { + if (A._isInt(index)) + this._checkIndex$1(index); + this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); }, - _pqdownheap$2: function(tree, k) { - var v, j, t2, t3, t4, j0, - t1 = this._heap; - if (k < 0 || k >= 573) - return H.ioore(t1, k); - v = t1[k]; - j = k << 1 >>> 0; - t2 = this._depth; - while (true) { - t3 = this.__Deflate__heapLen; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_heapLen")) : t3; - if (typeof t4 !== "number") - return H.iae(t4); - if (!(j <= t4)) - break; - if (typeof t3 !== "number") - return H.iae(t3); - if (j < t3) { - t3 = j + 1; - if (t3 < 0 || t3 >= 573) - return H.ioore(t1, t3); - t3 = t1[t3]; - if (j < 0 || j >= 573) - return H.ioore(t1, j); - t3 = T.Deflate__smaller(tree, t3, t1[j], t2); - } else - t3 = false; - if (t3) - ++j; - if (j < 0 || j >= 573) - return H.ioore(t1, j); - if (T.Deflate__smaller(tree, v, t1[j], t2)) - break; - t3 = t1[j]; - if (k < 0 || k >= 573) - return H.ioore(t1, k); - t1[k] = t3; - j0 = j << 1 >>> 0; - k = j; - j = j0; - } - if (k < 0 || k >= 573) - return H.ioore(t1, k); - t1[k] = v; + get$length(_) { + var len = this._js$_jsObject.length; + if (typeof len === "number" && len >>> 0 === len) + return len; + throw A.wrapException(A.StateError$("Bad JsArray length")); }, - _scanTree$2: function(tree, maxCode) { - var nextLen, maxCount, minCount, t2, n, prevLen, count, nextLen0, t3, t4, _this = this, - _s14_ = "_bitLengthTree", - t1 = tree.length; - if (1 >= t1) - return H.ioore(tree, 1); - nextLen = tree[1]; - if (nextLen === 0) { - maxCount = 138; - minCount = 3; - } else { - maxCount = 7; - minCount = 4; - } - if (typeof maxCode !== "number") - return maxCode.$add(); - t2 = (maxCode + 1) * 2 + 1; - if (t2 < 0 || t2 >= t1) - return H.ioore(tree, t2); - tree[t2] = 65535; - for (n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { - ++n; - t2 = n * 2 + 1; - if (t2 >= t1) - return H.ioore(tree, t2); - nextLen0 = tree[t2]; - ++count; - if (count < maxCount && nextLen === nextLen0) - continue; - else if (count < minCount) { - t2 = _this.__Deflate__bitLengthTree; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t2; - t4 = nextLen * 2; - if (t4 >= t2.length) - return H.ioore(t2, t4); - t2 = t2[t4]; - if (t4 >= t3.length) - return H.ioore(t3, t4); - t3[t4] = t2 + count; - } else if (nextLen !== 0) { - if (nextLen !== prevLen) { - t2 = _this.__Deflate__bitLengthTree; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); - t3 = nextLen * 2; - if (t3 >= t2.length) - return H.ioore(t2, t3); - t2[t3] = t2[t3] + 1; - } - t2 = _this.__Deflate__bitLengthTree; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); - if (32 >= t2.length) - return H.ioore(t2, 32); - t2[32] = t2[32] + 1; - } else { - t2 = _this.__Deflate__bitLengthTree; - if (count <= 10) { - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); - if (34 >= t2.length) - return H.ioore(t2, 34); - t2[34] = t2[34] + 1; - } else { - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); - if (36 >= t2.length) - return H.ioore(t2, 36); - t2[36] = t2[36] + 1; - } - } - if (nextLen0 === 0) { - maxCount = 138; - minCount = 3; - } else if (nextLen === nextLen0) { - maxCount = 6; - minCount = 3; - } else { - maxCount = 7; - minCount = 4; - } - prevLen = nextLen; - count = 0; - } + set$length(_, $length) { + this.super$_JsArray_JsObject_ListMixin$$indexSet(0, "length", $length); }, - _buildBitLengthTree$0: function() { - var maxBLIndex, t1, t2, _this = this; - _this._scanTree$2(_this.get$_dynamicLengthTree(), _this._lDesc.get$maxCode()); - _this._scanTree$2(_this.get$_dynamicDistTree(), _this._dDesc.get$maxCode()); - _this._blDesc._buildTree$1(_this); - for (maxBLIndex = 18; maxBLIndex >= 3; --maxBLIndex) { - t1 = _this.__Deflate__bitLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); - t2 = C.List_uSC[maxBLIndex] * 2 + 1; - if (t2 >= t1.length) - return H.ioore(t1, t2); - if (t1[t2] !== 0) - break; - } - t1 = _this.get$_optimalLen(); - if (typeof t1 !== "number") - return t1.$add(); - _this.__Deflate__optimalLen = t1 + (3 * (maxBLIndex + 1) + 5 + 5 + 4); - return maxBLIndex; + add$1(_, value) { + this.callMethod$2("push", [this.$ti._precomputed1._as(value)]); }, - _sendAllTrees$3: function(lcodes, dcodes, blcodes) { - var t1, rank, t2, t3, _this = this; - _this._sendBits$2(lcodes - 257, 5); - t1 = dcodes - 1; - _this._sendBits$2(t1, 5); - _this._sendBits$2(blcodes - 4, 4); - for (rank = 0; rank < blcodes; ++rank) { - t2 = _this.__Deflate__bitLengthTree; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); - if (rank >= 19) - return H.ioore(C.List_uSC, rank); - t3 = C.List_uSC[rank] * 2 + 1; - if (t3 >= t2.length) - return H.ioore(t2, t3); - _this._sendBits$2(t2[t3], 3); - } - _this._sendTree$2(_this.get$_dynamicLengthTree(), lcodes - 1); - _this._sendTree$2(_this.get$_dynamicDistTree(), t1); + addAll$1(_, iterable) { + this.$ti._eval$1("Iterable<1>")._as(iterable); + this.callMethod$2("push", iterable instanceof Array ? iterable : A.List_List$from(iterable, true, type$.dynamic)); }, - _sendTree$2: function(tree, maxCode) { - var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, t4, t5, t6, t7, _this = this, - _s14_ = "_bitLengthTree", - t1 = tree.length; - if (1 >= t1) - return H.ioore(tree, 1); - nextLen = tree[1]; - if (nextLen === 0) { - maxCount = 138; - minCount = 3; - } else { - maxCount = 7; - minCount = 4; - } - for (t2 = type$.List_int, n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { - ++n; - t3 = n * 2 + 1; - if (t3 >= t1) - return H.ioore(tree, t3); - nextLen0 = tree[t3]; - ++count; - if (count < maxCount && nextLen === nextLen0) - continue; - else if (count < minCount) { - t3 = nextLen * 2; - t4 = t3 + 1; - do { - t5 = _this.__Deflate__bitLengthTree; - t5 = t2._as(t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t5); - t6 = t5.length; - if (t3 >= t6) - return H.ioore(t5, t3); - t7 = t5[t3]; - if (t4 >= t6) - return H.ioore(t5, t4); - _this._sendBits$2(t7 & 65535, t5[t4] & 65535); - } while (--count, count !== 0); - } else if (nextLen !== 0) { - if (nextLen !== prevLen) { - t3 = _this.__Deflate__bitLengthTree; - t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); - t4 = nextLen * 2; - t5 = t3.length; - if (t4 >= t5) - return H.ioore(t3, t4); - t6 = t3[t4]; - ++t4; - if (t4 >= t5) - return H.ioore(t3, t4); - _this._sendBits$2(t6 & 65535, t3[t4] & 65535); - --count; - } - t3 = _this.__Deflate__bitLengthTree; - t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); - t4 = t3.length; - if (32 >= t4) - return H.ioore(t3, 32); - t5 = t3[32]; - if (33 >= t4) - return H.ioore(t3, 33); - _this._sendBits$2(t5 & 65535, t3[33] & 65535); - _this._sendBits$2(count - 3, 2); - } else { - t3 = _this.__Deflate__bitLengthTree; - if (count <= 10) { - t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); - t4 = t3.length; - if (34 >= t4) - return H.ioore(t3, 34); - t5 = t3[34]; - if (35 >= t4) - return H.ioore(t3, 35); - _this._sendBits$2(t5 & 65535, t3[35] & 65535); - _this._sendBits$2(count - 3, 3); - } else { - t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); - t4 = t3.length; - if (36 >= t4) - return H.ioore(t3, 36); - t5 = t3[36]; - if (37 >= t4) - return H.ioore(t3, 37); - _this._sendBits$2(t5 & 65535, t3[37] & 65535); - _this._sendBits$2(count - 11, 7); - } - } - if (nextLen0 === 0) { - maxCount = 138; - minCount = 3; - } else if (nextLen === nextLen0) { - maxCount = 6; - minCount = 3; - } else { - maxCount = 7; - minCount = 4; - } - prevLen = nextLen; - count = 0; - } + insert$2(_, index, element) { + var t1, _this = this; + _this.$ti._precomputed1._as(element); + t1 = index < 0 || index >= _this.get$length(_this) + 1; + if (t1) + A.throwExpression(A.RangeError$range(index, 0, _this.get$length(_this), null, null)); + _this.callMethod$2("splice", [index, 0, element]); }, - _putBytes$3: function(p, start, len) { - var t1, t2, t3, _this = this; - if (len === 0) + removeAt$1(_, index) { + this._checkIndex$1(index); + return this.$ti._precomputed1._as(J.$index$asx(this.callMethod$2("splice", [index, 1]), 0)); + }, + removeLast$0(_) { + var _this = this; + if (_this.get$length(_this) === 0) + throw A.wrapException(A.RangeError$(-1)); + return _this.$ti._precomputed1._as(_this.callMethod$1("pop")); + }, + setRange$4(_, start, end, iterable, skipCount) { + var $length, args, _this = this; + A._asIntS(end); + _this.$ti._eval$1("Iterable<1>")._as(iterable); + A.JsArray__checkRange(start, end, _this.get$length(_this)); + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length === 0) return; - t1 = _this.get$_pendingBuffer(); - t2 = _this.get$_deflate$_pending(); - t3 = _this.get$_deflate$_pending(); - if (typeof t3 !== "number") - return t3.$add(); - J.setRange$4$ax(t1, t2, t3 + len, p, start); - t3 = _this.get$_deflate$_pending(); - if (typeof t3 !== "number") - return t3.$add(); - _this.__Deflate__pending = t3 + len; + if (skipCount < 0) + throw A.wrapException(A.ArgumentError$(skipCount, null)); + args = [start, $length]; + B.JSArray_methods.addAll$1(args, J.skip$1$ax(iterable, skipCount).take$1(0, $length)); + _this.callMethod$2("splice", args); }, - _putByte$1: function(c) { - var t1 = this.get$_pendingBuffer(), - t2 = this.get$_deflate$_pending(); - if (typeof t2 !== "number") - return t2.$add(); - this.__Deflate__pending = t2 + 1; - J.$indexSet$ax(t1, t2, c); + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - _sendCode$2: function(c, tree) { - var t1, t2, t3; - type$.List_int._as(tree); - t1 = c * 2; - t2 = tree.length; - if (t1 >= t2) - return H.ioore(tree, t1); - t3 = tree[t1]; - if (typeof t3 !== "number") - return t3.$and(); - ++t1; - if (t1 >= t2) - return H.ioore(tree, t1); - t1 = tree[t1]; - if (typeof t1 !== "number") - return t1.$and(); - this._sendBits$2(t3 & 65535, t1 & 65535); + sort$1(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + this.callMethod$2("sort", compare == null ? [] : [compare]); }, - _sendBits$2: function(valueRenamed, $length) { - var t2, _this = this, - t1 = _this.get$_numValidBits(); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 16 - $length) { - t1 = _this.get$_bitBuffer(); - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = C.JSInt_methods.$shl(valueRenamed, t2); - if (typeof t1 !== "number") - return t1.$or(); - _this.__Deflate__bitBuffer = (t1 | t2 & 65535) >>> 0; - t2 = _this.get$_bitBuffer(); - _this._putByte$1(t2); - _this._putByte$1(T._rshift(t2, 8)); - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return H.iae(t2); - _this.__Deflate__bitBuffer = T._rshift(valueRenamed, 16 - t2); - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__numValidBits = t2 + ($length - 16); - } else { - t1 = _this.get$_bitBuffer(); - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = C.JSInt_methods.$shl(valueRenamed, t2); - if (typeof t1 !== "number") - return t1.$or(); - _this.__Deflate__bitBuffer = (t1 | t2 & 65535) >>> 0; - t2 = _this.get$_numValidBits(); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__numValidBits = t2 + $length; - } + sort$0($receiver) { + return this.sort$1($receiver, null); }, - _trTally$2: function(dist, lc) { - var outLength, dcode, t4, _this = this, - t1 = _this.get$_pendingBuffer(), - t2 = _this.get$_dbuf(), - t3 = _this.get$_lastLit(); - if (typeof t3 !== "number") - return t3.$mul(); - if (typeof t2 !== "number") - return t2.$add(); - J.$indexSet$ax(t1, t2 + t3 * 2, T._rshift(dist, 8)); - t3 = _this.get$_pendingBuffer(); - t2 = _this.get$_dbuf(); - t1 = _this.get$_lastLit(); - if (typeof t1 !== "number") - return t1.$mul(); + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A._JsArray_JsObject_ListMixin.prototype = { + $indexSet(_, property, value) { + return this.super$JsObject$$indexSet(0, property, value); + } + }; + A.promiseToFuture_closure.prototype = { + call$1(r) { + return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); + }, + $signature: 30 + }; + A.promiseToFuture_closure0.prototype = { + call$1(e) { + if (e == null) + return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); + return this.completer.completeError$1(e); + }, + $signature: 30 + }; + A.NullRejectionException.prototype = { + toString$0(_) { + return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; + }, + $isException: 1 + }; + A._JSSecureRandom.prototype = { + _JSSecureRandom$0() { + var $crypto = self.crypto; + if ($crypto != null) + if ($crypto.getRandomValues != null) + return; + throw A.wrapException(A.UnsupportedError$("No source of cryptographically secure random numbers available.")); + }, + $isRandom: 1 + }; + A.Point.prototype = { + toString$0(_) { + return "Point(" + A.S(this.x) + ", " + A.S(this.y) + ")"; + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Point && this.x == other.x && this.y == other.y; + }, + get$hashCode(_) { + return A.SystemHash_hash2(J.get$hashCode$(this.x), J.get$hashCode$(this.y), 0); + }, + $add(_, other) { + var t2, t3, t4, t5, + t1 = this.$ti; + t1._as(other); + t2 = this.x; + t3 = other.x; if (typeof t2 !== "number") return t2.$add(); - J.$indexSet$ax(t3, t2 + t1 * 2 + 1, dist); - t1 = _this.get$_pendingBuffer(); - t2 = _this.get$_lbuf(); - t3 = _this.get$_lastLit(); + if (typeof t3 !== "number") + return A.iae(t3); + t4 = t1._precomputed1; + t3 = t4._as(t2 + t3); + t2 = this.y; + t5 = other.y; if (typeof t2 !== "number") return t2.$add(); + if (typeof t5 !== "number") + return A.iae(t5); + return new A.Point(t3, t4._as(t2 + t5), t1); + }, + $sub(_, other) { + var t2, t3, t4, t5, + t1 = this.$ti; + t1._as(other); + t2 = this.x; + t3 = other.x; + if (typeof t2 !== "number") + return t2.$sub(); if (typeof t3 !== "number") - return H.iae(t3); - J.$indexSet$ax(t1, t2 + t3, lc); - t3 = _this.get$_lastLit(); - if (typeof t3 !== "number") - return t3.$add(); - _this.__Deflate__lastLit = t3 + 1; - if (dist === 0) { - t1 = _this.get$_dynamicLengthTree(); - t2 = lc * 2; - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = t1[t2] + 1; - } else { - t1 = _this.get$_matches(); - if (typeof t1 !== "number") - return t1.$add(); - _this.__Deflate__matches = t1 + 1; - t1 = _this.get$_dynamicLengthTree(); - if (lc < 0 || lc >= 256) - return H.ioore(C.List_NUU, lc); - t2 = (C.List_NUU[lc] + 256 + 1) * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - t1[t2] = t1[t2] + 1; - t2 = _this.get$_dynamicDistTree(); - t1 = T._HuffmanTree__dCode(dist - 1) * 2; - if (t1 >= t2.length) - return H.ioore(t2, t1); - t2[t1] = t2[t1] + 1; - } - t1 = _this.get$_lastLit(); - if (typeof t1 !== "number") - return t1.$and(); - if ((t1 & 8191) === 0) { - t1 = _this.get$_deflate$_level(); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 2; - } else - t1 = false; - if (t1) { - t1 = _this.get$_lastLit(); - if (typeof t1 !== "number") - return t1.$mul(); - outLength = t1 * 8; - t1 = _this.get$_strStart(); - t2 = _this.get$_blockStart(); - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - for (dcode = 0; dcode < 30; ++dcode) { - t3 = _this.__Deflate__dynamicDistTree; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")); - t4 = dcode * 2; - if (t4 >= t3.length) - return H.ioore(t3, t4); - outLength += t3[t4] * (5 + C.List_X3d[dcode]); - } - outLength = T._rshift(outLength, 3); - t3 = _this.get$_matches(); - t4 = _this.get$_lastLit(); - if (typeof t4 !== "number") - return t4.$div(); - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < t4 / 2 && outLength < (t1 - t2) / 2) - return true; - } - t1 = _this.get$_lastLit(); - t2 = _this.get$_litBufferSize(); + return A.iae(t3); + t4 = t1._precomputed1; + t3 = t4._as(t2 - t3); + t2 = this.y; + t5 = other.y; if (typeof t2 !== "number") return t2.$sub(); - return t1 === t2 - 1; - }, - _compressBlock$2: function(ltree, dtree) { - var lx, code, extra, t2, t3, t4, dist, lc, _this = this, - t1 = type$.List_int; - t1._as(ltree); - t1._as(dtree); - if (_this.get$_lastLit() !== 0) { - lx = 0; - code = null; - extra = null; - do { - t1 = _this.get$_pendingBuffer(); - t2 = _this.get$_dbuf(); - t3 = lx * 2; - if (typeof t2 !== "number") - return t2.$add(); - t2 = J.$index$asx(t1, t2 + t3); - t1 = _this.get$_pendingBuffer(); - t4 = _this.get$_dbuf(); - if (typeof t4 !== "number") - return t4.$add(); - dist = t2 << 8 & 65280 | J.$index$asx(t1, t4 + t3 + 1) & 255; - t3 = _this.get$_pendingBuffer(); - t4 = _this.get$_lbuf(); - if (typeof t4 !== "number") - return t4.$add(); - lc = J.$index$asx(t3, t4 + lx) & 255; - ++lx; - if (dist === 0) - _this._sendCode$2(lc, ltree); - else { - code = C.List_NUU[lc]; - _this._sendCode$2(code + 256 + 1, ltree); - if (code >= 29) - return H.ioore(C.List_qQn, code); - extra = C.List_qQn[code]; - if (extra !== 0) - _this._sendBits$2(lc - C.List_qQn0[code], extra); - --dist; - code = T._HuffmanTree__dCode(dist); - _this._sendCode$2(code, dtree); - if (code >= 30) - return H.ioore(C.List_X3d, code); - extra = C.List_X3d[code]; - if (extra !== 0) - _this._sendBits$2(dist - C.List_X3d0[code], extra); - } - t1 = _this.get$_lastLit(); - if (typeof t1 !== "number") - return H.iae(t1); - } while (lx < t1); - } - _this._sendCode$2(256, ltree); - if (513 >= ltree.length) - return H.ioore(ltree, 513); - _this.__Deflate__lastEOBLen = H._asIntS(ltree[513]); - }, - setDataType$0: function() { - var n, binFreq, t1, t2, asciiFreq, _this = this, - _s18_ = "_dynamicLengthTree"; - for (n = 0, binFreq = 0; n < 7;) { - t1 = _this.__Deflate__dynamicLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); - t2 = n * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - binFreq += t1[t2]; - ++n; - } - for (asciiFreq = 0; n < 128;) { - t1 = _this.__Deflate__dynamicLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); - t2 = n * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - asciiFreq += t1[t2]; - ++n; - } - for (; n < 256;) { - t1 = _this.__Deflate__dynamicLengthTree; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); - t2 = n * 2; - if (t2 >= t1.length) - return H.ioore(t1, t2); - binFreq += t1[t2]; - ++n; - } - _this._dataType = binFreq > T._rshift(asciiFreq, 2) ? 0 : 1; - }, - biFlush$0: function() { - var t1, _this = this; - if (_this.get$_numValidBits() === 16) { - t1 = _this.get$_bitBuffer(); - _this._putByte$1(t1); - _this._putByte$1(T._rshift(t1, 8)); - _this.__Deflate__numValidBits = _this.__Deflate__bitBuffer = 0; - } else { - t1 = _this.get$_numValidBits(); - if (typeof t1 !== "number") - return t1.$ge(); - if (t1 >= 8) { - _this._putByte$1(_this.get$_bitBuffer()); - _this.__Deflate__bitBuffer = T._rshift(_this.get$_bitBuffer(), 8); - t1 = _this.get$_numValidBits(); - if (typeof t1 !== "number") - return t1.$sub(); - _this.__Deflate__numValidBits = t1 - 8; - } - } + if (typeof t5 !== "number") + return A.iae(t5); + return new A.Point(t3, t4._as(t2 - t5), t1); }, - _biWindup$0: function() { - var _this = this, - t1 = _this.get$_numValidBits(); + $mul(_, factor) { + var t2, t3, t4, + t1 = this.x; if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 8) { - t1 = _this.get$_bitBuffer(); - _this._putByte$1(t1); - _this._putByte$1(T._rshift(t1, 8)); - } else { - t1 = _this.get$_numValidBits(); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 0) - _this._putByte$1(_this.get$_bitBuffer()); - } - _this.__Deflate__numValidBits = _this.__Deflate__bitBuffer = 0; + return t1.$mul(); + t2 = this.$ti; + t3 = t2._precomputed1; + t1 = t3._as(t1 * factor); + t4 = this.y; + if (typeof t4 !== "number") + return t4.$mul(); + return new A.Point(t1, t3._as(t4 * factor), t2); }, - _flushBlockOnly$1: function(eof) { - var t2, t3, maxBlIndex, optLenb, staticLenb, _this = this, - t1 = _this.get$_blockStart(); + get$magnitude() { + var t2, + t1 = this.x; if (typeof t1 !== "number") - return t1.$ge(); - t1 = t1 >= 0 ? _this.get$_blockStart() : -1; - t2 = _this.get$_strStart(); - t3 = _this.get$_blockStart(); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = t2 - t3; - t2 = _this.get$_deflate$_level(); + return t1.$mul(); + t2 = this.y; if (typeof t2 !== "number") - return t2.$gt(); - if (t2 > 0) { - if (_this._dataType === 2) - _this.setDataType$0(); - _this._lDesc._buildTree$1(_this); - _this._dDesc._buildTree$1(_this); - maxBlIndex = _this._buildBitLengthTree$0(); - t2 = _this.get$_optimalLen(); - if (typeof t2 !== "number") - return t2.$add(); - optLenb = T._rshift(t2 + 3 + 7, 3); - t2 = _this.get$_staticLen(); - if (typeof t2 !== "number") - return t2.$add(); - staticLenb = T._rshift(t2 + 3 + 7, 3); - if (staticLenb <= optLenb) - optLenb = staticLenb; - } else { - staticLenb = t3 + 5; - optLenb = staticLenb; - maxBlIndex = 0; - } - if (t3 + 4 <= optLenb && t1 !== -1) - _this._trStoredBlock$3(t1, t3, eof); - else if (staticLenb === optLenb) { - _this._sendBits$2(2 + (eof ? 1 : 0), 3); - _this._compressBlock$2(C.List_Xg4, C.List_iYO); - } else { - _this._sendBits$2(4 + (eof ? 1 : 0), 3); - t1 = _this._lDesc.get$maxCode(); - if (typeof t1 !== "number") - return t1.$add(); - t2 = _this._dDesc.get$maxCode(); - if (typeof t2 !== "number") - return t2.$add(); - _this._sendAllTrees$3(t1 + 1, t2 + 1, maxBlIndex + 1); - _this._compressBlock$2(_this.get$_dynamicLengthTree(), _this.get$_dynamicDistTree()); - } - _this._initBlock$0(); - if (eof) - _this._biWindup$0(); - _this.__Deflate__blockStart = _this.get$_strStart(); - _this._flushPending$0(); - }, - _deflateStored$1: function(flush) { - var maxBlockSize, t2, t3, maxStart, t4, _this = this, - _s10_ = "_lookAhead", - _s9_ = "_strStart", - _s11_ = "_blockStart", - t1 = _this.get$_pendingBufferSize(); + return t2.$mul(); + return Math.sqrt(t1 * t1 + t2 * t2); + } + }; + A._RectangleBase.prototype = { + get$right(_) { + var t1 = this.left; if (typeof t1 !== "number") - return t1.$sub(); - if (65535 > t1 - 5) { - t1 = _this.get$_pendingBufferSize(); - if (typeof t1 !== "number") - return t1.$sub(); - maxBlockSize = t1 - 5; - } else - maxBlockSize = 65535; - for (t1 = flush === 0; true;) { - t2 = _this.__Deflate__lookAhead; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; - if (typeof t3 !== "number") - return t3.$le(); - if (t3 <= 1) { - _this._fillWindow$0(); - t2 = _this.__Deflate__lookAhead; - if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2) === 0 && t1) - return 0; - if (t2 === 0) - break; - } - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = _this.__Deflate__strStart = t3 + t2; - _this.__Deflate__lookAhead = 0; - t3 = _this.__Deflate__blockStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (typeof t3 !== "number") - return t3.$add(); - maxStart = t3 + maxBlockSize; - if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) >= maxStart) { - _this.__Deflate__lookAhead = t2 - maxStart; - _this.__Deflate__strStart = maxStart; - _this._flushBlockOnly$1(false); - } - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t3 = _this.__Deflate__blockStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - t4 = _this.__Deflate__windowSize; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI("_windowSize")); - if (typeof t4 !== "number") - return t4.$sub(); - if (t2 - t3 >= t4 - 262) - _this._flushBlockOnly$1(false); - } - t1 = flush === 4; - _this._flushBlockOnly$1(t1); - return t1 ? 3 : 1; + return t1.$add(); + return this.$ti._precomputed1._as(t1 + this.width); }, - _trStoredBlock$3: function(buf, storedLen, eof) { - var t1, _this = this; - _this._sendBits$2(eof ? 1 : 0, 3); - _this._biWindup$0(); - _this.__Deflate__lastEOBLen = 8; - _this._putByte$1(storedLen); - _this._putByte$1(T._rshift(storedLen, 8)); - t1 = (~storedLen >>> 0) + 65536 & 65535; - _this._putByte$1(t1); - _this._putByte$1(T._rshift(t1, 8)); - _this._putBytes$3(_this.get$_deflate$_window(), buf, storedLen); + get$bottom(_) { + var t1 = this.top; + if (typeof t1 !== "number") + return t1.$add(); + return this.$ti._precomputed1._as(t1 + this.height); }, - _fillWindow$0: function() { - var t2, t3, t4, more, n, p, m, _this = this, - t1 = _this._deflate$_input; - do { - t2 = _this.__Deflate__actualWindowSize; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_actualWindowSize")); - t3 = _this.get$_lookAhead(); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - t4 = _this.get$_strStart(); - if (typeof t4 !== "number") - return H.iae(t4); - more = t2 - t3 - t4; - if (more === 0 && _this.get$_strStart() === 0 && _this.get$_lookAhead() === 0) - more = _this.get$_windowSize(); - else { - t2 = _this.get$_strStart(); - t3 = _this.get$_windowSize(); - t4 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t4 !== "number") - return H.iae(t4); - if (typeof t2 !== "number") - return t2.$ge(); - if (t2 >= t3 + t4 - 262) { - J.setRange$4$ax(_this.get$_deflate$_window(), 0, _this.get$_windowSize(), _this.get$_deflate$_window(), _this.get$_windowSize()); - t2 = _this._matchStart; - t3 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return H.iae(t3); - _this._matchStart = t2 - t3; - t3 = _this.get$_strStart(); - t2 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - _this.__Deflate__strStart = t3 - t2; - t2 = _this.get$_blockStart(); - t3 = _this.get$_windowSize(); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t3 !== "number") - return H.iae(t3); - _this.__Deflate__blockStart = t2 - t3; - n = _this.get$_hashSize(); - p = n; - do { - t2 = _this.get$_deflate$_head(_this); - if (typeof p !== "number") - return p.$sub(); - --p; - if (p < 0 || p >= t2.length) - return H.ioore(t2, p); - m = t2[p] & 65535; - t2 = _this.get$_deflate$_head(_this); - t3 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return H.iae(t3); - if (m >= t3) { - t3 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = m - t3; - } else - t3 = 0; - if (p >= t2.length) - return H.ioore(t2, p); - t2[p] = t3; - if (typeof n !== "number") - return n.$sub(); - --n; - } while (n !== 0); - n = _this.get$_windowSize(); - p = n; - do { - t2 = _this.get$_prev(); - if (typeof p !== "number") - return p.$sub(); - --p; - if (p < 0 || p >= t2.length) - return H.ioore(t2, p); - m = t2[p] & 65535; - t2 = _this.get$_prev(); - t3 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return H.iae(t3); - if (m >= t3) { - t3 = _this.get$_windowSize(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = m - t3; - } else - t3 = 0; - if (p >= t2.length) - return H.ioore(t2, p); - t2[p] = t3; - if (typeof n !== "number") - return n.$sub(); - --n; - } while (n !== 0); - t2 = _this.get$_windowSize(); - if (typeof t2 !== "number") - return H.iae(t2); - more += t2; - } - } - if (t1.get$isEOS()) - return; - t2 = _this.get$_deflate$_window(); - t3 = _this.get$_strStart(); - t4 = _this.get$_lookAhead(); - if (typeof t3 !== "number") - return t3.$add(); - if (typeof t4 !== "number") - return H.iae(t4); - n = _this._readBuf$3(t2, t3 + t4, more); - t4 = _this.get$_lookAhead(); - if (typeof t4 !== "number") - return t4.$add(); - _this.__Deflate__lookAhead = t4 + n; - t2 = _this.get$_lookAhead(); - if (typeof t2 !== "number") - return t2.$ge(); - if (t2 >= 3) { - _this.__Deflate__insertHash = J.$index$asx(_this.get$_deflate$_window(), _this.get$_strStart()) & 255; - t2 = _this.get$_insertHash(); - t3 = _this.get$_hashShift(); - if (typeof t2 !== "number") - return t2.$shl(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = C.JSInt_methods.$shl(t2, t3); - t2 = _this.get$_deflate$_window(); - t4 = _this.get$_strStart(); - if (typeof t4 !== "number") - return t4.$add(); - t4 = J.$index$asx(t2, t4 + 1); - t2 = _this.get$_hashMask(); - if (typeof t2 !== "number") - return H.iae(t2); - _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; - } - t2 = _this.get$_lookAhead(); - if (typeof t2 !== "number") - return t2.$lt(); - } while (t2 < 262 && !t1.get$isEOS()); + toString$0(_) { + var _this = this; + return "Rectangle (" + A.S(_this.left) + ", " + A.S(_this.top) + ") " + A.S(_this.width) + " x " + A.S(_this.height); }, - _deflateFast$1: function(flush) { - var t1, hashHead, t2, t3, t4, t5, bflush, _this = this, - _s10_ = "_lookAhead", - _s11_ = "_insertHash", - _s10_0 = "_hashShift", - _s7_ = "_window", - _s9_ = "_strStart", - _s9_0 = "_hashMask", - _s5_ = "_head", - _s11_0 = "_windowMask", - _s12_ = "_matchLength"; - for (t1 = flush === 0, hashHead = 0; true;) { - t2 = _this.__Deflate__lookAhead; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < 262) { - _this._fillWindow$0(); - t2 = _this.__Deflate__lookAhead; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < 262 && t1) - return 0; - if (t2 === 0) - break; - } - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t2 !== "number") - return t2.$ge(); - if (t2 >= 3) { - t2 = _this.__Deflate__insertHash; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t3 = _this.__Deflate__hashShift; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); - if (typeof t2 !== "number") - return t2.$shl(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = C.JSInt_methods.$shl(t2, t3); - t2 = _this.__Deflate__window; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t4 !== "number") - return t4.$add(); - t4 = J.$index$asx(t2, t4 + 2); - t2 = _this.__Deflate__hashMask; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; - t4 = _this.__Deflate__head; - t3 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t4; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (t2 < 0 || t2 >= t3.length) - return H.ioore(t3, t2); - hashHead = t3[t2] & 65535; - t2 = _this.__Deflate__prev; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_prev")); - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this.__Deflate__windowMask; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); - if (typeof t3 !== "number") - return t3.$and(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = (t3 & t4) >>> 0; - t3 = _this.__Deflate__head; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t5 = _this.__Deflate__insertHash; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); - if (t4 < 0 || t4 >= t2.length) - return H.ioore(t2, t4); - t2[t4] = t5; - t5 = _this.__Deflate__head; - t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); - } - if (hashHead !== 0) { - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$sub(); - t3 = _this.__Deflate__windowSize; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_windowSize")); - if (typeof t3 !== "number") - return t3.$sub(); - t3 = (t2 - hashHead & 65535) <= t3 - 262; - t2 = t3; - } else - t2 = false; - if (t2) { - t2 = _this.__Deflate__strategy; - if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_strategy")) : t2) !== 2) - _this.__Deflate__matchLength = _this._longestMatch$1(hashHead); - } - t2 = _this.__Deflate__matchLength; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; - if (typeof t3 !== "number") - return t3.$ge(); - if (t3 >= 3) { - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this._matchStart; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t2 !== "number") - return t2.$sub(); - bflush = _this._trTally$2(t3 - t4, t2 - 3); - t2 = _this.__Deflate__lookAhead; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - t3 = _this.__Deflate__matchLength; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = _this.__Deflate__lookAhead = t2 - t4; - t2 = $.Deflate____config; - t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t2).maxLazy; - if (typeof t3 !== "number") - return t3.$le(); - if (t3 <= t2) - t2 = (t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t4) >= 3; - else - t2 = false; - if (t2) { - if (typeof t3 !== "number") - return t3.$sub(); - _this.__Deflate__matchLength = t3 - 1; - do { - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - t2 = _this.__Deflate__strStart = t2 + 1; - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__hashShift; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s10_0)); - if (typeof t3 !== "number") - return t3.$shl(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = C.JSInt_methods.$shl(t3, t4); - t3 = _this.__Deflate__window; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t2 = J.$index$asx(t3, (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) + 2); - t3 = _this.__Deflate__hashMask; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_0)); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = _this.__Deflate__insertHash = ((t4 ^ t2 & 255) & t3) >>> 0; - t2 = _this.__Deflate__head; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (t3 < 0 || t3 >= t2.length) - return H.ioore(t2, t3); - hashHead = t2[t3] & 65535; - t3 = _this.__Deflate__prev; - t2 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t3; - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this.__Deflate__windowMask; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); + $eq(_, other) { + var t1, t2, t3, t4, _this = this; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = _this.left; + t2 = J.getInterceptor$x(other); + if (t1 == t2.get$left(other)) { + t3 = _this.top; + if (t3 == t2.get$top(other)) { + if (typeof t1 !== "number") + return t1.$add(); + t4 = _this.$ti._precomputed1; + if (t4._as(t1 + _this.width) === t2.get$right(other)) { if (typeof t3 !== "number") - return t3.$and(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = (t3 & t4) >>> 0; - t3 = _this.__Deflate__head; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t5 = _this.__Deflate__insertHash; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); - if (t4 < 0 || t4 >= t2.length) - return H.ioore(t2, t4); - t2[t4] = t5; - t5 = _this.__Deflate__head; - t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); - t2 = _this.__Deflate__matchLength; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); - if (typeof t2 !== "number") - return t2.$sub(); - --t2; - _this.__Deflate__matchLength = t2; - } while (t2 !== 0); - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__strStart = t2 + 1; - } else { - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - if (typeof t3 !== "number") - return H.iae(t3); - t2 = _this.__Deflate__strStart = t2 + t3; - _this.__Deflate__matchLength = 0; - t3 = _this.__Deflate__window; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t2 = _this.__Deflate__insertHash = J.$index$asx(t3, t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) & 255; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t3 = _this.__Deflate__hashShift; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = C.JSInt_methods.$shl(t2, t3); - t2 = _this.__Deflate__window; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t4 !== "number") - return t4.$add(); - t4 = J.$index$asx(t2, t4 + 1); - t2 = _this.__Deflate__hashMask; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); - if (typeof t2 !== "number") - return H.iae(t2); - _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; - } - } else { - t2 = _this.__Deflate__window; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t3 = _this.__Deflate__strStart; - bflush = _this._trTally$2(0, J.$index$asx(t2, t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3) & 255); - t2 = _this.__Deflate__lookAhead; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t2 !== "number") - return t2.$sub(); - _this.__Deflate__lookAhead = t2 - 1; - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__strStart = t2 + 1; - } - if (bflush) - _this._flushBlockOnly$1(false); - } - t1 = flush === 4; - _this._flushBlockOnly$1(t1); - return t1 ? 3 : 1; - }, - _deflateSlow$1: function(flush) { - var t1, hashHead, bflush, t2, t3, t4, t5, maxInsert, _this = this, - _s10_ = "_lookAhead", - _s11_ = "_insertHash", - _s10_0 = "_hashShift", - _s7_ = "_window", - _s9_ = "_strStart", - _s9_0 = "_hashMask", - _s5_ = "_head", - _s11_0 = "_windowMask", - _s12_ = "_matchLength", - _s11_1 = "_prevLength", - _s9_1 = "_strategy"; - for (t1 = flush === 0, hashHead = 0, bflush = null; true;) { - t2 = _this.__Deflate__lookAhead; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < 262) { - _this._fillWindow$0(); - t2 = _this.__Deflate__lookAhead; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; - if (typeof t3 !== "number") - return t3.$lt(); - if (t3 < 262 && t1) - return 0; - if (t2 === 0) - break; - } - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t2 !== "number") - return t2.$ge(); - if (t2 >= 3) { - t2 = _this.__Deflate__insertHash; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t3 = _this.__Deflate__hashShift; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); - if (typeof t2 !== "number") - return t2.$shl(); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = C.JSInt_methods.$shl(t2, t3); - t2 = _this.__Deflate__window; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t4 !== "number") - return t4.$add(); - t4 = J.$index$asx(t2, t4 + 2); - t2 = _this.__Deflate__hashMask; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; - t4 = _this.__Deflate__head; - t3 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t4; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (t2 < 0 || t2 >= t3.length) - return H.ioore(t3, t2); - hashHead = t3[t2] & 65535; - t2 = _this.__Deflate__prev; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_prev")); - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this.__Deflate__windowMask; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); - if (typeof t3 !== "number") - return t3.$and(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = (t3 & t4) >>> 0; - t3 = _this.__Deflate__head; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t5 = _this.__Deflate__insertHash; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); - if (t4 < 0 || t4 >= t2.length) - return H.ioore(t2, t4); - t2[t4] = t5; - t5 = _this.__Deflate__head; - t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); - } - t2 = _this.__Deflate__matchLength; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); - _this.__Deflate__prevLength = t2; - _this.__Deflate__prevMatch = _this._matchStart; - _this.__Deflate__matchLength = 2; - if (hashHead !== 0) { - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_1)); - t3 = $.Deflate____config; - t3 = (t3 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t3).maxLazy; - if (typeof t2 !== "number") - return t2.$lt(); - if (t2 < t3) { - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$sub(); - t3 = _this.__Deflate__windowSize; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_windowSize")); - if (typeof t3 !== "number") - return t3.$sub(); - t3 = (t2 - hashHead & 65535) <= t3 - 262; - t2 = t3; - } else - t2 = false; - } else - t2 = false; - if (t2) { - t2 = _this.__Deflate__strategy; - if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_1)) : t2) !== 2) { - t2 = _this._longestMatch$1(hashHead); - _this.__Deflate__matchLength = t2; - } else - t2 = 2; - t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; - if (typeof t3 !== "number") - return t3.$le(); - if (t3 <= 5) { - t3 = _this.__Deflate__strategy; - if ((t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_1)) : t3) !== 1) - if (t2 === 3) { - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this._matchStart; - if (typeof t3 !== "number") - return t3.$sub(); - t4 = t3 - t4 > 4096; - t3 = t4; - } else - t3 = false; - else - t3 = true; + return t3.$add(); + t1 = t4._as(t3 + _this.height) === t2.get$bottom(other); + } else + t1 = false; } else - t3 = false; - if (t3) { - _this.__Deflate__matchLength = 2; - t2 = 2; - } - } else - t2 = 2; - t3 = _this.__Deflate__prevLength; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_1)) : t3; - if (typeof t4 !== "number") - return t4.$ge(); - if (t4 >= 3) { - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); - if (typeof t2 !== "number") - return t2.$le(); - if (typeof t3 !== "number") - return H.iae(t3); - t2 = t2 <= t3; + t1 = false; } else - t2 = false; - if (t2) { - t2 = _this.__Deflate__strStart; - t4 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2; - t5 = _this.__Deflate__lookAhead; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t4 !== "number") - return t4.$add(); - if (typeof t5 !== "number") - return H.iae(t5); - maxInsert = t4 + t5 - 3; - if (typeof t2 !== "number") - return t2.$sub(); - t4 = _this.__Deflate__prevMatch; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI("_prevMatch")); - if (typeof t4 !== "number") - return H.iae(t4); - if (typeof t3 !== "number") - return t3.$sub(); - bflush = _this._trTally$2(t2 - 1 - t4, t3 - 3); - t2 = _this.__Deflate__lookAhead; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - t3 = _this.__Deflate__prevLength; - t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_1)) : t3; - if (typeof t4 !== "number") - return t4.$sub(); - if (typeof t2 !== "number") - return t2.$sub(); - _this.__Deflate__lookAhead = t2 - (t4 - 1); - if (typeof t3 !== "number") - return t3.$sub(); - _this.__Deflate__prevLength = t3 - 2; - do { - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - t2 = _this.__Deflate__strStart = t2 + 1; - if (t2 <= maxInsert) { - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__hashShift; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s10_0)); - if (typeof t3 !== "number") - return t3.$shl(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = C.JSInt_methods.$shl(t3, t4); - t3 = _this.__Deflate__window; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t2 = J.$index$asx(t3, (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) + 2); - t3 = _this.__Deflate__hashMask; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_0)); - if (typeof t3 !== "number") - return H.iae(t3); - t3 = _this.__Deflate__insertHash = ((t4 ^ t2 & 255) & t3) >>> 0; - t2 = _this.__Deflate__head; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (t3 < 0 || t3 >= t2.length) - return H.ioore(t2, t3); - hashHead = t2[t3] & 65535; - t3 = _this.__Deflate__prev; - t2 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t3; - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - t4 = _this.__Deflate__windowMask; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); - if (typeof t3 !== "number") - return t3.$and(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = (t3 & t4) >>> 0; - t3 = _this.__Deflate__head; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); - t5 = _this.__Deflate__insertHash; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); - if (t4 < 0 || t4 >= t2.length) - return H.ioore(t2, t4); - t2[t4] = t5; - t5 = _this.__Deflate__head; - t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; - t3 = _this.__Deflate__insertHash; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); - t4 = _this.__Deflate__strStart; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); - (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); - } - t2 = _this.__Deflate__prevLength; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s11_1)); - if (typeof t2 !== "number") - return t2.$sub(); - --t2; - _this.__Deflate__prevLength = t2; - } while (t2 !== 0); - _this.__Deflate__matchAvailable = 0; - _this.__Deflate__matchLength = 2; - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__strStart = t2 + 1; - if (bflush) - _this._flushBlockOnly$1(false); - } else { - t2 = _this.__Deflate__matchAvailable; - if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_matchAvailable")) : t2) !== 0) { - t2 = _this.__Deflate__window; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); - t3 = _this.__Deflate__strStart; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t3 !== "number") - return t3.$sub(); - bflush = _this._trTally$2(0, J.$index$asx(t2, t3 - 1) & 255); - if (bflush) - _this._flushBlockOnly$1(false); - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__strStart = t2 + 1; - t2 = _this.__Deflate__lookAhead; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t2 !== "number") - return t2.$sub(); - _this.__Deflate__lookAhead = t2 - 1; - } else { - _this.__Deflate__matchAvailable = 1; - t2 = _this.__Deflate__strStart; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); - if (typeof t2 !== "number") - return t2.$add(); - _this.__Deflate__strStart = t2 + 1; - t2 = _this.__Deflate__lookAhead; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); - if (typeof t2 !== "number") - return t2.$sub(); - _this.__Deflate__lookAhead = t2 - 1; - } - } - } - if (_this.get$_matchAvailable() !== 0) { - t1 = _this.get$_deflate$_window(); - t2 = _this.get$_strStart(); - if (typeof t2 !== "number") - return t2.$sub(); - _this._trTally$2(0, J.$index$asx(t1, t2 - 1) & 255); - _this.__Deflate__matchAvailable = 0; - } - t1 = flush === 4; - _this._flushBlockOnly$1(t1); - return t1 ? 3 : 1; - }, - _longestMatch$1: function(curMatch) { - var t2, limit, niceMatch, wmask, strend, scanEnd1, scanEnd, scan0, len, match, _this = this, - _s7_ = "_config", - t1 = $.Deflate____config, - chainLength = (t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t1).maxChain, - scan = _this.get$_strStart(), - bestLen = _this.get$_prevLength(); - t1 = _this.get$_strStart(); - t2 = _this.get$_windowSize(); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > t2 - 262) { - t1 = _this.get$_strStart(); - t2 = _this.get$_windowSize(); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t1 !== "number") - return t1.$sub(); - limit = t1 - (t2 - 262); + t1 = false; } else - limit = 0; - t1 = $.Deflate____config; - niceMatch = (t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t1).niceLength; - wmask = _this.get$_windowMask(); - t1 = _this.get$_strStart(); + t1 = false; + return t1; + }, + get$hashCode(_) { + var t5, _this = this, + t1 = _this.left, + t2 = J.get$hashCode$(t1), + t3 = _this.top, + t4 = J.get$hashCode$(t3); if (typeof t1 !== "number") return t1.$add(); - strend = t1 + 258; - t1 = _this.get$_deflate$_window(); - if (typeof scan !== "number") - return scan.$add(); - if (typeof bestLen !== "number") - return H.iae(bestLen); - t2 = scan + bestLen; - scanEnd1 = J.$index$asx(t1, t2 - 1); - scanEnd = J.$index$asx(_this.get$_deflate$_window(), t2); - t1 = _this.get$_prevLength(); - t2 = $.Deflate____config; - t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t2).goodLength; - if (typeof t1 !== "number") - return t1.$ge(); - if (t1 >= t2) - chainLength = chainLength >>> 2; - t1 = _this.get$_lookAhead(); - if (typeof t1 !== "number") - return H.iae(t1); - if (niceMatch > t1) - niceMatch = _this.get$_lookAhead(); - scan0 = strend - 258; - len = null; - do { - c$0: { - t1 = curMatch + bestLen; - if (J.$index$asx(_this.get$_deflate$_window(), t1) === scanEnd) - if (J.$index$asx(_this.get$_deflate$_window(), t1 - 1) === scanEnd1) - if (J.$index$asx(_this.get$_deflate$_window(), curMatch) === J.$index$asx(_this.get$_deflate$_window(), scan)) { - match = curMatch + 1; - t1 = J.$index$asx(_this.get$_deflate$_window(), match) !== J.$index$asx(_this.get$_deflate$_window(), scan + 1); - } else { - match = curMatch; - t1 = true; - } - else { - match = curMatch; - t1 = true; - } - else { - match = curMatch; - t1 = true; - } - if (t1) - break c$0; - scan += 2; - ++match; - do { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { - ++scan; - ++match; - t1 = J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match) && scan < strend; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } while (t1); - len = 258 - (strend - scan); - if (len > bestLen) { - _this._matchStart = curMatch; - if (typeof niceMatch !== "number") - return H.iae(niceMatch); - if (len >= niceMatch) { - bestLen = len; - break; - } - t1 = scan0 + len; - scanEnd1 = J.$index$asx(_this.get$_deflate$_window(), t1 - 1); - scanEnd = J.$index$asx(_this.get$_deflate$_window(), t1); - bestLen = len; - } - scan = scan0; - } - t1 = _this.get$_prev(); - if (typeof wmask !== "number") - return H.iae(wmask); - t2 = curMatch & wmask; - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); - curMatch = t1[t2] & 65535; - if (curMatch > limit) { - --chainLength; - t1 = chainLength !== 0; - } else - t1 = false; - } while (t1); - t1 = _this.get$_lookAhead(); - if (typeof t1 !== "number") - return H.iae(t1); - if (bestLen <= t1) - return bestLen; - return _this.get$_lookAhead(); + t5 = _this.$ti._precomputed1; + t1 = B.JSNumber_methods.get$hashCode(t5._as(t1 + _this.width)); + if (typeof t3 !== "number") + return t3.$add(); + return A.SystemHash_hash4(t2, t4, t1, B.JSNumber_methods.get$hashCode(t5._as(t3 + _this.height)), 0); + } + }; + A.Rectangle.prototype = { + get$left(receiver) { + return this.left; }, - _readBuf$3: function(buf, start, size) { - var data, len, bytes, t1, _this = this; - if (size === 0 || _this._deflate$_input.get$isEOS()) - return 0; - data = _this._deflate$_input.readBytes$1(size); - len = data.get$length(data); - if (len === 0) - return 0; - bytes = data.toUint8List$0(); - t1 = J.getInterceptor$asx(bytes); - if (len > t1.get$length(bytes)) - len = t1.get$length(bytes); - J.setRange$3$ax(buf, start, start + len, bytes); - _this.total += len; - _this.crc32 = X.getCrc32(bytes, _this.crc32); - return len; + get$top(receiver) { + return this.top; }, - _flushPending$0: function() { - var t1, _this = this, - len = _this.get$_deflate$_pending(); - _this._deflate$_output.writeBytes$2(_this.get$_pendingBuffer(), len); - t1 = _this.__Deflate__pendingOut; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_pendingOut")); - if (typeof t1 !== "number") - return t1.$add(); - if (typeof len !== "number") - return H.iae(len); - _this.__Deflate__pendingOut = t1 + len; - t1 = _this.get$_deflate$_pending(); - if (typeof t1 !== "number") - return t1.$sub(); - _this.__Deflate__pending = t1 - len; - if (_this.get$_deflate$_pending() === 0) - _this.__Deflate__pendingOut = 0; + get$width(receiver) { + return this.width; }, - _getConfig$1: function(level) { - switch (level) { - case 0: - return new T._DeflaterConfig(0, 0, 0, 0, 0); - case 1: - return new T._DeflaterConfig(4, 4, 8, 4, 1); - case 2: - return new T._DeflaterConfig(4, 5, 16, 8, 1); - case 3: - return new T._DeflaterConfig(4, 6, 32, 32, 1); - case 4: - return new T._DeflaterConfig(4, 4, 16, 16, 2); - case 5: - return new T._DeflaterConfig(8, 16, 32, 32, 2); - case 6: - return new T._DeflaterConfig(8, 16, 128, 128, 2); - case 7: - return new T._DeflaterConfig(8, 32, 128, 256, 2); - case 8: - return new T._DeflaterConfig(32, 128, 258, 1024, 2); - case 9: - return new T._DeflaterConfig(32, 258, 258, 4096, 2); - } - throw H.wrapException(R.ArchiveException$("Invalid Deflate parameter")); + get$height(receiver) { + return this.height; + } + }; + A.AElement.prototype = { + get$target(receiver) { + return receiver.target; + } + }; + A.Angle.prototype = { + get$value(receiver) { + return receiver.value; + }, + set$value(receiver, value) { + receiver.value = value; + } + }; + A.CircleElement.prototype = {$isCircleElement: 1}; + A.DefsElement.prototype = {$isDefsElement: 1}; + A.FEGaussianBlurElement.prototype = {$isFEGaussianBlurElement: 1}; + A.FEMergeElement.prototype = {$isFEMergeElement: 1}; + A.FEMergeNodeElement.prototype = {$isFEMergeNodeElement: 1}; + A.FilterElement.prototype = {$isFilterElement: 1}; + A.GElement.prototype = {$isGElement: 1}; + A.GeometryElement.prototype = {}; + A.GraphicsElement.prototype = {$isGraphicsElement: 1}; + A.Length.prototype = { + get$value(receiver) { + return receiver.value; }, - get$_pendingBuffer: function() { - var t1 = this.__Deflate__pendingBuffer; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pendingBuffer")) : t1; + set$value(receiver, value) { + receiver.value = value; }, - get$_pendingBufferSize: function() { - var t1 = this.__Deflate__pendingBufferSize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pendingBufferSize")) : t1; + $isLength: 1 + }; + A.LengthList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$_deflate$_pending: function() { - var t1 = this.__Deflate__pending; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pending")) : t1; + $index(receiver, index) { + A._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); + return receiver.getItem(index); }, - get$_windowSize: function() { - var t1 = this.__Deflate__windowSize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_windowSize")) : t1; + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Length._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - get$_windowMask: function() { - var t1 = this.__Deflate__windowMask; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_windowMask")) : t1; + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$_deflate$_window: function() { - var t1 = this.__Deflate__window; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_window")) : t1; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_prev: function() { - var t1 = this.__Deflate__prev; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t1; + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_deflate$_head: function(_) { - var t1 = this.__Deflate__head; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_head")) : t1; + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - get$_insertHash: function() { - var t1 = this.__Deflate__insertHash; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_insertHash")) : t1; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - get$_hashSize: function() { - var t1 = this.__Deflate__hashSize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashSize")) : t1; + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.Number.prototype = { + get$value(receiver) { + return receiver.value; }, - get$_hashMask: function() { - var t1 = this.__Deflate__hashMask; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashMask")) : t1; + set$value(receiver, value) { + receiver.value = value; }, - get$_hashShift: function() { - var t1 = this.__Deflate__hashShift; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashShift")) : t1; + $isNumber: 1 + }; + A.NumberList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$_blockStart: function() { - var t1 = this.__Deflate__blockStart; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockStart")) : t1; + $index(receiver, index) { + A._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); + return receiver.getItem(index); }, - get$_matchAvailable: function() { - var t1 = this.__Deflate__matchAvailable; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_matchAvailable")) : t1; + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Number._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - get$_strStart: function() { - var t1 = this.__Deflate__strStart; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_strStart")) : t1; + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$_lookAhead: function() { - var t1 = this.__Deflate__lookAhead; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lookAhead")) : t1; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_prevLength: function() { - var t1 = this.__Deflate__prevLength; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_prevLength")) : t1; + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_deflate$_level: function() { - var t1 = this.__Deflate__level; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_level")) : t1; + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - get$_dynamicLengthTree: function() { - var t1 = this.__Deflate__dynamicLengthTree; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")) : t1; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - get$_dynamicDistTree: function() { - var t1 = this.__Deflate__dynamicDistTree; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")) : t1; + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.Point0.prototype = { + set$x(receiver, value) { + receiver.x = value; }, - get$_heapLen: function() { - var t1 = this.__Deflate__heapLen; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_heapLen")) : t1; + set$y(receiver, value) { + receiver.y = value; }, - get$_heapMax: function() { - var t1 = this.__Deflate__heapMax; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_heapMax")) : t1; + $isPoint0: 1 + }; + A.PointList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.PolygonElement.prototype = {$isPolygonElement: 1}; + A.RectElement.prototype = {$isRectElement: 1}; + A.StringList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$_lbuf: function() { - var t1 = this.__Deflate__lbuf; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lbuf")) : t1; + $index(receiver, index) { + A._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); + return receiver.getItem(index); }, - get$_litBufferSize: function() { - var t1 = this.__Deflate__litBufferSize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_litBufferSize")) : t1; + $indexSet(receiver, index, value) { + A._asIntS(index); + A._asStringS(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - get$_lastLit: function() { - var t1 = this.__Deflate__lastLit; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastLit")) : t1; + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - get$_dbuf: function() { - var t1 = this.__Deflate__dbuf; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dbuf")) : t1; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_optimalLen: function() { - var t1 = this.__Deflate__optimalLen; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_optimalLen")) : t1; + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - get$_staticLen: function() { - var t1 = this.__Deflate__staticLen; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_staticLen")) : t1; + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - get$_matches: function() { - var t1 = this.__Deflate__matches; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_matches")) : t1; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - get$_bitBuffer: function() { - var t1 = this.__Deflate__bitBuffer; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_bitBuffer")) : t1; + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.AttributeClassSet.prototype = { + readClasses$0() { + var t1, t2, _i, trimmed, + classname = this._svg$_element.getAttribute("class"), + s = A.LinkedHashSet_LinkedHashSet(type$.String); + if (classname == null) + return s; + for (t1 = classname.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { + trimmed = J.trim$0$s(t1[_i]); + if (trimmed.length !== 0) + s.add$1(0, trimmed); + } + return s; }, - get$_numValidBits: function() { - var t1 = this.__Deflate__numValidBits; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_numValidBits")) : t1; + writeClasses$1(s) { + this._svg$_element.setAttribute("class", s.join$1(0, " ")); } }; - T._DeflaterConfig.prototype = {}; - T._HuffmanTree.prototype = { - get$dynamicTree: function() { - var t1 = this.___HuffmanTree_dynamicTree; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("dynamicTree")) : t1; + A.SvgElement.prototype = { + get$classes(receiver) { + return new A.AttributeClassSet(receiver); }, - get$maxCode: function() { - var t1 = this.___HuffmanTree_maxCode; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("maxCode")) : t1; + set$children(receiver, value) { + type$.List_Element._as(value); + this._clearChildren$0(receiver); + new A.FilteredElementList(receiver, new A._ChildNodeListLazy(receiver)).addAll$1(0, value); }, - get$staticDesc: function() { - var t1 = this.___HuffmanTree_staticDesc; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("staticDesc")) : t1; + get$innerHtml(receiver) { + var container = document.createElement("div"), + cloned = type$.SvgElement._as(this.clone$1(receiver, true)); + cloned.toString; + A._ChildrenElementList__addAll(container, type$.Iterable_Element._as(new A.FilteredElementList(cloned, new A._ChildNodeListLazy(cloned)))); + return container.innerHTML; }, - _genBitlen$1: function(s) { - var t1, bits, t2, t3, t4, h, t5, xbits, f, overflow, n, t6, t7, t8, bits0, m, _this = this, - _s11_ = "_optimalLen", - tree = _this.get$dynamicTree(), - stree = _this.get$staticDesc().staticTree, - extra = _this.get$staticDesc().extraBits, - baseRenamed = _this.get$staticDesc().extraBase, - maxLength = _this.get$staticDesc().maxLength; - for (t1 = s._bitLengthCount, bits = 0; bits <= 15; ++bits) - t1[bits] = 0; - t2 = s._heap; - t3 = C.NativeUint32List_methods.$index(t2, s.get$_heapMax()) * 2 + 1; - t4 = tree.length; - if (t3 < 0 || t3 >= t4) - return H.ioore(tree, t3); - tree[t3] = 0; - t3 = s.get$_heapMax(); - if (typeof t3 !== "number") - return t3.$add(); - h = t3 + 1; - t3 = stree != null; - t5 = extra.length; - xbits = null; - f = null; - overflow = 0; - for (; h < 573; ++h) { - if (h < 0) - return H.ioore(t2, h); - n = t2[h]; - t6 = n * 2; - t7 = t6 + 1; - if (t7 < 0 || t7 >= t4) - return H.ioore(tree, t7); - t8 = tree[t7] * 2 + 1; - if (t8 >= t4) - return H.ioore(tree, t8); - bits = tree[t8] + 1; - if (bits > maxLength) { - ++overflow; - bits = maxLength; - } - tree[t7] = bits; - t8 = _this.___HuffmanTree_maxCode; - if (t8 === $) - t8 = H.throwExpression(H.LateError$fieldNI("maxCode")); - if (typeof t8 !== "number") - return H.iae(t8); - if (n > t8) - continue; - if (bits >= 16) - return H.ioore(t1, bits); - t1[bits] = t1[bits] + 1; - if (n >= baseRenamed) { - t8 = n - baseRenamed; - if (t8 < 0 || t8 >= t5) - return H.ioore(extra, t8); - xbits = extra[t8]; - } else - xbits = 0; - if (t6 < 0 || t6 >= t4) - return H.ioore(tree, t6); - f = tree[t6]; - t6 = s.__Deflate__optimalLen; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (typeof t6 !== "number") - return t6.$add(); - s.__Deflate__optimalLen = t6 + f * (bits + xbits); - if (t3) { - t6 = s.__Deflate__staticLen; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI("_staticLen")); - if (t7 >= stree.length) - return H.ioore(stree, t7); - t7 = stree[t7]; - if (typeof t6 !== "number") - return t6.$add(); - s.__Deflate__staticLen = t6 + f * (t7 + xbits); - } - } - if (overflow === 0) - return; - bits = maxLength - 1; - do { - bits0 = bits; - while (true) { - if (bits0 < 0 || bits0 >= 16) - return H.ioore(t1, bits0); - t3 = t1[bits0]; - if (!(t3 === 0)) - break; - --bits0; - } - t1[bits0] = t3 - 1; - t3 = bits0 + 1; - if (t3 >= 16) - return H.ioore(t1, t3); - t1[t3] = t1[t3] + 2; - if (maxLength >= 16) - return H.ioore(t1, maxLength); - t1[maxLength] = t1[maxLength] - 1; - overflow -= 2; - } while (overflow > 0); - for (bits = maxLength, m = null; bits !== 0; --bits) { - if (bits < 0) - return H.ioore(t1, bits); - n = t1[bits]; - for (; n !== 0;) { - --h; - if (h < 0 || h >= 573) - return H.ioore(t2, h); - m = t2[h]; - t3 = _this.___HuffmanTree_maxCode; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("maxCode")); - if (typeof t3 !== "number") - return H.iae(t3); - if (m > t3) - continue; - t3 = m * 2; - t5 = t3 + 1; - if (t5 < 0 || t5 >= t4) - return H.ioore(tree, t5); - t6 = tree[t5]; - if (t6 !== bits) { - t7 = s.__Deflate__optimalLen; - if (t7 === $) - t7 = H.throwExpression(H.LateError$fieldNI(_s11_)); - if (t3 < 0 || t3 >= t4) - return H.ioore(tree, t3); - t3 = tree[t3]; - if (typeof t7 !== "number") - return t7.$add(); - s.__Deflate__optimalLen = t7 + (bits - t6) * t3; - tree[t5] = bits; - } - --n; - } - } + click$0(receiver) { + throw A.wrapException(A.UnsupportedError$("Cannot invoke click SVG.")); }, - _buildTree$1: function(s) { - var t1, t2, n, maxCode, t3, t4, t5, node, m, t6, t7, t8, node0, _this = this, - _s8_ = "_heapLen", - tree = _this.get$dynamicTree(), - stree = _this.get$staticDesc().staticTree, - elems = _this.get$staticDesc().numElements; - s.__Deflate__heapLen = 0; - s.__Deflate__heapMax = 573; - for (t1 = s._depth, t2 = s._heap, n = 0, maxCode = -1; n < elems; ++n) { - t3 = n * 2; - t4 = tree.length; - if (t3 >= t4) - return H.ioore(tree, t3); - if (tree[t3] !== 0) { - t3 = s.__Deflate__heapLen; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI(_s8_)); - if (typeof t3 !== "number") - return t3.$add(); - ++t3; - s.__Deflate__heapLen = t3; - if (t3 < 0 || t3 >= 573) - return H.ioore(t2, t3); - t2[t3] = n; - if (n >= 573) - return H.ioore(t1, n); - t1[n] = 0; - maxCode = n; - } else { - ++t3; - if (t3 >= t4) - return H.ioore(tree, t3); - tree[t3] = 0; - } - } - t3 = stree != null; - while (true) { - t4 = s.__Deflate__heapLen; - t5 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_)) : t4; - if (typeof t5 !== "number") - return t5.$lt(); - if (!(t5 < 2)) - break; - if (typeof t4 !== "number") - return t4.$add(); - ++t4; - s.__Deflate__heapLen = t4; - if (maxCode < 2) { - ++maxCode; - node = maxCode; - } else - node = 0; - if (t4 < 0 || t4 >= 573) - return H.ioore(t2, t4); - t2[t4] = node; - t4 = node * 2; - if (t4 < 0 || t4 >= tree.length) - return H.ioore(tree, t4); - tree[t4] = 1; - t1[node] = 0; - t5 = s.__Deflate__optimalLen; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI("_optimalLen")); - if (typeof t5 !== "number") - return t5.$sub(); - s.__Deflate__optimalLen = t5 - 1; - if (t3) { - t5 = s.__Deflate__staticLen; - if (t5 === $) - t5 = H.throwExpression(H.LateError$fieldNI("_staticLen")); - ++t4; - if (t4 >= stree.length) - return H.ioore(stree, t4); - t4 = stree[t4]; - if (typeof t5 !== "number") - return t5.$sub(); - s.__Deflate__staticLen = t5 - t4; - } - } - _this.___HuffmanTree_maxCode = maxCode; - t3 = s.get$_heapLen(); - if (typeof t3 !== "number") - return t3.$tdiv(); - n = C.JSInt_methods._tdivFast$1(t3, 2); - for (; n >= 1; --n) - s._pqdownheap$2(tree, n); - node = elems; - do { - n = t2[1]; - t3 = s.get$_heapLen(); - if (typeof t3 !== "number") - return t3.$sub(); - s.__Deflate__heapLen = t3 - 1; - if (t3 < 0 || t3 >= 573) - return H.ioore(t2, t3); - t2[1] = t2[t3]; - s._pqdownheap$2(tree, 1); - m = t2[1]; - t3 = s.get$_heapMax(); - if (typeof t3 !== "number") - return t3.$sub(); - --t3; - s.__Deflate__heapMax = t3; - if (t3 < 0 || t3 >= 573) - return H.ioore(t2, t3); - t2[t3] = n; - t3 = s.get$_heapMax(); - if (typeof t3 !== "number") - return t3.$sub(); - --t3; - s.__Deflate__heapMax = t3; - if (t3 < 0 || t3 >= 573) - return H.ioore(t2, t3); - t2[t3] = m; - t3 = node * 2; - t4 = n * 2; - t5 = tree.length; - if (t4 < 0 || t4 >= t5) - return H.ioore(tree, t4); - t6 = tree[t4]; - t7 = m * 2; - if (t7 < 0 || t7 >= t5) - return H.ioore(tree, t7); - t8 = tree[t7]; - if (t3 >= t5) - return H.ioore(tree, t3); - tree[t3] = t6 + t8; - if (n < 0 || n >= 573) - return H.ioore(t1, n); - t8 = t1[n]; - if (m < 0 || m >= 573) - return H.ioore(t1, m); - t6 = t1[m]; - t3 = t8 > t6 ? t8 : t6; - if (node >= 573) - return H.ioore(t1, node); - t1[node] = t3 + 1; - ++t4; - ++t7; - if (t7 >= t5) - return H.ioore(tree, t7); - tree[t7] = node; - if (t4 >= t5) - return H.ioore(tree, t4); - tree[t4] = node; - node0 = node + 1; - t2[1] = node; - s._pqdownheap$2(tree, 1); - t3 = s.get$_heapLen(); - if (typeof t3 !== "number") - return t3.$ge(); - if (t3 >= 2) { - node = node0; - continue; - } else - break; - } while (true); - t1 = s.get$_heapMax(); - if (typeof t1 !== "number") - return t1.$sub(); - --t1; - s.__Deflate__heapMax = t1; - t3 = t2[1]; - if (t1 < 0 || t1 >= 573) - return H.ioore(t2, t1); - t2[t1] = t3; - _this._genBitlen$1(s); - T._HuffmanTree__genCodes(tree, maxCode, s._bitLengthCount); - } - }; - T._StaticTree.prototype = {}; - Y.HuffmanTable.prototype = { - get$table: function() { - var t1 = this.__HuffmanTable_table; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("table")) : t1; + get$onClick(receiver) { + return new A._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); }, - HuffmanTable$1: function(lengths) { - var i, t2, t3, size, bitLength, code, skip, rtemp, reversed, j, t4, _this = this, - t1 = J.getInterceptor$asx(lengths), - listSize = t1.get$length(lengths); - for (i = 0; i < listSize; ++i) { - t2 = t1.$index(lengths, i); - t3 = _this.maxCodeLength; - if (typeof t2 !== "number") - return t2.$gt(); - if (typeof t3 !== "number") - return H.iae(t3); - if (t2 > t3) - _this.set$maxCodeLength(t1.$index(lengths, i)); - t2 = t1.$index(lengths, i); - t3 = _this.minCodeLength; - if (typeof t2 !== "number") - return t2.$lt(); - if (typeof t3 !== "number") - return H.iae(t3); - if (t2 < t3) - _this.set$minCodeLength(t1.$index(lengths, i)); - } - t2 = _this.maxCodeLength; - if (typeof t2 !== "number") - return H.iae(t2); - size = C.JSInt_methods.$shl(1, t2); - _this.__HuffmanTable_table = new Uint32Array(size); - bitLength = 1; - code = 0; - skip = 2; - while (true) { - t2 = _this.maxCodeLength; - if (typeof t2 !== "number") - return H.iae(t2); - if (!(bitLength <= t2)) - break; - for (t2 = bitLength << 16, i = 0; i < listSize; ++i) - if (J.$eq$(t1.$index(lengths, i), bitLength)) { - for (rtemp = code, reversed = 0, j = 0; j < bitLength; ++j) { - reversed = (reversed << 1 | rtemp & 1) >>> 0; - rtemp = rtemp >>> 1; - } - for (t3 = (t2 | i) >>> 0, j = reversed; j < size; j += skip) { - t4 = _this.__HuffmanTable_table; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI("table")); - if (j < 0 || j >= t4.length) - return H.ioore(t4, j); - t4[j] = t3; - } - ++code; - } - ++bitLength; - code = code << 1 >>> 0; - skip = skip << 1 >>> 0; - } + get$onMouseDown(receiver) { + return new A._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); }, - set$maxCodeLength: function(maxCodeLength) { - this.maxCodeLength = H._asIntS(maxCodeLength); + get$onTouchStart(receiver) { + return new A._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); }, - set$minCodeLength: function(minCodeLength) { - this.minCodeLength = H._asIntS(minCodeLength); - } + $isSvgElement: 1 }; - S.Inflate.prototype = { - get$input: function() { - var t1 = this.__Inflate_input; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; + A.SvgSvgElement.prototype = {$isSvgSvgElement: 1}; + A.TextContentElement.prototype = {$isTextContentElement: 1}; + A.TextElement.prototype = {$isTextElement: 1}; + A.TextPathElement.prototype = {$isTextPathElement: 1}; + A.TextPositioningElement.prototype = {}; + A.Transform.prototype = {$isTransform: 1}; + A.TransformList.prototype = { + get$length(receiver) { + return receiver.length; }, - _inflate$0: function() { - var t1, t2, t3, _this = this; - _this._bitBufferLen = _this._inflate$_bitBuffer = 0; - if (!_this.inputSet) - return; - while (true) { - t1 = _this.__Inflate_input; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("input")); - t2 = t1.offset; - t3 = t1.start; - t1 = t1.__InputStream__length; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t1 !== "number") - return H.iae(t1); - if (!(t2 < t3 + t1)) - break; - if (!_this._parseBlock$0()) - break; - } + $index(receiver, index) { + A._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); + return receiver.getItem(index); }, - _parseBlock$0: function() { - var blockHeader, _this = this; - if (_this.get$input().get$isEOS()) - return false; - blockHeader = _this._readBits$1(3); - switch (C.JSInt_methods._shrOtherPositive$1(blockHeader, 1)) { - case 0: - if (_this._parseUncompressedBlock$0() === -1) - return false; - break; - case 1: - if (_this._decodeHuffman$2(_this._fixedLiteralLengthTable, _this._fixedDistanceTable) === -1) - return false; - break; - case 2: - if (_this._parseDynamicHuffmanBlock$0() === -1) - return false; - break; - default: - return false; - } - return (blockHeader & 1) === 0; + $indexSet(receiver, index, value) { + A._asIntS(index); + type$.Transform._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - _readBits$1: function($length) { - var t1, t2, t3, t4, _this = this; - if ($length === 0) - return 0; - for (; t1 = _this._bitBufferLen, t1 < $length;) { - t1 = _this.__Inflate_input; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; - t3 = t2.offset; - t4 = t2.start; - t2 = t2.__InputStream__length; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t2 !== "number") - return H.iae(t2); - if (t3 >= t4 + t2) - return -1; - t1 = J.$index$asx(t1.buffer, t1.offset++); - t2 = _this._inflate$_bitBuffer; - t3 = _this._bitBufferLen; - if (typeof t1 !== "number") - return t1.$shl(); - _this._inflate$_bitBuffer = (t2 | C.JSInt_methods.$shl(t1, t3)) >>> 0; - _this._bitBufferLen = t3 + 8; - } - t2 = _this._inflate$_bitBuffer; - t3 = C.JSInt_methods._shlPositive$1(1, $length); - _this._inflate$_bitBuffer = C.JSInt_methods._shrBothPositive$1(t2, $length); - _this._bitBufferLen = t1 - $length; - return (t2 & t3 - 1) >>> 0; + set$length(receiver, value) { + throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, - _readCodeByTable$1: function(table) { - var t1, t2, t3, t4, codeWithLength, codeLength, _this = this, - codeTable = table.get$table(), - maxCodeLength = table.maxCodeLength; - if (typeof maxCodeLength !== "number") - return H.iae(maxCodeLength); - for (; t1 = _this._bitBufferLen, t1 < maxCodeLength;) { - t1 = _this.__Inflate_input; - t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; - t3 = t2.offset; - t4 = t2.start; - t2 = t2.__InputStream__length; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_length")); - if (typeof t2 !== "number") - return H.iae(t2); - if (t3 >= t4 + t2) - return -1; - t1 = J.$index$asx(t1.buffer, t1.offset++); - t2 = _this._inflate$_bitBuffer; - t3 = _this._bitBufferLen; - if (typeof t1 !== "number") - return t1.$shl(); - _this._inflate$_bitBuffer = (t2 | C.JSInt_methods.$shl(t1, t3)) >>> 0; - _this._bitBufferLen = t3 + 8; - } - t2 = _this._inflate$_bitBuffer; - t3 = (t2 & C.JSInt_methods.$shl(1, maxCodeLength) - 1) >>> 0; - if (t3 >= codeTable.length) - return H.ioore(codeTable, t3); - codeWithLength = codeTable[t3]; - codeLength = codeWithLength >>> 16; - _this._inflate$_bitBuffer = C.JSInt_methods._shrBothPositive$1(t2, codeLength); - _this._bitBufferLen = t1 - codeLength; - return codeWithLength & 65535; + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.StateError$("No elements")); }, - _parseUncompressedBlock$0: function() { - var len, t1, _this = this; - _this._bitBufferLen = _this._inflate$_bitBuffer = 0; - len = _this._readBits$1(16); - t1 = _this._readBits$1(16); - if (len !== 0 && len !== (t1 ^ 65535) >>> 0) - return -1; - t1 = _this.get$input(); - if (len > t1.get$length(t1)) - return -1; - _this.output.writeInputStream$1(_this.get$input().readBytes$1(len)); - return 0; + get$last(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw A.wrapException(A.StateError$("No elements")); }, - _parseDynamicHuffmanBlock$0: function() { - var numDistanceCodes, numCodeLengths, codeLengths, i, len, t1, codeLengthsTable, litLenDistLengths, litlenLengths, distLengths, _this = this, - numLitLengthCodes = _this._readBits$1(5); - if (numLitLengthCodes === -1) - return -1; - numLitLengthCodes += 257; - if (numLitLengthCodes > 288) - return -1; - numDistanceCodes = _this._readBits$1(5); - if (numDistanceCodes === -1) - return -1; - ++numDistanceCodes; - if (numDistanceCodes > 32) - return -1; - numCodeLengths = _this._readBits$1(4); - if (numCodeLengths === -1) - return -1; - numCodeLengths += 4; - if (numCodeLengths > 19) - return -1; - codeLengths = new Uint8Array(19); - for (i = 0; i < numCodeLengths; ++i) { - len = _this._readBits$1(3); - if (len === -1) - return -1; - t1 = C.List_uSC[i]; - if (t1 >= 19) - return H.ioore(codeLengths, t1); - codeLengths[t1] = len; - } - codeLengthsTable = Y.HuffmanTable$(codeLengths); - t1 = numLitLengthCodes + numDistanceCodes; - litLenDistLengths = new Uint8Array(t1); - litlenLengths = C.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, 0, numLitLengthCodes); - distLengths = C.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, numLitLengthCodes, numDistanceCodes); - if (_this._decode$3(t1, codeLengthsTable, litLenDistLengths) === -1) - return -1; - return _this._decodeHuffman$2(Y.HuffmanTable$(litlenLengths), Y.HuffmanTable$(distLengths)); + get$single(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw A.wrapException(A.StateError$("No elements")); + throw A.wrapException(A.StateError$("More than one element")); }, - _decodeHuffman$2: function(litlen, dist) { - var t1, code, ti, codeLength, distCode, distance, t2, _this = this; - for (t1 = _this.output; true;) { - code = _this._readCodeByTable$1(litlen); - if (code < 0 || code > 285) - return -1; - if (code === 256) - break; - if (code < 256) { - t1.writeByte$1(code & 255); - continue; - } - ti = code - 257; - if (ti < 0 || ti >= 29) - return H.ioore(C.List_qQn1, ti); - codeLength = C.List_qQn1[ti] + _this._readBits$1(C.List_eea[ti]); - distCode = _this._readCodeByTable$1(dist); - if (distCode < 0 || distCode > 29) - return -1; - if (distCode < 0 || distCode >= 30) - return H.ioore(C.List_i3t, distCode); - distance = C.List_i3t[distCode] + _this._readBits$1(C.List_X3d[distCode]); - for (t2 = -distance; codeLength > distance;) { - t1.writeBytes$1(t1.subset$1(t2)); - codeLength -= distance; - } - if (codeLength === distance) - t1.writeBytes$1(t1.subset$1(t2)); - else - t1.writeBytes$1(t1.subset$2(t2, codeLength - distance)); - } - for (; t1 = _this._bitBufferLen, t1 >= 8;) { - _this._bitBufferLen = t1 - 8; - t1 = _this.__Inflate_input; - if (t1 === $) - t1 = H.throwExpression(H.LateError$fieldNI("input")); - if (--t1.offset < 0) - t1.offset = 0; - } - return 0; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - _decode$3: function(num, table, codeLengths) { - var t1, prev, i, code, repeat, repeat0, i0, _this = this; - type$.List_int._as(codeLengths); - for (t1 = codeLengths.length, prev = 0, i = 0; i < num;) { - code = _this._readCodeByTable$1(table); - if (code === -1) - return -1; - switch (code) { - case 16: - repeat = _this._readBits$1(2); - if (repeat === -1) - return -1; - repeat += 3; - for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { - i0 = i + 1; - if (i < 0 || i >= t1) - return H.ioore(codeLengths, i); - codeLengths[i] = prev; - } - break; - case 17: - repeat = _this._readBits$1(3); - if (repeat === -1) - return -1; - repeat += 3; - for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { - i0 = i + 1; - if (i < 0 || i >= t1) - return H.ioore(codeLengths, i); - codeLengths[i] = 0; - } - prev = 0; - break; - case 18: - repeat = _this._readBits$1(7); - if (repeat === -1) - return -1; - repeat += 11; - for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { - i0 = i + 1; - if (i < 0 || i >= t1) - return H.ioore(codeLengths, i); - codeLengths[i] = 0; - } - prev = 0; - break; - default: - if (code < 0 || code > 15) - return -1; - i0 = i + 1; - if (i < 0 || i >= t1) - return H.ioore(codeLengths, i); - codeLengths[i] = code; - i = i0; - prev = code; - break; - } - } - return 0; - } + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - Q.CopyOnWriteList.prototype = { - get$length: function(_) { - return J.get$length$asx(this._copy_on_write_list$_list); + A._LengthList_JavaScriptObject_ListMixin.prototype = {}; + A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._UnmodifiableByteBufferView.prototype = { + asUint8List$2(_, offsetInBytes, $length) { + return new A._UnmodifiableUint8ListView(A.NativeUint8List_NativeUint8List$view(this._typed_data$_data, offsetInBytes, $length)); }, - $index: function(_, index) { - H._asIntS(index); - return J.$index$asx(this._copy_on_write_list$_list, index); + asUint8List$0($receiver) { + return this.asUint8List$2($receiver, 0, null); }, - $add: function(_, other) { - this.$ti._eval$1("List<1>")._as(other); - return J.$add$ansx(this._copy_on_write_list$_list, other); + asByteData$2(_, offsetInBytes, $length) { + return new A._UnmodifiableByteDataView(A.NativeByteData_NativeByteData$view(this._typed_data$_data, offsetInBytes, $length)); }, - any$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return J.any$1$ax(this._copy_on_write_list$_list, test); + $isByteBuffer: 1 + }; + A._UnmodifiableByteDataView.prototype = { + getUint32$2(_, byteOffset, endian) { + return B.NativeByteData_methods._getUint32$2(this._typed_data$_data, byteOffset, B.C_Endian === endian); }, - cast$1$0: function(_, $T) { - return new Q.CopyOnWriteList(this._growable, J.cast$1$0$ax(this._copy_on_write_list$_list, $T), $T._eval$1("CopyOnWriteList<0>")); + get$offsetInBytes(_) { + return this._typed_data$_data.byteOffset; }, - contains$1: function(_, element) { - return J.contains$1$asx(this._copy_on_write_list$_list, element); + get$lengthInBytes(_) { + return this._typed_data$_data.byteLength; }, - elementAt$1: function(_, index) { - return J.elementAt$1$ax(this._copy_on_write_list$_list, index); + get$buffer(_) { + return new A._UnmodifiableByteBufferView(this._typed_data$_data.buffer); }, - every$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return J.every$1$ax(this._copy_on_write_list$_list, test); + $isTypedData: 1, + $isByteData: 1 + }; + A._UnmodifiableListMixin.prototype = { + get$length(_) { + return this.get$_typed_data$_list().length; }, - expand$1$1: function(_, f, $T) { - this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f); - return J.expand$1$1$ax(this._copy_on_write_list$_list, f, $T); + $index(_, index) { + A._asIntS(index); + return J.$index$asx(this.get$_typed_data$_list(), index); }, - get$first: function(_) { - return J.get$first$ax(this._copy_on_write_list$_list); + get$offsetInBytes(_) { + return A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteOffset; }, - firstWhere$2$orElse: function(_, test, orElse) { - var t1 = this.$ti; - t1._eval$1("bool(1)")._as(test); - t1._eval$1("1()?")._as(orElse); - return J.firstWhere$2$orElse$ax(this._copy_on_write_list$_list, test, orElse); + get$lengthInBytes(_) { + return A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteLength; }, - fold$1$2: function(_, initialValue, combine, $T) { - $T._as(initialValue); - this.$ti._bind$1($T)._eval$1("1(1,2)")._as(combine); - return J.fold$1$2$ax(this._copy_on_write_list$_list, initialValue, combine, $T); - }, - forEach$1: function(_, f) { - this.$ti._eval$1("~(1)")._as(f); - return J.forEach$1$ax(this._copy_on_write_list$_list, f); - }, - getRange$2: function(_, start, end) { - return J.getRange$2$ax(this._copy_on_write_list$_list, start, end); - }, - indexOf$2: function(_, element, start) { - this.$ti._precomputed1._as(element); - return J.indexOf$2$asx(this._copy_on_write_list$_list, element, start); - }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._copy_on_write_list$_list); - }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._copy_on_write_list$_list); - }, - get$iterator: function(_) { - return J.get$iterator$ax(this._copy_on_write_list$_list); - }, - join$1: function(_, separator) { - return J.join$1$ax(this._copy_on_write_list$_list, separator); - }, - get$last: function(_) { - return J.get$last$ax(this._copy_on_write_list$_list); - }, - map$1$1: function(_, f, $T) { - this.$ti._bind$1($T)._eval$1("1(2)")._as(f); - return J.map$1$1$ax(this._copy_on_write_list$_list, f, $T); - }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - }, - get$reversed: function(_) { - return J.get$reversed$ax(this._copy_on_write_list$_list); + get$buffer(_) { + return new A._UnmodifiableByteBufferView(A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).buffer); }, - get$single: function(_) { - return J.get$single$ax(this._copy_on_write_list$_list); - }, - skip$1: function(_, count) { - return J.skip$1$ax(this._copy_on_write_list$_list, count); - }, - sublist$2: function(_, start, end) { - return J.sublist$2$ax(this._copy_on_write_list$_list, start, end); + sublist$2(_, start, end) { + var endIndex, sublistLength, result; + end.toString; + endIndex = A.RangeError_checkValidRange(start, end, this.get$_typed_data$_list().length); + if (typeof endIndex !== "number") + return endIndex.$sub(); + sublistLength = endIndex - start; + result = this._createList$1(sublistLength); + J.setRange$4$ax(result, 0, sublistLength, this.get$_typed_data$_list(), start); + return result; }, - sublist$1: function($receiver, start) { + sublist$1($receiver, start) { return this.sublist$2($receiver, start, null); - }, - take$1: function(_, count) { - return J.take$1$ax(this._copy_on_write_list$_list, count); - }, - toList$1$growable: function(_, growable) { - return J.toList$1$growable$ax(this._copy_on_write_list$_list, growable); - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - }, - toSet$0: function(_) { - return J.toSet$0$ax(this._copy_on_write_list$_list); - }, - where$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return J.where$1$ax(this._copy_on_write_list$_list, test); - }, - $indexSet: function(_, index, element) { - H._asIntS(index); - this.$ti._precomputed1._as(element); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(this._copy_on_write_list$_list, index, element); - }, - add$1: function(_, value) { - this.$ti._precomputed1._as(value); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.add$1$ax(this._copy_on_write_list$_list, value); - }, - addAll$1: function(_, iterable) { - this.$ti._eval$1("Iterable<1>")._as(iterable); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.addAll$1$ax(this._copy_on_write_list$_list, iterable); - }, - sort$1: function(_, compare) { - this.$ti._eval$1("int(1,1)?")._as(compare); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.sort$1$ax(this._copy_on_write_list$_list, compare); - }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); - }, - clear$0: function(_) { - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.clear$0$ax(this._copy_on_write_list$_list); - }, - insert$2: function(_, index, element) { - this.$ti._precomputed1._as(element); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insert$2$ax(this._copy_on_write_list$_list, index, element); - }, - insertAll$2: function(_, index, iterable) { - this.$ti._eval$1("Iterable<1>")._as(iterable); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.insertAll$2$ax(this._copy_on_write_list$_list, index, iterable); - }, - remove$1: function(_, value) { - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - return J.remove$1$ax(this._copy_on_write_list$_list, value); - }, - removeAt$1: function(_, index) { - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - return J.removeAt$1$ax(this._copy_on_write_list$_list, index); - }, - removeLast$0: function(_) { - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - return J.removeLast$0$ax(this._copy_on_write_list$_list); - }, - removeWhere$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(this._copy_on_write_list$_list, test); - }, - setRange$4: function(_, start, end, iterable, skipCount) { - H._asIntS(end); - this.$ti._eval$1("Iterable<1>")._as(iterable); - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.setRange$4$ax(this._copy_on_write_list$_list, start, end, iterable, skipCount); - }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); - }, - removeRange$2: function(_, start, end) { - this._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.removeRange$2$ax(this._copy_on_write_list$_list, start, end); - }, - toString$0: function(_) { - return J.toString$0$(this._copy_on_write_list$_list); - }, - _copy_on_write_list$_maybeCopyBeforeWrite$0: function() { - var _this = this; - if (!_this._copy_on_write_list$_copyBeforeWrite) - return; - _this._copy_on_write_list$_copyBeforeWrite = false; - _this.set$_copy_on_write_list$_list(P.List_List$from(_this._copy_on_write_list$_list, _this._growable, _this.$ti._precomputed1)); - }, - set$_copy_on_write_list$_list: function(_list) { - this._copy_on_write_list$_list = this.$ti._eval$1("List<1>")._as(_list); - }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 + } }; - S.CopyOnWriteMap.prototype = { - $index: function(_, key) { - return J.$index$asx(this._copy_on_write_map$_map, key); - }, - cast$2$0: function(_, K2, V2) { - return new S.CopyOnWriteMap(null, J.cast$2$0$ax(this._copy_on_write_map$_map, K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("CopyOnWriteMap<1,2>")); - }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._copy_on_write_map$_map, key); - }, - get$entries: function(_) { - return J.get$entries$x(this._copy_on_write_map$_map); - }, - forEach$1: function(_, f) { - this.$ti._eval$1("~(1,2)")._as(f); - return J.forEach$1$ax(this._copy_on_write_map$_map, f); - }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._copy_on_write_map$_map); + A._UnmodifiableUint8ListView.prototype = { + _createList$1($length) { + return new Uint8Array($length); }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._copy_on_write_map$_map); + $isTypedData: 1, + $isUint8List: 1, + get$_typed_data$_list() { + return this._typed_data$_list; + } + }; + A._UnmodifiableInt32ListView.prototype = { + _createList$1($length) { + return new Int32Array($length); }, - get$keys: function(_) { - return J.get$keys$x(this._copy_on_write_map$_map); + $isTypedData: 1, + $isInt32List: 1, + get$_typed_data$_list() { + return this._typed_data$_list; + } + }; + A.Endian.prototype = {}; + A.__UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; + A.__UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; + A.AudioBuffer.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.AudioNode.prototype = {}; + A.AudioParam.prototype = { + get$value(receiver) { + return receiver.value; }, - get$length: function(_) { - return J.get$length$asx(this._copy_on_write_map$_map); + set$value(receiver, value) { + receiver.value = value; + } + }; + A.AudioParamMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))) != null; }, - map$2$1: function(_, f, K2, V2) { - this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f); - return J.map$2$1$ax(this._copy_on_write_map$_map, f, K2, V2); + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); }, - map$1: function($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - get$values: function(_) { - return J.get$values$x(this._copy_on_write_map$_map); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.AudioParamMap_keys_closure(keys)); + return keys; }, - $indexSet: function(_, key, value) { - var t1 = this.$ti; - t1._precomputed1._as(key); - t1._rest[1]._as(value); - this._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(this._copy_on_write_map$_map, key, value); + get$values(receiver) { + var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new A.AudioParamMap_values_closure(values)); + return values; }, - remove$1: function(_, key) { - this._maybeCopyBeforeWrite$0(); - return J.remove$1$ax(this._copy_on_write_map$_map, key); + get$length(receiver) { + return receiver.size; }, - removeWhere$1: function(_, test) { - this.$ti._eval$1("bool(1,2)")._as(test); - this._maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(this._copy_on_write_map$_map, test); + get$isEmpty(receiver) { + return receiver.size === 0; }, - toString$0: function(_) { - return J.toString$0$(this._copy_on_write_map$_map); + get$isNotEmpty(receiver) { + return receiver.size !== 0; }, - _maybeCopyBeforeWrite$0: function() { - var t1, _this = this; - if (!_this._copyBeforeWrite) - return; - _this._copyBeforeWrite = false; - t1 = _this.$ti; - t1 = P.LinkedHashMap_LinkedHashMap$from(_this._copy_on_write_map$_map, t1._precomputed1, t1._rest[1]); - _this.set$_copy_on_write_map$_map(t1); + $indexSet(receiver, key, value) { + A._asStringS(key); + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - set$_copy_on_write_map$_map: function(_map) { - this._copy_on_write_map$_map = this.$ti._eval$1("Map<1,2>")._as(_map); + remove$1(receiver, key) { + throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; - A.CopyOnWriteSet.prototype = { - get$length: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$length(t1); - }, - intersection$1: function(_, other) { - return this._copy_on_write_set$_set.intersection$1(0, other); - }, - union$1: function(other) { - this.$ti._eval$1("Set<1>")._as(other); - return this._copy_on_write_set$_set.union$1(other); - }, - difference$1: function(other) { - return this._copy_on_write_set$_set.difference$1(other); - }, - containsAll$1: function(other) { - return this._copy_on_write_set$_set.containsAll$1(other); - }, - cast$1$0: function(_, $T) { - return new A.CopyOnWriteSet(null, this._copy_on_write_set$_set.cast$1$0(0, $T), $T._eval$1("CopyOnWriteSet<0>")); - }, - contains$1: function(_, element) { - return this._copy_on_write_set$_set.contains$1(0, element); - }, - elementAt$1: function(_, index) { - return this._copy_on_write_set$_set.elementAt$1(0, index); - }, - every$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return this._copy_on_write_set$_set.every$1(0, test); - }, - expand$1$1: function(_, f, $T) { - this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f); - return this._copy_on_write_set$_set.expand$1$1(0, f, $T); - }, - get$first: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$first(t1); - }, - forEach$1: function(_, f) { - this.$ti._eval$1("~(1)")._as(f); - return this._copy_on_write_set$_set.forEach$1(0, f); - }, - get$isEmpty: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$isEmpty(t1); - }, - get$isNotEmpty: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$isNotEmpty(t1); - }, - get$iterator: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$iterator(t1); - }, - join$1: function(_, separator) { - return this._copy_on_write_set$_set.join$1(0, separator); - }, - get$last: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$last(t1); - }, - map$1$1: function(_, f, $T) { - this.$ti._bind$1($T)._eval$1("1(2)")._as(f); - return this._copy_on_write_set$_set.map$1$1(0, f, $T); - }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - }, - get$single: function(_) { - var t1 = this._copy_on_write_set$_set; - return t1.get$single(t1); - }, - skip$1: function(_, count) { - return this._copy_on_write_set$_set.skip$1(0, count); - }, - take$1: function(_, count) { - return this._copy_on_write_set$_set.take$1(0, count); - }, - toList$1$growable: function(_, growable) { - return this._copy_on_write_set$_set.toList$1$growable(0, growable); - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - }, - toSet$0: function(_) { - return this._copy_on_write_set$_set.toSet$0(0); - }, - where$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - return this._copy_on_write_set$_set.where$1(0, test); - }, - add$1: function(_, value) { - this.$ti._precomputed1._as(value); - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - return this._copy_on_write_set$_set.add$1(0, value); - }, - addAll$1: function(_, iterable) { - this.$ti._eval$1("Iterable<1>")._as(iterable); - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - this._copy_on_write_set$_set.addAll$1(0, iterable); - }, - clear$0: function(_) { - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - this._copy_on_write_set$_set.clear$0(0); - }, - remove$1: function(_, value) { - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - return this._copy_on_write_set$_set.remove$1(0, value); - }, - removeWhere$1: function(_, test) { - this.$ti._eval$1("bool(1)")._as(test); - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - this._copy_on_write_set$_set.removeWhere$1(0, test); - }, - removeAll$1: function(elements) { - this._copy_on_write_set$_maybeCopyBeforeWrite$0(); - this._copy_on_write_set$_set.removeAll$1(elements); - }, - toString$0: function(_) { - return J.toString$0$(this._copy_on_write_set$_set); - }, - _copy_on_write_set$_maybeCopyBeforeWrite$0: function() { - var t1, _this = this; - if (!_this._copy_on_write_set$_copyBeforeWrite) - return; - _this._copy_on_write_set$_copyBeforeWrite = false; - t1 = P.LinkedHashSet_LinkedHashSet$from(_this._copy_on_write_set$_set, _this.$ti._precomputed1); - _this.set$_copy_on_write_set$_set(t1); - }, - set$_copy_on_write_set$_set: function(_set) { - this._copy_on_write_set$_set = this.$ti._eval$1("Set<1>")._as(_set); + A.AudioParamMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isSet: 1 + $signature: 34 }; - A.hashObjects_closure.prototype = { - call$2: function(h, i) { - return A._combine(H._asIntS(h), J.get$hashCode$(i)); + A.AudioParamMap_values_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.values, v); }, - $signature: 230 + $signature: 34 }; - D.BuiltList.prototype = { - rebuild$1: function(updates) { - var t1 = this.$ti; - t1._eval$1("@(ListBuilder<1>)")._as(updates); - t1 = D.ListBuilder_ListBuilder(this, t1._precomputed1); - t1.$ti._eval$1("@(ListBuilder<1>)")._as(updates).call$1(t1); - return t1.build$0(); - }, - get$hashCode: function(_) { - var t1 = this._list$_hashCode; - return t1 == null ? this._list$_hashCode = A.hashObjects(this._list) : t1; - }, - $eq: function(_, other) { - var t1, t2, t3, t4, i, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof D.BuiltList)) - return false; - t1 = other._list; - t2 = J.getInterceptor$asx(t1); - t3 = _this._list; - t4 = J.getInterceptor$asx(t3); - if (t2.get$length(t1) != t4.get$length(t3)) - return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) - return false; - for (i = 0; i !== t4.get$length(t3); ++i) - if (!J.$eq$(t2.$index(t1, i), t4.$index(t3, i))) - return false; - return true; - }, - toString$0: function(_) { - return J.toString$0$(this._list); - }, - $index: function(_, index) { - return J.$index$asx(this._list, H._asIntS(index)); - }, - get$length: function(_) { - return J.get$length$asx(this._list); - }, - get$iterator: function(_) { - return J.get$iterator$ax(this._list); - }, - map$1$1: function(_, f, $T) { - return J.map$1$1$ax(this._list, this.$ti._bind$1($T)._eval$1("1(2)")._as(f), $T); - }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - }, - where$1: function(_, test) { - return J.where$1$ax(this._list, this.$ti._eval$1("bool(1)")._as(test)); - }, - expand$1$1: function(_, f, $T) { - return J.expand$1$1$ax(this._list, this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), $T); - }, - contains$1: function(_, element) { - return J.contains$1$asx(this._list, element); - }, - forEach$1: function(_, f) { - return J.forEach$1$ax(this._list, this.$ti._eval$1("~(1)")._as(f)); - }, - every$1: function(_, test) { - return J.every$1$ax(this._list, this.$ti._eval$1("bool(1)")._as(test)); - }, - join$1: function(_, separator) { - return J.join$1$ax(this._list, separator); - }, - toList$1$growable: function(_, growable) { - return new Q.CopyOnWriteList(growable, this._list, this.$ti._eval$1("CopyOnWriteList<1>")); - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - }, - toSet$0: function(_) { - return J.toSet$0$ax(this._list); - }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this._list); - }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this._list); - }, - take$1: function(_, n) { - return J.take$1$ax(this._list, n); - }, - skip$1: function(_, n) { - return J.skip$1$ax(this._list, n); - }, - get$first: function(_) { - return J.get$first$ax(this._list); - }, - get$last: function(_) { - return J.get$last$ax(this._list); - }, - get$single: function(_) { - return J.get$single$ax(this._list); - }, - elementAt$1: function(_, index) { - return J.elementAt$1$ax(this._list, index); - }, - cast$1$0: function(_, $T) { - return H.CastIterable_CastIterable(this._list, this.$ti._precomputed1, $T); - }, - $isIterable: 1, - $isBuiltIterable: 1 + A.AudioScheduledSourceNode.prototype = {}; + A.AudioTrackList.prototype = { + get$length(receiver) { + return receiver.length; + } }; - D._BuiltList.prototype = { - _maybeCheckForNull$0: function() { - if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) - return; - for (var t1 = J.get$iterator$ax(this._list); t1.moveNext$0();) - if (t1.get$current(t1) == null) - throw H.wrapException(P.ArgumentError$("iterable contained invalid element: null")); + A.BaseAudioContext.prototype = {}; + A.ConstantSourceNode.prototype = { + get$offset(receiver) { + return receiver.offset; } }; - D.ListBuilder.prototype = { - get$_list: function() { - var t1 = this.__ListBuilder__list; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t1; - }, - build$0: function() { - var t1, t2, t3, _this = this; - if (_this._listOwner == null) { - t1 = _this.get$_list(); - t2 = _this.$ti; - t3 = t2._eval$1("_BuiltList<1>"); - t3 = t3._as(new D._BuiltList(t1, t3)); - _this.set$__ListBuilder__list(t2._eval$1("List<1>")._as(t1)); - _this.set$_listOwner(t3); + A.OfflineAudioContext.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A._AudioParamMap_JavaScriptObject_MapMixin.prototype = {}; + A.Archive.prototype = { + addFile$1(_, file) { + var t2, + t1 = this._fileMap, + index = t1.$index(0, file.name); + if (index != null) { + B.JSArray_methods.$indexSet(this._files, index, file); + return; } - t1 = _this._listOwner; - t1.toString; - return t1; + t2 = this._files; + B.JSArray_methods.add$1(t2, file); + t1.$indexSet(0, file.name, t2.length - 1); }, - replace$1: function(_, iterable) { - var _this = this, - t1 = _this.$ti, - t2 = t1._eval$1("_BuiltList<1>"), - t3 = t1._eval$1("List<1>"); - if (t2._is(iterable)) { - t2._as(iterable); - _this.set$__ListBuilder__list(t3._as(iterable._list)); - _this.set$_listOwner(iterable); - } else { - _this.set$__ListBuilder__list(t3._as(P.List_List$from(iterable, true, t1._precomputed1))); - _this.set$_listOwner(null); - } + get$length(_) { + return this._files.length; }, - $index: function(_, index) { - H._asIntS(index); - return J.$index$asx(this.get$_list(), index); + $index(_, index) { + return B.JSArray_methods.$index(this._files, A._asIntS(index)); }, - $indexSet: function(_, index, element) { - var t1; - H._asIntS(index); - t1 = this.$ti._precomputed1; - t1._as(element); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (element == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(this.get$_safeList(), index, element); + findFile$1($name) { + var t1, + index = this._fileMap.$index(0, $name); + if (index != null) { + t1 = this._files; + if (index >>> 0 !== index || index >= t1.length) + return A.ioore(t1, index); + t1 = t1[index]; + } else + t1 = null; + return t1; }, - get$length: function(_) { - return J.get$length$asx(this.get$_list()); + get$first(_) { + return B.JSArray_methods.get$first(this._files); }, - add$1: function(_, value) { - var t1 = this.$ti._precomputed1; - t1._as(value); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - J.add$1$ax(this.get$_safeList(), value); + get$last(_) { + return B.JSArray_methods.get$last(this._files); }, - addAll$1: function(_, iterable) { - var safeList, lengthBefore, i, t2, exception, - t1 = this.$ti; - t1._eval$1("Iterable<1>")._as(iterable); - safeList = this.get$_safeList(); - lengthBefore = J.get$length$asx(safeList); - J.addAll$1$ax(safeList, iterable); - if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) - return; - try { - i = lengthBefore; - t1 = t1._precomputed1; - while (!J.$eq$(i, J.get$length$asx(safeList))) { - if (t1._as(J.$index$asx(safeList, i)) == null) - H.throwExpression(P.ArgumentError$("null element")); - t2 = i; - if (typeof t2 !== "number") - return t2.$add(); - i = t2 + 1; - } - } catch (exception) { - H.unwrapException(exception); - J.removeRange$2$ax(safeList, lengthBefore, J.get$length$asx(safeList)); - throw exception; - } + get$isEmpty(_) { + return this._files.length === 0; }, - setRange$4: function(_, start, end, iterable, skipCount) { - var t1; - H._asIntS(end); - t1 = this.$ti; - iterable = E.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); - this._list$_maybeCheckElements$1(iterable); - J.setRange$4$ax(this.get$_safeList(), start, end, iterable, skipCount); + get$isNotEmpty(_) { + return this._files.length !== 0; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + get$iterator(_) { + var t1 = this._files; + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + }; + A.ArchiveFile.prototype = { + ArchiveFile$4($name, size, $content, _compressionType) { + var t2, _this = this, + t1 = _this.name; + t1.toString; + _this.name = A.stringReplaceAllUnchecked(t1, "\\", "/"); + t1 = type$.Uint8List; + if (t1._is($content)) { + _this._archive_file$_content = $content; + _this._rawContent = A.InputStream$($content, 0, null, 0); + t1 = _this.size; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= 0) + _this.size = J.get$length$asx($content); + } else if (type$.TypedData._is($content)) { + t2 = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); + _this._archive_file$_content = t2; + _this._rawContent = A.InputStream$(t2, 0, null, 0); + t2 = _this.size; + if (typeof t2 !== "number") + return t2.$le(); + if (t2 <= 0) + _this.size = J.get$length$asx(t1._as(_this._archive_file$_content)); + } else if (type$.List_int._is($content)) { + _this._archive_file$_content = $content; + _this._rawContent = A.InputStream$($content, 0, null, 0); + t1 = _this.size; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= 0) + _this.size = J.get$length$asx($content); + } else if ($content instanceof A.FileContent) + _this._archive_file$_content = $content; }, - map$1: function(_, f) { - var result, _this = this, - t1 = _this.$ti; - t1._eval$1("1(1)")._as(f); - result = J.map$1$1$ax(_this.get$_list(), f, t1._precomputed1).toList$1$growable(0, true); - _this._list$_maybeCheckElements$1(result); - _this.set$__ListBuilder__list(t1._eval$1("List<1>")._as(result)); - _this.set$_listOwner(null); + get$content(_) { + var _this = this, + t1 = _this._archive_file$_content; + if ((t1 instanceof A.FileContent ? _this._archive_file$_content = t1.get$content(t1) : t1) == null) + _this.decompress$0(); + return _this._archive_file$_content; }, - get$_safeList: function() { + decompress$0() { var t1, _this = this; - if (_this._listOwner != null) { - t1 = _this.$ti; - _this.set$__ListBuilder__list(t1._eval$1("List<1>")._as(P.List_List$from(_this.get$_list(), true, t1._precomputed1))); - _this.set$_listOwner(null); + if (_this._archive_file$_content == null && _this._rawContent != null) { + if (_this._compressionType === 8) { + t1 = A.Inflate$(_this._rawContent.toUint8List$0()).output; + _this._archive_file$_content = type$.List_int._as(B.NativeByteBuffer_methods.asUint8List$2(t1._output_stream$_buffer.buffer, 0, t1.length)); + } else + _this._archive_file$_content = _this._rawContent.toUint8List$0(); + _this._compressionType = 0; } - return _this.get$_list(); - }, - _list$_maybeCheckElements$1: function(elements) { - var t2, - t1 = this.$ti; - t1._eval$1("Iterable<1>")._as(elements); - if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) - return; - for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) - if (t1._as(t2.get$current(t2)) == null) - H.throwExpression(P.ArgumentError$("null element")); }, - set$__ListBuilder__list: function(__ListBuilder__list) { - this.__ListBuilder__list = this.$ti._eval$1("List<1>?")._as(__ListBuilder__list); - }, - set$_listOwner: function(_listOwner) { - this._listOwner = this.$ti._eval$1("_BuiltList<1>?")._as(_listOwner); + toString$0(_) { + return this.name; } }; - R.BuiltListMultimap.prototype = { - get$hashCode: function(_) { - var _this = this, - t1 = _this._list_multimap$_hashCode; - if (t1 == null) { - t1 = J.map$1$1$ax(J.get$keys$x(_this._list_multimap$_map), new R.BuiltListMultimap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); - C.JSArray_methods.sort$0(t1); - t1 = _this._list_multimap$_hashCode = A.hashObjects(t1); + A.Bz2BitReader.prototype = { + readBits$1(numBits) { + var t1, value, t2, t3, t4, t5, _this = this; + if (numBits === 0) + return 0; + if (_this._bitPos === 0) { + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = _this.input.readByte$0(); } - return t1; - }, - $eq: function(_, other) { - var t1, t2, t3, t4, t5, t6, t7, key, result, t8, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof R.BuiltListMultimap)) - return false; - t1 = other._list_multimap$_map; - t2 = J.getInterceptor$asx(t1); - t3 = _this._list_multimap$_map; - t4 = J.getInterceptor$asx(t3); - if (t2.get$length(t1) != t4.get$length(t3)) - return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) - return false; - for (t5 = J.get$iterator$ax(_this.get$keys(_this)), t6 = other._emptyList, t7 = _this._emptyList; t5.moveNext$0();) { - key = t5.get$current(t5); - result = t2.$index(t1, key); - t8 = result == null ? t6 : result; - result = t4.$index(t3, key); - if (!t8.$eq(0, result == null ? t7 : result)) - return false; + for (t1 = _this.input, value = 0; t2 = _this._bitPos, numBits > t2;) { + t3 = B.JSInt_methods.$shl(value, t2); + t4 = _this._bz2_bit_reader$_bitBuffer; + if (!(t2 >= 0 && t2 < 9)) + return A.ioore(B.List_knt, t2); + t5 = B.List_knt[t2]; + if (typeof t4 !== "number") + return t4.$and(); + value = t3 + (t4 & t5); + numBits -= t2; + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = J.$index$asx(t1.buffer, t1.offset++); } - return true; - }, - toString$0: function(_) { - return J.toString$0$(this._list_multimap$_map); - }, - $index: function(_, key) { - var result = J.$index$asx(this._list_multimap$_map, key); - return result == null ? this._emptyList : result; - }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._list_multimap$_map, key); - }, - get$keys: function(_) { - var t1, _this = this; - if (_this._list_multimap$_keys == null) - _this.set$_list_multimap$_keys(J.get$keys$x(_this._list_multimap$_map)); - t1 = _this._list_multimap$_keys; - t1.toString; - return t1; - }, - get$length: function(_) { - return J.get$length$asx(this._list_multimap$_map); - }, - set$_list_multimap$_keys: function(_keys) { - this._list_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); - } - }; - R.BuiltListMultimap_BuiltListMultimap_closure.prototype = { - call$1: function(k) { - return this.multimap.$index(0, k); - }, - $signature: 14 - }; - R.BuiltListMultimap_hashCode_closure.prototype = { - call$1: function(key) { - var t2, - t1 = this.$this; - t1.$ti._precomputed1._as(key); - t2 = J.get$hashCode$(key); - t1 = J.get$hashCode$(J.$index$asx(t1._list_multimap$_map, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); - }, - $signature: function() { - return this.$this.$ti._eval$1("int(1)"); - } - }; - R._BuiltListMultimap.prototype = { - _BuiltListMultimap$copy$2: function(keys, lookup, $K, $V) { - var t1, t2, t3, t4, key; - for (t1 = J.get$iterator$ax(keys), t2 = this._list_multimap$_map, t3 = type$.Iterable_dynamic, t4 = J.getInterceptor$ax(t2); t1.moveNext$0();) { - key = t1.get$current(t1); - if ($K._is(key)) - t4.$indexSet(t2, key, D.BuiltList_BuiltList$from(t3._as(lookup.call$1(key)), $V)); - else - throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + if (numBits > 0) { + if (t2 === 0) { + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = t1.readByte$0(); + } + t1 = B.JSInt_methods.$shl(value, numBits); + t2 = _this._bz2_bit_reader$_bitBuffer; + t3 = _this._bitPos - numBits; + if (typeof t2 !== "number") + return t2.$shr(); + t2 = B.JSInt_methods.$shr(t2, t3); + if (!(numBits < 9)) + return A.ioore(B.List_knt, numBits); + value = t1 + (t2 & B.List_knt[numBits]); + _this._bitPos = t3; } + return value; } }; - R.ListMultimapBuilder.prototype = { - get$_list_multimap$_builtMap: function() { - var t1 = this.__ListMultimapBuilder__builtMap; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t1; - }, - get$_list_multimap$_builderMap: function() { - var t1 = this.__ListMultimapBuilder__builderMap; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t1; - }, - build$0: function() { - var t1, key, t2, t3, t4, t5, builtList, _this = this, - _s9_ = "_builtMap"; - if (_this._list_multimap$_builtMapOwner == null) { - for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_list_multimap$_builderMap())); t1.moveNext$0();) { - key = t1.get$current(t1); - t2 = _this.__ListMultimapBuilder__builderMap; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t2, key); - if (t2._listOwner == null) { - t3 = t2.__ListBuilder__list; - if (t3 === $) - t3 = H.throwExpression(H.LateError$fieldNI("_list")); - t4 = H.instanceType(t2); - t5 = t4._eval$1("_BuiltList<1>"); - t5 = t5._as(new D._BuiltList(t3, t5)); - t2.set$__ListBuilder__list(t4._eval$1("List<1>")._as(t3)); - t2.set$_listOwner(t5); - } - builtList = t2._listOwner; - t2 = J.get$isEmpty$asx(builtList._list); - t3 = _this.__ListMultimapBuilder__builtMap; - if (t2) - J.remove$1$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key); - else - J.$indexSet$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key, builtList); + A.BZip2Decoder.prototype = { + decodeStream$2(input, output) { + var t1, combinedCrc, type, blockCrc, _this = this, + br = new A.Bz2BitReader(input); + _this._gMinlen = _this._gSel = _this._groupNo = _this._groupPos = 0; + if (br.readBits$1(8) !== 66 || br.readBits$1(8) !== 90 || br.readBits$1(8) !== 104) + throw A.wrapException(A.ArchiveException$("Invalid Signature")); + t1 = _this.__BZip2Decoder__blockSize100k_A = br.readBits$1(8) - 48; + if (t1 < 0 || t1 > 9) + throw A.wrapException(A.ArchiveException$("Invalid BlockSize")); + _this.__BZip2Decoder__tt_A = new Uint32Array(t1 * 100000); + for (combinedCrc = 0; true;) { + type = _this._readBlockType$1(br); + if (type === 0) { + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + blockCrc = _this._readCompressed$2(br, output); + combinedCrc = (combinedCrc << 1 | combinedCrc >>> 31) ^ blockCrc ^ 4294967295; + } else if (type === 2) { + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + return; } - t1 = _this.$ti; - t2 = t1._rest[1]; - _this.set$_list_multimap$_builtMapOwner(new R._BuiltListMultimap(_this.get$_list_multimap$_builtMap(), D.BuiltList_BuiltList$from(C.List_empty, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltListMultimap<1,2>"))); } - t1 = _this._list_multimap$_builtMapOwner; - t1.toString; - return t1; - }, - replace$1: function(_, multimap) { - this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new R.ListMultimapBuilder_replace_closure(multimap)); }, - $index: function(_, key) { - var t1; - this._makeWriteableCopy$0(); - t1 = this.$ti; - return t1._precomputed1._is(key) ? this._list_multimap$_getValuesBuilder$1(key) : D.ListBuilder_ListBuilder(C.List_empty, t1._rest[1]); + _readBlockType$1(br) { + var eos, compressed, i, b; + for (eos = true, compressed = true, i = 0; i < 6; ++i) { + b = br.readBits$1(8); + if (b !== B.List_ww8[i]) + compressed = false; + if (b !== B.List_ww80[i]) + eos = false; + if (!eos && !compressed) + throw A.wrapException(A.ArchiveException$("Invalid Block Signature")); + } + return compressed ? 0 : 2; }, - _list_multimap$_getValuesBuilder$1: function(key) { - var result, builtValues, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(key); - result = J.$index$asx(_this.get$_list_multimap$_builderMap(), key); - if (result == null) { - builtValues = J.$index$asx(_this.get$_list_multimap$_builtMap(), key); - result = builtValues == null ? D.ListBuilder_ListBuilder(C.List_empty, t1._rest[1]) : D.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); - J.$indexSet$ax(_this.get$_list_multimap$_builderMap(), key, result); + _readCompressed$2(br, output) { + var i, k, j, t1, t2, t3, alphaSize, numGroups, pos, v, tmp, v0, t, c, minLen, maxLen, t4, eob, nblockMAX, kk, ii, jj, nextSym, nblock, es, $N, uc, nn, pp, z, lno, off, pp0, tPos, tPos0, k0, rNToGo, rTPos, sSaveNBlockPP, blockCrc, cStateOutLen, cStateOutCh, cNBlockUsed, k1, k00, cK0, cK00, _this = this, + _s10_ = "Data error", + _s4_ = "_len", + _s11_ = "_seqToUnseq", + _s3_ = "_tt", _4294967295 = 4294967295, + _s10_0 = "Data Error", + blockRandomized = br.readBits$1(1), + origPtr = ((br.readBits$1(8) << 8 | br.readBits$1(8)) << 8 | br.readBits$1(8)) >>> 0; + _this.__BZip2Decoder__inUse16_A = new Uint8Array(16); + for (i = 0; i < 16; ++i) + _this.__BZip2Decoder__inUse16_A[i] = br.readBits$1(1); + _this.__BZip2Decoder__inUse_A = new Uint8Array(256); + for (i = 0, k = 0; i < 16; ++i, k += 16) + if (_this.__BZip2Decoder__inUse16_A[i] !== 0) + for (j = 0; j < 16; ++j) { + t1 = _this.__BZip2Decoder__inUse_A; + t2 = k + j; + t3 = br.readBits$1(1); + if (!(t2 < 256)) + return A.ioore(t1, t2); + t1[t2] = t3; + } + _this._makeMaps$0(); + t1 = _this._numInUse; + if (t1 === 0) + throw A.wrapException(A.ArchiveException$(_s10_)); + alphaSize = t1 + 2; + numGroups = br.readBits$1(3); + if (numGroups < 2 || numGroups > 6) + throw A.wrapException(A.ArchiveException$(_s10_)); + t1 = br.readBits$1(15); + _this.__BZip2Decoder__numSelectors_A = t1; + if (t1 < 1) + throw A.wrapException(A.ArchiveException$(_s10_)); + _this.__BZip2Decoder__selectorMtf_A = new Uint8Array(18002); + _this.__BZip2Decoder__selector_A = new Uint8Array(18002); + for (i = 0; t1 = _this.__BZip2Decoder__numSelectors_A, i < t1; ++i) { + for (j = 0; true;) { + if (br.readBits$1(1) === 0) + break; + ++j; + if (j >= numGroups) + throw A.wrapException(A.ArchiveException$(_s10_)); + } + t1 = _this.__BZip2Decoder__selectorMtf_A; + if (!(i < 18002)) + return A.ioore(t1, i); + t1[i] = j; } - return result; + pos = new Uint8Array(6); + for (i = 0; i < numGroups; ++i) { + if (!(i < 6)) + return A.ioore(pos, i); + pos[i] = i; + } + for (t2 = _this.__BZip2Decoder__selector_A, t3 = _this.__BZip2Decoder__selectorMtf_A, i = 0; i < t1; ++i) { + if (!(i < 18002)) + return A.ioore(t3, i); + v = t3[i]; + if (!(v < 6)) + return A.ioore(pos, v); + tmp = pos[v]; + for (; v > 0; v = v0) { + v0 = v - 1; + pos[v] = pos[v0]; + } + pos[0] = tmp; + t2[i] = tmp; + } + _this.set$__BZip2Decoder__len_A(type$.List_Uint8List._as(A.List_List$filled(6, $.$get$BZip2_emptyUint8List(), false, type$.Uint8List))); + for (t = 0; t < numGroups; ++t) { + t1 = _this.__BZip2Decoder__len_A; + t1 === $ && A.throwLateFieldNI(_s4_); + B.JSArray_methods.$indexSet(t1, t, new Uint8Array(258)); + c = br.readBits$1(5); + for (i = 0; i < alphaSize; ++i) { + for (; true;) { + if (c < 1 || c > 20) + throw A.wrapException(A.ArchiveException$(_s10_)); + if (br.readBits$1(1) === 0) + break; + c = br.readBits$1(1) === 0 ? c + 1 : c - 1; + } + t1 = _this.__BZip2Decoder__len_A; + if (!(t < 6)) + return A.ioore(t1, t); + J.$indexSet$ax(t1[t], i, c); + } + } + t1 = $.$get$BZip2_emptyInt32List(); + t2 = type$.Int32List; + t3 = type$.List_Int32List; + _this.set$__BZip2Decoder__limit_A(t3._as(A.List_List$filled(6, t1, false, t2))); + _this.set$__BZip2Decoder__base_A(t3._as(A.List_List$filled(6, t1, false, t2))); + _this.set$__BZip2Decoder__perm_A(t3._as(A.List_List$filled(6, t1, false, t2))); + _this.__BZip2Decoder__minLens_A = new Int32Array(6); + for (t = 0; t < numGroups; ++t) { + t1 = _this.__BZip2Decoder__limit_A; + t1 === $ && A.throwLateFieldNI("_limit"); + B.JSArray_methods.$indexSet(t1, t, new Int32Array(258)); + t1 = _this.__BZip2Decoder__base_A; + t1 === $ && A.throwLateFieldNI("_base"); + B.JSArray_methods.$indexSet(t1, t, new Int32Array(258)); + t1 = _this.__BZip2Decoder__perm_A; + t1 === $ && A.throwLateFieldNI("_perm"); + B.JSArray_methods.$indexSet(t1, t, new Int32Array(258)); + for (minLen = 32, maxLen = 0, i = 0; i < alphaSize; ++i) { + t1 = _this.__BZip2Decoder__len_A; + t1 === $ && A.throwLateFieldNI(_s4_); + if (!(t < 6)) + return A.ioore(t1, t); + if (J.$index$asx(t1[t], i) > maxLen) + maxLen = J.$index$asx(_this.__BZip2Decoder__len_A[t], i); + if (J.$index$asx(_this.__BZip2Decoder__len_A[t], i) < minLen) + minLen = J.$index$asx(_this.__BZip2Decoder__len_A[t], i); + } + t1 = _this.__BZip2Decoder__limit_A; + if (!(t < 6)) + return A.ioore(t1, t); + t1 = t1[t]; + t2 = _this.__BZip2Decoder__base_A[t]; + t3 = _this.__BZip2Decoder__perm_A[t]; + t4 = _this.__BZip2Decoder__len_A; + t4 === $ && A.throwLateFieldNI(_s4_); + _this._hbCreateDecodeTables$7(t1, t2, t3, t4[t], minLen, maxLen, alphaSize); + _this.__BZip2Decoder__minLens_A[t] = minLen; + } + eob = _this._numInUse + 1; + t1 = _this.__BZip2Decoder__blockSize100k_A; + t1 === $ && A.throwLateFieldNI("_blockSize100k"); + nblockMAX = 100000 * t1; + _this.__BZip2Decoder__unzftab_A = new Int32Array(256); + t1 = _this.__BZip2Decoder__mtfa_A = new Uint8Array(4096); + t2 = new Int32Array(16); + _this.__BZip2Decoder__mtfbase_A = t2; + for (kk = 4095, ii = 15; ii >= 0; --ii) { + for (t3 = ii * 16, jj = 15; jj >= 0; --jj) { + if (!(kk >= 0 && kk < 4096)) + return A.ioore(t1, kk); + t1[kk] = t3 + jj; + --kk; + } + t2[ii] = kk + 1; + } + _this._groupPos = 0; + _this._groupNo = -1; + nextSym = _this._getMtfVal$1(br); + for (nblock = 0; true;) { + if (nextSym === eob) + break; + if (nextSym === 0 || nextSym === 1) { + es = -1; + $N = 1; + do { + if ($N >= 2097152) + throw A.wrapException(A.ArchiveException$(_s10_)); + if (nextSym === 0) + es += $N; + else if (nextSym === 1) + es += 2 * $N; + $N *= 2; + nextSym = _this._getMtfVal$1(br); + } while (nextSym === 0 || nextSym === 1); + ++es; + t1 = _this.__BZip2Decoder__seqToUnseq_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t2 = _this.__BZip2Decoder__mtfa_A; + t3 = _this.__BZip2Decoder__mtfbase_A[0]; + if (!(t3 >= 0 && t3 < 4096)) + return A.ioore(t2, t3); + t3 = t2[t3]; + if (!(t3 >= 0 && t3 < 256)) + return A.ioore(t1, t3); + uc = t1[t3]; + t3 = _this.__BZip2Decoder__unzftab_A; + if (!(uc < 256)) + return A.ioore(t3, uc); + t3[uc] = t3[uc] + es; + for (t1 = _this.__BZip2Decoder__tt_A; es > 0;) { + if (nblock >= nblockMAX) + throw A.wrapException(A.ArchiveException$(_s10_)); + t1 === $ && A.throwLateFieldNI(_s3_); + if (!(nblock >= 0 && nblock < t1.length)) + return A.ioore(t1, nblock); + t1[nblock] = uc; + ++nblock; + --es; + } + continue; + } else { + if (nblock >= nblockMAX) + throw A.wrapException(A.ArchiveException$(_s10_)); + nn = nextSym - 1; + t1 = _this.__BZip2Decoder__mtfbase_A; + t2 = _this.__BZip2Decoder__mtfa_A; + if (nn < 16) { + pp = t1[0]; + t1 = pp + nn; + if (!(t1 >= 0 && t1 < 4096)) + return A.ioore(t2, t1); + uc = t2[t1]; + for (; nn > 3;) { + z = pp + nn; + t1 = z - 1; + if (!(t1 >= 0 && t1 < 4096)) + return A.ioore(t2, t1); + t3 = t2[t1]; + if (!(z >= 0 && z < 4096)) + return A.ioore(t2, z); + t2[z] = t3; + t3 = z - 2; + if (!(t3 >= 0)) + return A.ioore(t2, t3); + t2[t1] = t2[t3]; + t1 = z - 3; + if (!(t1 >= 0)) + return A.ioore(t2, t1); + t2[t3] = t2[t1]; + t3 = z - 4; + if (!(t3 >= 0)) + return A.ioore(t2, t3); + t2[t1] = t2[t3]; + nn -= 4; + } + for (; nn > 0;) { + t1 = pp + nn; + t3 = t1 - 1; + if (!(t3 >= 0 && t3 < 4096)) + return A.ioore(t2, t3); + t3 = t2[t3]; + if (!(t1 >= 0 && t1 < 4096)) + return A.ioore(t2, t1); + t2[t1] = t3; + --nn; + } + if (!(pp >= 0 && pp < 4096)) + return A.ioore(t2, pp); + t2[pp] = uc; + } else { + lno = B.JSInt_methods._tdivFast$1(nn, 16); + off = B.JSInt_methods.$mod(nn, 16); + if (!(lno >= 0 && lno < 16)) + return A.ioore(t1, lno); + pp = t1[lno] + off; + if (!(pp >= 0 && pp < 4096)) + return A.ioore(t2, pp); + uc = t2[pp]; + for (; t3 = t1[lno], pp > t3; pp = pp0) { + pp0 = pp - 1; + if (!(pp0 >= 0)) + return A.ioore(t2, pp0); + t3 = t2[pp0]; + if (!(pp >= 0)) + return A.ioore(t2, pp); + t2[pp] = t3; + } + t1[lno] = t3 + 1; + for (; lno > 0;) { + t1[lno] = t1[lno] - 1; + t3 = t1[lno]; + --lno; + t4 = t1[lno] + 16 - 1; + if (!(t4 >= 0 && t4 < 4096)) + return A.ioore(t2, t4); + t4 = t2[t4]; + if (!(t3 >= 0 && t3 < 4096)) + return A.ioore(t2, t3); + t2[t3] = t4; + } + t1[0] = t1[0] - 1; + t3 = t1[0]; + if (!(t3 >= 0 && t3 < 4096)) + return A.ioore(t2, t3); + t2[t3] = uc; + if (t1[0] === 0) + for (kk = 4095, ii = 15; ii >= 0; --ii) { + for (jj = 15; jj >= 0; --jj) { + t3 = t1[ii] + jj; + if (!(t3 >= 0 && t3 < 4096)) + return A.ioore(t2, t3); + t3 = t2[t3]; + if (!(kk >= 0 && kk < 4096)) + return A.ioore(t2, kk); + t2[kk] = t3; + --kk; + } + t1[ii] = kk + 1; + } + } + t1 = _this.__BZip2Decoder__unzftab_A; + t2 = _this.__BZip2Decoder__seqToUnseq_A; + t2 === $ && A.throwLateFieldNI(_s11_); + if (!(uc >= 0 && uc < 256)) + return A.ioore(t2, uc); + t3 = t2[uc]; + if (!(t3 < 256)) + return A.ioore(t1, t3); + t1[t3] = t1[t3] + 1; + t3 = _this.__BZip2Decoder__tt_A; + t3 === $ && A.throwLateFieldNI(_s3_); + t2 = t2[uc]; + if (!(nblock >= 0 && nblock < t3.length)) + return A.ioore(t3, nblock); + t3[nblock] = t2; + ++nblock; + nextSym = _this._getMtfVal$1(br); + continue; + } + } + if (origPtr >= nblock) + throw A.wrapException(A.ArchiveException$(_s10_)); + for (t1 = _this.__BZip2Decoder__unzftab_A, i = 0; i <= 255; ++i) { + t2 = t1[i]; + if (t2 < 0 || t2 > nblock) + throw A.wrapException(A.ArchiveException$(_s10_)); + } + t1 = _this.__BZip2Decoder__cftab_A = new Int32Array(257); + t1[0] = 0; + for (t2 = _this.__BZip2Decoder__unzftab_A, i = 1; i <= 256; ++i) + t1[i] = t2[i - 1]; + for (i = 1; i <= 256; ++i) + t1[i] = t1[i] + t1[i - 1]; + for (i = 0; i <= 256; ++i) { + t2 = t1[i]; + if (t2 < 0 || t2 > nblock) + throw A.wrapException(A.ArchiveException$(_s10_)); + } + for (i = 1; i <= 256; ++i) + if (t1[i - 1] > t1[i]) + throw A.wrapException(A.ArchiveException$(_s10_)); + for (t2 = _this.__BZip2Decoder__tt_A, i = 0; i < nblock; ++i) { + t2 === $ && A.throwLateFieldNI(_s3_); + t3 = t2.length; + if (!(i < t3)) + return A.ioore(t2, i); + uc = t2[i] & 255; + t4 = t1[uc]; + if (!(t4 >= 0 && t4 < t3)) + return A.ioore(t2, t4); + t2[t4] = (t2[t4] | i << 8) >>> 0; + t1[uc] = t1[uc] + 1; + } + t2 === $ && A.throwLateFieldNI(_s3_); + t1 = t2.length; + if (!(origPtr < t1)) + return A.ioore(t2, origPtr); + tPos = t2[origPtr] >>> 8; + t3 = blockRandomized !== 0; + if (t3) { + if (tPos >= 100000 * _this.__BZip2Decoder__blockSize100k_A) + throw A.wrapException(A.ArchiveException$(_s10_)); + if (!(tPos < t1)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + tPos0 = tPos >>> 8; + k0 = tPos & 255 ^ 0; + tPos = tPos0; + rNToGo = 618; + rTPos = 1; + } else { + if (tPos >= 100000 * _this.__BZip2Decoder__blockSize100k_A) + return _4294967295; + if (!(tPos < t1)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + k0 = tPos & 255; + tPos = tPos >>> 8; + rNToGo = 0; + rTPos = 0; + } + sSaveNBlockPP = nblock + 1; + if (t3) + for (blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = k0, k0 = k00) { + for (t1 = cStateOutCh & 255; true;) { + if (cStateOutLen === 0) + break; + output.writeByte$1(cStateOutCh); + t2 = blockCrc >>> 24 & 255 ^ t1; + if (!(t2 < 256)) + return A.ioore(B.List_E4S, t2); + blockCrc = (blockCrc << 8 ^ B.List_E4S[t2]) >>> 0; + --cStateOutLen; + } + if (cNBlockUsed === sSaveNBlockPP) + return blockCrc; + if (cNBlockUsed > sSaveNBlockPP) + throw A.wrapException(A.ArchiveException$("Data error.")); + t1 = _this.__BZip2Decoder__tt_A; + t2 = t1.length; + if (!(tPos >= 0 && tPos < t2)) + return A.ioore(t1, tPos); + tPos = t1[tPos]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (!(rTPos < 512)) + return A.ioore(B.List_Ewu, rTPos); + rNToGo = B.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + --rNToGo; + t3 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t3; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 1; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 1; + continue; + } + if (!(tPos0 < t2)) + return A.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (!(rTPos < 512)) + return A.ioore(B.List_Ewu, rTPos); + rNToGo = B.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t3 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t3; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 2; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 2; + continue; + } + if (!(tPos0 < t2)) + return A.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (!(rTPos < 512)) + return A.ioore(B.List_Ewu, rTPos); + rNToGo = B.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t3 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t3; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 3; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 3; + continue; + } + if (!(tPos0 < t2)) + return A.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (!(rTPos < 512)) + return A.ioore(B.List_Ewu, rTPos); + rNToGo = B.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t3 = rNToGo === 1 ? 1 : 0; + cStateOutLen = (tPos & 255 ^ t3) + 4; + if (!(tPos0 < t2)) + return A.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (!(rTPos < 512)) + return A.ioore(B.List_Ewu, rTPos); + rNToGo = B.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t1 = rNToGo === 1 ? 1 : 0; + k00 = tPos & 255 ^ t1; + cNBlockUsed = cNBlockUsed + 1 + 1; + tPos = tPos0; + } + else + for (cK0 = k0, blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = cK0, cK0 = cK00) { + if (cStateOutLen > 0) { + for (t1 = cStateOutCh & 255; true;) { + if (cStateOutLen === 1) + break; + output.writeByte$1(cStateOutCh); + t2 = blockCrc >>> 24 & 255 ^ t1; + if (!(t2 < 256)) + return A.ioore(B.List_E4S, t2); + blockCrc = blockCrc << 8 ^ B.List_E4S[t2]; + --cStateOutLen; + } + output.writeByte$1(cStateOutCh); + t1 = blockCrc >>> 24 & 255 ^ t1; + if (!(t1 < 256)) + return A.ioore(B.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ B.List_E4S[t1]) >>> 0; + } + if (cNBlockUsed > sSaveNBlockPP) + throw A.wrapException(A.ArchiveException$(_s10_)); + if (cNBlockUsed === sSaveNBlockPP) + return blockCrc; + t1 = 100000 * _this.__BZip2Decoder__blockSize100k_A; + if (tPos >= t1) + throw A.wrapException(A.ArchiveException$(_s10_0)); + t2 = _this.__BZip2Decoder__tt_A; + t3 = t2.length; + if (!(tPos >= 0 && tPos < t3)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (k1 !== cK0) { + output.writeByte$1(cK0); + t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; + if (!(t1 < 256)) + return A.ioore(B.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ B.List_E4S[t1]) >>> 0; + cK00 = k1; + cStateOutLen = 0; + continue; + } + if (cNBlockUsed === sSaveNBlockPP) { + output.writeByte$1(cK0); + t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; + if (!(t1 < 256)) + return A.ioore(B.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ B.List_E4S[t1]) >>> 0; + cK00 = cK0; + cStateOutLen = 0; + continue; + } + if (tPos >= t1) + throw A.wrapException(A.ArchiveException$(_s10_0)); + if (!(tPos < t3)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + cK00 = cK0; + cStateOutLen = 2; + continue; + } + if (k1 !== cK0) { + cK00 = k1; + cStateOutLen = 2; + continue; + } + if (tPos >= t1) + throw A.wrapException(A.ArchiveException$(_s10_0)); + if (!(tPos < t3)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + cK00 = cK0; + cStateOutLen = 3; + continue; + } + if (k1 !== cK0) { + cK00 = k1; + cStateOutLen = 3; + continue; + } + if (tPos >= t1) + throw A.wrapException(A.ArchiveException$(_s10_0)); + if (!(tPos < t3)) + return A.ioore(t2, tPos); + tPos = t2[tPos]; + tPos0 = tPos >>> 8; + cStateOutLen = (tPos & 255) + 4; + if (tPos0 >= t1) + throw A.wrapException(A.ArchiveException$(_s10_0)); + if (!(tPos0 < t3)) + return A.ioore(t2, tPos0); + tPos = t2[tPos0]; + cK00 = tPos & 255; + tPos = tPos >>> 8; + cNBlockUsed = cNBlockUsed + 1 + 1; + } + return blockCrc; }, - _makeWriteableCopy$0: function() { - var t1, _this = this; - if (_this._list_multimap$_builtMapOwner != null) { - t1 = _this.$ti; - _this.set$__ListMultimapBuilder__builtMap(t1._eval$1("Map<1,BuiltList<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(_this.get$_list_multimap$_builtMap(), t1._precomputed1, t1._eval$1("BuiltList<2>")))); - _this.set$_list_multimap$_builtMapOwner(null); + _getMtfVal$1(br) { + var t2, t3, zn, zvec, _this = this, + _s10_ = "Data error", + t1 = _this._groupPos; + if (t1 === 0) { + t1 = ++_this._groupNo; + t2 = _this.__BZip2Decoder__numSelectors_A; + t2 === $ && A.throwLateFieldNI("_numSelectors"); + if (t1 >= t2) + throw A.wrapException(A.ArchiveException$(_s10_)); + t2 = _this._groupPos = 50; + t3 = _this.__BZip2Decoder__selector_A; + t3 === $ && A.throwLateFieldNI("_selector"); + if (!(t1 >= 0 && t1 < 18002)) + return A.ioore(t3, t1); + t1 = t3[t1]; + _this._gSel = t1; + t3 = _this.__BZip2Decoder__minLens_A; + t3 === $ && A.throwLateFieldNI("_minLens"); + if (!(t1 < 6)) + return A.ioore(t3, t1); + _this._gMinlen = t3[t1]; + t3 = _this.__BZip2Decoder__limit_A; + t3 === $ && A.throwLateFieldNI("_limit"); + _this.__BZip2Decoder__gLimit_A = t3[t1]; + t3 = _this.__BZip2Decoder__perm_A; + t3 === $ && A.throwLateFieldNI("_perm"); + _this.__BZip2Decoder__gPerm_A = t3[t1]; + t3 = _this.__BZip2Decoder__base_A; + t3 === $ && A.throwLateFieldNI("_base"); + _this.__BZip2Decoder__gBase_A = t3[t1]; + t1 = t2; + } + _this._groupPos = t1 - 1; + zn = _this._gMinlen; + zvec = br.readBits$1(zn); + for (; true;) { + if (zn > 20) + throw A.wrapException(A.ArchiveException$(_s10_)); + t1 = _this.__BZip2Decoder__gLimit_A; + t1 === $ && A.throwLateFieldNI("_gLimit"); + if (zvec <= J.$index$asx(t1, zn)) + break; + ++zn; + zvec = (zvec << 1 | br.readBits$1(1)) >>> 0; } + t1 = _this.__BZip2Decoder__gBase_A; + t1 === $ && A.throwLateFieldNI("_gBase"); + if (zvec - J.$index$asx(t1, zn) < 0 || zvec - J.$index$asx(_this.__BZip2Decoder__gBase_A, zn) >= 258) + throw A.wrapException(A.ArchiveException$(_s10_)); + t1 = _this.__BZip2Decoder__gPerm_A; + t1 === $ && A.throwLateFieldNI("_gPerm"); + return J.$index$asx(t1, zvec - J.$index$asx(_this.__BZip2Decoder__gBase_A, zn)); }, - _list_multimap$_setWithCopyAndCheck$2: function(keys, lookup) { - var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, t11, _this = this; - _this.set$_list_multimap$_builtMapOwner(null); - t1 = _this.$ti; - t2 = t1._precomputed1; - t3 = t1._eval$1("BuiltList<2>"); - t4 = t1._eval$1("Map<1,BuiltList<2>>"); - _this.set$__ListMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); - _this.set$__ListMultimapBuilder__builderMap(t1._eval$1("Map<1,ListBuilder<2>>")._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")))); - for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { - key = t5.get$current(t5); - if (t2._is(key)) - for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { - value = t7.get$current(t7); - if (t1._is(value)) { - t2._as(key); - t1._as(value); - if (_this._list_multimap$_builtMapOwner != null) { - t8 = _this.__ListMultimapBuilder__builtMap; - _this.set$__ListMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t8, t2, t3))); - _this.set$_list_multimap$_builtMapOwner(null); - } - _this._list_multimap$_checkKey$1(key); - _this._list_multimap$_checkValue$1(value); - t8 = _this._list_multimap$_getValuesBuilder$1(key); - t9 = t8.$ti; - t10 = t9._precomputed1; - t10._as(value); - if (!$.$get$isSoundMode() && !t10._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - if (t8._listOwner != null) { - t11 = t8.__ListBuilder__list; - t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t10))); - t8.set$_listOwner(null); - } - t8 = t8.__ListBuilder__list; - J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, value); - } else - throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value) + ", for key " + H.S(key))); + _hbCreateDecodeTables$7(limit, base, perm, $length, minLen, maxLen, alphaSize) { + var t1, t2, i, pp, j, t3, vec, i0; + for (t1 = J.getInterceptor$asx($length), t2 = J.getInterceptor$ax(perm), i = minLen, pp = 0; i <= maxLen; ++i) + for (j = 0; j < alphaSize; ++j) + if (t1.$index($length, j) === i) { + t2.$indexSet(perm, pp, j); + ++pp; } - else - throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + for (t2 = J.getInterceptor$asx(base), i = 0; i < 23; ++i) + t2.$indexSet(base, i, 0); + for (i = 0; i < alphaSize; ++i) { + t3 = t1.$index($length, i) + 1; + t2.$indexSet(base, t3, t2.$index(base, t3) + 1); + } + for (i = 1; i < 23; ++i) + t2.$indexSet(base, i, t2.$index(base, i) + t2.$index(base, i - 1)); + for (t1 = J.getInterceptor$asx(limit), i = 0; i < 23; ++i) + t1.$indexSet(limit, i, 0); + for (i = minLen, vec = 0; i <= maxLen; i = i0) { + i0 = i + 1; + vec += t2.$index(base, i0) - t2.$index(base, i); + t1.$indexSet(limit, i, vec - 1); + vec = vec << 1 >>> 0; } + for (i = minLen + 1; i <= maxLen; ++i) + t2.$indexSet(base, i, (t1.$index(limit, i - 1) + 1 << 1 >>> 0) - t2.$index(base, i)); }, - _list_multimap$_checkKey$1: function(key) { - var t1 = this.$ti._precomputed1; - t1._as(key); - if ($.$get$isSoundMode()) - return; - if (t1._is(null)) - return; - if (key == null) - throw H.wrapException(P.ArgumentError$("null key")); + _makeMaps$0() { + var i, t1, t2, _this = this; + _this._numInUse = 0; + _this.__BZip2Decoder__seqToUnseq_A = new Uint8Array(256); + for (i = 0; i < 256; ++i) { + t1 = _this.__BZip2Decoder__inUse_A; + t1 === $ && A.throwLateFieldNI("_inUse"); + if (t1[i] !== 0) { + t1 = _this.__BZip2Decoder__seqToUnseq_A; + t2 = _this._numInUse++; + if (!(t2 < 256)) + return A.ioore(t1, t2); + t1[t2] = i; + } + } }, - _list_multimap$_checkValue$1: function(value) { - var t1 = this.$ti._rest[1]; - t1._as(value); - if ($.$get$isSoundMode()) - return; - if (t1._is(null)) - return; - if (value == null) - throw H.wrapException(P.ArgumentError$("null value")); + set$__BZip2Decoder__limit_A(__BZip2Decoder__limit_A) { + this.__BZip2Decoder__limit_A = type$.List_Int32List._as(__BZip2Decoder__limit_A); }, - set$__ListMultimapBuilder__builtMap: function(__ListMultimapBuilder__builtMap) { - this.__ListMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltList<2>>?")._as(__ListMultimapBuilder__builtMap); + set$__BZip2Decoder__base_A(__BZip2Decoder__base_A) { + this.__BZip2Decoder__base_A = type$.List_Int32List._as(__BZip2Decoder__base_A); }, - set$_list_multimap$_builtMapOwner: function(_builtMapOwner) { - this._list_multimap$_builtMapOwner = this.$ti._eval$1("_BuiltListMultimap<1,2>?")._as(_builtMapOwner); + set$__BZip2Decoder__perm_A(__BZip2Decoder__perm_A) { + this.__BZip2Decoder__perm_A = type$.List_Int32List._as(__BZip2Decoder__perm_A); }, - set$__ListMultimapBuilder__builderMap: function(__ListMultimapBuilder__builderMap) { - this.__ListMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,ListBuilder<2>>?")._as(__ListMultimapBuilder__builderMap); + set$__BZip2Decoder__len_A(__BZip2Decoder__len_A) { + this.__BZip2Decoder__len_A = type$.List_Uint8List._as(__BZip2Decoder__len_A); } }; - R.ListMultimapBuilder_replace_closure.prototype = { - call$1: function(k) { - return this.multimap.$index(0, k); - }, - $signature: 14 + A.FileContent.prototype = {}; + A.Aes.prototype = { + processData$3(buff, start, len) { + var t2, t3, t4, t5, j, j0, loopCount, t6, t7, t8, k, _this = this, + _s7_ = "_macGen", + t1 = _this.encrypt; + if (!t1) { + t2 = _this.__Aes__macGen_A; + t2 === $ && A.throwLateFieldNI(_s7_); + t2._digest.update$3(0, buff, 0, len); + } + for (t2 = start + len, t3 = J.getInterceptor$asx(buff), t4 = _this.counterBlock, t5 = _this.iv, j = start; j < t2; j = j0) { + j0 = j + 16; + loopCount = j0 <= t2 ? 16 : t2 - j; + A.AesCipherUtil_prepareBuffAESIVBytes(t5, _this.nonce); + t6 = _this.aesEngine; + t7 = t6._WorkingKey; + if (t7 == null) + A.throwExpression(A.StateError$("AES engine not initialised")); + t8 = t5.byteLength; + if (typeof t8 !== "number") + return A.iae(t8); + if (16 > t8) + A.throwExpression(A.ArgumentError$("Input buffer too short", null)); + t8 = t4.byteLength; + if (typeof t8 !== "number") + return A.iae(t8); + if (16 > t8) + A.throwExpression(A.ArgumentError$("Output buffer too short", null)); + if (t6._forEncryption) + t6._encryptBlock$5(t5, 0, t4, 0, t7); + else + t6._decryptBlock$5(t5, 0, t4, 0, t7); + for (k = 0; k < loopCount; ++k) { + t6 = j + k; + t7 = t3.$index(buff, t6); + if (!(k < 16)) + return A.ioore(t4, k); + t3.$indexSet(buff, t6, (t7 ^ t4[k]) >>> 0); + } + ++_this.nonce; + } + if (t1) { + t1 = _this.__Aes__macGen_A; + t1 === $ && A.throwLateFieldNI(_s7_); + t1._digest.update$3(0, buff, 0, len); + } + t1 = _this.__Aes__macGen_A; + t1 === $ && A.throwLateFieldNI(_s7_); + t2 = t1.__HMac__digestSize_A; + t2 === $ && A.throwLateFieldNI("_digestSize"); + t2 = new Uint8Array(t2); + _this.__Aes_mac_A = t2; + t1.doFinal$2(t2, 0); + _this.__Aes_mac_A = B.NativeUint8List_methods.sublist$2(_this.__Aes_mac_A, 0, 10); + _this.__Aes__macGen_A.reset$0(0); + return len; + } }; - A.BuiltMap.prototype = { - rebuild$1: function(updates) { + A.ArchiveException.prototype = {}; + A.InputStreamBase.prototype = {}; + A.InputStream.prototype = { + get$length(_) { var t2, - t1 = this.$ti; - t1._eval$1("@(MapBuilder<1,2>)")._as(updates); - t1._eval$1("_BuiltMap<1,2>")._as(this); - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); - t2 = new A.MapBuilder(this._mapFactory, this._map$_map, this, t1._eval$1("MapBuilder<1,2>")); - t1._eval$1("@(MapBuilder<1,2>)")._as(updates).call$1(t2); - return t2.build$0(); + t1 = this.__InputStream__length_A; + t1 === $ && A.throwLateFieldNI("_length"); + t2 = this.offset; + if (typeof t1 !== "number") + return t1.$sub(); + return t1 - (t2 - this.start); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._hashCode; - if (t1 == null) { - t1 = J.map$1$1$ax(J.get$keys$x(_this._map$_map), new A.BuiltMap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); - C.JSArray_methods.sort$0(t1); - t1 = _this._hashCode = A.hashObjects(t1); - } - return t1; + get$isEOS() { + var t1 = this.offset, + t2 = this.__InputStream__length_A; + t2 === $ && A.throwLateFieldNI("_length"); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 >= this.start + t2; }, - $eq: function(_, other) { - var t1, t2, t3, t4, t5, key, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof A.BuiltMap)) - return false; - t1 = other._map$_map; - t2 = J.getInterceptor$asx(t1); - t3 = _this._map$_map; - t4 = J.getInterceptor$asx(t3); - if (t2.get$length(t1) != t4.get$length(t3)) - return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) - return false; - for (t5 = J.get$iterator$ax(_this.get$keys(_this)); t5.moveNext$0();) { - key = t5.get$current(t5); - if (!J.$eq$(t2.$index(t1, key), t4.$index(t3, key))) - return false; + $index(_, index) { + var t1, t2; + A._asIntS(index); + t1 = this.buffer; + t2 = this.offset; + if (typeof index !== "number") + return A.iae(index); + return J.$index$asx(t1, t2 + index); + }, + subset$2(position, $length) { + var t2, _this = this, + t1 = _this.start; + position += t1; + if ($length == null || $length < 0) { + t2 = _this.__InputStream__length_A; + t2 === $ && A.throwLateFieldNI("_length"); + if (typeof t2 !== "number") + return t2.$sub(); + $length = t2 - (position - t1); } - return true; + return A.InputStream$(_this.buffer, _this.byteOrder, $length, position); }, - toString$0: function(_) { - return J.toString$0$(this._map$_map); + readByte$0() { + return J.$index$asx(this.buffer, this.offset++); }, - $index: function(_, key) { - return J.$index$asx(this._map$_map, key); + readBytes$1(count) { + var _this = this, + bytes = _this.subset$2(_this.offset - _this.start, count); + _this.offset = _this.offset + bytes.get$length(bytes); + return bytes; }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._map$_map, key); + readString$2$size$utf8(size, utf8) { + var str, exception, t1, + bytes = this.readBytes$1(size).toUint8List$0(); + try { + str = utf8 ? new A.Utf8Decoder(false).convert$1(bytes) : A.String_String$fromCharCodes(bytes, 0, null); + return str; + } catch (exception) { + t1 = A.String_String$fromCharCodes(bytes, 0, null); + return t1; + } }, - get$keys: function(_) { - var t1, _this = this; - if (_this._keys == null) - _this.set$_keys(J.get$keys$x(_this._map$_map)); - t1 = _this._keys; - t1.toString; - return t1; + readString$1$size(size) { + return this.readString$2$size$utf8(size, true); }, - get$length: function(_) { - return J.get$length$asx(this._map$_map); + readUint16$0() { + var b1, b2, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + if (_this.byteOrder === 1) + return b1 << 8 | b2; + return b2 << 8 | b1; }, - get$values: function(_) { - var t1, _this = this; - if (_this._values == null) - _this.set$_values(J.get$values$x(_this._map$_map)); - t1 = _this._values; - t1.toString; - return t1; + readUint32$0() { + var b1, b2, b3, b4, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b3 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b4 = t1 & 255; + if (_this.byteOrder === 1) + return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; + return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, - map$2$1: function(_, f, K2, V2) { - return new A._BuiltMap(null, J.map$2$1$ax(this._map$_map, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f), K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("_BuiltMap<1,2>")); + readUint64$0() { + var b1, b2, b3, b4, b5, b6, b7, b8, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b3 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b4 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b5 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b6 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b7 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b8 = t1 & 255; + if (_this.byteOrder === 1) + return (B.JSInt_methods._shlPositive$1(b1, 56) | B.JSInt_methods._shlPositive$1(b2, 48) | B.JSInt_methods._shlPositive$1(b3, 40) | B.JSInt_methods._shlPositive$1(b4, 32) | b5 << 24 | b6 << 16 | b7 << 8 | b8) >>> 0; + return (B.JSInt_methods._shlPositive$1(b8, 56) | B.JSInt_methods._shlPositive$1(b7, 48) | B.JSInt_methods._shlPositive$1(b6, 40) | B.JSInt_methods._shlPositive$1(b5, 32) | b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, - map$1: function($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + toUint8List$1(bytes) { + var t2, t3, end, _this = this, + len = _this.get$length(_this), + t1 = _this.buffer; + if (type$.Uint8List._is(t1)) { + t2 = J.getInterceptor$asx(t1); + if (_this.offset + len > t2.get$length(t1)) + len = t2.get$length(t1) - _this.offset; + t3 = t2.get$buffer(t1); + t1 = t2.get$offsetInBytes(t1); + t2 = _this.offset; + if (typeof t1 !== "number") + return t1.$add(); + return J.asUint8List$2$x(t3, t1 + t2, len); + } + end = _this.offset + len; + t1 = J.get$length$asx(t1); + if (typeof t1 !== "number") + return A.iae(t1); + if (end > t1) + end = J.get$length$asx(_this.buffer); + return new Uint8Array(A._ensureNativeList(J.sublist$2$ax(_this.buffer, _this.offset, end))); }, - set$_keys: function(_keys) { - this._keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); + toUint8List$0() { + return this.toUint8List$1(null); }, - set$_values: function(_values) { - this._values = this.$ti._eval$1("Iterable<2>?")._as(_values); - } - }; - A.BuiltMap_BuiltMap_closure.prototype = { - call$1: function(k) { - return this.map.$index(0, k); + set$buffer(_, buffer) { + this.buffer = type$.List_int._as(buffer); }, - $signature: 14 + get$offset(receiver) { + return this.offset; + } }; - A.BuiltMap_BuiltMap$from_closure.prototype = { - call$1: function(k) { - return J.$index$asx(this.map._copy_on_write_map$_map, k); + A.OutputStreamBase.prototype = {}; + A.OutputStream.prototype = { + writeByte$1(value) { + var t1, t2, _this = this; + if (_this.length === _this._output_stream$_buffer.length) + _this._expandBuffer$0(); + t1 = _this._output_stream$_buffer; + t2 = _this.length++; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + t1[t2] = value & 255; }, - $signature: 14 - }; - A.BuiltMap_BuiltMap$of_closure.prototype = { - call$1: function(k) { - return J.$index$asx(this.map, this.K._as(k)); + writeBytes$2(bytes, len) { + var j, t1, t2, t3, i, _this = this; + type$.List_int._as(bytes); + if (len == null) + len = J.get$length$asx(bytes); + if (typeof len !== "number") + return A.iae(len); + for (; j = _this.length, t1 = j + len, t2 = _this._output_stream$_buffer, t3 = t2.length, t1 > t3;) + _this._expandBuffer$1(t1 - t3); + if (len === 1) + B.NativeUint8List_methods.$indexSet(t2, j, J.$index$asx(bytes, 0)); + else if (len === 2) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + } else if (len === 3) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + } else if (len === 4) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + } else if (len === 5) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + } else if (len === 6) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 5, t1.$index(bytes, 5)); + } else if (len === 7) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 5, t1.$index(bytes, 5)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 6, t1.$index(bytes, 6)); + } else if (len === 8) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 5, t1.$index(bytes, 5)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 6, t1.$index(bytes, 6)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 7, t1.$index(bytes, 7)); + } else if (len === 9) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 5, t1.$index(bytes, 5)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 6, t1.$index(bytes, 6)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 7, t1.$index(bytes, 7)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 8, t1.$index(bytes, 8)); + } else if (len === 10) { + t1 = J.getInterceptor$asx(bytes); + B.NativeUint8List_methods.$indexSet(t2, j, t1.$index(bytes, 0)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 1, t1.$index(bytes, 1)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 2, t1.$index(bytes, 2)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 3, t1.$index(bytes, 3)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 4, t1.$index(bytes, 4)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 5, t1.$index(bytes, 5)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 6, t1.$index(bytes, 6)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 7, t1.$index(bytes, 7)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 8, t1.$index(bytes, 8)); + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, _this.length + 9, t1.$index(bytes, 9)); + } else + for (t1 = J.getInterceptor$asx(bytes), i = 0; i < len; ++i, ++j) + B.NativeUint8List_methods.$indexSet(_this._output_stream$_buffer, j, t1.$index(bytes, i)); + _this.length += len; }, - $signature: function() { - return this.V._eval$1("@<0>")._bind$1(this.K)._eval$1("1(2)"); - } - }; - A.BuiltMap_hashCode_closure.prototype = { - call$1: function(key) { - var t2, - t1 = this.$this; - t1.$ti._precomputed1._as(key); - t2 = J.get$hashCode$(key); - t1 = J.get$hashCode$(J.$index$asx(t1._map$_map, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + writeBytes$1(bytes) { + return this.writeBytes$2(bytes, null); }, - $signature: function() { - return this.$this.$ti._eval$1("int(1)"); - } - }; - A._BuiltMap.prototype = { - _BuiltMap$copyAndCheckTypes$2: function(keys, lookup, $K, $V) { - var t1, t2, t3, key, value; - for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map, t3 = J.getInterceptor$ax(t2); t1.moveNext$0();) { - key = t1.get$current(t1); - if ($K._is(key)) { - value = lookup.call$1(key); - if ($V._is(value)) - t3.$indexSet(t2, key, value); - else - throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value))); - } else - throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + writeInputStream$1(stream) { + var t2, t3, t4, t5, _this = this, + t1 = stream.start; + while (true) { + t2 = _this.length; + t3 = stream.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + t4 = stream.offset; + if (typeof t3 !== "number") + return t3.$sub(); + t4 = t2 + (t3 - (t4 - t1)); + t3 = _this._output_stream$_buffer; + t5 = t3.length; + if (!(t4 > t5)) + break; + _this._expandBuffer$1(t4 - t5); } + B.NativeUint8List_methods.setRange$4(t3, t2, t2 + stream.get$length(stream), stream.buffer, stream.offset); + _this.length = _this.length + stream.get$length(stream); }, - _BuiltMap$copyAndCheckForNull$2: function(keys, lookup, $K, $V) { - var t2, t3, key, value, - t1 = !$.$get$isSoundMode(), - checkKeys = t1 && !$K._is(null), - checkValues = t1 && !$V._is(null); - for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map, t3 = J.getInterceptor$ax(t2); t1.moveNext$0();) { - key = t1.get$current(t1); - if (checkKeys && key == null) - throw H.wrapException(P.ArgumentError$("map contained invalid key: null")); - value = lookup.call$1(key); - if (checkValues && value == null) - throw H.wrapException(P.ArgumentError$("map contained invalid value: null")); - t3.$indexSet(t2, key, value); - } - } - }; - A.MapBuilder.prototype = { - get$_map$_map: function() { - var t1 = this.__MapBuilder__map; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_map")) : t1; + writeUint16$1(value) { + if (typeof value !== "number") + return value.$and(); + this.writeByte$1(value & 255); + this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); }, - build$0: function() { - var t1, _this = this; - if (_this._mapOwner == null) { - t1 = _this.$ti; - _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, _this.get$_map$_map(), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_BuiltMap<1,2>"))); - } - t1 = _this._mapOwner; - t1.toString; - return t1; + writeUint32$1(value) { + var _this = this; + if (typeof value !== "number") + return value.$and(); + _this.writeByte$1(value & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 16) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 24) & 255); }, - replace$1: function(_, map) { - var replacement, _this = this, - t1 = _this.$ti, - t2 = t1._eval$1("_BuiltMap<1,2>"); - if (t2._is(map) && true) { - t2._as(map); - _this.set$_mapOwner(map); - _this.set$__MapBuilder__map(t1._eval$1("Map<1,2>")._as(map._map$_map)); - } else if (map instanceof A.BuiltMap) { - replacement = _this._createMap$0(); - t2 = map.$ti._eval$1("~(1,2)")._as(new A.MapBuilder_replace_closure(_this, replacement)); - J.forEach$1$ax(map._map$_map, t2); - t1._eval$1("Map<1,2>")._as(replacement); - _this.set$_mapOwner(null); - _this.set$__MapBuilder__map(replacement); - } else if (type$.Map_dynamic_dynamic._is(map)) { - replacement = _this._createMap$0(); - J.forEach$1$ax(map, new A.MapBuilder_replace_closure0(_this, replacement)); - t1._eval$1("Map<1,2>")._as(replacement); - _this.set$_mapOwner(null); - _this.set$__MapBuilder__map(replacement); + writeUint64$1(value) { + var topBit, _this = this; + if (typeof value !== "number") + return value.$and(); + if ((value & 9223372036854776e3) >>> 0 !== 0) { + value = (value ^ 9223372036854776e3) >>> 0; + topBit = 128; } else - throw H.wrapException(P.ArgumentError$("expected Map or BuiltMap, got " + J.get$runtimeType$(map).toString$0(0))); + topBit = 0; + _this.writeByte$1(value & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 16) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 24) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 32) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 40) & 255); + _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 48) & 255); + _this.writeByte$1(topBit | B.JSInt_methods._shrOtherPositive$1(value, 56) & 255); + }, + subset$2(start, end) { + var _this = this; + if (start < 0) + start = _this.length + start; + if (end == null) + end = _this.length; + else if (end < 0) + end = _this.length + end; + return B.NativeByteBuffer_methods.asUint8List$2(_this._output_stream$_buffer.buffer, start, end - start); }, - $index: function(_, key) { - return J.$index$asx(this.get$_map$_map(), key); + subset$1(start) { + return this.subset$2(start, null); }, - $indexSet: function(_, key, value) { - var _this = this, - t1 = _this.$ti; - t1._precomputed1._as(key); - t1._rest[1]._as(value); - _this._checkKey$1(key); - _this._checkValue$1(value); - J.$indexSet$ax(_this.get$_safeMap(), key, value); + _expandBuffer$1(required) { + var blockSize = required != null ? required > 32768 ? required : 32768 : 32768, + t1 = this._output_stream$_buffer, + t2 = t1.length, + newBuffer = new Uint8Array((t2 + blockSize) * 2); + B.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); + this._output_stream$_buffer = newBuffer; }, - get$length: function(_) { - return J.get$length$asx(this.get$_map$_map()); + _expandBuffer$0() { + return this._expandBuffer$1(null); }, - get$_safeMap: function() { - var t1, _this = this; - if (_this._mapOwner != null) { - t1 = _this._createMap$0(); - t1.addAll$1(0, _this.get$_map$_map()); - _this.set$__MapBuilder__map(_this.$ti._eval$1("Map<1,2>")._as(t1)); - _this.set$_mapOwner(null); + get$length(receiver) { + return this.length; + } + }; + A.ZipDirectory.prototype = { + ZipDirectory$read$2$password(input, password) { + var t2, len, dirStream, t3, t4, t5, t6, _i, file, _this = this, + t1 = _this._findEocdrSignature$1(input); + _this.filePosition = t1; + t2 = input.start; + input.offset = t2 + t1; + input.readUint32$0(); + _this.numberOfThisDisk = input.readUint16$0(); + input.readUint16$0(); + _this.totalCentralDirectoryEntriesOnThisDisk = input.readUint16$0(); + input.readUint16$0(); + _this.__ZipDirectory_centralDirectorySize_A = input.readUint32$0(); + _this.__ZipDirectory_centralDirectoryOffset_A = input.readUint32$0(); + len = input.readUint16$0(); + if (len > 0) + input.readString$2$size$utf8(len, false); + if (_this.__ZipDirectory_centralDirectoryOffset_A === 4294967295 || _this.__ZipDirectory_centralDirectorySize_A === 4294967295 || _this.totalCentralDirectoryEntriesOnThisDisk === 65535 || _this.numberOfThisDisk === 65535) + _this._readZip64Data$1(input); + dirStream = A.InputStream$(input.subset$2(_this.__ZipDirectory_centralDirectoryOffset_A, _this.__ZipDirectory_centralDirectorySize_A).toUint8List$0(), 0, null, 0); + t1 = dirStream.start; + t3 = _this.fileHeaders; + t4 = type$.JSArray_int; + while (true) { + t5 = dirStream.offset; + t6 = dirStream.__InputStream__length_A; + t6 === $ && A.throwLateFieldNI("_length"); + if (typeof t6 !== "number") + return A.iae(t6); + if (!(t5 < t1 + t6)) + break; + if (dirStream.readUint32$0() !== 33639248) + break; + t5 = new A.ZipFileHeader(A._setArrayType([], t4)); + t5.ZipFileHeader$1(dirStream); + B.JSArray_methods.add$1(t3, t5); + } + for (t1 = t3.length, _i = 0; _i < t3.length; t3.length === t1 || (0, A.throwConcurrentModificationError)(t3), ++_i) { + file = t3[_i]; + t5 = file.localHeaderOffset; + t5.toString; + input.offset = t2 + t5; + t5 = new A.ZipFile(A._setArrayType([], t4), file, A._setArrayType([0, 0, 0], t4)); + t5.ZipFile$3(input, file, password); + file.file = t5; } - return _this.get$_map$_map(); - }, - _createMap$0: function() { - var t1 = this.$ti; - return P.LinkedHashMap_LinkedHashMap$_empty(t1._precomputed1, t1._rest[1]); }, - _checkKey$1: function(key) { - var t1 = this.$ti._precomputed1; - t1._as(key); - if ($.$get$isSoundMode()) - return; - if (t1._is(null)) + _readZip64Data$1(input) { + var zip64, zip64DirOffset, zip64DiskNumber, zip64NumEntriesOnDisk, dirSize, dirOffset, _this = this, + t1 = input.start, + ip = input.offset - t1, + locPos = _this.filePosition - 20; + if (locPos < 0) return; - if (key == null) - throw H.wrapException(P.ArgumentError$("null key")); - }, - _checkValue$1: function(value) { - var t1 = this.$ti._rest[1]; - t1._as(value); - if ($.$get$isSoundMode()) + zip64 = input.subset$2(locPos, 20); + if (zip64.readUint32$0() !== 117853008) { + input.offset = t1 + ip; return; - if (t1._is(null)) + } + zip64.readUint32$0(); + zip64DirOffset = zip64.readUint64$0(); + zip64.readUint32$0(); + input.offset = t1 + zip64DirOffset; + if (input.readUint32$0() !== 101075792) { + input.offset = t1 + ip; return; - if (value == null) - throw H.wrapException(P.ArgumentError$("null value")); - }, - set$__MapBuilder__map: function(__MapBuilder__map) { - this.__MapBuilder__map = this.$ti._eval$1("Map<1,2>?")._as(__MapBuilder__map); + } + input.readUint64$0(); + input.readUint16$0(); + input.readUint16$0(); + zip64DiskNumber = input.readUint32$0(); + input.readUint32$0(); + zip64NumEntriesOnDisk = input.readUint64$0(); + input.readUint64$0(); + dirSize = input.readUint64$0(); + dirOffset = input.readUint64$0(); + _this.numberOfThisDisk = zip64DiskNumber; + _this.totalCentralDirectoryEntriesOnThisDisk = zip64NumEntriesOnDisk; + _this.__ZipDirectory_centralDirectorySize_A = dirSize; + _this.__ZipDirectory_centralDirectoryOffset_A = dirOffset; + input.offset = t1 + ip; }, - set$_mapOwner: function(_mapOwner) { - this._mapOwner = this.$ti._eval$1("_BuiltMap<1,2>?")._as(_mapOwner); + _findEocdrSignature$1(input) { + var ip, + t1 = input.offset, + t2 = input.start; + for (ip = input.get$length(input) - 5; ip >= 0; --ip) { + input.offset = t2 + ip; + if (input.readUint32$0() === 101010256) { + input.offset = t2 + (t1 - t2); + return ip; + } + } + throw A.wrapException(A.ArchiveException$("Could not find End of Central Directory Record")); } }; - A.MapBuilder_replace_closure.prototype = { - call$2: function(key, value) { - var t1 = this.$this.$ti; - this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); - }, - $signature: 45 - }; - A.MapBuilder_replace_closure0.prototype = { - call$2: function(key, value) { - var t1 = this.$this.$ti; - this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); - }, - $signature: 45 - }; - X.BuiltSet.prototype = { - rebuild$1: function(updates) { - var t1 = this.$ti; - t1._eval$1("@(SetBuilder<1>)")._as(updates); - t1._eval$1("_BuiltSet<1>")._as(this); - t1 = new X.SetBuilder(this._setFactory, this._set, this, t1._eval$1("SetBuilder<1>")); - updates.call$1(t1); - return t1.build$0(); + A.AesHeader.prototype = {}; + A.ZipFile.prototype = { + ZipFile$3(input, header, password) { + var fnLen, exLen, t2, t3, extra, id, size, bytes, t4, compressionMethod, sigOrCrc, _this = this, _null = null, + t1 = input.readUint32$0(); + _this.signature = t1; + if (t1 !== 67324752) + throw A.wrapException(A.ArchiveException$("Invalid Zip Signature")); + input.readUint16$0(); + _this.flags = input.readUint16$0(); + _this.compressionMethod = input.readUint16$0(); + _this.lastModFileTime = input.readUint16$0(); + _this.lastModFileDate = input.readUint16$0(); + _this.crc32 = input.readUint32$0(); + _this.compressedSize = input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + fnLen = input.readUint16$0(); + exLen = input.readUint16$0(); + _this.filename = input.readString$1$size(fnLen); + _this.set$extraField(input.readBytes$1(exLen).toUint8List$0()); + t1 = _this.header; + t2 = t1 == null; + t3 = t2 ? _null : t1.compressedSize; + _this.compressedSize = t3 == null ? _this.compressedSize : t3; + t2 = t2 ? _null : t1.uncompressedSize; + _this.uncompressedSize = t2 == null ? _this.uncompressedSize : t2; + _this._encryptionType = (_this.flags & 1) !== 0 ? 1 : 0; + _this._password = password; + t1 = t1.compressedSize; + t1.toString; + _this.__ZipFile__rawContent_A = input.readBytes$1(t1); + if (_this._encryptionType !== 0 && exLen > 2) { + extra = A.InputStream$(_this.extraField, 0, _null, 0); + t1 = extra.start; + while (true) { + t2 = extra.offset; + t3 = extra.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(t2 < t1 + t3)) + break; + id = extra.readUint16$0(); + size = extra.readUint16$0(); + bytes = extra.subset$2(extra.offset - t1, size); + t2 = extra.offset; + t3 = bytes.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + t4 = bytes.offset; + if (typeof t3 !== "number") + return t3.$sub(); + extra.offset = t2 + (t3 - (t4 - bytes.start)); + if (id === 39169) { + bytes.readUint16$0(); + bytes.readString$1$size(2); + t2 = J.$index$asx(bytes.buffer, bytes.offset++); + compressionMethod = bytes.readUint16$0(); + _this._encryptionType = 2; + _this._aesHeader = new A.AesHeader(t2, compressionMethod); + _this.compressionMethod = compressionMethod; + } + } + } + if ((_this.flags & 8) !== 0) { + sigOrCrc = input.readUint32$0(); + if (sigOrCrc === 134695760) + _this.crc32 = input.readUint32$0(); + else + _this.crc32 = sigOrCrc; + _this.compressedSize = input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + } + t1 = _this.header; + t1 = t1 == null ? _null : t1.filename; + _this.filename = t1 == null ? _this.filename : t1; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._set$_hashCode; - if (t1 == null) { - t1 = _this._set.map$1$1(0, new X.BuiltSet_hashCode_closure(_this), type$.int); - t1 = P.List_List$of(t1, false, H._instanceType(t1)._eval$1("Iterable.E")); - C.JSArray_methods.sort$0(t1); - t1 = _this._set$_hashCode = A.hashObjects(t1); + get$content(_) { + var t1, t2, salt, keySize, verify, dataBytes, dataMac, bytes, derivedKey, keyData, hmacKeyData, aes, output, _this = this, + _s11_ = "_rawContent"; + if (_this._zip_file$_content == null) { + if (_this._encryptionType !== 0) { + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + if (t1.get$length(t1) <= 0) { + _this.set$_zip_file$_content(0, _this.__ZipFile__rawContent_A.toUint8List$0()); + _this._encryptionType = 0; + } else { + t1 = _this._encryptionType; + if (t1 === 1) + _this.__ZipFile__rawContent_A = _this._decodeZipCrypto$1(_this.__ZipFile__rawContent_A); + else if (t1 === 2) { + t1 = _this.__ZipFile__rawContent_A; + t2 = _this._aesHeader.encryptionStrength; + if (t2 === 1) { + salt = t1.readBytes$1(8).toUint8List$0(); + keySize = 16; + } else if (t2 === 2) { + salt = t1.readBytes$1(12).toUint8List$0(); + keySize = 24; + } else { + salt = t1.readBytes$1(16).toUint8List$0(); + keySize = 32; + } + verify = t1.readBytes$1(2).toUint8List$0(); + dataBytes = t1.readBytes$1(t1.get$length(t1) - 10); + dataMac = t1.readBytes$1(10); + bytes = dataBytes.toUint8List$0(); + t1 = _this._password; + t1.toString; + derivedKey = A.ZipFile_deriveKey(t1, salt, keySize); + keyData = new Uint8Array(A._ensureNativeList(B.NativeUint8List_methods.sublist$2(derivedKey, 0, keySize))); + t1 = keySize * 2; + hmacKeyData = new Uint8Array(A._ensureNativeList(B.NativeUint8List_methods.sublist$2(derivedKey, keySize, t1))); + if (!A.Uint8ListEquality_equals(B.NativeUint8List_methods.sublist$2(derivedKey, t1, t1 + 2), verify)) + A.throwExpression(A.Exception_Exception("password error")); + aes = A.Aes$(keyData, hmacKeyData, keySize, false); + aes.processData$3(bytes, 0, J.get$length$asx(bytes)); + t1 = dataMac.toUint8List$0(); + t2 = aes.__Aes_mac_A; + t2 === $ && A.throwLateFieldNI("mac"); + if (!A.Uint8ListEquality_equals(t1, t2)) + A.throwExpression(A.Exception_Exception("macs don't match")); + _this.__ZipFile__rawContent_A = A.InputStream$(bytes, 0, null, 0); + } + _this._encryptionType = 0; + } + } + t1 = _this.compressionMethod; + if (t1 === 8) { + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1 = A.Inflate$(t1.toUint8List$0()).output; + _this.set$_zip_file$_content(0, type$.List_int._as(B.NativeByteBuffer_methods.asUint8List$2(t1._output_stream$_buffer.buffer, 0, t1.length))); + _this.compressionMethod = 0; + } else if (t1 === 12) { + output = A.OutputStream$(32768); + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + new A.BZip2Decoder().decodeStream$2(t1, output); + _this.set$_zip_file$_content(0, B.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length)); + _this.compressionMethod = 0; + } else if (t1 === 0) { + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + _this.set$_zip_file$_content(0, t1.toUint8List$0()); + } else + throw A.wrapException(A.ArchiveException$("Unsupported zip compression method " + t1)); } + t1 = _this._zip_file$_content; + t1.toString; return t1; }, - $eq: function(_, other) { - var t1, t2, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof X.BuiltSet)) - return false; - t1 = other._set; - t2 = _this._set; - if (t1.get$length(t1) != t2.get$length(t2)) - return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) - return false; - return t2.containsAll$1(other); - }, - toString$0: function(_) { - return J.toString$0$(this._set); - }, - get$length: function(_) { - var t1 = this._set; - return t1.get$length(t1); - }, - union$1: function(other) { - var t1 = this.$ti; - return new X._BuiltSet(this._setFactory, this._set.union$1(t1._eval$1("BuiltSet<1>")._as(other)._set), t1._eval$1("_BuiltSet<1>")); - }, - get$iterator: function(_) { - var t1 = this._set; - return t1.get$iterator(t1); - }, - cast$1$0: function(_, $T) { - return H.CastIterable_CastIterable(this._set, this.$ti._precomputed1, $T); - }, - map$1$1: function(_, f, $T) { - return this._set.map$1$1(0, this.$ti._bind$1($T)._eval$1("1(2)")._as(f), $T); - }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); - }, - where$1: function(_, test) { - return this._set.where$1(0, this.$ti._eval$1("bool(1)")._as(test)); - }, - expand$1$1: function(_, f, $T) { - return this._set.expand$1$1(0, this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), $T); - }, - contains$1: function(_, element) { - return this._set.contains$1(0, element); - }, - forEach$1: function(_, f) { - return this._set.forEach$1(0, this.$ti._eval$1("~(1)")._as(f)); - }, - every$1: function(_, test) { - return this._set.every$1(0, this.$ti._eval$1("bool(1)")._as(test)); - }, - join$1: function(_, separator) { - return this._set.join$1(0, separator); - }, - toSet$0: function(_) { - return new A.CopyOnWriteSet(this._setFactory, this._set, this.$ti._eval$1("CopyOnWriteSet<1>")); - }, - toList$1$growable: function(_, growable) { - return this._set.toList$1$growable(0, growable); - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); - }, - get$isEmpty: function(_) { - var t1 = this._set; - return t1.get$isEmpty(t1); - }, - get$isNotEmpty: function(_) { - var t1 = this._set; - return t1.get$isNotEmpty(t1); + toString$0(_) { + return this.filename; }, - take$1: function(_, n) { - return this._set.take$1(0, n); + _updateKeys$1(c) { + var t1 = this._zip_file$_keys; + B.JSArray_methods.$indexSet(t1, 0, A.CRC32(t1[0], c)); + B.JSArray_methods.$indexSet(t1, 1, t1[1] + (t1[0] & 255)); + B.JSArray_methods.$indexSet(t1, 1, t1[1] * 134775813 + 1); + B.JSArray_methods.$indexSet(t1, 2, A.CRC32(t1[2], t1[1] >>> 24 & 255)); }, - skip$1: function(_, n) { - return this._set.skip$1(0, n); + _decryptByte$0() { + var temp = this._zip_file$_keys[2] & 65535 | 2; + return temp * (temp ^ 1) >>> 8 & 255; }, - get$first: function(_) { - var t1 = this._set; - return t1.get$first(t1); + _decodeZipCrypto$1(input) { + var i, t1, t2, bytes, temp, _this = this, + _s11_ = "_rawContent"; + for (i = 0; i < 12; ++i) { + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1 = J.$index$asx(t1.buffer, t1.offset++); + t2 = _this._decryptByte$0(); + if (typeof t1 !== "number") + return t1.$xor(); + _this._updateKeys$1((t1 ^ t2) >>> 0); + } + t1 = _this.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI(_s11_); + bytes = t1.toUint8List$0(); + for (t1 = J.getInterceptor$asx(bytes), i = 0; i < t1.get$length(bytes); ++i) { + temp = (t1.$index(bytes, i) ^ _this._decryptByte$0()) >>> 0; + _this._updateKeys$1(temp); + t1.$indexSet(bytes, i, temp); + } + return A.InputStream$(bytes, 0, null, 0); }, - get$last: function(_) { - var t1 = this._set; - return t1.get$last(t1); + set$extraField(extraField) { + this.extraField = type$.List_int._as(extraField); }, - get$single: function(_) { - var t1 = this._set; - return t1.get$single(t1); + set$_zip_file$_content(_, _content) { + this._zip_file$_content = type$.nullable_List_int._as(_content); + } + }; + A.ZipFileHeader.prototype = { + ZipFileHeader$1(input) { + var fnameLen, extraLen, commentLen, extra, t1, t2, t3, id, size, bytes, t4, _this = this; + _this.versionMadeBy = input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint32$0(); + _this.compressedSize = input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + fnameLen = input.readUint16$0(); + extraLen = input.readUint16$0(); + commentLen = input.readUint16$0(); + _this.diskNumberStart = input.readUint16$0(); + input.readUint16$0(); + _this.externalFileAttributes = input.readUint32$0(); + _this.localHeaderOffset = input.readUint32$0(); + if (fnameLen > 0) + _this.filename = input.readString$1$size(fnameLen); + if (extraLen > 0) { + _this.set$extraField(input.readBytes$1(extraLen).toUint8List$0()); + extra = A.InputStream$(_this.extraField, 0, null, 0); + t1 = extra.start; + while (true) { + t2 = extra.offset; + t3 = extra.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(t2 < t1 + t3)) + break; + id = extra.readUint16$0(); + size = extra.readUint16$0(); + bytes = extra.subset$2(extra.offset - t1, size); + t2 = extra.offset; + t3 = bytes.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + t4 = bytes.offset; + if (typeof t3 !== "number") + return t3.$sub(); + extra.offset = t2 + (t3 - (t4 - bytes.start)); + if (id === 1) { + if (size >= 8 && _this.uncompressedSize === 4294967295) { + _this.uncompressedSize = bytes.readUint64$0(); + size -= 8; + } + if (size >= 8 && _this.compressedSize === 4294967295) { + _this.compressedSize = bytes.readUint64$0(); + size -= 8; + } + if (size >= 8 && _this.localHeaderOffset === 4294967295) { + _this.localHeaderOffset = bytes.readUint64$0(); + size -= 8; + } + if (size >= 4 && _this.diskNumberStart === 65535) + _this.diskNumberStart = bytes.readUint32$0(); + } + } + } + if (commentLen > 0) + input.readString$1$size(commentLen); }, - elementAt$1: function(_, index) { - return this._set.elementAt$1(0, index); + toString$0(_) { + return this.filename; }, - $isIterable: 1, - $isBuiltIterable: 1 + set$extraField(extraField) { + this.extraField = type$.List_int._as(extraField); + } }; - X.BuiltSet_hashCode_closure.prototype = { - call$1: function(e) { - return J.get$hashCode$(this.$this.$ti._precomputed1._as(e)); - }, - $signature: function() { - return this.$this.$ti._eval$1("int(1)"); - } - }; - X._BuiltSet.prototype = { - _set$_maybeCheckForNull$0: function() { - if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) - return; - for (var t1 = this._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) - if (t1.get$current(t1) == null) - throw H.wrapException(P.ArgumentError$("iterable contained invalid element: null")); + A.ZipDecoder.prototype = { + decodeBuffer$3$password$verify(input, password, verify) { + var archive, t2, t3, _i, zfh, t4, t5, t6, computedCrc, t7, t8, t9, file, + t1 = new A.ZipDirectory(A._setArrayType([], type$.JSArray_ZipFileHeader)); + t1.ZipDirectory$read$2$password(input, password); + this.__ZipDecoder_directory_A = t1; + archive = new A.Archive(A._setArrayType([], type$.JSArray_ArchiveFile), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); + for (t1 = this.__ZipDecoder_directory_A.fileHeaders, t2 = t1.length, t3 = type$.List_int, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + zfh = t1[_i]; + t4 = zfh.file; + t4.toString; + t5 = zfh.externalFileAttributes; + t5.toString; + t6 = t4.compressionMethod; + computedCrc = A.getCrc32(t4.get$content(t4), 0); + if (computedCrc !== t4.crc32) + throw A.wrapException(A.ArchiveException$("Invalid CRC for file in archive.")); + t7 = t4.filename; + t8 = t4.uncompressedSize; + t8.toString; + t9 = t4.compressionMethod; + file = new A.ArchiveFile(t7, t8, B.JSInt_methods._tdivFast$1(Date.now(), 1000), t9); + file.ArchiveFile$4(t7, t8, t4, t9); + t5 = t5 >>> 16; + file.mode = t5; + if (zfh.versionMadeBy >>> 8 === 3) { + file.isFile = false; + switch (t5 & 61440) { + case 32768: + case 0: + file.isFile = true; + break; + case 40960: + t5 = file._archive_file$_content; + if ((t5 instanceof A.FileContent ? file._archive_file$_content = t5.get$content(t5) : t5) == null) + file.decompress$0(); + t5 = t3._as(t3._as(file._archive_file$_content)); + B.Utf8Decoder_false.convert$1(t5); + break; + } + } else + file.isFile = !J.endsWith$1$s(file.name, "/"); + file.crc32 = t4.crc32; + file.compress = t6 !== 0; + file.lastModTime = (t4.lastModFileDate << 16 | t4.lastModFileTime) >>> 0; + archive.addFile$1(0, file); + } + return archive; } }; - X.SetBuilder.prototype = { - get$_set: function() { - var t1 = this.__SetBuilder__set; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_set")) : t1; - }, - build$0: function() { - var t1, _this = this; - if (_this._setOwner == null) - _this.set$_setOwner(new X._BuiltSet(_this._setFactory, _this.get$_set(), _this.$ti._eval$1("_BuiltSet<1>"))); - t1 = _this._setOwner; - t1.toString; - return t1; - }, - replace$1: function(_, iterable) { - var set, t3, element, _this = this, - t1 = _this.$ti, - t2 = t1._eval$1("_BuiltSet<1>"); - if (t2._is(iterable) && true) { - t2._as(iterable); - _this.set$__SetBuilder__set(t1._eval$1("Set<1>")._as(iterable._set)); - _this.set$_setOwner(iterable); - } else { - set = _this._createSet$0(); - for (t2 = J.get$iterator$ax(iterable), t3 = t1._precomputed1; t2.moveNext$0();) { - element = t2.get$current(t2); - if (t3._is(element)) - set.add$1(0, element); - else - throw H.wrapException(P.ArgumentError$("iterable contained invalid element: " + H.S(element))); + A._ZipFileData.prototype = {}; + A._ZipEncoderData.prototype = {}; + A.ZipEncoder.prototype = { + encode$1(archive) { + var t2, t3, t4, t5, fileData, lastModMS, lastModTime, t6, compressedData, crc32, bytes, level, t7, t8, t9, t10, t11, t12, t13, encodedFilename, dataLen, compressedSize, needsZip64, compressionMethod, lastModFileTime, lastModFileDate, uncompressedSize, extra, out, _this = this, _null = null, _4294967295 = 4294967295, + output = A.OutputStream$(32768), + t1 = new A._ZipEncoderData(1, A._setArrayType([], type$.JSArray__ZipFileData)); + t1.___ZipEncoderData_time_F = A._getTime(_null); + t1.___ZipEncoderData_date_F = A._getDate(_null); + _this.__ZipEncoder__data_A = t1; + _this._output = output; + for (t1 = type$.UnmodifiableListView_ArchiveFile, t2 = new A.UnmodifiableListView(archive._files, t1), t1 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")), t2 = type$.Utf8Codec._eval$1("Codec.S"), t3 = type$.JSArray_int, t4 = type$.List_int; t1.moveNext$0();) { + t5 = t1.__internal$_current; + fileData = new A._ZipFileData(); + B.JSArray_methods.add$1(_this.__ZipEncoder__data_A.files, fileData); + lastModMS = t5.lastModTime * 1000; + lastModTime = new A.DateTime(lastModMS, false); + lastModTime.DateTime$_withValue$2$isUtc(lastModMS, false); + fileData.___ZipFileData_name_A = t5.name; + t6 = _this.__ZipEncoder__data_A.___ZipEncoderData_time_F; + t6 === $ && A.throwLateFieldNI("time"); + if (t6 == null) { + t6 = A._getTime(lastModTime); + t6.toString; } - t1._eval$1("Set<1>")._as(set); - _this.set$_setOwner(null); - _this.set$__SetBuilder__set(set); + fileData.time = t6; + t6 = _this.__ZipEncoder__data_A.___ZipEncoderData_date_F; + t6 === $ && A.throwLateFieldNI("date"); + if (t6 == null) { + t6 = A._getDate(lastModTime); + t6.toString; + } + fileData.date = t6; + fileData.mode = t5.mode; + if (!t5.compress) { + if (t5._compressionType !== 0) + t5.decompress$0(); + t6 = t5._archive_file$_content; + if ((t6 instanceof A.FileContent ? t5._archive_file$_content = t6.get$content(t6) : t6) == null) + t5.decompress$0(); + t6 = t5._archive_file$_content; + if ((t6 instanceof A.FileContent ? t5._archive_file$_content = t6.get$content(t6) : t6) == null) + t5.decompress$0(); + compressedData = A.InputStream$(t5._archive_file$_content, 0, _null, 0); + crc32 = t5.crc32; + crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(t5); + } else { + t6 = t5._compressionType; + if (t6 !== 0 && t6 === 8) { + compressedData = t5._rawContent; + crc32 = t5.crc32; + crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(t5); + } else if (t5.isFile) { + crc32 = _this.getFileCrc32$1(t5); + t6 = t5._archive_file$_content; + if ((t6 instanceof A.FileContent ? t5._archive_file$_content = t6.get$content(t6) : t6) == null) + t5.decompress$0(); + bytes = t5._archive_file$_content; + t4._as(bytes); + level = _this.__ZipEncoder__data_A.level; + t6 = new A._HuffmanTree(); + t7 = new A._HuffmanTree(); + t8 = new A._HuffmanTree(); + t9 = new Uint16Array(16); + t10 = new Uint32Array(573); + t11 = new Uint8Array(573); + t12 = A.InputStream$(bytes, 0, _null, 0); + t13 = new A.OutputStream(new Uint8Array(32768)); + t11 = new A.Deflate(t12, t13, t6, t7, t8, t9, t10, t11); + if (level === -1) + level = 6; + if (level <= 9) + t9 = false; + else + t9 = true; + if (t9) + A.throwExpression(A.ArchiveException$("Invalid Deflate parameter")); + $.Deflate____config._value = t11._getConfig$1(level); + t9 = new Uint16Array(1146); + t11.__Deflate__dynamicLengthTree_A = t9; + t10 = new Uint16Array(122); + t11.__Deflate__dynamicDistTree_A = t10; + t12 = new Uint16Array(78); + t11.__Deflate__bitLengthTree_A = t12; + t11.__Deflate__windowBits_A = 15; + t11.__Deflate__windowSize_A = 32768; + t11.__Deflate__windowMask_A = 32767; + t11.__Deflate__hashBits_A = 15; + t11.__Deflate__hashSize_A = 32768; + t11.__Deflate__hashMask_A = 32767; + t11.__Deflate__hashShift_A = 5; + t11.__Deflate__window_A = new Uint8Array(65536); + t11.__Deflate__prev_A = new Uint16Array(32768); + t11.__Deflate__head_A = new Uint16Array(32768); + t11.__Deflate__litBufferSize_A = 16384; + t11.__Deflate__pendingBuffer_A = new Uint8Array(65536); + t11.__Deflate__pendingBufferSize_A = 65536; + t11.__Deflate__dbuf_A = 16384; + t11.__Deflate__lbuf_A = 49152; + t11.__Deflate__level_A = level; + t11.__Deflate__pendingOut_A = t11.__Deflate__pending_A = t11.__Deflate__strategy_A = 0; + t11._status = 113; + t11.crc32 = 0; + t6.___HuffmanTree_dynamicTree_A = t9; + t6.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticLDesc(); + t7.___HuffmanTree_dynamicTree_A = t10; + t7.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticDDesc(); + t8.___HuffmanTree_dynamicTree_A = t12; + t8.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticBlDesc(); + t11.__Deflate__numValidBits_A = t11.__Deflate__bitBuffer_A = 0; + t11.__Deflate__lastEOBLen_A = 8; + t11._initBlock$0(); + t11._lmInit$0(); + t11._deflate$1(4); + t11._flushPending$0(); + compressedData = A.InputStream$(t4._as(B.NativeByteBuffer_methods.asUint8List$2(t13._output_stream$_buffer.buffer, 0, t13.length)), 0, _null, 0); + } else { + compressedData = _null; + crc32 = 0; + } + } + t6 = t2._as(t5.name); + encodedFilename = B.C_Utf8Codec.get$encoder().convert$1(t6); + if (compressedData == null) + t6 = _null; + else { + t6 = compressedData.__InputStream__length_A; + t6 === $ && A.throwLateFieldNI("_length"); + t7 = compressedData.offset; + t8 = compressedData.start; + if (typeof t6 !== "number") + return t6.$sub(); + t8 = t6 - (t7 - t8); + t6 = t8; + } + if (t6 == null) + t6 = 0; + t7 = null == null ? 0 : _null; + t8 = _this._mac; + t8 = t8 == null ? _null : t8.length; + if (t8 == null) + t8 = 0; + t9 = _this._pwdVer; + t9 = t9 == null ? _null : t9.length; + if (t9 == null) + t9 = 0; + dataLen = t6 + t7 + t8 + t9; + t9 = _this.__ZipEncoder__data_A; + t8 = encodedFilename.length; + t9.localFileSize = t9.localFileSize + (30 + t8 + dataLen); + t7 = t9.centralDirectorySize; + t9.centralDirectorySize = t7 + (46 + t8); + fileData.crc32 = crc32; + fileData.compressedSize = dataLen; + fileData.compressedData = compressedData; + fileData.uncompressedSize = t5.size; + fileData.compress = t5.compress; + fileData.comment = null; + t6 = _this._output; + fileData.position = t6.length; + t7 = fileData.___ZipFileData_name_A; + t6.writeUint32$1(67324752); + compressedSize = fileData.compressedSize; + if (compressedSize <= 4294967295) { + t8 = fileData.uncompressedSize; + if (typeof t8 !== "number") + return t8.$gt(); + needsZip64 = t8 > 4294967295; + } else + needsZip64 = true; + compressionMethod = fileData.compress ? 8 : 0; + lastModFileTime = fileData.time; + lastModFileDate = fileData.date; + crc32 = fileData.crc32; + if (needsZip64) + compressedSize = _4294967295; + uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; + extra = A._setArrayType([], t3); + if (needsZip64) { + out = new A.OutputStream(new Uint8Array(32768)); + out.writeByte$1(1); + out.writeByte$1(0); + out.writeByte$1(16); + out.writeByte$1(0); + out.writeUint64$1(fileData.uncompressedSize); + out.writeUint64$1(fileData.compressedSize); + B.JSArray_methods.addAll$1(extra, B.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length)); + } + compressedData = fileData.compressedData; + t2._as(t7); + encodedFilename = B.C_Utf8Codec.get$encoder().convert$1(t7); + t6.writeUint16$1(20); + t6.writeUint16$1(2048); + t6.writeUint16$1(compressionMethod); + t6.writeUint16$1(lastModFileTime); + t6.writeUint16$1(lastModFileDate); + t6.writeUint32$1(crc32); + t6.writeUint32$1(compressedSize); + t6.writeUint32$1(uncompressedSize); + t6.writeUint16$1(encodedFilename.length); + t6.writeUint16$1(extra.length); + t6.writeBytes$1(encodedFilename); + t6.writeBytes$1(extra); + if (compressedData != null) + t6.writeInputStream$1(compressedData); + fileData.compressedData = null; + t6 = t5._rawContent; + if (t6 instanceof A.InputStreamBase) { + t6.set$buffer(0, A._setArrayType([], t3)); + t6.__InputStream__length_A = 0; + } + t5._rawContent = t5._archive_file$_content = null; } + t1 = _this.__ZipEncoder__data_A; + t2 = _this._output; + t2.toString; + _this._writeCentralDirectory$3(t1.files, _null, t2); + t1 = B.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length); + return t1; }, - get$length: function(_) { - var t1 = this.get$_set(); - return t1.get$length(t1); - }, - add$1: function(_, value) { - var t1 = this.$ti._precomputed1; - t1._as(value); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - return this.get$_safeSet().add$1(0, value); - }, - addAll$1: function(_, iterable) { - var t1 = this.$ti; - iterable = E.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); - this._maybeCheckElements$1(iterable); - this.get$_safeSet().addAll$1(0, iterable); - }, - map$1: function(_, f) { - var result, _this = this, - t1 = _this.$ti; - t1._eval$1("1(1)")._as(f); - result = _this._createSet$0(); - result.addAll$1(0, _this.get$_set().map$1$1(0, f, t1._precomputed1)); - _this._maybeCheckElements$1(result); - t1._eval$1("Set<1>")._as(result); - _this.set$_setOwner(null); - _this.set$__SetBuilder__set(result); + getFileCrc32$1(file) { + if (file.get$content(file) == null) + return 0; + file.get$content(file); + return A.getCrc32(type$.List_int._as(file.get$content(file)), 0); }, - get$_safeSet: function() { - var t1, _this = this; - if (_this._setOwner != null) { - t1 = _this._createSet$0(); - t1.addAll$1(0, _this.get$_set()); - _this.set$__SetBuilder__set(_this.$ti._eval$1("Set<1>")._as(t1)); - _this.set$_setOwner(null); + _writeCentralDirectory$3(files, comment, output) { + var t1, encodedComment, centralDirPosition, t2, t3, zipNeedsZip64, _i, t4, fileData, needsZip64, compressionMethod, lastModifiedFileTime, lastModifiedFileDate, crc32, compressedSize, uncompressedSize, localHeaderOffset, extraField, out, fileComment, t5, encodedFilename, encodedFileComment, centralDirectorySize, _4294967295 = 4294967295; + type$.List__ZipFileData._as(files); + t1 = type$.Utf8Codec._eval$1("Codec.S"); + t1._as(""); + encodedComment = B.C_Utf8Codec.get$encoder().convert$1(""); + centralDirPosition = output.length; + for (t2 = files.length, t3 = type$.JSArray_int, zipNeedsZip64 = false, _i = 0; t4 = files.length, _i < t4; files.length === t2 || (0, A.throwConcurrentModificationError)(files), ++_i) { + fileData = files[_i]; + if (fileData.compressedSize <= 4294967295) { + t4 = fileData.uncompressedSize; + if (typeof t4 !== "number") + return t4.$gt(); + needsZip64 = t4 > 4294967295 || fileData.position > 4294967295; + } else + needsZip64 = true; + zipNeedsZip64 = B.JSBool_methods.$or(zipNeedsZip64, needsZip64); + compressionMethod = fileData.compress ? 8 : 0; + lastModifiedFileTime = fileData.time; + lastModifiedFileDate = fileData.date; + crc32 = fileData.crc32; + compressedSize = needsZip64 ? _4294967295 : fileData.compressedSize; + uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; + t4 = fileData.mode; + localHeaderOffset = needsZip64 ? _4294967295 : fileData.position; + extraField = A._setArrayType([], t3); + if (needsZip64) { + out = new A.OutputStream(new Uint8Array(32768)); + out.writeByte$1(1); + out.writeByte$1(0); + out.writeByte$1(24); + out.writeByte$1(0); + out.writeUint64$1(fileData.uncompressedSize); + out.writeUint64$1(fileData.compressedSize); + out.writeUint64$1(fileData.position); + B.JSArray_methods.addAll$1(extraField, B.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length)); + } + fileComment = fileData.comment; + if (fileComment == null) + fileComment = ""; + t5 = fileData.___ZipFileData_name_A; + t5 === $ && A.throwLateFieldNI("name"); + t1._as(t5); + encodedFilename = B.C_Utf8Codec.get$encoder().convert$1(t5); + t1._as(fileComment); + encodedFileComment = B.C_Utf8Codec.get$encoder().convert$1(fileComment); + output.writeUint32$1(33639248); + output.writeUint16$1(20); + output.writeUint16$1(20); + output.writeUint16$1(2048); + output.writeUint16$1(compressionMethod); + output.writeUint16$1(lastModifiedFileTime); + output.writeUint16$1(lastModifiedFileDate); + output.writeUint32$1(crc32); + output.writeUint32$1(compressedSize); + output.writeUint32$1(uncompressedSize); + output.writeUint16$1(encodedFilename.length); + output.writeUint16$1(extraField.length); + output.writeUint16$1(encodedFileComment.length); + output.writeUint16$1(0); + output.writeUint16$1(0); + output.writeUint32$1(t4 << 16 >>> 0); + output.writeUint32$1(localHeaderOffset); + output.writeBytes$1(encodedFilename); + output.writeBytes$1(extraField); + output.writeBytes$1(encodedFileComment); } - return _this.get$_set(); - }, - _createSet$0: function() { - return P.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); - }, - _maybeCheckElements$1: function(elements) { - var t2, - t1 = this.$ti; - t1._eval$1("Iterable<1>")._as(elements); - if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) - return; - for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) - if (t1._as(t2.get$current(t2)) == null) - H.throwExpression(P.ArgumentError$("null element")); - }, - set$__SetBuilder__set: function(__SetBuilder__set) { - this.__SetBuilder__set = this.$ti._eval$1("Set<1>?")._as(__SetBuilder__set); - }, - set$_setOwner: function(_setOwner) { - this._setOwner = this.$ti._eval$1("_BuiltSet<1>?")._as(_setOwner); + t1 = output.length; + centralDirectorySize = t1 - centralDirPosition; + needsZip64 = zipNeedsZip64 || t4 > 65535 || centralDirectorySize > 4294967295 || centralDirPosition > 4294967295; + if (needsZip64) { + output.writeUint32$1(101075792); + output.writeUint64$1(44); + output.writeUint16$1(45); + output.writeUint16$1(45); + output.writeUint32$1(0); + output.writeUint32$1(0); + output.writeUint64$1(t4); + output.writeUint64$1(t4); + output.writeUint64$1(centralDirectorySize); + output.writeUint64$1(centralDirPosition); + output.writeUint32$1(117853008); + output.writeUint32$1(0); + output.writeUint64$1(t1); + output.writeUint32$1(1); + } + output.writeUint32$1(101010256); + output.writeUint16$1(0); + output.writeUint16$1(needsZip64 ? 65535 : 0); + output.writeUint16$1(needsZip64 ? 65535 : t4); + output.writeUint16$1(needsZip64 ? 65535 : t4); + output.writeUint32$1(needsZip64 ? _4294967295 : centralDirectorySize); + output.writeUint32$1(needsZip64 ? _4294967295 : centralDirPosition); + output.writeUint16$1(encodedComment.length); + output.writeBytes$1(encodedComment); } }; - M.BuiltSetMultimap.prototype = { - get$hashCode: function(_) { - var _this = this, - t1 = _this._set_multimap$_hashCode; - if (t1 == null) { - t1 = J.map$1$1$ax(J.get$keys$x(_this._set_multimap$_map), new M.BuiltSetMultimap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); - C.JSArray_methods.sort$0(t1); - t1 = _this._set_multimap$_hashCode = A.hashObjects(t1); + A.Deflate.prototype = { + _deflate$1(flush) { + var t1, bstate, t2, i, _this = this; + if (flush > 4 || false) + throw A.wrapException(A.ArchiveException$("Invalid Deflate Parameter")); + t1 = _this.__Deflate__pending_A; + t1 === $ && A.throwLateFieldNI("_pending"); + if (t1 !== 0) + _this._flushPending$0(); + if (_this._deflate$_input.get$isEOS()) { + t1 = _this.__Deflate__lookAhead_A; + t1 === $ && A.throwLateFieldNI("_lookAhead"); + if (t1 === 0) + t1 = flush !== 0 && _this._status !== 666; + else + t1 = true; + } else + t1 = true; + if (t1) { + switch ($.Deflate____config._readField$0().$function) { + case 0: + bstate = _this._deflateStored$1(flush); + break; + case 1: + bstate = _this._deflateFast$1(flush); + break; + case 2: + bstate = _this._deflateSlow$1(flush); + break; + default: + bstate = -1; + break; + } + t1 = bstate === 2; + if (t1 || bstate === 3) + _this._status = 666; + if (bstate === 0 || t1) + return 0; + if (bstate === 1) { + if (flush === 1) { + _this._sendBits$2(2, 3); + _this._sendCode$2(256, B.List_Xg4); + _this.biFlush$0(); + t1 = _this.__Deflate__lastEOBLen_A; + t1 === $ && A.throwLateFieldNI("_lastEOBLen"); + t2 = _this.__Deflate__numValidBits_A; + t2 === $ && A.throwLateFieldNI("_numValidBits"); + if (1 + t1 + 10 - t2 < 9) { + _this._sendBits$2(2, 3); + _this._sendCode$2(256, B.List_Xg4); + _this.biFlush$0(); + } + _this.__Deflate__lastEOBLen_A = 7; + } else { + _this._trStoredBlock$3(0, 0, false); + if (flush === 3) { + t1 = _this.__Deflate__hashSize_A; + t1 === $ && A.throwLateFieldNI("_hashSize"); + t2 = _this.__Deflate__head_A; + i = 0; + for (; i < t1; ++i) { + t2 === $ && A.throwLateFieldNI("_head"); + if (!(i < t2.length)) + return A.ioore(t2, i); + t2[i] = 0; + } + } + } + _this._flushPending$0(); + } } - return t1; + if (flush !== 4) + return 0; + return 1; }, - $eq: function(_, other) { - var t1, t2, t3, t4, t5, t6, t7, key, result, t8, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof M.BuiltSetMultimap)) - return false; - t1 = other._set_multimap$_map; - t2 = J.getInterceptor$asx(t1); - t3 = _this._set_multimap$_map; - t4 = J.getInterceptor$asx(t3); - if (t2.get$length(t1) != t4.get$length(t3)) - return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) - return false; - for (t5 = J.get$iterator$ax(_this.get$keys(_this)), t6 = other._emptySet, t7 = _this._emptySet; t5.moveNext$0();) { - key = t5.get$current(t5); - result = t2.$index(t1, key); - t8 = result == null ? t6 : result; - result = t4.$index(t3, key); - if (!t8.$eq(0, result == null ? t7 : result)) - return false; + _lmInit$0() { + var t2, t3, i, _this = this, + t1 = _this.__Deflate__windowSize_A; + t1 === $ && A.throwLateFieldNI("_windowSize"); + _this.__Deflate__actualWindowSize_A = 2 * t1; + t1 = _this.__Deflate__head_A; + t1 === $ && A.throwLateFieldNI("_head"); + t2 = _this.__Deflate__hashSize_A; + t2 === $ && A.throwLateFieldNI("_hashSize"); + --t2; + t3 = t1.length; + if (!(t2 >= 0 && t2 < t3)) + return A.ioore(t1, t2); + t1[t2] = 0; + for (i = 0; i < t2; ++i) { + if (!(i < t3)) + return A.ioore(t1, i); + t1[i] = 0; } - return true; - }, - toString$0: function(_) { - return J.toString$0$(this._set_multimap$_map); - }, - $index: function(_, key) { - var result = J.$index$asx(this._set_multimap$_map, key); - return result == null ? this._emptySet : result; - }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this._set_multimap$_map, key); - }, - get$keys: function(_) { - var t1, _this = this; - if (_this._set_multimap$_keys == null) - _this.set$_set_multimap$_keys(J.get$keys$x(_this._set_multimap$_map)); - t1 = _this._set_multimap$_keys; - t1.toString; - return t1; - }, - get$length: function(_) { - return J.get$length$asx(this._set_multimap$_map); - }, - set$_set_multimap$_keys: function(_keys) { - this._set_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); - } - }; - M.BuiltSetMultimap_hashCode_closure.prototype = { - call$1: function(key) { - var t2, - t1 = this.$this; - t1.$ti._precomputed1._as(key); - t2 = J.get$hashCode$(key); - t1 = J.get$hashCode$(J.$index$asx(t1._set_multimap$_map, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + _this.__Deflate__lookAhead_A = _this.__Deflate__blockStart_A = _this.__Deflate__strStart_A = 0; + _this.__Deflate__matchLength_A = _this.__Deflate__prevLength_A = 2; + _this.__Deflate__insertHash_A = _this.__Deflate__matchAvailable_A = 0; }, - $signature: function() { - return this.$this.$ti._eval$1("int(1)"); - } - }; - M._BuiltSetMultimap.prototype = {}; - M.SetMultimapBuilder.prototype = { - get$_builtMap: function() { - var t1 = this.__SetMultimapBuilder__builtMap; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t1; + _initBlock$0() { + var t1, i, t2, t3, _this = this, + _s18_ = "_dynamicLengthTree"; + for (t1 = _this.__Deflate__dynamicLengthTree_A, i = 0; i < 286; ++i) { + t1 === $ && A.throwLateFieldNI(_s18_); + t2 = i * 2; + if (!(t2 < 1146)) + return A.ioore(t1, t2); + t1[t2] = 0; + } + for (t2 = _this.__Deflate__dynamicDistTree_A, i = 0; i < 30; ++i) { + t2 === $ && A.throwLateFieldNI("_dynamicDistTree"); + t3 = i * 2; + if (!(t3 < 122)) + return A.ioore(t2, t3); + t2[t3] = 0; + } + for (t2 = _this.__Deflate__bitLengthTree_A, i = 0; i < 19; ++i) { + t2 === $ && A.throwLateFieldNI("_bitLengthTree"); + t3 = i * 2; + if (!(t3 < 78)) + return A.ioore(t2, t3); + t2[t3] = 0; + } + t1 === $ && A.throwLateFieldNI(_s18_); + t1[512] = 1; + _this.__Deflate__lastLit_A = _this.__Deflate__matches_A = _this.__Deflate__optimalLen_A = _this.__Deflate__staticLen_A = 0; }, - get$_builderMap: function() { - var t1 = this.__SetMultimapBuilder__builderMap; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t1; + _pqdownheap$2(tree, k) { + var v, j, t2, t3, j0, + t1 = this._heap; + if (!(k >= 0 && k < 573)) + return A.ioore(t1, k); + v = t1[k]; + j = k << 1 >>> 0; + t2 = this._depth; + while (true) { + t3 = this.__Deflate__heapLen_A; + t3 === $ && A.throwLateFieldNI("_heapLen"); + if (!(j <= t3)) + break; + if (j < t3) { + t3 = j + 1; + if (!(t3 >= 0 && t3 < 573)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (!(j >= 0 && j < 573)) + return A.ioore(t1, j); + t3 = A.Deflate__smaller(tree, t3, t1[j], t2); + } else + t3 = false; + if (t3) + ++j; + if (!(j >= 0 && j < 573)) + return A.ioore(t1, j); + if (A.Deflate__smaller(tree, v, t1[j], t2)) + break; + t3 = t1[j]; + if (!(k >= 0 && k < 573)) + return A.ioore(t1, k); + t1[k] = t3; + j0 = j << 1 >>> 0; + k = j; + j = j0; + } + if (!(k >= 0 && k < 573)) + return A.ioore(t1, k); + t1[k] = v; }, - build$0: function() { - var t1, key, t2, t3, t4, builtSet, _this = this, - _s9_ = "_builtMap"; - if (_this._builtMapOwner == null) { - for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_builderMap())); t1.moveNext$0();) { - key = t1.get$current(t1); - t2 = _this.__SetMultimapBuilder__builderMap; - t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t2, key); - if (t2._setOwner == null) { - t3 = t2._setFactory; - t4 = t2.__SetBuilder__set; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI("_set")); - t2.set$_setOwner(new X._BuiltSet(t3, t4, H.instanceType(t2)._eval$1("_BuiltSet<1>"))); + _scanTree$2(tree, maxCode) { + var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, + _s14_ = "_bitLengthTree", + t1 = tree.length; + if (1 >= t1) + return A.ioore(tree, 1); + nextLen = tree[1]; + if (nextLen === 0) { + maxCount = 138; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + t2 = (maxCode + 1) * 2 + 1; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(tree, t2); + tree[t2] = 65535; + for (t2 = this.__Deflate__bitLengthTree_A, n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { + ++n; + t3 = n * 2 + 1; + if (!(t3 < t1)) + return A.ioore(tree, t3); + nextLen0 = tree[t3]; + ++count; + if (count < maxCount && nextLen === nextLen0) + continue; + else if (count < minCount) { + t2 === $ && A.throwLateFieldNI(_s14_); + t3 = nextLen * 2; + if (!(t3 >= 0 && t3 < 78)) + return A.ioore(t2, t3); + t2[t3] = t2[t3] + count; + } else if (nextLen !== 0) { + if (nextLen !== prevLen) { + t2 === $ && A.throwLateFieldNI(_s14_); + t3 = nextLen * 2; + if (!(t3 >= 0 && t3 < 78)) + return A.ioore(t2, t3); + t2[t3] = t2[t3] + 1; } - builtSet = t2._setOwner; - t2 = builtSet._set; - t2 = t2.get$isEmpty(t2); - t3 = _this.__SetMultimapBuilder__builtMap; - if (t2) - J.remove$1$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key); - else - J.$indexSet$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key, builtSet); + t2 === $ && A.throwLateFieldNI(_s14_); + t2[32] = t2[32] + 1; + } else if (count <= 10) { + t2 === $ && A.throwLateFieldNI(_s14_); + t2[34] = t2[34] + 1; + } else { + t2 === $ && A.throwLateFieldNI(_s14_); + t2[36] = t2[36] + 1; } - t1 = _this.$ti; - t2 = t1._rest[1]; - _this.set$_builtMapOwner(new M._BuiltSetMultimap(_this.get$_builtMap(), X.BuiltSet_BuiltSet$from(C.List_empty, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltSetMultimap<1,2>"))); - } - t1 = _this._builtMapOwner; - t1.toString; - return t1; - }, - replace$1: function(_, multimap) { - this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new M.SetMultimapBuilder_replace_closure(multimap)); - }, - _getValuesBuilder$1: function(key) { - var result, builtValues, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(key); - result = J.$index$asx(_this.get$_builderMap(), key); - if (result == null) { - builtValues = J.$index$asx(_this.get$_builtMap(), key); - if (builtValues == null) - result = X.SetBuilder_SetBuilder(C.List_empty, t1._rest[1]); - else { - t1 = builtValues.$ti; - t1._eval$1("_BuiltSet<1>")._as(builtValues); - result = new X.SetBuilder(builtValues._setFactory, builtValues._set, builtValues, t1._eval$1("SetBuilder<1>")); + if (nextLen0 === 0) { + maxCount = 138; + minCount = 3; + } else if (nextLen === nextLen0) { + maxCount = 6; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; } - J.$indexSet$ax(_this.get$_builderMap(), key, result); + prevLen = nextLen; + count = 0; } - return result; }, - _setWithCopyAndCheck$2: function(keys, lookup) { - var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, _this = this; - _this.set$_builtMapOwner(null); - t1 = _this.$ti; - t2 = t1._precomputed1; - t3 = t1._eval$1("BuiltSet<2>"); - t4 = t1._eval$1("Map<1,BuiltSet<2>>"); - _this.set$__SetMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); - _this.set$__SetMultimapBuilder__builderMap(t1._eval$1("Map<1,SetBuilder<2>>")._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")))); - for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { - key = t5.get$current(t5); - if (t2._is(key)) - for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { - value = t7.get$current(t7); - if (t1._is(value)) { - t2._as(key); - t1._as(value); - if (_this._builtMapOwner != null) { - t8 = _this.__SetMultimapBuilder__builtMap; - _this.set$__SetMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t8, t2, t3))); - _this.set$_builtMapOwner(null); - } - _this._set_multimap$_checkKey$1(key); - _this._set_multimap$_checkValue$1(value); - t8 = _this._getValuesBuilder$1(key); - t9 = t8.$ti._precomputed1; - t9._as(value); - if (!$.$get$isSoundMode() && !t9._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - t8.get$_safeSet().add$1(0, value); - } else - throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value) + ", for key " + H.S(key))); - } - else - throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + _buildBitLengthTree$0() { + var t2, maxBLIndex, _this = this, + t1 = _this.__Deflate__dynamicLengthTree_A; + t1 === $ && A.throwLateFieldNI("_dynamicLengthTree"); + t2 = _this._lDesc.___HuffmanTree_maxCode_A; + t2 === $ && A.throwLateFieldNI("maxCode"); + _this._scanTree$2(t1, t2); + t2 = _this.__Deflate__dynamicDistTree_A; + t2 === $ && A.throwLateFieldNI("_dynamicDistTree"); + t1 = _this._dDesc.___HuffmanTree_maxCode_A; + t1 === $ && A.throwLateFieldNI("maxCode"); + _this._scanTree$2(t2, t1); + _this._blDesc._buildTree$1(_this); + for (t1 = _this.__Deflate__bitLengthTree_A, maxBLIndex = 18; maxBLIndex >= 3; --maxBLIndex) { + t1 === $ && A.throwLateFieldNI("_bitLengthTree"); + t2 = B.List_uSC[maxBLIndex] * 2 + 1; + if (!(t2 < 78)) + return A.ioore(t1, t2); + if (t1[t2] !== 0) + break; } + t1 = _this.__Deflate__optimalLen_A; + t1 === $ && A.throwLateFieldNI("_optimalLen"); + _this.__Deflate__optimalLen_A = t1 + (3 * (maxBLIndex + 1) + 5 + 5 + 4); + return maxBLIndex; }, - _set_multimap$_checkKey$1: function(key) { - var t1 = this.$ti._precomputed1; - t1._as(key); - if ($.$get$isSoundMode()) - return; - if (t1._is(null)) - return; - if (key == null) - throw H.wrapException(P.ArgumentError$("invalid key: " + H.S(key))); - }, - _set_multimap$_checkValue$1: function(value) { - var t1 = this.$ti._rest[1]; - t1._as(value); - if ($.$get$isSoundMode()) - return; - if (t1._is(null)) - return; - if (value == null) - throw H.wrapException(P.ArgumentError$("invalid value: " + H.S(value))); - }, - set$__SetMultimapBuilder__builtMap: function(__SetMultimapBuilder__builtMap) { - this.__SetMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltSet<2>>?")._as(__SetMultimapBuilder__builtMap); - }, - set$_builtMapOwner: function(_builtMapOwner) { - this._builtMapOwner = this.$ti._eval$1("_BuiltSetMultimap<1,2>?")._as(_builtMapOwner); + _sendAllTrees$3(lcodes, dcodes, blcodes) { + var t1, rank, t2, t3, _this = this; + _this._sendBits$2(lcodes - 257, 5); + t1 = dcodes - 1; + _this._sendBits$2(t1, 5); + _this._sendBits$2(blcodes - 4, 4); + for (rank = 0; rank < blcodes; ++rank) { + t2 = _this.__Deflate__bitLengthTree_A; + t2 === $ && A.throwLateFieldNI("_bitLengthTree"); + if (!(rank < 19)) + return A.ioore(B.List_uSC, rank); + t3 = B.List_uSC[rank] * 2 + 1; + if (!(t3 < 78)) + return A.ioore(t2, t3); + _this._sendBits$2(t2[t3], 3); + } + t2 = _this.__Deflate__dynamicLengthTree_A; + t2 === $ && A.throwLateFieldNI("_dynamicLengthTree"); + _this._sendTree$2(t2, lcodes - 1); + t2 = _this.__Deflate__dynamicDistTree_A; + t2 === $ && A.throwLateFieldNI("_dynamicDistTree"); + _this._sendTree$2(t2, t1); }, - set$__SetMultimapBuilder__builderMap: function(__SetMultimapBuilder__builderMap) { - this.__SetMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,SetBuilder<2>>?")._as(__SetMultimapBuilder__builderMap); - } - }; - M.SetMultimapBuilder_replace_closure.prototype = { - call$1: function(k) { - return this.multimap.$index(0, k); - }, - $signature: 14 - }; - Y.EnumClass.prototype = { - toString$0: function(_) { - return this.name; - } - }; - Y.newBuiltValueToStringHelper_closure.prototype = { - call$1: function(className) { - var t1 = new P.StringBuffer(""), - t2 = t1._contents += H.S(H._asStringS(className)); - t1._contents = t2 + " {\n"; - $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; - return new Y.IndentingBuiltValueToStringHelper(t1); - }, - $signature: 237 - }; - Y.IndentingBuiltValueToStringHelper.prototype = { - add$2: function(_, field, value) { - var t1, t2; - if (value != null) { - t1 = this._result; - t1.toString; - t2 = t1._contents += C.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); - t2 += field; - t1._contents = t2; - t1._contents = t2 + "="; - t2 = t1._contents += H.S(value); - t1._contents = t2 + ",\n"; + _sendTree$2(tree, maxCode) { + var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, t4, t5, t6, _this = this, + _s14_ = "_bitLengthTree", + t1 = tree.length; + if (1 >= t1) + return A.ioore(tree, 1); + nextLen = tree[1]; + if (nextLen === 0) { + maxCount = 138; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; } - }, - toString$0: function(_) { - var t2, stringResult, - t1 = $._indentingBuiltValueToStringHelperIndent - 2; - $._indentingBuiltValueToStringHelperIndent = t1; - t2 = this._result; - t2.toString; - t1 = t2._contents += C.JSString_methods.$mul(" ", t1); - t2._contents = t1 + "}"; - stringResult = J.toString$0$(this._result); - this._result = null; - return stringResult; - } - }; - Y.BuiltValueNullFieldError.prototype = { - toString$0: function(_) { - return 'Tried to construct class "' + this.type + '" with null for non-nullable field "' + this.field + '".'; - } - }; - Y.BuiltValueNestedFieldError.prototype = { - toString$0: function(_) { - return 'Tried to build class "' + this.type + '" but nested builder for field "' + H.S(this.field) + '" threw: ' + H.S(this.error); - } - }; - A.JsonObject.prototype = { - toString$0: function(_) { - return J.toString$0$(this.get$value(this)); - } - }; - A.BoolJsonObject.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - if (!(other instanceof A.BoolJsonObject)) - return false; - return this.value === other.value; - }, - get$hashCode: function(_) { - return C.JSBool_methods.get$hashCode(this.value); - }, - get$value: function(receiver) { - return this.value; - } - }; - A.ListJsonObject.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - if (!(other instanceof A.ListJsonObject)) - return false; - return C.C_DeepCollectionEquality.equals$2(this.value, other.value); - }, - get$hashCode: function(_) { - return C.C_DeepCollectionEquality.hash$1(0, this.value); - }, - get$value: function(receiver) { - return this.value; - } - }; - A.MapJsonObject.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - if (!(other instanceof A.MapJsonObject)) - return false; - return C.C_DeepCollectionEquality.equals$2(this.value, other.value); - }, - get$hashCode: function(_) { - return C.C_DeepCollectionEquality.hash$1(0, this.value); - }, - get$value: function(receiver) { - return this.value; - } - }; - A.NumJsonObject.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - if (!(other instanceof A.NumJsonObject)) - return false; - return this.value === other.value; - }, - get$hashCode: function(_) { - return C.JSNumber_methods.get$hashCode(this.value); - }, - get$value: function(receiver) { - return this.value; - } - }; - A.StringJsonObject.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - if (!(other instanceof A.StringJsonObject)) - return false; - return this.value === other.value; - }, - get$hashCode: function(_) { - return C.JSString_methods.get$hashCode(this.value); - }, - get$value: function(receiver) { - return this.value; - } - }; - U.Serializers_Serializers_closure.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.Object); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 239 - }; - U.Serializers_Serializers_closure0.prototype = { - call$0: function() { - var t1 = type$.Object; - return R.ListMultimapBuilder_ListMultimapBuilder(t1, t1); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 242 - }; - U.Serializers_Serializers_closure1.prototype = { - call$0: function() { - var t1 = type$.Object; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 244 - }; - U.Serializers_Serializers_closure2.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.Object); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 245 - }; - U.Serializers_Serializers_closure3.prototype = { - call$0: function() { - var t1 = type$.Object; - return M.SetMultimapBuilder_SetMultimapBuilder(t1, t1); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 247 - }; - U.FullType.prototype = { - $eq: function(_, other) { - var t1, t2, t3, t4, i, t5, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (!(other instanceof U.FullType)) - return false; - if (_this.root != other.root) - return false; - if (_this.nullable !== other.nullable) - return false; - t1 = _this.parameters; - t2 = t1.length; - t3 = other.parameters; - t4 = t3.length; - if (t2 !== t4) - return false; - for (i = 0; i !== t2; ++i) { - if (i >= t2) - return H.ioore(t1, i); - t5 = t1[i]; - if (i >= t4) - return H.ioore(t3, i); - if (!t5.$eq(0, t3[i])) - return false; + for (t2 = type$.List_int, n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { + ++n; + t3 = n * 2 + 1; + if (!(t3 < t1)) + return A.ioore(tree, t3); + nextLen0 = tree[t3]; + ++count; + if (count < maxCount && nextLen === nextLen0) + continue; + else if (count < minCount) { + t3 = nextLen * 2; + t4 = t3 + 1; + do { + t5 = _this.__Deflate__bitLengthTree_A; + t5 === $ && A.throwLateFieldNI(_s14_); + t2._as(t5); + if (!(t3 >= 0 && t3 < 78)) + return A.ioore(t5, t3); + t6 = t5[t3]; + if (!(t4 >= 0 && t4 < 78)) + return A.ioore(t5, t4); + _this._sendBits$2(t6 & 65535, t5[t4] & 65535); + } while (--count, count !== 0); + } else if (nextLen !== 0) { + if (nextLen !== prevLen) { + t3 = _this.__Deflate__bitLengthTree_A; + t3 === $ && A.throwLateFieldNI(_s14_); + t2._as(t3); + t4 = nextLen * 2; + if (!(t4 >= 0 && t4 < 78)) + return A.ioore(t3, t4); + t5 = t3[t4]; + ++t4; + if (!(t4 < 78)) + return A.ioore(t3, t4); + _this._sendBits$2(t5 & 65535, t3[t4] & 65535); + --count; + } + t3 = _this.__Deflate__bitLengthTree_A; + t3 === $ && A.throwLateFieldNI(_s14_); + t2._as(t3); + _this._sendBits$2(t3[32] & 65535, t3[33] & 65535); + _this._sendBits$2(count - 3, 2); + } else { + t3 = _this.__Deflate__bitLengthTree_A; + if (count <= 10) { + t3 === $ && A.throwLateFieldNI(_s14_); + t2._as(t3); + _this._sendBits$2(t3[34] & 65535, t3[35] & 65535); + _this._sendBits$2(count - 3, 3); + } else { + t3 === $ && A.throwLateFieldNI(_s14_); + t2._as(t3); + _this._sendBits$2(t3[36] & 65535, t3[37] & 65535); + _this._sendBits$2(count - 11, 7); + } + } + if (nextLen0 === 0) { + maxCount = 138; + minCount = 3; + } else if (nextLen === nextLen0) { + maxCount = 6; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + prevLen = nextLen; + count = 0; } - return true; }, - get$hashCode: function(_) { - var t1 = A.hashObjects(this.parameters); - t1 = A._finish(A._combine(A._combine(0, J.get$hashCode$(this.root)), C.JSInt_methods.get$hashCode(t1))); - return t1 ^ (this.nullable ? 1768878041 : 0); - }, - toString$0: function(_) { + _putBytes$3(p, start, len) { + var t1, t2, t3, j, i, t4; + if (len === 0) + return; + t1 = this.__Deflate__pending_A; + t1 === $ && A.throwLateFieldNI("_pending"); + t2 = this.__Deflate__pendingBuffer_A; + t3 = p.length; + j = t1; + i = 0; + for (; i < len; ++i, ++j) { + t2 === $ && A.throwLateFieldNI("_pendingBuffer"); + t4 = i + start; + if (!(t4 >= 0 && t4 < t3)) + return A.ioore(p, t4); + t4 = p[t4]; + if (!(j >= 0 && j < t2.length)) + return A.ioore(t2, j); + t2[j] = t4; + } + this.__Deflate__pending_A = t1 + len; + }, + _putByte$1(c) { var t2, - t1 = this.root; - if (t1 == null) - t1 = "unspecified"; - else { - t2 = this.parameters; - t1 = t2.length === 0 ? U.FullType__getRawName(t1) : U.FullType__getRawName(t1) + "<" + C.JSArray_methods.join$1(t2, ", ") + ">"; - t1 += this.nullable ? "?" : ""; - } - return t1; - } - }; - U.DeserializationError.prototype = { - toString$0: function(_) { - return "Deserializing to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); - } - }; - O.BigIntSerializer.prototype = { - serialize$3$specifiedType: function(serializers, bigInt, specifiedType) { - return type$.BigInt._as(bigInt).toString$0(0); - }, - serialize$2: function(serializers, bigInt) { - return this.serialize$3$specifiedType(serializers, bigInt, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result; - H._asStringS(serialized); - result = P._BigIntImpl__tryParse(serialized, null); - if (result == null) - H.throwExpression(P.FormatException$("Could not parse BigInt", serialized, null)); - return result; - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; - }, - get$wireName: function() { - return "BigInt"; - } - }; - R.BoolSerializer.prototype = { - serialize$3$specifiedType: function(serializers, boolean, specifiedType) { - return H._asBoolS(boolean); - }, - serialize$2: function(serializers, boolean) { - return this.serialize$3$specifiedType(serializers, boolean, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return H._asBoolS(serialized); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; - }, - get$wireName: function() { - return "bool"; - } - }; - Y.BuiltJsonSerializers.prototype = { - serialize$2$specifiedType: function(object, specifiedType) { - var t1, t2, t3, t4, result; - for (t1 = this.serializerPlugins._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = specifiedType.root; t3.moveNext$0();) { - t3.get$current(t3).toString; - if ($.$get$StandardJsonPlugin__unsupportedTypes()._set.contains$1(0, t4)) - H.throwExpression(P.ArgumentError$("Standard JSON cannot serialize type " + H.S(t4) + ".")); - } - result = this._serialize$2(object, specifiedType); - for (t1 = t2.get$iterator(t1); t1.moveNext$0();) - result = t1.get$current(t1).afterSerialize$2(result, specifiedType); - return result; - }, - serialize$1: function(object) { - return this.serialize$2$specifiedType(object, C.FullType_null_List_empty_false); + t1 = this.__Deflate__pendingBuffer_A; + t1 === $ && A.throwLateFieldNI("_pendingBuffer"); + t2 = this.__Deflate__pending_A; + t2 === $ && A.throwLateFieldNI("_pending"); + this.__Deflate__pending_A = t2 + 1; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + t1[t2] = c; + }, + _sendCode$2(c, tree) { + var t1, t2, t3; + type$.List_int._as(tree); + t1 = c * 2; + t2 = tree.length; + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(tree, t1); + t3 = tree[t1]; + ++t1; + if (!(t1 < t2)) + return A.ioore(tree, t1); + this._sendBits$2(t3 & 65535, tree[t1] & 65535); }, - _serialize$2: function(object, specifiedType) { - var serializer, result, _this = this, - _s62_ = string$.serial, - t1 = specifiedType.root; - if (t1 == null) { - t1 = J.getInterceptor$(object); - serializer = _this.serializerForType$1(t1.get$runtimeType(object)); - if (serializer == null) - throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(t1.get$runtimeType(object).toString$0(0)))); - if (type$.StructuredSerializer_dynamic._is(serializer)) { - result = [serializer.get$wireName()]; - C.JSArray_methods.addAll$1(result, serializer.serialize$2(_this, object)); - return result; - } else if (type$.PrimitiveSerializer_dynamic._is(serializer)) - return object == null ? [serializer.get$wireName(), null] : H.setRuntimeTypeInfo([serializer.get$wireName(), serializer.serialize$2(_this, object)], type$.JSArray_Object); - else - throw H.wrapException(P.StateError$(_s62_)); + _sendBits$2(valueRenamed, $length) { + var t2, _this = this, + _s10_ = "_bitBuffer", + t1 = _this.__Deflate__numValidBits_A; + t1 === $ && A.throwLateFieldNI("_numValidBits"); + t2 = _this.__Deflate__bitBuffer_A; + if (t1 > 16 - $length) { + t2 === $ && A.throwLateFieldNI(_s10_); + t1 = _this.__Deflate__bitBuffer_A = (t2 | B.JSInt_methods.$shl(valueRenamed, t1) & 65535) >>> 0; + _this._putByte$1(t1); + _this._putByte$1(A._rshift(t1, 8)); + t1 = _this.__Deflate__numValidBits_A; + _this.__Deflate__bitBuffer_A = A._rshift(valueRenamed, 16 - t1); + _this.__Deflate__numValidBits_A = t1 + ($length - 16); } else { - serializer = _this.serializerForType$1(t1); - if (serializer == null) - return _this.serialize$1(object); - if (type$.StructuredSerializer_dynamic._is(serializer)) - return object == null ? null : J.toList$0$ax(serializer.serialize$3$specifiedType(_this, object, specifiedType)); - else if (type$.PrimitiveSerializer_dynamic._is(serializer)) - return object == null ? null : serializer.serialize$3$specifiedType(_this, object, specifiedType); - else - throw H.wrapException(P.StateError$(_s62_)); + t2 === $ && A.throwLateFieldNI(_s10_); + _this.__Deflate__bitBuffer_A = (t2 | B.JSInt_methods.$shl(valueRenamed, t1) & 65535) >>> 0; + _this.__Deflate__numValidBits_A = t1 + $length; + } + }, + _trTally$2(dist, lc) { + var t2, t3, t4, t5, outLength, dcode, _this = this, + _s18_ = "_dynamicLengthTree", + _s8_ = "_matches", + _s16_ = "_dynamicDistTree", + t1 = _this.__Deflate__pendingBuffer_A; + t1 === $ && A.throwLateFieldNI("_pendingBuffer"); + t2 = _this.__Deflate__dbuf_A; + t2 === $ && A.throwLateFieldNI("_dbuf"); + t3 = _this.__Deflate__lastLit_A; + t3 === $ && A.throwLateFieldNI("_lastLit"); + t2 += t3 * 2; + t4 = A._rshift(dist, 8); + t5 = t1.length; + if (!(t2 < t5)) + return A.ioore(t1, t2); + t1[t2] = t4; + ++t2; + if (!(t2 < t5)) + return A.ioore(t1, t2); + t1[t2] = dist; + t2 = _this.__Deflate__lbuf_A; + t2 === $ && A.throwLateFieldNI("_lbuf"); + t2 += t3; + if (!(t2 < t5)) + return A.ioore(t1, t2); + t1[t2] = lc; + _this.__Deflate__lastLit_A = t3 + 1; + if (dist === 0) { + t1 = _this.__Deflate__dynamicLengthTree_A; + t1 === $ && A.throwLateFieldNI(_s18_); + t2 = lc * 2; + if (!(t2 >= 0 && t2 < 1146)) + return A.ioore(t1, t2); + t1[t2] = t1[t2] + 1; + } else { + t1 = _this.__Deflate__matches_A; + t1 === $ && A.throwLateFieldNI(_s8_); + _this.__Deflate__matches_A = t1 + 1; + t1 = _this.__Deflate__dynamicLengthTree_A; + t1 === $ && A.throwLateFieldNI(_s18_); + if (!(lc >= 0 && lc < 256)) + return A.ioore(B.List_NUU, lc); + t2 = (B.List_NUU[lc] + 256 + 1) * 2; + if (!(t2 < 1146)) + return A.ioore(t1, t2); + t1[t2] = t1[t2] + 1; + t2 = _this.__Deflate__dynamicDistTree_A; + t2 === $ && A.throwLateFieldNI(_s16_); + t1 = A._HuffmanTree__dCode(dist - 1) * 2; + if (!(t1 < 122)) + return A.ioore(t2, t1); + t2[t1] = t2[t1] + 1; } + t1 = _this.__Deflate__lastLit_A; + if ((t1 & 8191) === 0) { + t2 = _this.__Deflate__level_A; + t2 === $ && A.throwLateFieldNI("_level"); + t2 = t2 > 2; + } else + t2 = false; + if (t2) { + outLength = t1 * 8; + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI("_strStart"); + t3 = _this.__Deflate__blockStart_A; + t3 === $ && A.throwLateFieldNI("_blockStart"); + for (t4 = _this.__Deflate__dynamicDistTree_A, dcode = 0; dcode < 30; ++dcode) { + t4 === $ && A.throwLateFieldNI(_s16_); + t5 = dcode * 2; + if (!(t5 < 122)) + return A.ioore(t4, t5); + outLength += t4[t5] * (5 + B.List_X3d[dcode]); + } + outLength = A._rshift(outLength, 3); + t4 = _this.__Deflate__matches_A; + t4 === $ && A.throwLateFieldNI(_s8_); + if (t4 < t1 / 2 && outLength < (t2 - t3) / 2) + return true; + } + t2 = _this.__Deflate__litBufferSize_A; + t2 === $ && A.throwLateFieldNI("_litBufferSize"); + return t1 === t2 - 1; }, - deserialize$2$specifiedType: function(object, specifiedType) { - var t1, t2, t3, transformedObject, result; - for (t1 = this.serializerPlugins._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), transformedObject = object; t3.moveNext$0();) - transformedObject = t3.get$current(t3).beforeDeserialize$2(transformedObject, specifiedType); - result = this._deserialize$3(object, transformedObject, specifiedType); - for (t1 = t2.get$iterator(t1); t1.moveNext$0();) - t1.get$current(t1).toString; - return result; - }, - deserialize$1: function(object) { - return this.deserialize$2$specifiedType(object, C.FullType_null_List_empty_false); - }, - _deserialize$3: function(objectBeforePlugins, object, specifiedType) { - var serializer, error, primitive, error0, serializer0, error1, error2, wireName, exception, _this = this, - _s62_ = string$.serial, - t1 = specifiedType.root; - if (t1 == null) { - type$.List_nullable_Object._as(object); - t1 = J.getInterceptor$ax(object); - wireName = H._asStringS(t1.get$first(object)); - serializer = J.$index$asx(_this._wireNameToSerializer._map$_map, wireName); - if (serializer == null) - throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(wireName))); - if (type$.StructuredSerializer_dynamic._is(serializer)) - try { - t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); - return t1; - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.Error._is(t1)) { - error = t1; - throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error)); - } else - throw exception; - } - else if (type$.PrimitiveSerializer_dynamic._is(serializer)) - try { - primitive = t1.$index(object, 1); - t1 = primitive == null ? null : serializer.deserialize$2(_this, primitive); - return t1; - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.Error._is(t1)) { - error0 = t1; - throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error0)); - } else - throw exception; - } - else - throw H.wrapException(P.StateError$(_s62_)); - } else { - serializer0 = _this.serializerForType$1(t1); - if (serializer0 == null) - if (type$.List_dynamic._is(object) && typeof J.get$first$ax(object) == "string") - return _this.deserialize$1(objectBeforePlugins); - else - throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(t1.toString$0(0)))); - if (type$.StructuredSerializer_dynamic._is(serializer0)) - try { - t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, type$.Iterable_nullable_Object._as(object), specifiedType); - return t1; - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.Error._is(t1)) { - error1 = t1; - throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error1)); - } else - throw exception; - } - else if (type$.PrimitiveSerializer_dynamic._is(serializer0)) - try { - t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, object, specifiedType); - return t1; - } catch (exception) { - t1 = H.unwrapException(exception); - if (type$.Error._is(t1)) { - error2 = t1; - throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error2)); - } else - throw exception; + _compressBlock$2(ltree, dtree) { + var lx, t2, t3, t4, dist, lc, code, extra, _this = this, + t1 = type$.List_int; + t1._as(ltree); + t1._as(dtree); + t1 = _this.__Deflate__lastLit_A; + t1 === $ && A.throwLateFieldNI("_lastLit"); + if (t1 !== 0) { + lx = 0; + do { + t1 = _this.__Deflate__pendingBuffer_A; + t1 === $ && A.throwLateFieldNI("_pendingBuffer"); + t2 = _this.__Deflate__dbuf_A; + t2 === $ && A.throwLateFieldNI("_dbuf"); + t2 += lx * 2; + t3 = t1.length; + if (!(t2 < t3)) + return A.ioore(t1, t2); + t4 = t1[t2]; + ++t2; + if (!(t2 < t3)) + return A.ioore(t1, t2); + dist = t4 << 8 & 65280 | t1[t2] & 255; + t2 = _this.__Deflate__lbuf_A; + t2 === $ && A.throwLateFieldNI("_lbuf"); + t2 += lx; + if (!(t2 < t3)) + return A.ioore(t1, t2); + lc = t1[t2] & 255; + ++lx; + if (dist === 0) + _this._sendCode$2(lc, ltree); + else { + code = B.List_NUU[lc]; + _this._sendCode$2(code + 256 + 1, ltree); + if (!(code < 29)) + return A.ioore(B.List_qQn, code); + extra = B.List_qQn[code]; + if (extra !== 0) + _this._sendBits$2(lc - B.List_qQn0[code], extra); + --dist; + code = A._HuffmanTree__dCode(dist); + _this._sendCode$2(code, dtree); + if (!(code < 30)) + return A.ioore(B.List_X3d, code); + extra = B.List_X3d[code]; + if (extra !== 0) + _this._sendBits$2(dist - B.List_X3d0[code], extra); } - else - throw H.wrapException(P.StateError$(_s62_)); + } while (lx < _this.__Deflate__lastLit_A); } + _this._sendCode$2(256, ltree); + if (513 >= ltree.length) + return A.ioore(ltree, 513); + _this.__Deflate__lastEOBLen_A = ltree[513]; }, - serializerForType$1: function(type) { - var t1 = J.$index$asx(this._typeToSerializer._map$_map, type); - if (t1 == null) { - t1 = Y._getRawName(type); - t1 = J.$index$asx(this._typeNameToSerializer._map$_map, t1); + setDataType$0() { + var t1, n, binFreq, t2, asciiFreq, + _s18_ = "_dynamicLengthTree"; + for (t1 = this.__Deflate__dynamicLengthTree_A, n = 0, binFreq = 0; n < 7;) { + t1 === $ && A.throwLateFieldNI(_s18_); + t2 = n * 2; + if (!(t2 < 1146)) + return A.ioore(t1, t2); + binFreq += t1[t2]; + ++n; } - return t1; - }, - newBuilder$1: function(fullType) { - var builderFactory = J.$index$asx(this.builderFactories._map$_map, fullType); - if (builderFactory == null) { - this._throwMissingBuilderFactory$1(fullType); - H.ReachabilityError$(string$.x60null_); + for (asciiFreq = 0; n < 128;) { + t1 === $ && A.throwLateFieldNI(_s18_); + t2 = n * 2; + if (!(t2 < 1146)) + return A.ioore(t1, t2); + asciiFreq += t1[t2]; + ++n; } - return builderFactory.call$0(); - }, - expectBuilder$1: function(fullType) { - if (!J.containsKey$1$x(this.builderFactories._map$_map, fullType)) { - this._throwMissingBuilderFactory$1(fullType); - H.ReachabilityError$(string$.x60null_); + for (; n < 256;) { + t1 === $ && A.throwLateFieldNI(_s18_); + t2 = n * 2; + if (!(t2 < 1146)) + return A.ioore(t1, t2); + binFreq += t1[t2]; + ++n; } + this._dataType = binFreq > A._rshift(asciiFreq, 2) ? 0 : 1; }, - _throwMissingBuilderFactory$1: function(fullType) { - throw H.wrapException(P.StateError$("No builder factory for " + fullType.toString$0(0) + ". Fix by adding one, see SerializersBuilder.addBuilderFactory.")); - }, - toBuilder$0: function() { - var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, - t1 = _this._typeToSerializer; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - t3 = _this._wireNameToSerializer; - t3.toString; - t4 = t3.$ti; - t4._eval$1("_BuiltMap<1,2>")._as(t3); - t5 = _this._typeNameToSerializer; - t5.toString; - t6 = t5.$ti; - t6._eval$1("_BuiltMap<1,2>")._as(t5); - t7 = _this.builderFactories; - t7.toString; - t8 = t7.$ti; - t8._eval$1("_BuiltMap<1,2>")._as(t7); - t9 = _this.serializerPlugins; - t9.toString; - return new Y.BuiltJsonSerializersBuilder(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t3._mapFactory, t3._map$_map, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t5._mapFactory, t5._map$_map, t5, t6._eval$1("@<1>")._bind$1(t6._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t7._mapFactory, t7._map$_map, t7, t8._eval$1("@<1>")._bind$1(t8._rest[1])._eval$1("MapBuilder<1,2>")), D.ListBuilder_ListBuilder(t9, t9.$ti._precomputed1)); - }, - $isSerializers: 1 - }; - Y.BuiltJsonSerializersBuilder.prototype = { - add$1: function(_, serializer) { - var t1, t2, t3, t4, t5, t6, $name, genericsStart, t7; - type$.Serializer_dynamic._as(serializer); - if (!type$.StructuredSerializer_dynamic._is(serializer) && !type$.PrimitiveSerializer_dynamic._is(serializer)) - throw H.wrapException(P.ArgumentError$(string$.serial)); - this._wireNameToSerializer.$indexSet(0, serializer.get$wireName(), serializer); - for (t1 = J.get$iterator$ax(serializer.get$types(serializer)), t2 = this._typeToSerializer, t3 = t2.$ti, t4 = t3._precomputed1, t3 = t3._rest[1], t5 = this._typeNameToSerializer; t1.moveNext$0();) { - t6 = t1.get$current(t1); - t4._as(t6); - t3._as(serializer); - t2._checkKey$1(t6); - t2._checkValue$1(serializer); - J.$indexSet$ax(t2.get$_safeMap(), t6, serializer); - $name = J.toString$0$(t6); - genericsStart = J.indexOf$1$asx($name, "<"); - t6 = genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); - t7 = t5.$ti; - t7._precomputed1._as(t6); - t7._rest[1]._as(serializer); - t5._checkKey$1(t6); - t5._checkValue$1(serializer); - J.$indexSet$ax(t5.get$_safeMap(), t6, serializer); + biFlush$0() { + var _this = this, + _s10_ = "_bitBuffer", + t1 = _this.__Deflate__numValidBits_A; + t1 === $ && A.throwLateFieldNI("_numValidBits"); + if (t1 === 16) { + t1 = _this.__Deflate__bitBuffer_A; + t1 === $ && A.throwLateFieldNI(_s10_); + _this._putByte$1(t1); + _this._putByte$1(A._rshift(t1, 8)); + _this.__Deflate__numValidBits_A = _this.__Deflate__bitBuffer_A = 0; + } else if (t1 >= 8) { + t1 = _this.__Deflate__bitBuffer_A; + t1 === $ && A.throwLateFieldNI(_s10_); + _this._putByte$1(t1); + _this.__Deflate__bitBuffer_A = A._rshift(_this.__Deflate__bitBuffer_A, 8); + _this.__Deflate__numValidBits_A = _this.__Deflate__numValidBits_A - 8; } }, - addBuilderFactory$2: function(types, $function) { - var t2, t3, - t1 = this._builderFactories; - t1.$indexSet(0, types, $function); - t2 = types.root; - t3 = types.parameters; - t1.$indexSet(0, !types.nullable ? new U.FullType(t2, t3, true) : new U.FullType(t2, t3, false), $function); - }, - build$0: function() { - var _this = this; - return new Y.BuiltJsonSerializers(_this._typeToSerializer.build$0(), _this._wireNameToSerializer.build$0(), _this._typeNameToSerializer.build$0(), _this._builderFactories.build$0(), _this._plugins.build$0()); - } - }; - R.BuiltListMultimapSerializer.prototype = { - serialize$3$specifiedType: function(serializers, builtListMultimap, specifiedType) { - var t1, t2, t3, keyType, valueType, result, t4, t5, key, result0, t6; - type$.BuiltListMultimap_dynamic_dynamic._as(builtListMultimap); - if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); - t1 = specifiedType.parameters; - t2 = t1.length; - t3 = t2 === 0; - if (t3) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - keyType = t1[0]; + _biWindup$0() { + var _this = this, + _s10_ = "_bitBuffer", + t1 = _this.__Deflate__numValidBits_A; + t1 === $ && A.throwLateFieldNI("_numValidBits"); + if (t1 > 8) { + t1 = _this.__Deflate__bitBuffer_A; + t1 === $ && A.throwLateFieldNI(_s10_); + _this._putByte$1(t1); + _this._putByte$1(A._rshift(t1, 8)); + } else if (t1 > 0) { + t1 = _this.__Deflate__bitBuffer_A; + t1 === $ && A.throwLateFieldNI(_s10_); + _this._putByte$1(t1); } - if (t3) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t2) - return H.ioore(t1, 1); - valueType = t1[1]; + _this.__Deflate__numValidBits_A = _this.__Deflate__bitBuffer_A = 0; + }, + _flushBlockOnly$1(eof) { + var t2, t3, maxBlIndex, optLenb, staticLenb, _this = this, + t1 = _this.__Deflate__blockStart_A; + t1 === $ && A.throwLateFieldNI("_blockStart"); + if (t1 >= 0) + t2 = t1; + else + t2 = -1; + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI("_strStart"); + t1 = t3 - t1; + t3 = _this.__Deflate__level_A; + t3 === $ && A.throwLateFieldNI("_level"); + if (t3 > 0) { + if (_this._dataType === 2) + _this.setDataType$0(); + _this._lDesc._buildTree$1(_this); + _this._dDesc._buildTree$1(_this); + maxBlIndex = _this._buildBitLengthTree$0(); + t3 = _this.__Deflate__optimalLen_A; + t3 === $ && A.throwLateFieldNI("_optimalLen"); + optLenb = A._rshift(t3 + 3 + 7, 3); + t3 = _this.__Deflate__staticLen_A; + t3 === $ && A.throwLateFieldNI("_staticLen"); + staticLenb = A._rshift(t3 + 3 + 7, 3); + if (staticLenb <= optLenb) + optLenb = staticLenb; + } else { + staticLenb = t1 + 5; + optLenb = staticLenb; + maxBlIndex = 0; } - result = []; - for (t1 = J.get$iterator$ax(builtListMultimap.get$keys(builtListMultimap)), t2 = type$.nullable_Object, t3 = builtListMultimap._list_multimap$_map, t4 = J.getInterceptor$asx(t3), t5 = builtListMultimap._emptyList; t1.moveNext$0();) { - key = t1.get$current(t1); - result.push(serializers.serialize$2$specifiedType(key, keyType)); - result0 = t4.$index(t3, key); - t6 = result0 == null ? t5 : result0; - result.push(J.map$1$1$ax(t6._list, t6.$ti._eval$1("Object?(1)")._as(new R.BuiltListMultimapSerializer_serialize_closure(serializers, valueType)), t2).toList$0(0)); + if (t1 + 4 <= optLenb && t2 !== -1) + _this._trStoredBlock$3(t2, t1, eof); + else if (staticLenb === optLenb) { + _this._sendBits$2(2 + (eof ? 1 : 0), 3); + _this._compressBlock$2(B.List_Xg4, B.List_iYO); + } else { + _this._sendBits$2(4 + (eof ? 1 : 0), 3); + t1 = _this._lDesc.___HuffmanTree_maxCode_A; + t1 === $ && A.throwLateFieldNI("maxCode"); + t2 = _this._dDesc.___HuffmanTree_maxCode_A; + t2 === $ && A.throwLateFieldNI("maxCode"); + _this._sendAllTrees$3(t1 + 1, t2 + 1, maxBlIndex + 1); + t2 = _this.__Deflate__dynamicLengthTree_A; + t2 === $ && A.throwLateFieldNI("_dynamicLengthTree"); + t1 = _this.__Deflate__dynamicDistTree_A; + t1 === $ && A.throwLateFieldNI("_dynamicDistTree"); + _this._compressBlock$2(t2, t1); } - return result; - }, - serialize$2: function(serializers, builtListMultimap) { - return this.serialize$3$specifiedType(serializers, builtListMultimap, C.FullType_null_List_empty_false); + _this._initBlock$0(); + if (eof) + _this._biWindup$0(); + _this.__Deflate__blockStart_A = _this.__Deflate__strStart_A; + _this._flushPending$0(); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, t8, - t1 = type$.Iterable_nullable_Object; - t1._as(serialized); - isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; - t2 = specifiedType.parameters; - t3 = t2.length; - t4 = t3 === 0; - if (t4) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t3) - return H.ioore(t2, 0); - keyType = t2[0]; - } - if (t4) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t3) - return H.ioore(t2, 1); - valueType = t2[1]; + _deflateStored$1(flush) { + var maxBlockSize, t2, t3, maxStart, t4, _this = this, + t1 = _this.__Deflate__pendingBufferSize_A; + t1 === $ && A.throwLateFieldNI("_pendingBufferSize"); + maxBlockSize = t1 - 5; + maxBlockSize = 65535 > maxBlockSize ? maxBlockSize : 65535; + for (t1 = flush === 0; true;) { + t2 = _this.__Deflate__lookAhead_A; + t2 === $ && A.throwLateFieldNI("_lookAhead"); + if (t2 <= 1) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead_A; + t3 = t2 === 0; + if (t3 && t1) + return 0; + if (t3) + break; + } + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI("_strStart"); + t2 = _this.__Deflate__strStart_A = t3 + t2; + _this.__Deflate__lookAhead_A = 0; + t3 = _this.__Deflate__blockStart_A; + t3 === $ && A.throwLateFieldNI("_blockStart"); + maxStart = t3 + maxBlockSize; + if (t2 >= maxStart) { + _this.__Deflate__lookAhead_A = t2 - maxStart; + _this.__Deflate__strStart_A = maxStart; + _this._flushBlockOnly$1(false); + } + t2 = _this.__Deflate__strStart_A; + t3 = _this.__Deflate__blockStart_A; + t4 = _this.__Deflate__windowSize_A; + t4 === $ && A.throwLateFieldNI("_windowSize"); + if (t2 - t3 >= t4 - 262) + _this._flushBlockOnly$1(false); } - if (isUnderspecified) { - t2 = type$.Object; - result = R.ListMultimapBuilder_ListMultimapBuilder(t2, t2); - } else - result = type$.ListMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); - t2 = J.getInterceptor$asx(serialized); - t3 = t2.get$length(serialized); - if (typeof t3 !== "number") - return t3.$mod(); - if (C.JSInt_methods.$mod(t3, 2) === 1) - throw H.wrapException(P.ArgumentError$("odd length")); - for (t3 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { - key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); - values = J.map$1$1$ax(t1._as(t2.elementAt$1(serialized, i + 1)), new R.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t3); - for (t4 = values.get$iterator(values); t4.moveNext$0();) { - value = t4.get$current(t4); - result.toString; - t5 = result.$ti; - t6 = t5._precomputed1; - t6._as(key); - t5._rest[1]._as(value); - if (result._list_multimap$_builtMapOwner != null) { - t7 = result.__ListMultimapBuilder__builtMap; - if (t7 === $) - t7 = H.throwExpression(H.LateError$fieldNI("_builtMap")); - result.set$__ListMultimapBuilder__builtMap(t5._eval$1("Map<1,BuiltList<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(t7, t6, t5._eval$1("BuiltList<2>")))); - result.set$_list_multimap$_builtMapOwner(null); + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; + }, + _trStoredBlock$3(buf, storedLen, eof) { + var t1, _this = this; + _this._sendBits$2(eof ? 1 : 0, 3); + _this._biWindup$0(); + _this.__Deflate__lastEOBLen_A = 8; + _this._putByte$1(storedLen); + _this._putByte$1(A._rshift(storedLen, 8)); + t1 = (~storedLen >>> 0) + 65536 & 65535; + _this._putByte$1(t1); + _this._putByte$1(A._rshift(t1, 8)); + t1 = _this.__Deflate__window_A; + t1 === $ && A.throwLateFieldNI("_window"); + _this._putBytes$3(t1, buf, storedLen); + }, + _fillWindow$0() { + var t2, t3, t4, more, p, p0, n, m, t5, t6, t7, _this = this, + _s11_ = "_windowSize", + t1 = _this._deflate$_input; + do { + t2 = _this.__Deflate__actualWindowSize_A; + t2 === $ && A.throwLateFieldNI("_actualWindowSize"); + t3 = _this.__Deflate__lookAhead_A; + t3 === $ && A.throwLateFieldNI("_lookAhead"); + t4 = _this.__Deflate__strStart_A; + t4 === $ && A.throwLateFieldNI("_strStart"); + more = t2 - t3 - t4; + if (more === 0 && t4 === 0 && t3 === 0) { + t2 = _this.__Deflate__windowSize_A; + t2 === $ && A.throwLateFieldNI(_s11_); + more = t2; + } else { + t2 = _this.__Deflate__windowSize_A; + t2 === $ && A.throwLateFieldNI(_s11_); + if (t4 >= t2 + t2 - 262) { + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI("_window"); + B.NativeUint8List_methods.setRange$4(t3, 0, t2, t3, t2); + t2 = _this._matchStart; + p = _this.__Deflate__windowSize_A; + _this._matchStart = t2 - p; + _this.__Deflate__strStart_A = _this.__Deflate__strStart_A - p; + t2 = _this.__Deflate__blockStart_A; + t2 === $ && A.throwLateFieldNI("_blockStart"); + _this.__Deflate__blockStart_A = t2 - p; + t2 = _this.__Deflate__hashSize_A; + t2 === $ && A.throwLateFieldNI("_hashSize"); + t3 = _this.__Deflate__head_A; + t3 === $ && A.throwLateFieldNI("_head"); + t4 = t3.length; + p0 = t2; + n = p0; + do { + --p0; + if (!(p0 >= 0 && p0 < t4)) + return A.ioore(t3, p0); + m = t3[p0] & 65535; + t3[p0] = m >= p ? m - p : 0; + } while (--n, n !== 0); + t2 = _this.__Deflate__prev_A; + t2 === $ && A.throwLateFieldNI("_prev"); + t3 = t2.length; + p0 = p; + n = p0; + do { + --p0; + if (!(p0 >= 0 && p0 < t3)) + return A.ioore(t2, p0); + m = t2[p0] & 65535; + t2[p0] = m >= p ? m - p : 0; + } while (--n, n !== 0); + more += p; } - result._list_multimap$_checkKey$1(key); - result._list_multimap$_checkValue$1(value); - t5 = result._list_multimap$_getValuesBuilder$1(key); - t6 = t5.$ti; - t7 = t6._precomputed1; - t7._as(value); - if (!$.$get$isSoundMode() && !t7._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - if (t5._listOwner != null) { - t8 = t5.__ListBuilder__list; - t5.set$__ListBuilder__list(t6._eval$1("List<1>")._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t7))); - t5.set$_listOwner(null); + } + if (t1.get$isEOS()) + return; + t2 = _this.__Deflate__window_A; + t2 === $ && A.throwLateFieldNI("_window"); + n = _this._readBuf$3(t2, _this.__Deflate__strStart_A + _this.__Deflate__lookAhead_A, more); + t2 = _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A + n; + if (t2 >= 3) { + t3 = _this.__Deflate__window_A; + t4 = _this.__Deflate__strStart_A; + t5 = t3.length; + if (t4 >>> 0 !== t4 || t4 >= t5) + return A.ioore(t3, t4); + t6 = t3[t4] & 255; + _this.__Deflate__insertHash_A = t6; + t7 = _this.__Deflate__hashShift_A; + t7 === $ && A.throwLateFieldNI("_hashShift"); + t7 = B.JSInt_methods.$shl(t6, t7); + ++t4; + if (!(t4 < t5)) + return A.ioore(t3, t4); + t4 = t3[t4]; + t3 = _this.__Deflate__hashMask_A; + t3 === $ && A.throwLateFieldNI("_hashMask"); + _this.__Deflate__insertHash_A = ((t7 ^ t4 & 255) & t3) >>> 0; + } + } while (t2 < 262 && !t1.get$isEOS()); + }, + _deflateFast$1(flush) { + var t1, hashHead, t2, t3, t4, t5, t6, t7, bflush, t8, _this = this, + _s11_ = "_insertHash", + _s10_ = "_hashShift", + _s7_ = "_window", + _s9_ = "_strStart", + _s9_0 = "_hashMask", + _s11_0 = "_windowMask"; + for (t1 = flush === 0, hashHead = 0; true;) { + t2 = _this.__Deflate__lookAhead_A; + t2 === $ && A.throwLateFieldNI("_lookAhead"); + if (t2 < 262) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead_A; + if (t2 < 262 && t1) + return 0; + if (t2 === 0) + break; + } + if (t2 >= 3) { + t2 = _this.__Deflate__insertHash_A; + t2 === $ && A.throwLateFieldNI(_s11_); + t3 = _this.__Deflate__hashShift_A; + t3 === $ && A.throwLateFieldNI(_s10_); + t3 = B.JSInt_methods.$shl(t2, t3); + t2 = _this.__Deflate__window_A; + t2 === $ && A.throwLateFieldNI(_s7_); + t4 = _this.__Deflate__strStart_A; + t4 === $ && A.throwLateFieldNI(_s9_); + t5 = t4 + 2; + if (!(t5 >= 0 && t5 < t2.length)) + return A.ioore(t2, t5); + t5 = t2[t5]; + t2 = _this.__Deflate__hashMask_A; + t2 === $ && A.throwLateFieldNI(_s9_0); + t2 = ((t3 ^ t5 & 255) & t2) >>> 0; + _this.__Deflate__insertHash_A = t2; + t5 = _this.__Deflate__head_A; + t5 === $ && A.throwLateFieldNI("_head"); + if (!(t2 < t5.length)) + return A.ioore(t5, t2); + t3 = t5[t2]; + hashHead = t3 & 65535; + t6 = _this.__Deflate__prev_A; + t6 === $ && A.throwLateFieldNI("_prev"); + t7 = _this.__Deflate__windowMask_A; + t7 === $ && A.throwLateFieldNI(_s11_0); + t7 = (t4 & t7) >>> 0; + if (!(t7 >= 0 && t7 < t6.length)) + return A.ioore(t6, t7); + t6[t7] = t3; + t5[t2] = t4; + } + if (hashHead !== 0) { + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI(_s9_); + t3 = _this.__Deflate__windowSize_A; + t3 === $ && A.throwLateFieldNI("_windowSize"); + t3 = (t2 - hashHead & 65535) <= t3 - 262; + t2 = t3; + } else + t2 = false; + if (t2) { + t2 = _this.__Deflate__strategy_A; + t2 === $ && A.throwLateFieldNI("_strategy"); + if (t2 !== 2) + _this.__Deflate__matchLength_A = _this._longestMatch$1(hashHead); + } + t2 = _this.__Deflate__matchLength_A; + t2 === $ && A.throwLateFieldNI("_matchLength"); + t3 = _this.__Deflate__strStart_A; + if (t2 >= 3) { + t3 === $ && A.throwLateFieldNI(_s9_); + bflush = _this._trTally$2(t3 - _this._matchStart, t2 - 3); + t2 = _this.__Deflate__lookAhead_A; + t3 = _this.__Deflate__matchLength_A; + t2 -= t3; + _this.__Deflate__lookAhead_A = t2; + t4 = $.Deflate____config._value; + if (t4 == null ? $.Deflate____config == null : t4 === $.Deflate____config) + A.throwExpression(A.LateError$fieldNI($.Deflate____config._name)); + if (t3 <= t4.maxLazy && t2 >= 3) { + t2 = _this.__Deflate__matchLength_A = t3 - 1; + do { + t3 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; + t4 = _this.__Deflate__insertHash_A; + t4 === $ && A.throwLateFieldNI(_s11_); + t5 = _this.__Deflate__hashShift_A; + t5 === $ && A.throwLateFieldNI(_s10_); + t5 = B.JSInt_methods.$shl(t4, t5); + t4 = _this.__Deflate__window_A; + t4 === $ && A.throwLateFieldNI(_s7_); + t6 = t3 + 2; + if (!(t6 >= 0 && t6 < t4.length)) + return A.ioore(t4, t6); + t6 = t4[t6]; + t4 = _this.__Deflate__hashMask_A; + t4 === $ && A.throwLateFieldNI(_s9_0); + t4 = ((t5 ^ t6 & 255) & t4) >>> 0; + _this.__Deflate__insertHash_A = t4; + t6 = _this.__Deflate__head_A; + t6 === $ && A.throwLateFieldNI("_head"); + if (!(t4 < t6.length)) + return A.ioore(t6, t4); + t5 = t6[t4]; + hashHead = t5 & 65535; + t7 = _this.__Deflate__prev_A; + t7 === $ && A.throwLateFieldNI("_prev"); + t8 = _this.__Deflate__windowMask_A; + t8 === $ && A.throwLateFieldNI(_s11_0); + t8 = (t3 & t8) >>> 0; + if (!(t8 >= 0 && t8 < t7.length)) + return A.ioore(t7, t8); + t7[t8] = t5; + t6[t4] = t3; + } while (t2 = _this.__Deflate__matchLength_A = t2 - 1, t2 !== 0); + _this.__Deflate__strStart_A = t3 + 1; + } else { + t2 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + t3; + _this.__Deflate__matchLength_A = 0; + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI(_s7_); + t4 = t3.length; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t3, t2); + t5 = t3[t2] & 255; + _this.__Deflate__insertHash_A = t5; + t6 = _this.__Deflate__hashShift_A; + t6 === $ && A.throwLateFieldNI(_s10_); + t6 = B.JSInt_methods.$shl(t5, t6); + ++t2; + if (!(t2 < t4)) + return A.ioore(t3, t2); + t2 = t3[t2]; + t3 = _this.__Deflate__hashMask_A; + t3 === $ && A.throwLateFieldNI(_s9_0); + _this.__Deflate__insertHash_A = ((t6 ^ t2 & 255) & t3) >>> 0; } - t5 = t5.__ListBuilder__list; - J.add$1$ax(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, value); + } else { + t2 = _this.__Deflate__window_A; + t2 === $ && A.throwLateFieldNI(_s7_); + t3 === $ && A.throwLateFieldNI(_s9_); + if (!(t3 >= 0 && t3 < t2.length)) + return A.ioore(t2, t3); + bflush = _this._trTally$2(0, t2[t3] & 255); + _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; + _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; } + if (bflush) + _this._flushBlockOnly$1(false); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function(receiver) { - return this.types; - }, - get$wireName: function() { - return "listMultimap"; - } - }; - R.BuiltListMultimapSerializer_serialize_closure.prototype = { - call$1: function(value) { - return this.serializers.serialize$2$specifiedType(value, this.valueType); - }, - $signature: 33 - }; - R.BuiltListMultimapSerializer_deserialize_closure.prototype = { - call$1: function(value) { - return this.serializers.deserialize$2$specifiedType(value, this.valueType); + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; }, - $signature: 85 - }; - K.BuiltListSerializer.prototype = { - serialize$3$specifiedType: function(serializers, builtList, specifiedType) { - var t1, t2, elementType; - type$.BuiltList_dynamic._as(builtList); - if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); - t1 = specifiedType.parameters; - t2 = t1.length; - if (t2 === 0) - elementType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - elementType = t1[0]; + _deflateSlow$1(flush) { + var t1, hashHead, t2, t3, t4, t5, t6, t7, maxInsert, bflush, t8, _this = this, + _s11_ = "_insertHash", + _s10_ = "_hashShift", + _s7_ = "_window", + _s9_ = "_strStart", + _s9_0 = "_hashMask", + _s11_0 = "_windowMask", + _s15_ = "_matchAvailable"; + for (t1 = flush === 0, hashHead = 0; true;) { + t2 = _this.__Deflate__lookAhead_A; + t2 === $ && A.throwLateFieldNI("_lookAhead"); + if (t2 < 262) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead_A; + if (t2 < 262 && t1) + return 0; + if (t2 === 0) + break; + } + if (t2 >= 3) { + t2 = _this.__Deflate__insertHash_A; + t2 === $ && A.throwLateFieldNI(_s11_); + t3 = _this.__Deflate__hashShift_A; + t3 === $ && A.throwLateFieldNI(_s10_); + t3 = B.JSInt_methods.$shl(t2, t3); + t2 = _this.__Deflate__window_A; + t2 === $ && A.throwLateFieldNI(_s7_); + t4 = _this.__Deflate__strStart_A; + t4 === $ && A.throwLateFieldNI(_s9_); + t5 = t4 + 2; + if (!(t5 >= 0 && t5 < t2.length)) + return A.ioore(t2, t5); + t5 = t2[t5]; + t2 = _this.__Deflate__hashMask_A; + t2 === $ && A.throwLateFieldNI(_s9_0); + t2 = ((t3 ^ t5 & 255) & t2) >>> 0; + _this.__Deflate__insertHash_A = t2; + t5 = _this.__Deflate__head_A; + t5 === $ && A.throwLateFieldNI("_head"); + if (!(t2 < t5.length)) + return A.ioore(t5, t2); + t3 = t5[t2]; + hashHead = t3 & 65535; + t6 = _this.__Deflate__prev_A; + t6 === $ && A.throwLateFieldNI("_prev"); + t7 = _this.__Deflate__windowMask_A; + t7 === $ && A.throwLateFieldNI(_s11_0); + t7 = (t4 & t7) >>> 0; + if (!(t7 >= 0 && t7 < t6.length)) + return A.ioore(t6, t7); + t6[t7] = t3; + t5[t2] = t4; + } + t2 = _this.__Deflate__matchLength_A; + t2 === $ && A.throwLateFieldNI("_matchLength"); + _this.__Deflate__prevLength_A = t2; + _this.__Deflate__prevMatch_A = _this._matchStart; + _this.__Deflate__matchLength_A = 2; + if (hashHead !== 0) { + t3 = $.Deflate____config._value; + if (t3 == null ? $.Deflate____config == null : t3 === $.Deflate____config) + A.throwExpression(A.LateError$fieldNI($.Deflate____config._name)); + if (t2 < t3.maxLazy) { + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI(_s9_); + t3 = _this.__Deflate__windowSize_A; + t3 === $ && A.throwLateFieldNI("_windowSize"); + t3 = (t2 - hashHead & 65535) <= t3 - 262; + t2 = t3; + } else + t2 = false; + } else + t2 = false; + if (t2) { + t2 = _this.__Deflate__strategy_A; + t2 === $ && A.throwLateFieldNI("_strategy"); + if (t2 !== 2) { + t2 = _this._longestMatch$1(hashHead); + _this.__Deflate__matchLength_A = t2; + } else + t2 = 2; + if (t2 <= 5) + if (_this.__Deflate__strategy_A !== 1) + if (t2 === 3) { + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + t3 = t3 - _this._matchStart > 4096; + } else + t3 = false; + else + t3 = true; + else + t3 = false; + if (t3) { + _this.__Deflate__matchLength_A = 2; + t2 = 2; + } + } else + t2 = 2; + t3 = _this.__Deflate__prevLength_A; + if (t3 >= 3 && t2 <= t3) { + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI(_s9_); + maxInsert = t2 + _this.__Deflate__lookAhead_A - 3; + bflush = _this._trTally$2(t2 - 1 - _this.__Deflate__prevMatch_A, t3 - 3); + t3 = _this.__Deflate__lookAhead_A; + t2 = _this.__Deflate__prevLength_A; + _this.__Deflate__lookAhead_A = t3 - (t2 - 1); + t2 = _this.__Deflate__prevLength_A = t2 - 2; + do { + t3 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; + if (t3 <= maxInsert) { + t4 = _this.__Deflate__insertHash_A; + t4 === $ && A.throwLateFieldNI(_s11_); + t5 = _this.__Deflate__hashShift_A; + t5 === $ && A.throwLateFieldNI(_s10_); + t5 = B.JSInt_methods.$shl(t4, t5); + t4 = _this.__Deflate__window_A; + t4 === $ && A.throwLateFieldNI(_s7_); + t6 = t3 + 2; + if (!(t6 >= 0 && t6 < t4.length)) + return A.ioore(t4, t6); + t6 = t4[t6]; + t4 = _this.__Deflate__hashMask_A; + t4 === $ && A.throwLateFieldNI(_s9_0); + t4 = ((t5 ^ t6 & 255) & t4) >>> 0; + _this.__Deflate__insertHash_A = t4; + t6 = _this.__Deflate__head_A; + t6 === $ && A.throwLateFieldNI("_head"); + if (!(t4 < t6.length)) + return A.ioore(t6, t4); + t5 = t6[t4]; + hashHead = t5 & 65535; + t7 = _this.__Deflate__prev_A; + t7 === $ && A.throwLateFieldNI("_prev"); + t8 = _this.__Deflate__windowMask_A; + t8 === $ && A.throwLateFieldNI(_s11_0); + t8 = (t3 & t8) >>> 0; + if (!(t8 >= 0 && t8 < t7.length)) + return A.ioore(t7, t8); + t7[t8] = t5; + t6[t4] = t3; + } + } while (t2 = _this.__Deflate__prevLength_A = t2 - 1, t2 !== 0); + _this.__Deflate__matchAvailable_A = 0; + _this.__Deflate__matchLength_A = 2; + _this.__Deflate__strStart_A = t3 + 1; + if (bflush) + _this._flushBlockOnly$1(false); + } else { + t2 = _this.__Deflate__matchAvailable_A; + t2 === $ && A.throwLateFieldNI(_s15_); + if (t2 !== 0) { + t2 = _this.__Deflate__window_A; + t2 === $ && A.throwLateFieldNI(_s7_); + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + --t3; + if (!(t3 >= 0 && t3 < t2.length)) + return A.ioore(t2, t3); + if (_this._trTally$2(0, t2[t3] & 255)) + _this._flushBlockOnly$1(false); + _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; + _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; + } else { + _this.__Deflate__matchAvailable_A = 1; + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI(_s9_); + _this.__Deflate__strStart_A = t2 + 1; + _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; + } + } } - builtList.toString; - return J.map$1$1$ax(builtList._list, builtList.$ti._eval$1("Object?(1)")._as(new K.BuiltListSerializer_serialize_closure(serializers, elementType)), type$.nullable_Object); - }, - serialize$2: function(serializers, builtList) { - return this.serialize$3$specifiedType(serializers, builtList, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var isUnderspecified, t1, t2, elementType, result; - type$.Iterable_dynamic._as(serialized); - isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; - t1 = specifiedType.parameters; - t2 = t1.length; - if (t2 === 0) - elementType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - elementType = t1[0]; + t1 = _this.__Deflate__matchAvailable_A; + t1 === $ && A.throwLateFieldNI(_s15_); + if (t1 !== 0) { + t1 = _this.__Deflate__window_A; + t1 === $ && A.throwLateFieldNI(_s7_); + t2 = _this.__Deflate__strStart_A; + t2 === $ && A.throwLateFieldNI(_s9_); + --t2; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + _this._trTally$2(0, t1[t2] & 255); + _this.__Deflate__matchAvailable_A = 0; } - result = isUnderspecified ? D.ListBuilder_ListBuilder(C.List_empty, type$.Object) : type$.ListBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); - result.replace$1(0, J.map$1$1$ax(serialized, new K.BuiltListSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function(receiver) { - return this.types; + _longestMatch$1(curMatch) { + var t2, t3, limit, niceMatch, strend, t4, t5, t6, t7, scanEnd1, scanEnd, scan, bestLen, scan0, match, len, _this = this, + chainLength = $.Deflate____config._readField$0().maxChain, + t1 = _this.__Deflate__strStart_A; + t1 === $ && A.throwLateFieldNI("_strStart"); + t2 = _this.__Deflate__prevLength_A; + t2 === $ && A.throwLateFieldNI("_prevLength"); + t3 = _this.__Deflate__windowSize_A; + t3 === $ && A.throwLateFieldNI("_windowSize"); + t3 -= 262; + limit = t1 > t3 ? t1 - t3 : 0; + niceMatch = $.Deflate____config._readField$0().niceLength; + t3 = _this.__Deflate__windowMask_A; + t3 === $ && A.throwLateFieldNI("_windowMask"); + strend = _this.__Deflate__strStart_A + 258; + t4 = _this.__Deflate__window_A; + t4 === $ && A.throwLateFieldNI("_window"); + t5 = t1 + t2; + t6 = t5 - 1; + t7 = t4.length; + if (!(t6 >= 0 && t6 < t7)) + return A.ioore(t4, t6); + scanEnd1 = t4[t6]; + if (!(t5 >= 0 && t5 < t7)) + return A.ioore(t4, t5); + scanEnd = t4[t5]; + if (_this.__Deflate__prevLength_A >= $.Deflate____config._readField$0().goodLength) + chainLength = chainLength >>> 2; + t4 = _this.__Deflate__lookAhead_A; + t4 === $ && A.throwLateFieldNI("_lookAhead"); + if (niceMatch > t4) + niceMatch = t4; + scan = strend - 258; + bestLen = t2; + scan0 = t1; + do { + c$0: { + t1 = _this.__Deflate__window_A; + t2 = curMatch + bestLen; + t4 = t1.length; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + if (t1[t2] === scanEnd) { + --t2; + if (!(t2 >= 0)) + return A.ioore(t1, t2); + if (t1[t2] === scanEnd1) { + if (!(curMatch >= 0 && curMatch < t4)) + return A.ioore(t1, curMatch); + t2 = t1[curMatch]; + if (!(scan0 >= 0 && scan0 < t4)) + return A.ioore(t1, scan0); + if (t2 === t1[scan0]) { + match = curMatch + 1; + if (!(match < t4)) + return A.ioore(t1, match); + t2 = t1[match]; + t5 = scan0 + 1; + if (!(t5 < t4)) + return A.ioore(t1, t5); + t5 = t2 !== t1[t5]; + t2 = t5; + } else { + match = curMatch; + t2 = true; + } + } else { + match = curMatch; + t2 = true; + } + } else { + match = curMatch; + t2 = true; + } + if (t2) + break c$0; + scan0 += 2; + ++match; + do { + ++scan0; + if (!(scan0 >= 0 && scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match >= 0 && match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + if (t2 === t1[match]) { + ++scan0; + if (!(scan0 < t4)) + return A.ioore(t1, scan0); + t2 = t1[scan0]; + ++match; + if (!(match < t4)) + return A.ioore(t1, match); + t2 = t2 === t1[match] && scan0 < strend; + } else + t2 = false; + } else + t2 = false; + } else + t2 = false; + } else + t2 = false; + } else + t2 = false; + } else + t2 = false; + } else + t2 = false; + } while (t2); + len = 258 - (strend - scan0); + if (len > bestLen) { + _this._matchStart = curMatch; + if (len >= niceMatch) { + bestLen = len; + break; + } + t1 = _this.__Deflate__window_A; + t2 = scan + len; + t4 = t2 - 1; + t5 = t1.length; + if (!(t4 >= 0 && t4 < t5)) + return A.ioore(t1, t4); + scanEnd1 = t1[t4]; + if (!(t2 < t5)) + return A.ioore(t1, t2); + scanEnd = t1[t2]; + bestLen = len; + } + scan0 = scan; + } + t1 = _this.__Deflate__prev_A; + t1 === $ && A.throwLateFieldNI("_prev"); + t2 = curMatch & t3; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + curMatch = t1[t2] & 65535; + if (curMatch > limit) { + --chainLength; + t1 = chainLength !== 0; + } else + t1 = false; + } while (t1); + t1 = _this.__Deflate__lookAhead_A; + if (bestLen <= t1) + return bestLen; + return t1; }, - get$wireName: function() { - return "list"; - } - }; - K.BuiltListSerializer_serialize_closure.prototype = { - call$1: function(item) { - return this.serializers.serialize$2$specifiedType(item, this.elementType); + _readBuf$3(buf, start, size) { + var data, len, bytes, t1, _this = this; + if (size === 0 || _this._deflate$_input.get$isEOS()) + return 0; + data = _this._deflate$_input.readBytes$1(size); + len = data.get$length(data); + if (len === 0) + return 0; + bytes = data.toUint8List$0(); + t1 = J.getInterceptor$asx(bytes); + if (len > t1.get$length(bytes)) + len = t1.get$length(bytes); + B.NativeUint8List_methods.setRange$3(buf, start, start + len, bytes); + _this.total += len; + _this.crc32 = A.getCrc32(bytes, _this.crc32); + return len; }, - $signature: 33 - }; - K.BuiltListSerializer_deserialize_closure.prototype = { - call$1: function(item) { - return this.serializers.deserialize$2$specifiedType(item, this.elementType); + _flushPending$0() { + var t2, _this = this, + t1 = _this.__Deflate__pending_A; + t1 === $ && A.throwLateFieldNI("_pending"); + t2 = _this.__Deflate__pendingBuffer_A; + t2 === $ && A.throwLateFieldNI("_pendingBuffer"); + _this._deflate$_output.writeBytes$2(t2, t1); + t2 = _this.__Deflate__pendingOut_A; + t2 === $ && A.throwLateFieldNI("_pendingOut"); + _this.__Deflate__pendingOut_A = t2 + t1; + t1 = _this.__Deflate__pending_A - t1; + _this.__Deflate__pending_A = t1; + if (t1 === 0) + _this.__Deflate__pendingOut_A = 0; }, - $signature: 33 - }; - K.BuiltMapSerializer.prototype = { - serialize$3$specifiedType: function(serializers, builtMap, specifiedType) { - var t1, t2, t3, keyType, valueType, result, key; - type$.BuiltMap_dynamic_dynamic._as(builtMap); - if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); - t1 = specifiedType.parameters; - t2 = t1.length; - t3 = t2 === 0; - if (t3) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - keyType = t1[0]; + _getConfig$1(level) { + switch (level) { + case 0: + return new A._DeflaterConfig(0, 0, 0, 0, 0); + case 1: + return new A._DeflaterConfig(4, 4, 8, 4, 1); + case 2: + return new A._DeflaterConfig(4, 5, 16, 8, 1); + case 3: + return new A._DeflaterConfig(4, 6, 32, 32, 1); + case 4: + return new A._DeflaterConfig(4, 4, 16, 16, 2); + case 5: + return new A._DeflaterConfig(8, 16, 32, 32, 2); + case 6: + return new A._DeflaterConfig(8, 16, 128, 128, 2); + case 7: + return new A._DeflaterConfig(8, 32, 128, 256, 2); + case 8: + return new A._DeflaterConfig(32, 128, 258, 1024, 2); + case 9: + return new A._DeflaterConfig(32, 258, 258, 4096, 2); } - if (t3) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t2) - return H.ioore(t1, 1); - valueType = t1[1]; + throw A.wrapException(A.ArchiveException$("Invalid Deflate parameter")); + } + }; + A._DeflaterConfig.prototype = {}; + A._HuffmanTree.prototype = { + _genBitlen$1(s) { + var t2, stree, extra, baseRenamed, maxLength, bits, t3, t4, t5, t6, h, overflow, n, t7, t8, t9, xbits, f, bits0, m, _this = this, + _s11_ = "_optimalLen", + t1 = _this.___HuffmanTree_dynamicTree_A; + t1 === $ && A.throwLateFieldNI("dynamicTree"); + t2 = _this.___HuffmanTree_staticDesc_A; + t2 === $ && A.throwLateFieldNI("staticDesc"); + stree = t2.staticTree; + extra = t2.extraBits; + baseRenamed = t2.extraBase; + maxLength = t2.maxLength; + for (t2 = s._bitLengthCount, bits = 0; bits <= 15; ++bits) + t2[bits] = 0; + t3 = s._heap; + t4 = s.__Deflate__heapMax_A; + t4 === $ && A.throwLateFieldNI("_heapMax"); + if (!(t4 >= 0 && t4 < 573)) + return A.ioore(t3, t4); + t5 = t3[t4] * 2 + 1; + t6 = t1.length; + if (!(t5 >= 0 && t5 < t6)) + return A.ioore(t1, t5); + t1[t5] = 0; + for (h = t4 + 1, t4 = stree != null, t5 = extra.length, overflow = 0; h < 573; ++h) { + n = t3[h]; + t7 = n * 2; + t8 = t7 + 1; + if (!(t8 >= 0 && t8 < t6)) + return A.ioore(t1, t8); + t9 = t1[t8] * 2 + 1; + if (!(t9 >= 0 && t9 < t6)) + return A.ioore(t1, t9); + bits = t1[t9] + 1; + if (bits > maxLength) { + ++overflow; + bits = maxLength; + } + t1[t8] = bits; + t9 = _this.___HuffmanTree_maxCode_A; + t9 === $ && A.throwLateFieldNI("maxCode"); + if (n > t9) + continue; + if (!(bits >= 0 && bits < 16)) + return A.ioore(t2, bits); + t2[bits] = t2[bits] + 1; + if (n >= baseRenamed) { + t9 = n - baseRenamed; + if (!(t9 >= 0 && t9 < t5)) + return A.ioore(extra, t9); + xbits = extra[t9]; + } else + xbits = 0; + if (!(t7 >= 0 && t7 < t6)) + return A.ioore(t1, t7); + f = t1[t7]; + t7 = s.__Deflate__optimalLen_A; + t7 === $ && A.throwLateFieldNI(_s11_); + s.__Deflate__optimalLen_A = t7 + f * (bits + xbits); + if (t4) { + t7 = s.__Deflate__staticLen_A; + t7 === $ && A.throwLateFieldNI("_staticLen"); + if (!(t8 < stree.length)) + return A.ioore(stree, t8); + s.__Deflate__staticLen_A = t7 + f * (stree[t8] + xbits); + } } - result = []; - for (t1 = J.get$iterator$ax(builtMap.get$keys(builtMap)), t2 = builtMap._map$_map, t3 = J.getInterceptor$asx(t2); t1.moveNext$0();) { - key = t1.get$current(t1); - result.push(serializers.serialize$2$specifiedType(key, keyType)); - result.push(serializers.serialize$2$specifiedType(t3.$index(t2, key), valueType)); + if (overflow === 0) + return; + bits = maxLength - 1; + do { + bits0 = bits; + while (true) { + if (!(bits0 >= 0 && bits0 < 16)) + return A.ioore(t2, bits0); + t4 = t2[bits0]; + if (!(t4 === 0)) + break; + --bits0; + } + t2[bits0] = t4 - 1; + t4 = bits0 + 1; + if (!(t4 < 16)) + return A.ioore(t2, t4); + t2[t4] = t2[t4] + 2; + if (!(maxLength < 16)) + return A.ioore(t2, maxLength); + t2[maxLength] = t2[maxLength] - 1; + overflow -= 2; + } while (overflow > 0); + for (bits = maxLength; bits !== 0; --bits) { + if (!(bits >= 0)) + return A.ioore(t2, bits); + n = t2[bits]; + for (; n !== 0;) { + --h; + if (!(h >= 0 && h < 573)) + return A.ioore(t3, h); + m = t3[h]; + t4 = _this.___HuffmanTree_maxCode_A; + t4 === $ && A.throwLateFieldNI("maxCode"); + if (m > t4) + continue; + t4 = m * 2; + t5 = t4 + 1; + if (!(t5 >= 0 && t5 < t6)) + return A.ioore(t1, t5); + t7 = t1[t5]; + if (t7 !== bits) { + t8 = s.__Deflate__optimalLen_A; + t8 === $ && A.throwLateFieldNI(_s11_); + if (!(t4 >= 0 && t4 < t6)) + return A.ioore(t1, t4); + s.__Deflate__optimalLen_A = t8 + (bits - t7) * t1[t4]; + t1[t5] = bits; + } + --n; + } } - return result; }, - serialize$2: function(serializers, builtMap) { - return this.serialize$3$specifiedType(serializers, builtMap, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var isUnderspecified, t1, t2, t3, keyType, valueType, result, i, key, value; - type$.Iterable_dynamic._as(serialized); - isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; - t1 = specifiedType.parameters; - t2 = t1.length; - t3 = t2 === 0; - if (t3) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - keyType = t1[0]; - } - if (t3) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t2) - return H.ioore(t1, 1); - valueType = t1[1]; + _buildTree$1(s) { + var t2, stree, elems, t3, t4, n, maxCode, t5, t6, node, t7, m, t8, t9, node0, _this = this, + t1 = _this.___HuffmanTree_dynamicTree_A; + t1 === $ && A.throwLateFieldNI("dynamicTree"); + t2 = _this.___HuffmanTree_staticDesc_A; + t2 === $ && A.throwLateFieldNI("staticDesc"); + stree = t2.staticTree; + elems = t2.numElements; + s.__Deflate__heapLen_A = 0; + s.__Deflate__heapMax_A = 573; + for (t2 = t1.length, t3 = s._heap, t4 = s._depth, n = 0, maxCode = -1; n < elems; ++n) { + t5 = n * 2; + if (!(t5 < t2)) + return A.ioore(t1, t5); + if (t1[t5] !== 0) { + t5 = ++s.__Deflate__heapLen_A; + if (!(t5 >= 0 && t5 < 573)) + return A.ioore(t3, t5); + t3[t5] = n; + if (!(n < 573)) + return A.ioore(t4, n); + t4[n] = 0; + maxCode = n; + } else { + ++t5; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t1[t5] = 0; + } } - if (isUnderspecified) { - t1 = type$.Object; - result = A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); - } else - result = type$.MapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); - t1 = J.getInterceptor$asx(serialized); - t2 = t1.get$length(serialized); - if (typeof t2 !== "number") - return t2.$mod(); - if (C.JSInt_methods.$mod(t2, 2) === 1) - throw H.wrapException(P.ArgumentError$("odd length")); - for (i = 0; i !== t1.get$length(serialized); i += 2) { - key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); - value = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i + 1), valueType); - result.toString; - t2 = result.$ti; - t2._precomputed1._as(key); - t2._rest[1]._as(value); - result._checkKey$1(key); - result._checkValue$1(value); - J.$indexSet$ax(result.get$_safeMap(), key, value); + for (t5 = stree != null; t6 = s.__Deflate__heapLen_A, t6 < 2;) { + ++t6; + s.__Deflate__heapLen_A = t6; + if (maxCode < 2) { + ++maxCode; + node = maxCode; + } else + node = 0; + if (!(t6 >= 0)) + return A.ioore(t3, t6); + t3[t6] = node; + t6 = node * 2; + if (!(t6 >= 0 && t6 < t2)) + return A.ioore(t1, t6); + t1[t6] = 1; + t4[node] = 0; + t7 = s.__Deflate__optimalLen_A; + t7 === $ && A.throwLateFieldNI("_optimalLen"); + s.__Deflate__optimalLen_A = t7 - 1; + if (t5) { + t7 = s.__Deflate__staticLen_A; + t7 === $ && A.throwLateFieldNI("_staticLen"); + ++t6; + if (!(t6 < stree.length)) + return A.ioore(stree, t6); + s.__Deflate__staticLen_A = t7 - stree[t6]; + } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function(receiver) { - return this.types; - }, - get$wireName: function() { - return "map"; + _this.___HuffmanTree_maxCode_A = maxCode; + for (n = B.JSInt_methods._tdivFast$1(t6, 2); n >= 1; --n) + s._pqdownheap$2(t1, n); + node = elems; + do { + n = t3[1]; + t5 = s.__Deflate__heapLen_A--; + if (!(t5 >= 0 && t5 < 573)) + return A.ioore(t3, t5); + t3[1] = t3[t5]; + s._pqdownheap$2(t1, 1); + m = t3[1]; + t5 = --s.__Deflate__heapMax_A; + if (!(t5 >= 0 && t5 < 573)) + return A.ioore(t3, t5); + t3[t5] = n; + --t5; + s.__Deflate__heapMax_A = t5; + if (!(t5 >= 0)) + return A.ioore(t3, t5); + t3[t5] = m; + t5 = node * 2; + t6 = n * 2; + if (!(t6 >= 0 && t6 < t2)) + return A.ioore(t1, t6); + t7 = t1[t6]; + t8 = m * 2; + if (!(t8 >= 0 && t8 < t2)) + return A.ioore(t1, t8); + t9 = t1[t8]; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t1[t5] = t7 + t9; + if (!(n >= 0 && n < 573)) + return A.ioore(t4, n); + t9 = t4[n]; + if (!(m >= 0 && m < 573)) + return A.ioore(t4, m); + t7 = t4[m]; + t5 = t9 > t7 ? t9 : t7; + if (!(node < 573)) + return A.ioore(t4, node); + t4[node] = t5 + 1; + ++t6; + ++t8; + if (!(t8 < t2)) + return A.ioore(t1, t8); + t1[t8] = node; + if (!(t6 < t2)) + return A.ioore(t1, t6); + t1[t6] = node; + node0 = node + 1; + t3[1] = node; + s._pqdownheap$2(t1, 1); + if (s.__Deflate__heapLen_A >= 2) { + node = node0; + continue; + } else + break; + } while (true); + t2 = --s.__Deflate__heapMax_A; + t4 = t3[1]; + if (!(t2 >= 0 && t2 < 573)) + return A.ioore(t3, t2); + t3[t2] = t4; + _this._genBitlen$1(s); + A._HuffmanTree__genCodes(t1, maxCode, s._bitLengthCount); } }; - R.BuiltSetMultimapSerializer.prototype = { - serialize$3$specifiedType: function(serializers, builtSetMultimap, specifiedType) { - var t1, t2, t3, keyType, valueType, result, t4, t5, key, result0, t6; - type$.BuiltSetMultimap_dynamic_dynamic._as(builtSetMultimap); - if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); - t1 = specifiedType.parameters; - t2 = t1.length; - t3 = t2 === 0; - if (t3) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - keyType = t1[0]; - } - if (t3) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t2) - return H.ioore(t1, 1); - valueType = t1[1]; - } - result = []; - for (t1 = J.get$iterator$ax(builtSetMultimap.get$keys(builtSetMultimap)), t2 = type$.nullable_Object, t3 = builtSetMultimap._set_multimap$_map, t4 = J.getInterceptor$asx(t3), t5 = builtSetMultimap._emptySet; t1.moveNext$0();) { - key = t1.get$current(t1); - result.push(serializers.serialize$2$specifiedType(key, keyType)); - result0 = t4.$index(t3, key); - t6 = result0 == null ? t5 : result0; - t6 = t6._set.map$1$1(0, t6.$ti._eval$1("Object?(1)")._as(new R.BuiltSetMultimapSerializer_serialize_closure(serializers, valueType)), t2); - result.push(P.List_List$of(t6, true, H._instanceType(t6)._eval$1("Iterable.E"))); - } - return result; - }, - serialize$2: function(serializers, builtSetMultimap) { - return this.serialize$3$specifiedType(serializers, builtSetMultimap, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t6, - t1 = type$.Iterable_dynamic; - t1._as(serialized); - isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; - t2 = specifiedType.parameters; - t3 = t2.length; - t4 = t3 === 0; - if (t4) - keyType = C.FullType_null_List_empty_false; - else { - if (0 >= t3) - return H.ioore(t2, 0); - keyType = t2[0]; - } - if (t4) - valueType = C.FullType_null_List_empty_false; - else { - if (1 >= t3) - return H.ioore(t2, 1); - valueType = t2[1]; + A._StaticTree.prototype = {}; + A.HuffmanTable.prototype = { + HuffmanTable$1(lengths) { + var i, t2, t3, size, bitLength, code, skip, rtemp, reversed, j, t4, _this = this, + t1 = J.getInterceptor$asx(lengths), + listSize = t1.get$length(lengths); + for (i = 0; i < listSize; ++i) { + t2 = t1.$index(lengths, i); + t3 = _this.maxCodeLength; + if (typeof t2 !== "number") + return t2.$gt(); + if (typeof t3 !== "number") + return A.iae(t3); + if (t2 > t3) + _this.set$maxCodeLength(t1.$index(lengths, i)); + t2 = t1.$index(lengths, i); + t3 = _this.minCodeLength; + if (typeof t2 !== "number") + return t2.$lt(); + if (typeof t3 !== "number") + return A.iae(t3); + if (t2 < t3) + _this.set$minCodeLength(t1.$index(lengths, i)); } - if (isUnderspecified) { - t2 = type$.Object; - result = M.SetMultimapBuilder_SetMultimapBuilder(t2, t2); - } else - result = type$.SetMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); - t2 = J.getInterceptor$asx(serialized); - t3 = t2.get$length(serialized); - if (typeof t3 !== "number") - return t3.$mod(); - if (C.JSInt_methods.$mod(t3, 2) === 1) - throw H.wrapException(P.ArgumentError$("odd length")); - for (i = 0; i !== t2.get$length(serialized); i += 2) { - key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); - for (t3 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new R.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t3.moveNext$0();) { - value = t3.get$current(t3); - result.toString; - t4 = result.$ti; - t5 = t4._precomputed1; - t5._as(key); - t4._rest[1]._as(value); - if (result._builtMapOwner != null) { - t6 = result.__SetMultimapBuilder__builtMap; - if (t6 === $) - t6 = H.throwExpression(H.LateError$fieldNI("_builtMap")); - result.set$__SetMultimapBuilder__builtMap(t4._eval$1("Map<1,BuiltSet<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(t6, t5, t4._eval$1("BuiltSet<2>")))); - result.set$_builtMapOwner(null); + t2 = _this.maxCodeLength; + if (typeof t2 !== "number") + return A.iae(t2); + size = B.JSInt_methods.$shl(1, t2); + _this.__HuffmanTable_table_A = new Uint32Array(size); + bitLength = 1; + code = 0; + skip = 2; + while (true) { + t2 = _this.maxCodeLength; + if (typeof t2 !== "number") + return A.iae(t2); + if (!(bitLength <= t2)) + break; + for (t2 = bitLength << 16, i = 0; i < listSize; ++i) + if (J.$eq$(t1.$index(lengths, i), bitLength)) { + for (rtemp = code, reversed = 0, j = 0; j < bitLength; ++j) { + reversed = (reversed << 1 | rtemp & 1) >>> 0; + rtemp = rtemp >>> 1; + } + for (t3 = _this.__HuffmanTable_table_A, t4 = (t2 | i) >>> 0, j = reversed; j < size; j += skip) { + if (!(j >= 0 && j < t3.length)) + return A.ioore(t3, j); + t3[j] = t4; + } + ++code; } - result._set_multimap$_checkKey$1(key); - result._set_multimap$_checkValue$1(value); - t4 = result._getValuesBuilder$1(key); - t5 = t4.$ti._precomputed1; - t5._as(value); - if (!$.$get$isSoundMode() && !t5._is(null)) - if (value == null) - H.throwExpression(P.ArgumentError$("null element")); - t4.get$_safeSet().add$1(0, value); - } + ++bitLength; + code = code << 1 >>> 0; + skip = skip << 1 >>> 0; } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function(receiver) { - return this.types; + set$maxCodeLength(maxCodeLength) { + this.maxCodeLength = A._asIntS(maxCodeLength); }, - get$wireName: function() { - return "setMultimap"; + set$minCodeLength(minCodeLength) { + this.minCodeLength = A._asIntS(minCodeLength); } }; - R.BuiltSetMultimapSerializer_serialize_closure.prototype = { - call$1: function(value) { - return this.serializers.serialize$2$specifiedType(value, this.valueType); - }, - $signature: 33 - }; - R.BuiltSetMultimapSerializer_deserialize_closure.prototype = { - call$1: function(value) { - return this.serializers.deserialize$2$specifiedType(value, this.valueType); - }, - $signature: 33 - }; - O.BuiltSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, builtSet, specifiedType) { - var t1, t2, elementType; - type$.BuiltSet_dynamic._as(builtSet); - if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); - t1 = specifiedType.parameters; - t2 = t1.length; - if (t2 === 0) - elementType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - elementType = t1[0]; + A.Inflate.prototype = { + _inflate$0() { + var t1, t2, t3, _this = this; + _this._bitBufferLen = _this._bitBuffer = 0; + if (!_this.inputSet) + return; + while (true) { + t1 = _this.__Inflate_input_A; + t1 === $ && A.throwLateFieldNI("input"); + t2 = t1.offset; + t3 = t1.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(t2 < t1.start + t3)) + break; + if (!_this._parseBlock$0()) + break; } - builtSet.toString; - return builtSet._set.map$1$1(0, builtSet.$ti._eval$1("Object?(1)")._as(new O.BuiltSetSerializer_serialize_closure(serializers, elementType)), type$.nullable_Object); }, - serialize$2: function(serializers, builtSet) { - return this.serialize$3$specifiedType(serializers, builtSet, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var isUnderspecified, t1, t2, elementType, result; - type$.Iterable_dynamic._as(serialized); - isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; - t1 = specifiedType.parameters; - t2 = t1.length; - if (t2 === 0) - elementType = C.FullType_null_List_empty_false; - else { - if (0 >= t2) - return H.ioore(t1, 0); - elementType = t1[0]; + _parseBlock$0() { + var blockHeader, _this = this, + t1 = _this.__Inflate_input_A; + t1 === $ && A.throwLateFieldNI("input"); + if (t1.get$isEOS()) + return false; + blockHeader = _this._readBits$1(3); + switch (B.JSInt_methods._shrOtherPositive$1(blockHeader, 1)) { + case 0: + if (_this._parseUncompressedBlock$0() === -1) + return false; + break; + case 1: + if (_this._decodeHuffman$2(_this._fixedLiteralLengthTable, _this._fixedDistanceTable) === -1) + return false; + break; + case 2: + if (_this._parseDynamicHuffmanBlock$0() === -1) + return false; + break; + default: + return false; } - result = isUnderspecified ? X.SetBuilder_SetBuilder(C.List_empty, type$.Object) : type$.SetBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); - result.replace$1(0, J.map$1$1$ax(serialized, new O.BuiltSetSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); - return result.build$0(); + return (blockHeader & 1) === 0; + }, + _readBits$1($length) { + var t1, t2, t3, _this = this; + if ($length === 0) + return 0; + for (; t1 = _this._bitBufferLen, t1 < $length;) { + t1 = _this.__Inflate_input_A; + t1 === $ && A.throwLateFieldNI("input"); + t2 = t1.offset; + t3 = t1.__InputStream__length_A; + t3 === $ && A.throwLateFieldNI("_length"); + if (typeof t3 !== "number") + return A.iae(t3); + if (t2 >= t1.start + t3) + return -1; + t3 = t1.buffer; + t1.offset = t2 + 1; + t2 = J.$index$asx(t3, t2); + t3 = _this._bitBuffer; + t1 = _this._bitBufferLen; + if (typeof t2 !== "number") + return t2.$shl(); + _this._bitBuffer = (t3 | B.JSInt_methods.$shl(t2, t1)) >>> 0; + _this._bitBufferLen = t1 + 8; + } + t2 = _this._bitBuffer; + t3 = B.JSInt_methods._shlPositive$1(1, $length); + _this._bitBuffer = B.JSInt_methods._shrBothPositive$1(t2, $length); + _this._bitBufferLen = t1 - $length; + return (t2 & t3 - 1) >>> 0; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _readCodeByTable$1(table) { + var maxCodeLength, t2, t3, t4, codeWithLength, codeLength, _this = this, + t1 = table.__HuffmanTable_table_A; + t1 === $ && A.throwLateFieldNI("table"); + maxCodeLength = table.maxCodeLength; + if (typeof maxCodeLength !== "number") + return A.iae(maxCodeLength); + for (; t2 = _this._bitBufferLen, t2 < maxCodeLength;) { + t2 = _this.__Inflate_input_A; + t2 === $ && A.throwLateFieldNI("input"); + t3 = t2.offset; + t4 = t2.__InputStream__length_A; + t4 === $ && A.throwLateFieldNI("_length"); + if (typeof t4 !== "number") + return A.iae(t4); + if (t3 >= t2.start + t4) + return -1; + t4 = t2.buffer; + t2.offset = t3 + 1; + t3 = J.$index$asx(t4, t3); + t4 = _this._bitBuffer; + t2 = _this._bitBufferLen; + if (typeof t3 !== "number") + return t3.$shl(); + _this._bitBuffer = (t4 | B.JSInt_methods.$shl(t3, t2)) >>> 0; + _this._bitBufferLen = t2 + 8; + } + t3 = _this._bitBuffer; + t4 = (t3 & B.JSInt_methods.$shl(1, maxCodeLength) - 1) >>> 0; + if (!(t4 < t1.length)) + return A.ioore(t1, t4); + codeWithLength = t1[t4]; + codeLength = codeWithLength >>> 16; + _this._bitBuffer = B.JSInt_methods._shrBothPositive$1(t3, codeLength); + _this._bitBufferLen = t2 - codeLength; + return codeWithLength & 65535; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function(receiver) { - return this.types; + _parseUncompressedBlock$0() { + var len, t1, _this = this; + _this._bitBufferLen = _this._bitBuffer = 0; + len = _this._readBits$1(16); + t1 = _this._readBits$1(16); + if (len !== 0 && len !== (t1 ^ 65535) >>> 0) + return -1; + t1 = _this.__Inflate_input_A; + t1 === $ && A.throwLateFieldNI("input"); + if (len > t1.get$length(t1)) + return -1; + _this.output.writeInputStream$1(_this.__Inflate_input_A.readBytes$1(len)); + return 0; }, - get$wireName: function() { - return "set"; + _parseDynamicHuffmanBlock$0() { + var numDistanceCodes, numCodeLengths, codeLengths, i, len, t1, codeLengthsTable, litLenDistLengths, litlenLengths, distLengths, _this = this, + numLitLengthCodes = _this._readBits$1(5); + if (numLitLengthCodes === -1) + return -1; + numLitLengthCodes += 257; + if (numLitLengthCodes > 288) + return -1; + numDistanceCodes = _this._readBits$1(5); + if (numDistanceCodes === -1) + return -1; + ++numDistanceCodes; + if (numDistanceCodes > 32) + return -1; + numCodeLengths = _this._readBits$1(4); + if (numCodeLengths === -1) + return -1; + numCodeLengths += 4; + if (numCodeLengths > 19) + return -1; + codeLengths = new Uint8Array(19); + for (i = 0; i < numCodeLengths; ++i) { + len = _this._readBits$1(3); + if (len === -1) + return -1; + t1 = B.List_uSC[i]; + if (!(t1 < 19)) + return A.ioore(codeLengths, t1); + codeLengths[t1] = len; + } + codeLengthsTable = A.HuffmanTable$(codeLengths); + t1 = numLitLengthCodes + numDistanceCodes; + litLenDistLengths = new Uint8Array(t1); + litlenLengths = B.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, 0, numLitLengthCodes); + distLengths = B.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, numLitLengthCodes, numDistanceCodes); + if (_this._decode$3(t1, codeLengthsTable, litLenDistLengths) === -1) + return -1; + return _this._decodeHuffman$2(A.HuffmanTable$(litlenLengths), A.HuffmanTable$(distLengths)); + }, + _decodeHuffman$2(litlen, dist) { + var t1, code, ti, codeLength, distCode, distance, t2, _this = this; + for (t1 = _this.output; true;) { + code = _this._readCodeByTable$1(litlen); + if (code < 0 || code > 285) + return -1; + if (code === 256) + break; + if (code < 256) { + t1.writeByte$1(code & 255); + continue; + } + ti = code - 257; + if (!(ti >= 0 && ti < 29)) + return A.ioore(B.List_qQn1, ti); + codeLength = B.List_qQn1[ti] + _this._readBits$1(B.List_eea[ti]); + distCode = _this._readCodeByTable$1(dist); + if (distCode < 0 || distCode > 29) + return -1; + if (!(distCode >= 0 && distCode < 30)) + return A.ioore(B.List_i3t, distCode); + distance = B.List_i3t[distCode] + _this._readBits$1(B.List_X3d[distCode]); + for (t2 = -distance; codeLength > distance;) { + t1.writeBytes$1(t1.subset$1(t2)); + codeLength -= distance; + } + if (codeLength === distance) + t1.writeBytes$1(t1.subset$1(t2)); + else + t1.writeBytes$1(t1.subset$2(t2, codeLength - distance)); + } + for (; t1 = _this._bitBufferLen, t1 >= 8;) { + _this._bitBufferLen = t1 - 8; + t1 = _this.__Inflate_input_A; + t1 === $ && A.throwLateFieldNI("input"); + if (--t1.offset < 0) + t1.offset = 0; + } + return 0; + }, + _decode$3(num, table, codeLengths) { + var t1, prev, i, code, repeat, repeat0, i0, _this = this; + type$.List_int._as(codeLengths); + for (t1 = codeLengths.length, prev = 0, i = 0; i < num;) { + code = _this._readCodeByTable$1(table); + if (code === -1) + return -1; + switch (code) { + case 16: + repeat = _this._readBits$1(2); + if (repeat === -1) + return -1; + repeat += 3; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(codeLengths, i); + codeLengths[i] = prev; + } + break; + case 17: + repeat = _this._readBits$1(3); + if (repeat === -1) + return -1; + repeat += 3; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(codeLengths, i); + codeLengths[i] = 0; + } + prev = 0; + break; + case 18: + repeat = _this._readBits$1(7); + if (repeat === -1) + return -1; + repeat += 11; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(codeLengths, i); + codeLengths[i] = 0; + } + prev = 0; + break; + default: + if (code < 0 || code > 15) + return -1; + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(codeLengths, i); + codeLengths[i] = code; + i = i0; + prev = code; + break; + } + } + return 0; } }; - O.BuiltSetSerializer_serialize_closure.prototype = { - call$1: function(item) { - return this.serializers.serialize$2$specifiedType(item, this.elementType); + A.CopyOnWriteList.prototype = { + get$length(_) { + return J.get$length$asx(this._copy_on_write_list$_list); }, - $signature: 33 - }; - O.BuiltSetSerializer_deserialize_closure.prototype = { - call$1: function(item) { - return this.serializers.deserialize$2$specifiedType(item, this.elementType); + $index(_, index) { + A._asIntS(index); + return J.$index$asx(this._copy_on_write_list$_list, index); }, - $signature: 33 - }; - Z.DateTimeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, dateTime, specifiedType) { - type$.DateTime._as(dateTime); - if (!dateTime.isUtc) - throw H.wrapException(P.ArgumentError$value(dateTime, "dateTime", "Must be in utc for serialization.")); - return 1000 * dateTime._value; + $add(_, other) { + this.$ti._eval$1("List<1>")._as(other); + return J.$add$ansx(this._copy_on_write_list$_list, other); }, - serialize$2: function(serializers, dateTime) { - return this.serialize$3$specifiedType(serializers, dateTime, C.FullType_null_List_empty_false); + cast$1$0(_, $T) { + return new A.CopyOnWriteList(this._growable, J.cast$1$0$ax(this._copy_on_write_list$_list, $T), $T._eval$1("CopyOnWriteList<0>")); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t2, - t1 = C.JSNumber_methods.round$0(H._asIntS(serialized) / 1000); - if (Math.abs(t1) <= 864e13) - t2 = false; - else - t2 = true; - if (t2) - H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + t1)); - H.checkNotNullable(true, "isUtc", type$.bool); - return new P.DateTime(t1, true); + contains$1(_, element) { + return J.contains$1$asx(this._copy_on_write_list$_list, element); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + elementAt$1(_, index) { + return J.elementAt$1$ax(this._copy_on_write_list$_list, index); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + get$first(_) { + return J.get$first$ax(this._copy_on_write_list$_list); }, - get$wireName: function() { - return "DateTime"; - } - }; - D.DoubleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, aDouble, specifiedType) { - H._asDoubleS(aDouble); - if (isNaN(aDouble)) - return "NaN"; - else if (aDouble == 1 / 0 || aDouble == -1 / 0) - return C.JSNumber_methods.get$isNegative(aDouble) ? "-INF" : "INF"; - else - return aDouble; + forEach$1(_, f) { + this.$ti._eval$1("~(1)")._as(f); + return J.forEach$1$ax(this._copy_on_write_list$_list, f); }, - serialize$2: function(serializers, aDouble) { - return this.serialize$3$specifiedType(serializers, aDouble, C.FullType_null_List_empty_false); + get$isEmpty(_) { + return J.get$isEmpty$asx(this._copy_on_write_list$_list); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1 = J.getInterceptor$(serialized); - if (t1.$eq(serialized, "NaN")) - return 0 / 0; - else if (t1.$eq(serialized, "-INF")) - return -1 / 0; - else if (t1.$eq(serialized, "INF")) - return 1 / 0; - else - return H._asNumS(serialized); + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this._copy_on_write_list$_list); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$iterator(_) { + return J.get$iterator$ax(this._copy_on_write_list$_list); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + join$1(_, separator) { + return J.join$1$ax(this._copy_on_write_list$_list, separator); }, - get$wireName: function() { - return "double"; - } - }; - K.DurationSerializer.prototype = { - serialize$3$specifiedType: function(serializers, duration, specifiedType) { - return type$.Duration._as(duration)._duration; + get$last(_) { + return J.get$last$ax(this._copy_on_write_list$_list); }, - serialize$2: function(serializers, duration) { - return this.serialize$3$specifiedType(serializers, duration, C.FullType_null_List_empty_false); + map$1$1(_, f, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(f); + return J.map$1$1$ax(this._copy_on_write_list$_list, f, $T); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return P.Duration$(H._asIntS(serialized), 0, 0); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$reversed(_) { + return J.get$reversed$ax(this._copy_on_write_list$_list); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + get$single(_) { + return J.get$single$ax(this._copy_on_write_list$_list); }, - get$wireName: function() { - return "Duration"; - } - }; - T.Int32Serializer.prototype = { - serialize$3$specifiedType: function(serializers, int32, specifiedType) { - return type$.Int32._as(int32)._i; + skip$1(_, count) { + return J.skip$1$ax(this._copy_on_write_list$_list, count); }, - serialize$2: function(serializers, int32) { - return this.serialize$3$specifiedType(serializers, int32, C.FullType_null_List_empty_false); + sublist$2(_, start, end) { + return J.sublist$2$ax(this._copy_on_write_list$_list, start, end); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - H._asIntS(serialized); - return new V.Int32((serialized & 2147483647) - ((serialized & 2147483648) >>> 0)); + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + take$1(_, count) { + return J.take$1$ax(this._copy_on_write_list$_list, count); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + toList$1$growable(_, growable) { + return J.toList$1$growable$ax(this._copy_on_write_list$_list, growable); }, - get$wireName: function() { - return "Int32"; - } - }; - Q.Int64Serializer.prototype = { - serialize$3$specifiedType: function(serializers, int64, specifiedType) { - return type$.Int64._as(int64)._toRadixString$1(10); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - serialize$2: function(serializers, int64) { - return this.serialize$3$specifiedType(serializers, int64, C.FullType_null_List_empty_false); + toSet$0(_) { + return J.toSet$0$ax(this._copy_on_write_list$_list); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return V.Int64__parseRadix(H._asStringS(serialized), 10); + where$1(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return J.where$1$ax(this._copy_on_write_list$_list, test); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $indexSet(_, index, element) { + A._asIntS(index); + this.$ti._precomputed1._as(element); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(this._copy_on_write_list$_list, index, element); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + add$1(_, value) { + this.$ti._precomputed1._as(value); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(this._copy_on_write_list$_list, value); }, - get$wireName: function() { - return "Int64"; - } - }; - B.IntSerializer.prototype = { - serialize$3$specifiedType: function(serializers, integer, specifiedType) { - return H._asIntS(integer); + sort$1(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.sort$1$ax(this._copy_on_write_list$_list, compare); }, - serialize$2: function(serializers, integer) { - return this.serialize$3$specifiedType(serializers, integer, C.FullType_null_List_empty_false); + sort$0($receiver) { + return this.sort$1($receiver, null); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return H._asIntS(serialized); + insert$2(_, index, element) { + this.$ti._precomputed1._as(element); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(this._copy_on_write_list$_list, index, element); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + removeAt$1(_, index) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + return J.removeAt$1$ax(this._copy_on_write_list$_list, index); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + removeLast$0(_) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + return J.removeLast$0$ax(this._copy_on_write_list$_list); }, - get$wireName: function() { - return "int"; - } - }; - O.JsonObjectSerializer.prototype = { - serialize$3$specifiedType: function(serializers, jsonObject, specifiedType) { - type$.JsonObject._as(jsonObject); - return jsonObject.get$value(jsonObject); + removeWhere$1(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(this._copy_on_write_list$_list, test); }, - serialize$2: function(serializers, jsonObject) { - return this.serialize$3$specifiedType(serializers, jsonObject, C.FullType_null_List_empty_false); + setRange$4(_, start, end, iterable, skipCount) { + A._asIntS(end); + this.$ti._eval$1("Iterable<1>")._as(iterable); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.setRange$4$ax(this._copy_on_write_list$_list, start, end, iterable, skipCount); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return A.JsonObject_JsonObject(serialized); + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + toString$0(_) { + return J.toString$0$(this._copy_on_write_list$_list); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + _copy_on_write_list$_maybeCopyBeforeWrite$0() { + var _this = this; + if (!_this._copy_on_write_list$_copyBeforeWrite) + return; + _this._copy_on_write_list$_copyBeforeWrite = false; + _this.set$_copy_on_write_list$_list(A.List_List$from(_this._copy_on_write_list$_list, _this._growable, _this.$ti._precomputed1)); }, - get$wireName: function() { - return "JsonObject"; - } + set$_copy_on_write_list$_list(_list) { + this._copy_on_write_list$_list = this.$ti._eval$1("List<1>")._as(_list); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - S.NullSerializer.prototype = { - serialize$3$specifiedType: function(serializers, value, specifiedType) { - type$.Null._as(value); - throw H.wrapException(P.UnimplementedError$(null)); + A.CopyOnWriteMap.prototype = { + $index(_, key) { + return this._copy_on_write_map$_map.$index(0, key); }, - serialize$2: function(serializers, value) { - return this.serialize$3$specifiedType(serializers, value, C.FullType_null_List_empty_false); + cast$2$0(_, K2, V2) { + var t1 = this._copy_on_write_map$_map; + return new A.CopyOnWriteMap(null, t1.cast$2$0(t1, K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("CopyOnWriteMap<1,2>")); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - throw H.wrapException(P.UnimplementedError$(null)); + containsKey$1(_, key) { + return this._copy_on_write_map$_map.containsKey$1(0, key); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$entries(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$entries(t1); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + forEach$1(_, f) { + this.$ti._eval$1("~(1,2)")._as(f); + return this._copy_on_write_map$_map.forEach$1(0, f); }, - get$wireName: function() { - return "Null"; - } - }; - K.NumSerializer.prototype = { - serialize$3$specifiedType: function(serializers, number, specifiedType) { - H._asNumS(number); - if (isNaN(number)) - return "NaN"; - else if (number == 1 / 0 || number == -1 / 0) - return C.JSNumber_methods.get$isNegative(number) ? "-INF" : "INF"; - else - return number; + get$isEmpty(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$isEmpty(t1); }, - serialize$2: function(serializers, number) { - return this.serialize$3$specifiedType(serializers, number, C.FullType_null_List_empty_false); + get$isNotEmpty(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$isNotEmpty(t1); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1 = J.getInterceptor$(serialized); - if (t1.$eq(serialized, "NaN")) - return 0 / 0; - else if (t1.$eq(serialized, "-INF")) - return -1 / 0; - else if (t1.$eq(serialized, "INF")) - return 1 / 0; - else - return H._asNumS(serialized); + get$keys(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$keys(t1); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$length(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$length(t1); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + map$2$1(_, f, K2, V2) { + var t1; + this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f); + t1 = this._copy_on_write_map$_map; + return t1.map$2$1(t1, f, K2, V2); }, - get$wireName: function() { - return "num"; - } - }; - K.RegExpSerializer.prototype = { - serialize$3$specifiedType: function(serializers, value, specifiedType) { - return type$.RegExp._as(value).pattern; + map$1($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); }, - serialize$2: function(serializers, value) { - return this.serialize$3$specifiedType(serializers, value, C.FullType_null_List_empty_false); + get$values(_) { + var t1 = this._copy_on_write_map$_map; + return t1.get$values(t1); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return P.RegExp_RegExp(H._asStringS(serialized), true); + $indexSet(_, key, value) { + var t1 = this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + this._maybeCopyBeforeWrite$0(); + this._copy_on_write_map$_map.$indexSet(0, key, value); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + remove$1(_, key) { + this._maybeCopyBeforeWrite$0(); + return this._copy_on_write_map$_map.remove$1(0, key); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + removeWhere$1(_, test) { + var t1; + this.$ti._eval$1("bool(1,2)")._as(test); + this._maybeCopyBeforeWrite$0(); + t1 = this._copy_on_write_map$_map; + t1.removeWhere$1(t1, test); }, - get$wireName: function() { - return "RegExp"; - } + toString$0(_) { + var t1 = this._copy_on_write_map$_map; + return t1.toString$0(t1); + }, + _maybeCopyBeforeWrite$0() { + var t1, _this = this; + if (!_this._copyBeforeWrite) + return; + _this._copyBeforeWrite = false; + t1 = _this.$ti; + t1 = A.LinkedHashMap_LinkedHashMap$from(_this._copy_on_write_map$_map, t1._precomputed1, t1._rest[1]); + _this.set$_copy_on_write_map$_map(t1); + }, + set$_copy_on_write_map$_map(_map) { + this._copy_on_write_map$_map = this.$ti._eval$1("Map<1,2>")._as(_map); + }, + $isMap: 1 }; - M.StringSerializer.prototype = { - serialize$3$specifiedType: function(serializers, string, specifiedType) { - return H._asStringS(string); + A.CopyOnWriteSet.prototype = { + get$length(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$length(t1); }, - serialize$2: function(serializers, string) { - return this.serialize$3$specifiedType(serializers, string, C.FullType_null_List_empty_false); + cast$1$0(_, $T) { + return new A.CopyOnWriteSet(null, this._copy_on_write_set$_set.cast$1$0(0, $T), $T._eval$1("CopyOnWriteSet<0>")); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return H._asStringS(serialized); + contains$1(_, element) { + return this._copy_on_write_set$_set.contains$1(0, element); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + elementAt$1(_, index) { + return this._copy_on_write_set$_set.elementAt$1(0, index); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + get$first(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$first(t1); }, - get$wireName: function() { - return "String"; - } - }; - U.Uint8ListSerializer.prototype = { - serialize$3$specifiedType: function(serializers, uint8list, specifiedType) { - uint8list = type$.Base64Codec._eval$1("Codec.S")._as(type$.Uint8List._as(uint8list)); - return C.C_Base64Codec.get$encoder().convert$1(uint8list); + forEach$1(_, f) { + this.$ti._eval$1("~(1)")._as(f); + return this._copy_on_write_set$_set.forEach$1(0, f); }, - serialize$2: function(serializers, uint8list) { - return this.serialize$3$specifiedType(serializers, uint8list, C.FullType_null_List_empty_false); + get$isEmpty(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$isEmpty(t1); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return C.C_Base64Decoder.convert$1(H._asStringS(serialized)); + get$isNotEmpty(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$isNotEmpty(t1); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$iterator(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$iterator(t1); }, - get$types: function(_) { - return D.BuiltList_BuiltList$from([C.Type_Uint8List_WLA], type$.Type); + get$last(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$last(t1); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$wireName: function() { - return "UInt8List"; - } - }; - O.UriSerializer.prototype = { - serialize$3$specifiedType: function(serializers, uri, specifiedType) { - return type$.Uri._as(uri).toString$0(0); + map$1$1(_, f, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(f); + return this._copy_on_write_set$_set.map$1$1(0, f, $T); }, - serialize$2: function(serializers, uri) { - return this.serialize$3$specifiedType(serializers, uri, C.FullType_null_List_empty_false); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return P.Uri_parse(H._asStringS(serialized)); + get$single(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$single(t1); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + skip$1(_, count) { + return this._copy_on_write_set$_set.skip$1(0, count); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + take$1(_, count) { + return this._copy_on_write_set$_set.take$1(0, count); }, - get$wireName: function() { - return "Uri"; - } - }; - T.StandardJsonPlugin.prototype = { - afterSerialize$2: function(object, specifiedType) { - var t1; - if (type$.List_dynamic._is(object)) { - t1 = specifiedType.root; - t1 = t1 !== C.Type_BuiltList_iTR && t1 !== C.Type_BuiltSet_fcN && t1 !== C.Type_JsonObject_gyf; - } else - t1 = false; - if (t1) - if (specifiedType.root == null) - return this._toMapWithDiscriminator$1(object); - else - return this._toMap$2(object, this._needsEncodedKeys$1(specifiedType)); - else - return object; + toList$1$growable(_, growable) { + return this._copy_on_write_set$_set.toList$1$growable(0, growable); }, - beforeDeserialize$2: function(object, specifiedType) { - var t1; - if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== C.Type_JsonObject_gyf) { - t1 = specifiedType.root; - if (t1 == null) - return this._toListUsingDiscriminator$1(object); - else - return this._toList$3$keepNulls(object, this._needsEncodedKeys$1(specifiedType), t1 === C.Type_BuiltMap_qd4); - } else - return object; + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - _needsEncodedKeys$1: function(specifiedType) { - var t1; - if (specifiedType.root === C.Type_BuiltMap_qd4) { - t1 = specifiedType.parameters; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].root !== C.Type_String_k8F; - } else - t1 = false; - return t1; + add$1(_, value) { + this.$ti._precomputed1._as(value); + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + return this._copy_on_write_set$_set.add$1(0, value); }, - _toMap$2: function(list, needsEncodedKeys) { - var t2, key, value, - result = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object), - t1 = J.getInterceptor$asx(list), - i = 0; - while (true) { - t2 = t1.get$length(list); - if (typeof t2 !== "number") - return t2.$tdiv(); - if (!(i !== C.JSInt_methods._tdivFast$1(t2, 2))) - break; - t2 = i * 2; - key = t1.$index(list, t2); - value = t1.$index(list, t2 + 1); - result.$indexSet(0, needsEncodedKeys ? C.C_JsonCodec.encode$1(key) : H._asStringS(key), value); - ++i; - } - return result; + toString$0(_) { + return this._copy_on_write_set$_set.toString$0(0); }, - _toMapWithDiscriminator$1: function(list) { - var needToEncodeKeys, i, result, t3, key, - t1 = J.getInterceptor$asx(list), - type = t1.$index(list, 0), - t2 = J.getInterceptor$(type); - if (t2.$eq(type, "list")) - return P.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.sublist$1(list, 1)], type$.String, type$.Object); - if (t1.get$length(list) === 2) - return P.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.$index(list, 1)], type$.String, type$.nullable_Object); - if (t2.$eq(type, "map")) { - i = 0; - while (true) { - t2 = t1.get$length(list); - if (typeof t2 !== "number") - return t2.$sub(); - if (!(i !== C.JSInt_methods._tdivFast$1(t2 - 1, 2))) { - needToEncodeKeys = false; - break; - } - if (typeof t1.$index(list, i * 2 + 1) != "string") { - type = "encoded_map"; - needToEncodeKeys = true; - break; - } - ++i; - } - } else - needToEncodeKeys = false; - result = P.LinkedHashMap_LinkedHashMap$_literal(["$", type], type$.String, type$.Object); - i = 0; - while (true) { - t2 = t1.get$length(list); - if (typeof t2 !== "number") - return t2.$sub(); - if (!(i !== C.JSInt_methods._tdivFast$1(t2 - 1, 2))) - break; - t2 = i * 2; - t3 = t2 + 1; - key = needToEncodeKeys ? C.C_JsonCodec.encode$1(t1.$index(list, t3)) : H._asStringS(t1.$index(list, t3)); - result.$indexSet(0, key, t1.$index(list, t2 + 2)); - ++i; - } - return result; + _copy_on_write_set$_maybeCopyBeforeWrite$0() { + var t1, _this = this; + if (!_this._copy_on_write_set$_copyBeforeWrite) + return; + _this._copy_on_write_set$_copyBeforeWrite = false; + t1 = A.LinkedHashSet_LinkedHashSet$from(_this._copy_on_write_set$_set, _this.$ti._precomputed1); + _this.set$_copy_on_write_set$_set(t1); }, - _toList$3$keepNulls: function(map, hasEncodedKeys, keepNulls) { - var nullValueCount, t2, t3, result, t1 = {}; - if (keepNulls) - nullValueCount = 0; - else { - t2 = J.where$1$ax(J.get$values$x(map), new T.StandardJsonPlugin__toList_closure()); - nullValueCount = t2.get$length(t2); - } - t2 = J.getInterceptor$asx(map); - t3 = t2.get$length(map); - if (typeof t3 !== "number") - return t3.$sub(); - result = P.List_List$filled((t3 - nullValueCount) * 2, 0, false, type$.nullable_Object); - t1.i = 0; - t2.forEach$1(map, new T.StandardJsonPlugin__toList_closure0(t1, this, keepNulls, result, hasEncodedKeys)); - return result; + set$_copy_on_write_set$_set(_set) { + this._copy_on_write_set$_set = this.$ti._eval$1("Set<1>")._as(_set); }, - _toListUsingDiscriminator$1: function(map) { - var t3, result, needToDecodeKeys, nullValueCount, t1 = {}, - t2 = J.getInterceptor$asx(map), - type = t2.$index(map, "$"); - if (type == null) - throw H.wrapException(P.ArgumentError$("Unknown type on deserialization. Need either specifiedType or discriminator field.")); - t3 = J.getInterceptor$(type); - if (t3.$eq(type, "list")) { - t1 = [type]; - C.JSArray_methods.addAll$1(t1, type$.Iterable_dynamic._as(t2.$index(map, ""))); - return t1; - } - if (t2.containsKey$1(map, "")) { - result = P.List_List$filled(2, 0, false, type$.nullable_Object); - C.JSArray_methods.$indexSet(result, 0, type); - C.JSArray_methods.$indexSet(result, 1, t2.$index(map, "")); - return result; - } - needToDecodeKeys = t3.$eq(type, "encoded_map"); - if (needToDecodeKeys) - type = "map"; - t3 = J.where$1$ax(t2.get$values(map), new T.StandardJsonPlugin__toListUsingDiscriminator_closure()); - nullValueCount = t3.get$length(t3); - t3 = t2.get$length(map); - if (typeof t3 !== "number") - return t3.$sub(); - result = P.List_List$filled((t3 - nullValueCount) * 2 - 1, 0, false, type$.Object); - C.JSArray_methods.$indexSet(result, 0, type); - t1.i = 1; - t2.forEach$1(map, new T.StandardJsonPlugin__toListUsingDiscriminator_closure0(t1, this, result, needToDecodeKeys)); - return result; - }, - $isSerializerPlugin: 1 - }; - T.StandardJsonPlugin__toList_closure.prototype = { - call$1: function(value) { - return value == null; - }, - $signature: 69 - }; - T.StandardJsonPlugin__toList_closure0.prototype = { - call$2: function(key, value) { - var t1, t2, t3, _this = this; - if (!_this.keepNulls && value == null) - return; - t1 = _this.result; - t2 = _this._box_0; - t3 = t2.i; - C.JSArray_methods.$indexSet(t1, t3, _this.hasEncodedKeys ? C.C_JsonCodec.decode$1(0, H._asStringS(key)) : key); - C.JSArray_methods.$indexSet(t1, t2.i + 1, value); - t2.i += 2; - }, - $signature: 45 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 }; - T.StandardJsonPlugin__toListUsingDiscriminator_closure.prototype = { - call$1: function(value) { - return value == null; + A.hashObjects_closure.prototype = { + call$2(h, i) { + return A._combine(A._asIntS(h), J.get$hashCode$(i)); }, - $signature: 69 + $signature: 212 }; - T.StandardJsonPlugin__toListUsingDiscriminator_closure0.prototype = { - call$2: function(key, value) { - var t1, t2, t3; - if (J.$eq$(key, "$")) - return; - if (value == null) - return; - t1 = this.result; - t2 = this._box_0; - t3 = t2.i; - C.JSArray_methods.$indexSet(t1, t3, this.needToDecodeKeys ? C.C_JsonCodec.decode$1(0, H._asStringS(key)) : key); - C.JSArray_methods.$indexSet(t1, t2.i + 1, value); - t2.i += 2; + A.BuiltList.prototype = { + rebuild$1(updates) { + var t1 = this.$ti; + t1._eval$1("@(ListBuilder<1>)")._as(updates); + t1 = A.ListBuilder_ListBuilder(this, t1._precomputed1); + t1.$ti._eval$1("@(ListBuilder<1>)")._as(updates).call$1(t1); + return t1.build$0(); }, - $signature: 45 - }; - M.CanonicalizedMap.prototype = { - $index: function(_, key) { - var pair, _this = this; - if (!_this._isValidKey$1(key)) - return null; - pair = _this._base.$index(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); - return pair == null ? null : pair.value; + get$hashCode(_) { + var t1 = this._list$_hashCode; + return t1 == null ? this._list$_hashCode = A.hashObjects(this._list) : t1; }, - $indexSet: function(_, key, value) { - var t2, _this = this, - t1 = _this.$ti; - t1._eval$1("CanonicalizedMap.K")._as(key); - t2 = t1._eval$1("CanonicalizedMap.V"); - t2._as(value); - if (!_this._isValidKey$1(key)) - return; - _this._base.$indexSet(0, _this._canonicalize.call$1(key), new P.MapEntry(key, value, t1._eval$1("@")._bind$1(t2)._eval$1("MapEntry<1,2>"))); + $eq(_, other) { + var t1, t2, i, t3, t4, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.BuiltList)) + return false; + t1 = other._list; + t2 = _this._list; + if (t1.length !== t2.length) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (i = 0; t3 = t2.length, i !== t3; ++i) { + if (!(i < t1.length)) + return A.ioore(t1, i); + t4 = t1[i]; + if (!(i < t3)) + return A.ioore(t2, i); + if (!J.$eq$(t4, t2[i])) + return false; + } + return true; }, - addAll$1: function(_, other) { - this.$ti._eval$1("Map")._as(other).forEach$1(0, new M.CanonicalizedMap_addAll_closure(this)); + toString$0(_) { + return A.IterableBase_iterableToFullString(this._list, "[", "]"); }, - cast$2$0: function(_, K2, V2) { - var t1 = this._base; - return t1.cast$2$0(t1, K2, V2); + $index(_, index) { + return B.JSArray_methods.$index(this._list, A._asIntS(index)); }, - containsKey$1: function(_, key) { - var _this = this; - if (!_this._isValidKey$1(key)) - return false; - return _this._base.containsKey$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + get$length(_) { + return this._list.length; }, - get$entries: function(_) { - var t1 = this._base; - return t1.get$entries(t1).map$1$1(0, new M.CanonicalizedMap_entries_closure(this), this.$ti._eval$1("MapEntry")); + get$iterator(_) { + var t1 = this._list; + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, - forEach$1: function(_, f) { - this._base.forEach$1(0, new M.CanonicalizedMap_forEach_closure(this, this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)")._as(f))); + map$1$1(_, f, $T) { + var t1 = this._list, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - get$isEmpty: function(_) { - var t1 = this._base; - return t1.get$isEmpty(t1); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - get$isNotEmpty: function(_) { - var t1 = this._base; - return t1.get$isNotEmpty(t1); + contains$1(_, element) { + return B.JSArray_methods.contains$1(this._list, element); }, - get$keys: function(_) { - var t2, t3, - t1 = this._base; - t1 = t1.get$values(t1); - t2 = this.$ti._eval$1("CanonicalizedMap.K"); - t3 = H._instanceType(t1); - return H.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new M.CanonicalizedMap_keys_closure(this)), t3._eval$1("Iterable.E"), t2); + forEach$1(_, f) { + return B.JSArray_methods.forEach$1(this._list, this.$ti._eval$1("~(1)")._as(f)); }, - get$length: function(_) { - var t1 = this._base; - return t1.get$length(t1); + toList$1$growable(_, growable) { + return new A.CopyOnWriteList(growable, this._list, this.$ti._eval$1("CopyOnWriteList<1>")); }, - map$2$1: function(_, transform, K2, V2) { - var t1 = this._base; - return t1.map$2$1(t1, new M.CanonicalizedMap_map_closure(this, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.K,CanonicalizedMap.V)")._as(transform), K2, V2), K2, V2); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - map$1: function($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + get$isEmpty(_) { + return this._list.length === 0; }, - remove$1: function(_, key) { - var pair, _this = this; - if (!_this._isValidKey$1(key)) - return null; - pair = _this._base.remove$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); - return pair == null ? null : pair.value; + get$isNotEmpty(_) { + return this._list.length !== 0; }, - removeWhere$1: function(_, test) { - var t1 = this._base; - return t1.removeWhere$1(t1, new M.CanonicalizedMap_removeWhere_closure(this, this.$ti._eval$1("bool(CanonicalizedMap.K,CanonicalizedMap.V)")._as(test))); + take$1(_, n) { + var t1 = this._list; + return A.SubListIterable$(t1, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(t1)._precomputed1); }, - get$values: function(_) { - var t2, t3, - t1 = this._base; - t1 = t1.get$values(t1); - t2 = this.$ti._eval$1("CanonicalizedMap.V"); - t3 = H._instanceType(t1); - return H.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new M.CanonicalizedMap_values_closure(this)), t3._eval$1("Iterable.E"), t2); + skip$1(_, n) { + var t1 = this._list; + return A.SubListIterable$(t1, n, null, A._arrayInstanceType(t1)._precomputed1); }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + get$first(_) { + return B.JSArray_methods.get$first(this._list); }, - _isValidKey$1: function(key) { - var t1; - if (this.$ti._eval$1("CanonicalizedMap.K")._is(key)) - t1 = H.boolConversionCheck(this._isValidKeyFn.call$1(key)); - else - t1 = false; - return t1; + get$last(_) { + return B.JSArray_methods.get$last(this._list); }, - $isMap: 1 - }; - M.CanonicalizedMap_addAll_closure.prototype = { - call$2: function(key, value) { - var t1 = this.$this, - t2 = t1.$ti; - t2._eval$1("CanonicalizedMap.K")._as(key); - t2._eval$1("CanonicalizedMap.V")._as(value); - t1.$indexSet(0, key, value); - return value; + get$single(_) { + return B.JSArray_methods.get$single(this._list); }, - $signature: function() { - return this.$this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)"); - } - }; - M.CanonicalizedMap_entries_closure.prototype = { - call$1: function(e) { - var t1 = this.$this.$ti, - t2 = t1._eval$1("MapEntry>")._as(e).value; - return new P.MapEntry(t2.key, t2.value, t1._eval$1("@")._bind$1(t1._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>")); + elementAt$1(_, index) { + return B.JSArray_methods.$index(this._list, index); }, - $signature: function() { - return this.$this.$ti._eval$1("MapEntry(MapEntry>)"); - } - }; - M.CanonicalizedMap_forEach_closure.prototype = { - call$2: function(key, pair) { - var t1 = this.$this.$ti; - t1._eval$1("CanonicalizedMap.C")._as(key); - t1._eval$1("MapEntry")._as(pair); - return this.f.call$2(pair.key, pair.value); + cast$1$0(_, $T) { + return A.CastIterable_CastIterable(this._list, this.$ti._precomputed1, $T); }, - $signature: function() { - return this.$this.$ti._eval$1("~(CanonicalizedMap.C,MapEntry)"); - } + $isIterable: 1, + $isBuiltIterable: 1 }; - M.CanonicalizedMap_keys_closure.prototype = { - call$1: function(pair) { - return this.$this.$ti._eval$1("MapEntry")._as(pair).key; - }, - $signature: function() { - return this.$this.$ti._eval$1("CanonicalizedMap.K(MapEntry)"); + A._BuiltList.prototype = { + _maybeCheckForNull$0() { + var t1, t2, _i; + if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) + return; + for (t1 = this._list, t2 = t1.length, _i = 0; _i < t2; ++_i) + if (t1[_i] == null) + throw A.wrapException(A.ArgumentError$("iterable contained invalid element: null", null)); } }; - M.CanonicalizedMap_map_closure.prototype = { - call$2: function(_, pair) { - var t1 = this.$this.$ti; - t1._eval$1("CanonicalizedMap.C")._as(_); - t1._eval$1("MapEntry")._as(pair); - return this.transform.call$2(pair.key, pair.value); + A.ListBuilder.prototype = { + build$0() { + var t1, t2, t3, _this = this; + if (_this._listOwner == null) { + t1 = _this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + t2 = _this.$ti; + t3 = t2._eval$1("_BuiltList<1>"); + t3 = t3._as(new A._BuiltList(t1, t3)); + _this.set$__ListBuilder__list_A(t2._eval$1("List<1>")._as(t1)); + _this.set$_listOwner(t3); + } + t1 = _this._listOwner; + t1.toString; + return t1; }, - $signature: function() { - return this.$this.$ti._bind$1(this.K2)._bind$1(this.V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.C,MapEntry)"); - } - }; - M.CanonicalizedMap_removeWhere_closure.prototype = { - call$2: function(_, pair) { - var t1 = this.$this.$ti; - t1._eval$1("CanonicalizedMap.C")._as(_); - t1._eval$1("MapEntry")._as(pair); - return this.test.call$2(pair.key, pair.value); + replace$1(_, iterable) { + var _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltList<1>"), + t3 = t1._eval$1("List<1>"); + if (t2._is(iterable)) { + t2._as(iterable); + _this.set$__ListBuilder__list_A(t3._as(iterable._list)); + _this.set$_listOwner(iterable); + } else { + _this.set$__ListBuilder__list_A(t3._as(A.List_List$from(iterable, true, t1._precomputed1))); + _this.set$_listOwner(null); + } }, - $signature: function() { - return this.$this.$ti._eval$1("bool(CanonicalizedMap.C,MapEntry)"); - } - }; - M.CanonicalizedMap_values_closure.prototype = { - call$1: function(pair) { - return this.$this.$ti._eval$1("MapEntry")._as(pair).value; + $index(_, index) { + var t1; + A._asIntS(index); + t1 = this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + return B.JSArray_methods.$index(t1, index); }, - $signature: function() { - return this.$this.$ti._eval$1("CanonicalizedMap.V(MapEntry)"); - } - }; - U.DefaultEquality.prototype = { - equals$2: function(e1, e2) { - return J.$eq$(e1, e2); + $indexSet(_, index, element) { + var t1; + A._asIntS(index); + t1 = this.$ti._precomputed1; + t1._as(element); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (element == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(this.get$_safeList(), index, element); }, - hash$1: function(_, e) { - return J.get$hashCode$(e); + get$length(_) { + var t1 = this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + return t1.length; }, - isValidKey$1: function(o) { - return true; + add$1(_, value) { + var t1 = this.$ti._precomputed1; + t1._as(value); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.add$1(this.get$_safeList(), value); }, - $isEquality: 1 - }; - U.IterableEquality.prototype = { - equals$2: function(elements1, elements2) { - var it1, it2, hasNext, - t1 = this.$ti._eval$1("Iterable<1>?"); - t1._as(elements1); - t1._as(elements2); - if (elements1 === elements2) - return true; - it1 = J.get$iterator$ax(elements1); - it2 = J.get$iterator$ax(elements2); - for (t1 = this._elementEquality; true;) { - hasNext = it1.moveNext$0(); - if (hasNext !== it2.moveNext$0()) - return false; - if (!hasNext) - return true; - if (!t1.equals$2(it1.get$current(it1), it2.get$current(it2))) - return false; + addAll$1(_, iterable) { + var safeList, lengthBefore, i, t2, exception, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(iterable); + safeList = this.get$_safeList(); + lengthBefore = J.get$length$asx(safeList); + J.addAll$1$ax(safeList, iterable); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) + return; + try { + i = lengthBefore; + t1 = t1._precomputed1; + while (!J.$eq$(i, J.get$length$asx(safeList))) { + if (t1._as(J.$index$asx(safeList, i)) == null) + A.throwExpression(A.ArgumentError$("null element", null)); + t2 = i; + if (typeof t2 !== "number") + return t2.$add(); + i = t2 + 1; + } + } catch (exception) { + J.removeRange$2$ax(safeList, lengthBefore, J.get$length$asx(safeList)); + throw exception; } }, - hash$1: function(_, elements) { - var t1, t2, hash, c; - this.$ti._eval$1("Iterable<1>?")._as(elements); - for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { - c = t2.hash$1(0, t1.get$current(t1)); - if (typeof c !== "number") - return H.iae(c); - hash = hash + c & 2147483647; - hash = hash + (hash << 10 >>> 0) & 2147483647; - hash ^= hash >>> 6; - } - hash = hash + (hash << 3 >>> 0) & 2147483647; - hash ^= hash >>> 11; - return hash + (hash << 15 >>> 0) & 2147483647; + setRange$4(_, start, end, iterable, skipCount) { + var t1; + A._asIntS(end); + t1 = this.$ti; + iterable = A.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); + this._list$_maybeCheckElements$1(iterable); + B.JSArray_methods.setRange$4(this.get$_safeList(), start, end, iterable, skipCount); }, - $isEquality: 1 - }; - U.ListEquality.prototype = { - equals$2: function(list1, list2) { - var $length, t2, t3, i, - t1 = this.$ti._eval$1("List<1>?"); - t1._as(list1); - t1._as(list2); - if (list1 == null ? list2 == null : list1 === list2) - return true; - if (list1 == null || list2 == null) - return false; - t1 = J.getInterceptor$asx(list1); - $length = t1.get$length(list1); - t2 = J.getInterceptor$asx(list2); - if ($length != t2.get$length(list2)) - return false; - if (typeof $length !== "number") - return H.iae($length); - t3 = this._elementEquality; - i = 0; - for (; i < $length; ++i) - if (!t3.equals$2(t1.$index(list1, i), t2.$index(list2, i))) - return false; - return true; + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - hash$1: function(_, list) { - var t1, t2, hash, i, t3, c; - this.$ti._eval$1("List<1>?")._as(list); - t1 = J.getInterceptor$asx(list); - t2 = this._elementEquality; - hash = 0; - i = 0; - while (true) { - t3 = t1.get$length(list); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - c = t2.hash$1(0, t1.$index(list, i)); - if (typeof c !== "number") - return H.iae(c); - hash = hash + c & 2147483647; - hash = hash + (hash << 10 >>> 0) & 2147483647; - hash ^= hash >>> 6; - ++i; - } - hash = hash + (hash << 3 >>> 0) & 2147483647; - hash ^= hash >>> 11; - return hash + (hash << 15 >>> 0) & 2147483647; + map$1(_, f) { + var t2, t3, t4, t5, result, _this = this, + t1 = _this.$ti; + t1._eval$1("1(1)")._as(f); + t2 = _this.__ListBuilder__list_A; + t2 === $ && A.throwLateFieldNI("_list"); + t3 = t1._precomputed1; + t4 = A._arrayInstanceType(t2); + t5 = t4._eval$1("@<1>")._bind$1(t3)._eval$1("MappedListIterable<1,2>"); + result = A.List_List$of(new A.MappedListIterable(t2, t4._bind$1(t3)._eval$1("1(2)")._as(f), t5), true, t5._eval$1("ListIterable.E")); + _this._list$_maybeCheckElements$1(result); + _this.set$__ListBuilder__list_A(t1._eval$1("List<1>")._as(result)); + _this.set$_listOwner(null); }, - $isEquality: 1 - }; - U._UnorderedEquality.prototype = { - equals$2: function(elements1, elements2) { - var counts, $length, e, count, - t1 = H._instanceType(this), - t2 = t1._eval$1("_UnorderedEquality.T?"); - t2._as(elements1); - t2._as(elements2); - if (elements1 === elements2) - return true; - t2 = this._elementEquality; - counts = P.HashMap_HashMap(t2.get$equals(), t2.get$hash(t2), t2.get$isValidKey(), t1._eval$1("_UnorderedEquality.E"), type$.int); - for (t1 = J.get$iterator$ax(elements1), $length = 0; t1.moveNext$0();) { - e = t1.get$current(t1); - count = counts.$index(0, e); - counts.$indexSet(0, e, (count == null ? 0 : count) + 1); - ++$length; - } - for (t1 = J.get$iterator$ax(elements2); t1.moveNext$0();) { - e = t1.get$current(t1); - count = counts.$index(0, e); - if (count == null || count === 0) - return false; - if (typeof count !== "number") - return count.$sub(); - counts.$indexSet(0, e, count - 1); - --$length; + get$_safeList() { + var t1, t2, _this = this; + if (_this._listOwner != null) { + t1 = _this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + t2 = _this.$ti; + _this.set$__ListBuilder__list_A(t2._eval$1("List<1>")._as(A.List_List$from(t1, true, t2._precomputed1))); + _this.set$_listOwner(null); } - return $length === 0; + t1 = _this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); + return t1; }, - hash$1: function(_, elements) { - var t1, t2, hash, c; - H._instanceType(this)._eval$1("_UnorderedEquality.T?")._as(elements); - for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { - c = t2.hash$1(0, t1.get$current(t1)); - if (typeof c !== "number") - return H.iae(c); - hash = hash + c & 2147483647; - } - hash = hash + (hash << 3 >>> 0) & 2147483647; - hash ^= hash >>> 11; - return hash + (hash << 15 >>> 0) & 2147483647; + _list$_maybeCheckElements$1(elements) { + var t2, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(elements); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) + return; + for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) + if (t1._as(t2.get$current(t2)) == null) + A.throwExpression(A.ArgumentError$("null element", null)); }, - $isEquality: 1 + set$__ListBuilder__list_A(__ListBuilder__list_A) { + this.__ListBuilder__list_A = this.$ti._eval$1("List<1>")._as(__ListBuilder__list_A); + }, + set$_listOwner(_listOwner) { + this._listOwner = this.$ti._eval$1("_BuiltList<1>?")._as(_listOwner); + } }; - U.SetEquality.prototype = {}; - U._MapEntry.prototype = { - get$hashCode: function(_) { - var t1 = this.equality, - t2 = t1._keyEquality.hash$1(0, this.key); - if (typeof t2 !== "number") - return H.iae(t2); - t1 = t1._valueEquality.hash$1(0, this.value); - if (typeof t1 !== "number") - return H.iae(t1); - return 3 * t2 + 7 * t1 & 2147483647; + A.BuiltListMultimap.prototype = { + get$hashCode(_) { + var t2, _this = this, + t1 = _this._list_multimap$_hashCode; + if (t1 == null) { + t1 = _this._list_multimap$_map; + t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); + t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), t2._eval$1("int(Iterable.E)")._as(new A.BuiltListMultimap_hashCode_closure(_this)), t2._eval$1("Iterable.E"), type$.int); + t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); + B.JSArray_methods.sort$0(t2); + t2 = _this._list_multimap$_hashCode = A.hashObjects(t2); + t1 = t2; + } + return t1; }, - $eq: function(_, other) { - var t1; + $eq(_, other) { + var t1, t2, t3, t4, t5, key, result, t6, _this = this; if (other == null) return false; - if (other instanceof U._MapEntry) { - t1 = this.equality; - t1 = t1._keyEquality.equals$2(this.key, other.key) && t1._valueEquality.equals$2(this.value, other.value); - } else - t1 = false; - return t1; - }, - get$value: function(receiver) { - return this.value; - } - }; - U.MapEquality.prototype = { - equals$2: function(map1, map2) { - var t2, equalElementCounts, t3, key, entry, count, - t1 = this.$ti._eval$1("Map<1,2>?"); - t1._as(map1); - t1._as(map2); - if (map1 === map2) + if (other === _this) return true; - if (map1 == null || false) + if (!(other instanceof A.BuiltListMultimap)) return false; - t1 = J.getInterceptor$asx(map1); - t2 = J.getInterceptor$asx(map2); - if (t1.get$length(map1) != t2.get$length(map2)) + t1 = other._list_multimap$_map; + t2 = _this._list_multimap$_map; + if (t1._length !== t2._length) return false; - equalElementCounts = P.HashMap_HashMap(null, null, null, type$._MapEntry, type$.int); - for (t3 = J.get$iterator$ax(t1.get$keys(map1)); t3.moveNext$0();) { - key = t3.get$current(t3); - entry = new U._MapEntry(this, key, t1.$index(map1, key)); - count = equalElementCounts.$index(0, entry); - equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1); - } - for (t1 = J.get$iterator$ax(t2.get$keys(map2)); t1.moveNext$0();) { - key = t1.get$current(t1); - entry = new U._MapEntry(this, key, t2.$index(map2, key)); - count = equalElementCounts.$index(0, entry); - if (count == null || count === 0) + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = other._emptyList, t5 = _this._emptyList; t3.moveNext$0();) { + key = t3.__js_helper$_current; + result = t1.$index(0, key); + t6 = result == null ? t4 : result; + result = t2.$index(0, key); + if (!t6.$eq(0, result == null ? t5 : result)) return false; - if (typeof count !== "number") - return count.$sub(); - equalElementCounts.$indexSet(0, entry, count - 1); - } - return true; - }, - hash$1: function(_, map) { - var t1, t2, t3, t4, hash, key, keyHash, valueHash; - this.$ti._eval$1("Map<1,2>?")._as(map); - for (t1 = J.getInterceptor$x(map), t2 = J.get$iterator$ax(t1.get$keys(map)), t3 = this._keyEquality, t4 = this._valueEquality, hash = 0; t2.moveNext$0();) { - key = t2.get$current(t2); - keyHash = t3.hash$1(0, key); - valueHash = t4.hash$1(0, t1.$index(map, key)); - if (typeof keyHash !== "number") - return H.iae(keyHash); - if (typeof valueHash !== "number") - return H.iae(valueHash); - hash = hash + 3 * keyHash + 7 * valueHash & 2147483647; } - hash = hash + (hash << 3 >>> 0) & 2147483647; - hash ^= hash >>> 11; - return hash + (hash << 15 >>> 0) & 2147483647; - }, - $isEquality: 1 - }; - U.DeepCollectionEquality.prototype = { - equals$2: function(e1, e2) { - var _this = this, - t1 = type$.Set_dynamic; - if (t1._is(e1)) - return t1._is(e2) && new U.SetEquality(_this, type$.SetEquality_dynamic).equals$2(e1, e2); - t1 = type$.Map_dynamic_dynamic; - if (t1._is(e1)) - return t1._is(e2) && new U.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).equals$2(e1, e2); - t1 = type$.List_dynamic; - if (t1._is(e1)) - return t1._is(e2) && new U.ListEquality(_this, type$.ListEquality_dynamic).equals$2(e1, e2); - t1 = type$.Iterable_dynamic; - if (t1._is(e1)) - return t1._is(e2) && H.boolConversionCheck(new U.IterableEquality(_this, type$.IterableEquality_dynamic).equals$2(e1, e2)); - return J.$eq$(e1, e2); - }, - hash$1: function(_, o) { - var _this = this; - if (type$.Set_dynamic._is(o)) - return new U.SetEquality(_this, type$.SetEquality_dynamic).hash$1(0, o); - if (type$.Map_dynamic_dynamic._is(o)) - return new U.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).hash$1(0, o); - if (type$.List_dynamic._is(o)) - return new U.ListEquality(_this, type$.ListEquality_dynamic).hash$1(0, o); - if (type$.Iterable_dynamic._is(o)) - return new U.IterableEquality(_this, type$.IterableEquality_dynamic).hash$1(0, o); - return J.get$hashCode$(o); - }, - isValidKey$1: function(o) { - !type$.Iterable_dynamic._is(o); return true; }, - $isEquality: 1 - }; - M._DelegatingIterableBase.prototype = { - any$1: function(_, test) { - return C.JSArray_methods.any$1(this._wrappers$_base, this.$ti._eval$1("bool(1)")._as(test)); - }, - cast$1$0: function(_, $T) { - var t1 = this._wrappers$_base; - return new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); - }, - contains$1: function(_, element) { - return C.JSArray_methods.contains$1(this._wrappers$_base, element); - }, - elementAt$1: function(_, index) { - return C.JSArray_methods.$index(this._wrappers$_base, index); - }, - every$1: function(_, test) { - return C.JSArray_methods.every$1(this._wrappers$_base, this.$ti._eval$1("bool(1)")._as(test)); - }, - expand$1$1: function(_, f, $T) { - var t1 = this._wrappers$_base, - t2 = H._arrayInstanceType(t1); - return new H.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(2)")._as(this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); - }, - get$first: function(_) { - return C.JSArray_methods.get$first(this._wrappers$_base); - }, - firstWhere$2$orElse: function(_, test, orElse) { - var t1 = this.$ti; - return C.JSArray_methods.firstWhere$2$orElse(this._wrappers$_base, t1._eval$1("bool(1)")._as(test), t1._eval$1("1()?")._as(orElse)); - }, - fold$1$2: function(_, initialValue, combine, $T) { - return C.JSArray_methods.fold$1$2(this._wrappers$_base, $T._as(initialValue), this.$ti._bind$1($T)._eval$1("1(1,2)")._as(combine), $T); - }, - forEach$1: function(_, f) { - return C.JSArray_methods.forEach$1(this._wrappers$_base, this.$ti._eval$1("~(1)")._as(f)); - }, - get$isEmpty: function(_) { - return this._wrappers$_base.length === 0; - }, - get$isNotEmpty: function(_) { - return this._wrappers$_base.length !== 0; + toString$0(_) { + return A.MapBase_mapToString(this._list_multimap$_map); }, - get$iterator: function(_) { - var t1 = this._wrappers$_base; - return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + $index(_, key) { + var result = this._list_multimap$_map.$index(0, key); + return result == null ? this._emptyList : result; }, - join$1: function(_, separator) { - return C.JSArray_methods.join$1(this._wrappers$_base, separator); + containsKey$1(_, key) { + return this._list_multimap$_map.containsKey$1(0, key); }, - get$last: function(_) { - return C.JSArray_methods.get$last(this._wrappers$_base); + get$keys(_) { + var t1, _this = this; + if (_this._list_multimap$_keys == null) { + t1 = _this._list_multimap$_map; + _this.set$_list_multimap$_keys(new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t1 = _this._list_multimap$_keys; + t1.toString; + return t1; }, - get$length: function(_) { - return this._wrappers$_base.length; + get$length(_) { + return this._list_multimap$_map._length; }, - map$1$1: function(_, f, $T) { - var t1 = this._wrappers$_base, - t2 = H._arrayInstanceType(t1); - return new H.MappedListIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + set$_list_multimap$_keys(_keys) { + this._list_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); + } + }; + A.BuiltListMultimap_BuiltListMultimap_closure.prototype = { + call$1(k) { + return this.multimap.$index(0, k); }, - map$1: function($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + $signature: 12 + }; + A.BuiltListMultimap_hashCode_closure.prototype = { + call$1(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(t1._list_multimap$_map.$index(0, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); }, - get$single: function(_) { - return C.JSArray_methods.get$single(this._wrappers$_base); + $signature() { + return this.$this.$ti._eval$1("int(1)"); + } + }; + A._BuiltListMultimap.prototype = { + _BuiltListMultimap$copy$2(keys, lookup, $K, $V) { + var t1, t2, t3, key; + for (t1 = J.get$iterator$ax(keys), t2 = this._list_multimap$_map, t3 = type$.Iterable_dynamic; t1.moveNext$0();) { + key = t1.get$current(t1); + if ($K._is(key)) + t2.$indexSet(0, key, A.BuiltList_BuiltList$from(t3._as(lookup.call$1(key)), $V)); + else + throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); + } + } + }; + A.ListMultimapBuilder.prototype = { + build$0() { + var t1, key, t2, t3, t4, t5, builtList, _this = this, + _s9_ = "_builtMap"; + if (_this._list_multimap$_builtMapOwner == null) { + t1 = _this.__ListMultimapBuilder__builderMap_A; + t1 === $ && A.throwLateFieldNI("_builderMap"); + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + for (; t1.moveNext$0();) { + key = t1.__js_helper$_current; + t2 = _this.__ListMultimapBuilder__builderMap_A.$index(0, key); + if (t2._listOwner == null) { + t3 = t2.__ListBuilder__list_A; + t3 === $ && A.throwLateFieldNI("_list"); + t4 = A._instanceType(t2); + t5 = t4._eval$1("_BuiltList<1>"); + t5 = t5._as(new A._BuiltList(t3, t5)); + t2.set$__ListBuilder__list_A(t4._eval$1("List<1>")._as(t3)); + t2.set$_listOwner(t5); + } + builtList = t2._listOwner; + t2 = builtList._list.length; + t3 = _this.__ListMultimapBuilder__builtMap_A; + if (t2 === 0) { + t3 === $ && A.throwLateFieldNI(_s9_); + t3.remove$1(0, key); + } else { + t3 === $ && A.throwLateFieldNI(_s9_); + t3.$indexSet(0, key, builtList); + } + } + t1 = _this.__ListMultimapBuilder__builtMap_A; + t1 === $ && A.throwLateFieldNI(_s9_); + t2 = _this.$ti; + t3 = t2._rest[1]; + _this.set$_list_multimap$_builtMapOwner(new A._BuiltListMultimap(t1, A.BuiltList_BuiltList$from(B.List_empty, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltListMultimap<1,2>"))); + } + t1 = _this._list_multimap$_builtMapOwner; + t1.toString; + return t1; }, - skip$1: function(_, n) { - var t1 = this._wrappers$_base; - return H.SubListIterable$(t1, n, null, H._arrayInstanceType(t1)._precomputed1); + replace$1(_, multimap) { + this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.ListMultimapBuilder_replace_closure(multimap)); }, - take$1: function(_, n) { - var t1 = this._wrappers$_base; - return H.SubListIterable$(t1, 0, H.checkNotNullable(n, "count", type$.int), H._arrayInstanceType(t1)._precomputed1); + $index(_, key) { + var t1; + this._makeWriteableCopy$0(); + t1 = this.$ti; + return t1._precomputed1._is(key) ? this._list_multimap$_getValuesBuilder$1(key) : A.ListBuilder_ListBuilder(B.List_empty, t1._rest[1]); }, - toList$1$growable: function(_, growable) { - var t1 = this._wrappers$_base, - t2 = H._arrayInstanceType(t1); - return growable ? H.setRuntimeTypeInfo(t1.slice(0), t2) : J.JSArray_JSArray$markFixed(t1.slice(0), t2._precomputed1); + _list_multimap$_getValuesBuilder$1(key) { + var t2, result, builtValues, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + t2 = _this.__ListMultimapBuilder__builderMap_A; + t2 === $ && A.throwLateFieldNI("_builderMap"); + result = t2.$index(0, key); + if (result == null) { + t2 = _this.__ListMultimapBuilder__builtMap_A; + t2 === $ && A.throwLateFieldNI("_builtMap"); + builtValues = t2.$index(0, key); + result = builtValues == null ? A.ListBuilder_ListBuilder(B.List_empty, t1._rest[1]) : A.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); + _this.__ListMultimapBuilder__builderMap_A.$indexSet(0, key, result); + } + return result; }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); + _makeWriteableCopy$0() { + var t1, t2, _this = this; + if (_this._list_multimap$_builtMapOwner != null) { + t1 = _this.__ListMultimapBuilder__builtMap_A; + t1 === $ && A.throwLateFieldNI("_builtMap"); + t2 = _this.$ti; + _this.set$__ListMultimapBuilder__builtMap_A(t2._eval$1("Map<1,BuiltList<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t1, t2._precomputed1, t2._eval$1("BuiltList<2>")))); + _this.set$_list_multimap$_builtMapOwner(null); + } }, - toSet$0: function(_) { - var t1 = this._wrappers$_base; - return P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); - }, - where$1: function(_, test) { - var t1 = this._wrappers$_base, - t2 = H._arrayInstanceType(t1); - return new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)), t2._eval$1("WhereIterable<1>")); - }, - whereType$1$0: function(_, $T) { - return new H.WhereTypeIterable(this._wrappers$_base, $T._eval$1("WhereTypeIterable<0>")); - }, - toString$0: function(_) { - return P.IterableBase_iterableToFullString(this._wrappers$_base, "[", "]"); - }, - $isIterable: 1 - }; - M.DelegatingList.prototype = { - $index: function(_, index) { - return C.JSArray_methods.$index(this._wrappers$_base, H._asIntS(index)); - }, - $indexSet: function(_, index, value) { - C.JSArray_methods.$indexSet(this._wrappers$_base, H._asIntS(index), this.$ti._precomputed1._as(value)); - }, - $add: function(_, other) { - return C.JSArray_methods.$add(this._wrappers$_base, this.$ti._eval$1("List<1>")._as(other)); - }, - add$1: function(_, value) { - C.JSArray_methods.add$1(this._wrappers$_base, this.$ti._precomputed1._as(value)); - }, - addAll$1: function(_, iterable) { - C.JSArray_methods.addAll$1(this._wrappers$_base, this.$ti._eval$1("Iterable<1>")._as(iterable)); - }, - cast$1$0: function(_, $T) { - var t1 = this._wrappers$_base; - return new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); + _list_multimap$_setWithCopyAndCheck$2(keys, lookup) { + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, t11, _this = this, _null = null; + _this.set$_list_multimap$_builtMapOwner(_null); + t1 = _this.$ti; + t2 = t1._precomputed1; + t3 = t1._eval$1("BuiltList<2>"); + t4 = t1._eval$1("Map<1,BuiltList<2>>"); + _this.set$__ListMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__ListMultimapBuilder__builderMap_A(t1._eval$1("Map<1,ListBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")))); + for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { + key = t5.get$current(t5); + if (t2._is(key)) + for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { + value = t7.get$current(t7); + if (t1._is(value)) { + t2._as(key); + t1._as(value); + if (_this._list_multimap$_builtMapOwner != null) { + t8 = _this.__ListMultimapBuilder__builtMap_A; + t8 === $ && A.throwLateFieldNI("_builtMap"); + _this.set$__ListMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + _this.set$_list_multimap$_builtMapOwner(_null); + } + _this._list_multimap$_checkKey$1(key); + _this._list_multimap$_checkValue$1(value); + t8 = _this._list_multimap$_getValuesBuilder$1(key); + t9 = t8.$ti; + t10 = t9._precomputed1; + t10._as(value); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", _null)); + if (t8._listOwner != null) { + t11 = t8.__ListBuilder__list_A; + t11 === $ && A.throwLateFieldNI("_list"); + t8.set$__ListBuilder__list_A(t9._eval$1("List<1>")._as(A.List_List$from(t11, true, t10))); + t8.set$_listOwner(_null); + } + t8 = t8.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.add$1(t8, value); + } else + throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), _null)); + } + else + throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), _null)); + } }, - clear$0: function(_) { - C.JSArray_methods.set$length(this._wrappers$_base, 0); + _list_multimap$_checkKey$1(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (key == null) + throw A.wrapException(A.ArgumentError$("null key", null)); }, - getRange$2: function(_, start, end) { - var t1 = this._wrappers$_base; - P.RangeError_checkValidRange(start, end, t1.length); - return H.SubListIterable$(t1, start, end, H._arrayInstanceType(t1)._precomputed1); + _list_multimap$_checkValue$1(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (value == null) + throw A.wrapException(A.ArgumentError$("null value", null)); }, - indexOf$2: function(_, element, start) { - return C.JSArray_methods.indexOf$2(this._wrappers$_base, this.$ti._precomputed1._as(element), start); + set$__ListMultimapBuilder__builtMap_A(__ListMultimapBuilder__builtMap_A) { + this.__ListMultimapBuilder__builtMap_A = this.$ti._eval$1("Map<1,BuiltList<2>>")._as(__ListMultimapBuilder__builtMap_A); }, - insert$2: function(_, index, element) { - C.JSArray_methods.insert$2(this._wrappers$_base, index, this.$ti._precomputed1._as(element)); + set$_list_multimap$_builtMapOwner(_builtMapOwner) { + this._list_multimap$_builtMapOwner = this.$ti._eval$1("_BuiltListMultimap<1,2>?")._as(_builtMapOwner); }, - insertAll$2: function(_, index, iterable) { - C.JSArray_methods.insertAll$2(this._wrappers$_base, index, this.$ti._eval$1("Iterable<1>")._as(iterable)); + set$__ListMultimapBuilder__builderMap_A(__ListMultimapBuilder__builderMap_A) { + this.__ListMultimapBuilder__builderMap_A = this.$ti._eval$1("Map<1,ListBuilder<2>>")._as(__ListMultimapBuilder__builderMap_A); + } + }; + A.ListMultimapBuilder_replace_closure.prototype = { + call$1(k) { + return this.multimap.$index(0, k); }, - remove$1: function(_, value) { - return C.JSArray_methods.remove$1(this._wrappers$_base, value); + $signature: 12 + }; + A.BuiltMap.prototype = { + rebuild$1(updates) { + var t2, + t1 = this.$ti; + t1._eval$1("@(MapBuilder<1,2>)")._as(updates); + t1._eval$1("_BuiltMap<1,2>")._as(this); + t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); + t2 = new A.MapBuilder(this._mapFactory, this._map$_map, this, t1._eval$1("MapBuilder<1,2>")); + t1._eval$1("@(MapBuilder<1,2>)")._as(updates).call$1(t2); + return t2.build$0(); }, - removeAt$1: function(_, index) { - return C.JSArray_methods.removeAt$1(this._wrappers$_base, index); + get$hashCode(_) { + var t2, _this = this, + t1 = _this._hashCode; + if (t1 == null) { + t1 = _this._map$_map; + t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); + t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), t2._eval$1("int(Iterable.E)")._as(new A.BuiltMap_hashCode_closure(_this)), t2._eval$1("Iterable.E"), type$.int); + t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); + B.JSArray_methods.sort$0(t2); + t2 = _this._hashCode = A.hashObjects(t2); + t1 = t2; + } + return t1; }, - removeLast$0: function(_) { - var t1 = this._wrappers$_base; - if (0 >= t1.length) - return H.ioore(t1, -1); - return t1.pop(); + $eq(_, other) { + var t1, t2, t3, t4, key, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.BuiltMap)) + return false; + t1 = other._map$_map; + t2 = _this._map$_map; + if (t1._length !== t2._length) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1); t3.moveNext$0();) { + key = t3.__js_helper$_current; + if (!J.$eq$(t1.$index(0, key), t2.$index(0, key))) + return false; + } + return true; }, - removeRange$2: function(_, start, end) { - C.JSArray_methods.removeRange$2(this._wrappers$_base, start, end); + toString$0(_) { + return A.MapBase_mapToString(this._map$_map); }, - removeWhere$1: function(_, test) { - var t1 = this._wrappers$_base; - test = H._arrayInstanceType(t1)._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)); - if (!!t1.fixed$length) - H.throwExpression(P.UnsupportedError$("removeWhere")); - C.JSArray_methods._removeWhere$2(t1, test, true); + $index(_, key) { + return this._map$_map.$index(0, key); }, - replaceRange$3: function(_, start, end, iterable) { - C.JSArray_methods.replaceRange$3(this._wrappers$_base, start, end, this.$ti._eval$1("Iterable<1>")._as(iterable)); + containsKey$1(_, key) { + return this._map$_map.containsKey$1(0, key); }, - get$reversed: function(_) { - var t1 = this._wrappers$_base; - return new H.ReversedListIterable(t1, H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); + get$keys(_) { + var t1, _this = this; + if (_this._keys == null) { + t1 = _this._map$_map; + _this.set$_keys(new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t1 = _this._keys; + t1.toString; + return t1; }, - setRange$4: function(_, start, end, iterable, skipCount) { - C.JSArray_methods.setRange$4(this._wrappers$_base, start, H._asIntS(end), this.$ti._eval$1("Iterable<1>")._as(iterable), skipCount); + get$length(_) { + return this._map$_map._length; }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + get$values(_) { + var t1, _this = this; + if (_this._values == null) { + t1 = _this._map$_map; + _this.set$_values(t1.get$values(t1)); + } + t1 = _this._values; + t1.toString; + return t1; }, - sort$1: function(_, compare) { - C.JSArray_methods.sort$1(this._wrappers$_base, this.$ti._eval$1("int(1,1)?")._as(compare)); + map$2$1(_, f, K2, V2) { + var t1 = this._map$_map; + return new A._BuiltMap(null, t1.map$2$1(t1, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f), K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("_BuiltMap<1,2>")); }, - sort$0: function($receiver) { - return this.sort$1($receiver, null); + map$1($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); }, - sublist$2: function(_, start, end) { - return C.JSArray_methods.sublist$2(this._wrappers$_base, start, end); + set$_keys(_keys) { + this._keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); }, - sublist$1: function($receiver, start) { - return this.sublist$2($receiver, start, null); + set$_values(_values) { + this._values = this.$ti._eval$1("Iterable<2>?")._as(_values); + } + }; + A.BuiltMap_BuiltMap_closure.prototype = { + call$1(k) { + return this.map.$index(0, k); }, - $isEfficientLengthIterable: 1, - $isList: 1 + $signature: 12 }; - S.Color.prototype = { - get$hashCode: function(_) { - return 65536 * J.toInt$0$n(this.r) + 256 * J.toInt$0$n(this.g) + J.toInt$0$n(this.b); + A.BuiltMap_BuiltMap$from_closure.prototype = { + call$1(k) { + return this.map._copy_on_write_map$_map.$index(0, k); }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof S.Color && this.get$hashCode(this) === other.get$hashCode(other); + $signature: 12 + }; + A.BuiltMap_BuiltMap$of_closure.prototype = { + call$1(k) { + return J.$index$asx(this.map, this.K._as(k)); }, - $index: function(_, key) { - var thisAsMap, t1, _this = this; - H._asStringS(key); - thisAsMap = P.LinkedHashMap_LinkedHashMap$_literal(["r", _this.r, "g", _this.g, "b", _this.b], type$.String, type$.num); - if (!thisAsMap.containsKey$1(0, key)) - throw H.wrapException(P.ArgumentError$("`" + H.S(key) + "` is not a valid key for a " + H.getRuntimeType(_this).toString$0(0))); - t1 = thisAsMap.$index(0, key); - t1.toString; - return t1; + $signature() { + return this.V._eval$1("@<0>")._bind$1(this.K)._eval$1("1(2)"); } }; - S.HexColor.prototype = { - get$rHex: function() { - return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.r), 16), 2, "0"); - }, - get$gHex: function() { - return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.g), 16), 2, "0"); - }, - get$bHex: function() { - return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.b), 16), 2, "0"); - }, - toHexColor$0: function() { - return this; + A.BuiltMap_hashCode_closure.prototype = { + call$1(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(t1._map$_map.$index(0, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); }, - toString$0: function(_) { - return this.get$rHex() + this.get$gHex() + this.get$bHex(); + $signature() { + return this.$this.$ti._eval$1("int(1)"); } }; - S.RgbColor.prototype = { - toHexColor$0: function() { - return new S.HexColor(this.r, this.g, this.b); + A._BuiltMap.prototype = { + _BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V) { + var t1, t2, key, value; + for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map; t1.moveNext$0();) { + key = t1.get$current(t1); + if ($K._is(key)) { + value = lookup.call$1(key); + if ($V._is(value)) + t2.$indexSet(0, key, value); + else + throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value), null)); + } else + throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); + } }, - toString$0: function(_) { - return "r: " + H.S(this.r) + ", g: " + H.S(this.g) + ", b: " + H.S(this.b); + _BuiltMap$copyAndCheckForNull$2(keys, lookup, $K, $V) { + var t2, key, value, + t1 = !$.$get$isSoundMode(), + checkKeys = t1 && !$K._is(null), + checkValues = t1 && !$V._is(null); + for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map; t1.moveNext$0();) { + key = t1.get$current(t1); + if (checkKeys && key == null) + throw A.wrapException(A.ArgumentError$("map contained invalid key: null", null)); + value = lookup.call$1(key); + if (checkValues && value == null) + throw A.wrapException(A.ArgumentError$("map contained invalid value: null", null)); + t2.$indexSet(0, key, value); + } } }; - Z.Draggable.prototype = { - get$onDragStart: function(_) { - var t1, _this = this; - if (_this._onDragStart == null) - _this.set$_onDragStart(P.StreamController_StreamController$broadcast(new Z.Draggable_onDragStart_closure(_this), true, type$.DraggableEvent)); - t1 = _this._onDragStart; - t1.toString; - return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); - }, - get$onDrag: function(_) { - var t1, _this = this; - if (_this._onDrag == null) - _this.set$_onDrag(P.StreamController_StreamController$broadcast(new Z.Draggable_onDrag_closure(_this), true, type$.DraggableEvent)); - t1 = _this._onDrag; - t1.toString; - return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); - }, - get$onDragEnd: function(_) { - var t1, _this = this; - if (_this._onDragEnd == null) - _this.set$_onDragEnd(P.StreamController_StreamController$broadcast(new Z.Draggable_onDragEnd_closure(_this), true, type$.DraggableEvent)); - t1 = _this._onDragEnd; - t1.toString; - return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); - }, - get$_dnd$_elements: function() { - var t1 = this.__Draggable__elements; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_elements")) : t1; - }, - _handleDragEnd$3$cancelled: function($event, target, cancelled) { - var t2, _this = this, - t1 = $._currentDrag; - if (t1 != null && t1.started) { - if (!cancelled && target != null) - Z._DragEventDispatcher_dispatchDrop(_this, target); - t1 = _this._onDragEnd; - if (t1 != null) { - t2 = $._currentDrag; - t2.toString; - t1.add$1(0, Z.DraggableEvent$_($event, t2, cancelled)); - } - if ($event != null) - J.preventDefault$0$x($event); - if (type$.MouseEvent._is($event)) - _this._suppressClickEvent$1($._currentDrag.element); - J.get$classes$x($._currentDrag.element).remove$1(0, "dnd-dragging"); - document.body.classList.remove("dnd-drag-occurring"); + A.MapBuilder.prototype = { + build$0() { + var t1, t2, _this = this; + if (_this._mapOwner == null) { + t1 = _this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); + t2 = _this.$ti; + _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_BuiltMap<1,2>"))); } - _this._resetCurrentDrag$0(); + t1 = _this._mapOwner; + t1.toString; + return t1; }, - _handleDragEnd$2: function($event, target) { - return this._handleDragEnd$3$cancelled($event, target, false); + replace$1(_, map) { + var replacement, _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltMap<1,2>"); + if (t2._is(map) && true) { + t2._as(map); + _this.set$_mapOwner(map); + _this.set$__MapBuilder__map_A(t1._eval$1("Map<1,2>")._as(map._map$_map)); + } else if (map instanceof A.BuiltMap) { + replacement = _this._createMap$0(); + t2 = map.$ti._eval$1("~(1,2)")._as(new A.MapBuilder_replace_closure(_this, replacement)); + map._map$_map.forEach$1(0, t2); + t1._eval$1("Map<1,2>")._as(replacement); + _this.set$_mapOwner(null); + _this.set$__MapBuilder__map_A(replacement); + } else if (type$.Map_dynamic_dynamic._is(map)) { + replacement = _this._createMap$0(); + J.forEach$1$ax(map, new A.MapBuilder_replace_closure0(_this, replacement)); + t1._eval$1("Map<1,2>")._as(replacement); + _this.set$_mapOwner(null); + _this.set$__MapBuilder__map_A(replacement); + } else + throw A.wrapException(A.ArgumentError$("expected Map or BuiltMap, got " + J.get$runtimeType$(map).toString$0(0), null)); }, - _suppressClickEvent$1: function(element) { - var t1 = J.get$onClick$x(element), - t2 = t1.$ti, - t3 = t2._eval$1("~(1)?")._as(new Z.Draggable__suppressClickEvent_closure()); - type$.nullable_void_Function._as(null); - P.Future_Future(new Z.Draggable__suppressClickEvent_closure0(W._EventStreamSubscription$(t1._html$_target, t1._eventType, t3, false, t2._precomputed1)), type$.Null); + $index(_, key) { + var t1 = this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); + return t1.$index(0, key); }, - destroy$0: function() { - this._resetCurrentDrag$0(); - var t1 = this._eventManagers; - C.JSArray_methods.forEach$1(t1, new Z.Draggable_destroy_closure()); - C.JSArray_methods.set$length(t1, 0); + $indexSet(_, key, value) { + var _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + _this._checkKey$1(key); + _this._checkValue$1(value); + _this.get$_safeMap().$indexSet(0, key, value); }, - _resetCurrentDrag$0: function() { - C.JSArray_methods.forEach$1(this._eventManagers, new Z.Draggable__resetCurrentDrag_closure()); - Z._DragEventDispatcher_reset(); - $._currentDrag = null; + get$length(_) { + var t1 = this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); + return t1._length; }, - _clearTextSelections$0: function() { - var activeElement, exception, - t1 = window.getSelection(); - if (t1 != null) - t1.removeAllRanges(); - try { - activeElement = document.activeElement; - if (type$.TextAreaElement._is(activeElement)) - J.setSelectionRange$2$x(activeElement, 0, 0); - else if (type$.InputElement._is(activeElement)) - J.setSelectionRange$2$x(activeElement, 0, 0); - } catch (exception) { - H.unwrapException(exception); + get$_safeMap() { + var t1, t2, _this = this; + if (_this._mapOwner != null) { + t1 = _this._createMap$0(); + t2 = _this.__MapBuilder__map_A; + t2 === $ && A.throwLateFieldNI("_map"); + t1.addAll$1(0, t2); + _this.set$__MapBuilder__map_A(_this.$ti._eval$1("Map<1,2>")._as(t1)); + _this.set$_mapOwner(null); } + t1 = _this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); + return t1; }, - set$_onDragStart: function(_onDragStart) { - this._onDragStart = type$.nullable_StreamController_DraggableEvent._as(_onDragStart); + _createMap$0() { + var t1 = this.$ti; + return A.LinkedHashMap_LinkedHashMap$_empty(t1._precomputed1, t1._rest[1]); }, - set$_onDrag: function(_onDrag) { - this._onDrag = type$.nullable_StreamController_DraggableEvent._as(_onDrag); + _checkKey$1(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (key == null) + throw A.wrapException(A.ArgumentError$("null key", null)); }, - set$_onDragEnd: function(_onDragEnd) { - this._onDragEnd = type$.nullable_StreamController_DraggableEvent._as(_onDragEnd); + _checkValue$1(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (value == null) + throw A.wrapException(A.ArgumentError$("null value", null)); }, - set$__Draggable__elements: function(__Draggable__elements) { - this.__Draggable__elements = type$.nullable_List_Element._as(__Draggable__elements); + set$__MapBuilder__map_A(__MapBuilder__map_A) { + this.__MapBuilder__map_A = this.$ti._eval$1("Map<1,2>")._as(__MapBuilder__map_A); + }, + set$_mapOwner(_mapOwner) { + this._mapOwner = this.$ti._eval$1("_BuiltMap<1,2>?")._as(_mapOwner); } }; - Z.Draggable_onDragStart_closure.prototype = { - call$0: function() { - this.$this.set$_onDragStart(null); - return null; + A.MapBuilder_replace_closure.prototype = { + call$2(key, value) { + var t1 = this.$this.$ti; + this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - $signature: 0 + $signature: 42 }; - Z.Draggable_onDrag_closure.prototype = { - call$0: function() { - this.$this.set$_onDrag(null); - return null; + A.MapBuilder_replace_closure0.prototype = { + call$2(key, value) { + var t1 = this.$this.$ti; + this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - $signature: 0 + $signature: 42 }; - Z.Draggable_onDragEnd_closure.prototype = { - call$0: function() { - this.$this.set$_onDragEnd(null); - return null; + A.BuiltSet.prototype = { + rebuild$1(updates) { + var t1 = this.$ti; + t1._eval$1("@(SetBuilder<1>)")._as(updates); + t1._eval$1("_BuiltSet<1>")._as(this); + t1 = new A.SetBuilder(this._setFactory, this._set, this, t1._eval$1("SetBuilder<1>")); + updates.call$1(t1); + return t1.build$0(); }, - $signature: 0 - }; - Z.Draggable__suppressClickEvent_closure.prototype = { - call$1: function($event) { - type$.MouseEvent._as($event); - $event.stopPropagation(); - $event.preventDefault(); + get$hashCode(_) { + var t2, t3, _this = this, + t1 = _this._set$_hashCode; + if (t1 == null) { + t1 = _this._set; + t2 = A._instanceType(t1); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + t3 = A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("int(SetMixin.E)")._as(new A.BuiltSet_hashCode_closure(_this)), t3), false, t3._eval$1("Iterable.E")); + B.JSArray_methods.sort$0(t3); + t3 = _this._set$_hashCode = A.hashObjects(t3); + t1 = t3; + } + return t1; }, - $signature: 77 - }; - Z.Draggable__suppressClickEvent_closure0.prototype = { - call$0: function() { - this.clickPreventer.cancel$0(0); + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.BuiltSet)) + return false; + t1 = other._set; + t2 = _this._set; + if (t1.get$length(t1) !== t2.get$length(t2)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + return t2.containsAll$1(other); }, - $signature: 12 - }; - Z.Draggable_destroy_closure.prototype = { - call$1: function(m) { - return type$._EventManager._as(m).destroy$0(); + toString$0(_) { + return A.IterableBase_iterableToFullString(this._set, "{", "}"); }, - $signature: 161 - }; - Z.Draggable__resetCurrentDrag_closure.prototype = { - call$1: function(m) { - return type$._EventManager._as(m).reset$0(0); + get$length(_) { + var t1 = this._set; + return t1.get$length(t1); }, - $signature: 161 - }; - Z.DraggableEvent.prototype = {}; - Z._DragInfo.prototype = { - get$_dnd$_position: function(_) { - var t1 = this.___DragInfo__position; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_position")) : t1; + union$1(other) { + var t1 = this.$ti; + return new A._BuiltSet(this._setFactory, this._set.union$1(t1._eval$1("BuiltSet<1>")._as(other)._set), t1._eval$1("_BuiltSet<1>")); }, - _constrainAxis$1: function(pos) { - type$.Point_num._as(pos); - return pos; + get$iterator(_) { + var t1 = this._set; + return t1.get$iterator(t1); }, - set$___DragInfo__position: function(___DragInfo__position) { - this.___DragInfo__position = type$.nullable_Point_num._as(___DragInfo__position); - } - }; - Z._EventManager.prototype = { - _EventManager$1: function(drg) { - this.installStart$0(); - J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._EventManager_closure()); + cast$1$0(_, $T) { + return A.CastIterable_CastIterable(this._set, this.$ti._precomputed1, $T); }, - installEscAndBlur$0: function() { - var t1 = this.dragSubs, - t2 = window, - t3 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new Z._EventManager_installEscAndBlur_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(t1, W._EventStreamSubscription$(t2, "keydown", t3, false, type$.legacy_KeyboardEvent)); - C.JSArray_methods.add$1(t1, W._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new Z._EventManager_installEscAndBlur_closure0(this)), false, type$.legacy_Event)); + map$1$1(_, f, $T) { + var t1 = this._set, + t2 = A._instanceType(t1); + return new A.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetMixin.E)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - handleStart$2: function($event, position) { - var t2, _this = this, - t1 = type$.Point_num; - t1._as(position); - t2 = new Z._DragInfo(type$.Element._as(W._convertNativeToDart_EventTarget($event.currentTarget)), position, null, false, false); - t2.set$___DragInfo__position(t1._as(position)); - $._currentDrag = t2; - _this.installMove$0(); - _this.installEnd$0(); - _this.installCancel$0(); - _this.installEscAndBlur$0(); + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - handleMove$3: function($event, position, clientPosition) { - var t2, t3, t4, dx, dy, realTarget, - t1 = type$.Point_num; - t1._as(position); - t1._as(clientPosition); - t2 = $._currentDrag; - t2.set$___DragInfo__position(t1._as(t2._constrainAxis$1(position))); - t1 = $._currentDrag; - if (!t1.started) { - t2 = t1.startPosition; - t1 = t2.$ti._as(t1.get$_dnd$_position(t1)); - t3 = t2.x; - t4 = t1.x; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - dx = t3 - t4; - t2 = t2.y; - t1 = t1.y; - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t1 !== "number") - return H.iae(t1); - dy = t2 - t1; - if (Math.sqrt(dx * dx + dy * dy) >= 4) { - t1 = this.drg; - t2 = $._currentDrag; - t2.started = true; - t3 = t1._onDragStart; - if (t3 != null) - t3.add$1(0, Z.DraggableEvent$_($event, t2, false)); - J.get$classes$x($._currentDrag.element).add$1(0, "dnd-dragging"); - document.body.classList.add("dnd-drag-occurring"); - t1._clearTextSelections$0(); - } - } else { - realTarget = this._getRealTarget$1(clientPosition); - t1 = this.drg; - Z._DragEventDispatcher_dispatchEnterOverLeave(t1, realTarget); - t1 = t1._onDrag; - if (t1 != null) { - t2 = $._currentDrag; - t2.toString; - t1.add$1(0, Z.DraggableEvent$_($event, t2, false)); - } - } + contains$1(_, element) { + return this._set.contains$1(0, element); }, - handleEnd$4: function($event, target, position, clientPosition) { - var t2, - t1 = type$.nullable_Point_num; - t1._as(position); - t1._as(clientPosition); - if (position != null && $._currentDrag != null) { - t1 = $._currentDrag; - t1.toString; - t2 = type$.Point_num; - t1.set$___DragInfo__position(t2._as(t1._constrainAxis$1(t2._as(position)))); - } - if (clientPosition != null) - this.drg._handleDragEnd$2($event, this._getRealTarget$2$target(clientPosition, target)); + forEach$1(_, f) { + return this._set.forEach$1(0, this.$ti._eval$1("~(1)")._as(f)); }, - reset$0: function(_) { - var t1 = this.dragSubs; - C.JSArray_methods.forEach$1(t1, new Z._EventManager_reset_closure()); - C.JSArray_methods.set$length(t1, 0); + toList$1$growable(_, growable) { + var t1 = this._set; + return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetMixin.E")); }, - destroy$0: function() { - this.reset$0(0); - var t1 = this.startSubs; - C.JSArray_methods.forEach$1(t1, new Z._EventManager_destroy_closure()); - C.JSArray_methods.set$length(t1, 0); - J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._EventManager_destroy_closure0()); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - _getRealTargetFromPoint$1: function(clientPosition) { - var t1, t2; - type$.Point_num._as(clientPosition); - t1 = document; - t2 = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); - if (t2 == null) { - t1 = t1.body; - t1.toString; - } else - t1 = t2; - return t1; + get$isEmpty(_) { + var t1 = this._set; + return t1.get$isEmpty(t1); }, - _getRealTarget$2$target: function(clientPosition, target) { - type$.Point_num._as(clientPosition); - if (target == null || !type$.Element._is(target)) - target = this._getRealTargetFromPoint$1(clientPosition); - return this._recursiveShadowDomTarget$2(clientPosition, target); + get$isNotEmpty(_) { + var t1 = this._set; + return t1.get$isNotEmpty(t1); }, - _getRealTarget$1: function(clientPosition) { - return this._getRealTarget$2$target(clientPosition, null); + take$1(_, n) { + var t1 = this._set; + return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); }, - _recursiveShadowDomTarget$2: function(clientPosition, target) { - var t1, newTarget; - type$.Point_num._as(clientPosition); - if (type$.Element._is(target)) - if ((target.shadowRoot || target.webkitShadowRoot) != null) - t1 = H.boolConversionCheck(target.hasAttribute("dnd-retarget")); - else - t1 = false; - else - t1 = false; - if (t1) { - t1 = target.shadowRoot || target.webkitShadowRoot; - t1.toString; - newTarget = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); - if (newTarget != null) - target = this._recursiveShadowDomTarget$2(clientPosition, newTarget); - } - return target; + skip$1(_, n) { + var t1 = this._set; + return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); }, - _isValidDragStartTarget$1: function(target) { - if (type$.Element._is(target) && J.matchesWithAncestors$1$x(target, "input, textarea, button, select, option")) - return false; - return true; - } - }; - Z._EventManager_closure.prototype = { - call$1: function(el) { - var t1 = type$.Element._as(el).style; - t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "none", ""); - return "none"; + get$first(_) { + var t1 = this._set; + return t1.get$first(t1); }, - $signature: 59 - }; - Z._EventManager_installEscAndBlur_closure.prototype = { - call$1: function(keyboardEvent) { - type$.KeyboardEvent._as(keyboardEvent); - if (J.get$keyCode$x(keyboardEvent) === 27) - this.$this.drg._handleDragEnd$3$cancelled(keyboardEvent, null, true); + get$last(_) { + var t1 = this._set; + return t1.get$last(t1); }, - $signature: 258 - }; - Z._EventManager_installEscAndBlur_closure0.prototype = { - call$1: function($event) { - this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + get$single(_) { + var t1 = this._set; + return t1.get$single(t1); }, - $signature: 42 - }; - Z._EventManager_reset_closure.prototype = { - call$1: function(sub) { - return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); + elementAt$1(_, index) { + return this._set.elementAt$1(0, index); }, - $signature: 159 + $isIterable: 1, + $isBuiltIterable: 1 }; - Z._EventManager_destroy_closure.prototype = { - call$1: function(sub) { - return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); + A.BuiltSet_hashCode_closure.prototype = { + call$1(e) { + return J.get$hashCode$(this.$this.$ti._precomputed1._as(e)); }, - $signature: 159 + $signature() { + return this.$this.$ti._eval$1("int(1)"); + } }; - Z._EventManager_destroy_closure0.prototype = { - call$1: function(el) { - var t1 = type$.Element._as(el).style; + A._BuiltSet.prototype = { + _set$_maybeCheckForNull$0() { + if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) + return; + for (var t1 = this._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + if (t1.get$current(t1) == null) + throw A.wrapException(A.ArgumentError$("iterable contained invalid element: null", null)); + } + }; + A.SetBuilder.prototype = { + build$0() { + var t1, _this = this; + if (_this._setOwner == null) { + t1 = _this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); + _this.set$_setOwner(new A._BuiltSet(_this._setFactory, t1, _this.$ti._eval$1("_BuiltSet<1>"))); + } + t1 = _this._setOwner; t1.toString; - C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "", ""); - return ""; + return t1; }, - $signature: 59 - }; - Z._TouchManager.prototype = { - installStart$0: function() { - J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._TouchManager_installStart_closure(this)); + replace$1(_, iterable) { + var set, t3, element, _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltSet<1>"); + if (t2._is(iterable) && true) { + t2._as(iterable); + _this.set$__SetBuilder__set_A(t1._eval$1("Set<1>")._as(iterable._set)); + _this.set$_setOwner(iterable); + } else { + set = _this._createSet$0(); + for (t2 = J.get$iterator$ax(iterable), t3 = t1._precomputed1; t2.moveNext$0();) { + element = t2.get$current(t2); + if (t3._is(element)) + set.add$1(0, element); + else + throw A.wrapException(A.ArgumentError$("iterable contained invalid element: " + A.S(element), null)); + } + t1._eval$1("Set<1>")._as(set); + _this.set$_setOwner(null); + _this.set$__SetBuilder__set_A(set); + } }, - installMove$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installMove_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchmove", t2, false, type$.legacy_TouchEvent)); + get$length(_) { + var t1 = this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); + return t1.get$length(t1); }, - installEnd$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installEnd_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchend", t2, false, type$.legacy_TouchEvent)); + add$1(_, value) { + var t1 = this.$ti._precomputed1; + t1._as(value); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", null)); + return this.get$_safeSet().add$1(0, value); }, - installCancel$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installCancel_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchcancel", t2, false, type$.legacy_TouchEvent)); + addAll$1(_, iterable) { + var t1 = this.$ti; + iterable = A.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); + this._maybeCheckElements$1(iterable); + this.get$_safeSet().addAll$1(0, iterable); }, - isScrolling$1: function(currentPosition) { - type$.Point_num._as(currentPosition).$sub(0, $._currentDrag.startPosition); - return false; - } - }; - Z._TouchManager_installStart_closure.prototype = { - call$1: function(el) { - var t1 = this.$this, - t2 = J.get$onTouchStart$x(type$.Element._as(el)), - t3 = t2.$ti, - t4 = t3._eval$1("~(1)?")._as(new Z._TouchManager_installStart__closure(t1)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + map$1(_, f) { + var result, t2, t3, t4, _this = this, + t1 = _this.$ti; + t1._eval$1("1(1)")._as(f); + result = _this._createSet$0(); + t2 = _this.__SetBuilder__set_A; + t2 === $ && A.throwLateFieldNI("_set"); + t3 = t1._precomputed1; + t4 = A._instanceType(t2); + result.addAll$1(0, new A.EfficientLengthMappedIterable(t2, t4._bind$1(t3)._eval$1("1(SetMixin.E)")._as(f), t4._eval$1("@")._bind$1(t3)._eval$1("EfficientLengthMappedIterable<1,2>"))); + _this._maybeCheckElements$1(result); + t1._eval$1("Set<1>")._as(result); + _this.set$_setOwner(null); + _this.set$__SetBuilder__set_A(result); }, - $signature: 59 - }; - Z._TouchManager_installStart__closure.prototype = { - call$1: function($event) { - var t1, t2; - type$.TouchEvent._as($event); - if ($._currentDrag != null) - return; - t1 = $event.touches; - t2 = t1 != null; - if (t2 && t1.length > 1) - return; - if (t2) { - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = W._convertNativeToDart_EventTarget(t1[0].target); - t1.toString; - t1 = !this.$this._isValidDragStartTarget$1(t1); - } else - t1 = false; - if (t1) - return; - t1 = $event.touches; - if (t1 != null) { - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0]; - this.$this.handleStart$2($event, new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); + get$_safeSet() { + var t1, t2, _this = this; + if (_this._setOwner != null) { + t1 = _this._createSet$0(); + t2 = _this.__SetBuilder__set_A; + t2 === $ && A.throwLateFieldNI("_set"); + t1.addAll$1(0, t2); + _this.set$__SetBuilder__set_A(_this.$ti._eval$1("Set<1>")._as(t1)); + _this.set$_setOwner(null); } + t1 = _this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); + return t1; }, - $signature: 72 - }; - Z._TouchManager_installMove_closure.prototype = { - call$1: function($event) { - var t1, t2, _this = this; - type$.TouchEvent._as($event); - t1 = $event.touches; - if (t1 != null && t1.length > 1) { - _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + _createSet$0() { + return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); + }, + _maybeCheckElements$1(elements) { + var t2, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(elements); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) return; - } - t1 = $event.changedTouches; - if (t1 != null) { - if (!$._currentDrag.started) { - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0]; - t1 = _this.$this.isScrolling$1(new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); - } else - t1 = false; - if (t1) { - _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); - return; - } - t1 = $event.changedTouches; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0]; - t2 = type$.Point_num; - _this.$this.handleMove$3($event, new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), t2), new P.Point(C.JSNumber_methods.round$0(t1.clientX), C.JSNumber_methods.round$0(t1.clientY), t2)); - } - $event.preventDefault(); + for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) + if (t1._as(t2.get$current(t2)) == null) + A.throwExpression(A.ArgumentError$("null element", null)); }, - $signature: 72 + set$__SetBuilder__set_A(__SetBuilder__set_A) { + this.__SetBuilder__set_A = this.$ti._eval$1("Set<1>")._as(__SetBuilder__set_A); + }, + set$_setOwner(_setOwner) { + this._setOwner = this.$ti._eval$1("_BuiltSet<1>?")._as(_setOwner); + } }; - Z._TouchManager_installEnd_closure.prototype = { - call$1: function($event) { - var t1, t2, t3; - type$.TouchEvent._as($event); - t1 = $event.changedTouches; - t2 = t1 == null; - if (t2) - t3 = null; - else { - if (0 >= t1.length) - return H.ioore(t1, 0); - t3 = t1[0]; - t3 = new P.Point(C.JSNumber_methods.round$0(t3.pageX), C.JSNumber_methods.round$0(t3.pageY), type$.Point_num); + A.BuiltSetMultimap.prototype = { + get$hashCode(_) { + var t2, _this = this, + t1 = _this._set_multimap$_hashCode; + if (t1 == null) { + t1 = _this._set_multimap$_map; + t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); + t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), t2._eval$1("int(Iterable.E)")._as(new A.BuiltSetMultimap_hashCode_closure(_this)), t2._eval$1("Iterable.E"), type$.int); + t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); + B.JSArray_methods.sort$0(t2); + t2 = _this._set_multimap$_hashCode = A.hashObjects(t2); + t1 = t2; } - if (t2) - t1 = null; - else { - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0]; - t1 = new P.Point(C.JSNumber_methods.round$0(t1.clientX), C.JSNumber_methods.round$0(t1.clientY), type$.Point_num); + return t1; + }, + $eq(_, other) { + var t1, t2, t3, t4, t5, key, result, t6, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.BuiltSetMultimap)) + return false; + t1 = other._set_multimap$_map; + t2 = _this._set_multimap$_map; + if (t1._length !== t2._length) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = other._emptySet, t5 = _this._emptySet; t3.moveNext$0();) { + key = t3.__js_helper$_current; + result = t1.$index(0, key); + t6 = result == null ? t4 : result; + result = t2.$index(0, key); + if (!t6.$eq(0, result == null ? t5 : result)) + return false; } - this.$this.handleEnd$4($event, null, t3, t1); + return true; }, - $signature: 72 - }; - Z._TouchManager_installCancel_closure.prototype = { - call$1: function($event) { - this.$this.drg._handleDragEnd$3$cancelled(type$.TouchEvent._as($event), null, true); + toString$0(_) { + return A.MapBase_mapToString(this._set_multimap$_map); }, - $signature: 72 - }; - Z._MouseManager.prototype = { - installStart$0: function() { - J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._MouseManager_installStart_closure(this)); + $index(_, key) { + var result = this._set_multimap$_map.$index(0, key); + return result == null ? this._emptySet : result; }, - installMove$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new Z._MouseManager_installMove_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "mousemove", t2, false, type$.legacy_MouseEvent)); + containsKey$1(_, key) { + return this._set_multimap$_map.containsKey$1(0, key); }, - installEnd$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new Z._MouseManager_installEnd_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "mouseup", t2, false, type$.legacy_MouseEvent)); + get$keys(_) { + var t1, _this = this; + if (_this._set_multimap$_keys == null) { + t1 = _this._set_multimap$_map; + _this.set$_set_multimap$_keys(new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t1 = _this._set_multimap$_keys; + t1.toString; + return t1; + }, + get$length(_) { + return this._set_multimap$_map._length; }, - installCancel$0: function() { + set$_set_multimap$_keys(_keys) { + this._set_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); } }; - Z._MouseManager_installStart_closure.prototype = { - call$1: function(el) { - var t1 = this.$this, - t2 = J.get$onMouseDown$x(type$.Element._as(el)), - t3 = t2.$ti, - t4 = t3._eval$1("~(1)?")._as(new Z._MouseManager_installStart__closure(t1)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + A.BuiltSetMultimap_hashCode_closure.prototype = { + call$1(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(t1._set_multimap$_map.$index(0, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); }, - $signature: 59 + $signature() { + return this.$this.$ti._eval$1("int(1)"); + } }; - Z._MouseManager_installStart__closure.prototype = { - call$1: function($event) { - var t1, target, t2; - type$.MouseEvent._as($event); - if ($._currentDrag != null) + A._BuiltSetMultimap.prototype = {}; + A.SetMultimapBuilder.prototype = { + build$0() { + var t1, key, t2, t3, t4, builtSet, _this = this, + _s9_ = "_builtMap"; + if (_this._builtMapOwner == null) { + t1 = _this.__SetMultimapBuilder__builderMap_A; + t1 === $ && A.throwLateFieldNI("_builderMap"); + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + for (; t1.moveNext$0();) { + key = t1.__js_helper$_current; + t2 = _this.__SetMultimapBuilder__builderMap_A.$index(0, key); + if (t2._setOwner == null) { + t3 = t2._setFactory; + t4 = t2.__SetBuilder__set_A; + t4 === $ && A.throwLateFieldNI("_set"); + t2.set$_setOwner(new A._BuiltSet(t3, t4, A._instanceType(t2)._eval$1("_BuiltSet<1>"))); + } + builtSet = t2._setOwner; + t2 = builtSet._set; + t2 = t2.get$isEmpty(t2); + t3 = _this.__SetMultimapBuilder__builtMap_A; + if (t2) { + t3 === $ && A.throwLateFieldNI(_s9_); + t3.remove$1(0, key); + } else { + t3 === $ && A.throwLateFieldNI(_s9_); + t3.$indexSet(0, key, builtSet); + } + } + t1 = _this.__SetMultimapBuilder__builtMap_A; + t1 === $ && A.throwLateFieldNI(_s9_); + t2 = _this.$ti; + t3 = t2._rest[1]; + _this.set$_builtMapOwner(new A._BuiltSetMultimap(t1, A.BuiltSet_BuiltSet$from(B.List_empty, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltSetMultimap<1,2>"))); + } + t1 = _this._builtMapOwner; + t1.toString; + return t1; + }, + replace$1(_, multimap) { + this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.SetMultimapBuilder_replace_closure(multimap)); + }, + _getValuesBuilder$1(key) { + var t2, result, builtValues, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + t2 = _this.__SetMultimapBuilder__builderMap_A; + t2 === $ && A.throwLateFieldNI("_builderMap"); + result = t2.$index(0, key); + if (result == null) { + t2 = _this.__SetMultimapBuilder__builtMap_A; + t2 === $ && A.throwLateFieldNI("_builtMap"); + builtValues = t2.$index(0, key); + if (builtValues == null) + result = A.SetBuilder_SetBuilder(B.List_empty, t1._rest[1]); + else { + t1 = builtValues.$ti; + t1._eval$1("_BuiltSet<1>")._as(builtValues); + result = new A.SetBuilder(builtValues._setFactory, builtValues._set, builtValues, t1._eval$1("SetBuilder<1>")); + } + _this.__SetMultimapBuilder__builderMap_A.$indexSet(0, key, result); + } + return result; + }, + _setWithCopyAndCheck$2(keys, lookup) { + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, _this = this, _null = null; + _this.set$_builtMapOwner(_null); + t1 = _this.$ti; + t2 = t1._precomputed1; + t3 = t1._eval$1("BuiltSet<2>"); + t4 = t1._eval$1("Map<1,BuiltSet<2>>"); + _this.set$__SetMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__SetMultimapBuilder__builderMap_A(t1._eval$1("Map<1,SetBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")))); + for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { + key = t5.get$current(t5); + if (t2._is(key)) + for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { + value = t7.get$current(t7); + if (t1._is(value)) { + t2._as(key); + t1._as(value); + if (_this._builtMapOwner != null) { + t8 = _this.__SetMultimapBuilder__builtMap_A; + t8 === $ && A.throwLateFieldNI("_builtMap"); + _this.set$__SetMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + _this.set$_builtMapOwner(_null); + } + _this._set_multimap$_checkKey$1(key); + _this._set_multimap$_checkValue$1(value); + t8 = _this._getValuesBuilder$1(key); + t9 = t8.$ti._precomputed1; + t9._as(value); + if (!$.$get$isSoundMode() && !t9._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", _null)); + t8.get$_safeSet().add$1(0, value); + } else + throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), _null)); + } + else + throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), _null)); + } + }, + _set_multimap$_checkKey$1(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) return; - if ($event.button !== 0) + if (t1._is(null)) return; - t1 = $event.target; - if (W._convertNativeToDart_EventTarget(t1) != null) { - t1 = W._convertNativeToDart_EventTarget(t1); - t1.toString; - t1 = !this.$this._isValidDragStartTarget$1(t1); - } else - t1 = false; - if (t1) + if (key == null) + throw A.wrapException(A.ArgumentError$("invalid key: " + A.S(key), null)); + }, + _set_multimap$_checkValue$1(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) return; - target = W._convertNativeToDart_EventTarget($event.target); - if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) - $event.preventDefault(); - t1 = $event.pageX; - t1.toString; - t2 = $event.pageY; - t2.toString; - this.$this.handleStart$2($event, new P.Point(t1, t2, type$.Point_num)); + if (t1._is(null)) + return; + if (value == null) + throw A.wrapException(A.ArgumentError$("invalid value: " + A.S(value), null)); }, - $signature: 77 - }; - Z._MouseManager_installMove_closure.prototype = { - call$1: function($event) { - var t1, t2, t3; - type$.MouseEvent._as($event); - t1 = $event.pageX; - t1.toString; - t2 = $event.pageY; - t2.toString; - t3 = type$.Point_num; - this.$this.handleMove$3($event, new P.Point(t1, t2, t3), new P.Point($event.clientX, $event.clientY, t3)); + set$__SetMultimapBuilder__builtMap_A(__SetMultimapBuilder__builtMap_A) { + this.__SetMultimapBuilder__builtMap_A = this.$ti._eval$1("Map<1,BuiltSet<2>>")._as(__SetMultimapBuilder__builtMap_A); }, - $signature: 77 - }; - Z._MouseManager_installEnd_closure.prototype = { - call$1: function($event) { - var t1, t2, t3, t4; - type$.MouseEvent._as($event); - t1 = W._convertNativeToDart_EventTarget($event.target); - t2 = $event.pageX; - t2.toString; - t3 = $event.pageY; - t3.toString; - t4 = type$.Point_num; - this.$this.handleEnd$4($event, t1, new P.Point(t2, t3, t4), new P.Point($event.clientX, $event.clientY, t4)); + set$_builtMapOwner(_builtMapOwner) { + this._builtMapOwner = this.$ti._eval$1("_BuiltSetMultimap<1,2>?")._as(_builtMapOwner); }, - $signature: 77 + set$__SetMultimapBuilder__builderMap_A(__SetMultimapBuilder__builderMap_A) { + this.__SetMultimapBuilder__builderMap_A = this.$ti._eval$1("Map<1,SetBuilder<2>>")._as(__SetMultimapBuilder__builderMap_A); + } }; - Z._PointerManager.prototype = { - installStart$0: function() { - J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._PointerManager_installStart_closure(this)); - }, - installMove$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installMove_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointermove", t2, false, type$.Event)); - }, - installEnd$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installEnd_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointerup", t2, false, type$.Event)); + A.SetMultimapBuilder_replace_closure.prototype = { + call$1(k) { + return this.multimap.$index(0, k); }, - installCancel$0: function() { - var t1 = document, - t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installCancel_closure(this)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointercancel", t2, false, type$.Event)); + $signature: 12 + }; + A.EnumClass.prototype = { + toString$0(_) { + return this.name; } }; - Z._PointerManager_installStart_closure.prototype = { - call$1: function(el) { - var t1, t2, t3, t4; - type$.Element._as(el); - t1 = this.$this; - el.toString; - t2 = new W.ElementEvents(el).$index(0, "pointerdown"); - t3 = t2.$ti; - t4 = t3._eval$1("~(1)?")._as(new Z._PointerManager_installStart__closure(t1)); - type$.nullable_void_Function._as(null); - C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + A.newBuiltValueToStringHelper_closure.prototype = { + call$1(className) { + var t1 = new A.StringBuffer(""), + t2 = A.S(A._asStringS(className)); + t1._contents = t2; + t1._contents = t2 + " {\n"; + $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; + return new A.IndentingBuiltValueToStringHelper(t1); }, - $signature: 59 + $signature: 213 }; - Z._PointerManager_installStart__closure.prototype = { - call$1: function(e) { - var t1, target, t2; - type$.PointerEvent._as(e); - if ($._currentDrag != null) - return; - if (e.button !== 0) - return; - t1 = e.target; - if (W._convertNativeToDart_EventTarget(t1) != null) { - t1 = W._convertNativeToDart_EventTarget(t1); + A.IndentingBuiltValueToStringHelper.prototype = { + add$2(_, field, value) { + var t1, t2; + if (value != null) { + t1 = this._result; t1.toString; - t1 = !this.$this._isValidDragStartTarget$1(t1); - } else - t1 = false; - if (t1) - return; - target = W._convertNativeToDart_EventTarget(e.target); - if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) - e.preventDefault(); - t1 = e.pageX; - t1.toString; - t2 = e.pageY; - t2.toString; - this.$this.handleStart$2(e, new P.Point(t1, t2, type$.Point_num)); + t2 = t1._contents += B.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); + t2 += field; + t1._contents = t2; + t1._contents = t2 + "="; + t2 = t1._contents += A.S(value); + t1._contents = t2 + ",\n"; + } }, - $signature: 42 - }; - Z._PointerManager_installMove_closure.prototype = { - call$1: function(e) { - var t1, t2, t3; - type$.PointerEvent._as(e); - t1 = e.pageX; - t1.toString; - t2 = e.pageY; + toString$0(_) { + var t2, stringResult, + t1 = $._indentingBuiltValueToStringHelperIndent - 2; + $._indentingBuiltValueToStringHelperIndent = t1; + t2 = this._result; t2.toString; - t3 = type$.Point_num; - this.$this.handleMove$3(e, new P.Point(t1, t2, t3), new P.Point(e.clientX, e.clientY, t3)); - }, - $signature: 42 + t1 = t2._contents += B.JSString_methods.$mul(" ", t1); + t2._contents = t1 + "}"; + stringResult = J.toString$0$(this._result); + this._result = null; + return stringResult; + } }; - Z._PointerManager_installEnd_closure.prototype = { - call$1: function(e) { - var t1, t2, t3; - type$.PointerEvent._as(e); - t1 = e.pageX; - t1.toString; - t2 = e.pageY; - t2.toString; - t3 = type$.Point_num; - this.$this.handleEnd$4(e, null, new P.Point(t1, t2, t3), new P.Point(e.clientX, e.clientY, t3)); - }, - $signature: 42 + A.BuiltValueNullFieldError.prototype = { + toString$0(_) { + var t1 = this.field; + return 'Tried to construct class "' + this.type + '" with null field "' + t1 + '". This is forbidden; to allow it, mark "' + t1 + '" with @nullable.'; + } }; - Z._PointerManager_installCancel_closure.prototype = { - call$1: function($event) { - this.$this.drg._handleDragEnd$3$cancelled($event, null, true); - }, - $signature: 42 + A.BuiltValueNestedFieldError.prototype = { + toString$0(_) { + return 'Tried to build class "' + this.type + '" but nested builder for field "' + A.S(this.field) + '" threw: ' + A.S(this.error); + } + }; + A.JsonObject.prototype = { + toString$0(_) { + return J.toString$0$(this.get$value(this)); + } }; - V.Int32.prototype = { - _toInt$1: function(val) { - if (val instanceof V.Int32) - return val._i; - else if (H._isInt(val)) - return val; - throw H.wrapException(P.ArgumentError$(val)); + A.BoolJsonObject.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.BoolJsonObject)) + return false; + return this.value === other.value; }, - $sub: function(_, other) { - var t1; - if (other instanceof V.Int64) - return V.Int64_Int64(this._i).$sub(0, other); - t1 = this._i - this._toInt$1(other); - return new V.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); + get$hashCode(_) { + return B.JSBool_methods.get$hashCode(this.value); }, - $eq: function(_, other) { + get$value(receiver) { + return this.value; + } + }; + A.ListJsonObject.prototype = { + $eq(_, other) { if (other == null) return false; - if (other instanceof V.Int32) - return this._i === other._i; - else if (other instanceof V.Int64) - return V.Int64_Int64(this._i).$eq(0, other); - else if (H._isInt(other)) - return this._i === other; - return false; + if (other === this) + return true; + if (!(other instanceof A.ListJsonObject)) + return false; + return B.C_DeepCollectionEquality.equals$2(this.value, other.value); }, - compareTo$1: function(_, other) { - if (other instanceof V.Int64) - return V.Int64_Int64(this._i)._compareTo$1(other); - return C.JSInt_methods.compareTo$1(this._i, this._toInt$1(other)); + get$hashCode(_) { + return B.C_DeepCollectionEquality.hash$1(0, this.value); }, - get$hashCode: function(_) { - return this._i; + get$value(receiver) { + return this.value; + } + }; + A.MapJsonObject.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.MapJsonObject)) + return false; + return B.C_DeepCollectionEquality.equals$2(this.value, other.value); }, - toString$0: function(_) { - return C.JSInt_methods.toString$0(this._i); + get$hashCode(_) { + return B.C_DeepCollectionEquality.hash$1(0, this.value); }, - $isComparable: 1 + get$value(receiver) { + return this.value; + } }; - V.Int64.prototype = { - $sub: function(_, other) { - var o = V.Int64__promote(other); - return V.Int64__sub(this._l, this._m, this._fixnum$_h, o._l, o._m, o._fixnum$_h); - }, - $eq: function(_, other) { - var o, _this = this; + A.NumJsonObject.prototype = { + $eq(_, other) { if (other == null) return false; - if (other instanceof V.Int64) - o = other; - else if (H._isInt(other)) { - if (_this._fixnum$_h === 0 && _this._m === 0) - return _this._l === other; - if ((other & 4194303) === other) - return false; - o = V.Int64_Int64(other); - } else - o = other instanceof V.Int32 ? V.Int64_Int64(other._i) : null; - if (o != null) - return _this._l === o._l && _this._m === o._m && _this._fixnum$_h === o._fixnum$_h; - return false; + if (other === this) + return true; + if (!(other instanceof A.NumJsonObject)) + return false; + return this.value === other.value; }, - compareTo$1: function(_, other) { - return this._compareTo$1(other); + get$hashCode(_) { + return B.JSNumber_methods.get$hashCode(this.value); }, - _compareTo$1: function(other) { - var o = V.Int64__promote(other), - t1 = this._fixnum$_h, - signa = t1 >>> 19, - t2 = o._fixnum$_h; - if (signa !== t2 >>> 19) - return signa === 0 ? 1 : -1; - if (t1 > t2) - return 1; - else if (t1 < t2) - return -1; - t1 = this._m; - t2 = o._m; - if (t1 > t2) - return 1; - else if (t1 < t2) - return -1; - t1 = this._l; - t2 = o._l; - if (t1 > t2) - return 1; - else if (t1 < t2) - return -1; - return 0; + get$value(receiver) { + return this.value; + } + }; + A.StringJsonObject.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.StringJsonObject)) + return false; + return this.value === other.value; }, - get$hashCode: function(_) { - var t1 = this._m; - return (((t1 & 1023) << 22 | this._l) ^ (this._fixnum$_h << 12 | t1 >>> 10 & 4095)) >>> 0; + get$hashCode(_) { + return B.JSString_methods.get$hashCode(this.value); }, - toString$0: function(_) { - var d00, d10, sign, - d0 = this._l, - d1 = this._m, - d2 = this._fixnum$_h; - if ((d2 & 524288) !== 0) { - d0 = 0 - d0; - d00 = d0 & 4194303; - d1 = 0 - d1 - (C.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); - d10 = d1 & 4194303; - d2 = 0 - d2 - (C.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; - d1 = d10; - d0 = d00; - sign = "-"; - } else - sign = ""; - return V.Int64__toRadixStringUnsigned(10, d0, d1, d2, sign); + get$value(receiver) { + return this.value; + } + }; + A.Serializers_Serializers_closure.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Object); }, - _toRadixString$1: function(radix) { - var d00, d10, sign, - d0 = this._l, - d1 = this._m, - d2 = this._fixnum$_h; - if ((d2 & 524288) !== 0) { - d0 = 0 - d0; - d00 = d0 & 4194303; - d1 = 0 - d1 - (C.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); - d10 = d1 & 4194303; - d2 = 0 - d2 - (C.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; - d1 = d10; - d0 = d00; - sign = "-"; - } else - sign = ""; - return V.Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign); + $signature: 214 + }; + A.Serializers_Serializers_closure0.prototype = { + call$0() { + var t1 = type$.Object; + return A.ListMultimapBuilder_ListMultimapBuilder(t1, t1); }, - $isComparable: 1 + $signature: 216 }; - G.post_closure.prototype = { - call$1: function(client) { - var _this = this; - return client._sendUnstreamed$5("POST", _this.url, type$.legacy_Map_of_legacy_String_and_legacy_String._as(_this.headers), _this.body, _this.encoding); + A.Serializers_Serializers_closure1.prototype = { + call$0() { + var t1 = type$.Object; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 263 + $signature: 217 }; - E.BaseClient.prototype = { - _sendUnstreamed$5: function(method, url, headers, body, encoding) { - return this._sendUnstreamed$body$BaseClient(method, url, type$.legacy_Map_of_legacy_String_and_legacy_String._as(headers), body, encoding); + A.Serializers_Serializers_closure2.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.Object); }, - _sendUnstreamed$body$BaseClient: function(method, url, headers, body, encoding) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response), - $async$returnValue, $async$self = this, t1, request, $async$temp1; - var $async$_sendUnstreamed$5 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = P.Uri_parse(url); - request = O.Request$(method, t1); - request.headers.addAll$1(0, headers); - if (body != null) - request.set$body(0, body); - $async$temp1 = U; - $async$goto = 3; - return P._asyncAwait($async$self.send$1(0, request), $async$_sendUnstreamed$5); - case 3: - // returning from await. - $async$returnValue = $async$temp1.Response_fromStream($async$result); - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$_sendUnstreamed$5, $async$completer); + $signature: 219 + }; + A.Serializers_Serializers_closure3.prototype = { + call$0() { + var t1 = type$.Object; + return A.SetMultimapBuilder_SetMultimapBuilder(t1, t1); }, - $isClient0: 1 + $signature: 226 }; - G.BaseRequest.prototype = { - finalize$0: function() { - if (this._finalized) - throw H.wrapException(P.StateError$("Can't finalize a finalized Request.")); - this._finalized = true; - return null; + A.FullType.prototype = { + $eq(_, other) { + var t1, t2, t3, t4, i, t5, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.FullType)) + return false; + if (_this.root != other.root) + return false; + if (_this.nullable !== other.nullable) + return false; + t1 = _this.parameters; + t2 = t1.length; + t3 = other.parameters; + t4 = t3.length; + if (t2 !== t4) + return false; + for (i = 0; i !== t2; ++i) { + if (!(i < t2)) + return A.ioore(t1, i); + t5 = t1[i]; + if (!(i < t4)) + return A.ioore(t3, i); + if (!t5.$eq(0, t3[i])) + return false; + } + return true; }, - toString$0: function(_) { - return this.method + " " + this.url.toString$0(0); + get$hashCode(_) { + var t1 = A.hashObjects(this.parameters); + t1 = A._finish(A._combine(A._combine(0, J.get$hashCode$(this.root)), B.JSInt_methods.get$hashCode(t1))); + return t1 ^ (this.nullable ? 1768878041 : 0); + }, + toString$0(_) { + var t2, + t1 = this.root; + if (t1 == null) + t1 = "unspecified"; + else { + t2 = this.parameters; + t1 = t2.length === 0 ? A.FullType__getRawName(t1) : A.FullType__getRawName(t1) + "<" + B.JSArray_methods.join$1(t2, ", ") + ">"; + t1 += this.nullable ? "?" : ""; + } + return t1; } }; - G.BaseRequest_closure.prototype = { - call$2: function(key1, key2) { - H._asStringS(key1); - H._asStringS(key2); - return key1.toLowerCase() === key2.toLowerCase(); - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 264 + A.DeserializationError.prototype = { + toString$0(_) { + return "Deserializing '" + this.json + "' to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); + } }; - G.BaseRequest_closure0.prototype = { - call$1: function(key) { - return C.JSString_methods.get$hashCode(H._asStringS(key).toLowerCase()); + A.BigIntSerializer.prototype = { + serialize$3$specifiedType(serializers, bigInt, specifiedType) { + return type$.BigInt._as(bigInt).toString$0(0); }, - $signature: 265 - }; - T.BaseResponse.prototype = { - BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request: function(statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) { - var t1 = this.statusCode; - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 < 100) - throw H.wrapException(P.ArgumentError$("Invalid status code " + t1 + ".")); - } - }; - O.BrowserClient.prototype = { - send$1: function(_, request) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_StreamedResponse), - $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, xhr, completer, bytes, t1, t2, t3, t4, t5; - var $async$send$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) { - $async$currentError = $async$result; - $async$goto = $async$handler; - } - while (true) - switch ($async$goto) { - case 0: - // Function start - request.super$BaseRequest$finalize(); - $async$goto = 3; - return P._asyncAwait(new Z.ByteStream(P.Stream_Stream$fromIterable(H.setRuntimeTypeInfo([request._bodyBytes], type$.JSArray_legacy_List_legacy_int), type$.legacy_List_legacy_int)).toBytes$0(), $async$send$1); - case 3: - // returning from await. - bytes = $async$result; - xhr = new XMLHttpRequest(); - t1 = $async$self._xhrs; - t1.add$1(0, xhr); - t2 = xhr; - t3 = J.getInterceptor$x(t2); - t3.open$3$async(t2, request.method, request.url.toString$0(0), true); - t2.responseType = "blob"; - t3.set$withCredentials(t2, false); - request.headers.forEach$1(0, J.get$setRequestHeader$x(xhr)); - completer = new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_StreamedResponse), type$._AsyncCompleter_legacy_StreamedResponse); - t2 = type$.nullable_EventTarget; - t3 = type$._EventStream_legacy_ProgressEvent; - t4 = new W._EventStream(t2._as(xhr), "load", false, t3); - t5 = type$.void; - t4.get$first(t4).then$1$1(0, new O.BrowserClient_send_closure(xhr, completer, request), t5); - t3 = new W._EventStream(t2._as(xhr), "error", false, t3); - t3.get$first(t3).then$1$1(0, new O.BrowserClient_send_closure0(completer, request), t5); - J.send$1$x(xhr, bytes); - $async$handler = 4; - $async$goto = 7; - return P._asyncAwait(completer.future, $async$send$1); - case 7: - // returning from await. - t2 = $async$result; - $async$returnValue = t2; - $async$next = [1]; - // goto finally - $async$goto = 5; - break; - $async$next.push(6); - // goto finally - $async$goto = 5; - break; - case 4: - // uncaught - $async$next = [2]; - case 5: - // finally - $async$handler = 2; - t1.remove$1(0, xhr); - // goto the next finally handler - $async$goto = $async$next.pop(); - break; - case 6: - // after finally - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - case 2: - // rethrow - return P._asyncRethrow($async$currentError, $async$completer); - } - }); - return P._asyncStartSync($async$send$1, $async$completer); - }, - close$0: function(_) { - var t1; - for (t1 = this._xhrs, t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, H._instanceType(t1)._precomputed1); t1.moveNext$0();) - t1._collection$_current.abort(); - } - }; - O.BrowserClient_send_closure.prototype = { - call$1: function(_) { - var t1, blob, reader, t2, t3, t4, t5, t6; - type$.legacy_ProgressEvent._as(_); - t1 = this.xhr; - blob = type$.legacy_Blob._as(W._convertNativeToDart_XHR_Response(t1.response)); - if (blob == null) - blob = W.Blob_Blob([], null); - reader = new FileReader(); - t2 = type$._EventStream_legacy_ProgressEvent; - t3 = new W._EventStream(reader, "load", false, t2); - t4 = this.completer; - t5 = this.request; - t6 = type$.Null; - t3.get$first(t3).then$1$1(0, new O.BrowserClient_send__closure(reader, t4, t1, t5), t6); - t2 = new W._EventStream(reader, "error", false, t2); - t2.get$first(t2).then$1$1(0, new O.BrowserClient_send__closure0(t4, t5), t6); - reader.readAsArrayBuffer(blob); + serialize$2(serializers, bigInt) { + return this.serialize$3$specifiedType(serializers, bigInt, B.FullType_null_List_empty_false); }, - $signature: 78 - }; - O.BrowserClient_send__closure.prototype = { - call$1: function(_) { - var body, t1, t2, t3, t4, t5, t6, _this = this; - type$.legacy_ProgressEvent._as(_); - body = type$.legacy_Uint8List._as(C.FileReader_methods.get$result(_this.reader)); - t1 = P.Stream_Stream$fromIterable(H.setRuntimeTypeInfo([body], type$.JSArray_legacy_List_legacy_int), type$.legacy_List_legacy_int); - t2 = _this.xhr; - t3 = t2.status; - t4 = J.get$length$asx(body); - t5 = _this.request; - t6 = C.HttpRequest_methods.get$responseHeaders(t2); - t2 = t2.statusText; - t1 = new X.StreamedResponse(B.toByteStream(new Z.ByteStream(t1)), t5, t3, t2, t4, t6, false, true); - t1.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t3, t4, t6, false, true, t2, t5); - _this.completer.complete$1(0, t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result; + A._asStringS(serialized); + result = A._BigIntImpl__tryParse(serialized, null); + if (result == null) + A.throwExpression(A.FormatException$("Could not parse BigInt", serialized, null)); + return result; }, - $signature: 78 - }; - O.BrowserClient_send__closure0.prototype = { - call$1: function(error) { - this.completer.completeError$2(new E.ClientException(J.toString$0$(type$.legacy_ProgressEvent._as(error))), P.StackTrace_current()); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - $signature: 78 - }; - O.BrowserClient_send_closure0.prototype = { - call$1: function(_) { - type$.legacy_ProgressEvent._as(_); - this.completer.completeError$2(new E.ClientException("XMLHttpRequest error."), P.StackTrace_current()); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - $signature: 78 - }; - Z.ByteStream.prototype = { - toBytes$0: function() { - var t1 = new P._Future($.Zone__current, type$._Future_legacy_Uint8List), - completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_legacy_Uint8List), - sink = new P._ByteCallbackSink(new Z.ByteStream_toBytes_closure(completer), new Uint8Array(1024)); - this.listen$4$cancelOnError$onDone$onError(sink.get$add(sink), true, sink.get$close(sink), completer.get$completeError()); - return t1; + get$wireName() { + return "BigInt"; } }; - Z.ByteStream_toBytes_closure.prototype = { - call$1: function(bytes) { - return this.completer.complete$1(0, new Uint8Array(H._ensureNativeList(type$.legacy_List_legacy_int._as(bytes)))); + A.BoolSerializer.prototype = { + serialize$3$specifiedType(serializers, boolean, specifiedType) { + return A._asBoolS(boolean); }, - $signature: 158 - }; - E.ClientException.prototype = { - toString$0: function(_) { - return this.message; + serialize$2(serializers, boolean) { + return this.serialize$3$specifiedType(serializers, boolean, B.FullType_null_List_empty_false); }, - $isException: 1, - get$message: function(receiver) { - return this.message; - } - }; - O.Request.prototype = { - get$encoding: function(_) { - var t1, t2, _this = this; - if (_this.get$_contentType() == null || !J.containsKey$1$x(_this.get$_contentType().parameters._collection$_map, "charset")) - return _this._defaultEncoding; - t1 = J.$index$asx(_this.get$_contentType().parameters._collection$_map, "charset"); - t2 = P.Encoding_getByName(t1); - return t2 == null ? H.throwExpression(P.FormatException$('Unsupported encoding "' + H.S(t1) + '".', null, null)) : t2; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._asBoolS(serialized); }, - set$body: function(_, value) { - var contentType, t2, _this = this, - _s12_ = "content-type", - t1 = type$.legacy_List_legacy_int._as(_this.get$encoding(_this).encode$1(value)); - _this._checkFinalized$0(); - _this._bodyBytes = B.toUint8List(t1); - contentType = _this.get$_contentType(); - if (contentType == null) { - t1 = _this.get$encoding(_this); - t2 = type$.legacy_String; - _this.headers.$indexSet(0, _s12_, R.MediaType$("text", "plain", P.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2)).toString$0(0)); - } else if (!J.containsKey$1$x(contentType.parameters._collection$_map, "charset")) { - t1 = _this.get$encoding(_this); - t2 = type$.legacy_String; - _this.headers.$indexSet(0, _s12_, contentType.change$1$parameters(P.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2)).toString$0(0)); - } + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$_contentType: function() { - var contentType = this.headers.$index(0, "content-type"); - if (contentType == null) - return null; - return R.MediaType_MediaType$parse(contentType); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - _checkFinalized$0: function() { - if (!this._finalized) - return; - throw H.wrapException(P.StateError$("Can't modify a finalized Request.")); + get$wireName() { + return "bool"; } }; - U.Response.prototype = {}; - X.StreamedResponse.prototype = {}; - Z.CaseInsensitiveMap.prototype = {}; - Z.CaseInsensitiveMap$from_closure.prototype = { - call$1: function(key) { - return H._asStringS(key).toLowerCase(); - }, - $signature: 27 - }; - Z.CaseInsensitiveMap$from_closure0.prototype = { - call$1: function(key) { - return H._asStringS(key) != null; + A.BuiltJsonSerializers.prototype = { + serialize$2$specifiedType(object, specifiedType) { + var t1, t2, t3, t4, result; + for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"), t3 = new J.ArrayIterator(t1, t1.length, t2), t4 = specifiedType.root; t3.moveNext$0();) { + t3.__interceptors$_current.toString; + if ($.$get$StandardJsonPlugin__unsupportedTypes()._set.contains$1(0, t4)) + A.throwExpression(A.ArgumentError$("Standard JSON cannot serialize type " + A.S(t4) + ".", null)); + } + result = this._serialize$2(object, specifiedType); + for (t1 = new J.ArrayIterator(t1, t1.length, t2); t1.moveNext$0();) + result = t1.__interceptors$_current.afterSerialize$2(result, specifiedType); + return result; }, - $signature: 48 - }; - R.MediaType.prototype = { - change$1$parameters: function(parameters) { - var t1, parameters0; - type$.legacy_Map_of_legacy_String_and_legacy_String._as(parameters); - t1 = type$.legacy_String; - parameters0 = P.LinkedHashMap_LinkedHashMap$from(this.parameters, t1, t1); - parameters0.addAll$1(0, parameters); - return R.MediaType$(this.type, this.subtype, parameters0); + serialize$1(object) { + return this.serialize$2$specifiedType(object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var buffer = new P.StringBuffer(""), - t1 = this.type; - buffer._contents = t1; - t1 += "/"; - buffer._contents = t1; - buffer._contents = t1 + this.subtype; - t1 = this.parameters; - J.forEach$1$ax(t1._collection$_map, t1.$ti._eval$1("~(1,2)")._as(new R.MediaType_toString_closure(buffer))); - t1 = buffer._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; - } - }; - R.MediaType_MediaType$parse_closure.prototype = { - call$0: function() { - var t3, type, subtype, t4, parameters, t5, success, attribute, value, - t1 = this.mediaType, - scanner = new X.StringScanner(null, t1), - t2 = $.$get$whitespace(); - scanner.scan$1(t2); - t3 = $.$get$token(); - scanner.expect$1(t3); - type = scanner.get$lastMatch().$index(0, 0); - scanner.expect$1("/"); - scanner.expect$1(t3); - subtype = scanner.get$lastMatch().$index(0, 0); - scanner.scan$1(t2); - t4 = type$.legacy_String; - parameters = P.LinkedHashMap_LinkedHashMap$_empty(t4, t4); - while (true) { - t4 = scanner._lastMatch = C.JSString_methods.matchAsPrefix$2(";", t1, scanner._string_scanner$_position); - t5 = scanner._lastMatchPosition = scanner._string_scanner$_position; - success = t4 != null; - t4 = success ? scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4) : t5; - if (!success) - break; - t4 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, t4); - scanner._lastMatchPosition = scanner._string_scanner$_position; - if (t4 != null) - scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); - scanner.expect$1(t3); - if (scanner._string_scanner$_position !== scanner._lastMatchPosition) - scanner._lastMatch = null; - attribute = scanner._lastMatch.$index(0, 0); - scanner.expect$1("="); - t4 = scanner._lastMatch = t3.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); - t5 = scanner._lastMatchPosition = scanner._string_scanner$_position; - success = t4 != null; - if (success) { - t4 = scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); - t5 = t4; - } else - t4 = t5; - if (success) { - if (t4 !== t5) - scanner._lastMatch = null; - value = scanner._lastMatch.$index(0, 0); - } else - value = N.expectQuotedString(scanner); - t4 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); - scanner._lastMatchPosition = scanner._string_scanner$_position; - if (t4 != null) - scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); - parameters.$indexSet(0, attribute, value); + _serialize$2(object, specifiedType) { + var serializer, result, _this = this, + _s62_ = string$.serial, + t1 = specifiedType.root; + if (t1 == null) { + t1 = J.getInterceptor$(object); + serializer = _this.serializerForType$1(t1.get$runtimeType(object)); + if (serializer == null) + throw A.wrapException(A.StateError$("No serializer for '" + t1.get$runtimeType(object).toString$0(0) + "'.")); + if (type$.StructuredSerializer_dynamic._is(serializer)) { + result = [serializer.get$wireName()]; + B.JSArray_methods.addAll$1(result, serializer.serialize$2(_this, object)); + return result; + } else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + return object == null ? [serializer.get$wireName(), null] : A._setArrayType([serializer.get$wireName(), serializer.serialize$2(_this, object)], type$.JSArray_Object); + else + throw A.wrapException(A.StateError$(_s62_)); + } else { + serializer = _this.serializerForType$1(t1); + if (serializer == null) + return _this.serialize$1(object); + if (type$.StructuredSerializer_dynamic._is(serializer)) + return object == null ? null : J.toList$0$ax(serializer.serialize$3$specifiedType(_this, object, specifiedType)); + else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + return object == null ? null : serializer.serialize$3$specifiedType(_this, object, specifiedType); + else + throw A.wrapException(A.StateError$(_s62_)); } - scanner.expectDone$0(); - return R.MediaType$(type, subtype, parameters); - }, - $signature: 271 - }; - R.MediaType_toString_closure.prototype = { - call$2: function(attribute, value) { - var t1, t2; - H._asStringS(attribute); - H._asStringS(value); - t1 = this.buffer; - t1._contents += "; " + H.S(attribute) + "="; - t2 = $.$get$nonToken()._nativeRegExp; - if (typeof value != "string") - H.throwExpression(H.argumentErrorValue(value)); - if (t2.test(value)) { - t1._contents += '"'; - t2 = $.$get$_escapedChar(); - value.toString; - t2 = t1._contents += C.JSString_methods.splitMapJoin$2$onMatch(value, t2, type$.String_Function_Match._as(new R.MediaType_toString__closure())); - t1._contents = t2 + '"'; - } else - t1._contents += H.S(value); }, - $signature: 272 - }; - R.MediaType_toString__closure.prototype = { - call$1: function(match) { - return "\\" + H.S(match.$index(0, 0)); + deserialize$2$specifiedType(object, specifiedType) { + var t1, t2, t3, transformedObject, result; + for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"), t3 = new J.ArrayIterator(t1, t1.length, t2), transformedObject = object; t3.moveNext$0();) + transformedObject = t3.__interceptors$_current.beforeDeserialize$2(transformedObject, specifiedType); + result = this._deserialize$3(object, transformedObject, specifiedType); + for (t1 = new J.ArrayIterator(t1, t1.length, t2); t1.moveNext$0();) + t1.__interceptors$_current.toString; + return result; }, - $signature: 182 - }; - N.expectQuotedString_closure.prototype = { - call$1: function(match) { - return match.$index(0, 1); + deserialize$1(object) { + return this.deserialize$2$specifiedType(object, B.FullType_null_List_empty_false); }, - $signature: 182 - }; - Y.Level.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof Y.Level && this.value === other.value; + _deserialize$3(objectBeforePlugins, object, specifiedType) { + var serializer, error, primitive, error0, serializer0, error1, error2, wireName, exception, _this = this, + _s19_ = "No serializer for '", + _s62_ = string$.serial, + t1 = specifiedType.root; + if (t1 == null) { + type$.List_nullable_Object._as(object); + t1 = J.getInterceptor$ax(object); + wireName = A._asStringS(t1.get$first(object)); + serializer = _this._wireNameToSerializer._map$_map.$index(0, wireName); + if (serializer == null) + throw A.wrapException(A.StateError$(_s19_ + A.S(wireName) + "'.")); + if (type$.StructuredSerializer_dynamic._is(serializer)) + try { + t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); + return t1; + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Error._is(t1)) { + error = t1; + throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error)); + } else + throw exception; + } + else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + try { + primitive = t1.$index(object, 1); + t1 = primitive == null ? null : serializer.deserialize$2(_this, primitive); + return t1; + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Error._is(t1)) { + error0 = t1; + throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error0)); + } else + throw exception; + } + else + throw A.wrapException(A.StateError$(_s62_)); + } else { + serializer0 = _this.serializerForType$1(t1); + if (serializer0 == null) + if (type$.List_dynamic._is(object) && typeof J.get$first$ax(object) == "string") + return _this.deserialize$1(objectBeforePlugins); + else + throw A.wrapException(A.StateError$(_s19_ + t1.toString$0(0) + "'.")); + if (type$.StructuredSerializer_dynamic._is(serializer0)) + try { + t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, type$.Iterable_nullable_Object._as(object), specifiedType); + return t1; + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Error._is(t1)) { + error1 = t1; + throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error1)); + } else + throw exception; + } + else if (type$.PrimitiveSerializer_dynamic._is(serializer0)) + try { + t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, object, specifiedType); + return t1; + } catch (exception) { + t1 = A.unwrapException(exception); + if (type$.Error._is(t1)) { + error2 = t1; + throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error2)); + } else + throw exception; + } + else + throw A.wrapException(A.StateError$(_s62_)); + } }, - compareTo$1: function(_, other) { - return this.value - type$.Level._as(other).value; + serializerForType$1(type) { + var t1 = this._typeToSerializer._map$_map.$index(0, type); + if (t1 == null) { + t1 = A._getRawName(type); + t1 = this._typeNameToSerializer._map$_map.$index(0, t1); + } + return t1; }, - get$hashCode: function(_) { - return this.value; + newBuilder$1(fullType) { + var builderFactory = this.builderFactories._map$_map.$index(0, fullType); + if (builderFactory == null) { + this._throwMissingBuilderFactory$1(fullType); + A.ReachabilityError$(string$.x60null_t); + } + return builderFactory.call$0(); }, - toString$0: function(_) { - return this.name; + expectBuilder$1(fullType) { + if (!this.builderFactories._map$_map.containsKey$1(0, fullType)) { + this._throwMissingBuilderFactory$1(fullType); + A.ReachabilityError$(string$.x60null_t); + } }, - $isComparable: 1, - get$value: function(receiver) { - return this.value; - } - }; - L.LogRecord.prototype = { - toString$0: function(_) { - return "[" + this.level.name + "] " + this.loggerName + ": " + H.S(this.message); + _throwMissingBuilderFactory$1(fullType) { + throw A.wrapException(A.StateError$("No builder factory for " + fullType.toString$0(0) + ". Fix by adding one, see SerializersBuilder.addBuilderFactory.")); }, - get$message: function(receiver) { - return this.message; + toBuilder$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + t1 = _this._typeToSerializer; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + t3 = _this._wireNameToSerializer; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltMap<1,2>")._as(t3); + t5 = _this._typeNameToSerializer; + t5.toString; + t6 = t5.$ti; + t6._eval$1("_BuiltMap<1,2>")._as(t5); + t7 = _this.builderFactories; + t7.toString; + t8 = t7.$ti; + t8._eval$1("_BuiltMap<1,2>")._as(t7); + t9 = _this.serializerPlugins; + t9.toString; + return new A.BuiltJsonSerializersBuilder(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t3._mapFactory, t3._map$_map, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t5._mapFactory, t5._map$_map, t5, t6._eval$1("@<1>")._bind$1(t6._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t7._mapFactory, t7._map$_map, t7, t8._eval$1("@<1>")._bind$1(t8._rest[1])._eval$1("MapBuilder<1,2>")), A.ListBuilder_ListBuilder(t9, t9.$ti._precomputed1)); }, - get$stackTrace: function() { - return this.stackTrace; - } + $isSerializers: 1 }; - F.Logger.prototype = { - get$fullName: function() { - var t1 = this.parent, - t2 = t1 == null ? null : t1.name.length !== 0, - t3 = this.name; - return t2 === true ? t1.get$fullName() + "." + t3 : t3; - }, - get$level: function(_) { - var t1, effectiveLevel; - if (this.parent == null) { - t1 = this._level; - t1.toString; - effectiveLevel = t1; - } else { - t1 = $.$get$Logger_root(); - t1 = t1._level; - t1.toString; - effectiveLevel = t1; + A.BuiltJsonSerializersBuilder.prototype = { + add$1(_, serializer) { + var t1, t2, t3, t4, t5, t6, $name, genericsStart, t7; + type$.Serializer_dynamic._as(serializer); + if (!type$.StructuredSerializer_dynamic._is(serializer) && !type$.PrimitiveSerializer_dynamic._is(serializer)) + throw A.wrapException(A.ArgumentError$(string$.serial, null)); + this._wireNameToSerializer.$indexSet(0, serializer.get$wireName(), serializer); + for (t1 = J.get$iterator$ax(serializer.get$types(serializer)), t2 = this._typeToSerializer, t3 = t2.$ti, t4 = t3._precomputed1, t3 = t3._rest[1], t5 = this._typeNameToSerializer; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t4._as(t6); + t3._as(serializer); + t2._checkKey$1(t6); + t2._checkValue$1(serializer); + t2.get$_safeMap().$indexSet(0, t6, serializer); + $name = J.toString$0$(t6); + genericsStart = J.indexOf$1$asx($name, "<"); + t6 = genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); + t7 = t5.$ti; + t7._precomputed1._as(t6); + t7._rest[1]._as(serializer); + t5._checkKey$1(t6); + t5._checkValue$1(serializer); + t5.get$_safeMap().$indexSet(0, t6, serializer); } - return effectiveLevel; }, - log$4: function(logLevel, message, error, stackTrace) { - var msg, record, _this = this, - t1 = logLevel.value; - if (t1 >= _this.get$level(_this).value) { - if (type$.Function._is(message)) - message = type$.nullable_Object_Function._as(message).call$0(); - msg = typeof message == "string" ? message : J.toString$0$(message); - if (stackTrace == null && t1 >= 2000) { - stackTrace = P.StackTrace_current(); - if (error == null) - error = "autogenerated stack trace for " + logLevel.toString$0(0) + " " + H.S(msg); - } - t1 = _this.get$fullName(); - Date.now(); - $.LogRecord__nextNumber = $.LogRecord__nextNumber + 1; - record = new L.LogRecord(logLevel, msg, t1, error, stackTrace); - if (_this.parent == null) - _this._publish$1(record); - else - $.$get$Logger_root()._publish$1(record); - } + addBuilderFactory$2(types, $function) { + var t2, t3, + t1 = this._builderFactories; + t1.$indexSet(0, types, $function); + t2 = types.root; + t3 = types.parameters; + t1.$indexSet(0, !types.nullable ? new A.FullType(t2, t3, true) : new A.FullType(t2, t3, false), $function); }, - _publish$1: function(record) { - var t1 = this._controller; - return t1 == null ? null : t1.add$1(0, record); + build$0() { + var _this = this; + return new A.BuiltJsonSerializers(_this._typeToSerializer.build$0(), _this._wireNameToSerializer.build$0(), _this._typeNameToSerializer.build$0(), _this._builderFactories.build$0(), _this._plugins.build$0()); } }; - F.Logger_Logger_closure.prototype = { - call$0: function() { - var dot, $parent, t1, - thisName = this.name; - if (C.JSString_methods.startsWith$1(thisName, ".")) - H.throwExpression(P.ArgumentError$("name shouldn't start with a '.'")); - dot = C.JSString_methods.lastIndexOf$1(thisName, "."); - if (dot === -1) - $parent = thisName !== "" ? F.Logger_Logger("") : null; + A.BuiltListMultimapSerializer.prototype = { + serialize$3$specifiedType(serializers, builtListMultimap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, key, result0, t4, t5, t6, t7; + type$.BuiltListMultimap_dynamic_dynamic._as(builtListMultimap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = B.FullType_null_List_empty_false; else { - $parent = F.Logger_Logger(C.JSString_methods.substring$2(thisName, 0, dot)); - thisName = C.JSString_methods.substring$1(thisName, dot + 1); + if (0 >= t2) + return A.ioore(t1, 0); + keyType = t1[0]; } - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); - t1 = new F.Logger(thisName, $parent, t1, new P.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_Logger)); - if ($parent == null) - t1._level = C.Level_INFO_800; - else - $parent._children.$indexSet(0, thisName, t1); - return t1; - }, - $signature: 274 - }; - A.DomProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - set$componentFactory: function(componentFactory) { - this.DomProps_componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + if (t3) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t2) + return A.ioore(t1, 1); + valueType = t1[1]; + } + result = []; + for (t1 = builtListMultimap.get$keys(builtListMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtListMultimap._list_multimap$_map, t3 = builtListMultimap._emptyList; t1.moveNext$0();) { + key = t1.__js_helper$_current; + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result0 = t2.$index(0, key); + t4 = result0 == null ? t3 : result0; + t5 = t4._list; + t6 = A._arrayInstanceType(t5); + t7 = t6._eval$1("MappedListIterable<1,Object?>"); + result.push(A.List_List$of(new A.MappedListIterable(t5, t6._eval$1("Object?(1)")._as(t4.$ti._eval$1("Object?(1)")._as(new A.BuiltListMultimapSerializer_serialize_closure(serializers, valueType))), t7), true, t7._eval$1("ListIterable.E"))); + } + return result; }, - get$componentFactory: function() { - return this.DomProps_componentFactory; + serialize$2(serializers, builtListMultimap) { + return this.serialize$3$specifiedType(serializers, builtListMultimap, B.FullType_null_List_empty_false); }, - get$props: function(receiver) { - return this.props; - } - }; - A.SvgProps.prototype = { - get$$$isClassGenerated: function() { - return true; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, t8, _null = null, + t1 = type$.Iterable_nullable_Object; + t1._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t2 = specifiedType.parameters; + t3 = t2.length; + t4 = t3 === 0; + if (t4) + keyType = B.FullType_null_List_empty_false; + else { + if (0 >= t3) + return A.ioore(t2, 0); + keyType = t2[0]; + } + if (t4) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t3) + return A.ioore(t2, 1); + valueType = t2[1]; + } + if (isUnderspecified) { + t2 = type$.Object; + result = A.ListMultimapBuilder_ListMultimapBuilder(t2, t2); + } else + result = type$.ListMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t2 = J.getInterceptor$asx(serialized); + t3 = t2.get$length(serialized); + if (typeof t3 !== "number") + return t3.$mod(); + if (B.JSInt_methods.$mod(t3, 2) === 1) + throw A.wrapException(A.ArgumentError$("odd length", _null)); + for (t3 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); + values = J.map$1$1$ax(t1._as(t2.elementAt$1(serialized, i + 1)), new A.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t3); + for (t4 = values.get$iterator(values); t4.moveNext$0();) { + value = t4.get$current(t4); + result.toString; + t5 = result.$ti; + t6 = t5._precomputed1; + t6._as(key); + t5._rest[1]._as(value); + if (result._list_multimap$_builtMapOwner != null) { + t7 = result.__ListMultimapBuilder__builtMap_A; + t7 === $ && A.throwLateFieldNI("_builtMap"); + result.set$__ListMultimapBuilder__builtMap_A(t5._eval$1("Map<1,BuiltList<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t7, t6, t5._eval$1("BuiltList<2>")))); + result.set$_list_multimap$_builtMapOwner(_null); + } + result._list_multimap$_checkKey$1(key); + result._list_multimap$_checkValue$1(value); + t5 = result._list_multimap$_getValuesBuilder$1(key); + t6 = t5.$ti; + t7 = t6._precomputed1; + t7._as(value); + if (!$.$get$isSoundMode() && !t7._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", _null)); + if (t5._listOwner != null) { + t8 = t5.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); + t5.set$__ListBuilder__list_A(t6._eval$1("List<1>")._as(A.List_List$from(t8, true, t7))); + t5.set$_listOwner(_null); + } + t5 = t5.__ListBuilder__list_A; + t5 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.add$1(t5, value); + } + } + return result.build$0(); }, - set$componentFactory: function(componentFactory) { - this.SvgProps_componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - $isDomProps: 1, - get$componentFactory: function() { - return this.SvgProps_componentFactory; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types(receiver) { + return this.types; }, - get$props: function(receiver) { - return this.props; + get$wireName() { + return "listMultimap"; } }; - A._DomProps_UiProps_DomPropsMixin.prototype = {}; - A._SvgProps_UiProps_DomPropsMixin.prototype = {}; - A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin.prototype = {}; - Z.ErrorBoundaryProps.prototype = { - set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { - this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); - }, - set$loggerName: function(loggerName) { - this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + A.BuiltListMultimapSerializer_serialize_closure.prototype = { + call$1(value) { + return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - set$shouldLogErrors: function(shouldLogErrors) { - this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + $signature: 40 + }; + A.BuiltListMultimapSerializer_deserialize_closure.prototype = { + call$1(value) { + return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - $isMap: 1, - $isUiProps0: 1, - $isUiProps: 1 + $signature: 86 }; - Z.ErrorBoundaryState.prototype = { - set$hasError: function(hasError) { - this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + A.BuiltListSerializer.prototype = { + serialize$3$specifiedType(serializers, builtList, specifiedType) { + var t1, t2, elementType; + type$.BuiltList_dynamic._as(builtList); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + elementType = t1[0]; + } + builtList.toString; + t1 = builtList._list; + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("Object?(1)")._as(builtList.$ti._eval$1("Object?(1)")._as(new A.BuiltListSerializer_serialize_closure(serializers, elementType))), t2._eval$1("MappedListIterable<1,Object?>")); }, - set$showFallbackUIOnError: function(showFallbackUIOnError) { - this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); + serialize$2(serializers, builtList) { + return this.serialize$3$specifiedType(serializers, builtList, B.FullType_null_List_empty_false); }, - $isMap: 1 - }; - Z.ErrorBoundaryComponent.prototype = { - get$consumedProps: function() { - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_ConsumedProps); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, elementType, result; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + elementType = t1[0]; + } + result = isUnderspecified ? A.ListBuilder_ListBuilder(B.List_empty, type$.Object) : type$.ListBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); + result.replace$1(0, J.map$1$1$ax(serialized, new A.BuiltListSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); + return result.build$0(); }, - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); - t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); - t1.set$loggerName("over_react.ErrorBoundary"); - t1.set$shouldLogErrors(true); - return t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(false); - t1.set$showFallbackUIOnError(true); - return t1; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types(receiver) { + return this.types; }, - getDerivedStateFromError$1: function(error) { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(true); - t1.set$showFallbackUIOnError(true); - return t1; + get$wireName() { + return "list"; + } + }; + A.BuiltListSerializer_serialize_closure.prototype = { + call$1(item) { + return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - componentDidCatch$2: function(error, info) { - var _this = this; - if (_this._error_boundary$_cachedTypedProps.get$onComponentDidCatch() != null) - _this._error_boundary$_cachedTypedProps.onComponentDidCatch$2(error, info); - _this._error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); - if (_this._error_boundary$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) - _this._error_boundary$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); + $signature: 40 + }; + A.BuiltListSerializer_deserialize_closure.prototype = { + call$1(item) { + return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - render$0: function(_) { - var t1, t2; - if (H.boolConversionCheck(this._error_boundary$_cachedTypedState.get$hasError())) { - t1 = A.DomProps$($.$get$div(), null); - t1.set$key(0, "ohnoes"); - t1.addTestId$1(string$.ErrorB_); - return t1.call$0(); + $signature: 40 + }; + A.BuiltMapSerializer.prototype = { + serialize$3$specifiedType(serializers, builtMap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, key; + type$.BuiltMap_dynamic_dynamic._as(builtMap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + keyType = t1[0]; } - t1 = $.$get$RecoverableErrorBoundary().call$0(); - t1.addTestId$1("RecoverableErrorBoundary"); - t1.modifyProps$1(this.get$addUnconsumedProps()); - t2 = this._error_boundary$_cachedTypedProps; - return t1.call$1(t2.get$children(t2)); - }, - componentDidUpdate$3: function(prevProps, prevState, snapshot) { - var t1, childThatCausedError, _this = this; - if (H.boolConversionCheck(_this._error_boundary$_cachedTypedState.get$hasError())) { - t1 = Z._$$ErrorBoundaryProps__$$ErrorBoundaryProps(prevProps); - childThatCausedError = J.get$single$ax(t1.get$children(t1)); - t1 = _this._error_boundary$_cachedTypedProps; - if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) - _this.setState$1(0, _this.get$initialState()); + if (t3) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t2) + return A.ioore(t1, 1); + valueType = t1[1]; } + result = []; + for (t1 = builtMap.get$keys(builtMap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtMap._map$_map; t1.moveNext$0();) { + key = t1.__js_helper$_current; + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result.push(serializers.serialize$2$specifiedType(t2.$index(0, key), valueType)); + } + return result; }, - get$_error_boundary$_loggerName: function() { - if (this._error_boundary$_cachedTypedProps.get$logger() != null) - return this._error_boundary$_cachedTypedProps.get$logger().name; - var t1 = this._error_boundary$_cachedTypedProps.get$loggerName(); - return t1 == null ? "over_react.ErrorBoundary" : t1; - }, - _error_boundary$_logErrorCaughtByErrorBoundary$2: function(error, info) { - var t1, message, t2; - if (!H.boolConversionCheck(this._error_boundary$_cachedTypedProps.get$shouldLogErrors())) - return; - t1 = J.getInterceptor$x(info); - message = string$.An_unr + H.S(t1.get$componentStack(info)); - t2 = this._error_boundary$_cachedTypedProps.get$logger(); - if (t2 == null) - t2 = F.Logger_Logger(this.get$_error_boundary$_loggerName()); - t1 = t1.get$dartStackTrace(info); - t2.toString; - t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); - } - }; - Z.$ErrorBoundaryComponentFactory_closure.prototype = { - call$0: function() { - return new Z._$ErrorBoundaryComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 275 - }; - Z._$$ErrorBoundaryProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$ErrorBoundaryComponentFactory() : t1; - } - }; - Z._$$ErrorBoundaryProps$PlainMap.prototype = { - get$props: function(_) { - return this._error_boundary$_props; - } - }; - Z._$$ErrorBoundaryProps$JsMap.prototype = { - get$props: function(_) { - return this._error_boundary$_props; - } - }; - Z._$$ErrorBoundaryState.prototype = { - get$$$isClassGenerated: function() { - return true; - } - }; - Z._$$ErrorBoundaryState$JsMap.prototype = { - get$state: function(_) { - return this._error_boundary$_state; - } - }; - Z._$ErrorBoundaryComponent.prototype = { - get$props: function(_) { - return this._error_boundary$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._error_boundary$_cachedTypedProps = Z._$$ErrorBoundaryProps$JsMap$(R.getBackingMap(value)); - }, - typedPropsFactoryJs$1: function(backingMap) { - return Z._$$ErrorBoundaryProps$JsMap$(backingMap); + serialize$2(serializers, builtMap) { + return this.serialize$3$specifiedType(serializers, builtMap, B.FullType_null_List_empty_false); }, - set$state: function(_, value) { - this.state = value; - this._error_boundary$_cachedTypedState = Z._$$ErrorBoundaryState$JsMap$(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, t3, keyType, valueType, result, i, key, value; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t2) + return A.ioore(t1, 1); + valueType = t1[1]; + } + if (isUnderspecified) { + t1 = type$.Object; + result = A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + } else + result = type$.MapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t1 = J.getInterceptor$asx(serialized); + t2 = t1.get$length(serialized); + if (typeof t2 !== "number") + return t2.$mod(); + if (B.JSInt_methods.$mod(t2, 2) === 1) + throw A.wrapException(A.ArgumentError$("odd length", null)); + for (i = 0; i !== t1.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); + value = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i + 1), valueType); + result.toString; + t2 = result.$ti; + t2._precomputed1._as(key); + t2._rest[1]._as(value); + result._checkKey$1(key); + result._checkValue$1(value); + result.get$_safeMap().$indexSet(0, key, value); + } + return result.build$0(); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new Z._$$ErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); - t1.get$$$isClassGenerated(); - t1._error_boundary$_state = backingMap; - return t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$displayName: function(_) { - return "ErrorBoundary"; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types(receiver) { + return this.types; }, - get$$$defaultConsumedProps: function() { - return C.Map_EU4AN.get$values(C.Map_EU4AN); + get$wireName() { + return "map"; } }; - Z.$ErrorBoundaryProps.prototype = { - get$onComponentDidCatch: function() { - var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.onComponentDidCatch"); - if (t1 == null) - t1 = null; - return type$.legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); - }, - get$onComponentIsUnrecoverable: function() { - var t1 = J.$index$asx(this.get$props(this), string$.ErrorBPo); - if (t1 == null) - t1 = null; - return type$.legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); - }, - get$fallbackUIRenderer: function() { - var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.fallbackUIRenderer"); - if (t1 == null) - t1 = null; - return type$.legacy_legacy_ReactElement_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); - }, - set$identicalErrorFrequencyTolerance: function(value) { - J.$indexSet$ax(this.get$props(this), string$.ErrorBPi, value); - }, - get$loggerName: function() { - var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.loggerName"); - return H._asStringS(t1 == null ? null : t1); - }, - set$loggerName: function(value) { - J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.loggerName", value); - }, - get$shouldLogErrors: function() { - var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors"); - return H._asBoolS(t1 == null ? null : t1); - }, - set$shouldLogErrors: function(value) { - J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors", true); + A.BuiltSetMultimapSerializer.prototype = { + serialize$3$specifiedType(serializers, builtSetMultimap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, key, result0, t4, t5, t6, t7; + type$.BuiltSetMultimap_dynamic_dynamic._as(builtSetMultimap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t2) + return A.ioore(t1, 1); + valueType = t1[1]; + } + result = []; + for (t1 = builtSetMultimap.get$keys(builtSetMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtSetMultimap._set_multimap$_map, t3 = builtSetMultimap._emptySet; t1.moveNext$0();) { + key = t1.__js_helper$_current; + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result0 = t2.$index(0, key); + t4 = result0 == null ? t3 : result0; + t5 = t4._set; + t6 = A._instanceType(t5); + t7 = t6._eval$1("EfficientLengthMappedIterable"); + result.push(A.List_List$of(new A.EfficientLengthMappedIterable(t5, t6._eval$1("Object?(SetMixin.E)")._as(t4.$ti._eval$1("Object?(1)")._as(new A.BuiltSetMultimapSerializer_serialize_closure(serializers, valueType))), t7), true, t7._eval$1("Iterable.E"))); + } + return result; }, - get$logger: function() { - var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.logger"); - if (t1 == null) - t1 = null; - return type$.legacy_Logger._as(t1); + serialize$2(serializers, builtSetMultimap) { + return this.serialize$3$specifiedType(serializers, builtSetMultimap, B.FullType_null_List_empty_false); }, - onComponentDidCatch$2: function(arg0, arg1) { - return this.get$onComponentDidCatch().call$2(arg0, arg1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t6, + t1 = type$.Iterable_dynamic; + t1._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t2 = specifiedType.parameters; + t3 = t2.length; + t4 = t3 === 0; + if (t4) + keyType = B.FullType_null_List_empty_false; + else { + if (0 >= t3) + return A.ioore(t2, 0); + keyType = t2[0]; + } + if (t4) + valueType = B.FullType_null_List_empty_false; + else { + if (1 >= t3) + return A.ioore(t2, 1); + valueType = t2[1]; + } + if (isUnderspecified) { + t2 = type$.Object; + result = A.SetMultimapBuilder_SetMultimapBuilder(t2, t2); + } else + result = type$.SetMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t2 = J.getInterceptor$asx(serialized); + t3 = t2.get$length(serialized); + if (typeof t3 !== "number") + return t3.$mod(); + if (B.JSInt_methods.$mod(t3, 2) === 1) + throw A.wrapException(A.ArgumentError$("odd length", null)); + for (i = 0; i !== t2.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); + for (t3 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t3.moveNext$0();) { + value = t3.get$current(t3); + result.toString; + t4 = result.$ti; + t5 = t4._precomputed1; + t5._as(key); + t4._rest[1]._as(value); + if (result._builtMapOwner != null) { + t6 = result.__SetMultimapBuilder__builtMap_A; + t6 === $ && A.throwLateFieldNI("_builtMap"); + result.set$__SetMultimapBuilder__builtMap_A(t4._eval$1("Map<1,BuiltSet<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t6, t5, t4._eval$1("BuiltSet<2>")))); + result.set$_builtMapOwner(null); + } + result._set_multimap$_checkKey$1(key); + result._set_multimap$_checkValue$1(value); + t4 = result._getValuesBuilder$1(key); + t5 = t4.$ti._precomputed1; + t5._as(value); + if (!$.$get$isSoundMode() && !t5._is(null)) + if (value == null) + A.throwExpression(A.ArgumentError$("null element", null)); + t4.get$_safeSet().add$1(0, value); + } + } + return result.build$0(); }, - onComponentIsUnrecoverable$2: function(arg0, arg1) { - return this.get$onComponentIsUnrecoverable().call$2(arg0, arg1); - } - }; - Z.$ErrorBoundaryState.prototype = { - get$hasError: function() { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$state(this).jsObject["ErrorBoundaryState.hasError"]); - return H._asBoolS(t1 == null ? null : t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$hasError: function(value) { - this.get$state(this).jsObject["ErrorBoundaryState.hasError"] = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types(receiver) { + return this.types; }, - set$showFallbackUIOnError: function(value) { - this.get$state(this).jsObject["ErrorBoundaryState.showFallbackUIOnError"] = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "setMultimap"; } }; - Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; - Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { - set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { - this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); - }, - set$loggerName: function(loggerName) { - this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + A.BuiltSetMultimapSerializer_serialize_closure.prototype = { + call$1(value) { + return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - set$shouldLogErrors: function(shouldLogErrors) { - this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); - } + $signature: 40 }; - Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; - Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { - set$hasError: function(hasError) { - this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + A.BuiltSetMultimapSerializer_deserialize_closure.prototype = { + call$1(value) { + return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - set$showFallbackUIOnError: function(showFallbackUIOnError) { - this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); - } + $signature: 40 }; - Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; - O.ErrorBoundaryApi.prototype = {}; - E.RecoverableErrorBoundaryComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); - t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); - t1.set$loggerName("over_react.ErrorBoundary"); - t1.set$shouldLogErrors(true); - return t1; - }, - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(false); - t1.set$showFallbackUIOnError(this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null); - return t1; - }, - getDerivedStateFromError$1: function(error) { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(true); - return t1; - }, - componentDidCatch$2: function(error, info) { - if (this._error_boundary_recoverable$_cachedTypedProps.get$onComponentDidCatch() != null) - this._error_boundary_recoverable$_cachedTypedProps.onComponentDidCatch$2(error, info); - this._handleErrorInComponentTree$2(error, info); - }, - componentDidUpdate$3: function(prevProps, prevState, snapshot) { - var t1, childThatCausedError, _this = this; - if (H.boolConversionCheck(_this._error_boundary_recoverable$_cachedTypedState.get$hasError())) { - t1 = E._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(prevProps); - childThatCausedError = J.get$single$ax(t1.get$children(t1)); - t1 = _this._error_boundary_recoverable$_cachedTypedProps; - if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) { - _this._resetInternalErrorTracking$0(); - t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(false); - t1.set$showFallbackUIOnError(_this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null); - _this.setState$1(0, t1); - } - } - }, - render$0: function(_) { - var t1, t2, t3, _this = this; - if (H.boolConversionCheck(_this._error_boundary_recoverable$_cachedTypedState.get$hasError())) { - t1 = _this._error_boundary_recoverable$_cachedTypedState; - t1 = F.DartValueWrapper_unwrapIfNeeded(t1.get$state(t1).jsObject["ErrorBoundaryState.showFallbackUIOnError"]); - t1 = H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)); - } else - t1 = false; - if (t1) { - t1 = _this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer(); - if (t1 == null) - t1 = _this.get$_renderStringDomAfterUnrecoverableErrors(); - t2 = _this._errorLog; - t2 = t2.length !== 0 ? C.JSArray_methods.get$last(t2) : null; - t3 = _this._callStackLog; - return t1.call$2(t2, t3.length !== 0 ? C.JSArray_methods.get$last(t3) : null); - } - t1 = _this._error_boundary_recoverable$_cachedTypedProps; - return t1.get$children(t1); - }, - _handleErrorInComponentTree$2: function(error, info) { - var errorString, sameErrorWasThrownTwiceConsecutively, t2, i, t3, exception, _this = this, - t1 = J.getInterceptor$(error); - if (_this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null) { - C.JSArray_methods.add$1(_this._errorLog, t1.toString$0(error)); - C.JSArray_methods.add$1(_this._callStackLog, info); - _this._logErrorCaughtByErrorBoundary$2(error, info); - return; - } else { - errorString = t1.toString$0(error); - t2 = J.getInterceptor$x(info); - i = 0; - while (true) { - t3 = _this._errorLog; - if (!(i < t3.length)) { - sameErrorWasThrownTwiceConsecutively = false; - break; - } - if (t3[i] == errorString) { - t3 = _this._callStackLog; - if (i >= t3.length) - return H.ioore(t3, i); - t3 = J.$eq$(J.get$componentStack$x(t3[i]), t2.get$componentStack(info)); - } else - t3 = false; - if (t3) { - sameErrorWasThrownTwiceConsecutively = true; - break; - } - ++i; - } - if (sameErrorWasThrownTwiceConsecutively) { - try { - t1 = type$.legacy_Element._as($.$get$findDOMNode().call$1(_this)); - _this._domAtTimeOfError = t1 == null ? null : J.get$innerHtml$x(t1); - } catch (exception) { - H.unwrapException(exception); - } - if (_this._error_boundary_recoverable$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) - _this._error_boundary_recoverable$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); - _this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, false); - } else { - C.JSArray_methods.add$1(_this._errorLog, t1.toString$0(error)); - C.JSArray_methods.add$1(_this._callStackLog, info); - _this._logErrorCaughtByErrorBoundary$2(error, info); - } - t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(true); - t1.set$showFallbackUIOnError(sameErrorWasThrownTwiceConsecutively); - _this.setState$1(0, t1); - _this._startIdenticalErrorTimer$0(); + A.BuiltSetSerializer.prototype = { + serialize$3$specifiedType(serializers, builtSet, specifiedType) { + var t1, t2, elementType; + type$.BuiltSet_dynamic._as(builtSet); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + elementType = t1[0]; } + builtSet.toString; + t1 = builtSet._set; + t2 = A._instanceType(t1); + return new A.EfficientLengthMappedIterable(t1, t2._eval$1("Object?(SetMixin.E)")._as(builtSet.$ti._eval$1("Object?(1)")._as(new A.BuiltSetSerializer_serialize_closure(serializers, elementType))), t2._eval$1("EfficientLengthMappedIterable")); }, - _renderStringDomAfterUnrecoverableErrors$2: function(_, __) { - var t2, t3, - t1 = A.DomProps$($.$get$div(), null); - t1.set$key(0, "ohnoes"); - t1.addTestId$1(string$.ErrorB_); - t2 = this._domAtTimeOfError; - if (t2 == null) - t2 = ""; - t3 = type$.legacy_String; - t3 = P.LinkedHashMap_LinkedHashMap$_literal(["__html", t2], t3, t3); - t2 = H._instanceType(t1); - t2._eval$1("MapViewMixin.K*")._as("dangerouslySetInnerHTML"); - t2._eval$1("MapViewMixin.V*")._as(t3); - J.$indexSet$ax(t1.get$_component_base$_map(), "dangerouslySetInnerHTML", t3); - return t1.call$0(); - }, - _startIdenticalErrorTimer$0: function() { - var t1, t2, t3, timer, _this = this; - if (_this._identicalErrorTimer != null) - return; - t1 = _this._error_boundary_recoverable$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.ErrorBPi); - if (t1 == null) - t1 = null; - type$.legacy_Duration._as(t1); - t2 = type$.legacy_void_Function._as(_this.get$_resetInternalErrorTracking()); - t3 = _this.DisposableManagerProxy__disposableProxy; - if (t3 == null) - t3 = _this.DisposableManagerProxy__disposableProxy = new L.Disposable(P.HashSet_HashSet(type$.legacy_Future_dynamic), new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null), P.HashSet_HashSet(type$.legacy__Disposable), C.DisposableState_0); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("duration")); - if (t3._disposable$_state === C.DisposableState_2) - H.throwExpression(P.StateError$("Disposable.getManagedTimer not allowed, object is disposing")); - if (t3._didDispose.future._async$_state !== 0) - H.throwExpression(P.StateError$("Disposable.getManagedTimer not allowed, object is already disposed")); - timer = L._ObservableTimer$(t1, t2); - t3._addObservableTimerDisposable$1(timer); - _this._identicalErrorTimer = timer; + serialize$2(serializers, builtSet) { + return this.serialize$3$specifiedType(serializers, builtSet, B.FullType_null_List_empty_false); }, - _resetInternalErrorTracking$0: function() { - var t1, _this = this; - _this._domAtTimeOfError = null; - _this.set$_errorLog(H.setRuntimeTypeInfo([], type$.JSArray_legacy_String)); - _this.set$_callStackLog(H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactErrorInfo)); - t1 = _this._identicalErrorTimer; - if (t1 != null) { - t1._timer.cancel$0(0); - t1._disposable$_complete$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, elementType, result; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = B.FullType_null_List_empty_false; + else { + if (0 >= t2) + return A.ioore(t1, 0); + elementType = t1[0]; } - _this._identicalErrorTimer = null; - }, - get$_loggerName: function() { - if (this._error_boundary_recoverable$_cachedTypedProps.get$logger() != null) - return this._error_boundary_recoverable$_cachedTypedProps.get$logger().name; - var t1 = this._error_boundary_recoverable$_cachedTypedProps.get$loggerName(); - return t1 == null ? "over_react.ErrorBoundary" : t1; - }, - _logErrorCaughtByErrorBoundary$3$isRecoverable: function(error, info, isRecoverable) { - var t1, message, t2; - if (!H.boolConversionCheck(this._error_boundary_recoverable$_cachedTypedProps.get$shouldLogErrors())) - return; - t1 = J.getInterceptor$x(info); - message = isRecoverable ? "An error was caught by an ErrorBoundary: \nInfo: " + H.S(t1.get$componentStack(info)) : string$.An_unr + H.S(t1.get$componentStack(info)); - t2 = this._error_boundary_recoverable$_cachedTypedProps.get$logger(); - if (t2 == null) - t2 = F.Logger_Logger(this.get$_loggerName()); - t1 = t1.get$dartStackTrace(info); - t2.toString; - t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); + result = isUnderspecified ? A.SetBuilder_SetBuilder(B.List_empty, type$.Object) : type$.SetBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); + result.replace$1(0, J.map$1$1$ax(serialized, new A.BuiltSetSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); + return result.build$0(); }, - _logErrorCaughtByErrorBoundary$2: function(error, info) { - return this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, true); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$_errorLog: function(_errorLog) { - this._errorLog = type$.legacy_List_legacy_String._as(_errorLog); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types(receiver) { + return this.types; }, - set$_callStackLog: function(_callStackLog) { - this._callStackLog = type$.legacy_List_legacy_ReactErrorInfo._as(_callStackLog); + get$wireName() { + return "set"; } }; - E.$RecoverableErrorBoundaryComponentFactory_closure.prototype = { - call$0: function() { - return new E._$RecoverableErrorBoundaryComponent(H.setRuntimeTypeInfo([], type$.JSArray_legacy_String), H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactErrorInfo), null); + A.BuiltSetSerializer_serialize_closure.prototype = { + call$1(item) { + return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 279 + $signature: 40 }; - E._$$RecoverableErrorBoundaryProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$RecoverableErrorBoundaryComponentFactory() : t1; + A.BuiltSetSerializer_deserialize_closure.prototype = { + call$1(item) { + return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - $isRecoverableErrorBoundaryProps: 1 - }; - E._$$RecoverableErrorBoundaryProps$PlainMap.prototype = { - get$props: function(_) { - return this._error_boundary_recoverable$_props; - } - }; - E._$$RecoverableErrorBoundaryProps$JsMap.prototype = { - get$props: function(_) { - return this._error_boundary_recoverable$_props; - } - }; - E._$$RecoverableErrorBoundaryState.prototype = { - get$$$isClassGenerated: function() { - return true; - } - }; - E._$$RecoverableErrorBoundaryState$JsMap.prototype = { - get$state: function(_) { - return this._error_boundary_recoverable$_state; - } + $signature: 40 }; - E._$RecoverableErrorBoundaryComponent.prototype = { - get$props: function(_) { - return this._error_boundary_recoverable$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._error_boundary_recoverable$_cachedTypedProps = E._$$RecoverableErrorBoundaryProps$JsMap$(R.getBackingMap(value)); + A.DateTimeSerializer.prototype = { + serialize$3$specifiedType(serializers, dateTime, specifiedType) { + type$.DateTime._as(dateTime); + if (!dateTime.isUtc) + throw A.wrapException(A.ArgumentError$value(dateTime, "dateTime", "Must be in utc for serialization.")); + return 1000 * dateTime._core$_value; }, - typedPropsFactoryJs$1: function(backingMap) { - return E._$$RecoverableErrorBoundaryProps$JsMap$(backingMap); + serialize$2(serializers, dateTime) { + return this.serialize$3$specifiedType(serializers, dateTime, B.FullType_null_List_empty_false); }, - set$state: function(_, value) { - this.state = value; - this._error_boundary_recoverable$_cachedTypedState = E._$$RecoverableErrorBoundaryState$JsMap$(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t2, + t1 = B.JSNumber_methods.round$0(A._asIntS(serialized) / 1000); + if (Math.abs(t1) <= 864e13) + t2 = false; + else + t2 = true; + if (t2) + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + t1, null)); + A.checkNotNullable(true, "isUtc", type$.bool); + return new A.DateTime(t1, true); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new E._$$RecoverableErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); - t1.get$$$isClassGenerated(); - t1._error_boundary_recoverable$_state = backingMap; - return t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$displayName: function(_) { - return "RecoverableErrorBoundary"; + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - get$$$defaultConsumedProps: function() { - return C.Map_EU4AN.get$values(C.Map_EU4AN); + get$wireName() { + return "DateTime"; } }; - E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; - E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { - set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { - this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + A.DoubleSerializer.prototype = { + serialize$3$specifiedType(serializers, aDouble, specifiedType) { + A._asDoubleS(aDouble); + if (isNaN(aDouble)) + return "NaN"; + else if (aDouble == 1 / 0 || aDouble == -1 / 0) + return B.JSNumber_methods.get$isNegative(aDouble) ? "-INF" : "INF"; + else + return aDouble; }, - set$loggerName: function(loggerName) { - this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + serialize$2(serializers, aDouble) { + return this.serialize$3$specifiedType(serializers, aDouble, B.FullType_null_List_empty_false); }, - set$shouldLogErrors: function(shouldLogErrors) { - this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); - } - }; - E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; - E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { - set$hasError: function(hasError) { - this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1 = J.getInterceptor$(serialized); + if (t1.$eq(serialized, "NaN")) + return 0 / 0; + else if (t1.$eq(serialized, "-INF")) + return -1 / 0; + else if (t1.$eq(serialized, "INF")) + return 1 / 0; + else + return A._asNumS(serialized); }, - set$showFallbackUIOnError: function(showFallbackUIOnError) { - this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); - } - }; - E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; - Q.ReactPropsMixin.prototype = { - get$children: function(_) { - var _this = this, - _s8_ = "children", - value = J.$index$asx(_this.get$props(_this), _s8_); - if (value == null) - value = null; - if (type$.legacy_List_dynamic._is(value)) - return value; - if (value == null) - return J.containsKey$1$x(_this.get$props(_this), _s8_) ? C.List_empty : null; - return [value]; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$key: function(_, value) { - var t1 = this.get$props(this); - J.$indexSet$ax(t1, "key", value == null ? null : J.toString$0$(value)); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$ref: function(_, value) { - J.$indexSet$ax(this.get$props(this), "ref", value); + get$wireName() { + return "double"; } }; - Q.DomPropsMixin.prototype = { - get$checked: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.checked); - return H._asBoolS(t1 == null ? null : t1); - }, - set$checked: function(_, value) { - this.get$props(this).jsObject.checked = F.DartValueWrapper_wrapIfNeeded(value); - }, - set$disabled: function(_, value) { - this.get$props(this).jsObject.disabled = F.DartValueWrapper_wrapIfNeeded(value); - }, - set$_raw$DomProps$style: function(value) { - this.get$props(this).jsObject.style = F.DartValueWrapper_wrapIfNeeded(value); - }, - set$className: function(_, value) { - this.get$props(this).jsObject.className = F.DartValueWrapper_wrapIfNeeded(value); + A.DurationSerializer.prototype = { + serialize$3$specifiedType(serializers, duration, specifiedType) { + return type$.Duration._as(duration)._duration; }, - set$id: function(_, value) { - this.get$props(this).jsObject.id = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, duration) { + return this.serialize$3$specifiedType(serializers, duration, B.FullType_null_List_empty_false); }, - set$title: function(_, value) { - this.get$props(this).jsObject.title = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A.Duration$(A._asIntS(serialized), 0, 0); }, - set$height: function(_, value) { - this.get$props(this).jsObject.height = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$pattern: function(_, value) { - this.get$props(this).jsObject.pattern = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$src: function(_, value) { - this.get$props(this).jsObject.src = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "Duration"; + } + }; + A.Int64Serializer.prototype = { + serialize$3$specifiedType(serializers, int64, specifiedType) { + return type$.Int64._as(int64)._toRadixString$1(10); }, - set$step: function(_, value) { - this.get$props(this).jsObject.step = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, int64) { + return this.serialize$3$specifiedType(serializers, int64, B.FullType_null_List_empty_false); }, - get$target: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.target); - return t1 == null ? null : t1; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1 = A.Int64__parseRadix(A._asStringS(serialized), 10, true); + t1.toString; + return t1; }, - set$type: function(_, value) { - this.get$props(this).jsObject.type = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$value: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.value); - return t1 == null ? null : t1; + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$value: function(_, value) { - this.get$props(this).jsObject.value = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "Int64"; + } + }; + A.IntSerializer.prototype = { + serialize$3$specifiedType(serializers, integer, specifiedType) { + return A._asIntS(integer); }, - set$width: function(_, value) { - this.get$props(this).jsObject.width = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, integer) { + return this.serialize$3$specifiedType(serializers, integer, B.FullType_null_List_empty_false); }, - set$onChange: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - this.get$props(this).jsObject.onChange = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._asIntS(serialized); }, - set$onSubmit: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - this.get$props(this).jsObject.onSubmit = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$onClick: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - this.get$props(this).jsObject.onClick = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$onMouseEnter: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - this.get$props(this).jsObject.onMouseEnter = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "int"; + } + }; + A.JsonObjectSerializer.prototype = { + serialize$3$specifiedType(serializers, jsonObject, specifiedType) { + type$.JsonObject._as(jsonObject); + return jsonObject.get$value(jsonObject); }, - set$onMouseLeave: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - this.get$props(this).jsObject.onMouseLeave = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, jsonObject) { + return this.serialize$3$specifiedType(serializers, jsonObject, B.FullType_null_List_empty_false); }, - set$onMouseMove: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - this.get$props(this).jsObject.onMouseMove = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A.JsonObject_JsonObject(serialized); }, - set$onMouseUp: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - this.get$props(this).jsObject.onMouseUp = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$onPointerDown: function(value) { - type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); - this.get$props(this).jsObject.onPointerDown = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$onPointerUp: function(value) { - type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); - this.get$props(this).jsObject.onPointerUp = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "JsonObject"; } }; - Q.SvgPropsMixin.prototype = { - set$cx: function(_, value) { - this.props.jsObject.cx = F.DartValueWrapper_wrapIfNeeded(value); - }, - set$cy: function(_, value) { - this.props.jsObject.cy = F.DartValueWrapper_wrapIfNeeded(value); + A.NullSerializer.prototype = { + serialize$3$specifiedType(serializers, value, specifiedType) { + type$.Null._as(value); + throw A.wrapException(A.UnimplementedError$(null)); }, - set$d: function(_, value) { - this.props.jsObject.d = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, value) { + return this.serialize$3$specifiedType(serializers, value, B.FullType_null_List_empty_false); }, - set$dominantBaseline: function(value) { - this.props.jsObject.dominantBaseline = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + throw A.wrapException(A.UnimplementedError$(null)); }, - set$dy: function(_, value) { - this.props.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$fill: function(_, value) { - this.props.jsObject.fill = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$fontSize: function(_, value) { - this.props.jsObject.fontSize = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "Null"; + } + }; + A.NumSerializer.prototype = { + serialize$3$specifiedType(serializers, number, specifiedType) { + A._asNumS(number); + if (isNaN(number)) + return "NaN"; + else if (number == 1 / 0 || number == -1 / 0) + return B.JSNumber_methods.get$isNegative(number) ? "-INF" : "INF"; + else + return number; }, - get$offset: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this.props.jsObject.offset); - return t1 == null ? null : t1; + serialize$2(serializers, number) { + return this.serialize$3$specifiedType(serializers, number, B.FullType_null_List_empty_false); }, - set$points: function(_, value) { - this.props.jsObject.points = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1 = J.getInterceptor$(serialized); + if (t1.$eq(serialized, "NaN")) + return 0 / 0; + else if (t1.$eq(serialized, "-INF")) + return -1 / 0; + else if (t1.$eq(serialized, "INF")) + return 1 / 0; + else + return A._asNumS(serialized); }, - set$r: function(_, value) { - this.props.jsObject.r = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$startOffset: function(_, value) { - this.props.jsObject.startOffset = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$stroke: function(_, value) { - this.props.jsObject.stroke = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "num"; + } + }; + A.RegExpSerializer.prototype = { + serialize$3$specifiedType(serializers, value, specifiedType) { + return type$.RegExp._as(value).pattern; }, - set$strokeWidth: function(value) { - this.props.jsObject.strokeWidth = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, value) { + return this.serialize$3$specifiedType(serializers, value, B.FullType_null_List_empty_false); }, - set$textAnchor: function(value) { - this.props.jsObject.textAnchor = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A.RegExp_RegExp(A._asStringS(serialized), true); }, - set$transform: function(_, value) { - this.props.jsObject.transform = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$x: function(_, value) { - this.props.jsObject.x = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$x1: function(_, value) { - this.props.jsObject.x1 = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "RegExp"; + } + }; + A.StringSerializer.prototype = { + serialize$3$specifiedType(serializers, string, specifiedType) { + return A._asStringS(string); }, - set$x2: function(_, value) { - this.props.jsObject.x2 = F.DartValueWrapper_wrapIfNeeded(value); + serialize$2(serializers, string) { + return this.serialize$3$specifiedType(serializers, string, B.FullType_null_List_empty_false); }, - set$xlinkHref: function(value) { - this.props.jsObject.xlinkHref = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._asStringS(serialized); }, - set$y1: function(_, value) { - this.props.jsObject.y1 = F.DartValueWrapper_wrapIfNeeded(value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$y2: function(_, value) { - this.props.jsObject.y2 = F.DartValueWrapper_wrapIfNeeded(value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - set$y: function(_, value) { - this.props.jsObject.y = F.DartValueWrapper_wrapIfNeeded(value); + get$wireName() { + return "String"; } }; - Q.UbiquitousDomPropsMixin.prototype = { - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "id", value); - }, - set$title: function(_, value) { - J.$indexSet$ax(this.get$props(this), "title", value); + A.Uint8ListSerializer.prototype = { + serialize$3$specifiedType(serializers, uint8list, specifiedType) { + uint8list = type$.Base64Codec._eval$1("Codec.S")._as(type$.Uint8List._as(uint8list)); + return B.C_Base64Codec.get$encoder().convert$1(uint8list); }, - set$onChange: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onChange", value); + serialize$2(serializers, uint8list) { + return this.serialize$3$specifiedType(serializers, uint8list, B.FullType_null_List_empty_false); }, - set$onSubmit: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onSubmit", value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return B.C_Base64Decoder.convert$1(A._asStringS(serialized)); }, - set$onClick: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onClick", value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$onMouseEnter: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onMouseEnter", value); + get$types(_) { + return A.BuiltList_BuiltList$from([B.Type_Uint8List_WLA], type$.Type); }, - set$onMouseLeave: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onMouseLeave", value); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$wireName() { + return "UInt8List"; + } + }; + A.UriSerializer.prototype = { + serialize$3$specifiedType(serializers, uri, specifiedType) { + return type$.Uri._as(uri).toString$0(0); }, - set$onMouseMove: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onMouseMove", value); + serialize$2(serializers, uri) { + return this.serialize$3$specifiedType(serializers, uri, B.FullType_null_List_empty_false); }, - set$onMouseUp: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onMouseUp", value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A.Uri_parse(A._asStringS(serialized)); }, - set$onPointerDown: function(value) { - type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onPointerDown", value); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$onPointerUp: function(value) { - type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "onPointerUp", value); - } - }; - B.GeneratedClass.prototype = {}; - B.UiProps0.prototype = { - get$props: function(_) { - return H.throwExpression(B.UngeneratedError$(C.Symbol_props, null)); - } - }; - B.UiState.prototype = { - get$state: function(_) { - return H.throwExpression(B.UngeneratedError$(C.Symbol_state, null)); - } - }; - B.UngeneratedError.prototype = { - toString$0: function(_) { - return "UngeneratedError: " + C.JSString_methods.trimRight$0(this.message) + ".\n\nEnsure that you're running a build via build_runner."; + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - get$message: function(receiver) { - return this.message; + get$wireName() { + return "Uri"; } }; - B._UiProps_UiProps_GeneratedClass.prototype = {}; - B._UiState_UiState_GeneratedClass.prototype = {}; - S.UiState0.prototype = {$isMap: 1}; - S.UiProps.prototype = { - modifyProps$1: function(modifier) { - type$.legacy_dynamic_Function_legacy_Map_dynamic_dynamic._as(modifier); - modifier.call$1(this); - }, - addTestId$1: function(value) { - var _this = this, - _s12_ = "data-test-id"; - return; - if (H._asStringS(J.$index$asx(_this.get$props(_this), _s12_)) == null) - J.$indexSet$ax(_this.get$props(_this), _s12_, value); - else - J.$indexSet$ax(_this.get$props(_this), _s12_, J.$add$ansx(H._asStringS(J.$index$asx(_this.get$props(_this), _s12_)), " " + value)); - }, - call$10: function(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10) { - var childArguments, t1, t2, t3; - if (c1 === C.C_NotSpecified) - childArguments = C.List_empty; - else if (c2 === C.C_NotSpecified) - childArguments = [c1]; - else if (c3 === C.C_NotSpecified) - childArguments = [c1, c2]; - else if (c4 === C.C_NotSpecified) - childArguments = [c1, c2, c3]; - else if (c5 === C.C_NotSpecified) - childArguments = [c1, c2, c3, c4]; - else if (c6 === C.C_NotSpecified) - childArguments = [c1, c2, c3, c4, c5]; - else if (c7 === C.C_NotSpecified) - childArguments = [c1, c2, c3, c4, c5, c6]; - else { - t1 = [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified]; - t2 = H._arrayInstanceType(t1); - t3 = t2._eval$1("TakeWhileIterable<1>"); - childArguments = P.List_List$of(new H.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new S.UiProps_call_closure()), t3), true, t3._eval$1("Iterable.E")); - } - return this.get$componentFactory().build$2(this.get$props(this), childArguments); - }, - call$1: function(c1) { - return this.call$10(c1, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + A.StandardJsonPlugin.prototype = { + afterSerialize$2(object, specifiedType) { + var t1; + if (type$.List_dynamic._is(object)) { + t1 = specifiedType.root; + t1 = t1 !== B.Type_BuiltList_iTR && t1 !== B.Type_BuiltSet_fcN && t1 !== B.Type_JsonObject_gyf; + } else + t1 = false; + if (t1) + if (specifiedType.root == null) + return this._toMapWithDiscriminator$1(object); + else + return this._toMap$2(object, this._needsEncodedKeys$1(specifiedType)); + else + return object; }, - call$2: function(c1, c2) { - return this.call$10(c1, c2, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + beforeDeserialize$2(object, specifiedType) { + var t1; + if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== B.Type_JsonObject_gyf) { + t1 = specifiedType.root; + if (t1 == null) + return this._toListUsingDiscriminator$1(object); + else + return this._toList$3$keepNulls(object, this._needsEncodedKeys$1(specifiedType), t1 === B.Type_BuiltMap_qd4); + } else + return object; }, - call$0: function() { - return this.call$10(C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + _needsEncodedKeys$1(specifiedType) { + var t1; + if (specifiedType.root === B.Type_BuiltMap_qd4) { + t1 = specifiedType.parameters; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].root !== B.Type_String_k8F; + } else + t1 = false; + return t1; }, - call$3: function(c1, c2, c3) { - return this.call$10(c1, c2, c3, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + _toMap$2(list, needsEncodedKeys) { + var t2, key, value, + result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object), + t1 = J.getInterceptor$asx(list), + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$tdiv(); + if (!(i !== B.JSInt_methods._tdivFast$1(t2, 2))) + break; + t2 = i * 2; + key = t1.$index(list, t2); + value = t1.$index(list, t2 + 1); + result.$indexSet(0, needsEncodedKeys ? B.C_JsonCodec.encode$1(key) : A._asStringS(key), value); + ++i; + } + return result; }, - call$4: function(c1, c2, c3, c4) { - return this.call$10(c1, c2, c3, c4, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + _toMapWithDiscriminator$1(list) { + var needToEncodeKeys, i, result, t3, key, + t1 = J.getInterceptor$asx(list), + type = t1.$index(list, 0), + t2 = J.getInterceptor$(type); + if (t2.$eq(type, "list")) + return A.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.sublist$1(list, 1)], type$.String, type$.Object); + if (t1.get$length(list) === 2) + return A.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.$index(list, 1)], type$.String, type$.nullable_Object); + if (t2.$eq(type, "map")) { + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$sub(); + if (!(i !== B.JSInt_methods._tdivFast$1(t2 - 1, 2))) { + needToEncodeKeys = false; + break; + } + if (typeof t1.$index(list, i * 2 + 1) != "string") { + type = "encoded_map"; + needToEncodeKeys = true; + break; + } + ++i; + } + } else + needToEncodeKeys = false; + result = A.LinkedHashMap_LinkedHashMap$_literal(["$", type], type$.String, type$.Object); + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$sub(); + if (!(i !== B.JSInt_methods._tdivFast$1(t2 - 1, 2))) + break; + t2 = i * 2; + t3 = t2 + 1; + key = needToEncodeKeys ? B.C_JsonCodec.encode$1(t1.$index(list, t3)) : A._asStringS(t1.$index(list, t3)); + result.$indexSet(0, key, t1.$index(list, t2 + 2)); + ++i; + } + return result; }, - call$8: function(c1, c2, c3, c4, c5, c6, c7, c8) { - return this.call$10(c1, c2, c3, c4, c5, c6, c7, c8, C.C_NotSpecified, C.C_NotSpecified); + _toList$3$keepNulls(map, hasEncodedKeys, keepNulls) { + var nullValueCount, t2, t3, result, t1 = {}; + if (keepNulls) + nullValueCount = 0; + else { + t2 = J.where$1$ax(J.get$values$x(map), new A.StandardJsonPlugin__toList_closure()); + nullValueCount = t2.get$length(t2); + } + t2 = J.getInterceptor$asx(map); + t3 = t2.get$length(map); + if (typeof t3 !== "number") + return t3.$sub(); + result = A.List_List$filled((t3 - nullValueCount) * 2, 0, false, type$.nullable_Object); + t1.i = 0; + t2.forEach$1(map, new A.StandardJsonPlugin__toList_closure0(t1, this, keepNulls, result, hasEncodedKeys)); + return result; }, - call$7: function(c1, c2, c3, c4, c5, c6, c7) { - return this.call$10(c1, c2, c3, c4, c5, c6, c7, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + _toListUsingDiscriminator$1(map) { + var t3, result, needToDecodeKeys, nullValueCount, t1 = {}, + t2 = J.getInterceptor$asx(map), + type = t2.$index(map, "$"); + if (type == null) + throw A.wrapException(A.ArgumentError$("Unknown type on deserialization. Need either specifiedType or discriminator field.", null)); + t3 = J.getInterceptor$(type); + if (t3.$eq(type, "list")) { + t1 = [type]; + B.JSArray_methods.addAll$1(t1, type$.Iterable_dynamic._as(t2.$index(map, ""))); + return t1; + } + if (t2.containsKey$1(map, "")) { + result = A.List_List$filled(2, 0, false, type$.nullable_Object); + B.JSArray_methods.$indexSet(result, 0, type); + B.JSArray_methods.$indexSet(result, 1, t2.$index(map, "")); + return result; + } + needToDecodeKeys = t3.$eq(type, "encoded_map"); + if (needToDecodeKeys) + type = "map"; + t3 = J.where$1$ax(t2.get$values(map), new A.StandardJsonPlugin__toListUsingDiscriminator_closure()); + nullValueCount = t3.get$length(t3); + t3 = t2.get$length(map); + if (typeof t3 !== "number") + return t3.$sub(); + result = A.List_List$filled((t3 - nullValueCount) * 2 - 1, 0, false, type$.Object); + B.JSArray_methods.$indexSet(result, 0, type); + t1.i = 1; + t2.forEach$1(map, new A.StandardJsonPlugin__toListUsingDiscriminator_closure0(t1, this, result, needToDecodeKeys)); + return result; }, - set$componentFactory: function(componentFactory) { - this.componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + $isSerializerPlugin: 1 + }; + A.StandardJsonPlugin__toList_closure.prototype = { + call$1(value) { + return value == null; }, - get$componentFactory: function() { - return this.componentFactory; - } + $signature: 36 }; - S.UiProps_call_closure.prototype = { - call$1: function(child) { - return child !== C.C_NotSpecified; + A.StandardJsonPlugin__toList_closure0.prototype = { + call$2(key, value) { + var t1, t2, t3, _this = this; + if (!_this.keepNulls && value == null) + return; + t1 = _this.result; + t2 = _this._box_0; + t3 = t2.i; + B.JSArray_methods.$indexSet(t1, t3, _this.hasEncodedKeys ? B.C_JsonCodec.decode$1(0, A._asStringS(key)) : key); + B.JSArray_methods.$indexSet(t1, t2.i + 1, value); + t2.i += 2; }, - $signature: 57 + $signature: 42 }; - S.PropsMapViewMixin.prototype = { - get$_component_base$_map: function() { - return this.get$props(this); + A.StandardJsonPlugin__toListUsingDiscriminator_closure.prototype = { + call$1(value) { + return value == null; }, - toString$0: function(_) { - return H.getRuntimeType(this).toString$0(0) + ": " + H.S(M._prettyObj(this.get$props(this))); - } + $signature: 36 }; - S.StateMapViewMixin.prototype = { - get$_component_base$_map: function() { - return this.get$state(this); + A.StandardJsonPlugin__toListUsingDiscriminator_closure0.prototype = { + call$2(key, value) { + var t1, t2, t3; + if (J.$eq$(key, "$")) + return; + if (value == null) + return; + t1 = this.result; + t2 = this._box_0; + t3 = t2.i; + B.JSArray_methods.$indexSet(t1, t3, this.needToDecodeKeys ? B.C_JsonCodec.decode$1(0, A._asStringS(key)) : key); + B.JSArray_methods.$indexSet(t1, t2.i + 1, value); + t2.i += 2; }, - toString$0: function(_) { - return H.getRuntimeType(this).toString$0(0) + ": " + H.S(M._prettyObj(this.get$state(this))); - } + $signature: 42 }; - S.MapViewMixin.prototype = { - map$2$1: function(_, f, K2, V2) { - H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1*,2*>*(MapViewMixin.K*,MapViewMixin.V*)*")._as(f); - return J.map$2$1$ax(this.get$_component_base$_map(), f, K2._eval$1("0*"), V2._eval$1("0*")); + A.CanonicalizedMap.prototype = { + $index(_, key) { + var pair, _this = this; + if (!_this._isValidKey$1(key)) + return null; + pair = _this._base.$index(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + return pair == null ? null : pair.value; }, - map$1: function($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + $indexSet(_, key, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._eval$1("CanonicalizedMap.K")._as(key); + t2 = t1._eval$1("CanonicalizedMap.V"); + t2._as(value); + if (!_this._isValidKey$1(key)) + return; + _this._base.$indexSet(0, _this._canonicalize.call$1(key), new A.MapEntry(key, value, t1._eval$1("@")._bind$1(t2)._eval$1("MapEntry<1,2>"))); }, - get$entries: function(_) { - return J.get$entries$x(this.get$_component_base$_map()); + addAll$1(_, other) { + this.$ti._eval$1("Map")._as(other).forEach$1(0, new A.CanonicalizedMap_addAll_closure(this)); }, - removeWhere$1: function(_, predicate) { - H._instanceType(this)._eval$1("bool*(MapViewMixin.K*,MapViewMixin.V*)*")._as(predicate); - return J.removeWhere$1$ax(this.get$_component_base$_map(), predicate); + cast$2$0(_, K2, V2) { + var t1 = this._base; + return t1.cast$2$0(t1, K2, V2); }, - cast$2$0: function(_, RK, RV) { - return J.cast$2$0$ax(this.get$_component_base$_map(), RK._eval$1("0*"), RV._eval$1("0*")); + containsKey$1(_, key) { + var _this = this; + if (!_this._isValidKey$1(key)) + return false; + return _this._base.containsKey$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); }, - $index: function(_, key) { - return J.$index$asx(this.get$_component_base$_map(), key); + get$entries(_) { + var t1 = this._base; + return t1.get$entries(t1).map$1$1(0, new A.CanonicalizedMap_entries_closure(this), this.$ti._eval$1("MapEntry")); }, - $indexSet: function(_, key, value) { - var t1 = H._instanceType(this); - t1._eval$1("MapViewMixin.K*")._as(key); - t1._eval$1("MapViewMixin.V*")._as(value); - J.$indexSet$ax(this.get$_component_base$_map(), key, value); + forEach$1(_, f) { + this._base.forEach$1(0, new A.CanonicalizedMap_forEach_closure(this, this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)")._as(f))); }, - containsKey$1: function(_, key) { - return J.containsKey$1$x(this.get$_component_base$_map(), key); + get$isEmpty(_) { + return this._base._length === 0; }, - forEach$1: function(_, action) { - H._instanceType(this)._eval$1("~(MapViewMixin.K*,MapViewMixin.V*)*")._as(action); - J.forEach$1$ax(this.get$_component_base$_map(), action); + get$isNotEmpty(_) { + return this._base._length !== 0; }, - get$isEmpty: function(_) { - return J.get$isEmpty$asx(this.get$_component_base$_map()); + get$keys(_) { + var t2, t3, + t1 = this._base; + t1 = t1.get$values(t1); + t2 = this.$ti._eval$1("CanonicalizedMap.K"); + t3 = A._instanceType(t1); + return A.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new A.CanonicalizedMap_keys_closure(this)), t3._eval$1("Iterable.E"), t2); }, - get$isNotEmpty: function(_) { - return J.get$isNotEmpty$asx(this.get$_component_base$_map()); + get$length(_) { + return this._base._length; }, - get$length: function(_) { - return J.get$length$asx(this.get$_component_base$_map()); + map$2$1(_, transform, K2, V2) { + var t1 = this._base; + return t1.map$2$1(t1, new A.CanonicalizedMap_map_closure(this, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.K,CanonicalizedMap.V)")._as(transform), K2, V2), K2, V2); }, - get$keys: function(_) { - return J.get$keys$x(this.get$_component_base$_map()); + map$1($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, - remove$1: function(_, key) { - return J.remove$1$ax(this.get$_component_base$_map(), key); + remove$1(_, key) { + var pair, _this = this; + if (!_this._isValidKey$1(key)) + return null; + pair = _this._base.remove$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + return pair == null ? null : pair.value; }, - get$values: function(_) { - return J.get$values$x(this.get$_component_base$_map()); - } + removeWhere$1(_, test) { + var t1 = this._base; + return t1.removeWhere$1(t1, new A.CanonicalizedMap_removeWhere_closure(this, this.$ti._eval$1("bool(CanonicalizedMap.K,CanonicalizedMap.V)")._as(test))); + }, + get$values(_) { + var t2, t3, + t1 = this._base; + t1 = t1.get$values(t1); + t2 = this.$ti._eval$1("CanonicalizedMap.V"); + t3 = A._instanceType(t1); + return A.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new A.CanonicalizedMap_values_closure(this)), t3._eval$1("Iterable.E"), t2); + }, + toString$0(_) { + return A.MapBase_mapToString(this); + }, + _isValidKey$1(key) { + var t1; + if (this.$ti._eval$1("CanonicalizedMap.K")._is(key)) + t1 = true; + else + t1 = false; + return t1; + }, + $isMap: 1 }; - S.PropDescriptor.prototype = {}; - S.PropsMeta.prototype = { - toString$0: function(_) { - return "PropsMeta:" + H.S(this.keys); + A.CanonicalizedMap_addAll_closure.prototype = { + call$2(key, value) { + var t1 = this.$this, + t2 = t1.$ti; + t2._eval$1("CanonicalizedMap.K")._as(key); + t2._eval$1("CanonicalizedMap.V")._as(value); + t1.$indexSet(0, key, value); + return value; }, - $isConsumedProps: 1, - get$keys: function(receiver) { - return this.keys; + $signature() { + return this.$this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)"); } }; - S._AccessorMetaCollection.prototype = { - forMixin$1: function(mixinType) { - var meta = this._metaByMixin.$index(0, type$.legacy_Type._as(mixinType)); - return meta == null ? C.PropsMeta_List_empty_List_empty : meta; + A.CanonicalizedMap_entries_closure.prototype = { + call$1(e) { + var t1 = this.$this.$ti, + t2 = t1._eval$1("MapEntry>")._as(e).value; + return new A.MapEntry(t2.key, t2.value, t1._eval$1("@")._bind$1(t1._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>")); }, - get$keys: function(_) { - var t1 = this._metaByMixin; - t1 = J.expand$1$1$ax(t1.get$values(t1), new S._AccessorMetaCollection_keys_closure(this), type$.legacy_String); - return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + $signature() { + return this.$this.$ti._eval$1("MapEntry(MapEntry>)"); } }; - S._AccessorMetaCollection_keys_closure.prototype = { - call$1: function(meta) { - return J.get$keys$x(H._instanceType(this.$this)._eval$1("_AccessorMetaCollection.U*")._as(meta)); + A.CanonicalizedMap_forEach_closure.prototype = { + call$2(key, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(key); + t1._eval$1("MapEntry")._as(pair); + return this.f.call$2(pair.key, pair.value); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("List*(_AccessorMetaCollection.U*)"); + $signature() { + return this.$this.$ti._eval$1("~(CanonicalizedMap.C,MapEntry)"); } }; - S.PropsMetaCollection.prototype = {$isConsumedProps: 1, $isPropsMeta: 1}; - S._UiProps_MapBase_MapViewMixin.prototype = {}; - S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin.prototype = {}; - S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin.prototype = {}; - S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin.prototype = {}; - S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin.prototype = {}; - S._UiState_Object_MapViewMixin.prototype = {}; - S._UiState_Object_MapViewMixin_StateMapViewMixin.prototype = {}; - Z.UiComponent2.prototype = { - get$props: function(_) { - throw H.wrapException(B.UngeneratedError$(C.Symbol_props, string$.x0ax0aThis)); - }, - get$$$defaultConsumedProps: function() { - return H.throwExpression(B.UngeneratedError$(C.Symbol_$defaultConsumedProps, null)); - }, - get$consumedProps: function() { - return this.get$$$defaultConsumedProps(); + A.CanonicalizedMap_keys_closure.prototype = { + call$1(pair) { + return this.$this.$ti._eval$1("MapEntry")._as(pair).key; }, - addUnconsumedProps$1: function(props) { - var consumedPropKeys = J.map$1$1$ax(this.get$consumedProps(), new Z.UiComponent2_addUnconsumedProps_closure(), type$.legacy_List_legacy_String); - R.forwardUnconsumedProps(this.get$props(this), consumedPropKeys, props); + $signature() { + return this.$this.$ti._eval$1("CanonicalizedMap.K(MapEntry)"); } }; - Z.UiComponent2_addUnconsumedProps_closure.prototype = { - call$1: function(consumedProps) { - type$.legacy_ConsumedProps._as(consumedProps); - return consumedProps.get$keys(consumedProps); + A.CanonicalizedMap_map_closure.prototype = { + call$2(_, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(_); + t1._eval$1("MapEntry")._as(pair); + return this.transform.call$2(pair.key, pair.value); }, - $signature: 284 - }; - Z.UiStatefulComponent2.prototype = {}; - Z.UiStatefulMixin2.prototype = { - get$state: function(_) { - throw H.wrapException(B.UngeneratedError$(C.Symbol_state, string$.x0ax0aThis)); + $signature() { + return this.$this.$ti._bind$1(this.K2)._bind$1(this.V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.C,MapEntry)"); } }; - Z.UiComponent2BridgeImpl.prototype = {}; - Z._UiComponent2_Component2_DisposableManagerProxy.prototype = { - componentWillUnmount$0: function() { - this.super$Component2$componentWillUnmount(); - var t1 = this.DisposableManagerProxy__disposableProxy; - if (t1 != null) - t1.dispose$0(); + A.CanonicalizedMap_removeWhere_closure.prototype = { + call$2(_, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(_); + t1._eval$1("MapEntry")._as(pair); + return this.test.call$2(pair.key, pair.value); + }, + $signature() { + return this.$this.$ti._eval$1("bool(CanonicalizedMap.C,MapEntry)"); } }; - Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass.prototype = {}; - Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2.prototype = {}; - B.ComponentTypeMeta.prototype = {}; - Z.DisposableManagerProxy.prototype = {}; - M.NotSpecified.prototype = {}; - Y._ReduxDevToolsExtensionConnection.prototype = {}; - X.$ConnectPropsMixin.prototype = {}; - X.connect_closure.prototype = { - call$1: function(x) { - return x == null; + A.CanonicalizedMap_values_closure.prototype = { + call$1(pair) { + return this.$this.$ti._eval$1("MapEntry")._as(pair).value; }, - $signature: 57 + $signature() { + return this.$this.$ti._eval$1("CanonicalizedMap.V(MapEntry)"); + } }; - X.connect_closure0.prototype = { - call$1: function(x) { - return x == null; + A.DefaultEquality.prototype = { + equals$2(e1, e2) { + return J.$eq$(e1, e2); }, - $signature: 57 - }; - X.connect_wrapWithConnect.prototype = { - call$1: function(factory) { - var dartComponentFactory, dartComponentClass, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, connectOptions, t15, hoc, _this = this, - t1 = _this.TProps; - t1._eval$1("0*([Map<@,@>*])*")._as(factory); - dartComponentFactory = factory.call$0().get$componentFactory(); - dartComponentClass = dartComponentFactory.get$type(dartComponentFactory); - B.enforceMinimumComponentVersionFor(dartComponentFactory); - t2 = new X.connect_wrapWithConnect_jsMapFromProps(); - t3 = new X.connect_wrapWithConnect_jsPropsToTProps(factory, t1); - t4 = new X.connect_wrapWithConnect_allowInteropWithArgCount(); - t5 = _this.mapStateToProps; - t6 = _this.TReduxState; - t7 = _this.mapStateToPropsWithOwnProps; - t8 = _this.makeMapStateToProps; - t9 = _this.makeMapStateToPropsWithOwnProps; - t10 = _this.mapDispatchToProps; - t11 = _this.mapDispatchToPropsWithOwnProps; - t12 = _this.makeMapDispatchToProps; - t13 = _this.makeMapDispatchToPropsWithOwnProps; - t14 = _this.context; - t14 = t14 == null ? null : t14.reactDartContext._jsThis; - if (t14 == null) - t14 = self.ReactRedux.ReactReduxContext; - connectOptions = {forwardRef: _this.forwardRef, pure: _this.pure, context: t14}; - t14 = type$.legacy_legacy_bool_Function_2_legacy_JsMap_and_legacy_JsMap; - t15 = J.getInterceptor$x(connectOptions); - t15.set$areOwnPropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreOwnPropsEqual(_this.areOwnPropsEqual, t3), t14)); - t15.set$areStatePropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreStatePropsEqual(_this.areStatePropsEqual, t3), t14)); - t15.set$areMergedPropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreMergedPropsEqual(_this.areMergedPropsEqual, t3), t14)); - t5 = new X.connect_wrapWithConnect_interopMapStateToPropsHandler(t5, t4, new X.connect_wrapWithConnect_handleMapStateToProps(t2, t5, t6), t7, new X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t2, t7, t3, t6), t8, new X.connect_wrapWithConnect_handleMakeMapStateToProps(t8, t3, t2, t4, t6), t9, new X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t9, t3, t2, t4, t6)).call$0(); - t4 = new X.connect_wrapWithConnect_interopMapDispatchToPropsHandler(t10, t4, new X.connect_wrapWithConnect_handleMapDispatchToProps(t2, t10), t11, new X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t2, t11, t3), t12, new X.connect_wrapWithConnect_handleMakeMapDispatchToProps(t12, t3, t2, t4), t13, new X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t13, t3, t2, t4)).call$0(); - hoc = X._jsConnect(t5, t4, null, connectOptions).call$1(type$.legacy_ReactClass._as(dartComponentClass)); - t2 = J.get$defaultProps$x(hoc); - self.Object.assign({}, t2); - dartComponentFactory.get$type(dartComponentFactory); - hoc._componentTypeMeta = new B.ComponentTypeMeta(false); - return new X.connect_wrapWithConnect_connectedFactory(factory, new A.ReactDartComponentFactoryProxy2(hoc, type$.ReactDartComponentFactoryProxy2_legacy_Component2), t1); + hash$1(_, e) { + return J.get$hashCode$(e); }, - $signature: function() { - return this.TProps._eval$1("0*([Map<@,@>*])*(0*([Map<@,@>*])*)"); - } - }; - X.connect_wrapWithConnect_jsMapFromProps.prototype = { - call$1: function(props) { - return L.jsBackingMapOrJsCopy(props instanceof S.UiProps ? props.get$props(props) : props); + isValidKey$1(o) { + return true; }, - $signature: 285 + $isEquality: 1 }; - X.connect_wrapWithConnect_jsPropsToTProps.prototype = { - call$1: function(jsProps) { - return this.factory.call$1(new L.JsBackedMap(jsProps)); + A.IterableEquality.prototype = { + equals$2(elements1, elements2) { + var it1, it2, hasNext, + t1 = this.$ti._eval$1("Iterable<1>?"); + t1._as(elements1); + t1._as(elements2); + if (elements1 === elements2) + return true; + it1 = J.get$iterator$ax(elements1); + it2 = J.get$iterator$ax(elements2); + for (t1 = this._elementEquality; true;) { + hasNext = it1.moveNext$0(); + if (hasNext !== it2.moveNext$0()) + return false; + if (!hasNext) + return true; + if (!t1.equals$2(it1.get$current(it1), it2.get$current(it2))) + return false; + } }, - $signature: function() { - return this.TProps._eval$1("0*(JsMap*)"); - } + hash$1(_, elements) { + var t1, t2, hash, c; + this.$ti._eval$1("Iterable<1>?")._as(elements); + for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { + c = t2.hash$1(0, t1.get$current(t1)); + if (typeof c !== "number") + return A.iae(c); + hash = hash + c & 2147483647; + hash = hash + (hash << 10 >>> 0) & 2147483647; + hash ^= hash >>> 6; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 }; - X.connect_wrapWithConnect_allowInteropWithArgCount.prototype = { - call$1$2: function(dartFunction, count, $T) { - var t1, interopFunction; - H.checkTypeBound($T, type$.legacy_Function, "T", "call"); - t1 = $T._eval$1("0*"); - interopFunction = P.allowInterop(t1._as(dartFunction), t1); - t1 = window.Object; - t1.defineProperty.apply(t1, H.setRuntimeTypeInfo([interopFunction, "length", P.jsify(P.LinkedHashMap_LinkedHashMap$_literal(["value", count], type$.legacy_String, type$.legacy_int))], type$.JSArray_legacy_Object)); - return interopFunction; + A.ListEquality.prototype = { + equals$2(list1, list2) { + var $length, t2, t3, i, + t1 = this.$ti._eval$1("List<1>?"); + t1._as(list1); + t1._as(list2); + if (list1 == null ? list2 == null : list1 === list2) + return true; + if (list1 == null || list2 == null) + return false; + t1 = J.getInterceptor$asx(list1); + $length = t1.get$length(list1); + t2 = J.getInterceptor$asx(list2); + if ($length != t2.get$length(list2)) + return false; + if (typeof $length !== "number") + return A.iae($length); + t3 = this._elementEquality; + i = 0; + for (; i < $length; ++i) + if (!t3.equals$2(t1.$index(list1, i), t2.$index(list2, i))) + return false; + return true; }, - call$2: function(dartFunction, count) { - return this.call$1$2(dartFunction, count, type$.legacy_Function); + hash$1(_, list) { + var t1, t2, hash, i, t3, c; + this.$ti._eval$1("List<1>?")._as(list); + if (list == null) + return B.JSNull_methods.get$hashCode(null); + t1 = J.getInterceptor$asx(list); + t2 = this._elementEquality; + hash = 0; + i = 0; + while (true) { + t3 = t1.get$length(list); + if (typeof t3 !== "number") + return A.iae(t3); + if (!(i < t3)) + break; + c = t2.hash$1(0, t1.$index(list, i)); + if (typeof c !== "number") + return A.iae(c); + hash = hash + c & 2147483647; + hash = hash + (hash << 10 >>> 0) & 2147483647; + hash ^= hash >>> 6; + ++i; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; }, - $signature: 286 + $isEquality: 1 }; - X.connect_wrapWithConnect_handleMapStateToProps.prototype = { - call$1: function(jsState) { - return this.jsMapFromProps.call$1(this.mapStateToProps.call$1(G.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState._eval$1("0*")))); + A._UnorderedEquality.prototype = { + equals$2(elements1, elements2) { + var counts, $length, e, count, + t1 = A._instanceType(this), + t2 = t1._eval$1("_UnorderedEquality.T?"); + t2._as(elements1); + t2._as(elements2); + if (elements1 === elements2) + return true; + t2 = this._elementEquality; + counts = A.HashMap_HashMap(t1._eval$1("bool(_UnorderedEquality.E,_UnorderedEquality.E)")._as(t2.get$equals()), t1._eval$1("int(_UnorderedEquality.E)")._as(t2.get$hash(t2)), t2.get$isValidKey(), t1._eval$1("_UnorderedEquality.E"), type$.int); + for (t1 = J.get$iterator$ax(elements1), $length = 0; t1.moveNext$0();) { + e = t1.get$current(t1); + count = counts.$index(0, e); + counts.$indexSet(0, e, (count == null ? 0 : count) + 1); + ++$length; + } + for (t1 = J.get$iterator$ax(elements2); t1.moveNext$0();) { + e = t1.get$current(t1); + count = counts.$index(0, e); + if (count == null || count === 0) + return false; + if (typeof count !== "number") + return count.$sub(); + counts.$indexSet(0, e, count - 1); + --$length; + } + return $length === 0; }, - $signature: 150 - }; - X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps.prototype = { - call$2: function(jsState, jsOwnProps) { - var _this = this; - type$.legacy_JsMap._as(jsOwnProps); - return _this.jsMapFromProps.call$1(_this.mapStateToPropsWithOwnProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState._eval$1("0*")), _this.jsPropsToTProps.call$1(jsOwnProps))); + hash$1(_, elements) { + var t1, t2, hash, c; + A._instanceType(this)._eval$1("_UnorderedEquality.T?")._as(elements); + for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { + c = t2.hash$1(0, t1.get$current(t1)); + if (typeof c !== "number") + return A.iae(c); + hash = hash + c & 2147483647; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 149 + $isEquality: 1 }; - X.connect_wrapWithConnect_handleMakeMapStateToProps.prototype = { - call$2: function(initialJsState, initialJsOwnProps) { - var t1, _this = this; - type$.legacy_JsMap._as(initialJsOwnProps); - t1 = _this.TReduxState; - return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(_this.jsMapFromProps, _this.makeMapStateToProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(initialJsState, t1._eval$1("0*")), _this.jsPropsToTProps.call$1(initialJsOwnProps)), t1), 1, type$.legacy_legacy_JsMap_Function_legacy_Object); + A.SetEquality.prototype = {}; + A._MapEntry.prototype = { + get$hashCode(_) { + var t1 = this.equality, + t2 = t1._keyEquality.hash$1(0, this.key); + if (typeof t2 !== "number") + return A.iae(t2); + t1 = t1._valueEquality.hash$1(0, this.value); + if (typeof t1 !== "number") + return A.iae(t1); + return 3 * t2 + 7 * t1 & 2147483647; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 291 - }; - X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory.prototype = { - call$1: function(jsState) { - return this.jsMapFromProps.call$1(this.mapToFactory.call$1(G.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState._eval$1("0*")))); + $eq(_, other) { + var t1; + if (other == null) + return false; + if (other instanceof A._MapEntry) { + t1 = this.equality; + t1 = t1._keyEquality.equals$2(this.key, other.key) && t1._valueEquality.equals$2(this.value, other.value); + } else + t1 = false; + return t1; }, - $signature: 150 + get$value(receiver) { + return this.value; + } }; - X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps.prototype = { - call$2: function(initialJsState, initialJsOwnProps) { - var t1, t2, _this = this; - type$.legacy_JsMap._as(initialJsOwnProps); - t1 = _this.TReduxState; - t2 = _this.jsPropsToTProps; - return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(_this.jsMapFromProps, _this.makeMapStateToPropsWithOwnProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(initialJsState, t1._eval$1("0*")), t2.call$1(initialJsOwnProps)), t2, t1), 2, type$.legacy_legacy_JsMap_Function_2_legacy_Object_and_legacy_JsMap); + A.MapEquality.prototype = { + equals$2(map1, map2) { + var t2, equalElementCounts, t3, key, entry, count, + t1 = this.$ti._eval$1("Map<1,2>?"); + t1._as(map1); + t1._as(map2); + if (map1 === map2) + return true; + t1 = J.getInterceptor$asx(map1); + t2 = J.getInterceptor$asx(map2); + if (t1.get$length(map1) != t2.get$length(map2)) + return false; + equalElementCounts = A.HashMap_HashMap(null, null, null, type$._MapEntry, type$.int); + for (t3 = J.get$iterator$ax(t1.get$keys(map1)); t3.moveNext$0();) { + key = t3.get$current(t3); + entry = new A._MapEntry(this, key, t1.$index(map1, key)); + count = equalElementCounts.$index(0, entry); + equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1); + } + for (t1 = J.get$iterator$ax(t2.get$keys(map2)); t1.moveNext$0();) { + key = t1.get$current(t1); + entry = new A._MapEntry(this, key, t2.$index(map2, key)); + count = equalElementCounts.$index(0, entry); + if (count == null || count === 0) + return false; + if (typeof count !== "number") + return count.$sub(); + equalElementCounts.$indexSet(0, entry, count - 1); + } + return true; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 292 + hash$1(_, map) { + var t1, t2, t3, t4, hash, key, keyHash, valueHash; + this.$ti._eval$1("Map<1,2>?")._as(map); + for (t1 = J.getInterceptor$x(map), t2 = J.get$iterator$ax(t1.get$keys(map)), t3 = this._keyEquality, t4 = this._valueEquality, hash = 0; t2.moveNext$0();) { + key = t2.get$current(t2); + keyHash = t3.hash$1(0, key); + valueHash = t4.hash$1(0, t1.$index(map, key)); + if (typeof keyHash !== "number") + return A.iae(keyHash); + if (typeof valueHash !== "number") + return A.iae(valueHash); + hash = hash + 3 * keyHash + 7 * valueHash & 2147483647; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 }; - X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory.prototype = { - call$2: function(jsState, jsOwnProps) { + A.DeepCollectionEquality.prototype = { + equals$2(e1, e2) { + var _this = this, + t1 = type$.Set_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new A.SetEquality(_this, type$.SetEquality_dynamic).equals$2(e1, e2); + t1 = type$.Map_dynamic_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new A.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).equals$2(e1, e2); + t1 = type$.List_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new A.ListEquality(_this, type$.ListEquality_dynamic).equals$2(e1, e2); + t1 = type$.Iterable_dynamic; + if (t1._is(e1)) + return t1._is(e2) && A.boolConversionCheck(new A.IterableEquality(_this, type$.IterableEquality_dynamic).equals$2(e1, e2)); + return J.$eq$(e1, e2); + }, + hash$1(_, o) { var _this = this; - type$.legacy_JsMap._as(jsOwnProps); - return _this.jsMapFromProps.call$1(_this.mapToFactory.call$2(G.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState._eval$1("0*")), _this.jsPropsToTProps.call$1(jsOwnProps))); + if (type$.Set_dynamic._is(o)) + return new A.SetEquality(_this, type$.SetEquality_dynamic).hash$1(0, o); + if (type$.Map_dynamic_dynamic._is(o)) + return new A.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).hash$1(0, o); + if (type$.List_dynamic._is(o)) + return new A.ListEquality(_this, type$.ListEquality_dynamic).hash$1(0, o); + if (type$.Iterable_dynamic._is(o)) + return new A.IterableEquality(_this, type$.IterableEquality_dynamic).hash$1(0, o); + return J.get$hashCode$(o); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 149 - }; - X.connect_wrapWithConnect_handleMapDispatchToProps.prototype = { - call$1: function(dispatch) { - return this.jsMapFromProps.call$1(this.mapDispatchToProps.call$1(type$.legacy_dynamic_Function_dynamic._as(dispatch))); + isValidKey$1(o) { + !type$.Iterable_dynamic._is(o); + return true; }, - $signature: 148 + $isEquality: 1 }; - X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps.prototype = { - call$2: function(dispatch, jsOwnProps) { - return this.jsMapFromProps.call$1(this.mapDispatchToPropsWithOwnProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(jsOwnProps)))); + A._DelegatingIterableBase.prototype = { + cast$1$0(_, $T) { + var t1 = this._wrappers$_base; + return new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 147 - }; - X.connect_wrapWithConnect_handleMakeMapDispatchToProps.prototype = { - call$2: function(dispatch, initialJsOwnProps) { - var _this = this; - return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(_this.jsMapFromProps, _this.makeMapDispatchToProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), _this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(initialJsOwnProps)))), 1, type$.legacy_legacy_JsMap_Function_legacy_dynamic_Function_dynamic); + contains$1(_, element) { + return B.JSArray_methods.contains$1(this._wrappers$_base, element); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 297 - }; - X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory.prototype = { - call$1: function(dispatch) { - return this.jsMapFromProps.call$1(this.mapToFactory.call$1(type$.legacy_dynamic_Function_dynamic._as(dispatch))); + elementAt$1(_, index) { + return B.JSArray_methods.$index(this._wrappers$_base, index); }, - $signature: 148 - }; - X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps.prototype = { - call$2: function(dispatch, initialJsOwnProps) { - var _this = this, - t1 = _this.jsPropsToTProps; - return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(_this.jsMapFromProps, _this.makeMapDispatchToPropsWithOwnProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), t1.call$1(type$.legacy_JsMap._as(initialJsOwnProps))), t1), 2, type$.legacy_legacy_JsMap_Function_2_legacy_dynamic_Function_dynamic_and_legacy_JsMap); + get$first(_) { + return B.JSArray_methods.get$first(this._wrappers$_base); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 298 - }; - X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory.prototype = { - call$2: function(dispatch, jsOwnProps) { - return this.jsMapFromProps.call$1(this.mapToFactory.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(jsOwnProps)))); + forEach$1(_, f) { + return B.JSArray_methods.forEach$1(this._wrappers$_base, this.$ti._eval$1("~(1)")._as(f)); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 147 - }; - X.connect_wrapWithConnect_handleAreOwnPropsEqual.prototype = { - call$2: function(jsNext, jsPrev) { - var t1 = type$.legacy_JsMap; - t1._as(jsNext); - t1._as(jsPrev); - t1 = this.jsPropsToTProps; - return this.areOwnPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); + get$isEmpty(_) { + return this._wrappers$_base.length === 0; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 89 - }; - X.connect_wrapWithConnect_handleAreStatePropsEqual.prototype = { - call$2: function(jsNext, jsPrev) { - var t1 = type$.legacy_JsMap; - t1._as(jsNext); - t1._as(jsPrev); - t1 = this.jsPropsToTProps; - return this.areStatePropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); + get$isNotEmpty(_) { + return this._wrappers$_base.length !== 0; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 89 - }; - X.connect_wrapWithConnect_handleAreMergedPropsEqual.prototype = { - call$2: function(jsNext, jsPrev) { - var t1 = type$.legacy_JsMap; - t1._as(jsNext); - t1._as(jsPrev); - t1 = this.jsPropsToTProps; - return this.areMergedPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 89 - }; - X.connect_wrapWithConnect_interopMapStateToPropsHandler.prototype = { - call$0: function() { - var _this = this; - if (_this.mapStateToProps != null) - return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToProps, 1, type$.legacy_Function); - if (_this.mapStateToPropsWithOwnProps != null) - return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToPropsWithOwnProps, 2, type$.legacy_Function); - return null; - }, - $signature: 146 - }; - X.connect_wrapWithConnect_interopMapDispatchToPropsHandler.prototype = { - call$0: function() { - return null; + get$iterator(_) { + var t1 = this._wrappers$_base; + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, - $signature: 146 - }; - X.connect_wrapWithConnect_connectedFactory.prototype = { - call$1: function(props) { - var t1 = this.factory.call$1(type$.legacy_Map_dynamic_dynamic._as(props)); - t1.set$componentFactory(this.hocFactoryProxy); - return t1; + join$1(_, separator) { + return B.JSArray_methods.join$1(this._wrappers$_base, separator); }, - call$0: function() { - return this.call$1(null); + get$last(_) { + return B.JSArray_methods.get$last(this._wrappers$_base); }, - "call*": "call$1", - $requiredArgCount: 0, - $defaultValues: function() { - return [null]; + get$length(_) { + return this._wrappers$_base.length; }, - $signature: function() { - return this.TProps._eval$1("0*([Map<@,@>*])"); - } - }; - X.JsReactRedux.prototype = {}; - X.ReduxProviderProps.prototype = { - get$componentFactory: function() { - var t1 = self.ReactRedux.Provider; - if (t1 == null) - H.throwExpression(P.ArgumentError$(string$.x60jsCla)); - return new X.ReactJsReactReduxComponentFactoryProxy(t1, false, true, t1); + map$1$1(_, f, $T) { + var t1 = this._wrappers$_base, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - get$$$isClassGenerated: function() { - return true; + map$1($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); }, - set$store: function(_, v) { - this.props.jsObject.store = F.DartValueWrapper_wrapIfNeeded(v); + get$single(_) { + return B.JSArray_methods.get$single(this._wrappers$_base); }, - set$context: function(_, v) { - this.props.jsObject.context = F.DartValueWrapper_wrapIfNeeded(v); + skip$1(_, n) { + var t1 = this._wrappers$_base; + return A.SubListIterable$(t1, n, null, A._arrayInstanceType(t1)._precomputed1); }, - get$props: function(receiver) { - return this.props; - } - }; - X.ReduxProvider_closure.prototype = { - call$1: function(map) { - var t1 = {}; - t1 = new X.ReduxProviderProps(new L.JsBackedMap(t1), null, null); - t1.get$$$isClassGenerated(); - return t1; + take$1(_, n) { + var t1 = this._wrappers$_base; + return A.SubListIterable$(t1, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(t1)._precomputed1); }, - call$0: function() { - return this.call$1(null); + toList$1$growable(_, growable) { + var t1 = this._wrappers$_base, + t2 = A._arrayInstanceType(t1); + return growable ? A._setArrayType(t1.slice(0), t2) : J.JSArray_JSArray$markFixed(t1.slice(0), t2._precomputed1); }, - $signature: 304 - }; - X.ReactJsReactReduxComponentFactoryProxy.prototype = { - build$2: function(props, childrenArgs) { - var propsForJs = L.JsBackedMap_JsBackedMap$from(props), - t1 = propsForJs.jsObject; - if (F.DartValueWrapper_unwrapIfNeeded(t1.store) != null) - t1.store = F.DartValueWrapper_wrapIfNeeded(X._reduxifyStore(type$.legacy_Store_dynamic._as(F.DartValueWrapper_unwrapIfNeeded(t1.store)))); - if (F.DartValueWrapper_unwrapIfNeeded(t1.context) != null) - t1.context = F.DartValueWrapper_wrapIfNeeded(F.DartValueWrapper_unwrapIfNeeded(t1.context).get$jsThis()); - return this.super$ReactJsContextComponentFactoryProxy$build(propsForJs, childrenArgs); - } - }; - X._reduxifyStore_closure.prototype = { - call$0: function() { - var t1 = this.store; - return G.DartValueWrapper_wrapIfNeeded0(t1.get$state(t1)); + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 305 - }; - X._reduxifyStore_closure0.prototype = { - call$1: function(cb) { - var t2, - t1 = type$.legacy_Function; - t1._as(cb); - t2 = this.store; - t2 = t2.get$onChange(t2).listen$1(new X._reduxifyStore__closure(cb)); - return P.allowInterop(t2.get$cancel(t2), t1); + toSet$0(_) { + var t1 = this._wrappers$_base; + return A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); }, - $signature: 306 - }; - X._reduxifyStore__closure.prototype = { - call$1: function(_) { - this.cb.call$0(); + whereType$1$0(_, $T) { + return new A.WhereTypeIterable(this._wrappers$_base, $T._eval$1("WhereTypeIterable<0>")); }, - $signature: 32 - }; - X._reduxifyStore_closure1.prototype = { - call$1: function(action) { - this.store.dispatch$1(action); + toString$0(_) { + return A.IterableBase_iterableToFullString(this._wrappers$_base, "[", "]"); }, - $signature: 32 + $isIterable: 1 }; - X.JsReactReduxStore.prototype = {}; - X.JsConnectOptions.prototype = {}; - X.ConnectPropsMixin.prototype = { - get$dispatch: function() { - var t1 = J.$index$asx(this.get$props(this), "dispatch"); - if (t1 == null) - t1 = null; - return type$.legacy_dynamic_Function_dynamic._as(t1); + A.DelegatingList.prototype = { + $index(_, index) { + return B.JSArray_methods.$index(this._wrappers$_base, A._asIntS(index)); }, - dispatch$1: function(arg0) { - return this.get$dispatch().call$1(arg0); - } - }; - S.CssClassPropsMixin.prototype = { - set$className: function(_, value) { - J.$indexSet$ax(this.get$props(this), "className", value); - } - }; - M.Context2.prototype = { - get$jsThis: function() { - return this.reactDartContext._jsThis; - } - }; - G.DartValueWrapper0.prototype = { - get$value: function(receiver) { - return this.value; - } - }; - M._indentString_closure.prototype = { - call$1: function(line) { - return C.JSString_methods.trimRight$0(C.JSString_methods.$add(" ", H._asStringS(line))); + $indexSet(_, index, value) { + B.JSArray_methods.$indexSet(this._wrappers$_base, A._asIntS(index), this.$ti._precomputed1._as(value)); }, - $signature: 27 - }; - M._prettyObj_closure.prototype = { - call$1: function(items) { - return J.contains$1$asx(H._asStringS(items), "\n"); + add$1(_, value) { + B.JSArray_methods.add$1(this._wrappers$_base, this.$ti._precomputed1._as(value)); }, - $signature: 48 - }; - M._prettyObj_closure0.prototype = { - call$1: function(key) { - var t1, index, namespace, subkey; - if (typeof key == "string" && C.JSString_methods.contains$1(key, ".")) { - t1 = J.getInterceptor$asx(key); - index = t1.indexOf$1(key, "."); - namespace = t1.substring$2(key, 0, index); - subkey = t1.substring$1(key, index); - t1 = this.namespacedKeys; - if (t1.$index(0, namespace) == null) - t1.$indexSet(0, namespace, H.setRuntimeTypeInfo([], type$.JSArray_legacy_String)); - t1 = t1.$index(0, namespace); - (t1 && C.JSArray_methods).add$1(t1, subkey); - } else - C.JSArray_methods.add$1(this.otherKeys, key); + addAll$1(_, iterable) { + B.JSArray_methods.addAll$1(this._wrappers$_base, this.$ti._eval$1("Iterable<1>")._as(iterable)); }, - $signature: 32 - }; - M._prettyObj_closure1.prototype = { - call$1: function(namespace) { - var subkeys, t1, t2, t3; - H._asStringS(namespace); - subkeys = this.namespacedKeys.$index(0, namespace); - t1 = H.S(namespace) + "\u2026\n"; - subkeys.toString; - t2 = H._arrayInstanceType(subkeys); - t3 = t2._eval$1("MappedListIterable<1,String*>"); - return t1 + M._indentString(new H.MappedListIterable(new H.MappedListIterable(subkeys, t2._eval$1("String*(1)")._as(new M._prettyObj_closure_renderSubKey(namespace, this.obj)), t3), t3._eval$1("String*(ListIterable.E)")._as(new M._prettyObj__closure()), t3._eval$1("MappedListIterable")).join$0(0)); + cast$1$0(_, $T) { + var t1 = this._wrappers$_base; + return new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); }, - $signature: 27 - }; - M._prettyObj_closure_renderSubKey.prototype = { - call$1: function(subkey) { - var value; - H._asStringS(subkey); - value = J.$index$asx(this.obj, H.S(this.namespace) + H.S(subkey)); - return C.JSString_methods.$add(H.S(subkey) + ": ", M._prettyObj(value)); + insert$2(_, index, element) { + B.JSArray_methods.insert$2(this._wrappers$_base, index, this.$ti._precomputed1._as(element)); }, - $signature: 27 - }; - M._prettyObj__closure.prototype = { - call$1: function(pair) { - return J.$add$ansx(H._asStringS(pair), ",\n"); + insertAll$2(_, index, iterable) { + B.JSArray_methods.insertAll$2(this._wrappers$_base, index, this.$ti._eval$1("Iterable<1>")._as(iterable)); }, - $signature: 27 - }; - M._prettyObj_closure2.prototype = { - call$1: function(key) { - return C.JSString_methods.$add(H.S(key) + ": ", M._prettyObj(J.$index$asx(this.obj, key))) + ","; + remove$1(_, value) { + return B.JSArray_methods.remove$1(this._wrappers$_base, value); }, - $signature: 310 - }; - M._prettyObj_closure3.prototype = { - call$1: function(pair) { - return J.contains$1$asx(H._asStringS(pair), "\n"); + removeAt$1(_, index) { + return B.JSArray_methods.removeAt$1(this._wrappers$_base, index); }, - $signature: 48 - }; - M.Context0.prototype = { - absolute$1: function(_, part1) { - var t2, parts, - t1 = type$.JSArray_nullable_String; - M._validateArgList("absolute", H.setRuntimeTypeInfo([part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1)); - t2 = this.style; - t2 = t2.rootLength$1(part1) > 0 && !t2.isRootRelative$1(part1); - if (t2) - return part1; - t2 = D.current(); - parts = H.setRuntimeTypeInfo([t2, part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1); - M._validateArgList("join", parts); - return this.joinAll$1(new H.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); + replaceRange$3(_, start, end, iterable) { + B.JSArray_methods.replaceRange$3(this._wrappers$_base, start, end, this.$ti._eval$1("Iterable<1>")._as(iterable)); }, - joinAll$1: function(parts) { - var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; - type$.Iterable_String._as(parts); - for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new M.Context_joinAll_closure()), t3 = parts.get$iterator(parts), t1 = new H.WhereIterator(t3, t2, t1._eval$1("WhereIterator")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { - t5 = t3.get$current(t3); - if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { - parsed = X.ParsedPath_ParsedPath$parse(t5, t2); - path = t4.charCodeAt(0) == 0 ? t4 : t4; - t4 = C.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); - parsed.root = t4; - if (t2.needsSeparator$1(t4)) - C.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); - t4 = parsed.toString$0(0); - } else if (t2.rootLength$1(t5) > 0) { - isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5); - t4 = H.S(t5); - } else { - t6 = t5.length; - if (t6 !== 0) { - if (0 >= t6) - return H.ioore(t5, 0); - t6 = t2.containsSeparator$1(t5[0]); - } else - t6 = false; - if (!t6) - if (needsSeparator) - t4 += t2.get$separator(); - t4 += t5; - } - needsSeparator = t2.needsSeparator$1(t5); - } - return t4.charCodeAt(0) == 0 ? t4 : t4; + get$reversed(_) { + var t1 = this._wrappers$_base; + return new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); }, - split$1: function(_, path) { - var parsed = X.ParsedPath_ParsedPath$parse(path, this.style), - t1 = parsed.parts, - t2 = H._arrayInstanceType(t1), - t3 = t2._eval$1("WhereIterable<1>"); - parsed.set$parts(P.List_List$of(new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(new M.Context_split_closure()), t3), true, t3._eval$1("Iterable.E"))); - t1 = parsed.root; - if (t1 != null) - C.JSArray_methods.insert$2(parsed.parts, 0, t1); - return parsed.parts; + setRange$4(_, start, end, iterable, skipCount) { + B.JSArray_methods.setRange$4(this._wrappers$_base, start, A._asIntS(end), this.$ti._eval$1("Iterable<1>")._as(iterable), skipCount); }, - normalize$1: function(_, path) { - var parsed; - if (!this._needsNormalization$1(path)) - return path; - parsed = X.ParsedPath_ParsedPath$parse(path, this.style); - parsed.normalize$0(0); - return parsed.toString$0(0); + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); }, - _needsNormalization$1: function(path) { - var t1, root, i, start, previous, t2, t3, previousPrevious, codeUnit, t4; - path.toString; - t1 = this.style; - root = t1.rootLength$1(path); - if (root !== 0) { - if (t1 === $.$get$Style_windows()) - for (i = 0; i < root; ++i) - if (C.JSString_methods._codeUnitAt$1(path, i) === 47) - return true; - start = root; - previous = 47; - } else { - start = 0; - previous = null; - } - for (t2 = new H.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { - codeUnit = C.JSString_methods.codeUnitAt$1(t2, i); - if (t1.isSeparator$1(codeUnit)) { - if (t1 === $.$get$Style_windows() && codeUnit === 47) - return true; - if (previous != null && t1.isSeparator$1(previous)) - return true; - if (previous === 46) - t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious); - else - t4 = false; - if (t4) - return true; - } - } - if (previous == null) - return true; - if (t1.isSeparator$1(previous)) - return true; - if (previous === 46) - t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46; - else - t1 = false; - if (t1) - return true; - return false; + sort$1(_, compare) { + B.JSArray_methods.sort$1(this._wrappers$_base, this.$ti._eval$1("int(1,1)?")._as(compare)); }, - relative$1: function(path) { - var from, fromParsed, pathParsed, t3, t4, t5, _this = this, - _s26_ = 'Unable to find a path to "', - t1 = _this.style, - t2 = t1.rootLength$1(path); - if (t2 <= 0) - return _this.normalize$1(0, path); - from = D.current(); - if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) - return _this.normalize$1(0, path); - if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) - path = _this.absolute$1(0, path); - if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) - throw H.wrapException(X.PathException$(_s26_ + H.S(path) + '" from "' + H.S(from) + '".')); - fromParsed = X.ParsedPath_ParsedPath$parse(from, t1); - fromParsed.normalize$0(0); - pathParsed = X.ParsedPath_ParsedPath$parse(path, t1); - pathParsed.normalize$0(0); - t2 = fromParsed.parts; - t3 = t2.length; - if (t3 !== 0) { - if (0 >= t3) - return H.ioore(t2, 0); - t2 = J.$eq$(t2[0], "."); - } else - t2 = false; - if (t2) - return pathParsed.toString$0(0); - t2 = fromParsed.root; - t3 = pathParsed.root; - if (t2 != t3) - t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3); - else - t2 = false; - if (t2) - return pathParsed.toString$0(0); - while (true) { - t2 = fromParsed.parts; - t3 = t2.length; - if (t3 !== 0) { - t4 = pathParsed.parts; - t5 = t4.length; - if (t5 !== 0) { - if (0 >= t3) - return H.ioore(t2, 0); - t2 = t2[0]; - if (0 >= t5) - return H.ioore(t4, 0); - t4 = t1.pathsEqual$2(t2, t4[0]); - t2 = t4; - } else - t2 = false; - } else - t2 = false; - if (!t2) - break; - C.JSArray_methods.removeAt$1(fromParsed.parts, 0); - C.JSArray_methods.removeAt$1(fromParsed.separators, 1); - C.JSArray_methods.removeAt$1(pathParsed.parts, 0); - C.JSArray_methods.removeAt$1(pathParsed.separators, 1); - } - t2 = fromParsed.parts; - t3 = t2.length; - if (t3 !== 0) { - if (0 >= t3) - return H.ioore(t2, 0); - t2 = J.$eq$(t2[0], ".."); - } else - t2 = false; - if (t2) - throw H.wrapException(X.PathException$(_s26_ + H.S(path) + '" from "' + H.S(from) + '".')); - t2 = type$.String; - C.JSArray_methods.insertAll$2(pathParsed.parts, 0, P.List_List$filled(fromParsed.parts.length, "..", false, t2)); - C.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); - C.JSArray_methods.insertAll$2(pathParsed.separators, 1, P.List_List$filled(fromParsed.parts.length, t1.get$separator(), false, t2)); - t1 = pathParsed.parts; - t2 = t1.length; - if (t2 === 0) - return "."; - if (t2 > 1 && J.$eq$(C.JSArray_methods.get$last(t1), ".")) { - C.JSArray_methods.removeLast$0(pathParsed.parts); - t1 = pathParsed.separators; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - C.JSArray_methods.add$1(t1, ""); - } - pathParsed.root = ""; - pathParsed.removeTrailingSeparators$0(); - return pathParsed.toString$0(0); + sort$0($receiver) { + return this.sort$1($receiver, null); }, - withoutExtension$1: function(path) { - var i, t1, - parsed = X.ParsedPath_ParsedPath$parse(path, this.style); - for (i = parsed.parts.length - 1; i >= 0; --i) { - t1 = parsed.parts; - if (i >= t1.length) - return H.ioore(t1, i); - t1 = t1[i]; - t1.toString; - if (J.get$length$asx(t1) !== 0) { - C.JSArray_methods.$indexSet(parsed.parts, i, parsed._splitExtension$0()[0]); - break; - } - } - return parsed.toString$0(0); + sublist$2(_, start, end) { + return B.JSArray_methods.sublist$2(this._wrappers$_base, start, end); }, - prettyUri$1: function(uri) { - var path, rel, _this = this, - typedUri = M._parseUri(uri); - if (typedUri.get$scheme() === "file" && _this.style == $.$get$Style_url()) - return typedUri.toString$0(0); - else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style != $.$get$Style_url()) - return typedUri.toString$0(0); - path = _this.normalize$1(0, _this.style.pathFromUri$1(M._parseUri(typedUri))); - rel = _this.relative$1(path); - return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel; - } - }; - M.Context_joinAll_closure.prototype = { - call$1: function(part) { - return H._asStringS(part) !== ""; + sublist$1($receiver, start) { + return this.sublist$2($receiver, start, null); }, - $signature: 61 + $isEfficientLengthIterable: 1, + $isList: 1 }; - M.Context_split_closure.prototype = { - call$1: function(part) { - return H._asStringS(part).length !== 0; + A.Color.prototype = { + get$hashCode(_) { + return 65536 * J.toInt$0$n(this.r) + 256 * J.toInt$0$n(this.g) + J.toInt$0$n(this.b); }, - $signature: 61 - }; - M._validateArgList_closure.prototype = { - call$1: function(arg) { - H._asStringQ(arg); - return arg == null ? "null" : '"' + arg + '"'; + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Color && this.get$hashCode(this) === other.get$hashCode(other); }, - $signature: 311 - }; - B.InternalStyle.prototype = { - getRoot$1: function(path) { - var t1, - $length = this.rootLength$1(path); - if ($length > 0) - return J.substring$2$s(path, 0, $length); - if (this.isRootRelative$1(path)) { - if (0 >= path.length) - return H.ioore(path, 0); - t1 = path[0]; - } else - t1 = null; + $index(_, key) { + var thisAsMap, t1, _this = this; + A._asStringS(key); + thisAsMap = A.LinkedHashMap_LinkedHashMap$_literal(["r", _this.r, "g", _this.g, "b", _this.b], type$.String, type$.num); + if (!thisAsMap.containsKey$1(0, key)) + throw A.wrapException(A.ArgumentError$("`" + A.S(key) + "` is not a valid key for a " + A.getRuntimeType(_this).toString$0(0), null)); + t1 = thisAsMap.$index(0, key); + t1.toString; return t1; - }, - pathsEqual$2: function(path1, path2) { - return path1 == path2; } }; - X.ParsedPath.prototype = { - get$basename: function() { - var _this = this, - t1 = type$.String, - copy = new X.ParsedPath(_this.style, _this.root, _this.isRootRelative, P.List_List$from(_this.parts, true, t1), P.List_List$from(_this.separators, true, t1)); - copy.removeTrailingSeparators$0(); - t1 = copy.parts; - if (t1.length === 0) { - t1 = _this.root; - return t1 == null ? "" : t1; - } - return C.JSArray_methods.get$last(t1); - }, - removeTrailingSeparators$0: function() { - var t1, t2, _this = this; - while (true) { - t1 = _this.parts; - if (!(t1.length !== 0 && J.$eq$(C.JSArray_methods.get$last(t1), ""))) - break; - C.JSArray_methods.removeLast$0(_this.parts); - t1 = _this.separators; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - } - t1 = _this.separators; - t2 = t1.length; - if (t2 !== 0) - C.JSArray_methods.$indexSet(t1, t2 - 1, ""); - }, - normalize$0: function(_) { - var t1, t2, leadingDoubles, _i, part, t3, _this = this, - newParts = H.setRuntimeTypeInfo([], type$.JSArray_String); - for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - part = t1[_i]; - t3 = J.getInterceptor$(part); - if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) - if (t3.$eq(part, "..")) { - t3 = newParts.length; - if (t3 !== 0) { - if (0 >= t3) - return H.ioore(newParts, -1); - newParts.pop(); - } else - ++leadingDoubles; - } else - C.JSArray_methods.add$1(newParts, part); - } - if (_this.root == null) - C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDoubles, "..", false, type$.String)); - if (newParts.length === 0 && _this.root == null) - C.JSArray_methods.add$1(newParts, "."); - _this.set$parts(newParts); - t1 = _this.style; - _this.set$separators(P.List_List$filled(newParts.length + 1, t1.get$separator(), true, type$.String)); - t2 = _this.root; - if (t2 == null || newParts.length === 0 || !t1.needsSeparator$1(t2)) - C.JSArray_methods.$indexSet(_this.separators, 0, ""); - t2 = _this.root; - if (t2 != null && t1 === $.$get$Style_windows()) { - t2.toString; - _this.root = H.stringReplaceAllUnchecked(t2, "/", "\\"); - } - _this.removeTrailingSeparators$0(); - }, - toString$0: function(_) { - var i, t2, _this = this, - t1 = _this.root; - t1 = t1 != null ? t1 : ""; - for (i = 0; i < _this.parts.length; ++i) { - t2 = _this.separators; - if (i >= t2.length) - return H.ioore(t2, i); - t2 = t1 + H.S(t2[i]); - t1 = _this.parts; - if (i >= t1.length) - return H.ioore(t1, i); - t1 = t2 + H.S(t1[i]); - } - t1 += H.S(C.JSArray_methods.get$last(_this.separators)); - return t1.charCodeAt(0) == 0 ? t1 : t1; - }, - _kthLastIndexOf$3: function(path, character, k) { - var index, count, leftMostIndexedCharacter; - for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index) - if (path[index] === character) { - ++count; - if (count === k) - return index; - leftMostIndexedCharacter = index; - } - return leftMostIndexedCharacter; + A.HexColor.prototype = { + get$rHex() { + return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(this.r), 16), 2, "0"); }, - _splitExtension$1: function(level) { - var t1, file, lastDot; - if (level <= 0) - throw H.wrapException(P.RangeError$value(level, "level", "level's value must be greater than 0")); - t1 = this.parts; - t1 = new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("CastList<1,String?>")); - file = t1.lastWhere$2$orElse(t1, new X.ParsedPath__splitExtension_closure(), new X.ParsedPath__splitExtension_closure0()); - if (file == null) - return H.setRuntimeTypeInfo(["", ""], type$.JSArray_String); - if (file === "..") - return H.setRuntimeTypeInfo(["..", ""], type$.JSArray_String); - lastDot = this._kthLastIndexOf$3(file, ".", level); - if (lastDot <= 0) - return H.setRuntimeTypeInfo([file, ""], type$.JSArray_String); - return H.setRuntimeTypeInfo([C.JSString_methods.substring$2(file, 0, lastDot), C.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String); + get$gHex() { + return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(this.g), 16), 2, "0"); }, - _splitExtension$0: function() { - return this._splitExtension$1(1); + get$bHex() { + return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(this.b), 16), 2, "0"); }, - set$parts: function(parts) { - this.parts = type$.List_String._as(parts); + toHexColor$0() { + return this; }, - set$separators: function(separators) { - this.separators = type$.List_String._as(separators); + toString$0(_) { + return this.get$rHex() + this.get$gHex() + this.get$bHex(); } }; - X.ParsedPath__splitExtension_closure.prototype = { - call$1: function(p) { - return H._asStringQ(p) !== ""; + A.RgbColor.prototype = { + toHexColor$0() { + return new A.HexColor(this.r, this.g, this.b); }, - $signature: 312 + toString$0(_) { + return "r: " + A.S(this.r) + ", g: " + A.S(this.g) + ", b: " + A.S(this.b); + } }; - X.ParsedPath__splitExtension_closure0.prototype = { - call$0: function() { - return null; + A.Draggable.prototype = { + get$onDragStart(_) { + var t1, _this = this; + if (_this._onDragStart == null) + _this.set$_onDragStart(A.StreamController_StreamController$broadcast(new A.Draggable_onDragStart_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDragStart; + t1.toString; + return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, - $signature: 12 - }; - X.PathException.prototype = { - toString$0: function(_) { - return "PathException: " + this.message; + get$onDrag(_) { + var t1, _this = this; + if (_this._onDrag == null) + _this.set$_onDrag(A.StreamController_StreamController$broadcast(new A.Draggable_onDrag_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDrag; + t1.toString; + return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, - $isException: 1, - get$message: function(receiver) { - return this.message; - } - }; - O.Style.prototype = { - toString$0: function(_) { - return this.get$name(this); - } - }; - E.PosixStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + get$onDragEnd(_) { + var t1, _this = this; + if (_this._onDragEnd == null) + _this.set$_onDragEnd(A.StreamController_StreamController$broadcast(new A.Draggable_onDragEnd_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDragEnd; + t1.toString; + return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, - isSeparator$1: function(codeUnit) { - return codeUnit === 47; + _handleDragEnd$3$cancelled($event, target, cancelled) { + var t2, _this = this, + t1 = $._currentDrag; + if (t1 != null && t1.started) { + if (!cancelled && target != null) + A._DragEventDispatcher_dispatchDrop(_this, target); + t1 = _this._onDragEnd; + if (t1 != null) { + t2 = $._currentDrag; + t2.toString; + t1.add$1(0, A.DraggableEvent$_($event, t2, cancelled)); + } + if ($event != null) + J.preventDefault$0$x($event); + if (type$.MouseEvent._is($event)) + _this._suppressClickEvent$1($._currentDrag.element); + J.get$classes$x($._currentDrag.element).remove$1(0, "dnd-dragging"); + document.body.classList.remove("dnd-drag-occurring"); + } + _this._resetCurrentDrag$0(); }, - needsSeparator$1: function(path) { - var t1 = path.length; - return t1 !== 0 && C.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; + _handleDragEnd$2($event, target) { + return this._handleDragEnd$3$cancelled($event, target, false); }, - rootLength$2$withDrive: function(path, withDrive) { - if (path.length !== 0 && C.JSString_methods._codeUnitAt$1(path, 0) === 47) - return 1; - return 0; + _suppressClickEvent$1(element) { + var t1 = J.get$onClick$x(element), + t2 = t1.$ti, + t3 = t2._eval$1("~(1)?")._as(new A.Draggable__suppressClickEvent_closure()); + type$.nullable_void_Function._as(null); + A.Future_Future(new A.Draggable__suppressClickEvent_closure0(A._EventStreamSubscription$(t1._target, t1._eventType, t3, false, t2._precomputed1)), type$.Null); }, - rootLength$1: function(path) { - return this.rootLength$2$withDrive(path, false); + destroy$0() { + this._resetCurrentDrag$0(); + var t1 = this._eventManagers; + B.JSArray_methods.forEach$1(t1, new A.Draggable_destroy_closure()); + B.JSArray_methods.clear$0(t1); }, - isRootRelative$1: function(path) { - return false; + _resetCurrentDrag$0() { + B.JSArray_methods.forEach$1(this._eventManagers, new A.Draggable__resetCurrentDrag_closure()); + A._DragEventDispatcher_reset(); + $._currentDrag = null; }, - pathFromUri$1: function(uri) { - var t1; - if (uri.get$scheme() === "" || uri.get$scheme() === "file") { - t1 = uri.get$path(uri); - return P._Uri__uriDecode(t1, 0, t1.length, C.C_Utf8Codec, false); + _clearTextSelections$0() { + var activeElement, exception, + t1 = window.getSelection(); + if (t1 != null) + t1.removeAllRanges(); + try { + activeElement = document.activeElement; + if (type$.TextAreaElement._is(activeElement)) + J.setSelectionRange$2$x(activeElement, 0, 0); + else if (type$.InputElement._is(activeElement)) + J.setSelectionRange$2$x(activeElement, 0, 0); + } catch (exception) { } - throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); }, - get$name: function() { - return "posix"; + set$_onDragStart(_onDragStart) { + this._onDragStart = type$.nullable_StreamController_DraggableEvent._as(_onDragStart); }, - get$separator: function() { - return "/"; + set$_onDrag(_onDrag) { + this._onDrag = type$.nullable_StreamController_DraggableEvent._as(_onDrag); + }, + set$_onDragEnd(_onDragEnd) { + this._onDragEnd = type$.nullable_StreamController_DraggableEvent._as(_onDragEnd); + }, + set$__Draggable__elements_A(__Draggable__elements_A) { + this.__Draggable__elements_A = type$.List_Element._as(__Draggable__elements_A); } }; - F.UrlStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + A.Draggable_onDragStart_closure.prototype = { + call$0() { + this.$this.set$_onDragStart(null); + return null; }, - isSeparator$1: function(codeUnit) { - return codeUnit === 47; + $signature: 0 + }; + A.Draggable_onDrag_closure.prototype = { + call$0() { + this.$this.set$_onDrag(null); + return null; }, - needsSeparator$1: function(path) { - var t1 = path.length; - if (t1 === 0) - return false; - if (C.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) - return true; - return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; + $signature: 0 + }; + A.Draggable_onDragEnd_closure.prototype = { + call$0() { + this.$this.set$_onDragEnd(null); + return null; }, - rootLength$2$withDrive: function(path, withDrive) { - var i, codeUnit, index, t2, - t1 = path.length; - if (t1 === 0) - return 0; - if (C.JSString_methods._codeUnitAt$1(path, 0) === 47) - return 1; - for (i = 0; i < t1; ++i) { - codeUnit = C.JSString_methods._codeUnitAt$1(path, i); - if (codeUnit === 47) - return 0; - if (codeUnit === 58) { - if (i === 0) - return 0; - index = C.JSString_methods.indexOf$2(path, "/", C.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); - if (index <= 0) - return t1; - if (!withDrive || t1 < index + 3) - return index; - if (!C.JSString_methods.startsWith$1(path, "file://")) - return index; - if (!B.isDriveLetter(path, index + 1)) - return index; - t2 = index + 3; - return t1 === t2 ? t2 : index + 4; - } - } - return 0; + $signature: 0 + }; + A.Draggable__suppressClickEvent_closure.prototype = { + call$1($event) { + type$.MouseEvent._as($event); + $event.stopPropagation(); + $event.preventDefault(); }, - rootLength$1: function(path) { - return this.rootLength$2$withDrive(path, false); + $signature: 20 + }; + A.Draggable__suppressClickEvent_closure0.prototype = { + call$0() { + this.clickPreventer.cancel$0(0); }, - isRootRelative$1: function(path) { - return path.length !== 0 && C.JSString_methods._codeUnitAt$1(path, 0) === 47; + $signature: 10 + }; + A.Draggable_destroy_closure.prototype = { + call$1(m) { + return type$._EventManager._as(m).destroy$0(); }, - pathFromUri$1: function(uri) { - return uri.toString$0(0); + $signature: 154 + }; + A.Draggable__resetCurrentDrag_closure.prototype = { + call$1(m) { + return type$._EventManager._as(m).reset$0(0); }, - get$name: function() { - return "url"; + $signature: 154 + }; + A.DraggableEvent.prototype = {}; + A._DragInfo.prototype = { + _constrainAxis$1(pos) { + type$.Point_num._as(pos); + return pos; }, - get$separator: function() { - return "/"; + set$___DragInfo__position_A(___DragInfo__position_A) { + this.___DragInfo__position_A = type$.Point_num._as(___DragInfo__position_A); } }; - L.WindowsStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + A._EventManager.prototype = { + _EventManager$1(drg) { + var t1; + this.installStart$0(); + t1 = this.drg.__Draggable__elements_A; + t1 === $ && A.throwLateFieldNI("_elements"); + B.JSArray_methods.forEach$1(t1, new A._EventManager_closure()); }, - isSeparator$1: function(codeUnit) { - return codeUnit === 47 || codeUnit === 92; + installEscAndBlur$0() { + var t1 = this.dragSubs, + t2 = window, + t3 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new A._EventManager_installEscAndBlur_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(t1, A._EventStreamSubscription$(t2, "keydown", t3, false, type$.legacy_KeyboardEvent)); + B.JSArray_methods.add$1(t1, A._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new A._EventManager_installEscAndBlur_closure0(this)), false, type$.legacy_Event)); }, - needsSeparator$1: function(path) { - var t1 = path.length; - if (t1 === 0) - return false; - t1 = C.JSString_methods.codeUnitAt$1(path, t1 - 1); - return !(t1 === 47 || t1 === 92); + handleStart$2($event, position) { + var t2, _this = this, + t1 = type$.Point_num; + t1._as(position); + t2 = new A._DragInfo(type$.Element._as(A._convertNativeToDart_EventTarget($event.currentTarget)), position, null, false, false); + t2.set$___DragInfo__position_A(t1._as(position)); + $._currentDrag = t2; + _this.installMove$0(); + _this.installEnd$0(); + _this.installCancel$0(); + _this.installEscAndBlur$0(); }, - rootLength$2$withDrive: function(path, withDrive) { - var t2, index, - t1 = path.length; - if (t1 === 0) - return 0; - t2 = C.JSString_methods._codeUnitAt$1(path, 0); - if (t2 === 47) - return 1; - if (t2 === 92) { - if (t1 < 2 || C.JSString_methods._codeUnitAt$1(path, 1) !== 92) - return 1; - index = C.JSString_methods.indexOf$2(path, "\\", 2); - if (index > 0) { - index = C.JSString_methods.indexOf$2(path, "\\", index + 1); - if (index > 0) - return index; + handleMove$3($event, position, clientPosition) { + var t2, t3, t4, dx, dy, realTarget, + t1 = type$.Point_num; + t1._as(position); + t1._as(clientPosition); + t2 = $._currentDrag; + t2.set$___DragInfo__position_A(t1._as(t2._constrainAxis$1(position))); + t1 = $._currentDrag; + if (!t1.started) { + t2 = t1.startPosition; + t1 = t1.___DragInfo__position_A; + t1 === $ && A.throwLateFieldNI("_position"); + t2.$ti._as(t1); + t3 = t2.x; + t4 = t1.x; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + dx = t3 - t4; + t2 = t2.y; + t1 = t1.y; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return A.iae(t1); + dy = t2 - t1; + if (Math.sqrt(dx * dx + dy * dy) >= 4) { + t1 = this.drg; + t2 = $._currentDrag; + t2.started = true; + t3 = t1._onDragStart; + if (t3 != null) + t3.add$1(0, A.DraggableEvent$_($event, t2, false)); + J.get$classes$x($._currentDrag.element).add$1(0, "dnd-dragging"); + document.body.classList.add("dnd-drag-occurring"); + t1._clearTextSelections$0(); + } + } else { + realTarget = this._getRealTarget$1(clientPosition); + t1 = this.drg; + A._DragEventDispatcher_dispatchEnterOverLeave(t1, realTarget); + t1 = t1._onDrag; + if (t1 != null) { + t2 = $._currentDrag; + t2.toString; + t1.add$1(0, A.DraggableEvent$_($event, t2, false)); } - return t1; } - if (t1 < 3) - return 0; - if (!B.isAlphabetic(t2)) - return 0; - if (C.JSString_methods._codeUnitAt$1(path, 1) !== 58) - return 0; - t1 = C.JSString_methods._codeUnitAt$1(path, 2); - if (!(t1 === 47 || t1 === 92)) - return 0; - return 3; }, - rootLength$1: function(path) { - return this.rootLength$2$withDrive(path, false); + handleEnd$4($event, target, position, clientPosition) { + var t2, + t1 = type$.nullable_Point_num; + t1._as(position); + t1._as(clientPosition); + if (position != null && $._currentDrag != null) { + t1 = $._currentDrag; + t1.toString; + t2 = type$.Point_num; + t1.set$___DragInfo__position_A(t2._as(t1._constrainAxis$1(t2._as(position)))); + } + if (clientPosition != null) + this.drg._handleDragEnd$2($event, this._getRealTarget$2$target(clientPosition, target)); }, - isRootRelative$1: function(path) { - return this.rootLength$1(path) === 1; + reset$0(_) { + var t1 = this.dragSubs; + B.JSArray_methods.forEach$1(t1, new A._EventManager_reset_closure()); + B.JSArray_methods.clear$0(t1); }, - pathFromUri$1: function(uri) { - var path, t1; - if (uri.get$scheme() !== "" && uri.get$scheme() !== "file") - throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); - path = uri.get$path(uri); - if (uri.get$host(uri) === "") { - if (path.length >= 3 && C.JSString_methods.startsWith$1(path, "/") && B.isDriveLetter(path, 1)) - path = C.JSString_methods.replaceFirst$2(path, "/", ""); + destroy$0() { + this.reset$0(0); + var t1 = this.startSubs; + B.JSArray_methods.forEach$1(t1, new A._EventManager_destroy_closure()); + B.JSArray_methods.clear$0(t1); + t1 = this.drg.__Draggable__elements_A; + t1 === $ && A.throwLateFieldNI("_elements"); + B.JSArray_methods.forEach$1(t1, new A._EventManager_destroy_closure0()); + }, + _getRealTargetFromPoint$1(clientPosition) { + var t1, t2; + type$.Point_num._as(clientPosition); + t1 = document; + t2 = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); + if (t2 == null) { + t1 = t1.body; + t1.toString; } else - path = "\\\\" + uri.get$host(uri) + path; - t1 = H.stringReplaceAllUnchecked(path, "/", "\\"); - return P._Uri__uriDecode(t1, 0, t1.length, C.C_Utf8Codec, false); + t1 = t2; + return t1; }, - codeUnitsEqual$2: function(codeUnit1, codeUnit2) { - var upperCase1; - if (codeUnit1 === codeUnit2) - return true; - if (codeUnit1 === 47) - return codeUnit2 === 92; - if (codeUnit1 === 92) - return codeUnit2 === 47; - if ((codeUnit1 ^ codeUnit2) !== 32) - return false; - upperCase1 = codeUnit1 | 32; - return upperCase1 >= 97 && upperCase1 <= 122; + _getRealTarget$2$target(clientPosition, target) { + type$.Point_num._as(clientPosition); + if (target == null || !type$.Element._is(target)) + target = this._getRealTargetFromPoint$1(clientPosition); + return this._recursiveShadowDomTarget$2(clientPosition, target); }, - pathsEqual$2: function(path1, path2) { - var t1, t2, i; - if (path1 == path2) - return true; - t1 = path1.length; - if (t1 !== path2.length) - return false; - for (t2 = J.getInterceptor$s(path2), i = 0; i < t1; ++i) - if (!this.codeUnitsEqual$2(C.JSString_methods._codeUnitAt$1(path1, i), t2._codeUnitAt$1(path2, i))) - return false; - return true; + _getRealTarget$1(clientPosition) { + return this._getRealTarget$2$target(clientPosition, null); }, - get$name: function() { - return "windows"; + _recursiveShadowDomTarget$2(clientPosition, target) { + var t1, newTarget; + type$.Point_num._as(clientPosition); + if (type$.Element._is(target)) + if ((target.shadowRoot || target.webkitShadowRoot) != null) + t1 = A.boolConversionCheck(target.hasAttribute("dnd-retarget")); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = target.shadowRoot || target.webkitShadowRoot; + t1.toString; + newTarget = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); + if (newTarget != null) + target = this._recursiveShadowDomTarget$2(clientPosition, newTarget); + } + return target; }, - get$separator: function() { - return "\\"; - } - }; - M.Context1.prototype = { - toString$0: function(_) { - return "Context[" + L.Token_positionString(this.buffer, this.position) + "]"; - } - }; - B.Failure.prototype = { - get$isFailure: function() { + _isValidDragStartTarget$1(target) { + if (type$.Element._is(target) && J.matchesWithAncestors$1$x(target, "input, textarea, button, select, option")) + return false; return true; - }, - get$value: function(_) { - return H.throwExpression(new E.ParserException(this)); - }, - map$1: function(_, callback) { - var _this = this; - _this.$ti._eval$1("@(1)")._as(callback); - return new B.Failure(_this.message, _this.buffer, _this.position, type$.Failure_dynamic); - }, - toString$0: function(_) { - return "Failure[" + L.Token_positionString(this.buffer, this.position) + "]: " + this.message; - }, - get$message: function(receiver) { - return this.message; } }; - E.Result.prototype = { - get$isSuccess: function() { - return false; + A._EventManager_closure.prototype = { + call$1(el) { + var t1 = type$.Element._as(el).style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "none", ""); + return "none"; }, - get$isFailure: function() { - return false; - } + $signature: 44 }; - D.Success.prototype = { - get$isSuccess: function() { - return true; - }, - get$message: function(_) { - return H.throwExpression(P.UnsupportedError$("Successful parse results do not have a message.")); - }, - map$1: function(_, callback) { - var _this = this, - t1 = _this.$ti._eval$1("@(1)")._as(callback).call$1(_this.value); - return new D.Success(t1, _this.buffer, _this.position, type$.Success_dynamic); - }, - toString$0: function(_) { - return "Success[" + L.Token_positionString(this.buffer, this.position) + "]: " + H.S(this.value); + A._EventManager_installEscAndBlur_closure.prototype = { + call$1(keyboardEvent) { + type$.KeyboardEvent._as(keyboardEvent); + if (J.get$keyCode$x(keyboardEvent) === 27) + this.$this.drg._handleDragEnd$3$cancelled(keyboardEvent, null, true); }, - get$value: function(receiver) { - return this.value; - } + $signature: 48 }; - E.ParserException.prototype = { - get$message: function(_) { - return this.failure.message; - }, - get$offset: function(_) { - return this.failure.position; - }, - get$source: function(_) { - return this.failure.buffer; - }, - toString$0: function(_) { - var t1 = this.failure; - return t1.message + " at " + L.Token_positionString(t1.buffer, t1.position); + A._EventManager_installEscAndBlur_closure0.prototype = { + call$1($event) { + this.$this.drg._handleDragEnd$3$cancelled($event, null, true); }, - $isException: 1, - $isFormatException: 1 + $signature: 19 }; - G.Parser.prototype = { - fastParseOn$2: function(buffer, position) { - var result = this.parseOn$1(new M.Context1(buffer, position)); - return result.get$isSuccess() ? result.position : -1; + A._EventManager_reset_closure.prototype = { + call$1(sub) { + return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); }, - get$children: function(_) { - return C.List_empty4; + $signature: 153 + }; + A._EventManager_destroy_closure.prototype = { + call$1(sub) { + return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); }, - replace$2: function(_, source, target) { - } + $signature: 153 }; - L.Token.prototype = { - get$length: function(_) { - return this.stop - this.start; + A._EventManager_destroy_closure0.prototype = { + call$1(el) { + var t1 = type$.Element._as(el).style; + t1.toString; + B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "", ""); + return ""; }, - map$1: function(_, mapper) { - var _this = this; - return new L.Token(_this.$ti._eval$1("@(1)")._as(mapper).call$1(_this.value), _this.buffer, _this.start, _this.stop, type$.Token_dynamic); + $signature: 44 + }; + A._TouchManager.prototype = { + installStart$0() { + var t1 = this.drg.__Draggable__elements_A; + t1 === $ && A.throwLateFieldNI("_elements"); + B.JSArray_methods.forEach$1(t1, new A._TouchManager_installStart_closure(this)); }, - toString$0: function(_) { - return "Token[" + L.Token_positionString(this.buffer, this.start) + "]: " + H.S(this.value); + installMove$0() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new A._TouchManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchmove", t2, false, type$.legacy_TouchEvent)); }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof L.Token && J.$eq$(this.value, other.value) && this.start === other.start && this.stop === other.stop; + installEnd$0() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new A._TouchManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchend", t2, false, type$.legacy_TouchEvent)); }, - get$hashCode: function(_) { - var t1 = J.get$hashCode$(this.value), - t2 = C.JSInt_methods.get$hashCode(this.start); - if (typeof t1 !== "number") - return t1.$add(); - return t1 + t2 + C.JSInt_methods.get$hashCode(this.stop); + installCancel$0() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new A._TouchManager_installCancel_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchcancel", t2, false, type$.legacy_TouchEvent)); }, - get$value: function(receiver) { - return this.value; - } - }; - V.GrammarDefinition.prototype = { - build$1$0: function($T) { - var t1 = B.resolve($T._eval$1("Parser<0>")._as(new T.CastParser(new R.PickParser(0, new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([new F.ReferenceParser(this.get$document(this), C.List_empty, type$.ReferenceParser_dynamic), new U.EndOfInputParser("Expected end of input")], type$.JSArray_Parser_void), false, type$.Parser_void), type$.SequenceParser_void), type$.PickParser_void), type$.CastParser_void_dynamic)), $T); - return t1; + isScrolling$1(currentPosition) { + type$.Point_num._as(currentPosition).$sub(0, $._currentDrag.startPosition); + return false; } }; - F.ReferenceParser.prototype = { - parseOn$1: function(context) { - return H.throwExpression(P.UnsupportedError$("References cannot be parsed.")); + A._TouchManager_installStart_closure.prototype = { + call$1(el) { + var t1 = this.$this, + t2 = J.get$onTouchStart$x(type$.Element._as(el)), + t3 = t2.$ti, + t4 = t3._eval$1("~(1)?")._as(new A._TouchManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t4, false, t3._precomputed1)); }, - fastParseOn$2: function(buffer, position) { - return H.throwExpression(P.UnsupportedError$("References cannot be parsed.")); + $signature: 44 + }; + A._TouchManager_installStart__closure.prototype = { + call$1($event) { + var t1, t2; + type$.TouchEvent._as($event); + if ($._currentDrag != null) + return; + t1 = $event.touches; + t2 = t1 != null; + if (t2 && t1.length > 1) + return; + if (t2) { + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = A._convertNativeToDart_EventTarget(t1[0].target); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); + } else + t1 = false; + if (t1) + return; + t1 = $event.touches; + if (t1 != null) { + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0]; + this.$this.handleStart$2($event, new A.Point(B.JSNumber_methods.round$0(t1.pageX), B.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); + } }, - $eq: function(_, other) { - var t1; - if (other == null) - return false; - if (other instanceof F.ReferenceParser) { - if (!J.$eq$(this.$function, other.$function) || false) - return false; - for (t1 = this.$arguments; false;) { - if (0 >= 0) - return H.ioore(t1, 0); - return false; + $signature: 77 + }; + A._TouchManager_installMove_closure.prototype = { + call$1($event) { + var t1, t2, _this = this; + type$.TouchEvent._as($event); + t1 = $event.touches; + if (t1 != null && t1.length > 1) { + _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + return; + } + t1 = $event.changedTouches; + if (t1 != null) { + if (!$._currentDrag.started) { + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0]; + t1 = _this.$this.isScrolling$1(new A.Point(B.JSNumber_methods.round$0(t1.pageX), B.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); + } else + t1 = false; + if (t1) { + _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + return; } - return true; + t1 = $event.changedTouches; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0]; + t2 = type$.Point_num; + _this.$this.handleMove$3($event, new A.Point(B.JSNumber_methods.round$0(t1.pageX), B.JSNumber_methods.round$0(t1.pageY), t2), new A.Point(B.JSNumber_methods.round$0(t1.clientX), B.JSNumber_methods.round$0(t1.clientY), t2)); } - return false; - }, - get$hashCode: function(_) { - return J.get$hashCode$(this.$function); + $event.preventDefault(); }, - $isResolvableParser: 1 + $signature: 77 }; - T.CastParser.prototype = { - parseOn$1: function(context) { - var t4, - result = this.delegate.parseOn$1(context), - t1 = result.get$isSuccess(), - t2 = this.$ti, - t3 = result.buffer; - if (t1) { - t1 = t2._rest[1]; - t1 = t1._as(t1._as(result.get$value(result))); - t4 = result.position; - return new D.Success(t1, t3, t4, t2._eval$1("Success<2>")); - } else { - t1 = result.get$message(result); - t4 = result.position; - return new B.Failure(t1, t3, t4, t2._eval$1("Failure<2>")); + A._TouchManager_installEnd_closure.prototype = { + call$1($event) { + var t1, t2, t3; + type$.TouchEvent._as($event); + t1 = $event.changedTouches; + t2 = t1 == null; + if (t2) + t3 = null; + else { + if (0 >= t1.length) + return A.ioore(t1, 0); + t3 = t1[0]; + t3 = new A.Point(B.JSNumber_methods.round$0(t3.pageX), B.JSNumber_methods.round$0(t3.pageY), type$.Point_num); } + if (t2) + t1 = null; + else { + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0]; + t1 = new A.Point(B.JSNumber_methods.round$0(t1.clientX), B.JSNumber_methods.round$0(t1.clientY), type$.Point_num); + } + this.$this.handleEnd$4($event, null, t3, t1); }, - fastParseOn$2: function(buffer, position) { - return this.delegate.fastParseOn$2(buffer, position); - } + $signature: 77 }; - K.FlattenParser.prototype = { - parseOn$1: function(context) { - var output, - t1 = context.buffer, - t2 = context.position, - position = this.delegate.fastParseOn$2(t1, t2); - if (typeof position !== "number") - return position.$lt(); - if (position < 0) - return new B.Failure(this.message, t1, t2, type$.Failure_String); - output = C.JSString_methods.substring$2(t1, t2, position); - return new D.Success(output, t1, position, type$.Success_String); - }, - fastParseOn$2: function(buffer, position) { - return this.delegate.fastParseOn$2(buffer, position); + A._TouchManager_installCancel_closure.prototype = { + call$1($event) { + this.$this.drg._handleDragEnd$3$cancelled(type$.TouchEvent._as($event), null, true); }, - get$message: function(receiver) { - return this.message; - } + $signature: 77 }; - A.MapParser.prototype = { - parseOn$1: function(context) { - var t4, - result = this.delegate.parseOn$1(context), - t1 = result.get$isSuccess(), - t2 = this.$ti, - t3 = result.buffer; - if (t1) { - t1 = t2._rest[1]._as(this.callback.call$1(result.get$value(result))); - t4 = result.position; - return new D.Success(t1, t3, t4, t2._eval$1("Success<2>")); - } else { - t1 = result.get$message(result); - t4 = result.position; - return new B.Failure(t1, t3, t4, t2._eval$1("Failure<2>")); - } + A._MouseManager.prototype = { + installStart$0() { + var t1 = this.drg.__Draggable__elements_A; + t1 === $ && A.throwLateFieldNI("_elements"); + B.JSArray_methods.forEach$1(t1, new A._MouseManager_installStart_closure(this)); }, - fastParseOn$2: function(buffer, position) { - return this.hasSideEffects ? this.super$Parser$fastParseOn(buffer, position) : this.delegate.fastParseOn$2(buffer, position); - } - }; - R.PickParser.prototype = { - parseOn$1: function(context) { - var value, t1, t2, t3, t4, _this = this, - result = _this.delegate.parseOn$1(context); - if (result.get$isSuccess()) { - value = result.get$value(result); - t1 = _this.$ti; - t2 = t1._precomputed1._as(J.$index$asx(value, _this.index)); - t3 = result.buffer; - t4 = result.position; - return new D.Success(t2, t3, t4, t1._eval$1("Success<1>")); - } else { - t1 = result.get$message(result); - t2 = result.buffer; - t3 = result.position; - return new B.Failure(t1, t2, t3, _this.$ti._eval$1("Failure<1>")); - } + installMove$0() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new A._MouseManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "mousemove", t2, false, type$.legacy_MouseEvent)); }, - fastParseOn$2: function(buffer, position) { - return this.delegate.fastParseOn$2(buffer, position); - } - }; - L.TokenParser.prototype = { - parseOn$1: function(context) { - var t4, t5, - result = this.delegate.parseOn$1(context), - t1 = result.get$isSuccess(), - t2 = this.$ti, - t3 = result.buffer; - if (t1) { - t1 = result.get$value(result); - t4 = result.position; - t5 = t2._eval$1("Token<1>"); - t5 = t5._as(new L.Token(t1, context.buffer, context.position, t4, t5)); - return new D.Success(t5, t3, t4, t2._eval$1("Success>")); - } else { - t1 = result.get$message(result); - t4 = result.position; - return new B.Failure(t1, t3, t4, t2._eval$1("Failure>")); - } + installEnd$0() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new A._MouseManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "mouseup", t2, false, type$.legacy_MouseEvent)); }, - fastParseOn$2: function(buffer, position) { - return this.delegate.fastParseOn$2(buffer, position); + installCancel$0() { } }; - G.SingleCharPredicate.prototype = { - test$1: function(value) { - return this.value === value; + A._MouseManager_installStart_closure.prototype = { + call$1(el) { + var t1 = this.$this, + t2 = J.get$onMouseDown$x(type$.Element._as(el)), + t3 = t2.$ti, + t4 = t3._eval$1("~(1)?")._as(new A._MouseManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t4, false, t3._precomputed1)); }, - get$value: function(receiver) { - return this.value; - } - }; - L.ConstantCharPredicate.prototype = { - test$1: function(value) { - return this.constant; - } + $signature: 44 }; - U.LookupCharPredicate.prototype = { - LookupCharPredicate$1: function(ranges) { - var t1, t2, t3, t4, _i, range, t5, index, t6; - for (t1 = ranges.length, t2 = this.start, t3 = this.bits, t4 = t3.length, _i = 0; _i < t1; ++_i) { - range = ranges[_i]; - t5 = range.start; - if (typeof t5 !== "number") - return t5.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - index = t5 - t2; - t5 = range.stop; - if (typeof t5 !== "number") - return t5.$sub(); - t5 -= t2; - for (; index <= t5; ++index) { - t6 = C.JSInt_methods._shrOtherPositive$1(index, 5); - if (t6 >= t4) - return H.ioore(t3, t6); - t3[t6] = (t3[t6] | C.List_MmH[index & 31]) >>> 0; - } - } - }, - test$1: function(value) { - var t2, t3, - t1 = this.start; - if (typeof t1 !== "number") - return t1.$le(); - if (t1 <= value) { - t2 = this.stop; - if (typeof t2 !== "number") - return H.iae(t2); - if (value <= t2) { - t1 = value - t1; - t2 = this.bits; - t3 = C.JSInt_methods._shrOtherPositive$1(t1, 5); - if (t3 >= t2.length) - return H.ioore(t2, t3); - t1 = (t2[t3] & C.List_MmH[t1 & 31]) >>> 0 !== 0; - } else - t1 = false; + A._MouseManager_installStart__closure.prototype = { + call$1($event) { + var t1, target, t2; + type$.MouseEvent._as($event); + if ($._currentDrag != null) + return; + if ($event.button !== 0) + return; + t1 = $event.target; + if (A._convertNativeToDart_EventTarget(t1) != null) { + t1 = A._convertNativeToDart_EventTarget(t1); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); } else t1 = false; - return t1; + if (t1) + return; + target = A._convertNativeToDart_EventTarget($event.target); + if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) + $event.preventDefault(); + t1 = $event.pageX; + t1.toString; + t2 = $event.pageY; + t2.toString; + this.$this.handleStart$2($event, new A.Point(t1, t2, type$.Point_num)); }, - $isCharacterPredicate: 1 - }; - A.NotCharacterPredicate.prototype = { - test$1: function(value) { - return !this.predicate.test$1(value); - } + $signature: 20 }; - S.optimizedRanges_closure.prototype = { - call$2: function(first, second) { - var t2, - t1 = type$.RangeCharPredicate; - t1._as(first); - t1._as(second); - t1 = first.start; - t2 = second.start; - if (t1 != t2) { - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - t1 -= t2; - } else { - t1 = first.stop; - t2 = second.stop; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - t2 = t1 - t2; - t1 = t2; - } - return t1; + A._MouseManager_installMove_closure.prototype = { + call$1($event) { + var t1, t2, t3; + type$.MouseEvent._as($event); + t1 = $event.pageX; + t1.toString; + t2 = $event.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleMove$3($event, new A.Point(t1, t2, t3), new A.Point($event.clientX, $event.clientY, t3)); }, - $signature: 313 + $signature: 20 }; - S.optimizedRanges_closure0.prototype = { - call$2: function(current, range) { - var t1, t2; - H._asIntS(current); - type$.RangeCharPredicate._as(range); - t1 = range.stop; - t2 = range.start; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - if (typeof current !== "number") - return current.$add(); - return current + (t1 - t2 + 1); + A._MouseManager_installEnd_closure.prototype = { + call$1($event) { + var t1, t2, t3, t4; + type$.MouseEvent._as($event); + t1 = A._convertNativeToDart_EventTarget($event.target); + t2 = $event.pageX; + t2.toString; + t3 = $event.pageY; + t3.toString; + t4 = type$.Point_num; + this.$this.handleEnd$4($event, t1, new A.Point(t2, t3, t4), new A.Point($event.clientX, $event.clientY, t4)); }, - $signature: 314 + $signature: 20 }; - G.CharacterParser.prototype = { - parseOn$1: function(context) { - var buffer = context.buffer, - position = context.position, - t1 = buffer.length; - if (position < t1 && this.predicate.test$1(C.JSString_methods.codeUnitAt$1(buffer, position))) { - if (position < 0 || position >= t1) - return H.ioore(buffer, position); - t1 = buffer[position]; - return new D.Success(t1, buffer, position + 1, type$.Success_String); - } - return new B.Failure(this.message, buffer, position, type$.Failure_String); + A._PointerManager.prototype = { + installStart$0() { + var t1 = this.drg.__Draggable__elements_A; + t1 === $ && A.throwLateFieldNI("_elements"); + B.JSArray_methods.forEach$1(t1, new A._PointerManager_installStart_closure(this)); }, - fastParseOn$2: function(buffer, position) { - return position < buffer.length && this.predicate.test$1(C.JSString_methods.codeUnitAt$1(buffer, position)) ? position + 1 : -1; + installMove$0() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new A._PointerManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointermove", t2, false, type$.Event)); }, - toString$0: function(_) { - return this.super$Object$toString(0) + "[" + this.message + "]"; + installEnd$0() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new A._PointerManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointerup", t2, false, type$.Event)); }, - get$message: function(receiver) { - return this.message; + installCancel$0() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new A._PointerManager_installCancel_closure(this)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointercancel", t2, false, type$.Event)); } }; - E._single_closure.prototype = { - call$1: function(element) { - H._asStringS(element); - return G.RangeCharPredicate$(X.toCharCode(element), X.toCharCode(element)); - }, - $signature: 315 - }; - E._range_closure.prototype = { - call$1: function(elements) { - var t1; - type$.List_dynamic._as(elements); - t1 = J.getInterceptor$asx(elements); - return G.RangeCharPredicate$(X.toCharCode(t1.$index(elements, 0)), X.toCharCode(t1.$index(elements, 2))); - }, - $signature: 316 - }; - E._sequence_closure.prototype = { - call$1: function(predicates) { - return S.optimizedRanges(J.cast$1$0$ax(type$.List_dynamic._as(predicates), type$.RangeCharPredicate)); - }, - $signature: 145 - }; - E._pattern_closure.prototype = { - call$1: function(predicates) { - var t1; - type$.List_dynamic._as(predicates); - t1 = J.getInterceptor$asx(predicates); - t1 = t1.$index(predicates, 0) == null ? t1.$index(predicates, 1) : new A.NotCharacterPredicate(type$.CharacterPredicate._as(t1.$index(predicates, 1))); - return type$.CharacterPredicate._as(t1); + A._PointerManager_installStart_closure.prototype = { + call$1(el) { + var t1, t2, t3, t4; + type$.Element._as(el); + t1 = this.$this; + el.toString; + t2 = new A.ElementEvents(el).$index(0, "pointerdown"); + t3 = t2.$ti; + t4 = t3._eval$1("~(1)?")._as(new A._PointerManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t4, false, t3._precomputed1)); }, - $signature: 145 + $signature: 44 }; - Z.CharacterPredicate.prototype = {}; - G.RangeCharPredicate.prototype = { - test$1: function(value) { - var t1 = this.start; - if (typeof t1 !== "number") - return t1.$le(); - if (t1 <= value) { - t1 = this.stop; - if (typeof t1 !== "number") - return H.iae(t1); - t1 = value <= t1; + A._PointerManager_installStart__closure.prototype = { + call$1(e) { + var t1, target, t2; + type$.PointerEvent._as(e); + if ($._currentDrag != null) + return; + if (e.button !== 0) + return; + t1 = e.target; + if (A._convertNativeToDart_EventTarget(t1) != null) { + t1 = A._convertNativeToDart_EventTarget(t1); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); } else t1 = false; - return t1; + if (t1) + return; + target = A._convertNativeToDart_EventTarget(e.target); + if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) + e.preventDefault(); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + this.$this.handleStart$2(e, new A.Point(t1, t2, type$.Point_num)); }, - $isCharacterPredicate: 1 + $signature: 19 }; - Z.WhitespaceCharPredicate.prototype = { - test$1: function(value) { - if (value < 256) - switch (value) { - case 9: - case 10: - case 11: - case 12: - case 13: - case 32: - case 133: - case 160: - return true; - default: - return false; - } - else - switch (value) { - case 5760: - case 8192: - case 8193: - case 8194: - case 8195: - case 8196: - case 8197: - case 8198: - case 8199: - case 8200: - case 8201: - case 8202: - case 8232: - case 8233: - case 8239: - case 8287: - case 12288: - case 65279: - return true; - default: - return false; - } + A._PointerManager_installMove_closure.prototype = { + call$1(e) { + var t1, t2, t3; + type$.PointerEvent._as(e); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleMove$3(e, new A.Point(t1, t2, t3), new A.Point(e.clientX, e.clientY, t3)); }, - $isCharacterPredicate: 1 + $signature: 19 }; - O.ChoiceParser.prototype = { - parseOn$1: function(context) { - var t1, t2, t3, t4, failure, i, result; - for (t1 = this.children, t2 = t1.length, t3 = this.failureJoiner, t4 = this.$ti._eval$1("Failure<1>"), failure = null, i = 0; i < t2; ++i) { - result = t1[i].parseOn$1(context); - if (t4._is(result)) - failure = failure == null ? result : t3.call$2(failure, result); - else - return result; - } - failure.toString; - return failure; + A._PointerManager_installEnd_closure.prototype = { + call$1(e) { + var t1, t2, t3; + type$.PointerEvent._as(e); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleEnd$4(e, null, new A.Point(t1, t2, t3), new A.Point(e.clientX, e.clientY, t3)); }, - fastParseOn$2: function(buffer, position) { - var t1, t2, result, i; - for (t1 = this.children, t2 = t1.length, result = -1, i = 0; i < t2; ++i) { - result = t1[i].fastParseOn$2(buffer, position); - if (typeof result !== "number") - return result.$ge(); - if (result >= 0) - return result; - } - return result; - } + $signature: 19 }; - Z.DelegateParser.prototype = { - get$children: function(_) { - return H.setRuntimeTypeInfo([this.delegate], type$.JSArray_Parser_dynamic); + A._PointerManager_installCancel_closure.prototype = { + call$1($event) { + this.$this.drg._handleDragEnd$3$cancelled($event, null, true); }, - replace$2: function(_, source, target) { - var _this = this; - _this.super$Parser$replace(0, source, target); - if (J.$eq$(_this.delegate, source)) - _this.set$delegate(H._instanceType(_this)._eval$1("Parser")._as(target)); + $signature: 19 + }; + A.Int64.prototype = { + $sub(_, other) { + var o = A.Int64__promote(other); + return A.Int64__sub(this._l, this._m, this._int64$_h, o._l, o._m, o._int64$_h); }, - set$delegate: function(delegate) { - this.delegate = H._instanceType(this)._eval$1("Parser")._as(delegate); - } + $eq(_, other) { + var o, _this = this; + if (other == null) + return false; + if (other instanceof A.Int64) + o = other; + else if (A._isInt(other)) { + if (_this._int64$_h === 0 && _this._m === 0) + return _this._l === other; + if ((other & 4194303) === other) + return false; + o = A.Int64_Int64(other); + } else + o = null; + if (o != null) + return _this._l === o._l && _this._m === o._m && _this._int64$_h === o._int64$_h; + return false; + }, + compareTo$1(_, other) { + return this._compareTo$1(other); + }, + _compareTo$1(other) { + var o = A.Int64__promote(other), + t1 = this._int64$_h, + signa = t1 >>> 19, + t2 = o._int64$_h; + if (signa !== t2 >>> 19) + return signa === 0 ? 1 : -1; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + t1 = this._m; + t2 = o._m; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + t1 = this._l; + t2 = o._l; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + return 0; + }, + get$hashCode(_) { + var t1 = this._m; + return (((t1 & 1023) << 22 | this._l) ^ (this._int64$_h << 12 | t1 >>> 10 & 4095)) >>> 0; + }, + toString$0(_) { + var d00, d10, sign, + d0 = this._l, + d1 = this._m, + d2 = this._int64$_h; + if ((d2 & 524288) !== 0) { + d0 = 0 - d0; + d00 = d0 & 4194303; + d1 = 0 - d1 - (B.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); + d10 = d1 & 4194303; + d2 = 0 - d2 - (B.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; + d1 = d10; + d0 = d00; + sign = "-"; + } else + sign = ""; + return A.Int64__toRadixStringUnsigned(10, d0, d1, d2, sign); + }, + _toRadixString$1(radix) { + var d00, d10, sign, + d0 = this._l, + d1 = this._m, + d2 = this._int64$_h; + if ((d2 & 524288) !== 0) { + d0 = 0 - d0; + d00 = d0 & 4194303; + d1 = 0 - d1 - (B.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); + d10 = d1 & 4194303; + d2 = 0 - d2 - (B.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; + d1 = d10; + d0 = d00; + sign = "-"; + } else + sign = ""; + return A.Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign); + }, + $isComparable: 1 }; - D.ListParser.prototype = { - replace$2: function(_, source, target) { - var t1, t2, t3, i; - this.super$Parser$replace(0, source, target); - for (t1 = this.children, t2 = t1.length, t3 = H._instanceType(this)._eval$1("Parser"), i = 0; i < t2; ++i) - if (J.$eq$(t1[i], source)) - C.JSArray_methods.$indexSet(t1, i, t3._as(target)); + A.post_closure.prototype = { + call$1(client) { + var _this = this; + return client._sendUnstreamed$5("POST", _this.url, type$.nullable_Map_String_String._as(_this.headers), _this.body, _this.encoding); }, - get$children: function(receiver) { - return this.children; - } + $signature: 245 }; - M.OptionalParser.prototype = { - parseOn$1: function(context) { - var t1, t2, - result = this.delegate.parseOn$1(context); - if (result.get$isSuccess()) - return result; - else { - t1 = this.$ti; - t2 = t1._precomputed1._as(this.otherwise); - return new D.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); - } + A.BaseClient.prototype = { + _sendUnstreamed$5(method, url, headers, body, encoding) { + return this._sendUnstreamed$body$BaseClient(method, url, type$.nullable_Map_String_String._as(headers), body, encoding); }, - fastParseOn$2: function(buffer, position) { - var t1, - result = this.delegate.fastParseOn$2(buffer, position); - if (typeof result !== "number") - return result.$lt(); - if (result < 0) - t1 = position; - else - t1 = result; - return t1; - } + _sendUnstreamed$body$BaseClient(method, url, headers, body, encoding) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.Response), + $async$returnValue, $async$self = this, request, $async$temp1; + var $async$_sendUnstreamed$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + request = A.Request$(method, url); + request.headers.addAll$1(0, headers); + request.set$body(0, body); + $async$temp1 = A; + $async$goto = 3; + return A._asyncAwait($async$self.send$1(0, request), $async$_sendUnstreamed$5); + case 3: + // returning from await. + $async$returnValue = $async$temp1.Response_fromStream($async$result); + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$_sendUnstreamed$5, $async$completer); + }, + $isClient0: 1 }; - Q.SequenceParser.prototype = { - parseOn$1: function(context) { - var t2, t3, current, i, result, t4, - t1 = this.$ti, - elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); - for (t2 = this.children, t3 = t2.length, current = context, i = 0; i < t3; ++i, current = result) { - result = t2[i].parseOn$1(current); - if (result.get$isFailure()) { - t2 = result.get$message(result); - t3 = result.buffer; - t4 = result.position; - return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); - } - C.JSArray_methods.add$1(elements, result.get$value(result)); - } - t1._eval$1("List<1>")._as(elements); - return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + A.BaseRequest.prototype = { + finalize$0() { + if (this._finalized) + throw A.wrapException(A.StateError$("Can't finalize a finalized Request.")); + this._finalized = true; + return B.ByteStream__EmptyStream; }, - fastParseOn$2: function(buffer, position) { - var t1, t2, i; - for (t1 = this.children, t2 = t1.length, i = 0; i < t2; ++i) { - position = t1[i].fastParseOn$2(buffer, position); - if (typeof position !== "number") - return position.$lt(); - if (position < 0) - return position; - } - return position; + toString$0(_) { + return this.method + " " + this.url.toString$0(0); } }; - U.EndOfInputParser.prototype = { - parseOn$1: function(context) { - var t1 = context.position, - t2 = context.buffer; - if (t1 < t2.length) - t1 = new B.Failure(this.message, t2, t1, type$.Failure_void); - else - t1 = new D.Success(null, t2, t1, type$.Success_void); - return t1; - }, - fastParseOn$2: function(buffer, position) { - return position < buffer.length ? -1 : position; + A.BaseRequest_closure.prototype = { + call$2(key1, key2) { + A._asStringS(key1); + A._asStringS(key2); + return key1.toLowerCase() === key2.toLowerCase(); }, - toString$0: function(_) { - return this.super$Object$toString(0) + "[" + this.message + "]"; + $signature: 246 + }; + A.BaseRequest_closure0.prototype = { + call$1(key) { + return B.JSString_methods.get$hashCode(A._asStringS(key).toLowerCase()); }, - get$message: function(receiver) { - return this.message; + $signature: 247 + }; + A.BaseResponse.prototype = { + BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) { + var t1 = this.statusCode; + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < 100) + throw A.wrapException(A.ArgumentError$("Invalid status code " + t1 + ".", null)); } }; - E.EpsilonParser.prototype = { - parseOn$1: function(context) { - var t1 = this.$ti, - t2 = t1._precomputed1._as(this.result); - return new D.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); + A.BrowserClient.prototype = { + send$1(_, request) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.StreamedResponse), + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, xhr, completer, bytes, t1, t2, t3, t4, t5; + var $async$send$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + if ($async$self._isClosed) + throw A.wrapException(A.ClientException$("HTTP request failed. Client is already closed.", request.url)); + request.super$BaseRequest$finalize(); + $async$goto = 3; + return A._asyncAwait(new A.ByteStream(A.Stream_Stream$value(request._bodyBytes, type$.List_int)).toBytes$0(), $async$send$1); + case 3: + // returning from await. + bytes = $async$result; + xhr = new XMLHttpRequest(); + t1 = $async$self._xhrs; + t1.add$1(0, xhr); + t2 = xhr; + t3 = J.getInterceptor$x(t2); + t3.open$3$async(t2, request.method, request.url.toString$0(0), true); + t2.responseType = "arraybuffer"; + t3.set$withCredentials(t2, false); + request.headers.forEach$1(0, J.get$setRequestHeader$x(xhr)); + completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_StreamedResponse), type$._AsyncCompleter_StreamedResponse); + t2 = type$.nullable_EventTarget; + t3 = type$._EventStream_legacy_ProgressEvent; + t4 = new A._EventStream(t2._as(xhr), "load", false, t3); + t5 = type$.void; + t4.get$first(t4).then$1$1(0, new A.BrowserClient_send_closure(xhr, completer, request), t5); + t3 = new A._EventStream(t2._as(xhr), "error", false, t3); + t3.get$first(t3).then$1$1(0, new A.BrowserClient_send_closure0(completer, request), t5); + J.send$1$x(xhr, bytes); + $async$handler = 4; + $async$goto = 7; + return A._asyncAwait(completer.future, $async$send$1); + case 7: + // returning from await. + t2 = $async$result; + $async$returnValue = t2; + $async$next = [1]; + // goto finally + $async$goto = 5; + break; + $async$next.push(6); + // goto finally + $async$goto = 5; + break; + case 4: + // uncaught + $async$next = [2]; + case 5: + // finally + $async$handler = 2; + t1.remove$1(0, xhr); + // goto the next finally handler + $async$goto = $async$next.pop(); + break; + case 6: + // after finally + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return A._asyncRethrow($async$currentError, $async$completer); + } + }); + return A._asyncStartSync($async$send$1, $async$completer); }, - fastParseOn$2: function(buffer, position) { - return position; + close$0(_) { + var t1, t2; + this._isClosed = true; + for (t1 = this._xhrs, t2 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); t2.moveNext$0();) + t2._collection$_current.abort(); + t1.clear$0(0); } }; - V.AnyParser.prototype = { - parseOn$1: function(context) { - var buffer = context.buffer, - position = context.position, - t1 = buffer.length; - if (position < t1) { - if (position < 0) - return H.ioore(buffer, position); - t1 = buffer[position]; - t1 = new D.Success(t1, buffer, position + 1, type$.Success_String); - } else - t1 = new B.Failure(this.message, buffer, position, type$.Failure_String); - return t1; + A.BrowserClient_send_closure.prototype = { + call$1(_) { + var t1, body, t2, t3, t4, t5, t6; + type$.ProgressEvent._as(_); + t1 = this.xhr; + body = J.asUint8List$0$x(type$.ByteBuffer._as(A._convertNativeToDart_XHR_Response(t1.response))); + t2 = A.Stream_Stream$value(body, type$.List_int); + t3 = t1.status; + t3.toString; + t4 = J.get$length$asx(body); + t5 = this.request; + t6 = B.HttpRequest_methods.get$responseHeaders(t1); + t1 = t1.statusText; + t2 = new A.StreamedResponse(A.toByteStream(new A.ByteStream(t2)), t5, t3, t1, t4, t6, false, true); + t2.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t3, t4, t6, false, true, t1, t5); + this.completer.complete$1(0, t2); }, - fastParseOn$2: function(buffer, position) { - return position < buffer.length ? position + 1 : -1; + $signature: 149 + }; + A.BrowserClient_send_closure0.prototype = { + call$1(_) { + type$.ProgressEvent._as(_); + this.completer.completeError$2(new A.ClientException("XMLHttpRequest error."), A.StackTrace_current()); }, - get$message: function(receiver) { - return this.message; + $signature: 149 + }; + A.ByteStream.prototype = { + toBytes$0() { + var t1 = new A._Future($.Zone__current, type$._Future_Uint8List), + completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_Uint8List), + sink = new A._ByteCallbackSink(new A.ByteStream_toBytes_closure(completer), new Uint8Array(1024)); + this.listen$4$cancelOnError$onDone$onError(type$.void_Function_List_int._as(sink.get$add(sink)), true, sink.get$close(sink), completer.get$completeError()); + return t1; } }; - Z.PredicateParser.prototype = { - parseOn$1: function(context) { - var result, - start = context.position, - $stop = start + this.length, - t1 = context.buffer; - if ($stop <= t1.length) { - result = C.JSString_methods.substring$2(t1, start, $stop); - if (H.boolConversionCheck(this.predicate.call$1(result))) - return new D.Success(result, t1, $stop, type$.Success_String); - } - return new B.Failure(this.message, t1, start, type$.Failure_String); + A.ByteStream_toBytes_closure.prototype = { + call$1(bytes) { + return this.completer.complete$1(0, new Uint8Array(A._ensureNativeList(type$.List_int._as(bytes)))); }, - fastParseOn$2: function(buffer, position) { - var $stop = position + this.length; - return $stop <= buffer.length && H.boolConversionCheck(this.predicate.call$1(C.JSString_methods.substring$2(buffer, position, $stop))) ? $stop : -1; - }, - toString$0: function(_) { - return this.super$Object$toString(0) + "[" + this.message + "]"; - }, - get$length: function(receiver) { - return this.length; + $signature: 148 + }; + A.ClientException.prototype = { + toString$0(_) { + return this.message; }, - get$message: function(receiver) { + $isException: 1, + get$message(receiver) { return this.message; } }; - D.string_closure.prototype = { - call$1: function(each) { - return this.element === each; + A.Request.prototype = { + get$encoding(_) { + var t1, t2, _this = this; + if (_this.get$_contentType() == null || !J.containsKey$1$x(_this.get$_contentType().parameters._collection$_map, "charset")) + return _this._defaultEncoding; + t1 = J.$index$asx(_this.get$_contentType().parameters._collection$_map, "charset"); + t1.toString; + t2 = A.Encoding_getByName(t1); + return t2 == null ? A.throwExpression(A.FormatException$('Unsupported encoding "' + t1 + '".', null, null)) : t2; }, - $signature: 61 - }; - U.LazyRepeatingParser.prototype = { - parseOn$1: function(context) { - var t2, current, result, t3, t4, limiter, _this = this, - t1 = _this.$ti, - elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); - for (t2 = _this.min, current = context; elements.length < t2; current = result) { - result = _this.delegate.parseOn$1(current); - if (result.get$isFailure()) { - t2 = result.get$message(result); - t3 = result.buffer; - t4 = result.position; - return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); - } - C.JSArray_methods.add$1(elements, result.get$value(result)); - } - for (t2 = _this.max; true; current = result) { - limiter = _this.limit.parseOn$1(current); - if (limiter.get$isSuccess()) { - t1._eval$1("List<1>")._as(elements); - return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); - } else { - if (elements.length >= t2) { - t2 = limiter.get$message(limiter); - t3 = limiter.buffer; - t4 = limiter.position; - return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); - } - result = _this.delegate.parseOn$1(current); - if (result.get$isFailure()) { - t2 = limiter.get$message(limiter); - t3 = limiter.buffer; - t4 = limiter.position; - return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); - } - C.JSArray_methods.add$1(elements, result.get$value(result)); - } + set$body(_, value) { + var contentType, t2, _this = this, + t1 = type$.List_int._as(_this.get$encoding(_this).encode$1(value)); + _this._checkFinalized$0(); + _this._bodyBytes = A.toUint8List(t1); + contentType = _this.get$_contentType(); + if (contentType == null) { + t1 = _this.get$encoding(_this); + t2 = type$.String; + _this.set$_contentType(A.MediaType$("text", "plain", A.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2))); + } else if (!J.containsKey$1$x(contentType.parameters._collection$_map, "charset")) { + t1 = _this.get$encoding(_this); + t2 = type$.String; + _this.set$_contentType(contentType.change$1$parameters(A.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2))); } }, - fastParseOn$2: function(buffer, position) { - var t1, current, count, result, limiter, _this = this; - for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { - result = _this.delegate.fastParseOn$2(buffer, current); - if (typeof result !== "number") - return result.$lt(); - if (result < 0) - return -1; - ++count; - } - for (t1 = _this.max; true; current = result) { - limiter = _this.limit.fastParseOn$2(buffer, current); - if (typeof limiter !== "number") - return limiter.$ge(); - if (limiter >= 0) - return current; - else { - if (count >= t1) - return -1; - result = _this.delegate.fastParseOn$2(buffer, current); - if (typeof result !== "number") - return result.$lt(); - if (result < 0) - return -1; - ++count; - } - } - } - }; - G.LimitedRepeatingParser.prototype = { - get$children: function(_) { - return H.setRuntimeTypeInfo([this.delegate, this.limit], type$.JSArray_Parser_dynamic); + get$_contentType() { + var contentType = this.headers.$index(0, "content-type"); + if (contentType == null) + return null; + return A.MediaType_MediaType$parse(contentType); }, - replace$2: function(_, source, target) { - this.super$DelegateParser$replace(0, source, target); - if (J.$eq$(this.limit, source)) - this.limit = target; + set$_contentType(value) { + this.headers.$indexSet(0, "content-type", value.toString$0(0)); + }, + _checkFinalized$0() { + if (!this._finalized) + return; + throw A.wrapException(A.StateError$("Can't modify a finalized Request.")); } }; - Z.PossessiveRepeatingParser.prototype = { - parseOn$1: function(context) { - var t2, current, result, t3, t4, _this = this, - t1 = _this.$ti, - elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); - for (t2 = _this.min, current = context; elements.length < t2; current = result) { - result = _this.delegate.parseOn$1(current); - if (result.get$isFailure()) { - t2 = result.get$message(result); - t3 = result.buffer; - t4 = result.position; - return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); - } - C.JSArray_methods.add$1(elements, result.get$value(result)); - } - for (t2 = _this.max; elements.length < t2; current = result) { - result = _this.delegate.parseOn$1(current); - if (result.get$isFailure()) { - t1._eval$1("List<1>")._as(elements); - return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); - } - C.JSArray_methods.add$1(elements, result.get$value(result)); - } - t1._eval$1("List<1>")._as(elements); - return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + A.Response.prototype = {}; + A.StreamedResponse.prototype = {}; + A.CaseInsensitiveMap.prototype = {}; + A.CaseInsensitiveMap$from_closure.prototype = { + call$1(key) { + return A._asStringS(key).toLowerCase(); }, - fastParseOn$2: function(buffer, position) { - var t1, current, count, result, _this = this; - for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { - result = _this.delegate.fastParseOn$2(buffer, current); - if (typeof result !== "number") - return result.$lt(); - if (result < 0) - return -1; - ++count; - } - for (t1 = _this.max; count < t1; current = result) { - result = _this.delegate.fastParseOn$2(buffer, current); - if (typeof result !== "number") - return result.$lt(); - if (result < 0) - return current; - ++count; - } - return current; - } + $signature: 27 }; - N.RepeatingParser.prototype = { - RepeatingParser$3: function(parser, min, max, $R) { - var t1 = this.min, - t2 = this.max; - if (t2 < t1) - throw H.wrapException(P.ArgumentError$("Maximum repetitions must be larger than " + t1 + ", but got " + t2 + ".")); + A.MediaType.prototype = { + change$1$parameters(parameters) { + var t1, parameters0; + type$.nullable_Map_String_String._as(parameters); + t1 = type$.String; + parameters0 = A.LinkedHashMap_LinkedHashMap$from(this.parameters, t1, t1); + parameters0.addAll$1(0, parameters); + return A.MediaType$(this.type, this.subtype, parameters0); }, - toString$0: function(_) { - var t1 = this.super$Object$toString(0) + "[" + this.min + "..", - t2 = this.max; - return t1 + H.S(t2 === 9007199254740991 ? "*" : t2) + "]"; + toString$0(_) { + var buffer = new A.StringBuffer(""), + t1 = this.type; + buffer._contents = t1; + t1 += "/"; + buffer._contents = t1; + buffer._contents = t1 + this.subtype; + t1 = this.parameters; + J.forEach$1$ax(t1._collection$_map, t1.$ti._eval$1("~(1,2)")._as(new A.MediaType_toString_closure(buffer))); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - X.SeparatedBy_separatedBy_closure.prototype = { - call$1: function(list) { - var t1, result, t2, tuple, t3; - type$.List_dynamic._as(list); - t1 = this.R; - result = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<0>")); - t2 = J.getInterceptor$asx(list); - C.JSArray_methods.add$1(result, t1._as(t2.$index(list, 0))); - for (t2 = J.get$iterator$ax(type$.Iterable_dynamic._as(t2.$index(list, 1))); t2.moveNext$0();) { - tuple = t2.get$current(t2); - t3 = J.getInterceptor$asx(tuple); - C.JSArray_methods.add$1(result, t1._as(t3.$index(tuple, 0))); - C.JSArray_methods.add$1(result, t1._as(t3.$index(tuple, 1))); + A.MediaType_MediaType$parse_closure.prototype = { + call$0() { + var t3, t4, t5, t6, parameters, t7, success, t8, value, + t1 = this.mediaType, + scanner = new A.StringScanner(null, t1), + t2 = $.$get$whitespace(); + scanner.scan$1(t2); + t3 = $.$get$token(); + scanner.expect$1(t3); + t4 = scanner.get$lastMatch().$index(0, 0); + t4.toString; + scanner.expect$1("/"); + scanner.expect$1(t3); + t5 = scanner.get$lastMatch().$index(0, 0); + t5.toString; + scanner.scan$1(t2); + t6 = type$.String; + parameters = A.LinkedHashMap_LinkedHashMap$_empty(t6, t6); + while (true) { + t6 = scanner._lastMatch = B.JSString_methods.matchAsPrefix$2(";", t1, scanner._string_scanner$_position); + t7 = scanner._lastMatchPosition = scanner._string_scanner$_position; + success = t6 != null; + t6 = success ? scanner._lastMatchPosition = scanner._string_scanner$_position = t6.get$end(t6) : t7; + if (!success) + break; + t6 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, t6); + scanner._lastMatchPosition = scanner._string_scanner$_position; + if (t6 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t6.get$end(t6); + scanner.expect$1(t3); + if (scanner._string_scanner$_position !== scanner._lastMatchPosition) + scanner._lastMatch = null; + t6 = scanner._lastMatch.$index(0, 0); + t6.toString; + scanner.expect$1("="); + t7 = scanner._lastMatch = t3.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + t8 = scanner._lastMatchPosition = scanner._string_scanner$_position; + success = t7 != null; + if (success) { + t7 = scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(t7); + t8 = t7; + } else + t7 = t8; + if (success) { + if (t7 !== t8) + scanner._lastMatch = null; + t7 = scanner._lastMatch.$index(0, 0); + t7.toString; + value = t7; + } else + value = A.expectQuotedString(scanner); + t7 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + scanner._lastMatchPosition = scanner._string_scanner$_position; + if (t7 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(t7); + parameters.$indexSet(0, t6, value); } - return result; + scanner.expectDone$0(); + return A.MediaType$(t4, t5, parameters); }, - $signature: function() { - return this.R._eval$1("List<0>(List<@>)"); - } - }; - L.Browser.prototype = { - get$isFirefox: function() { - return this === $.$get$firefox(); - } + $signature: 252 }; - L.Browser_getCurrentBrowser_closure.prototype = { - call$1: function(browser) { - var t1; - type$.legacy_Browser._as(browser); - t1 = $.Browser_navigator; - return H._asBoolS(browser._browser$_matchesNavigator.call$1(t1)); + A.MediaType_toString_closure.prototype = { + call$2(attribute, value) { + var t1, t2, t3; + A._asStringS(attribute); + A._asStringS(value); + t1 = this.buffer; + t1._contents += "; " + A.S(attribute) + "="; + t2 = $.$get$nonToken()._nativeRegExp; + if (typeof value != "string") + A.throwExpression(A.argumentErrorValue(value)); + t2 = t2.test(value); + t3 = t1._contents; + if (t2) { + t1._contents = t3 + '"'; + t2 = $.$get$_escapedChar(); + value.toString; + t2 = t1._contents += A.stringReplaceAllFuncUnchecked(value, t2, type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(new A.MediaType_toString__closure())), type$.nullable_String_Function_String._as(null)); + t1._contents = t2 + '"'; + } else + t1._contents = t3 + A.S(value); }, - $signature: 324 + $signature: 76 }; - L.Browser_getCurrentBrowser_closure0.prototype = { - call$0: function() { - return $.$get$Browser_UnknownBrowser(); + A.MediaType_toString__closure.prototype = { + call$1(match) { + return "\\" + A.S(match.$index(0, 0)); }, - $signature: 329 + $signature: 61 }; - L._Chrome.prototype = {}; - L._Firefox.prototype = {}; - L._Safari.prototype = {}; - L._WKWebView.prototype = {}; - L._InternetExplorer.prototype = {}; - G._HtmlNavigator.prototype = {$isNavigatorProvider: 1}; - N.OperatingSystem.prototype = {}; - N.OperatingSystem_getCurrentOperatingSystem_closure.prototype = { - call$1: function(system) { - var t1; - type$.legacy_OperatingSystem._as(system); - t1 = $.OperatingSystem_navigator; - return H._asBoolS(system._matchesNavigator.call$1(t1)); + A.expectQuotedString_closure.prototype = { + call$1(match) { + var t1 = match.$index(0, 1); + t1.toString; + return t1; }, - $signature: 333 + $signature: 61 }; - N.OperatingSystem_getCurrentOperatingSystem_closure0.prototype = { - call$0: function() { - return $.$get$OperatingSystem_UnknownOS(); + A.Level.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Level && this.value === other.value; }, - $signature: 335 - }; - N.linux_closure.prototype = { - call$1: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; - return J.contains$1$asx(window.navigator.appVersion, "Linux"); + compareTo$1(_, other) { + return this.value - type$.Level._as(other).value; }, - $signature: 28 - }; - N.mac_closure.prototype = { - call$1: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; - return J.contains$1$asx(window.navigator.appVersion, "Mac"); + get$hashCode(_) { + return this.value; }, - $signature: 28 - }; - N.unix_closure.prototype = { - call$1: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; - return J.contains$1$asx(window.navigator.appVersion, "X11"); + toString$0(_) { + return this.name; }, - $signature: 28 + $isComparable: 1, + get$value(receiver) { + return this.value; + } }; - N.windows_closure.prototype = { - call$1: function($navigator) { - type$.legacy_NavigatorProvider._as($navigator).toString; - return J.contains$1$asx(window.navigator.appVersion, "Win"); + A.LogRecord.prototype = { + toString$0(_) { + return "[" + this.level.name + "] " + this.loggerName + ": " + A.S(this.message); }, - $signature: 28 - }; - U.CipherParameters.prototype = {}; - U.KeyParameter.prototype = { - get$key: function(_) { - var t1 = this.__KeyParameter_key; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("key")) : t1; + get$message(receiver) { + return this.message; + }, + get$stackTrace() { + return this.stackTrace; } }; - F.AESEngine.prototype = { - _subWord$1: function(x) { - var t1 = this._S; - return (t1[x & 255] & 255 | (t1[x >>> 8 & 255] & 255) << 8 | (t1[x >>> 16 & 255] & 255) << 16 | t1[x >>> 24 & 255] << 24) >>> 0; - }, - generateWorkingKey$2: function(forEncryption, params) { - var KC, t1, _length, $W, i, col0, t2, col1, col2, col3, t3, col4, col5, rcon, rcon0, col6, col7, _this = this, - key = params.get$key(params), - keyLen = J.get$length$asx(key); - if (keyLen < 16 || keyLen > 32 || (keyLen & 7) !== 0) - throw H.wrapException(P.ArgumentError$("Key length not 128/192/256 bits.")); - KC = keyLen >>> 2; - t1 = KC + 6; - _this._ROUNDS = t1; - _length = t1 + 1; - $W = J.JSArray_JSArray$allocateGrowable(_length, type$.List_int); - for (t1 = type$.int, i = 0; i < _length; ++i) - $W[i] = P.List_List$filled(4, 0, false, t1); - switch (KC) { - case 4: - col0 = G.unpack32(key, 0, C.C_Endian); - t1 = $W.length; - if (0 >= t1) - return H.ioore($W, 0); - t2 = $W[0]; - C.JSArray_methods.$indexSet(t2, 0, col0); - col1 = G.unpack32(key, 4, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 1, col1); - col2 = G.unpack32(key, 8, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 2, col2); - col3 = G.unpack32(key, 12, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 3, col3); - for (t2 = _this._rcon, i = 1; i <= 10; ++i) { - col0 = (col0 ^ _this._subWord$1((col3 >>> 8 | (col3 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ t2[i - 1]) >>> 0; - if (i >= t1) - return H.ioore($W, i); - t3 = $W[i]; - C.JSArray_methods.$indexSet(t3, 0, col0); - col1 = (col1 ^ col0) >>> 0; - C.JSArray_methods.$indexSet(t3, 1, col1); - col2 = (col2 ^ col1) >>> 0; - C.JSArray_methods.$indexSet(t3, 2, col2); - col3 = (col3 ^ col2) >>> 0; - C.JSArray_methods.$indexSet(t3, 3, col3); - } - break; - case 6: - col0 = G.unpack32(key, 0, C.C_Endian); - t1 = $W.length; - if (0 >= t1) - return H.ioore($W, 0); - t2 = $W[0]; - C.JSArray_methods.$indexSet(t2, 0, col0); - col1 = G.unpack32(key, 4, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 1, col1); - col2 = G.unpack32(key, 8, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 2, col2); - col3 = G.unpack32(key, 12, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 3, col3); - col4 = G.unpack32(key, 16, C.C_Endian); - col5 = G.unpack32(key, 20, C.C_Endian); - for (i = 1, rcon = 1; true;) { - if (i >= t1) - return H.ioore($W, i); - t2 = $W[i]; - C.JSArray_methods.$indexSet(t2, 0, col4); - C.JSArray_methods.$indexSet(t2, 1, col5); - rcon0 = rcon << 1; - col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; - C.JSArray_methods.$indexSet(t2, 2, col0); - col1 = (col1 ^ col0) >>> 0; - C.JSArray_methods.$indexSet(t2, 3, col1); - col2 = (col2 ^ col1) >>> 0; - t2 = i + 1; - if (t2 >= t1) - return H.ioore($W, t2); - t2 = $W[t2]; - C.JSArray_methods.$indexSet(t2, 0, col2); - col3 = (col3 ^ col2) >>> 0; - C.JSArray_methods.$indexSet(t2, 1, col3); - col4 = (col4 ^ col3) >>> 0; - C.JSArray_methods.$indexSet(t2, 2, col4); - col5 = (col5 ^ col4) >>> 0; - C.JSArray_methods.$indexSet(t2, 3, col5); - rcon = rcon0 << 1; - col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon0) >>> 0; - t2 = i + 2; - if (t2 >= t1) - return H.ioore($W, t2); - t2 = $W[t2]; - C.JSArray_methods.$indexSet(t2, 0, col0); - col1 = (col1 ^ col0) >>> 0; - C.JSArray_methods.$indexSet(t2, 1, col1); - col2 = (col2 ^ col1) >>> 0; - C.JSArray_methods.$indexSet(t2, 2, col2); - col3 = (col3 ^ col2) >>> 0; - C.JSArray_methods.$indexSet(t2, 3, col3); - i += 3; - if (i >= 13) - break; - col4 = (col4 ^ col3) >>> 0; - col5 = (col5 ^ col4) >>> 0; - } - break; - case 8: - col0 = G.unpack32(key, 0, C.C_Endian); - t1 = $W.length; - if (0 >= t1) - return H.ioore($W, 0); - t2 = $W[0]; - C.JSArray_methods.$indexSet(t2, 0, col0); - col1 = G.unpack32(key, 4, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 1, col1); - col2 = G.unpack32(key, 8, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 2, col2); - col3 = G.unpack32(key, 12, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 3, col3); - col4 = G.unpack32(key, 16, C.C_Endian); - if (1 >= t1) - return H.ioore($W, 1); - t2 = $W[1]; - C.JSArray_methods.$indexSet(t2, 0, col4); - col5 = G.unpack32(key, 20, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 1, col5); - col6 = G.unpack32(key, 24, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 2, col6); - col7 = G.unpack32(key, 28, C.C_Endian); - C.JSArray_methods.$indexSet(t2, 3, col7); - for (i = 2, rcon = 1; true; rcon = rcon0) { - rcon0 = rcon << 1; - col0 = (col0 ^ _this._subWord$1((col7 >>> 8 | (col7 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; - if (i >= t1) - return H.ioore($W, i); - t2 = $W[i]; - C.JSArray_methods.$indexSet(t2, 0, col0); - col1 = (col1 ^ col0) >>> 0; - C.JSArray_methods.$indexSet(t2, 1, col1); - col2 = (col2 ^ col1) >>> 0; - C.JSArray_methods.$indexSet(t2, 2, col2); - col3 = (col3 ^ col2) >>> 0; - C.JSArray_methods.$indexSet(t2, 3, col3); - ++i; - if (i >= 15) - break; - col4 = (col4 ^ _this._subWord$1(col3)) >>> 0; - if (i >= t1) - return H.ioore($W, i); - t2 = $W[i]; - C.JSArray_methods.$indexSet(t2, 0, col4); - col5 = (col5 ^ col4) >>> 0; - C.JSArray_methods.$indexSet(t2, 1, col5); - col6 = (col6 ^ col5) >>> 0; - C.JSArray_methods.$indexSet(t2, 2, col6); - col7 = (col7 ^ col6) >>> 0; - C.JSArray_methods.$indexSet(t2, 3, col7); - ++i; - } - break; - default: - throw H.wrapException(P.StateError$("Should never get here")); - } - return $W; + A.Logger.prototype = { + get$fullName() { + var t1 = this.parent, + t2 = t1 == null ? null : t1.name.length !== 0, + t3 = this.name; + return t2 === true ? t1.get$fullName() + "." + t3 : t3; }, - _encryptBlock$5: function(input, inOff, out, outOff, KW) { - var t2, t00, t10, t20, r3, t3, t4, r, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, t16, r0, r1, r2, r30, t17, t18, t19, t21, _this = this, - C0 = G.unpack32(input, inOff, C.C_Endian), - C1 = G.unpack32(input, inOff + 4, C.C_Endian), - C2 = G.unpack32(input, inOff + 8, C.C_Endian), - C3 = G.unpack32(input, inOff + 12, C.C_Endian), - t1 = KW.length; - if (0 >= t1) - return H.ioore(KW, 0); - t2 = KW[0]; - t00 = C0 ^ t2[0]; - t10 = C1 ^ t2[1]; - t20 = C2 ^ t2[2]; - r3 = C3 ^ t2[3]; - for (t2 = _this._ROUNDS - 1, t3 = _this._T0, t4 = t3.length, r = 1; r < t2;) { - t5 = t00 & 255; - if (t5 >= t4) - return H.ioore(t3, t5); - t5 = t3[t5]; - t6 = t10 >>> 8 & 255; - if (t6 >= t4) - return H.ioore(t3, t6); - t6 = H._asIntS(t3[t6]); - if (typeof t6 !== "number") - return t6.$shr(); - t7 = C.JSInt_methods._shrOtherPositive$1(t6, 24); - t8 = $._MASK32_HI_BITS[8]; - if (typeof t5 !== "number") - return t5.$xor(); - t9 = t20 >>> 16 & 255; - if (t9 >= t4) - return H.ioore(t3, t9); - t9 = H._asIntS(t3[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t11 = C.JSInt_methods._shrOtherPositive$1(t9, 16); - t12 = $._MASK32_HI_BITS[16]; - t13 = r3 >>> 24 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = H._asIntS(t3[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t14 = C.JSInt_methods._shrOtherPositive$1(t13, 8); - t15 = $._MASK32_HI_BITS[24]; - if (r >= t1) - return H.ioore(KW, r); - t16 = KW[r]; - r0 = t5 ^ (t7 | (t6 & t8) << 8) ^ (t11 | (t9 & t12) << 16) ^ (t14 | (t13 & t15) << 24) ^ t16[0]; - t13 = t10 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = t3[t13]; - t14 = t20 >>> 8 & 255; - if (t14 >= t4) - return H.ioore(t3, t14); - t14 = H._asIntS(t3[t14]); - if (typeof t14 !== "number") - return t14.$shr(); - t9 = C.JSInt_methods._shrOtherPositive$1(t14, 24); - if (typeof t13 !== "number") - return t13.$xor(); - t11 = r3 >>> 16 & 255; - if (t11 >= t4) - return H.ioore(t3, t11); - t11 = H._asIntS(t3[t11]); - if (typeof t11 !== "number") - return t11.$shr(); - t6 = C.JSInt_methods._shrOtherPositive$1(t11, 16); - t7 = t00 >>> 24 & 255; - if (t7 >= t4) - return H.ioore(t3, t7); - t7 = H._asIntS(t3[t7]); - if (typeof t7 !== "number") - return t7.$shr(); - r1 = t13 ^ (t9 | (t14 & t8) << 8) ^ (t6 | (t11 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t16[1]; - t7 = t20 & 255; - if (t7 >= t4) - return H.ioore(t3, t7); - t7 = t3[t7]; - t11 = r3 >>> 8 & 255; - if (t11 >= t4) - return H.ioore(t3, t11); - t11 = H._asIntS(t3[t11]); - if (typeof t11 !== "number") - return t11.$shr(); - t6 = C.JSInt_methods._shrOtherPositive$1(t11, 24); - if (typeof t7 !== "number") - return t7.$xor(); - t14 = t00 >>> 16 & 255; - if (t14 >= t4) - return H.ioore(t3, t14); - t14 = H._asIntS(t3[t14]); - if (typeof t14 !== "number") - return t14.$shr(); - t9 = C.JSInt_methods._shrOtherPositive$1(t14, 16); - t13 = t10 >>> 24 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = H._asIntS(t3[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - r2 = t7 ^ (t6 | (t11 & t8) << 8) ^ (t9 | (t14 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t13, 8) | (t13 & t15) << 24) ^ t16[2]; - t13 = r3 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = t3[t13]; - t00 = t00 >>> 8 & 255; - if (t00 >= t4) - return H.ioore(t3, t00); - t00 = H._asIntS(t3[t00]); - if (typeof t00 !== "number") - return t00.$shr(); - t14 = C.JSInt_methods._shrOtherPositive$1(t00, 24); - if (typeof t13 !== "number") - return t13.$xor(); - t10 = t10 >>> 16 & 255; - if (t10 >= t4) - return H.ioore(t3, t10); - t10 = H._asIntS(t3[t10]); - if (typeof t10 !== "number") - return t10.$shr(); - t9 = C.JSInt_methods._shrOtherPositive$1(t10, 16); - t20 = t20 >>> 24 & 255; - if (t20 >= t4) - return H.ioore(t3, t20); - t20 = H._asIntS(t3[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - ++r; - r3 = t13 ^ (t14 | (t00 & t8) << 8) ^ (t9 | (t10 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t20, 8) | (t20 & t15) << 24) ^ t16[3]; - t16 = r0 & 255; - if (t16 >= t4) - return H.ioore(t3, t16); - t16 = t3[t16]; - t20 = r1 >>> 8 & 255; - if (t20 >= t4) - return H.ioore(t3, t20); - t20 = H._asIntS(t3[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t10 = C.JSInt_methods._shrOtherPositive$1(t20, 24); - if (typeof t16 !== "number") - return t16.$xor(); - t9 = r2 >>> 16 & 255; - if (t9 >= t4) - return H.ioore(t3, t9); - t9 = H._asIntS(t3[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t00 = C.JSInt_methods._shrOtherPositive$1(t9, 16); - t14 = r3 >>> 24 & 255; - if (t14 >= t4) - return H.ioore(t3, t14); - t14 = H._asIntS(t3[t14]); - if (typeof t14 !== "number") - return t14.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t14, 8); - if (r >= t1) - return H.ioore(KW, r); - t11 = KW[r]; - t00 = t16 ^ (t10 | (t20 & t8) << 8) ^ (t00 | (t9 & t12) << 16) ^ (t13 | (t14 & t15) << 24) ^ t11[0]; - t14 = r1 & 255; - if (t14 >= t4) - return H.ioore(t3, t14); - t14 = t3[t14]; - t13 = r2 >>> 8 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = H._asIntS(t3[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t9 = C.JSInt_methods._shrOtherPositive$1(t13, 24); - if (typeof t14 !== "number") - return t14.$xor(); - t20 = r3 >>> 16 & 255; - if (t20 >= t4) - return H.ioore(t3, t20); - t20 = H._asIntS(t3[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t10 = C.JSInt_methods._shrOtherPositive$1(t20, 16); - t16 = r0 >>> 24 & 255; - if (t16 >= t4) - return H.ioore(t3, t16); - t16 = H._asIntS(t3[t16]); - if (typeof t16 !== "number") - return t16.$shr(); - t10 = t14 ^ (t9 | (t13 & t8) << 8) ^ (t10 | (t20 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t16, 8) | (t16 & t15) << 24) ^ t11[1]; - t16 = r2 & 255; - if (t16 >= t4) - return H.ioore(t3, t16); - t16 = t3[t16]; - t20 = r3 >>> 8 & 255; - if (t20 >= t4) - return H.ioore(t3, t20); - t20 = H._asIntS(t3[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t20, 24); - if (typeof t16 !== "number") - return t16.$xor(); - t9 = r0 >>> 16 & 255; - if (t9 >= t4) - return H.ioore(t3, t9); - t9 = H._asIntS(t3[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t14 = C.JSInt_methods._shrOtherPositive$1(t9, 16); - t6 = r1 >>> 24 & 255; - if (t6 >= t4) - return H.ioore(t3, t6); - t6 = H._asIntS(t3[t6]); - if (typeof t6 !== "number") - return t6.$shr(); - t20 = t16 ^ (t13 | (t20 & t8) << 8) ^ (t14 | (t9 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t15) << 24) ^ t11[2]; - t6 = r3 & 255; - if (t6 >= t4) - return H.ioore(t3, t6); - t6 = t3[t6]; - t9 = r0 >>> 8 & 255; - if (t9 >= t4) - return H.ioore(t3, t9); - t9 = H._asIntS(t3[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t14 = C.JSInt_methods._shrOtherPositive$1(t9, 24); - if (typeof t6 !== "number") - return t6.$xor(); - t13 = r1 >>> 16 & 255; - if (t13 >= t4) - return H.ioore(t3, t13); - t13 = H._asIntS(t3[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t16 = C.JSInt_methods._shrOtherPositive$1(t13, 16); - t7 = r2 >>> 24 & 255; - if (t7 >= t4) - return H.ioore(t3, t7); - t7 = H._asIntS(t3[t7]); - if (typeof t7 !== "number") - return t7.$shr(); - ++r; - r3 = t6 ^ (t14 | (t9 & t8) << 8) ^ (t16 | (t13 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t11[3]; + get$level(_) { + var t1, effectiveLevel; + if (this.parent == null) { + t1 = this._level; + t1.toString; + effectiveLevel = t1; + } else { + t1 = $.$get$Logger_root()._level; + t1.toString; + effectiveLevel = t1; } - t1 = t00 & 255; - if (t1 >= t4) - return H.ioore(t3, t1); - t1 = t3[t1]; - t2 = t10 >>> 8 & 255; - if (t2 >= t4) - return H.ioore(t3, t2); - t2 = G.rotr32(H._asIntS(t3[t2]), 24); - if (typeof t1 !== "number") - return t1.$xor(); - t4 = t20 >>> 16 & 255; - if (t4 >= t3.length) - return H.ioore(t3, t4); - t4 = G.rotr32(H._asIntS(t3[t4]), 16); - t5 = r3 >>> 24 & 255; - if (t5 >= t3.length) - return H.ioore(t3, t5); - t5 = G.rotr32(H._asIntS(t3[t5]), 8); - if (r >= KW.length) - return H.ioore(KW, r); - r0 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][0]; - t5 = t10 & 255; - t4 = t3.length; - if (t5 >= t4) - return H.ioore(t3, t5); - t5 = t3[t5]; - t2 = t20 >>> 8 & 255; - if (t2 >= t4) - return H.ioore(t3, t2); - t2 = G.rotr32(H._asIntS(t3[t2]), 24); - if (typeof t5 !== "number") - return t5.$xor(); - t4 = r3 >>> 16 & 255; - if (t4 >= t3.length) - return H.ioore(t3, t4); - t4 = G.rotr32(H._asIntS(t3[t4]), 16); - t1 = t00 >>> 24 & 255; - if (t1 >= t3.length) - return H.ioore(t3, t1); - t1 = G.rotr32(H._asIntS(t3[t1]), 8); - if (r >= KW.length) - return H.ioore(KW, r); - r1 = t5 ^ t2 ^ t4 ^ t1 ^ KW[r][1]; - t1 = t20 & 255; - t4 = t3.length; - if (t1 >= t4) - return H.ioore(t3, t1); - t1 = t3[t1]; - t2 = r3 >>> 8 & 255; - if (t2 >= t4) - return H.ioore(t3, t2); - t2 = G.rotr32(H._asIntS(t3[t2]), 24); - if (typeof t1 !== "number") - return t1.$xor(); - t4 = t00 >>> 16 & 255; - if (t4 >= t3.length) - return H.ioore(t3, t4); - t4 = G.rotr32(H._asIntS(t3[t4]), 16); - t5 = t10 >>> 24 & 255; - if (t5 >= t3.length) - return H.ioore(t3, t5); - t5 = G.rotr32(H._asIntS(t3[t5]), 8); - if (r >= KW.length) - return H.ioore(KW, r); - r2 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][2]; - t5 = r3 & 255; - t4 = t3.length; - if (t5 >= t4) - return H.ioore(t3, t5); - t5 = t3[t5]; - t00 = t00 >>> 8 & 255; - if (t00 >= t4) - return H.ioore(t3, t00); - t00 = G.rotr32(H._asIntS(t3[t00]), 24); - if (typeof t5 !== "number") - return t5.$xor(); - t10 = t10 >>> 16 & 255; - if (t10 >= t3.length) - return H.ioore(t3, t10); - t10 = G.rotr32(H._asIntS(t3[t10]), 16); - t20 = t20 >>> 24 & 255; - if (t20 >= t3.length) - return H.ioore(t3, t20); - t20 = G.rotr32(H._asIntS(t3[t20]), 8); - r3 = r + 1; - t3 = KW.length; - if (r >= t3) - return H.ioore(KW, r); - r30 = t5 ^ t00 ^ t10 ^ t20 ^ KW[r][3]; - t20 = _this._S; - t10 = t20[r0 & 255]; - t00 = t20[r1 >>> 8 & 255]; - t5 = _this._s; - t4 = r2 >>> 16 & 255; - t2 = t5.length; - if (t4 >= t2) - return H.ioore(t5, t4); - t4 = t5[t4]; - if (typeof t4 !== "number") - return t4.$and(); - t1 = r30 >>> 24 & 255; - if (t1 >= t2) - return H.ioore(t5, t1); - t1 = t5[t1]; - if (typeof t1 !== "number") - return t1.$shl(); - if (r3 >= t3) - return H.ioore(KW, r3); - t3 = KW[r3]; - t6 = t3[0]; - t7 = r1 & 255; - if (t7 >= t2) - return H.ioore(t5, t7); - t7 = t5[t7]; - if (typeof t7 !== "number") - return t7.$and(); - t8 = t20[r2 >>> 8 & 255]; - t9 = t20[r30 >>> 16 & 255]; - t11 = r0 >>> 24 & 255; - if (t11 >= t2) - return H.ioore(t5, t11); - t11 = t5[t11]; - if (typeof t11 !== "number") - return t11.$shl(); - t12 = t3[1]; - t13 = r2 & 255; - if (t13 >= t2) - return H.ioore(t5, t13); - t13 = t5[t13]; - if (typeof t13 !== "number") - return t13.$and(); - t14 = t20[r30 >>> 8 & 255]; - t15 = t20[r0 >>> 16 & 255]; - t16 = t20[r1 >>> 24 & 255]; - t17 = t3[2]; - t18 = r30 & 255; - if (t18 >= t2) - return H.ioore(t5, t18); - t18 = t5[t18]; - if (typeof t18 !== "number") - return t18.$and(); - t19 = r0 >>> 8 & 255; - if (t19 >= t2) - return H.ioore(t5, t19); - t19 = t5[t19]; - if (typeof t19 !== "number") - return t19.$and(); - t21 = r1 >>> 16 & 255; - if (t21 >= t2) - return H.ioore(t5, t21); - t21 = t5[t21]; - if (typeof t21 !== "number") - return t21.$and(); - t20 = t20[r2 >>> 24 & 255]; - t3 = t3[3]; - G.pack32((t10 & 255 ^ (t00 & 255) << 8 ^ (t4 & 255) << 16 ^ t1 << 24 ^ t6) >>> 0, out, outOff, C.C_Endian); - G.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, C.C_Endian); - G.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, C.C_Endian); - G.pack32((t18 & 255 ^ (t19 & 255) << 8 ^ (t21 & 255) << 16 ^ t20 << 24 ^ t3) >>> 0, out, outOff + 12, C.C_Endian); + return effectiveLevel; }, - _decryptBlock$5: function(input, inOff, out, outOff, KW) { - var t3, t00, t10, t20, r, r3, t4, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, r0, r1, r2, t16, t17, t18, t19, t21, _this = this, - C0 = G.unpack32(input, inOff, C.C_Endian), - C1 = G.unpack32(input, inOff + 4, C.C_Endian), - C2 = G.unpack32(input, inOff + 8, C.C_Endian), - C3 = G.unpack32(input, inOff + 12, C.C_Endian), - t1 = _this._ROUNDS, - t2 = KW.length; - if (t1 >= t2) - return H.ioore(KW, t1); - t3 = KW[t1]; - t00 = C0 ^ t3[0]; - t10 = C1 ^ t3[1]; - t20 = C2 ^ t3[2]; - r = t1 - 1; - r3 = C3 ^ t3[3]; - for (t1 = _this._Tinv0, t3 = t1.length; r > 1;) { - t4 = t00 & 255; - if (t4 >= t3) - return H.ioore(t1, t4); - t4 = t1[t4]; - t5 = r3 >>> 8 & 255; - if (t5 >= t3) - return H.ioore(t1, t5); - t5 = H._asIntS(t1[t5]); - if (typeof t5 !== "number") - return t5.$shr(); - t6 = C.JSInt_methods._shrOtherPositive$1(t5, 24); - t7 = $._MASK32_HI_BITS[8]; - if (typeof t4 !== "number") - return t4.$xor(); - t8 = t20 >>> 16 & 255; - if (t8 >= t3) - return H.ioore(t1, t8); - t8 = H._asIntS(t1[t8]); - if (typeof t8 !== "number") - return t8.$shr(); - t9 = C.JSInt_methods._shrOtherPositive$1(t8, 16); - t11 = $._MASK32_HI_BITS[16]; - t12 = t10 >>> 24 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = H._asIntS(t1[t12]); - if (typeof t12 !== "number") - return t12.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t12, 8); - t14 = $._MASK32_HI_BITS[24]; - if (r >= t2) - return H.ioore(KW, r); - t15 = KW[r]; - r0 = t4 ^ (t6 | (t5 & t7) << 8) ^ (t9 | (t8 & t11) << 16) ^ (t13 | (t12 & t14) << 24) ^ t15[0]; - t12 = t10 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = t1[t12]; - t13 = t00 >>> 8 & 255; - if (t13 >= t3) - return H.ioore(t1, t13); - t13 = H._asIntS(t1[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t8 = C.JSInt_methods._shrOtherPositive$1(t13, 24); - if (typeof t12 !== "number") - return t12.$xor(); - t9 = r3 >>> 16 & 255; - if (t9 >= t3) - return H.ioore(t1, t9); - t9 = H._asIntS(t1[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t5 = C.JSInt_methods._shrOtherPositive$1(t9, 16); - t6 = t20 >>> 24 & 255; - if (t6 >= t3) - return H.ioore(t1, t6); - t6 = H._asIntS(t1[t6]); - if (typeof t6 !== "number") - return t6.$shr(); - r1 = t12 ^ (t8 | (t13 & t7) << 8) ^ (t5 | (t9 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t15[1]; - t6 = t20 & 255; - if (t6 >= t3) - return H.ioore(t1, t6); - t6 = t1[t6]; - t9 = t10 >>> 8 & 255; - if (t9 >= t3) - return H.ioore(t1, t9); - t9 = H._asIntS(t1[t9]); - if (typeof t9 !== "number") - return t9.$shr(); - t5 = C.JSInt_methods._shrOtherPositive$1(t9, 24); - if (typeof t6 !== "number") - return t6.$xor(); - t13 = t00 >>> 16 & 255; - if (t13 >= t3) - return H.ioore(t1, t13); - t13 = H._asIntS(t1[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t8 = C.JSInt_methods._shrOtherPositive$1(t13, 16); - t12 = r3 >>> 24 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = H._asIntS(t1[t12]); - if (typeof t12 !== "number") - return t12.$shr(); - r2 = t6 ^ (t5 | (t9 & t7) << 8) ^ (t8 | (t13 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t12, 8) | (t12 & t14) << 24) ^ t15[2]; - t12 = r3 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = t1[t12]; - t20 = t20 >>> 8 & 255; - if (t20 >= t3) - return H.ioore(t1, t20); - t20 = H._asIntS(t1[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t20, 24); - if (typeof t12 !== "number") - return t12.$xor(); - t10 = t10 >>> 16 & 255; - if (t10 >= t3) - return H.ioore(t1, t10); - t10 = H._asIntS(t1[t10]); - if (typeof t10 !== "number") - return t10.$shr(); - t8 = C.JSInt_methods._shrOtherPositive$1(t10, 16); - t00 = t00 >>> 24 & 255; - if (t00 >= t3) - return H.ioore(t1, t00); - t00 = H._asIntS(t1[t00]); - if (typeof t00 !== "number") - return t00.$shr(); - --r; - r3 = t12 ^ (t13 | (t20 & t7) << 8) ^ (t8 | (t10 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t00, 8) | (t00 & t14) << 24) ^ t15[3]; - t15 = r0 & 255; - if (t15 >= t3) - return H.ioore(t1, t15); - t15 = t1[t15]; - t00 = r3 >>> 8 & 255; - if (t00 >= t3) - return H.ioore(t1, t00); - t00 = H._asIntS(t1[t00]); - if (typeof t00 !== "number") - return t00.$shr(); - t10 = C.JSInt_methods._shrOtherPositive$1(t00, 24); - if (typeof t15 !== "number") - return t15.$xor(); - t8 = r2 >>> 16 & 255; - if (t8 >= t3) - return H.ioore(t1, t8); - t8 = H._asIntS(t1[t8]); - if (typeof t8 !== "number") - return t8.$shr(); - t20 = C.JSInt_methods._shrOtherPositive$1(t8, 16); - t13 = r1 >>> 24 & 255; - if (t13 >= t3) - return H.ioore(t1, t13); - t13 = H._asIntS(t1[t13]); - if (typeof t13 !== "number") - return t13.$shr(); - t12 = C.JSInt_methods._shrOtherPositive$1(t13, 8); - if (r >= t2) - return H.ioore(KW, r); - t9 = KW[r]; - t00 = t15 ^ (t10 | (t00 & t7) << 8) ^ (t20 | (t8 & t11) << 16) ^ (t12 | (t13 & t14) << 24) ^ t9[0]; - t13 = r1 & 255; - if (t13 >= t3) - return H.ioore(t1, t13); - t13 = t1[t13]; - t12 = r0 >>> 8 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = H._asIntS(t1[t12]); - if (typeof t12 !== "number") - return t12.$shr(); - t8 = C.JSInt_methods._shrOtherPositive$1(t12, 24); - if (typeof t13 !== "number") - return t13.$xor(); - t20 = r3 >>> 16 & 255; - if (t20 >= t3) - return H.ioore(t1, t20); - t20 = H._asIntS(t1[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t10 = C.JSInt_methods._shrOtherPositive$1(t20, 16); - t15 = r2 >>> 24 & 255; - if (t15 >= t3) - return H.ioore(t1, t15); - t15 = H._asIntS(t1[t15]); - if (typeof t15 !== "number") - return t15.$shr(); - t10 = t13 ^ (t8 | (t12 & t7) << 8) ^ (t10 | (t20 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t15, 8) | (t15 & t14) << 24) ^ t9[1]; - t15 = r2 & 255; - if (t15 >= t3) - return H.ioore(t1, t15); - t15 = t1[t15]; - t20 = r1 >>> 8 & 255; - if (t20 >= t3) - return H.ioore(t1, t20); - t20 = H._asIntS(t1[t20]); - if (typeof t20 !== "number") - return t20.$shr(); - t12 = C.JSInt_methods._shrOtherPositive$1(t20, 24); - if (typeof t15 !== "number") - return t15.$xor(); - t8 = r0 >>> 16 & 255; - if (t8 >= t3) - return H.ioore(t1, t8); - t8 = H._asIntS(t1[t8]); - if (typeof t8 !== "number") - return t8.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t8, 16); - t5 = r3 >>> 24 & 255; - if (t5 >= t3) - return H.ioore(t1, t5); - t5 = H._asIntS(t1[t5]); - if (typeof t5 !== "number") - return t5.$shr(); - t20 = t15 ^ (t12 | (t20 & t7) << 8) ^ (t13 | (t8 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t5, 8) | (t5 & t14) << 24) ^ t9[2]; - t5 = r3 & 255; - if (t5 >= t3) - return H.ioore(t1, t5); - t5 = t1[t5]; - t8 = r2 >>> 8 & 255; - if (t8 >= t3) - return H.ioore(t1, t8); - t8 = H._asIntS(t1[t8]); - if (typeof t8 !== "number") - return t8.$shr(); - t13 = C.JSInt_methods._shrOtherPositive$1(t8, 24); - if (typeof t5 !== "number") - return t5.$xor(); - t12 = r1 >>> 16 & 255; - if (t12 >= t3) - return H.ioore(t1, t12); - t12 = H._asIntS(t1[t12]); - if (typeof t12 !== "number") - return t12.$shr(); - t15 = C.JSInt_methods._shrOtherPositive$1(t12, 16); - t6 = r0 >>> 24 & 255; - if (t6 >= t3) - return H.ioore(t1, t6); - t6 = H._asIntS(t1[t6]); - if (typeof t6 !== "number") - return t6.$shr(); - --r; - r3 = t5 ^ (t13 | (t8 & t7) << 8) ^ (t15 | (t12 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t9[3]; + log$4(logLevel, message, error, stackTrace) { + var msg, record, _this = this, + t1 = logLevel.value; + if (t1 >= _this.get$level(_this).value) { + if (type$.Function._is(message)) + message = type$.nullable_Object_Function._as(message).call$0(); + msg = typeof message == "string" ? message : J.toString$0$(message); + if (stackTrace == null && t1 >= 2000) { + stackTrace = A.StackTrace_current(); + if (error == null) + error = "autogenerated stack trace for " + logLevel.toString$0(0) + " " + A.S(msg); + } + t1 = _this.get$fullName(); + Date.now(); + $.LogRecord__nextNumber = $.LogRecord__nextNumber + 1; + record = new A.LogRecord(logLevel, msg, t1, error, stackTrace); + if (_this.parent == null) + _this._publish$1(record); + else + $.$get$Logger_root()._publish$1(record); } - t2 = t00 & 255; - if (t2 >= t3) - return H.ioore(t1, t2); - t2 = t1[t2]; - t4 = r3 >>> 8 & 255; - if (t4 >= t3) - return H.ioore(t1, t4); - t4 = G.rotr32(H._asIntS(t1[t4]), 24); - if (typeof t2 !== "number") - return t2.$xor(); - t3 = t20 >>> 16 & 255; - if (t3 >= t1.length) - return H.ioore(t1, t3); - t3 = G.rotr32(H._asIntS(t1[t3]), 16); - t5 = t10 >>> 24 & 255; - if (t5 >= t1.length) - return H.ioore(t1, t5); - t5 = G.rotr32(H._asIntS(t1[t5]), 8); - if (r < 0 || r >= KW.length) - return H.ioore(KW, r); - r0 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][0]; - t5 = t10 & 255; - t3 = t1.length; - if (t5 >= t3) - return H.ioore(t1, t5); - t5 = t1[t5]; - t4 = t00 >>> 8 & 255; - if (t4 >= t3) - return H.ioore(t1, t4); - t4 = G.rotr32(H._asIntS(t1[t4]), 24); - if (typeof t5 !== "number") - return t5.$xor(); - t3 = r3 >>> 16 & 255; - if (t3 >= t1.length) - return H.ioore(t1, t3); - t3 = G.rotr32(H._asIntS(t1[t3]), 16); - t2 = t20 >>> 24 & 255; - if (t2 >= t1.length) - return H.ioore(t1, t2); - t2 = G.rotr32(H._asIntS(t1[t2]), 8); - if (r >= KW.length) - return H.ioore(KW, r); - r1 = t5 ^ t4 ^ t3 ^ t2 ^ KW[r][1]; - t2 = t20 & 255; - t3 = t1.length; - if (t2 >= t3) - return H.ioore(t1, t2); - t2 = t1[t2]; - t4 = t10 >>> 8 & 255; - if (t4 >= t3) - return H.ioore(t1, t4); - t4 = G.rotr32(H._asIntS(t1[t4]), 24); - if (typeof t2 !== "number") - return t2.$xor(); - t3 = t00 >>> 16 & 255; - if (t3 >= t1.length) - return H.ioore(t1, t3); - t3 = G.rotr32(H._asIntS(t1[t3]), 16); - t5 = r3 >>> 24 & 255; - if (t5 >= t1.length) - return H.ioore(t1, t5); - t5 = G.rotr32(H._asIntS(t1[t5]), 8); - if (r >= KW.length) - return H.ioore(KW, r); - r2 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][2]; - t5 = r3 & 255; - t3 = t1.length; - if (t5 >= t3) - return H.ioore(t1, t5); - t5 = t1[t5]; - t20 = t20 >>> 8 & 255; - if (t20 >= t3) - return H.ioore(t1, t20); - t20 = G.rotr32(H._asIntS(t1[t20]), 24); - if (typeof t5 !== "number") - return t5.$xor(); - t10 = t10 >>> 16 & 255; - if (t10 >= t1.length) - return H.ioore(t1, t10); - t10 = G.rotr32(H._asIntS(t1[t10]), 16); - t00 = t00 >>> 24 & 255; - if (t00 >= t1.length) - return H.ioore(t1, t00); - t00 = G.rotr32(H._asIntS(t1[t00]), 8); - t1 = KW.length; - if (r >= t1) - return H.ioore(KW, r); - r3 = t5 ^ t20 ^ t10 ^ t00 ^ KW[r][3]; - t00 = _this._Si; - t10 = t00[r0 & 255]; - t20 = _this._s; - t5 = r3 >>> 8 & 255; - t3 = t20.length; - if (t5 >= t3) - return H.ioore(t20, t5); - t5 = t20[t5]; - if (typeof t5 !== "number") - return t5.$and(); - t4 = r2 >>> 16 & 255; - if (t4 >= t3) - return H.ioore(t20, t4); - t4 = t20[t4]; - if (typeof t4 !== "number") - return t4.$and(); - t2 = t00[r1 >>> 24 & 255]; - if (0 >= t1) - return H.ioore(KW, 0); - t1 = KW[0]; - t6 = t1[0]; - t7 = r1 & 255; - if (t7 >= t3) - return H.ioore(t20, t7); - t7 = t20[t7]; - if (typeof t7 !== "number") - return t7.$and(); - t8 = r0 >>> 8 & 255; - if (t8 >= t3) - return H.ioore(t20, t8); - t8 = t20[t8]; - if (typeof t8 !== "number") - return t8.$and(); - t9 = t00[r3 >>> 16 & 255]; - t11 = r2 >>> 24 & 255; - if (t11 >= t3) - return H.ioore(t20, t11); - t11 = t20[t11]; - if (typeof t11 !== "number") - return t11.$shl(); - t12 = t1[1]; - t13 = r2 & 255; - if (t13 >= t3) - return H.ioore(t20, t13); - t13 = t20[t13]; - if (typeof t13 !== "number") - return t13.$and(); - t14 = t00[r1 >>> 8 & 255]; - t15 = t00[r0 >>> 16 & 255]; - t16 = r3 >>> 24 & 255; - if (t16 >= t3) - return H.ioore(t20, t16); - t16 = t20[t16]; - if (typeof t16 !== "number") - return t16.$shl(); - t17 = t1[2]; - t00 = t00[r3 & 255]; - t18 = r2 >>> 8 & 255; - if (t18 >= t3) - return H.ioore(t20, t18); - t18 = t20[t18]; - if (typeof t18 !== "number") - return t18.$and(); - t19 = r1 >>> 16 & 255; - if (t19 >= t3) - return H.ioore(t20, t19); - t19 = t20[t19]; - if (typeof t19 !== "number") - return t19.$and(); - t21 = r0 >>> 24 & 255; - if (t21 >= t3) - return H.ioore(t20, t21); - t21 = t20[t21]; - if (typeof t21 !== "number") - return t21.$shl(); - t1 = t1[3]; - G.pack32((t10 & 255 ^ (t5 & 255) << 8 ^ (t4 & 255) << 16 ^ t2 << 24 ^ t6) >>> 0, out, outOff, C.C_Endian); - G.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, C.C_Endian); - G.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, C.C_Endian); - G.pack32((t00 & 255 ^ (t18 & 255) << 8 ^ (t19 & 255) << 16 ^ t21 << 24 ^ t1) >>> 0, out, outOff + 12, C.C_Endian); - }, - set$_WorkingKey: function(_WorkingKey) { - this._WorkingKey = type$.nullable_List_List_int._as(_WorkingKey); }, - set$_s: function(_s) { - this._s = type$.List_int._as(_s); + _publish$1(record) { + var t1 = this._controller; + return t1 == null ? null : t1.add$1(0, record); } }; - A.SHA1Digest.prototype = { - processBlock$0: function() { - var t1, t2, i, t3, t4, t5, t6, t, $A, $B, $C, $D, $E, A0, idx, j, idx0; - for (t1 = this.buffer, t2 = t1.length, i = 16; i < 80; ++i) { - t3 = i - 3; - if (t3 >= t2) - return H.ioore(t1, t3); - t3 = t1[t3]; - t4 = i - 8; - if (t4 >= t2) - return H.ioore(t1, t4); - t4 = t1[t4]; - if (typeof t3 !== "number") - return t3.$xor(); - if (typeof t4 !== "number") - return H.iae(t4); - t5 = i - 14; - if (t5 >= t2) - return H.ioore(t1, t5); - t5 = t1[t5]; - if (typeof t5 !== "number") - return H.iae(t5); - t6 = i - 16; - if (t6 >= t2) - return H.ioore(t1, t6); - t6 = t1[t6]; - if (typeof t6 !== "number") - return H.iae(t6); - t = t3 ^ t4 ^ t5 ^ t6; - C.JSArray_methods.$indexSet(t1, i, ((t & $._MASK32_HI_BITS[1]) << 1 | t >>> 31) >>> 0); - } - t3 = this.state; - t4 = t3.length; - if (0 >= t4) - return H.ioore(t3, 0); - $A = t3[0]; - if (1 >= t4) - return H.ioore(t3, 1); - $B = t3[1]; - if (2 >= t4) - return H.ioore(t3, 2); - $C = t3[2]; - if (3 >= t4) - return H.ioore(t3, 3); - $D = t3[3]; - if (4 >= t4) - return H.ioore(t3, 4); - $E = t3[4]; - for (A0 = $A, idx = 0, j = 0; j < 4; ++j, idx = idx0) { - t4 = $._MASK32_HI_BITS[5]; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t5 = t1[idx]; - if (typeof t5 !== "number") - return H.iae(t5); - $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | ~$B & $D) >>> 0) + t5 + 1518500249 >>> 0; - t5 = $._MASK32_HI_BITS[30]; - $B = (($B & t5) << 30 | $B >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | ~A0 & $C) >>> 0) + t6 + 1518500249 >>> 0; - A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | ~$E & $B) >>> 0) + t6 + 1518500249 >>> 0; - $E = (($E & t5) << 30 | $E >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | ~$D & A0) >>> 0) + t6 + 1518500249 >>> 0; - $D = (($D & t5) << 30 | $D >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | ~$C & $E) >>> 0) + t6 + 1518500249 >>> 0; - $C = (($C & t5) << 30 | $C >>> 2) >>> 0; - } - for (j = 0; j < 4; ++j, idx = idx0) { - t4 = $._MASK32_HI_BITS[5]; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t5 = t1[idx]; - if (typeof t5 !== "number") - return H.iae(t5); - $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 1859775393 >>> 0; - t5 = $._MASK32_HI_BITS[30]; - $B = (($B & t5) << 30 | $B >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 1859775393 >>> 0; - A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 1859775393 >>> 0; - $E = (($E & t5) << 30 | $E >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 1859775393 >>> 0; - $D = (($D & t5) << 30 | $D >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 1859775393 >>> 0; - $C = (($C & t5) << 30 | $C >>> 2) >>> 0; - } - for (j = 0; j < 4; ++j, idx = idx0) { - t4 = $._MASK32_HI_BITS[5]; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t5 = t1[idx]; - if (typeof t5 !== "number") - return H.iae(t5); - $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | $B & $D | $C & $D) >>> 0) + t5 + 2400959708 >>> 0; - t5 = $._MASK32_HI_BITS[30]; - $B = (($B & t5) << 30 | $B >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | A0 & $C | $B & $C) >>> 0) + t6 + 2400959708 >>> 0; - A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | $E & $B | A0 & $B) >>> 0) + t6 + 2400959708 >>> 0; - $E = (($E & t5) << 30 | $E >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | $D & A0 | $E & A0) >>> 0) + t6 + 2400959708 >>> 0; - $D = (($D & t5) << 30 | $D >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | $C & $E | $D & $E) >>> 0) + t6 + 2400959708 >>> 0; - $C = (($C & t5) << 30 | $C >>> 2) >>> 0; - } - for (j = 0; j < 4; ++j, idx = idx0) { - t4 = $._MASK32_HI_BITS[5]; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t5 = t1[idx]; - if (typeof t5 !== "number") - return H.iae(t5); - $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 3395469782 >>> 0; - t5 = $._MASK32_HI_BITS[30]; - $B = (($B & t5) << 30 | $B >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 3395469782 >>> 0; - A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 3395469782 >>> 0; - $E = (($E & t5) << 30 | $E >>> 2) >>> 0; - idx = idx0 + 1; - if (idx0 >= t2) - return H.ioore(t1, idx0); - t6 = t1[idx0]; - if (typeof t6 !== "number") - return H.iae(t6); - $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 3395469782 >>> 0; - $D = (($D & t5) << 30 | $D >>> 2) >>> 0; - idx0 = idx + 1; - if (idx >= t2) - return H.ioore(t1, idx); - t6 = t1[idx]; - if (typeof t6 !== "number") - return H.iae(t6); - A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 3395469782 >>> 0; - $C = (($C & t5) << 30 | $C >>> 2) >>> 0; - } - C.JSArray_methods.$indexSet(t3, 0, $A + A0 >>> 0); - C.JSArray_methods.$indexSet(t3, 1, t3[1] + $B >>> 0); - C.JSArray_methods.$indexSet(t3, 2, t3[2] + $C >>> 0); - C.JSArray_methods.$indexSet(t3, 3, t3[3] + $D >>> 0); - C.JSArray_methods.$indexSet(t3, 4, t3[4] + $E >>> 0); - } - }; - N.Pbkdf2Parameters.prototype = {}; - D.PBKDF2KeyDerivator.prototype = { - get$_params: function() { - var t1 = this.__PBKDF2KeyDerivator__params; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_params")) : t1; - }, - get$_pbkdf2$_state: function() { - var t1 = this.__PBKDF2KeyDerivator__state; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t1; - }, - deriveKey$4: function(inp, inpOff, out, outOff) { - var l, iBuf, outBytes, outPos, i, pos, t2, _this = this, - dkLen = _this.get$_params().desiredKeyLength, - t1 = _this._mac, - hLen = t1.get$_digestSize(); - if (typeof hLen !== "number") - return H.iae(hLen); - l = C.JSInt_methods.$tdiv(dkLen + hLen - 1, hLen); - iBuf = new Uint8Array(4); - outBytes = new Uint8Array(l * hLen); - t1.init$1(0, new U.KeyParameter(C.NativeUint8List_methods.sublist$1(inp, inpOff))); - for (outPos = 0, i = 1; i <= l; ++i) { - for (pos = 3; true; --pos) { - if (pos < 0) - return H.ioore(iBuf, pos); - iBuf[pos] = iBuf[pos] + 1; - if (iBuf[pos] !== 0) - break; - } - t1 = _this.__PBKDF2KeyDerivator__params; - t2 = (t1 === $ ? H.throwExpression(H.LateError$fieldNI("_params")) : t1).salt; - _this._pbkdf2$_f$5(t2, t1.iterationCount, iBuf, outBytes, outPos); - outPos += hLen; + A.Logger_Logger_closure.prototype = { + call$0() { + var dot, $parent, t1, + thisName = this.name; + if (B.JSString_methods.startsWith$1(thisName, ".")) + A.throwExpression(A.ArgumentError$("name shouldn't start with a '.'", null)); + if (B.JSString_methods.endsWith$1(thisName, ".")) + A.throwExpression(A.ArgumentError$("name shouldn't end with a '.'", null)); + dot = B.JSString_methods.lastIndexOf$1(thisName, "."); + if (dot === -1) + $parent = thisName !== "" ? A.Logger_Logger("") : null; + else { + $parent = A.Logger_Logger(B.JSString_methods.substring$2(thisName, 0, dot)); + thisName = B.JSString_methods.substring$1(thisName, dot + 1); } - C.NativeUint8List_methods.setRange$3(out, outOff, outOff + dkLen, outBytes); - return _this.get$_params().desiredKeyLength; + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); + t1 = new A.Logger(thisName, $parent, t1, new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_Logger)); + if ($parent == null) + t1._level = B.Level_INFO_800; + else + $parent._children.$indexSet(0, thisName, t1); + return t1; }, - _pbkdf2$_f$5: function($S, c, iBuf, out, outOff) { - var t1, t2, t3, count, t4, t5, j, t6, _this = this, _s6_ = "_state"; - if (c <= 0) - throw H.wrapException(P.ArgumentError$("Iteration count must be at least 1.")); - t1 = _this._mac; - t2 = t1._digest; - t2.update$3(0, $S, 0, J.get$length$asx($S)); - t2.update$3(0, iBuf, 0, 4); - t1.doFinal$2(_this.get$_pbkdf2$_state(), 0); - C.NativeUint8List_methods.setRange$3(out, outOff, outOff + J.get$length$asx(_this.get$_pbkdf2$_state()), _this.get$_pbkdf2$_state()); - for (t3 = out.length, count = 1; count < c; ++count) { - t4 = _this.__PBKDF2KeyDerivator__state; - t5 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4; - t2.update$3(0, t5, 0, J.get$length$asx(t4)); - t4 = _this.__PBKDF2KeyDerivator__state; - t1.doFinal$2(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4, 0); - j = 0; - while (true) { - t4 = _this.__PBKDF2KeyDerivator__state; - if (!(j !== J.get$length$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4))) - break; - t4 = outOff + j; - if (t4 < 0 || t4 >= t3) - return H.ioore(out, t4); - t5 = out[t4]; - t6 = _this.__PBKDF2KeyDerivator__state; - out[t4] = (t5 ^ J.$index$asx(t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t6, j)) >>> 0; - ++j; - } - } - } + $signature: 255 }; - A.HMac.prototype = { - get$_digestSize: function() { - var t1 = this.__HMac__digestSize; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_digestSize")) : t1; + A.DomProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + set$componentFactory(componentFactory) { + this.DomProps_componentFactory = type$.nullable_ReactComponentFactoryProxy._as(componentFactory); }, - get$_blockLength: function() { - var t1 = this.__HMac__blockLength; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockLength")) : t1; + get$componentFactory() { + return this.DomProps_componentFactory; }, - get$_inputPad: function() { - var t1 = this.__HMac__inputPad; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_inputPad")) : t1; + get$props(receiver) { + return this.props; + } + }; + A.SvgProps.prototype = { + get$$$isClassGenerated() { + return true; }, - get$_outputBuf: function() { - var t1 = this.__HMac__outputBuf; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_outputBuf")) : t1; + set$componentFactory(componentFactory) { + this.SvgProps_componentFactory = type$.nullable_ReactComponentFactoryProxy._as(componentFactory); }, - init$1: function(_, params) { - var key, keyLength, t2, _this = this, - t1 = _this._digest; - t1.reset$0(0); - key = params.get$key(params); - keyLength = J.get$length$asx(key); - t2 = _this.get$_blockLength(); - if (typeof t2 !== "number") - return H.iae(t2); - if (keyLength > t2) { - t1.update$3(0, key, 0, keyLength); - t1.doFinal$2(_this.get$_inputPad(), 0); - keyLength = _this.get$_digestSize(); - } else - J.setRange$3$ax(_this.get$_inputPad(), 0, keyLength, key); - J.fillRange$3$ax(_this.get$_inputPad(), keyLength, J.get$length$asx(_this.get$_inputPad()), 0); - J.setRange$3$ax(_this.get$_outputBuf(), 0, _this.get$_blockLength(), _this.get$_inputPad()); - _this._xorPad$3(_this.get$_inputPad(), _this.get$_blockLength(), 54); - _this._xorPad$3(_this.get$_outputBuf(), _this.get$_blockLength(), 92); - t1.update$3(0, _this.get$_inputPad(), 0, J.get$length$asx(_this.get$_inputPad())); - }, - doFinal$2: function(out, outOff) { - var len, _this = this, - t1 = _this._digest; - t1.doFinal$2(_this.get$_outputBuf(), _this.get$_blockLength()); - t1.update$3(0, _this.get$_outputBuf(), 0, J.get$length$asx(_this.get$_outputBuf())); - len = t1.doFinal$2(out, outOff); - J.fillRange$3$ax(_this.get$_outputBuf(), _this.get$_blockLength(), J.get$length$asx(_this.get$_outputBuf()), 0); - t1.update$3(0, _this.get$_inputPad(), 0, J.get$length$asx(_this.get$_inputPad())); - return len; + get$componentFactory() { + return this.SvgProps_componentFactory; }, - _xorPad$3: function(pad, len, n) { - var t1, i; - if (typeof len !== "number") - return H.iae(len); - t1 = J.getInterceptor$asx(pad); - i = 0; - for (; i < len; ++i) - t1.$indexSet(pad, i, (t1.$index(pad, i) ^ n) >>> 0); + get$props(receiver) { + return this.props; } }; - G.BaseBlockCipher.prototype = {}; - T.BaseDigest.prototype = {$isDigest: 1}; - N.BaseKeyDerivator.prototype = {}; - O.BaseMac.prototype = {$isMac: 1}; - G.MD4FamilyDigest.prototype = { - get$_wordBufferOffset: function() { - var t1 = this.__MD4FamilyDigest__wordBufferOffset; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t1; + A._DomProps_UiProps_DomPropsMixin.prototype = {}; + A._SvgProps_UiProps_DomPropsMixin.prototype = {}; + A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin.prototype = {}; + A.ErrorBoundaryProps.prototype = { + set$identicalErrorFrequencyTolerance(identicalErrorFrequencyTolerance) { + this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.nullable_Duration._as(identicalErrorFrequencyTolerance); }, - get$bufferOffset: function() { - var t1 = this.__MD4FamilyDigest_bufferOffset; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("bufferOffset")) : t1; + set$loggerName(loggerName) { + this.ErrorBoundaryProps_loggerName = A._asStringQ(loggerName); }, - reset$0: function(_) { - var t1, _this = this; - _this._byteCount.$set$1(0, 0); - _this.__MD4FamilyDigest__wordBufferOffset = 0; - C.NativeUint8List_methods.fillRange$3(_this._wordBuffer, 0, 4, 0); - _this.__MD4FamilyDigest_bufferOffset = 0; - t1 = _this.buffer; - C.JSArray_methods.fillRange$3(t1, 0, t1.length, 0); - t1 = _this.state; - C.JSArray_methods.$indexSet(t1, 0, 1732584193); - C.JSArray_methods.$indexSet(t1, 1, 4023233417); - C.JSArray_methods.$indexSet(t1, 2, 2562383102); - C.JSArray_methods.$indexSet(t1, 3, 271733878); - C.JSArray_methods.$indexSet(t1, 4, 3285377520); + set$shouldLogErrors(shouldLogErrors) { + this.ErrorBoundaryProps_shouldLogErrors = A._asBoolQ(shouldLogErrors); }, - updateByte$1: function(inp) { - var _this = this, - t1 = _this._wordBuffer, - t2 = _this.get$_wordBufferOffset(); - if (typeof t2 !== "number") - return t2.$add(); - _this.__MD4FamilyDigest__wordBufferOffset = t2 + 1; - if (t2 < 0 || t2 >= 4) - return H.ioore(t1, t2); - t1[t2] = inp & 255; - if (_this.get$_wordBufferOffset() === 4) { - _this._processWord$2(t1, 0); - _this.__MD4FamilyDigest__wordBufferOffset = 0; - } - _this._byteCount.sum$1(1); + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1 + }; + A.ErrorBoundaryState.prototype = { + set$hasError(value) { + this.ErrorBoundaryState___ErrorBoundaryState_hasError_A = value; }, - update$3: function(_, inp, inpOff, len) { - var nbytes = this._processUntilNextWord$3(inp, inpOff, len); - inpOff += nbytes; - len -= nbytes; - nbytes = this._processWholeWords$3(inp, inpOff, len); - this._processBytes$3(inp, inpOff + nbytes, len - nbytes); + set$showFallbackUIOnError(value) { + this.ErrorBoundaryState___ErrorBoundaryState_showFallbackUIOnError_A = value; }, - doFinal$2: function(out, outOff) { - var t1, t2, _this = this, - bitLength = G.Register64$(_this._byteCount); - bitLength.__Register64__hi32 = G.shiftl32(bitLength.get$_hi32(), 3); - t1 = bitLength.get$_hi32(); - t2 = bitLength.get$_lo32(); - if (typeof t2 !== "number") - return t2.$shr(); - t2 = C.JSInt_methods._shrOtherPositive$1(t2, 29); - if (typeof t1 !== "number") - return t1.$or(); - bitLength.__Register64__hi32 = (t1 | t2) >>> 0; - bitLength.__Register64__lo32 = G.shiftl32(bitLength.get$_lo32(), 3); - _this._processPadding$0(); - t1 = _this.get$bufferOffset(); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 14) - _this._doProcessBlock$0(); - t1 = _this._endian; - switch (t1) { - case C.C_Endian: - t1 = _this.buffer; - C.JSArray_methods.$indexSet(t1, 14, bitLength.get$_lo32()); - C.JSArray_methods.$indexSet(t1, 15, bitLength.get$_hi32()); - break; - case C.C_Endian0: - t1 = _this.buffer; - C.JSArray_methods.$indexSet(t1, 14, bitLength.get$_hi32()); - C.JSArray_methods.$indexSet(t1, 15, bitLength.get$_lo32()); - break; - default: - H.throwExpression(P.StateError$("Invalid endianness: " + t1.toString$0(0))); - } - _this._doProcessBlock$0(); - _this._packState$2(out, outOff); - _this.reset$0(0); - return 20; + $isMap: 1 + }; + A.ErrorBoundaryComponent.prototype = { + get$consumedProps() { + return A._setArrayType([], type$.JSArray_ConsumedProps); }, - _processWord$2: function(inp, inpOff) { - var _this = this, - t1 = _this.get$bufferOffset(); - if (typeof t1 !== "number") - return t1.$add(); - _this.__MD4FamilyDigest_bufferOffset = t1 + 1; - C.JSArray_methods.$indexSet(_this.buffer, t1, G.unpack32(inp, inpOff, _this._endian)); - if (_this.get$bufferOffset() === 16) - _this._doProcessBlock$0(); + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(A.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; }, - _doProcessBlock$0: function() { - this.processBlock$0(); - this.__MD4FamilyDigest_bufferOffset = 0; - C.JSArray_methods.fillRange$3(this.buffer, 0, 16, 0); + get$initialState() { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(true); + return t1; }, - _processBytes$3: function(inp, inpOff, len) { - var t1; - for (t1 = J.getInterceptor$asx(inp); len > 0;) { - this.updateByte$1(t1.$index(inp, inpOff)); - ++inpOff; - --len; - } + getDerivedStateFromError$1(error) { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(true); + t1.set$showFallbackUIOnError(true); + return t1; }, - _processWholeWords$3: function(inp, inpOff, len) { - var t1, processed; - for (t1 = this._byteCount, processed = 0; len > 4;) { - this._processWord$2(inp, inpOff); - inpOff += 4; - len -= 4; - t1.sum$1(4); - processed += 4; - } - return processed; + componentDidCatch$2(error, info) { + var t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$onComponentDidCatch(); + if (t1 != null) + t1.call$2(error, info); + this._error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); + t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A.get$onComponentIsUnrecoverable(); + if (t1 != null) + t1.call$2(error, info); }, - _processUntilNextWord$3: function(inp, inpOff, len) { + render$0(_) { var t2, - t1 = J.getInterceptor$asx(inp), - processed = 0; - while (true) { - t2 = this.__MD4FamilyDigest__wordBufferOffset; - if (!((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t2) !== 0 && len > 0)) - break; - this.updateByte$1(t1.$index(inp, inpOff)); - ++inpOff; - --len; - ++processed; + t1 = this.___$ErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = A.DomProps$($.$get$div(), null); + t1.set$key(0, "ohnoes"); + t1.addTestId$1(string$.ErrorB_); + return t1.call$0(); } - return processed; + t1 = $.$get$RecoverableErrorBoundary().call$0(); + t1.addTestId$1("RecoverableErrorBoundary"); + t1.modifyProps$1(this.get$addUnconsumedProps()); + t2 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.call$1(t2.get$children(t2)); }, - _processPadding$0: function() { - this.updateByte$1(128); - while (true) { - var t1 = this.__MD4FamilyDigest__wordBufferOffset; - if (!((t1 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t1) !== 0)) - break; - this.updateByte$1(0); + componentDidUpdate$3(prevProps, prevState, snapshot) { + var childThatCausedError, _this = this, + t1 = _this.___$ErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = A._$$ErrorBoundaryProps__$$ErrorBoundaryProps(prevProps); + t1 = t1.get$children(t1); + t1.toString; + childThatCausedError = J.get$single$ax(t1); + t1 = _this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$children(t1); + t1.toString; + if (!J.$eq$(childThatCausedError, J.get$single$ax(t1))) + _this.setState$1(0, _this.get$initialState()); } }, - _packState$2: function(out, outOff) { - var t1, t2, t3, t4, t5, i, t6, out0; - for (t1 = this._packedStateSize, t2 = J.getInterceptor$x(out), t3 = this.state, t4 = t3.length, t5 = this._endian, i = 0; i < t1; ++i) { - if (i >= t4) - return H.ioore(t3, i); - t6 = t3[i]; - if (typeof outOff !== "number") - return outOff.$add(); - out0 = J.asByteData$2$x(t2.get$buffer(out), t2.get$offsetInBytes(out), t2.get$length(out)); - J.setUint32$3$x(out0, outOff + i * 4, t6, t5); - } + get$_error_boundary$_loggerName() { + var t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$logger() != null) + return this.___$ErrorBoundaryComponent__cachedTypedProps_A.get$logger().name; + t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; + }, + _error_boundary$_logErrorCaughtByErrorBoundary$2(error, info) { + var t2, t3, + t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$shouldLogErrors(); + t1.toString; + if (!t1) + return; + t1 = J.getInterceptor$x(info); + t2 = A.S(t1.get$componentStack(info)); + t3 = this.___$ErrorBoundaryComponent__cachedTypedProps_A.get$logger(); + if (t3 == null) + t3 = A.Logger_Logger(this.get$_error_boundary$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t3.toString; + t3.log$4(B.Level_SEVERE_1000, string$.An_unr + t2, error, type$.nullable_StackTrace._as(t1)); } }; - S.NodeCrypto.prototype = {}; - G.Register64.prototype = { - get$_hi32: function() { - var t1 = this.__Register64__hi32; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hi32")) : t1; - }, - get$_lo32: function() { - var t1 = this.__Register64__lo32; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lo32")) : t1; - }, - $eq: function(_, y) { - if (y == null) - return false; - return y instanceof G.Register64 && this.get$_hi32() == y.get$_hi32() && this.get$_lo32() == y.get$_lo32(); - }, - $set$2: function(_, hiOrLo32OrY, lo32) { - var _this = this; - if (hiOrLo32OrY instanceof G.Register64) { - _this.__Register64__hi32 = hiOrLo32OrY.get$_hi32(); - _this.__Register64__lo32 = hiOrLo32OrY.get$_lo32(); - } else { - _this.__Register64__hi32 = 0; - _this.__Register64__lo32 = H._asIntS(hiOrLo32OrY); - } - }, - $set$1: function($receiver, hiOrLo32OrY) { - return this.$set$2($receiver, hiOrLo32OrY, null); - }, - sum$1: function(y) { - var slo32, _this = this, - t1 = _this.get$_lo32(); - if (typeof t1 !== "number") - return t1.$add(); - slo32 = t1 + y; - _this.__Register64__lo32 = slo32 >>> 0; - if (slo32 !== _this.get$_lo32()) { - t1 = _this.get$_hi32(); - if (typeof t1 !== "number") - return t1.$add(); - _this.__Register64__hi32 = t1 + 1; - t1 = _this.get$_hi32(); - if (typeof t1 !== "number") - return t1.$and(); - _this.__Register64__hi32 = t1 >>> 0; - } - }, - toString$0: function(_) { - var t1, _this = this, - sb = new P.StringBuffer(""); - _this._padWrite$2(sb, _this.get$_hi32()); - _this._padWrite$2(sb, _this.get$_lo32()); - t1 = sb._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + A.$ErrorBoundaryComponentFactory_closure.prototype = { + call$0() { + return new A._$ErrorBoundaryComponent(null); }, - _padWrite$2: function(sb, value) { - var i, - str = J.toRadixString$1$n(value, 16); - for (i = 8 - str.length; i > 0; --i) - sb._contents += "0"; - sb._contents += str; + $signature: 256 + }; + A._$$ErrorBoundaryProps.prototype = { + get$$$isClassGenerated() { + return true; }, - get$hashCode: function(_) { - return P.Object.prototype.get$hashCode.call(this, this); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$ErrorBoundaryComponentFactory() : t1; } }; - A.hashObjects_closure0.prototype = { - call$2: function(h, i) { - return A._combine0(H._asIntS(h), J.get$hashCode$(i)); - }, - $signature: 352 + A._$$ErrorBoundaryProps$PlainMap.prototype = { + get$props(_) { + return this._error_boundary$_props; + } }; - S.zip_closure.prototype = { - call$1: function(e) { - return J.get$iterator$ax(this.T._eval$1("Iterable<0*>*")._as(e)); - }, - $signature: function() { - return this.T._eval$1("Iterator<0*>*(Iterable<0*>*)"); + A._$$ErrorBoundaryProps$JsMap.prototype = { + get$props(_) { + return this._error_boundary$_props; } }; - S.zip_closure0.prototype = { - call$1: function(e) { - return this.T._eval$1("Iterator<0*>*")._as(e).moveNext$0(); - }, - $signature: function() { - return this.T._eval$1("bool*(Iterator<0*>*)"); + A._$$ErrorBoundaryState.prototype = { + get$$$isClassGenerated() { + return true; } }; - S.zip_closure1.prototype = { - call$1: function(e) { - this.T._eval$1("Iterator<0*>*")._as(e); - return e.get$current(e); - }, - $signature: function() { - return this.T._eval$1("0*(Iterator<0*>*)"); + A._$$ErrorBoundaryState$JsMap.prototype = { + get$state(_) { + return this._error_boundary$_state; } }; - V.Component2.prototype = { - get$contextType: function() { - return null; + A._$ErrorBoundaryComponent.prototype = { + get$props(_) { + var t1 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$defaultProps: function(_) { - return C.Map_empty; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$ErrorBoundaryComponent__cachedTypedProps_A = A._$$ErrorBoundaryProps$JsMap$(A.getBackingMap(value)); }, - get$initialState: function() { - return C.Map_empty; + typedPropsFactoryJs$1(backingMap) { + return A._$$ErrorBoundaryProps$JsMap$(backingMap); }, - get$displayName: function(_) { - return null; + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$ErrorBoundaryComponent__cachedTypedState_A = A._$$ErrorBoundaryState$JsMap$(value); }, - setState$1: function(_, newState) { - $.$get$Component2Bridge_bridgeForComponent().$index(0, this).setState$3(0, this, newState, null); + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$ErrorBoundaryState$JsMap(new A.JsBackedMap({}), $, $); + t1.get$$$isClassGenerated(); + t1._error_boundary$_state = backingMap; + return t1; }, - componentDidMount$0: function() { + get$displayName(_) { + return "ErrorBoundary"; }, - getDerivedStateFromProps$2: function(nextProps, prevState) { - return null; + get$$$defaultConsumedProps() { + return B.Map_EUkaS.get$values(B.Map_EUkaS); + } + }; + A.$ErrorBoundaryProps.prototype = { + get$onComponentDidCatch() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.onComponentDidCatch"); + if (t1 == null) + t1 = null; + return type$.nullable_dynamic_Function_dynamic_ReactErrorInfo._as(t1); }, - shouldComponentUpdate$2: function(nextProps, nextState) { - return true; + get$onComponentIsUnrecoverable() { + var t1 = J.$index$asx(this.get$props(this), string$.ErrorBPo); + if (t1 == null) + t1 = null; + return type$.nullable_dynamic_Function_dynamic_ReactErrorInfo._as(t1); + }, + get$fallbackUIRenderer() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.fallbackUIRenderer"); + if (t1 == null) + t1 = null; + return type$.nullable_nullable_Object_Function_2_dynamic_and_nullable_ReactErrorInfo._as(t1); }, - componentDidUpdate$3: function(prevProps, prevState, snapshot) { + set$identicalErrorFrequencyTolerance(value) { + J.$indexSet$ax(this.get$props(this), string$.ErrorBPi, value); }, - componentWillUnmount$0: function() { + get$loggerName() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.loggerName"); + return A._asStringQ(t1 == null ? null : t1); }, - componentDidCatch$2: function(error, info) { + set$loggerName(value) { + J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.loggerName", value); }, - getDerivedStateFromError$1: function(error) { - return null; + get$shouldLogErrors() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors"); + return A._asBoolQ(t1 == null ? null : t1); }, - set$props: function(_, props) { - this.props = type$.legacy_Map_dynamic_dynamic._as(props); + set$shouldLogErrors(value) { + J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors", true); }, - set$state: function(_, state) { - this.state = type$.legacy_Map_dynamic_dynamic._as(state); + get$logger() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.logger"); + if (t1 == null) + t1 = null; + return type$.nullable_Logger._as(t1); + } + }; + A.$ErrorBoundaryState.prototype = { + get$hasError() { + var t1 = this.get$state(this); + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["ErrorBoundaryState.hasError"]); + return A._asBoolS(t1 == null ? null : t1); + }, + set$hasError(value) { + var t1 = this.get$state(this); + t1.jsObject["ErrorBoundaryState.hasError"] = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$showFallbackUIOnError(value) { + var t1 = this.get$state(this); + t1.jsObject["ErrorBoundaryState.showFallbackUIOnError"] = A.DartValueWrapper_wrapIfNeeded(value); + } + }; + A._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = {}; + A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState.prototype = {}; + A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + A.ErrorBoundaryApi.prototype = {}; + A.RecoverableErrorBoundaryComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(A.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; }, - $isComponent: 1, - get$props: function(receiver) { - return this.props; + get$initialState() { + var t2, + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(false); + t2 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.set$showFallbackUIOnError(t2.get$fallbackUIRenderer() != null); + return t1; }, - get$state: function(receiver) { - return this.state; + getDerivedStateFromError$1(error) { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(true); + return t1; }, - get$jsThis: function() { - return this.jsThis; - } - }; - V.ReactComponentFactoryProxy.prototype = { - call$18: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17) { - var childArguments, t1, t2, t3; - type$.legacy_Map_dynamic_dynamic._as(props); - if (c1 === C.C_NotSpecified0) - childArguments = C.List_empty; - else if (c2 === C.C_NotSpecified0) - childArguments = [c1]; - else if (c3 === C.C_NotSpecified0) - childArguments = [c1, c2]; - else if (c4 === C.C_NotSpecified0) - childArguments = [c1, c2, c3]; - else if (c5 === C.C_NotSpecified0) - childArguments = [c1, c2, c3, c4]; - else if (c6 === C.C_NotSpecified0) - childArguments = [c1, c2, c3, c4, c5]; - else if (c7 === C.C_NotSpecified0) - childArguments = [c1, c2, c3, c4, c5, c6]; - else { - t1 = [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0]; - t2 = H._arrayInstanceType(t1); - t3 = t2._eval$1("TakeWhileIterable<1>"); - childArguments = P.List_List$of(new H.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new V.ReactComponentFactoryProxy_call_closure()), t3), true, t3._eval$1("Iterable.E")); + componentDidCatch$2(error, info) { + var t1 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$onComponentDidCatch(); + if (t1 != null) + t1.call$2(error, info); + this._handleErrorInComponentTree$2(error, info); + }, + componentDidUpdate$3(prevProps, prevState, snapshot) { + var childThatCausedError, _this = this, + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = A._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(prevProps); + t1 = t1.get$children(t1); + t1.toString; + childThatCausedError = J.get$single$ax(t1); + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$children(t1); + t1.toString; + if (!J.$eq$(childThatCausedError, J.get$single$ax(t1))) { + _this._resetInternalErrorTracking$0(); + t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(_this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$fallbackUIRenderer() != null); + _this.setState$1(0, t1); + } } - return this.build$2(props, childArguments); }, - call$1: function(props) { - return this.call$18(props, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + render$0(_) { + var t2, t3, _this = this, + _s17_ = "_cachedTypedProps", + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; + t1 = t1.get$state(t1); + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["ErrorBoundaryState.showFallbackUIOnError"]); + t1 = A.boolConversionCheck(A._asBoolS(t1 == null ? null : t1)); + } else + t1 = false; + if (t1) { + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$fallbackUIRenderer(); + if (t1 == null) + t1 = _this.get$_renderStringDomAfterUnrecoverableErrors(); + t2 = _this._errorLog; + t2 = t2.length !== 0 ? B.JSArray_methods.get$last(t2) : null; + t3 = _this._callStackLog; + return t1.call$2(t2, t3.length !== 0 ? B.JSArray_methods.get$last(t3) : null); + } + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI(_s17_); + return t1.get$children(t1); }, - call$2: function(props, c1) { - return this.call$18(props, c1, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + _handleErrorInComponentTree$2(error, info) { + var t2, errorString, sameErrorWasThrownTwiceConsecutively, i, t3, exception, _this = this, + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = J.getInterceptor$(error); + if (t1.get$fallbackUIRenderer() != null) { + B.JSArray_methods.add$1(_this._errorLog, t2.toString$0(error)); + B.JSArray_methods.add$1(_this._callStackLog, info); + _this._logErrorCaughtByErrorBoundary$2(error, info); + return; + } else { + errorString = t2.toString$0(error); + t1 = J.getInterceptor$x(info); + i = 0; + while (true) { + t3 = _this._errorLog; + if (!(i < t3.length)) { + sameErrorWasThrownTwiceConsecutively = false; + break; + } + if (t3[i] == errorString) { + t3 = _this._callStackLog; + if (!(i < t3.length)) + return A.ioore(t3, i); + t3 = J.$eq$(J.get$componentStack$x(t3[i]), t1.get$componentStack(info)); + } else + t3 = false; + if (t3) { + sameErrorWasThrownTwiceConsecutively = true; + break; + } + ++i; + } + if (sameErrorWasThrownTwiceConsecutively) { + try { + t1 = type$.nullable_Element._as($.$get$findDOMNode().call$1(_this)); + _this._domAtTimeOfError = t1 == null ? null : J.get$innerHtml$x(t1); + } catch (exception) { + } + if (_this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$onComponentIsUnrecoverable() != null) + _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$onComponentIsUnrecoverable().call$2(error, info); + _this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, false); + } else { + B.JSArray_methods.add$1(_this._errorLog, t2.toString$0(error)); + B.JSArray_methods.add$1(_this._callStackLog, info); + _this._logErrorCaughtByErrorBoundary$2(error, info); + } + t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(true); + t1.set$showFallbackUIOnError(sameErrorWasThrownTwiceConsecutively); + _this.setState$1(0, t1); + _this._startIdenticalErrorTimer$0(); + } }, - call$3: function(props, c1, c2) { - return this.call$18(props, c1, c2, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + _renderStringDomAfterUnrecoverableErrors$2(_, __) { + var t2, t3, + t1 = A.DomProps$($.$get$div(), null); + t1.set$key(0, "ohnoes"); + t1.addTestId$1(string$.ErrorB_); + t2 = this._domAtTimeOfError; + if (t2 == null) + t2 = ""; + t3 = type$.String; + t3 = A.LinkedHashMap_LinkedHashMap$_literal(["__html", t2], t3, t3); + t2 = A._instanceType(t1); + t2._eval$1("MapViewMixin.K")._as("dangerouslySetInnerHTML"); + t2._eval$1("MapViewMixin.V")._as(t3); + J.$indexSet$ax(t1.get$_component_base$_map(), "dangerouslySetInnerHTML", t3); + return t1.call$0(); }, - call$4: function(props, c1, c2, c3) { - return this.call$18(props, c1, c2, c3, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + _startIdenticalErrorTimer$0() { + var t1, t2, t3, timer, _this = this; + if (_this._identicalErrorTimer != null) + return; + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.ErrorBPi); + if (t1 == null) + t1 = null; + type$.nullable_Duration._as(t1); + t1.toString; + t2 = type$.void_Function._as(_this.get$_resetInternalErrorTracking()); + t3 = _this.DisposableManagerProxy__disposableProxy; + if (t3 == null) + t3 = _this.DisposableManagerProxy__disposableProxy = new A.Disposable(A.HashSet_HashSet(type$.Future_dynamic), new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null), A.HashSet_HashSet(type$._Disposable), B.DisposableState_0); + if (t3._disposable$_state === B.DisposableState_2) + A.throwExpression(A.StateError$("Disposable.getManagedTimer not allowed, object is disposing")); + if ((t3._didDispose.future._state & 30) !== 0) + A.throwExpression(A.StateError$("Disposable.getManagedTimer not allowed, object is already disposed")); + timer = A._ObservableTimer$(t1, t2); + t3._addObservableTimerDisposable$1(timer); + _this._identicalErrorTimer = timer; }, - call$8: function(props, c1, c2, c3, c4, c5, c6, c7) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + _resetInternalErrorTracking$0() { + var t1, t2, _this = this; + _this._domAtTimeOfError = null; + _this.set$_errorLog(A._setArrayType([], type$.JSArray_String)); + _this.set$_callStackLog(A._setArrayType([], type$.JSArray_ReactErrorInfo)); + t1 = _this._identicalErrorTimer; + if (t1 != null) { + t2 = t1.___ObservableTimer__timer_A; + t2 === $ && A.throwLateFieldNI("_timer"); + t2.cancel$0(0); + t1._disposable$_complete$0(); + } + _this._identicalErrorTimer = null; }, - call$7: function(props, c1, c2, c3, c4, c5, c6) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + get$_loggerName() { + var t1 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$logger() != null) + return this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$logger().name; + t1 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; }, - call$12: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + _logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, isRecoverable) { + var message, t2, + t1 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$shouldLogErrors(); + t1.toString; + if (!t1) + return; + t1 = J.getInterceptor$x(info); + message = isRecoverable ? "An error was caught by an ErrorBoundary: \nInfo: " + A.S(t1.get$componentStack(info)) : string$.An_unr + A.S(t1.get$componentStack(info)); + t2 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A.get$logger(); + if (t2 == null) + t2 = A.Logger_Logger(this.get$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t2.toString; + t2.log$4(B.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); }, - call$16: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, C.C_NotSpecified0, C.C_NotSpecified0); + _logErrorCaughtByErrorBoundary$2(error, info) { + return this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, true); }, - call$10: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + set$_errorLog(_errorLog) { + this._errorLog = type$.List_String._as(_errorLog); }, - call$15: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14) { - return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + set$_callStackLog(_callStackLog) { + this._callStackLog = type$.List_ReactErrorInfo._as(_callStackLog); } }; - V.ReactComponentFactoryProxy_call_closure.prototype = { - call$1: function(child) { - return child !== C.C_NotSpecified0; + A.$RecoverableErrorBoundaryComponentFactory_closure.prototype = { + call$0() { + return new A._$RecoverableErrorBoundaryComponent(A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray_ReactErrorInfo), null); }, - $signature: 57 + $signature: 258 }; - V.NotSpecified0.prototype = {}; - V.registerComponent2_closure.prototype = { - call$0: function() { - return A.component_registration__registerComponent2$closure(); + A._$$RecoverableErrorBoundaryProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 353 - }; - V.a_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("a"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$RecoverableErrorBoundaryComponentFactory() : t1; }, - $signature: 8 + $isRecoverableErrorBoundaryProps: 1 }; - V.br_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("br"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; - }, - $signature: 8 + A._$$RecoverableErrorBoundaryProps$PlainMap.prototype = { + get$props(_) { + return this._error_boundary_recoverable$_props; + } }; - V.button_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("button"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; - }, - $signature: 8 + A._$$RecoverableErrorBoundaryProps$JsMap.prototype = { + get$props(_) { + return this._error_boundary_recoverable$_props; + } }; - V.div_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("div"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; - }, - $signature: 8 + A._$$RecoverableErrorBoundaryState.prototype = { + get$$$isClassGenerated() { + return true; + } }; - V.form_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("form"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; - }, - $signature: 8 + A._$$RecoverableErrorBoundaryState$JsMap.prototype = { + get$state(_) { + return this._error_boundary_recoverable$_state; + } }; - V.img_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("img"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); + A._$RecoverableErrorBoundaryComponent.prototype = { + get$props(_) { + var t1 = this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); return t1; }, - $signature: 8 - }; - V.input_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("input"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A = A._$$RecoverableErrorBoundaryProps$JsMap$(A.getBackingMap(value)); }, - $signature: 8 - }; - V.label_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("label"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + typedPropsFactoryJs$1(backingMap) { + return A._$$RecoverableErrorBoundaryProps$JsMap$(backingMap); }, - $signature: 8 - }; - V.li_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("li"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A = A._$$RecoverableErrorBoundaryState$JsMap$(value); }, - $signature: 8 - }; - V.option_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("option"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$RecoverableErrorBoundaryState$JsMap(new A.JsBackedMap({}), $, $); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_state = backingMap; return t1; }, - $signature: 8 - }; - V.p_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("p"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + get$displayName(_) { + return "RecoverableErrorBoundary"; }, - $signature: 8 + get$$$defaultConsumedProps() { + return B.Map_EUkaS.get$values(B.Map_EUkaS); + } }; - V.select_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("select"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + A._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = {}; + A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState.prototype = {}; + A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + A.ReactPropsMixin.prototype = { + get$children(_) { + var _this = this, + _s8_ = "children", + value = J.$index$asx(_this.get$props(_this), _s8_); + if (value == null) + value = null; + if (type$.List_dynamic._is(value)) + return value; + if (value == null) + return J.containsKey$1$x(_this.get$props(_this), _s8_) ? B.List_empty : null; + return [value]; }, - $signature: 8 - }; - V.span_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("span"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$key(_, value) { + var t1 = this.get$props(this), + t2 = J.toString$0$(value); + J.$indexSet$ax(t1, "key", t2); }, - $signature: 8 + set$ref(_, value) { + J.$indexSet$ax(this.get$props(this), "ref", value); + } }; - V.textarea_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("textarea"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + A.DomPropsMixin.prototype = { + get$checked(_) { + var t1 = this.get$props(this); + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.checked); + return A._asBoolQ(t1 == null ? null : t1); }, - $signature: 8 - }; - V.title_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("title"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$checked(_, value) { + var t1 = this.get$props(this); + t1.jsObject.checked = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.ul_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("ul"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$disabled(_, value) { + var t1 = this.get$props(this); + t1.jsObject.disabled = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.circle_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("circle"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$_raw$DomProps$style(value) { + var t1 = this.get$props(this); + t1.jsObject.style = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.g_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("g"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$className(_, value) { + var t1 = this.get$props(this); + t1.jsObject.className = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.image_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("image"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$id(_, value) { + var t1 = this.get$props(this); + t1.jsObject.id = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.line_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("line"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$title(_, value) { + var t1 = this.get$props(this); + t1.jsObject.title = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.path_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("path"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$height(_, value) { + var t1 = this.get$props(this); + t1.jsObject.height = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.polygon_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("polygon"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$pattern(_, value) { + var t1 = this.get$props(this); + t1.jsObject.pattern = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.polyline_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("polyline"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$src(_, value) { + var t1 = this.get$props(this); + t1.jsObject.src = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 - }; - V.rect_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("rect"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + set$step(_, value) { + var t1 = this.get$props(this); + t1.jsObject.step = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 + get$target(_) { + var t1 = this.get$props(this); + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.target); + return t1 == null ? null : t1; + }, + set$type(_, value) { + var t1 = this.get$props(this); + t1.jsObject.type = A.DartValueWrapper_wrapIfNeeded(value); + }, + get$value(_) { + var t1 = this.get$props(this); + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.value); + return t1 == null ? null : t1; + }, + set$value(_, value) { + var t1 = this.get$props(this); + t1.jsObject.value = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$width(_, value) { + var t1 = this.get$props(this); + t1.jsObject.width = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onChange(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticFormEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onChange = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onSubmit(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticFormEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onSubmit = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onClick(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onClick = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseEnter(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onMouseEnter = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseLeave(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onMouseLeave = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseMove(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onMouseMove = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseUp(_, value) { + var t1; + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onMouseUp = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onPointerDown(value) { + var t1; + type$.nullable_dynamic_Function_SyntheticPointerEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onPointerDown = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$onPointerUp(value) { + var t1; + type$.nullable_dynamic_Function_SyntheticPointerEvent._as(value); + t1 = this.get$props(this); + t1.jsObject.onPointerUp = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$defaultValue(_, value) { + var t1 = this.get$props(this); + t1.jsObject.defaultValue = A.DartValueWrapper_wrapIfNeeded(value); + } }; - V.text_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("text"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + A.SvgPropsMixin.prototype = { + set$cx(_, value) { + this.props.jsObject.cx = A.DartValueWrapper_wrapIfNeeded(value); }, - $signature: 8 + set$cy(_, value) { + this.props.jsObject.cy = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$d(_, value) { + this.props.jsObject.d = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$dominantBaseline(value) { + this.props.jsObject.dominantBaseline = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$dy(_, value) { + this.props.jsObject.dy = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$fill(_, value) { + this.props.jsObject.fill = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$fontSize(_, value) { + this.props.jsObject.fontSize = A.DartValueWrapper_wrapIfNeeded(value); + }, + get$offset(_) { + var t1 = A.DartValueWrapper_unwrapIfNeeded(this.props.jsObject.offset); + return t1 == null ? null : t1; + }, + set$points(_, value) { + this.props.jsObject.points = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$r(_, value) { + this.props.jsObject.r = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$startOffset(_, value) { + this.props.jsObject.startOffset = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$stroke(_, value) { + this.props.jsObject.stroke = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$strokeWidth(value) { + this.props.jsObject.strokeWidth = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$textAnchor(value) { + this.props.jsObject.textAnchor = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$transform(_, value) { + this.props.jsObject.transform = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$x(_, value) { + this.props.jsObject.x = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$x1(_, value) { + this.props.jsObject.x1 = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$x2(_, value) { + this.props.jsObject.x2 = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$xlinkHref(value) { + this.props.jsObject.xlinkHref = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$y1(_, value) { + this.props.jsObject.y1 = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$y2(_, value) { + this.props.jsObject.y2 = A.DartValueWrapper_wrapIfNeeded(value); + }, + set$y(_, value) { + this.props.jsObject.y = A.DartValueWrapper_wrapIfNeeded(value); + } }; - V.textPath_closure.prototype = { - call$0: function() { - var t1 = new A.ReactDomComponentFactoryProxy("textPath"); - if (H.boolConversionCheck($.$get$isBugPresent())) - Z.patchName(t1); - return t1; + A.UbiquitousDomPropsMixin.prototype = { + set$id(_, value) { + J.$indexSet$ax(this.get$props(this), "id", value); }, - $signature: 8 + set$title(_, value) { + J.$indexSet$ax(this.get$props(this), "title", value); + }, + set$onChange(_, value) { + type$.nullable_dynamic_Function_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onChange", value); + }, + set$onSubmit(_, value) { + type$.nullable_dynamic_Function_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onSubmit", value); + }, + set$onClick(_, value) { + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onClick", value); + }, + set$onMouseEnter(_, value) { + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseEnter", value); + }, + set$onMouseLeave(_, value) { + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseLeave", value); + }, + set$onMouseMove(_, value) { + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseMove", value); + }, + set$onMouseUp(_, value) { + type$.nullable_dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseUp", value); + }, + set$onPointerDown(value) { + type$.nullable_dynamic_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onPointerDown", value); + }, + set$onPointerUp(value) { + type$.nullable_dynamic_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onPointerUp", value); + } }; - A.Component2Bridge.prototype = {}; - A.Component2BridgeImpl.prototype = { - setState$3: function(_, component, newState, callback) { - var firstArg; - type$.legacy_dynamic_Function._as(callback); - firstArg = L.jsBackingMapOrJsCopy(newState); - J.setState$1$x(component.jsThis, firstArg); + A.GeneratedClass.prototype = {}; + A.UiProps0.prototype = { + get$props(_) { + return A.throwExpression(A.UngeneratedError$(B.Symbol_props, null)); } }; - A.JsBackedMapComponentFactoryMixin.prototype = { - build$2: function(props, childrenArgs) { - var children = E.generateChildren(childrenArgs, true); - return self.React.createElement(this.reactClass, E.generateJsProps(props, C.List_empty0, true, false), children); + A.UiState.prototype = { + get$state(_) { + return A.throwExpression(A.UngeneratedError$(B.Symbol_state, null)); } }; - A.ReactDartComponentFactoryProxy2.prototype = { - get$type: function(_) { - return this.reactClass; + A.UngeneratedError.prototype = { + toString$0(_) { + return "UngeneratedError: " + B.JSString_methods.trimRight$0(this.message) + ".\n\nEnsure that you're running a build via build_runner."; + }, + get$message(receiver) { + return this.message; } }; - A.ReactJsContextComponentFactoryProxy.prototype = { - build$2: function(props, childrenArgs) { - var propsForJs, t1, t2, jsContextHolder, - children = E.generateChildren(childrenArgs, false); - if (this.isConsumer) - children = type$.legacy_Function._is(children) ? P.allowInterop(new A.ReactJsContextComponentFactoryProxy_build_closure(children), type$.legacy_dynamic_Function_dynamic) : children; - propsForJs = L.JsBackedMap_JsBackedMap$from(props); - if (this.isProvider) { - t1 = propsForJs.jsObject; - t2 = F.DartValueWrapper_unwrapIfNeeded(t1.value); - jsContextHolder = {}; - jsContextHolder[self._reactDartContextSymbol] = F.DartValueWrapper_wrapIfNeeded(t2); - t1.value = F.DartValueWrapper_wrapIfNeeded(jsContextHolder); + A._UiProps_UiProps_GeneratedClass.prototype = {}; + A._UiState_UiState_GeneratedClass.prototype = {}; + A.UiState0.prototype = {$isMap: 1}; + A.UiProps.prototype = { + modifyProps$1(modifier) { + type$.nullable_dynamic_Function_Map_dynamic_dynamic._as(modifier); + modifier.call$1(this); + }, + addTestId$1(value) { + var t1, t2, _this = this, + _s12_ = "data-test-id"; + return; + if (A._asStringQ(J.$index$asx(_this.get$props(_this), _s12_)) == null) + J.$indexSet$ax(_this.get$props(_this), _s12_, value); + else { + t1 = _this.get$props(_this); + t2 = A._asStringQ(J.$index$asx(_this.get$props(_this), _s12_)); + t2.toString; + J.$indexSet$ax(t1, _s12_, t2 + (" " + value)); } - return self.React.createElement(this.ReactJsContextComponentFactoryProxy_type, propsForJs.jsObject, children); }, - get$type: function(receiver) { - return this.ReactJsContextComponentFactoryProxy_type; + call$8(c1, c2, c3, c4, c5, c6, c7, c8) { + var childArguments, t1, t2, t3; + if (c1 === B.C_NotSpecified) + childArguments = B.List_empty; + else if (c2 === B.C_NotSpecified) + childArguments = [c1]; + else if (c3 === B.C_NotSpecified) + childArguments = [c1, c2]; + else if (c4 === B.C_NotSpecified) + childArguments = [c1, c2, c3]; + else if (c5 === B.C_NotSpecified) + childArguments = [c1, c2, c3, c4]; + else if (c6 === B.C_NotSpecified) + childArguments = [c1, c2, c3, c4, c5]; + else if (c7 === B.C_NotSpecified) + childArguments = [c1, c2, c3, c4, c5, c6]; + else { + t1 = [c1, c2, c3, c4, c5, c6, c7, c8, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified]; + t2 = A._arrayInstanceType(t1); + t3 = t2._eval$1("TakeWhileIterable<1>"); + childArguments = A.List_List$of(new A.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new A.UiProps_call_closure()), t3), true, t3._eval$1("Iterable.E")); + } + t1 = this.get$componentFactory(); + t1.toString; + return t1.build$2(this.get$props(this), childArguments); + }, + call$1(c1) { + return this.call$8(c1, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + call$2(c1, c2) { + return this.call$8(c1, c2, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + call$0() { + return this.call$8(B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + call$3(c1, c2, c3) { + return this.call$8(c1, c2, c3, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + call$4(c1, c2, c3, c4) { + return this.call$8(c1, c2, c3, c4, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + call$7(c1, c2, c3, c4, c5, c6, c7) { + return this.call$8(c1, c2, c3, c4, c5, c6, c7, B.C_NotSpecified); + }, + call$5(c1, c2, c3, c4, c5) { + return this.call$8(c1, c2, c3, c4, c5, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + }, + set$componentFactory(componentFactory) { + this.componentFactory = type$.nullable_ReactComponentFactoryProxy._as(componentFactory); + }, + get$componentFactory() { + return this.componentFactory; } }; - A.ReactJsContextComponentFactoryProxy_build_closure.prototype = { - call$1: function(args) { - return this.contextCallback.call$1(M.ContextHelpers_unjsifyNewContext(args)); + A.UiProps_call_closure.prototype = { + call$1(child) { + return child !== B.C_NotSpecified; }, - $signature: 14 + $signature: 36 }; - A.ReactJsComponentFactoryProxy.prototype = { - build$2: function(props, childrenArgs) { - var children = E.generateChildren(childrenArgs, false), - convertedProps = E.generateJsProps(props, C.List_empty0, false, true); - return self.React.createElement(this.get$type(this), convertedProps, children); + A.PropsMapViewMixin.prototype = { + get$_component_base$_map() { + return this.get$props(this); }, - get$type: function(receiver) { - return this.type; + toString$0(_) { + return A.getRuntimeType(this).toString$0(0) + ": " + A.S(A._prettyObj(this.get$props(this))); } }; - A.ReactDomComponentFactoryProxy.prototype = { - get$type: function(_) { - return this.name; + A.StateMapViewMixin.prototype = { + get$_component_base$_map() { + return this.get$state(this); }, - build$2: function(props, childrenArgs) { - var children = E.generateChildren(childrenArgs, false); - return self.React.createElement(this.name, E.generateJsProps(props, C.List_empty0, false, true), children); + toString$0(_) { + return A.getRuntimeType(this).toString$0(0) + ": " + A.S(A._prettyObj(this.get$state(this))); } }; - A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin.prototype = {}; - L.JsBackedMap.prototype = { - get$_js_backed_map$_values: function() { - return J.map$1$1$ax(self.Object.keys(this.jsObject), new L.JsBackedMap__values_closure(this), type$.dynamic).toList$0(0); + A.MapViewMixin.prototype = { + map$2$1(_, f, K2, V2) { + A._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapViewMixin.K,MapViewMixin.V)")._as(f); + return J.map$2$1$ax(this.get$_component_base$_map(), f, K2, V2); }, - $index: function(_, key) { - return F.DartValueWrapper_unwrapIfNeeded(this.jsObject[key]); + map$1($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); }, - $indexSet: function(_, key, value) { - this.jsObject[key] = F.DartValueWrapper_wrapIfNeeded(value); + get$entries(_) { + return J.get$entries$x(this.get$_component_base$_map()); }, - get$keys: function(_) { - return self.Object.keys(this.jsObject); + removeWhere$1(_, predicate) { + A._instanceType(this)._eval$1("bool(MapViewMixin.K,MapViewMixin.V)")._as(predicate); + return J.removeWhere$1$ax(this.get$_component_base$_map(), predicate); }, - remove$1: function(_, key) { - var t1 = this.jsObject, - value = F.DartValueWrapper_unwrapIfNeeded(t1[key]); - self.Reflect.deleteProperty(t1, key); - return value; + cast$2$0(_, RK, RV) { + return J.cast$2$0$ax(this.get$_component_base$_map(), RK, RV); }, - addAll$1: function(_, other) { - if (other instanceof L.JsBackedMap) - self.Object.assign(this.jsObject, other.jsObject); - else - this.super$MapMixin$addAll(this, other); + $index(_, key) { + return J.$index$asx(this.get$_component_base$_map(), key); }, - containsKey$1: function(_, key) { - return key in this.jsObject; + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + t1._eval$1("MapViewMixin.K")._as(key); + t1._eval$1("MapViewMixin.V")._as(value); + J.$indexSet$ax(this.get$_component_base$_map(), key, value); }, - get$values: function(_) { - return this.get$_js_backed_map$_values(); + containsKey$1(_, key) { + return J.containsKey$1$x(this.get$_component_base$_map(), key); }, - $eq: function(_, other) { - var t1, t2; - if (other == null) - return false; - if (other instanceof L.JsBackedMap) { - t1 = other.jsObject; - t2 = this.jsObject; - t2 = t1 == null ? t2 == null : t1 === t2; - t1 = t2; - } else - t1 = false; - return t1; + forEach$1(_, action) { + A._instanceType(this)._eval$1("~(MapViewMixin.K,MapViewMixin.V)")._as(action); + J.forEach$1$ax(this.get$_component_base$_map(), action); }, - get$hashCode: function(_) { - var t1, exception; - try { - t1 = J.get$hashCode$(this.jsObject); - return t1; - } catch (exception) { - H.unwrapException(exception); - } - return 0; + get$isEmpty(_) { + return J.get$isEmpty$asx(this.get$_component_base$_map()); + }, + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this.get$_component_base$_map()); + }, + get$length(_) { + return J.get$length$asx(this.get$_component_base$_map()); + }, + get$keys(_) { + return J.get$keys$x(this.get$_component_base$_map()); + }, + remove$1(_, key) { + return J.remove$1$ax(this.get$_component_base$_map(), key); + }, + get$values(_) { + return J.get$values$x(this.get$_component_base$_map()); } }; - L.JsBackedMap__values_closure.prototype = { - call$1: function(key) { - return F.DartValueWrapper_unwrapIfNeeded(this.$this.jsObject[key]); + A.PropDescriptor.prototype = {}; + A.PropsMeta.prototype = { + toString$0(_) { + return "PropsMeta:" + A.S(this.keys); }, - $signature: 14 + $isConsumedProps: 1, + get$keys(receiver) { + return this.keys; + } }; - L.JsMap.prototype = {}; - L._Object.prototype = {}; - L._Reflect.prototype = {}; - R._convertDataTree__convert.prototype = { - call$1: function(o) { - var convertedMap, t2, key, convertedList, convertedFunction, - t1 = this._convertedObjects; - if (t1.containsKey$1(0, o)) - return t1.$index(0, o); - if (type$.legacy_Map_dynamic_dynamic._is(o)) { - convertedMap = {}; - t1.$indexSet(0, o, convertedMap); - for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { - key = t2.get$current(t2); - convertedMap[key] = this.call$1(t1.$index(o, key)); - } - return convertedMap; - } else if (type$.legacy_Iterable_dynamic._is(o)) { - convertedList = []; - t1.$indexSet(0, o, convertedList); - C.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); - return convertedList; - } else { - t2 = type$.legacy_Function; - if (t2._is(o)) { - convertedFunction = P.allowInterop(o, t2); - t1.$indexSet(0, o, convertedFunction); - return convertedFunction; - } else - return o; - } + A._AccessorMetaCollection.prototype = { + forMixin$1(mixinType) { + var meta = this._metaByMixin.$index(0, type$.Type._as(mixinType)); + return meta == null ? B.PropsMeta_List_empty_List_empty : meta; }, - $signature: 14 + get$keys(_) { + var t1 = this._metaByMixin; + t1 = J.expand$1$1$ax(t1.get$values(t1), new A._AccessorMetaCollection_keys_closure(this), type$.String); + return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + } }; - K.React.prototype = {}; - K.Ref.prototype = { - get$current: function(_) { - var dartCurrent, - jsCurrent = J.get$current$x(this.jsRef); - if (!type$.legacy_Element._is(jsCurrent) && type$.legacy_ReactComponent._is(jsCurrent)) { - dartCurrent = J.get$dartComponent$x(jsCurrent); - if (dartCurrent != null) - return this.$ti._eval$1("1*")._as(dartCurrent); - } - return this.$ti._eval$1("1*")._as(jsCurrent); - } - }; - K.JsRef.prototype = {}; - K.ReactDomServer.prototype = {}; - K.PropTypes.prototype = {}; - K.ReactClass.prototype = {}; - K.ReactClassConfig.prototype = {}; - K.ReactElementStore.prototype = {}; - K.ReactElement.prototype = {}; - K.ReactPortal.prototype = {}; - K.ReactComponent.prototype = {}; - K.InteropContextValue.prototype = {}; - K.ReactContext.prototype = {}; - K.InteropProps.prototype = {}; - K.JsError.prototype = {}; - K.ReactDartInteropStatics.prototype = {}; - K.ComponentStatics2.prototype = { - get$componentFactory: function() { - return this.componentFactory; + A._AccessorMetaCollection_keys_closure.prototype = { + call$1(meta) { + A._instanceType(this.$this)._eval$1("_AccessorMetaCollection.U")._as(meta); + return meta.get$keys(meta); + }, + $signature() { + return A._instanceType(this.$this)._eval$1("List(_AccessorMetaCollection.U)"); } }; - K.JsComponentConfig.prototype = {}; - K.JsComponentConfig2.prototype = {}; - K.ReactErrorInfo.prototype = {}; - R.render_closure.prototype = { - call$0: function() { - return K.react_interop_ReactDom_render$closure(); + A.PropsMetaCollection.prototype = {$isConsumedProps: 1, $isPropsMeta: 1}; + A._UiProps_MapBase_MapViewMixin.prototype = {}; + A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin.prototype = {}; + A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin.prototype = {}; + A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin.prototype = {}; + A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin.prototype = {}; + A._UiState_Object_MapViewMixin.prototype = {}; + A._UiState_Object_MapViewMixin_StateMapViewMixin.prototype = {}; + A.UiComponent2.prototype = { + get$props(_) { + throw A.wrapException(A.UngeneratedError$(B.Symbol_props, string$.x0ax0aThis)); }, - $signature: 360 + get$contextType() { + return A.Component2.prototype.get$contextType.call(this); + }, + get$$$defaultConsumedProps() { + return A.throwExpression(A.UngeneratedError$(B.Symbol_$defaultConsumedProps, null)); + }, + get$consumedProps() { + return this.get$$$defaultConsumedProps(); + }, + addUnconsumedProps$1(props) { + var consumedPropKeys = J.map$1$1$ax(this.get$consumedProps(), new A.UiComponent2_addUnconsumedProps_closure(), type$.List_String); + A.forwardUnconsumedProps(this.get$props(this), consumedPropKeys, props); + } }; - R.findDOMNode_closure.prototype = { - call$0: function() { - return R.react_dom___findDomNode$closure(); + A.UiComponent2_addUnconsumedProps_closure.prototype = { + call$1(consumedProps) { + type$.ConsumedProps._as(consumedProps); + return consumedProps.get$keys(consumedProps); }, - $signature: 373 + $signature: 260 }; - M.Context.prototype = { - get$jsThis: function() { - return this._jsThis; + A.UiStatefulComponent2.prototype = {}; + A.UiStatefulMixin2.prototype = { + get$state(_) { + throw A.wrapException(A.UngeneratedError$(B.Symbol_state, string$.x0ax0aThis)); + } + }; + A.UiComponent2BridgeImpl.prototype = {}; + A._UiComponent2_Component2_DisposableManagerProxy.prototype = { + componentWillUnmount$0() { + this.super$Component2$componentWillUnmount(); + var t1 = this.DisposableManagerProxy__disposableProxy; + if (t1 != null) + t1.dispose$0(); + } + }; + A._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass.prototype = {}; + A._UiStatefulComponent2_UiComponent2_UiStatefulMixin2.prototype = {}; + A.ComponentTypeMeta.prototype = {}; + A.DisposableManagerProxy.prototype = {}; + A.UiFactoryConfig.prototype = {}; + A.PropsFactory.prototype = { + map$1($receiver, arg0) { + return this.map.call$1(arg0); } }; - M.createContext_jsifyCalculateChangedBitsArgs.prototype = { - call$2: function(currentValue, nextValue) { - var t1 = this.TValue._eval$1("0*"); - return this.calculateChangedBits.call$2(t1._as(M.ContextHelpers_unjsifyNewContext(currentValue)), t1._as(M.ContextHelpers_unjsifyNewContext(nextValue))); + A.NotSpecified.prototype = {}; + A._ReduxDevToolsExtensionConnection.prototype = {}; + A.$ConnectPropsMixin.prototype = {}; + A.connect_closure.prototype = { + call$1(x) { + return x == null; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 375 + $signature: 36 }; - Z._NsmEmulatedFunctionWithNameProperty.prototype = { - call$0: function() { - return null; + A.connect_closure0.prototype = { + call$1(x) { + return x == null; + }, + $signature: 36 + }; + A.connect_wrapWithConnect.prototype = { + call$1(factory) { + var dartComponentFactory, dartComponentClass, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, connectOptions, t15, hocFactoryProxy, _this = this, + t1 = _this.TProps; + t1._eval$1("0([Map<@,@>?])")._as(factory); + dartComponentFactory = factory.call$0().get$componentFactory(); + dartComponentClass = dartComponentFactory.get$type(dartComponentFactory); + A.enforceMinimumComponentVersionFor(dartComponentFactory); + t2 = new A.connect_wrapWithConnect_jsMapFromProps(); + t3 = new A.connect_wrapWithConnect_jsPropsToTProps(factory, t1); + t4 = new A.connect_wrapWithConnect_allowInteropWithArgCount(); + t5 = _this.mapStateToProps; + t6 = _this.TReduxState; + t7 = _this.mapStateToPropsWithOwnProps; + t8 = _this.makeMapStateToProps; + t9 = _this.makeMapStateToPropsWithOwnProps; + t10 = _this.mapDispatchToProps; + t11 = _this.mapDispatchToPropsWithOwnProps; + t12 = _this.makeMapDispatchToProps; + t13 = _this.makeMapDispatchToPropsWithOwnProps; + t14 = _this.context; + t14 = t14 == null ? null : t14.reactDartContext._jsThis; + if (t14 == null) + t14 = self.ReactRedux.ReactReduxContext; + connectOptions = {forwardRef: _this.forwardRef, pure: _this.pure, context: t14}; + t14 = type$.bool_Function_JsMap_JsMap; + t15 = J.getInterceptor$x(connectOptions); + t15.set$areOwnPropsEqual(connectOptions, A.allowInterop(new A.connect_wrapWithConnect_handleAreOwnPropsEqual(_this.areOwnPropsEqual, t3), t14)); + t15.set$areStatePropsEqual(connectOptions, A.allowInterop(new A.connect_wrapWithConnect_handleAreStatePropsEqual(_this.areStatePropsEqual, t3), t14)); + t15.set$areMergedPropsEqual(connectOptions, A.allowInterop(new A.connect_wrapWithConnect_handleAreMergedPropsEqual(_this.areMergedPropsEqual, t3), t14)); + t5 = new A.connect_wrapWithConnect_interopMapStateToPropsHandler(t5, t4, new A.connect_wrapWithConnect_handleMapStateToProps(t2, t5, t6), t7, new A.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t2, t7, t3, t6), t8, new A.connect_wrapWithConnect_handleMakeMapStateToProps(t8, t3, t2, t4, t6), t9, new A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t9, t3, t2, t4, t6)).call$0(); + t4 = new A.connect_wrapWithConnect_interopMapDispatchToPropsHandler(t10, t4, new A.connect_wrapWithConnect_handleMapDispatchToProps(t2, t10), t11, new A.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t2, t11, t3), t12, new A.connect_wrapWithConnect_handleMakeMapDispatchToProps(t12, t3, t2, t4), t13, new A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t13, t3, t2, t4)).call$0(); + hocFactoryProxy = A.ReactDartComponentFactoryProxy2$(A._jsConnect(t5, t4, null, connectOptions).call$1(type$.ReactClass._as(dartComponentClass)), type$.Component2); + dartComponentFactory.get$type(dartComponentFactory); + hocFactoryProxy.reactClass._componentTypeMeta = new A.ComponentTypeMeta(false); + return new A.connect_wrapWithConnect_connectedFactory(factory, hocFactoryProxy, t1); }, - noSuchMethod$1: function(_, i) { - type$.legacy_Invocation._as(i); + $signature() { + return this.TProps._eval$1("0([Map<@,@>?])(0([Map<@,@>?]))"); } }; - Z.isBugPresent_closure.prototype = { - call$0: function() { - var exception, t1, - testObject = new Z._NsmEmulatedFunctionWithNameProperty(); - try { - testObject._ddc_emulated_function_name_bug$_name = "test value"; - } catch (exception) { - H.unwrapException(exception); - return true; - } - try { - t1 = testObject._ddc_emulated_function_name_bug$_name; - return t1 !== "test value"; - } catch (exception) { - H.unwrapException(exception); - return true; - } + A.connect_wrapWithConnect_jsMapFromProps.prototype = { + call$1(props) { + return A.jsBackingMapOrJsCopy(props instanceof A.UiProps ? props.get$props(props) : props); }, - $signature: 144 + $signature: 261 }; - Z._PropertyDescriptor.prototype = {}; - O.JsPropertyDescriptor.prototype = {}; - O.Promise.prototype = {}; - K.ReactDOM.prototype = {}; - Q.ReactDartInteropStatics2_initComponent_closure.prototype = { - call$0: function() { - var t1 = this.componentStatics, - component = t1.componentFactory.call$0(), - t2 = component.jsThis = this.jsThis, - t3 = J.getInterceptor$x(t2); - J.set$props$x(component, new L.JsBackedMap(t3.get$props(t2))); - M.ContextHelpers_unjsifyNewContext(t3.get$context(t2)); - t3.set$state(t2, L.jsBackingMapOrJsCopy(component.get$initialState())); - component.set$state(0, new L.JsBackedMap(t3.get$state(t2))); - $.$get$Component2Bridge_bridgeForComponent().$indexSet(0, component, t1.bridgeFactory.call$1(component)); - return component; + A.connect_wrapWithConnect_jsPropsToTProps.prototype = { + call$1(jsProps) { + return this.factory.call$1(new A.JsBackedMap(jsProps)); }, - $signature: 379 + $signature() { + return this.TProps._eval$1("0(JsMap)"); + } }; - Q.ReactDartInteropStatics2_handleComponentDidMount_closure.prototype = { - call$0: function() { - this.component.componentDidMount$0(); + A.connect_wrapWithConnect_allowInteropWithArgCount.prototype = { + call$1$2(dartFunction, count, $T) { + var interopFunction; + A.checkTypeBound($T, type$.Function, "T", "call"); + interopFunction = A.allowInterop($T._as(dartFunction), $T); + self.Object.defineProperty(interopFunction, "length", {value: count}); + return interopFunction; }, - $signature: 12 + call$2(dartFunction, count) { + return this.call$1$2(dartFunction, count, type$.Function); + }, + $signature: 262 }; - Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure.prototype = { - call$0: function() { - var t1 = this.component, - t2 = this.jsNextProps, - t3 = this.jsNextState, - value = t1.shouldComponentUpdate$2(new L.JsBackedMap(t2), new L.JsBackedMap(t3)); - if (!value) - Q.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, t2, t3); - return value; + A.connect_wrapWithConnect_handleMapStateToProps.prototype = { + call$1(jsState) { + var t1 = this.mapStateToProps; + t1.toString; + return this.jsMapFromProps.call$1(t1.call$1(A.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState))); }, - $signature: 144 + $signature: 146 }; - Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure.prototype = { - call$0: function() { - var derivedState = this.componentStatics.instanceForStaticMethods.getDerivedStateFromProps$2(new L.JsBackedMap(this.jsNextProps), new L.JsBackedMap(this.jsPrevState)); - if (derivedState != null) - return L.jsBackingMapOrJsCopy(derivedState); - return null; + A.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps.prototype = { + call$2(jsState, jsOwnProps) { + var t1, _this = this; + type$.JsMap._as(jsOwnProps); + t1 = _this.mapStateToPropsWithOwnProps; + t1.toString; + return _this.jsMapFromProps.call$1(t1.call$2(A.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState), _this.jsPropsToTProps.call$1(jsOwnProps))); }, $signature: 143 }; - Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure.prototype = { - call$0: function() { - this.component.toString; - return null; + A.connect_wrapWithConnect_handleMakeMapStateToProps.prototype = { + call$2(initialJsState, initialJsOwnProps) { + var t1, t2, _this = this; + type$.JsMap._as(initialJsOwnProps); + t1 = _this.makeMapStateToProps; + t1.toString; + t2 = _this.TReduxState; + return _this.allowInteropWithArgCount.call$1$2(new A.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(_this.jsMapFromProps, t1.call$2(A.DartValueWrapper_unwrapIfNeeded0(initialJsState, t2), _this.jsPropsToTProps.call$1(initialJsOwnProps)), t2), 1, type$.JsMap_Function_nullable_Object); }, - $signature: 1 + $signature: 273 }; - Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure.prototype = { - call$0: function() { - var _this = this; - _this.component.componentDidUpdate$3(new L.JsBackedMap(_this.jsPrevProps), new L.JsBackedMap(_this.jsPrevState), _this.snapshot); + A.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory.prototype = { + call$1(jsState) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$1(A.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState))); }, - $signature: 12 + $signature: 146 }; - Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure.prototype = { - call$0: function() { - this.component.componentWillUnmount$0(); + A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps.prototype = { + call$2(initialJsState, initialJsOwnProps) { + var t1, t2, t3, _this = this; + type$.JsMap._as(initialJsOwnProps); + t1 = _this.makeMapStateToPropsWithOwnProps; + t1.toString; + t2 = _this.TReduxState; + t3 = _this.jsPropsToTProps; + return _this.allowInteropWithArgCount.call$1$2(new A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(_this.jsMapFromProps, t1.call$2(A.DartValueWrapper_unwrapIfNeeded0(initialJsState, t2), t3.call$1(initialJsOwnProps)), t3, t2), 2, type$.JsMap_Function_2_nullable_Object_and_JsMap); }, - $signature: 12 + $signature: 274 }; - Q.ReactDartInteropStatics2_handleComponentDidCatch_closure.prototype = { - call$0: function() { - var e, stack, exception, t1; - try { - self._throwErrorFromJS(this.error); - } catch (exception) { - e = H.unwrapException(exception); - stack = H.getTraceFromException(exception); - t1 = this.info; - J.set$dartStackTrace$x(t1, stack); - this.component.componentDidCatch$2(e, t1); - } + A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory.prototype = { + call$2(jsState, jsOwnProps) { + var _this = this; + type$.JsMap._as(jsOwnProps); + return _this.jsMapFromProps.call$1(_this.mapToFactory.call$2(A.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState), _this.jsPropsToTProps.call$1(jsOwnProps))); }, - $signature: 12 + $signature: 143 }; - Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure.prototype = { - call$0: function() { - var e, result, exception; - try { - self._throwErrorFromJS(this.error); - } catch (exception) { - e = H.unwrapException(exception); - result = this.componentStatics.instanceForStaticMethods.getDerivedStateFromError$1(e); - if (result != null) - return L.jsBackingMapOrJsCopy(result); - return null; - } + A.connect_wrapWithConnect_handleMapDispatchToProps.prototype = { + call$1(dispatch) { + return this.jsMapFromProps.call$1(this.mapDispatchToProps.call$1(type$.dynamic_Function_dynamic._as(dispatch))); }, - $signature: 143 + $signature: 142 }; - Q.ReactDartInteropStatics2_handleRender_closure.prototype = { - call$0: function() { - var _this = this, - t1 = _this.component; - Q.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, _this.jsProps, _this.jsState); - M.ContextHelpers_unjsifyNewContext(_this.jsContext); - return t1.render$0(0); + A.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps.prototype = { + call$2(dispatch, jsOwnProps) { + var t1; + type$.dynamic_Function_dynamic._as(dispatch); + type$.JsMap._as(jsOwnProps); + t1 = this.mapDispatchToPropsWithOwnProps; + t1.toString; + return this.jsMapFromProps.call$1(t1.call$2(dispatch, this.jsPropsToTProps.call$1(jsOwnProps))); }, - $signature: 1 + $signature: 134 }; - E.convertRefValue2_closure.prototype = { - call$1: function(instance) { - if (type$.legacy_ReactComponent._is(instance) && J.get$dartComponent$x(instance) != null) - return this.ref.call$1(J.get$dartComponent$x(instance)); - return this.ref.call$1(instance); + A.connect_wrapWithConnect_handleMakeMapDispatchToProps.prototype = { + call$2(dispatch, initialJsOwnProps) { + var t1, _this = this; + type$.dynamic_Function_dynamic._as(dispatch); + type$.JsMap._as(initialJsOwnProps); + t1 = _this.makeMapDispatchToProps; + t1.toString; + return _this.allowInteropWithArgCount.call$1$2(new A.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(_this.jsMapFromProps, t1.call$2(dispatch, _this.jsPropsToTProps.call$1(initialJsOwnProps))), 1, type$.JsMap_Function_dynamic_Function_dynamic); }, - $signature: 14 + $signature: 280 }; - F.DartValueWrapper.prototype = { - get$value: function(receiver) { - return this.value; - } + A.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory.prototype = { + call$1(dispatch) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$1(type$.dynamic_Function_dynamic._as(dispatch))); + }, + $signature: 142 }; - Q.SyntheticEvent.prototype = {}; - Q.SyntheticClipboardEvent.prototype = {}; - Q.SyntheticKeyboardEvent.prototype = {}; - Q.SyntheticCompositionEvent.prototype = {}; - Q.SyntheticFocusEvent.prototype = {}; - Q.SyntheticFormEvent.prototype = {}; - Q.NonNativeDataTransfer.prototype = {}; - Q.SyntheticMouseEvent.prototype = {}; - Q.SyntheticPointerEvent.prototype = {}; - Q.SyntheticTouchEvent.prototype = {}; - Q.SyntheticTransitionEvent.prototype = {}; - Q.SyntheticAnimationEvent.prototype = {}; - Q.SyntheticUIEvent.prototype = {}; - Q.SyntheticWheelEvent.prototype = {}; - X.Store.prototype = { - get$state: function(_) { - return this._state; - }, - get$onChange: function(_) { - var t1 = this._changeController; - return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); + A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps.prototype = { + call$2(dispatch, initialJsOwnProps) { + var t1, t2, _this = this; + type$.dynamic_Function_dynamic._as(dispatch); + type$.JsMap._as(initialJsOwnProps); + t1 = _this.makeMapDispatchToPropsWithOwnProps; + t1.toString; + t2 = _this.jsPropsToTProps; + return _this.allowInteropWithArgCount.call$1$2(new A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(_this.jsMapFromProps, t1.call$2(dispatch, t2.call$1(initialJsOwnProps)), t2), 2, type$.JsMap_Function_2_dynamic_Function_dynamic_and_JsMap); }, - _createReduceAndNotify$1: function(distinct) { - return new X.Store__createReduceAndNotify_closure(this, false); + $signature: 281 + }; + A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory.prototype = { + call$2(dispatch, jsOwnProps) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$2(type$.dynamic_Function_dynamic._as(dispatch), this.jsPropsToTProps.call$1(type$.JsMap._as(jsOwnProps)))); }, - _createDispatchers$2: function(middleware, reduceAndNotify) { - var dispatchers, t1, t2; - this.$ti._eval$1("List<@(Store<1*>*,@,@(@)*)*>*")._as(middleware); - type$.legacy_dynamic_Function_dynamic._as(reduceAndNotify); - dispatchers = H.setRuntimeTypeInfo([], type$.JSArray_of_legacy_dynamic_Function_dynamic); - C.JSArray_methods.add$1(dispatchers, reduceAndNotify); - middleware.toString; - t1 = H._arrayInstanceType(middleware)._eval$1("ReversedListIterable<1>"); - t2 = new H.ReversedListIterable(middleware, t1); - t1 = new H.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")); - for (; t1.moveNext$0();) - C.JSArray_methods.add$1(dispatchers, new X.Store__createDispatchers_closure(this, t1.__internal$_current, C.JSArray_methods.get$last(dispatchers))); - t1 = type$.ReversedListIterable_of_legacy_dynamic_Function_dynamic; - return P.List_List$of(new H.ReversedListIterable(dispatchers, t1), true, t1._eval$1("ListIterable.E")); + $signature: 134 + }; + A.connect_wrapWithConnect_handleAreOwnPropsEqual.prototype = { + call$2(jsNext, jsPrev) { + var t1 = type$.JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areOwnPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - dispatch$1: function(action) { - var t1 = this._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - return t1[0].call$1(action); + $signature: 87 + }; + A.connect_wrapWithConnect_handleAreStatePropsEqual.prototype = { + call$2(jsNext, jsPrev) { + var t1 = type$.JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areStatePropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - set$_state: function(_state) { - this._state = this.$ti._eval$1("1*")._as(_state); + $signature: 87 + }; + A.connect_wrapWithConnect_handleAreMergedPropsEqual.prototype = { + call$2(jsNext, jsPrev) { + var t1 = type$.JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areMergedPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - set$_dispatchers: function(_dispatchers) { - this._dispatchers = type$.legacy_List_of_legacy_dynamic_Function_dynamic._as(_dispatchers); - } + $signature: 87 }; - X.Store__createReduceAndNotify_closure.prototype = { - call$1: function(action) { - var t1 = this.$this, - t2 = t1._state, - state = t1.reducer.call$2(t2, action); - t1.set$_state(state); - t1._changeController.add$1(0, state); + A.connect_wrapWithConnect_interopMapStateToPropsHandler.prototype = { + call$0() { + var _this = this; + if (_this.mapStateToProps != null) + return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToProps, 1, type$.Function); + if (_this.mapStateToPropsWithOwnProps != null) + return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToPropsWithOwnProps, 2, type$.Function); + return null; }, - $signature: 32 + $signature: 133 }; - X.Store__createDispatchers_closure.prototype = { - call$1: function(action) { - return this.nextMiddleware.call$3(this.$this, action, this.next); + A.connect_wrapWithConnect_interopMapDispatchToPropsHandler.prototype = { + call$0() { + return null; }, - $signature: 14 + $signature: 133 }; - B.TypedReducer.prototype = { - call$2: function(state, action) { - var t1 = this.$ti; - t1._eval$1("1*")._as(state); - if (t1._eval$1("2*")._is(action)) - return this.reducer.call$2(state, action); - return state; + A.connect_wrapWithConnect_connectedFactory.prototype = { + call$1(props) { + var t1 = this.factory.call$1(type$.nullable_Map_dynamic_dynamic._as(props)); + t1.set$componentFactory(this.hocFactoryProxy); + return t1; + }, + call$0() { + return this.call$1(null); + }, + "call*": "call$1", + $requiredArgCount: 0, + $defaultValues() { + return [null]; + }, + $signature() { + return this.TProps._eval$1("0([Map<@,@>?])"); } }; - B.combineReducers_closure.prototype = { - call$2: function(state, action) { - var t1, t2, _i; - this.State._eval$1("0*")._as(state); - for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) - state = t1[_i].call$2(state, action); - return state; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: function() { - return this.State._eval$1("0*(0*,@)"); + A.JsReactRedux.prototype = {}; + A.ReduxProviderPropsMixin.prototype = {}; + A.ReactJsReactReduxComponentFactoryProxy.prototype = { + build$2(props, childrenArgs) { + var t2, + propsForJs = A.JsBackedMap_JsBackedMap$from(props), + t1 = propsForJs.jsObject; + if (A.DartValueWrapper_unwrapIfNeeded(t1.store) != null) { + t2 = A._reduxifyStore(type$.Store_dynamic._as(A.DartValueWrapper_unwrapIfNeeded(t1.store))); + t1.store = A.DartValueWrapper_wrapIfNeeded(t2); + } + if (A.DartValueWrapper_unwrapIfNeeded(t1.context) != null) { + t2 = A.DartValueWrapper_unwrapIfNeeded(t1.context).get$jsThis(); + t1.context = A.DartValueWrapper_wrapIfNeeded(t2); + } + return this.super$ReactJsContextComponentFactoryProxy$build(propsForJs, childrenArgs); } }; - U.DesignChangingAction.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.UndoableAction.prototype = {$isAction: 1, $isDesignChangingAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.SkipUndo.prototype = {$isAction: 1}; - U.SkipUndo_SkipUndo_closure.prototype = { - call$1: function(b) { - b.get$_$this()._undoable_action = this.undoable_action; - return b; + A._reduxifyStore_closure.prototype = { + call$0() { + var t1 = this.store; + return A.DartValueWrapper_wrapIfNeeded0(t1.get$state(t1)); }, - $signature: 388 + $signature: 286 }; - U.Undo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.Undo_Undo_closure.prototype = { - call$1: function(b) { - b.get$_$this()._num_undos = this.num_undos; - return b; + A._reduxifyStore_closure0.prototype = { + call$1(cb) { + var t2, + t1 = type$.Function; + t1._as(cb); + t2 = this.store; + t2 = t2.get$onChange(t2).listen$1(new A._reduxifyStore__closure(cb)); + return A.allowInterop(t2.get$cancel(t2), t1); }, - $signature: 390 + $signature: 288 }; - U.Redo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.Redo_Redo_closure.prototype = { - call$1: function(b) { - b.get$_$this()._num_redos = this.num_redos; - return b; + A._reduxifyStore__closure.prototype = { + call$1(_) { + this.cb.call$0(); }, - $signature: 403 + $signature: 30 }; - U.UndoRedoClear.prototype = {$isAction: 1}; - U.BatchAction.prototype = { - toJson$0: function() { - var t1 = this.actions; - return P.LinkedHashMap_LinkedHashMap$_literal(["actions", new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>"))], type$.legacy_String, type$.legacy_List_legacy_UndoableAction); + A._reduxifyStore_closure1.prototype = { + call$1(action) { + this.store.dispatch$1(action); }, - short_description$0: function() { - return this.short_description_value; + $signature: 47 + }; + A.JsReactReduxStore.prototype = {}; + A.JsConnectOptions.prototype = {}; + A._JsPropertyDescriptor.prototype = {}; + A.ConnectPropsMixin.prototype = {}; + A.$ReduxProviderPropsMixin.prototype = { + set$store(_, value) { + J.$indexSet$ax(this.get$props(this), "store", value); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + set$context(_, value) { + J.$indexSet$ax(this.get$props(this), "context", value); + } }; - U.BatchAction_BatchAction_closure.prototype = { - call$1: function(b) { - b.get$actions(b).replace$1(0, this.actions); - b.get$_$this()._short_description_value = this.short_description_value; - return b; + A._$ReduxProviderConfig_closure.prototype = { + call$1(map) { + return A._$$ReduxProviderProps__$$ReduxProviderProps(type$.Map_dynamic_dynamic._as(map)); }, - $signature: 404 + $signature: 290 }; - U.ThrottledActionFast.prototype = {$isAction: 1, $isFastAction: 1, $isThrottledAction: 1}; - U.ThrottledActionFast_ThrottledActionFast_closure.prototype = { - call$1: function(b) { - b.get$_$this()._action = this.action; - b.get$_$this()._interval_sec = this.interval_sec; - return b; + A._$ReduxProviderConfig_closure0.prototype = { + call$1(map) { + return A._$$ReduxProviderProps$JsMap$(type$.JsBackedMap._as(map)); }, - $signature: 405 + $signature: 292 }; - U.ThrottledActionNonFast.prototype = {$isAction: 1, $isThrottledAction: 1}; - U.ThrottledActionNonFast_ThrottledActionNonFast_closure.prototype = { - call$1: function(b) { - b.get$_$this()._action = this.action; - b.get$_$this()._interval_sec = this.interval_sec; - return b; + A._$$ReduxProviderProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 406 + $isReduxProviderProps: 1 }; - U.LocalStorageDesignChoiceSet.prototype = {$isAction: 1}; - U.ResetLocalStorage.prototype = {$isAction: 1}; - U.ClearHelixSelectionWhenLoadingNewDesignSet.prototype = {$isAction: 1}; - U.EditModeToggle.prototype = {$isAction: 1}; - U.EditModeToggle_EditModeToggle_closure.prototype = { - call$1: function(b) { - b.get$_$this()._mode = this.mode; - return b; - }, - $signature: 408 + A._$$ReduxProviderProps$PlainMap.prototype = { + get$props(_) { + return this._over_react_redux$_props; + } }; - U.EditModesSet.prototype = {$isAction: 1}; - U.SelectModeToggle.prototype = {$isAction: 1}; - U.SelectModeToggle_SelectModeToggle_closure.prototype = { - call$1: function(b) { - b.get$_$this()._select_mode_choice = this.select_mode_choice; - return b; - }, - $signature: 412 + A._$$ReduxProviderProps$JsMap.prototype = { + get$props(_) { + return this._over_react_redux$_props; + } }; - U.SelectModesAdd.prototype = {$isAction: 1}; - U.SelectModesSet.prototype = {$isAction: 1}; - U.StrandNameSet.prototype = { - short_description$0: function() { - return "set strand name"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 + A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin.prototype = {}; + A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin.prototype = {}; + A.CssClassPropsMixin.prototype = { + set$className(_, value) { + J.$indexSet$ax(this.get$props(this), "className", value); + } }; - U.StrandLabelSet.prototype = { - short_description$0: function() { - return "set strand label"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 + A.Context2.prototype = { + get$jsThis() { + return this.reactDartContext._jsThis; + } }; - U.SubstrandNameSet.prototype = { - get$strand_part: function() { - return this.substrand; - }, - short_description$0: function() { - return "set " + this.substrand.type_description$0() + " name"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 + A.DartValueWrapper0.prototype = { + get$value(receiver) { + return this.value; + } }; - U.SubstrandLabelSet.prototype = { - get$strand_part: function() { - return this.substrand; + A.uiJsComponent__uiFactory.prototype = { + call$1(backingMap) { + var t1 = {}, + builder = this.propsFactory.jsMap.call$1(new A.JsBackedMap(t1)); + builder.set$componentFactory(this.factoryProxy); + return builder; }, - short_description$0: function() { - return "set " + this.substrand.type_description$0() + " label"; + call$0() { + return this.call$1(null); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 + $signature() { + return this.TProps._eval$1("0([Map<@,@>?])"); + } }; - U.SetAppUIStateStorable.prototype = {$isAction: 1}; - U.SetAppUIStateStorable_SetAppUIStateStorable_closure.prototype = { - call$1: function(b) { - var t2, - t1 = this.storables; - t1.toString; - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - t2._app_ui_state_storables$_$v = t1; - b.get$_$this()._actions$_storables = t2; - return b; + A._indentString_closure.prototype = { + call$1(line) { + return B.JSString_methods.trimRight$0(B.JSString_methods.$add(" ", A._asStringS(line))); }, - $signature: 414 + $signature: 27 }; - U.ShowDNASet.prototype = {$isAction: 1}; - U.ShowDNASet_ShowDNASet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj_closure.prototype = { + call$1(items) { + return J.contains$1$asx(A._asStringS(items), "\n"); }, - $signature: 415 + $signature: 26 }; - U.ShowDomainNamesSet.prototype = {$isAction: 1}; - U.ShowDomainNamesSet_ShowDomainNamesSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj_closure0.prototype = { + call$1(key) { + var t1, index, namespace, subkey; + if (typeof key == "string" && B.JSString_methods.contains$1(key, ".")) { + t1 = J.getInterceptor$asx(key); + index = t1.indexOf$1(key, "."); + namespace = t1.substring$2(key, 0, index); + subkey = t1.substring$1(key, index); + J.add$1$ax(this.namespacedKeys.putIfAbsent$2(0, namespace, new A._prettyObj__closure0()), subkey); + } else + B.JSArray_methods.add$1(this.otherKeys, key); }, - $signature: 420 + $signature: 30 }; - U.ShowStrandNamesSet.prototype = {$isAction: 1}; - U.ShowStrandNamesSet_ShowStrandNamesSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj__closure0.prototype = { + call$0() { + return A._setArrayType([], type$.JSArray_String); }, - $signature: 427 + $signature: 293 }; - U.ShowStrandLabelsSet.prototype = {$isAction: 1}; - U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj_closure1.prototype = { + call$1(entry) { + var namespace, t1; + type$.MapEntry_of_String_and_List_String._as(entry); + namespace = entry.key; + t1 = type$.String; + return A.S(namespace) + "\u2026\n" + A._indentString(J.map$1$1$ax(entry.value, new A._prettyObj_closure_renderSubKey(namespace, this.obj), t1).map$1$1(0, new A._prettyObj__closure(), t1).join$0(0)); }, - $signature: 442 + $signature: 294 }; - U.ShowDomainLabelsSet.prototype = {$isAction: 1}; - U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj_closure_renderSubKey.prototype = { + call$1(subkey) { + var t1 = A.S(A._asStringS(subkey)); + return B.JSString_methods.$add(t1 + ": ", A._prettyObj(J.$index$asx(this.obj, A.S(this.namespace) + t1))); }, - $signature: 443 + $signature: 27 }; - U.ShowModificationsSet.prototype = {$isAction: 1}; - U.ShowModificationsSet_ShowModificationsSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._prettyObj__closure.prototype = { + call$1(pair) { + return J.$add$ansx(A._asStringS(pair), ",\n"); }, - $signature: 444 + $signature: 27 }; - U.DomainNameFontSizeSet.prototype = {$isAction: 1}; - U.DomainLabelFontSizeSet.prototype = {$isAction: 1}; - U.StrandNameFontSizeSet.prototype = {$isAction: 1}; - U.StrandLabelFontSizeSet.prototype = {$isAction: 1}; - U.ModificationFontSizeSet.prototype = {$isAction: 1}; - U.ModificationFontSizeSet_ModificationFontSizeSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._font_size = this.font_size; - return b; + A._prettyObj_closure2.prototype = { + call$1(key) { + return B.JSString_methods.$add(A.S(key) + ": ", A._prettyObj(J.$index$asx(this.obj, key))) + ","; }, - $signature: 451 + $signature: 298 }; - U.MajorTickOffsetFontSizeSet.prototype = {$isAction: 1}; - U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._font_size = this.font_size; - return b; + A._prettyObj_closure3.prototype = { + call$1(pair) { + return J.contains$1$asx(A._asStringS(pair), "\n"); }, - $signature: 453 + $signature: 26 }; - U.MajorTickWidthFontSizeSet.prototype = {$isAction: 1}; - U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._font_size = this.font_size; - return b; + A.WeakMap.prototype = {}; + A.Context0.prototype = { + absolute$1(_, part1) { + var t2, parts, + t1 = type$.JSArray_nullable_String; + A._validateArgList("absolute", A._setArrayType([part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1)); + t2 = this.style; + t2 = t2.rootLength$1(part1) > 0 && !t2.isRootRelative$1(part1); + if (t2) + return part1; + t2 = A.current(); + parts = A._setArrayType([t2, part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1); + A._validateArgList("join", parts); + return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); }, - $signature: 454 - }; - U.SetModificationDisplayConnector.prototype = {$isAction: 1}; - U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + joinAll$1(parts) { + var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; + type$.Iterable_String._as(parts); + for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new A.Context_joinAll_closure()), t3 = parts.get$iterator(parts), t1 = new A.WhereIterator(t3, t2, t1._eval$1("WhereIterator")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { + t5 = t3.get$current(t3); + if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { + parsed = A.ParsedPath_ParsedPath$parse(t5, t2); + path = t4.charCodeAt(0) == 0 ? t4 : t4; + t4 = B.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); + parsed.root = t4; + if (t2.needsSeparator$1(t4)) + B.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); + t4 = parsed.toString$0(0); + } else if (t2.rootLength$1(t5) > 0) { + isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5); + t4 = A.S(t5); + } else { + t6 = t5.length; + if (t6 !== 0) { + if (0 >= t6) + return A.ioore(t5, 0); + t6 = t2.containsSeparator$1(t5[0]); + } else + t6 = false; + if (!t6) + if (needsSeparator) + t4 += t2.get$separator(); + t4 += t5; + } + needsSeparator = t2.needsSeparator$1(t5); + } + return t4.charCodeAt(0) == 0 ? t4 : t4; }, - $signature: 455 - }; - U.ShowMismatchesSet.prototype = {$isAction: 1}; - U.ShowMismatchesSet_ShowMismatchesSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + split$1(_, path) { + var parsed = A.ParsedPath_ParsedPath$parse(path, this.style), + t1 = parsed.parts, + t2 = A._arrayInstanceType(t1), + t3 = t2._eval$1("WhereIterable<1>"); + parsed.set$parts(A.List_List$of(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Context_split_closure()), t3), true, t3._eval$1("Iterable.E"))); + t1 = parsed.root; + if (t1 != null) + B.JSArray_methods.insert$2(parsed.parts, 0, t1); + return parsed.parts; }, - $signature: 183 - }; - U.ShowDomainNameMismatchesSet.prototype = {$isAction: 1}; - U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_show_domain_name_mismatches = this.show_domain_name_mismatches; - return b; + normalize$1(_, path) { + var parsed; + if (!this._needsNormalization$1(path)) + return path; + parsed = A.ParsedPath_ParsedPath$parse(path, this.style); + parsed.normalize$0(0); + return parsed.toString$0(0); }, - $signature: 457 - }; - U.ShowUnpairedInsertionDeletionsSet.prototype = {$isAction: 1}; - U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_show_unpaired_insertion_deletions = this.show_unpaired_insertion_deletions; - return b; + _needsNormalization$1(path) { + var i, start, previous, t2, t3, previousPrevious, codeUnit, t4, + t1 = this.style, + root = t1.rootLength$1(path); + if (root !== 0) { + if (t1 === $.$get$Style_windows()) + for (i = 0; i < root; ++i) + if (B.JSString_methods._codeUnitAt$1(path, i) === 47) + return true; + start = root; + previous = 47; + } else { + start = 0; + previous = null; + } + for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { + codeUnit = B.JSString_methods.codeUnitAt$1(t2, i); + if (t1.isSeparator$1(codeUnit)) { + if (t1 === $.$get$Style_windows() && codeUnit === 47) + return true; + if (previous != null && t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious); + else + t4 = false; + if (t4) + return true; + } + } + if (previous == null) + return true; + if (t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46; + else + t1 = false; + if (t1) + return true; + return false; }, - $signature: 473 - }; - U.OxviewShowSet.prototype = {$isAction: 1}; - U.OxviewShowSet_OxviewShowSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + relative$1(path) { + var from, fromParsed, pathParsed, t3, t4, t5, _this = this, + _s26_ = 'Unable to find a path to "', + t1 = _this.style, + t2 = t1.rootLength$1(path); + if (t2 <= 0) + return _this.normalize$1(0, path); + from = A.current(); + if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) + return _this.normalize$1(0, path); + if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) + path = _this.absolute$1(0, path); + if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + A.S(from) + '".')); + fromParsed = A.ParsedPath_ParsedPath$parse(from, t1); + fromParsed.normalize$0(0); + pathParsed = A.ParsedPath_ParsedPath$parse(path, t1); + pathParsed.normalize$0(0); + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], "."); + } else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + t2 = fromParsed.root; + t3 = pathParsed.root; + if (t2 != t3) + t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3); + else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + while (true) { + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + t4 = pathParsed.parts; + t5 = t4.length; + if (t5 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = t2[0]; + if (0 >= t5) + return A.ioore(t4, 0); + t4 = t1.pathsEqual$2(t2, t4[0]); + t2 = t4; + } else + t2 = false; + } else + t2 = false; + if (!t2) + break; + B.JSArray_methods.removeAt$1(fromParsed.parts, 0); + B.JSArray_methods.removeAt$1(fromParsed.separators, 1); + B.JSArray_methods.removeAt$1(pathParsed.parts, 0); + B.JSArray_methods.removeAt$1(pathParsed.separators, 1); + } + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], ".."); + } else + t2 = false; + if (t2) + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + A.S(from) + '".')); + t2 = type$.String; + B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2)); + B.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); + B.JSArray_methods.insertAll$2(pathParsed.separators, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(), false, t2)); + t1 = pathParsed.parts; + t2 = t1.length; + if (t2 === 0) + return "."; + if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) { + B.JSArray_methods.removeLast$0(pathParsed.parts); + t1 = pathParsed.separators; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + B.JSArray_methods.add$1(t1, ""); + } + pathParsed.root = ""; + pathParsed.removeTrailingSeparators$0(); + return pathParsed.toString$0(0); }, - $signature: 475 - }; - U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = {$isAction: 1}; - U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + withoutExtension$1(path) { + var i, t1, + parsed = A.ParsedPath_ParsedPath$parse(path, this.style); + for (i = parsed.parts.length - 1; i >= 0; --i) { + t1 = parsed.parts; + if (!(i < t1.length)) + return A.ioore(t1, i); + t1 = t1[i]; + t1.toString; + if (J.get$length$asx(t1) !== 0) { + B.JSArray_methods.$indexSet(parsed.parts, i, parsed._splitExtension$0()[0]); + break; + } + } + return parsed.toString$0(0); }, - $signature: 479 + prettyUri$1(uri) { + var path, rel, _this = this, + typedUri = A._parseUri(uri); + if (typedUri.get$scheme() === "file" && _this.style == $.$get$Style_url()) + return typedUri.toString$0(0); + else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style != $.$get$Style_url()) + return typedUri.toString$0(0); + path = _this.normalize$1(0, _this.style.pathFromUri$1(A._parseUri(typedUri))); + rel = _this.relative$1(path); + return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel; + } }; - U.DisplayMajorTicksOffsetsSet.prototype = {$isAction: 1}; - U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A.Context_joinAll_closure.prototype = { + call$1(part) { + return A._asStringS(part) !== ""; }, - $signature: 483 + $signature: 26 }; - U.SetDisplayMajorTickWidthsAllHelices.prototype = {$isAction: 1}; - U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A.Context_split_closure.prototype = { + call$1(part) { + return A._asStringS(part).length !== 0; }, - $signature: 510 + $signature: 26 }; - U.SetDisplayMajorTickWidths.prototype = {$isAction: 1}; - U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + A._validateArgList_closure.prototype = { + call$1(arg) { + A._asStringQ(arg); + return arg == null ? "null" : '"' + arg + '"'; }, - $signature: 511 + $signature: 299 }; - U.SetOnlyDisplaySelectedHelices.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_only_display_selected_helices = this.only_display_selected_helices; - return b; + A.InternalStyle.prototype = { + getRoot$1(path) { + var t1, + $length = this.rootLength$1(path); + if ($length > 0) + return J.substring$2$s(path, 0, $length); + if (this.isRootRelative$1(path)) { + if (0 >= path.length) + return A.ioore(path, 0); + t1 = path[0]; + } else + t1 = null; + return t1; }, - $signature: 514 + pathsEqual$2(path1, path2) { + return path1 == path2; + } }; - U.InvertYSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.DynamicHelixUpdateSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.WarnOnExitIfUnsavedSet.prototype = {$isAction: 1}; - U.LoadingDialogShow.prototype = {$isAction: 1}; - U.LoadingDialogHide.prototype = {$isAction: 1}; - U.CopySelectedStandsToClipboardImage.prototype = {$isAction: 1}; - U.SaveDNAFile.prototype = {$isAction: 1}; - U.LoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.LoadDNAFile_LoadDNAFile_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_$this()._content = _this.content; - b.get$_$this()._filename = _this.filename; - b.get$_$this()._write_local_storage = _this.write_local_storage; - b.get$_$this()._unit_testing = _this.unit_testing; - b.get$_$this()._dna_file_type = _this.dna_file_type; - return b; + A.ParsedPath.prototype = { + get$basename() { + var _this = this, + t1 = type$.String, + copy = new A.ParsedPath(_this.style, _this.root, _this.isRootRelative, A.List_List$from(_this.parts, true, t1), A.List_List$from(_this.separators, true, t1)); + copy.removeTrailingSeparators$0(); + t1 = copy.parts; + if (t1.length === 0) { + t1 = _this.root; + return t1 == null ? "" : t1; + } + return B.JSArray_methods.get$last(t1); }, - $signature: 516 - }; - U.PrepareToLoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; - U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_$this()._content = _this.content; - b.get$_$this()._filename = _this.filename; - b.get$_$this()._write_local_storage = _this.write_local_storage; - b.get$_$this()._unit_testing = _this.unit_testing; - b.get$_$this()._dna_file_type = _this.dna_file_type; - return b; + removeTrailingSeparators$0() { + var t1, t2, _this = this; + while (true) { + t1 = _this.parts; + if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), ""))) + break; + B.JSArray_methods.removeLast$0(_this.parts); + t1 = _this.separators; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + } + t1 = _this.separators; + t2 = t1.length; + if (t2 !== 0) + B.JSArray_methods.$indexSet(t1, t2 - 1, ""); }, - $signature: 524 - }; - U.NewDesignSet.prototype = { - short_description$0: function() { - return this.short_description_value; + normalize$0(_) { + var t1, t2, leadingDoubles, _i, part, t3, _this = this, + newParts = A._setArrayType([], type$.JSArray_String); + for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + part = t1[_i]; + t3 = J.getInterceptor$(part); + if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) + if (t3.$eq(part, "..")) { + t3 = newParts.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(newParts, -1); + newParts.pop(); + } else + ++leadingDoubles; + } else + B.JSArray_methods.add$1(newParts, part); + } + if (_this.root == null) + B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String)); + if (newParts.length === 0 && _this.root == null) + B.JSArray_methods.add$1(newParts, "."); + _this.set$parts(newParts); + t1 = _this.style; + _this.set$separators(A.List_List$filled(newParts.length + 1, t1.get$separator(), true, type$.String)); + t2 = _this.root; + if (t2 == null || newParts.length === 0 || !t1.needsSeparator$1(t2)) + B.JSArray_methods.$indexSet(_this.separators, 0, ""); + t2 = _this.root; + if (t2 != null && t1 === $.$get$Style_windows()) { + t2.toString; + _this.root = A.stringReplaceAllUnchecked(t2, "/", "\\"); + } + _this.removeTrailingSeparators$0(); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.NewDesignSet_NewDesignSet_closure.prototype = { - call$1: function(b) { - var t1 = b.get$design(), - t2 = this.design; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._design0$_$v = t2; - b.get$_$this()._short_description_value = this.short_description_value; - return b; + toString$0(_) { + var i, t2, t3, _this = this, + t1 = _this.root; + t1 = t1 != null ? t1 : ""; + for (i = 0; i < _this.parts.length; ++i, t1 = t3) { + t2 = _this.separators; + if (!(i < t2.length)) + return A.ioore(t2, i); + t2 = A.S(t2[i]); + t3 = _this.parts; + if (!(i < t3.length)) + return A.ioore(t3, i); + t3 = t1 + t2 + A.S(t3[i]); + } + t1 += A.S(B.JSArray_methods.get$last(_this.separators)); + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - $signature: 545 - }; - U.ExportCadnanoFile.prototype = {$isAction: 1}; - U.ExportCodenanoFile.prototype = {$isAction: 1}; - U.ShowMouseoverDataSet.prototype = {$isAction: 1}; - U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + _kthLastIndexOf$3(path, character, k) { + var index, count, leftMostIndexedCharacter; + for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index) + if (path[index] === character) { + ++count; + if (count === k) + return index; + leftMostIndexedCharacter = index; + } + return leftMostIndexedCharacter; }, - $signature: 552 - }; - U.MouseoverDataClear.prototype = {$isAction: 1}; - U.MouseoverDataUpdate.prototype = {$isAction: 1}; - U.HelixRollSet.prototype = { - short_description$0: function() { - return "set helix roll"; + _splitExtension$1(level) { + var t1, file, lastDot; + if (level <= 0) + throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0")); + t1 = this.parts; + t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>")); + file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0()); + if (file == null) + return A._setArrayType(["", ""], type$.JSArray_String); + if (file === "..") + return A._setArrayType(["..", ""], type$.JSArray_String); + lastDot = this._kthLastIndexOf$3(file, ".", level); + if (lastDot <= 0) + return A._setArrayType([file, ""], type$.JSArray_String); + return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixRollSetAtOther.prototype = { - short_description$0: function() { - return "set helix roll at other"; + _splitExtension$0() { + return this._splitExtension$1(1); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixRollSetAtOther_HelixRollSetAtOther_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_$this()._actions$_helix_idx = _this.helix_idx; - b.get$_$this()._helix_other_idx = _this.helix_other_idx; - b.get$_$this()._actions$_forward = _this.forward; - b.get$_$this()._anchor = _this.anchor; - return b; + set$parts(parts) { + this.parts = type$.List_String._as(parts); }, - $signature: 553 + set$separators(separators) { + this.separators = type$.List_String._as(separators); + } }; - U.RelaxHelixRolls.prototype = { - short_description$0: function() { - return "set helix rolls to unstrain crossovers"; + A.ParsedPath__splitExtension_closure.prototype = { + call$1(p) { + return A._asStringQ(p) !== ""; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 300 }; - U.ErrorMessageSet.prototype = {$isAction: 1}; - U.ErrorMessageSet_ErrorMessageSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_error_message = this.error_message; - return b; + A.ParsedPath__splitExtension_closure0.prototype = { + call$0() { + return null; }, - $signature: 554 + $signature: 10 }; - U.SelectionBoxCreate.prototype = {$isAction: 1}; - U.SelectionBoxCreate_SelectionBoxCreate_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.point); - b.get$_$this().set$_point(t1); - b.get$_$this()._actions$_toggle = this.toggle; - b.get$_$this()._actions$_is_main = this.is_main; - return b; + A.PathException.prototype = { + toString$0(_) { + return "PathException: " + this.message; }, - $signature: 559 + $isException: 1, + get$message(receiver) { + return this.message; + } }; - U.SelectionBoxSizeChange.prototype = {$isAction: 1, $isFastAction: 1}; - U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.point); - b.get$_$this().set$_point(t1); - b.get$_$this()._actions$_is_main = this.is_main; - return b; - }, - $signature: 560 + A.Style.prototype = { + toString$0(_) { + return this.get$name(this); + } }; - U.SelectionBoxRemove.prototype = {$isAction: 1}; - U.SelectionBoxRemove_SelectionBoxRemove_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_is_main = this.is_main; - return b; + A.PosixStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - $signature: 561 - }; - U.SelectionRopeCreate.prototype = {$isAction: 1}; - U.SelectionRopeMouseMove.prototype = {$isAction: 1, $isFastAction: 1}; - U.SelectionRopeAddPoint.prototype = {$isAction: 1}; - U.SelectionRopeRemove.prototype = {$isAction: 1}; - U.MouseGridPositionSideUpdate.prototype = {$isAction: 1}; - U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure.prototype = { - call$1: function(b) { - var t1 = b.get$grid_position(); - t1._grid_position$_$v = this.grid_position; - return b; + isSeparator$1(codeUnit) { + return codeUnit === 47; }, - $signature: 562 - }; - U.MouseGridPositionSideClear.prototype = {$isAction: 1}; - U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure.prototype = { - call$1: function(b) { - return b; + needsSeparator$1(path) { + var t1 = path.length; + return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; }, - $signature: 566 - }; - U.MousePositionSideUpdate.prototype = {$isAction: 1}; - U.MousePositionSideClear.prototype = {$isAction: 1}; - U.GeometrySet.prototype = { - short_description$0: function() { - return "set geometric parameters"; + rootLength$2$withDrive(path, withDrive) { + if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47) + return 1; + return 0; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.SelectionBoxIntersectionRuleSet.prototype = {$isAction: 1}; - U.Select.prototype = {$isAction: 1}; - U.Select_Select_closure.prototype = { - call$1: function(b) { - b.get$_$this()._selectable = this.selectable; - b.get$_$this()._actions$_toggle = this.toggle; - b.get$_$this()._only = this.only; - return b; + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); }, - $signature: 567 - }; - U.SelectionsClear.prototype = {$isAction: 1}; - U.SelectionsClear_SelectionsClear_closure.prototype = { - call$1: function(b) { - return b; + isRootRelative$1(path) { + return false; }, - $signature: 568 - }; - U.SelectionsAdjustMainView.prototype = {$isAction: 1}; - U.SelectOrToggleItems.prototype = {$isAction: 1}; - U.SelectAll.prototype = {$isAction: 1}; - U.SelectAllSelectable.prototype = {$isAction: 1}; - U.SelectAllSelectable_SelectAllSelectable_closure.prototype = { - call$1: function(b) { - b.get$_$this()._current_helix_group_only = this.current_helix_group_only; - return b; + pathFromUri$1(uri) { + var t1; + if (uri.get$scheme() === "" || uri.get$scheme() === "file") { + t1 = uri.get$path(uri); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); + } + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); }, - $signature: 569 - }; - U.SelectAllWithSameAsSelected.prototype = {$isAction: 1}; - U.DeleteAllSelected.prototype = { - short_description$0: function() { - return "remove all selected items"; + get$name() { + return "posix"; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + get$separator() { + return "/"; + } }; - U.DeleteAllSelected_DeleteAllSelected_closure.prototype = { - call$1: function(b) { - return b; + A.UrlStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - $signature: 580 - }; - U.HelixAdd.prototype = { - short_description$0: function() { - return "create helix"; + isSeparator$1(codeUnit) { + return codeUnit === 47; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixAdd_HelixAdd_closure.prototype = { - call$1: function(b) { - var t2, - t1 = this.grid_position; - if (t1 == null) - t1 = null; - else { - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - t1 = t2; - } - b.get$_$this()._actions$_grid_position = t1; - t1 = this.position; - if (t1 == null) - t1 = null; - else { - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - t1 = t2; - } - b.get$_$this()._actions$_position = t1; - return b; - }, - $signature: 588 - }; - U.HelixRemove.prototype = { - short_description$0: function() { - return "delete helix"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixRemove_HelixRemove_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_helix_idx = this.helix_idx; - return b; + needsSeparator$1(path) { + var t1 = path.length; + if (t1 === 0) + return false; + if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) + return true; + return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; }, - $signature: 590 - }; - U.HelixRemoveAllSelected.prototype = { - short_description$0: function() { - return "delete all selected helices"; + rootLength$2$withDrive(path, withDrive) { + var i, codeUnit, index, t2, + t1 = path.length; + if (t1 === 0) + return 0; + if (B.JSString_methods._codeUnitAt$1(path, 0) === 47) + return 1; + for (i = 0; i < t1; ++i) { + codeUnit = B.JSString_methods._codeUnitAt$1(path, i); + if (codeUnit === 47) + return 0; + if (codeUnit === 58) { + if (i === 0) + return 0; + index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); + if (index <= 0) + return t1; + if (!withDrive || t1 < index + 3) + return index; + if (!B.JSString_methods.startsWith$1(path, "file://")) + return index; + if (!A.isDriveLetter(path, index + 1)) + return index; + t2 = index + 3; + return t1 === t2 ? t2 : index + 4; + } + } + return 0; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixSelect.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; - U.HelixSelect_HelixSelect_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_helix_idx = this.helix_idx; - b.get$_$this()._actions$_toggle = this.toggle; - return b; + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); }, - $signature: 591 - }; - U.HelixSelectionsClear.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; - U.HelixSelectionsClear_HelixSelectionsClear_closure.prototype = { - call$1: function(b) { - return b; + isRootRelative$1(path) { + return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47; }, - $signature: 652 - }; - U.HelixSelectionsAdjust.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; - U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure.prototype = { - call$1: function(b) { - var t1, t2; - b.get$_$this()._actions$_toggle = this.toggle; - t1 = b.get$selection_box(); - t2 = this.selection_box; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._selection_box$_$v = t2; - return b; + pathFromUri$1(uri) { + return uri.toString$0(0); }, - $signature: 671 - }; - U.HelixMajorTickDistanceChange.prototype = { - short_description$0: function() { - return "change helix major tick distance"; + get$name() { + return "url"; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 + get$separator() { + return "/"; + } }; - U.HelixMajorTickDistanceChangeAll.prototype = { - short_description$0: function() { - return "change all helix major tick distance"; + A.WindowsStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixMajorTickStartChange.prototype = { - short_description$0: function() { - return "change helix major tick start"; + isSeparator$1(codeUnit) { + return codeUnit === 47 || codeUnit === 92; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixMajorTickStartChangeAll.prototype = { - short_description$0: function() { - return "change all helix major tick start"; + needsSeparator$1(path) { + var t1 = path.length; + if (t1 === 0) + return false; + t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1); + return !(t1 === 47 || t1 === 92); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixMajorTicksChange.prototype = { - short_description$0: function() { - return "change helix major ticks"; + rootLength$2$withDrive(path, withDrive) { + var t2, index, + t1 = path.length; + if (t1 === 0) + return 0; + t2 = B.JSString_methods._codeUnitAt$1(path, 0); + if (t2 === 47) + return 1; + if (t2 === 92) { + if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92) + return 1; + index = B.JSString_methods.indexOf$2(path, "\\", 2); + if (index > 0) { + index = B.JSString_methods.indexOf$2(path, "\\", index + 1); + if (index > 0) + return index; + } + return t1; + } + if (t1 < 3) + return 0; + if (!A.isAlphabetic(t2)) + return 0; + if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58) + return 0; + t1 = B.JSString_methods._codeUnitAt$1(path, 2); + if (!(t1 === 47 || t1 === 92)) + return 0; + return 3; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixMajorTicksChangeAll.prototype = { - short_description$0: function() { - return "change all helix major ticks"; + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixMajorTickPeriodicDistancesChange.prototype = { - short_description$0: function() { - return "change helix major tick periodic distances"; + isRootRelative$1(path) { + return this.rootLength$1(path) === 1; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixMajorTickPeriodicDistancesChangeAll.prototype = { - short_description$0: function() { - return "change all helix major tick periodic distances"; + pathFromUri$1(uri) { + var path, t1; + if (uri.get$scheme() !== "" && uri.get$scheme() !== "file") + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); + path = uri.get$path(uri); + if (uri.get$host(uri) === "") { + if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1)) + path = B.JSString_methods.replaceFirst$2(path, "/", ""); + } else + path = "\\\\" + uri.get$host(uri) + path; + t1 = A.stringReplaceAllUnchecked(path, "/", "\\"); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixIdxsChange.prototype = { - short_description$0: function() { - return "set helix idx"; + codeUnitsEqual$2(codeUnit1, codeUnit2) { + var upperCase1; + if (codeUnit1 === codeUnit2) + return true; + if (codeUnit1 === 47) + return codeUnit2 === 92; + if (codeUnit1 === 92) + return codeUnit2 === 47; + if ((codeUnit1 ^ codeUnit2) !== 32) + return false; + upperCase1 = codeUnit1 | 32; + return upperCase1 >= 97 && upperCase1 <= 122; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixIdxsChange_HelixIdxsChange_closure.prototype = { - call$1: function(b) { - b.get$idx_replacements().replace$1(0, this.idx_replacements); - return b; + pathsEqual$2(path1, path2) { + var t1, i; + if (path1 == path2) + return true; + t1 = path1.length; + if (t1 !== path2.length) + return false; + for (i = 0; i < t1; ++i) + if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i))) + return false; + return true; }, - $signature: 828 - }; - U.HelixOffsetChange.prototype = { - short_description$0: function() { - return "change helix offset"; + get$name() { + return "windows"; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 + get$separator() { + return "\\"; + } }; - U.HelixMinOffsetSetByDomains.prototype = { - short_description$0: function() { - return "set helix min offset"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 + A.Context1.prototype = { + toString$0(_) { + return "Context[" + A.Token_positionString(this.buffer, this.position) + "]"; + } }; - U.HelixMaxOffsetSetByDomains.prototype = { - short_description$0: function() { - return "set helix min offset"; + A.Failure.prototype = { + get$isFailure() { + return true; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixMinOffsetSetByDomainsAll.prototype = { - short_description$0: function() { - return "set helix min offset"; + get$value(_) { + return A.throwExpression(new A.ParserException(this)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixMaxOffsetSetByDomainsAll.prototype = { - short_description$0: function() { - return "set helix max offset"; + toString$0(_) { + return "Failure[" + A.Token_positionString(this.buffer, this.position) + "]: " + this.message; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + get$message(receiver) { + return this.message; + } }; - U.HelixMaxOffsetSetByDomainsAllSameMax.prototype = { - short_description$0: function() { - return "set helix max offset"; + A.Result.prototype = { + get$isSuccess() { + return false; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + get$isFailure() { + return false; + } }; - U.HelixOffsetChangeAll.prototype = { - short_description$0: function() { - return "change all helix offsets"; + A.Success.prototype = { + get$isSuccess() { + return true; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.ShowMouseoverRectSet.prototype = {$isAction: 1}; - U.ShowMouseoverRectToggle.prototype = {$isAction: 1}; - U.ExportDNA.prototype = {$isAction: 1}; - U.ExportDNA_ExportDNA_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_$this()._include_scaffold = _this.include_scaffold; - b.get$_$this()._include_only_selected_strands = _this.include_only_selected_strands; - b.get$_$this()._exclude_selected_strands = _this.exclude_selected_strands; - b.get$_$this()._export_dna_format = _this.export_dna_format; - b.get$_$this()._delimiter = _this.delimiter; - b.get$_$this()._domain_delimiter = _this.domain_delimiter; - b.get$_$this()._strand_order = _this.strand_order; - b.get$_$this()._column_major_strand = _this.column_major_strand; - b.get$_$this()._column_major_plate = _this.column_major_plate; - return b; + get$message(_) { + return A.throwExpression(A.UnsupportedError$("Successful parse results do not have a message.")); }, - $signature: 887 - }; - U.ExportCanDoDNA.prototype = {$isAction: 1}; - U.ExportCanDoDNA_ExportCanDoDNA_closure.prototype = { - call$1: function(b) { - return b; + toString$0(_) { + return "Success[" + A.Token_positionString(this.buffer, this.position) + "]: " + A.S(this.value); }, - $signature: 901 - }; - U.ExportSvgType.prototype = { - toString$0: function(_) { - return this._actions$_name; + get$value(receiver) { + return this.value; } }; - U.ExportSvg.prototype = {$isAction: 1}; - U.ExportSvgTextSeparatelySet.prototype = {$isAction: 1}; - U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_export_svg_text_separately = this.export_svg_text_separately; - return b; + A.ParserException.prototype = { + get$message(_) { + return this.failure.message; }, - $signature: 184 - }; - U.ExtensionDisplayLengthAngleSet.prototype = { - get$strand_part: function() { - return this.ext; + get$offset(_) { + return this.failure.position; }, - short_description$0: function() { - return "change extension display length/angle"; + get$source(_) { + return this.failure.buffer; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 - }; - U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure.prototype = { - call$1: function(b) { - var t1 = b.get$ext(), - t2 = this.ext; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._extension$_$v = t2; - b.get$_$this()._actions$_display_length = this.display_length; - b.get$_$this()._actions$_display_angle = this.display_angle; - return b; + toString$0(_) { + var t1 = this.failure; + return this.super$Object$toString(0) + ": " + t1.message + " (at " + A.Token_positionString(t1.buffer, t1.position) + ")"; }, - $signature: 185 + $isException: 1, + $isFormatException: 1 }; - U.ExtensionAdd.prototype = { - short_description$0: function() { - return "add extension to strand"; + A.Parser.prototype = { + fastParseOn$2(buffer, position) { + var result = this.parseOn$1(new A.Context1(buffer, position)); + return result.get$isSuccess() ? result.position : -1; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.ExtensionAdd_ExtensionAdd_closure.prototype = { - call$1: function(b) { - var t1 = b.get$strand(), - t2 = this.strand; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._strand$_$v = t2; - b.get$_$this()._actions$_is_5p = this.is_5p; - b.get$_$this()._actions$_num_bases = this.num_bases; - return b; + get$children(_) { + return B.List_empty4; }, - $signature: 186 + replace$2(_, source, target) { + } }; - U.ExtensionNumBasesChange.prototype = { - get$strand_part: function() { - return this.ext; + A.Token.prototype = { + get$length(_) { + return this.stop - this.start; }, - short_description$0: function() { - return "change extension number of bases"; + toString$0(_) { + return "Token[" + A.Token_positionString(this.buffer, this.start) + "]: " + A.S(this.value); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 - }; - U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure.prototype = { - call$1: function(b) { - var t1 = b.get$ext(), - t2 = this.ext; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._extension$_$v = t2; - b.get$_$this()._actions$_num_bases = this.num_bases; - return b; + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Token && J.$eq$(this.value, other.value) && this.start === other.start && this.stop === other.stop; }, - $signature: 187 - }; - U.ExtensionsNumBasesChange.prototype = { - short_description$0: function() { - return "change extensions number of bases"; + get$hashCode(_) { + var t1 = J.get$hashCode$(this.value), + t2 = B.JSInt_methods.get$hashCode(this.start); + if (typeof t1 !== "number") + return t1.$add(); + return t1 + t2 + B.JSInt_methods.get$hashCode(this.stop); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + get$value(receiver) { + return this.value; + } }; - U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure.prototype = { - call$1: function(b) { - b.get$extensions(b).replace$1(0, this.extensions); - b.get$_$this()._actions$_num_bases = this.num_bases; - return b; + A.ReferenceParser.prototype = { + parseOn$1(context) { + A._throwUnsupported(); + return A.ReachabilityError$(string$.x60null_t); }, - $signature: 188 - }; - U.LoopoutLengthChange.prototype = { - get$strand_part: function() { - return this.loopout; + $eq(_, other) { + var t1; + if (other == null) + return false; + if (other instanceof A.ReferenceParser) { + if (!J.$eq$(this.$function, other.$function) || false) + return false; + for (t1 = this.$arguments; false;) { + if (0 >= 0) + return A.ioore(t1, 0); + return false; + } + return true; + } + return false; }, - short_description$0: function() { - return "change loopout length"; + get$hashCode(_) { + return J.get$hashCode$(this.$function); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 + $isResolvableParser: 1 }; - U.LoopoutLengthChange_LoopoutLengthChange_closure.prototype = { - call$1: function(b) { - var t1 = b.get$loopout(), - t2 = this.loopout; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._loopout$_$v = t2; - b.get$_$this()._actions$_num_bases = this.num_bases; - return b; - }, - $signature: 189 + A.MatchesIterable.prototype = { + get$iterator(_) { + var _this = this; + return new A.MatchesIterator(_this.parser, _this.input, false, _this.start, _this.$ti._eval$1("MatchesIterator<1>")); + } }; - U.LoopoutsLengthChange.prototype = { - short_description$0: function() { - return "change loopouts length"; + A.MatchesIterator.prototype = { + get$current(_) { + var t1 = this.__MatchesIterator_current_A; + t1 === $ && A.throwLateFieldNI("current"); + return t1; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.LoopoutsLengthChange_LoopoutsLengthChange_closure.prototype = { - call$1: function(b) { - b.get$loopouts().replace$1(0, this.loopouts); - b.get$_$this()._actions$_length = this.length; - return b; + moveNext$0() { + var t1, t2, t3, t4, end, _this = this; + for (t1 = _this.input, t2 = t1.length, t3 = _this.parser; t4 = _this.start, t4 <= t2;) { + end = t3.delegate.fastParseOn$2(t1, t4); + if (typeof end !== "number") + return end.$lt(); + t4 = _this.start; + if (end < 0) + _this.start = t4 + 1; + else { + t1 = t3.parseOn$1(new A.Context1(t1, t4)); + _this.set$__MatchesIterator_current_A(_this.$ti._precomputed1._as(t1.get$value(t1))); + t1 = _this.start; + if (t1 === end) + _this.start = t1 + 1; + else + _this.start = end; + return true; + } + } + return false; }, - $signature: 190 + set$__MatchesIterator_current_A(__MatchesIterator_current_A) { + this.__MatchesIterator_current_A = this.$ti._precomputed1._as(__MatchesIterator_current_A); + } }; - U.ConvertCrossoverToLoopout.prototype = { - get$strand_part: function() { - return this.crossover; + A.FlattenParser.prototype = { + parseOn$1(context) { + var output, + t1 = context.buffer, + t2 = context.position, + position = this.delegate.fastParseOn$2(t1, t2); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return new A.Failure(this.message, t1, t2, type$.Failure_String); + output = J.substring$2$s(t1, t2, position); + return new A.Success(output, t1, position, type$.Success_String); }, - short_description$0: function() { - return "convert crossover to loopout"; + fastParseOn$2(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1 + get$message(receiver) { + return this.message; + } }; - U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure.prototype = { - call$1: function(b) { - var t1 = b.get$crossover(), - t2 = this.crossover; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._crossover$_$v = t2; - b.get$_$this()._actions$_length = this.length; - b.get$_$this()._actions$_dna_sequence = this.dna_sequence; - return b; - }, - $signature: 191 + A.MapParser.prototype = { + parseOn$1(context) { + var t4, + result = this.delegate.parseOn$1(context), + t1 = result.get$isSuccess(), + t2 = this.$ti, + t3 = result.buffer; + if (t1) { + t1 = t2._rest[1]._as(this.callback.call$1(result.get$value(result))); + t4 = result.position; + return new A.Success(t1, t3, t4, t2._eval$1("Success<2>")); + } else { + t1 = result.get$message(result); + t4 = result.position; + return new A.Failure(t1, t3, t4, t2._eval$1("Failure<2>")); + } + } }; - U.ConvertCrossoversToLoopouts.prototype = { - short_description$0: function() { - return "convert crossovers to loopouts"; + A.TokenParser.prototype = { + parseOn$1(context) { + var t4, t5, + result = this.delegate.parseOn$1(context), + t1 = result.get$isSuccess(), + t2 = this.$ti, + t3 = result.buffer; + if (t1) { + t1 = result.get$value(result); + t4 = result.position; + t5 = t2._eval$1("Token<1>"); + t5 = t5._as(new A.Token(t1, context.buffer, context.position, t4, t5)); + return new A.Success(t5, t3, t4, t2._eval$1("Success>")); + } else { + t1 = result.get$message(result); + t4 = result.position; + return new A.Failure(t1, t3, t4, t2._eval$1("Failure>")); + } }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + fastParseOn$2(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); + } }; - U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure.prototype = { - call$1: function(b) { - b.get$crossovers().replace$1(0, this.crossovers); - b.get$_$this()._actions$_length = this.length; - return b; + A.SingleCharPredicate.prototype = { + test$1(value) { + return this.value === value; }, - $signature: 192 + get$value(receiver) { + return this.value; + } }; - U.Nick.prototype = { - short_description$0: function() { - return "nick"; + A.ConstantCharPredicate.prototype = { + test$1(value) { + return this.constant; + } + }; + A.LookupCharPredicate.prototype = { + LookupCharPredicate$1(ranges) { + var t1, t2, t3, t4, _i, range, index, t5, t6; + for (t1 = ranges.length, t2 = this.start, t3 = this.bits, t4 = t3.length, _i = 0; _i < t1; ++_i) { + range = ranges[_i]; + for (index = range.start - t2, t5 = range.stop - t2; index <= t5; ++index) { + t6 = B.JSInt_methods._shrOtherPositive$1(index, 5); + if (!(t6 < t4)) + return A.ioore(t3, t6); + t3[t6] = (t3[t6] | B.List_MmH[index & 31]) >>> 0; + } + } }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + test$1(value) { + var t2, t3, + t1 = this.start; + if (t1 <= value) + if (value <= this.stop) { + t1 = value - t1; + t2 = this.bits; + t3 = B.JSInt_methods._shrOtherPositive$1(t1, 5); + if (!(t3 < t2.length)) + return A.ioore(t2, t3); + t1 = (t2[t3] & B.List_MmH[t1 & 31]) >>> 0 !== 0; + } else + t1 = false; + else + t1 = false; + return t1; + }, + $isCharacterPredicate: 1 }; - U.Ligate.prototype = { - short_description$0: function() { - return "ligate"; + A.NotCharacterPredicate.prototype = { + test$1(value) { + return !this.predicate.test$1(value); + } + }; + A.optimizedRanges_closure.prototype = { + call$2(first, second) { + var t2, + t1 = type$.RangeCharPredicate; + t1._as(first); + t1._as(second); + t1 = first.start; + t2 = second.start; + return t1 !== t2 ? t1 - t2 : first.stop - second.stop; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 301 }; - U.JoinStrandsByCrossover.prototype = { - short_description$0: function() { - return "add crossover"; + A.optimizedRanges_closure0.prototype = { + call$2(current, range) { + var t1, t2; + A._asIntS(current); + type$.RangeCharPredicate._as(range); + t1 = range.stop; + t2 = range.start; + if (typeof current !== "number") + return current.$add(); + return current + (t1 - t2 + 1); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 302 }; - U.MoveLinker.prototype = { - short_description$0: function() { - var linker_description, - l = this.potential_crossover.linker; - if (l instanceof T.Crossover) - linker_description = "crossover"; - else { - if (!(l instanceof G.Loopout)) - throw H.wrapException(P.AssertionError$(H.S(l) + " is not crossover nor looput")); - linker_description = "loopout"; - } - return "move " + linker_description; + A._single_closure.prototype = { + call$1(element) { + var t1 = J._codeUnitAt$1$s(A._asStringS(element), 0); + return new A.RangeCharPredicate(t1, t1); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 303 }; - U.JoinStrandsByMultipleCrossovers.prototype = { - short_description$0: function() { - return "join strands by multiple crossovers"; + A._range_closure.prototype = { + call$3(start, _, $stop) { + A._asStringS(start); + A._asStringS(_); + A._asStringS($stop); + return new A.RangeCharPredicate(J._codeUnitAt$1$s(start, 0), J._codeUnitAt$1$s($stop, 0)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 304 }; - U.StrandsReflect.prototype = {$isAction: 1}; - U.ReplaceStrands.prototype = { - short_description$0: function() { - return "replace strands"; + A._sequence_closure.prototype = { + call$1(predicates) { + return A.optimizedRanges(J.cast$1$0$ax(type$.List_dynamic._as(predicates), type$.RangeCharPredicate)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 306 }; - U.StrandCreateStart.prototype = {$isAction: 1}; - U.StrandCreateAdjustOffset.prototype = {$isAction: 1}; - U.StrandCreateStop.prototype = {$isAction: 1}; - U.StrandCreateCommit.prototype = { - short_description$0: function() { - return "create strand"; + A._pattern_closure.prototype = { + call$2(negation, sequence) { + var t1; + A._asStringQ(negation); + type$.CharacterPredicate._as(sequence); + if (negation == null) + t1 = sequence; + else + t1 = sequence instanceof A.ConstantCharPredicate ? new A.ConstantCharPredicate(!sequence.constant) : new A.NotCharacterPredicate(sequence); + return t1; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature: 312 }; - U.PotentialCrossoverCreate.prototype = {$isAction: 1}; - U.PotentialCrossoverMove.prototype = {$isAction: 1, $isFastAction: 1}; - U.PotentialCrossoverRemove.prototype = {$isAction: 1}; - U.ManualPasteInitiate.prototype = {$isAction: 1}; - U.ManualPasteInitiate_ManualPasteInitiate_closure.prototype = { - call$1: function(b) { - b.get$_$this()._clipboard_content = this.clipboard_content; - b.get$_$this()._in_browser = this.in_browser; - return b; + A.CharacterPredicate.prototype = {}; + A.RangeCharPredicate.prototype = { + test$1(value) { + return this.start <= value && value <= this.stop; }, - $signature: 193 + $isCharacterPredicate: 1 }; - U.AutoPasteInitiate.prototype = {$isAction: 1}; - U.AutoPasteInitiate_AutoPasteInitiate_closure.prototype = { - call$1: function(b) { - b.get$_$this()._clipboard_content = this.clipboard_content; - b.get$_$this()._in_browser = this.in_browser; - return b; + A.WhitespaceCharPredicate.prototype = { + test$1(value) { + if (value < 256) + switch (value) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + switch (value) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } }, - $signature: 194 + $isCharacterPredicate: 1 }; - U.CopySelectedStrands.prototype = {$isAction: 1}; - U.StrandsMoveStart.prototype = {$isAction: 1}; - U.StrandsMoveStartSelectedStrands.prototype = {$isAction: 1}; - U.StrandsMoveStop.prototype = {$isAction: 1}; - U.StrandsMoveAdjustAddress.prototype = {$isAction: 1}; - U.StrandsMoveCommit.prototype = { - short_description$0: function() { - return "move strands"; + A.ChoiceParser.prototype = { + parseOn$1(context) { + var t1, t2, t3, t4, failure, i, result; + for (t1 = this.children, t2 = t1.length, t3 = this.failureJoiner, t4 = this.$ti._eval$1("Failure<1>"), failure = null, i = 0; i < t2; ++i) { + result = t1[i].parseOn$1(context); + if (t4._is(result)) + failure = failure == null ? result : t3.call$2(failure, result); + else + return result; + } + failure.toString; + return failure; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + fastParseOn$2(buffer, position) { + var t1, t2, result, i; + for (t1 = this.children, t2 = t1.length, result = -1, i = 0; i < t2; ++i) { + result = t1[i].fastParseOn$2(buffer, position); + if (typeof result !== "number") + return result.$ge(); + if (result >= 0) + return result; + } + return result; + } }; - U.DomainsMoveStartSelectedDomains.prototype = {$isAction: 1}; - U.DomainsMoveStop.prototype = {$isAction: 1}; - U.DomainsMoveAdjustAddress.prototype = {$isAction: 1}; - U.DomainsMoveCommit.prototype = { - short_description$0: function() { - return "move domains"; + A.DelegateParser.prototype = { + get$children(_) { + return A._setArrayType([this.delegate], type$.JSArray_Parser_dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.DNAEndsMoveStart.prototype = {$isAction: 1}; - U.DNAEndsMoveSetSelectedEnds.prototype = {$isAction: 1}; - U.DNAEndsMoveAdjustOffset.prototype = {$isAction: 1, $isFastAction: 1}; - U.DNAEndsMoveStop.prototype = {$isAction: 1}; - U.DNAEndsMoveCommit.prototype = { - short_description$0: function() { - return "move DNA ends"; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.delegate, source)) + _this.set$delegate(A._instanceType(_this)._eval$1("Parser")._as(target)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + set$delegate(delegate) { + this.delegate = A._instanceType(this)._eval$1("Parser")._as(delegate); + } }; - U.DNAExtensionsMoveStart.prototype = {$isAction: 1}; - U.DNAExtensionsMoveSetSelectedExtensionEnds.prototype = {$isAction: 1}; - U.DNAExtensionsMoveAdjustPosition.prototype = {$isAction: 1, $isFastAction: 1}; - U.DNAExtensionsMoveStop.prototype = {$isAction: 1}; - U.DNAExtensionsMoveCommit.prototype = { - short_description$0: function() { - return "move DNA extensions"; + A.SequenceParser2.prototype = { + parseOn$1(context) { + var t1, t2, t3, result2, _this = this, + result1 = _this.parser1.parseOn$1(context); + if (result1.get$isFailure()) { + t1 = result1.get$message(result1); + t2 = result1.buffer; + t3 = result1.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result2 = _this.parser2.parseOn$1(result1); + if (result2.get$isFailure()) { + t1 = result2.get$message(result2); + t2 = result2.buffer; + t3 = result2.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + t1 = _this.$ti; + result1 = t1._eval$1("Sequence2<1,2>")._as(new A.Sequence2(result1.get$value(result1), result2.get$value(result2), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("Sequence2<1,2>"))); + t2 = result2.buffer; + t3 = result2.position; + return new A.Success(result1, t2, t3, t1._eval$1("Success>")); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.HelixGroupMoveStart.prototype = {$isAction: 1}; - U.HelixGroupMoveCreate.prototype = {$isAction: 1}; - U.HelixGroupMoveAdjustTranslation.prototype = {$isAction: 1, $isFastAction: 1}; - U.HelixGroupMoveStop.prototype = {$isAction: 1}; - U.HelixGroupMoveCommit.prototype = { - short_description$0: function() { - return "move helix group"; + fastParseOn$2(buffer, position) { + position = this.parser1.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = this.parser2.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + return position; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.AssignDNA.prototype = { - short_description$0: function() { - return "assign DNA sequence"; + get$children(_) { + return A._setArrayType([this.parser1, this.parser2], type$.JSArray_Parser_dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.AssignDNAComplementFromBoundStrands.prototype = { - short_description$0: function() { - return "add DNA complement from bound strands"; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.parser1, source)) + _this.set$parser1(_this.$ti._eval$1("Parser<1>")._as(target)); + if (J.$eq$(_this.parser2, source)) + _this.set$parser2(_this.$ti._eval$1("Parser<2>")._as(target)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure.prototype = { - call$1: function(b) { - b.get$strands().replace$1(0, this.strands); - return b; + set$parser1(parser1) { + this.parser1 = this.$ti._eval$1("Parser<1>")._as(parser1); }, - $signature: 195 + set$parser2(parser2) { + this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); + } }; - U.AssignDomainNameComplementFromBoundStrands.prototype = { - short_description$0: function() { - return string$.assign; + A.Sequence2.prototype = { + map$1$1(_, callback, $R) { + return this.$ti._bind$1($R)._eval$1("1(2,3)")._as(callback).call$2(this.first, this.second); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure.prototype = { - call$1: function(b) { - b.get$strands().replace$1(0, this.strands); - return b; + map$1($receiver, callback) { + return this.map$1$1($receiver, callback, type$.dynamic); }, - $signature: 196 - }; - U.AssignDomainNameComplementFromBoundDomains.prototype = { - short_description$0: function() { - return "assign domain name complement from bound domains"; + get$hashCode(_) { + return A.Object_hash(this.first, this.second, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure.prototype = { - call$1: function(b) { - b.get$domains().replace$1(0, this.domains); - return b; + $eq(_, other) { + if (other == null) + return false; + return this.$ti._is(other) && J.$eq$(this.first, other.first) && J.$eq$(this.second, other.second); }, - $signature: 197 + toString$0(_) { + return this.super$Object$toString(0) + "(" + A.S(this.first) + ", " + A.S(this.second) + ")"; + } }; - U.RemoveDNA.prototype = { - short_description$0: function() { - return "remove DNA sequence"; + A.ParserSequenceExtension2_map2_closure.prototype = { + call$1(sequence) { + var _this = this; + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._eval$1("Sequence2<1,2>")._as(sequence); + sequence.toString; + return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3)")._as(_this.callback).call$2(sequence.first, sequence.second); + }, + $signature() { + return this.R._eval$1("@<0>")._bind$1(this.T1)._bind$1(this.T2)._eval$1("1(Sequence2<2,3>)"); + } + }; + A.SequenceParser3.prototype = { + parseOn$1(context) { + var t1, t2, t3, result2, result3, _this = this, + result1 = _this.parser1.parseOn$1(context); + if (result1.get$isFailure()) { + t1 = result1.get$message(result1); + t2 = result1.buffer; + t3 = result1.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result2 = _this.parser2.parseOn$1(result1); + if (result2.get$isFailure()) { + t1 = result2.get$message(result2); + t2 = result2.buffer; + t3 = result2.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result3 = _this.parser3.parseOn$1(result2); + if (result3.get$isFailure()) { + t1 = result3.get$message(result3); + t2 = result3.buffer; + t3 = result3.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + t1 = _this.$ti; + result2 = t1._eval$1("Sequence3<1,2,3>")._as(new A.Sequence3(result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(t1._rest[2])._eval$1("Sequence3<1,2,3>"))); + result1 = result3.buffer; + t2 = result3.position; + return new A.Success(result2, result1, t2, t1._eval$1("Success>")); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.InsertionAdd.prototype = { - get$strand_part: function() { - return this.domain; + fastParseOn$2(buffer, position) { + position = this.parser1.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = this.parser2.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = this.parser3.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + return position; }, - clone_for_other_domain$1: function(domain) { - var t1 = type$.legacy_void_Function_legacy_InsertionAddBuilder._as(new U.InsertionAdd_clone_for_other_domain_closure(domain)), - t2 = new U.InsertionAddBuilder(); - t2._$v = this; - t1.call$1(t2); - return t2.build$0(); + get$children(_) { + return A._setArrayType([this.parser1, this.parser2, this.parser3], type$.JSArray_Parser_dynamic); }, - short_description$0: function() { - return "add insertion"; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.parser1, source)) + _this.set$parser1(_this.$ti._eval$1("Parser<1>")._as(target)); + if (J.$eq$(_this.parser2, source)) + _this.set$parser2(_this.$ti._eval$1("Parser<2>")._as(target)); + if (J.$eq$(_this.parser3, source)) + _this.set$parser3(_this.$ti._eval$1("Parser<3>")._as(target)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1, - $isInsertionOrDeletionAction: 1 - }; - U.InsertionAdd_clone_for_other_domain_closure.prototype = { - call$1: function(b) { - var t1 = b.get$domain(b), - t2 = this.domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - return b; + set$parser1(parser1) { + this.parser1 = this.$ti._eval$1("Parser<1>")._as(parser1); }, - $signature: 198 + set$parser2(parser2) { + this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); + }, + set$parser3(parser3) { + this.parser3 = this.$ti._eval$1("Parser<3>")._as(parser3); + } }; - U.InsertionLengthChange.prototype = { - get$offset: function(_) { - return this.insertion.offset; + A.Sequence3.prototype = { + map$1$1(_, callback, $R) { + var _this = this; + return _this.$ti._bind$1($R)._eval$1("1(2,3,4)")._as(callback).call$3(_this.first, _this.second, _this.third); }, - get$strand_part: function() { - return this.domain; + map$1($receiver, callback) { + return this.map$1$1($receiver, callback, type$.dynamic); }, - clone_for_other_domain$1: function(other_domain) { - var t2, - t1 = other_domain.insertions; - t1.toString; - t2 = t1.$ti; - return U.InsertionLengthChange_InsertionLengthChange(other_domain, J.firstWhere$2$orElse$ax(t1._list, t2._eval$1("bool(1)")._as(new U.InsertionLengthChange_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null)), this.length); + get$hashCode(_) { + return A.Object_hash(this.first, this.second, this.third, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - short_description$0: function() { - return "change insertion length"; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return _this.$ti._is(other) && J.$eq$(_this.first, other.first) && J.$eq$(_this.second, other.second) && J.$eq$(_this.third, other.third); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1, - $isInsertionOrDeletionAction: 1 + toString$0(_) { + var _this = this; + return _this.super$Object$toString(0) + "(" + A.S(_this.first) + ", " + A.S(_this.second) + ", " + A.S(_this.third) + ")"; + } }; - U.InsertionLengthChange_clone_for_other_domain_closure.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset === this.$this.insertion.offset; + A.ParserSequenceExtension3_map3_closure.prototype = { + call$1(sequence) { + var _this = this; + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._eval$1("Sequence3<1,2,3>")._as(sequence); + sequence.toString; + return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3,4)")._as(_this.callback).call$3(sequence.first, sequence.second, sequence.third); }, - $signature: 29 - }; - U.InsertionLengthChange_InsertionLengthChange_closure.prototype = { - call$1: function(b) { - var t1 = b.get$domain(b), - t2 = this.domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - t1 = b.get$insertion(); - t2 = this.insertion; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - b.get$_$this()._actions$_length = this.length; - b.get$_$this()._all_helices = false; - return b; + $signature() { + var _this = this; + return _this.R._eval$1("@<0>")._bind$1(_this.T1)._bind$1(_this.T2)._bind$1(_this.T3)._eval$1("1(Sequence3<2,3,4>)"); + } + }; + A.SequenceParser4.prototype = { + parseOn$1(context) { + var t1, t2, t3, result2, result3, result4, _this = this, + result1 = _this.parser1.parseOn$1(context); + if (result1.get$isFailure()) { + t1 = result1.get$message(result1); + t2 = result1.buffer; + t3 = result1.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result2 = _this.parser2.parseOn$1(result1); + if (result2.get$isFailure()) { + t1 = result2.get$message(result2); + t2 = result2.buffer; + t3 = result2.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result3 = _this.parser3.parseOn$1(result2); + if (result3.get$isFailure()) { + t1 = result3.get$message(result3); + t2 = result3.buffer; + t3 = result3.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result4 = _this.parser4.parseOn$1(result3); + if (result4.get$isFailure()) { + t1 = result4.get$message(result4); + t2 = result4.buffer; + t3 = result4.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + t1 = _this.$ti; + result3 = t1._eval$1("Sequence4<1,2,3,4>")._as(new A.Sequence4(result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), result4.get$value(result4), t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(t1._rest[2])._bind$1(t1._rest[3])._eval$1("Sequence4<1,2,3,4>"))); + result2 = result4.buffer; + t2 = result4.position; + return new A.Success(result3, result2, t2, t1._eval$1("Success>")); }, - $signature: 200 - }; - U.InsertionsLengthChange.prototype = { - short_description$0: function() { - return "change insertions length"; + fastParseOn$2(buffer, position) { + var _this = this; + position = _this.parser1.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser2.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser3.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser4.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + return position; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.InsertionsLengthChange_InsertionsLengthChange_closure.prototype = { - call$1: function(b) { - b.get$insertions().replace$1(0, this.insertions); - b.get$domains().replace$1(0, this.domains); - b.get$_$this()._actions$_length = this.length; - b.get$_$this()._all_helices = false; - return b; + get$children(_) { + var _this = this; + return A._setArrayType([_this.parser1, _this.parser2, _this.parser3, _this.parser4], type$.JSArray_Parser_dynamic); }, - $signature: 201 - }; - U.DeletionAdd.prototype = { - get$strand_part: function() { - return this.domain; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.parser1, source)) + _this.set$parser1(_this.$ti._eval$1("Parser<1>")._as(target)); + if (J.$eq$(_this.parser2, source)) + _this.set$parser2(_this.$ti._eval$1("Parser<2>")._as(target)); + if (J.$eq$(_this.parser3, source)) + _this.set$parser3(_this.$ti._eval$1("Parser<3>")._as(target)); + if (J.$eq$(_this.parser4, source)) + _this.set$parser4(_this.$ti._eval$1("Parser<4>")._as(target)); }, - clone_for_other_domain$1: function(domain) { - var t1 = type$.legacy_void_Function_legacy_DeletionAddBuilder._as(new U.DeletionAdd_clone_for_other_domain_closure(domain)), - t2 = new U.DeletionAddBuilder(); - t2._$v = this; - t1.call$1(t2); - return t2.build$0(); + set$parser1(parser1) { + this.parser1 = this.$ti._eval$1("Parser<1>")._as(parser1); }, - short_description$0: function() { - return "add deletion"; + set$parser2(parser2) { + this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1, - $isInsertionOrDeletionAction: 1 - }; - U.DeletionAdd_clone_for_other_domain_closure.prototype = { - call$1: function(b) { - var t1 = b.get$domain(b), - t2 = this.domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - return b; + set$parser3(parser3) { + this.parser3 = this.$ti._eval$1("Parser<3>")._as(parser3); }, - $signature: 202 + set$parser4(parser4) { + this.parser4 = this.$ti._eval$1("Parser<4>")._as(parser4); + } }; - U.InsertionRemove.prototype = { - get$offset: function(_) { - return this.insertion.offset; - }, - get$strand_part: function() { - return this.domain; + A.Sequence4.prototype = { + map$1$1(_, callback, $R) { + var _this = this; + return _this.$ti._bind$1($R)._eval$1("1(2,3,4,5)")._as(callback).call$4(_this.first, _this.second, _this.third, _this.fourth); }, - clone_for_other_domain$1: function(other_domain) { - var t2, - t1 = other_domain.insertions; - t1.toString; - t2 = t1.$ti; - return U.InsertionRemove_InsertionRemove(other_domain, J.firstWhere$2$orElse$ax(t1._list, t2._eval$1("bool(1)")._as(new U.InsertionRemove_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null))); + map$1($receiver, callback) { + return this.map$1$1($receiver, callback, type$.dynamic); }, - short_description$0: function() { - return "remove insertion"; + get$hashCode(_) { + var _this = this; + return A.Object_hash(_this.first, _this.second, _this.third, _this.fourth, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1, - $isInsertionOrDeletionAction: 1 - }; - U.InsertionRemove_clone_for_other_domain_closure.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset === this.$this.insertion.offset; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return _this.$ti._is(other) && J.$eq$(_this.first, other.first) && J.$eq$(_this.second, other.second) && J.$eq$(_this.third, other.third) && J.$eq$(_this.fourth, other.fourth); }, - $signature: 29 + toString$0(_) { + var _this = this; + return _this.super$Object$toString(0) + "(" + A.S(_this.first) + ", " + A.S(_this.second) + ", " + A.S(_this.third) + ", " + A.S(_this.fourth) + ")"; + } }; - U.InsertionRemove_InsertionRemove_closure.prototype = { - call$1: function(b) { - var t1 = b.get$domain(b), - t2 = this.domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - t1 = b.get$insertion(); - t2 = this.insertion; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - b.get$_$this()._all_helices = false; - return b; + A.ParserSequenceExtension4_map4_closure.prototype = { + call$1(sequence) { + var _this = this; + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._eval$1("Sequence4<1,2,3,4>")._as(sequence); + sequence.toString; + return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3,4,5)")._as(_this.callback).call$4(sequence.first, sequence.second, sequence.third, sequence.fourth); }, - $signature: 203 - }; - U.DeletionRemove.prototype = { - get$strand_part: function() { - return this.domain; + $signature() { + var _this = this; + return _this.R._eval$1("@<0>")._bind$1(_this.T1)._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._eval$1("1(Sequence4<2,3,4,5>)"); + } + }; + A.SequenceParser5.prototype = { + parseOn$1(context) { + var t1, t2, t3, result2, result3, result4, result5, _this = this, + result1 = _this.parser1.parseOn$1(context); + if (result1.get$isFailure()) { + t1 = result1.get$message(result1); + t2 = result1.buffer; + t3 = result1.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result2 = _this.parser2.parseOn$1(result1); + if (result2.get$isFailure()) { + t1 = result2.get$message(result2); + t2 = result2.buffer; + t3 = result2.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result3 = _this.parser3.parseOn$1(result2); + if (result3.get$isFailure()) { + t1 = result3.get$message(result3); + t2 = result3.buffer; + t3 = result3.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result4 = _this.parser4.parseOn$1(result3); + if (result4.get$isFailure()) { + t1 = result4.get$message(result4); + t2 = result4.buffer; + t3 = result4.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result5 = _this.parser5.parseOn$1(result4); + if (result5.get$isFailure()) { + t1 = result5.get$message(result5); + t2 = result5.buffer; + t3 = result5.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + t1 = _this.$ti; + result4 = t1._eval$1("Sequence5<1,2,3,4,5>")._as(new A.Sequence5(result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), result4.get$value(result4), result5.get$value(result5), t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(t1._rest[2])._bind$1(t1._rest[3])._bind$1(t1._rest[4])._eval$1("Sequence5<1,2,3,4,5>"))); + result3 = result5.buffer; + t2 = result5.position; + return new A.Success(result4, result3, t2, t1._eval$1("Success>")); }, - clone_for_other_domain$1: function(other_domain) { - return U.DeletionRemove_DeletionRemove(other_domain, this.offset); + fastParseOn$2(buffer, position) { + var _this = this; + position = _this.parser1.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser2.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser3.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser4.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser5.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + return position; }, - short_description$0: function() { - return "remove deletion"; + get$children(_) { + var _this = this; + return A._setArrayType([_this.parser1, _this.parser2, _this.parser3, _this.parser4, _this.parser5], type$.JSArray_Parser_dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isStrandPartAction: 1, - $isInsertionOrDeletionAction: 1 - }; - U.DeletionRemove_DeletionRemove_closure.prototype = { - call$1: function(b) { - var t1 = b.get$domain(b), - t2 = this.domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - b.get$_$this()._actions$_offset = this.offset; - b.get$_$this()._all_helices = false; - return b; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.parser1, source)) + _this.set$parser1(_this.$ti._eval$1("Parser<1>")._as(target)); + if (J.$eq$(_this.parser2, source)) + _this.set$parser2(_this.$ti._eval$1("Parser<2>")._as(target)); + if (J.$eq$(_this.parser3, source)) + _this.set$parser3(_this.$ti._eval$1("Parser<3>")._as(target)); + if (J.$eq$(_this.parser4, source)) + _this.set$parser4(_this.$ti._eval$1("Parser<4>")._as(target)); + if (J.$eq$(_this.parser5, source)) + _this.set$parser5(_this.$ti._eval$1("Parser<5>")._as(target)); }, - $signature: 204 - }; - U.ScalePurificationVendorFieldsAssign.prototype = { - short_description$0: function() { - return "assign scale purification vendor fields"; + set$parser1(parser1) { + this.parser1 = this.$ti._eval$1("Parser<1>")._as(parser1); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.PlateWellVendorFieldsAssign.prototype = { - short_description$0: function() { - return "assign plate well vendor fields"; + set$parser2(parser2) { + this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.PlateWellVendorFieldsRemove.prototype = { - short_description$0: function() { - return "remove plate well vendor fields"; + set$parser3(parser3) { + this.parser3 = this.$ti._eval$1("Parser<3>")._as(parser3); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.VendorFieldsRemove.prototype = { - short_description$0: function() { - return "remove vendor fields"; + set$parser4(parser4) { + this.parser4 = this.$ti._eval$1("Parser<4>")._as(parser4); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 + set$parser5(parser5) { + this.parser5 = this.$ti._eval$1("Parser<5>")._as(parser5); + } }; - U.ModificationAdd.prototype = { - short_description$0: function() { - return "add modification"; + A.Sequence5.prototype = { + map$1$1(_, callback, $R) { + var _this = this; + return _this.$ti._bind$1($R)._eval$1("1(2,3,4,5,6)")._as(callback).call$5(_this.first, _this.second, _this.third, _this.fourth, _this.fifth); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.ModificationRemove.prototype = { - short_description$0: function() { - return "remove modification"; + map$1($receiver, callback) { + return this.map$1$1($receiver, callback, type$.dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.ModificationConnectorLengthSet.prototype = {$isAction: 1}; - U.ModificationEdit.prototype = { - short_description$0: function() { - return "edit modification"; + get$hashCode(_) { + var _this = this; + return A.Object_hash(_this.first, _this.second, _this.third, _this.fourth, _this.fifth, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.Modifications5PrimeEdit.prototype = { - short_description$0: function() { - return "edit 5' modifications"; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return _this.$ti._is(other) && J.$eq$(_this.first, other.first) && J.$eq$(_this.second, other.second) && J.$eq$(_this.third, other.third) && J.$eq$(_this.fourth, other.fourth) && J.$eq$(_this.fifth, other.fifth); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + toString$0(_) { + var _this = this; + return _this.super$Object$toString(0) + "(" + A.S(_this.first) + ", " + A.S(_this.second) + ", " + A.S(_this.third) + ", " + A.S(_this.fourth) + ", " + A.S(_this.fifth) + ")"; + } }; - U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure.prototype = { - call$1: function(b) { - var t1; - b.get$modifications().replace$1(0, this.modifications); - t1 = b.get$new_modification(); - t1._modification$_$v = this.new_modification; - return b; + A.ParserSequenceExtension5_map5_closure.prototype = { + call$1(sequence) { + var _this = this; + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._bind$1(_this.T5)._eval$1("Sequence5<1,2,3,4,5>")._as(sequence); + sequence.toString; + return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3,4,5,6)")._as(_this.callback).call$5(sequence.first, sequence.second, sequence.third, sequence.fourth, sequence.fifth); }, - $signature: 205 - }; - U.Modifications3PrimeEdit.prototype = { - short_description$0: function() { - return "edit 3' modifications"; + $signature() { + var _this = this; + return _this.R._eval$1("@<0>")._bind$1(_this.T1)._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._bind$1(_this.T5)._eval$1("1(Sequence5<2,3,4,5,6>)"); + } + }; + A.SequenceParser8.prototype = { + parseOn$1(context) { + var t1, t2, t3, result2, result3, result4, result5, result6, result7, result8, _this = this, + result1 = _this.parser1.parseOn$1(context); + if (result1.get$isFailure()) { + t1 = result1.get$message(result1); + t2 = result1.buffer; + t3 = result1.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result2 = _this.parser2.parseOn$1(result1); + if (result2.get$isFailure()) { + t1 = result2.get$message(result2); + t2 = result2.buffer; + t3 = result2.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result3 = _this.parser3.parseOn$1(result2); + if (result3.get$isFailure()) { + t1 = result3.get$message(result3); + t2 = result3.buffer; + t3 = result3.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result4 = _this.parser4.parseOn$1(result3); + if (result4.get$isFailure()) { + t1 = result4.get$message(result4); + t2 = result4.buffer; + t3 = result4.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result5 = _this.parser5.parseOn$1(result4); + if (result5.get$isFailure()) { + t1 = result5.get$message(result5); + t2 = result5.buffer; + t3 = result5.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result6 = _this.parser6.parseOn$1(result5); + if (result6.get$isFailure()) { + t1 = result6.get$message(result6); + t2 = result6.buffer; + t3 = result6.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result7 = _this.parser7.parseOn$1(result6); + if (result7.get$isFailure()) { + t1 = result7.get$message(result7); + t2 = result7.buffer; + t3 = result7.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + result8 = _this.parser8.parseOn$1(result7); + if (result8.get$isFailure()) { + t1 = result8.get$message(result8); + t2 = result8.buffer; + t3 = result8.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure>")); + } + t1 = _this.$ti; + result7 = t1._eval$1("Sequence8<1,2,3,4,5,6,7,8>")._as(new A.Sequence8(result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), result4.get$value(result4), result5.get$value(result5), result6.get$value(result6), result7.get$value(result7), result8.get$value(result8), t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(t1._rest[2])._bind$1(t1._rest[3])._bind$1(t1._rest[4])._bind$1(t1._rest[5])._bind$1(t1._rest[6])._bind$1(t1._rest[7])._eval$1("Sequence8<1,2,3,4,5,6,7,8>"))); + result6 = result8.buffer; + t2 = result8.position; + return new A.Success(result7, result6, t2, t1._eval$1("Success>")); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure.prototype = { - call$1: function(b) { - var t1; - b.get$modifications().replace$1(0, this.modifications); - t1 = b.get$new_modification(); - t1._modification$_$v = this.new_modification; - return b; + fastParseOn$2(buffer, position) { + var _this = this; + position = _this.parser1.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser2.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser3.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser4.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser5.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser6.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser7.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + position = _this.parser8.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + return position; }, - $signature: 206 - }; - U.ModificationsInternalEdit.prototype = { - short_description$0: function() { - return "edit internal modifications"; + get$children(_) { + var _this = this; + return A._setArrayType([_this.parser1, _this.parser2, _this.parser3, _this.parser4, _this.parser5, _this.parser6, _this.parser7, _this.parser8], type$.JSArray_Parser_dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.ModificationsInternalEdit_ModificationsInternalEdit_closure.prototype = { - call$1: function(b) { - var t1; - b.get$modifications().replace$1(0, this.modifications); - t1 = b.get$new_modification(); - t1._modification$_$v = this.new_modification; - return b; + replace$2(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.parser1, source)) + _this.set$parser1(_this.$ti._eval$1("Parser<1>")._as(target)); + if (J.$eq$(_this.parser2, source)) + _this.set$parser2(_this.$ti._eval$1("Parser<2>")._as(target)); + if (J.$eq$(_this.parser3, source)) + _this.set$parser3(_this.$ti._eval$1("Parser<3>")._as(target)); + if (J.$eq$(_this.parser4, source)) + _this.set$parser4(_this.$ti._eval$1("Parser<4>")._as(target)); + if (J.$eq$(_this.parser5, source)) + _this.set$parser5(_this.$ti._eval$1("Parser<5>")._as(target)); + if (J.$eq$(_this.parser6, source)) + _this.set$parser6(_this.$ti._eval$1("Parser<6>")._as(target)); + if (J.$eq$(_this.parser7, source)) + _this.set$parser7(_this.$ti._eval$1("Parser<7>")._as(target)); + if (J.$eq$(_this.parser8, source)) + _this.set$parser8(_this.$ti._eval$1("Parser<8>")._as(target)); + }, + set$parser1(parser1) { + this.parser1 = this.$ti._eval$1("Parser<1>")._as(parser1); + }, + set$parser2(parser2) { + this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); + }, + set$parser3(parser3) { + this.parser3 = this.$ti._eval$1("Parser<3>")._as(parser3); + }, + set$parser4(parser4) { + this.parser4 = this.$ti._eval$1("Parser<4>")._as(parser4); + }, + set$parser5(parser5) { + this.parser5 = this.$ti._eval$1("Parser<5>")._as(parser5); + }, + set$parser6(parser6) { + this.parser6 = this.$ti._eval$1("Parser<6>")._as(parser6); + }, + set$parser7(parser7) { + this.parser7 = this.$ti._eval$1("Parser<7>")._as(parser7); + }, + set$parser8(parser8) { + this.parser8 = this.$ti._eval$1("Parser<8>")._as(parser8); + } + }; + A.Sequence8.prototype = { + map$1$1(_, callback, $R) { + var _this = this; + return _this.$ti._bind$1($R)._eval$1("1(2,3,4,5,6,7,8,9)")._as(callback).call$8(_this.first, _this.second, _this.third, _this.fourth, _this.fifth, _this.sixth, _this.seventh, _this.eighth); }, - $signature: 207 - }; - U.GridChange.prototype = { - short_description$0: function() { - return "change grid"; + map$1($receiver, callback) { + return this.map$1$1($receiver, callback, type$.dynamic); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.GroupDisplayedChange.prototype = {$isAction: 1}; - U.GroupAdd.prototype = { - short_description$0: function() { - return "create new helix group"; + get$hashCode(_) { + var _this = this; + return A.Object_hash(_this.first, _this.second, _this.third, _this.fourth, _this.fifth, _this.sixth, _this.seventh, _this.eighth); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 - }; - U.GroupRemove.prototype = { - short_description$0: function() { - return "remove group"; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return _this.$ti._is(other) && J.$eq$(_this.first, other.first) && J.$eq$(_this.second, other.second) && J.$eq$(_this.third, other.third) && J.$eq$(_this.fourth, other.fourth) && J.$eq$(_this.fifth, other.fifth) && J.$eq$(_this.sixth, other.sixth) && J.$eq$(_this.seventh, other.seventh) && J.$eq$(_this.eighth, other.eighth); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + toString$0(_) { + var _this = this; + return _this.super$Object$toString(0) + "(" + A.S(_this.first) + ", " + A.S(_this.second) + ", " + A.S(_this.third) + ", " + A.S(_this.fourth) + ", " + A.S(_this.fifth) + ", " + A.S(_this.sixth) + ", " + A.S(_this.seventh) + ", " + A.S(_this.eighth) + ")"; + } }; - U.GroupChange.prototype = { - short_description$0: function() { - return "adjust helix group"; + A.ParserSequenceExtension8_map8_closure.prototype = { + call$1(sequence) { + var _this = this; + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._bind$1(_this.T5)._bind$1(_this.T6)._bind$1(_this.T7)._bind$1(_this.T8)._eval$1("Sequence8<1,2,3,4,5,6,7,8>")._as(sequence); + sequence.toString; + return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3,4,5,6,7,8,9)")._as(_this.callback).call$8(sequence.first, sequence.second, sequence.third, sequence.fourth, sequence.fifth, sequence.sixth, sequence.seventh, sequence.eighth); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + $signature() { + var _this = this; + return _this.R._eval$1("@<0>")._bind$1(_this.T1)._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._bind$1(_this.T5)._bind$1(_this.T6)._bind$1(_this.T7)._bind$1(_this.T8)._eval$1("1(Sequence8<2,3,4,5,6,7,8,9>)"); + } }; - U.MoveHelicesToGroup.prototype = { - short_description$0: function() { - return "move helices to group"; + A.ListParser.prototype = { + replace$2(_, source, target) { + var t1, t2, t3, i; + this.super$Parser$replace(0, source, target); + for (t1 = this.children, t2 = t1.length, t3 = this.$ti._eval$1("Parser"), i = 0; i < t2; ++i) + if (J.$eq$(t1[i], source)) + B.JSArray_methods.$indexSet(t1, i, t3._as(target)); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + get$children(receiver) { + return this.children; + } }; - U.DialogShow.prototype = {$isAction: 1}; - U.DialogHide.prototype = {$isAction: 1}; - U.ContextMenuShow.prototype = {$isAction: 1}; - U.ContextMenuHide.prototype = {$isAction: 1}; - U.StrandOrSubstrandColorPickerShow.prototype = {$isAction: 1}; - U.StrandOrSubstrandColorPickerHide.prototype = {$isAction: 1}; - U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure.prototype = { - call$1: function(b) { - return b; + A.OptionalParser.prototype = { + parseOn$1(context) { + var t1, t2, + result = this.delegate.parseOn$1(context); + if (result.get$isSuccess()) + return result; + else { + t1 = this.$ti; + t2 = t1._precomputed1._as(this.otherwise); + return new A.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); + } }, - $signature: 208 - }; - U.ScaffoldSet.prototype = { - short_description$0: function() { - return "set scaffold"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 - }; - U.StrandOrSubstrandColorSet.prototype = { - short_description$0: function() { - return "set strand or substrand color"; - }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isSingleStrandAction: 1 + fastParseOn$2(buffer, position) { + var t1, + result = this.delegate.fastParseOn$2(buffer, position); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + t1 = position; + else + t1 = result; + return t1; + } }; - U.StrandPasteKeepColorSet.prototype = {$isAction: 1}; - U.ExampleDesignsLoad.prototype = {$isAction: 1}; - U.BasePairTypeSet.prototype = {$isAction: 1}; - U.HelixPositionSet.prototype = { - short_description$0: function() { - return "set helix position"; + A.SkipParser.prototype = { + parseOn$1(context) { + var beforeContext, t1, t2, t3, resultContext, afterParser, afterContext, _this = this, + beforeParser = _this.before; + if (beforeParser != null) { + beforeContext = beforeParser.parseOn$1(context); + if (beforeContext.get$isFailure()) { + t1 = beforeContext.get$message(beforeContext); + t2 = beforeContext.buffer; + t3 = beforeContext.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure<1>")); + } + context = beforeContext; + } + resultContext = _this.delegate.parseOn$1(context); + if (resultContext.get$isFailure()) + return resultContext; + afterParser = _this.after; + if (afterParser != null) { + afterContext = afterParser.parseOn$1(resultContext); + if (afterContext.get$isFailure()) { + t1 = afterContext.get$message(afterContext); + t2 = afterContext.buffer; + t3 = afterContext.position; + return new A.Failure(t1, t2, t3, _this.$ti._eval$1("Failure<1>")); + } + context = afterContext; + } else + context = resultContext; + t1 = _this.$ti; + t2 = t1._precomputed1._as(resultContext.get$value(resultContext)); + return new A.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 - }; - U.HelixGridPositionSet.prototype = { - get$helix_idx: function() { - return this.helix.idx; + fastParseOn$2(buffer, position) { + var t1 = this.before, + position0 = t1 == null ? null : t1.fastParseOn$2(buffer, position); + position = position0 == null ? position : position0; + if (position < 0) + return -1; + position = this.delegate.fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return -1; + t1 = this.after; + position0 = t1 == null ? null : t1.fastParseOn$2(buffer, position); + if (!(position0 == null)) + position = position0; + return position; }, - short_description$0: function() { - return "set helix grid position"; + get$children(_) { + var t1 = A._setArrayType([], type$.JSArray_Parser_dynamic), + t2 = this.before; + if (t2 != null) + t1.push(t2); + t1.push(this.delegate); + t2 = this.after; + if (t2 != null) + t1.push(t2); + return t1; }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1, - $isHelixIndividualAction: 1 + replace$2(_, source, target) { + var _this = this; + _this.super$DelegateParser$replace(0, source, target); + if (J.$eq$(_this.before, source)) + _this.before = target; + if (J.$eq$(_this.after, source)) + _this.after = target; + } }; - U.HelicesPositionsSetBasedOnCrossovers.prototype = {}; - U.InlineInsertionsDeletions.prototype = { - short_description$0: function() { - return "inline insertions/deletions"; + A.EpsilonParser.prototype = { + parseOn$1(context) { + var t1 = this.$ti, + t2 = t1._precomputed1._as(this.result); + return new A.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); }, - $isAction: 1, - $isDesignChangingAction: 1, - $isSvgPngCacheInvalidatingAction: 1 + fastParseOn$2(buffer, position) { + return position; + } }; - U.DefaultCrossoverTypeForSettingHelixRollsSet.prototype = {$isAction: 1}; - U.AutofitSet.prototype = {$isAction: 1}; - U.ShowHelixCirclesMainViewSet.prototype = {$isAction: 1}; - U.ShowHelixComponentsMainViewSet.prototype = {$isAction: 1}; - U.ShowEditMenuToggle.prototype = {$isAction: 1}; - U.ShowGridCoordinatesSideViewSet.prototype = {$isAction: 1}; - U.ShowAxisArrowsSet.prototype = {$isAction: 1}; - U.ShowLoopoutExtensionLengthSet.prototype = {}; - U.LoadDnaSequenceImageUri.prototype = {$isAction: 1}; - U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure.prototype = { - call$1: function(b) { - b.get$_$this()._uri = this.uri; - b.get$_$this()._actions$_dna_sequence_png_horizontal_offset = this.dna_sequence_png_horizontal_offset; - b.get$_$this()._actions$_dna_sequence_png_vertical_offset = this.dna_sequence_png_vertical_offset; - return b; + A.NewlineParser.prototype = { + parseOn$1(context) { + var t2, + buffer = context.buffer, + position = context.position, + t1 = buffer.length; + if (position < t1) + switch (B.JSString_methods.codeUnitAt$1(buffer, position)) { + case 10: + return new A.Success("\n", buffer, position + 1, type$.Success_String); + case 13: + t2 = position + 1; + if (t2 < t1 && B.JSString_methods.codeUnitAt$1(buffer, t2) === 10) + return new A.Success("\r\n", buffer, position + 2, type$.Success_String); + else + return new A.Success("\r", buffer, t2, type$.Success_String); + } + return new A.Failure(this.message, buffer, position, type$.Failure_String); }, - $signature: 209 - }; - U.SetIsZoomAboveThreshold.prototype = {$isAction: 1}; - U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_is_zoom_above_threshold = this.is_zoom_above_threshold; - return b; + fastParseOn$2(buffer, position) { + var t2, + t1 = buffer.length; + if (position < t1) + switch (B.JSString_methods.codeUnitAt$1(buffer, position)) { + case 10: + return position + 1; + case 13: + t2 = position + 1; + return t2 < t1 && B.JSString_methods.codeUnitAt$1(buffer, t2) === 10 ? position + 2 : t2; + } + return -1; }, - $signature: 210 + get$message(receiver) { + return this.message; + } }; - U.SetExportSvgActionDelayedForPngCache.prototype = {$isAction: 1}; - U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_export_svg_action_delayed_for_png_cache = this.export_svg_action_delayed_for_png_cache; - return b; + A.AnyCharacterParser.prototype = { + parseOn$1(context) { + var buffer = context.buffer, + position = context.position, + t1 = buffer.length; + if (position < t1) { + if (!(position >= 0)) + return A.ioore(buffer, position); + t1 = buffer[position]; + t1 = new A.Success(t1, buffer, position + 1, type$.Success_String); + } else + t1 = new A.Failure(this.message, buffer, position, type$.Failure_String); + return t1; }, - $signature: 211 - }; - U.ShowBasePairLinesSet.prototype = {$isAction: 1}; - U.ShowBasePairLinesWithMismatchesSet.prototype = {$isAction: 1}; - U.ShowSliceBarSet.prototype = {$isAction: 1}; - U.ShowSliceBarSet_ShowSliceBarSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._show = this.show; - return b; + fastParseOn$2(buffer, position) { + return position < buffer.length ? position + 1 : -1; }, - $signature: 212 + get$message(receiver) { + return this.message; + } }; - U.SliceBarOffsetSet.prototype = {$isAction: 1}; - U.SliceBarOffsetSet_SliceBarOffsetSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_offset = this.offset; - return b; + A.SingleCharacterParser.prototype = { + parseOn$1(context) { + var buffer = context.buffer, + position = context.position, + t1 = buffer.length; + if (position < t1 && this.predicate.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) { + if (!(position >= 0 && position < t1)) + return A.ioore(buffer, position); + t1 = buffer[position]; + return new A.Success(t1, buffer, position + 1, type$.Success_String); + } + return new A.Failure(this.message, buffer, position, type$.Failure_String); }, - $signature: 213 - }; - U.DisablePngCachingDnaSequencesSet.prototype = {$isAction: 1}; - U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_disable_png_caching_dna_sequences = this.disable_png_caching_dna_sequences; - return b; + fastParseOn$2(buffer, position) { + return position < buffer.length && this.predicate.test$1(B.JSString_methods.codeUnitAt$1(buffer, position)) ? position + 1 : -1; }, - $signature: 214 - }; - U.RetainStrandColorOnSelectionSet.prototype = {$isAction: 1}; - U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_retain_strand_color_on_selection = this.retain_strand_color_on_selection; - return b; + toString$0(_) { + return this.super$Object$toString(0) + "[" + this.message + "]"; }, - $signature: 215 + get$message(receiver) { + return this.message; + } }; - U.DisplayReverseDNARightSideUpSet.prototype = {$isAction: 1}; - U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure.prototype = { - call$1: function(b) { - b.get$_$this()._actions$_display_reverse_DNA_right_side_up = this.display_reverse_DNA_right_side_up; - return b; + A.PredicateParser.prototype = { + parseOn$1(context) { + var result, + start = context.position, + $stop = start + this.length, + t1 = context.buffer; + if ($stop <= t1.length) { + result = B.JSString_methods.substring$2(t1, start, $stop); + if (A.boolConversionCheck(this.predicate.call$1(result))) + return new A.Success(result, t1, $stop, type$.Success_String); + } + return new A.Failure(this.message, t1, start, type$.Failure_String); }, - $signature: 216 - }; - U.SliceBarMoveStart.prototype = {$isAction: 1}; - U.SliceBarMoveStop.prototype = {$isAction: 1}; - U.Autostaple.prototype = {$isAction: 1}; - U.Autobreak.prototype = {$isAction: 1}; - U.Autobreak_Autobreak_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_$this()._target_length = _this.target_length; - b.get$_$this()._min_length = _this.min_length; - b.get$_$this()._max_length = _this.max_length; - b.get$_$this()._min_distance_to_xover = _this.min_distance_to_xover; - return b; + fastParseOn$2(buffer, position) { + var $stop = position + this.length; + return $stop <= buffer.length && A.boolConversionCheck(this.predicate.call$1(B.JSString_methods.substring$2(buffer, position, $stop))) ? $stop : -1; }, - $signature: 217 - }; - U.ZoomSpeedSet.prototype = {$isAction: 1}; - U.OxdnaExport.prototype = {$isAction: 1}; - U.OxdnaExport_OxdnaExport_closure.prototype = { - call$1: function(b) { - b.get$_$this()._selected_strands_only = this.selected_strands_only; - return b; + toString$0(_) { + return this.super$Object$toString(0) + "[" + this.message + "]"; }, - $signature: 218 - }; - U.OxviewExport.prototype = {$isAction: 1}; - U.OxviewExport_OxviewExport_closure.prototype = { - call$1: function(b) { - b.get$_$this()._selected_strands_only = this.selected_strands_only; - return b; + get$length(receiver) { + return this.length; }, - $signature: 219 + get$message(receiver) { + return this.message; + } }; - U.OxExportOnlySelectedStrandsSet.prototype = {$isAction: 1}; - U._$UndoSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["num_undos", serializers.serialize$2$specifiedType(type$.legacy_Undo._as(object).num_undos, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A.string_closure.prototype = { + call$1(each) { + return this.element === each; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.UndoBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "num_undos": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._num_undos = $$v.num_undos; - result._$v = null; - } - result._num_undos = t1; - break; - } + $signature: 26 + }; + A.RepeatingCharacterParser.prototype = { + parseOn$1(context) { + var t1, t2, position, count, _this = this, + buffer = context.buffer, + start = context.position, + end = buffer.length; + for (t1 = _this.min, t2 = _this.predicate, position = start, count = 0; count < t1;) { + if (position >= end || !t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + return new A.Failure(_this.message, buffer, position, type$.Failure_String); + ++position; + ++count; } - return result.build$0(); + t1 = _this.max; + while (true) { + if (!(position < end && count < t1)) + break; + if (!t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + break; + ++position; + ++count; + } + t1 = B.JSString_methods.substring$2(buffer, start, position); + return new A.Success(t1, buffer, position, type$.Success_String); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + fastParseOn$2(buffer, position) { + var t1, t2, count, + end = buffer.length; + for (t1 = this.min, t2 = this.predicate, count = 0; count < t1;) { + if (position >= end || !t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + return -1; + ++position; + ++count; + } + t1 = this.max; + while (true) { + if (!(position < end && count < t1)) + break; + if (!t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + break; + ++position; + ++count; + } + return position; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ab8; + toString$0(_) { + var _this = this, + t1 = _this.super$Object$toString(0), + t2 = _this.max; + return t1 + "[" + _this.message + ", " + _this.min + ".." + A.S(t2 === 9007199254740991 ? "*" : t2) + "]"; }, - get$wireName: function() { - return "Undo"; + get$message(receiver) { + return this.message; } }; - U._$RedoSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["num_redos", serializers.serialize$2$specifiedType(type$.legacy_Redo._as(object).num_redos, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.RedoBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "num_redos": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._num_redos = $$v.num_redos; - result._$v = null; - } - result._num_redos = t1; - break; + A.LazyRepeatingParser.prototype = { + parseOn$1(context) { + var t2, current, result, t3, t4, limiter, _this = this, + t1 = _this.$ti, + elements = A._setArrayType([], t1._eval$1("JSArray<1>")); + for (t2 = _this.min, current = context; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = result.get$message(result); + t3 = result.buffer; + t4 = result.position; + return new A.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + B.JSArray_methods.add$1(elements, result.get$value(result)); + } + for (t2 = _this.max; true; current = result) { + limiter = _this.limit.parseOn$1(current); + if (limiter.get$isSuccess()) { + t1._eval$1("List<1>")._as(elements); + return new A.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + } else { + if (elements.length >= t2) { + t2 = limiter.get$message(limiter); + t3 = limiter.buffer; + t4 = limiter.position; + return new A.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = limiter.get$message(limiter); + t3 = limiter.buffer; + t4 = limiter.position; + return new A.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + B.JSArray_methods.add$1(elements, result.get$value(result)); } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Isn; }, - get$wireName: function() { - return "Redo"; + fastParseOn$2(buffer, position) { + var t1, current, count, result, limiter, _this = this; + for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + for (t1 = _this.max; true; current = result) { + limiter = _this.limit.fastParseOn$2(buffer, current); + if (typeof limiter !== "number") + return limiter.$ge(); + if (limiter >= 0) + return current; + else { + if (count >= t1) + return -1; + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + } } }; - U._$UndoRedoClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_UndoRedoClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$UndoRedoClear(); + A.LimitedRepeatingParser.prototype = { + get$children(_) { + return A._setArrayType([this.delegate, this.limit], type$.JSArray_Parser_dynamic); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_O5Z; - }, - get$wireName: function() { - return "UndoRedoClear"; + replace$2(_, source, target) { + this.super$DelegateParser$replace(0, source, target); + if (J.$eq$(this.limit, source)) + this.limit = target; } }; - U._$BatchActionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_BatchAction._as(object); - return H.setRuntimeTypeInfo(["actions", serializers.serialize$2$specifiedType(object.actions, C.FullType_YGD), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, C.FullType_h8g)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.BatchActionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_UndoableAction, t3 = type$.List_legacy_UndoableAction, t4 = type$.ListBuilder_legacy_UndoableAction; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "actions": - t5 = result.get$_$this(); - t6 = t5._actions; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_actions(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_YGD)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } - break; - case "short_description_value": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._short_description_value = t5; - break; + A.PossessiveRepeatingParser.prototype = { + parseOn$1(context) { + var t2, current, result, t3, t4, _this = this, + t1 = _this.$ti, + elements = A._setArrayType([], t1._eval$1("JSArray<1>")); + for (t2 = _this.min, current = context; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = result.get$message(result); + t3 = result.buffer; + t4 = result.position; + return new A.Failure(t2, t3, t4, t1._eval$1("Failure>")); } + B.JSArray_methods.add$1(elements, result.get$value(result)); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_AuK; - }, - get$wireName: function() { - return "BatchAction"; - } - }; - U._$ThrottledActionFastSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ThrottledActionFast._as(object); - return H.setRuntimeTypeInfo(["action", serializers.serialize$2$specifiedType(object.action, C.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, C.FullType_2ru)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.ThrottledActionFastBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Action; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "action": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); - $$v = result._$v; - if ($$v != null) { - result._action = $$v.action; - result._interval_sec = $$v.interval_sec; - result._$v = null; - } - result._action = t2; - break; - case "interval_sec": - t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._action = $$v.action; - result._interval_sec = $$v.interval_sec; - result._$v = null; - } - result._interval_sec = t2; - break; + for (t2 = _this.max; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t1._eval$1("List<1>")._as(elements); + return new A.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); } + B.JSArray_methods.add$1(elements, result.get$value(result)); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_YLN; + t1._eval$1("List<1>")._as(elements); + return new A.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); }, - get$wireName: function() { - return "ThrottledActionFast"; + fastParseOn$2(buffer, position) { + var t1, current, count, result, _this = this; + for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + for (t1 = _this.max; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return current; + ++count; + } + return current; } }; - U._$ThrottledActionNonFastSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ThrottledActionNonFast._as(object); - return H.setRuntimeTypeInfo(["action", serializers.serialize$2$specifiedType(object.action, C.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, C.FullType_2ru)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.ThrottledActionNonFastBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Action; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "action": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); - $$v = result._$v; - if ($$v != null) { - result._action = $$v.action; - result._interval_sec = $$v.interval_sec; - result._$v = null; - } - result._action = t2; - break; - case "interval_sec": - t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._action = $$v.action; - result._interval_sec = $$v.interval_sec; - result._$v = null; - } - result._interval_sec = t2; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_yJg; - }, - get$wireName: function() { - return "ThrottledActionNonFast"; + A.RepeatingParser.prototype = { + toString$0(_) { + var t1 = this.super$Object$toString(0), + t2 = this.max; + return t1 + "[" + this.min + ".." + A.S(t2 === 9007199254740991 ? "*" : t2) + "]"; } }; - U._$LocalStorageDesignChoiceSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["choice", serializers.serialize$2$specifiedType(type$.legacy_LocalStorageDesignChoiceSet._as(object).choice, C.FullType_UeR)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.LocalStorageDesignChoiceSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_LocalStorageDesignChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "choice": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.choice; - t3 = new Y.LocalStorageDesignChoiceBuilder(); - t3._local_storage_design_choice$_$v = t2; - result._choice = t3; - result._$v = null; - } - t2 = result._choice; - if (t2 == null) - t2 = result._choice = new Y.LocalStorageDesignChoiceBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UeR)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._local_storage_design_choice$_$v = t3; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_cKo; - }, - get$wireName: function() { - return "LocalStorageDesignChoiceSet"; + A.Browser.prototype = { + get$isFirefox() { + return this === $.$get$firefox(); } }; - U._$ResetLocalStorageSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ResetLocalStorage._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$ResetLocalStorage(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Zuu; + A.Browser_getCurrentBrowser_closure.prototype = { + call$1(browser) { + var t1; + type$.Browser._as(browser); + t1 = $.Browser_navigator; + return t1 != null && A.boolConversionCheck(browser._matchesNavigator.call$1(t1)); }, - get$wireName: function() { - return "ResetLocalStorage"; - } + $signature: 316 }; - U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["clear", serializers.serialize$2$specifiedType(type$.legacy_ClearHelixSelectionWhenLoadingNewDesignSet._as(object).clear, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.Browser_getCurrentBrowser_closure0.prototype = { + call$0() { + return $.$get$Browser_UnknownBrowser(); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 317 + }; + A.Browser_UnknownBrowser_closure.prototype = { + call$1(_) { + return false; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "clear": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._clear = $$v.clear; - result._$v = null; - } - result._clear = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._clear; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(string$.ClearH, "clear")); - _$result = U._$ClearHelixSelectionWhenLoadingNewDesignSet$_(t1); - } - return result._$v = _$result; + $signature: 18 + }; + A.Browser_UnknownBrowser_closure0.prototype = { + call$1(_) { + return A.Version_Version(0, 0, 0, null); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 324 + }; + A._Chrome.prototype = {}; + A.EdgeChrome.prototype = {}; + A._Firefox.prototype = {}; + A._Safari.prototype = {}; + A._WKWebView.prototype = {}; + A._InternetExplorer.prototype = {}; + A._HtmlNavigator.prototype = {$isNavigatorProvider: 1}; + A.OperatingSystem.prototype = {}; + A.OperatingSystem_getCurrentOperatingSystem_closure.prototype = { + call$1(system) { + var t1; + type$.OperatingSystem._as(system); + t1 = $.OperatingSystem_navigator; + return t1 != null && A.boolConversionCheck(system._operating_system$_matchesNavigator.call$1(t1)); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_U05; + $signature: 343 + }; + A.OperatingSystem_getCurrentOperatingSystem_closure0.prototype = { + call$0() { + return $.$get$OperatingSystem_UnknownOS(); }, - get$wireName: function() { - return string$.ClearH; - } + $signature: 364 }; - U._$EditModeToggleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["mode", serializers.serialize$2$specifiedType(type$.legacy_EditModeToggle._as(object).mode, C.FullType_eX4)], type$.JSArray_legacy_Object); + A.OperatingSystem_UnknownOS_closure.prototype = { + call$1(_) { + return false; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 18 + }; + A.linux_closure.prototype = { + call$1($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.appVersion, "Linux"); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.EditModeToggleBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_EditModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "mode": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eX4)); - $$v = result._$v; - if ($$v != null) { - result._mode = $$v.mode; - result._$v = null; - } - result._mode = t2; - break; - } - } - return result.build$0(); + $signature: 18 + }; + A.mac_closure.prototype = { + call$1($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.appVersion, "Mac"); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 18 + }; + A.unix_closure.prototype = { + call$1($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.appVersion, "X11"); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_q7D; + $signature: 18 + }; + A.windows_closure.prototype = { + call$1($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.appVersion, "Win"); }, - get$wireName: function() { - return "EditModeToggle"; - } + $signature: 18 }; - U._$EditModesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["edit_modes", serializers.serialize$2$specifiedType(type$.legacy_EditModesSet._as(object).edit_modes, C.FullType_kiE)], type$.JSArray_legacy_Object); + A.chrome_closure.prototype = { + call$1($navigator) { + $navigator.toString; + return J.contains$1$asx(window.navigator.appVersion, "CrOS"); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 18 + }; + A.CipherParameters.prototype = {}; + A.KeyParameter.prototype = {}; + A.AESEngine.prototype = { + _subWord$1(x) { + var t1 = this._S; + return (t1[x & 255] & 255 | (t1[x >>> 8 & 255] & 255) << 8 | (t1[x >>> 16 & 255] & 255) << 16 | t1[x >>> 24 & 255] << 24) >>> 0; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, $$v, t3, t4, - result = new U.EditModesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_EditModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "edit_modes": - $$v = result._$v; - if ($$v != null) { - t3 = $$v.edit_modes; - t3.toString; - t4 = t3.$ti; - t4._eval$1("_BuiltSet<1>")._as(t3); - result.set$_actions$_edit_modes(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); - result._$v = null; - } - t3 = result._actions$_edit_modes; - if (t3 == null) { - t3 = new X.SetBuilder(null, $, null, t2); - t3.replace$1(0, C.List_empty); - result.set$_actions$_edit_modes(t3); - } - t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kiE))); - break; - } + generateWorkingKey$2(forEncryption, params) { + var keyLen, KC, t2, _length, $W, i, col0, t3, col1, col2, col3, col4, col5, rcon, rcon0, col6, col7, _this = this, + t1 = params.__KeyParameter_key_A; + t1 === $ && A.throwLateFieldNI("key"); + keyLen = t1.length; + if (keyLen < 16 || keyLen > 32 || (keyLen & 7) !== 0) + throw A.wrapException(A.ArgumentError$("Key length not 128/192/256 bits.", null)); + KC = keyLen >>> 2; + t2 = KC + 6; + _this._ROUNDS = t2; + _length = t2 + 1; + $W = J.JSArray_JSArray$allocateGrowable(_length, type$.List_int); + for (t2 = type$.int, i = 0; i < _length; ++i) + $W[i] = A.List_List$filled(4, 0, false, t2); + switch (KC) { + case 4: + col0 = A.unpack32(t1, 0, B.C_Endian); + t2 = $W.length; + if (0 >= t2) + return A.ioore($W, 0); + t3 = $W[0]; + B.JSArray_methods.$indexSet(t3, 0, col0); + col1 = A.unpack32(t1, 4, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 1, col1); + col2 = A.unpack32(t1, 8, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 2, col2); + col3 = A.unpack32(t1, 12, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 3, col3); + for (t1 = _this._rcon, i = 1; i <= 10; ++i) { + col0 = (col0 ^ _this._subWord$1((col3 >>> 8 | (col3 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ t1[i - 1]) >>> 0; + if (!(i < t2)) + return A.ioore($W, i); + t3 = $W[i]; + B.JSArray_methods.$indexSet(t3, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t3, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t3, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t3, 3, col3); + } + break; + case 6: + col0 = A.unpack32(t1, 0, B.C_Endian); + t2 = $W.length; + if (0 >= t2) + return A.ioore($W, 0); + t3 = $W[0]; + B.JSArray_methods.$indexSet(t3, 0, col0); + col1 = A.unpack32(t1, 4, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 1, col1); + col2 = A.unpack32(t1, 8, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 2, col2); + col3 = A.unpack32(t1, 12, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 3, col3); + col4 = A.unpack32(t1, 16, B.C_Endian); + col5 = A.unpack32(t1, 20, B.C_Endian); + for (i = 1, rcon = 1; true;) { + if (!(i < t2)) + return A.ioore($W, i); + t1 = $W[i]; + B.JSArray_methods.$indexSet(t1, 0, col4); + B.JSArray_methods.$indexSet(t1, 1, col5); + rcon0 = rcon << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; + B.JSArray_methods.$indexSet(t1, 2, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t1, 3, col1); + col2 = (col2 ^ col1) >>> 0; + t1 = i + 1; + if (!(t1 < t2)) + return A.ioore($W, t1); + t1 = $W[t1]; + B.JSArray_methods.$indexSet(t1, 0, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t1, 1, col3); + col4 = (col4 ^ col3) >>> 0; + B.JSArray_methods.$indexSet(t1, 2, col4); + col5 = (col5 ^ col4) >>> 0; + B.JSArray_methods.$indexSet(t1, 3, col5); + rcon = rcon0 << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon0) >>> 0; + t1 = i + 2; + if (!(t1 < t2)) + return A.ioore($W, t1); + t1 = $W[t1]; + B.JSArray_methods.$indexSet(t1, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t1, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t1, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t1, 3, col3); + i += 3; + if (i >= 13) + break; + col4 = (col4 ^ col3) >>> 0; + col5 = (col5 ^ col4) >>> 0; + } + break; + case 8: + col0 = A.unpack32(t1, 0, B.C_Endian); + t2 = $W.length; + if (0 >= t2) + return A.ioore($W, 0); + t3 = $W[0]; + B.JSArray_methods.$indexSet(t3, 0, col0); + col1 = A.unpack32(t1, 4, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 1, col1); + col2 = A.unpack32(t1, 8, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 2, col2); + col3 = A.unpack32(t1, 12, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 3, col3); + col4 = A.unpack32(t1, 16, B.C_Endian); + if (1 >= t2) + return A.ioore($W, 1); + t3 = $W[1]; + B.JSArray_methods.$indexSet(t3, 0, col4); + col5 = A.unpack32(t1, 20, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 1, col5); + col6 = A.unpack32(t1, 24, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 2, col6); + col7 = A.unpack32(t1, 28, B.C_Endian); + B.JSArray_methods.$indexSet(t3, 3, col7); + for (i = 2, rcon = 1; true; rcon = rcon0) { + rcon0 = rcon << 1; + col0 = (col0 ^ _this._subWord$1((col7 >>> 8 | (col7 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; + if (!(i < t2)) + return A.ioore($W, i); + t1 = $W[i]; + B.JSArray_methods.$indexSet(t1, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t1, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t1, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t1, 3, col3); + ++i; + if (i >= 15) + break; + col4 = (col4 ^ _this._subWord$1(col3)) >>> 0; + if (!(i < t2)) + return A.ioore($W, i); + t1 = $W[i]; + B.JSArray_methods.$indexSet(t1, 0, col4); + col5 = (col5 ^ col4) >>> 0; + B.JSArray_methods.$indexSet(t1, 1, col5); + col6 = (col6 ^ col5) >>> 0; + B.JSArray_methods.$indexSet(t1, 2, col6); + col7 = (col7 ^ col6) >>> 0; + B.JSArray_methods.$indexSet(t1, 3, col7); + ++i; + } + break; + default: + throw A.wrapException(A.StateError$("Should never get here")); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_sI7; - }, - get$wireName: function() { - return "EditModesSet"; - } - }; - U._$SelectModeToggleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["select_mode_choice", serializers.serialize$2$specifiedType(type$.legacy_SelectModeToggle._as(object).select_mode_choice, C.FullType_gg40)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + return $W; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.SelectModeToggleBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_SelectModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "select_mode_choice": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg40)); - $$v = result._$v; - if ($$v != null) { - result._select_mode_choice = $$v.select_mode_choice; - result._$v = null; - } - result._select_mode_choice = t2; - break; - } + _encryptBlock$5(input, inOff, out, outOff, KW) { + var t2, t00, t10, t20, r3, t3, t4, r, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, t16, r0, r1, r2, r30, t17, t18, t19, t21, _this = this, + C0 = A.unpack32(input, inOff, B.C_Endian), + C1 = A.unpack32(input, inOff + 4, B.C_Endian), + C2 = A.unpack32(input, inOff + 8, B.C_Endian), + C3 = A.unpack32(input, inOff + 12, B.C_Endian), + t1 = KW.length; + if (0 >= t1) + return A.ioore(KW, 0); + t2 = KW[0]; + t00 = C0 ^ t2[0]; + t10 = C1 ^ t2[1]; + t20 = C2 ^ t2[2]; + r3 = C3 ^ t2[3]; + for (t2 = _this._ROUNDS - 1, t3 = _this._T0, t4 = t3.length, r = 1; r < t2;) { + t5 = t00 & 255; + if (!(t5 < t4)) + return A.ioore(t3, t5); + t5 = t3[t5]; + t6 = t10 >>> 8 & 255; + if (!(t6 < t4)) + return A.ioore(t3, t6); + t6 = A._asIntS(t3[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + t7 = B.JSInt_methods._shrOtherPositive$1(t6, 24); + t8 = $._MASK32_HI_BITS[8]; + if (typeof t5 !== "number") + return t5.$xor(); + t9 = t20 >>> 16 & 255; + if (!(t9 < t4)) + return A.ioore(t3, t9); + t9 = A._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t11 = B.JSInt_methods._shrOtherPositive$1(t9, 16); + t12 = $._MASK32_HI_BITS[16]; + t13 = r3 >>> 24 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = A._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t14 = B.JSInt_methods._shrOtherPositive$1(t13, 8); + t15 = $._MASK32_HI_BITS[24]; + if (!(r < t1)) + return A.ioore(KW, r); + t16 = KW[r]; + r0 = t5 ^ (t7 | (t6 & t8) << 8) ^ (t11 | (t9 & t12) << 16) ^ (t14 | (t13 & t15) << 24) ^ t16[0]; + t13 = t10 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = t3[t13]; + t14 = t20 >>> 8 & 255; + if (!(t14 < t4)) + return A.ioore(t3, t14); + t14 = A._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t9 = B.JSInt_methods._shrOtherPositive$1(t14, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t11 = r3 >>> 16 & 255; + if (!(t11 < t4)) + return A.ioore(t3, t11); + t11 = A._asIntS(t3[t11]); + if (typeof t11 !== "number") + return t11.$shr(); + t6 = B.JSInt_methods._shrOtherPositive$1(t11, 16); + t7 = t00 >>> 24 & 255; + if (!(t7 < t4)) + return A.ioore(t3, t7); + t7 = A._asIntS(t3[t7]); + if (typeof t7 !== "number") + return t7.$shr(); + r1 = t13 ^ (t9 | (t14 & t8) << 8) ^ (t6 | (t11 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t16[1]; + t7 = t20 & 255; + if (!(t7 < t4)) + return A.ioore(t3, t7); + t7 = t3[t7]; + t11 = r3 >>> 8 & 255; + if (!(t11 < t4)) + return A.ioore(t3, t11); + t11 = A._asIntS(t3[t11]); + if (typeof t11 !== "number") + return t11.$shr(); + t6 = B.JSInt_methods._shrOtherPositive$1(t11, 24); + if (typeof t7 !== "number") + return t7.$xor(); + t14 = t00 >>> 16 & 255; + if (!(t14 < t4)) + return A.ioore(t3, t14); + t14 = A._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t9 = B.JSInt_methods._shrOtherPositive$1(t14, 16); + t13 = t10 >>> 24 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = A._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + r2 = t7 ^ (t6 | (t11 & t8) << 8) ^ (t9 | (t14 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t13, 8) | (t13 & t15) << 24) ^ t16[2]; + t13 = r3 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = t3[t13]; + t00 = t00 >>> 8 & 255; + if (!(t00 < t4)) + return A.ioore(t3, t00); + t00 = A._asIntS(t3[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + t14 = B.JSInt_methods._shrOtherPositive$1(t00, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t10 = t10 >>> 16 & 255; + if (!(t10 < t4)) + return A.ioore(t3, t10); + t10 = A._asIntS(t3[t10]); + if (typeof t10 !== "number") + return t10.$shr(); + t9 = B.JSInt_methods._shrOtherPositive$1(t10, 16); + t20 = t20 >>> 24 & 255; + if (!(t20 < t4)) + return A.ioore(t3, t20); + t20 = A._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + ++r; + r3 = t13 ^ (t14 | (t00 & t8) << 8) ^ (t9 | (t10 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t20, 8) | (t20 & t15) << 24) ^ t16[3]; + t16 = r0 & 255; + if (!(t16 < t4)) + return A.ioore(t3, t16); + t16 = t3[t16]; + t20 = r1 >>> 8 & 255; + if (!(t20 < t4)) + return A.ioore(t3, t20); + t20 = A._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = B.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t16 !== "number") + return t16.$xor(); + t9 = r2 >>> 16 & 255; + if (!(t9 < t4)) + return A.ioore(t3, t9); + t9 = A._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t00 = B.JSInt_methods._shrOtherPositive$1(t9, 16); + t14 = r3 >>> 24 & 255; + if (!(t14 < t4)) + return A.ioore(t3, t14); + t14 = A._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t14, 8); + if (!(r < t1)) + return A.ioore(KW, r); + t11 = KW[r]; + t00 = t16 ^ (t10 | (t20 & t8) << 8) ^ (t00 | (t9 & t12) << 16) ^ (t13 | (t14 & t15) << 24) ^ t11[0]; + t14 = r1 & 255; + if (!(t14 < t4)) + return A.ioore(t3, t14); + t14 = t3[t14]; + t13 = r2 >>> 8 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = A._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t9 = B.JSInt_methods._shrOtherPositive$1(t13, 24); + if (typeof t14 !== "number") + return t14.$xor(); + t20 = r3 >>> 16 & 255; + if (!(t20 < t4)) + return A.ioore(t3, t20); + t20 = A._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = B.JSInt_methods._shrOtherPositive$1(t20, 16); + t16 = r0 >>> 24 & 255; + if (!(t16 < t4)) + return A.ioore(t3, t16); + t16 = A._asIntS(t3[t16]); + if (typeof t16 !== "number") + return t16.$shr(); + t10 = t14 ^ (t9 | (t13 & t8) << 8) ^ (t10 | (t20 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t16, 8) | (t16 & t15) << 24) ^ t11[1]; + t16 = r2 & 255; + if (!(t16 < t4)) + return A.ioore(t3, t16); + t16 = t3[t16]; + t20 = r3 >>> 8 & 255; + if (!(t20 < t4)) + return A.ioore(t3, t20); + t20 = A._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t16 !== "number") + return t16.$xor(); + t9 = r0 >>> 16 & 255; + if (!(t9 < t4)) + return A.ioore(t3, t9); + t9 = A._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t14 = B.JSInt_methods._shrOtherPositive$1(t9, 16); + t6 = r1 >>> 24 & 255; + if (!(t6 < t4)) + return A.ioore(t3, t6); + t6 = A._asIntS(t3[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + t20 = t16 ^ (t13 | (t20 & t8) << 8) ^ (t14 | (t9 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t15) << 24) ^ t11[2]; + t6 = r3 & 255; + if (!(t6 < t4)) + return A.ioore(t3, t6); + t6 = t3[t6]; + t9 = r0 >>> 8 & 255; + if (!(t9 < t4)) + return A.ioore(t3, t9); + t9 = A._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t14 = B.JSInt_methods._shrOtherPositive$1(t9, 24); + if (typeof t6 !== "number") + return t6.$xor(); + t13 = r1 >>> 16 & 255; + if (!(t13 < t4)) + return A.ioore(t3, t13); + t13 = A._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t16 = B.JSInt_methods._shrOtherPositive$1(t13, 16); + t7 = r2 >>> 24 & 255; + if (!(t7 < t4)) + return A.ioore(t3, t7); + t7 = A._asIntS(t3[t7]); + if (typeof t7 !== "number") + return t7.$shr(); + ++r; + r3 = t6 ^ (t14 | (t9 & t8) << 8) ^ (t16 | (t13 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t11[3]; } - return result.build$0(); + t1 = t00 & 255; + if (!(t1 < t4)) + return A.ioore(t3, t1); + t1 = t3[t1]; + t2 = t10 >>> 8 & 255; + if (!(t2 < t4)) + return A.ioore(t3, t2); + t2 = A.rotr32(A._asIntS(t3[t2]), 24); + if (typeof t1 !== "number") + return t1.$xor(); + t4 = t20 >>> 16 & 255; + if (!(t4 < t3.length)) + return A.ioore(t3, t4); + t4 = A.rotr32(A._asIntS(t3[t4]), 16); + t5 = r3 >>> 24 & 255; + if (!(t5 < t3.length)) + return A.ioore(t3, t5); + t5 = A.rotr32(A._asIntS(t3[t5]), 8); + if (!(r < KW.length)) + return A.ioore(KW, r); + r0 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][0]; + t5 = t10 & 255; + t4 = t3.length; + if (!(t5 < t4)) + return A.ioore(t3, t5); + t5 = t3[t5]; + t2 = t20 >>> 8 & 255; + if (!(t2 < t4)) + return A.ioore(t3, t2); + t2 = A.rotr32(A._asIntS(t3[t2]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t4 = r3 >>> 16 & 255; + if (!(t4 < t3.length)) + return A.ioore(t3, t4); + t4 = A.rotr32(A._asIntS(t3[t4]), 16); + t1 = t00 >>> 24 & 255; + if (!(t1 < t3.length)) + return A.ioore(t3, t1); + t1 = A.rotr32(A._asIntS(t3[t1]), 8); + if (!(r < KW.length)) + return A.ioore(KW, r); + r1 = t5 ^ t2 ^ t4 ^ t1 ^ KW[r][1]; + t1 = t20 & 255; + t4 = t3.length; + if (!(t1 < t4)) + return A.ioore(t3, t1); + t1 = t3[t1]; + t2 = r3 >>> 8 & 255; + if (!(t2 < t4)) + return A.ioore(t3, t2); + t2 = A.rotr32(A._asIntS(t3[t2]), 24); + if (typeof t1 !== "number") + return t1.$xor(); + t4 = t00 >>> 16 & 255; + if (!(t4 < t3.length)) + return A.ioore(t3, t4); + t4 = A.rotr32(A._asIntS(t3[t4]), 16); + t5 = t10 >>> 24 & 255; + if (!(t5 < t3.length)) + return A.ioore(t3, t5); + t5 = A.rotr32(A._asIntS(t3[t5]), 8); + if (!(r < KW.length)) + return A.ioore(KW, r); + r2 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][2]; + t5 = r3 & 255; + t4 = t3.length; + if (!(t5 < t4)) + return A.ioore(t3, t5); + t5 = t3[t5]; + t00 = t00 >>> 8 & 255; + if (!(t00 < t4)) + return A.ioore(t3, t00); + t00 = A.rotr32(A._asIntS(t3[t00]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t10 = t10 >>> 16 & 255; + if (!(t10 < t3.length)) + return A.ioore(t3, t10); + t10 = A.rotr32(A._asIntS(t3[t10]), 16); + t20 = t20 >>> 24 & 255; + if (!(t20 < t3.length)) + return A.ioore(t3, t20); + t20 = A.rotr32(A._asIntS(t3[t20]), 8); + r3 = r + 1; + t3 = KW.length; + if (!(r < t3)) + return A.ioore(KW, r); + r30 = t5 ^ t00 ^ t10 ^ t20 ^ KW[r][3]; + t20 = _this._S; + t10 = t20[r0 & 255]; + t00 = t20[r1 >>> 8 & 255]; + t5 = _this._s; + t4 = r2 >>> 16 & 255; + t2 = t5.length; + if (!(t4 < t2)) + return A.ioore(t5, t4); + t4 = t5[t4]; + if (typeof t4 !== "number") + return t4.$and(); + t1 = r30 >>> 24 & 255; + if (!(t1 < t2)) + return A.ioore(t5, t1); + t1 = t5[t1]; + if (typeof t1 !== "number") + return t1.$shl(); + if (!(r3 < t3)) + return A.ioore(KW, r3); + t3 = KW[r3]; + t6 = t3[0]; + t7 = r1 & 255; + if (!(t7 < t2)) + return A.ioore(t5, t7); + t7 = t5[t7]; + if (typeof t7 !== "number") + return t7.$and(); + t8 = t20[r2 >>> 8 & 255]; + t9 = t20[r30 >>> 16 & 255]; + t11 = r0 >>> 24 & 255; + if (!(t11 < t2)) + return A.ioore(t5, t11); + t11 = t5[t11]; + if (typeof t11 !== "number") + return t11.$shl(); + t12 = t3[1]; + t13 = r2 & 255; + if (!(t13 < t2)) + return A.ioore(t5, t13); + t13 = t5[t13]; + if (typeof t13 !== "number") + return t13.$and(); + t14 = t20[r30 >>> 8 & 255]; + t15 = t20[r0 >>> 16 & 255]; + t16 = t20[r1 >>> 24 & 255]; + t17 = t3[2]; + t18 = r30 & 255; + if (!(t18 < t2)) + return A.ioore(t5, t18); + t18 = t5[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r0 >>> 8 & 255; + if (!(t19 < t2)) + return A.ioore(t5, t19); + t19 = t5[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t21 = r1 >>> 16 & 255; + if (!(t21 < t2)) + return A.ioore(t5, t21); + t21 = t5[t21]; + if (typeof t21 !== "number") + return t21.$and(); + t20 = t20[r2 >>> 24 & 255]; + t3 = t3[3]; + A.pack32((t10 & 255 ^ (t00 & 255) << 8 ^ (t4 & 255) << 16 ^ t1 << 24 ^ t6) >>> 0, out, outOff, B.C_Endian); + A.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, B.C_Endian); + A.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, B.C_Endian); + A.pack32((t18 & 255 ^ (t19 & 255) << 8 ^ (t21 & 255) << 16 ^ t20 << 24 ^ t3) >>> 0, out, outOff + 12, B.C_Endian); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _decryptBlock$5(input, inOff, out, outOff, KW) { + var t3, t00, t10, t20, r, r3, t4, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, r0, r1, r2, t16, t17, t18, t19, t21, _this = this, + C0 = A.unpack32(input, inOff, B.C_Endian), + C1 = A.unpack32(input, inOff + 4, B.C_Endian), + C2 = A.unpack32(input, inOff + 8, B.C_Endian), + C3 = A.unpack32(input, inOff + 12, B.C_Endian), + t1 = _this._ROUNDS, + t2 = KW.length; + if (!(t1 < t2)) + return A.ioore(KW, t1); + t3 = KW[t1]; + t00 = C0 ^ t3[0]; + t10 = C1 ^ t3[1]; + t20 = C2 ^ t3[2]; + r = t1 - 1; + r3 = C3 ^ t3[3]; + for (t1 = _this._Tinv0, t3 = t1.length; r > 1;) { + t4 = t00 & 255; + if (!(t4 < t3)) + return A.ioore(t1, t4); + t4 = t1[t4]; + t5 = r3 >>> 8 & 255; + if (!(t5 < t3)) + return A.ioore(t1, t5); + t5 = A._asIntS(t1[t5]); + if (typeof t5 !== "number") + return t5.$shr(); + t6 = B.JSInt_methods._shrOtherPositive$1(t5, 24); + t7 = $._MASK32_HI_BITS[8]; + if (typeof t4 !== "number") + return t4.$xor(); + t8 = t20 >>> 16 & 255; + if (!(t8 < t3)) + return A.ioore(t1, t8); + t8 = A._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t9 = B.JSInt_methods._shrOtherPositive$1(t8, 16); + t11 = $._MASK32_HI_BITS[16]; + t12 = t10 >>> 24 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = A._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t12, 8); + t14 = $._MASK32_HI_BITS[24]; + if (!(r < t2)) + return A.ioore(KW, r); + t15 = KW[r]; + r0 = t4 ^ (t6 | (t5 & t7) << 8) ^ (t9 | (t8 & t11) << 16) ^ (t13 | (t12 & t14) << 24) ^ t15[0]; + t12 = t10 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = t1[t12]; + t13 = t00 >>> 8 & 255; + if (!(t13 < t3)) + return A.ioore(t1, t13); + t13 = A._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t8 = B.JSInt_methods._shrOtherPositive$1(t13, 24); + if (typeof t12 !== "number") + return t12.$xor(); + t9 = r3 >>> 16 & 255; + if (!(t9 < t3)) + return A.ioore(t1, t9); + t9 = A._asIntS(t1[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t5 = B.JSInt_methods._shrOtherPositive$1(t9, 16); + t6 = t20 >>> 24 & 255; + if (!(t6 < t3)) + return A.ioore(t1, t6); + t6 = A._asIntS(t1[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + r1 = t12 ^ (t8 | (t13 & t7) << 8) ^ (t5 | (t9 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t15[1]; + t6 = t20 & 255; + if (!(t6 < t3)) + return A.ioore(t1, t6); + t6 = t1[t6]; + t9 = t10 >>> 8 & 255; + if (!(t9 < t3)) + return A.ioore(t1, t9); + t9 = A._asIntS(t1[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t5 = B.JSInt_methods._shrOtherPositive$1(t9, 24); + if (typeof t6 !== "number") + return t6.$xor(); + t13 = t00 >>> 16 & 255; + if (!(t13 < t3)) + return A.ioore(t1, t13); + t13 = A._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t8 = B.JSInt_methods._shrOtherPositive$1(t13, 16); + t12 = r3 >>> 24 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = A._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + r2 = t6 ^ (t5 | (t9 & t7) << 8) ^ (t8 | (t13 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t12, 8) | (t12 & t14) << 24) ^ t15[2]; + t12 = r3 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = t1[t12]; + t20 = t20 >>> 8 & 255; + if (!(t20 < t3)) + return A.ioore(t1, t20); + t20 = A._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t12 !== "number") + return t12.$xor(); + t10 = t10 >>> 16 & 255; + if (!(t10 < t3)) + return A.ioore(t1, t10); + t10 = A._asIntS(t1[t10]); + if (typeof t10 !== "number") + return t10.$shr(); + t8 = B.JSInt_methods._shrOtherPositive$1(t10, 16); + t00 = t00 >>> 24 & 255; + if (!(t00 < t3)) + return A.ioore(t1, t00); + t00 = A._asIntS(t1[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + --r; + r3 = t12 ^ (t13 | (t20 & t7) << 8) ^ (t8 | (t10 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t00, 8) | (t00 & t14) << 24) ^ t15[3]; + t15 = r0 & 255; + if (!(t15 < t3)) + return A.ioore(t1, t15); + t15 = t1[t15]; + t00 = r3 >>> 8 & 255; + if (!(t00 < t3)) + return A.ioore(t1, t00); + t00 = A._asIntS(t1[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + t10 = B.JSInt_methods._shrOtherPositive$1(t00, 24); + if (typeof t15 !== "number") + return t15.$xor(); + t8 = r2 >>> 16 & 255; + if (!(t8 < t3)) + return A.ioore(t1, t8); + t8 = A._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t20 = B.JSInt_methods._shrOtherPositive$1(t8, 16); + t13 = r1 >>> 24 & 255; + if (!(t13 < t3)) + return A.ioore(t1, t13); + t13 = A._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t12 = B.JSInt_methods._shrOtherPositive$1(t13, 8); + if (!(r < t2)) + return A.ioore(KW, r); + t9 = KW[r]; + t00 = t15 ^ (t10 | (t00 & t7) << 8) ^ (t20 | (t8 & t11) << 16) ^ (t12 | (t13 & t14) << 24) ^ t9[0]; + t13 = r1 & 255; + if (!(t13 < t3)) + return A.ioore(t1, t13); + t13 = t1[t13]; + t12 = r0 >>> 8 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = A._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t8 = B.JSInt_methods._shrOtherPositive$1(t12, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t20 = r3 >>> 16 & 255; + if (!(t20 < t3)) + return A.ioore(t1, t20); + t20 = A._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = B.JSInt_methods._shrOtherPositive$1(t20, 16); + t15 = r2 >>> 24 & 255; + if (!(t15 < t3)) + return A.ioore(t1, t15); + t15 = A._asIntS(t1[t15]); + if (typeof t15 !== "number") + return t15.$shr(); + t10 = t13 ^ (t8 | (t12 & t7) << 8) ^ (t10 | (t20 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t15, 8) | (t15 & t14) << 24) ^ t9[1]; + t15 = r2 & 255; + if (!(t15 < t3)) + return A.ioore(t1, t15); + t15 = t1[t15]; + t20 = r1 >>> 8 & 255; + if (!(t20 < t3)) + return A.ioore(t1, t20); + t20 = A._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t12 = B.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t15 !== "number") + return t15.$xor(); + t8 = r0 >>> 16 & 255; + if (!(t8 < t3)) + return A.ioore(t1, t8); + t8 = A._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t8, 16); + t5 = r3 >>> 24 & 255; + if (!(t5 < t3)) + return A.ioore(t1, t5); + t5 = A._asIntS(t1[t5]); + if (typeof t5 !== "number") + return t5.$shr(); + t20 = t15 ^ (t12 | (t20 & t7) << 8) ^ (t13 | (t8 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t5, 8) | (t5 & t14) << 24) ^ t9[2]; + t5 = r3 & 255; + if (!(t5 < t3)) + return A.ioore(t1, t5); + t5 = t1[t5]; + t8 = r2 >>> 8 & 255; + if (!(t8 < t3)) + return A.ioore(t1, t8); + t8 = A._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t13 = B.JSInt_methods._shrOtherPositive$1(t8, 24); + if (typeof t5 !== "number") + return t5.$xor(); + t12 = r1 >>> 16 & 255; + if (!(t12 < t3)) + return A.ioore(t1, t12); + t12 = A._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t15 = B.JSInt_methods._shrOtherPositive$1(t12, 16); + t6 = r0 >>> 24 & 255; + if (!(t6 < t3)) + return A.ioore(t1, t6); + t6 = A._asIntS(t1[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + --r; + r3 = t5 ^ (t13 | (t8 & t7) << 8) ^ (t15 | (t12 & t11) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t9[3]; + } + t2 = t00 & 255; + if (!(t2 < t3)) + return A.ioore(t1, t2); + t2 = t1[t2]; + t4 = r3 >>> 8 & 255; + if (!(t4 < t3)) + return A.ioore(t1, t4); + t4 = A.rotr32(A._asIntS(t1[t4]), 24); + if (typeof t2 !== "number") + return t2.$xor(); + t3 = t20 >>> 16 & 255; + if (!(t3 < t1.length)) + return A.ioore(t1, t3); + t3 = A.rotr32(A._asIntS(t1[t3]), 16); + t5 = t10 >>> 24 & 255; + if (!(t5 < t1.length)) + return A.ioore(t1, t5); + t5 = A.rotr32(A._asIntS(t1[t5]), 8); + if (!(r >= 0 && r < KW.length)) + return A.ioore(KW, r); + r0 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][0]; + t5 = t10 & 255; + t3 = t1.length; + if (!(t5 < t3)) + return A.ioore(t1, t5); + t5 = t1[t5]; + t4 = t00 >>> 8 & 255; + if (!(t4 < t3)) + return A.ioore(t1, t4); + t4 = A.rotr32(A._asIntS(t1[t4]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t3 = r3 >>> 16 & 255; + if (!(t3 < t1.length)) + return A.ioore(t1, t3); + t3 = A.rotr32(A._asIntS(t1[t3]), 16); + t2 = t20 >>> 24 & 255; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + t2 = A.rotr32(A._asIntS(t1[t2]), 8); + if (!(r < KW.length)) + return A.ioore(KW, r); + r1 = t5 ^ t4 ^ t3 ^ t2 ^ KW[r][1]; + t2 = t20 & 255; + t3 = t1.length; + if (!(t2 < t3)) + return A.ioore(t1, t2); + t2 = t1[t2]; + t4 = t10 >>> 8 & 255; + if (!(t4 < t3)) + return A.ioore(t1, t4); + t4 = A.rotr32(A._asIntS(t1[t4]), 24); + if (typeof t2 !== "number") + return t2.$xor(); + t3 = t00 >>> 16 & 255; + if (!(t3 < t1.length)) + return A.ioore(t1, t3); + t3 = A.rotr32(A._asIntS(t1[t3]), 16); + t5 = r3 >>> 24 & 255; + if (!(t5 < t1.length)) + return A.ioore(t1, t5); + t5 = A.rotr32(A._asIntS(t1[t5]), 8); + if (!(r < KW.length)) + return A.ioore(KW, r); + r2 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][2]; + t5 = r3 & 255; + t3 = t1.length; + if (!(t5 < t3)) + return A.ioore(t1, t5); + t5 = t1[t5]; + t20 = t20 >>> 8 & 255; + if (!(t20 < t3)) + return A.ioore(t1, t20); + t20 = A.rotr32(A._asIntS(t1[t20]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t10 = t10 >>> 16 & 255; + if (!(t10 < t1.length)) + return A.ioore(t1, t10); + t10 = A.rotr32(A._asIntS(t1[t10]), 16); + t00 = t00 >>> 24 & 255; + if (!(t00 < t1.length)) + return A.ioore(t1, t00); + t00 = A.rotr32(A._asIntS(t1[t00]), 8); + t1 = KW.length; + if (!(r < t1)) + return A.ioore(KW, r); + r3 = t5 ^ t20 ^ t10 ^ t00 ^ KW[r][3]; + t00 = _this._Si; + t10 = t00[r0 & 255]; + t20 = _this._s; + t5 = r3 >>> 8 & 255; + t3 = t20.length; + if (!(t5 < t3)) + return A.ioore(t20, t5); + t5 = t20[t5]; + if (typeof t5 !== "number") + return t5.$and(); + t4 = r2 >>> 16 & 255; + if (!(t4 < t3)) + return A.ioore(t20, t4); + t4 = t20[t4]; + if (typeof t4 !== "number") + return t4.$and(); + t2 = t00[r1 >>> 24 & 255]; + if (0 >= t1) + return A.ioore(KW, 0); + t1 = KW[0]; + t6 = t1[0]; + t7 = r1 & 255; + if (!(t7 < t3)) + return A.ioore(t20, t7); + t7 = t20[t7]; + if (typeof t7 !== "number") + return t7.$and(); + t8 = r0 >>> 8 & 255; + if (!(t8 < t3)) + return A.ioore(t20, t8); + t8 = t20[t8]; + if (typeof t8 !== "number") + return t8.$and(); + t9 = t00[r3 >>> 16 & 255]; + t11 = r2 >>> 24 & 255; + if (!(t11 < t3)) + return A.ioore(t20, t11); + t11 = t20[t11]; + if (typeof t11 !== "number") + return t11.$shl(); + t12 = t1[1]; + t13 = r2 & 255; + if (!(t13 < t3)) + return A.ioore(t20, t13); + t13 = t20[t13]; + if (typeof t13 !== "number") + return t13.$and(); + t14 = t00[r1 >>> 8 & 255]; + t15 = t00[r0 >>> 16 & 255]; + t16 = r3 >>> 24 & 255; + if (!(t16 < t3)) + return A.ioore(t20, t16); + t16 = t20[t16]; + if (typeof t16 !== "number") + return t16.$shl(); + t17 = t1[2]; + t00 = t00[r3 & 255]; + t18 = r2 >>> 8 & 255; + if (!(t18 < t3)) + return A.ioore(t20, t18); + t18 = t20[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r1 >>> 16 & 255; + if (!(t19 < t3)) + return A.ioore(t20, t19); + t19 = t20[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t21 = r0 >>> 24 & 255; + if (!(t21 < t3)) + return A.ioore(t20, t21); + t21 = t20[t21]; + if (typeof t21 !== "number") + return t21.$shl(); + t1 = t1[3]; + A.pack32((t10 & 255 ^ (t5 & 255) << 8 ^ (t4 & 255) << 16 ^ t2 << 24 ^ t6) >>> 0, out, outOff, B.C_Endian); + A.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, B.C_Endian); + A.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, B.C_Endian); + A.pack32((t00 & 255 ^ (t18 & 255) << 8 ^ (t19 & 255) << 16 ^ t21 << 24 ^ t1) >>> 0, out, outOff + 12, B.C_Endian); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ifn; + set$_WorkingKey(_WorkingKey) { + this._WorkingKey = type$.nullable_List_List_int._as(_WorkingKey); }, - get$wireName: function() { - return "SelectModeToggle"; + set$_s(_s) { + this._s = type$.List_int._as(_s); } }; - U._$SelectModesAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["modes", serializers.serialize$2$specifiedType(type$.legacy_SelectModesAdd._as(object).modes, C.FullType_AgZ)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.SelectModesAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_SelectModeChoice, t3 = type$.List_legacy_SelectModeChoice, t4 = type$.ListBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "modes": - $$v = result._$v; - if ($$v != null) { - t5 = $$v.modes; - t5.toString; - t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); - t8 = t6._eval$1("_BuiltList<1>"); - t9 = t6._eval$1("List<1>"); - if (t8._is(t5)) { - t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); - t7.set$_listOwner(t5); - } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); - t7.set$_listOwner(null); - } - result.set$_actions$_modes(t7); - result._$v = null; - } - t5 = result._actions$_modes; - if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t5.set$_listOwner(null); - result.set$_actions$_modes(t5); - } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_AgZ)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + A.SHA1Digest.prototype = { + processBlock$0() { + var t1, t2, i, t3, t4, t5, t6, t, $A, $B, $C, $D, $E, A0, idx, j, idx0; + for (t1 = this.buffer, t2 = t1.length, i = 16; i < 80; ++i) { + t3 = i - 3; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t3 = t1[t3]; + t4 = i - 8; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t4 = t1[t4]; + if (typeof t3 !== "number") + return t3.$xor(); + if (typeof t4 !== "number") + return A.iae(t4); + t5 = i - 14; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t5 = t1[t5]; + if (typeof t5 !== "number") + return A.iae(t5); + t6 = i - 16; + if (!(t6 < t2)) + return A.ioore(t1, t6); + t6 = t1[t6]; + if (typeof t6 !== "number") + return A.iae(t6); + t = t3 ^ t4 ^ t5 ^ t6; + B.JSArray_methods.$indexSet(t1, i, ((t & $._MASK32_HI_BITS[1]) << 1 | t >>> 31) >>> 0); + } + t3 = this.state; + t4 = t3.length; + if (0 >= t4) + return A.ioore(t3, 0); + $A = t3[0]; + if (1 >= t4) + return A.ioore(t3, 1); + $B = t3[1]; + if (2 >= t4) + return A.ioore(t3, 2); + $C = t3[2]; + if (3 >= t4) + return A.ioore(t3, 3); + $D = t3[3]; + if (4 >= t4) + return A.ioore(t3, 4); + $E = t3[4]; + for (A0 = $A, idx = 0, j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return A.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | ~$B & $D) >>> 0) + t5 + 1518500249 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | ~A0 & $C) >>> 0) + t6 + 1518500249 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | ~$E & $B) >>> 0) + t6 + 1518500249 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | ~$D & A0) >>> 0) + t6 + 1518500249 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | ~$C & $E) >>> 0) + t6 + 1518500249 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return A.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 1859775393 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 1859775393 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 1859775393 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 1859775393 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 1859775393 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return A.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | $B & $D | $C & $D) >>> 0) + t5 + 2400959708 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | A0 & $C | $B & $C) >>> 0) + t6 + 2400959708 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | $E & $B | A0 & $B) >>> 0) + t6 + 2400959708 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | $D & A0 | $E & A0) >>> 0) + t6 + 2400959708 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | $C & $E | $D & $E) >>> 0) + t6 + 2400959708 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return A.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 3395469782 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 3395469782 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 3395469782 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (!(idx0 < t2)) + return A.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return A.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 3395469782 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (!(idx < t2)) + return A.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return A.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 3395469782 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + B.JSArray_methods.$indexSet(t3, 0, $A + A0 >>> 0); + B.JSArray_methods.$indexSet(t3, 1, t3[1] + $B >>> 0); + B.JSArray_methods.$indexSet(t3, 2, t3[2] + $C >>> 0); + B.JSArray_methods.$indexSet(t3, 3, t3[3] + $D >>> 0); + B.JSArray_methods.$indexSet(t3, 4, t3[4] + $E >>> 0); + } + }; + A.Pbkdf2Parameters.prototype = {}; + A.PBKDF2KeyDerivator.prototype = { + deriveKey$4(inp, inpOff, out, outOff) { + var dkLen, t2, l, iBuf, outBytes, outPos, i, pos, _this = this, + t1 = _this.__PBKDF2KeyDerivator__params_A; + t1 === $ && A.throwLateFieldNI("_params"); + dkLen = t1.desiredKeyLength; + t1 = _this._pbkdf2$_mac; + t2 = t1.__HMac__digestSize_A; + t2 === $ && A.throwLateFieldNI("_digestSize"); + l = B.JSInt_methods.$tdiv(dkLen + t2 - 1, t2); + iBuf = new Uint8Array(4); + outBytes = new Uint8Array(l * t2); + t1.init$1(0, new A.KeyParameter(B.NativeUint8List_methods.sublist$1(inp, inpOff))); + for (outPos = 0, i = 1; i <= l; ++i) { + for (pos = 3; true; --pos) { + if (!(pos >= 0)) + return A.ioore(iBuf, pos); + t1 = iBuf[pos]; + if (!(pos < 4)) + return A.ioore(iBuf, pos); + iBuf[pos] = t1 + 1; + if (iBuf[pos] !== 0) break; } + t1 = _this.__PBKDF2KeyDerivator__params_A; + _this._pbkdf2$_f$5(t1.salt, t1.iterationCount, iBuf, outBytes, outPos); + outPos += t2; } - return result.build$0(); + B.NativeUint8List_methods.setRange$3(out, outOff, outOff + dkLen, outBytes); + return _this.__PBKDF2KeyDerivator__params_A.desiredKeyLength; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _pbkdf2$_f$5($S, c, iBuf, out, outOff) { + var t1, t2, t3, count, t4, t5, j, t6, t7, _this = this; + if (c <= 0) + throw A.wrapException(A.ArgumentError$("Iteration count must be at least 1.", null)); + t1 = _this._pbkdf2$_mac; + t2 = t1._digest; + t2.update$3(0, $S, 0, J.get$length$asx($S)); + t2.update$3(0, iBuf, 0, 4); + t3 = _this.__PBKDF2KeyDerivator__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + t1.doFinal$2(t3, 0); + t3 = _this.__PBKDF2KeyDerivator__state_A; + B.NativeUint8List_methods.setRange$3(out, outOff, outOff + t3.length, t3); + for (t3 = out.length, count = 1; count < c; ++count) { + t4 = _this.__PBKDF2KeyDerivator__state_A; + t2.update$3(0, t4, 0, t4.length); + t1.doFinal$2(_this.__PBKDF2KeyDerivator__state_A, 0); + for (t4 = _this.__PBKDF2KeyDerivator__state_A, t5 = t4.length, j = 0; j !== t5; ++j) { + t6 = outOff + j; + if (!(t6 < t3)) + return A.ioore(out, t6); + t7 = out[t6]; + if (!(j < t5)) + return A.ioore(t4, j); + out[t6] = t7 ^ t4[j]; + } + } + } + }; + A.HMac.prototype = { + reset$0(_) { + var t2, + t1 = this._digest; + t1.reset$0(0); + t2 = this.__HMac__inputPad_A; + t2 === $ && A.throwLateFieldNI("_inputPad"); + t1.update$3(0, t2, 0, t2.length); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ivT; + init$1(_, params) { + var t2, keyLength, t3, t4, _this = this, + _s9_ = "_inputPad", + t1 = _this._digest; + t1.reset$0(0); + t2 = params.__KeyParameter_key_A; + t2 === $ && A.throwLateFieldNI("key"); + keyLength = t2.length; + t3 = _this.__HMac__blockLength_A; + t3 === $ && A.throwLateFieldNI("_blockLength"); + if (keyLength > t3) { + t1.update$3(0, t2, 0, keyLength); + t2 = _this.__HMac__inputPad_A; + t2 === $ && A.throwLateFieldNI(_s9_); + t1.doFinal$2(t2, 0); + t2 = _this.__HMac__digestSize_A; + t2 === $ && A.throwLateFieldNI("_digestSize"); + keyLength = t2; + } else { + t4 = _this.__HMac__inputPad_A; + t4 === $ && A.throwLateFieldNI(_s9_); + B.NativeUint8List_methods.setRange$3(t4, 0, keyLength, t2); + } + t2 = _this.__HMac__inputPad_A; + t2 === $ && A.throwLateFieldNI(_s9_); + B.NativeUint8List_methods.fillRange$3(t2, keyLength, t2.length, 0); + t2 = _this.__HMac__outputBuf_A; + t2 === $ && A.throwLateFieldNI("_outputBuf"); + B.NativeUint8List_methods.setRange$3(t2, 0, t3, _this.__HMac__inputPad_A); + _this._xorPad$3(_this.__HMac__inputPad_A, t3, 54); + _this._xorPad$3(_this.__HMac__outputBuf_A, t3, 92); + t3 = _this.__HMac__inputPad_A; + t1.update$3(0, t3, 0, t3.length); + }, + doFinal$2(out, outOff) { + var t3, len, _this = this, + t1 = _this._digest, + t2 = _this.__HMac__outputBuf_A; + t2 === $ && A.throwLateFieldNI("_outputBuf"); + t3 = _this.__HMac__blockLength_A; + t3 === $ && A.throwLateFieldNI("_blockLength"); + t1.doFinal$2(t2, t3); + t2 = _this.__HMac__outputBuf_A; + t1.update$3(0, t2, 0, t2.length); + len = t1.doFinal$2(out, outOff); + t2 = _this.__HMac__outputBuf_A; + B.NativeUint8List_methods.fillRange$3(t2, t3, t2.length, 0); + t2 = _this.__HMac__inputPad_A; + t2 === $ && A.throwLateFieldNI("_inputPad"); + t1.update$3(0, t2, 0, t2.length); + return len; }, - get$wireName: function() { - return "SelectModesAdd"; + _xorPad$3(pad, len, n) { + var t1, i; + for (t1 = pad.length, i = 0; i < len; ++i) { + if (!(i < t1)) + return A.ioore(pad, i); + pad[i] = pad[i] ^ n; + } } }; - U._$SelectModesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["select_mode_choices", serializers.serialize$2$specifiedType(type$.legacy_SelectModesSet._as(object).select_mode_choices, C.FullType_2aQ)], type$.JSArray_legacy_Object); + A.BaseBlockCipher.prototype = {}; + A.BaseDigest.prototype = {$isDigest: 1}; + A.BaseKeyDerivator.prototype = {}; + A.BaseMac.prototype = {$isMac: 1}; + A.MD4FamilyDigest.prototype = { + reset$0(_) { + var t1, _this = this; + _this._byteCount.$set$1(0, 0); + _this.__MD4FamilyDigest__wordBufferOffset_A = 0; + B.NativeUint8List_methods.fillRange$3(_this._wordBuffer, 0, 4, 0); + _this.__MD4FamilyDigest_bufferOffset_A = 0; + t1 = _this.buffer; + B.JSArray_methods.fillRange$3(t1, 0, t1.length, 0); + t1 = _this.state; + B.JSArray_methods.$indexSet(t1, 0, 1732584193); + B.JSArray_methods.$indexSet(t1, 1, 4023233417); + B.JSArray_methods.$indexSet(t1, 2, 2562383102); + B.JSArray_methods.$indexSet(t1, 3, 271733878); + B.JSArray_methods.$indexSet(t1, 4, 3285377520); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + updateByte$1(inp) { + var t3, _this = this, + t1 = _this._wordBuffer, + t2 = _this.__MD4FamilyDigest__wordBufferOffset_A; + t2 === $ && A.throwLateFieldNI("_wordBufferOffset"); + t3 = t2 + 1; + _this.__MD4FamilyDigest__wordBufferOffset_A = t3; + if (!(t2 < 4)) + return A.ioore(t1, t2); + t1[t2] = inp & 255; + if (t3 === 4) { + _this._processWord$2(t1, 0); + _this.__MD4FamilyDigest__wordBufferOffset_A = 0; + } + _this._byteCount.sum$1(1); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, $$v, t3, t4, - result = new U.SelectModesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "select_mode_choices": - $$v = result._$v; - if ($$v != null) { - t3 = $$v.select_mode_choices; - t3.toString; - t4 = t3.$ti; - t4._eval$1("_BuiltSet<1>")._as(t3); - result.set$_select_mode_choices(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); - result._$v = null; - } - t3 = result._select_mode_choices; - if (t3 == null) { - t3 = new X.SetBuilder(null, $, null, t2); - t3.replace$1(0, C.List_empty); - result.set$_select_mode_choices(t3); - } - t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2aQ))); - break; - } + update$3(_, inp, inpOff, len) { + var nbytes = this._processUntilNextWord$3(inp, inpOff, len); + inpOff += nbytes; + len -= nbytes; + nbytes = this._processWholeWords$3(inp, inpOff, len); + this._processBytes$3(inp, inpOff + nbytes, len - nbytes); + }, + doFinal$2(out, outOff) { + var t2, _this = this, _s5_ = "_lo32", _s5_0 = "_hi32", + bitLength = A.Register64$(_this._byteCount), + t1 = bitLength.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI(_s5_0); + t1 = A.shiftl32(t1, 3); + bitLength.__Register64__hi32_A = t1; + t2 = bitLength.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI(_s5_); + bitLength.__Register64__hi32_A = (t1 | t2 >>> 29) >>> 0; + bitLength.__Register64__lo32_A = A.shiftl32(t2, 3); + _this._processPadding$0(); + t1 = _this.__MD4FamilyDigest_bufferOffset_A; + t1 === $ && A.throwLateFieldNI("bufferOffset"); + if (t1 > 14) + _this._doProcessBlock$0(); + t1 = _this._endian; + switch (t1) { + case B.C_Endian: + t1 = _this.buffer; + t2 = bitLength.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t1, 14, t2); + t2 = bitLength.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI(_s5_0); + B.JSArray_methods.$indexSet(t1, 15, t2); + break; + case B.C_Endian0: + t1 = _this.buffer; + t2 = bitLength.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI(_s5_0); + B.JSArray_methods.$indexSet(t1, 14, t2); + t2 = bitLength.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t1, 15, t2); + break; + default: + A.throwExpression(A.StateError$("Invalid endianness: " + t1.toString$0(0))); } - return result.build$0(); + _this._doProcessBlock$0(); + _this._packState$2(out, outOff); + _this.reset$0(0); + return 20; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _processWord$2(inp, inpOff) { + var _this = this, + t1 = _this.__MD4FamilyDigest_bufferOffset_A; + t1 === $ && A.throwLateFieldNI("bufferOffset"); + _this.__MD4FamilyDigest_bufferOffset_A = t1 + 1; + B.JSArray_methods.$indexSet(_this.buffer, t1, A.unpack32(inp, inpOff, _this._endian)); + if (_this.__MD4FamilyDigest_bufferOffset_A === 16) + _this._doProcessBlock$0(); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_gsm0; + _doProcessBlock$0() { + this.processBlock$0(); + this.__MD4FamilyDigest_bufferOffset_A = 0; + B.JSArray_methods.fillRange$3(this.buffer, 0, 16, 0); }, - get$wireName: function() { - return "SelectModesSet"; - } - }; - U._$StrandNameSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_StrandNameSet._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + _processBytes$3(inp, inpOff, len) { + var t1; + for (t1 = J.getInterceptor$asx(inp); len > 0;) { + this.updateByte$1(t1.$index(inp, inpOff)); + ++inpOff; + --len; } - return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.StrandNameSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "name": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._actions$_name = t2; - break; - case "strand": - t2 = result.get$_$this(); - t3 = t2._strand; - t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; - break; - } + _processWholeWords$3(inp, inpOff, len) { + var t1, processed; + for (t1 = this._byteCount, processed = 0; len > 4;) { + this._processWord$2(inp, inpOff); + inpOff += 4; + len -= 4; + t1.sum$1(4); + processed += 4; } - return result.build$0(); + return processed; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _processUntilNextWord$3(inp, inpOff, len) { + var t2, + t1 = J.getInterceptor$asx(inp), + processed = 0; + while (true) { + t2 = this.__MD4FamilyDigest__wordBufferOffset_A; + t2 === $ && A.throwLateFieldNI("_wordBufferOffset"); + if (!(t2 !== 0 && len > 0)) + break; + this.updateByte$1(t1.$index(inp, inpOff)); + ++inpOff; + --len; + ++processed; + } + return processed; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ZYL; + _processPadding$0() { + this.updateByte$1(128); + while (true) { + var t1 = this.__MD4FamilyDigest__wordBufferOffset_A; + t1 === $ && A.throwLateFieldNI("_wordBufferOffset"); + if (!(t1 !== 0)) + break; + this.updateByte$1(0); + } }, - get$wireName: function() { - return "StrandNameSet"; + _packState$2(out, outOff) { + var t1, t2, t3, t4, t5, i, t6, out0; + for (t1 = this._packedStateSize, t2 = out.length, t3 = this.state, t4 = t3.length, t5 = this._endian, i = 0; i < t1; ++i) { + if (!(i < t4)) + return A.ioore(t3, i); + t6 = t3[i]; + out0 = B.NativeByteBuffer_methods.asByteData$2(out.buffer, out.byteOffset, t2); + B.NativeByteData_methods.setUint32$3(out0, outOff + i * 4, t6, t5); + } } }; - U._$StrandLabelSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_StrandLabelSet._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + A.NodeCrypto.prototype = {}; + A.Register64.prototype = { + $eq(_, y) { + var t1, t2; + if (y == null) + return false; + if (y instanceof A.Register64) { + t1 = this.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + t2 = y.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI("_hi32"); + if (t1 === t2) { + t1 = this.__Register64__lo32_A; + t1 === $ && A.throwLateFieldNI("_lo32"); + t2 = y.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + t2 = t1 === t2; + t1 = t2; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + $set$2(_, hiOrLo32OrY, lo32) { + var t1, _this = this; + if (hiOrLo32OrY instanceof A.Register64) { + t1 = hiOrLo32OrY.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + _this.__Register64__hi32_A = t1; + t1 = hiOrLo32OrY.__Register64__lo32_A; + t1 === $ && A.throwLateFieldNI("_lo32"); + _this.__Register64__lo32_A = t1; + } else { + _this.__Register64__hi32_A = 0; + _this.__Register64__lo32_A = A._asIntS(hiOrLo32OrY); } - return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $set$1($receiver, hiOrLo32OrY) { + return this.$set$2($receiver, hiOrLo32OrY, null); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.StrandLabelSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._actions$_label = t2; - break; - case "strand": - t2 = result.get$_$this(); - t3 = t2._strand; - t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; - break; - } + sum$1(y) { + var slo32, _this = this, + t1 = _this.__Register64__lo32_A; + t1 === $ && A.throwLateFieldNI("_lo32"); + slo32 = t1 + y; + t1 = slo32 >>> 0; + _this.__Register64__lo32_A = t1; + if (slo32 !== t1) { + t1 = _this.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + ++t1; + _this.__Register64__hi32_A = t1; + _this.__Register64__hi32_A = t1 >>> 0; } - return result.build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + toString$0(_) { + var _this = this, + sb = new A.StringBuffer(""), + t1 = _this.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + _this._padWrite$2(sb, t1); + t1 = _this.__Register64__lo32_A; + t1 === $ && A.throwLateFieldNI("_lo32"); + _this._padWrite$2(sb, t1); + t1 = sb._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_69P; + _padWrite$2(sb, value) { + var i, + str = B.JSInt_methods.toRadixString$1(value, 16); + for (i = 8 - str.length; i > 0; --i) + sb._contents += "0"; + sb._contents += str; }, - get$wireName: function() { - return "StrandLabelSet"; + get$hashCode(_) { + return A.Object.prototype.get$hashCode.call(this, this); } }; - U._$SubstrandNameSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_SubstrandNameSet._as(object); - result = H.setRuntimeTypeInfo(["substrand", serializers.serialize$2$specifiedType(object.substrand, C.FullType_S4t)], type$.JSArray_legacy_Object); - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.Version0.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return other instanceof A.Version0 && _this.major === other.major && _this.minor === other.minor && _this.patch === other.patch && A.boolConversionCheck(B.IterableEquality_DefaultEquality.equals$2(_this.preRelease, other.preRelease)) && A.boolConversionCheck(B.IterableEquality_DefaultEquality.equals$2(_this.build, other.build)); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$hashCode(_) { + var _this = this; + return (_this.major ^ _this.minor ^ _this.patch ^ B.IterableEquality_DefaultEquality.hash$1(0, _this.preRelease) ^ B.IterableEquality_DefaultEquality.hash$1(0, _this.build)) >>> 0; + }, + compareTo$1(_, other) { + var t1, t2, t3, comparison, _this = this; + type$.VersionRange._as(other); + if (other instanceof A.Version0) { + t1 = _this.major; + t2 = other.major; + if (t1 !== t2) + return B.JSInt_methods.compareTo$1(t1, t2); + t1 = _this.minor; + t2 = other.minor; + if (t1 !== t2) + return B.JSInt_methods.compareTo$1(t1, t2); + t1 = _this.patch; + t2 = other.patch; + if (t1 !== t2) + return B.JSInt_methods.compareTo$1(t1, t2); + t1 = _this.preRelease; + t2 = t1.length === 0; + if (t2 && other.preRelease.length !== 0) + return 1; + t3 = other.preRelease; + if (t3.length === 0 && !t2) + return -1; + comparison = _this._compareLists$2(t1, t3); + if (comparison !== 0) + return comparison; + t1 = _this.build; + t2 = t1.length === 0; + if (t2 && other.build.length !== 0) + return -1; + t3 = other.build; + if (t3.length === 0 && !t2) + return 1; + return _this._compareLists$2(t1, t3); + } else + return -other.compareTo$1(0, _this); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.SubstrandNameSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Substrand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "name": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._actions$_name = $$v.name; - result._substrand = $$v.substrand; - result._$v = null; - } - result._actions$_name = t2; - break; - case "substrand": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); - $$v = result._$v; - if ($$v != null) { - result._actions$_name = $$v.name; - result._substrand = $$v.substrand; - result._$v = null; - } - result._substrand = t2; - break; + toString$0(_) { + return this._text; + }, + _compareLists$2(a, b) { + var i, t1, t2, aPart, bPart; + for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) { + aPart = i < t1 ? a[i] : null; + bPart = i < t2 ? b[i] : null; + if (J.$eq$(aPart, bPart)) + continue; + if (aPart == null) + return -1; + if (bPart == null) + return 1; + if (typeof aPart == "number") + if (typeof bPart == "number") + return B.JSNumber_methods.compareTo$1(aPart, bPart); + else + return -1; + else if (typeof bPart == "number") + return 1; + else { + A._asStringS(aPart); + A._asStringS(bPart); + if (aPart === bPart) + t1 = 0; + else + t1 = aPart < bPart ? -1 : 1; + return t1; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_name; - t2 = result.get$_$this()._substrand; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandNameSet", "substrand")); - _$result = U._$SubstrandNameSet$_(t1, t2); - } - return result._$v = _$result; + return 0; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isComparable: 1, + $isVersionRange: 1 + }; + A.Version__splitParts_closure.prototype = { + call$1(part) { + var t1; + A._asStringS(part); + t1 = A.Primitives_parseInt(part, null); + return t1 == null ? part : t1; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Ol2; + $signature: 367 + }; + A.zip_closure.prototype = { + call$1(e) { + return J.get$iterator$ax(this.T._eval$1("Iterable<0>")._as(e)); }, - get$wireName: function() { - return "SubstrandNameSet"; + $signature() { + return this.T._eval$1("Iterator<0>(Iterable<0>)"); } }; - U._$SubstrandLabelSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_SubstrandLabelSet._as(object); - result = H.setRuntimeTypeInfo(["substrand", serializers.serialize$2$specifiedType(object.substrand, C.FullType_S4t)], type$.JSArray_legacy_Object); - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.zip_closure0.prototype = { + call$1(e) { + return this.T._eval$1("Iterator<0>")._as(e).moveNext$0(); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature() { + return this.T._eval$1("bool(Iterator<0>)"); + } + }; + A.zip_closure1.prototype = { + call$1(e) { + this.T._eval$1("Iterator<0>")._as(e); + return e.get$current(e); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.SubstrandLabelSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Substrand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._actions$_label = $$v.label; - result._substrand = $$v.substrand; - result._$v = null; - } - result._actions$_label = t2; - break; - case "substrand": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); - $$v = result._$v; - if ($$v != null) { - result._actions$_label = $$v.label; - result._substrand = $$v.substrand; - result._$v = null; - } - result._substrand = t2; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_label; - t2 = result.get$_$this()._substrand; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandLabelSet", "substrand")); - _$result = U._$SubstrandLabelSet$_(t1, t2); - } - return result._$v = _$result; + $signature() { + return this.T._eval$1("0(Iterator<0>)"); + } + }; + A.Component2.prototype = { + get$contextType() { + return null; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$defaultProps(_) { + return B.Map_empty; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ucM; + get$initialState() { + return B.Map_empty; }, - get$wireName: function() { - return "SubstrandLabelSet"; - } - }; - U._$SetAppUIStateStorableSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["storables", serializers.serialize$2$specifiedType(type$.legacy_SetAppUIStateStorable._as(object).storables, C.FullType_wEo)], type$.JSArray_legacy_Object); + get$props(_) { + var t1 = this.__Component2_props_A; + t1 === $ && A.throwLateFieldNI("props"); + return t1; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + set$props(_, value) { + this.__Component2_props_A = value; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.SetAppUIStateStorableBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_AppUIStateStorables; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "storables": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.storables; - t2.toString; - t3 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t3); - t3._app_ui_state_storables$_$v = t2; - result._actions$_storables = t3; - result._$v = null; - } - t2 = result._actions$_storables; - if (t2 == null) { - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - result._actions$_storables = t2; - } - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEo)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._app_ui_state_storables$_$v = t3; - break; - } - } - return result.build$0(); + get$state(_) { + var t1 = this.__Component2_state_A; + t1 === $ && A.throwLateFieldNI("state"); + return t1; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + set$state(_, value) { + this.__Component2_state_A = value; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_mOq; + get$jsThis() { + var t1 = this.__Component2_jsThis_A; + t1 === $ && A.throwLateFieldNI("jsThis"); + return t1; }, - get$wireName: function() { - return "SetAppUIStateStorable"; - } - }; - U._$ShowDNASetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDNASet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + get$displayName(_) { + return null; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + setState$1(_, newState) { + var t1 = $.$get$Component2Bridge_bridgeForComponent(); + t1.toString; + A.Expando__checkType(this); + t1._jsWeakMap.get(this).setState$3(0, this, newState, null); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowDNASetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + componentDidMount$0() { }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + getDerivedStateFromProps$2(nextProps, prevState) { + return null; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Yap; + shouldComponentUpdate$2(nextProps, nextState) { + return true; }, - get$wireName: function() { - return "ShowDNASet"; - } - }; - U._$ShowDomainNamesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainNamesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + componentDidUpdate$3(prevProps, prevState, snapshot) { }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + componentWillUnmount$0() { }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowDomainNamesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + componentDidCatch$2(error, info) { }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Au4; + getDerivedStateFromError$1(error) { + return null; }, - get$wireName: function() { - return "ShowDomainNamesSet"; - } + $isComponent: 1 }; - U._$ShowStrandNamesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowStrandNamesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.ReactComponentFactoryProxy.prototype = { + call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17) { + var childArguments, t1, t2, t3; + type$.Map_dynamic_dynamic._as(props); + if (c1 === B.C_NotSpecified0) + childArguments = B.List_empty; + else if (c2 === B.C_NotSpecified0) + childArguments = [c1]; + else if (c3 === B.C_NotSpecified0) + childArguments = [c1, c2]; + else if (c4 === B.C_NotSpecified0) + childArguments = [c1, c2, c3]; + else if (c5 === B.C_NotSpecified0) + childArguments = [c1, c2, c3, c4]; + else if (c6 === B.C_NotSpecified0) + childArguments = [c1, c2, c3, c4, c5]; + else if (c7 === B.C_NotSpecified0) + childArguments = [c1, c2, c3, c4, c5, c6]; + else { + t1 = [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0]; + t2 = A._arrayInstanceType(t1); + t3 = t2._eval$1("TakeWhileIterable<1>"); + childArguments = A.List_List$of(new A.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new A.ReactComponentFactoryProxy_call_closure()), t3), true, t3._eval$1("Iterable.E")); + } + return this.build$2(props, childArguments); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + call$1(props) { + return this.call$18(props, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowStrandNamesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + call$2(props, c1) { + return this.call$18(props, c1, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + call$3(props, c1, c2) { + return this.call$18(props, c1, c2, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_dmq; + call$4(props, c1, c2, c3) { + return this.call$18(props, c1, c2, c3, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - get$wireName: function() { - return "ShowStrandNamesSet"; - } - }; - U._$ShowStrandLabelsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowStrandLabelsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + call$8(props, c1, c2, c3, c4, c5, c6, c7) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + call$7(props, c1, c2, c3, c4, c5, c6) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowStrandLabelsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + call$12(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + call$16(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, B.C_NotSpecified0, B.C_NotSpecified0); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Nw8; + call$10(props, c1, c2, c3, c4, c5, c6, c7, c8, c9) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); }, - get$wireName: function() { - return "ShowStrandLabelsSet"; + call$15(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); + }, + call$5(props, c1, c2, c3, c4) { + return this.call$18(props, c1, c2, c3, c4, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0, B.C_NotSpecified0); } }; - U._$ShowDomainLabelsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainLabelsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.ReactComponentFactoryProxy_call_closure.prototype = { + call$1(child) { + return child !== B.C_NotSpecified0; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 36 + }; + A.NotSpecified0.prototype = {}; + A.registerComponent2_closure.prototype = { + call$0() { + return A.component_registration__registerComponent2$closure(); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowDomainLabelsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } + $signature: 378 + }; + A.Component2Bridge.prototype = {}; + A.Component2BridgeImpl.prototype = { + setState$3(_, component, newState, callback) { + var firstArg, t1; + type$.nullable_dynamic_Function._as(callback); + firstArg = A.jsBackingMapOrJsCopy(newState); + t1 = component.__Component2_jsThis_A; + t1 === $ && A.throwLateFieldNI("jsThis"); + J.setState$1$x(t1, firstArg); + } + }; + A._JsError.prototype = {}; + A.JsBackedMapComponentFactoryMixin.prototype = { + build$2(props, childrenArgs) { + var children = A.generateChildren(childrenArgs, true); + return self.React.createElement(this.reactClass, A.generateJsProps(props, B.List_empty0, true, false), children); + } + }; + A.ReactDartComponentFactoryProxy2.prototype = { + get$type(_) { + return this.reactClass; + } + }; + A.ReactJsContextComponentFactoryProxy.prototype = { + build$2(props, childrenArgs) { + var t1, propsForJs, t2, + children = A.generateChildren(childrenArgs, false); + if (this.isConsumer) { + t1 = type$.Function; + if (t1._is(children)) + children = A.allowInterop(new A.ReactJsContextComponentFactoryProxy_build_closure(children), t1); + } + propsForJs = A.JsBackedMap_JsBackedMap$from(props); + if (this.isProvider) { + t1 = propsForJs.jsObject; + t2 = A.ContextHelpers_jsifyNewContext(A.DartValueWrapper_unwrapIfNeeded(t1.value)); + t1.value = A.DartValueWrapper_wrapIfNeeded(t2); } - return result.build$0(); + return self.React.createElement(this.ReactJsContextComponentFactoryProxy_type, propsForJs.jsObject, children); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$type(receiver) { + return this.ReactJsContextComponentFactoryProxy_type; + } + }; + A.ReactJsContextComponentFactoryProxy_build_closure.prototype = { + call$1(args) { + return this.contextCallback.call$1(A.ContextHelpers_unjsifyNewContext(args)); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_xTV; + $signature: 12 + }; + A.ReactJsComponentFactoryProxy.prototype = { + ReactJsComponentFactoryProxy$4$additionalRefPropKeys$alwaysReturnChildrenAsList$shouldConvertDomProps(jsClass, additionalRefPropKeys, alwaysReturnChildrenAsList, shouldConvertDomProps) { + A.ArgumentError_checkNotNull(jsClass, "jsClass", type$.ReactClass); }, - get$wireName: function() { - return "ShowDomainLabelsSet"; + build$2(props, childrenArgs) { + var children = A.generateChildren(childrenArgs, false), + convertedProps = A.generateJsProps(props, B.List_empty0, false, true); + return self.React.createElement(this.get$type(this), convertedProps, children); + }, + get$type(receiver) { + return this.type; } }; - U._$ShowModificationsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowModificationsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.ReactDomComponentFactoryProxy.prototype = { + get$type(_) { + return this.name; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + build$2(props, childrenArgs) { + var children = A.generateChildren(childrenArgs, false); + return self.React.createElement(this.name, A.generateJsProps(props, B.List_empty0, false, true), children); + } + }; + A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin.prototype = {}; + A.JsBackedMap.prototype = { + get$_js_backed_map$_values() { + return J.map$1$1$ax(self.Object.keys(this.jsObject), new A.JsBackedMap__values_closure(this), type$.dynamic).toList$0(0); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowModificationsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $index(_, key) { + var t1 = key == null ? "null" : key; + return A.DartValueWrapper_unwrapIfNeeded(this.jsObject[t1]); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $indexSet(_, key, value) { + var t1 = key == null ? "null" : key; + this.jsObject[t1] = A.DartValueWrapper_wrapIfNeeded(value); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_urY; + get$keys(_) { + return self.Object.keys(this.jsObject); }, - get$wireName: function() { - return "ShowModificationsSet"; - } - }; - U._$DomainNameFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_DomainNameFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + remove$1(_, key) { + var t1 = this.jsObject, + t2 = key == null ? "null" : key, + value = A.DartValueWrapper_unwrapIfNeeded(t1[t2]); + self.Reflect.deleteProperty(t1, key); + return value; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + addAll$1(_, other) { + if (other instanceof A.JsBackedMap) + self.Object.assign(this.jsObject, other.jsObject); + else + this.super$MapMixin$addAll(this, other); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.DomainNameFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainNameFontSizeSet", "font_size")); - _$result = U._$DomainNameFontSizeSet$_(t1); - } - return result._$v = _$result; + containsKey$1(_, key) { + var t1 = key == null ? "null" : key; + return t1 in this.jsObject; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$values(_) { + return this.get$_js_backed_map$_values(); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_cIf; + $eq(_, other) { + var t1, t2; + if (other == null) + return false; + if (other instanceof A.JsBackedMap) { + t1 = other.jsObject; + t2 = this.jsObject; + t2 = t1 == null ? t2 == null : t1 === t2; + t1 = t2; + } else + t1 = false; + return t1; }, - get$wireName: function() { - return "DomainNameFontSizeSet"; + get$hashCode(_) { + var t1, exception; + try { + t1 = J.get$hashCode$(this.jsObject); + return t1; + } catch (exception) { + } + return 0; } }; - U._$DomainLabelFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_DomainLabelFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A.JsBackedMap__values_closure.prototype = { + call$1(key) { + var t1 = key == null ? "null" : key; + return A.DartValueWrapper_unwrapIfNeeded(this.$this.jsObject[t1]); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.DomainLabelFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; + $signature: 12 + }; + A.JsMap.prototype = {}; + A._Object.prototype = {}; + A._Reflect.prototype = {}; + A._convertDataTree__convert.prototype = { + call$1(o) { + var convertedMap, t2, key, t3, convertedList, convertedFunction, + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (type$.Map_dynamic_dynamic._is(o)) { + convertedMap = {}; + t1.$indexSet(0, o, convertedMap); + for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { + key = t2.get$current(t2); + t3 = key == null ? "null" : key; + convertedMap[t3] = this.call$1(t1.$index(o, key)); } + return convertedMap; + } else if (type$.Iterable_dynamic._is(o)) { + convertedList = []; + t1.$indexSet(0, o, convertedList); + B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); + return convertedList; + } else { + t2 = type$.Function; + if (t2._is(o)) { + convertedFunction = A.allowInterop(o, t2); + t1.$indexSet(0, o, convertedFunction); + return convertedFunction; + } else + return o; } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DomainLabelFontSizeSet", "font_size")); - _$result = U._$DomainLabelFontSizeSet$_(t1); - } - return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 12 + }; + A.React.prototype = {}; + A.Ref.prototype = { + get$current(_) { + var dartCurrent, + jsCurrent = J.get$current$x(this.jsRef); + if (!type$.Element._is(jsCurrent) && type$.ReactComponent._is(jsCurrent)) { + dartCurrent = J.get$dartComponent$x(jsCurrent); + if (dartCurrent != null) + return this.$ti._precomputed1._as(dartCurrent); + } + return this.$ti._precomputed1._as(jsCurrent); + } + }; + A.JsRef.prototype = {}; + A.ReactDomServer.prototype = {}; + A.PropTypes.prototype = {}; + A.ReactClass.prototype = {}; + A.ReactClassConfig.prototype = {}; + A.ReactElement.prototype = {}; + A.ReactPortal.prototype = {}; + A.ReactComponent.prototype = {}; + A.ReactContext.prototype = {}; + A.InteropProps.prototype = {}; + A.ReactErrorInfo.prototype = {}; + A.render_closure.prototype = { + call$0() { + return A.react_interop_ReactDom_render$closure(); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_M8C; + $signature: 390 + }; + A.findDOMNode_closure.prototype = { + call$0() { + return A.react_dom___findDomNode$closure(); }, - get$wireName: function() { - return "DomainLabelFontSizeSet"; + $signature: 392 + }; + A.Context.prototype = { + get$jsThis() { + return this._jsThis; } }; - U._$StrandNameFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_StrandNameFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + A.createContext_jsifyCalculateChangedBitsArgs.prototype = { + call$2(currentValue, nextValue) { + var t1 = this.TValue._eval$1("0?"); + return this.calculateChangedBits.call$2(t1._as(A.ContextHelpers_unjsifyNewContext(currentValue)), t1._as(A.ContextHelpers_unjsifyNewContext(nextValue))); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 81 + }; + A.JsPropertyDescriptor.prototype = {}; + A.Promise.prototype = {}; + A.ReactDOM.prototype = {}; + A.ReactDartInteropStatics2_initComponent_closure.prototype = { + call$0() { + var jsState, + t1 = this.componentStatics, + component = t1.componentFactory.call$0(), + t2 = component.__Component2_jsThis_A = this.jsThis, + t3 = J.getInterceptor$x(t2); + J.set$props$x(component, new A.JsBackedMap(t3.get$props(t2))); + A.ContextHelpers_unjsifyNewContext(t3.get$context(t2)); + jsState = A.jsBackingMapOrJsCopy(component.get$initialState()); + t3.set$state(t2, jsState); + component.set$state(0, new A.JsBackedMap(jsState)); + t2 = $.$get$Component2Bridge_bridgeForComponent(); + t1 = t1.bridgeFactory.call$1(component); + t2.toString; + t2._jsWeakMap.set(component, t2.$ti._eval$1("1?")._as(t1)); + return component; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.StrandNameFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameFontSizeSet", "font_size")); - _$result = U._$StrandNameFontSizeSet$_(t1); - } - return result._$v = _$result; + $signature: 414 + }; + A.ReactDartInteropStatics2_handleComponentDidMount_closure.prototype = { + call$0() { + this.component.componentDidMount$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 0 + }; + A.ReactDartInteropStatics2_handleShouldComponentUpdate_closure.prototype = { + call$0() { + var t1 = this.component, + t2 = this.jsNextProps, + t3 = this.jsNextState, + value = t1.shouldComponentUpdate$2(new A.JsBackedMap(t2), new A.JsBackedMap(t3)); + if (!value) + A.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, t2, t3); + return value; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_V0W; + $signature: 415 + }; + A.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure.prototype = { + call$0() { + var derivedState = this.componentStatics.instanceForStaticMethods.getDerivedStateFromProps$2(new A.JsBackedMap(this.jsNextProps), new A.JsBackedMap(this.jsPrevState)); + if (derivedState != null) + return A.jsBackingMapOrJsCopy(derivedState); + return null; }, - get$wireName: function() { - return "StrandNameFontSizeSet"; - } + $signature: 132 }; - U._$StrandLabelFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_StrandLabelFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + A.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure.prototype = { + call$0() { + this.component.toString; + return null; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 9 + }; + A.ReactDartInteropStatics2_handleComponentDidUpdate_closure.prototype = { + call$0() { + var _this = this; + _this.component.componentDidUpdate$3(new A.JsBackedMap(_this.jsPrevProps), new A.JsBackedMap(_this.jsPrevState), _this.snapshot); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.StrandLabelFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } + $signature: 0 + }; + A.ReactDartInteropStatics2_handleComponentWillUnmount_closure.prototype = { + call$0() { + this.component.componentWillUnmount$0(); + }, + $signature: 0 + }; + A.ReactDartInteropStatics2_handleComponentDidCatch_closure.prototype = { + call$0() { + var e, stack, t1, exception; + try { + self._throwErrorFromJS(this.error); + t1 = A.ReachabilityError$(string$.x60null_t); + A.throwExpression(t1); + } catch (exception) { + e = A.unwrapException(exception); + stack = A.getTraceFromException(exception); + t1 = this.info; + J.set$dartStackTrace$x(t1, stack); + this.component.componentDidCatch$2(e, t1); } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelFontSizeSet", "font_size")); - _$result = U._$StrandLabelFontSizeSet$_(t1); + }, + $signature: 0 + }; + A.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure.prototype = { + call$0() { + var e, result, t1, exception; + try { + self._throwErrorFromJS(this.error); + t1 = A.ReachabilityError$(string$.x60null_t); + A.throwExpression(t1); + } catch (exception) { + e = A.unwrapException(exception); + result = this.componentStatics.instanceForStaticMethods.getDerivedStateFromError$1(e); + if (result != null) + return A.jsBackingMapOrJsCopy(result); + return null; } - return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 132 + }; + A.ReactDartInteropStatics2_handleRender_closure.prototype = { + call$0() { + var _this = this, + t1 = _this.component; + A.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, _this.jsProps, _this.jsState); + A.ContextHelpers_unjsifyNewContext(_this.jsContext); + return t1.render$0(0); + }, + $signature: 9 + }; + A.convertRefValue2_closure.prototype = { + call$1(instance) { + if (type$.ReactComponent._is(instance) && J.get$dartComponent$x(instance) != null) + return this.ref.call$1(J.get$dartComponent$x(instance)); + return this.ref.call$1(instance); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_oyn; + $signature: 12 + }; + A.InteropContextValue.prototype = {}; + A.ReactDartInteropStatics.prototype = {}; + A.ComponentStatics2.prototype = {}; + A.JsComponentConfig.prototype = {}; + A.JsComponentConfig2.prototype = {}; + A.validateJsApi_closure.prototype = { + call$0() { + return new A._DummyComponent2(); }, - get$wireName: function() { - return "StrandLabelFontSizeSet"; + $signature: 421 + }; + A._DummyComponent2.prototype = { + render$0(_) { + return null; } }; - U._$ModificationFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_ModificationFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + A.DartValueWrapper.prototype = { + get$value(receiver) { + return this.value; + } + }; + A.SyntheticEvent.prototype = {}; + A.SyntheticClipboardEvent.prototype = {}; + A.SyntheticKeyboardEvent.prototype = {}; + A.SyntheticCompositionEvent.prototype = {}; + A.SyntheticFocusEvent.prototype = {}; + A.SyntheticFormEvent.prototype = {}; + A.NonNativeDataTransfer.prototype = {}; + A.SyntheticMouseEvent.prototype = {}; + A.SyntheticPointerEvent.prototype = {}; + A.SyntheticTouchEvent.prototype = {}; + A.SyntheticTransitionEvent.prototype = {}; + A.SyntheticAnimationEvent.prototype = {}; + A.SyntheticUIEvent.prototype = {}; + A.SyntheticWheelEvent.prototype = {}; + A.Store.prototype = { + get$state(_) { + var t1 = this.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + return t1; + }, + get$onChange(_) { + var t1 = this._changeController; + return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + _createReduceAndNotify$1(distinct) { + return new A.Store__createReduceAndNotify_closure(this, false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ModificationFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } - } - return result.build$0(); + _createDispatchers$2(middleware, reduceAndNotify) { + var dispatchers, t1, t2; + this.$ti._eval$1("List<@(Store<1>,@,@(@))>")._as(middleware); + type$.dynamic_Function_dynamic._as(reduceAndNotify); + dispatchers = A._setArrayType([], type$.JSArray_of_dynamic_Function_dynamic); + B.JSArray_methods.add$1(dispatchers, reduceAndNotify); + middleware.toString; + t1 = A._arrayInstanceType(middleware)._eval$1("ReversedListIterable<1>"); + t2 = new A.ReversedListIterable(middleware, t1); + t1 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")); + for (; t1.moveNext$0();) + B.JSArray_methods.add$1(dispatchers, new A.Store__createDispatchers_closure(this, t1.__internal$_current, B.JSArray_methods.get$last(dispatchers))); + t1 = type$.ReversedListIterable_of_dynamic_Function_dynamic; + return A.List_List$of(new A.ReversedListIterable(dispatchers, t1), true, t1._eval$1("ListIterable.E")); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + dispatch$1(action) { + var t1 = this.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + return t1[0].call$1(action); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_wbQ; + set$__Store__state_A(__Store__state_A) { + this.__Store__state_A = this.$ti._precomputed1._as(__Store__state_A); }, - get$wireName: function() { - return "ModificationFontSizeSet"; + set$__Store__dispatchers_F(__Store__dispatchers_F) { + this.__Store__dispatchers_F = type$.List_of_dynamic_Function_dynamic._as(__Store__dispatchers_F); } }; - U._$MajorTickOffsetFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_MajorTickOffsetFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.MajorTickOffsetFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } - } - return result.build$0(); + A.Store__createReduceAndNotify_closure.prototype = { + call$1(action) { + var state, + t1 = this.$this, + t2 = t1.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + state = t1.reducer.call$2(t2, action); + t1.set$__Store__state_A(t1.$ti._precomputed1._as(state)); + t1._changeController.add$1(0, state); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 47 + }; + A.Store__createDispatchers_closure.prototype = { + call$1(action) { + return this.nextMiddleware.call$3(this.$this, action, this.next); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_AW6; + $signature: 12 + }; + A.TypedReducer.prototype = { + call$2(state, action) { + var t1 = this.$ti; + t1._precomputed1._as(state); + if (t1._rest[1]._is(action)) + return this.reducer.call$2(state, action); + return state; + } + }; + A.combineReducers_closure.prototype = { + call$2(state, action) { + var t1, t2, _i; + this.State._as(state); + for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) + state = t1[_i].call$2(state, action); + return state; }, - get$wireName: function() { - return "MajorTickOffsetFontSizeSet"; + $signature() { + return this.State._eval$1("0(0,@)"); } }; - U._$MajorTickWidthFontSizeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_MajorTickWidthFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + A.DesignChangingAction.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.UndoableAction.prototype = {$isAction: 1, $isDesignChangingAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.SkipUndo.prototype = {$isAction: 1}; + A.SkipUndo_SkipUndo_closure.prototype = { + call$1(b) { + b.get$_$this()._undoable_action = this.undoable_action; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 423 + }; + A.Undo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.Undo_Undo_closure.prototype = { + call$1(b) { + b.get$_$this()._num_undos = this.num_undos; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.MajorTickWidthFontSizeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "font_size": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - $$v = result._$v; - if ($$v != null) { - result._font_size = $$v.font_size; - result._$v = null; - } - result._font_size = t1; - break; - } - } - return result.build$0(); + $signature: 424 + }; + A.Redo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.Redo_Redo_closure.prototype = { + call$1(b) { + b.get$_$this()._num_redos = this.num_redos; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 429 + }; + A.UndoRedoClear.prototype = {$isAction: 1}; + A.BatchAction.prototype = { + toJson$0() { + var t1 = this.actions; + return A.LinkedHashMap_LinkedHashMap$_literal(["actions", new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>"))], type$.String, type$.List_UndoableAction); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_u9T; + short_description$0() { + return this.short_description_value; }, - get$wireName: function() { - return "MajorTickWidthFontSizeSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$SetModificationDisplayConnectorSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetModificationDisplayConnector._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A.BatchAction_BatchAction_closure.prototype = { + call$1(b) { + b.get$actions(b).replace$1(0, this.actions); + b.get$_$this()._short_description_value = this.short_description_value; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetModificationDisplayConnectorBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 436 + }; + A.ThrottledActionFast.prototype = {$isAction: 1, $isFastAction: 1, $isThrottledAction: 1}; + A.ThrottledActionFast_ThrottledActionFast_closure.prototype = { + call$1(b) { + b.get$_$this()._action = this.action; + b.get$_$this()._interval_sec = this.interval_sec; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 437 + }; + A.ThrottledActionNonFast.prototype = {$isAction: 1, $isThrottledAction: 1}; + A.ThrottledActionNonFast_ThrottledActionNonFast_closure.prototype = { + call$1(b) { + b.get$_$this()._action = this.action; + b.get$_$this()._interval_sec = this.interval_sec; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_e1J; + $signature: 450 + }; + A.LocalStorageDesignChoiceSet.prototype = {$isAction: 1}; + A.ResetLocalStorage.prototype = {$isAction: 1}; + A.ClearHelixSelectionWhenLoadingNewDesignSet.prototype = {$isAction: 1}; + A.EditModeToggle.prototype = {$isAction: 1}; + A.EditModeToggle_EditModeToggle_closure.prototype = { + call$1(b) { + b.get$_$this()._mode = this.mode; + return b; }, - get$wireName: function() { - return "SetModificationDisplayConnector"; - } + $signature: 451 }; - U._$ShowMismatchesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMismatchesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.EditModesSet.prototype = {$isAction: 1}; + A.SelectModeToggle.prototype = {$isAction: 1}; + A.SelectModeToggle_SelectModeToggle_closure.prototype = { + call$1(b) { + b.get$_$this()._select_mode_choice = this.select_mode_choice; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 452 + }; + A.SelectModesAdd.prototype = {$isAction: 1}; + A.SelectModesSet.prototype = {$isAction: 1}; + A.StrandNameSet.prototype = { + short_description$0() { + return "set strand name"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowMismatchesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.StrandLabelSet.prototype = { + short_description$0() { + return "set strand label"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.SubstrandNameSet.prototype = { + get$strand_part() { + return this.substrand; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_P2J; + short_description$0() { + var t1 = this.name == null ? "remove" : "set"; + return t1 + " " + this.substrand.type_description$0() + " name"; }, - get$wireName: function() { - return "ShowMismatchesSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$ShowDomainNameMismatchesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_domain_name_mismatches", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainNameMismatchesSet._as(object).show_domain_name_mismatches, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.SubstrandLabelSet.prototype = { + get$strand_part() { + return this.substrand; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + short_description$0() { + var t1 = this.label == null ? "remove" : "set"; + return t1 + " " + this.substrand.type_description$0() + " label"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowDomainNameMismatchesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show_domain_name_mismatches": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; - result._$v = null; - } - result._actions$_show_domain_name_mismatches = t1; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_aZ8; - }, - get$wireName: function() { - return "ShowDomainNameMismatchesSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$ShowUnpairedInsertionDeletionsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(type$.legacy_ShowUnpairedInsertionDeletionsSet._as(object).show_unpaired_insertion_deletions, C.FullType_MtR)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowUnpairedInsertionDeletionsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show_unpaired_insertion_deletions": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; - result._$v = null; - } - result._actions$_show_unpaired_insertion_deletions = t1; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + A.SetAppUIStateStorable.prototype = {$isAction: 1}; + A.SetAppUIStateStorable_SetAppUIStateStorable_closure.prototype = { + call$1(b) { + var t2, + t1 = this.storables; + t1.toString; + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.AppUIStateStorables); + t2._app_ui_state_storables$_$v = t1; + b.get$_$this()._actions$_storables = t2; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_7Re; + $signature: 459 + }; + A.ShowDNASet.prototype = {$isAction: 1}; + A.ShowDNASet_ShowDNASet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - get$wireName: function() { - return "ShowUnpairedInsertionDeletionsSet"; - } + $signature: 461 }; - U._$OxviewShowSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_OxviewShowSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.ShowDomainNamesSet.prototype = {$isAction: 1}; + A.ShowDomainNamesSet_ShowDomainNamesSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 462 + }; + A.ShowStrandNamesSet.prototype = {$isAction: 1}; + A.ShowStrandNamesSet_ShowStrandNamesSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.OxviewShowSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 463 + }; + A.ShowStrandLabelsSet.prototype = {$isAction: 1}; + A.ShowStrandLabelsSet_ShowStrandLabelsSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 464 + }; + A.ShowDomainLabelsSet.prototype = {$isAction: 1}; + A.ShowDomainLabelsSet_ShowDomainLabelsSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_W7l; + $signature: 465 + }; + A.ShowModificationsSet.prototype = {$isAction: 1}; + A.ShowModificationsSet_ShowModificationsSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - get$wireName: function() { - return "OxviewShowSet"; - } + $signature: 484 }; - U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.DomainNameFontSizeSet.prototype = {$isAction: 1}; + A.DomainLabelFontSizeSet.prototype = {$isAction: 1}; + A.StrandNameFontSizeSet.prototype = {$isAction: 1}; + A.StrandLabelFontSizeSet.prototype = {$isAction: 1}; + A.ModificationFontSizeSet.prototype = {$isAction: 1}; + A.ModificationFontSizeSet_ModificationFontSizeSet_closure.prototype = { + call$1(b) { + b.get$_$this()._font_size = this.font_size; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 486 + }; + A.MajorTickOffsetFontSizeSet.prototype = {$isAction: 1}; + A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure.prototype = { + call$1(b) { + b.get$_$this()._font_size = this.font_size; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 490 + }; + A.MajorTickWidthFontSizeSet.prototype = {$isAction: 1}; + A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure.prototype = { + call$1(b) { + b.get$_$this()._font_size = this.font_size; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 494 + }; + A.SetModificationDisplayConnector.prototype = {$isAction: 1}; + A.SetModificationDisplayConnector_SetModificationDisplayConnector_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_kzZ; + $signature: 519 + }; + A.ShowMismatchesSet.prototype = {$isAction: 1}; + A.ShowMismatchesSet_ShowMismatchesSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - get$wireName: function() { - return string$.SetDis; - } + $signature: 520 }; - U._$DisplayMajorTicksOffsetsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_DisplayMajorTicksOffsetsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.ShowDomainNameMismatchesSet.prototype = {$isAction: 1}; + A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_show_domain_name_mismatches = this.show_domain_name_mismatches; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 523 + }; + A.ShowUnpairedInsertionDeletionsSet.prototype = {$isAction: 1}; + A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_show_unpaired_insertion_deletions = this.show_unpaired_insertion_deletions; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.DisplayMajorTicksOffsetsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 532 + }; + A.OxviewShowSet.prototype = {$isAction: 1}; + A.OxviewShowSet_OxviewShowSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 552 + }; + A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = {$isAction: 1}; + A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_TfG; + $signature: 557 + }; + A.DisplayMajorTicksOffsetsSet.prototype = {$isAction: 1}; + A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - get$wireName: function() { - return "DisplayMajorTicksOffsetsSet"; - } + $signature: 560 }; - U._$SetDisplayMajorTickWidthsAllHelicesSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayMajorTickWidthsAllHelices._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.SetDisplayMajorTickWidthsAllHelices.prototype = {$isAction: 1}; + A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 561 + }; + A.SetDisplayMajorTickWidths.prototype = {$isAction: 1}; + A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetDisplayMajorTickWidthsAllHelicesBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 564 + }; + A.SetOnlyDisplaySelectedHelices.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_only_display_selected_helices = this.only_display_selected_helices; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 565 + }; + A.InvertYSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.DynamicHelixUpdateSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.WarnOnExitIfUnsavedSet.prototype = {$isAction: 1}; + A.LoadingDialogShow.prototype = {$isAction: 1}; + A.LoadingDialogHide.prototype = {$isAction: 1}; + A.CopySelectedStandsToClipboardImage.prototype = {$isAction: 1}; + A.SaveDNAFile.prototype = {$isAction: 1}; + A.LoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.LoadDNAFile_LoadDNAFile_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_$this()._content = _this.content; + b.get$_$this()._filename = _this.filename; + b.get$_$this()._write_local_storage = _this.write_local_storage; + b.get$_$this()._unit_testing = _this.unit_testing; + b.get$_$this()._dna_file_type = _this.dna_file_type; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_gJ1; + $signature: 566 + }; + A.PrepareToLoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + A.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_$this()._content = _this.content; + b.get$_$this()._filename = _this.filename; + b.get$_$this()._write_local_storage = _this.write_local_storage; + b.get$_$this()._unit_testing = _this.unit_testing; + b.get$_$this()._dna_file_type = _this.dna_file_type; + return b; }, - get$wireName: function() { - return "SetDisplayMajorTickWidthsAllHelices"; - } + $signature: 567 }; - U._$SetDisplayMajorTickWidthsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayMajorTickWidths._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.NewDesignSet.prototype = { + short_description$0() { + return this.short_description_value; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.NewDesignSet_NewDesignSet_closure.prototype = { + call$1(b) { + var t1 = b.get$design(), + t2 = this.design; + A.ArgumentError_checkNotNull(t2, "other", type$.Design); + t1._design0$_$v = t2; + b.get$_$this()._short_description_value = this.short_description_value; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetDisplayMajorTickWidthsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } - } - return result.build$0(); + $signature: 574 + }; + A.ExportCadnanoFile.prototype = {$isAction: 1}; + A.ExportCodenanoFile.prototype = {$isAction: 1}; + A.ShowMouseoverDataSet.prototype = {$isAction: 1}; + A.ShowMouseoverDataSet_ShowMouseoverDataSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 581 + }; + A.MouseoverDataClear.prototype = {$isAction: 1}; + A.MouseoverDataUpdate.prototype = {$isAction: 1}; + A.HelixRollSet.prototype = { + short_description$0() { + return "set helix roll"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_U7q; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixRollSetAtOther.prototype = { + short_description$0() { + return "set helix roll at other"; }, - get$wireName: function() { - return "SetDisplayMajorTickWidths"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$SetOnlyDisplaySelectedHelicesSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["only_display_selected_helices", serializers.serialize$2$specifiedType(type$.legacy_SetOnlyDisplaySelectedHelices._as(object).only_display_selected_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.HelixRollSetAtOther_HelixRollSetAtOther_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_$this()._actions$_helix_idx = _this.helix_idx; + b.get$_$this()._helix_other_idx = _this.helix_other_idx; + b.get$_$this()._actions$_forward = _this.forward; + b.get$_$this()._anchor = _this.anchor; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 582 + }; + A.RelaxHelixRolls.prototype = { + short_description$0() { + return "set helix rolls to unstrain crossovers"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetOnlyDisplaySelectedHelicesBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "only_display_selected_helices": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_only_display_selected_helices = $$v.only_display_selected_helices; - result._$v = null; - } - result._actions$_only_display_selected_helices = t1; - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.ErrorMessageSet.prototype = {$isAction: 1}; + A.ErrorMessageSet_ErrorMessageSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_error_message = this.error_message; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 583 + }; + A.SelectionBoxCreate.prototype = {$isAction: 1}; + A.SelectionBoxCreate_SelectionBoxCreate_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.point); + b.get$_$this().set$_point(t1); + b.get$_$this()._actions$_toggle = this.toggle; + b.get$_$this()._actions$_is_main = this.is_main; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_HFe; + $signature: 588 + }; + A.SelectionBoxSizeChange.prototype = {$isAction: 1, $isFastAction: 1}; + A.SelectionBoxSizeChange_SelectionBoxSizeChange_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.point); + b.get$_$this().set$_point(t1); + b.get$_$this()._actions$_is_main = this.is_main; + return b; }, - get$wireName: function() { - return "SetOnlyDisplaySelectedHelices"; - } + $signature: 599 }; - U._$InvertYSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["invert_y", serializers.serialize$2$specifiedType(type$.legacy_InvertYSet._as(object).invert_y, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.SelectionBoxRemove.prototype = {$isAction: 1}; + A.SelectionBoxRemove_SelectionBoxRemove_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_is_main = this.is_main; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 602 + }; + A.SelectionRopeCreate.prototype = {$isAction: 1}; + A.SelectionRopeMouseMove.prototype = {$isAction: 1, $isFastAction: 1}; + A.SelectionRopeAddPoint.prototype = {$isAction: 1}; + A.SelectionRopeRemove.prototype = {$isAction: 1}; + A.MouseGridPositionSideUpdate.prototype = {$isAction: 1}; + A.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure.prototype = { + call$1(b) { + var t1 = b.get$grid_position(), + t2 = this.grid_position; + A.ArgumentError_checkNotNull(t2, "other", type$.GridPosition); + t1._grid_position$_$v = t2; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.InvertYSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "invert_y": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_invert_y = $$v.invert_y; - result._$v = null; - } - result._actions$_invert_y = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_invert_y; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("InvertYSet", "invert_y")); - _$result = U._$InvertYSet$_(t1); - } - return result._$v = _$result; + $signature: 603 + }; + A.MouseGridPositionSideClear.prototype = {$isAction: 1}; + A.MouseGridPositionSideClear_MouseGridPositionSideClear_closure.prototype = { + call$1(b) { + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 604 + }; + A.MousePositionSideUpdate.prototype = {$isAction: 1}; + A.MousePositionSideClear.prototype = {$isAction: 1}; + A.GeometrySet.prototype = { + short_description$0() { + return "set geometric parameters"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Db0; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.SelectionBoxIntersectionRuleSet.prototype = {$isAction: 1}; + A.Select.prototype = {$isAction: 1}; + A.Select_Select_closure.prototype = { + call$1(b) { + b.get$_$this()._selectable = this.selectable; + b.get$_$this()._actions$_toggle = this.toggle; + b.get$_$this()._only = this.only; + return b; }, - get$wireName: function() { - return "InvertYSet"; - } + $signature: 613 }; - U._$DynamicHelixUpdateSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["dynamically_update_helices", serializers.serialize$2$specifiedType(type$.legacy_DynamicHelixUpdateSet._as(object).dynamically_update_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.SelectionsClear.prototype = {$isAction: 1}; + A.SelectionsClear_SelectionsClear_closure.prototype = { + call$1(b) { + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 621 + }; + A.SelectionsAdjustMainView.prototype = {$isAction: 1}; + A.SelectOrToggleItems.prototype = {$isAction: 1}; + A.SelectAll.prototype = {$isAction: 1}; + A.SelectAllSelectable.prototype = {$isAction: 1}; + A.SelectAllSelectable_SelectAllSelectable_closure.prototype = { + call$1(b) { + b.get$_$this()._current_helix_group_only = this.current_helix_group_only; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s26_ = "dynamically_update_helices", - result = new U.DynamicHelixUpdateSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "dynamically_update_helices": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_dynamically_update_helices = $$v.dynamically_update_helices; - result._$v = null; - } - result._actions$_dynamically_update_helices = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_dynamically_update_helices; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DynamicHelixUpdateSet", _s26_)); - _$result = U._$DynamicHelixUpdateSet$_(t1); - } - return result._$v = _$result; + $signature: 623 + }; + A.SelectAllStrandsWithSameAsSelected.prototype = {$isAction: 1}; + A.DeleteAllSelected.prototype = { + short_description$0() { + return "remove all selected items"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.DeleteAllSelected_DeleteAllSelected_closure.prototype = { + call$1(b) { + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_bD1; + $signature: 624 + }; + A.HelixAdd.prototype = { + short_description$0() { + return "create helix"; }, - get$wireName: function() { - return "DynamicHelixUpdateSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$WarnOnExitIfUnsavedSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["warn", serializers.serialize$2$specifiedType(type$.legacy_WarnOnExitIfUnsavedSet._as(object).warn, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.HelixAdd_HelixAdd_closure.prototype = { + call$1(b) { + var t1 = this.grid_position, + t2 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.GridPosition); + t2._grid_position$_$v = t1; + b.get$_$this()._actions$_grid_position = t2; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 131 + }; + A.HelixAdd_HelixAdd_closure0.prototype = { + call$1(b) { + var t1 = this.position, + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t2._position3d$_$v = t1; + b.get$_$this()._actions$_position = t2; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.WarnOnExitIfUnsavedSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "warn": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._warn = $$v.warn; - result._$v = null; - } - result._warn = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._warn; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("WarnOnExitIfUnsavedSet", "warn")); - _$result = U._$WarnOnExitIfUnsavedSet$_(t1); - } - return result._$v = _$result; + $signature: 131 + }; + A.HelixRemove.prototype = { + short_description$0() { + return "delete helix"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixRemove_HelixRemove_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_helix_idx = this.helix_idx; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_SQp; + $signature: 704 + }; + A.HelixRemoveAllSelected.prototype = { + short_description$0() { + return "delete all selected helices"; }, - get$wireName: function() { - return "WarnOnExitIfUnsavedSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$LoadingDialogShowSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_LoadingDialogShow._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A.HelixSelect.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + A.HelixSelect_HelixSelect_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_helix_idx = this.helix_idx; + b.get$_$this()._actions$_toggle = this.toggle; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 920 + }; + A.HelixSelectionsClear.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + A.HelixSelectionsClear_HelixSelectionsClear_closure.prototype = { + call$1(b) { + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$LoadingDialogShow(); + $signature: 935 + }; + A.HelixSelectionsAdjust.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + A.HelixSelectionsAdjust_HelixSelectionsAdjust_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$_$this()._actions$_toggle = this.toggle; + t1 = b.get$selection_box(); + t2 = this.selection_box; + A.ArgumentError_checkNotNull(t2, "other", type$.SelectionBox); + t1._selection_box$_$v = t2; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 171 + }; + A.HelixMajorTickDistanceChange.prototype = { + short_description$0() { + return "change helix major tick distance"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_t3J; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixMajorTickDistanceChangeAll.prototype = { + short_description$0() { + return "change all helix major tick distance"; }, - get$wireName: function() { - return "LoadingDialogShow"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$LoadingDialogHideSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_LoadingDialogHide._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A.HelixMajorTickStartChange.prototype = { + short_description$0() { + return "change helix major tick start"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixMajorTickStartChangeAll.prototype = { + short_description$0() { + return "change all helix major tick start"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$LoadingDialogHide(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixMajorTicksChange.prototype = { + short_description$0() { + return "change helix major ticks"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixMajorTicksChangeAll.prototype = { + short_description$0() { + return "change all helix major ticks"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_wEo; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixMajorTickPeriodicDistancesChange.prototype = { + short_description$0() { + return "change helix major tick periodic distances"; }, - get$wireName: function() { - return "LoadingDialogHide"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 }; - U._$CopySelectedStandsToClipboardImageSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_CopySelectedStandsToClipboardImage._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A.HelixMajorTickPeriodicDistancesChangeAll.prototype = { + short_description$0() { + return "change all helix major tick periodic distances"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixIdxsChange.prototype = { + short_description$0() { + return "set helix idx"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.CopySelectedStandsToClipboardImageBuilder().build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixIdxsChange_HelixIdxsChange_closure.prototype = { + call$1(b) { + b.get$idx_replacements().replace$1(0, this.idx_replacements); + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 172 + }; + A.HelixOffsetChange.prototype = { + short_description$0() { + return "change helix offset"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_IIj; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixMinOffsetSetByDomains.prototype = { + short_description$0() { + return "set helix min offset"; }, - get$wireName: function() { - return "CopySelectedStandsToClipboardImage"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 }; - U._$SaveDNAFileSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SaveDNAFile._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A.HelixMaxOffsetSetByDomains.prototype = { + short_description$0() { + return "set helix min offset"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixMinOffsetSetByDomainsAll.prototype = { + short_description$0() { + return "set helix min offset"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.SaveDNAFileBuilder().build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixMaxOffsetSetByDomainsAll.prototype = { + short_description$0() { + return "set helix max offset"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixMaxOffsetSetByDomainsAllSameMax.prototype = { + short_description$0() { + return "set helix max offset"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_dDf; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixOffsetChangeAll.prototype = { + short_description$0() { + return "change all helix offsets"; }, - get$wireName: function() { - return "SaveDNAFile"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$LoadDNAFileSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_LoadDNAFile._as(object); - result = H.setRuntimeTypeInfo(["content", serializers.serialize$2$specifiedType(object.content, C.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, C.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, C.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, C.FullType_8L0)], type$.JSArray_legacy_Object); - value = object.filename; - if (value != null) { - C.JSArray_methods.add$1(result, "filename"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.ShowMouseoverRectSet.prototype = {$isAction: 1}; + A.ShowMouseoverRectToggle.prototype = {$isAction: 1}; + A.ExportDNA.prototype = {$isAction: 1}; + A.ExportDNA_ExportDNA_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_$this()._include_scaffold = _this.include_scaffold; + b.get$_$this()._include_only_selected_strands = _this.include_only_selected_strands; + b.get$_$this()._exclude_selected_strands = _this.exclude_selected_strands; + b.get$_$this()._export_dna_format = _this.export_dna_format; + b.get$_$this()._delimiter = _this.delimiter; + b.get$_$this()._domain_delimiter = _this.domain_delimiter; + b.get$_$this()._strand_order = _this.strand_order; + b.get$_$this()._column_major_strand = _this.column_major_strand; + b.get$_$this()._column_major_plate = _this.column_major_plate; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 173 + }; + A.ExportCanDoDNA.prototype = {$isAction: 1}; + A.ExportCanDoDNA_ExportCanDoDNA_closure.prototype = { + call$1(b) { + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new U.LoadDNAFileBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAFileType; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "content": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._content = t2; - break; - case "write_local_storage": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._write_local_storage = t2; - break; - case "unit_testing": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._unit_testing = t2; - break; - case "dna_file_type": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8L0)); - result.get$_$this()._dna_file_type = t2; - break; - case "filename": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._filename = t2; - break; - } - } - return result.build$0(); + $signature: 174 + }; + A.ExportSvgType.prototype = { + _enumToString$0() { + return "ExportSvgType." + this._core$_name; + } + }; + A.ExportSvg.prototype = {$isAction: 1}; + A.ExportSvgTextSeparatelySet.prototype = {$isAction: 1}; + A.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_export_svg_text_separately = this.export_svg_text_separately; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 175 + }; + A.ExtensionDisplayLengthAngleSet.prototype = { + get$strand_part() { + return this.ext; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_MIe; + short_description$0() { + return "change extension display length/angle"; }, - get$wireName: function() { - return "LoadDNAFile"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$PrepareToLoadDNAFileSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_PrepareToLoadDNAFile._as(object); - result = H.setRuntimeTypeInfo(["content", serializers.serialize$2$specifiedType(object.content, C.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, C.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, C.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, C.FullType_8L0)], type$.JSArray_legacy_Object); - value = object.filename; - if (value != null) { - C.JSArray_methods.add$1(result, "filename"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure.prototype = { + call$1(b) { + var t1 = b.get$ext(), + t2 = this.ext; + A.ArgumentError_checkNotNull(t2, "other", type$.Extension); + t1._extension$_$v = t2; + b.get$_$this()._actions$_display_length = this.display_length; + b.get$_$this()._actions$_display_angle = this.display_angle; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 176 + }; + A.ExtensionAdd.prototype = { + short_description$0() { + return "add extension to strand"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new U.PrepareToLoadDNAFileBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAFileType; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "content": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._content = t2; - break; - case "write_local_storage": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._write_local_storage = t2; - break; - case "unit_testing": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._unit_testing = t2; - break; - case "dna_file_type": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8L0)); - result.get$_$this()._dna_file_type = t2; - break; - case "filename": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._filename = t2; - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.ExtensionAdd_ExtensionAdd_closure.prototype = { + call$1(b) { + var t1 = b.get$strand(), + t2 = this.strand; + A.ArgumentError_checkNotNull(t2, "other", type$.Strand); + t1._strand$_$v = t2; + b.get$_$this()._actions$_is_5p = this.is_5p; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 177 + }; + A.ExtensionNumBasesChange.prototype = { + get$strand_part() { + return this.ext; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_nFv; + short_description$0() { + return "change extension number of bases"; }, - get$wireName: function() { - return "PrepareToLoadDNAFile"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$NewDesignSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_NewDesignSet._as(object); - return H.setRuntimeTypeInfo(["design", serializers.serialize$2$specifiedType(object.design, C.FullType_WnR), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, C.FullType_h8g)], type$.JSArray_legacy_Object); + A.ExtensionNumBasesChange_ExtensionNumBasesChange_closure.prototype = { + call$1(b) { + var t1 = b.get$ext(), + t2 = this.ext; + A.ArgumentError_checkNotNull(t2, "other", type$.Extension); + t1._extension$_$v = t2; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 178 + }; + A.ExtensionsNumBasesChange.prototype = { + short_description$0() { + return "change extensions number of bases"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.NewDesignSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Design; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "design": - t2 = result.get$_$this(); - t3 = t2._actions$_design; - if (t3 == null) { - t3 = new N.DesignBuilder(); - N.Design__initializeBuilder(t3); - t2._actions$_design = t3; - t2 = t3; - } else - t2 = t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_WnR)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._design0$_$v = t3; - break; - case "short_description_value": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._short_description_value = t2; - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure.prototype = { + call$1(b) { + b.get$extensions(b).replace$1(0, this.extensions); + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 179 + }; + A.LoopoutLengthChange.prototype = { + get$strand_part() { + return this.loopout; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_RyU; + short_description$0() { + return "change loopout length"; }, - get$wireName: function() { - return "NewDesignSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$ExportCadnanoFileSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["whitespace", serializers.serialize$2$specifiedType(type$.legacy_ExportCadnanoFile._as(object).whitespace, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.LoopoutLengthChange_LoopoutLengthChange_closure.prototype = { + call$1(b) { + var t1 = b.get$loopout(), + t2 = this.loopout; + A.ArgumentError_checkNotNull(t2, "other", type$.Loopout); + t1._loopout$_$v = t2; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 180 + }; + A.LoopoutsLengthChange.prototype = { + short_description$0() { + return "change loopouts length"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ExportCadnanoFileBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "whitespace": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._whitespace = $$v.whitespace; - result._$v = null; - } - result._whitespace = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._whitespace; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ExportCadnanoFile", "whitespace")); - _$result = U._$ExportCadnanoFile$_(t1); - } - return result._$v = _$result; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.LoopoutsLengthChange_LoopoutsLengthChange_closure.prototype = { + call$1(b) { + b.get$loopouts().replace$1(0, this.loopouts); + b.get$_$this()._actions$_length = this.length; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 181 + }; + A.ConvertCrossoverToLoopout.prototype = { + get$strand_part() { + return this.crossover; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_IGS; + short_description$0() { + return "convert crossover to loopout"; }, - get$wireName: function() { - return "ExportCadnanoFile"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 }; - U._$ExportCodenanoFileSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExportCodenanoFile._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure.prototype = { + call$1(b) { + var t1 = b.get$crossover(), + t2 = this.crossover; + A.ArgumentError_checkNotNull(t2, "other", type$.Crossover); + t1._crossover$_$v = t2; + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._actions$_dna_sequence = this.dna_sequence; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$ExportCodenanoFile(); + $signature: 182 + }; + A.ConvertCrossoversToLoopouts.prototype = { + short_description$0() { + return "convert crossovers to loopouts"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure.prototype = { + call$1(b) { + b.get$crossovers().replace$1(0, this.crossovers); + b.get$_$this()._actions$_length = this.length; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_avb; + $signature: 183 + }; + A.Nick.prototype = { + short_description$0() { + return "nick"; }, - get$wireName: function() { - return "ExportCodenanoFile"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$ShowMouseoverDataSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMouseoverDataSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.Ligate.prototype = { + short_description$0() { + return "ligate"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.JoinStrandsByCrossover.prototype = { + short_description$0() { + return "add crossover"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowMouseoverDataSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show = $$v.show; - result._$v = null; - } - result._show = t1; - break; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.MoveLinker.prototype = { + short_description$0() { + var linker_description, + l = this.potential_crossover.linker; + if (l instanceof A.Crossover) + linker_description = "crossover"; + else { + if (!(l instanceof A.Loopout)) + throw A.wrapException(A.AssertionError$(A.S(l) + " is not crossover nor looput")); + linker_description = "loopout"; } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + return "move " + linker_description; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_5HG; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.JoinStrandsByMultipleCrossovers.prototype = { + short_description$0() { + return "join strands by multiple crossovers"; }, - get$wireName: function() { - return "ShowMouseoverDataSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$MouseoverDataClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MouseoverDataClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A.StrandsReflect.prototype = {$isAction: 1}; + A.ReplaceStrands.prototype = { + short_description$0() { + return "replace strands"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.StrandCreateStart.prototype = {$isAction: 1}; + A.StrandCreateAdjustOffset.prototype = {$isAction: 1}; + A.StrandCreateStop.prototype = {$isAction: 1}; + A.StrandCreateCommit.prototype = { + short_description$0() { + return "create strand"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.MouseoverDataClearBuilder().build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.PotentialCrossoverCreate.prototype = {$isAction: 1}; + A.PotentialCrossoverMove.prototype = {$isAction: 1, $isFastAction: 1}; + A.PotentialCrossoverRemove.prototype = {$isAction: 1}; + A.ManualPasteInitiate.prototype = {$isAction: 1}; + A.ManualPasteInitiate_ManualPasteInitiate_closure.prototype = { + call$1(b) { + b.get$_$this()._clipboard_content = this.clipboard_content; + b.get$_$this()._in_browser = this.in_browser; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 184 + }; + A.AutoPasteInitiate.prototype = {$isAction: 1}; + A.AutoPasteInitiate_AutoPasteInitiate_closure.prototype = { + call$1(b) { + b.get$_$this()._clipboard_content = this.clipboard_content; + b.get$_$this()._in_browser = this.in_browser; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_07o; + $signature: 185 + }; + A.CopySelectedStrands.prototype = {$isAction: 1}; + A.StrandsMoveStart.prototype = {$isAction: 1}; + A.StrandsMoveStartSelectedStrands.prototype = {$isAction: 1}; + A.StrandsMoveStop.prototype = {$isAction: 1}; + A.StrandsMoveAdjustAddress.prototype = {$isAction: 1}; + A.StrandsMoveCommit.prototype = { + short_description$0() { + return "move strands"; }, - get$wireName: function() { - return "MouseoverDataClear"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$MouseoverDataUpdateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["mouseover_params", serializers.serialize$2$specifiedType(type$.legacy_MouseoverDataUpdate._as(object).mouseover_params, C.FullType_AFm)], type$.JSArray_legacy_Object); + A.DomainsMoveStartSelectedDomains.prototype = {$isAction: 1}; + A.DomainsMoveStop.prototype = {$isAction: 1}; + A.DomainsMoveAdjustAddress.prototype = {$isAction: 1}; + A.DomainsMoveCommit.prototype = { + short_description$0() { + return "move domains"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.DNAEndsMoveStart.prototype = {$isAction: 1}; + A.DNAEndsMoveSetSelectedEnds.prototype = {$isAction: 1}; + A.DNAEndsMoveAdjustOffset.prototype = {$isAction: 1, $isFastAction: 1}; + A.DNAEndsMoveStop.prototype = {$isAction: 1}; + A.DNAEndsMoveCommit.prototype = { + short_description$0() { + return "move DNA ends"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.MouseoverDataUpdateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_MouseoverParams, t3 = type$.List_legacy_MouseoverParams, t4 = type$.ListBuilder_legacy_MouseoverParams; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "mouseover_params": - $$v = result._$v; - if ($$v != null) { - t5 = $$v.mouseover_params; - t5.toString; - t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); - t8 = t6._eval$1("_BuiltList<1>"); - t9 = t6._eval$1("List<1>"); - if (t8._is(t5)) { - t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); - t7.set$_listOwner(t5); - } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); - t7.set$_listOwner(null); - } - result.set$_mouseover_params(t7); - result._$v = null; - } - t5 = result._mouseover_params; - if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t5.set$_listOwner(null); - result.set$_mouseover_params(t5); - } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_AFm)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.DNAExtensionsMoveStart.prototype = {$isAction: 1}; + A.DNAExtensionsMoveSetSelectedExtensionEnds.prototype = {$isAction: 1}; + A.DNAExtensionsMoveAdjustPosition.prototype = {$isAction: 1, $isFastAction: 1}; + A.DNAExtensionsMoveStop.prototype = {$isAction: 1}; + A.DNAExtensionsMoveCommit.prototype = { + short_description$0() { + return "move DNA extensions"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.HelixGroupMoveStart.prototype = {$isAction: 1}; + A.HelixGroupMoveCreate.prototype = {$isAction: 1}; + A.HelixGroupMoveAdjustTranslation.prototype = {$isAction: 1, $isFastAction: 1}; + A.HelixGroupMoveStop.prototype = {$isAction: 1}; + A.HelixGroupMoveCommit.prototype = { + short_description$0() { + return "move helix group"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_GVa; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.AssignDNA.prototype = { + short_description$0() { + return "assign DNA sequence"; }, - get$wireName: function() { - return "MouseoverDataUpdate"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$HelixRollSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixRollSet._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME)], type$.JSArray_legacy_Object); + A.AssignDNAComplementFromBoundStrands.prototype = { + short_description$0() { + return "add DNA complement from bound strands"; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure.prototype = { + call$1(b) { + b.get$strands().replace$1(0, this.strands); + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, - _s12_ = "HelixRollSet", - result = new U.HelixRollSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_roll = $$v.roll; - result._$v = null; - } - result._actions$_helix_idx = t1; - break; - case "roll": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - $$v = result._$v; - if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_roll = $$v.roll; - result._$v = null; - } - result._actions$_roll = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "helix_idx")); - t2 = result.get$_$this()._actions$_roll; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "roll")); - _$result = U._$HelixRollSet$_(t1, t2); - } - return result._$v = _$result; + $signature: 186 + }; + A.AssignDomainNameComplementFromBoundStrands.prototype = { + short_description$0() { + return string$.assign; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure.prototype = { + call$1(b) { + b.get$strands().replace$1(0, this.strands); + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_4QF; + $signature: 187 + }; + A.AssignDomainNameComplementFromBoundDomains.prototype = { + short_description$0() { + return "assign domain name complement from bound domains"; }, - get$wireName: function() { - return "HelixRollSet"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 }; - U._$HelixRollSetAtOtherSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixRollSetAtOther._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "helix_other_idx", serializers.serialize$2$specifiedType(object.helix_other_idx, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "anchor", serializers.serialize$2$specifiedType(object.anchor, C.FullType_kjq)], type$.JSArray_legacy_Object); + A.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure.prototype = { + call$1(b) { + b.get$domains().replace$1(0, this.domains); + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 188 + }; + A.RemoveDNA.prototype = { + short_description$0() { + return "remove DNA sequence"; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new U.HelixRollSetAtOtherBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_helix_idx = t1; - break; - case "helix_other_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._helix_other_idx = t1; - break; - case "forward": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_forward = t1; - break; - case "anchor": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._anchor = t1; - break; - } - } - return result.build$0(); + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.InsertionAdd.prototype = { + get$strand_part() { + return this.domain; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + clone_for_other_domain$1(domain) { + var t1 = type$.void_Function_InsertionAddBuilder._as(new A.InsertionAdd_clone_for_other_domain_closure(domain)), + t2 = new A.InsertionAddBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.InsertionAdd); + t2._$v = this; + type$.nullable_void_Function_InsertionAddBuilder._as(t1).call$1(t2); + return t2._build$0(); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_AyI1; + short_description$0() { + return "add insertion"; }, - get$wireName: function() { - return "HelixRollSetAtOther"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 }; - U._$RelaxHelixRollsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["only_selected", serializers.serialize$2$specifiedType(type$.legacy_RelaxHelixRolls._as(object).only_selected, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.InsertionAdd_clone_for_other_domain_closure.prototype = { + call$1(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 189 + }; + A.InsertionLengthChange.prototype = { + get$offset(_) { + return this.insertion.offset; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.RelaxHelixRollsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "only_selected": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._only_selected = $$v.only_selected; - result._$v = null; - } - result._only_selected = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._only_selected; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("RelaxHelixRolls", "only_selected")); - _$result = U._$RelaxHelixRolls$_(t1); - } - return result._$v = _$result; + get$strand_part() { + return this.domain; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + clone_for_other_domain$1(other_domain) { + var t2, + t1 = other_domain.insertions; + t1.toString; + t2 = t1.$ti; + return A.InsertionLengthChange_InsertionLengthChange(other_domain, B.JSArray_methods.firstWhere$2$orElse(t1._list, t2._eval$1("bool(1)")._as(new A.InsertionLengthChange_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null)), this.length); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_IYw; + short_description$0() { + return "change insertion length"; }, - get$wireName: function() { - return "RelaxHelixRolls"; - } + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 }; - U._$ErrorMessageSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["error_message", serializers.serialize$2$specifiedType(type$.legacy_ErrorMessageSet._as(object).error_message, C.FullType_h8g)], type$.JSArray_legacy_Object); + A.InsertionLengthChange_clone_for_other_domain_closure.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset === this.$this.insertion.offset; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ErrorMessageSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "error_message": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._actions$_error_message = $$v.error_message; - result._$v = null; - } - result._actions$_error_message = t1; - break; - } - } - return result.build$0(); + $signature: 31 + }; + A.InsertionLengthChange_InsertionLengthChange_closure.prototype = { + call$1(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + t2 = b.get$insertion(); + t1 = this.insertion; + A.ArgumentError_checkNotNull(t1, "other", type$.Insertion); + t2._domain$_$v = t1; + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._all_helices = false; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 191 + }; + A.InsertionsLengthChange.prototype = { + short_description$0() { + return "change insertions length"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_a3r; + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.InsertionsLengthChange_InsertionsLengthChange_closure.prototype = { + call$1(b) { + b.get$insertions().replace$1(0, this.insertions); + b.get$domains().replace$1(0, this.domains); + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._all_helices = false; + return b; }, - get$wireName: function() { - return "ErrorMessageSet"; - } + $signature: 192 }; - U._$SelectionBoxCreateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionBoxCreate._as(object); - return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.DeletionAdd.prototype = { + get$strand_part() { + return this.domain; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + clone_for_other_domain$1(domain) { + var t1 = type$.void_Function_DeletionAddBuilder._as(new A.DeletionAdd_clone_for_other_domain_closure(domain)), + t2 = new A.DeletionAddBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.DeletionAdd); + t2._$v = this; + type$.nullable_void_Function_DeletionAddBuilder._as(t1).call$1(t2); + return t2._build$0(); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new U.SelectionBoxCreateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_$this().set$_point(t2); - break; - case "toggle": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_toggle = t2; - break; - case "is_main": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_is_main = t2; - break; - } + short_description$0() { + return "add deletion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + A.DeletionAdd_clone_for_other_domain_closure.prototype = { + call$1(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + return b; + }, + $signature: 193 + }; + A.InsertionRemove.prototype = { + get$offset(_) { + return this.insertion.offset; + }, + get$strand_part() { + return this.domain; + }, + clone_for_other_domain$1(other_domain) { + var t2, + t1 = other_domain.insertions; + t1.toString; + t2 = t1.$ti; + return A.InsertionRemove_InsertionRemove(other_domain, B.JSArray_methods.firstWhere$2$orElse(t1._list, t2._eval$1("bool(1)")._as(new A.InsertionRemove_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null))); + }, + short_description$0() { + return "remove insertion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + A.InsertionRemove_clone_for_other_domain_closure.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset === this.$this.insertion.offset; + }, + $signature: 31 + }; + A.InsertionRemove_InsertionRemove_closure.prototype = { + call$1(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + t2 = b.get$insertion(); + t1 = this.insertion; + A.ArgumentError_checkNotNull(t1, "other", type$.Insertion); + t2._domain$_$v = t1; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 194 + }; + A.DeletionRemove.prototype = { + get$strand_part() { + return this.domain; + }, + clone_for_other_domain$1(other_domain) { + return A.DeletionRemove_DeletionRemove(other_domain, this.offset); + }, + short_description$0() { + return "remove deletion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + A.DeletionRemove_DeletionRemove_closure.prototype = { + call$1(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + b.get$_$this()._actions$_offset = this.offset; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 195 + }; + A.ScalePurificationVendorFieldsAssign.prototype = { + short_description$0() { + return "assign scale purification vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.PlateWellVendorFieldsAssign.prototype = { + short_description$0() { + return "assign plate well vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.PlateWellVendorFieldsRemove.prototype = { + short_description$0() { + return "remove plate well vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.VendorFieldsRemove.prototype = { + short_description$0() { + return "remove vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.ModificationAdd.prototype = { + short_description$0() { + return "add modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.ModificationRemove.prototype = { + short_description$0() { + return "remove modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.ModificationConnectorLengthSet.prototype = {$isAction: 1}; + A.ModificationEdit.prototype = { + short_description$0() { + return "edit modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.Modifications5PrimeEdit.prototype = { + short_description$0() { + return "edit 5' modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.Modifications5PrimeEdit_Modifications5PrimeEdit_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t2 = this.new_modification; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification5Prime); + t1._modification$_$v = t2; + return b; + }, + $signature: 196 + }; + A.Modifications3PrimeEdit.prototype = { + short_description$0() { + return "edit 3' modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.Modifications3PrimeEdit_Modifications3PrimeEdit_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t2 = this.new_modification; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification3Prime); + t1._modification$_$v = t2; + return b; + }, + $signature: 197 + }; + A.ModificationsInternalEdit.prototype = { + short_description$0() { + return "edit internal modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.ModificationsInternalEdit_ModificationsInternalEdit_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t2 = this.new_modification; + A.ArgumentError_checkNotNull(t2, "other", type$.ModificationInternal); + t1._modification$_$v = t2; + return b; + }, + $signature: 198 + }; + A.GridChange.prototype = { + short_description$0() { + return "change grid"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.GroupDisplayedChange.prototype = {$isAction: 1}; + A.GroupAdd.prototype = { + short_description$0() { + return "create new helix group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.GroupRemove.prototype = { + short_description$0() { + return "remove group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.GroupChange.prototype = { + short_description$0() { + return "adjust helix group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.MoveHelicesToGroup.prototype = { + short_description$0() { + return "move helices to group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.DialogShow.prototype = {$isAction: 1}; + A.DialogHide.prototype = {$isAction: 1}; + A.ContextMenuShow.prototype = {$isAction: 1}; + A.ContextMenuHide.prototype = {$isAction: 1}; + A.StrandOrSubstrandColorPickerShow.prototype = {$isAction: 1}; + A.StrandOrSubstrandColorPickerHide.prototype = {$isAction: 1}; + A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure.prototype = { + call$1(b) { + return b; + }, + $signature: 199 + }; + A.ScaffoldSet.prototype = { + short_description$0() { + return "set scaffold"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.StrandOrSubstrandColorSet.prototype = { + short_description$0() { + return "set strand or substrand color"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + A.StrandPasteKeepColorSet.prototype = {$isAction: 1}; + A.ExampleDesignsLoad.prototype = {$isAction: 1}; + A.BasePairTypeSet.prototype = {$isAction: 1}; + A.HelixPositionSet.prototype = { + short_description$0() { + return "set helix position"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelixGridPositionSet.prototype = { + get$helix_idx() { + return this.helix.idx; + }, + short_description$0() { + return "set helix grid position"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + A.HelicesPositionsSetBasedOnCrossovers.prototype = {$isAction: 1}; + A.InlineInsertionsDeletions.prototype = { + short_description$0() { + return "inline insertions/deletions"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + A.DefaultCrossoverTypeForSettingHelixRollsSet.prototype = {$isAction: 1}; + A.AutofitSet.prototype = {$isAction: 1}; + A.ShowHelixCirclesMainViewSet.prototype = {$isAction: 1}; + A.ShowHelixComponentsMainViewSet.prototype = {$isAction: 1}; + A.ShowEditMenuToggle.prototype = {$isAction: 1}; + A.ShowGridCoordinatesSideViewSet.prototype = {$isAction: 1}; + A.ShowAxisArrowsSet.prototype = {$isAction: 1}; + A.ShowLoopoutExtensionLengthSet.prototype = {$isAction: 1}; + A.LoadDnaSequenceImageUri.prototype = {$isAction: 1}; + A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure.prototype = { + call$1(b) { + b.get$_$this()._uri = this.uri; + b.get$_$this()._actions$_dna_sequence_png_horizontal_offset = this.dna_sequence_png_horizontal_offset; + b.get$_$this()._actions$_dna_sequence_png_vertical_offset = this.dna_sequence_png_vertical_offset; + return b; + }, + $signature: 200 + }; + A.SetIsZoomAboveThreshold.prototype = {$isAction: 1}; + A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_is_zoom_above_threshold = this.is_zoom_above_threshold; + return b; + }, + $signature: 201 + }; + A.SetExportSvgActionDelayedForPngCache.prototype = {$isAction: 1}; + A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure.prototype = { + call$1(b) { + var t2, + t1 = this.export_svg_action_delayed_for_png_cache; + if (t1 == null) + t1 = null; + else { + t2 = new A.ExportSvgBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.ExportSvg); + t2._$v = t1; + t1 = t2; } - return result.build$0(); + b.get$_$this()._actions$_export_svg_action_delayed_for_png_cache = t1; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 202 + }; + A.ShowBasePairLinesSet.prototype = {$isAction: 1}; + A.ShowBasePairLinesWithMismatchesSet.prototype = {$isAction: 1}; + A.ShowSliceBarSet.prototype = {$isAction: 1}; + A.ShowSliceBarSet_ShowSliceBarSet_closure.prototype = { + call$1(b) { + b.get$_$this()._show = this.show; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_a0G; + $signature: 203 + }; + A.SliceBarOffsetSet.prototype = {$isAction: 1}; + A.SliceBarOffsetSet_SliceBarOffsetSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_offset = this.offset; + return b; }, - get$wireName: function() { - return "SelectionBoxCreate"; - } + $signature: 204 + }; + A.DisablePngCachingDnaSequencesSet.prototype = {$isAction: 1}; + A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_disable_png_caching_dna_sequences = this.disable_png_caching_dna_sequences; + return b; + }, + $signature: 205 + }; + A.RetainStrandColorOnSelectionSet.prototype = {$isAction: 1}; + A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_retain_strand_color_on_selection = this.retain_strand_color_on_selection; + return b; + }, + $signature: 206 + }; + A.DisplayReverseDNARightSideUpSet.prototype = {$isAction: 1}; + A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure.prototype = { + call$1(b) { + b.get$_$this()._actions$_display_reverse_DNA_right_side_up = this.display_reverse_DNA_right_side_up; + return b; + }, + $signature: 207 + }; + A.SliceBarMoveStart.prototype = {$isAction: 1}; + A.SliceBarMoveStop.prototype = {$isAction: 1}; + A.Autostaple.prototype = {$isAction: 1}; + A.Autobreak.prototype = {$isAction: 1}; + A.Autobreak_Autobreak_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_$this()._target_length = _this.target_length; + b.get$_$this()._min_length = _this.min_length; + b.get$_$this()._max_length = _this.max_length; + b.get$_$this()._min_distance_to_xover = _this.min_distance_to_xover; + return b; + }, + $signature: 208 + }; + A.ZoomSpeedSet.prototype = {$isAction: 1}; + A.OxdnaExport.prototype = {$isAction: 1}; + A.OxdnaExport_OxdnaExport_closure.prototype = { + call$1(b) { + b.get$_$this()._selected_strands_only = this.selected_strands_only; + return b; + }, + $signature: 209 + }; + A.OxviewExport.prototype = {$isAction: 1}; + A.OxviewExport_OxviewExport_closure.prototype = { + call$1(b) { + b.get$_$this()._selected_strands_only = this.selected_strands_only; + return b; + }, + $signature: 210 }; - U._$SelectionBoxSizeChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionBoxSizeChange._as(object); - return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.OxExportOnlySelectedStrandsSet.prototype = {$isAction: 1}; + A._$UndoSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["num_undos", serializers.serialize$2$specifiedType(type$.Undo._as(object).num_undos, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.SelectionBoxSizeChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.UndoBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - $$v = result._$v; - if ($$v != null) { - result.set$_point($$v.point); - result._actions$_is_main = $$v.is_main; - result._$v = null; - } - result.set$_point(t2); - break; - case "is_main": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "num_undos": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); - result._actions$_is_main = $$v.is_main; + result._num_undos = $$v.num_undos; result._$v = null; } - result._actions$_is_main = t2; + result._num_undos = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_wEs; + get$types() { + return B.List_ab8; }, - get$wireName: function() { - return "SelectionBoxSizeChange"; + get$wireName() { + return "Undo"; } }; - U._$SelectionBoxRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["is_main", serializers.serialize$2$specifiedType(type$.legacy_SelectionBoxRemove._as(object).is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$RedoSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["num_redos", serializers.serialize$2$specifiedType(type$.Redo._as(object).num_redos, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SelectionBoxRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.RedoBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "is_main": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "num_redos": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_is_main = $$v.is_main; + result._num_redos = $$v.num_redos; result._$v = null; } - result._actions$_is_main = t1; + result._num_redos = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_jYc; + get$types() { + return B.List_Isn; }, - get$wireName: function() { - return "SelectionBoxRemove"; + get$wireName() { + return "Redo"; } }; - U._$SelectionRopeCreateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(type$.legacy_SelectionRopeCreate._as(object).toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$UndoRedoClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.UndoRedoClear._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.SelectionRopeCreateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$UndoRedoClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.UndoRedoClear); + return _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_O5Z; + }, + get$wireName() { + return "UndoRedoClear"; + } + }; + A._$BatchActionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.BatchAction._as(object); + return ["actions", serializers.serialize$2$specifiedType(object.actions, B.FullType_YGD), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, B.FullType_h8g)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.BatchActionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.UndoableAction, t3 = type$.List_UndoableAction, t4 = type$.ListBuilder_UndoableAction; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "toggle": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_toggle = $$v.toggle; - result._$v = null; + switch (t5) { + case "actions": + t5 = result.get$_$this(); + t6 = t5._actions; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_YGD); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); } - result._actions$_toggle = t1; + break; + case "short_description_value": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_$this()._short_description_value = t5; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_toggle; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectionRopeCreate", "toggle")); - _$result = U._$SelectionRopeCreate$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_WfA; + get$types() { + return B.List_AuK; }, - get$wireName: function() { - return "SelectionRopeCreate"; + get$wireName() { + return "BatchAction"; } }; - U._$SelectionRopeMouseMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionRopeMouseMove._as(object); - return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$ThrottledActionFastSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ThrottledActionFast._as(object); + return ["action", serializers.serialize$2$specifiedType(object.action, B.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - _s22_ = "SelectionRopeMouseMove", - result = new U.SelectionRopeMouseMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.ThrottledActionFastBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Action; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t2) { + case "action": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_3lI); + t2.toString; + t1._as(t2); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); - result._is_main_view = $$v.is_main_view; + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; result._$v = null; } - result.set$_point(t2); + result._action = t2; break; - case "is_main_view": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + case "interval_sec": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2.toString; + A._asDoubleS(t2); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); - result._is_main_view = $$v.is_main_view; + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; result._$v = null; } - result._is_main_view = t2; + result._interval_sec = t2; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "point")); - t2 = result.get$_$this()._is_main_view; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "is_main_view")); - _$result = U._$SelectionRopeMouseMove$_(t2, t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_wEo1; + get$types() { + return B.List_YLN; }, - get$wireName: function() { - return "SelectionRopeMouseMove"; + get$wireName() { + return "ThrottledActionFast"; } }; - U._$SelectionRopeAddPointSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionRopeAddPoint._as(object); - return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$ThrottledActionNonFastSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ThrottledActionNonFast._as(object); + return ["action", serializers.serialize$2$specifiedType(object.action, B.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - _s21_ = "SelectionRopeAddPoint", - result = new U.SelectionRopeAddPointBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.ThrottledActionNonFastBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Action; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t2) { + case "action": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_3lI); + t2.toString; + t1._as(t2); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); - result._is_main_view = $$v.is_main_view; + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; result._$v = null; } - result.set$_point(t2); + result._action = t2; break; - case "is_main_view": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + case "interval_sec": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2.toString; + A._asDoubleS(t2); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); - result._is_main_view = $$v.is_main_view; + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; result._$v = null; } - result._is_main_view = t2; + result._interval_sec = t2; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "point")); - t2 = result.get$_$this()._is_main_view; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "is_main_view")); - _$result = U._$SelectionRopeAddPoint$_(t2, t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_A2g; + get$types() { + return B.List_yJg; }, - get$wireName: function() { - return "SelectionRopeAddPoint"; - } - }; - U._$SelectionRopeRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionRopeRemove._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$SelectionRopeRemove(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_eDH; - }, - get$wireName: function() { - return "SelectionRopeRemove"; + get$wireName() { + return "ThrottledActionNonFast"; } }; - U._$MouseGridPositionSideUpdateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["grid_position", serializers.serialize$2$specifiedType(type$.legacy_MouseGridPositionSideUpdate._as(object).grid_position, C.FullType_q96)], type$.JSArray_legacy_Object); + A._$LocalStorageDesignChoiceSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["choice", serializers.serialize$2$specifiedType(type$.LocalStorageDesignChoiceSet._as(object).choice, B.FullType_UeR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.MouseGridPositionSideUpdateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_GridPosition; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.LocalStorageDesignChoiceSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.LocalStorageDesignChoice; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "grid_position": + switch (t2) { + case "choice": $$v = result._$v; if ($$v != null) { - t2 = $$v.grid_position; - t3 = new D.GridPositionBuilder(); - t3._grid_position$_$v = t2; - result._actions$_grid_position = t3; + t2 = $$v.choice; + t3 = new A.LocalStorageDesignChoiceBuilder(); + t3._local_storage_design_choice$_$v = t2; + result._choice = t3; result._$v = null; } - t2 = result._actions$_grid_position; + t2 = result._choice; if (t2 == null) - t2 = result._actions$_grid_position = new D.GridPositionBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._grid_position$_$v = t3; + t2 = result._choice = new A.LocalStorageDesignChoiceBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_UeR); + t3.toString; + t1._as(t3); + t2._local_storage_design_choice$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_u77; + get$types() { + return B.List_cKo; }, - get$wireName: function() { - return "MouseGridPositionSideUpdate"; + get$wireName() { + return "LocalStorageDesignChoiceSet"; } }; - U._$MouseGridPositionSideClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MouseGridPositionSideClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$ResetLocalStorageSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ResetLocalStorage._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.MouseGridPositionSideClearBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$ResetLocalStorage(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ResetLocalStorage); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Dn0; + get$types() { + return B.List_Zuu; }, - get$wireName: function() { - return "MouseGridPositionSideClear"; + get$wireName() { + return "ResetLocalStorage"; } }; - U._$MousePositionSideUpdateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["svg_pos", serializers.serialize$2$specifiedType(type$.legacy_MousePositionSideUpdate._as(object).svg_pos, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["clear", serializers.serialize$2$specifiedType(type$.ClearHelixSelectionWhenLoadingNewDesignSet._as(object).clear, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.MousePositionSideUpdateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.ClearHelixSelectionWhenLoadingNewDesignSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "svg_pos": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t1) { + case "clear": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result.set$_svg_pos($$v.svg_pos); + result._clear = $$v.clear; result._$v = null; } - result.set$_svg_pos(t2); + result._clear = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._svg_pos; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("MousePositionSideUpdate", "svg_pos")); - _$result = U._$MousePositionSideUpdate$_(t1); - } + if (_$result == null) + _$result = A._$ClearHelixSelectionWhenLoadingNewDesignSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._clear, string$.ClearH, "clear", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ClearHelixSelectionWhenLoadingNewDesignSet); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_L2O; + get$types() { + return B.List_U05; }, - get$wireName: function() { - return "MousePositionSideUpdate"; + get$wireName() { + return string$.ClearH; } }; - U._$MousePositionSideClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MousePositionSideClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A._$EditModeToggleSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["mode", serializers.serialize$2$specifiedType(type$.EditModeToggle._as(object).mode, B.FullType_eX4)]; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.MousePositionSideClearBuilder().build$0(); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_MCX; - }, - get$wireName: function() { - return "MousePositionSideClear"; - } - }; - U._$GeometrySetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["geometry", serializers.serialize$2$specifiedType(type$.legacy_GeometrySet._as(object).geometry, C.FullType_qNW)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.GeometrySetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Geometry; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.EditModeToggleBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.EditModeChoice; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "geometry": + switch (t2) { + case "mode": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_eX4); + t2.toString; + t1._as(t2); $$v = result._$v; if ($$v != null) { - t2 = $$v.geometry; - t2.toString; - t3 = new N.GeometryBuilder(); - t3._geometry$_$v = t2; - result._actions$_geometry = t3; + result._mode = $$v.mode; result._$v = null; } - t2 = result._actions$_geometry; - if (t2 == null) - t2 = result._actions$_geometry = new N.GeometryBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_qNW)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._geometry$_$v = t3; + result._mode = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_olV; + get$types() { + return B.List_q7D; }, - get$wireName: function() { - return "GeometrySet"; + get$wireName() { + return "EditModeToggle"; } }; - U._$SelectionBoxIntersectionRuleSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["intersect", serializers.serialize$2$specifiedType(type$.legacy_SelectionBoxIntersectionRuleSet._as(object).intersect, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$EditModesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["edit_modes", serializers.serialize$2$specifiedType(type$.EditModesSet._as(object).edit_modes, B.FullType_kiE)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.SelectionBoxIntersectionRuleSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, t4, + result = new A.EditModesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_EditModeChoice; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "intersect": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t3) { + case "edit_modes": $$v = result._$v; if ($$v != null) { - result._intersect = $$v.intersect; + t3 = $$v.edit_modes; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_actions$_edit_modes(new A.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); result._$v = null; } - result._intersect = t1; + t3 = result._actions$_edit_modes; + if (t3 == null) { + t3 = new A.SetBuilder(null, $, null, t2); + t3.replace$1(0, B.List_empty); + result.set$_actions$_edit_modes(t3); + } + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kiE); + t4.toString; + t3.replace$1(0, t1._as(t4)); break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._intersect; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectionBoxIntersectionRuleSet", "intersect")); - _$result = U._$SelectionBoxIntersectionRuleSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_7Ah; + get$types() { + return B.List_sI7; }, - get$wireName: function() { - return "SelectionBoxIntersectionRuleSet"; + get$wireName() { + return "EditModesSet"; } }; - U._$SelectSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Select._as(object); - return H.setRuntimeTypeInfo(["selectable", serializers.serialize$2$specifiedType(object.selectable, C.FullType_kn0), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "only", serializers.serialize$2$specifiedType(object.only, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SelectModeToggleSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["select_mode_choice", serializers.serialize$2$specifiedType(type$.SelectModeToggle._as(object).select_mode_choice, B.FullType_gg40)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new U.SelectBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.SelectModeToggleBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.SelectModeChoice; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "selectable": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kn0)); - result.get$_$this()._selectable = t2; - break; - case "toggle": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_toggle = t2; - break; - case "only": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._only = t2; + switch (t2) { + case "select_mode_choice": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_gg40); + t2.toString; + t1._as(t2); + $$v = result._$v; + if ($$v != null) { + result._select_mode_choice = $$v.select_mode_choice; + result._$v = null; + } + result._select_mode_choice = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_wEo0; + get$types() { + return B.List_ifn; }, - get$wireName: function() { - return "Select"; + get$wireName() { + return "SelectModeToggle"; } }; - U._$SelectionsClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionsClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SelectModesAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["modes", serializers.serialize$2$specifiedType(type$.SelectModesAdd._as(object).modes, B.FullType_AgZ)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.SelectionsClearBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.SelectModesAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.SelectModeChoice, t3 = type$.List_SelectModeChoice, t4 = type$.ListBuilder_SelectModeChoice; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t5) { + case "modes": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.modes; + t5.toString; + t6 = t5.$ti; + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_modes(t7); + result._$v = null; + } + t5 = result._actions$_modes; + if (t5 == null) { + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_modes(t5); + } + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_AgZ); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_cQL; + get$types() { + return B.List_ivT; }, - get$wireName: function() { - return "SelectionsClear"; + get$wireName() { + return "SelectModesAdd"; } }; - U._$SelectionsAdjustMainViewSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionsAdjustMainView._as(object); - return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "box", serializers.serialize$2$specifiedType(object.box, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SelectModesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["select_mode_choices", serializers.serialize$2$specifiedType(type$.SelectModesSet._as(object).select_mode_choices, B.FullType_2aQ)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, - _s24_ = "SelectionsAdjustMainView", - result = new U.SelectionsAdjustMainViewBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, t4, + result = new A.SelectModesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_SelectModeChoice; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "toggle": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t3) { + case "select_mode_choices": $$v = result._$v; if ($$v != null) { - result._actions$_toggle = $$v.toggle; - result._box = $$v.box; + t3 = $$v.select_mode_choices; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_select_mode_choices(new A.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); result._$v = null; } - result._actions$_toggle = t1; - break; - case "box": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_toggle = $$v.toggle; - result._box = $$v.box; - result._$v = null; + t3 = result._select_mode_choices; + if (t3 == null) { + t3 = new A.SetBuilder(null, $, null, t2); + t3.replace$1(0, B.List_empty); + result.set$_select_mode_choices(t3); } - result._box = t1; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_2aQ); + t4.toString; + t3.replace$1(0, t1._as(t4)); break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_toggle; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "toggle")); - t2 = result.get$_$this()._box; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "box")); - _$result = U._$SelectionsAdjustMainView$_(t2, t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_A9i; + get$types() { + return B.List_gsm0; }, - get$wireName: function() { - return "SelectionsAdjustMainView"; + get$wireName() { + return "SelectModesSet"; } }; - U._$SelectOrToggleItemsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectOrToggleItems._as(object); - return H.setRuntimeTypeInfo(["items", serializers.serialize$2$specifiedType(object.items, C.FullType_ox4), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandNameSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.StrandNameSet._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + value = object.name; + if (value != null) { + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.SelectOrToggleItemsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Selectable, t3 = type$.List_legacy_Selectable, t4 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.StrandNameSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "items": - t5 = result.get$_$this(); - t6 = t5._actions$_items; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_actions$_items(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + switch (t2) { + case "name": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._actions$_name = t2; break; - case "toggle": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_toggle = t5; + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new A.StrandBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ntz; + get$types() { + return B.List_ZYL; }, - get$wireName: function() { - return "SelectOrToggleItems"; + get$wireName() { + return "StrandNameSet"; } }; - U._$SelectAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectAll._as(object); - return H.setRuntimeTypeInfo(["selectables", serializers.serialize$2$specifiedType(object.selectables, C.FullType_ox4), "only", serializers.serialize$2$specifiedType(object.only, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandLabelSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.StrandLabelSet._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + value = object.label; + if (value != null) { + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.SelectAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Selectable, t3 = type$.List_legacy_Selectable, t4 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.StrandLabelSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "selectables": - t5 = result.get$_$this(); - t6 = t5._selectables; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_selectables(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + switch (t2) { + case "label": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._actions$_label = t2; break; - case "only": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._only = t5; + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new A.StrandBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_00; + get$types() { + return B.List_69P; }, - get$wireName: function() { - return "SelectAll"; + get$wireName() { + return "StrandLabelSet"; } }; - U._$SelectAllSelectableSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["current_helix_group_only", serializers.serialize$2$specifiedType(type$.legacy_SelectAllSelectable._as(object).current_helix_group_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SubstrandNameSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.SubstrandNameSet._as(object); + result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_S4t)]; + value = object.name; + if (value != null) { + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SelectAllSelectableBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, _$result, + result = new A.SubstrandNameSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Substrand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "current_helix_group_only": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "name": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); $$v = result._$v; if ($$v != null) { - result._current_helix_group_only = $$v.current_helix_group_only; + result._actions$_name = $$v.name; + result._substrand = $$v.substrand; result._$v = null; } - result._current_helix_group_only = t1; + result._actions$_name = t2; + break; + case "substrand": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_S4t); + t2.toString; + t1._as(t2); + $$v = result._$v; + if ($$v != null) { + result._actions$_name = $$v.name; + result._substrand = $$v.substrand; + result._$v = null; + } + result._substrand = t2; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$SubstrandNameSet$_(result.get$_$this()._actions$_name, A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._substrand, "SubstrandNameSet", "substrand", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.SubstrandNameSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_9ED; + get$types() { + return B.List_Ol2; }, - get$wireName: function() { - return "SelectAllSelectable"; + get$wireName() { + return "SubstrandNameSet"; } }; - U._$SelectAllWithSameAsSelectedSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectAllWithSameAsSelected._as(object); - return H.setRuntimeTypeInfo(["templates", serializers.serialize$2$specifiedType(object.templates, C.FullType_ox4), "traits", serializers.serialize$2$specifiedType(object.traits, C.FullType_mPa), "exclude_scaffolds", serializers.serialize$2$specifiedType(object.exclude_scaffolds, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SubstrandLabelSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.SubstrandLabelSet._as(object); + result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_S4t)]; + value = object.label; + if (value != null) { + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, - result = new U.SelectAllWithSameAsSelectedBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_SelectableTrait, t3 = type$.List_legacy_SelectableTrait, t4 = type$.ListBuilder_legacy_SelectableTrait, t5 = type$.legacy_Selectable, t6 = type$.List_legacy_Selectable, t7 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, _$result, + result = new A.SubstrandLabelSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Substrand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "templates": - t8 = result.get$_$this(); - t9 = t8._templates; - if (t9 == null) { - t9 = new D.ListBuilder(t7); - t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); - t9.set$_listOwner(_null); - t8.set$_templates(t9); - t8 = t9; - } else - t8 = t9; - t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); - t10 = t8.$ti; - t11 = t10._eval$1("_BuiltList<1>"); - t12 = t10._eval$1("List<1>"); - if (t11._is(t9)) { - t11._as(t9); - t8.set$__ListBuilder__list(t12._as(t9._list)); - t8.set$_listOwner(t9); - } else { - t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); - t8.set$_listOwner(_null); + switch (t2) { + case "label": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_label = $$v.label; + result._substrand = $$v.substrand; + result._$v = null; } + result._actions$_label = t2; break; - case "traits": - t8 = result.get$_$this(); - t9 = t8._traits; - if (t9 == null) { - t9 = new D.ListBuilder(t4); - t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t9.set$_listOwner(_null); - t8.set$_traits(t9); - t8 = t9; - } else - t8 = t9; - t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_mPa)); - t10 = t8.$ti; - t11 = t10._eval$1("_BuiltList<1>"); - t12 = t10._eval$1("List<1>"); - if (t11._is(t9)) { - t11._as(t9); - t8.set$__ListBuilder__list(t12._as(t9._list)); - t8.set$_listOwner(t9); - } else { - t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); - t8.set$_listOwner(_null); + case "substrand": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_S4t); + t2.toString; + t1._as(t2); + $$v = result._$v; + if ($$v != null) { + result._actions$_label = $$v.label; + result._substrand = $$v.substrand; + result._$v = null; } - break; - case "exclude_scaffolds": - t8 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._exclude_scaffolds = t8; + result._substrand = t2; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$SubstrandLabelSet$_(result.get$_$this()._actions$_label, A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._substrand, "SubstrandLabelSet", "substrand", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.SubstrandLabelSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_C43; + get$types() { + return B.List_ucM; }, - get$wireName: function() { - return "SelectAllWithSameAsSelected"; + get$wireName() { + return "SubstrandLabelSet"; } }; - U._$DeleteAllSelectedSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DeleteAllSelected._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SetAppUIStateStorableSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["storables", serializers.serialize$2$specifiedType(type$.SetAppUIStateStorable._as(object).storables, B.FullType_wEo)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.DeleteAllSelectedBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.SetAppUIStateStorableBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.AppUIStateStorables; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "storables": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.storables; + t2.toString; + t3 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t3); + t3._app_ui_state_storables$_$v = t2; + result._actions$_storables = t3; + result._$v = null; + } + t2 = result._actions$_storables; + if (t2 == null) { + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + result._actions$_storables = t2; + } + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wEo); + t3.toString; + t1._as(t3); + t2._app_ui_state_storables$_$v = t3; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_D7h; + get$types() { + return B.List_mOq; }, - get$wireName: function() { - return "DeleteAllSelected"; + get$wireName() { + return "SetAppUIStateStorable"; } }; - U._$HelixAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_HelixAdd._as(object); - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - value = object.grid_position; - if (value != null) { - C.JSArray_methods.add$1(result, "grid_position"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); - } - value = object.position; - if (value != null) { - C.JSArray_methods.add$1(result, "position"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_cgM)); - } - return result; + A._$ShowDNASetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowDNASet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.HelixAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Position3D, t2 = type$.legacy_GridPosition; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowDNASetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "grid_position": - t3 = result.get$_$this(); - t4 = t3._actions$_grid_position; - t3 = t4 == null ? t3._actions$_grid_position = new D.GridPositionBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._grid_position$_$v = t4; - break; - case "position": - t3 = result.get$_$this(); - t4 = t3._actions$_position; - t3 = t4 == null ? t3._actions$_position = new X.Position3DBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._position3d$_$v = t4; + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_xw8; + get$types() { + return B.List_Yap; }, - get$wireName: function() { - return "HelixAdd"; + get$wireName() { + return "ShowDNASet"; } }; - U._$HelixRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixRemove._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$ShowDomainNamesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainNamesSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.HelixRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowDomainNamesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; + result._show = $$v.show; result._$v = null; } - result._actions$_helix_idx = t1; + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Esr; + get$types() { + return B.List_Au4; }, - get$wireName: function() { - return "HelixRemove"; + get$wireName() { + return "ShowDomainNamesSet"; } }; - U._$HelixRemoveAllSelectedSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixRemoveAllSelected._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$ShowStrandNamesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandNamesSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixRemoveAllSelectedBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowStrandNamesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_aTx; + get$types() { + return B.List_dmq; }, - get$wireName: function() { - return "HelixRemoveAllSelected"; + get$wireName() { + return "ShowStrandNamesSet"; } }; - U._$HelixSelectSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixSelect._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$ShowStrandLabelsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandLabelsSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.HelixSelectBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowStrandLabelsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_toggle = $$v.toggle; - result._$v = null; - } - result._actions$_helix_idx = t1; - break; - case "toggle": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_toggle = $$v.toggle; + result._show = $$v.show; result._$v = null; } - result._actions$_toggle = t1; + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_MQk; + get$types() { + return B.List_Nw8; }, - get$wireName: function() { - return "HelixSelect"; + get$wireName() { + return "ShowStrandLabelsSet"; } }; - U._$HelixSelectionsClearSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixSelectionsClear._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$ShowDomainLabelsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainLabelsSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixSelectionsClearBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowDomainLabelsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_TfU; + get$types() { + return B.List_xTV; }, - get$wireName: function() { - return "HelixSelectionsClear"; + get$wireName() { + return "ShowDomainLabelsSet"; } }; - U._$HelixSelectionsAdjustSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixSelectionsAdjust._as(object); - return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "selection_box", serializers.serialize$2$specifiedType(object.selection_box, C.FullType_vfJ)], type$.JSArray_legacy_Object); + A._$ShowModificationsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowModificationsSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.HelixSelectionsAdjustBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_SelectionBox; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowModificationsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "toggle": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_toggle = t2; - break; - case "selection_box": - t2 = result.get$_$this(); - t3 = t2._selection_box; - t2 = t3 == null ? t2._selection_box = new E.SelectionBoxBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_vfJ)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._selection_box$_$v = t3; + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_qr1; + get$types() { + return B.List_urY; }, - get$wireName: function() { - return "HelixSelectionsAdjust"; + get$wireName() { + return "ShowModificationsSet"; } }; - U._$HelixMajorTickDistanceChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMajorTickDistanceChange._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_distance", serializers.serialize$2$specifiedType(object.major_tick_distance, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$DomainNameFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.DomainNameFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, - _s19_ = "major_tick_distance", - _s28_ = "HelixMajorTickDistanceChange", - result = new U.HelixMajorTickDistanceChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.DomainNameFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._major_tick_distance = $$v.major_tick_distance; - result._$v = null; - } - result._actions$_helix_idx = t1; - break; - case "major_tick_distance": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._major_tick_distance = $$v.major_tick_distance; + result._font_size = $$v.font_size; result._$v = null; } - result._major_tick_distance = t1; + result._font_size = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "helix_idx")); - t2 = result.get$_$this()._major_tick_distance; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, _s19_)); - _$result = U._$HelixMajorTickDistanceChange$_(t1, t2); - } + if (_$result == null) + _$result = A._$DomainNameFontSizeSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._font_size, "DomainNameFontSizeSet", "font_size", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.DomainNameFontSizeSet); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_yP5; + get$types() { + return B.List_cIf; }, - get$wireName: function() { - return "HelixMajorTickDistanceChange"; + get$wireName() { + return "DomainNameFontSizeSet"; } }; - U._$HelixMajorTickDistanceChangeAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["major_tick_distance", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickDistanceChangeAll._as(object).major_tick_distance, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$DomainLabelFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.DomainLabelFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s19_ = "major_tick_distance", - result = new U.HelixMajorTickDistanceChangeAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.DomainLabelFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "major_tick_distance": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); $$v = result._$v; if ($$v != null) { - result._major_tick_distance = $$v.major_tick_distance; + result._font_size = $$v.font_size; result._$v = null; } - result._major_tick_distance = t1; + result._font_size = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._major_tick_distance; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChangeAll", _s19_)); - _$result = U._$HelixMajorTickDistanceChangeAll$_(t1); - } + if (_$result == null) + _$result = A._$DomainLabelFontSizeSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._font_size, "DomainLabelFontSizeSet", "font_size", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.DomainLabelFontSizeSet); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Nws; + get$types() { + return B.List_M8C; }, - get$wireName: function() { - return "HelixMajorTickDistanceChangeAll"; + get$wireName() { + return "DomainLabelFontSizeSet"; } }; - U._$HelixMajorTickStartChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMajorTickStartChange._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$StrandNameFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.StrandNameFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, - _s16_ = "major_tick_start", - _s25_ = "HelixMajorTickStartChange", - result = new U.HelixMajorTickStartChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.StrandNameFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_major_tick_start = $$v.major_tick_start; - result._$v = null; - } - result._actions$_helix_idx = t1; - break; - case "major_tick_start": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; - result._actions$_major_tick_start = $$v.major_tick_start; + result._font_size = $$v.font_size; result._$v = null; } - result._actions$_major_tick_start = t1; + result._font_size = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "helix_idx")); - t2 = result.get$_$this()._actions$_major_tick_start; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, _s16_)); - _$result = U._$HelixMajorTickStartChange$_(t1, t2); - } + if (_$result == null) + _$result = A._$StrandNameFontSizeSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._font_size, "StrandNameFontSizeSet", "font_size", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandNameFontSizeSet); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ygQ; + get$types() { + return B.List_V0W; }, - get$wireName: function() { - return "HelixMajorTickStartChange"; + get$wireName() { + return "StrandNameFontSizeSet"; } }; - U._$HelixMajorTickStartChangeAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["major_tick_start", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickStartChangeAll._as(object).major_tick_start, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$StrandLabelFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.StrandLabelFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s16_ = "major_tick_start", - result = new U.HelixMajorTickStartChangeAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.StrandLabelFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "major_tick_start": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + $$v = result._$v; if ($$v != null) { - result._actions$_major_tick_start = $$v.major_tick_start; + result._font_size = $$v.font_size; result._$v = null; } - result._actions$_major_tick_start = t1; + result._font_size = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_major_tick_start; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickStartChangeAll", _s16_)); - _$result = U._$HelixMajorTickStartChangeAll$_(t1); - } + if (_$result == null) + _$result = A._$StrandLabelFontSizeSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._font_size, "StrandLabelFontSizeSet", "font_size", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandLabelFontSizeSet); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_YNa; + get$types() { + return B.List_oyn; }, - get$wireName: function() { - return "HelixMajorTickStartChangeAll"; + get$wireName() { + return "StrandLabelFontSizeSet"; } }; - U._$HelixMajorTicksChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMajorTicksChange._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_ticks", serializers.serialize$2$specifiedType(object.major_ticks, C.FullType_4QF0)], type$.JSArray_legacy_Object); + A._$ModificationFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.ModificationFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.HelixMajorTicksChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ModificationFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_helix_idx = t5; - break; - case "major_ticks": - t5 = result.get$_$this(); - t6 = t5._actions$_major_ticks; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_actions$_major_ticks(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; } + result._font_size = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ciW; + get$types() { + return B.List_wbQ; }, - get$wireName: function() { - return "HelixMajorTicksChange"; + get$wireName() { + return "ModificationFontSizeSet"; } }; - U._$HelixMajorTicksChangeAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["major_ticks", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTicksChangeAll._as(object).major_ticks, C.FullType_4QF0)], type$.JSArray_legacy_Object); + A._$MajorTickOffsetFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.MajorTickOffsetFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.HelixMajorTicksChangeAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.MajorTickOffsetFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "major_ticks": + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); $$v = result._$v; if ($$v != null) { - t5 = $$v.major_ticks; - t5.toString; - t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); - t8 = t6._eval$1("_BuiltList<1>"); - t9 = t6._eval$1("List<1>"); - if (t8._is(t5)) { - t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); - t7.set$_listOwner(t5); - } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); - t7.set$_listOwner(null); - } - result.set$_actions$_major_ticks(t7); + result._font_size = $$v.font_size; result._$v = null; } - t5 = result._actions$_major_ticks; - if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t5.set$_listOwner(null); - result.set$_actions$_major_ticks(t5); - } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + result._font_size = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_GxI; + get$types() { + return B.List_AW6; }, - get$wireName: function() { - return "HelixMajorTicksChangeAll"; + get$wireName() { + return "MajorTickOffsetFontSizeSet"; } }; - U._$HelixMajorTickPeriodicDistancesChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMajorTickPeriodicDistancesChange._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); + A._$MajorTickWidthFontSizeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["font_size", serializers.serialize$2$specifiedType(type$.MajorTickWidthFontSizeSet._as(object).font_size, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.HelixMajorTickPeriodicDistancesChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.MajorTickWidthFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_helix_idx = t5; - break; - case "major_tick_periodic_distances": - t5 = result.get$_$this(); - t6 = t5._actions$_major_tick_periodic_distances; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_actions$_major_tick_periodic_distances(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); + switch (t1) { + case "font_size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; } + result._font_size = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_GQ1; + get$types() { + return B.List_u9T; }, - get$wireName: function() { - return "HelixMajorTickPeriodicDistancesChange"; + get$wireName() { + return "MajorTickWidthFontSizeSet"; } }; - U._$HelixMajorTickPeriodicDistancesChangeAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["major_tick_periodic_distances", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(object).major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); + A._$SetModificationDisplayConnectorSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.SetModificationDisplayConnector._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.HelixMajorTickPeriodicDistancesChangeAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetModificationDisplayConnectorBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "major_tick_periodic_distances": + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - t5 = $$v.major_tick_periodic_distances; - t5.toString; - t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); - t8 = t6._eval$1("_BuiltList<1>"); - t9 = t6._eval$1("List<1>"); - if (t8._is(t5)) { - t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); - t7.set$_listOwner(t5); - } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); - t7.set$_listOwner(null); - } - result.set$_actions$_major_tick_periodic_distances(t7); + result._show = $$v.show; result._$v = null; } - t5 = result._actions$_major_tick_periodic_distances; - if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t5.set$_listOwner(null); - result.set$_actions$_major_tick_periodic_distances(t5); - } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_QVp; + get$types() { + return B.List_e1J; }, - get$wireName: function() { - return "HelixMajorTickPeriodicDistancesChangeAll"; + get$wireName() { + return "SetModificationDisplayConnector"; } }; - U._$HelixIdxsChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["idx_replacements", serializers.serialize$2$specifiedType(type$.legacy_HelixIdxsChange._as(object).idx_replacements, C.FullType_oyU)], type$.JSArray_legacy_Object); + A._$ShowMismatchesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowMismatchesSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.HelixIdxsChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "idx_replacements": + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.idx_replacements; - t2.toString; - t3 = t2.$ti; - t3._eval$1("_BuiltMap<1,2>")._as(t2); - result.set$_idx_replacements(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._show = $$v.show; result._$v = null; } - t2 = result._idx_replacements; - if (t2 == null) { - t2 = new A.MapBuilder(null, $, null, t1); - t2.replace$1(0, C.Map_empty); - result.set$_idx_replacements(t2); - } - t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_CrS; + get$types() { + return B.List_P2J; }, - get$wireName: function() { - return "HelixIdxsChange"; + get$wireName() { + return "ShowMismatchesSet"; } }; - U._$HelixOffsetChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_HelixOffsetChange._as(object); - result = H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.min_offset; - if (value != null) { - C.JSArray_methods.add$1(result, "min_offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - value = object.max_offset; - if (value != null) { - C.JSArray_methods.add$1(result, "max_offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; + A._$ShowDomainNameMismatchesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_domain_name_mismatches", serializers.serialize$2$specifiedType(type$.ShowDomainNameMismatchesSet._as(object).show_domain_name_mismatches, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, _$result, t2, - result = new U.HelixOffsetChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowDomainNameMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_helix_idx = t1; - break; - case "min_offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_min_offset = t1; - break; - case "max_offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_max_offset = t1; + switch (t1) { + case "show_domain_name_mismatches": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; + result._$v = null; + } + result._actions$_show_domain_name_mismatches = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixOffsetChange", "helix_idx")); - t2 = result.get$_$this()._actions$_min_offset; - _$result = U._$HelixOffsetChange$_(t1, result.get$_$this()._actions$_max_offset, t2); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_EIw; + get$types() { + return B.List_aZ8; }, - get$wireName: function() { - return "HelixOffsetChange"; + get$wireName() { + return "ShowDomainNameMismatchesSet"; } }; - U._$HelixMinOffsetSetByDomainsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixMinOffsetSetByDomains._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$ShowUnpairedInsertionDeletionsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(type$.ShowUnpairedInsertionDeletionsSet._as(object).show_unpaired_insertion_deletions, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.HelixMinOffsetSetByDomainsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowUnpairedInsertionDeletionsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "show_unpaired_insertion_deletions": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; + result._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; result._$v = null; } - result._actions$_helix_idx = t1; + result._actions$_show_unpaired_insertion_deletions = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMinOffsetSetByDomains", "helix_idx")); - _$result = U._$HelixMinOffsetSetByDomains$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_QG0; + get$types() { + return B.List_7Re; }, - get$wireName: function() { - return "HelixMinOffsetSetByDomains"; + get$wireName() { + return "ShowUnpairedInsertionDeletionsSet"; } }; - U._$HelixMaxOffsetSetByDomainsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixMaxOffsetSetByDomains._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$OxviewShowSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.OxviewShowSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.HelixMaxOffsetSetByDomainsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.OxviewShowSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_helix_idx = $$v.helix_idx; + result._show = $$v.show; result._$v = null; } - result._actions$_helix_idx = t1; + result._show = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMaxOffsetSetByDomains", "helix_idx")); - _$result = U._$HelixMaxOffsetSetByDomains$_(t1); - } - return result._$v = _$result; - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_kmC0; - }, - get$wireName: function() { - return "HelixMaxOffsetSetByDomains"; - } - }; - U._$HelixMinOffsetSetByDomainsAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMinOffsetSetByDomainsAll._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixMinOffsetSetByDomainsAllBuilder().build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_q96; + get$types() { + return B.List_W7l; }, - get$wireName: function() { - return "HelixMinOffsetSetByDomainsAll"; - } - }; - U._$HelixMaxOffsetSetByDomainsAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMaxOffsetSetByDomainsAll._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixMaxOffsetSetByDomainsAllBuilder().build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_2Vu; - }, - get$wireName: function() { - return "HelixMaxOffsetSetByDomainsAll"; + get$wireName() { + return "OxviewShowSet"; } }; - U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_SRR; + get$types() { + return B.List_kzZ; }, - get$wireName: function() { - return "HelixMaxOffsetSetByDomainsAllSameMax"; + get$wireName() { + return string$.SetDis; } }; - U._$HelixOffsetChangeAllSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_HelixOffsetChangeAll._as(object); - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - value = object.min_offset; - if (value != null) { - C.JSArray_methods.add$1(result, "min_offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - value = object.max_offset; - if (value != null) { - C.JSArray_methods.add$1(result, "max_offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; + A._$DisplayMajorTicksOffsetsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.DisplayMajorTicksOffsetsSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.HelixOffsetChangeAllBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.DisplayMajorTicksOffsetsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "min_offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_min_offset = $$v.min_offset; - result._actions$_max_offset = $$v.max_offset; - result._$v = null; - } - result._actions$_min_offset = t1; - break; - case "max_offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_min_offset = $$v.min_offset; - result._actions$_max_offset = $$v.max_offset; + result._show = $$v.show; result._$v = null; } - result._actions$_max_offset = t1; + result._show = t1; break; } } - _$result = result._$v; - if (_$result == null) - _$result = new U._$HelixOffsetChangeAll(result.get$_$this()._actions$_min_offset, result.get$_$this()._actions$_max_offset); - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_P50; + get$types() { + return B.List_TfG; }, - get$wireName: function() { - return "HelixOffsetChangeAll"; + get$wireName() { + return "DisplayMajorTicksOffsetsSet"; } }; - U._$ShowMouseoverRectSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMouseoverRectSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SetDisplayMajorTickWidthsAllHelicesSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidthsAllHelices._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ShowMouseoverRectSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetDisplayMajorTickWidthsAllHelicesBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { result._show = $$v.show; @@ -83380,16530 +80179,16964 @@ break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowMouseoverRectSet", "show")); - _$result = new U._$ShowMouseoverRectSet(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_qKv; + get$types() { + return B.List_gJ1; }, - get$wireName: function() { - return "ShowMouseoverRectSet"; + get$wireName() { + return "SetDisplayMajorTickWidthsAllHelices"; } }; - U._$ShowMouseoverRectToggleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ShowMouseoverRectToggle._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SetDisplayMajorTickWidthsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidths._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$ShowMouseoverRectToggle(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetDisplayMajorTickWidthsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Wvz; + get$types() { + return B.List_U7q; }, - get$wireName: function() { - return "ShowMouseoverRectToggle"; + get$wireName() { + return "SetDisplayMajorTickWidths"; } }; - U._$ExportDNASerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_ExportDNA._as(object); - result = H.setRuntimeTypeInfo(["include_scaffold", serializers.serialize$2$specifiedType(object.include_scaffold, C.FullType_MtR), "include_only_selected_strands", serializers.serialize$2$specifiedType(object.include_only_selected_strands, C.FullType_MtR), "exclude_selected_strands", serializers.serialize$2$specifiedType(object.exclude_selected_strands, C.FullType_MtR), "export_dna_format", serializers.serialize$2$specifiedType(object.export_dna_format, C.FullType_Otz), "column_major_strand", serializers.serialize$2$specifiedType(object.column_major_strand, C.FullType_MtR), "column_major_plate", serializers.serialize$2$specifiedType(object.column_major_plate, C.FullType_MtR), "delimiter", serializers.serialize$2$specifiedType(object.delimiter, C.FullType_h8g), "domain_delimiter", serializers.serialize$2$specifiedType(object.domain_delimiter, C.FullType_h8g)], type$.JSArray_legacy_Object); - value = object.strand_order; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_order"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kaS)); - } - return result; + A._$SetOnlyDisplaySelectedHelicesSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["only_display_selected_helices", serializers.serialize$2$specifiedType(type$.SetOnlyDisplaySelectedHelices._as(object).only_display_selected_helices, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, - result = new U.ExportDNABuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_StrandOrder, t2 = type$.legacy_ExportDNAFormat; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetOnlyDisplaySelectedHelicesBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "include_scaffold": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._include_scaffold = t3; - break; - case "include_only_selected_strands": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._include_only_selected_strands = t3; - break; - case "exclude_selected_strands": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._exclude_selected_strands = t3; - break; - case "export_dna_format": - t3 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Otz)); - result.get$_$this()._export_dna_format = t3; - break; - case "strand_order": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kaS)); - result.get$_$this()._strand_order = t3; - break; - case "column_major_strand": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._column_major_strand = t3; - break; - case "column_major_plate": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._column_major_plate = t3; - break; - case "delimiter": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._delimiter = t3; - break; - case "domain_delimiter": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._domain_delimiter = t3; + switch (t1) { + case "only_display_selected_helices": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_only_display_selected_helices = $$v.only_display_selected_helices; + result._$v = null; + } + result._actions$_only_display_selected_helices = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_EVy; + get$types() { + return B.List_HFe; }, - get$wireName: function() { - return "ExportDNA"; + get$wireName() { + return "SetOnlyDisplaySelectedHelices"; } }; - U._$ExportSvgSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["type", serializers.serialize$2$specifiedType(type$.legacy_ExportSvg._as(object).type, C.FullType_A0M)], type$.JSArray_legacy_Object); + A._$InvertYSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["invert_y", serializers.serialize$2$specifiedType(type$.InvertYSet._as(object).invert_y, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.ExportSvgBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_ExportSvgType; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.InvertYSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "type": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_A0M)); + switch (t1) { + case "invert_y": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._type = $$v.type; + result._actions$_invert_y = $$v.invert_y; result._$v = null; } - result._type = t2; + result._actions$_invert_y = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$InvertYSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_invert_y, "InvertYSet", "invert_y", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.InvertYSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_oBb; + get$types() { + return B.List_Db0; }, - get$wireName: function() { - return "ExportSvg"; + get$wireName() { + return "InvertYSet"; } }; - U._$ExportSvgTextSeparatelySetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["export_svg_text_separately", serializers.serialize$2$specifiedType(type$.legacy_ExportSvgTextSeparatelySet._as(object).export_svg_text_separately, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DynamicHelixUpdateSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["dynamically_update_helices", serializers.serialize$2$specifiedType(type$.DynamicHelixUpdateSet._as(object).dynamically_update_helices, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ExportSvgTextSeparatelySetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s26_ = "dynamically_update_helices", + result = new A.DynamicHelixUpdateSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "export_svg_text_separately": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "dynamically_update_helices": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + result._actions$_dynamically_update_helices = $$v.dynamically_update_helices; result._$v = null; } - result._actions$_export_svg_text_separately = t1; + result._actions$_dynamically_update_helices = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$DynamicHelixUpdateSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_dynamically_update_helices, "DynamicHelixUpdateSet", _s26_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.DynamicHelixUpdateSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_cIc; + get$types() { + return B.List_bD1; }, - get$wireName: function() { - return "ExportSvgTextSeparatelySet"; + get$wireName() { + return "DynamicHelixUpdateSet"; } }; - U._$ExtensionDisplayLengthAngleSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExtensionDisplayLengthAngleSet._as(object); - return H.setRuntimeTypeInfo(["ext", serializers.serialize$2$specifiedType(object.ext, C.FullType_gT2), "display_length", serializers.serialize$2$specifiedType(object.display_length, C.FullType_2ru), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, C.FullType_2ru)], type$.JSArray_legacy_Object); + A._$WarnOnExitIfUnsavedSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["warn", serializers.serialize$2$specifiedType(type$.WarnOnExitIfUnsavedSet._as(object).warn, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.ExtensionDisplayLengthAngleSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Extension; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.WarnOnExitIfUnsavedSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "ext": - t2 = result.get$_$this(); - t3 = t2._ext; - t2 = t3 == null ? t2._ext = new S.ExtensionBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._extension$_$v = t3; - break; - case "display_length": - t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_$this()._actions$_display_length = t2; - break; - case "display_angle": - t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_$this()._actions$_display_angle = t2; + switch (t1) { + case "warn": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._warn = $$v.warn; + result._$v = null; + } + result._warn = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$WarnOnExitIfUnsavedSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._warn, "WarnOnExitIfUnsavedSet", "warn", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.WarnOnExitIfUnsavedSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_0RG; + get$types() { + return B.List_SQp; }, - get$wireName: function() { - return "ExtensionDisplayLengthAngleSet"; + get$wireName() { + return "WarnOnExitIfUnsavedSet"; } }; - U._$ExtensionAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExtensionAdd._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, C.FullType_MtR), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$LoadingDialogShowSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.LoadingDialogShow._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.ExtensionAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strand": - t2 = result.get$_$this(); - t3 = t2._strand; - t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; - break; - case "is_5p": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_is_5p = t2; - break; - case "num_bases": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_num_bases = t2; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$LoadingDialogShow(); + A.ArgumentError_checkNotNull(_$result, "other", type$.LoadingDialogShow); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_tI7; + get$types() { + return B.List_t3J; }, - get$wireName: function() { - return "ExtensionAdd"; + get$wireName() { + return "LoadingDialogShow"; } }; - U._$ExtensionNumBasesChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExtensionNumBasesChange._as(object); - return H.setRuntimeTypeInfo(["ext", serializers.serialize$2$specifiedType(object.ext, C.FullType_gT2), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$LoadingDialogHideSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.LoadingDialogHide._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.ExtensionNumBasesChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Extension; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "ext": - t2 = result.get$_$this(); - t3 = t2._ext; - t2 = t3 == null ? t2._ext = new S.ExtensionBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._extension$_$v = t3; - break; - case "num_bases": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_num_bases = t2; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$LoadingDialogHide(); + A.ArgumentError_checkNotNull(_$result, "other", type$.LoadingDialogHide); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_WjS; + get$types() { + return B.List_wEo; }, - get$wireName: function() { - return "ExtensionNumBasesChange"; + get$wireName() { + return "LoadingDialogHide"; } }; - U._$ExtensionsNumBasesChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExtensionsNumBasesChange._as(object); - return H.setRuntimeTypeInfo(["extensions", serializers.serialize$2$specifiedType(object.extensions, C.FullType_gg4), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$CopySelectedStandsToClipboardImageSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.CopySelectedStandsToClipboardImage._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.ExtensionsNumBasesChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Extension, t3 = type$.List_legacy_Extension, t4 = type$.ListBuilder_legacy_Extension; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "extensions": - t5 = result.get$_$this(); - t6 = t5._extensions; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_extensions(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } - break; - case "num_bases": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_num_bases = t5; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.CopySelectedStandsToClipboardImageBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_mtF; + get$types() { + return B.List_IIj; }, - get$wireName: function() { - return "ExtensionsNumBasesChange"; + get$wireName() { + return "CopySelectedStandsToClipboardImage"; } }; - U._$LoopoutLengthChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_LoopoutLengthChange._as(object); - return H.setRuntimeTypeInfo(["loopout", serializers.serialize$2$specifiedType(object.loopout, C.FullType_Ttf), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$SaveDNAFileSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SaveDNAFile._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.LoopoutLengthChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Loopout; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "loopout": - t2 = result.get$_$this(); - t3 = t2._loopout; - t2 = t3 == null ? t2._loopout = new G.LoopoutBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Ttf)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._loopout$_$v = t3; - break; - case "num_bases": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_num_bases = t2; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.SaveDNAFileBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_IFE; + get$types() { + return B.List_dDf; }, - get$wireName: function() { - return "LoopoutLengthChange"; + get$wireName() { + return "SaveDNAFile"; } }; - U._$LoopoutsLengthChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_LoopoutsLengthChange._as(object); - return H.setRuntimeTypeInfo(["loopouts", serializers.serialize$2$specifiedType(object.loopouts, C.FullType_H9I), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.LoopoutsLengthChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Loopout, t3 = type$.List_legacy_Loopout, t4 = type$.ListBuilder_legacy_Loopout; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "loopouts": - t5 = result.get$_$this(); - t6 = t5._loopouts; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_loopouts(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_H9I)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } - break; - case "length": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_length = t5; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_kTd; - }, - get$wireName: function() { - return "LoopoutsLengthChange"; - } - }; - U._$ConvertCrossoverToLoopoutSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A._$LoadDNAFileSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_ConvertCrossoverToLoopout._as(object); - result = H.setRuntimeTypeInfo(["crossover", serializers.serialize$2$specifiedType(object.crossover, C.FullType_jPf), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.dna_sequence; + type$.LoadDNAFile._as(object); + result = ["content", serializers.serialize$2$specifiedType(object.content, B.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, B.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, B.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, B.FullType_8L0)]; + value = object.filename; if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + result.push("filename"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.ConvertCrossoverToLoopoutBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Crossover; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, + result = new A.LoadDNAFileBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAFileType; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "crossover": - t2 = result.get$_$this(); - t3 = t2._crossover; - t2 = t3 == null ? t2._crossover = new T.CrossoverBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_jPf)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._crossover$_$v = t3; + switch (t2) { + case "content": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + result.get$_$this()._content = t2; break; - case "length": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_length = t2; + case "write_local_storage": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._write_local_storage = t2; break; - case "dna_sequence": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._actions$_dna_sequence = t2; + case "unit_testing": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._unit_testing = t2; + break; + case "dna_file_type": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_8L0); + t2.toString; + t1._as(t2); + result.get$_$this()._dna_file_type = t2; + break; + case "filename": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._filename = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_KeE; + get$types() { + return B.List_MIe; }, - get$wireName: function() { - return "ConvertCrossoverToLoopout"; + get$wireName() { + return "LoadDNAFile"; } }; - U._$ConvertCrossoversToLoopoutsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ConvertCrossoversToLoopouts._as(object); - return H.setRuntimeTypeInfo(["crossovers", serializers.serialize$2$specifiedType(object.crossovers, C.FullType_EOY), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$PrepareToLoadDNAFileSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.PrepareToLoadDNAFile._as(object); + result = ["content", serializers.serialize$2$specifiedType(object.content, B.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, B.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, B.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, B.FullType_8L0)]; + value = object.filename; + if (value != null) { + result.push("filename"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.ConvertCrossoversToLoopoutsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Crossover, t3 = type$.List_legacy_Crossover, t4 = type$.ListBuilder_legacy_Crossover; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, + result = new A.PrepareToLoadDNAFileBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAFileType; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "crossovers": - t5 = result.get$_$this(); - t6 = t5._crossovers; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_crossovers(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EOY)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + switch (t2) { + case "content": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + result.get$_$this()._content = t2; break; - case "length": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_length = t5; + case "write_local_storage": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._write_local_storage = t2; + break; + case "unit_testing": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._unit_testing = t2; + break; + case "dna_file_type": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_8L0); + t2.toString; + t1._as(t2); + result.get$_$this()._dna_file_type = t2; + break; + case "filename": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._filename = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_SLS; + get$types() { + return B.List_nFv; }, - get$wireName: function() { - return "ConvertCrossoversToLoopouts"; + get$wireName() { + return "PrepareToLoadDNAFile"; } }; - U._$NickSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Nick._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$NewDesignSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.NewDesignSet._as(object); + return ["design", serializers.serialize$2$specifiedType(object.design, B.FullType_WnR), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, B.FullType_h8g)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.NickBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.NewDesignSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Design; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "domain": + switch (t2) { + case "design": t2 = result.get$_$this(); - t3 = t2._actions$_domain; - t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; + t3 = t2._actions$_design; + if (t3 == null) { + t3 = new A.DesignBuilder(); + A.Design__initializeBuilder(t3); + t2._actions$_design = t3; + t2 = t3; + } else + t2 = t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_WnR); + t3.toString; + t1._as(t3); + t2._design0$_$v = t3; break; - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_offset = t2; + case "short_description_value": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + result.get$_$this()._short_description_value = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_5sE; + get$types() { + return B.List_RyU; }, - get$wireName: function() { - return "Nick"; + get$wireName() { + return "NewDesignSet"; } }; - U._$LigateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(type$.legacy_Ligate._as(object).dna_end, C.FullType_QR4)], type$.JSArray_legacy_Object); + A._$ExportCadnanoFileSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["whitespace", serializers.serialize$2$specifiedType(type$.ExportCadnanoFile._as(object).whitespace, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.LigateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.ExportCadnanoFileBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dna_end": + switch (t1) { + case "whitespace": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.dna_end; - t3 = new Z.DNAEndBuilder(); - t3._dna_end$_$v = t2; - result._actions$_dna_end = t3; + result._whitespace = $$v.whitespace; result._$v = null; } - t2 = result._actions$_dna_end; - if (t2 == null) - t2 = result._actions$_dna_end = new Z.DNAEndBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_end$_$v = t3; + result._whitespace = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$ExportCadnanoFile$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._whitespace, "ExportCadnanoFile", "whitespace", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportCadnanoFile); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_7BT; + get$types() { + return B.List_IGS; }, - get$wireName: function() { - return "Ligate"; + get$wireName() { + return "ExportCadnanoFile"; } }; - U._$JoinStrandsByCrossoverSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_JoinStrandsByCrossover._as(object); - return H.setRuntimeTypeInfo(["dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, C.FullType_QR4), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, C.FullType_QR4)], type$.JSArray_legacy_Object); + A._$ExportCodenanoFileSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExportCodenanoFile._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.JoinStrandsByCrossoverBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "dna_end_first_click": - t2 = result.get$_$this(); - t3 = t2._actions$_dna_end_first_click; - t2 = t3 == null ? t2._actions$_dna_end_first_click = new Z.DNAEndBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_end$_$v = t3; - break; - case "dna_end_second_click": - t2 = result.get$_$this(); - t3 = t2._dna_end_second_click; - t2 = t3 == null ? t2._dna_end_second_click = new Z.DNAEndBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_end$_$v = t3; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$ExportCodenanoFile(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportCodenanoFile); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_mq4; + get$types() { + return B.List_avb; }, - get$wireName: function() { - return "JoinStrandsByCrossover"; + get$wireName() { + return "ExportCodenanoFile"; } }; - U._$MoveLinkerSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MoveLinker._as(object); - return H.setRuntimeTypeInfo(["potential_crossover", serializers.serialize$2$specifiedType(object.potential_crossover, C.FullType_gkc), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, C.FullType_QR4)], type$.JSArray_legacy_Object); + A._$ShowMouseoverDataSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverDataSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.MoveLinkerBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEnd, t2 = type$.legacy_PotentialCrossover; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowMouseoverDataSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "potential_crossover": - t3 = result.get$_$this(); - t4 = t3._potential_crossover; - t3 = t4 == null ? t3._potential_crossover = new S.PotentialCrossoverBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_gkc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._potential_crossover$_$v = t4; - break; - case "dna_end_second_click": - t3 = result.get$_$this(); - t4 = t3._dna_end_second_click; - t3 = t4 == null ? t3._dna_end_second_click = new Z.DNAEndBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._dna_end$_$v = t4; + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_W34; + get$types() { + return B.List_5HG; }, - get$wireName: function() { - return "MoveLinker"; + get$wireName() { + return "ShowMouseoverDataSet"; } }; - U._$JoinStrandsByMultipleCrossoversSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_JoinStrandsByMultipleCrossovers._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$MouseoverDataClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MouseoverDataClear._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.JoinStrandsByMultipleCrossoversBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.MouseoverDataClearBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_43h0; + get$types() { + return B.List_07o; }, - get$wireName: function() { - return "JoinStrandsByMultipleCrossovers"; + get$wireName() { + return "MouseoverDataClear"; } }; - U._$StrandsReflectSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsReflect._as(object); - return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "horizontal", serializers.serialize$2$specifiedType(object.horizontal, C.FullType_MtR), "reverse_polarity", serializers.serialize$2$specifiedType(object.reverse_polarity, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$MouseoverDataUpdateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["mouseover_params", serializers.serialize$2$specifiedType(type$.MouseoverDataUpdate._as(object).mouseover_params, B.FullType_AFm)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.StrandsReflectBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.MouseoverDataUpdateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.MouseoverParams, t3 = type$.List_MouseoverParams, t4 = type$.ListBuilder_MouseoverParams; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strands": - t5 = result.get$_$this(); - t6 = t5._actions$_strands; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_actions$_strands(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + switch (t5) { + case "mouseover_params": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.mouseover_params; + t5.toString; + t6 = t5.$ti; + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_mouseover_params(t7); + result._$v = null; + } + t5 = result._mouseover_params; + if (t5 == null) { + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_mouseover_params(t5); + } + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_AFm); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; - case "horizontal": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._horizontal = t5; - break; - case "reverse_polarity": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._reverse_polarity = t5; - break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_wwi; + get$types() { + return B.List_GVa; }, - get$wireName: function() { - return "StrandsReflect"; + get$wireName() { + return "MouseoverDataUpdate"; } }; - U._$ReplaceStrandsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["new_strands", serializers.serialize$2$specifiedType(type$.legacy_ReplaceStrands._as(object).new_strands, C.FullType_vpC)], type$.JSArray_legacy_Object); + A._$HelixRollSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixRollSet._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.ReplaceStrandsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s12_ = "HelixRollSet", + result = new A.HelixRollSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "new_strands": + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.new_strands; - t2.toString; - t3 = t2.$ti; - t3._eval$1("_BuiltMap<1,2>")._as(t2); - result.set$_new_strands(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_roll = $$v.roll; result._$v = null; } - t2 = result._new_strands; - if (t2 == null) { - t2 = new A.MapBuilder(null, $, null, t1); - t2.replace$1(0, C.Map_empty); - result.set$_new_strands(t2); + result._actions$_helix_idx = t1; + break; + case "roll": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_roll = $$v.roll; + result._$v = null; } - t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_vpC)); + result._actions$_roll = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixRollSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, _s12_, "helix_idx", type$.int), A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_roll, _s12_, "roll", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixRollSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_yS0; + get$types() { + return B.List_4QF; }, - get$wireName: function() { - return "ReplaceStrands"; + get$wireName() { + return "HelixRollSet"; } }; - U._$StrandCreateStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandCreateStart._as(object); - return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + A._$HelixRollSetAtOtherSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixRollSetAtOther._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "helix_other_idx", serializers.serialize$2$specifiedType(object.helix_other_idx, B.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR), "anchor", serializers.serialize$2$specifiedType(object.anchor, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.StrandCreateStartBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.HelixRollSetAtOtherBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "address": - t3 = result.get$_$this(); - t4 = t3._actions$_address; - t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._address$_$v = t4; + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._actions$_helix_idx = t1; break; - case "color": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_$this()._actions$_color = t3; + case "helix_other_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._helix_other_idx = t1; + break; + case "forward": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_$this()._actions$_forward = t1; + break; + case "anchor": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._anchor = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_IbS; + get$types() { + return B.List_AyI1; }, - get$wireName: function() { - return "StrandCreateStart"; + get$wireName() { + return "HelixRollSetAtOther"; } }; - U._$StrandCreateAdjustOffsetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(type$.legacy_StrandCreateAdjustOffset._as(object).offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$RelaxHelixRollsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["only_selected", serializers.serialize$2$specifiedType(type$.RelaxHelixRolls._as(object).only_selected, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.StrandCreateAdjustOffsetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.RelaxHelixRollsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "only_selected": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_offset = $$v.offset; + result._only_selected = $$v.only_selected; result._$v = null; } - result._actions$_offset = t1; + result._only_selected = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_offset; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandCreateAdjustOffset", "offset")); - _$result = U._$StrandCreateAdjustOffset$_(t1); - } + if (_$result == null) + _$result = A._$RelaxHelixRolls$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._only_selected, "RelaxHelixRolls", "only_selected", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.RelaxHelixRolls); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_5Bm; + get$types() { + return B.List_IYw; }, - get$wireName: function() { - return "StrandCreateAdjustOffset"; + get$wireName() { + return "RelaxHelixRolls"; } }; - U._$StrandCreateStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandCreateStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$ErrorMessageSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result = [], + value = type$.ErrorMessageSet._as(object).error_message; + if (value != null) { + result.push("error_message"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.StrandCreateStopBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ErrorMessageSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "error_message": + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_error_message = $$v.error_message; + result._$v = null; + } + result._actions$_error_message = t1; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_goM; + get$types() { + return B.List_a3r; }, - get$wireName: function() { - return "StrandCreateStop"; + get$wireName() { + return "ErrorMessageSet"; } }; - U._$StrandCreateCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandCreateCommit._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "start", serializers.serialize$2$specifiedType(object.start, C.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + A._$SelectionBoxCreateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionBoxCreate._as(object); + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_laS), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, _$result, t3, t4, t5, - _s18_ = "StrandCreateCommit", - result = new U.StrandCreateCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, + result = new A.SelectionBoxCreateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_helix_idx = t2; - break; - case "start": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_start = t2; - break; - case "end": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_end = t2; + switch (t3) { + case "point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + result.get$_$this().set$_point(t3); break; - case "forward": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_forward = t2; + case "toggle": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._actions$_toggle = t3; break; - case "color": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_$this()._actions$_color = t2; + case "is_main": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._actions$_is_main = t3; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); - t2 = result.get$_$this()._actions$_start; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "start")); - t3 = result.get$_$this()._actions$_end; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "end")); - t4 = result.get$_$this()._actions$_forward; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward")); - t5 = result.get$_$this()._actions$_color; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "color")); - _$result = U._$StrandCreateCommit$_(t5, t3, t4, t1, t2); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_HYb; + get$types() { + return B.List_a0G; }, - get$wireName: function() { - return "StrandCreateCommit"; + get$wireName() { + return "SelectionBoxCreate"; } }; - U._$PotentialCrossoverCreateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["potential_crossover", serializers.serialize$2$specifiedType(type$.legacy_PotentialCrossoverCreate._as(object).potential_crossover, C.FullType_gkc)], type$.JSArray_legacy_Object); + A._$SelectionBoxSizeChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionBoxSizeChange._as(object); + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_laS), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.PotentialCrossoverCreateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_PotentialCrossover; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, + result = new A.SelectionBoxSizeChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "potential_crossover": + switch (t3) { + case "point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); $$v = result._$v; if ($$v != null) { - t2 = $$v.potential_crossover; - t2.toString; - t3 = new S.PotentialCrossoverBuilder(); - t3._potential_crossover$_$v = t2; - result._potential_crossover = t3; + result.set$_point($$v.point); + result._actions$_is_main = $$v.is_main; result._$v = null; } - t2 = result._potential_crossover; - if (t2 == null) - t2 = result._potential_crossover = new S.PotentialCrossoverBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gkc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._potential_crossover$_$v = t3; + result.set$_point(t3); + break; + case "is_main": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._actions$_is_main = $$v.is_main; + result._$v = null; + } + result._actions$_is_main = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Uxx; + get$types() { + return B.List_wEs; }, - get$wireName: function() { - return "PotentialCrossoverCreate"; + get$wireName() { + return "SelectionBoxSizeChange"; } }; - U._$PotentialCrossoverMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(type$.legacy_PotentialCrossoverMove._as(object).point, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$SelectionBoxRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["is_main", serializers.serialize$2$specifiedType(type$.SelectionBoxRemove._as(object).is_main, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.PotentialCrossoverMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SelectionBoxRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t1) { + case "is_main": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result.set$_point($$v.point); + result._actions$_is_main = $$v.is_main; result._$v = null; } - result.set$_point(t2); + result._actions$_is_main = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("PotentialCrossoverMove", "point")); - _$result = U._$PotentialCrossoverMove$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_FIw; + get$types() { + return B.List_jYc; }, - get$wireName: function() { - return "PotentialCrossoverMove"; + get$wireName() { + return "SelectionBoxRemove"; } }; - U._$PotentialCrossoverRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_PotentialCrossoverRemove._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SelectionRopeCreateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["toggle", serializers.serialize$2$specifiedType(type$.SelectionRopeCreate._as(object).toggle, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.PotentialCrossoverRemoveBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.SelectionRopeCreateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "toggle": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_toggle = $$v.toggle; + result._$v = null; + } + result._actions$_toggle = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) + _$result = A._$SelectionRopeCreate$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_toggle, "SelectionRopeCreate", "toggle", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionRopeCreate); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_rv4; + get$types() { + return B.List_WfA; }, - get$wireName: function() { - return "PotentialCrossoverRemove"; + get$wireName() { + return "SelectionRopeCreate"; } }; - U._$ManualPasteInitiateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ManualPasteInitiate._as(object); - return H.setRuntimeTypeInfo(["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, C.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SelectionRopeMouseMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionRopeMouseMove._as(object); + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_laS), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ManualPasteInitiateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + _s22_ = "SelectionRopeMouseMove", + result = new A.SelectionRopeMouseMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "clipboard_content": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + switch (t3) { + case "point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); $$v = result._$v; if ($$v != null) { - result._clipboard_content = $$v.clipboard_content; - result._in_browser = $$v.in_browser; + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; result._$v = null; } - result._clipboard_content = t1; + result.set$_point(t3); break; - case "in_browser": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + case "is_main_view": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); $$v = result._$v; if ($$v != null) { - result._clipboard_content = $$v.clipboard_content; - result._in_browser = $$v.in_browser; + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; result._$v = null; } - result._in_browser = t1; + result._is_main_view = t3; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t1 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._point, _s22_, "point", t1); + _$result = A._$SelectionRopeMouseMove$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._is_main_view, _s22_, "is_main_view", type$.bool), t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionRopeMouseMove); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_fXI; + get$types() { + return B.List_wEo1; }, - get$wireName: function() { - return "ManualPasteInitiate"; + get$wireName() { + return "SelectionRopeMouseMove"; } }; - U._$AutoPasteInitiateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_AutoPasteInitiate._as(object); - return H.setRuntimeTypeInfo(["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, C.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SelectionRopeAddPointSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionRopeAddPoint._as(object); + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_laS), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.AutoPasteInitiateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + _s21_ = "SelectionRopeAddPoint", + result = new A.SelectionRopeAddPointBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "clipboard_content": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + switch (t3) { + case "point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); $$v = result._$v; if ($$v != null) { - result._clipboard_content = $$v.clipboard_content; - result._in_browser = $$v.in_browser; + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; result._$v = null; } - result._clipboard_content = t1; + result.set$_point(t3); break; - case "in_browser": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + case "is_main_view": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); $$v = result._$v; if ($$v != null) { - result._clipboard_content = $$v.clipboard_content; - result._in_browser = $$v.in_browser; + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; result._$v = null; } - result._in_browser = t1; + result._is_main_view = t3; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t1 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._point, _s21_, "point", t1); + _$result = A._$SelectionRopeAddPoint$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._is_main_view, _s21_, "is_main_view", type$.bool), t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionRopeAddPoint); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_1yH; + get$types() { + return B.List_A2g; }, - get$wireName: function() { - return "AutoPasteInitiate"; + get$wireName() { + return "SelectionRopeAddPoint"; } }; - U._$CopySelectedStrandsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_CopySelectedStrands._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SelectionRopeRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionRopeRemove._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.CopySelectedStrandsBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$SelectionRopeRemove(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionRopeRemove); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_HJj; + get$types() { + return B.List_eDH; }, - get$wireName: function() { - return "CopySelectedStrands"; + get$wireName() { + return "SelectionRopeRemove"; } }; - U._$StrandsMoveStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsMoveStart._as(object); - return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + A._$MouseGridPositionSideUpdateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["grid_position", serializers.serialize$2$specifiedType(type$.MouseGridPositionSideUpdate._as(object).grid_position, B.FullType_q96)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, key, value, t7, t8, t9, t10, t11, _null = null, - result = new U.StrandsMoveStartBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address, t3 = type$.legacy_BuiltList_legacy_Object, t4 = type$.legacy_Strand, t5 = type$.List_legacy_Strand, t6 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.MouseGridPositionSideUpdateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.GridPosition; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strands": - t7 = result.get$_$this(); - t8 = t7._actions$_strands; - if (t8 == null) { - t8 = new D.ListBuilder(t6); - t8.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); - t8.set$_listOwner(_null); - t7.set$_actions$_strands(t8); - t7 = t8; - } else - t7 = t8; - t8 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); - t9 = t7.$ti; - t10 = t9._eval$1("_BuiltList<1>"); - t11 = t9._eval$1("List<1>"); - if (t10._is(t8)) { - t10._as(t8); - t7.set$__ListBuilder__list(t11._as(t8._list)); - t7.set$_listOwner(t8); - } else { - t7.set$__ListBuilder__list(t11._as(P.List_List$from(t8, true, t9._precomputed1))); - t7.set$_listOwner(_null); + switch (t2) { + case "grid_position": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.grid_position; + t3 = new A.GridPositionBuilder(); + t3._grid_position$_$v = t2; + result._actions$_grid_position = t3; + result._$v = null; } - break; - case "address": - t7 = result.get$_$this(); - t8 = t7._actions$_address; - t7 = t8 == null ? t7._actions$_address = new Z.AddressBuilder() : t8; - t8 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t8 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t7._address$_$v = t8; - break; - case "copy": - t7 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_copy = t7; - break; - case "original_helices_view_order_inverse": - t7 = result.get$_$this(); - t8 = t7._actions$_original_helices_view_order_inverse; - if (t8 == null) { - t8 = new A.MapBuilder(_null, $, _null, t1); - t8.replace$1(0, C.Map_empty); - t7.set$_actions$_original_helices_view_order_inverse(t8); - t7 = t8; - } else - t7 = t8; - t7.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + t2 = result._actions$_grid_position; + if (t2 == null) + t2 = result._actions$_grid_position = new A.GridPositionBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t3.toString; + t1._as(t3); + t2._grid_position$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_nz1; + get$types() { + return B.List_u77; }, - get$wireName: function() { - return "StrandsMoveStart"; + get$wireName() { + return "MouseGridPositionSideUpdate"; + } + }; + A._$MouseGridPositionSideClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MouseGridPositionSideClear._as(object); + return []; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.MouseGridPositionSideClearBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Dn0; + }, + get$wireName() { + return "MouseGridPositionSideClear"; } }; - U._$StrandsMoveStartSelectedStrandsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsMoveStartSelectedStrands._as(object); - return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + A._$MousePositionSideUpdateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["svg_pos", serializers.serialize$2$specifiedType(type$.MousePositionSideUpdate._as(object).svg_pos, B.FullType_laS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.StrandsMoveStartSelectedStrandsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + result = new A.MousePositionSideUpdateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "address": - t3 = result.get$_$this(); - t4 = t3._actions$_address; - t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._address$_$v = t4; - break; - case "copy": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_copy = t3; - break; - case "original_helices_view_order_inverse": - t3 = result.get$_$this(); - t4 = t3._actions$_original_helices_view_order_inverse; - if (t4 == null) { - t4 = new A.MapBuilder(null, $, null, t1); - t4.replace$1(0, C.Map_empty); - t3.set$_actions$_original_helices_view_order_inverse(t4); - t3 = t4; - } else - t3 = t4; - t3.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + switch (t3) { + case "svg_pos": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + $$v = result._$v; + if ($$v != null) { + result.set$_svg_pos($$v.svg_pos); + result._$v = null; + } + result.set$_svg_pos(t3); break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$MousePositionSideUpdate$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._svg_pos, "MousePositionSideUpdate", "svg_pos", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.MousePositionSideUpdate); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_aJC; + get$types() { + return B.List_L2O; }, - get$wireName: function() { - return "StrandsMoveStartSelectedStrands"; + get$wireName() { + return "MousePositionSideUpdate"; } }; - U._$StrandsMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$MousePositionSideClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MousePositionSideClear._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.StrandsMoveStopBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.MousePositionSideClearBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_egL; + get$types() { + return B.List_MCX; }, - get$wireName: function() { - return "StrandsMoveStop"; + get$wireName() { + return "MousePositionSideClear"; } }; - U._$StrandsMoveAdjustAddressSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(type$.legacy_StrandsMoveAdjustAddress._as(object).address, C.FullType_KlG)], type$.JSArray_legacy_Object); + A._$GeometrySetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["geometry", serializers.serialize$2$specifiedType(type$.GeometrySet._as(object).geometry, B.FullType_qNW)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.StrandsMoveAdjustAddressBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.GeometrySetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Geometry; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "address": + switch (t2) { + case "geometry": $$v = result._$v; if ($$v != null) { - t2 = $$v.address; - t3 = new Z.AddressBuilder(); - t3._address$_$v = t2; - result._actions$_address = t3; + t2 = $$v.geometry; + t2.toString; + t3 = new A.GeometryBuilder(); + t3._geometry$_$v = t2; + result._actions$_geometry = t3; result._$v = null; } - t2 = result._actions$_address; + t2 = result._actions$_geometry; if (t2 == null) - t2 = result._actions$_address = new Z.AddressBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._address$_$v = t3; + t2 = result._actions$_geometry = new A.GeometryBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t3.toString; + t1._as(t3); + t2._geometry$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_G7M; + get$types() { + return B.List_olV; }, - get$wireName: function() { - return "StrandsMoveAdjustAddress"; + get$wireName() { + return "GeometrySet"; } }; - U._$StrandsMoveCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsMoveCommit._as(object); - return H.setRuntimeTypeInfo(["strands_move", serializers.serialize$2$specifiedType(object.strands_move, C.FullType_VSS), "autopaste", serializers.serialize$2$specifiedType(object.autopaste, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$SelectionBoxIntersectionRuleSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["intersect", serializers.serialize$2$specifiedType(type$.SelectionBoxIntersectionRuleSet._as(object).intersect, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.StrandsMoveCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_StrandsMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.SelectionBoxIntersectionRuleSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strands_move": - t2 = result.get$_$this(); - t3 = t2._actions$_strands_move; - t2 = t3 == null ? t2._actions$_strands_move = new U.StrandsMoveBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_VSS)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strands_move$_$v = t3; - break; - case "autopaste": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._autopaste = t2; + switch (t1) { + case "intersect": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._intersect = $$v.intersect; + result._$v = null; + } + result._intersect = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$SelectionBoxIntersectionRuleSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._intersect, "SelectionBoxIntersectionRuleSet", "intersect", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionBoxIntersectionRuleSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_YZn; + get$types() { + return B.List_7Ah; }, - get$wireName: function() { - return "StrandsMoveCommit"; + get$wireName() { + return "SelectionBoxIntersectionRuleSet"; } }; - U._$DomainsMoveStartSelectedDomainsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DomainsMoveStartSelectedDomains._as(object); - return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + A._$SelectSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Select._as(object); + return ["selectable", serializers.serialize$2$specifiedType(object.selectable, B.FullType_kn0), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "only", serializers.serialize$2$specifiedType(object.only, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.DomainsMoveStartSelectedDomainsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, + result = new A.SelectBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Selectable; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "address": - t3 = result.get$_$this(); - t4 = t3._actions$_address; - t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._address$_$v = t4; + switch (t2) { + case "selectable": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kn0); + t2.toString; + t1._as(t2); + result.get$_$this()._selectable = t2; break; - case "original_helices_view_order_inverse": - t3 = result.get$_$this(); - t4 = t3._actions$_original_helices_view_order_inverse; - if (t4 == null) { - t4 = new A.MapBuilder(null, $, null, t1); - t4.replace$1(0, C.Map_empty); - t3.set$_actions$_original_helices_view_order_inverse(t4); - t3 = t4; - } else - t3 = t4; - t3.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + case "toggle": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._actions$_toggle = t2; + break; + case "only": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._only = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_wsf; + get$types() { + return B.List_wEo0; }, - get$wireName: function() { - return "DomainsMoveStartSelectedDomains"; + get$wireName() { + return "Select"; } }; - U._$DomainsMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DomainsMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$SelectionsClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionsClear._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.DomainsMoveStopBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.SelectionsClearBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_gDw; + get$types() { + return B.List_cQL; }, - get$wireName: function() { - return "DomainsMoveStop"; + get$wireName() { + return "SelectionsClear"; } }; - U._$DomainsMoveAdjustAddressSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(type$.legacy_DomainsMoveAdjustAddress._as(object).address, C.FullType_KlG)], type$.JSArray_legacy_Object); + A._$SelectionsAdjustMainViewSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionsAdjustMainView._as(object); + return ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "box", serializers.serialize$2$specifiedType(object.box, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.DomainsMoveAdjustAddressBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, t2, + _s24_ = "SelectionsAdjustMainView", + result = new A.SelectionsAdjustMainViewBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "address": + switch (t1) { + case "toggle": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.address; - t3 = new Z.AddressBuilder(); - t3._address$_$v = t2; - result._actions$_address = t3; + result._actions$_toggle = $$v.toggle; + result._box = $$v.box; result._$v = null; } - t2 = result._actions$_address; - if (t2 == null) - t2 = result._actions$_address = new Z.AddressBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._address$_$v = t3; + result._actions$_toggle = t1; + break; + case "box": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_toggle = $$v.toggle; + result._box = $$v.box; + result._$v = null; + } + result._box = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_toggle, _s24_, "toggle", t1); + _$result = A._$SelectionsAdjustMainView$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._box, _s24_, "box", t1), t2); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionsAdjustMainView); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ssD; + get$types() { + return B.List_A9i; }, - get$wireName: function() { - return "DomainsMoveAdjustAddress"; + get$wireName() { + return "SelectionsAdjustMainView"; } }; - U._$DomainsMoveCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["domains_move", serializers.serialize$2$specifiedType(type$.legacy_DomainsMoveCommit._as(object).domains_move, C.FullType_KIf)], type$.JSArray_legacy_Object); + A._$SelectOrToggleItemsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectOrToggleItems._as(object); + return ["items", serializers.serialize$2$specifiedType(object.items, B.FullType_ox4), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.DomainsMoveCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DomainsMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.SelectOrToggleItemsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Selectable, t3 = type$.List_Selectable, t4 = type$.ListBuilder_Selectable; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "domains_move": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.domains_move; - t2.toString; - t3 = new V.DomainsMoveBuilder(); - t3._domains_move$_$v = t2; - result._actions$_domains_move = t3; - result._$v = null; + switch (t5) { + case "items": + t5 = result.get$_$this(); + t6 = t5._actions$_items; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_items(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_ox4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); } - t2 = result._actions$_domains_move; - if (t2 == null) - t2 = result._actions$_domains_move = new V.DomainsMoveBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KIf)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domains_move$_$v = t3; + break; + case "toggle": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_$this()._actions$_toggle = t5; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_0; + get$types() { + return B.List_ntz; }, - get$wireName: function() { - return "DomainsMoveCommit"; + get$wireName() { + return "SelectOrToggleItems"; } }; - U._$DNAEndsMoveStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAEndsMoveStart._as(object); - return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + A._$SelectAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectAll._as(object); + return ["selectables", serializers.serialize$2$specifiedType(object.selectables, B.FullType_ox4), "only", serializers.serialize$2$specifiedType(object.only, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.DNAEndsMoveStartBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Helix; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.SelectAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Selectable, t3 = type$.List_Selectable, t4 = type$.ListBuilder_Selectable; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_offset = t2; - break; - case "helix": - t2 = result.get$_$this(); - t3 = t2._actions$_helix; - if (t3 == null) { - t3 = new O.HelixBuilder(); - t3.get$_helix$_$this()._group = "default_group"; - t3.get$_helix$_$this()._min_offset = 0; - t3.get$_helix$_$this()._roll = 0; - t2._actions$_helix = t3; - t2 = t3; + switch (t5) { + case "selectables": + t5 = result.get$_$this(); + t6 = t5._selectables; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_selectables(t6); + t5 = t6; } else - t2 = t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._helix$_$v = t3; + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_ox4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "only": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_$this()._only = t5; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ifL; + get$types() { + return B.List_00; }, - get$wireName: function() { - return "DNAEndsMoveStart"; + get$wireName() { + return "SelectAll"; } }; - U._$DNAEndsMoveSetSelectedEndsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAEndsMoveSetSelectedEnds._as(object); - return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, C.FullType_Y8O)], type$.JSArray_legacy_Object); + A._$SelectAllSelectableSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["current_helix_group_only", serializers.serialize$2$specifiedType(type$.SelectAllSelectable._as(object).current_helix_group_only, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, - result = new U.DNAEndsMoveSetSelectedEndsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_Strand, t3 = type$.legacy_Helix, t4 = type$.legacy_BuiltList_legacy_Object, t5 = type$.legacy_DNAEndMove, t6 = type$.List_legacy_DNAEndMove, t7 = type$.ListBuilder_legacy_DNAEndMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SelectAllSelectableBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "moves": + switch (t1) { + case "current_helix_group_only": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._current_helix_group_only = $$v.current_helix_group_only; + result._$v = null; + } + result._current_helix_group_only = t1; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_9ED; + }, + get$wireName() { + return "SelectAllSelectable"; + } + }; + A._$SelectAllStrandsWithSameAsSelectedSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectAllStrandsWithSameAsSelected._as(object); + return ["template_strands", serializers.serialize$2$specifiedType(object.template_strands, B.FullType_2No), "traits", serializers.serialize$2$specifiedType(object.traits, B.FullType_mPa), "exclude_scaffolds", serializers.serialize$2$specifiedType(object.exclude_scaffolds, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, value, t9, t10, t11, t12, _null = null, + result = new A.SelectAllStrandsWithSameAsSelectedBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.SelectableTrait, t3 = type$.List_SelectableTrait, t4 = type$.ListBuilder_SelectableTrait, t5 = type$.Strand, t6 = type$.List_Strand, t7 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t8 = iterator.get$current(iterator); + t8.toString; + A._asStringS(t8); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t8) { + case "template_strands": t8 = result.get$_$this(); - t9 = t8._actions$_moves; + t9 = t8._template_strands; if (t9 == null) { - t9 = new D.ListBuilder(t7); - t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); + t9 = new A.ListBuilder(t7); + t9.set$__ListBuilder__list_A(t6._as(A.List_List$from(B.List_empty, true, t5))); t9.set$_listOwner(_null); - t8.set$_actions$_moves(t9); + t8.set$_template_strands(t9); t8 = t9; } else t8 = t9; - t9 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_TgZ)); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t9.toString; + t1._as(t9); t10 = t8.$ti; t11 = t10._eval$1("_BuiltList<1>"); t12 = t10._eval$1("List<1>"); if (t11._is(t9)) { t11._as(t9); - t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$__ListBuilder__list_A(t12._as(t9._list)); t8.set$_listOwner(t9); } else { - t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$__ListBuilder__list_A(t12._as(A.List_List$from(t9, true, t10._precomputed1))); t8.set$_listOwner(_null); } break; - case "original_offset": - t8 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_original_offset = t8; - break; - case "helix": + case "traits": t8 = result.get$_$this(); - t9 = t8._actions$_helix; + t9 = t8._traits; if (t9 == null) { - t9 = new O.HelixBuilder(); - t9.get$_helix$_$this()._group = "default_group"; - t9.get$_helix$_$this()._min_offset = 0; - t9.get$_helix$_$this()._roll = 0; - t8._actions$_helix = t9; + t9 = new A.ListBuilder(t4); + t9.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t9.set$_listOwner(_null); + t8.set$_traits(t9); t8 = t9; } else t8 = t9; - t9 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t9 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t8._helix$_$v = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mPa); + t9.toString; + t1._as(t9); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list_A(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list_A(t12._as(A.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } break; - case "strands_affected": - t8 = result.get$_$this(); - t9 = t8._strands_affected; - if (t9 == null) { - t9 = new X.SetBuilder(_null, $, _null, t2); - t9.replace$1(0, C.List_empty); - t8.set$_strands_affected(t9); - t8 = t9; - } else - t8 = t9; - t8.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Y8O))); + case "exclude_scaffolds": + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t8.toString; + A._asBoolS(t8); + result.get$_$this()._exclude_scaffolds = t8; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_6Hc; + get$types() { + return B.List_egL; }, - get$wireName: function() { - return "DNAEndsMoveSetSelectedEnds"; + get$wireName() { + return "SelectAllStrandsWithSameAsSelected"; } }; - U._$DNAEndsMoveAdjustOffsetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(type$.legacy_DNAEndsMoveAdjustOffset._as(object).offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$DeleteAllSelectedSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DeleteAllSelected._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.DNAEndsMoveAdjustOffsetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_offset = $$v.offset; - result._$v = null; - } - result._actions$_offset = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_offset; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveAdjustOffset", "offset")); - _$result = U._$DNAEndsMoveAdjustOffset$_(t1); - } - return result._$v = _$result; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.DeleteAllSelectedBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_CZB; + get$types() { + return B.List_D7h; }, - get$wireName: function() { - return "DNAEndsMoveAdjustOffset"; + get$wireName() { + return "DeleteAllSelected"; } }; - U._$DNAEndsMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAEndsMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$HelixAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.HelixAdd._as(object); + result = []; + value = object.grid_position; + if (value != null) { + result.push("grid_position"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_q96)); + } + value = object.position; + if (value != null) { + result.push("position"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_cgM)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$DNAEndsMoveStop(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.HelixAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Position3D, t2 = type$.GridPosition; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "grid_position": + t3 = result.get$_$this(); + t4 = t3._actions$_grid_position; + t3 = t4 == null ? t3._actions$_grid_position = new A.GridPositionBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t4.toString; + t2._as(t4); + t3._grid_position$_$v = t4; + break; + case "position": + t3 = result.get$_$this(); + t4 = t3._actions$_position; + t3 = t4 == null ? t3._actions$_position = new A.Position3DBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t4.toString; + t1._as(t4); + t3._position3d$_$v = t4; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_kmC; + get$types() { + return B.List_xw8; }, - get$wireName: function() { - return "DNAEndsMoveStop"; + get$wireName() { + return "HelixAdd"; } }; - U._$DNAEndsMoveCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["dna_ends_move", serializers.serialize$2$specifiedType(type$.legacy_DNAEndsMoveCommit._as(object).dna_ends_move, C.FullType_gg9)], type$.JSArray_legacy_Object); + A._$HelixRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixRemove._as(object).helix_idx, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.DNAEndsMoveCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEndsMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.HelixRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dna_ends_move": + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.dna_ends_move; - t2.toString; - t3 = new B.DNAEndsMoveBuilder(); - t3._dna_ends_move$_$v = t2; - result._dna_ends_move = t3; + result._actions$_helix_idx = $$v.helix_idx; result._$v = null; } - t2 = result._dna_ends_move; - if (t2 == null) - t2 = result._dna_ends_move = new B.DNAEndsMoveBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg9)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_ends_move$_$v = t3; + result._actions$_helix_idx = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_9pj; + get$types() { + return B.List_Esr; }, - get$wireName: function() { - return "DNAEndsMoveCommit"; + get$wireName() { + return "HelixRemove"; } }; - U._$DNAExtensionsMoveStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAExtensionsMoveStart._as(object); - return H.setRuntimeTypeInfo(["start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + A._$HelixRemoveAllSelectedSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixRemoveAllSelected._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.DNAExtensionsMoveStartBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Helix, t2 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "start_point": - t3 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_$this().set$_actions$_start_point(t3); - break; - case "helix": - t3 = result.get$_$this(); - t4 = t3._actions$_helix; - if (t4 == null) { - t4 = new O.HelixBuilder(); - t4.get$_helix$_$this()._group = "default_group"; - t4.get$_helix$_$this()._min_offset = 0; - t4.get$_helix$_$this()._roll = 0; - t3._actions$_helix = t4; - t3 = t4; - } else - t3 = t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._helix$_$v = t4; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixRemoveAllSelectedBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_SbI; + get$types() { + return B.List_aTx; }, - get$wireName: function() { - return "DNAExtensionsMoveStart"; + get$wireName() { + return "HelixRemoveAllSelected"; } }; - U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(object); - return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_j5B), "original_point", serializers.serialize$2$specifiedType(object.original_point, C.FullType_8eb), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, C.FullType_Y8O), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + A._$HelixSelectSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixSelect._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, - result = new U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Helix, t2 = type$.legacy_BuiltSet_legacy_Object, t3 = type$.SetBuilder_legacy_Strand, t4 = type$.legacy_Point_legacy_num, t5 = type$.legacy_BuiltList_legacy_Object, t6 = type$.legacy_DNAExtensionMove, t7 = type$.List_legacy_DNAExtensionMove, t8 = type$.ListBuilder_legacy_DNAExtensionMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.HelixSelectBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "moves": - t9 = result.get$_$this(); - t10 = t9._actions$_moves; - if (t10 == null) { - t10 = new D.ListBuilder(t8); - t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t10.set$_listOwner(_null); - t9.set$_actions$_moves(t10); - t9 = t10; - } else - t9 = t10; - t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_j5B)); - t11 = t9.$ti; - t12 = t11._eval$1("_BuiltList<1>"); - t13 = t11._eval$1("List<1>"); - if (t12._is(t10)) { - t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); - t9.set$_listOwner(t10); - } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); - t9.set$_listOwner(_null); + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_toggle = $$v.toggle; + result._$v = null; } + result._actions$_helix_idx = t1; break; - case "original_point": - t9 = t4._as(t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_$this().set$_original_point(t9); - break; - case "strands_affected": - t9 = result.get$_$this(); - t10 = t9._strands_affected; - if (t10 == null) { - t10 = new X.SetBuilder(_null, $, _null, t3); - t10.replace$1(0, C.List_empty); - t9.set$_strands_affected(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Y8O))); - break; - case "helix": - t9 = result.get$_$this(); - t10 = t9._actions$_helix; - if (t10 == null) { - t10 = new O.HelixBuilder(); - t10.get$_helix$_$this()._group = "default_group"; - t10.get$_helix$_$this()._min_offset = 0; - t10.get$_helix$_$this()._roll = 0; - t9._actions$_helix = t10; - t9 = t10; - } else - t9 = t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t9._helix$_$v = t10; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_43h; - }, - get$wireName: function() { - return string$.DNAExt; - } - }; - U._$DNAExtensionsMoveAdjustPositionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["position", serializers.serialize$2$specifiedType(type$.legacy_DNAExtensionsMoveAdjustPosition._as(object).position, C.FullType_8eb)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.DNAExtensionsMoveAdjustPositionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "position": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + case "toggle": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result.set$_actions$_position(0, $$v.position); + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_toggle = $$v.toggle; result._$v = null; } - result.set$_actions$_position(0, t2); + result._actions$_toggle = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_position; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveAdjustPosition", "position")); - _$result = U._$DNAExtensionsMoveAdjustPosition$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Mhf; + get$types() { + return B.List_MQk; }, - get$wireName: function() { - return "DNAExtensionsMoveAdjustPosition"; + get$wireName() { + return "HelixSelect"; } }; - U._$DNAExtensionsMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAExtensionsMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$HelixSelectionsClearSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixSelectionsClear._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$DNAExtensionsMoveStop(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixSelectionsClearBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_etd; + get$types() { + return B.List_TfU; }, - get$wireName: function() { - return "DNAExtensionsMoveStop"; + get$wireName() { + return "HelixSelectionsClear"; } }; - U._$DNAExtensionsMoveCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["dna_extensions_move", serializers.serialize$2$specifiedType(type$.legacy_DNAExtensionsMoveCommit._as(object).dna_extensions_move, C.FullType_Ugm)], type$.JSArray_legacy_Object); + A._$HelixSelectionsAdjustSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixSelectionsAdjust._as(object); + return ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "selection_box", serializers.serialize$2$specifiedType(object.selection_box, B.FullType_vfJ)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.DNAExtensionsMoveCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAExtensionsMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.HelixSelectionsAdjustBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.SelectionBox; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dna_extensions_move": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.dna_extensions_move; - t2.toString; - t3 = new K.DNAExtensionsMoveBuilder(); - t3._dna_extensions_move$_$v = t2; - result._dna_extensions_move = t3; - result._$v = null; - } - t2 = result._dna_extensions_move; - if (t2 == null) - t2 = result._dna_extensions_move = new K.DNAExtensionsMoveBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Ugm)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_extensions_move$_$v = t3; + switch (t2) { + case "toggle": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._actions$_toggle = t2; + break; + case "selection_box": + t2 = result.get$_$this(); + t3 = t2._selection_box; + t2 = t3 == null ? t2._selection_box = new A.SelectionBoxBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_vfJ); + t3.toString; + t1._as(t3); + t2._selection_box$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_OPz; + get$types() { + return B.List_qr1; }, - get$wireName: function() { - return "DNAExtensionsMoveCommit"; + get$wireName() { + return "HelixSelectionsAdjust"; } }; - U._$HelixGroupMoveStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["mouse_point", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveStart._as(object).mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$HelixMajorTickDistanceChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMajorTickDistanceChange._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "major_tick_distance", serializers.serialize$2$specifiedType(object.major_tick_distance, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.HelixGroupMoveStartBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s19_ = "major_tick_distance", + _s28_ = "HelixMajorTickDistanceChange", + result = new A.HelixMajorTickDistanceChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "mouse_point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result.set$_mouse_point($$v.mouse_point); + result._actions$_helix_idx = $$v.helix_idx; + result._major_tick_distance = $$v.major_tick_distance; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + case "major_tick_distance": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._major_tick_distance = $$v.major_tick_distance; result._$v = null; } - result.set$_mouse_point(t2); + result._major_tick_distance = t1; break; } } _$result = result._$v; if (_$result == null) { - t1 = result.get$_$this()._mouse_point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveStart", "mouse_point")); - _$result = U._$HelixGroupMoveStart$_(t1); + t1 = type$.int; + _$result = A._$HelixMajorTickDistanceChange$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, _s28_, "helix_idx", t1), A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._major_tick_distance, _s28_, _s19_, t1)); } + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMajorTickDistanceChange); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_hkU; + get$types() { + return B.List_yP5; }, - get$wireName: function() { - return "HelixGroupMoveStart"; + get$wireName() { + return "HelixMajorTickDistanceChange"; } }; - U._$HelixGroupMoveCreateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["helix_group_move", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveCreate._as(object).helix_group_move, C.FullType_oKF)], type$.JSArray_legacy_Object); + A._$HelixMajorTickDistanceChangeAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["major_tick_distance", serializers.serialize$2$specifiedType(type$.HelixMajorTickDistanceChangeAll._as(object).major_tick_distance, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.HelixGroupMoveCreateBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_HelixGroupMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s19_ = "major_tick_distance", + result = new A.HelixMajorTickDistanceChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_group_move": + switch (t1) { + case "major_tick_distance": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.helix_group_move; - t2.toString; - t3 = new G.HelixGroupMoveBuilder(); - t3._helix_group_move$_$v = t2; - result._helix_group_move = t3; + result._major_tick_distance = $$v.major_tick_distance; result._$v = null; } - t2 = result._helix_group_move; - if (t2 == null) - t2 = result._helix_group_move = new G.HelixGroupMoveBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_oKF)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._helix_group_move$_$v = t3; + result._major_tick_distance = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixMajorTickDistanceChangeAll$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._major_tick_distance, "HelixMajorTickDistanceChangeAll", _s19_, type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMajorTickDistanceChangeAll); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_1nx; + get$types() { + return B.List_Nws; }, - get$wireName: function() { - return "HelixGroupMoveCreate"; + get$wireName() { + return "HelixMajorTickDistanceChangeAll"; } }; - U._$HelixGroupMoveAdjustTranslationSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["mouse_point", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveAdjustTranslation._as(object).mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$HelixMajorTickStartChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMajorTickStartChange._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - result = new U.HelixGroupMoveAdjustTranslationBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s16_ = "major_tick_start", + _s25_ = "HelixMajorTickStartChange", + result = new A.HelixMajorTickStartChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "mouse_point": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result.set$_mouse_point($$v.mouse_point); + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_major_tick_start = $$v.major_tick_start; result._$v = null; } - result.set$_mouse_point(t2); + result._actions$_helix_idx = t1; + break; + case "major_tick_start": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_major_tick_start = $$v.major_tick_start; + result._$v = null; + } + result._actions$_major_tick_start = t1; break; } } _$result = result._$v; if (_$result == null) { - t1 = result.get$_$this()._mouse_point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveAdjustTranslation", "mouse_point")); - _$result = U._$HelixGroupMoveAdjustTranslation$_(t1); + t1 = type$.int; + _$result = A._$HelixMajorTickStartChange$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, _s25_, "helix_idx", t1), A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_major_tick_start, _s25_, _s16_, t1)); } + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMajorTickStartChange); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_iHz; - }, - get$wireName: function() { - return "HelixGroupMoveAdjustTranslation"; - } - }; - U._$HelixGroupMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixGroupMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelixGroupMoveStopBuilder().build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_PcW; + get$types() { + return B.List_ygQ; }, - get$wireName: function() { - return "HelixGroupMoveStop"; + get$wireName() { + return "HelixMajorTickStartChange"; } }; - U._$HelixGroupMoveCommitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["helix_group_move", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveCommit._as(object).helix_group_move, C.FullType_oKF)], type$.JSArray_legacy_Object); + A._$HelixMajorTickStartChangeAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["major_tick_start", serializers.serialize$2$specifiedType(type$.HelixMajorTickStartChangeAll._as(object).major_tick_start, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.HelixGroupMoveCommitBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_HelixGroupMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s16_ = "major_tick_start", + result = new A.HelixMajorTickStartChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_group_move": + switch (t1) { + case "major_tick_start": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.helix_group_move; - t2.toString; - t3 = new G.HelixGroupMoveBuilder(); - t3._helix_group_move$_$v = t2; - result._helix_group_move = t3; + result._actions$_major_tick_start = $$v.major_tick_start; result._$v = null; } - t2 = result._helix_group_move; - if (t2 == null) - t2 = result._helix_group_move = new G.HelixGroupMoveBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_oKF)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._helix_group_move$_$v = t3; + result._actions$_major_tick_start = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixMajorTickStartChangeAll$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_major_tick_start, "HelixMajorTickStartChangeAll", _s16_, type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMajorTickStartChangeAll); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ziQ; + get$types() { + return B.List_YNa; }, - get$wireName: function() { - return "HelixGroupMoveCommit"; + get$wireName() { + return "HelixMajorTickStartChangeAll"; } }; - U._$AssignDNASerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_AssignDNA._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, C.FullType_eRS)], type$.JSArray_legacy_Object); + A._$HelixMajorTicksChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMajorTicksChange._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "major_ticks", serializers.serialize$2$specifiedType(object.major_ticks, B.FullType_4QF0)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.AssignDNABuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAAssignOptions, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.HelixMajorTicksChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + switch (t5) { + case "helix_idx": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_$this()._actions$_helix_idx = t5; break; - case "dna_assign_options": - t3 = result.get$_$this(); - t4 = t3._actions$_dna_assign_options; - if (t4 == null) { - t4 = new X.DNAAssignOptionsBuilder(); - t4.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; - t4.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; - t4.get$_dna_assign_options$_$this()._assign_complements = true; - t4.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; - t4.get$_dna_assign_options$_$this()._m13_rotation = 5587; - t3._actions$_dna_assign_options = t4; - t3 = t4; + case "major_ticks": + t5 = result.get$_$this(); + t6 = t5._actions$_major_ticks; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_major_ticks(t6); + t5 = t6; } else - t3 = t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eRS)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._dna_assign_options$_$v = t4; + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_fvk; + get$types() { + return B.List_ciW; }, - get$wireName: function() { - return "AssignDNA"; + get$wireName() { + return "HelixMajorTicksChange"; } }; - U._$AssignDNAComplementFromBoundStrandsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(type$.legacy_AssignDNAComplementFromBoundStrands._as(object).strands, C.FullType_2No)], type$.JSArray_legacy_Object); + A._$HelixMajorTicksChangeAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["major_ticks", serializers.serialize$2$specifiedType(type$.HelixMajorTicksChangeAll._as(object).major_ticks, B.FullType_4QF0)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.AssignDNAComplementFromBoundStrandsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.HelixMajorTicksChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strands": + switch (t5) { + case "major_ticks": $$v = result._$v; if ($$v != null) { - t5 = $$v.strands; + t5 = $$v.major_ticks; t5.toString; t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); t8 = t6._eval$1("_BuiltList<1>"); t9 = t6._eval$1("List<1>"); if (t8._is(t5)) { t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); t7.set$_listOwner(t5); } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); t7.set$_listOwner(null); } - result.set$_actions$_strands(t7); + result.set$_actions$_major_ticks(t7); result._$v = null; } - t5 = result._actions$_strands; + t5 = result._actions$_major_ticks; if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); t5.set$_listOwner(null); - result.set$_actions$_strands(t5); + result.set$_actions$_major_ticks(t5); } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_1YD; + get$types() { + return B.List_GxI; }, - get$wireName: function() { - return "AssignDNAComplementFromBoundStrands"; + get$wireName() { + return "HelixMajorTicksChangeAll"; } }; - U._$AssignDomainNameComplementFromBoundStrandsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(type$.legacy_AssignDomainNameComplementFromBoundStrands._as(object).strands, C.FullType_2No)], type$.JSArray_legacy_Object); + A._$HelixMajorTickPeriodicDistancesChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMajorTickPeriodicDistancesChange._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, B.FullType_4QF0)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.AssignDomainNameComplementFromBoundStrandsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.HelixMajorTickPeriodicDistancesChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strands": - $$v = result._$v; - if ($$v != null) { - t5 = $$v.strands; - t5.toString; - t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); - t8 = t6._eval$1("_BuiltList<1>"); - t9 = t6._eval$1("List<1>"); - if (t8._is(t5)) { - t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); - t7.set$_listOwner(t5); - } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); - t7.set$_listOwner(null); - } - result.set$_actions$_strands(t7); - result._$v = null; - } - t5 = result._actions$_strands; - if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t5.set$_listOwner(null); - result.set$_actions$_strands(t5); - } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + switch (t5) { + case "helix_idx": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_$this()._actions$_helix_idx = t5; + break; + case "major_tick_periodic_distances": + t5 = result.get$_$this(); + t6 = t5._actions$_major_tick_periodic_distances; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_major_tick_periodic_distances(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_eZu; + get$types() { + return B.List_GQ1; }, - get$wireName: function() { - return string$.AssignS; + get$wireName() { + return "HelixMajorTickPeriodicDistancesChange"; } }; - U._$AssignDomainNameComplementFromBoundDomainsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["domains", serializers.serialize$2$specifiedType(type$.legacy_AssignDomainNameComplementFromBoundDomains._as(object).domains, C.FullType_dli)], type$.JSArray_legacy_Object); + A._$HelixMajorTickPeriodicDistancesChangeAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["major_tick_periodic_distances", serializers.serialize$2$specifiedType(type$.HelixMajorTickPeriodicDistancesChangeAll._as(object).major_tick_periodic_distances, B.FullType_4QF0)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, - result = new U.AssignDomainNameComplementFromBoundDomainsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Domain, t3 = type$.List_legacy_Domain, t4 = type$.ListBuilder_legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.HelixMajorTickPeriodicDistancesChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "domains": + switch (t5) { + case "major_tick_periodic_distances": $$v = result._$v; if ($$v != null) { - t5 = $$v.domains; + t5 = $$v.major_tick_periodic_distances; t5.toString; t6 = t5.$ti; - t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); t8 = t6._eval$1("_BuiltList<1>"); t9 = t6._eval$1("List<1>"); if (t8._is(t5)) { t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); t7.set$_listOwner(t5); } else { - t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); t7.set$_listOwner(null); } - result.set$_domains(t7); + result.set$_actions$_major_tick_periodic_distances(t7); result._$v = null; } - t5 = result._domains; + t5 = result._actions$_major_tick_periodic_distances; if (t5 == null) { - t5 = new D.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); t5.set$_listOwner(null); - result.set$_domains(t5); + result.set$_actions$_major_tick_periodic_distances(t5); } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_gc6; + get$types() { + return B.List_QVp; }, - get$wireName: function() { - return string$.AssignD; + get$wireName() { + return "HelixMajorTickPeriodicDistancesChangeAll"; } }; - U._$RemoveDNASerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_RemoveDNA._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "remove_complements", serializers.serialize$2$specifiedType(object.remove_complements, C.FullType_MtR), "remove_all", serializers.serialize$2$specifiedType(object.remove_all, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixIdxsChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["idx_replacements", serializers.serialize$2$specifiedType(type$.HelixIdxsChange._as(object).idx_replacements, B.FullType_oyU)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.RemoveDNABuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.HelixIdxsChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_int; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t2 = result.get$_$this(); - t3 = t2._strand; - t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; - break; - case "remove_complements": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._remove_complements = t2; - break; - case "remove_all": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._remove_all = t2; + switch (t2) { + case "idx_replacements": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.idx_replacements; + t2.toString; + t3 = t2.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t2); + result.set$_idx_replacements(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._$v = null; + } + t2 = result._idx_replacements; + if (t2 == null) { + t2 = new A.MapBuilder(null, $, null, t1); + t2.replace$1(0, B.Map_empty); + result.set$_idx_replacements(t2); + } + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t3.toString; + t2.replace$1(0, t3); break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_URr; + get$types() { + return B.List_CrS; }, - get$wireName: function() { - return "RemoveDNA"; + get$wireName() { + return "HelixIdxsChange"; } }; - U._$InsertionAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_InsertionAdd._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.InsertionAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "domain": - t2 = result.get$_$this(); - t3 = t2._actions$_domain; - t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_offset = t2; - break; - case "all_helices": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t2; - break; - } + A._$HelixOffsetChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.HelixOffsetChange._as(object); + result = ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq)]; + value = object.min_offset; + if (value != null) { + result.push("min_offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_oyU; - }, - get$wireName: function() { - return "InsertionAdd"; - } - }; - U._$InsertionLengthChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_InsertionLengthChange._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.max_offset; + if (value != null) { + result.push("max_offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.InsertionLengthChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Insertion, t2 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, _$result, t2, + result = new A.HelixOffsetChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "domain": - t3 = result.get$_$this(); - t4 = t3._actions$_domain; - t3 = t4 == null ? t3._actions$_domain = new G.DomainBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; - break; - case "insertion": - t3 = result.get$_$this(); - t4 = t3._insertion; - t3 = t4 == null ? t3._insertion = new G.InsertionBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._actions$_helix_idx = t1; break; - case "length": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_length = t3; + case "min_offset": + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_$this()._actions$_min_offset = t1; break; - case "all_helices": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t3; + case "max_offset": + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_$this()._actions$_max_offset = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t1 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, "HelixOffsetChange", "helix_idx", type$.int); + t2 = result.get$_$this()._actions$_min_offset; + _$result = A._$HelixOffsetChange$_(t1, result.get$_$this()._actions$_max_offset, t2); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixOffsetChange); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_86y; + get$types() { + return B.List_EIw; }, - get$wireName: function() { - return "InsertionLengthChange"; + get$wireName() { + return "HelixOffsetChange"; } }; - U._$InsertionsLengthChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_InsertionsLengthChange._as(object); - return H.setRuntimeTypeInfo(["insertions", serializers.serialize$2$specifiedType(object.insertions, C.FullType_i7r), "domains", serializers.serialize$2$specifiedType(object.domains, C.FullType_dli), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixMinOffsetSetByDomainsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixMinOffsetSetByDomains._as(object).helix_idx, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, - result = new U.InsertionsLengthChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Domain, t3 = type$.List_legacy_Domain, t4 = type$.ListBuilder_legacy_Domain, t5 = type$.legacy_Insertion, t6 = type$.List_legacy_Insertion, t7 = type$.ListBuilder_legacy_Insertion; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.HelixMinOffsetSetByDomainsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "insertions": - t8 = result.get$_$this(); - t9 = t8._actions$_insertions; - if (t9 == null) { - t9 = new D.ListBuilder(t7); - t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); - t9.set$_listOwner(_null); - t8.set$_actions$_insertions(t9); - t8 = t9; - } else - t8 = t9; - t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_i7r)); - t10 = t8.$ti; - t11 = t10._eval$1("_BuiltList<1>"); - t12 = t10._eval$1("List<1>"); - if (t11._is(t9)) { - t11._as(t9); - t8.set$__ListBuilder__list(t12._as(t9._list)); - t8.set$_listOwner(t9); - } else { - t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); - t8.set$_listOwner(_null); - } - break; - case "domains": - t8 = result.get$_$this(); - t9 = t8._domains; - if (t9 == null) { - t9 = new D.ListBuilder(t4); - t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t9.set$_listOwner(_null); - t8.set$_domains(t9); - t8 = t9; - } else - t8 = t9; - t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); - t10 = t8.$ti; - t11 = t10._eval$1("_BuiltList<1>"); - t12 = t10._eval$1("List<1>"); - if (t11._is(t9)) { - t11._as(t9); - t8.set$__ListBuilder__list(t12._as(t9._list)); - t8.set$_listOwner(t9); - } else { - t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); - t8.set$_listOwner(_null); + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._$v = null; } - break; - case "length": - t8 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_length = t8; - break; - case "all_helices": - t8 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t8; + result._actions$_helix_idx = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixMinOffsetSetByDomains$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, "HelixMinOffsetSetByDomains", "helix_idx", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMinOffsetSetByDomains); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_5uk; + get$types() { + return B.List_QG0; }, - get$wireName: function() { - return "InsertionsLengthChange"; + get$wireName() { + return "HelixMinOffsetSetByDomains"; } }; - U._$DeletionAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DeletionAdd._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixMaxOffsetSetByDomainsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixMaxOffsetSetByDomains._as(object).helix_idx, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.DeletionAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.HelixMaxOffsetSetByDomainsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "domain": - t2 = result.get$_$this(); - t3 = t2._actions$_domain; - t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_offset = t2; - break; - case "all_helices": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t2; + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._$v = null; + } + result._actions$_helix_idx = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixMaxOffsetSetByDomains$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, "HelixMaxOffsetSetByDomains", "helix_idx", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMaxOffsetSetByDomains); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_kjq; + get$types() { + return B.List_kmC0; }, - get$wireName: function() { - return "DeletionAdd"; + get$wireName() { + return "HelixMaxOffsetSetByDomains"; } }; - U._$InsertionRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_InsertionRemove._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixMinOffsetSetByDomainsAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMinOffsetSetByDomainsAll._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.InsertionRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Insertion, t2 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "domain": - t3 = result.get$_$this(); - t4 = t3._actions$_domain; - t3 = t4 == null ? t3._actions$_domain = new G.DomainBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; - break; - case "insertion": - t3 = result.get$_$this(); - t4 = t3._insertion; - t3 = t4 == null ? t3._insertion = new G.InsertionBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; - break; - case "all_helices": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t3; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixMinOffsetSetByDomainsAllBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_yXb; + get$types() { + return B.List_q96; }, - get$wireName: function() { - return "InsertionRemove"; + get$wireName() { + return "HelixMinOffsetSetByDomainsAll"; } }; - U._$DeletionRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DeletionRemove._as(object); - return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixMaxOffsetSetByDomainsAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMaxOffsetSetByDomainsAll._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.DeletionRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "domain": - t2 = result.get$_$this(); - t3 = t2._actions$_domain; - t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_offset = t2; - break; - case "all_helices": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._all_helices = t2; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixMaxOffsetSetByDomainsAllBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_qNA0; + get$types() { + return B.List_2Vu; }, - get$wireName: function() { - return "DeletionRemove"; + get$wireName() { + return "HelixMaxOffsetSetByDomainsAll"; } }; - U._$ScalePurificationVendorFieldsAssignSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ScalePurificationVendorFieldsAssign._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, C.FullType_Unx)], type$.JSArray_legacy_Object); + A._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixMaxOffsetSetByDomainsAllSameMax._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.ScalePurificationVendorFieldsAssignBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_VendorFields, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; - break; - case "vendor_fields": - t3 = result.get$_$this(); - t4 = t3._actions$_vendor_fields; - t3 = t4 == null ? t3._actions$_vendor_fields = new T.VendorFieldsBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._vendor_fields$_$v = t4; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixMaxOffsetSetByDomainsAllSameMaxBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_AeS; + get$types() { + return B.List_SRR; }, - get$wireName: function() { - return "ScalePurificationVendorFieldsAssign"; + get$wireName() { + return "HelixMaxOffsetSetByDomainsAllSameMax"; } }; - U._$PlateWellVendorFieldsAssignSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_PlateWellVendorFieldsAssign._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, C.FullType_Unx)], type$.JSArray_legacy_Object); + A._$HelixOffsetChangeAllSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.HelixOffsetChangeAll._as(object); + result = []; + value = object.min_offset; + if (value != null) { + result.push("min_offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + } + value = object.max_offset; + if (value != null) { + result.push("max_offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.PlateWellVendorFieldsAssignBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_VendorFields, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.HelixOffsetChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + switch (t1) { + case "min_offset": + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_min_offset = $$v.min_offset; + result._actions$_max_offset = $$v.max_offset; + result._$v = null; + } + result._actions$_min_offset = t1; break; - case "vendor_fields": - t3 = result.get$_$this(); - t4 = t3._actions$_vendor_fields; - t3 = t4 == null ? t3._actions$_vendor_fields = new T.VendorFieldsBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._vendor_fields$_$v = t4; + case "max_offset": + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_min_offset = $$v.min_offset; + result._actions$_max_offset = $$v.max_offset; + result._$v = null; + } + result._actions$_max_offset = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = new A._$HelixOffsetChangeAll(result.get$_$this()._actions$_min_offset, result.get$_$this()._actions$_max_offset); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixOffsetChangeAll); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_gsm; + get$types() { + return B.List_P50; }, - get$wireName: function() { - return "PlateWellVendorFieldsAssign"; + get$wireName() { + return "HelixOffsetChangeAll"; } }; - U._$PlateWellVendorFieldsRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(type$.legacy_PlateWellVendorFieldsRemove._as(object).strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + A._$ShowMouseoverRectSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverRectSet._as(object).show, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.PlateWellVendorFieldsRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, t2, + _s20_ = "ShowMouseoverRectSet", + result = new A.ShowMouseoverRectSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - t2 = $$v.strand; - t2.toString; - t3 = new E.StrandBuilder(); - t3._strand$_$v = t2; - result._strand = t3; + result._show = $$v.show; result._$v = null; } - t2 = result._strand; - if (t2 == null) - t2 = result._strand = new E.StrandBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; + result._show = t1; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._show, _s20_, "show", t1); + _$result = new A._$ShowMouseoverRectSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowMouseoverRectSet); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_nXg; + get$types() { + return B.List_qKv; }, - get$wireName: function() { - return "PlateWellVendorFieldsRemove"; + get$wireName() { + return "ShowMouseoverRectSet"; } }; - U._$VendorFieldsRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(type$.legacy_VendorFieldsRemove._as(object).strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + A._$ShowMouseoverRectToggleSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ShowMouseoverRectToggle._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.VendorFieldsRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strand": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.strand; - t2.toString; - t3 = new E.StrandBuilder(); - t3._strand$_$v = t2; - result._strand = t3; - result._$v = null; - } - t2 = result._strand; - if (t2 == null) - t2 = result._strand = new E.StrandBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$ShowMouseoverRectToggle(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowMouseoverRectToggle); + return _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ezA; + get$types() { + return B.List_Wvz; }, - get$wireName: function() { - return "VendorFieldsRemove"; + get$wireName() { + return "ShowMouseoverRectToggle"; } }; - U._$ModificationAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A._$ExportDNASerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_ModificationAdd._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); - value = object.strand_dna_idx; + type$.ExportDNA._as(object); + result = ["include_scaffold", serializers.serialize$2$specifiedType(object.include_scaffold, B.FullType_MtR), "include_only_selected_strands", serializers.serialize$2$specifiedType(object.include_only_selected_strands, B.FullType_MtR), "exclude_selected_strands", serializers.serialize$2$specifiedType(object.exclude_selected_strands, B.FullType_MtR), "export_dna_format", serializers.serialize$2$specifiedType(object.export_dna_format, B.FullType_Otz), "column_major_strand", serializers.serialize$2$specifiedType(object.column_major_strand, B.FullType_MtR), "column_major_plate", serializers.serialize$2$specifiedType(object.column_major_plate, B.FullType_MtR), "delimiter", serializers.serialize$2$specifiedType(object.delimiter, B.FullType_h8g), "domain_delimiter", serializers.serialize$2$specifiedType(object.domain_delimiter, B.FullType_h8g)]; + value = object.strand_order; if (value != null) { - C.JSArray_methods.add$1(result, "strand_dna_idx"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + result.push("strand_order"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kaS)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.ModificationAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, + result = new A.ExportDNABuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_StrandOrder, t2 = type$.ExportDNAFormat; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + switch (t3) { + case "include_scaffold": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._include_scaffold = t3; break; - case "modification": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); - result.get$_$this()._modification = t3; + case "include_only_selected_strands": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._include_only_selected_strands = t3; break; - case "strand_dna_idx": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._strand_dna_idx = t3; + case "exclude_selected_strands": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._exclude_selected_strands = t3; break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_jDT; - }, - get$wireName: function() { - return "ModificationAdd"; - } - }; - U._$ModificationRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_ModificationRemove._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); - value = object.strand_dna_idx; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_dna_idx"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.ModificationRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + case "export_dna_format": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Otz); + t3.toString; + t2._as(t3); + result.get$_$this()._export_dna_format = t3; break; - case "modification": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); - result.get$_$this()._modification = t3; + case "strand_order": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_kaS)); + result.get$_$this()._strand_order = t3; break; - case "strand_dna_idx": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._strand_dna_idx = t3; + case "column_major_strand": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._column_major_strand = t3; break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_zrt; - }, - get$wireName: function() { - return "ModificationRemove"; - } - }; - U._$ModificationConnectorLengthSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ModificationConnectorLengthSet._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.ModificationConnectorLengthSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + case "column_major_plate": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._column_major_plate = t3; break; - case "modification": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); - result.get$_$this()._modification = t3; + case "delimiter": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_$this()._delimiter = t3; break; - case "connector_length": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._actions$_connector_length = t3; + case "domain_delimiter": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_$this()._domain_delimiter = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_HVo; + get$types() { + return B.List_EVy; }, - get$wireName: function() { - return "ModificationConnectorLengthSet"; + get$wireName() { + return "ExportDNA"; } }; - U._$ModificationEditSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_ModificationEdit._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); - value = object.strand_dna_idx; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_dna_idx"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; + A._$ExportSvgSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["type", serializers.serialize$2$specifiedType(type$.ExportSvg._as(object).type, B.FullType_A0M)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.ModificationEditBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.ExportSvgBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.ExportSvgType; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; - break; - case "modification": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); - result.get$_$this()._modification = t3; - break; - case "strand_dna_idx": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._strand_dna_idx = t3; + switch (t2) { + case "type": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_A0M); + t2.toString; + t1._as(t2); + $$v = result._$v; + if ($$v != null) { + result._type = $$v.type; + result._$v = null; + } + result._type = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_bpf; + get$types() { + return B.List_oBb; }, - get$wireName: function() { - return "ModificationEdit"; + get$wireName() { + return "ExportSvg"; } }; - U._$Modifications5PrimeEditSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Modifications5PrimeEdit._as(object); - return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_SGU0), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_Q1p)], type$.JSArray_legacy_Object); + A._$ExportSvgTextSeparatelySetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["export_svg_text_separately", serializers.serialize$2$specifiedType(type$.ExportSvgTextSeparatelySet._as(object).export_svg_text_separately, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new U.Modifications5PrimeEditBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification5Prime, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModification5Prime, t4 = type$.List_legacy_SelectableModification5Prime, t5 = type$.ListBuilder_legacy_SelectableModification5Prime; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ExportSvgTextSeparatelySetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modifications": - t6 = result.get$_$this(); - t7 = t6._actions$_modifications; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_actions$_modifications(t7); - t6 = t7; - } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_SGU0)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); - } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); + switch (t1) { + case "export_svg_text_separately": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + result._$v = null; } - break; - case "new_modification": - t6 = result.get$_$this(); - t7 = t6._new_modification; - t6 = t7 == null ? t6._new_modification = new Z.Modification5PrimeBuilder() : t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._modification$_$v = t7; + result._actions$_export_svg_text_separately = t1; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_2Zi0; + get$types() { + return B.List_cIc; }, - get$wireName: function() { - return "Modifications5PrimeEdit"; + get$wireName() { + return "ExportSvgTextSeparatelySet"; } }; - U._$Modifications3PrimeEditSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Modifications3PrimeEdit._as(object); - return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_SGU), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_Q1p0)], type$.JSArray_legacy_Object); + A._$ExtensionDisplayLengthAngleSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExtensionDisplayLengthAngleSet._as(object); + return ["ext", serializers.serialize$2$specifiedType(object.ext, B.FullType_gT2), "display_length", serializers.serialize$2$specifiedType(object.display_length, B.FullType_MME), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new U.Modifications3PrimeEditBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Modification3Prime, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModification3Prime, t4 = type$.List_legacy_SelectableModification3Prime, t5 = type$.ListBuilder_legacy_SelectableModification3Prime; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.ExtensionDisplayLengthAngleSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Extension; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modifications": - t6 = result.get$_$this(); - t7 = t6._actions$_modifications; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_actions$_modifications(t7); - t6 = t7; - } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_SGU)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); - } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); - } + switch (t2) { + case "ext": + t2 = result.get$_$this(); + t3 = t2._ext; + t2 = t3 == null ? t2._ext = new A.ExtensionBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gT2); + t3.toString; + t1._as(t3); + t2._extension$_$v = t3; break; - case "new_modification": - t6 = result.get$_$this(); - t7 = t6._new_modification; - t6 = t7 == null ? t6._new_modification = new Z.Modification3PrimeBuilder() : t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._modification$_$v = t7; + case "display_length": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2.toString; + A._asDoubleS(t2); + result.get$_$this()._actions$_display_length = t2; + break; + case "display_angle": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2.toString; + A._asDoubleS(t2); + result.get$_$this()._actions$_display_angle = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ECG; + get$types() { + return B.List_0RG; }, - get$wireName: function() { - return "Modifications3PrimeEdit"; + get$wireName() { + return "ExtensionDisplayLengthAngleSet"; } }; - U._$ModificationsInternalEditSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ModificationsInternalEdit._as(object); - return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_Gat), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_eR6)], type$.JSArray_legacy_Object); + A._$ExtensionAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExtensionAdd._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_MtR), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new U.ModificationsInternalEditBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_ModificationInternal, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModificationInternal, t4 = type$.List_legacy_SelectableModificationInternal, t5 = type$.ListBuilder_legacy_SelectableModificationInternal; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.ExtensionAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modifications": - t6 = result.get$_$this(); - t7 = t6._actions$_modifications; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_actions$_modifications(t7); - t6 = t7; - } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Gat)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); - } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); - } + switch (t2) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new A.StrandBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; break; - case "new_modification": - t6 = result.get$_$this(); - t7 = t6._new_modification; - t6 = t7 == null ? t6._new_modification = new Z.ModificationInternalBuilder() : t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._modification$_$v = t7; + case "is_5p": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._actions$_is_5p = t2; + break; + case "num_bases": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_num_bases = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_2BF; + get$types() { + return B.List_tI7; }, - get$wireName: function() { - return "ModificationsInternalEdit"; + get$wireName() { + return "ExtensionAdd"; } }; - U._$GridChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_GridChange._as(object); - return H.setRuntimeTypeInfo(["grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + A._$ExtensionNumBasesChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExtensionNumBasesChange._as(object); + return ["ext", serializers.serialize$2$specifiedType(object.ext, B.FullType_gT2), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, - _s10_ = "GridChange", - result = new U.GridChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Grid; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.ExtensionNumBasesChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Extension; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "grid": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); - $$v = result._$v; - if ($$v != null) { - result._actions$_grid = $$v.grid; - result._group_name = $$v.group_name; - result._$v = null; - } - result._actions$_grid = t2; + switch (t2) { + case "ext": + t2 = result.get$_$this(); + t3 = t2._ext; + t2 = t3 == null ? t2._ext = new A.ExtensionBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gT2); + t3.toString; + t1._as(t3); + t2._extension$_$v = t3; break; - case "group_name": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._actions$_grid = $$v.grid; - result._group_name = $$v.group_name; - result._$v = null; - } - result._group_name = t2; + case "num_bases": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_num_bases = t2; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_grid; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); - t2 = result.get$_$this()._group_name; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "group_name")); - _$result = U._$GridChange$_(t1, t2); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_nNZ; + get$types() { + return B.List_WjS; }, - get$wireName: function() { - return "GridChange"; + get$wireName() { + return "ExtensionNumBasesChange"; } }; - U._$GroupDisplayedChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["group_name", serializers.serialize$2$specifiedType(type$.legacy_GroupDisplayedChange._as(object).group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + A._$ExtensionsNumBasesChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExtensionsNumBasesChange._as(object); + return ["extensions", serializers.serialize$2$specifiedType(object.extensions, B.FullType_gg4), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.GroupDisplayedChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.ExtensionsNumBasesChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Extension, t3 = type$.List_Extension, t4 = type$.ListBuilder_Extension; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "group_name": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._group_name = $$v.group_name; - result._$v = null; + switch (t5) { + case "extensions": + t5 = result.get$_$this(); + t6 = t5._extensions; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_extensions(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_gg4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); } - result._group_name = t1; + break; + case "num_bases": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_$this()._actions$_num_bases = t5; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._group_name; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GroupDisplayedChange", "group_name")); - _$result = U._$GroupDisplayedChange$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_j6U; + get$types() { + return B.List_mtF; }, - get$wireName: function() { - return "GroupDisplayedChange"; + get$wireName() { + return "ExtensionsNumBasesChange"; } }; - U._$GroupAddSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_GroupAdd._as(object); - return H.setRuntimeTypeInfo(["name", serializers.serialize$2$specifiedType(object.name, C.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_yfz)], type$.JSArray_legacy_Object); + A._$LoopoutLengthChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.LoopoutLengthChange._as(object); + return ["loopout", serializers.serialize$2$specifiedType(object.loopout, B.FullType_Ttf), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, - result = new U.GroupAddBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_HelixGroup, t2 = type$.legacy_ListBuilder_legacy_int, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.LoopoutLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Loopout; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "name": - t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._actions$_name = t6; + switch (t2) { + case "loopout": + t2 = result.get$_$this(); + t3 = t2._loopout; + t2 = t3 == null ? t2._loopout = new A.LoopoutBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Ttf); + t3.toString; + t1._as(t3); + t2._loopout$_$v = t3; break; - case "group": - t6 = result.get$_$this(); - t7 = t6._actions$_group; - if (t7 == null) { - t7 = new O.HelixGroupBuilder(); - t7.get$_group$_$this()._group$_grid = C.Grid_none; - t8 = $.$get$Position3D_origin(); - t8.toString; - t9 = new X.Position3DBuilder(); - t9._position3d$_$v = t8; - t7.get$_group$_$this()._group$_position = t9; - t7.get$_group$_$this()._pitch = 0; - t7.get$_group$_$this()._yaw = 0; - t7.get$_group$_$this()._group$_roll = 0; - t8 = new D.ListBuilder(t5); - t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t8.set$_listOwner(null); - t2._as(t8); - t7.get$_group$_$this().set$_group$_helices_view_order(t8); - t6._actions$_group = t7; - t6 = t7; - } else - t6 = t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._group$_$v = t7; + case "num_bases": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_num_bases = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_kWG; + get$types() { + return B.List_IFE0; }, - get$wireName: function() { - return "GroupAdd"; + get$wireName() { + return "LoopoutLengthChange"; } }; - U._$GroupRemoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["name", serializers.serialize$2$specifiedType(type$.legacy_GroupRemove._as(object).name, C.FullType_h8g)], type$.JSArray_legacy_Object); + A._$LoopoutsLengthChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.LoopoutsLengthChange._as(object); + return ["loopouts", serializers.serialize$2$specifiedType(object.loopouts, B.FullType_H9I), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.GroupRemoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.LoopoutsLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Loopout, t3 = type$.List_Loopout, t4 = type$.ListBuilder_Loopout; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "name": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - $$v = result._$v; - if ($$v != null) { - result._actions$_name = $$v.name; - result._$v = null; + switch (t5) { + case "loopouts": + t5 = result.get$_$this(); + t6 = t5._loopouts; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_loopouts(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_H9I); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); } - result._actions$_name = t1; + break; + case "length": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_$this()._actions$_length = t5; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_name; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("GroupRemove", "name")); - _$result = U._$GroupRemove$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Mbm; + get$types() { + return B.List_kTd; }, - get$wireName: function() { - return "GroupRemove"; + get$wireName() { + return "LoopoutsLengthChange"; } }; - U._$GroupChangeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_GroupChange._as(object); - return H.setRuntimeTypeInfo(["old_name", serializers.serialize$2$specifiedType(object.old_name, C.FullType_h8g), "new_name", serializers.serialize$2$specifiedType(object.new_name, C.FullType_h8g), "new_group", serializers.serialize$2$specifiedType(object.new_group, C.FullType_yfz)], type$.JSArray_legacy_Object); + A._$ConvertCrossoverToLoopoutSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ConvertCrossoverToLoopout._as(object); + result = ["crossover", serializers.serialize$2$specifiedType(object.crossover, B.FullType_jPf), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq)]; + value = object.dna_sequence; + if (value != null) { + result.push("dna_sequence"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, - result = new U.GroupChangeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_HelixGroup, t2 = type$.legacy_ListBuilder_legacy_int, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.ConvertCrossoverToLoopoutBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Crossover; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "old_name": - t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._old_name = t6; + switch (t2) { + case "crossover": + t2 = result.get$_$this(); + t3 = t2._crossover; + t2 = t3 == null ? t2._crossover = new A.CrossoverBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_jPf); + t3.toString; + t1._as(t3); + t2._crossover$_$v = t3; break; - case "new_name": - t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._new_name = t6; + case "length": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_length = t2; break; - case "new_group": - t6 = result.get$_$this(); - t7 = t6._new_group; - if (t7 == null) { - t7 = new O.HelixGroupBuilder(); - t7.get$_group$_$this()._group$_grid = C.Grid_none; - t8 = $.$get$Position3D_origin(); - t8.toString; - t9 = new X.Position3DBuilder(); - t9._position3d$_$v = t8; - t7.get$_group$_$this()._group$_position = t9; - t7.get$_group$_$this()._pitch = 0; - t7.get$_group$_$this()._yaw = 0; - t7.get$_group$_$this()._group$_roll = 0; - t8 = new D.ListBuilder(t5); - t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t8.set$_listOwner(null); - t2._as(t8); - t7.get$_group$_$this().set$_group$_helices_view_order(t8); - t6._new_group = t7; - t6 = t7; - } else - t6 = t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._group$_$v = t7; + case "dna_sequence": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._actions$_dna_sequence = t2; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_pUC; + get$types() { + return B.List_KeE; }, - get$wireName: function() { - return "GroupChange"; + get$wireName() { + return "ConvertCrossoverToLoopout"; } }; - U._$MoveHelicesToGroupSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MoveHelicesToGroup._as(object); - return H.setRuntimeTypeInfo(["helix_idxs", serializers.serialize$2$specifiedType(object.helix_idxs, C.FullType_4QF0), "group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + A._$ConvertCrossoversToLoopoutsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ConvertCrossoversToLoopouts._as(object); + return ["crossovers", serializers.serialize$2$specifiedType(object.crossovers, B.FullType_EOY), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new U.MoveHelicesToGroupBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.ConvertCrossoversToLoopoutsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Crossover, t3 = type$.List_Crossover, t4 = type$.ListBuilder_Crossover; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idxs": + switch (t5) { + case "crossovers": t5 = result.get$_$this(); - t6 = t5._helix_idxs; + t6 = t5._crossovers; if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); t6.set$_listOwner(null); - t5.set$_helix_idxs(t6); + t5.set$_crossovers(t6); t5 = t6; } else t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_EOY); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; - case "group_name": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._group_name = t5; + case "length": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_$this()._actions$_length = t5; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_G31; + get$types() { + return B.List_SLS; }, - get$wireName: function() { - return "MoveHelicesToGroup"; + get$wireName() { + return "ConvertCrossoversToLoopouts"; } }; - U._$DialogShowSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["dialog", serializers.serialize$2$specifiedType(type$.legacy_DialogShow._as(object).dialog, C.FullType_Azp)], type$.JSArray_legacy_Object); + A._$NickSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Nick._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.DialogShowBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Dialog; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.NickBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dialog": - $$v = result._$v; - if ($$v != null) { - t2 = $$v.dialog; - t2.toString; - t3 = new E.DialogBuilder(); - t3._dialog$_$v = t2; - result._actions$_dialog = t3; - result._$v = null; - } - t2 = result._actions$_dialog; - if (t2 == null) - t2 = result._actions$_dialog = new E.DialogBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Azp)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dialog$_$v = t3; + switch (t2) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; + break; + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_offset = t2; break; } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_NO4; - }, - get$wireName: function() { - return "DialogShow"; - } - }; - U._$DialogHideSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DialogHide._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + return result._build$0(); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.DialogHideBuilder().build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ro0; + get$types() { + return B.List_5sE; }, - get$wireName: function() { - return "DialogHide"; + get$wireName() { + return "Nick"; } }; - U._$ContextMenuShowSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["context_menu", serializers.serialize$2$specifiedType(type$.legacy_ContextMenuShow._as(object).context_menu, C.FullType_Z6u)], type$.JSArray_legacy_Object); + A._$LigateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["dna_end", serializers.serialize$2$specifiedType(type$.Ligate._as(object).dna_end, B.FullType_QR4)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, $$v, t2, t3, - result = new U.ContextMenuShowBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_ContextMenu; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.LigateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEnd; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "context_menu": + switch (t2) { + case "dna_end": $$v = result._$v; if ($$v != null) { - t2 = $$v.context_menu; - t2.toString; - t3 = new B.ContextMenuBuilder(); - t3._context_menu$_$v = t2; - result._actions$_context_menu = t3; + t2 = $$v.dna_end; + t3 = new A.DNAEndBuilder(); + t3._dna_end$_$v = t2; + result._actions$_dna_end = t3; result._$v = null; } - t2 = result._actions$_context_menu; + t2 = result._actions$_dna_end; if (t2 == null) - t2 = result._actions$_context_menu = new B.ContextMenuBuilder(); - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Z6u)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._context_menu$_$v = t3; + t2 = result._actions$_dna_end = new A.DNAEndBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t3.toString; + t1._as(t3); + t2._dna_end$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_KdY; + get$types() { + return B.List_7BT; }, - get$wireName: function() { - return "ContextMenuShow"; + get$wireName() { + return "Ligate"; } }; - U._$ContextMenuHideSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ContextMenuHide._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$JoinStrandsByCrossoverSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.JoinStrandsByCrossover._as(object); + return ["dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, B.FullType_QR4), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, B.FullType_QR4)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.ContextMenuHideBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.JoinStrandsByCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEnd; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "dna_end_first_click": + t2 = result.get$_$this(); + t3 = t2._actions$_dna_end_first_click; + t2 = t3 == null ? t2._actions$_dna_end_first_click = new A.DNAEndBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t3.toString; + t1._as(t3); + t2._dna_end$_$v = t3; + break; + case "dna_end_second_click": + t2 = result.get$_$this(); + t3 = t2._dna_end_second_click; + t2 = t3 == null ? t2._dna_end_second_click = new A.DNAEndBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t3.toString; + t1._as(t3); + t2._dna_end$_$v = t3; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_2jN; + get$types() { + return B.List_mq4; }, - get$wireName: function() { - return "ContextMenuHide"; + get$wireName() { + return "JoinStrandsByCrossover"; } }; - U._$StrandOrSubstrandColorPickerShowSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_StrandOrSubstrandColorPickerShow._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); - value = object.substrand; - if (value != null) { - C.JSArray_methods.add$1(result, "substrand"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); - } - return result; + A._$MoveLinkerSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MoveLinker._as(object); + return ["potential_crossover", serializers.serialize$2$specifiedType(object.potential_crossover, B.FullType_gkc), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, B.FullType_QR4)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.StrandOrSubstrandColorPickerShowBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Substrand, t2 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.MoveLinkerBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEnd, t2 = type$.PotentialCrossover; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": + switch (t3) { + case "potential_crossover": t3 = result.get$_$this(); - t4 = t3._strand; - t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + t4 = t3._potential_crossover; + t3 = t4 == null ? t3._potential_crossover = new A.PotentialCrossoverBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_gkc); + t4.toString; + t2._as(t4); + t3._potential_crossover$_$v = t4; break; - case "substrand": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); - result.get$_$this()._substrand = t3; + case "dna_end_second_click": + t3 = result.get$_$this(); + t4 = t3._dna_end_second_click; + t3 = t4 == null ? t3._dna_end_second_click = new A.DNAEndBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t4.toString; + t1._as(t4); + t3._dna_end$_$v = t4; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ky0; + get$types() { + return B.List_W34; }, - get$wireName: function() { - return "StrandOrSubstrandColorPickerShow"; + get$wireName() { + return "MoveLinker"; } }; - U._$StrandOrSubstrandColorPickerHideSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandOrSubstrandColorPickerHide._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$JoinStrandsByMultipleCrossoversSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.JoinStrandsByMultipleCrossovers._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.StrandOrSubstrandColorPickerHideBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.JoinStrandsByMultipleCrossoversBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_MCv; + get$types() { + return B.List_43h0; }, - get$wireName: function() { - return "StrandOrSubstrandColorPickerHide"; + get$wireName() { + return "JoinStrandsByMultipleCrossovers"; } }; - U._$ScaffoldSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ScaffoldSet._as(object); - return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandsReflectSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsReflect._as(object); + return ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_2No), "horizontal", serializers.serialize$2$specifiedType(object.horizontal, B.FullType_MtR), "reverse_polarity", serializers.serialize$2$specifiedType(object.reverse_polarity, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.ScaffoldSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.StrandsReflectBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Strand, t3 = type$.List_Strand, t4 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t2 = result.get$_$this(); - t3 = t2._strand; - t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._strand$_$v = t3; + switch (t5) { + case "strands": + t5 = result.get$_$this(); + t6 = t5._actions$_strands; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_strands(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; - case "is_scaffold": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_$this()._actions$_is_scaffold = t2; + case "horizontal": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_$this()._horizontal = t5; + break; + case "reverse_polarity": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_$this()._reverse_polarity = t5; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_cdS; + get$types() { + return B.List_wwi; }, - get$wireName: function() { - return "ScaffoldSet"; + get$wireName() { + return "StrandsReflect"; } }; - U._$StrandOrSubstrandColorSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_StrandOrSubstrandColorSet._as(object); - result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); - value = object.substrand; - if (value != null) { - C.JSArray_methods.add$1(result, "substrand"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); - } - value = object.color; - if (value != null) { - C.JSArray_methods.add$1(result, "color"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); - } - return result; + A._$ReplaceStrandsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["new_strands", serializers.serialize$2$specifiedType(type$.ReplaceStrands._as(object).new_strands, B.FullType_vpC)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, key, value, t4, t5, - result = new U.StrandOrSubstrandColorSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.legacy_Substrand, t3 = type$.legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.ReplaceStrandsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "strand": - t4 = result.get$_$this(); - t5 = t4._strand; - t4 = t5 == null ? t4._strand = new E.StrandBuilder() : t5; - t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t4._strand$_$v = t5; - break; - case "substrand": - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); - result.get$_$this()._substrand = t4; - break; - case "color": - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_$this()._actions$_color = t4; + switch (t2) { + case "new_strands": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.new_strands; + t2.toString; + t3 = t2.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t2); + result.set$_new_strands(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._$v = null; + } + t2 = result._new_strands; + if (t2 == null) { + t2 = new A.MapBuilder(null, $, null, t1); + t2.replace$1(0, B.Map_empty); + result.set$_new_strands(t2); + } + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_vpC); + t3.toString; + t2.replace$1(0, t3); break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_m1u; + get$types() { + return B.List_yS0; }, - get$wireName: function() { - return "StrandOrSubstrandColorSet"; + get$wireName() { + return "ReplaceStrands"; } }; - U._$StrandPasteKeepColorSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["keep", serializers.serialize$2$specifiedType(type$.legacy_StrandPasteKeepColorSet._as(object).keep, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandCreateStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandCreateStart._as(object); + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_uHx)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.StrandPasteKeepColorSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.StrandCreateStartBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Color, t2 = type$.Address; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "keep": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._keep = $$v.keep; - result._$v = null; - } - result._keep = t1; + switch (t3) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new A.AddressBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t4.toString; + t2._as(t4); + t3._address$_$v = t4; + break; + case "color": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3.toString; + t1._as(t3); + result.get$_$this()._actions$_color = t3; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._keep; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("StrandPasteKeepColorSet", "keep")); - _$result = U._$StrandPasteKeepColorSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_NYu; + get$types() { + return B.List_IbS; }, - get$wireName: function() { - return "StrandPasteKeepColorSet"; + get$wireName() { + return "StrandCreateStart"; } }; - U._$ExampleDesignsLoadSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["selected_idx", serializers.serialize$2$specifiedType(type$.legacy_ExampleDesignsLoad._as(object).selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$StrandCreateAdjustOffsetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["offset", serializers.serialize$2$specifiedType(type$.StrandCreateAdjustOffset._as(object).offset, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ExampleDesignsLoadBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.StrandCreateAdjustOffsetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "selected_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t1) { + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_selected_idx = $$v.selected_idx; + result._actions$_offset = $$v.offset; result._$v = null; } - result._actions$_selected_idx = t1; + result._actions$_offset = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_selected_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ExampleDesignsLoad", "selected_idx")); - _$result = U._$ExampleDesignsLoad$_(t1); - } + if (_$result == null) + _$result = A._$StrandCreateAdjustOffset$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_offset, "StrandCreateAdjustOffset", "offset", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandCreateAdjustOffset); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_WMt; + get$types() { + return B.List_5Bm; }, - get$wireName: function() { - return "ExampleDesignsLoad"; + get$wireName() { + return "StrandCreateAdjustOffset"; } }; - U._$BasePairTypeSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["selected_idx", serializers.serialize$2$specifiedType(type$.legacy_BasePairTypeSet._as(object).selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$StrandCreateStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandCreateStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.BasePairTypeSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "selected_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._$v; - if ($$v != null) { - result._actions$_selected_idx = $$v.selected_idx; - result._$v = null; - } - result._actions$_selected_idx = t1; - break; - } - } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_selected_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("BasePairTypeSet", "selected_idx")); - _$result = U._$BasePairTypeSet$_(t1); - } - return result._$v = _$result; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.StrandCreateStopBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_sNW; + get$types() { + return B.List_goM; }, - get$wireName: function() { - return "BasePairTypeSet"; + get$wireName() { + return "StrandCreateStop"; } }; - U._$HelixPositionSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixPositionSet._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_cgM)], type$.JSArray_legacy_Object); + A._$StrandCreateCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandCreateCommit._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "start", serializers.serialize$2$specifiedType(object.start, B.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, B.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_uHx)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new U.HelixPositionSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Position3D; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, _$result, t3, t4, t5, + _s18_ = "StrandCreateCommit", + result = new A.StrandCreateCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Color; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t2) { case "helix_idx": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); result.get$_$this()._actions$_helix_idx = t2; break; - case "position": - t2 = result.get$_$this(); - t3 = t2._actions$_position; - t2 = t3 == null ? t2._actions$_position = new X.Position3DBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._position3d$_$v = t3; + case "start": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_start = t2; + break; + case "end": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_end = t2; + break; + case "forward": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._actions$_forward = t2; + break; + case "color": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t2.toString; + t1._as(t2); + result.get$_$this()._actions$_color = t2; break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) { + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_helix_idx, _s18_, "helix_idx", t2); + t4 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_start, _s18_, "start", t2); + t2 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_end, _s18_, "end", t2); + t5 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_forward, _s18_, "forward", type$.bool); + _$result = A._$StrandCreateCommit$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_color, _s18_, "color", t1), t2, t5, t3, t4); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandCreateCommit); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_9Aw; + get$types() { + return B.List_HYb; }, - get$wireName: function() { - return "HelixPositionSet"; + get$wireName() { + return "StrandCreateCommit"; } }; - U._$HelixGridPositionSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixGridPositionSet._as(object); - return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "grid_position", serializers.serialize$2$specifiedType(object.grid_position, C.FullType_q96)], type$.JSArray_legacy_Object); + A._$PotentialCrossoverCreateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["potential_crossover", serializers.serialize$2$specifiedType(type$.PotentialCrossoverCreate._as(object).potential_crossover, B.FullType_gkc)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.HelixGridPositionSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_GridPosition, t2 = type$.legacy_Helix; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.PotentialCrossoverCreateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.PotentialCrossover; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix": - t3 = result.get$_$this(); - t4 = t3._actions$_helix; - if (t4 == null) { - t4 = new O.HelixBuilder(); - t4.get$_helix$_$this()._group = "default_group"; - t4.get$_helix$_$this()._min_offset = 0; - t4.get$_helix$_$this()._roll = 0; - t3._actions$_helix = t4; - t3 = t4; - } else - t3 = t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._helix$_$v = t4; - break; - case "grid_position": - t3 = result.get$_$this(); - t4 = t3._actions$_grid_position; - t3 = t4 == null ? t3._actions$_grid_position = new D.GridPositionBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._grid_position$_$v = t4; + switch (t2) { + case "potential_crossover": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.potential_crossover; + t2.toString; + t3 = new A.PotentialCrossoverBuilder(); + t3._potential_crossover$_$v = t2; + result._potential_crossover = t3; + result._$v = null; + } + t2 = result._potential_crossover; + if (t2 == null) + t2 = result._potential_crossover = new A.PotentialCrossoverBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gkc); + t3.toString; + t1._as(t3); + t2._potential_crossover$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_MUw; + get$types() { + return B.List_Uxx; }, - get$wireName: function() { - return "HelixGridPositionSet"; + get$wireName() { + return "PotentialCrossoverCreate"; } }; - U._$HelicesPositionsSetBasedOnCrossoversSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelicesPositionsSetBasedOnCrossovers._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$PotentialCrossoverMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["point", serializers.serialize$2$specifiedType(type$.PotentialCrossoverMove._as(object).point, B.FullType_laS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.HelicesPositionsSetBasedOnCrossoversBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + result = new A.PotentialCrossoverMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._$v = null; + } + result.set$_point(t3); + break; + } + } + _$result = result._$v; + if (_$result == null) + _$result = A._$PotentialCrossoverMove$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._point, "PotentialCrossoverMove", "point", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.PotentialCrossoverMove); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_mio; + get$types() { + return B.List_FIw; }, - get$wireName: function() { - return "HelicesPositionsSetBasedOnCrossovers"; + get$wireName() { + return "PotentialCrossoverMove"; } }; - U._$InlineInsertionsDeletionsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_InlineInsertionsDeletions._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$PotentialCrossoverRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.PotentialCrossoverRemove._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.InlineInsertionsDeletionsBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.PotentialCrossoverRemoveBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_07S; + get$types() { + return B.List_rv4; }, - get$wireName: function() { - return "InlineInsertionsDeletions"; + get$wireName() { + return "PotentialCrossoverRemove"; } }; - U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(object); - return H.setRuntimeTypeInfo(["scaffold", serializers.serialize$2$specifiedType(object.scaffold, C.FullType_MtR), "staple", serializers.serialize$2$specifiedType(object.staple, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$ManualPasteInitiateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ManualPasteInitiate._as(object); + return ["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, B.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, - _s43_ = string$.Defaul, - result = new U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ManualPasteInitiateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "scaffold": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "clipboard_content": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._$v; if ($$v != null) { - result._scaffold = $$v.scaffold; - result._staple = $$v.staple; + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; result._$v = null; } - result._scaffold = t1; + result._clipboard_content = t1; break; - case "staple": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + case "in_browser": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); $$v = result._$v; if ($$v != null) { - result._scaffold = $$v.scaffold; - result._staple = $$v.staple; + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; result._$v = null; } - result._staple = t1; + result._in_browser = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._scaffold; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "scaffold")); - t2 = result.get$_$this()._staple; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "staple")); - _$result = U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t1, t2); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_oXN; + get$types() { + return B.List_fXI; }, - get$wireName: function() { - return string$.Defaul; + get$wireName() { + return "ManualPasteInitiate"; } }; - U._$AutofitSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["autofit", serializers.serialize$2$specifiedType(type$.legacy_AutofitSet._as(object).autofit, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$AutoPasteInitiateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.AutoPasteInitiate._as(object); + return ["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, B.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.AutofitSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.AutoPasteInitiateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "autofit": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "clipboard_content": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_autofit = $$v.autofit; + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; result._$v = null; } - result._actions$_autofit = t1; + result._clipboard_content = t1; + break; + case "in_browser": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; + result._$v = null; + } + result._in_browser = t1; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_autofit; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("AutofitSet", "autofit")); - _$result = U._$AutofitSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_V5x; + get$types() { + return B.List_1yH; }, - get$wireName: function() { - return "AutofitSet"; + get$wireName() { + return "AutoPasteInitiate"; } }; - U._$ShowHelixCirclesMainViewSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_helix_circles_main_view", serializers.serialize$2$specifiedType(type$.legacy_ShowHelixCirclesMainViewSet._as(object).show_helix_circles_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$CopySelectedStrandsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.CopySelectedStrands._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s28_ = "show_helix_circles_main_view", - result = new U.ShowHelixCirclesMainViewSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.CopySelectedStrandsBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_HJj; + }, + get$wireName() { + return "CopySelectedStrands"; + } + }; + A._$StrandsMoveStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsMoveStart._as(object); + return ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_2No), "address", serializers.serialize$2$specifiedType(object.address, B.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_oyU)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, value, t8, t9, t10, t11, _null = null, + result = new A.StrandsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_int, t2 = type$.Address, t3 = type$.BuiltList_nullable_Object, t4 = type$.Strand, t5 = type$.List_Strand, t6 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t7 = iterator.get$current(iterator); + t7.toString; + A._asStringS(t7); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_helix_circles_main_view": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; - result._$v = null; + switch (t7) { + case "strands": + t7 = result.get$_$this(); + t8 = t7._actions$_strands; + if (t8 == null) { + t8 = new A.ListBuilder(t6); + t8.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t4))); + t8.set$_listOwner(_null); + t7.set$_actions$_strands(t8); + t7 = t8; + } else + t7 = t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t8.toString; + t3._as(t8); + t9 = t7.$ti; + t10 = t9._eval$1("_BuiltList<1>"); + t11 = t9._eval$1("List<1>"); + if (t10._is(t8)) { + t10._as(t8); + t7.set$__ListBuilder__list_A(t11._as(t8._list)); + t7.set$_listOwner(t8); + } else { + t7.set$__ListBuilder__list_A(t11._as(A.List_List$from(t8, true, t9._precomputed1))); + t7.set$_listOwner(_null); } - result._actions$_show_helix_circles_main_view = t1; + break; + case "address": + t7 = result.get$_$this(); + t8 = t7._actions$_address; + t7 = t8 == null ? t7._actions$_address = new A.AddressBuilder() : t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t8.toString; + t2._as(t8); + t7._address$_$v = t8; + break; + case "copy": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t7.toString; + A._asBoolS(t7); + result.get$_$this()._actions$_copy = t7; + break; + case "original_helices_view_order_inverse": + t7 = result.get$_$this(); + t8 = t7._actions$_original_helices_view_order_inverse; + if (t8 == null) { + t8 = new A.MapBuilder(_null, $, _null, t1); + t8.replace$1(0, B.Map_empty); + t7.set$_actions$_original_helices_view_order_inverse(t8); + t7 = t8; + } else + t7 = t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t8.toString; + t7.replace$1(0, t8); break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_show_helix_circles_main_view; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowHelixCirclesMainViewSet", _s28_)); - _$result = U._$ShowHelixCirclesMainViewSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_6iW; + get$types() { + return B.List_nz1; }, - get$wireName: function() { - return "ShowHelixCirclesMainViewSet"; + get$wireName() { + return "StrandsMoveStart"; } }; - U._$ShowHelixComponentsMainViewSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_helix_components", serializers.serialize$2$specifiedType(type$.legacy_ShowHelixComponentsMainViewSet._as(object).show_helix_components, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandsMoveStartSelectedStrandsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsMoveStartSelectedStrands._as(object); + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_oyU)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s21_ = "show_helix_components", - result = new U.ShowHelixComponentsMainViewSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.StrandsMoveStartSelectedStrandsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_int, t2 = type$.Address; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_helix_components": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show_helix_components = $$v.show_helix_components; - result._$v = null; - } - result._show_helix_components = t1; + switch (t3) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new A.AddressBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t4.toString; + t2._as(t4); + t3._address$_$v = t4; + break; + case "copy": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._actions$_copy = t3; + break; + case "original_helices_view_order_inverse": + t3 = result.get$_$this(); + t4 = t3._actions$_original_helices_view_order_inverse; + if (t4 == null) { + t4 = new A.MapBuilder(null, $, null, t1); + t4.replace$1(0, B.Map_empty); + t3.set$_actions$_original_helices_view_order_inverse(t4); + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t4.toString; + t3.replace$1(0, t4); break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._show_helix_components; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowHelixComponentsMainViewSet", _s21_)); - _$result = U._$ShowHelixComponentsMainViewSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ZGD; + get$types() { + return B.List_aJC; }, - get$wireName: function() { - return "ShowHelixComponentsMainViewSet"; + get$wireName() { + return "StrandsMoveStartSelectedStrands"; } }; - U._$ShowEditMenuToggleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ShowEditMenuToggle._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$StrandsMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsMoveStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U._$ShowEditMenuToggle(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.StrandsMoveStopBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_LJp; + get$types() { + return B.List_egL0; }, - get$wireName: function() { - return "ShowEditMenuToggle"; + get$wireName() { + return "StrandsMoveStop"; } }; - U._$ShowGridCoordinatesSideViewSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(type$.legacy_ShowGridCoordinatesSideViewSet._as(object).show_grid_coordinates_side_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandsMoveAdjustAddressSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["address", serializers.serialize$2$specifiedType(type$.StrandsMoveAdjustAddress._as(object).address, B.FullType_KlG)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s31_ = "show_grid_coordinates_side_view", - result = new U.ShowGridCoordinatesSideViewSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.StrandsMoveAdjustAddressBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Address; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_grid_coordinates_side_view": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "address": $$v = result._$v; if ($$v != null) { - result._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + t2 = $$v.address; + t3 = new A.AddressBuilder(); + t3._address$_$v = t2; + result._actions$_address = t3; result._$v = null; } - result._actions$_show_grid_coordinates_side_view = t1; + t2 = result._actions$_address; + if (t2 == null) + t2 = result._actions$_address = new A.AddressBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t3.toString; + t1._as(t3); + t2._address$_$v = t3; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_show_grid_coordinates_side_view; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowGridCoordinatesSideViewSet", _s31_)); - _$result = U._$ShowGridCoordinatesSideViewSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Jik; + get$types() { + return B.List_G7M; }, - get$wireName: function() { - return "ShowGridCoordinatesSideViewSet"; + get$wireName() { + return "StrandsMoveAdjustAddress"; } }; - U._$ShowAxisArrowsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_helices_axis_arrows", serializers.serialize$2$specifiedType(type$.legacy_ShowAxisArrowsSet._as(object).show_helices_axis_arrows, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$StrandsMoveCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsMoveCommit._as(object); + return ["strands_move", serializers.serialize$2$specifiedType(object.strands_move, B.FullType_VSS), "autopaste", serializers.serialize$2$specifiedType(object.autopaste, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s24_ = "show_helices_axis_arrows", - result = new U.ShowAxisArrowsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.StrandsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.StrandsMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_helices_axis_arrows": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; - result._$v = null; - } - result._actions$_show_helices_axis_arrows = t1; + switch (t2) { + case "strands_move": + t2 = result.get$_$this(); + t3 = t2._actions$_strands_move; + t2 = t3 == null ? t2._actions$_strands_move = new A.StrandsMoveBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_VSS); + t3.toString; + t1._as(t3); + t2._strands_move$_$v = t3; + break; + case "autopaste": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._autopaste = t2; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_show_helices_axis_arrows; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowAxisArrowsSet", _s24_)); - _$result = U._$ShowAxisArrowsSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_AuK0; + get$types() { + return B.List_YZn; }, - get$wireName: function() { - return "ShowAxisArrowsSet"; + get$wireName() { + return "StrandsMoveCommit"; } }; - U._$ShowLoopoutExtensionLengthSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_length", serializers.serialize$2$specifiedType(type$.legacy_ShowLoopoutExtensionLengthSet._as(object).show_length, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DomainsMoveStartSelectedDomainsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DomainsMoveStartSelectedDomains._as(object); + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_KlG), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_oyU)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ShowLoopoutExtensionLengthSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.DomainsMoveStartSelectedDomainsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_int, t2 = type$.Address; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_length": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._show_length = $$v.show_length; - result._$v = null; - } - result._show_length = t1; + switch (t3) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new A.AddressBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t4.toString; + t2._as(t4); + t3._address$_$v = t4; + break; + case "original_helices_view_order_inverse": + t3 = result.get$_$this(); + t4 = t3._actions$_original_helices_view_order_inverse; + if (t4 == null) { + t4 = new A.MapBuilder(null, $, null, t1); + t4.replace$1(0, B.Map_empty); + t3.set$_actions$_original_helices_view_order_inverse(t4); + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t4.toString; + t3.replace$1(0, t4); break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._show_length; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowLoopoutExtensionLengthSet", "show_length")); - _$result = U._$ShowLoopoutExtensionLengthSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_knt0; + get$types() { + return B.List_wsf; }, - get$wireName: function() { - return "ShowLoopoutExtensionLengthSet"; + get$wireName() { + return "DomainsMoveStartSelectedDomains"; } }; - U._$LoadDnaSequenceImageUriSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_LoadDnaSequenceImageUri._as(object); - result = H.setRuntimeTypeInfo(["dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, C.FullType_2ru), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, C.FullType_2ru)], type$.JSArray_legacy_Object); - value = object.uri; - if (value != null) { - C.JSArray_methods.add$1(result, "uri"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A._$DomainsMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DomainsMoveStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new U.LoadDnaSequenceImageUriBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "uri": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_$this()._uri = t1; - break; - case "dna_sequence_png_horizontal_offset": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_$this()._actions$_dna_sequence_png_horizontal_offset = t1; - break; - case "dna_sequence_png_vertical_offset": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_$this()._actions$_dna_sequence_png_vertical_offset = t1; - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.DomainsMoveStopBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_qbL; + get$types() { + return B.List_gDw; }, - get$wireName: function() { - return "LoadDnaSequenceImageUri"; + get$wireName() { + return "DomainsMoveStop"; } }; - U._$SetIsZoomAboveThresholdSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["is_zoom_above_threshold", serializers.serialize$2$specifiedType(type$.legacy_SetIsZoomAboveThreshold._as(object).is_zoom_above_threshold, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DomainsMoveAdjustAddressSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["address", serializers.serialize$2$specifiedType(type$.DomainsMoveAdjustAddress._as(object).address, B.FullType_KlG)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SetIsZoomAboveThresholdBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.DomainsMoveAdjustAddressBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Address; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "is_zoom_above_threshold": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "address": $$v = result._$v; if ($$v != null) { - result._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + t2 = $$v.address; + t3 = new A.AddressBuilder(); + t3._address$_$v = t2; + result._actions$_address = t3; result._$v = null; } - result._actions$_is_zoom_above_threshold = t1; + t2 = result._actions$_address; + if (t2 == null) + t2 = result._actions$_address = new A.AddressBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t3.toString; + t1._as(t3); + t2._address$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_IO4; + get$types() { + return B.List_ssD; }, - get$wireName: function() { - return "SetIsZoomAboveThreshold"; + get$wireName() { + return "DomainsMoveAdjustAddress"; } }; - U._$SetExportSvgActionDelayedForPngCacheSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_SetExportSvgActionDelayedForPngCache._as(object); - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - value = object.export_svg_action_delayed_for_png_cache; - if (value != null) { - C.JSArray_methods.add$1(result, "export_svg_action_delayed_for_png_cache"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_3lI)); - } - return result; + A._$DomainsMoveCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["domains_move", serializers.serialize$2$specifiedType(type$.DomainsMoveCommit._as(object).domains_move, B.FullType_KIf)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new U.SetExportSvgActionDelayedForPngCacheBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Action; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.DomainsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DomainsMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "export_svg_action_delayed_for_png_cache": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); + switch (t2) { + case "domains_move": $$v = result._$v; if ($$v != null) { - result._actions$_export_svg_action_delayed_for_png_cache = $$v.export_svg_action_delayed_for_png_cache; + t2 = $$v.domains_move; + t2.toString; + t3 = new A.DomainsMoveBuilder(); + t3._domains_move$_$v = t2; + result._actions$_domains_move = t3; result._$v = null; } - result._actions$_export_svg_action_delayed_for_png_cache = t2; + t2 = result._actions$_domains_move; + if (t2 == null) + t2 = result._actions$_domains_move = new A.DomainsMoveBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_KIf); + t3.toString; + t1._as(t3); + t2._domains_move$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_tqs; + get$types() { + return B.List_0; }, - get$wireName: function() { - return "SetExportSvgActionDelayedForPngCache"; + get$wireName() { + return "DomainsMoveCommit"; } }; - U._$ShowBasePairLinesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_base_pair_lines", serializers.serialize$2$specifiedType(type$.legacy_ShowBasePairLinesSet._as(object).show_base_pair_lines, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DNAEndsMoveStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAEndsMoveStart._as(object); + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s20_ = "show_base_pair_lines", - result = new U.ShowBasePairLinesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.DNAEndsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Helix; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_base_pair_lines": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._actions$_show_base_pair_lines = $$v.show_base_pair_lines; - result._$v = null; - } - result._actions$_show_base_pair_lines = t1; + switch (t2) { + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_offset = t2; + break; + case "helix": + t2 = result.get$_$this(); + t3 = t2._actions$_helix; + if (t3 == null) { + t3 = new A.HelixBuilder(); + t3.get$_helix$_$this()._group = "default_group"; + t3.get$_helix$_$this()._min_offset = 0; + t3.get$_helix$_$this()._roll = 0; + t2._actions$_helix = t3; + t2 = t3; + } else + t2 = t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t3.toString; + t1._as(t3); + t2._helix$_$v = t3; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_show_base_pair_lines; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowBasePairLinesSet", _s20_)); - _$result = new U._$ShowBasePairLinesSet(t1); + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ifL; + }, + get$wireName() { + return "DNAEndsMoveStart"; + } + }; + A._$DNAEndsMoveSetSelectedEndsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAEndsMoveSetSelectedEnds._as(object); + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, B.FullType_Y8O)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, value, t9, t10, t11, t12, _null = null, + result = new A.DNAEndsMoveSetSelectedEndsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_Strand, t3 = type$.Helix, t4 = type$.BuiltList_nullable_Object, t5 = type$.DNAEndMove, t6 = type$.List_DNAEndMove, t7 = type$.ListBuilder_DNAEndMove; iterator.moveNext$0();) { + t8 = iterator.get$current(iterator); + t8.toString; + A._asStringS(t8); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t8) { + case "moves": + t8 = result.get$_$this(); + t9 = t8._actions$_moves; + if (t9 == null) { + t9 = new A.ListBuilder(t7); + t9.set$__ListBuilder__list_A(t6._as(A.List_List$from(B.List_empty, true, t5))); + t9.set$_listOwner(_null); + t8.set$_actions$_moves(t9); + t8 = t9; + } else + t8 = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_TgZ); + t9.toString; + t4._as(t9); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list_A(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list_A(t12._as(A.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "original_offset": + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8.toString; + A._asIntS(t8); + result.get$_$this()._actions$_original_offset = t8; + break; + case "helix": + t8 = result.get$_$this(); + t9 = t8._actions$_helix; + if (t9 == null) { + t9 = new A.HelixBuilder(); + t9.get$_helix$_$this()._group = "default_group"; + t9.get$_helix$_$this()._min_offset = 0; + t9.get$_helix$_$this()._roll = 0; + t8._actions$_helix = t9; + t8 = t9; + } else + t8 = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t9.toString; + t3._as(t9); + t8._helix$_$v = t9; + break; + case "strands_affected": + t8 = result.get$_$this(); + t9 = t8._strands_affected; + if (t9 == null) { + t9 = new A.SetBuilder(_null, $, _null, t2); + t9.replace$1(0, B.List_empty); + t8.set$_strands_affected(t9); + t8 = t9; + } else + t8 = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_Y8O); + t9.toString; + t8.replace$1(0, t1._as(t9)); + break; + } } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_7YB; + get$types() { + return B.List_6Hc; }, - get$wireName: function() { - return "ShowBasePairLinesSet"; + get$wireName() { + return "DNAEndsMoveSetSelectedEnds"; } }; - U._$ShowBasePairLinesWithMismatchesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(type$.legacy_ShowBasePairLinesWithMismatchesSet._as(object).show_base_pair_lines_with_mismatches, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DNAEndsMoveAdjustOffsetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["offset", serializers.serialize$2$specifiedType(type$.DNAEndsMoveAdjustOffset._as(object).offset, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - _s36_ = "show_base_pair_lines_with_mismatches", - result = new U.ShowBasePairLinesWithMismatchesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.DNAEndsMoveAdjustOffsetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show_base_pair_lines_with_mismatches": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t1) { + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._$v; if ($$v != null) { - result._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + result._actions$_offset = $$v.offset; result._$v = null; } - result._actions$_show_base_pair_lines_with_mismatches = t1; + result._actions$_offset = t1; break; } } _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._actions$_show_base_pair_lines_with_mismatches; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowBasePairLinesWithMismatchesSet", _s36_)); - _$result = U._$ShowBasePairLinesWithMismatchesSet$_(t1); - } + if (_$result == null) + _$result = A._$DNAEndsMoveAdjustOffset$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_offset, "DNAEndsMoveAdjustOffset", "offset", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAEndsMoveAdjustOffset); return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_4QF0; + get$types() { + return B.List_CZB; }, - get$wireName: function() { - return "ShowBasePairLinesWithMismatchesSet"; + get$wireName() { + return "DNAEndsMoveAdjustOffset"; } }; - U._$ShowSliceBarSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowSliceBarSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DNAEndsMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAEndsMoveStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.ShowSliceBarSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$DNAEndsMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAEndsMoveStop); + return _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_kmC; + }, + get$wireName() { + return "DNAEndsMoveStop"; + } + }; + A._$DNAEndsMoveCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["dna_ends_move", serializers.serialize$2$specifiedType(type$.DNAEndsMoveCommit._as(object).dna_ends_move, B.FullType_gg9)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.DNAEndsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEndsMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "show": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "dna_ends_move": $$v = result._$v; if ($$v != null) { - result._show = $$v.show; + t2 = $$v.dna_ends_move; + t2.toString; + t3 = new A.DNAEndsMoveBuilder(); + t3._dna_ends_move$_$v = t2; + result._dna_ends_move = t3; result._$v = null; } - result._show = t1; + t2 = result._dna_ends_move; + if (t2 == null) + t2 = result._dna_ends_move = new A.DNAEndsMoveBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gg9); + t3.toString; + t1._as(t3); + t2._dna_ends_move$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_knt1; + get$types() { + return B.List_9pj; }, - get$wireName: function() { - return "ShowSliceBarSet"; + get$wireName() { + return "DNAEndsMoveCommit"; } }; - U._$SliceBarOffsetSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_SliceBarOffsetSet._as(object); - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); - value = object.offset; - if (value != null) { - C.JSArray_methods.add$1(result, "offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + A._$DNAExtensionsMoveStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAExtensionsMoveStart._as(object); + return ["start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_laS), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, value, t5, + result = new A.DNAExtensionsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Helix, t2 = type$.Point_double, t3 = type$.nullable_Point_double; iterator.moveNext$0();) { + t4 = iterator.get$current(iterator); + t4.toString; + A._asStringS(t4); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t4) { + case "start_point": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t4.toString; + t4 = t3._as(t2._as(t4)); + result.get$_$this().set$_actions$_start_point(t4); + break; + case "helix": + t4 = result.get$_$this(); + t5 = t4._actions$_helix; + if (t5 == null) { + t5 = new A.HelixBuilder(); + t5.get$_helix$_$this()._group = "default_group"; + t5.get$_helix$_$this()._min_offset = 0; + t5.get$_helix$_$this()._roll = 0; + t4._actions$_helix = t5; + t4 = t5; + } else + t4 = t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t5.toString; + t1._as(t5); + t4._helix$_$v = t5; + break; + } } - return result; + return result._build$0(); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.SliceBarOffsetSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_SbI; + }, + get$wireName() { + return "DNAExtensionsMoveStart"; + } + }; + A._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAExtensionsMoveSetSelectedExtensionEnds._as(object); + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_j5B), "original_point", serializers.serialize$2$specifiedType(object.original_point, B.FullType_laS), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, B.FullType_Y8O), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, value, t11, t12, t13, t14, _null = null, + result = new A.DNAExtensionsMoveSetSelectedExtensionEndsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Helix, t2 = type$.BuiltSet_nullable_Object, t3 = type$.SetBuilder_Strand, t4 = type$.Point_double, t5 = type$.nullable_Point_double, t6 = type$.BuiltList_nullable_Object, t7 = type$.DNAExtensionMove, t8 = type$.List_DNAExtensionMove, t9 = type$.ListBuilder_DNAExtensionMove; iterator.moveNext$0();) { + t10 = iterator.get$current(iterator); + t10.toString; + A._asStringS(t10); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + switch (t10) { + case "moves": + t10 = result.get$_$this(); + t11 = t10._actions$_moves; + if (t11 == null) { + t11 = new A.ListBuilder(t9); + t11.set$__ListBuilder__list_A(t8._as(A.List_List$from(B.List_empty, true, t7))); + t11.set$_listOwner(_null); + t10.set$_actions$_moves(t11); + t10 = t11; + } else + t10 = t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_j5B); + t11.toString; + t6._as(t11); + t12 = t10.$ti; + t13 = t12._eval$1("_BuiltList<1>"); + t14 = t12._eval$1("List<1>"); + if (t13._is(t11)) { + t13._as(t11); + t10.set$__ListBuilder__list_A(t14._as(t11._list)); + t10.set$_listOwner(t11); + } else { + t10.set$__ListBuilder__list_A(t14._as(A.List_List$from(t11, true, t12._precomputed1))); + t10.set$_listOwner(_null); + } + break; + case "original_point": + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t10.toString; + t10 = t5._as(t4._as(t10)); + result.get$_$this().set$_original_point(t10); + break; + case "strands_affected": + t10 = result.get$_$this(); + t11 = t10._strands_affected; + if (t11 == null) { + t11 = new A.SetBuilder(_null, $, _null, t3); + t11.replace$1(0, B.List_empty); + t10.set$_strands_affected(t11); + t10 = t11; + } else + t10 = t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_Y8O); + t11.toString; + t10.replace$1(0, t2._as(t11)); + break; + case "helix": + t10 = result.get$_$this(); + t11 = t10._actions$_helix; + if (t11 == null) { + t11 = new A.HelixBuilder(); + t11.get$_helix$_$this()._group = "default_group"; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t10._actions$_helix = t11; + t10 = t11; + } else + t10 = t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t11.toString; + t1._as(t11); + t10._helix$_$v = t11; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_43h; + }, + get$wireName() { + return string$.DNAExt; + } + }; + A._$DNAExtensionsMoveAdjustPositionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["position", serializers.serialize$2$specifiedType(type$.DNAExtensionsMoveAdjustPosition._as(object).position, B.FullType_laS)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + result = new A.DNAExtensionsMoveAdjustPositionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "position": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); $$v = result._$v; if ($$v != null) { - result._actions$_offset = $$v.offset; + result.set$_actions$_position(0, $$v.position); result._$v = null; } - result._actions$_offset = t1; + result.set$_actions$_position(0, t3); break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$DNAExtensionsMoveAdjustPosition$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_position, "DNAExtensionsMoveAdjustPosition", "position", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAExtensionsMoveAdjustPosition); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_UgE; + get$types() { + return B.List_Mhf; }, - get$wireName: function() { - return "SliceBarOffsetSet"; + get$wireName() { + return "DNAExtensionsMoveAdjustPosition"; } }; - U._$DisablePngCachingDnaSequencesSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(type$.legacy_DisablePngCachingDnaSequencesSet._as(object).disable_png_caching_dna_sequences, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$DNAExtensionsMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAExtensionsMoveStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.DisablePngCachingDnaSequencesSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$DNAExtensionsMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAExtensionsMoveStop); + return _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_etd; + }, + get$wireName() { + return "DNAExtensionsMoveStop"; + } + }; + A._$DNAExtensionsMoveCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["dna_extensions_move", serializers.serialize$2$specifiedType(type$.DNAExtensionsMoveCommit._as(object).dna_extensions_move, B.FullType_Ugm)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.DNAExtensionsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAExtensionsMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "disable_png_caching_dna_sequences": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "dna_extensions_move": $$v = result._$v; if ($$v != null) { - result._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + t2 = $$v.dna_extensions_move; + t2.toString; + t3 = new A.DNAExtensionsMoveBuilder(); + t3._dna_extensions_move$_$v = t2; + result._dna_extensions_move = t3; result._$v = null; } - result._actions$_disable_png_caching_dna_sequences = t1; + t2 = result._dna_extensions_move; + if (t2 == null) + t2 = result._dna_extensions_move = new A.DNAExtensionsMoveBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Ugm); + t3.toString; + t1._as(t3); + t2._dna_extensions_move$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_AiQ; + get$types() { + return B.List_OPz; }, - get$wireName: function() { - return "DisablePngCachingDnaSequencesSet"; + get$wireName() { + return "DNAExtensionsMoveCommit"; } }; - U._$RetainStrandColorOnSelectionSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["retain_strand_color_on_selection", serializers.serialize$2$specifiedType(type$.legacy_RetainStrandColorOnSelectionSet._as(object).retain_strand_color_on_selection, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixGroupMoveStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["mouse_point", serializers.serialize$2$specifiedType(type$.HelixGroupMoveStart._as(object).mouse_point, B.FullType_laS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.RetainStrandColorOnSelectionSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + result = new A.HelixGroupMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "retain_strand_color_on_selection": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t3) { + case "mouse_point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); $$v = result._$v; if ($$v != null) { - result._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + result.set$_mouse_point($$v.mouse_point); result._$v = null; } - result._actions$_retain_strand_color_on_selection = t1; + result.set$_mouse_point(t3); break; } } - return result.build$0(); + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixGroupMoveStart$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._mouse_point, "HelixGroupMoveStart", "mouse_point", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixGroupMoveStart); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_3Qm; + get$types() { + return B.List_hkU; }, - get$wireName: function() { - return "RetainStrandColorOnSelectionSet"; + get$wireName() { + return "HelixGroupMoveStart"; } }; - U._$DisplayReverseDNARightSideUpSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(type$.legacy_DisplayReverseDNARightSideUpSet._as(object).display_reverse_DNA_right_side_up, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$HelixGroupMoveCreateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["helix_group_move", serializers.serialize$2$specifiedType(type$.HelixGroupMoveCreate._as(object).helix_group_move, B.FullType_oKF)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.DisplayReverseDNARightSideUpSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.HelixGroupMoveCreateBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.HelixGroupMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "display_reverse_DNA_right_side_up": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t2) { + case "helix_group_move": $$v = result._$v; if ($$v != null) { - result._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + t2 = $$v.helix_group_move; + t2.toString; + t3 = new A.HelixGroupMoveBuilder(); + t3._helix_group_move$_$v = t2; + result._helix_group_move = t3; result._$v = null; } - result._actions$_display_reverse_DNA_right_side_up = t1; + t2 = result._helix_group_move; + if (t2 == null) + t2 = result._helix_group_move = new A.HelixGroupMoveBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_oKF); + t3.toString; + t1._as(t3); + t2._helix_group_move$_$v = t3; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_U050; + get$types() { + return B.List_1nx; }, - get$wireName: function() { - return "DisplayReverseDNARightSideUpSet"; + get$wireName() { + return "HelixGroupMoveCreate"; } }; - U._$SliceBarMoveStartSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SliceBarMoveStart._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$HelixGroupMoveAdjustTranslationSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["mouse_point", serializers.serialize$2$specifiedType(type$.HelixGroupMoveAdjustTranslation._as(object).mouse_point, B.FullType_laS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.SliceBarMoveStartBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, _$result, + result = new A.HelixGroupMoveAdjustTranslationBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "mouse_point": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + $$v = result._$v; + if ($$v != null) { + result.set$_mouse_point($$v.mouse_point); + result._$v = null; + } + result.set$_mouse_point(t3); + break; + } + } + _$result = result._$v; + if (_$result == null) + _$result = A._$HelixGroupMoveAdjustTranslation$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._mouse_point, "HelixGroupMoveAdjustTranslation", "mouse_point", t1)); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixGroupMoveAdjustTranslation); + return result._$v = _$result; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_izV0; + get$types() { + return B.List_iHz; }, - get$wireName: function() { - return "SliceBarMoveStart"; + get$wireName() { + return "HelixGroupMoveAdjustTranslation"; } }; - U._$SliceBarMoveStopSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SliceBarMoveStop._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$HelixGroupMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixGroupMoveStop._as(object); + return []; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.SliceBarMoveStopBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelixGroupMoveStopBuilder()._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_gaI; + get$types() { + return B.List_PcW; }, - get$wireName: function() { - return "SliceBarMoveStop"; + get$wireName() { + return "HelixGroupMoveStop"; } }; - U._$AutostapleSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Autostaple._as(object); - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + A._$HelixGroupMoveCommitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["helix_group_move", serializers.serialize$2$specifiedType(type$.HelixGroupMoveCommit._as(object).helix_group_move, B.FullType_oKF)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); - return new U.AutostapleBuilder().build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.HelixGroupMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.HelixGroupMove; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "helix_group_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.helix_group_move; + t2.toString; + t3 = new A.HelixGroupMoveBuilder(); + t3._helix_group_move$_$v = t2; + result._helix_group_move = t3; + result._$v = null; + } + t2 = result._helix_group_move; + if (t2 == null) + t2 = result._helix_group_move = new A.HelixGroupMoveBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_oKF); + t3.toString; + t1._as(t3); + t2._helix_group_move$_$v = t3; + break; + } + } + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_i9o; + get$types() { + return B.List_ziQ; }, - get$wireName: function() { - return "Autostaple"; + get$wireName() { + return "HelixGroupMoveCommit"; } }; - U._$AutobreakSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Autobreak._as(object); - return H.setRuntimeTypeInfo(["target_length", serializers.serialize$2$specifiedType(object.target_length, C.FullType_kjq), "min_length", serializers.serialize$2$specifiedType(object.min_length, C.FullType_kjq), "max_length", serializers.serialize$2$specifiedType(object.max_length, C.FullType_kjq), "min_distance_to_xover", serializers.serialize$2$specifiedType(object.min_distance_to_xover, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$AssignDNASerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.AssignDNA._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, B.FullType_eRS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new U.AutobreakBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.AssignDNABuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAAssignOptions, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "target_length": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._target_length = t1; - break; - case "min_length": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._min_length = t1; - break; - case "max_length": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._max_length = t1; + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; break; - case "min_distance_to_xover": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_$this()._min_distance_to_xover = t1; + case "dna_assign_options": + t3 = result.get$_$this(); + t4 = t3._actions$_dna_assign_options; + if (t4 == null) { + t4 = new A.DNAAssignOptionsBuilder(); + t4.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = ""; + t4.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t4.get$_dna_assign_options$_$this()._assign_complements = true; + t4.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t4.get$_dna_assign_options$_$this()._m13_rotation = 5587; + t3._actions$_dna_assign_options = t4; + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_eRS); + t4.toString; + t1._as(t4); + t3._dna_assign_options$_$v = t4; break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_5Q6; + get$types() { + return B.List_fvk; }, - get$wireName: function() { - return "Autobreak"; + get$wireName() { + return "AssignDNA"; } }; - U._$ZoomSpeedSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["speed", serializers.serialize$2$specifiedType(type$.legacy_ZoomSpeedSet._as(object).speed, C.FullType_2ru)], type$.JSArray_legacy_Object); + A._$AssignDNAComplementFromBoundStrandsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["strands", serializers.serialize$2$specifiedType(type$.AssignDNAComplementFromBoundStrands._as(object).strands, B.FullType_2No)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.ZoomSpeedSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.AssignDNAComplementFromBoundStrandsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Strand, t3 = type$.List_Strand, t4 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "speed": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + switch (t5) { + case "strands": $$v = result._$v; if ($$v != null) { - result._speed = $$v.speed; + t5 = $$v.strands; + t5.toString; + t6 = t5.$ti; + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_strands(t7); result._$v = null; } - result._speed = t1; + t5 = result._actions$_strands; + if (t5 == null) { + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_strands(t5); + } + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._speed; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ZoomSpeedSet", "speed")); - _$result = U._$ZoomSpeedSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_joV; + get$types() { + return B.List_1YD; }, - get$wireName: function() { - return "ZoomSpeedSet"; + get$wireName() { + return "AssignDNAComplementFromBoundStrands"; } }; - U._$OxdnaExportSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["selected_strands_only", serializers.serialize$2$specifiedType(type$.legacy_OxdnaExport._as(object).selected_strands_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$AssignDomainNameComplementFromBoundStrandsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["strands", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundStrands._as(object).strands, B.FullType_2No)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.OxdnaExportBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.AssignDomainNameComplementFromBoundStrandsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Strand, t3 = type$.List_Strand, t4 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "selected_strands_only": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t5) { + case "strands": $$v = result._$v; if ($$v != null) { - result._selected_strands_only = $$v.selected_strands_only; + t5 = $$v.strands; + t5.toString; + t6 = t5.$ti; + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_strands(t7); result._$v = null; } - result._selected_strands_only = t1; + t5 = result._actions$_strands; + if (t5 == null) { + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_strands(t5); + } + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_kaS; + get$types() { + return B.List_eZu; }, - get$wireName: function() { - return "OxdnaExport"; + get$wireName() { + return string$.AssignS; } }; - U._$OxviewExportSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["selected_strands_only", serializers.serialize$2$specifiedType(type$.legacy_OxviewExport._as(object).selected_strands_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$AssignDomainNameComplementFromBoundDomainsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["domains", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundDomains._as(object).domains, B.FullType_dli)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new U.OxviewExportBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, + result = new A.AssignDomainNameComplementFromBoundDomainsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Domain, t3 = type$.List_Domain, t4 = type$.ListBuilder_Domain; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "selected_strands_only": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + switch (t5) { + case "domains": $$v = result._$v; if ($$v != null) { - result._selected_strands_only = $$v.selected_strands_only; + t5 = $$v.domains; + t5.toString; + t6 = t5.$ti; + t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_domains(t7); result._$v = null; } - result._selected_strands_only = t1; + t5 = result._domains; + if (t5 == null) { + t5 = new A.ListBuilder(t4); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_domains(t5); + } + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; } } - return result.build$0(); + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_N9s; + get$types() { + return B.List_gc6; }, - get$wireName: function() { - return "OxviewExport"; + get$wireName() { + return string$.AssignD; } }; - U._$OxExportOnlySelectedStrandsSetSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["only_selected", serializers.serialize$2$specifiedType(type$.legacy_OxExportOnlySelectedStrandsSet._as(object).only_selected, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$RemoveDNASerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.RemoveDNA._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "remove_complements", serializers.serialize$2$specifiedType(object.remove_complements, B.FullType_MtR), "remove_all", serializers.serialize$2$specifiedType(object.remove_all, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, - result = new U.OxExportOnlySelectedStrandsSetBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.RemoveDNABuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "only_selected": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - $$v = result._$v; - if ($$v != null) { - result._only_selected = $$v.only_selected; - result._$v = null; - } - result._only_selected = t1; + switch (t2) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new A.StrandBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; + break; + case "remove_complements": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._remove_complements = t2; + break; + case "remove_all": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._remove_all = t2; break; } } - _$result = result._$v; - if (_$result == null) { - t1 = result.get$_$this()._only_selected; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("OxExportOnlySelectedStrandsSet", "only_selected")); - _$result = U._$OxExportOnlySelectedStrandsSet$_(t1); - } - return result._$v = _$result; + return result._build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ggc; + get$types() { + return B.List_URr; }, - get$wireName: function() { - return "OxExportOnlySelectedStrandsSet"; + get$wireName() { + return "RemoveDNA"; } }; - U._$SkipUndo.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SkipUndo && this.undoable_action.$eq(0, other.undoable_action); + A._$InsertionAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.InsertionAdd._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$hashCode: function(_) { - var t1 = this.undoable_action; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SkipUndo"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "undoable_action", this.undoable_action); - return t2.toString$0(t1); - } - }; - U.SkipUndoBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._undoable_action = $$v.undoable_action; - _this._$v = null; - } - return _this; - } - }; - U._$Undo.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.Undo && this.num_undos === other.num_undos; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.InsertionAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; + break; + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._all_helices = t2; + break; + } + } + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.num_undos))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Undo"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "num_undos", this.num_undos); - return t2.toString$0(t1); - } - }; - U.UndoBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._num_undos = $$v.num_undos; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_oyU; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._num_undos; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Undo", "num_undos")); - _$result = new U._$Undo(t1); - } - return this._$v = _$result; + get$wireName() { + return "InsertionAdd"; } }; - U._$Redo.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.Redo && this.num_redos === other.num_redos; + A._$InsertionLengthChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.InsertionLengthChange._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_EKW), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.num_redos))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Redo"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "num_redos", this.num_redos); - return t2.toString$0(t1); - } - }; - U.RedoBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._num_redos = $$v.num_redos; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.InsertionLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Insertion, t2 = type$.Domain; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "domain": + t3 = result.get$_$this(); + t4 = t3._actions$_domain; + t3 = t4 == null ? t3._actions$_domain = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t2._as(t4); + t3._domain$_$v = t4; + break; + case "insertion": + t3 = result.get$_$this(); + t4 = t3._insertion; + t3 = t4 == null ? t3._insertion = new A.InsertionBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_EKW); + t4.toString; + t1._as(t4); + t3._domain$_$v = t4; + break; + case "length": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_$this()._actions$_length = t3; + break; + case "all_helices": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._all_helices = t3; + break; + } } - return _this; + return result._build$0(); }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._num_redos; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Redo", "num_redos")); - _$result = new U._$Redo(t1); - } - return this._$v = _$result; - } - }; - U._$UndoRedoClear.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.UndoRedoClear; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return 505725110; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_86y; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("UndoRedoClear")); + get$wireName() { + return "InsertionLengthChange"; } }; - U._$BatchAction.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.BatchAction && J.$eq$(this.actions, other.actions) && this.short_description_value === other.short_description_value; + A._$InsertionsLengthChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.InsertionsLengthChange._as(object); + return ["insertions", serializers.serialize$2$specifiedType(object.insertions, B.FullType_i7r), "domains", serializers.serialize$2$specifiedType(object.domains, B.FullType_dli), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.actions)), C.JSString_methods.get$hashCode(this.short_description_value))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchAction"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "actions", this.actions); - t2.add$2(t1, "short_description_value", this.short_description_value); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, value, t9, t10, t11, t12, _null = null, + result = new A.InsertionsLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.Domain, t3 = type$.List_Domain, t4 = type$.ListBuilder_Domain, t5 = type$.Insertion, t6 = type$.List_Insertion, t7 = type$.ListBuilder_Insertion; iterator.moveNext$0();) { + t8 = iterator.get$current(iterator); + t8.toString; + A._asStringS(t8); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t8) { + case "insertions": + t8 = result.get$_$this(); + t9 = t8._actions$_insertions; + if (t9 == null) { + t9 = new A.ListBuilder(t7); + t9.set$__ListBuilder__list_A(t6._as(A.List_List$from(B.List_empty, true, t5))); + t9.set$_listOwner(_null); + t8.set$_actions$_insertions(t9); + t8 = t9; + } else + t8 = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_i7r); + t9.toString; + t1._as(t9); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list_A(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list_A(t12._as(A.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "domains": + t8 = result.get$_$this(); + t9 = t8._domains; + if (t9 == null) { + t9 = new A.ListBuilder(t4); + t9.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t9.set$_listOwner(_null); + t8.set$_domains(t9); + t8 = t9; + } else + t8 = t9; + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t9.toString; + t1._as(t9); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list_A(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list_A(t12._as(A.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "length": + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8.toString; + A._asIntS(t8); + result.get$_$this()._actions$_length = t8; + break; + case "all_helices": + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t8.toString; + A._asBoolS(t8); + result.get$_$this()._all_helices = t8; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_5uk; + }, + get$wireName() { + return "InsertionsLengthChange"; } }; - U.BatchActionBuilder.prototype = { - get$actions: function(_) { - var t1 = this.get$_$this(), - t2 = t1._actions; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoableAction); - t1.set$_actions(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A._$DeletionAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DeletionAdd._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$_$this: function() { - var t1, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.actions; - t1.toString; - _this.set$_actions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._short_description_value = $$v.short_description_value; - _this._$v = null; - } - return _this; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s11_ = "BatchAction", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$actions(_this).build$0(); - t2 = _this.get$_$this()._short_description_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "short_description_value")); - _$result0 = new U._$BatchAction(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "actions")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "actions"; - _this.get$actions(_this).build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.DeletionAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; + break; + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._all_helices = t2; + break; } - throw exception; } - t1 = type$.legacy_BatchAction._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_kjq; }, - set$_actions: function(_actions) { - this._actions = type$.legacy_ListBuilder_legacy_UndoableAction._as(_actions); + get$wireName() { + return "DeletionAdd"; } }; - U._$ThrottledActionFast.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ThrottledActionFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + A._$InsertionRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.InsertionRemove._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_EKW), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$hashCode: function(_) { - var t1 = this.action; - return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(this.interval_sec))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionFast"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "action", this.action); - t2.add$2(t1, "interval_sec", this.interval_sec); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.InsertionRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Insertion, t2 = type$.Domain; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "domain": + t3 = result.get$_$this(); + t4 = t3._actions$_domain; + t3 = t4 == null ? t3._actions$_domain = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t2._as(t4); + t3._domain$_$v = t4; + break; + case "insertion": + t3 = result.get$_$this(); + t4 = t3._insertion; + t3 = t4 == null ? t3._insertion = new A.InsertionBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_EKW); + t4.toString; + t1._as(t4); + t3._domain$_$v = t4; + break; + case "all_helices": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_$this()._all_helices = t3; + break; + } + } + return result._build$0(); }, - get$action: function(receiver) { - return this.action; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$interval_sec: function() { - return this.interval_sec; - } - }; - U.ThrottledActionFastBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._action = $$v.action; - _this._interval_sec = $$v.interval_sec; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_yXb; }, - build$0: function() { - var t1, t2, _this = this, - _s19_ = "ThrottledActionFast", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._action; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "action")); - t2 = _this.get$_$this()._interval_sec; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "interval_sec")); - _$result = new U._$ThrottledActionFast(t1, t2); - } - return _this._$v = _$result; + get$wireName() { + return "InsertionRemove"; } }; - U._$ThrottledActionNonFast.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ThrottledActionNonFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + A._$DeletionRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DeletionRemove._as(object); + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_MtR)]; }, - get$hashCode: function(_) { - var t1 = this.action; - return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(this.interval_sec))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionNonFast"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "action", this.action); - t2.add$2(t1, "interval_sec", this.interval_sec); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.DeletionRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; + break; + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._all_helices = t2; + break; + } + } + return result._build$0(); }, - get$action: function(receiver) { - return this.action; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$interval_sec: function() { - return this.interval_sec; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_qNA0; + }, + get$wireName() { + return "DeletionRemove"; } }; - U.ThrottledActionNonFastBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._action = $$v.action; - _this._interval_sec = $$v.interval_sec; - _this._$v = null; - } - return _this; + A._$ScalePurificationVendorFieldsAssignSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ScalePurificationVendorFieldsAssign._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, B.FullType_Unx)]; }, - build$0: function() { - var t1, t2, _this = this, - _s22_ = "ThrottledActionNonFast", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._action; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "action")); - t2 = _this.get$_$this()._interval_sec; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "interval_sec")); - _$result = new U._$ThrottledActionNonFast(t1, t2); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ScalePurificationVendorFieldsAssignBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.VendorFields, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "vendor_fields": + t3 = result.get$_$this(); + t4 = t3._actions$_vendor_fields; + t3 = t4 == null ? t3._actions$_vendor_fields = new A.VendorFieldsBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Unx); + t4.toString; + t1._as(t4); + t3._vendor_fields$_$v = t4; + break; + } } - return _this._$v = _$result; - } - }; - U._$LocalStorageDesignChoiceSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.LocalStorageDesignChoiceSet && this.choice.$eq(0, other.choice); + return result._build$0(); }, - get$hashCode: function(_) { - var t1 = this.choice; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoiceSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "choice", this.choice); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_AeS; + }, + get$wireName() { + return "ScalePurificationVendorFieldsAssign"; } }; - U.LocalStorageDesignChoiceSetBuilder.prototype = { - get$choice: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.choice; - t2 = new Y.LocalStorageDesignChoiceBuilder(); - t2._local_storage_design_choice$_$v = t1; - _this._choice = t2; - _this._$v = null; - } - t1 = _this._choice; - return t1 == null ? _this._choice = new Y.LocalStorageDesignChoiceBuilder() : t1; + A._$PlateWellVendorFieldsAssignSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.PlateWellVendorFieldsAssign._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, B.FullType_Unx)]; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$LocalStorageDesignChoiceSet$_(_this.get$choice().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "choice"; - _this.get$choice().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("LocalStorageDesignChoiceSet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.PlateWellVendorFieldsAssignBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.VendorFields, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "vendor_fields": + t3 = result.get$_$this(); + t4 = t3._actions$_vendor_fields; + t3 = t4 == null ? t3._actions$_vendor_fields = new A.VendorFieldsBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Unx); + t4.toString; + t1._as(t4); + t3._vendor_fields$_$v = t4; + break; } - throw exception; } - t1 = type$.legacy_LocalStorageDesignChoiceSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - } - }; - U._$ResetLocalStorage.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ResetLocalStorage; + return result._build$0(); }, - get$hashCode: function(_) { - return 939416752; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ResetLocalStorage")); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_gsm; + }, + get$wireName() { + return "PlateWellVendorFieldsAssign"; } }; - U._$ClearHelixSelectionWhenLoadingNewDesignSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ClearHelixSelectionWhenLoadingNewDesignSet && this.clear === other.clear; + A._$PlateWellVendorFieldsRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["strand", serializers.serialize$2$specifiedType(type$.PlateWellVendorFieldsRemove._as(object).strand, B.FullType_w0x)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.clear))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.ClearH), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "clear", this.clear); - return t2.toString$0(t1); - } - }; - U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._clear = $$v.clear; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.PlateWellVendorFieldsRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "strand": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.strand; + t2.toString; + t3 = new A.StrandBuilder(); + t3._strand$_$v = t2; + result._strand = t3; + result._$v = null; + } + t2 = result._strand; + if (t2 == null) + t2 = result._strand = new A.StrandBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; + break; + } } - return _this; - } - }; - U._$EditModeToggle.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.EditModeToggle && this.mode === other.mode; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.mode))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModeToggle"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "mode", this.mode); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_nXg; + }, + get$wireName() { + return "PlateWellVendorFieldsRemove"; } }; - U.EditModeToggleBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._mode = $$v.mode; - _this._$v = null; - } - return _this; + A._$VendorFieldsRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["strand", serializers.serialize$2$specifiedType(type$.VendorFieldsRemove._as(object).strand, B.FullType_w0x)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._mode; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("EditModeToggle", "mode")); - _$result = new U._$EditModeToggle(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.VendorFieldsRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "strand": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.strand; + t2.toString; + t3 = new A.StrandBuilder(); + t3._strand$_$v = t2; + result._strand = t3; + result._$v = null; + } + t2 = result._strand; + if (t2 == null) + t2 = result._strand = new A.StrandBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; + break; + } } - return this._$v = _$result; - } - }; - U._$EditModesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.EditModesSet && J.$eq$(this.edit_modes, other.edit_modes); + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.edit_modes))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "edit_modes", this.edit_modes); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ezA; + }, + get$wireName() { + return "VendorFieldsRemove"; } }; - U.EditModesSetBuilder.prototype = { - get$edit_modes: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.edit_modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_actions$_edit_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - _this._$v = null; - } - t1 = _this._actions$_edit_modes; - if (t1 == null) { - t1 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); - _this.set$_actions$_edit_modes(t1); + A._$ModificationAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ModificationAdd._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_IvI)]; + value = object.strand_dna_idx; + if (value != null) { + result.push("strand_dna_idx"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } - return t1; + return result; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s12_ = "EditModesSet", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$edit_modes().build$0(); - _$result0 = new U._$EditModesSet(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "edit_modes")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "edit_modes"; - _this.get$edit_modes().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ModificationAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "modification": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3.toString; + t1._as(t3); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; } - throw exception; } - t1 = type$.legacy_EditModesSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return result._build$0(); }, - set$_actions$_edit_modes: function(_edit_modes) { - this._actions$_edit_modes = type$.legacy_SetBuilder_legacy_EditModeChoice._as(_edit_modes); - } - }; - U._$SelectModeToggle.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SelectModeToggle && this.select_mode_choice === other.select_mode_choice; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.select_mode_choice))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_jDT; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeToggle"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "select_mode_choice", this.select_mode_choice); - return t2.toString$0(t1); + get$wireName() { + return "ModificationAdd"; } }; - U.SelectModeToggleBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._select_mode_choice = $$v.select_mode_choice; - _this._$v = null; + A._$ModificationRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ModificationRemove._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_IvI)]; + value = object.strand_dna_idx; + if (value != null) { + result.push("strand_dna_idx"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } - return _this; + return result; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._select_mode_choice; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectModeToggle", "select_mode_choice")); - _$result = new U._$SelectModeToggle(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ModificationRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "modification": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3.toString; + t1._as(t3); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; + } } - return this._$v = _$result; - } - }; - U._$SelectModesAdd.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SelectModesAdd && J.$eq$(this.modes, other.modes); + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.modes))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesAdd"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modes", this.modes); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_zrt; + }, + get$wireName() { + return "ModificationRemove"; } }; - U.SelectModesAddBuilder.prototype = { - get$modes: function() { - var t1, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.modes; - t1.toString; - _this.set$_actions$_modes(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._$v = null; - } - t1 = _this._actions$_modes; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectModeChoice); - _this.set$_actions$_modes(t1); - } - return t1; + A._$ModificationConnectorLengthSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ModificationConnectorLengthSet._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_IvI), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_kjq)]; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$SelectModesAdd$_(_this.get$modes().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "modes"; - _this.get$modes().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("SelectModesAdd", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ModificationConnectorLengthSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "modification": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3.toString; + t1._as(t3); + result.get$_$this()._modification = t3; + break; + case "connector_length": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_$this()._actions$_connector_length = t3; + break; } - throw exception; } - t1 = type$.legacy_SelectModesAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return result._build$0(); }, - set$_actions$_modes: function(_modes) { - this._actions$_modes = type$.legacy_ListBuilder_legacy_SelectModeChoice._as(_modes); - } - }; - U._$SelectModesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SelectModesSet && J.$eq$(this.select_mode_choices, other.select_mode_choices); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.select_mode_choices))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_HVo; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "select_mode_choices", this.select_mode_choices); - return t2.toString$0(t1); + get$wireName() { + return "ModificationConnectorLengthSet"; } }; - U.SelectModesSetBuilder.prototype = { - get$select_mode_choices: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.select_mode_choices; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_select_mode_choices(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - _this._$v = null; - } - t1 = _this._select_mode_choices; - if (t1 == null) { - t1 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); - _this.set$_select_mode_choices(t1); + A._$ModificationEditSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ModificationEdit._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_IvI)]; + value = object.strand_dna_idx; + if (value != null) { + result.push("strand_dna_idx"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } - return t1; + return result; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s14_ = "SelectModesSet", - _s19_ = "select_mode_choices", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$select_mode_choices().build$0(); - _$result0 = new U._$SelectModesSet(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, _s19_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = _s19_; - _this.get$select_mode_choices().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ModificationEditBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "modification": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3.toString; + t1._as(t3); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; } - throw exception; } - t1 = type$.legacy_SelectModesSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return result._build$0(); }, - set$_select_mode_choices: function(_select_mode_choices) { - this._select_mode_choices = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(_select_mode_choices); - } - }; - U._$StrandNameSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.StrandNameSet && this.name == other.name && J.$eq$(this.strand, other.strand); - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.strand))) : t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "name", this.name); - t2.add$2(t1, "strand", this.strand); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_bpf; }, - get$strand: function() { - return this.strand; + get$wireName() { + return "ModificationEdit"; } }; - U.StrandNameSetBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + A._$Modifications5PrimeEditSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Modifications5PrimeEdit._as(object); + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_SGU0), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_Q1p)]; }, - get$_$this: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_name = $$v.name; - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._$v = null; - } - return _this; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$StrandNameSet$_(_this.get$_$this()._actions$_name, _this.get$strand().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("StrandNameSet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, t10, + result = new A.Modifications5PrimeEditBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification5Prime, t2 = type$.BuiltList_nullable_Object, t3 = type$.SelectableModification5Prime, t4 = type$.List_SelectableModification5Prime, t5 = type$.ListBuilder_SelectableModification5Prime; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new A.ListBuilder(t5); + t7.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_SGU0); + t7.toString; + t2._as(t7); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list_A(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list_A(t10._as(A.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new A.Modification5PrimeBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p); + t7.toString; + t1._as(t7); + t6._modification$_$v = t7; + break; } - throw exception; } - t1 = type$.legacy_StrandNameSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - } - }; - U._$StrandLabelSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.StrandLabelSet && this.label == other.label && J.$eq$(this.strand, other.strand); + return result._build$0(); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.strand))) : t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "strand", this.strand); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_2Zi0; }, - get$strand: function() { - return this.strand; + get$wireName() { + return "Modifications5PrimeEdit"; } }; - U.StrandLabelSetBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + A._$Modifications3PrimeEditSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Modifications3PrimeEdit._as(object); + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_SGU), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_Q1p0)]; }, - get$_$this: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_label = $$v.label; - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._$v = null; - } - return _this; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$StrandLabelSet$_(_this.get$_$this()._actions$_label, _this.get$strand().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("StrandLabelSet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, t10, + result = new A.Modifications3PrimeEditBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Modification3Prime, t2 = type$.BuiltList_nullable_Object, t3 = type$.SelectableModification3Prime, t4 = type$.List_SelectableModification3Prime, t5 = type$.ListBuilder_SelectableModification3Prime; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new A.ListBuilder(t5); + t7.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_SGU); + t7.toString; + t2._as(t7); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list_A(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list_A(t10._as(A.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new A.Modification3PrimeBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p0); + t7.toString; + t1._as(t7); + t6._modification$_$v = t7; + break; } - throw exception; } - t1 = type$.legacy_StrandLabelSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - } - }; - U._$SubstrandNameSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SubstrandNameSet && this.name == other.name && J.$eq$(this.substrand, other.substrand); + return result._build$0(); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.substrand))) : t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandNameSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "name", this.name); - t2.add$2(t1, "substrand", this.substrand); - return t2.toString$0(t1); - } - }; - U.SubstrandNameSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_name = $$v.name; - _this._substrand = $$v.substrand; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ECG; + }, + get$wireName() { + return "Modifications3PrimeEdit"; } }; - U._$SubstrandLabelSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SubstrandLabelSet && this.label == other.label && J.$eq$(this.substrand, other.substrand); + A._$ModificationsInternalEditSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ModificationsInternalEdit._as(object); + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_Gat), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_eR6)]; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.substrand))) : t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandLabelSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "substrand", this.substrand); - return t2.toString$0(t1); - } - }; - U.SubstrandLabelSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_label = $$v.label; - _this._substrand = $$v.substrand; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, t10, + result = new A.ModificationsInternalEditBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.ModificationInternal, t2 = type$.BuiltList_nullable_Object, t3 = type$.SelectableModificationInternal, t4 = type$.List_SelectableModificationInternal, t5 = type$.ListBuilder_SelectableModificationInternal; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new A.ListBuilder(t5); + t7.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_Gat); + t7.toString; + t2._as(t7); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list_A(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list_A(t10._as(A.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new A.ModificationInternalBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_eR6); + t7.toString; + t1._as(t7); + t6._modification$_$v = t7; + break; + } } - return _this; - } - }; - U._$SetAppUIStateStorable.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetAppUIStateStorable && J.$eq$(this.storables, other.storables); + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.storables))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetAppUIStateStorable"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "storables", this.storables); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_2BF; + }, + get$wireName() { + return "ModificationsInternalEdit"; } }; - U.SetAppUIStateStorableBuilder.prototype = { - get$storables: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_storables; - if (t2 == null) { - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - t1._actions$_storables = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A._$GridChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.GridChange._as(object); + return ["grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_yXb), "group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_h8g)]; }, - get$_$this: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.storables; - t1.toString; - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - t2._app_ui_state_storables$_$v = t1; - _this._actions$_storables = t2; - _this._$v = null; - } - return _this; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s21_ = "SetAppUIStateStorable", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$storables().build$0(); - _$result0 = new U._$SetAppUIStateStorable(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "storables")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "storables"; - _this.get$storables().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, _$result, + _s10_ = "GridChange", + result = new A.GridChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Grid; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "grid": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t2.toString; + t1._as(t2); + $$v = result._$v; + if ($$v != null) { + result._actions$_grid = $$v.grid; + result._group_name = $$v.group_name; + result._$v = null; + } + result._actions$_grid = t2; + break; + case "group_name": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + $$v = result._$v; + if ($$v != null) { + result._actions$_grid = $$v.grid; + result._group_name = $$v.group_name; + result._$v = null; + } + result._group_name = t2; + break; } - throw exception; } - t1 = type$.legacy_SetAppUIStateStorable._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - } - }; - U._$ShowDNASet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowDNASet && this.show === other.show; + _$result = result._$v; + if (_$result == null) + _$result = A._$GridChange$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_grid, _s10_, "grid", t1), A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._group_name, _s10_, "group_name", type$.String)); + A.ArgumentError_checkNotNull(_$result, "other", type$.GridChange); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDNASet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.ShowDNASetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_nNZ; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowDNASet", "show")); - _$result = new U._$ShowDNASet(t1); - } - return this._$v = _$result; + get$wireName() { + return "GridChange"; } }; - U._$ShowDomainNamesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowDomainNamesSet && this.show === other.show; + A._$GroupDisplayedChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["group_name", serializers.serialize$2$specifiedType(type$.GroupDisplayedChange._as(object).group_name, B.FullType_h8g)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNamesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.ShowDomainNamesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.GroupDisplayedChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "group_name": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + $$v = result._$v; + if ($$v != null) { + result._group_name = $$v.group_name; + result._$v = null; + } + result._group_name = t1; + break; + } } - return _this; + _$result = result._$v; + if (_$result == null) + _$result = A._$GroupDisplayedChange$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._group_name, "GroupDisplayedChange", "group_name", type$.String)); + A.ArgumentError_checkNotNull(_$result, "other", type$.GroupDisplayedChange); + return result._$v = _$result; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainNamesSet", "show")); - _$result = new U._$ShowDomainNamesSet(t1); - } - return this._$v = _$result; - } - }; - U._$ShowStrandNamesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowStrandNamesSet && this.show === other.show; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_j6U; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandNamesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + get$wireName() { + return "GroupDisplayedChange"; } }; - U.ShowStrandNamesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$GroupAddSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.GroupAdd._as(object); + return ["name", serializers.serialize$2$specifiedType(object.name, B.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_yfz)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowStrandNamesSet", "show")); - _$result = new U._$ShowStrandNamesSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, + result = new A.GroupAddBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.HelixGroup, t2 = type$.nullable_ListBuilder_int, t3 = type$.int, t4 = type$.List_int, t5 = type$.ListBuilder_int; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "name": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6.toString; + A._asStringS(t6); + result.get$_$this()._actions$_name = t6; + break; + case "group": + t6 = result.get$_$this(); + t7 = t6._actions$_group; + if (t7 == null) { + t7 = new A.HelixGroupBuilder(); + t7.get$_group$_$this()._group$_grid = B.Grid_none; + t8 = $.$get$Position3D_origin(); + t8.toString; + t9 = new A.Position3DBuilder(); + t9._position3d$_$v = t8; + t7.get$_group$_$this()._group$_position = t9; + t7.get$_group$_$this()._pitch = 0; + t7.get$_group$_$this()._yaw = 0; + t7.get$_group$_$this()._group$_roll = 0; + t8 = new A.ListBuilder(t5); + t8.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t8.set$_listOwner(null); + t2._as(t8); + t7.get$_group$_$this().set$_group$_helices_view_order(t8); + t6._actions$_group = t7; + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t7.toString; + t1._as(t7); + t6._group$_$v = t7; + break; + } } - return this._$v = _$result; - } - }; - U._$ShowStrandLabelsSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowStrandLabelsSet && this.show === other.show; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandLabelsSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.ShowStrandLabelsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_kWG; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowStrandLabelsSet", "show")); - _$result = new U._$ShowStrandLabelsSet(t1); - } - return this._$v = _$result; + get$wireName() { + return "GroupAdd"; } }; - U._$ShowDomainLabelsSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowDomainLabelsSet && this.show === other.show; + A._$GroupRemoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["name", serializers.serialize$2$specifiedType(type$.GroupRemove._as(object).name, B.FullType_h8g)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainLabelsSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.ShowDomainLabelsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.GroupRemoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "name": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_name = $$v.name; + result._$v = null; + } + result._actions$_name = t1; + break; + } } - return _this; + _$result = result._$v; + if (_$result == null) + _$result = A._$GroupRemove$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_name, "GroupRemove", "name", type$.String)); + A.ArgumentError_checkNotNull(_$result, "other", type$.GroupRemove); + return result._$v = _$result; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainLabelsSet", "show")); - _$result = new U._$ShowDomainLabelsSet(t1); - } - return this._$v = _$result; - } - }; - U._$ShowModificationsSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowModificationsSet && this.show === other.show; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Mbm; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowModificationsSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + get$wireName() { + return "GroupRemove"; } }; - U.ShowModificationsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$GroupChangeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.GroupChange._as(object); + return ["old_name", serializers.serialize$2$specifiedType(object.old_name, B.FullType_h8g), "new_name", serializers.serialize$2$specifiedType(object.new_name, B.FullType_h8g), "new_group", serializers.serialize$2$specifiedType(object.new_group, B.FullType_yfz)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowModificationsSet", "show")); - _$result = new U._$ShowModificationsSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, + result = new A.GroupChangeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.HelixGroup, t2 = type$.nullable_ListBuilder_int, t3 = type$.int, t4 = type$.List_int, t5 = type$.ListBuilder_int; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "old_name": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6.toString; + A._asStringS(t6); + result.get$_$this()._old_name = t6; + break; + case "new_name": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6.toString; + A._asStringS(t6); + result.get$_$this()._new_name = t6; + break; + case "new_group": + t6 = result.get$_$this(); + t7 = t6._new_group; + if (t7 == null) { + t7 = new A.HelixGroupBuilder(); + t7.get$_group$_$this()._group$_grid = B.Grid_none; + t8 = $.$get$Position3D_origin(); + t8.toString; + t9 = new A.Position3DBuilder(); + t9._position3d$_$v = t8; + t7.get$_group$_$this()._group$_position = t9; + t7.get$_group$_$this()._pitch = 0; + t7.get$_group$_$this()._yaw = 0; + t7.get$_group$_$this()._group$_roll = 0; + t8 = new A.ListBuilder(t5); + t8.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t8.set$_listOwner(null); + t2._as(t8); + t7.get$_group$_$this().set$_group$_helices_view_order(t8); + t6._new_group = t7; + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t7.toString; + t1._as(t7); + t6._group$_$v = t7; + break; + } } - return this._$v = _$result; - } - }; - U._$DomainNameFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DomainNameFontSizeSet && this.font_size == other.font_size; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); - } - }; - U.DomainNameFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_pUC; + }, + get$wireName() { + return "GroupChange"; } }; - U._$DomainLabelFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DomainLabelFontSizeSet && this.font_size == other.font_size; + A._$MoveHelicesToGroupSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MoveHelicesToGroup._as(object); + return ["helix_idxs", serializers.serialize$2$specifiedType(object.helix_idxs, B.FullType_4QF0), "group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_h8g)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainLabelFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); - } - }; - U.DomainLabelFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.MoveHelicesToGroupBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t5) { + case "helix_idxs": + t5 = result.get$_$this(); + t6 = t5._helix_idxs; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_helix_idxs(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "group_name": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_$this()._group_name = t5; + break; + } } - return _this; - } - }; - U._$StrandNameFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.StrandNameFontSizeSet && this.font_size == other.font_size; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); - } - }; - U.StrandNameFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_G31; + }, + get$wireName() { + return "MoveHelicesToGroup"; } }; - U._$StrandLabelFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.StrandLabelFontSizeSet && this.font_size == other.font_size; + A._$DialogShowSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["dialog", serializers.serialize$2$specifiedType(type$.DialogShow._as(object).dialog, B.FullType_Azp)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); - } - }; - U.StrandLabelFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.DialogShowBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Dialog; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "dialog": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.dialog; + t2.toString; + t3 = new A.DialogBuilder(); + t3._dialog$_$v = t2; + result._actions$_dialog = t3; + result._$v = null; + } + t2 = result._actions$_dialog; + if (t2 == null) + t2 = result._actions$_dialog = new A.DialogBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Azp); + t3.toString; + t1._as(t3); + t2._dialog$_$v = t3; + break; + } } - return _this; + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_NO4; + }, + get$wireName() { + return "DialogShow"; } }; - U._$ModificationFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ModificationFontSizeSet && this.font_size === other.font_size; + A._$DialogHideSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogHide._as(object); + return []; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.DialogHideBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ro0; + }, + get$wireName() { + return "DialogHide"; } }; - U.ModificationFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; - } - return _this; + A._$ContextMenuShowSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["context_menu", serializers.serialize$2$specifiedType(type$.ContextMenuShow._as(object).context_menu, B.FullType_Z6u)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ModificationFontSizeSet", "font_size")); - _$result = new U._$ModificationFontSizeSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, t3, + result = new A.ContextMenuShowBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.ContextMenu; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "context_menu": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.context_menu; + t2.toString; + t3 = new A.ContextMenuBuilder(); + t3._context_menu$_$v = t2; + result._actions$_context_menu = t3; + result._$v = null; + } + t2 = result._actions$_context_menu; + if (t2 == null) + t2 = result._actions$_context_menu = new A.ContextMenuBuilder(); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Z6u); + t3.toString; + t1._as(t3); + t2._context_menu$_$v = t3; + break; + } } - return this._$v = _$result; + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_KdY; + }, + get$wireName() { + return "ContextMenuShow"; } }; - U._$MajorTickOffsetFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.MajorTickOffsetFontSizeSet && this.font_size === other.font_size; + A._$ContextMenuHideSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ContextMenuHide._as(object); + return []; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickOffsetFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.ContextMenuHideBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_2jN; + }, + get$wireName() { + return "ContextMenuHide"; } }; - U.MajorTickOffsetFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; + A._$StrandOrSubstrandColorPickerShowSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.StrandOrSubstrandColorPickerShow._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + value = object.substrand; + if (value != null) { + result.push("substrand"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); } - return _this; + return result; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("MajorTickOffsetFontSizeSet", "font_size")); - _$result = new U._$MajorTickOffsetFontSizeSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.StrandOrSubstrandColorPickerShowBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Substrand, t2 = type$.Strand; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t2._as(t4); + t3._strand$_$v = t4; + break; + case "substrand": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_S4t)); + result.get$_$this()._substrand = t3; + break; + } } - return this._$v = _$result; + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ky0; + }, + get$wireName() { + return "StrandOrSubstrandColorPickerShow"; } }; - U._$MajorTickWidthFontSizeSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.MajorTickWidthFontSizeSet && this.font_size === other.font_size; + A._$StrandOrSubstrandColorPickerHideSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandOrSubstrandColorPickerHide._as(object); + return []; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickWidthFontSizeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "font_size", this.font_size); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.StrandOrSubstrandColorPickerHideBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_MCv; + }, + get$wireName() { + return "StrandOrSubstrandColorPickerHide"; } }; - U.MajorTickWidthFontSizeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._font_size = $$v.font_size; - _this._$v = null; - } - return _this; + A._$ScaffoldSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ScaffoldSet._as(object); + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._font_size; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("MajorTickWidthFontSizeSet", "font_size")); - _$result = new U._$MajorTickWidthFontSizeSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.ScaffoldSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new A.StrandBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3.toString; + t1._as(t3); + t2._strand$_$v = t3; + break; + case "is_scaffold": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_$this()._actions$_is_scaffold = t2; + break; + } } - return this._$v = _$result; - } - }; - U._$SetModificationDisplayConnector.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetModificationDisplayConnector && this.show === other.show; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetModificationDisplayConnector"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_cdS; + }, + get$wireName() { + return "ScaffoldSet"; } }; - U.SetModificationDisplayConnectorBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; + A._$StrandOrSubstrandColorSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.StrandOrSubstrandColorSet._as(object); + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + value = object.substrand; + if (value != null) { + result.push("substrand"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); } - return _this; - }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SetModificationDisplayConnector", "show")); - _$result = new U._$SetModificationDisplayConnector(t1); + value = object.color; + if (value != null) { + result.push("color"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); } - return this._$v = _$result; - } - }; - U._$ShowMismatchesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowMismatchesSet && this.show === other.show; + return result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMismatchesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.ShowMismatchesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, value, t5, + result = new A.StrandOrSubstrandColorSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Color, t2 = type$.nullable_Substrand, t3 = type$.Strand; iterator.moveNext$0();) { + t4 = iterator.get$current(iterator); + t4.toString; + A._asStringS(t4); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t4) { + case "strand": + t4 = result.get$_$this(); + t5 = t4._strand; + t4 = t5 == null ? t4._strand = new A.StrandBuilder() : t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t5.toString; + t3._as(t5); + t4._strand$_$v = t5; + break; + case "substrand": + t4 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_S4t)); + result.get$_$this()._substrand = t4; + break; + case "color": + t4 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + result.get$_$this()._actions$_color = t4; + break; + } } - return _this; + return result._build$0(); }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowMismatchesSet", "show")); - _$result = new U._$ShowMismatchesSet(t1); - } - return this._$v = _$result; - } - }; - U._$ShowDomainNameMismatchesSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowDomainNameMismatchesSet && this.show_domain_name_mismatches === other.show_domain_name_mismatches; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_domain_name_mismatches))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_m1u; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNameMismatchesSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_domain_name_mismatches", this.show_domain_name_mismatches); - return t2.toString$0(t1); + get$wireName() { + return "StrandOrSubstrandColorSet"; } }; - U.ShowDomainNameMismatchesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; - _this._$v = null; - } - return _this; + A._$StrandPasteKeepColorSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["keep", serializers.serialize$2$specifiedType(type$.StrandPasteKeepColorSet._as(object).keep, B.FullType_MtR)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_show_domain_name_mismatches; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainNameMismatchesSet", "show_domain_name_mismatches")); - _$result = new U._$ShowDomainNameMismatchesSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.StrandPasteKeepColorSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "keep": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._keep = $$v.keep; + result._$v = null; + } + result._keep = t1; + break; + } } - return this._$v = _$result; - } - }; - U._$ShowUnpairedInsertionDeletionsSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowUnpairedInsertionDeletionsSet && this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions; + _$result = result._$v; + if (_$result == null) + _$result = A._$StrandPasteKeepColorSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._keep, "StrandPasteKeepColorSet", "keep", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandPasteKeepColorSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_unpaired_insertion_deletions))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowUnpairedInsertionDeletionsSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_unpaired_insertion_deletions", this.show_unpaired_insertion_deletions); - return t2.toString$0(t1); - } - }; - U.ShowUnpairedInsertionDeletionsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; - _this._$v = null; - } - return _this; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_NYu; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_show_unpaired_insertion_deletions; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowUnpairedInsertionDeletionsSet", "show_unpaired_insertion_deletions")); - _$result = new U._$ShowUnpairedInsertionDeletionsSet(t1); - } - return this._$v = _$result; + get$wireName() { + return "StrandPasteKeepColorSet"; } }; - U._$OxviewShowSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.OxviewShowSet && this.show === other.show; + A._$ExampleDesignsLoadSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["selected_idx", serializers.serialize$2$specifiedType(type$.ExampleDesignsLoad._as(object).selected_idx, B.FullType_kjq)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewShowSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); - } - }; - U.OxviewShowSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.ExampleDesignsLoadBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "selected_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_selected_idx = $$v.selected_idx; + result._$v = null; + } + result._actions$_selected_idx = t1; + break; + } } - return _this; + _$result = result._$v; + if (_$result == null) + _$result = A._$ExampleDesignsLoad$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_selected_idx, "ExampleDesignsLoad", "selected_idx", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExampleDesignsLoad); + return result._$v = _$result; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("OxviewShowSet", "show")); - _$result = new U._$OxviewShowSet(t1); - } - return this._$v = _$result; - } - }; - U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix && this.show === other.show; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_WMt; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.SetDis), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + get$wireName() { + return "ExampleDesignsLoad"; } }; - U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$BasePairTypeSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["selected_idx", serializers.serialize$2$specifiedType(type$.BasePairTypeSet._as(object).selected_idx, B.FullType_kjq)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(string$.SetDis, "show")); - _$result = new U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.BasePairTypeSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "selected_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_selected_idx = $$v.selected_idx; + result._$v = null; + } + result._actions$_selected_idx = t1; + break; + } } - return this._$v = _$result; - } - }; - U._$DisplayMajorTicksOffsetsSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DisplayMajorTicksOffsetsSet && this.show === other.show; + _$result = result._$v; + if (_$result == null) + _$result = A._$BasePairTypeSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_selected_idx, "BasePairTypeSet", "selected_idx", type$.int)); + A.ArgumentError_checkNotNull(_$result, "other", type$.BasePairTypeSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayMajorTicksOffsetsSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_sNW; + }, + get$wireName() { + return "BasePairTypeSet"; } }; - U.DisplayMajorTicksOffsetsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$HelixPositionSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixPositionSet._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_cgM)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DisplayMajorTicksOffsetsSet", "show")); - _$result = new U._$DisplayMajorTicksOffsetsSet(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.HelixPositionSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Position3D; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "helix_idx": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_$this()._actions$_helix_idx = t2; + break; + case "position": + t2 = result.get$_$this(); + t3 = t2._actions$_position; + t2 = t3 == null ? t2._actions$_position = new A.Position3DBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t3.toString; + t1._as(t3); + t2._position3d$_$v = t3; + break; + } } - return this._$v = _$result; - } - }; - U._$SetDisplayMajorTickWidthsAllHelices.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetDisplayMajorTickWidthsAllHelices && this.show === other.show; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidthsAllHelices"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_9Aw; + }, + get$wireName() { + return "HelixPositionSet"; } }; - U.SetDisplayMajorTickWidthsAllHelicesBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$HelixGridPositionSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixGridPositionSet._as(object); + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "grid_position", serializers.serialize$2$specifiedType(object.grid_position, B.FullType_q96)]; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SetDisplayMajorTickWidthsAllHelices", "show")); - _$result = new U._$SetDisplayMajorTickWidthsAllHelices(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.HelixGridPositionSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.GridPosition, t2 = type$.Helix; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "helix": + t3 = result.get$_$this(); + t4 = t3._actions$_helix; + if (t4 == null) { + t4 = new A.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._actions$_helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t4.toString; + t2._as(t4); + t3._helix$_$v = t4; + break; + case "grid_position": + t3 = result.get$_$this(); + t4 = t3._actions$_grid_position; + t3 = t4 == null ? t3._actions$_grid_position = new A.GridPositionBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t4.toString; + t1._as(t4); + t3._grid_position$_$v = t4; + break; + } } - return this._$v = _$result; - } - }; - U._$SetDisplayMajorTickWidths.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetDisplayMajorTickWidths && this.show === other.show; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidths"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_MUw; + }, + get$wireName() { + return "HelixGridPositionSet"; } }; - U.SetDisplayMajorTickWidthsBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$HelicesPositionsSetBasedOnCrossoversSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelicesPositionsSetBasedOnCrossovers._as(object); + return []; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SetDisplayMajorTickWidths", "show")); - _$result = new U._$SetDisplayMajorTickWidths(t1); - } - return this._$v = _$result; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.HelicesPositionsSetBasedOnCrossoversBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_mio; + }, + get$wireName() { + return "HelicesPositionsSetBasedOnCrossovers"; } }; - U._$SetOnlyDisplaySelectedHelices.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SetOnlyDisplaySelectedHelices && this.only_display_selected_helices === other.only_display_selected_helices; + A._$InlineInsertionsDeletionsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.InlineInsertionsDeletions._as(object); + return []; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_display_selected_helices))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetOnlyDisplaySelectedHelices"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "only_display_selected_helices", this.only_display_selected_helices); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.InlineInsertionsDeletionsBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_07S; + }, + get$wireName() { + return "InlineInsertionsDeletions"; } }; - U.SetOnlyDisplaySelectedHelicesBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_only_display_selected_helices = $$v.only_display_selected_helices; - _this._$v = null; - } - return _this; + A._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DefaultCrossoverTypeForSettingHelixRollsSet._as(object); + return ["scaffold", serializers.serialize$2$specifiedType(object.scaffold, B.FullType_MtR), "staple", serializers.serialize$2$specifiedType(object.staple, B.FullType_MtR)]; }, - build$0: function() { - var t1, - _$result = this._$v; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s43_ = string$.Defaul, + result = new A.DefaultCrossoverTypeForSettingHelixRollsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "scaffold": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._scaffold = $$v.scaffold; + result._staple = $$v.staple; + result._$v = null; + } + result._scaffold = t1; + break; + case "staple": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._scaffold = $$v.scaffold; + result._staple = $$v.staple; + result._$v = null; + } + result._staple = t1; + break; + } + } + _$result = result._$v; if (_$result == null) { - t1 = this.get$_$this()._actions$_only_display_selected_helices; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SetOnlyDisplaySelectedHelices", "only_display_selected_helices")); - _$result = new U._$SetOnlyDisplaySelectedHelices(t1); + t1 = type$.bool; + _$result = A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._scaffold, _s43_, "scaffold", t1), A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._staple, _s43_, "staple", t1)); } - return this._$v = _$result; - } - }; - U._$InvertYSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.InvertYSet && this.invert_y === other.invert_y; + A.ArgumentError_checkNotNull(_$result, "other", type$.DefaultCrossoverTypeForSettingHelixRollsSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.invert_y))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("InvertYSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "invert_y", this.invert_y); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_oXN; + }, + get$wireName() { + return string$.Defaul; } }; - U.InvertYSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_invert_y = $$v.invert_y; - _this._$v = null; + A._$AutofitSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["autofit", serializers.serialize$2$specifiedType(type$.AutofitSet._as(object).autofit, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.AutofitSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "autofit": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_autofit = $$v.autofit; + result._$v = null; + } + result._actions$_autofit = t1; + break; + } } - return _this; - } - }; - U._$DynamicHelixUpdateSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DynamicHelixUpdateSet && this.dynamically_update_helices === other.dynamically_update_helices; + _$result = result._$v; + if (_$result == null) + _$result = A._$AutofitSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_autofit, "AutofitSet", "autofit", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.AutofitSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.dynamically_update_helices))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DynamicHelixUpdateSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dynamically_update_helices", this.dynamically_update_helices); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_V5x; + }, + get$wireName() { + return "AutofitSet"; } }; - U.DynamicHelixUpdateSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_dynamically_update_helices = $$v.dynamically_update_helices; - _this._$v = null; + A._$ShowHelixCirclesMainViewSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_helix_circles_main_view", serializers.serialize$2$specifiedType(type$.ShowHelixCirclesMainViewSet._as(object).show_helix_circles_main_view, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s28_ = "show_helix_circles_main_view", + result = new A.ShowHelixCirclesMainViewSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_helix_circles_main_view": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; + result._$v = null; + } + result._actions$_show_helix_circles_main_view = t1; + break; + } } - return _this; - } - }; - U._$WarnOnExitIfUnsavedSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.WarnOnExitIfUnsavedSet && this.warn === other.warn; + _$result = result._$v; + if (_$result == null) + _$result = A._$ShowHelixCirclesMainViewSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_show_helix_circles_main_view, "ShowHelixCirclesMainViewSet", _s28_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowHelixCirclesMainViewSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.warn))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("WarnOnExitIfUnsavedSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "warn", this.warn); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_6iW; + }, + get$wireName() { + return "ShowHelixCirclesMainViewSet"; } }; - U.WarnOnExitIfUnsavedSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._warn = $$v.warn; - _this._$v = null; + A._$ShowHelixComponentsMainViewSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_helix_components", serializers.serialize$2$specifiedType(type$.ShowHelixComponentsMainViewSet._as(object).show_helix_components, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s21_ = "show_helix_components", + result = new A.ShowHelixComponentsMainViewSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_helix_components": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show_helix_components = $$v.show_helix_components; + result._$v = null; + } + result._show_helix_components = t1; + break; + } } - return _this; - } - }; - U._$LoadingDialogShow.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.LoadingDialogShow; + _$result = result._$v; + if (_$result == null) + _$result = A._$ShowHelixComponentsMainViewSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._show_helix_components, "ShowHelixComponentsMainViewSet", _s21_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowHelixComponentsMainViewSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return 952269547; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogShow")); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ZGD; + }, + get$wireName() { + return "ShowHelixComponentsMainViewSet"; } }; - U._$LoadingDialogHide.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.LoadingDialogHide; + A._$ShowEditMenuToggleSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ShowEditMenuToggle._as(object); + return []; }, - get$hashCode: function(_) { - return 802315898; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogHide")); - } - }; - U._$CopySelectedStandsToClipboardImage.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.CopySelectedStandsToClipboardImage; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var _$result; + type$.Iterable_nullable_Object._as(serialized); + _$result = new A._$ShowEditMenuToggle(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowEditMenuToggle); + return _$result; }, - get$hashCode: function(_) { - return 747815956; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStandsToClipboardImage")); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_LJp; + }, + get$wireName() { + return "ShowEditMenuToggle"; } }; - U.CopySelectedStandsToClipboardImageBuilder.prototype = { - build$0: function() { - var _$result = this._$v; + A._$ShowGridCoordinatesSideViewSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(type$.ShowGridCoordinatesSideViewSet._as(object).show_grid_coordinates_side_view, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s31_ = "show_grid_coordinates_side_view", + result = new A.ShowGridCoordinatesSideViewSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_grid_coordinates_side_view": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + result._$v = null; + } + result._actions$_show_grid_coordinates_side_view = t1; + break; + } + } + _$result = result._$v; if (_$result == null) - _$result = new U._$CopySelectedStandsToClipboardImage(); - return this._$v = _$result; - } - }; - U._$SaveDNAFile.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SaveDNAFile; + _$result = A._$ShowGridCoordinatesSideViewSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_show_grid_coordinates_side_view, "ShowGridCoordinatesSideViewSet", _s31_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowGridCoordinatesSideViewSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return 802180151; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SaveDNAFile")); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Jik; + }, + get$wireName() { + return "ShowGridCoordinatesSideViewSet"; } }; - U.SaveDNAFileBuilder.prototype = { - build$0: function() { - var _$result = this._$v; + A._$ShowAxisArrowsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_helices_axis_arrows", serializers.serialize$2$specifiedType(type$.ShowAxisArrowsSet._as(object).show_helices_axis_arrows, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s24_ = "show_helices_axis_arrows", + result = new A.ShowAxisArrowsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_helices_axis_arrows": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; + result._$v = null; + } + result._actions$_show_helices_axis_arrows = t1; + break; + } + } + _$result = result._$v; if (_$result == null) - _$result = new U._$SaveDNAFile(); - return this._$v = _$result; - } - }; - U._$LoadDNAFile.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof U.LoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; + _$result = A._$ShowAxisArrowsSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_show_helices_axis_arrows, "ShowAxisArrowsSet", _s24_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowAxisArrowsSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.content)), C.JSBool_methods.get$hashCode(_this.write_local_storage)), C.JSBool_methods.get$hashCode(_this.unit_testing)), H.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDNAFile"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "content", _this.content); - t2.add$2(t1, "write_local_storage", _this.write_local_storage); - t2.add$2(t1, "unit_testing", _this.unit_testing); - t2.add$2(t1, "dna_file_type", _this.dna_file_type); - t2.add$2(t1, "filename", _this.filename); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_AuK0; + }, + get$wireName() { + return "ShowAxisArrowsSet"; } }; - U.LoadDNAFileBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._content = $$v.content; - _this._write_local_storage = $$v.write_local_storage; - _this._unit_testing = $$v.unit_testing; - _this._dna_file_type = $$v.dna_file_type; - _this._filename = $$v.filename; - _this._$v = null; - } - return _this; + A._$ShowLoopoutExtensionLengthSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_length", serializers.serialize$2$specifiedType(type$.ShowLoopoutExtensionLengthSet._as(object).show_length, B.FullType_MtR)]; }, - build$0: function() { - var t1, t2, t3, t4, _this = this, - _s11_ = "LoadDNAFile", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._content; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "content")); - t2 = _this.get$_$this()._write_local_storage; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "write_local_storage")); - t3 = _this.get$_$this()._unit_testing; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "unit_testing")); - t4 = _this.get$_$this()._dna_file_type; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "dna_file_type")); - _$result = new U._$LoadDNAFile(t1, t2, t3, t4, _this.get$_$this()._filename); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.ShowLoopoutExtensionLengthSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show_length = $$v.show_length; + result._$v = null; + } + result._show_length = t1; + break; + } } - return _this._$v = _$result; - } - }; - U._$PrepareToLoadDNAFile.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof U.PrepareToLoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; + _$result = result._$v; + if (_$result == null) + _$result = A._$ShowLoopoutExtensionLengthSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._show_length, "ShowLoopoutExtensionLengthSet", "show_length", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowLoopoutExtensionLengthSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.content)), C.JSBool_methods.get$hashCode(_this.write_local_storage)), C.JSBool_methods.get$hashCode(_this.unit_testing)), H.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("PrepareToLoadDNAFile"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "content", _this.content); - t2.add$2(t1, "write_local_storage", _this.write_local_storage); - t2.add$2(t1, "unit_testing", _this.unit_testing); - t2.add$2(t1, "dna_file_type", _this.dna_file_type); - t2.add$2(t1, "filename", _this.filename); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_knt0; + }, + get$wireName() { + return "ShowLoopoutExtensionLengthSet"; } }; - U.PrepareToLoadDNAFileBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._content = $$v.content; - _this._write_local_storage = $$v.write_local_storage; - _this._unit_testing = $$v.unit_testing; - _this._dna_file_type = $$v.dna_file_type; - _this._filename = $$v.filename; - _this._$v = null; + A._$LoadDnaSequenceImageUriSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.LoadDnaSequenceImageUri._as(object); + result = ["dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, B.FullType_MME), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, B.FullType_MME)]; + value = object.uri; + if (value != null) { + result.push("uri"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - return _this; + return result; }, - build$0: function() { - var t1, t2, t3, t4, _this = this, - _s20_ = "PrepareToLoadDNAFile", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._content; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "content")); - t2 = _this.get$_$this()._write_local_storage; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "write_local_storage")); - t3 = _this.get$_$this()._unit_testing; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "unit_testing")); - t4 = _this.get$_$this()._dna_file_type; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "dna_file_type")); - _$result = new U._$PrepareToLoadDNAFile(t1, t2, t3, t4, _this.get$_$this()._filename); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.LoadDnaSequenceImageUriBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "uri": + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_$this()._uri = t1; + break; + case "dna_sequence_png_horizontal_offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_$this()._actions$_dna_sequence_png_horizontal_offset = t1; + break; + case "dna_sequence_png_vertical_offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_$this()._actions$_dna_sequence_png_vertical_offset = t1; + break; + } } - return _this._$v = _$result; - } - }; - U._$NewDesignSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.NewDesignSet && J.$eq$(this.design, other.design) && this.short_description_value === other.short_description_value; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.design)), C.JSString_methods.get$hashCode(this.short_description_value))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("NewDesignSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "design", this.design); - t2.add$2(t1, "short_description_value", this.short_description_value); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_qbL; + }, + get$wireName() { + return "LoadDnaSequenceImageUri"; } }; - U.NewDesignSetBuilder.prototype = { - get$design: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_design; - if (t2 == null) { - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t1._actions$_design = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A._$SetIsZoomAboveThresholdSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["is_zoom_above_threshold", serializers.serialize$2$specifiedType(type$.SetIsZoomAboveThreshold._as(object).is_zoom_above_threshold, B.FullType_MtR)]; }, - get$_$this: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.design; - t1.toString; - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t2._design0$_$v = t1; - _this._actions$_design = t2; - _this._short_description_value = $$v.short_description_value; - _this._$v = null; - } - return _this; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s12_ = "NewDesignSet", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$design().build$0(); - t2 = _this.get$_$this()._short_description_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "short_description_value")); - _$result0 = new U._$NewDesignSet(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "design")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "design"; - _this.get$design().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SetIsZoomAboveThresholdBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "is_zoom_above_threshold": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + result._$v = null; + } + result._actions$_is_zoom_above_threshold = t1; + break; } - throw exception; } - t1 = type$.legacy_NewDesignSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - } - }; - U._$ExportCadnanoFile.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ExportCadnanoFile && this.whitespace === other.whitespace; + return result._build$0(); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.whitespace))) : t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportCadnanoFile"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "whitespace", this.whitespace); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_IO4; + }, + get$wireName() { + return "SetIsZoomAboveThreshold"; } }; - U.ExportCadnanoFileBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._whitespace = $$v.whitespace; - _this._$v = null; + A._$SetExportSvgActionDelayedForPngCacheSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result = [], + value = type$.SetExportSvgActionDelayedForPngCache._as(object).export_svg_action_delayed_for_png_cache; + if (value != null) { + result.push("export_svg_action_delayed_for_png_cache"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_AqW)); } - return _this; - } - }; - U._$ExportCodenanoFile.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ExportCodenanoFile; + return result; }, - get$hashCode: function(_) { - return 632553768; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCodenanoFile")); - } - }; - U._$ShowMouseoverDataSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowMouseoverDataSet && this.show === other.show; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.SetExportSvgActionDelayedForPngCacheBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.ExportSvg; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "export_svg_action_delayed_for_png_cache": + t2 = result.get$_$this(); + t3 = t2._actions$_export_svg_action_delayed_for_png_cache; + t2 = t3 == null ? t2._actions$_export_svg_action_delayed_for_png_cache = new A.ExportSvgBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_AqW); + t3.toString; + t1._as(t3); + t2._$v = t3; + break; + } + } + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverDataSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_tqs; + }, + get$wireName() { + return "SetExportSvgActionDelayedForPngCache"; } }; - U.ShowMouseoverDataSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show = $$v.show; - _this._$v = null; - } - return _this; + A._$ShowBasePairLinesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_base_pair_lines", serializers.serialize$2$specifiedType(type$.ShowBasePairLinesSet._as(object).show_base_pair_lines, B.FullType_MtR)]; }, - build$0: function() { - var t1, - _$result = this._$v; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, t2, + _s20_ = "show_base_pair_lines", + _s20_0 = "ShowBasePairLinesSet", + result = new A.ShowBasePairLinesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_base_pair_lines": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_base_pair_lines = $$v.show_base_pair_lines; + result._$v = null; + } + result._actions$_show_base_pair_lines = t1; + break; + } + } + _$result = result._$v; if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowMouseoverDataSet", "show")); - _$result = new U._$ShowMouseoverDataSet(t1); + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_show_base_pair_lines, _s20_0, _s20_, t1); + _$result = new A._$ShowBasePairLinesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_0, _s20_, t1); } - return this._$v = _$result; - } - }; - U._$MouseoverDataClear.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.MouseoverDataClear; + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowBasePairLinesSet); + return result._$v = _$result; }, - get$hashCode: function(_) { - return 193748472; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseoverDataClear")); - } - }; - U.MouseoverDataClearBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$MouseoverDataClear(); - return this._$v = _$result; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_7YB; + }, + get$wireName() { + return "ShowBasePairLinesSet"; } }; - U._$MouseoverDataUpdate.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.MouseoverDataUpdate && J.$eq$(this.mouseover_params, other.mouseover_params); + A._$ShowBasePairLinesWithMismatchesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(type$.ShowBasePairLinesWithMismatchesSet._as(object).show_base_pair_lines_with_mismatches, B.FullType_MtR)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.mouseover_params))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverDataUpdate"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "mouseover_params", this.mouseover_params); - return t2.toString$0(t1); - } - }; - U.MouseoverDataUpdateBuilder.prototype = { - get$mouseover_params: function() { - var t1, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.mouseover_params; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + _s36_ = "show_base_pair_lines_with_mismatches", + result = new A.ShowBasePairLinesWithMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); t1.toString; - _this.set$_mouseover_params(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._$v = null; - } - t1 = _this._mouseover_params; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverParams); - _this.set$_mouseover_params(t1); - } - return t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$MouseoverDataUpdate$_(_this.get$mouseover_params().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "mouseover_params"; - _this.get$mouseover_params().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("MouseoverDataUpdate", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show_base_pair_lines_with_mismatches": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + result._$v = null; + } + result._actions$_show_base_pair_lines_with_mismatches = t1; + break; } - throw exception; } - t1 = type$.legacy_MouseoverDataUpdate._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _$result = result._$v; + if (_$result == null) + _$result = A._$ShowBasePairLinesWithMismatchesSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._actions$_show_base_pair_lines_with_mismatches, "ShowBasePairLinesWithMismatchesSet", _s36_, type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowBasePairLinesWithMismatchesSet); + return result._$v = _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_4QF0; }, - set$_mouseover_params: function(_mouseover_params) { - this._mouseover_params = type$.legacy_ListBuilder_legacy_MouseoverParams._as(_mouseover_params); + get$wireName() { + return "ShowBasePairLinesWithMismatchesSet"; } }; - U._$HelixRollSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.HelixRollSet && this.helix_idx === other.helix_idx && this.roll === other.roll; + A._$ShowSliceBarSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["show", serializers.serialize$2$specifiedType(type$.ShowSliceBarSet._as(object).show, B.FullType_MtR)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), C.JSNumber_methods.get$hashCode(this.roll))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "roll", this.roll); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.ShowSliceBarSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "show": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result._build$0(); }, - get$helix_idx: function() { - return this.helix_idx; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_knt1; + }, + get$wireName() { + return "ShowSliceBarSet"; } }; - U.HelixRollSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._actions$_roll = $$v.roll; - _this._$v = null; + A._$SliceBarOffsetSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["offset", serializers.serialize$2$specifiedType(type$.SliceBarOffsetSet._as(object).offset, B.FullType_kjq)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.SliceBarOffsetSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_offset = $$v.offset; + result._$v = null; + } + result._actions$_offset = t1; + break; + } } - return _this; - } - }; - U._$HelixRollSetAtOther.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof U.HelixRollSetAtOther && _this.helix_idx === other.helix_idx && _this.helix_other_idx === other.helix_other_idx && _this.forward === other.forward && _this.anchor === other.anchor; + return result._build$0(); }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.helix_other_idx)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.anchor))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSetAtOther"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", _this.helix_idx); - t2.add$2(t1, "helix_other_idx", _this.helix_other_idx); - t2.add$2(t1, "forward", _this.forward); - t2.add$2(t1, "anchor", _this.anchor); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_UgE; + }, + get$wireName() { + return "SliceBarOffsetSet"; } }; - U.HelixRollSetAtOtherBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._helix_other_idx = $$v.helix_other_idx; - _this._actions$_forward = $$v.forward; - _this._anchor = $$v.anchor; - _this._$v = null; - } - return _this; + A._$DisablePngCachingDnaSequencesSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(type$.DisablePngCachingDnaSequencesSet._as(object).disable_png_caching_dna_sequences, B.FullType_MtR)]; }, - build$0: function() { - var t1, t2, t3, t4, _this = this, - _s19_ = "HelixRollSetAtOther", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "helix_idx")); - t2 = _this.get$_$this()._helix_other_idx; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "helix_other_idx")); - t3 = _this.get$_$this()._actions$_forward; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "forward")); - t4 = _this.get$_$this()._anchor; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "anchor")); - _$result = new U._$HelixRollSetAtOther(t1, t2, t3, t4); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.DisablePngCachingDnaSequencesSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "disable_png_caching_dna_sequences": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + result._$v = null; + } + result._actions$_disable_png_caching_dna_sequences = t1; + break; + } } - return _this._$v = _$result; - } - }; - U._$RelaxHelixRolls.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.RelaxHelixRolls && this.only_selected === other.only_selected; + return result._build$0(); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_selected))); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("RelaxHelixRolls"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "only_selected", this.only_selected); - return t2.toString$0(t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_AiQ; + }, + get$wireName() { + return "DisablePngCachingDnaSequencesSet"; } }; - U.RelaxHelixRollsBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._only_selected = $$v.only_selected; - _this._$v = null; + A._$RetainStrandColorOnSelectionSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["retain_strand_color_on_selection", serializers.serialize$2$specifiedType(type$.RetainStrandColorOnSelectionSet._as(object).retain_strand_color_on_selection, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.RetainStrandColorOnSelectionSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "retain_strand_color_on_selection": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + result._$v = null; + } + result._actions$_retain_strand_color_on_selection = t1; + break; + } } - return _this; + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_3Qm; + }, + get$wireName() { + return "RetainStrandColorOnSelectionSet"; } }; - U._$ErrorMessageSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ErrorMessageSet && this.error_message === other.error_message; + A._$DisplayReverseDNARightSideUpSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(type$.DisplayReverseDNARightSideUpSet._as(object).display_reverse_DNA_right_side_up, B.FullType_MtR)]; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSString_methods.get$hashCode(this.error_message))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ErrorMessageSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "error_message", this.error_message); - return t2.toString$0(t1); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.DisplayReverseDNARightSideUpSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "display_reverse_DNA_right_side_up": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + result._$v = null; + } + result._actions$_display_reverse_DNA_right_side_up = t1; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_U050; + }, + get$wireName() { + return "DisplayReverseDNARightSideUpSet"; } }; - U.ErrorMessageSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_error_message = $$v.error_message; - _this._$v = null; + A._$SliceBarMoveStartSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SliceBarMoveStart._as(object); + return []; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.SliceBarMoveStartBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_izV0; + }, + get$wireName() { + return "SliceBarMoveStart"; + } + }; + A._$SliceBarMoveStopSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SliceBarMoveStop._as(object); + return []; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.SliceBarMoveStopBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_gaI; + }, + get$wireName() { + return "SliceBarMoveStop"; + } + }; + A._$AutostapleSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Autostaple._as(object); + return []; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + type$.Iterable_nullable_Object._as(serialized); + return new A.AutostapleBuilder()._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_i9o; + }, + get$wireName() { + return "Autostaple"; + } + }; + A._$AutobreakSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Autobreak._as(object); + return ["target_length", serializers.serialize$2$specifiedType(object.target_length, B.FullType_kjq), "min_length", serializers.serialize$2$specifiedType(object.min_length, B.FullType_kjq), "max_length", serializers.serialize$2$specifiedType(object.max_length, B.FullType_kjq), "min_distance_to_xover", serializers.serialize$2$specifiedType(object.min_distance_to_xover, B.FullType_kjq)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.AutobreakBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "target_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._target_length = t1; + break; + case "min_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._min_length = t1; + break; + case "max_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._max_length = t1; + break; + case "min_distance_to_xover": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_$this()._min_distance_to_xover = t1; + break; + } } - return _this; + return result._build$0(); }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_error_message; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ErrorMessageSet", "error_message")); - _$result = new U._$ErrorMessageSet(t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_5Q6; + }, + get$wireName() { + return "Autobreak"; + } + }; + A._$ZoomSpeedSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["speed", serializers.serialize$2$specifiedType(type$.ZoomSpeedSet._as(object).speed, B.FullType_MME)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.ZoomSpeedSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "speed": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + $$v = result._$v; + if ($$v != null) { + result._speed = $$v.speed; + result._$v = null; + } + result._speed = t1; + break; + } } - return this._$v = _$result; + _$result = result._$v; + if (_$result == null) + _$result = A._$ZoomSpeedSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._speed, "ZoomSpeedSet", "speed", type$.double)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ZoomSpeedSet); + return result._$v = _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_joV; + }, + get$wireName() { + return "ZoomSpeedSet"; } }; - U._$SelectionBoxCreate.prototype = { - $eq: function(_, other) { - var _this = this; + A._$OxdnaExportSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["selected_strands_only", serializers.serialize$2$specifiedType(type$.OxdnaExport._as(object).selected_strands_only, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.OxdnaExportBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "selected_strands_only": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._selected_strands_only = $$v.selected_strands_only; + result._$v = null; + } + result._selected_strands_only = t1; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_kaS; + }, + get$wireName() { + return "OxdnaExport"; + } + }; + A._$OxviewExportSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["selected_strands_only", serializers.serialize$2$specifiedType(type$.OxviewExport._as(object).selected_strands_only, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.OxviewExportBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "selected_strands_only": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._selected_strands_only = $$v.selected_strands_only; + result._$v = null; + } + result._selected_strands_only = t1; + break; + } + } + return result._build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_N9s; + }, + get$wireName() { + return "OxviewExport"; + } + }; + A._$OxExportOnlySelectedStrandsSetSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["only_selected", serializers.serialize$2$specifiedType(type$.OxExportOnlySelectedStrandsSet._as(object).only_selected, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, _$result, + result = new A.OxExportOnlySelectedStrandsSetBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "only_selected": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + $$v = result._$v; + if ($$v != null) { + result._only_selected = $$v.only_selected; + result._$v = null; + } + result._only_selected = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) + _$result = A._$OxExportOnlySelectedStrandsSet$_(A.BuiltValueNullFieldError_checkNotNull(result.get$_$this()._only_selected, "OxExportOnlySelectedStrandsSet", "only_selected", type$.bool)); + A.ArgumentError_checkNotNull(_$result, "other", type$.OxExportOnlySelectedStrandsSet); + return result._$v = _$result; + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ggc; + }, + get$wireName() { + return "OxExportOnlySelectedStrandsSet"; + } + }; + A._$SkipUndo.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.SelectionBoxCreate && _this.point.$eq(0, other.point) && _this.toggle === other.toggle && _this.is_main === other.is_main; + return other instanceof A.SkipUndo && this.undoable_action.$eq(0, other.undoable_action); }, - get$hashCode: function(_) { - var t1 = this.point; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.is_main))); + get$hashCode(_) { + var t1 = this.undoable_action; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxCreate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SkipUndo"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "point", this.point); - t2.add$2(t1, "toggle", this.toggle); - t2.add$2(t1, "is_main", this.is_main); + t2.add$2(t1, "undoable_action", this.undoable_action); return t2.toString$0(t1); } }; - U.SelectionBoxCreateBuilder.prototype = { - get$_$this: function() { + A.SkipUndoBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_point($$v.point); - _this._actions$_toggle = $$v.toggle; - _this._actions$_is_main = $$v.is_main; + _this._undoable_action = $$v.undoable_action; _this._$v = null; } return _this; - }, - build$0: function() { - var t1, t2, t3, _this = this, - _s18_ = "SelectionBoxCreate", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "point")); - t2 = _this.get$_$this()._actions$_toggle; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "toggle")); - t3 = _this.get$_$this()._actions$_is_main; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "is_main")); - _$result = new U._$SelectionBoxCreate(t1, t2, t3); - } - return _this._$v = _$result; - }, - set$_point: function(_point) { - this._point = type$.legacy_Point_legacy_num._as(_point); } }; - U._$SelectionBoxSizeChange.prototype = { - $eq: function(_, other) { + A._$Undo.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionBoxSizeChange && this.point.$eq(0, other.point) && this.is_main === other.is_main; + return other instanceof A.Undo && this.num_undos === other.num_undos; }, - get$hashCode: function(_) { - var t1 = this.point; - return Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(this.is_main))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.num_undos))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxSizeChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Undo"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "point", this.point); - t2.add$2(t1, "is_main", this.is_main); + t2.add$2(t1, "num_undos", this.num_undos); return t2.toString$0(t1); } }; - U.SelectionBoxSizeChangeBuilder.prototype = { - get$_$this: function() { + A.UndoBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_point($$v.point); - _this._actions$_is_main = $$v.is_main; + _this._num_undos = $$v.num_undos; _this._$v = null; } return _this; }, - build$0: function() { - var t1, t2, _this = this, - _s22_ = "SelectionBoxSizeChange", - _$result = _this._$v; + _build$0() { + var t1, t2, + _s9_ = "num_undos", + _$result = this._$v; if (_$result == null) { - t1 = _this.get$_$this()._point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "point")); - t2 = _this.get$_$this()._actions$_is_main; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "is_main")); - _$result = new U._$SelectionBoxSizeChange(t1, t2); + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._num_undos, "Undo", _s9_, t1); + _$result = new A._$Undo(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, "Undo", _s9_, t1); } - return _this._$v = _$result; - }, - set$_point: function(_point) { - this._point = type$.legacy_Point_legacy_num._as(_point); + A.ArgumentError_checkNotNull(_$result, "other", type$.Undo); + return this._$v = _$result; } }; - U._$SelectionBoxRemove.prototype = { - $eq: function(_, other) { + A._$Redo.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionBoxRemove && this.is_main === other.is_main; + return other instanceof A.Redo && this.num_redos === other.num_redos; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.is_main))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.num_redos))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Redo"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "is_main", this.is_main); + t2.add$2(t1, "num_redos", this.num_redos); return t2.toString$0(t1); } }; - U.SelectionBoxRemoveBuilder.prototype = { - get$_$this: function() { + A.RedoBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_is_main = $$v.is_main; + _this._num_redos = $$v.num_redos; _this._$v = null; } return _this; }, - build$0: function() { - var t1, + _build$0() { + var t1, t2, + _s9_ = "num_redos", _$result = this._$v; if (_$result == null) { - t1 = this.get$_$this()._actions$_is_main; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectionBoxRemove", "is_main")); - _$result = new U._$SelectionBoxRemove(t1); + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._num_redos, "Redo", _s9_, t1); + _$result = new A._$Redo(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, "Redo", _s9_, t1); } + A.ArgumentError_checkNotNull(_$result, "other", type$.Redo); return this._$v = _$result; } }; - U._$SelectionRopeCreate.prototype = { - $eq: function(_, other) { + A._$UndoRedoClear.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionRopeCreate && this.toggle === other.toggle; + return other instanceof A.UndoRedoClear; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle))) : t1; + get$hashCode(_) { + return 505725110; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeCreate"), + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("UndoRedoClear")); + } + }; + A._$BatchAction.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.BatchAction && J.$eq$(this.actions, other.actions) && this.short_description_value === other.short_description_value; + }, + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.actions)), B.JSString_methods.get$hashCode(this.short_description_value))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchAction"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "actions", this.actions); + t2.add$2(t1, "short_description_value", this.short_description_value); return t2.toString$0(t1); } }; - U.SelectionRopeCreateBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.BatchActionBuilder.prototype = { + get$actions(_) { + var t1 = this.get$_$this(), + t2 = t1._actions; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.UndoableAction); + t1.set$_actions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_toggle = $$v.toggle; + t1 = $$v.actions; + t1.toString; + _this.set$_actions(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._short_description_value = $$v.short_description_value; _this._$v = null; } return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s11_ = "BatchAction", + _s23_ = "short_description_value", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$actions(_this).build$0(); + t2 = type$.String; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._short_description_value, _s11_, _s23_, t2); + _$result0 = new A._$BatchAction(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s11_, "actions", type$.BuiltList_UndoableAction); + A.BuiltValueNullFieldError_checkNotNull(t3, _s11_, _s23_, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "actions"; + _this.get$actions(_this).build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.BatchAction; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions(_actions) { + this._actions = type$.nullable_ListBuilder_UndoableAction._as(_actions); } }; - U._$SelectionRopeMouseMove.prototype = { - $eq: function(_, other) { + A._$ThrottledActionFast.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionRopeMouseMove && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + return other instanceof A.ThrottledActionFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - if (t1 == null) { - t1 = _this.point; - t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(_this.is_main_view))); - } - return t1; + get$hashCode(_) { + var t1 = this.action; + return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSNumber_methods.get$hashCode(this.interval_sec))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeMouseMove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionFast"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "point", this.point); - t2.add$2(t1, "is_main_view", this.is_main_view); + t2.add$2(t1, "action", this.action); + t2.add$2(t1, "interval_sec", this.interval_sec); return t2.toString$0(t1); + }, + get$action(receiver) { + return this.action; + }, + get$interval_sec() { + return this.interval_sec; } }; - U.SelectionRopeMouseMoveBuilder.prototype = { - get$_$this: function() { + A.ThrottledActionFastBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_point($$v.point); - _this._is_main_view = $$v.is_main_view; + _this._action = $$v.action; + _this._interval_sec = $$v.interval_sec; _this._$v = null; } return _this; }, - set$_point: function(_point) { - this._point = type$.legacy_Point_legacy_num._as(_point); + _build$0() { + var t1, t2, t3, t4, _this = this, + _s19_ = "ThrottledActionFast", + _s12_ = "interval_sec", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.Action; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._action, _s19_, "action", t1); + t3 = type$.double; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._interval_sec, _s19_, _s12_, t3); + _$result = new A._$ThrottledActionFast(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, "action", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s19_, _s12_, t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ThrottledActionFast); + return _this._$v = _$result; } }; - U._$SelectionRopeAddPoint.prototype = { - $eq: function(_, other) { + A._$ThrottledActionNonFast.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionRopeAddPoint && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + return other instanceof A.ThrottledActionNonFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - if (t1 == null) { - t1 = _this.point; - t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(_this.is_main_view))); - } - return t1; + get$hashCode(_) { + var t1 = this.action; + return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSNumber_methods.get$hashCode(this.interval_sec))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeAddPoint"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionNonFast"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "point", this.point); - t2.add$2(t1, "is_main_view", this.is_main_view); + t2.add$2(t1, "action", this.action); + t2.add$2(t1, "interval_sec", this.interval_sec); return t2.toString$0(t1); + }, + get$action(receiver) { + return this.action; + }, + get$interval_sec() { + return this.interval_sec; } }; - U.SelectionRopeAddPointBuilder.prototype = { - get$_$this: function() { + A.ThrottledActionNonFastBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_point($$v.point); - _this._is_main_view = $$v.is_main_view; + _this._action = $$v.action; + _this._interval_sec = $$v.interval_sec; _this._$v = null; } return _this; }, - set$_point: function(_point) { - this._point = type$.legacy_Point_legacy_num._as(_point); - } - }; - U._$SelectionRopeRemove.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SelectionRopeRemove; - }, - get$hashCode: function(_) { - return 271648066; - }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionRopeRemove")); + _build$0() { + var t1, t2, t3, t4, _this = this, + _s22_ = "ThrottledActionNonFast", + _s12_ = "interval_sec", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.Action; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._action, _s22_, "action", t1); + t3 = type$.double; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._interval_sec, _s22_, _s12_, t3); + _$result = new A._$ThrottledActionNonFast(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s22_, "action", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s22_, _s12_, t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ThrottledActionNonFast); + return _this._$v = _$result; } }; - U._$MouseGridPositionSideUpdate.prototype = { - $eq: function(_, other) { + A._$LocalStorageDesignChoiceSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.MouseGridPositionSideUpdate && this.grid_position.$eq(0, other.grid_position); + return other instanceof A.LocalStorageDesignChoiceSet && this.choice.$eq(0, other.choice); }, - get$hashCode: function(_) { - var t1 = this.grid_position; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + get$hashCode(_) { + var t1 = this.choice; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideUpdate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoiceSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "grid_position", this.grid_position); + t2.add$2(t1, "choice", this.choice); return t2.toString$0(t1); } }; - U.MouseGridPositionSideUpdateBuilder.prototype = { - get$grid_position: function() { + A.LocalStorageDesignChoiceSetBuilder.prototype = { + get$choice() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.grid_position; - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - _this._actions$_grid_position = t2; + t1 = $$v.choice; + t2 = new A.LocalStorageDesignChoiceBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.LocalStorageDesignChoice); + t2._local_storage_design_choice$_$v = t1; + _this._choice = t2; _this._$v = null; } - t1 = _this._actions$_grid_position; - return t1 == null ? _this._actions$_grid_position = new D.GridPositionBuilder() : t1; + t1 = _this._choice; + return t1 == null ? _this._choice = new A.LocalStorageDesignChoiceBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) - _$result0 = new U._$MouseGridPositionSideUpdate(_this.get$grid_position().build$0()); - _$result = _$result0; + _$result = _$result0 == null ? A._$LocalStorageDesignChoiceSet$_(_this.get$choice()._local_storage_design_choice$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "grid_position"; - _this.get$grid_position().build$0(); + _$failedField._value = "choice"; + _this.get$choice()._local_storage_design_choice$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("MouseGridPositionSideUpdate", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("LocalStorageDesignChoiceSet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_MouseGridPositionSideUpdate._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.LocalStorageDesignChoiceSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$MouseGridPositionSideClear.prototype = { - $eq: function(_, other) { + A._$ResetLocalStorage.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.MouseGridPositionSideClear; + return other instanceof A.ResetLocalStorage; }, - get$hashCode: function(_) { - return 436959071; + get$hashCode(_) { + return 939416752; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideClear")); - } - }; - U.MouseGridPositionSideClearBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$MouseGridPositionSideClear(); - return this._$v = _$result; + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ResetLocalStorage")); } }; - U._$MousePositionSideUpdate.prototype = { - $eq: function(_, other) { + A._$ClearHelixSelectionWhenLoadingNewDesignSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.MousePositionSideUpdate && this.svg_pos.$eq(0, other.svg_pos); + return other instanceof A.ClearHelixSelectionWhenLoadingNewDesignSet && this.clear === other.clear; }, - get$hashCode: function(_) { - var t1 = this.svg_pos; - return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.clear))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MousePositionSideUpdate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.ClearH), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "svg_pos", this.svg_pos); + t2.add$2(t1, "clear", this.clear); return t2.toString$0(t1); } }; - U.MousePositionSideUpdateBuilder.prototype = { - get$_$this: function() { + A.ClearHelixSelectionWhenLoadingNewDesignSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_svg_pos($$v.svg_pos); + _this._clear = $$v.clear; _this._$v = null; } return _this; - }, - set$_svg_pos: function(_svg_pos) { - this._svg_pos = type$.legacy_Point_legacy_num._as(_svg_pos); } }; - U._$MousePositionSideClear.prototype = { - $eq: function(_, other) { + A._$EditModeToggle.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.MousePositionSideClear; + return other instanceof A.EditModeToggle && this.mode === other.mode; }, - get$hashCode: function(_) { - return 1008932832; + get$hashCode(_) { + return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.mode))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MousePositionSideClear")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModeToggle"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "mode", this.mode); + return t2.toString$0(t1); } }; - U.MousePositionSideClearBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$MousePositionSideClear(); + A.EditModeToggleBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._mode = $$v.mode; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s14_ = "EditModeToggle", + _$result = this._$v; + if (_$result == null) { + t1 = type$.EditModeChoice; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._mode, _s14_, "mode", t1); + _$result = new A._$EditModeToggle(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, "mode", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.EditModeToggle); return this._$v = _$result; } }; - U._$GeometrySet.prototype = { - $eq: function(_, other) { + A._$EditModesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.GeometrySet && J.$eq$(this.geometry, other.geometry); + return other instanceof A.EditModesSet && J.$eq$(this.edit_modes, other.edit_modes); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.geometry))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.edit_modes))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GeometrySet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "geometry", this.geometry); + t2.add$2(t1, "edit_modes", this.edit_modes); return t2.toString$0(t1); } }; - U.GeometrySetBuilder.prototype = { - get$geometry: function(_) { + A.EditModesSetBuilder.prototype = { + get$edit_modes() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.geometry; + t1 = $$v.edit_modes; t1.toString; - t2 = new N.GeometryBuilder(); - t2._geometry$_$v = t1; - _this._actions$_geometry = t2; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_actions$_edit_modes(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); _this._$v = null; } - t1 = _this._actions$_geometry; - return t1 == null ? _this._actions$_geometry = new N.GeometryBuilder() : t1; + t1 = _this._actions$_edit_modes; + if (t1 == null) { + t1 = A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); + _this.set$_actions$_edit_modes(t1); + } + return t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s12_ = "EditModesSet", + _s10_ = "edit_modes", + _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$GeometrySet$_(_this.get$geometry(_this).build$0()) : _$result0; + if (_$result0 == null) { + t1 = _this.get$edit_modes().build$0(); + _$result0 = new A._$EditModesSet(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s12_, _s10_, type$.BuiltSet_EditModeChoice); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "geometry"; - _this.get$geometry(_this).build$0(); + _$failedField._value = _s10_; + _this.get$edit_modes().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("GeometrySet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_GeometrySet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.EditModesSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_edit_modes(_edit_modes) { + this._actions$_edit_modes = type$.nullable_SetBuilder_EditModeChoice._as(_edit_modes); } }; - U._$SelectionBoxIntersectionRuleSet.prototype = { - $eq: function(_, other) { + A._$SelectModeToggle.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionBoxIntersectionRuleSet && this.intersect === other.intersect; + return other instanceof A.SelectModeToggle && this.select_mode_choice === other.select_mode_choice; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.intersect))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.select_mode_choice))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxIntersectionRuleSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeToggle"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "intersect", this.intersect); + t2.add$2(t1, "select_mode_choice", this.select_mode_choice); return t2.toString$0(t1); } }; - U.SelectionBoxIntersectionRuleSetBuilder.prototype = { - get$_$this: function() { + A.SelectModeToggleBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._intersect = $$v.intersect; + _this._select_mode_choice = $$v.select_mode_choice; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s16_ = "SelectModeToggle", + _s18_ = "select_mode_choice", + _$result = this._$v; + if (_$result == null) { + t1 = type$.SelectModeChoice; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._select_mode_choice, _s16_, _s18_, t1); + _$result = new A._$SelectModeToggle(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s16_, _s18_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectModeToggle); + return this._$v = _$result; } }; - U._$Select.prototype = { - $eq: function(_, other) { - var _this = this; + A._$SelectModesAdd.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.Select && _this.selectable.$eq(0, other.selectable) && _this.toggle === other.toggle && _this.only === other.only; + return other instanceof A.SelectModesAdd && J.$eq$(this.modes, other.modes); }, - get$hashCode: function(_) { - var t1 = this.selectable; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.only))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.modes))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Select"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesAdd"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selectable", this.selectable); - t2.add$2(t1, "toggle", this.toggle); - t2.add$2(t1, "only", this.only); + t2.add$2(t1, "modes", this.modes); return t2.toString$0(t1); } }; - U.SelectBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.SelectModesAddBuilder.prototype = { + get$modes() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._selectable = $$v.selectable; - _this._actions$_toggle = $$v.toggle; - _this._only = $$v.only; + t1 = $$v.modes; + t1.toString; + _this.set$_actions$_modes(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; - }, - build$0: function() { - var t1, t2, t3, _this = this, _s6_ = "Select", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._selectable; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "selectable")); - t2 = _this.get$_$this()._actions$_toggle; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "toggle")); - t3 = _this.get$_$this()._only; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "only")); - _$result = new U._$Select(t1, t2, t3); + t1 = _this._actions$_modes; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.SelectModeChoice); + _this.set$_actions$_modes(t1); } - return _this._$v = _$result; - } - }; - U._$SelectionsClear.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.SelectionsClear; + return t1; }, - get$hashCode: function(_) { - return 647379793; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$SelectModesAdd$_(_this.get$modes().build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "modes"; + _this.get$modes().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("SelectModesAdd", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.SelectModesAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionsClear")); - } - }; - U.SelectionsClearBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$SelectionsClear(); - return this._$v = _$result; + set$_actions$_modes(_modes) { + this._actions$_modes = type$.nullable_ListBuilder_SelectModeChoice._as(_modes); } }; - U._$SelectionsAdjustMainView.prototype = { - $eq: function(_, other) { + A._$SelectModesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectionsAdjustMainView && this.toggle === other.toggle && this.box === other.box; + return other instanceof A.SelectModesSet && J.$eq$(this.select_mode_choices, other.select_mode_choices); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.box))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.select_mode_choices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionsAdjustMainView"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "toggle", this.toggle); - t2.add$2(t1, "box", this.box); + t2.add$2(t1, "select_mode_choices", this.select_mode_choices); return t2.toString$0(t1); } }; - U.SelectionsAdjustMainViewBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.SelectModesSetBuilder.prototype = { + get$select_mode_choices() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_toggle = $$v.toggle; - _this._box = $$v.box; + t1 = $$v.select_mode_choices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_select_mode_choices(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); _this._$v = null; } - return _this; + t1 = _this._select_mode_choices; + if (t1 == null) { + t1 = A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); + _this.set$_select_mode_choices(t1); + } + return t1; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s14_ = "SelectModesSet", + _s19_ = "select_mode_choices", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$select_mode_choices().build$0(); + _$result0 = new A._$SelectModesSet(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s14_, _s19_, type$.BuiltSet_SelectModeChoice); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s19_; + _this.get$select_mode_choices().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.SelectModesSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_select_mode_choices(_select_mode_choices) { + this._select_mode_choices = type$.nullable_SetBuilder_SelectModeChoice._as(_select_mode_choices); } }; - U._$SelectOrToggleItems.prototype = { - $eq: function(_, other) { + A._$StrandNameSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectOrToggleItems && J.$eq$(this.items, other.items) && this.toggle === other.toggle; + return other instanceof A.StrandNameSet && this.name == other.name && J.$eq$(this.strand, other.strand); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.items)), C.JSBool_methods.get$hashCode(this.toggle))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.strand))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectOrToggleItems"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "items", this.items); - t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "strand", this.strand); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.SelectOrToggleItemsBuilder.prototype = { - get$items: function(_) { + A.StrandNameSetBuilder.prototype = { + get$strand() { var t1 = this.get$_$this(), - t2 = t1._actions$_items; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); - t1.set$_actions$_items(t2); - t1 = t2; - } else - t1 = t2; - return t1; + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - get$_$this: function() { - var t1, _this = this, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.items; + _this._actions$_name = $$v.name; + t1 = $$v.strand; t1.toString; - _this.set$_actions$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._actions$_toggle = $$v.toggle; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s19_ = "SelectOrToggleItems", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$items(_this).build$0(); - t2 = _this.get$_$this()._actions$_toggle; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "toggle")); - _$result0 = U._$SelectOrToggleItems$_(t1, t2); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$StrandNameSet$_(_this.get$_$this()._actions$_name, _this.get$strand()._strand$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "items"; - _this.get$items(_this).build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("StrandNameSet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectOrToggleItems._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandNameSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_actions$_items: function(_items) { - this._actions$_items = type$.legacy_ListBuilder_legacy_Selectable._as(_items); } }; - U._$SelectAll.prototype = { - $eq: function(_, other) { + A._$StrandLabelSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectAll && J.$eq$(this.selectables, other.selectables) && this.only === other.only; + return other instanceof A.StrandLabelSet && this.label == other.label && J.$eq$(this.strand, other.strand); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.selectables)), C.JSBool_methods.get$hashCode(this.only))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.strand))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selectables", this.selectables); - t2.add$2(t1, "only", this.only); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "strand", this.strand); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.SelectAllBuilder.prototype = { - get$selectables: function() { + A.StrandLabelSetBuilder.prototype = { + get$strand() { var t1 = this.get$_$this(), - t2 = t1._selectables; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); - t1.set$_selectables(t2); - t1 = t2; - } else - t1 = t2; - return t1; + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - get$_$this: function() { - var t1, _this = this, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.selectables; + _this._actions$_label = $$v.label; + t1 = $$v.strand; t1.toString; - _this.set$_selectables(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._only = $$v.only; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s9_ = "SelectAll", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$selectables().build$0(); - t2 = _this.get$_$this()._only; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "only")); - _$result0 = U._$SelectAll$_(t2, t1); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$StrandLabelSet$_(_this.get$_$this()._actions$_label, _this.get$strand()._strand$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "selectables"; - _this.get$selectables().build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("StrandLabelSet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectAll._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandLabelSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_selectables: function(_selectables) { - this._selectables = type$.legacy_ListBuilder_legacy_Selectable._as(_selectables); } }; - U._$SelectAllSelectable.prototype = { - $eq: function(_, other) { + A._$SubstrandNameSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SelectAllSelectable && this.current_helix_group_only === other.current_helix_group_only; + return other instanceof A.SubstrandNameSet && this.name == other.name && J.$eq$(this.substrand, other.substrand); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.current_helix_group_only))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.substrand))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllSelectable"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandNameSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "current_helix_group_only", this.current_helix_group_only); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "substrand", this.substrand); return t2.toString$0(t1); } }; - U.SelectAllSelectableBuilder.prototype = { - get$_$this: function() { + A.SubstrandNameSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._current_helix_group_only = $$v.current_helix_group_only; + _this._actions$_name = $$v.name; + _this._substrand = $$v.substrand; _this._$v = null; } return _this; + } + }; + A._$SubstrandLabelSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SubstrandLabelSet && this.label == other.label && J.$eq$(this.substrand, other.substrand); }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._current_helix_group_only; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectAllSelectable", "current_helix_group_only")); - _$result = new U._$SelectAllSelectable(t1); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.substrand))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; } - return this._$v = _$result; + return t1; + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandLabelSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "substrand", this.substrand); + return t2.toString$0(t1); } }; - U._$SelectAllWithSameAsSelected.prototype = { - $eq: function(_, other) { - var _this = this; + A.SubstrandLabelSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_label = $$v.label; + _this._substrand = $$v.substrand; + _this._$v = null; + } + return _this; + } + }; + A._$SetAppUIStateStorable.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.SelectAllWithSameAsSelected && J.$eq$(_this.templates, other.templates) && J.$eq$(_this.traits, other.traits) && _this.exclude_scaffolds === other.exclude_scaffolds; + return other instanceof A.SetAppUIStateStorable && J.$eq$(this.storables, other.storables); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.templates)), J.get$hashCode$(this.traits)), C.JSBool_methods.get$hashCode(this.exclude_scaffolds))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.storables))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllWithSameAsSelected"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetAppUIStateStorable"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "templates", this.templates); - t2.add$2(t1, "traits", this.traits); - t2.add$2(t1, "exclude_scaffolds", this.exclude_scaffolds); + t2.add$2(t1, "storables", this.storables); return t2.toString$0(t1); } }; - U.SelectAllWithSameAsSelectedBuilder.prototype = { - get$templates: function() { - var t1 = this.get$_$this(), - t2 = t1._templates; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); - t1.set$_templates(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$traits: function() { + A.SetAppUIStateStorableBuilder.prototype = { + get$storables() { var t1 = this.get$_$this(), - t2 = t1._traits; + t2 = t1._actions$_storables; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableTrait); - t1.set$_traits(t2); + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + t1._actions$_storables = t2; t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { - var t1, _this = this, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.templates; - t1.toString; - _this.set$_templates(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.traits; + t1 = $$v.storables; t1.toString; - _this.set$_traits(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._exclude_scaffolds = $$v.exclude_scaffolds; + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.AppUIStateStorables); + t2._app_ui_state_storables$_$v = t1; + _this._actions$_storables = t2; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s27_ = "SelectAllWithSameAsSelected", + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s21_ = "SetAppUIStateStorable", + _s9_ = "storables", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$templates().build$0(); - t2 = _this.get$traits().build$0(); - t3 = _this.get$_$this()._exclude_scaffolds; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "exclude_scaffolds")); - _$result0 = U._$SelectAllWithSameAsSelected$_(t3, t1, t2); + t1 = _this.get$storables()._app_ui_state_storables$_build$0(); + _$result0 = new A._$SetAppUIStateStorable(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s21_, _s9_, type$.AppUIStateStorables); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "templates"; - _this.get$templates().build$0(); - _$failedField = "traits"; - _this.get$traits().build$0(); + _$failedField._value = _s9_; + _this.get$storables()._app_ui_state_storables$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s27_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s21_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectAllWithSameAsSelected._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.SetAppUIStateStorable; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_templates: function(_templates) { - this._templates = type$.legacy_ListBuilder_legacy_Selectable._as(_templates); - }, - set$_traits: function(_traits) { - this._traits = type$.legacy_ListBuilder_legacy_SelectableTrait._as(_traits); } }; - U._$DeleteAllSelected.prototype = { - $eq: function(_, other) { + A._$ShowDNASet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DeleteAllSelected; + return other instanceof A.ShowDNASet && this.show === other.show; }, - get$hashCode: function(_) { - return 637787722; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DeleteAllSelected")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDNASet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.DeleteAllSelectedBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$DeleteAllSelected(); + A.ShowDNASetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s10_ = "ShowDNASet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s10_, "show", t1); + _$result = new A._$ShowDNASet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s10_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowDNASet); return this._$v = _$result; } }; - U._$HelixAdd.prototype = { - $eq: function(_, other) { + A._$ShowDomainNamesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixAdd && J.$eq$(this.grid_position, other.grid_position) && J.$eq$(this.position, other.position); + return other instanceof A.ShowDomainNamesSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.grid_position)), J.get$hashCode$(this.position))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixAdd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNamesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "grid_position", this.grid_position); - t2.add$2(t1, "position", this.position); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); } }; - U.HelixAddBuilder.prototype = { - get$_$this: function() { - var t1, t2, _this = this, + A.ShowDomainNamesSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.grid_position; - if (t1 == null) - t1 = null; - else { - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - t1 = t2; - } - _this._actions$_grid_position = t1; - t1 = $$v.position; - if (t1 == null) - t1 = null; - else { - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - t1 = t2; - } - _this._actions$_position = t1; + _this._show = $$v.show; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this._actions$_grid_position; - t1 = t1 == null ? null : t1.build$0(); - t2 = _this._actions$_position; - _$result0 = new U._$HelixAdd(t1, t2 == null ? null : t2.build$0()); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "grid_position"; - t1 = _this._actions$_grid_position; - if (t1 != null) - t1.build$0(); - _$failedField = "position"; - t1 = _this._actions$_position; - if (t1 != null) - t1.build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixAdd", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s18_ = "ShowDomainNamesSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s18_, "show", t1); + _$result = new A._$ShowDomainNamesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, "show", t1); } - t1 = type$.legacy_HelixAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowDomainNamesSet); + return this._$v = _$result; } }; - U._$HelixRemove.prototype = { - $eq: function(_, other) { + A._$ShowStrandNamesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixRemove && this.helix_idx === other.helix_idx; + return other instanceof A.ShowStrandNamesSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandNamesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); } }; - U.HelixRemoveBuilder.prototype = { - get$_$this: function() { + A.ShowStrandNamesSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; + _this._show = $$v.show; _this._$v = null; } return _this; }, - build$0: function() { - var t1, + _build$0() { + var t1, t2, + _s18_ = "ShowStrandNamesSet", _$result = this._$v; if (_$result == null) { - t1 = this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixRemove", "helix_idx")); - _$result = new U._$HelixRemove(t1); + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s18_, "show", t1); + _$result = new A._$ShowStrandNamesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, "show", t1); } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowStrandNamesSet); return this._$v = _$result; } }; - U._$HelixRemoveAllSelected.prototype = { - $eq: function(_, other) { + A._$ShowStrandLabelsSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixRemoveAllSelected; + return other instanceof A.ShowStrandLabelsSet && this.show === other.show; }, - get$hashCode: function(_) { - return 62805209; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixRemoveAllSelected")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandLabelsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.HelixRemoveAllSelectedBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelixRemoveAllSelected(); + A.ShowStrandLabelsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s19_ = "ShowStrandLabelsSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s19_, "show", t1); + _$result = new A._$ShowStrandLabelsSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowStrandLabelsSet); return this._$v = _$result; } }; - U._$HelixSelect.prototype = { - $eq: function(_, other) { + A._$ShowDomainLabelsSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixSelect && this.helix_idx === other.helix_idx && this.toggle === other.toggle; + return other instanceof A.ShowDomainLabelsSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), C.JSBool_methods.get$hashCode(this.toggle))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelect"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainLabelsSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); } }; - U.HelixSelectBuilder.prototype = { - get$_$this: function() { + A.ShowDomainLabelsSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._actions$_toggle = $$v.toggle; + _this._show = $$v.show; _this._$v = null; } return _this; }, - build$0: function() { - var t1, t2, _this = this, - _s11_ = "HelixSelect", - _$result = _this._$v; + _build$0() { + var t1, t2, + _s19_ = "ShowDomainLabelsSet", + _$result = this._$v; if (_$result == null) { - t1 = _this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helix_idx")); - t2 = _this.get$_$this()._actions$_toggle; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "toggle")); - _$result = new U._$HelixSelect(t1, t2); + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s19_, "show", t1); + _$result = new A._$ShowDomainLabelsSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, "show", t1); } - return _this._$v = _$result; + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowDomainLabelsSet); + return this._$v = _$result; } }; - U._$HelixSelectionsClear.prototype = { - $eq: function(_, other) { + A._$ShowModificationsSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixSelectionsClear; + return other instanceof A.ShowModificationsSet && this.show === other.show; }, - get$hashCode: function(_) { - return 705934614; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsClear")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowModificationsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.HelixSelectionsClearBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelixSelectionsClear(); + A.ShowModificationsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s20_ = "ShowModificationsSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s20_, "show", t1); + _$result = new A._$ShowModificationsSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowModificationsSet); return this._$v = _$result; } }; - U._$HelixSelectionsAdjust.prototype = { - $eq: function(_, other) { + A._$DomainNameFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixSelectionsAdjust && this.toggle === other.toggle && this.selection_box.$eq(0, other.selection_box); + return other instanceof A.DomainNameFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - var t1 = this.selection_box; - return Y.$jf(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle)), t1.get$hashCode(t1))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsAdjust"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "toggle", this.toggle); - t2.add$2(t1, "selection_box", this.selection_box); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); } }; - U.HelixSelectionsAdjustBuilder.prototype = { - get$selection_box: function() { - var t1 = this.get$_$this(), - t2 = t1._selection_box; - return t2 == null ? t1._selection_box = new E.SelectionBoxBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.DomainNameFontSizeSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_toggle = $$v.toggle; - t1 = $$v.selection_box; - t2 = new E.SelectionBoxBuilder(); - t2._selection_box$_$v = t1; - _this._selection_box = t2; + _this._font_size = $$v.font_size; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s21_ = "HelixSelectionsAdjust", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_toggle; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "toggle")); - _$result0 = new U._$HelixSelectionsAdjust(t1, _this.get$selection_box().build$0()); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "selection_box"; - _this.get$selection_box().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_HelixSelectionsAdjust._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; } }; - U._$HelixMajorTickDistanceChange.prototype = { - $eq: function(_, other) { + A._$DomainLabelFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickDistanceChange && this.helix_idx == other.helix_idx && this.major_tick_distance == other.major_tick_distance; + return other instanceof A.DomainLabelFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_distance))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainLabelFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "major_tick_distance", this.major_tick_distance); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMajorTickDistanceChangeBuilder.prototype = { - get$_$this: function() { + A.DomainLabelFontSizeSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._major_tick_distance = $$v.major_tick_distance; + _this._font_size = $$v.font_size; _this._$v = null; } return _this; } }; - U._$HelixMajorTickDistanceChangeAll.prototype = { - $eq: function(_, other) { + A._$StrandNameFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickDistanceChangeAll && this.major_tick_distance == other.major_tick_distance; + return other instanceof A.StrandNameFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_tick_distance))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChangeAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "major_tick_distance", this.major_tick_distance); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); } }; - U.HelixMajorTickDistanceChangeAllBuilder.prototype = { - get$_$this: function() { + A.StrandNameFontSizeSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._major_tick_distance = $$v.major_tick_distance; + _this._font_size = $$v.font_size; _this._$v = null; } return _this; } }; - U._$HelixMajorTickStartChange.prototype = { - $eq: function(_, other) { + A._$StrandLabelFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickStartChange && this.helix_idx == other.helix_idx && this.major_tick_start === other.major_tick_start; + return other instanceof A.StrandLabelFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), C.JSInt_methods.get$hashCode(this.major_tick_start))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "major_tick_start", this.major_tick_start); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMajorTickStartChangeBuilder.prototype = { - get$_$this: function() { + A.StrandLabelFontSizeSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._actions$_major_tick_start = $$v.major_tick_start; + _this._font_size = $$v.font_size; _this._$v = null; } return _this; } }; - U._$HelixMajorTickStartChangeAll.prototype = { - $eq: function(_, other) { + A._$ModificationFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickStartChangeAll && this.major_tick_start === other.major_tick_start; + return other instanceof A.ModificationFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.major_tick_start))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChangeAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "major_tick_start", this.major_tick_start); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); } }; - U.HelixMajorTickStartChangeAllBuilder.prototype = { - get$_$this: function() { + A.ModificationFontSizeSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_major_tick_start = $$v.major_tick_start; + _this._font_size = $$v.font_size; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s23_ = "ModificationFontSizeSet", + _s9_ = "font_size", + _$result = this._$v; + if (_$result == null) { + t1 = type$.double; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._font_size, _s23_, _s9_, t1); + _$result = new A._$ModificationFontSizeSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s23_, _s9_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ModificationFontSizeSet); + return this._$v = _$result; } }; - U._$HelixMajorTicksChange.prototype = { - $eq: function(_, other) { + A._$MajorTickOffsetFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTicksChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_ticks, other.major_ticks); + return other instanceof A.MajorTickOffsetFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_ticks))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickOffsetFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "major_ticks", this.major_ticks); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMajorTicksChangeBuilder.prototype = { - get$major_ticks: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_major_ticks; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_actions$_major_ticks(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, _this = this, + A.MajorTickOffsetFontSizeSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - t1 = $$v.major_ticks; - t1.toString; - _this.set$_actions$_major_ticks(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._font_size = $$v.font_size; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s21_ = "HelixMajorTicksChange", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "helix_idx")); - _$result0 = U._$HelixMajorTicksChange$_(t1, _this.get$major_ticks().build$0()); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "major_ticks"; - _this.get$major_ticks().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s26_ = "MajorTickOffsetFontSizeSet", + _s9_ = "font_size", + _$result = this._$v; + if (_$result == null) { + t1 = type$.double; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._font_size, _s26_, _s9_, t1); + _$result = new A._$MajorTickOffsetFontSizeSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s26_, _s9_, t1); } - t1 = type$.legacy_HelixMajorTicksChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_major_ticks: function(_major_ticks) { - this._actions$_major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); + A.ArgumentError_checkNotNull(_$result, "other", type$.MajorTickOffsetFontSizeSet); + return this._$v = _$result; } }; - U._$HelixMajorTicksChangeAll.prototype = { - $eq: function(_, other) { + A._$MajorTickWidthFontSizeSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTicksChangeAll && J.$eq$(this.major_ticks, other.major_ticks); + return other instanceof A.MajorTickWidthFontSizeSet && this.font_size === other.font_size; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_ticks))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChangeAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickWidthFontSizeSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "major_ticks", this.major_ticks); + t2.add$2(t1, "font_size", this.font_size); return t2.toString$0(t1); } }; - U.HelixMajorTicksChangeAllBuilder.prototype = { - get$major_ticks: function() { - var t1, _this = this, + A.MajorTickWidthFontSizeSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.major_ticks; - t1.toString; - _this.set$_actions$_major_ticks(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._font_size = $$v.font_size; _this._$v = null; } - t1 = _this._actions$_major_ticks; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - _this.set$_actions$_major_ticks(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$HelixMajorTicksChangeAll$_(_this.get$major_ticks().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "major_ticks"; - _this.get$major_ticks().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixMajorTicksChangeAll", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s25_ = "MajorTickWidthFontSizeSet", + _s9_ = "font_size", + _$result = this._$v; + if (_$result == null) { + t1 = type$.double; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._font_size, _s25_, _s9_, t1); + _$result = new A._$MajorTickWidthFontSizeSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s25_, _s9_, t1); } - t1 = type$.legacy_HelixMajorTicksChangeAll._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_major_ticks: function(_major_ticks) { - this._actions$_major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); + A.ArgumentError_checkNotNull(_$result, "other", type$.MajorTickWidthFontSizeSet); + return this._$v = _$result; } }; - U._$HelixMajorTickPeriodicDistancesChange.prototype = { - $eq: function(_, other) { + A._$SetModificationDisplayConnector.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickPeriodicDistancesChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); + return other instanceof A.SetModificationDisplayConnector && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_periodic_distances))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetModificationDisplayConnector"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMajorTickPeriodicDistancesChangeBuilder.prototype = { - get$major_tick_periodic_distances: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_major_tick_periodic_distances; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_actions$_major_tick_periodic_distances(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, _this = this, + A.SetModificationDisplayConnectorBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - t1 = $$v.major_tick_periodic_distances; - t1.toString; - _this.set$_actions$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._show = $$v.show; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s37_ = "HelixMajorTickPeriodicDistancesChange", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "helix_idx")); - _$result0 = U._$HelixMajorTickPeriodicDistancesChange$_(t1, _this.get$major_tick_periodic_distances().build$0()); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "major_tick_periodic_distances"; - _this.get$major_tick_periodic_distances().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s37_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s31_ = "SetModificationDisplayConnector", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s31_, "show", t1); + _$result = new A._$SetModificationDisplayConnector(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s31_, "show", t1); } - t1 = type$.legacy_HelixMajorTickPeriodicDistancesChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { - this._actions$_major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); + A.ArgumentError_checkNotNull(_$result, "other", type$.SetModificationDisplayConnector); + return this._$v = _$result; } }; - U._$HelixMajorTickPeriodicDistancesChangeAll.prototype = { - $eq: function(_, other) { + A._$ShowMismatchesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMajorTickPeriodicDistancesChangeAll && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); + return other instanceof A.ShowMismatchesSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_tick_periodic_distances))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChangeAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMismatchesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); } }; - U.HelixMajorTickPeriodicDistancesChangeAllBuilder.prototype = { - get$major_tick_periodic_distances: function() { - var t1, _this = this, + A.ShowMismatchesSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.major_tick_periodic_distances; - t1.toString; - _this.set$_actions$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._show = $$v.show; _this._$v = null; } - t1 = _this._actions$_major_tick_periodic_distances; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - _this.set$_actions$_major_tick_periodic_distances(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$HelixMajorTickPeriodicDistancesChangeAll$_(_this.get$major_tick_periodic_distances().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "major_tick_periodic_distances"; - _this.get$major_tick_periodic_distances().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixMajorTickPeriodicDistancesChangeAll", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s17_ = "ShowMismatchesSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s17_, "show", t1); + _$result = new A._$ShowMismatchesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s17_, "show", t1); } - t1 = type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { - this._actions$_major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowMismatchesSet); + return this._$v = _$result; } }; - U._$HelixIdxsChange.prototype = { - $eq: function(_, other) { + A._$ShowDomainNameMismatchesSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixIdxsChange && J.$eq$(this.idx_replacements, other.idx_replacements); + return other instanceof A.ShowDomainNameMismatchesSet && this.show_domain_name_mismatches === other.show_domain_name_mismatches; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.idx_replacements))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_domain_name_mismatches))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixIdxsChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNameMismatchesSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "idx_replacements", this.idx_replacements); + t2.add$2(t1, "show_domain_name_mismatches", this.show_domain_name_mismatches); return t2.toString$0(t1); } }; - U.HelixIdxsChangeBuilder.prototype = { - get$idx_replacements: function() { - var t1, t2, _this = this, + A.ShowDomainNameMismatchesSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.idx_replacements; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_idx_replacements(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; _this._$v = null; } - t1 = _this._idx_replacements; - if (t1 == null) { - t1 = type$.legacy_int; - t1 = A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); - _this.set$_idx_replacements(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s15_ = "HelixIdxsChange", - _s16_ = "idx_replacements", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$idx_replacements().build$0(); - _$result0 = new U._$HelixIdxsChange(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, _s16_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = _s16_; - _this.get$idx_replacements().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s27_ = "ShowDomainNameMismatchesSet", + _s27_0 = "show_domain_name_mismatches", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_show_domain_name_mismatches, _s27_, _s27_0, t1); + _$result = new A._$ShowDomainNameMismatchesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s27_, _s27_0, t1); } - t1 = type$.legacy_HelixIdxsChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_idx_replacements: function(_idx_replacements) { - this._idx_replacements = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_idx_replacements); + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowDomainNameMismatchesSet); + return this._$v = _$result; } }; - U._$HelixOffsetChange.prototype = { - $eq: function(_, other) { - var _this = this; + A._$ShowUnpairedInsertionDeletionsSet.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.HelixOffsetChange && _this.helix_idx == other.helix_idx && _this.min_offset == other.min_offset && _this.max_offset == other.max_offset; + return other instanceof A.ShowUnpairedInsertionDeletionsSet && this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_unpaired_insertion_deletions))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowUnpairedInsertionDeletionsSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "min_offset", this.min_offset); - t2.add$2(t1, "max_offset", this.max_offset); + t2.add$2(t1, "show_unpaired_insertion_deletions", this.show_unpaired_insertion_deletions); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixOffsetChangeBuilder.prototype = { - get$_$this: function() { + A.ShowUnpairedInsertionDeletionsSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._actions$_min_offset = $$v.min_offset; - _this._actions$_max_offset = $$v.max_offset; + _this._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s33_ = "ShowUnpairedInsertionDeletionsSet", + _s33_0 = "show_unpaired_insertion_deletions", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_show_unpaired_insertion_deletions, _s33_, _s33_0, t1); + _$result = new A._$ShowUnpairedInsertionDeletionsSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s33_, _s33_0, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowUnpairedInsertionDeletionsSet); + return this._$v = _$result; } }; - U._$HelixMinOffsetSetByDomains.prototype = { - $eq: function(_, other) { + A._$OxviewShowSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMinOffsetSetByDomains && this.helix_idx === other.helix_idx; + return other instanceof A.OxviewShowSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomains"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewShowSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMinOffsetSetByDomainsBuilder.prototype = { - get$_$this: function() { + A.OxviewShowSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; + _this._show = $$v.show; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s13_ = "OxviewShowSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s13_, "show", t1); + _$result = new A._$OxviewShowSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s13_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.OxviewShowSet); + return this._$v = _$result; } }; - U._$HelixMaxOffsetSetByDomains.prototype = { - $eq: function(_, other) { + A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMaxOffsetSetByDomains && this.helix_idx === other.helix_idx; + return other instanceof A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomains"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.SetDis), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixMaxOffsetSetByDomainsBuilder.prototype = { - get$_$this: function() { + A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; + _this._show = $$v.show; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s47_ = string$.SetDis, + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s47_, "show", t1); + _$result = new A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s47_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix); + return this._$v = _$result; } }; - U._$HelixMinOffsetSetByDomainsAll.prototype = { - $eq: function(_, other) { + A._$DisplayMajorTicksOffsetsSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMinOffsetSetByDomainsAll; + return other instanceof A.DisplayMajorTicksOffsetsSet && this.show === other.show; }, - get$hashCode: function(_) { - return 161125460; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomainsAll")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayMajorTicksOffsetsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.HelixMinOffsetSetByDomainsAllBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelixMinOffsetSetByDomainsAll(); + A.DisplayMajorTicksOffsetsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s27_ = "DisplayMajorTicksOffsetsSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s27_, "show", t1); + _$result = new A._$DisplayMajorTicksOffsetsSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s27_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DisplayMajorTicksOffsetsSet); return this._$v = _$result; } }; - U._$HelixMaxOffsetSetByDomainsAll.prototype = { - $eq: function(_, other) { + A._$SetDisplayMajorTickWidthsAllHelices.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMaxOffsetSetByDomainsAll; + return other instanceof A.SetDisplayMajorTickWidthsAllHelices && this.show === other.show; }, - get$hashCode: function(_) { - return 920642029; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAll")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidthsAllHelices"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.HelixMaxOffsetSetByDomainsAllBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelixMaxOffsetSetByDomainsAll(); + A.SetDisplayMajorTickWidthsAllHelicesBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s35_ = "SetDisplayMajorTickWidthsAllHelices", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s35_, "show", t1); + _$result = new A._$SetDisplayMajorTickWidthsAllHelices(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s35_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SetDisplayMajorTickWidthsAllHelices); return this._$v = _$result; } }; - U._$HelixMaxOffsetSetByDomainsAllSameMax.prototype = { - $eq: function(_, other) { + A._$SetDisplayMajorTickWidths.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixMaxOffsetSetByDomainsAllSameMax; + return other instanceof A.SetDisplayMajorTickWidths && this.show === other.show; }, - get$hashCode: function(_) { - return 713464849; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAllSameMax")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidths"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); } }; - U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelixMaxOffsetSetByDomainsAllSameMax(); + A.SetDisplayMajorTickWidthsBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s25_ = "SetDisplayMajorTickWidths", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s25_, "show", t1); + _$result = new A._$SetDisplayMajorTickWidths(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s25_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SetDisplayMajorTickWidths); return this._$v = _$result; } }; - U._$HelixOffsetChangeAll.prototype = { - $eq: function(_, other) { + A._$SetOnlyDisplaySelectedHelices.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixOffsetChangeAll && this.min_offset == other.min_offset && this.max_offset == other.max_offset; + return other instanceof A.SetOnlyDisplaySelectedHelices && this.only_display_selected_helices === other.only_display_selected_helices; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.only_display_selected_helices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChangeAll"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetOnlyDisplaySelectedHelices"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "min_offset", this.min_offset); - t2.add$2(t1, "max_offset", this.max_offset); + t2.add$2(t1, "only_display_selected_helices", this.only_display_selected_helices); return t2.toString$0(t1); } }; - U.HelixOffsetChangeAllBuilder.prototype = { - get$_$this: function() { + A.SetOnlyDisplaySelectedHelicesBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_min_offset = $$v.min_offset; - _this._actions$_max_offset = $$v.max_offset; + _this._actions$_only_display_selected_helices = $$v.only_display_selected_helices; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, + _s29_ = "SetOnlyDisplaySelectedHelices", + _s29_0 = "only_display_selected_helices", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_only_display_selected_helices, _s29_, _s29_0, t1); + _$result = new A._$SetOnlyDisplaySelectedHelices(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s29_, _s29_0, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SetOnlyDisplaySelectedHelices); + return this._$v = _$result; } }; - U._$ShowMouseoverRectSet.prototype = { - $eq: function(_, other) { + A._$InvertYSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowMouseoverRectSet && this.show === other.show; + return other instanceof A.InvertYSet && this.invert_y === other.invert_y; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.invert_y))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InvertYSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); + t2.add$2(t1, "invert_y", this.invert_y); return t2.toString$0(t1); } }; - U.ShowMouseoverRectSetBuilder.prototype = { - get$_$this: function() { + A.InvertYSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._show = $$v.show; + _this._actions$_invert_y = $$v.invert_y; _this._$v = null; } return _this; } }; - U._$ShowMouseoverRectToggle.prototype = { - $eq: function(_, other) { + A._$DynamicHelixUpdateSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowMouseoverRectToggle; + return other instanceof A.DynamicHelixUpdateSet && this.dynamically_update_helices === other.dynamically_update_helices; }, - get$hashCode: function(_) { - return 950177715; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.dynamically_update_helices))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectToggle")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DynamicHelixUpdateSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dynamically_update_helices", this.dynamically_update_helices); + return t2.toString$0(t1); } }; - U._$ExportDNA.prototype = { - $eq: function(_, other) { - var _this = this; + A.DynamicHelixUpdateSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_dynamically_update_helices = $$v.dynamically_update_helices; + _this._$v = null; + } + return _this; + } + }; + A._$WarnOnExitIfUnsavedSet.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.ExportDNA && _this.include_scaffold === other.include_scaffold && _this.include_only_selected_strands === other.include_only_selected_strands && _this.exclude_selected_strands === other.exclude_selected_strands && _this.export_dna_format === other.export_dna_format && _this.strand_order == other.strand_order && _this.column_major_strand === other.column_major_strand && _this.column_major_plate === other.column_major_plate && _this.delimiter === other.delimiter && _this.domain_delimiter === other.domain_delimiter; + return other instanceof A.WarnOnExitIfUnsavedSet && this.warn === other.warn; }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(_this.include_scaffold)), C.JSBool_methods.get$hashCode(_this.include_only_selected_strands)), C.JSBool_methods.get$hashCode(_this.exclude_selected_strands)), H.Primitives_objectHashCode(_this.export_dna_format)), J.get$hashCode$(_this.strand_order)), C.JSBool_methods.get$hashCode(_this.column_major_strand)), C.JSBool_methods.get$hashCode(_this.column_major_plate)), C.JSString_methods.get$hashCode(_this.delimiter)), C.JSString_methods.get$hashCode(_this.domain_delimiter))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.warn))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportDNA"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("WarnOnExitIfUnsavedSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "include_scaffold", _this.include_scaffold); - t2.add$2(t1, "include_only_selected_strands", _this.include_only_selected_strands); - t2.add$2(t1, "exclude_selected_strands", _this.exclude_selected_strands); - t2.add$2(t1, "export_dna_format", _this.export_dna_format); - t2.add$2(t1, "strand_order", _this.strand_order); - t2.add$2(t1, "column_major_strand", _this.column_major_strand); - t2.add$2(t1, "column_major_plate", _this.column_major_plate); - t2.add$2(t1, "delimiter", _this.delimiter); - t2.add$2(t1, "domain_delimiter", _this.domain_delimiter); + t2.add$2(t1, "warn", this.warn); return t2.toString$0(t1); } }; - U.ExportDNABuilder.prototype = { - get$_$this: function() { + A.WarnOnExitIfUnsavedSetBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._include_scaffold = $$v.include_scaffold; - _this._include_only_selected_strands = $$v.include_only_selected_strands; - _this._exclude_selected_strands = $$v.exclude_selected_strands; - _this._export_dna_format = $$v.export_dna_format; - _this._strand_order = $$v.strand_order; - _this._column_major_strand = $$v.column_major_strand; - _this._column_major_plate = $$v.column_major_plate; - _this._delimiter = $$v.delimiter; - _this._domain_delimiter = $$v.domain_delimiter; + _this._warn = $$v.warn; _this._$v = null; } return _this; - }, - build$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, - _s9_ = "ExportDNA", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._include_scaffold; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "include_scaffold")); - t2 = _this.get$_$this()._include_only_selected_strands; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "include_only_selected_strands")); - t3 = _this.get$_$this()._exclude_selected_strands; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "exclude_selected_strands")); - t4 = _this.get$_$this()._export_dna_format; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "export_dna_format")); - t5 = _this.get$_$this()._strand_order; - t6 = _this.get$_$this()._column_major_strand; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "column_major_strand")); - t7 = _this.get$_$this()._column_major_plate; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "column_major_plate")); - t8 = _this.get$_$this()._delimiter; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "delimiter")); - t9 = _this.get$_$this()._domain_delimiter; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "domain_delimiter")); - _$result = new U._$ExportDNA(t1, t2, t3, t4, t5, t6, t7, t8, t9); - } - return _this._$v = _$result; } }; - U._$ExportCanDoDNA.prototype = { - $eq: function(_, other) { + A._$LoadingDialogShow.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExportCanDoDNA; + return other instanceof A.LoadingDialogShow; }, - get$hashCode: function(_) { - return 736579583; + get$hashCode(_) { + return 952269547; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCanDoDNA")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogShow")); } }; - U.ExportCanDoDNABuilder.prototype = {}; - U._$ExportSvg.prototype = { - $eq: function(_, other) { + A._$LoadingDialogHide.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExportSvg && this.type === other.type; - }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.type))); + return other instanceof A.LoadingDialogHide; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvg"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "type", this.type); - return t2.toString$0(t1); + get$hashCode(_) { + return 802315898; }, - get$type: function(receiver) { - return this.type; + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogHide")); } }; - U.ExportSvgBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._type = $$v.type; - _this._$v = null; - } - return _this; + A._$CopySelectedStandsToClipboardImage.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.CopySelectedStandsToClipboardImage; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._type; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ExportSvg", "type")); - _$result = U._$ExportSvg$_(t1); - } + get$hashCode(_) { + return 747815956; + }, + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStandsToClipboardImage")); + } + }; + A.CopySelectedStandsToClipboardImageBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$CopySelectedStandsToClipboardImage(); + A.ArgumentError_checkNotNull(_$result, "other", type$.CopySelectedStandsToClipboardImage); return this._$v = _$result; } }; - U._$ExportSvgTextSeparatelySet.prototype = { - $eq: function(_, other) { + A._$SaveDNAFile.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExportSvgTextSeparatelySet && this.export_svg_text_separately === other.export_svg_text_separately; + return other instanceof A.SaveDNAFile; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.export_svg_text_separately))); + get$hashCode(_) { + return 802180151; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvgTextSeparatelySet"), + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SaveDNAFile")); + } + }; + A.SaveDNAFileBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$SaveDNAFile(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SaveDNAFile); + return this._$v = _$result; + } + }; + A._$LoadDNAFile.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.LoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; + }, + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.content)), B.JSBool_methods.get$hashCode(_this.write_local_storage)), B.JSBool_methods.get$hashCode(_this.unit_testing)), A.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); + }, + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDNAFile"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "export_svg_text_separately", this.export_svg_text_separately); + t2.add$2(t1, "content", _this.content); + t2.add$2(t1, "write_local_storage", _this.write_local_storage); + t2.add$2(t1, "unit_testing", _this.unit_testing); + t2.add$2(t1, "dna_file_type", _this.dna_file_type); + t2.add$2(t1, "filename", _this.filename); return t2.toString$0(t1); } }; - U.ExportSvgTextSeparatelySetBuilder.prototype = { - get$_$this: function() { + A.LoadDNAFileBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + _this._content = $$v.content; + _this._write_local_storage = $$v.write_local_storage; + _this._unit_testing = $$v.unit_testing; + _this._dna_file_type = $$v.dna_file_type; + _this._filename = $$v.filename; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; + _build$0() { + var t1, t2, t3, t4, t5, t6, t7, _this = this, + _s11_ = "LoadDNAFile", + _s19_ = "write_local_storage", + _s12_ = "unit_testing", + _s13_ = "dna_file_type", + _$result = _this._$v; if (_$result == null) { - t1 = this.get$_$this()._actions$_export_svg_text_separately; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ExportSvgTextSeparatelySet", "export_svg_text_separately")); - _$result = new U._$ExportSvgTextSeparatelySet(t1); - } - return this._$v = _$result; + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._content, _s11_, "content", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._write_local_storage, _s11_, _s19_, t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._unit_testing, _s11_, _s12_, t3); + t6 = type$.DNAFileType; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._dna_file_type, _s11_, _s13_, t6); + _$result = new A._$LoadDNAFile(t2, t4, t5, t7, _this.get$_$this()._filename); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, "content", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, _s19_, t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, _s12_, t3); + A.BuiltValueNullFieldError_checkNotNull(t7, _s11_, _s13_, t6); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.LoadDNAFile); + return _this._$v = _$result; } }; - U._$ExtensionDisplayLengthAngleSet.prototype = { - $eq: function(_, other) { + A._$PrepareToLoadDNAFile.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.ExtensionDisplayLengthAngleSet && J.$eq$(_this.ext, other.ext) && _this.display_length === other.display_length && _this.display_angle === other.display_angle; + return other instanceof A.PrepareToLoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.ext)), C.JSNumber_methods.get$hashCode(this.display_length)), C.JSNumber_methods.get$hashCode(this.display_angle))); + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.content)), B.JSBool_methods.get$hashCode(_this.write_local_storage)), B.JSBool_methods.get$hashCode(_this.unit_testing)), A.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionDisplayLengthAngleSet"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("PrepareToLoadDNAFile"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "ext", this.ext); - t2.add$2(t1, "display_length", this.display_length); - t2.add$2(t1, "display_angle", this.display_angle); + t2.add$2(t1, "content", _this.content); + t2.add$2(t1, "write_local_storage", _this.write_local_storage); + t2.add$2(t1, "unit_testing", _this.unit_testing); + t2.add$2(t1, "dna_file_type", _this.dna_file_type); + t2.add$2(t1, "filename", _this.filename); return t2.toString$0(t1); } }; - U.ExtensionDisplayLengthAngleSetBuilder.prototype = { - get$ext: function() { - var t1 = this.get$_$this(), - t2 = t1._ext; - return t2 == null ? t1._ext = new S.ExtensionBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.PrepareToLoadDNAFileBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.ext; - t1.toString; - t2 = new S.ExtensionBuilder(); - t2._extension$_$v = t1; - _this._ext = t2; - _this._actions$_display_length = $$v.display_length; - _this._actions$_display_angle = $$v.display_angle; + _this._content = $$v.content; + _this._write_local_storage = $$v.write_local_storage; + _this._unit_testing = $$v.unit_testing; + _this._dna_file_type = $$v.dna_file_type; + _this._filename = $$v.filename; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s30_ = "ExtensionDisplayLengthAngleSet", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$ext().build$0(); - t2 = _this.get$_$this()._actions$_display_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "display_length")); - t3 = _this.get$_$this()._actions$_display_angle; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "display_angle")); - _$result0 = new U._$ExtensionDisplayLengthAngleSet(t1, t2, t3); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "ext")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "ext"; - _this.get$ext().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ExtensionDisplayLengthAngleSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, t5, t6, t7, _this = this, + _s20_ = "PrepareToLoadDNAFile", + _s19_ = "write_local_storage", + _s12_ = "unit_testing", + _s13_ = "dna_file_type", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._content, _s20_, "content", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._write_local_storage, _s20_, _s19_, t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._unit_testing, _s20_, _s12_, t3); + t6 = type$.DNAFileType; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._dna_file_type, _s20_, _s13_, t6); + _$result = new A._$PrepareToLoadDNAFile(t2, t4, t5, t7, _this.get$_$this()._filename); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_, "content", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s20_, _s19_, t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s20_, _s12_, t3); + A.BuiltValueNullFieldError_checkNotNull(t7, _s20_, _s13_, t6); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.PrepareToLoadDNAFile); + return _this._$v = _$result; } }; - U._$ExtensionAdd.prototype = { - $eq: function(_, other) { - var _this = this; + A._$NewDesignSet.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.ExtensionAdd && J.$eq$(_this.strand, other.strand) && _this.is_5p === other.is_5p && _this.num_bases === other.num_bases; + return other instanceof A.NewDesignSet && J.$eq$(this.design, other.design) && this.short_description_value === other.short_description_value; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.is_5p)), C.JSInt_methods.get$hashCode(this.num_bases))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.design)), B.JSString_methods.get$hashCode(this.short_description_value))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionAdd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("NewDesignSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "is_5p", this.is_5p); - t2.add$2(t1, "num_bases", this.num_bases); + t2.add$2(t1, "design", this.design); + t2.add$2(t1, "short_description_value", this.short_description_value); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.ExtensionAddBuilder.prototype = { - get$strand: function() { + A.NewDesignSetBuilder.prototype = { + get$design() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_design; + if (t2 == null) { + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + t1._actions$_design = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + t1 = $$v.design; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._actions$_is_5p = $$v.is_5p; - _this._actions$_num_bases = $$v.num_bases; + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.Design); + t2._design0$_$v = t1; + _this._actions$_design = t2; + _this._short_description_value = $$v.short_description_value; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s12_ = "ExtensionAdd", + _s12_ = "NewDesignSet", + _s23_ = "short_description_value", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._actions$_is_5p; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "is_5p")); - t3 = _this.get$_$this()._actions$_num_bases; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "num_bases")); - _$result0 = new U._$ExtensionAdd(t1, t2, t3); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "strand")); + t1 = _this.get$design()._design0$_build$0(); + t2 = type$.String; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._short_description_value, _s12_, _s23_, t2); + _$result0 = new A._$NewDesignSet(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s12_, "design", type$.Design); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, _s23_, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "design"; + _this.get$design()._design0$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ExtensionAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.NewDesignSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$ExtensionNumBasesChange.prototype = { - $eq: function(_, other) { + A._$ExportCadnanoFile.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExtensionNumBasesChange && J.$eq$(this.ext, other.ext) && this.num_bases === other.num_bases; + return other instanceof A.ExportCadnanoFile && this.whitespace === other.whitespace; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.ext)), C.JSInt_methods.get$hashCode(this.num_bases))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.whitespace))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionNumBasesChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportCadnanoFile"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "ext", this.ext); - t2.add$2(t1, "num_bases", this.num_bases); + t2.add$2(t1, "whitespace", this.whitespace); return t2.toString$0(t1); } }; - U.ExtensionNumBasesChangeBuilder.prototype = { - get$ext: function() { - var t1 = this.get$_$this(), - t2 = t1._ext; - return t2 == null ? t1._ext = new S.ExtensionBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.ExportCadnanoFileBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.ext; - t1.toString; - t2 = new S.ExtensionBuilder(); - t2._extension$_$v = t1; - _this._ext = t2; - _this._actions$_num_bases = $$v.num_bases; + _this._whitespace = $$v.whitespace; _this._$v = null; } return _this; + } + }; + A._$ExportCodenanoFile.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ExportCodenanoFile; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s23_ = "ExtensionNumBasesChange", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$ext().build$0(); - t2 = _this.get$_$this()._actions$_num_bases; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "num_bases")); - _$result0 = new U._$ExtensionNumBasesChange(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "ext")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "ext"; - _this.get$ext().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ExtensionNumBasesChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + get$hashCode(_) { + return 632553768; + }, + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCodenanoFile")); } }; - U._$ExtensionsNumBasesChange.prototype = { - $eq: function(_, other) { + A._$ShowMouseoverDataSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExtensionsNumBasesChange && J.$eq$(this.extensions, other.extensions) && this.num_bases === other.num_bases; + return other instanceof A.ShowMouseoverDataSet && this.show === other.show; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.extensions)), C.JSInt_methods.get$hashCode(this.num_bases))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionsNumBasesChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverDataSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "extensions", this.extensions); - t2.add$2(t1, "num_bases", this.num_bases); + t2.add$2(t1, "show", this.show); return t2.toString$0(t1); } }; - U.ExtensionsNumBasesChangeBuilder.prototype = { - get$extensions: function(_) { - var t1 = this.get$_$this(), - t2 = t1._extensions; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Extension); - t1.set$_extensions(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, _this = this, + A.ShowMouseoverDataSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.extensions; - t1.toString; - _this.set$_extensions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._actions$_num_bases = $$v.num_bases; + _this._show = $$v.show; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s24_ = "ExtensionsNumBasesChange", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$extensions(_this).build$0(); - t2 = _this.get$_$this()._actions$_num_bases; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "num_bases")); - _$result0 = new U._$ExtensionsNumBasesChange(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "extensions")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "extensions"; - _this.get$extensions(_this).build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s24_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s20_ = "ShowMouseoverDataSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s20_, "show", t1); + _$result = new A._$ShowMouseoverDataSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_, "show", t1); } - t1 = type$.legacy_ExtensionsNumBasesChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowMouseoverDataSet); + return this._$v = _$result; + } + }; + A._$MouseoverDataClear.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.MouseoverDataClear; + }, + get$hashCode(_) { + return 193748472; }, - set$_extensions: function(_extensions) { - this._extensions = type$.legacy_ListBuilder_legacy_Extension._as(_extensions); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseoverDataClear")); + } + }; + A.MouseoverDataClearBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$MouseoverDataClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.MouseoverDataClear); + return this._$v = _$result; } }; - U._$LoopoutLengthChange.prototype = { - $eq: function(_, other) { + A._$MouseoverDataUpdate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.LoopoutLengthChange && J.$eq$(this.loopout, other.loopout) && this.num_bases === other.num_bases; + return other instanceof A.MouseoverDataUpdate && J.$eq$(this.mouseover_params, other.mouseover_params); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.loopout)), C.JSInt_methods.get$hashCode(this.num_bases))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.mouseover_params))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutLengthChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverDataUpdate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "loopout", this.loopout); - t2.add$2(t1, "num_bases", this.num_bases); + t2.add$2(t1, "mouseover_params", this.mouseover_params); return t2.toString$0(t1); } }; - U.LoopoutLengthChangeBuilder.prototype = { - get$loopout: function() { - var t1 = this.get$_$this(), - t2 = t1._loopout; - return t2 == null ? t1._loopout = new G.LoopoutBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.MouseoverDataUpdateBuilder.prototype = { + get$mouseover_params() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.loopout; + t1 = $$v.mouseover_params; t1.toString; - t2 = new G.LoopoutBuilder(); - t2._loopout$_$v = t1; - _this._loopout = t2; - _this._actions$_num_bases = $$v.num_bases; + _this.set$_mouseover_params(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; + t1 = _this._mouseover_params; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverParams); + _this.set$_mouseover_params(t1); + } + return t1; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s19_ = "LoopoutLengthChange", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$loopout().build$0(); - t2 = _this.get$_$this()._actions$_num_bases; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "num_bases")); - _$result0 = new U._$LoopoutLengthChange(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loopout")); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$MouseoverDataUpdate$_(_this.get$mouseover_params().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "loopout"; - _this.get$loopout().build$0(); + _$failedField._value = "mouseover_params"; + _this.get$mouseover_params().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("MouseoverDataUpdate", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_LoopoutLengthChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.MouseoverDataUpdate; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_mouseover_params(_mouseover_params) { + this._mouseover_params = type$.nullable_ListBuilder_MouseoverParams._as(_mouseover_params); } }; - U._$LoopoutsLengthChange.prototype = { - $eq: function(_, other) { + A._$HelixRollSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.LoopoutsLengthChange && J.$eq$(this.loopouts, other.loopouts) && this.length === other.length; + return other instanceof A.HelixRollSet && this.helix_idx === other.helix_idx && this.roll === other.roll; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.loopouts)), C.JSInt_methods.get$hashCode(this.length))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), B.JSNumber_methods.get$hashCode(this.roll))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutsLengthChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "loopouts", this.loopouts); - t2.add$2(t1, "length", this.length); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "roll", this.roll); return t2.toString$0(t1); }, - get$length: function(receiver) { - return this.length; + get$helix_idx() { + return this.helix_idx; } }; - U.LoopoutsLengthChangeBuilder.prototype = { - get$loopouts: function() { - var t1 = this.get$_$this(), - t2 = t1._loopouts; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Loopout); - t1.set$_loopouts(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$length: function(_) { - return this.get$_$this()._actions$_length; - }, - get$_$this: function() { - var t1, _this = this, + A.HelixRollSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.loopouts; - t1.toString; - _this.set$_loopouts(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._actions$_length = $$v.length; + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_roll = $$v.roll; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s20_ = "LoopoutsLengthChange", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$loopouts().build$0(); - t2 = _this.get$_$this()._actions$_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "length")); - _$result0 = new U._$LoopoutsLengthChange(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "loopouts")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "loopouts"; - _this.get$loopouts().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s20_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_LoopoutsLengthChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_loopouts: function(_loopouts) { - this._loopouts = type$.legacy_ListBuilder_legacy_Loopout._as(_loopouts); } }; - U._$ConvertCrossoverToLoopout.prototype = { - $eq: function(_, other) { + A._$HelixRollSetAtOther.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.ConvertCrossoverToLoopout && _this.crossover.$eq(0, other.crossover) && _this.length === other.length && _this.dna_sequence == other.dna_sequence; + return other instanceof A.HelixRollSetAtOther && _this.helix_idx === other.helix_idx && _this.helix_other_idx === other.helix_other_idx && _this.forward === other.forward && _this.anchor === other.anchor; }, - get$hashCode: function(_) { - var t1 = this.crossover; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(this.length)), J.get$hashCode$(this.dna_sequence))); + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), B.JSInt_methods.get$hashCode(_this.helix_other_idx)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSInt_methods.get$hashCode(_this.anchor))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoverToLoopout"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSetAtOther"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "crossover", this.crossover); - t2.add$2(t1, "length", this.length); - t2.add$2(t1, "dna_sequence", this.dna_sequence); + t2.add$2(t1, "helix_idx", _this.helix_idx); + t2.add$2(t1, "helix_other_idx", _this.helix_other_idx); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "anchor", _this.anchor); return t2.toString$0(t1); - }, - get$length: function(receiver) { - return this.length; } }; - U.ConvertCrossoverToLoopoutBuilder.prototype = { - get$crossover: function() { - var t1 = this.get$_$this(), - t2 = t1._crossover; - return t2 == null ? t1._crossover = new T.CrossoverBuilder() : t2; - }, - get$length: function(_) { - return this.get$_$this()._actions$_length; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.HelixRollSetAtOtherBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.crossover; - t2 = new T.CrossoverBuilder(); - t2._crossover$_$v = t1; - _this._crossover = t2; - _this._actions$_length = $$v.length; - _this._actions$_dna_sequence = $$v.dna_sequence; + _this._actions$_helix_idx = $$v.helix_idx; + _this._helix_other_idx = $$v.helix_other_idx; + _this._actions$_forward = $$v.forward; + _this._anchor = $$v.anchor; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s25_ = "ConvertCrossoverToLoopout", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$crossover().build$0(); - t2 = _this.get$_$this()._actions$_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "length")); - _$result0 = new U._$ConvertCrossoverToLoopout(t1, t2, _this.get$_$this()._actions$_dna_sequence); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "crossover"; - _this.get$crossover().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s25_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ConvertCrossoverToLoopout._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, t5, t6, _this = this, + _s19_ = "HelixRollSetAtOther", + _s9_ = "helix_idx", + _s15_ = "helix_other_idx", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s19_, _s9_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._helix_other_idx, _s19_, _s15_, t1); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_forward, _s19_, "forward", t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._anchor, _s19_, "anchor", t1); + _$result = new A._$HelixRollSetAtOther(t2, t3, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, _s9_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s19_, _s15_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s19_, "forward", t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s19_, "anchor", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixRollSetAtOther); + return _this._$v = _$result; } }; - U._$ConvertCrossoversToLoopouts.prototype = { - $eq: function(_, other) { + A._$RelaxHelixRolls.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ConvertCrossoversToLoopouts && J.$eq$(this.crossovers, other.crossovers) && this.length === other.length; + return other instanceof A.RelaxHelixRolls && this.only_selected === other.only_selected; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.crossovers)), C.JSInt_methods.get$hashCode(this.length))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.only_selected))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoversToLoopouts"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RelaxHelixRolls"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "crossovers", this.crossovers); - t2.add$2(t1, "length", this.length); + t2.add$2(t1, "only_selected", this.only_selected); return t2.toString$0(t1); - }, - get$length: function(receiver) { - return this.length; } }; - U.ConvertCrossoversToLoopoutsBuilder.prototype = { - get$crossovers: function() { - var t1 = this.get$_$this(), - t2 = t1._crossovers; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Crossover); - t1.set$_crossovers(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$length: function(_) { - return this.get$_$this()._actions$_length; - }, - get$_$this: function() { - var t1, _this = this, + A.RelaxHelixRollsBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.crossovers; - t1.toString; - _this.set$_crossovers(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._actions$_length = $$v.length; + _this._only_selected = $$v.only_selected; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s27_ = "ConvertCrossoversToLoopouts", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$crossovers().build$0(); - t2 = _this.get$_$this()._actions$_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "length")); - _$result0 = new U._$ConvertCrossoversToLoopouts(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "crossovers")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "crossovers"; - _this.get$crossovers().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s27_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ConvertCrossoversToLoopouts._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_crossovers: function(_crossovers) { - this._crossovers = type$.legacy_ListBuilder_legacy_Crossover._as(_crossovers); } }; - U._$Nick.prototype = { - $eq: function(_, other) { + A._$ErrorMessageSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.Nick && J.$eq$(this.domain, other.domain) && this.offset === other.offset; + return other instanceof A.ErrorMessageSet && this.error_message == other.error_message; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.error_message))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Nick"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ErrorMessageSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "error_message", this.error_message); return t2.toString$0(t1); + } + }; + A.ErrorMessageSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_error_message = $$v.error_message; + _this._$v = null; + } + return _this; }, - get$offset: function(receiver) { - return this.offset; + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$ErrorMessageSet(this.get$_$this()._actions$_error_message); + A.ArgumentError_checkNotNull(_$result, "other", type$.ErrorMessageSet); + return this._$v = _$result; } }; - U.NickBuilder.prototype = { - get$domain: function(_) { - var t1 = this.get$_$this(), - t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + A._$SelectionBoxCreate.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.SelectionBoxCreate && _this.point.$eq(0, other.point) && _this.toggle === other.toggle && _this.is_main === other.is_main; }, - get$offset: function(_) { - return this.get$_$this()._actions$_offset; + get$hashCode(_) { + var t1 = this.point; + return A.$jf(A.$jc(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), B.JSBool_methods.get$hashCode(this.toggle)), B.JSBool_methods.get$hashCode(this.is_main))); }, - get$_$this: function() { - var t1, t2, _this = this, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxCreate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "is_main", this.is_main); + return t2.toString$0(t1); + } + }; + A.SelectionBoxCreateBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domain; - t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._actions$_domain = t2; - _this._actions$_offset = $$v.offset; + _this.set$_point($$v.point); + _this._actions$_toggle = $$v.toggle; + _this._actions$_is_main = $$v.is_main; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$_$this()._actions$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Nick", "offset")); - _$result0 = U._$Nick$_(t1, t2); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("Nick", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_Nick._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s18_ = "SelectionBoxCreate", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.Point_double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._point, _s18_, "point", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_toggle, _s18_, "toggle", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_is_main, _s18_, "is_main", t3); + _$result = new A._$SelectionBoxCreate(t2, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, "point", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s18_, "toggle", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s18_, "is_main", t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionBoxCreate); + return _this._$v = _$result; + }, + set$_point(_point) { + this._point = type$.nullable_Point_double._as(_point); } }; - U._$Ligate.prototype = { - $eq: function(_, other) { + A._$SelectionBoxSizeChange.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.Ligate && this.dna_end.$eq(0, other.dna_end); + return other instanceof A.SelectionBoxSizeChange && this.point.$eq(0, other.point) && this.is_main === other.is_main; }, - get$hashCode: function(_) { - var t1 = this.dna_end; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + get$hashCode(_) { + var t1 = this.point; + return A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), B.JSBool_methods.get$hashCode(this.is_main))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Ligate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxSizeChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_end", this.dna_end); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main", this.is_main); return t2.toString$0(t1); } }; - U.LigateBuilder.prototype = { - get$dna_end: function() { - var t1, t2, _this = this, + A.SelectionBoxSizeChangeBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.dna_end; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._actions$_dna_end = t2; + _this.set$_point($$v.point); + _this._actions$_is_main = $$v.is_main; _this._$v = null; } - t1 = _this._actions$_dna_end; - return t1 == null ? _this._actions$_dna_end = new Z.DNAEndBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$Ligate$_(_this.get$dna_end().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "dna_end"; - _this.get$dna_end().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("Ligate", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_Ligate._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, _this = this, + _s22_ = "SelectionBoxSizeChange", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.Point_double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._point, _s22_, "point", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_is_main, _s22_, "is_main", t3); + _$result = new A._$SelectionBoxSizeChange(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s22_, "point", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s22_, "is_main", t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionBoxSizeChange); + return _this._$v = _$result; + }, + set$_point(_point) { + this._point = type$.nullable_Point_double._as(_point); } }; - U._$JoinStrandsByCrossover.prototype = { - $eq: function(_, other) { + A._$SelectionBoxRemove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.JoinStrandsByCrossover && J.$eq$(this.dna_end_first_click, other.dna_end_first_click) && J.$eq$(this.dna_end_second_click, other.dna_end_second_click); + return other instanceof A.SelectionBoxRemove && this.is_main === other.is_main; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.dna_end_first_click)), J.get$hashCode$(this.dna_end_second_click))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.is_main))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByCrossover"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxRemove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_end_first_click", this.dna_end_first_click); - t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); + t2.add$2(t1, "is_main", this.is_main); return t2.toString$0(t1); } }; - U.JoinStrandsByCrossoverBuilder.prototype = { - get$dna_end_first_click: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_dna_end_first_click; - return t2 == null ? t1._actions$_dna_end_first_click = new Z.DNAEndBuilder() : t2; - }, - get$dna_end_second_click: function() { - var t1 = this.get$_$this(), - t2 = t1._dna_end_second_click; - return t2 == null ? t1._dna_end_second_click = new Z.DNAEndBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.SelectionBoxRemoveBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.dna_end_first_click; - t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._actions$_dna_end_first_click = t2; - t1 = $$v.dna_end_second_click; - t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end_second_click = t2; + _this._actions$_is_main = $$v.is_main; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$JoinStrandsByCrossover$_(_this.get$dna_end_first_click().build$0(), _this.get$dna_end_second_click().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "dna_end_first_click"; - _this.get$dna_end_first_click().build$0(); - _$failedField = "dna_end_second_click"; - _this.get$dna_end_second_click().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("JoinStrandsByCrossover", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s18_ = "SelectionBoxRemove", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_is_main, _s18_, "is_main", t1); + _$result = new A._$SelectionBoxRemove(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, "is_main", t1); } - t1 = type$.legacy_JoinStrandsByCrossover._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionBoxRemove); + return this._$v = _$result; } }; - U._$MoveLinker.prototype = { - $eq: function(_, other) { + A._$SelectionRopeCreate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.MoveLinker && J.$eq$(this.potential_crossover, other.potential_crossover) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); + return other instanceof A.SelectionRopeCreate && this.toggle === other.toggle; }, - get$hashCode: function(_) { - var _this = this, + get$hashCode(_) { + var _$hash, _this = this, t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.toggle))); + t1 = _this._actions$__hashCode; if (t1 == null) { - t1 = _this.dna_end_second_click; - t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.potential_crossover)), t1.get$hashCode(t1))); + _this._actions$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveLinker"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeCreate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "potential_crossover", this.potential_crossover); - t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); + t2.add$2(t1, "toggle", this.toggle); return t2.toString$0(t1); } }; - U.MoveLinkerBuilder.prototype = { - get$potential_crossover: function() { - var t1 = this.get$_$this(), - t2 = t1._potential_crossover; - return t2 == null ? t1._potential_crossover = new S.PotentialCrossoverBuilder() : t2; - }, - get$dna_end_second_click: function() { - var t1 = this.get$_$this(), - t2 = t1._dna_end_second_click; - return t2 == null ? t1._dna_end_second_click = new Z.DNAEndBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.SelectionRopeCreateBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.potential_crossover; - t1.toString; - t2 = new S.PotentialCrossoverBuilder(); - t2._potential_crossover$_$v = t1; - _this._potential_crossover = t2; - t1 = $$v.dna_end_second_click; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end_second_click = t2; + _this._actions$_toggle = $$v.toggle; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$potential_crossover().build$0(); - _$result0 = U._$MoveLinker$_(_this.get$dna_end_second_click().build$0(), t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "potential_crossover"; - _this.get$potential_crossover().build$0(); - _$failedField = "dna_end_second_click"; - _this.get$dna_end_second_click().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("MoveLinker", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_MoveLinker._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; } }; - U._$JoinStrandsByMultipleCrossovers.prototype = { - $eq: function(_, other) { + A._$SelectionRopeMouseMove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.JoinStrandsByMultipleCrossovers; + return other instanceof A.SelectionRopeMouseMove && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; }, - get$hashCode: function(_) { - return 913553039; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + t1 = _this.point; + _$hash = A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), B.JSBool_methods.get$hashCode(_this.is_main_view))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByMultipleCrossovers")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeMouseMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main_view", this.is_main_view); + return t2.toString$0(t1); } }; - U.JoinStrandsByMultipleCrossoversBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$JoinStrandsByMultipleCrossovers(); - return this._$v = _$result; + A.SelectionRopeMouseMoveBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._is_main_view = $$v.is_main_view; + _this._$v = null; + } + return _this; + }, + set$_point(_point) { + this._point = type$.nullable_Point_double._as(_point); } }; - U._$StrandsReflect.prototype = { - $eq: function(_, other) { - var _this = this; + A._$SelectionRopeAddPoint.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.StrandsReflect && J.$eq$(_this.strands, other.strands) && _this.horizontal === other.horizontal && _this.reverse_polarity === other.reverse_polarity; + return other instanceof A.SelectionRopeAddPoint && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strands)), C.JSBool_methods.get$hashCode(this.horizontal)), C.JSBool_methods.get$hashCode(this.reverse_polarity))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + t1 = _this.point; + _$hash = A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), B.JSBool_methods.get$hashCode(_this.is_main_view))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsReflect"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeAddPoint"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands", this.strands); - t2.add$2(t1, "horizontal", this.horizontal); - t2.add$2(t1, "reverse_polarity", this.reverse_polarity); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main_view", this.is_main_view); return t2.toString$0(t1); } }; - U.StrandsReflectBuilder.prototype = { - get$strands: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_strands; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_actions$_strands(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, _this = this, + A.SelectionRopeAddPointBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strands; - t1.toString; - _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._horizontal = $$v.horizontal; - _this._reverse_polarity = $$v.reverse_polarity; + _this.set$_point($$v.point); + _this._is_main_view = $$v.is_main_view; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s14_ = "StrandsReflect", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strands().build$0(); - t2 = _this.get$_$this()._horizontal; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "horizontal")); - t3 = _this.get$_$this()._reverse_polarity; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "reverse_polarity")); - _$result0 = U._$StrandsReflect$_(t2, t3, t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strands"; - _this.get$strands().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_StrandsReflect._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + set$_point(_point) { + this._point = type$.nullable_Point_double._as(_point); + } + }; + A._$SelectionRopeRemove.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SelectionRopeRemove; + }, + get$hashCode(_) { + return 271648066; }, - set$_actions$_strands: function(_strands) { - this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionRopeRemove")); } }; - U._$ReplaceStrands.prototype = { - $eq: function(_, other) { + A._$MouseGridPositionSideUpdate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ReplaceStrands && J.$eq$(this.new_strands, other.new_strands); + return other instanceof A.MouseGridPositionSideUpdate && this.grid_position.$eq(0, other.grid_position); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.new_strands))); + get$hashCode(_) { + var t1 = this.grid_position; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ReplaceStrands"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideUpdate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "new_strands", this.new_strands); + t2.add$2(t1, "grid_position", this.grid_position); return t2.toString$0(t1); } }; - U.ReplaceStrandsBuilder.prototype = { - get$new_strands: function() { + A.MouseGridPositionSideUpdateBuilder.prototype = { + get$grid_position() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.new_strands; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_new_strands(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.grid_position; + t2 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.GridPosition); + t2._grid_position$_$v = t1; + _this._actions$_grid_position = t2; _this._$v = null; } - t1 = _this._new_strands; - if (t1 == null) { - t1 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Strand); - _this.set$_new_strands(t1); - } - return t1; + t1 = _this._actions$_grid_position; + return t1 == null ? _this._actions$_grid_position = new A.GridPositionBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s27_ = "MouseGridPositionSideUpdate", + _s13_ = "grid_position", + _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$ReplaceStrands$_(_this.get$new_strands().build$0()) : _$result0; + if (_$result0 == null) { + t1 = _this.get$grid_position()._grid_position$_build$0(); + _$result0 = new A._$MouseGridPositionSideUpdate(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s27_, _s13_, type$.GridPosition); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "new_strands"; - _this.get$new_strands().build$0(); + _$failedField._value = _s13_; + _this.get$grid_position()._grid_position$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("ReplaceStrands", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s27_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ReplaceStrands._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.MouseGridPositionSideUpdate; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_new_strands: function(_new_strands) { - this._new_strands = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Strand._as(_new_strands); } }; - U._$StrandCreateStart.prototype = { - $eq: function(_, other) { - var t1, t2; + A._$MouseGridPositionSideClear.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - if (other instanceof U.StrandCreateStart) - if (this.address.$eq(0, other.address)) { - t1 = this.color; - t2 = other.color; - t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); - } else - t1 = false; - else - t1 = false; - return t1; + return other instanceof A.MouseGridPositionSideClear; }, - get$hashCode: function(_) { - var t1 = this.address, - t2 = this.color; - return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + get$hashCode(_) { + return 436959071; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateStart"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", this.address); - t2.add$2(t1, "color", this.color); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideClear")); } }; - U.StrandCreateStartBuilder.prototype = { - get$address: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_address; - return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; - _this._actions$_color = $$v.color; - _this._$v = null; - } - return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s17_ = "StrandCreateStart", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$address().build$0(); - t2 = _this.get$_$this()._actions$_color; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "color")); - _$result0 = U._$StrandCreateStart$_(t1, t2); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "address"; - _this.get$address().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_StrandCreateStart._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.MouseGridPositionSideClearBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$MouseGridPositionSideClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.MouseGridPositionSideClear); + return this._$v = _$result; } }; - U._$StrandCreateAdjustOffset.prototype = { - $eq: function(_, other) { + A._$MousePositionSideUpdate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandCreateAdjustOffset && this.offset == other.offset; + return other instanceof A.MousePositionSideUpdate && this.svg_pos.$eq(0, other.svg_pos); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + get$hashCode(_) { + var t1 = this.svg_pos; + return A.$jf(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateAdjustOffset"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MousePositionSideUpdate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "svg_pos", this.svg_pos); return t2.toString$0(t1); - }, - get$offset: function(receiver) { - return this.offset; } }; - U.StrandCreateAdjustOffsetBuilder.prototype = { - get$offset: function(_) { - return this.get$_$this()._actions$_offset; - }, - get$_$this: function() { + A.MousePositionSideUpdateBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_offset = $$v.offset; + _this.set$_svg_pos($$v.svg_pos); _this._$v = null; } return _this; + }, + set$_svg_pos(_svg_pos) { + this._svg_pos = type$.nullable_Point_double._as(_svg_pos); } }; - U._$StrandCreateStop.prototype = { - $eq: function(_, other) { + A._$MousePositionSideClear.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandCreateStop; + return other instanceof A.MousePositionSideClear; }, - get$hashCode: function(_) { - return 562189073; + get$hashCode(_) { + return 1008932832; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandCreateStop")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MousePositionSideClear")); } }; - U.StrandCreateStopBuilder.prototype = { - build$0: function() { + A.MousePositionSideClearBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$StrandCreateStop(); + _$result = new A._$MousePositionSideClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.MousePositionSideClear); return this._$v = _$result; } }; - U._$StrandCreateCommit.prototype = { - $eq: function(_, other) { - var t1, t2, _this = this; + A._$GeometrySet.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - if (other instanceof U.StrandCreateCommit) - if (_this.helix_idx === other.helix_idx) - if (_this.start === other.start) - if (_this.end === other.end) - if (_this.forward === other.forward) { - t1 = _this.color; - t2 = other.color; - t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); - } else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + return other instanceof A.GeometrySet && J.$eq$(this.geometry, other.geometry); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.color; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.start)), C.JSInt_methods.get$hashCode(_this.end)), C.JSBool_methods.get$hashCode(_this.forward)), t1.get$hashCode(t1))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.geometry))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateCommit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GeometrySet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", _this.helix_idx); - t2.add$2(t1, "start", _this.start); - t2.add$2(t1, "end", _this.end); - t2.add$2(t1, "forward", _this.forward); - t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "geometry", this.geometry); return t2.toString$0(t1); } }; - U.StrandCreateCommitBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.GeometrySetBuilder.prototype = { + get$geometry(_) { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - _this._actions$_start = $$v.start; - _this._actions$_end = $$v.end; - _this._actions$_forward = $$v.forward; - _this._actions$_color = $$v.color; + t1 = $$v.geometry; + t1.toString; + t2 = new A.GeometryBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Geometry); + t2._geometry$_$v = t1; + _this._actions$_geometry = t2; _this._$v = null; } - return _this; + t1 = _this._actions$_geometry; + return t1 == null ? _this._actions$_geometry = new A.GeometryBuilder() : t1; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$GeometrySet$_(_this.get$geometry(_this)._geometry$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "geometry"; + _this.get$geometry(_this)._geometry$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("GeometrySet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.GeometrySet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$PotentialCrossoverCreate.prototype = { - $eq: function(_, other) { + A._$SelectionBoxIntersectionRuleSet.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.PotentialCrossoverCreate && J.$eq$(this.potential_crossover, other.potential_crossover); + return other instanceof A.SelectionBoxIntersectionRuleSet && this.intersect === other.intersect; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.potential_crossover))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.intersect))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverCreate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxIntersectionRuleSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "potential_crossover", this.potential_crossover); + t2.add$2(t1, "intersect", this.intersect); return t2.toString$0(t1); } }; - U.PotentialCrossoverCreateBuilder.prototype = { - get$potential_crossover: function() { - var t1, t2, _this = this, + A.SelectionBoxIntersectionRuleSetBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.potential_crossover; - t1.toString; - t2 = new S.PotentialCrossoverBuilder(); - t2._potential_crossover$_$v = t1; - _this._potential_crossover = t2; + _this._intersect = $$v.intersect; _this._$v = null; } - t1 = _this._potential_crossover; - return t1 == null ? _this._potential_crossover = new S.PotentialCrossoverBuilder() : t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$PotentialCrossoverCreate$_(_this.get$potential_crossover().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "potential_crossover"; - _this.get$potential_crossover().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("PotentialCrossoverCreate", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_PotentialCrossoverCreate._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return _this; } }; - U._$PotentialCrossoverMove.prototype = { - $eq: function(_, other) { + A._$Select.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.PotentialCrossoverMove && this.point.$eq(0, other.point); + return other instanceof A.Select && _this.selectable.$eq(0, other.selectable) && _this.toggle === other.toggle && _this.only === other.only; }, - get$hashCode: function(_) { - var t1 = this.point; - return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + get$hashCode(_) { + var t1 = this.selectable; + return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.toggle)), B.JSBool_methods.get$hashCode(this.only))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverMove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Select"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "point", this.point); + t2.add$2(t1, "selectable", this.selectable); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "only", this.only); return t2.toString$0(t1); } }; - U.PotentialCrossoverMoveBuilder.prototype = { - get$_$this: function() { + A.SelectBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_point($$v.point); + _this._selectable = $$v.selectable; + _this._actions$_toggle = $$v.toggle; + _this._only = $$v.only; _this._$v = null; } return _this; }, - set$_point: function(_point) { - this._point = type$.legacy_Point_legacy_num._as(_point); + _build$0() { + var t1, t2, t3, t4, t5, _this = this, _s6_ = "Select", + _s10_ = "selectable", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.Selectable; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._selectable, _s6_, _s10_, t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_toggle, _s6_, "toggle", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._only, _s6_, "only", t3); + _$result = new A._$Select(t2, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s6_, _s10_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, "toggle", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s6_, "only", t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Select); + return _this._$v = _$result; } }; - U._$PotentialCrossoverRemove.prototype = { - $eq: function(_, other) { + A._$SelectionsClear.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.PotentialCrossoverRemove; + return other instanceof A.SelectionsClear; }, - get$hashCode: function(_) { - return 588638045; + get$hashCode(_) { + return 647379793; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverRemove")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionsClear")); } }; - U.PotentialCrossoverRemoveBuilder.prototype = { - build$0: function() { + A.SelectionsClearBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$PotentialCrossoverRemove(); + _$result = new A._$SelectionsClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionsClear); return this._$v = _$result; } }; - U._$ManualPasteInitiate.prototype = { - $eq: function(_, other) { + A._$SelectionsAdjustMainView.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ManualPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + return other instanceof A.SelectionsAdjustMainView && this.toggle === other.toggle && this.box === other.box; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.clipboard_content)), C.JSBool_methods.get$hashCode(_this.in_browser))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.toggle)), B.JSBool_methods.get$hashCode(this.box))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ManualPasteInitiate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionsAdjustMainView"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "clipboard_content", this.clipboard_content); - t2.add$2(t1, "in_browser", this.in_browser); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "box", this.box); return t2.toString$0(t1); } }; - U.ManualPasteInitiateBuilder.prototype = { - get$_$this: function() { + A.SelectionsAdjustMainViewBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._clipboard_content = $$v.clipboard_content; - _this._in_browser = $$v.in_browser; + _this._actions$_toggle = $$v.toggle; + _this._box = $$v.box; _this._$v = null; } return _this; - }, - build$0: function() { - var t1, t2, _this = this, - _s19_ = "ManualPasteInitiate", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._clipboard_content; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "clipboard_content")); - t2 = _this.get$_$this()._in_browser; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "in_browser")); - _$result = new U._$ManualPasteInitiate(t1, t2); - } - return _this._$v = _$result; } }; - U._$AutoPasteInitiate.prototype = { - $eq: function(_, other) { + A._$SelectOrToggleItems.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.AutoPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + return other instanceof A.SelectOrToggleItems && J.$eq$(this.items, other.items) && this.toggle === other.toggle; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.clipboard_content)), C.JSBool_methods.get$hashCode(_this.in_browser))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.items)), B.JSBool_methods.get$hashCode(this.toggle))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutoPasteInitiate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectOrToggleItems"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "clipboard_content", this.clipboard_content); - t2.add$2(t1, "in_browser", this.in_browser); + t2.add$2(t1, "items", this.items); + t2.add$2(t1, "toggle", this.toggle); return t2.toString$0(t1); } }; - U.AutoPasteInitiateBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.SelectOrToggleItemsBuilder.prototype = { + get$items(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_items; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); + t1.set$_actions$_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._clipboard_content = $$v.clipboard_content; - _this._in_browser = $$v.in_browser; + t1 = $$v.items; + t1.toString; + _this.set$_actions$_items(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_toggle = $$v.toggle; _this._$v = null; } return _this; }, - build$0: function() { - var t1, t2, _this = this, - _s17_ = "AutoPasteInitiate", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._clipboard_content; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "clipboard_content")); - t2 = _this.get$_$this()._in_browser; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "in_browser")); - _$result = new U._$AutoPasteInitiate(t1, t2); + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s19_ = "SelectOrToggleItems", + _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$SelectOrToggleItems$_(_this.get$items(_this).build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_toggle, _s19_, "toggle", type$.bool)) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "items"; + _this.get$items(_this).build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return _this._$v = _$result; - } - }; - U._$CopySelectedStrands.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.CopySelectedStrands; - }, - get$hashCode: function(_) { - return 12466871; + t1 = type$.SelectOrToggleItems; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStrands")); - } - }; - U.CopySelectedStrandsBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$CopySelectedStrands(); - return this._$v = _$result; + set$_actions$_items(_items) { + this._actions$_items = type$.nullable_ListBuilder_Selectable._as(_items); } }; - U._$StrandsMoveStart.prototype = { - $eq: function(_, other) { - var _this = this; + A._$SelectAll.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.StrandsMoveStart && J.$eq$(_this.strands, other.strands) && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + return other instanceof A.SelectAll && J.$eq$(this.selectables, other.selectables) && this.only === other.only; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.address; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.copy)), J.get$hashCode$(_this.original_helices_view_order_inverse))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.selectables)), B.JSBool_methods.get$hashCode(this.only))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStart"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAll"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands", _this.strands); - t2.add$2(t1, "address", _this.address); - t2.add$2(t1, "copy", _this.copy); - t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + t2.add$2(t1, "selectables", this.selectables); + t2.add$2(t1, "only", this.only); return t2.toString$0(t1); } }; - U.StrandsMoveStartBuilder.prototype = { - get$strands: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_strands; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_actions$_strands(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$address: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_address; - return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; - }, - get$original_helices_view_order_inverse: function() { + A.SelectAllBuilder.prototype = { + get$selectables() { var t1 = this.get$_$this(), - t2 = t1._actions$_original_helices_view_order_inverse; + t2 = t1._selectables; if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_actions$_original_helices_view_order_inverse(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); + t1.set$_selectables(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strands; - t1.toString; - _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; - _this._actions$_copy = $$v.copy; - t1 = $$v.original_helices_view_order_inverse; + t1 = $$v.selectables; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this.set$_selectables(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._only = $$v.only; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s16_ = "StrandsMoveStart", + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s9_ = "SelectAll", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strands().build$0(); - t2 = _this.get$address().build$0(); - t3 = _this.get$_$this()._actions$_copy; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "copy")); - _$result0 = U._$StrandsMoveStart$_(t2, t3, _this.get$original_helices_view_order_inverse().build$0(), t1); + t1 = _this.get$selectables().build$0(); + _$result0 = A._$SelectAll$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._only, _s9_, "only", type$.bool), t1); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strands"; - _this.get$strands().build$0(); - _$failedField = "address"; - _this.get$address().build$0(); - _$failedField = "original_helices_view_order_inverse"; - _this.get$original_helices_view_order_inverse().build$0(); + _$failedField._value = "selectables"; + _this.get$selectables().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s9_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandsMoveStart._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.SelectAll; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_actions$_strands: function(_strands) { - this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + set$_selectables(_selectables) { + this._selectables = type$.nullable_ListBuilder_Selectable._as(_selectables); + } + }; + A._$SelectAllSelectable.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SelectAllSelectable && this.current_helix_group_only === other.current_helix_group_only; + }, + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.current_helix_group_only))); }, - set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { - this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllSelectable"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "current_helix_group_only", this.current_helix_group_only); + return t2.toString$0(t1); + } + }; + A.SelectAllSelectableBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._current_helix_group_only = $$v.current_helix_group_only; + _this._$v = null; + } + return _this; + }, + _build$0() { + var t1, t2, + _s19_ = "SelectAllSelectable", + _s24_ = "current_helix_group_only", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._current_helix_group_only, _s19_, _s24_, t1); + _$result = new A._$SelectAllSelectable(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, _s24_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectAllSelectable); + return this._$v = _$result; } }; - U._$StrandsMoveStartSelectedStrands.prototype = { - $eq: function(_, other) { + A._$SelectAllStrandsWithSameAsSelected.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.StrandsMoveStartSelectedStrands && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + return other instanceof A.SelectAllStrandsWithSameAsSelected && J.$eq$(_this.template_strands, other.template_strands) && J.$eq$(_this.traits, other.traits) && _this.exclude_scaffolds === other.exclude_scaffolds; }, - get$hashCode: function(_) { - var t1 = this.address; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.copy)), J.get$hashCode$(this.original_helices_view_order_inverse))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.template_strands)), J.get$hashCode$(this.traits)), B.JSBool_methods.get$hashCode(this.exclude_scaffolds))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStartSelectedStrands"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllStrandsWithSameAsSelected"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", this.address); - t2.add$2(t1, "copy", this.copy); - t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); + t2.add$2(t1, "template_strands", this.template_strands); + t2.add$2(t1, "traits", this.traits); + t2.add$2(t1, "exclude_scaffolds", this.exclude_scaffolds); return t2.toString$0(t1); } }; - U.StrandsMoveStartSelectedStrandsBuilder.prototype = { - get$address: function() { + A.SelectAllStrandsWithSameAsSelectedBuilder.prototype = { + get$template_strands() { var t1 = this.get$_$this(), - t2 = t1._actions$_address; - return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + t2 = t1._template_strands; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_template_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$original_helices_view_order_inverse: function() { + get$traits() { var t1 = this.get$_$this(), - t2 = t1._actions$_original_helices_view_order_inverse; + t2 = t1._traits; if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_actions$_original_helices_view_order_inverse(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableTrait); + t1.set$_traits(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; - _this._actions$_copy = $$v.copy; - t1 = $$v.original_helices_view_order_inverse; + t1 = $$v.template_strands; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this.set$_template_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.traits; + t1.toString; + _this.set$_traits(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._exclude_scaffolds = $$v.exclude_scaffolds; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s31_ = "StrandsMoveStartSelectedStrands", + _s34_ = "SelectAllStrandsWithSameAsSelected", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$address().build$0(); - t2 = _this.get$_$this()._actions$_copy; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s31_, "copy")); - _$result0 = U._$StrandsMoveStartSelectedStrands$_(t1, t2, _this.get$original_helices_view_order_inverse().build$0()); + t1 = _this.get$template_strands().build$0(); + t2 = _this.get$traits().build$0(); + _$result0 = A._$SelectAllStrandsWithSameAsSelected$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._exclude_scaffolds, _s34_, "exclude_scaffolds", type$.bool), t1, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "address"; - _this.get$address().build$0(); - _$failedField = "original_helices_view_order_inverse"; - _this.get$original_helices_view_order_inverse().build$0(); + _$failedField._value = "template_strands"; + _this.get$template_strands().build$0(); + _$failedField._value = "traits"; + _this.get$traits().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s31_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s34_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandsMoveStartSelectedStrands._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.SelectAllStrandsWithSameAsSelected; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { - this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + set$_template_strands(_template_strands) { + this._template_strands = type$.nullable_ListBuilder_Strand._as(_template_strands); + }, + set$_traits(_traits) { + this._traits = type$.nullable_ListBuilder_SelectableTrait._as(_traits); } }; - U._$StrandsMoveStop.prototype = { - $eq: function(_, other) { + A._$DeleteAllSelected.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandsMoveStop; + return other instanceof A.DeleteAllSelected; }, - get$hashCode: function(_) { - return 852105731; + get$hashCode(_) { + return 637787722; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStop")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DeleteAllSelected")); } }; - U.StrandsMoveStopBuilder.prototype = { - build$0: function() { + A.DeleteAllSelectedBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$StrandsMoveStop(); + _$result = new A._$DeleteAllSelected(); + A.ArgumentError_checkNotNull(_$result, "other", type$.DeleteAllSelected); return this._$v = _$result; } }; - U._$StrandsMoveAdjustAddress.prototype = { - $eq: function(_, other) { + A._$HelixAdd.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandsMoveAdjustAddress && this.address.$eq(0, other.address); + return other instanceof A.HelixAdd && J.$eq$(this.grid_position, other.grid_position) && J.$eq$(this.position, other.position); }, - get$hashCode: function(_) { - var t1 = this.address; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.grid_position)), J.get$hashCode$(this.position))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveAdjustAddress"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixAdd"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", this.address); + t2.add$2(t1, "grid_position", this.grid_position); + t2.add$2(t1, "position", this.position); return t2.toString$0(t1); } }; - U.StrandsMoveAdjustAddressBuilder.prototype = { - get$address: function() { + A.HelixAddBuilder.prototype = { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; + t1 = $$v.grid_position; + if (t1 == null) + t1 = null; + else { + t2 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.GridPosition); + t2._grid_position$_$v = t1; + t1 = t2; + } + _this._actions$_grid_position = t1; + t1 = $$v.position; + if (t1 == null) + t1 = null; + else { + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t2._position3d$_$v = t1; + t1 = t2; + } + _this._actions$_position = t1; _this._$v = null; } - t1 = _this._actions$_address; - return t1 == null ? _this._actions$_address = new Z.AddressBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$StrandsMoveAdjustAddress$_(_this.get$address().build$0()) : _$result0; + if (_$result0 == null) { + t1 = _this._actions$_grid_position; + t1 = t1 == null ? null : t1._grid_position$_build$0(); + t2 = _this._actions$_position; + _$result0 = new A._$HelixAdd(t1, t2 == null ? null : t2._position3d$_build$0()); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "address"; - _this.get$address().build$0(); + _$failedField._value = "grid_position"; + t1 = _this._actions$_grid_position; + if (t1 != null) + t1._grid_position$_build$0(); + _$failedField._value = "position"; + t1 = _this._actions$_position; + if (t1 != null) + t1._position3d$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("StrandsMoveAdjustAddress", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixAdd", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandsMoveAdjustAddress._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$StrandsMoveCommit.prototype = { - $eq: function(_, other) { + A._$HelixRemove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandsMoveCommit && J.$eq$(this.strands_move, other.strands_move) && this.autopaste === other.autopaste; + return other instanceof A.HelixRemove && this.helix_idx === other.helix_idx; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strands_move)), C.JSBool_methods.get$hashCode(this.autopaste))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveCommit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRemove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands_move", this.strands_move); - t2.add$2(t1, "autopaste", this.autopaste); + t2.add$2(t1, "helix_idx", this.helix_idx); return t2.toString$0(t1); } }; - U.StrandsMoveCommitBuilder.prototype = { - get$strands_move: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_strands_move; - return t2 == null ? t1._actions$_strands_move = new U.StrandsMoveBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.HelixRemoveBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strands_move; - t1.toString; - t2 = new U.StrandsMoveBuilder(); - t2._strands_move$_$v = t1; - _this._actions$_strands_move = t2; - _this._autopaste = $$v.autopaste; + _this._actions$_helix_idx = $$v.helix_idx; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s17_ = "StrandsMoveCommit", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strands_move().build$0(); - t2 = _this.get$_$this()._autopaste; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "autopaste")); - _$result0 = U._$StrandsMoveCommit$_(t2, t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strands_move"; - _this.get$strands_move().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var t1, t2, + _s11_ = "HelixRemove", + _s9_ = "helix_idx", + _$result = this._$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_helix_idx, _s11_, _s9_, t1); + _$result = new A._$HelixRemove(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, _s9_, t1); } - t1 = type$.legacy_StrandsMoveCommit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixRemove); + return this._$v = _$result; } }; - U._$DomainsMoveStartSelectedDomains.prototype = { - $eq: function(_, other) { + A._$HelixRemoveAllSelected.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DomainsMoveStartSelectedDomains && this.address.$eq(0, other.address) && J.$eq$(this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + return other instanceof A.HelixRemoveAllSelected; }, - get$hashCode: function(_) { - var t1 = this.address; - return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), J.get$hashCode$(this.original_helices_view_order_inverse))); + get$hashCode(_) { + return 62805209; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStartSelectedDomains"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", this.address); - t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixRemoveAllSelected")); } }; - U.DomainsMoveStartSelectedDomainsBuilder.prototype = { - get$address: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_address; - return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + A.HelixRemoveAllSelectedBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$HelixRemoveAllSelected(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixRemoveAllSelected); + return this._$v = _$result; + } + }; + A._$HelixSelect.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.HelixSelect && this.helix_idx === other.helix_idx && this.toggle === other.toggle; }, - get$original_helices_view_order_inverse: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_original_helices_view_order_inverse; - if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_actions$_original_helices_view_order_inverse(t2); - t1 = t2; - } else - t1 = t2; - return t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), B.JSBool_methods.get$hashCode(this.toggle))); }, - get$_$this: function() { - var t1, t2, _this = this, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelect"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "toggle", this.toggle); + return t2.toString$0(t1); + } + }; + A.HelixSelectBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; - t1 = $$v.original_helices_view_order_inverse; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_toggle = $$v.toggle; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DomainsMoveStartSelectedDomains$_(_this.get$address().build$0(), _this.get$original_helices_view_order_inverse().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "address"; - _this.get$address().build$0(); - _$failedField = "original_helices_view_order_inverse"; - _this.get$original_helices_view_order_inverse().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DomainsMoveStartSelectedDomains", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DomainsMoveStartSelectedDomains._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { - this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + _build$0() { + var t1, t2, t3, t4, _this = this, + _s11_ = "HelixSelect", + _s9_ = "helix_idx", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s11_, _s9_, t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_toggle, _s11_, "toggle", t3); + _$result = new A._$HelixSelect(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, _s9_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, "toggle", t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixSelect); + return _this._$v = _$result; } }; - U._$DomainsMoveStop.prototype = { - $eq: function(_, other) { + A._$HelixSelectionsClear.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DomainsMoveStop; + return other instanceof A.HelixSelectionsClear; }, - get$hashCode: function(_) { - return 156712681; + get$hashCode(_) { + return 705934614; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStop")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsClear")); } }; - U.DomainsMoveStopBuilder.prototype = { - build$0: function() { + A.HelixSelectionsClearBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$DomainsMoveStop(); + _$result = new A._$HelixSelectionsClear(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixSelectionsClear); return this._$v = _$result; } }; - U._$DomainsMoveAdjustAddress.prototype = { - $eq: function(_, other) { + A._$HelixSelectionsAdjust.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DomainsMoveAdjustAddress && this.address.$eq(0, other.address); + return other instanceof A.HelixSelectionsAdjust && this.toggle === other.toggle && this.selection_box.$eq(0, other.selection_box); }, - get$hashCode: function(_) { - var t1 = this.address; - return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + get$hashCode(_) { + var t1 = this.selection_box; + return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.toggle)), t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveAdjustAddress"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsAdjust"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", this.address); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "selection_box", this.selection_box); return t2.toString$0(t1); } }; - U.DomainsMoveAdjustAddressBuilder.prototype = { - get$address: function() { - var t1, t2, _this = this, - $$v = _this._$v; + A.HelixSelectionsAdjustBuilder.prototype = { + get$selection_box() { + var t1 = this.get$_$this(), + t2 = t1._selection_box; + return t2 == null ? t1._selection_box = new A.SelectionBoxBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._actions$_address = t2; + _this._actions$_toggle = $$v.toggle; + t1 = $$v.selection_box; + t2 = new A.SelectionBoxBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.SelectionBox); + t2._selection_box$_$v = t1; + _this._selection_box = t2; _this._$v = null; } - t1 = _this._actions$_address; - return t1 == null ? _this._actions$_address = new Z.AddressBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s21_ = "HelixSelectionsAdjust", + _s13_ = "selection_box", + _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DomainsMoveAdjustAddress$_(_this.get$address().build$0()) : _$result0; + if (_$result0 == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_toggle, _s21_, "toggle", t1); + t3 = _this.get$selection_box()._selection_box$_build$0(); + _$result0 = new A._$HelixSelectionsAdjust(t2, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s21_, "toggle", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s21_, _s13_, type$.SelectionBox); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "address"; - _this.get$address().build$0(); + _$failedField._value = _s13_; + _this.get$selection_box()._selection_box$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DomainsMoveAdjustAddress", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s21_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DomainsMoveAdjustAddress._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixSelectionsAdjust; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$DomainsMoveCommit.prototype = { - $eq: function(_, other) { + A._$HelixMajorTickDistanceChange.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DomainsMoveCommit && J.$eq$(this.domains_move, other.domains_move); + return other instanceof A.HelixMajorTickDistanceChange && this.helix_idx == other.helix_idx && this.major_tick_distance == other.major_tick_distance; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.domains_move))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_distance))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveCommit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domains_move", this.domains_move); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_distance", this.major_tick_distance); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.DomainsMoveCommitBuilder.prototype = { - get$domains_move: function() { - var t1, t2, _this = this, + A.HelixMajorTickDistanceChangeBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domains_move; - t1.toString; - t2 = new V.DomainsMoveBuilder(); - t2._domains_move$_$v = t1; - _this._actions$_domains_move = t2; + _this._actions$_helix_idx = $$v.helix_idx; + _this._major_tick_distance = $$v.major_tick_distance; _this._$v = null; } - t1 = _this._actions$_domains_move; - return t1 == null ? _this._actions$_domains_move = new V.DomainsMoveBuilder() : t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DomainsMoveCommit$_(_this.get$domains_move().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "domains_move"; - _this.get$domains_move().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DomainsMoveCommit", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DomainsMoveCommit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return _this; } }; - U._$DNAEndsMoveStart.prototype = { - $eq: function(_, other) { + A._$HelixMajorTickDistanceChangeAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAEndsMoveStart && this.offset == other.offset && J.$eq$(this.helix, other.helix); + return other instanceof A.HelixMajorTickDistanceChangeAll && this.major_tick_distance == other.major_tick_distance; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.offset)), J.get$hashCode$(this.helix))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.major_tick_distance))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStart"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChangeAll"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "helix", this.helix); + t2.add$2(t1, "major_tick_distance", this.major_tick_distance); return t2.toString$0(t1); - }, - get$offset: function(receiver) { - return this.offset; } }; - U.DNAEndsMoveStartBuilder.prototype = { - get$offset: function(_) { - return this.get$_$this()._actions$_offset; - }, - get$helix: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_helix; - if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._actions$_helix = t2; - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.HelixMajorTickDistanceChangeAllBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_offset = $$v.offset; - t1 = $$v.helix; - t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._actions$_helix = t2; + _this._major_tick_distance = $$v.major_tick_distance; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s16_ = "DNAEndsMoveStart", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_offset; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "offset")); - _$result0 = U._$DNAEndsMoveStart$_(_this.get$helix().build$0(), t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "helix"; - _this.get$helix().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DNAEndsMoveStart._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; } }; - U._$DNAEndsMoveSetSelectedEnds.prototype = { - $eq: function(_, other) { - var _this = this; + A._$HelixMajorTickStartChange.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.DNAEndsMoveSetSelectedEnds && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && J.$eq$(_this.strands_affected, other.strands_affected); + return other instanceof A.HelixMajorTickStartChange && this.helix_idx == other.helix_idx && this.major_tick_start === other.major_tick_start; }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.strands_affected))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), B.JSInt_methods.get$hashCode(this.major_tick_start))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveSetSelectedEnds"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "moves", _this.moves); - t2.add$2(t1, "original_offset", _this.original_offset); - t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "strands_affected", _this.strands_affected); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_start", this.major_tick_start); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.DNAEndsMoveSetSelectedEndsBuilder.prototype = { - get$moves: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_moves; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); - t1.set$_actions$_moves(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$helix: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_helix; - if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._actions$_helix = t2; - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$strands_affected: function() { - var t1 = this.get$_$this(), - t2 = t1._strands_affected; - if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands_affected(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.HelixMajorTickStartChangeBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.moves; - t1.toString; - _this.set$_actions$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._actions$_original_offset = $$v.original_offset; - t1 = $$v.helix; - t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._actions$_helix = t2; - t1 = $$v.strands_affected; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_strands_affected(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_major_tick_start = $$v.major_tick_start; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s26_ = "DNAEndsMoveSetSelectedEnds", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$moves().build$0(); - t2 = _this.get$_$this()._actions$_original_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "original_offset")); - _$result0 = U._$DNAEndsMoveSetSelectedEnds$_(_this.get$helix().build$0(), t1, t2, _this.get$strands_affected().build$0()); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "moves"; - _this.get$moves().build$0(); - _$failedField = "helix"; - _this.get$helix().build$0(); - _$failedField = "strands_affected"; - _this.get$strands_affected().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s26_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DNAEndsMoveSetSelectedEnds._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_moves: function(_moves) { - this._actions$_moves = type$.legacy_ListBuilder_legacy_DNAEndMove._as(_moves); - }, - set$_strands_affected: function(_strands_affected) { - this._strands_affected = type$.legacy_SetBuilder_legacy_Strand._as(_strands_affected); } }; - U._$DNAEndsMoveAdjustOffset.prototype = { - $eq: function(_, other) { + A._$HelixMajorTickStartChangeAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAEndsMoveAdjustOffset && this.offset == other.offset; + return other instanceof A.HelixMajorTickStartChangeAll && this.major_tick_start === other.major_tick_start; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.major_tick_start))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveAdjustOffset"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChangeAll"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "major_tick_start", this.major_tick_start); return t2.toString$0(t1); - }, - get$offset: function(receiver) { - return this.offset; } }; - U.DNAEndsMoveAdjustOffsetBuilder.prototype = { - get$offset: function(_) { - return this.get$_$this()._actions$_offset; - }, - get$_$this: function() { + A.HelixMajorTickStartChangeAllBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_offset = $$v.offset; + _this._actions$_major_tick_start = $$v.major_tick_start; _this._$v = null; } return _this; } }; - U._$DNAEndsMoveStop.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DNAEndsMoveStop; - }, - get$hashCode: function(_) { - return 405840353; - }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStop")); - } - }; - U._$DNAEndsMoveCommit.prototype = { - $eq: function(_, other) { + A._$HelixMajorTicksChange.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAEndsMoveCommit && J.$eq$(this.dna_ends_move, other.dna_ends_move); + return other instanceof A.HelixMajorTicksChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_ticks, other.major_ticks); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dna_ends_move))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_ticks))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveCommit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_ends_move", this.dna_ends_move); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_ticks", this.major_ticks); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.DNAEndsMoveCommitBuilder.prototype = { - get$dna_ends_move: function() { - var t1, t2, _this = this, + A.HelixMajorTicksChangeBuilder.prototype = { + get$major_ticks() { + var t1 = this.get$_$this(), + t2 = t1._actions$_major_ticks; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_actions$_major_ticks(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.dna_ends_move; + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.major_ticks; t1.toString; - t2 = new B.DNAEndsMoveBuilder(); - t2._dna_ends_move$_$v = t1; - _this._dna_ends_move = t2; + _this.set$_actions$_major_ticks(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - t1 = _this._dna_ends_move; - return t1 == null ? _this._dna_ends_move = new B.DNAEndsMoveBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s21_ = "HelixMajorTicksChange", + _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DNAEndsMoveCommit$_(_this.get$dna_ends_move().build$0()) : _$result0; + _$result = _$result0 == null ? A._$HelixMajorTicksChange$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s21_, "helix_idx", type$.int), _this.get$major_ticks().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "dna_ends_move"; - _this.get$dna_ends_move().build$0(); + _$failedField._value = "major_ticks"; + _this.get$major_ticks().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DNAEndsMoveCommit", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s21_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DNAEndsMoveCommit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixMajorTicksChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_major_ticks(_major_ticks) { + this._actions$_major_ticks = type$.nullable_ListBuilder_int._as(_major_ticks); } }; - U._$DNAExtensionsMoveStart.prototype = { - $eq: function(_, other) { + A._$HelixMajorTicksChangeAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAExtensionsMoveStart && this.start_point.$eq(0, other.start_point) && J.$eq$(this.helix, other.helix); + return other instanceof A.HelixMajorTicksChangeAll && J.$eq$(this.major_ticks, other.major_ticks); }, - get$hashCode: function(_) { - var t1 = this.start_point; - return Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), J.get$hashCode$(this.helix))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.major_ticks))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStart"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChangeAll"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "start_point", this.start_point); - t2.add$2(t1, "helix", this.helix); + t2.add$2(t1, "major_ticks", this.major_ticks); return t2.toString$0(t1); } }; - U.DNAExtensionsMoveStartBuilder.prototype = { - get$helix: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_helix; - if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._actions$_helix = t2; - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.HelixMajorTicksChangeAllBuilder.prototype = { + get$major_ticks() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_actions$_start_point($$v.start_point); - t1 = $$v.helix; + t1 = $$v.major_ticks; t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._actions$_helix = t2; + _this.set$_actions$_major_ticks(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; + t1 = _this._actions$_major_ticks; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + _this.set$_actions$_major_ticks(t1); + } + return t1; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s22_ = "DNAExtensionsMoveStart", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_start_point; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "start_point")); - _$result0 = U._$DNAExtensionsMoveStart$_(_this.get$helix().build$0(), t1); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$HelixMajorTicksChangeAll$_(_this.get$major_ticks().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "helix"; - _this.get$helix().build$0(); + _$failedField._value = "major_ticks"; + _this.get$major_ticks().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixMajorTicksChangeAll", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DNAExtensionsMoveStart._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixMajorTicksChangeAll; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_actions$_start_point: function(_start_point) { - this._actions$_start_point = type$.legacy_Point_legacy_num._as(_start_point); + set$_actions$_major_ticks(_major_ticks) { + this._actions$_major_ticks = type$.nullable_ListBuilder_int._as(_major_ticks); } }; - U._$DNAExtensionsMoveSetSelectedExtensionEnds.prototype = { - $eq: function(_, other) { - var _this = this; + A._$HelixMajorTickPeriodicDistancesChange.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.DNAExtensionsMoveSetSelectedExtensionEnds && J.$eq$(_this.moves, other.moves) && _this.original_point.$eq(0, other.original_point) && J.$eq$(_this.strands_affected, other.strands_affected) && J.$eq$(_this.helix, other.helix); + return other instanceof A.HelixMajorTickPeriodicDistancesChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.original_point; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), J.get$hashCode$(_this.strands_affected)), J.get$hashCode$(_this.helix))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_periodic_distances))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.DNAExt), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "moves", _this.moves); - t2.add$2(t1, "original_point", _this.original_point); - t2.add$2(t1, "strands_affected", _this.strands_affected); - t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder.prototype = { - get$moves: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_moves; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); - t1.set$_actions$_moves(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$strands_affected: function() { - var t1 = this.get$_$this(), - t2 = t1._strands_affected; - if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands_affected(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$helix: function() { + A.HelixMajorTickPeriodicDistancesChangeBuilder.prototype = { + get$major_tick_periodic_distances() { var t1 = this.get$_$this(), - t2 = t1._actions$_helix; + t2 = t1._actions$_major_tick_periodic_distances; if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._actions$_helix = t2; + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_actions$_major_tick_periodic_distances(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.moves; - t1.toString; - _this.set$_actions$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this.set$_original_point($$v.original_point); - t1 = $$v.strands_affected; + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.major_tick_periodic_distances; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_strands_affected(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - t2 = $$v.helix; - t2.toString; - t1 = new O.HelixBuilder(); - t1.get$_helix$_$this()._group = "default_group"; - t1.get$_helix$_$this()._min_offset = 0; - t1.get$_helix$_$this()._roll = 0; - t1._helix$_$v = t2; - _this._actions$_helix = t1; + _this.set$_actions$_major_tick_periodic_distances(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s41_ = string$.DNAExt, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s37_ = "HelixMajorTickPeriodicDistancesChange", _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$moves().build$0(); - t2 = _this.get$_$this()._original_point; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "original_point")); - t3 = _this.get$strands_affected().build$0(); - _$result0 = U._$DNAExtensionsMoveSetSelectedExtensionEnds$_(_this.get$helix().build$0(), t1, t2, t3); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$HelixMajorTickPeriodicDistancesChange$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s37_, "helix_idx", type$.int), _this.get$major_tick_periodic_distances().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "moves"; - _this.get$moves().build$0(); - _$failedField = "strands_affected"; - _this.get$strands_affected().build$0(); - _$failedField = "helix"; - _this.get$helix().build$0(); + _$failedField._value = "major_tick_periodic_distances"; + _this.get$major_tick_periodic_distances().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s41_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s37_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixMajorTickPeriodicDistancesChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_actions$_moves: function(_moves) { - this._actions$_moves = type$.legacy_ListBuilder_legacy_DNAExtensionMove._as(_moves); - }, - set$_original_point: function(_original_point) { - this._original_point = type$.legacy_Point_legacy_num._as(_original_point); - }, - set$_strands_affected: function(_strands_affected) { - this._strands_affected = type$.legacy_SetBuilder_legacy_Strand._as(_strands_affected); + set$_actions$_major_tick_periodic_distances(_major_tick_periodic_distances) { + this._actions$_major_tick_periodic_distances = type$.nullable_ListBuilder_int._as(_major_tick_periodic_distances); } }; - U._$DNAExtensionsMoveAdjustPosition.prototype = { - $eq: function(_, other) { + A._$HelixMajorTickPeriodicDistancesChangeAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAExtensionsMoveAdjustPosition && this.position.$eq(0, other.position); + return other instanceof A.HelixMajorTickPeriodicDistancesChangeAll && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); }, - get$hashCode: function(_) { - var t1 = this.position; - return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.major_tick_periodic_distances))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveAdjustPosition"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChangeAll"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "position", this.position); + t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); return t2.toString$0(t1); } }; - U.DNAExtensionsMoveAdjustPositionBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.HelixMajorTickPeriodicDistancesChangeAllBuilder.prototype = { + get$major_tick_periodic_distances() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_actions$_position(0, $$v.position); + t1 = $$v.major_tick_periodic_distances; + t1.toString; + _this.set$_actions$_major_tick_periodic_distances(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; - }, - set$_actions$_position: function(_, _position) { - this._actions$_position = type$.legacy_Point_legacy_num._as(_position); - } - }; - U._$DNAExtensionsMoveStop.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.DNAExtensionsMoveStop; + t1 = _this._actions$_major_tick_periodic_distances; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + _this.set$_actions$_major_tick_periodic_distances(t1); + } + return t1; }, - get$hashCode: function(_) { - return 595080581; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$HelixMajorTickPeriodicDistancesChangeAll$_(_this.get$major_tick_periodic_distances().build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "major_tick_periodic_distances"; + _this.get$major_tick_periodic_distances().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixMajorTickPeriodicDistancesChangeAll", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.HelixMajorTickPeriodicDistancesChangeAll; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStop")); + set$_actions$_major_tick_periodic_distances(_major_tick_periodic_distances) { + this._actions$_major_tick_periodic_distances = type$.nullable_ListBuilder_int._as(_major_tick_periodic_distances); } }; - U._$DNAExtensionsMoveCommit.prototype = { - $eq: function(_, other) { + A._$HelixIdxsChange.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DNAExtensionsMoveCommit && J.$eq$(this.dna_extensions_move, other.dna_extensions_move); + return other instanceof A.HelixIdxsChange && J.$eq$(this.idx_replacements, other.idx_replacements); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dna_extensions_move))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.idx_replacements))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveCommit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixIdxsChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_extensions_move", this.dna_extensions_move); + t2.add$2(t1, "idx_replacements", this.idx_replacements); return t2.toString$0(t1); } }; - U.DNAExtensionsMoveCommitBuilder.prototype = { - get$dna_extensions_move: function() { + A.HelixIdxsChangeBuilder.prototype = { + get$idx_replacements() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.dna_extensions_move; + t1 = $$v.idx_replacements; t1.toString; - t2 = new K.DNAExtensionsMoveBuilder(); - t2._dna_extensions_move$_$v = t1; - _this._dna_extensions_move = t2; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_idx_replacements(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); _this._$v = null; } - t1 = _this._dna_extensions_move; - return t1 == null ? _this._dna_extensions_move = new K.DNAExtensionsMoveBuilder() : t1; + t1 = _this._idx_replacements; + if (t1 == null) { + t1 = type$.int; + t1 = A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + _this.set$_idx_replacements(t1); + } + return t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s15_ = "HelixIdxsChange", + _s16_ = "idx_replacements", + _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DNAExtensionsMoveCommit$_(_this.get$dna_extensions_move().build$0()) : _$result0; + if (_$result0 == null) { + t1 = _this.get$idx_replacements().build$0(); + _$result0 = new A._$HelixIdxsChange(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s15_, _s16_, type$.BuiltMap_int_int); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "dna_extensions_move"; - _this.get$dna_extensions_move().build$0(); + _$failedField._value = _s16_; + _this.get$idx_replacements().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DNAExtensionsMoveCommit", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s15_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DNAExtensionsMoveCommit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.HelixIdxsChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_idx_replacements(_idx_replacements) { + this._idx_replacements = type$.nullable_MapBuilder_int_int._as(_idx_replacements); } }; - U._$HelixGroupMoveStart.prototype = { - $eq: function(_, other) { + A._$HelixOffsetChange.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.HelixGroupMoveStart && this.mouse_point.$eq(0, other.mouse_point); + return other instanceof A.HelixOffsetChange && _this.helix_idx == other.helix_idx && _this.min_offset == other.min_offset && _this.max_offset == other.max_offset; }, - get$hashCode: function(_) { - var t1 = this.mouse_point; - return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStart"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "mouse_point", this.mouse_point); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "min_offset", this.min_offset); + t2.add$2(t1, "max_offset", this.max_offset); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.HelixGroupMoveStartBuilder.prototype = { - get$_$this: function() { + A.HelixOffsetChangeBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_mouse_point($$v.mouse_point); + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_min_offset = $$v.min_offset; + _this._actions$_max_offset = $$v.max_offset; _this._$v = null; } return _this; - }, - set$_mouse_point: function(_mouse_point) { - this._mouse_point = type$.legacy_Point_legacy_num._as(_mouse_point); } }; - U._$HelixGroupMoveCreate.prototype = { - $eq: function(_, other) { + A._$HelixMinOffsetSetByDomains.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixGroupMoveCreate && J.$eq$(this.helix_group_move, other.helix_group_move); + return other instanceof A.HelixMinOffsetSetByDomains && this.helix_idx === other.helix_idx; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.helix_group_move))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCreate"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomains"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_group_move", this.helix_group_move); + t2.add$2(t1, "helix_idx", this.helix_idx); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.HelixGroupMoveCreateBuilder.prototype = { - get$helix_group_move: function() { - var t1, t2, _this = this, + A.HelixMinOffsetSetByDomainsBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.helix_group_move; - t1.toString; - t2 = new G.HelixGroupMoveBuilder(); - t2._helix_group_move$_$v = t1; - _this._helix_group_move = t2; + _this._actions$_helix_idx = $$v.helix_idx; _this._$v = null; } - t1 = _this._helix_group_move; - return t1 == null ? _this._helix_group_move = new G.HelixGroupMoveBuilder() : t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$HelixGroupMoveCreate$_(_this.get$helix_group_move().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "helix_group_move"; - _this.get$helix_group_move().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixGroupMoveCreate", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_HelixGroupMoveCreate._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return _this; } }; - U._$HelixGroupMoveAdjustTranslation.prototype = { - $eq: function(_, other) { + A._$HelixMaxOffsetSetByDomains.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixGroupMoveAdjustTranslation && this.mouse_point.$eq(0, other.mouse_point); + return other instanceof A.HelixMaxOffsetSetByDomains && this.helix_idx === other.helix_idx; }, - get$hashCode: function(_) { - var t1 = this.mouse_point; - return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveAdjustTranslation"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomains"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "mouse_point", this.mouse_point); + t2.add$2(t1, "helix_idx", this.helix_idx); return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; } }; - U.HelixGroupMoveAdjustTranslationBuilder.prototype = { - get$_$this: function() { + A.HelixMaxOffsetSetByDomainsBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this.set$_mouse_point($$v.mouse_point); + _this._actions$_helix_idx = $$v.helix_idx; _this._$v = null; } return _this; - }, - set$_mouse_point: function(_mouse_point) { - this._mouse_point = type$.legacy_Point_legacy_num._as(_mouse_point); } }; - U._$HelixGroupMoveStop.prototype = { - $eq: function(_, other) { + A._$HelixMinOffsetSetByDomainsAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixGroupMoveStop; + return other instanceof A.HelixMinOffsetSetByDomainsAll; }, - get$hashCode: function(_) { - return 16916568; + get$hashCode(_) { + return 161125460; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStop")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomainsAll")); } }; - U.HelixGroupMoveStopBuilder.prototype = { - build$0: function() { + A.HelixMinOffsetSetByDomainsAllBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$HelixGroupMoveStop(); + _$result = new A._$HelixMinOffsetSetByDomainsAll(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMinOffsetSetByDomainsAll); return this._$v = _$result; } }; - U._$HelixGroupMoveCommit.prototype = { - $eq: function(_, other) { + A._$HelixMaxOffsetSetByDomainsAll.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixGroupMoveCommit && J.$eq$(this.helix_group_move, other.helix_group_move); + return other instanceof A.HelixMaxOffsetSetByDomainsAll; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.helix_group_move))); + get$hashCode(_) { + return 920642029; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCommit"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_group_move", this.helix_group_move); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAll")); } }; - U.HelixGroupMoveCommitBuilder.prototype = { - get$helix_group_move: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.helix_group_move; - t1.toString; - t2 = new G.HelixGroupMoveBuilder(); - t2._helix_group_move$_$v = t1; - _this._helix_group_move = t2; - _this._$v = null; - } - t1 = _this._helix_group_move; - return t1 == null ? _this._helix_group_move = new G.HelixGroupMoveBuilder() : t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$HelixGroupMoveCommit$_(_this.get$helix_group_move().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "helix_group_move"; - _this.get$helix_group_move().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixGroupMoveCommit", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_HelixGroupMoveCommit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.HelixMaxOffsetSetByDomainsAllBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$HelixMaxOffsetSetByDomainsAll(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMaxOffsetSetByDomainsAll); + return this._$v = _$result; } }; - U._$AssignDNA.prototype = { - $eq: function(_, other) { + A._$HelixMaxOffsetSetByDomainsAllSameMax.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.AssignDNA && J.$eq$(this.strand, other.strand) && this.dna_assign_options.$eq(0, other.dna_assign_options); + return other instanceof A.HelixMaxOffsetSetByDomainsAllSameMax; }, - get$hashCode: function(_) { - var t1 = this.dna_assign_options; - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), t1.get$hashCode(t1))); + get$hashCode(_) { + return 713464849; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNA"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "dna_assign_options", this.dna_assign_options); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAllSameMax")); } }; - U.AssignDNABuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; - }, - get$dna_assign_options: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_dna_assign_options; - if (t2 == null) { - t2 = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(t2); - t1._actions$_dna_assign_options = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A.HelixMaxOffsetSetByDomainsAllSameMaxBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$HelixMaxOffsetSetByDomainsAllSameMax(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixMaxOffsetSetByDomainsAllSameMax); + return this._$v = _$result; + } + }; + A._$HelixOffsetChangeAll.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.HelixOffsetChangeAll && this.min_offset == other.min_offset && this.max_offset == other.max_offset; }, - get$_$this: function() { - var t1, t2, _this = this, + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "min_offset", this.min_offset); + t2.add$2(t1, "max_offset", this.max_offset); + return t2.toString$0(t1); + } + }; + A.HelixOffsetChangeAllBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - t1 = $$v.dna_assign_options; - t2 = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(t2); - t2._dna_assign_options$_$v = t1; - _this._actions$_dna_assign_options = t2; + _this._actions$_min_offset = $$v.min_offset; + _this._actions$_max_offset = $$v.max_offset; _this._$v = null; } return _this; + } + }; + A._$ShowMouseoverRectSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowMouseoverRectSet && this.show === other.show; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - _$result0 = U._$AssignDNA$_(_this.get$dna_assign_options().build$0(), t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strand"; - _this.get$strand().build$0(); - _$failedField = "dna_assign_options"; - _this.get$dna_assign_options().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("AssignDNA", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + A.ShowMouseoverRectSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; } - t1 = type$.legacy_AssignDNA._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return _this; } }; - U._$AssignDNAComplementFromBoundStrands.prototype = { - $eq: function(_, other) { + A._$ShowMouseoverRectToggle.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.AssignDNAComplementFromBoundStrands && J.$eq$(this.strands, other.strands); + return other instanceof A.ShowMouseoverRectToggle; + }, + get$hashCode(_) { + return 950177715; + }, + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectToggle")); + } + }; + A._$ExportDNA.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.ExportDNA && _this.include_scaffold === other.include_scaffold && _this.include_only_selected_strands === other.include_only_selected_strands && _this.exclude_selected_strands === other.exclude_selected_strands && _this.export_dna_format === other.export_dna_format && _this.strand_order == other.strand_order && _this.column_major_strand === other.column_major_strand && _this.column_major_plate === other.column_major_plate && _this.delimiter === other.delimiter && _this.domain_delimiter === other.domain_delimiter; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.strands))) : t1; + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.include_scaffold)), B.JSBool_methods.get$hashCode(_this.include_only_selected_strands)), B.JSBool_methods.get$hashCode(_this.exclude_selected_strands)), A.Primitives_objectHashCode(_this.export_dna_format)), J.get$hashCode$(_this.strand_order)), B.JSBool_methods.get$hashCode(_this.column_major_strand)), B.JSBool_methods.get$hashCode(_this.column_major_plate)), B.JSString_methods.get$hashCode(_this.delimiter)), B.JSString_methods.get$hashCode(_this.domain_delimiter))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNAComplementFromBoundStrands"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportDNA"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands", this.strands); + t2.add$2(t1, "include_scaffold", _this.include_scaffold); + t2.add$2(t1, "include_only_selected_strands", _this.include_only_selected_strands); + t2.add$2(t1, "exclude_selected_strands", _this.exclude_selected_strands); + t2.add$2(t1, "export_dna_format", _this.export_dna_format); + t2.add$2(t1, "strand_order", _this.strand_order); + t2.add$2(t1, "column_major_strand", _this.column_major_strand); + t2.add$2(t1, "column_major_plate", _this.column_major_plate); + t2.add$2(t1, "delimiter", _this.delimiter); + t2.add$2(t1, "domain_delimiter", _this.domain_delimiter); return t2.toString$0(t1); } }; - U.AssignDNAComplementFromBoundStrandsBuilder.prototype = { - get$strands: function() { - var t1, _this = this, + A.ExportDNABuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strands; - t1.toString; - _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._include_scaffold = $$v.include_scaffold; + _this._include_only_selected_strands = $$v.include_only_selected_strands; + _this._exclude_selected_strands = $$v.exclude_selected_strands; + _this._export_dna_format = $$v.export_dna_format; + _this._strand_order = $$v.strand_order; + _this._column_major_strand = $$v.column_major_strand; + _this._column_major_plate = $$v.column_major_plate; + _this._delimiter = $$v.delimiter; + _this._domain_delimiter = $$v.domain_delimiter; _this._$v = null; } - t1 = _this._actions$_strands; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - _this.set$_actions$_strands(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s35_ = "AssignDNAComplementFromBoundStrands", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strands().build$0(); - _$result0 = new U._$AssignDNAComplementFromBoundStrands(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "strands")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strands"; - _this.get$strands().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s35_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_AssignDNAComplementFromBoundStrands._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, + _s9_ = "ExportDNA", + _s16_ = "include_scaffold", + _s29_ = "include_only_selected_strands", + _s24_ = "exclude_selected_strands", + _s17_ = "export_dna_format", + _s19_ = "column_major_strand", + _s18_ = "column_major_plate", + _s9_0 = "delimiter", + _s16_0 = "domain_delimiter", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._include_scaffold, _s9_, _s16_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._include_only_selected_strands, _s9_, _s29_, t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._exclude_selected_strands, _s9_, _s24_, t1); + t5 = type$.ExportDNAFormat; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._export_dna_format, _s9_, _s17_, t5); + t7 = _this.get$_$this()._strand_order; + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._column_major_strand, _s9_, _s19_, t1); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._column_major_plate, _s9_, _s18_, t1); + t10 = type$.String; + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._delimiter, _s9_, _s9_0, t10); + t12 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._domain_delimiter, _s9_, _s16_0, t10); + _$result = new A._$ExportDNA(t2, t3, t4, t6, t7, t8, t9, t11, t12); + A.BuiltValueNullFieldError_checkNotNull(t2, _s9_, _s16_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s9_, _s29_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s9_, _s24_, t1); + A.BuiltValueNullFieldError_checkNotNull(t6, _s9_, _s17_, t5); + A.BuiltValueNullFieldError_checkNotNull(t8, _s9_, _s19_, t1); + A.BuiltValueNullFieldError_checkNotNull(t9, _s9_, _s18_, t1); + A.BuiltValueNullFieldError_checkNotNull(t11, _s9_, _s9_0, t10); + A.BuiltValueNullFieldError_checkNotNull(t12, _s9_, _s16_0, t10); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportDNA); + return _this._$v = _$result; + } + }; + A._$ExportCanDoDNA.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ExportCanDoDNA; + }, + get$hashCode(_) { + return 736579583; }, - set$_actions$_strands: function(_strands) { - this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCanDoDNA")); } }; - U._$AssignDomainNameComplementFromBoundStrands.prototype = { - $eq: function(_, other) { + A.ExportCanDoDNABuilder.prototype = {}; + A._$ExportSvg.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.AssignDomainNameComplementFromBoundStrands && J.$eq$(this.strands, other.strands); + return other instanceof A.ExportSvg && this.type === other.type; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.strands))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.type))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignS), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvg"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands", this.strands); + t2.add$2(t1, "type", this.type); return t2.toString$0(t1); + }, + get$type(receiver) { + return this.type; } }; - U.AssignDomainNameComplementFromBoundStrandsBuilder.prototype = { - get$strands: function() { - var t1, _this = this, + A.ExportSvgBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strands; - t1.toString; - _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._type = $$v.type; _this._$v = null; } - t1 = _this._actions$_strands; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - _this.set$_actions$_strands(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s42_ = string$.AssignS, - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strands().build$0(); - _$result0 = new U._$AssignDomainNameComplementFromBoundStrands(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s42_, "strands")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strands"; - _this.get$strands().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s42_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = A._$ExportSvg$_(A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._type, "ExportSvg", "type", type$.ExportSvgType)); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportSvg); + return this._$v = _$result; + } + }; + A._$ExportSvgTextSeparatelySet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ExportSvgTextSeparatelySet && this.export_svg_text_separately === other.export_svg_text_separately; + }, + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.export_svg_text_separately))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvgTextSeparatelySet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "export_svg_text_separately", this.export_svg_text_separately); + return t2.toString$0(t1); + } + }; + A.ExportSvgTextSeparatelySetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + _this._$v = null; } - t1 = type$.legacy_AssignDomainNameComplementFromBoundStrands._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + return _this; }, - set$_actions$_strands: function(_strands) { - this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + _build$0() { + var t1, t2, + _s26_ = "ExportSvgTextSeparatelySet", + _s26_0 = "export_svg_text_separately", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_export_svg_text_separately, _s26_, _s26_0, t1); + _$result = new A._$ExportSvgTextSeparatelySet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s26_, _s26_0, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ExportSvgTextSeparatelySet); + return this._$v = _$result; } }; - U._$AssignDomainNameComplementFromBoundDomains.prototype = { - $eq: function(_, other) { + A._$ExtensionDisplayLengthAngleSet.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.AssignDomainNameComplementFromBoundDomains && J.$eq$(this.domains, other.domains); + return other instanceof A.ExtensionDisplayLengthAngleSet && J.$eq$(_this.ext, other.ext) && _this.display_length === other.display_length && _this.display_angle === other.display_angle; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.domains))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.ext)), B.JSNumber_methods.get$hashCode(this.display_length)), B.JSNumber_methods.get$hashCode(this.display_angle))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignD), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionDisplayLengthAngleSet"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domains", this.domains); + t2.add$2(t1, "ext", this.ext); + t2.add$2(t1, "display_length", this.display_length); + t2.add$2(t1, "display_angle", this.display_angle); return t2.toString$0(t1); } }; - U.AssignDomainNameComplementFromBoundDomainsBuilder.prototype = { - get$domains: function() { - var t1, _this = this, + A.ExtensionDisplayLengthAngleSetBuilder.prototype = { + get$ext() { + var t1 = this.get$_$this(), + t2 = t1._ext; + return t2 == null ? t1._ext = new A.ExtensionBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domains; + t1 = $$v.ext; t1.toString; - _this.set$_domains(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t2 = new A.ExtensionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Extension); + t2._extension$_$v = t1; + _this._ext = t2; + _this._actions$_display_length = $$v.display_length; + _this._actions$_display_angle = $$v.display_angle; _this._$v = null; } - t1 = _this._domains; - if (t1 == null) { - t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - _this.set$_domains(t1); - } - return t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s42_ = string$.AssignD, + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s30_ = "ExtensionDisplayLengthAngleSet", + _s14_ = "display_length", + _s13_ = "display_angle", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domains().build$0(); - _$result0 = new U._$AssignDomainNameComplementFromBoundDomains(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s42_, "domains")); + t1 = _this.get$ext()._extension$_build$0(); + t2 = type$.double; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_display_length, _s30_, _s14_, t2); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_display_angle, _s30_, _s13_, t2); + _$result0 = new A._$ExtensionDisplayLengthAngleSet(t1, t3, t4); + A.BuiltValueNullFieldError_checkNotNull(t1, _s30_, "ext", type$.Extension); + A.BuiltValueNullFieldError_checkNotNull(t3, _s30_, _s14_, t2); + A.BuiltValueNullFieldError_checkNotNull(t4, _s30_, _s13_, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domains"; - _this.get$domains().build$0(); + _$failedField._value = "ext"; + _this.get$ext()._extension$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s42_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s30_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_AssignDomainNameComplementFromBoundDomains._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ExtensionDisplayLengthAngleSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_domains: function(_domains) { - this._domains = type$.legacy_ListBuilder_legacy_Domain._as(_domains); } }; - U._$RemoveDNA.prototype = { - $eq: function(_, other) { + A._$ExtensionAdd.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.RemoveDNA && J.$eq$(_this.strand, other.strand) && _this.remove_complements === other.remove_complements && _this.remove_all === other.remove_all; + return other instanceof A.ExtensionAdd && J.$eq$(_this.strand, other.strand) && _this.is_5p === other.is_5p && _this.num_bases === other.num_bases; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.remove_complements)), C.JSBool_methods.get$hashCode(this.remove_all))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), B.JSBool_methods.get$hashCode(this.is_5p)), B.JSInt_methods.get$hashCode(this.num_bases))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("RemoveDNA"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionAdd"), t2 = J.getInterceptor$ax(t1); t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "remove_complements", this.remove_complements); - t2.add$2(t1, "remove_all", this.remove_all); + t2.add$2(t1, "is_5p", this.is_5p); + t2.add$2(t1, "num_bases", this.num_bases); return t2.toString$0(t1); }, - get$strand: function() { + get$strand() { return this.strand; } }; - U.RemoveDNABuilder.prototype = { - get$strand: function() { + A.ExtensionAddBuilder.prototype = { + get$strand() { var t1 = this.get$_$this(), t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { t1 = $$v.strand; t1.toString; - t2 = new E.StrandBuilder(); + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); t2._strand$_$v = t1; _this._strand = t2; - _this._remove_complements = $$v.remove_complements; - _this._remove_all = $$v.remove_all; + _this._actions$_is_5p = $$v.is_5p; + _this._actions$_num_bases = $$v.num_bases; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s9_ = "RemoveDNA", + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s12_ = "ExtensionAdd", + _s9_ = "num_bases", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._remove_complements; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "remove_complements")); - t3 = _this.get$_$this()._remove_all; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "remove_all")); - _$result0 = U._$RemoveDNA$_(t3, t2, t1); + t1 = _this.get$strand()._strand$_build$0(); + t2 = type$.bool; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_is_5p, _s12_, "is_5p", t2); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_num_bases, _s12_, _s9_, t4); + _$result0 = new A._$ExtensionAdd(t1, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t1, _s12_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, "is_5p", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s12_, _s9_, t4); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_RemoveDNA._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ExtensionAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$InsertionAdd.prototype = { - $eq: function(_, other) { - var _this = this; + A._$ExtensionNumBasesChange.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.InsertionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A.ExtensionNumBasesChange && J.$eq$(this.ext, other.ext) && this.num_bases === other.num_bases; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.ext)), B.JSInt_methods.get$hashCode(this.num_bases))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionAdd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionNumBasesChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "all_helices", this.all_helices); + t2.add$2(t1, "ext", this.ext); + t2.add$2(t1, "num_bases", this.num_bases); return t2.toString$0(t1); - }, - get$domain: function(receiver) { - return this.domain; - }, - get$offset: function(receiver) { - return this.offset; - }, - get$all_helices: function() { - return this.all_helices; } }; - U.InsertionAddBuilder.prototype = { - get$domain: function(_) { + A.ExtensionNumBasesChangeBuilder.prototype = { + get$ext() { var t1 = this.get$_$this(), - t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; - }, - get$offset: function(_) { - return this.get$_$this()._actions$_offset; + t2 = t1._ext; + return t2 == null ? t1._ext = new A.ExtensionBuilder() : t2; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domain; + t1 = $$v.ext; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._actions$_domain = t2; - _this._actions$_offset = $$v.offset; - _this._all_helices = $$v.all_helices; + t2 = new A.ExtensionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Extension); + t2._extension$_$v = t1; + _this._ext = t2; + _this._actions$_num_bases = $$v.num_bases; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s12_ = "InsertionAdd", + _s23_ = "ExtensionNumBasesChange", + _s9_ = "num_bases", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$_$this()._actions$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "offset")); - t3 = _this.get$_$this()._all_helices; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "all_helices")); - _$result0 = U._$InsertionAdd$_(t3, t1, t2); + t1 = _this.get$ext()._extension$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_num_bases, _s23_, _s9_, t2); + _$result0 = new A._$ExtensionNumBasesChange(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s23_, "ext", type$.Extension); + A.BuiltValueNullFieldError_checkNotNull(t3, _s23_, _s9_, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = "ext"; + _this.get$ext()._extension$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s23_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_InsertionAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ExtensionNumBasesChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$InsertionLengthChange.prototype = { - $eq: function(_, other) { - var _this = this; + A._$ExtensionsNumBasesChange.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.InsertionLengthChange && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.length === other.length && _this.all_helices === other.all_helices; + return other instanceof A.ExtensionsNumBasesChange && J.$eq$(this.extensions, other.extensions) && this.num_bases === other.num_bases; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.insertion; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.domain)), t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(_this.length)), C.JSBool_methods.get$hashCode(_this.all_helices))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.extensions)), B.JSInt_methods.get$hashCode(this.num_bases))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionLengthChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionsNumBasesChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domain", _this.domain); - t2.add$2(t1, "insertion", _this.insertion); - t2.add$2(t1, "length", _this.length); - t2.add$2(t1, "all_helices", _this.all_helices); + t2.add$2(t1, "extensions", this.extensions); + t2.add$2(t1, "num_bases", this.num_bases); return t2.toString$0(t1); + } + }; + A.ExtensionsNumBasesChangeBuilder.prototype = { + get$extensions(_) { + var t1 = this.get$_$this(), + t2 = t1._extensions; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Extension); + t1.set$_extensions(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$domain: function(receiver) { - return this.domain; + get$_$this() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.extensions; + t1.toString; + _this.set$_extensions(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_num_bases = $$v.num_bases; + _this._$v = null; + } + return _this; }, - get$length: function(receiver) { - return this.length; + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s24_ = "ExtensionsNumBasesChange", + _s9_ = "num_bases", + _s10_ = "extensions", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$extensions(_this).build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_num_bases, _s24_, _s9_, t2); + _$result0 = new A._$ExtensionsNumBasesChange(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s24_, _s10_, type$.BuiltList_Extension); + A.BuiltValueNullFieldError_checkNotNull(t3, _s24_, _s9_, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s10_; + _this.get$extensions(_this).build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s24_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ExtensionsNumBasesChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - get$all_helices: function() { - return this.all_helices; + set$_extensions(_extensions) { + this._extensions = type$.nullable_ListBuilder_Extension._as(_extensions); } }; - U.InsertionLengthChangeBuilder.prototype = { - get$domain: function(_) { - var t1 = this.get$_$this(), - t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + A._$LoopoutLengthChange.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.LoopoutLengthChange && J.$eq$(this.loopout, other.loopout) && this.num_bases === other.num_bases; }, - get$insertion: function() { - var t1 = this.get$_$this(), - t2 = t1._insertion; - return t2 == null ? t1._insertion = new G.InsertionBuilder() : t2; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.loopout)), B.JSInt_methods.get$hashCode(this.num_bases))); }, - get$length: function(_) { - return this.get$_$this()._actions$_length; + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutLengthChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "loopout", this.loopout); + t2.add$2(t1, "num_bases", this.num_bases); + return t2.toString$0(t1); + } + }; + A.LoopoutLengthChangeBuilder.prototype = { + get$loopout() { + var t1 = this.get$_$this(), + t2 = t1._loopout; + return t2 == null ? t1._loopout = new A.LoopoutBuilder() : t2; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domain; + t1 = $$v.loopout; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._actions$_domain = t2; - t1 = $$v.insertion; - t2 = new G.InsertionBuilder(); - t2._domain$_$v = t1; - _this._insertion = t2; - _this._actions$_length = $$v.length; - _this._all_helices = $$v.all_helices; + t2 = new A.LoopoutBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Loopout); + t2._loopout$_$v = t1; + _this._loopout = t2; + _this._actions$_num_bases = $$v.num_bases; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s21_ = "InsertionLengthChange", + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s19_ = "LoopoutLengthChange", + _s9_ = "num_bases", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$insertion().build$0(); - t3 = _this.get$_$this()._actions$_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "length")); - t4 = _this.get$_$this()._all_helices; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "all_helices")); - _$result0 = new U._$InsertionLengthChange(t1, t2, t3, t4); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "domain")); + t1 = _this.get$loopout()._loopout$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_num_bases, _s19_, _s9_, t2); + _$result0 = new A._$LoopoutLengthChange(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s19_, "loopout", type$.Loopout); + A.BuiltValueNullFieldError_checkNotNull(t3, _s19_, _s9_, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); - _$failedField = "insertion"; - _this.get$insertion().build$0(); + _$failedField._value = "loopout"; + _this.get$loopout()._loopout$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_InsertionLengthChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.LoopoutLengthChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$InsertionsLengthChange.prototype = { - $eq: function(_, other) { - var _this = this; + A._$LoopoutsLengthChange.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.InsertionsLengthChange && J.$eq$(_this.insertions, other.insertions) && J.$eq$(_this.domains, other.domains) && _this.length === other.length && _this.all_helices === other.all_helices; + return other instanceof A.LoopoutsLengthChange && J.$eq$(this.loopouts, other.loopouts) && this.length === other.length; }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.insertions)), J.get$hashCode$(_this.domains)), C.JSInt_methods.get$hashCode(_this.length)), C.JSBool_methods.get$hashCode(_this.all_helices))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.loopouts)), B.JSInt_methods.get$hashCode(this.length))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionsLengthChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutsLengthChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "insertions", _this.insertions); - t2.add$2(t1, "domains", _this.domains); - t2.add$2(t1, "length", _this.length); - t2.add$2(t1, "all_helices", _this.all_helices); + t2.add$2(t1, "loopouts", this.loopouts); + t2.add$2(t1, "length", this.length); return t2.toString$0(t1); }, - get$length: function(receiver) { + get$length(receiver) { return this.length; } }; - U.InsertionsLengthChangeBuilder.prototype = { - get$insertions: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_insertions; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); - t1.set$_actions$_insertions(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$domains: function() { + A.LoopoutsLengthChangeBuilder.prototype = { + get$loopouts() { var t1 = this.get$_$this(), - t2 = t1._domains; + t2 = t1._loopouts; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - t1.set$_domains(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Loopout); + t1.set$_loopouts(t2); t1 = t2; } else t1 = t2; return t1; }, - get$length: function(_) { + get$length(_) { return this.get$_$this()._actions$_length; }, - get$_$this: function() { + get$_$this() { var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.insertions; - t1.toString; - _this.set$_actions$_insertions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.domains; + t1 = $$v.loopouts; t1.toString; - _this.set$_domains(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_loopouts(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._actions$_length = $$v.length; - _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s22_ = "InsertionsLengthChange", + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s20_ = "LoopoutsLengthChange", + _s8_ = "loopouts", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$insertions().build$0(); - t2 = _this.get$domains().build$0(); - t3 = _this.get$_$this()._actions$_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "length")); - t4 = _this.get$_$this()._all_helices; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "all_helices")); - _$result0 = new U._$InsertionsLengthChange(t1, t2, t3, t4); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "insertions")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "domains")); + t1 = _this.get$loopouts().build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_length, _s20_, "length", t2); + _$result0 = new A._$LoopoutsLengthChange(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s20_, _s8_, type$.BuiltList_Loopout); + A.BuiltValueNullFieldError_checkNotNull(t3, _s20_, "length", t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "insertions"; - _this.get$insertions().build$0(); - _$failedField = "domains"; - _this.get$domains().build$0(); + _$failedField._value = _s8_; + _this.get$loopouts().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s20_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_InsertionsLengthChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.LoopoutsLengthChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_actions$_insertions: function(_insertions) { - this._actions$_insertions = type$.legacy_ListBuilder_legacy_Insertion._as(_insertions); - }, - set$_domains: function(_domains) { - this._domains = type$.legacy_ListBuilder_legacy_Domain._as(_domains); + set$_loopouts(_loopouts) { + this._loopouts = type$.nullable_ListBuilder_Loopout._as(_loopouts); } }; - U._$DeletionAdd.prototype = { - $eq: function(_, other) { + A._$ConvertCrossoverToLoopout.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.DeletionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A.ConvertCrossoverToLoopout && _this.crossover.$eq(0, other.crossover) && _this.length === other.length && _this.dna_sequence == other.dna_sequence; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + get$hashCode(_) { + var t1 = this.crossover; + return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.length)), J.get$hashCode$(this.dna_sequence))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionAdd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoverToLoopout"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "all_helices", this.all_helices); + t2.add$2(t1, "crossover", this.crossover); + t2.add$2(t1, "length", this.length); + t2.add$2(t1, "dna_sequence", this.dna_sequence); return t2.toString$0(t1); }, - get$domain: function(receiver) { - return this.domain; - }, - get$offset: function(receiver) { - return this.offset; - }, - get$all_helices: function() { - return this.all_helices; + get$length(receiver) { + return this.length; } }; - U.DeletionAddBuilder.prototype = { - get$domain: function(_) { + A.ConvertCrossoverToLoopoutBuilder.prototype = { + get$crossover() { var t1 = this.get$_$this(), - t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + t2 = t1._crossover; + return t2 == null ? t1._crossover = new A.CrossoverBuilder() : t2; }, - get$offset: function(_) { - return this.get$_$this()._actions$_offset; + get$length(_) { + return this.get$_$this()._actions$_length; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domain; - t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._actions$_domain = t2; - _this._actions$_offset = $$v.offset; - _this._all_helices = $$v.all_helices; + t1 = $$v.crossover; + t2 = new A.CrossoverBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Crossover); + t2._crossover$_$v = t1; + _this._crossover = t2; + _this._actions$_length = $$v.length; + _this._actions$_dna_sequence = $$v.dna_sequence; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s11_ = "DeletionAdd", + _s25_ = "ConvertCrossoverToLoopout", + _s9_ = "crossover", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$_$this()._actions$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "offset")); - t3 = _this.get$_$this()._all_helices; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "all_helices")); - _$result0 = U._$DeletionAdd$_(t3, t1, t2); + t1 = _this.get$crossover()._crossover$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_length, _s25_, "length", t2); + _$result0 = new A._$ConvertCrossoverToLoopout(t1, t3, _this.get$_$this()._actions$_dna_sequence); + A.BuiltValueNullFieldError_checkNotNull(t1, _s25_, _s9_, type$.Crossover); + A.BuiltValueNullFieldError_checkNotNull(t3, _s25_, "length", t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = _s9_; + _this.get$crossover()._crossover$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s25_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DeletionAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ConvertCrossoverToLoopout; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$InsertionRemove.prototype = { - $eq: function(_, other) { - var _this = this; + A._$ConvertCrossoversToLoopouts.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.InsertionRemove && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.all_helices === other.all_helices; + return other instanceof A.ConvertCrossoversToLoopouts && J.$eq$(this.crossovers, other.crossovers) && this.length === other.length; }, - get$hashCode: function(_) { - var t1 = this.insertion; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.all_helices))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.crossovers)), B.JSInt_methods.get$hashCode(this.length))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoversToLoopouts"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "insertion", this.insertion); - t2.add$2(t1, "all_helices", this.all_helices); + t2.add$2(t1, "crossovers", this.crossovers); + t2.add$2(t1, "length", this.length); return t2.toString$0(t1); }, - get$domain: function(receiver) { - return this.domain; - }, - get$all_helices: function() { - return this.all_helices; + get$length(receiver) { + return this.length; } }; - U.InsertionRemoveBuilder.prototype = { - get$domain: function(_) { + A.ConvertCrossoversToLoopoutsBuilder.prototype = { + get$crossovers() { var t1 = this.get$_$this(), - t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + t2 = t1._crossovers; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Crossover); + t1.set$_crossovers(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$insertion: function() { - var t1 = this.get$_$this(), - t2 = t1._insertion; - return t2 == null ? t1._insertion = new G.InsertionBuilder() : t2; + get$length(_) { + return this.get$_$this()._actions$_length; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.domain; + t1 = $$v.crossovers; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._actions$_domain = t2; - t1 = $$v.insertion; - t2 = new G.InsertionBuilder(); - t2._domain$_$v = t1; - _this._insertion = t2; - _this._all_helices = $$v.all_helices; + _this.set$_crossovers(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_length = $$v.length; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s15_ = "InsertionRemove", + _s27_ = "ConvertCrossoversToLoopouts", + _s10_ = "crossovers", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$insertion().build$0(); - t3 = _this.get$_$this()._all_helices; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "all_helices")); - _$result0 = new U._$InsertionRemove(t1, t2, t3); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "domain")); + t1 = _this.get$crossovers().build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_length, _s27_, "length", t2); + _$result0 = new A._$ConvertCrossoversToLoopouts(t1, t3); + A.BuiltValueNullFieldError_checkNotNull(t1, _s27_, _s10_, type$.BuiltList_Crossover); + A.BuiltValueNullFieldError_checkNotNull(t3, _s27_, "length", t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); - _$failedField = "insertion"; - _this.get$insertion().build$0(); + _$failedField._value = _s10_; + _this.get$crossovers().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s27_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_InsertionRemove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ConvertCrossoversToLoopouts; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_crossovers(_crossovers) { + this._crossovers = type$.nullable_ListBuilder_Crossover._as(_crossovers); } }; - U._$DeletionRemove.prototype = { - $eq: function(_, other) { - var _this = this; + A._$Nick.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.DeletionRemove && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A.Nick && J.$eq$(this.domain, other.domain) && this.offset === other.offset; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.domain)), B.JSInt_methods.get$hashCode(this.offset))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Nick"), t2 = J.getInterceptor$ax(t1); t2.add$2(t1, "domain", this.domain); t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "all_helices", this.all_helices); return t2.toString$0(t1); }, - get$domain: function(receiver) { - return this.domain; - }, - get$offset: function(receiver) { + get$offset(receiver) { return this.offset; - }, - get$all_helices: function() { - return this.all_helices; } }; - U.DeletionRemoveBuilder.prototype = { - get$domain: function(_) { + A.NickBuilder.prototype = { + get$domain(_) { var t1 = this.get$_$this(), t2 = t1._actions$_domain; - return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; }, - get$offset: function(_) { + get$offset(_) { return this.get$_$this()._actions$_offset; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { t1 = $$v.domain; t1.toString; - t2 = new G.DomainBuilder(); + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); t2._domain$_$v = t1; _this._actions$_domain = t2; _this._actions$_offset = $$v.offset; - _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s14_ = "DeletionRemove", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$domain(_this).build$0(); - t2 = _this.get$_$this()._actions$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "offset")); - t3 = _this.get$_$this()._all_helices; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "all_helices")); - _$result0 = new U._$DeletionRemove(t1, t2, t3); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "domain")); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$Nick$_(_this.get$domain(_this)._domain$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, "Nick", "offset", type$.int)) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("Nick", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DeletionRemove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.Nick; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$ScalePurificationVendorFieldsAssign.prototype = { - $eq: function(_, other) { + A._$Ligate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ScalePurificationVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); + return other instanceof A.Ligate && this.dna_end.$eq(0, other.dna_end); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); + get$hashCode(_) { + var t1 = this.dna_end; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScalePurificationVendorFieldsAssign"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Ligate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "vendor_fields", this.vendor_fields); + t2.add$2(t1, "dna_end", this.dna_end); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.ScalePurificationVendorFieldsAssignBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; - }, - get$vendor_fields: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_vendor_fields; - return t2 == null ? t1._actions$_vendor_fields = new T.VendorFieldsBuilder() : t2; - }, - get$_$this: function() { + A.LigateBuilder.prototype = { + get$dna_end() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - t1 = $$v.vendor_fields; - t1.toString; - t2 = new T.VendorFieldsBuilder(); - t2._vendor_fields$_$v = t1; - _this._actions$_vendor_fields = t2; + t1 = $$v.dna_end; + t2 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DNAEnd); + t2._dna_end$_$v = t1; + _this._actions$_dna_end = t2; _this._$v = null; } - return _this; + t1 = _this._actions$_dna_end; + return t1 == null ? _this._actions$_dna_end = new A.DNAEndBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$ScalePurificationVendorFieldsAssign$_(_this.get$strand().build$0(), _this.get$vendor_fields().build$0()) : _$result0; + _$result = _$result0 == null ? A._$Ligate$_(_this.get$dna_end()._dna_end$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); - _$failedField = "vendor_fields"; - _this.get$vendor_fields().build$0(); + _$failedField._value = "dna_end"; + _this.get$dna_end()._dna_end$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("ScalePurificationVendorFieldsAssign", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("Ligate", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ScalePurificationVendorFieldsAssign._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.Ligate; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$PlateWellVendorFieldsAssign.prototype = { - $eq: function(_, other) { + A._$JoinStrandsByCrossover.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.PlateWellVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); + return other instanceof A.JoinStrandsByCrossover && this.dna_end_first_click.$eq(0, other.dna_end_first_click) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); + get$hashCode(_) { + var t1 = this.dna_end_first_click, + t2 = this.dna_end_second_click; + return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsAssign"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByCrossover"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "vendor_fields", this.vendor_fields); + t2.add$2(t1, "dna_end_first_click", this.dna_end_first_click); + t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.PlateWellVendorFieldsAssignBuilder.prototype = { - get$strand: function() { + A.JoinStrandsByCrossoverBuilder.prototype = { + get$dna_end_first_click() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_dna_end_first_click; + return t2 == null ? t1._actions$_dna_end_first_click = new A.DNAEndBuilder() : t2; }, - get$vendor_fields: function() { + get$dna_end_second_click() { var t1 = this.get$_$this(), - t2 = t1._actions$_vendor_fields; - return t2 == null ? t1._actions$_vendor_fields = new T.VendorFieldsBuilder() : t2; + t2 = t1._dna_end_second_click; + return t2 == null ? t1._dna_end_second_click = new A.DNAEndBuilder() : t2; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, t2, t3, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - t1 = $$v.vendor_fields; - t1.toString; - t2 = new T.VendorFieldsBuilder(); - t2._vendor_fields$_$v = t1; - _this._actions$_vendor_fields = t2; + t1 = $$v.dna_end_first_click; + t2 = new A.DNAEndBuilder(); + t3 = type$.DNAEnd; + A.ArgumentError_checkNotNull(t1, "other", t3); + t2._dna_end$_$v = t1; + _this._actions$_dna_end_first_click = t2; + t2 = $$v.dna_end_second_click; + t1 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._dna_end$_$v = t2; + _this._dna_end_second_click = t1; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$PlateWellVendorFieldsAssign$_(_this.get$strand().build$0(), _this.get$vendor_fields().build$0()) : _$result0; + _$result = _$result0 == null ? A._$JoinStrandsByCrossover$_(_this.get$dna_end_first_click()._dna_end$_build$0(), _this.get$dna_end_second_click()._dna_end$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); - _$failedField = "vendor_fields"; - _this.get$vendor_fields().build$0(); + _$failedField._value = "dna_end_first_click"; + _this.get$dna_end_first_click()._dna_end$_build$0(); + _$failedField._value = "dna_end_second_click"; + _this.get$dna_end_second_click()._dna_end$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("PlateWellVendorFieldsAssign", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("JoinStrandsByCrossover", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_PlateWellVendorFieldsAssign._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.JoinStrandsByCrossover; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$PlateWellVendorFieldsRemove.prototype = { - $eq: function(_, other) { + A._$MoveLinker.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.PlateWellVendorFieldsRemove && J.$eq$(this.strand, other.strand); + return other instanceof A.MoveLinker && J.$eq$(this.potential_crossover, other.potential_crossover) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.strand))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + t1 = _this.dna_end_second_click; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.potential_crossover)), t1.get$hashCode(t1))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveLinker"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "potential_crossover", this.potential_crossover); + t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.PlateWellVendorFieldsRemoveBuilder.prototype = { - get$strand: function() { + A.MoveLinkerBuilder.prototype = { + get$potential_crossover() { + var t1 = this.get$_$this(), + t2 = t1._potential_crossover; + return t2 == null ? t1._potential_crossover = new A.PotentialCrossoverBuilder() : t2; + }, + get$dna_end_second_click() { + var t1 = this.get$_$this(), + t2 = t1._dna_end_second_click; + return t2 == null ? t1._dna_end_second_click = new A.DNAEndBuilder() : t2; + }, + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + t1 = $$v.potential_crossover; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; + t2 = new A.PotentialCrossoverBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.PotentialCrossover); + t2._potential_crossover$_$v = t1; + _this._potential_crossover = t2; + t2 = $$v.dna_end_second_click; + t1 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.DNAEnd); + t1._dna_end$_$v = t2; + _this._dna_end_second_click = t1; _this._$v = null; } - t1 = _this._strand; - return t1 == null ? _this._strand = new E.StrandBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$PlateWellVendorFieldsRemove$_(_this.get$strand().build$0()) : _$result0; + if (_$result0 == null) { + t1 = _this.get$potential_crossover()._potential_crossover$_build$0(); + _$result0 = A._$MoveLinker$_(_this.get$dna_end_second_click()._dna_end$_build$0(), t1); + } + _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "potential_crossover"; + _this.get$potential_crossover()._potential_crossover$_build$0(); + _$failedField._value = "dna_end_second_click"; + _this.get$dna_end_second_click()._dna_end$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("PlateWellVendorFieldsRemove", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("MoveLinker", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_PlateWellVendorFieldsRemove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.MoveLinker; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$VendorFieldsRemove.prototype = { - $eq: function(_, other) { + A._$JoinStrandsByMultipleCrossovers.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.VendorFieldsRemove && J.$eq$(this.strand, other.strand); - }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.strand))); + return other instanceof A.JoinStrandsByMultipleCrossovers; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFieldsRemove"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - return t2.toString$0(t1); + get$hashCode(_) { + return 913553039; }, - get$strand: function() { - return this.strand; + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByMultipleCrossovers")); } }; - U.VendorFieldsRemoveBuilder.prototype = { - get$strand: function() { - var t1, t2, _this = this, - $$v = _this._$v; - if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._$v = null; - } - t1 = _this._strand; - return t1 == null ? _this._strand = new E.StrandBuilder() : t1; - }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._$v; - _$result = _$result0 == null ? U._$VendorFieldsRemove$_(_this.get$strand().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("VendorFieldsRemove", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_VendorFieldsRemove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + A.JoinStrandsByMultipleCrossoversBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$JoinStrandsByMultipleCrossovers(); + A.ArgumentError_checkNotNull(_$result, "other", type$.JoinStrandsByMultipleCrossovers); + return this._$v = _$result; } }; - U._$ModificationAdd.prototype = { - $eq: function(_, other) { + A._$StrandsReflect.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.ModificationAdd && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A.StrandsReflect && J.$eq$(_this.strands, other.strands) && _this.horizontal === other.horizontal && _this.reverse_polarity === other.reverse_polarity; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strands)), B.JSBool_methods.get$hashCode(this.horizontal)), B.JSBool_methods.get$hashCode(this.reverse_polarity))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationAdd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsReflect"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + t2.add$2(t1, "strands", this.strands); + t2.add$2(t1, "horizontal", this.horizontal); + t2.add$2(t1, "reverse_polarity", this.reverse_polarity); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.ModificationAddBuilder.prototype = { - get$strand: function() { + A.StrandsReflectBuilder.prototype = { + get$strands() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_strands; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_actions$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + t1 = $$v.strands; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._modification = $$v.modification; - _this._strand_dna_idx = $$v.strand_dna_idx; + _this.set$_actions$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._horizontal = $$v.horizontal; + _this._reverse_polarity = $$v.reverse_polarity; _this._$v = null; } return _this; }, - build$0: function() { + _build$0() { var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s15_ = "ModificationAdd", + _s14_ = "StrandsReflect", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._modification; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modification")); - _$result0 = U._$ModificationAdd$_(t2, t1, _this.get$_$this()._strand_dna_idx); + t1 = _this.get$strands().build$0(); + t2 = type$.bool; + _$result0 = A._$StrandsReflect$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._horizontal, _s14_, "horizontal", t2), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._reverse_polarity, _s14_, "reverse_polarity", t2), t1); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "strands"; + _this.get$strands().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ModificationAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandsReflect; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_strands(_strands) { + this._actions$_strands = type$.nullable_ListBuilder_Strand._as(_strands); } }; - U._$ModificationRemove.prototype = { - $eq: function(_, other) { - var _this = this; + A._$ReplaceStrands.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.ModificationRemove && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A.ReplaceStrands && J.$eq$(this.new_strands, other.new_strands); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.new_strands))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationRemove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ReplaceStrands"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + t2.add$2(t1, "new_strands", this.new_strands); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.ModificationRemoveBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; - }, - get$_$this: function() { + A.ReplaceStrandsBuilder.prototype = { + get$new_strands() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + t1 = $$v.new_strands; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._modification = $$v.modification; - _this._strand_dna_idx = $$v.strand_dna_idx; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_new_strands(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); _this._$v = null; } - return _this; + t1 = _this._new_strands; + if (t1 == null) { + t1 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Strand); + _this.set$_new_strands(t1); + } + return t1; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s18_ = "ModificationRemove", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._modification; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "modification")); - _$result0 = U._$ModificationRemove$_(t2, t1, _this.get$_$this()._strand_dna_idx); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$ReplaceStrands$_(_this.get$new_strands().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "new_strands"; + _this.get$new_strands().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("ReplaceStrands", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ModificationRemove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.ReplaceStrands; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_new_strands(_new_strands) { + this._new_strands = type$.nullable_MapBuilder_int_Strand._as(_new_strands); } }; - U._$ModificationConnectorLengthSet.prototype = { - $eq: function(_, other) { - var _this = this; + A._$StrandCreateStart.prototype = { + $eq(_, other) { + var t1, t2; if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.ModificationConnectorLengthSet && J.$eq$(_this.strand, other.strand) && _this.modification.$eq(0, other.modification) && _this.connector_length === other.connector_length; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - if (t1 == null) { - t1 = _this.modification; - t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strand)), t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(_this.connector_length))); - } + if (other instanceof A.StrandCreateStart) + if (this.address.$eq(0, other.address)) { + t1 = this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationConnectorLengthSet"), + get$hashCode(_) { + var t1 = this.address, + t2 = this.color; + return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateStart"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "connector_length", this.connector_length); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "color", this.color); return t2.toString$0(t1); } }; - U.ModificationConnectorLengthSetBuilder.prototype = { - get$strand: function() { + A.StrandCreateStartBuilder.prototype = { + get$address() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new A.AddressBuilder() : t2; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._modification = $$v.modification; - _this._actions$_connector_length = $$v.connector_length; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_color = $$v.color; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s30_ = "ModificationConnectorLengthSet", + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s17_ = "StrandCreateStart", _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._modification; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); - t3 = _this.get$_$this()._actions$_connector_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "connector_length")); - _$result0 = new U._$ModificationConnectorLengthSet(t1, t2, t3); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "strand")); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$StrandCreateStart$_(_this.get$address()._address$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_color, _s17_, "color", type$.Color)) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s17_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ModificationConnectorLengthSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandCreateStart; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$ModificationEdit.prototype = { - $eq: function(_, other) { - var _this = this; + A._$StrandCreateAdjustOffset.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.ModificationEdit && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A.StrandCreateAdjustOffset && this.offset == other.offset; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.offset))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationEdit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateAdjustOffset"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + t2.add$2(t1, "offset", this.offset); return t2.toString$0(t1); }, - get$strand: function() { - return this.strand; + get$offset(receiver) { + return this.offset; } }; - U.ModificationEditBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + A.StrandCreateAdjustOffsetBuilder.prototype = { + get$offset(_) { + return this.get$_$this()._actions$_offset; }, - get$_$this: function() { - var t1, t2, _this = this, + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._modification = $$v.modification; - _this._strand_dna_idx = $$v.strand_dna_idx; + _this._actions$_offset = $$v.offset; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s16_ = "ModificationEdit", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._modification; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "modification")); - _$result0 = U._$ModificationEdit$_(t2, t1, _this.get$_$this()._strand_dna_idx); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ModificationEdit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; } }; - U._$Modifications5PrimeEdit.prototype = { - $eq: function(_, other) { + A._$StrandCreateStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.Modifications5PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + return other instanceof A.StrandCreateStop; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + get$hashCode(_) { + return 562189073; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications5PrimeEdit"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modifications", this.modifications); - t2.add$2(t1, "new_modification", this.new_modification); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandCreateStop")); } }; - U.Modifications5PrimeEditBuilder.prototype = { - get$modifications: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_modifications; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification5Prime); - t1.set$_actions$_modifications(t2); - t1 = t2; - } else - t1 = t2; + A.StrandCreateStopBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$StrandCreateStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandCreateStop); + return this._$v = _$result; + } + }; + A._$StrandCreateCommit.prototype = { + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof A.StrandCreateCommit) + if (_this.helix_idx === other.helix_idx) + if (_this.start === other.start) + if (_this.end === other.end) + if (_this.forward === other.forward) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; return t1; }, - get$new_modification: function() { - var t1 = this.get$_$this(), - t2 = t1._new_modification; - return t2 == null ? t1._new_modification = new Z.Modification5PrimeBuilder() : t2; + get$hashCode(_) { + var _this = this, + t1 = _this.color; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), B.JSInt_methods.get$hashCode(_this.start)), B.JSInt_methods.get$hashCode(_this.end)), B.JSBool_methods.get$hashCode(_this.forward)), t1.get$hashCode(t1))); }, - get$_$this: function() { - var t1, t2, _this = this, + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", _this.helix_idx); + t2.add$2(t1, "start", _this.start); + t2.add$2(t1, "end", _this.end); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "color", _this.color); + return t2.toString$0(t1); + } + }; + A.StrandCreateCommitBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.modifications; - t1.toString; - _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.new_modification; - t1.toString; - t2 = new Z.Modification5PrimeBuilder(); - t2._modification$_$v = t1; - _this._new_modification = t2; + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_start = $$v.start; + _this._actions$_end = $$v.end; + _this._actions$_forward = $$v.forward; + _this._actions$_color = $$v.color; _this._$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s23_ = "Modifications5PrimeEdit", - _s16_ = "new_modification", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$modifications().build$0(); - t2 = _this.get$new_modification().build$0(); - _$result0 = new U._$Modifications5PrimeEdit(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "modifications")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, _s16_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "modifications"; - _this.get$modifications().build$0(); - _$failedField = _s16_; - _this.get$new_modification().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_Modifications5PrimeEdit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_modifications: function(_modifications) { - this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModification5Prime._as(_modifications); } }; - U._$Modifications3PrimeEdit.prototype = { - $eq: function(_, other) { + A._$PotentialCrossoverCreate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.Modifications3PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + return other instanceof A.PotentialCrossoverCreate && J.$eq$(this.potential_crossover, other.potential_crossover); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.potential_crossover))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications3PrimeEdit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverCreate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modifications", this.modifications); - t2.add$2(t1, "new_modification", this.new_modification); + t2.add$2(t1, "potential_crossover", this.potential_crossover); return t2.toString$0(t1); } }; - U.Modifications3PrimeEditBuilder.prototype = { - get$modifications: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_modifications; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification3Prime); - t1.set$_actions$_modifications(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$new_modification: function() { - var t1 = this.get$_$this(), - t2 = t1._new_modification; - return t2 == null ? t1._new_modification = new Z.Modification3PrimeBuilder() : t2; - }, - get$_$this: function() { + A.PotentialCrossoverCreateBuilder.prototype = { + get$potential_crossover() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.modifications; - t1.toString; - _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.new_modification; + t1 = $$v.potential_crossover; t1.toString; - t2 = new Z.Modification3PrimeBuilder(); - t2._modification$_$v = t1; - _this._new_modification = t2; + t2 = new A.PotentialCrossoverBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.PotentialCrossover); + t2._potential_crossover$_$v = t1; + _this._potential_crossover = t2; _this._$v = null; } - return _this; + t1 = _this._potential_crossover; + return t1 == null ? _this._potential_crossover = new A.PotentialCrossoverBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s23_ = "Modifications3PrimeEdit", - _s16_ = "new_modification", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$modifications().build$0(); - t2 = _this.get$new_modification().build$0(); - _$result0 = new U._$Modifications3PrimeEdit(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "modifications")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, _s16_)); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$PotentialCrossoverCreate$_(_this.get$potential_crossover()._potential_crossover$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "modifications"; - _this.get$modifications().build$0(); - _$failedField = _s16_; - _this.get$new_modification().build$0(); + _$failedField._value = "potential_crossover"; + _this.get$potential_crossover()._potential_crossover$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("PotentialCrossoverCreate", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Modifications3PrimeEdit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.PotentialCrossoverCreate; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - }, - set$_actions$_modifications: function(_modifications) { - this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModification3Prime._as(_modifications); } }; - U._$ModificationsInternalEdit.prototype = { - $eq: function(_, other) { + A._$PotentialCrossoverMove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ModificationsInternalEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + return other instanceof A.PotentialCrossoverMove && this.point.$eq(0, other.point); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + get$hashCode(_) { + var t1 = this.point; + return A.$jf(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationsInternalEdit"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverMove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modifications", this.modifications); - t2.add$2(t1, "new_modification", this.new_modification); + t2.add$2(t1, "point", this.point); return t2.toString$0(t1); } }; - U.ModificationsInternalEditBuilder.prototype = { - get$modifications: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_modifications; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModificationInternal); - t1.set$_actions$_modifications(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$new_modification: function() { - var t1 = this.get$_$this(), - t2 = t1._new_modification; - return t2 == null ? t1._new_modification = new Z.ModificationInternalBuilder() : t2; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.PotentialCrossoverMoveBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.modifications; - t1.toString; - _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.new_modification; - t1.toString; - t2 = new Z.ModificationInternalBuilder(); - t2._modification$_$v = t1; - _this._new_modification = t2; + _this.set$_point($$v.point); _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s25_ = "ModificationsInternalEdit", - _s16_ = "new_modification", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$modifications().build$0(); - t2 = _this.get$new_modification().build$0(); - _$result0 = new U._$ModificationsInternalEdit(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "modifications")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, _s16_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "modifications"; - _this.get$modifications().build$0(); - _$failedField = _s16_; - _this.get$new_modification().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s25_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ModificationsInternalEdit._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; - }, - set$_actions$_modifications: function(_modifications) { - this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModificationInternal._as(_modifications); + set$_point(_point) { + this._point = type$.nullable_Point_double._as(_point); } }; - U._$GridChange.prototype = { - $eq: function(_, other) { + A._$PotentialCrossoverRemove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.GridChange && this.grid == other.grid && this.group_name == other.group_name; + return other instanceof A.PotentialCrossoverRemove; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.grid)), J.get$hashCode$(this.group_name))); + get$hashCode(_) { + return 588638045; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GridChange"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "grid", this.grid); - t2.add$2(t1, "group_name", this.group_name); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverRemove")); } }; - U.GridChangeBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_grid = $$v.grid; - _this._group_name = $$v.group_name; - _this._$v = null; - } - return _this; + A.PotentialCrossoverRemoveBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$PotentialCrossoverRemove(); + A.ArgumentError_checkNotNull(_$result, "other", type$.PotentialCrossoverRemove); + return this._$v = _$result; } }; - U._$GroupDisplayedChange.prototype = { - $eq: function(_, other) { + A._$ManualPasteInitiate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.GroupDisplayedChange && this.group_name == other.group_name; + return other instanceof A.ManualPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.group_name))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.clipboard_content)), B.JSBool_methods.get$hashCode(_this.in_browser))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupDisplayedChange"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ManualPasteInitiate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "group_name", this.group_name); + t2.add$2(t1, "clipboard_content", this.clipboard_content); + t2.add$2(t1, "in_browser", this.in_browser); return t2.toString$0(t1); } }; - U.GroupDisplayedChangeBuilder.prototype = { - get$_$this: function() { + A.ManualPasteInitiateBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._group_name = $$v.group_name; + _this._clipboard_content = $$v.clipboard_content; + _this._in_browser = $$v.in_browser; _this._$v = null; } return _this; + }, + _build$0() { + var t1, t2, t3, t4, _this = this, + _s19_ = "ManualPasteInitiate", + _s17_ = "clipboard_content", + _s10_ = "in_browser", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._clipboard_content, _s19_, _s17_, t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._in_browser, _s19_, _s10_, t3); + _$result = new A._$ManualPasteInitiate(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, _s17_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s19_, _s10_, t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ManualPasteInitiate); + return _this._$v = _$result; } }; - U._$GroupAdd.prototype = { - $eq: function(_, other) { + A._$AutoPasteInitiate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.GroupAdd && this.name === other.name && J.$eq$(this.group, other.group); - }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(this.name)), J.get$hashCode$(this.group))); + return other instanceof A.AutoPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupAdd"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "name", this.name); - t2.add$2(t1, "group", this.group); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.clipboard_content)), B.JSBool_methods.get$hashCode(_this.in_browser))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutoPasteInitiate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "clipboard_content", this.clipboard_content); + t2.add$2(t1, "in_browser", this.in_browser); return t2.toString$0(t1); } }; - U.GroupAddBuilder.prototype = { - get$group: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_group; - if (t2 == null) { - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t1._actions$_group = t2; - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_$this: function() { - var t1, t2, _this = this, + A.AutoPasteInitiateBuilder.prototype = { + get$_$this() { + var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_name = $$v.name; - t1 = $$v.group; - t1.toString; - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t2._group$_$v = t1; - _this._actions$_group = t2; + _this._clipboard_content = $$v.clipboard_content; + _this._in_browser = $$v.in_browser; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s8_ = "GroupAdd", - _$result = null; - try { - _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_name; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "name")); - _$result0 = U._$GroupAdd$_(_this.get$group().build$0(), t1); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "group"; - _this.get$group().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_GroupAdd._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; - return _$result; + _build$0() { + var t1, t2, t3, t4, _this = this, + _s17_ = "AutoPasteInitiate", + _s17_0 = "clipboard_content", + _s10_ = "in_browser", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._clipboard_content, _s17_, _s17_0, t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._in_browser, _s17_, _s10_, t3); + _$result = new A._$AutoPasteInitiate(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s17_, _s17_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s17_, _s10_, t3); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.AutoPasteInitiate); + return _this._$v = _$result; } }; - U._$GroupRemove.prototype = { - $eq: function(_, other) { + A._$CopySelectedStrands.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.GroupRemove && this.name == other.name; + return other instanceof A.CopySelectedStrands; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.name))); + get$hashCode(_) { + return 12466871; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupRemove"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "name", this.name); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStrands")); } }; - U.GroupRemoveBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_name = $$v.name; - _this._$v = null; - } - return _this; + A.CopySelectedStrandsBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$CopySelectedStrands(); + A.ArgumentError_checkNotNull(_$result, "other", type$.CopySelectedStrands); + return this._$v = _$result; } }; - U._$GroupChange.prototype = { - $eq: function(_, other) { + A._$StrandsMoveStart.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.GroupChange && _this.old_name == other.old_name && _this.new_name === other.new_name && J.$eq$(_this.new_group, other.new_group); + return other instanceof A.StrandsMoveStart && J.$eq$(_this.strands, other.strands) && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.old_name)), C.JSString_methods.get$hashCode(this.new_name)), J.get$hashCode$(this.new_group))); + get$hashCode(_) { + var _this = this, + t1 = _this.address; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(_this.copy)), J.get$hashCode$(_this.original_helices_view_order_inverse))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupChange"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStart"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "old_name", this.old_name); - t2.add$2(t1, "new_name", this.new_name); - t2.add$2(t1, "new_group", this.new_group); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "address", _this.address); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); return t2.toString$0(t1); } }; - U.GroupChangeBuilder.prototype = { - get$new_group: function() { + A.StrandsMoveStartBuilder.prototype = { + get$strands() { var t1 = this.get$_$this(), - t2 = t1._new_group; + t2 = t1._actions$_strands; if (t2 == null) { - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t1._new_group = t2; + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_actions$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$address() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new A.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._old_name = $$v.old_name; - _this._new_name = $$v.new_name; - t1 = $$v.new_group; + t1 = $$v.strands; t1.toString; - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t2._group$_$v = t1; - _this._new_group = t2; + _this.set$_actions$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_copy = $$v.copy; + t2 = $$v.original_helices_view_order_inverse; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s11_ = "GroupChange", + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s16_ = "StrandsMoveStart", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$_$this()._old_name; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "old_name")); - t2 = _this.get$_$this()._new_name; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "new_name")); - _$result0 = U._$GroupChange$_(_this.get$new_group().build$0(), t2, t1); + t1 = _this.get$strands().build$0(); + _$result0 = A._$StrandsMoveStart$_(_this.get$address()._address$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_copy, _s16_, "copy", type$.bool), _this.get$original_helices_view_order_inverse().build$0(), t1); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "new_group"; - _this.get$new_group().build$0(); + _$failedField._value = "strands"; + _this.get$strands().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); + _$failedField._value = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_GroupChange._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandsMoveStart; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_strands(_strands) { + this._actions$_strands = type$.nullable_ListBuilder_Strand._as(_strands); + }, + set$_actions$_original_helices_view_order_inverse(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_original_helices_view_order_inverse); } }; - U._$MoveHelicesToGroup.prototype = { - $eq: function(_, other) { + A._$StrandsMoveStartSelectedStrands.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.MoveHelicesToGroup && J.$eq$(this.helix_idxs, other.helix_idxs) && this.group_name == other.group_name; + return other instanceof A.StrandsMoveStartSelectedStrands && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._actions$__hashCode; - return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix_idxs)), J.get$hashCode$(_this.group_name))) : t1; + get$hashCode(_) { + var t1 = this.address; + return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.copy)), J.get$hashCode$(this.original_helices_view_order_inverse))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveHelicesToGroup"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStartSelectedStrands"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idxs", this.helix_idxs); - t2.add$2(t1, "group_name", this.group_name); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "copy", this.copy); + t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); return t2.toString$0(t1); } }; - U.MoveHelicesToGroupBuilder.prototype = { - get$helix_idxs: function() { + A.StrandsMoveStartSelectedStrandsBuilder.prototype = { + get$address() { var t1 = this.get$_$this(), - t2 = t1._helix_idxs; + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new A.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_helix_idxs(t2); + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_$this: function() { - var t1, _this = this, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.helix_idxs; - t1.toString; - _this.set$_helix_idxs(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._group_name = $$v.group_name; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_copy = $$v.copy; + t2 = $$v.original_helices_view_order_inverse; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s18_ = "MoveHelicesToGroup", + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s31_ = "StrandsMoveStartSelectedStrands", _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$helix_idxs().build$0(); - t2 = _this.get$_$this()._group_name; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "group_name")); - _$result0 = U._$MoveHelicesToGroup$_(t2, t1); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$StrandsMoveStartSelectedStrands$_(_this.get$address()._address$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_copy, _s31_, "copy", type$.bool), _this.get$original_helices_view_order_inverse().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "helix_idxs"; - _this.get$helix_idxs().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); + _$failedField._value = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s31_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_MoveHelicesToGroup._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandsMoveStartSelectedStrands; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; }, - set$_helix_idxs: function(_helix_idxs) { - this._helix_idxs = type$.legacy_ListBuilder_legacy_int._as(_helix_idxs); + set$_actions$_original_helices_view_order_inverse(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_original_helices_view_order_inverse); } }; - U._$DialogShow.prototype = { - $eq: function(_, other) { + A._$StrandsMoveStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DialogShow && J.$eq$(this.dialog, other.dialog); + return other instanceof A.StrandsMoveStop; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dialog))); + get$hashCode(_) { + return 852105731; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogShow"), + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStop")); + } + }; + A.StrandsMoveStopBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$StrandsMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandsMoveStop); + return this._$v = _$result; + } + }; + A._$StrandsMoveAdjustAddress.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.StrandsMoveAdjustAddress && this.address.$eq(0, other.address); + }, + get$hashCode(_) { + var t1 = this.address; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveAdjustAddress"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dialog", this.dialog); + t2.add$2(t1, "address", this.address); return t2.toString$0(t1); } }; - U.DialogShowBuilder.prototype = { - get$dialog: function() { + A.StrandsMoveAdjustAddressBuilder.prototype = { + get$address() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.dialog; - t1.toString; - t2 = new E.DialogBuilder(); - t2._dialog$_$v = t1; - _this._actions$_dialog = t2; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; _this._$v = null; } - t1 = _this._actions$_dialog; - return t1 == null ? _this._actions$_dialog = new E.DialogBuilder() : t1; + t1 = _this._actions$_address; + return t1 == null ? _this._actions$_address = new A.AddressBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$DialogShow$_(_this.get$dialog().build$0()) : _$result0; + _$result = _$result0 == null ? A._$StrandsMoveAdjustAddress$_(_this.get$address()._address$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "dialog"; - _this.get$dialog().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("DialogShow", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("StrandsMoveAdjustAddress", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DialogShow._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.StrandsMoveAdjustAddress; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$DialogHide.prototype = { - $eq: function(_, other) { + A._$StrandsMoveCommit.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DialogHide; + return other instanceof A.StrandsMoveCommit && J.$eq$(this.strands_move, other.strands_move) && this.autopaste === other.autopaste; }, - get$hashCode: function(_) { - return 68450832; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strands_move)), B.JSBool_methods.get$hashCode(this.autopaste))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DialogHide")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands_move", this.strands_move); + t2.add$2(t1, "autopaste", this.autopaste); + return t2.toString$0(t1); } }; - U.DialogHideBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$DialogHide(); - return this._$v = _$result; + A.StrandsMoveCommitBuilder.prototype = { + get$strands_move() { + var t1 = this.get$_$this(), + t2 = t1._actions$_strands_move; + return t2 == null ? t1._actions$_strands_move = new A.StrandsMoveBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands_move; + t1.toString; + t2 = new A.StrandsMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.StrandsMove); + t2._strands_move$_$v = t1; + _this._actions$_strands_move = t2; + _this._autopaste = $$v.autopaste; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s17_ = "StrandsMoveCommit", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands_move()._strands_move$_build$0(); + _$result0 = A._$StrandsMoveCommit$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._autopaste, _s17_, "autopaste", type$.bool), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strands_move"; + _this.get$strands_move()._strands_move$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s17_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.StrandsMoveCommit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$ContextMenuShow.prototype = { - $eq: function(_, other) { + A._$DomainsMoveStartSelectedDomains.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ContextMenuShow && J.$eq$(this.context_menu, other.context_menu); + return other instanceof A.DomainsMoveStartSelectedDomains && this.address.$eq(0, other.address) && J.$eq$(this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.context_menu))); + get$hashCode(_) { + var t1 = this.address; + return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), J.get$hashCode$(this.original_helices_view_order_inverse))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuShow"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStartSelectedDomains"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "context_menu", this.context_menu); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); return t2.toString$0(t1); } }; - U.ContextMenuShowBuilder.prototype = { - get$context_menu: function() { + A.DomainsMoveStartSelectedDomainsBuilder.prototype = { + get$address() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new A.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.context_menu; - t1.toString; - t2 = new B.ContextMenuBuilder(); - t2._context_menu$_$v = t1; - _this._actions$_context_menu = t2; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; + t2 = $$v.original_helices_view_order_inverse; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); _this._$v = null; } - t1 = _this._actions$_context_menu; - return t1 == null ? _this._actions$_context_menu = new B.ContextMenuBuilder() : t1; + return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$ContextMenuShow$_(_this.get$context_menu().build$0()) : _$result0; + _$result = _$result0 == null ? A._$DomainsMoveStartSelectedDomains$_(_this.get$address()._address$_build$0(), _this.get$original_helices_view_order_inverse().build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "context_menu"; - _this.get$context_menu().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); + _$failedField._value = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("ContextMenuShow", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DomainsMoveStartSelectedDomains", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ContextMenuShow._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DomainsMoveStartSelectedDomains; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_original_helices_view_order_inverse(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_original_helices_view_order_inverse); } }; - U._$ContextMenuHide.prototype = { - $eq: function(_, other) { + A._$DomainsMoveStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ContextMenuHide; + return other instanceof A.DomainsMoveStop; }, - get$hashCode: function(_) { - return 628270879; + get$hashCode(_) { + return 156712681; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ContextMenuHide")); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStop")); } }; - U.ContextMenuHideBuilder.prototype = { - build$0: function() { + A.DomainsMoveStopBuilder.prototype = { + _build$0() { var _$result = this._$v; if (_$result == null) - _$result = new U._$ContextMenuHide(); + _$result = new A._$DomainsMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.DomainsMoveStop); return this._$v = _$result; } }; - U._$StrandOrSubstrandColorPickerShow.prototype = { - $eq: function(_, other) { + A._$DomainsMoveAdjustAddress.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandOrSubstrandColorPickerShow && J.$eq$(this.strand, other.strand) && J.$eq$(this.substrand, other.substrand); + return other instanceof A.DomainsMoveAdjustAddress && this.address.$eq(0, other.address); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand))); + get$hashCode(_) { + var t1 = this.address; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerShow"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveAdjustAddress"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "substrand", this.substrand); + t2.add$2(t1, "address", this.address); return t2.toString$0(t1); } }; - U.StrandOrSubstrandColorPickerShowBuilder.prototype = { - get$strand: function() { - var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; - }, - get$_$this: function() { + A.DomainsMoveAdjustAddressBuilder.prototype = { + get$address() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._substrand = $$v.substrand; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._actions$_address = t2; _this._$v = null; } - return _this; + t1 = _this._actions$_address; + return t1 == null ? _this._actions$_address = new A.AddressBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$result = _$result0 == null ? U._$StrandOrSubstrandColorPickerShow$_(_this.get$strand().build$0(), _this.get$_$this()._substrand) : _$result0; + _$result = _$result0 == null ? A._$DomainsMoveAdjustAddress$_(_this.get$address()._address$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("StrandOrSubstrandColorPickerShow", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DomainsMoveAdjustAddress", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandOrSubstrandColorPickerShow._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DomainsMoveAdjustAddress; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$StrandOrSubstrandColorPickerHide.prototype = { - $eq: function(_, other) { + A._$DomainsMoveCommit.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.StrandOrSubstrandColorPickerHide; + return other instanceof A.DomainsMoveCommit && J.$eq$(this.domains_move, other.domains_move); }, - get$hashCode: function(_) { - return 600404320; + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.domains_move))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerHide")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domains_move", this.domains_move); + return t2.toString$0(t1); } }; - U.StrandOrSubstrandColorPickerHideBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$StrandOrSubstrandColorPickerHide(); - return this._$v = _$result; + A.DomainsMoveCommitBuilder.prototype = { + get$domains_move() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domains_move; + t1.toString; + t2 = new A.DomainsMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DomainsMove); + t2._domains_move$_$v = t1; + _this._actions$_domains_move = t2; + _this._$v = null; + } + t1 = _this._actions$_domains_move; + return t1 == null ? _this._actions$_domains_move = new A.DomainsMoveBuilder() : t1; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$DomainsMoveCommit$_(_this.get$domains_move()._domains_move$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domains_move"; + _this.get$domains_move()._domains_move$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DomainsMoveCommit", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DomainsMoveCommit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$ScaffoldSet.prototype = { - $eq: function(_, other) { + A._$DNAEndsMoveStart.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ScaffoldSet && J.$eq$(this.strand, other.strand) && this.is_scaffold === other.is_scaffold; + return other instanceof A.DNAEndsMoveStart && this.offset == other.offset && J.$eq$(this.helix, other.helix); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.is_scaffold))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.offset)), J.get$hashCode$(this.helix))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScaffoldSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStart"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "is_scaffold", this.is_scaffold); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "helix", this.helix); return t2.toString$0(t1); }, - get$strand: function() { - return this.strand; + get$offset(receiver) { + return this.offset; } }; - U.ScaffoldSetBuilder.prototype = { - get$strand: function() { + A.DNAEndsMoveStartBuilder.prototype = { + get$offset(_) { + return this.get$_$this()._actions$_offset; + }, + get$helix() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + _this._actions$_offset = $$v.offset; + t1 = $$v.helix; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._actions$_is_scaffold = $$v.is_scaffold; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._actions$_helix = t2; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s11_ = "ScaffoldSet", + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s16_ = "DNAEndsMoveStart", _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._actions$_is_scaffold; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "is_scaffold")); - _$result0 = U._$ScaffoldSet$_(t2, t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, _s16_, "offset", type$.int); + _$result0 = A._$DNAEndsMoveStart$_(_this.get$helix()._helix$_build$0(), t1); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ScaffoldSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DNAEndsMoveStart; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$StrandOrSubstrandColorSet.prototype = { - $eq: function(_, other) { + A._$DNAEndsMoveSetSelectedEnds.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof U.StrandOrSubstrandColorSet && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.substrand, other.substrand) && J.$eq$(_this.color, other.color); + return other instanceof A.DNAEndsMoveSetSelectedEnds && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && J.$eq$(_this.strands_affected, other.strands_affected); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand)), J.get$hashCode$(this.color))); + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.strands_affected))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorSet"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveSetSelectedEnds"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strand", this.strand); - t2.add$2(t1, "substrand", this.substrand); - t2.add$2(t1, "color", this.color); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "strands_affected", _this.strands_affected); return t2.toString$0(t1); - }, - get$strand: function() { - return this.strand; } }; - U.StrandOrSubstrandColorSetBuilder.prototype = { - get$strand: function() { + A.DNAEndsMoveSetSelectedEndsBuilder.prototype = { + get$moves() { var t1 = this.get$_$this(), - t2 = t1._strand; - return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + t2 = t1._actions$_moves; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); + t1.set$_actions$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helix() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands_affected() { + var t1 = this.get$_$this(), + t2 = t1._strands_affected; + if (t2 == null) { + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); + t1.set$_strands_affected(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - t1 = $$v.strand; + t1 = $$v.moves; t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._strand = t2; - _this._substrand = $$v.substrand; - _this._actions$_color = $$v.color; + _this.set$_actions$_moves(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_original_offset = $$v.original_offset; + t1 = $$v.helix; + t1.toString; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._actions$_helix = t2; + t2 = $$v.strands_affected; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltSet<1>")._as(t2); + _this.set$_strands_affected(new A.SetBuilder(t2._setFactory, t2._set, t2, t1._eval$1("SetBuilder<1>"))); _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s26_ = "DNAEndsMoveSetSelectedEnds", + _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$strand().build$0(); - t2 = _this.get$_$this()._substrand; - _$result0 = U._$StrandOrSubstrandColorSet$_(_this.get$_$this()._actions$_color, t1, t2); + t1 = _this.get$moves().build$0(); + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_original_offset, _s26_, "original_offset", type$.int); + _$result0 = A._$DNAEndsMoveSetSelectedEnds$_(_this.get$helix()._helix$_build$0(), t1, t2, _this.get$strands_affected().build$0()); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strand"; - _this.get$strand().build$0(); + _$failedField._value = "moves"; + _this.get$moves().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); + _$failedField._value = "strands_affected"; + _this.get$strands_affected().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("StrandOrSubstrandColorSet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s26_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandOrSubstrandColorSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DNAEndsMoveSetSelectedEnds; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; - } - }; - U._$StrandPasteKeepColorSet.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.StrandPasteKeepColorSet && this.keep === other.keep; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.keep))); + set$_actions$_moves(_moves) { + this._actions$_moves = type$.nullable_ListBuilder_DNAEndMove._as(_moves); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandPasteKeepColorSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "keep", this.keep); - return t2.toString$0(t1); - } - }; - U.StrandPasteKeepColorSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._keep = $$v.keep; - _this._$v = null; - } - return _this; + set$_strands_affected(_strands_affected) { + this._strands_affected = type$.nullable_SetBuilder_Strand._as(_strands_affected); } }; - U._$ExampleDesignsLoad.prototype = { - $eq: function(_, other) { + A._$DNAEndsMoveAdjustOffset.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ExampleDesignsLoad && this.selected_idx === other.selected_idx; + return other instanceof A.DNAEndsMoveAdjustOffset && this.offset == other.offset; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.selected_idx))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.offset))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesignsLoad"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveAdjustOffset"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selected_idx", this.selected_idx); + t2.add$2(t1, "offset", this.offset); return t2.toString$0(t1); + }, + get$offset(receiver) { + return this.offset; } }; - U.ExampleDesignsLoadBuilder.prototype = { - get$_$this: function() { + A.DNAEndsMoveAdjustOffsetBuilder.prototype = { + get$offset(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_selected_idx = $$v.selected_idx; + _this._actions$_offset = $$v.offset; _this._$v = null; } return _this; } }; - U._$BasePairTypeSet.prototype = { - $eq: function(_, other) { + A._$DNAEndsMoveStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.BasePairTypeSet && this.selected_idx === other.selected_idx; + return other instanceof A.DNAEndsMoveStop; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.selected_idx))); + get$hashCode(_) { + return 405840353; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("BasePairTypeSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selected_idx", this.selected_idx); - return t2.toString$0(t1); - } - }; - U.BasePairTypeSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_selected_idx = $$v.selected_idx; - _this._$v = null; - } - return _this; + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStop")); } }; - U._$HelixPositionSet.prototype = { - $eq: function(_, other) { + A._$DNAEndsMoveCommit.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixPositionSet && this.helix_idx === other.helix_idx && this.position.$eq(0, other.position); + return other instanceof A.DNAEndsMoveCommit && J.$eq$(this.dna_ends_move, other.dna_ends_move); }, - get$hashCode: function(_) { - var t1 = this.position; - return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), t1.get$hashCode(t1))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.dna_ends_move))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixPositionSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveCommit"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "position", this.position); + t2.add$2(t1, "dna_ends_move", this.dna_ends_move); return t2.toString$0(t1); - }, - get$helix_idx: function() { - return this.helix_idx; } }; - U.HelixPositionSetBuilder.prototype = { - get$position: function(_) { - var t1 = this.get$_$this(), - t2 = t1._actions$_position; - return t2 == null ? t1._actions$_position = new X.Position3DBuilder() : t2; - }, - get$_$this: function() { + A.DNAEndsMoveCommitBuilder.prototype = { + get$dna_ends_move() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_helix_idx = $$v.helix_idx; - t1 = $$v.position; - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - _this._actions$_position = t2; + t1 = $$v.dna_ends_move; + t1.toString; + t2 = new A.DNAEndsMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DNAEndsMove); + t2._dna_ends_move$_$v = t1; + _this._dna_ends_move = t2; _this._$v = null; } - return _this; + t1 = _this._dna_ends_move; + return t1 == null ? _this._dna_ends_move = new A.DNAEndsMoveBuilder() : t1; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s16_ = "HelixPositionSet", - _$result = null; + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - if (_$result0 == null) { - t1 = _this.get$_$this()._actions$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "helix_idx")); - _$result0 = U._$HelixPositionSet$_(t1, _this.get$position(_this).build$0()); - } - _$result = _$result0; + _$result = _$result0 == null ? A._$DNAEndsMoveCommit$_(_this.get$dna_ends_move()._dna_ends_move$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "position"; - _this.get$position(_this).build$0(); + _$failedField._value = "dna_ends_move"; + _this.get$dna_ends_move()._dna_ends_move$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DNAEndsMoveCommit", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_HelixPositionSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DNAEndsMoveCommit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; } }; - U._$HelixGridPositionSet.prototype = { - $eq: function(_, other) { + A._$DNAExtensionsMoveStart.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.HelixGridPositionSet && J.$eq$(this.helix, other.helix) && this.grid_position.$eq(0, other.grid_position); + return other instanceof A.DNAExtensionsMoveStart && this.start_point.$eq(0, other.start_point) && J.$eq$(this.helix, other.helix); }, - get$hashCode: function(_) { - var t1 = this.grid_position; - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix)), t1.get$hashCode(t1))); + get$hashCode(_) { + var t1 = this.start_point; + return A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), J.get$hashCode$(this.helix))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGridPositionSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStart"), t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "start_point", this.start_point); t2.add$2(t1, "helix", this.helix); - t2.add$2(t1, "grid_position", this.grid_position); return t2.toString$0(t1); } }; - U.HelixGridPositionSetBuilder.prototype = { - get$helix: function() { + A.DNAExtensionsMoveStartBuilder.prototype = { + get$helix() { var t1 = this.get$_$this(), t2 = t1._actions$_helix; if (t2 == null) { - t2 = new O.HelixBuilder(); + t2 = new A.HelixBuilder(); t2.get$_helix$_$this()._group = "default_group"; t2.get$_helix$_$this()._min_offset = 0; t2.get$_helix$_$this()._roll = 0; @@ -99913,38260 +97146,42835 @@ t1 = t2; return t1; }, - get$grid_position: function() { - var t1 = this.get$_$this(), - t2 = t1._actions$_grid_position; - return t2 == null ? t1._actions$_grid_position = new D.GridPositionBuilder() : t2; - }, - get$_$this: function() { + get$_$this() { var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { + _this.set$_actions$_start_point($$v.start_point); t1 = $$v.helix; t1.toString; - t2 = new O.HelixBuilder(); + t2 = new A.HelixBuilder(); t2.get$_helix$_$this()._group = "default_group"; t2.get$_helix$_$this()._min_offset = 0; t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); t2._helix$_$v = t1; _this._actions$_helix = t2; - t1 = $$v.grid_position; - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - _this._actions$_grid_position = t2; _this._$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s22_ = "DNAExtensionsMoveStart", + _$result = null; try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$helix().build$0(); - _$result0 = U._$HelixGridPositionSet$_(_this.get$grid_position().build$0(), t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_start_point, _s22_, "start_point", type$.Point_double); + _$result0 = A._$DNAExtensionsMoveStart$_(_this.get$helix()._helix$_build$0(), t1); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "helix"; - _this.get$helix().build$0(); - _$failedField = "grid_position"; - _this.get$grid_position().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("HelixGridPositionSet", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s22_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_HelixGridPositionSet._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._$v = t1; + t1 = type$.DNAExtensionsMoveStart; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; return _$result; + }, + set$_actions$_start_point(_start_point) { + this._actions$_start_point = type$.nullable_Point_double._as(_start_point); } }; - U._$HelicesPositionsSetBasedOnCrossovers.prototype = { - $eq: function(_, other) { + A._$DNAExtensionsMoveSetSelectedExtensionEnds.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.HelicesPositionsSetBasedOnCrossovers; + return other instanceof A.DNAExtensionsMoveSetSelectedExtensionEnds && J.$eq$(_this.moves, other.moves) && _this.original_point.$eq(0, other.original_point) && J.$eq$(_this.strands_affected, other.strands_affected) && J.$eq$(_this.helix, other.helix); }, - get$hashCode: function(_) { - return 1067021116; + get$hashCode(_) { + var _this = this, + t1 = _this.original_point; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.moves)), A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), J.get$hashCode$(_this.strands_affected)), J.get$hashCode$(_this.helix))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelicesPositionsSetBasedOnCrossovers")); - } - }; - U.HelicesPositionsSetBasedOnCrossoversBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$HelicesPositionsSetBasedOnCrossovers(); - return this._$v = _$result; + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.DNAExt), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_point", _this.original_point); + t2.add$2(t1, "strands_affected", _this.strands_affected); + t2.add$2(t1, "helix", _this.helix); + return t2.toString$0(t1); } }; - U._$InlineInsertionsDeletions.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.InlineInsertionsDeletions; + A.DNAExtensionsMoveSetSelectedExtensionEndsBuilder.prototype = { + get$moves() { + var t1 = this.get$_$this(), + t2 = t1._actions$_moves; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); + t1.set$_actions$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$hashCode: function(_) { - return 40574671; + get$strands_affected() { + var t1 = this.get$_$this(), + t2 = t1._strands_affected; + if (t2 == null) { + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); + t1.set$_strands_affected(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("InlineInsertionsDeletions")); - } - }; - U.InlineInsertionsDeletionsBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$InlineInsertionsDeletions(); - return this._$v = _$result; + get$helix() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.moves; + t1.toString; + _this.set$_actions$_moves(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_original_point($$v.original_point); + t1 = $$v.strands_affected; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_strands_affected(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + t2 = $$v.helix; + t2.toString; + t1 = new A.HelixBuilder(); + t1.get$_helix$_$this()._group = "default_group"; + t1.get$_helix$_$this()._min_offset = 0; + t1.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t2, "other", type$.Helix); + t1._helix$_$v = t2; + _this._actions$_helix = t1; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s41_ = string$.DNAExt, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$moves().build$0(); + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._original_point, _s41_, "original_point", type$.Point_double); + t3 = _this.get$strands_affected().build$0(); + _$result0 = A._$DNAExtensionsMoveSetSelectedExtensionEnds$_(_this.get$helix()._helix$_build$0(), t1, t2, t3); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "moves"; + _this.get$moves().build$0(); + _$failedField._value = "strands_affected"; + _this.get$strands_affected().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s41_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DNAExtensionsMoveSetSelectedExtensionEnds; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions$_moves(_moves) { + this._actions$_moves = type$.nullable_ListBuilder_DNAExtensionMove._as(_moves); + }, + set$_original_point(_original_point) { + this._original_point = type$.nullable_Point_double._as(_original_point); + }, + set$_strands_affected(_strands_affected) { + this._strands_affected = type$.nullable_SetBuilder_Strand._as(_strands_affected); } }; - U._$DefaultCrossoverTypeForSettingHelixRollsSet.prototype = { - $eq: function(_, other) { + A._$DNAExtensionsMoveAdjustPosition.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.DefaultCrossoverTypeForSettingHelixRollsSet && this.scaffold == other.scaffold && this.staple == other.staple; + return other instanceof A.DNAExtensionsMoveAdjustPosition && this.position.$eq(0, other.position); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.scaffold)), J.get$hashCode$(this.staple))); + get$hashCode(_) { + var t1 = this.position; + return A.$jf(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.Defaul), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveAdjustPosition"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "scaffold", this.scaffold); - t2.add$2(t1, "staple", this.staple); + t2.add$2(t1, "position", this.position); return t2.toString$0(t1); } }; - U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder.prototype = { - get$_$this: function() { + A.DNAExtensionsMoveAdjustPositionBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._scaffold = $$v.scaffold; - _this._staple = $$v.staple; + _this.set$_actions$_position(0, $$v.position); _this._$v = null; } return _this; + }, + set$_actions$_position(_, _position) { + this._actions$_position = type$.nullable_Point_double._as(_position); } }; - U._$AutofitSet.prototype = { - $eq: function(_, other) { + A._$DNAExtensionsMoveStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.AutofitSet && this.autofit === other.autofit; + return other instanceof A.DNAExtensionsMoveStop; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.autofit))); + get$hashCode(_) { + return 595080581; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutofitSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "autofit", this.autofit); - return t2.toString$0(t1); - } - }; - U.AutofitSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_autofit = $$v.autofit; - _this._$v = null; - } - return _this; + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStop")); } }; - U._$ShowHelixCirclesMainViewSet.prototype = { - $eq: function(_, other) { + A._$DNAExtensionsMoveCommit.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowHelixCirclesMainViewSet && this.show_helix_circles_main_view === other.show_helix_circles_main_view; + return other instanceof A.DNAExtensionsMoveCommit && J.$eq$(this.dna_extensions_move, other.dna_extensions_move); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helix_circles_main_view))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.dna_extensions_move))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixCirclesMainViewSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveCommit"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_helix_circles_main_view", this.show_helix_circles_main_view); + t2.add$2(t1, "dna_extensions_move", this.dna_extensions_move); return t2.toString$0(t1); } }; - U.ShowHelixCirclesMainViewSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.DNAExtensionsMoveCommitBuilder.prototype = { + get$dna_extensions_move() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; + t1 = $$v.dna_extensions_move; + t1.toString; + t2 = new A.DNAExtensionsMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DNAExtensionsMove); + t2._dna_extensions_move$_$v = t1; + _this._dna_extensions_move = t2; _this._$v = null; } - return _this; + t1 = _this._dna_extensions_move; + return t1 == null ? _this._dna_extensions_move = new A.DNAExtensionsMoveBuilder() : t1; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$DNAExtensionsMoveCommit$_(_this.get$dna_extensions_move()._dna_extensions_move$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "dna_extensions_move"; + _this.get$dna_extensions_move()._dna_extensions_move$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DNAExtensionsMoveCommit", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DNAExtensionsMoveCommit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$ShowHelixComponentsMainViewSet.prototype = { - $eq: function(_, other) { + A._$HelixGroupMoveStart.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowHelixComponentsMainViewSet && this.show_helix_components === other.show_helix_components; + return other instanceof A.HelixGroupMoveStart && this.mouse_point.$eq(0, other.mouse_point); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helix_components))) : t1; + get$hashCode(_) { + var t1 = this.mouse_point; + return A.$jf(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixComponentsMainViewSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStart"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_helix_components", this.show_helix_components); + t2.add$2(t1, "mouse_point", this.mouse_point); return t2.toString$0(t1); } }; - U.ShowHelixComponentsMainViewSetBuilder.prototype = { - get$_$this: function() { + A.HelixGroupMoveStartBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._show_helix_components = $$v.show_helix_components; + _this.set$_mouse_point($$v.mouse_point); _this._$v = null; } return _this; - } - }; - U._$ShowEditMenuToggle.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof U.ShowEditMenuToggle; }, - get$hashCode: function(_) { - return 156767941; - }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowEditMenuToggle")); + set$_mouse_point(_mouse_point) { + this._mouse_point = type$.nullable_Point_double._as(_mouse_point); } }; - U._$ShowGridCoordinatesSideViewSet.prototype = { - $eq: function(_, other) { + A._$HelixGroupMoveCreate.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowGridCoordinatesSideViewSet && this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view; + return other instanceof A.HelixGroupMoveCreate && J.$eq$(this.helix_group_move, other.helix_group_move); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_grid_coordinates_side_view))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.helix_group_move))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowGridCoordinatesSideViewSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCreate"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_grid_coordinates_side_view", this.show_grid_coordinates_side_view); + t2.add$2(t1, "helix_group_move", this.helix_group_move); return t2.toString$0(t1); } }; - U.ShowGridCoordinatesSideViewSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.HelixGroupMoveCreateBuilder.prototype = { + get$helix_group_move() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + t1 = $$v.helix_group_move; + t1.toString; + t2 = new A.HelixGroupMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.HelixGroupMove); + t2._helix_group_move$_$v = t1; + _this._helix_group_move = t2; _this._$v = null; } - return _this; + t1 = _this._helix_group_move; + return t1 == null ? _this._helix_group_move = new A.HelixGroupMoveBuilder() : t1; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$HelixGroupMoveCreate$_(_this.get$helix_group_move()._helix_group_move$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "helix_group_move"; + _this.get$helix_group_move()._helix_group_move$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixGroupMoveCreate", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.HelixGroupMoveCreate; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$ShowAxisArrowsSet.prototype = { - $eq: function(_, other) { + A._$HelixGroupMoveAdjustTranslation.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowAxisArrowsSet && this.show_helices_axis_arrows === other.show_helices_axis_arrows; + return other instanceof A.HelixGroupMoveAdjustTranslation && this.mouse_point.$eq(0, other.mouse_point); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helices_axis_arrows))); + get$hashCode(_) { + var t1 = this.mouse_point; + return A.$jf(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowAxisArrowsSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveAdjustTranslation"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_helices_axis_arrows", this.show_helices_axis_arrows); + t2.add$2(t1, "mouse_point", this.mouse_point); return t2.toString$0(t1); } }; - U.ShowAxisArrowsSetBuilder.prototype = { - get$_$this: function() { + A.HelixGroupMoveAdjustTranslationBuilder.prototype = { + get$_$this() { var _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; + _this.set$_mouse_point($$v.mouse_point); _this._$v = null; } return _this; + }, + set$_mouse_point(_mouse_point) { + this._mouse_point = type$.nullable_Point_double._as(_mouse_point); } }; - U._$ShowLoopoutExtensionLengthSet.prototype = { - $eq: function(_, other) { + A._$HelixGroupMoveStop.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowLoopoutExtensionLengthSet && this.show_length === other.show_length; + return other instanceof A.HelixGroupMoveStop; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_length))); + get$hashCode(_) { + return 16916568; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowLoopoutExtensionLengthSet"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_length", this.show_length); - return t2.toString$0(t1); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStop")); } }; - U.ShowLoopoutExtensionLengthSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._show_length = $$v.show_length; - _this._$v = null; - } - return _this; + A.HelixGroupMoveStopBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$HelixGroupMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelixGroupMoveStop); + return this._$v = _$result; } }; - U._$LoadDnaSequenceImageUri.prototype = { - $eq: function(_, other) { - var _this = this; + A._$HelixGroupMoveCommit.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.LoadDnaSequenceImageUri && _this.uri == other.uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset; + return other instanceof A.HelixGroupMoveCommit && J.$eq$(this.helix_group_move, other.helix_group_move); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.uri)), C.JSNumber_methods.get$hashCode(this.dna_sequence_png_horizontal_offset)), C.JSNumber_methods.get$hashCode(this.dna_sequence_png_vertical_offset))); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.helix_group_move))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDnaSequenceImageUri"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCommit"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "uri", this.uri); - t2.add$2(t1, "dna_sequence_png_horizontal_offset", this.dna_sequence_png_horizontal_offset); - t2.add$2(t1, "dna_sequence_png_vertical_offset", this.dna_sequence_png_vertical_offset); + t2.add$2(t1, "helix_group_move", this.helix_group_move); return t2.toString$0(t1); } }; - U.LoadDnaSequenceImageUriBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.HelixGroupMoveCommitBuilder.prototype = { + get$helix_group_move() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._uri = $$v.uri; - _this._actions$_dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; - _this._actions$_dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; + t1 = $$v.helix_group_move; + t1.toString; + t2 = new A.HelixGroupMoveBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.HelixGroupMove); + t2._helix_group_move$_$v = t1; + _this._helix_group_move = t2; _this._$v = null; } - return _this; + t1 = _this._helix_group_move; + return t1 == null ? _this._helix_group_move = new A.HelixGroupMoveBuilder() : t1; }, - build$0: function() { - var t1, t2, t3, _this = this, - _s23_ = "LoadDnaSequenceImageUri", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._uri; - t2 = _this.get$_$this()._actions$_dna_sequence_png_horizontal_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "dna_sequence_png_horizontal_offset")); - t3 = _this.get$_$this()._actions$_dna_sequence_png_vertical_offset; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "dna_sequence_png_vertical_offset")); - _$result = new U._$LoadDnaSequenceImageUri(t1, t2, t3); + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$HelixGroupMoveCommit$_(_this.get$helix_group_move()._helix_group_move$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "helix_group_move"; + _this.get$helix_group_move()._helix_group_move$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixGroupMoveCommit", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return _this._$v = _$result; + t1 = type$.HelixGroupMoveCommit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$SetIsZoomAboveThreshold.prototype = { - $eq: function(_, other) { + A._$AssignDNA.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SetIsZoomAboveThreshold && this.is_zoom_above_threshold === other.is_zoom_above_threshold; + return other instanceof A.AssignDNA && J.$eq$(this.strand, other.strand) && this.dna_assign_options.$eq(0, other.dna_assign_options); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.is_zoom_above_threshold))); + get$hashCode(_) { + var t1 = this.dna_assign_options; + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), t1.get$hashCode(t1))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetIsZoomAboveThreshold"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNA"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "is_zoom_above_threshold", this.is_zoom_above_threshold); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "dna_assign_options", this.dna_assign_options); return t2.toString$0(t1); } }; - U.SetIsZoomAboveThresholdBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.AssignDNABuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$dna_assign_options() { + var t1 = this.get$_$this(), + t2 = t1._actions$_dna_assign_options; + if (t2 == null) { + t2 = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(t2); + t1._actions$_dna_assign_options = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + t2 = $$v.dna_assign_options; + t1 = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(t1); + A.ArgumentError_checkNotNull(t2, "other", type$.DNAAssignOptions); + t1._dna_assign_options$_$v = t2; + _this._actions$_dna_assign_options = t1; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_is_zoom_above_threshold; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SetIsZoomAboveThreshold", "is_zoom_above_threshold")); - _$result = new U._$SetIsZoomAboveThreshold(t1); + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + _$result0 = A._$AssignDNA$_(_this.get$dna_assign_options()._dna_assign_options$_build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + _$failedField._value = "dna_assign_options"; + _this.get$dna_assign_options()._dna_assign_options$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("AssignDNA", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.AssignDNA; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$SetExportSvgActionDelayedForPngCache.prototype = { - $eq: function(_, other) { + A._$AssignDNAComplementFromBoundStrands.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.SetExportSvgActionDelayedForPngCache && J.$eq$(this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache); + return other instanceof A.AssignDNAComplementFromBoundStrands && J.$eq$(this.strands, other.strands); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.export_svg_action_delayed_for_png_cache))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.strands))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetExportSvgActionDelayedForPngCache"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNAComplementFromBoundStrands"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "export_svg_action_delayed_for_png_cache", this.export_svg_action_delayed_for_png_cache); + t2.add$2(t1, "strands", this.strands); return t2.toString$0(t1); } }; - U.SetExportSvgActionDelayedForPngCacheBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.AssignDNAComplementFromBoundStrandsBuilder.prototype = { + get$strands() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_export_svg_action_delayed_for_png_cache = $$v.export_svg_action_delayed_for_png_cache; + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; + t1 = _this._actions$_strands; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + _this.set$_actions$_strands(t1); + } + return t1; }, - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$SetExportSvgActionDelayedForPngCache(this.get$_$this()._actions$_export_svg_action_delayed_for_png_cache); - return this._$v = _$result; + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s35_ = "AssignDNAComplementFromBoundStrands", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + _$result0 = new A._$AssignDNAComplementFromBoundStrands(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s35_, "strands", type$.BuiltList_Strand); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strands"; + _this.get$strands().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s35_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.AssignDNAComplementFromBoundStrands; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions$_strands(_strands) { + this._actions$_strands = type$.nullable_ListBuilder_Strand._as(_strands); } }; - U._$ShowBasePairLinesSet.prototype = { - $eq: function(_, other) { + A._$AssignDomainNameComplementFromBoundStrands.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowBasePairLinesSet && this.show_base_pair_lines === other.show_base_pair_lines; + return other instanceof A.AssignDomainNameComplementFromBoundStrands && J.$eq$(this.strands, other.strands); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_base_pair_lines))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.strands))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignS), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_base_pair_lines", this.show_base_pair_lines); + t2.add$2(t1, "strands", this.strands); return t2.toString$0(t1); } }; - U.ShowBasePairLinesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.AssignDomainNameComplementFromBoundStrandsBuilder.prototype = { + get$strands() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_show_base_pair_lines = $$v.show_base_pair_lines; + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; + t1 = _this._actions$_strands; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + _this.set$_actions$_strands(t1); + } + return t1; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s42_ = string$.AssignS, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + _$result0 = new A._$AssignDomainNameComplementFromBoundStrands(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s42_, "strands", type$.BuiltList_Strand); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strands"; + _this.get$strands().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s42_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.AssignDomainNameComplementFromBoundStrands; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions$_strands(_strands) { + this._actions$_strands = type$.nullable_ListBuilder_Strand._as(_strands); } }; - U._$ShowBasePairLinesWithMismatchesSet.prototype = { - $eq: function(_, other) { + A._$AssignDomainNameComplementFromBoundDomains.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ShowBasePairLinesWithMismatchesSet && this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches; + return other instanceof A.AssignDomainNameComplementFromBoundDomains && J.$eq$(this.domains, other.domains); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_base_pair_lines_with_mismatches))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.domains))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesWithMismatchesSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignD), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show_base_pair_lines_with_mismatches", this.show_base_pair_lines_with_mismatches); + t2.add$2(t1, "domains", this.domains); return t2.toString$0(t1); } }; - U.ShowBasePairLinesWithMismatchesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.AssignDomainNameComplementFromBoundDomainsBuilder.prototype = { + get$domains() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + t1 = $$v.domains; + t1.toString; + _this.set$_domains(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._$v = null; } - return _this; + t1 = _this._domains; + if (t1 == null) { + t1 = A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); + _this.set$_domains(t1); + } + return t1; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s42_ = string$.AssignD, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domains().build$0(); + _$result0 = new A._$AssignDomainNameComplementFromBoundDomains(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s42_, "domains", type$.BuiltList_Domain); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domains"; + _this.get$domains().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s42_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.AssignDomainNameComplementFromBoundDomains; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_domains(_domains) { + this._domains = type$.nullable_ListBuilder_Domain._as(_domains); } }; - U._$ShowSliceBarSet.prototype = { - $eq: function(_, other) { + A._$RemoveDNA.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.ShowSliceBarSet && this.show === other.show; + return other instanceof A.RemoveDNA && J.$eq$(_this.strand, other.strand) && _this.remove_complements === other.remove_complements && _this.remove_all === other.remove_all; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), B.JSBool_methods.get$hashCode(this.remove_complements)), B.JSBool_methods.get$hashCode(this.remove_all))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowSliceBarSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RemoveDNA"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "show", this.show); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "remove_complements", this.remove_complements); + t2.add$2(t1, "remove_all", this.remove_all); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.ShowSliceBarSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.RemoveDNABuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._show = $$v.show; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._remove_complements = $$v.remove_complements; + _this._remove_all = $$v.remove_all; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._show; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ShowSliceBarSet", "show")); - _$result = new U._$ShowSliceBarSet(t1); + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s9_ = "RemoveDNA", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + t2 = type$.bool; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._remove_complements, _s9_, "remove_complements", t2); + _$result0 = A._$RemoveDNA$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._remove_all, _s9_, "remove_all", t2), t3, t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s9_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.RemoveDNA; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$SliceBarOffsetSet.prototype = { - $eq: function(_, other) { + A._$InsertionAdd.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.SliceBarOffsetSet && this.offset == other.offset; + return other instanceof A.InsertionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.domain)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SliceBarOffsetSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionAdd"), t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); return t2.toString$0(t1); }, - get$offset: function(receiver) { + get$domain(receiver) { + return this.domain; + }, + get$offset(receiver) { return this.offset; + }, + get$all_helices() { + return this.all_helices; } }; - U.SliceBarOffsetSetBuilder.prototype = { - get$offset: function(_) { + A.InsertionAddBuilder.prototype = { + get$domain(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; + }, + get$offset(_) { return this.get$_$this()._actions$_offset; }, - get$_$this: function() { - var _this = this, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._actions$_domain = t2; _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$SliceBarOffsetSet(this.get$_$this()._actions$_offset); - return this._$v = _$result; + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s12_ = "InsertionAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this)._domain$_build$0(); + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, _s12_, "offset", type$.int); + _$result0 = A._$InsertionAdd$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s12_, "all_helices", type$.bool), t1, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.InsertionAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$DisablePngCachingDnaSequencesSet.prototype = { - $eq: function(_, other) { + A._$InsertionLengthChange.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.DisablePngCachingDnaSequencesSet && this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences; + return other instanceof A.InsertionLengthChange && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.length === other.length && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.disable_png_caching_dna_sequences))); + get$hashCode(_) { + var _this = this, + t1 = _this.insertion; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.domain)), t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisablePngCachingDnaSequencesSet"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionLengthChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "disable_png_caching_dna_sequences", this.disable_png_caching_dna_sequences); + t2.add$2(t1, "domain", _this.domain); + t2.add$2(t1, "insertion", _this.insertion); + t2.add$2(t1, "length", _this.length); + t2.add$2(t1, "all_helices", _this.all_helices); return t2.toString$0(t1); + }, + get$domain(receiver) { + return this.domain; + }, + get$length(receiver) { + return this.length; + }, + get$all_helices() { + return this.all_helices; } }; - U.DisablePngCachingDnaSequencesSetBuilder.prototype = { - get$_$this: function() { - var _this = this, - $$v = _this._$v; - if ($$v != null) { - _this._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + A.InsertionLengthChangeBuilder.prototype = { + get$domain(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; + }, + get$insertion() { + var t1 = this.get$_$this(), + t2 = t1._insertion; + return t2 == null ? t1._insertion = new A.InsertionBuilder() : t2; + }, + get$length(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + t2 = $$v.insertion; + t1 = new A.InsertionBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Insertion); + t1._domain$_$v = t2; + _this._insertion = t1; + _this._actions$_length = $$v.length; + _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_disable_png_caching_dna_sequences; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DisablePngCachingDnaSequencesSet", "disable_png_caching_dna_sequences")); - _$result = new U._$DisablePngCachingDnaSequencesSet(t1); + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s21_ = "InsertionLengthChange", + _s11_ = "all_helices", + _s9_ = "insertion", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this)._domain$_build$0(); + t2 = _this.get$insertion()._domain$_build$0(); + t3 = type$.int; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_length, _s21_, "length", t3); + t5 = type$.bool; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s21_, _s11_, t5); + _$result0 = new A._$InsertionLengthChange(t1, t2, t4, t6); + A.BuiltValueNullFieldError_checkNotNull(t1, _s21_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(t2, _s21_, _s9_, type$.Insertion); + A.BuiltValueNullFieldError_checkNotNull(t4, _s21_, "length", t3); + A.BuiltValueNullFieldError_checkNotNull(t6, _s21_, _s11_, t5); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + _$failedField._value = _s9_; + _this.get$insertion()._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s21_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.InsertionLengthChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$RetainStrandColorOnSelectionSet.prototype = { - $eq: function(_, other) { + A._$InsertionsLengthChange.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.RetainStrandColorOnSelectionSet && this.retain_strand_color_on_selection === other.retain_strand_color_on_selection; + return other instanceof A.InsertionsLengthChange && J.$eq$(_this.insertions, other.insertions) && J.$eq$(_this.domains, other.domains) && _this.length === other.length && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.retain_strand_color_on_selection))); + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.insertions)), J.get$hashCode$(_this.domains)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("RetainStrandColorOnSelectionSet"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionsLengthChange"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "retain_strand_color_on_selection", this.retain_strand_color_on_selection); + t2.add$2(t1, "insertions", _this.insertions); + t2.add$2(t1, "domains", _this.domains); + t2.add$2(t1, "length", _this.length); + t2.add$2(t1, "all_helices", _this.all_helices); return t2.toString$0(t1); + }, + get$length(receiver) { + return this.length; } }; - U.RetainStrandColorOnSelectionSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.InsertionsLengthChangeBuilder.prototype = { + get$insertions() { + var t1 = this.get$_$this(), + t2 = t1._actions$_insertions; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); + t1.set$_actions$_insertions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$domains() { + var t1 = this.get$_$this(), + t2 = t1._domains; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); + t1.set$_domains(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$length(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this() { + var t1, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + t1 = $$v.insertions; + t1.toString; + _this.set$_actions$_insertions(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.domains; + t1.toString; + _this.set$_domains(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_length = $$v.length; + _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_retain_strand_color_on_selection; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("RetainStrandColorOnSelectionSet", "retain_strand_color_on_selection")); - _$result = new U._$RetainStrandColorOnSelectionSet(t1); + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s22_ = "InsertionsLengthChange", + _s11_ = "all_helices", + _s10_ = "insertions", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$insertions().build$0(); + t2 = _this.get$domains().build$0(); + t3 = type$.int; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_length, _s22_, "length", t3); + t5 = type$.bool; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s22_, _s11_, t5); + _$result0 = new A._$InsertionsLengthChange(t1, t2, t4, t6); + A.BuiltValueNullFieldError_checkNotNull(t1, _s22_, _s10_, type$.BuiltList_Insertion); + A.BuiltValueNullFieldError_checkNotNull(t2, _s22_, "domains", type$.BuiltList_Domain); + A.BuiltValueNullFieldError_checkNotNull(t4, _s22_, "length", t3); + A.BuiltValueNullFieldError_checkNotNull(t6, _s22_, _s11_, t5); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s10_; + _this.get$insertions().build$0(); + _$failedField._value = "domains"; + _this.get$domains().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s22_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.InsertionsLengthChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions$_insertions(_insertions) { + this._actions$_insertions = type$.nullable_ListBuilder_Insertion._as(_insertions); + }, + set$_domains(_domains) { + this._domains = type$.nullable_ListBuilder_Domain._as(_domains); } }; - U._$DisplayReverseDNARightSideUpSet.prototype = { - $eq: function(_, other) { + A._$DeletionAdd.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.DisplayReverseDNARightSideUpSet && this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up; + return other instanceof A.DeletionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.display_reverse_DNA_right_side_up))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.domain)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayReverseDNARightSideUpSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionAdd"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "display_reverse_DNA_right_side_up", this.display_reverse_DNA_right_side_up); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); return t2.toString$0(t1); + }, + get$domain(receiver) { + return this.domain; + }, + get$offset(receiver) { + return this.offset; + }, + get$all_helices() { + return this.all_helices; } }; - U.DisplayReverseDNARightSideUpSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.DeletionAddBuilder.prototype = { + get$domain(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; + }, + get$offset(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._actions$_display_reverse_DNA_right_side_up; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("DisplayReverseDNARightSideUpSet", "display_reverse_DNA_right_side_up")); - _$result = new U._$DisplayReverseDNARightSideUpSet(t1); + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "DeletionAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this)._domain$_build$0(); + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, _s11_, "offset", type$.int); + _$result0 = A._$DeletionAdd$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s11_, "all_helices", type$.bool), t1, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.DeletionAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$SliceBarMoveStart.prototype = { - $eq: function(_, other) { + A._$InsertionRemove.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.SliceBarMoveStart; + return other instanceof A.InsertionRemove && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return 405947091; + get$hashCode(_) { + var t1 = this.insertion; + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.domain)), t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.all_helices))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStart")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "insertion", this.insertion); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain(receiver) { + return this.domain; + }, + get$all_helices() { + return this.all_helices; } }; - U.SliceBarMoveStartBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$SliceBarMoveStart(); - return this._$v = _$result; + A.InsertionRemoveBuilder.prototype = { + get$domain(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; + }, + get$insertion() { + var t1 = this.get$_$this(), + t2 = t1._insertion; + return t2 == null ? t1._insertion = new A.InsertionBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + t2 = $$v.insertion; + t1 = new A.InsertionBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Insertion); + t1._domain$_$v = t2; + _this._insertion = t1; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s15_ = "InsertionRemove", + _s11_ = "all_helices", + _s9_ = "insertion", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this)._domain$_build$0(); + t2 = _this.get$insertion()._domain$_build$0(); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s15_, _s11_, t3); + _$result0 = new A._$InsertionRemove(t1, t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t1, _s15_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(t2, _s15_, _s9_, type$.Insertion); + A.BuiltValueNullFieldError_checkNotNull(t4, _s15_, _s11_, t3); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + _$failedField._value = _s9_; + _this.get$insertion()._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s15_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.InsertionRemove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$SliceBarMoveStop.prototype = { - $eq: function(_, other) { + A._$DeletionRemove.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.SliceBarMoveStop; + return other instanceof A.DeletionRemove && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, - get$hashCode: function(_) { - return 186948767; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.domain)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStop")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain(receiver) { + return this.domain; + }, + get$offset(receiver) { + return this.offset; + }, + get$all_helices() { + return this.all_helices; } }; - U.SliceBarMoveStopBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$SliceBarMoveStop(); - return this._$v = _$result; + A.DeletionRemoveBuilder.prototype = { + get$domain(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new A.DomainBuilder() : t2; + }, + get$offset(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s14_ = "DeletionRemove", + _s11_ = "all_helices", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this)._domain$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, _s14_, "offset", t2); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._all_helices, _s14_, _s11_, t4); + _$result0 = new A._$DeletionRemove(t1, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t1, _s14_, "domain", type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(t3, _s14_, "offset", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s14_, _s11_, t4); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DeletionRemove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$Autostaple.prototype = { - $eq: function(_, other) { + A._$ScalePurificationVendorFieldsAssign.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.Autostaple; + return other instanceof A.ScalePurificationVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); }, - get$hashCode: function(_) { - return 574995319; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); }, - toString$0: function(_) { - return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("Autostaple")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScalePurificationVendorFieldsAssign"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "vendor_fields", this.vendor_fields); + return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.AutostapleBuilder.prototype = { - build$0: function() { - var _$result = this._$v; - if (_$result == null) - _$result = new U._$Autostaple(); - return this._$v = _$result; + A.ScalePurificationVendorFieldsAssignBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$vendor_fields() { + var t1 = this.get$_$this(), + t2 = t1._actions$_vendor_fields; + return t2 == null ? t1._actions$_vendor_fields = new A.VendorFieldsBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + t2 = $$v.vendor_fields; + t2.toString; + t1 = new A.VendorFieldsBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.VendorFields); + t1._vendor_fields$_$v = t2; + _this._actions$_vendor_fields = t1; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$ScalePurificationVendorFieldsAssign$_(_this.get$strand()._strand$_build$0(), _this.get$vendor_fields()._vendor_fields$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + _$failedField._value = "vendor_fields"; + _this.get$vendor_fields()._vendor_fields$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("ScalePurificationVendorFieldsAssign", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ScalePurificationVendorFieldsAssign; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$Autobreak.prototype = { - $eq: function(_, other) { - var _this = this; + A._$PlateWellVendorFieldsAssign.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.Autobreak && _this.target_length === other.target_length && _this.min_length === other.min_length && _this.max_length === other.max_length && _this.min_distance_to_xover === other.min_distance_to_xover; + return other instanceof A.PlateWellVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); }, - get$hashCode: function(_) { - var _this = this; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.target_length)), C.JSInt_methods.get$hashCode(_this.min_length)), C.JSInt_methods.get$hashCode(_this.max_length)), C.JSInt_methods.get$hashCode(_this.min_distance_to_xover))); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Autobreak"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsAssign"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "target_length", _this.target_length); - t2.add$2(t1, "min_length", _this.min_length); - t2.add$2(t1, "max_length", _this.max_length); - t2.add$2(t1, "min_distance_to_xover", _this.min_distance_to_xover); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "vendor_fields", this.vendor_fields); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.AutobreakBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.PlateWellVendorFieldsAssignBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$vendor_fields() { + var t1 = this.get$_$this(), + t2 = t1._actions$_vendor_fields; + return t2 == null ? t1._actions$_vendor_fields = new A.VendorFieldsBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._target_length = $$v.target_length; - _this._min_length = $$v.min_length; - _this._max_length = $$v.max_length; - _this._min_distance_to_xover = $$v.min_distance_to_xover; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + t2 = $$v.vendor_fields; + t2.toString; + t1 = new A.VendorFieldsBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.VendorFields); + t1._vendor_fields$_$v = t2; + _this._actions$_vendor_fields = t1; _this._$v = null; } return _this; }, - build$0: function() { - var t1, t2, t3, t4, _this = this, - _s9_ = "Autobreak", - _$result = _this._$v; - if (_$result == null) { - t1 = _this.get$_$this()._target_length; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "target_length")); - t2 = _this.get$_$this()._min_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "min_length")); - t3 = _this.get$_$this()._max_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "max_length")); - t4 = _this.get$_$this()._min_distance_to_xover; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "min_distance_to_xover")); - _$result = new U._$Autobreak(t1, t2, t3, t4); + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$PlateWellVendorFieldsAssign$_(_this.get$strand()._strand$_build$0(), _this.get$vendor_fields()._vendor_fields$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + _$failedField._value = "vendor_fields"; + _this.get$vendor_fields()._vendor_fields$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("PlateWellVendorFieldsAssign", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return _this._$v = _$result; + t1 = type$.PlateWellVendorFieldsAssign; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$ZoomSpeedSet.prototype = { - $eq: function(_, other) { + A._$PlateWellVendorFieldsRemove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.ZoomSpeedSet && this.speed == other.speed; + return other instanceof A.PlateWellVendorFieldsRemove && J.$eq$(this.strand, other.strand); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.speed))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.strand))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ZoomSpeedSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsRemove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "speed", this.speed); + t2.add$2(t1, "strand", this.strand); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.ZoomSpeedSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.PlateWellVendorFieldsRemoveBuilder.prototype = { + get$strand() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._speed = $$v.speed; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; _this._$v = null; } - return _this; + t1 = _this._strand; + return t1 == null ? _this._strand = new A.StrandBuilder() : t1; + }, + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$PlateWellVendorFieldsRemove$_(_this.get$strand()._strand$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("PlateWellVendorFieldsRemove", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.PlateWellVendorFieldsRemove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$OxdnaExport.prototype = { - $eq: function(_, other) { + A._$VendorFieldsRemove.prototype = { + $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof U.OxdnaExport && this.selected_strands_only === other.selected_strands_only; + return other instanceof A.VendorFieldsRemove && J.$eq$(this.strand, other.strand); }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.selected_strands_only))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.strand))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxdnaExport"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFieldsRemove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + t2.add$2(t1, "strand", this.strand); return t2.toString$0(t1); }, - get$selected_strands_only: function() { - return this.selected_strands_only; + get$strand() { + return this.strand; } }; - U.OxdnaExportBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.VendorFieldsRemoveBuilder.prototype = { + get$strand() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._selected_strands_only = $$v.selected_strands_only; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; _this._$v = null; } - return _this; + t1 = _this._strand; + return t1 == null ? _this._strand = new A.StrandBuilder() : t1; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._selected_strands_only; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("OxdnaExport", "selected_strands_only")); - _$result = new U._$OxdnaExport(t1); + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$VendorFieldsRemove$_(_this.get$strand()._strand$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("VendorFieldsRemove", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.VendorFieldsRemove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$OxviewExport.prototype = { - $eq: function(_, other) { + A._$ModificationAdd.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.OxviewExport && this.selected_strands_only === other.selected_strands_only; + return other instanceof A.ModificationAdd && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.selected_strands_only))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewExport"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationAdd"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); return t2.toString$0(t1); }, - get$selected_strands_only: function() { - return this.selected_strands_only; + get$strand() { + return this.strand; } }; - U.OxviewExportBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.ModificationAddBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._selected_strands_only = $$v.selected_strands_only; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; _this._$v = null; } return _this; }, - build$0: function() { - var t1, - _$result = this._$v; - if (_$result == null) { - t1 = this.get$_$this()._selected_strands_only; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("OxviewExport", "selected_strands_only")); - _$result = new U._$OxviewExport(t1); + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s15_ = "ModificationAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + _$result0 = A._$ModificationAdd$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._modification, _s15_, "modification", type$.Modification), t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s15_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return this._$v = _$result; + t1 = type$.ModificationAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._$OxExportOnlySelectedStrandsSet.prototype = { - $eq: function(_, other) { + A._$ModificationRemove.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof U.OxExportOnlySelectedStrandsSet && this.only_selected === other.only_selected; + return other instanceof A.ModificationRemove && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, - get$hashCode: function(_) { - var t1 = this._actions$__hashCode; - return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_selected))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxExportOnlySelectedStrandsSet"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationRemove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "only_selected", this.only_selected); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - U.OxExportOnlySelectedStrandsSetBuilder.prototype = { - get$_$this: function() { - var _this = this, + A.ModificationRemoveBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, $$v = _this._$v; if ($$v != null) { - _this._only_selected = $$v.only_selected; + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; _this._$v = null; } return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s18_ = "ModificationRemove", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + _$result0 = A._$ModificationRemove$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._modification, _s18_, "modification", type$.Modification), t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ModificationRemove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - U._AssignDNA_Object_BuiltJsonSerializable.prototype = {}; - U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; - U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable.prototype = {}; - U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; - U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._AutoPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; - U._Autobreak_Object_BuiltJsonSerializable.prototype = {}; - U._AutofitSet_Object_BuiltJsonSerializable.prototype = {}; - U._Autostaple_Object_BuiltJsonSerializable.prototype = {}; - U._BasePairTypeSet_Object_BuiltJsonSerializable.prototype = {}; - U._BatchAction_Object_BuiltJsonSerializable.prototype = {}; - U._BatchAction_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable.prototype = {}; - U._ContextMenuHide_Object_BuiltJsonSerializable.prototype = {}; - U._ContextMenuShow_Object_BuiltJsonSerializable.prototype = {}; - U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable.prototype = {}; - U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable.prototype = {}; - U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable.prototype = {}; - U._CopySelectedStrands_Object_BuiltJsonSerializable.prototype = {}; - U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; - U._DNAEndsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; - U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable.prototype = {}; - U._DNAEndsMoveStart_Object_BuiltJsonSerializable.prototype = {}; - U._DNAEndsMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable.prototype = {}; - U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; - U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable.prototype = {}; - U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable.prototype = {}; - U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable.prototype = {}; - U._DeleteAllSelected_Object_BuiltJsonSerializable.prototype = {}; - U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DeletionAdd_Object_BuiltJsonSerializable.prototype = {}; - U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DeletionRemove_Object_BuiltJsonSerializable.prototype = {}; - U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DialogHide_Object_BuiltJsonSerializable.prototype = {}; - U._DialogShow_Object_BuiltJsonSerializable.prototype = {}; - U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable.prototype = {}; - U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable.prototype = {}; - U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable.prototype = {}; - U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._DomainNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; - U._DomainsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; - U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable.prototype = {}; - U._DomainsMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable.prototype = {}; - U._EditModeToggle_Object_BuiltJsonSerializable.prototype = {}; - U._EditModesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ErrorMessageSet_Object_BuiltJsonSerializable.prototype = {}; - U._ExampleDesignsLoad_Object_BuiltJsonSerializable.prototype = {}; - U._ExportCadnanoFile_Object_BuiltJsonSerializable.prototype = {}; - U._ExportCanDoDNA_Object_BuiltJsonSerializable.prototype = {}; - U._ExportCodenanoFile_Object_BuiltJsonSerializable.prototype = {}; - U._ExportDNA_Object_BuiltJsonSerializable.prototype = {}; - U._ExportSvg_Object_BuiltJsonSerializable.prototype = {}; - U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable.prototype = {}; - U._ExtensionAdd_Object_BuiltJsonSerializable.prototype = {}; - U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable.prototype = {}; - U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ExtensionNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; - U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; - U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._GeometrySet_Object_BuiltJsonSerializable.prototype = {}; - U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._GridChange_Object_BuiltJsonSerializable.prototype = {}; - U._GridChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._GroupAdd_Object_BuiltJsonSerializable.prototype = {}; - U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._GroupChange_Object_BuiltJsonSerializable.prototype = {}; - U._GroupChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._GroupDisplayedChange_Object_BuiltJsonSerializable.prototype = {}; - U._GroupRemove_Object_BuiltJsonSerializable.prototype = {}; - U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable.prototype = {}; - U._HelixAdd_Object_BuiltJsonSerializable.prototype = {}; - U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixGridPositionSet_Object_BuiltJsonSerializable.prototype = {}; - U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable.prototype = {}; - U._HelixGroupMoveCommit_Object_BuiltJsonSerializable.prototype = {}; - U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixGroupMoveCreate_Object_BuiltJsonSerializable.prototype = {}; - U._HelixGroupMoveStart_Object_BuiltJsonSerializable.prototype = {}; - U._HelixGroupMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._HelixIdxsChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickStartChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTicksChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixOffsetChange_Object_BuiltJsonSerializable.prototype = {}; - U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixOffsetChangeAll_Object_BuiltJsonSerializable.prototype = {}; - U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixPositionSet_Object_BuiltJsonSerializable.prototype = {}; - U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixRemove_Object_BuiltJsonSerializable.prototype = {}; - U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixRemoveAllSelected_Object_BuiltJsonSerializable.prototype = {}; - U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixRollSet_Object_BuiltJsonSerializable.prototype = {}; - U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixRollSetAtOther_Object_BuiltJsonSerializable.prototype = {}; - U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._HelixSelect_Object_BuiltJsonSerializable.prototype = {}; - U._HelixSelectionsAdjust_Object_BuiltJsonSerializable.prototype = {}; - U._HelixSelectionsClear_Object_BuiltJsonSerializable.prototype = {}; - U._InlineInsertionsDeletions_Object_BuiltJsonSerializable.prototype = {}; - U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._InsertionAdd_Object_BuiltJsonSerializable.prototype = {}; - U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._InsertionLengthChange_Object_BuiltJsonSerializable.prototype = {}; - U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._InsertionRemove_Object_BuiltJsonSerializable.prototype = {}; - U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._InsertionsLengthChange_Object_BuiltJsonSerializable.prototype = {}; - U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._InvertYSet_Object_BuiltJsonSerializable.prototype = {}; - U._JoinStrandsByCrossover_Object_BuiltJsonSerializable.prototype = {}; - U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable.prototype = {}; - U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._Ligate_Object_BuiltJsonSerializable.prototype = {}; - U._Ligate_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._LoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; - U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; - U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable.prototype = {}; - U._LoadingDialogHide_Object_BuiltJsonSerializable.prototype = {}; - U._LoadingDialogShow_Object_BuiltJsonSerializable.prototype = {}; - U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable.prototype = {}; - U._LoopoutLengthChange_Object_BuiltJsonSerializable.prototype = {}; - U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._LoopoutsLengthChange_Object_BuiltJsonSerializable.prototype = {}; - U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._ManualPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationAdd_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationEdit_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ModificationFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationRemove_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._Modifications3PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; - U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._Modifications5PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; - U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ModificationsInternalEdit_Object_BuiltJsonSerializable.prototype = {}; - U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._MouseGridPositionSideClear_Object_BuiltJsonSerializable.prototype = {}; - U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; - U._MousePositionSideClear_Object_BuiltJsonSerializable.prototype = {}; - U._MousePositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; - U._MouseoverDataClear_Object_BuiltJsonSerializable.prototype = {}; - U._MouseoverDataUpdate_Object_BuiltJsonSerializable.prototype = {}; - U._MoveHelicesToGroup_Object_BuiltJsonSerializable.prototype = {}; - U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._MoveLinker_Object_BuiltJsonSerializable.prototype = {}; - U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._NewDesignSet_Object_BuiltJsonSerializable.prototype = {}; - U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._Nick_Object_BuiltJsonSerializable.prototype = {}; - U._Nick_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable.prototype = {}; - U._OxdnaExport_Object_BuiltJsonSerializable.prototype = {}; - U._OxviewExport_Object_BuiltJsonSerializable.prototype = {}; - U._OxviewShowSet_Object_BuiltJsonSerializable.prototype = {}; - U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; - U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; - U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._PotentialCrossoverCreate_Object_BuiltJsonSerializable.prototype = {}; - U._PotentialCrossoverMove_Object_BuiltJsonSerializable.prototype = {}; - U._PotentialCrossoverRemove_Object_BuiltJsonSerializable.prototype = {}; - U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; - U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; - U._Redo_Object_BuiltJsonSerializable.prototype = {}; - U._Redo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; - U._RelaxHelixRolls_Object_BuiltJsonSerializable.prototype = {}; - U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._RemoveDNA_Object_BuiltJsonSerializable.prototype = {}; - U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ReplaceStrands_Object_BuiltJsonSerializable.prototype = {}; - U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ResetLocalStorage_Object_BuiltJsonSerializable.prototype = {}; - U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable.prototype = {}; - U._SaveDNAFile_Object_BuiltJsonSerializable.prototype = {}; - U._ScaffoldSet_Object_BuiltJsonSerializable.prototype = {}; - U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; - U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._Select_Object_BuiltJsonSerializable.prototype = {}; - U._SelectAll_Object_BuiltJsonSerializable.prototype = {}; - U._SelectAllSelectable_Object_BuiltJsonSerializable.prototype = {}; - U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable.prototype = {}; - U._SelectModeToggle_Object_BuiltJsonSerializable.prototype = {}; - U._SelectModesAdd_Object_BuiltJsonSerializable.prototype = {}; - U._SelectModesSet_Object_BuiltJsonSerializable.prototype = {}; - U._SelectOrToggleItems_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionBoxCreate_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionBoxRemove_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionBoxSizeChange_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionRopeAddPoint_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionRopeCreate_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionRopeMouseMove_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionRopeRemove_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionsAdjustMainView_Object_BuiltJsonSerializable.prototype = {}; - U._SelectionsClear_Object_BuiltJsonSerializable.prototype = {}; - U._SetAppUIStateStorable_Object_BuiltJsonSerializable.prototype = {}; - U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable.prototype = {}; - U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable.prototype = {}; - U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable.prototype = {}; - U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable.prototype = {}; - U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable.prototype = {}; - U._SetModificationDisplayConnector_Object_BuiltJsonSerializable.prototype = {}; - U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable.prototype = {}; - U._ShowAxisArrowsSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowBasePairLinesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowDNASet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowDomainLabelsSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowDomainNamesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowEditMenuToggle_Object_BuiltJsonSerializable.prototype = {}; - U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowModificationsSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowMouseoverDataSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowMouseoverRectSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable.prototype = {}; - U._ShowSliceBarSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowStrandLabelsSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowStrandNamesSet_Object_BuiltJsonSerializable.prototype = {}; - U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable.prototype = {}; - U._SkipUndo_Object_BuiltJsonSerializable.prototype = {}; - U._SliceBarMoveStart_Object_BuiltJsonSerializable.prototype = {}; - U._SliceBarMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._SliceBarOffsetSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; - U._StrandCreateCommit_Object_BuiltJsonSerializable.prototype = {}; - U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._StrandCreateStart_Object_BuiltJsonSerializable.prototype = {}; - U._StrandCreateStop_Object_BuiltJsonSerializable.prototype = {}; - U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._StrandNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandNameSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable.prototype = {}; - U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable.prototype = {}; - U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._StrandsMoveStart_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsMoveStop_Object_BuiltJsonSerializable.prototype = {}; - U._StrandsReflect_Object_BuiltJsonSerializable.prototype = {}; - U._SubstrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; - U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._SubstrandNameSet_Object_BuiltJsonSerializable.prototype = {}; - U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._ThrottledActionFast_Object_BuiltJsonSerializable.prototype = {}; - U._ThrottledActionNonFast_Object_BuiltJsonSerializable.prototype = {}; - U._Undo_Object_BuiltJsonSerializable.prototype = {}; - U._Undo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; - U._UndoRedoClear_Object_BuiltJsonSerializable.prototype = {}; - U._VendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; - U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; - U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable.prototype = {}; - U._ZoomSpeedSet_Object_BuiltJsonSerializable.prototype = {}; - G.App.prototype = { - start$0: function(_) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$self = this, t2, msg, state, app_root_element, t3, t4, t5, t6, t7, t8, t9, menu_design_separator, design_mode_separator, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, side_main_separator, t20, t21, t22, t23, t24, t25, t26, t27, t28, drop_shadow, filter_element, defns, main_arrows, side_arrows, side_view_svg_viewport, main_view_svg_viewport, side_view_dummy_elt, main_view_dummy_elt, side_pane_width, main_pane_width, store, t1; - var $async$start$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - if (t1 !== $.$get$chrome()) - t2 = t1 === $.$get$firefox(); - else - t2 = true; - if (!t2) { - msg = "You appear to be using " + t1.name + ". scadnano does not currently support this browser. Please use Chrome or Firefox instead."; - C.Window_methods.alert$1(window, msg); - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - P.print("current browser: " + t1.name); - } - state = $.$get$DEFAULT_AppState(); - P.print('SCADNANO_PROD = "true", so Redux Devtools disabled'); - $async$self.set$store(0, X.Store$(U.app_state_reducer__app_state_reducer$closure(), state, $.$get$all_middleware(), false, type$.legacy_AppState)); - $async$self.set$store_selection_rope(X.Store$($.$get$optimized_selection_rope_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionRope_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_SelectionRope)); - $async$self.set$store_selection_box(X.Store$($.$get$optimized_selection_box_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionBox_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_SelectionBox)); - $async$self.set$store_potential_crossover(X.Store$($.$get$optimized_potential_crossover_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_PotentialCrossover_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_PotentialCrossover)); - $async$self.set$store_extensions_move(X.Store$($.$get$optimized_dna_extensions_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAExtensionsMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_DNAExtensionsMove)); - $async$self.set$store_dna_ends_move(X.Store$($.$get$optimized_dna_ends_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAEndsMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_DNAEndsMove)); - $async$self.set$store_helix_group_move(X.Store$($.$get$optimized_helix_group_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_HelixGroupMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_HelixGroupMove)); - G.setup_undo_redo_keyboard_listeners(); - G.setup_save_open_dna_file_keyboard_listeners(); - G.copy_selected_strands_to_clipboard_image_keyboard_listeners(); - S.restore_all_local_storage($.app.store); - $async$self.setup_warning_before_unload$0(); - $async$self.setup_save_design_to_localStorage_before_unload$0(); - t1 = $async$self.store; - t1.get$state(t1); - window.dart_main_view_pointer_up = P.allowInterop(U.design__main_view_pointer_up$closure(), type$.legacy_Function); - t1 = document; - app_root_element = type$.legacy_DivElement._as(t1.querySelector("#top-container")); - t2 = t1.createElement("div"); - t3 = type$.legacy_String; - C.DivElement_methods.set$attributes(t2, P.LinkedHashMap_LinkedHashMap$_literal(["id", "modes-buttons"], t3, t3)); - t4 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t4, P.LinkedHashMap_LinkedHashMap$_literal(["id", "menu"], t3, t3)); - t5 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t5, P.LinkedHashMap_LinkedHashMap$_literal(["id", "nonmenu-panes-container"], t3, t3)); - t6 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t6, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-pane"], t3, t3)); - t7 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-and-modes-buttons-container", "class", "split"], t3, t3)); - t8 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t8, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-oxview-separator", "class", "draggable-separator"], t3, t3)); - t9 = new Q.View(app_root_element, t2, t4, t5, t6, t7, t8); - Q.setup_file_drag_and_drop_listener(app_root_element); - app_root_element.appendChild(t4); - menu_design_separator = t1.createElement("div"); - C.DivElement_methods.set$attributes(menu_design_separator, P.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-horizontal-separator"], t3, t3)); - app_root_element.appendChild(menu_design_separator); - app_root_element.appendChild(t5); - t5.appendChild(t7); - t7.appendChild(t6); - design_mode_separator = t1.createElement("div"); - C.DivElement_methods.set$attributes(design_mode_separator, P.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-vertical-separator"], t3, t3)); - t7.appendChild(design_mode_separator); - t7.appendChild(t2); - t7 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design"], t3, t3)); - t10 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t10, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-separator", "class", "fixed-separator"], t3, t3)); - t11 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t11, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-mouse-over"], t3, t3)); - t12 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t12, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-mode-buttons"], t3, t3)); - t13 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t13, P.LinkedHashMap_LinkedHashMap$_literal(["id", "error-message-pane"], t3, t3)); - t14 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t14, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-menu"], t3, t3)); - t15 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t15, P.LinkedHashMap_LinkedHashMap$_literal(["id", "context-menu-container"], t3, t3)); - t16 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t16, P.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-form-container"], t3, t3)); - t17 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t17, P.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-loading-container"], t3, t3)); - t18 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t18, P.LinkedHashMap_LinkedHashMap$_literal(["id", "strand-color-picker-container"], t3, t3)); - t19 = type$.Point_legacy_num; - t19 = new U.DesignViewComponent(t6, t7, t10, t11, t12, t13, t14, t15, t16, t17, t18, new P.Point(0, 0, t19), new P.Point(0, 0, t19), P.LinkedHashMap_LinkedHashMap$_literal([C.DraggableComponent_0, null, C.DraggableComponent_1, null], type$.legacy_DraggableComponent, type$.legacy_Draggable)); - t12 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t12, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-pane", "class", "split"], t3, t3)); - t19.side_pane = t12; - side_main_separator = t1.createElement("div"); - C.DivElement_methods.set$attributes(side_main_separator, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-main-separator", "class", "draggable-separator"], t3, t3)); - t20 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t20, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-pane", "class", "split"], t3, t3)); - t19.main_pane = t20; - t21 = P.SvgSvgElement_SvgSvgElement(); - C.SvgSvgElement_methods.set$attributes(t21, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); - t19.side_view_svg = t21; - t22 = P.SvgSvgElement_SvgSvgElement(); - C.SvgSvgElement_methods.set$attributes(t22, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); - t19.main_view_svg = t22; - t23 = type$.SvgElement; - t24 = type$.FEGaussianBlurElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feGaussianBlur"))); - (t24 && C.FEGaussianBlurElement_methods).set$attributes(t24, P.LinkedHashMap_LinkedHashMap$_literal(["stdDeviation", "2.5"], t3, t3)); - t25 = type$.FEMergeElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMerge"))); - t26 = type$.FEMergeNodeElement; - t27 = t26._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMergeNode"))); - t26 = t26._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMergeNode"))); - (t26 && C.FEMergeNodeElement_methods).set$attributes(t26, P.LinkedHashMap_LinkedHashMap$_literal(["in", "SourceGraphic"], t3, t3)); - t28 = type$.JSArray_legacy_Element; - (t25 && C.FEMergeElement_methods).set$children(t25, H.setRuntimeTypeInfo([t27, t26], t28)); - drop_shadow = H.setRuntimeTypeInfo([t24, t25], type$.JSArray_legacy_SvgElement); - filter_element = type$.FilterElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "filter"))); - (filter_element && C.FilterElement_methods).set$children(filter_element, drop_shadow); - C.FilterElement_methods.set$attributes(filter_element, P.LinkedHashMap_LinkedHashMap$_literal(["id", "shadow", "x", "-100%", "y", "-100%", "width", "300%", "height", "300%"], t3, t3)); - defns = type$.DefsElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "defs"))); - (defns && C.DefsElement_methods).set$children(defns, H.setRuntimeTypeInfo([filter_element], t28)); - t22.appendChild(defns); - main_arrows = P.SvgSvgElement_SvgSvgElement(); - C.SvgSvgElement_methods.set$attributes(main_arrows, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-arrows", "width", "85px", "height", "85px"], t3, t3)); - side_arrows = P.SvgSvgElement_SvgSvgElement(); - C.SvgSvgElement_methods.set$attributes(side_arrows, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-arrows", "width", "85px", "height", "85px"], t3, t3)); - t28 = type$.GElement; - side_view_svg_viewport = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "g"))); - (side_view_svg_viewport && C.GElement_methods).set$attributes(side_view_svg_viewport, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg-viewport"], t3, t3)); - main_view_svg_viewport = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "g"))); - (main_view_svg_viewport && C.GElement_methods).set$attributes(main_view_svg_viewport, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg-viewport"], t3, t3)); - t21.appendChild(side_view_svg_viewport); - t22.appendChild(main_view_svg_viewport); - t28 = type$.CircleElement; - side_view_dummy_elt = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "circle"))); - (side_view_dummy_elt && C.CircleElement_methods).set$attributes(side_view_dummy_elt, P.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-side-view", "r", "100", "cx", "100", "cy", "50", "fill", "white"], t3, t3)); - main_view_dummy_elt = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "circle"))); - (main_view_dummy_elt && C.CircleElement_methods).set$attributes(main_view_dummy_elt, P.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-main-view", "r", "200", "cx", "100", "cy", "100", "fill", "white"], t3, t3)); - side_view_svg_viewport.appendChild(side_view_dummy_elt); - main_view_svg_viewport.appendChild(main_view_dummy_elt); - t6.appendChild(t7); - t6.appendChild(t15); - t6.appendChild(t16); - t6.appendChild(t17); - t6.appendChild(t18); - t6.appendChild(t10); - t6.appendChild(t11); - t7.appendChild(t12); - t7.appendChild(side_main_separator); - t7.appendChild(t20); - self.setup_splits(false); - C.DivElement_methods.set$attributes(t13, P.LinkedHashMap_LinkedHashMap$_literal(["class", "error-message"], t3, t3)); - t19.error_message_component = new L.ErrorMessageComponent(t13); - t12.appendChild(t14); - t12.appendChild(t21); - t12.appendChild(side_arrows); - t20.appendChild(t22); - t20.appendChild(main_arrows); - side_pane_width = window.localStorage.getItem("scadnano:side-pane-width"); - if (side_pane_width == null) - side_pane_width = "8%"; - main_pane_width = C.JSNumber_methods.toString$0(100 - P.num_parse(C.JSString_methods.substring$2(side_pane_width, 0, side_pane_width.length - 1))) + "%"; - t12.setAttribute("style", "width: " + side_pane_width); - t20.setAttribute("style", "width: " + main_pane_width); - t19.handle_keyboard_mouse_events$0(); - t9.design_view = t19; - t6 = new D.OxviewViewComponent(); - P.print("creating new OxviewViewComponent"); - t7 = t1.createElement("div"); - C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "oxview-pane", "class", "split"], t3, t3)); - t6.div = t7; - t1 = t1.createElement("iframe"); - C.IFrameElement_methods.set$attributes(t1, P.LinkedHashMap_LinkedHashMap$_literal(["height", "100%", "width", "100%", "src", string$.https_, "id", "oxview-frame"], t3, t3)); - t6.frame = t1; - t7.appendChild(t1); - t9.oxview_view = t6; - t5.appendChild(t8); - t5.appendChild(t6.div); - t9.update_showing_oxview$0(); - $async$self.view = t9; - t6 = $async$self.store; - t6 = t6.get$state(t6); - t9.update_showing_oxview$0(); - store = $.app.store; - t5 = $.$get$ErrorBoundary().call$0(); - t8 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t8, store); - t8 = t5.call$1(t8.call$1($.$get$ConnectedMenu().call$0().call$0())); - $.$get$render().call$2(t8, t4); - t9.design_view.render$1(0, t6); - t6 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, store); - t9 = t6.call$1(t9.call$1($.$get$ConnectedEditAndSelectModes().call$0().call$0())); - $.$get$render().call$2(t9, t2); - self.fit_and_center(); - t2 = $async$self.view.oxview_view.frame; - t9 = type$._ElementEventStreamImpl_legacy_Event; - t6 = t9._eval$1("~(1)?")._as(new G.App_start_closure($async$self)); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(t2, "load", t6, false, t9._precomputed1); - t9 = $async$self.store; - self.set_zoom_speed(t9.get$state(t9).ui_state.storables.zoom_speed); - // implicit return - return P._asyncReturn(null, $async$completer); - } - }); - return P._asyncStartSync($async$start$0, $async$completer); + A._$ModificationConnectorLengthSet.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.ModificationConnectorLengthSet && J.$eq$(_this.strand, other.strand) && _this.modification.$eq(0, other.modification) && _this.connector_length === other.connector_length; }, - disable_keyboard_shortcuts_while$1$1: function(f, $T) { - return this.disable_keyboard_shortcuts_while$body$App($T._eval$1("Future<0*>*()*")._as(f), $T, $T._eval$1("0*")); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + t1 = _this.modification; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.strand)), t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.connector_length))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - disable_keyboard_shortcuts_while$body$App: function(f, $T, $async$type) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter($async$type), - $async$returnValue, $async$self = this, return_value; - var $async$disable_keyboard_shortcuts_while$1$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$self.keyboard_shortcuts_enabled = false; - $async$goto = 3; - return P._asyncAwait(f.call$0(), $async$disable_keyboard_shortcuts_while$1$1); - case 3: - // returning from await. - return_value = $async$result; - $async$self.keyboard_shortcuts_enabled = true; - $async$returnValue = return_value; - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$disable_keyboard_shortcuts_while$1$1, $async$completer); - }, - dispatch$1: function(action) { - var underlying_action, t1, _this = this; - if (!type$.legacy_FastAction._is(action)) - _this.store.dispatch$1(action); - underlying_action = action instanceof U.ThrottledActionFast ? action.action : action; - if (underlying_action instanceof U.SelectionRopeCreate || underlying_action instanceof U.SelectionRopeMouseMove || underlying_action instanceof U.SelectionRopeAddPoint || underlying_action instanceof U.SelectionRopeRemove) { - t1 = _this.store_selection_rope._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - if (underlying_action instanceof U.SelectionBoxCreate || underlying_action instanceof U.SelectionBoxSizeChange || underlying_action instanceof U.SelectionBoxRemove) { - t1 = _this.store_selection_box._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - if (underlying_action instanceof U.PotentialCrossoverCreate || underlying_action instanceof U.PotentialCrossoverMove || underlying_action instanceof U.PotentialCrossoverRemove) { - t1 = _this.store_potential_crossover._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - if (underlying_action instanceof U.DNAEndsMoveSetSelectedEnds || underlying_action instanceof U.DNAEndsMoveAdjustOffset || underlying_action instanceof U.DNAEndsMoveStop) { - t1 = _this.store_dna_ends_move._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - if (underlying_action instanceof U.DNAExtensionsMoveSetSelectedExtensionEnds || underlying_action instanceof U.DNAExtensionsMoveAdjustPosition || underlying_action instanceof U.DNAExtensionsMoveStop) { - t1 = _this.store_extensions_move._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - if (underlying_action instanceof U.HelixGroupMoveCreate || underlying_action instanceof U.HelixGroupMoveAdjustTranslation || underlying_action instanceof U.HelixGroupMoveStop) { - t1 = _this.store_helix_group_move._dispatchers; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1[0].call$1(action); - } - }, - setup_warning_before_unload$0: function() { - C.C__BeforeUnloadEventStreamProvider.forTarget$1(window).listen$1(new G.App_setup_warning_before_unload_closure(this)); - }, - setup_save_design_to_localStorage_before_unload$0: function() { - C.C__BeforeUnloadEventStreamProvider.forTarget$1(window).listen$1(new G.App_setup_save_design_to_localStorage_before_unload_closure(this)); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationConnectorLengthSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "connector_length", this.connector_length); + return t2.toString$0(t1); + } + }; + A.ModificationConnectorLengthSetBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - set$store: function(_, store) { - this.store = type$.legacy_Store_legacy_AppState._as(store); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._actions$_connector_length = $$v.connector_length; + _this._$v = null; + } + return _this; }, - set$store_selection_rope: function(store_selection_rope) { - this.store_selection_rope = type$.legacy_Store_legacy_SelectionRope._as(store_selection_rope); + _build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s30_ = "ModificationConnectorLengthSet", + _s12_ = "modification", + _s16_ = "connector_length", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + t2 = type$.Modification; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._modification, _s30_, _s12_, t2); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_connector_length, _s30_, _s16_, t4); + _$result0 = new A._$ModificationConnectorLengthSet(t1, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t1, _s30_, "strand", type$.Strand); + A.BuiltValueNullFieldError_checkNotNull(t3, _s30_, _s12_, t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s30_, _s16_, t4); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s30_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ModificationConnectorLengthSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } + }; + A._$ModificationEdit.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.ModificationEdit && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, - set$store_selection_box: function(store_selection_box) { - this.store_selection_box = type$.legacy_Store_legacy_SelectionBox._as(store_selection_box); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); }, - set$store_potential_crossover: function(store_potential_crossover) { - this.store_potential_crossover = type$.legacy_Store_legacy_PotentialCrossover._as(store_potential_crossover); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + return t2.toString$0(t1); }, - set$store_extensions_move: function(store_extensions_move) { - this.store_extensions_move = type$.legacy_Store_legacy_DNAExtensionsMove._as(store_extensions_move); + get$strand() { + return this.strand; + } + }; + A.ModificationEditBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - set$store_dna_ends_move: function(store_dna_ends_move) { - this.store_dna_ends_move = type$.legacy_Store_legacy_DNAEndsMove._as(store_dna_ends_move); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; + _this._$v = null; + } + return _this; }, - set$store_helix_group_move: function(store_helix_group_move) { - this.store_helix_group_move = type$.legacy_Store_legacy_HelixGroupMove._as(store_helix_group_move); + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s16_ = "ModificationEdit", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + _$result0 = A._$ModificationEdit$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._modification, _s16_, "modification", type$.Modification), t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ModificationEdit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - G.App_start_closure.prototype = { - call$1: function($event) { - var message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["camera.up.multiplyScalar(-1)"], E.blob_type_to_string(C.BlobType_0))], type$.JSArray_legacy_Blob), "ext", H.setRuntimeTypeInfo(["js"], type$.JSArray_legacy_String)], type$.legacy_String, type$.dynamic), - t1 = this.$this, - t2 = W._convertNativeToDart_Window(t1.view.oxview_view.frame.contentWindow); - if (t2 != null) - J.postMessage$2$x(t2, message_js_commands, string$.https_); - t2 = $.app.store; - N.update_oxview_view(t2.get$state(t2).design, t1.view.oxview_view.frame); + A._$Modifications5PrimeEdit.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.Modifications5PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); }, - $signature: 55 - }; - G.App_setup_warning_before_unload_closure.prototype = { - call$1: function($event) { - var t1, t2; - type$.legacy_Event._as($event); - t1 = this.$this; - t2 = t1.store; - if (t2.get$state(t2).ui_state.storables.warn_on_exit_if_unsaved) { - t1 = t1.store; - t1 = J.get$isNotEmpty$asx(t1.get$state(t1).undo_redo.undo_stack._list); - } else - t1 = false; - if (t1) - J.set$returnValue$x(type$.legacy_BeforeUnloadEvent._as($event), "You have unsaved work. Are you sure you want to leave?"); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); }, - $signature: 55 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications5PrimeEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); + } }; - G.App_setup_save_design_to_localStorage_before_unload_closure.prototype = { - call$1: function(_) { - var t1, t2; - type$.legacy_Event._as(_); - t1 = this.$this; - t2 = t1.store; - if (t2.get$state(t2).ui_state.storables.local_storage_design_choice.option !== C.LocalStorageDesignOption_on_exit) { - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.storables.local_storage_design_choice.option === C.LocalStorageDesignOption_periodic; + A.Modifications5PrimeEditBuilder.prototype = { + get$modifications() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification5Prime); + t1.set$_actions$_modifications(t2); + t1 = t2; } else - t2 = true; - if (t2) { - t1 = t1.store; - S.save(t1.get$state(t1), C.Storable_design); - } + t1 = t2; + return t1; }, - $signature: 55 - }; - G.setup_undo_redo_keyboard_listeners_closure.prototype = { - call$1: function($event) { - var t1, key, t2; - type$.legacy_KeyboardEvent._as($event); - t1 = J.getInterceptor$x($event); - key = t1.get$which($event); - if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 90 && !H.boolConversionCheck(t1.get$altKey($event))) { - t2 = $.app.store; - if (J.get$isNotEmpty$asx(t2.get$state(t2).undo_redo.undo_stack._list)) - $.app.dispatch$1(U.Undo_Undo(1)); - } - if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && H.boolConversionCheck(t1.get$shiftKey($event)) && key === 90 && !H.boolConversionCheck(t1.get$altKey($event))) { - t1 = $.app.store; - if (J.get$isNotEmpty$asx(t1.get$state(t1).undo_redo.redo_stack._list)) - $.app.dispatch$1(U.Redo_Redo(1)); - } + get$new_modification() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new A.Modification5PrimeBuilder() : t2; }, - $signature: 54 - }; - G.setup_save_open_dna_file_keyboard_listeners_closure.prototype = { - call$1: function($event) { - var t1, key; - type$.legacy_KeyboardEvent._as($event); - t1 = J.getInterceptor$x($event); - key = t1.get$which($event); - if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 83 && !H.boolConversionCheck(t1.get$altKey($event))) { - t1.preventDefault$0($event); - $.app.dispatch$1(U._$SaveDNAFile__$SaveDNAFile()); - } - if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 79 && !H.boolConversionCheck(t1.get$altKey($event))) { - t1.preventDefault$0($event); - J.click$0$x(document.getElementById("open-form-file")); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification5Prime); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; } + return _this; }, - $signature: 54 - }; - G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure.prototype = { - call$1: function($event) { - var t1, key; - type$.legacy_KeyboardEvent._as($event); - t1 = J.getInterceptor$x($event); - key = t1.get$which($event); - if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 73 && !H.boolConversionCheck(t1.get$altKey($event))) { - t1.preventDefault$0($event); - $.app.dispatch$1(U._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s23_ = "Modifications5PrimeEdit", + _s13_ = "modifications", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification()._modification$_build$0(); + _$result0 = new A._$Modifications5PrimeEdit(t1, t2); + A.BuiltValueNullFieldError_checkNotNull(t1, _s23_, _s13_, type$.BuiltList_SelectableModification5Prime); + A.BuiltValueNullFieldError_checkNotNull(t2, _s23_, _s16_, type$.Modification5Prime); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s13_; + _this.get$modifications().build$0(); + _$failedField._value = _s16_; + _this.get$new_modification()._modification$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s23_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } + t1 = type$.Modifications5PrimeEdit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - $signature: 54 - }; - A.strand_bounds_status.prototype = { - toString$0: function(_) { - return this._constants$_name; + set$_actions$_modifications(_modifications) { + this._actions$_modifications = type$.nullable_ListBuilder_SelectableModification5Prime._as(_modifications); } }; - F.DNAFileType.prototype = {}; - F._$DNAFileTypeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_DNAFileType._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return F._$valueOf2(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + A._$Modifications3PrimeEdit.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.Modifications3PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_DNAFileType_bQh; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); }, - get$wireName: function() { - return "DNAFileType"; - } - }; - E.DNASequencePredefined.prototype = { - get$sequence: function() { - var _this = this; - if (_this === C.DNASequencePredefined_M13p7249) - return $.$get$_m13_p7249(); - else if (_this === C.DNASequencePredefined_M13p7560) - return $.$get$_m13_p7560(); - else if (_this === C.DNASequencePredefined_M13p8064) - return $.$get$_m13_p8064(); - else if (_this === C.DNASequencePredefined_M13p8634) - return $.$get$_m13_p8634(); - else - throw H.wrapException(P.AssertionError$("should be unreachable")); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications3PrimeEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); } }; - E._$DNASequencePredefinedSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_DNASequencePredefined._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A.Modifications3PrimeEditBuilder.prototype = { + get$modifications() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification3Prime); + t1.set$_actions$_modifications(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return E._$valueOf0(H._asStringS(serialized)); + get$new_modification() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new A.Modification3PrimeBuilder() : t2; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification3Prime); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; + } + return _this; }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_DNASequencePredefined_1Sb; + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s23_ = "Modifications3PrimeEdit", + _s13_ = "modifications", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification()._modification$_build$0(); + _$result0 = new A._$Modifications3PrimeEdit(t1, t2); + A.BuiltValueNullFieldError_checkNotNull(t1, _s23_, _s13_, type$.BuiltList_SelectableModification3Prime); + A.BuiltValueNullFieldError_checkNotNull(t2, _s23_, _s16_, type$.Modification3Prime); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s13_; + _this.get$modifications().build$0(); + _$failedField._value = _s16_; + _this.get$new_modification()._modification$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s23_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.Modifications3PrimeEdit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; }, - get$wireName: function() { - return "DNASequencePredefined"; + set$_actions$_modifications(_modifications) { + this._actions$_modifications = type$.nullable_ListBuilder_SelectableModification3Prime._as(_modifications); } }; - N.BuiltMapValues_map_values_closure.prototype = { - call$2: function(key, value) { - var _this = this, - t1 = _this.K; - t1._eval$1("0*")._as(key); - return new P.MapEntry(key, _this.f.call$2(key, _this.Vin._eval$1("0*")._as(value)), t1._eval$1("@<0*>")._bind$1(_this.Vout._eval$1("0*"))._eval$1("MapEntry<1,2>")); + A._$ModificationsInternalEdit.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ModificationsInternalEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); }, - $signature: function() { - return this.K._eval$1("@<0>")._bind$1(this.Vout)._bind$1(this.Vin)._eval$1("MapEntry<1*,2*>*(1*,3*)"); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationsInternalEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); } }; - K.JSONSerializable.prototype = {}; - K.NoIndent.prototype = { - toString$0: function(_) { - return "NoIndent(\n " + H.S(this.value) + "\n)"; + A.ModificationsInternalEditBuilder.prototype = { + get$modifications() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModificationInternal); + t1.set$_actions$_modifications(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$value: function(receiver) { - return this.value; + get$new_modification() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new A.ModificationInternalBuilder() : t2; }, - set$value: function(receiver, val) { - return this.value = val; - } - }; - K.SuppressableIndentEncoder.prototype = { - convert$1: function(obj) { - var t1, t2, key, val, t3, - result = this.super$JsonEncoder$convert(obj); - for (t1 = this.replacer.replacement_map, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - key = t2.get$current(t2); - val = t1.$index(0, key); - val.toString; - val = H.stringReplaceAllUnchecked(val, '":', '": '); - val = H.stringReplaceAllUnchecked(val, ",", ", "); - t3 = '"@@' + H.S(key) + '@@"'; - result = H.stringReplaceFirstUnchecked(result, t3, val, 0); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new A.ModificationInternalBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.ModificationInternal); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; } - return result; + return _this; }, - get$indent: function() { - return " "; + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s25_ = "ModificationsInternalEdit", + _s13_ = "modifications", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification()._modification$_build$0(); + _$result0 = new A._$ModificationsInternalEdit(t1, t2); + A.BuiltValueNullFieldError_checkNotNull(t1, _s25_, _s13_, type$.BuiltList_SelectableModificationInternal); + A.BuiltValueNullFieldError_checkNotNull(t2, _s25_, _s16_, type$.ModificationInternal); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s13_; + _this.get$modifications().build$0(); + _$failedField._value = _s16_; + _this.get$new_modification()._modification$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s25_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ModificationsInternalEdit; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_actions$_modifications(_modifications) { + this._actions$_modifications = type$.nullable_ListBuilder_SelectableModificationInternal._as(_modifications); } }; - K.Replacer.prototype = { - default_encode$1: function(obj) { - var t1, t2; - if (obj instanceof K.NoIndent) { - t1 = this.unique_id++; - t2 = this.encoder_no_indent; - this.replacement_map.$indexSet(0, t1, P._JsonStringStringifier_stringify(obj.value, t2._toEncodable, t2.indent)); - return "@@" + t1 + "@@"; - } else - return obj; + A._$GridChange.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.GridChange && this.grid == other.grid && this.group_name == other.group_name; + }, + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.grid)), J.get$hashCode$(this.group_name))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GridChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "grid", this.grid); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); } }; - Z.horizontal_reflection_of_strands_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_domain$_$this()._start = _this.reflected_end; - b.get$_domain$_$this()._end = _this.reflected_start; - t1 = _this.domain.forward; - t1 = _this.reverse_polarity ? t1 : !t1; - b.get$_domain$_$this()._domain$_forward = t1; - b.get$deletions().replace$1(0, _this.reflected_deletions); - b.get$insertions().replace$1(0, _this.reflected_insertions); - b.get$_domain$_$this()._is_first = _this.is_first; - b.get$_domain$_$this()._is_last = _this.is_last; - return b; - }, - $signature: 7 + A.GridChangeBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_grid = $$v.grid; + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + } }; - Z.horizontal_reflection_of_strands_closure0.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); - return b; + A._$GroupDisplayedChange.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.GroupDisplayedChange && this.group_name == other.group_name; }, - $signature: 2 - }; - Z.reflect_insertions_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_offset = this.reflected_offset; - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.group_name))); }, - $signature: 47 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupDisplayedChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); + } }; - Z.reflect_insertions_closure0.prototype = { - call$2: function(i1, i2) { - var t1 = type$.legacy_Insertion; - t1._as(i1); - t1._as(i2); - return i1.offset - i2.offset; - }, - $signature: 140 + A.GroupDisplayedChangeBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + } }; - Z.vertical_reflection_of_strands_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_domain$_$this()._domain$_helix = _this.reflected_helix_idx; - t1 = _this.domain.forward; - t1 = _this.reverse_polarity ? t1 : !t1; - b.get$_domain$_$this()._domain$_forward = t1; - b.get$_domain$_$this()._is_first = _this.is_first; - b.get$_domain$_$this()._is_last = _this.is_last; - return b; + A._$GroupAdd.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.GroupAdd && this.name === other.name && J.$eq$(this.group, other.group); }, - $signature: 7 - }; - Z.vertical_reflection_of_strands_closure0.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); - return b; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.name)), J.get$hashCode$(this.group))); }, - $signature: 2 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "group", this.group); + return t2.toString$0(t1); + } }; - E.find_allowable_offset_closure.prototype = { - call$1: function(e) { - var t1, t2; - type$.legacy_DNAEnd._as(e); - t1 = e.is_start; - t2 = e.offset; - if (t1) + A.GroupAddBuilder.prototype = { + get$group() { + var t1 = this.get$_$this(), + t2 = t1._actions$_group; + if (t2 == null) { + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + t1._actions$_group = t2; + t1 = t2; + } else t1 = t2; - else { - if (typeof t2 !== "number") - return t2.$sub(); - t1 = t2 - 1; - } return t1; }, - $signature: 226 - }; - E.find_allowable_offset_closure0.prototype = { - call$1: function(ss) { - return type$.legacy_Domain._as(ss).forward === this.substrand.forward; - }, - $signature: 21 - }; - E.find_allowable_offset_closure1.prototype = { - call$1: function(o) { - var t1; - H._asIntS(o); - t1 = this.closest_unselected_offset; - if (this.highest) { - if (typeof o !== "number") - return o.$lt(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = o < t1; - } else { - if (typeof o !== "number") - return o.$gt(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = o > t1; + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + t1 = $$v.group; + t1.toString; + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.HelixGroup); + t2._group$_$v = t1; + _this._actions$_group = t2; + _this._$v = null; } - return t1; - }, - $signature: 23 - }; - A._save_file_codenano_closure.prototype = { - call$1: function(group) { - return type$.legacy_HelixGroup._as(group).grid; + return _this; }, - $signature: 229 + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s8_ = "GroupAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_name, _s8_, "name", type$.String); + _$result0 = A._$GroupAdd$_(_this.get$group()._group$_build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "group"; + _this.get$group()._group$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s8_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.GroupAdd; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - F.export_dna_sequences_middleware_closure.prototype = { - call$1: function(strand) { - return type$.legacy_Strand._as(strand).is_scaffold; + A._$GroupRemove.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.GroupRemove && this.name == other.name; }, - $signature: 15 - }; - F.export_dna_sequences_middleware_closure0.prototype = { - call$1: function(strand) { - return type$.legacy_Strand._as(strand).is_scaffold; + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.name))); }, - $signature: 15 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + return t2.toString$0(t1); + } }; - F.export_dna_sequences_middleware_closure1.prototype = { - call$1: function(response) { - var $content = type$.legacy_List_legacy_int._as(response); - E.save_file(this.filename, $content, null, this.blob_type); - }, - $signature: 231 + A.GroupRemoveBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + _this._$v = null; + } + return _this; + } }; - F.export_dna_sequences_middleware_closure2.prototype = { - call$2: function(e, stackTrace) { - var msg, t1, cause = ""; - if (F.has_cause(e)) - cause = H._asStringS(e.get$cause()); - else if (F.has_message(e)) - cause = H._asStringS(J.get$message$x(e)); - msg = C.JSString_methods.$add(J.$add$ansx(cause, "\n\n"), J.toString$0$(stackTrace)); - t1 = this.store; - t1.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg)); - $.app.view.design_view.render$1(0, t1.get$state(t1)); + A._$GroupChange.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.GroupChange && _this.old_name == other.old_name && _this.new_name === other.new_name && J.$eq$(_this.new_group, other.new_group); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 163 - }; - F.export_dna_closure.prototype = { - call$1: function(v) { - return J.toString$0$(type$.legacy_ExportDNAFormat._as(v)); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.old_name)), B.JSString_methods.get$hashCode(this.new_name)), J.get$hashCode$(this.new_group))); }, - $signature: 232 - }; - F.export_dna_closure0.prototype = { - call$1: function(v) { - return J.toString$0$(type$.legacy_StrandOrder._as(v)); - }, - $signature: 233 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "old_name", this.old_name); + t2.add$2(t1, "new_name", this.new_name); + t2.add$2(t1, "new_group", this.new_group); + return t2.toString$0(t1); + } }; - F.cando_compatible_csv_export_closure.prototype = { - call$1: function(match) { - var t1 = type$.legacy_RegExpMatch._as(match)._match; - if (0 >= t1.length) - return H.ioore(t1, 0); - return t1[0]; + A.GroupChangeBuilder.prototype = { + get$new_group() { + var t1 = this.get$_$this(), + t2 = t1._new_group; + if (t2 == null) { + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + t1._new_group = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 234 - }; - V.get_svg_elements_of_base_pairs_closure.prototype = { - call$1: function(offset) { - H._asIntS(offset); - return document.getElementById("base_pair-" + H.S(this.helix) + "-" + H.S(offset)); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._old_name = $$v.old_name; + _this._new_name = $$v.new_name; + t1 = $$v.new_group; + t1.toString; + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.HelixGroup); + t2._group$_$v = t1; + _this._new_group = t2; + _this._$v = null; + } + return _this; }, - $signature: 235 + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "GroupChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._old_name, _s11_, "old_name", t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._new_name, _s11_, "new_name", t1); + _$result0 = A._$GroupChange$_(_this.get$new_group()._group$_build$0(), t1, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "new_group"; + _this.get$new_group()._group$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.GroupChange; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - V.make_portable_closure.prototype = { - call$1: function(v) { - type$.legacy_TextContentElement._as(v); - return this.text_ele.parentNode.appendChild(v); + A._$MoveHelicesToGroup.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.MoveHelicesToGroup && J.$eq$(this.helix_idxs, other.helix_idxs) && this.group_name == other.group_name; }, - $signature: 236 + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.helix_idxs)), J.get$hashCode$(_this.group_name))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveHelicesToGroup"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idxs", this.helix_idxs); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); + } }; - X.forbid_create_circular_strand_no_crossovers_middleware_closure.prototype = { - call$1: function(b) { - var t1 = b.get$_address$_$this()._offset; - if (typeof t1 !== "number") - return t1.$add(); - b.get$_address$_$this()._offset = t1 + this.delta; - return b; + A.MoveHelicesToGroupBuilder.prototype = { + get$helix_idxs() { + var t1 = this.get$_$this(), + t2 = t1._helix_idxs; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_helix_idxs(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 70 + get$_$this() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix_idxs; + t1.toString; + _this.set$_helix_idxs(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + }, + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s18_ = "MoveHelicesToGroup", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$helix_idxs().build$0(); + _$result0 = A._$MoveHelicesToGroup$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._group_name, _s18_, "group_name", type$.String), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "helix_idxs"; + _this.get$helix_idxs().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.MoveHelicesToGroup; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + }, + set$_helix_idxs(_helix_idxs) { + this._helix_idxs = type$.nullable_ListBuilder_int._as(_helix_idxs); + } }; - B._get_helices_to_process_closure.prototype = { - call$2: function(h1, h2) { - var t2, - t1 = type$.legacy_Helix; - t1._as(h1); - t1._as(h2); - t1 = this.group; - t2 = J.$index$asx(t1.get$helices_view_order_inverse()._map$_map, h1.idx); - t1 = J.$index$asx(t1.get$helices_view_order_inverse()._map$_map, h2.idx); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t1 !== "number") - return H.iae(t1); - return t2 - t1; + A._$DialogShow.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.DialogShow && J.$eq$(this.dialog, other.dialog); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 238 + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.dialog))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dialog", this.dialog); + return t2.toString$0(t1); + } }; - B._first_crossover_addresses_between_helices_closure.prototype = { - call$1: function(address_crossover) { - return !type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(address_crossover).item2.is_scaffold; + A.DialogShowBuilder.prototype = { + get$dialog() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dialog; + t1.toString; + t2 = new A.DialogBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Dialog); + t2._dialog$_$v = t1; + _this._actions$_dialog = t2; + _this._$v = null; + } + t1 = _this._actions$_dialog; + return t1 == null ? _this._actions$_dialog = new A.DialogBuilder() : t1; }, - $signature: 139 + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$DialogShow$_(_this.get$dialog()._dialog$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "dialog"; + _this.get$dialog()._dialog$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("DialogShow", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DialogShow; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - B._first_crossover_addresses_between_helices_closure0.prototype = { - call$1: function(address_crossover) { - return type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(address_crossover).item2.is_scaffold; + A._$DialogHide.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.DialogHide; }, - $signature: 139 + get$hashCode(_) { + return 68450832; + }, + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DialogHide")); + } }; - B.RollXY.prototype = { - toString$0: function(_) { - return "RollZY(roll=" + H.S(this.roll) + ", x=" + H.S(this.x) + ", y=" + H.S(this.y) + ")"; + A.DialogHideBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$DialogHide(); + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogHide); + return this._$v = _$result; } }; - B._calculate_rolls_and_positions_closure.prototype = { - call$1: function(b) { - b.get$_address$_$this()._address$_forward = true; - return b; + A._$ContextMenuShow.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ContextMenuShow && J.$eq$(this.context_menu, other.context_menu); }, - $signature: 70 + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.context_menu))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "context_menu", this.context_menu); + return t2.toString$0(t1); + } }; - R.helix_idxs_change_middleware_closure.prototype = { - call$1: function(element) { - return J.get$length$asx(type$.legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int._as(element).value) !== 1; + A.ContextMenuShowBuilder.prototype = { + get$context_menu() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.context_menu; + t1.toString; + t2 = new A.ContextMenuBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.ContextMenu); + t2._context_menu$_$v = t1; + _this._actions$_context_menu = t2; + _this._$v = null; + } + t1 = _this._actions$_context_menu; + return t1 == null ? _this._actions$_context_menu = new A.ContextMenuBuilder() : t1; }, - $signature: 240 + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$ContextMenuShow$_(_this.get$context_menu()._context_menu$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "context_menu"; + _this.get$context_menu()._context_menu$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("ContextMenuShow", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ContextMenuShow; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - R.helix_idxs_change_middleware_closure0.prototype = { - call$1: function(element) { - type$.legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int._as(element); - return J.join$1$ax(element.value, ", ") + " to " + J.toString$0$(element.key); + A._$ContextMenuHide.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ContextMenuHide; }, - $signature: 241 + get$hashCode(_) { + return 628270879; + }, + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ContextMenuHide")); + } }; - K.load_file_middleware_closure.prototype = { - call$0: function() { - var t1 = this.action; - return this.store.dispatch$1(U.LoadDNAFile_LoadDNAFile(t1.content, t1.dna_file_type, t1.filename, t1.unit_testing, t1.write_local_storage)); + A.ContextMenuHideBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$ContextMenuHide(); + A.ArgumentError_checkNotNull(_$result, "other", type$.ContextMenuHide); + return this._$v = _$result; + } + }; + A._$StrandOrSubstrandColorPickerShow.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.StrandOrSubstrandColorPickerShow && J.$eq$(this.strand, other.strand) && J.$eq$(this.substrand, other.substrand); }, - $signature: 1 + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "substrand", this.substrand); + return t2.toString$0(t1); + } }; - S.Storable.prototype = {}; - N.OxdnaVector.prototype = { - dot$1: function(other) { - return this.x * other.x + this.y * other.y + this.z * other.z; + A.StrandOrSubstrandColorPickerShowBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - cross$1: function(other) { - var t1 = this.y, - t2 = other.z, - t3 = this.z, - t4 = other.y, - t5 = other.x, - t6 = this.x; - return new N.OxdnaVector(t1 * t2 - t3 * t4, t3 * t5 - t6 * t2, t6 * t4 - t1 * t5); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._substrand = $$v.substrand; + _this._$v = null; + } + return _this; }, - length$0: function(_) { - var t1 = this.x, - t2 = this.y, - t3 = this.z; - return Math.sqrt(t1 * t1 + t2 * t2 + t3 * t3); + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$StrandOrSubstrandColorPickerShow$_(_this.get$strand()._strand$_build$0(), _this.get$_$this()._substrand) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("StrandOrSubstrandColorPickerShow", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.StrandOrSubstrandColorPickerShow; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } + }; + A._$StrandOrSubstrandColorPickerHide.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.StrandOrSubstrandColorPickerHide; }, - normalize$0: function(_) { - var _this = this, - len = _this.length$0(0); - return new N.OxdnaVector(_this.x / len, _this.y / len, _this.z / len); + get$hashCode(_) { + return 600404320; }, - $add: function(_, other) { - return new N.OxdnaVector(this.x + other.x, this.y + other.y, this.z + other.z); + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerHide")); + } + }; + A.StrandOrSubstrandColorPickerHideBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$StrandOrSubstrandColorPickerHide(); + A.ArgumentError_checkNotNull(_$result, "other", type$.StrandOrSubstrandColorPickerHide); + return this._$v = _$result; + } + }; + A._$ScaffoldSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ScaffoldSet && J.$eq$(this.strand, other.strand) && this.is_scaffold === other.is_scaffold; }, - $sub: function(_, other) { - type$.legacy_OxdnaVector._as(other); - return new N.OxdnaVector(this.x - other.x, this.y - other.y, this.z - other.z); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), B.JSBool_methods.get$hashCode(this.is_scaffold))); }, - $mul: function(_, scalar) { - return new N.OxdnaVector(this.x * scalar, this.y * scalar, this.z * scalar); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScaffoldSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "is_scaffold", this.is_scaffold); + return t2.toString$0(t1); }, - $negate: function(_) { - return new N.OxdnaVector(-this.x, -this.y, -this.z); + get$strand() { + return this.strand; + } + }; + A.ScaffoldSetBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - toString$0: function(_) { - return "(" + H.S(this.x) + ", " + H.S(this.y) + ", " + H.S(this.z) + ")"; + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._actions$_is_scaffold = $$v.is_scaffold; + _this._$v = null; + } + return _this; }, - rotate$2: function(_, angle, axis) { - var u = axis.normalize$0(0), - t1 = angle * 3.141592653589793 / 180, - c = Math.cos(t1), - s = Math.sin(t1), - u_cross_this = u.cross$1(this); - return u.$mul(0, this.dot$1(u)).$add(0, u_cross_this.$mul(0, c).cross$1(u)).$sub(0, u_cross_this.$mul(0, s)); + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s11_ = "ScaffoldSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + _$result0 = A._$ScaffoldSet$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_is_scaffold, _s11_, "is_scaffold", type$.bool), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.ScaffoldSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; } }; - N.OxdnaNucleotide.prototype = {}; - N.OxdnaStrand.prototype = { - set$nucleotides: function(nucleotides) { - this.nucleotides = type$.legacy_List_legacy_OxdnaNucleotide._as(nucleotides); + A._$StrandOrSubstrandColorSet.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.StrandOrSubstrandColorSet && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.substrand, other.substrand) && J.$eq$(_this.color, other.color); + }, + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand)), J.get$hashCode$(this.color))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "substrand", this.substrand); + t2.add$2(t1, "color", this.color); + return t2.toString$0(t1); + }, + get$strand() { + return this.strand; } }; - N.OxdnaSystem.prototype = { - compute_bounding_box$0: function() { - var t1, t2, min_vec, max_vec, _i, t3, t4, _i0, nuc, t5, t6, t7, box, max_side; - for (t1 = this.strands, t2 = t1.length, min_vec = null, max_vec = null, _i = 0; _i < t2; ++_i) - for (t3 = t1[_i].nucleotides, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0) { - nuc = t3[_i0]; - if (min_vec == null) { - min_vec = nuc.center; - max_vec = min_vec; - } else { - t5 = nuc.center; - t6 = t5.x; - t7 = t5.y; - t5 = t5.z; - min_vec = new N.OxdnaVector(Math.min(min_vec.x, t6), Math.min(min_vec.y, t7), Math.min(min_vec.z, t5)); - max_vec = new N.OxdnaVector(Math.max(max_vec.x, t6), Math.max(max_vec.y, t7), Math.max(max_vec.z, t5)); - } - } - if (min_vec != null && max_vec != null) { - box = max_vec.$sub(0, min_vec).$add(0, new N.OxdnaVector(5, 5, 5)).$mul(0, 1.5); - max_side = Math.max(box.x, Math.max(box.y, box.z)); - return new N.OxdnaVector(max_side, max_side, max_side); - } else - return new N.OxdnaVector(1, 1, 1); + A.StrandOrSubstrandColorSetBuilder.prototype = { + get$strand() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new A.StrandBuilder() : t2; }, - oxdna_output$0: function() { - var t2, nuc_count, strand_count, _i, strand, t3, t4, nuc_index, _i0, nuc, n5, n3, n30, t5, t6, t7, t8, $top, - bbox = this.compute_bounding_box$0(), - t1 = type$.JSArray_legacy_String, - dat_list = H.setRuntimeTypeInfo(["t = 0", "b = " + H.S(bbox.x) + " " + H.S(bbox.y) + " " + H.S(bbox.z), "E = 0 0 0"], t1), - top_list = H.setRuntimeTypeInfo([], t1); - for (t1 = this.strands, t2 = t1.length, nuc_count = 0, strand_count = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - strand = t1[_i]; - ++strand_count; - for (t3 = strand.nucleotides, t4 = t3.length, nuc_index = 0, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i0, nuc_count = n3) { - nuc = t3[_i0]; - n5 = nuc_count - 1; - n3 = nuc_count + 1; - if (nuc_index === 0) - n5 = -1; - n30 = nuc_index === strand.nucleotides.length - 1 ? -1 : n3; - ++nuc_index; - C.JSArray_methods.add$1(top_list, "" + strand_count + " " + nuc.base + " " + n30 + " " + n5); - t5 = nuc.center; - t6 = nuc.normal; - t7 = -t6.x; - t8 = -t6.y; - t6 = -t6.z; - t6 = H.S(t5.x - t7 * 0.6) + " " + H.S(t5.y - t8 * 0.6) + " " + H.S(t5.z - t6 * 0.6) + " " + (H.S(t7) + " " + H.S(t8) + " " + H.S(t6) + " "); - t8 = nuc.forward; - t8 = t6 + (H.S(t8.x) + " " + H.S(t8.y) + " " + H.S(t8.z) + " "); - t6 = nuc.v; - t6 = t8 + (H.S(t6.x) + " " + H.S(t6.y) + " " + H.S(t6.z) + " "); - t8 = nuc.L; - C.JSArray_methods.add$1(dat_list, t6 + (H.S(t8.x) + " " + H.S(t8.y) + " " + H.S(t8.z))); - } - } - $top = C.JSArray_methods.join$1(top_list, "\n") + "\n"; - return new S.Tuple2(C.JSArray_methods.join$1(dat_list, "\n") + "\n", "" + nuc_count + " " + strand_count + "\n" + $top, type$.Tuple2_of_legacy_String_and_legacy_String); - } - }; - F.start_timer_periodic_design_save_local_storage_closure.prototype = { - call$1: function(timer) { - var t1; - type$.legacy_Timer._as(timer); - t1 = $.app.store; - S.save(t1.get$state(t1), C.Storable_design); + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Strand); + t2._strand$_$v = t1; + _this._strand = t2; + _this._substrand = $$v.substrand; + _this._actions$_color = $$v.color; + _this._$v = null; + } + return _this; }, - $signature: 243 + _build$0() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand()._strand$_build$0(); + t2 = _this.get$_$this()._substrand; + _$result0 = A._$StrandOrSubstrandColorSet$_(_this.get$_$this()._actions$_color, t1, t2); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("StrandOrSubstrandColorSet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.StrandOrSubstrandColorSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - T._save_file_closure.prototype = { - call$0: function() { - return T.change_tab_title(false); + A._$StrandPasteKeepColorSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.StrandPasteKeepColorSet && this.keep === other.keep; }, - $signature: 1 + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.keep))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandPasteKeepColorSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "keep", this.keep); + return t2.toString$0(t1); + } }; - Q.Box.prototype = {}; - U.app_state_reducer_closure.prototype = { - call$1: function(m) { - var t3, - t1 = this._box_0, - design = t1.state.design, - t2 = t1.action; - if (design != null) { - design = U.design_composed_local_reducer(design, t2); - design = $.$get$design_whole_local_reducer().call$2(design, t2); + A.StrandPasteKeepColorSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._keep = $$v.keep; + _this._$v = null; } - if (design == null) - t2 = null; - else { - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t2._design0$_$v = design; + return _this; + } + }; + A._$ExampleDesignsLoad.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ExampleDesignsLoad && this.selected_idx === other.selected_idx; + }, + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.selected_idx))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesignsLoad"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_idx", this.selected_idx); + return t2.toString$0(t1); + } + }; + A.ExampleDesignsLoadBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_selected_idx = $$v.selected_idx; + _this._$v = null; } - m.get$_app_state$_$this()._design = t2; - t2 = m.get$ui_state(); - t3 = K.ui_state_local_reducer(t1.state.ui_state, t1.action); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._app_ui_state$_$v = t3; - t2 = H._asStringS(new B.TypedReducer(U.app_state_reducer__error_message_reducer$closure(), type$.TypedReducer_of_legacy_String_and_legacy_ErrorMessageSet).call$2(t1.state.error_message, t1.action)); - m.get$_app_state$_$this()._error_message = t2; - t1 = t1.state.editor_content; - m.get$_app_state$_$this()._editor_content = t1; - return m; + return _this; + } + }; + A._$BasePairTypeSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.BasePairTypeSet && this.selected_idx === other.selected_idx; }, - $signature: 39 + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.selected_idx))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("BasePairTypeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_idx", this.selected_idx); + return t2.toString$0(t1); + } }; - U.app_state_reducer_closure0.prototype = { - call$1: function(m) { - var t4, - t1 = this._box_0, - t2 = this.original_state, - t3 = U.design_global_reducer(t1.state.design, t2, t1.action); - if (t3 == null) - t3 = null; - else { - t4 = new N.DesignBuilder(); - N.Design__initializeBuilder(t4); - t4._design0$_$v = t3; - t3 = t4; + A.BasePairTypeSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_selected_idx = $$v.selected_idx; + _this._$v = null; } - m.get$_app_state$_$this()._design = t3; - t3 = m.get$ui_state(); - t1 = K.ui_state_global_reducer(t1.state.ui_state, t2, t1.action); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._app_ui_state$_$v = t1; - return m; + return _this; + } + }; + A._$HelixPositionSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.HelixPositionSet && this.helix_idx === other.helix_idx && this.position.$eq(0, other.position); }, - $signature: 39 + get$hashCode(_) { + var t1 = this.position; + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), t1.get$hashCode(t1))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixPositionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + }, + get$helix_idx() { + return this.helix_idx; + } }; - K.ui_state_local_reducer_closure.prototype = { - call$1: function(u) { - var _null = null, _s5_ = "other", - t1 = u.get$storables(), - t2 = this.ui_state, - t3 = this.action, - t4 = K.app_ui_state_storable_local_reducer(t2.storables, t3); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._app_ui_state_storables$_$v = t4; - t1 = H._asBoolS($.$get$changed_since_last_save_reducer().call$2(t2.changed_since_last_save, t3)); - u.get$_app_ui_state$_$this()._changed_since_last_save = t1; - t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_Modification5Prime_and_legacy_ModificationAdd).call$2(t2.last_mod_5p, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new Z.Modification5PrimeBuilder(); - type$.legacy_Modification5Prime._as(t1); - t4._modification$_$v = t1; - t1 = t4; + A.HelixPositionSetBuilder.prototype = { + get$position(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_position; + return t2 == null ? t1._actions$_position = new A.Position3DBuilder() : t2; + }, + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.position; + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t2._position3d$_$v = t1; + _this._actions$_position = t2; + _this._$v = null; } - u.get$_app_ui_state$_$this()._last_mod_5p = t1; - t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_Modification3Prime_and_legacy_ModificationAdd).call$2(t2.last_mod_3p, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new Z.Modification3PrimeBuilder(); - type$.legacy_Modification3Prime._as(t1); - t4._modification$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._last_mod_3p = t1; - t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_int_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_ModificationInternal_and_legacy_ModificationAdd).call$2(t2.last_mod_int, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new Z.ModificationInternalBuilder(); - type$.legacy_ModificationInternal._as(t1); - t4._modification$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._last_mod_int = t1; - t1 = $.$get$optimized_selection_rope_reducer().call$2(t2.selection_rope, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new F.SelectionRopeBuilder(); - type$.legacy_SelectionRope._as(t1); - t4._selection_rope$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._selection_rope = t1; - t1 = H._asBoolS($.$get$drawing_potential_crossover_reducer().call$2(t2.potential_crossover_is_drawing, t3)); - u.get$_app_ui_state$_$this()._potential_crossover_is_drawing = t1; - t1 = H._asBoolS($.$get$moving_dna_ends_reducer().call$2(t2.dna_ends_are_moving, t3)); - u.get$_app_ui_state$_$this()._dna_ends_are_moving = t1; - t1 = H._asBoolS($.$get$slice_bar_is_moving_reducer().call$2(t2.slice_bar_is_moving, t3)); - u.get$_app_ui_state$_$this()._slice_bar_is_moving = t1; - t1 = H._asBoolS($.$get$helix_group_is_moving_reducer().call$2(t2.helix_group_is_moving, t3)); - u.get$_app_ui_state$_$this()._helix_group_is_moving = t1; - t1 = H._asBoolS($.$get$load_dialog_reducer().call$2(t2.load_dialog, t3)); - u.get$_app_ui_state$_$this()._load_dialog = t1; - t1 = $.$get$strands_move_local_reducer().call$2(t2.strands_move, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new U.StrandsMoveBuilder(); - type$.legacy_StrandsMove._as(t1); - t4._strands_move$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._strands_move = t1; - t1 = $.$get$domains_move_local_reducer().call$2(t2.domains_move, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new V.DomainsMoveBuilder(); - type$.legacy_DomainsMove._as(t1); - t4._domains_move$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._domains_move = t1; - t1 = $.$get$side_view_mouse_grid_pos_reducer().call$2(t2.side_view_grid_position_mouse_cursor, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new D.GridPositionBuilder(); - type$.legacy_GridPosition._as(t1); - t4._grid_position$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = t1; - t1 = type$.legacy_Point_legacy_num._as($.$get$side_view_position_mouse_cursor_reducer().call$2(t2.side_view_position_mouse_cursor, t3)); - u.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t1); - t1 = $.$get$context_menu_reducer().call$2(t2.context_menu, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new B.ContextMenuBuilder(); - type$.legacy_ContextMenu._as(t1); - t4._context_menu$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._context_menu = t1; - t1 = $.$get$dialog_reducer().call$2(t2.dialog, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new E.DialogBuilder(); - type$.legacy_Dialog._as(t1); - t4._dialog$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._dialog = t1; - t1 = $.$get$color_picker_strand_reducer().call$2(t2.color_picker_strand, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new E.StrandBuilder(); - type$.legacy_Strand._as(t1); - t4._strand$_$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._color_picker_strand = t1; - t1 = type$.legacy_Substrand._as($.$get$color_picker_substrand_reducer().call$2(t2.color_picker_substrand, t3)); - u.get$_app_ui_state$_$this()._color_picker_substrand = t1; - t1 = K.helix_change_apply_to_all_reducer(t2.helix_change_apply_to_all, t3); - u.get$_app_ui_state$_$this()._helix_change_apply_to_all = t1; - t1 = u.get$example_designs(); - t4 = type$.legacy_ExampleDesigns._as(new B.TypedReducer(K.app_ui_state_reducer__example_designs_idx_set_reducer$closure(), type$.TypedReducer_of_legacy_ExampleDesigns_and_legacy_ExampleDesignsLoad).call$2(t2.example_designs, t3)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._example_designs$_$v = t4; - t1 = u.get$dna_assign_options(); - t4 = type$.legacy_DNAAssignOptions._as(new B.TypedReducer(K.app_ui_state_reducer__dna_assign_options_reducer$closure(), type$.TypedReducer_of_legacy_DNAAssignOptions_and_legacy_AssignDNA).call$2(t2.dna_assign_options, t3)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._dna_assign_options$_$v = t4; - u.get$mouseover_datas().replace$1(0, $.$get$mouseover_data_reducer().call$2(t2.mouseover_datas, t3)); - t1 = H._asStringS($.$get$dna_sequence_png_uri_reducer().call$2(t2.dna_sequence_png_uri, t3)); - u.get$_app_ui_state$_$this()._dna_sequence_png_uri = t1; - t1 = H._asNumS($.$get$dna_sequence_horizontal_offset_reducer().call$2(t2.dna_sequence_png_horizontal_offset, t3)); - u.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t1; - t1 = H._asNumS($.$get$dna_sequence_vertical_offset_reducer().call$2(t2.dna_sequence_png_vertical_offset, t3)); - u.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t1; - t1 = $.$get$export_svg_action_delayed_for_png_cache_reducer().call$2(t2.export_svg_action_delayed_for_png_cache, t3); - if (t1 == null) - t1 = _null; - else { - t4 = new U.ExportSvgBuilder(); - type$.legacy_ExportSvg._as(t1); - t4._$v = t1; - t1 = t4; - } - u.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = t1; - t3 = H._asBoolS($.$get$is_zoom_above_threshold_reducer().call$2(t2.is_zoom_above_threshold, t3)); - u.get$_app_ui_state$_$this()._is_zoom_above_threshold = t3; - return u; - }, - $signature: 51 - }; - K.example_designs_idx_set_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.selected_idx; - b.get$_example_designs$_$this()._selected_idx = t1; - return b; + return _this; }, - $signature: 246 + _build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s16_ = "HelixPositionSet", + _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? A._$HelixPositionSet$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s16_, "helix_idx", type$.int), _this.get$position(_this)._position3d$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "position"; + _this.get$position(_this)._position3d$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.HelixPositionSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - K.app_ui_state_storable_global_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.state.design.groups; - t1 = H._asStringS(J.get$first$ax(t1.get$keys(t1))); - b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; - return b; + A._$HelixGridPositionSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.HelixGridPositionSet && J.$eq$(this.helix, other.helix) && this.grid_position.$eq(0, other.grid_position); }, - $signature: 62 - }; - K.app_ui_state_storable_global_reducer_closure0.prototype = { - call$1: function(b) { - var t1 = this._box_0.slice_bar_offset; - b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t1; - return b; + get$hashCode(_) { + var t1 = this.grid_position; + return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.helix)), t1.get$hashCode(t1))); }, - $signature: 62 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGridPositionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", this.helix); + t2.add$2(t1, "grid_position", this.grid_position); + return t2.toString$0(t1); + } }; - K.app_ui_state_storable_global_reducer_closure1.prototype = { - call$1: function(b) { - var t4, - t1 = this.storables, - t2 = this.state, - t3 = this.action; - b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_global_reducer().call$3(t1.side_selected_helix_idxs, t2, t3)); - t4 = H._asStringS(new X.TypedGlobalReducer(K.app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure(), type$.TypedGlobalReducer_of_legacy_String_and_legacy_AppState_and_legacy_GroupRemove).call$3(t1.displayed_group_name, t2, t3)); - b.get$_app_ui_state_storables$_$this()._displayed_group_name = t4; - t3 = H._asIntS($.$get$slice_bar_offset_global_reducer().call$3(t1.slice_bar_offset, t2, t3)); - b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; - return b; + A.HelixGridPositionSetBuilder.prototype = { + get$helix() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 62 - }; - K.app_ui_state_storable_local_reducer_closure.prototype = { - call$1: function(b) { - var t3, t4, - t1 = this.storables, - t2 = this.action; - b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_reducer().call$2(t1.side_selected_helix_idxs, t2)); - t3 = H._asStringS($.$get$displayed_group_name_reducer().call$2(t1.displayed_group_name, t2)); - b.get$_app_ui_state_storables$_$this()._displayed_group_name = t3; - t3 = b.get$select_mode_state(); - t4 = type$.legacy_SelectModeState._as($.$get$select_mode_state_reducer().call$2(t1.select_mode_state, t2)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._select_mode_state$_$v = t4; - b.get$edit_modes().replace$1(0, $.$get$edit_modes_reducer().call$2(t1.edit_modes, t2)); - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_dna_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDNASet).call$2(t1.show_dna, t2)); - b.get$_app_ui_state_storables$_$this()._show_dna = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_strand_names_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowStrandNamesSet).call$2(t1.show_strand_names, t2)); - b.get$_app_ui_state_storables$_$this()._show_strand_names = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_strand_labels_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowStrandLabelsSet).call$2(t1.show_strand_labels, t2)); - b.get$_app_ui_state_storables$_$this()._show_strand_labels = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__strand_name_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_StrandNameFontSizeSet).call$2(t1.strand_name_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._strand_name_font_size = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__strand_label_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_StrandLabelFontSizeSet).call$2(t1.strand_label_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._strand_label_font_size = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_names_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainNamesSet).call$2(t1.show_domain_names, t2)); - b.get$_app_ui_state_storables$_$this()._show_domain_names = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__domain_name_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_DomainNameFontSizeSet).call$2(t1.domain_name_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._domain_name_font_size = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_labels_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainLabelsSet).call$2(t1.show_domain_labels, t2)); - b.get$_app_ui_state_storables$_$this()._show_domain_labels = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__domain_label_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_DomainLabelFontSizeSet).call$2(t1.domain_label_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._domain_label_font_size = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_modifications_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowModificationsSet).call$2(t1.show_modifications, t2)); - b.get$_app_ui_state_storables$_$this()._show_modifications = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__modification_display_connector_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetModificationDisplayConnector).call$2(t1.modification_display_connector, t2)); - b.get$_app_ui_state_storables$_$this()._modification_display_connector = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__modification_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_ModificationFontSizeSet).call$2(t1.modification_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._modification_font_size = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__zoom_speed_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_ZoomSpeedSet).call$2(t1.zoom_speed, t2)); - b.get$_app_ui_state_storables$_$this()._zoom_speed = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__major_tick_offset_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_MajorTickOffsetFontSizeSet).call$2(t1.major_tick_offset_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t3; - t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__major_tick_width_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_MajorTickWidthFontSizeSet).call$2(t1.major_tick_width_font_size, t2)); - b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowMismatchesSet).call$2(t1.show_mismatches, t2)); - b.get$_app_ui_state_storables$_$this()._show_mismatches = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_name_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainNameMismatchesSet).call$2(t1.show_domain_name_mismatches, t2)); - b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowUnpairedInsertionDeletionsSet).call$2(t1.show_unpaired_insertion_deletions, t2)); - b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__invert_y_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_InvertYSet).call$2(t1.invert_y, t2)); - b.get$_app_ui_state_storables$_$this()._invert_y = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__dynamic_helix_update_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DynamicHelixUpdateSet).call$2(t1.dynamically_update_helices, t2)); - b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_WarnOnExitIfUnsavedSet).call$2(t1.warn_on_exit_if_unsaved, t2)); - b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helix_circles_main_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowHelixCirclesMainViewSet).call$2(t1.show_helix_circles_main_view, t2)); - b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helix_components_main_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowHelixComponentsMainViewSet).call$2(t1.show_helix_components_main_view, t2)); - b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_edit_mode_menu_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowEditMenuToggle).call$2(t1.show_edit_mode_menu, t2)); - b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowGridCoordinatesSideViewSet).call$2(t1.show_grid_coordinates_side_view, t2)); - b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helices_axis_arrows_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowAxisArrowsSet).call$2(t1.show_helices_axis_arrows, t2)); - b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_loopout_extension_length_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowLoopoutExtensionLengthSet).call$2(t1.show_loopout_extension_length, t2)); - b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_slice_bar_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowSliceBarSet).call$2(t1.show_slice_bar, t2)); - b.get$_app_ui_state_storables$_$this()._show_slice_bar = t3; - t3 = H._asIntS(new B.TypedReducer(K.app_ui_state_reducer__slice_bar_offset_set_reducer$closure(), type$.TypedReducer_of_legacy_int_and_legacy_SliceBarOffsetSet).call$2(t1.slice_bar_offset, t2)); - b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisablePngCachingDnaSequencesSet).call$2(t1.disable_png_caching_dna_sequences, t2)); - b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_RetainStrandColorOnSelectionSet).call$2(t1.retain_strand_color_on_selection, t2)); - b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisplayReverseDNARightSideUpSet).call$2(t1.display_reverse_DNA_right_side_up, t2)); - b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t3; - t3 = new B.TypedReducer(K.app_ui_state_reducer__local_storage_design_choice_reducer$closure(), type$.TypedReducer_of_legacy_LocalStorageDesignChoice_and_legacy_LocalStorageDesignChoiceSet).call$2(t1.local_storage_design_choice, t2); - t3.toString; - t4 = new Y.LocalStorageDesignChoiceBuilder(); - type$.legacy_LocalStorageDesignChoice._as(t3); - t4._local_storage_design_choice$_$v = t3; - b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t4; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ClearHelixSelectionWhenLoadingNewDesignSet).call$2(t1.clear_helix_selection_when_loading_new_design, t2)); - b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__strand_paste_keep_color_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_StrandPasteKeepColorSet).call$2(t1.strand_paste_keep_color, t2)); - b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__center_on_load_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_AutofitSet).call$2(t1.autofit, t2)); - b.get$_app_ui_state_storables$_$this()._autofit = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_oxview_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_OxviewShowSet).call$2(t1.show_oxview, t2)); - b.get$_app_ui_state_storables$_$this()._show_oxview = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisplayMajorTicksOffsetsSet).call$2(t1.display_base_offsets_of_major_ticks, t2)); - b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix).call$2(t1.display_base_offsets_of_major_ticks_only_first_helix, t2)); - b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_major_tick_widths_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidths).call$2(t1.display_major_tick_widths, t2)); - b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidthsAllHelices).call$2(t1.display_major_tick_widths_all_helices, t2)); - b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t3; - t3 = type$.legacy_BasePairDisplayType._as(new B.TypedReducer(K.app_ui_state_reducer__base_pair_type_idx_reducer$closure(), type$.TypedReducer_of_legacy_BasePairDisplayType_and_legacy_BasePairTypeSet).call$2(t1.base_pair_display_type, t2)); - b.get$_app_ui_state_storables$_$this()._base_pair_display_type = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_base_pair_lines_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesSet).call$2(t1.show_base_pair_lines, t2)); - b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesWithMismatchesSet).call$2(t1.show_base_pair_lines_with_mismatches, t2)); - b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__export_svg_text_separately_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ExportSvgTextSeparatelySet).call$2(t1.export_svg_text_separately, t2)); - b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_OxExportOnlySelectedStrandsSet).call$2(t1.ox_export_only_selected_strands, t2)); - b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__only_display_selected_helices_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetOnlyDisplaySelectedHelices).call$2(t1.only_display_selected_helices, t2)); - b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t3; - t3 = type$.TypedReducer_of_legacy_bool_and_legacy_DefaultCrossoverTypeForSettingHelixRollsSet; - t4 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_scaffold_for_setting_helix_rolls, t2)); - b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t4; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_staple_for_setting_helix_rolls, t2)); - b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t3; - t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_mouseover_data_set_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowMouseoverDataSet).call$2(t1.show_mouseover_data, t2)); - b.get$_app_ui_state_storables$_$this()._show_mouseover_data = t3; - t2 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__selection_box_intersection_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SelectionBoxIntersectionRuleSet).call$2(t1.selection_box_intersection, t2)); - b.get$_app_ui_state_storables$_$this()._selection_box_intersection = t2; - return b; + get$grid_position() { + var t1 = this.get$_$this(), + t2 = t1._actions$_grid_position; + return t2 == null ? t1._actions$_grid_position = new A.GridPositionBuilder() : t2; }, - $signature: 62 - }; - K.ui_state_global_reducer_closure.prototype = { - call$1: function(u) { - var selectables_store, _null = null, - t1 = u.get$storables(), - t2 = this.ui_state, - t3 = this.state, - t4 = this.action, - t5 = K.app_ui_state_storable_global_reducer(t2.storables, t3, t4); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._app_ui_state_storables$_$v = t5; - t1 = u.get$selectables_store(); - t5 = t2.selectables_store; - selectables_store = $.$get$selectables_store_local_reducer().call$2(t5, t4); - selectables_store = $.$get$selectables_store_global_reducer().call$3(selectables_store, t3, t4); - if (selectables_store == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._selectable$_$v = selectables_store; - u.get$mouseover_datas().replace$1(0, $.$get$mouseover_datas_global_reducer().call$3(t2.mouseover_datas, t3, t4)); - t1 = $.$get$strands_move_global_reducer().call$3(t2.strands_move, t3, t4); - if (t1 == null) - t1 = _null; - else { - t5 = new U.StrandsMoveBuilder(); - type$.legacy_StrandsMove._as(t1); - t5._strands_move$_$v = t1; - t1 = t5; - } - u.get$_app_ui_state$_$this()._strands_move = t1; - t1 = $.$get$domains_move_global_reducer().call$3(t2.domains_move, t3, t4); - if (t1 == null) - t1 = _null; - else { - t5 = new V.DomainsMoveBuilder(); - type$.legacy_DomainsMove._as(t1); - t5._domains_move$_$v = t1; - t1 = t5; - } - u.get$_app_ui_state$_$this()._domains_move = t1; - t1 = $.$get$strand_creation_global_reducer().call$3(t2.strand_creation, t3, t4); - if (t1 == null) - t1 = _null; - else { - t5 = new U.StrandCreationBuilder(); - type$.legacy_StrandCreation._as(t1); - t5._strand_creation$_$v = t1; - t1 = t5; - } - u.get$_app_ui_state$_$this()._strand_creation = t1; - t1 = $.$get$copy_info_global_reducer().call$3(t2.copy_info, t3, t4); - if (t1 == null) - t1 = _null; - else { - t5 = new B.CopyInfoBuilder(); - type$.legacy_CopyInfo._as(t1); - t5._copy_info$_$v = t1; - t1 = t5; + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._actions$_helix = t2; + t2 = $$v.grid_position; + t1 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.GridPosition); + t1._grid_position$_$v = t2; + _this._actions$_grid_position = t1; + _this._$v = null; } - u.get$_app_ui_state$_$this()._copy_info = t1; - t4 = K.original_helix_offsets_reducer(t2.original_helix_offsets, t3, t4); - t4.toString; - t3 = t4.$ti; - t3._eval$1("_BuiltMap<1,2>")._as(t4); - t3 = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(new A.MapBuilder(t4._mapFactory, t4._map$_map, t4, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); - u.get$_app_ui_state$_$this().set$_original_helix_offsets(t3); - return u; + return _this; }, - $signature: 51 + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$helix()._helix$_build$0(); + _$result0 = A._$HelixGridPositionSet$_(_this.get$grid_position()._grid_position$_build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); + _$failedField._value = "grid_position"; + _this.get$grid_position()._grid_position$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("HelixGridPositionSet", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.HelixGridPositionSet; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - M.compute_domain_name_complements_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_name = this.domain_name_to; - return b; + A._$HelicesPositionsSetBasedOnCrossovers.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.HelicesPositionsSetBasedOnCrossovers; }, - $signature: 7 - }; - M.compute_domain_name_complements_closure0.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; + get$hashCode(_) { + return 1067021116; }, - $signature: 2 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelicesPositionsSetBasedOnCrossovers")); + } }; - M.compute_domain_name_complements_for_bound_domains_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_name = this.domain_name_to; - return b; - }, - $signature: 7 + A.HelicesPositionsSetBasedOnCrossoversBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$HelicesPositionsSetBasedOnCrossovers(); + A.ArgumentError_checkNotNull(_$result, "other", type$.HelicesPositionsSetBasedOnCrossovers); + return this._$v = _$result; + } }; - M.compute_domain_name_complements_for_bound_domains_closure0.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; + A._$InlineInsertionsDeletions.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.InlineInsertionsDeletions; }, - $signature: 2 - }; - X.convert_crossover_to_loopout_reducer_closure.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this._box_0.substrands); - return s; + get$hashCode(_) { + return 40574671; }, - $signature: 2 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("InlineInsertionsDeletions")); + } }; - X.convert_crossovers_to_loopouts_reducer_closure.prototype = { - call$2: function(c1, c2) { - var t1 = type$.legacy_Crossover; - t1._as(c1); - t1._as(c2); - return c1.prev_domain_idx - c2.prev_domain_idx; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 248 + A.InlineInsertionsDeletionsBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$InlineInsertionsDeletions(); + A.ArgumentError_checkNotNull(_$result, "other", type$.InlineInsertionsDeletions); + return this._$v = _$result; + } }; - X.convert_crossovers_to_loopouts_reducer_closure0.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); - s.get$_strand$_$this().set$_substrands(t1); - return s; + A._$DefaultCrossoverTypeForSettingHelixRollsSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.DefaultCrossoverTypeForSettingHelixRollsSet && this.scaffold === other.scaffold && this.staple === other.staple; }, - $signature: 2 - }; - X.loopouts_length_change_reducer_closure.prototype = { - call$2: function(c1, c2) { - var t1 = type$.legacy_Loopout; - t1._as(c1); - t1._as(c2); - return c1.prev_domain_idx - c2.prev_domain_idx; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.scaffold)), B.JSBool_methods.get$hashCode(this.staple))); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 249 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.Defaul), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "scaffold", this.scaffold); + t2.add$2(t1, "staple", this.staple); + return t2.toString$0(t1); + } }; - X.loopouts_length_change_reducer_closure0.prototype = { - call$1: function(l) { - l.get$_loopout$_$this()._loopout_num_bases = this.action.length; - return l; - }, - $signature: 24 + A.DefaultCrossoverTypeForSettingHelixRollsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._scaffold = $$v.scaffold; + _this._staple = $$v.staple; + _this._$v = null; + } + return _this; + } }; - X.loopouts_length_change_reducer_closure1.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; + A._$AutofitSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.AutofitSet && this.autofit === other.autofit; }, - $signature: 2 - }; - X.extensions_num_bases_change_reducer_closure.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._num_bases = this.action.num_bases; - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.autofit))); }, - $signature: 19 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutofitSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "autofit", this.autofit); + return t2.toString$0(t1); + } }; - X.extensions_num_bases_change_reducer_closure0.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; - }, - $signature: 2 + A.AutofitSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_autofit = $$v.autofit; + _this._$v = null; + } + return _this; + } }; - X.loopout_length_change_reducer_closure.prototype = { - call$1: function(l) { - l.get$_loopout$_$this()._loopout_num_bases = this.action.num_bases; - return l; + A._$ShowHelixCirclesMainViewSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowHelixCirclesMainViewSet && this.show_helix_circles_main_view === other.show_helix_circles_main_view; }, - $signature: 24 - }; - X.loopout_length_change_reducer_closure0.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); - s.get$_strand$_$this().set$_substrands(t1); - return s; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_helix_circles_main_view))); }, - $signature: 2 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixCirclesMainViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helix_circles_main_view", this.show_helix_circles_main_view); + return t2.toString$0(t1); + } }; - X.extension_num_bases_change_reducer_closure.prototype = { - call$1: function(l) { - l.get$_extension$_$this()._num_bases = this.action.num_bases; - return l; - }, - $signature: 19 + A.ShowHelixCirclesMainViewSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; + _this._$v = null; + } + return _this; + } }; - X.extension_num_bases_change_reducer_closure0.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); - s.get$_strand$_$this().set$_substrands(t1); - return s; + A._$ShowHelixComponentsMainViewSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowHelixComponentsMainViewSet && this.show_helix_components === other.show_helix_components; }, - $signature: 2 - }; - X.extension_display_length_angle_change_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action; - b.get$_extension$_$this()._display_length = t1.display_length; - b.get$_extension$_$this()._display_angle = t1.display_angle; - return b; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.show_helix_components))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 19 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixComponentsMainViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helix_components", this.show_helix_components); + return t2.toString$0(t1); + } }; - X.extension_display_length_angle_change_reducer_closure0.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); - s.get$_strand$_$this().set$_substrands(t1); - return s; - }, - $signature: 2 + A.ShowHelixComponentsMainViewSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show_helix_components = $$v.show_helix_components; + _this._$v = null; + } + return _this; + } }; - G.delete_all_reducer_closure.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof E.Strand; + A._$ShowEditMenuToggle.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowEditMenuToggle; }, - $signature: 13 - }; - G.delete_all_reducer_closure0.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof T.Crossover; + get$hashCode(_) { + return 156767941; }, - $signature: 13 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowEditMenuToggle")); + } }; - G.delete_all_reducer_closure1.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof G.Loopout; + A._$ShowGridCoordinatesSideViewSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowGridCoordinatesSideViewSet && this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view; }, - $signature: 13 - }; - G.delete_all_reducer_closure2.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof Z.DNAEnd; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_grid_coordinates_side_view))); }, - $signature: 13 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowGridCoordinatesSideViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_grid_coordinates_side_view", this.show_grid_coordinates_side_view); + return t2.toString$0(t1); + } }; - G.delete_all_reducer_closure3.prototype = { - call$1: function(end) { - type$.legacy_Selectable._as(end); - return J.$index$asx(this.state.design.get$end_to_domain()._map$_map, end); - }, - $signature: 253 + A.ShowGridCoordinatesSideViewSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + _this._$v = null; + } + return _this; + } }; - G.delete_all_reducer_closure4.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof G.Domain; + A._$ShowAxisArrowsSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowAxisArrowsSet && this.show_helices_axis_arrows === other.show_helices_axis_arrows; }, - $signature: 13 - }; - G.delete_all_reducer_closure5.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof E.SelectableDeletion; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_helices_axis_arrows))); }, - $signature: 13 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowAxisArrowsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helices_axis_arrows", this.show_helices_axis_arrows); + return t2.toString$0(t1); + } }; - G.delete_all_reducer_closure6.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof E.SelectableInsertion; - }, - $signature: 13 + A.ShowAxisArrowsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; + _this._$v = null; + } + return _this; + } }; - G.delete_all_reducer_closure7.prototype = { - call$1: function(item) { - return type$.legacy_SelectableModification._is(type$.legacy_Selectable._as(item)); + A._$ShowLoopoutExtensionLengthSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowLoopoutExtensionLengthSet && this.show_length === other.show_length; }, - $signature: 13 - }; - G.delete_all_reducer_closure8.prototype = { - call$1: function(item) { - return type$.legacy_Selectable._as(item) instanceof S.Extension; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_length))); }, - $signature: 13 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowLoopoutExtensionLengthSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_length", this.show_length); + return t2.toString$0(t1); + } }; - G._remove_strands_closure.prototype = { - call$1: function(b) { - var t1; - type$.legacy_ListBuilder_legacy_Strand._as(b); - t1 = b.$ti._eval$1("bool(1)")._as(new G._remove_strands__closure(this.strands_to_remove)); - J.removeWhere$1$ax(b.get$_safeList(), t1); - return b; - }, - $signature: 137 + A.ShowLoopoutExtensionLengthSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show_length = $$v.show_length; + _this._$v = null; + } + return _this; + } }; - G._remove_strands__closure.prototype = { - call$1: function(strand) { - return this.strands_to_remove.contains$1(0, type$.legacy_Strand._as(strand)); + A._$LoadDnaSequenceImageUri.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.LoadDnaSequenceImageUri && _this.uri == other.uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset; }, - $signature: 15 - }; - G.remove_linkers_from_strand_closure.prototype = { - call$2: function(l1, l2) { - var t1 = type$.legacy_Linker; - t1._as(l1); - t1._as(l2); - return C.JSInt_methods.compareTo$1(l1.get$prev_domain_idx(), l2.get$prev_domain_idx()); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.uri)), B.JSNumber_methods.get$hashCode(this.dna_sequence_png_horizontal_offset)), B.JSNumber_methods.get$hashCode(this.dna_sequence_png_vertical_offset))); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 255 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDnaSequenceImageUri"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "uri", this.uri); + t2.add$2(t1, "dna_sequence_png_horizontal_offset", this.dna_sequence_png_horizontal_offset); + t2.add$2(t1, "dna_sequence_png_vertical_offset", this.dna_sequence_png_vertical_offset); + return t2.toString$0(t1); + } }; - G.remove_linkers_from_strand_closure0.prototype = { - call$1: function(b) { - b.get$_strand$_$this()._circular = false; - return b; - }, - $signature: 2 - }; - G.create_new_strands_from_substrand_lists_closure.prototype = { - call$1: function(loopout) { - loopout.get$_loopout$_$this()._prev_domain_idx = this.i - 1; - return loopout; - }, - $signature: 24 - }; - G.create_new_strands_from_substrand_lists_closure0.prototype = { - call$1: function(s) { - s.get$_domain$_$this()._is_first = true; - return s; + A.LoadDnaSequenceImageUriBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._uri = $$v.uri; + _this._actions$_dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; + _this._actions$_dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; + _this._$v = null; + } + return _this; }, - $signature: 7 + _build$0() { + var t1, t2, t3, t4, _this = this, + _s23_ = "LoadDnaSequenceImageUri", + _s34_ = "dna_sequence_png_horizontal_offset", + _s32_ = "dna_sequence_png_vertical_offset", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._uri; + t2 = type$.double; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_dna_sequence_png_horizontal_offset, _s23_, _s34_, t2); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_dna_sequence_png_vertical_offset, _s23_, _s32_, t2); + _$result = new A._$LoadDnaSequenceImageUri(t1, t3, t4); + A.BuiltValueNullFieldError_checkNotNull(t3, _s23_, _s34_, t2); + A.BuiltValueNullFieldError_checkNotNull(t4, _s23_, _s32_, t2); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.LoadDnaSequenceImageUri); + return _this._$v = _$result; + } }; - G.create_new_strands_from_substrand_lists_closure1.prototype = { - call$1: function(s) { - s.get$_domain$_$this()._is_last = true; - return s; + A._$SetIsZoomAboveThreshold.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SetIsZoomAboveThreshold && this.is_zoom_above_threshold === other.is_zoom_above_threshold; }, - $signature: 7 - }; - G._remove_extension_from_strand_closure.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.is_zoom_above_threshold))); }, - $signature: 2 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetIsZoomAboveThreshold"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "is_zoom_above_threshold", this.is_zoom_above_threshold); + return t2.toString$0(t1); + } }; - G._remove_domains_from_strand_closure.prototype = { - call$1: function(b) { - b.get$_strand$_$this()._circular = false; - return b; + A.SetIsZoomAboveThresholdBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + _this._$v = null; + } + return _this; }, - $signature: 2 + _build$0() { + var t1, t2, + _s23_ = "SetIsZoomAboveThreshold", + _s23_0 = "is_zoom_above_threshold", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_is_zoom_above_threshold, _s23_, _s23_0, t1); + _$result = new A._$SetIsZoomAboveThreshold(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s23_, _s23_0, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SetIsZoomAboveThreshold); + return this._$v = _$result; + } }; - G.remove_deletions_and_insertions_closure.prototype = { - call$1: function(offset) { - return this.deletions_offsets_to_remove.contains$1(0, H._asIntS(offset)); + A._$SetExportSvgActionDelayedForPngCache.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SetExportSvgActionDelayedForPngCache && J.$eq$(this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache); }, - $signature: 23 - }; - G.remove_deletions_and_insertions_closure0.prototype = { - call$1: function(insertion) { - return this.insertions_offsets_to_remove.contains$1(0, type$.legacy_Insertion._as(insertion).offset); + get$hashCode(_) { + return A.$jf(A.$jc(0, J.get$hashCode$(this.export_svg_action_delayed_for_png_cache))); }, - $signature: 29 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetExportSvgActionDelayedForPngCache"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "export_svg_action_delayed_for_png_cache", this.export_svg_action_delayed_for_png_cache); + return t2.toString$0(t1); + } }; - G.remove_deletions_and_insertions_closure1.prototype = { - call$1: function(b) { - b.get$deletions().replace$1(0, this.deletions_existing); - b.get$insertions().replace$1(0, this.insertions_existing); - return b; + A.SetExportSvgActionDelayedForPngCacheBuilder.prototype = { + get$_$this() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.export_svg_action_delayed_for_png_cache; + if (t1 == null) + t1 = null; + else { + t2 = new A.ExportSvgBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.ExportSvg); + t2._$v = t1; + t1 = t2; + } + _this._actions$_export_svg_action_delayed_for_png_cache = t1; + _this._$v = null; + } + return _this; }, - $signature: 7 + _build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this._actions$_export_svg_action_delayed_for_png_cache; + _$result0 = new A._$SetExportSvgActionDelayedForPngCache(t1 == null ? null : t1._build$0()); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "export_svg_action_delayed_for_png_cache"; + t1 = _this._actions$_export_svg_action_delayed_for_png_cache; + if (t1 != null) + t1._build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("SetExportSvgActionDelayedForPngCache", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.SetExportSvgActionDelayedForPngCache; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._$v = t2; + return _$result; + } }; - G.remove_deletions_and_insertions_closure2.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; + A._$ShowBasePairLinesSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowBasePairLinesSet && this.show_base_pair_lines === other.show_base_pair_lines; }, - $signature: 2 - }; - G.remove_modifications_closure.prototype = { - call$1: function(b) { - var t1 = this._box_0; - if (t1.remove_5p) - b.get$_strand$_$this()._modification_5p = null; - if (t1.remove_3p) - b.get$_strand$_$this()._modification_3p = null; - b.get$modifications_int().replace$1(0, this.mods_int); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.show_base_pair_lines))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 68 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_base_pair_lines", this.show_base_pair_lines); + return t2.toString$0(t1); + } }; - U.design_composed_local_reducer_closure.prototype = { - call$1: function(d) { - var t1 = this.design, - t2 = this.action; - d.get$groups().replace$1(0, $.$get$groups_local_reducer().call$2(t1.groups, t2)); - d.get$helices().replace$1(0, $.$get$helices_local_reducer().call$2(t1.helices, t2)); - d.get$strands().replace$1(0, $.$get$strands_local_reducer().call$2(t1.strands, t2)); - return d; - }, - $signature: 20 + A.ShowBasePairLinesSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_base_pair_lines = $$v.show_base_pair_lines; + _this._$v = null; + } + return _this; + } }; - U.design_composed_global_reducer_closure.prototype = { - call$1: function(d) { - var t1 = this.design, - t2 = this.state, - t3 = this.action; - d.get$groups().replace$1(0, $.$get$groups_global_reducer().call$3(t1.groups, t2, t3)); - d.get$helices().replace$1(0, $.$get$helices_global_reducer().call$3(t1.helices, t2, t3)); - d.get$strands().replace$1(0, $.$get$strands_global_reducer().call$3(t1.strands, t2, t3)); - return d; + A._$ShowBasePairLinesWithMismatchesSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowBasePairLinesWithMismatchesSet && this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches; }, - $signature: 20 - }; - U.design_geometry_set_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$geometry(b), - t2 = this.action.geometry; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._geometry$_$v = t2; - return b; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.show_base_pair_lines_with_mismatches))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 9 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesWithMismatchesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_base_pair_lines_with_mismatches", this.show_base_pair_lines_with_mismatches); + return t2.toString$0(t1); + } }; - U.design_geometry_set_reducer_closure0.prototype = { - call$1: function(b) { - var t1, t2; - b.get$helices().replace$1(0, this.new_helices); - t1 = b.get$geometry(b); - t2 = this.action.geometry; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._geometry$_$v = t2; - return b; - }, - $signature: 20 + A.ShowBasePairLinesWithMismatchesSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + _this._$v = null; + } + return _this; + } }; - Z.dna_ends_move_adjust_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.offset; - b.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t1; - return b; + A._$ShowSliceBarSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ShowSliceBarSet && this.show === other.show; }, - $signature: 259 - }; - A.dna_extensions_move_adjust_reducer_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.action.position); - b.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t1); - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); }, - $signature: 260 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowSliceBarSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } }; - Q.domains_move_start_selected_domains_reducer_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof G.Domain; + A.ShowSliceBarSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; }, - $signature: 13 + _build$0() { + var t1, t2, + _s15_ = "ShowSliceBarSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._show, _s15_, "show", t1); + _$result = new A._$ShowSliceBarSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s15_, "show", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.ShowSliceBarSet); + return this._$v = _$result; + } }; - Q.domains_adjust_address_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(), - t2 = this.action.address; - t1._address$_$v = t2; - return b; + A._$SliceBarOffsetSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SliceBarOffsetSet && this.offset === other.offset; }, - $signature: 79 - }; - Q.domains_adjust_address_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_domains_move$_$this()._allowable = this.allowable; - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset))); }, - $signature: 79 - }; - Q.is_allowable_closure3.prototype = { - call$1: function(dom) { - return this.delta_forward !== (type$.legacy_Domain._as(dom).forward === this.forward); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SliceBarOffsetSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); }, - $signature: 21 + get$offset(receiver) { + return this.offset; + } }; - Q.is_allowable_closure4.prototype = { - call$1: function(dom) { - var t1; - type$.legacy_Domain._as(dom); - t1 = this.delta_offset; - return new P.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_legacy_int); + A.SliceBarOffsetSetBuilder.prototype = { + get$offset(_) { + return this.get$_$this()._actions$_offset; }, - $signature: 67 - }; - Q.is_allowable_closure5.prototype = { - call$1: function(dom) { - return type$.legacy_Domain._as(dom).forward === this.forward; + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_offset = $$v.offset; + _this._$v = null; + } + return _this; }, - $signature: 21 + _build$0() { + var t1, t2, + _s17_ = "SliceBarOffsetSet", + _$result = this._$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_offset, _s17_, "offset", t1); + _$result = new A._$SliceBarOffsetSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s17_, "offset", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SliceBarOffsetSet); + return this._$v = _$result; + } }; - Q.is_allowable_closure6.prototype = { - call$1: function(dom) { - type$.legacy_Domain._as(dom); - return new P.Point(dom.start, dom.end - 1, type$.Point_legacy_int); + A._$DisablePngCachingDnaSequencesSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.DisablePngCachingDnaSequencesSet && this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences; }, - $signature: 67 - }; - Q.move_domain_closure.prototype = { - call$1: function(b) { - var t3, t4, t5, _this = this, - t1 = _this.set_first_last_false, - t2 = t1 ? false : b.get$_domain$_$this()._is_first; - b.get$_domain$_$this()._is_first = t2; - t1 = t1 ? false : b.get$_domain$_$this()._is_last; - b.get$_domain$_$this()._is_last = t1; - b.get$_domain$_$this()._domain$_helix = _this.new_helix_idx; - t1 = _this.domain; - b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t1.forward; - t2 = _this.delta_offset; - b.get$_domain$_$this()._start = t1.start + t2; - b.get$_domain$_$this()._end = t1.end + t2; - t3 = b.get$deletions(); - t4 = t1.deletions; - t5 = type$.dynamic; - t4.toString; - t3.replace$1(0, J.map$1$1$ax(t4._list, t4.$ti._eval$1("@(1)")._as(new Q.move_domain__closure(t2)), t5)); - t4 = b.get$insertions(); - t1 = t1.insertions; - t1.toString; - t4.replace$1(0, J.map$1$1$ax(t1._list, t1.$ti._eval$1("@(1)")._as(new Q.move_domain__closure0(t2)), t5)); - return b; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.disable_png_caching_dna_sequences))); }, - $signature: 7 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisablePngCachingDnaSequencesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "disable_png_caching_dna_sequences", this.disable_png_caching_dna_sequences); + return t2.toString$0(t1); + } }; - Q.move_domain__closure.prototype = { - call$1: function(d) { - H._asIntS(d); - if (typeof d !== "number") - return d.$add(); - return d + this.delta_offset; + A.DisablePngCachingDnaSequencesSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + _this._$v = null; + } + return _this; }, - $signature: 135 + _build$0() { + var t1, t2, + _s32_ = "DisablePngCachingDnaSequencesSet", + _s33_ = "disable_png_caching_dna_sequences", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_disable_png_caching_dna_sequences, _s32_, _s33_, t1); + _$result = new A._$DisablePngCachingDnaSequencesSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s32_, _s33_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DisablePngCachingDnaSequencesSet); + return this._$v = _$result; + } }; - Q.move_domain__closure0.prototype = { - call$1: function(i) { - type$.legacy_Insertion._as(i); - return i.rebuild$1(new Q.move_domain___closure(i, this.delta_offset)); + A._$RetainStrandColorOnSelectionSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.RetainStrandColorOnSelectionSet && this.retain_strand_color_on_selection === other.retain_strand_color_on_selection; }, - $signature: 109 - }; - Q.move_domain___closure.prototype = { - call$1: function(ib) { - var t1 = this.i.offset; - ib.get$_domain$_$this()._domain$_offset = t1 + this.delta_offset; - return ib; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.retain_strand_color_on_selection))); }, - $signature: 47 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RetainStrandColorOnSelectionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "retain_strand_color_on_selection", this.retain_strand_color_on_selection); + return t2.toString$0(t1); + } }; - B.toggle_edit_mode_reducer_closure.prototype = { - call$1: function(m) { - type$.legacy_SetBuilder_legacy_EditModeChoice._as(m); - m.get$_safeSet().remove$1(0, this.mode); - return m; + A.RetainStrandColorOnSelectionSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + _this._$v = null; + } + return _this; }, - $signature: 132 + _build$0() { + var t1, t2, + _s31_ = "RetainStrandColorOnSelectionSet", + _s32_ = "retain_strand_color_on_selection", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_retain_strand_color_on_selection, _s31_, _s32_, t1); + _$result = new A._$RetainStrandColorOnSelectionSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s31_, _s32_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.RetainStrandColorOnSelectionSet); + return this._$v = _$result; + } }; - B.toggle_edit_mode_reducer_closure0.prototype = { - call$1: function(m) { - var t1, t2; - type$.legacy_SetBuilder_legacy_EditModeChoice._as(m); - t1 = m.$ti._precomputed1; - t2 = t1._as(this.mode); - !$.$get$isSoundMode() && !t1._is(null); - m.get$_safeSet().add$1(0, t2); - t1 = t2.get$excluded_modes(); - m.get$_safeSet().removeAll$1(t1); - return m; + A._$DisplayReverseDNARightSideUpSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.DisplayReverseDNARightSideUpSet && this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up; }, - $signature: 132 - }; - O.grid_change_reducer_closure.prototype = { - call$2: function($name, group) { - var t1; - H._asStringS($name); - type$.legacy_HelixGroup._as(group); - t1 = this.action; - return $name == t1.group_name ? group.rebuild$1(new O.grid_change_reducer__closure(t1)) : group; + get$hashCode(_) { + return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.display_reverse_DNA_right_side_up))); }, - $signature: 266 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayReverseDNARightSideUpSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_reverse_DNA_right_side_up", this.display_reverse_DNA_right_side_up); + return t2.toString$0(t1); + } }; - O.grid_change_reducer__closure.prototype = { - call$1: function(b) { - b.get$_group$_$this()._group$_grid = this.action.grid; - return b; + A.DisplayReverseDNARightSideUpSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + _this._$v = null; + } + return _this; }, - $signature: 26 + _build$0() { + var t1, t2, + _s31_ = "DisplayReverseDNARightSideUpSet", + _s33_ = "display_reverse_DNA_right_side_up", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._actions$_display_reverse_DNA_right_side_up, _s31_, _s33_, t1); + _$result = new A._$DisplayReverseDNARightSideUpSet(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s31_, _s33_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DisplayReverseDNARightSideUpSet); + return this._$v = _$result; + } }; - O.group_add_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b).$indexSet(0, t1.name, t1.group); + A._$SliceBarMoveStart.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SliceBarMoveStart; }, - $signature: 83 - }; - O.group_remove_reducer_closure.prototype = { - call$1: function(b) { - var t1; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b); - t1 = this.action.name; - J.remove$1$ax(b.get$_safeMap(), t1); + get$hashCode(_) { + return 405947091; }, - $signature: 83 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStart")); + } }; - O.group_change_reducer_closure.prototype = { - call$1: function(b) { - var t1, t2, t3; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b); - t1 = this.action; - t2 = t1.old_name; - t3 = t1.new_name; - if (t2 !== t3) - J.remove$1$ax(b.get$_safeMap(), t2); - b.$indexSet(0, t3, t1.new_group); - }, - $signature: 83 + A.SliceBarMoveStartBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$SliceBarMoveStart(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SliceBarMoveStart); + return this._$v = _$result; + } }; - O.move_helices_to_group_groups_reducer_closure.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.new_from_helices_group_order); - return b; + A._$SliceBarMoveStop.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SliceBarMoveStop; }, - $signature: 26 - }; - O.move_helices_to_group_groups_reducer_closure0.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.new_helices_view_order); - return b; + get$hashCode(_) { + return 186948767; }, - $signature: 26 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStop")); + } }; - V.helix_idx_change_reducer_closure.prototype = { - call$2: function(key, _) { - H._asIntS(key); - type$.legacy_Helix._as(_); - return J.containsKey$1$x(this.action.idx_replacements._map$_map, key); - }, - $signature: 73 + A.SliceBarMoveStopBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$SliceBarMoveStop(); + A.ArgumentError_checkNotNull(_$result, "other", type$.SliceBarMoveStop); + return this._$v = _$result; + } }; - V.helix_idx_change_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._idx = this.new_idx; - return b; + A._$Autostaple.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.Autostaple; }, - $signature: 9 - }; - V.helix_idx_change_reducer_closure1.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_helix = this.new_idx; - return b; + get$hashCode(_) { + return 574995319; }, - $signature: 7 + toString$0(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("Autostaple")); + } }; - V.helix_idx_change_reducer_closure2.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; - }, - $signature: 2 + A.AutostapleBuilder.prototype = { + _build$0() { + var _$result = this._$v; + if (_$result == null) + _$result = new A._$Autostaple(); + A.ArgumentError_checkNotNull(_$result, "other", type$.Autostaple); + return this._$v = _$result; + } }; - V.helix_idx_change_reducer_closure3.prototype = { - call$1: function(b) { - b.get$groups().replace$1(0, this.new_groups); - b.get$helices().replace$1(0, this.helices); - b.get$strands().replace$1(0, this.strands); - return b; + A._$Autobreak.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.Autobreak && _this.target_length === other.target_length && _this.min_length === other.min_length && _this.max_length === other.max_length && _this.min_distance_to_xover === other.min_distance_to_xover; }, - $signature: 20 - }; - V.change_groups_closure.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.helices_view_order_new); - return b; + get$hashCode(_) { + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.target_length)), B.JSInt_methods.get$hashCode(_this.min_length)), B.JSInt_methods.get$hashCode(_this.max_length)), B.JSInt_methods.get$hashCode(_this.min_distance_to_xover))); }, - $signature: 26 + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Autobreak"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "target_length", _this.target_length); + t2.add$2(t1, "min_length", _this.min_length); + t2.add$2(t1, "max_length", _this.max_length); + t2.add$2(t1, "min_distance_to_xover", _this.min_distance_to_xover); + return t2.toString$0(t1); + } }; - V._change_offset_one_helix_closure.prototype = { - call$1: function(b) { + A.AutobreakBuilder.prototype = { + get$_$this() { var _this = this, - t1 = _this.min_offset; - if (t1 == null) - t1 = _this.helix.min_offset; - b.get$_helix$_$this()._min_offset = t1; - t1 = _this.max_offset; - if (t1 == null) - t1 = _this.helix.max_offset; - b.get$_helix$_$this()._max_offset = t1; - return b; + $$v = _this._$v; + if ($$v != null) { + _this._target_length = $$v.target_length; + _this._min_length = $$v.min_length; + _this._max_length = $$v.max_length; + _this._min_distance_to_xover = $$v.min_distance_to_xover; + _this._$v = null; + } + return _this; }, - $signature: 9 + _build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s9_ = "Autobreak", + _s13_ = "target_length", + _s10_ = "min_length", + _s10_0 = "max_length", + _s21_ = "min_distance_to_xover", + _$result = _this._$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._target_length, _s9_, _s13_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._min_length, _s9_, _s10_, t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._max_length, _s9_, _s10_0, t1); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._min_distance_to_xover, _s9_, _s21_, t1); + _$result = new A._$Autobreak(t2, t3, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s9_, _s13_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s9_, _s10_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s9_, _s10_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s9_, _s21_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Autobreak); + return _this._$v = _$result; + } }; - V.helix_offset_change_all_with_moving_strands_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(), - t2 = this.action.address; - t1._address$_$v = t2; - return b; + A._$ZoomSpeedSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ZoomSpeedSet && this.speed == other.speed; }, - $signature: 35 - }; - V.helix_offset_change_all_with_moving_strands_reducer_map_func.prototype = { - call$2: function(idx, helix) { - H._asIntS(idx); - return V._change_offset_one_helix(type$.legacy_Helix._as(helix), this.offsets.$index(0, idx), null); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.speed))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 34 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ZoomSpeedSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "speed", this.speed); + return t2.toString$0(t1); + } }; - V.helix_offset_change_all_with_moving_strands_reducer_map_func0.prototype = { - call$2: function(idx, helix) { - H._asIntS(idx); - return V._change_offset_one_helix(type$.legacy_Helix._as(helix), null, this.offsets.$index(0, idx)); - }, - $signature: 34 + A.ZoomSpeedSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._speed = $$v.speed; + _this._$v = null; + } + return _this; + } }; - V.helix_offset_change_all_while_creating_strand_reducer_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._min_offset = this.action.offset; - return b; + A._$OxdnaExport.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.OxdnaExport && this.selected_strands_only === other.selected_strands_only; }, - $signature: 9 - }; - V.helix_offset_change_all_while_creating_strand_reducer_closure0.prototype = { - call$1: function(b) { - var t1 = this.action.offset; - if (typeof t1 !== "number") - return t1.$add(); - b.get$_helix$_$this()._max_offset = t1 + 1; - return b; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.selected_strands_only))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 9 - }; - V.helix_offset_change_all_while_creating_strand_reducer_closure1.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._min_offset = this.action.offset; - return b; + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxdnaExport"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + return t2.toString$0(t1); }, - $signature: 9 + get$selected_strands_only() { + return this.selected_strands_only; + } }; - V.helix_offset_change_all_while_creating_strand_reducer_closure2.prototype = { - call$1: function(b) { - var t1 = this.action.offset; - if (typeof t1 !== "number") - return t1.$add(); - return b.get$_helix$_$this()._max_offset = t1 + 1; + A.OxdnaExportBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._selected_strands_only = $$v.selected_strands_only; + _this._$v = null; + } + return _this; }, - $signature: 56 + _build$0() { + var t1, t2, + _s11_ = "OxdnaExport", + _s21_ = "selected_strands_only", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._selected_strands_only, _s11_, _s21_, t1); + _$result = new A._$OxdnaExport(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, _s21_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.OxdnaExport); + return this._$v = _$result; + } }; - V.first_replace_strands_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.min_offsets.$index(0, this.helix_idx); - b.get$_helix$_$this()._min_offset = t1; - return b; + A._$OxviewExport.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.OxviewExport && this.selected_strands_only === other.selected_strands_only; }, - $signature: 9 - }; - V.first_replace_strands_reducer_closure0.prototype = { - call$1: function(b) { - var t1 = this.max_offsets.$index(0, this.helix_idx); - b.get$_helix$_$this()._max_offset = t1; - return b; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.selected_strands_only))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 9 - }; - V.reset_helices_offsets_closure.prototype = { - call$1: function(b) { - var t1 = H._asIntS(J.$index$asx(J.$index$asx(this.original_helix_offsets._map$_map, this.idx)._list, 0)); - return b.get$_helix$_$this()._min_offset = t1; + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewExport"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + return t2.toString$0(t1); }, - $signature: 56 + get$selected_strands_only() { + return this.selected_strands_only; + } }; - V.reset_helices_offsets_closure0.prototype = { - call$1: function(b) { - var t1 = H._asIntS(J.$index$asx(J.$index$asx(this.original_helix_offsets._map$_map, this.idx)._list, 1)); - return b.get$_helix$_$this()._max_offset = t1; + A.OxviewExportBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._selected_strands_only = $$v.selected_strands_only; + _this._$v = null; + } + return _this; }, - $signature: 56 + _build$0() { + var t1, t2, + _s12_ = "OxviewExport", + _s21_ = "selected_strands_only", + _$result = this._$v; + if (_$result == null) { + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(this.get$_$this()._selected_strands_only, _s12_, _s21_, t1); + _$result = new A._$OxviewExport(t2); + A.BuiltValueNullFieldError_checkNotNull(t2, _s12_, _s21_, t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.OxviewExport); + return this._$v = _$result; + } }; - V.helix_offset_change_all_reducer_map_func.prototype = { - call$2: function(_, helix) { - var t1 = this.action; - return V._change_offset_one_helix(type$.legacy_Helix._as(helix), t1.min_offset, t1.max_offset); + A._$OxExportOnlySelectedStrandsSet.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.OxExportOnlySelectedStrandsSet && this.only_selected === other.only_selected; }, - $signature: 88 - }; - V._min_offset_set_by_domains_one_helix_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._min_offset = this.min_offset; - return b; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._actions$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(_this.only_selected))); + t1 = _this._actions$__hashCode; + if (t1 == null) { + _this._actions$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 9 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxExportOnlySelectedStrandsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "only_selected", this.only_selected); + return t2.toString$0(t1); + } }; - V._max_offset_set_by_domains_one_helix_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._max_offset = this.max_offset; - return b; - }, - $signature: 9 + A.OxExportOnlySelectedStrandsSetBuilder.prototype = { + get$_$this() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._only_selected = $$v.only_selected; + _this._$v = null; + } + return _this; + } }; - V.helix_min_offset_set_by_domains_all_reducer_map_func.prototype = { - call$2: function(_, helix) { - return V._min_offset_set_by_domains_one_helix(type$.legacy_Helix._as(helix), this.state.design); + A._AssignDNA_Object_BuiltJsonSerializable.prototype = {}; + A._AssignDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; + A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable.prototype = {}; + A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; + A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._AutoPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; + A._Autobreak_Object_BuiltJsonSerializable.prototype = {}; + A._AutofitSet_Object_BuiltJsonSerializable.prototype = {}; + A._Autostaple_Object_BuiltJsonSerializable.prototype = {}; + A._BasePairTypeSet_Object_BuiltJsonSerializable.prototype = {}; + A._BatchAction_Object_UndoableAction.prototype = {}; + A._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable.prototype = {}; + A._ContextMenuHide_Object_BuiltJsonSerializable.prototype = {}; + A._ContextMenuShow_Object_BuiltJsonSerializable.prototype = {}; + A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable.prototype = {}; + A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable.prototype = {}; + A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable.prototype = {}; + A._CopySelectedStrands_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable.prototype = {}; + A._DeleteAllSelected_Object_BuiltJsonSerializable.prototype = {}; + A._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DeletionAdd_Object_BuiltJsonSerializable.prototype = {}; + A._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DeletionRemove_Object_BuiltJsonSerializable.prototype = {}; + A._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DialogHide_Object_BuiltJsonSerializable.prototype = {}; + A._DialogShow_Object_BuiltJsonSerializable.prototype = {}; + A._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable.prototype = {}; + A._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable.prototype = {}; + A._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable.prototype = {}; + A._DomainLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._DomainNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; + A._DomainsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + A._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable.prototype = {}; + A._DomainsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._DynamicHelixUpdateSet_Object_BuiltJsonSerializable.prototype = {}; + A._EditModeToggle_Object_BuiltJsonSerializable.prototype = {}; + A._EditModesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ErrorMessageSet_Object_BuiltJsonSerializable.prototype = {}; + A._ExampleDesignsLoad_Object_BuiltJsonSerializable.prototype = {}; + A._ExportCadnanoFile_Object_BuiltJsonSerializable.prototype = {}; + A._ExportCanDoDNA_Object_BuiltJsonSerializable.prototype = {}; + A._ExportCodenanoFile_Object_BuiltJsonSerializable.prototype = {}; + A._ExportDNA_Object_BuiltJsonSerializable.prototype = {}; + A._ExportSvg_Object_BuiltJsonSerializable.prototype = {}; + A._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable.prototype = {}; + A._ExtensionAdd_Object_BuiltJsonSerializable.prototype = {}; + A._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable.prototype = {}; + A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ExtensionNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; + A._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; + A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._GeometrySet_Object_BuiltJsonSerializable.prototype = {}; + A._GeometrySet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._GridChange_Object_BuiltJsonSerializable.prototype = {}; + A._GridChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._GroupAdd_Object_BuiltJsonSerializable.prototype = {}; + A._GroupAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._GroupChange_Object_BuiltJsonSerializable.prototype = {}; + A._GroupChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._GroupDisplayedChange_Object_BuiltJsonSerializable.prototype = {}; + A._GroupRemove_Object_BuiltJsonSerializable.prototype = {}; + A._GroupRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable.prototype = {}; + A._HelixAdd_Object_BuiltJsonSerializable.prototype = {}; + A._HelixAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixGridPositionSet_Object_BuiltJsonSerializable.prototype = {}; + A._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable.prototype = {}; + A._HelixGroupMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + A._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixGroupMoveCreate_Object_BuiltJsonSerializable.prototype = {}; + A._HelixGroupMoveStart_Object_BuiltJsonSerializable.prototype = {}; + A._HelixGroupMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._HelixIdxsChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickStartChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTicksChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixOffsetChange_Object_BuiltJsonSerializable.prototype = {}; + A._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixOffsetChangeAll_Object_BuiltJsonSerializable.prototype = {}; + A._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixPositionSet_Object_BuiltJsonSerializable.prototype = {}; + A._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixRemove_Object_BuiltJsonSerializable.prototype = {}; + A._HelixRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixRemoveAllSelected_Object_BuiltJsonSerializable.prototype = {}; + A._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixRollSet_Object_BuiltJsonSerializable.prototype = {}; + A._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixRollSetAtOther_Object_BuiltJsonSerializable.prototype = {}; + A._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._HelixSelect_Object_BuiltJsonSerializable.prototype = {}; + A._HelixSelectionsAdjust_Object_BuiltJsonSerializable.prototype = {}; + A._HelixSelectionsClear_Object_BuiltJsonSerializable.prototype = {}; + A._InlineInsertionsDeletions_Object_BuiltJsonSerializable.prototype = {}; + A._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._InsertionAdd_Object_BuiltJsonSerializable.prototype = {}; + A._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._InsertionLengthChange_Object_BuiltJsonSerializable.prototype = {}; + A._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._InsertionRemove_Object_BuiltJsonSerializable.prototype = {}; + A._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._InsertionsLengthChange_Object_BuiltJsonSerializable.prototype = {}; + A._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._InvertYSet_Object_BuiltJsonSerializable.prototype = {}; + A._JoinStrandsByCrossover_Object_BuiltJsonSerializable.prototype = {}; + A._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable.prototype = {}; + A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._Ligate_Object_BuiltJsonSerializable.prototype = {}; + A._Ligate_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._LoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; + A._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + A._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable.prototype = {}; + A._LoadingDialogHide_Object_BuiltJsonSerializable.prototype = {}; + A._LoadingDialogShow_Object_BuiltJsonSerializable.prototype = {}; + A._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable.prototype = {}; + A._LoopoutLengthChange_Object_BuiltJsonSerializable.prototype = {}; + A._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._LoopoutsLengthChange_Object_BuiltJsonSerializable.prototype = {}; + A._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._ManualPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationAdd_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ModificationConnectorLengthSet_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationEdit_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ModificationFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationRemove_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._Modifications3PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; + A._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._Modifications5PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; + A._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ModificationsInternalEdit_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._MouseGridPositionSideClear_Object_BuiltJsonSerializable.prototype = {}; + A._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; + A._MousePositionSideClear_Object_BuiltJsonSerializable.prototype = {}; + A._MousePositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; + A._MouseoverDataClear_Object_BuiltJsonSerializable.prototype = {}; + A._MouseoverDataUpdate_Object_BuiltJsonSerializable.prototype = {}; + A._MoveHelicesToGroup_Object_BuiltJsonSerializable.prototype = {}; + A._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._MoveLinker_Object_BuiltJsonSerializable.prototype = {}; + A._MoveLinker_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._NewDesignSet_Object_BuiltJsonSerializable.prototype = {}; + A._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._Nick_Object_BuiltJsonSerializable.prototype = {}; + A._Nick_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable.prototype = {}; + A._OxdnaExport_Object_BuiltJsonSerializable.prototype = {}; + A._OxviewExport_Object_BuiltJsonSerializable.prototype = {}; + A._OxviewShowSet_Object_BuiltJsonSerializable.prototype = {}; + A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; + A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; + A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._PotentialCrossoverCreate_Object_BuiltJsonSerializable.prototype = {}; + A._PotentialCrossoverMove_Object_BuiltJsonSerializable.prototype = {}; + A._PotentialCrossoverRemove_Object_BuiltJsonSerializable.prototype = {}; + A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; + A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + A._Redo_Object_BuiltJsonSerializable.prototype = {}; + A._Redo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + A._RelaxHelixRolls_Object_BuiltJsonSerializable.prototype = {}; + A._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._RemoveDNA_Object_BuiltJsonSerializable.prototype = {}; + A._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ReplaceStrands_Object_BuiltJsonSerializable.prototype = {}; + A._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ResetLocalStorage_Object_BuiltJsonSerializable.prototype = {}; + A._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable.prototype = {}; + A._SaveDNAFile_Object_BuiltJsonSerializable.prototype = {}; + A._ScaffoldSet_Object_BuiltJsonSerializable.prototype = {}; + A._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; + A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._Select_Object_BuiltJsonSerializable.prototype = {}; + A._SelectAll_Object_BuiltJsonSerializable.prototype = {}; + A._SelectAllSelectable_Object_BuiltJsonSerializable.prototype = {}; + A._SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable.prototype = {}; + A._SelectModeToggle_Object_BuiltJsonSerializable.prototype = {}; + A._SelectModesAdd_Object_BuiltJsonSerializable.prototype = {}; + A._SelectModesSet_Object_BuiltJsonSerializable.prototype = {}; + A._SelectOrToggleItems_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionBoxCreate_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionBoxRemove_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionBoxSizeChange_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionRopeAddPoint_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionRopeCreate_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionRopeMouseMove_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionRopeRemove_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionsAdjustMainView_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionsClear_Object_BuiltJsonSerializable.prototype = {}; + A._SetAppUIStateStorable_Object_BuiltJsonSerializable.prototype = {}; + A._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable.prototype = {}; + A._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable.prototype = {}; + A._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable.prototype = {}; + A._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable.prototype = {}; + A._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable.prototype = {}; + A._SetModificationDisplayConnector_Object_BuiltJsonSerializable.prototype = {}; + A._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable.prototype = {}; + A._ShowAxisArrowsSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowBasePairLinesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowDNASet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowDomainLabelsSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowDomainNamesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowEditMenuToggle_Object_BuiltJsonSerializable.prototype = {}; + A._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowModificationsSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowMouseoverDataSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowMouseoverRectSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowMouseoverRectToggle_Object_BuiltJsonSerializable.prototype = {}; + A._ShowSliceBarSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowStrandLabelsSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowStrandNamesSet_Object_BuiltJsonSerializable.prototype = {}; + A._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable.prototype = {}; + A._SkipUndo_Object_BuiltJsonSerializable.prototype = {}; + A._SliceBarMoveStart_Object_BuiltJsonSerializable.prototype = {}; + A._SliceBarMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._SliceBarOffsetSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandCreateAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; + A._StrandCreateCommit_Object_BuiltJsonSerializable.prototype = {}; + A._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._StrandCreateStart_Object_BuiltJsonSerializable.prototype = {}; + A._StrandCreateStop_Object_BuiltJsonSerializable.prototype = {}; + A._StrandLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._StrandNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandNameSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable.prototype = {}; + A._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable.prototype = {}; + A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._StrandPasteKeepColorSet_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._StrandsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + A._StrandsReflect_Object_BuiltJsonSerializable.prototype = {}; + A._SubstrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; + A._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._SubstrandNameSet_Object_BuiltJsonSerializable.prototype = {}; + A._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._ThrottledActionFast_Object_BuiltJsonSerializable.prototype = {}; + A._ThrottledActionNonFast_Object_BuiltJsonSerializable.prototype = {}; + A._Undo_Object_BuiltJsonSerializable.prototype = {}; + A._Undo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + A._UndoRedoClear_Object_BuiltJsonSerializable.prototype = {}; + A._VendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; + A._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + A._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable.prototype = {}; + A._ZoomSpeedSet_Object_BuiltJsonSerializable.prototype = {}; + A.App.prototype = { + start$0(_) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$self = this, state, t1; + var $async$start$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = A.browser(); + t1.toString; + if (!(t1 === $.$get$chrome() || t1 === $.$get$edgeChrome())) { + t1 = A.browser(); + t1.toString; + t1 = t1 === $.$get$firefox(); + } else + t1 = true; + if (t1) { + t1 = A.browser(); + t1.toString; + t1 = t1 === $.$get$edgeChrome(); + } else + t1 = true; + if (t1) { + t1 = A.browser().name; + B.Window_methods.alert$1(window, "You appear to be using " + t1 + ". scadnano does not currently support this browser. Please use Chrome, Firefox, or Edge instead."); + A.print("current browser: " + A.browser().name); + } + state = $.$get$DEFAULT_AppState(); + A.print('SCADNANO_PROD = "true", so Redux Devtools disabled'); + t1 = type$.Store_AppState._as(A.Store$(A.app_state_reducer__app_state_reducer$closure(), state, $.$get$all_middleware(), false, type$.AppState)); + $async$self.__App_store_F !== $ && A.throwLateFieldAI("store"); + $async$self.set$__App_store_F(t1); + t1 = type$.Store_nullable_SelectionRope._as(A.Store$($.$get$optimized_selection_rope_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_SelectionRope_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_SelectionRope)); + $async$self.__App_store_selection_rope_F !== $ && A.throwLateFieldAI("store_selection_rope"); + $async$self.set$__App_store_selection_rope_F(t1); + t1 = type$.Store_nullable_SelectionBox._as(A.Store$($.$get$optimized_selection_box_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_SelectionBox_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_SelectionBox)); + $async$self.__App_store_selection_box_F !== $ && A.throwLateFieldAI("store_selection_box"); + $async$self.set$__App_store_selection_box_F(t1); + t1 = type$.Store_nullable_PotentialCrossover._as(A.Store$($.$get$optimized_potential_crossover_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_PotentialCrossover_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_PotentialCrossover)); + $async$self.__App_store_potential_crossover_F !== $ && A.throwLateFieldAI("store_potential_crossover"); + $async$self.set$__App_store_potential_crossover_F(t1); + t1 = type$.Store_nullable_DNAExtensionsMove._as(A.Store$($.$get$optimized_dna_extensions_move_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_DNAExtensionsMove_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_DNAExtensionsMove)); + $async$self.__App_store_extensions_move_F !== $ && A.throwLateFieldAI("store_extensions_move"); + $async$self.set$__App_store_extensions_move_F(t1); + t1 = type$.Store_nullable_DNAEndsMove._as(A.Store$($.$get$optimized_dna_ends_move_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_DNAEndsMove_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_DNAEndsMove)); + $async$self.__App_store_dna_ends_move_F !== $ && A.throwLateFieldAI("store_dna_ends_move"); + $async$self.set$__App_store_dna_ends_move_F(t1); + t1 = type$.Store_nullable_HelixGroupMove._as(A.Store$($.$get$optimized_helix_group_move_reducer(), null, A._setArrayType([A.throttle__throttle_middleware$closure()], type$.JSArray_of_dynamic_Function_3_Store_nullable_HelixGroupMove_and_dynamic_and_dynamic_Function_dynamic), false, type$.nullable_HelixGroupMove)); + $async$self.__App_store_helix_group_move_F !== $ && A.throwLateFieldAI("store_helix_group_move"); + $async$self.set$__App_store_helix_group_move_F(t1); + A.setup_undo_redo_keyboard_listeners(); + A.setup_save_open_dna_file_keyboard_listeners(); + A.copy_selected_strands_to_clipboard_image_keyboard_listeners(); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + A.restore_all_local_storage(t1); + $async$self.setup_warning_before_unload$0(); + $async$self.setup_save_design_to_localStorage_before_unload$0(); + t1 = $async$self.__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1.get$state(t1); + window.dart_main_view_pointer_up = A.allowInterop(A.design__main_view_pointer_up$closure(), type$.Function); + $async$self.setup_view$0(); + self.set_zoom_speed(t1.get$state(t1).ui_state.storables.zoom_speed); + // implicit return + return A._asyncReturn(null, $async$completer); + } + }); + return A._asyncStartSync($async$start$0, $async$completer); }, - $signature: 88 - }; - V.helix_max_offset_set_by_domains_all_reducer_map_func.prototype = { - call$2: function(_, helix) { - return V._max_offset_set_by_domains_one_helix(type$.legacy_Helix._as(helix), this.state.design); + disable_keyboard_shortcuts_while$1$1(f, $T) { + return this.disable_keyboard_shortcuts_while$body$App($T._eval$1("Future<0>()")._as(f), $T, $T); }, - $signature: 88 - }; - V.helix_max_offset_set_by_domains_all_same_max_reducer_closure.prototype = { - call$2: function(_, helix) { - H._asIntS(_); - return type$.legacy_Helix._as(helix).rebuild$1(new V.helix_max_offset_set_by_domains_all_same_max_reducer__closure(this._box_0)); + disable_keyboard_shortcuts_while$body$App(f, $T, $async$type) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter($async$type), + $async$returnValue, $async$self = this, return_value; + var $async$disable_keyboard_shortcuts_while$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$self.keyboard_shortcuts_enabled = false; + $async$goto = 3; + return A._asyncAwait(f.call$0(), $async$disable_keyboard_shortcuts_while$1$1); + case 3: + // returning from await. + return_value = $async$result; + $async$self.keyboard_shortcuts_enabled = true; + $async$returnValue = return_value; + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$disable_keyboard_shortcuts_while$1$1, $async$completer); + }, + dispatch$1(action) { + var t1, underlying_action, _this = this, + _s12_ = "_dispatchers"; + if (!type$.FastAction._is(action)) { + t1 = _this.__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1.dispatch$1(action); + } + underlying_action = action instanceof A.ThrottledActionFast ? action.action : action; + if (underlying_action instanceof A.SelectionRopeCreate || underlying_action instanceof A.SelectionRopeMouseMove || underlying_action instanceof A.SelectionRopeAddPoint || underlying_action instanceof A.SelectionRopeRemove) { + t1 = _this.__App_store_selection_rope_F; + t1 === $ && A.throwLateFieldNI("store_selection_rope"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof A.SelectionBoxCreate || underlying_action instanceof A.SelectionBoxSizeChange || underlying_action instanceof A.SelectionBoxRemove) { + t1 = _this.__App_store_selection_box_F; + t1 === $ && A.throwLateFieldNI("store_selection_box"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof A.PotentialCrossoverCreate || underlying_action instanceof A.PotentialCrossoverMove || underlying_action instanceof A.PotentialCrossoverRemove) { + t1 = _this.__App_store_potential_crossover_F; + t1 === $ && A.throwLateFieldNI("store_potential_crossover"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof A.DNAEndsMoveSetSelectedEnds || underlying_action instanceof A.DNAEndsMoveAdjustOffset || underlying_action instanceof A.DNAEndsMoveStop) { + t1 = _this.__App_store_dna_ends_move_F; + t1 === $ && A.throwLateFieldNI("store_dna_ends_move"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof A.DNAExtensionsMoveSetSelectedExtensionEnds || underlying_action instanceof A.DNAExtensionsMoveAdjustPosition || underlying_action instanceof A.DNAExtensionsMoveStop) { + t1 = _this.__App_store_extensions_move_F; + t1 === $ && A.throwLateFieldNI("store_extensions_move"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof A.HelixGroupMoveCreate || underlying_action instanceof A.HelixGroupMoveAdjustTranslation || underlying_action instanceof A.HelixGroupMoveStop) { + t1 = _this.__App_store_helix_group_move_F; + t1 === $ && A.throwLateFieldNI("store_helix_group_move"); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } }, - $signature: 34 - }; - V.helix_max_offset_set_by_domains_all_same_max_reducer__closure.prototype = { - call$1: function(b) { - var t1 = this._box_0.max_offset; - b.get$_helix$_$this()._max_offset = t1; - return b; + setup_warning_before_unload$0() { + var t1 = window, + t2 = type$.nullable_void_Function_legacy_BeforeUnloadEvent._as(new A.App_setup_warning_before_unload_closure(this)); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "beforeunload", t2, false, type$.legacy_BeforeUnloadEvent); }, - $signature: 9 - }; - V.helix_major_tick_distance_change_all_reducer_closure.prototype = { - call$2: function(_, helix) { - H._asIntS(_); - return V._change_major_tick_distance_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_distance); + setup_save_design_to_localStorage_before_unload$0() { + var t1 = window, + t2 = type$.nullable_void_Function_legacy_BeforeUnloadEvent._as(new A.App_setup_save_design_to_localStorage_before_unload_closure(this)); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "beforeunload", t2, false, type$.legacy_BeforeUnloadEvent); }, - $signature: 34 - }; - V.helix_major_ticks_change_all_reducer_closure.prototype = { - call$2: function(_, helix) { - H._asIntS(_); - return V._change_major_ticks_one_helix(type$.legacy_Helix._as(helix), this.action.major_ticks); + setup_view$0() { + var t4, t5, t6, t7, t8, t9, menu_design_separator, design_mode_separator, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, side_main_separator, t20, t21, t22, t23, t24, t25, t26, t27, t28, drop_shadow, filter_element, defns, main_arrows, side_arrows, side_view_svg_viewport, main_view_svg_viewport, side_view_dummy_elt, main_view_dummy_elt, side_pane_width, _this = this, + _s19_ = "draggable-separator", + _s26_ = "http://www.w3.org/2000/svg", + _s11_ = "feMergeNode", + t1 = document, + app_root_element = type$.DivElement._as(t1.querySelector("#top-container")), + t2 = t1.createElement("div"), + t3 = type$.String; + B.DivElement_methods.set$attributes(t2, A.LinkedHashMap_LinkedHashMap$_literal(["id", "modes-buttons"], t3, t3)); + t4 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t4, A.LinkedHashMap_LinkedHashMap$_literal(["id", "menu"], t3, t3)); + t5 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t5, A.LinkedHashMap_LinkedHashMap$_literal(["id", "nonmenu-panes-container"], t3, t3)); + t6 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t6, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-pane"], t3, t3)); + t7 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t7, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-and-modes-buttons-container", "class", "split"], t3, t3)); + t8 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t8, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-oxview-separator", "class", _s19_], t3, t3)); + t9 = new A.View(app_root_element, t2, t4, t5, t6, t7, t8); + A.setup_file_drag_and_drop_listener(app_root_element); + app_root_element.appendChild(t4); + menu_design_separator = t1.createElement("div"); + B.DivElement_methods.set$attributes(menu_design_separator, A.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-horizontal-separator"], t3, t3)); + app_root_element.appendChild(menu_design_separator); + app_root_element.appendChild(t5); + t5.appendChild(t7); + t7.appendChild(t6); + design_mode_separator = t1.createElement("div"); + B.DivElement_methods.set$attributes(design_mode_separator, A.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-vertical-separator"], t3, t3)); + t7.appendChild(design_mode_separator); + t7.appendChild(t2); + t7 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t7, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design"], t3, t3)); + t10 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t10, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-separator", "class", "fixed-separator"], t3, t3)); + t11 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t11, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-mouse-over"], t3, t3)); + t12 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t12, A.LinkedHashMap_LinkedHashMap$_literal(["id", "design-mode-buttons"], t3, t3)); + t13 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t13, A.LinkedHashMap_LinkedHashMap$_literal(["id", "error-message-pane"], t3, t3)); + t14 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t14, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-menu"], t3, t3)); + t15 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t15, A.LinkedHashMap_LinkedHashMap$_literal(["id", "context-menu-container"], t3, t3)); + t16 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t16, A.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-form-container"], t3, t3)); + t17 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t17, A.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-loading-container"], t3, t3)); + t18 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t18, A.LinkedHashMap_LinkedHashMap$_literal(["id", "strand-color-picker-container"], t3, t3)); + t19 = type$.Point_double; + t19 = new A.DesignViewComponent(t6, t7, t10, t11, t12, t13, t14, t15, t16, t17, t18, new A.Point(0, 0, t19), new A.Point(0, 0, t19), A.LinkedHashMap_LinkedHashMap$_literal([B.DraggableComponent_0, null, B.DraggableComponent_1, null], type$.DraggableComponent, type$.nullable_Draggable)); + t12 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t12, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-pane", "class", "split"], t3, t3)); + t19.__DesignViewComponent_side_pane_A = t12; + side_main_separator = t1.createElement("div"); + B.DivElement_methods.set$attributes(side_main_separator, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-main-separator", "class", _s19_], t3, t3)); + t20 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t20, A.LinkedHashMap_LinkedHashMap$_literal(["id", "main-pane", "class", "split"], t3, t3)); + t19.__DesignViewComponent_main_pane_A = t20; + t21 = A.SvgSvgElement_SvgSvgElement(); + B.SvgSvgElement_methods.set$attributes(t21, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); + t19.__DesignViewComponent_side_view_svg_A = t21; + t22 = A.SvgSvgElement_SvgSvgElement(); + B.SvgSvgElement_methods.set$attributes(t22, A.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); + t19.__DesignViewComponent_main_view_svg_A = t22; + t23 = type$.SvgElement; + t24 = type$.FEGaussianBlurElement._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "feGaussianBlur"))); + (t24 && B.FEGaussianBlurElement_methods).set$attributes(t24, A.LinkedHashMap_LinkedHashMap$_literal(["stdDeviation", "2.5"], t3, t3)); + t25 = type$.FEMergeElement._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "feMerge"))); + t26 = type$.FEMergeNodeElement; + t27 = t26._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, _s11_))); + t26 = t26._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, _s11_))); + (t26 && B.FEMergeNodeElement_methods).set$attributes(t26, A.LinkedHashMap_LinkedHashMap$_literal(["in", "SourceGraphic"], t3, t3)); + t28 = type$.JSArray_Element; + (t25 && B.FEMergeElement_methods).set$children(t25, A._setArrayType([t27, t26], t28)); + drop_shadow = A._setArrayType([t24, t25], type$.JSArray_SvgElement); + filter_element = type$.FilterElement._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "filter"))); + (filter_element && B.FilterElement_methods).set$children(filter_element, drop_shadow); + B.FilterElement_methods.set$attributes(filter_element, A.LinkedHashMap_LinkedHashMap$_literal(["id", "shadow", "x", "-100%", "y", "-100%", "width", "300%", "height", "300%"], t3, t3)); + defns = type$.DefsElement._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "defs"))); + (defns && B.DefsElement_methods).set$children(defns, A._setArrayType([filter_element], t28)); + t22.appendChild(defns); + main_arrows = A.SvgSvgElement_SvgSvgElement(); + B.SvgSvgElement_methods.set$attributes(main_arrows, A.LinkedHashMap_LinkedHashMap$_literal(["id", "main-arrows", "width", "85px", "height", "85px"], t3, t3)); + side_arrows = A.SvgSvgElement_SvgSvgElement(); + B.SvgSvgElement_methods.set$attributes(side_arrows, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-arrows", "width", "85px", "height", "85px"], t3, t3)); + t28 = type$.GElement; + side_view_svg_viewport = t28._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "g"))); + (side_view_svg_viewport && B.GElement_methods).set$attributes(side_view_svg_viewport, A.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg-viewport"], t3, t3)); + main_view_svg_viewport = t28._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "g"))); + (main_view_svg_viewport && B.GElement_methods).set$attributes(main_view_svg_viewport, A.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg-viewport"], t3, t3)); + t21.appendChild(side_view_svg_viewport); + t22.appendChild(main_view_svg_viewport); + t28 = type$.CircleElement; + side_view_dummy_elt = t28._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "circle"))); + (side_view_dummy_elt && B.CircleElement_methods).set$attributes(side_view_dummy_elt, A.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-side-view", "r", "100", "cx", "100", "cy", "50", "fill", "white"], t3, t3)); + main_view_dummy_elt = t28._as(t23._as(B.HtmlDocument_methods.createElementNS$2(t1, _s26_, "circle"))); + (main_view_dummy_elt && B.CircleElement_methods).set$attributes(main_view_dummy_elt, A.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-main-view", "r", "200", "cx", "100", "cy", "100", "fill", "white"], t3, t3)); + side_view_svg_viewport.appendChild(side_view_dummy_elt); + main_view_svg_viewport.appendChild(main_view_dummy_elt); + t6.appendChild(t7); + t6.appendChild(t15); + t6.appendChild(t16); + t6.appendChild(t17); + t6.appendChild(t18); + t6.appendChild(t10); + t6.appendChild(t11); + t7.appendChild(t12); + t7.appendChild(side_main_separator); + t7.appendChild(t20); + self.setup_splits(false); + B.DivElement_methods.set$attributes(t13, A.LinkedHashMap_LinkedHashMap$_literal(["class", "error-message"], t3, t3)); + t19.__DesignViewComponent_error_message_component_A = new A.ErrorMessageComponent(t13); + t12.appendChild(t14); + t12.appendChild(t21); + t12.appendChild(side_arrows); + t20.appendChild(t22); + t20.appendChild(main_arrows); + side_pane_width = window.localStorage.getItem("scadnano:side-pane-width"); + if (side_pane_width == null) + side_pane_width = "10%"; + t6 = B.JSNumber_methods.toString$0(100 - A.num_parse(B.JSString_methods.substring$2(side_pane_width, 0, side_pane_width.length - 1))); + t12.setAttribute("style", "width: " + side_pane_width); + t20.setAttribute("style", "width: " + (t6 + "%")); + t19.handle_keyboard_mouse_events$0(); + t9.__View_design_view_A = t19; + t19 = new A.OxviewViewComponent(); + t6 = t1.createElement("div"); + B.DivElement_methods.set$attributes(t6, A.LinkedHashMap_LinkedHashMap$_literal(["id", "oxview-pane", "class", "split"], t3, t3)); + t19.__OxviewViewComponent_div_A = t6; + t1 = t1.createElement("iframe"); + B.IFrameElement_methods.set$attributes(t1, A.LinkedHashMap_LinkedHashMap$_literal(["height", "100%", "width", "100%", "src", string$.https_, "id", "oxview-frame"], t3, t3)); + t19.__OxviewViewComponent_frame_A = t1; + t6.appendChild(t1); + t9.__View_oxview_view_A = t19; + t5.appendChild(t8); + t19 = t19.__OxviewViewComponent_div_A; + t19 === $ && A.throwLateFieldNI("div"); + t5.appendChild(t19); + t9.update_showing_oxview$0(); + _this.__App_view_F !== $ && A.throwLateFieldAI("view"); + _this.__App_view_F = t9; + t19 = _this.__App_store_F; + t19 === $ && A.throwLateFieldNI("store"); + t19 = t19.get$state(t19); + t9.update_showing_oxview$0(); + t5 = $.__app._readField$0().__App_store_F; + t5 === $ && A.throwLateFieldNI("store"); + t8 = $.$get$ErrorBoundary().call$0(); + t1 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t1, t5); + t6 = $.$get$ConnectedMenu().call$0(); + t6.set$state(0, t19); + t6 = t8.call$1(t1.call$1(t6.call$0())); + $.$get$render().call$2(t6, t4); + t4 = t9.__View_design_view_A; + t4 === $ && A.throwLateFieldNI("design_view"); + t4.render$1(0, t19); + t4 = $.$get$ErrorBoundary().call$0(); + t6 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t6, t5); + t19 = t4.call$1(t6.call$1(A.set_edit_and_select_mode_props($.$get$ConnectedEditAndSelectModes().call$0(), t19).call$0())); + $.$get$render().call$2(t19, t2); + self.fit_and_center(); + t9 = t9.__View_oxview_view_A; + t9 === $ && A.throwLateFieldNI("oxview_view"); + t9 = t9.__OxviewViewComponent_frame_A; + t9 === $ && A.throwLateFieldNI("frame"); + t2 = type$._ElementEventStreamImpl_legacy_Event; + t19 = t2._eval$1("~(1)?")._as(new A.App_setup_view_closure(_this)); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t9, "load", t19, false, t2._precomputed1); }, - $signature: 34 - }; - V.helix_major_tick_start_change_all_reducer_closure.prototype = { - call$2: function(_, helix) { - H._asIntS(_); - return V._change_major_tick_start_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_start); + set$__App_store_F(__App_store_F) { + this.__App_store_F = type$.Store_AppState._as(__App_store_F); }, - $signature: 34 - }; - V.helix_major_tick_periodic_distances_change_all_reducer_closure.prototype = { - call$2: function(_, helix) { - H._asIntS(_); - return V._change_major_tick_periodic_distances_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_periodic_distances); + set$__App_store_selection_rope_F(__App_store_selection_rope_F) { + this.__App_store_selection_rope_F = type$.Store_nullable_SelectionRope._as(__App_store_selection_rope_F); }, - $signature: 34 - }; - V._change_major_tick_distance_one_helix_closure.prototype = { - call$1: function(b) { - b.get$major_tick_periodic_distances().replace$1(0, [this.major_tick_distance]); - type$.legacy_ListBuilder_legacy_int._as(null); - b.get$_helix$_$this().set$_major_ticks(null); - return b; + set$__App_store_selection_box_F(__App_store_selection_box_F) { + this.__App_store_selection_box_F = type$.Store_nullable_SelectionBox._as(__App_store_selection_box_F); }, - $signature: 9 - }; - V._change_major_tick_start_one_helix_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._major_tick_start = this.major_tick_start; - return b; + set$__App_store_potential_crossover_F(__App_store_potential_crossover_F) { + this.__App_store_potential_crossover_F = type$.Store_nullable_PotentialCrossover._as(__App_store_potential_crossover_F); }, - $signature: 9 - }; - V._change_major_tick_periodic_distances_one_helix_closure.prototype = { - call$1: function(b) { - b.get$major_tick_periodic_distances().replace$1(0, this.major_tick_periodic_distances); - type$.legacy_ListBuilder_legacy_int._as(null); - b.get$_helix$_$this().set$_major_ticks(null); - return b; + set$__App_store_extensions_move_F(__App_store_extensions_move_F) { + this.__App_store_extensions_move_F = type$.Store_nullable_DNAExtensionsMove._as(__App_store_extensions_move_F); }, - $signature: 9 - }; - V._change_major_ticks_one_helix_closure.prototype = { - call$1: function(b) { - b.get$major_ticks().replace$1(0, this.major_ticks); - b.get$major_tick_periodic_distances().replace$1(0, []); - return b; + set$__App_store_dna_ends_move_F(__App_store_dna_ends_move_F) { + this.__App_store_dna_ends_move_F = type$.Store_nullable_DNAEndsMove._as(__App_store_dna_ends_move_F); }, - $signature: 9 + set$__App_store_helix_group_move_F(__App_store_helix_group_move_F) { + this.__App_store_helix_group_move_F = type$.Store_nullable_HelixGroupMove._as(__App_store_helix_group_move_F); + } }; - V.helix_roll_set_reducer_closure.prototype = { - call$1: function(h) { - var t1 = this.action.roll; - h.get$_helix$_$this()._roll = t1; - return h; + A.App_setup_warning_before_unload_closure.prototype = { + call$1($event) { + var t1 = this.$this.__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.warn_on_exit_if_unsaved && t1.get$state(t1).undo_redo.undo_stack._list.length !== 0) { + type$.BeforeUnloadEvent._as($event); + ($event && B.BeforeUnloadEvent_methods).set$returnValue($event, "You have unsaved work. Are you sure you want to leave?"); + } }, - $signature: 9 + $signature: 19 }; - V.helix_roll_set_at_other_reducer_closure.prototype = { - call$1: function(h) { - h.get$_helix$_$this()._roll = this.new_roll; - return h; + A.App_setup_save_design_to_localStorage_before_unload_closure.prototype = { + call$1(_) { + var t1 = this.$this.__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_on_exit || t1.get$state(t1).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_periodic) + A.save(t1.get$state(t1), B.Storable_design); }, - $signature: 9 + $signature: 19 }; - V.helix_add_design_reducer_closure.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.new_helices_view_order); - return b; + A.App_setup_view_closure.prototype = { + call$1($event) { + var t2, + _s11_ = "oxview_view", + message = A.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", A._setArrayType([A.Blob_Blob(["camera.up.multiplyScalar(-1)"], A.blob_type_to_string(B.BlobType_0))], type$.JSArray_Blob), "ext", A._setArrayType(["js"], type$.JSArray_String)], type$.String, type$.dynamic), + t1 = this.$this.__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t2 = t1.__View_oxview_view_A; + t2 === $ && A.throwLateFieldNI(_s11_); + t2 = t2.__OxviewViewComponent_frame_A; + t2 === $ && A.throwLateFieldNI("frame"); + t2 = A._convertNativeToDart_Window(t2.contentWindow); + if (t2 != null) + J.postMessage$2$x(t2, message, string$.https_); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (t2.get$state(t2).maybe_design != null) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).get$design(); + t1 = t1.__View_oxview_view_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1 = t1.__OxviewViewComponent_frame_A; + t1 === $ && A.throwLateFieldNI("frame"); + A.update_oxview_view(t2, t1); + } }, - $signature: 26 + $signature: 19 }; - V.helix_add_design_reducer_closure0.prototype = { - call$1: function(d) { - d.get$helices().replace$1(0, this.new_helices); - d.get$groups().replace$1(0, this.new_groups); - return d; + A.setup_undo_redo_keyboard_listeners_closure.prototype = { + call$1($event) { + var t1, t2, t3; + type$.KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + t2 = t1.get$which($event); + t2.toString; + if ((A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) && !A.boolConversionCheck(t1.get$shiftKey($event)) && t2 === 90 && !A.boolConversionCheck(t1.get$altKey($event))) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + if (t3.get$state(t3).undo_redo.undo_stack._list.length !== 0) + $.__app._readField$0().dispatch$1(A.Undo_Undo(1)); + } + if ((A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) && A.boolConversionCheck(t1.get$shiftKey($event)) && t2 === 90 && !A.boolConversionCheck(t1.get$altKey($event))) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).undo_redo.redo_stack._list.length !== 0) + $.__app._readField$0().dispatch$1(A.Redo_Redo(1)); + } }, - $signature: 20 + $signature: 48 }; - V.helix_remove_design_global_reducer_closure.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.new_helices_view_order); - return b; + A.setup_save_open_dna_file_keyboard_listeners_closure.prototype = { + call$1($event) { + var t1, t2; + type$.KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + t2 = t1.get$which($event); + t2.toString; + if ((A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) && !A.boolConversionCheck(t1.get$shiftKey($event)) && t2 === 83 && !A.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + $.__app._readField$0().dispatch$1(A._$SaveDNAFile__$SaveDNAFile()); + } + if ((A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) && !A.boolConversionCheck(t1.get$shiftKey($event)) && t2 === 79 && !A.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + t1 = document.getElementById("open-form-file"); + t1.toString; + J.click$0$x(t1); + } }, - $signature: 26 + $signature: 48 }; - V.helix_remove_design_global_reducer_closure0.prototype = { - call$1: function(d) { - d.get$helices().replace$1(0, this.new_helices); - d.get$groups().replace$1(0, this.new_groups); - d.get$strands().replace$1(0, this.strands_with_substrands_removed); - return d; + A.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure.prototype = { + call$1($event) { + var t1, t2; + type$.KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + t2 = t1.get$which($event); + t2.toString; + if ((A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) && !A.boolConversionCheck(t1.get$shiftKey($event)) && t2 === 73 && !A.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + $.__app._readField$0().dispatch$1(A._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); + } }, - $signature: 20 + $signature: 48 }; - V.helix_remove_all_selected_design_global_reducer_closure.prototype = { - call$1: function(b) { - b.get$helices_view_order().replace$1(0, this.new_helices_view_order); - return b; - }, - $signature: 26 + A.strand_bounds_status.prototype = { + _enumToString$0() { + return "strand_bounds_status." + this._core$_name; + } }; - V.helix_remove_all_selected_design_global_reducer_closure0.prototype = { - call$1: function(d) { - d.get$helices().replace$1(0, this.new_helices); - d.get$groups().replace$1(0, this.new_groups); - d.get$strands().replace$1(0, this.strands_with_substrands_removed); - return d; + A.DNAFileType.prototype = {}; + A._$DNAFileTypeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.DNAFileType._as(object).name; }, - $signature: 20 + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf2(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_DNAFileType_bQh; + }, + get$wireName() { + return "DNAFileType"; + } }; - V.remove_helix_assuming_no_domains_closure.prototype = { - call$1: function(b) { - type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(b); - J.remove$1$ax(b.get$_safeMap(), this.action.helix_idx); - return b; + A.DNASequencePredefined.prototype = { + get$sequence() { + var _this = this; + if (_this === B.DNASequencePredefined_M13p7249) + return $.$get$_m13_p7249(); + else if (_this === B.DNASequencePredefined_M13p7560) + return $.$get$_m13_p7560(); + else if (_this === B.DNASequencePredefined_M13p8064) + return $.$get$_m13_p8064(); + else if (_this === B.DNASequencePredefined_M13p8634) + return $.$get$_m13_p8634(); + else + throw A.wrapException(A.AssertionError$("should be unreachable")); + } + }; + A._$DNASequencePredefinedSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.DNASequencePredefined._as(object).name; }, - $signature: 128 + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf0(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_DNASequencePredefined_1Sb; + }, + get$wireName() { + return "DNASequencePredefined"; + } }; - V.remove_helices_assuming_no_domains_closure.prototype = { - call$1: function(b) { - var t1; - type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(b); - t1 = b.$ti._eval$1("bool(1,2)")._as(new V.remove_helices_assuming_no_domains__closure(this.helix_idxs)); - J.removeWhere$1$ax(b.get$_safeMap(), t1); - return b; + A.BuiltMapValues_map_values_closure.prototype = { + call$2(key, value) { + var _this = this, + t1 = _this.K; + t1._as(key); + return new A.MapEntry(key, _this.f.call$2(key, _this.Vin._as(value)), t1._eval$1("@<0>")._bind$1(_this.Vout)._eval$1("MapEntry<1,2>")); }, - $signature: 128 + $signature() { + return this.K._eval$1("@<0>")._bind$1(this.Vout)._bind$1(this.Vin)._eval$1("MapEntry<1,2>(1,3)"); + } }; - V.remove_helices_assuming_no_domains__closure.prototype = { - call$2: function(idx, _) { - H._asIntS(idx); - type$.legacy_Helix._as(_); - return this.helix_idxs._set.contains$1(0, idx); + A.JSONSerializable.prototype = {}; + A.NoIndent.prototype = { + toString$0(_) { + return "NoIndent(\n " + A.S(this.value) + "\n)"; }, - $signature: 73 + get$value(receiver) { + return this.value; + }, + set$value(receiver, val) { + return this.value = val; + } }; - V.helix_group_change_reducer_closure.prototype = { - call$2: function(idx, helix) { - var t1; - H._asIntS(idx); - type$.legacy_Helix._as(helix); - t1 = this.action; - return helix.group === t1.old_name ? helix.rebuild$1(new V.helix_group_change_reducer__closure(t1)) : helix; + A.SuppressableIndentEncoder.prototype = { + convert$1(obj) { + var t1, t2, key, val, t3, + result = this.super$JsonEncoder$convert(obj); + for (t1 = this.replacer.replacement_map, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); t2.moveNext$0();) { + key = t2.__js_helper$_current; + val = t1.$index(0, key); + val.toString; + val = A.stringReplaceAllUnchecked(val, '":', '": '); + val = A.stringReplaceAllUnchecked(val, ",", ", "); + t3 = A.S(key); + result = A.stringReplaceFirstUnchecked(result, '"@@' + t3 + '@@"', val, 0); + } + return result; }, - $signature: 34 + get$indent() { + return " "; + } }; - V.helix_group_change_reducer__closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._group = this.action.new_name; + A.Replacer.prototype = { + default_encode$1(obj) { + var t1, t2; + if (obj instanceof A.NoIndent) { + t1 = this.unique_id++; + t2 = this.encoder_no_indent; + this.replacement_map.$indexSet(0, t1, A._JsonStringStringifier_stringify(obj.value, t2._toEncodable, t2.indent)); + return "@@" + t1 + "@@"; + } else + return obj; + } + }; + A.horizontal_reflection_of_strands_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_domain$_$this()._start = _this.reflected_end; + b.get$_domain$_$this()._end = _this.reflected_start; + t1 = _this.domain.forward; + t1 = _this.reverse_polarity ? t1 : !t1; + b.get$_domain$_$this()._domain$_forward = t1; + b.get$deletions().replace$1(0, _this.reflected_deletions); + b.get$insertions().replace$1(0, _this.reflected_insertions); + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; return b; }, - $signature: 9 + $signature: 6 }; - V.helix_individual_grid_position_set_reducer_closure.prototype = { - call$1: function(b) { - var t1; - b.get$_helix$_$this()._position_ = null; - t1 = b.get$grid_position(); - t1._grid_position$_$v = this.action.grid_position; + A.horizontal_reflection_of_strands_closure0.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); return b; }, - $signature: 9 + $signature: 1 }; - V.helix_individual_position_set_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$position_(); - t1._position3d$_$v = this.action.position; - b.get$_helix$_$this()._grid_position = null; + A.reflect_insertions_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_offset = this.reflected_offset; return b; }, - $signature: 9 + $signature: 52 }; - V.move_helices_to_group_helices_reducer_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._group = this.action.group_name; - return b; + A.reflect_insertions_closure0.prototype = { + call$2(i1, i2) { + var t1 = type$.Insertion; + t1._as(i1); + t1._as(i2); + return i1.offset - i2.offset; }, - $signature: 9 + $signature: 130 }; - Z.helix_group_move_adjust_translation_reducer_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.action.mouse_point); - b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); + A.vertical_reflection_of_strands_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_domain$_$this()._domain$_helix = _this.reflected_helix_idx; + t1 = _this.domain.forward; + t1 = _this.reverse_polarity ? t1 : !t1; + b.get$_domain$_$this()._domain$_forward = t1; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; return b; }, - $signature: 120 + $signature: 6 }; - Z.helix_group_move_commit_global_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$position(b), - t2 = this.helix_group_move.get$current_position(); - t1._position3d$_$v = t2; + A.vertical_reflection_of_strands_closure0.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); return b; }, - $signature: 26 + $signature: 1 }; - Z.helix_group_move_commit_global_reducer_closure0.prototype = { - call$1: function(b) { - b.get$groups().replace$1(0, this.new_groups); - return b; + A.find_allowable_offset_closure.prototype = { + call$1(e) { + return type$.DNAEnd._as(e).get$offset_inclusive(); }, - $signature: 20 + $signature: 215 }; - R.inline_insertions_deletions_reducer_closure.prototype = { - call$1: function(s) { + A.find_allowable_offset_closure0.prototype = { + call$1(ss) { + return type$.Domain._as(ss).forward === this.substrand.forward; + }, + $signature: 22 + }; + A.find_allowable_offset_closure1.prototype = { + call$1(o) { var t1; - type$.legacy_Strand._as(s); - s.toString; - t1 = new E.StrandBuilder(); - t1._strand$_$v = s; + A._asIntS(o); + t1 = this.closest_unselected_offset; + if (this.highest) { + if (typeof o !== "number") + return o.$lt(); + if (typeof t1 !== "number") + return A.iae(t1); + t1 = o < t1; + } else { + if (typeof o !== "number") + return o.$gt(); + if (typeof t1 !== "number") + return A.iae(t1); + t1 = o > t1; + } return t1; }, - $signature: 276 + $signature: 21 }; - R.inline_insertions_deletions_reducer_closure0.prototype = { - call$1: function(b) { - return type$.legacy_StrandBuilder._as(b).build$0(); + A._save_file_codenano_closure.prototype = { + call$1(group) { + return type$.HelixGroup._as(group).grid; }, - $signature: 277 + $signature: 218 }; - R.inline_insertions_deletions_reducer_closure1.prototype = { - call$1: function(b) { - b.get$helices().replace$1(0, this.helices_new); - b.get$strands().replace$1(0, this.strands); - return b; + A.export_dna_sequences_middleware_closure.prototype = { + call$1(strand) { + return type$.Strand._as(strand).is_scaffold; }, - $signature: 20 + $signature: 13 }; - R._inline_deletions_insertions_on_helix_closure.prototype = { - call$2: function(a, b) { - H._asIntS(a); - H._asIntS(b); - if (typeof a !== "number") - return a.$add(); - if (typeof b !== "number") - return H.iae(b); - return a + b; + A.export_dna_sequences_middleware_closure0.prototype = { + call$1(strand) { + return type$.Strand._as(strand).is_scaffold; }, - $signature: 91 + $signature: 13 }; - R._inline_deletions_insertions_on_helix_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$_helix$_$this()._max_offset; - if (typeof t1 !== "number") - return t1.$add(); - return b.get$_helix$_$this()._max_offset = t1 + this.delta_length; + A.export_dna_sequences_middleware_closure1.prototype = { + call$1(response) { + var $content = type$.List_int._as(response); + A.save_file(this.filename, $content, null, this.blob_type); + }, + $signature: 220 + }; + A.export_dna_sequences_middleware_closure2.prototype = { + call$2(e, stackTrace) { + var msg, t1, t2, cause = ""; + if (A.has_cause(e)) + cause = A._asStringS(e.get$cause()); + else if (A.has_message(e)) + cause = A._asStringS(J.get$message$x(e)); + msg = B.JSString_methods.$add(J.$add$ansx(cause, "\n\n"), J.toString$0$(stackTrace)); + t1 = this.store; + t1.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(msg)); + t2 = $.__app._readField$0().__App_view_F; + t2 === $ && A.throwLateFieldNI("view"); + t2 = t2.__View_design_view_A; + t2 === $ && A.throwLateFieldNI("design_view"); + t2.render$1(0, t1.get$state(t1)); }, - $signature: 56 + $signature: 155 }; - R._inline_deletions_insertions_on_helix_closure1.prototype = { - call$1: function(b) { - b.get$major_ticks().replace$1(0, this.major_ticks); - return b; + A.export_dna_closure.prototype = { + call$1(v) { + return J.toString$0$(type$.ExportDNAFormat._as(v)); }, - $signature: 9 + $signature: 221 }; - R._inline_deletions_insertions_on_helix_closure2.prototype = { - call$1: function(ss) { - return type$.legacy_Domain._as(ss).forward; + A.export_dna_closure0.prototype = { + call$1(v) { + return J.toString$0$(type$.StrandOrder._as(v)); }, - $signature: 21 + $signature: 222 }; - R._inline_deletions_insertions_on_helix_closure3.prototype = { - call$1: function(ss) { - return !type$.legacy_Domain._as(ss).forward; + A.cando_compatible_csv_export_closure.prototype = { + call$1(match) { + var t1 = type$.RegExpMatch._as(match)._match; + if (0 >= t1.length) + return A.ioore(t1, 0); + return t1[0]; }, - $signature: 21 + $signature: 223 }; - R._inline_deletions_insertions_on_helix_closure4.prototype = { - call$2: function(ss1, ss2) { - var t1 = type$.legacy_Domain; - t1._as(ss1); - t1._as(ss2); - return ss1.start - ss2.start; + A.get_svg_elements_of_base_pairs_closure.prototype = { + call$1(offset) { + var t1; + A._asIntS(offset); + t1 = document.getElementById("base_pair-" + A.S(this.helix) + "-" + A.S(offset)); + t1.toString; + return t1; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 64 + $signature: 224 }; - R._inline_deletions_insertions_on_helix_closure5.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._start = this.new_start; - b.get$_domain$_$this()._end = this.new_end; - b.get$insertions().replace$1(0, []); - b.get$deletions().replace$1(0, []); - return b; + A.make_portable_closure.prototype = { + call$1(v) { + type$.TextContentElement._as(v); + return this.text_ele.parentNode.appendChild(v); }, - $signature: 7 + $signature: 225 }; - D.insertion_deletion_reducer_closure.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); + A.forbid_create_circular_strand_no_crossovers_middleware_closure.prototype = { + call$1(b) { + var t1 = b.get$_address$_$this()._offset; + t1.toString; + b.get$_address$_$this()._offset = t1 + this.delta; return b; }, - $signature: 2 + $signature: 65 }; - D.insertion_add_reducer_closure.prototype = { - call$2: function(i1, i2) { - var t1 = type$.legacy_Insertion; - t1._as(i1); - t1._as(i2); - return i1.offset - i2.offset; + A._get_helices_to_process_closure.prototype = { + call$2(h1, h2) { + var t2, + t1 = type$.Helix; + t1._as(h1); + t1._as(h2); + t1 = this.group; + t2 = t1.get$helices_view_order_inverse()._map$_map.$index(0, h1.idx); + t2.toString; + t1 = t1.get$helices_view_order_inverse()._map$_map.$index(0, h2.idx); + t1.toString; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return A.iae(t1); + return t2 - t1; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 140 + $signature: 227 }; - D.insertion_add_reducer_closure0.prototype = { - call$1: function(b) { - b.get$insertions().replace$1(0, this.insertions); - return b; + A._first_crossover_addresses_between_helices_closure.prototype = { + call$1(address_crossover) { + return !type$.Tuple2_Address_Crossover._as(address_crossover).item2.is_scaffold; }, - $signature: 7 + $signature: 129 }; - D.insertion_remove_reducer_closure.prototype = { - call$1: function(b) { - b.get$insertions().replace$1(0, this.insertions); - return b; + A._first_crossover_addresses_between_helices_closure0.prototype = { + call$1(address_crossover) { + return type$.Tuple2_Address_Crossover._as(address_crossover).item2.is_scaffold; }, - $signature: 7 + $signature: 129 }; - D.deletion_add_reducer_closure.prototype = { - call$1: function(b) { - b.get$deletions().replace$1(0, this.deletions); + A.RollXY.prototype = { + toString$0(_) { + return "RollZY(roll=" + A.S(this.roll) + ", x=" + A.S(this.x) + ", y=" + A.S(this.y) + ")"; + } + }; + A._calculate_rolls_and_positions_closure.prototype = { + call$1(b) { + b.get$_address$_$this()._address$_forward = true; return b; }, - $signature: 7 + $signature: 65 }; - D.deletion_remove_reducer_closure.prototype = { - call$1: function(b) { - b.get$deletions().replace$1(0, this.deletions); - return b; + A.helix_idxs_change_middleware_closure.prototype = { + call$1(element) { + return J.get$length$asx(type$.MapEntry_of_int_and_List_int._as(element).value) !== 1; }, - $signature: 7 + $signature: 229 }; - D.insertion_length_change_reducer_closure.prototype = { - call$1: function(i) { - i.get$_domain$_$this()._domain$_length = this.action.length; - return i; + A.helix_idxs_change_middleware_closure0.prototype = { + call$1(element) { + type$.MapEntry_of_int_and_List_int._as(element); + return J.join$1$ax(element.value, ", ") + " to " + J.toString$0$(element.key); }, - $signature: 47 + $signature: 230 }; - D.insertion_length_change_reducer_closure0.prototype = { - call$1: function(b) { - b.get$insertions().replace$1(0, this.insertions); - return b; + A.load_file_middleware_closure.prototype = { + call$0() { + var t1 = this.action; + return this.store.dispatch$1(A.LoadDNAFile_LoadDNAFile(t1.content, t1.dna_file_type, t1.filename, t1.unit_testing, t1.write_local_storage)); }, - $signature: 7 + $signature: 9 }; - D.insertions_length_change_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.length; - b.get$_domain$_$this()._domain$_length = t1; - return b; + A.Storable.prototype = {}; + A.OxdnaVector.prototype = { + dot$1(other) { + return this.x * other.x + this.y * other.y + this.z * other.z; }, - $signature: 47 - }; - D.insertions_length_change_reducer_closure0.prototype = { - call$1: function(b) { - b.get$insertions().replace$1(0, this.existing_insertions); - return b; + cross$1(other) { + var t1 = this.y, + t2 = other.z, + t3 = this.z, + t4 = other.y, + t5 = other.x, + t6 = this.x; + return new A.OxdnaVector(t1 * t2 - t3 * t4, t3 * t5 - t6 * t2, t6 * t4 - t1 * t5); }, - $signature: 7 - }; - D.insertions_length_change_reducer_closure1.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; + length$0(_) { + var t1 = this.x, + t2 = this.y, + t3 = this.z; + return Math.sqrt(t1 * t1 + t2 * t2 + t3 * t3); }, - $signature: 2 - }; - S.load_dna_file_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$undo_redo(), - t2 = T.UndoRedo_UndoRedo(); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._undo_redo$_$v = t2; - m.get$_app_state$_$this()._design = null; - m.get$ui_state().get$_app_ui_state$_$this()._changed_since_last_save = false; - t1 = this._box_0.error_message; - m.get$_app_state$_$this()._error_message = t1; - return m; + normalize$0(_) { + var _this = this, + len = _this.length$0(0); + return new A.OxdnaVector(_this.x / len, _this.y / len, _this.z / len); + }, + $add(_, other) { + return new A.OxdnaVector(this.x + other.x, this.y + other.y, this.z + other.z); + }, + $sub(_, other) { + type$.OxdnaVector._as(other); + return new A.OxdnaVector(this.x - other.x, this.y - other.y, this.z - other.z); }, - $signature: 39 + $mul(_, scalar) { + return new A.OxdnaVector(this.x * scalar, this.y * scalar, this.z * scalar); + }, + $negate(_) { + return new A.OxdnaVector(-this.x, -this.y, -this.z); + }, + toString$0(_) { + return "(" + A.S(this.x) + ", " + A.S(this.y) + ", " + A.S(this.z) + ")"; + }, + rotate$2(_, angle, axis) { + var u = axis.normalize$0(0), + t1 = angle * 3.141592653589793 / 180, + c = Math.cos(t1), + s = Math.sin(t1), + u_cross_this = u.cross$1(this); + return u.$mul(0, this.dot$1(u)).$add(0, u_cross_this.$mul(0, c).cross$1(u)).$sub(0, u_cross_this.$mul(0, s)); + } }; - S.load_dna_file_reducer_closure0.prototype = { - call$1: function(s) { - var t1; - type$.legacy_SetBuilder_legacy_int._as(s); - t1 = s.$ti._eval$1("bool(1)")._as(new S.load_dna_file_reducer__closure0(this._box_0)); - s.get$_safeSet().removeWhere$1(0, t1); - return null; + A.OxdnaNucleotide.prototype = {}; + A.OxdnaStrand.prototype = { + set$nucleotides(nucleotides) { + this.nucleotides = type$.List_OxdnaNucleotide._as(nucleotides); + } + }; + A.OxdnaSystem.prototype = { + compute_bounding_box$0() { + var t1, t2, min_vec, max_vec, _i, t3, t4, _i0, nuc, t5, t6, t7, box, max_side; + for (t1 = this.strands, t2 = t1.length, min_vec = null, max_vec = null, _i = 0; _i < t2; ++_i) + for (t3 = t1[_i].nucleotides, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0) { + nuc = t3[_i0]; + if (min_vec == null) { + min_vec = nuc.center; + max_vec = min_vec; + } else { + t5 = nuc.center; + t6 = t5.x; + t7 = t5.y; + t5 = t5.z; + min_vec = new A.OxdnaVector(Math.min(min_vec.x, t6), Math.min(min_vec.y, t7), Math.min(min_vec.z, t5)); + max_vec = new A.OxdnaVector(Math.max(max_vec.x, t6), Math.max(max_vec.y, t7), Math.max(max_vec.z, t5)); + } + } + if (min_vec != null && max_vec != null) { + box = max_vec.$sub(0, min_vec).$add(0, new A.OxdnaVector(5, 5, 5)).$mul(0, 1.5); + max_side = Math.max(box.x, Math.max(box.y, box.z)); + return new A.OxdnaVector(max_side, max_side, max_side); + } else + return new A.OxdnaVector(1, 1, 1); }, - $signature: 280 + oxdna_output$0() { + var t2, nuc_count, strand_count, _i, strand, t3, t4, t5, nuc_index, _i0, nuc, n5, n3, n30, t6, t7, t8, t9, t10, t11, t12, t13, t14, + bbox = this.compute_bounding_box$0(), + t1 = type$.JSArray_String, + dat_list = A._setArrayType(["t = 0", "b = " + A.S(bbox.x) + " " + A.S(bbox.y) + " " + A.S(bbox.z), "E = 0 0 0"], t1), + top_list = A._setArrayType([], t1); + for (t1 = this.strands, t2 = t1.length, nuc_count = 0, strand_count = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + strand = t1[_i]; + ++strand_count; + for (t3 = strand.nucleotides, t4 = t3.length, t5 = "" + strand_count + " ", nuc_index = 0, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0, nuc_count = n3) { + nuc = t3[_i0]; + n5 = nuc_count - 1; + n3 = nuc_count + 1; + if (nuc_index === 0) + n5 = -1; + n30 = nuc_index === strand.nucleotides.length - 1 ? -1 : n3; + ++nuc_index; + B.JSArray_methods.add$1(top_list, t5 + nuc.base + " " + n30 + " " + n5); + t6 = nuc.center; + t7 = nuc.normal; + t8 = -t7.x; + t9 = -t7.y; + t7 = -t7.z; + t10 = nuc.forward; + t11 = nuc.v; + t12 = t11.x; + t13 = t11.y; + t11 = t11.z; + t14 = nuc.L; + B.JSArray_methods.add$1(dat_list, A.S(t6.x - t8 * 0.6) + " " + A.S(t6.y - t9 * 0.6) + " " + A.S(t6.z - t7 * 0.6) + " " + (A.S(t8) + " " + A.S(t9) + " " + A.S(t7) + " ") + (A.S(t10.x) + " " + A.S(t10.y) + " " + A.S(t10.z) + " ") + (A.S(t12) + " " + A.S(t13) + " " + A.S(t11) + " ") + (A.S(t14.x) + " " + A.S(t14.y) + " " + A.S(t14.z))); + } + } + t1 = B.JSArray_methods.join$1(top_list, "\n"); + return new A.Tuple2(B.JSArray_methods.join$1(dat_list, "\n") + "\n", "" + nuc_count + " " + strand_count + "\n" + (t1 + "\n"), type$.Tuple2_String_String); + } }; - S.load_dna_file_reducer__closure0.prototype = { - call$1: function(idx) { + A.start_timer_periodic_design_save_local_storage_closure.prototype = { + call$1(timer) { var t1; - H._asIntS(idx); - t1 = J.get$length$asx(this._box_0.design_new.helices._map$_map); - if (typeof idx !== "number") - return idx.$ge(); - if (typeof t1 !== "number") - return H.iae(t1); - return idx >= t1; + type$.Timer._as(timer); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + A.save(t1.get$state(t1), B.Storable_design); }, - $signature: 23 + $signature: 232 }; - S.load_dna_file_reducer_closure1.prototype = { - call$1: function(b) { - var t1 = this._box_0.design_new.groups; - t1 = H._asStringS(J.get$first$ax(t1.get$keys(t1))); - b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; - return b; + A._save_file_closure.prototype = { + call$0() { + return A.change_tab_title(false); }, - $signature: 62 + $signature: 0 }; - S.load_dna_file_reducer_closure2.prototype = { - call$1: function(m) { + A.Box.prototype = {}; + A.app_state_reducer_closure.prototype = { + call$1(m) { var t3, - t1 = m.get$undo_redo(), - t2 = T.UndoRedo_UndoRedo(); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._undo_redo$_$v = t2; - t1 = this._box_0; - t2 = t1.design_new; - t2.toString; - t3 = new N.DesignBuilder(); - N.Design__initializeBuilder(t3); - t3._design0$_$v = t2; - m.get$_app_state$_$this()._design = t3; + t1 = this._box_0, + design = t1.state.maybe_design, + t2 = t1.action; + if (design != null) { + design = A.design_composed_local_reducer(design, t2); + design = $.$get$design_whole_local_reducer().call$2(design, t2); + } + if (design == null) + t2 = null; + else { + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + A.ArgumentError_checkNotNull(design, "other", type$.Design); + t2._design0$_$v = design; + } + m.get$_app_state$_$this()._maybe_design = t2; t2 = m.get$ui_state(); - type$.legacy_void_Function_legacy_AppUIStateBuilder._as(new S.load_dna_file_reducer__closure(t1, this.new_selectables_store, this.new_filename)).call$1(t2); - m.get$_app_state$_$this()._error_message = ""; + t3 = A.ui_state_local_reducer(t1.state.ui_state, t1.action); + A.ArgumentError_checkNotNull(t3, "other", type$.AppUIState); + t2._app_ui_state$_$v = t3; + t1 = A._asStringQ(new A.TypedReducer(A.app_state_reducer__error_message_reducer$closure(), type$.TypedReducer_of_nullable_String_and_ErrorMessageSet).call$2(t1.state.error_message, t1.action)); + m.get$_app_state$_$this()._error_message = t1; return m; }, - $signature: 39 + $signature: 37 }; - S.load_dna_file_reducer__closure.prototype = { - call$1: function(u) { - var t1 = u.get$storables(), - t2 = this._box_0, - t3 = t2.storables; - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._app_ui_state_storables$_$v = t3; - t1 = u.get$selectables_store(); - t3 = this.new_selectables_store; + A.app_state_reducer_closure0.prototype = { + call$1(m) { + var t4, + t1 = this._box_0, + t2 = this.original_state, + t3 = A.design_global_reducer(t1.state.maybe_design, t2, t1.action); if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._selectable$_$v = t3; - u.get$_app_ui_state$_$this()._changed_since_last_save = false; - u.get$storables().get$_app_ui_state_storables$_$this()._loaded_filename = this.new_filename; - u.get$storables().get$side_selected_helix_idxs().replace$1(0, t2.side_selected_helix_idxs); - return u; - }, - $signature: 51 - }; - U._update_mouseover_datas_with_helix_rotation_closure.prototype = { - call$1: function(h) { - h.get$_helix$_$this()._roll = this.new_roll; - return h; - }, - $signature: 9 - }; - U._update_mouseover_datas_with_helix_rotation_closure0.prototype = { - call$1: function(m) { - var t1 = m.get$helix(), - t2 = this.new_helix; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._helix$_$v = t2; + t3 = null; + else { + t4 = new A.DesignBuilder(); + A.Design__initializeBuilder(t4); + A.ArgumentError_checkNotNull(t3, "other", type$.Design); + t4._design0$_$v = t3; + t3 = t4; + } + m.get$_app_state$_$this()._maybe_design = t3; + t3 = m.get$ui_state(); + t1 = A.ui_state_global_reducer(t1.state.ui_state, t2, t1.action); + A.ArgumentError_checkNotNull(t1, "other", type$.AppUIState); + t3._app_ui_state$_$v = t1; return m; }, - $signature: 119 + $signature: 37 }; - F.nick_reducer_closure.prototype = { - call$1: function(d) { - H._asIntS(d); - if (typeof d !== "number") - return d.$lt(); - return d < this.nick_offset; + A.ui_state_local_reducer_closure.prototype = { + call$1(u) { + var t5, _null = null, _s5_ = "other", + t1 = u.get$storables(), + t2 = this.ui_state, + t3 = this.action, + t4 = A.app_ui_state_storable_local_reducer(t2.storables, t3); + A.ArgumentError_checkNotNull(t4, _s5_, type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = t4; + t4 = A._asBoolQ($.$get$changed_since_last_save_reducer().call$2(t2.changed_since_last_save, t3)); + u.get$_app_ui_state$_$this()._changed_since_last_save = t4; + t4 = new A.TypedReducer(A.app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure(), type$.TypedReducer_of_nullable_Modification5Prime_and_ModificationAdd).call$2(t2.last_mod_5p, t3); + if (t4 == null) + t1 = _null; + else { + t1 = new A.Modification5PrimeBuilder(); + t5 = type$.Modification5Prime; + t5._as(t4); + A.ArgumentError_checkNotNull(t4, _s5_, t5); + t1._modification$_$v = t4; + } + u.get$_app_ui_state$_$this()._last_mod_5p = t1; + t1 = new A.TypedReducer(A.app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure(), type$.TypedReducer_of_nullable_Modification3Prime_and_ModificationAdd).call$2(t2.last_mod_3p, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.Modification3PrimeBuilder(); + t5 = type$.Modification3Prime; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._modification$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._last_mod_3p = t1; + t1 = new A.TypedReducer(A.app_ui_state_reducer__last_mod_int_modification_add_reducer$closure(), type$.TypedReducer_of_nullable_ModificationInternal_and_ModificationAdd).call$2(t2.last_mod_int, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.ModificationInternalBuilder(); + t5 = type$.ModificationInternal; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._modification$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._last_mod_int = t1; + t1 = $.$get$optimized_selection_rope_reducer().call$2(t2.selection_rope, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.SelectionRopeBuilder(); + t5 = type$.SelectionRope; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._selection_rope$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._selection_rope = t1; + t1 = A._asBoolQ($.$get$drawing_potential_crossover_reducer().call$2(t2.drawing_potential_crossover, t3)); + u.get$_app_ui_state$_$this()._drawing_potential_crossover = t1; + t1 = A._asBoolQ($.$get$moving_dna_ends_reducer().call$2(t2.dna_ends_are_moving, t3)); + u.get$_app_ui_state$_$this()._dna_ends_are_moving = t1; + t1 = A._asBoolQ($.$get$slice_bar_is_moving_reducer().call$2(t2.slice_bar_is_moving, t3)); + u.get$_app_ui_state$_$this()._slice_bar_is_moving = t1; + t1 = A._asBoolQ($.$get$helix_group_is_moving_reducer().call$2(t2.helix_group_is_moving, t3)); + u.get$_app_ui_state$_$this()._helix_group_is_moving = t1; + t1 = A._asBoolQ($.$get$load_dialog_reducer().call$2(t2.show_load_dialog, t3)); + u.get$_app_ui_state$_$this()._show_load_dialog = t1; + t1 = $.$get$strands_move_local_reducer().call$2(t2.strands_move, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.StrandsMoveBuilder(); + t5 = type$.StrandsMove; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._strands_move$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._strands_move = t1; + t1 = $.$get$domains_move_local_reducer().call$2(t2.domains_move, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.DomainsMoveBuilder(); + t5 = type$.DomainsMove; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._domains_move$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._domains_move = t1; + t1 = $.$get$side_view_mouse_grid_pos_reducer().call$2(t2.side_view_grid_position_mouse_cursor, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.GridPositionBuilder(); + t5 = type$.GridPosition; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._grid_position$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = t1; + t1 = type$.nullable_Point_double._as($.$get$side_view_position_mouse_cursor_reducer().call$2(t2.side_view_position_mouse_cursor, t3)); + u.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t1); + t1 = $.$get$context_menu_reducer().call$2(t2.context_menu, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.ContextMenuBuilder(); + t5 = type$.ContextMenu; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._context_menu$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._context_menu = t1; + t1 = $.$get$dialog_reducer().call$2(t2.dialog, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.DialogBuilder(); + t5 = type$.Dialog; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._dialog$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._dialog = t1; + t1 = $.$get$color_picker_strand_reducer().call$2(t2.color_picker_strand, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new A.StrandBuilder(); + t5 = type$.Strand; + t5._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t5); + t4._strand$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._color_picker_strand = t1; + t1 = type$.nullable_Substrand._as($.$get$color_picker_substrand_reducer().call$2(t2.color_picker_substrand, t3)); + u.get$_app_ui_state$_$this()._color_picker_substrand = t1; + t1 = A.helix_change_apply_to_all_reducer(t2.helix_change_apply_to_all, t3); + u.get$_app_ui_state$_$this()._helix_change_apply_to_all = t1; + t1 = u.get$example_designs(); + t4 = type$.ExampleDesigns; + t5 = t4._as(new A.TypedReducer(A.app_ui_state_reducer__example_designs_idx_set_reducer$closure(), type$.TypedReducer_ExampleDesigns_ExampleDesignsLoad).call$2(t2.example_designs, t3)); + A.ArgumentError_checkNotNull(t5, _s5_, t4); + t1._example_designs$_$v = t5; + t5 = u.get$dna_assign_options(); + t1 = type$.DNAAssignOptions; + t4 = t1._as(new A.TypedReducer(A.app_ui_state_reducer__dna_assign_options_reducer$closure(), type$.TypedReducer_DNAAssignOptions_AssignDNA).call$2(t2.dna_assign_options, t3)); + A.ArgumentError_checkNotNull(t4, _s5_, t1); + t5._dna_assign_options$_$v = t4; + u.get$mouseover_datas().replace$1(0, $.$get$mouseover_data_reducer().call$2(t2.mouseover_datas, t3)); + t4 = A._asStringQ($.$get$dna_sequence_png_uri_reducer().call$2(t2.dna_sequence_png_uri, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_uri = t4; + t4 = A._asDoubleQ($.$get$dna_sequence_horizontal_offset_reducer().call$2(t2.dna_sequence_png_horizontal_offset, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t4; + t4 = A._asDoubleQ($.$get$dna_sequence_vertical_offset_reducer().call$2(t2.dna_sequence_png_vertical_offset, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t4; + t4 = $.$get$export_svg_action_delayed_for_png_cache_reducer().call$2(t2.export_svg_action_delayed_for_png_cache, t3); + if (t4 == null) + t1 = _null; + else { + t1 = new A.ExportSvgBuilder(); + t5 = type$.ExportSvg; + t5._as(t4); + A.ArgumentError_checkNotNull(t4, _s5_, t5); + t1._$v = t4; + } + u.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = t1; + t3 = A._asBoolQ($.$get$is_zoom_above_threshold_reducer().call$2(t2.is_zoom_above_threshold, t3)); + u.get$_app_ui_state$_$this()._is_zoom_above_threshold = t3; + return u; }, - $signature: 23 + $signature: 68 }; - F.nick_reducer_closure0.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset < this.nick_offset; + A.example_designs_idx_set_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.selected_idx; + b.get$_example_designs$_$this()._selected_idx = t1; + return b; }, - $signature: 29 + $signature: 235 }; - F.nick_reducer_closure1.prototype = { - call$1: function(d) { - H._asIntS(d); - if (typeof d !== "number") - return d.$ge(); - return d >= this.nick_offset; + A.app_ui_state_storable_global_reducer_closure.prototype = { + call$1(b) { + var t1 = this.state.get$design().groups; + t1 = t1.get$keys(t1); + t1 = A._asStringQ(t1.get$first(t1)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; + return b; }, - $signature: 23 + $signature: 50 }; - F.nick_reducer_closure2.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset >= this.nick_offset; + A.app_ui_state_storable_global_reducer_closure0.prototype = { + call$1(b) { + var t1 = this._box_0.slice_bar_offset; + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t1; + return b; }, - $signature: 29 + $signature: 50 }; - F.nick_reducer_closure3.prototype = { - call$1: function(b) { - var t1; - b.get$_domain$_$this()._is_last = true; - t1 = J.get$isEmpty$asx(this.substrands_before._copy_on_write_list$_list); - b.get$_domain$_$this()._is_first = t1; + A.app_ui_state_storable_global_reducer_closure1.prototype = { + call$1(b) { + var t4, + t1 = this.storables, + t2 = this.state, + t3 = this.action; + b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_global_reducer().call$3(t1.side_selected_helix_idxs, t2, t3)); + t4 = A._asStringQ(new A.TypedGlobalReducer(A.app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure(), type$.TypedGlobalReducer_String_AppState_GroupRemove).call$3(t1.displayed_group_name, t2, t3)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t4; + t3 = A._asIntQ($.$get$slice_bar_offset_global_reducer().call$3(t1.slice_bar_offset, t2, t3)); + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; return b; }, - $signature: 7 + $signature: 50 }; - F.nick_reducer_closure4.prototype = { - call$1: function(b) { - var t1; - b.get$_domain$_$this()._is_first = true; - t1 = J.get$isEmpty$asx(this.substrands_after._copy_on_write_list$_list); - b.get$_domain$_$this()._is_last = t1; + A.app_ui_state_storable_local_reducer_closure.prototype = { + call$1(b) { + var t3, t4, t5, + t1 = this.storables, + t2 = this.action; + b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_reducer().call$2(t1.side_selected_helix_idxs, t2)); + t3 = A._asStringQ($.$get$displayed_group_name_reducer().call$2(t1.displayed_group_name, t2)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t3; + t3 = b.get$select_mode_state(); + t4 = type$.SelectModeState; + t5 = t4._as($.$get$select_mode_state_reducer().call$2(t1.select_mode_state, t2)); + A.ArgumentError_checkNotNull(t5, "other", t4); + t3._select_mode_state$_$v = t5; + b.get$edit_modes().replace$1(0, $.$get$edit_modes_reducer().call$2(t1.edit_modes, t2)); + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_dna_reducer$closure(), type$.TypedReducer_bool_ShowDNASet).call$2(t1.show_dna, t2)); + b.get$_app_ui_state_storables$_$this()._show_dna = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_strand_names_reducer$closure(), type$.TypedReducer_bool_ShowStrandNamesSet).call$2(t1.show_strand_names, t2)); + b.get$_app_ui_state_storables$_$this()._show_strand_names = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_strand_labels_reducer$closure(), type$.TypedReducer_bool_ShowStrandLabelsSet).call$2(t1.show_strand_labels, t2)); + b.get$_app_ui_state_storables$_$this()._show_strand_labels = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__strand_name_font_size_reducer$closure(), type$.TypedReducer_double_StrandNameFontSizeSet).call$2(t1.strand_name_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._strand_name_font_size = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__strand_label_font_size_reducer$closure(), type$.TypedReducer_double_StrandLabelFontSizeSet).call$2(t1.strand_label_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._strand_label_font_size = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_domain_names_reducer$closure(), type$.TypedReducer_bool_ShowDomainNamesSet).call$2(t1.show_domain_names, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_names = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__domain_name_font_size_reducer$closure(), type$.TypedReducer_double_DomainNameFontSizeSet).call$2(t1.domain_name_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._domain_name_font_size = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_domain_labels_reducer$closure(), type$.TypedReducer_bool_ShowDomainLabelsSet).call$2(t1.show_domain_labels, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_labels = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__domain_label_font_size_reducer$closure(), type$.TypedReducer_double_DomainLabelFontSizeSet).call$2(t1.domain_label_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._domain_label_font_size = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_modifications_reducer$closure(), type$.TypedReducer_bool_ShowModificationsSet).call$2(t1.show_modifications, t2)); + b.get$_app_ui_state_storables$_$this()._show_modifications = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__modification_display_connector_reducer$closure(), type$.TypedReducer_bool_SetModificationDisplayConnector).call$2(t1.modification_display_connector, t2)); + b.get$_app_ui_state_storables$_$this()._modification_display_connector = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__modification_font_size_reducer$closure(), type$.TypedReducer_double_ModificationFontSizeSet).call$2(t1.modification_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._modification_font_size = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__zoom_speed_reducer$closure(), type$.TypedReducer_double_ZoomSpeedSet).call$2(t1.zoom_speed, t2)); + b.get$_app_ui_state_storables$_$this()._zoom_speed = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__major_tick_offset_font_size_reducer$closure(), type$.TypedReducer_double_MajorTickOffsetFontSizeSet).call$2(t1.major_tick_offset_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t5; + t5 = A._asDoubleQ(new A.TypedReducer(A.app_ui_state_reducer__major_tick_width_font_size_reducer$closure(), type$.TypedReducer_double_MajorTickWidthFontSizeSet).call$2(t1.major_tick_width_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_mismatches_reducer$closure(), type$.TypedReducer_bool_ShowMismatchesSet).call$2(t1.show_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_mismatches = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_domain_name_mismatches_reducer$closure(), type$.TypedReducer_bool_ShowDomainNameMismatchesSet).call$2(t1.show_domain_name_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure(), type$.TypedReducer_bool_ShowUnpairedInsertionDeletionsSet).call$2(t1.show_unpaired_insertion_deletions, t2)); + b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__invert_y_reducer$closure(), type$.TypedReducer_bool_InvertYSet).call$2(t1.invert_y, t2)); + b.get$_app_ui_state_storables$_$this()._invert_y = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__dynamic_helix_update_reducer$closure(), type$.TypedReducer_bool_DynamicHelixUpdateSet).call$2(t1.dynamically_update_helices, t2)); + b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure(), type$.TypedReducer_bool_WarnOnExitIfUnsavedSet).call$2(t1.warn_on_exit_if_unsaved, t2)); + b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_helix_circles_main_view_reducer$closure(), type$.TypedReducer_bool_ShowHelixCirclesMainViewSet).call$2(t1.show_helix_circles_main_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_helix_components_main_view_reducer$closure(), type$.TypedReducer_bool_ShowHelixComponentsMainViewSet).call$2(t1.show_helix_components_main_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_edit_mode_menu_reducer$closure(), type$.TypedReducer_bool_ShowEditMenuToggle).call$2(t1.show_edit_mode_menu, t2)); + b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure(), type$.TypedReducer_bool_ShowGridCoordinatesSideViewSet).call$2(t1.show_grid_coordinates_side_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_helices_axis_arrows_reducer$closure(), type$.TypedReducer_bool_ShowAxisArrowsSet).call$2(t1.show_helices_axis_arrows, t2)); + b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_loopout_extension_length_reducer$closure(), type$.TypedReducer_bool_ShowLoopoutExtensionLengthSet).call$2(t1.show_loopout_extension_length, t2)); + b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_slice_bar_reducer$closure(), type$.TypedReducer_bool_ShowSliceBarSet).call$2(t1.show_slice_bar, t2)); + b.get$_app_ui_state_storables$_$this()._show_slice_bar = t5; + t5 = A._asIntQ(new A.TypedReducer(A.app_ui_state_reducer__slice_bar_offset_set_reducer$closure(), type$.TypedReducer_of_nullable_int_and_SliceBarOffsetSet).call$2(t1.slice_bar_offset, t2)); + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure(), type$.TypedReducer_bool_DisablePngCachingDnaSequencesSet).call$2(t1.disable_png_caching_dna_sequences, t2)); + b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure(), type$.TypedReducer_bool_RetainStrandColorOnSelectionSet).call$2(t1.retain_strand_color_on_selection, t2)); + b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t5; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure(), type$.TypedReducer_bool_DisplayReverseDNARightSideUpSet).call$2(t1.display_reverse_DNA_right_side_up, t2)); + b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t5; + t5 = new A.TypedReducer(A.app_ui_state_reducer__local_storage_design_choice_reducer$closure(), type$.TypedReducer_LocalStorageDesignChoice_LocalStorageDesignChoiceSet).call$2(t1.local_storage_design_choice, t2); + t5.toString; + t3 = new A.LocalStorageDesignChoiceBuilder(); + t4 = type$.LocalStorageDesignChoice; + t4._as(t5); + A.ArgumentError_checkNotNull(t5, "other", t4); + t3._local_storage_design_choice$_$v = t5; + b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure(), type$.TypedReducer_bool_ClearHelixSelectionWhenLoadingNewDesignSet).call$2(t1.clear_helix_selection_when_loading_new_design, t2)); + b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__strand_paste_keep_color_reducer$closure(), type$.TypedReducer_bool_StrandPasteKeepColorSet).call$2(t1.strand_paste_keep_color, t2)); + b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__center_on_load_reducer$closure(), type$.TypedReducer_bool_AutofitSet).call$2(t1.autofit, t2)); + b.get$_app_ui_state_storables$_$this()._autofit = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_oxview_reducer$closure(), type$.TypedReducer_bool_OxviewShowSet).call$2(t1.show_oxview, t2)); + b.get$_app_ui_state_storables$_$this()._show_oxview = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure(), type$.TypedReducer_bool_DisplayMajorTicksOffsetsSet).call$2(t1.display_base_offsets_of_major_ticks, t2)); + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure(), type$.TypedReducer_bool_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix).call$2(t1.display_base_offsets_of_major_ticks_only_first_helix, t2)); + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__display_major_tick_widths_reducer$closure(), type$.TypedReducer_bool_SetDisplayMajorTickWidths).call$2(t1.display_major_tick_widths, t2)); + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure(), type$.TypedReducer_bool_SetDisplayMajorTickWidthsAllHelices).call$2(t1.display_major_tick_widths_all_helices, t2)); + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t3; + t3 = type$.nullable_BasePairDisplayType._as(new A.TypedReducer(A.app_ui_state_reducer__base_pair_type_idx_reducer$closure(), type$.TypedReducer_BasePairDisplayType_BasePairTypeSet).call$2(t1.base_pair_display_type, t2)); + b.get$_app_ui_state_storables$_$this()._base_pair_display_type = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_base_pair_lines_reducer$closure(), type$.TypedReducer_bool_ShowBasePairLinesSet).call$2(t1.show_base_pair_lines, t2)); + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure(), type$.TypedReducer_bool_ShowBasePairLinesWithMismatchesSet).call$2(t1.show_base_pair_lines_with_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__export_svg_text_separately_reducer$closure(), type$.TypedReducer_bool_ExportSvgTextSeparatelySet).call$2(t1.export_svg_text_separately, t2)); + b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure(), type$.TypedReducer_bool_OxExportOnlySelectedStrandsSet).call$2(t1.ox_export_only_selected_strands, t2)); + b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__only_display_selected_helices_reducer$closure(), type$.TypedReducer_bool_SetOnlyDisplaySelectedHelices).call$2(t1.only_display_selected_helices, t2)); + b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t3; + t3 = type$.TypedReducer_bool_DefaultCrossoverTypeForSettingHelixRollsSet; + t5 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_scaffold_for_setting_helix_rolls, t2)); + b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t5; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_staple_for_setting_helix_rolls, t2)); + b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t3; + t3 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__show_mouseover_data_set_reducer$closure(), type$.TypedReducer_bool_ShowMouseoverDataSet).call$2(t1.show_mouseover_data, t2)); + b.get$_app_ui_state_storables$_$this()._show_mouseover_data = t3; + t2 = A._asBoolQ(new A.TypedReducer(A.app_ui_state_reducer__selection_box_intersection_reducer$closure(), type$.TypedReducer_bool_SelectionBoxIntersectionRuleSet).call$2(t1.selection_box_intersection, t2)); + b.get$_app_ui_state_storables$_$this()._selection_box_intersection = t2; return b; }, - $signature: 7 + $signature: 50 }; - F.nick_reducer_closure5.prototype = { - call$2: function(l1, l2) { - H._asIntS(l1); - H._asIntS(l2); - if (typeof l1 !== "number") - return l1.$add(); - if (typeof l2 !== "number") - return H.iae(l2); - return l1 + l2; + A.ui_state_global_reducer_closure.prototype = { + call$1(u) { + var selectables_store, t6, _null = null, _s5_ = "other", + t1 = u.get$storables(), + t2 = this.ui_state, + t3 = this.state, + t4 = this.action, + t5 = A.app_ui_state_storable_global_reducer(t2.storables, t3, t4); + A.ArgumentError_checkNotNull(t5, _s5_, type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = t5; + t5 = u.get$selectables_store(); + t1 = t2.selectables_store; + selectables_store = $.$get$selectables_store_local_reducer().call$2(t1, t4); + selectables_store = $.$get$selectables_store_global_reducer().call$3(selectables_store, t3, t4); + A.ArgumentError_checkNotNull(selectables_store, _s5_, type$.SelectablesStore); + t5._selectable$_$v = selectables_store; + u.get$mouseover_datas().replace$1(0, $.$get$mouseover_datas_global_reducer().call$3(t2.mouseover_datas, t3, t4)); + t5 = $.$get$strands_move_global_reducer().call$3(t2.strands_move, t3, t4); + if (t5 == null) + t1 = _null; + else { + t1 = new A.StrandsMoveBuilder(); + t6 = type$.StrandsMove; + t6._as(t5); + A.ArgumentError_checkNotNull(t5, _s5_, t6); + t1._strands_move$_$v = t5; + } + u.get$_app_ui_state$_$this()._strands_move = t1; + t1 = $.$get$domains_move_global_reducer().call$3(t2.domains_move, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new A.DomainsMoveBuilder(); + t6 = type$.DomainsMove; + t6._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t6); + t5._domains_move$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._domains_move = t1; + t1 = $.$get$strand_creation_global_reducer().call$3(t2.strand_creation, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new A.StrandCreationBuilder(); + t6 = type$.StrandCreation; + t6._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t6); + t5._strand_creation$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._strand_creation = t1; + t1 = $.$get$copy_info_global_reducer().call$3(t2.copy_info, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new A.CopyInfoBuilder(); + t6 = type$.CopyInfo; + t6._as(t1); + A.ArgumentError_checkNotNull(t1, _s5_, t6); + t5._copy_info$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._copy_info = t1; + t4 = A.original_helix_offsets_reducer(t2.original_helix_offsets, t3, t4); + t4.toString; + t3 = t4.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t4); + t3 = type$.nullable_MapBuilder_of_int_and_BuiltList_int._as(new A.MapBuilder(t4._mapFactory, t4._map$_map, t4, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + u.get$_app_ui_state$_$this().set$_original_helix_offsets(t3); + return u; }, - $signature: 91 + $signature: 68 }; - F.nick_reducer_closure6.prototype = { - call$2: function(a, b) { - H._asIntS(a); - H._asIntS(b); - if (typeof a !== "number") - return a.$add(); - if (typeof b !== "number") - return H.iae(b); - return a + b; + A.compute_domain_name_complements_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_name = this.domain_name_to; + return b; }, - $signature: 91 + $signature: 6 }; - F.nick_reducer_closure7.prototype = { - call$2: function(idx, mod) { - var t1, _this = this; - H._asIntS(idx); - type$.legacy_ModificationInternal._as(mod); - t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); - if (typeof t1 !== "number") - return t1.$sub(); - if (_this.i >= t1 - 1) { - t1 = _this.dna_length_strand_5p; - if (typeof idx !== "number") - return idx.$lt(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = idx < t1; - } else - t1 = true; - if (t1) - _this.modifications_int_strand_5p.$indexSet(0, idx, mod); + A.compute_domain_name_complements_closure0.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - $signature: 117 + $signature: 1 + }; + A.compute_domain_name_complements_for_bound_domains_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_name = this.domain_name_to; + return b; + }, + $signature: 6 }; - F.nick_reducer_closure8.prototype = { - call$1: function(b) { + A.compute_domain_name_complements_for_bound_domains_closure0.prototype = { + call$1(b) { b.get$substrands().replace$1(0, this.substrands); - b.get$_strand$_$this()._circular = false; return b; }, - $signature: 2 + $signature: 1 }; - F.nick_reducer_closure9.prototype = { - call$2: function(idx, mod) { - var t1, _this = this; - H._asIntS(idx); - type$.legacy_ModificationInternal._as(mod); - t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); - if (typeof t1 !== "number") - return H.iae(t1); - if (_this.i <= t1) { - t1 = _this.dna_length_strand_5p; - if (typeof idx !== "number") - return idx.$ge(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = idx >= t1; - } else - t1 = true; - if (t1) { - t1 = _this.dna_length_strand_5p; - if (typeof idx !== "number") - return idx.$sub(); - if (typeof t1 !== "number") - return H.iae(t1); - _this.modifications_int_strand_3p.$indexSet(0, idx - t1, mod); - } + A.convert_crossover_to_loopout_reducer_closure.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this._box_0.substrands); + return s; }, - $signature: 117 + $signature: 1 }; - F.ligate_reducer_closure.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this._box_0.substrands); - b.get$_strand$_$this()._circular = true; - return b; + A.convert_crossovers_to_loopouts_reducer_closure.prototype = { + call$2(c1, c2) { + var t1 = type$.Crossover; + t1._as(c1); + t1._as(c2); + return c1.prev_domain_idx - c2.prev_domain_idx; }, - $signature: 2 + $signature: 237 }; - F.find_end_pairs_to_connect_in_group_closure.prototype = { - call$2: function(end1, end2) { - var domain1, domain2, helix1, helix2, t2, helix1_order, helix2_order, t3, - t1 = type$.legacy_DNAEnd; - t1._as(end1); - t1._as(end2); - t1 = this.domains_by_end; - domain1 = t1.$index(0, end1); - domain2 = t1.$index(0, end2); - helix1 = domain1.helix; - helix2 = domain2.helix; - t1 = this.helices_view_order_inverse._map$_map; - t2 = J.getInterceptor$asx(t1); - helix1_order = t2.$index(t1, helix1); - helix2_order = t2.$index(t1, helix2); - if (helix1_order != helix2_order) { - if (typeof helix1_order !== "number") - return helix1_order.$sub(); - if (typeof helix2_order !== "number") - return H.iae(helix2_order); - return helix1_order - helix2_order; - } - t1 = domain1.forward; - if (t1 !== domain2.forward) - return t1 ? -1 : 1; - t1 = end1.is_start; - t2 = end1.offset; - if (t1) - t1 = t2; - else { - if (typeof t2 !== "number") - return t2.$sub(); - t1 = t2 - 1; - } - t2 = end2.is_start; - t3 = end2.offset; - if (t2) - t2 = t3; - else { - if (typeof t3 !== "number") - return t3.$sub(); - t2 = t3 - 1; - } - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 - t2; + A.convert_crossovers_to_loopouts_reducer_closure0.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 283 + $signature: 1 }; - F._join_strands_with_crossover_closure.prototype = { - call$1: function(b) { - b.get$_strand$_$this()._circular = true; - return b; + A.loopouts_length_change_reducer_closure.prototype = { + call$2(c1, c2) { + var t1 = type$.Loopout; + t1._as(c1); + t1._as(c2); + return c1.prev_domain_idx - c2.prev_domain_idx; }, - $signature: 2 + $signature: 238 }; - F._join_strands_with_crossover_closure0.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._is_last = false; - return b; + A.loopouts_length_change_reducer_closure0.prototype = { + call$1(l) { + l.get$_loopout$_$this()._loopout_num_bases = this.action.length; + return l; }, - $signature: 7 + $signature: 28 }; - F._join_strands_with_crossover_closure1.prototype = { - call$1: function(b) { - var t1; - b.get$_domain$_$this()._is_first = false; - t1 = this.strand_5p; - t1 = t1.get$id(t1); - b.get$_domain$_$this()._domain$_strand_id = t1; + A.loopouts_length_change_reducer_closure1.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 1 + }; + A.extensions_num_bases_change_reducer_closure.prototype = { + call$1(b) { + b.get$_extension$_$this()._num_bases = this.action.num_bases; return b; }, - $signature: 7 + $signature: 16 }; - F.potential_crossover_move_reducer_closure.prototype = { - call$1: function(p) { - var t1 = type$.legacy_Point_legacy_num._as(this.action.point); - p.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); - return p; + A.extensions_num_bases_change_reducer_closure0.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; }, - $signature: 116 + $signature: 1 }; - D.select_all_selectables_reducer_closure.prototype = { - call$1: function(domain) { - return !type$.legacy_Domain._as(domain).is_first; + A.loopout_length_change_reducer_closure.prototype = { + call$1(l) { + l.get$_loopout$_$this()._loopout_num_bases = this.action.num_bases; + return l; }, - $signature: 21 + $signature: 28 }; - D.select_all_selectables_reducer_closure0.prototype = { - call$1: function(domain) { - type$.legacy_Domain._as(domain); - return domain.forward ? domain.get$dnaend_start() : domain.get$dnaend_end(); + A.loopout_length_change_reducer_closure0.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - $signature: 114 + $signature: 1 }; - D.select_all_selectables_reducer_closure1.prototype = { - call$1: function(domain) { - return !type$.legacy_Domain._as(domain).is_last; + A.extension_num_bases_change_reducer_closure.prototype = { + call$1(l) { + l.get$_extension$_$this()._num_bases = this.action.num_bases; + return l; }, - $signature: 21 + $signature: 16 }; - D.select_all_selectables_reducer_closure2.prototype = { - call$1: function(domain) { - type$.legacy_Domain._as(domain); - return domain.forward ? domain.get$dnaend_end() : domain.get$dnaend_start(); + A.extension_num_bases_change_reducer_closure0.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - $signature: 114 + $signature: 1 }; - D.select_all_with_same_reducer_closure.prototype = { - call$1: function(b) { - b.get$selected_items().replace$1(0, this.selected_strands); + A.extension_display_length_angle_change_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action; + b.get$_extension$_$this()._display_length = t1.display_length; + b.get$_extension$_$this()._display_angle = t1.display_angle; return b; }, - $signature: 46 + $signature: 16 }; - D.helix_selections_adjust_reducer_closure.prototype = { - call$1: function(helix) { - var t1, position3d, t2, svg_pos, t3, t4, t5, width; - type$.legacy_Helix._as(helix); - t1 = this.state.ui_state.storables.invert_y; - position3d = helix.get$position3d(); - t2 = helix.geometry; - svg_pos = E.position3d_to_side_view_svg(position3d, t1, t2); - t1 = svg_pos.x; - t3 = t2.get$helix_radius_svg(); - if (typeof t1 !== "number") - return t1.$sub(); - t4 = svg_pos.y; - t5 = t2.get$helix_radius_svg(); - if (typeof t4 !== "number") - return t4.$sub(); - width = t2.get$helix_radius_svg() * 2; - return Q.Box$(t1 - t3, t4 - t5, width, width); + A.extension_display_length_angle_change_reducer_closure0.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - $signature: 287 + $signature: 1 }; - D.helix_selections_adjust_reducer_closure0.prototype = { - call$1: function(helix) { - return type$.legacy_Helix._as(helix).idx; + A.delete_all_reducer_closure.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.Strand; }, - $signature: 98 + $signature: 11 }; - D.helix_select_reducer_closure.prototype = { - call$1: function(h) { - var t1, t2; - type$.legacy_SetBuilder_legacy_int._as(h); - t1 = h.$ti._precomputed1; - t2 = t1._as(this.idx); - !$.$get$isSoundMode() && !t1._is(null); - return h.get$_safeSet().add$1(0, t2); + A.delete_all_reducer_closure0.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.Crossover; }, - $signature: 113 + $signature: 11 }; - D.helix_select_reducer_closure0.prototype = { - call$1: function(h) { - return type$.legacy_SetBuilder_legacy_int._as(h).get$_safeSet().remove$1(0, this.idx); + A.delete_all_reducer_closure1.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.Loopout; }, - $signature: 113 + $signature: 11 + }; + A.delete_all_reducer_closure2.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.DNAEnd; + }, + $signature: 11 }; - D.helix_remove_selected_reducer_closure.prototype = { - call$1: function(b) { + A.delete_all_reducer_closure3.prototype = { + call$1(end) { var t1; - type$.legacy_SetBuilder_legacy_int._as(b); - t1 = this.action.helix_idx; - b.get$_safeSet().remove$1(0, t1); - return b; + type$.Selectable._as(end); + t1 = this.state.get$design().get$end_to_domain()._map$_map.$index(0, end); + t1.toString; + return t1; }, - $signature: 290 + $signature: 242 }; - D.selection_box_size_changed_reducer_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_Point_legacy_num._as(this.action.point); - s.get$_selection_box$_$this().set$_selection_box$_current(t1); - return s; + A.delete_all_reducer_closure4.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.Domain; }, - $signature: 112 + $signature: 11 }; - D.selection_rope_mouse_move_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.is_main_view; - b.get$_selection_rope$_$this()._is_main = t1; - return b; + A.delete_all_reducer_closure5.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.SelectableDeletion; }, - $signature: 53 + $signature: 11 }; - D.selection_rope_mouse_move_reducer_closure0.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.action.point); - b.get$_selection_rope$_$this().set$_current_point(t1); - return b; + A.delete_all_reducer_closure6.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.SelectableInsertion; }, - $signature: 53 + $signature: 11 }; - D.selection_rope_add_point_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.is_main_view; - b.get$_selection_rope$_$this()._is_main = t1; - return b; + A.delete_all_reducer_closure7.prototype = { + call$1(item) { + return type$.SelectableModification._is(type$.Selectable._as(item)); }, - $signature: 53 + $signature: 11 }; - D.selection_rope_add_point_reducer_closure0.prototype = { - call$1: function(b) { - b.get$points(b).replace$1(0, this.points); - return b; + A.delete_all_reducer_closure8.prototype = { + call$1(item) { + return type$.Selectable._as(item) instanceof A.Extension; }, - $signature: 53 + $signature: 11 }; - M.strand_create_adjust_offset_reducer_closure.prototype = { - call$1: function(b) { - b.get$_strand_creation$_$this()._current_offset = this.action.offset; + A._remove_strands_closure.prototype = { + call$1(b) { + var t1, t2; + type$.ListBuilder_Strand._as(b); + t1 = b.$ti._eval$1("bool(1)")._as(new A._remove_strands__closure(this.strands_to_remove)); + t2 = b.get$_safeList(); + A._arrayInstanceType(t2)._eval$1("bool(1)")._as(t1); + if (!!t2.fixed$length) + A.throwExpression(A.UnsupportedError$("removeWhere")); + B.JSArray_methods._removeWhere$2(t2, t1, true); return b; }, - $signature: 102 + $signature: 127 }; - M.strand_create_adjust_offset_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_strand_creation$_$this()._current_offset = this.action.offset; - return b; + A._remove_strands__closure.prototype = { + call$1(strand) { + return this.strands_to_remove.contains$1(0, type$.Strand._as(strand)); }, - $signature: 102 + $signature: 13 }; - X.parse_strands_and_helices_view_order_from_clipboard_closure.prototype = { - call$1: function(m) { - var t5, - t1 = this.mods, - t2 = this.strand_json, - t3 = J.getInterceptor$asx(t2), - t4 = type$.legacy_Modification5Prime._as(t1.$index(0, t3.$index(t2, "5prime_modification"))); - if (t4 == null) - t4 = null; - else { - t5 = new Z.Modification5PrimeBuilder(); - t5._modification$_$v = t4; - t4 = t5; - } - m.get$_strand$_$this()._modification_5p = t4; - t2 = type$.legacy_Modification3Prime._as(t1.$index(0, t3.$index(t2, "3prime_modification"))); - if (t2 == null) - t1 = null; - else { - t1 = new Z.Modification3PrimeBuilder(); - t1._modification$_$v = t2; - } - m.get$_strand$_$this()._modification_3p = t1; - m.get$modifications_int().replace$1(0, this.modifications_int); - return m; + A.remove_linkers_from_strand_closure.prototype = { + call$2(l1, l2) { + var t1 = type$.Linker; + t1._as(l1); + t1._as(l2); + return B.JSInt_methods.compareTo$1(l1.get$prev_domain_idx(), l2.get$prev_domain_idx()); }, - $signature: 2 + $signature: 244 }; - X.compute_default_next_address_closure.prototype = { - call$1: function(b) { - b.get$_address$_$this()._helix_idx = this.next_helix_idx; + A.remove_linkers_from_strand_closure0.prototype = { + call$1(b) { + b.get$_strand$_$this()._circular = false; return b; }, - $signature: 70 + $signature: 1 }; - X.compute_default_next_address_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(); - t1._address$_$v = this.next_address; - return b; + A.create_new_strands_from_substrand_lists_closure.prototype = { + call$1(loopout) { + loopout.get$_loopout$_$this()._prev_domain_idx = this.i - 1; + return loopout; }, - $signature: 35 + $signature: 28 }; - X.compute_default_next_address_closure1.prototype = { - call$1: function(b) { - var t1 = this._box_0.offset; - b.get$_address$_$this()._offset = t1; - return b; + A.create_new_strands_from_substrand_lists_closure0.prototype = { + call$1(s) { + s.get$_domain$_$this()._is_first = true; + return s; }, - $signature: 70 + $signature: 6 }; - X.compute_default_next_address_closure2.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(); - t1._address$_$v = this.next_address; - return b; + A.create_new_strands_from_substrand_lists_closure1.prototype = { + call$1(s) { + s.get$_domain$_$this()._is_last = true; + return s; }, - $signature: 35 + $signature: 6 }; - X.manual_paste_copy_info_reducer_closure.prototype = { - call$1: function(b) { - var t1 = new Z.AddressDifferenceBuilder(); - t1._address$_$v = this.translation; - b.get$_copy_info$_$this()._translation = t1; + A._remove_extension_from_strand_closure.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); return b; }, - $signature: 103 + $signature: 1 }; - X.manual_paste_copy_info_reducer_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$prev_paste_address(); - t1._address$_$v = this.current_address; + A._remove_domains_from_strand_closure.prototype = { + call$1(b) { + b.get$_strand$_$this()._circular = false; return b; }, - $signature: 103 + $signature: 1 }; - D.strands_move_start_selected_strands_reducer_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof E.Strand; + A.remove_deletions_and_insertions_closure.prototype = { + call$1(offset) { + return this.deletions_offsets_to_remove.contains$1(0, A._asIntS(offset)); }, - $signature: 13 + $signature: 21 }; - D.strands_adjust_address_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(), - t2 = this.action.address; - t1._address$_$v = t2; - return b; + A.remove_deletions_and_insertions_closure0.prototype = { + call$1(insertion) { + return this.insertions_offsets_to_remove.contains$1(0, type$.Insertion._as(insertion).offset); }, - $signature: 35 + $signature: 31 }; - D.strands_adjust_address_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_strands_move$_$this()._strands_move$_allowable = this.allowable; + A.remove_deletions_and_insertions_closure1.prototype = { + call$1(b) { + b.get$deletions().replace$1(0, this.deletions_existing); + b.get$insertions().replace$1(0, this.insertions_existing); return b; }, - $signature: 35 + $signature: 6 }; - D.is_allowable_closure.prototype = { - call$1: function(dom) { - return this.delta_forward !== (type$.legacy_Domain._as(dom).forward === this.forward); + A.remove_deletions_and_insertions_closure2.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - $signature: 21 + $signature: 1 }; - D.is_allowable_closure0.prototype = { - call$1: function(dom) { - var t1; - type$.legacy_Domain._as(dom); - t1 = this.delta_offset; - return new P.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_legacy_int); + A.remove_modifications_closure.prototype = { + call$1(b) { + var t1 = this._box_0; + if (t1.remove_5p) + b.get$_strand$_$this()._modification_5p = null; + if (t1.remove_3p) + b.get$_strand$_$this()._modification_3p = null; + b.get$modifications_int().replace$1(0, this.mods_int); }, - $signature: 67 + $signature: 72 }; - D.is_allowable_closure1.prototype = { - call$1: function(dom) { - return type$.legacy_Domain._as(dom).forward === this.forward; + A.design_composed_local_reducer_closure.prototype = { + call$1(d) { + var t1 = this.design, + t2 = this.action; + d.get$groups().replace$1(0, $.$get$groups_local_reducer().call$2(t1.groups, t2)); + d.get$helices().replace$1(0, $.$get$helices_local_reducer().call$2(t1.helices, t2)); + d.get$strands().replace$1(0, $.$get$strands_local_reducer().call$2(t1.strands, t2)); + return d; }, - $signature: 21 + $signature: 24 }; - D.is_allowable_closure2.prototype = { - call$1: function(dom) { - type$.legacy_Domain._as(dom); - return new P.Point(dom.start, dom.end - 1, type$.Point_legacy_int); + A.design_composed_global_reducer_closure.prototype = { + call$1(d) { + var t1 = this.design, + t2 = this.state, + t3 = this.action; + d.get$groups().replace$1(0, $.$get$groups_global_reducer().call$3(t1.groups, t2, t3)); + d.get$helices().replace$1(0, $.$get$helices_global_reducer().call$3(t1.helices, t2, t3)); + d.get$strands().replace$1(0, $.$get$strands_global_reducer().call$3(t1.strands, t2, t3)); + return d; }, - $signature: 67 + $signature: 24 }; - E.substrand_name_set_reducer_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_name = this.action.name; + A.design_geometry_set_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$geometry(b), + t2 = this.action.geometry; + A.ArgumentError_checkNotNull(t2, "other", type$.Geometry); + t1._geometry$_$v = t2; return b; }, $signature: 7 }; - E.substrand_name_set_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_loopout$_$this()._loopout$_name = this.action.name; + A.design_geometry_set_reducer_closure0.prototype = { + call$1(b) { + var t1, t2; + b.get$helices().replace$1(0, this.new_helices); + t1 = b.get$geometry(b); + t2 = this.action.geometry; + A.ArgumentError_checkNotNull(t2, "other", type$.Geometry); + t1._geometry$_$v = t2; return b; }, $signature: 24 }; - E.substrand_name_set_reducer_closure1.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._extension$_name = this.action.name; + A.dna_ends_move_adjust_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.offset; + b.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t1; return b; }, - $signature: 19 + $signature: 248 }; - E.substrand_name_set_reducer_closure2.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; + A.dna_extensions_move_adjust_reducer_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.action.position); + b.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t1); + return b; }, - $signature: 2 + $signature: 249 }; - E.substrand_label_set_reducer_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_label = this.action.label; - return b; + A.domains_move_start_selected_domains_reducer_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Domain; }, - $signature: 7 + $signature: 11 }; - E.substrand_label_set_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_loopout$_$this()._loopout$_label = this.action.label; + A.domains_adjust_address_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; return b; }, - $signature: 24 + $signature: 126 }; - E.substrand_label_set_reducer_closure1.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._extension$_label = this.action.label; + A.domains_adjust_address_reducer_closure0.prototype = { + call$1(b) { + b.get$_domains_move$_$this()._allowable = this.allowable; return b; }, - $signature: 19 + $signature: 126 }; - E.substrand_label_set_reducer_closure2.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; + A.is_allowable_closure3.prototype = { + call$1(dom) { + return this.delta_forward !== (type$.Domain._as(dom).forward === this.forward); }, - $signature: 2 + $signature: 22 }; - E.one_strand_strands_move_copy_commit_reducer_closure.prototype = { - call$1: function(b) { - var t1 = $.$get$color_cycler().next$0(0); - b.get$_strand$_$this()._strand$_color = t1; - return b; + A.is_allowable_closure4.prototype = { + call$1(dom) { + var t1; + type$.Domain._as(dom); + t1 = this.delta_offset; + return new A.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_int); }, - $signature: 2 + $signature: 75 }; - E.move_strand_closure.prototype = { - call$1: function(b) { - var t2, t3, t4, t5, _this = this, - t1 = _this.i; - b.get$_domain$_$this()._is_first = t1 === 0; - t2 = J.get$length$asx(_this._box_1.substrands); - if (typeof t2 !== "number") - return t2.$sub(); - b.get$_domain$_$this()._is_last = t1 === t2 - 1; - t2 = _this._box_0.new_helix_idx; - b.get$_domain$_$this()._domain$_helix = t2; - t2 = _this.substrand; - b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t2.forward; - t1 = _this.delta_offset; - if (typeof t1 !== "number") - return H.iae(t1); - b.get$_domain$_$this()._start = t2.start + t1; - b.get$_domain$_$this()._end = t2.end + t1; + A.is_allowable_closure5.prototype = { + call$1(dom) { + return type$.Domain._as(dom).forward === this.forward; + }, + $signature: 22 + }; + A.is_allowable_closure6.prototype = { + call$1(dom) { + type$.Domain._as(dom); + return new A.Point(dom.start, dom.end - 1, type$.Point_int); + }, + $signature: 75 + }; + A.move_domain_closure.prototype = { + call$1(b) { + var t3, t4, t5, t6, _this = this, + t1 = _this.set_first_last_false, + t2 = t1 ? false : b.get$_domain$_$this()._is_first; + b.get$_domain$_$this()._is_first = t2; + t1 = t1 ? false : b.get$_domain$_$this()._is_last; + b.get$_domain$_$this()._is_last = t1; + b.get$_domain$_$this()._domain$_helix = _this.new_helix_idx; + t1 = _this.domain; + b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t1.forward; + t2 = _this.delta_offset; + b.get$_domain$_$this()._start = t1.start + t2; + b.get$_domain$_$this()._end = t1.end + t2; t3 = b.get$deletions(); - t4 = t2.deletions; - t5 = type$.dynamic; + t4 = t1.deletions; t4.toString; - t3.replace$1(0, J.map$1$1$ax(t4._list, t4.$ti._eval$1("@(1)")._as(new E.move_strand__closure(t1)), t5)); - t4 = b.get$insertions(); - t2 = t2.insertions; - t2.toString; - t4.replace$1(0, J.map$1$1$ax(t2._list, t2.$ti._eval$1("@(1)")._as(new E.move_strand__closure0(t1)), t5)); + t5 = t4._list; + t6 = A._arrayInstanceType(t5); + t3.replace$1(0, new A.MappedListIterable(t5, t6._eval$1("@(1)")._as(t4.$ti._eval$1("@(1)")._as(new A.move_domain__closure(t2))), t6._eval$1("MappedListIterable<1,@>"))); + t6 = b.get$insertions(); + t1 = t1.insertions; + t1.toString; + t4 = t1._list; + t5 = A._arrayInstanceType(t4); + t6.replace$1(0, new A.MappedListIterable(t4, t5._eval$1("@(1)")._as(t1.$ti._eval$1("@(1)")._as(new A.move_domain__closure0(t2))), t5._eval$1("MappedListIterable<1,@>"))); return b; }, - $signature: 7 + $signature: 6 }; - E.move_strand__closure.prototype = { - call$1: function(d) { - var t1; - H._asIntS(d); - t1 = this.delta_offset; + A.move_domain__closure.prototype = { + call$1(d) { + A._asIntS(d); if (typeof d !== "number") return d.$add(); - if (typeof t1 !== "number") - return H.iae(t1); - return d + t1; + return d + this.delta_offset; }, - $signature: 135 + $signature: 71 }; - E.move_strand__closure0.prototype = { - call$1: function(i) { - type$.legacy_Insertion._as(i); - return i.rebuild$1(new E.move_strand___closure(i, this.delta_offset)); + A.move_domain__closure0.prototype = { + call$1(i) { + type$.Insertion._as(i); + return i.rebuild$1(new A.move_domain___closure(i, this.delta_offset)); }, - $signature: 109 + $signature: 124 }; - E.move_strand___closure.prototype = { - call$1: function(ib) { - var t1 = this.i.offset, - t2 = this.delta_offset; - if (typeof t2 !== "number") - return H.iae(t2); - ib.get$_domain$_$this()._domain$_offset = t1 + t2; + A.move_domain___closure.prototype = { + call$1(ib) { + var t1 = this.i.offset; + ib.get$_domain$_$this()._domain$_offset = t1 + this.delta_offset; return ib; }, - $signature: 47 + $signature: 52 }; - E.move_strand_closure0.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this._box_1.substrands); - return b; + A.toggle_edit_mode_reducer_closure.prototype = { + call$1(m) { + type$.SetBuilder_EditModeChoice._as(m); + m.get$_safeSet().remove$1(0, this.mode); + return m; }, - $signature: 2 + $signature: 123 }; - E.one_strand_domains_move_commit_reducer_closure.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); - return b; + A.toggle_edit_mode_reducer_closure0.prototype = { + call$1(m) { + var t1, t2; + type$.SetBuilder_EditModeChoice._as(m); + t1 = m.$ti._precomputed1; + t2 = t1._as(this.mode); + !$.$get$isSoundMode() && !t1._is(null); + m.get$_safeSet().add$1(0, t2); + t1 = t2.get$excluded_modes(); + m.get$_safeSet().removeAll$1(t1); + return m; }, - $signature: 2 + $signature: 123 }; - E.strands_dna_ends_move_commit_reducer_closure.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset === this.offset; + A.grid_change_reducer_closure.prototype = { + call$2($name, group) { + var t1; + A._asStringS($name); + type$.HelixGroup._as(group); + t1 = this.action; + return $name == t1.group_name ? group.rebuild$1(new A.grid_change_reducer__closure(t1)) : group; }, - $signature: 29 + $signature: 254 }; - E.strands_dna_extensions_move_commit_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.length_and_angle, - t2 = H._asDoubleS(t1.item1); - b.get$_extension$_$this()._display_length = t2; - t1 = H._asDoubleS(t1.item2); - b.get$_extension$_$this()._display_angle = t1; + A.grid_change_reducer__closure.prototype = { + call$1(b) { + b.get$_group$_$this()._group$_grid = this.action.grid; return b; }, - $signature: 19 + $signature: 33 }; - E.strands_dna_extensions_move_commit_reducer_closure0.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); - s.get$_strand$_$this().set$_substrands(t1); - return s; + A.group_add_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action; + type$.MapBuilder_String_HelixGroup._as(b).$indexSet(0, t1.name, t1.group); }, - $signature: 2 + $signature: 80 }; - E.InsertionDeletionRecord.prototype = { - toString$0: function(_) { - return "InsertionDeletionRecord(offset=" + H.S(this.offset) + ", strand_idx=" + this.strand_idx + ", substrand_idx=" + this.substrand_idx + ")"; + A.group_remove_reducer_closure.prototype = { + call$1(b) { + var t1; + type$.MapBuilder_String_HelixGroup._as(b); + t1 = this.action.name; + b.get$_safeMap().remove$1(0, t1); }, - get$offset: function(receiver) { - return this.offset; - } + $signature: 80 + }; + A.group_change_reducer_closure.prototype = { + call$1(b) { + var t1, t2, t3; + type$.MapBuilder_String_HelixGroup._as(b); + t1 = this.action; + t2 = t1.old_name; + t3 = t1.new_name; + if (t2 !== t3) + b.get$_safeMap().remove$1(0, t2); + b.$indexSet(0, t3, t1.new_group); + }, + $signature: 80 }; - E.single_strand_dna_ends_commit_stop_reducer_closure.prototype = { - call$1: function(d) { - return !C.JSArray_methods.contains$1(this.remaining_deletions, H._asIntS(d)); + A.move_helices_to_group_groups_reducer_closure.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.new_from_helices_group_order); + return b; }, - $signature: 23 + $signature: 33 }; - E.single_strand_dna_ends_commit_stop_reducer_closure0.prototype = { - call$1: function(i) { - return !C.JSArray_methods.contains$1(this.remaining_insertions, type$.legacy_Insertion._as(i)); + A.move_helices_to_group_groups_reducer_closure0.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; }, - $signature: 29 + $signature: 33 }; - E.single_strand_dna_ends_commit_stop_reducer_closure1.prototype = { - call$1: function(i) { - return type$.legacy_Insertion._as(i).offset; + A.helix_idx_change_reducer_closure.prototype = { + call$2(key, _) { + A._asIntS(key); + type$.Helix._as(_); + return this.action.idx_replacements._map$_map.containsKey$1(0, key); }, - $signature: 295 + $signature: 78 }; - E.single_strand_dna_ends_commit_stop_reducer_closure2.prototype = { - call$1: function(b) { - var t1 = this.new_offset; - if (J.$eq$(this.dnaend, this.substrand.get$dnaend_start())) - b.get$_domain$_$this()._start = t1; - else { - if (typeof t1 !== "number") - return t1.$add(); - b.get$_domain$_$this()._end = t1 + 1; - } + A.helix_idx_change_reducer_closure0.prototype = { + call$1(b) { + b.get$_helix$_$this()._idx = this.new_idx; return b; }, $signature: 7 }; - E.single_strand_dna_ends_commit_stop_reducer_closure3.prototype = { - call$1: function(b) { - b.get$deletions().replace$1(0, this.remaining_deletions); - b.get$insertions().replace$1(0, this.remaining_insertions); + A.helix_idx_change_reducer_closure1.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_helix = this.new_idx; return b; }, - $signature: 7 + $signature: 6 }; - E.single_strand_dna_ends_commit_stop_reducer_closure4.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); + A.helix_idx_change_reducer_closure2.prototype = { + call$1(b) { + var t1 = b.get$adjacent_domain(), + t2 = this._box_0.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; return b; }, - $signature: 2 + $signature: 16 }; - E.get_remaining_deletions_closure.prototype = { - call$1: function(d) { - var t1; - H._asIntS(d); - t1 = this.new_offset; - if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof d !== "number") - return H.iae(d); - t1 = t1 < d; - } else { - if (typeof t1 !== "number") - return t1.$gt(); - if (typeof d !== "number") - return H.iae(d); - t1 = t1 > d; - } - return t1; + A.helix_idx_change_reducer_closure3.prototype = { + call$1(b) { + var t1 = b.get$adjacent_domain(), + t2 = this._box_0.domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + return b; }, - $signature: 23 + $signature: 16 }; - E.get_remaining_insertions_closure.prototype = { - call$1: function(i) { - var t1, t2; - type$.legacy_Insertion._as(i); - t1 = this.new_offset; - if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { - t2 = i.offset; - if (typeof t1 !== "number") - return t1.$lt(); - t2 = t1 < t2; - t1 = t2; - } else { - t2 = i.offset; - if (typeof t1 !== "number") - return t1.$gt(); - t2 = t1 > t2; - t1 = t2; - } - return t1; + A.helix_idx_change_reducer_closure4.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - $signature: 29 + $signature: 1 }; - E.strand_create_closure.prototype = { - call$1: function(s) { - var t1, t2; - type$.legacy_ListBuilder_legacy_Strand._as(s); - t1 = s.$ti._precomputed1; - t2 = t1._as(this.strand); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.add$1$ax(s.get$_safeList(), t2); - return s; + A.helix_idx_change_reducer_closure5.prototype = { + call$1(b) { + b.get$groups().replace$1(0, this.new_groups); + b.get$helices().replace$1(0, this.helices); + b.get$strands().replace$1(0, this.strands); + return b; }, - $signature: 137 + $signature: 24 }; - E.vendor_fields_remove_reducer_closure.prototype = { - call$1: function(m) { - return m.get$_strand$_$this()._vendor_fields = null; + A.change_groups_closure.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.helices_view_order_new); + return b; }, - $signature: 68 + $signature: 33 }; - E.plate_well_vendor_fields_remove_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$vendor_fields(); - t1.get$_vendor_fields$_$this()._plate = null; - t1.get$_vendor_fields$_$this()._well = null; - return t1; + A._change_offset_one_helix_closure.prototype = { + call$1(b) { + var _this = this, + t1 = _this.min_offset; + if (t1 == null) + t1 = _this.helix.min_offset; + b.get$_helix$_$this()._min_offset = t1; + t1 = _this.max_offset; + if (t1 == null) + t1 = _this.helix.max_offset; + b.get$_helix$_$this()._max_offset = t1; + return b; }, - $signature: 296 + $signature: 7 }; - E.plate_well_vendor_fields_assign_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$vendor_fields(), - t2 = this.action.vendor_fields; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._vendor_fields$_$v = t2; - return null; + A.helix_offset_change_all_with_moving_strands_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; + }, + $signature: 41 + }; + A.helix_offset_change_all_with_moving_strands_reducer_map_func.prototype = { + call$2(idx, helix) { + A._asIntS(idx); + return A._change_offset_one_helix(type$.Helix._as(helix), this.offsets.$index(0, idx), null); }, $signature: 38 }; - E.scale_purification_vendor_fields_assign_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$vendor_fields(), - t2 = this.action.vendor_fields; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._vendor_fields$_$v = t2; - return null; + A.helix_offset_change_all_with_moving_strands_reducer_map_func0.prototype = { + call$2(idx, helix) { + A._asIntS(idx); + return A._change_offset_one_helix(type$.Helix._as(helix), null, this.offsets.$index(0, idx)); }, $signature: 38 }; - E.strand_name_set_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.name; - b.get$_strand$_$this()._strand$_name = t1; + A.helix_offset_change_all_while_creating_strand_reducer_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._min_offset = this.action.offset; return b; }, - $signature: 2 + $signature: 7 }; - E.strand_label_set_reducer_closure.prototype = { - call$1: function(b) { - var t1 = this.action.label; - b.get$_strand$_$this()._label = t1; + A.helix_offset_change_all_while_creating_strand_reducer_closure0.prototype = { + call$1(b) { + var t1 = this.action.offset; + if (typeof t1 !== "number") + return t1.$add(); + b.get$_helix$_$this()._max_offset = t1 + 1; return b; }, - $signature: 2 + $signature: 7 }; - E.extension_add_reducer_closure.prototype = { - call$1: function(b) { - b.get$substrands().replace$1(0, this.substrands); + A.helix_offset_change_all_while_creating_strand_reducer_closure1.prototype = { + call$1(b) { + b.get$_helix$_$this()._min_offset = this.action.offset; return b; }, - $signature: 2 + $signature: 7 }; - E.modification_add_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$modifications_int(), - t2 = this.action, - t3 = type$.legacy_ModificationInternal._as(t2.modification); - t1.$indexSet(0, t2.strand_dna_idx, t3); - return t3; + A.helix_offset_change_all_while_creating_strand_reducer_closure2.prototype = { + call$1(b) { + var t1 = this.action.offset; + if (typeof t1 !== "number") + return t1.$add(); + return b.get$_helix$_$this()._max_offset = t1 + 1; }, - $signature: 111 + $signature: 62 }; - E.modification_add_reducer_closure0.prototype = { - call$1: function(m) { - var t1 = m.get$modification_3p(), - t2 = type$.legacy_Modification3Prime._as(this.action.modification); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return null; + A.first_replace_strands_reducer_closure.prototype = { + call$1(b) { + var t1 = this.min_offsets.$index(0, this.helix_idx); + b.get$_helix$_$this()._min_offset = t1; + return b; }, - $signature: 38 + $signature: 7 }; - E.modification_add_reducer_closure1.prototype = { - call$1: function(m) { - var t1 = m.get$modification_5p(), - t2 = type$.legacy_Modification5Prime._as(this.action.modification); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return null; + A.first_replace_strands_reducer_closure0.prototype = { + call$1(b) { + var t1 = this.max_offsets.$index(0, this.helix_idx); + b.get$_helix$_$this()._max_offset = t1; + return b; }, - $signature: 38 + $signature: 7 }; - E.modification_remove_reducer_closure.prototype = { - call$1: function(m) { - return J.remove$1$ax(m.get$modifications_int().get$_safeMap(), this.action.strand_dna_idx); + A.reset_helices_offsets_closure.prototype = { + call$1(b) { + var t1 = this.original_helix_offsets._map$_map.$index(0, this.idx)._list; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = A._asIntQ(t1[0]); + return b.get$_helix$_$this()._min_offset = t1; }, - $signature: 299 + $signature: 62 }; - E.modification_remove_reducer_closure0.prototype = { - call$1: function(m) { - return m.get$_strand$_$this()._modification_3p = null; + A.reset_helices_offsets_closure0.prototype = { + call$1(b) { + var t1 = this.original_helix_offsets._map$_map.$index(0, this.idx)._list; + if (1 >= t1.length) + return A.ioore(t1, 1); + t1 = A._asIntQ(t1[1]); + return b.get$_helix$_$this()._max_offset = t1; }, - $signature: 68 + $signature: 62 }; - E.modification_remove_reducer_closure1.prototype = { - call$1: function(m) { - return m.get$_strand$_$this()._modification_5p = null; + A.helix_offset_change_all_reducer_map_func.prototype = { + call$2(_, helix) { + var t1 = this.action; + return A._change_offset_one_helix(type$.Helix._as(helix), t1.min_offset, t1.max_offset); }, - $signature: 68 + $signature: 101 }; - E.modification_edit_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$modifications_int(), - t2 = this.action, - t3 = type$.legacy_ModificationInternal._as(t2.modification); - t1.$indexSet(0, t2.strand_dna_idx, t3); - return t3; + A._min_offset_set_by_domains_one_helix_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._min_offset = this.min_offset; + return b; }, - $signature: 111 + $signature: 7 }; - E.modification_edit_reducer_closure0.prototype = { - call$1: function(m) { - var t1 = m.get$modification_3p(), - t2 = type$.legacy_Modification3Prime._as(this.action.modification); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return null; + A._max_offset_set_by_domains_one_helix_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._max_offset = this.max_offset; + return b; }, - $signature: 38 + $signature: 7 }; - E.modification_edit_reducer_closure1.prototype = { - call$1: function(m) { - var t1 = m.get$modification_5p(), - t2 = type$.legacy_Modification5Prime._as(this.action.modification); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return null; + A.helix_min_offset_set_by_domains_all_reducer_map_func.prototype = { + call$2(_, helix) { + return A._min_offset_set_by_domains_one_helix(type$.Helix._as(helix), this.state.get$design()); }, - $signature: 38 + $signature: 101 }; - E.scaffold_set_reducer_closure.prototype = { - call$1: function(b) { - b.get$_strand$_$this()._is_scaffold = this.action.is_scaffold; - b.get$_strand$_$this()._strand$_color = this.new_color; - return b; + A.helix_max_offset_set_by_domains_all_reducer_map_func.prototype = { + call$2(_, helix) { + return A._max_offset_set_by_domains_one_helix(type$.Helix._as(helix), this.state.get$design()); }, - $signature: 2 + $signature: 101 }; - E.strand_or_substrand_color_set_reducer_closure.prototype = { - call$1: function(b) { - b.get$_strand$_$this()._strand$_color = this.action.color; - return b; + A.helix_max_offset_set_by_domains_all_same_max_reducer_closure.prototype = { + call$2(_, helix) { + A._asIntS(_); + return type$.Helix._as(helix).rebuild$1(new A.helix_max_offset_set_by_domains_all_same_max_reducer__closure(this._box_0)); }, - $signature: 2 + $signature: 38 }; - E.strand_or_substrand_color_set_reducer_closure0.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_color = this.action.color; + A.helix_max_offset_set_by_domains_all_same_max_reducer__closure.prototype = { + call$1(b) { + var t1 = this._box_0.max_offset; + b.get$_helix$_$this()._max_offset = t1; return b; }, $signature: 7 }; - E.strand_or_substrand_color_set_reducer_closure1.prototype = { - call$1: function(b) { - b.get$_loopout$_$this()._loopout$_color = this.action.color; - return b; + A.helix_major_tick_distance_change_all_reducer_closure.prototype = { + call$2(_, helix) { + A._asIntS(_); + return A._change_major_tick_distance_one_helix(type$.Helix._as(helix), this.action.major_tick_distance); }, - $signature: 24 + $signature: 38 }; - E.strand_or_substrand_color_set_reducer_closure2.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._extension$_color = this.action.color; - return b; + A.helix_major_ticks_change_all_reducer_closure.prototype = { + call$2(_, helix) { + A._asIntS(_); + return A._change_major_ticks_one_helix(type$.Helix._as(helix), this.action.major_ticks); }, - $signature: 19 + $signature: 38 }; - E.strand_or_substrand_color_set_reducer_closure3.prototype = { - call$1: function(s) { - s.get$substrands().replace$1(0, this.substrands); - return s; + A.helix_major_tick_start_change_all_reducer_closure.prototype = { + call$2(_, helix) { + A._asIntS(_); + return A._change_major_tick_start_one_helix(type$.Helix._as(helix), this.action.major_tick_start); }, - $signature: 2 + $signature: 38 }; - E.modifications_5p_edit_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$modification_5p(), - t2 = this.action.new_modification; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return b; + A.helix_major_tick_periodic_distances_change_all_reducer_closure.prototype = { + call$2(_, helix) { + A._asIntS(_); + return A._change_major_tick_periodic_distances_one_helix(type$.Helix._as(helix), this.action.major_tick_periodic_distances); }, - $signature: 2 + $signature: 38 }; - E.modifications_3p_edit_reducer_closure.prototype = { - call$1: function(b) { - var t1 = b.get$modification_3p(), - t2 = this.action.new_modification; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; + A._change_major_tick_distance_one_helix_closure.prototype = { + call$1(b) { + b.get$major_tick_periodic_distances().replace$1(0, [this.major_tick_distance]); + type$.nullable_ListBuilder_int._as(null); + b.get$_helix$_$this().set$_major_ticks(null); return b; }, - $signature: 2 + $signature: 7 }; - E.modifications_int_edit_reducer_closure.prototype = { - call$1: function(b) { - return b.get$modifications_int().replace$1(0, this.mods_int); + A._change_major_tick_start_one_helix_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._major_tick_start = this.major_tick_start; + return b; }, - $signature: 38 + $signature: 7 }; - S.create_new_state_with_new_design_and_undo_redo_closure.prototype = { - call$1: function(m) { - var _this = this, _s5_ = "other", - t1 = m.get$ui_state(), - t2 = _this.old_state, - t3 = t2.ui_state.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo__closure(_this.changed_since_last_save)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._app_ui_state$_$v = t3; - t1 = m.get$design(); - t3 = _this.new_design; - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._design0$_$v = t3; - t1 = m.get$undo_redo(); - t2 = t2.undo_redo.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo__closure0(_this.new_undo_stack, _this.new_redo_stack)); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._undo_redo$_$v = t2; - return m; + A._change_major_tick_periodic_distances_one_helix_closure.prototype = { + call$1(b) { + b.get$major_tick_periodic_distances().replace$1(0, this.major_tick_periodic_distances); + type$.nullable_ListBuilder_int._as(null); + b.get$_helix$_$this().set$_major_ticks(null); + return b; }, - $signature: 39 + $signature: 7 }; - S.create_new_state_with_new_design_and_undo_redo__closure.prototype = { - call$1: function(u) { - u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; - return u; + A._change_major_ticks_one_helix_closure.prototype = { + call$1(b) { + b.get$major_ticks().replace$1(0, this.major_ticks); + b.get$major_tick_periodic_distances().replace$1(0, []); + return b; }, - $signature: 51 + $signature: 7 }; - S.create_new_state_with_new_design_and_undo_redo__closure0.prototype = { - call$1: function(u) { - var t1 = type$.legacy_ListBuilder_legacy_UndoRedoItem, - t2 = t1._as(this.new_undo_stack); - u.get$_undo_redo$_$this().set$_undo_stack(t2); - t1 = t1._as(this.new_redo_stack); - u.get$_undo_redo$_$this().set$_redo_stack(t1); - return u; + A.helix_roll_set_reducer_closure.prototype = { + call$1(h) { + var t1 = this.action.roll; + h.get$_helix$_$this()._roll = t1; + return h; }, - $signature: 75 + $signature: 7 }; - S.redo_reducer_closure.prototype = { - call$1: function(m) { - var _this = this, _s5_ = "other", - t1 = m.get$ui_state(), - t2 = _this.state.ui_state.rebuild$1(new S.redo_reducer__closure(_this.changed_since_last_save)); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._app_ui_state$_$v = t2; - t1 = m.get$design(); - t2 = _this._box_0.new_design; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._design0$_$v = t2; - t1 = m.get$undo_redo(); - t2 = _this.undo_redo.rebuild$1(new S.redo_reducer__closure0(_this.undo_stack, _this.redo_stack)); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t1._undo_redo$_$v = t2; - return m; + A.helix_roll_set_at_other_reducer_closure.prototype = { + call$1(h) { + h.get$_helix$_$this()._roll = this.new_roll; + return h; }, - $signature: 39 + $signature: 7 }; - S.redo_reducer__closure.prototype = { - call$1: function(u) { - u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; - return u; + A.helix_add_design_reducer_closure.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; }, - $signature: 51 + $signature: 33 }; - S.redo_reducer__closure0.prototype = { - call$1: function(u) { - var t1 = type$.legacy_ListBuilder_legacy_UndoRedoItem, - t2 = t1._as(this.undo_stack); - u.get$_undo_redo$_$this().set$_undo_stack(t2); - t1 = t1._as(this.redo_stack); - u.get$_undo_redo$_$this().set$_redo_stack(t1); - return u; + A.helix_add_design_reducer_closure0.prototype = { + call$1(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + return d; }, - $signature: 75 + $signature: 24 }; - S.undo_redo_clear_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$undo_redo(), - t2 = T.UndoRedo_UndoRedo(); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._undo_redo$_$v = t2; - return m; + A.helix_remove_design_global_reducer_closure.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; }, - $signature: 39 + $signature: 33 }; - S.undoable_action_typed_reducer_closure.prototype = { - call$1: function(m) { - var t1 = m.get$undo_redo(), - t2 = this.state; - t2 = t2.undo_redo.rebuild$1(new S.undoable_action_typed_reducer__closure(this.action, t2)); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._undo_redo$_$v = t2; - return m; + A.helix_remove_design_global_reducer_closure0.prototype = { + call$1(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + d.get$strands().replace$1(0, this.strands_with_substrands_removed); + return d; }, - $signature: 39 + $signature: 24 }; - S.undoable_action_typed_reducer__closure.prototype = { - call$1: function(u) { - var t1 = u.get$undo_stack(), - t2 = t1.$ti._precomputed1, - t3 = t2._as(T.UndoRedoItem_UndoRedoItem(this.action.short_description$0(), this.state.design)); - if (!$.$get$isSoundMode() && !t2._is(null)) - if (t3 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.add$1$ax(t1.get$_safeList(), t3); - J.clear$0$ax(u.get$redo_stack().get$_safeList()); - return u; + A.helix_remove_all_selected_design_global_reducer_closure.prototype = { + call$1(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; }, - $signature: 75 - }; - X.TypedGlobalReducer.prototype = { - call$3: function(local_state, global_state, action) { - var t1 = this.$ti; - t1._eval$1("1*")._as(local_state); - t1._eval$1("2*")._as(global_state); - if (t1._eval$1("3*")._is(action)) - return this.reducer.call$3(local_state, global_state, action); - return local_state; - } + $signature: 33 }; - X.combineGlobalReducers_closure.prototype = { - call$3: function(local_state, global_state, action) { - var t1, t2, _i; - this.LocalState._eval$1("0*")._as(local_state); - this.GlobalState._eval$1("0*")._as(global_state); - for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) - local_state = t1[_i].call$3(local_state, global_state, action); - return local_state; + A.helix_remove_all_selected_design_global_reducer_closure0.prototype = { + call$1(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + d.get$strands().replace$1(0, this.strands_with_substrands_removed); + return d; }, - $signature: function() { - return this.LocalState._eval$1("@<0>")._bind$1(this.GlobalState)._eval$1("1*(1*,2*,@)"); - } + $signature: 24 }; - K.standard_serializers_closure.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_String); + A.remove_helix_assuming_no_domains_closure.prototype = { + call$1(b) { + type$.MapBuilder_int_Helix._as(b); + b.get$_safeMap().remove$1(0, this.action.helix_idx); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 301 - }; - K.BuiltJsonSerializable.prototype = { - toJson$0: function() { - return $.$get$standard_serializers().serialize$1(this); - } + $signature: 122 }; - K.PointSerializer.prototype = { - serialize$3$specifiedType: function(serializers, point, specifiedType) { - var t1; - this.$ti._eval$1("Point<1*>*")._as(point); - t1 = type$.legacy_String; - return P.LinkedHashMap_LinkedHashMap$_literal(["x", J.toString$0$(point.x), "y", J.toString$0$(point.y)], t1, t1); - }, - serialize$2: function(serializers, point) { - return this.serialize$3$specifiedType(serializers, point, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3; - type$.legacy_Map_dynamic_dynamic._as(serialized); - t1 = J.getInterceptor$asx(serialized); - t2 = this.$ti; - t3 = t2._eval$1("1*"); - return new P.Point(t3._as(P.num_parse(H._asStringS(t1.$index(serialized, "x")))), t3._as(P.num_parse(H._asStringS(t1.$index(serialized, "y")))), t2._eval$1("Point<1*>")); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + A.remove_helices_assuming_no_domains_closure.prototype = { + call$1(b) { + var t1, t2; + type$.MapBuilder_int_Helix._as(b); + t1 = b.$ti._eval$1("bool(1,2)")._as(new A.remove_helices_assuming_no_domains__closure(this.helix_idxs)); + t2 = b.get$_safeMap(); + t2.removeWhere$1(t2, t1); + return b; }, - get$wireName: function() { - return "Point"; - } + $signature: 122 }; - K.ColorSerializer.prototype = { - serialize$3$specifiedType: function(serializers, color, specifiedType) { - var t1 = type$.legacy_Color._as(color).toHexColor$0(); - return "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(); - }, - serialize$2: function(serializers, color) { - return this.serialize$3$specifiedType(serializers, color, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return S.HexColor_HexColor(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function(receiver) { - return this.types; + A.remove_helices_assuming_no_domains__closure.prototype = { + call$2(idx, _) { + A._asIntS(idx); + type$.Helix._as(_); + return this.helix_idxs._set.contains$1(0, idx); }, - get$wireName: function() { - return "Color"; - } + $signature: 78 }; - K._$serializers_closure.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); + A.helix_group_change_reducer_closure.prototype = { + call$2(idx, helix) { + var t1; + A._asIntS(idx); + type$.Helix._as(helix); + t1 = this.action; + return helix.group === t1.old_name ? helix.rebuild$1(new A.helix_group_change_reducer__closure(t1)) : helix; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 110 + $signature: 38 }; - K._$serializers_closure0.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); + A.helix_group_change_reducer__closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._group = this.action.new_name; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 110 + $signature: 7 }; - K._$serializers_closure1.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Crossover); + A.helix_individual_grid_position_set_reducer_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$_helix$_$this()._position_ = null; + t1 = b.get$grid_position(); + t2 = this.action.grid_position; + A.ArgumentError_checkNotNull(t2, "other", type$.GridPosition); + t1._grid_position$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 303 + $signature: 7 }; - K._$serializers_closure2.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + A.helix_individual_position_set_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$position_(), + t2 = this.action.position; + A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); + t1._position3d$_$v = t2; + b.get$_helix$_$this()._grid_position = null; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 157 + $signature: 7 }; - K._$serializers_closure3.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + A.move_helices_to_group_helices_reducer_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._group = this.action.group_name; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 157 + $signature: 7 }; - K._$serializers_closure4.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + A.helix_group_move_adjust_translation_reducer_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.action.mouse_point); + b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 133 + $signature: 263 }; - K._$serializers_closure5.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + A.helix_group_move_commit_global_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$position(b), + t2 = this.helix_group_move.get$current_position(); + A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); + t1._position3d$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 141 + $signature: 33 }; - K._$serializers_closure6.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + A.helix_group_move_commit_global_reducer_closure0.prototype = { + call$1(b) { + b.get$groups().replace$1(0, this.new_groups); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 141 + $signature: 24 }; - K._$serializers_closure7.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + A.inline_insertions_deletions_reducer_closure.prototype = { + call$1(s) { + var t2, + t1 = type$.Strand; + t1._as(s); + s.toString; + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(s, "other", t1); + t2._strand$_$v = s; + return t2; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 133 + $signature: 264 }; - K._$serializers_closure8.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DialogItem); + A.inline_insertions_deletions_reducer_closure0.prototype = { + call$1(b) { + return type$.StrandBuilder._as(b)._strand$_build$0(); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 307 + $signature: 265 }; - K._$serializers_closure9.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_BuiltList_legacy_int); + A.inline_insertions_deletions_reducer_closure1.prototype = { + call$1(b) { + b.get$helices().replace$1(0, this.helices_new); + b.get$strands().replace$1(0, this.strands); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 308 + $signature: 24 }; - K._$serializers_closure10.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); + A._inline_deletions_insertions_on_helix_closure.prototype = { + call$2(a, b) { + A._asIntS(a); + A._asIntS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return A.iae(b); + return a + b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 309 + $signature: 63 }; - K._$serializers_closure11.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + A._inline_deletions_insertions_on_helix_closure0.prototype = { + call$1(b) { + var t1 = b.get$_helix$_$this()._max_offset; + t1.toString; + return b.get$_helix$_$this()._max_offset = t1 + this.delta_length; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 105 + $signature: 62 }; - K._$serializers_closure12.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + A._inline_deletions_insertions_on_helix_closure1.prototype = { + call$1(b) { + b.get$major_ticks().replace$1(0, this.major_ticks); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 105 + $signature: 7 }; - K._$serializers_closure13.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A._inline_deletions_insertions_on_helix_closure2.prototype = { + call$1(ss) { + return type$.Domain._as(ss).forward; }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 22 }; - K._$serializers_closure14.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 71 - }; - K._$serializers_closure15.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + A._inline_deletions_insertions_on_helix_closure3.prototype = { + call$1(ss) { + return !type$.Domain._as(ss).forward; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 71 + $signature: 22 }; - K._$serializers_closure16.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + A._inline_deletions_insertions_on_helix_closure4.prototype = { + call$2(ss1, ss2) { + var t1 = type$.Domain; + t1._as(ss1); + t1._as(ss2); + return ss1.start - ss2.start; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 71 + $signature: 73 }; - K._$serializers_closure17.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + A._inline_deletions_insertions_on_helix_closure5.prototype = { + call$1(b) { + b.get$_domain$_$this()._start = this.new_start; + b.get$_domain$_$this()._end = this.new_end; + b.get$insertions().replace$1(0, []); + b.get$deletions().replace$1(0, []); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 96 + $signature: 6 }; - K._$serializers_closure18.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + A.insertion_deletion_reducer_closure.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 115 + $signature: 1 }; - K._$serializers_closure19.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.insertion_add_reducer_closure.prototype = { + call$2(i1, i2) { + var t1 = type$.Insertion; + t1._as(i1); + t1._as(i2); + return i1.offset - i2.offset; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 130 }; - K._$serializers_closure20.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.insertion_add_reducer_closure0.prototype = { + call$1(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 6 }; - K._$serializers_closure21.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Extension); + A.insertion_remove_reducer_closure.prototype = { + call$1(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 317 + $signature: 6 }; - K._$serializers_closure22.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + A.deletion_add_reducer_closure.prototype = { + call$1(b) { + b.get$deletions().replace$1(0, this.deletions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 118 + $signature: 6 }; - K._$serializers_closure23.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + A.deletion_remove_reducer_closure.prototype = { + call$1(b) { + b.get$deletions().replace$1(0, this.deletions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 71 + $signature: 6 }; - K._$serializers_closure24.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Loopout); + A.insertion_length_change_reducer_closure.prototype = { + call$1(i) { + i.get$_domain$_$this()._domain$_length = this.action.length; + return i; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 319 + $signature: 52 }; - K._$serializers_closure25.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverData); + A.insertion_length_change_reducer_closure0.prototype = { + call$1(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 320 + $signature: 6 }; - K._$serializers_closure26.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + A.insertions_length_change_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.length; + b.get$_domain$_$this()._domain$_length = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 105 + $signature: 52 }; - K._$serializers_closure27.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverParams); + A.insertions_length_change_reducer_closure0.prototype = { + call$1(b) { + b.get$insertions().replace$1(0, this.existing_insertions); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 321 + $signature: 6 }; - K._$serializers_closure28.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Point_legacy_num); + A.insertions_length_change_reducer_closure1.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 322 + $signature: 1 }; - K._$serializers_closure29.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectModeChoice); + A.load_dna_file_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$undo_redo(), + t2 = A.UndoRedo_UndoRedo(); + A.ArgumentError_checkNotNull(t2, "other", type$.UndoRedo); + t1._undo_redo$_$v = t2; + m.get$_app_state$_$this()._maybe_design = null; + m.get$ui_state().get$_app_ui_state$_$this()._changed_since_last_save = false; + t2 = this._box_0.error_message; + m.get$_app_state$_$this()._error_message = t2; + return m; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 323 + $signature: 37 }; - K._$serializers_closure30.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + A.load_dna_file_reducer_closure0.prototype = { + call$1(s) { + var t1; + type$.SetBuilder_int._as(s); + t1 = s.$ti._eval$1("bool(1)")._as(new A.load_dna_file_reducer__closure0(this.design)); + s.get$_safeSet().removeWhere$1(0, t1); + return null; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 93 + $signature: 267 }; - K._$serializers_closure31.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + A.load_dna_file_reducer__closure0.prototype = { + call$1(idx) { + var t1; + A._asIntS(idx); + t1 = this.design.helices._map$_map._length; + if (typeof idx !== "number") + return idx.$ge(); + return idx >= t1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 93 + $signature: 21 }; - K._$serializers_closure32.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + A.load_dna_file_reducer_closure1.prototype = { + call$1(b) { + var t1 = this.design.groups; + t1 = t1.get$keys(t1); + t1 = A._asStringQ(t1.get$first(t1)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 93 + $signature: 50 }; - K._$serializers_closure33.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableTrait); + A.load_dna_file_reducer_closure2.prototype = { + call$1(m) { + var _this = this, + t1 = m.get$undo_redo(), + t2 = A.UndoRedo_UndoRedo(); + A.ArgumentError_checkNotNull(t2, "other", type$.UndoRedo); + t1._undo_redo$_$v = t2; + t2 = _this.design; + t1 = new A.DesignBuilder(); + A.Design__initializeBuilder(t1); + A.ArgumentError_checkNotNull(t2, "other", type$.Design); + t1._design0$_$v = t2; + m.get$_app_state$_$this()._maybe_design = t1; + t1 = m.get$ui_state(); + type$.nullable_void_Function_AppUIStateBuilder._as(new A.load_dna_file_reducer__closure(_this._box_0, _this.new_selectables_store, _this.new_filename)).call$1(t1); + m.get$_app_state$_$this()._error_message = ""; + return m; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 325 + $signature: 37 }; - K._$serializers_closure34.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification3Prime); + A.load_dna_file_reducer__closure.prototype = { + call$1(u) { + var t1 = u.get$storables(), + t2 = this._box_0, + t3 = t2.storables; + A.ArgumentError_checkNotNull(t3, "other", type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = t3; + t3 = u.get$selectables_store(); + t1 = this.new_selectables_store; + A.ArgumentError_checkNotNull(t1, "other", type$.SelectablesStore); + t3._selectable$_$v = t1; + u.get$_app_ui_state$_$this()._changed_since_last_save = false; + u.get$storables().get$_app_ui_state_storables$_$this()._loaded_filename = this.new_filename; + u.get$storables().get$side_selected_helix_idxs().replace$1(0, t2.side_selected_helix_idxs); + return u; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 326 + $signature: 268 }; - K._$serializers_closure35.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification5Prime); + A._update_mouseover_datas_with_helix_rotation_closure.prototype = { + call$1(h) { + h.get$_helix$_$this()._roll = this.new_roll; + return h; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 327 + $signature: 7 }; - K._$serializers_closure36.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModificationInternal); + A._update_mouseover_datas_with_helix_rotation_closure0.prototype = { + call$1(m) { + var t1 = m.get$helix(), + t2 = this.new_helix; + A.ArgumentError_checkNotNull(t2, "other", type$.Helix); + t1._helix$_$v = t2; + return m; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 328 + $signature: 269 }; - K._$serializers_closure37.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure.prototype = { + call$1(d) { + A._asIntS(d); + if (typeof d !== "number") + return d.$lt(); + return d < this.nick_offset; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 21 }; - K._$serializers_closure38.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure0.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset < this.nick_offset; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 31 }; - K._$serializers_closure39.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure1.prototype = { + call$1(d) { + A._asIntS(d); + if (typeof d !== "number") + return d.$ge(); + return d >= this.nick_offset; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 21 }; - K._$serializers_closure40.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure2.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset >= this.nick_offset; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 31 }; - K._$serializers_closure41.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure3.prototype = { + call$1(b) { + var t1; + b.get$_domain$_$this()._is_last = true; + t1 = J.get$isEmpty$asx(this.substrands_before._copy_on_write_list$_list); + b.get$_domain$_$this()._is_first = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 6 }; - K._$serializers_closure42.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + A.nick_reducer_closure4.prototype = { + call$1(b) { + var t1; + b.get$_domain$_$this()._is_first = true; + t1 = J.get$isEmpty$asx(this.substrands_after._copy_on_write_list$_list); + b.get$_domain$_$this()._is_last = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 96 + $signature: 6 }; - K._$serializers_closure43.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + A.nick_reducer_closure5.prototype = { + call$2(l1, l2) { + A._asIntS(l1); + A._asIntS(l2); + if (typeof l1 !== "number") + return l1.$add(); + if (typeof l2 !== "number") + return A.iae(l2); + return l1 + l2; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 115 + $signature: 63 }; - K._$serializers_closure44.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.nick_reducer_closure6.prototype = { + call$2(a, b) { + A._asIntS(a); + A._asIntS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return A.iae(b); + return a + b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 63 }; - K._$serializers_closure45.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.nick_reducer_closure7.prototype = { + call$2(idx, mod) { + var t1, _this = this; + A._asIntS(idx); + type$.ModificationInternal._as(mod); + t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); + if (typeof t1 !== "number") + return t1.$sub(); + if (_this.i >= t1 - 1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$lt(); + if (typeof t1 !== "number") + return A.iae(t1); + t1 = idx < t1; + } else + t1 = true; + if (t1) + _this.modifications_int_strand_5p.$indexSet(0, idx, mod); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 120 }; - K._$serializers_closure46.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.nick_reducer_closure8.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + b.get$_strand$_$this()._circular = false; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 1 }; - K._$serializers_closure47.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.nick_reducer_closure9.prototype = { + call$2(idx, mod) { + var t1, _this = this; + A._asIntS(idx); + type$.ModificationInternal._as(mod); + t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); + if (typeof t1 !== "number") + return A.iae(t1); + if (_this.i <= t1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$ge(); + if (typeof t1 !== "number") + return A.iae(t1); + t1 = idx >= t1; + } else + t1 = true; + if (t1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$sub(); + if (typeof t1 !== "number") + return A.iae(t1); + _this.modifications_int_strand_3p.$indexSet(0, idx - t1, mod); + } }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 120 }; - K._$serializers_closure48.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + A.ligate_reducer_closure.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this._box_0.substrands); + b.get$_strand$_$this()._circular = true; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 37 + $signature: 1 }; - K._$serializers_closure49.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.find_end_pairs_to_connect_in_group_closure.prototype = { + call$2(end1, end2) { + var t2, domain2, helix2, t3, + t1 = type$.DNAEnd; + t1._as(end1); + t1._as(end2); + t1 = this.domains_by_end; + t2 = t1.$index(0, end1); + t2.toString; + domain2 = t1.$index(0, end2); + helix2 = domain2.helix; + t1 = this.helices_view_order_inverse._map$_map; + t3 = t1.$index(0, t2.helix); + t3.toString; + t1 = t1.$index(0, helix2); + t1.toString; + if (t3 !== t1) + return t3 - t1; + t1 = t2.forward; + if (t1 !== domain2.forward) + return t1 ? -1 : 1; + t1 = end1.get$offset_inclusive(); + t2 = end2.get$offset_inclusive(); + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 - t2; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 271 }; - K._$serializers_closure50.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + A._join_strands_with_crossover_closure.prototype = { + call$1(b) { + b.get$_strand$_$this()._circular = true; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 90 + $signature: 1 }; - K._$serializers_closure51.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + A._join_strands_with_crossover_closure0.prototype = { + call$1(b) { + b.get$_domain$_$this()._is_last = false; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 90 + $signature: 6 }; - K._$serializers_closure52.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + A._join_strands_with_crossover_closure1.prototype = { + call$1(b) { + var t1; + b.get$_domain$_$this()._is_first = false; + t1 = this.strand_5p; + t1 = t1.get$id(t1); + b.get$_domain$_$this()._domain$_strand_id = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 90 + $signature: 6 }; - K._$serializers_closure53.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Substrand); + A.potential_crossover_move_reducer_closure.prototype = { + call$1(p) { + var t1 = type$.nullable_Point_double._as(this.action.point); + p.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); + return p; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 330 + $signature: 272 }; - K._$serializers_closure54.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_ModificationInternal); + A.select_all_selectables_reducer_closure.prototype = { + call$1(domain) { + return !type$.Domain._as(domain).is_first; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 331 + $signature: 22 }; - K._$serializers_closure55.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoableAction); + A.select_all_selectables_reducer_closure0.prototype = { + call$1(domain) { + type$.Domain._as(domain); + return domain.forward ? domain.get$dnaend_start() : domain.get$dnaend_end(); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 332 + $signature: 117 }; - K._$serializers_closure56.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.select_all_selectables_reducer_closure1.prototype = { + call$1(domain) { + return !type$.Domain._as(domain).is_last; }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 22 }; - K._$serializers_closure57.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.select_all_selectables_reducer_closure2.prototype = { + call$1(domain) { + type$.Domain._as(domain); + return domain.forward ? domain.get$dnaend_end() : domain.get$dnaend_start(); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 117 }; - K._$serializers_closure58.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.select_all_with_same_reducer_closure.prototype = { + call$1(b) { + b.get$selected_items().replace$1(0, this.selected_strands); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 49 }; - K._$serializers_closure59.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.helix_selections_adjust_reducer_closure.prototype = { + call$1(helix) { + var t1, position3d, t2, svg_pos, t3, t4, t5, width; + type$.Helix._as(helix); + t1 = this.state.ui_state.storables.invert_y; + position3d = helix.get$position3d(); + t2 = helix.geometry; + svg_pos = A.position3d_to_side_view_svg(position3d, t1, t2); + t1 = svg_pos.x; + t3 = t2.get$helix_radius_svg(); + if (typeof t1 !== "number") + return t1.$sub(); + t4 = svg_pos.y; + t5 = t2.get$helix_radius_svg(); + if (typeof t4 !== "number") + return t4.$sub(); + width = t2.get$helix_radius_svg() * 2; + return A.Box$(t1 - t3, t4 - t5, width, width); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 275 }; - K._$serializers_closure60.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.helix_selections_adjust_reducer_closure0.prototype = { + call$1(helix) { + return type$.Helix._as(helix).idx; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 88 }; - K._$serializers_closure61.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.helix_select_reducer_closure.prototype = { + call$1(h) { + var t1, t2; + type$.SetBuilder_int._as(h); + t1 = h.$ti._precomputed1; + t2 = t1._as(this.idx); + !$.$get$isSoundMode() && !t1._is(null); + return h.get$_safeSet().add$1(0, t2); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 116 }; - K._$serializers_closure62.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.helix_select_reducer_closure0.prototype = { + call$1(h) { + return type$.SetBuilder_int._as(h).get$_safeSet().remove$1(0, this.idx); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 116 }; - K._$serializers_closure63.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + A.helix_remove_selected_reducer_closure.prototype = { + call$1(b) { + var t1; + type$.SetBuilder_int._as(b); + t1 = this.action.helix_idx; + b.get$_safeSet().remove$1(0, t1); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 118 + $signature: 278 }; - K._$serializers_closure64.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.selection_box_size_changed_reducer_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_Point_double._as(this.action.point); + s.get$_selection_box$_$this().set$_selection_box$_current(t1); + return s; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 279 }; - K._$serializers_closure65.prototype = { - call$0: function() { - return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + A.selection_rope_mouse_move_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.is_main_view; + b.get$_selection_rope$_$this()._is_main = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 22 + $signature: 64 }; - K._$serializers_closure66.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + A.selection_rope_mouse_move_reducer_closure0.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.action.point); + b.get$_selection_rope$_$this().set$_current_point(t1); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 108 + $signature: 64 }; - K._$serializers_closure67.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + A.selection_rope_add_point_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.is_main_view; + b.get$_selection_rope$_$this()._is_main = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 108 + $signature: 64 }; - K._$serializers_closure68.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + A.selection_rope_add_point_reducer_closure0.prototype = { + call$1(b) { + b.get$points(b).replace$1(0, this.points); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 96 + $signature: 64 }; - K._$serializers_closure69.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Strand); + A.strand_create_adjust_offset_reducer_closure.prototype = { + call$1(b) { + b.get$_strand_creation$_$this()._current_offset = this.action.offset; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 334 + $signature: 114 }; - K._$serializers_closure70.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.strand_create_adjust_offset_reducer_closure0.prototype = { + call$1(b) { + b.get$_strand_creation$_$this()._current_offset = this.action.offset; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 114 }; - K._$serializers_closure71.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.parse_strands_and_helices_view_order_from_clipboard_closure.prototype = { + call$1(m) { + var t2, + t1 = this.mod5p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification5Prime); + t2._modification$_$v = t1; + t1 = t2; + } + m.get$_strand$_$this()._modification_5p = t1; + t1 = this.mod3p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification3Prime); + t2._modification$_$v = t1; + t1 = t2; + } + m.get$_strand$_$this()._modification_3p = t1; + m.get$modifications_int().replace$1(0, this.modifications_int); + return m; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 1 }; - K._$serializers_closure72.prototype = { - call$0: function() { - var t1 = type$.legacy_int; - return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + A.compute_default_next_address_closure.prototype = { + call$1(b) { + b.get$_address$_$this()._helix_idx = this.next_helix_idx; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 44 + $signature: 65 }; - K._$serializers_closure73.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + A.compute_default_next_address_closure0.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.next_address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 122 + $signature: 41 }; - K._$serializers_closure74.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + A.compute_default_next_address_closure1.prototype = { + call$1(b) { + var t1 = this._box_0.offset; + b.get$_address$_$this()._offset = t1; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 122 + $signature: 65 }; - K._$serializers_closure75.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int); + A.compute_default_next_address_closure2.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.next_address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 336 + $signature: 41 }; - K._$serializers_closure76.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + A.manual_paste_copy_info_reducer_closure.prototype = { + call$1(b) { + var t1 = this.translation, + t2 = new A.AddressDifferenceBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.AddressDifference); + t2._address$_$v = t1; + b.get$_copy_info$_$this()._translation = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 123 + $signature: 110 }; - K._$serializers_closure77.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + A.manual_paste_copy_info_reducer_closure0.prototype = { + call$1(b) { + var t1 = b.get$prev_paste_address(), + t2 = this.current_address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 123 + $signature: 110 }; - K._$serializers_closure78.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable); + A.strands_move_start_selected_strands_reducer_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Strand; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 338 + $signature: 11 }; - K._$serializers_closure79.prototype = { - call$0: function() { - return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_String); + A.strands_adjust_address_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 339 + $signature: 41 }; - K._$serializers_closure80.prototype = { - call$0: function() { - return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + A.strands_adjust_address_reducer_closure0.prototype = { + call$1(b) { + b.get$_strands_move$_$this()._strands_move$_allowable = this.allowable; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 108 + $signature: 41 }; - Z.Address.prototype = { - toString$0: function(_) { - var t1 = "H" + H.S(this.helix_idx) + "-"; - return t1 + (H.boolConversionCheck(this.forward) ? "F" : "R") + "-" + H.S(this.offset); - }, - sum$3: function(diff, helices_view_order, helices_view_order_inverse) { - var order_this, t1, order_sum, t2, t3, helix_idx_sum, max_helix_idx, forward_sum; - type$.legacy_BuiltList_legacy_int._as(helices_view_order); - order_this = J.$index$asx(type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(helices_view_order_inverse)._map$_map, this.helix_idx); - t1 = diff.helix_idx_delta; - if (typeof order_this !== "number") - return order_this.$add(); - order_sum = order_this + t1; - t1 = helices_view_order._list; - t2 = J.getInterceptor$asx(t1); - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return H.iae(t3); - if (order_sum < t3) - helix_idx_sum = t2.$index(t1, order_sum); - else { - max_helix_idx = N.MinMaxOfIterable_get_max(helices_view_order, type$.legacy_int); - if (typeof max_helix_idx !== "number") - return max_helix_idx.$add(); - t1 = t2.get$length(t1); - if (typeof t1 !== "number") - return H.iae(t1); - helix_idx_sum = max_helix_idx + order_sum - t1 + 1; - } - t1 = this.offset; - t2 = diff.offset_delta; - if (typeof t1 !== "number") - return t1.$add(); - forward_sum = this.forward; - if (diff.forward_delta) - forward_sum = !H.boolConversionCheck(forward_sum); - return Z._$Address$_(forward_sum, helix_idx_sum, t1 + t2); + A.is_allowable_closure.prototype = { + call$1(dom) { + return this.delta_forward !== (type$.Domain._as(dom).forward === this.forward); }, - difference$2: function(other, helices_view_order_inverse) { - var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(helices_view_order_inverse)._map$_map, - t2 = J.getInterceptor$asx(t1), - order_this = t2.$index(t1, this.helix_idx), - order_other = t2.$index(t1, other.helix_idx); - if (typeof order_this !== "number") - return order_this.$sub(); - if (typeof order_other !== "number") - return H.iae(order_other); - t1 = this.offset; - t2 = other.offset; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return Z._$AddressDifference$_(this.forward != other.forward, order_this - order_other, t1 - t2); - } + $signature: 22 }; - Z.AddressDifference.prototype = { - toString$0: function(_) { - var t1 = "diff-H" + this.helix_idx_delta + "-"; - return t1 + (this.forward_delta ? "F" : "R") + "-" + this.offset_delta; - } + A.is_allowable_closure0.prototype = { + call$1(dom) { + var t1; + type$.Domain._as(dom); + t1 = this.delta_offset; + return new A.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_int); + }, + $signature: 75 }; - Z._$AddressSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Address._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.is_allowable_closure1.prototype = { + call$1(dom) { + return type$.Domain._as(dom).forward === this.forward; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 22 + }; + A.is_allowable_closure2.prototype = { + call$1(dom) { + type$.Domain._as(dom); + return new A.Point(dom.start, dom.end - 1, type$.Point_int); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new Z.AddressBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_address$_$this()._helix_idx = t1; - break; - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_address$_$this()._offset = t1; - break; - case "forward": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_address$_$this()._address$_forward = t1; - break; - } - } - return result.build$0(); + $signature: 75 + }; + A.substrand_name_set_reducer_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_name = this.action.name; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 6 + }; + A.substrand_name_set_reducer_closure0.prototype = { + call$1(b) { + b.get$_loopout$_$this()._loopout$_name = this.action.name; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_liY; + $signature: 28 + }; + A.substrand_name_set_reducer_closure1.prototype = { + call$1(b) { + b.get$_extension$_$this()._extension$_name = this.action.name; + return b; }, - get$wireName: function() { - return "Address"; - } + $signature: 16 }; - Z._$AddressDifferenceSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_AddressDifference._as(object); - return H.setRuntimeTypeInfo(["helix_idx_delta", serializers.serialize$2$specifiedType(object.helix_idx_delta, C.FullType_kjq), "offset_delta", serializers.serialize$2$specifiedType(object.offset_delta, C.FullType_kjq), "forward_delta", serializers.serialize$2$specifiedType(object.forward_delta, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.substrand_name_set_reducer_closure2.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 1 + }; + A.substrand_label_set_reducer_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_label = this.action.label; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new Z.AddressDifferenceBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx_delta": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_address$_$this()._helix_idx_delta = t1; - break; - case "offset_delta": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_address$_$this()._offset_delta = t1; - break; - case "forward_delta": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_address$_$this()._forward_delta = t1; - break; - } - } - return result.build$0(); + $signature: 6 + }; + A.substrand_label_set_reducer_closure0.prototype = { + call$1(b) { + b.get$_loopout$_$this()._loopout$_label = this.action.label; + return b; + }, + $signature: 28 + }; + A.substrand_label_set_reducer_closure1.prototype = { + call$1(b) { + b.get$_extension$_$this()._extension$_label = this.action.label; + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 16 + }; + A.substrand_label_set_reducer_closure2.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_xTK; + $signature: 1 + }; + A.one_strand_strands_move_copy_commit_reducer_closure.prototype = { + call$1(b) { + var t1 = $.$get$color_cycler().next$0(0); + b.get$_strand$_$this()._strand$_color = t1; + return b; }, - get$wireName: function() { - return "AddressDifference"; - } + $signature: 1 + }; + A.move_strand_closure.prototype = { + call$1(b) { + var t2, t3, t4, t5, t6, _this = this, + t1 = _this.i; + b.get$_domain$_$this()._is_first = t1 === 0; + t2 = J.get$length$asx(_this._box_1.substrands); + if (typeof t2 !== "number") + return t2.$sub(); + b.get$_domain$_$this()._is_last = t1 === t2 - 1; + t2 = _this._box_0.new_helix_idx; + b.get$_domain$_$this()._domain$_helix = t2; + t2 = _this.substrand; + b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t2.forward; + t1 = _this.delta_offset; + if (typeof t1 !== "number") + return A.iae(t1); + b.get$_domain$_$this()._start = t2.start + t1; + b.get$_domain$_$this()._end = t2.end + t1; + t3 = b.get$deletions(); + t4 = t2.deletions; + t4.toString; + t5 = t4._list; + t6 = A._arrayInstanceType(t5); + t3.replace$1(0, new A.MappedListIterable(t5, t6._eval$1("@(1)")._as(t4.$ti._eval$1("@(1)")._as(new A.move_strand__closure(t1))), t6._eval$1("MappedListIterable<1,@>"))); + t6 = b.get$insertions(); + t2 = t2.insertions; + t2.toString; + t4 = t2._list; + t5 = A._arrayInstanceType(t4); + t6.replace$1(0, new A.MappedListIterable(t4, t5._eval$1("@(1)")._as(t2.$ti._eval$1("@(1)")._as(new A.move_strand__closure0(t1))), t5._eval$1("MappedListIterable<1,@>"))); + return b; + }, + $signature: 6 }; - Z._$Address.prototype = { - rebuild$1: function(updates) { + A.move_strand__closure.prototype = { + call$1(d) { var t1; - type$.legacy_void_Function_legacy_AddressBuilder._as(updates); - t1 = new Z.AddressBuilder(); - t1._address$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A._asIntS(d); + t1 = this.delta_offset; + if (typeof d !== "number") + return d.$add(); + if (typeof t1 !== "number") + return A.iae(t1); + return d + t1; }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof Z.Address && _this.helix_idx == other.helix_idx && _this.offset == other.offset && _this.forward == other.forward; + $signature: 71 + }; + A.move_strand__closure0.prototype = { + call$1(i) { + type$.Insertion._as(i); + return i.rebuild$1(new A.move_strand___closure(i, this.delta_offset)); }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.offset)), J.get$hashCode$(this.forward))); + $signature: 124 + }; + A.move_strand___closure.prototype = { + call$1(ib) { + var t1 = this.i.offset, + t2 = this.delta_offset; + if (typeof t2 !== "number") + return A.iae(t2); + ib.get$_domain$_$this()._domain$_offset = t1 + t2; + return ib; }, - get$offset: function(receiver) { - return this.offset; - } + $signature: 52 }; - Z.AddressBuilder.prototype = { - get$offset: function(_) { - return this.get$_address$_$this()._offset; + A.move_strand_closure0.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this._box_1.substrands); + return b; }, - get$_address$_$this: function() { - var _this = this, - $$v = _this._address$_$v; - if ($$v != null) { - _this._helix_idx = $$v.helix_idx; - _this._offset = $$v.offset; - _this._address$_forward = $$v.forward; - _this._address$_$v = null; - } - return _this; + $signature: 1 + }; + A.one_strand_domains_move_commit_reducer_closure.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - build$0: function() { - var t1, t2, t3, _this = this, - _s7_ = "Address", - _$result = _this._address$_$v; - if (_$result == null) { - t1 = _this.get$_address$_$this()._helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "helix_idx")); - t2 = _this.get$_address$_$this()._offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "offset")); - t3 = _this.get$_address$_$this()._address$_forward; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "forward")); - _$result = Z._$Address$_(t3, t1, t2); - } - return _this._address$_$v = _$result; - } + $signature: 1 }; - Z._$AddressDifference.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof Z.AddressDifference && _this.helix_idx_delta === other.helix_idx_delta && _this.offset_delta === other.offset_delta && _this.forward_delta === other.forward_delta; + A.strands_dna_ends_move_commit_reducer_closure.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset === this.offset; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx_delta)), C.JSInt_methods.get$hashCode(this.offset_delta)), C.JSBool_methods.get$hashCode(this.forward_delta))); - } + $signature: 31 }; - Z.AddressDifferenceBuilder.prototype = { - get$_address$_$this: function() { - var _this = this, - $$v = _this._address$_$v; - if ($$v != null) { - _this._helix_idx_delta = $$v.helix_idx_delta; - _this._offset_delta = $$v.offset_delta; - _this._forward_delta = $$v.forward_delta; - _this._address$_$v = null; - } - return _this; + A.strands_dna_extensions_move_commit_reducer_closure.prototype = { + call$1(b) { + var t1 = this.length_and_angle, + t2 = A._asDoubleQ(t1.item1); + b.get$_extension$_$this()._display_length = t2; + t1 = A._asDoubleQ(t1.item2); + b.get$_extension$_$this()._display_angle = t1; + return b; }, - build$0: function() { - var t1, t2, t3, _this = this, - _s17_ = "AddressDifference", - _$result = _this._address$_$v; - if (_$result == null) { - t1 = _this.get$_address$_$this()._helix_idx_delta; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "helix_idx_delta")); - t2 = _this.get$_address$_$this()._offset_delta; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "offset_delta")); - t3 = _this.get$_address$_$this()._forward_delta; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "forward_delta")); - _$result = Z._$AddressDifference$_(t3, t1, t2); - } - return _this._address$_$v = _$result; - } + $signature: 16 }; - Z._Address_Object_BuiltJsonSerializable.prototype = {}; - Z._AddressDifference_Object_BuiltJsonSerializable.prototype = {}; - T.AppState.prototype = { - get$helix_idx_to_svg_position_map: function() { - var t2, - t1 = this.ui_state.storables, - helix_idxs_to_calculate = t1.side_selected_helix_idxs; - if (!t1.only_display_selected_helices) - helix_idxs_to_calculate = null; - t2 = this.design; - return A.BuiltMap_BuiltMap$of(E.helices_assign_svg(t2.geometry, t1.invert_y, t2.helices, t2.groups, helix_idxs_to_calculate), type$.legacy_int, type$.legacy_Point_legacy_num); + A.strands_dna_extensions_move_commit_reducer_closure0.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - toJson$0: function() { - var _this = this, - map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic), - t1 = _this.design; - map.$indexSet(0, "design", t1 == null ? null : t1.to_json_serializable$1$suppress_indent(false)); - t1 = _this.ui_state; - t1.toString; - map.$indexSet(0, "ui_state", $.$get$standard_serializers().serialize$1(t1)); - map.$indexSet(0, "error_message", _this.error_message); - map.$indexSet(0, "editor_content", _this.editor_content); - return map; + $signature: 1 + }; + A.InsertionDeletionRecord.prototype = { + toString$0(_) { + return "InsertionDeletionRecord(offset=" + A.S(this.offset) + ", strand_idx=" + this.strand_idx + ", substrand_idx=" + this.substrand_idx + ")"; }, - get$has_error: function() { - return this.error_message.length > 0; + get$offset(receiver) { + return this.offset; } }; - T._$AppState.prototype = { - get$helix_idx_to_svg_position_map: function() { - var t1 = this.__helix_idx_to_svg_position_map; - if (t1 == null) { - t1 = T.AppState.prototype.get$helix_idx_to_svg_position_map.call(this); - this.set$__helix_idx_to_svg_position_map(t1); - } - return t1; + A.single_strand_dna_ends_commit_stop_reducer_closure.prototype = { + call$1(d) { + return !B.JSArray_methods.contains$1(this.remaining_deletions, A._asIntS(d)); }, - get$has_error: function() { - var t1 = this.__has_error; - return t1 == null ? this.__has_error = T.AppState.prototype.get$has_error.call(this) : t1; + $signature: 21 + }; + A.single_strand_dna_ends_commit_stop_reducer_closure0.prototype = { + call$1(i) { + return !B.JSArray_methods.contains$1(this.remaining_insertions, type$.Insertion._as(i)); }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_AppStateBuilder._as(updates); - t1 = new T.AppStateBuilder(); - T.AppState__initializeBuilder(t1); - t1._app_state$_$v = this; - updates.call$1(t1); - return t1.build$0(); + $signature: 31 + }; + A.single_strand_dna_ends_commit_stop_reducer_closure1.prototype = { + call$1(i) { + return type$.Insertion._as(i).offset; }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof T.AppState && J.$eq$(_this.design, other.design) && J.$eq$(_this.ui_state, other.ui_state) && J.$eq$(_this.undo_redo, other.undo_redo) && _this.error_message === other.error_message && _this.editor_content === other.editor_content; + $signature: 283 + }; + A.single_strand_dna_ends_commit_stop_reducer_closure2.prototype = { + call$1(b) { + var t1 = this.new_offset; + if (J.$eq$(this.dnaend, this.substrand.get$dnaend_start())) + b.get$_domain$_$this()._start = t1; + else { + if (typeof t1 !== "number") + return t1.$add(); + b.get$_domain$_$this()._end = t1 + 1; + } + return b; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._app_state$__hashCode; - return t1 == null ? _this._app_state$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.design)), J.get$hashCode$(_this.ui_state)), J.get$hashCode$(_this.undo_redo)), C.JSString_methods.get$hashCode(_this.error_message)), C.JSString_methods.get$hashCode(_this.editor_content))) : t1; + $signature: 6 + }; + A.single_strand_dna_ends_commit_stop_reducer_closure3.prototype = { + call$1(b) { + b.get$deletions().replace$1(0, this.remaining_deletions); + b.get$insertions().replace$1(0, this.remaining_insertions); + return b; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("AppState"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "design", _this.design); - t2.add$2(t1, "ui_state", _this.ui_state); - t2.add$2(t1, "undo_redo", _this.undo_redo); - t2.add$2(t1, "error_message", _this.error_message); - t2.add$2(t1, "editor_content", _this.editor_content); - return t2.toString$0(t1); + $signature: 6 + }; + A.single_strand_dna_ends_commit_stop_reducer_closure4.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; }, - set$__helix_idx_to_svg_position_map: function(__helix_idx_to_svg_position_map) { - this.__helix_idx_to_svg_position_map = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(__helix_idx_to_svg_position_map); - } + $signature: 1 }; - T.AppStateBuilder.prototype = { - get$design: function() { - var t1 = this.get$_app_state$_$this(), - t2 = t1._design; - if (t2 == null) { - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t1._design = t2; - t1 = t2; - } else - t1 = t2; + A.get_remaining_deletions_closure.prototype = { + call$1(d) { + var t1; + A._asIntS(d); + t1 = this.new_offset; + if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { + if (typeof t1 !== "number") + return t1.$lt(); + if (typeof d !== "number") + return A.iae(d); + t1 = t1 < d; + } else { + if (typeof t1 !== "number") + return t1.$gt(); + if (typeof d !== "number") + return A.iae(d); + t1 = t1 > d; + } return t1; }, - get$ui_state: function() { - var t1 = this.get$_app_state$_$this(), - t2 = t1._ui_state; - if (t2 == null) { - t2 = new Q.AppUIStateBuilder(); - Q.AppUIState__initializeBuilder(t2); - t1._ui_state = t2; + $signature: 21 + }; + A.get_remaining_insertions_closure.prototype = { + call$1(i) { + var t1, t2; + type$.Insertion._as(i); + t1 = this.new_offset; + if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { + t2 = i.offset; + if (typeof t1 !== "number") + return t1.$lt(); + t2 = t1 < t2; t1 = t2; - } else + } else { + t2 = i.offset; + if (typeof t1 !== "number") + return t1.$gt(); + t2 = t1 > t2; t1 = t2; + } return t1; }, - get$undo_redo: function() { - var t3, t4, t5, - t1 = this.get$_app_state$_$this(), - t2 = t1._undo_redo; - if (t2 == null) { - t2 = new T.UndoRedoBuilder(); - t3 = type$.legacy_UndoRedoItem; - t4 = type$.legacy_ListBuilder_legacy_UndoRedoItem; - t5 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); - t2.get$_undo_redo$_$this().set$_undo_stack(t5); - t3 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); - t2.get$_undo_redo$_$this().set$_redo_stack(t3); - t1._undo_redo = t2; - t1 = t2; - } else - t1 = t2; + $signature: 31 + }; + A.strand_create_closure.prototype = { + call$1(s) { + var t1, t2; + type$.ListBuilder_Strand._as(s); + t1 = s.$ti._precomputed1; + t2 = t1._as(this.strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.add$1(s.get$_safeList(), t2); + return s; + }, + $signature: 127 + }; + A.vendor_fields_remove_reducer_closure.prototype = { + call$1(m) { + return m.get$_strand$_$this()._vendor_fields = null; + }, + $signature: 72 + }; + A.plate_well_vendor_fields_remove_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$vendor_fields(); + t1.get$_vendor_fields$_$this()._plate = null; + t1.get$_vendor_fields$_$this()._well = null; return t1; }, - get$_app_state$_$this: function() { - var t1, t2, t3, t4, t5, _this = this, - $$v = _this._app_state$_$v; - if ($$v != null) { - t1 = $$v.design; - if (t1 == null) - t1 = null; - else { - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t2._design0$_$v = t1; - t1 = t2; - } - _this._design = t1; - t1 = $$v.ui_state; - t1.toString; - t2 = new Q.AppUIStateBuilder(); - Q.AppUIState__initializeBuilder(t2); - t2._app_ui_state$_$v = t1; - _this._ui_state = t2; - t1 = $$v.undo_redo; - t1.toString; - t2 = new T.UndoRedoBuilder(); - t3 = type$.legacy_UndoRedoItem; - t4 = type$.legacy_ListBuilder_legacy_UndoRedoItem; - t5 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); - t2.get$_undo_redo$_$this().set$_undo_stack(t5); - t3 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); - t2.get$_undo_redo$_$this().set$_redo_stack(t3); - t2._undo_redo$_$v = t1; - _this._undo_redo = t2; - _this._error_message = $$v.error_message; - _this._editor_content = $$v.editor_content; - _this._app_state$_$v = null; - } - return _this; + $signature: 284 + }; + A.plate_well_vendor_fields_assign_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$vendor_fields(), + t2 = this.action.vendor_fields; + A.ArgumentError_checkNotNull(t2, "other", type$.VendorFields); + t1._vendor_fields$_$v = t2; + return null; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s8_ = "AppState", - _$result = null; - try { - _$result0 = _this._app_state$_$v; - if (_$result0 == null) { - t1 = _this._design; - t1 = t1 == null ? null : t1.build$0(); - t2 = _this.get$ui_state().build$0(); - t3 = _this.get$undo_redo().build$0(); - t4 = _this.get$_app_state$_$this()._error_message; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "error_message")); - t5 = _this.get$_app_state$_$this()._editor_content; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "editor_content")); - _$result0 = new T._$AppState(t1, t2, t3, t4, t5); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "ui_state")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "undo_redo")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "design"; - t1 = _this._design; - if (t1 != null) - t1.build$0(); - _$failedField = "ui_state"; - _this.get$ui_state().build$0(); - _$failedField = "undo_redo"; - _this.get$undo_redo().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_AppState._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._app_state$_$v = t1; - return _$result; + $signature: 29 + }; + A.scale_purification_vendor_fields_assign_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$vendor_fields(), + t2 = this.action.vendor_fields; + A.ArgumentError_checkNotNull(t2, "other", type$.VendorFields); + t1._vendor_fields$_$v = t2; + return null; + }, + $signature: 29 + }; + A.strand_name_set_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.name; + b.get$_strand$_$this()._strand$_name = t1; + return b; + }, + $signature: 1 + }; + A.strand_label_set_reducer_closure.prototype = { + call$1(b) { + var t1 = this.action.label; + b.get$_strand$_$this()._label = t1; + return b; + }, + $signature: 1 + }; + A.extension_add_reducer_closure.prototype = { + call$1(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 1 + }; + A.modification_add_reducer_closure.prototype = { + call$1(m) { + var t3, + t1 = m.get$modifications_int(), + t2 = this.action.strand_dna_idx; + t2.toString; + t3 = this.mod; + t1.$indexSet(0, t2, t3); + return t3; + }, + $signature: 109 + }; + A.modification_add_reducer_closure0.prototype = { + call$1(m) { + var t1 = m.get$modification_3p(), + t2 = this.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification3Prime); + t1._modification$_$v = t2; + return null; + }, + $signature: 29 + }; + A.modification_add_reducer_closure1.prototype = { + call$1(m) { + var t1 = m.get$modification_5p(), + t2 = this.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification5Prime); + t1._modification$_$v = t2; + return null; + }, + $signature: 29 + }; + A.modification_remove_reducer_closure.prototype = { + call$1(m) { + return m.get$modifications_int().get$_safeMap().remove$1(0, this.action.strand_dna_idx); + }, + $signature: 287 + }; + A.modification_remove_reducer_closure0.prototype = { + call$1(m) { + return m.get$_strand$_$this()._modification_3p = null; + }, + $signature: 72 + }; + A.modification_remove_reducer_closure1.prototype = { + call$1(m) { + return m.get$_strand$_$this()._modification_5p = null; + }, + $signature: 72 + }; + A.modification_edit_reducer_closure.prototype = { + call$1(m) { + var t3, + t1 = m.get$modifications_int(), + t2 = this.action.strand_dna_idx; + t2.toString; + t3 = this.mod; + t1.$indexSet(0, t2, t3); + return t3; + }, + $signature: 109 + }; + A.modification_edit_reducer_closure0.prototype = { + call$1(m) { + var t1 = m.get$modification_3p(), + t2 = this.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification3Prime); + t1._modification$_$v = t2; + return null; + }, + $signature: 29 + }; + A.modification_edit_reducer_closure1.prototype = { + call$1(m) { + var t1 = m.get$modification_5p(), + t2 = this.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification5Prime); + t1._modification$_$v = t2; + return null; + }, + $signature: 29 + }; + A.scaffold_set_reducer_closure.prototype = { + call$1(b) { + b.get$_strand$_$this()._is_scaffold = this.action.is_scaffold; + b.get$_strand$_$this()._strand$_color = this.new_color; + return b; + }, + $signature: 1 + }; + A.strand_or_substrand_color_set_reducer_closure.prototype = { + call$1(b) { + b.get$_strand$_$this()._strand$_color = this.action.color; + return b; + }, + $signature: 1 + }; + A.strand_or_substrand_color_set_reducer_closure0.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_color = this.action.color; + return b; + }, + $signature: 6 + }; + A.strand_or_substrand_color_set_reducer_closure1.prototype = { + call$1(b) { + b.get$_loopout$_$this()._loopout$_color = this.action.color; + return b; + }, + $signature: 28 + }; + A.strand_or_substrand_color_set_reducer_closure2.prototype = { + call$1(b) { + b.get$_extension$_$this()._extension$_color = this.action.color; + return b; + }, + $signature: 16 + }; + A.strand_or_substrand_color_set_reducer_closure3.prototype = { + call$1(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 1 + }; + A.modifications_5p_edit_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$modification_5p(), + t2 = this.action.new_modification; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification5Prime); + t1._modification$_$v = t2; + return b; + }, + $signature: 1 + }; + A.modifications_3p_edit_reducer_closure.prototype = { + call$1(b) { + var t1 = b.get$modification_3p(), + t2 = this.action.new_modification; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification3Prime); + t1._modification$_$v = t2; + return b; + }, + $signature: 1 + }; + A.modifications_int_edit_reducer_closure.prototype = { + call$1(b) { + return b.get$modifications_int().replace$1(0, this.mods_int); + }, + $signature: 29 + }; + A.create_new_state_with_new_design_and_undo_redo_closure.prototype = { + call$1(m) { + var _this = this, _s5_ = "other", + t1 = m.get$ui_state(), + t2 = _this.old_state, + t3 = t2.ui_state.rebuild$1(new A.create_new_state_with_new_design_and_undo_redo__closure(_this.changed_since_last_save)); + A.ArgumentError_checkNotNull(t3, _s5_, type$.AppUIState); + t1._app_ui_state$_$v = t3; + t3 = m.get$maybe_design(); + t1 = _this.new_design; + A.ArgumentError_checkNotNull(t1, _s5_, type$.Design); + t3._design0$_$v = t1; + t1 = m.get$undo_redo(); + t2 = t2.undo_redo.rebuild$1(new A.create_new_state_with_new_design_and_undo_redo__closure0(_this.new_undo_stack, _this.new_redo_stack)); + A.ArgumentError_checkNotNull(t2, _s5_, type$.UndoRedo); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 37 + }; + A.create_new_state_with_new_design_and_undo_redo__closure.prototype = { + call$1(u) { + u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; + return u; + }, + $signature: 68 + }; + A.create_new_state_with_new_design_and_undo_redo__closure0.prototype = { + call$1(u) { + var t1 = type$.nullable_ListBuilder_UndoRedoItem, + t2 = t1._as(this.new_undo_stack); + u.get$_undo_redo$_$this().set$_undo_stack(t2); + t1 = t1._as(this.new_redo_stack); + u.get$_undo_redo$_$this().set$_redo_stack(t1); + return u; + }, + $signature: 95 + }; + A.redo_reducer_closure.prototype = { + call$1(m) { + var _this = this, _s5_ = "other", + t1 = m.get$ui_state(), + t2 = _this.state.ui_state.rebuild$1(new A.redo_reducer__closure(_this.changed_since_last_save)); + A.ArgumentError_checkNotNull(t2, _s5_, type$.AppUIState); + t1._app_ui_state$_$v = t2; + t2 = m.get$maybe_design(); + t1 = _this._box_0.new_design; + A.ArgumentError_checkNotNull(t1, _s5_, type$.Design); + t2._design0$_$v = t1; + t1 = m.get$undo_redo(); + t2 = _this.undo_redo.rebuild$1(new A.redo_reducer__closure0(_this.undo_stack, _this.redo_stack)); + A.ArgumentError_checkNotNull(t2, _s5_, type$.UndoRedo); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 37 + }; + A.redo_reducer__closure.prototype = { + call$1(u) { + u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; + return u; + }, + $signature: 68 + }; + A.redo_reducer__closure0.prototype = { + call$1(u) { + var t1 = type$.nullable_ListBuilder_UndoRedoItem, + t2 = t1._as(this.undo_stack); + u.get$_undo_redo$_$this().set$_undo_stack(t2); + t1 = t1._as(this.redo_stack); + u.get$_undo_redo$_$this().set$_redo_stack(t1); + return u; + }, + $signature: 95 + }; + A.undo_redo_clear_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$undo_redo(), + t2 = A.UndoRedo_UndoRedo(); + A.ArgumentError_checkNotNull(t2, "other", type$.UndoRedo); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 37 + }; + A.undoable_action_typed_reducer_closure.prototype = { + call$1(m) { + var t1 = m.get$undo_redo(), + t2 = this.state; + t2 = t2.undo_redo.rebuild$1(new A.undoable_action_typed_reducer__closure(this.action, t2)); + A.ArgumentError_checkNotNull(t2, "other", type$.UndoRedo); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 37 + }; + A.undoable_action_typed_reducer__closure.prototype = { + call$1(u) { + var t1 = u.get$undo_stack(), + t2 = t1.$ti._precomputed1, + t3 = t2._as(A.UndoRedoItem_UndoRedoItem(this.action.short_description$0(), this.state.get$design())); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t3 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.add$1(t1.get$_safeList(), t3); + B.JSArray_methods.clear$0(u.get$redo_stack().get$_safeList()); + return u; + }, + $signature: 95 + }; + A.TypedGlobalReducer.prototype = { + call$3(local_state, global_state, action) { + var t1 = this.$ti; + t1._precomputed1._as(local_state); + t1._rest[1]._as(global_state); + if (t1._rest[2]._is(action)) + return this.reducer.call$3(local_state, global_state, action); + return local_state; } }; - Q.AppUIState.prototype = {}; - Q._$AppUIStateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_AppUIState._as(object); - result = H.setRuntimeTypeInfo(["selectables_store", serializers.serialize$2$specifiedType(object.selectables_store, C.FullType_y5f), "potential_crossover_is_drawing", serializers.serialize$2$specifiedType(object.potential_crossover_is_drawing, C.FullType_MtR), "dna_ends_are_moving", serializers.serialize$2$specifiedType(object.dna_ends_are_moving, C.FullType_MtR), "helix_group_is_moving", serializers.serialize$2$specifiedType(object.helix_group_is_moving, C.FullType_MtR), "load_dialog", serializers.serialize$2$specifiedType(object.load_dialog, C.FullType_MtR), "slice_bar_is_moving", serializers.serialize$2$specifiedType(object.slice_bar_is_moving, C.FullType_MtR), "selection_box_displayed_main", serializers.serialize$2$specifiedType(object.selection_box_displayed_main, C.FullType_MtR), "selection_box_displayed_side", serializers.serialize$2$specifiedType(object.selection_box_displayed_side, C.FullType_MtR), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, C.FullType_eRS), "helix_change_apply_to_all", serializers.serialize$2$specifiedType(object.helix_change_apply_to_all, C.FullType_MtR), "mouseover_datas", serializers.serialize$2$specifiedType(object.mouseover_datas, C.FullType_yLX), "example_designs", serializers.serialize$2$specifiedType(object.example_designs, C.FullType_Auo), "changed_since_last_save", serializers.serialize$2$specifiedType(object.changed_since_last_save, C.FullType_MtR), "dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, C.FullType_2ru), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, C.FullType_2ru), "is_zoom_above_threshold", serializers.serialize$2$specifiedType(object.is_zoom_above_threshold, C.FullType_MtR), "storables", serializers.serialize$2$specifiedType(object.storables, C.FullType_wEo), "original_helix_offsets", serializers.serialize$2$specifiedType(object.original_helix_offsets, C.FullType_i3t)], type$.JSArray_legacy_Object); - value = object.strands_move; - if (value != null) { - C.JSArray_methods.add$1(result, "strands_move"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_VSS)); - } - value = object.domains_move; - if (value != null) { - C.JSArray_methods.add$1(result, "domains_move"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KIf)); - } - value = object.copy_info; - if (value != null) { - C.JSArray_methods.add$1(result, "copy_info"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_miO)); - } - value = object.selection_rope; - if (value != null) { - C.JSArray_methods.add$1(result, "selection_rope"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_H1G)); - } - value = object.last_mod_5p; - if (value != null) { - C.JSArray_methods.add$1(result, "last_mod_5p"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p)); - } - value = object.last_mod_3p; - if (value != null) { - C.JSArray_methods.add$1(result, "last_mod_3p"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p0)); - } - value = object.last_mod_int; - if (value != null) { - C.JSArray_methods.add$1(result, "last_mod_int"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_eR6)); - } - value = object.dialog; - if (value != null) { - C.JSArray_methods.add$1(result, "dialog"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Azp)); - } - value = object.color_picker_strand; - if (value != null) { - C.JSArray_methods.add$1(result, "color_picker_strand"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_w0x)); - } - value = object.color_picker_substrand; - if (value != null) { - C.JSArray_methods.add$1(result, "color_picker_substrand"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); - } - value = object.strand_creation; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_creation"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_O92)); - } - value = object.side_view_grid_position_mouse_cursor; - if (value != null) { - C.JSArray_methods.add$1(result, "side_view_grid_position_mouse_cursor"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); - } - value = object.side_view_position_mouse_cursor; - if (value != null) { - C.JSArray_methods.add$1(result, "side_view_position_mouse_cursor"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_8eb)); - } - value = object.context_menu; - if (value != null) { - C.JSArray_methods.add$1(result, "context_menu"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Z6u)); - } - value = object.dna_sequence_png_uri; - if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence_png_uri"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.export_svg_action_delayed_for_png_cache; - if (value != null) { - C.JSArray_methods.add$1(result, "export_svg_action_delayed_for_png_cache"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_AqW)); - } - return result; + A.combineGlobalReducers_closure.prototype = { + call$3(local_state, global_state, action) { + var t1, t2, _i; + this.LocalState._as(local_state); + this.GlobalState._as(global_state); + for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) + local_state = t1[_i].call$3(local_state, global_state, action); + return local_state; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature() { + return this.LocalState._eval$1("@<0>")._bind$1(this.GlobalState)._eval$1("1(1,2,@)"); + } + }; + A.standard_serializers_closure.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_String); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, key, value, t31, t32, t33, t34, t35, _null = null, _s5_ = "other"; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new Q.AppUIStateBuilder(); - Q.AppUIState__initializeBuilder(result); - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int, t2 = type$.legacy_AppUIStateStorables, t3 = type$.legacy_ExportSvg, t4 = type$.legacy_ContextMenu, t5 = type$.legacy_Point_legacy_num, t6 = type$.legacy_GridPosition, t7 = type$.legacy_StrandCreation, t8 = type$.legacy_Substrand, t9 = type$.legacy_Strand, t10 = type$.legacy_Dialog, t11 = type$.legacy_ExampleDesigns, t12 = type$.legacy_ListBuilder_legacy_String, t13 = type$.legacy_String, t14 = type$.List_legacy_String, t15 = type$.ListBuilder_legacy_String, t16 = type$.legacy_BuiltList_legacy_Object, t17 = type$.legacy_MouseoverData, t18 = type$.List_legacy_MouseoverData, t19 = type$.ListBuilder_legacy_MouseoverData, t20 = type$.legacy_ModificationInternal, t21 = type$.legacy_Modification3Prime, t22 = type$.legacy_Modification5Prime, t23 = type$.legacy_SelectionRope, t24 = type$.legacy_DNAAssignOptions, t25 = type$.legacy_CopyInfo, t26 = type$.legacy_DomainsMove, t27 = type$.legacy_StrandsMove, t28 = type$.legacy_SelectablesStore, t29 = type$.SetBuilder_legacy_Selectable, t30 = type$.legacy_SetBuilder_legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "selectables_store": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._selectables_store; - if (t32 == null) { - t32 = new E.SelectablesStoreBuilder(); - t33 = new X.SetBuilder(_null, $, _null, t29); - t33.replace$1(0, []); - t30._as(t33); - t32.set$_selected_items(t33); - t31._selectables_store = t32; - t31 = t32; - } else - t31 = t32; - t32 = t28._as(serializers.deserialize$2$specifiedType(value, C.FullType_y5f)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._selectable$_$v = t32; - break; - case "strands_move": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._strands_move; - t31 = t32 == null ? t31._strands_move = new U.StrandsMoveBuilder() : t32; - t32 = t27._as(serializers.deserialize$2$specifiedType(value, C.FullType_VSS)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._strands_move$_$v = t32; - break; - case "domains_move": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._domains_move; - t31 = t32 == null ? t31._domains_move = new V.DomainsMoveBuilder() : t32; - t32 = t26._as(serializers.deserialize$2$specifiedType(value, C.FullType_KIf)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._domains_move$_$v = t32; - break; - case "copy_info": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._copy_info; - t31 = t32 == null ? t31._copy_info = new B.CopyInfoBuilder() : t32; - t32 = t25._as(serializers.deserialize$2$specifiedType(value, C.FullType_miO)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._copy_info$_$v = t32; - break; - case "potential_crossover_is_drawing": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._potential_crossover_is_drawing = t31; - break; - case "dna_ends_are_moving": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._dna_ends_are_moving = t31; - break; - case "helix_group_is_moving": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._helix_group_is_moving = t31; - break; - case "load_dialog": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._load_dialog = t31; - break; - case "slice_bar_is_moving": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._slice_bar_is_moving = t31; - break; - case "selection_box_displayed_main": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._selection_box_displayed_main = t31; - break; - case "selection_box_displayed_side": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._selection_box_displayed_side = t31; - break; - case "dna_assign_options": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._dna_assign_options; - if (t32 == null) { - t32 = new X.DNAAssignOptionsBuilder(); - t32.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; - t32.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; - t32.get$_dna_assign_options$_$this()._assign_complements = true; - t32.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; - t32.get$_dna_assign_options$_$this()._m13_rotation = 5587; - t31._dna_assign_options = t32; - t31 = t32; - } else - t31 = t32; - t32 = t24._as(serializers.deserialize$2$specifiedType(value, C.FullType_eRS)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._dna_assign_options$_$v = t32; - break; - case "helix_change_apply_to_all": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._helix_change_apply_to_all = t31; - break; - case "selection_rope": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._selection_rope; - t31 = t32 == null ? t31._selection_rope = new F.SelectionRopeBuilder() : t32; - t32 = t23._as(serializers.deserialize$2$specifiedType(value, C.FullType_H1G)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._selection_rope$_$v = t32; - break; - case "last_mod_5p": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._last_mod_5p; - t31 = t32 == null ? t31._last_mod_5p = new Z.Modification5PrimeBuilder() : t32; - t32 = t22._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._modification$_$v = t32; - break; - case "last_mod_3p": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._last_mod_3p; - t31 = t32 == null ? t31._last_mod_3p = new Z.Modification3PrimeBuilder() : t32; - t32 = t21._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._modification$_$v = t32; - break; - case "last_mod_int": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._last_mod_int; - t31 = t32 == null ? t31._last_mod_int = new Z.ModificationInternalBuilder() : t32; - t32 = t20._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._modification$_$v = t32; - break; - case "mouseover_datas": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._mouseover_datas; - if (t32 == null) { - t32 = new D.ListBuilder(t19); - t32.set$__ListBuilder__list(t18._as(P.List_List$from(C.List_empty, true, t17))); - t32.set$_listOwner(_null); - t31.set$_mouseover_datas(t32); - t31 = t32; - } else - t31 = t32; - t32 = t16._as(serializers.deserialize$2$specifiedType(value, C.FullType_yLX)); - t33 = t31.$ti; - t34 = t33._eval$1("_BuiltList<1>"); - t35 = t33._eval$1("List<1>"); - if (t34._is(t32)) { - t34._as(t32); - t31.set$__ListBuilder__list(t35._as(t32._list)); - t31.set$_listOwner(t32); - } else { - t31.set$__ListBuilder__list(t35._as(P.List_List$from(t32, true, t33._precomputed1))); - t31.set$_listOwner(_null); - } - break; - case "example_designs": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._example_designs; - if (t32 == null) { - t32 = new K.ExampleDesignsBuilder(); - t32.get$_example_designs$_$this()._directory = "examples/output_designs"; - t33 = new D.ListBuilder(t15); - t33.set$__ListBuilder__list(t14._as(P.List_List$from(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], true, t13))); - t33.set$_listOwner(_null); - t12._as(t33); - t32.get$_example_designs$_$this().set$_filenames(t33); - t32.get$_example_designs$_$this()._selected_idx = -1; - t31._example_designs = t32; - t31 = t32; - } else - t31 = t32; - t32 = t11._as(serializers.deserialize$2$specifiedType(value, C.FullType_Auo)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._example_designs$_$v = t32; - break; - case "dialog": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._dialog; - t31 = t32 == null ? t31._dialog = new E.DialogBuilder() : t32; - t32 = t10._as(serializers.deserialize$2$specifiedType(value, C.FullType_Azp)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._dialog$_$v = t32; - break; - case "color_picker_strand": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._color_picker_strand; - t31 = t32 == null ? t31._color_picker_strand = new E.StrandBuilder() : t32; - t32 = t9._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._strand$_$v = t32; - break; - case "color_picker_substrand": - t31 = t8._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); - result.get$_app_ui_state$_$this()._color_picker_substrand = t31; - break; - case "strand_creation": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._strand_creation; - t31 = t32 == null ? t31._strand_creation = new U.StrandCreationBuilder() : t32; - t32 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_O92)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._strand_creation$_$v = t32; - break; - case "side_view_grid_position_mouse_cursor": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._side_view_grid_position_mouse_cursor; - t31 = t32 == null ? t31._side_view_grid_position_mouse_cursor = new D.GridPositionBuilder() : t32; - t32 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._grid_position$_$v = t32; - break; - case "side_view_position_mouse_cursor": - t31 = t5._as(t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t31); - break; - case "context_menu": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._context_menu; - t31 = t32 == null ? t31._context_menu = new B.ContextMenuBuilder() : t32; - t32 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_Z6u)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._context_menu$_$v = t32; - break; - case "changed_since_last_save": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._changed_since_last_save = t31; - break; - case "dna_sequence_png_uri": - t31 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_app_ui_state$_$this()._dna_sequence_png_uri = t31; - break; - case "dna_sequence_png_horizontal_offset": - t31 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t31; - break; - case "dna_sequence_png_vertical_offset": - t31 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t31; - break; - case "export_svg_action_delayed_for_png_cache": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._export_svg_action_delayed_for_png_cache; - t31 = t32 == null ? t31._export_svg_action_delayed_for_png_cache = new U.ExportSvgBuilder() : t32; - t32 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_AqW)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._$v = t32; - break; - case "is_zoom_above_threshold": - t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state$_$this()._is_zoom_above_threshold = t31; - break; - case "storables": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._storables; - if (t32 == null) { - t32 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t32); - t31._storables = t32; - t31 = t32; - } else - t31 = t32; - t32 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEo)); - if (t32 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t31._app_ui_state_storables$_$v = t32; - break; - case "original_helix_offsets": - t31 = result.get$_app_ui_state$_$this(); - t32 = t31._original_helix_offsets; - if (t32 == null) { - t32 = new A.MapBuilder(_null, $, _null, t1); - t32.replace$1(0, C.Map_empty); - t31.set$_original_helix_offsets(t32); - t31 = t32; - } else - t31 = t32; - t31.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); - break; - } - } - return result.build$0(); + $signature: 289 + }; + A.BuiltJsonSerializable.prototype = { + toJson$0() { + return $.$get$standard_serializers().serialize$1(this); + } + }; + A.PointSerializer.prototype = { + serialize$3$specifiedType(serializers, point, specifiedType) { + var t1; + this.$ti._eval$1("Point<1>")._as(point); + t1 = type$.String; + return A.LinkedHashMap_LinkedHashMap$_literal(["x", J.toString$0$(point.x), "y", J.toString$0$(point.y)], t1, t1); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + serialize$2(serializers, point) { + return this.serialize$3$specifiedType(serializers, point, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3; + type$.Map_dynamic_dynamic._as(serialized); + t1 = J.getInterceptor$asx(serialized); + t2 = this.$ti; + t3 = t2._precomputed1; + return new A.Point(t3._as(A.num_parse(A._asStringS(t1.$index(serialized, "x")))), t3._as(A.num_parse(A._asStringS(t1.$index(serialized, "y")))), t2._eval$1("Point<1>")); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_cMx; + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; }, - get$wireName: function() { - return "AppUIState"; + get$wireName() { + return "Point"; } }; - Q._$AppUIState.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_AppUIStateBuilder._as(updates); - t1 = new Q.AppUIStateBuilder(); - Q.AppUIState__initializeBuilder(t1); - t1._app_ui_state$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A.ColorSerializer.prototype = { + serialize$3$specifiedType(serializers, color, specifiedType) { + var t1 = type$.Color._as(color).toHexColor$0(); + return "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(); }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof Q.AppUIState && J.$eq$(_this.selectables_store, other.selectables_store) && J.$eq$(_this.strands_move, other.strands_move) && J.$eq$(_this.domains_move, other.domains_move) && J.$eq$(_this.copy_info, other.copy_info) && _this.potential_crossover_is_drawing === other.potential_crossover_is_drawing && _this.dna_ends_are_moving === other.dna_ends_are_moving && _this.helix_group_is_moving === other.helix_group_is_moving && _this.load_dialog === other.load_dialog && _this.slice_bar_is_moving === other.slice_bar_is_moving && _this.selection_box_displayed_main === other.selection_box_displayed_main && _this.selection_box_displayed_side === other.selection_box_displayed_side && _this.dna_assign_options.$eq(0, other.dna_assign_options) && _this.helix_change_apply_to_all === other.helix_change_apply_to_all && J.$eq$(_this.selection_rope, other.selection_rope) && J.$eq$(_this.last_mod_5p, other.last_mod_5p) && J.$eq$(_this.last_mod_3p, other.last_mod_3p) && J.$eq$(_this.last_mod_int, other.last_mod_int) && J.$eq$(_this.mouseover_datas, other.mouseover_datas) && J.$eq$(_this.example_designs, other.example_designs) && J.$eq$(_this.dialog, other.dialog) && J.$eq$(_this.color_picker_strand, other.color_picker_strand) && J.$eq$(_this.color_picker_substrand, other.color_picker_substrand) && J.$eq$(_this.strand_creation, other.strand_creation) && J.$eq$(_this.side_view_grid_position_mouse_cursor, other.side_view_grid_position_mouse_cursor) && J.$eq$(_this.side_view_position_mouse_cursor, other.side_view_position_mouse_cursor) && J.$eq$(_this.context_menu, other.context_menu) && _this.changed_since_last_save === other.changed_since_last_save && _this.dna_sequence_png_uri == other.dna_sequence_png_uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset && J.$eq$(_this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache) && _this.is_zoom_above_threshold === other.is_zoom_above_threshold && J.$eq$(_this.storables, other.storables) && J.$eq$(_this.original_helix_offsets, other.original_helix_offsets); + serialize$2(serializers, color) { + return this.serialize$3$specifiedType(serializers, color, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.__hashCode; - if (t1 == null) { - t1 = _this.dna_assign_options; - t1 = _this.__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.selectables_store)), J.get$hashCode$(_this.strands_move)), J.get$hashCode$(_this.domains_move)), J.get$hashCode$(_this.copy_info)), C.JSBool_methods.get$hashCode(_this.potential_crossover_is_drawing)), C.JSBool_methods.get$hashCode(_this.dna_ends_are_moving)), C.JSBool_methods.get$hashCode(_this.helix_group_is_moving)), C.JSBool_methods.get$hashCode(_this.load_dialog)), C.JSBool_methods.get$hashCode(_this.slice_bar_is_moving)), C.JSBool_methods.get$hashCode(_this.selection_box_displayed_main)), C.JSBool_methods.get$hashCode(_this.selection_box_displayed_side)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.helix_change_apply_to_all)), J.get$hashCode$(_this.selection_rope)), J.get$hashCode$(_this.last_mod_5p)), J.get$hashCode$(_this.last_mod_3p)), J.get$hashCode$(_this.last_mod_int)), J.get$hashCode$(_this.mouseover_datas)), J.get$hashCode$(_this.example_designs)), J.get$hashCode$(_this.dialog)), J.get$hashCode$(_this.color_picker_strand)), J.get$hashCode$(_this.color_picker_substrand)), J.get$hashCode$(_this.strand_creation)), J.get$hashCode$(_this.side_view_grid_position_mouse_cursor)), J.get$hashCode$(_this.side_view_position_mouse_cursor)), J.get$hashCode$(_this.context_menu)), C.JSBool_methods.get$hashCode(_this.changed_since_last_save)), J.get$hashCode$(_this.dna_sequence_png_uri)), C.JSNumber_methods.get$hashCode(_this.dna_sequence_png_horizontal_offset)), C.JSNumber_methods.get$hashCode(_this.dna_sequence_png_vertical_offset)), J.get$hashCode$(_this.export_svg_action_delayed_for_png_cache)), C.JSBool_methods.get$hashCode(_this.is_zoom_above_threshold)), J.get$hashCode$(_this.storables)), J.get$hashCode$(_this.original_helix_offsets))); - } - return t1; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A.HexColor_HexColor(A._asStringS(serialized)); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIState"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selectables_store", _this.selectables_store); - t2.add$2(t1, "strands_move", _this.strands_move); - t2.add$2(t1, "domains_move", _this.domains_move); - t2.add$2(t1, "copy_info", _this.copy_info); - t2.add$2(t1, "potential_crossover_is_drawing", _this.potential_crossover_is_drawing); - t2.add$2(t1, "dna_ends_are_moving", _this.dna_ends_are_moving); - t2.add$2(t1, "helix_group_is_moving", _this.helix_group_is_moving); - t2.add$2(t1, "load_dialog", _this.load_dialog); - t2.add$2(t1, "slice_bar_is_moving", _this.slice_bar_is_moving); - t2.add$2(t1, "selection_box_displayed_main", _this.selection_box_displayed_main); - t2.add$2(t1, "selection_box_displayed_side", _this.selection_box_displayed_side); - t2.add$2(t1, "dna_assign_options", _this.dna_assign_options); - t2.add$2(t1, "helix_change_apply_to_all", _this.helix_change_apply_to_all); - t2.add$2(t1, "selection_rope", _this.selection_rope); - t2.add$2(t1, "last_mod_5p", _this.last_mod_5p); - t2.add$2(t1, "last_mod_3p", _this.last_mod_3p); - t2.add$2(t1, "last_mod_int", _this.last_mod_int); - t2.add$2(t1, "mouseover_datas", _this.mouseover_datas); - t2.add$2(t1, "example_designs", _this.example_designs); - t2.add$2(t1, "dialog", _this.dialog); - t2.add$2(t1, "color_picker_strand", _this.color_picker_strand); - t2.add$2(t1, "color_picker_substrand", _this.color_picker_substrand); - t2.add$2(t1, "strand_creation", _this.strand_creation); - t2.add$2(t1, "side_view_grid_position_mouse_cursor", _this.side_view_grid_position_mouse_cursor); - t2.add$2(t1, "side_view_position_mouse_cursor", _this.side_view_position_mouse_cursor); - t2.add$2(t1, "context_menu", _this.context_menu); - t2.add$2(t1, "changed_since_last_save", _this.changed_since_last_save); - t2.add$2(t1, "dna_sequence_png_uri", _this.dna_sequence_png_uri); - t2.add$2(t1, "dna_sequence_png_horizontal_offset", _this.dna_sequence_png_horizontal_offset); - t2.add$2(t1, "dna_sequence_png_vertical_offset", _this.dna_sequence_png_vertical_offset); - t2.add$2(t1, "export_svg_action_delayed_for_png_cache", _this.export_svg_action_delayed_for_png_cache); - t2.add$2(t1, "is_zoom_above_threshold", _this.is_zoom_above_threshold); - t2.add$2(t1, "storables", _this.storables); - t2.add$2(t1, "original_helix_offsets", _this.original_helix_offsets); - return t2.toString$0(t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types(receiver) { + return this.types; + }, + get$wireName() { + return "Color"; } }; - Q.AppUIStateBuilder.prototype = { - get$selectables_store: function() { - var t3, - t1 = this.get$_app_ui_state$_$this(), - t2 = t1._selectables_store; - if (t2 == null) { - t2 = new E.SelectablesStoreBuilder(); - t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t2.get$_selectable$_$this().set$_selected_items(t3); - t1._selectables_store = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A._$serializers_closure.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.ContextMenuItem); }, - get$dna_assign_options: function() { - var t1 = this.get$_app_ui_state$_$this(), - t2 = t1._dna_assign_options; - if (t2 == null) { - t2 = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(t2); - t1._dna_assign_options = t2; - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 106 + }; + A._$serializers_closure0.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.ContextMenuItem); }, - get$mouseover_datas: function() { - var t1 = this.get$_app_ui_state$_$this(), - t2 = t1._mouseover_datas; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverData); - t1.set$_mouseover_datas(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 106 + }; + A._$serializers_closure1.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Crossover); }, - get$example_designs: function() { - var t1 = this.get$_app_ui_state$_$this(), - t2 = t1._example_designs; - if (t2 == null) { - t2 = new K.ExampleDesignsBuilder(); - K.ExampleDesigns__initializeBuilder(t2); - t1._example_designs = t2; - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 291 + }; + A._$serializers_closure2.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); }, - get$storables: function() { - var t1 = this.get$_app_ui_state$_$this(), - t2 = t1._storables; - if (t2 == null) { - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - t1._storables = t2; - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 105 + }; + A._$serializers_closure3.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); }, - get$original_helix_offsets: function() { - var t1 = this.get$_app_ui_state$_$this(), - t2 = t1._original_helix_offsets; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); - t1.set$_original_helix_offsets(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 105 + }; + A._$serializers_closure4.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); }, - get$_app_ui_state$_$this: function() { - var t1, t2, t3, _this = this, _null = null, - $$v = _this._app_ui_state$_$v; - if ($$v != null) { - t1 = $$v.selectables_store; - t1.toString; - t2 = new E.SelectablesStoreBuilder(); - t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t2.get$_selectable$_$this().set$_selected_items(t3); - t2._selectable$_$v = t1; - _this._selectables_store = t2; - t1 = $$v.strands_move; - if (t1 == null) - t1 = _null; - else { - t2 = new U.StrandsMoveBuilder(); - t2._strands_move$_$v = t1; - t1 = t2; - } - _this._strands_move = t1; - t1 = $$v.domains_move; - if (t1 == null) - t1 = _null; - else { - t2 = new V.DomainsMoveBuilder(); - t2._domains_move$_$v = t1; - t1 = t2; - } - _this._domains_move = t1; - t1 = $$v.copy_info; - if (t1 == null) - t1 = _null; - else { - t2 = new B.CopyInfoBuilder(); - t2._copy_info$_$v = t1; - t1 = t2; - } - _this._copy_info = t1; - _this._potential_crossover_is_drawing = $$v.potential_crossover_is_drawing; - _this._dna_ends_are_moving = $$v.dna_ends_are_moving; - _this._helix_group_is_moving = $$v.helix_group_is_moving; - _this._load_dialog = $$v.load_dialog; - _this._slice_bar_is_moving = $$v.slice_bar_is_moving; - _this._selection_box_displayed_main = $$v.selection_box_displayed_main; - _this._selection_box_displayed_side = $$v.selection_box_displayed_side; - t1 = $$v.dna_assign_options; - t2 = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(t2); - t2._dna_assign_options$_$v = t1; - _this._dna_assign_options = t2; - _this._helix_change_apply_to_all = $$v.helix_change_apply_to_all; - t1 = $$v.selection_rope; - if (t1 == null) - t1 = _null; - else { - t2 = new F.SelectionRopeBuilder(); - t2._selection_rope$_$v = t1; - t1 = t2; - } - _this._selection_rope = t1; - t1 = $$v.last_mod_5p; - if (t1 == null) - t1 = _null; - else { - t2 = new Z.Modification5PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; - } - _this._last_mod_5p = t1; - t1 = $$v.last_mod_3p; - if (t1 == null) - t1 = _null; - else { - t2 = new Z.Modification3PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; - } - _this._last_mod_3p = t1; - t1 = $$v.last_mod_int; - if (t1 == null) - t1 = _null; - else { - t2 = new Z.ModificationInternalBuilder(); - t2._modification$_$v = t1; - t1 = t2; - } - _this._last_mod_int = t1; - t1 = $$v.mouseover_datas; - t1.toString; - _this.set$_mouseover_datas(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.example_designs; - t1.toString; - t2 = new K.ExampleDesignsBuilder(); - K.ExampleDesigns__initializeBuilder(t2); - t2._example_designs$_$v = t1; - _this._example_designs = t2; - t1 = $$v.dialog; - if (t1 == null) - t1 = _null; - else { - t2 = new E.DialogBuilder(); - t2._dialog$_$v = t1; - t1 = t2; - } - _this._dialog = t1; - t1 = $$v.color_picker_strand; - if (t1 == null) - t1 = _null; - else { - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - t1 = t2; - } - _this._color_picker_strand = t1; - _this._color_picker_substrand = $$v.color_picker_substrand; - t1 = $$v.strand_creation; - if (t1 == null) - t1 = _null; - else { - t2 = new U.StrandCreationBuilder(); - t2._strand_creation$_$v = t1; - t1 = t2; - } - _this._strand_creation = t1; - t1 = $$v.side_view_grid_position_mouse_cursor; - if (t1 == null) - t1 = _null; - else { - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - t1 = t2; - } - _this._side_view_grid_position_mouse_cursor = t1; - _this.set$_side_view_position_mouse_cursor($$v.side_view_position_mouse_cursor); - t1 = $$v.context_menu; - if (t1 == null) - t1 = _null; - else { - t2 = new B.ContextMenuBuilder(); - t2._context_menu$_$v = t1; - t1 = t2; - } - _this._context_menu = t1; - _this._changed_since_last_save = $$v.changed_since_last_save; - _this._dna_sequence_png_uri = $$v.dna_sequence_png_uri; - _this._dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; - _this._dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; - t1 = $$v.export_svg_action_delayed_for_png_cache; - if (t1 == null) - t1 = _null; - else { - t2 = new U.ExportSvgBuilder(); - t2._$v = t1; - t1 = t2; - } - _this._export_svg_action_delayed_for_png_cache = t1; - _this._is_zoom_above_threshold = $$v.is_zoom_above_threshold; - t1 = $$v.storables; - t1.toString; - t2 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t2); - t2._app_ui_state_storables$_$v = t1; - _this._storables = t2; - t1 = $$v.original_helix_offsets; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_original_helix_offsets(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._app_ui_state$_$v = null; - } - return _this; + $signature: 125 + }; + A._$serializers_closure5.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, exception, _this = this, _null = null, - _s10_ = "AppUIState", - _s17_ = "selectables_store", - _s22_ = "original_helix_offsets", - _$result = null; - try { - _$result0 = _this._app_ui_state$_$v; - if (_$result0 == null) { - t1 = _this.get$selectables_store().build$0(); - t2 = _this._strands_move; - t2 = t2 == null ? _null : t2.build$0(); - t3 = _this._domains_move; - t3 = t3 == null ? _null : t3.build$0(); - t4 = _this._copy_info; - t4 = t4 == null ? _null : t4.build$0(); - t5 = _this.get$_app_ui_state$_$this()._potential_crossover_is_drawing; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "potential_crossover_is_drawing")); - t6 = _this.get$_app_ui_state$_$this()._dna_ends_are_moving; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_ends_are_moving")); - t7 = _this.get$_app_ui_state$_$this()._helix_group_is_moving; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "helix_group_is_moving")); - t8 = _this.get$_app_ui_state$_$this()._load_dialog; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "load_dialog")); - t9 = _this.get$_app_ui_state$_$this()._slice_bar_is_moving; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "slice_bar_is_moving")); - t10 = _this.get$_app_ui_state$_$this()._selection_box_displayed_main; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "selection_box_displayed_main")); - t11 = _this.get$_app_ui_state$_$this()._selection_box_displayed_side; - if (t11 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "selection_box_displayed_side")); - t12 = _this.get$dna_assign_options().build$0(); - t13 = _this.get$_app_ui_state$_$this()._helix_change_apply_to_all; - if (t13 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "helix_change_apply_to_all")); - t14 = _this._selection_rope; - t14 = t14 == null ? _null : t14.build$0(); - t15 = _this._last_mod_5p; - t15 = t15 == null ? _null : t15.build$0(); - t16 = _this._last_mod_3p; - t16 = t16 == null ? _null : t16.build$0(); - t17 = _this._last_mod_int; - t17 = t17 == null ? _null : t17.build$0(); - t18 = _this.get$mouseover_datas().build$0(); - t19 = _this.get$example_designs().build$0(); - t20 = _this._dialog; - t20 = t20 == null ? _null : t20.build$0(); - t21 = _this._color_picker_strand; - t21 = t21 == null ? _null : t21.build$0(); - t22 = _this.get$_app_ui_state$_$this()._color_picker_substrand; - t23 = _this._strand_creation; - t23 = t23 == null ? _null : t23.build$0(); - t24 = _this._side_view_grid_position_mouse_cursor; - t24 = t24 == null ? _null : t24.build$0(); - t25 = _this.get$_app_ui_state$_$this()._side_view_position_mouse_cursor; - t26 = _this._context_menu; - t26 = t26 == null ? _null : t26.build$0(); - t27 = _this.get$_app_ui_state$_$this()._changed_since_last_save; - if (t27 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "changed_since_last_save")); - t28 = _this.get$_app_ui_state$_$this()._dna_sequence_png_uri; - t29 = _this.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset; - if (t29 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_sequence_png_horizontal_offset")); - t30 = _this.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset; - if (t30 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_sequence_png_vertical_offset")); - t31 = _this._export_svg_action_delayed_for_png_cache; - t31 = t31 == null ? _null : t31.build$0(); - t32 = _this.get$_app_ui_state$_$this()._is_zoom_above_threshold; - if (t32 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "is_zoom_above_threshold")); - t33 = _this.get$storables().build$0(); - t34 = _this.get$original_helix_offsets().build$0(); - _$result0 = new Q._$AppUIState(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s17_)); - if (t18 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "mouseover_datas")); - if (t19 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "example_designs")); - if (t33 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "storables")); - if (t34 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s22_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = _s17_; - _this.get$selectables_store().build$0(); - _$failedField = "strands_move"; - t1 = _this._strands_move; - if (t1 != null) - t1.build$0(); - _$failedField = "domains_move"; - t1 = _this._domains_move; - if (t1 != null) - t1.build$0(); - _$failedField = "copy_info"; - t1 = _this._copy_info; - if (t1 != null) - t1.build$0(); - _$failedField = "dna_assign_options"; - _this.get$dna_assign_options().build$0(); - _$failedField = "selection_rope"; - t1 = _this._selection_rope; - if (t1 != null) - t1.build$0(); - _$failedField = "last_mod_5p"; - t1 = _this._last_mod_5p; - if (t1 != null) - t1.build$0(); - _$failedField = "last_mod_3p"; - t1 = _this._last_mod_3p; - if (t1 != null) - t1.build$0(); - _$failedField = "last_mod_int"; - t1 = _this._last_mod_int; - if (t1 != null) - t1.build$0(); - _$failedField = "mouseover_datas"; - _this.get$mouseover_datas().build$0(); - _$failedField = "example_designs"; - _this.get$example_designs().build$0(); - _$failedField = "dialog"; - t1 = _this._dialog; - if (t1 != null) - t1.build$0(); - _$failedField = "color_picker_strand"; - t1 = _this._color_picker_strand; - if (t1 != null) - t1.build$0(); - _$failedField = "strand_creation"; - t1 = _this._strand_creation; - if (t1 != null) - t1.build$0(); - _$failedField = "side_view_grid_position_mouse_cursor"; - t1 = _this._side_view_grid_position_mouse_cursor; - if (t1 != null) - t1.build$0(); - _$failedField = "context_menu"; - t1 = _this._context_menu; - if (t1 != null) - t1.build$0(); - _$failedField = "export_svg_action_delayed_for_png_cache"; - t1 = _this._export_svg_action_delayed_for_png_cache; - if (t1 != null) - t1.build$0(); - _$failedField = "storables"; - _this.get$storables().build$0(); - _$failedField = _s22_; - _this.get$original_helix_offsets().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_AppUIState._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._app_ui_state$_$v = t1; - return _$result; + $signature: 147 + }; + A._$serializers_closure6.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); }, - set$_mouseover_datas: function(_mouseover_datas) { - this._mouseover_datas = type$.legacy_ListBuilder_legacy_MouseoverData._as(_mouseover_datas); + $signature: 147 + }; + A._$serializers_closure7.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); }, - set$_side_view_position_mouse_cursor: function(_side_view_position_mouse_cursor) { - this._side_view_position_mouse_cursor = type$.legacy_Point_legacy_num._as(_side_view_position_mouse_cursor); + $signature: 125 + }; + A._$serializers_closure8.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.DialogItem); }, - set$_original_helix_offsets: function(_original_helix_offsets) { - this._original_helix_offsets = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_original_helix_offsets); - } + $signature: 295 }; - Q._AppUIState_Object_BuiltJsonSerializable.prototype = {}; - B.AppUIStateStorables.prototype = {}; - B._$AppUIStateStorablesSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_AppUIStateStorables._as(object); - result = H.setRuntimeTypeInfo(["select_mode_state", serializers.serialize$2$specifiedType(object.select_mode_state, C.FullType_6ha), "edit_modes", serializers.serialize$2$specifiedType(object.edit_modes, C.FullType_kiE), "side_selected_helix_idxs", serializers.serialize$2$specifiedType(object.side_selected_helix_idxs, C.FullType_MQk), "autofit", serializers.serialize$2$specifiedType(object.autofit, C.FullType_MtR), "show_dna", serializers.serialize$2$specifiedType(object.show_dna, C.FullType_MtR), "show_strand_names", serializers.serialize$2$specifiedType(object.show_strand_names, C.FullType_MtR), "show_strand_labels", serializers.serialize$2$specifiedType(object.show_strand_labels, C.FullType_MtR), "show_domain_names", serializers.serialize$2$specifiedType(object.show_domain_names, C.FullType_MtR), "show_domain_labels", serializers.serialize$2$specifiedType(object.show_domain_labels, C.FullType_MtR), "base_pair_display_type", serializers.serialize$2$specifiedType(object.base_pair_display_type, C.FullType_K2v), "show_base_pair_lines", serializers.serialize$2$specifiedType(object.show_base_pair_lines, C.FullType_MtR), "show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(object.show_base_pair_lines_with_mismatches, C.FullType_MtR), "strand_name_font_size", serializers.serialize$2$specifiedType(object.strand_name_font_size, C.FullType_2ru), "strand_label_font_size", serializers.serialize$2$specifiedType(object.strand_label_font_size, C.FullType_2ru), "domain_name_font_size", serializers.serialize$2$specifiedType(object.domain_name_font_size, C.FullType_2ru), "domain_label_font_size", serializers.serialize$2$specifiedType(object.domain_label_font_size, C.FullType_2ru), "show_modifications", serializers.serialize$2$specifiedType(object.show_modifications, C.FullType_MtR), "show_mismatches", serializers.serialize$2$specifiedType(object.show_mismatches, C.FullType_MtR), "show_domain_name_mismatches", serializers.serialize$2$specifiedType(object.show_domain_name_mismatches, C.FullType_MtR), "show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(object.show_unpaired_insertion_deletions, C.FullType_MtR), "show_oxview", serializers.serialize$2$specifiedType(object.show_oxview, C.FullType_MtR), "show_slice_bar", serializers.serialize$2$specifiedType(object.show_slice_bar, C.FullType_MtR), "show_mouseover_data", serializers.serialize$2$specifiedType(object.show_mouseover_data, C.FullType_MtR), "only_display_selected_helices", serializers.serialize$2$specifiedType(object.only_display_selected_helices, C.FullType_MtR), "modification_font_size", serializers.serialize$2$specifiedType(object.modification_font_size, C.FullType_2ru), "major_tick_offset_font_size", serializers.serialize$2$specifiedType(object.major_tick_offset_font_size, C.FullType_2ru), "major_tick_width_font_size", serializers.serialize$2$specifiedType(object.major_tick_width_font_size, C.FullType_2ru), "zoom_speed", serializers.serialize$2$specifiedType(object.zoom_speed, C.FullType_2ru), "modification_display_connector", serializers.serialize$2$specifiedType(object.modification_display_connector, C.FullType_MtR), "strand_paste_keep_color", serializers.serialize$2$specifiedType(object.strand_paste_keep_color, C.FullType_MtR), "display_base_offsets_of_major_ticks", serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks, C.FullType_MtR), string$.displa, serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks_only_first_helix, C.FullType_MtR), "display_major_tick_widths", serializers.serialize$2$specifiedType(object.display_major_tick_widths, C.FullType_MtR), "display_major_tick_widths_all_helices", serializers.serialize$2$specifiedType(object.display_major_tick_widths_all_helices, C.FullType_MtR), "loaded_filename", serializers.serialize$2$specifiedType(object.loaded_filename, C.FullType_h8g), "loaded_script_filename", serializers.serialize$2$specifiedType(object.loaded_script_filename, C.FullType_h8g), "invert_y", serializers.serialize$2$specifiedType(object.invert_y, C.FullType_MtR), "dynamically_update_helices", serializers.serialize$2$specifiedType(object.dynamically_update_helices, C.FullType_MtR), "warn_on_exit_if_unsaved", serializers.serialize$2$specifiedType(object.warn_on_exit_if_unsaved, C.FullType_MtR), "show_helix_circles_main_view", serializers.serialize$2$specifiedType(object.show_helix_circles_main_view, C.FullType_MtR), "show_helix_components_main_view", serializers.serialize$2$specifiedType(object.show_helix_components_main_view, C.FullType_MtR), "show_edit_mode_menu", serializers.serialize$2$specifiedType(object.show_edit_mode_menu, C.FullType_MtR), "show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(object.show_grid_coordinates_side_view, C.FullType_MtR), "show_helices_axis_arrows", serializers.serialize$2$specifiedType(object.show_helices_axis_arrows, C.FullType_MtR), "show_loopout_extension_length", serializers.serialize$2$specifiedType(object.show_loopout_extension_length, C.FullType_MtR), string$.defaulc, serializers.serialize$2$specifiedType(object.default_crossover_type_scaffold_for_setting_helix_rolls, C.FullType_MtR), string$.default, serializers.serialize$2$specifiedType(object.default_crossover_type_staple_for_setting_helix_rolls, C.FullType_MtR), "local_storage_design_choice", serializers.serialize$2$specifiedType(object.local_storage_design_choice, C.FullType_UeR), string$.clear_, serializers.serialize$2$specifiedType(object.clear_helix_selection_when_loading_new_design, C.FullType_MtR), "displayed_group_name", serializers.serialize$2$specifiedType(object.displayed_group_name, C.FullType_h8g), "disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(object.disable_png_caching_dna_sequences, C.FullType_MtR), "retain_strand_color_on_selection", serializers.serialize$2$specifiedType(object.retain_strand_color_on_selection, C.FullType_MtR), "display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(object.display_reverse_DNA_right_side_up, C.FullType_MtR), "selection_box_intersection", serializers.serialize$2$specifiedType(object.selection_box_intersection, C.FullType_MtR), "export_svg_text_separately", serializers.serialize$2$specifiedType(object.export_svg_text_separately, C.FullType_MtR), "ox_export_only_selected_strands", serializers.serialize$2$specifiedType(object.ox_export_only_selected_strands, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.slice_bar_offset; - if (value != null) { - C.JSArray_methods.add$1(result, "slice_bar_offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; + A._$serializers_closure9.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.BuiltList_int); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 296 + }; + A._$serializers_closure10.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltMap_of_int_and_BuiltList_String); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, _null = null; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(result); - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_LocalStorageDesignChoice, t2 = type$.legacy_BasePairDisplayType, t3 = type$.legacy_BuiltSet_legacy_Object, t4 = type$.SetBuilder_legacy_int, t5 = type$.SetBuilder_legacy_EditModeChoice, t6 = type$.legacy_SelectModeState, t7 = type$.SetBuilder_legacy_SelectModeChoice, t8 = type$.legacy_SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "select_mode_state": - t9 = result.get$_app_ui_state_storables$_$this(); - t10 = t9._select_mode_state; - if (t10 == null) { - t10 = new N.SelectModeStateBuilder(); - t11 = new X.SetBuilder(_null, $, _null, t7); - t11.replace$1(0, [C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold]); - t8._as(t11); - t10.set$_modes(t11); - t9._select_mode_state = t10; - t9 = t10; - } else - t9 = t10; - t10 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_6ha)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t9._select_mode_state$_$v = t10; - break; - case "edit_modes": - t9 = result.get$_app_ui_state_storables$_$this(); - t10 = t9._edit_modes; - if (t10 == null) { - t10 = new X.SetBuilder(_null, $, _null, t5); - t10.replace$1(0, C.List_empty); - t9.set$_edit_modes(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_kiE))); - break; - case "side_selected_helix_idxs": - t9 = result.get$_app_ui_state_storables$_$this(); - t10 = t9._side_selected_helix_idxs; - if (t10 == null) { - t10 = new X.SetBuilder(_null, $, _null, t4); - t10.replace$1(0, C.List_empty); - t9.set$_side_selected_helix_idxs(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_MQk))); - break; - case "autofit": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._autofit = t9; - break; - case "show_dna": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_dna = t9; - break; - case "show_strand_names": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_strand_names = t9; - break; - case "show_strand_labels": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_strand_labels = t9; - break; - case "show_domain_names": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_domain_names = t9; - break; - case "show_domain_labels": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_domain_labels = t9; - break; - case "base_pair_display_type": - t9 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_K2v)); - result.get$_app_ui_state_storables$_$this()._base_pair_display_type = t9; - break; - case "show_base_pair_lines": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t9; - break; - case "show_base_pair_lines_with_mismatches": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t9; - break; - case "strand_name_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._strand_name_font_size = t9; - break; - case "strand_label_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._strand_label_font_size = t9; - break; - case "domain_name_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._domain_name_font_size = t9; - break; - case "domain_label_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._domain_label_font_size = t9; - break; - case "show_modifications": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_modifications = t9; - break; - case "show_mismatches": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_mismatches = t9; - break; - case "show_domain_name_mismatches": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t9; - break; - case "show_unpaired_insertion_deletions": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t9; - break; - case "show_oxview": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_oxview = t9; - break; - case "show_slice_bar": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_slice_bar = t9; - break; - case "show_mouseover_data": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_mouseover_data = t9; - break; - case "only_display_selected_helices": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t9; - break; - case "modification_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._modification_font_size = t9; - break; - case "major_tick_offset_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t9; - break; - case "major_tick_width_font_size": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t9; - break; - case "zoom_speed": - t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_app_ui_state_storables$_$this()._zoom_speed = t9; - break; - case "modification_display_connector": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._modification_display_connector = t9; - break; - case "strand_paste_keep_color": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t9; - break; - case "display_base_offsets_of_major_ticks": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t9; - break; - case string$.displa: - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t9; - break; - case "display_major_tick_widths": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t9; - break; - case "display_major_tick_widths_all_helices": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t9; - break; - case "loaded_filename": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_app_ui_state_storables$_$this()._loaded_filename = t9; - break; - case "loaded_script_filename": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_app_ui_state_storables$_$this()._loaded_script_filename = t9; - break; - case "invert_y": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._invert_y = t9; - break; - case "dynamically_update_helices": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t9; - break; - case "warn_on_exit_if_unsaved": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t9; - break; - case "show_helix_circles_main_view": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t9; - break; - case "show_helix_components_main_view": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t9; - break; - case "show_edit_mode_menu": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t9; - break; - case "show_grid_coordinates_side_view": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t9; - break; - case "show_helices_axis_arrows": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t9; - break; - case "show_loopout_extension_length": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t9; - break; - case string$.defaulc: - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t9; - break; - case string$.default: - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t9; - break; - case "local_storage_design_choice": - t9 = result.get$_app_ui_state_storables$_$this(); - t10 = t9._local_storage_design_choice; - t9 = t10 == null ? t9._local_storage_design_choice = new Y.LocalStorageDesignChoiceBuilder() : t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UeR)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t9._local_storage_design_choice$_$v = t10; - break; - case string$.clear_: - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t9; - break; - case "displayed_group_name": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_app_ui_state_storables$_$this()._displayed_group_name = t9; - break; - case "slice_bar_offset": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_app_ui_state_storables$_$this()._slice_bar_offset = t9; - break; - case "disable_png_caching_dna_sequences": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t9; - break; - case "retain_strand_color_on_selection": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t9; - break; - case "display_reverse_DNA_right_side_up": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t9; - break; - case "selection_box_intersection": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._selection_box_intersection = t9; - break; - case "export_svg_text_separately": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t9; - break; - case "ox_export_only_selected_strands": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t9; - break; - } - } - return result.build$0(); + $signature: 297 + }; + A._$serializers_closure11.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 100 + }; + A._$serializers_closure12.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_s9c; + $signature: 100 + }; + A._$serializers_closure13.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); }, - get$wireName: function() { - return "AppUIStateStorables"; - } + $signature: 23 }; - B._$AppUIStateStorables.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_AppUIStateStorablesBuilder._as(updates); - t1 = new B.AppUIStateStorablesBuilder(); - B.AppUIStateStorables__initializeBuilder(t1); - t1._app_ui_state_storables$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A._$serializers_closure14.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof B.AppUIStateStorables && J.$eq$(_this.select_mode_state, other.select_mode_state) && J.$eq$(_this.edit_modes, other.edit_modes) && J.$eq$(_this.side_selected_helix_idxs, other.side_selected_helix_idxs) && _this.autofit === other.autofit && _this.show_dna === other.show_dna && _this.show_strand_names === other.show_strand_names && _this.show_strand_labels === other.show_strand_labels && _this.show_domain_names === other.show_domain_names && _this.show_domain_labels === other.show_domain_labels && _this.base_pair_display_type === other.base_pair_display_type && _this.show_base_pair_lines === other.show_base_pair_lines && _this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches && _this.strand_name_font_size === other.strand_name_font_size && _this.strand_label_font_size === other.strand_label_font_size && _this.domain_name_font_size === other.domain_name_font_size && _this.domain_label_font_size === other.domain_label_font_size && _this.show_modifications === other.show_modifications && _this.show_mismatches === other.show_mismatches && _this.show_domain_name_mismatches === other.show_domain_name_mismatches && _this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions && _this.show_oxview === other.show_oxview && _this.show_slice_bar === other.show_slice_bar && _this.show_mouseover_data === other.show_mouseover_data && _this.only_display_selected_helices === other.only_display_selected_helices && _this.modification_font_size === other.modification_font_size && _this.major_tick_offset_font_size === other.major_tick_offset_font_size && _this.major_tick_width_font_size === other.major_tick_width_font_size && _this.zoom_speed === other.zoom_speed && _this.modification_display_connector === other.modification_display_connector && _this.strand_paste_keep_color === other.strand_paste_keep_color && _this.display_base_offsets_of_major_ticks === other.display_base_offsets_of_major_ticks && _this.display_base_offsets_of_major_ticks_only_first_helix === other.display_base_offsets_of_major_ticks_only_first_helix && _this.display_major_tick_widths === other.display_major_tick_widths && _this.display_major_tick_widths_all_helices === other.display_major_tick_widths_all_helices && _this.loaded_filename === other.loaded_filename && _this.loaded_script_filename === other.loaded_script_filename && _this.invert_y === other.invert_y && _this.dynamically_update_helices === other.dynamically_update_helices && _this.warn_on_exit_if_unsaved === other.warn_on_exit_if_unsaved && _this.show_helix_circles_main_view === other.show_helix_circles_main_view && _this.show_helix_components_main_view === other.show_helix_components_main_view && _this.show_edit_mode_menu === other.show_edit_mode_menu && _this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view && _this.show_helices_axis_arrows === other.show_helices_axis_arrows && _this.show_loopout_extension_length === other.show_loopout_extension_length && _this.default_crossover_type_scaffold_for_setting_helix_rolls === other.default_crossover_type_scaffold_for_setting_helix_rolls && _this.default_crossover_type_staple_for_setting_helix_rolls === other.default_crossover_type_staple_for_setting_helix_rolls && _this.local_storage_design_choice.$eq(0, other.local_storage_design_choice) && _this.clear_helix_selection_when_loading_new_design === other.clear_helix_selection_when_loading_new_design && _this.displayed_group_name === other.displayed_group_name && _this.slice_bar_offset == other.slice_bar_offset && _this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences && _this.retain_strand_color_on_selection === other.retain_strand_color_on_selection && _this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up && _this.selection_box_intersection === other.selection_box_intersection && _this.export_svg_text_separately === other.export_svg_text_separately && _this.ox_export_only_selected_strands === other.ox_export_only_selected_strands; + $signature: 70 + }; + A._$serializers_closure15.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._app_ui_state_storables$__hashCode; - if (t1 == null) { - t1 = _this.local_storage_design_choice; - t1 = _this._app_ui_state_storables$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.select_mode_state)), J.get$hashCode$(_this.edit_modes)), J.get$hashCode$(_this.side_selected_helix_idxs)), C.JSBool_methods.get$hashCode(_this.autofit)), C.JSBool_methods.get$hashCode(_this.show_dna)), C.JSBool_methods.get$hashCode(_this.show_strand_names)), C.JSBool_methods.get$hashCode(_this.show_strand_labels)), C.JSBool_methods.get$hashCode(_this.show_domain_names)), C.JSBool_methods.get$hashCode(_this.show_domain_labels)), H.Primitives_objectHashCode(_this.base_pair_display_type)), C.JSBool_methods.get$hashCode(_this.show_base_pair_lines)), C.JSBool_methods.get$hashCode(_this.show_base_pair_lines_with_mismatches)), C.JSNumber_methods.get$hashCode(_this.strand_name_font_size)), C.JSNumber_methods.get$hashCode(_this.strand_label_font_size)), C.JSNumber_methods.get$hashCode(_this.domain_name_font_size)), C.JSNumber_methods.get$hashCode(_this.domain_label_font_size)), C.JSBool_methods.get$hashCode(_this.show_modifications)), C.JSBool_methods.get$hashCode(_this.show_mismatches)), C.JSBool_methods.get$hashCode(_this.show_domain_name_mismatches)), C.JSBool_methods.get$hashCode(_this.show_unpaired_insertion_deletions)), C.JSBool_methods.get$hashCode(_this.show_oxview)), C.JSBool_methods.get$hashCode(_this.show_slice_bar)), C.JSBool_methods.get$hashCode(_this.show_mouseover_data)), C.JSBool_methods.get$hashCode(_this.only_display_selected_helices)), C.JSNumber_methods.get$hashCode(_this.modification_font_size)), C.JSNumber_methods.get$hashCode(_this.major_tick_offset_font_size)), C.JSNumber_methods.get$hashCode(_this.major_tick_width_font_size)), C.JSNumber_methods.get$hashCode(_this.zoom_speed)), C.JSBool_methods.get$hashCode(_this.modification_display_connector)), C.JSBool_methods.get$hashCode(_this.strand_paste_keep_color)), C.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks)), C.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks_only_first_helix)), C.JSBool_methods.get$hashCode(_this.display_major_tick_widths)), C.JSBool_methods.get$hashCode(_this.display_major_tick_widths_all_helices)), C.JSString_methods.get$hashCode(_this.loaded_filename)), C.JSString_methods.get$hashCode(_this.loaded_script_filename)), C.JSBool_methods.get$hashCode(_this.invert_y)), C.JSBool_methods.get$hashCode(_this.dynamically_update_helices)), C.JSBool_methods.get$hashCode(_this.warn_on_exit_if_unsaved)), C.JSBool_methods.get$hashCode(_this.show_helix_circles_main_view)), C.JSBool_methods.get$hashCode(_this.show_helix_components_main_view)), C.JSBool_methods.get$hashCode(_this.show_edit_mode_menu)), C.JSBool_methods.get$hashCode(_this.show_grid_coordinates_side_view)), C.JSBool_methods.get$hashCode(_this.show_helices_axis_arrows)), C.JSBool_methods.get$hashCode(_this.show_loopout_extension_length)), C.JSBool_methods.get$hashCode(_this.default_crossover_type_scaffold_for_setting_helix_rolls)), C.JSBool_methods.get$hashCode(_this.default_crossover_type_staple_for_setting_helix_rolls)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.clear_helix_selection_when_loading_new_design)), C.JSString_methods.get$hashCode(_this.displayed_group_name)), J.get$hashCode$(_this.slice_bar_offset)), C.JSBool_methods.get$hashCode(_this.disable_png_caching_dna_sequences)), C.JSBool_methods.get$hashCode(_this.retain_strand_color_on_selection)), C.JSBool_methods.get$hashCode(_this.display_reverse_DNA_right_side_up)), C.JSBool_methods.get$hashCode(_this.selection_box_intersection)), C.JSBool_methods.get$hashCode(_this.export_svg_text_separately)), C.JSBool_methods.get$hashCode(_this.ox_export_only_selected_strands))); - } - return t1; + $signature: 70 + }; + A._$serializers_closure16.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIStateStorables"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "select_mode_state", _this.select_mode_state); - t2.add$2(t1, "edit_modes", _this.edit_modes); - t2.add$2(t1, "side_selected_helix_idxs", _this.side_selected_helix_idxs); - t2.add$2(t1, "autofit", _this.autofit); - t2.add$2(t1, "show_dna", _this.show_dna); - t2.add$2(t1, "show_strand_names", _this.show_strand_names); - t2.add$2(t1, "show_strand_labels", _this.show_strand_labels); - t2.add$2(t1, "show_domain_names", _this.show_domain_names); - t2.add$2(t1, "show_domain_labels", _this.show_domain_labels); - t2.add$2(t1, "base_pair_display_type", _this.base_pair_display_type); - t2.add$2(t1, "show_base_pair_lines", _this.show_base_pair_lines); - t2.add$2(t1, "show_base_pair_lines_with_mismatches", _this.show_base_pair_lines_with_mismatches); - t2.add$2(t1, "strand_name_font_size", _this.strand_name_font_size); - t2.add$2(t1, "strand_label_font_size", _this.strand_label_font_size); - t2.add$2(t1, "domain_name_font_size", _this.domain_name_font_size); - t2.add$2(t1, "domain_label_font_size", _this.domain_label_font_size); - t2.add$2(t1, "show_modifications", _this.show_modifications); - t2.add$2(t1, "show_mismatches", _this.show_mismatches); - t2.add$2(t1, "show_domain_name_mismatches", _this.show_domain_name_mismatches); - t2.add$2(t1, "show_unpaired_insertion_deletions", _this.show_unpaired_insertion_deletions); - t2.add$2(t1, "show_oxview", _this.show_oxview); - t2.add$2(t1, "show_slice_bar", _this.show_slice_bar); - t2.add$2(t1, "show_mouseover_data", _this.show_mouseover_data); - t2.add$2(t1, "only_display_selected_helices", _this.only_display_selected_helices); - t2.add$2(t1, "modification_font_size", _this.modification_font_size); - t2.add$2(t1, "major_tick_offset_font_size", _this.major_tick_offset_font_size); - t2.add$2(t1, "major_tick_width_font_size", _this.major_tick_width_font_size); - t2.add$2(t1, "zoom_speed", _this.zoom_speed); - t2.add$2(t1, "modification_display_connector", _this.modification_display_connector); - t2.add$2(t1, "strand_paste_keep_color", _this.strand_paste_keep_color); - t2.add$2(t1, "display_base_offsets_of_major_ticks", _this.display_base_offsets_of_major_ticks); - t2.add$2(t1, string$.displa, _this.display_base_offsets_of_major_ticks_only_first_helix); - t2.add$2(t1, "display_major_tick_widths", _this.display_major_tick_widths); - t2.add$2(t1, "display_major_tick_widths_all_helices", _this.display_major_tick_widths_all_helices); - t2.add$2(t1, "loaded_filename", _this.loaded_filename); - t2.add$2(t1, "loaded_script_filename", _this.loaded_script_filename); - t2.add$2(t1, "invert_y", _this.invert_y); - t2.add$2(t1, "dynamically_update_helices", _this.dynamically_update_helices); - t2.add$2(t1, "warn_on_exit_if_unsaved", _this.warn_on_exit_if_unsaved); - t2.add$2(t1, "show_helix_circles_main_view", _this.show_helix_circles_main_view); - t2.add$2(t1, "show_helix_components_main_view", _this.show_helix_components_main_view); - t2.add$2(t1, "show_edit_mode_menu", _this.show_edit_mode_menu); - t2.add$2(t1, "show_grid_coordinates_side_view", _this.show_grid_coordinates_side_view); - t2.add$2(t1, "show_helices_axis_arrows", _this.show_helices_axis_arrows); - t2.add$2(t1, "show_loopout_extension_length", _this.show_loopout_extension_length); - t2.add$2(t1, string$.defaulc, _this.default_crossover_type_scaffold_for_setting_helix_rolls); - t2.add$2(t1, string$.default, _this.default_crossover_type_staple_for_setting_helix_rolls); - t2.add$2(t1, "local_storage_design_choice", _this.local_storage_design_choice); - t2.add$2(t1, string$.clear_, _this.clear_helix_selection_when_loading_new_design); - t2.add$2(t1, "displayed_group_name", _this.displayed_group_name); - t2.add$2(t1, "slice_bar_offset", _this.slice_bar_offset); - t2.add$2(t1, "disable_png_caching_dna_sequences", _this.disable_png_caching_dna_sequences); - t2.add$2(t1, "retain_strand_color_on_selection", _this.retain_strand_color_on_selection); - t2.add$2(t1, "display_reverse_DNA_right_side_up", _this.display_reverse_DNA_right_side_up); - t2.add$2(t1, "selection_box_intersection", _this.selection_box_intersection); - t2.add$2(t1, "export_svg_text_separately", _this.export_svg_text_separately); - t2.add$2(t1, "ox_export_only_selected_strands", _this.ox_export_only_selected_strands); - return t2.toString$0(t1); - } + $signature: 70 }; - B.AppUIStateStorablesBuilder.prototype = { - get$select_mode_state: function() { - var t3, - t1 = this.get$_app_ui_state_storables$_$this(), - t2 = t1._select_mode_state; - if (t2 == null) { - t2 = new N.SelectModeStateBuilder(); - t3 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); - t2.get$_select_mode_state$_$this().set$_modes(t3); - t1._select_mode_state = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A._$serializers_closure17.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); }, - get$edit_modes: function() { - var t1 = this.get$_app_ui_state_storables$_$this(), - t2 = t1._edit_modes; - if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); - t1.set$_edit_modes(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 98 + }; + A._$serializers_closure18.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); }, - get$side_selected_helix_idxs: function() { - var t1 = this.get$_app_ui_state_storables$_$this(), - t2 = t1._side_selected_helix_idxs; - if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int); - t1.set$_side_selected_helix_idxs(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 104 + }; + A._$serializers_closure19.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - get$local_storage_design_choice: function() { - var t1 = this.get$_app_ui_state_storables$_$this(), - t2 = t1._local_storage_design_choice; - return t2 == null ? t1._local_storage_design_choice = new Y.LocalStorageDesignChoiceBuilder() : t2; + $signature: 32 + }; + A._$serializers_closure20.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - get$_app_ui_state_storables$_$this: function() { - var t1, t2, t3, _this = this, - $$v = _this._app_ui_state_storables$_$v; - if ($$v != null) { - t1 = $$v.select_mode_state; - t1.toString; - t2 = new N.SelectModeStateBuilder(); - t3 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); - t2.get$_select_mode_state$_$this().set$_modes(t3); - t2._select_mode_state$_$v = t1; - _this._select_mode_state = t2; - t1 = $$v.edit_modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_edit_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - t2 = $$v.side_selected_helix_idxs; - t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltSet<1>")._as(t2); - _this.set$_side_selected_helix_idxs(new X.SetBuilder(t2._setFactory, t2._set, t2, t1._eval$1("SetBuilder<1>"))); - _this._autofit = $$v.autofit; - _this._show_dna = $$v.show_dna; - _this._show_strand_names = $$v.show_strand_names; - _this._show_strand_labels = $$v.show_strand_labels; - _this._show_domain_names = $$v.show_domain_names; - _this._show_domain_labels = $$v.show_domain_labels; - _this._base_pair_display_type = $$v.base_pair_display_type; - _this._show_base_pair_lines = $$v.show_base_pair_lines; - _this._show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; - _this._strand_name_font_size = $$v.strand_name_font_size; - _this._strand_label_font_size = $$v.strand_label_font_size; - _this._domain_name_font_size = $$v.domain_name_font_size; - _this._domain_label_font_size = $$v.domain_label_font_size; - _this._show_modifications = $$v.show_modifications; - _this._show_mismatches = $$v.show_mismatches; - _this._show_domain_name_mismatches = $$v.show_domain_name_mismatches; - _this._show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; - _this._show_oxview = $$v.show_oxview; - _this._show_slice_bar = $$v.show_slice_bar; - _this._show_mouseover_data = $$v.show_mouseover_data; - _this._only_display_selected_helices = $$v.only_display_selected_helices; - _this._modification_font_size = $$v.modification_font_size; - _this._major_tick_offset_font_size = $$v.major_tick_offset_font_size; - _this._major_tick_width_font_size = $$v.major_tick_width_font_size; - _this._zoom_speed = $$v.zoom_speed; - _this._modification_display_connector = $$v.modification_display_connector; - _this._strand_paste_keep_color = $$v.strand_paste_keep_color; - _this._display_base_offsets_of_major_ticks = $$v.display_base_offsets_of_major_ticks; - _this._display_base_offsets_of_major_ticks_only_first_helix = $$v.display_base_offsets_of_major_ticks_only_first_helix; - _this._display_major_tick_widths = $$v.display_major_tick_widths; - _this._display_major_tick_widths_all_helices = $$v.display_major_tick_widths_all_helices; - _this._loaded_filename = $$v.loaded_filename; - _this._loaded_script_filename = $$v.loaded_script_filename; - _this._invert_y = $$v.invert_y; - _this._dynamically_update_helices = $$v.dynamically_update_helices; - _this._warn_on_exit_if_unsaved = $$v.warn_on_exit_if_unsaved; - _this._show_helix_circles_main_view = $$v.show_helix_circles_main_view; - _this._show_helix_components_main_view = $$v.show_helix_components_main_view; - _this._show_edit_mode_menu = $$v.show_edit_mode_menu; - _this._show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; - _this._show_helices_axis_arrows = $$v.show_helices_axis_arrows; - _this._show_loopout_extension_length = $$v.show_loopout_extension_length; - _this._default_crossover_type_scaffold_for_setting_helix_rolls = $$v.default_crossover_type_scaffold_for_setting_helix_rolls; - _this._default_crossover_type_staple_for_setting_helix_rolls = $$v.default_crossover_type_staple_for_setting_helix_rolls; - t1 = $$v.local_storage_design_choice; - t2 = new Y.LocalStorageDesignChoiceBuilder(); - t2._local_storage_design_choice$_$v = t1; - _this._local_storage_design_choice = t2; - _this._clear_helix_selection_when_loading_new_design = $$v.clear_helix_selection_when_loading_new_design; - _this._displayed_group_name = $$v.displayed_group_name; - _this._slice_bar_offset = $$v.slice_bar_offset; - _this._disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; - _this._retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; - _this._display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; - _this._selection_box_intersection = $$v.selection_box_intersection; - _this._export_svg_text_separately = $$v.export_svg_text_separately; - _this._ox_export_only_selected_strands = $$v.ox_export_only_selected_strands; - _this._app_ui_state_storables$_$v = null; - } - return _this; + $signature: 43 + }; + A._$serializers_closure21.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Extension); }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, exception, _this = this, - _s19_ = "AppUIStateStorables", - _s17_ = "select_mode_state", - _s24_ = "side_selected_helix_idxs", - _$result = null; - try { - _$result0 = _this._app_ui_state_storables$_$v; - if (_$result0 == null) { - t1 = _this.get$select_mode_state().build$0(); - t2 = _this.get$edit_modes().build$0(); - t3 = _this.get$side_selected_helix_idxs().build$0(); - t4 = _this.get$_app_ui_state_storables$_$this()._autofit; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "autofit")); - t5 = _this.get$_app_ui_state_storables$_$this()._show_dna; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_dna")); - t6 = _this.get$_app_ui_state_storables$_$this()._show_strand_names; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_strand_names")); - t7 = _this.get$_app_ui_state_storables$_$this()._show_strand_labels; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_strand_labels")); - t8 = _this.get$_app_ui_state_storables$_$this()._show_domain_names; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_names")); - t9 = _this.get$_app_ui_state_storables$_$this()._show_domain_labels; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_labels")); - t10 = _this.get$_app_ui_state_storables$_$this()._base_pair_display_type; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "base_pair_display_type")); - t11 = _this.get$_app_ui_state_storables$_$this()._show_base_pair_lines; - if (t11 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_base_pair_lines")); - t12 = _this.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches; - if (t12 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_base_pair_lines_with_mismatches")); - t13 = _this.get$_app_ui_state_storables$_$this()._strand_name_font_size; - if (t13 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_name_font_size")); - t14 = _this.get$_app_ui_state_storables$_$this()._strand_label_font_size; - if (t14 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_label_font_size")); - t15 = _this.get$_app_ui_state_storables$_$this()._domain_name_font_size; - if (t15 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain_name_font_size")); - t16 = _this.get$_app_ui_state_storables$_$this()._domain_label_font_size; - if (t16 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain_label_font_size")); - t17 = _this.get$_app_ui_state_storables$_$this()._show_modifications; - if (t17 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_modifications")); - t18 = _this.get$_app_ui_state_storables$_$this()._show_mismatches; - if (t18 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_mismatches")); - t19 = _this.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches; - if (t19 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_name_mismatches")); - t20 = _this.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions; - if (t20 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_unpaired_insertion_deletions")); - t21 = _this.get$_app_ui_state_storables$_$this()._show_oxview; - if (t21 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_oxview")); - t22 = _this.get$_app_ui_state_storables$_$this()._show_slice_bar; - if (t22 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_slice_bar")); - t23 = _this.get$_app_ui_state_storables$_$this()._show_mouseover_data; - if (t23 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_mouseover_data")); - t24 = _this.get$_app_ui_state_storables$_$this()._only_display_selected_helices; - if (t24 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "only_display_selected_helices")); - t25 = _this.get$_app_ui_state_storables$_$this()._modification_font_size; - if (t25 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "modification_font_size")); - t26 = _this.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size; - if (t26 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "major_tick_offset_font_size")); - t27 = _this.get$_app_ui_state_storables$_$this()._major_tick_width_font_size; - if (t27 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "major_tick_width_font_size")); - t28 = _this.get$_app_ui_state_storables$_$this()._zoom_speed; - if (t28 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "zoom_speed")); - t29 = _this.get$_app_ui_state_storables$_$this()._modification_display_connector; - if (t29 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "modification_display_connector")); - t30 = _this.get$_app_ui_state_storables$_$this()._strand_paste_keep_color; - if (t30 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_paste_keep_color")); - t31 = _this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks; - if (t31 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_base_offsets_of_major_ticks")); - t32 = _this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix; - if (t32 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.displa)); - t33 = _this.get$_app_ui_state_storables$_$this()._display_major_tick_widths; - if (t33 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_major_tick_widths")); - t34 = _this.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices; - if (t34 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_major_tick_widths_all_helices")); - t35 = _this.get$_app_ui_state_storables$_$this()._loaded_filename; - if (t35 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loaded_filename")); - t36 = _this.get$_app_ui_state_storables$_$this()._loaded_script_filename; - if (t36 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loaded_script_filename")); - t37 = _this.get$_app_ui_state_storables$_$this()._invert_y; - if (t37 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "invert_y")); - t38 = _this.get$_app_ui_state_storables$_$this()._dynamically_update_helices; - if (t38 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "dynamically_update_helices")); - t39 = _this.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved; - if (t39 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "warn_on_exit_if_unsaved")); - t40 = _this.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view; - if (t40 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helix_circles_main_view")); - t41 = _this.get$_app_ui_state_storables$_$this()._show_helix_components_main_view; - if (t41 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helix_components_main_view")); - t42 = _this.get$_app_ui_state_storables$_$this()._show_edit_mode_menu; - if (t42 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_edit_mode_menu")); - t43 = _this.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view; - if (t43 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_grid_coordinates_side_view")); - t44 = _this.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows; - if (t44 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helices_axis_arrows")); - t45 = _this.get$_app_ui_state_storables$_$this()._show_loopout_extension_length; - if (t45 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_loopout_extension_length")); - t46 = _this.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls; - if (t46 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.defaulc)); - t47 = _this.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls; - if (t47 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.default)); - t48 = _this.get$local_storage_design_choice().build$0(); - t49 = _this.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design; - if (t49 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.clear_)); - t50 = _this.get$_app_ui_state_storables$_$this()._displayed_group_name; - if (t50 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "displayed_group_name")); - t51 = _this.get$_app_ui_state_storables$_$this()._slice_bar_offset; - t52 = _this.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences; - if (t52 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "disable_png_caching_dna_sequences")); - t53 = _this.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection; - if (t53 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "retain_strand_color_on_selection")); - t54 = _this.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up; - if (t54 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_reverse_DNA_right_side_up")); - t55 = _this.get$_app_ui_state_storables$_$this()._selection_box_intersection; - if (t55 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "selection_box_intersection")); - t56 = _this.get$_app_ui_state_storables$_$this()._export_svg_text_separately; - if (t56 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "export_svg_text_separately")); - t57 = _this.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands; - if (t57 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "ox_export_only_selected_strands")); - _$result0 = new B._$AppUIStateStorables(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, _s17_)); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "edit_modes")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, _s24_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = _s17_; - _this.get$select_mode_state().build$0(); - _$failedField = "edit_modes"; - _this.get$edit_modes().build$0(); - _$failedField = _s24_; - _this.get$side_selected_helix_idxs().build$0(); - _$failedField = "local_storage_design_choice"; - _this.get$local_storage_design_choice().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_AppUIStateStorables._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._app_ui_state_storables$_$v = t1; - return _$result; + $signature: 305 + }; + A._$serializers_closure22.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); }, - set$_edit_modes: function(_edit_modes) { - this._edit_modes = type$.legacy_SetBuilder_legacy_EditModeChoice._as(_edit_modes); + $signature: 107 + }; + A._$serializers_closure23.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - set$_side_selected_helix_idxs: function(_side_selected_helix_idxs) { - this._side_selected_helix_idxs = type$.legacy_SetBuilder_legacy_int._as(_side_selected_helix_idxs); - } + $signature: 70 }; - B._AppUIStateStorables_Object_BuiltJsonSerializable.prototype = {}; - L.BasePairDisplayType.prototype = { - toIndex$0: function() { - switch (this) { - case C.BasePairDisplayType_none: - return 0; - case C.BasePairDisplayType_lines: - return 1; - case C.BasePairDisplayType_rectangle: - return 2; - } - return 0; + A._$serializers_closure24.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Loopout); }, - display_name$0: function() { - switch (this) { - case C.BasePairDisplayType_none: - return "none"; - case C.BasePairDisplayType_lines: - return "lines"; - case C.BasePairDisplayType_rectangle: - return "rectangle"; - } - return this.super$EnumClass$toString(0); + $signature: 307 + }; + A._$serializers_closure25.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverData); }, - toString$0: function(_) { - return this.display_name$0(); - } + $signature: 308 }; - L._$BasePairDisplayTypeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_BasePairDisplayType._as(object).name; + A._$serializers_closure26.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 100 + }; + A._$serializers_closure27.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverParams); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return L._$valueOf1(H._asStringS(serialized)); + $signature: 309 + }; + A._$serializers_closure28.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Point_double); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 310 + }; + A._$serializers_closure29.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectModeChoice); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_BasePairDisplayType_hjk; + $signature: 311 + }; + A._$serializers_closure30.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); }, - get$wireName: function() { - return "BasePairDisplayType"; - } + $signature: 108 }; - T.BrowserClipboard.prototype = { - read$0: function(_) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_String), - $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], text, msg, msg0, e, msg1, exception, t1, $async$exception; - var $async$read$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) { - $async$currentError = $async$result; - $async$goto = $async$handler; - } - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$handler = 4; - $async$goto = 7; - return P._asyncAwait(P.promiseToFuture(window.navigator.clipboard.readText(), type$.String), $async$read$0); - case 7: - // returning from await. - text = $async$result; - $async$returnValue = text; - // goto return - $async$goto = 1; - break; - $async$handler = 2; - // goto after finally - $async$goto = 6; - break; - case 4: - // catch - $async$handler = 3; - $async$exception = $async$currentError; - t1 = H.unwrapException($async$exception); - if (type$.legacy_NoSuchMethodError._is(t1)) { - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } - t1.toString; - if (t1 === $.$get$firefox()) { - msg = 'It looks like you are using Firefox and want to paste from the clipboard.\nUnfortunately you need to make a change to permissions before that will be possible.\n 1. Open a new tab and enter about:config in the address bar.\n 2. Click "Accept the Risk and Continue".\n 3. Search dom.events.testing.asyncClipboard and set it to true.\n 4. Refresh the scadnano tab. \nThen you will be able to paste from the clipboard.\n'; - C.Window_methods.alert$1(window, msg); - } else { - msg0 = "Unable to paste; unknown reason."; - C.Window_methods.alert$1(window, msg0); - } - $async$returnValue = ""; - // goto return - $async$goto = 1; - break; - } else { - e = t1; - msg1 = "error: " + H.S(e); - C.Window_methods.alert$1(window, "Unable to paste. Reason:\n" + H.S(msg1)); - $async$returnValue = ""; - // goto return - $async$goto = 1; - break; - } - // goto after finally - $async$goto = 6; - break; - case 3: - // uncaught - // goto rethrow - $async$goto = 2; - break; - case 6: - // after finally - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - case 2: - // rethrow - return P._asyncRethrow($async$currentError, $async$completer); - } - }); - return P._asyncStartSync($async$read$0, $async$completer); - } + A._$serializers_closure31.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); + }, + $signature: 108 }; - B.ContextMenu.prototype = {}; - B.ContextMenuItem.prototype = {}; - B.ContextMenuItem_ContextMenuItem_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_context_menu$_$this()._context_menu$_title = _this.title; - t1 = type$.legacy_void_Function._as(_this.on_click); - b.get$_context_menu$_$this().set$_on_click(t1); - b.get$_context_menu$_$this()._context_menu$_tooltip = _this.tooltip; - t1 = _this.nested; - t1 = t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - type$.legacy_ListBuilder_legacy_ContextMenuItem._as(t1); - b.get$_context_menu$_$this().set$_nested(t1); - b.get$_context_menu$_$this()._disabled = _this.disabled; - return b; + A._$serializers_closure32.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification3Prime); }, - $signature: 340 + $signature: 313 + }; + A._$serializers_closure33.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification5Prime); + }, + $signature: 314 + }; + A._$serializers_closure34.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModificationInternal); + }, + $signature: 315 + }; + A._$serializers_closure35.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure36.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure37.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure38.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure39.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableTrait); + }, + $signature: 170 + }; + A._$serializers_closure40.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure41.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure42.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + }, + $signature: 98 + }; + A._$serializers_closure43.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); + }, + $signature: 104 + }; + A._$serializers_closure44.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + }, + $signature: 43 + }; + A._$serializers_closure45.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 }; - B._$ContextMenuSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ContextMenu._as(object); - return H.setRuntimeTypeInfo(["items", serializers.serialize$2$specifiedType(object.items, C.FullType_91n), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$serializers_closure46.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 23 + }; + A._$serializers_closure47.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + }, + $signature: 43 + }; + A._$serializers_closure48.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + }, + $signature: 32 + }; + A._$serializers_closure49.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + }, + $signature: 43 + }; + A._$serializers_closure50.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.String); + }, + $signature: 92 + }; + A._$serializers_closure51.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.String); + }, + $signature: 92 + }; + A._$serializers_closure52.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.String); + }, + $signature: 92 + }; + A._$serializers_closure53.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Substrand); + }, + $signature: 318 + }; + A._$serializers_closure54.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.ModificationInternal); + }, + $signature: 319 + }; + A._$serializers_closure55.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.UndoableAction); + }, + $signature: 320 + }; + A._$serializers_closure56.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure57.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure58.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure59.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure60.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure61.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure62.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure63.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); + }, + $signature: 107 + }; + A._$serializers_closure64.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure65.prototype = { + call$0() { + return A.ListBuilder_ListBuilder(B.List_empty, type$.int); + }, + $signature: 23 + }; + A._$serializers_closure66.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + }, + $signature: 98 + }; + A._$serializers_closure67.prototype = { + call$0() { + return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Strand); + }, + $signature: 321 + }; + A._$serializers_closure68.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new B.ContextMenuBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_ContextMenuItem, t4 = type$.List_legacy_ContextMenuItem, t5 = type$.ListBuilder_legacy_ContextMenuItem; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + $signature: 43 + }; + A._$serializers_closure69.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + }, + $signature: 43 + }; + A._$serializers_closure70.prototype = { + call$0() { + var t1 = type$.int; + return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); + }, + $signature: 43 + }; + A._$serializers_closure71.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); + }, + $signature: 111 + }; + A._$serializers_closure72.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); + }, + $signature: 111 + }; + A._$serializers_closure73.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.int); + }, + $signature: 323 + }; + A._$serializers_closure74.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); + }, + $signature: 141 + }; + A._$serializers_closure75.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); + }, + $signature: 141 + }; + A._$serializers_closure76.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.Selectable); + }, + $signature: 325 + }; + A._$serializers_closure77.prototype = { + call$0() { + return A.SetBuilder_SetBuilder(B.List_empty, type$.String); + }, + $signature: 326 + }; + A.Address.prototype = { + toString$0(_) { + var t1 = A.boolConversionCheck(this.forward) ? "F" : "R"; + return "H" + A.S(this.helix_idx) + "-" + t1 + "-" + A.S(this.offset); + }, + sum$3(diff, helices_view_order, helices_view_order_inverse) { + var t1, order_sum, t2, helix_idx_sum, max_helix_idx, forward_sum; + type$.BuiltList_int._as(helices_view_order); + t1 = type$.BuiltMap_int_int._as(helices_view_order_inverse)._map$_map.$index(0, this.helix_idx); + t1.toString; + order_sum = t1 + diff.helix_idx_delta; + t1 = helices_view_order._list; + t2 = t1.length; + if (order_sum < t2) { + if (!(order_sum >= 0)) + return A.ioore(t1, order_sum); + helix_idx_sum = t1[order_sum]; + } else { + max_helix_idx = A.MinMaxOfIterable_get_max(helices_view_order, type$.int); + if (typeof max_helix_idx !== "number") + return max_helix_idx.$add(); + helix_idx_sum = max_helix_idx + order_sum - t1.length + 1; + } + t1 = this.offset; + t2 = diff.offset_delta; + if (typeof t1 !== "number") + return t1.$add(); + forward_sum = this.forward; + if (diff.forward_delta) + forward_sum = !A.boolConversionCheck(forward_sum); + return A._$Address$_(forward_sum, helix_idx_sum, t1 + t2); + }, + difference$2(other, helices_view_order_inverse) { + var t3, t4, + t1 = type$.BuiltMap_int_int._as(helices_view_order_inverse)._map$_map, + t2 = t1.$index(0, this.helix_idx); + t2.toString; + t1 = t1.$index(0, other.helix_idx); + t1.toString; + t3 = this.offset; + t4 = other.offset; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + return A._$AddressDifference$_(this.forward != other.forward, t2 - t1, t3 - t4); + } + }; + A.AddressDifference.prototype = { + toString$0(_) { + var t1 = this.forward_delta ? "F" : "R"; + return "diff-H" + this.helix_idx_delta + "-" + t1 + "-" + this.offset_delta; + } + }; + A._$AddressSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Address._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.AddressBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "items": - t6 = result.get$_context_menu$_$this(); - t7 = t6._items; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_items(t7); - t6 = t7; - } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_91n)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); - } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); - } + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_address$_$this()._helix_idx = t1; break; - case "position": - t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_context_menu$_$this().set$_context_menu$_position(0, t6); + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_address$_$this()._offset = t1; + break; + case "forward": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_address$_$this()._address$_forward = t1; break; } } - return result.build$0(); + return result._address$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_IAF; + get$types() { + return B.List_liY; }, - get$wireName: function() { - return "ContextMenu"; + get$wireName() { + return "Address"; } }; - B._$ContextMenuItemSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_ContextMenuItem._as(object); - result = H.setRuntimeTypeInfo(["title", serializers.serialize$2$specifiedType(object.title, C.FullType_h8g), "disabled", serializers.serialize$2$specifiedType(object.disabled, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.nested; - if (value != null) { - C.JSArray_methods.add$1(result, "nested"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_91n)); - } - return result; + A._$AddressDifferenceSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.AddressDifference._as(object); + return ["helix_idx_delta", serializers.serialize$2$specifiedType(object.helix_idx_delta, B.FullType_kjq), "offset_delta", serializers.serialize$2$specifiedType(object.offset_delta, B.FullType_kjq), "forward_delta", serializers.serialize$2$specifiedType(object.forward_delta, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new B.ContextMenuItemBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_ContextMenuItem, t3 = type$.List_legacy_ContextMenuItem, t4 = type$.ListBuilder_legacy_ContextMenuItem; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.AddressDifferenceBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "title": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_context_menu$_$this()._context_menu$_title = t5; - break; - case "tooltip": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_context_menu$_$this()._context_menu$_tooltip = t5; + switch (t1) { + case "helix_idx_delta": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_address$_$this()._helix_idx_delta = t1; break; - case "nested": - t5 = result.get$_context_menu$_$this(); - t6 = t5._nested; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_nested(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_91n)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + case "offset_delta": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_address$_$this()._offset_delta = t1; break; - case "disabled": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_context_menu$_$this()._disabled = t5; + case "forward_delta": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_address$_$this()._forward_delta = t1; break; } } - return result.build$0(); + return result._address$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_pU4; + get$types() { + return B.List_xTK; }, - get$wireName: function() { - return "ContextMenuItem"; + get$wireName() { + return "AddressDifference"; } }; - B._$ContextMenu.prototype = { - $eq: function(_, other) { + A._$Address.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_AddressBuilder._as(updates); + t1 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Address); + t1._address$_$v = this; + type$.nullable_void_Function_AddressBuilder._as(updates).call$1(t1); + return t1._address$_build$0(); + }, + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof B.ContextMenu && J.$eq$(this.items, other.items) && this.position.$eq(0, other.position); + return other instanceof A.Address && _this.helix_idx == other.helix_idx && _this.offset == other.offset && _this.forward == other.forward; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._context_menu$__hashCode; - if (t1 == null) { - t1 = _this.position; - t1 = _this._context_menu$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.items)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); - } - return t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.offset)), J.get$hashCode$(this.forward))); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenu"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "items", this.items); - t2.add$2(t1, "position", this.position); - return t2.toString$0(t1); + get$offset(receiver) { + return this.offset; } }; - B.ContextMenuBuilder.prototype = { - get$items: function(_) { - var t1 = this.get$_context_menu$_$this(), - t2 = t1._items; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); - t1.set$_items(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A.AddressBuilder.prototype = { + get$offset(_) { + return this.get$_address$_$this()._offset; }, - get$_context_menu$_$this: function() { - var t1, _this = this, - $$v = _this._context_menu$_$v; + get$_address$_$this() { + var _this = this, + $$v = _this._address$_$v; if ($$v != null) { - t1 = $$v.items; - t1.toString; - _this.set$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this.set$_context_menu$_position(0, $$v.position); - _this._context_menu$_$v = null; + _this._helix_idx = $$v.helix_idx; + _this._offset = $$v.offset; + _this._address$_forward = $$v.forward; + _this._address$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s11_ = "ContextMenu", - _$result = null; - try { - _$result0 = _this._context_menu$_$v; - if (_$result0 == null) { - t1 = _this.get$items(_this).build$0(); - t2 = _this.get$_context_menu$_$this()._context_menu$_position; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "position")); - _$result0 = B._$ContextMenu$_(t1, t2); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "items"; - _this.get$items(_this).build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _address$_build$0() { + var t1, t2, _this = this, + _s7_ = "Address", + _$result = _this._address$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._helix_idx, _s7_, "helix_idx", t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._offset, _s7_, "offset", t1); + _$result = A._$Address$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._address$_forward, _s7_, "forward", type$.bool), t2, t1); } - t1 = type$.legacy_ContextMenu._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._context_menu$_$v = t1; - return _$result; - }, - set$_items: function(_items) { - this._items = type$.legacy_ListBuilder_legacy_ContextMenuItem._as(_items); - }, - set$_context_menu$_position: function(_, _position) { - this._context_menu$_position = type$.legacy_Point_legacy_num._as(_position); + A.ArgumentError_checkNotNull(_$result, "other", type$.Address); + return _this._address$_$v = _$result; } }; - B._$ContextMenuItem.prototype = { - $eq: function(_, other) { + A._$AddressDifference.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof B.ContextMenuItem && _this.title === other.title && _this.tooltip == other.tooltip && J.$eq$(_this.nested, other.nested) && _this.disabled === other.disabled; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._context_menu$__hashCode; - return t1 == null ? _this._context_menu$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.title)), J.get$hashCode$(_this.tooltip)), J.get$hashCode$(_this.nested)), C.JSBool_methods.get$hashCode(_this.disabled))) : t1; + return other instanceof A.AddressDifference && _this.helix_idx_delta === other.helix_idx_delta && _this.offset_delta === other.offset_delta && _this.forward_delta === other.forward_delta; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuItem"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "title", _this.title); - t2.add$2(t1, "on_click", _this.on_click); - t2.add$2(t1, "tooltip", _this.tooltip); - t2.add$2(t1, "nested", _this.nested); - t2.add$2(t1, "disabled", _this.disabled); - return t2.toString$0(t1); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx_delta)), B.JSInt_methods.get$hashCode(this.offset_delta)), B.JSBool_methods.get$hashCode(this.forward_delta))); } }; - B.ContextMenuItemBuilder.prototype = { - get$_context_menu$_$this: function() { - var t1, _this = this, - $$v = _this._context_menu$_$v; + A.AddressDifferenceBuilder.prototype = { + get$_address$_$this() { + var _this = this, + $$v = _this._address$_$v; if ($$v != null) { - _this._context_menu$_title = $$v.title; - _this.set$_on_click($$v.on_click); - _this._context_menu$_tooltip = $$v.tooltip; - t1 = $$v.nested; - _this.set$_nested(t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._disabled = $$v.disabled; - _this._context_menu$_$v = null; + _this._helix_idx_delta = $$v.helix_idx_delta; + _this._offset_delta = $$v.offset_delta; + _this._forward_delta = $$v.forward_delta; + _this._address$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s15_ = "ContextMenuItem", - _$result = null; - try { - _$result0 = _this._context_menu$_$v; - if (_$result0 == null) { - t1 = _this.get$_context_menu$_$this()._context_menu$_title; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "title")); - t2 = _this.get$_context_menu$_$this()._on_click; - t3 = _this.get$_context_menu$_$this()._context_menu$_tooltip; - t4 = _this._nested; - t4 = t4 == null ? null : t4.build$0(); - t5 = _this.get$_context_menu$_$this()._disabled; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "disabled")); - _$result0 = new B._$ContextMenuItem(t1, t2, t3, t4, t5); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "nested"; - t1 = _this._nested; - if (t1 != null) - t1.build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _address$_build$0() { + var t1, t2, _this = this, + _s17_ = "AddressDifference", + _$result = _this._address$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._helix_idx_delta, _s17_, "helix_idx_delta", t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._offset_delta, _s17_, "offset_delta", t1); + _$result = A._$AddressDifference$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_address$_$this()._forward_delta, _s17_, "forward_delta", type$.bool), t2, t1); } - t1 = type$.legacy_ContextMenuItem._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._context_menu$_$v = t1; - return _$result; - }, - set$_on_click: function(_on_click) { - this._on_click = type$.legacy_void_Function._as(_on_click); - }, - set$_nested: function(_nested) { - this._nested = type$.legacy_ListBuilder_legacy_ContextMenuItem._as(_nested); - } - }; - B._ContextMenu_Object_BuiltJsonSerializable.prototype = {}; - B._ContextMenuItem_Object_BuiltJsonSerializable.prototype = {}; - B.CopyInfo.prototype = { - create_strands_move$2$start_at_copied: function(state, start_at_copied) { - var _this = this, - design = state.design, - t1 = design.strands, - t2 = design.helices, - strands_move = U.StrandsMove_StrandsMove(t1, true, design.groups, t2, state.ui_state.storables.strand_paste_keep_color, _this.copied_address, _this.helices_view_order_inverse, _this.strands); - t1 = _this.translation != null; - if (t1 && _this.prev_paste_address != null && !start_at_copied) - strands_move = strands_move.rebuild$1(new B.CopyInfo_create_strands_move_closure(_this)); - else if (t1 && !start_at_copied) - strands_move = strands_move.rebuild$1(new B.CopyInfo_create_strands_move_closure0(_this)); - return strands_move; + A.ArgumentError_checkNotNull(_$result, "other", type$.AddressDifference); + return _this._address$_$v = _$result; } }; - B.CopyInfo_CopyInfo_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$strands().replace$1(0, _this.strands); - t1 = b.get$copied_address(); - t1._address$_$v = _this.copied_address; - t1 = _this.translation; - if (t1 == null) - t1 = null; - else { - t2 = new Z.AddressDifferenceBuilder(); - t2._address$_$v = t1; - t1 = t2; - } - b.get$_copy_info$_$this()._translation = t1; - b.get$helices_view_order().replace$1(0, _this.helices_view_order); - b.get$helices_view_order_inverse().replace$1(0, _this.helices_view_order_inverse); - return b; + A._Address_Object_BuiltJsonSerializable.prototype = {}; + A._AddressDifference_Object_BuiltJsonSerializable.prototype = {}; + A.AppState.prototype = { + get$design() { + var t1 = this.maybe_design; + if (t1 != null) + return t1; + else + throw A.wrapException(A.AssertionError$("You have discovered a bug in scadnano.\n\nPlease file a bug report at https://github.com/UC-Davis-molecular-computing/scadnano/issues.\nInclude as much detail as possible, including any information currently displayed \nin the app. Thank you!")); }, - $signature: 103 - }; - B.CopyInfo_create_strands_move_closure.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(), - t2 = this.$this, - t3 = t2.translation; - t2 = t3 == null || t2.prev_paste_address == null ? null : t2.prev_paste_address.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._address$_$v = t2; - return b; + get$helix_idx_to_svg_position_map() { + var _this = this, + t1 = _this.ui_state.storables, + helix_idxs_to_calculate = t1.side_selected_helix_idxs; + if (!t1.only_display_selected_helices) + helix_idxs_to_calculate = null; + return A.BuiltMap_BuiltMap$of(A.helices_assign_svg(_this.get$design().geometry, t1.invert_y, _this.get$design().helices, _this.get$design().groups, helix_idxs_to_calculate), type$.int, type$.Point_double); }, - $signature: 35 - }; - B.CopyInfo_create_strands_move_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$current_address(), - t2 = this.$this, - t3 = t2.translation; - t2 = t3 == null ? null : t2.copied_address.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._address$_$v = t2; - return b; + toJson$0() { + var t1, _this = this, + map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + map.$indexSet(0, "design", _this.maybe_design != null ? _this.get$design().to_json_serializable$1$suppress_indent(false) : null); + t1 = _this.ui_state; + t1.toString; + map.$indexSet(0, "ui_state", $.$get$standard_serializers().serialize$1(t1)); + map.$indexSet(0, "error_message", _this.error_message); + return map; }, - $signature: 35 + get$has_error() { + var t1 = this.error_message; + return t1 != null && t1.length > 0; + } }; - B._$CopyInfoSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_CopyInfo._as(object); - result = H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "copied_address", serializers.serialize$2$specifiedType(object.copied_address, C.FullType_KlG), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, C.FullType_4QF0), "helices_view_order_inverse", serializers.serialize$2$specifiedType(object.helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); - value = object.prev_paste_address; - if (value != null) { - C.JSArray_methods.add$1(result, "prev_paste_address"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KlG)); - } - value = object.translation; - if (value != null) { - C.JSArray_methods.add$1(result, "translation"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KlG0)); - } - return result; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, key, value, t11, t12, t13, t14, t15, _null = null, _s5_ = "other", - result = new B.CopyInfoBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int, t6 = type$.legacy_AddressDifference, t7 = type$.legacy_Address, t8 = type$.legacy_Strand, t9 = type$.List_legacy_Strand, t10 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strands": - t11 = result.get$_copy_info$_$this(); - t12 = t11._copy_info$_strands; - if (t12 == null) { - t12 = new D.ListBuilder(t10); - t12.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t8))); - t12.set$_listOwner(_null); - t11.set$_copy_info$_strands(t12); - t11 = t12; - } else - t11 = t12; - t12 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); - t13 = t11.$ti; - t14 = t13._eval$1("_BuiltList<1>"); - t15 = t13._eval$1("List<1>"); - if (t14._is(t12)) { - t14._as(t12); - t11.set$__ListBuilder__list(t15._as(t12._list)); - t11.set$_listOwner(t12); - } else { - t11.set$__ListBuilder__list(t15._as(P.List_List$from(t12, true, t13._precomputed1))); - t11.set$_listOwner(_null); - } - break; - case "copied_address": - t11 = result.get$_copy_info$_$this(); - t12 = t11._copied_address; - t11 = t12 == null ? t11._copied_address = new Z.AddressBuilder() : t12; - t12 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t12 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t11._address$_$v = t12; - break; - case "prev_paste_address": - t11 = result.get$_copy_info$_$this(); - t12 = t11._prev_paste_address; - t11 = t12 == null ? t11._prev_paste_address = new Z.AddressBuilder() : t12; - t12 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t12 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t11._address$_$v = t12; - break; - case "translation": - t11 = result.get$_copy_info$_$this(); - t12 = t11._translation; - t11 = t12 == null ? t11._translation = new Z.AddressDifferenceBuilder() : t12; - t12 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG0)); - if (t12 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t11._address$_$v = t12; - break; - case "helices_view_order": - t11 = result.get$_copy_info$_$this(); - t12 = t11._helices_view_order; - if (t12 == null) { - t12 = new D.ListBuilder(t5); - t12.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t12.set$_listOwner(_null); - t11.set$_helices_view_order(t12); - t11 = t12; - } else - t11 = t12; - t12 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t13 = t11.$ti; - t14 = t13._eval$1("_BuiltList<1>"); - t15 = t13._eval$1("List<1>"); - if (t14._is(t12)) { - t14._as(t12); - t11.set$__ListBuilder__list(t15._as(t12._list)); - t11.set$_listOwner(t12); - } else { - t11.set$__ListBuilder__list(t15._as(P.List_List$from(t12, true, t13._precomputed1))); - t11.set$_listOwner(_null); - } - break; - case "helices_view_order_inverse": - t11 = result.get$_copy_info$_$this(); - t12 = t11._helices_view_order_inverse; - if (t12 == null) { - t12 = new A.MapBuilder(_null, $, _null, t1); - t12.replace$1(0, C.Map_empty); - t11.set$_helices_view_order_inverse(t12); - t11 = t12; - } else - t11 = t12; - t11.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); - break; - } + A._$AppState.prototype = { + get$helix_idx_to_svg_position_map() { + var t1 = this.__helix_idx_to_svg_position_map; + if (t1 == null) { + t1 = A.AppState.prototype.get$helix_idx_to_svg_position_map.call(this); + this.set$__helix_idx_to_svg_position_map(t1); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + return t1; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_LU9; + get$has_error() { + var t1 = this.__has_error; + return t1 == null ? this.__has_error = A.AppState.prototype.get$has_error.call(this) : t1; }, - get$wireName: function() { - return "CopyInfo"; - } - }; - B._$CopyInfo.prototype = { - rebuild$1: function(updates) { + rebuild$1(updates) { var t1; - type$.legacy_void_Function_legacy_CopyInfoBuilder._as(updates); - t1 = new B.CopyInfoBuilder(); - t1._copy_info$_$v = this; - updates.call$1(t1); - return t1.build$0(); + type$.void_Function_AppStateBuilder._as(updates); + t1 = new A.AppStateBuilder(); + A.AppState__initializeBuilder(t1); + A.ArgumentError_checkNotNull(this, "other", type$.AppState); + t1._app_state$_$v = this; + type$.nullable_void_Function_AppStateBuilder._as(updates).call$1(t1); + return t1._app_state$_build$0(); }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof B.CopyInfo && J.$eq$(_this.strands, other.strands) && _this.copied_address.$eq(0, other.copied_address) && J.$eq$(_this.prev_paste_address, other.prev_paste_address) && J.$eq$(_this.translation, other.translation) && J.$eq$(_this.helices_view_order, other.helices_view_order) && J.$eq$(_this.helices_view_order_inverse, other.helices_view_order_inverse); + return other instanceof A.AppState && J.$eq$(_this.maybe_design, other.maybe_design) && J.$eq$(_this.ui_state, other.ui_state) && J.$eq$(_this.undo_redo, other.undo_redo) && _this.error_message == other.error_message; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._copy_info$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._app_state$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.maybe_design)), J.get$hashCode$(_this.ui_state)), J.get$hashCode$(_this.undo_redo)), J.get$hashCode$(_this.error_message))); + t1 = _this._app_state$__hashCode; if (t1 == null) { - t1 = _this.copied_address; - t1 = _this._copy_info$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), J.get$hashCode$(_this.prev_paste_address)), J.get$hashCode$(_this.translation)), J.get$hashCode$(_this.helices_view_order)), J.get$hashCode$(_this.helices_view_order_inverse))); + _this._app_state$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("CopyInfo"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppState"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands", _this.strands); - t2.add$2(t1, "copied_address", _this.copied_address); - t2.add$2(t1, "prev_paste_address", _this.prev_paste_address); - t2.add$2(t1, "translation", _this.translation); - t2.add$2(t1, "helices_view_order", _this.helices_view_order); - t2.add$2(t1, "helices_view_order_inverse", _this.helices_view_order_inverse); + t2.add$2(t1, "maybe_design", _this.maybe_design); + t2.add$2(t1, "ui_state", _this.ui_state); + t2.add$2(t1, "undo_redo", _this.undo_redo); + t2.add$2(t1, "error_message", _this.error_message); return t2.toString$0(t1); + }, + set$__helix_idx_to_svg_position_map(__helix_idx_to_svg_position_map) { + this.__helix_idx_to_svg_position_map = type$.nullable_BuiltMap_of_int_and_Point_double._as(__helix_idx_to_svg_position_map); } }; - B.CopyInfoBuilder.prototype = { - get$strands: function() { - var t1 = this.get$_copy_info$_$this(), - t2 = t1._copy_info$_strands; + A.AppStateBuilder.prototype = { + get$maybe_design() { + var t1 = this.get$_app_state$_$this(), + t2 = t1._maybe_design; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_copy_info$_strands(t2); + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + t1._maybe_design = t2; t1 = t2; } else t1 = t2; return t1; }, - get$copied_address: function() { - var t1 = this.get$_copy_info$_$this(), - t2 = t1._copied_address; - return t2 == null ? t1._copied_address = new Z.AddressBuilder() : t2; - }, - get$prev_paste_address: function() { - var t1 = this.get$_copy_info$_$this(), - t2 = t1._prev_paste_address; - return t2 == null ? t1._prev_paste_address = new Z.AddressBuilder() : t2; - }, - get$helices_view_order: function() { - var t1 = this.get$_copy_info$_$this(), - t2 = t1._helices_view_order; + get$ui_state() { + var t1 = this.get$_app_state$_$this(), + t2 = t1._ui_state; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_helices_view_order(t2); + t2 = new A.AppUIStateBuilder(); + A.AppUIState__initializeBuilder(t2); + t1._ui_state = t2; t1 = t2; } else t1 = t2; return t1; }, - get$helices_view_order_inverse: function() { - var t1 = this.get$_copy_info$_$this(), - t2 = t1._helices_view_order_inverse; + get$undo_redo() { + var t3, t4, t5, + t1 = this.get$_app_state$_$this(), + t2 = t1._undo_redo; if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_helices_view_order_inverse(t2); + t2 = new A.UndoRedoBuilder(); + t3 = type$.UndoRedoItem; + t4 = type$.nullable_ListBuilder_UndoRedoItem; + t5 = t4._as(A.ListBuilder_ListBuilder(B.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_undo_stack(t5); + t3 = t4._as(A.ListBuilder_ListBuilder(B.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_redo_stack(t3); + t1._undo_redo = t2; t1 = t2; } else t1 = t2; return t1; }, - get$_copy_info$_$this: function() { - var t1, t2, _this = this, - $$v = _this._copy_info$_$v; + get$_app_state$_$this() { + var t1, t2, t3, t4, t5, _this = this, _s5_ = "other", + $$v = _this._app_state$_$v; if ($$v != null) { - t1 = $$v.strands; - t1.toString; - _this.set$_copy_info$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.copied_address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._copied_address = t2; - t1 = $$v.prev_paste_address; - if (t1 == null) - t1 = null; - else { - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - t1 = t2; - } - _this._prev_paste_address = t1; - t1 = $$v.translation; + t1 = $$v.maybe_design; if (t1 == null) t1 = null; else { - t2 = new Z.AddressDifferenceBuilder(); - t2._address$_$v = t1; + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Design); + t2._design0$_$v = t1; t1 = t2; } - _this._translation = t1; - t1 = $$v.helices_view_order; - t1.toString; - _this.set$_helices_view_order(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.helices_view_order_inverse; + _this._maybe_design = t1; + t1 = $$v.ui_state; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._copy_info$_$v = null; + t2 = new A.AppUIStateBuilder(); + A.AppUIState__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, _s5_, type$.AppUIState); + t2._app_ui_state$_$v = t1; + _this._ui_state = t2; + t2 = $$v.undo_redo; + t2.toString; + t1 = new A.UndoRedoBuilder(); + t3 = type$.UndoRedoItem; + t4 = type$.nullable_ListBuilder_UndoRedoItem; + t5 = t4._as(A.ListBuilder_ListBuilder(B.List_empty, t3)); + t1.get$_undo_redo$_$this().set$_undo_stack(t5); + t3 = t4._as(A.ListBuilder_ListBuilder(B.List_empty, t3)); + t1.get$_undo_redo$_$this().set$_redo_stack(t3); + A.ArgumentError_checkNotNull(t2, _s5_, type$.UndoRedo); + t1._undo_redo$_$v = t2; + _this._undo_redo = t1; + _this._error_message = $$v.error_message; + _this._app_state$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, - _s8_ = "CopyInfo", - _s18_ = "helices_view_order", - _s26_ = "helices_view_order_inverse", + _app_state$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s8_ = "AppState", + _s8_0 = "ui_state", + _s9_ = "undo_redo", _$result = null; try { - _$result0 = _this._copy_info$_$v; + _$result0 = _this._app_state$_$v; if (_$result0 == null) { - t1 = _this.get$strands().build$0(); - t2 = _this.get$copied_address().build$0(); - t3 = _this._prev_paste_address; - t3 = t3 == null ? null : t3.build$0(); - t4 = _this._translation; - t4 = t4 == null ? null : t4.build$0(); - t5 = _this.get$helices_view_order().build$0(); - t6 = _this.get$helices_view_order_inverse().build$0(); - _$result0 = new B._$CopyInfo(t1, t2, t3, t4, t5, t6); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "strands")); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, _s18_)); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, _s26_)); + t1 = _this._maybe_design; + t1 = t1 == null ? null : t1._design0$_build$0(); + t2 = _this.get$ui_state()._app_ui_state$_build$0(); + t3 = _this.get$undo_redo()._undo_redo$_build$0(); + _$result0 = new A._$AppState(t1, t2, t3, _this.get$_app_state$_$this()._error_message); + A.BuiltValueNullFieldError_checkNotNull(t2, _s8_, _s8_0, type$.AppUIState); + A.BuiltValueNullFieldError_checkNotNull(t3, _s8_, _s9_, type$.UndoRedo); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strands"; - _this.get$strands().build$0(); - _$failedField = "copied_address"; - _this.get$copied_address().build$0(); - _$failedField = "prev_paste_address"; - t1 = _this._prev_paste_address; - if (t1 != null) - t1.build$0(); - _$failedField = "translation"; - t1 = _this._translation; + _$failedField._value = "maybe_design"; + t1 = _this._maybe_design; if (t1 != null) - t1.build$0(); - _$failedField = _s18_; - _this.get$helices_view_order().build$0(); - _$failedField = _s26_; - _this.get$helices_view_order_inverse().build$0(); + t1._design0$_build$0(); + _$failedField._value = _s8_0; + _this.get$ui_state()._app_ui_state$_build$0(); + _$failedField._value = _s9_; + _this.get$undo_redo()._undo_redo$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s8_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_CopyInfo._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._copy_info$_$v = t1; + t1 = type$.AppState; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._app_state$_$v = t2; return _$result; - }, - set$_copy_info$_strands: function(_strands) { - this._copy_info$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); - }, - set$_helices_view_order: function(_helices_view_order) { - this._helices_view_order = type$.legacy_ListBuilder_legacy_int._as(_helices_view_order); - }, - set$_helices_view_order_inverse: function(_helices_view_order_inverse) { - this._helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_helices_view_order_inverse); } }; - B._CopyInfo_Object_BuiltJsonSerializable.prototype = {}; - T.Crossover.prototype = { - get$select_mode: function() { - return C.SelectModeChoice_crossover; - }, - get$id: function(_) { - return "crossover-" + this.prev_domain_idx + "-" + this.next_domain_idx + "-" + H.S(this.strand_id); - }, - $isLinker: 1, - $isSelectable: 1 - }; - T.Crossover_Crossover_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_crossover$_$this()._crossover$_prev_domain_idx = _this.prev_domain_idx; - b.get$_crossover$_$this()._next_domain_idx = _this.next_domain_idx; - b.get$_crossover$_$this()._crossover$_strand_id = _this.strand_id; - b.get$_crossover$_$this()._crossover$_is_scaffold = _this.is_scaffold; - return b; - }, - $signature: 341 - }; - T._$CrossoverSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A.AppUIState.prototype = {}; + A._$AppUIStateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_Crossover._as(object); - result = H.setRuntimeTypeInfo(["prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, C.FullType_kjq), "next_domain_idx", serializers.serialize$2$specifiedType(object.next_domain_idx, C.FullType_kjq), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.strand_id; + type$.AppUIState._as(object); + result = ["selectables_store", serializers.serialize$2$specifiedType(object.selectables_store, B.FullType_y5f), "drawing_potential_crossover", serializers.serialize$2$specifiedType(object.drawing_potential_crossover, B.FullType_MtR), "dna_ends_are_moving", serializers.serialize$2$specifiedType(object.dna_ends_are_moving, B.FullType_MtR), "helix_group_is_moving", serializers.serialize$2$specifiedType(object.helix_group_is_moving, B.FullType_MtR), "show_load_dialog", serializers.serialize$2$specifiedType(object.show_load_dialog, B.FullType_MtR), "slice_bar_is_moving", serializers.serialize$2$specifiedType(object.slice_bar_is_moving, B.FullType_MtR), "selection_box_displayed_main", serializers.serialize$2$specifiedType(object.selection_box_displayed_main, B.FullType_MtR), "selection_box_displayed_side", serializers.serialize$2$specifiedType(object.selection_box_displayed_side, B.FullType_MtR), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, B.FullType_eRS), "helix_change_apply_to_all", serializers.serialize$2$specifiedType(object.helix_change_apply_to_all, B.FullType_MtR), "mouseover_datas", serializers.serialize$2$specifiedType(object.mouseover_datas, B.FullType_yLX), "example_designs", serializers.serialize$2$specifiedType(object.example_designs, B.FullType_Auo), "changed_since_last_save", serializers.serialize$2$specifiedType(object.changed_since_last_save, B.FullType_MtR), "dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, B.FullType_MME), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, B.FullType_MME), "is_zoom_above_threshold", serializers.serialize$2$specifiedType(object.is_zoom_above_threshold, B.FullType_MtR), "storables", serializers.serialize$2$specifiedType(object.storables, B.FullType_wEo), "original_helix_offsets", serializers.serialize$2$specifiedType(object.original_helix_offsets, B.FullType_i3t)]; + value = object.strands_move; + if (value != null) { + result.push("strands_move"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_VSS)); + } + value = object.domains_move; + if (value != null) { + result.push("domains_move"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_KIf)); + } + value = object.copy_info; + if (value != null) { + result.push("copy_info"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_miO)); + } + value = object.selection_rope; + if (value != null) { + result.push("selection_rope"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_H1G)); + } + value = object.last_mod_5p; + if (value != null) { + result.push("last_mod_5p"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p)); + } + value = object.last_mod_3p; + if (value != null) { + result.push("last_mod_3p"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p0)); + } + value = object.last_mod_int; + if (value != null) { + result.push("last_mod_int"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_eR6)); + } + value = object.dialog; + if (value != null) { + result.push("dialog"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Azp)); + } + value = object.color_picker_strand; + if (value != null) { + result.push("color_picker_strand"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_w0x)); + } + value = object.color_picker_substrand; + if (value != null) { + result.push("color_picker_substrand"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); + } + value = object.strand_creation; if (value != null) { - C.JSArray_methods.add$1(result, "strand_id"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + result.push("strand_creation"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_O92)); + } + value = object.side_view_grid_position_mouse_cursor; + if (value != null) { + result.push("side_view_grid_position_mouse_cursor"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_q96)); + } + value = object.side_view_position_mouse_cursor; + if (value != null) { + result.push("side_view_position_mouse_cursor"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_laS)); + } + value = object.context_menu; + if (value != null) { + result.push("context_menu"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Z6u)); + } + value = object.dna_sequence_png_uri; + if (value != null) { + result.push("dna_sequence_png_uri"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.export_svg_action_delayed_for_png_cache; + if (value != null) { + result.push("export_svg_action_delayed_for_png_cache"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_AqW)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new T.CrossoverBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, value, t31, t32, t33, t34, _null = null; + type$.Iterable_nullable_Object._as(serialized); + result = new A.AppUIStateBuilder(); + A.AppUIState__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.AppUIStateStorables, t2 = type$.ExportSvg, t3 = type$.ContextMenu, t4 = type$.nullable_Point_double, t5 = type$.GridPosition, t6 = type$.StrandCreation, t7 = type$.nullable_Substrand, t8 = type$.Strand, t9 = type$.Dialog, t10 = type$.ExampleDesigns, t11 = type$.nullable_ListBuilder_String, t12 = type$.String, t13 = type$.List_String, t14 = type$.ListBuilder_String, t15 = type$.BuiltList_nullable_Object, t16 = type$.MouseoverData, t17 = type$.List_MouseoverData, t18 = type$.ListBuilder_MouseoverData, t19 = type$.ModificationInternal, t20 = type$.Modification3Prime, t21 = type$.Modification5Prime, t22 = type$.SelectionRope, t23 = type$.DNAAssignOptions, t24 = type$.CopyInfo, t25 = type$.DomainsMove, t26 = type$.StrandsMove, t27 = type$.SelectablesStore, t28 = type$.SetBuilder_Selectable, t29 = type$.nullable_SetBuilder_Selectable; iterator.moveNext$0();) { + t30 = iterator.get$current(iterator); + t30.toString; + A._asStringS(t30); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "prev_domain_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_crossover$_$this()._crossover$_prev_domain_idx = t1; + switch (t30) { + case "selectables_store": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._selectables_store; + if (t31 == null) { + t31 = new A.SelectablesStoreBuilder(); + t32 = new A.SetBuilder(_null, $, _null, t28); + t32.replace$1(0, []); + t29._as(t32); + t31.set$_selected_items(t32); + t30._selectables_store = t31; + t30 = t31; + } else + t30 = t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_y5f); + t31.toString; + t27._as(t31); + t30._selectable$_$v = t31; break; - case "next_domain_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_crossover$_$this()._next_domain_idx = t1; + case "strands_move": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._strands_move; + t30 = t31 == null ? t30._strands_move = new A.StrandsMoveBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_VSS); + t31.toString; + t26._as(t31); + t30._strands_move$_$v = t31; break; - case "is_scaffold": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_crossover$_$this()._crossover$_is_scaffold = t1; + case "domains_move": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._domains_move; + t30 = t31 == null ? t30._domains_move = new A.DomainsMoveBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_KIf); + t31.toString; + t25._as(t31); + t30._domains_move$_$v = t31; break; - case "strand_id": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_crossover$_$this()._crossover$_strand_id = t1; + case "copy_info": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._copy_info; + t30 = t31 == null ? t30._copy_info = new A.CopyInfoBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_miO); + t31.toString; + t24._as(t31); + t30._copy_info$_$v = t31; + break; + case "drawing_potential_crossover": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._drawing_potential_crossover = t30; + break; + case "dna_ends_are_moving": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._dna_ends_are_moving = t30; + break; + case "helix_group_is_moving": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._helix_group_is_moving = t30; + break; + case "show_load_dialog": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._show_load_dialog = t30; + break; + case "slice_bar_is_moving": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._slice_bar_is_moving = t30; + break; + case "selection_box_displayed_main": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._selection_box_displayed_main = t30; + break; + case "selection_box_displayed_side": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._selection_box_displayed_side = t30; + break; + case "dna_assign_options": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._dna_assign_options; + if (t31 == null) { + t31 = new A.DNAAssignOptionsBuilder(); + t31.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = ""; + t31.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t31.get$_dna_assign_options$_$this()._assign_complements = true; + t31.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t31.get$_dna_assign_options$_$this()._m13_rotation = 5587; + t30._dna_assign_options = t31; + t30 = t31; + } else + t30 = t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_eRS); + t31.toString; + t23._as(t31); + t30._dna_assign_options$_$v = t31; + break; + case "helix_change_apply_to_all": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._helix_change_apply_to_all = t30; + break; + case "selection_rope": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._selection_rope; + t30 = t31 == null ? t30._selection_rope = new A.SelectionRopeBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_H1G); + t31.toString; + t22._as(t31); + t30._selection_rope$_$v = t31; + break; + case "last_mod_5p": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._last_mod_5p; + t30 = t31 == null ? t30._last_mod_5p = new A.Modification5PrimeBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p); + t31.toString; + t21._as(t31); + t30._modification$_$v = t31; + break; + case "last_mod_3p": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._last_mod_3p; + t30 = t31 == null ? t30._last_mod_3p = new A.Modification3PrimeBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p0); + t31.toString; + t20._as(t31); + t30._modification$_$v = t31; + break; + case "last_mod_int": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._last_mod_int; + t30 = t31 == null ? t30._last_mod_int = new A.ModificationInternalBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_eR6); + t31.toString; + t19._as(t31); + t30._modification$_$v = t31; + break; + case "mouseover_datas": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._mouseover_datas; + if (t31 == null) { + t31 = new A.ListBuilder(t18); + t31.set$__ListBuilder__list_A(t17._as(A.List_List$from(B.List_empty, true, t16))); + t31.set$_listOwner(_null); + t30.set$_mouseover_datas(t31); + t30 = t31; + } else + t30 = t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_yLX); + t31.toString; + t15._as(t31); + t32 = t30.$ti; + t33 = t32._eval$1("_BuiltList<1>"); + t34 = t32._eval$1("List<1>"); + if (t33._is(t31)) { + t33._as(t31); + t30.set$__ListBuilder__list_A(t34._as(t31._list)); + t30.set$_listOwner(t31); + } else { + t30.set$__ListBuilder__list_A(t34._as(A.List_List$from(t31, true, t32._precomputed1))); + t30.set$_listOwner(_null); + } + break; + case "example_designs": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._example_designs; + if (t31 == null) { + t31 = new A.ExampleDesignsBuilder(); + t31.get$_example_designs$_$this()._directory = "examples/output_designs"; + t32 = new A.ListBuilder(t14); + t32.set$__ListBuilder__list_A(t13._as(A.List_List$from(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], true, t12))); + t32.set$_listOwner(_null); + t11._as(t32); + t31.get$_example_designs$_$this().set$_filenames(t32); + t31.get$_example_designs$_$this()._selected_idx = -1; + t30._example_designs = t31; + t30 = t31; + } else + t30 = t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Auo); + t31.toString; + t10._as(t31); + t30._example_designs$_$v = t31; + break; + case "dialog": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._dialog; + t30 = t31 == null ? t30._dialog = new A.DialogBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Azp); + t31.toString; + t9._as(t31); + t30._dialog$_$v = t31; + break; + case "color_picker_strand": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._color_picker_strand; + t30 = t31 == null ? t30._color_picker_strand = new A.StrandBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t31.toString; + t8._as(t31); + t30._strand$_$v = t31; + break; + case "color_picker_substrand": + t30 = t7._as(serializers.deserialize$2$specifiedType(value, B.FullType_S4t)); + result.get$_app_ui_state$_$this()._color_picker_substrand = t30; + break; + case "strand_creation": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._strand_creation; + t30 = t31 == null ? t30._strand_creation = new A.StrandCreationBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_O92); + t31.toString; + t6._as(t31); + t30._strand_creation$_$v = t31; + break; + case "side_view_grid_position_mouse_cursor": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._side_view_grid_position_mouse_cursor; + t30 = t31 == null ? t30._side_view_grid_position_mouse_cursor = new A.GridPositionBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t31.toString; + t5._as(t31); + t30._grid_position$_$v = t31; + break; + case "side_view_position_mouse_cursor": + t30 = t4._as(t4._as(serializers.deserialize$2$specifiedType(value, B.FullType_laS))); + result.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t30); + break; + case "context_menu": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._context_menu; + t30 = t31 == null ? t30._context_menu = new A.ContextMenuBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Z6u); + t31.toString; + t3._as(t31); + t30._context_menu$_$v = t31; + break; + case "changed_since_last_save": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._changed_since_last_save = t30; + break; + case "dna_sequence_png_uri": + t30 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_app_ui_state$_$this()._dna_sequence_png_uri = t30; + break; + case "dna_sequence_png_horizontal_offset": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t30.toString; + A._asDoubleS(t30); + result.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t30; + break; + case "dna_sequence_png_vertical_offset": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t30.toString; + A._asDoubleS(t30); + result.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t30; + break; + case "export_svg_action_delayed_for_png_cache": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._export_svg_action_delayed_for_png_cache; + t30 = t31 == null ? t30._export_svg_action_delayed_for_png_cache = new A.ExportSvgBuilder() : t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_AqW); + t31.toString; + t2._as(t31); + t30._$v = t31; + break; + case "is_zoom_above_threshold": + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30.toString; + A._asBoolS(t30); + result.get$_app_ui_state$_$this()._is_zoom_above_threshold = t30; + break; + case "storables": + t30 = result.get$_app_ui_state$_$this(); + t31 = t30._storables; + if (t31 == null) { + t31 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t31); + t30._storables = t31; + t30 = t31; + } else + t30 = t31; + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_wEo); + t31.toString; + t1._as(t31); + t30._app_ui_state_storables$_$v = t31; + break; + case "original_helix_offsets": + t30 = result.get$original_helix_offsets(); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_i3t); + t31.toString; + t30.replace$1(0, t31); break; } } - return result.build$0(); + return result._app_ui_state$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_go8; + get$types() { + return B.List_cMx; }, - get$wireName: function() { - return "Crossover"; + get$wireName() { + return "AppUIState"; } }; - T._$Crossover.prototype = { - get$select_mode: function() { - var t1 = this._crossover$__select_mode; - return t1 == null ? this._crossover$__select_mode = T.Crossover.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._crossover$__id; - return t1 == null ? _this._crossover$__id = T.Crossover.prototype.get$id.call(_this, _this) : t1; + A._$AppUIState.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_AppUIStateBuilder._as(updates); + t1 = new A.AppUIStateBuilder(); + A.AppUIState__initializeBuilder(t1); + A.ArgumentError_checkNotNull(this, "other", type$.AppUIState); + t1._app_ui_state$_$v = this; + type$.nullable_void_Function_AppUIStateBuilder._as(updates).call$1(t1); + return t1._app_ui_state$_build$0(); }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof T.Crossover && _this.prev_domain_idx === other.prev_domain_idx && _this.next_domain_idx === other.next_domain_idx && _this.is_scaffold === other.is_scaffold && _this.strand_id == other.strand_id; + return other instanceof A.AppUIState && J.$eq$(_this.selectables_store, other.selectables_store) && J.$eq$(_this.strands_move, other.strands_move) && J.$eq$(_this.domains_move, other.domains_move) && J.$eq$(_this.copy_info, other.copy_info) && _this.drawing_potential_crossover === other.drawing_potential_crossover && _this.dna_ends_are_moving === other.dna_ends_are_moving && _this.helix_group_is_moving === other.helix_group_is_moving && _this.show_load_dialog === other.show_load_dialog && _this.slice_bar_is_moving === other.slice_bar_is_moving && _this.selection_box_displayed_main === other.selection_box_displayed_main && _this.selection_box_displayed_side === other.selection_box_displayed_side && _this.dna_assign_options.$eq(0, other.dna_assign_options) && _this.helix_change_apply_to_all === other.helix_change_apply_to_all && J.$eq$(_this.selection_rope, other.selection_rope) && J.$eq$(_this.last_mod_5p, other.last_mod_5p) && J.$eq$(_this.last_mod_3p, other.last_mod_3p) && J.$eq$(_this.last_mod_int, other.last_mod_int) && J.$eq$(_this.mouseover_datas, other.mouseover_datas) && J.$eq$(_this.example_designs, other.example_designs) && J.$eq$(_this.dialog, other.dialog) && J.$eq$(_this.color_picker_strand, other.color_picker_strand) && J.$eq$(_this.color_picker_substrand, other.color_picker_substrand) && J.$eq$(_this.strand_creation, other.strand_creation) && J.$eq$(_this.side_view_grid_position_mouse_cursor, other.side_view_grid_position_mouse_cursor) && J.$eq$(_this.side_view_position_mouse_cursor, other.side_view_position_mouse_cursor) && J.$eq$(_this.context_menu, other.context_menu) && _this.changed_since_last_save === other.changed_since_last_save && _this.dna_sequence_png_uri == other.dna_sequence_png_uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset && J.$eq$(_this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache) && _this.is_zoom_above_threshold === other.is_zoom_above_threshold && J.$eq$(_this.storables, other.storables) && J.$eq$(_this.original_helix_offsets, other.original_helix_offsets); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._crossover$__hashCode; - return t1 == null ? _this._crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.prev_domain_idx)), C.JSInt_methods.get$hashCode(_this.next_domain_idx)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.strand_id))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this.__hashCode; + if (t1 != null) + return t1; + t1 = _this.dna_assign_options; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.selectables_store)), J.get$hashCode$(_this.strands_move)), J.get$hashCode$(_this.domains_move)), J.get$hashCode$(_this.copy_info)), B.JSBool_methods.get$hashCode(_this.drawing_potential_crossover)), B.JSBool_methods.get$hashCode(_this.dna_ends_are_moving)), B.JSBool_methods.get$hashCode(_this.helix_group_is_moving)), B.JSBool_methods.get$hashCode(_this.show_load_dialog)), B.JSBool_methods.get$hashCode(_this.slice_bar_is_moving)), B.JSBool_methods.get$hashCode(_this.selection_box_displayed_main)), B.JSBool_methods.get$hashCode(_this.selection_box_displayed_side)), t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(_this.helix_change_apply_to_all)), J.get$hashCode$(_this.selection_rope)), J.get$hashCode$(_this.last_mod_5p)), J.get$hashCode$(_this.last_mod_3p)), J.get$hashCode$(_this.last_mod_int)), J.get$hashCode$(_this.mouseover_datas)), J.get$hashCode$(_this.example_designs)), J.get$hashCode$(_this.dialog)), J.get$hashCode$(_this.color_picker_strand)), J.get$hashCode$(_this.color_picker_substrand)), J.get$hashCode$(_this.strand_creation)), J.get$hashCode$(_this.side_view_grid_position_mouse_cursor)), J.get$hashCode$(_this.side_view_position_mouse_cursor)), J.get$hashCode$(_this.context_menu)), B.JSBool_methods.get$hashCode(_this.changed_since_last_save)), J.get$hashCode$(_this.dna_sequence_png_uri)), B.JSNumber_methods.get$hashCode(_this.dna_sequence_png_horizontal_offset)), B.JSNumber_methods.get$hashCode(_this.dna_sequence_png_vertical_offset)), J.get$hashCode$(_this.export_svg_action_delayed_for_png_cache)), B.JSBool_methods.get$hashCode(_this.is_zoom_above_threshold)), J.get$hashCode$(_this.storables)), J.get$hashCode$(_this.original_helix_offsets))); + t1 = _this.__hashCode; + if (t1 == null) { + _this.__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Crossover"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIState"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); - t2.add$2(t1, "next_domain_idx", _this.next_domain_idx); - t2.add$2(t1, "is_scaffold", _this.is_scaffold); - t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "selectables_store", _this.selectables_store); + t2.add$2(t1, "strands_move", _this.strands_move); + t2.add$2(t1, "domains_move", _this.domains_move); + t2.add$2(t1, "copy_info", _this.copy_info); + t2.add$2(t1, "drawing_potential_crossover", _this.drawing_potential_crossover); + t2.add$2(t1, "dna_ends_are_moving", _this.dna_ends_are_moving); + t2.add$2(t1, "helix_group_is_moving", _this.helix_group_is_moving); + t2.add$2(t1, "show_load_dialog", _this.show_load_dialog); + t2.add$2(t1, "slice_bar_is_moving", _this.slice_bar_is_moving); + t2.add$2(t1, "selection_box_displayed_main", _this.selection_box_displayed_main); + t2.add$2(t1, "selection_box_displayed_side", _this.selection_box_displayed_side); + t2.add$2(t1, "dna_assign_options", _this.dna_assign_options); + t2.add$2(t1, "helix_change_apply_to_all", _this.helix_change_apply_to_all); + t2.add$2(t1, "selection_rope", _this.selection_rope); + t2.add$2(t1, "last_mod_5p", _this.last_mod_5p); + t2.add$2(t1, "last_mod_3p", _this.last_mod_3p); + t2.add$2(t1, "last_mod_int", _this.last_mod_int); + t2.add$2(t1, "mouseover_datas", _this.mouseover_datas); + t2.add$2(t1, "example_designs", _this.example_designs); + t2.add$2(t1, "dialog", _this.dialog); + t2.add$2(t1, "color_picker_strand", _this.color_picker_strand); + t2.add$2(t1, "color_picker_substrand", _this.color_picker_substrand); + t2.add$2(t1, "strand_creation", _this.strand_creation); + t2.add$2(t1, "side_view_grid_position_mouse_cursor", _this.side_view_grid_position_mouse_cursor); + t2.add$2(t1, "side_view_position_mouse_cursor", _this.side_view_position_mouse_cursor); + t2.add$2(t1, "context_menu", _this.context_menu); + t2.add$2(t1, "changed_since_last_save", _this.changed_since_last_save); + t2.add$2(t1, "dna_sequence_png_uri", _this.dna_sequence_png_uri); + t2.add$2(t1, "dna_sequence_png_horizontal_offset", _this.dna_sequence_png_horizontal_offset); + t2.add$2(t1, "dna_sequence_png_vertical_offset", _this.dna_sequence_png_vertical_offset); + t2.add$2(t1, "export_svg_action_delayed_for_png_cache", _this.export_svg_action_delayed_for_png_cache); + t2.add$2(t1, "is_zoom_above_threshold", _this.is_zoom_above_threshold); + t2.add$2(t1, "storables", _this.storables); + t2.add$2(t1, "original_helix_offsets", _this.original_helix_offsets); return t2.toString$0(t1); - }, - get$prev_domain_idx: function() { - return this.prev_domain_idx; - }, - get$next_domain_idx: function() { - return this.next_domain_idx; - }, - get$is_scaffold: function() { - return this.is_scaffold; - }, - get$strand_id: function() { - return this.strand_id; } }; - T.CrossoverBuilder.prototype = { - get$_crossover$_$this: function() { - var _this = this, - $$v = _this._crossover$_$v; - if ($$v != null) { - _this._crossover$_prev_domain_idx = $$v.prev_domain_idx; - _this._next_domain_idx = $$v.next_domain_idx; - _this._crossover$_is_scaffold = $$v.is_scaffold; - _this._crossover$_strand_id = $$v.strand_id; - _this._crossover$_$v = null; - } - return _this; - }, - build$0: function() { - var t1, t2, t3, _this = this, - _s9_ = "Crossover", - _$result = _this._crossover$_$v; - if (_$result == null) { - t1 = _this.get$_crossover$_$this()._crossover$_prev_domain_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "prev_domain_idx")); - t2 = _this.get$_crossover$_$this()._next_domain_idx; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "next_domain_idx")); - t3 = _this.get$_crossover$_$this()._crossover$_is_scaffold; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "is_scaffold")); - _$result = new T._$Crossover(t1, t2, t3, _this.get$_crossover$_$this()._crossover$_strand_id); - } - return _this._crossover$_$v = _$result; - } - }; - T._Crossover_Object_SelectableMixin.prototype = {}; - T._Crossover_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - N.Design.prototype = { - helices_in_group$1: function(group_name) { - var t1 = this.helices, - t2 = t1._map$_map, - t3 = H._instanceType(t1); - t3 = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); - t3.removeWhere$1(0, new N.Design_helices_in_group_closure(group_name)); - return A.BuiltMap_BuiltMap$from(t3, type$.legacy_int, type$.legacy_Helix); - }, - get$is_origami: function() { - for (var t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) - if (t1.get$current(t1).is_scaffold) - return true; - return false; + A.AppUIStateBuilder.prototype = { + get$selectables_store() { + var t3, + t1 = this.get$_app_ui_state$_$this(), + t2 = t1._selectables_store; + if (t2 == null) { + t2 = new A.SelectablesStoreBuilder(); + t3 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + t1._selectables_store = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - group_names_of_strands$1: function(selected_strands) { - var t2, t3, t4, groups_of_selected_strands, t5, t6, - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_Strand._as(selected_strands)); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__domains; - if (t4 == null) { - t4 = E.Strand.prototype.get$domains.call(t3); - t3.set$__domains(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - t1.add$1(0, t3.get$current(t3).helix); - } - t2 = type$.legacy_String; - groups_of_selected_strands = P.LinkedHashSet_LinkedHashSet$_empty(t2); - for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t3 = this.helices; t1.moveNext$0();) { - t4 = t1._collection$_current; - t5 = t3._map$_map; - t6 = J.getInterceptor$asx(t5); - if (t6.$index(t5, t4) == null) - return null; - groups_of_selected_strands.add$1(0, t6.$index(t5, t4).group); - } - return X._BuiltSet$of(groups_of_selected_strands, t2); + get$dna_assign_options() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._dna_assign_options; + if (t2 == null) { + t2 = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(t2); + t1._dna_assign_options = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - get$color_of_domain: function() { - var t3, t4, t5, - t1 = type$.legacy_Domain, - t2 = type$.legacy_Color, - map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t3 = J.get$iterator$ax(this.strands._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - } - t5 = J.get$iterator$ax(t5._list); - t4 = t4.color; - for (; t5.moveNext$0();) - map.$indexSet(0, t5.get$current(t5), t4); - } - return A.BuiltMap_BuiltMap$of(map, t1, t2); + get$mouseover_datas() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._mouseover_datas; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverData); + t1.set$_mouseover_datas(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - group_of_helix_idx$1: function(helix_idx) { - var t1 = J.$index$asx(this.helices._map$_map, helix_idx).group; - return J.$index$asx(this.groups._map$_map, t1); + get$example_designs() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._example_designs; + if (t2 == null) { + t2 = new A.ExampleDesignsBuilder(); + A.ExampleDesigns__initializeBuilder(t2); + t1._example_designs = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - group_name_of_strand$1: function(strand) { - var t1 = strand.get$first_domain().helix, - t2 = this.helices._map$_map, - t3 = J.getInterceptor$asx(t2), - first_group_name = t3.$index(t2, t1).group; - for (t1 = J.get$iterator$ax(strand.get$domains()._list); t1.moveNext$0();) - if (first_group_name !== t3.$index(t2, t1.get$current(t1).helix).group) - return null; - return first_group_name; + get$storables() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._storables; + if (t2 == null) { + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + t1._storables = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - group_names_of_domains$1: function(domains) { - var t2, t3, t4, t5, - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_Domain._as(domains)._list); t2.moveNext$0();) - t1.add$1(0, t2.get$current(t2).helix); - t2 = type$.legacy_String; - t3 = P.LinkedHashSet_LinkedHashSet$_empty(t2); - for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t4 = this.helices; t1.moveNext$0();) { - t5 = t1._collection$_current; - t3.add$1(0, J.$index$asx(t4._map$_map, t5).group); - } - return X._BuiltSet$of(t3, t2); + get$original_helix_offsets() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._original_helix_offsets; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); + t1.set$_original_helix_offsets(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - group_names_of_ends$1: function(ends) { - var t2, t3, t4, t5, substrand, helix_idx, _this = this, - t1 = type$.legacy_String, - names = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_DNAEnd._as(ends)._list), t3 = _this.helices; t2.moveNext$0();) { - t4 = t2.get$current(t2); - t5 = _this.__end_to_domain; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_domain.call(_this); - _this.set$__end_to_domain(t5); + get$_app_ui_state$_$this() { + var t1, t2, t3, _this = this, _null = null, _s5_ = "other", + $$v = _this._app_ui_state$_$v; + if ($$v != null) { + t1 = $$v.selectables_store; + t1.toString; + t2 = new A.SelectablesStoreBuilder(); + t3 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + A.ArgumentError_checkNotNull(t1, _s5_, type$.SelectablesStore); + t2._selectable$_$v = t1; + _this._selectables_store = t2; + t2 = $$v.strands_move; + if (t2 == null) + t1 = _null; + else { + t1 = new A.StrandsMoveBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, type$.StrandsMove); + t1._strands_move$_$v = t2; } - substrand = J.$index$asx(t5._map$_map, t4); - if (substrand == null) { - t5 = _this.__end_to_extension; - if (t5 == null) { - t5 = N.Design.prototype.get$end_to_extension.call(_this); - _this.set$__end_to_extension(t5); - } - substrand = J.$index$asx(t5._map$_map, t4).adjacent_domain; + _this._strands_move = t1; + t1 = $$v.domains_move; + if (t1 == null) + t1 = _null; + else { + t2 = new A.DomainsMoveBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.DomainsMove); + t2._domains_move$_$v = t1; + t1 = t2; } - helix_idx = substrand.helix; - names.add$1(0, J.$index$asx(t3._map$_map, helix_idx).group); - } - return X._BuiltSet$of(names, t1); - }, - get$address_crossover_pairs_by_helix_idx: function() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, is_prev, _i, dom, address_crossover_pair_list, offset, start_crossover_pair_list, - t1 = type$.legacy_int, - address_crossover_pairs = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); - for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; t2.moveNext$0();) - address_crossover_pairs.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); - for (t2 = J.get$iterator$ax(this.strands._list), t3 = type$.Tuple2_of_legacy_Address_and_legacy_Crossover, t4 = type$.legacy_Domain; t2.moveNext$0();) { - t5 = t2.get$current(t2); - t6 = t5.__crossovers; - if (t6 == null) { - t6 = E.Strand.prototype.get$crossovers.call(t5); - t5.set$__crossovers(t6); + _this._domains_move = t1; + t1 = $$v.copy_info; + if (t1 == null) + t1 = _null; + else { + t2 = new A.CopyInfoBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.CopyInfo); + t2._copy_info$_$v = t1; + t1 = t2; } - t6 = J.get$iterator$ax(t6._list); - t5 = t5.substrands; - for (; t6.moveNext$0();) { - t7 = t6.get$current(t6); - t8 = t7.prev_domain_idx; - t9 = t5._list; - t10 = J.getInterceptor$asx(t9); - for (t8 = [t4._as(t10.$index(t9, t8)), t4._as(t10.$index(t9, t7.next_domain_idx))], is_prev = true, _i = 0; _i < 2; ++_i, is_prev = false) { - dom = t8[_i]; - t9 = dom.helix; - address_crossover_pair_list = address_crossover_pairs.$index(0, t9); - if (!(is_prev && dom.forward)) - t10 = !is_prev && !dom.forward; - else - t10 = true; - offset = t10 ? dom.end - 1 : dom.start; - t10 = dom.forward; - (address_crossover_pair_list && C.JSArray_methods).add$1(address_crossover_pair_list, new S.Tuple2(new Z._$Address(t9, offset, t10), t7, t3)); - } + _this._copy_info = t1; + _this._drawing_potential_crossover = $$v.drawing_potential_crossover; + _this._dna_ends_are_moving = $$v.dna_ends_are_moving; + _this._helix_group_is_moving = $$v.helix_group_is_moving; + _this._show_load_dialog = $$v.show_load_dialog; + _this._slice_bar_is_moving = $$v.slice_bar_is_moving; + _this._selection_box_displayed_main = $$v.selection_box_displayed_main; + _this._selection_box_displayed_side = $$v.selection_box_displayed_side; + t1 = $$v.dna_assign_options; + t2 = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, _s5_, type$.DNAAssignOptions); + t2._dna_assign_options$_$v = t1; + _this._dna_assign_options = t2; + _this._helix_change_apply_to_all = $$v.helix_change_apply_to_all; + t2 = $$v.selection_rope; + if (t2 == null) + t1 = _null; + else { + t1 = new A.SelectionRopeBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, type$.SelectionRope); + t1._selection_rope$_$v = t2; } - } - for (t2 = address_crossover_pairs.get$keys(address_crossover_pairs), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - start_crossover_pair_list = address_crossover_pairs.$index(0, t2.get$current(t2)); - start_crossover_pair_list.toString; - t3 = H._arrayInstanceType(start_crossover_pair_list); - t4 = t3._eval$1("int(1,1)?")._as(new N.Design_address_crossover_pairs_by_helix_idx_closure()); - if (!!start_crossover_pair_list.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t3 = t3._precomputed1; - t5 = start_crossover_pair_list.length - 1; - if (t5 - 0 <= 32) - H.Sort__insertionSort(start_crossover_pair_list, 0, t5, t4, t3); - else - H.Sort__dualPivotQuicksort(start_crossover_pair_list, 0, t5, t4, t3); - } - t2 = type$.legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; - t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t4 = address_crossover_pairs.get$keys(address_crossover_pairs), t4 = t4.get$iterator(t4), t5 = type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; t4.moveNext$0();) { - t6 = t4.get$current(t4); - t3.$indexSet(0, t6, D.BuiltList_BuiltList$of(address_crossover_pairs.$index(0, t6), t5)); - } - return A.BuiltMap_BuiltMap$of(t3, t1, t2); - }, - get$strands_by_id: function() { - var t1, t2, t3, t4, t5, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__id; - t5 = t3._as(t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5); - t2._as(t4); - builder._checkKey$1(t5); - builder._checkValue$1(t4); - J.$indexSet$ax(builder.get$_safeMap(), t5, t4); - } - return builder.build$0(); - }, - get$domains_by_id: function() { - var t1, t2, t3, t4, t5, t6, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Domain); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._domain$__id; - t6 = t3._as(t6 == null ? t5._domain$__id = G.Domain.prototype.get$id.call(t5, t5) : t6); - t2._as(t5); - builder._checkKey$1(t6); - builder._checkValue$1(t5); - J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + _this._selection_rope = t1; + t1 = $$v.last_mod_5p; + if (t1 == null) + t1 = _null; + else { + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification5Prime); + t2._modification$_$v = t1; + t1 = t2; } - } - return builder.build$0(); - }, - get$loopouts_by_id: function() { - var t1, t2, t3, t4, t5, t6, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Loopout); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__loopouts; - if (t5 == null) { - t5 = E.Strand.prototype.get$loopouts.call(t4); - t4.set$__loopouts(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._loopout$__id; - t6 = t3._as(t6 == null ? t5._loopout$__id = G.Loopout.prototype.get$id.call(t5, t5) : t6); - t2._as(t5); - builder._checkKey$1(t6); - builder._checkValue$1(t5); - J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + _this._last_mod_5p = t1; + t1 = $$v.last_mod_3p; + if (t1 == null) + t1 = _null; + else { + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification3Prime); + t2._modification$_$v = t1; + t1 = t2; } - } - return builder.build$0(); - }, - get$extensions_by_id: function() { - var t1, t2, t3, t4, t5, t6, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Extension); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__extensions; - if (t5 == null) { - t5 = E.Strand.prototype.get$extensions.call(t4, t4); - t4.set$__extensions(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._extension$__id; - t6 = t3._as(t6 == null ? t5._extension$__id = S.Extension.prototype.get$id.call(t5, t5) : t6); - t2._as(t5); - builder._checkKey$1(t6); - builder._checkValue$1(t5); - J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + _this._last_mod_3p = t1; + t1 = $$v.last_mod_int; + if (t1 == null) + t1 = _null; + else { + t2 = new A.ModificationInternalBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ModificationInternal); + t2._modification$_$v = t1; + t1 = t2; } - } - return builder.build$0(); - }, - get$crossovers_by_id: function() { - var t1, t2, t3, t4, t5, t6, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Crossover); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__crossovers; - if (t5 == null) { - t5 = E.Strand.prototype.get$crossovers.call(t4); - t4.set$__crossovers(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._crossover$__id; - t6 = t3._as(t6 == null ? t5._crossover$__id = T.Crossover.prototype.get$id.call(t5, t5) : t6); - t2._as(t5); - builder._checkKey$1(t6); - builder._checkValue$1(t5); - J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + _this._last_mod_int = t1; + t1 = $$v.mouseover_datas; + t1.toString; + _this.set$_mouseover_datas(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.example_designs; + t1.toString; + t2 = new A.ExampleDesignsBuilder(); + A.ExampleDesigns__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ExampleDesigns); + t2._example_designs$_$v = t1; + _this._example_designs = t2; + t2 = $$v.dialog; + if (t2 == null) + t1 = _null; + else { + t1 = new A.DialogBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, type$.Dialog); + t1._dialog$_$v = t2; } - } - return builder.build$0(); - }, - get$deletions_by_id: function() { - var t1, t2, t3, t4, t5, t6, t7, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_SelectableDeletion); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._domain$__selectable_deletions; - if (t6 == null) { - t6 = G.Domain.prototype.get$selectable_deletions.call(t5); - t5.set$_domain$__selectable_deletions(t6); - t5 = t6; - } else - t5 = t6; - t5 = J.get$iterator$ax(t5._list); - for (; t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6._selectable$__id; - t7 = t3._as(t7 == null ? t6._selectable$__id = E.SelectableDeletion.prototype.get$id.call(t6, t6) : t7); - t2._as(t6); - builder._checkKey$1(t7); - builder._checkValue$1(t6); - J.$indexSet$ax(builder.get$_safeMap(), t7, t6); - } + _this._dialog = t1; + t1 = $$v.color_picker_strand; + if (t1 == null) + t1 = _null; + else { + t2 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Strand); + t2._strand$_$v = t1; + t1 = t2; } - } - return builder.build$0(); - }, - get$insertions_by_id: function() { - var t1, t2, t3, t4, t5, t6, t7, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_SelectableInsertion); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5._domain$__selectable_insertions; - if (t6 == null) { - t6 = G.Domain.prototype.get$selectable_insertions.call(t5); - t5.set$_domain$__selectable_insertions(t6); - t5 = t6; - } else - t5 = t6; - t5 = J.get$iterator$ax(t5._list); - for (; t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6._selectable$__id; - t7 = t3._as(t7 == null ? t6._selectable$__id = E.SelectableInsertion.prototype.get$id.call(t6, t6) : t7); - t2._as(t6); - builder._checkKey$1(t7); - builder._checkValue$1(t6); - J.$indexSet$ax(builder.get$_safeMap(), t7, t6); - } + _this._color_picker_strand = t1; + _this._color_picker_substrand = $$v.color_picker_substrand; + t1 = $$v.strand_creation; + if (t1 == null) + t1 = _null; + else { + t2 = new A.StrandCreationBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.StrandCreation); + t2._strand_creation$_$v = t1; + t1 = t2; } - } - return builder.build$0(); - }, - get$modifications_by_id: function() { - var t2, t3, t4, t5, t6, t7, - t1 = type$.legacy_SelectableModification, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, t1); - for (t2 = J.get$iterator$ax(this.strands._list), t3 = builder.$ti, t4 = t3._precomputed1, t3 = t3._rest[1]; t2.moveNext$0();) { - t5 = t2.get$current(t2); - t6 = t5.__selectable_modifications; - if (t6 == null) { - t6 = E.Strand.prototype.get$selectable_modifications.call(t5); - t5.set$__selectable_modifications(t6); - t5 = t6; - } else - t5 = t6; - t5 = J.get$iterator$ax(t5._list); - for (; t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.get$id(t6); - t1._as(t6); - t4._as(t7); - t3._as(t6); - builder._checkKey$1(t7); - builder._checkValue$1(t6); - J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + _this._strand_creation = t1; + t1 = $$v.side_view_grid_position_mouse_cursor; + if (t1 == null) + t1 = _null; + else { + t2 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.GridPosition); + t2._grid_position$_$v = t1; + t1 = t2; + } + _this._side_view_grid_position_mouse_cursor = t1; + _this.set$_side_view_position_mouse_cursor($$v.side_view_position_mouse_cursor); + t1 = $$v.context_menu; + if (t1 == null) + t1 = _null; + else { + t2 = new A.ContextMenuBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ContextMenu); + t2._context_menu$_$v = t1; + t1 = t2; + } + _this._context_menu = t1; + _this._changed_since_last_save = $$v.changed_since_last_save; + _this._dna_sequence_png_uri = $$v.dna_sequence_png_uri; + _this._dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; + _this._dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; + t1 = $$v.export_svg_action_delayed_for_png_cache; + if (t1 == null) + t1 = _null; + else { + t2 = new A.ExportSvgBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ExportSvg); + t2._$v = t1; + t1 = t2; } + _this._export_svg_action_delayed_for_png_cache = t1; + _this._is_zoom_above_threshold = $$v.is_zoom_above_threshold; + t1 = $$v.storables; + t1.toString; + t2 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, _s5_, type$.AppUIStateStorables); + t2._app_ui_state_storables$_$v = t1; + _this._storables = t2; + t2 = $$v.original_helix_offsets; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_original_helix_offsets(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._app_ui_state$_$v = null; } - return builder.build$0(); + return _this; }, - get$ends_by_id: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, - builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_DNAEnd); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - } - t5 = J.get$iterator$ax(t5._list); - for (; t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = t6.__dnaend_start; - if (t7 == null) - t7 = t6.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t6); - t8 = t7._dna_end$__id; - t7 = t8 == null ? t7._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t7, t7) : t8; - t8 = t6.__dnaend_start; - if (t8 == null) - t8 = t6.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t6); - t3._as(t7); - t2._as(t8); - builder._checkKey$1(t7); - builder._checkValue$1(t8); - J.$indexSet$ax(builder.get$_safeMap(), t7, t8); - t8 = t6.__dnaend_end; - t7 = t8 == null ? t6.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t6) : t8; - t8 = t7._dna_end$__id; - t7 = t8 == null ? t7._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t7, t7) : t8; - t8 = t6.__dnaend_end; - t6 = t8 == null ? t6.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t6) : t8; - t3._as(t7); - t2._as(t6); - builder._checkKey$1(t7); - builder._checkValue$1(t6); - J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + _app_ui_state$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, exception, _this = this, _null = null, + _s10_ = "AppUIState", + _s27_ = "drawing_potential_crossover", + _s19_ = "dna_ends_are_moving", + _s21_ = "helix_group_is_moving", + _s16_ = "show_load_dialog", + _s19_0 = "slice_bar_is_moving", + _s28_ = "selection_box_displayed_main", + _s28_0 = "selection_box_displayed_side", + _s25_ = "helix_change_apply_to_all", + _s23_ = "changed_since_last_save", + _s34_ = "dna_sequence_png_horizontal_offset", + _s32_ = "dna_sequence_png_vertical_offset", + _s23_0 = "is_zoom_above_threshold", + _s17_ = "selectables_store", + _s18_ = "dna_assign_options", + _s15_ = "mouseover_datas", + _s15_0 = "example_designs", + _s9_ = "storables", + _s22_ = "original_helix_offsets", + _$result = null; + try { + _$result0 = _this._app_ui_state$_$v; + if (_$result0 == null) { + t1 = _this.get$selectables_store()._selectable$_build$0(); + t2 = _this._strands_move; + t2 = t2 == null ? _null : t2._strands_move$_build$0(); + t3 = _this._domains_move; + t3 = t3 == null ? _null : t3._domains_move$_build$0(); + t4 = _this._copy_info; + t4 = t4 == null ? _null : t4._copy_info$_build$0(); + t5 = type$.bool; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._drawing_potential_crossover, _s10_, _s27_, t5); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._dna_ends_are_moving, _s10_, _s19_, t5); + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._helix_group_is_moving, _s10_, _s21_, t5); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._show_load_dialog, _s10_, _s16_, t5); + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._slice_bar_is_moving, _s10_, _s19_0, t5); + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._selection_box_displayed_main, _s10_, _s28_, t5); + t12 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._selection_box_displayed_side, _s10_, _s28_0, t5); + t13 = _this.get$dna_assign_options()._dna_assign_options$_build$0(); + t14 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._helix_change_apply_to_all, _s10_, _s25_, t5); + t15 = _this._selection_rope; + t15 = t15 == null ? _null : t15._selection_rope$_build$0(); + t16 = _this._last_mod_5p; + t16 = t16 == null ? _null : t16._modification$_build$0(); + t17 = _this._last_mod_3p; + t17 = t17 == null ? _null : t17._modification$_build$0(); + t18 = _this._last_mod_int; + t18 = t18 == null ? _null : t18._modification$_build$0(); + t19 = _this.get$mouseover_datas().build$0(); + t20 = _this.get$example_designs()._example_designs$_build$0(); + t21 = _this._dialog; + t21 = t21 == null ? _null : t21._dialog$_build$0(); + t22 = _this._color_picker_strand; + t22 = t22 == null ? _null : t22._strand$_build$0(); + t23 = _this.get$_app_ui_state$_$this()._color_picker_substrand; + t24 = _this._strand_creation; + t24 = t24 == null ? _null : t24._strand_creation$_build$0(); + t25 = _this._side_view_grid_position_mouse_cursor; + t25 = t25 == null ? _null : t25._grid_position$_build$0(); + t26 = _this.get$_app_ui_state$_$this()._side_view_position_mouse_cursor; + t27 = _this._context_menu; + t27 = t27 == null ? _null : t27._context_menu$_build$0(); + t28 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._changed_since_last_save, _s10_, _s23_, t5); + t29 = _this.get$_app_ui_state$_$this()._dna_sequence_png_uri; + t30 = type$.double; + t31 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset, _s10_, _s34_, t30); + t32 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset, _s10_, _s32_, t30); + t33 = _this._export_svg_action_delayed_for_png_cache; + t33 = t33 == null ? _null : t33._build$0(); + t34 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state$_$this()._is_zoom_above_threshold, _s10_, _s23_0, t5); + t35 = _this.get$storables()._app_ui_state_storables$_build$0(); + t36 = _this.get$original_helix_offsets().build$0(); + _$result0 = new A._$AppUIState(t1, t2, t3, t4, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t31, t32, t33, t34, t35, t36); + A.BuiltValueNullFieldError_checkNotNull(t1, _s10_, _s17_, type$.SelectablesStore); + A.BuiltValueNullFieldError_checkNotNull(t6, _s10_, _s27_, t5); + A.BuiltValueNullFieldError_checkNotNull(t7, _s10_, _s19_, t5); + A.BuiltValueNullFieldError_checkNotNull(t8, _s10_, _s21_, t5); + A.BuiltValueNullFieldError_checkNotNull(t9, _s10_, _s16_, t5); + A.BuiltValueNullFieldError_checkNotNull(t10, _s10_, _s19_0, t5); + A.BuiltValueNullFieldError_checkNotNull(t11, _s10_, _s28_, t5); + A.BuiltValueNullFieldError_checkNotNull(t12, _s10_, _s28_0, t5); + A.BuiltValueNullFieldError_checkNotNull(t13, _s10_, _s18_, type$.DNAAssignOptions); + A.BuiltValueNullFieldError_checkNotNull(t14, _s10_, _s25_, t5); + A.BuiltValueNullFieldError_checkNotNull(t19, _s10_, _s15_, type$.BuiltList_MouseoverData); + A.BuiltValueNullFieldError_checkNotNull(t20, _s10_, _s15_0, type$.ExampleDesigns); + A.BuiltValueNullFieldError_checkNotNull(t28, _s10_, _s23_, t5); + A.BuiltValueNullFieldError_checkNotNull(t31, _s10_, _s34_, t30); + A.BuiltValueNullFieldError_checkNotNull(t32, _s10_, _s32_, t30); + A.BuiltValueNullFieldError_checkNotNull(t34, _s10_, _s23_0, t5); + A.BuiltValueNullFieldError_checkNotNull(t35, _s10_, _s9_, type$.AppUIStateStorables); + A.BuiltValueNullFieldError_checkNotNull(t36, _s10_, _s22_, type$.BuiltMap_of_int_and_BuiltList_int); } - t5 = t4.__extensions; - if (t5 == null) { - t5 = E.Strand.prototype.get$extensions.call(t4, t4); - t4.set$__extensions(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5.__dnaend_free; - if (t6 == null) - t6 = t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5); - t7 = t6._dna_end$__id; - t6 = t7 == null ? t6._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t6, t6) : t7; - t7 = t5.__dnaend_free; - t5 = t7 == null ? t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5) : t7; - t3._as(t6); - t2._as(t5); - builder._checkKey$1(t6); - builder._checkValue$1(t5); - J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s17_; + _this.get$selectables_store()._selectable$_build$0(); + _$failedField._value = "strands_move"; + t1 = _this._strands_move; + if (t1 != null) + t1._strands_move$_build$0(); + _$failedField._value = "domains_move"; + t1 = _this._domains_move; + if (t1 != null) + t1._domains_move$_build$0(); + _$failedField._value = "copy_info"; + t1 = _this._copy_info; + if (t1 != null) + t1._copy_info$_build$0(); + _$failedField._value = _s18_; + _this.get$dna_assign_options()._dna_assign_options$_build$0(); + _$failedField._value = "selection_rope"; + t1 = _this._selection_rope; + if (t1 != null) + t1._selection_rope$_build$0(); + _$failedField._value = "last_mod_5p"; + t1 = _this._last_mod_5p; + if (t1 != null) + t1._modification$_build$0(); + _$failedField._value = "last_mod_3p"; + t1 = _this._last_mod_3p; + if (t1 != null) + t1._modification$_build$0(); + _$failedField._value = "last_mod_int"; + t1 = _this._last_mod_int; + if (t1 != null) + t1._modification$_build$0(); + _$failedField._value = _s15_; + _this.get$mouseover_datas().build$0(); + _$failedField._value = _s15_0; + _this.get$example_designs()._example_designs$_build$0(); + _$failedField._value = "dialog"; + t1 = _this._dialog; + if (t1 != null) + t1._dialog$_build$0(); + _$failedField._value = "color_picker_strand"; + t1 = _this._color_picker_strand; + if (t1 != null) + t1._strand$_build$0(); + _$failedField._value = "strand_creation"; + t1 = _this._strand_creation; + if (t1 != null) + t1._strand_creation$_build$0(); + _$failedField._value = "side_view_grid_position_mouse_cursor"; + t1 = _this._side_view_grid_position_mouse_cursor; + if (t1 != null) + t1._grid_position$_build$0(); + _$failedField._value = "context_menu"; + t1 = _this._context_menu; + if (t1 != null) + t1._context_menu$_build$0(); + _$failedField._value = "export_svg_action_delayed_for_png_cache"; + t1 = _this._export_svg_action_delayed_for_png_cache; + if (t1 != null) + t1._build$0(); + _$failedField._value = _s9_; + _this.get$storables()._app_ui_state_storables$_build$0(); + _$failedField._value = _s22_; + _this.get$original_helix_offsets().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s10_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } + throw exception; } - return builder.build$0(); + t1 = type$.AppUIState; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._app_ui_state$_$v = t2; + return _$result; }, - get$selectable_by_id: function() { - var t5, t6, t7, t8, t9, t10, t11, _i, map_small, _this = this, - t1 = type$.legacy_String, - t2 = type$.legacy_Selectable, - map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), - t3 = _this.get$strands_by_id(), - t4 = _this.__loopouts_by_id; - if (t4 == null) { - t4 = N.Design.prototype.get$loopouts_by_id.call(_this); - _this.set$__loopouts_by_id(t4); - } - t5 = _this.get$extensions_by_id(); - t6 = _this.__crossovers_by_id; - if (t6 == null) { - t6 = N.Design.prototype.get$crossovers_by_id.call(_this); - _this.set$__crossovers_by_id(t6); - } - t7 = _this.__ends_by_id; - if (t7 == null) { - t7 = N.Design.prototype.get$ends_by_id.call(_this); - _this.set$__ends_by_id(t7); - } - t8 = _this.get$domains_by_id(); - t9 = _this.__deletions_by_id; - if (t9 == null) { - t9 = N.Design.prototype.get$deletions_by_id.call(_this); - _this.set$__deletions_by_id(t9); + set$_mouseover_datas(_mouseover_datas) { + this._mouseover_datas = type$.nullable_ListBuilder_MouseoverData._as(_mouseover_datas); + }, + set$_side_view_position_mouse_cursor(_side_view_position_mouse_cursor) { + this._side_view_position_mouse_cursor = type$.nullable_Point_double._as(_side_view_position_mouse_cursor); + }, + set$_original_helix_offsets(_original_helix_offsets) { + this._original_helix_offsets = type$.nullable_MapBuilder_of_int_and_BuiltList_int._as(_original_helix_offsets); + } + }; + A._AppUIState_Object_BuiltJsonSerializable.prototype = {}; + A.AppUIStateStorables.prototype = {}; + A._$AppUIStateStorablesSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.AppUIStateStorables._as(object); + result = ["select_mode_state", serializers.serialize$2$specifiedType(object.select_mode_state, B.FullType_6ha), "edit_modes", serializers.serialize$2$specifiedType(object.edit_modes, B.FullType_kiE), "side_selected_helix_idxs", serializers.serialize$2$specifiedType(object.side_selected_helix_idxs, B.FullType_MQk), "autofit", serializers.serialize$2$specifiedType(object.autofit, B.FullType_MtR), "show_dna", serializers.serialize$2$specifiedType(object.show_dna, B.FullType_MtR), "show_strand_names", serializers.serialize$2$specifiedType(object.show_strand_names, B.FullType_MtR), "show_strand_labels", serializers.serialize$2$specifiedType(object.show_strand_labels, B.FullType_MtR), "show_domain_names", serializers.serialize$2$specifiedType(object.show_domain_names, B.FullType_MtR), "show_domain_labels", serializers.serialize$2$specifiedType(object.show_domain_labels, B.FullType_MtR), "base_pair_display_type", serializers.serialize$2$specifiedType(object.base_pair_display_type, B.FullType_K2v), "show_base_pair_lines", serializers.serialize$2$specifiedType(object.show_base_pair_lines, B.FullType_MtR), "show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(object.show_base_pair_lines_with_mismatches, B.FullType_MtR), "strand_name_font_size", serializers.serialize$2$specifiedType(object.strand_name_font_size, B.FullType_MME), "strand_label_font_size", serializers.serialize$2$specifiedType(object.strand_label_font_size, B.FullType_MME), "domain_name_font_size", serializers.serialize$2$specifiedType(object.domain_name_font_size, B.FullType_MME), "domain_label_font_size", serializers.serialize$2$specifiedType(object.domain_label_font_size, B.FullType_MME), "show_modifications", serializers.serialize$2$specifiedType(object.show_modifications, B.FullType_MtR), "show_mismatches", serializers.serialize$2$specifiedType(object.show_mismatches, B.FullType_MtR), "show_domain_name_mismatches", serializers.serialize$2$specifiedType(object.show_domain_name_mismatches, B.FullType_MtR), "show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(object.show_unpaired_insertion_deletions, B.FullType_MtR), "show_oxview", serializers.serialize$2$specifiedType(object.show_oxview, B.FullType_MtR), "show_slice_bar", serializers.serialize$2$specifiedType(object.show_slice_bar, B.FullType_MtR), "show_mouseover_data", serializers.serialize$2$specifiedType(object.show_mouseover_data, B.FullType_MtR), "only_display_selected_helices", serializers.serialize$2$specifiedType(object.only_display_selected_helices, B.FullType_MtR), "modification_font_size", serializers.serialize$2$specifiedType(object.modification_font_size, B.FullType_MME), "major_tick_offset_font_size", serializers.serialize$2$specifiedType(object.major_tick_offset_font_size, B.FullType_MME), "major_tick_width_font_size", serializers.serialize$2$specifiedType(object.major_tick_width_font_size, B.FullType_MME), "zoom_speed", serializers.serialize$2$specifiedType(object.zoom_speed, B.FullType_MME), "modification_display_connector", serializers.serialize$2$specifiedType(object.modification_display_connector, B.FullType_MtR), "strand_paste_keep_color", serializers.serialize$2$specifiedType(object.strand_paste_keep_color, B.FullType_MtR), "display_base_offsets_of_major_ticks", serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks, B.FullType_MtR), string$.displa, serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks_only_first_helix, B.FullType_MtR), "display_major_tick_widths", serializers.serialize$2$specifiedType(object.display_major_tick_widths, B.FullType_MtR), "display_major_tick_widths_all_helices", serializers.serialize$2$specifiedType(object.display_major_tick_widths_all_helices, B.FullType_MtR), "loaded_filename", serializers.serialize$2$specifiedType(object.loaded_filename, B.FullType_h8g), "loaded_script_filename", serializers.serialize$2$specifiedType(object.loaded_script_filename, B.FullType_h8g), "invert_y", serializers.serialize$2$specifiedType(object.invert_y, B.FullType_MtR), "dynamically_update_helices", serializers.serialize$2$specifiedType(object.dynamically_update_helices, B.FullType_MtR), "warn_on_exit_if_unsaved", serializers.serialize$2$specifiedType(object.warn_on_exit_if_unsaved, B.FullType_MtR), "show_helix_circles_main_view", serializers.serialize$2$specifiedType(object.show_helix_circles_main_view, B.FullType_MtR), "show_helix_components_main_view", serializers.serialize$2$specifiedType(object.show_helix_components_main_view, B.FullType_MtR), "show_edit_mode_menu", serializers.serialize$2$specifiedType(object.show_edit_mode_menu, B.FullType_MtR), "show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(object.show_grid_coordinates_side_view, B.FullType_MtR), "show_helices_axis_arrows", serializers.serialize$2$specifiedType(object.show_helices_axis_arrows, B.FullType_MtR), "show_loopout_extension_length", serializers.serialize$2$specifiedType(object.show_loopout_extension_length, B.FullType_MtR), string$.defaulc, serializers.serialize$2$specifiedType(object.default_crossover_type_scaffold_for_setting_helix_rolls, B.FullType_MtR), string$.default, serializers.serialize$2$specifiedType(object.default_crossover_type_staple_for_setting_helix_rolls, B.FullType_MtR), "local_storage_design_choice", serializers.serialize$2$specifiedType(object.local_storage_design_choice, B.FullType_UeR), string$.clear_, serializers.serialize$2$specifiedType(object.clear_helix_selection_when_loading_new_design, B.FullType_MtR), "displayed_group_name", serializers.serialize$2$specifiedType(object.displayed_group_name, B.FullType_h8g), "disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(object.disable_png_caching_dna_sequences, B.FullType_MtR), "retain_strand_color_on_selection", serializers.serialize$2$specifiedType(object.retain_strand_color_on_selection, B.FullType_MtR), "display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(object.display_reverse_DNA_right_side_up, B.FullType_MtR), "selection_box_intersection", serializers.serialize$2$specifiedType(object.selection_box_intersection, B.FullType_MtR), "export_svg_text_separately", serializers.serialize$2$specifiedType(object.export_svg_text_separately, B.FullType_MtR), "ox_export_only_selected_strands", serializers.serialize$2$specifiedType(object.ox_export_only_selected_strands, B.FullType_MtR)]; + value = object.slice_bar_offset; + if (value != null) { + result.push("slice_bar_offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } - t10 = _this.__insertions_by_id; - if (t10 == null) { - t10 = N.Design.prototype.get$insertions_by_id.call(_this); - _this.set$__insertions_by_id(t10); - } - t11 = _this.__modifications_by_id; - if (t11 == null) { - t11 = N.Design.prototype.get$modifications_by_id.call(_this); - _this.set$__modifications_by_id(t11); - } - t11 = [t3, t4, t5, t6, t7, t8, t9, t10, t11]; - _i = 0; - for (; _i < 9; ++_i) { - map_small = t11[_i]; - if (map_small._keys == null) - map_small.set$_keys(J.get$keys$x(map_small._map$_map)); - t3 = map_small._keys; - t3.toString; - t3 = J.get$iterator$ax(t3); - t4 = map_small._map$_map; - t5 = J.getInterceptor$asx(t4); - for (; t3.moveNext$0();) { - t6 = t3.get$current(t3); - map.$indexSet(0, t6, t5.$index(t4, t6)); - } - } - return A.BuiltMap_BuiltMap$of(map, t1, t2); + return result; }, - get$strands_overlapping: function() { - var t6, strand1, j, strand2, - t1 = type$.legacy_Strand, - map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), - t2 = type$.legacy_BuiltList_legacy_Strand, - map_builtlist = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), - t3 = this.strands._list, - t4 = J.getInterceptor$asx(t3), - t5 = type$.JSArray_legacy_Strand, - i = 0; - while (true) { - t6 = t4.get$length(t3); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(i < t6)) - break; - strand1 = t4.$index(t3, i); - map.$indexSet(0, strand1, H.setRuntimeTypeInfo([], t5)); - j = 0; - while (true) { - t6 = t4.get$length(t3); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(j < t6)) - break; - strand2 = t4.$index(t3, j); - if (strand1.overlaps$1(strand2)) { - t6 = map.$index(0, strand1); - (t6 && C.JSArray_methods).add$1(t6, strand2); - } - ++j; - } - map_builtlist.$indexSet(0, strand1, D.BuiltList_BuiltList$of(map.$index(0, strand1), t1)); - ++i; - } - return A.BuiltMap_BuiltMap$of(map_builtlist, t1, t2); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$domain_mismatches_map: function() { - var t2, t3, t4, t5, t6, t7, domain_mismatches_builtmap_builder, - t1 = type$.legacy_Domain, - domain_mismatches_map_builder = A.MapBuilder_MapBuilder(C.Map_empty, t1, type$.legacy_ListBuilder_legacy_Mismatch); - for (t2 = J.get$iterator$ax(this.strands._list), t3 = domain_mismatches_map_builder.$ti, t4 = t3._precomputed1, t3 = t3._rest[1]; t2.moveNext$0();) { - t5 = t2.get$current(t2); - t6 = t5.__dna_sequence; - if ((t6 == null ? t5.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t5) : t6) != null) { - t6 = t5.__domains; - if (t6 == null) { - t6 = E.Strand.prototype.get$domains.call(t5); - t5.set$__domains(t6); - t5 = t6; - } else - t5 = t6; - t5 = J.get$iterator$ax(t5._list); - for (; t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = this._find_mismatches_on_substrand$1(t6); - t4._as(t6); - t3._as(t7); - domain_mismatches_map_builder._checkKey$1(t6); - domain_mismatches_map_builder._checkValue$1(t7); - J.$indexSet$ax(domain_mismatches_map_builder.get$_safeMap(), t6, t7); - } + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, t9, value, t10, t11, _null = null; + type$.Iterable_nullable_Object._as(serialized); + result = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.LocalStorageDesignChoice, t2 = type$.BasePairDisplayType, t3 = type$.BuiltSet_nullable_Object, t4 = type$.SetBuilder_int, t5 = type$.SetBuilder_EditModeChoice, t6 = type$.SelectModeState, t7 = type$.SetBuilder_SelectModeChoice, t8 = type$.nullable_SetBuilder_SelectModeChoice; iterator.moveNext$0();) { + t9 = iterator.get$current(iterator); + t9.toString; + A._asStringS(t9); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t9) { + case "select_mode_state": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._select_mode_state; + if (t10 == null) { + t10 = new A.SelectModeStateBuilder(); + t11 = new A.SetBuilder(_null, $, _null, t7); + t11.replace$1(0, [B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold]); + t8._as(t11); + t10.set$_modes(t11); + t9._select_mode_state = t10; + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_6ha); + t10.toString; + t6._as(t10); + t9._select_mode_state$_$v = t10; + break; + case "edit_modes": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._edit_modes; + if (t10 == null) { + t10 = new A.SetBuilder(_null, $, _null, t5); + t10.replace$1(0, B.List_empty); + t9.set$_edit_modes(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_kiE); + t10.toString; + t9.replace$1(0, t3._as(t10)); + break; + case "side_selected_helix_idxs": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._side_selected_helix_idxs; + if (t10 == null) { + t10 = new A.SetBuilder(_null, $, _null, t4); + t10.replace$1(0, B.List_empty); + t9.set$_side_selected_helix_idxs(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MQk); + t10.toString; + t9.replace$1(0, t3._as(t10)); + break; + case "autofit": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._autofit = t9; + break; + case "show_dna": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_dna = t9; + break; + case "show_strand_names": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_strand_names = t9; + break; + case "show_strand_labels": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_strand_labels = t9; + break; + case "show_domain_names": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_domain_names = t9; + break; + case "show_domain_labels": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_domain_labels = t9; + break; + case "base_pair_display_type": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_K2v); + t9.toString; + t2._as(t9); + result.get$_app_ui_state_storables$_$this()._base_pair_display_type = t9; + break; + case "show_base_pair_lines": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t9; + break; + case "show_base_pair_lines_with_mismatches": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t9; + break; + case "strand_name_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._strand_name_font_size = t9; + break; + case "strand_label_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._strand_label_font_size = t9; + break; + case "domain_name_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._domain_name_font_size = t9; + break; + case "domain_label_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._domain_label_font_size = t9; + break; + case "show_modifications": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_modifications = t9; + break; + case "show_mismatches": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_mismatches = t9; + break; + case "show_domain_name_mismatches": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t9; + break; + case "show_unpaired_insertion_deletions": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t9; + break; + case "show_oxview": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_oxview = t9; + break; + case "show_slice_bar": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_slice_bar = t9; + break; + case "show_mouseover_data": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_mouseover_data = t9; + break; + case "only_display_selected_helices": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t9; + break; + case "modification_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._modification_font_size = t9; + break; + case "major_tick_offset_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t9; + break; + case "major_tick_width_font_size": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t9; + break; + case "zoom_speed": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_app_ui_state_storables$_$this()._zoom_speed = t9; + break; + case "modification_display_connector": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._modification_display_connector = t9; + break; + case "strand_paste_keep_color": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t9; + break; + case "display_base_offsets_of_major_ticks": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t9; + break; + case string$.displa: + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t9; + break; + case "display_major_tick_widths": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t9; + break; + case "display_major_tick_widths_all_helices": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t9; + break; + case "loaded_filename": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_app_ui_state_storables$_$this()._loaded_filename = t9; + break; + case "loaded_script_filename": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_app_ui_state_storables$_$this()._loaded_script_filename = t9; + break; + case "invert_y": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._invert_y = t9; + break; + case "dynamically_update_helices": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t9; + break; + case "warn_on_exit_if_unsaved": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t9; + break; + case "show_helix_circles_main_view": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t9; + break; + case "show_helix_components_main_view": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t9; + break; + case "show_edit_mode_menu": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t9; + break; + case "show_grid_coordinates_side_view": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t9; + break; + case "show_helices_axis_arrows": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t9; + break; + case "show_loopout_extension_length": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t9; + break; + case string$.defaulc: + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t9; + break; + case string$.default: + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t9; + break; + case "local_storage_design_choice": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._local_storage_design_choice; + t9 = t10 == null ? t9._local_storage_design_choice = new A.LocalStorageDesignChoiceBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_UeR); + t10.toString; + t1._as(t10); + t9._local_storage_design_choice$_$v = t10; + break; + case string$.clear_: + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t9; + break; + case "displayed_group_name": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_app_ui_state_storables$_$this()._displayed_group_name = t9; + break; + case "slice_bar_offset": + t9 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_app_ui_state_storables$_$this()._slice_bar_offset = t9; + break; + case "disable_png_caching_dna_sequences": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t9; + break; + case "retain_strand_color_on_selection": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t9; + break; + case "display_reverse_DNA_right_side_up": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t9; + break; + case "selection_box_intersection": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._selection_box_intersection = t9; + break; + case "export_svg_text_separately": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t9; + break; + case "ox_export_only_selected_strands": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t9; + break; } } - domain_mismatches_builtmap_builder = A.MapBuilder_MapBuilder(C.Map_empty, t1, type$.legacy_BuiltList_legacy_Mismatch); - t1 = domain_mismatches_map_builder.build$0(); - t1.toString; - J.forEach$1$ax(t1._map$_map, t1.$ti._eval$1("~(1,2)")._as(new N.Design_domain_mismatches_map_closure(domain_mismatches_builtmap_builder))); - return domain_mismatches_builtmap_builder.build$0(); + return result._app_ui_state_storables$_build$0(); }, - get$unpaired_insertion_deletion_map: function() { - var t1, t2, t3, unpaired_insertion_deletion_half_built_map, - unpaired_insertion_deletion_map_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Domain_and_legacy_List_legacy_Address); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - unpaired_insertion_deletion_map_builder.$indexSet(0, t3, this.find_unpaired_insertion_deletions_on_domain$2(t3, false)); - } - } - unpaired_insertion_deletion_half_built_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address); - unpaired_insertion_deletion_map_builder.forEach$1(0, new N.Design_unpaired_insertion_deletion_map_closure(unpaired_insertion_deletion_half_built_map)); - return A.BuiltMap_BuiltMap$of(unpaired_insertion_deletion_half_built_map, type$.legacy_Domain, type$.legacy_BuiltList_legacy_Address); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$end_to_domain: function() { - var t1, t2, t3, t4, t5, t6, t7, - end_to_substrand_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_DNAEnd, type$.legacy_Domain); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = end_to_substrand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__domains; - if (t5 == null) { - t5 = E.Strand.prototype.get$domains.call(t4); - t4.set$__domains(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5.forward; - if (t6) { - t7 = t5.__dnaend_end; - if (t7 == null) { - t7 = G.Domain.prototype.get$dnaend_end.call(t5); - t5.__dnaend_end = t7; - } - } else { - t7 = t5.__dnaend_start; - if (t7 == null) { - t7 = G.Domain.prototype.get$dnaend_start.call(t5); - t5.__dnaend_start = t7; - } - } - t3._as(t7); - t2._as(t5); - end_to_substrand_builder._checkKey$1(t7); - end_to_substrand_builder._checkValue$1(t5); - J.$indexSet$ax(end_to_substrand_builder.get$_safeMap(), t7, t5); - if (t6) { - t6 = t5.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(t5); - t5.__dnaend_start = t6; - } - } else { - t6 = t5.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(t5); - t5.__dnaend_end = t6; - } - } - t3._as(t6); - end_to_substrand_builder._checkKey$1(t6); - end_to_substrand_builder._checkValue$1(t5); - J.$indexSet$ax(end_to_substrand_builder.get$_safeMap(), t6, t5); - } - } - return end_to_substrand_builder.build$0(); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_s9c; }, - get$end_to_extension: function() { - var t1, t2, t3, t4, t5, t6, - end_to_extension_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_DNAEnd, type$.legacy_Extension); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = end_to_extension_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.__extensions; - if (t5 == null) { - t5 = E.Strand.prototype.get$extensions.call(t4, t4); - t4.set$__extensions(t5); - t4 = t5; - } else - t4 = t5; - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t5.__dnaend_free; - t6 = t3._as(t6 == null ? t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5) : t6); - t2._as(t5); - end_to_extension_builder._checkKey$1(t6); - end_to_extension_builder._checkValue$1(t5); - J.$indexSet$ax(end_to_extension_builder.get$_safeMap(), t6, t5); - } - } - return end_to_extension_builder.build$0(); + get$wireName() { + return "AppUIStateStorables"; + } + }; + A._$AppUIStateStorables.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_AppUIStateStorablesBuilder._as(updates); + t1 = new A.AppUIStateStorablesBuilder(); + A.AppUIStateStorables__initializeBuilder(t1); + A.ArgumentError_checkNotNull(this, "other", type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = this; + type$.nullable_void_Function_AppUIStateStorablesBuilder._as(updates).call$1(t1); + return t1._app_ui_state_storables$_build$0(); }, - get$substrand_to_strand: function() { - var t1, t2, t3, t4, t5, t6, - substrand_to_strand_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_Substrand, type$.legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list), t2 = substrand_to_strand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { - t4 = t1.get$current(t1); - for (t5 = J.get$iterator$ax(t4.substrands._list); t5.moveNext$0();) { - t6 = t3._as(t5.get$current(t5)); - t2._as(t4); - substrand_to_strand_builder._checkKey$1(t6); - substrand_to_strand_builder._checkValue$1(t4); - J.$indexSet$ax(substrand_to_strand_builder.get$_safeMap(), t6, t4); - } - } - return substrand_to_strand_builder.build$0(); + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.AppUIStateStorables && J.$eq$(_this.select_mode_state, other.select_mode_state) && J.$eq$(_this.edit_modes, other.edit_modes) && J.$eq$(_this.side_selected_helix_idxs, other.side_selected_helix_idxs) && _this.autofit === other.autofit && _this.show_dna === other.show_dna && _this.show_strand_names === other.show_strand_names && _this.show_strand_labels === other.show_strand_labels && _this.show_domain_names === other.show_domain_names && _this.show_domain_labels === other.show_domain_labels && _this.base_pair_display_type === other.base_pair_display_type && _this.show_base_pair_lines === other.show_base_pair_lines && _this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches && _this.strand_name_font_size === other.strand_name_font_size && _this.strand_label_font_size === other.strand_label_font_size && _this.domain_name_font_size === other.domain_name_font_size && _this.domain_label_font_size === other.domain_label_font_size && _this.show_modifications === other.show_modifications && _this.show_mismatches === other.show_mismatches && _this.show_domain_name_mismatches === other.show_domain_name_mismatches && _this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions && _this.show_oxview === other.show_oxview && _this.show_slice_bar === other.show_slice_bar && _this.show_mouseover_data === other.show_mouseover_data && _this.only_display_selected_helices === other.only_display_selected_helices && _this.modification_font_size === other.modification_font_size && _this.major_tick_offset_font_size === other.major_tick_offset_font_size && _this.major_tick_width_font_size === other.major_tick_width_font_size && _this.zoom_speed === other.zoom_speed && _this.modification_display_connector === other.modification_display_connector && _this.strand_paste_keep_color === other.strand_paste_keep_color && _this.display_base_offsets_of_major_ticks === other.display_base_offsets_of_major_ticks && _this.display_base_offsets_of_major_ticks_only_first_helix === other.display_base_offsets_of_major_ticks_only_first_helix && _this.display_major_tick_widths === other.display_major_tick_widths && _this.display_major_tick_widths_all_helices === other.display_major_tick_widths_all_helices && _this.loaded_filename === other.loaded_filename && _this.loaded_script_filename === other.loaded_script_filename && _this.invert_y === other.invert_y && _this.dynamically_update_helices === other.dynamically_update_helices && _this.warn_on_exit_if_unsaved === other.warn_on_exit_if_unsaved && _this.show_helix_circles_main_view === other.show_helix_circles_main_view && _this.show_helix_components_main_view === other.show_helix_components_main_view && _this.show_edit_mode_menu === other.show_edit_mode_menu && _this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view && _this.show_helices_axis_arrows === other.show_helices_axis_arrows && _this.show_loopout_extension_length === other.show_loopout_extension_length && _this.default_crossover_type_scaffold_for_setting_helix_rolls === other.default_crossover_type_scaffold_for_setting_helix_rolls && _this.default_crossover_type_staple_for_setting_helix_rolls === other.default_crossover_type_staple_for_setting_helix_rolls && _this.local_storage_design_choice.$eq(0, other.local_storage_design_choice) && _this.clear_helix_selection_when_loading_new_design === other.clear_helix_selection_when_loading_new_design && _this.displayed_group_name === other.displayed_group_name && _this.slice_bar_offset == other.slice_bar_offset && _this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences && _this.retain_strand_color_on_selection === other.retain_strand_color_on_selection && _this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up && _this.selection_box_intersection === other.selection_box_intersection && _this.export_svg_text_separately === other.export_svg_text_separately && _this.ox_export_only_selected_strands === other.ox_export_only_selected_strands; }, - get$strand_to_index: function() { - var t1, idx, idx0, - strand_to_index = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Strand_and_legacy_int); - for (t1 = J.get$iterator$ax(this.strands._list), idx = 0; t1.moveNext$0(); idx = idx0) { - idx0 = idx + 1; - strand_to_index.$indexSet(0, t1.get$current(t1), idx); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._app_ui_state_storables$__hashCode; + if (t1 != null) + return t1; + t1 = _this.local_storage_design_choice; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.select_mode_state)), J.get$hashCode$(_this.edit_modes)), J.get$hashCode$(_this.side_selected_helix_idxs)), B.JSBool_methods.get$hashCode(_this.autofit)), B.JSBool_methods.get$hashCode(_this.show_dna)), B.JSBool_methods.get$hashCode(_this.show_strand_names)), B.JSBool_methods.get$hashCode(_this.show_strand_labels)), B.JSBool_methods.get$hashCode(_this.show_domain_names)), B.JSBool_methods.get$hashCode(_this.show_domain_labels)), A.Primitives_objectHashCode(_this.base_pair_display_type)), B.JSBool_methods.get$hashCode(_this.show_base_pair_lines)), B.JSBool_methods.get$hashCode(_this.show_base_pair_lines_with_mismatches)), B.JSNumber_methods.get$hashCode(_this.strand_name_font_size)), B.JSNumber_methods.get$hashCode(_this.strand_label_font_size)), B.JSNumber_methods.get$hashCode(_this.domain_name_font_size)), B.JSNumber_methods.get$hashCode(_this.domain_label_font_size)), B.JSBool_methods.get$hashCode(_this.show_modifications)), B.JSBool_methods.get$hashCode(_this.show_mismatches)), B.JSBool_methods.get$hashCode(_this.show_domain_name_mismatches)), B.JSBool_methods.get$hashCode(_this.show_unpaired_insertion_deletions)), B.JSBool_methods.get$hashCode(_this.show_oxview)), B.JSBool_methods.get$hashCode(_this.show_slice_bar)), B.JSBool_methods.get$hashCode(_this.show_mouseover_data)), B.JSBool_methods.get$hashCode(_this.only_display_selected_helices)), B.JSNumber_methods.get$hashCode(_this.modification_font_size)), B.JSNumber_methods.get$hashCode(_this.major_tick_offset_font_size)), B.JSNumber_methods.get$hashCode(_this.major_tick_width_font_size)), B.JSNumber_methods.get$hashCode(_this.zoom_speed)), B.JSBool_methods.get$hashCode(_this.modification_display_connector)), B.JSBool_methods.get$hashCode(_this.strand_paste_keep_color)), B.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks)), B.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks_only_first_helix)), B.JSBool_methods.get$hashCode(_this.display_major_tick_widths)), B.JSBool_methods.get$hashCode(_this.display_major_tick_widths_all_helices)), B.JSString_methods.get$hashCode(_this.loaded_filename)), B.JSString_methods.get$hashCode(_this.loaded_script_filename)), B.JSBool_methods.get$hashCode(_this.invert_y)), B.JSBool_methods.get$hashCode(_this.dynamically_update_helices)), B.JSBool_methods.get$hashCode(_this.warn_on_exit_if_unsaved)), B.JSBool_methods.get$hashCode(_this.show_helix_circles_main_view)), B.JSBool_methods.get$hashCode(_this.show_helix_components_main_view)), B.JSBool_methods.get$hashCode(_this.show_edit_mode_menu)), B.JSBool_methods.get$hashCode(_this.show_grid_coordinates_side_view)), B.JSBool_methods.get$hashCode(_this.show_helices_axis_arrows)), B.JSBool_methods.get$hashCode(_this.show_loopout_extension_length)), B.JSBool_methods.get$hashCode(_this.default_crossover_type_scaffold_for_setting_helix_rolls)), B.JSBool_methods.get$hashCode(_this.default_crossover_type_staple_for_setting_helix_rolls)), t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(_this.clear_helix_selection_when_loading_new_design)), B.JSString_methods.get$hashCode(_this.displayed_group_name)), J.get$hashCode$(_this.slice_bar_offset)), B.JSBool_methods.get$hashCode(_this.disable_png_caching_dna_sequences)), B.JSBool_methods.get$hashCode(_this.retain_strand_color_on_selection)), B.JSBool_methods.get$hashCode(_this.display_reverse_DNA_right_side_up)), B.JSBool_methods.get$hashCode(_this.selection_box_intersection)), B.JSBool_methods.get$hashCode(_this.export_svg_text_separately)), B.JSBool_methods.get$hashCode(_this.ox_export_only_selected_strands))); + t1 = _this._app_ui_state_storables$__hashCode; + if (t1 == null) { + _this._app_ui_state_storables$__hashCode = _$hash; + t1 = _$hash; } - return A.BuiltMap_BuiltMap$of(strand_to_index, type$.legacy_Strand, type$.legacy_int); + return t1; }, - get$crossover_to_strand: function() { - var t1, t2, t3, - crossover_to_strand_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Crossover_and_legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__crossovers; - if (t3 == null) { - t3 = E.Strand.prototype.get$crossovers.call(t2); - t2.set$__crossovers(t3); - } - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - crossover_to_strand_builder.$indexSet(0, t3.get$current(t3), t2); - } - return A.BuiltMap_BuiltMap$of(crossover_to_strand_builder, type$.legacy_Crossover, type$.legacy_Strand); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIStateStorables"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "select_mode_state", _this.select_mode_state); + t2.add$2(t1, "edit_modes", _this.edit_modes); + t2.add$2(t1, "side_selected_helix_idxs", _this.side_selected_helix_idxs); + t2.add$2(t1, "autofit", _this.autofit); + t2.add$2(t1, "show_dna", _this.show_dna); + t2.add$2(t1, "show_strand_names", _this.show_strand_names); + t2.add$2(t1, "show_strand_labels", _this.show_strand_labels); + t2.add$2(t1, "show_domain_names", _this.show_domain_names); + t2.add$2(t1, "show_domain_labels", _this.show_domain_labels); + t2.add$2(t1, "base_pair_display_type", _this.base_pair_display_type); + t2.add$2(t1, "show_base_pair_lines", _this.show_base_pair_lines); + t2.add$2(t1, "show_base_pair_lines_with_mismatches", _this.show_base_pair_lines_with_mismatches); + t2.add$2(t1, "strand_name_font_size", _this.strand_name_font_size); + t2.add$2(t1, "strand_label_font_size", _this.strand_label_font_size); + t2.add$2(t1, "domain_name_font_size", _this.domain_name_font_size); + t2.add$2(t1, "domain_label_font_size", _this.domain_label_font_size); + t2.add$2(t1, "show_modifications", _this.show_modifications); + t2.add$2(t1, "show_mismatches", _this.show_mismatches); + t2.add$2(t1, "show_domain_name_mismatches", _this.show_domain_name_mismatches); + t2.add$2(t1, "show_unpaired_insertion_deletions", _this.show_unpaired_insertion_deletions); + t2.add$2(t1, "show_oxview", _this.show_oxview); + t2.add$2(t1, "show_slice_bar", _this.show_slice_bar); + t2.add$2(t1, "show_mouseover_data", _this.show_mouseover_data); + t2.add$2(t1, "only_display_selected_helices", _this.only_display_selected_helices); + t2.add$2(t1, "modification_font_size", _this.modification_font_size); + t2.add$2(t1, "major_tick_offset_font_size", _this.major_tick_offset_font_size); + t2.add$2(t1, "major_tick_width_font_size", _this.major_tick_width_font_size); + t2.add$2(t1, "zoom_speed", _this.zoom_speed); + t2.add$2(t1, "modification_display_connector", _this.modification_display_connector); + t2.add$2(t1, "strand_paste_keep_color", _this.strand_paste_keep_color); + t2.add$2(t1, "display_base_offsets_of_major_ticks", _this.display_base_offsets_of_major_ticks); + t2.add$2(t1, string$.displa, _this.display_base_offsets_of_major_ticks_only_first_helix); + t2.add$2(t1, "display_major_tick_widths", _this.display_major_tick_widths); + t2.add$2(t1, "display_major_tick_widths_all_helices", _this.display_major_tick_widths_all_helices); + t2.add$2(t1, "loaded_filename", _this.loaded_filename); + t2.add$2(t1, "loaded_script_filename", _this.loaded_script_filename); + t2.add$2(t1, "invert_y", _this.invert_y); + t2.add$2(t1, "dynamically_update_helices", _this.dynamically_update_helices); + t2.add$2(t1, "warn_on_exit_if_unsaved", _this.warn_on_exit_if_unsaved); + t2.add$2(t1, "show_helix_circles_main_view", _this.show_helix_circles_main_view); + t2.add$2(t1, "show_helix_components_main_view", _this.show_helix_components_main_view); + t2.add$2(t1, "show_edit_mode_menu", _this.show_edit_mode_menu); + t2.add$2(t1, "show_grid_coordinates_side_view", _this.show_grid_coordinates_side_view); + t2.add$2(t1, "show_helices_axis_arrows", _this.show_helices_axis_arrows); + t2.add$2(t1, "show_loopout_extension_length", _this.show_loopout_extension_length); + t2.add$2(t1, string$.defaulc, _this.default_crossover_type_scaffold_for_setting_helix_rolls); + t2.add$2(t1, string$.default, _this.default_crossover_type_staple_for_setting_helix_rolls); + t2.add$2(t1, "local_storage_design_choice", _this.local_storage_design_choice); + t2.add$2(t1, string$.clear_, _this.clear_helix_selection_when_loading_new_design); + t2.add$2(t1, "displayed_group_name", _this.displayed_group_name); + t2.add$2(t1, "slice_bar_offset", _this.slice_bar_offset); + t2.add$2(t1, "disable_png_caching_dna_sequences", _this.disable_png_caching_dna_sequences); + t2.add$2(t1, "retain_strand_color_on_selection", _this.retain_strand_color_on_selection); + t2.add$2(t1, "display_reverse_DNA_right_side_up", _this.display_reverse_DNA_right_side_up); + t2.add$2(t1, "selection_box_intersection", _this.selection_box_intersection); + t2.add$2(t1, "export_svg_text_separately", _this.export_svg_text_separately); + t2.add$2(t1, "ox_export_only_selected_strands", _this.ox_export_only_selected_strands); + return t2.toString$0(t1); + } + }; + A.AppUIStateStorablesBuilder.prototype = { + get$select_mode_state() { + var t3, + t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._select_mode_state; + if (t2 == null) { + t2 = new A.SelectModeStateBuilder(); + t3 = type$.nullable_SetBuilder_SelectModeChoice._as(A.SetBuilder_SetBuilder([B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold], type$.SelectModeChoice)); + t2.get$_select_mode_state$_$this().set$_modes(t3); + t1._select_mode_state = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - get$linker_to_strand: function() { - var t1, t2, t3, - linker_to_strand_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Linker_and_legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__linkers; - if (t3 == null) { - t3 = E.Strand.prototype.get$linkers.call(t2); - t2.set$__linkers(t3); - } - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - linker_to_strand_builder.$indexSet(0, t3.get$current(t3), t2); - } - return A.BuiltMap_BuiltMap$of(linker_to_strand_builder, type$.legacy_Linker, type$.legacy_Strand); + get$edit_modes() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._edit_modes; + if (t2 == null) { + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); + t1.set$_edit_modes(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$helix_idxs: function() { - var t1 = this.helices; - return D.BuiltList_BuiltList$of(t1.get$keys(t1), type$.legacy_int); + get$side_selected_helix_idxs() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._side_selected_helix_idxs; + if (t2 == null) { + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.int); + t1.set$_side_selected_helix_idxs(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$helix_idx_to_domains: function() { - return N.construct_helix_idx_to_domains_map(this.strands, this.get$helix_idxs()); + get$local_storage_design_choice() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._local_storage_design_choice; + return t2 == null ? t1._local_storage_design_choice = new A.LocalStorageDesignChoiceBuilder() : t2; }, - get$address_to_end: function() { - var t1, t2, t3, t4, t5, _i, end, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_DNAEnd); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__dnaend_start; - if (t4 == null) - t4 = t3.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t3); - t5 = t3.__dnaend_end; - t4 = [t4, t5 == null ? t3.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t3) : t5]; - t5 = t3.forward; - t3 = t3.helix; - _i = 0; - for (; _i < 2; ++_i) { - end = t4[_i]; - t6 = end.offset; - if (!end.is_start) { - if (typeof t6 !== "number") - return t6.$sub(); - --t6; - } - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, new Z._$Address(t3, t6, t5), end); - } - } - } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_DNAEnd); - }, - get$end_to_address: function() { - var t1, t2, t3, t4, t5, _i, end, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_DNAEnd_and_legacy_Address); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__dnaend_start; - if (t4 == null) - t4 = t3.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t3); - t5 = t3.__dnaend_end; - t4 = [t4, t5 == null ? t3.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t3) : t5]; - t5 = t3.forward; - t3 = t3.helix; - _i = 0; - for (; _i < 2; ++_i) { - end = t4[_i]; - t6 = end.offset; - if (!end.is_start) { - if (typeof t6 !== "number") - return t6.$sub(); - --t6; - } - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, end, new Z._$Address(t3, t6, t5)); - } - } + get$_app_ui_state_storables$_$this() { + var t1, t2, t3, _this = this, + $$v = _this._app_ui_state_storables$_$v; + if ($$v != null) { + t1 = $$v.select_mode_state; + t1.toString; + t2 = new A.SelectModeStateBuilder(); + t3 = type$.nullable_SetBuilder_SelectModeChoice._as(A.SetBuilder_SetBuilder([B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold], type$.SelectModeChoice)); + t2.get$_select_mode_state$_$this().set$_modes(t3); + A.ArgumentError_checkNotNull(t1, "other", type$.SelectModeState); + t2._select_mode_state$_$v = t1; + _this._select_mode_state = t2; + t2 = $$v.edit_modes; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltSet<1>")._as(t2); + _this.set$_edit_modes(new A.SetBuilder(t2._setFactory, t2._set, t2, t1._eval$1("SetBuilder<1>"))); + t1 = $$v.side_selected_helix_idxs; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_side_selected_helix_idxs(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._autofit = $$v.autofit; + _this._show_dna = $$v.show_dna; + _this._show_strand_names = $$v.show_strand_names; + _this._show_strand_labels = $$v.show_strand_labels; + _this._show_domain_names = $$v.show_domain_names; + _this._show_domain_labels = $$v.show_domain_labels; + _this._base_pair_display_type = $$v.base_pair_display_type; + _this._show_base_pair_lines = $$v.show_base_pair_lines; + _this._show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + _this._strand_name_font_size = $$v.strand_name_font_size; + _this._strand_label_font_size = $$v.strand_label_font_size; + _this._domain_name_font_size = $$v.domain_name_font_size; + _this._domain_label_font_size = $$v.domain_label_font_size; + _this._show_modifications = $$v.show_modifications; + _this._show_mismatches = $$v.show_mismatches; + _this._show_domain_name_mismatches = $$v.show_domain_name_mismatches; + _this._show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; + _this._show_oxview = $$v.show_oxview; + _this._show_slice_bar = $$v.show_slice_bar; + _this._show_mouseover_data = $$v.show_mouseover_data; + _this._only_display_selected_helices = $$v.only_display_selected_helices; + _this._modification_font_size = $$v.modification_font_size; + _this._major_tick_offset_font_size = $$v.major_tick_offset_font_size; + _this._major_tick_width_font_size = $$v.major_tick_width_font_size; + _this._zoom_speed = $$v.zoom_speed; + _this._modification_display_connector = $$v.modification_display_connector; + _this._strand_paste_keep_color = $$v.strand_paste_keep_color; + _this._display_base_offsets_of_major_ticks = $$v.display_base_offsets_of_major_ticks; + _this._display_base_offsets_of_major_ticks_only_first_helix = $$v.display_base_offsets_of_major_ticks_only_first_helix; + _this._display_major_tick_widths = $$v.display_major_tick_widths; + _this._display_major_tick_widths_all_helices = $$v.display_major_tick_widths_all_helices; + _this._loaded_filename = $$v.loaded_filename; + _this._loaded_script_filename = $$v.loaded_script_filename; + _this._invert_y = $$v.invert_y; + _this._dynamically_update_helices = $$v.dynamically_update_helices; + _this._warn_on_exit_if_unsaved = $$v.warn_on_exit_if_unsaved; + _this._show_helix_circles_main_view = $$v.show_helix_circles_main_view; + _this._show_helix_components_main_view = $$v.show_helix_components_main_view; + _this._show_edit_mode_menu = $$v.show_edit_mode_menu; + _this._show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + _this._show_helices_axis_arrows = $$v.show_helices_axis_arrows; + _this._show_loopout_extension_length = $$v.show_loopout_extension_length; + _this._default_crossover_type_scaffold_for_setting_helix_rolls = $$v.default_crossover_type_scaffold_for_setting_helix_rolls; + _this._default_crossover_type_staple_for_setting_helix_rolls = $$v.default_crossover_type_staple_for_setting_helix_rolls; + t2 = $$v.local_storage_design_choice; + t1 = new A.LocalStorageDesignChoiceBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.LocalStorageDesignChoice); + t1._local_storage_design_choice$_$v = t2; + _this._local_storage_design_choice = t1; + _this._clear_helix_selection_when_loading_new_design = $$v.clear_helix_selection_when_loading_new_design; + _this._displayed_group_name = $$v.displayed_group_name; + _this._slice_bar_offset = $$v.slice_bar_offset; + _this._disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + _this._retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + _this._display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + _this._selection_box_intersection = $$v.selection_box_intersection; + _this._export_svg_text_separately = $$v.export_svg_text_separately; + _this._ox_export_only_selected_strands = $$v.ox_export_only_selected_strands; + _this._app_ui_state_storables$_$v = null; } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_DNAEnd, type$.legacy_Address); + return _this; }, - get$address_5p_to_strand: function() { - var t1, t2, ss, t3, t4, t5, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - ss = t2.__first_domain; - if (ss == null) - ss = t2.__first_domain = E.Strand.prototype.get$first_domain.call(t2); - t3 = ss.helix; - t4 = ss.forward; - if (t4) { - t5 = ss.__dnaend_start; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_start.call(ss); - ss.__dnaend_start = t5; - } - } else { - t5 = ss.__dnaend_end; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_end.call(ss); - ss.__dnaend_end = t5; - } + _app_ui_state_storables$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, exception, _this = this, + _s19_ = "AppUIStateStorables", + _s8_ = "show_dna", + _s17_ = "show_strand_names", + _s18_ = "show_strand_labels", + _s17_0 = "show_domain_names", + _s18_0 = "show_domain_labels", + _s22_ = "base_pair_display_type", + _s20_ = "show_base_pair_lines", + _s36_ = "show_base_pair_lines_with_mismatches", + _s21_ = "strand_name_font_size", + _s22_0 = "strand_label_font_size", + _s21_0 = "domain_name_font_size", + _s22_1 = "domain_label_font_size", + _s18_1 = "show_modifications", + _s15_ = "show_mismatches", + _s27_ = "show_domain_name_mismatches", + _s33_ = "show_unpaired_insertion_deletions", + _s11_ = "show_oxview", + _s14_ = "show_slice_bar", + _s19_0 = "show_mouseover_data", + _s29_ = "only_display_selected_helices", + _s22_2 = "modification_font_size", + _s27_0 = "major_tick_offset_font_size", + _s26_ = "major_tick_width_font_size", + _s10_ = "zoom_speed", + _s30_ = "modification_display_connector", + _s23_ = "strand_paste_keep_color", + _s35_ = "display_base_offsets_of_major_ticks", + _s52_ = string$.displa, + _s25_ = "display_major_tick_widths", + _s37_ = "display_major_tick_widths_all_helices", + _s15_0 = "loaded_filename", + _s22_3 = "loaded_script_filename", + _s8_0 = "invert_y", + _s26_0 = "dynamically_update_helices", + _s23_0 = "warn_on_exit_if_unsaved", + _s28_ = "show_helix_circles_main_view", + _s31_ = "show_helix_components_main_view", + _s19_1 = "show_edit_mode_menu", + _s31_0 = "show_grid_coordinates_side_view", + _s24_ = "show_helices_axis_arrows", + _s29_0 = "show_loopout_extension_length", + _s55_ = string$.defaulc, + _s53_ = string$.default, + _s45_ = string$.clear_, + _s20_0 = "displayed_group_name", + _s33_0 = "disable_png_caching_dna_sequences", + _s32_ = "retain_strand_color_on_selection", + _s33_1 = "display_reverse_DNA_right_side_up", + _s26_1 = "selection_box_intersection", + _s26_2 = "export_svg_text_separately", + _s31_1 = "ox_export_only_selected_strands", + _s17_1 = "select_mode_state", + _s10_0 = "edit_modes", + _s24_0 = "side_selected_helix_idxs", + _s27_1 = "local_storage_design_choice", + _$result = null; + try { + _$result0 = _this._app_ui_state_storables$_$v; + if (_$result0 == null) { + t1 = _this.get$select_mode_state()._select_mode_state$_build$0(); + t2 = _this.get$edit_modes().build$0(); + t3 = _this.get$side_selected_helix_idxs().build$0(); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._autofit, _s19_, "autofit", t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_dna, _s19_, _s8_, t4); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_strand_names, _s19_, _s17_, t4); + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_strand_labels, _s19_, _s18_, t4); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_domain_names, _s19_, _s17_0, t4); + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_domain_labels, _s19_, _s18_0, t4); + t11 = type$.BasePairDisplayType; + t12 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._base_pair_display_type, _s19_, _s22_, t11); + t13 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_base_pair_lines, _s19_, _s20_, t4); + t14 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches, _s19_, _s36_, t4); + t15 = type$.double; + t16 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._strand_name_font_size, _s19_, _s21_, t15); + t17 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._strand_label_font_size, _s19_, _s22_0, t15); + t18 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._domain_name_font_size, _s19_, _s21_0, t15); + t19 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._domain_label_font_size, _s19_, _s22_1, t15); + t20 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_modifications, _s19_, _s18_1, t4); + t21 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_mismatches, _s19_, _s15_, t4); + t22 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches, _s19_, _s27_, t4); + t23 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions, _s19_, _s33_, t4); + t24 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_oxview, _s19_, _s11_, t4); + t25 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_slice_bar, _s19_, _s14_, t4); + t26 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_mouseover_data, _s19_, _s19_0, t4); + t27 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._only_display_selected_helices, _s19_, _s29_, t4); + t28 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._modification_font_size, _s19_, _s22_2, t15); + t29 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size, _s19_, _s27_0, t15); + t30 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._major_tick_width_font_size, _s19_, _s26_, t15); + t31 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._zoom_speed, _s19_, _s10_, t15); + t32 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._modification_display_connector, _s19_, _s30_, t4); + t33 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._strand_paste_keep_color, _s19_, _s23_, t4); + t34 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks, _s19_, _s35_, t4); + t35 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix, _s19_, _s52_, t4); + t36 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._display_major_tick_widths, _s19_, _s25_, t4); + t37 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices, _s19_, _s37_, t4); + t38 = type$.String; + t39 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._loaded_filename, _s19_, _s15_0, t38); + t40 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._loaded_script_filename, _s19_, _s22_3, t38); + t41 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._invert_y, _s19_, _s8_0, t4); + t42 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._dynamically_update_helices, _s19_, _s26_0, t4); + t43 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved, _s19_, _s23_0, t4); + t44 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view, _s19_, _s28_, t4); + t45 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_helix_components_main_view, _s19_, _s31_, t4); + t46 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_edit_mode_menu, _s19_, _s19_1, t4); + t47 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view, _s19_, _s31_0, t4); + t48 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows, _s19_, _s24_, t4); + t49 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._show_loopout_extension_length, _s19_, _s29_0, t4); + t50 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls, _s19_, _s55_, t4); + t51 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls, _s19_, _s53_, t4); + t52 = _this.get$local_storage_design_choice()._local_storage_design_choice$_build$0(); + t53 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design, _s19_, _s45_, t4); + t54 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._displayed_group_name, _s19_, _s20_0, t38); + t55 = _this.get$_app_ui_state_storables$_$this()._slice_bar_offset; + t56 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences, _s19_, _s33_0, t4); + t57 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection, _s19_, _s32_, t4); + t58 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up, _s19_, _s33_1, t4); + t59 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._selection_box_intersection, _s19_, _s26_1, t4); + t60 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._export_svg_text_separately, _s19_, _s26_2, t4); + t61 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands, _s19_, _s31_1, t4); + _$result0 = new A._$AppUIStateStorables(t1, t2, t3, t5, t6, t7, t8, t9, t10, t12, t13, t14, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61); + A.BuiltValueNullFieldError_checkNotNull(t1, _s19_, _s17_1, type$.SelectModeState); + A.BuiltValueNullFieldError_checkNotNull(t2, _s19_, _s10_0, type$.BuiltSet_EditModeChoice); + A.BuiltValueNullFieldError_checkNotNull(t3, _s19_, _s24_0, type$.BuiltSet_int); + A.BuiltValueNullFieldError_checkNotNull(t5, _s19_, "autofit", t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s19_, _s8_, t4); + A.BuiltValueNullFieldError_checkNotNull(t7, _s19_, _s17_, t4); + A.BuiltValueNullFieldError_checkNotNull(t8, _s19_, _s18_, t4); + A.BuiltValueNullFieldError_checkNotNull(t9, _s19_, _s17_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t10, _s19_, _s18_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t12, _s19_, _s22_, t11); + A.BuiltValueNullFieldError_checkNotNull(t13, _s19_, _s20_, t4); + A.BuiltValueNullFieldError_checkNotNull(t14, _s19_, _s36_, t4); + A.BuiltValueNullFieldError_checkNotNull(t16, _s19_, _s21_, t15); + A.BuiltValueNullFieldError_checkNotNull(t17, _s19_, _s22_0, t15); + A.BuiltValueNullFieldError_checkNotNull(t18, _s19_, _s21_0, t15); + A.BuiltValueNullFieldError_checkNotNull(t19, _s19_, _s22_1, t15); + A.BuiltValueNullFieldError_checkNotNull(t20, _s19_, _s18_1, t4); + A.BuiltValueNullFieldError_checkNotNull(t21, _s19_, _s15_, t4); + A.BuiltValueNullFieldError_checkNotNull(t22, _s19_, _s27_, t4); + A.BuiltValueNullFieldError_checkNotNull(t23, _s19_, _s33_, t4); + A.BuiltValueNullFieldError_checkNotNull(t24, _s19_, _s11_, t4); + A.BuiltValueNullFieldError_checkNotNull(t25, _s19_, _s14_, t4); + A.BuiltValueNullFieldError_checkNotNull(t26, _s19_, _s19_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t27, _s19_, _s29_, t4); + A.BuiltValueNullFieldError_checkNotNull(t28, _s19_, _s22_2, t15); + A.BuiltValueNullFieldError_checkNotNull(t29, _s19_, _s27_0, t15); + A.BuiltValueNullFieldError_checkNotNull(t30, _s19_, _s26_, t15); + A.BuiltValueNullFieldError_checkNotNull(t31, _s19_, _s10_, t15); + A.BuiltValueNullFieldError_checkNotNull(t32, _s19_, _s30_, t4); + A.BuiltValueNullFieldError_checkNotNull(t33, _s19_, _s23_, t4); + A.BuiltValueNullFieldError_checkNotNull(t34, _s19_, _s35_, t4); + A.BuiltValueNullFieldError_checkNotNull(t35, _s19_, _s52_, t4); + A.BuiltValueNullFieldError_checkNotNull(t36, _s19_, _s25_, t4); + A.BuiltValueNullFieldError_checkNotNull(t37, _s19_, _s37_, t4); + A.BuiltValueNullFieldError_checkNotNull(t39, _s19_, _s15_0, t38); + A.BuiltValueNullFieldError_checkNotNull(t40, _s19_, _s22_3, t38); + A.BuiltValueNullFieldError_checkNotNull(t41, _s19_, _s8_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t42, _s19_, _s26_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t43, _s19_, _s23_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t44, _s19_, _s28_, t4); + A.BuiltValueNullFieldError_checkNotNull(t45, _s19_, _s31_, t4); + A.BuiltValueNullFieldError_checkNotNull(t46, _s19_, _s19_1, t4); + A.BuiltValueNullFieldError_checkNotNull(t47, _s19_, _s31_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t48, _s19_, _s24_, t4); + A.BuiltValueNullFieldError_checkNotNull(t49, _s19_, _s29_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t50, _s19_, _s55_, t4); + A.BuiltValueNullFieldError_checkNotNull(t51, _s19_, _s53_, t4); + A.BuiltValueNullFieldError_checkNotNull(t52, _s19_, _s27_1, type$.LocalStorageDesignChoice); + A.BuiltValueNullFieldError_checkNotNull(t53, _s19_, _s45_, t4); + A.BuiltValueNullFieldError_checkNotNull(t54, _s19_, _s20_0, t38); + A.BuiltValueNullFieldError_checkNotNull(t56, _s19_, _s33_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t57, _s19_, _s32_, t4); + A.BuiltValueNullFieldError_checkNotNull(t58, _s19_, _s33_1, t4); + A.BuiltValueNullFieldError_checkNotNull(t59, _s19_, _s26_1, t4); + A.BuiltValueNullFieldError_checkNotNull(t60, _s19_, _s26_2, t4); + A.BuiltValueNullFieldError_checkNotNull(t61, _s19_, _s31_1, t4); } - t6 = t5.offset; - if (t5.is_start) - t5 = t6; - else { - if (typeof t6 !== "number") - return t6.$sub(); - t5 = t6 - 1; + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s17_1; + _this.get$select_mode_state()._select_mode_state$_build$0(); + _$failedField._value = _s10_0; + _this.get$edit_modes().build$0(); + _$failedField._value = _s24_0; + _this.get$side_selected_helix_idxs().build$0(); + _$failedField._value = _s27_1; + _this.get$local_storage_design_choice()._local_storage_design_choice$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + throw exception; } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Strand); + t1 = type$.AppUIStateStorables; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._app_ui_state_storables$_$v = t2; + return _$result; }, - get$address_3p_to_strand: function() { - var t1, t2, ss, t3, t4, t5, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Strand); - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - ss = t2.__last_domain; - if (ss == null) - ss = t2.__last_domain = E.Strand.prototype.get$last_domain.call(t2); - t3 = ss.helix; - t4 = ss.forward; - if (t4) { - t5 = ss.__dnaend_end; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_end.call(ss); - ss.__dnaend_end = t5; - } - } else { - t5 = ss.__dnaend_start; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_start.call(ss); - ss.__dnaend_start = t5; - } - } - t6 = t5.offset; - if (t5.is_start) - t5 = t6; - else { - if (typeof t6 !== "number") - return t6.$sub(); - t5 = t6 - 1; - } - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); - } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Strand); + set$_edit_modes(_edit_modes) { + this._edit_modes = type$.nullable_SetBuilder_EditModeChoice._as(_edit_modes); }, - get$address_5p_to_domain: function() { - var t1, t2, t3, t4, t5, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Domain); - for (t1 = this.get$domains_by_id(), t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.helix; - t4 = t2.forward; - if (t4) { - t5 = t2.__dnaend_start; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_start.call(t2); - t2.__dnaend_start = t5; - } - } else { - t5 = t2.__dnaend_end; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_end.call(t2); - t2.__dnaend_end = t5; - } - } - t6 = t5.offset; - if (t5.is_start) - t5 = t6; - else { - if (typeof t6 !== "number") - return t6.$sub(); - t5 = t6 - 1; - } - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + set$_side_selected_helix_idxs(_side_selected_helix_idxs) { + this._side_selected_helix_idxs = type$.nullable_SetBuilder_int._as(_side_selected_helix_idxs); + } + }; + A._AppUIStateStorables_Object_BuiltJsonSerializable.prototype = {}; + A.BasePairDisplayType.prototype = { + toIndex$0() { + switch (this) { + case B.BasePairDisplayType_none: + return 0; + case B.BasePairDisplayType_lines: + return 1; + case B.BasePairDisplayType_rectangle: + return 2; } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Domain); + return 0; }, - get$address_3p_to_domain: function() { - var t1, t2, t3, t4, t5, t6, - map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Domain); - for (t1 = this.get$domains_by_id(), t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.helix; - t4 = t2.forward; - if (t4) { - t5 = t2.__dnaend_end; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_end.call(t2); - t2.__dnaend_end = t5; - } - } else { - t5 = t2.__dnaend_start; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_start.call(t2); - t2.__dnaend_start = t5; - } - } - t6 = t5.offset; - if (t5.is_start) - t5 = t6; - else { - if (typeof t6 !== "number") - return t6.$sub(); - t5 = t6 - 1; - } - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + display_name$0() { + switch (this) { + case B.BasePairDisplayType_none: + return "none"; + case B.BasePairDisplayType_lines: + return "lines"; + case B.BasePairDisplayType_rectangle: + return "rectangle"; } - return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Domain); + return this.super$EnumClass$toString(0); }, - get$potential_vertical_crossovers: function() { - var t1, t2, ss, helix_idx, forward_top, t3, offset, forward_top0, t4, t5, _i, address_3p, t6, strand_3p, helix_idx_top, dna_end_top, substrand_bot, dna_end_bot, substrand_top, forward_top1, helix_idx_bot, _this = this, _null = null, - crossovers = H.setRuntimeTypeInfo([], type$.JSArray_legacy_PotentialVerticalCrossover); - for (t1 = J.get$iterator$ax(_this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - ss = t2.__first_domain; - if (ss == null) { - ss = E.Strand.prototype.get$first_domain.call(t2); - t2.__first_domain = ss; - } - helix_idx = ss.helix; - forward_top = ss.forward; - if (forward_top) { - t3 = ss.__dnaend_start; - if (t3 == null) { - t3 = G.Domain.prototype.get$dnaend_start.call(ss); - ss.__dnaend_start = t3; - } - } else { - t3 = ss.__dnaend_end; - if (t3 == null) { - t3 = G.Domain.prototype.get$dnaend_end.call(ss); - ss.__dnaend_end = t3; - } - } - offset = t3.offset; - if (!t3.is_start) { - if (typeof offset !== "number") - return offset.$sub(); - --offset; + toString$0(_) { + return this.display_name$0(); + } + }; + A._$BasePairDisplayTypeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.BasePairDisplayType._as(object).name; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf1(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_BasePairDisplayType_hjk; + }, + get$wireName() { + return "BasePairDisplayType"; + } + }; + A.BrowserClipboard.prototype = { + read$0(_) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.String), + $async$returnValue, $async$handler = 2, $async$currentError, text, msg, msg0, e, msg1, exception, t1, $async$exception; + var $async$read$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; } - if (offset == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); - forward_top0 = !forward_top; - t3 = helix_idx + 1; - t4 = [new Z._$Address(helix_idx - 1, offset, forward_top0), new Z._$Address(t3, offset, forward_top0)]; - t5 = t2.color; - _i = 0; - for (; _i < 2; ++_i) { - address_3p = t4[_i]; - t6 = _this.__address_3p_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$address_3p_to_strand.call(_this); - _this.set$__address_3p_to_strand(t6); - } - if (t6._keys == null) - t6.set$_keys(J.get$keys$x(t6._map$_map)); - t6 = t6._keys; - t6.toString; - if (J.contains$1$asx(t6, address_3p)) { - t6 = _this.__address_3p_to_strand; - if (t6 == null) { - t6 = N.Design.prototype.get$address_3p_to_strand.call(_this); - _this.set$__address_3p_to_strand(t6); - } - strand_3p = J.$index$asx(t6._map$_map, address_3p); - if (!t2.$eq(0, strand_3p)) { - helix_idx_top = address_3p.helix_idx; - if (t3 === helix_idx_top) { - if (forward_top) { - t6 = ss.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(ss); - ss.__dnaend_start = t6; - dna_end_top = t6; - } else - dna_end_top = t6; - } else { - t6 = ss.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(ss); - ss.__dnaend_end = t6; - dna_end_top = t6; - } else - dna_end_top = t6; - } - substrand_bot = strand_3p.__last_domain; - if (substrand_bot == null) { - substrand_bot = E.Strand.prototype.get$last_domain.call(strand_3p); - strand_3p.__last_domain = substrand_bot; - } - if (substrand_bot.forward) { - t6 = substrand_bot.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(substrand_bot); - substrand_bot.__dnaend_end = t6; - dna_end_bot = t6; - } else - dna_end_bot = t6; + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$handler = 4; + $async$goto = 7; + return A._asyncAwait(A.promiseToFuture(window.navigator.clipboard.readText(), type$.String), $async$read$0); + case 7: + // returning from await. + text = $async$result; + $async$returnValue = text; + // goto return + $async$goto = 1; + break; + $async$handler = 2; + // goto after finally + $async$goto = 6; + break; + case 4: + // catch + $async$handler = 3; + $async$exception = $async$currentError; + t1 = A.unwrapException($async$exception); + if (type$.NoSuchMethodError._is(t1)) { + t1 = A.browser(); + t1.toString; + if (t1 === $.$get$firefox()) { + msg = 'It looks like you are using Firefox and want to paste from the clipboard.\nUnfortunately you need to make a change to permissions before that will be possible.\n 1. Open a new tab and enter about:config in the address bar.\n 2. Click "Accept the Risk and Continue".\n 3. Search dom.events.testing.asyncClipboard and set it to true.\n 4. Refresh the scadnano tab. \nThen you will be able to paste from the clipboard.\n'; + B.Window_methods.alert$1(window, msg); } else { - t6 = substrand_bot.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(substrand_bot); - substrand_bot.__dnaend_start = t6; - dna_end_bot = t6; - } else - dna_end_bot = t6; + msg0 = "Unable to paste; unknown reason."; + B.Window_methods.alert$1(window, msg0); } - substrand_top = ss; - forward_top1 = forward_top; - helix_idx_bot = helix_idx_top; - helix_idx_top = helix_idx; + $async$returnValue = ""; + // goto return + $async$goto = 1; + break; } else { - substrand_top = strand_3p.__last_domain; - if (substrand_top == null) { - substrand_top = E.Strand.prototype.get$last_domain.call(strand_3p); - strand_3p.__last_domain = substrand_top; - } - if (substrand_top.forward) { - t6 = substrand_top.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(substrand_top); - substrand_top.__dnaend_end = t6; - dna_end_top = t6; - } else - dna_end_top = t6; - } else { - t6 = substrand_top.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(substrand_top); - substrand_top.__dnaend_start = t6; - dna_end_top = t6; - } else - dna_end_top = t6; - } - if (forward_top) { - t6 = ss.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(ss); - ss.__dnaend_start = t6; - dna_end_bot = t6; - } else - dna_end_bot = t6; - } else { - t6 = ss.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(ss); - ss.__dnaend_end = t6; - dna_end_bot = t6; - } else - dna_end_bot = t6; - } - substrand_bot = ss; - forward_top1 = forward_top0; - helix_idx_bot = helix_idx; + e = t1; + msg1 = "error: " + A.S(e); + B.Window_methods.alert$1(window, "Unable to paste. Reason:\n" + A.S(msg1)); + $async$returnValue = ""; + // goto return + $async$goto = 1; + break; } + // goto after finally + $async$goto = 6; + break; + case 3: + // uncaught + // goto rethrow + $async$goto = 2; + break; + case 6: + // after finally + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return A._asyncRethrow($async$currentError, $async$completer); + } + }); + return A._asyncStartSync($async$read$0, $async$completer); + } + }; + A.ContextMenu.prototype = {}; + A.ContextMenuItem.prototype = {}; + A.ContextMenuItem_ContextMenuItem_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_context_menu$_$this()._context_menu$_title = _this.title; + t1 = type$.nullable_void_Function._as(_this.on_click); + b.get$_context_menu$_$this().set$_on_click(t1); + b.get$_context_menu$_$this()._context_menu$_tooltip = _this.tooltip; + t1 = _this.nested; + t1 = t1 == null ? null : A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + type$.nullable_ListBuilder_ContextMenuItem._as(t1); + b.get$_context_menu$_$this().set$_nested(t1); + b.get$_context_menu$_$this()._disabled = _this.disabled; + return b; + }, + $signature: 327 + }; + A._$ContextMenuSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ContextMenu._as(object); + return ["items", serializers.serialize$2$specifiedType(object.items, B.FullType_91n), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_laS)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, value, t8, t9, t10, t11, + result = new A.ContextMenuBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double, t3 = type$.BuiltList_nullable_Object, t4 = type$.ContextMenuItem, t5 = type$.List_ContextMenuItem, t6 = type$.ListBuilder_ContextMenuItem; iterator.moveNext$0();) { + t7 = iterator.get$current(iterator); + t7.toString; + A._asStringS(t7); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t7) { + case "items": + t7 = result.get$_context_menu$_$this(); + t8 = t7._items; + if (t8 == null) { + t8 = new A.ListBuilder(t6); + t8.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t4))); + t8.set$_listOwner(null); + t7.set$_items(t8); + t7 = t8; + } else + t7 = t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_91n); + t8.toString; + t3._as(t8); + t9 = t7.$ti; + t10 = t9._eval$1("_BuiltList<1>"); + t11 = t9._eval$1("List<1>"); + if (t10._is(t8)) { + t10._as(t8); + t7.set$__ListBuilder__list_A(t11._as(t8._list)); + t7.set$_listOwner(t8); } else { - dna_end_bot = _null; - dna_end_top = dna_end_bot; - substrand_bot = dna_end_top; - substrand_top = substrand_bot; - forward_top1 = substrand_top; - helix_idx_bot = forward_top1; - helix_idx_top = helix_idx_bot; + t7.set$__ListBuilder__list_A(t11._as(A.List_List$from(t8, true, t9._precomputed1))); + t7.set$_listOwner(null); } - } else { - dna_end_bot = _null; - dna_end_top = dna_end_bot; - substrand_bot = dna_end_top; - substrand_top = substrand_bot; - forward_top1 = substrand_top; - helix_idx_bot = forward_top1; - helix_idx_top = helix_idx_bot; - } - if (helix_idx_top != null) { - t6 = t5.toHexColor$0(); - C.JSArray_methods.add$1(crossovers, Z._$PotentialVerticalCrossover$_("#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.r), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.g), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.b), 16), 2, "0"), dna_end_bot, dna_end_top, substrand_bot, substrand_top, forward_top1, helix_idx_bot, helix_idx_top, offset)); - } + break; + case "position": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7.toString; + t7 = t2._as(t1._as(t7)); + result.get$_context_menu$_$this().set$_context_menu$_position(0, t7); + break; } } - return D._BuiltList$of(crossovers, type$.legacy_PotentialVerticalCrossover); + return result._context_menu$_build$0(); }, - get$max_offset: function() { - var t1 = this.helices; - return A.IterableIntegerExtension_get_max(J.map$1$1$ax(t1.get$values(t1), new N.Design_max_offset_closure(), type$.legacy_int)); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$min_offset: function() { - var t1 = this.helices; - return A.IterableIntegerExtension_get_min(J.map$1$1$ax(t1.get$values(t1), new N.Design_min_offset_closure(), type$.legacy_int)); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_IAF; }, - add_strands$1: function(new_strands) { - var t1, _i, strand, t2, t3, t4, _this = this; - type$.legacy_Iterable_legacy_Strand._as(new_strands); - for (t1 = new_strands.length, _i = 0; _i < new_strands.length; new_strands.length === t1 || (0, H.throwConcurrentModificationError)(new_strands), ++_i) { - strand = new_strands[_i]; - t2 = strand.__domains; - if (t2 == null) { - t2 = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(t2); - } - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = _this.__helix_idxs; - if (t4 == null) { - t4 = N.Design.prototype.get$helix_idxs.call(_this); - _this.set$__helix_idxs(t4); - } - t3 = t3.helix; - if (!J.contains$1$asx(t4._list, t3)) - throw H.wrapException(N.IllegalDesignError$("Strand includes a domain on non-existent helix: " + t3)); - } + get$wireName() { + return "ContextMenu"; + } + }; + A._$ContextMenuItemSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ContextMenuItem._as(object); + result = ["title", serializers.serialize$2$specifiedType(object.title, B.FullType_h8g), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g), "disabled", serializers.serialize$2$specifiedType(object.disabled, B.FullType_MtR)]; + value = object.nested; + if (value != null) { + result.push("nested"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_91n)); } - return _this.rebuild$1(new N.Design_add_strands_closure(new_strands)); + return result; }, - remove_strands$1: function(strands_to_remove) { - return this.rebuild$1(new N.Design_remove_strands_closure(J.toSet$0$ax(type$.legacy_Iterable_legacy_Strand._as(strands_to_remove)._copy_on_write_list$_list))); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - has_default_groups$0: function() { - var t1 = this.groups._map$_map, - t2 = J.getInterceptor$asx(t1); - return t2.get$length(t1) === 1 && t2.containsKey$1(t1, "default_group"); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, + result = new A.ContextMenuItemBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.ContextMenuItem, t3 = type$.List_ContextMenuItem, t4 = type$.ListBuilder_ContextMenuItem; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t5) { + case "title": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_context_menu$_$this()._context_menu$_title = t5; + break; + case "tooltip": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_context_menu$_$this()._context_menu$_tooltip = t5; + break; + case "nested": + t5 = result.get$_context_menu$_$this(); + t6 = t5._nested; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_nested(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_91n); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "disabled": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_context_menu$_$this()._disabled = t5; + break; + } + } + return result._context_menu$_build$0(); }, - default_group$0: function() { - if (!this.has_default_groups$0()) - throw H.wrapException(P.ArgumentError$("cannot access Design.helices_view_order when groups are used. Access group.helices_view_order for each group instead.")); - var t1 = this.groups; - if (t1 == null) - throw H.wrapException(P.AssertionError$("Design.groups should not be None by this point")); - return C.JSArray_methods.get$first(P.List_List$from(t1.get$values(t1), true, type$.legacy_HelixGroup)); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$grid: function(_) { - return this.default_group$0().grid; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_pU4; }, - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var t6, t7, t8, t9, json_map0, group_map, group, t10, t11, pos, helices_view_order_to_write, use_no_indent, gp, t12, distances, t13, ticks, helix_json, default_max_end, helices_view_order, order, _i, mod_type, mods_map, _this = this, - _s8_ = "position", - _s18_ = "helices_view_order", - t1 = type$.legacy_String, - t2 = type$.dynamic, - json_map = P.LinkedHashMap_LinkedHashMap$_literal(["version", "0.19.5"], t1, t2), - t3 = _this.unused_fields, - t4 = t3._map$_map, - t5 = H._instanceType(t3); - json_map.addAll$1(0, new S.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - if (_this.has_default_groups$0()) - json_map.$indexSet(0, "grid", _this.default_group$0().grid.name); - t3 = _this.geometry; - t4 = t3.rise_per_base_pair; - t5 = t3.helix_radius; - t6 = t3.inter_helix_gap; - t7 = t3.bases_per_turn; - t8 = t3.minor_groove_angle; - t9 = type$.JSArray_legacy_double; - if (!E.are_all_close(H.setRuntimeTypeInfo([t4, t5, t6, t7, t8], t9), H.setRuntimeTypeInfo([0.332, 1, 1, 10.5, 150], t9))) { - json_map0 = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_String_and_dynamic); - if (!(Math.abs(t4 - 0.332) < 1e-9)) - json_map0.$indexSet(0, "rise_per_base_pair", t4); - if (!(Math.abs(t5 - 1) < 1e-9)) - json_map0.$indexSet(0, "helix_radius", t5); - if (!(Math.abs(t6 - 1) < 1e-9)) - json_map0.$indexSet(0, "inter_helix_gap", t6); - if (!(Math.abs(t7 - 10.5) < 1e-9)) - json_map0.$indexSet(0, "bases_per_turn", t7); - if (!(Math.abs(t8 - 150) < 1e-9)) - json_map0.$indexSet(0, "minor_groove_angle", t8); - t3 = t3.unused_fields; - t4 = t3._map$_map; - t5 = H._instanceType(t3); - json_map0.addAll$1(0, new S.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - json_map.$indexSet(0, "geometry", json_map0); - } - if (!_this.has_default_groups$0()) { - group_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t3 = _this.groups, t4 = J.get$iterator$ax(t3.get$keys(t3)), t5 = type$.legacy_BuiltList_legacy_int, t6 = type$.legacy_Iterable_legacy_int, t7 = type$.legacy_num, t3 = t3._map$_map, t8 = J.getInterceptor$asx(t3); t4.moveNext$0();) { - t9 = t4.get$current(t4); - group = t8.$index(t3, t9); - t10 = _this.__helix_idxs_in_group; - if (t10 == null) { - t10 = N.Design.prototype.get$helix_idxs_in_group.call(_this); - _this.set$__helix_idxs_in_group(t10); - } - t10 = J.$index$asx(t10._map$_map, t9); - group.toString; - t6._as(t10); - json_map0 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - t11 = group.position; - pos = P.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t7); - json_map0.$indexSet(0, _s8_, suppress_indent ? new K.NoIndent(pos) : pos); - t11 = group.pitch; - if (!(Math.abs(t11 - 0) < 1e-9)) - json_map0.$indexSet(0, "pitch", t11); - t11 = group.roll; - if (!(Math.abs(t11 - 0) < 1e-9)) - json_map0.$indexSet(0, "roll", t11); - t11 = group.yaw; - if (!(Math.abs(t11 - 0) < 1e-9)) - json_map0.$indexSet(0, "yaw", t11); - json_map0.$indexSet(0, "grid", group.grid.name); - if (!H.boolConversionCheck(E.helices_view_order_is_default(t5._as(t10), group))) { - t10 = group.helices_view_order; - helices_view_order_to_write = new Q.CopyOnWriteList(true, t10._list, H._instanceType(t10)._eval$1("CopyOnWriteList<1>")); - json_map0.$indexSet(0, _s18_, suppress_indent ? new K.NoIndent(helices_view_order_to_write) : helices_view_order_to_write); - } - group_map.$indexSet(0, t9, json_map0); - } - json_map.$indexSet(0, "groups", group_map); + get$wireName() { + return "ContextMenuItem"; + } + }; + A._$ContextMenu.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.ContextMenu && J.$eq$(this.items, other.items) && this.position.$eq(0, other.position); + }, + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._context_menu$__hashCode; + if (t1 != null) + return t1; + t1 = _this.position; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.items)), A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0))); + t1 = _this._context_menu$__hashCode; + if (t1 == null) { + _this._context_menu$__hashCode = _$hash; + t1 = _$hash; } - t3 = type$.legacy_int; - t4 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); - for (t5 = _this.helices, t6 = J.get$iterator$ax(t5.get$values(t5)), t7 = type$.JSArray_legacy_int, t8 = type$.legacy_num; t6.moveNext$0();) { - t9 = t6.get$current(t6); - t10 = t9.idx; - json_map0 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - t11 = t9.__has_default_major_ticks; - if (t11 == null ? t9.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(t9) : t11) { - t11 = t9.__has_position; - use_no_indent = !(t11 == null ? t9.__has_position = O.Helix.prototype.get$has_position.call(t9) : t11); - } else - use_no_indent = false; - t11 = t9.__has_default_roll; - if (!(t11 == null ? t9.__has_default_roll = O.Helix.prototype.get$has_default_roll.call(t9) : t11)) { - t11 = t9.roll; - json_map0.$indexSet(0, "roll", Math.abs(t11 - C.JSNumber_methods.roundToDouble$0(t11)) < 1e-9 ? C.JSNumber_methods.round$0(t11) : t11); - } - t11 = t9.__has_grid_position; - if (t11 == null ? t9.__has_grid_position = O.Helix.prototype.get$has_grid_position.call(t9) : t11) { - t11 = t9.grid_position; - gp = H.setRuntimeTypeInfo([t11.h, t11.v], t7); - json_map0.$indexSet(0, "grid_position", suppress_indent && !use_no_indent ? new K.NoIndent(gp) : gp); - } - t11 = t9.__has_position; - if (t11 == null ? t9.__has_position = O.Helix.prototype.get$has_position.call(t9) : t11) { - t11 = t9.position_; - if (t11 == null) - t11 = E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); - pos = P.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t8); - json_map0.$indexSet(0, _s8_, suppress_indent && !use_no_indent ? new K.NoIndent(pos) : pos); - } - t11 = t9.__has_default_major_tick_distance; - if (!(t11 == null ? t9.__has_default_major_tick_distance = O.Helix.prototype.get$has_default_major_tick_distance.call(t9) : t11)) { - t11 = t9.major_tick_periodic_distances._list; - t12 = J.getInterceptor$asx(t11); - json_map0.$indexSet(0, "major_tick_distance", t12.get$length(t11) !== 1 ? null : t12.get$first(t11)); - } - t11 = t9.__has_default_major_tick_start; - if (!(t11 == null ? t9.__has_default_major_tick_start = O.Helix.prototype.get$has_default_major_tick_start.call(t9) : t11)) - json_map0.$indexSet(0, "major_tick_start", t9.major_tick_start); - t11 = t9.__has_default_group; - if (!(t11 == null ? t9.__has_default_group = O.Helix.prototype.get$has_default_group.call(t9) : t11)) - json_map0.$indexSet(0, "group", t9.group); - t11 = t9.__has_major_tick_periodic_distances; - if (t11 == null ? t9.__has_major_tick_periodic_distances = O.Helix.prototype.get$has_major_tick_periodic_distances.call(t9) : t11) { - t11 = t9.major_tick_periodic_distances; - distances = new Q.CopyOnWriteList(true, t11._list, H._instanceType(t11)._eval$1("CopyOnWriteList<1>")); - json_map0.$indexSet(0, "major_tick_periodic_distances", suppress_indent && !use_no_indent ? new K.NoIndent(distances) : distances); - } - t11 = t9.unused_fields; - t12 = t11._map$_map; - t13 = H._instanceType(t11); - json_map0.addAll$1(0, new S.CopyOnWriteMap(t11._mapFactory, t12, t13._eval$1("@<1>")._bind$1(t13._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - t11 = t9.__has_default_major_ticks; - if (!(t11 == null ? t9.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(t9) : t11)) { - t9 = t9.major_ticks; - ticks = new Q.CopyOnWriteList(true, t9._list, H._instanceType(t9)._eval$1("CopyOnWriteList<1>")); - json_map0.$indexSet(0, "major_ticks", suppress_indent && !use_no_indent ? new K.NoIndent(ticks) : ticks); - } - json_map0.$indexSet(0, "idx", t10); - t4.$indexSet(0, t10, suppress_indent && use_no_indent ? new K.NoIndent(json_map0) : json_map0); - } - t6 = t4.get$values(t4); - t7 = H._instanceType(t6); - _this._remove_helix_idxs_if_default$1(P.List_List$from(H.MappedIterable_MappedIterable(t6, t7._eval$1("@(Iterable.E)")._as(E.util__unwrap_from_noindent$closure()), t7._eval$1("Iterable.E"), t2), true, type$.legacy_Map_of_legacy_String_and_dynamic)); - for (t5 = J.get$iterator$ax(t5.get$values(t5)), t6 = _this.strands; t5.moveNext$0();) { - t7 = t5.get$current(t5); - helix_json = t4.$index(0, t7.idx); - if (helix_json instanceof K.NoIndent) - helix_json = helix_json.value; - default_max_end = N.calculate_default_max_offset(t6); - t8 = t7.max_offset; - if (t8 !== default_max_end) - J.$indexSet$ax(helix_json, "max_offset", t8); - if (_this.has_nondefault_min_offset$1(t7)) - J.$indexSet$ax(helix_json, "min_offset", t7.min_offset); - } - t4 = t4.get$values(t4); - json_map.$indexSet(0, "helices", P.List_List$of(t4, true, H._instanceType(t4)._eval$1("Iterable.E"))); - if (_this.has_default_groups$0()) { - helices_view_order = _this.default_group$0().helices_view_order; - if (!E.is_increasing(helices_view_order, t3)) { - order = new Q.CopyOnWriteList(true, helices_view_order._list, H._instanceType(helices_view_order)._eval$1("CopyOnWriteList<1>")); - json_map.$indexSet(0, _s18_, suppress_indent ? new K.NoIndent(order) : order); - } - } - for (t3 = [C.ModificationType_five_prime, C.ModificationType_three_prime, C.ModificationType_internal], _i = 0; _i < 3; ++_i) { - mod_type = t3[_i]; - t4 = _this._all_modifications$1(mod_type)._set; - t5 = t4.get$length(t4); - if (typeof t5 !== "number") - return t5.$gt(); - if (t5 > 0) { - mods_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t4 = t4.get$iterator(t4); t4.moveNext$0();) { - t5 = t4.get$current(t4); - if (!mods_map.containsKey$1(0, t5.get$vendor_code())) - mods_map.$indexSet(0, t5.get$vendor_code(), t5.to_json_serializable$1$suppress_indent(suppress_indent)); - } - json_map.$indexSet(0, mod_type.get$key(mod_type), mods_map); - } - } - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Map_of_legacy_String_and_dynamic); - for (t2 = J.get$iterator$ax(t6._list); t2.moveNext$0();) - t1.push(t2.get$current(t2).to_json_serializable$1$suppress_indent(suppress_indent)); - json_map.$indexSet(0, "strands", t1); - return json_map; - }, - to_json_serializable$0: function() { - return this.to_json_serializable$1$suppress_indent(false); + return t1; }, - _all_modifications$1: function(mod_type) { - var t1, t2, t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, _this = this; - if (mod_type == null) { - t1 = type$.dynamic; - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = _this.strands._list, t4 = J.getInterceptor$ax(t3), t5 = t4.get$iterator(t3); t5.moveNext$0();) { - t6 = t5.get$current(t5).modification_5p; - if (t6 != null) - t2.add$1(0, t6); - } - t5 = type$.legacy_Modification; - mods_5p = X.BuiltSet_BuiltSet$from(t2, t5); - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t6 = t4.get$iterator(t3); t6.moveNext$0();) { - t7 = t6.get$current(t6).modification_3p; - if (t7 != null) - t2.add$1(0, t7); - } - mods_3p = X.BuiltSet_BuiltSet$from(t2, t5); - t1 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = t4.get$iterator(t3); t2.moveNext$0();) { - t3 = t2.get$current(t2).modifications_int; - if (t3._values == null) - t3.set$_values(J.get$values$x(t3._map$_map)); - t3 = t3._values; - t3.toString; - t3 = J.get$iterator$ax(t3); - for (; t3.moveNext$0();) - t1.add$1(0, t3.get$current(t3)); - } - mods_int = X.BuiltSet_BuiltSet$from(t1, t5); - return mods_5p.union$1(mods_3p).union$1(mods_int); - } else if (mod_type === C.ModificationType_five_prime) { - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); - for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { - t3 = t2.get$current(t2).modification_5p; - if (t3 != null) - t1.add$1(0, t3); - } - return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); - } else if (mod_type === C.ModificationType_three_prime) { - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); - for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { - t3 = t2.get$current(t2).modification_3p; - if (t3 != null) - t1.add$1(0, t3); - } - return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); - } else if (mod_type === C.ModificationType_internal) { - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); - for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { - t3 = t2.get$current(t2).modifications_int; - if (t3._values == null) - t3.set$_values(J.get$values$x(t3._map$_map)); - t3 = t3._values; - t3.toString; - t3 = J.get$iterator$ax(t3); - for (; t3.moveNext$0();) - t1.add$1(0, t3.get$current(t3)); - } - return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenu"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "items", this.items); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + } + }; + A.ContextMenuBuilder.prototype = { + get$items(_) { + var t1 = this.get$_context_menu$_$this(), + t2 = t1._items; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.ContextMenuItem); + t1.set$_items(t2); + t1 = t2; } else - throw H.wrapException(P.AssertionError$("unrecognized ModificationType: " + mod_type.toString$0(0))); - }, - has_nondefault_min_offset$1: function(helix) { - var starts = J.map$1$1$ax(this.domains_on_helix$1(helix.idx), new N.Design_has_nondefault_min_offset_closure(), type$.legacy_int), - min_start = starts.get$isEmpty(starts) ? null : A.IterableIntegerExtension_get_min(starts), - t1 = min_start == null || min_start >= 0, - t2 = helix.min_offset; - if (t1) - return t2 !== 0; - else - return t2 !== min_start; - }, - _check_helix_offsets$0: function() { - var t1, t2, t3; - for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.min_offset >= t2.max_offset; - if (t3) - throw H.wrapException(N.IllegalDesignError$("for helix " + t2.idx + ", helix.min_offset = " + t2.min_offset + " must be strictly less than helix.max_offset = " + t2.max_offset)); - } + t1 = t2; + return t1; }, - _check_strands_reference_helices_legally$0: function() { - var t1, t2; - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - this._check_strand_references_legal_helices$1(t2); - this._check_strand_has_legal_offsets_in_helices$1(t2); + get$_context_menu$_$this() { + var t1, _this = this, + $$v = _this._context_menu$_$v; + if ($$v != null) { + t1 = $$v.items; + t1.toString; + _this.set$_items(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_context_menu$_position(0, $$v.position); + _this._context_menu$_$v = null; } + return _this; }, - _check_strand_references_legal_helices$1: function(strand) { - var t1, t2, t3, t4, t5, t6; - for (t1 = J.get$iterator$ax(strand.get$domains()._list), t2 = this.helices; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.helix; - t5 = t2._map$_map; - t6 = J.getInterceptor$x(t5); - if (!t6.containsKey$1(t5, t4)) { - t1 = "domain " + t3.toString$0(0) + " refers to nonexistent Helix index " + t4 + "; here is the list of valid helices: "; - if (t2._keys == null) - t2.set$_keys(t6.get$keys(t5)); - t3 = t2._keys; - t3.toString; - throw H.wrapException(N.StrandError$(strand, t1 + J.join$1$ax(t3, ", "))); + _context_menu$_build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, + _s11_ = "ContextMenu", + _$result = null; + try { + _$result0 = _this._context_menu$_$v; + _$result = _$result0 == null ? A._$ContextMenu$_(_this.get$items(_this).build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_context_menu$_$this()._context_menu$_position, _s11_, "position", type$.Point_double)) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "items"; + _this.get$items(_this).build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } + throw exception; } + t1 = type$.ContextMenu; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._context_menu$_$v = t2; + return _$result; }, - _check_strand_has_legal_offsets_in_helices$1: function(strand) { - var t1, t2, t3, t4, helix, t5, t6; - for (t1 = J.get$iterator$ax(strand.get$domains()._list), t2 = this.helices; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.helix; - helix = J.$index$asx(t2._map$_map, t4); - t5 = t3.start; - t6 = helix.min_offset; - if (t5 < t6) - throw H.wrapException(N.StrandError$(strand, "domain " + t3.toString$0(0) + " has start offset " + t5 + ", beyond the beginning of Helix " + t4 + " that has min_offset = " + t6)); - t5 = t3.end; - t6 = helix.max_offset; - if (t5 > t6) - throw H.wrapException(N.StrandError$(strand, "domain " + t3.toString$0(0) + " has end offset " + t5 + ", beyond the end of Helix " + t4 + " that has max_offset = " + t6)); - } - }, - _check_loopouts_not_consecutive_or_singletons_or_zero_length$0: function() { - var t1, t2, t3; - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (J.get$length$asx(t2.substrands._list) === 1) { - t3 = t2.__first_domain; - if (t3 == null) - t3 = t2.__first_domain = E.Strand.prototype.get$first_domain.call(t2); - t3.toString; - } - t2.check_two_consecutive_loopouts$0(); - t2.check_loopouts_length$0(); - } + set$_items(_items) { + this._items = type$.nullable_ListBuilder_ContextMenuItem._as(_items); }, - check_strands_overlap_legally$0: function() { - var t1, t2, t3, t4, t5, t6, t7, domains, t8, offsets_data, t9, current_domains, _i, data, offset, domain0, domain1, domain2, - err_msg = new N.Design_check_strands_overlap_legally_err_msg(); - for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.JSArray_legacy_Domain, t3 = type$.legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain, t4 = type$.nullable_int_Function_2_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain_and_legacy_$1, t5 = type$.Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain, t6 = type$.JSArray_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain; t1.moveNext$0();) { - t7 = t1.get$current(t1); - domains = this.domains_on_helix$1(t7); - t8 = J.getInterceptor$asx(domains); - if (t8.get$length(domains) === 0) - continue; - offsets_data = H.setRuntimeTypeInfo([], t6); - for (t8 = t8.get$iterator(domains); t8.moveNext$0();) { - t9 = t8.get$current(t8); - C.JSArray_methods.add$1(offsets_data, new S.Tuple3(t9.start, true, t9, t5)); - C.JSArray_methods.add$1(offsets_data, new S.Tuple3(t9.end, false, t9, t5)); - } - t8 = t4._as(new N.Design_check_strands_overlap_legally_closure()); - if (!!offsets_data.immutable$list) - H.throwExpression(P.UnsupportedError$("sort")); - t9 = offsets_data.length - 1; - if (t9 - 0 <= 32) - H.Sort__insertionSort(offsets_data, 0, t9, t8, t3); - else - H.Sort__dualPivotQuicksort(offsets_data, 0, t9, t8, t3); - current_domains = H.setRuntimeTypeInfo([], t2); - for (t8 = offsets_data.length, _i = 0; _i < offsets_data.length; offsets_data.length === t8 || (0, H.throwConcurrentModificationError)(offsets_data), ++_i) { - data = offsets_data[_i]; - offset = data.item1; - if (H.boolConversionCheck(data.item2)) { - if (current_domains.length >= 2) { - t9 = current_domains[1]; - if (typeof offset !== "number") - return offset.$ge(); - if (offset >= t9.end) - C.JSArray_methods.removeAt$1(current_domains, 1); - } - if (current_domains.length >= 1) { - t9 = current_domains[0]; - if (typeof offset !== "number") - return offset.$ge(); - if (offset >= t9.end) - C.JSArray_methods.removeAt$1(current_domains, 0); - } - C.JSArray_methods.add$1(current_domains, data.item3); - t9 = current_domains.length; - if (t9 < 2) - continue; - domain0 = current_domains[0]; - domain1 = current_domains[1]; - if (t9 > 2) { - domain2 = current_domains[2]; - t1 = domain0.forward; - t2 = domain1.forward; - if (t1 === t2) - throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain1, t7))); - t3 = domain2.forward; - if (t1 === t3) - throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain2, t7))); - if (t2 === t3) - throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain1, domain2, t7))); - throw H.wrapException(P.AssertionError$("since current_domains = " + H.S(current_domains) + " has at least three domains, I expected to find a pair of illegally overlapping domains")); - } else if (domain0.forward === domain1.forward) - throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain1, t7))); - } - } - } + set$_context_menu$_position(_, _position) { + this._context_menu$_position = type$.nullable_Point_double._as(_position); + } + }; + A._$ContextMenuItem.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.ContextMenuItem && _this.title === other.title && _this.tooltip === other.tooltip && J.$eq$(_this.nested, other.nested) && _this.disabled === other.disabled; }, - get$helix_idxs_in_group: function() { - var t3, t4, t5, t6, t7, t8, t9, - t1 = type$.legacy_String, - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_int); - for (t3 = this.groups, t3 = J.get$iterator$ax(t3.get$keys(t3)), t4 = type$.JSArray_legacy_int; t3.moveNext$0();) - t2.$indexSet(0, t3.get$current(t3), H.setRuntimeTypeInfo([], t4)); - for (t3 = this.helices, t4 = J.get$iterator$ax(t3.get$keys(t3)); t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = t2.$index(0, J.$index$asx(t3._map$_map, t5).group); - (t6 && C.JSArray_methods).add$1(t6, t5); - } - t3 = type$.legacy_BuiltList_legacy_int; - t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - for (t5 = t2.get$keys(t2), t5 = t5.get$iterator(t5), t6 = type$.legacy_int, t7 = type$._BuiltList_legacy_int; t5.moveNext$0();) { - t8 = t5.get$current(t5); - t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); - t9._maybeCheckForNull$0(); - t4.$indexSet(0, t8, t9); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._context_menu$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.title)), B.JSString_methods.get$hashCode(_this.tooltip)), J.get$hashCode$(_this.nested)), B.JSBool_methods.get$hashCode(_this.disabled))); + t1 = _this._context_menu$__hashCode; + if (t1 == null) { + _this._context_menu$__hashCode = _$hash; + t1 = _$hash; } - return A.BuiltMap_BuiltMap$of(t4, t1, t3); + return t1; }, - _check_grid_positions_disjoint$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, i, idx1, gp1, j, j0, idx2, _this = this; - for (t1 = _this.groups, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = _this.helices, t4 = type$.legacy_int, t5 = type$.legacy_GridPosition; t2.moveNext$0();) { - t6 = t2.get$current(t2); - if (J.$index$asx(t1._map$_map, t6).grid === C.Grid_none) - continue; - t7 = _this.__helix_idxs_in_group; - if (t7 == null) { - t7 = N.Design.prototype.get$helix_idxs_in_group.call(_this); - _this.set$__helix_idxs_in_group(t7); - } - t8 = P.LinkedHashMap_LinkedHashMap$_empty(t4, t5); - for (t7 = J.$index$asx(t7._map$_map, t6)._list, t9 = J.getInterceptor$ax(t7), t10 = t9.get$iterator(t7); t10.moveNext$0();) { - t11 = t10.get$current(t10); - t8.$indexSet(0, t11, J.$index$asx(t3._map$_map, t11).grid_position); - } - for (i = 0; i < t8.get$length(t8) - 1; i = j) { - idx1 = t9.$index(t7, i); - gp1 = t8.$index(0, idx1); - j = i + 1; - t10 = J.getInterceptor$(gp1); - j0 = j; - while (true) { - t11 = t9.get$length(t7); - if (typeof t11 !== "number") - return H.iae(t11); - if (!(j0 < t11)) - break; - idx2 = t9.$index(t7, j0); - if (t10.$eq(gp1, t8.$index(0, idx2))) - throw H.wrapException(N.IllegalDesignError$("cannot use the same grid_position twice in the same group, but helices " + H.S(idx1) + " and " + H.S(idx2) + " both have grid_position " + H.S(gp1) + " and are both in group " + H.S(t6))); - ++j0; - } - } + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuItem"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "title", _this.title); + t2.add$2(t1, "on_click", _this.on_click); + t2.add$2(t1, "tooltip", _this.tooltip); + t2.add$2(t1, "nested", _this.nested); + t2.add$2(t1, "disabled", _this.disabled); + return t2.toString$0(t1); + } + }; + A.ContextMenuItemBuilder.prototype = { + get$_context_menu$_$this() { + var t1, _this = this, + $$v = _this._context_menu$_$v; + if ($$v != null) { + _this._context_menu$_title = $$v.title; + _this.set$_on_click($$v.on_click); + _this._context_menu$_tooltip = $$v.tooltip; + t1 = $$v.nested; + _this.set$_nested(t1 == null ? null : A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._disabled = $$v.disabled; + _this._context_menu$_$v = null; } + return _this; }, - find_unpaired_insertion_deletions_on_domain$2: function(domain, include_other_domain) { - var offset, t1, t2, t3, t4, other_dom, t5, t6, length_insertion_substrand, - unpaireds = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); - for (offset = domain.start, t1 = domain.end, t2 = domain.deletions, t3 = domain.helix, t4 = domain.forward; offset < t1; ++offset) { - other_dom = this.other_domain_at_offset$2(domain, offset); - if (other_dom == null) - continue; - t5 = t2._list; - t6 = J.getInterceptor$asx(t5); - if (t6.contains$1(t5, offset) && !J.contains$1$asx(other_dom.deletions._list, offset)) { - C.JSArray_methods.add$1(unpaireds, new Z._$Address(t3, offset, t4)); - continue; - } else if (include_other_domain && J.contains$1$asx(other_dom.deletions._list, offset) && !t6.contains$1(t5, offset)) { - t5 = other_dom.helix; - t6 = other_dom.forward; - C.JSArray_methods.add$1(unpaireds, new Z._$Address(t5, offset, t6)); - continue; - } - t5 = domain.__insertion_offset_to_length; - if (t5 == null) { - t5 = G.Domain.prototype.get$insertion_offset_to_length.call(domain); - domain.set$__insertion_offset_to_length(t5); - } - length_insertion_substrand = J.$index$asx(t5._map$_map, offset); - t5 = other_dom.__insertion_offset_to_length; - if (t5 == null) { - t5 = G.Domain.prototype.get$insertion_offset_to_length.call(other_dom); - other_dom.set$__insertion_offset_to_length(t5); + _context_menu$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, + _s15_ = "ContextMenuItem", + _s8_ = "disabled", + _$result = null; + try { + _$result0 = _this._context_menu$_$v; + if (_$result0 == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_context_menu$_$this()._context_menu$_title, _s15_, "title", t1); + t3 = _this.get$_context_menu$_$this()._on_click; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_context_menu$_$this()._context_menu$_tooltip, _s15_, "tooltip", t1); + t5 = _this._nested; + t5 = t5 == null ? null : t5.build$0(); + t6 = type$.bool; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_context_menu$_$this()._disabled, _s15_, _s8_, t6); + _$result0 = new A._$ContextMenuItem(t2, t3, t4, t5, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s15_, "title", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s15_, "tooltip", t1); + A.BuiltValueNullFieldError_checkNotNull(t7, _s15_, _s8_, t6); } - if (length_insertion_substrand != J.$index$asx(t5._map$_map, offset)) { - t5 = other_dom.helix; - t6 = other_dom.forward; - C.JSArray_methods.add$1(unpaireds, new Z._$Address(t5, offset, t6)); - continue; + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "nested"; + t1 = _this._nested; + if (t1 != null) + t1.build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s15_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } + throw exception; } - return unpaireds; + t1 = type$.ContextMenuItem; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._context_menu$_$v = t2; + return _$result; }, - _find_mismatches_on_substrand$1: function(substrand) { - var offset, t1, t2, t3, t4, t5, t6, other_ss, seq, other_seq, dna_idx, t7, t8, length_insertion_substrand, idx_other, t9, idx, t10, within_insertion, t11, _s5_ = "_list", - mismatches = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Mismatch); - for (offset = substrand.start, t1 = substrand.end, t2 = mismatches.$ti, t3 = t2._precomputed1, t4 = substrand.forward, t5 = !t3._is(null), t2 = t2._eval$1("List<1>"), t6 = substrand.deletions; offset < t1; ++offset) { - if (J.contains$1$asx(t6._list, offset)) - continue; - other_ss = this.other_domain_at_offset$2(substrand, offset); - if (other_ss == null || other_ss.dna_sequence == null) - continue; - seq = substrand.dna_sequence_in$2(offset, offset); - other_seq = other_ss.dna_sequence_in$2(offset, offset); - if (J.contains$1$asx(other_ss.deletions._list, offset)) { - dna_idx = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); - t7 = t3._as(new N.Mismatch(dna_idx, offset, seq.length === 1 ? -1 : 0)); - !$.$get$isSoundMode() && t5; - if (mismatches._listOwner != null) { - t8 = mismatches.__ListBuilder__list; - mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); - mismatches.set$_listOwner(null); - } - t8 = mismatches.__ListBuilder__list; - J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); - continue; - } - t7 = substrand.__insertion_offset_to_length; - if (t7 == null) { - t7 = G.Domain.prototype.get$insertion_offset_to_length.call(substrand); - substrand.set$__insertion_offset_to_length(t7); - } - length_insertion_substrand = J.$index$asx(t7._map$_map, offset); - t7 = other_ss.__insertion_offset_to_length; - if (t7 == null) { - t7 = G.Domain.prototype.get$insertion_offset_to_length.call(other_ss); - other_ss.set$__insertion_offset_to_length(t7); - } - if (length_insertion_substrand != J.$index$asx(t7._map$_map, offset)) { - dna_idx = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); - t7 = t3._as(new N.Mismatch(dna_idx, offset, seq.length === 1 ? -1 : 0)); - !$.$get$isSoundMode() && t5; - if (mismatches._listOwner != null) { - t8 = mismatches.__ListBuilder__list; - mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); - mismatches.set$_listOwner(null); - } - t8 = mismatches.__ListBuilder__list; - J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); - continue; - } - for (t7 = seq.length, idx_other = t7 - 1, t8 = J.getInterceptor$s(other_seq), t9 = t7 === 1, idx = 0; idx < t7; ++idx, --idx_other) - if (C.JSString_methods._codeUnitAt$1(seq, idx) !== N._wc(t8.codeUnitAt$1(other_seq, idx_other))) { - t10 = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); - within_insertion = t9 ? -1 : idx; - t10 = t3._as(new N.Mismatch(t10 + idx, offset, within_insertion)); - !$.$get$isSoundMode() && t5; - if (mismatches._listOwner != null) { - t11 = mismatches.__ListBuilder__list; - mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t3))); - mismatches.set$_listOwner(null); - } - t11 = mismatches.__ListBuilder__list; - J.add$1$ax(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, t10); - } - } - return mismatches; + set$_on_click(_on_click) { + this._on_click = type$.nullable_void_Function._as(_on_click); }, - other_domain_at_offset$2: function(domain, offset) { - var t1, _i, other_domain, - other_domains = this._other_domains_overlapping$1(domain); - for (t1 = other_domains.length, _i = 0; _i < t1; ++_i) { - other_domain = other_domains[_i]; - if (other_domain.start <= offset && offset < other_domain.end) - return other_domain; + set$_nested(_nested) { + this._nested = type$.nullable_ListBuilder_ContextMenuItem._as(_nested); + } + }; + A._ContextMenu_Object_BuiltJsonSerializable.prototype = {}; + A._ContextMenuItem_Object_BuiltJsonSerializable.prototype = {}; + A.CopyInfo.prototype = { + create_strands_move$2$start_at_copied(state, start_at_copied) { + var _this = this, + design = state.get$design(), + t1 = design.strands, + t2 = design.helices, + strands_move = A.StrandsMove_StrandsMove(t1, true, design.groups, t2, state.ui_state.storables.strand_paste_keep_color, _this.copied_address, _this.helices_view_order_inverse, _this.strands); + t1 = _this.translation != null; + if (t1 && _this.prev_paste_address != null && !start_at_copied) + strands_move = strands_move.rebuild$1(new A.CopyInfo_create_strands_move_closure(_this)); + else if (t1 && !start_at_copied) + strands_move = strands_move.rebuild$1(new A.CopyInfo_create_strands_move_closure0(_this)); + return strands_move; + } + }; + A.CopyInfo_CopyInfo_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$strands().replace$1(0, _this.strands); + t1 = b.get$copied_address(); + t2 = _this.copied_address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + t2 = _this.translation; + if (t2 == null) + t1 = null; + else { + t1 = new A.AddressDifferenceBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.AddressDifference); + t1._address$_$v = t2; } - return null; + b.get$_copy_info$_$this()._translation = t1; + b.get$helices_view_order().replace$1(0, _this.helices_view_order); + b.get$helices_view_order_inverse().replace$1(0, _this.helices_view_order_inverse); + return b; }, - domains_on_helix$2$forward: function(helix_idx, $forward) { - var domains, - t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx), - t2 = t1._list; - t1 = H.instanceType(t1); - domains = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); - if ($forward != null) { - t1 = J.where$1$ax(t2, t1._eval$1("bool(1)")._as(new N.Design_domains_on_helix_closure($forward))); - domains = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + $signature: 328 + }; + A.CopyInfo_create_strands_move_closure.prototype = { + call$1(b) { + var t4, + t1 = b.get$current_address(), + t2 = this.$this, + t3 = t2.translation; + if (t3 == null || t2.prev_paste_address == null) + t2 = null; + else { + t4 = t2.prev_paste_address; + t4.toString; + t3.toString; + t2 = t4.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); } - return domains; - }, - domains_on_helix$1: function(helix_idx) { - return this.domains_on_helix$2$forward(helix_idx, null); - }, - domains_on_helix_overlapping$2$forward: function(domain, $forward) { - var domains = this.domains_on_helix$2$forward(domain.helix, $forward); - J.removeWhere$1$ax(domains, new N.Design_domains_on_helix_overlapping_closure(domain)); - return domains; - }, - domains_on_helix_overlapping$1: function(domain) { - return this.domains_on_helix_overlapping$2$forward(domain, null); + t2.toString; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - domains_on_helices$1: function(helix_idxs) { - var list_builder, t1; - type$.legacy_Iterable_legacy_int._as(helix_idxs); - list_builder = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - for (t1 = helix_idxs._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) - list_builder.addAll$1(0, this.domains_on_helix$1(t1.get$current(t1))); - return list_builder.build$0(); + $signature: 41 + }; + A.CopyInfo_create_strands_move_closure0.prototype = { + call$1(b) { + var t1 = b.get$current_address(), + t2 = this.$this, + t3 = t2.translation; + t2 = t3 == null ? null : t2.copied_address.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); + t2.toString; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + return b; }, - get$domain_name_mismatches: function() { - var t3, t4, t5, forward_domains, t6, _i, forward_domain, t7, t8, t9, - _s18_ = "DomainNameMismatch", - t1 = type$.legacy_int, - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_DomainNameMismatch); - for (t3 = this.helices, t4 = J.get$iterator$ax(t3.get$keys(t3)), t5 = type$.JSArray_legacy_DomainNameMismatch; t4.moveNext$0();) - t2.$indexSet(0, t4.get$current(t4), H.setRuntimeTypeInfo([], t5)); - for (t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) { - t4 = t3.get$current(t3); - forward_domains = J.toList$0$ax(this.domains_on_helix$2$forward(t4, true)); - t5 = H._arrayInstanceType(forward_domains)._eval$1("bool(1)")._as(new N.Design_domain_name_mismatches_closure()); - if (!!forward_domains.fixed$length) - H.throwExpression(P.UnsupportedError$("removeWhere")); - C.JSArray_methods._removeWhere$2(forward_domains, t5, true); - for (t5 = forward_domains.length, t6 = t4 == null, _i = 0; _i < forward_domains.length; forward_domains.length === t5 || (0, H.throwConcurrentModificationError)(forward_domains), ++_i) { - forward_domain = forward_domains[_i]; - for (t7 = J.get$iterator$ax(this.domains_on_helix_overlapping$2$forward(forward_domain, false)); t7.moveNext$0();) { - t8 = t7.get$current(t7); - t9 = t8 == null; - if (!t9 && t8.name != null) - if (N.Design_domains_mismatch(forward_domain, t8)) { - if (t6) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); - if (forward_domain == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward_domain")); - if (t9) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "reverse_domain")); - t9 = t2.$index(0, t4); - (t9 && C.JSArray_methods).add$1(t9, new B._$DomainNameMismatch(t4, forward_domain, t8)); - } - } - } + $signature: 41 + }; + A._$CopyInfoSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.CopyInfo._as(object); + result = ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_2No), "copied_address", serializers.serialize$2$specifiedType(object.copied_address, B.FullType_KlG), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, B.FullType_4QF0), "helices_view_order_inverse", serializers.serialize$2$specifiedType(object.helices_view_order_inverse, B.FullType_oyU)]; + value = object.prev_paste_address; + if (value != null) { + result.push("prev_paste_address"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_KlG)); } - t3 = type$.legacy_BuiltList_legacy_DomainNameMismatch; - t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - for (t5 = t2.get$keys(t2), t5 = t5.get$iterator(t5), t6 = type$.legacy_DomainNameMismatch, t7 = type$._BuiltList_legacy_DomainNameMismatch; t5.moveNext$0();) { - t8 = t5.get$current(t5); - t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); - t9._maybeCheckForNull$0(); - t4.$indexSet(0, t8, t9); + value = object.translation; + if (value != null) { + result.push("translation"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_KlG0)); } - return A.BuiltMap_BuiltMap$of(t4, t1, t3); + return result; }, - get$all_domains: function() { - var t2, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - for (t2 = J.get$iterator$ax(this.strands._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__domains; - if (t4 == null) { - t4 = E.Strand.prototype.get$domains.call(t3); - t3.set$__domains(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - t1.push(t3.get$current(t3)); - } - return D._BuiltList$of(t1, type$.legacy_Domain); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - domains_on_helix_at$2: function(helix_idx, offset) { - var t2, t3, t4, - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); - for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.start; - if (typeof offset !== "number") - return H.iae(offset); - if (t4 <= offset && offset < t3.end) - t1.add$1(0, t3); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, value, t12, t13, t14, t15, _null = null, + result = new A.CopyInfoBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.MapBuilder_int_int, t2 = type$.BuiltList_nullable_Object, t3 = type$.int, t4 = type$.List_int, t5 = type$.ListBuilder_int, t6 = type$.AddressDifference, t7 = type$.Address, t8 = type$.Strand, t9 = type$.List_Strand, t10 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t11 = iterator.get$current(iterator); + t11.toString; + A._asStringS(t11); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t11) { + case "strands": + t11 = result.get$_copy_info$_$this(); + t12 = t11._copy_info$_strands; + if (t12 == null) { + t12 = new A.ListBuilder(t10); + t12.set$__ListBuilder__list_A(t9._as(A.List_List$from(B.List_empty, true, t8))); + t12.set$_listOwner(_null); + t11.set$_copy_info$_strands(t12); + t11 = t12; + } else + t11 = t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t12.toString; + t2._as(t12); + t13 = t11.$ti; + t14 = t13._eval$1("_BuiltList<1>"); + t15 = t13._eval$1("List<1>"); + if (t14._is(t12)) { + t14._as(t12); + t11.set$__ListBuilder__list_A(t15._as(t12._list)); + t11.set$_listOwner(t12); + } else { + t11.set$__ListBuilder__list_A(t15._as(A.List_List$from(t12, true, t13._precomputed1))); + t11.set$_listOwner(_null); + } + break; + case "copied_address": + t11 = result.get$_copy_info$_$this(); + t12 = t11._copied_address; + t11 = t12 == null ? t11._copied_address = new A.AddressBuilder() : t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t12.toString; + t7._as(t12); + t11._address$_$v = t12; + break; + case "prev_paste_address": + t11 = result.get$_copy_info$_$this(); + t12 = t11._prev_paste_address; + t11 = t12 == null ? t11._prev_paste_address = new A.AddressBuilder() : t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t12.toString; + t7._as(t12); + t11._address$_$v = t12; + break; + case "translation": + t11 = result.get$_copy_info$_$this(); + t12 = t11._translation; + t11 = t12 == null ? t11._translation = new A.AddressDifferenceBuilder() : t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG0); + t12.toString; + t6._as(t12); + t11._address$_$v = t12; + break; + case "helices_view_order": + t11 = result.get$_copy_info$_$this(); + t12 = t11._helices_view_order; + if (t12 == null) { + t12 = new A.ListBuilder(t5); + t12.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t12.set$_listOwner(_null); + t11.set$_helices_view_order(t12); + t11 = t12; + } else + t11 = t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t12.toString; + t2._as(t12); + t13 = t11.$ti; + t14 = t13._eval$1("_BuiltList<1>"); + t15 = t13._eval$1("List<1>"); + if (t14._is(t12)) { + t14._as(t12); + t11.set$__ListBuilder__list_A(t15._as(t12._list)); + t11.set$_listOwner(t12); + } else { + t11.set$__ListBuilder__list_A(t15._as(A.List_List$from(t12, true, t13._precomputed1))); + t11.set$_listOwner(_null); + } + break; + case "helices_view_order_inverse": + t11 = result.get$_copy_info$_$this(); + t12 = t11._helices_view_order_inverse; + if (t12 == null) { + t12 = new A.MapBuilder(_null, $, _null, t1); + t12.replace$1(0, B.Map_empty); + t11.set$_helices_view_order_inverse(t12); + t11 = t12; + } else + t11 = t12; + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t12.toString; + t11.replace$1(0, t12); + break; + } } - return X.SetBuilder_SetBuilder(t1, type$.legacy_Domain).build$0(); + return result._copy_info$_build$0(); }, - domains_on_helix_at_offset_internal$2: function(helix_idx, offset) { - var t2, t3, t4, - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); - for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.start; - if (typeof offset !== "number") - return H.iae(offset); - if (t4 <= offset && offset < t3.end && offset !== t4 && offset !== t3.end - 1) - t1.add$1(0, t3); - } - return X.SetBuilder_SetBuilder(t1, type$.legacy_Domain).build$0(); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - domain_on_helix_at$2: function(address, strand_creation) { - var t1, t2, t3, t4, t5; - for (t1 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, address.helix_idx)._list), t2 = address.offset, t3 = address.forward; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = t4.start; - if (typeof t2 !== "number") - return H.iae(t2); - if (t5 <= t2 && t2 < t4.end && t4.forward === t3) - return t4; - } - return null; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_LU9; }, - domain_on_helix_at$1: function(address) { - return this.domain_on_helix_at$2(address, null); + get$wireName() { + return "CopyInfo"; + } + }; + A._$CopyInfo.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_CopyInfoBuilder._as(updates); + t1 = new A.CopyInfoBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.CopyInfo); + t1._copy_info$_$v = this; + type$.nullable_void_Function_CopyInfoBuilder._as(updates).call$1(t1); + return t1._copy_info$_build$0(); }, - _other_domains_overlapping$1: function(domain) { - var t2, t3, t4, - ret = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain), - t1 = domain.helix, - helix = J.$index$asx(this.helices._map$_map, t1); - for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix.idx)._list), t3 = domain.forward; t2.moveNext$0();) { - t4 = t2.get$current(t2); - if (t1 === t4.helix && t3 === !t4.forward && domain.compute_overlap$1(t4) != null) - C.JSArray_methods.add$1(ret, t4); - } - return ret; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.CopyInfo && J.$eq$(_this.strands, other.strands) && _this.copied_address.$eq(0, other.copied_address) && J.$eq$(_this.prev_paste_address, other.prev_paste_address) && J.$eq$(_this.translation, other.translation) && J.$eq$(_this.helices_view_order, other.helices_view_order) && J.$eq$(_this.helices_view_order_inverse, other.helices_view_order_inverse); }, - helix_num_bases_between$3: function(helix, start, end) { - var t0, substrands_intersecting, t1, t2, deletions_intersecting, insertions_intersecting, _i, ss, t3, t4, total_insertion_length; - if (start > end) { - t0 = end; - end = start; - start = t0; - } - substrands_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); - for (t1 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix.idx)._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (start < t2.end && t2.start <= end) - C.JSArray_methods.add$1(substrands_intersecting, t2); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._copy_info$__hashCode; + if (t1 != null) + return t1; + t1 = _this.copied_address; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), J.get$hashCode$(_this.prev_paste_address)), J.get$hashCode$(_this.translation)), J.get$hashCode$(_this.helices_view_order)), J.get$hashCode$(_this.helices_view_order_inverse))); + t1 = _this._copy_info$__hashCode; + if (t1 == null) { + _this._copy_info$__hashCode = _$hash; + t1 = _$hash; } - deletions_intersecting = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - insertions_intersecting = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_Insertion); - for (t1 = substrands_intersecting.length, _i = 0; _i < substrands_intersecting.length; substrands_intersecting.length === t1 || (0, H.throwConcurrentModificationError)(substrands_intersecting), ++_i) { - ss = substrands_intersecting[_i]; - for (t2 = J.get$iterator$ax(ss.deletions._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (typeof t3 !== "number") - return H.iae(t3); - if (start <= t3 && t3 <= end) - deletions_intersecting.add$1(0, t3); - } - for (t2 = J.get$iterator$ax(ss.insertions._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.offset; - if (start <= t4 && t4 <= end) - insertions_intersecting.add$1(0, t3); - } - } - for (t1 = P._LinkedHashSetIterator$(insertions_intersecting, insertions_intersecting._collection$_modifications, insertions_intersecting.$ti._precomputed1), total_insertion_length = 0; t1.moveNext$0();) - total_insertion_length += t1._collection$_current.length; - return end - start + 1 - deletions_intersecting._collection$_length + total_insertion_length; - }, - helix_rotation_at$2: function(address, roll) { - var t1 = address.helix_idx, - helix = J.$index$asx(this.helices._map$_map, t1), - offset = address.offset, - rotation = this.helix_rotation_forward$3(helix.idx, offset, roll); - return !H.boolConversionCheck(address.forward) ? C.JSNumber_methods.$mod(rotation + 150, 360) : rotation; - }, - helix_rotation_at$1: function(address) { - return this.helix_rotation_at$2(address, null); - }, - helix_rotation_forward$3: function(helix_idx, offset, roll) { - var t1, num_bases, - helix = J.$index$asx(this.helices._map$_map, helix_idx); - if (roll == null) - roll = helix.roll; - t1 = helix.min_offset; - if (typeof offset !== "number") - return H.iae(offset); - if (t1 < offset) - num_bases = this.helix_num_bases_between$3(helix, t1, offset - 1); - else - num_bases = t1 > offset ? -this.helix_num_bases_between$3(helix, offset + 1, t1) : 0; - return C.JSNumber_methods.$mod(roll + 360 * num_bases / 10.5, 360); + return t1; }, - helix_rotation_forward$2: function(helix_idx, offset) { - return this.helix_rotation_forward$3(helix_idx, offset, null); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("CopyInfo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "copied_address", _this.copied_address); + t2.add$2(t1, "prev_paste_address", _this.prev_paste_address); + t2.add$2(t1, "translation", _this.translation); + t2.add$2(t1, "helices_view_order", _this.helices_view_order); + t2.add$2(t1, "helices_view_order_inverse", _this.helices_view_order_inverse); + return t2.toString$0(t1); + } + }; + A.CopyInfoBuilder.prototype = { + get$strands() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._copy_info$_strands; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_copy_info$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - max_offset_of_strands_at$1: function(helix_idx) { - var t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list, - t2 = J.getInterceptor$asx(t1), - max_offset = t2.get$isEmpty(t1) ? 0 : t2.get$first(t1).end; - for (t1 = t2.get$iterator(t1); t1.moveNext$0();) - max_offset = Math.max(max_offset, t1.get$current(t1).end); - return max_offset; + get$copied_address() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._copied_address; + return t2 == null ? t1._copied_address = new A.AddressBuilder() : t2; }, - min_offset_of_strands_at$1: function(helix_idx) { - var t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list, - t2 = J.getInterceptor$asx(t1), - min_offset = t2.get$isEmpty(t1) ? 0 : t2.get$first(t1).start; - for (t1 = t2.get$iterator(t1); t1.moveNext$0();) - min_offset = Math.min(min_offset, t1.get$current(t1).start); - return min_offset; + get$prev_paste_address() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._prev_paste_address; + return t2 == null ? t1._prev_paste_address = new A.AddressBuilder() : t2; }, - get$has_insertions_or_deletions: function() { - var t1, t2, t3; - for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(t2); - t2.set$__domains(t3); - t2 = t3; - } else - t2 = t3; - t2 = J.get$iterator$ax(t2._list); - for (; t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (J.get$isNotEmpty$asx(t3.deletions._list) || J.get$isNotEmpty$asx(t3.insertions._list)) - return true; - } - } - return false; + get$helices_view_order() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._helices_view_order; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_helices_view_order(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - _remove_helix_idxs_if_default$1: function(helix_jsons) { - var use_default, expected_idx, t1, _i; - type$.legacy_List_legacy_Map_of_legacy_String_and_dynamic._as(helix_jsons); - expected_idx = 0; - while (true) { - if (!(expected_idx < helix_jsons.length)) { - use_default = true; - break; - } - if (H._asIntS(J.$index$asx(helix_jsons[expected_idx], "idx")) !== expected_idx) { - use_default = false; - break; - } - ++expected_idx; - } - if (use_default) - for (t1 = helix_jsons.length, _i = 0; _i < helix_jsons.length; helix_jsons.length === t1 || (0, H.throwConcurrentModificationError)(helix_jsons), ++_i) - J.remove$1$ax(helix_jsons[_i], "idx"); + get$helices_view_order_inverse() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._helices_view_order_inverse; + if (t2 == null) { + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - _ensure_helix_groups_exist$0: function() { - var t1, t2, t3, t4; - for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = this.groups; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.group; - if (!J.containsKey$1$x(t2._map$_map, t4)) - throw H.wrapException(N.IllegalDesignError$("helix " + t3.idx + " has group " + t4 + ", which does not exist in the design. The valid groups are " + J.join$1$ax(t2.get$keys(t2), ", "))); - } - }, - base_pairs_with_domain_strand$3: function(allow_mismatches, allow_unassigned_dna, selected_strands) { - var base_pairs_with_domain_strand, t1, t2, t3, selected_domains, t4, t5, t6, t7, t8, offsets_and_domain_strand, overlapping_domains, t9, _i, domain_pair, dom1, dom2, start_and_end, start, end, t10, offset, base1, base2, t11, t12, _this = this; - type$.legacy_BuiltSet_legacy_Strand._as(selected_strands); - base_pairs_with_domain_strand = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand); - t1 = selected_strands._set.map$1$1(0, selected_strands.$ti._eval$1("BuiltList*(1)")._as(new N.Design_base_pairs_with_domain_strand_closure()), type$.legacy_BuiltList_legacy_Substrand); - t2 = H._instanceType(t1); - t3 = t2._eval$1("ExpandIterable"); - selected_domains = X.BuiltSet_BuiltSet$of(new H.MappedIterable(new H.WhereIterable(new H.ExpandIterable(t1, t2._eval$1("Iterable(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure0()), t3), t3._eval$1("bool(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure1()), t3._eval$1("WhereIterable")), t3._eval$1("Domain*(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure2()), t3._eval$1("MappedIterable")), type$.legacy_Domain); - for (t1 = _this.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = !allow_mismatches, t3 = type$.Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t4 = selected_domains._set, t5 = type$.JSArray_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t6 = type$.legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t7 = type$._BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand; t1.moveNext$0();) { - t8 = t1.get$current(t1); - offsets_and_domain_strand = H.setRuntimeTypeInfo([], t5); - overlapping_domains = _this.find_overlapping_domains_on_helix$1(t8); - for (t9 = overlapping_domains.length, _i = 0; _i < overlapping_domains.length; overlapping_domains.length === t9 || (0, H.throwConcurrentModificationError)(overlapping_domains), ++_i) { - domain_pair = overlapping_domains[_i]; - dom1 = domain_pair.item1; - dom2 = domain_pair.item2; - if (!t4.contains$1(0, dom1) || !t4.contains$1(0, dom2)) - continue; - start_and_end = dom1.compute_overlap$1(dom2); - start = start_and_end.item1; - end = start_and_end.item2; - t10 = dom1.deletions; - offset = start; - while (true) { - if (typeof offset !== "number") - return offset.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(offset < end)) - break; - c$1: { - if (J.contains$1$asx(t10._list, offset) || J.contains$1$asx(dom2.deletions._list, offset)) - break c$1; - base1 = dom1.dna_sequence_in$2(offset, offset); - base2 = dom2.dna_sequence_in$2(offset, offset); - if (t2) { - t11 = base1 === "?" || base2 === "?"; - t11 = t11 || E.reverse_complementary(base1, base2, true, true); - } else - t11 = true; - if (t11) { - t11 = _this.__substrand_to_strand; - if (t11 == null) { - t11 = N.Design.prototype.get$substrand_to_strand.call(_this); - _this.set$__substrand_to_strand(t11); - } - t11 = J.$index$asx(t11._map$_map, dom1); - t12 = _this.__substrand_to_strand; - if (t12 == null) { - t12 = N.Design.prototype.get$substrand_to_strand.call(_this); - _this.set$__substrand_to_strand(t12); - } - C.JSArray_methods.add$1(offsets_and_domain_strand, new S.Tuple5(offset, dom1, dom2, t11, J.$index$asx(t12._map$_map, dom2), t3)); - } - } - ++offset; - } + get$_copy_info$_$this() { + var t1, t2, t3, _this = this, _s5_ = "other", + $$v = _this._copy_info$_$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_copy_info$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.copied_address; + t2 = new A.AddressBuilder(); + t3 = type$.Address; + A.ArgumentError_checkNotNull(t1, _s5_, t3); + t2._address$_$v = t1; + _this._copied_address = t2; + t2 = $$v.prev_paste_address; + if (t2 == null) + t1 = null; + else { + t1 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, t3); + t1._address$_$v = t2; } - if (offsets_and_domain_strand.length !== 0) { - t9 = new D._BuiltList(P.List_List$from(offsets_and_domain_strand, false, t6), t7); - t9._maybeCheckForNull$0(); - base_pairs_with_domain_strand.$indexSet(0, t8, t9); + _this._prev_paste_address = t1; + t1 = $$v.translation; + if (t1 == null) + t1 = null; + else { + t2 = new A.AddressDifferenceBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.AddressDifference); + t2._address$_$v = t1; + t1 = t2; } + _this._translation = t1; + t1 = $$v.helices_view_order; + t1.toString; + _this.set$_helices_view_order(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._copy_info$_$v = null; } - return A.BuiltMap_BuiltMap$of(base_pairs_with_domain_strand, type$.legacy_int, type$.legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand); - }, - _base_pairs$2: function(allow_mismatches, selected_strands) { - var t1, t2, t3, t4, t5, t6, t7, - base_pairs_with_domain_strand = this.base_pairs_with_domain_strand$3(allow_mismatches, true, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands)), - base_pairs = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_int); - for (t1 = J.get$iterator$ax(base_pairs_with_domain_strand.get$keys(base_pairs_with_domain_strand)), t2 = base_pairs_with_domain_strand._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_int, t5 = type$._BuiltList_legacy_int; t1.moveNext$0();) { - t6 = t1.get$current(t1); - t7 = t3.$index(t2, t6); - t7.toString; - t7 = new D._BuiltList(P.List_List$from(J.map$1$1$ax(t7._list, H.instanceType(t7)._eval$1("int*(1)")._as(new N.Design__base_pairs_closure()), t4).toList$0(0), false, t4), t5); - t7._maybeCheckForNull$0(); - base_pairs.$indexSet(0, t6, t7); - } - return A.BuiltMap_BuiltMap$of(base_pairs, t4, type$.legacy_BuiltList_legacy_int); + return _this; }, - find_overlapping_domains_on_helix$1: function(helix_idx) { - var t2, reverse_domains, overlapping_domains, t3, t4, t5, reverse_domain, t6, t7, t8, - forward_domains = this.domains_on_helix$2$forward(helix_idx, true), - reverse_domains_list = this.domains_on_helix$2$forward(helix_idx, false), - t1 = J.getInterceptor$ax(forward_domains); - t1.sort$1(forward_domains, new N.Design_find_overlapping_domains_on_helix_closure()); - t2 = J.getInterceptor$ax(reverse_domains_list); - t2.sort$1(reverse_domains_list, new N.Design_find_overlapping_domains_on_helix_closure0()); - if (t1.get$isEmpty(forward_domains) || t2.get$isEmpty(reverse_domains_list)) - return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain); - reverse_domains = P.ListQueue_ListQueue$from(reverse_domains_list, type$.legacy_Domain); - overlapping_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain); - for (t1 = t1.get$iterator(forward_domains), t2 = type$.Tuple2_of_legacy_Domain_and_legacy_Domain; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = reverse_domains._head; - if (t4 === reverse_domains._tail) - H.throwExpression(H.IterableElementError_noElement()); - t5 = reverse_domains._table; - if (t4 >= t5.length) - return H.ioore(t5, t4); - reverse_domain = t5[t4]; - while (true) { - if (!(reverse_domain.end <= t3.start && !reverse_domains.get$isEmpty(reverse_domains))) - break; - reverse_domains.removeFirst$0(); - if (!reverse_domains.get$isEmpty(reverse_domains)) { - t4 = reverse_domains._head; - if (t4 === reverse_domains._tail) - H.throwExpression(H.IterableElementError_noElement()); - t5 = reverse_domains._table; - if (t4 >= t5.length) - return H.ioore(t5, t4); - reverse_domain = t5[t4]; - } else - return overlapping_domains; + _copy_info$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s8_ = "CopyInfo", + _s14_ = "copied_address", + _s18_ = "helices_view_order", + _s26_ = "helices_view_order_inverse", + _$result = null; + try { + _$result0 = _this._copy_info$_$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + t2 = _this.get$copied_address()._address$_build$0(); + t3 = _this._prev_paste_address; + t3 = t3 == null ? null : t3._address$_build$0(); + t4 = _this._translation; + t4 = t4 == null ? null : t4._address$_build$0(); + t5 = _this.get$helices_view_order().build$0(); + t6 = _this.get$helices_view_order_inverse().build$0(); + _$result0 = new A._$CopyInfo(t1, t2, t3, t4, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t1, _s8_, "strands", type$.BuiltList_Strand); + A.BuiltValueNullFieldError_checkNotNull(t2, _s8_, _s14_, type$.Address); + A.BuiltValueNullFieldError_checkNotNull(t5, _s8_, _s18_, type$.BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(t6, _s8_, _s26_, type$.BuiltMap_int_int); } - t4 = t3.end; - t5 = t3.helix; - t6 = t3.forward; - while (true) { - if (!(t5 === reverse_domain.helix && t6 === !reverse_domain.forward && t3.compute_overlap$1(reverse_domain) != null)) - break; - C.JSArray_methods.add$1(overlapping_domains, new S.Tuple2(t3, reverse_domain, t2)); - if (reverse_domain.end <= t4) { - reverse_domains.removeFirst$0(); - if (!reverse_domains.get$isEmpty(reverse_domains)) { - t7 = reverse_domains._head; - if (t7 === reverse_domains._tail) - H.throwExpression(H.IterableElementError_noElement()); - t8 = reverse_domains._table; - if (t7 >= t8.length) - return H.ioore(t8, t7); - reverse_domain = t8[t7]; - } else - return overlapping_domains; - } else - break; + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "strands"; + _this.get$strands().build$0(); + _$failedField._value = _s14_; + _this.get$copied_address()._address$_build$0(); + _$failedField._value = "prev_paste_address"; + t1 = _this._prev_paste_address; + if (t1 != null) + t1._address$_build$0(); + _$failedField._value = "translation"; + t1 = _this._translation; + if (t1 != null) + t1._address$_build$0(); + _$failedField._value = _s18_; + _this.get$helices_view_order().build$0(); + _$failedField._value = _s26_; + _this.get$helices_view_order_inverse().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s8_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } + throw exception; } - return overlapping_domains; - }, - idx_on_strand$1: function(address) { - var t1, strand_idx, t2, - domain = this.domain_on_helix_at$1(address); - if (domain == null) - throw H.wrapException(P.ArgumentError$("no strand in Design at address " + address.toString$0(0))); - for (t1 = J.get$iterator$ax(J.$index$asx(this.get$substrand_to_strand()._map$_map, domain).substrands._list), strand_idx = 0; t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (domain.$eq(0, t2)) { - strand_idx += domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward); - break; - } else - strand_idx += t2.dna_length$0(); - } - return strand_idx; + t1 = type$.CopyInfo; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._copy_info$_$v = t2; + return _$result; }, - get$helix_to_crossover_addresses: function() { - var t3, t4, t5, t6, t7, strand, domains_on_strand, t8, num_domains, domain_idx, t9, t10, t11, domain_idx_in_substrands, offset, other_helix_idx, t12, _this = this, - t1 = type$.legacy_int, - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Address); - for (t3 = J.get$iterator$ax(_this.get$helix_idxs()._list), t4 = type$.JSArray_legacy_Address; t3.moveNext$0();) - t2.$indexSet(0, t3.get$current(t3), H.setRuntimeTypeInfo([], t4)); - for (t3 = J.get$iterator$ax(_this.get$helix_idxs()._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - for (t5 = J.get$iterator$ax(_this.domains_on_helix$1(t4)); t5.moveNext$0();) { - t6 = t5.get$current(t5); - t7 = _this.__substrand_to_strand; - if (t7 == null) { - t7 = N.Design.prototype.get$substrand_to_strand.call(_this); - _this.set$__substrand_to_strand(t7); - } - strand = J.$index$asx(t7._map$_map, t6); - domains_on_strand = strand.__domains; - if (domains_on_strand == null) { - domains_on_strand = E.Strand.prototype.get$domains.call(strand); - strand.set$__domains(domains_on_strand); - } - t7 = domains_on_strand._list; - t8 = J.getInterceptor$asx(t7); - num_domains = t8.get$length(t7); - domain_idx = t8.indexOf$2(t7, domains_on_strand.$ti._precomputed1._as(t6), 0); - t9 = strand.substrands; - t9.toString; - t10 = t9._list; - t11 = J.getInterceptor$asx(t10); - domain_idx_in_substrands = t11.indexOf$2(t10, t9.$ti._precomputed1._as(t6), 0); - if (domain_idx > 0) - if (t11.$index(t10, domain_idx_in_substrands - 1).is_domain$0()) { - offset = t6.__offset_5p; - if (offset == null) - offset = t6.__offset_5p = G.Domain.prototype.get$offset_5p.call(t6); - other_helix_idx = t8.$index(t7, domain_idx - 1).helix; - t9 = t2.$index(0, t4); - t12 = t6.forward; - (t9 && C.JSArray_methods).add$1(t9, new Z._$Address(other_helix_idx, offset, t12)); - } - if (typeof num_domains !== "number") - return num_domains.$sub(); - if (domain_idx < num_domains - 1) - if (t11.$index(t10, domain_idx_in_substrands + 1).is_domain$0()) { - offset = t6.__offset_3p; - if (offset == null) - offset = t6.__offset_3p = G.Domain.prototype.get$offset_3p.call(t6); - other_helix_idx = t8.$index(t7, domain_idx + 1).helix; - t7 = t2.$index(0, t4); - t6 = t6.forward; - (t7 && C.JSArray_methods).add$1(t7, new Z._$Address(other_helix_idx, offset, t6)); - } - } - } - t3 = type$.legacy_BuiltList_legacy_Address; - t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - for (t5 = J.get$iterator$ax(_this.get$helix_idxs()._list), t6 = type$.legacy_Address, t7 = type$._BuiltList_legacy_Address; t5.moveNext$0();) { - t8 = t5.get$current(t5); - t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); - t9._maybeCheckForNull$0(); - t4.$indexSet(0, t8, t9); - } - return A.BuiltMap_BuiltMap$of(t4, t1, t3); + set$_copy_info$_strands(_strands) { + this._copy_info$_strands = type$.nullable_ListBuilder_Strand._as(_strands); }, - get$helix_to_crossover_addresses_disallow_intrahelix: function() { - var t2, t3, ret, t4, t5, t6, t7, addresses_with_intrahelix_crossovers, t8, t9, t10, addresses_without_intrahelix_crossovers, - t1 = this.__helix_to_crossover_addresses; - if (t1 == null) { - t1 = N.Design.prototype.get$helix_to_crossover_addresses.call(this); - this.set$__helix_to_crossover_addresses(t1); - } - t2 = t1._map$_map; - t3 = t1.$ti; - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - ret = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.legacy_Address, t4 = type$._BuiltList_legacy_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = type$.JSArray_legacy_Address; t1.moveNext$0();) { - t7 = t1.get$current(t1); - addresses_with_intrahelix_crossovers = J.$index$asx(ret._copy_on_write_map$_map, t7); - t8 = H.setRuntimeTypeInfo([], t6); - for (t9 = J.get$iterator$ax(addresses_with_intrahelix_crossovers._list); t9.moveNext$0();) { - t10 = t9.get$current(t9); - if (t10.helix_idx != t7) - t8.push(t10); - } - addresses_without_intrahelix_crossovers = new D._BuiltList(P.List_List$from(t8, false, t2), t4); - addresses_without_intrahelix_crossovers._maybeCheckForNull$0(); - t5._as(t7); - t3._as(addresses_without_intrahelix_crossovers); - ret._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(ret._copy_on_write_map$_map, t7, addresses_without_intrahelix_crossovers); - } - return A.BuiltMap_BuiltMap$of(ret, type$.legacy_int, type$.legacy_BuiltList_legacy_Address); + set$_helices_view_order(_helices_view_order) { + this._helices_view_order = type$.nullable_ListBuilder_int._as(_helices_view_order); }, - get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup: function() { - var t2, t3, ret, t4, t5, t6, t7, t8, addresses_with_intergroup_crossovers, t9, t10, t11, t12, t13, t14, addresses_without_intergroup_crossovers, _this = this, - t1 = _this.__helix_to_crossover_addresses_disallow_intrahelix; - if (t1 == null) { - t1 = N.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix.call(_this); - _this.set$__helix_to_crossover_addresses_disallow_intrahelix(t1); - } - t2 = t1._map$_map; - t3 = t1.$ti; - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); - ret = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); - for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.legacy_Address, t4 = type$._BuiltList_legacy_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = _this.helices, t7 = type$.JSArray_legacy_Address; t1.moveNext$0();) { - t8 = t1.get$current(t1); - addresses_with_intergroup_crossovers = J.$index$asx(ret._copy_on_write_map$_map, t8); - t9 = H.setRuntimeTypeInfo([], t7); - for (t10 = J.get$iterator$ax(addresses_with_intergroup_crossovers._list); t10.moveNext$0();) { - t11 = t10.get$current(t10); - t12 = t11.helix_idx; - t13 = t6._map$_map; - t14 = J.getInterceptor$asx(t13); - if (t14.$index(t13, t12).group === t14.$index(t13, t8).group) - t9.push(t11); - } - addresses_without_intergroup_crossovers = new D._BuiltList(P.List_List$from(t9, false, t2), t4); - addresses_without_intergroup_crossovers._maybeCheckForNull$0(); - t5._as(t8); - t3._as(addresses_without_intergroup_crossovers); - ret._maybeCopyBeforeWrite$0(); - J.$indexSet$ax(ret._copy_on_write_map$_map, t8, addresses_without_intergroup_crossovers); - } - return A.BuiltMap_BuiltMap$of(ret, type$.legacy_int, type$.legacy_BuiltList_legacy_Address); + set$_helices_view_order_inverse(_helices_view_order_inverse) { + this._helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_helices_view_order_inverse); } }; - N.Design_Design_closure.prototype = { - call$1: function(b) { - return type$.legacy_HelixBuilder._as(b).build$0(); + A._CopyInfo_Object_BuiltJsonSerializable.prototype = {}; + A.Crossover.prototype = { + get$select_mode() { + return B.SelectModeChoice_crossover; }, - $signature: 342 - }; - N.Design_Design_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$geometry(b), - t2 = this._box_0.geometry; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._geometry$_$v = t2; - return b; + get$id(_) { + return "crossover-" + this.prev_domain_idx + "-" + this.next_domain_idx + "-" + this.strand_id; }, - $signature: 9 + $isLinker: 1, + $isSelectable: 1 }; - N.Design_Design_closure1.prototype = { - call$1: function(b) { - var _this = this, - t1 = b.get$geometry(b), - t2 = _this._box_0, - t3 = t2.geometry; - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._geometry$_$v = t3; - b.get$groups().replace$1(0, t2.groups); - b.get$helices().replace$1(0, _this.helices_map); - b.get$strands().replace$1(0, _this.strands); - b.get$unused_fields().replace$1(0, _this.unused_fields); + A.Crossover_Crossover_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_crossover$_$this()._crossover$_prev_domain_idx = _this.prev_domain_idx; + b.get$_crossover$_$this()._next_domain_idx = _this.next_domain_idx; + b.get$_crossover$_$this()._crossover$_is_scaffold = _this.is_scaffold; + b.get$_crossover$_$this()._crossover$_strand_id = _this.strand_id; return b; }, - $signature: 20 - }; - N.Design__initializeBuilder_closure.prototype = { - call$1: function(g) { - return g.get$_group$_$this()._group$_grid = C.Grid_none; - }, - $signature: 343 - }; - N.Design_helices_in_group_closure.prototype = { - call$2: function(idx, helix) { - H._asIntS(idx); - return type$.legacy_Helix._as(helix).group !== this.group_name; - }, - $signature: 73 - }; - N.Design_address_crossover_pairs_by_helix_idx_closure.prototype = { - call$2: function(address_crossover_pair1, address_crossover_pair2) { - var add1, add2, t2, - t1 = type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; - t1._as(address_crossover_pair1); - t1._as(address_crossover_pair2); - add1 = address_crossover_pair1.item1; - add2 = address_crossover_pair2.item1; - t1 = add1.offset; - t2 = add2.offset; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 - t2; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 344 - }; - N.Design_domain_mismatches_map_closure.prototype = { - call$2: function(domain, mismatches) { - this.domain_mismatches_builtmap_builder.$indexSet(0, type$.legacy_Domain._as(domain), type$.legacy_ListBuilder_legacy_Mismatch._as(mismatches).build$0()); - }, - $signature: 345 - }; - N.Design_unpaired_insertion_deletion_map_closure.prototype = { - call$2: function(domain, unpaireds) { - this.unpaired_insertion_deletion_half_built_map.$indexSet(0, type$.legacy_Domain._as(domain), D._BuiltList$of(type$.legacy_List_legacy_Address._as(unpaireds), type$.legacy_Address)); - }, - $signature: 346 + $signature: 329 }; - N.Design_max_offset_closure.prototype = { - call$1: function(helix) { - return type$.legacy_Helix._as(helix).max_offset; + A._$CrossoverSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Crossover._as(object); + return ["prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, B.FullType_kjq), "next_domain_idx", serializers.serialize$2$specifiedType(object.next_domain_idx, B.FullType_kjq), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_h8g)]; }, - $signature: 98 - }; - N.Design_min_offset_closure.prototype = { - call$1: function(helix) { - return type$.legacy_Helix._as(helix).min_offset; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - $signature: 98 - }; - N.Design_add_strands_closure.prototype = { - call$1: function(d) { - d.get$strands().addAll$1(0, this.new_strands); - return d; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.CrossoverBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "prev_domain_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_crossover$_$this()._crossover$_prev_domain_idx = t1; + break; + case "next_domain_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_crossover$_$this()._next_domain_idx = t1; + break; + case "is_scaffold": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_crossover$_$this()._crossover$_is_scaffold = t1; + break; + case "strand_id": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_crossover$_$this()._crossover$_strand_id = t1; + break; + } + } + return result._crossover$_build$0(); }, - $signature: 20 - }; - N.Design_remove_strands_closure.prototype = { - call$1: function(d) { - var t1 = d.get$strands(), - t2 = t1.$ti._eval$1("bool(1)")._as(new N.Design_remove_strands__closure(this.strands_to_remove_set)); - J.removeWhere$1$ax(t1.get$_safeList(), t2); - return d; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - $signature: 20 - }; - N.Design_remove_strands__closure.prototype = { - call$1: function(strand) { - return this.strands_to_remove_set.contains$1(0, type$.legacy_Strand._as(strand)); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_go8; }, - $signature: 15 + get$wireName() { + return "Crossover"; + } }; - N.Design_has_nondefault_min_offset_closure.prototype = { - call$1: function(ss) { - return type$.legacy_Domain._as(ss).start; + A._$Crossover.prototype = { + get$select_mode() { + var t1 = this._crossover$__select_mode; + return t1 == null ? this._crossover$__select_mode = A.Crossover.prototype.get$select_mode.call(this) : t1; }, - $signature: 347 - }; - N.Design__groups_from_json_closure.prototype = { - call$1: function(idx) { - return this.helix_builders_map.$index(0, H._asIntS(idx)).get$_helix$_$this()._group == this.name; + get$id(_) { + var _this = this, + t1 = _this._crossover$__id; + return t1 == null ? _this._crossover$__id = A.Crossover.prototype.get$id.call(_this, _this) : t1; }, - $signature: 23 - }; - N.Design__groups_from_json_closure0.prototype = { - call$1: function(e) { - return type$.legacy_HelixBuilder._as(e).get$_helix$_$this()._idx; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.Crossover && _this.prev_domain_idx === other.prev_domain_idx && _this.next_domain_idx === other.next_domain_idx && _this.is_scaffold === other.is_scaffold && _this.strand_id === other.strand_id; }, - $signature: 56 - }; - N.Design_from_json_closure.prototype = { - call$1: function(geometry_map) { - return N.Geometry_from_json(type$.legacy_Map_of_legacy_String_and_dynamic._as(geometry_map)); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._crossover$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.prev_domain_idx)), B.JSInt_methods.get$hashCode(_this.next_domain_idx)), B.JSBool_methods.get$hashCode(_this.is_scaffold)), B.JSString_methods.get$hashCode(_this.strand_id))); + t1 = _this._crossover$__hashCode; + if (t1 == null) { + _this._crossover$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - $signature: 348 - }; - N.Design_from_json_closure0.prototype = { - call$2: function(key, value) { - return new P.MapEntry(H._asStringS(key), type$.legacy_HelixGroupBuilder._as(value).build$0(), type$.MapEntry_of_legacy_String_and_legacy_HelixGroup); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Crossover"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); + t2.add$2(t1, "next_domain_idx", _this.next_domain_idx); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "strand_id", _this.strand_id); + return t2.toString$0(t1); }, - $signature: 349 - }; - N.Design_assign_modifications_to_strands_closure.prototype = { - call$1: function(b) { - var t1 = b.get$modification_5p(), - t2 = this._box_0.mod; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return b; + get$prev_domain_idx() { + return this.prev_domain_idx; }, - $signature: 2 - }; - N.Design_assign_modifications_to_strands_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$modification_3p(), - t2 = this._box_0.mod; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._modification$_$v = t2; - return b; + get$next_domain_idx() { + return this.next_domain_idx; }, - $signature: 2 - }; - N.Design_assign_modifications_to_strands_closure1.prototype = { - call$1: function(b) { - b.get$modifications_int().replace$1(0, this.mods_by_idx); - return b; + get$is_scaffold() { + return this.is_scaffold; }, - $signature: 2 + get$strand_id() { + return this.strand_id; + } }; - N.Design_check_strands_overlap_legally_err_msg.prototype = { - call$3: function(domain1, domain2, h_idx) { - return "two domains overlap on helix " + H.S(h_idx) + ": \n" + domain1.toString$0(0) + "\n and\n" + domain2.toString$0(0) + "\n but have the same direction"; + A.CrossoverBuilder.prototype = { + get$_crossover$_$this() { + var _this = this, + $$v = _this._crossover$_$v; + if ($$v != null) { + _this._crossover$_prev_domain_idx = $$v.prev_domain_idx; + _this._next_domain_idx = $$v.next_domain_idx; + _this._crossover$_is_scaffold = $$v.is_scaffold; + _this._crossover$_strand_id = $$v.strand_id; + _this._crossover$_$v = null; + } + return _this; }, - $signature: 350 + _crossover$_build$0() { + var t1, t2, t3, t4, t5, t6, t7, _this = this, + _s9_ = "Crossover", + _s15_ = "prev_domain_idx", + _s15_0 = "next_domain_idx", + _s11_ = "is_scaffold", + _s9_0 = "strand_id", + _$result = _this._crossover$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_crossover$_$this()._crossover$_prev_domain_idx, _s9_, _s15_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_crossover$_$this()._next_domain_idx, _s9_, _s15_0, t1); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_crossover$_$this()._crossover$_is_scaffold, _s9_, _s11_, t4); + t6 = type$.String; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_crossover$_$this()._crossover$_strand_id, _s9_, _s9_0, t6); + _$result = new A._$Crossover(t2, t3, t5, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s9_, _s15_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s9_, _s15_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s9_, _s11_, t4); + A.BuiltValueNullFieldError_checkNotNull(t7, _s9_, _s9_0, t6); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Crossover); + return _this._crossover$_$v = _$result; + } }; - N.Design_check_strands_overlap_legally_closure.prototype = { - call$2: function(d1, d2) { - var t2, - t1 = type$.legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain; - t1._as(d1); - t1._as(d2); - t1 = d1.item1; - t2 = d2.item1; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 - t2; + A._Crossover_Object_SelectableMixin.prototype = {}; + A._Crossover_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A.Design.prototype = { + helices_in_group$1(group_name) { + var t1 = this.helices, + t2 = t1._map$_map, + t3 = A._instanceType(t1); + t3 = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3.removeWhere$1(0, new A.Design_helices_in_group_closure(group_name)); + return A.BuiltMap_BuiltMap$from(t3, type$.int, type$.Helix); + }, + get$is_origami() { + for (var t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + if (t1.__interceptors$_current.is_scaffold) + return true; + return false; }, - $signature: 351 - }; - N.Design_domains_on_helix_closure.prototype = { - call$1: function(domain) { - return type$.legacy_Domain._as(domain).forward === this.forward; + group_names_of_strands$1(selected_strands) { + var t2, t3, t4, groups_of_selected_strands, t5, + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t2 = J.get$iterator$ax(type$.Iterable_Strand._as(selected_strands)); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + t1.add$1(0, t3.__interceptors$_current.helix); + } + t2 = type$.String; + groups_of_selected_strands = A.LinkedHashSet_LinkedHashSet$_empty(t2); + for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t3 = this.helices; t1.moveNext$0();) { + t4 = t1._collection$_current; + t5 = t3._map$_map; + if (t5.$index(0, t4) == null) + return null; + groups_of_selected_strands.add$1(0, t5.$index(0, t4).group); + } + return A._BuiltSet$of(groups_of_selected_strands, t2); }, - $signature: 21 - }; - N.Design_domains_on_helix_overlapping_closure.prototype = { - call$1: function(other_domain) { - return !this.domain.overlaps$1(type$.legacy_Domain._as(other_domain)); + get$color_of_domain() { + var t3, t4, t5, + t1 = type$.Domain, + t2 = type$.Color, + map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = this.strands._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + } + t5 = t5._list; + t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); + t4 = t4.color; + for (; t5.moveNext$0();) + map.$indexSet(0, t5.__interceptors$_current, t4); + } + return A.BuiltMap_BuiltMap$of(map, t1, t2); }, - $signature: 21 - }; - N.Design_domain_name_mismatches_closure.prototype = { - call$1: function(domain) { - return type$.legacy_Domain._as(domain).name == null; + group_of_helix_idx$1(helix_idx) { + var t1 = this.helices._map$_map.$index(0, helix_idx); + t1.toString; + t1 = this.groups._map$_map.$index(0, t1.group); + t1.toString; + return t1; }, - $signature: 21 - }; - N.Design_base_pairs_with_domain_strand_closure.prototype = { - call$1: function(s) { - return type$.legacy_Strand._as(s).substrands; + group_name_of_strand$1(strand) { + var first_group_name, t3, + t1 = strand.get$first_domain().helix, + t2 = this.helices._map$_map; + t1 = t2.$index(0, t1); + t1.toString; + first_group_name = t1.group; + for (t1 = strand.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t3 = t2.$index(0, t1.__interceptors$_current.helix); + t3.toString; + if (first_group_name !== t3.group) + return null; + } + return first_group_name; }, - $signature: 124 - }; - N.Design_base_pairs_with_domain_strand_closure0.prototype = { - call$1: function(x) { - return type$.legacy_BuiltList_legacy_Substrand._as(x); + group_names_of_domains$1(domains) { + var t2, t3, t4, t5, + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + for (t2 = type$.Iterable_Domain._as(domains)._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.add$1(0, t2.__interceptors$_current.helix); + t2 = type$.String; + t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2); + for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t4 = this.helices; t1.moveNext$0();) { + t5 = t1._collection$_current; + t3.add$1(0, t4._map$_map.$index(0, t5).group); + } + return A._BuiltSet$of(t3, t2); }, - $signature: 125 - }; - N.Design_base_pairs_with_domain_strand_closure1.prototype = { - call$1: function(x) { - return type$.legacy_Substrand._as(x) instanceof G.Domain; - }, - $signature: 126 - }; - N.Design_base_pairs_with_domain_strand_closure2.prototype = { - call$1: function(x) { - return type$.legacy_Domain._as(type$.legacy_Substrand._as(x)); - }, - $signature: 355 - }; - N.Design__base_pairs_closure.prototype = { - call$1: function(x) { - return type$.legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand._as(x).item1; - }, - $signature: 356 - }; - N.Design_find_overlapping_domains_on_helix_closure.prototype = { - call$2: function(d1, d2) { - var t1 = type$.legacy_Domain; - t1._as(d1); - t1._as(d2); - return d1.start - d2.start; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 64 - }; - N.Design_find_overlapping_domains_on_helix_closure0.prototype = { - call$2: function(d1, d2) { - var t1 = type$.legacy_Domain; - t1._as(d1); - t1._as(d2); - return d1.start - d2.start; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 64 - }; - N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure.prototype = { - call$1: function(b) { - var t2, - t1 = this.domains; - if (0 >= t1.length) - return H.ioore(t1, 0); - t2 = H._asIntS(Math.min(t1[0].start, C.JSArray_methods.get$last(t1).start)); - b.get$_domain$_$this()._start = t2; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = H._asIntS(Math.max(t1[0].end, C.JSArray_methods.get$last(t1).end)); - b.get$_domain$_$this()._end = t1; - return b; - }, - $signature: 7 - }; - N._calculate_groups_from_helix_builder_closure.prototype = { - call$1: function(idxs) { - return J.sort$0$ax(type$.legacy_List_legacy_int._as(idxs)); - }, - $signature: 158 - }; - N.assign_default_helices_view_orders_to_groups_closure.prototype = { - call$2: function(key, value) { - H._asStringS(key); - type$.legacy_HelixGroupBuilder._as(value); - return new P.MapEntry(key, 0, type$.MapEntry_of_legacy_String_and_legacy_int); - }, - $signature: 357 - }; - N.construct_helix_idx_to_domains_map_closure.prototype = { - call$2: function(ss1, ss2) { - var t1 = type$.legacy_Domain; - t1._as(ss1); - t1._as(ss2); - return ss1.start - ss2.start; - }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 64 - }; - N.Mismatch.prototype = { - toString$0: function(_) { - var t1 = "Mismatch(dna_idx=" + this.dna_idx + ", offset=" + this.offset, - t2 = this.within_insertion; - return t1 + (t2 < 0 ? ")" : ", within_insertion=" + t2 + ")"); - }, - get$offset: function(receiver) { - return this.offset; - } - }; - N.IllegalDesignError.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - return type$.legacy_IllegalDesignError._is(other); - }, - $isException: 1, - get$cause: function() { - return this.cause; - } - }; - N.IllegalCadnanoDesignError.prototype = {$isException: 1, $isIllegalDesignError: 1, - get$cause: function() { - return this.cause; - } - }; - N.StrandError.prototype = {}; - N.HelixPitchYaw.prototype = {}; - N._$Design.prototype = { - get$is_origami: function() { - var t1 = this.__is_origami; - return t1 == null ? this.__is_origami = N.Design.prototype.get$is_origami.call(this) : t1; - }, - get$address_crossover_pairs_by_helix_idx: function() { - var t1 = this.__address_crossover_pairs_by_helix_idx; - if (t1 == null) { - t1 = N.Design.prototype.get$address_crossover_pairs_by_helix_idx.call(this); - this.set$__address_crossover_pairs_by_helix_idx(t1); + group_names_of_ends$1(ends) { + var t2, t3, t4, t5, substrand, helix_idx, _this = this, + t1 = type$.String, + names = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = type$.Iterable_DNAEnd._as(ends)._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = _this.helices; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + t5 = _this.__end_to_domain; + if (t5 == null) { + t5 = A.Design.prototype.get$end_to_domain.call(_this); + _this.set$__end_to_domain(t5); + } + substrand = t5._map$_map.$index(0, t4); + if (substrand == null) { + t5 = _this.__end_to_extension; + if (t5 == null) { + t5 = A.Design.prototype.get$end_to_extension.call(_this); + _this.set$__end_to_extension(t5); + } + substrand = t5._map$_map.$index(0, t4).adjacent_domain; + } + helix_idx = substrand.helix; + t4 = t3._map$_map.$index(0, helix_idx); + t4.toString; + names.add$1(0, t4.group); + } + return A._BuiltSet$of(names, t1); + }, + get$address_crossover_pairs_by_helix_idx() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, prev_dom, is_prev, _i, dom, t11, offset, + t1 = type$.int, + address_crossover_pairs = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Tuple2_Address_Crossover); + for (t2 = this.helices, t2 = t2.get$keys(t2), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.JSArray_Tuple2_Address_Crossover; t2.moveNext$0();) + address_crossover_pairs.$indexSet(0, t2.__js_helper$_current, A._setArrayType([], t3)); + for (t2 = this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = type$.Tuple2_Address_Crossover, t4 = type$.Domain; t2.moveNext$0();) { + t5 = t2.__interceptors$_current; + t6 = t5.__crossovers; + if (t6 == null) { + t6 = A.Strand.prototype.get$crossovers.call(t5); + t5.set$__crossovers(t6); + } + t6 = t6._list; + t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")); + t5 = t5.substrands; + for (; t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + t8 = t7.prev_domain_idx; + t9 = t5._list; + t10 = t9.length; + if (!(t8 >= 0 && t8 < t10)) + return A.ioore(t9, t8); + prev_dom = t4._as(t9[t8]); + t8 = t7.next_domain_idx; + if (!(t8 >= 0 && t8 < t10)) + return A.ioore(t9, t8); + for (t8 = [prev_dom, t4._as(t9[t8])], is_prev = true, _i = 0; _i < 2; ++_i, is_prev = false) { + dom = t8[_i]; + t9 = dom.helix; + t10 = address_crossover_pairs.$index(0, t9); + t10.toString; + if (!(is_prev && dom.forward)) + t11 = !is_prev && !dom.forward; + else + t11 = true; + offset = t11 ? dom.end - 1 : dom.start; + t11 = dom.forward; + B.JSArray_methods.add$1(t10, new A.Tuple2(new A._$Address(t9, offset, t11), t7, t3)); + } + } } - return t1; - }, - get$strands_by_id: function() { - var t1 = this.__strands_by_id; - if (t1 == null) { - t1 = N.Design.prototype.get$strands_by_id.call(this); - this.set$__strands_by_id(t1); + for (t2 = address_crossover_pairs.$ti._precomputed1, t4 = A.LinkedHashMapKeyIterator$(address_crossover_pairs, address_crossover_pairs._modifications, t2); t4.moveNext$0();) { + t5 = address_crossover_pairs.$index(0, t4.__js_helper$_current); + t5.toString; + t6 = A._arrayInstanceType(t5); + t7 = t6._eval$1("int(1,1)?")._as(new A.Design_address_crossover_pairs_by_helix_idx_closure()); + if (!!t5.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t6 = t6._precomputed1; + t8 = t5.length - 1; + if (t8 - 0 <= 32) + A.Sort__insertionSort(t5, 0, t8, t7, t6); + else + A.Sort__dualPivotQuicksort(t5, 0, t8, t7, t6); } - return t1; - }, - get$domains_by_id: function() { - var t1 = this.__domains_by_id; - if (t1 == null) { - t1 = N.Design.prototype.get$domains_by_id.call(this); - this.set$__domains_by_id(t1); + t4 = type$.BuiltList_Tuple2_Address_Crossover; + t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4); + for (t2 = A.LinkedHashMapKeyIterator$(address_crossover_pairs, address_crossover_pairs._modifications, t2); t2.moveNext$0();) { + t6 = t2.__js_helper$_current; + t7 = address_crossover_pairs.$index(0, t6); + t7.toString; + t5.$indexSet(0, t6, A.BuiltList_BuiltList$of(t7, t3)); } - return t1; + return A.BuiltMap_BuiltMap$of(t5, t1, t4); }, - get$extensions_by_id: function() { - var t1 = this.__extensions_by_id; - if (t1 == null) { - t1 = N.Design.prototype.get$extensions_by_id.call(this); - this.set$__extensions_by_id(t1); + get$strands_by_id() { + var t1, t2, t3, t4, t5, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__id; + t5 = t3._as(t5 == null ? t4.__id = A.Strand.prototype.get$id.call(t4, t4) : t5); + t2._as(t4); + builder._checkKey$1(t5); + builder._checkValue$1(t4); + builder.get$_safeMap().$indexSet(0, t5, t4); } - return t1; + return builder.build$0(); }, - get$end_to_domain: function() { - var t1 = this.__end_to_domain; - if (t1 == null) { - t1 = N.Design.prototype.get$end_to_domain.call(this); - this.set$__end_to_domain(t1); + get$domains_by_id() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.Domain); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._domain$__id; + t6 = t3._as(t6 == null ? t5._domain$__id = A.Domain.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } } - return t1; + return builder.build$0(); }, - get$substrand_to_strand: function() { - var t1 = this.__substrand_to_strand; - if (t1 == null) { - t1 = N.Design.prototype.get$substrand_to_strand.call(this); - this.set$__substrand_to_strand(t1); + get$loopouts_by_id() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.Loopout); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__loopouts; + if (t5 == null) { + t5 = A.Strand.prototype.get$loopouts.call(t4); + t4.set$__loopouts(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._loopout$__id; + t6 = t3._as(t6 == null ? t5._loopout$__id = A.Loopout.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } } - return t1; + return builder.build$0(); }, - get$crossover_to_strand: function() { - var t1 = this.__crossover_to_strand; - if (t1 == null) { - t1 = N.Design.prototype.get$crossover_to_strand.call(this); - this.set$__crossover_to_strand(t1); + get$extensions_by_id() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.Extension); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__extensions; + if (t5 == null) { + t5 = A.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._extension$__id; + t6 = t3._as(t6 == null ? t5._extension$__id = A.Extension.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } } - return t1; + return builder.build$0(); }, - get$helix_idxs: function() { - var t1 = this.__helix_idxs; - if (t1 == null) { - t1 = N.Design.prototype.get$helix_idxs.call(this); - this.set$__helix_idxs(t1); + get$crossovers_by_id() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.Crossover); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__crossovers; + if (t5 == null) { + t5 = A.Strand.prototype.get$crossovers.call(t4); + t4.set$__crossovers(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._crossover$__id; + t6 = t3._as(t6 == null ? t5._crossover$__id = A.Crossover.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } } - return t1; + return builder.build$0(); }, - get$helix_idx_to_domains: function() { - var t1 = this.__helix_idx_to_domains; - if (t1 == null) { - t1 = N.Design.prototype.get$helix_idx_to_domains.call(this); - this.set$__helix_idx_to_domains(t1); + get$deletions_by_id() { + var t1, t2, t3, t4, t5, t6, t7, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.SelectableDeletion); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._domain$__selectable_deletions; + if (t6 == null) { + t6 = A.Domain.prototype.get$selectable_deletions.call(t5); + t5.set$_domain$__selectable_deletions(t6); + t5 = t6; + } else + t5 = t6; + t5 = t5._list; + t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); + for (; t5.moveNext$0();) { + t6 = t5.__interceptors$_current; + t7 = t6._selectable$__id; + t7 = t3._as(t7 == null ? t6._selectable$__id = A.SelectableDeletion.prototype.get$id.call(t6, t6) : t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + builder.get$_safeMap().$indexSet(0, t7, t6); + } + } } - return t1; + return builder.build$0(); }, - get$address_3p_to_strand: function() { - var t1 = this.__address_3p_to_strand; - if (t1 == null) { - t1 = N.Design.prototype.get$address_3p_to_strand.call(this); - this.set$__address_3p_to_strand(t1); + get$insertions_by_id() { + var t1, t2, t3, t4, t5, t6, t7, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.SelectableInsertion); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5._domain$__selectable_insertions; + if (t6 == null) { + t6 = A.Domain.prototype.get$selectable_insertions.call(t5); + t5.set$_domain$__selectable_insertions(t6); + t5 = t6; + } else + t5 = t6; + t5 = t5._list; + t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); + for (; t5.moveNext$0();) { + t6 = t5.__interceptors$_current; + t7 = t6._selectable$__id; + t7 = t3._as(t7 == null ? t6._selectable$__id = A.SelectableInsertion.prototype.get$id.call(t6, t6) : t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + builder.get$_safeMap().$indexSet(0, t7, t6); + } + } } - return t1; + return builder.build$0(); }, - get$helix_idxs_in_group: function() { - var t1 = this.__helix_idxs_in_group; - if (t1 == null) { - t1 = N.Design.prototype.get$helix_idxs_in_group.call(this); - this.set$__helix_idxs_in_group(t1); + get$modifications_by_id() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.SelectableModification); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__selectable_modifications; + if (t5 == null) { + t5 = A.Strand.prototype.get$selectable_modifications.call(t4); + t4.set$__selectable_modifications(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t3._as(t5.get$id(t5)); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } } - return t1; - }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_DesignBuilder._as(updates); - t1 = new N.DesignBuilder(); - N.Design__initializeBuilder(t1); - t1._design0$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof N.Design && _this.version === other.version && J.$eq$(_this.geometry, other.geometry) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.strands, other.strands) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.unused_fields, other.unused_fields); - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._design0$__hashCode; - return t1 == null ? _this._design0$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.version)), J.get$hashCode$(_this.geometry)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.strands)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.unused_fields))) : t1; - }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Design"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "version", _this.version); - t2.add$2(t1, "geometry", _this.geometry); - t2.add$2(t1, "helices", _this.helices); - t2.add$2(t1, "strands", _this.strands); - t2.add$2(t1, "groups", _this.groups); - t2.add$2(t1, "unused_fields", _this.unused_fields); - return t2.toString$0(t1); - }, - set$__color_of_domain: function(__color_of_domain) { - this.__color_of_domain = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color._as(__color_of_domain); - }, - set$__address_crossover_pairs_by_helix_idx: function(__address_crossover_pairs_by_helix_idx) { - this.__address_crossover_pairs_by_helix_idx = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(__address_crossover_pairs_by_helix_idx); - }, - set$__strands_by_id: function(__strands_by_id) { - this.__strands_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Strand._as(__strands_by_id); + return builder.build$0(); }, - set$__domains_by_id: function(__domains_by_id) { - this.__domains_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Domain._as(__domains_by_id); + get$ends_by_id() { + var t1, t2, t3, t4, t5, t6, t7, t8, + builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.DNAEnd); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + } + t5 = t5._list; + t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); + for (; t5.moveNext$0();) { + t6 = t5.__interceptors$_current; + t7 = t6.__dnaend_start; + if (t7 == null) + t7 = t6.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t6); + t8 = t7._dna_end$__id; + t7 = t8 == null ? t7._dna_end$__id = A.DNAEnd.prototype.get$id.call(t7, t7) : t8; + t8 = t6.__dnaend_start; + if (t8 == null) + t8 = t6.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t6); + t3._as(t7); + t2._as(t8); + builder._checkKey$1(t7); + builder._checkValue$1(t8); + builder.get$_safeMap().$indexSet(0, t7, t8); + t8 = t6.__dnaend_end; + t7 = t8 == null ? t6.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t6) : t8; + t8 = t7._dna_end$__id; + t7 = t8 == null ? t7._dna_end$__id = A.DNAEnd.prototype.get$id.call(t7, t7) : t8; + t8 = t6.__dnaend_end; + t6 = t8 == null ? t6.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t6) : t8; + t3._as(t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + builder.get$_safeMap().$indexSet(0, t7, t6); + } + t5 = t4.__extensions; + if (t5 == null) { + t5 = A.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__dnaend_free; + if (t6 == null) + t6 = t5.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t5); + t7 = t6._dna_end$__id; + t6 = t7 == null ? t6._dna_end$__id = A.DNAEnd.prototype.get$id.call(t6, t6) : t7; + t7 = t5.__dnaend_free; + t5 = t7 == null ? t5.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t5) : t7; + t3._as(t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + builder.get$_safeMap().$indexSet(0, t6, t5); + } + } + return builder.build$0(); }, - set$__loopouts_by_id: function(__loopouts_by_id) { - this.__loopouts_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Loopout._as(__loopouts_by_id); + get$selectable_by_id() { + var t5, t6, t7, t8, t9, t10, t11, _i, map_small, _this = this, + t1 = type$.String, + t2 = type$.Selectable, + map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), + t3 = _this.get$strands_by_id(), + t4 = _this.__loopouts_by_id; + if (t4 == null) { + t4 = A.Design.prototype.get$loopouts_by_id.call(_this); + _this.set$__loopouts_by_id(t4); + } + t5 = _this.get$extensions_by_id(); + t6 = _this.__crossovers_by_id; + if (t6 == null) { + t6 = A.Design.prototype.get$crossovers_by_id.call(_this); + _this.set$__crossovers_by_id(t6); + } + t7 = _this.__ends_by_id; + if (t7 == null) { + t7 = A.Design.prototype.get$ends_by_id.call(_this); + _this.set$__ends_by_id(t7); + } + t8 = _this.get$domains_by_id(); + t9 = _this.__deletions_by_id; + if (t9 == null) { + t9 = A.Design.prototype.get$deletions_by_id.call(_this); + _this.set$__deletions_by_id(t9); + } + t10 = _this.__insertions_by_id; + if (t10 == null) { + t10 = A.Design.prototype.get$insertions_by_id.call(_this); + _this.set$__insertions_by_id(t10); + } + t11 = _this.__modifications_by_id; + if (t11 == null) { + t11 = A.Design.prototype.get$modifications_by_id.call(_this); + _this.set$__modifications_by_id(t11); + } + t11 = [t3, t4, t5, t6, t7, t8, t9, t10, t11]; + _i = 0; + for (; _i < 9; ++_i) { + map_small = t11[_i]; + if (map_small._keys == null) { + t3 = map_small._map$_map; + map_small.set$_keys(new A.LinkedHashMapKeyIterable(t3, A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t3 = map_small._keys; + t4 = t3._map; + t3 = new A.LinkedHashMapKeyIterator(t4, t4._modifications, A._instanceType(t3)._eval$1("LinkedHashMapKeyIterator<1>")); + t3._cell = t4._first; + t4 = map_small._map$_map; + for (; t3.moveNext$0();) { + t5 = t3.__js_helper$_current; + t6 = t4.$index(0, t5); + t6.toString; + map.$indexSet(0, t5, t6); + } + } + return A.BuiltMap_BuiltMap$of(map, t1, t2); }, - set$__extensions_by_id: function(__extensions_by_id) { - this.__extensions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Extension._as(__extensions_by_id); + get$strands_overlapping() { + var t3, t4, i, strand1, j, strand2, t5, + t1 = type$.Strand, + map = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Strand), + t2 = type$.BuiltList_Strand, + map_builtlist = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = this.strands._list, t4 = type$.JSArray_Strand, i = 0; i < t3.length; ++i) { + strand1 = t3[i]; + map.$indexSet(0, strand1, A._setArrayType([], t4)); + for (j = 0; j < t3.length; ++j) { + strand2 = t3[j]; + if (strand1.overlaps$1(strand2)) { + t5 = map.$index(0, strand1); + t5.toString; + B.JSArray_methods.add$1(t5, strand2); + } + } + t5 = map.$index(0, strand1); + t5.toString; + map_builtlist.$indexSet(0, strand1, A.BuiltList_BuiltList$of(t5, t1)); + } + return A.BuiltMap_BuiltMap$of(map_builtlist, t1, t2); }, - set$__crossovers_by_id: function(__crossovers_by_id) { - this.__crossovers_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Crossover._as(__crossovers_by_id); + get$domain_mismatches_map() { + var t2, t3, t4, t5, t6, t7, domain_mismatches_builtmap_builder, + t1 = type$.Domain, + domain_mismatches_map_builder = A.MapBuilder_MapBuilder(B.Map_empty, t1, type$.ListBuilder_Mismatch); + for (t2 = this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = domain_mismatches_map_builder.$ti, t4 = t3._precomputed1, t3 = t3._rest[1]; t2.moveNext$0();) { + t5 = t2.__interceptors$_current; + if (!t5.___dna_sequence) { + t5.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(t5); + t5.___dna_sequence = true; + } + if (t5.__dna_sequence != null) { + t6 = t5.__domains; + if (t6 == null) { + t6 = A.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t6); + t5 = t6; + } else + t5 = t6; + t5 = t5._list; + t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); + for (; t5.moveNext$0();) { + t6 = t5.__interceptors$_current; + t7 = this._find_mismatches_on_domain$1(t6); + t4._as(t6); + t3._as(t7); + domain_mismatches_map_builder._checkKey$1(t6); + domain_mismatches_map_builder._checkValue$1(t7); + domain_mismatches_map_builder.get$_safeMap().$indexSet(0, t6, t7); + } + } + } + domain_mismatches_builtmap_builder = A.MapBuilder_MapBuilder(B.Map_empty, t1, type$.BuiltList_Mismatch); + t1 = domain_mismatches_map_builder.build$0(); + t1.toString; + t1._map$_map.forEach$1(0, t1.$ti._eval$1("~(1,2)")._as(new A.Design_domain_mismatches_map_closure(domain_mismatches_builtmap_builder))); + return domain_mismatches_builtmap_builder.build$0(); }, - set$__deletions_by_id: function(__deletions_by_id) { - this.__deletions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableDeletion._as(__deletions_by_id); + get$unpaired_insertion_deletion_map() { + var t1, t2, t3, unpaired_insertion_deletion_half_built_map, + unpaired_insertion_deletion_map_builder = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_Domain_and_List_Address); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + unpaired_insertion_deletion_map_builder.$indexSet(0, t3, this.find_unpaired_insertion_deletions_on_domain$2(t3, false)); + } + } + unpaired_insertion_deletion_half_built_map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_Domain_and_BuiltList_Address); + unpaired_insertion_deletion_map_builder.forEach$1(0, new A.Design_unpaired_insertion_deletion_map_closure(unpaired_insertion_deletion_half_built_map)); + return A.BuiltMap_BuiltMap$of(unpaired_insertion_deletion_half_built_map, type$.Domain, type$.BuiltList_Address); }, - set$__insertions_by_id: function(__insertions_by_id) { - this.__insertions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableInsertion._as(__insertions_by_id); + get$end_to_domain() { + var t1, t2, t3, t4, t5, t6, t7, + end_to_substrand_builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.DNAEnd, type$.Domain); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = end_to_substrand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__domains; + if (t5 == null) { + t5 = A.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.forward; + if (t6) { + t7 = t5.__dnaend_end; + if (t7 == null) { + t7 = A.Domain.prototype.get$dnaend_end.call(t5); + t5.__dnaend_end = t7; + } + } else { + t7 = t5.__dnaend_start; + if (t7 == null) { + t7 = A.Domain.prototype.get$dnaend_start.call(t5); + t5.__dnaend_start = t7; + } + } + t3._as(t7); + t2._as(t5); + end_to_substrand_builder._checkKey$1(t7); + end_to_substrand_builder._checkValue$1(t5); + end_to_substrand_builder.get$_safeMap().$indexSet(0, t7, t5); + if (t6) { + t6 = t5.__dnaend_start; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_start.call(t5); + t5.__dnaend_start = t6; + } + } else { + t6 = t5.__dnaend_end; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_end.call(t5); + t5.__dnaend_end = t6; + } + } + t3._as(t6); + end_to_substrand_builder._checkKey$1(t6); + end_to_substrand_builder._checkValue$1(t5); + end_to_substrand_builder.get$_safeMap().$indexSet(0, t6, t5); + } + } + return end_to_substrand_builder.build$0(); }, - set$__modifications_by_id: function(__modifications_by_id) { - this.__modifications_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableModification._as(__modifications_by_id); + get$end_to_extension() { + var t1, t2, t3, t4, t5, t6, + end_to_extension_builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.DNAEnd, type$.Extension); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = end_to_extension_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.__extensions; + if (t5 == null) { + t5 = A.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = t5.__dnaend_free; + t6 = t3._as(t6 == null ? t5.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t5) : t6); + t2._as(t5); + end_to_extension_builder._checkKey$1(t6); + end_to_extension_builder._checkValue$1(t5); + end_to_extension_builder.get$_safeMap().$indexSet(0, t6, t5); + } + } + return end_to_extension_builder.build$0(); }, - set$__ends_by_id: function(__ends_by_id) { - this.__ends_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_DNAEnd._as(__ends_by_id); + get$substrand_to_strand() { + var t1, t2, t3, t4, t5, t6, + substrand_to_strand_builder = A.MapBuilder_MapBuilder(B.Map_empty, type$.Substrand, type$.Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = substrand_to_strand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + for (t5 = t4.substrands._list, t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")); t5.moveNext$0();) { + t6 = t3._as(t5.__interceptors$_current); + t2._as(t4); + substrand_to_strand_builder._checkKey$1(t6); + substrand_to_strand_builder._checkValue$1(t4); + substrand_to_strand_builder.get$_safeMap().$indexSet(0, t6, t4); + } + } + return substrand_to_strand_builder.build$0(); }, - set$__selectable_by_id: function(__selectable_by_id) { - this.__selectable_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Selectable._as(__selectable_by_id); + get$strand_to_index() { + var t1, idx, idx0, + strand_to_index = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Strand_int); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), idx = 0; t1.moveNext$0(); idx = idx0) { + idx0 = idx + 1; + strand_to_index.$indexSet(0, t1.__interceptors$_current, idx); + } + return A.BuiltMap_BuiltMap$of(strand_to_index, type$.Strand, type$.int); }, - set$__strands_overlapping: function(__strands_overlapping) { - this.__strands_overlapping = type$.legacy_BuiltMap_of_legacy_Strand_and_legacy_BuiltList_legacy_Strand._as(__strands_overlapping); + get$crossover_to_strand() { + var t1, t2, t3, + crossover_to_strand_builder = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Crossover_Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__crossovers; + if (t3 == null) { + t3 = A.Strand.prototype.get$crossovers.call(t2); + t2.set$__crossovers(t3); + } + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + crossover_to_strand_builder.$indexSet(0, t3.__interceptors$_current, t2); + } + return A.BuiltMap_BuiltMap$of(crossover_to_strand_builder, type$.Crossover, type$.Strand); }, - set$__domain_mismatches_map: function(__domain_mismatches_map) { - this.__domain_mismatches_map = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Mismatch._as(__domain_mismatches_map); + get$linker_to_strand() { + var t1, t2, t3, + linker_to_strand_builder = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Linker_Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__linkers; + if (t3 == null) { + t3 = A.Strand.prototype.get$linkers.call(t2); + t2.set$__linkers(t3); + } + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + linker_to_strand_builder.$indexSet(0, t3.__interceptors$_current, t2); + } + return A.BuiltMap_BuiltMap$of(linker_to_strand_builder, type$.Linker, type$.Strand); }, - set$__unpaired_insertion_deletion_map: function(__unpaired_insertion_deletion_map) { - this.__unpaired_insertion_deletion_map = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address._as(__unpaired_insertion_deletion_map); + get$helix_idxs() { + var t1 = this.helices; + return A.BuiltList_BuiltList$of(t1.get$keys(t1), type$.int); }, - set$__end_to_domain: function(__end_to_domain) { - this.__end_to_domain = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Domain._as(__end_to_domain); + get$helix_idx_to_domains() { + return A.construct_helix_idx_to_domains_map(this.strands, this.get$helix_idxs()); }, - set$__end_to_extension: function(__end_to_extension) { - this.__end_to_extension = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Extension._as(__end_to_extension); + get$address_to_end() { + var t1, t2, t3, t4, t5, _i, end, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Address_DNAEnd); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.__dnaend_start; + if (t4 == null) + t4 = t3.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t3); + t5 = t3.__dnaend_end; + t4 = [t4, t5 == null ? t3.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t3) : t5]; + t5 = t3.forward; + t3 = t3.helix; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t6 = end.offset; + if (end.is_start) + t6.toString; + else { + t6.toString; + --t6; + } + map.$indexSet(0, new A._$Address(t3, t6, t5), end); + } + } + } + return A.BuiltMap_BuiltMap$of(map, type$.Address, type$.DNAEnd); }, - set$__substrand_to_strand: function(__substrand_to_strand) { - this.__substrand_to_strand = type$.legacy_BuiltMap_of_legacy_Substrand_and_legacy_Strand._as(__substrand_to_strand); - }, - set$__strand_to_index: function(__strand_to_index) { - this.__strand_to_index = type$.legacy_BuiltMap_of_legacy_Strand_and_legacy_int._as(__strand_to_index); - }, - set$__crossover_to_strand: function(__crossover_to_strand) { - this.__crossover_to_strand = type$.legacy_BuiltMap_of_legacy_Crossover_and_legacy_Strand._as(__crossover_to_strand); - }, - set$__linker_to_strand: function(__linker_to_strand) { - this.__linker_to_strand = type$.legacy_BuiltMap_of_legacy_Linker_and_legacy_Strand._as(__linker_to_strand); - }, - set$__helix_idxs: function(__helix_idxs) { - this.__helix_idxs = type$.legacy_BuiltList_legacy_int._as(__helix_idxs); - }, - set$__helix_idx_to_domains: function(__helix_idx_to_domains) { - this.__helix_idx_to_domains = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain._as(__helix_idx_to_domains); + get$end_to_address() { + var t1, t2, t3, t4, t5, _i, end, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_DNAEnd_Address); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.__dnaend_start; + if (t4 == null) + t4 = t3.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t3); + t5 = t3.__dnaend_end; + t4 = [t4, t5 == null ? t3.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t3) : t5]; + t5 = t3.forward; + t3 = t3.helix; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t6 = end.offset; + if (end.is_start) + t6.toString; + else { + t6.toString; + --t6; + } + map.$indexSet(0, end, new A._$Address(t3, t6, t5)); + } + } + } + return A.BuiltMap_BuiltMap$of(map, type$.DNAEnd, type$.Address); }, - set$__address_to_end: function(__address_to_end) { - this.__address_to_end = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_DNAEnd._as(__address_to_end); + get$address_5p_to_strand() { + var t1, t2, ss, t3, t4, t5, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Address_Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + ss = t2.__first_domain; + if (ss == null) + ss = t2.__first_domain = A.Strand.prototype.get$first_domain.call(t2); + t3 = ss.helix; + t4 = ss.forward; + if (t4) { + t5 = ss.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t5; + } + } else { + t5 = ss.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t5; + } + } + t6 = t5.offset; + if (t5.is_start) { + t6.toString; + t5 = t6; + } else { + t6.toString; + t5 = t6 - 1; + } + map.$indexSet(0, new A._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.Address, type$.Strand); }, - set$__end_to_address: function(__end_to_address) { - this.__end_to_address = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Address._as(__end_to_address); + get$address_3p_to_strand() { + var t1, t2, ss, t3, t4, t5, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Address_Strand); + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + ss = t2.__last_domain; + if (ss == null) + ss = t2.__last_domain = A.Strand.prototype.get$last_domain.call(t2); + t3 = ss.helix; + t4 = ss.forward; + if (t4) { + t5 = ss.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t5; + } + } else { + t5 = ss.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t5; + } + } + t6 = t5.offset; + if (t5.is_start) { + t6.toString; + t5 = t6; + } else { + t6.toString; + t5 = t6 - 1; + } + map.$indexSet(0, new A._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.Address, type$.Strand); }, - set$__address_5p_to_strand: function(__address_5p_to_strand) { - this.__address_5p_to_strand = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Strand._as(__address_5p_to_strand); + get$address_5p_to_domain() { + var t1, t2, t3, t4, t5, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Address_Domain); + for (t1 = this.get$domains_by_id(), t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + t3 = t1.helix; + t4 = t1.forward; + if (t4) { + t5 = t1.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(t1); + t1.__dnaend_start = t5; + } + } else { + t5 = t1.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(t1); + t1.__dnaend_end = t5; + } + } + t6 = t5.offset; + if (t5.is_start) { + t6.toString; + t5 = t6; + } else { + t6.toString; + t5 = t6 - 1; + } + map.$indexSet(0, new A._$Address(t3, t5, t4), t1); + } + return A.BuiltMap_BuiltMap$of(map, type$.Address, type$.Domain); }, - set$__address_3p_to_strand: function(__address_3p_to_strand) { - this.__address_3p_to_strand = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Strand._as(__address_3p_to_strand); + get$address_3p_to_domain() { + var t1, t2, t3, t4, t5, t6, + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Address_Domain); + for (t1 = this.get$domains_by_id(), t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + t3 = t1.helix; + t4 = t1.forward; + if (t4) { + t5 = t1.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(t1); + t1.__dnaend_end = t5; + } + } else { + t5 = t1.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(t1); + t1.__dnaend_start = t5; + } + } + t6 = t5.offset; + if (t5.is_start) { + t6.toString; + t5 = t6; + } else { + t6.toString; + t5 = t6 - 1; + } + map.$indexSet(0, new A._$Address(t3, t5, t4), t1); + } + return A.BuiltMap_BuiltMap$of(map, type$.Address, type$.Domain); }, - set$__address_5p_to_domain: function(__address_5p_to_domain) { - this.__address_5p_to_domain = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Domain._as(__address_5p_to_domain); + get$potential_vertical_crossovers() { + var t1, t2, ss, helix_idx, forward_top, t3, t4, offset, forward_top0, _i, address_3p, t5, t6, helix_idx_top, dna_end_top, substrand_bot, dna_end_bot, substrand_top, forward_top1, helix_idx_bot, _this = this, _null = null, + crossovers = A._setArrayType([], type$.JSArray_PotentialVerticalCrossover); + for (t1 = _this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + ss = t2.__first_domain; + if (ss == null) { + ss = A.Strand.prototype.get$first_domain.call(t2); + t2.__first_domain = ss; + } + helix_idx = ss.helix; + forward_top = ss.forward; + if (forward_top) { + t3 = ss.__dnaend_start; + if (t3 == null) { + t3 = A.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t3; + } + } else { + t3 = ss.__dnaend_end; + if (t3 == null) { + t3 = A.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t3; + } + } + t4 = t3.offset; + if (t3.is_start) { + t4.toString; + offset = t4; + } else { + t4.toString; + offset = t4 - 1; + } + forward_top0 = !forward_top; + t3 = helix_idx + 1; + t4 = [new A._$Address(helix_idx - 1, offset, forward_top0), new A._$Address(t3, offset, forward_top0)]; + t2 = t2.color; + _i = 0; + for (; _i < 2; ++_i) { + address_3p = t4[_i]; + t5 = _this.__address_3p_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$address_3p_to_strand.call(_this); + _this.set$__address_3p_to_strand(t5); + } + if (t5._keys == null) { + t6 = t5._map$_map; + t5.set$_keys(new A.LinkedHashMapKeyIterable(t6, A._instanceType(t6)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + if (t5._keys._map.containsKey$1(0, address_3p)) { + t5 = _this.__address_3p_to_strand; + if (t5 == null) { + t5 = A.Design.prototype.get$address_3p_to_strand.call(_this); + _this.set$__address_3p_to_strand(t5); + } + t5 = t5._map$_map.$index(0, address_3p); + t5.toString; + helix_idx_top = address_3p.helix_idx; + if (t3 === helix_idx_top) { + if (forward_top) { + t6 = ss.__dnaend_start; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } else { + t6 = ss.__dnaend_end; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } + substrand_bot = t5.__last_domain; + if (substrand_bot == null) { + substrand_bot = A.Strand.prototype.get$last_domain.call(t5); + t5.__last_domain = substrand_bot; + } + if (substrand_bot.forward) { + t5 = substrand_bot.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(substrand_bot); + substrand_bot.__dnaend_end = t5; + dna_end_bot = t5; + } else + dna_end_bot = t5; + } else { + t5 = substrand_bot.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(substrand_bot); + substrand_bot.__dnaend_start = t5; + dna_end_bot = t5; + } else + dna_end_bot = t5; + } + substrand_top = ss; + forward_top1 = forward_top; + helix_idx_bot = helix_idx_top; + helix_idx_top = helix_idx; + } else { + substrand_top = t5.__last_domain; + if (substrand_top == null) { + substrand_top = A.Strand.prototype.get$last_domain.call(t5); + t5.__last_domain = substrand_top; + } + if (substrand_top.forward) { + t5 = substrand_top.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(substrand_top); + substrand_top.__dnaend_end = t5; + dna_end_top = t5; + } else + dna_end_top = t5; + } else { + t5 = substrand_top.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(substrand_top); + substrand_top.__dnaend_start = t5; + dna_end_top = t5; + } else + dna_end_top = t5; + } + if (forward_top) { + t5 = ss.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t5; + dna_end_bot = t5; + } else + dna_end_bot = t5; + } else { + t5 = ss.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t5; + dna_end_bot = t5; + } else + dna_end_bot = t5; + } + substrand_bot = ss; + forward_top1 = forward_top0; + helix_idx_bot = helix_idx; + } + } else { + dna_end_bot = _null; + dna_end_top = dna_end_bot; + substrand_bot = dna_end_top; + substrand_top = substrand_bot; + forward_top1 = substrand_top; + helix_idx_bot = forward_top1; + helix_idx_top = helix_idx_bot; + } + if (helix_idx_top != null && helix_idx_bot != null && forward_top1 != null && substrand_top != null && substrand_bot != null && dna_end_top != null && dna_end_bot != null) { + t5 = t2.toHexColor$0(); + B.JSArray_methods.add$1(crossovers, A._$PotentialVerticalCrossover$_("#" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t5.r), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t5.g), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.toInt$0$n(t5.b), 16), 2, "0"), dna_end_bot, dna_end_top, substrand_bot, substrand_top, forward_top1, helix_idx_bot, helix_idx_top, offset)); + } + } + } + return A._BuiltList$of(crossovers, type$.PotentialVerticalCrossover); }, - set$__address_3p_to_domain: function(__address_3p_to_domain) { - this.__address_3p_to_domain = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Domain._as(__address_3p_to_domain); + get$max_offset() { + var t2, + t1 = this.helices; + t1 = t1.get$values(t1); + t1.toString; + t2 = A._instanceType(t1); + return A.IterableIntegerExtension_get_max(A.MappedIterable_MappedIterable(t1, t2._eval$1("int(Iterable.E)")._as(new A.Design_max_offset_closure()), t2._eval$1("Iterable.E"), type$.int)); }, - set$__potential_vertical_crossovers: function(__potential_vertical_crossovers) { - this.__potential_vertical_crossovers = type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(__potential_vertical_crossovers); + get$min_offset() { + var t2, + t1 = this.helices; + t1 = t1.get$values(t1); + t1.toString; + t2 = A._instanceType(t1); + return A.IterableIntegerExtension_get_min(A.MappedIterable_MappedIterable(t1, t2._eval$1("int(Iterable.E)")._as(new A.Design_min_offset_closure()), t2._eval$1("Iterable.E"), type$.int)); }, - set$__helix_idxs_in_group: function(__helix_idxs_in_group) { - this.__helix_idxs_in_group = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(__helix_idxs_in_group); + add_strands$1(new_strands) { + var t1, _i, strand, t2, t3, t4, _this = this; + type$.Iterable_Strand._as(new_strands); + for (t1 = new_strands.length, _i = 0; _i < new_strands.length; new_strands.length === t1 || (0, A.throwConcurrentModificationError)(new_strands), ++_i) { + strand = new_strands[_i]; + t2 = strand.__domains; + if (t2 == null) { + t2 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t2); + } + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = _this.__helix_idxs; + if (t4 == null) { + t4 = A.Design.prototype.get$helix_idxs.call(_this); + _this.set$__helix_idxs(t4); + } + t3 = t3.helix; + if (!B.JSArray_methods.contains$1(t4._list, t3)) + throw A.wrapException(A.IllegalDesignError$("Strand includes a domain on non-existent helix: " + t3)); + } + } + return _this.rebuild$1(new A.Design_add_strands_closure(new_strands)); }, - set$__domain_name_mismatches: function(__domain_name_mismatches) { - this.__domain_name_mismatches = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_DomainNameMismatch._as(__domain_name_mismatches); + remove_strands$1(strands_to_remove) { + return this.rebuild$1(new A.Design_remove_strands_closure(J.toSet$0$ax(type$.Iterable_Strand._as(strands_to_remove)._copy_on_write_list$_list))); }, - set$__all_domains: function(__all_domains) { - this.__all_domains = type$.legacy_BuiltList_legacy_Domain._as(__all_domains); + has_default_groups$0() { + var t1 = this.groups._map$_map; + return t1._length === 1 && t1.containsKey$1(0, "default_group"); }, - set$__helix_to_crossover_addresses: function(__helix_to_crossover_addresses) { - this.__helix_to_crossover_addresses = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses); + default_group$0() { + if (!this.has_default_groups$0()) + throw A.wrapException(A.ArgumentError$("cannot access Design.helices_view_order when groups are used. Access group.helices_view_order for each group instead.", null)); + var t1 = this.groups; + if (t1 == null) + throw A.wrapException(A.AssertionError$("Design.groups should not be None by this point")); + return B.JSArray_methods.get$first(A.List_List$from(t1.get$values(t1), true, type$.HelixGroup)); }, - set$__helix_to_crossover_addresses_disallow_intrahelix: function(__helix_to_crossover_addresses_disallow_intrahelix) { - this.__helix_to_crossover_addresses_disallow_intrahelix = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses_disallow_intrahelix); + get$grid(_) { + return this.default_group$0().grid; }, - set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup: function(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup) { - this.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup); - } - }; - N.DesignBuilder.prototype = { - get$geometry: function(_) { - var t1 = this.get$_design0$_$this(), - t2 = t1._geometry; - return t2 == null ? t1._geometry = new N.GeometryBuilder() : t2; + to_json_serializable$1$suppress_indent(suppress_indent) { + var t6, t7, t8, t9, json_map0, group_map, t10, t11, pos, helices_view_order_to_write, use_no_indent, gp, distances, t12, t13, ticks, helix_json, default_max_end, helices_view_order, order, _i, mod_type, mods_map, _this = this, + _s8_ = "position", + _s18_ = "helices_view_order", + t1 = type$.String, + t2 = type$.dynamic, + json_map = A.LinkedHashMap_LinkedHashMap$_literal(["version", "0.19.5"], t1, t2), + t3 = _this.unused_fields, + t4 = t3._map$_map, + t5 = A._instanceType(t3); + json_map.addAll$1(0, new A.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + if (_this.has_default_groups$0()) + json_map.$indexSet(0, "grid", _this.default_group$0().grid.name); + t3 = _this.geometry; + t4 = t3.rise_per_base_pair; + t5 = t3.helix_radius; + t6 = t3.inter_helix_gap; + t7 = t3.bases_per_turn; + t8 = t3.minor_groove_angle; + t9 = type$.JSArray_double; + if (!A.are_all_close(A._setArrayType([t4, t5, t6, t7, t8], t9), A._setArrayType([0.332, 1, 1, 10.5, 150], t9))) { + json_map0 = new A.JsLinkedHashMap(type$.JsLinkedHashMap_String_dynamic); + if (!(Math.abs(t4 - 0.332) < 1e-9)) + json_map0.$indexSet(0, "rise_per_base_pair", t4); + if (!(Math.abs(t5 - 1) < 1e-9)) + json_map0.$indexSet(0, "helix_radius", t5); + if (!(Math.abs(t6 - 1) < 1e-9)) + json_map0.$indexSet(0, "inter_helix_gap", t6); + if (!(Math.abs(t7 - 10.5) < 1e-9)) + json_map0.$indexSet(0, "bases_per_turn", t7); + if (!(Math.abs(t8 - 150) < 1e-9)) + json_map0.$indexSet(0, "minor_groove_angle", t8); + t3 = t3.unused_fields; + t4 = t3._map$_map; + t5 = A._instanceType(t3); + json_map0.addAll$1(0, new A.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.$indexSet(0, "geometry", json_map0); + } + if (!_this.has_default_groups$0()) { + group_map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = _this.groups, t4 = t3.get$keys(t3), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t4)._precomputed1), t5 = type$.int, t6 = type$.Iterable_int, t7 = type$.double; t4.moveNext$0();) { + t8 = t4.__js_helper$_current; + t9 = t3._map$_map.$index(0, t8); + t9.toString; + t10 = _this.__helix_idxs_in_group; + if (t10 == null) { + t10 = A.Design.prototype.get$helix_idxs_in_group.call(_this); + _this.set$__helix_idxs_in_group(t10); + } + t10 = t10._map$_map.$index(0, t8); + t10.toString; + t6._as(t10); + json_map0 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + t11 = t9.position; + pos = A.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t7); + json_map0.$indexSet(0, _s8_, suppress_indent ? new A.NoIndent(pos) : pos); + t11 = t9.pitch; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "pitch", t11); + t11 = t9.roll; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "roll", t11); + t11 = t9.yaw; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "yaw", t11); + json_map0.$indexSet(0, "grid", t9.grid.name); + if (!A.boolConversionCheck(A.helices_view_order_is_default(A.BuiltList_BuiltList$of(t10, t5), t9))) { + t9 = t9.helices_view_order; + helices_view_order_to_write = new A.CopyOnWriteList(true, t9._list, A._instanceType(t9)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, _s18_, suppress_indent ? new A.NoIndent(helices_view_order_to_write) : helices_view_order_to_write); + } + group_map.$indexSet(0, t8, json_map0); + } + json_map.$indexSet(0, "groups", group_map); + } + t3 = type$.int; + t4 = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Object); + for (t5 = _this.helices, t6 = t5.get$values(t5), t7 = A._instanceType(t6), t7 = new A.MappedIterator(J.get$iterator$ax(t6.__internal$_iterable), t6._f, t7._eval$1("@<1>")._bind$1(t7._rest[1])._eval$1("MappedIterator<1,2>")), t6 = type$.JSArray_int, t8 = type$.double; t7.moveNext$0();) { + t9 = t7.__internal$_current; + t10 = t9.idx; + json_map0 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + t11 = t9.__has_default_major_ticks; + if (t11 == null ? t9.__has_default_major_ticks = A.Helix.prototype.get$has_default_major_ticks.call(t9) : t11) { + t11 = t9.__has_position; + use_no_indent = !(t11 == null ? t9.__has_position = A.Helix.prototype.get$has_position.call(t9) : t11); + } else + use_no_indent = false; + t11 = t9.__has_default_roll; + if (!(t11 == null ? t9.__has_default_roll = A.Helix.prototype.get$has_default_roll.call(t9) : t11)) { + t11 = t9.roll; + json_map0.$indexSet(0, "roll", Math.abs(t11 - B.JSNumber_methods.roundToDouble$0(t11)) < 1e-9 ? B.JSNumber_methods.round$0(t11) : t11); + } + t11 = t9.__has_grid_position; + if (t11 == null ? t9.__has_grid_position = A.Helix.prototype.get$has_grid_position.call(t9) : t11) { + t11 = t9.grid_position; + gp = A._setArrayType([t11.h, t11.v], t6); + json_map0.$indexSet(0, "grid_position", suppress_indent && !use_no_indent ? new A.NoIndent(gp) : gp); + } + t11 = t9.__has_position; + if (t11 == null ? t9.__has_position = A.Helix.prototype.get$has_position.call(t9) : t11) { + t11 = t9.position_; + if (t11 == null) { + t11 = t9.grid_position; + t11.toString; + t11 = A.grid_position_to_position3d(t11, t9.grid, t9.geometry); + } + pos = A.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t8); + json_map0.$indexSet(0, _s8_, suppress_indent && !use_no_indent ? new A.NoIndent(pos) : pos); + } + t11 = t9.__has_default_major_tick_distance; + if (!(t11 == null ? t9.__has_default_major_tick_distance = A.Helix.prototype.get$has_default_major_tick_distance.call(t9) : t11)) { + t11 = t9.major_tick_periodic_distances._list; + t11 = t11.length !== 1 ? null : B.JSArray_methods.get$first(t11); + t11.toString; + json_map0.$indexSet(0, "major_tick_distance", t11); + } + t11 = t9.__has_default_major_tick_start; + if (!(t11 == null ? t9.__has_default_major_tick_start = A.Helix.prototype.get$has_default_major_tick_start.call(t9) : t11)) + json_map0.$indexSet(0, "major_tick_start", t9.major_tick_start); + t11 = t9.__has_default_group; + if (!(t11 == null ? t9.__has_default_group = A.Helix.prototype.get$has_default_group.call(t9) : t11)) + json_map0.$indexSet(0, "group", t9.group); + t11 = t9.__has_major_tick_periodic_distances; + if (t11 == null ? t9.__has_major_tick_periodic_distances = A.Helix.prototype.get$has_major_tick_periodic_distances.call(t9) : t11) { + t11 = t9.major_tick_periodic_distances; + distances = new A.CopyOnWriteList(true, t11._list, A._instanceType(t11)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, "major_tick_periodic_distances", suppress_indent && !use_no_indent ? new A.NoIndent(distances) : distances); + } + t11 = t9.unused_fields; + t12 = t11._map$_map; + t13 = A._instanceType(t11); + json_map0.addAll$1(0, new A.CopyOnWriteMap(t11._mapFactory, t12, t13._eval$1("@<1>")._bind$1(t13._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + t11 = t9.__has_default_major_ticks; + if (!(t11 == null ? t9.__has_default_major_ticks = A.Helix.prototype.get$has_default_major_ticks.call(t9) : t11)) { + t9 = t9.major_ticks; + ticks = new A.CopyOnWriteList(true, t9._list, A._instanceType(t9)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, "major_ticks", suppress_indent && !use_no_indent ? new A.NoIndent(ticks) : ticks); + } + json_map0.$indexSet(0, "idx", t10); + t4.$indexSet(0, t10, suppress_indent && use_no_indent ? new A.NoIndent(json_map0) : json_map0); + } + t6 = t4.get$values(t4); + t7 = A._instanceType(t6); + _this._remove_helix_idxs_if_default$1(A.List_List$from(A.MappedIterable_MappedIterable(t6, t7._eval$1("@(Iterable.E)")._as(A.util__unwrap_from_noindent$closure()), t7._eval$1("Iterable.E"), t2), true, type$.Map_String_dynamic)); + for (t5 = t5.get$values(t5), t6 = A._instanceType(t5), t6 = new A.MappedIterator(J.get$iterator$ax(t5.__internal$_iterable), t5._f, t6._eval$1("@<1>")._bind$1(t6._rest[1])._eval$1("MappedIterator<1,2>")), t5 = _this.strands; t6.moveNext$0();) { + t7 = t6.__internal$_current; + helix_json = t4.$index(0, t7.idx); + if (helix_json instanceof A.NoIndent) + helix_json = helix_json.value; + default_max_end = A.calculate_default_max_offset(t5); + t8 = t7.max_offset; + if (t8 !== default_max_end) + J.$indexSet$ax(helix_json, "max_offset", t8); + if (_this.has_nondefault_min_offset$1(t7)) + J.$indexSet$ax(helix_json, "min_offset", t7.min_offset); + } + t4 = t4.get$values(t4); + json_map.$indexSet(0, "helices", A.List_List$of(t4, true, A._instanceType(t4)._eval$1("Iterable.E"))); + if (_this.has_default_groups$0()) { + helices_view_order = _this.default_group$0().helices_view_order; + if (!A.is_increasing(helices_view_order, t3)) { + order = new A.CopyOnWriteList(true, helices_view_order._list, A._instanceType(helices_view_order)._eval$1("CopyOnWriteList<1>")); + json_map.$indexSet(0, _s18_, suppress_indent ? new A.NoIndent(order) : order); + } + } + for (t3 = [B.ModificationType_five_prime, B.ModificationType_three_prime, B.ModificationType_internal], _i = 0; _i < 3; ++_i) { + mod_type = t3[_i]; + t4 = _this._all_modifications$1(mod_type)._set; + if (t4.get$length(t4) > 0) { + mods_map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = t4.get$iterator(t4); t4.moveNext$0();) { + t6 = t4.get$current(t4); + if (!mods_map.containsKey$1(0, t6.get$vendor_code())) + mods_map.$indexSet(0, t6.get$vendor_code(), t6.to_json_serializable$1$suppress_indent(suppress_indent)); + } + json_map.$indexSet(0, mod_type.get$key(mod_type), mods_map); + } + } + t1 = A._setArrayType([], type$.JSArray_Map_String_dynamic); + for (t2 = t5._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.push(t2.__interceptors$_current.to_json_serializable$1$suppress_indent(suppress_indent)); + json_map.$indexSet(0, "strands", t1); + return json_map; }, - get$helices: function() { - var t1 = this.get$_design0$_$this(), - t2 = t1._helices; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); - t1.set$_helices(t2); - t1 = t2; - } else - t1 = t2; - return t1; + to_json_serializable$0() { + return this.to_json_serializable$1$suppress_indent(false); }, - get$strands: function() { - var t1 = this.get$_design0$_$this(), - t2 = t1._strands; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands(t2); - t1 = t2; + _all_modifications$1(mod_type) { + var t1, t2, t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, _this = this; + if (mod_type == null) { + t1 = type$.dynamic; + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = _this.strands._list, t4 = A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>"), t5 = new J.ArrayIterator(t3, t3.length, t4); t5.moveNext$0();) { + t6 = t5.__interceptors$_current.modification_5p; + if (t6 != null) + t2.add$1(0, t6); + } + t5 = type$.Modification; + mods_5p = A.BuiltSet_BuiltSet$from(t2, t5); + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t6 = new J.ArrayIterator(t3, t3.length, t4); t6.moveNext$0();) { + t7 = t6.__interceptors$_current.modification_3p; + if (t7 != null) + t2.add$1(0, t7); + } + mods_3p = A.BuiltSet_BuiltSet$from(t2, t5); + t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = new J.ArrayIterator(t3, t3.length, t4); t2.moveNext$0();) { + t3 = t2.__interceptors$_current.modifications_int; + if (t3._values == null) { + t4 = t3._map$_map; + t3.set$_values(t4.get$values(t4)); + } + t3 = t3._values; + t4 = A._instanceType(t3); + t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t4.moveNext$0();) + t1.add$1(0, t4.__internal$_current); + } + mods_int = A.BuiltSet_BuiltSet$from(t1, t5); + return mods_5p.union$1(mods_3p).union$1(mods_int); + } else if (mod_type === B.ModificationType_five_prime) { + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = _this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current.modification_5p; + if (t3 != null) + t1.add$1(0, t3); + } + return A.BuiltSet_BuiltSet$from(t1, type$.Modification); + } else if (mod_type === B.ModificationType_three_prime) { + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = _this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current.modification_3p; + if (t3 != null) + t1.add$1(0, t3); + } + return A.BuiltSet_BuiltSet$from(t1, type$.Modification); + } else if (mod_type === B.ModificationType_internal) { + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = _this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current.modifications_int; + if (t3._values == null) { + t4 = t3._map$_map; + t3.set$_values(t4.get$values(t4)); + } + t3 = t3._values; + t4 = A._instanceType(t3); + t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t4.moveNext$0();) + t1.add$1(0, t4.__internal$_current); + } + return A.BuiltSet_BuiltSet$from(t1, type$.Modification); } else - t1 = t2; - return t1; + throw A.wrapException(A.AssertionError$("unrecognized ModificationType: " + mod_type.toString$0(0))); }, - get$groups: function() { - var t1 = this.get$_design0$_$this(), - t2 = t1._groups; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); - t1.set$_groups(t2); - t1 = t2; - } else - t1 = t2; - return t1; + has_nondefault_min_offset$1(helix) { + var starts = J.map$1$1$ax(this.domains_on_helix$1(helix.idx), new A.Design_has_nondefault_min_offset_closure(), type$.int), + min_start = starts.get$length(starts) === 0 ? null : A.IterableIntegerExtension_get_min(starts), + t1 = min_start == null || min_start >= 0, + t2 = helix.min_offset; + if (t1) + return t2 !== 0; + else + return t2 !== min_start; }, - get$unused_fields: function() { - var t1 = this.get$_design0$_$this(), - t2 = t1._unused_fields; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_unused_fields(t2); - t1 = t2; - } else - t1 = t2; - return t1; + _check_helix_offsets$0() { + var t1, t2, t3, t4; + for (t1 = this.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + t3 = t1.min_offset; + t4 = t1.max_offset; + if (t3 >= t4) + throw A.wrapException(A.IllegalDesignError$("for helix " + t1.idx + ", helix.min_offset = " + t3 + " must be strictly less than helix.max_offset = " + t4)); + } }, - get$_design0$_$this: function() { - var t1, t2, _this = this, - $$v = _this._design0$_$v; - if ($$v != null) { - _this._version = $$v.version; - t1 = $$v.geometry; - t1.toString; - t2 = new N.GeometryBuilder(); - t2._geometry$_$v = t1; - _this._geometry = t2; - t1 = $$v.helices; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.strands; - t2.toString; - _this.set$_strands(D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); - t2 = $$v.groups; - t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltMap<1,2>")._as(t2); - _this.set$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); - t1 = $$v.unused_fields; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._design0$_$v = null; + _check_strands_reference_helices_legally$0() { + var t1, t2; + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + this._check_strand_references_legal_helices$1(t2); + this._check_strand_has_legal_offsets_in_helices$1(t2); } - return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, _s6_ = "Design", _$result = null; - try { - _$result0 = _this._design0$_$v; - if (_$result0 == null) { - t1 = _this.get$_design0$_$this()._version; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "version")); - t2 = _this.get$geometry(_this).build$0(); - t3 = _this.get$helices().build$0(); - t4 = _this.get$strands().build$0(); - t5 = _this.get$groups().build$0(); - t6 = _this.get$unused_fields().build$0(); - _$result0 = new N._$Design(t1, t2, t3, t4, t5, t6); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "geometry")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "helices")); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "strands")); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "groups")); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "geometry"; - _this.get$geometry(_this).build$0(); - _$failedField = "helices"; - _this.get$helices().build$0(); - _$failedField = "strands"; - _this.get$strands().build$0(); - _$failedField = "groups"; - _this.get$groups().build$0(); - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + _check_strand_references_legal_helices$1(strand) { + var t1, t2, t3, t4, t5; + for (t1 = strand.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = this.helices; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.helix; + t5 = t2._map$_map; + if (!t5.containsKey$1(0, t4)) { + t1 = t3.toString$0(0); + if (t2._keys == null) + t2.set$_keys(new A.LinkedHashMapKeyIterable(t5, A._instanceType(t5)._eval$1("LinkedHashMapKeyIterable<1>"))); + throw A.wrapException(A.StrandError$(strand, "domain " + t1 + " refers to nonexistent Helix index " + t4 + "; here is the list of valid helices: " + t2._keys.join$1(0, ", "))); } - throw exception; } - t1 = type$.legacy_Design._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._design0$_$v = t1; - return _$result; - }, - set$_helices: function(_helices) { - this._helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); - }, - set$_strands: function(_strands) { - this._strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); - }, - set$_groups: function(_groups) { - this._groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); - }, - set$_unused_fields: function(_unused_fields) { - this._unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); - } - }; - N._Design_Object_UnusedFields.prototype = {}; - V.DesignSideRotationParams.prototype = {}; - V.DesignSideRotationParams_DesignSideRotationParams_closure.prototype = { - call$1: function(b) { - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx = this.helix_idx; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = this.offset; - return b; - }, - $signature: 358 - }; - V.DesignSideRotationData.prototype = {}; - V.DesignSideRotationData_DesignSideRotationData_closure.prototype = { - call$1: function(b) { - var _this = this, - t1 = b.get$helix(); - t1._helix$_$v = _this.helix; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = _this.offset; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = _this.color_forward; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = _this.color_reverse; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = _this.roll_forward; - b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = _this.minor_groove_angle; - return b; }, - $signature: 359 - }; - V._$DesignSideRotationParamsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DesignSideRotationParams._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + _check_strand_has_legal_offsets_in_helices$1(strand) { + var t1, t2, t3, t4, t5, t6, t7; + for (t1 = strand.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = this.helices; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.helix; + t5 = t2._map$_map.$index(0, t4); + t5.toString; + t6 = t3.start; + t7 = t5.min_offset; + if (t6 < t7) + throw A.wrapException(A.StrandError$(strand, "domain " + t3.toString$0(0) + " has start offset " + t6 + ", beyond the beginning of Helix " + t4 + " that has min_offset = " + t7)); + t6 = t3.end; + t5 = t5.max_offset; + if (t6 > t5) + throw A.wrapException(A.StrandError$(strand, "domain " + t3.toString$0(0) + " has end offset " + t6 + ", beyond the end of Helix " + t4 + " that has max_offset = " + t5)); + } }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + _check_loopouts_not_consecutive_or_singletons_or_zero_length$0() { + var t1, t2, t3; + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (t2.substrands._list.length === 1) { + t3 = t2.__first_domain; + if (t3 == null) + t3 = t2.__first_domain = A.Strand.prototype.get$first_domain.call(t2); + t3.toString; + } + t2.check_two_consecutive_loopouts$0(); + t2.check_loopouts_length$0(); + } }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new V.DesignSideRotationParamsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._design_side_rotation_data$_$v; - if ($$v != null) { - result._design_side_rotation_data$_helix_idx = $$v.helix_idx; - result._design_side_rotation_data$_offset = $$v.offset; - result._design_side_rotation_data$_$v = null; + check_strands_overlap_legally$0() { + var t1, t2, t3, t4, t5, domains, t6, offsets_data, t7, current_domains, _i, data, offset, domain0, domain1, domain2, + err_msg = new A.Design_check_strands_overlap_legally_err_msg(); + for (t1 = this.helices, t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = type$.JSArray_Domain, t3 = type$.Tuple3_int_bool_Domain, t4 = type$.JSArray_Tuple3_int_bool_Domain; t1.moveNext$0();) { + t5 = t1.__js_helper$_current; + domains = this.domains_on_helix$1(t5); + t6 = J.getInterceptor$asx(domains); + if (t6.get$length(domains) === 0) + continue; + offsets_data = A._setArrayType([], t4); + for (t6 = t6.get$iterator(domains); t6.moveNext$0();) { + t7 = t6.get$current(t6); + B.JSArray_methods.add$1(offsets_data, new A.Tuple3(t7.start, true, t7, t3)); + B.JSArray_methods.add$1(offsets_data, new A.Tuple3(t7.end, false, t7, t3)); + } + t6 = t4._eval$1("int(1,1)?")._as(new A.Design_check_strands_overlap_legally_closure()); + if (!!offsets_data.immutable$list) + A.throwExpression(A.UnsupportedError$("sort")); + t7 = offsets_data.length - 1; + if (t7 - 0 <= 32) + A.Sort__insertionSort(offsets_data, 0, t7, t6, t3); + else + A.Sort__dualPivotQuicksort(offsets_data, 0, t7, t6, t3); + current_domains = A._setArrayType([], t2); + for (t6 = offsets_data.length, _i = 0; _i < offsets_data.length; offsets_data.length === t6 || (0, A.throwConcurrentModificationError)(offsets_data), ++_i) { + data = offsets_data[_i]; + offset = data.item1; + if (A.boolConversionCheck(data.item2)) { + if (current_domains.length >= 2) { + t7 = current_domains[1]; + if (typeof offset !== "number") + return offset.$ge(); + if (offset >= t7.end) + B.JSArray_methods.removeAt$1(current_domains, 1); } - result._design_side_rotation_data$_helix_idx = t1; - break; - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._design_side_rotation_data$_$v; - if ($$v != null) { - result._design_side_rotation_data$_helix_idx = $$v.helix_idx; - result._design_side_rotation_data$_offset = $$v.offset; - result._design_side_rotation_data$_$v = null; + if (current_domains.length >= 1) { + t7 = current_domains[0]; + if (typeof offset !== "number") + return offset.$ge(); + if (offset >= t7.end) + B.JSArray_methods.removeAt$1(current_domains, 0); } - result._design_side_rotation_data$_offset = t1; - break; + B.JSArray_methods.add$1(current_domains, data.item3); + t7 = current_domains.length; + if (t7 < 2) + continue; + domain0 = current_domains[0]; + domain1 = current_domains[1]; + if (t7 > 2) { + domain2 = current_domains[2]; + t1 = domain0.forward; + t2 = domain1.forward; + if (t1 === t2) + throw A.wrapException(A.IllegalDesignError$(err_msg.call$3(domain0, domain1, t5))); + t3 = domain2.forward; + if (t1 === t3) + throw A.wrapException(A.IllegalDesignError$(err_msg.call$3(domain0, domain2, t5))); + if (t2 === t3) + throw A.wrapException(A.IllegalDesignError$(err_msg.call$3(domain1, domain2, t5))); + throw A.wrapException(A.AssertionError$("since current_domains = " + A.S(current_domains) + " has at least three domains, I expected to find a pair of illegally overlapping domains")); + } else if (domain0.forward === domain1.forward) + throw A.wrapException(A.IllegalDesignError$(err_msg.call$3(domain0, domain1, t5))); + } } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_gn0; - }, - get$wireName: function() { - return "DesignSideRotationParams"; - } - }; - V._$DesignSideRotationDataSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DesignSideRotationData._as(object); - return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, C.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, C.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME)], type$.JSArray_legacy_Object); + get$helix_idxs_in_group() { + var t3, t4, t5, t6, t7, t8, t9, + t1 = type$.String, + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_int); + for (t3 = this.groups, t3 = t3.get$keys(t3), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = type$.JSArray_int; t3.moveNext$0();) + t2.$indexSet(0, t3.__js_helper$_current, A._setArrayType([], t4)); + for (t3 = this.helices, t4 = t3.get$keys(t3), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t4)._precomputed1), t3 = t3._map$_map; t4.moveNext$0();) { + t5 = t4.__js_helper$_current; + t6 = t3.$index(0, t5); + t6.toString; + t6 = t2.$index(0, t6.group); + t6.toString; + B.JSArray_methods.add$1(t6, t5); + } + t3 = type$.BuiltList_int; + t4 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t2.$ti._precomputed1), t6 = type$.int, t7 = type$._BuiltList_int; t5.moveNext$0();) { + t8 = t5.__js_helper$_current; + t9 = t2.$index(0, t8); + t9.toString; + t9 = new A._BuiltList(A.List_List$from(t9, false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + _check_grid_positions_disjoint$0() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, i, idx1, gp1, j, j0, idx2, _this = this; + for (t1 = _this.groups, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = _this.helices, t4 = type$.int, t5 = type$.GridPosition; t2.moveNext$0();) { + t6 = t2.__js_helper$_current; + t7 = t1._map$_map.$index(0, t6); + t7.toString; + if (t7.grid === B.Grid_none) + continue; + t7 = _this.__helix_idxs_in_group; + if (t7 == null) { + t7 = A.Design.prototype.get$helix_idxs_in_group.call(_this); + _this.set$__helix_idxs_in_group(t7); + } + t7 = t7._map$_map.$index(0, t6); + t7.toString; + t8 = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5); + for (t7 = t7._list, t9 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t9.moveNext$0();) { + t10 = t9.__interceptors$_current; + t11 = t3._map$_map.$index(0, t10).grid_position; + t11.toString; + t8.$indexSet(0, t10, t11); + } + for (i = 0; i < t8._length - 1; i = j) { + if (!(i < t7.length)) + return A.ioore(t7, i); + idx1 = t7[i]; + gp1 = t8.$index(0, idx1); + for (j = i + 1, t9 = J.getInterceptor$(gp1), j0 = j; j0 < t7.length; ++j0) { + idx2 = t7[j0]; + if (t9.$eq(gp1, t8.$index(0, idx2))) + throw A.wrapException(A.IllegalDesignError$("cannot use the same grid_position twice in the same group, but helices " + A.S(idx1) + " and " + A.S(idx2) + " both have grid_position " + A.S(gp1) + " and are both in group " + A.S(t6))); + } + } + } }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new V.DesignSideRotationDataBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.legacy_Helix; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix": - t3 = result.get$_design_side_rotation_data$_$this(); - t4 = t3._design_side_rotation_data$_helix; - if (t4 == null) { - t4 = new O.HelixBuilder(); - t4.get$_helix$_$this()._group = "default_group"; - t4.get$_helix$_$this()._min_offset = 0; - t4.get$_helix$_$this()._roll = 0; - t3._design_side_rotation_data$_helix = t4; - t3 = t4; - } else - t3 = t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._helix$_$v = t4; - break; - case "offset": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = t3; - break; - case "color_forward": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = t3; - break; - case "color_reverse": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = t3; - break; - case "roll_forward": - t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = t3; - break; - case "minor_groove_angle": - t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = t3; - break; + find_unpaired_insertion_deletions_on_domain$2(domain, include_other_domain) { + var offset, t1, t2, t3, t4, other_dom, t5, t6, length_insertion_substrand, + unpaireds = A._setArrayType([], type$.JSArray_Address); + for (offset = domain.start, t1 = domain.end, t2 = domain.deletions, t3 = domain.helix, t4 = domain.forward; offset < t1; ++offset) { + other_dom = this.other_domain_at_offset$2(domain, offset); + if (other_dom == null) + continue; + t5 = t2._list; + if (B.JSArray_methods.contains$1(t5, offset) && !B.JSArray_methods.contains$1(other_dom.deletions._list, offset)) { + B.JSArray_methods.add$1(unpaireds, new A._$Address(t3, offset, t4)); + continue; + } else if (include_other_domain && B.JSArray_methods.contains$1(other_dom.deletions._list, offset) && !B.JSArray_methods.contains$1(t5, offset)) { + t5 = other_dom.helix; + t6 = other_dom.forward; + B.JSArray_methods.add$1(unpaireds, new A._$Address(t5, offset, t6)); + continue; + } + t5 = domain.__insertion_offset_to_length; + if (t5 == null) { + t5 = A.Domain.prototype.get$insertion_offset_to_length.call(domain); + domain.set$__insertion_offset_to_length(t5); + } + length_insertion_substrand = t5._map$_map.$index(0, offset); + t5 = other_dom.__insertion_offset_to_length; + if (t5 == null) { + t5 = A.Domain.prototype.get$insertion_offset_to_length.call(other_dom); + other_dom.set$__insertion_offset_to_length(t5); + } + if (length_insertion_substrand != t5._map$_map.$index(0, offset)) { + t5 = other_dom.helix; + t6 = other_dom.forward; + B.JSArray_methods.add$1(unpaireds, new A._$Address(t5, offset, t6)); + continue; } } - return result.build$0(); + return unpaireds; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + _find_mismatches_on_domain$1(domain) { + var offset, t1, t2, t3, t4, t5, t6, other_domain, t7, t8, dna_idx, t9, length_insertion_domain, idx_other, t10, idx, t11, within_insertion, t12, _s5_ = "_list", + mismatches = A.ListBuilder_ListBuilder(B.List_empty, type$.Mismatch); + for (offset = domain.start, t1 = domain.end, t2 = mismatches.$ti, t3 = t2._precomputed1, t4 = domain.forward, t5 = !t3._is(null), t2 = t2._eval$1("List<1>"), t6 = domain.deletions; offset < t1; ++offset) { + if (B.JSArray_methods.contains$1(t6._list, offset)) + continue; + other_domain = this.other_domain_at_offset$2(domain, offset); + if (other_domain == null || other_domain.dna_sequence == null) + continue; + t7 = domain.dna_sequence_in$2(offset, offset); + t7.toString; + t8 = other_domain.dna_sequence_in$2(offset, offset); + t8.toString; + if (B.JSArray_methods.contains$1(other_domain.deletions._list, offset)) { + dna_idx = domain.substrand_offset_to_substrand_dna_idx$2(offset, t4); + t8 = t3._as(new A.Mismatch(dna_idx, offset, t7.length === 1 ? -1 : 0)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t7 = mismatches.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + mismatches.set$__ListBuilder__list_A(t2._as(A.List_List$from(t7, true, t3))); + mismatches.set$_listOwner(null); + } + t7 = mismatches.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t7, t8); + continue; + } + t9 = domain.__insertion_offset_to_length; + if (t9 == null) { + t9 = A.Domain.prototype.get$insertion_offset_to_length.call(domain); + domain.set$__insertion_offset_to_length(t9); + } + length_insertion_domain = t9._map$_map.$index(0, offset); + t9 = other_domain.__insertion_offset_to_length; + if (t9 == null) { + t9 = A.Domain.prototype.get$insertion_offset_to_length.call(other_domain); + other_domain.set$__insertion_offset_to_length(t9); + } + if (length_insertion_domain != t9._map$_map.$index(0, offset)) { + dna_idx = domain.substrand_offset_to_substrand_dna_idx$2(offset, t4); + t8 = t3._as(new A.Mismatch(dna_idx, offset, t7.length === 1 ? -1 : 0)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t7 = mismatches.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + mismatches.set$__ListBuilder__list_A(t2._as(A.List_List$from(t7, true, t3))); + mismatches.set$_listOwner(null); + } + t7 = mismatches.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t7, t8); + continue; + } + for (t9 = t7.length, idx_other = t9 - 1, t10 = t9 === 1, idx = 0; idx < t9; ++idx, --idx_other) + if (B.JSString_methods._codeUnitAt$1(t7, idx) !== A._wc(B.JSString_methods.codeUnitAt$1(t8, idx_other))) { + t11 = domain.substrand_offset_to_substrand_dna_idx$2(offset, t4); + within_insertion = t10 ? -1 : idx; + t11 = t3._as(new A.Mismatch(t11 + idx, offset, within_insertion)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t12 = mismatches.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI(_s5_); + mismatches.set$__ListBuilder__list_A(t2._as(A.List_List$from(t12, true, t3))); + mismatches.set$_listOwner(null); + } + t12 = mismatches.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t12, t11); + } + } + return mismatches; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_vEs; + other_domain_at_offset$2(domain, offset) { + var t1, _i, other_domain, + other_domains = this._other_domains_overlapping$1(domain); + for (t1 = other_domains.length, _i = 0; _i < t1; ++_i) { + other_domain = other_domains[_i]; + if (other_domain.start <= offset && offset < other_domain.end) + return other_domain; + } + return null; }, - get$wireName: function() { - return "DesignSideRotationData"; - } - }; - V._$DesignSideRotationParams.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof V.DesignSideRotationParams && this.helix_idx === other.helix_idx && this.offset === other.offset; + domains_on_helix$2$forward(helix_idx, $forward) { + var domains, + t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx), + t2 = t1._list; + t1 = A.instanceType(t1); + domains = new A.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + if ($forward != null) { + t1 = B.JSArray_methods.where$1(t2, t1._eval$1("bool(1)")._as(new A.Design_domains_on_helix_closure($forward))); + domains = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + } + return domains; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._design_side_rotation_data$__hashCode; - return t1 == null ? _this._design_side_rotation_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.offset))) : t1; + domains_on_helix$1(helix_idx) { + return this.domains_on_helix$2$forward(helix_idx, null); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationParams"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "offset", this.offset); - return t2.toString$0(t1); + domains_on_helix_overlapping$2$forward(domain, $forward) { + var domains = this.domains_on_helix$2$forward(domain.helix, $forward); + J.removeWhere$1$ax(domains, new A.Design_domains_on_helix_overlapping_closure(domain)); + return domains; }, - get$offset: function(receiver) { - return this.offset; - } - }; - V.DesignSideRotationParamsBuilder.prototype = { - get$offset: function(_) { - return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + domains_on_helix_overlapping$1(domain) { + return this.domains_on_helix_overlapping$2$forward(domain, null); }, - get$_design_side_rotation_data$_$this: function() { - var _this = this, - $$v = _this._design_side_rotation_data$_$v; - if ($$v != null) { - _this._design_side_rotation_data$_helix_idx = $$v.helix_idx; - _this._design_side_rotation_data$_offset = $$v.offset; - _this._design_side_rotation_data$_$v = null; + domains_on_helices$1(helix_idxs) { + var list_builder, t1; + type$.Iterable_int._as(helix_idxs); + list_builder = A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); + for (t1 = helix_idxs._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + list_builder.addAll$1(0, this.domains_on_helix$1(t1.get$current(t1))); + return list_builder.build$0(); + }, + get$domain_name_mismatches() { + var t3, t4, t5, forward_domains, t6, _i, forward_domain, t7, t8, t9, + _s18_ = "DomainNameMismatch", + t1 = type$.int, + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_DomainNameMismatch); + for (t3 = this.helices, t4 = t3.get$keys(t3), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, A._instanceType(t4)._precomputed1), t5 = type$.JSArray_DomainNameMismatch; t4.moveNext$0();) + t2.$indexSet(0, t4.__js_helper$_current, A._setArrayType([], t5)); + for (t3 = t3.get$keys(t3), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1); t3.moveNext$0();) { + t4 = t3.__js_helper$_current; + forward_domains = J.toList$0$ax(this.domains_on_helix$2$forward(t4, true)); + t5 = A._arrayInstanceType(forward_domains)._eval$1("bool(1)")._as(new A.Design_domain_name_mismatches_closure()); + if (!!forward_domains.fixed$length) + A.throwExpression(A.UnsupportedError$("removeWhere")); + B.JSArray_methods._removeWhere$2(forward_domains, t5, true); + for (t5 = forward_domains.length, t6 = t4 == null, _i = 0; _i < forward_domains.length; forward_domains.length === t5 || (0, A.throwConcurrentModificationError)(forward_domains), ++_i) { + forward_domain = forward_domains[_i]; + for (t7 = J.get$iterator$ax(this.domains_on_helix_overlapping$2$forward(forward_domain, false)); t7.moveNext$0();) { + t8 = t7.get$current(t7); + if (t8.name != null) + if (A.Design_domains_mismatch(forward_domain, t8)) { + if (t6) + A.throwExpression(A.BuiltValueNullFieldError$(_s18_, "helix_idx")); + if (forward_domain == null) + A.throwExpression(A.BuiltValueNullFieldError$(_s18_, "forward_domain")); + t9 = t2.$index(0, t4); + t9.toString; + B.JSArray_methods.add$1(t9, new A._$DomainNameMismatch(t4, forward_domain, t8)); + } + } + } } - return _this; + t3 = type$.BuiltList_DomainNameMismatch; + t4 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t2.$ti._precomputed1), t6 = type$.DomainNameMismatch, t7 = type$._BuiltList_DomainNameMismatch; t5.moveNext$0();) { + t8 = t5.__js_helper$_current; + t9 = t2.$index(0, t8); + t9.toString; + t9 = new A._BuiltList(A.List_List$from(t9, false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); }, - build$0: function() { - var t1, t2, _this = this, - _s24_ = "DesignSideRotationParams", - _$result = _this._design_side_rotation_data$_$v; - if (_$result == null) { - t1 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "helix_idx")); - t2 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "offset")); - _$result = new V._$DesignSideRotationParams(t1, t2); + get$all_domains() { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_Domain); + for (t2 = this.strands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + t1.push(t3.__interceptors$_current); } - return _this._design_side_rotation_data$_$v = _$result; - } - }; - V._$DesignSideRotationData.prototype = { - $eq: function(_, other) { - var t1, t2, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (other instanceof V.DesignSideRotationData) - if (J.$eq$(_this.helix, other.helix)) - if (_this.offset === other.offset) { - t1 = _this.color_forward; - t2 = other.color_forward; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - if (t1 === t2) { - t1 = _this.color_reverse; - t2 = other.color_reverse; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle; - } else - t1 = false; - } else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + return A._BuiltList$of(t1, type$.Domain); }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._design_side_rotation_data$__hashCode; - if (t1 == null) { - t1 = _this.color_forward; - t2 = _this.color_reverse; - t2 = _this._design_side_rotation_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSNumber_methods.get$hashCode(_this.roll_forward)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle))); - t1 = t2; + domains_on_helix_at$2(helix_idx, offset) { + var t2, t3, t4, + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx)._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.start; + if (typeof offset !== "number") + return A.iae(offset); + if (t4 <= offset && offset < t3.end) + t1.add$1(0, t3); } - return t1; + return A.SetBuilder_SetBuilder(t1, type$.Domain).build$0(); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationData"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "offset", _this.offset); - t2.add$2(t1, "color_forward", _this.color_forward); - t2.add$2(t1, "color_reverse", _this.color_reverse); - t2.add$2(t1, "roll_forward", _this.roll_forward); - t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); - return t2.toString$0(t1); + domains_on_helix_at_offset_internal$2(helix_idx, offset) { + var t2, t3, t4, + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx)._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.start; + if (typeof offset !== "number") + return A.iae(offset); + if (t4 <= offset && offset < t3.end && offset !== t4 && offset !== t3.end - 1) + t1.add$1(0, t3); + } + return A.SetBuilder_SetBuilder(t1, type$.Domain).build$0(); }, - get$offset: function(receiver) { - return this.offset; - } - }; - V.DesignSideRotationDataBuilder.prototype = { - get$helix: function() { - var t1 = this.get$_design_side_rotation_data$_$this(), - t2 = t1._design_side_rotation_data$_helix; - if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._design_side_rotation_data$_helix = t2; - t1 = t2; - } else - t1 = t2; - return t1; + domain_on_helix_at$2(address, strand_creation) { + var t1, t2, t3, t4, t5; + for (t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, address.helix_idx)._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = address.offset, t3 = address.forward; t1.moveNext$0();) { + t4 = t1.__interceptors$_current; + t5 = t4.start; + if (typeof t2 !== "number") + return A.iae(t2); + if (t5 <= t2 && t2 < t4.end && t4.forward === t3) + return t4; + } + return null; }, - get$offset: function(_) { - return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + domain_on_helix_at$1(address) { + return this.domain_on_helix_at$2(address, null); }, - get$_design_side_rotation_data$_$this: function() { - var t1, t2, _this = this, - $$v = _this._design_side_rotation_data$_$v; - if ($$v != null) { - t1 = $$v.helix; - t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._design_side_rotation_data$_helix = t2; - _this._design_side_rotation_data$_offset = $$v.offset; - _this._design_side_rotation_data$_color_forward = $$v.color_forward; - _this._design_side_rotation_data$_color_reverse = $$v.color_reverse; - _this._design_side_rotation_data$_roll_forward = $$v.roll_forward; - _this._design_side_rotation_data$_minor_groove_angle = $$v.minor_groove_angle; - _this._design_side_rotation_data$_$v = null; + _other_domains_overlapping$1(domain) { + var t3, t4, + ret = A._setArrayType([], type$.JSArray_Domain), + t1 = domain.helix, + t2 = this.helices._map$_map.$index(0, t1); + t2.toString; + for (t2 = this.get$helix_idx_to_domains()._map$_map.$index(0, t2.idx)._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = domain.forward; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (t1 === t4.helix && t3 === !t4.forward && domain.compute_overlap$1(t4) != null) + B.JSArray_methods.add$1(ret, t4); } - return _this; + return ret; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, - _s22_ = "DesignSideRotationData", - _$result = null; - try { - _$result0 = _this._design_side_rotation_data$_$v; - if (_$result0 == null) { - t1 = _this.get$helix().build$0(); - t2 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "offset")); - t3 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "color_forward")); - t4 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "color_reverse")); - t5 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "roll_forward")); - t6 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "minor_groove_angle")); - _$result0 = new V._$DesignSideRotationData(t1, t2, t3, t4, t5, t6); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "helix")); + helix_num_bases_between$3(helix, start, end) { + var t0, substrands_intersecting, t1, t2, deletions_intersecting, insertions_intersecting, _i, ss, t3, t4, total_insertion_length; + if (start > end) { + t0 = end; + end = start; + start = t0; + } + substrands_intersecting = A._setArrayType([], type$.JSArray_Domain); + for (t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix.idx)._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (start < t2.end && t2.start <= end) + B.JSArray_methods.add$1(substrands_intersecting, t2); + } + deletions_intersecting = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + insertions_intersecting = A.LinkedHashSet_LinkedHashSet$_empty(type$.Insertion); + for (t1 = substrands_intersecting.length, _i = 0; _i < substrands_intersecting.length; substrands_intersecting.length === t1 || (0, A.throwConcurrentModificationError)(substrands_intersecting), ++_i) { + ss = substrands_intersecting[_i]; + for (t2 = ss.deletions._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (typeof t3 !== "number") + return A.iae(t3); + if (start <= t3 && t3 <= end) + deletions_intersecting.add$1(0, t3); } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "helix"; - _this.get$helix().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + for (t2 = ss.insertions._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3.offset; + if (start <= t4 && t4 <= end) + insertions_intersecting.add$1(0, t3); } - throw exception; } - t1 = type$.legacy_DesignSideRotationData._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._design_side_rotation_data$_$v = t1; - return _$result; - } - }; - V._DesignSideRotationData_Object_BuiltJsonSerializable.prototype = {}; - V._DesignSideRotationParams_Object_BuiltJsonSerializable.prototype = {}; - E.DialogType.prototype = {}; - E.Dialog.prototype = {}; - E.Dialog_Dialog_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_dialog$_$this()._title = _this.title; - b.get$_dialog$_$this()._dialog$_type = _this.type; - t1 = type$.legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem._as(_this.process_saved_response); - b.get$_dialog$_$this().set$_process_saved_response(t1); - b.get$_dialog$_$this()._use_saved_response = _this.use_saved_response; - b.get$items(b).replace$1(0, _this.items); - b.get$disable(b).replace$1(0, _this.disable); - b.get$mutually_exclusive_checkbox_groups().replace$1(0, _this.mutually_exclusive_checkbox_groups_half_built); - b.get$disable_when_any_radio_button_selected().replace$1(0, _this.disable_when_any_radio_button_selected_half_built); - b.get$disable_when_any_checkboxes_on().replace$1(0, _this.disable_when_any_checkboxes_on_half_built); - b.get$disable_when_any_checkboxes_off().replace$1(0, _this.disable_when_any_checkboxes_off_half_built); - return b; - }, - $signature: 127 - }; - E.DialogInteger.prototype = {$isDialogItem: 1}; - E.DialogInteger_DialogInteger_closure.prototype = { - call$1: function(b) { - b.get$_dialog$_$this()._dialog$_label = this.label; - b.get$_dialog$_$this()._dialog$_value = this.value; - b.get$_dialog$_$this()._tooltip = this.tooltip; - return b; - }, - $signature: 361 - }; - E.DialogFloat.prototype = {$isDialogItem: 1}; - E.DialogFloat_DialogFloat_closure.prototype = { - call$1: function(b) { - b.get$_dialog$_$this()._dialog$_label = this.label; - b.get$_dialog$_$this()._dialog$_value = this.value; - b.get$_dialog$_$this()._tooltip = this.tooltip; - return b; - }, - $signature: 362 - }; - E.DialogText.prototype = {$isDialogItem: 1}; - E.DialogText_DialogText_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_dialog$_$this()._dialog$_label = _this.label; - t1 = _this._box_0.size; - b.get$_dialog$_$this()._size = t1; - b.get$_dialog$_$this()._dialog$_value = _this.value; - b.get$_dialog$_$this()._tooltip = _this.tooltip; - return b; - }, - $signature: 363 - }; - E.DialogTextArea.prototype = {$isDialogItem: 1}; - E.DialogTextArea_DialogTextArea_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_dialog$_$this()._dialog$_label = _this.label; - b.get$_dialog$_$this()._cols = _this.cols; - b.get$_dialog$_$this()._rows = _this.rows; - b.get$_dialog$_$this()._dialog$_value = _this.value; - b.get$_dialog$_$this()._tooltip = _this.tooltip; - return b; - }, - $signature: 364 - }; - E.DialogCheckbox.prototype = {$isDialogItem: 1}; - E.DialogCheckbox_DialogCheckbox_closure.prototype = { - call$1: function(b) { - b.get$_dialog$_$this()._dialog$_label = this.label; - b.get$_dialog$_$this()._dialog$_value = this.value; - b.get$_dialog$_$this()._tooltip = this.tooltip; - return b; - }, - $signature: 365 - }; - E.DialogRadio.prototype = { - get$value: function(_) { - return J.$index$asx(this.options._list, this.selected_idx); - }, - $isDialogItem: 1 - }; - E.DialogRadio_DialogRadio_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$options(b).replace$1(0, _this.options_list); - b.get$_dialog$_$this()._dialog$_selected_idx = _this.selected_idx; - b.get$_dialog$_$this()._radio = _this.radio; - b.get$_dialog$_$this()._dialog$_label = _this.label; - b.get$_dialog$_$this()._tooltip = _this.tooltip; - b.get$option_tooltips().replace$1(0, _this.option_tooltips_list); - return b; - }, - $signature: 366 - }; - E.DialogLink.prototype = {$isDialogItem: 1}; - E.DialogLink_DialogLink_closure.prototype = { - call$1: function(b) { - b.get$_dialog$_$this()._dialog$_label = this.label; - b.get$_dialog$_$this()._link = this.link; - b.get$_dialog$_$this()._dialog$_value = ""; - b.get$_dialog$_$this()._tooltip = this.tooltip; - return b; - }, - $signature: 367 - }; - E.DialogLabel.prototype = {$isDialogItem: 1}; - E.DialogLabel_DialogLabel_closure.prototype = { - call$1: function(b) { - b.get$_dialog$_$this()._dialog$_label = this.label; - b.get$_dialog$_$this()._dialog$_value = ""; - b.get$_dialog$_$this()._tooltip = this.tooltip; - return b; - }, - $signature: 368 - }; - E._$DialogTypeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_DialogType._as(object).name; + for (t1 = A._LinkedHashSetIterator$(insertions_intersecting, insertions_intersecting._collection$_modifications, insertions_intersecting.$ti._precomputed1), total_insertion_length = 0; t1.moveNext$0();) + total_insertion_length += t1._collection$_current.length; + return end - start + 1 - deletions_intersecting._collection$_length + total_insertion_length; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + helix_rotation_at$2(address, roll) { + var rotation, + t1 = address.helix_idx; + t1 = this.helices._map$_map.$index(0, t1); + t1.toString; + rotation = this.helix_rotation_forward$3(t1.idx, address.offset, roll); + return !A.boolConversionCheck(address.forward) ? B.JSNumber_methods.$mod(rotation + 150, 360) : rotation; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return E._$valueOf3(H._asStringS(serialized)); + helix_rotation_at$1(address) { + return this.helix_rotation_at$2(address, null); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + helix_rotation_forward$3(helix_idx, offset, roll) { + var t2, num_bases, + t1 = this.helices._map$_map.$index(0, helix_idx); + t1.toString; + if (roll == null) + roll = t1.roll; + t2 = t1.min_offset; + if (typeof offset !== "number") + return A.iae(offset); + if (t2 < offset) + num_bases = this.helix_num_bases_between$3(t1, t2, offset - 1); + else + num_bases = t2 > offset ? -this.helix_num_bases_between$3(t1, offset + 1, t2) : 0; + return B.JSNumber_methods.$mod(roll + 360 * num_bases / 10.5, 360); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_DialogType_Zuq; + helix_rotation_forward$2(helix_idx, offset) { + return this.helix_rotation_forward$3(helix_idx, offset, null); }, - get$wireName: function() { - return "DialogType"; - } - }; - E._$DialogSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Dialog._as(object); - return H.setRuntimeTypeInfo(["title", serializers.serialize$2$specifiedType(object.title, C.FullType_h8g), "type", serializers.serialize$2$specifiedType(object.type, C.FullType_Npb), "use_saved_response", serializers.serialize$2$specifiedType(object.use_saved_response, C.FullType_MtR), "items", serializers.serialize$2$specifiedType(object.items, C.FullType_UGn), "mutually_exclusive_checkbox_groups", serializers.serialize$2$specifiedType(object.mutually_exclusive_checkbox_groups, C.FullType_UWS), "disable_when_any_radio_button_selected", serializers.serialize$2$specifiedType(object.disable_when_any_radio_button_selected, C.FullType_4QF), "disable_when_any_checkboxes_on", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_on, C.FullType_i3t), "disable_when_any_checkboxes_off", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_off, C.FullType_i3t), "disable", serializers.serialize$2$specifiedType(object.disable, C.FullType_4QF0)], type$.JSArray_legacy_Object); + max_offset_of_strands_at$1(helix_idx) { + var max_offset, + t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx); + t1.toString; + t1 = t1._list; + max_offset = t1.length === 0 ? 0 : B.JSArray_methods.get$first(t1).end; + for (t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + max_offset = Math.max(max_offset, t1.__interceptors$_current.end); + return max_offset; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + min_offset_of_strands_at$1(helix_idx) { + var min_offset, + t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx); + t1.toString; + t1 = t1._list; + min_offset = t1.length === 0 ? 0 : B.JSArray_methods.get$first(t1).start; + for (t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + min_offset = Math.min(min_offset, t1.__interceptors$_current.start); + return min_offset; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, key, value, t13, t14, t15, t16, t17, _null = null, - result = new E.DialogBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int, t6 = type$.legacy_BuiltList_legacy_int, t7 = type$.List_legacy_BuiltList_legacy_int, t8 = type$.ListBuilder_legacy_BuiltList_legacy_int, t9 = type$.legacy_DialogItem, t10 = type$.List_legacy_DialogItem, t11 = type$.ListBuilder_legacy_DialogItem, t12 = type$.legacy_DialogType; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "title": - t13 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._title = t13; - break; - case "type": - t13 = t12._as(serializers.deserialize$2$specifiedType(value, C.FullType_Npb)); - result.get$_dialog$_$this()._dialog$_type = t13; - break; - case "use_saved_response": - t13 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dialog$_$this()._use_saved_response = t13; - break; - case "items": - t13 = result.get$_dialog$_$this(); - t14 = t13._dialog$_items; - if (t14 == null) { - t14 = new D.ListBuilder(t11); - t14.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); - t14.set$_listOwner(_null); - t13.set$_dialog$_items(t14); - t13 = t14; - } else - t13 = t14; - t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UGn)); - t15 = t13.$ti; - t16 = t15._eval$1("_BuiltList<1>"); - t17 = t15._eval$1("List<1>"); - if (t16._is(t14)) { - t16._as(t14); - t13.set$__ListBuilder__list(t17._as(t14._list)); - t13.set$_listOwner(t14); - } else { - t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); - t13.set$_listOwner(_null); - } - break; - case "mutually_exclusive_checkbox_groups": - t13 = result.get$_dialog$_$this(); - t14 = t13._mutually_exclusive_checkbox_groups; - if (t14 == null) { - t14 = new D.ListBuilder(t8); - t14.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t14.set$_listOwner(_null); - t13.set$_mutually_exclusive_checkbox_groups(t14); - t13 = t14; - } else - t13 = t14; - t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UWS)); - t15 = t13.$ti; - t16 = t15._eval$1("_BuiltList<1>"); - t17 = t15._eval$1("List<1>"); - if (t16._is(t14)) { - t16._as(t14); - t13.set$__ListBuilder__list(t17._as(t14._list)); - t13.set$_listOwner(t14); - } else { - t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); - t13.set$_listOwner(_null); - } - break; - case "disable_when_any_radio_button_selected": - result.get$disable_when_any_radio_button_selected().replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_4QF)); - break; - case "disable_when_any_checkboxes_on": - t13 = result.get$_dialog$_$this(); - t14 = t13._disable_when_any_checkboxes_on; - if (t14 == null) { - t14 = new A.MapBuilder(_null, $, _null, t5); - t14.replace$1(0, C.Map_empty); - t13.set$_disable_when_any_checkboxes_on(t14); - t13 = t14; - } else - t13 = t14; - t13.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); - break; - case "disable_when_any_checkboxes_off": - t13 = result.get$_dialog$_$this(); - t14 = t13._disable_when_any_checkboxes_off; - if (t14 == null) { - t14 = new A.MapBuilder(_null, $, _null, t5); - t14.replace$1(0, C.Map_empty); - t13.set$_disable_when_any_checkboxes_off(t14); - t13 = t14; - } else - t13 = t14; - t13.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); - break; - case "disable": - t13 = result.get$_dialog$_$this(); - t14 = t13._disable; - if (t14 == null) { - t14 = new D.ListBuilder(t4); - t14.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t14.set$_listOwner(_null); - t13.set$_disable(t14); - t13 = t14; - } else - t13 = t14; - t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t15 = t13.$ti; - t16 = t15._eval$1("_BuiltList<1>"); - t17 = t15._eval$1("List<1>"); - if (t16._is(t14)) { - t16._as(t14); - t13.set$__ListBuilder__list(t17._as(t14._list)); - t13.set$_listOwner(t14); - } else { - t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); - t13.set$_listOwner(_null); - } - break; + get$has_insertions_or_deletions() { + var t1, t2, t3; + for (t1 = this.strands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (t3.deletions._list.length !== 0 || t3.insertions._list.length !== 0) + return true; } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_FCG0; + return false; }, - get$wireName: function() { - return "Dialog"; - } - }; - E._$DialogIntegerSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogInteger._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_2ru)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + _remove_helix_idxs_if_default$1(helix_jsons) { + var use_default, expected_idx, t1, _i; + type$.List_Map_String_dynamic._as(helix_jsons); + expected_idx = 0; + while (true) { + if (!(expected_idx < helix_jsons.length)) { + use_default = true; + break; + } + if (A._asIntS(J.$index$asx(helix_jsons[expected_idx], "idx")) !== expected_idx) { + use_default = false; + break; + } + ++expected_idx; } - return result; + if (use_default) + for (t1 = helix_jsons.length, _i = 0; _i < helix_jsons.length; helix_jsons.length === t1 || (0, A.throwConcurrentModificationError)(helix_jsons), ++_i) + J.remove$1$ax(helix_jsons[_i], "idx"); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + _ensure_helix_groups_exist$0() { + var t1, t2, t3, t4; + for (t1 = this.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")), t1 = this.groups; t2.moveNext$0();) { + t3 = t2.__internal$_current; + t4 = t3.group; + if (!t1._map$_map.containsKey$1(0, t4)) + throw A.wrapException(A.IllegalDesignError$("helix " + t3.idx + " has group " + t4 + ", which does not exist in the design. The valid groups are " + t1.get$keys(t1).join$1(0, ", "))); + } }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogIntegerBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; - break; - case "value": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_dialog$_$this()._dialog$_value = t1; - break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; - break; + base_pairs_with_domain_strand$3(allow_mismatches, allow_unassigned_dna, selected_strands) { + var base_pairs_with_domain_strand, t1, t2, t3, t4, selected_domains, t5, t6, t7, offsets_and_domain_strand, overlapping_domains, t8, _i, domain_pair, dom1, dom2, start_and_end, start, end, t9, offset, base1, base2, t10, t11, _this = this; + type$.BuiltSet_Strand._as(selected_strands); + base_pairs_with_domain_strand = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_BuiltList_Tuple5_int_Domain_Domain_Strand_Strand); + t1 = selected_strands._set; + t2 = A._instanceType(t1); + t3 = t2._eval$1("EfficientLengthMappedIterable>"); + t4 = t3._eval$1("ExpandIterable"); + selected_domains = A.BuiltSet_BuiltSet$of(new A.MappedIterable(new A.WhereIterable(new A.ExpandIterable(new A.EfficientLengthMappedIterable(t1, t2._eval$1("BuiltList(SetMixin.E)")._as(selected_strands.$ti._eval$1("BuiltList(1)")._as(new A.Design_base_pairs_with_domain_strand_closure())), t3), t3._eval$1("Iterable(Iterable.E)")._as(new A.Design_base_pairs_with_domain_strand_closure0()), t4), t4._eval$1("bool(Iterable.E)")._as(new A.Design_base_pairs_with_domain_strand_closure1()), t4._eval$1("WhereIterable")), t4._eval$1("Domain(Iterable.E)")._as(new A.Design_base_pairs_with_domain_strand_closure2()), t4._eval$1("MappedIterable")), type$.Domain); + for (t1 = _this.helices, t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = !allow_mismatches, t3 = type$.Tuple5_int_Domain_Domain_Strand_Strand, t4 = selected_domains._set, t5 = type$.JSArray_Tuple5_int_Domain_Domain_Strand_Strand, t6 = type$._BuiltList_Tuple5_int_Domain_Domain_Strand_Strand; t1.moveNext$0();) { + t7 = t1.__js_helper$_current; + offsets_and_domain_strand = A._setArrayType([], t5); + overlapping_domains = _this.find_overlapping_domains_on_helix$1(t7); + for (t8 = overlapping_domains.length, _i = 0; _i < overlapping_domains.length; overlapping_domains.length === t8 || (0, A.throwConcurrentModificationError)(overlapping_domains), ++_i) { + domain_pair = overlapping_domains[_i]; + dom1 = domain_pair.item1; + dom2 = domain_pair.item2; + if (!t4.contains$1(0, dom1) || !t4.contains$1(0, dom2)) + continue; + start_and_end = dom1.compute_overlap$1(dom2); + start = start_and_end.item1; + end = start_and_end.item2; + t9 = dom1.deletions; + offset = start; + while (true) { + if (typeof offset !== "number") + return offset.$lt(); + if (typeof end !== "number") + return A.iae(end); + if (!(offset < end)) + break; + c$1: { + if (B.JSArray_methods.contains$1(t9._list, offset) || B.JSArray_methods.contains$1(dom2.deletions._list, offset)) + break c$1; + base1 = dom1.dna_sequence_in$2(offset, offset); + base2 = dom2.dna_sequence_in$2(offset, offset); + if (t2) { + t10 = base1 === "?" || base2 === "?"; + t10 = t10 || A.reverse_complementary(base1, base2, true, true); + } else + t10 = true; + if (t10) { + t10 = _this.__substrand_to_strand; + if (t10 == null) { + t10 = A.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t10); + } + t10 = t10._map$_map.$index(0, dom1); + t10.toString; + t11 = _this.__substrand_to_strand; + if (t11 == null) { + t11 = A.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t11); + } + t11 = t11._map$_map.$index(0, dom2); + t11.toString; + B.JSArray_methods.add$1(offsets_and_domain_strand, new A.Tuple5(offset, dom1, dom2, t10, t11, t3)); + } + } + ++offset; + } + } + if (offsets_and_domain_strand.length !== 0) { + t8 = new A._BuiltList(A.List_List$from(offsets_and_domain_strand, false, t3), t6); + t8._maybeCheckForNull$0(); + base_pairs_with_domain_strand.$indexSet(0, t7, t8); } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_nKT; + return A.BuiltMap_BuiltMap$of(base_pairs_with_domain_strand, type$.int, type$.BuiltList_Tuple5_int_Domain_Domain_Strand_Strand); }, - get$wireName: function() { - return "DialogInteger"; - } - }; - E._$DialogFloatSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogFloat._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_2ru)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + _base_pairs$2(allow_mismatches, selected_strands) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, + base_pairs_with_domain_strand = this.base_pairs_with_domain_strand$3(allow_mismatches, true, type$.BuiltSet_Strand._as(selected_strands)), + base_pairs = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_BuiltList_int); + for (t1 = base_pairs_with_domain_strand.get$keys(base_pairs_with_domain_strand), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = base_pairs_with_domain_strand._map$_map, t3 = type$.int, t4 = type$._BuiltList_int; t1.moveNext$0();) { + t5 = t1.__js_helper$_current; + t6 = t2.$index(0, t5); + t6.toString; + t7 = t6._list; + t8 = A._arrayInstanceType(t7); + t9 = t8._eval$1("MappedListIterable<1,int>"); + t9 = new A._BuiltList(A.List_List$from(A.List_List$of(new A.MappedListIterable(t7, t8._eval$1("int(1)")._as(A.instanceType(t6)._eval$1("int(1)")._as(new A.Design__base_pairs_closure())), t9), true, t9._eval$1("ListIterable.E")), false, t3), t4); + t9._maybeCheckForNull$0(); + base_pairs.$indexSet(0, t5, t9); } - return result; + return A.BuiltMap_BuiltMap$of(base_pairs, t3, type$.BuiltList_int); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogFloatBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; + find_overlapping_domains_on_helix$1(helix_idx) { + var t2, reverse_domains, overlapping_domains, t3, t4, t5, reverse_domain, t6, t7, t8, + forward_domains = this.domains_on_helix$2$forward(helix_idx, true), + reverse_domains_list = this.domains_on_helix$2$forward(helix_idx, false), + t1 = J.getInterceptor$ax(forward_domains); + t1.sort$1(forward_domains, new A.Design_find_overlapping_domains_on_helix_closure()); + t2 = J.getInterceptor$ax(reverse_domains_list); + t2.sort$1(reverse_domains_list, new A.Design_find_overlapping_domains_on_helix_closure0()); + if (t1.get$isEmpty(forward_domains) || t2.get$isEmpty(reverse_domains_list)) + return A._setArrayType([], type$.JSArray_Tuple2_Domain_Domain); + reverse_domains = A.ListQueue_ListQueue$from(reverse_domains_list, type$.Domain); + overlapping_domains = A._setArrayType([], type$.JSArray_Tuple2_Domain_Domain); + for (t1 = t1.get$iterator(forward_domains), t2 = type$.Tuple2_Domain_Domain; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = reverse_domains._head; + if (t4 === reverse_domains._tail) + A.throwExpression(A.IterableElementError_noElement()); + t5 = reverse_domains._table; + if (!(t4 < t5.length)) + return A.ioore(t5, t4); + reverse_domain = t5[t4]; + while (true) { + if (!(reverse_domain.end <= t3.start && !reverse_domains.get$isEmpty(reverse_domains))) break; - case "value": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_dialog$_$this()._dialog$_value = t1; + reverse_domains.removeFirst$0(); + if (!reverse_domains.get$isEmpty(reverse_domains)) { + t4 = reverse_domains._head; + if (t4 === reverse_domains._tail) + A.throwExpression(A.IterableElementError_noElement()); + t5 = reverse_domains._table; + if (!(t4 < t5.length)) + return A.ioore(t5, t4); + reverse_domain = t5[t4]; + } else + return overlapping_domains; + } + t4 = t3.end; + t5 = t3.helix; + t6 = t3.forward; + while (true) { + if (!(t5 === reverse_domain.helix && t6 === !reverse_domain.forward && t3.compute_overlap$1(reverse_domain) != null)) break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; + B.JSArray_methods.add$1(overlapping_domains, new A.Tuple2(t3, reverse_domain, t2)); + if (reverse_domain.end <= t4) { + reverse_domains.removeFirst$0(); + if (!reverse_domains.get$isEmpty(reverse_domains)) { + t7 = reverse_domains._head; + if (t7 === reverse_domains._tail) + A.throwExpression(A.IterableElementError_noElement()); + t8 = reverse_domains._table; + if (!(t7 < t8.length)) + return A.ioore(t8, t7); + reverse_domain = t8[t7]; + } else + return overlapping_domains; + } else break; } } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + return overlapping_domains; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ijl; + idx_on_strand$1(address) { + var t1, strand_idx, t2, + domain = this.domain_on_helix_at$1(address); + if (domain == null) + throw A.wrapException(A.ArgumentError$("no strand in Design at address " + address.toString$0(0), null)); + t1 = this.get$substrand_to_strand()._map$_map.$index(0, domain); + t1.toString; + for (t1 = t1.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), strand_idx = 0; t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (domain.$eq(0, t2)) { + strand_idx += domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward); + break; + } else + strand_idx += t2.dna_length$0(); + } + return strand_idx; }, - get$wireName: function() { - return "DialogFloat"; - } - }; - E._$DialogTextSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogText._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g), "size", serializers.serialize$2$specifiedType(object.size, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + get$helix_to_crossover_addresses() { + var t3, t4, t5, t6, t7, domains_on_strand, t8, num_domains, domain_idx, t9, domain_idx_in_substrands, offset, other_helix_idx, t10, _this = this, + t1 = type$.int, + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Address); + for (t3 = _this.get$helix_idxs()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = type$.JSArray_Address; t3.moveNext$0();) + t2.$indexSet(0, t3.__interceptors$_current, A._setArrayType([], t4)); + for (t3 = _this.get$helix_idxs()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + for (t5 = J.get$iterator$ax(_this.domains_on_helix$1(t4)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = _this.__substrand_to_strand; + if (t7 == null) { + t7 = A.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t7); + } + t7 = t7._map$_map.$index(0, t6); + t7.toString; + domains_on_strand = t7.__domains; + if (domains_on_strand == null) { + domains_on_strand = A.Strand.prototype.get$domains.call(t7); + t7.set$__domains(domains_on_strand); + } + t8 = domains_on_strand._list; + num_domains = t8.length; + domain_idx = B.JSArray_methods.indexOf$2(t8, domains_on_strand.$ti._precomputed1._as(t6), 0); + t7 = t7.substrands; + t7.toString; + t9 = t7._list; + domain_idx_in_substrands = B.JSArray_methods.indexOf$2(t9, t7.$ti._precomputed1._as(t6), 0); + if (domain_idx > 0) { + t7 = domain_idx_in_substrands - 1; + if (!(t7 >= 0 && t7 < t9.length)) + return A.ioore(t9, t7); + if (t9[t7].is_domain$0()) { + offset = t6.__offset_5p; + if (offset == null) + offset = t6.__offset_5p = A.Domain.prototype.get$offset_5p.call(t6); + t7 = domain_idx - 1; + if (!(t7 < t8.length)) + return A.ioore(t8, t7); + other_helix_idx = t8[t7].helix; + t7 = t2.$index(0, t4); + t7.toString; + t10 = t6.forward; + B.JSArray_methods.add$1(t7, new A._$Address(other_helix_idx, offset, t10)); + } + } + if (domain_idx < num_domains - 1) { + t7 = domain_idx_in_substrands + 1; + if (!(t7 >= 0 && t7 < t9.length)) + return A.ioore(t9, t7); + if (t9[t7].is_domain$0()) { + offset = t6.__offset_3p; + if (offset == null) + offset = t6.__offset_3p = A.Domain.prototype.get$offset_3p.call(t6); + t7 = domain_idx + 1; + if (!(t7 >= 0 && t7 < t8.length)) + return A.ioore(t8, t7); + other_helix_idx = t8[t7].helix; + t7 = t2.$index(0, t4); + t7.toString; + t6 = t6.forward; + B.JSArray_methods.add$1(t7, new A._$Address(other_helix_idx, offset, t6)); + } + } + } } - return result; + t3 = type$.BuiltList_Address; + t4 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = _this.get$helix_idxs()._list, t5 = new J.ArrayIterator(t5, t5.length, A._arrayInstanceType(t5)._eval$1("ArrayIterator<1>")), t6 = type$.Address, t7 = type$._BuiltList_Address; t5.moveNext$0();) { + t8 = t5.__interceptors$_current; + t9 = t2.$index(0, t8); + t9.toString; + t9 = new A._BuiltList(A.List_List$from(t9, false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$helix_to_crossover_addresses_disallow_intrahelix() { + var t2, t3, ret, t4, t5, t6, t7, t8, t9, t10, addresses_without_intrahelix_crossovers, + t1 = this.__helix_to_crossover_addresses; + if (t1 == null) { + t1 = A.Design.prototype.get$helix_to_crossover_addresses.call(this); + this.set$__helix_to_crossover_addresses(t1); + } + t2 = t1._map$_map; + t3 = t1.$ti; + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + ret = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t2 = type$.Address, t4 = type$._BuiltList_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = type$.JSArray_Address; t1.moveNext$0();) { + t7 = t1.get$current(t1); + t8 = ret._copy_on_write_map$_map.$index(0, t7); + t8.toString; + t9 = A._setArrayType([], t6); + for (t8 = t8._list, t8 = new J.ArrayIterator(t8, t8.length, A._arrayInstanceType(t8)._eval$1("ArrayIterator<1>")); t8.moveNext$0();) { + t10 = t8.__interceptors$_current; + if (t10.helix_idx != t7) + t9.push(t10); + } + addresses_without_intrahelix_crossovers = new A._BuiltList(A.List_List$from(t9, false, t2), t4); + addresses_without_intrahelix_crossovers._maybeCheckForNull$0(); + t5._as(t7); + t3._as(addresses_without_intrahelix_crossovers); + ret._maybeCopyBeforeWrite$0(); + ret._copy_on_write_map$_map.$indexSet(0, t7, addresses_without_intrahelix_crossovers); + } + return A.BuiltMap_BuiltMap$of(ret, type$.int, type$.BuiltList_Address); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogTextBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; - break; - case "value": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_value = t1; - break; - case "size": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dialog$_$this()._size = t1; - break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; - break; + get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup() { + var t2, t3, ret, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, addresses_without_intergroup_crossovers, _this = this, + t1 = _this.__helix_to_crossover_addresses_disallow_intrahelix; + if (t1 == null) { + t1 = A.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix.call(_this); + _this.set$__helix_to_crossover_addresses_disallow_intrahelix(t1); + } + t2 = t1._map$_map; + t3 = t1.$ti; + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + ret = new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t2 = type$.Address, t4 = type$._BuiltList_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = _this.helices, t7 = type$.JSArray_Address; t1.moveNext$0();) { + t8 = t1.get$current(t1); + t9 = ret._copy_on_write_map$_map.$index(0, t8); + t9.toString; + t10 = A._setArrayType([], t7); + for (t9 = t9._list, t9 = new J.ArrayIterator(t9, t9.length, A._arrayInstanceType(t9)._eval$1("ArrayIterator<1>")); t9.moveNext$0();) { + t11 = t9.__interceptors$_current; + t12 = t11.helix_idx; + t13 = t6._map$_map; + if (t13.$index(0, t12).group === t13.$index(0, t8).group) + t10.push(t11); } + addresses_without_intergroup_crossovers = new A._BuiltList(A.List_List$from(t10, false, t2), t4); + addresses_without_intergroup_crossovers._maybeCheckForNull$0(); + t5._as(t8); + t3._as(addresses_without_intergroup_crossovers); + ret._maybeCopyBeforeWrite$0(); + ret._copy_on_write_map$_map.$indexSet(0, t8, addresses_without_intergroup_crossovers); } - return result.build$0(); + return A.BuiltMap_BuiltMap$of(ret, type$.int, type$.BuiltList_Address); + } + }; + A.Design_Design_closure.prototype = { + call$1(b) { + return type$.HelixBuilder._as(b)._helix$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 330 + }; + A.Design_Design_closure0.prototype = { + call$1(b) { + var t1 = b.get$geometry(b), + t2 = this._box_0.geometry; + t2.toString; + A.ArgumentError_checkNotNull(t2, "other", type$.Geometry); + t1._geometry$_$v = t2; + return b; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Opk; + $signature: 7 + }; + A.Design_Design_closure1.prototype = { + call$1(b) { + var _this = this, + t1 = b.get$geometry(b), + t2 = _this._box_0, + t3 = t2.geometry; + t3.toString; + A.ArgumentError_checkNotNull(t3, "other", type$.Geometry); + t1._geometry$_$v = t3; + t3 = b.get$groups(); + t2 = t2.groups; + t2.toString; + t3.replace$1(0, t2); + b.get$helices().replace$1(0, _this.helices_map); + b.get$strands().replace$1(0, _this.strands); + b.get$unused_fields().replace$1(0, _this.unused_fields); + return b; }, - get$wireName: function() { - return "DialogText"; - } + $signature: 331 }; - E._$DialogTextAreaSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogTextArea._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "cols", serializers.serialize$2$specifiedType(object.cols, C.FullType_kjq), "rows", serializers.serialize$2$specifiedType(object.rows, C.FullType_kjq), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.Design__initializeBuilder_closure.prototype = { + call$1(g) { + return g.get$_group$_$this()._group$_grid = B.Grid_none; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 332 + }; + A.Design_helices_in_group_closure.prototype = { + call$2(idx, helix) { + A._asIntS(idx); + return type$.Helix._as(helix).group !== this.group_name; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogTextAreaBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; - break; - case "cols": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dialog$_$this()._cols = t1; - break; - case "rows": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dialog$_$this()._rows = t1; - break; - case "value": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_value = t1; - break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; - break; - } - } - return result.build$0(); + $signature: 78 + }; + A.Design_address_crossover_pairs_by_helix_idx_closure.prototype = { + call$2(address_crossover_pair1, address_crossover_pair2) { + var add1, add2, t2, + t1 = type$.Tuple2_Address_Crossover; + t1._as(address_crossover_pair1); + t1._as(address_crossover_pair2); + add1 = address_crossover_pair1.item1; + add2 = address_crossover_pair2.item1; + t1 = add1.offset; + t2 = add2.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 - t2; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 333 + }; + A.Design_domain_mismatches_map_closure.prototype = { + call$2(domain, mismatches) { + this.domain_mismatches_builtmap_builder.$indexSet(0, type$.Domain._as(domain), type$.ListBuilder_Mismatch._as(mismatches).build$0()); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_uwZ; + $signature: 334 + }; + A.Design_unpaired_insertion_deletion_map_closure.prototype = { + call$2(domain, unpaireds) { + this.unpaired_insertion_deletion_half_built_map.$indexSet(0, type$.Domain._as(domain), A._BuiltList$of(type$.List_Address._as(unpaireds), type$.Address)); }, - get$wireName: function() { - return "DialogTextArea"; - } + $signature: 335 }; - E._$DialogCheckboxSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogCheckbox._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.Design_max_offset_closure.prototype = { + call$1(helix) { + return type$.Helix._as(helix).max_offset; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 88 + }; + A.Design_min_offset_closure.prototype = { + call$1(helix) { + return type$.Helix._as(helix).min_offset; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogCheckboxBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; - break; - case "value": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dialog$_$this()._dialog$_value = t1; - break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; - break; - } - } - return result.build$0(); + $signature: 88 + }; + A.Design_add_strands_closure.prototype = { + call$1(d) { + d.get$strands().addAll$1(0, this.new_strands); + return d; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 24 + }; + A.Design_remove_strands_closure.prototype = { + call$1(d) { + var t1 = d.get$strands(), + t2 = t1.$ti._eval$1("bool(1)")._as(new A.Design_remove_strands__closure(this.strands_to_remove_set)); + t1 = t1.get$_safeList(); + A._arrayInstanceType(t1)._eval$1("bool(1)")._as(t2); + if (!!t1.fixed$length) + A.throwExpression(A.UnsupportedError$("removeWhere")); + B.JSArray_methods._removeWhere$2(t1, t2, true); + return d; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_OPy; + $signature: 24 + }; + A.Design_remove_strands__closure.prototype = { + call$1(strand) { + return this.strands_to_remove_set.contains$1(0, type$.Strand._as(strand)); }, - get$wireName: function() { - return "DialogCheckbox"; - } + $signature: 13 }; - E._$DialogRadioSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogRadio._as(object); - result = H.setRuntimeTypeInfo(["options", serializers.serialize$2$specifiedType(object.options, C.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, C.FullType_kjq), "label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "radio", serializers.serialize$2$specifiedType(object.radio, C.FullType_MtR), "option_tooltips", serializers.serialize$2$specifiedType(object.option_tooltips, C.FullType_6m4)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.Design_has_nondefault_min_offset_closure.prototype = { + call$1(ss) { + return type$.Domain._as(ss).start; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 336 + }; + A.Design__groups_from_json_closure.prototype = { + call$1(idx) { + return this.helix_builders_map.$index(0, A._asIntS(idx)).get$_helix$_$this()._group == this.name; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, _null = null, - result = new E.DialogRadioBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_String, t3 = type$.List_legacy_String, t4 = type$.ListBuilder_legacy_String; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "options": - t5 = result.get$_dialog$_$this(); - t6 = t5._options; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(_null); - t5.set$_options(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(_null); - } - break; - case "selected_idx": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dialog$_$this()._dialog$_selected_idx = t5; - break; - case "label": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t5; - break; - case "radio": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dialog$_$this()._radio = t5; - break; - case "option_tooltips": - t5 = result.get$_dialog$_$this(); - t6 = t5._option_tooltips; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(_null); - t5.set$_option_tooltips(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(_null); - } - break; - case "tooltip": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t5; - break; - } - } - return result.build$0(); + $signature: 21 + }; + A.Design__groups_from_json_closure0.prototype = { + call$1(hb) { + var t1 = type$.HelixBuilder._as(hb).get$_helix$_$this()._idx; + t1.toString; + return t1; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 62 + }; + A.Design_from_json_closure.prototype = { + call$1(geometry_map) { + return A.Geometry_from_json(type$.Map_String_dynamic._as(geometry_map)); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_4AN; + $signature: 337 + }; + A.Design_from_json_closure0.prototype = { + call$2(key, value) { + return new A.MapEntry(A._asStringS(key), type$.HelixGroupBuilder._as(value)._group$_build$0(), type$.MapEntry_String_HelixGroup); }, - get$wireName: function() { - return "DialogRadio"; - } + $signature: 338 }; - E._$DialogLinkSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DialogLink._as(object); - result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "link", serializers.serialize$2$specifiedType(object.link, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g)], type$.JSArray_legacy_Object); - value = object.tooltip; - if (value != null) { - C.JSArray_methods.add$1(result, "tooltip"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.Design_assign_modifications_to_strands_closure.prototype = { + call$1(b) { + var t1 = b.get$modification_5p(), + t2 = this._box_0.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification5Prime); + t1._modification$_$v = t2; + return b; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 1 + }; + A.Design_assign_modifications_to_strands_closure0.prototype = { + call$1(b) { + var t1 = b.get$modification_3p(), + t2 = this._box_0.mod; + A.ArgumentError_checkNotNull(t2, "other", type$.Modification3Prime); + t1._modification$_$v = t2; + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new E.DialogLinkBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "label": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_label = t1; - break; - case "link": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._link = t1; - break; - case "value": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._dialog$_value = t1; - break; - case "tooltip": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dialog$_$this()._tooltip = t1; - break; - } - } - return result.build$0(); + $signature: 1 + }; + A.Design_assign_modifications_to_strands_closure1.prototype = { + call$1(b) { + b.get$modifications_int().replace$1(0, this.mods_by_idx); + return b; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 1 + }; + A.Design_check_strands_overlap_legally_err_msg.prototype = { + call$3(domain1, domain2, h_idx) { + return "two domains overlap on helix " + A.S(h_idx) + ": \n" + domain1.toString$0(0) + "\n and\n" + domain2.toString$0(0) + "\n but have the same direction"; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_app; + $signature: 339 + }; + A.Design_check_strands_overlap_legally_closure.prototype = { + call$2(d1, d2) { + var t2, + t1 = type$.Tuple3_int_bool_Domain; + t1._as(d1); + t1._as(d2); + t1 = d1.item1; + t2 = d2.item1; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 - t2; }, - get$wireName: function() { - return "DialogLink"; - } + $signature: 340 }; - E._$Dialog.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.Dialog && _this.title === other.title && _this.type === other.type && _this.use_saved_response === other.use_saved_response && J.$eq$(_this.items, other.items) && J.$eq$(_this.mutually_exclusive_checkbox_groups, other.mutually_exclusive_checkbox_groups) && J.$eq$(_this.disable_when_any_radio_button_selected, other.disable_when_any_radio_button_selected) && J.$eq$(_this.disable_when_any_checkboxes_on, other.disable_when_any_checkboxes_on) && J.$eq$(_this.disable_when_any_checkboxes_off, other.disable_when_any_checkboxes_off) && J.$eq$(_this.disable, other.disable); + A.Design_domains_on_helix_closure.prototype = { + call$1(domain) { + return type$.Domain._as(domain).forward === this.forward; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.title)), H.Primitives_objectHashCode(_this.type)), C.JSBool_methods.get$hashCode(_this.use_saved_response)), J.get$hashCode$(_this.items)), J.get$hashCode$(_this.mutually_exclusive_checkbox_groups)), J.get$hashCode$(_this.disable_when_any_radio_button_selected)), J.get$hashCode$(_this.disable_when_any_checkboxes_on)), J.get$hashCode$(_this.disable_when_any_checkboxes_off)), J.get$hashCode$(_this.disable))) : t1; + $signature: 22 + }; + A.Design_domains_on_helix_overlapping_closure.prototype = { + call$1(other_domain) { + return !this.domain.overlaps$1(type$.Domain._as(other_domain)); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Dialog"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "title", _this.title); - t2.add$2(t1, "type", _this.type); - t2.add$2(t1, "process_saved_response", _this.process_saved_response); - t2.add$2(t1, "use_saved_response", _this.use_saved_response); - t2.add$2(t1, "items", _this.items); - t2.add$2(t1, "mutually_exclusive_checkbox_groups", _this.mutually_exclusive_checkbox_groups); - t2.add$2(t1, "disable_when_any_radio_button_selected", _this.disable_when_any_radio_button_selected); - t2.add$2(t1, "disable_when_any_checkboxes_on", _this.disable_when_any_checkboxes_on); - t2.add$2(t1, "disable_when_any_checkboxes_off", _this.disable_when_any_checkboxes_off); - t2.add$2(t1, "disable", _this.disable); - t2.add$2(t1, "on_submit", _this.on_submit); - return t2.toString$0(t1); - } + $signature: 22 }; - E.DialogBuilder.prototype = { - get$items: function(_) { - var t1 = this.get$_dialog$_$this(), - t2 = t1._dialog$_items; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DialogItem); - t1.set$_dialog$_items(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A.Design_domain_name_mismatches_closure.prototype = { + call$1(domain) { + return type$.Domain._as(domain).name == null; }, - get$mutually_exclusive_checkbox_groups: function() { - var t1 = this.get$_dialog$_$this(), - t2 = t1._mutually_exclusive_checkbox_groups; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_BuiltList_legacy_int); - t1.set$_mutually_exclusive_checkbox_groups(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 22 + }; + A.Design_base_pairs_with_domain_strand_closure.prototype = { + call$1(s) { + return type$.Strand._as(s).substrands; }, - get$disable_when_any_radio_button_selected: function() { - var t1 = this.get$_dialog$_$this(), - t2 = t1._disable_when_any_radio_button_selected; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); - t1.set$_disable_when_any_radio_button_selected(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 341 + }; + A.Design_base_pairs_with_domain_strand_closure0.prototype = { + call$1(x) { + return type$.BuiltList_Substrand._as(x); }, - get$disable_when_any_checkboxes_on: function() { - var t1 = this.get$_dialog$_$this(), - t2 = t1._disable_when_any_checkboxes_on; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); - t1.set$_disable_when_any_checkboxes_on(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 342 + }; + A.Design_base_pairs_with_domain_strand_closure1.prototype = { + call$1(x) { + return type$.Substrand._as(x) instanceof A.Domain; }, - get$disable_when_any_checkboxes_off: function() { - var t1 = this.get$_dialog$_$this(), - t2 = t1._disable_when_any_checkboxes_off; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); - t1.set$_disable_when_any_checkboxes_off(t2); - t1 = t2; - } else - t1 = t2; - return t1; + $signature: 113 + }; + A.Design_base_pairs_with_domain_strand_closure2.prototype = { + call$1(x) { + return type$.Domain._as(type$.Substrand._as(x)); }, - get$disable: function(_) { - var t1 = this.get$_dialog$_$this(), - t2 = t1._disable; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_disable(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_dialog$_$this: function() { - var t1, t2, _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._title = $$v.title; - _this._dialog$_type = $$v.type; - _this.set$_process_saved_response($$v.process_saved_response); - _this._use_saved_response = $$v.use_saved_response; - t1 = $$v.items; - t1.toString; - _this.set$_dialog$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.mutually_exclusive_checkbox_groups; - t1.toString; - _this.set$_mutually_exclusive_checkbox_groups(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.disable_when_any_radio_button_selected; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_disable_when_any_radio_button_selected(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.disable_when_any_checkboxes_on; - t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltMap<1,2>")._as(t2); - _this.set$_disable_when_any_checkboxes_on(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); - t1 = $$v.disable_when_any_checkboxes_off; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_disable_when_any_checkboxes_off(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.disable; - t2.toString; - _this.set$_disable(D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); - _this.set$_on_submit($$v.on_submit); - _this._dialog$_$v = null; - } - return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _this = this, _s6_ = "Dialog", - _s34_ = "mutually_exclusive_checkbox_groups", - _s38_ = "disable_when_any_radio_button_selected", - _s30_ = "disable_when_any_checkboxes_on", - _s31_ = "disable_when_any_checkboxes_off", - _$result = null; - try { - _$result0 = _this._dialog$_$v; - if (_$result0 == null) { - t1 = _this.get$_dialog$_$this()._title; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "title")); - t2 = _this.get$_dialog$_$this()._dialog$_type; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "type")); - t3 = _this.get$_dialog$_$this()._process_saved_response; - t4 = _this.get$_dialog$_$this()._use_saved_response; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "use_saved_response")); - t5 = _this.get$items(_this).build$0(); - t6 = _this.get$mutually_exclusive_checkbox_groups().build$0(); - t7 = _this.get$disable_when_any_radio_button_selected().build$0(); - t8 = _this.get$disable_when_any_checkboxes_on().build$0(); - t9 = _this.get$disable_when_any_checkboxes_off().build$0(); - t10 = _this.get$disable(_this).build$0(); - _$result0 = new E._$Dialog(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this.get$_dialog$_$this()._on_submit); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "items")); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s34_)); - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s38_)); - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s30_)); - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s31_)); - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "disable")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "items"; - _this.get$items(_this).build$0(); - _$failedField = _s34_; - _this.get$mutually_exclusive_checkbox_groups().build$0(); - _$failedField = _s38_; - _this.get$disable_when_any_radio_button_selected().build$0(); - _$failedField = _s30_; - _this.get$disable_when_any_checkboxes_on().build$0(); - _$failedField = _s31_; - _this.get$disable_when_any_checkboxes_off().build$0(); - _$failedField = "disable"; - _this.get$disable(_this).build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_Dialog._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dialog$_$v = t1; - return _$result; + $signature: 344 + }; + A.Design__base_pairs_closure.prototype = { + call$1(x) { + return type$.Tuple5_int_Domain_Domain_Strand_Strand._as(x).item1; }, - set$_process_saved_response: function(_process_saved_response) { - this._process_saved_response = type$.legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem._as(_process_saved_response); + $signature: 345 + }; + A.Design_find_overlapping_domains_on_helix_closure.prototype = { + call$2(d1, d2) { + var t1 = type$.Domain; + t1._as(d1); + t1._as(d2); + return d1.start - d2.start; }, - set$_dialog$_items: function(_items) { - this._dialog$_items = type$.legacy_ListBuilder_legacy_DialogItem._as(_items); + $signature: 73 + }; + A.Design_find_overlapping_domains_on_helix_closure0.prototype = { + call$2(d1, d2) { + var t1 = type$.Domain; + t1._as(d1); + t1._as(d2); + return d1.start - d2.start; }, - set$_mutually_exclusive_checkbox_groups: function(_mutually_exclusive_checkbox_groups) { - this._mutually_exclusive_checkbox_groups = type$.legacy_ListBuilder_legacy_BuiltList_legacy_int._as(_mutually_exclusive_checkbox_groups); + $signature: 73 + }; + A.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure.prototype = { + call$1(b) { + var t2, + t1 = this.domains; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = A._asIntQ(Math.min(t1[0].start, B.JSArray_methods.get$last(t1).start)); + b.get$_domain$_$this()._start = t2; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = A._asIntQ(Math.max(t1[0].end, B.JSArray_methods.get$last(t1).end)); + b.get$_domain$_$this()._end = t1; + return b; }, - set$_disable_when_any_radio_button_selected: function(_disable_when_any_radio_button_selected) { - this._disable_when_any_radio_button_selected = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String._as(_disable_when_any_radio_button_selected); + $signature: 6 + }; + A._calculate_groups_from_helix_builders_closure.prototype = { + call$1(idxs) { + return J.sort$0$ax(type$.List_int._as(idxs)); }, - set$_disable_when_any_checkboxes_on: function(_disable_when_any_checkboxes_on) { - this._disable_when_any_checkboxes_on = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_disable_when_any_checkboxes_on); + $signature: 148 + }; + A.assign_default_helices_view_orders_to_groups_closure.prototype = { + call$2(key, value) { + A._asStringS(key); + type$.HelixGroupBuilder._as(value); + return new A.MapEntry(key, 0, type$.MapEntry_String_int); }, - set$_disable_when_any_checkboxes_off: function(_disable_when_any_checkboxes_off) { - this._disable_when_any_checkboxes_off = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_disable_when_any_checkboxes_off); + $signature: 346 + }; + A.construct_helix_idx_to_domains_map_closure.prototype = { + call$2(ss1, ss2) { + var t1 = type$.Domain; + t1._as(ss1); + t1._as(ss2); + return ss1.start - ss2.start; }, - set$_disable: function(_disable) { - this._disable = type$.legacy_ListBuilder_legacy_int._as(_disable); + $signature: 73 + }; + A.Mismatch.prototype = { + toString$0(_) { + var t1 = this.within_insertion; + t1 = t1 < 0 ? ")" : ", within_insertion=" + t1 + ")"; + return "Mismatch(dna_idx=" + this.dna_idx + ", offset=" + this.offset + t1; }, - set$_on_submit: function(_on_submit) { - this._on_submit = type$.legacy_void_Function_legacy_List_legacy_DialogItem._as(_on_submit); + get$offset(receiver) { + return this.offset; } }; - E._$DialogInteger.prototype = { - $eq: function(_, other) { - var _this = this; + A.IllegalDesignError.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) - return true; - return other instanceof E.DialogInteger && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSNumber_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogInteger"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "value", this.value); - t2.add$2(t1, "tooltip", this.tooltip); - return t2.toString$0(t1); + return type$.IllegalDesignError._is(other); }, - get$label: function(receiver) { - return this.label; - }, - get$value: function(receiver) { - return this.value; + $isException: 1, + get$cause() { + return this.cause; } }; - E.DialogIntegerBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; + A.IllegalCadnanoDesignError.prototype = {$isException: 1, $isIllegalDesignError: 1, + get$cause() { + return this.cause; + } + }; + A.StrandError.prototype = {}; + A.HelixPitchYaw.prototype = {}; + A._$Design.prototype = { + get$is_origami() { + var t1 = this.__is_origami; + return t1 == null ? this.__is_origami = A.Design.prototype.get$is_origami.call(this) : t1; }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + get$address_crossover_pairs_by_helix_idx() { + var t1 = this.__address_crossover_pairs_by_helix_idx; + if (t1 == null) { + t1 = A.Design.prototype.get$address_crossover_pairs_by_helix_idx.call(this); + this.set$__address_crossover_pairs_by_helix_idx(t1); + } + return t1; }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; + get$strands_by_id() { + var t1 = this.__strands_by_id; + if (t1 == null) { + t1 = A.Design.prototype.get$strands_by_id.call(this); + this.set$__strands_by_id(t1); } - return _this; + return t1; }, - build$0: function() { - var t1, t2, _this = this, - _s13_ = "DialogInteger", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "label")); - t2 = _this.get$_dialog$_$this()._dialog$_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "value")); - _$result = new E._$DialogInteger(t1, t2, _this.get$_dialog$_$this()._tooltip); + get$domains_by_id() { + var t1 = this.__domains_by_id; + if (t1 == null) { + t1 = A.Design.prototype.get$domains_by_id.call(this); + this.set$__domains_by_id(t1); } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogFloat.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.DialogFloat && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; + return t1; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(this.label)), C.JSNumber_methods.get$hashCode(this.value)), J.get$hashCode$(this.tooltip))); + get$extensions_by_id() { + var t1 = this.__extensions_by_id; + if (t1 == null) { + t1 = A.Design.prototype.get$extensions_by_id.call(this); + this.set$__extensions_by_id(t1); + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogFloat"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "value", this.value); - t2.add$2(t1, "tooltip", this.tooltip); - return t2.toString$0(t1); + get$end_to_domain() { + var t1 = this.__end_to_domain; + if (t1 == null) { + t1 = A.Design.prototype.get$end_to_domain.call(this); + this.set$__end_to_domain(t1); + } + return t1; }, - get$label: function(receiver) { - return this.label; + get$substrand_to_strand() { + var t1 = this.__substrand_to_strand; + if (t1 == null) { + t1 = A.Design.prototype.get$substrand_to_strand.call(this); + this.set$__substrand_to_strand(t1); + } + return t1; }, - get$value: function(receiver) { - return this.value; - } - }; - E.DialogFloatBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; + get$crossover_to_strand() { + var t1 = this.__crossover_to_strand; + if (t1 == null) { + t1 = A.Design.prototype.get$crossover_to_strand.call(this); + this.set$__crossover_to_strand(t1); + } + return t1; }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + get$helix_idxs() { + var t1 = this.__helix_idxs; + if (t1 == null) { + t1 = A.Design.prototype.get$helix_idxs.call(this); + this.set$__helix_idxs(t1); + } + return t1; }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; + get$helix_idx_to_domains() { + var t1 = this.__helix_idx_to_domains; + if (t1 == null) { + t1 = A.Design.prototype.get$helix_idx_to_domains.call(this); + this.set$__helix_idx_to_domains(t1); } - return _this; + return t1; }, - build$0: function() { - var t1, t2, _this = this, - _s11_ = "DialogFloat", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); - t2 = _this.get$_dialog$_$this()._dialog$_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "value")); - _$result = new E._$DialogFloat(t1, t2, _this.get$_dialog$_$this()._tooltip); + get$address_3p_to_strand() { + var t1 = this.__address_3p_to_strand; + if (t1 == null) { + t1 = A.Design.prototype.get$address_3p_to_strand.call(this); + this.set$__address_3p_to_strand(t1); } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogText.prototype = { - $eq: function(_, other) { + return t1; + }, + get$helix_idxs_in_group() { + var t1 = this.__helix_idxs_in_group; + if (t1 == null) { + t1 = A.Design.prototype.get$helix_idxs_in_group.call(this); + this.set$__helix_idxs_in_group(t1); + } + return t1; + }, + rebuild$1(updates) { + var t1; + type$.void_Function_DesignBuilder._as(updates); + t1 = new A.DesignBuilder(); + A.Design__initializeBuilder(t1); + A.ArgumentError_checkNotNull(this, "other", type$.Design); + t1._design0$_$v = this; + type$.nullable_void_Function_DesignBuilder._as(updates).call$1(t1); + return t1._design0$_build$0(); + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof E.DialogText && _this.label === other.label && _this.value === other.value && _this.size === other.size && _this.tooltip == other.tooltip; + return other instanceof A.Design && _this.version === other.version && J.$eq$(_this.geometry, other.geometry) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.strands, other.strands) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.value)), C.JSInt_methods.get$hashCode(_this.size)), J.get$hashCode$(_this.tooltip))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._design0$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.version)), J.get$hashCode$(_this.geometry)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.strands)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._design0$__hashCode; + if (t1 == null) { + _this._design0$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogText"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("Design"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "value", _this.value); - t2.add$2(t1, "size", _this.size); - t2.add$2(t1, "tooltip", _this.tooltip); + t2.add$2(t1, "version", _this.version); + t2.add$2(t1, "geometry", _this.geometry); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$label: function(receiver) { - return this.label; + set$__color_of_domain(__color_of_domain) { + this.__color_of_domain = type$.nullable_BuiltMap_Domain_Color._as(__color_of_domain); }, - get$value: function(receiver) { - return this.value; - } - }; - E.DialogTextBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; + set$__address_crossover_pairs_by_helix_idx(__address_crossover_pairs_by_helix_idx) { + this.__address_crossover_pairs_by_helix_idx = type$.nullable_BuiltMap_of_int_and_BuiltList_Tuple2_Address_Crossover._as(__address_crossover_pairs_by_helix_idx); }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + set$__strands_by_id(__strands_by_id) { + this.__strands_by_id = type$.nullable_BuiltMap_String_Strand._as(__strands_by_id); }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._dialog$_value = $$v.value; - _this._size = $$v.size; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; - } - return _this; + set$__domains_by_id(__domains_by_id) { + this.__domains_by_id = type$.nullable_BuiltMap_String_Domain._as(__domains_by_id); }, - build$0: function() { - var t1, t2, t3, _this = this, - _s10_ = "DialogText", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "label")); - t2 = _this.get$_dialog$_$this()._dialog$_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "value")); - t3 = _this.get$_dialog$_$this()._size; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "size")); - _$result = new E._$DialogText(t1, t2, t3, _this.get$_dialog$_$this()._tooltip); - } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogTextArea.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.DialogTextArea && _this.label === other.label && _this.cols === other.cols && _this.rows === other.rows && _this.value === other.value && _this.tooltip == other.tooltip; + set$__loopouts_by_id(__loopouts_by_id) { + this.__loopouts_by_id = type$.nullable_BuiltMap_String_Loopout._as(__loopouts_by_id); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSInt_methods.get$hashCode(_this.cols)), C.JSInt_methods.get$hashCode(_this.rows)), C.JSString_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + set$__extensions_by_id(__extensions_by_id) { + this.__extensions_by_id = type$.nullable_BuiltMap_String_Extension._as(__extensions_by_id); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogTextArea"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "cols", _this.cols); - t2.add$2(t1, "rows", _this.rows); - t2.add$2(t1, "value", _this.value); - t2.add$2(t1, "tooltip", _this.tooltip); - return t2.toString$0(t1); + set$__crossovers_by_id(__crossovers_by_id) { + this.__crossovers_by_id = type$.nullable_BuiltMap_String_Crossover._as(__crossovers_by_id); }, - get$label: function(receiver) { - return this.label; + set$__deletions_by_id(__deletions_by_id) { + this.__deletions_by_id = type$.nullable_BuiltMap_String_SelectableDeletion._as(__deletions_by_id); }, - get$value: function(receiver) { - return this.value; - } - }; - E.DialogTextAreaBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; + set$__insertions_by_id(__insertions_by_id) { + this.__insertions_by_id = type$.nullable_BuiltMap_String_SelectableInsertion._as(__insertions_by_id); }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + set$__modifications_by_id(__modifications_by_id) { + this.__modifications_by_id = type$.nullable_BuiltMap_String_SelectableModification._as(__modifications_by_id); }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._cols = $$v.cols; - _this._rows = $$v.rows; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; - } - return _this; + set$__ends_by_id(__ends_by_id) { + this.__ends_by_id = type$.nullable_BuiltMap_String_DNAEnd._as(__ends_by_id); }, - build$0: function() { - var t1, t2, t3, t4, _this = this, - _s14_ = "DialogTextArea", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "label")); - t2 = _this.get$_dialog$_$this()._cols; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "cols")); - t3 = _this.get$_dialog$_$this()._rows; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "rows")); - t4 = _this.get$_dialog$_$this()._dialog$_value; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "value")); - _$result = new E._$DialogTextArea(t1, t2, t3, t4, _this.get$_dialog$_$this()._tooltip); - } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogCheckbox.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_DialogCheckboxBuilder._as(updates); - t1 = new E.DialogCheckboxBuilder(); - t1._dialog$_$v = this; - updates.call$1(t1); - return t1.build$0(); + set$__selectable_by_id(__selectable_by_id) { + this.__selectable_by_id = type$.nullable_BuiltMap_String_Selectable._as(__selectable_by_id); }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.DialogCheckbox && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; + set$__strands_overlapping(__strands_overlapping) { + this.__strands_overlapping = type$.nullable_BuiltMap_of_Strand_and_BuiltList_Strand._as(__strands_overlapping); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSBool_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + set$__domain_mismatches_map(__domain_mismatches_map) { + this.__domain_mismatches_map = type$.nullable_BuiltMap_of_Domain_and_BuiltList_Mismatch._as(__domain_mismatches_map); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogCheckbox"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "value", this.value); - t2.add$2(t1, "tooltip", this.tooltip); - return t2.toString$0(t1); + set$__unpaired_insertion_deletion_map(__unpaired_insertion_deletion_map) { + this.__unpaired_insertion_deletion_map = type$.nullable_BuiltMap_of_Domain_and_BuiltList_Address._as(__unpaired_insertion_deletion_map); }, - get$label: function(receiver) { - return this.label; + set$__end_to_domain(__end_to_domain) { + this.__end_to_domain = type$.nullable_BuiltMap_DNAEnd_Domain._as(__end_to_domain); }, - get$value: function(receiver) { - return this.value; - } - }; - E.DialogCheckboxBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; + set$__end_to_extension(__end_to_extension) { + this.__end_to_extension = type$.nullable_BuiltMap_DNAEnd_Extension._as(__end_to_extension); }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + set$__substrand_to_strand(__substrand_to_strand) { + this.__substrand_to_strand = type$.nullable_BuiltMap_Substrand_Strand._as(__substrand_to_strand); }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; - } - return _this; + set$__strand_to_index(__strand_to_index) { + this.__strand_to_index = type$.nullable_BuiltMap_Strand_int._as(__strand_to_index); }, - build$0: function() { - var t1, t2, _this = this, - _s14_ = "DialogCheckbox", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "label")); - t2 = _this.get$_dialog$_$this()._dialog$_value; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "value")); - _$result = new E._$DialogCheckbox(t1, t2, _this.get$_dialog$_$this()._tooltip); - } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogRadio.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_DialogRadioBuilder._as(updates); - t1 = new E.DialogRadioBuilder(); - t1._dialog$_$v = this; - updates.call$1(t1); - return t1.build$0(); + set$__crossover_to_strand(__crossover_to_strand) { + this.__crossover_to_strand = type$.nullable_BuiltMap_Crossover_Strand._as(__crossover_to_strand); }, - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.DialogRadio && J.$eq$(_this.options, other.options) && _this.selected_idx === other.selected_idx && _this.label === other.label && _this.radio === other.radio && J.$eq$(_this.option_tooltips, other.option_tooltips) && _this.tooltip == other.tooltip; + set$__linker_to_strand(__linker_to_strand) { + this.__linker_to_strand = type$.nullable_BuiltMap_Linker_Strand._as(__linker_to_strand); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.options)), C.JSInt_methods.get$hashCode(_this.selected_idx)), C.JSString_methods.get$hashCode(_this.label)), C.JSBool_methods.get$hashCode(_this.radio)), J.get$hashCode$(_this.option_tooltips)), J.get$hashCode$(_this.tooltip))) : t1; + set$__helix_idxs(__helix_idxs) { + this.__helix_idxs = type$.nullable_BuiltList_int._as(__helix_idxs); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogRadio"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "options", _this.options); - t2.add$2(t1, "selected_idx", _this.selected_idx); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "radio", _this.radio); - t2.add$2(t1, "option_tooltips", _this.option_tooltips); - t2.add$2(t1, "tooltip", _this.tooltip); - return t2.toString$0(t1); + set$__helix_idx_to_domains(__helix_idx_to_domains) { + this.__helix_idx_to_domains = type$.nullable_BuiltMap_of_int_and_BuiltList_Domain._as(__helix_idx_to_domains); }, - get$label: function(receiver) { - return this.label; + set$__address_to_end(__address_to_end) { + this.__address_to_end = type$.nullable_BuiltMap_Address_DNAEnd._as(__address_to_end); + }, + set$__end_to_address(__end_to_address) { + this.__end_to_address = type$.nullable_BuiltMap_DNAEnd_Address._as(__end_to_address); + }, + set$__address_5p_to_strand(__address_5p_to_strand) { + this.__address_5p_to_strand = type$.nullable_BuiltMap_Address_Strand._as(__address_5p_to_strand); + }, + set$__address_3p_to_strand(__address_3p_to_strand) { + this.__address_3p_to_strand = type$.nullable_BuiltMap_Address_Strand._as(__address_3p_to_strand); + }, + set$__address_5p_to_domain(__address_5p_to_domain) { + this.__address_5p_to_domain = type$.nullable_BuiltMap_Address_Domain._as(__address_5p_to_domain); + }, + set$__address_3p_to_domain(__address_3p_to_domain) { + this.__address_3p_to_domain = type$.nullable_BuiltMap_Address_Domain._as(__address_3p_to_domain); + }, + set$__potential_vertical_crossovers(__potential_vertical_crossovers) { + this.__potential_vertical_crossovers = type$.nullable_BuiltList_PotentialVerticalCrossover._as(__potential_vertical_crossovers); + }, + set$__helix_idxs_in_group(__helix_idxs_in_group) { + this.__helix_idxs_in_group = type$.nullable_BuiltMap_of_String_and_BuiltList_int._as(__helix_idxs_in_group); + }, + set$__domain_name_mismatches(__domain_name_mismatches) { + this.__domain_name_mismatches = type$.nullable_BuiltMap_of_int_and_BuiltList_DomainNameMismatch._as(__domain_name_mismatches); + }, + set$__all_domains(__all_domains) { + this.__all_domains = type$.nullable_BuiltList_Domain._as(__all_domains); + }, + set$__helix_to_crossover_addresses(__helix_to_crossover_addresses) { + this.__helix_to_crossover_addresses = type$.nullable_BuiltMap_of_int_and_BuiltList_Address._as(__helix_to_crossover_addresses); + }, + set$__helix_to_crossover_addresses_disallow_intrahelix(__helix_to_crossover_addresses_disallow_intrahelix) { + this.__helix_to_crossover_addresses_disallow_intrahelix = type$.nullable_BuiltMap_of_int_and_BuiltList_Address._as(__helix_to_crossover_addresses_disallow_intrahelix); + }, + set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup) { + this.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = type$.nullable_BuiltMap_of_int_and_BuiltList_Address._as(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup); } }; - E.DialogRadioBuilder.prototype = { - get$options: function(_) { - var t1 = this.get$_dialog$_$this(), - t2 = t1._options; + A.DesignBuilder.prototype = { + get$geometry(_) { + var t1 = this.get$_design0$_$this(), + t2 = t1._geometry; + return t2 == null ? t1._geometry = new A.GeometryBuilder() : t2; + }, + get$helices() { + var t1 = this.get$_design0$_$this(), + t2 = t1._helices; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); - t1.set$_options(t2); + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + t1.set$_helices(t2); t1 = t2; } else t1 = t2; return t1; }, - get$option_tooltips: function() { - var t1 = this.get$_dialog$_$this(), - t2 = t1._option_tooltips; + get$strands() { + var t1 = this.get$_design0$_$this(), + t2 = t1._strands; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); - t1.set$_option_tooltips(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_strands(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_dialog$_$this: function() { - var t1, _this = this, - $$v = _this._dialog$_$v; + get$groups() { + var t1 = this.get$_design0$_$this(), + t2 = t1._groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); + t1.set$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields() { + var t1 = this.get$_design0$_$this(), + t2 = t1._unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_design0$_$this() { + var t1, t2, _this = this, + $$v = _this._design0$_$v; if ($$v != null) { - t1 = $$v.options; + _this._version = $$v.version; + t1 = $$v.geometry; t1.toString; - _this.set$_options(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._dialog$_selected_idx = $$v.selected_idx; - _this._dialog$_label = $$v.label; - _this._radio = $$v.radio; - t1 = $$v.option_tooltips; + t2 = new A.GeometryBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Geometry); + t2._geometry$_$v = t1; + _this._geometry = t2; + t2 = $$v.helices; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_helices(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.strands; t1.toString; - _this.set$_option_tooltips(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; + _this.set$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.groups; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_groups(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.unused_fields; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._design0$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s11_ = "DialogRadio", + _design0$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, _s6_ = "Design", + _s8_ = "geometry", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._dialog$_$v; + _$result0 = _this._design0$_$v; if (_$result0 == null) { - t1 = _this.get$options(_this).build$0(); - t2 = _this.get$_dialog$_$this()._dialog$_selected_idx; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "selected_idx")); - t3 = _this.get$_dialog$_$this()._dialog$_label; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); - t4 = _this.get$_dialog$_$this()._radio; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "radio")); - t5 = _this.get$option_tooltips().build$0(); - _$result0 = new E._$DialogRadio(t1, t2, t3, t4, t5, _this.get$_dialog$_$this()._tooltip); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "options")); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "option_tooltips")); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design0$_$this()._version, _s6_, "version", t1); + t3 = _this.get$geometry(_this)._geometry$_build$0(); + t4 = _this.get$helices().build$0(); + t5 = _this.get$strands().build$0(); + t6 = _this.get$groups().build$0(); + t7 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Design(t2, t3, t4, t5, t6, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s6_, "version", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s6_, _s8_, type$.Geometry); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, "helices", type$.BuiltMap_int_Helix); + A.BuiltValueNullFieldError_checkNotNull(t5, _s6_, "strands", type$.BuiltList_Strand); + A.BuiltValueNullFieldError_checkNotNull(t6, _s6_, "groups", type$.BuiltMap_String_HelixGroup); + A.BuiltValueNullFieldError_checkNotNull(t7, _s6_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "options"; - _this.get$options(_this).build$0(); - _$failedField = "option_tooltips"; - _this.get$option_tooltips().build$0(); + _$failedField._value = _s8_; + _this.get$geometry(_this)._geometry$_build$0(); + _$failedField._value = "helices"; + _this.get$helices().build$0(); + _$failedField._value = "strands"; + _this.get$strands().build$0(); + _$failedField._value = "groups"; + _this.get$groups().build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s6_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DialogRadio._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dialog$_$v = t1; + t1 = type$.Design; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._design0$_$v = t2; return _$result; }, - set$_options: function(_options) { - this._options = type$.legacy_ListBuilder_legacy_String._as(_options); - }, - set$_option_tooltips: function(_option_tooltips) { - this._option_tooltips = type$.legacy_ListBuilder_legacy_String._as(_option_tooltips); - } - }; - E._$DialogLink.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof E.DialogLink && _this.label === other.label && _this.link === other.link && _this.value === other.value && _this.tooltip == other.tooltip; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.link)), C.JSString_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + set$_helices(_helices) { + this._helices = type$.nullable_MapBuilder_int_Helix._as(_helices); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLink"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "link", _this.link); - t2.add$2(t1, "value", _this.value); - t2.add$2(t1, "tooltip", _this.tooltip); - return t2.toString$0(t1); + set$_strands(_strands) { + this._strands = type$.nullable_ListBuilder_Strand._as(_strands); }, - get$label: function(receiver) { - return this.label; + set$_groups(_groups) { + this._groups = type$.nullable_MapBuilder_String_HelixGroup._as(_groups); }, - get$value: function(receiver) { - return this.value; + set$_unused_fields(_unused_fields) { + this._unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - E.DialogLinkBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; - }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; + A._Design_Object_UnusedFields.prototype = {}; + A.DesignSideRotationParams.prototype = {}; + A.DesignSideRotationParams_DesignSideRotationParams_closure.prototype = { + call$1(b) { + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx = this.helix_idx; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = this.offset; + return b; }, - get$_dialog$_$this: function() { - var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._link = $$v.link; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; - } - return _this; - }, - build$0: function() { - var t1, t2, t3, _this = this, - _s10_ = "DialogLink", - _$result = _this._dialog$_$v; - if (_$result == null) { - t1 = _this.get$_dialog$_$this()._dialog$_label; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "label")); - t2 = _this.get$_dialog$_$this()._link; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "link")); - t3 = _this.get$_dialog$_$this()._dialog$_value; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "value")); - _$result = new E._$DialogLink(t1, t2, t3, _this.get$_dialog$_$this()._tooltip); - } - return _this._dialog$_$v = _$result; - } - }; - E._$DialogLabel.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof E.DialogLabel && this.label === other.label && this.value === other.value && true; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dialog$__hashCode; - return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.value)), C.JSNull_methods.get$hashCode(_this.tooltip))) : t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLabel"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "label", this.label); - t2.add$2(t1, "value", this.value); - t2.add$2(t1, "tooltip", this.tooltip); - return t2.toString$0(t1); - }, - get$label: function(receiver) { - return this.label; - }, - get$value: function(receiver) { - return this.value; - } + $signature: 347 }; - E.DialogLabelBuilder.prototype = { - get$value: function(_) { - return this.get$_dialog$_$this()._dialog$_value; - }, - set$value: function(_, value) { - this.get$_dialog$_$this()._dialog$_value = value; - }, - get$_dialog$_$this: function() { + A.DesignSideRotationData.prototype = {}; + A.DesignSideRotationData_DesignSideRotationData_closure.prototype = { + call$1(b) { var _this = this, - $$v = _this._dialog$_$v; - if ($$v != null) { - _this._dialog$_label = $$v.label; - _this._dialog$_value = $$v.value; - _this._tooltip = $$v.tooltip; - _this._dialog$_$v = null; - } - return _this; - } - }; - E._Dialog_Object_BuiltJsonSerializable.prototype = {}; - E._DialogCheckbox_Object_BuiltJsonSerializable.prototype = {}; - E._DialogFloat_Object_BuiltJsonSerializable.prototype = {}; - E._DialogInteger_Object_BuiltJsonSerializable.prototype = {}; - E._DialogLabel_Object_BuiltJsonSerializable.prototype = {}; - E._DialogLink_Object_BuiltJsonSerializable.prototype = {}; - E._DialogRadio_Object_BuiltJsonSerializable.prototype = {}; - E._DialogText_Object_BuiltJsonSerializable.prototype = {}; - E._DialogTextArea_Object_BuiltJsonSerializable.prototype = {}; - X.DNAAssignOptions.prototype = {}; - X.DNAAssignOptions_DNAAssignOptions_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = _this.dna_sequence; - b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = _this.use_predefined_dna_sequence; - b.get$_dna_assign_options$_$this()._assign_complements = _this.assign_complements; - b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = _this.disable_change_sequence_bound_strand; - b.get$_dna_assign_options$_$this()._m13_rotation = _this.m13_rotation; + t1 = b.get$helix(), + t2 = _this.helix; + A.ArgumentError_checkNotNull(t2, "other", type$.Helix); + t1._helix$_$v = t2; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = _this.offset; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = _this.color_forward; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = _this.color_reverse; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = _this.roll_forward; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = _this.minor_groove_angle; return b; }, - $signature: 369 + $signature: 348 }; - X._$DNAAssignOptionsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DNAAssignOptions._as(object); - result = H.setRuntimeTypeInfo(["use_predefined_dna_sequence", serializers.serialize$2$specifiedType(object.use_predefined_dna_sequence, C.FullType_MtR), "assign_complements", serializers.serialize$2$specifiedType(object.assign_complements, C.FullType_MtR), "disable_change_sequence_bound_strand", serializers.serialize$2$specifiedType(object.disable_change_sequence_bound_strand, C.FullType_MtR), "m13_rotation", serializers.serialize$2$specifiedType(object.m13_rotation, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.dna_sequence; - if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A._$DesignSideRotationParamsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DesignSideRotationParams._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, key, value, t1; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new X.DNAAssignOptionsBuilder(); - X.DNAAssignOptions__initializeBuilder(result); - iterator = J.get$iterator$ax(serialized); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.DesignSideRotationParamsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dna_sequence": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = t1; - break; - case "use_predefined_dna_sequence": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = t1; - break; - case "assign_complements": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_assign_options$_$this()._assign_complements = t1; - break; - case "disable_change_sequence_bound_strand": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = t1; + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._design_side_rotation_data$_$v; + if ($$v != null) { + result._design_side_rotation_data$_helix_idx = $$v.helix_idx; + result._design_side_rotation_data$_offset = $$v.offset; + result._design_side_rotation_data$_$v = null; + } + result._design_side_rotation_data$_helix_idx = t1; break; - case "m13_rotation": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_assign_options$_$this()._m13_rotation = t1; + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._design_side_rotation_data$_$v; + if ($$v != null) { + result._design_side_rotation_data$_helix_idx = $$v.helix_idx; + result._design_side_rotation_data$_offset = $$v.offset; + result._design_side_rotation_data$_$v = null; + } + result._design_side_rotation_data$_offset = t1; break; } } - return result.build$0(); + return result._design_side_rotation_data$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_6hp; - }, - get$wireName: function() { - return "DNAAssignOptions"; - } - }; - X._$DNAAssignOptions.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof X.DNAAssignOptions && _this.dna_sequence == other.dna_sequence && _this.use_predefined_dna_sequence === other.use_predefined_dna_sequence && _this.assign_complements === other.assign_complements && _this.disable_change_sequence_bound_strand === other.disable_change_sequence_bound_strand && _this.m13_rotation === other.m13_rotation; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dna_assign_options$__hashCode; - return t1 == null ? _this._dna_assign_options$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.dna_sequence)), C.JSBool_methods.get$hashCode(_this.use_predefined_dna_sequence)), C.JSBool_methods.get$hashCode(_this.assign_complements)), C.JSBool_methods.get$hashCode(_this.disable_change_sequence_bound_strand)), C.JSInt_methods.get$hashCode(_this.m13_rotation))) : t1; - }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAAssignOptions"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_sequence", _this.dna_sequence); - t2.add$2(t1, "use_predefined_dna_sequence", _this.use_predefined_dna_sequence); - t2.add$2(t1, "assign_complements", _this.assign_complements); - t2.add$2(t1, "disable_change_sequence_bound_strand", _this.disable_change_sequence_bound_strand); - t2.add$2(t1, "m13_rotation", _this.m13_rotation); - return t2.toString$0(t1); - } - }; - X.DNAAssignOptionsBuilder.prototype = { - get$_dna_assign_options$_$this: function() { - var _this = this, - $$v = _this._dna_assign_options$_$v; - if ($$v != null) { - _this._dna_assign_options$_dna_sequence = $$v.dna_sequence; - _this._use_predefined_dna_sequence = $$v.use_predefined_dna_sequence; - _this._assign_complements = $$v.assign_complements; - _this._disable_change_sequence_bound_strand = $$v.disable_change_sequence_bound_strand; - _this._m13_rotation = $$v.m13_rotation; - _this._dna_assign_options$_$v = null; - } - return _this; + get$types() { + return B.List_gn0; }, - build$0: function() { - var t1, t2, t3, t4, t5, _this = this, - _s16_ = "DNAAssignOptions", - _$result = _this._dna_assign_options$_$v; - if (_$result == null) { - t1 = _this.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence; - t2 = _this.get$_dna_assign_options$_$this()._use_predefined_dna_sequence; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "use_predefined_dna_sequence")); - t3 = _this.get$_dna_assign_options$_$this()._assign_complements; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "assign_complements")); - t4 = _this.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "disable_change_sequence_bound_strand")); - t5 = _this.get$_dna_assign_options$_$this()._m13_rotation; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "m13_rotation")); - _$result = new X._$DNAAssignOptions(t1, t2, t3, t4, t5); - } - return _this._dna_assign_options$_$v = _$result; + get$wireName() { + return "DesignSideRotationParams"; } }; - X._DNAAssignOptions_Object_BuiltJsonSerializable.prototype = {}; - Z.DNAEnd.prototype = { - get$is_3p: function() { - return !this.is_5p; - }, - get$select_mode: function() { - if (this.is_5p) - if (this.substrand_is_first) - return C.SelectModeChoice_end_5p_strand; - else - return C.SelectModeChoice_end_5p_domain; - else if (this.substrand_is_last) - return C.SelectModeChoice_end_3p_strand; - else - return C.SelectModeChoice_end_3p_domain; - }, - get$id: function(_) { - return "end-" + (this.is_5p ? "5p" : "3p") + "-" + this.substrand_id; - }, - $isSelectable: 1 - }; - Z.DNAEnd_DNAEnd_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_dna_end$_$this()._dna_end$_offset = _this.offset; - b.get$_dna_end$_$this()._dna_end$_is_5p = _this.is_5p; - b.get$_dna_end$_$this()._is_start = _this.is_start; - b.get$_dna_end$_$this()._substrand_is_first = _this.substrand_is_first; - b.get$_dna_end$_$this()._substrand_is_last = _this.substrand_is_last; - b.get$_dna_end$_$this()._substrand_id = _this.substrand_id; - b.get$_dna_end$_$this()._dna_end$_is_scaffold = _this.is_scaffold; - b.get$_dna_end$_$this()._is_on_extension = _this.is_on_extension; - return b; - }, - $signature: 370 - }; - Z._$DNAEndSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_DNAEnd._as(object); - result = H.setRuntimeTypeInfo(["is_5p", serializers.serialize$2$specifiedType(object.is_5p, C.FullType_MtR), "is_start", serializers.serialize$2$specifiedType(object.is_start, C.FullType_MtR), "is_on_extension", serializers.serialize$2$specifiedType(object.is_on_extension, C.FullType_MtR), "substrand_is_first", serializers.serialize$2$specifiedType(object.substrand_is_first, C.FullType_MtR), "substrand_is_last", serializers.serialize$2$specifiedType(object.substrand_is_last, C.FullType_MtR), "substrand_id", serializers.serialize$2$specifiedType(object.substrand_id, C.FullType_h8g), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.offset; - if (value != null) { - C.JSArray_methods.add$1(result, "offset"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); - } - return result; + A._$DesignSideRotationDataSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DesignSideRotationData._as(object); + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, B.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, B.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, B.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new Z.DNAEndBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.DesignSideRotationDataBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Color, t2 = type$.Helix; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_end$_$this()._dna_end$_offset = t1; - break; - case "is_5p": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._dna_end$_is_5p = t1; - break; - case "is_start": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._is_start = t1; + switch (t3) { + case "helix": + t3 = result.get$_design_side_rotation_data$_$this(); + t4 = t3._design_side_rotation_data$_helix; + if (t4 == null) { + t4 = new A.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._design_side_rotation_data$_helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t4.toString; + t2._as(t4); + t3._helix$_$v = t4; break; - case "is_on_extension": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._is_on_extension = t1; + case "offset": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = t3; break; - case "substrand_is_first": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._substrand_is_first = t1; + case "color_forward": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3.toString; + t1._as(t3); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = t3; break; - case "substrand_is_last": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._substrand_is_last = t1; + case "color_reverse": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3.toString; + t1._as(t3); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = t3; break; - case "substrand_id": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_dna_end$_$this()._substrand_id = t1; + case "roll_forward": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3.toString; + A._asDoubleS(t3); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = t3; break; - case "is_scaffold": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_dna_end$_$this()._dna_end$_is_scaffold = t1; + case "minor_groove_angle": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3.toString; + A._asDoubleS(t3); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = t3; break; } } - return result.build$0(); + return result._design_side_rotation_data$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_6iC; + get$types() { + return B.List_vEs; }, - get$wireName: function() { - return "DNAEnd"; + get$wireName() { + return "DesignSideRotationData"; } }; - Z._$DNAEnd.prototype = { - get$is_3p: function() { - var t1 = this.__is_3p; - return t1 == null ? this.__is_3p = Z.DNAEnd.prototype.get$is_3p.call(this) : t1; - }, - get$select_mode: function() { - var t1 = this._dna_end$__select_mode; - return t1 == null ? this._dna_end$__select_mode = Z.DNAEnd.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._dna_end$__id; - return t1 == null ? _this._dna_end$__id = Z.DNAEnd.prototype.get$id.call(_this, _this) : t1; - }, - $eq: function(_, other) { - var _this = this; + A._$DesignSideRotationParams.prototype = { + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof Z.DNAEnd && _this.offset == other.offset && _this.is_5p === other.is_5p && _this.is_start === other.is_start && _this.is_on_extension === other.is_on_extension && _this.substrand_is_first === other.substrand_is_first && _this.substrand_is_last === other.substrand_is_last && _this.substrand_id === other.substrand_id && _this.is_scaffold === other.is_scaffold; + return other instanceof A.DesignSideRotationParams && this.helix_idx === other.helix_idx && this.offset === other.offset; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dna_end$__hashCode; - return t1 == null ? _this._dna_end$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.offset)), C.JSBool_methods.get$hashCode(_this.is_5p)), C.JSBool_methods.get$hashCode(_this.is_start)), C.JSBool_methods.get$hashCode(_this.is_on_extension)), C.JSBool_methods.get$hashCode(_this.substrand_is_first)), C.JSBool_methods.get$hashCode(_this.substrand_is_last)), C.JSString_methods.get$hashCode(_this.substrand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._design_side_rotation_data$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), B.JSInt_methods.get$hashCode(_this.offset))); + t1 = _this._design_side_rotation_data$__hashCode; + if (t1 == null) { + _this._design_side_rotation_data$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEnd"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationParams"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", _this.offset); - t2.add$2(t1, "is_5p", _this.is_5p); - t2.add$2(t1, "is_start", _this.is_start); - t2.add$2(t1, "is_on_extension", _this.is_on_extension); - t2.add$2(t1, "substrand_is_first", _this.substrand_is_first); - t2.add$2(t1, "substrand_is_last", _this.substrand_is_last); - t2.add$2(t1, "substrand_id", _this.substrand_id); - t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "offset", this.offset); return t2.toString$0(t1); }, - get$offset: function(receiver) { + get$offset(receiver) { return this.offset; - }, - get$is_scaffold: function() { - return this.is_scaffold; } }; - Z.DNAEndBuilder.prototype = { - get$offset: function(_) { - return this.get$_dna_end$_$this()._dna_end$_offset; + A.DesignSideRotationParamsBuilder.prototype = { + get$offset(_) { + return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; }, - get$_dna_end$_$this: function() { + get$_design_side_rotation_data$_$this() { var _this = this, - $$v = _this._dna_end$_$v; + $$v = _this._design_side_rotation_data$_$v; if ($$v != null) { - _this._dna_end$_offset = $$v.offset; - _this._dna_end$_is_5p = $$v.is_5p; - _this._is_start = $$v.is_start; - _this._is_on_extension = $$v.is_on_extension; - _this._substrand_is_first = $$v.substrand_is_first; - _this._substrand_is_last = $$v.substrand_is_last; - _this._substrand_id = $$v.substrand_id; - _this._dna_end$_is_scaffold = $$v.is_scaffold; - _this._dna_end$_$v = null; + _this._design_side_rotation_data$_helix_idx = $$v.helix_idx; + _this._design_side_rotation_data$_offset = $$v.offset; + _this._design_side_rotation_data$_$v = null; } return _this; }, - build$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, _this = this, _s6_ = "DNAEnd", - _$result = _this._dna_end$_$v; + _design_side_rotation_data$_build$0() { + var t1, t2, t3, _this = this, + _s24_ = "DesignSideRotationParams", + _s9_ = "helix_idx", + _$result = _this._design_side_rotation_data$_$v; if (_$result == null) { - t1 = _this.get$_dna_end$_$this()._dna_end$_offset; - t2 = _this.get$_dna_end$_$this()._dna_end$_is_5p; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_5p")); - t3 = _this.get$_dna_end$_$this()._is_start; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_start")); - t4 = _this.get$_dna_end$_$this()._is_on_extension; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_on_extension")); - t5 = _this.get$_dna_end$_$this()._substrand_is_first; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_is_first")); - t6 = _this.get$_dna_end$_$this()._substrand_is_last; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_is_last")); - t7 = _this.get$_dna_end$_$this()._substrand_id; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_id")); - t8 = _this.get$_dna_end$_$this()._dna_end$_is_scaffold; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); - _$result = new Z._$DNAEnd(t1, t2, t3, t4, t5, t6, t7, t8); - } - return _this._dna_end$_$v = _$result; - } - }; - Z._DNAEnd_Object_SelectableMixin.prototype = {}; - Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - B.DNAEndsMove.prototype = { - get$ends_moving: function() { - var t2, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); - for (t2 = J.get$iterator$ax(this.moves._list); t2.moveNext$0();) - t1.push(t2.get$current(t2).dna_end); - return D._BuiltList$of(t1, type$.legacy_DNAEnd); - }, - get$delta: function() { - var t1 = this.current_offset, - t2 = this.original_offset; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 - t2; - }, - get$is_nontrivial: function() { - var t1, t2, t3, t4; - if (this.get$delta() === 0) - return false; - for (t1 = J.get$iterator$ax(this.moves._list); t1.moveNext$0();) { - t2 = t1.get$current(t1).dna_end; - t3 = this.current_capped_offset_of$1(t2); - t4 = t2.is_start; - t2 = t2.offset; - if (!t4) { - if (typeof t2 !== "number") - return t2.$sub(); - --t2; - } - if (t3 != t2) - return true; - } - return false; - }, - current_capped_offset_of$1: function(end) { - var t1, t2, t3, t4, current_offset_end, _this = this; - for (t1 = J.get$iterator$ax(_this.moves._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = t2.dna_end; - if (J.$eq$(t3, end)) { - t1 = t3.is_start; - t3 = t3.offset; - if (t1) - t1 = t3; - else { - if (typeof t3 !== "number") - return t3.$sub(); - t1 = t3 - 1; - } - t3 = _this._dna_ends_move$__delta; - if (t3 == null) { - t3 = _this._dna_ends_move$__delta = B.DNAEndsMove.prototype.get$delta.call(_this); - t4 = t3; - } else - t4 = t3; - if (typeof t1 !== "number") - return t1.$add(); - current_offset_end = t1 + t3; - t1 = t4 > 0; - if (t1) - current_offset_end = Math.min(t2.highest_offset, current_offset_end); - else { - t1 = t4 < 0; - if (t1) - current_offset_end = Math.max(t2.lowest_offset, current_offset_end); - } - return current_offset_end; - } - } - return null; - } - }; - B.DNAEndMove.prototype = {}; - B._$DNAEndsMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAEndsMove._as(object); - return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new B.DNAEndsMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Helix, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_DNAEndMove, t4 = type$.List_legacy_DNAEndMove, t5 = type$.ListBuilder_legacy_DNAEndMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "moves": - t6 = result.get$_dna_ends_move$_$this(); - t7 = t6._moves; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_moves(t7); - t6 = t7; - } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_TgZ)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); - } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); - } - break; - case "original_offset": - t6 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset = t6; - break; - case "helix": - t6 = result.get$_dna_ends_move$_$this(); - t7 = t6._dna_ends_move$_helix; - if (t7 == null) { - t7 = new O.HelixBuilder(); - t7.get$_helix$_$this()._group = "default_group"; - t7.get$_helix$_$this()._min_offset = 0; - t7.get$_helix$_$this()._roll = 0; - t6._dna_ends_move$_helix = t7; - t6 = t7; - } else - t6 = t7; - t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t7 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t6._helix$_$v = t7; - break; - case "current_offset": - t6 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t6; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_6pZ; - }, - get$wireName: function() { - return "DNAEndsMove"; - } - }; - B._$DNAEndMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAEndMove._as(object); - return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(object.dna_end, C.FullType_QR4), "lowest_offset", serializers.serialize$2$specifiedType(object.lowest_offset, C.FullType_kjq), "highest_offset", serializers.serialize$2$specifiedType(object.highest_offset, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new B.DNAEndMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "dna_end": - t2 = result.get$_dna_ends_move$_$this(); - t3 = t2._dna_end; - t2 = t3 == null ? t2._dna_end = new Z.DNAEndBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._dna_end$_$v = t3; - break; - case "lowest_offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_ends_move$_$this()._lowest_offset = t2; - break; - case "highest_offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_dna_ends_move$_$this()._highest_offset = t2; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_A2Y; - }, - get$wireName: function() { - return "DNAEndMove"; + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx, _s24_, _s9_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset, _s24_, "offset", t1); + _$result = new A._$DesignSideRotationParams(t2, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s24_, _s9_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s24_, "offset", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DesignSideRotationParams); + return _this._design_side_rotation_data$_$v = _$result; } }; - B._$DNAEndsMove.prototype = { - get$delta: function() { - var t1 = this._dna_ends_move$__delta; - return t1 == null ? this._dna_ends_move$__delta = B.DNAEndsMove.prototype.get$delta.call(this) : t1; - }, - $eq: function(_, other) { - var _this = this; + A._$DesignSideRotationData.prototype = { + $eq(_, other) { + var t1, t2, _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof B.DNAEndsMove && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && _this.current_offset == other.current_offset; + if (other instanceof A.DesignSideRotationData) + if (J.$eq$(_this.helix, other.helix)) + if (_this.offset === other.offset) { + t1 = _this.color_forward; + t2 = other.color_forward; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + if (t1 === t2) { + t1 = _this.color_reverse; + t2 = other.color_reverse; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._dna_ends_move$__hashCode; - return t1 == null ? _this._dna_ends_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.current_offset))) : t1; + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._design_side_rotation_data$__hashCode; + if (t1 != null) + return t1; + t1 = _this.color_forward; + t2 = _this.color_reverse; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.helix)), B.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSNumber_methods.get$hashCode(_this.roll_forward)), B.JSNumber_methods.get$hashCode(_this.minor_groove_angle))); + t2 = _this._design_side_rotation_data$__hashCode; + if (t2 == null) { + _this._design_side_rotation_data$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMove"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationData"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "moves", _this.moves); - t2.add$2(t1, "original_offset", _this.original_offset); t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "current_offset", _this.current_offset); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "color_forward", _this.color_forward); + t2.add$2(t1, "color_reverse", _this.color_reverse); + t2.add$2(t1, "roll_forward", _this.roll_forward); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); return t2.toString$0(t1); }, - set$__ends_moving: function(__ends_moving) { - this.__ends_moving = type$.legacy_BuiltList_legacy_DNAEnd._as(__ends_moving); + get$offset(receiver) { + return this.offset; } }; - B.DNAEndsMoveBuilder.prototype = { - get$moves: function() { - var t1 = this.get$_dna_ends_move$_$this(), - t2 = t1._moves; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); - t1.set$_moves(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$helix: function() { - var t1 = this.get$_dna_ends_move$_$this(), - t2 = t1._dna_ends_move$_helix; + A.DesignSideRotationDataBuilder.prototype = { + get$helix() { + var t1 = this.get$_design_side_rotation_data$_$this(), + t2 = t1._design_side_rotation_data$_helix; if (t2 == null) { - t2 = new O.HelixBuilder(); + t2 = new A.HelixBuilder(); t2.get$_helix$_$this()._group = "default_group"; t2.get$_helix$_$this()._min_offset = 0; t2.get$_helix$_$this()._roll = 0; - t1._dna_ends_move$_helix = t2; + t1._design_side_rotation_data$_helix = t2; t1 = t2; } else t1 = t2; return t1; }, - get$_dna_ends_move$_$this: function() { + get$offset(_) { + return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + }, + get$_design_side_rotation_data$_$this() { var t1, t2, _this = this, - $$v = _this._dna_ends_move$_$v; + $$v = _this._design_side_rotation_data$_$v; if ($$v != null) { - t1 = $$v.moves; - t1.toString; - _this.set$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._dna_ends_move$_original_offset = $$v.original_offset; t1 = $$v.helix; t1.toString; - t2 = new O.HelixBuilder(); + t2 = new A.HelixBuilder(); t2.get$_helix$_$this()._group = "default_group"; t2.get$_helix$_$this()._min_offset = 0; t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); t2._helix$_$v = t1; - _this._dna_ends_move$_helix = t2; - _this._dna_ends_move$_current_offset = $$v.current_offset; - _this._dna_ends_move$_$v = null; + _this._design_side_rotation_data$_helix = t2; + _this._design_side_rotation_data$_offset = $$v.offset; + _this._design_side_rotation_data$_color_forward = $$v.color_forward; + _this._design_side_rotation_data$_color_reverse = $$v.color_reverse; + _this._design_side_rotation_data$_roll_forward = $$v.roll_forward; + _this._design_side_rotation_data$_minor_groove_angle = $$v.minor_groove_angle; + _this._design_side_rotation_data$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s11_ = "DNAEndsMove", + _design_side_rotation_data$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, _this = this, + _s22_ = "DesignSideRotationData", + _s13_ = "color_forward", + _s13_0 = "color_reverse", + _s12_ = "roll_forward", + _s18_ = "minor_groove_angle", _$result = null; try { - _$result0 = _this._dna_ends_move$_$v; + _$result0 = _this._design_side_rotation_data$_$v; if (_$result0 == null) { - t1 = _this.get$moves().build$0(); - t2 = _this.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "original_offset")); - t3 = _this.get$helix().build$0(); - t4 = _this.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "current_offset")); - _$result0 = B._$DNAEndsMove$_(t4, t3, t1, t2); + t1 = _this.get$helix()._helix$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset, _s22_, "offset", t2); + t4 = type$.Color; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward, _s22_, _s13_, t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse, _s22_, _s13_0, t4); + t7 = type$.double; + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward, _s22_, _s12_, t7); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle, _s22_, _s18_, t7); + _$result0 = new A._$DesignSideRotationData(t1, t3, t5, t6, t8, t9); + A.BuiltValueNullFieldError_checkNotNull(t1, _s22_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(t3, _s22_, "offset", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s22_, _s13_, t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s22_, _s13_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t8, _s22_, _s12_, t7); + A.BuiltValueNullFieldError_checkNotNull(t9, _s22_, _s18_, t7); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "moves"; - _this.get$moves().build$0(); - _$failedField = "helix"; - _this.get$helix().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s22_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DNAEndsMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dna_ends_move$_$v = t1; + t1 = type$.DesignSideRotationData; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._design_side_rotation_data$_$v = t2; return _$result; - }, - set$_moves: function(_moves) { - this._moves = type$.legacy_ListBuilder_legacy_DNAEndMove._as(_moves); } }; - B._$DNAEndMove.prototype = { - $eq: function(_, other) { + A._DesignSideRotationData_Object_BuiltJsonSerializable.prototype = {}; + A._DesignSideRotationParams_Object_BuiltJsonSerializable.prototype = {}; + A.DialogType.prototype = {}; + A.Dialog.prototype = {}; + A.Dialog_Dialog_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_dialog$_$this()._title = _this.title; + b.get$_dialog$_$this()._dialog$_type = _this.type; + t1 = type$.nullable_dynamic_Function_BuiltList_DialogItem._as(_this.process_saved_response); + b.get$_dialog$_$this().set$_process_saved_response(t1); + b.get$_dialog$_$this()._use_saved_response = _this.use_saved_response; + b.get$items(b).replace$1(0, _this.items); + b.get$disable(b).replace$1(0, _this.disable); + b.get$mutually_exclusive_checkbox_groups().replace$1(0, _this.mutually_exclusive_checkbox_groups_half_built); + b.get$disable_when_any_radio_button_selected().replace$1(0, _this.disable_when_any_radio_button_selected_half_built); + b.get$disable_when_any_checkboxes_on().replace$1(0, _this.disable_when_any_checkboxes_on_half_built); + b.get$disable_when_any_checkboxes_off().replace$1(0, _this.disable_when_any_checkboxes_off_half_built); + return b; + }, + $signature: 349 + }; + A.DialogInteger.prototype = {$isDialogItem: 1}; + A.DialogInteger_DialogInteger_closure.prototype = { + call$1(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 350 + }; + A.DialogFloat.prototype = {$isDialogItem: 1}; + A.DialogFloat_DialogFloat_closure.prototype = { + call$1(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 351 + }; + A.DialogText.prototype = {$isDialogItem: 1}; + A.DialogText_DialogText_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_dialog$_$this()._dialog$_label = _this.label; + t1 = _this._box_0.size; + b.get$_dialog$_$this()._size = t1; + b.get$_dialog$_$this()._dialog$_value = _this.value; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + return b; + }, + $signature: 352 + }; + A.DialogTextArea.prototype = {$isDialogItem: 1}; + A.DialogTextArea_DialogTextArea_closure.prototype = { + call$1(b) { var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof B.DNAEndMove && J.$eq$(_this.dna_end, other.dna_end) && _this.lowest_offset === other.lowest_offset && _this.highest_offset === other.highest_offset; + b.get$_dialog$_$this()._dialog$_label = _this.label; + b.get$_dialog$_$this()._cols = _this.cols; + b.get$_dialog$_$this()._rows = _this.rows; + b.get$_dialog$_$this()._dialog$_value = _this.value; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + return b; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.dna_end)), C.JSInt_methods.get$hashCode(this.lowest_offset)), C.JSInt_methods.get$hashCode(this.highest_offset))); + $signature: 353 + }; + A.DialogCheckbox.prototype = {$isDialogItem: 1}; + A.DialogCheckbox_DialogCheckbox_closure.prototype = { + call$1(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndMove"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_end", this.dna_end); - t2.add$2(t1, "lowest_offset", this.lowest_offset); - t2.add$2(t1, "highest_offset", this.highest_offset); - return t2.toString$0(t1); - } + $signature: 354 }; - B.DNAEndMoveBuilder.prototype = { - get$dna_end: function() { - var t1 = this.get$_dna_ends_move$_$this(), - t2 = t1._dna_end; - return t2 == null ? t1._dna_end = new Z.DNAEndBuilder() : t2; + A.DialogRadio.prototype = { + get$value(_) { + var t1 = this.selected_idx, + t2 = this.options._list; + if (!(t1 >= 0 && t1 < t2.length)) + return A.ioore(t2, t1); + return t2[t1]; }, - get$_dna_ends_move$_$this: function() { - var t1, t2, _this = this, - $$v = _this._dna_ends_move$_$v; - if ($$v != null) { - t1 = $$v.dna_end; - t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end = t2; - _this._lowest_offset = $$v.lowest_offset; - _this._highest_offset = $$v.highest_offset; - _this._dna_ends_move$_$v = null; - } - return _this; + $isDialogItem: 1 + }; + A.DialogRadio_DialogRadio_closure.prototype = { + call$1(b) { + var _this = this; + b.get$options(b).replace$1(0, _this.options_list); + b.get$_dialog$_$this()._dialog$_selected_idx = _this.selected_idx; + b.get$_dialog$_$this()._radio = _this.radio; + b.get$_dialog$_$this()._dialog$_label = _this.label; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + b.get$option_tooltips().replace$1(0, _this.option_tooltips_list); + return b; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s10_ = "DNAEndMove", - _$result = null; - try { - _$result0 = _this._dna_ends_move$_$v; - if (_$result0 == null) { - t1 = _this.get$dna_end().build$0(); - t2 = _this.get$_dna_ends_move$_$this()._lowest_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "lowest_offset")); - t3 = _this.get$_dna_ends_move$_$this()._highest_offset; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "highest_offset")); - _$result0 = B._$DNAEndMove$_(t1, t3, t2); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "dna_end"; - _this.get$dna_end().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DNAEndMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dna_ends_move$_$v = t1; - return _$result; - } + $signature: 355 }; - B._DNAEndMove_Object_BuiltJsonSerializable.prototype = {}; - B._DNAEndsMove_Object_BuiltJsonSerializable.prototype = {}; - K.DNAExtensionsMove.prototype = { - get$ends_moving: function() { - var t2, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); - for (t2 = J.get$iterator$ax(this.moves._list); t2.moveNext$0();) - t1.push(t2.get$current(t2).dna_end); - return D._BuiltList$of(t1, type$.legacy_DNAEnd); + A.DialogLink.prototype = {$isDialogItem: 1}; + A.DialogLink_DialogLink_closure.prototype = { + call$1(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._link = this.link; + b.get$_dialog$_$this()._dialog$_value = ""; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; }, - current_point_of$1: function(end) { - var t1, t2, t3, t4, t5, t6, t7; - for (t1 = J.get$iterator$ax(this.moves._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (J.$eq$(t2.dna_end, end)) { - t1 = this.current_point; - t3 = t1.$ti; - t4 = t3._as(this.start_point); - t5 = t1.x; - t6 = t4.x; - if (typeof t5 !== "number") - return t5.$sub(); - if (typeof t6 !== "number") - return H.iae(t6); - t7 = t3._precomputed1; - t6 = t7._as(t5 - t6); - t1 = t1.y; - t4 = t4.y; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t4 !== "number") - return H.iae(t4); - t4 = t7._as(t1 - t4); - t2 = t3._as(t2.original_position); - t1 = t2.x; - if (typeof t1 !== "number") - return H.iae(t1); - t1 = t7._as(t6 + t1); - t2 = t2.y; - if (typeof t2 !== "number") - return H.iae(t2); - return new P.Point(t1, t7._as(t4 + t2), t3); - } - } - return null; + $signature: 356 + }; + A.DialogLabel.prototype = {$isDialogItem: 1}; + A.DialogLabel_DialogLabel_closure.prototype = { + call$1(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = ""; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 357 + }; + A._$DialogTypeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.DialogType._as(object).name; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf3(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_DialogType_Zuq; + }, + get$wireName() { + return "DialogType"; } }; - K.DNAExtensionMove.prototype = {}; - K._$DNAExtensionsMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAExtensionsMove._as(object); - return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_j5B), "start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "current_point", serializers.serialize$2$specifiedType(object.current_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._$DialogSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Dialog._as(object); + return ["title", serializers.serialize$2$specifiedType(object.title, B.FullType_h8g), "type", serializers.serialize$2$specifiedType(object.type, B.FullType_Npb), "use_saved_response", serializers.serialize$2$specifiedType(object.use_saved_response, B.FullType_MtR), "items", serializers.serialize$2$specifiedType(object.items, B.FullType_UGn), "mutually_exclusive_checkbox_groups", serializers.serialize$2$specifiedType(object.mutually_exclusive_checkbox_groups, B.FullType_UWS), "disable_when_any_radio_button_selected", serializers.serialize$2$specifiedType(object.disable_when_any_radio_button_selected, B.FullType_4QF), "disable_when_any_checkboxes_on", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_on, B.FullType_i3t), "disable_when_any_checkboxes_off", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_off, B.FullType_i3t), "disable", serializers.serialize$2$specifiedType(object.disable, B.FullType_4QF0)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, - result = new K.DNAExtensionsMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_DNAExtensionMove, t4 = type$.List_legacy_DNAExtensionMove, t5 = type$.ListBuilder_legacy_DNAExtensionMove; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, value, t13, t14, t15, t16, _null = null, + result = new A.DialogBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int, t5 = type$.BuiltList_int, t6 = type$.List_BuiltList_int, t7 = type$.ListBuilder_BuiltList_int, t8 = type$.DialogItem, t9 = type$.List_DialogItem, t10 = type$.ListBuilder_DialogItem, t11 = type$.DialogType; iterator.moveNext$0();) { + t12 = iterator.get$current(iterator); + t12.toString; + A._asStringS(t12); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "moves": - t6 = result.get$_dna_extensions_move$_$this(); - t7 = t6._dna_extensions_move$_moves; - if (t7 == null) { - t7 = new D.ListBuilder(t5); - t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t7.set$_listOwner(null); - t6.set$_dna_extensions_move$_moves(t7); - t6 = t7; + switch (t12) { + case "title": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t12.toString; + A._asStringS(t12); + result.get$_dialog$_$this()._title = t12; + break; + case "type": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_Npb); + t12.toString; + t11._as(t12); + result.get$_dialog$_$this()._dialog$_type = t12; + break; + case "use_saved_response": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12.toString; + A._asBoolS(t12); + result.get$_dialog$_$this()._use_saved_response = t12; + break; + case "items": + t12 = result.get$_dialog$_$this(); + t13 = t12._dialog$_items; + if (t13 == null) { + t13 = new A.ListBuilder(t10); + t13.set$__ListBuilder__list_A(t9._as(A.List_List$from(B.List_empty, true, t8))); + t13.set$_listOwner(_null); + t12.set$_dialog$_items(t13); + t12 = t13; } else - t6 = t7; - t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_j5B)); - t8 = t6.$ti; - t9 = t8._eval$1("_BuiltList<1>"); - t10 = t8._eval$1("List<1>"); - if (t9._is(t7)) { - t9._as(t7); - t6.set$__ListBuilder__list(t10._as(t7._list)); - t6.set$_listOwner(t7); + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_UGn); + t13.toString; + t1._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); } else { - t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); - t6.set$_listOwner(null); + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); } break; - case "start_point": - t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_start_point(t6); + case "mutually_exclusive_checkbox_groups": + t12 = result.get$_dialog$_$this(); + t13 = t12._mutually_exclusive_checkbox_groups; + if (t13 == null) { + t13 = new A.ListBuilder(t7); + t13.set$__ListBuilder__list_A(t6._as(A.List_List$from(B.List_empty, true, t5))); + t13.set$_listOwner(_null); + t12.set$_mutually_exclusive_checkbox_groups(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_UWS); + t13.toString; + t1._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } break; - case "current_point": - t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t6); + case "disable_when_any_radio_button_selected": + t12 = result.get$disable_when_any_radio_button_selected(); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF); + t13.toString; + t12.replace$1(0, t13); + break; + case "disable_when_any_checkboxes_on": + t12 = result.get$disable_when_any_checkboxes_on(); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_i3t); + t13.toString; + t12.replace$1(0, t13); + break; + case "disable_when_any_checkboxes_off": + t12 = result.get$disable_when_any_checkboxes_off(); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_i3t); + t13.toString; + t12.replace$1(0, t13); + break; + case "disable": + t12 = result.get$_dialog$_$this(); + t13 = t12._disable; + if (t13 == null) { + t13 = new A.ListBuilder(t4); + t13.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t13.set$_listOwner(_null); + t12.set$_disable(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t13.toString; + t1._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } break; } } - return result.build$0(); + return result._dialog$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_grL; + get$types() { + return B.List_FCG; }, - get$wireName: function() { - return "DNAExtensionsMove"; + get$wireName() { + return "Dialog"; } }; - K._$DNAExtensionMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DNAExtensionMove._as(object); - return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(object.dna_end, C.FullType_QR4), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx), "original_position", serializers.serialize$2$specifiedType(object.original_position, C.FullType_8eb), "attached_end_position", serializers.serialize$2$specifiedType(object.attached_end_position, C.FullType_8eb), "extension", serializers.serialize$2$specifiedType(object.extension, C.FullType_gT2)], type$.JSArray_legacy_Object); + A._$DialogIntegerSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogInteger._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_kjq), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, - result = new K.DNAExtensionMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Extension, t2 = type$.legacy_Point_legacy_num, t3 = type$.legacy_Color, t4 = type$.legacy_DNAEnd; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogIntegerBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "dna_end": - t5 = result.get$_dna_extensions_move$_$this(); - t6 = t5._dna_extensions_move$_dna_end; - t5 = t6 == null ? t5._dna_extensions_move$_dna_end = new Z.DNAEndBuilder() : t6; - t6 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t6 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t5._dna_end$_$v = t6; - break; - case "color": - t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_dna_extensions_move$_$this()._dna_extensions_move$_color = t5; - break; - case "original_position": - t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_dna_extensions_move$_$this().set$_original_position(t5); + switch (t1) { + case "label": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; break; - case "attached_end_position": - t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_dna_extensions_move$_$this().set$_attached_end_position(t5); + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; break; - case "extension": - t5 = result.get$_dna_extensions_move$_$this(); - t6 = t5._extension; - t5 = t6 == null ? t5._extension = new S.ExtensionBuilder() : t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); - if (t6 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t5._extension$_$v = t6; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; break; } } - return result.build$0(); + return result._dialog$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_NDM; + get$types() { + return B.List_nKT; }, - get$wireName: function() { - return "DNAExtensionMove"; + get$wireName() { + return "DialogInteger"; } }; - K._$DNAExtensionsMove.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof K.DNAExtensionsMove && J.$eq$(_this.moves, other.moves) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point); - }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._dna_extensions_move$__hashCode; - if (t1 == null) { - t1 = _this.start_point; - t2 = _this.current_point; - t2 = _this._dna_extensions_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); - t1 = t2; - } - return t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMove"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "moves", this.moves); - t2.add$2(t1, "start_point", this.start_point); - t2.add$2(t1, "current_point", this.current_point); - return t2.toString$0(t1); + A._$DialogFloatSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogFloat._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_MME), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - set$_dna_extensions_move$__ends_moving: function(__ends_moving) { - this._dna_extensions_move$__ends_moving = type$.legacy_BuiltList_legacy_DNAEnd._as(__ends_moving); - } - }; - K.DNAExtensionsMoveBuilder.prototype = { - get$moves: function() { - var t1 = this.get$_dna_extensions_move$_$this(), - t2 = t1._dna_extensions_move$_moves; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); - t1.set$_dna_extensions_move$_moves(t2); - t1 = t2; - } else - t1 = t2; - return t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$_dna_extensions_move$_$this: function() { - var t1, _this = this, - $$v = _this._dna_extensions_move$_$v; - if ($$v != null) { - t1 = $$v.moves; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogFloatBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); t1.toString; - _this.set$_dna_extensions_move$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this.set$_dna_extensions_move$_start_point($$v.start_point); - _this.set$_dna_extensions_move$_current_point($$v.current_point); - _this._dna_extensions_move$_$v = null; - } - return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s17_ = "DNAExtensionsMove", - _$result = null; - try { - _$result0 = _this._dna_extensions_move$_$v; - if (_$result0 == null) { - t1 = _this.get$moves().build$0(); - t2 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_start_point; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "start_point")); - t3 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_current_point; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "current_point")); - _$result0 = K._$DNAExtensionsMove$_(t3, t1, t2); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "moves"; - _this.get$moves().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "label": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; + break; } - throw exception; } - t1 = type$.legacy_DNAExtensionsMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dna_extensions_move$_$v = t1; - return _$result; + return result._dialog$_build$0(); }, - set$_dna_extensions_move$_moves: function(_moves) { - this._dna_extensions_move$_moves = type$.legacy_ListBuilder_legacy_DNAExtensionMove._as(_moves); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$_dna_extensions_move$_start_point: function(_start_point) { - this._dna_extensions_move$_start_point = type$.legacy_Point_legacy_num._as(_start_point); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ijl; }, - set$_dna_extensions_move$_current_point: function(_current_point) { - this._dna_extensions_move$_current_point = type$.legacy_Point_legacy_num._as(_current_point); + get$wireName() { + return "DialogFloat"; } }; - K._$DNAExtensionMove.prototype = { - _$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position: function(attached_end_position, color, dna_end, extension, original_position) { - var _s16_ = "DNAExtensionMove"; - if (this.dna_end == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "dna_end")); - if (this.extension == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "extension")); + A._$DialogTextSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogText._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_h8g), "size", serializers.serialize$2$specifiedType(object.size, B.FullType_kjq), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - $eq: function(_, other) { - var t1, t2, _this = this; - if (other == null) - return false; - if (other === _this) - return true; - if (other instanceof K.DNAExtensionMove) - if (J.$eq$(_this.dna_end, other.dna_end)) { - t1 = _this.color; - t2 = other.color; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - t1 = t1 === t2 && _this.original_position.$eq(0, other.original_position) && _this.attached_end_position.$eq(0, other.attached_end_position) && J.$eq$(_this.extension, other.extension); - } else - t1 = false; - else - t1 = false; - return t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this.color, - t2 = _this.original_position, - t3 = _this.attached_end_position; - return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.dna_end)), t1.get$hashCode(t1)), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y))), H.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y))), J.get$hashCode$(_this.extension))); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogTextBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "label": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "size": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_dialog$_$this()._size = t1; + break; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result._dialog$_build$0(); }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionMove"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "dna_end", _this.dna_end); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "original_position", _this.original_position); - t2.add$2(t1, "attached_end_position", _this.attached_end_position); - t2.add$2(t1, "extension", _this.extension); - return t2.toString$0(t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Opk; + }, + get$wireName() { + return "DialogText"; } }; - K.DNAExtensionMoveBuilder.prototype = { - get$dna_end: function() { - var t1 = this.get$_dna_extensions_move$_$this(), - t2 = t1._dna_extensions_move$_dna_end; - return t2 == null ? t1._dna_extensions_move$_dna_end = new Z.DNAEndBuilder() : t2; + A._$DialogTextAreaSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogTextArea._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "cols", serializers.serialize$2$specifiedType(object.cols, B.FullType_kjq), "rows", serializers.serialize$2$specifiedType(object.rows, B.FullType_kjq), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_h8g), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - get$extension: function() { - var t1 = this.get$_dna_extensions_move$_$this(), - t2 = t1._extension; - return t2 == null ? t1._extension = new S.ExtensionBuilder() : t2; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$_dna_extensions_move$_$this: function() { - var t1, t2, _this = this, - $$v = _this._dna_extensions_move$_$v; - if ($$v != null) { - t1 = $$v.dna_end; - t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_extensions_move$_dna_end = t2; - _this._dna_extensions_move$_color = $$v.color; - _this.set$_original_position($$v.original_position); - _this.set$_attached_end_position($$v.attached_end_position); - t1 = $$v.extension; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogTextAreaBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); t1.toString; - t2 = new S.ExtensionBuilder(); - t2._extension$_$v = t1; - _this._extension = t2; - _this._dna_extensions_move$_$v = null; - } - return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s16_ = "DNAExtensionMove", - _$result = null; - try { - _$result0 = _this._dna_extensions_move$_$v; - if (_$result0 == null) { - t1 = _this.get$dna_end().build$0(); - t2 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_color; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "color")); - t3 = _this.get$_dna_extensions_move$_$this()._original_position; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "original_position")); - t4 = _this.get$_dna_extensions_move$_$this()._attached_end_position; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "attached_end_position")); - _$result0 = K._$DNAExtensionMove$_(t4, t2, t1, _this.get$extension().build$0(), t3); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "dna_end"; - _this.get$dna_end().build$0(); - _$failedField = "extension"; - _this.get$extension().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "label": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "cols": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_dialog$_$this()._cols = t1; + break; + case "rows": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_dialog$_$this()._rows = t1; + break; + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; + break; } - throw exception; } - t1 = type$.legacy_DNAExtensionMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._dna_extensions_move$_$v = t1; - return _$result; + return result._dialog$_build$0(); }, - set$_original_position: function(_original_position) { - this._original_position = type$.legacy_Point_legacy_num._as(_original_position); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$_attached_end_position: function(_attached_end_position) { - this._attached_end_position = type$.legacy_Point_legacy_num._as(_attached_end_position); - } - }; - K._DNAExtensionMove_Object_BuiltJsonSerializable.prototype = {}; - K._DNAExtensionsMove_Object_BuiltJsonSerializable.prototype = {}; - G.Insertion.prototype = { - toJson$0: function() { - return H.setRuntimeTypeInfo([this.offset, this.length], type$.JSArray_legacy_int); - } - }; - G.Insertion_Insertion_closure.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_offset = this.offset; - b.get$_domain$_$this()._domain$_length = this.count; - return b; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_uwZ; }, - $signature: 47 + get$wireName() { + return "DialogTextArea"; + } }; - G.Domain.prototype = { - get$id: function(_) { - var _this = this, - t1 = "substrand-H" + _this.helix + "-" + _this.start + "-" + _this.end + "-"; - return t1 + (_this.forward ? "forward" : "reverse"); + A._$DialogCheckboxSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogCheckbox._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_MtR), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - get$select_mode: function() { - return C.SelectModeChoice_domain; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$insertion_offset_to_length: function() { - var t3, t4, - t1 = type$.legacy_int, - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - for (t3 = J.get$iterator$ax(this.insertions._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t2.$indexSet(0, t4.offset, t4.length); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogCheckboxBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "label": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; + break; + } } - return A.BuiltMap_BuiltMap(t2, t1, t1); - }, - get$dnaend_start: function() { - var _this = this; - return Z.DNAEnd_DNAEnd(_this.forward, false, _this.is_scaffold, true, _this.start, _this.get$id(_this), _this.is_first, _this.is_last); + return result._dialog$_build$0(); }, - get$dnaend_end: function() { - var _this = this; - return Z.DNAEnd_DNAEnd(!_this.forward, false, _this.is_scaffold, false, _this.end, _this.get$id(_this), _this.is_first, _this.is_last); - }, - get$selectable_deletions: function() { - var t2, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); - for (t2 = J.get$iterator$ax(this.deletions._list), t3 = this.is_scaffold; t2.moveNext$0();) { - t4 = t2.get$current(t2); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectableDeletion", "offset")); - t1.push(new E._$SelectableDeletion(t4, this, t3)); - } - return D._BuiltList$of(t1, type$.legacy_SelectableDeletion); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$selectable_insertions: function() { - var t2, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion); - for (t2 = J.get$iterator$ax(this.insertions._list), t3 = this.is_scaffold; t2.moveNext$0();) { - t4 = t2.get$current(t2); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("SelectableInsertion", "insertion")); - t1.push(new E._$SelectableInsertion(t4, this, t3)); - } - return D._BuiltList$of(t1, type$.legacy_SelectableInsertion); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_OPy; }, - set_dna_sequence$1: function(seq) { - return this.rebuild$1(new G.Domain_set_dna_sequence_closure(seq)); + get$wireName() { + return "DialogCheckbox"; + } + }; + A._$DialogRadioSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogRadio._as(object); + return ["options", serializers.serialize$2$specifiedType(object.options, B.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, B.FullType_kjq), "label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "radio", serializers.serialize$2$specifiedType(object.radio, B.FullType_MtR), "option_tooltips", serializers.serialize$2$specifiedType(object.option_tooltips, B.FullType_6m4), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - is_domain$0: function() { - return true; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - is_loopout$0: function() { - return false; - }, - get$address_start: function() { - return Z._$Address$_(this.forward, this.helix, this.start); - }, - get$address_end: function() { - return Z._$Address$_(this.forward, this.helix, this.end - 1); - }, - get$address_5p: function() { - return this.forward ? this.get$address_start() : this.get$address_end(); - }, - get$address_3p: function() { - return this.forward ? this.get$address_end() : this.get$address_start(); - }, - type_description$0: function() { - return "domain"; - }, - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var t3, t4, _this = this, - t1 = type$.dynamic, - json_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, t1), - t2 = _this.name; - if (t2 != null) - json_map.$indexSet(0, "name", t2); - json_map.$indexSet(0, "helix", _this.helix); - json_map.$indexSet(0, "forward", _this.forward); - json_map.$indexSet(0, "start", _this.start); - json_map.$indexSet(0, "end", _this.end); - t2 = _this.deletions; - if (J.get$isNotEmpty$asx(t2._list)) - json_map.$indexSet(0, "deletions", P.List_List$from(t2, true, t1)); - t2 = _this.insertions; - t3 = t2._list; - t4 = J.getInterceptor$asx(t3); - if (t4.get$isNotEmpty(t3)) - json_map.$indexSet(0, "insertions", P.List_List$from(t4.map$1$1(t3, H._instanceType(t2)._eval$1("@(1)")._as(new G.Domain_to_json_serializable_closure(suppress_indent)), t1), true, t1)); - t1 = _this.color; - if (t1 != null) { - t1 = t1.toHexColor$0(); - json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); - } - t1 = _this.label; - if (t1 != null) - json_map.$indexSet(0, "label", t1); - t1 = _this.unused_fields; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - return suppress_indent ? new K.NoIndent(json_map) : json_map; - }, - get$offset_5p: function() { - return this.forward ? this.start : this.end - 1; - }, - get$offset_3p: function() { - return this.forward ? this.end - 1 : this.start; - }, - dna_length$0: function() { - var t2, _this = this, - t1 = J.get$length$asx(_this.deletions._list); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = _this.__num_insertions; - if (t2 == null) - t2 = _this.__num_insertions = G.Domain.prototype.get$num_insertions.call(_this); - return _this.end - _this.start - t1 + t2; - }, - dna_length_in$2: function(left, right) { - var t1, num_deletions, _this = this; - if (left > right + 1) - throw H.wrapException(P.ArgumentError$("left = " + left + " and right = " + right + " but we should have left <= right + 1")); - t1 = _this.start; - if (t1 > left) - throw H.wrapException(P.ArgumentError$("left = " + left + " should be at least start = " + t1)); - t1 = _this.end; - if (right >= t1) - throw H.wrapException(P.ArgumentError$("right = " + right + " should be at most end - 1 = " + (t1 - 1))); - t1 = _this.deletions; - t1.toString; - t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new G.Domain_dna_length_in_closure(left, right))); - num_deletions = t1.get$length(t1); - t1 = _this.insertions; - t1.toString; - return right - left + 1 - num_deletions + G.Domain_num_insertions_in_list(J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new G.Domain_dna_length_in_closure0(left, right)))); - }, - dna_sequence_deletions_insertions_to_spaces$1$reverse: function(reverse) { - var seq_idx, offset0, insertion_length, _this = this, - seq = _this.dna_sequence, - codeunits = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), - deletions_set = J.toSet$0$ax(_this.deletions._list), - t1 = type$.legacy_int, - insertions_map = P.LinkedHashMap_LinkedHashMap$fromIterable(_this.insertions, new G.Domain_dna_sequence_deletions_insertions_to_spaces_closure(), new G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0(), t1, t1), - offset = _this.get$offset_5p(), - $forward = _this.forward ? 1 : -1, - offset_out_of_bounds = new G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(_this, $forward); - for (t1 = J.getInterceptor$s(seq), seq_idx = 0; !H.boolConversionCheck(offset_out_of_bounds.call$1(offset));) - if (deletions_set.contains$1(0, offset)) { - C.JSArray_methods.add$1(codeunits, 32); - offset += $forward; - } else { - offset0 = offset + $forward; - if (insertions_map.containsKey$1(0, offset)) { - C.JSArray_methods.add$1(codeunits, 32); - insertion_length = insertions_map.$index(0, offset); - if (typeof insertion_length !== "number") - return insertion_length.$add(); - seq_idx += insertion_length + 1; - } else { - C.JSArray_methods.add$1(codeunits, t1.codeUnitAt$1(seq, seq_idx)); - ++seq_idx; - } - offset = offset0; - } - return P.String_String$fromCharCodes(reverse ? new H.ReversedListIterable(codeunits, type$.ReversedListIterable_legacy_int) : codeunits, 0, null); - }, - dna_sequence_in$3$reverse: function(offset_low, offset_high, reverse) { - var t2, t3, str_idx_low, str_idx_high, t0, subseq, _this = this, - t1 = _this.dna_sequence; - if (t1 == null) - return null; - for (t2 = _this.deletions._list, t3 = J.getInterceptor$asx(t2); t3.contains$1(t2, offset_low);) - ++offset_low; - for (; t3.contains$1(t2, offset_high);) - --offset_high; - if (offset_low > offset_high) - return ""; - if (offset_low >= _this.end) - return ""; - if (offset_high < _this.start) - return ""; - t2 = _this.forward; - str_idx_low = _this.substrand_offset_to_substrand_dna_idx$2(offset_low, t2); - t2 = !t2; - str_idx_high = _this.substrand_offset_to_substrand_dna_idx$2(offset_high, t2); - if (t2) { - t0 = str_idx_high; - str_idx_high = str_idx_low; - str_idx_low = t0; - } - subseq = C.JSString_methods.substring$2(t1, str_idx_low, str_idx_high + 1); - return reverse ? new H.ReversedListIterable(H.setRuntimeTypeInfo(subseq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$0(0) : subseq; - }, - dna_sequence_in$2: function(offset_low, offset_high) { - return this.dna_sequence_in$3$reverse(offset_low, offset_high, false); - }, - net_ins_del_length_increase_from_5p_to$2: function(offset_edge, $forward) { - var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, t9, insertion_map, insertion_length, _this = this; - for (t1 = J.get$iterator$ax(_this.deletions._list), t2 = _this.forward, t3 = _this.start, t4 = !t2, t5 = _this.end, length_increase = 0; t1.moveNext$0();) { - t6 = t1.get$current(t1); - if (t2) { - if (typeof t6 !== "number") - return H.iae(t6); - if (t3 <= t6) { - if (typeof offset_edge !== "number") - return H.iae(offset_edge); - t7 = t6 < offset_edge; - } else - t7 = false; - } else - t7 = false; - if (!t7) - if (t4) { - if (typeof offset_edge !== "number") - return offset_edge.$lt(); - if (typeof t6 !== "number") - return H.iae(t6); - t6 = offset_edge < t6 && t6 < t5; - } else - t6 = false; - else - t6 = true; - if (t6) - --length_increase; - } - for (t1 = _this.insertions, t6 = J.get$iterator$ax(t1._list); t6.moveNext$0();) { - t7 = t6.get$current(t6); - t8 = t7.offset; - if (t2) - if (t3 <= t8) { - if (typeof offset_edge !== "number") - return H.iae(offset_edge); - t9 = t8 < offset_edge; - } else - t9 = false; - else - t9 = false; - if (!t9) - if (t4) { - if (typeof offset_edge !== "number") - return offset_edge.$lt(); - t8 = offset_edge < t8 && t8 < t5; - } else - t8 = false; - else - t8 = true; - if (t8) - length_increase += t7.length; - } - if (!H.boolConversionCheck($forward)) { - t2 = type$.legacy_int; - insertion_map = P.LinkedHashMap_LinkedHashMap$fromIterable(t1, new G.Domain_net_ins_del_length_increase_from_5p_to_closure(), new G.Domain_net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); - if (insertion_map.containsKey$1(0, offset_edge)) { - insertion_length = insertion_map.$index(0, offset_edge); - if (typeof insertion_length !== "number") - return H.iae(insertion_length); - length_increase += insertion_length; - } - } - return length_increase; - }, - get$num_insertions: function() { - return G.Domain_num_insertions_in_list(this.insertions); - }, - overlaps$1: function(other) { - return this.helix === other.helix && this.forward === !other.forward && this.compute_overlap$1(other) != null; - }, - compute_overlap$1: function(other) { - var overlap_start = Math.max(this.start, other.start), - overlap_end = Math.min(this.end, other.end); - if (overlap_start >= overlap_end) - return null; - return new S.Tuple2(overlap_start, overlap_end, type$.Tuple2_of_legacy_int_and_legacy_int); - }, - substrand_offset_to_substrand_dna_idx$2: function(offset, $forward) { - var len_adjust, ss_str_idx, _this = this, - t1 = _this.deletions; - if (J.contains$1$asx(t1._list, offset)) - throw H.wrapException(P.ArgumentError$("offset " + H.S(offset) + " illegally contains a deletion from " + t1.toString$0(0))); - len_adjust = _this.net_ins_del_length_increase_from_5p_to$2(offset, $forward); - if (_this.forward) { - if (typeof offset !== "number") - return offset.$add(); - ss_str_idx = offset + len_adjust - _this.start; - } else { - if (typeof offset !== "number") - return offset.$sub(); - ss_str_idx = _this.end - 1 - (offset - len_adjust); - } - return ss_str_idx; - }, - substrand_dna_idx_to_substrand_offset$2: function(ss_str_idx, $forward) { - var t1, t2, dna_idx_cur, t3, insertion_length, _this = this, - offset = _this.get$offset_5p(); - for (t1 = _this.forward, t2 = _this.deletions, dna_idx_cur = 0; dna_idx_cur < ss_str_idx;) { - if (!J.contains$1$asx(t2._list, offset)) - ++dna_idx_cur; - t3 = _this.__insertion_offset_to_length; - if (t3 == null) { - t3 = G.Domain.prototype.get$insertion_offset_to_length.call(_this); - _this.set$__insertion_offset_to_length(t3); - } - if (J.containsKey$1$x(t3._map$_map, offset)) { - t3 = _this.__insertion_offset_to_length; - if (t3 == null) { - t3 = G.Domain.prototype.get$insertion_offset_to_length.call(_this); - _this.set$__insertion_offset_to_length(t3); - } - insertion_length = J.$index$asx(t3._map$_map, offset); - if (typeof insertion_length !== "number") - return H.iae(insertion_length); - dna_idx_cur += insertion_length; - } - offset += t1 ? 1 : -1; - } - return offset; - }, - $isSelectable: 1, - $isSubstrand: 1 - }; - G.Domain_Domain_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_domain$_$this()._domain$_helix = _this.helix; - b.get$_domain$_$this()._domain$_forward = _this.forward; - b.get$_domain$_$this()._start = _this.start; - b.get$_domain$_$this()._end = _this.end; - t1 = _this._box_0; - b.get$deletions().replace$1(0, t1.deletions); - b.get$insertions().replace$1(0, t1.insertions); - b.get$_domain$_$this()._domain$_name = _this.name; - b.get$_domain$_$this()._domain$_label = _this.label; - b.get$_domain$_$this()._domain$_dna_sequence = _this.dna_sequence; - b.get$_domain$_$this()._domain$_color = _this.color; - b.get$_domain$_$this()._domain$_strand_id = _this.strand_id; - b.get$_domain$_$this()._is_first = _this.is_first; - b.get$_domain$_$this()._is_last = _this.is_last; - b.get$_domain$_$this()._domain$_is_scaffold = _this.is_scaffold; - t1 = type$.dynamic; - b.get$unused_fields().replace$1(0, P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); - return b; - }, - $signature: 7 - }; - G.Domain_set_dna_sequence_closure.prototype = { - call$1: function(ss) { - ss.get$_domain$_$this()._domain$_dna_sequence = this.seq; - return ss; - }, - $signature: 7 - }; - G.Domain_to_json_serializable_closure.prototype = { - call$1: function(insertion) { - type$.legacy_Insertion._as(insertion); - return H.setRuntimeTypeInfo([insertion.offset, insertion.length], type$.JSArray_legacy_int); - }, - $signature: 371 - }; - G.Domain_parse_json_insertions_closure.prototype = { - call$1: function(list) { - var t1 = J.getInterceptor$asx(list); - return G.Insertion_Insertion(H._asIntS(t1.$index(list, 0)), H._asIntS(t1.$index(list, 1))); - }, - $signature: 372 - }; - G.Domain_dna_length_in_closure.prototype = { - call$1: function(d) { - H._asIntS(d); - if (typeof d !== "number") - return H.iae(d); - return this.left <= d && d <= this.right; - }, - $signature: 23 - }; - G.Domain_dna_length_in_closure0.prototype = { - call$1: function(i) { - var t1 = type$.legacy_Insertion._as(i).offset; - return this.left <= t1 && t1 <= this.right; - }, - $signature: 29 - }; - G.Domain_dna_sequence_deletions_insertions_to_spaces_closure.prototype = { - call$1: function(insertion) { - return H._asIntS(J.get$offset$x(insertion)); - }, - $signature: 49 - }; - G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0.prototype = { - call$1: function(insertion) { - return H._asIntS(J.get$length$asx(insertion)); - }, - $signature: 49 - }; - G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds.prototype = { - call$1: function(offset) { - var t1 = this.$this, - t2 = this.forward; - return t1.forward ? offset >= t1.get$offset_3p() + t2 : offset <= t1.get$offset_3p() + t2; - }, - $signature: 57 - }; - G.Domain_net_ins_del_length_increase_from_5p_to_closure.prototype = { - call$1: function(insertion) { - return H._asIntS(J.get$offset$x(insertion)); - }, - $signature: 49 - }; - G.Domain_net_ins_del_length_increase_from_5p_to_closure0.prototype = { - call$1: function(insertion) { - return H._asIntS(J.get$length$asx(insertion)); - }, - $signature: 49 - }; - G._$InsertionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_Insertion._as(object); - result = H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.strand_id; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_id"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new G.InsertionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, value, t6, t7, t8, t9, _null = null, + result = new A.DialogRadioBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.String, t3 = type$.List_String, t4 = type$.ListBuilder_String; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain$_$this()._domain$_offset = t1; + switch (t5) { + case "options": + t5 = result.get$_dialog$_$this(); + t6 = t5._options; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(_null); + t5.set$_options(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(_null); + } break; - case "length": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain$_$this()._domain$_length = t1; + case "selected_idx": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_dialog$_$this()._dialog$_selected_idx = t5; break; - case "strand_id": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_domain$_$this()._domain$_strand_id = t1; + case "label": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_dialog$_$this()._dialog$_label = t5; + break; + case "radio": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5.toString; + A._asBoolS(t5); + result.get$_dialog$_$this()._radio = t5; + break; + case "option_tooltips": + t5 = result.get$_dialog$_$this(); + t6 = t5._option_tooltips; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(_null); + t5.set$_option_tooltips(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(_null); + } + break; + case "tooltip": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_dialog$_$this()._tooltip = t5; break; } } - return result.build$0(); + return result._dialog$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_CJJ; + get$types() { + return B.List_4AN; }, - get$wireName: function() { - return "Insertion"; + get$wireName() { + return "DialogRadio"; } }; - G._$DomainSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_Domain._as(object); - result = H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "start", serializers.serialize$2$specifiedType(object.start, C.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, C.FullType_kjq), "deletions", serializers.serialize$2$specifiedType(object.deletions, C.FullType_4QF0), "insertions", serializers.serialize$2$specifiedType(object.insertions, C.FullType_i7r), "is_first", serializers.serialize$2$specifiedType(object.is_first, C.FullType_MtR), "is_last", serializers.serialize$2$specifiedType(object.is_last, C.FullType_MtR), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.dna_sequence; - if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.color; - if (value != null) { - C.JSArray_methods.add$1(result, "color"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); - } - value = object.strand_id; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_id"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A._$DialogLinkSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DialogLink._as(object); + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_h8g), "link", serializers.serialize$2$specifiedType(object.link, B.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_h8g), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_h8g)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, - result = new G.DomainBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_Insertion, t4 = type$.List_legacy_Insertion, t5 = type$.ListBuilder_legacy_Insertion, t6 = type$.legacy_int, t7 = type$.List_legacy_int, t8 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DialogLinkBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain$_$this()._domain$_helix = t9; - break; - case "forward": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domain$_$this()._domain$_forward = t9; - break; - case "start": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain$_$this()._start = t9; - break; - case "end": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain$_$this()._end = t9; - break; - case "deletions": - t9 = result.get$_domain$_$this(); - t10 = t9._deletions; - if (t10 == null) { - t10 = new D.ListBuilder(t8); - t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t10.set$_listOwner(_null); - t9.set$_deletions(t10); - t9 = t10; - } else - t9 = t10; - t10 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); - t11 = t9.$ti; - t12 = t11._eval$1("_BuiltList<1>"); - t13 = t11._eval$1("List<1>"); - if (t12._is(t10)) { - t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); - t9.set$_listOwner(t10); - } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); - t9.set$_listOwner(_null); - } - break; - case "insertions": - t9 = result.get$_domain$_$this(); - t10 = t9._insertions; - if (t10 == null) { - t10 = new D.ListBuilder(t5); - t10.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); - t10.set$_listOwner(_null); - t9.set$_insertions(t10); - t9 = t10; - } else - t9 = t10; - t10 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_i7r)); - t11 = t9.$ti; - t12 = t11._eval$1("_BuiltList<1>"); - t13 = t11._eval$1("List<1>"); - if (t12._is(t10)) { - t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); - t9.set$_listOwner(t10); - } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); - t9.set$_listOwner(_null); - } - break; - case "is_first": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domain$_$this()._is_first = t9; - break; - case "is_last": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domain$_$this()._is_last = t9; - break; - case "is_scaffold": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domain$_$this()._domain$_is_scaffold = t9; - break; - case "name": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_domain$_$this()._domain$_name = t9; - break; + switch (t1) { case "label": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_domain$_$this()._domain$_label = t9; + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_label = t1; break; - case "dna_sequence": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_domain$_$this()._domain$_dna_sequence = t9; + case "link": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._link = t1; break; - case "color": - t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_domain$_$this()._domain$_color = t9; + case "value": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._dialog$_value = t1; break; - case "strand_id": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_domain$_$this()._domain$_strand_id = t9; + case "tooltip": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dialog$_$this()._tooltip = t1; break; } } - return result.build$0(); + return result._dialog$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_9YS; + get$types() { + return B.List_app; }, - get$wireName: function() { - return "Domain"; + get$wireName() { + return "DialogLink"; } }; - G._$Insertion.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_InsertionBuilder._as(updates); - t1 = new G.InsertionBuilder(); - t1._domain$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { + A._$Dialog.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof G.Insertion && _this.offset === other.offset && _this.length === other.length && _this.strand_id == other.strand_id; + return other instanceof A.Dialog && _this.title === other.title && _this.type === other.type && _this.use_saved_response === other.use_saved_response && J.$eq$(_this.items, other.items) && J.$eq$(_this.mutually_exclusive_checkbox_groups, other.mutually_exclusive_checkbox_groups) && J.$eq$(_this.disable_when_any_radio_button_selected, other.disable_when_any_radio_button_selected) && J.$eq$(_this.disable_when_any_checkboxes_on, other.disable_when_any_checkboxes_on) && J.$eq$(_this.disable_when_any_checkboxes_off, other.disable_when_any_checkboxes_off) && J.$eq$(_this.disable, other.disable); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._domain$__hashCode; - return t1 == null ? _this._domain$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.offset)), C.JSInt_methods.get$hashCode(_this.length)), J.get$hashCode$(_this.strand_id))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.title)), A.Primitives_objectHashCode(_this.type)), B.JSBool_methods.get$hashCode(_this.use_saved_response)), J.get$hashCode$(_this.items)), J.get$hashCode$(_this.mutually_exclusive_checkbox_groups)), J.get$hashCode$(_this.disable_when_any_radio_button_selected)), J.get$hashCode$(_this.disable_when_any_checkboxes_on)), J.get$hashCode$(_this.disable_when_any_checkboxes_off)), J.get$hashCode$(_this.disable))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Insertion"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Dialog"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "length", this.length); - t2.add$2(t1, "strand_id", this.strand_id); + t2.add$2(t1, "title", _this.title); + t2.add$2(t1, "type", _this.type); + t2.add$2(t1, "process_saved_response", _this.process_saved_response); + t2.add$2(t1, "use_saved_response", _this.use_saved_response); + t2.add$2(t1, "items", _this.items); + t2.add$2(t1, "mutually_exclusive_checkbox_groups", _this.mutually_exclusive_checkbox_groups); + t2.add$2(t1, "disable_when_any_radio_button_selected", _this.disable_when_any_radio_button_selected); + t2.add$2(t1, "disable_when_any_checkboxes_on", _this.disable_when_any_checkboxes_on); + t2.add$2(t1, "disable_when_any_checkboxes_off", _this.disable_when_any_checkboxes_off); + t2.add$2(t1, "disable", _this.disable); + t2.add$2(t1, "on_submit", _this.on_submit); return t2.toString$0(t1); - }, - get$offset: function(receiver) { - return this.offset; - }, - get$length: function(receiver) { - return this.length; - } - }; - G.InsertionBuilder.prototype = { - get$offset: function(_) { - return this.get$_domain$_$this()._domain$_offset; - }, - get$length: function(_) { - return this.get$_domain$_$this()._domain$_length; - }, - get$_domain$_$this: function() { - var _this = this, - $$v = _this._domain$_$v; - if ($$v != null) { - _this._domain$_offset = $$v.offset; - _this._domain$_length = $$v.length; - _this._domain$_strand_id = $$v.strand_id; - _this._domain$_$v = null; - } - return _this; - }, - build$0: function() { - var t1, t2, _this = this, - _s9_ = "Insertion", - _$result = _this._domain$_$v; - if (_$result == null) { - t1 = _this.get$_domain$_$this()._domain$_offset; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "offset")); - t2 = _this.get$_domain$_$this()._domain$_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "length")); - _$result = new G._$Insertion(t1, t2, _this.get$_domain$_$this()._domain$_strand_id); - } - return _this._domain$_$v = _$result; } }; - G._$Domain.prototype = { - get$id: function(_) { - var _this = this, - t1 = _this._domain$__id; - return t1 == null ? _this._domain$__id = G.Domain.prototype.get$id.call(_this, _this) : t1; - }, - get$select_mode: function() { - var t1 = this._domain$__select_mode; - return t1 == null ? this._domain$__select_mode = G.Domain.prototype.get$select_mode.call(this) : t1; + A.DialogBuilder.prototype = { + get$items(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._dialog$_items; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.DialogItem); + t1.set$_dialog$_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$dnaend_start: function() { - var t1 = this.__dnaend_start; - return t1 == null ? this.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(this) : t1; + get$mutually_exclusive_checkbox_groups() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._mutually_exclusive_checkbox_groups; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.BuiltList_int); + t1.set$_mutually_exclusive_checkbox_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$dnaend_end: function() { - var t1 = this.__dnaend_end; - return t1 == null ? this.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(this) : t1; + get$disable_when_any_radio_button_selected() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_radio_button_selected; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltMap_of_int_and_BuiltList_String); + t1.set$_disable_when_any_radio_button_selected(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$address_start: function() { - var t1 = this.__address_start; - return t1 == null ? this.__address_start = G.Domain.prototype.get$address_start.call(this) : t1; + get$disable_when_any_checkboxes_on() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_checkboxes_on; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); + t1.set$_disable_when_any_checkboxes_on(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$address_end: function() { - var t1 = this.__address_end; - return t1 == null ? this.__address_end = G.Domain.prototype.get$address_end.call(this) : t1; + get$disable_when_any_checkboxes_off() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_checkboxes_off; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); + t1.set$_disable_when_any_checkboxes_off(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$address_5p: function() { - var t1 = this._domain$__address_5p; - return t1 == null ? this._domain$__address_5p = G.Domain.prototype.get$address_5p.call(this) : t1; + get$disable(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_disable(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$address_3p: function() { - var t1 = this._domain$__address_3p; - return t1 == null ? this._domain$__address_3p = G.Domain.prototype.get$address_3p.call(this) : t1; + get$_dialog$_$this() { + var t1, t2, _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._title = $$v.title; + _this._dialog$_type = $$v.type; + _this.set$_process_saved_response($$v.process_saved_response); + _this._use_saved_response = $$v.use_saved_response; + t1 = $$v.items; + t1.toString; + _this.set$_dialog$_items(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.mutually_exclusive_checkbox_groups; + t1.toString; + _this.set$_mutually_exclusive_checkbox_groups(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.disable_when_any_radio_button_selected; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_disable_when_any_radio_button_selected(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.disable_when_any_checkboxes_on; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_disable_when_any_checkboxes_on(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.disable_when_any_checkboxes_off; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_disable_when_any_checkboxes_off(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.disable; + t2.toString; + _this.set$_disable(A.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); + _this.set$_on_submit($$v.on_submit); + _this._dialog$_$v = null; + } + return _this; }, - get$offset_5p: function() { - var t1 = this.__offset_5p; - return t1 == null ? this.__offset_5p = G.Domain.prototype.get$offset_5p.call(this) : t1; + _dialog$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, _s6_ = "Dialog", + _s18_ = "use_saved_response", + _s34_ = "mutually_exclusive_checkbox_groups", + _s38_ = "disable_when_any_radio_button_selected", + _s30_ = "disable_when_any_checkboxes_on", + _s31_ = "disable_when_any_checkboxes_off", + _$result = null; + try { + _$result0 = _this._dialog$_$v; + if (_$result0 == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._title, _s6_, "title", t1); + t3 = type$.DialogType; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_type, _s6_, "type", t3); + t5 = _this.get$_dialog$_$this()._process_saved_response; + t6 = type$.bool; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._use_saved_response, _s6_, _s18_, t6); + t8 = _this.get$items(_this).build$0(); + t9 = _this.get$mutually_exclusive_checkbox_groups().build$0(); + t10 = _this.get$disable_when_any_radio_button_selected().build$0(); + t11 = _this.get$disable_when_any_checkboxes_on().build$0(); + t12 = _this.get$disable_when_any_checkboxes_off().build$0(); + t13 = _this.get$disable(_this).build$0(); + _$result0 = new A._$Dialog(t2, t4, t5, t7, t8, t9, t10, t11, t12, t13, _this.get$_dialog$_$this()._on_submit); + A.BuiltValueNullFieldError_checkNotNull(t2, _s6_, "title", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, "type", t3); + A.BuiltValueNullFieldError_checkNotNull(t7, _s6_, _s18_, t6); + A.BuiltValueNullFieldError_checkNotNull(t8, _s6_, "items", type$.BuiltList_DialogItem); + A.BuiltValueNullFieldError_checkNotNull(t9, _s6_, _s34_, type$.BuiltList_BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(t10, _s6_, _s38_, type$.BuiltMap_of_int_and_BuiltMap_of_int_and_BuiltList_String); + t10 = type$.BuiltMap_of_int_and_BuiltList_int; + A.BuiltValueNullFieldError_checkNotNull(t11, _s6_, _s30_, t10); + A.BuiltValueNullFieldError_checkNotNull(t12, _s6_, _s31_, t10); + A.BuiltValueNullFieldError_checkNotNull(t13, _s6_, "disable", type$.BuiltList_int); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "items"; + _this.get$items(_this).build$0(); + _$failedField._value = _s34_; + _this.get$mutually_exclusive_checkbox_groups().build$0(); + _$failedField._value = _s38_; + _this.get$disable_when_any_radio_button_selected().build$0(); + _$failedField._value = _s30_; + _this.get$disable_when_any_checkboxes_on().build$0(); + _$failedField._value = _s31_; + _this.get$disable_when_any_checkboxes_off().build$0(); + _$failedField._value = "disable"; + _this.get$disable(_this).build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s6_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.Dialog; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dialog$_$v = t2; + return _$result; }, - get$offset_3p: function() { - var t1 = this.__offset_3p; - return t1 == null ? this.__offset_3p = G.Domain.prototype.get$offset_3p.call(this) : t1; + set$_process_saved_response(_process_saved_response) { + this._process_saved_response = type$.nullable_dynamic_Function_BuiltList_DialogItem._as(_process_saved_response); }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_DomainBuilder._as(updates); - t1 = new G.DomainBuilder(); - t1._domain$_$v = this; - updates.call$1(t1); - return t1.build$0(); + set$_dialog$_items(_items) { + this._dialog$_items = type$.nullable_ListBuilder_DialogItem._as(_items); + }, + set$_mutually_exclusive_checkbox_groups(_mutually_exclusive_checkbox_groups) { + this._mutually_exclusive_checkbox_groups = type$.nullable_ListBuilder_BuiltList_int._as(_mutually_exclusive_checkbox_groups); }, - $eq: function(_, other) { + set$_disable_when_any_radio_button_selected(_disable_when_any_radio_button_selected) { + this._disable_when_any_radio_button_selected = type$.nullable_MapBuilder_of_int_and_BuiltMap_of_int_and_BuiltList_String._as(_disable_when_any_radio_button_selected); + }, + set$_disable_when_any_checkboxes_on(_disable_when_any_checkboxes_on) { + this._disable_when_any_checkboxes_on = type$.nullable_MapBuilder_of_int_and_BuiltList_int._as(_disable_when_any_checkboxes_on); + }, + set$_disable_when_any_checkboxes_off(_disable_when_any_checkboxes_off) { + this._disable_when_any_checkboxes_off = type$.nullable_MapBuilder_of_int_and_BuiltList_int._as(_disable_when_any_checkboxes_off); + }, + set$_disable(_disable) { + this._disable = type$.nullable_ListBuilder_int._as(_disable); + }, + set$_on_submit(_on_submit) { + this._on_submit = type$.nullable_void_Function_nullable_List_DialogItem._as(_on_submit); + } + }; + A._$DialogInteger.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof G.Domain && _this.helix === other.helix && _this.forward === other.forward && _this.start === other.start && _this.end === other.end && J.$eq$(_this.deletions, other.deletions) && J.$eq$(_this.insertions, other.insertions) && _this.is_first === other.is_first && _this.is_last === other.is_last && _this.is_scaffold === other.is_scaffold && _this.name == other.name && _this.label == other.label && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.DialogInteger && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._domain$__hashCode; - return t1 == null ? _this._domain$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.start)), C.JSInt_methods.get$hashCode(_this.end)), J.get$hashCode$(_this.deletions)), J.get$hashCode$(_this.insertions)), C.JSBool_methods.get$hashCode(_this.is_first)), C.JSBool_methods.get$hashCode(_this.is_last)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSInt_methods.get$hashCode(_this.value)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Domain"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogInteger"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "forward", _this.forward); - t2.add$2(t1, "start", _this.start); - t2.add$2(t1, "end", _this.end); - t2.add$2(t1, "deletions", _this.deletions); - t2.add$2(t1, "insertions", _this.insertions); - t2.add$2(t1, "is_first", _this.is_first); - t2.add$2(t1, "is_last", _this.is_last); - t2.add$2(t1, "is_scaffold", _this.is_scaffold); - t2.add$2(t1, "name", _this.name); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "dna_sequence", _this.dna_sequence); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "strand_id", _this.strand_id); - t2.add$2(t1, "unused_fields", _this.unused_fields); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); return t2.toString$0(t1); }, - set$__insertion_offset_to_length: function(__insertion_offset_to_length) { - this.__insertion_offset_to_length = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(__insertion_offset_to_length); + get$label(receiver) { + return this.label; }, - set$_domain$__selectable_deletions: function(__selectable_deletions) { - this._domain$__selectable_deletions = type$.legacy_BuiltList_legacy_SelectableDeletion._as(__selectable_deletions); + get$value(receiver) { + return this.value; + } + }; + A.DialogIntegerBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; }, - set$_domain$__selectable_insertions: function(__selectable_insertions) { - this._domain$__selectable_insertions = type$.legacy_BuiltList_legacy_SelectableInsertion._as(__selectable_insertions); + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; }, - get$is_scaffold: function() { - return this.is_scaffold; + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; }, - get$name: function(receiver) { - return this.name; + _dialog$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s13_ = "DialogInteger", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s13_, "label", t1); + t3 = type$.int; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s13_, "value", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s13_, "tooltip", t1); + _$result = new A._$DialogInteger(t2, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s13_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s13_, "value", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s13_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogInteger); + return _this._dialog$_$v = _$result; + } + }; + A._$DialogFloat.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.DialogFloat && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; + }, + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.label)), B.JSNumber_methods.get$hashCode(this.value)), B.JSString_methods.get$hashCode(this.tooltip))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogFloat"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); }, - get$label: function(receiver) { + get$label(receiver) { return this.label; }, - get$dna_sequence: function() { - return this.dna_sequence; + get$value(receiver) { + return this.value; + } + }; + A.DialogFloatBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; }, - get$color: function(receiver) { - return this.color; + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; }, - get$strand_id: function() { - return this.strand_id; + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + _dialog$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s11_ = "DialogFloat", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s11_, "label", t1); + t3 = type$.double; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s11_, "value", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s11_, "tooltip", t1); + _$result = new A._$DialogFloat(t2, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, "value", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogFloat); + return _this._dialog$_$v = _$result; } }; - G.DomainBuilder.prototype = { - get$deletions: function() { - var t1 = this.get$_domain$_$this(), - t2 = t1._deletions; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_deletions(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A._$DialogText.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.DialogText && _this.label === other.label && _this.value === other.value && _this.size === other.size && _this.tooltip === other.tooltip; }, - get$insertions: function() { - var t1 = this.get$_domain$_$this(), - t2 = t1._insertions; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); - t1.set$_insertions(t2); - t1 = t2; - } else - t1 = t2; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSString_methods.get$hashCode(_this.value)), B.JSInt_methods.get$hashCode(_this.size)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; + } return t1; }, - get$unused_fields: function() { - var t1 = this.get$_domain$_$this(), - t2 = t1._domain$_unused_fields; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_domain$_unused_fields(t2); - t1 = t2; - } else - t1 = t2; - return t1; + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogText"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "size", _this.size); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); }, - get$_domain$_$this: function() { - var t1, t2, _this = this, - $$v = _this._domain$_$v; + get$label(receiver) { + return this.label; + }, + get$value(receiver) { + return this.value; + } + }; + A.DialogTextBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; if ($$v != null) { - _this._domain$_helix = $$v.helix; - _this._domain$_forward = $$v.forward; - _this._start = $$v.start; - _this._end = $$v.end; - t1 = $$v.deletions; - t1.toString; - _this.set$_deletions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.insertions; - t1.toString; - _this.set$_insertions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._is_first = $$v.is_first; - _this._is_last = $$v.is_last; - _this._domain$_is_scaffold = $$v.is_scaffold; - _this._domain$_name = $$v.name; - _this._domain$_label = $$v.label; - _this._domain$_dna_sequence = $$v.dna_sequence; - _this._domain$_color = $$v.color; - _this._domain$_strand_id = $$v.strand_id; - t1 = $$v.unused_fields; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_domain$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._domain$_$v = null; + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._size = $$v.size; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _this = this, _s6_ = "Domain", _$result = null; - try { - _$result0 = _this._domain$_$v; - if (_$result0 == null) { - t1 = _this.get$_domain$_$this()._domain$_helix; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "helix")); - t2 = _this.get$_domain$_$this()._domain$_forward; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "forward")); - t3 = _this.get$_domain$_$this()._start; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "start")); - t4 = _this.get$_domain$_$this()._end; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "end")); - t5 = _this.get$deletions().build$0(); - t6 = _this.get$insertions().build$0(); - t7 = _this.get$_domain$_$this()._is_first; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_first")); - t8 = _this.get$_domain$_$this()._is_last; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_last")); - t9 = _this.get$_domain$_$this()._domain$_is_scaffold; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); - t10 = _this.get$_domain$_$this()._domain$_name; - t11 = _this.get$_domain$_$this()._domain$_label; - t12 = _this.get$_domain$_$this()._domain$_dna_sequence; - t13 = _this.get$_domain$_$this()._domain$_color; - t14 = _this.get$_domain$_$this()._domain$_strand_id; - t15 = _this.get$unused_fields().build$0(); - _$result0 = new G._$Domain(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "deletions")); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "insertions")); - if (t15 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "deletions"; - _this.get$deletions().build$0(); - _$failedField = "insertions"; - _this.get$insertions().build$0(); - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _dialog$_build$0() { + var t1, t2, t3, t4, t5, t6, _this = this, + _s10_ = "DialogText", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s10_, "label", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s10_, "value", t1); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._size, _s10_, "size", t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s10_, "tooltip", t1); + _$result = new A._$DialogText(t2, t3, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s10_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s10_, "value", t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s10_, "size", t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s10_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogText); + return _this._dialog$_$v = _$result; + } + }; + A._$DialogTextArea.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.DialogTextArea && _this.label === other.label && _this.cols === other.cols && _this.rows === other.rows && _this.value === other.value && _this.tooltip === other.tooltip; + }, + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSInt_methods.get$hashCode(_this.cols)), B.JSInt_methods.get$hashCode(_this.rows)), B.JSString_methods.get$hashCode(_this.value)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; } - t1 = type$.legacy_Domain._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._domain$_$v = t1; - return _$result; + return t1; }, - set$_deletions: function(_deletions) { - this._deletions = type$.legacy_ListBuilder_legacy_int._as(_deletions); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogTextArea"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "cols", _this.cols); + t2.add$2(t1, "rows", _this.rows); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); }, - set$_insertions: function(_insertions) { - this._insertions = type$.legacy_ListBuilder_legacy_Insertion._as(_insertions); + get$label(receiver) { + return this.label; }, - set$_domain$_unused_fields: function(_unused_fields) { - this._domain$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + get$value(receiver) { + return this.value; } }; - G._Domain_Object_SelectableMixin.prototype = {}; - G._Domain_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; - G._Insertion_Object_BuiltJsonSerializable.prototype = {}; - B.DomainNameMismatch.prototype = {}; - B._$DomainNameMismatchSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DomainNameMismatch._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "forward_domain", serializers.serialize$2$specifiedType(object.forward_domain, C.FullType_fnc), "reverse_domain", serializers.serialize$2$specifiedType(object.reverse_domain, C.FullType_fnc)], type$.JSArray_legacy_Object); + A.DialogTextAreaBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new B.DomainNameMismatchBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx = t2; - break; - case "forward_domain": - t2 = result.get$_domain_name_mismatch$_$this(); - t3 = t2._forward_domain; - t2 = t3 == null ? t2._forward_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - case "reverse_domain": - t2 = result.get$_domain_name_mismatch$_$this(); - t3 = t2._reverse_domain; - t2 = t3 == null ? t2._reverse_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - } + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._cols = $$v.cols; + _this._rows = $$v.rows; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; } - return result.build$0(); + return _this; + }, + _dialog$_build$0() { + var t1, t2, t3, t4, t5, t6, t7, _this = this, + _s14_ = "DialogTextArea", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s14_, "label", t1); + t3 = type$.int; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._cols, _s14_, "cols", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._rows, _s14_, "rows", t3); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s14_, "value", t1); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s14_, "tooltip", t1); + _$result = new A._$DialogTextArea(t2, t4, t5, t6, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s14_, "cols", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s14_, "rows", t3); + A.BuiltValueNullFieldError_checkNotNull(t6, _s14_, "value", t1); + A.BuiltValueNullFieldError_checkNotNull(t7, _s14_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogTextArea); + return _this._dialog$_$v = _$result; + } + }; + A._$DialogCheckbox.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_DialogCheckboxBuilder._as(updates); + t1 = new A.DialogCheckboxBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.DialogCheckbox); + t1._dialog$_$v = this; + type$.nullable_void_Function_DialogCheckboxBuilder._as(updates).call$1(t1); + return t1._dialog$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.DialogCheckbox && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_gUw; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSBool_methods.get$hashCode(_this.value)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - get$wireName: function() { - return "DomainNameMismatch"; + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogCheckbox"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); + }, + get$label(receiver) { + return this.label; + }, + get$value(receiver) { + return this.value; + } + }; + A.DialogCheckboxBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + _dialog$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s14_ = "DialogCheckbox", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s14_, "label", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s14_, "value", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s14_, "tooltip", t1); + _$result = new A._$DialogCheckbox(t2, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s14_, "value", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s14_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogCheckbox); + return _this._dialog$_$v = _$result; } }; - B._$DomainNameMismatch.prototype = { - $eq: function(_, other) { + A._$DialogRadio.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_DialogRadioBuilder._as(updates); + t1 = new A.DialogRadioBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.DialogRadio); + t1._dialog$_$v = this; + type$.nullable_void_Function_DialogRadioBuilder._as(updates).call$1(t1); + return t1._dialog$_build$0(); + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof B.DomainNameMismatch && _this.helix_idx == other.helix_idx && J.$eq$(_this.forward_domain, other.forward_domain) && J.$eq$(_this.reverse_domain, other.reverse_domain); + return other instanceof A.DialogRadio && J.$eq$(_this.options, other.options) && _this.selected_idx === other.selected_idx && _this.label === other.label && _this.radio === other.radio && J.$eq$(_this.option_tooltips, other.option_tooltips) && _this.tooltip === other.tooltip; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._domain_name_mismatch$__hashCode; - return t1 == null ? _this._domain_name_mismatch$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix_idx)), J.get$hashCode$(_this.forward_domain)), J.get$hashCode$(_this.reverse_domain))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.options)), B.JSInt_methods.get$hashCode(_this.selected_idx)), B.JSString_methods.get$hashCode(_this.label)), B.JSBool_methods.get$hashCode(_this.radio)), J.get$hashCode$(_this.option_tooltips)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameMismatch"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogRadio"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "forward_domain", this.forward_domain); - t2.add$2(t1, "reverse_domain", this.reverse_domain); + t2.add$2(t1, "options", _this.options); + t2.add$2(t1, "selected_idx", _this.selected_idx); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "radio", _this.radio); + t2.add$2(t1, "option_tooltips", _this.option_tooltips); + t2.add$2(t1, "tooltip", _this.tooltip); return t2.toString$0(t1); + }, + get$label(receiver) { + return this.label; } }; - B.DomainNameMismatchBuilder.prototype = { - get$forward_domain: function() { - var t1 = this.get$_domain_name_mismatch$_$this(), - t2 = t1._forward_domain; - return t2 == null ? t1._forward_domain = new G.DomainBuilder() : t2; + A.DialogRadioBuilder.prototype = { + get$options(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._options; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.String); + t1.set$_options(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$reverse_domain: function() { - var t1 = this.get$_domain_name_mismatch$_$this(), - t2 = t1._reverse_domain; - return t2 == null ? t1._reverse_domain = new G.DomainBuilder() : t2; + get$option_tooltips() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._option_tooltips; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.String); + t1.set$_option_tooltips(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_domain_name_mismatch$_$this: function() { - var t1, t2, _this = this, - $$v = _this._domain_name_mismatch$_$v; + get$_dialog$_$this() { + var t1, _this = this, + $$v = _this._dialog$_$v; if ($$v != null) { - _this._domain_name_mismatch$_helix_idx = $$v.helix_idx; - t1 = $$v.forward_domain; + t1 = $$v.options; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._forward_domain = t2; - t1 = $$v.reverse_domain; + _this.set$_options(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._dialog$_selected_idx = $$v.selected_idx; + _this._dialog$_label = $$v.label; + _this._radio = $$v.radio; + t1 = $$v.option_tooltips; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._reverse_domain = t2; - _this._domain_name_mismatch$_$v = null; + _this.set$_option_tooltips(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s18_ = "DomainNameMismatch", + _dialog$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _this = this, + _s11_ = "DialogRadio", + _s12_ = "selected_idx", + _s15_ = "option_tooltips", _$result = null; try { - _$result0 = _this._domain_name_mismatch$_$v; + _$result0 = _this._dialog$_$v; if (_$result0 == null) { - t1 = _this.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); - _$result0 = B._$DomainNameMismatch$_(_this.get$forward_domain().build$0(), t1, _this.get$reverse_domain().build$0()); + t1 = _this.get$options(_this).build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_selected_idx, _s11_, _s12_, t2); + t4 = type$.String; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s11_, "label", t4); + t6 = type$.bool; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._radio, _s11_, "radio", t6); + t8 = _this.get$option_tooltips().build$0(); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s11_, "tooltip", t4); + _$result0 = new A._$DialogRadio(t1, t3, t5, t7, t8, t9); + t10 = type$.BuiltList_String; + A.BuiltValueNullFieldError_checkNotNull(t1, _s11_, "options", t10); + A.BuiltValueNullFieldError_checkNotNull(t3, _s11_, _s12_, t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, "label", t4); + A.BuiltValueNullFieldError_checkNotNull(t7, _s11_, "radio", t6); + A.BuiltValueNullFieldError_checkNotNull(t8, _s11_, _s15_, t10); + A.BuiltValueNullFieldError_checkNotNull(t9, _s11_, "tooltip", t4); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "forward_domain"; - _this.get$forward_domain().build$0(); - _$failedField = "reverse_domain"; - _this.get$reverse_domain().build$0(); + _$failedField._value = "options"; + _this.get$options(_this).build$0(); + _$failedField._value = _s15_; + _this.get$option_tooltips().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_DomainNameMismatch._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._domain_name_mismatch$_$v = t1; + t1 = type$.DialogRadio; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dialog$_$v = t2; return _$result; + }, + set$_options(_options) { + this._options = type$.nullable_ListBuilder_String._as(_options); + }, + set$_option_tooltips(_option_tooltips) { + this._option_tooltips = type$.nullable_ListBuilder_String._as(_option_tooltips); } }; - B._DomainNameMismatch_Object_BuiltJsonSerializable.prototype = {}; - V.DomainsMove.prototype = { - get$original_view_order: function() { - var t1 = this.original_address.helix_idx, - t2 = this.helices._map$_map, - t3 = J.getInterceptor$asx(t2), - t4 = t3.$index(t2, t1).group; - return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); - }, - get$current_view_order: function() { - var t1 = this.current_address.helix_idx, - t2 = this.helices._map$_map, - t3 = J.getInterceptor$asx(t2), - t4 = t3.$index(t2, t1).group; - return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); + A._$DialogLink.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.DialogLink && _this.label === other.label && _this.link === other.link && _this.value === other.value && _this.tooltip === other.tooltip; }, - get$domains_moving_on_helix: function() { - var t2, t3, t4, - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_Domain); - for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) - t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); - for (t2 = J.get$iterator$ax(this.domains_moving._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t1.$index(0, t3.helix); - (t4 && C.JSArray_methods).add$1(t4, t3); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSString_methods.get$hashCode(_this.link)), B.JSString_methods.get$hashCode(_this.value)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { + _this._dialog$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - get$domains_fixed_on_helix: function() { - var t2, t3, t4, - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_Domain); - for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) - t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); - for (t2 = J.get$iterator$ax(this.domains_fixed._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t1.$index(0, t3.helix); - (t4 && C.JSArray_methods).add$1(t4, t3); - } - return t1; + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLink"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "link", _this.link); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); }, - get$domains_moving_from_strand: function() { - var t2, t3, t4, t5, t6, - domains_moving_set = J.toSet$0$ax(this.domains_moving._list), - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Strand, type$.legacy_List_legacy_Domain); - for (t2 = J.get$iterator$ax(this.strands_with_domains_moving._list), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) - t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); - for (t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.__domains; - if (t4 == null) { - t4 = E.Strand.prototype.get$domains.call(t3); - t3.set$__domains(t4); - } - t4 = J.get$iterator$ax(t4._list); - for (; t4.moveNext$0();) { - t5 = t4.get$current(t4); - if (domains_moving_set.contains$1(0, t5)) { - t6 = t1.$index(0, t3); - (t6 && C.JSArray_methods).add$1(t6, t5); - } - } - } - return t1; + get$label(receiver) { + return this.label; + }, + get$value(receiver) { + return this.value; } }; - V.DomainsMove_DomainsMove_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$domains_moving().replace$1(0, _this.domains_moving); - b.get$domains_fixed().replace$1(0, _this.domains_fixed); - b.get$strands_with_domains_moving().replace$1(0, _this.strands_with_domains_moving); - b.get$helices().replace$1(0, _this.helices); - b.get$groups().replace$1(0, _this.groups); - b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); - t1 = b.get$original_address(); - t2 = _this.original_address; - t1._address$_$v = t2; - t1 = b.get$current_address(); - t1._address$_$v = t2; - b.get$_domains_move$_$this()._copy = _this.copy; - b.get$_domains_move$_$this()._keep_color = _this.keep_color; - b.get$_domains_move$_$this()._allowable = true; - return b; - }, - $signature: 79 - }; - V._$DomainsMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_DomainsMove._as(object); - return H.setRuntimeTypeInfo(["domains_moving", serializers.serialize$2$specifiedType(object.domains_moving, C.FullType_dli), "domains_fixed", serializers.serialize$2$specifiedType(object.domains_fixed, C.FullType_dli), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, C.FullType_m48), "strands_with_domains_moving", serializers.serialize$2$specifiedType(object.strands_with_domains_moving, C.FullType_2No), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, C.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, C.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, C.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.DialogLinkBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, key, value, t12, t13, t14, t15, t16, _null = null, - result = new V.DomainsMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Address, t2 = type$.MapBuilder_of_legacy_int_and_legacy_int, t3 = type$.legacy_BuiltList_legacy_Object, t4 = type$.legacy_Strand, t5 = type$.List_legacy_Strand, t6 = type$.ListBuilder_legacy_Strand, t7 = type$.MapBuilder_of_legacy_String_and_legacy_HelixGroup, t8 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t9 = type$.legacy_Domain, t10 = type$.List_legacy_Domain, t11 = type$.ListBuilder_legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "domains_moving": - t12 = result.get$_domains_move$_$this(); - t13 = t12._domains_moving; - if (t13 == null) { - t13 = new D.ListBuilder(t11); - t13.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); - t13.set$_listOwner(_null); - t12.set$_domains_moving(t13); - t12 = t13; - } else - t12 = t13; - t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); - t14 = t12.$ti; - t15 = t14._eval$1("_BuiltList<1>"); - t16 = t14._eval$1("List<1>"); - if (t15._is(t13)) { - t15._as(t13); - t12.set$__ListBuilder__list(t16._as(t13._list)); - t12.set$_listOwner(t13); - } else { - t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); - t12.set$_listOwner(_null); - } - break; - case "domains_fixed": - t12 = result.get$_domains_move$_$this(); - t13 = t12._domains_fixed; - if (t13 == null) { - t13 = new D.ListBuilder(t11); - t13.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); - t13.set$_listOwner(_null); - t12.set$_domains_fixed(t13); - t12 = t13; - } else - t12 = t13; - t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); - t14 = t12.$ti; - t15 = t14._eval$1("_BuiltList<1>"); - t16 = t14._eval$1("List<1>"); - if (t15._is(t13)) { - t15._as(t13); - t12.set$__ListBuilder__list(t16._as(t13._list)); - t12.set$_listOwner(t13); - } else { - t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); - t12.set$_listOwner(_null); - } - break; - case "helices": - t12 = result.get$_domains_move$_$this(); - t13 = t12._domains_move$_helices; - if (t13 == null) { - t13 = new A.MapBuilder(_null, $, _null, t8); - t13.replace$1(0, C.Map_empty); - t12.set$_domains_move$_helices(t13); - t12 = t13; - } else - t12 = t13; - t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); - break; - case "groups": - t12 = result.get$_domains_move$_$this(); - t13 = t12._domains_move$_groups; - if (t13 == null) { - t13 = new A.MapBuilder(_null, $, _null, t7); - t13.replace$1(0, C.Map_empty); - t12.set$_domains_move$_groups(t13); - t12 = t13; - } else - t12 = t13; - t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_m48)); - break; - case "strands_with_domains_moving": - t12 = result.get$_domains_move$_$this(); - t13 = t12._strands_with_domains_moving; - if (t13 == null) { - t13 = new D.ListBuilder(t6); - t13.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); - t13.set$_listOwner(_null); - t12.set$_strands_with_domains_moving(t13); - t12 = t13; - } else - t12 = t13; - t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); - t14 = t12.$ti; - t15 = t14._eval$1("_BuiltList<1>"); - t16 = t14._eval$1("List<1>"); - if (t15._is(t13)) { - t15._as(t13); - t12.set$__ListBuilder__list(t16._as(t13._list)); - t12.set$_listOwner(t13); - } else { - t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); - t12.set$_listOwner(_null); - } - break; - case "original_helices_view_order_inverse": - t12 = result.get$_domains_move$_$this(); - t13 = t12._original_helices_view_order_inverse; - if (t13 == null) { - t13 = new A.MapBuilder(_null, $, _null, t2); - t13.replace$1(0, C.Map_empty); - t12.set$_original_helices_view_order_inverse(t13); - t12 = t13; - } else - t12 = t13; - t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); - break; - case "original_address": - t12 = result.get$_domains_move$_$this(); - t13 = t12._original_address; - t12 = t13 == null ? t12._original_address = new Z.AddressBuilder() : t13; - t13 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t13 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t12._address$_$v = t13; - break; - case "current_address": - t12 = result.get$_domains_move$_$this(); - t13 = t12._current_address; - t12 = t13 == null ? t12._current_address = new Z.AddressBuilder() : t13; - t13 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t13 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t12._address$_$v = t13; - break; - case "allowable": - t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domains_move$_$this()._allowable = t12; - break; - case "copy": - t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domains_move$_$this()._copy = t12; - break; - case "keep_color": - t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_domains_move$_$this()._keep_color = t12; - break; - } + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._link = $$v.link; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_u2S; + return _this; }, - get$wireName: function() { - return "DomainsMove"; + _dialog$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s10_ = "DialogLink", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_label, _s10_, "label", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._link, _s10_, "link", t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_value, _s10_, "value", t1); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._tooltip, _s10_, "tooltip", t1); + _$result = new A._$DialogLink(t2, t3, t4, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s10_, "label", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s10_, "link", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s10_, "value", t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s10_, "tooltip", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DialogLink); + return _this._dialog$_$v = _$result; } }; - V._$DomainsMove.prototype = { - get$domains_moving_from_strand: function() { - var t1 = this.__domains_moving_from_strand; - if (t1 == null) { - t1 = V.DomainsMove.prototype.get$domains_moving_from_strand.call(this); - this.set$__domains_moving_from_strand(t1); - } - return t1; - }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_DomainsMoveBuilder._as(updates); - t1 = new V.DomainsMoveBuilder(); - t1._domains_move$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { + A._$DialogLabel.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof V.DomainsMove && J.$eq$(_this.domains_moving, other.domains_moving) && J.$eq$(_this.domains_fixed, other.domains_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.strands_with_domains_moving, other.strands_with_domains_moving) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; + return other instanceof A.DialogLabel && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._domains_move$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dialog$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.label)), B.JSString_methods.get$hashCode(_this.value)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; if (t1 == null) { - t1 = _this.original_address; - t2 = _this.current_address; - t2 = _this._domains_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.domains_moving)), J.get$hashCode$(_this.domains_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.strands_with_domains_moving)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSBool_methods.get$hashCode(_this.allowable)), C.JSBool_methods.get$hashCode(_this.copy)), C.JSBool_methods.get$hashCode(_this.keep_color))); - t1 = t2; + _this._dialog$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLabel"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "domains_moving", _this.domains_moving); - t2.add$2(t1, "domains_fixed", _this.domains_fixed); - t2.add$2(t1, "helices", _this.helices); - t2.add$2(t1, "groups", _this.groups); - t2.add$2(t1, "strands_with_domains_moving", _this.strands_with_domains_moving); - t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); - t2.add$2(t1, "original_address", _this.original_address); - t2.add$2(t1, "current_address", _this.current_address); - t2.add$2(t1, "allowable", _this.allowable); - t2.add$2(t1, "copy", _this.copy); - t2.add$2(t1, "keep_color", _this.keep_color); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); return t2.toString$0(t1); }, - set$__domains_moving_on_helix: function(__domains_moving_on_helix) { - this.__domains_moving_on_helix = type$.legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain._as(__domains_moving_on_helix); - }, - set$__domains_fixed_on_helix: function(__domains_fixed_on_helix) { - this.__domains_fixed_on_helix = type$.legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain._as(__domains_fixed_on_helix); + get$label(receiver) { + return this.label; }, - set$__domains_moving_from_strand: function(__domains_moving_from_strand) { - this.__domains_moving_from_strand = type$.legacy_Map_of_legacy_Strand_and_legacy_List_legacy_Domain._as(__domains_moving_from_strand); + get$value(receiver) { + return this.value; } }; - V.DomainsMoveBuilder.prototype = { - get$domains_moving: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._domains_moving; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - t1.set$_domains_moving(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$domains_fixed: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._domains_fixed; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); - t1.set$_domains_fixed(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$helices: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._domains_move$_helices; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); - t1.set$_domains_move$_helices(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$groups: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._domains_move$_groups; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); - t1.set$_domains_move$_groups(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$strands_with_domains_moving: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._strands_with_domains_moving; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands_with_domains_moving(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$original_helices_view_order_inverse: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._original_helices_view_order_inverse; - if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_original_helices_view_order_inverse(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$original_address: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._original_address; - return t2 == null ? t1._original_address = new Z.AddressBuilder() : t2; + A.DialogLabelBuilder.prototype = { + get$value(_) { + return this.get$_dialog$_$this()._dialog$_value; }, - get$current_address: function() { - var t1 = this.get$_domains_move$_$this(), - t2 = t1._current_address; - return t2 == null ? t1._current_address = new Z.AddressBuilder() : t2; + set$value(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; }, - get$_domains_move$_$this: function() { - var t1, t2, _this = this, - $$v = _this._domains_move$_$v; + get$_dialog$_$this() { + var _this = this, + $$v = _this._dialog$_$v; if ($$v != null) { - t1 = $$v.domains_moving; - t1.toString; - _this.set$_domains_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.domains_fixed; - t1.toString; - _this.set$_domains_fixed(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.helices; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_domains_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.groups; - t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltMap<1,2>")._as(t2); - _this.set$_domains_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); - t1 = $$v.strands_with_domains_moving; - t1.toString; - _this.set$_strands_with_domains_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.original_helices_view_order_inverse; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.original_address; - t1 = new Z.AddressBuilder(); - t1._address$_$v = t2; - _this._original_address = t1; - t1 = $$v.current_address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._current_address = t2; - _this._allowable = $$v.allowable; - _this._copy = $$v.copy; - _this._keep_color = $$v.keep_color; - _this._domains_move$_$v = null; + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; } return _this; - }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, - _s11_ = "DomainsMove", - _s27_ = "strands_with_domains_moving", - _s35_ = "original_helices_view_order_inverse", - _$result = null; - try { - _$result0 = _this._domains_move$_$v; - if (_$result0 == null) { - t1 = _this.get$domains_moving().build$0(); - t2 = _this.get$domains_fixed().build$0(); - t3 = _this.get$helices().build$0(); - t4 = _this.get$groups().build$0(); - t5 = _this.get$strands_with_domains_moving().build$0(); - t6 = _this.get$original_helices_view_order_inverse().build$0(); - t7 = _this.get$original_address().build$0(); - t8 = _this.get$current_address().build$0(); - t9 = _this.get$_domains_move$_$this()._allowable; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "allowable")); - t10 = _this.get$_domains_move$_$this()._copy; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "copy")); - t11 = _this.get$_domains_move$_$this()._keep_color; - if (t11 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "keep_color")); - _$result0 = new V._$DomainsMove(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "domains_moving")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "domains_fixed")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helices")); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "groups")); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s27_)); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s35_)); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "domains_moving"; - _this.get$domains_moving().build$0(); - _$failedField = "domains_fixed"; - _this.get$domains_fixed().build$0(); - _$failedField = "helices"; - _this.get$helices().build$0(); - _$failedField = "groups"; - _this.get$groups().build$0(); - _$failedField = _s27_; - _this.get$strands_with_domains_moving().build$0(); - _$failedField = _s35_; - _this.get$original_helices_view_order_inverse().build$0(); - _$failedField = "original_address"; - _this.get$original_address().build$0(); - _$failedField = "current_address"; - _this.get$current_address().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_DomainsMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._domains_move$_$v = t1; - return _$result; - }, - set$_domains_moving: function(_domains_moving) { - this._domains_moving = type$.legacy_ListBuilder_legacy_Domain._as(_domains_moving); - }, - set$_domains_fixed: function(_domains_fixed) { - this._domains_fixed = type$.legacy_ListBuilder_legacy_Domain._as(_domains_fixed); - }, - set$_domains_move$_helices: function(_helices) { - this._domains_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); - }, - set$_domains_move$_groups: function(_groups) { - this._domains_move$_groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); - }, - set$_strands_with_domains_moving: function(_strands_with_domains_moving) { - this._strands_with_domains_moving = type$.legacy_ListBuilder_legacy_Strand._as(_strands_with_domains_moving); - }, - set$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { - this._original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); - } - }; - V._DomainsMove_Object_BuiltJsonSerializable.prototype = {}; - M.EditModeChoice.prototype = { - key_code$0: function() { - var t1, t2; - for (t1 = J.get$iterator$ax(C.Map_2Vy1w.get$keys(C.Map_2Vy1w)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (C.Map_2Vy1w.$index(0, t2) === this) - return t2; - } - throw H.wrapException(P.AssertionError$("This should be unreachable.")); - }, - get$excluded_modes: function() { - switch (this) { - case C.EditModeChoice_select: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_rope_select: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_pencil: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_ligate, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_nick: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_ligate: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_insertion: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_deletion: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - case C.EditModeChoice_move_group: - return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); - default: - throw H.wrapException(P.ArgumentError$(this.toString$0(0) + " is not a valid EditModeChoice")); - } - }, - display_name$0: function() { - switch (this) { - case C.EditModeChoice_select: - return "(s)"; - case C.EditModeChoice_rope_select: - return "(r)"; - case C.EditModeChoice_pencil: - return "(p)"; - case C.EditModeChoice_nick: - return "(n)"; - case C.EditModeChoice_ligate: - return "(l)"; - case C.EditModeChoice_insertion: - return "(i)"; - case C.EditModeChoice_deletion: - return "(d)"; - case C.EditModeChoice_move_group: - return "(m)"; - } - return this.super$EnumClass$toString(0); - }, - get$tooltip: function() { - switch (this) { - case C.EditModeChoice_select: - return '(s)elect: This is similar to the Select edit mode in cadnano. It allows one to\nselect one or more items and delete, move, or copy/paste them. Which are \nallowed to be selected depends on the "Select Mode", shown when in select edit \nmode or rope select edit mode. By holding Shift or Ctrl and click-dragging,\na rectangular box can be drawn that will select everything in the box.'; - case C.EditModeChoice_rope_select: - return '(r)ope select: This is similar to select mode, but when holding Shift or Ctrl, \nit allows one to draw a general polygon (a "rope"), rather than just a \nrectangle. This is useful, for example, for selecting many objects along a\ndiagonal, where a rectangle containing all of them would also contain many\nobjects off the diagonal that are not intended to be selected.'; - case C.EditModeChoice_pencil: - return "(p)encil: Allows one to add new Strands (with a single domain) by clicking and dragging."; - case C.EditModeChoice_nick: - return "(n)ick: Clicking on a bound domain will split it into two at that position."; - case C.EditModeChoice_ligate: - return "(l)igate: If two bound domains point in the same direction and have abutting\n5'/3' ends, then clicking on either will join them into a single strand."; - case C.EditModeChoice_insertion: - return "(i)nsertion: Clicking on a bound domain adds an insertion at that offset.\nClicking an existing insertion removes it.\n\nCtrl+click will add an insertion to strands in *every* helix at the same offset."; - case C.EditModeChoice_deletion: - return '(d)eletion: Clicking on a bound domain adds a deletion at that offset.\nClicking an existing deletion removes it.\n\nCtrl+click will add a deletion to strands in *every* helix at the same offset.\nThis can be useful for adding "columns" of deletions useful for twist correction\nin DNA origami.\n(See https://www.nature.com/articles/nchem.1070 for an explanation of twist\ncorrection in DNA origami.)\n'; - case C.EditModeChoice_move_group: - return "(m)ove group: This mode allows one to translate the currently selected helix\ngroup in the main view by clicking and dragging (i.e., to change its\nposition.x and position.y coordinates, which can also be set manually under\nthe menu Group \u2192 adjust current group). When in this mode, press either the\nCtrl (Cmd on Mac) or Shift key and then click+drag with the cursor. (Without\npressing Ctrl or Shift, the normal panning of the view will occur, without\nchanging the position of any helix group.)"; - } - return this.super$EnumClass$toString(0); - }, - toString$0: function(_) { - return this.display_name$0(); - }, - get$image_file: function() { - switch (this) { - case C.EditModeChoice_select: - return "images/edit_mode_icons/select.svg"; - case C.EditModeChoice_rope_select: - return "images/edit_mode_icons/rope_select.svg"; - case C.EditModeChoice_pencil: - return "images/edit_mode_icons/pencil.svg"; - case C.EditModeChoice_nick: - return "images/edit_mode_icons/nick.svg"; - case C.EditModeChoice_ligate: - return "images/edit_mode_icons/ligate.svg"; - case C.EditModeChoice_insertion: - return "images/edit_mode_icons/insertion.svg"; - case C.EditModeChoice_deletion: - return "images/edit_mode_icons/deletion.svg"; - case C.EditModeChoice_move_group: - return "images/edit_mode_icons/move_group.svg"; - } - return ""; } }; - M._$EditModeChoiceSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_EditModeChoice._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return M._$valueOf4(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_EditModeChoice_hod; + A._Dialog_Object_BuiltJsonSerializable.prototype = {}; + A._DialogCheckbox_Object_BuiltJsonSerializable.prototype = {}; + A._DialogFloat_Object_BuiltJsonSerializable.prototype = {}; + A._DialogInteger_Object_BuiltJsonSerializable.prototype = {}; + A._DialogLabel_Object_BuiltJsonSerializable.prototype = {}; + A._DialogLink_Object_BuiltJsonSerializable.prototype = {}; + A._DialogRadio_Object_BuiltJsonSerializable.prototype = {}; + A._DialogText_Object_BuiltJsonSerializable.prototype = {}; + A._DialogTextArea_Object_BuiltJsonSerializable.prototype = {}; + A.DNAAssignOptions.prototype = {}; + A.DNAAssignOptions_DNAAssignOptions_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = _this.dna_sequence; + b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = _this.use_predefined_dna_sequence; + b.get$_dna_assign_options$_$this()._assign_complements = _this.assign_complements; + b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = _this.disable_change_sequence_bound_strand; + b.get$_dna_assign_options$_$this()._m13_rotation = _this.m13_rotation; + return b; }, - get$wireName: function() { - return "EditModeChoice"; - } + $signature: 358 }; - K.ExampleDesigns.prototype = {}; - K._$ExampleDesignsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_ExampleDesigns._as(object); - return H.setRuntimeTypeInfo(["directory", serializers.serialize$2$specifiedType(object.directory, C.FullType_h8g), "filenames", serializers.serialize$2$specifiedType(object.filenames, C.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$DNAAssignOptionsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAAssignOptions._as(object); + return ["dna_sequence", serializers.serialize$2$specifiedType(object.dna_sequence, B.FullType_h8g), "use_predefined_dna_sequence", serializers.serialize$2$specifiedType(object.use_predefined_dna_sequence, B.FullType_MtR), "assign_complements", serializers.serialize$2$specifiedType(object.assign_complements, B.FullType_MtR), "disable_change_sequence_bound_strand", serializers.serialize$2$specifiedType(object.disable_change_sequence_bound_strand, B.FullType_MtR), "m13_rotation", serializers.serialize$2$specifiedType(object.m13_rotation, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new K.ExampleDesignsBuilder(); - K.ExampleDesigns__initializeBuilder(result); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, value; + type$.Iterable_nullable_Object._as(serialized); + result = new A.DNAAssignOptionsBuilder(); + A.DNAAssignOptions__initializeBuilder(result); iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_String, t3 = type$.List_legacy_String, t4 = type$.ListBuilder_legacy_String; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "directory": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_example_designs$_$this()._directory = t5; + switch (t1) { + case "dna_sequence": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = t1; break; - case "filenames": - t5 = result.get$_example_designs$_$this(); - t6 = t5._filenames; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); - t6.set$_listOwner(null); - t5.set$_filenames(t6); - t5 = t6; - } else - t5 = t6; - t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + case "use_predefined_dna_sequence": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = t1; break; - case "selected_idx": - t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_example_designs$_$this()._selected_idx = t5; + case "assign_complements": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_assign_options$_$this()._assign_complements = t1; + break; + case "disable_change_sequence_bound_strand": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = t1; + break; + case "m13_rotation": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_dna_assign_options$_$this()._m13_rotation = t1; break; } } - return result.build$0(); + return result._dna_assign_options$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_ouD; + get$types() { + return B.List_6hp; }, - get$wireName: function() { - return "ExampleDesigns"; + get$wireName() { + return "DNAAssignOptions"; } }; - K._$ExampleDesigns.prototype = { - $eq: function(_, other) { + A._$DNAAssignOptions.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof K.ExampleDesigns && _this.directory === other.directory && J.$eq$(_this.filenames, other.filenames) && _this.selected_idx === other.selected_idx; + return other instanceof A.DNAAssignOptions && _this.dna_sequence === other.dna_sequence && _this.use_predefined_dna_sequence === other.use_predefined_dna_sequence && _this.assign_complements === other.assign_complements && _this.disable_change_sequence_bound_strand === other.disable_change_sequence_bound_strand && _this.m13_rotation === other.m13_rotation; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._example_designs$__hashCode; - return t1 == null ? _this._example_designs$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.directory)), J.get$hashCode$(_this.filenames)), C.JSInt_methods.get$hashCode(_this.selected_idx))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dna_assign_options$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.dna_sequence)), B.JSBool_methods.get$hashCode(_this.use_predefined_dna_sequence)), B.JSBool_methods.get$hashCode(_this.assign_complements)), B.JSBool_methods.get$hashCode(_this.disable_change_sequence_bound_strand)), B.JSInt_methods.get$hashCode(_this.m13_rotation))); + t1 = _this._dna_assign_options$__hashCode; + if (t1 == null) { + _this._dna_assign_options$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesigns"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAAssignOptions"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "directory", this.directory); - t2.add$2(t1, "filenames", this.filenames); - t2.add$2(t1, "selected_idx", this.selected_idx); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "use_predefined_dna_sequence", _this.use_predefined_dna_sequence); + t2.add$2(t1, "assign_complements", _this.assign_complements); + t2.add$2(t1, "disable_change_sequence_bound_strand", _this.disable_change_sequence_bound_strand); + t2.add$2(t1, "m13_rotation", _this.m13_rotation); return t2.toString$0(t1); } }; - K.ExampleDesignsBuilder.prototype = { - get$filenames: function() { - var t1 = this.get$_example_designs$_$this(), - t2 = t1._filenames; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); - t1.set$_filenames(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_example_designs$_$this: function() { - var t1, _this = this, - $$v = _this._example_designs$_$v; + A.DNAAssignOptionsBuilder.prototype = { + get$_dna_assign_options$_$this() { + var _this = this, + $$v = _this._dna_assign_options$_$v; if ($$v != null) { - _this._directory = $$v.directory; - t1 = $$v.filenames; - t1.toString; - _this.set$_filenames(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._selected_idx = $$v.selected_idx; - _this._example_designs$_$v = null; + _this._dna_assign_options$_dna_sequence = $$v.dna_sequence; + _this._use_predefined_dna_sequence = $$v.use_predefined_dna_sequence; + _this._assign_complements = $$v.assign_complements; + _this._disable_change_sequence_bound_strand = $$v.disable_change_sequence_bound_strand; + _this._m13_rotation = $$v.m13_rotation; + _this._dna_assign_options$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s14_ = "ExampleDesigns", - _$result = null; - try { - _$result0 = _this._example_designs$_$v; - if (_$result0 == null) { - t1 = _this.get$_example_designs$_$this()._directory; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "directory")); - t2 = _this.get$filenames().build$0(); - t3 = _this.get$_example_designs$_$this()._selected_idx; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "selected_idx")); - _$result0 = new K._$ExampleDesigns(t1, t2, t3); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "filenames")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "filenames"; - _this.get$filenames().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_ExampleDesigns._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._example_designs$_$v = t1; - return _$result; - }, - set$_filenames: function(_filenames) { - this._filenames = type$.legacy_ListBuilder_legacy_String._as(_filenames); + _dna_assign_options$_build$0() { + var t1, t2, t3, t4, t5, t6, t7, t8, _this = this, + _s16_ = "DNAAssignOptions", + _s12_ = "dna_sequence", + _s27_ = "use_predefined_dna_sequence", + _s18_ = "assign_complements", + _s36_ = "disable_change_sequence_bound_strand", + _s12_0 = "m13_rotation", + _$result = _this._dna_assign_options$_$v; + if (_$result == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence, _s16_, _s12_, t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_assign_options$_$this()._use_predefined_dna_sequence, _s16_, _s27_, t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_assign_options$_$this()._assign_complements, _s16_, _s18_, t3); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand, _s16_, _s36_, t3); + t7 = type$.int; + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_assign_options$_$this()._m13_rotation, _s16_, _s12_0, t7); + _$result = new A._$DNAAssignOptions(t2, t4, t5, t6, t8); + A.BuiltValueNullFieldError_checkNotNull(t2, _s16_, _s12_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s16_, _s27_, t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s16_, _s18_, t3); + A.BuiltValueNullFieldError_checkNotNull(t6, _s16_, _s36_, t3); + A.BuiltValueNullFieldError_checkNotNull(t8, _s16_, _s12_0, t7); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAAssignOptions); + return _this._dna_assign_options$_$v = _$result; } }; - K._ExampleDesigns_Object_BuiltJsonSerializable.prototype = {}; - D.strands_comparison_function_compare.prototype = { - call$2: function(strand1, strand2) { - var t2, helix_offset1, helix_offset2, helix_idx1, offset1, helix_idx2, offset2, tuple1, tuple2, t3, - t1 = type$.legacy_Strand; - t1._as(strand1); - t1._as(strand2); - t1 = this.strand_order; - t2 = this.column_major; - helix_offset1 = D.strand_helix_offset_key(strand1, t1, t2); - helix_offset2 = D.strand_helix_offset_key(strand2, t1, t2); - helix_idx1 = helix_offset1.item1; - offset1 = helix_offset1.item2; - helix_idx2 = helix_offset2.item1; - offset2 = helix_offset2.item2; - t1 = type$.Tuple2_of_legacy_int_and_legacy_int; - if (t2) { - tuple1 = new S.Tuple2(offset1, helix_idx1, t1); - tuple2 = new S.Tuple2(offset2, helix_idx2, t1); - } else { - tuple1 = new S.Tuple2(helix_idx1, offset1, t1); - tuple2 = new S.Tuple2(helix_idx2, offset2, t1); - } - t1 = tuple1.item1; - t2 = tuple2.item1; - t3 = J.getInterceptor$(t1); - if (!t3.$eq(t1, t2)) - return H._asIntS(t3.$sub(t1, t2)); - else - return H._asIntS(J.$sub$n(tuple1.item2, tuple2.item2)); - }, - $signature: 374 - }; - D.ExportDNAFormat.prototype = { - extension$0: function() { - switch (this) { - case C.ExportDNAFormat_csv: - return "csv"; - case C.ExportDNAFormat_idt_bulk: - return "txt"; - case C.ExportDNAFormat_idt_plates96: - case C.ExportDNAFormat_idt_plates384: - return "xlsx"; + A._DNAAssignOptions_Object_BuiltJsonSerializable.prototype = {}; + A.DNAEnd.prototype = { + get$offset_inclusive() { + var t1 = this.offset; + if (this.is_start) + t1.toString; + else { + t1.toString; + --t1; } - throw H.wrapException(D.ExportDNAException$(string$.You_ha)); - }, - toString$0: function(_) { - return C.Map_bv0.$index(0, this); + return t1; }, - blob_type$0: function() { - switch (this) { - case C.ExportDNAFormat_csv: - return C.BlobType_0; - case C.ExportDNAFormat_idt_bulk: - return C.BlobType_0; - case C.ExportDNAFormat_idt_plates96: - case C.ExportDNAFormat_idt_plates384: - return C.BlobType_3; - } - throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + get$is_3p() { + return !this.is_5p; }, - export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order: function(strands, column_major_plate, column_major_strand, delimiter, domain_delimiter, strand_order) { - var e, t1, exception, - _s133_ = string$.You_ha, - strands_sorted = J.toList$0$ax(type$.legacy_Iterable_legacy_Strand._as(strands)); - if (strand_order != null) - J.sort$1$ax(strands_sorted, D.strands_comparison_function(strand_order, column_major_strand)); - try { - switch (this) { - case C.ExportDNAFormat_csv: - t1 = D.csv_export(strands_sorted, domain_delimiter); - return t1; - case C.ExportDNAFormat_idt_bulk: - t1 = D.idt_bulk_export(strands_sorted, delimiter, domain_delimiter); - return t1; - case C.ExportDNAFormat_idt_plates96: - t1 = D.idt_plates_export(strands_sorted, C.PlateType_0, column_major_plate, domain_delimiter); - return t1; - case C.ExportDNAFormat_idt_plates384: - t1 = D.idt_plates_export(strands_sorted, C.PlateType_1, column_major_plate, domain_delimiter); - return t1; - } - } catch (exception) { - t1 = H.unwrapException(exception); - if (t1 instanceof D.ExportDNAException) { - e = t1; - throw H.wrapException(e); - } else if (type$.legacy_Error._is(t1)) - throw H.wrapException(D.ExportDNAException$(_s133_)); - else if (type$.legacy_Exception._is(t1)) - throw H.wrapException(D.ExportDNAException$(_s133_)); + get$select_mode() { + if (this.is_5p) + if (this.substrand_is_first) + return B.SelectModeChoice_end_5p_strand; else - throw exception; - } - throw H.wrapException(D.ExportDNAException$(_s133_)); - } - }; - D.ExportDNAException.prototype = {$isException: 1, - get$cause: function() { - return this.cause; - } - }; - D.csv_export_closure.prototype = { - call$1: function(strand) { - var t1, t2; - type$.legacy_Strand._as(strand); - t1 = H.S(strand.vendor_export_name$0()) + ","; - t2 = strand.vendor_dna_sequence$1$domain_delimiter(this.domain_delimiter); - return t1 + (t2 == null ? "*****NONE*****" : t2); - }, - $signature: 129 - }; - D.idt_bulk_export_closure.prototype = { - call$1: function(strand) { - var t1, t2, t3, _this = this; - type$.legacy_Strand._as(strand); - t1 = _this.delimiter; - t2 = H.S(strand.vendor_export_name$0()) + t1; - t3 = strand.vendor_dna_sequence$1$domain_delimiter(_this.domain_delimiter); - return t2 + (t3 == null ? "*****NONE*****" : t3) + t1 + _this.scale + t1 + _this.purification; - }, - $signature: 129 - }; - D.PlateType.prototype = { - toString$0: function(_) { - return this._export_dna_format$_name; - } - }; - D._$ExportDNAFormatSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_ExportDNAFormat._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return D._$valueOf5(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_ExportDNAFormat_QK8; - }, - get$wireName: function() { - return "ExportDNAFormat"; - } - }; - O.StrandOrder.prototype = { - toString$0: function(_) { - return C.Map_yHyvP.$index(0, this); - } - }; - O._$StrandOrderSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_StrandOrder._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return O._$valueOf10(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_StrandOrder_Jrj; - }, - get$wireName: function() { - return "StrandOrder"; - } - }; - S.Extension.prototype = { - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var t2, t3, _this = this, - json_map = P.LinkedHashMap_LinkedHashMap$_literal(["extension_num_bases", _this.num_bases], type$.legacy_String, type$.dynamic), - t1 = _this.display_length; - if (t1 !== 1.5) - json_map.$indexSet(0, "display_length", t1); - t1 = _this.display_angle; - if (t1 !== 35) - json_map.$indexSet(0, "display_angle", t1); - t1 = _this.name; - if (t1 != null) - json_map.$indexSet(0, "name", t1); - t1 = _this.color; - if (t1 != null) { - t1 = t1.toHexColor$0(); - json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); - } - t1 = _this.label; - if (t1 != null) - json_map.$indexSet(0, "label", t1); - t1 = _this.unused_fields; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - return suppress_indent ? new K.NoIndent(json_map) : json_map; - }, - set_dna_sequence$1: function(seq) { - return this.rebuild$1(new S.Extension_set_dna_sequence_closure(seq)); - }, - is_domain$0: function() { - return false; - }, - is_loopout$0: function() { - return false; - }, - get$select_mode: function() { - return C.SelectModeChoice_extension_; - }, - get$id: function(_) { - return "extension-" + (H.boolConversionCheck(this.is_5p) ? "5p" : "3p") + "-" + H.S(this.strand_id); - }, - dna_length$0: function() { - return this.num_bases; - }, - type_description$0: function() { - return "extension"; + return B.SelectModeChoice_end_5p_domain; + else if (this.substrand_is_last) + return B.SelectModeChoice_end_3p_strand; + else + return B.SelectModeChoice_end_3p_domain; }, - get$dnaend_free: function() { - var _this = this, - t1 = _this.is_5p; - H.boolConversionCheck(t1); - return Z.DNAEnd_DNAEnd(t1, true, _this.is_scaffold, true, null, _this.get$id(_this), t1, !t1); + get$id(_) { + return "end-" + (this.is_5p ? "5p" : "3p") + "-" + this.substrand_id; }, - $isSelectable: 1, - $isSubstrand: 1 + $isSelectable: 1 }; - S.Extension_Extension_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$_extension$_$this()._num_bases = _this.num_bases; - b.get$_extension$_$this()._display_length = _this.display_length; - b.get$_extension$_$this()._display_angle = _this.display_angle; - b.get$_extension$_$this()._is_5p = _this.is_5p; - b.get$_extension$_$this()._extension$_name = _this.name; - b.get$_extension$_$this()._extension$_label = _this.label; - b.get$_extension$_$this()._dna_sequence = _this.dna_sequence; - b.get$_extension$_$this()._extension$_color = _this.color; - b.get$_extension$_$this()._extension$_is_scaffold = _this.is_scaffold; - t1 = _this.adjacent_domain; - if (t1 == null) - t1 = null; - else { - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - t1 = t2; - } - b.get$_extension$_$this()._adjacent_domain = t1; - b.get$unused_fields().replace$1(0, _this._box_0.unused_fields); + A.DNAEnd_DNAEnd_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_dna_end$_$this()._dna_end$_offset = _this.offset; + b.get$_dna_end$_$this()._dna_end$_is_5p = _this.is_5p; + b.get$_dna_end$_$this()._is_start = _this.is_start; + b.get$_dna_end$_$this()._dna_end$_forward = _this.forward; + b.get$_dna_end$_$this()._substrand_is_first = _this.substrand_is_first; + b.get$_dna_end$_$this()._substrand_is_last = _this.substrand_is_last; + b.get$_dna_end$_$this()._substrand_id = _this.substrand_id; + b.get$_dna_end$_$this()._dna_end$_is_scaffold = _this.is_scaffold; + b.get$_dna_end$_$this()._is_on_extension = _this.is_on_extension; return b; }, - $signature: 19 - }; - S.Extension_set_dna_sequence_closure.prototype = { - call$1: function(ext) { - ext.get$_extension$_$this()._dna_sequence = this.seq; - return ext; - }, - $signature: 19 + $signature: 359 }; - S._$ExtensionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A._$DNAEndSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_Extension._as(object); - result = H.setRuntimeTypeInfo(["num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq), "display_length", serializers.serialize$2$specifiedType(object.display_length, C.FullType_MME), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, C.FullType_MME), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.is_5p; - if (value != null) { - C.JSArray_methods.add$1(result, "is_5p"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_MtR)); - } - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.dna_sequence; - if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.color; - if (value != null) { - C.JSArray_methods.add$1(result, "color"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); - } - value = object.strand_id; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_id"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.adjacent_domain; + type$.DNAEnd._as(object); + result = ["forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_MtR), "is_start", serializers.serialize$2$specifiedType(object.is_start, B.FullType_MtR), "is_on_extension", serializers.serialize$2$specifiedType(object.is_on_extension, B.FullType_MtR), "substrand_is_first", serializers.serialize$2$specifiedType(object.substrand_is_first, B.FullType_MtR), "substrand_is_last", serializers.serialize$2$specifiedType(object.substrand_is_last, B.FullType_MtR), "substrand_id", serializers.serialize$2$specifiedType(object.substrand_id, B.FullType_h8g), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR)]; + value = object.offset; if (value != null) { - C.JSArray_methods.add$1(result, "adjacent_domain"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_fnc)); + result.push("offset"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new S.ExtensionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain, t2 = type$.legacy_Color; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.DNAEndBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "num_bases": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_extension$_$this()._num_bases = t3; - break; - case "display_length": - t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_extension$_$this()._display_length = t3; + switch (t1) { + case "offset": + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + result.get$_dna_end$_$this()._dna_end$_offset = t1; break; - case "display_angle": - t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_extension$_$this()._display_angle = t3; + case "forward": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._dna_end$_forward = t1; break; case "is_5p": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_extension$_$this()._is_5p = t3; + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._dna_end$_is_5p = t1; break; - case "label": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_extension$_$this()._extension$_label = t3; + case "is_start": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._is_start = t1; break; - case "name": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_extension$_$this()._extension$_name = t3; + case "is_on_extension": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._is_on_extension = t1; break; - case "dna_sequence": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_extension$_$this()._dna_sequence = t3; + case "substrand_is_first": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._substrand_is_first = t1; break; - case "color": - t3 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_extension$_$this()._extension$_color = t3; + case "substrand_is_last": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._substrand_is_last = t1; break; - case "strand_id": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_extension$_$this()._strand_id = t3; + case "substrand_id": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_dna_end$_$this()._substrand_id = t1; break; case "is_scaffold": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_extension$_$this()._extension$_is_scaffold = t3; - break; - case "adjacent_domain": - t3 = result.get$_extension$_$this(); - t4 = t3._adjacent_domain; - t3 = t4 == null ? t3._adjacent_domain = new G.DomainBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_dna_end$_$this()._dna_end$_is_scaffold = t1; break; } } - return result.build$0(); + return result._dna_end$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_eAf; + get$types() { + return B.List_6iC; }, - get$wireName: function() { - return "Extension"; + get$wireName() { + return "DNAEnd"; } }; - S._$Extension.prototype = { - get$select_mode: function() { - var t1 = this._extension$__select_mode; - return t1 == null ? this._extension$__select_mode = S.Extension.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._extension$__id; - return t1 == null ? _this._extension$__id = S.Extension.prototype.get$id.call(_this, _this) : t1; + A._$DNAEnd.prototype = { + get$is_3p() { + var t1 = this.__is_3p; + return t1 == null ? this.__is_3p = A.DNAEnd.prototype.get$is_3p.call(this) : t1; }, - get$dnaend_free: function() { - var t1 = this.__dnaend_free; - return t1 == null ? this.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(this) : t1; + get$select_mode() { + var t1 = this._dna_end$__select_mode; + return t1 == null ? this._dna_end$__select_mode = A.DNAEnd.prototype.get$select_mode.call(this) : t1; }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_ExtensionBuilder._as(updates); - t1 = new S.ExtensionBuilder(); - t1._extension$_$v = this; - updates.call$1(t1); - return t1.build$0(); + get$id(_) { + var _this = this, + t1 = _this._dna_end$__id; + return t1 == null ? _this._dna_end$__id = A.DNAEnd.prototype.get$id.call(_this, _this) : t1; }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof S.Extension && _this.num_bases === other.num_bases && _this.display_length === other.display_length && _this.display_angle === other.display_angle && _this.is_5p == other.is_5p && _this.label == other.label && _this.name == other.name && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.adjacent_domain, other.adjacent_domain) && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.DNAEnd && _this.offset == other.offset && _this.forward === other.forward && _this.is_5p === other.is_5p && _this.is_start === other.is_start && _this.is_on_extension === other.is_on_extension && _this.substrand_is_first === other.substrand_is_first && _this.substrand_is_last === other.substrand_is_last && _this.substrand_id === other.substrand_id && _this.is_scaffold === other.is_scaffold; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._extension$__hashCode; - return t1 == null ? _this._extension$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.num_bases)), C.JSNumber_methods.get$hashCode(_this.display_length)), C.JSNumber_methods.get$hashCode(_this.display_angle)), J.get$hashCode$(_this.is_5p)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.adjacent_domain)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dna_end$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.offset)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSBool_methods.get$hashCode(_this.is_5p)), B.JSBool_methods.get$hashCode(_this.is_start)), B.JSBool_methods.get$hashCode(_this.is_on_extension)), B.JSBool_methods.get$hashCode(_this.substrand_is_first)), B.JSBool_methods.get$hashCode(_this.substrand_is_last)), B.JSString_methods.get$hashCode(_this.substrand_id)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); + t1 = _this._dna_end$__hashCode; + if (t1 == null) { + _this._dna_end$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Extension"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEnd"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "num_bases", _this.num_bases); - t2.add$2(t1, "display_length", _this.display_length); - t2.add$2(t1, "display_angle", _this.display_angle); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "forward", _this.forward); t2.add$2(t1, "is_5p", _this.is_5p); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "name", _this.name); - t2.add$2(t1, "dna_sequence", _this.dna_sequence); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "is_start", _this.is_start); + t2.add$2(t1, "is_on_extension", _this.is_on_extension); + t2.add$2(t1, "substrand_is_first", _this.substrand_is_first); + t2.add$2(t1, "substrand_is_last", _this.substrand_is_last); + t2.add$2(t1, "substrand_id", _this.substrand_id); t2.add$2(t1, "is_scaffold", _this.is_scaffold); - t2.add$2(t1, "adjacent_domain", _this.adjacent_domain); - t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$label: function(receiver) { - return this.label; - }, - get$name: function(receiver) { - return this.name; - }, - get$dna_sequence: function() { - return this.dna_sequence; - }, - get$color: function(receiver) { - return this.color; - }, - get$strand_id: function() { - return this.strand_id; + get$offset(receiver) { + return this.offset; }, - get$is_scaffold: function() { + get$is_scaffold() { return this.is_scaffold; } }; - S.ExtensionBuilder.prototype = { - get$adjacent_domain: function() { - var t1 = this.get$_extension$_$this(), - t2 = t1._adjacent_domain; - return t2 == null ? t1._adjacent_domain = new G.DomainBuilder() : t2; - }, - get$unused_fields: function() { - var t1 = this.get$_extension$_$this(), - t2 = t1._extension$_unused_fields; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_extension$_unused_fields(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A.DNAEndBuilder.prototype = { + get$offset(_) { + return this.get$_dna_end$_$this()._dna_end$_offset; }, - get$_extension$_$this: function() { - var t1, t2, _this = this, - $$v = _this._extension$_$v; + get$_dna_end$_$this() { + var _this = this, + $$v = _this._dna_end$_$v; if ($$v != null) { - _this._num_bases = $$v.num_bases; - _this._display_length = $$v.display_length; - _this._display_angle = $$v.display_angle; - _this._is_5p = $$v.is_5p; - _this._extension$_label = $$v.label; - _this._extension$_name = $$v.name; - _this._dna_sequence = $$v.dna_sequence; - _this._extension$_color = $$v.color; - _this._strand_id = $$v.strand_id; - _this._extension$_is_scaffold = $$v.is_scaffold; - t1 = $$v.adjacent_domain; - if (t1 == null) - t1 = null; - else { - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - t1 = t2; - } - _this._adjacent_domain = t1; - t1 = $$v.unused_fields; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_extension$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._extension$_$v = null; + _this._dna_end$_offset = $$v.offset; + _this._dna_end$_forward = $$v.forward; + _this._dna_end$_is_5p = $$v.is_5p; + _this._is_start = $$v.is_start; + _this._is_on_extension = $$v.is_on_extension; + _this._substrand_is_first = $$v.substrand_is_first; + _this._substrand_is_last = $$v.substrand_is_last; + _this._substrand_id = $$v.substrand_id; + _this._dna_end$_is_scaffold = $$v.is_scaffold; + _this._dna_end$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, - _s9_ = "Extension", - _$result = null; - try { - _$result0 = _this._extension$_$v; - if (_$result0 == null) { - t1 = _this.get$_extension$_$this()._num_bases; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "num_bases")); - t2 = _this.get$_extension$_$this()._display_length; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "display_length")); - t3 = _this.get$_extension$_$this()._display_angle; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "display_angle")); - t4 = _this.get$_extension$_$this()._is_5p; - t5 = _this.get$_extension$_$this()._extension$_label; - t6 = _this.get$_extension$_$this()._extension$_name; - t7 = _this.get$_extension$_$this()._dna_sequence; - t8 = _this.get$_extension$_$this()._extension$_color; - t9 = _this.get$_extension$_$this()._strand_id; - t10 = _this.get$_extension$_$this()._extension$_is_scaffold; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "is_scaffold")); - t11 = _this._adjacent_domain; - t11 = t11 == null ? null : t11.build$0(); - t12 = _this.get$unused_fields().build$0(); - _$result0 = new S._$Extension(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12); - if (t12 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "unused_fields")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "adjacent_domain"; - t1 = _this._adjacent_domain; - if (t1 != null) - t1.build$0(); - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_Extension._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._extension$_$v = t1; - return _$result; - }, - set$_extension$_unused_fields: function(_unused_fields) { - this._extension$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + _dna_end$_build$0() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s6_ = "DNAEnd", + _s8_ = "is_start", + _s15_ = "is_on_extension", + _s18_ = "substrand_is_first", + _s17_ = "substrand_is_last", + _s12_ = "substrand_id", + _s11_ = "is_scaffold", + _$result = _this._dna_end$_$v; + if (_$result == null) { + t1 = _this.get$_dna_end$_$this()._dna_end$_offset; + t2 = type$.bool; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._dna_end$_forward, _s6_, "forward", t2); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._dna_end$_is_5p, _s6_, "is_5p", t2); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._is_start, _s6_, _s8_, t2); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._is_on_extension, _s6_, _s15_, t2); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._substrand_is_first, _s6_, _s18_, t2); + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._substrand_is_last, _s6_, _s17_, t2); + t9 = type$.String; + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._substrand_id, _s6_, _s12_, t9); + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_end$_$this()._dna_end$_is_scaffold, _s6_, _s11_, t2); + _$result = new A._$DNAEnd(t1, t3, t4, t5, t6, t7, t8, t10, t11); + A.BuiltValueNullFieldError_checkNotNull(t3, _s6_, "forward", t2); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, "is_5p", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s6_, _s8_, t2); + A.BuiltValueNullFieldError_checkNotNull(t6, _s6_, _s15_, t2); + A.BuiltValueNullFieldError_checkNotNull(t7, _s6_, _s18_, t2); + A.BuiltValueNullFieldError_checkNotNull(t8, _s6_, _s17_, t2); + A.BuiltValueNullFieldError_checkNotNull(t10, _s6_, _s12_, t9); + A.BuiltValueNullFieldError_checkNotNull(t11, _s6_, _s11_, t2); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.DNAEnd); + return _this._dna_end$_$v = _$result; } }; - S._Extension_Object_SelectableMixin.prototype = {}; - S._Extension_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; - N.Geometry.prototype = { - get$distance_between_helices_nm: function() { - return 2 * this.helix_radius + this.inter_helix_gap; - }, - get$distance_between_helices_svg: function() { - return this.get$distance_between_helices_nm() * this.get$nm_to_svg_pixels(); - }, - get$helix_diameter_nm: function() { - return 2 * this.helix_radius; - }, - get$helix_radius_svg: function() { - return this.helix_radius * this.get$nm_to_svg_pixels(); - }, - get$helix_diameter_svg: function() { - var _this = this, - t1 = _this.__helix_diameter_nm; - if (t1 == null) - t1 = _this.__helix_diameter_nm = N.Geometry.prototype.get$helix_diameter_nm.call(_this); - return t1 * _this.get$nm_to_svg_pixels(); - }, - get$base_width_svg: function() { - return this.rise_per_base_pair * 30.12; + A._DNAEnd_Object_SelectableMixin.prototype = {}; + A._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A.DNAEndsMove.prototype = { + get$ends_moving() { + var t2, + t1 = A._setArrayType([], type$.JSArray_DNAEnd); + for (t2 = this.moves._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.push(t2.__interceptors$_current.dna_end); + return A._BuiltList$of(t1, type$.DNAEnd); }, - get$base_height_svg: function() { - return this.rise_per_base_pair * 30.12; + get$delta() { + var t1 = this.current_offset, + t2 = this.original_offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return t1 - t2; }, - get$nm_to_svg_pixels: function() { - return this.get$base_width_svg() / this.rise_per_base_pair; + get$is_nontrivial() { + var t1, t2, t3, t4; + if (this.get$delta() === 0) + return false; + for (t1 = this.moves._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current.dna_end; + t3 = this.current_capped_offset_of$1(t2); + t3.toString; + t4 = t2.is_start; + t2 = t2.offset; + if (t4) + t2.toString; + else { + t2.toString; + --t2; + } + if (t3 !== t2) + return true; + } + return false; }, - get$svg_pixels_to_nm: function() { - return 1 / this.get$nm_to_svg_pixels(); + current_capped_offset_of$1(end) { + var t1, t2, t3, t4, current_offset_end, _this = this; + for (t1 = _this.moves._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.dna_end; + if (J.$eq$(t3, end)) { + t1 = t3.is_start; + t3 = t3.offset; + if (t1) { + t3.toString; + t1 = t3; + } else { + t3.toString; + t1 = t3 - 1; + } + t3 = _this._dna_ends_move$__delta; + if (t3 == null) { + t3 = _this._dna_ends_move$__delta = A.DNAEndsMove.prototype.get$delta.call(_this); + t4 = t3; + } else + t4 = t3; + current_offset_end = t1 + t3; + if (t4 > 0) + current_offset_end = Math.min(t2.highest_offset, current_offset_end); + else if (t4 < 0) + current_offset_end = Math.max(t2.lowest_offset, current_offset_end); + return current_offset_end; + } + } + return null; } }; - N.Geometry_Geometry_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_geometry$_$this()._rise_per_base_pair = _this.rise_per_base_pair; - b.get$_geometry$_$this()._helix_radius = _this.helix_radius; - b.get$_geometry$_$this()._inter_helix_gap = _this.inter_helix_gap; - b.get$_geometry$_$this()._bases_per_turn = _this.bases_per_turn; - b.get$_geometry$_$this()._minor_groove_angle = _this.minor_groove_angle; - return b; - }, - $signature: 130 - }; - N.Geometry_from_json_closure.prototype = { - call$1: function(angle_radians) { - H._asNumS(angle_radians); - if (typeof angle_radians !== "number") - return angle_radians.$mul(); - return angle_radians * 360 / 6.283185307179586; - }, - $signature: 377 - }; - N.Geometry_from_json_closure0.prototype = { - call$1: function(b) { - var t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(this.unused_fields); - b.get$_geometry$_$this().set$_geometry$_unused_fields(t1); - return b; - }, - $signature: 130 - }; - N._$GeometrySerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Geometry._as(object); - return H.setRuntimeTypeInfo(["rise_per_base_pair", serializers.serialize$2$specifiedType(object.rise_per_base_pair, C.FullType_MME), "helix_radius", serializers.serialize$2$specifiedType(object.helix_radius, C.FullType_MME), "inter_helix_gap", serializers.serialize$2$specifiedType(object.inter_helix_gap, C.FullType_MME), "bases_per_turn", serializers.serialize$2$specifiedType(object.bases_per_turn, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME)], type$.JSArray_legacy_Object); + A.DNAEndMove.prototype = {}; + A._$DNAEndsMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAEndsMove._as(object); + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new N.GeometryBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, t10, + result = new A.DNAEndsMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Helix, t2 = type$.BuiltList_nullable_Object, t3 = type$.DNAEndMove, t4 = type$.List_DNAEndMove, t5 = type$.ListBuilder_DNAEndMove; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "rise_per_base_pair": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_geometry$_$this()._rise_per_base_pair = t1; - break; - case "helix_radius": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_geometry$_$this()._helix_radius = t1; + switch (t6) { + case "moves": + t6 = result.get$_dna_ends_move$_$this(); + t7 = t6._moves; + if (t7 == null) { + t7 = new A.ListBuilder(t5); + t7.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_moves(t7); + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_TgZ); + t7.toString; + t2._as(t7); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list_A(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list_A(t10._as(A.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } break; - case "inter_helix_gap": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_geometry$_$this()._inter_helix_gap = t1; + case "original_offset": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t6.toString; + A._asIntS(t6); + result.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset = t6; break; - case "bases_per_turn": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_geometry$_$this()._bases_per_turn = t1; + case "helix": + t6 = result.get$_dna_ends_move$_$this(); + t7 = t6._dna_ends_move$_helix; + if (t7 == null) { + t7 = new A.HelixBuilder(); + t7.get$_helix$_$this()._group = "default_group"; + t7.get$_helix$_$this()._min_offset = 0; + t7.get$_helix$_$this()._roll = 0; + t6._dna_ends_move$_helix = t7; + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t7.toString; + t1._as(t7); + t6._helix$_$v = t7; break; - case "minor_groove_angle": - t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_geometry$_$this()._minor_groove_angle = t1; + case "current_offset": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t6.toString; + A._asIntS(t6); + result.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t6; break; } } - return result.build$0(); + return result._dna_ends_move$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_JYK; + get$types() { + return B.List_6pZ; }, - get$wireName: function() { - return "Geometry"; + get$wireName() { + return "DNAEndsMove"; } }; - N._$Geometry.prototype = { - get$distance_between_helices_nm: function() { - var t1 = this.__distance_between_helices_nm; - return t1 == null ? this.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(this) : t1; + A._$DNAEndMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAEndMove._as(object); + return ["dna_end", serializers.serialize$2$specifiedType(object.dna_end, B.FullType_QR4), "lowest_offset", serializers.serialize$2$specifiedType(object.lowest_offset, B.FullType_kjq), "highest_offset", serializers.serialize$2$specifiedType(object.highest_offset, B.FullType_kjq)]; }, - get$distance_between_helices_svg: function() { - var t1 = this.__distance_between_helices_svg; - return t1 == null ? this.__distance_between_helices_svg = N.Geometry.prototype.get$distance_between_helices_svg.call(this) : t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$helix_radius_svg: function() { - var t1 = this.__helix_radius_svg; - return t1 == null ? this.__helix_radius_svg = N.Geometry.prototype.get$helix_radius_svg.call(this) : t1; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.DNAEndMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEnd; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "dna_end": + t2 = result.get$_dna_ends_move$_$this(); + t3 = t2._dna_end; + t2 = t3 == null ? t2._dna_end = new A.DNAEndBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t3.toString; + t1._as(t3); + t2._dna_end$_$v = t3; + break; + case "lowest_offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_dna_ends_move$_$this()._lowest_offset = t2; + break; + case "highest_offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_dna_ends_move$_$this()._highest_offset = t2; + break; + } + } + return result._dna_ends_move$_build$0(); }, - get$base_width_svg: function() { - var t1 = this.__base_width_svg; - return t1 == null ? this.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(this) : t1; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$base_height_svg: function() { - var t1 = this.__base_height_svg; - return t1 == null ? this.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(this) : t1; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_A2Y; }, - get$nm_to_svg_pixels: function() { - var t1 = this.__nm_to_svg_pixels; - return t1 == null ? this.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(this) : t1; + get$wireName() { + return "DNAEndMove"; + } + }; + A._$DNAEndsMove.prototype = { + get$ends_moving() { + var t1 = this._dna_ends_move$__ends_moving; + if (t1 == null) { + t1 = A.DNAEndsMove.prototype.get$ends_moving.call(this); + this.set$_dna_ends_move$__ends_moving(t1); + } + return t1; }, - get$svg_pixels_to_nm: function() { - var t1 = this.__svg_pixels_to_nm; - return t1 == null ? this.__svg_pixels_to_nm = N.Geometry.prototype.get$svg_pixels_to_nm.call(this) : t1; + get$delta() { + var t1 = this._dna_ends_move$__delta; + return t1 == null ? this._dna_ends_move$__delta = A.DNAEndsMove.prototype.get$delta.call(this) : t1; }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof N.Geometry && _this.rise_per_base_pair === other.rise_per_base_pair && _this.helix_radius === other.helix_radius && _this.inter_helix_gap === other.inter_helix_gap && _this.bases_per_turn === other.bases_per_turn && _this.minor_groove_angle === other.minor_groove_angle && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.DNAEndsMove && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && _this.current_offset == other.current_offset; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._geometry$__hashCode; - return t1 == null ? _this._geometry$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSNumber_methods.get$hashCode(_this.rise_per_base_pair)), C.JSNumber_methods.get$hashCode(_this.helix_radius)), C.JSNumber_methods.get$hashCode(_this.inter_helix_gap)), C.JSNumber_methods.get$hashCode(_this.bases_per_turn)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._dna_ends_move$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.current_offset))); + t1 = _this._dna_ends_move$__hashCode; + if (t1 == null) { + _this._dna_ends_move$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Geometry"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "rise_per_base_pair", _this.rise_per_base_pair); - t2.add$2(t1, "helix_radius", _this.helix_radius); - t2.add$2(t1, "inter_helix_gap", _this.inter_helix_gap); - t2.add$2(t1, "bases_per_turn", _this.bases_per_turn); - t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); - t2.add$2(t1, "unused_fields", _this.unused_fields); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "current_offset", _this.current_offset); return t2.toString$0(t1); + }, + set$_dna_ends_move$__ends_moving(__ends_moving) { + this._dna_ends_move$__ends_moving = type$.nullable_BuiltList_DNAEnd._as(__ends_moving); } }; - N.GeometryBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_geometry$_$this(), - t2 = t1._geometry$_unused_fields; + A.DNAEndsMoveBuilder.prototype = { + get$moves() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._moves; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_geometry$_unused_fields(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); + t1.set$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helix() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._dna_ends_move$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._dna_ends_move$_helix = t2; t1 = t2; } else t1 = t2; return t1; }, - get$_geometry$_$this: function() { + get$_dna_ends_move$_$this() { var t1, t2, _this = this, - $$v = _this._geometry$_$v; + $$v = _this._dna_ends_move$_$v; if ($$v != null) { - _this._rise_per_base_pair = $$v.rise_per_base_pair; - _this._helix_radius = $$v.helix_radius; - _this._inter_helix_gap = $$v.inter_helix_gap; - _this._bases_per_turn = $$v.bases_per_turn; - _this._minor_groove_angle = $$v.minor_groove_angle; - t1 = $$v.unused_fields; + t1 = $$v.moves; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_geometry$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._geometry$_$v = null; + _this.set$_moves(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._dna_ends_move$_original_offset = $$v.original_offset; + t1 = $$v.helix; + t1.toString; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._dna_ends_move$_helix = t2; + _this._dna_ends_move$_current_offset = $$v.current_offset; + _this._dna_ends_move$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, - _s8_ = "Geometry", + _dna_ends_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s11_ = "DNAEndsMove", _$result = null; try { - _$result0 = _this._geometry$_$v; + _$result0 = _this._dna_ends_move$_$v; if (_$result0 == null) { - t1 = _this.get$_geometry$_$this()._rise_per_base_pair; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "rise_per_base_pair")); - t2 = _this.get$_geometry$_$this()._helix_radius; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "helix_radius")); - t3 = _this.get$_geometry$_$this()._inter_helix_gap; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "inter_helix_gap")); - t4 = _this.get$_geometry$_$this()._bases_per_turn; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "bases_per_turn")); - t5 = _this.get$_geometry$_$this()._minor_groove_angle; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "minor_groove_angle")); - t6 = _this.get$unused_fields().build$0(); - _$result0 = new N._$Geometry(t1, t2, t3, t4, t5, t6); - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "unused_fields")); + t1 = _this.get$moves().build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset, _s11_, "original_offset", t2); + t4 = _this.get$helix()._helix$_build$0(); + _$result0 = A._$DNAEndsMove$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset, _s11_, "current_offset", t2), t4, t1, t3); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); + _$failedField._value = "moves"; + _this.get$moves().build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Geometry._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._geometry$_$v = t1; + t1 = type$.DNAEndsMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dna_ends_move$_$v = t2; return _$result; }, - set$_geometry$_unused_fields: function(_unused_fields) { - this._geometry$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + set$_moves(_moves) { + this._moves = type$.nullable_ListBuilder_DNAEndMove._as(_moves); } }; - N._Geometry_Object_BuiltJsonSerializable.prototype = {}; - N._Geometry_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - S.Grid.prototype = { - get$default_major_tick_distance: function() { + A._$DNAEndMove.prototype = { + $eq(_, other) { var _this = this; - if (_this === C.Grid_hex || _this === C.Grid_honeycomb) - return 7; - else if (_this === C.Grid_square) - return 8; - else if (_this === C.Grid_none) - return 8; - else - throw H.wrapException(P.AssertionError$("unreachable")); - } - }; - S._$GridSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_Grid._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return S._$valueOf(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_Grid_zSh; - }, - get$wireName: function() { - return "Grid"; - } - }; - D.GridPosition.prototype = { - toString$0: function(_) { - return "(" + this.h + "," + this.v + ")"; - } - }; - D.GridPosition_GridPosition_closure.prototype = { - call$1: function(g) { - g.get$_grid_position$_$this()._h = this.h; - g.get$_grid_position$_$this()._v = this.v; - return g; - }, - $signature: 378 - }; - D._$GridPositionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_GridPosition._as(object); - return H.setRuntimeTypeInfo(["h", serializers.serialize$2$specifiedType(object.h, C.FullType_kjq), "v", serializers.serialize$2$specifiedType(object.v, C.FullType_kjq)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, $$v, - result = new D.GridPositionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "h": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._grid_position$_$v; - if ($$v != null) { - result._h = $$v.h; - result._v = $$v.v; - result._grid_position$_$v = null; - } - result._h = t1; - break; - case "v": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._grid_position$_$v; - if ($$v != null) { - result._h = $$v.h; - result._v = $$v.v; - result._grid_position$_$v = null; - } - result._v = t1; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ibp; - }, - get$wireName: function() { - return "GridPosition"; - } - }; - D._$GridPosition.prototype = { - $eq: function(_, other) { if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof D.GridPosition && this.h === other.h && this.v === other.v; + return other instanceof A.DNAEndMove && J.$eq$(_this.dna_end, other.dna_end) && _this.lowest_offset === other.lowest_offset && _this.highest_offset === other.highest_offset; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._grid_position$__hashCode; - return t1 == null ? _this._grid_position$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.h)), C.JSInt_methods.get$hashCode(_this.v))) : t1; + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(this.dna_end)), B.JSInt_methods.get$hashCode(this.lowest_offset)), B.JSInt_methods.get$hashCode(this.highest_offset))); + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end", this.dna_end); + t2.add$2(t1, "lowest_offset", this.lowest_offset); + t2.add$2(t1, "highest_offset", this.highest_offset); + return t2.toString$0(t1); } }; - D.GridPositionBuilder.prototype = { - get$_grid_position$_$this: function() { - var _this = this, - $$v = _this._grid_position$_$v; + A.DNAEndMoveBuilder.prototype = { + get$dna_end() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._dna_end; + return t2 == null ? t1._dna_end = new A.DNAEndBuilder() : t2; + }, + get$_dna_ends_move$_$this() { + var t1, t2, _this = this, + $$v = _this._dna_ends_move$_$v; if ($$v != null) { - _this._h = $$v.h; - _this._v = $$v.v; - _this._grid_position$_$v = null; + t1 = $$v.dna_end; + t1.toString; + t2 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DNAEnd); + t2._dna_end$_$v = t1; + _this._dna_end = t2; + _this._lowest_offset = $$v.lowest_offset; + _this._highest_offset = $$v.highest_offset; + _this._dna_ends_move$_$v = null; } return _this; }, - build$0: function() { - var t1, t2, _this = this, - _s12_ = "GridPosition", - _$result = _this._grid_position$_$v; - if (_$result == null) { - t1 = _this.get$_grid_position$_$this()._h; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "h")); - t2 = _this.get$_grid_position$_$this()._v; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "v")); - _$result = new D._$GridPosition(t1, t2); + _dna_ends_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s10_ = "DNAEndMove", + _$result = null; + try { + _$result0 = _this._dna_ends_move$_$v; + if (_$result0 == null) { + t1 = _this.get$dna_end()._dna_end$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_ends_move$_$this()._lowest_offset, _s10_, "lowest_offset", t2); + _$result0 = A._$DNAEndMove$_(t1, A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_ends_move$_$this()._highest_offset, _s10_, "highest_offset", t2), t3); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "dna_end"; + _this.get$dna_end()._dna_end$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s10_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return _this._grid_position$_$v = _$result; + t1 = type$.DNAEndMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dna_ends_move$_$v = t2; + return _$result; } }; - D._GridPosition_Object_BuiltJsonSerializable.prototype = {}; - O.HelixGroup.prototype = { - get$helices_view_order_inverse: function() { - var t1 = type$.legacy_int; - return A.BuiltMap_BuiltMap$of(E.invert_helices_view_order(this.helices_view_order), t1, t1); - }, - transform_str$1: function(geometry) { - var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); - return "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(this.pitch) + ")"; - }, - translation$1: function(geometry) { - var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); - return new P.Point(translate_svg.z, translate_svg.y, type$.Point_legacy_num); - }, - transform_point_main_view$3$inverse: function(point, geometry, inverse) { - var t1, translation; - type$.legacy_Point_legacy_num._as(point); - t1 = this.position; - translation = new P.Point(t1.z, t1.y, type$.Point_legacy_num).$mul(0, geometry.get$nm_to_svg_pixels()); - t1 = this.pitch; - if (!inverse) - return E.rotate(point, t1, C.Point_0_0).$add(0, translation); - else - return E.rotate(point.$sub(0, translation), -t1, C.Point_0_0); + A._DNAEndMove_Object_BuiltJsonSerializable.prototype = {}; + A._DNAEndsMove_Object_BuiltJsonSerializable.prototype = {}; + A.DNAExtensionsMove.prototype = { + get$ends_moving() { + var t2, + t1 = A._setArrayType([], type$.JSArray_DNAEnd); + for (t2 = this.moves._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.push(t2.__interceptors$_current.dna_end); + return A._BuiltList$of(t1, type$.DNAEnd); }, - transform_point_main_view$2: function(point, geometry) { - return this.transform_point_main_view$3$inverse(point, geometry, false); + current_point_of$1(end) { + var t1, t2, t3, t4, t5, t6, t7; + for (t1 = this.moves._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (J.$eq$(t2.dna_end, end)) { + t1 = this.current_point; + t3 = t1.$ti; + t4 = t3._as(this.start_point); + t5 = t1.x; + t6 = t4.x; + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t6 !== "number") + return A.iae(t6); + t7 = t3._precomputed1; + t6 = t7._as(t5 - t6); + t1 = t1.y; + t4 = t4.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t4 !== "number") + return A.iae(t4); + t4 = t7._as(t1 - t4); + t2 = t3._as(t2.original_position); + t1 = t2.x; + if (typeof t1 !== "number") + return A.iae(t1); + t1 = t7._as(t6 + t1); + t2 = t2.y; + if (typeof t2 !== "number") + return A.iae(t2); + return new A.Point(t1, t7._as(t4 + t2), t3); + } + } + return null; } }; - O.HelixGroup_HelixGroup_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$_group$_$this()._group$_grid = _this.grid; - b.get$helices_view_order().replace$1(0, _this.helices_view_order); - t1 = b.get$position(b); - t2 = _this._box_0.position; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._position3d$_$v = t2; - b.get$_group$_$this()._pitch = _this.pitch; - b.get$_group$_$this()._yaw = _this.yaw; - b.get$_group$_$this()._group$_roll = _this.roll; - return b; - }, - $signature: 26 - }; - O._$HelixGroupSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixGroup._as(object); - return H.setRuntimeTypeInfo(["grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, C.FullType_4QF0), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_cgM), "pitch", serializers.serialize$2$specifiedType(object.pitch, C.FullType_MME), "yaw", serializers.serialize$2$specifiedType(object.yaw, C.FullType_MME), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME)], type$.JSArray_legacy_Object); + A.DNAExtensionMove.prototype = {}; + A._$DNAExtensionsMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAExtensionsMove._as(object); + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_j5B), "start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_laS), "current_point", serializers.serialize$2$specifiedType(object.current_point, B.FullType_laS)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, t1, t2, t3, t4, t5, t6, key, value, t7, t8, t9, t10, t11; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(result); - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_Position3D, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int, t6 = type$.legacy_Grid; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, value, t8, t9, t10, t11, + result = new A.DNAExtensionsMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double, t3 = type$.BuiltList_nullable_Object, t4 = type$.DNAExtensionMove, t5 = type$.List_DNAExtensionMove, t6 = type$.ListBuilder_DNAExtensionMove; iterator.moveNext$0();) { + t7 = iterator.get$current(iterator); + t7.toString; + A._asStringS(t7); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "grid": - t7 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); - result.get$_group$_$this()._group$_grid = t7; - break; - case "helices_view_order": - t7 = result.get$_group$_$this(); - t8 = t7._group$_helices_view_order; + switch (t7) { + case "moves": + t7 = result.get$_dna_extensions_move$_$this(); + t8 = t7._dna_extensions_move$_moves; if (t8 == null) { - t8 = new D.ListBuilder(t5); - t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t8 = new A.ListBuilder(t6); + t8.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t4))); t8.set$_listOwner(null); - t7.set$_group$_helices_view_order(t8); + t7.set$_dna_extensions_move$_moves(t8); t7 = t8; } else t7 = t8; - t8 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_j5B); + t8.toString; + t3._as(t8); t9 = t7.$ti; t10 = t9._eval$1("_BuiltList<1>"); t11 = t9._eval$1("List<1>"); if (t10._is(t8)) { t10._as(t8); - t7.set$__ListBuilder__list(t11._as(t8._list)); + t7.set$__ListBuilder__list_A(t11._as(t8._list)); t7.set$_listOwner(t8); } else { - t7.set$__ListBuilder__list(t11._as(P.List_List$from(t8, true, t9._precomputed1))); + t7.set$__ListBuilder__list_A(t11._as(A.List_List$from(t8, true, t9._precomputed1))); t7.set$_listOwner(null); } break; - case "position": - t7 = result.get$_group$_$this(); - t8 = t7._group$_position; - t7 = t8 == null ? t7._group$_position = new X.Position3DBuilder() : t8; - t8 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); - if (t8 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t7._position3d$_$v = t8; + case "start_point": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7.toString; + t7 = t2._as(t1._as(t7)); + result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_start_point(t7); break; - case "pitch": - t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_group$_$this()._pitch = t7; + case "current_point": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7.toString; + t7 = t2._as(t1._as(t7)); + result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t7); break; - case "yaw": - t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_group$_$this()._yaw = t7; + } + } + return result._dna_extensions_move$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_grL; + }, + get$wireName() { + return "DNAExtensionsMove"; + } + }; + A._$DNAExtensionMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DNAExtensionMove._as(object); + return ["dna_end", serializers.serialize$2$specifiedType(object.dna_end, B.FullType_QR4), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_uHx), "original_position", serializers.serialize$2$specifiedType(object.original_position, B.FullType_laS), "attached_end_position", serializers.serialize$2$specifiedType(object.attached_end_position, B.FullType_laS), "extension", serializers.serialize$2$specifiedType(object.extension, B.FullType_gT2)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, + result = new A.DNAExtensionMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Extension, t2 = type$.Point_double, t3 = type$.nullable_Point_double, t4 = type$.Color, t5 = type$.DNAEnd; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t6) { + case "dna_end": + t6 = result.get$_dna_extensions_move$_$this(); + t7 = t6._dna_extensions_move$_dna_end; + t6 = t7 == null ? t6._dna_extensions_move$_dna_end = new A.DNAEndBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t7.toString; + t5._as(t7); + t6._dna_end$_$v = t7; break; - case "roll": - t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_group$_$this()._group$_roll = t7; + case "color": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t6.toString; + t4._as(t6); + result.get$_dna_extensions_move$_$this()._dna_extensions_move$_color = t6; + break; + case "original_position": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6.toString; + t6 = t3._as(t2._as(t6)); + result.get$_dna_extensions_move$_$this().set$_original_position(t6); + break; + case "attached_end_position": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6.toString; + t6 = t3._as(t2._as(t6)); + result.get$_dna_extensions_move$_$this().set$_attached_end_position(t6); + break; + case "extension": + t6 = result.get$_dna_extensions_move$_$this(); + t7 = t6._extension; + t6 = t7 == null ? t6._extension = new A.ExtensionBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_gT2); + t7.toString; + t1._as(t7); + t6._extension$_$v = t7; break; } } - return result.build$0(); + return result._dna_extensions_move$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_n7k; + get$types() { + return B.List_NDM; }, - get$wireName: function() { - return "HelixGroup"; + get$wireName() { + return "DNAExtensionMove"; } }; - O._$HelixGroup.prototype = { - get$helices_view_order_inverse: function() { - var t1 = this.__helices_view_order_inverse; + A._$DNAExtensionsMove.prototype = { + get$ends_moving() { + var t1 = this.__ends_moving; if (t1 == null) { - t1 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(this); - this.set$__helices_view_order_inverse(t1); + t1 = A.DNAExtensionsMove.prototype.get$ends_moving.call(this); + this.set$__ends_moving(t1); } return t1; }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_HelixGroupBuilder._as(updates); - t1 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t1); - t1._group$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof O.HelixGroup && _this.grid === other.grid && J.$eq$(_this.helices_view_order, other.helices_view_order) && _this.position.$eq(0, other.position) && _this.pitch === other.pitch && _this.yaw === other.yaw && _this.roll === other.roll; + return other instanceof A.DNAExtensionsMove && J.$eq$(_this.moves, other.moves) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._group$__hashCode; - if (t1 == null) { - t1 = _this.position; - t1 = _this._group$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, H.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.helices_view_order)), t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(_this.pitch)), C.JSNumber_methods.get$hashCode(_this.yaw)), C.JSNumber_methods.get$hashCode(_this.roll))); - } + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._dna_extensions_move$__hashCode; + if (t1 != null) + return t1; + t1 = _this.start_point; + t2 = _this.current_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.moves)), A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y), 0))); + t2 = _this._dna_extensions_move$__hashCode; + if (t2 == null) { + _this._dna_extensions_move$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroup"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "grid", _this.grid); - t2.add$2(t1, "helices_view_order", _this.helices_view_order); - t2.add$2(t1, "position", _this.position); - t2.add$2(t1, "pitch", _this.pitch); - t2.add$2(t1, "yaw", _this.yaw); - t2.add$2(t1, "roll", _this.roll); + t2.add$2(t1, "moves", this.moves); + t2.add$2(t1, "start_point", this.start_point); + t2.add$2(t1, "current_point", this.current_point); return t2.toString$0(t1); }, - set$__helices_view_order_inverse: function(__helices_view_order_inverse) { - this.__helices_view_order_inverse = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(__helices_view_order_inverse); + set$__ends_moving(__ends_moving) { + this.__ends_moving = type$.nullable_BuiltList_DNAEnd._as(__ends_moving); } }; - O.HelixGroupBuilder.prototype = { - get$helices_view_order: function() { - var t1 = this.get$_group$_$this(), - t2 = t1._group$_helices_view_order; + A.DNAExtensionsMoveBuilder.prototype = { + get$moves() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._dna_extensions_move$_moves; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_group$_helices_view_order(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); + t1.set$_dna_extensions_move$_moves(t2); t1 = t2; } else t1 = t2; return t1; }, - get$position: function(_) { - var t1 = this.get$_group$_$this(), - t2 = t1._group$_position; - return t2 == null ? t1._group$_position = new X.Position3DBuilder() : t2; - }, - get$_group$_$this: function() { - var t1, t2, _this = this, - $$v = _this._group$_$v; + get$_dna_extensions_move$_$this() { + var t1, _this = this, + $$v = _this._dna_extensions_move$_$v; if ($$v != null) { - _this._group$_grid = $$v.grid; - t1 = $$v.helices_view_order; + t1 = $$v.moves; t1.toString; - _this.set$_group$_helices_view_order(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.position; - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - _this._group$_position = t2; - _this._pitch = $$v.pitch; - _this._yaw = $$v.yaw; - _this._group$_roll = $$v.roll; - _this._group$_$v = null; + _this.set$_dna_extensions_move$_moves(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_dna_extensions_move$_start_point($$v.start_point); + _this.set$_dna_extensions_move$_current_point($$v.current_point); + _this._dna_extensions_move$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, - _s10_ = "HelixGroup", - _s18_ = "helices_view_order", + _dna_extensions_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s17_ = "DNAExtensionsMove", _$result = null; try { - _$result0 = _this._group$_$v; + _$result0 = _this._dna_extensions_move$_$v; if (_$result0 == null) { - t1 = _this.get$_group$_$this()._group$_grid; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); - t2 = _this.get$helices_view_order().build$0(); - t3 = _this.get$position(_this).build$0(); - t4 = _this.get$_group$_$this()._pitch; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "pitch")); - t5 = _this.get$_group$_$this()._yaw; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "yaw")); - t6 = _this.get$_group$_$this()._group$_roll; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "roll")); - _$result0 = new O._$HelixGroup(t1, t2, t3, t4, t5, t6); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s18_)); + t1 = _this.get$moves().build$0(); + t2 = type$.Point_double; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_extensions_move$_$this()._dna_extensions_move$_start_point, _s17_, "start_point", t2); + _$result0 = A._$DNAExtensionsMove$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_extensions_move$_$this()._dna_extensions_move$_current_point, _s17_, "current_point", t2), t1, t3); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = _s18_; - _this.get$helices_view_order().build$0(); - _$failedField = "position"; - _this.get$position(_this).build$0(); + _$failedField._value = "moves"; + _this.get$moves().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s17_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_HelixGroup._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._group$_$v = t1; + t1 = type$.DNAExtensionsMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dna_extensions_move$_$v = t2; return _$result; }, - set$_group$_helices_view_order: function(_helices_view_order) { - this._group$_helices_view_order = type$.legacy_ListBuilder_legacy_int._as(_helices_view_order); + set$_dna_extensions_move$_moves(_moves) { + this._dna_extensions_move$_moves = type$.nullable_ListBuilder_DNAExtensionMove._as(_moves); + }, + set$_dna_extensions_move$_start_point(_start_point) { + this._dna_extensions_move$_start_point = type$.nullable_Point_double._as(_start_point); + }, + set$_dna_extensions_move$_current_point(_current_point) { + this._dna_extensions_move$_current_point = type$.nullable_Point_double._as(_current_point); } }; - O._HelixGroup_Object_BuiltJsonSerializable.prototype = {}; - O.Helix.prototype = { - Helix$_$0: function() { - var t1 = this.grid_position == null; - if (t1 && this.position_ == null) - throw H.wrapException(P.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are null.")); - if (!t1 && this.position_ != null) - throw H.wrapException(P.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are non-null.")); + A._$DNAExtensionMove.prototype = { + _$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position(attached_end_position, color, dna_end, extension, original_position) { + var t1, _this = this, + _s16_ = "DNAExtensionMove"; + A.BuiltValueNullFieldError_checkNotNull(_this.dna_end, _s16_, "dna_end", type$.DNAEnd); + A.BuiltValueNullFieldError_checkNotNull(_this.color, _s16_, "color", type$.Color); + t1 = type$.Point_double; + A.BuiltValueNullFieldError_checkNotNull(_this.original_position, _s16_, "original_position", t1); + A.BuiltValueNullFieldError_checkNotNull(_this.attached_end_position, _s16_, "attached_end_position", t1); + A.BuiltValueNullFieldError_checkNotNull(_this.extension, _s16_, "extension", type$.Extension); + }, + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof A.DNAExtensionMove) + if (J.$eq$(_this.dna_end, other.dna_end)) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.original_position.$eq(0, other.original_position) && _this.attached_end_position.$eq(0, other.attached_end_position) && J.$eq$(_this.extension, other.extension); + } else + t1 = false; + else + t1 = false; + return t1; }, - get$position: function(_) { + get$hashCode(_) { var _this = this, - t1 = _this.position_; - return t1 == null ? E.grid_position_to_position3d(_this.grid_position, _this.grid, _this.geometry) : t1; + t1 = _this.color, + t2 = _this.original_position, + t3 = _this.attached_end_position; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.dna_end)), t1.get$hashCode(t1)), A.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y), 0)), J.get$hashCode$(_this.extension))); }, - get$major_tick_distance: function() { - var t1 = this.major_tick_periodic_distances._list, - t2 = J.getInterceptor$asx(t1); - return t2.get$length(t1) !== 1 ? null : t2.get$first(t1); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end", _this.dna_end); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "original_position", _this.original_position); + t2.add$2(t1, "attached_end_position", _this.attached_end_position); + t2.add$2(t1, "extension", _this.extension); + return t2.toString$0(t1); + } + }; + A.DNAExtensionMoveBuilder.prototype = { + get$dna_end() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._dna_extensions_move$_dna_end; + return t2 == null ? t1._dna_extensions_move$_dna_end = new A.DNAEndBuilder() : t2; }, - get$default_position: function() { - var point_zy, t4, t5, _this = this, - t1 = _this.geometry, - t2 = t1.rise_per_base_pair, - t3 = _this.grid; - if (t3 === C.Grid_square) { - t3 = _this.grid_position; - point_zy = new P.Point(t3.h, t3.v, type$.Point_legacy_num); - } else if (t3 === C.Grid_hex) - point_zy = E.hex_grid_position_to_position2d_diameter_1_circles(_this.grid_position); - else if (t3 === C.Grid_honeycomb) - point_zy = E.honeycomb_grid_position_to_position2d_diameter_1_circles(_this.grid_position); - else - throw H.wrapException(P.AssertionError$("should not be accessing default_position if grid_position is not defined")); - t3 = point_zy.y; - t4 = t1.get$distance_between_helices_nm(); - if (typeof t3 !== "number") - return t3.$mul(); - t5 = point_zy.x; - t1 = t1.get$distance_between_helices_nm(); - if (typeof t5 !== "number") - return t5.$mul(); - return X.Position3D_Position3D(t5 * t1, t3 * t4, _this.min_offset * t2); + get$extension() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._extension; + return t2 == null ? t1._extension = new A.ExtensionBuilder() : t2; }, - get$has_grid_position: function() { - return this.grid_position != null; + get$_dna_extensions_move$_$this() { + var t1, t2, _this = this, + $$v = _this._dna_extensions_move$_$v; + if ($$v != null) { + t1 = $$v.dna_end; + t1.toString; + t2 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.DNAEnd); + t2._dna_end$_$v = t1; + _this._dna_extensions_move$_dna_end = t2; + _this._dna_extensions_move$_color = $$v.color; + _this.set$_original_position($$v.original_position); + _this.set$_attached_end_position($$v.attached_end_position); + t2 = $$v.extension; + t2.toString; + t1 = new A.ExtensionBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Extension); + t1._extension$_$v = t2; + _this._extension = t1; + _this._dna_extensions_move$_$v = null; + } + return _this; }, - get$has_position: function() { - return this.position_ != null; + _dna_extensions_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s16_ = "DNAExtensionMove", + _$result = null; + try { + _$result0 = _this._dna_extensions_move$_$v; + if (_$result0 == null) { + t1 = _this.get$dna_end()._dna_end$_build$0(); + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_extensions_move$_$this()._dna_extensions_move$_color, _s16_, "color", type$.Color); + t3 = type$.Point_double; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_extensions_move$_$this()._original_position, _s16_, "original_position", t3); + _$result0 = A._$DNAExtensionMove$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_extensions_move$_$this()._attached_end_position, _s16_, "attached_end_position", t3), t2, t1, _this.get$extension()._extension$_build$0(), t4); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "dna_end"; + _this.get$dna_end()._dna_end$_build$0(); + _$failedField._value = "extension"; + _this.get$extension()._extension$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DNAExtensionMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._dna_extensions_move$_$v = t2; + return _$result; }, - get$position3d: function() { - var _this = this, - t1 = _this.position_; - if (t1 != null) - return t1; - t1 = _this.__default_position; - return t1 == null ? _this.__default_position = O.Helix.prototype.get$default_position.call(_this) : t1; + set$_original_position(_original_position) { + this._original_position = type$.nullable_Point_double._as(_original_position); }, - get$has_default_group: function() { - return this.group === "default_group"; + set$_attached_end_position(_attached_end_position) { + this._attached_end_position = type$.nullable_Point_double._as(_attached_end_position); + } + }; + A._DNAExtensionMove_Object_BuiltJsonSerializable.prototype = {}; + A._DNAExtensionsMove_Object_BuiltJsonSerializable.prototype = {}; + A.Insertion.prototype = { + toJson$0() { + return A._setArrayType([this.offset, this.length], type$.JSArray_int); + } + }; + A.Insertion_Insertion_closure.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_offset = this.offset; + b.get$_domain$_$this()._domain$_length = this.count; + b.get$_domain$_$this()._domain$_strand_id = this.strand_id; + return b; }, - get$has_default_roll: function() { - return Math.abs(this.roll - 0) < 1e-9; + $signature: 360 + }; + A.Domain.prototype = { + get$id(_) { + var _this = this, + t1 = _this.forward ? "forward" : "reverse"; + return "substrand-H" + _this.helix + "-" + _this.start + "-" + _this.end + "-" + t1; }, - get$has_default_major_tick_distance: function() { - return this.get$major_tick_distance() == null; + get$select_mode() { + return B.SelectModeChoice_domain; }, - get$has_default_major_tick_start: function() { - return this.major_tick_start === this.min_offset; + get$insertion_offset_to_length() { + var t3, t4, + t1 = type$.int, + t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t3 = this.insertions._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t2.$indexSet(0, t4.offset, t4.length); + } + return A.BuiltMap_BuiltMap(t2, t1, t1); }, - get$has_default_major_ticks: function() { - return this.major_ticks == null; + get$dnaend_start() { + var _this = this, + t1 = _this.forward; + return A.DNAEnd_DNAEnd(t1, t1, false, _this.is_scaffold, true, _this.start, _this.get$id(_this), _this.is_first, _this.is_last); }, - get$has_major_tick_distance: function() { - return !this.get$has_default_major_tick_distance(); + get$dnaend_end() { + var _this = this, + t1 = _this.forward; + return A.DNAEnd_DNAEnd(t1, !t1, false, _this.is_scaffold, false, _this.end, _this.get$id(_this), _this.is_first, _this.is_last); }, - get$has_major_ticks: function() { - return !this.get$has_default_major_ticks(); + get$selectable_deletions() { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_SelectableDeletion); + for (t2 = this.deletions._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = this.is_scaffold; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (t4 == null) + A.throwExpression(A.BuiltValueNullFieldError$("SelectableDeletion", "offset")); + t1.push(new A._$SelectableDeletion(t4, this, t3)); + } + return A._BuiltList$of(t1, type$.SelectableDeletion); }, - get$has_major_tick_periodic_distances: function() { - var t1 = this.major_tick_periodic_distances; - if (t1 != null) { - t1 = J.get$length$asx(t1._list); - if (typeof t1 !== "number") - return t1.$ge(); - t1 = t1 >= 2; - } else - t1 = false; - return t1; + get$selectable_insertions() { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_SelectableInsertion); + for (t2 = this.insertions._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = this.is_scaffold; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (t4 == null) + A.throwExpression(A.BuiltValueNullFieldError$("SelectableInsertion", "insertion")); + t1.push(new A._$SelectableInsertion(t4, this, t3)); + } + return A._BuiltList$of(t1, type$.SelectableInsertion); }, - svg_base_pos$3: function(offset, $forward, svg_position_y) { - var t4, y, - t1 = this.geometry, - t2 = t1.get$base_width_svg(), - t3 = t1.get$base_width_svg(); - if (typeof offset !== "number") - return offset.$mul(); - t4 = this.get$svg_height(); - if (typeof svg_position_y !== "number") - return H.iae(svg_position_y); - y = t4 / 4 + svg_position_y; - if (!H.boolConversionCheck($forward)) - y += t1.get$base_height_svg(); - return new P.Point(t2 / 2 + offset * t3, y, type$.Point_legacy_num); + set_dna_sequence$1(seq) { + return this.rebuild$1(new A.Domain_set_dna_sequence_closure(seq)); }, - svg_x_to_offset$2: function(x, helix_svg_position_x) { - if (typeof x !== "number") - return x.$sub(); - if (typeof helix_svg_position_x !== "number") - return H.iae(helix_svg_position_x); - return C.JSNumber_methods.floor$0((x - helix_svg_position_x) / this.geometry.get$base_width_svg()) + this.min_offset; + is_domain$0() { + return true; }, - svg_y_is_forward$2: function(y, helix_svg_position_y) { - if (typeof y !== "number") - return y.$sub(); - if (typeof helix_svg_position_y !== "number") - return H.iae(helix_svg_position_y); - return y - helix_svg_position_y < this.geometry.get$base_height_svg(); + is_loopout$0() { + return false; }, - get$svg_width: function() { - var _this = this, - t1 = _this.geometry.get$base_width_svg(), - t2 = _this.__num_bases; - return t1 * (t2 == null ? _this.__num_bases = O.Helix.prototype.get$num_bases.call(_this) : t2); + get$address_start() { + return A._$Address$_(this.forward, this.helix, this.start); }, - get$svg_height: function() { - return this.geometry.get$base_height_svg() * 2; + get$address_end() { + return A._$Address$_(this.forward, this.helix, this.end - 1); }, - get$num_bases: function() { - return this.max_offset - this.min_offset; + get$address_5p() { + return this.forward ? this.get$address_start() : this.get$address_end(); }, - get$calculate_major_ticks: function() { - var sorted_ticks, tick, t2, distance_idx, t3, t4, t5, distance, _this = this, - t1 = type$.JSArray_legacy_int, - ticks = H.setRuntimeTypeInfo([], t1); - if (_this.get$has_major_ticks()) { - t1 = _this.major_ticks; - sorted_ticks = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); - sorted_ticks.sort$0(0); - ticks = sorted_ticks; - } else if (_this.get$has_major_tick_periodic_distances()) { - tick = _this.major_tick_start; - t1 = _this.max_offset; - t2 = _this.major_tick_periodic_distances; - distance_idx = -1; - while (tick <= t1) { - t3 = t2._list; - t4 = J.getInterceptor$asx(t3); - t5 = t4.get$length(t3); - if (typeof t5 !== "number") - return H.iae(t5); - distance_idx = C.JSInt_methods.$mod(distance_idx + 1, t5); - distance = t4.$index(t3, distance_idx); - C.JSArray_methods.add$1(ticks, tick); - if (typeof distance !== "number") - return H.iae(distance); - tick += distance; + get$address_3p() { + return this.forward ? this.get$address_end() : this.get$address_start(); + }, + type_description$0() { + return "domain"; + }, + to_json_serializable$1$suppress_indent(suppress_indent) { + var t3, t4, _this = this, + t1 = type$.dynamic, + json_map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, t1), + t2 = _this.name; + if (t2 != null) + json_map.$indexSet(0, "name", t2); + json_map.$indexSet(0, "helix", _this.helix); + json_map.$indexSet(0, "forward", _this.forward); + json_map.$indexSet(0, "start", _this.start); + json_map.$indexSet(0, "end", _this.end); + t2 = _this.deletions; + if (t2._list.length !== 0) + json_map.$indexSet(0, "deletions", A.List_List$from(t2, true, t1)); + t2 = _this.insertions; + t3 = t2._list; + if (t3.length !== 0) { + t4 = A._arrayInstanceType(t3); + json_map.$indexSet(0, "insertions", A.List_List$from(new A.MappedListIterable(t3, t4._eval$1("@(1)")._as(A._instanceType(t2)._eval$1("@(1)")._as(new A.Domain_to_json_serializable_closure(suppress_indent))), t4._eval$1("MappedListIterable<1,@>")), true, t1)); + } + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new A.NoIndent(json_map) : json_map; + }, + get$offset_5p() { + return this.forward ? this.start : this.end - 1; + }, + get$offset_3p() { + return this.forward ? this.end - 1 : this.start; + }, + dna_length$0() { + var _this = this, + t1 = _this.deletions._list.length, + t2 = _this.__num_insertions; + if (t2 == null) + t2 = _this.__num_insertions = A.Domain.prototype.get$num_insertions.call(_this); + return _this.end - _this.start - t1 + t2; + }, + dna_length_in$2(left, right) { + var t1, t2, t3, num_deletions, _this = this; + if (left > right + 1) + throw A.wrapException(A.ArgumentError$("left = " + left + " and right = " + right + " but we should have left <= right + 1", null)); + t1 = _this.start; + if (t1 > left) + throw A.wrapException(A.ArgumentError$("left = " + left + " should be at least start = " + t1, null)); + t1 = _this.end; + if (right >= t1) + throw A.wrapException(A.ArgumentError$("right = " + right + " should be at most end - 1 = " + (t1 - 1), null)); + t1 = _this.deletions; + t1.toString; + t2 = t1._list; + t3 = A._arrayInstanceType(t2); + t3 = new A.WhereIterable(t2, t3._eval$1("bool(1)")._as(t1.$ti._eval$1("bool(1)")._as(new A.Domain_dna_length_in_closure(left, right))), t3._eval$1("WhereIterable<1>")); + num_deletions = t3.get$length(t3); + t3 = _this.insertions; + t3.toString; + t1 = t3._list; + t2 = A._arrayInstanceType(t1); + return right - left + 1 - num_deletions + A.Domain_num_insertions_in_list(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(t3.$ti._eval$1("bool(1)")._as(new A.Domain_dna_length_in_closure0(left, right))), t2._eval$1("WhereIterable<1>"))); + }, + dna_sequence_deletions_insertions_to_spaces$1$reverse(reverse) { + var codeunits, t2, deletions_set, insertions_map, offset, $forward, offset_out_of_bounds, seq_idx, offset0, _this = this, + t1 = _this.dna_sequence; + t1.toString; + codeunits = A._setArrayType([], type$.JSArray_int); + t2 = _this.deletions._list; + deletions_set = A.LinkedHashSet_LinkedHashSet$from(t2, A._arrayInstanceType(t2)._precomputed1); + t2 = type$.int; + insertions_map = A.LinkedHashMap_LinkedHashMap$fromIterable(_this.insertions, new A.Domain_dna_sequence_deletions_insertions_to_spaces_closure(), new A.Domain_dna_sequence_deletions_insertions_to_spaces_closure0(), t2, t2); + offset = _this.get$offset_5p(); + $forward = _this.forward ? 1 : -1; + offset_out_of_bounds = new A.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(_this, $forward); + for (seq_idx = 0; !A.boolConversionCheck(offset_out_of_bounds.call$1(offset));) + if (deletions_set.contains$1(0, offset)) { + B.JSArray_methods.add$1(codeunits, 32); + offset += $forward; + } else { + offset0 = offset + $forward; + if (insertions_map.containsKey$1(0, offset)) { + B.JSArray_methods.add$1(codeunits, 32); + t2 = insertions_map.$index(0, offset); + t2.toString; + seq_idx += t2 + 1; + } else { + B.JSArray_methods.add$1(codeunits, B.JSString_methods.codeUnitAt$1(t1, seq_idx)); + ++seq_idx; + } + offset = offset0; } - } else { - if (_this.get$major_tick_distance() != null) { - t2 = _this.get$major_tick_distance(); - if (typeof t2 !== "number") - return t2.$gt(); - t2 = t2 > 0; + return A.String_String$fromCharCodes(reverse ? new A.ReversedListIterable(codeunits, type$.ReversedListIterable_int) : codeunits, 0, null); + }, + dna_sequence_in$3$reverse(offset_low, offset_high, reverse) { + var t2, str_idx_low, str_idx_high, t0, subseq, _this = this, + t1 = _this.dna_sequence; + if (t1 == null) + return null; + for (t2 = _this.deletions._list; B.JSArray_methods.contains$1(t2, offset_low);) + ++offset_low; + for (; B.JSArray_methods.contains$1(t2, offset_high);) + --offset_high; + if (offset_low > offset_high) + return ""; + if (offset_low >= _this.end) + return ""; + if (offset_high < _this.start) + return ""; + t2 = _this.forward; + str_idx_low = _this.substrand_offset_to_substrand_dna_idx$2(offset_low, t2); + t2 = !t2; + str_idx_high = _this.substrand_offset_to_substrand_dna_idx$2(offset_high, t2); + if (t2) { + t0 = str_idx_high; + str_idx_high = str_idx_low; + str_idx_low = t0; + } + subseq = B.JSString_methods.substring$2(t1, str_idx_low, str_idx_high + 1); + return reverse ? new A.ReversedListIterable(A._setArrayType(subseq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$0(0) : subseq; + }, + dna_sequence_in$2(offset_low, offset_high) { + return this.dna_sequence_in$3$reverse(offset_low, offset_high, false); + }, + net_ins_del_length_increase_from_5p_to$2(offset_edge, $forward) { + var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, t9, insertion_map, _this = this; + for (t1 = _this.deletions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = _this.forward, t3 = _this.start, t4 = !t2, t5 = _this.end, length_increase = 0; t1.moveNext$0();) { + t6 = t1.__interceptors$_current; + if (t2) { + if (typeof t6 !== "number") + return A.iae(t6); + if (t3 <= t6) { + if (typeof offset_edge !== "number") + return A.iae(offset_edge); + t7 = t6 < offset_edge; + } else + t7 = false; } else - t2 = false; - distance = t2 ? _this.get$major_tick_distance() : _this.grid.get$default_major_tick_distance(); - if (typeof distance !== "number") - return distance.$gt(); - if (distance > 0) { - t1 = H.setRuntimeTypeInfo([], t1); - for (tick = _this.major_tick_start, t2 = _this.max_offset; tick <= t2; tick += distance) - t1.push(tick); - ticks = t1; + t7 = false; + if (!t7) + if (t4) { + if (typeof offset_edge !== "number") + return offset_edge.$lt(); + if (typeof t6 !== "number") + return A.iae(t6); + t6 = offset_edge < t6 && t6 < t5; + } else + t6 = false; + else + t6 = true; + if (t6) + --length_increase; + } + for (t1 = _this.insertions, t6 = t1._list, t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")); t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + t8 = t7.offset; + if (t2) + if (t3 <= t8) { + if (typeof offset_edge !== "number") + return A.iae(offset_edge); + t9 = t8 < offset_edge; + } else + t9 = false; + else + t9 = false; + if (!t9) + if (t4) { + if (typeof offset_edge !== "number") + return offset_edge.$lt(); + t8 = offset_edge < t8 && t8 < t5; + } else + t8 = false; + else + t8 = true; + if (t8) + length_increase += t7.length; + } + if (!A.boolConversionCheck($forward)) { + t2 = type$.int; + insertion_map = A.LinkedHashMap_LinkedHashMap$fromIterable(t1, new A.Domain_net_ins_del_length_increase_from_5p_to_closure(), new A.Domain_net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); + if (insertion_map.containsKey$1(0, offset_edge)) { + t1 = insertion_map.$index(0, offset_edge); + t1.toString; + length_increase += t1; } } - return D._BuiltList$of(ticks, type$.legacy_int); + return length_increase; }, - backbone_angle_at_offset$2: function(offset, $forward) { - var angle, - t1 = this.geometry, - t2 = t1.bases_per_turn; - if (typeof offset !== "number") - return offset.$mul(); - angle = this.roll + offset * (360 / t2); - return C.JSNumber_methods.$mod(!H.boolConversionCheck($forward) ? angle + t1.minor_groove_angle : angle, 360); + get$num_insertions() { + return A.Domain_num_insertions_in_list(this.insertions); }, - relax_roll$2: function(helices, crossover_addresses) { - return this.rebuild$1(new O.Helix_relax_roll_closure(this, this.compute_relaxed_roll_delta$2(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), type$.legacy_BuiltList_legacy_Address._as(crossover_addresses)))); + overlaps$1(other) { + return this.helix === other.helix && this.forward === !other.forward && this.compute_overlap$1(other) != null; }, - compute_relaxed_roll_delta$2: function(helices, crossover_addresses) { - var angles, t1, t2, t3, t4, p1, t5, t6, t7, t8, other_helix, p10, p2, angle, _this = this; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - type$.legacy_BuiltList_legacy_Address._as(crossover_addresses); - angles = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_double_and_legacy_double); - for (t1 = J.get$iterator$ax(crossover_addresses._list), t2 = type$.Tuple2_of_legacy_double_and_legacy_double, t3 = helices._map$_map, t4 = J.getInterceptor$asx(t3), p1 = _this.position_, t5 = _this.grid_position, t6 = _this.grid, t7 = _this.geometry; t1.moveNext$0();) { - t8 = t1.get$current(t1); - other_helix = t4.$index(t3, t8.helix_idx); - p10 = p1 == null ? E.grid_position_to_position3d(t5, t6, t7) : p1; - p2 = other_helix.position_; - if (p2 == null) - p2 = E.grid_position_to_position3d(other_helix.grid_position, other_helix.grid, other_helix.geometry); - angle = C.JSNumber_methods.$mod(-(Math.atan2(-(p2.y - p10.y), p2.x - p10.x) * 180 / 3.141592653589793) + 90, 360); - C.JSArray_methods.add$1(angles, new S.Tuple2(_this.backbone_angle_at_offset$2(t8.offset, t8.forward), angle, t2)); + compute_overlap$1(other) { + var overlap_start = Math.max(this.start, other.start), + overlap_end = Math.min(this.end, other.end); + if (overlap_start >= overlap_end) + return null; + return new A.Tuple2(overlap_start, overlap_end, type$.Tuple2_int_int); + }, + substrand_offset_to_substrand_dna_idx$2(offset, $forward) { + var len_adjust, ss_str_idx, _this = this, + t1 = _this.deletions; + if (B.JSArray_methods.contains$1(t1._list, offset)) + throw A.wrapException(A.ArgumentError$("offset " + A.S(offset) + " illegally contains a deletion from " + t1.toString$0(0), null)); + len_adjust = _this.net_ins_del_length_increase_from_5p_to$2(offset, $forward); + if (_this.forward) { + if (typeof offset !== "number") + return offset.$add(); + ss_str_idx = offset + len_adjust - _this.start; + } else { + if (typeof offset !== "number") + return offset.$sub(); + ss_str_idx = _this.end - 1 - (offset - len_adjust); } - return E.minimum_strain_angle(angles); - } + return ss_str_idx; + }, + substrand_dna_idx_to_substrand_offset$2(ss_str_idx, $forward) { + var t1, t2, dna_idx_cur, t3, _this = this, + offset = _this.get$offset_5p(); + for (t1 = _this.forward, t2 = _this.deletions, dna_idx_cur = 0; dna_idx_cur < ss_str_idx;) { + if (!B.JSArray_methods.contains$1(t2._list, offset)) + ++dna_idx_cur; + t3 = _this.__insertion_offset_to_length; + if (t3 == null) { + t3 = A.Domain.prototype.get$insertion_offset_to_length.call(_this); + _this.set$__insertion_offset_to_length(t3); + } + if (t3._map$_map.containsKey$1(0, offset)) { + t3 = _this.__insertion_offset_to_length; + if (t3 == null) { + t3 = A.Domain.prototype.get$insertion_offset_to_length.call(_this); + _this.set$__insertion_offset_to_length(t3); + } + t3 = t3._map$_map.$index(0, offset); + t3.toString; + dna_idx_cur += t3; + } + offset += t1 ? 1 : -1; + } + return offset; + }, + $isSelectable: 1, + $isSubstrand: 1 }; - O.Helix_Helix_closure.prototype = { - call$1: function(b) { + A.Domain_Domain_closure.prototype = { + call$1(b) { var t1, t2, t3, _this = this; - b.get$_helix$_$this()._idx = _this.idx; - t1 = _this._box_0; - t2 = t1.geometry; - if (t2 == null) - t2 = null; - else { - t3 = new N.GeometryBuilder(); - t3._geometry$_$v = t2; - t2 = t3; - } - b.get$_helix$_$this()._helix$_geometry = t2; - b.get$_helix$_$this()._group = _this.group; - t2 = t1.grid; - b.get$_helix$_$this()._grid = t2; - t2 = t1.grid_position; - if (t2 == null) - t2 = null; - else { - t3 = new D.GridPositionBuilder(); - t3._grid_position$_$v = t2; - t2 = t3; - } - b.get$_helix$_$this()._grid_position = t2; - t2 = _this.position; - if (t2 == null) - t2 = null; - else { - t3 = new X.Position3DBuilder(); - t3._position3d$_$v = t2; - t2 = t3; - } - b.get$_helix$_$this()._position_ = t2; - b.get$_helix$_$this()._roll = _this.roll; - b.get$_helix$_$this()._min_offset = _this.min_offset; - b.get$_helix$_$this()._max_offset = _this.max_offset; - t2 = t1.major_tick_start; - b.get$_helix$_$this()._major_tick_start = t2; - b.get$major_tick_periodic_distances().replace$1(0, t1.major_tick_periodic_distances); - t1 = type$.dynamic; - b.get$unused_fields().replace$1(0, P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); + b.get$_domain$_$this()._domain$_helix = _this.helix; + b.get$_domain$_$this()._domain$_forward = _this.forward; + b.get$_domain$_$this()._start = _this.start; + b.get$_domain$_$this()._end = _this.end; + t1 = b.get$deletions(); + t2 = _this._box_0; + t3 = t2.deletions; + t3.toString; + t1.replace$1(0, t3); + t3 = b.get$insertions(); + t2 = t2.insertions; + t2.toString; + t3.replace$1(0, t2); + b.get$_domain$_$this()._domain$_name = _this.name; + b.get$_domain$_$this()._domain$_label = _this.label; + b.get$_domain$_$this()._domain$_dna_sequence = _this.dna_sequence; + b.get$_domain$_$this()._domain$_color = _this.color; + b.get$_domain$_$this()._domain$_strand_id = _this.strand_id; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + b.get$_domain$_$this()._domain$_is_scaffold = _this.is_scaffold; + t2 = type$.dynamic; + b.get$unused_fields().replace$1(0, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); return b; }, - $signature: 9 + $signature: 361 }; - O.Helix_relax_roll_closure.prototype = { - call$1: function(b) { - b.get$_helix$_$this()._roll = this.$this.roll + this.roll_delta; - return b; + A.Domain_set_dna_sequence_closure.prototype = { + call$1(ss) { + ss.get$_domain$_$this()._domain$_dna_sequence = this.seq; + return ss; }, - $signature: 9 + $signature: 6 + }; + A.Domain_to_json_serializable_closure.prototype = { + call$1(insertion) { + type$.Insertion._as(insertion); + return A._setArrayType([insertion.offset, insertion.length], type$.JSArray_int); + }, + $signature: 362 + }; + A.Domain_parse_json_insertions_closure.prototype = { + call$1(list) { + var t1 = J.getInterceptor$asx(list); + return A.Insertion_Insertion(A._asIntS(t1.$index(list, 0)), A._asIntS(t1.$index(list, 1))); + }, + $signature: 363 + }; + A.Domain_dna_length_in_closure.prototype = { + call$1(d) { + A._asIntS(d); + if (typeof d !== "number") + return A.iae(d); + return this.left <= d && d <= this.right; + }, + $signature: 21 + }; + A.Domain_dna_length_in_closure0.prototype = { + call$1(i) { + var t1 = type$.Insertion._as(i).offset; + return this.left <= t1 && t1 <= this.right; + }, + $signature: 31 + }; + A.Domain_dna_sequence_deletions_insertions_to_spaces_closure.prototype = { + call$1(insertion) { + return A._asIntS(J.get$offset$x(insertion)); + }, + $signature: 45 + }; + A.Domain_dna_sequence_deletions_insertions_to_spaces_closure0.prototype = { + call$1(insertion) { + return A._asIntS(J.get$length$asx(insertion)); + }, + $signature: 45 + }; + A.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds.prototype = { + call$1(offset) { + var t1 = this.$this, + t2 = this.forward; + return t1.forward ? offset >= t1.get$offset_3p() + t2 : offset <= t1.get$offset_3p() + t2; + }, + $signature: 36 + }; + A.Domain_net_ins_del_length_increase_from_5p_to_closure.prototype = { + call$1(insertion) { + return A._asIntS(J.get$offset$x(insertion)); + }, + $signature: 45 + }; + A.Domain_net_ins_del_length_increase_from_5p_to_closure0.prototype = { + call$1(insertion) { + return A._asIntS(J.get$length$asx(insertion)); + }, + $signature: 45 + }; + A._$InsertionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Insertion._as(object); + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_kjq), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_h8g)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.InsertionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_domain$_$this()._domain$_offset = t1; + break; + case "length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_domain$_$this()._domain$_length = t1; + break; + case "strand_id": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_domain$_$this()._domain$_strand_id = t1; + break; + } + } + return result._domain$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_CJJ; + }, + get$wireName() { + return "Insertion"; + } }; - O._$HelixSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A._$DomainSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_Helix._as(object); - result = H.setRuntimeTypeInfo(["idx", serializers.serialize$2$specifiedType(object.idx, C.FullType_kjq), "grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "geometry", serializers.serialize$2$specifiedType(object.geometry, C.FullType_qNW), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_h8g), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME), "max_offset", serializers.serialize$2$specifiedType(object.max_offset, C.FullType_kjq), "min_offset", serializers.serialize$2$specifiedType(object.min_offset, C.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, C.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); - value = object.grid_position; + type$.Domain._as(object); + result = ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR), "start", serializers.serialize$2$specifiedType(object.start, B.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, B.FullType_kjq), "deletions", serializers.serialize$2$specifiedType(object.deletions, B.FullType_4QF0), "insertions", serializers.serialize$2$specifiedType(object.insertions, B.FullType_i7r), "is_first", serializers.serialize$2$specifiedType(object.is_first, B.FullType_MtR), "is_last", serializers.serialize$2$specifiedType(object.is_last, B.FullType_MtR), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_h8g)]; + value = object.name; if (value != null) { - C.JSArray_methods.add$1(result, "grid_position"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.position_; + value = object.label; if (value != null) { - C.JSArray_methods.add$1(result, "position_"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_cgM)); + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } - value = object.major_ticks; + value = object.dna_sequence; + if (value != null) { + result.push("dna_sequence"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.color; if (value != null) { - C.JSArray_methods.add$1(result, "major_ticks"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_4QF0)); + result.push("color"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, _s5_ = "other"; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new O.HelixBuilder(); - result.get$_helix$_$this()._group = "default_group"; - result.get$_helix$_$this()._min_offset = 0; - result.get$_helix$_$this()._roll = 0; - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.legacy_Position3D, t6 = type$.legacy_GridPosition, t7 = type$.legacy_Geometry, t8 = type$.legacy_Grid; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, value, t10, t11, t12, t13, _null = null, + result = new A.DomainBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Color, t2 = type$.BuiltList_nullable_Object, t3 = type$.Insertion, t4 = type$.List_Insertion, t5 = type$.ListBuilder_Insertion, t6 = type$.int, t7 = type$.List_int, t8 = type$.ListBuilder_int; iterator.moveNext$0();) { + t9 = iterator.get$current(iterator); + t9.toString; + A._asStringS(t9); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "idx": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_helix$_$this()._idx = t9; - break; - case "grid": - t9 = t8._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); - result.get$_helix$_$this()._grid = t9; - break; - case "geometry": - t9 = result.get$_helix$_$this(); - t10 = t9._helix$_geometry; - t9 = t10 == null ? t9._helix$_geometry = new N.GeometryBuilder() : t10; - t10 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_qNW)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t9._geometry$_$v = t10; - break; - case "group": - t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_helix$_$this()._group = t9; - break; - case "grid_position": - t9 = result.get$_helix$_$this(); - t10 = t9._grid_position; - t9 = t10 == null ? t9._grid_position = new D.GridPositionBuilder() : t10; - t10 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t9._grid_position$_$v = t10; - break; - case "position_": - t9 = result.get$_helix$_$this(); - t10 = t9._position_; - t9 = t10 == null ? t9._position_ = new X.Position3DBuilder() : t10; - t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t9._position3d$_$v = t10; - break; - case "roll": - t9 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_helix$_$this()._roll = t9; + switch (t9) { + case "helix": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_domain$_$this()._domain$_helix = t9; break; - case "max_offset": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_helix$_$this()._max_offset = t9; + case "forward": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_domain$_$this()._domain$_forward = t9; break; - case "min_offset": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_helix$_$this()._min_offset = t9; + case "start": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_domain$_$this()._start = t9; break; - case "major_tick_start": - t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_helix$_$this()._major_tick_start = t9; + case "end": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_domain$_$this()._end = t9; break; - case "major_tick_periodic_distances": - t9 = result.get$_helix$_$this(); - t10 = t9._major_tick_periodic_distances; + case "deletions": + t9 = result.get$_domain$_$this(); + t10 = t9._deletions; if (t10 == null) { - t10 = new D.ListBuilder(t4); - t10.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t10 = new A.ListBuilder(t8); + t10.set$__ListBuilder__list_A(t7._as(A.List_List$from(B.List_empty, true, t6))); t10.set$_listOwner(_null); - t9.set$_major_tick_periodic_distances(t10); + t9.set$_deletions(t10); t9 = t10; } else t9 = t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t10.toString; + t2._as(t10); t11 = t9.$ti; t12 = t11._eval$1("_BuiltList<1>"); t13 = t11._eval$1("List<1>"); if (t12._is(t10)) { t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); t9.set$_listOwner(t10); } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); t9.set$_listOwner(_null); } break; - case "major_ticks": - t9 = result.get$_helix$_$this(); - t10 = t9._major_ticks; + case "insertions": + t9 = result.get$_domain$_$this(); + t10 = t9._insertions; if (t10 == null) { - t10 = new D.ListBuilder(t4); - t10.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t10 = new A.ListBuilder(t5); + t10.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); t10.set$_listOwner(_null); - t9.set$_major_ticks(t10); + t9.set$_insertions(t10); t9 = t10; } else t9 = t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_i7r); + t10.toString; + t2._as(t10); t11 = t9.$ti; t12 = t11._eval$1("_BuiltList<1>"); t13 = t11._eval$1("List<1>"); if (t12._is(t10)) { t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); t9.set$_listOwner(t10); } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); t9.set$_listOwner(_null); } break; + case "is_first": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_domain$_$this()._is_first = t9; + break; + case "is_last": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_domain$_$this()._is_last = t9; + break; + case "is_scaffold": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_domain$_$this()._domain$_is_scaffold = t9; + break; + case "name": + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_domain$_$this()._domain$_name = t9; + break; + case "label": + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_domain$_$this()._domain$_label = t9; + break; + case "dna_sequence": + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_domain$_$this()._domain$_dna_sequence = t9; + break; + case "color": + t9 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + result.get$_domain$_$this()._domain$_color = t9; + break; + case "strand_id": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_domain$_$this()._domain$_strand_id = t9; + break; } } - return result.build$0(); + return result._domain$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_uHJ; + get$types() { + return B.List_9YS; }, - get$wireName: function() { - return "Helix"; + get$wireName() { + return "Domain"; } }; - O._$Helix.prototype = { - get$position3d: function() { - var t1 = this.__position3d; - return t1 == null ? this.__position3d = O.Helix.prototype.get$position3d.call(this) : t1; - }, - get$has_default_major_tick_distance: function() { - var t1 = this.__has_default_major_tick_distance; - return t1 == null ? this.__has_default_major_tick_distance = O.Helix.prototype.get$has_default_major_tick_distance.call(this) : t1; + A._$Insertion.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_InsertionBuilder._as(updates); + t1 = new A.InsertionBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Insertion); + t1._domain$_$v = this; + type$.nullable_void_Function_InsertionBuilder._as(updates).call$1(t1); + return t1._domain$_build$0(); }, - get$has_default_major_ticks: function() { - var t1 = this.__has_default_major_ticks; - return t1 == null ? this.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(this) : t1; + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.Insertion && _this.offset === other.offset && _this.length === other.length && _this.strand_id === other.strand_id; }, - get$has_major_tick_distance: function() { - var t1 = this.__has_major_tick_distance; - return t1 == null ? this.__has_major_tick_distance = O.Helix.prototype.get$has_major_tick_distance.call(this) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._domain$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.offset)), B.JSInt_methods.get$hashCode(_this.length)), B.JSString_methods.get$hashCode(_this.strand_id))); + t1 = _this._domain$__hashCode; + if (t1 == null) { + _this._domain$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - get$has_major_ticks: function() { - var t1 = this.__has_major_ticks; - return t1 == null ? this.__has_major_ticks = O.Helix.prototype.get$has_major_ticks.call(this) : t1; + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Insertion"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "length", this.length); + t2.add$2(t1, "strand_id", this.strand_id); + return t2.toString$0(t1); }, - get$has_major_tick_periodic_distances: function() { - var t1 = this.__has_major_tick_periodic_distances; - return t1 == null ? this.__has_major_tick_periodic_distances = O.Helix.prototype.get$has_major_tick_periodic_distances.call(this) : t1; + get$offset(receiver) { + return this.offset; }, - get$svg_width: function() { - var t1 = this.__svg_width; - return t1 == null ? this.__svg_width = O.Helix.prototype.get$svg_width.call(this) : t1; + get$length(receiver) { + return this.length; + } + }; + A.InsertionBuilder.prototype = { + get$offset(_) { + return this.get$_domain$_$this()._domain$_offset; }, - get$svg_height: function() { - var t1 = this.__svg_height; - return t1 == null ? this.__svg_height = O.Helix.prototype.get$svg_height.call(this) : t1; + get$length(_) { + return this.get$_domain$_$this()._domain$_length; }, - get$calculate_major_ticks: function() { - var t1 = this.__calculate_major_ticks; - if (t1 == null) { - t1 = O.Helix.prototype.get$calculate_major_ticks.call(this); - this.set$__calculate_major_ticks(t1); + get$_domain$_$this() { + var _this = this, + $$v = _this._domain$_$v; + if ($$v != null) { + _this._domain$_offset = $$v.offset; + _this._domain$_length = $$v.length; + _this._domain$_strand_id = $$v.strand_id; + _this._domain$_$v = null; } - return t1; + return _this; + }, + _domain$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s9_ = "Insertion", + _s9_0 = "strand_id", + _$result = _this._domain$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_offset, _s9_, "offset", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_length, _s9_, "length", t1); + t4 = type$.String; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_strand_id, _s9_, _s9_0, t4); + _$result = new A._$Insertion(t2, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s9_, "offset", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s9_, "length", t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s9_, _s9_0, t4); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Insertion); + return _this._domain$_$v = _$result; + } + }; + A._$Domain.prototype = { + get$id(_) { + var _this = this, + t1 = _this._domain$__id; + return t1 == null ? _this._domain$__id = A.Domain.prototype.get$id.call(_this, _this) : t1; + }, + get$select_mode() { + var t1 = this._domain$__select_mode; + return t1 == null ? this._domain$__select_mode = A.Domain.prototype.get$select_mode.call(this) : t1; + }, + get$dnaend_start() { + var t1 = this.__dnaend_start; + return t1 == null ? this.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(this) : t1; + }, + get$dnaend_end() { + var t1 = this.__dnaend_end; + return t1 == null ? this.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(this) : t1; + }, + get$address_start() { + var t1 = this.__address_start; + return t1 == null ? this.__address_start = A.Domain.prototype.get$address_start.call(this) : t1; + }, + get$address_end() { + var t1 = this.__address_end; + return t1 == null ? this.__address_end = A.Domain.prototype.get$address_end.call(this) : t1; + }, + get$address_5p() { + var t1 = this._domain$__address_5p; + return t1 == null ? this._domain$__address_5p = A.Domain.prototype.get$address_5p.call(this) : t1; + }, + get$address_3p() { + var t1 = this._domain$__address_3p; + return t1 == null ? this._domain$__address_3p = A.Domain.prototype.get$address_3p.call(this) : t1; + }, + get$offset_5p() { + var t1 = this.__offset_5p; + return t1 == null ? this.__offset_5p = A.Domain.prototype.get$offset_5p.call(this) : t1; + }, + get$offset_3p() { + var t1 = this.__offset_3p; + return t1 == null ? this.__offset_3p = A.Domain.prototype.get$offset_3p.call(this) : t1; }, - rebuild$1: function(updates) { + rebuild$1(updates) { var t1; - type$.legacy_void_Function_legacy_HelixBuilder._as(updates); - t1 = new O.HelixBuilder(); - t1.get$_helix$_$this()._group = "default_group"; - t1.get$_helix$_$this()._min_offset = 0; - t1.get$_helix$_$this()._roll = 0; - t1._helix$_$v = this; - updates.call$1(t1); - return t1.build$0(); + type$.void_Function_DomainBuilder._as(updates); + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Domain); + t1._domain$_$v = this; + type$.nullable_void_Function_DomainBuilder._as(updates).call$1(t1); + return t1._domain$_build$0(); }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof O.Helix && _this.idx === other.idx && _this.grid === other.grid && J.$eq$(_this.geometry, other.geometry) && _this.group === other.group && J.$eq$(_this.grid_position, other.grid_position) && J.$eq$(_this.position_, other.position_) && _this.roll === other.roll && _this.max_offset === other.max_offset && _this.min_offset === other.min_offset && _this.major_tick_start === other.major_tick_start && J.$eq$(_this.major_tick_periodic_distances, other.major_tick_periodic_distances) && J.$eq$(_this.major_ticks, other.major_ticks) && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.Domain && _this.helix === other.helix && _this.forward === other.forward && _this.start === other.start && _this.end === other.end && J.$eq$(_this.deletions, other.deletions) && J.$eq$(_this.insertions, other.insertions) && _this.is_first === other.is_first && _this.is_last === other.is_last && _this.is_scaffold === other.is_scaffold && _this.name == other.name && _this.label == other.label && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id === other.strand_id && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._helix$__hashCode; - return t1 == null ? _this._helix$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.idx)), H.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.geometry)), C.JSString_methods.get$hashCode(_this.group)), J.get$hashCode$(_this.grid_position)), J.get$hashCode$(_this.position_)), C.JSNumber_methods.get$hashCode(_this.roll)), C.JSInt_methods.get$hashCode(_this.max_offset)), C.JSInt_methods.get$hashCode(_this.min_offset)), C.JSInt_methods.get$hashCode(_this.major_tick_start)), J.get$hashCode$(_this.major_tick_periodic_distances)), J.get$hashCode$(_this.major_ticks)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._domain$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSInt_methods.get$hashCode(_this.start)), B.JSInt_methods.get$hashCode(_this.end)), J.get$hashCode$(_this.deletions)), J.get$hashCode$(_this.insertions)), B.JSBool_methods.get$hashCode(_this.is_first)), B.JSBool_methods.get$hashCode(_this.is_last)), B.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), B.JSString_methods.get$hashCode(_this.strand_id)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._domain$__hashCode; + if (t1 == null) { + _this._domain$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Helix"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("Domain"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "idx", _this.idx); - t2.add$2(t1, "grid", _this.grid); - t2.add$2(t1, "geometry", _this.geometry); - t2.add$2(t1, "group", _this.group); - t2.add$2(t1, "grid_position", _this.grid_position); - t2.add$2(t1, "position_", _this.position_); - t2.add$2(t1, "roll", _this.roll); - t2.add$2(t1, "max_offset", _this.max_offset); - t2.add$2(t1, "min_offset", _this.min_offset); - t2.add$2(t1, "major_tick_start", _this.major_tick_start); - t2.add$2(t1, "major_tick_periodic_distances", _this.major_tick_periodic_distances); - t2.add$2(t1, "major_ticks", _this.major_ticks); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "start", _this.start); + t2.add$2(t1, "end", _this.end); + t2.add$2(t1, "deletions", _this.deletions); + t2.add$2(t1, "insertions", _this.insertions); + t2.add$2(t1, "is_first", _this.is_first); + t2.add$2(t1, "is_last", _this.is_last); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - set$__calculate_major_ticks: function(__calculate_major_ticks) { - this.__calculate_major_ticks = type$.legacy_BuiltList_legacy_int._as(__calculate_major_ticks); - } - }; - O.HelixBuilder.prototype = { - get$idx: function() { - return this.get$_helix$_$this()._idx; + set$__insertion_offset_to_length(__insertion_offset_to_length) { + this.__insertion_offset_to_length = type$.nullable_BuiltMap_int_int._as(__insertion_offset_to_length); }, - get$geometry: function(_) { - var t1 = this.get$_helix$_$this(), - t2 = t1._helix$_geometry; - return t2 == null ? t1._helix$_geometry = new N.GeometryBuilder() : t2; + set$_domain$__selectable_deletions(__selectable_deletions) { + this._domain$__selectable_deletions = type$.nullable_BuiltList_SelectableDeletion._as(__selectable_deletions); }, - get$group: function() { - return this.get$_helix$_$this()._group; + set$_domain$__selectable_insertions(__selectable_insertions) { + this._domain$__selectable_insertions = type$.nullable_BuiltList_SelectableInsertion._as(__selectable_insertions); }, - get$grid_position: function() { - var t1 = this.get$_helix$_$this(), - t2 = t1._grid_position; - return t2 == null ? t1._grid_position = new D.GridPositionBuilder() : t2; + get$is_scaffold() { + return this.is_scaffold; }, - get$position_: function() { - var t1 = this.get$_helix$_$this(), - t2 = t1._position_; - return t2 == null ? t1._position_ = new X.Position3DBuilder() : t2; + get$label(receiver) { + return this.label; }, - get$major_tick_periodic_distances: function() { - var t1 = this.get$_helix$_$this(), - t2 = t1._major_tick_periodic_distances; + get$dna_sequence() { + return this.dna_sequence; + }, + get$color(receiver) { + return this.color; + }, + get$strand_id() { + return this.strand_id; + } + }; + A.DomainBuilder.prototype = { + get$deletions() { + var t1 = this.get$_domain$_$this(), + t2 = t1._deletions; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_major_tick_periodic_distances(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_deletions(t2); t1 = t2; } else t1 = t2; return t1; }, - get$major_ticks: function() { - var t1 = this.get$_helix$_$this(), - t2 = t1._major_ticks; + get$insertions() { + var t1 = this.get$_domain$_$this(), + t2 = t1._insertions; if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); - t1.set$_major_ticks(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); + t1.set$_insertions(t2); t1 = t2; } else t1 = t2; return t1; }, - get$unused_fields: function() { - var t1 = this.get$_helix$_$this(), - t2 = t1._helix$_unused_fields; + get$unused_fields() { + var t1 = this.get$_domain$_$this(), + t2 = t1._domain$_unused_fields; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_helix$_unused_fields(t2); + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_domain$_unused_fields(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_helix$_$this: function() { + get$_domain$_$this() { var t1, t2, _this = this, - $$v = _this._helix$_$v; + $$v = _this._domain$_$v; if ($$v != null) { - _this._idx = $$v.idx; - _this._grid = $$v.grid; - t1 = $$v.geometry; + _this._domain$_helix = $$v.helix; + _this._domain$_forward = $$v.forward; + _this._start = $$v.start; + _this._end = $$v.end; + t1 = $$v.deletions; t1.toString; - t2 = new N.GeometryBuilder(); - t2._geometry$_$v = t1; - _this._helix$_geometry = t2; - _this._group = $$v.group; - t1 = $$v.grid_position; - if (t1 == null) - t1 = null; - else { - t2 = new D.GridPositionBuilder(); - t2._grid_position$_$v = t1; - t1 = t2; - } - _this._grid_position = t1; - t1 = $$v.position_; - if (t1 == null) - t1 = null; - else { - t2 = new X.Position3DBuilder(); - t2._position3d$_$v = t1; - t1 = t2; - } - _this._position_ = t1; - _this._roll = $$v.roll; - _this._max_offset = $$v.max_offset; - _this._min_offset = $$v.min_offset; - _this._major_tick_start = $$v.major_tick_start; - t1 = $$v.major_tick_periodic_distances; + _this.set$_deletions(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.insertions; t1.toString; - _this.set$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.major_ticks; - _this.set$_major_ticks(t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_insertions(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._is_first = $$v.is_first; + _this._is_last = $$v.is_last; + _this._domain$_is_scaffold = $$v.is_scaffold; + _this._domain$_name = $$v.name; + _this._domain$_label = $$v.label; + _this._domain$_dna_sequence = $$v.dna_sequence; + _this._domain$_color = $$v.color; + _this._domain$_strand_id = $$v.strand_id; t1 = $$v.unused_fields; t1.toString; t2 = t1.$ti; t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_helix$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._helix$_$v = null; + _this.set$_domain$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._domain$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, _s5_ = "Helix", - _s29_ = "major_tick_periodic_distances", + _domain$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, exception, _this = this, _s6_ = "Domain", + _s8_ = "is_first", + _s11_ = "is_scaffold", + _s9_ = "strand_id", + _s9_0 = "deletions", + _s10_ = "insertions", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._helix$_$v; + _$result0 = _this._domain$_$v; if (_$result0 == null) { - t1 = _this.get$_helix$_$this()._idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "idx")); - t2 = _this.get$_helix$_$this()._grid; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "grid")); - t3 = _this.get$geometry(_this).build$0(); - t4 = _this.get$_helix$_$this()._group; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "group")); - t5 = _this._grid_position; - t5 = t5 == null ? null : t5.build$0(); - t6 = _this._position_; - t6 = t6 == null ? null : t6.build$0(); - t7 = _this.get$_helix$_$this()._roll; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "roll")); - t8 = _this.get$_helix$_$this()._max_offset; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "max_offset")); - t9 = _this.get$_helix$_$this()._min_offset; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "min_offset")); - t10 = _this.get$_helix$_$this()._major_tick_start; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "major_tick_start")); - t11 = _this.get$major_tick_periodic_distances().build$0(); - t12 = _this._major_ticks; - t12 = t12 == null ? null : t12.build$0(); - t13 = _this.get$unused_fields().build$0(); - _$result0 = new O._$Helix(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13); - _$result0.Helix$_$0(); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "geometry")); - if (t11 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, _s29_)); - if (t13 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "unused_fields")); + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_helix, _s6_, "helix", t1); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_forward, _s6_, "forward", t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._start, _s6_, "start", t1); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._end, _s6_, "end", t1); + t7 = _this.get$deletions().build$0(); + t8 = _this.get$insertions().build$0(); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._is_first, _s6_, _s8_, t3); + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._is_last, _s6_, "is_last", t3); + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_is_scaffold, _s6_, _s11_, t3); + t12 = _this.get$_domain$_$this()._domain$_name; + t13 = _this.get$_domain$_$this()._domain$_label; + t14 = _this.get$_domain$_$this()._domain$_dna_sequence; + t15 = _this.get$_domain$_$this()._domain$_color; + t16 = type$.String; + t17 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain$_$this()._domain$_strand_id, _s6_, _s9_, t16); + t18 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Domain(t2, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t17, t18); + A.BuiltValueNullFieldError_checkNotNull(t2, _s6_, "helix", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, "forward", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s6_, "start", t1); + A.BuiltValueNullFieldError_checkNotNull(t6, _s6_, "end", t1); + A.BuiltValueNullFieldError_checkNotNull(t7, _s6_, _s9_0, type$.BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(t8, _s6_, _s10_, type$.BuiltList_Insertion); + A.BuiltValueNullFieldError_checkNotNull(t9, _s6_, _s8_, t3); + A.BuiltValueNullFieldError_checkNotNull(t10, _s6_, "is_last", t3); + A.BuiltValueNullFieldError_checkNotNull(t11, _s6_, _s11_, t3); + A.BuiltValueNullFieldError_checkNotNull(t17, _s6_, _s9_, t16); + A.BuiltValueNullFieldError_checkNotNull(t18, _s6_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "geometry"; - _this.get$geometry(_this).build$0(); - _$failedField = "grid_position"; - t1 = _this._grid_position; - if (t1 != null) - t1.build$0(); - _$failedField = "position_"; - t1 = _this._position_; - if (t1 != null) - t1.build$0(); - _$failedField = _s29_; - _this.get$major_tick_periodic_distances().build$0(); - _$failedField = "major_ticks"; - t1 = _this._major_ticks; - if (t1 != null) - t1.build$0(); - _$failedField = "unused_fields"; + _$failedField._value = _s9_0; + _this.get$deletions().build$0(); + _$failedField._value = _s10_; + _this.get$insertions().build$0(); + _$failedField._value = _s13_; _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s5_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s6_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Helix._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._helix$_$v = t1; + t1 = type$.Domain; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._domain$_$v = t2; return _$result; }, - set$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { - this._major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); - }, - set$_major_ticks: function(_major_ticks) { - this._major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); - }, - set$_helix$_unused_fields: function(_unused_fields) { - this._helix$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); - } - }; - O._Helix_Object_BuiltJsonSerializable.prototype = {}; - O._Helix_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - G.HelixGroupMove.prototype = { - get$current_position: function() { - var _this = this, - nm_translation = _this.get$delta().$mul(0, _this.get$geometry(_this).get$svg_pixels_to_nm()), - t1 = _this.group.position, - t2 = type$.legacy_void_Function_legacy_Position3DBuilder._as(new G.HelixGroupMove_current_position_closure(_this, nm_translation)), - t3 = new X.Position3DBuilder(); - t3._position3d$_$v = t1; - t2.call$1(t3); - return t3.build$0(); - }, - get$delta: function() { - return this.current_mouse_point.$sub(0, this.original_mouse_point); - }, - get$is_nontrivial: function() { - return !(this.get$delta().x === 0 && this.get$delta().y === 0); + set$_deletions(_deletions) { + this._deletions = type$.nullable_ListBuilder_int._as(_deletions); }, - get$helix_idxs_in_group: function() { - var t2, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) - t1.push(t2.get$current(t2).idx); - return D._BuiltList$of(t1, type$.legacy_int); + set$_insertions(_insertions) { + this._insertions = type$.nullable_ListBuilder_Insertion._as(_insertions); }, - get$geometry: function(_) { - var t1 = this.helices; - return J.get$isNotEmpty$asx(t1._map$_map) ? J.get$first$ax(t1.get$values(t1)).geometry : null; + set$_domain$_unused_fields(_unused_fields) { + this._domain$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - G.HelixGroupMove_HelixGroupMove_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$_helix_group_move$_$this()._helix_group_move$_group_name = _this.group_name; - t1 = b.get$group(); - t2 = _this.group; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._group$_$v = t2; - b.get$helices().replace$1(0, _this.helices); - t1 = type$.legacy_Point_legacy_num._as(_this.original_mouse_point); - b.get$_helix_group_move$_$this().set$_original_mouse_point(t1); - b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); - return b; - }, - $signature: 120 - }; - G.HelixGroupMove_current_position_closure.prototype = { - call$1: function(b) { - var t1 = this.$this.group.position, - t2 = this.nm_translation, - t3 = t2.x; - if (typeof t3 !== "number") - return H.iae(t3); - b.get$_position3d$_$this()._z = t1.z + t3; - t2 = t2.y; - if (typeof t2 !== "number") - return H.iae(t2); - b.get$_position3d$_$this()._y = t1.y + t2; - return b; - }, - $signature: 131 - }; - G._$HelixGroupMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_HelixGroupMove._as(object); - return H.setRuntimeTypeInfo(["group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_yfz), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "original_mouse_point", serializers.serialize$2$specifiedType(object.original_mouse_point, C.FullType_8eb), "current_mouse_point", serializers.serialize$2$specifiedType(object.current_mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + A._Domain_Object_SelectableMixin.prototype = {}; + A._Domain_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + A._Insertion_Object_BuiltJsonSerializable.prototype = {}; + A.DomainNameMismatch.prototype = {}; + A._$DomainNameMismatchSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DomainNameMismatch._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "forward_domain", serializers.serialize$2$specifiedType(object.forward_domain, B.FullType_fnc), "reverse_domain", serializers.serialize$2$specifiedType(object.reverse_domain, B.FullType_fnc)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, - result = new G.HelixGroupMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num, t2 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t3 = type$.legacy_HelixGroup, t4 = type$.legacy_ListBuilder_legacy_int, t5 = type$.legacy_int, t6 = type$.List_legacy_int, t7 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.DomainNameMismatchBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "group_name": - t8 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_helix_group_move$_$this()._helix_group_move$_group_name = t8; - break; - case "group": - t8 = result.get$_helix_group_move$_$this(); - t9 = t8._helix_group_move$_group; - if (t9 == null) { - t9 = new O.HelixGroupBuilder(); - t9.get$_group$_$this()._group$_grid = C.Grid_none; - t10 = $.$get$Position3D_origin(); - t10.toString; - t11 = new X.Position3DBuilder(); - t11._position3d$_$v = t10; - t9.get$_group$_$this()._group$_position = t11; - t9.get$_group$_$this()._pitch = 0; - t9.get$_group$_$this()._yaw = 0; - t9.get$_group$_$this()._group$_roll = 0; - t10 = new D.ListBuilder(t7); - t10.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); - t10.set$_listOwner(null); - t4._as(t10); - t9.get$_group$_$this().set$_group$_helices_view_order(t10); - t8._helix_group_move$_group = t9; - t8 = t9; - } else - t8 = t9; - t9 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); - if (t9 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t8._group$_$v = t9; - break; - case "helices": - t8 = result.get$_helix_group_move$_$this(); - t9 = t8._helix_group_move$_helices; - if (t9 == null) { - t9 = new A.MapBuilder(null, $, null, t2); - t9.replace$1(0, C.Map_empty); - t8.set$_helix_group_move$_helices(t9); - t8 = t9; - } else - t8 = t9; - t8.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); + switch (t2) { + case "helix_idx": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx = t2; break; - case "original_mouse_point": - t8 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_helix_group_move$_$this().set$_original_mouse_point(t8); + case "forward_domain": + t2 = result.get$_domain_name_mismatch$_$this(); + t3 = t2._forward_domain; + t2 = t3 == null ? t2._forward_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; break; - case "current_mouse_point": - t8 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_helix_group_move$_$this().set$_current_mouse_point(t8); + case "reverse_domain": + t2 = result.get$_domain_name_mismatch$_$this(); + t3 = t2._reverse_domain; + t2 = t3 == null ? t2._reverse_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; break; } } - return result.build$0(); + return result._domain_name_mismatch$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_sxw; + get$types() { + return B.List_gUw; }, - get$wireName: function() { - return "HelixGroupMove"; + get$wireName() { + return "DomainNameMismatch"; } }; - G._$HelixGroupMove.prototype = { - get$current_position: function() { - var t1 = this.__current_position; - return t1 == null ? this.__current_position = G.HelixGroupMove.prototype.get$current_position.call(this) : t1; - }, - get$delta: function() { - var t1 = this.__delta; - if (t1 == null) { - t1 = G.HelixGroupMove.prototype.get$delta.call(this); - this.set$__delta(t1); - } - return t1; - }, - get$helix_idxs_in_group: function() { - var t1 = this._helix_group_move$__helix_idxs_in_group; - if (t1 == null) { - t1 = G.HelixGroupMove.prototype.get$helix_idxs_in_group.call(this); - this.set$_helix_group_move$__helix_idxs_in_group(t1); - } - return t1; - }, - get$geometry: function(_) { - var _this = this, - t1 = _this.__geometry; - return t1 == null ? _this.__geometry = G.HelixGroupMove.prototype.get$geometry.call(_this, _this) : t1; - }, - $eq: function(_, other) { + A._$DomainNameMismatch.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof G.HelixGroupMove && _this.group_name === other.group_name && J.$eq$(_this.group, other.group) && J.$eq$(_this.helices, other.helices) && _this.original_mouse_point.$eq(0, other.original_mouse_point) && _this.current_mouse_point.$eq(0, other.current_mouse_point); + return other instanceof A.DomainNameMismatch && _this.helix_idx == other.helix_idx && J.$eq$(_this.forward_domain, other.forward_domain) && J.$eq$(_this.reverse_domain, other.reverse_domain); }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._helix_group_move$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._domain_name_mismatch$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.helix_idx)), J.get$hashCode$(_this.forward_domain)), J.get$hashCode$(_this.reverse_domain))); + t1 = _this._domain_name_mismatch$__hashCode; if (t1 == null) { - t1 = _this.original_mouse_point; - t2 = _this.current_mouse_point; - t2 = _this._helix_group_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.group_name)), J.get$hashCode$(_this.group)), J.get$hashCode$(_this.helices)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); - t1 = t2; + _this._domain_name_mismatch$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameMismatch"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "group_name", _this.group_name); - t2.add$2(t1, "group", _this.group); - t2.add$2(t1, "helices", _this.helices); - t2.add$2(t1, "original_mouse_point", _this.original_mouse_point); - t2.add$2(t1, "current_mouse_point", _this.current_mouse_point); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "forward_domain", this.forward_domain); + t2.add$2(t1, "reverse_domain", this.reverse_domain); return t2.toString$0(t1); - }, - set$__delta: function(__delta) { - this.__delta = type$.legacy_Point_legacy_num._as(__delta); - }, - set$_helix_group_move$__helix_idxs_in_group: function(__helix_idxs_in_group) { - this._helix_group_move$__helix_idxs_in_group = type$.legacy_BuiltList_legacy_int._as(__helix_idxs_in_group); } }; - G.HelixGroupMoveBuilder.prototype = { - get$group: function() { - var t1 = this.get$_helix_group_move$_$this(), - t2 = t1._helix_group_move$_group; - if (t2 == null) { - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t1._helix_group_move$_group = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A.DomainNameMismatchBuilder.prototype = { + get$forward_domain() { + var t1 = this.get$_domain_name_mismatch$_$this(), + t2 = t1._forward_domain; + return t2 == null ? t1._forward_domain = new A.DomainBuilder() : t2; }, - get$helices: function() { - var t1 = this.get$_helix_group_move$_$this(), - t2 = t1._helix_group_move$_helices; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); - t1.set$_helix_group_move$_helices(t2); - t1 = t2; - } else - t1 = t2; - return t1; + get$reverse_domain() { + var t1 = this.get$_domain_name_mismatch$_$this(), + t2 = t1._reverse_domain; + return t2 == null ? t1._reverse_domain = new A.DomainBuilder() : t2; }, - get$_helix_group_move$_$this: function() { - var t1, t2, _this = this, - $$v = _this._helix_group_move$_$v; + get$_domain_name_mismatch$_$this() { + var t1, t2, t3, _this = this, + $$v = _this._domain_name_mismatch$_$v; if ($$v != null) { - _this._helix_group_move$_group_name = $$v.group_name; - t1 = $$v.group; - t1.toString; - t2 = new O.HelixGroupBuilder(); - O.HelixGroup__initializeBuilder(t2); - t2._group$_$v = t1; - _this._helix_group_move$_group = t2; - t1 = $$v.helices; + _this._domain_name_mismatch$_helix_idx = $$v.helix_idx; + t1 = $$v.forward_domain; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_helix_group_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this.set$_original_mouse_point($$v.original_mouse_point); - _this.set$_current_mouse_point($$v.current_mouse_point); - _this._helix_group_move$_$v = null; + t2 = new A.DomainBuilder(); + t3 = type$.Domain; + A.ArgumentError_checkNotNull(t1, "other", t3); + t2._domain$_$v = t1; + _this._forward_domain = t2; + t2 = $$v.reverse_domain; + t2.toString; + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._domain$_$v = t2; + _this._reverse_domain = t1; + _this._domain_name_mismatch$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s14_ = "HelixGroupMove", + _domain_name_mismatch$_build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s18_ = "DomainNameMismatch", _$result = null; try { - _$result0 = _this._helix_group_move$_$v; + _$result0 = _this._domain_name_mismatch$_$v; if (_$result0 == null) { - t1 = _this.get$_helix_group_move$_$this()._helix_group_move$_group_name; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "group_name")); - t2 = _this.get$group().build$0(); - t3 = _this.get$helices().build$0(); - t4 = _this.get$_helix_group_move$_$this()._original_mouse_point; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "original_mouse_point")); - t5 = _this.get$_helix_group_move$_$this()._current_mouse_point; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "current_mouse_point")); - _$result0 = new G._$HelixGroupMove(t1, t2, t3, t4, t5); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "group")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "helices")); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx, _s18_, "helix_idx", type$.int); + _$result0 = A._$DomainNameMismatch$_(_this.get$forward_domain()._domain$_build$0(), t1, _this.get$reverse_domain()._domain$_build$0()); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "group"; - _this.get$group().build$0(); - _$failedField = "helices"; - _this.get$helices().build$0(); + _$failedField._value = "forward_domain"; + _this.get$forward_domain()._domain$_build$0(); + _$failedField._value = "reverse_domain"; + _this.get$reverse_domain()._domain$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_HelixGroupMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._helix_group_move$_$v = t1; + t1 = type$.DomainNameMismatch; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._domain_name_mismatch$_$v = t2; return _$result; - }, - set$_helix_group_move$_helices: function(_helices) { - this._helix_group_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); - }, - set$_original_mouse_point: function(_original_mouse_point) { - this._original_mouse_point = type$.legacy_Point_legacy_num._as(_original_mouse_point); - }, - set$_current_mouse_point: function(_current_mouse_point) { - this._current_mouse_point = type$.legacy_Point_legacy_num._as(_current_mouse_point); } }; - G._HelixGroupMove_Object_BuiltJsonSerializable.prototype = {}; - Y.LocalStorageDesignOption.prototype = {}; - Y.LocalStorageDesignChoice.prototype = { - to_on_edit$0: function() { - return this.rebuild$1(new Y.LocalStorageDesignChoice_to_on_edit_closure()); + A._DomainNameMismatch_Object_BuiltJsonSerializable.prototype = {}; + A.DomainsMove.prototype = { + get$original_view_order() { + var t1 = this.original_address.helix_idx, + t2 = this.helices._map$_map, + t3 = t2.$index(0, t1); + t3.toString; + t3 = this.groups._map$_map.$index(0, t3.group).get$helices_view_order_inverse(); + t1 = t2.$index(0, t1); + t1.toString; + t1 = t3._map$_map.$index(0, t1.idx); + t1.toString; + return t1; }, - to_on_exit$0: function() { - return this.rebuild$1(new Y.LocalStorageDesignChoice_to_on_exit_closure()); + get$current_view_order() { + var t1 = this.current_address.helix_idx, + t2 = this.helices._map$_map, + t3 = t2.$index(0, t1); + t3.toString; + t3 = this.groups._map$_map.$index(0, t3.group).get$helices_view_order_inverse(); + t1 = t2.$index(0, t1); + t1.toString; + t1 = t3._map$_map.$index(0, t1.idx); + t1.toString; + return t1; }, - to_never$0: function() { - return this.rebuild$1(new Y.LocalStorageDesignChoice_to_never_closure()); + get$domains_moving_on_helix() { + var t2, t3, t4, + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.List_Domain); + for (t2 = this.helices, t2 = t2.get$keys(t2), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.__js_helper$_current, A._setArrayType([], t3)); + for (t2 = this.domains_moving._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t1.$index(0, t3.helix); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + return t1; }, - to_periodic$0: function() { - return this.rebuild$1(new Y.LocalStorageDesignChoice_to_periodic_closure()); + get$domains_fixed_on_helix() { + var t2, t3, t4, + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.List_Domain); + for (t2 = this.helices, t2 = t2.get$keys(t2), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.__js_helper$_current, A._setArrayType([], t3)); + for (t2 = this.domains_fixed._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t1.$index(0, t3.helix); + t4.toString; + B.JSArray_methods.add$1(t4, t3); + } + return t1; }, - change_period$1: function(new_period) { - return this.rebuild$1(new Y.LocalStorageDesignChoice_change_period_closure(new_period)); + get$domains_moving_from_strand() { + var t2, t3, t4, t5, t6, + t1 = this.domains_moving._list, + domains_moving_set = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Strand, type$.List_Domain); + for (t2 = this.strands_with_domains_moving._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = type$.JSArray_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.__interceptors$_current, A._setArrayType([], t3)); + for (t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, t1.$ti._precomputed1); t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + t4 = t3.__domains; + if (t4 == null) { + t4 = A.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + } + t4 = t4._list; + t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); + for (; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + if (domains_moving_set.contains$1(0, t5)) { + t6 = t1.$index(0, t3); + t6.toString; + B.JSArray_methods.add$1(t6, t5); + } + } + } + return t1; } }; - Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._option = this.option; - b.get$_local_storage_design_choice$_$this()._period_seconds = this.period_seconds; - return b; - }, - $signature: 50 - }; - Y.LocalStorageDesignChoice_to_on_edit_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_on_edit; - return b; - }, - $signature: 50 - }; - Y.LocalStorageDesignChoice_to_on_exit_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_on_exit; - return b; - }, - $signature: 50 - }; - Y.LocalStorageDesignChoice_to_never_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_never; - return b; - }, - $signature: 50 - }; - Y.LocalStorageDesignChoice_to_periodic_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_periodic; - return b; - }, - $signature: 50 - }; - Y.LocalStorageDesignChoice_change_period_closure.prototype = { - call$1: function(b) { - b.get$_local_storage_design_choice$_$this()._period_seconds = this.new_period; + A.DomainsMove_DomainsMove_closure.prototype = { + call$1(b) { + var t1, t2, t3, _this = this; + b.get$domains_moving().replace$1(0, _this.domains_moving); + b.get$domains_fixed().replace$1(0, _this.domains_fixed); + b.get$strands_with_domains_moving().replace$1(0, _this.strands_with_domains_moving); + b.get$helices().replace$1(0, _this.helices); + b.get$groups().replace$1(0, _this.groups); + b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); + t1 = b.get$original_address(); + t2 = _this.original_address; + t3 = type$.Address; + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + t1 = b.get$current_address(); + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + b.get$_domains_move$_$this()._copy = _this.copy; + b.get$_domains_move$_$this()._keep_color = _this.keep_color; + b.get$_domains_move$_$this()._allowable = true; return b; }, - $signature: 50 - }; - Y._$LocalStorageDesignOptionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_LocalStorageDesignOption._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return Y._$valueOf6(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_LocalStorageDesignOption_xgQ; - }, - get$wireName: function() { - return "LocalStorageDesignOption"; - } + $signature: 365 }; - Y._$LocalStorageDesignChoiceSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_LocalStorageDesignChoice._as(object); - return H.setRuntimeTypeInfo(["option", serializers.serialize$2$specifiedType(object.option, C.FullType_kOK), "period_seconds", serializers.serialize$2$specifiedType(object.period_seconds, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$DomainsMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.DomainsMove._as(object); + return ["domains_moving", serializers.serialize$2$specifiedType(object.domains_moving, B.FullType_dli), "domains_fixed", serializers.serialize$2$specifiedType(object.domains_fixed, B.FullType_dli), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, B.FullType_m48), "strands_with_domains_moving", serializers.serialize$2$specifiedType(object.strands_with_domains_moving, B.FullType_2No), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, B.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, B.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, B.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, B.FullType_MtR)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new Y.LocalStorageDesignChoiceBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_LocalStorageDesignOption; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, value, t13, t14, t15, t16, _null = null, + result = new A.DomainsMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Address, t2 = type$.MapBuilder_int_int, t3 = type$.BuiltList_nullable_Object, t4 = type$.Strand, t5 = type$.List_Strand, t6 = type$.ListBuilder_Strand, t7 = type$.MapBuilder_String_HelixGroup, t8 = type$.MapBuilder_int_Helix, t9 = type$.Domain, t10 = type$.List_Domain, t11 = type$.ListBuilder_Domain; iterator.moveNext$0();) { + t12 = iterator.get$current(iterator); + t12.toString; + A._asStringS(t12); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "option": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kOK)); - $$v = result._local_storage_design_choice$_$v; - if ($$v != null) { - result._option = $$v.option; - result._period_seconds = $$v.period_seconds; - result._local_storage_design_choice$_$v = null; + switch (t12) { + case "domains_moving": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_moving; + if (t13 == null) { + t13 = new A.ListBuilder(t11); + t13.set$__ListBuilder__list_A(t10._as(A.List_List$from(B.List_empty, true, t9))); + t13.set$_listOwner(_null); + t12.set$_domains_moving(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t13.toString; + t3._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); } - result._option = t2; break; - case "period_seconds": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - $$v = result._local_storage_design_choice$_$v; - if ($$v != null) { - result._option = $$v.option; - result._period_seconds = $$v.period_seconds; - result._local_storage_design_choice$_$v = null; + case "domains_fixed": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_fixed; + if (t13 == null) { + t13 = new A.ListBuilder(t11); + t13.set$__ListBuilder__list_A(t10._as(A.List_List$from(B.List_empty, true, t9))); + t13.set$_listOwner(_null); + t12.set$_domains_fixed(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t13.toString; + t3._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); } - result._period_seconds = t2; + break; + case "helices": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_move$_helices; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t8); + t13.replace$1(0, B.Map_empty); + t12.set$_domains_move$_helices(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t13.toString; + t12.replace$1(0, t13); + break; + case "groups": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_move$_groups; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t7); + t13.replace$1(0, B.Map_empty); + t12.set$_domains_move$_groups(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_m48); + t13.toString; + t12.replace$1(0, t13); + break; + case "strands_with_domains_moving": + t12 = result.get$_domains_move$_$this(); + t13 = t12._strands_with_domains_moving; + if (t13 == null) { + t13 = new A.ListBuilder(t6); + t13.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t4))); + t13.set$_listOwner(_null); + t12.set$_strands_with_domains_moving(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t13.toString; + t3._as(t13); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list_A(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } + break; + case "original_helices_view_order_inverse": + t12 = result.get$_domains_move$_$this(); + t13 = t12._original_helices_view_order_inverse; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t2); + t13.replace$1(0, B.Map_empty); + t12.set$_original_helices_view_order_inverse(t13); + t12 = t13; + } else + t12 = t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t13.toString; + t12.replace$1(0, t13); + break; + case "original_address": + t12 = result.get$_domains_move$_$this(); + t13 = t12._original_address; + t12 = t13 == null ? t12._original_address = new A.AddressBuilder() : t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t13.toString; + t1._as(t13); + t12._address$_$v = t13; + break; + case "current_address": + t12 = result.get$_domains_move$_$this(); + t13 = t12._current_address; + t12 = t13 == null ? t12._current_address = new A.AddressBuilder() : t13; + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t13.toString; + t1._as(t13); + t12._address$_$v = t13; + break; + case "allowable": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12.toString; + A._asBoolS(t12); + result.get$_domains_move$_$this()._allowable = t12; + break; + case "copy": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12.toString; + A._asBoolS(t12); + result.get$_domains_move$_$this()._copy = t12; + break; + case "keep_color": + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12.toString; + A._asBoolS(t12); + result.get$_domains_move$_$this()._keep_color = t12; break; } } - return result.build$0(); + return result._domains_move$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_OzL; + get$types() { + return B.List_u2S; }, - get$wireName: function() { - return "LocalStorageDesignChoice"; + get$wireName() { + return "DomainsMove"; } }; - Y._$LocalStorageDesignChoice.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder._as(updates); - t1 = new Y.LocalStorageDesignChoiceBuilder(); - t1._local_storage_design_choice$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A._$DomainsMove.prototype = { + get$domains_moving_from_strand() { + var t1 = this.__domains_moving_from_strand; + if (t1 == null) { + t1 = A.DomainsMove.prototype.get$domains_moving_from_strand.call(this); + this.set$__domains_moving_from_strand(t1); + } + return t1; + }, + rebuild$1(updates) { + var t1; + type$.void_Function_DomainsMoveBuilder._as(updates); + t1 = new A.DomainsMoveBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.DomainsMove); + t1._domains_move$_$v = this; + type$.nullable_void_Function_DomainsMoveBuilder._as(updates).call$1(t1); + return t1._domains_move$_build$0(); }, - $eq: function(_, other) { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof Y.LocalStorageDesignChoice && this.option === other.option && this.period_seconds === other.period_seconds; + return other instanceof A.DomainsMove && J.$eq$(_this.domains_moving, other.domains_moving) && J.$eq$(_this.domains_fixed, other.domains_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.strands_with_domains_moving, other.strands_with_domains_moving) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; }, - get$hashCode: function(_) { - return Y.$jf(Y.$jc(Y.$jc(0, H.Primitives_objectHashCode(this.option)), C.JSInt_methods.get$hashCode(this.period_seconds))); + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._domains_move$__hashCode; + if (t1 != null) + return t1; + t1 = _this.original_address; + t2 = _this.current_address; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.domains_moving)), J.get$hashCode$(_this.domains_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.strands_with_domains_moving)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); + t2 = _this._domains_move$__hashCode; + if (t2 == null) { + _this._domains_move$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoice"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "option", this.option); - t2.add$2(t1, "period_seconds", this.period_seconds); + t2.add$2(t1, "domains_moving", _this.domains_moving); + t2.add$2(t1, "domains_fixed", _this.domains_fixed); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "strands_with_domains_moving", _this.strands_with_domains_moving); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + t2.add$2(t1, "original_address", _this.original_address); + t2.add$2(t1, "current_address", _this.current_address); + t2.add$2(t1, "allowable", _this.allowable); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "keep_color", _this.keep_color); return t2.toString$0(t1); - } - }; - Y.LocalStorageDesignChoiceBuilder.prototype = { - get$_local_storage_design_choice$_$this: function() { - var _this = this, - $$v = _this._local_storage_design_choice$_$v; - if ($$v != null) { - _this._option = $$v.option; - _this._period_seconds = $$v.period_seconds; - _this._local_storage_design_choice$_$v = null; - } - return _this; }, - build$0: function() { - var t1, t2, _this = this, - _s24_ = "LocalStorageDesignChoice", - _$result = _this._local_storage_design_choice$_$v; - if (_$result == null) { - t1 = _this.get$_local_storage_design_choice$_$this()._option; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "option")); - t2 = _this.get$_local_storage_design_choice$_$this()._period_seconds; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "period_seconds")); - _$result = new Y._$LocalStorageDesignChoice(t1, t2); - } - return _this._local_storage_design_choice$_$v = _$result; + set$__domains_moving_on_helix(__domains_moving_on_helix) { + this.__domains_moving_on_helix = type$.nullable_Map_of_int_and_List_Domain._as(__domains_moving_on_helix); + }, + set$__domains_fixed_on_helix(__domains_fixed_on_helix) { + this.__domains_fixed_on_helix = type$.nullable_Map_of_int_and_List_Domain._as(__domains_fixed_on_helix); + }, + set$__domains_moving_from_strand(__domains_moving_from_strand) { + this.__domains_moving_from_strand = type$.nullable_Map_of_Strand_and_List_Domain._as(__domains_moving_from_strand); } }; - Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable.prototype = {}; - G.Loopout.prototype = { - get$next_domain_idx: function() { - return this.prev_domain_idx + 2; + A.DomainsMoveBuilder.prototype = { + get$domains_moving() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_moving; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); + t1.set$_domains_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - set_dna_sequence$1: function(seq) { - return this.rebuild$1(new G.Loopout_set_dna_sequence_closure(seq)); + get$domains_fixed() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_fixed; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); + t1.set$_domains_fixed(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - is_domain$0: function() { - return false; + get$helices() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + t1.set$_domains_move$_helices(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - is_loopout$0: function() { - return true; + get$groups() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_move$_groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); + t1.set$_domains_move$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$select_mode: function() { - return C.SelectModeChoice_loopout; + get$strands_with_domains_moving() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._strands_with_domains_moving; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_strands_with_domains_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$id: function(_) { - return "loopout-" + (this.prev_domain_idx + 1) + "-" + H.S(this.strand_id); + get$original_helices_view_order_inverse() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - dna_length$0: function() { - return this.loopout_num_bases; + get$original_address() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._original_address; + return t2 == null ? t1._original_address = new A.AddressBuilder() : t2; }, - type_description$0: function() { - return "loopout"; + get$current_address() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._current_address; + return t2 == null ? t1._current_address = new A.AddressBuilder() : t2; }, - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var t2, t3, _this = this, - json_map = P.LinkedHashMap_LinkedHashMap$_literal(["loopout", _this.loopout_num_bases], type$.legacy_String, type$.legacy_Object), - t1 = _this.name; - if (t1 != null) - json_map.$indexSet(0, "name", t1); - t1 = _this.color; - if (t1 != null) { - t1 = t1.toHexColor$0(); - json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + get$_domains_move$_$this() { + var t1, t2, t3, _this = this, + $$v = _this._domains_move$_$v; + if ($$v != null) { + t1 = $$v.domains_moving; + t1.toString; + _this.set$_domains_moving(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.domains_fixed; + t1.toString; + _this.set$_domains_fixed(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_domains_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.groups; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_domains_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.strands_with_domains_moving; + t1.toString; + _this.set$_strands_with_domains_moving(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.original_address; + t1 = new A.AddressBuilder(); + t3 = type$.Address; + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + _this._original_address = t1; + t1 = $$v.current_address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", t3); + t2._address$_$v = t1; + _this._current_address = t2; + _this._allowable = $$v.allowable; + _this._copy = $$v.copy; + _this._keep_color = $$v.keep_color; + _this._domains_move$_$v = null; } - t1 = _this.label; - if (t1 != null) - json_map.$indexSet(0, "label", t1); - t1 = _this.unused_fields; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - return suppress_indent ? new K.NoIndent(json_map) : json_map; + return _this; }, - $isLinker: 1, - $isSelectable: 1, - $isSubstrand: 1 - }; - G.Loopout_Loopout_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_loopout$_$this()._loopout_num_bases = _this.loopout_num_bases; - b.get$_loopout$_$this()._prev_domain_idx = _this.prev_domain_idx; - b.get$_loopout$_$this()._loopout$_is_scaffold = _this.is_scaffold; - b.get$_loopout$_$this()._loopout$_dna_sequence = _this.dna_sequence; - b.get$_loopout$_$this()._loopout$_color = _this.color; - b.get$_loopout$_$this()._loopout$_name = _this.name; - b.get$_loopout$_$this()._loopout$_label = _this.label; - t1 = type$.dynamic; - t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); - b.get$_loopout$_$this().set$_loopout$_unused_fields(t1); - return b; + _domains_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, + _s11_ = "DomainsMove", + _s9_ = "allowable", + _s10_ = "keep_color", + _s14_ = "domains_moving", + _s13_ = "domains_fixed", + _s27_ = "strands_with_domains_moving", + _s35_ = "original_helices_view_order_inverse", + _s16_ = "original_address", + _s15_ = "current_address", + _$result = null; + try { + _$result0 = _this._domains_move$_$v; + if (_$result0 == null) { + t1 = _this.get$domains_moving().build$0(); + t2 = _this.get$domains_fixed().build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$groups().build$0(); + t5 = _this.get$strands_with_domains_moving().build$0(); + t6 = _this.get$original_helices_view_order_inverse().build$0(); + t7 = _this.get$original_address()._address$_build$0(); + t8 = _this.get$current_address()._address$_build$0(); + t9 = type$.bool; + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domains_move$_$this()._allowable, _s11_, _s9_, t9); + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domains_move$_$this()._copy, _s11_, "copy", t9); + t12 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_domains_move$_$this()._keep_color, _s11_, _s10_, t9); + _$result0 = new A._$DomainsMove(t1, t2, t3, t4, t5, t6, t7, t8, t10, t11, t12); + t13 = type$.BuiltList_Domain; + A.BuiltValueNullFieldError_checkNotNull(t1, _s11_, _s14_, t13); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, _s13_, t13); + A.BuiltValueNullFieldError_checkNotNull(t3, _s11_, "helices", type$.BuiltMap_int_Helix); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, "groups", type$.BuiltMap_String_HelixGroup); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, _s27_, type$.BuiltList_Strand); + A.BuiltValueNullFieldError_checkNotNull(t6, _s11_, _s35_, type$.BuiltMap_int_int); + t6 = type$.Address; + A.BuiltValueNullFieldError_checkNotNull(t7, _s11_, _s16_, t6); + A.BuiltValueNullFieldError_checkNotNull(t8, _s11_, _s15_, t6); + A.BuiltValueNullFieldError_checkNotNull(t10, _s11_, _s9_, t9); + A.BuiltValueNullFieldError_checkNotNull(t11, _s11_, "copy", t9); + A.BuiltValueNullFieldError_checkNotNull(t12, _s11_, _s10_, t9); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s14_; + _this.get$domains_moving().build$0(); + _$failedField._value = _s13_; + _this.get$domains_fixed().build$0(); + _$failedField._value = "helices"; + _this.get$helices().build$0(); + _$failedField._value = "groups"; + _this.get$groups().build$0(); + _$failedField._value = _s27_; + _this.get$strands_with_domains_moving().build$0(); + _$failedField._value = _s35_; + _this.get$original_helices_view_order_inverse().build$0(); + _$failedField._value = _s16_; + _this.get$original_address()._address$_build$0(); + _$failedField._value = _s15_; + _this.get$current_address()._address$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.DomainsMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._domains_move$_$v = t2; + return _$result; }, - $signature: 24 - }; - G.Loopout_set_dna_sequence_closure.prototype = { - call$1: function(loopout) { - loopout.get$_loopout$_$this()._loopout$_dna_sequence = this.seq; - return loopout; + set$_domains_moving(_domains_moving) { + this._domains_moving = type$.nullable_ListBuilder_Domain._as(_domains_moving); }, - $signature: 24 + set$_domains_fixed(_domains_fixed) { + this._domains_fixed = type$.nullable_ListBuilder_Domain._as(_domains_fixed); + }, + set$_domains_move$_helices(_helices) { + this._domains_move$_helices = type$.nullable_MapBuilder_int_Helix._as(_helices); + }, + set$_domains_move$_groups(_groups) { + this._domains_move$_groups = type$.nullable_MapBuilder_String_HelixGroup._as(_groups); + }, + set$_strands_with_domains_moving(_strands_with_domains_moving) { + this._strands_with_domains_moving = type$.nullable_ListBuilder_Strand._as(_strands_with_domains_moving); + }, + set$_original_helices_view_order_inverse(_original_helices_view_order_inverse) { + this._original_helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_original_helices_view_order_inverse); + } }; - G._$LoopoutSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_Loopout._as(object); - result = H.setRuntimeTypeInfo(["loopout_num_bases", serializers.serialize$2$specifiedType(object.loopout_num_bases, C.FullType_kjq), "prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, C.FullType_kjq), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + A._DomainsMove_Object_BuiltJsonSerializable.prototype = {}; + A.EditModeChoice.prototype = { + key_code$0() { + var t1, t2; + for (t1 = J.get$iterator$ax(B.Map_2Vy1w.get$keys(B.Map_2Vy1w)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (B.Map_2Vy1w.$index(0, t2) === this) + return t2; } - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + throw A.wrapException(A.AssertionError$("This should be unreachable.")); + }, + get$excluded_modes() { + switch (this) { + case B.EditModeChoice_select: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_rope_select, B.EditModeChoice_pencil, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_deletion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_rope_select: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_pencil, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_deletion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_pencil: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_ligate, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_nick: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_deletion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_ligate: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_pencil, B.EditModeChoice_nick, B.EditModeChoice_insertion, B.EditModeChoice_deletion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_insertion: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_deletion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_deletion: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_move_group], type$.JSArray_EditModeChoice), type$.EditModeChoice); + case B.EditModeChoice_move_group: + return A.BuiltSet_BuiltSet$of(A._setArrayType([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_pencil, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_deletion], type$.JSArray_EditModeChoice), type$.EditModeChoice); + default: + throw A.wrapException(A.ArgumentError$(this.toString$0(0) + " is not a valid EditModeChoice", null)); } - value = object.dna_sequence; - if (value != null) { - C.JSArray_methods.add$1(result, "dna_sequence"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + }, + display_name$0() { + switch (this) { + case B.EditModeChoice_select: + return "(s)"; + case B.EditModeChoice_rope_select: + return "(r)"; + case B.EditModeChoice_pencil: + return "(p)"; + case B.EditModeChoice_nick: + return "(n)"; + case B.EditModeChoice_ligate: + return "(l)"; + case B.EditModeChoice_insertion: + return "(i)"; + case B.EditModeChoice_deletion: + return "(d)"; + case B.EditModeChoice_move_group: + return "(m)"; } - value = object.color; - if (value != null) { - C.JSArray_methods.add$1(result, "color"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); + return this.super$EnumClass$toString(0); + }, + get$tooltip() { + switch (this) { + case B.EditModeChoice_select: + return '(s)elect: This is similar to the Select edit mode in cadnano. It allows one to\nselect one or more items and delete, move, or copy/paste them. Which are \nallowed to be selected depends on the "Select Mode", shown when in select edit \nmode or rope select edit mode. By holding Shift or Ctrl and click-dragging,\na rectangular box can be drawn that will select everything in the box.'; + case B.EditModeChoice_rope_select: + return '(r)ope select: This is similar to select mode, but when holding Shift or Ctrl, \nit allows one to draw a general polygon (a "rope"), rather than just a \nrectangle. This is useful, for example, for selecting many objects along a\ndiagonal, where a rectangle containing all of them would also contain many\nobjects off the diagonal that are not intended to be selected.'; + case B.EditModeChoice_pencil: + return "(p)encil: Allows one to add new Strands (with a single domain) by clicking and dragging."; + case B.EditModeChoice_nick: + return "(n)ick: Clicking on a bound domain will split it into two at that position."; + case B.EditModeChoice_ligate: + return "(l)igate: If two bound domains point in the same direction and have abutting\n5'/3' ends, then clicking on either will join them into a single strand."; + case B.EditModeChoice_insertion: + return "(i)nsertion: Clicking on a bound domain adds an insertion at that offset.\nClicking an existing insertion removes it.\n\nCtrl+click will add an insertion to strands in *every* helix at the same offset."; + case B.EditModeChoice_deletion: + return '(d)eletion: Clicking on a bound domain adds a deletion at that offset.\nClicking an existing deletion removes it.\n\nCtrl+click will add a deletion to strands in *every* helix at the same offset.\nThis can be useful for adding "columns" of deletions useful for twist correction\nin DNA origami.\n(See https://www.nature.com/articles/nchem.1070 for an explanation of twist\ncorrection in DNA origami.)\n'; + case B.EditModeChoice_move_group: + return "(m)ove group: This mode allows one to translate the currently selected helix\ngroup in the main view by clicking and dragging (i.e., to change its\nposition.x and position.y coordinates, which can also be set manually under\nthe menu Group \u2192 adjust current group). When in this mode, press either the\nCtrl (Cmd on Mac) or Shift key and then click+drag with the cursor. (Without\npressing Ctrl or Shift, the normal panning of the view will occur, without\nchanging the position of any helix group.)"; } - value = object.strand_id; - if (value != null) { - C.JSArray_methods.add$1(result, "strand_id"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + return this.super$EnumClass$toString(0); + }, + toString$0(_) { + return this.display_name$0(); + }, + get$image_file() { + switch (this) { + case B.EditModeChoice_select: + return "images/edit_mode_icons/select.svg"; + case B.EditModeChoice_rope_select: + return "images/edit_mode_icons/rope_select.svg"; + case B.EditModeChoice_pencil: + return "images/edit_mode_icons/pencil.svg"; + case B.EditModeChoice_nick: + return "images/edit_mode_icons/nick.svg"; + case B.EditModeChoice_ligate: + return "images/edit_mode_icons/ligate.svg"; + case B.EditModeChoice_insertion: + return "images/edit_mode_icons/insertion.svg"; + case B.EditModeChoice_deletion: + return "images/edit_mode_icons/deletion.svg"; + case B.EditModeChoice_move_group: + return "images/edit_mode_icons/move_group.svg"; } - return result; + return ""; + } + }; + A._$EditModeChoiceSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.EditModeChoice._as(object).name; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf4(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_EditModeChoice_hod; + }, + get$wireName() { + return "EditModeChoice"; + } + }; + A.ExampleDesigns.prototype = {}; + A._$ExampleDesignsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.ExampleDesigns._as(object); + return ["directory", serializers.serialize$2$specifiedType(object.directory, B.FullType_h8g), "filenames", serializers.serialize$2$specifiedType(object.filenames, B.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new G.LoopoutBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, value, t6, t7, t8, t9; + type$.Iterable_nullable_Object._as(serialized); + result = new A.ExampleDesignsBuilder(); + A.ExampleDesigns__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.String, t3 = type$.List_String, t4 = type$.ListBuilder_String; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "loopout_num_bases": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_loopout$_$this()._loopout_num_bases = t2; - break; - case "name": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_loopout$_$this()._loopout$_name = t2; - break; - case "label": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_loopout$_$this()._loopout$_label = t2; - break; - case "prev_domain_idx": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_loopout$_$this()._prev_domain_idx = t2; - break; - case "dna_sequence": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_loopout$_$this()._loopout$_dna_sequence = t2; - break; - case "color": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_loopout$_$this()._loopout$_color = t2; + switch (t5) { + case "directory": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5.toString; + A._asStringS(t5); + result.get$_example_designs$_$this()._directory = t5; break; - case "strand_id": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_loopout$_$this()._loopout$_strand_id = t2; + case "filenames": + t5 = result.get$_example_designs$_$this(); + t6 = t5._filenames; + if (t6 == null) { + t6 = new A.ListBuilder(t4); + t6.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_filenames(t6); + t5 = t6; + } else + t5 = t6; + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6.toString; + t1._as(t6); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } break; - case "is_scaffold": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_loopout$_$this()._loopout$_is_scaffold = t2; + case "selected_idx": + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5.toString; + A._asIntS(t5); + result.get$_example_designs$_$this()._selected_idx = t5; break; } } - return result.build$0(); + return result._example_designs$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_2ad; + get$types() { + return B.List_ouD; }, - get$wireName: function() { - return "Loopout"; + get$wireName() { + return "ExampleDesigns"; } }; - G._$Loopout.prototype = { - get$next_domain_idx: function() { - var t1 = this.__next_domain_idx; - return t1 == null ? this.__next_domain_idx = G.Loopout.prototype.get$next_domain_idx.call(this) : t1; - }, - get$select_mode: function() { - var t1 = this._loopout$__select_mode; - return t1 == null ? this._loopout$__select_mode = G.Loopout.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._loopout$__id; - return t1 == null ? _this._loopout$__id = G.Loopout.prototype.get$id.call(_this, _this) : t1; - }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_LoopoutBuilder._as(updates); - t1 = new G.LoopoutBuilder(); - t1._loopout$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { + A._$ExampleDesigns.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof G.Loopout && _this.loopout_num_bases === other.loopout_num_bases && _this.name == other.name && _this.label == other.label && _this.prev_domain_idx === other.prev_domain_idx && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.ExampleDesigns && _this.directory === other.directory && J.$eq$(_this.filenames, other.filenames) && _this.selected_idx === other.selected_idx; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._loopout$__hashCode; - return t1 == null ? _this._loopout$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.loopout_num_bases)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), C.JSInt_methods.get$hashCode(_this.prev_domain_idx)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._example_designs$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.directory)), J.get$hashCode$(_this.filenames)), B.JSInt_methods.get$hashCode(_this.selected_idx))); + t1 = _this._example_designs$__hashCode; + if (t1 == null) { + _this._example_designs$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Loopout"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesigns"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "loopout_num_bases", _this.loopout_num_bases); - t2.add$2(t1, "name", _this.name); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); - t2.add$2(t1, "dna_sequence", _this.dna_sequence); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "strand_id", _this.strand_id); - t2.add$2(t1, "is_scaffold", _this.is_scaffold); - t2.add$2(t1, "unused_fields", _this.unused_fields); + t2.add$2(t1, "directory", this.directory); + t2.add$2(t1, "filenames", this.filenames); + t2.add$2(t1, "selected_idx", this.selected_idx); return t2.toString$0(t1); - }, - get$name: function(receiver) { - return this.name; - }, - get$label: function(receiver) { - return this.label; - }, - get$prev_domain_idx: function() { - return this.prev_domain_idx; - }, - get$dna_sequence: function() { - return this.dna_sequence; - }, - get$color: function(receiver) { - return this.color; - }, - get$strand_id: function() { - return this.strand_id; - }, - get$is_scaffold: function() { - return this.is_scaffold; } }; - G.LoopoutBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_loopout$_$this(), - t2 = t1._loopout$_unused_fields; + A.ExampleDesignsBuilder.prototype = { + get$filenames() { + var t1 = this.get$_example_designs$_$this(), + t2 = t1._filenames; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_loopout$_unused_fields(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.String); + t1.set$_filenames(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_loopout$_$this: function() { - var t1, t2, _this = this, - $$v = _this._loopout$_$v; + get$_example_designs$_$this() { + var t1, _this = this, + $$v = _this._example_designs$_$v; if ($$v != null) { - _this._loopout_num_bases = $$v.loopout_num_bases; - _this._loopout$_name = $$v.name; - _this._loopout$_label = $$v.label; - _this._prev_domain_idx = $$v.prev_domain_idx; - _this._loopout$_dna_sequence = $$v.dna_sequence; - _this._loopout$_color = $$v.color; - _this._loopout$_strand_id = $$v.strand_id; - _this._loopout$_is_scaffold = $$v.is_scaffold; - t1 = $$v.unused_fields; + _this._directory = $$v.directory; + t1 = $$v.filenames; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_loopout$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._loopout$_$v = null; + _this.set$_filenames(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._selected_idx = $$v.selected_idx; + _this._example_designs$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, _this = this, - _s7_ = "Loopout", + _example_designs$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s14_ = "ExampleDesigns", + _s9_ = "directory", + _s12_ = "selected_idx", + _s9_0 = "filenames", _$result = null; try { - _$result0 = _this._loopout$_$v; + _$result0 = _this._example_designs$_$v; if (_$result0 == null) { - t1 = _this.get$_loopout$_$this()._loopout_num_bases; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "loopout_num_bases")); - t2 = _this.get$_loopout$_$this()._loopout$_name; - t3 = _this.get$_loopout$_$this()._loopout$_label; - t4 = _this.get$_loopout$_$this()._prev_domain_idx; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "prev_domain_idx")); - t5 = _this.get$_loopout$_$this()._loopout$_dna_sequence; - t6 = _this.get$_loopout$_$this()._loopout$_color; - t7 = _this.get$_loopout$_$this()._loopout$_strand_id; - t8 = _this.get$_loopout$_$this()._loopout$_is_scaffold; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "is_scaffold")); - t9 = _this.get$unused_fields().build$0(); - _$result0 = new G._$Loopout(t1, t2, t3, t4, t5, t6, t7, t8, t9); - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "unused_fields")); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_example_designs$_$this()._directory, _s14_, _s9_, t1); + t3 = _this.get$filenames().build$0(); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_example_designs$_$this()._selected_idx, _s14_, _s12_, t4); + _$result0 = new A._$ExampleDesigns(t2, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, _s9_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s14_, _s9_0, type$.BuiltList_String); + A.BuiltValueNullFieldError_checkNotNull(t5, _s14_, _s12_, t4); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); + _$failedField._value = _s9_0; + _this.get$filenames().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s7_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Loopout._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._loopout$_$v = t1; + t1 = type$.ExampleDesigns; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._example_designs$_$v = t2; return _$result; }, - set$_loopout$_unused_fields: function(_unused_fields) { - this._loopout$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + set$_filenames(_filenames) { + this._filenames = type$.nullable_ListBuilder_String._as(_filenames); } }; - G._Loopout_Object_SelectableMixin.prototype = {}; - G._Loopout_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; - Z.Modification_from_json_closure.prototype = { - call$1: function(b) { - var t1 = this.unused_fields; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); - b.get$_modification$_$this().set$_modification$_unused_fields(t1); - return t1; + A._ExampleDesigns_Object_BuiltJsonSerializable.prototype = {}; + A.strands_comparison_function_compare.prototype = { + call$2(strand1, strand2) { + var t2, helix_offset1, helix_offset2, helix_idx1, offset1, helix_idx2, offset2, tuple1, tuple2, t3, + t1 = type$.Strand; + t1._as(strand1); + t1._as(strand2); + t1 = this.strand_order; + t2 = this.column_major; + helix_offset1 = A.strand_helix_offset_key(strand1, t1, t2); + helix_offset2 = A.strand_helix_offset_key(strand2, t1, t2); + helix_idx1 = helix_offset1.item1; + offset1 = helix_offset1.item2; + helix_idx2 = helix_offset2.item1; + offset2 = helix_offset2.item2; + t1 = type$.Tuple2_int_int; + if (t2) { + tuple1 = new A.Tuple2(offset1, helix_idx1, t1); + tuple2 = new A.Tuple2(offset2, helix_idx2, t1); + } else { + tuple1 = new A.Tuple2(helix_idx1, offset1, t1); + tuple2 = new A.Tuple2(helix_idx2, offset2, t1); + } + t1 = tuple1.item1; + t2 = tuple2.item1; + t3 = J.getInterceptor$(t1); + if (!t3.$eq(t1, t2)) + return A._asIntS(t3.$sub(t1, t2)); + else + return A._asIntS(J.$sub$n(tuple1.item2, tuple2.item2)); }, - $signature: 381 + $signature: 366 }; - Z.Modification_from_json_closure0.prototype = { - call$1: function(b) { - var t1 = this.unused_fields; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); - b.get$_modification$_$this().set$_modification$_unused_fields(t1); - return t1; + A.ExportDNAFormat.prototype = { + extension$0() { + switch (this) { + case B.ExportDNAFormat_csv: + return "csv"; + case B.ExportDNAFormat_idt_bulk: + return "txt"; + case B.ExportDNAFormat_idt_plates96: + case B.ExportDNAFormat_idt_plates384: + return "xlsx"; + } + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); }, - $signature: 382 - }; - Z.Modification_from_json_closure1.prototype = { - call$1: function(b) { - var t1 = this.unused_fields; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); - b.get$_modification$_$this().set$_modification$_unused_fields(t1); + toString$0(_) { + var t1 = B.Map_bv0.$index(0, this); + t1.toString; return t1; }, - $signature: 383 - }; - Z.Modification5Prime.prototype = { - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); - ret.$indexSet(0, "location", "5'"); - return ret; + blob_type$0() { + switch (this) { + case B.ExportDNAFormat_csv: + return B.BlobType_0; + case B.ExportDNAFormat_idt_bulk: + return B.BlobType_0; + case B.ExportDNAFormat_idt_plates96: + case B.ExportDNAFormat_idt_plates384: + return B.BlobType_3; + } + throw A.wrapException(A.ExportDNAException$(string$.You_ha)); }, - $isModification: 1 + export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order(strands, column_major_plate, column_major_strand, delimiter, domain_delimiter, strand_order) { + var e, t1, exception, + _s133_ = string$.You_ha, + strands_sorted = J.toList$0$ax(type$.Iterable_Strand._as(strands)); + if (strand_order != null) + J.sort$1$ax(strands_sorted, A.strands_comparison_function(strand_order, column_major_strand)); + try { + switch (this) { + case B.ExportDNAFormat_csv: + t1 = A.csv_export(strands_sorted, domain_delimiter); + return t1; + case B.ExportDNAFormat_idt_bulk: + t1 = A.idt_bulk_export(strands_sorted, delimiter, domain_delimiter); + return t1; + case B.ExportDNAFormat_idt_plates96: + t1 = A.idt_plates_export(strands_sorted, B.PlateType_0, column_major_plate, domain_delimiter); + return t1; + case B.ExportDNAFormat_idt_plates384: + t1 = A.idt_plates_export(strands_sorted, B.PlateType_1, column_major_plate, domain_delimiter); + return t1; + } + } catch (exception) { + t1 = A.unwrapException(exception); + if (t1 instanceof A.ExportDNAException) { + e = t1; + throw A.wrapException(e); + } else if (type$.Error._is(t1)) + throw A.wrapException(A.ExportDNAException$(_s133_)); + else if (type$.Exception._is(t1)) + throw A.wrapException(A.ExportDNAException$(_s133_)); + else + throw exception; + } + throw A.wrapException(A.ExportDNAException$(_s133_)); + } }; - Z.Modification5Prime_Modification5Prime_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_modification$_$this()._display_text = _this.display_text; - b.get$_modification$_$this()._vendor_code = _this.vendor_code; - b.get$_modification$_$this()._connector_length = _this.connector_length; - b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); - return b; - }, - $signature: 384 + A.ExportDNAException.prototype = {$isException: 1, + get$cause() { + return this.cause; + } }; - Z.Modification3Prime.prototype = { - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); - ret.$indexSet(0, "location", "3'"); - return ret; + A.csv_export_closure.prototype = { + call$1(strand) { + var t1, t2; + type$.Strand._as(strand); + t1 = strand.vendor_export_name$0(); + t2 = strand.vendor_dna_sequence$1$domain_delimiter(this.domain_delimiter); + if (t2 == null) + t2 = "*****NONE*****"; + return A.S(t1) + "," + t2; }, - $isModification: 1 + $signature: 115 }; - Z.Modification3Prime_Modification3Prime_closure.prototype = { - call$1: function(b) { - var _this = this; - b.get$_modification$_$this()._display_text = _this.display_text; - b.get$_modification$_$this()._vendor_code = _this.vendor_code; - b.get$_modification$_$this()._connector_length = _this.connector_length; - b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); - return b; + A.idt_bulk_export_closure.prototype = { + call$1(strand) { + var t1, t2, t3, _this = this; + type$.Strand._as(strand); + t1 = strand.vendor_export_name$0(); + t2 = _this.delimiter; + t3 = strand.vendor_dna_sequence$1$domain_delimiter(_this.domain_delimiter); + if (t3 == null) + t3 = "*****NONE*****"; + return A.S(t1) + t2 + t3 + t2 + _this.scale + t2 + _this.purification; }, - $signature: 385 + $signature: 115 }; - Z.ModificationInternal.prototype = { - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var t1, - ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); - ret.$indexSet(0, "location", "internal"); - t1 = this.allowed_bases; - if (t1 != null) - ret.$indexSet(0, "allowed_bases", suppress_indent ? new K.NoIndent(t1._set.toList$1$growable(0, true)) : t1._set.toList$1$growable(0, true)); - return ret; - }, - $isModification: 1 + A.PlateType.prototype = { + _enumToString$0() { + return "PlateType." + this._core$_name; + } }; - Z.ModificationInternal_ModificationInternal_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$_modification$_$this()._display_text = _this.display_text; - b.get$_modification$_$this()._vendor_code = _this.vendor_code; - b.get$_modification$_$this()._connector_length = _this.connector_length; - t1 = _this.allowed_bases; - if (t1 == null) - t1 = null; - else { - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t1 = t2; - } - type$.legacy_SetBuilder_legacy_String._as(t1); - b.get$_modification$_$this().set$_allowed_bases(t1); - b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); - return b; + A._$ExportDNAFormatSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.ExportDNAFormat._as(object).name; }, - $signature: 386 - }; - Z._$Modification5PrimeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Modification5Prime._as(object); - return H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new Z.Modification5PrimeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "display_text": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._display_text = t2; - break; - case "vendor_code": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._vendor_code = t2; - break; - case "connector_length": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_modification$_$this()._connector_length = t2; - break; - case "unused_fields": - t2 = result.get$_modification$_$this(); - t3 = t2._modification$_unused_fields; - if (t3 == null) { - t3 = new A.MapBuilder(null, $, null, t1); - t3.replace$1(0, C.Map_empty); - t2.set$_modification$_unused_fields(t3); - t2 = t3; - } else - t2 = t3; - t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf5(A._asStringS(serialized)); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Qkz0; + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_ExportDNAFormat_QK8; }, - get$wireName: function() { - return "Modification5Prime"; + get$wireName() { + return "ExportDNAFormat"; + } + }; + A.StrandOrder.prototype = { + toString$0(_) { + var t1 = B.Map_yHyvP.$index(0, this); + t1.toString; + return t1; } }; - Z._$Modification3PrimeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Modification3Prime._as(object); - return H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); + A._$StrandOrderSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.StrandOrder._as(object).name; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new Z.Modification3PrimeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "display_text": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._display_text = t2; - break; - case "vendor_code": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._vendor_code = t2; - break; - case "connector_length": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_modification$_$this()._connector_length = t2; - break; - case "unused_fields": - t2 = result.get$_modification$_$this(); - t3 = t2._modification$_unused_fields; - if (t3 == null) { - t3 = new A.MapBuilder(null, $, null, t1); - t3.replace$1(0, C.Map_empty); - t2.set$_modification$_unused_fields(t3); - t2 = t3; - } else - t2 = t3; - t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); - break; - } - } - return result.build$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf10(A._asStringS(serialized)); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Qkz; + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_StrandOrder_Jrj; }, - get$wireName: function() { - return "Modification3Prime"; + get$wireName() { + return "StrandOrder"; } }; - Z._$ModificationInternalSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A.Extension.prototype = { + to_json_serializable$1$suppress_indent(suppress_indent) { + var t2, t3, _this = this, + json_map = A.LinkedHashMap_LinkedHashMap$_literal(["extension_num_bases", _this.num_bases], type$.String, type$.dynamic), + t1 = _this.display_length; + if (t1 !== 1.5) + json_map.$indexSet(0, "display_length", t1); + t1 = _this.display_angle; + if (t1 !== 35) + json_map.$indexSet(0, "display_angle", t1); + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new A.NoIndent(json_map) : json_map; + }, + set_dna_sequence$1(seq) { + return this.rebuild$1(new A.Extension_set_dna_sequence_closure(seq)); + }, + is_domain$0() { + return false; + }, + is_loopout$0() { + return false; + }, + get$select_mode() { + return B.SelectModeChoice_extension_; + }, + get$id(_) { + return "extension-" + (this.is_5p ? "5p" : "3p") + "-" + this.strand_id; + }, + dna_length$0() { + return this.num_bases; + }, + type_description$0() { + return "extension"; + }, + get$dnaend_free() { + var _this = this, + t1 = _this.is_5p; + return A.DNAEnd_DNAEnd(_this.adjacent_domain.forward, t1, true, _this.is_scaffold, true, null, _this.get$id(_this), t1, !t1); + }, + $isSelectable: 1, + $isSubstrand: 1 + }; + A.Extension_Extension_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$_extension$_$this()._num_bases = _this.num_bases; + b.get$_extension$_$this()._display_length = _this.display_length; + b.get$_extension$_$this()._display_angle = _this.display_angle; + b.get$_extension$_$this()._is_5p = _this.is_5p; + b.get$_extension$_$this()._extension$_name = _this.name; + b.get$_extension$_$this()._extension$_label = _this.label; + b.get$_extension$_$this()._dna_sequence = _this.dna_sequence; + b.get$_extension$_$this()._extension$_color = _this.color; + b.get$_extension$_$this()._extension$_is_scaffold = _this.is_scaffold; + t1 = b.get$adjacent_domain(); + t2 = _this.adjacent_domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + t2 = b.get$unused_fields(); + t1 = _this._box_0.unused_fields; + t1.toString; + t2.replace$1(0, t1); + b.get$_extension$_$this()._strand_id = _this.strand_id; + return b; + }, + $signature: 368 + }; + A.Extension_set_dna_sequence_closure.prototype = { + call$1(ext) { + ext.get$_extension$_$this()._dna_sequence = this.seq; + return ext; + }, + $signature: 16 + }; + A._$ExtensionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_ModificationInternal._as(object); - result = H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); - value = object.allowed_bases; + type$.Extension._as(object); + result = ["num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_kjq), "display_length", serializers.serialize$2$specifiedType(object.display_length, B.FullType_MME), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, B.FullType_MME), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_MtR), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_h8g), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR), "adjacent_domain", serializers.serialize$2$specifiedType(object.adjacent_domain, B.FullType_fnc)]; + value = object.label; + if (value != null) { + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.name; + if (value != null) { + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.dna_sequence; if (value != null) { - C.JSArray_methods.add$1(result, "allowed_bases"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Mnt)); + result.push("dna_sequence"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.color; + if (value != null) { + result.push("color"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, key, value, t4, t5, _null = null, - result = new Z.ModificationInternalBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object, t2 = type$.legacy_BuiltSet_legacy_Object, t3 = type$.SetBuilder_legacy_String; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ExtensionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain, t2 = type$.nullable_Color; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "display_text": - t4 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._display_text = t4; + switch (t3) { + case "num_bases": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_extension$_$this()._num_bases = t3; break; - case "vendor_code": - t4 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_modification$_$this()._vendor_code = t4; + case "display_length": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3.toString; + A._asDoubleS(t3); + result.get$_extension$_$this()._display_length = t3; break; - case "connector_length": - t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_modification$_$this()._connector_length = t4; + case "display_angle": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3.toString; + A._asDoubleS(t3); + result.get$_extension$_$this()._display_angle = t3; break; - case "allowed_bases": - t4 = result.get$_modification$_$this(); - t5 = t4._allowed_bases; - if (t5 == null) { - t5 = new X.SetBuilder(_null, $, _null, t3); - t5.replace$1(0, C.List_empty); - t4.set$_allowed_bases(t5); - t4 = t5; - } else - t4 = t5; - t4.replace$1(0, t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Mnt))); + case "is_5p": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_extension$_$this()._is_5p = t3; break; - case "unused_fields": - t4 = result.get$_modification$_$this(); - t5 = t4._modification$_unused_fields; - if (t5 == null) { - t5 = new A.MapBuilder(_null, $, _null, t1); - t5.replace$1(0, C.Map_empty); - t4.set$_modification$_unused_fields(t5); - t4 = t5; - } else - t4 = t5; - t4.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); + case "label": + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_extension$_$this()._extension$_label = t3; + break; + case "name": + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_extension$_$this()._extension$_name = t3; + break; + case "dna_sequence": + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_extension$_$this()._dna_sequence = t3; + break; + case "color": + t3 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + result.get$_extension$_$this()._extension$_color = t3; + break; + case "strand_id": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_extension$_$this()._strand_id = t3; + break; + case "is_scaffold": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_extension$_$this()._extension$_is_scaffold = t3; + break; + case "adjacent_domain": + t3 = result.get$_extension$_$this(); + t4 = t3._adjacent_domain; + t3 = t4 == null ? t3._adjacent_domain = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t1._as(t4); + t3._domain$_$v = t4; break; } } - return result.build$0(); + return result._extension$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_neG; + get$types() { + return B.List_eAf; }, - get$wireName: function() { - return "ModificationInternal"; + get$wireName() { + return "Extension"; } }; - Z._$Modification5Prime.prototype = { - $eq: function(_, other) { + A._$Extension.prototype = { + get$select_mode() { + var t1 = this._extension$__select_mode; + return t1 == null ? this._extension$__select_mode = A.Extension.prototype.get$select_mode.call(this) : t1; + }, + get$id(_) { + var _this = this, + t1 = _this._extension$__id; + return t1 == null ? _this._extension$__id = A.Extension.prototype.get$id.call(_this, _this) : t1; + }, + get$dnaend_free() { + var t1 = this.__dnaend_free; + return t1 == null ? this.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(this) : t1; + }, + rebuild$1(updates) { + var t1; + type$.void_Function_ExtensionBuilder._as(updates); + t1 = new A.ExtensionBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Extension); + t1._extension$_$v = this; + type$.nullable_void_Function_ExtensionBuilder._as(updates).call$1(t1); + return t1._extension$_build$0(); + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof Z.Modification5Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.Extension && _this.num_bases === other.num_bases && _this.display_length === other.display_length && _this.display_angle === other.display_angle && _this.is_5p === other.is_5p && _this.label == other.label && _this.name == other.name && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id === other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.adjacent_domain, other.adjacent_domain) && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._modification$__hashCode; - return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._extension$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.num_bases)), B.JSNumber_methods.get$hashCode(_this.display_length)), B.JSNumber_methods.get$hashCode(_this.display_angle)), B.JSBool_methods.get$hashCode(_this.is_5p)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), B.JSString_methods.get$hashCode(_this.strand_id)), B.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.adjacent_domain)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._extension$__hashCode; + if (t1 == null) { + _this._extension$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification5Prime"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("Extension"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "display_text", _this.display_text); - t2.add$2(t1, "vendor_code", _this.vendor_code); - t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "num_bases", _this.num_bases); + t2.add$2(t1, "display_length", _this.display_length); + t2.add$2(t1, "display_angle", _this.display_angle); + t2.add$2(t1, "is_5p", _this.is_5p); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "adjacent_domain", _this.adjacent_domain); t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$display_text: function() { - return this.display_text; + get$label(receiver) { + return this.label; }, - get$vendor_code: function() { - return this.vendor_code; + get$dna_sequence() { + return this.dna_sequence; }, - get$connector_length: function() { - return this.connector_length; + get$color(receiver) { + return this.color; }, - get$unused_fields: function() { - return this.unused_fields; + get$strand_id() { + return this.strand_id; + }, + get$is_scaffold() { + return this.is_scaffold; } }; - Z.Modification5PrimeBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_modification$_$this(), - t2 = t1._modification$_unused_fields; + A.ExtensionBuilder.prototype = { + get$adjacent_domain() { + var t1 = this.get$_extension$_$this(), + t2 = t1._adjacent_domain; + return t2 == null ? t1._adjacent_domain = new A.DomainBuilder() : t2; + }, + get$unused_fields() { + var t1 = this.get$_extension$_$this(), + t2 = t1._extension$_unused_fields; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_modification$_unused_fields(t2); + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_extension$_unused_fields(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_modification$_$this: function() { + get$_extension$_$this() { var t1, t2, _this = this, - $$v = _this._modification$_$v; + $$v = _this._extension$_$v; if ($$v != null) { - _this._display_text = $$v.display_text; - _this._vendor_code = $$v.vendor_code; - _this._connector_length = $$v.connector_length; - t1 = $$v.unused_fields; + _this._num_bases = $$v.num_bases; + _this._display_length = $$v.display_length; + _this._display_angle = $$v.display_angle; + _this._is_5p = $$v.is_5p; + _this._extension$_label = $$v.label; + _this._extension$_name = $$v.name; + _this._dna_sequence = $$v.dna_sequence; + _this._extension$_color = $$v.color; + _this._strand_id = $$v.strand_id; + _this._extension$_is_scaffold = $$v.is_scaffold; + t1 = $$v.adjacent_domain; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._modification$_$v = null; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._adjacent_domain = t2; + t2 = $$v.unused_fields; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_extension$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._extension$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s18_ = "Modification5Prime", + _extension$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _this = this, + _s9_ = "Extension", + _s9_0 = "num_bases", + _s14_ = "display_length", + _s13_ = "display_angle", + _s9_1 = "strand_id", + _s11_ = "is_scaffold", + _s15_ = "adjacent_domain", + _s13_0 = "unused_fields", _$result = null; try { - _$result0 = _this._modification$_$v; + _$result0 = _this._extension$_$v; if (_$result0 == null) { - t1 = _this.get$_modification$_$this()._display_text; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "display_text")); - t2 = _this.get$_modification$_$this()._vendor_code; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "vendor_code")); - t3 = _this.get$_modification$_$this()._connector_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "connector_length")); - t4 = _this.get$unused_fields().build$0(); - _$result0 = new Z._$Modification5Prime(t1, t2, t3, t4); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "unused_fields")); + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._num_bases, _s9_, _s9_0, t1); + t3 = type$.double; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._display_length, _s9_, _s14_, t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._display_angle, _s9_, _s13_, t3); + t6 = type$.bool; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._is_5p, _s9_, "is_5p", t6); + t8 = _this.get$_extension$_$this()._extension$_label; + t9 = _this.get$_extension$_$this()._extension$_name; + t10 = _this.get$_extension$_$this()._dna_sequence; + t11 = _this.get$_extension$_$this()._extension$_color; + t12 = type$.String; + t13 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._strand_id, _s9_, _s9_1, t12); + t14 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_extension$_$this()._extension$_is_scaffold, _s9_, _s11_, t6); + t15 = _this.get$adjacent_domain()._domain$_build$0(); + t16 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Extension(t2, t4, t5, t7, t8, t9, t10, t11, t13, t14, t15, t16); + A.BuiltValueNullFieldError_checkNotNull(t2, _s9_, _s9_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s9_, _s14_, t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s9_, _s13_, t3); + A.BuiltValueNullFieldError_checkNotNull(t7, _s9_, "is_5p", t6); + A.BuiltValueNullFieldError_checkNotNull(t13, _s9_, _s9_1, t12); + A.BuiltValueNullFieldError_checkNotNull(t14, _s9_, _s11_, t6); + A.BuiltValueNullFieldError_checkNotNull(t15, _s9_, _s15_, type$.Domain); + A.BuiltValueNullFieldError_checkNotNull(t16, _s9_, _s13_0, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "unused_fields"; + _$failedField._value = _s15_; + _this.get$adjacent_domain()._domain$_build$0(); + _$failedField._value = _s13_0; _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s9_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Modification5Prime._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._modification$_$v = t1; + t1 = type$.Extension; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._extension$_$v = t2; return _$result; }, - set$_modification$_unused_fields: function(_unused_fields) { - this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + set$_extension$_unused_fields(_unused_fields) { + this._extension$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - Z._$Modification3Prime.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof Z.Modification3Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); + A._Extension_Object_SelectableMixin.prototype = {}; + A._Extension_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.Geometry.prototype = { + get$distance_between_helices_nm() { + return 2 * this.helix_radius + this.inter_helix_gap; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._modification$__hashCode; - return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))) : t1; + get$distance_between_helices_svg() { + return this.get$distance_between_helices_nm() * this.get$nm_to_svg_pixels(); + }, + get$helix_diameter_nm() { + return 2 * this.helix_radius; }, - toString$0: function(_) { + get$helix_radius_svg() { + return this.helix_radius * this.get$nm_to_svg_pixels(); + }, + get$helix_diameter_svg() { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification3Prime"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "display_text", _this.display_text); - t2.add$2(t1, "vendor_code", _this.vendor_code); - t2.add$2(t1, "connector_length", _this.connector_length); - t2.add$2(t1, "unused_fields", _this.unused_fields); - return t2.toString$0(t1); + t1 = _this.__helix_diameter_nm; + if (t1 == null) + t1 = _this.__helix_diameter_nm = A.Geometry.prototype.get$helix_diameter_nm.call(_this); + return t1 * _this.get$nm_to_svg_pixels(); }, - get$display_text: function() { - return this.display_text; + get$base_width_svg() { + return this.rise_per_base_pair * 30.12; }, - get$vendor_code: function() { - return this.vendor_code; + get$base_height_svg() { + return this.rise_per_base_pair * 30.12; }, - get$connector_length: function() { - return this.connector_length; + get$nm_to_svg_pixels() { + return this.get$base_width_svg() / this.rise_per_base_pair; }, - get$unused_fields: function() { - return this.unused_fields; + get$svg_pixels_to_nm() { + return 1 / this.get$nm_to_svg_pixels(); } }; - Z.Modification3PrimeBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_modification$_$this(), - t2 = t1._modification$_unused_fields; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_modification$_unused_fields(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A.Geometry_Geometry_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_geometry$_$this()._rise_per_base_pair = _this.rise_per_base_pair; + b.get$_geometry$_$this()._helix_radius = _this.helix_radius; + b.get$_geometry$_$this()._inter_helix_gap = _this.inter_helix_gap; + b.get$_geometry$_$this()._bases_per_turn = _this.bases_per_turn; + b.get$_geometry$_$this()._minor_groove_angle = _this.minor_groove_angle; + return b; }, - get$_modification$_$this: function() { - var t1, t2, _this = this, - $$v = _this._modification$_$v; - if ($$v != null) { - _this._display_text = $$v.display_text; - _this._vendor_code = $$v.vendor_code; - _this._connector_length = $$v.connector_length; - t1 = $$v.unused_fields; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._modification$_$v = null; - } - return _this; + $signature: 369 + }; + A.Geometry_from_json_closure.prototype = { + call$1(angle_radians) { + A._asDoubleS(angle_radians); + if (typeof angle_radians !== "number") + return angle_radians.$mul(); + return angle_radians * 360 / 6.283185307179586; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s18_ = "Modification3Prime", - _$result = null; - try { - _$result0 = _this._modification$_$v; - if (_$result0 == null) { - t1 = _this.get$_modification$_$this()._display_text; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "display_text")); - t2 = _this.get$_modification$_$this()._vendor_code; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "vendor_code")); - t3 = _this.get$_modification$_$this()._connector_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "connector_length")); - t4 = _this.get$unused_fields().build$0(); - _$result0 = new Z._$Modification3Prime(t1, t2, t3, t4); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "unused_fields")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + $signature: 370 + }; + A.Geometry_from_json_closure0.prototype = { + call$1(b) { + var t1 = type$.nullable_MapBuilder_String_dynamic._as(this.unused_fields); + b.get$_geometry$_$this().set$_geometry$_unused_fields(t1); + return b; + }, + $signature: 371 + }; + A._$GeometrySerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Geometry._as(object); + return ["rise_per_base_pair", serializers.serialize$2$specifiedType(object.rise_per_base_pair, B.FullType_MME), "helix_radius", serializers.serialize$2$specifiedType(object.helix_radius, B.FullType_MME), "inter_helix_gap", serializers.serialize$2$specifiedType(object.inter_helix_gap, B.FullType_MME), "bases_per_turn", serializers.serialize$2$specifiedType(object.bases_per_turn, B.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, B.FullType_MME)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.GeometryBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "rise_per_base_pair": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_geometry$_$this()._rise_per_base_pair = t1; + break; + case "helix_radius": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_geometry$_$this()._helix_radius = t1; + break; + case "inter_helix_gap": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_geometry$_$this()._inter_helix_gap = t1; + break; + case "bases_per_turn": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_geometry$_$this()._bases_per_turn = t1; + break; + case "minor_groove_angle": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_geometry$_$this()._minor_groove_angle = t1; + break; } - throw exception; } - t1 = type$.legacy_Modification3Prime._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._modification$_$v = t1; - return _$result; + return result._geometry$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_JYK; }, - set$_modification$_unused_fields: function(_unused_fields) { - this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + get$wireName() { + return "Geometry"; } }; - Z._$ModificationInternal.prototype = { - $eq: function(_, other) { + A._$Geometry.prototype = { + get$distance_between_helices_nm() { + var t1 = this.__distance_between_helices_nm; + return t1 == null ? this.__distance_between_helices_nm = A.Geometry.prototype.get$distance_between_helices_nm.call(this) : t1; + }, + get$distance_between_helices_svg() { + var t1 = this.__distance_between_helices_svg; + return t1 == null ? this.__distance_between_helices_svg = A.Geometry.prototype.get$distance_between_helices_svg.call(this) : t1; + }, + get$helix_radius_svg() { + var t1 = this.__helix_radius_svg; + return t1 == null ? this.__helix_radius_svg = A.Geometry.prototype.get$helix_radius_svg.call(this) : t1; + }, + get$base_width_svg() { + var t1 = this.__base_width_svg; + return t1 == null ? this.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(this) : t1; + }, + get$base_height_svg() { + var t1 = this.__base_height_svg; + return t1 == null ? this.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(this) : t1; + }, + get$nm_to_svg_pixels() { + var t1 = this.__nm_to_svg_pixels; + return t1 == null ? this.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(this) : t1; + }, + get$svg_pixels_to_nm() { + var t1 = this.__svg_pixels_to_nm; + return t1 == null ? this.__svg_pixels_to_nm = A.Geometry.prototype.get$svg_pixels_to_nm.call(this) : t1; + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof Z.ModificationInternal && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.allowed_bases, other.allowed_bases) && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.Geometry && _this.rise_per_base_pair === other.rise_per_base_pair && _this.helix_radius === other.helix_radius && _this.inter_helix_gap === other.inter_helix_gap && _this.bases_per_turn === other.bases_per_turn && _this.minor_groove_angle === other.minor_groove_angle && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._modification$__hashCode; - return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.allowed_bases)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._geometry$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.rise_per_base_pair)), B.JSNumber_methods.get$hashCode(_this.helix_radius)), B.JSNumber_methods.get$hashCode(_this.inter_helix_gap)), B.JSNumber_methods.get$hashCode(_this.bases_per_turn)), B.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._geometry$__hashCode; + if (t1 == null) { + _this._geometry$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationInternal"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("Geometry"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "display_text", _this.display_text); - t2.add$2(t1, "vendor_code", _this.vendor_code); - t2.add$2(t1, "connector_length", _this.connector_length); - t2.add$2(t1, "allowed_bases", _this.allowed_bases); + t2.add$2(t1, "rise_per_base_pair", _this.rise_per_base_pair); + t2.add$2(t1, "helix_radius", _this.helix_radius); + t2.add$2(t1, "inter_helix_gap", _this.inter_helix_gap); + t2.add$2(t1, "bases_per_turn", _this.bases_per_turn); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); - }, - get$display_text: function() { - return this.display_text; - }, - get$vendor_code: function() { - return this.vendor_code; - }, - get$connector_length: function() { - return this.connector_length; - }, - get$unused_fields: function() { - return this.unused_fields; } }; - Z.ModificationInternalBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_modification$_$this(), - t2 = t1._modification$_unused_fields; + A.GeometryBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_geometry$_$this(), + t2 = t1._geometry$_unused_fields; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_modification$_unused_fields(t2); + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_geometry$_unused_fields(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_modification$_$this: function() { + get$_geometry$_$this() { var t1, t2, _this = this, - $$v = _this._modification$_$v; + $$v = _this._geometry$_$v; if ($$v != null) { - _this._display_text = $$v.display_text; - _this._vendor_code = $$v.vendor_code; - _this._connector_length = $$v.connector_length; - t1 = $$v.allowed_bases; - if (t1 == null) - t1 = null; - else { - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t1 = t2; - } - _this.set$_allowed_bases(t1); + _this._rise_per_base_pair = $$v.rise_per_base_pair; + _this._helix_radius = $$v.helix_radius; + _this._inter_helix_gap = $$v.inter_helix_gap; + _this._bases_per_turn = $$v.bases_per_turn; + _this._minor_groove_angle = $$v.minor_groove_angle; t1 = $$v.unused_fields; t1.toString; t2 = t1.$ti; t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._modification$_$v = null; + _this.set$_geometry$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._geometry$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s20_ = "ModificationInternal", + _geometry$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, + _s8_ = "Geometry", + _s18_ = "rise_per_base_pair", + _s12_ = "helix_radius", + _s15_ = "inter_helix_gap", + _s14_ = "bases_per_turn", + _s18_0 = "minor_groove_angle", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._modification$_$v; + _$result0 = _this._geometry$_$v; if (_$result0 == null) { - t1 = _this.get$_modification$_$this()._display_text; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "display_text")); - t2 = _this.get$_modification$_$this()._vendor_code; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "vendor_code")); - t3 = _this.get$_modification$_$this()._connector_length; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "connector_length")); - t4 = _this._allowed_bases; - t4 = t4 == null ? null : t4.build$0(); - t5 = _this.get$unused_fields().build$0(); - _$result0 = new Z._$ModificationInternal(t1, t2, t3, t4, t5); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "unused_fields")); + t1 = type$.double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_geometry$_$this()._rise_per_base_pair, _s8_, _s18_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_geometry$_$this()._helix_radius, _s8_, _s12_, t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_geometry$_$this()._inter_helix_gap, _s8_, _s15_, t1); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_geometry$_$this()._bases_per_turn, _s8_, _s14_, t1); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_geometry$_$this()._minor_groove_angle, _s8_, _s18_0, t1); + t7 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Geometry(t2, t3, t4, t5, t6, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s8_, _s18_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s8_, _s12_, t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s8_, _s15_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s8_, _s14_, t1); + A.BuiltValueNullFieldError_checkNotNull(t6, _s8_, _s18_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t7, _s8_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "allowed_bases"; - t1 = _this._allowed_bases; - if (t1 != null) - t1.build$0(); - _$failedField = "unused_fields"; + _$failedField._value = _s13_; _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s20_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s8_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_ModificationInternal._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._modification$_$v = t1; + t1 = type$.Geometry; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._geometry$_$v = t2; return _$result; }, - set$_allowed_bases: function(_allowed_bases) { - this._allowed_bases = type$.legacy_SetBuilder_legacy_String._as(_allowed_bases); - }, - set$_modification$_unused_fields: function(_unused_fields) { - this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + set$_geometry$_unused_fields(_unused_fields) { + this._geometry$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - Z._Modification3Prime_Object_BuiltJsonSerializable.prototype = {}; - Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - Z._Modification5Prime_Object_BuiltJsonSerializable.prototype = {}; - Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - Z._ModificationInternal_Object_BuiltJsonSerializable.prototype = {}; - Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - Y.ModificationType.prototype = { - get$key: function(_) { + A._Geometry_Object_BuiltJsonSerializable.prototype = {}; + A._Geometry_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.Grid.prototype = { + get$default_major_tick_distance() { var _this = this; - if (_this === C.ModificationType_five_prime) - return "modifications_5p_in_design"; - else if (_this === C.ModificationType_three_prime) - return "modifications_3p_in_design"; - else if (_this === C.ModificationType_internal) - return "modifications_int_in_design"; + if (_this === B.Grid_hex || _this === B.Grid_honeycomb) + return 7; + else if (_this === B.Grid_square) + return 8; + else if (_this === B.Grid_none) + return 8; else - throw H.wrapException(N.IllegalDesignError$('unknown ModificationType "' + _this.toString$0(0) + '"')); + throw A.wrapException(A.AssertionError$("unreachable")); } }; - Y._$ModificationTypeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_ModificationType._as(object).name; + A._$GridSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.Grid._as(object).name; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return Y._$valueOf7(H._asStringS(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf(A._asStringS(serialized)); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_ModificationType_EWG; + get$types() { + return B.List_Type_Grid_zSh; }, - get$wireName: function() { - return "ModificationType"; + get$wireName() { + return "Grid"; } }; - K.MouseoverParams.prototype = {}; - K.MouseoverParams_MouseoverParams_closure.prototype = { - call$1: function(b) { - b.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = this.helix_idx; - b.get$_mouseover_data$_$this()._mouseover_data$_offset = this.offset; - b.get$_mouseover_data$_$this()._mouseover_data$_forward = this.forward; - return b; + A.GridPosition.prototype = { + toString$0(_) { + return "(" + this.h + "," + this.v + ")"; + } + }; + A.GridPosition_GridPosition_closure.prototype = { + call$1(g) { + g.get$_grid_position$_$this()._h = this.h; + g.get$_grid_position$_$this()._v = this.v; + return g; }, - $signature: 387 + $signature: 372 }; - K.MouseoverData.prototype = {}; - K.MouseoverData_MouseoverData_closure.prototype = { - call$1: function(b) { - var t2, _this = this, - t1 = b.get$helix(); - t1._helix$_$v = _this.helix; - t1 = _this.domain; - if (t1 == null) - t1 = null; - else { - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - t1 = t2; - } - b.get$_mouseover_data$_$this()._domain = t1; - b.get$_mouseover_data$_$this()._mouseover_data$_offset = _this.offset; - b.get$_mouseover_data$_$this()._strand_idx = _this.strand_idx; - b.get$_mouseover_data$_$this()._color_forward = _this.color_forward; - b.get$_mouseover_data$_$this()._color_reverse = _this.color_reverse; - b.get$_mouseover_data$_$this()._roll_forward = _this.roll_forward; - b.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = _this.minor_groove_angle; - return b; - }, - $signature: 119 - }; - K._$MouseoverParamsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_MouseoverParams._as(object); - return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$GridPositionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.GridPosition._as(object); + return ["h", serializers.serialize$2$specifiedType(object.h, B.FullType_kjq), "v", serializers.serialize$2$specifiedType(object.v, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new K.MouseoverParamsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, $$v, + result = new A.GridPositionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = t1; - break; - case "offset": - t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_mouseover_data$_$this()._mouseover_data$_offset = t1; + switch (t1) { + case "h": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._grid_position$_$v; + if ($$v != null) { + result._h = $$v.h; + result._v = $$v.v; + result._grid_position$_$v = null; + } + result._h = t1; break; - case "forward": - t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_mouseover_data$_$this()._mouseover_data$_forward = t1; + case "v": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + $$v = result._grid_position$_$v; + if ($$v != null) { + result._h = $$v.h; + result._v = $$v.v; + result._grid_position$_$v = null; + } + result._v = t1; break; } } - return result.build$0(); + return result._grid_position$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_jlU; + get$types() { + return B.List_ibp; }, - get$wireName: function() { - return "MouseoverParams"; + get$wireName() { + return "GridPosition"; } }; - K._$MouseoverDataSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_MouseoverData._as(object); - result = H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, C.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, C.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME), "strand_idx", serializers.serialize$2$specifiedType(object.strand_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); - value = object.domain; - if (value != null) { - C.JSArray_methods.add$1(result, "domain"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_fnc)); + A._$GridPosition.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.GridPosition && this.h === other.h && this.v === other.v; + }, + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._grid_position$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.h)), B.JSInt_methods.get$hashCode(_this.v))); + t1 = _this._grid_position$__hashCode; + if (t1 == null) { + _this._grid_position$__hashCode = _$hash; + t1 = _$hash; } - return result; + return t1; + } + }; + A.GridPositionBuilder.prototype = { + get$_grid_position$_$this() { + var _this = this, + $$v = _this._grid_position$_$v; + if ($$v != null) { + _this._h = $$v.h; + _this._v = $$v.v; + _this._grid_position$_$v = null; + } + return _this; + }, + _grid_position$_build$0() { + var t1, t2, t3, _this = this, + _s12_ = "GridPosition", + _$result = _this._grid_position$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_grid_position$_$this()._h, _s12_, "h", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_grid_position$_$this()._v, _s12_, "v", t1); + _$result = new A._$GridPosition(t2, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s12_, "h", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, "v", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.GridPosition); + return _this._grid_position$_$v = _$result; + } + }; + A._GridPosition_Object_BuiltJsonSerializable.prototype = {}; + A.HelixGroup.prototype = { + get$helices_view_order_inverse() { + var t1 = type$.int; + return A.BuiltMap_BuiltMap$of(A.invert_helices_view_order(this.helices_view_order), t1, t1); + }, + transform_str$1(geometry) { + var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); + return "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(this.pitch) + ")"; + }, + translation$1(geometry) { + var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); + return new A.Point(translate_svg.z, translate_svg.y, type$.Point_double); + }, + transform_point_main_view$3$inverse(point, geometry, inverse) { + var t2, translation, + t1 = type$.Point_double; + t1._as(point); + t2 = this.position; + translation = new A.Point(t2.z, t2.y, t1).$mul(0, geometry.get$nm_to_svg_pixels()); + t1 = this.pitch; + if (!inverse) + return A.rotate(point, t1, B.Point_0_0).$add(0, translation); + else + return A.rotate(point.$sub(0, translation), -t1, B.Point_0_0); + }, + transform_point_main_view$2(point, geometry) { + return this.transform_point_main_view$3$inverse(point, geometry, false); + } + }; + A.HelixGroup_HelixGroup_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$_group$_$this()._group$_grid = _this.grid; + b.get$helices_view_order().replace$1(0, _this.helices_view_order); + t1 = b.get$position(b); + t2 = _this._box_0.position; + t2.toString; + A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); + t1._position3d$_$v = t2; + b.get$_group$_$this()._pitch = _this.pitch; + b.get$_group$_$this()._yaw = _this.yaw; + b.get$_group$_$this()._group$_roll = _this.roll; + return b; + }, + $signature: 373 + }; + A._$HelixGroupSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixGroup._as(object); + return ["grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_yXb), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, B.FullType_4QF0), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_cgM), "pitch", serializers.serialize$2$specifiedType(object.pitch, B.FullType_MME), "yaw", serializers.serialize$2$specifiedType(object.yaw, B.FullType_MME), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, key, value, t4, t5, - result = new K.MouseoverDataBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain, t2 = type$.legacy_Color, t3 = type$.legacy_Helix; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, value, t8, t9, t10, t11; + type$.Iterable_nullable_Object._as(serialized); + result = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.Position3D, t2 = type$.BuiltList_nullable_Object, t3 = type$.int, t4 = type$.List_int, t5 = type$.ListBuilder_int, t6 = type$.Grid; iterator.moveNext$0();) { + t7 = iterator.get$current(iterator); + t7.toString; + A._asStringS(t7); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix": - t4 = result.get$_mouseover_data$_$this(); - t5 = t4._mouseover_data$_helix; - if (t5 == null) { - t5 = new O.HelixBuilder(); - t5.get$_helix$_$this()._group = "default_group"; - t5.get$_helix$_$this()._min_offset = 0; - t5.get$_helix$_$this()._roll = 0; - t4._mouseover_data$_helix = t5; - t4 = t5; - } else - t4 = t5; - t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t4._helix$_$v = t5; - break; - case "offset": - t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_mouseover_data$_$this()._mouseover_data$_offset = t4; - break; - case "color_forward": - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_mouseover_data$_$this()._color_forward = t4; + switch (t7) { + case "grid": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t7.toString; + t6._as(t7); + result.get$_group$_$this()._group$_grid = t7; break; - case "color_reverse": - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_mouseover_data$_$this()._color_reverse = t4; + case "helices_view_order": + t7 = result.get$_group$_$this(); + t8 = t7._group$_helices_view_order; + if (t8 == null) { + t8 = new A.ListBuilder(t5); + t8.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t8.set$_listOwner(null); + t7.set$_group$_helices_view_order(t8); + t7 = t8; + } else + t7 = t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t8.toString; + t2._as(t8); + t9 = t7.$ti; + t10 = t9._eval$1("_BuiltList<1>"); + t11 = t9._eval$1("List<1>"); + if (t10._is(t8)) { + t10._as(t8); + t7.set$__ListBuilder__list_A(t11._as(t8._list)); + t7.set$_listOwner(t8); + } else { + t7.set$__ListBuilder__list_A(t11._as(A.List_List$from(t8, true, t9._precomputed1))); + t7.set$_listOwner(null); + } break; - case "roll_forward": - t4 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_mouseover_data$_$this()._roll_forward = t4; + case "position": + t7 = result.get$_group$_$this(); + t8 = t7._group$_position; + t7 = t8 == null ? t7._group$_position = new A.Position3DBuilder() : t8; + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t8.toString; + t1._as(t8); + t7._position3d$_$v = t8; break; - case "minor_groove_angle": - t4 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); - result.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = t4; + case "pitch": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t7.toString; + A._asDoubleS(t7); + result.get$_group$_$this()._pitch = t7; break; - case "strand_idx": - t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_mouseover_data$_$this()._strand_idx = t4; + case "yaw": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t7.toString; + A._asDoubleS(t7); + result.get$_group$_$this()._yaw = t7; break; - case "domain": - t4 = result.get$_mouseover_data$_$this(); - t5 = t4._domain; - t4 = t5 == null ? t4._domain = new G.DomainBuilder() : t5; - t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t4._domain$_$v = t5; + case "roll": + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t7.toString; + A._asDoubleS(t7); + result.get$_group$_$this()._group$_roll = t7; break; } } - return result.build$0(); + return result._group$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Qw7; - }, - get$wireName: function() { - return "MouseoverData"; - } - }; - K._$MouseoverParams.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof K.MouseoverParams && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._mouseover_data$__hashCode; - return t1 == null ? _this._mouseover_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.offset)), C.JSBool_methods.get$hashCode(_this.forward))) : t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverParams"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx", this.helix_idx); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "forward", this.forward); - return t2.toString$0(t1); + get$types() { + return B.List_n7k; }, - get$offset: function(receiver) { - return this.offset; + get$wireName() { + return "HelixGroup"; } }; - K.MouseoverParamsBuilder.prototype = { - get$offset: function(_) { - return this.get$_mouseover_data$_$this()._mouseover_data$_offset; - }, - get$_mouseover_data$_$this: function() { - var _this = this, - $$v = _this._mouseover_data$_$v; - if ($$v != null) { - _this._mouseover_data$_helix_idx = $$v.helix_idx; - _this._mouseover_data$_offset = $$v.offset; - _this._mouseover_data$_forward = $$v.forward; - _this._mouseover_data$_$v = null; + A._$HelixGroup.prototype = { + get$helices_view_order_inverse() { + var t1 = this.__helices_view_order_inverse; + if (t1 == null) { + t1 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(this); + this.set$__helices_view_order_inverse(t1); } - return _this; + return t1; }, - build$0: function() { - var t1, t2, t3, _this = this, - _s15_ = "MouseoverParams", - _$result = _this._mouseover_data$_$v; - if (_$result == null) { - t1 = _this.get$_mouseover_data$_$this()._mouseover_data$_helix_idx; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "helix_idx")); - t2 = _this.get$_mouseover_data$_$this()._mouseover_data$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "offset")); - t3 = _this.get$_mouseover_data$_$this()._mouseover_data$_forward; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "forward")); - _$result = new K._$MouseoverParams(t1, t2, t3); - } - return _this._mouseover_data$_$v = _$result; - } - }; - K._$MouseoverData.prototype = { - $eq: function(_, other) { - var t1, t2, _this = this; + rebuild$1(updates) { + var t1; + type$.void_Function_HelixGroupBuilder._as(updates); + t1 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t1); + A.ArgumentError_checkNotNull(this, "other", type$.HelixGroup); + t1._group$_$v = this; + type$.nullable_void_Function_HelixGroupBuilder._as(updates).call$1(t1); + return t1._group$_build$0(); + }, + $eq(_, other) { + var _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof K.MouseoverData) - if (J.$eq$(_this.helix, other.helix)) - if (_this.offset === other.offset) { - t1 = _this.color_forward; - t2 = other.color_forward; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - if (t1 === t2) { - t1 = _this.color_reverse; - t2 = other.color_reverse; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle && _this.strand_idx === other.strand_idx && J.$eq$(_this.domain, other.domain); - } else - t1 = false; - } else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + return other instanceof A.HelixGroup && _this.grid === other.grid && J.$eq$(_this.helices_view_order, other.helices_view_order) && _this.position.$eq(0, other.position) && _this.pitch === other.pitch && _this.yaw === other.yaw && _this.roll === other.roll; }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._mouseover_data$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._group$__hashCode; + if (t1 != null) + return t1; + t1 = _this.position; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, A.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.helices_view_order)), t1.get$hashCode(t1)), B.JSNumber_methods.get$hashCode(_this.pitch)), B.JSNumber_methods.get$hashCode(_this.yaw)), B.JSNumber_methods.get$hashCode(_this.roll))); + t1 = _this._group$__hashCode; if (t1 == null) { - t1 = _this.color_forward; - t2 = _this.color_reverse; - t2 = _this._mouseover_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSNumber_methods.get$hashCode(_this.roll_forward)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), C.JSInt_methods.get$hashCode(_this.strand_idx)), J.get$hashCode$(_this.domain))); - t1 = t2; + _this._group$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverData"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroup"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "offset", _this.offset); - t2.add$2(t1, "color_forward", _this.color_forward); - t2.add$2(t1, "color_reverse", _this.color_reverse); - t2.add$2(t1, "roll_forward", _this.roll_forward); - t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); - t2.add$2(t1, "strand_idx", _this.strand_idx); - t2.add$2(t1, "domain", _this.domain); + t2.add$2(t1, "grid", _this.grid); + t2.add$2(t1, "helices_view_order", _this.helices_view_order); + t2.add$2(t1, "position", _this.position); + t2.add$2(t1, "pitch", _this.pitch); + t2.add$2(t1, "yaw", _this.yaw); + t2.add$2(t1, "roll", _this.roll); return t2.toString$0(t1); }, - get$offset: function(receiver) { - return this.offset; + set$__helices_view_order_inverse(__helices_view_order_inverse) { + this.__helices_view_order_inverse = type$.nullable_BuiltMap_int_int._as(__helices_view_order_inverse); } }; - K.MouseoverDataBuilder.prototype = { - get$helix: function() { - var t1 = this.get$_mouseover_data$_$this(), - t2 = t1._mouseover_data$_helix; + A.HelixGroupBuilder.prototype = { + get$helices_view_order() { + var t1 = this.get$_group$_$this(), + t2 = t1._group$_helices_view_order; if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._mouseover_data$_helix = t2; + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_group$_helices_view_order(t2); t1 = t2; } else t1 = t2; return t1; }, - get$offset: function(_) { - return this.get$_mouseover_data$_$this()._mouseover_data$_offset; + get$position(_) { + var t1 = this.get$_group$_$this(), + t2 = t1._group$_position; + return t2 == null ? t1._group$_position = new A.Position3DBuilder() : t2; }, - get$_mouseover_data$_$this: function() { + get$_group$_$this() { var t1, t2, _this = this, - $$v = _this._mouseover_data$_$v; + $$v = _this._group$_$v; if ($$v != null) { - t1 = $$v.helix; + _this._group$_grid = $$v.grid; + t1 = $$v.helices_view_order; t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._mouseover_data$_helix = t2; - _this._mouseover_data$_offset = $$v.offset; - _this._color_forward = $$v.color_forward; - _this._color_reverse = $$v.color_reverse; - _this._roll_forward = $$v.roll_forward; - _this._mouseover_data$_minor_groove_angle = $$v.minor_groove_angle; - _this._strand_idx = $$v.strand_idx; - t1 = $$v.domain; - if (t1 == null) - t1 = null; - else { - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - t1 = t2; - } - _this._domain = t1; - _this._mouseover_data$_$v = null; + _this.set$_group$_helices_view_order(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.position; + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t2._position3d$_$v = t1; + _this._group$_position = t2; + _this._pitch = $$v.pitch; + _this._yaw = $$v.yaw; + _this._group$_roll = $$v.roll; + _this._group$_$v = null; } return _this; }, - build$0: function() { + _group$_build$0() { var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, - _s13_ = "MouseoverData", + _s10_ = "HelixGroup", + _s18_ = "helices_view_order", + _s8_ = "position", _$result = null; try { - _$result0 = _this._mouseover_data$_$v; + _$result0 = _this._group$_$v; if (_$result0 == null) { - t1 = _this.get$helix().build$0(); - t2 = _this.get$_mouseover_data$_$this()._mouseover_data$_offset; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "offset")); - t3 = _this.get$_mouseover_data$_$this()._color_forward; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "color_forward")); - t4 = _this.get$_mouseover_data$_$this()._color_reverse; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "color_reverse")); - t5 = _this.get$_mouseover_data$_$this()._roll_forward; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "roll_forward")); - t6 = _this.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle; - if (t6 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "minor_groove_angle")); - t7 = _this.get$_mouseover_data$_$this()._strand_idx; - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "strand_idx")); - t8 = _this._domain; - _$result0 = new K._$MouseoverData(t1, t2, t3, t4, t5, t6, t7, t8 == null ? null : t8.build$0()); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "helix")); + t1 = type$.Grid; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_group$_$this()._group$_grid, _s10_, "grid", t1); + t3 = _this.get$helices_view_order().build$0(); + t4 = _this.get$position(_this)._position3d$_build$0(); + t5 = type$.double; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_group$_$this()._pitch, _s10_, "pitch", t5); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_group$_$this()._yaw, _s10_, "yaw", t5); + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_group$_$this()._group$_roll, _s10_, "roll", t5); + _$result0 = new A._$HelixGroup(t2, t3, t4, t6, t7, t8); + A.BuiltValueNullFieldError_checkNotNull(t2, _s10_, "grid", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s10_, _s18_, type$.BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(t4, _s10_, _s8_, type$.Position3D); + A.BuiltValueNullFieldError_checkNotNull(t6, _s10_, "pitch", t5); + A.BuiltValueNullFieldError_checkNotNull(t7, _s10_, "yaw", t5); + A.BuiltValueNullFieldError_checkNotNull(t8, _s10_, "roll", t5); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "helix"; - _this.get$helix().build$0(); - _$failedField = "domain"; - t1 = _this._domain; - if (t1 != null) - t1.build$0(); + _$failedField._value = _s18_; + _this.get$helices_view_order().build$0(); + _$failedField._value = _s8_; + _this.get$position(_this)._position3d$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s13_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s10_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_MouseoverData._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._mouseover_data$_$v = t1; + t1 = type$.HelixGroup; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._group$_$v = t2; return _$result; - } - }; - K._MouseoverData_Object_BuiltJsonSerializable.prototype = {}; - K._MouseoverParams_Object_BuiltJsonSerializable.prototype = {}; - X.Position3D.prototype = { - $mul: function(_, scalar) { - return X.Position3D_Position3D(this.x * scalar, this.y * scalar, this.z * scalar); - } - }; - X.Position3D_Position3D_closure.prototype = { - call$1: function(b) { - b.get$_position3d$_$this()._x = this.x; - b.get$_position3d$_$this()._y = this.y; - b.get$_position3d$_$this()._z = this.z; - return b; }, - $signature: 131 + set$_group$_helices_view_order(_helices_view_order) { + this._group$_helices_view_order = type$.nullable_ListBuilder_int._as(_helices_view_order); + } }; - X._$Position3DSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Position3D._as(object); - return H.setRuntimeTypeInfo(["x", serializers.serialize$2$specifiedType(object.x, C.FullType_2ru), "y", serializers.serialize$2$specifiedType(object.y, C.FullType_2ru), "z", serializers.serialize$2$specifiedType(object.z, C.FullType_2ru)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A._HelixGroup_Object_BuiltJsonSerializable.prototype = {}; + A.Helix.prototype = { + Helix$_$0() { + var t1 = this.grid_position == null; + if (t1 && this.position_ == null) + throw A.wrapException(A.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are null.", null)); + if (!t1 && this.position_ != null) + throw A.wrapException(A.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are non-null.", null)); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new X.Position3DBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "x": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_position3d$_$this()._x = t1; - break; - case "y": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_position3d$_$this()._y = t1; - break; - case "z": - t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); - result.get$_position3d$_$this()._z = t1; - break; - } + get$position(_) { + var _this = this, + t1 = _this.position_; + if (t1 == null) { + t1 = _this.grid_position; + t1.toString; + t1 = A.grid_position_to_position3d(t1, _this.grid, _this.geometry); } - return result.build$0(); + return t1; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$major_tick_distance() { + var t1 = this.major_tick_periodic_distances._list; + return t1.length !== 1 ? null : B.JSArray_methods.get$first(t1); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Ns6; + get$default_position() { + var point_zy, t4, t5, _this = this, + t1 = _this.geometry, + t2 = t1.rise_per_base_pair, + t3 = _this.grid; + if (t3 === B.Grid_square) { + t3 = _this.grid_position; + point_zy = new A.Point(t3.h, t3.v, type$.Point_double); + } else if (t3 === B.Grid_hex) { + t3 = _this.grid_position; + t3.toString; + point_zy = A.hex_grid_position_to_position2d_diameter_1_circles(t3); + } else if (t3 === B.Grid_honeycomb) { + t3 = _this.grid_position; + t3.toString; + point_zy = A.honeycomb_grid_position_to_position2d_diameter_1_circles(t3); + } else + throw A.wrapException(A.AssertionError$("should not be accessing default_position if grid_position is not defined")); + t3 = point_zy.y; + t4 = t1.get$distance_between_helices_nm(); + if (typeof t3 !== "number") + return t3.$mul(); + t5 = point_zy.x; + t1 = t1.get$distance_between_helices_nm(); + if (typeof t5 !== "number") + return t5.$mul(); + return A.Position3D_Position3D(t5 * t1, t3 * t4, _this.min_offset * t2); }, - get$wireName: function() { - return "Position3D"; - } - }; - X._$Position3D.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof X.Position3D && _this.x === other.x && _this.y === other.y && _this.z === other.z; + get$has_grid_position() { + return this.grid_position != null; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._position3d$__hashCode; - return t1 == null ? _this._position3d$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSNumber_methods.get$hashCode(_this.x)), C.JSNumber_methods.get$hashCode(_this.y)), C.JSNumber_methods.get$hashCode(_this.z))) : t1; + get$has_position() { + return this.position_ != null; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Position3D"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "x", this.x); - t2.add$2(t1, "y", this.y); - t2.add$2(t1, "z", this.z); - return t2.toString$0(t1); - } - }; - X.Position3DBuilder.prototype = { - get$_position3d$_$this: function() { + get$position3d() { var _this = this, - $$v = _this._position3d$_$v; - if ($$v != null) { - _this._x = $$v.x; - _this._y = $$v.y; - _this._z = $$v.z; - _this._position3d$_$v = null; - } - return _this; + t1 = _this.position_; + if (t1 != null) + return t1; + t1 = _this.__default_position; + return t1 == null ? _this.__default_position = A.Helix.prototype.get$default_position.call(_this) : t1; }, - build$0: function() { - var t1, t2, t3, _this = this, - _s10_ = "Position3D", - _$result = _this._position3d$_$v; - if (_$result == null) { - t1 = _this.get$_position3d$_$this()._x; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "x")); - t2 = _this.get$_position3d$_$this()._y; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "y")); - t3 = _this.get$_position3d$_$this()._z; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "z")); - _$result = new X._$Position3D(t1, t2, t3); - } - return _this._position3d$_$v = _$result; - } - }; - X._Position3D_Object_BuiltJsonSerializable.prototype = {}; - S.PotentialCrossover.prototype = {}; - S.PotentialCrossover_PotentialCrossover_closure.prototype = { - call$1: function(b) { - var t2, _this = this, - t1 = b.get$address(); - t1._address$_$v = _this.address; - b.get$_potential_crossover$_$this()._potential_crossover$_color = _this.color; - t1 = b.get$dna_end_first_click(); - t1._dna_end$_$v = _this.dna_end_first_click; - t1 = type$.legacy_Point_legacy_num; - t2 = t1._as(_this.start_point); - b.get$_potential_crossover$_$this().set$_start_point(t2); - t1 = t1._as(_this.current_point); - b.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); - b.get$_potential_crossover$_$this()._linker = _this.linker; - return b; + get$has_default_group() { + return this.group === "default_group"; }, - $signature: 116 - }; - S._$PotentialCrossoverSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_PotentialCrossover._as(object); - result = H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_h8g), "dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, C.FullType_QR4), "start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "current_point", serializers.serialize$2$specifiedType(object.current_point, C.FullType_8eb)], type$.JSArray_legacy_Object); - value = object.linker; - if (value != null) { - C.JSArray_methods.add$1(result, "linker"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_yCn)); - } - return result; + get$has_default_roll() { + return Math.abs(this.roll - 0) < 1e-9; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$has_default_major_tick_distance() { + return this.get$major_tick_distance() == null; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, - result = new S.PotentialCrossoverBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Linker, t2 = type$.legacy_Point_legacy_num, t3 = type$.legacy_DNAEnd, t4 = type$.legacy_Address; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "address": - t5 = result.get$_potential_crossover$_$this(); - t6 = t5._address; - t5 = t6 == null ? t5._address = new Z.AddressBuilder() : t6; - t6 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t6 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t5._address$_$v = t6; - break; - case "color": - t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_potential_crossover$_$this()._potential_crossover$_color = t5; - break; - case "dna_end_first_click": - t5 = result.get$_potential_crossover$_$this(); - t6 = t5._dna_end_first_click; - t5 = t6 == null ? t5._dna_end_first_click = new Z.DNAEndBuilder() : t6; - t6 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t6 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t5._dna_end$_$v = t6; - break; - case "start_point": - t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_potential_crossover$_$this().set$_start_point(t5); - break; - case "current_point": - t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t5); - break; - case "linker": - t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yCn)); - result.get$_potential_crossover$_$this()._linker = t5; - break; - } - } - return result.build$0(); + get$has_default_major_tick_start() { + return this.major_tick_start === this.min_offset; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$has_default_major_ticks() { + return this.major_ticks == null; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Mli; + get$has_major_tick_distance() { + return !this.get$has_default_major_tick_distance(); }, - get$wireName: function() { - return "PotentialCrossover"; - } - }; - S._$PotentialCrossover.prototype = { - $eq: function(_, other) { - var _this = this; - if (other == null) - return false; - if (other === _this) - return true; - return other instanceof S.PotentialCrossover && _this.address.$eq(0, other.address) && _this.color === other.color && _this.dna_end_first_click.$eq(0, other.dna_end_first_click) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point) && J.$eq$(_this.linker, other.linker); + get$has_major_ticks() { + return !this.get$has_default_major_ticks(); }, - get$hashCode: function(_) { - var t2, t3, t4, _this = this, - t1 = _this._potential_crossover$__hashCode; - if (t1 == null) { - t1 = _this.address; - t2 = _this.dna_end_first_click; - t3 = _this.start_point; - t4 = _this.current_point; - t4 = _this._potential_crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSString_methods.get$hashCode(_this.color)), t2.get$hashCode(t2)), H.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y))), H.SystemHash_hash2(J.get$hashCode$(t4.x), J.get$hashCode$(t4.y))), J.get$hashCode$(_this.linker))); - t1 = t4; - } - return t1; + get$has_major_tick_periodic_distances() { + var t1 = this.major_tick_periodic_distances; + return t1 != null && t1._list.length >= 2; + }, + svg_base_pos$3(offset, $forward, svg_position_y) { + var t4, y, + t1 = this.geometry, + t2 = t1.get$base_width_svg(), + t3 = t1.get$base_width_svg(); + if (typeof offset !== "number") + return offset.$mul(); + t4 = this.get$svg_height(); + if (typeof svg_position_y !== "number") + return A.iae(svg_position_y); + y = t4 / 4 + svg_position_y; + if (!A.boolConversionCheck($forward)) + y += t1.get$base_height_svg(); + return new A.Point(t2 / 2 + offset * t3, y, type$.Point_double); + }, + svg_x_to_offset$2(x, helix_svg_position_x) { + if (typeof x !== "number") + return x.$sub(); + if (typeof helix_svg_position_x !== "number") + return A.iae(helix_svg_position_x); + return B.JSNumber_methods.floor$0((x - helix_svg_position_x) / this.geometry.get$base_width_svg()) + this.min_offset; + }, + svg_y_is_forward$2(y, helix_svg_position_y) { + if (typeof y !== "number") + return y.$sub(); + if (typeof helix_svg_position_y !== "number") + return A.iae(helix_svg_position_y); + return y - helix_svg_position_y < this.geometry.get$base_height_svg(); }, - toString$0: function(_) { + get$svg_width() { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossover"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "address", _this.address); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "dna_end_first_click", _this.dna_end_first_click); - t2.add$2(t1, "start_point", _this.start_point); - t2.add$2(t1, "current_point", _this.current_point); - t2.add$2(t1, "linker", _this.linker); - return t2.toString$0(t1); - } - }; - S.PotentialCrossoverBuilder.prototype = { - get$address: function() { - var t1 = this.get$_potential_crossover$_$this(), - t2 = t1._address; - return t2 == null ? t1._address = new Z.AddressBuilder() : t2; + t1 = _this.geometry.get$base_width_svg(), + t2 = _this.__num_bases; + return t1 * (t2 == null ? _this.__num_bases = A.Helix.prototype.get$num_bases.call(_this) : t2); }, - get$dna_end_first_click: function() { - var t1 = this.get$_potential_crossover$_$this(), - t2 = t1._dna_end_first_click; - return t2 == null ? t1._dna_end_first_click = new Z.DNAEndBuilder() : t2; + get$svg_height() { + return this.geometry.get$base_height_svg() * 2; }, - get$_potential_crossover$_$this: function() { - var t1, t2, _this = this, - $$v = _this._potential_crossover$_$v; - if ($$v != null) { - t1 = $$v.address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._address = t2; - _this._potential_crossover$_color = $$v.color; - t1 = $$v.dna_end_first_click; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end_first_click = t2; - _this.set$_start_point($$v.start_point); - _this.set$_potential_crossover$_current_point($$v.current_point); - _this._linker = $$v.linker; - _this._potential_crossover$_$v = null; - } - return _this; + get$num_bases() { + return this.max_offset - this.min_offset; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s18_ = "PotentialCrossover", - _$result = null; - try { - _$result0 = _this._potential_crossover$_$v; - if (_$result0 == null) { - t1 = _this.get$address().build$0(); - t2 = _this.get$_potential_crossover$_$this()._potential_crossover$_color; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "color")); - t3 = _this.get$dna_end_first_click().build$0(); - t4 = _this.get$_potential_crossover$_$this()._start_point; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "start_point")); - t5 = _this.get$_potential_crossover$_$this()._potential_crossover$_current_point; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "current_point")); - _$result0 = new S._$PotentialCrossover(t1, t2, t3, t4, t5, _this.get$_potential_crossover$_$this()._linker); + get$calculate_major_ticks() { + var sorted_ticks, tick, t2, distance_idx, t3, distance, _this = this, + t1 = type$.JSArray_int, + ticks = A._setArrayType([], t1); + if (_this.get$has_major_ticks()) { + t1 = _this.major_ticks; + sorted_ticks = new A.CopyOnWriteList(true, t1._list, A._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + sorted_ticks.sort$0(0); + ticks = sorted_ticks; + } else if (_this.get$has_major_tick_periodic_distances()) { + tick = _this.major_tick_start; + t1 = _this.max_offset; + t2 = _this.major_tick_periodic_distances; + distance_idx = -1; + while (tick <= t1) { + t3 = t2._list; + distance_idx = B.JSInt_methods.$mod(distance_idx + 1, t3.length); + distance = t3[distance_idx]; + B.JSArray_methods.add$1(ticks, tick); + if (typeof distance !== "number") + return A.iae(distance); + tick += distance; } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "address"; - _this.get$address().build$0(); - _$failedField = "dna_end_first_click"; - _this.get$dna_end_first_click().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + } else { + if (_this.get$major_tick_distance() != null) { + t2 = _this.get$major_tick_distance(); + t2.toString; + t2 = t2 > 0; + } else + t2 = false; + if (t2) { + t2 = _this.get$major_tick_distance(); + t2.toString; + distance = t2; + } else + distance = _this.grid.get$default_major_tick_distance(); + if (distance > 0) { + t1 = A._setArrayType([], t1); + for (tick = _this.major_tick_start, t2 = _this.max_offset; tick <= t2; tick += distance) + t1.push(tick); + ticks = t1; } - throw exception; } - t1 = type$.legacy_PotentialCrossover._as(_$result); + return A._BuiltList$of(ticks, type$.int); + }, + backbone_angle_at_offset$2(offset, $forward) { + var angle, + t1 = this.geometry, + t2 = t1.bases_per_turn; + if (typeof offset !== "number") + return offset.$mul(); + angle = this.roll + offset * (360 / t2); + return B.JSNumber_methods.$mod(!A.boolConversionCheck($forward) ? angle + t1.minor_groove_angle : angle, 360); + }, + relax_roll$2(helices, crossover_addresses) { + return this.rebuild$1(new A.Helix_relax_roll_closure(this, this.compute_relaxed_roll_delta$2(type$.BuiltMap_int_Helix._as(helices), type$.BuiltList_Address._as(crossover_addresses)))); + }, + compute_relaxed_roll_delta$2(helices, crossover_addresses) { + var angles, t1, t2, t3, p1, t4, t5, t6, t7, t8, p10, p2, t9, angle, _this = this; + type$.BuiltMap_int_Helix._as(helices); + type$.BuiltList_Address._as(crossover_addresses); + angles = A._setArrayType([], type$.JSArray_Tuple2_double_double); + for (t1 = crossover_addresses._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.Tuple2_double_double, t3 = helices._map$_map, p1 = _this.position_, t4 = _this.grid_position, t5 = _this.grid, t6 = _this.geometry; t1.moveNext$0();) { + t7 = t1.__interceptors$_current; + t8 = t3.$index(0, t7.helix_idx); + t8.toString; + if (p1 == null) { + t4.toString; + p10 = A.grid_position_to_position3d(t4, t5, t6); + } else + p10 = p1; + p2 = t8.position_; + if (p2 == null) { + t9 = t8.grid_position; + t9.toString; + p2 = A.grid_position_to_position3d(t9, t8.grid, t8.geometry); + } + angle = B.JSNumber_methods.$mod(-(Math.atan2(-(p2.y - p10.y), p2.x - p10.x) * 180 / 3.141592653589793) + 90, 360); + B.JSArray_methods.add$1(angles, new A.Tuple2(_this.backbone_angle_at_offset$2(t7.offset, t7.forward), angle, t2)); + } + return A.minimum_strain_angle(angles); + } + }; + A.Helix_Helix_closure.prototype = { + call$1(b) { + var t1, t2, t3, _this = this, _s5_ = "other"; + b.get$_helix$_$this()._idx = _this.idx; + t1 = b.get$geometry(b); + t2 = _this._box_0; + t3 = t2.geometry; + t3.toString; + A.ArgumentError_checkNotNull(t3, _s5_, type$.Geometry); + t1._geometry$_$v = t3; + b.get$_helix$_$this()._group = _this.group; + t3 = t2.grid; + b.get$_helix$_$this()._grid = t3; + t3 = t2.grid_position; + if (t3 == null) + t1 = null; + else { + t1 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t3, _s5_, type$.GridPosition); + t1._grid_position$_$v = t3; + } + b.get$_helix$_$this()._grid_position = t1; + t1 = _this.position; if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._potential_crossover$_$v = t1; - return _$result; + t1 = null; + else { + t3 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Position3D); + t3._position3d$_$v = t1; + t1 = t3; + } + b.get$_helix$_$this()._position_ = t1; + b.get$_helix$_$this()._roll = _this.roll; + b.get$_helix$_$this()._min_offset = _this.min_offset; + b.get$_helix$_$this()._max_offset = _this.max_offset; + t1 = t2.major_tick_start; + b.get$_helix$_$this()._major_tick_start = t1; + t1 = b.get$major_tick_periodic_distances(); + t2 = t2.major_tick_periodic_distances; + t2.toString; + t1.replace$1(0, t2); + t2 = type$.dynamic; + b.get$unused_fields().replace$1(0, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + return b; }, - set$_start_point: function(_start_point) { - this._start_point = type$.legacy_Point_legacy_num._as(_start_point); + $signature: 374 + }; + A.Helix_relax_roll_closure.prototype = { + call$1(b) { + b.get$_helix$_$this()._roll = this.$this.roll + this.roll_delta; + return b; }, - set$_potential_crossover$_current_point: function(_current_point) { - this._potential_crossover$_current_point = type$.legacy_Point_legacy_num._as(_current_point); - } + $signature: 7 }; - S._PotentialCrossover_Object_BuiltJsonSerializable.prototype = {}; - Z.PotentialVerticalCrossover.prototype = {}; - Z._$PotentialVerticalCrossoverSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_PotentialVerticalCrossover._as(object); - return H.setRuntimeTypeInfo(["helix_idx_top", serializers.serialize$2$specifiedType(object.helix_idx_top, C.FullType_kjq), "helix_idx_bot", serializers.serialize$2$specifiedType(object.helix_idx_bot, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward_top", serializers.serialize$2$specifiedType(object.forward_top, C.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_h8g), "domain_top", serializers.serialize$2$specifiedType(object.domain_top, C.FullType_fnc), "domain_bot", serializers.serialize$2$specifiedType(object.domain_bot, C.FullType_fnc), "dna_end_top", serializers.serialize$2$specifiedType(object.dna_end_top, C.FullType_QR4), "dna_end_bot", serializers.serialize$2$specifiedType(object.dna_end_bot, C.FullType_QR4)], type$.JSArray_legacy_Object); + A._$HelixSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.Helix._as(object); + result = ["idx", serializers.serialize$2$specifiedType(object.idx, B.FullType_kjq), "grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_yXb), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_h8g), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_MME), "max_offset", serializers.serialize$2$specifiedType(object.max_offset, B.FullType_kjq), "min_offset", serializers.serialize$2$specifiedType(object.min_offset, B.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, B.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, B.FullType_4QF0)]; + value = object.grid_position; + if (value != null) { + result.push("grid_position"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_q96)); + } + value = object.position_; + if (value != null) { + result.push("position_"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_cgM)); + } + value = object.major_ticks; + if (value != null) { + result.push("major_ticks"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_4QF0)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, _s5_ = "other", - result = new Z.PotentialVerticalCrossoverBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_DNAEnd, t2 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, t9, value, t10, t11, t12, t13, _null = null; + type$.Iterable_nullable_Object._as(serialized); + result = new A.HelixBuilder(); + result.get$_helix$_$this()._group = "default_group"; + result.get$_helix$_$this()._min_offset = 0; + result.get$_helix$_$this()._roll = 0; + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.int, t3 = type$.List_int, t4 = type$.ListBuilder_int, t5 = type$.Position3D, t6 = type$.GridPosition, t7 = type$.Geometry, t8 = type$.Grid; iterator.moveNext$0();) { + t9 = iterator.get$current(iterator); + t9.toString; + A._asStringS(t9); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "helix_idx_top": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_potential_vertical_crossover$_$this()._helix_idx_top = t3; + switch (t9) { + case "idx": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_helix$_$this()._idx = t9; break; - case "helix_idx_bot": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_potential_vertical_crossover$_$this()._helix_idx_bot = t3; + case "grid": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t9.toString; + t8._as(t9); + result.get$_helix$_$this()._grid = t9; break; - case "offset": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset = t3; + case "geometry": + t9 = result.get$_helix$_$this(); + t10 = t9._helix$_geometry; + t9 = t10 == null ? t9._helix$_geometry = new A.GeometryBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t10.toString; + t7._as(t10); + t9._geometry$_$v = t10; break; - case "forward_top": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_potential_vertical_crossover$_$this()._forward_top = t3; + case "group": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_helix$_$this()._group = t9; break; - case "color": - t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color = t3; + case "grid_position": + t9 = result.get$_helix$_$this(); + t10 = t9._grid_position; + t9 = t10 == null ? t9._grid_position = new A.GridPositionBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t10.toString; + t6._as(t10); + t9._grid_position$_$v = t10; break; - case "domain_top": - t3 = result.get$_potential_vertical_crossover$_$this(); - t4 = t3._domain_top; - t3 = t4 == null ? t3._domain_top = new G.DomainBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t3._domain$_$v = t4; + case "position_": + t9 = result.get$_helix$_$this(); + t10 = t9._position_; + t9 = t10 == null ? t9._position_ = new A.Position3DBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t10.toString; + t5._as(t10); + t9._position3d$_$v = t10; break; - case "domain_bot": - t3 = result.get$_potential_vertical_crossover$_$this(); - t4 = t3._domain_bot; - t3 = t4 == null ? t3._domain_bot = new G.DomainBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t3._domain$_$v = t4; + case "roll": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t9.toString; + A._asDoubleS(t9); + result.get$_helix$_$this()._roll = t9; break; - case "dna_end_top": - t3 = result.get$_potential_vertical_crossover$_$this(); - t4 = t3._dna_end_top; - t3 = t4 == null ? t3._dna_end_top = new Z.DNAEndBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t3._dna_end$_$v = t4; + case "max_offset": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_helix$_$this()._max_offset = t9; break; - case "dna_end_bot": - t3 = result.get$_potential_vertical_crossover$_$this(); - t4 = t3._dna_end_bot; - t3 = t4 == null ? t3._dna_end_bot = new Z.DNAEndBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t3._dna_end$_$v = t4; + case "min_offset": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_helix$_$this()._min_offset = t9; + break; + case "major_tick_start": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9.toString; + A._asIntS(t9); + result.get$_helix$_$this()._major_tick_start = t9; + break; + case "major_tick_periodic_distances": + t9 = result.get$_helix$_$this(); + t10 = t9._major_tick_periodic_distances; + if (t10 == null) { + t10 = new A.ListBuilder(t4); + t10.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t10.set$_listOwner(_null); + t9.set$_major_tick_periodic_distances(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t10.toString; + t1._as(t10); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "major_ticks": + t9 = result.get$_helix$_$this(); + t10 = t9._major_ticks; + if (t10 == null) { + t10 = new A.ListBuilder(t4); + t10.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty, true, t2))); + t10.set$_listOwner(_null); + t9.set$_major_ticks(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t10.toString; + t1._as(t10); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } break; } } - return result.build$0(); + return result._helix$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_LQu; + get$types() { + return B.List_uHJ; }, - get$wireName: function() { - return "PotentialVerticalCrossover"; + get$wireName() { + return "Helix"; } }; - Z._$PotentialVerticalCrossover.prototype = { - $eq: function(_, other) { + A._$Helix.prototype = { + get$position3d() { + var t1 = this.__position3d; + return t1 == null ? this.__position3d = A.Helix.prototype.get$position3d.call(this) : t1; + }, + get$has_default_major_tick_distance() { + var t1 = this.__has_default_major_tick_distance; + return t1 == null ? this.__has_default_major_tick_distance = A.Helix.prototype.get$has_default_major_tick_distance.call(this) : t1; + }, + get$has_default_major_ticks() { + var t1 = this.__has_default_major_ticks; + return t1 == null ? this.__has_default_major_ticks = A.Helix.prototype.get$has_default_major_ticks.call(this) : t1; + }, + get$has_major_tick_distance() { + var t1 = this.__has_major_tick_distance; + return t1 == null ? this.__has_major_tick_distance = A.Helix.prototype.get$has_major_tick_distance.call(this) : t1; + }, + get$has_major_ticks() { + var t1 = this.__has_major_ticks; + return t1 == null ? this.__has_major_ticks = A.Helix.prototype.get$has_major_ticks.call(this) : t1; + }, + get$has_major_tick_periodic_distances() { + var t1 = this.__has_major_tick_periodic_distances; + return t1 == null ? this.__has_major_tick_periodic_distances = A.Helix.prototype.get$has_major_tick_periodic_distances.call(this) : t1; + }, + get$svg_width() { + var t1 = this.__svg_width; + return t1 == null ? this.__svg_width = A.Helix.prototype.get$svg_width.call(this) : t1; + }, + get$svg_height() { + var t1 = this.__svg_height; + return t1 == null ? this.__svg_height = A.Helix.prototype.get$svg_height.call(this) : t1; + }, + get$calculate_major_ticks() { + var t1 = this.__calculate_major_ticks; + if (t1 == null) { + t1 = A.Helix.prototype.get$calculate_major_ticks.call(this); + this.set$__calculate_major_ticks(t1); + } + return t1; + }, + rebuild$1(updates) { + var t1; + type$.void_Function_HelixBuilder._as(updates); + t1 = new A.HelixBuilder(); + t1.get$_helix$_$this()._group = "default_group"; + t1.get$_helix$_$this()._min_offset = 0; + t1.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(this, "other", type$.Helix); + t1._helix$_$v = this; + type$.nullable_void_Function_HelixBuilder._as(updates).call$1(t1); + return t1._helix$_build$0(); + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof Z.PotentialVerticalCrossover && _this.helix_idx_top === other.helix_idx_top && _this.helix_idx_bot == other.helix_idx_bot && _this.offset == other.offset && _this.forward_top == other.forward_top && _this.color === other.color && J.$eq$(_this.domain_top, other.domain_top) && J.$eq$(_this.domain_bot, other.domain_bot) && J.$eq$(_this.dna_end_top, other.dna_end_top) && J.$eq$(_this.dna_end_bot, other.dna_end_bot); + return other instanceof A.Helix && _this.idx === other.idx && _this.grid === other.grid && J.$eq$(_this.geometry, other.geometry) && _this.group === other.group && J.$eq$(_this.grid_position, other.grid_position) && J.$eq$(_this.position_, other.position_) && _this.roll === other.roll && _this.max_offset === other.max_offset && _this.min_offset === other.min_offset && _this.major_tick_start === other.major_tick_start && J.$eq$(_this.major_tick_periodic_distances, other.major_tick_periodic_distances) && J.$eq$(_this.major_ticks, other.major_ticks) && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._potential_vertical_crossover$__hashCode; - return t1 == null ? _this._potential_vertical_crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx_top)), J.get$hashCode$(_this.helix_idx_bot)), J.get$hashCode$(_this.offset)), J.get$hashCode$(_this.forward_top)), C.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.domain_top)), J.get$hashCode$(_this.domain_bot)), J.get$hashCode$(_this.dna_end_top)), J.get$hashCode$(_this.dna_end_bot))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._helix$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.idx)), A.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.geometry)), B.JSString_methods.get$hashCode(_this.group)), J.get$hashCode$(_this.grid_position)), J.get$hashCode$(_this.position_)), B.JSNumber_methods.get$hashCode(_this.roll)), B.JSInt_methods.get$hashCode(_this.max_offset)), B.JSInt_methods.get$hashCode(_this.min_offset)), B.JSInt_methods.get$hashCode(_this.major_tick_start)), J.get$hashCode$(_this.major_tick_periodic_distances)), J.get$hashCode$(_this.major_ticks)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._helix$__hashCode; + if (t1 == null) { + _this._helix$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialVerticalCrossover"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("Helix"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix_idx_top", _this.helix_idx_top); - t2.add$2(t1, "helix_idx_bot", _this.helix_idx_bot); - t2.add$2(t1, "offset", _this.offset); - t2.add$2(t1, "forward_top", _this.forward_top); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "domain_top", _this.domain_top); - t2.add$2(t1, "domain_bot", _this.domain_bot); - t2.add$2(t1, "dna_end_top", _this.dna_end_top); - t2.add$2(t1, "dna_end_bot", _this.dna_end_bot); + t2.add$2(t1, "idx", _this.idx); + t2.add$2(t1, "grid", _this.grid); + t2.add$2(t1, "geometry", _this.geometry); + t2.add$2(t1, "group", _this.group); + t2.add$2(t1, "grid_position", _this.grid_position); + t2.add$2(t1, "position_", _this.position_); + t2.add$2(t1, "roll", _this.roll); + t2.add$2(t1, "max_offset", _this.max_offset); + t2.add$2(t1, "min_offset", _this.min_offset); + t2.add$2(t1, "major_tick_start", _this.major_tick_start); + t2.add$2(t1, "major_tick_periodic_distances", _this.major_tick_periodic_distances); + t2.add$2(t1, "major_ticks", _this.major_ticks); + t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$offset: function(receiver) { - return this.offset; + set$__calculate_major_ticks(__calculate_major_ticks) { + this.__calculate_major_ticks = type$.nullable_BuiltList_int._as(__calculate_major_ticks); } }; - Z.PotentialVerticalCrossoverBuilder.prototype = { - get$offset: function(_) { - return this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset; + A.HelixBuilder.prototype = { + get$idx() { + return this.get$_helix$_$this()._idx; }, - get$domain_top: function() { - var t1 = this.get$_potential_vertical_crossover$_$this(), - t2 = t1._domain_top; - return t2 == null ? t1._domain_top = new G.DomainBuilder() : t2; + get$geometry(_) { + var t1 = this.get$_helix$_$this(), + t2 = t1._helix$_geometry; + return t2 == null ? t1._helix$_geometry = new A.GeometryBuilder() : t2; }, - get$domain_bot: function() { - var t1 = this.get$_potential_vertical_crossover$_$this(), - t2 = t1._domain_bot; - return t2 == null ? t1._domain_bot = new G.DomainBuilder() : t2; + get$group() { + return this.get$_helix$_$this()._group; }, - get$dna_end_top: function() { - var t1 = this.get$_potential_vertical_crossover$_$this(), - t2 = t1._dna_end_top; - return t2 == null ? t1._dna_end_top = new Z.DNAEndBuilder() : t2; + get$grid_position() { + var t1 = this.get$_helix$_$this(), + t2 = t1._grid_position; + return t2 == null ? t1._grid_position = new A.GridPositionBuilder() : t2; }, - get$dna_end_bot: function() { - var t1 = this.get$_potential_vertical_crossover$_$this(), - t2 = t1._dna_end_bot; - return t2 == null ? t1._dna_end_bot = new Z.DNAEndBuilder() : t2; + get$position_() { + var t1 = this.get$_helix$_$this(), + t2 = t1._position_; + return t2 == null ? t1._position_ = new A.Position3DBuilder() : t2; }, - get$_potential_vertical_crossover$_$this: function() { - var t1, t2, _this = this, - $$v = _this._potential_vertical_crossover$_$v; + get$major_tick_periodic_distances() { + var t1 = this.get$_helix$_$this(), + t2 = t1._major_tick_periodic_distances; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_major_tick_periodic_distances(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$major_ticks() { + var t1 = this.get$_helix$_$this(), + t2 = t1._major_ticks; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.int); + t1.set$_major_ticks(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields() { + var t1 = this.get$_helix$_$this(), + t2 = t1._helix$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_helix$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_helix$_$this() { + var t1, t2, _this = this, _s5_ = "other", + $$v = _this._helix$_$v; if ($$v != null) { - _this._helix_idx_top = $$v.helix_idx_top; - _this._helix_idx_bot = $$v.helix_idx_bot; - _this._potential_vertical_crossover$_offset = $$v.offset; - _this._forward_top = $$v.forward_top; - _this._potential_vertical_crossover$_color = $$v.color; - t1 = $$v.domain_top; - t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._domain_top = t2; - t1 = $$v.domain_bot; + _this._idx = $$v.idx; + _this._grid = $$v.grid; + t1 = $$v.geometry; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._domain_bot = t2; - t1 = $$v.dna_end_top; + t2 = new A.GeometryBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Geometry); + t2._geometry$_$v = t1; + _this._helix$_geometry = t2; + _this._group = $$v.group; + t2 = $$v.grid_position; + if (t2 == null) + t1 = null; + else { + t1 = new A.GridPositionBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, type$.GridPosition); + t1._grid_position$_$v = t2; + } + _this._grid_position = t1; + t1 = $$v.position_; + if (t1 == null) + t1 = null; + else { + t2 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Position3D); + t2._position3d$_$v = t1; + t1 = t2; + } + _this._position_ = t1; + _this._roll = $$v.roll; + _this._max_offset = $$v.max_offset; + _this._min_offset = $$v.min_offset; + _this._major_tick_start = $$v.major_tick_start; + t1 = $$v.major_tick_periodic_distances; t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end_top = t2; - t1 = $$v.dna_end_bot; + _this.set$_major_tick_periodic_distances(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.major_ticks; + _this.set$_major_ticks(t1 == null ? null : A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.unused_fields; t1.toString; - t2 = new Z.DNAEndBuilder(); - t2._dna_end$_$v = t1; - _this._dna_end_bot = t2; - _this._potential_vertical_crossover$_$v = null; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helix$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._helix$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, - _s26_ = "PotentialVerticalCrossover", + _helix$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, exception, _this = this, _s5_ = "Helix", + _s10_ = "max_offset", + _s10_0 = "min_offset", + _s16_ = "major_tick_start", + _s8_ = "geometry", + _s29_ = "major_tick_periodic_distances", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._potential_vertical_crossover$_$v; + _$result0 = _this._helix$_$v; if (_$result0 == null) { - t1 = _this.get$_potential_vertical_crossover$_$this()._helix_idx_top; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_top")); - t2 = _this.get$_potential_vertical_crossover$_$this()._helix_idx_bot; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_bot")); - t3 = _this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "offset")); - t4 = _this.get$_potential_vertical_crossover$_$this()._forward_top; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "forward_top")); - t5 = _this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "color")); - t6 = _this.get$domain_top().build$0(); - t7 = _this.get$domain_bot().build$0(); - t8 = _this.get$dna_end_top().build$0(); - _$result0 = Z._$PotentialVerticalCrossover$_(t5, _this.get$dna_end_bot().build$0(), t8, t7, t6, t4, t2, t1, t3); + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._idx, _s5_, "idx", t1); + t3 = type$.Grid; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._grid, _s5_, "grid", t3); + t5 = _this.get$geometry(_this)._geometry$_build$0(); + t6 = type$.String; + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._group, _s5_, "group", t6); + t8 = _this._grid_position; + t8 = t8 == null ? null : t8._grid_position$_build$0(); + t9 = _this._position_; + t9 = t9 == null ? null : t9._position3d$_build$0(); + t10 = type$.double; + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._roll, _s5_, "roll", t10); + t12 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._max_offset, _s5_, _s10_, t1); + t13 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._min_offset, _s5_, _s10_0, t1); + t14 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix$_$this()._major_tick_start, _s5_, _s16_, t1); + t15 = _this.get$major_tick_periodic_distances().build$0(); + t16 = _this._major_ticks; + t16 = t16 == null ? null : t16.build$0(); + t17 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Helix(t2, t4, t5, t7, t8, t9, t11, t12, t13, t14, t15, t16, t17); + _$result0.Helix$_$0(); + A.BuiltValueNullFieldError_checkNotNull(t2, _s5_, "idx", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s5_, "grid", t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s5_, _s8_, type$.Geometry); + A.BuiltValueNullFieldError_checkNotNull(t7, _s5_, "group", t6); + A.BuiltValueNullFieldError_checkNotNull(t11, _s5_, "roll", t10); + A.BuiltValueNullFieldError_checkNotNull(t12, _s5_, _s10_, t1); + A.BuiltValueNullFieldError_checkNotNull(t13, _s5_, _s10_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t14, _s5_, _s16_, t1); + A.BuiltValueNullFieldError_checkNotNull(t15, _s5_, _s29_, type$.BuiltList_int); + A.BuiltValueNullFieldError_checkNotNull(t17, _s5_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain_top"; - _this.get$domain_top().build$0(); - _$failedField = "domain_bot"; - _this.get$domain_bot().build$0(); - _$failedField = "dna_end_top"; - _this.get$dna_end_top().build$0(); - _$failedField = "dna_end_bot"; - _this.get$dna_end_bot().build$0(); + _$failedField._value = _s8_; + _this.get$geometry(_this)._geometry$_build$0(); + _$failedField._value = "grid_position"; + t1 = _this._grid_position; + if (t1 != null) + t1._grid_position$_build$0(); + _$failedField._value = "position_"; + t1 = _this._position_; + if (t1 != null) + t1._position3d$_build$0(); + _$failedField._value = _s29_; + _this.get$major_tick_periodic_distances().build$0(); + _$failedField._value = "major_ticks"; + t1 = _this._major_ticks; + if (t1 != null) + t1.build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s26_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s5_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_PotentialVerticalCrossover._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._potential_vertical_crossover$_$v = t1; + t1 = type$.Helix; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._helix$_$v = t2; return _$result; - } - }; - Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable.prototype = {}; - D.SelectModeChoice.prototype = { - get$display_name: function() { - var _this = this; - if (_this === C.SelectModeChoice_end_5p_strand) - return "5' strand"; - else if (_this === C.SelectModeChoice_end_3p_strand) - return "3' strand"; - else if (_this === C.SelectModeChoice_end_5p_domain) - return "5' domain"; - else if (_this === C.SelectModeChoice_end_3p_domain) - return "3' domain"; - else - return _this.super$EnumClass$toString(0); - }, - toString$0: function(_) { - return this.get$display_name(); }, - get$image_file: function() { - switch (this) { - case C.SelectModeChoice_end_5p_strand: - return "images/select_mode_icons/5pstrand.svg"; - case C.SelectModeChoice_end_3p_strand: - return "images/select_mode_icons/3pstrand.svg"; - case C.SelectModeChoice_end_5p_domain: - return "images/select_mode_icons/5pdomain.svg"; - case C.SelectModeChoice_end_3p_domain: - return "images/select_mode_icons/3pdomain.svg"; - case C.SelectModeChoice_domain: - return "images/select_mode_icons/domain.svg"; - case C.SelectModeChoice_crossover: - return "images/select_mode_icons/crossover.svg"; - case C.SelectModeChoice_loopout: - return "images/select_mode_icons/loopout.svg"; - case C.SelectModeChoice_extension_: - return "images/select_mode_icons/extension.svg"; - case C.SelectModeChoice_deletion: - return "images/select_mode_icons/del.svg"; - case C.SelectModeChoice_insertion: - return "images/select_mode_icons/inser.svg"; - case C.SelectModeChoice_modification: - return "images/select_mode_icons/mod.svg"; - case C.SelectModeChoice_strand: - return "images/select_mode_icons/strand.svg"; - case C.SelectModeChoice_scaffold: - return "images/select_mode_icons/scaffold.svg"; - case C.SelectModeChoice_staple: - return "images/select_mode_icons/staple.svg"; - } - return ""; + set$_major_tick_periodic_distances(_major_tick_periodic_distances) { + this._major_tick_periodic_distances = type$.nullable_ListBuilder_int._as(_major_tick_periodic_distances); }, - get$tooltip: function() { - switch (this) { - case C.SelectModeChoice_end_5p_strand: - return "5' strand: Allows one to select the 5'\nend (square) of a whole strand. If many\n5' ends are selected, then one can\nadd a 5' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 5' modification is\nadded, then only the 5' ends are\nmodified."; - case C.SelectModeChoice_end_3p_strand: - return "3' strand: Allows one to select the 3'\nend (triangle) of a whole strand. If many\n3' ends are selected, then one can\nadd a 3' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 3' modification is\nadded, then only the 3' ends are\nmodified."; - case C.SelectModeChoice_end_5p_domain: - return "5' domain: Each strand is\ncomposed of one or more bound domains,\ndefined to be a portion of a strand\nthat exists on a single helix. A 5'/3'\nend of a bound domain that is not the\n5'/3' end of the whole strand is one of\nthese. They are not normally visible,\nbut when these select modes are\nenabled, they become visible on\nmouseover and can be selected and\ndragged. Deleting a 5'/3' end of a\nbound domain deletes the whole bound\ndomain. Ends can be moved, but unlike\nstrands and domains, they can only be\nmoved back and forth along their\ncurrent helix."; - case C.SelectModeChoice_end_3p_domain: - return "3' domain: Each strand is\ncomposed of one or more bound domains,\ndefined to be a portion of a strand\nthat exists on a single helix. A 5'/3'\nend of a bound domain that is not the\n5'/3' end of the whole strand is one of\nthese. They are not normally visible,\nbut when these select modes are\nenabled, they become visible on\nmouseover and can be selected and\ndragged. Deleting a 5'/3' end of a\nbound domain deletes the whole bound\ndomain. Ends can be moved, but unlike\nstrands and domains, they can only be\nmoved back and forth along their\ncurrent helix."; - case C.SelectModeChoice_domain: - return "domain: A single bound domain can be\nselected. Groups of domains can be\nmoved, but only if they are all in the\nsame helix group. (Though they can be\nmoved to a different helix group.)"; - case C.SelectModeChoice_crossover: - return 'crossover: Two consecutive bound\ndomains on a strand can be joined by a\ncrossover, which consists of no DNA\nbases (Technically bound domains do not\nhave to be bound to another strand, but\nthe idea is that generally in a\nfinished design, most of the bound\ndomains will actually be bound to\nanother.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; - case C.SelectModeChoice_loopout: - return 'loopout: Two consecutive bound domains\non a strand can be joined by a loopout,\nwhich is a single-stranded portion of\nthe strand with one or more DNA bases.\n(Technically bound domains do not have\nto be bound to another strand, but the\nidea is that generally in a finished\ndesign, most of the bound domains will\nactually be bound to another.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; - case C.SelectModeChoice_extension_: - return "extension: An extension is a single-stranded\nportion of a strand that is not on a\nHelix (like a domain) and does not connect\ntwo domains. It is like a loopout but on\nthe end of a strand, useful for modeling\ntoeholds for DNA strand displacement, \nfor instance."; - case C.SelectModeChoice_deletion: - return "deletion: Deletions can be selected and\ndeleted in batch by pressing the Delete\nkey."; - case C.SelectModeChoice_insertion: - return "insertion: Insertions can be selected\nand deleted in batch by pressing the\nDelete key. Also, one can change the\nlength of all selected insertions by\nright-clicking on one of them and\nselecting the option to change\ninsertion length."; - case C.SelectModeChoice_modification: - return 'modification: If many modifications are\nselected, they can be deleted at once\nby pressing the Delete key (or\nright-clicking and selecting "remove\nmodification"). Those of a similar type\n(5\', 3\', or internal) can be modified\nin batch by right-clicking on one of\nthem and selecting "edit\nmodification".'; - case C.SelectModeChoice_strand: - return "strand: The whole strand can be\nselected. Groups of strands can be\ncopy/pasted or moved, but only if they\nare all in the same helix group.\n(Though they can be copied/moved to a\ndifferent helix group.)"; - case C.SelectModeChoice_scaffold: - return "scaffold: This option allows one to\nselect scaffold strands. The\noption is not shown in a non-origami\ndesign."; - case C.SelectModeChoice_staple: - return "staple: All non-scaffold strands are\ncalled staples. This option allows one\nto select staples. The option is not\nshown in a non-origami design."; - } - return ""; + set$_major_ticks(_major_ticks) { + this._major_ticks = type$.nullable_ListBuilder_int._as(_major_ticks); }, - css_selector$0: function() { - switch (this) { - case C.SelectModeChoice_end_5p_strand: - return "five-prime-end-first-substrand"; - case C.SelectModeChoice_end_3p_strand: - return "three-prime-end-last-substrand"; - case C.SelectModeChoice_end_5p_domain: - return "five-prime-end"; - case C.SelectModeChoice_end_3p_domain: - return "three-prime-end"; - case C.SelectModeChoice_domain: - return "domain-line"; - case C.SelectModeChoice_crossover: - return "crossover-curve"; - case C.SelectModeChoice_loopout: - return "loopout-curve"; - case C.SelectModeChoice_extension_: - return "extension-line"; - case C.SelectModeChoice_deletion: - return "deletion-cross"; - case C.SelectModeChoice_insertion: - return "insertion-curve"; - case C.SelectModeChoice_modification: - return "modification"; - case C.SelectModeChoice_strand: - return "strand"; - case C.SelectModeChoice_scaffold: - return "scaffold"; - case C.SelectModeChoice_staple: - return "staple"; - } - throw H.wrapException(P.AssertionError$("should not be reachable; unknown SelectModeChoice used: " + this.toString$0(0))); + set$_helix$_unused_fields(_unused_fields) { + this._helix$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - D._$SelectModeChoiceSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_SelectModeChoice._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + A._Helix_Object_BuiltJsonSerializable.prototype = {}; + A._Helix_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.HelixGroupMove.prototype = { + get$current_position() { + var _this = this, + nm_translation = _this.get$delta().$mul(0, _this.get$geometry(_this).get$svg_pixels_to_nm()), + t1 = _this.group.position, + t2 = type$.void_Function_Position3DBuilder._as(new A.HelixGroupMove_current_position_closure(_this, nm_translation)), + t3 = new A.Position3DBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Position3D); + t3._position3d$_$v = t1; + type$.nullable_void_Function_Position3DBuilder._as(t2).call$1(t3); + return t3._position3d$_build$0(); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return D._$valueOf8(H._asStringS(serialized)); + get$delta() { + return this.current_mouse_point.$sub(0, this.original_mouse_point); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + get$is_nontrivial() { + return !(this.get$delta().x === 0 && this.get$delta().y === 0); }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_SelectModeChoice_a75; + get$helix_idxs_in_group() { + var t2, t3, + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = this.helices, t2 = t2.get$values(t2), t3 = A._instanceType(t2), t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); t3.moveNext$0();) + t1.push(t3.__internal$_current.idx); + return A._BuiltList$of(t1, type$.int); }, - get$wireName: function() { - return "SelectModeChoice"; + get$geometry(_) { + var t2, + t1 = this.helices; + t1 = t1.get$values(t1); + t2 = J.get$first$ax(t1.__internal$_iterable); + return t1._f.call$1(t2).geometry; } }; - N.SelectModeState.prototype = { - get$strands_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_strand); - }, - get$linkers_selectable: function() { - var t1 = this.modes._set; - return t1.contains$1(0, C.SelectModeChoice_crossover) || t1.contains$1(0, C.SelectModeChoice_loopout); + A.HelixGroupMove_HelixGroupMove_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$_helix_group_move$_$this()._helix_group_move$_group_name = _this.group_name; + t1 = b.get$group(); + t2 = _this.group; + A.ArgumentError_checkNotNull(t2, "other", type$.HelixGroup); + t1._group$_$v = t2; + b.get$helices().replace$1(0, _this.helices); + t2 = type$.nullable_Point_double._as(_this.original_mouse_point); + b.get$_helix_group_move$_$this().set$_original_mouse_point(t2); + b.get$_helix_group_move$_$this().set$_current_mouse_point(t2); + return b; }, - get$ends_selectable: function() { - var t1 = this.modes._set; - return t1.contains$1(0, C.SelectModeChoice_end_3p_strand) || t1.contains$1(0, C.SelectModeChoice_end_5p_strand) || t1.contains$1(0, C.SelectModeChoice_end_3p_domain) || t1.contains$1(0, C.SelectModeChoice_end_5p_domain); + $signature: 375 + }; + A.HelixGroupMove_current_position_closure.prototype = { + call$1(b) { + var t1 = this.$this.group.position, + t2 = this.nm_translation, + t3 = t2.x; + if (typeof t3 !== "number") + return A.iae(t3); + b.get$_position3d$_$this()._z = t1.z + t3; + t2 = t2.y; + if (typeof t2 !== "number") + return A.iae(t2); + b.get$_position3d$_$this()._y = t1.y + t2; + return b; }, - get$domains_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_domain); + $signature: 376 + }; + A._$HelixGroupMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.HelixGroupMove._as(object); + return ["group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_yfz), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_Qc0), "original_mouse_point", serializers.serialize$2$specifiedType(object.original_mouse_point, B.FullType_laS), "current_mouse_point", serializers.serialize$2$specifiedType(object.current_mouse_point, B.FullType_laS)]; }, - get$extensions_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_extension_); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$deletions_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_deletion); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, value, t10, t11, t12, + result = new A.HelixGroupMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double, t3 = type$.MapBuilder_int_Helix, t4 = type$.HelixGroup, t5 = type$.nullable_ListBuilder_int, t6 = type$.int, t7 = type$.List_int, t8 = type$.ListBuilder_int; iterator.moveNext$0();) { + t9 = iterator.get$current(iterator); + t9.toString; + A._asStringS(t9); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t9) { + case "group_name": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9.toString; + A._asStringS(t9); + result.get$_helix_group_move$_$this()._helix_group_move$_group_name = t9; + break; + case "group": + t9 = result.get$_helix_group_move$_$this(); + t10 = t9._helix_group_move$_group; + if (t10 == null) { + t10 = new A.HelixGroupBuilder(); + t10.get$_group$_$this()._group$_grid = B.Grid_none; + t11 = $.$get$Position3D_origin(); + t11.toString; + t12 = new A.Position3DBuilder(); + t12._position3d$_$v = t11; + t10.get$_group$_$this()._group$_position = t12; + t10.get$_group$_$this()._pitch = 0; + t10.get$_group$_$this()._yaw = 0; + t10.get$_group$_$this()._group$_roll = 0; + t11 = new A.ListBuilder(t8); + t11.set$__ListBuilder__list_A(t7._as(A.List_List$from(B.List_empty, true, t6))); + t11.set$_listOwner(null); + t5._as(t11); + t10.get$_group$_$this().set$_group$_helices_view_order(t11); + t9._helix_group_move$_group = t10; + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t10.toString; + t4._as(t10); + t9._group$_$v = t10; + break; + case "helices": + t9 = result.get$_helix_group_move$_$this(); + t10 = t9._helix_group_move$_helices; + if (t10 == null) { + t10 = new A.MapBuilder(null, $, null, t3); + t10.replace$1(0, B.Map_empty); + t9.set$_helix_group_move$_helices(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t10.toString; + t9.replace$1(0, t10); + break; + case "original_mouse_point": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t9.toString; + t9 = t2._as(t1._as(t9)); + result.get$_helix_group_move$_$this().set$_original_mouse_point(t9); + break; + case "current_mouse_point": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t9.toString; + t9 = t2._as(t1._as(t9)); + result.get$_helix_group_move$_$this().set$_current_mouse_point(t9); + break; + } + } + return result._helix_group_move$_build$0(); }, - get$insertions_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_insertion); - }, - get$modifications_selectable: function() { - return this.modes._set.contains$1(0, C.SelectModeChoice_modification); - }, - add_mode$1: function(mode) { - N.SelectModeState_add_selectable_css_selectors(mode); - return this.rebuild$1(new N.SelectModeState_add_mode_closure(this, mode)); - }, - remove_mode$1: function(mode) { - N.SelectModeState_remove_selectable_css_selectors(mode); - return this.rebuild$1(new N.SelectModeState_remove_mode_closure(this, mode)); - }, - add_modes$1: function(new_modes) { - var t1; - type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); - for (t1 = J.get$iterator$ax(new_modes._list); t1.moveNext$0();) - N.SelectModeState_add_selectable_css_selectors(t1.get$current(t1)); - return this.rebuild$1(new N.SelectModeState_add_modes_closure(this, new_modes)); - }, - remove_modes$1: function(new_modes) { - var t1; - type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); - for (t1 = J.get$iterator$ax(new_modes); t1.moveNext$0();) - N.SelectModeState_remove_selectable_css_selectors(t1.get$current(t1)); - return this.rebuild$1(new N.SelectModeState_remove_modes_closure(this, new_modes)); - }, - set_modes$1: function(new_modes) { - var t1, t2, t3; - type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); - for (t1 = new_modes._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t1.contains$1(0, t3)) - N.SelectModeState_add_selectable_css_selectors(t3); - else - N.SelectModeState_remove_selectable_css_selectors(t3); - } - return this.rebuild$1(new N.SelectModeState_set_modes_closure(new_modes)); - } - }; - N.SelectModeState_add_mode_closure.prototype = { - call$1: function(s) { - var t2, t3, - t1 = this.$this.modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t1 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t2 = t2._precomputed1; - t3 = t2._as(this.mode); - !$.$get$isSoundMode() && !t2._is(null); - t1.get$_safeSet().add$1(0, t3); - type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t1); - s.get$_select_mode_state$_$this().set$_modes(t1); - return s; - }, - $signature: 76 - }; - N.SelectModeState_remove_mode_closure.prototype = { - call$1: function(s) { - var t2, - t1 = this.$this.modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t2.get$_safeSet().remove$1(0, this.mode); - type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); - s.get$_select_mode_state$_$this().set$_modes(t2); - return s; - }, - $signature: 76 - }; - N.SelectModeState_add_modes_closure.prototype = { - call$1: function(s) { - var t2, - t1 = this.$this.modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t2.addAll$1(0, this.new_modes); - type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); - s.get$_select_mode_state$_$this().set$_modes(t2); - return s; - }, - $signature: 76 - }; - N.SelectModeState_remove_modes_closure.prototype = { - call$1: function(s) { - var t2, - t1 = this.$this.modes; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - t2.get$_safeSet().removeAll$1(this.new_modes); - type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); - s.get$_select_mode_state$_$this().set$_modes(t2); - return s; - }, - $signature: 76 - }; - N.SelectModeState_set_modes_closure.prototype = { - call$1: function(s) { - var t1 = X.SetBuilder_SetBuilder(this.new_modes, type$.legacy_SelectModeChoice); - type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t1); - s.get$_select_mode_state$_$this().set$_modes(t1); - return t1; - }, - $signature: 389 - }; - N._$SelectModeStateSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["modes", serializers.serialize$2$specifiedType(type$.legacy_SelectModeState._as(object).modes, C.FullType_2aQ)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, t1, iterator, t2, key, value, $$v, t3, t4; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new N.SelectModeStateBuilder(); - t1 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); - result.get$_select_mode_state$_$this().set$_modes(t1); - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "modes": - $$v = result._select_mode_state$_$v; - if ($$v != null) { - t3 = $$v.modes; - t3.toString; - t4 = t3.$ti; - t4._eval$1("_BuiltSet<1>")._as(t3); - result.set$_modes(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); - result._select_mode_state$_$v = null; - } - t3 = result._modes; - if (t3 == null) { - t3 = new X.SetBuilder(null, $, null, t2); - t3.replace$1(0, C.List_empty); - result.set$_modes(t3); - } - t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2aQ))); - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_qLL; + get$types() { + return B.List_sxw; }, - get$wireName: function() { - return "SelectModeState"; + get$wireName() { + return "HelixGroupMove"; } }; - N._$SelectModeState.prototype = { - get$domains_selectable: function() { - var t1 = this.__domains_selectable; - return t1 == null ? this.__domains_selectable = N.SelectModeState.prototype.get$domains_selectable.call(this) : t1; + A._$HelixGroupMove.prototype = { + get$current_position() { + var t1 = this.__current_position; + return t1 == null ? this.__current_position = A.HelixGroupMove.prototype.get$current_position.call(this) : t1; }, - get$deletions_selectable: function() { - var t1 = this.__deletions_selectable; - return t1 == null ? this.__deletions_selectable = N.SelectModeState.prototype.get$deletions_selectable.call(this) : t1; + get$delta() { + var t1 = this.__delta; + if (t1 == null) { + t1 = A.HelixGroupMove.prototype.get$delta.call(this); + this.set$__delta(t1); + } + return t1; }, - get$insertions_selectable: function() { - var t1 = this.__insertions_selectable; - return t1 == null ? this.__insertions_selectable = N.SelectModeState.prototype.get$insertions_selectable.call(this) : t1; + get$helix_idxs_in_group() { + var t1 = this._helix_group_move$__helix_idxs_in_group; + if (t1 == null) { + t1 = A.HelixGroupMove.prototype.get$helix_idxs_in_group.call(this); + this.set$_helix_group_move$__helix_idxs_in_group(t1); + } + return t1; }, - rebuild$1: function(updates) { - var t1, t2; - type$.legacy_void_Function_legacy_SelectModeStateBuilder._as(updates); - t1 = new N.SelectModeStateBuilder(); - t2 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); - t1.get$_select_mode_state$_$this().set$_modes(t2); - t1._select_mode_state$_$v = this; - updates.call$1(t1); - return t1.build$0(); + get$geometry(_) { + var _this = this, + t1 = _this.__geometry; + return t1 == null ? _this.__geometry = A.HelixGroupMove.prototype.get$geometry.call(_this, _this) : t1; }, - $eq: function(_, other) { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof N.SelectModeState && J.$eq$(this.modes, other.modes); + return other instanceof A.HelixGroupMove && _this.group_name === other.group_name && J.$eq$(_this.group, other.group) && J.$eq$(_this.helices, other.helices) && _this.original_mouse_point.$eq(0, other.original_mouse_point) && _this.current_mouse_point.$eq(0, other.current_mouse_point); }, - get$hashCode: function(_) { - var t1 = this._select_mode_state$__hashCode; - return t1 == null ? this._select_mode_state$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.modes))) : t1; + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._helix_group_move$__hashCode; + if (t1 != null) + return t1; + t1 = _this.original_mouse_point; + t2 = _this.current_mouse_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.group_name)), J.get$hashCode$(_this.group)), J.get$hashCode$(_this.helices)), A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y), 0))); + t2 = _this._helix_group_move$__hashCode; + if (t2 == null) { + _this._helix_group_move$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeState"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMove"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modes", this.modes); + t2.add$2(t1, "group_name", _this.group_name); + t2.add$2(t1, "group", _this.group); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "original_mouse_point", _this.original_mouse_point); + t2.add$2(t1, "current_mouse_point", _this.current_mouse_point); return t2.toString$0(t1); + }, + set$__delta(__delta) { + this.__delta = type$.nullable_Point_double._as(__delta); + }, + set$_helix_group_move$__helix_idxs_in_group(__helix_idxs_in_group) { + this._helix_group_move$__helix_idxs_in_group = type$.nullable_BuiltList_int._as(__helix_idxs_in_group); } }; - N.SelectModeStateBuilder.prototype = { - get$modes: function() { - var t1 = this.get$_select_mode_state$_$this(), - t2 = t1._modes; + A.HelixGroupMoveBuilder.prototype = { + get$group() { + var t1 = this.get$_helix_group_move$_$this(), + t2 = t1._helix_group_move$_group; if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); - t1.set$_modes(t2); + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + t1._helix_group_move$_group = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helices() { + var t1 = this.get$_helix_group_move$_$this(), + t2 = t1._helix_group_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + t1.set$_helix_group_move$_helices(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_select_mode_state$_$this: function() { + get$_helix_group_move$_$this() { var t1, t2, _this = this, - $$v = _this._select_mode_state$_$v; + $$v = _this._helix_group_move$_$v; if ($$v != null) { - t1 = $$v.modes; + _this._helix_group_move$_group_name = $$v.group_name; + t1 = $$v.group; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - _this._select_mode_state$_$v = null; + t2 = new A.HelixGroupBuilder(); + A.HelixGroup__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.HelixGroup); + t2._group$_$v = t1; + _this._helix_group_move$_group = t2; + t2 = $$v.helices; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_helix_group_move$_helices(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this.set$_original_mouse_point($$v.original_mouse_point); + _this.set$_current_mouse_point($$v.current_mouse_point); + _this._helix_group_move$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s15_ = "SelectModeState", + _helix_group_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, + _s14_ = "HelixGroupMove", + _s10_ = "group_name", + _s20_ = "original_mouse_point", + _s19_ = "current_mouse_point", _$result = null; try { - _$result0 = _this._select_mode_state$_$v; + _$result0 = _this._helix_group_move$_$v; if (_$result0 == null) { - t1 = _this.get$modes().build$0(); - _$result0 = new N._$SelectModeState(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modes")); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix_group_move$_$this()._helix_group_move$_group_name, _s14_, _s10_, t1); + t3 = _this.get$group()._group$_build$0(); + t4 = _this.get$helices().build$0(); + t5 = type$.Point_double; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix_group_move$_$this()._original_mouse_point, _s14_, _s20_, t5); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_helix_group_move$_$this()._current_mouse_point, _s14_, _s19_, t5); + _$result0 = new A._$HelixGroupMove(t2, t3, t4, t6, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, _s10_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s14_, "group", type$.HelixGroup); + A.BuiltValueNullFieldError_checkNotNull(t4, _s14_, "helices", type$.BuiltMap_int_Helix); + A.BuiltValueNullFieldError_checkNotNull(t6, _s14_, _s20_, t5); + A.BuiltValueNullFieldError_checkNotNull(t7, _s14_, _s19_, t5); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "modes"; - _this.get$modes().build$0(); + _$failedField._value = "group"; + _this.get$group()._group$_build$0(); + _$failedField._value = "helices"; + _this.get$helices().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectModeState._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._select_mode_state$_$v = t1; + t1 = type$.HelixGroupMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._helix_group_move$_$v = t2; return _$result; }, - set$_modes: function(_modes) { - this._modes = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(_modes); - } - }; - E.SelectablesStore.prototype = { - get$selected_strands: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_strands_closure())), type$.legacy_Strand); + set$_helix_group_move$_helices(_helices) { + this._helix_group_move$_helices = type$.nullable_MapBuilder_int_Helix._as(_helices); }, - get$selected_crossovers: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_crossovers_closure())), type$.legacy_Crossover); + set$_original_mouse_point(_original_mouse_point) { + this._original_mouse_point = type$.nullable_Point_double._as(_original_mouse_point); }, - get$selected_loopouts: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_loopouts_closure())), type$.legacy_Loopout); + set$_current_mouse_point(_current_mouse_point) { + this._current_mouse_point = type$.nullable_Point_double._as(_current_mouse_point); + } + }; + A._HelixGroupMove_Object_BuiltJsonSerializable.prototype = {}; + A.LocalStorageDesignOption.prototype = {}; + A.LocalStorageDesignChoice.prototype = { + to_on_edit$0() { + return this.rebuild$1(new A.LocalStorageDesignChoice_to_on_edit_closure()); }, - get$selected_extensions: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_extensions_closure())), type$.legacy_Extension); + to_on_exit$0() { + return this.rebuild$1(new A.LocalStorageDesignChoice_to_on_exit_closure()); }, - get$selected_domains: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_domains_closure())), type$.legacy_Domain); + to_never$0() { + return this.rebuild$1(new A.LocalStorageDesignChoice_to_never_closure()); }, - get$selected_dna_ends: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_closure())), type$.legacy_DNAEnd); + to_periodic$0() { + return this.rebuild$1(new A.LocalStorageDesignChoice_to_periodic_closure()); }, - get$selected_dna_ends_on_domains: function() { - var t1 = this.get$selected_dna_ends(); - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_on_domains_closure())), type$.legacy_DNAEnd); + change_period$1(new_period) { + return this.rebuild$1(new A.LocalStorageDesignChoice_change_period_closure(new_period)); + } + }; + A.LocalStorageDesignChoice_LocalStorageDesignChoice_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._option = this.option; + b.get$_local_storage_design_choice$_$this()._period_seconds = this.period_seconds; + return b; }, - get$selected_dna_ends_on_extensions: function() { - var t1 = this.get$selected_dna_ends(); - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_on_extensions_closure())), type$.legacy_DNAEnd); + $signature: 377 + }; + A.LocalStorageDesignChoice_to_on_edit_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._option = B.LocalStorageDesignOption_on_edit; + return b; }, - get$selected_deletions: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_deletions_closure())), type$.legacy_SelectableDeletion); + $signature: 58 + }; + A.LocalStorageDesignChoice_to_on_exit_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._option = B.LocalStorageDesignOption_on_exit; + return b; }, - get$selected_insertions: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_insertions_closure())), type$.legacy_SelectableInsertion); + $signature: 58 + }; + A.LocalStorageDesignChoice_to_never_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._option = B.LocalStorageDesignOption_never; + return b; }, - get$selected_modifications: function() { - var t1 = this.selected_items; - t1.toString; - return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_modifications_closure())), type$.legacy_SelectableModification); + $signature: 58 + }; + A.LocalStorageDesignChoice_to_periodic_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._option = B.LocalStorageDesignOption_periodic; + return b; }, - select$2$only: function(_, selectable, only) { - var t2, selected_items_builder, - t1 = this.selected_items; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - if (only) - selected_items_builder.get$_safeSet().clear$0(0); - t1 = t2._precomputed1; - t1._as(selectable); - !$.$get$isSoundMode() && !t1._is(null); - selected_items_builder.get$_safeSet().add$1(0, selectable); - return this.rebuild$1(new E.SelectablesStore_select_closure(selected_items_builder)); + $signature: 58 + }; + A.LocalStorageDesignChoice_change_period_closure.prototype = { + call$1(b) { + b.get$_local_storage_design_choice$_$this()._period_seconds = this.new_period; + return b; }, - select$1: function($receiver, selectable) { - return this.select$2$only($receiver, selectable, false); + $signature: 58 + }; + A._$LocalStorageDesignOptionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.LocalStorageDesignOption._as(object).name; }, - unselect$1: function(selectable) { - var t2, selected_items_builder, - t1 = this.selected_items; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - selected_items_builder.get$_safeSet().remove$1(0, selectable); - return this.rebuild$1(new E.SelectablesStore_unselect_closure(selected_items_builder)); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - clear$0: function(_) { - return this.rebuild$1(new E.SelectablesStore_clear_closure()); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf6(A._asStringS(serialized)); }, - select_all$2$only: function(selectables, only) { - var t1, t2, selected_items_builder; - type$.legacy_Iterable_legacy_Selectable._as(selectables); - t1 = this.selected_items; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); - if (only) - selected_items_builder.get$_safeSet().clear$0(0); - selected_items_builder.addAll$1(0, selectables); - return this.rebuild$1(new E.SelectablesStore_select_all_closure(selected_items_builder)); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - select_all$1: function(selectables) { - return this.select_all$2$only(selectables, false); + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_LocalStorageDesignOption_xgQ; }, - toggle$1: function(_, selectable) { - if (this.selected_items._set.contains$1(0, selectable)) - return this.unselect$1(selectable); - else - return this.select$1(0, selectable); + get$wireName() { + return "LocalStorageDesignOption"; + } + }; + A._$LocalStorageDesignChoiceSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.LocalStorageDesignChoice._as(object); + return ["option", serializers.serialize$2$specifiedType(object.option, B.FullType_kOK), "period_seconds", serializers.serialize$2$specifiedType(object.period_seconds, B.FullType_kjq)]; }, - toggle_all$1: function(selectables) { - var t1, t2, t3, selected_items_builder, t4, t5; - type$.legacy_Iterable_legacy_Selectable._as(selectables); - t1 = this.selected_items; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - t3 = t1._set; - selected_items_builder = new X.SetBuilder(t1._setFactory, t3, t1, t2._eval$1("SetBuilder<1>")); - for (t1 = J.get$iterator$ax(selectables._list), t2 = t2._precomputed1, t4 = !t2._is(null); t1.moveNext$0();) { - t5 = t1.get$current(t1); - if (t3.contains$1(0, t5)) - selected_items_builder.get$_safeSet().remove$1(0, t5); - else { - t2._as(t5); - if (!$.$get$isSoundMode() && t4) - if (t5 == null) - H.throwExpression(P.ArgumentError$("null element")); - selected_items_builder.get$_safeSet().add$1(0, t5); - } - } - return this.rebuild$1(new E.SelectablesStore_toggle_all_closure(selected_items_builder)); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - selected_ends_in_strand$1: function(strand) { - var t3, t4, t5, t6, _i, end, _this = this, - t1 = type$.legacy_DNAEnd, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = J.get$iterator$ax(strand.get$domains()._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = t4.forward; - if (t5) { - t6 = t4.__dnaend_start; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_start.call(t4); - t4.__dnaend_start = t6; - } - } else { - t6 = t4.__dnaend_end; - if (t6 == null) { - t6 = G.Domain.prototype.get$dnaend_end.call(t4); - t4.__dnaend_end = t6; - } - } - if (t5) { - t5 = t4.__dnaend_end; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_end.call(t4); - t4.__dnaend_end = t5; - t4 = t5; - } else - t4 = t5; - } else { - t5 = t4.__dnaend_start; - if (t5 == null) { - t5 = G.Domain.prototype.get$dnaend_start.call(t4); - t4.__dnaend_start = t5; - t4 = t5; - } else - t4 = t5; - } - t4 = [t6, t4]; - _i = 0; - for (; _i < 2; ++_i) { - end = t4[_i]; - t5 = _this.__selected_dna_ends; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_dna_ends.call(_this); - _this.set$__selected_dna_ends(t5); - } - if (t5._set.contains$1(0, end)) - t2.add$1(0, end); - } - } - for (t3 = J.get$iterator$ax(strand.get$extensions(strand)._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = _this.__selected_dna_ends; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_dna_ends.call(_this); - _this.set$__selected_dna_ends(t5); - } - t6 = t4.__dnaend_free; - if (t6 == null) - t6 = t4.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t4); - if (t5._set.contains$1(0, t6)) { - t5 = t4.__dnaend_free; - t2.add$1(0, t5 == null ? t4.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t4) : t5); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, $$v, + result = new A.LocalStorageDesignChoiceBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.LocalStorageDesignOption; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "option": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kOK); + t2.toString; + t1._as(t2); + $$v = result._local_storage_design_choice$_$v; + if ($$v != null) { + result._option = $$v.option; + result._period_seconds = $$v.period_seconds; + result._local_storage_design_choice$_$v = null; + } + result._option = t2; + break; + case "period_seconds": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + $$v = result._local_storage_design_choice$_$v; + if ($$v != null) { + result._option = $$v.option; + result._period_seconds = $$v.period_seconds; + result._local_storage_design_choice$_$v = null; + } + result._period_seconds = t2; + break; } } - return X._BuiltSet$of(t2, t1); + return result._local_storage_design_choice$_build$0(); }, - selected_crossovers_in_strand$1: function(strand) { - var t3, t4, t5, - t1 = type$.legacy_Crossover, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = J.get$iterator$ax(strand.get$crossovers()._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = this.__selected_crossovers; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_crossovers.call(this); - this.set$__selected_crossovers(t5); - } - if (t5._set.contains$1(0, t4)) - t2.add$1(0, t4); - } - return X._BuiltSet$of(t2, t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - selected_loopouts_in_strand$1: function(strand) { - var t3, t4, t5, - t1 = type$.legacy_Loopout, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = J.get$iterator$ax(strand.get$loopouts()._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = this.__selected_loopouts; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_loopouts.call(this); - this.set$__selected_loopouts(t5); - } - if (t5._set.contains$1(0, t4)) - t2.add$1(0, t4); - } - return X._BuiltSet$of(t2, t1); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_OzL; }, - selected_extensions_in_strand$1: function(strand) { - var t3, t4, t5, - t1 = type$.legacy_Extension, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = J.get$iterator$ax(strand.get$extensions(strand)._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = this.__selected_extensions; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_extensions.call(this); - this.set$__selected_extensions(t5); - } - if (t5._set.contains$1(0, t4)) - t2.add$1(0, t4); - } - return X._BuiltSet$of(t2, t1); + get$wireName() { + return "LocalStorageDesignChoice"; + } + }; + A._$LocalStorageDesignChoice.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_LocalStorageDesignChoiceBuilder._as(updates); + t1 = new A.LocalStorageDesignChoiceBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.LocalStorageDesignChoice); + t1._local_storage_design_choice$_$v = this; + type$.nullable_void_Function_LocalStorageDesignChoiceBuilder._as(updates).call$1(t1); + return t1._local_storage_design_choice$_build$0(); }, - selected_domains_in_strand$1: function(strand) { - var t3, t4, t5, - t1 = type$.legacy_Domain, - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = J.get$iterator$ax(strand.get$domains()._list); t3.moveNext$0();) { - t4 = t3.get$current(t3); - t5 = this.__selected_domains; - if (t5 == null) { - t5 = E.SelectablesStore.prototype.get$selected_domains.call(this); - this.set$__selected_domains(t5); - } - if (t5._set.contains$1(0, t4)) - t2.add$1(0, t4); - } - return X._BuiltSet$of(t2, t1); + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.LocalStorageDesignChoice && this.option === other.option && this.period_seconds === other.period_seconds; }, - selected_deletions_in_strand$1: function(strand) { - var t2, t3, t4, t5, t6, t7, - t1 = type$.legacy_SelectableDeletion, - deletions = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - for (t4 = J.get$iterator$ax(t3.deletions._list); t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = this.__selected_deletions; - if (t6 == null) { - t6 = E.SelectablesStore.prototype.get$selected_deletions.call(this); - this.set$__selected_deletions(t6); - } - t6 = t6._set; - t6 = t6.get$iterator(t6); - for (; t6.moveNext$0();) { - t7 = t6.get$current(t6); - if (t7.offset == t5 && J.$eq$(t7.domain, t3)) - deletions.add$1(0, t7); - } - } - } - return X._BuiltSet$of(deletions, t1); + get$hashCode(_) { + return A.$jf(A.$jc(A.$jc(0, A.Primitives_objectHashCode(this.option)), B.JSInt_methods.get$hashCode(this.period_seconds))); }, - selected_insertions_in_strand$1: function(strand) { - var t2, t3, t4, t5, t6, t7, - t1 = type$.legacy_SelectableInsertion, - insertions = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - for (t4 = J.get$iterator$ax(t3.insertions._list); t4.moveNext$0();) { - t5 = t4.get$current(t4); - t6 = this.__selected_insertions; - if (t6 == null) { - t6 = E.SelectablesStore.prototype.get$selected_insertions.call(this); - this.set$__selected_insertions(t6); - } - t6 = t6._set; - t6 = t6.get$iterator(t6); - for (; t6.moveNext$0();) { - t7 = t6.get$current(t6); - if (J.$eq$(t7.insertion, t5) && J.$eq$(t7.domain, t3)) - insertions.add$1(0, t7); - } - } + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoice"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "option", this.option); + t2.add$2(t1, "period_seconds", this.period_seconds); + return t2.toString$0(t1); + } + }; + A.LocalStorageDesignChoiceBuilder.prototype = { + get$_local_storage_design_choice$_$this() { + var _this = this, + $$v = _this._local_storage_design_choice$_$v; + if ($$v != null) { + _this._option = $$v.option; + _this._period_seconds = $$v.period_seconds; + _this._local_storage_design_choice$_$v = null; } - return X._BuiltSet$of(insertions, t1); + return _this; }, - selected_modifications_in_strand$1: function(strand) { - var t2, t3, t4, t5, - t1 = type$.legacy_SelectableModification, - modifications = P.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t2 = this.get$selected_modifications()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3.get$strand(); - t5 = t4.__id; - t4 = t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5; - t5 = strand.__id; - if (t4 === (t5 == null ? strand.__id = E.Strand.prototype.get$id.call(strand, strand) : t5)) - modifications.add$1(0, t3); + _local_storage_design_choice$_build$0() { + var t1, t2, t3, t4, _this = this, + _s24_ = "LocalStorageDesignChoice", + _s14_ = "period_seconds", + _$result = _this._local_storage_design_choice$_$v; + if (_$result == null) { + t1 = type$.LocalStorageDesignOption; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_local_storage_design_choice$_$this()._option, _s24_, "option", t1); + t3 = type$.int; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_local_storage_design_choice$_$this()._period_seconds, _s24_, _s14_, t3); + _$result = new A._$LocalStorageDesignChoice(t2, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s24_, "option", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s24_, _s14_, t3); } - return X._BuiltSet$of(modifications, t1); + A.ArgumentError_checkNotNull(_$result, "other", type$.LocalStorageDesignChoice); + return _this._local_storage_design_choice$_$v = _$result; } }; - E.SelectablesStore_selected_strands_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof E.Strand; - }, - $signature: 13 - }; - E.SelectablesStore_selected_crossovers_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof T.Crossover; - }, - $signature: 13 - }; - E.SelectablesStore_selected_loopouts_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof G.Loopout; - }, - $signature: 13 - }; - E.SelectablesStore_selected_extensions_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof S.Extension; + A._LocalStorageDesignChoice_Object_BuiltJsonSerializable.prototype = {}; + A.Loopout.prototype = { + get$next_domain_idx() { + return this.prev_domain_idx + 2; }, - $signature: 13 - }; - E.SelectablesStore_selected_domains_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof G.Domain; + set_dna_sequence$1(seq) { + return this.rebuild$1(new A.Loopout_set_dna_sequence_closure(seq)); }, - $signature: 13 - }; - E.SelectablesStore_selected_dna_ends_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof Z.DNAEnd; + is_domain$0() { + return false; }, - $signature: 13 - }; - E.SelectablesStore_selected_dna_ends_on_domains_closure.prototype = { - call$1: function(end) { - return !type$.legacy_DNAEnd._as(end).is_on_extension; + is_loopout$0() { + return true; }, - $signature: 134 - }; - E.SelectablesStore_selected_dna_ends_on_extensions_closure.prototype = { - call$1: function(end) { - return type$.legacy_DNAEnd._as(end).is_on_extension; + get$select_mode() { + return B.SelectModeChoice_loopout; }, - $signature: 134 - }; - E.SelectablesStore_selected_deletions_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof E.SelectableDeletion; + get$id(_) { + return "loopout-" + (this.prev_domain_idx + 1) + "-" + this.strand_id; }, - $signature: 13 - }; - E.SelectablesStore_selected_insertions_closure.prototype = { - call$1: function(s) { - return type$.legacy_Selectable._as(s) instanceof E.SelectableInsertion; + dna_length$0() { + return this.loopout_num_bases; }, - $signature: 13 - }; - E.SelectablesStore_selected_modifications_closure.prototype = { - call$1: function(s) { - return type$.legacy_SelectableModification._is(type$.legacy_Selectable._as(s)); + type_description$0() { + return "loopout"; }, - $signature: 13 - }; - E.SelectablesStore_select_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); - s.get$_selectable$_$this().set$_selected_items(t1); - return s; + to_json_serializable$1$suppress_indent(suppress_indent) { + var t2, t3, _this = this, + json_map = A.LinkedHashMap_LinkedHashMap$_literal(["loopout", _this.loopout_num_bases], type$.String, type$.dynamic), + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new A.NoIndent(json_map) : json_map; }, - $signature: 46 + $isLinker: 1, + $isSelectable: 1, + $isSubstrand: 1 }; - E.SelectablesStore_unselect_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); - s.get$_selectable$_$this().set$_selected_items(t1); - return s; + A.Loopout_Loopout_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_loopout$_$this()._loopout_num_bases = _this.loopout_num_bases; + b.get$_loopout$_$this()._prev_domain_idx = _this.prev_domain_idx; + b.get$_loopout$_$this()._loopout$_is_scaffold = _this.is_scaffold; + b.get$_loopout$_$this()._loopout$_dna_sequence = _this.dna_sequence; + b.get$_loopout$_$this()._loopout$_color = _this.color; + b.get$_loopout$_$this()._loopout$_name = _this.name; + b.get$_loopout$_$this()._loopout$_label = _this.label; + b.get$_loopout$_$this()._loopout$_strand_id = _this.strand_id; + t1 = type$.dynamic; + t1 = type$.nullable_MapBuilder_String_dynamic._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.String, type$.Object)); + b.get$_loopout$_$this().set$_loopout$_unused_fields(t1); + return b; }, - $signature: 46 + $signature: 379 }; - E.SelectablesStore_clear_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable)); - s.get$_selectable$_$this().set$_selected_items(t1); - return s; + A.Loopout_set_dna_sequence_closure.prototype = { + call$1(loopout) { + loopout.get$_loopout$_$this()._loopout$_dna_sequence = this.seq; + return loopout; }, - $signature: 46 + $signature: 28 }; - E.SelectablesStore_select_all_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); - s.get$_selectable$_$this().set$_selected_items(t1); - return s; - }, - $signature: 46 - }; - E.SelectablesStore_toggle_all_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); - s.get$_selectable$_$this().set$_selected_items(t1); - return s; - }, - $signature: 46 - }; - E.SelectableDeletion.prototype = { - get$select_mode: function() { - return C.SelectModeChoice_deletion; + A._$LoopoutSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.Loopout._as(object); + result = ["loopout_num_bases", serializers.serialize$2$specifiedType(object.loopout_num_bases, B.FullType_kjq), "prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, B.FullType_kjq), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_h8g), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR)]; + value = object.name; + if (value != null) { + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.label; + if (value != null) { + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.dna_sequence; + if (value != null) { + result.push("dna_sequence"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.color; + if (value != null) { + result.push("color"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); + } + return result; }, - get$id: function(_) { - var t1 = this.domain, - t2 = "deletion-H" + t1.helix + "-O" + H.S(this.offset) + "-"; - return t2 + (t1.forward ? "forward" : "reverse"); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - $isSelectable: 1 - }; - E.SelectableInsertion.prototype = { - get$select_mode: function() { - return C.SelectModeChoice_insertion; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, + result = new A.LoopoutBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Color; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "loopout_num_bases": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_loopout$_$this()._loopout_num_bases = t2; + break; + case "name": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_name = t2; + break; + case "label": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_label = t2; + break; + case "prev_domain_idx": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_loopout$_$this()._prev_domain_idx = t2; + break; + case "dna_sequence": + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_dna_sequence = t2; + break; + case "color": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + result.get$_loopout$_$this()._loopout$_color = t2; + break; + case "strand_id": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + result.get$_loopout$_$this()._loopout$_strand_id = t2; + break; + case "is_scaffold": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_loopout$_$this()._loopout$_is_scaffold = t2; + break; + } + } + return result._loopout$_build$0(); }, - get$id: function(_) { - var t1 = this.domain, - t2 = this.insertion.offset; - t2 = "insertion-H" + t1.helix + "-O" + t2 + "-"; - return t2 + (t1.forward ? "forward" : "reverse"); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$id_group: function() { - return this.get$id(this) + "-group"; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_2ad; }, - $isSelectable: 1 + get$wireName() { + return "Loopout"; + } }; - E.SelectableModification.prototype = { - get$is_scaffold: function() { - return this.get$strand().is_scaffold; - }, - get$select_mode: function() { - return C.SelectModeChoice_modification; + A._$Loopout.prototype = { + get$next_domain_idx() { + var t1 = this.__next_domain_idx; + return t1 == null ? this.__next_domain_idx = A.Loopout.prototype.get$next_domain_idx.call(this) : t1; }, - $isSelectable: 1 - }; - E.SelectableModification5Prime.prototype = { - get$address: function() { - var dom = this.strand.get$first_domain(), - t1 = dom.helix, - t2 = dom.get$offset_5p(); - return Z._$Address$_(dom.forward, t1, t2); + get$select_mode() { + var t1 = this._loopout$__select_mode; + return t1 == null ? this._loopout$__select_mode = A.Loopout.prototype.get$select_mode.call(this) : t1; }, - get$id: function(_) { - var t1 = this.strand; - return "modification-5p-" + t1.get$id(t1); + get$id(_) { + var _this = this, + t1 = _this._loopout$__id; + return t1 == null ? _this._loopout$__id = A.Loopout.prototype.get$id.call(_this, _this) : t1; }, - $isSelectable: 1 - }; - E.SelectableModification3Prime.prototype = { - get$address: function() { - var dom = this.strand.get$last_domain(), - t1 = dom.helix, - t2 = dom.get$offset_3p(); - return Z._$Address$_(dom.forward, t1, t2); + rebuild$1(updates) { + var t1; + type$.void_Function_LoopoutBuilder._as(updates); + t1 = new A.LoopoutBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Loopout); + t1._loopout$_$v = this; + type$.nullable_void_Function_LoopoutBuilder._as(updates).call$1(t1); + return t1._loopout$_build$0(); }, - get$id: function(_) { - var t1 = this.strand; - return "modification-3p-" + t1.get$id(t1); + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.Loopout && _this.loopout_num_bases === other.loopout_num_bases && _this.name == other.name && _this.label == other.label && _this.prev_domain_idx === other.prev_domain_idx && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id === other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.unused_fields, other.unused_fields); }, - $isSelectable: 1 - }; - E.SelectableModificationInternal.prototype = { - get$offset: function(_) { - var t1 = this.dna_idx, - t2 = this.domain, - t3 = this.strand.get_seq_start_idx$1(t2); - if (typeof t1 !== "number") - return t1.$sub(); - return t2.substrand_dna_idx_to_substrand_offset$2(t1 - t3, t2.forward); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._loopout$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.loopout_num_bases)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), B.JSInt_methods.get$hashCode(_this.prev_domain_idx)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), B.JSString_methods.get$hashCode(_this.strand_id)), B.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._loopout$__hashCode; + if (t1 == null) { + _this._loopout$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - get$address: function() { - var t1 = this.domain, - t2 = t1.helix, - t3 = this.get$offset(this); - return Z._$Address$_(t1.forward, t2, t3); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Loopout"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "loopout_num_bases", _this.loopout_num_bases); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); }, - get$id: function(_) { - var t1 = this.strand, - t2 = this.get$address(), - t3 = "modification-int-H" + H.S(t2.helix_idx) + "-" + H.S(t2.offset) + "-"; - return t3 + (H.boolConversionCheck(t2.forward) ? "forward" : "reverse") + "-" + t1.get$id(t1); + get$label(receiver) { + return this.label; }, - $isSelectable: 1 - }; - E.SelectableMixin.prototype = { - handle_selection_mouse_down$1: function($event) { - var t1, t2; - if ($event.button === 0) { - t1 = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey); - t2 = $.app; - if (t1) - t2.dispatch$1(U.Select_Select(this, false, true)); - else - t2.dispatch$1(U.Select_Select(this, false, false)); - } + get$prev_domain_idx() { + return this.prev_domain_idx; }, - handle_selection_mouse_up$1: function($event) { - if ($event.button === 0) - if (!(H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey))) - $.app.dispatch$1(U.Select_Select(this, true, false)); + get$dna_sequence() { + return this.dna_sequence; }, - $isSelectable: 1 - }; - E.SelectableTrait.prototype = { - get$description: function(_) { - var _this = this; - if (_this === C.SelectableTrait_strand_name) - return "name"; - if (_this === C.SelectableTrait_strand_label) - return "label"; - if (_this === C.SelectableTrait_color) - return "color"; - if (_this === C.SelectableTrait_modification_5p) - return "5' modification"; - if (_this === C.SelectableTrait_modification_3p) - return "3' modification"; - if (_this === C.SelectableTrait_modification_int) - return "internal modification"; - if (_this === C.SelectableTrait_dna_sequence) - return "DNA sequence"; - if (_this === C.SelectableTrait_vendor_fields) - return "vendor fields"; - if (_this === C.SelectableTrait_circular) - return "circular"; - if (_this === C.SelectableTrait_helices) - return "helices"; - throw H.wrapException(P.AssertionError$("unrecognized trait " + _this.toString$0(0))); + get$color(receiver) { + return this.color; }, - trait_of_strand$1: function(strand) { - var t1, t2, _this = this; - if (_this === C.SelectableTrait_strand_name) - return strand.name; - if (_this === C.SelectableTrait_strand_label) - return strand.label; - if (_this === C.SelectableTrait_color) - return strand.color; - if (_this === C.SelectableTrait_modification_5p) - return strand.modification_5p; - if (_this === C.SelectableTrait_modification_3p) - return strand.modification_3p; - if (_this === C.SelectableTrait_modification_int) - return strand.modifications_int; - if (_this === C.SelectableTrait_dna_sequence) - return strand.get$dna_sequence(); - if (_this === C.SelectableTrait_vendor_fields) - return strand.vendor_fields; - if (_this === C.SelectableTrait_circular) - return strand.circular; - if (_this === C.SelectableTrait_helices) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); - for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) - t1.push(t2.get$current(t2).helix); - return t1; - } - throw H.wrapException(P.AssertionError$("unrecognized trait " + _this.toString$0(0))); + get$strand_id() { + return this.strand_id; }, - matches$2: function(_, v1, v2) { - var t2, t3, t4, _this = this, - t1 = v1 == null; - if (t1 && v2 == null) - return true; - else if (t1 && v2 != null) - return false; - else if (!t1 && v2 == null) - return false; - if (_this === C.SelectableTrait_modification_5p || _this === C.SelectableTrait_modification_3p) { - t1 = type$.legacy_Modification; - t1._as(v1); - t1._as(v2); - return v1.get$vendor_code() === v2.get$vendor_code(); - } else if (_this === C.SelectableTrait_modification_int) { - t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal; - t1._as(v1); - t1._as(v2); - for (t1 = J.get$iterator$ax(v1.get$values(v1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (v2._values == null) - v2.set$_values(J.get$values$x(v2._map$_map)); - t3 = v2._values; - t3.toString; - t3 = J.get$iterator$ax(t3); - for (; t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (t2.vendor_code === t4.vendor_code) - return true; - } - } - return false; - } else if (_this === C.SelectableTrait_helices) { - t1 = type$.legacy_List_legacy_int; - t1._as(v1); - t1._as(v2); - for (t1 = J.get$iterator$ax(v1), t2 = J.getInterceptor$ax(v2); t1.moveNext$0();) { - t3 = t1.get$current(t1); - for (t4 = t2.get$iterator(v2); t4.moveNext$0();) - if (t3 == t4.get$current(t4)) - return true; - } - return false; - } else - return J.$eq$(v1, v2); + get$is_scaffold() { + return this.is_scaffold; } }; - E._$SelectablesStoreSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return H.setRuntimeTypeInfo(["selected_items", serializers.serialize$2$specifiedType(type$.legacy_SelectablesStore._as(object).selected_items, C.FullType_zrt)], type$.JSArray_legacy_Object); + A.LoopoutBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_loopout$_$this(), + t2 = t1._loopout$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_loopout$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$_loopout$_$this() { + var t1, t2, _this = this, + $$v = _this._loopout$_$v; + if ($$v != null) { + _this._loopout_num_bases = $$v.loopout_num_bases; + _this._loopout$_name = $$v.name; + _this._loopout$_label = $$v.label; + _this._prev_domain_idx = $$v.prev_domain_idx; + _this._loopout$_dna_sequence = $$v.dna_sequence; + _this._loopout$_color = $$v.color; + _this._loopout$_strand_id = $$v.strand_id; + _this._loopout$_is_scaffold = $$v.is_scaffold; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_loopout$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._loopout$_$v = null; + } + return _this; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var result, t1, iterator, t2, key, value, $$v, t3, t4; - type$.legacy_Iterable_legacy_Object._as(serialized); - result = new E.SelectablesStoreBuilder(); - t1 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - result.get$_selectable$_$this().set$_selected_items(t1); - iterator = J.get$iterator$ax(serialized); - for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_Selectable; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "selected_items": - $$v = result._selectable$_$v; - if ($$v != null) { - t3 = $$v.selected_items; - t3.toString; - t4 = t3.$ti; - t4._eval$1("_BuiltSet<1>")._as(t3); - result.set$_selected_items(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); - result._selectable$_$v = null; - } - t3 = result._selected_items; - if (t3 == null) { - t3 = new X.SetBuilder(null, $, null, t2); - t3.replace$1(0, C.List_empty); - result.set$_selected_items(t3); - } - t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_zrt))); - break; + _loopout$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, + _s7_ = "Loopout", + _s17_ = "loopout_num_bases", + _s15_ = "prev_domain_idx", + _s9_ = "strand_id", + _s11_ = "is_scaffold", + _s13_ = "unused_fields", + _$result = null; + try { + _$result0 = _this._loopout$_$v; + if (_$result0 == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_loopout$_$this()._loopout_num_bases, _s7_, _s17_, t1); + t3 = _this.get$_loopout$_$this()._loopout$_name; + t4 = _this.get$_loopout$_$this()._loopout$_label; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_loopout$_$this()._prev_domain_idx, _s7_, _s15_, t1); + t6 = _this.get$_loopout$_$this()._loopout$_dna_sequence; + t7 = _this.get$_loopout$_$this()._loopout$_color; + t8 = type$.String; + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_loopout$_$this()._loopout$_strand_id, _s7_, _s9_, t8); + t10 = type$.bool; + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_loopout$_$this()._loopout$_is_scaffold, _s7_, _s11_, t10); + t12 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Loopout(t2, t3, t4, t5, t6, t7, t9, t11, t12); + A.BuiltValueNullFieldError_checkNotNull(t2, _s7_, _s17_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s7_, _s15_, t1); + A.BuiltValueNullFieldError_checkNotNull(t9, _s7_, _s9_, t8); + A.BuiltValueNullFieldError_checkNotNull(t11, _s7_, _s11_, t10); + A.BuiltValueNullFieldError_checkNotNull(t12, _s7_, _s13_, type$.BuiltMap_String_dynamic); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s7_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } + throw exception; } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_U8I; + t1 = type$.Loopout; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._loopout$_$v = t2; + return _$result; }, - get$wireName: function() { - return "SelectablesStore"; + set$_loopout$_unused_fields(_unused_fields) { + this._loopout$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - E._$SelectableDeletionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectableDeletion._as(object); - return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._Loopout_Object_SelectableMixin.prototype = {}; + A._Loopout_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.Modification_from_json_closure.prototype = { + call$1(b) { + var t1 = this.unused_fields; + type$.nullable_MapBuilder_String_dynamic._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $signature: 380 + }; + A.Modification_from_json_closure0.prototype = { + call$1(b) { + var t1 = this.unused_fields; + type$.nullable_MapBuilder_String_dynamic._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new E.SelectableDeletionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "offset": - t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_selectable$_$this()._selectable$_offset = t2; - break; - case "domain": - t2 = result.get$_selectable$_$this(); - t3 = t2._selectable$_domain; - t2 = t3 == null ? t2._selectable$_domain = new G.DomainBuilder() : t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._domain$_$v = t3; - break; - case "is_scaffold": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selectable$_$this()._selectable$_is_scaffold = t2; - break; - } - } - return result.build$0(); + $signature: 381 + }; + A.Modification_from_json_closure1.prototype = { + call$1(b) { + var t1 = this.unused_fields; + type$.nullable_MapBuilder_String_dynamic._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $signature: 382 + }; + A.Modification5Prime.prototype = { + to_json_serializable$1$suppress_indent(suppress_indent) { + var ret = A.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "5'"); + return ret; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_43h1; + $isModification: 1 + }; + A.Modification5Prime_Modification5Prime_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; }, - get$wireName: function() { - return "SelectableDeletion"; - } + $signature: 383 }; - E._$SelectableInsertionSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectableInsertion._as(object); - return H.setRuntimeTypeInfo(["insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + A.Modification3Prime.prototype = { + to_json_serializable$1$suppress_indent(suppress_indent) { + var ret = A.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "3'"); + return ret; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $isModification: 1 + }; + A.Modification3Prime_Modification3Prime_closure.prototype = { + call$1(b) { + var _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new E.SelectableInsertionBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain, t2 = type$.legacy_Insertion; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "insertion": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_insertion; - t3 = t4 == null ? t3._selectable$_insertion = new G.InsertionBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; - break; - case "domain": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_domain; - t3 = t4 == null ? t3._selectable$_domain = new G.DomainBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._domain$_$v = t4; - break; - case "is_scaffold": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selectable$_$this()._selectable$_is_scaffold = t3; - break; + $signature: 384 + }; + A.ModificationInternal.prototype = { + to_json_serializable$1$suppress_indent(suppress_indent) { + var t1, + ret = A.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "internal"); + t1 = this.allowed_bases; + if (t1 != null) { + if (suppress_indent) { + t1 = t1._set; + t1 = new A.NoIndent(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E"))); + } else { + t1 = t1._set; + t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); } + ret.$indexSet(0, "allowed_bases", t1); } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + return ret; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_zc5; + $isModification: 1 + }; + A.ModificationInternal_ModificationInternal_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + t1 = _this.allowed_bases; + if (t1 == null) + t1 = null; + else { + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t1 = t2; + } + type$.nullable_SetBuilder_String._as(t1); + b.get$_modification$_$this().set$_allowed_bases(t1); + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; }, - get$wireName: function() { - return "SelectableInsertion"; - } + $signature: 385 }; - E._$SelectableModification5PrimeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectableModification5Prime._as(object); - return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_Q1p), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + A._$Modification5PrimeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Modification5Prime._as(object); + return ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new E.SelectableModification5PrimeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand, t2 = type$.legacy_Modification5Prime; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.Modification5PrimeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modification": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_modification; - t3 = t4 == null ? t3._selectable$_modification = new Z.Modification5PrimeBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._modification$_$v = t4; + switch (t1) { + case "display_text": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_modification$_$this()._display_text = t1; break; - case "strand": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_strand; - t3 = t4 == null ? t3._selectable$_strand = new E.StrandBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + case "vendor_code": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_modification$_$this()._vendor_code = t1; + break; + case "connector_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_modification$_$this()._connector_length = t1; break; } } - return result.build$0(); + return result._modification$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Fy50; + get$types() { + return B.List_Qkz0; }, - get$wireName: function() { - return "SelectableModification5Prime"; + get$wireName() { + return "Modification5Prime"; } }; - E._$SelectableModification3PrimeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectableModification3Prime._as(object); - return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_Q1p0), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + A._$Modification3PrimeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Modification3Prime._as(object); + return ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_kjq)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new E.SelectableModification3PrimeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Strand, t2 = type$.legacy_Modification3Prime; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.Modification3PrimeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modification": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_modification; - t3 = t4 == null ? t3._selectable$_modification = new Z.Modification3PrimeBuilder() : t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._modification$_$v = t4; + switch (t1) { + case "display_text": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_modification$_$this()._display_text = t1; break; - case "strand": - t3 = result.get$_selectable$_$this(); - t4 = t3._selectable$_strand; - t3 = t4 == null ? t3._selectable$_strand = new E.StrandBuilder() : t4; - t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._strand$_$v = t4; + case "vendor_code": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_modification$_$this()._vendor_code = t1; + break; + case "connector_length": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_modification$_$this()._connector_length = t1; break; } } - return result.build$0(); + return result._modification$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Fy5; + get$types() { + return B.List_Qkz; }, - get$wireName: function() { - return "SelectableModification3Prime"; + get$wireName() { + return "Modification3Prime"; } }; - E._$SelectableModificationInternalSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectableModificationInternal._as(object); - return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_eR6), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "dna_idx", serializers.serialize$2$specifiedType(object.dna_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + A._$ModificationInternalSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.ModificationInternal._as(object); + result = ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_kjq)]; + value = object.allowed_bases; + if (value != null) { + result.push("allowed_bases"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Mnt)); + } + return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, key, value, t4, t5, _s5_ = "other", - result = new E.SelectableModificationInternalBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Domain, t2 = type$.legacy_Strand, t3 = type$.legacy_ModificationInternal; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.ModificationInternalBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_String; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "modification": - t4 = result.get$_selectable$_$this(); - t5 = t4._selectable$_modification; - t4 = t5 == null ? t4._selectable$_modification = new Z.ModificationInternalBuilder() : t5; - t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t4._modification$_$v = t5; + switch (t3) { + case "display_text": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_modification$_$this()._display_text = t3; break; - case "strand": - t4 = result.get$_selectable$_$this(); - t5 = t4._selectable$_strand; - t4 = t5 == null ? t4._selectable$_strand = new E.StrandBuilder() : t5; - t5 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t4._strand$_$v = t5; + case "vendor_code": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_modification$_$this()._vendor_code = t3; break; - case "domain": - t4 = result.get$_selectable$_$this(); - t5 = t4._selectable$_domain; - t4 = t5 == null ? t4._selectable$_domain = new G.DomainBuilder() : t5; - t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); - if (t5 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t4._domain$_$v = t5; + case "connector_length": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_modification$_$this()._connector_length = t3; break; - case "dna_idx": - t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_selectable$_$this()._dna_idx = t4; + case "allowed_bases": + t3 = result.get$_modification$_$this(); + t4 = t3._allowed_bases; + if (t4 == null) { + t4 = new A.SetBuilder(null, $, null, t2); + t4.replace$1(0, B.List_empty); + t3.set$_allowed_bases(t4); + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Mnt); + t4.toString; + t3.replace$1(0, t1._as(t4)); break; } } - return result.build$0(); + return result._modification$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_v3C; - }, - get$wireName: function() { - return "SelectableModificationInternal"; - } - }; - E._$SelectableTraitSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - return type$.legacy_SelectableTrait._as(object).name; - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - return E._$valueOf9(H._asStringS(serialized)); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isPrimitiveSerializer: 1, - get$types: function() { - return C.List_Type_SelectableTrait_SXj; + get$types() { + return B.List_neG; }, - get$wireName: function() { - return "SelectableTrait"; + get$wireName() { + return "ModificationInternal"; } }; - E._$SelectablesStore.prototype = { - get$selected_strands: function() { - var t1 = this.__selected_strands; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_strands.call(this); - this.set$__selected_strands(t1); - } - return t1; + A._$Modification5Prime.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.Modification5Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$selected_crossovers: function() { - var t1 = this.__selected_crossovers; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._modification$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.display_text)), B.JSString_methods.get$hashCode(_this.vendor_code)), B.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._modification$__hashCode; if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_crossovers.call(this); - this.set$__selected_crossovers(t1); + _this._modification$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - get$selected_loopouts: function() { - var t1 = this.__selected_loopouts; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_loopouts.call(this); - this.set$__selected_loopouts(t1); - } - return t1; + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification5Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); }, - get$selected_extensions: function() { - var t1 = this.__selected_extensions; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_extensions.call(this); - this.set$__selected_extensions(t1); - } - return t1; + get$display_text() { + return this.display_text; }, - get$selected_domains: function() { - var t1 = this.__selected_domains; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_domains.call(this); - this.set$__selected_domains(t1); - } - return t1; + get$vendor_code() { + return this.vendor_code; }, - get$selected_dna_ends: function() { - var t1 = this.__selected_dna_ends; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_dna_ends.call(this); - this.set$__selected_dna_ends(t1); - } - return t1; + get$connector_length() { + return this.connector_length; }, - get$selected_insertions: function() { - var t1 = this.__selected_insertions; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_insertions.call(this); - this.set$__selected_insertions(t1); - } + get$unused_fields() { + return this.unused_fields; + } + }; + A.Modification5PrimeBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; return t1; }, - get$selected_modifications: function() { - var t1 = this.__selected_modifications; - if (t1 == null) { - t1 = E.SelectablesStore.prototype.get$selected_modifications.call(this); - this.set$__selected_modifications(t1); - } - return t1; - }, - rebuild$1: function(updates) { - var t1, t2; - type$.legacy_void_Function_legacy_SelectablesStoreBuilder._as(updates); - t1 = new E.SelectablesStoreBuilder(); - t2 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); - t1.get$_selectable$_$this().set$_selected_items(t2); - t1._selectable$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof E.SelectablesStore && J.$eq$(this.selected_items, other.selected_items); - }, - get$hashCode: function(_) { - var t1 = this._selectable$__hashCode; - return t1 == null ? this._selectable$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.selected_items))) : t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectablesStore"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "selected_items", this.selected_items); - return t2.toString$0(t1); - }, - set$__selected_strands: function(__selected_strands) { - this.__selected_strands = type$.legacy_BuiltSet_legacy_Strand._as(__selected_strands); - }, - set$__selected_crossovers: function(__selected_crossovers) { - this.__selected_crossovers = type$.legacy_BuiltSet_legacy_Crossover._as(__selected_crossovers); - }, - set$__selected_loopouts: function(__selected_loopouts) { - this.__selected_loopouts = type$.legacy_BuiltSet_legacy_Loopout._as(__selected_loopouts); - }, - set$__selected_extensions: function(__selected_extensions) { - this.__selected_extensions = type$.legacy_BuiltSet_legacy_Extension._as(__selected_extensions); - }, - set$__selected_domains: function(__selected_domains) { - this.__selected_domains = type$.legacy_BuiltSet_legacy_Domain._as(__selected_domains); - }, - set$__selected_dna_ends: function(__selected_dna_ends) { - this.__selected_dna_ends = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends); - }, - set$__selected_dna_ends_on_domains: function(__selected_dna_ends_on_domains) { - this.__selected_dna_ends_on_domains = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends_on_domains); - }, - set$__selected_dna_ends_on_extensions: function(__selected_dna_ends_on_extensions) { - this.__selected_dna_ends_on_extensions = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends_on_extensions); - }, - set$__selected_deletions: function(__selected_deletions) { - this.__selected_deletions = type$.legacy_BuiltSet_legacy_SelectableDeletion._as(__selected_deletions); - }, - set$__selected_insertions: function(__selected_insertions) { - this.__selected_insertions = type$.legacy_BuiltSet_legacy_SelectableInsertion._as(__selected_insertions); - }, - set$__selected_modifications: function(__selected_modifications) { - this.__selected_modifications = type$.legacy_BuiltSet_legacy_SelectableModification._as(__selected_modifications); - } - }; - E.SelectablesStoreBuilder.prototype = { - get$selected_items: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selected_items; - if (t2 == null) { - t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable); - t1.set$_selected_items(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_selectable$_$this: function() { + get$_modification$_$this() { var t1, t2, _this = this, - $$v = _this._selectable$_$v; + $$v = _this._modification$_$v; if ($$v != null) { - t1 = $$v.selected_items; + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.unused_fields; t1.toString; t2 = t1.$ti; - t2._eval$1("_BuiltSet<1>")._as(t1); - _this.set$_selected_items(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); - _this._selectable$_$v = null; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, exception, _this = this, - _s16_ = "SelectablesStore", + _modification$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s18_ = "Modification5Prime", + _s12_ = "display_text", + _s11_ = "vendor_code", + _s16_ = "connector_length", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._selectable$_$v; + _$result0 = _this._modification$_$v; if (_$result0 == null) { - t1 = _this.get$selected_items().build$0(); - _$result0 = new E._$SelectablesStore(t1); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "selected_items")); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._display_text, _s18_, _s12_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._vendor_code, _s18_, _s11_, t1); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._connector_length, _s18_, _s16_, t4); + t6 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Modification5Prime(t2, t3, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, _s12_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s18_, _s11_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s18_, _s16_, t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s18_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "selected_items"; - _this.get$selected_items().build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectablesStore._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; + t1 = type$.Modification5Prime; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._modification$_$v = t2; return _$result; }, - set$_selected_items: function(_selected_items) { - this._selected_items = type$.legacy_SetBuilder_legacy_Selectable._as(_selected_items); + set$_modification$_unused_fields(_unused_fields) { + this._modification$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - E._$SelectableDeletion.prototype = { - get$select_mode: function() { - var t1 = this._selectable$__select_mode; - return t1 == null ? this._selectable$__select_mode = E.SelectableDeletion.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = E.SelectableDeletion.prototype.get$id.call(_this, _this) : t1; - }, - $eq: function(_, other) { + A._$Modification3Prime.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof E.SelectableDeletion && _this.offset == other.offset && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; + return other instanceof A.Modification3Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selectable$__hashCode; - return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.offset)), J.get$hashCode$(_this.domain)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._modification$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.display_text)), B.JSString_methods.get$hashCode(_this.vendor_code)), B.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._modification$__hashCode; + if (t1 == null) { + _this._modification$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableDeletion"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification3Prime"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "offset", this.offset); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "is_scaffold", this.is_scaffold); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$offset: function(receiver) { - return this.offset; + get$display_text() { + return this.display_text; }, - get$is_scaffold: function() { - return this.is_scaffold; + get$vendor_code() { + return this.vendor_code; + }, + get$connector_length() { + return this.connector_length; + }, + get$unused_fields() { + return this.unused_fields; } }; - E.SelectableDeletionBuilder.prototype = { - get$offset: function(_) { - return this.get$_selectable$_$this()._selectable$_offset; - }, - get$domain: function(_) { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_domain; - return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + A.Modification3PrimeBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_selectable$_$this: function() { + get$_modification$_$this() { var t1, t2, _this = this, - $$v = _this._selectable$_$v; + $$v = _this._modification$_$v; if ($$v != null) { - _this._selectable$_offset = $$v.offset; - t1 = $$v.domain; + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.unused_fields; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._selectable$_domain = t2; - _this._selectable$_is_scaffold = $$v.is_scaffold; - _this._selectable$_$v = null; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s18_ = "SelectableDeletion", + _modification$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s18_ = "Modification3Prime", + _s12_ = "display_text", + _s11_ = "vendor_code", + _s16_ = "connector_length", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._selectable$_$v; + _$result0 = _this._modification$_$v; if (_$result0 == null) { - t1 = _this.get$_selectable$_$this()._selectable$_offset; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "offset")); - t2 = _this.get$domain(_this).build$0(); - t3 = _this.get$_selectable$_$this()._selectable$_is_scaffold; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "is_scaffold")); - _$result0 = E._$SelectableDeletion$_(t2, t3, t1); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._display_text, _s18_, _s12_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._vendor_code, _s18_, _s11_, t1); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._connector_length, _s18_, _s16_, t4); + t6 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Modification3Prime(t2, t3, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s18_, _s12_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s18_, _s11_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s18_, _s16_, t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s18_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectableDeletion._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; + t1 = type$.Modification3Prime; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._modification$_$v = t2; return _$result; + }, + set$_modification$_unused_fields(_unused_fields) { + this._modification$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - E._$SelectableInsertion.prototype = { - get$select_mode: function() { - var t1 = this._selectable$__select_mode; - return t1 == null ? this._selectable$__select_mode = E.SelectableInsertion.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = E.SelectableInsertion.prototype.get$id.call(_this, _this) : t1; - }, - get$id_group: function() { - var t1 = this.__id_group; - return t1 == null ? this.__id_group = E.SelectableInsertion.prototype.get$id_group.call(this) : t1; - }, - $eq: function(_, other) { + A._$ModificationInternal.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof E.SelectableInsertion && J.$eq$(_this.insertion, other.insertion) && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; + return other instanceof A.ModificationInternal && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.allowed_bases, other.allowed_bases) && J.$eq$(_this.unused_fields, other.unused_fields); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selectable$__hashCode; - return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.insertion)), J.get$hashCode$(_this.domain)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._modification$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.display_text)), B.JSString_methods.get$hashCode(_this.vendor_code)), B.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.allowed_bases)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._modification$__hashCode; + if (t1 == null) { + _this._modification$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableInsertion"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationInternal"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "insertion", this.insertion); - t2.add$2(t1, "domain", this.domain); - t2.add$2(t1, "is_scaffold", this.is_scaffold); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "allowed_bases", _this.allowed_bases); + t2.add$2(t1, "unused_fields", _this.unused_fields); return t2.toString$0(t1); }, - get$is_scaffold: function() { - return this.is_scaffold; + get$display_text() { + return this.display_text; + }, + get$vendor_code() { + return this.vendor_code; + }, + get$connector_length() { + return this.connector_length; + }, + get$unused_fields() { + return this.unused_fields; } }; - E.SelectableInsertionBuilder.prototype = { - get$insertion: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_insertion; - return t2 == null ? t1._selectable$_insertion = new G.InsertionBuilder() : t2; - }, - get$domain: function(_) { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_domain; - return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + A.ModificationInternalBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$_selectable$_$this: function() { + get$_modification$_$this() { var t1, t2, _this = this, - $$v = _this._selectable$_$v; + $$v = _this._modification$_$v; if ($$v != null) { - t1 = $$v.insertion; - t1.toString; - t2 = new G.InsertionBuilder(); - t2._domain$_$v = t1; - _this._selectable$_insertion = t2; - t1 = $$v.domain; + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.allowed_bases; + if (t1 == null) + t1 = null; + else { + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t1 = t2; + } + _this.set$_allowed_bases(t1); + t1 = $$v.unused_fields; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._selectable$_domain = t2; - _this._selectable$_is_scaffold = $$v.is_scaffold; - _this._selectable$_$v = null; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, - _s19_ = "SelectableInsertion", + _modification$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, + _s20_ = "ModificationInternal", + _s12_ = "display_text", + _s11_ = "vendor_code", + _s16_ = "connector_length", + _s13_ = "unused_fields", _$result = null; try { - _$result0 = _this._selectable$_$v; + _$result0 = _this._modification$_$v; if (_$result0 == null) { - t1 = _this.get$insertion().build$0(); - t2 = _this.get$domain(_this).build$0(); - t3 = _this.get$_selectable$_$this()._selectable$_is_scaffold; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "is_scaffold")); - _$result0 = E._$SelectableInsertion$_(t2, t1, t3); + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._display_text, _s20_, _s12_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._vendor_code, _s20_, _s11_, t1); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_modification$_$this()._connector_length, _s20_, _s16_, t4); + t6 = _this._allowed_bases; + t6 = t6 == null ? null : t6.build$0(); + t7 = _this.get$unused_fields().build$0(); + _$result0 = new A._$ModificationInternal(t2, t3, t5, t6, t7); + A.BuiltValueNullFieldError_checkNotNull(t2, _s20_, _s12_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s20_, _s11_, t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s20_, _s16_, t4); + A.BuiltValueNullFieldError_checkNotNull(t7, _s20_, _s13_, type$.BuiltMap_String_dynamic); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "insertion"; - _this.get$insertion().build$0(); - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = "allowed_bases"; + t1 = _this._allowed_bases; + if (t1 != null) + t1.build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s20_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectableInsertion._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; + t1 = type$.ModificationInternal; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._modification$_$v = t2; return _$result; + }, + set$_allowed_bases(_allowed_bases) { + this._allowed_bases = type$.nullable_SetBuilder_String._as(_allowed_bases); + }, + set$_modification$_unused_fields(_unused_fields) { + this._modification$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - E._$SelectableModification5Prime.prototype = { - get$address: function() { - var t1 = this.__address; - return t1 == null ? this.__address = E.SelectableModification5Prime.prototype.get$address.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = E.SelectableModification5Prime.prototype.get$id.call(_this, _this) : t1; + A._Modification3Prime_Object_BuiltJsonSerializable.prototype = {}; + A._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A._Modification5Prime_Object_BuiltJsonSerializable.prototype = {}; + A._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A._ModificationInternal_Object_BuiltJsonSerializable.prototype = {}; + A._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.ModificationType.prototype = { + get$key(_) { + var _this = this; + if (_this === B.ModificationType_five_prime) + return "modifications_5p_in_design"; + else if (_this === B.ModificationType_three_prime) + return "modifications_3p_in_design"; + else if (_this === B.ModificationType_internal) + return "modifications_int_in_design"; + else + throw A.wrapException(A.IllegalDesignError$('unknown ModificationType "' + _this.toString$0(0) + '"')); + } + }; + A._$ModificationTypeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.ModificationType._as(object).name; }, - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof E.SelectableModification5Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selectable$__hashCode; - return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))) : t1; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf7(A._asStringS(serialized)); }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification5Prime"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "strand", this.strand); - return t2.toString$0(t1); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$modification: function() { - return this.modification; + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_ModificationType_EWG; }, - get$strand: function() { - return this.strand; + get$wireName() { + return "ModificationType"; } }; - E.SelectableModification5PrimeBuilder.prototype = { - get$modification: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_modification; - return t2 == null ? t1._selectable$_modification = new Z.Modification5PrimeBuilder() : t2; - }, - get$strand: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_strand; - return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + A.MouseoverParams.prototype = {}; + A.MouseoverParams_MouseoverParams_closure.prototype = { + call$1(b) { + b.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = this.helix_idx; + b.get$_mouseover_data$_$this()._mouseover_data$_offset = this.offset; + b.get$_mouseover_data$_$this()._mouseover_data$_forward = this.forward; + return b; }, - get$_selectable$_$this: function() { - var t1, t2, _this = this, - $$v = _this._selectable$_$v; - if ($$v != null) { - t1 = $$v.modification; - t1.toString; - t2 = new Z.Modification5PrimeBuilder(); - t2._modification$_$v = t1; - _this._selectable$_modification = t2; - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._selectable$_strand = t2; - _this._selectable$_$v = null; + $signature: 386 + }; + A.MouseoverData.prototype = {}; + A.MouseoverData_MouseoverData_closure.prototype = { + call$1(b) { + var _this = this, + t1 = b.get$helix(), + t2 = _this.helix; + A.ArgumentError_checkNotNull(t2, "other", type$.Helix); + t1._helix$_$v = t2; + t2 = _this.domain; + if (t2 == null) + t1 = null; + else { + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; } - return _this; + b.get$_mouseover_data$_$this()._domain = t1; + b.get$_mouseover_data$_$this()._mouseover_data$_offset = _this.offset; + b.get$_mouseover_data$_$this()._strand_idx = _this.strand_idx; + b.get$_mouseover_data$_$this()._color_forward = _this.color_forward; + b.get$_mouseover_data$_$this()._color_reverse = _this.color_reverse; + b.get$_mouseover_data$_$this()._roll_forward = _this.roll_forward; + b.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = _this.minor_groove_angle; + return b; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._selectable$_$v; - _$result = _$result0 == null ? E._$SelectableModification5Prime$_(_this.get$modification().build$0(), _this.get$strand().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "modification"; - _this.get$modification().build$0(); - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("SelectableModification5Prime", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + $signature: 387 + }; + A._$MouseoverParamsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.MouseoverParams._as(object); + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.MouseoverParamsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "helix_idx": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = t1; + break; + case "offset": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); + result.get$_mouseover_data$_$this()._mouseover_data$_offset = t1; + break; + case "forward": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); + result.get$_mouseover_data$_$this()._mouseover_data$_forward = t1; + break; } - throw exception; } - t1 = type$.legacy_SelectableModification5Prime._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; - return _$result; + return result._mouseover_data$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_jlU; + }, + get$wireName() { + return "MouseoverParams"; } }; - E._$SelectableModification3Prime.prototype = { - get$address: function() { - var t1 = this.__address; - return t1 == null ? this.__address = E.SelectableModification3Prime.prototype.get$address.call(this) : t1; + A._$MouseoverDataSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.MouseoverData._as(object); + result = ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, B.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, B.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, B.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, B.FullType_MME), "strand_idx", serializers.serialize$2$specifiedType(object.strand_idx, B.FullType_kjq)]; + value = object.domain; + if (value != null) { + result.push("domain"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_fnc)); + } + return result; }, - get$id: function(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = E.SelectableModification3Prime.prototype.get$id.call(_this, _this) : t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, value, t5, + result = new A.MouseoverDataBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain, t2 = type$.Color, t3 = type$.Helix; iterator.moveNext$0();) { + t4 = iterator.get$current(iterator); + t4.toString; + A._asStringS(t4); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t4) { + case "helix": + t4 = result.get$_mouseover_data$_$this(); + t5 = t4._mouseover_data$_helix; + if (t5 == null) { + t5 = new A.HelixBuilder(); + t5.get$_helix$_$this()._group = "default_group"; + t5.get$_helix$_$this()._min_offset = 0; + t5.get$_helix$_$this()._roll = 0; + t4._mouseover_data$_helix = t5; + t4 = t5; + } else + t4 = t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t5.toString; + t3._as(t5); + t4._helix$_$v = t5; + break; + case "offset": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4.toString; + A._asIntS(t4); + result.get$_mouseover_data$_$this()._mouseover_data$_offset = t4; + break; + case "color_forward": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t4.toString; + t2._as(t4); + result.get$_mouseover_data$_$this()._color_forward = t4; + break; + case "color_reverse": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t4.toString; + t2._as(t4); + result.get$_mouseover_data$_$this()._color_reverse = t4; + break; + case "roll_forward": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t4.toString; + A._asDoubleS(t4); + result.get$_mouseover_data$_$this()._roll_forward = t4; + break; + case "minor_groove_angle": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t4.toString; + A._asDoubleS(t4); + result.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = t4; + break; + case "strand_idx": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4.toString; + A._asIntS(t4); + result.get$_mouseover_data$_$this()._strand_idx = t4; + break; + case "domain": + t4 = result.get$_mouseover_data$_$this(); + t5 = t4._domain; + t4 = t5 == null ? t4._domain = new A.DomainBuilder() : t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t5.toString; + t1._as(t5); + t4._domain$_$v = t5; + break; + } + } + return result._mouseover_data$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Qw7; }, - $eq: function(_, other) { + get$wireName() { + return "MouseoverData"; + } + }; + A._$MouseoverParams.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof E.SelectableModification3Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); + return other instanceof A.MouseoverParams && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selectable$__hashCode; - return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._mouseover_data$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), B.JSInt_methods.get$hashCode(_this.offset)), B.JSBool_methods.get$hashCode(_this.forward))); + t1 = _this._mouseover_data$__hashCode; + if (t1 == null) { + _this._mouseover_data$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification3Prime"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverParams"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modification", this.modification); - t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "forward", this.forward); return t2.toString$0(t1); }, - get$modification: function() { - return this.modification; - }, - get$strand: function() { - return this.strand; + get$offset(receiver) { + return this.offset; } }; - E.SelectableModification3PrimeBuilder.prototype = { - get$modification: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_modification; - return t2 == null ? t1._selectable$_modification = new Z.Modification3PrimeBuilder() : t2; - }, - get$strand: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_strand; - return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + A.MouseoverParamsBuilder.prototype = { + get$offset(_) { + return this.get$_mouseover_data$_$this()._mouseover_data$_offset; }, - get$_selectable$_$this: function() { - var t1, t2, _this = this, - $$v = _this._selectable$_$v; + get$_mouseover_data$_$this() { + var _this = this, + $$v = _this._mouseover_data$_$v; if ($$v != null) { - t1 = $$v.modification; - t1.toString; - t2 = new Z.Modification3PrimeBuilder(); - t2._modification$_$v = t1; - _this._selectable$_modification = t2; - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._selectable$_strand = t2; - _this._selectable$_$v = null; + _this._mouseover_data$_helix_idx = $$v.helix_idx; + _this._mouseover_data$_offset = $$v.offset; + _this._mouseover_data$_forward = $$v.forward; + _this._mouseover_data$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; - try { - _$result0 = _this._selectable$_$v; - _$result = _$result0 == null ? E._$SelectableModification3Prime$_(_this.get$modification().build$0(), _this.get$strand().build$0()) : _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "modification"; - _this.get$modification().build$0(); - _$failedField = "strand"; - _this.get$strand().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$("SelectableModification3Prime", _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; - } - t1 = type$.legacy_SelectableModification3Prime._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; - return _$result; + _mouseover_data$_build$0() { + var t1, t2, t3, t4, t5, _this = this, + _s15_ = "MouseoverParams", + _s9_ = "helix_idx", + _$result = _this._mouseover_data$_$v; + if (_$result == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._mouseover_data$_helix_idx, _s15_, _s9_, t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._mouseover_data$_offset, _s15_, "offset", t1); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._mouseover_data$_forward, _s15_, "forward", t4); + _$result = new A._$MouseoverParams(t2, t3, t5); + A.BuiltValueNullFieldError_checkNotNull(t2, _s15_, _s9_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s15_, "offset", t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s15_, "forward", t4); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.MouseoverParams); + return _this._mouseover_data$_$v = _$result; } }; - E._$SelectableModificationInternal.prototype = { - get$address: function() { - var t1 = this.__address; - return t1 == null ? this.__address = E.SelectableModificationInternal.prototype.get$address.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = E.SelectableModificationInternal.prototype.get$id.call(_this, _this) : t1; - }, - $eq: function(_, other) { - var _this = this; + A._$MouseoverData.prototype = { + $eq(_, other) { + var t1, t2, _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof E.SelectableModificationInternal && J.$eq$(_this.modification, other.modification) && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.domain, other.domain) && _this.dna_idx == other.dna_idx; + if (other instanceof A.MouseoverData) + if (J.$eq$(_this.helix, other.helix)) + if (_this.offset === other.offset) { + t1 = _this.color_forward; + t2 = other.color_forward; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + if (t1 === t2) { + t1 = _this.color_reverse; + t2 = other.color_reverse; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle && _this.strand_idx === other.strand_idx && J.$eq$(_this.domain, other.domain); + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selectable$__hashCode; - return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand)), J.get$hashCode$(_this.domain)), J.get$hashCode$(_this.dna_idx))) : t1; + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._mouseover_data$__hashCode; + if (t1 != null) + return t1; + t1 = _this.color_forward; + t2 = _this.color_reverse; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.helix)), B.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSNumber_methods.get$hashCode(_this.roll_forward)), B.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), B.JSInt_methods.get$hashCode(_this.strand_idx)), J.get$hashCode$(_this.domain))); + t2 = _this._mouseover_data$__hashCode; + if (t2 == null) { + _this._mouseover_data$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModificationInternal"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverData"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "modification", _this.modification); - t2.add$2(t1, "strand", _this.strand); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "color_forward", _this.color_forward); + t2.add$2(t1, "color_reverse", _this.color_reverse); + t2.add$2(t1, "roll_forward", _this.roll_forward); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); + t2.add$2(t1, "strand_idx", _this.strand_idx); t2.add$2(t1, "domain", _this.domain); - t2.add$2(t1, "dna_idx", _this.dna_idx); return t2.toString$0(t1); }, - get$modification: function() { - return this.modification; - }, - get$strand: function() { - return this.strand; + get$offset(receiver) { + return this.offset; } }; - E.SelectableModificationInternalBuilder.prototype = { - get$modification: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_modification; - return t2 == null ? t1._selectable$_modification = new Z.ModificationInternalBuilder() : t2; - }, - get$strand: function() { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_strand; - return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + A.MouseoverDataBuilder.prototype = { + get$helix() { + var t1 = this.get$_mouseover_data$_$this(), + t2 = t1._mouseover_data$_helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._mouseover_data$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; }, - get$domain: function(_) { - var t1 = this.get$_selectable$_$this(), - t2 = t1._selectable$_domain; - return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + get$offset(_) { + return this.get$_mouseover_data$_$this()._mouseover_data$_offset; }, - get$_selectable$_$this: function() { + get$_mouseover_data$_$this() { var t1, t2, _this = this, - $$v = _this._selectable$_$v; + $$v = _this._mouseover_data$_$v; if ($$v != null) { - t1 = $$v.modification; - t1.toString; - t2 = new Z.ModificationInternalBuilder(); - t2._modification$_$v = t1; - _this._selectable$_modification = t2; - t1 = $$v.strand; - t1.toString; - t2 = new E.StrandBuilder(); - t2._strand$_$v = t1; - _this._selectable$_strand = t2; - t1 = $$v.domain; + t1 = $$v.helix; t1.toString; - t2 = new G.DomainBuilder(); - t2._domain$_$v = t1; - _this._selectable$_domain = t2; - _this._dna_idx = $$v.dna_idx; - _this._selectable$_$v = null; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._mouseover_data$_helix = t2; + _this._mouseover_data$_offset = $$v.offset; + _this._color_forward = $$v.color_forward; + _this._color_reverse = $$v.color_reverse; + _this._roll_forward = $$v.roll_forward; + _this._mouseover_data$_minor_groove_angle = $$v.minor_groove_angle; + _this._strand_idx = $$v.strand_idx; + t2 = $$v.domain; + if (t2 == null) + t1 = null; + else { + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + } + _this._domain = t1; + _this._mouseover_data$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, - _s30_ = "SelectableModificationInternal", + _mouseover_data$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, + _s13_ = "MouseoverData", + _s13_0 = "color_forward", + _s13_1 = "color_reverse", + _s12_ = "roll_forward", + _s18_ = "minor_groove_angle", + _s10_ = "strand_idx", _$result = null; try { - _$result0 = _this._selectable$_$v; + _$result0 = _this._mouseover_data$_$v; if (_$result0 == null) { - t1 = _this.get$modification().build$0(); - t2 = _this.get$strand().build$0(); - t3 = _this.get$domain(_this).build$0(); - t4 = _this.get$_selectable$_$this()._dna_idx; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); - _$result0 = E._$SelectableModificationInternal$_(t4, t3, t1, t2); + t1 = _this.get$helix()._helix$_build$0(); + t2 = type$.int; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._mouseover_data$_offset, _s13_, "offset", t2); + t4 = type$.Color; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._color_forward, _s13_, _s13_0, t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._color_reverse, _s13_, _s13_1, t4); + t7 = type$.double; + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._roll_forward, _s13_, _s12_, t7); + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle, _s13_, _s18_, t7); + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_mouseover_data$_$this()._strand_idx, _s13_, _s10_, t2); + t11 = _this._domain; + _$result0 = new A._$MouseoverData(t1, t3, t5, t6, t8, t9, t10, t11 == null ? null : t11._domain$_build$0()); + A.BuiltValueNullFieldError_checkNotNull(t1, _s13_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(t3, _s13_, "offset", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s13_, _s13_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s13_, _s13_1, t4); + A.BuiltValueNullFieldError_checkNotNull(t8, _s13_, _s12_, t7); + A.BuiltValueNullFieldError_checkNotNull(t9, _s13_, _s18_, t7); + A.BuiltValueNullFieldError_checkNotNull(t10, _s13_, _s10_, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "modification"; - _this.get$modification().build$0(); - _$failedField = "strand"; - _this.get$strand().build$0(); - _$failedField = "domain"; - _this.get$domain(_this).build$0(); + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); + _$failedField._value = "domain"; + t1 = _this._domain; + if (t1 != null) + t1._domain$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectableModificationInternal._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selectable$_$v = t1; + t1 = type$.MouseoverData; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._mouseover_data$_$v = t2; return _$result; } }; - E._SelectableDeletion_Object_SelectableMixin.prototype = {}; - E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._SelectableInsertion_Object_SelectableMixin.prototype = {}; - E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._SelectableModification3Prime_Object_SelectableModification.prototype = {}; - E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin.prototype = {}; - E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._SelectableModification5Prime_Object_SelectableModification.prototype = {}; - E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin.prototype = {}; - E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._SelectableModificationInternal_Object_SelectableModification.prototype = {}; - E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin.prototype = {}; - E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._SelectablesStore_Object_BuiltJsonSerializable.prototype = {}; - E.SelectionBox.prototype = { - get$width: function(_) { - var t1 = this.start.x, - t2 = this.current.x; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return Math.abs(t1 - t2); - }, - get$height: function(_) { - var t1 = this.start.y, - t2 = this.current.y; - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return H.iae(t2); - return Math.abs(t1 - t2); - }, - toString$0: function(_) { - var t1 = this.start, - t2 = this.current; - return "start=(" + J.toStringAsFixed$1$n(t1.x, 1) + ", " + J.toStringAsFixed$1$n(t1.y, 1) + ") current=(" + J.toStringAsFixed$1$n(t2.x, 1) + ", " + J.toStringAsFixed$1$n(t2.y, 1) + "), is_main=" + this.is_main; + A._MouseoverData_Object_BuiltJsonSerializable.prototype = {}; + A._MouseoverParams_Object_BuiltJsonSerializable.prototype = {}; + A.Position3D.prototype = { + $mul(_, scalar) { + return A.Position3D_Position3D(this.x * scalar, this.y * scalar, this.z * scalar); } }; - E.SelectionBox_SelectionBox_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num._as(this.start); - b.get$_selection_box$_$this().set$_selection_box$_start(0, t1); - b.get$_selection_box$_$this()._selection_box$_toggle = this.toggle; - b.get$_selection_box$_$this()._selection_box$_is_main = this.is_main; - b.get$_selection_box$_$this().set$_selection_box$_current(t1); + A.Position3D_Position3D_closure.prototype = { + call$1(b) { + b.get$_position3d$_$this()._x = this.x; + b.get$_position3d$_$this()._y = this.y; + b.get$_position3d$_$this()._z = this.z; return b; }, - $signature: 112 + $signature: 388 }; - E._$SelectionBoxSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_SelectionBox._as(object); - return H.setRuntimeTypeInfo(["start", serializers.serialize$2$specifiedType(object.start, C.FullType_8eb), "current", serializers.serialize$2$specifiedType(object.current, C.FullType_8eb), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + A._$Position3DSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Position3D._as(object); + return ["x", serializers.serialize$2$specifiedType(object.x, B.FullType_MME), "y", serializers.serialize$2$specifiedType(object.y, B.FullType_MME), "z", serializers.serialize$2$specifiedType(object.z, B.FullType_MME)]; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, - result = new E.SelectionBoxBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.Position3DBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "start": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_selection_box$_$this().set$_selection_box$_start(0, t2); - break; - case "current": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_selection_box$_$this().set$_selection_box$_current(t2); + switch (t1) { + case "x": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_position3d$_$this()._x = t1; break; - case "toggle": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selection_box$_$this()._selection_box$_toggle = t2; + case "y": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_position3d$_$this()._y = t1; break; - case "is_main": - t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selection_box$_$this()._selection_box$_is_main = t2; + case "z": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1.toString; + A._asDoubleS(t1); + result.get$_position3d$_$this()._z = t1; break; } } - return result.build$0(); + return result._position3d$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_mHo; + get$types() { + return B.List_Ns6; }, - get$wireName: function() { - return "SelectionBox"; + get$wireName() { + return "Position3D"; } }; - E._$SelectionBox.prototype = { - $eq: function(_, other) { + A._$Position3D.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof E.SelectionBox && _this.start.$eq(0, other.start) && _this.current.$eq(0, other.current) && _this.toggle === other.toggle && _this.is_main === other.is_main; + return other instanceof A.Position3D && _this.x === other.x && _this.y === other.y && _this.z === other.z; }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._selection_box$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._position3d$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSNumber_methods.get$hashCode(_this.x)), B.JSNumber_methods.get$hashCode(_this.y)), B.JSNumber_methods.get$hashCode(_this.z))); + t1 = _this._position3d$__hashCode; if (t1 == null) { - t1 = _this.start; - t2 = _this.current; - t2 = _this._selection_box$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y))), C.JSBool_methods.get$hashCode(_this.toggle)), C.JSBool_methods.get$hashCode(_this.is_main))); - t1 = t2; + _this._position3d$__hashCode = _$hash; + t1 = _$hash; } return t1; + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Position3D"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "x", this.x); + t2.add$2(t1, "y", this.y); + t2.add$2(t1, "z", this.z); + return t2.toString$0(t1); } }; - E.SelectionBoxBuilder.prototype = { - get$_selection_box$_$this: function() { + A.Position3DBuilder.prototype = { + get$_position3d$_$this() { var _this = this, - $$v = _this._selection_box$_$v; + $$v = _this._position3d$_$v; if ($$v != null) { - _this.set$_selection_box$_start(0, $$v.start); - _this.set$_selection_box$_current($$v.current); - _this._selection_box$_toggle = $$v.toggle; - _this._selection_box$_is_main = $$v.is_main; - _this._selection_box$_$v = null; + _this._x = $$v.x; + _this._y = $$v.y; + _this._z = $$v.z; + _this._position3d$_$v = null; } return _this; }, - build$0: function() { + _position3d$_build$0() { var t1, t2, t3, t4, _this = this, - _s12_ = "SelectionBox", - _$result = _this._selection_box$_$v; + _s10_ = "Position3D", + _$result = _this._position3d$_$v; if (_$result == null) { - t1 = _this.get$_selection_box$_$this()._selection_box$_start; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "start")); - t2 = _this.get$_selection_box$_$this()._selection_box$_current; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "current")); - t3 = _this.get$_selection_box$_$this()._selection_box$_toggle; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "toggle")); - t4 = _this.get$_selection_box$_$this()._selection_box$_is_main; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "is_main")); - _$result = new E._$SelectionBox(t1, t2, t3, t4); - } - return _this._selection_box$_$v = _$result; - }, - set$_selection_box$_start: function(_, _start) { - this._selection_box$_start = type$.legacy_Point_legacy_num._as(_start); - }, - set$_selection_box$_current: function(_current) { - this._selection_box$_current = type$.legacy_Point_legacy_num._as(_current); - } - }; - E._SelectionBox_Object_BuiltJsonSerializable.prototype = {}; - F.SelectionRope.prototype = { - get$lines: function(_) { - var t3, i0, - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), - t1 = this.points._list, - t2 = J.getInterceptor$asx(t1), - i = 0; - while (true) { - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - if (!(i < t3 - 1)) - break; - i0 = i + 1; - C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); - i = i0; - } - return D._BuiltList$of(result, type$.legacy_Line); - }, - get$lines_without_last: function() { - var t3, i0, - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), - t1 = this.points._list, - t2 = J.getInterceptor$asx(t1), - i = 0; - while (true) { - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - if (!(i < t3 - 2)) - break; - i0 = i + 1; - C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); - i = i0; - } - return D._BuiltList$of(result, type$.legacy_Line); - }, - get$lines_without_first: function() { - var t3, i0, - result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), - t1 = this.points._list, - t2 = J.getInterceptor$asx(t1), - i = 1; - while (true) { - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - if (!(i < t3 - 1)) - break; - i0 = i + 1; - C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); - i = i0; - } - return D._BuiltList$of(result, type$.legacy_Line); - }, - creates_self_intersection$1: function(new_point) { - var t1, t2, new_penultimate_line, t3, new_last_line, _this = this; - type$.legacy_Point_legacy_num._as(new_point); - t1 = _this.points._list; - t2 = J.getInterceptor$asx(t1); - if (t2.get$isEmpty(t1)) - return false; - new_penultimate_line = F.Line_Line(t2.get$last(t1), new_point); - t3 = _this.__lines_without_last; - if (t3 == null) { - t3 = F.SelectionRope.prototype.get$lines_without_last.call(_this); - _this.set$__lines_without_last(t3); - } - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - if (t3.get$current(t3).intersects$1(0, new_penultimate_line)) - return true; - new_last_line = F.Line_Line(new_point, t2.get$first(t1)); - t1 = _this.__lines_without_first; - if (t1 == null) { - t1 = F.SelectionRope.prototype.get$lines_without_first.call(_this); - _this.set$__lines_without_first(t1); - } - t1 = J.get$iterator$ax(t1._list); - for (; t1.moveNext$0();) - if (t1.get$current(t1).intersects$1(0, new_last_line)) - return true; - if (J.get$isNotEmpty$asx(_this.get$lines(_this)._list)) { - if (J.get$last$ax(_this.get$lines(_this)._list).intersects_line_to_new_point$1(new_point)) - return true; - if (J.get$first$ax(_this.get$lines(_this)._list).intersects_line_from_new_point$1(new_point)) - return true; - } - return false; - }, - potential_is_illegal$0: function() { - var t1 = this.current_point; - if (t1 != null) - return this.creates_self_intersection$1(t1); - else - return false; + t1 = type$.double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_position3d$_$this()._x, _s10_, "x", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_position3d$_$this()._y, _s10_, "y", t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_position3d$_$this()._z, _s10_, "z", t1); + _$result = new A._$Position3D(t2, t3, t4); + A.BuiltValueNullFieldError_checkNotNull(t2, _s10_, "x", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s10_, "y", t1); + A.BuiltValueNullFieldError_checkNotNull(t4, _s10_, "z", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Position3D); + return _this._position3d$_$v = _$result; } }; - F.SelectionRope_SelectionRope_closure.prototype = { - call$1: function(b) { - type$.legacy_Point_legacy_num._as(null); - b.get$_selection_rope$_$this().set$_current_point(null); - b.get$_selection_rope$_$this()._toggle = this.toggle; - b.get$points(b).replace$1(0, []); - b.get$_selection_rope$_$this()._is_main = null; - return b; - }, - $signature: 53 - }; - F.Line.prototype = { - intersects$1: function(_, line2) { + A._Position3D_Object_BuiltJsonSerializable.prototype = {}; + A.PotentialCrossover.prototype = {}; + A.PotentialCrossover_PotentialCrossover_closure.prototype = { + call$1(b) { var _this = this, - t1 = _this.p1, - t2 = _this.p2, - t3 = line2.p1, - dir1 = F.Line_orientation(t1, t2, t3), - t4 = line2.p2, - dir2 = F.Line_orientation(t1, t2, t4), - dir3 = F.Line_orientation(t3, t4, t1), - dir4 = F.Line_orientation(t3, t4, t2); - if (dir1 !== dir2 && dir3 !== dir4) - return true; - if (dir1 === C.Orientation_0 && _this.contains_point$1(t3)) - return true; - if (dir2 === C.Orientation_0 && _this.contains_point$1(t4)) - return true; - if (dir3 === C.Orientation_0 && line2.contains_point$1(t1)) - return true; - if (dir4 === C.Orientation_0 && line2.contains_point$1(t2)) - return true; - return false; - }, - contains_point$1: function(p) { - var t1, t2, t3, t4, t5, t6; - type$.legacy_Point_legacy_num._as(p); - t1 = p.x; - t2 = this.p1; - t3 = t2.x; - t4 = this.p2; - t5 = t4.x; - t6 = Math.max(H.checkNum(t3), H.checkNum(t5)); - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 < t6) - if (t1 < Math.min(H.checkNum(t3), H.checkNum(t5))) { - t1 = p.y; - t2 = t2.y; - t4 = t4.y; - t3 = Math.max(H.checkNum(t2), H.checkNum(t4)); - if (typeof t1 !== "number") - return t1.$lt(); - t1 = t1 < t3 && t1 < Math.min(H.checkNum(t2), H.checkNum(t4)); - } else - t1 = false; - else - t1 = false; - return t1; - }, - intersects_line_to_new_point$1: function(new_point) { - var t1, t2; - type$.legacy_Point_legacy_num._as(new_point); - t1 = this.p1; - t2 = this.p2; - if (F.Line_orientation(t1, t2, new_point) !== C.Orientation_0) - return false; - return !F.vectors_point_same_direction(t2.$sub(0, t1), new_point.$sub(0, t2)); - }, - intersects_line_from_new_point$1: function(new_point) { - var t1, t2; - type$.legacy_Point_legacy_num._as(new_point); - t1 = this.p1; - t2 = this.p2; - if (F.Line_orientation(new_point, t1, t2) !== C.Orientation_0) - return false; - return !F.vectors_point_same_direction(new_point.$sub(0, t1), t2.$sub(0, t1)); - } - }; - F.Line_Line_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_Point_legacy_num, - t2 = t1._as(this.p1); - b.get$_selection_rope$_$this().set$_p1(t2); - t1 = t1._as(this.p2); - b.get$_selection_rope$_$this().set$_p2(t1); + t1 = b.get$address(), + t2 = _this.address; + A.ArgumentError_checkNotNull(t2, "other", type$.Address); + t1._address$_$v = t2; + b.get$_potential_crossover$_$this()._potential_crossover$_color = _this.color; + t2 = b.get$dna_end_first_click(); + t1 = _this.dna_end_first_click; + A.ArgumentError_checkNotNull(t1, "other", type$.DNAEnd); + t2._dna_end$_$v = t1; + t1 = type$.nullable_Point_double; + t2 = t1._as(_this.start_point); + b.get$_potential_crossover$_$this().set$_start_point(t2); + t1 = t1._as(_this.current_point); + b.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); + b.get$_potential_crossover$_$this()._linker = _this.linker; return b; }, - $signature: 391 - }; - F.Orientation.prototype = { - toString$0: function(_) { - return this._selection_rope$_name; - } + $signature: 389 }; - F._$SelectionRopeSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A._$PotentialCrossoverSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_SelectionRope._as(object); - result = H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "points", serializers.serialize$2$specifiedType(object.points, C.FullType_EyI)], type$.JSArray_legacy_Object); - value = object.current_point; - if (value != null) { - C.JSArray_methods.add$1(result, "current_point"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_8eb)); - } - value = object.is_main; + type$.PotentialCrossover._as(object); + result = ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_h8g), "dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, B.FullType_QR4), "start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_laS), "current_point", serializers.serialize$2$specifiedType(object.current_point, B.FullType_laS)]; + value = object.linker; if (value != null) { - C.JSArray_methods.add$1(result, "is_main"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_MtR)); + result.push("linker"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_yCn)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, - result = new F.SelectionRopeBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.List_legacy_Point_legacy_num, t4 = type$.ListBuilder_legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, + result = new A.PotentialCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Linker, t2 = type$.Point_double, t3 = type$.nullable_Point_double, t4 = type$.DNAEnd, t5 = type$.Address; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "toggle": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selection_rope$_$this()._toggle = t5; + switch (t6) { + case "address": + t6 = result.get$_potential_crossover$_$this(); + t7 = t6._address; + t6 = t7 == null ? t6._address = new A.AddressBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t7.toString; + t5._as(t7); + t6._address$_$v = t7; break; - case "points": - t5 = result.get$_selection_rope$_$this(); - t6 = t5._points; - if (t6 == null) { - t6 = new D.ListBuilder(t4); - t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); - t6.set$_listOwner(null); - t5.set$_points(t6); - t5 = t6; - } else - t5 = t6; - t6 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_EyI)); - t7 = t5.$ti; - t8 = t7._eval$1("_BuiltList<1>"); - t9 = t7._eval$1("List<1>"); - if (t8._is(t6)) { - t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); - t5.set$_listOwner(t6); - } else { - t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); - t5.set$_listOwner(null); - } + case "color": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6.toString; + A._asStringS(t6); + result.get$_potential_crossover$_$this()._potential_crossover$_color = t6; break; - case "current_point": - t5 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - result.get$_selection_rope$_$this().set$_current_point(t5); + case "dna_end_first_click": + t6 = result.get$_potential_crossover$_$this(); + t7 = t6._dna_end_first_click; + t6 = t7 == null ? t6._dna_end_first_click = new A.DNAEndBuilder() : t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t7.toString; + t4._as(t7); + t6._dna_end$_$v = t7; break; - case "is_main": - t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_selection_rope$_$this()._is_main = t5; + case "start_point": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6.toString; + t6 = t3._as(t2._as(t6)); + result.get$_potential_crossover$_$this().set$_start_point(t6); break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_VQM; - }, - get$wireName: function() { - return "SelectionRope"; - } - }; - F._$LineSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_Line._as(object); - return H.setRuntimeTypeInfo(["p1", serializers.serialize$2$specifiedType(object.p1, C.FullType_8eb), "p2", serializers.serialize$2$specifiedType(object.p2, C.FullType_8eb)], type$.JSArray_legacy_Object); - }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); - }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, - result = new F.LineBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "p1": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - $$v = result._selection_rope$_$v; - if ($$v != null) { - result.set$_p1($$v.p1); - result.set$_p2($$v.p2); - result._selection_rope$_$v = null; - } - result.set$_p1(t2); + case "current_point": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6.toString; + t6 = t3._as(t2._as(t6)); + result.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t6); break; - case "p2": - t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); - $$v = result._selection_rope$_$v; - if ($$v != null) { - result.set$_p1($$v.p1); - result.set$_p2($$v.p2); - result._selection_rope$_$v = null; - } - result.set$_p2(t2); + case "linker": + t6 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_yCn)); + result.get$_potential_crossover$_$this()._linker = t6; break; } } - return result.build$0(); + return result._potential_crossover$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_Cu4; + get$types() { + return B.List_Mli; }, - get$wireName: function() { - return "Line"; + get$wireName() { + return "PotentialCrossover"; } }; - F._$SelectionRope.prototype = { - get$lines: function(_) { - var _this = this, - t1 = _this.__lines; - if (t1 == null) { - t1 = F.SelectionRope.prototype.get$lines.call(_this, _this); - _this.set$__lines(t1); - } - return t1; - }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_SelectionRopeBuilder._as(updates); - t1 = new F.SelectionRopeBuilder(); - t1._selection_rope$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { + A._$PotentialCrossover.prototype = { + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof F.SelectionRope && _this.toggle === other.toggle && J.$eq$(_this.points, other.points) && J.$eq$(_this.current_point, other.current_point) && _this.is_main == other.is_main; + return other instanceof A.PotentialCrossover && _this.address.$eq(0, other.address) && _this.color === other.color && _this.dna_end_first_click.$eq(0, other.dna_end_first_click) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point) && J.$eq$(_this.linker, other.linker); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._selection_rope$__hashCode; - return t1 == null ? _this._selection_rope$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(_this.toggle)), J.get$hashCode$(_this.points)), J.get$hashCode$(_this.current_point)), J.get$hashCode$(_this.is_main))) : t1; + get$hashCode(_) { + var t2, t3, t4, _$hash, _this = this, + t1 = _this._potential_crossover$__hashCode; + if (t1 != null) + return t1; + t1 = _this.address; + t2 = _this.dna_end_first_click; + t3 = _this.start_point; + t4 = _this.current_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSString_methods.get$hashCode(_this.color)), t2.get$hashCode(t2)), A.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t4.x), J.get$hashCode$(t4.y), 0)), J.get$hashCode$(_this.linker))); + t4 = _this._potential_crossover$__hashCode; + if (t4 == null) { + _this._potential_crossover$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t4; + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRope"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossover"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "toggle", _this.toggle); - t2.add$2(t1, "points", _this.points); + t2.add$2(t1, "address", _this.address); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "dna_end_first_click", _this.dna_end_first_click); + t2.add$2(t1, "start_point", _this.start_point); t2.add$2(t1, "current_point", _this.current_point); - t2.add$2(t1, "is_main", _this.is_main); + t2.add$2(t1, "linker", _this.linker); return t2.toString$0(t1); - }, - set$__lines: function(__lines) { - this.__lines = type$.legacy_BuiltList_legacy_Line._as(__lines); - }, - set$__lines_without_last: function(__lines_without_last) { - this.__lines_without_last = type$.legacy_BuiltList_legacy_Line._as(__lines_without_last); - }, - set$__lines_without_first: function(__lines_without_first) { - this.__lines_without_first = type$.legacy_BuiltList_legacy_Line._as(__lines_without_first); } }; - F.SelectionRopeBuilder.prototype = { - get$points: function(_) { - var t1 = this.get$_selection_rope$_$this(), - t2 = t1._points; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Point_legacy_num); - t1.set$_points(t2); - t1 = t2; - } else - t1 = t2; - return t1; + A.PotentialCrossoverBuilder.prototype = { + get$address() { + var t1 = this.get$_potential_crossover$_$this(), + t2 = t1._address; + return t2 == null ? t1._address = new A.AddressBuilder() : t2; }, - get$_selection_rope$_$this: function() { - var t1, _this = this, - $$v = _this._selection_rope$_$v; + get$dna_end_first_click() { + var t1 = this.get$_potential_crossover$_$this(), + t2 = t1._dna_end_first_click; + return t2 == null ? t1._dna_end_first_click = new A.DNAEndBuilder() : t2; + }, + get$_potential_crossover$_$this() { + var t1, t2, _this = this, + $$v = _this._potential_crossover$_$v; if ($$v != null) { - _this._toggle = $$v.toggle; - t1 = $$v.points; - t1.toString; - _this.set$_points(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this.set$_current_point($$v.current_point); - _this._is_main = $$v.is_main; - _this._selection_rope$_$v = null; + t1 = $$v.address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Address); + t2._address$_$v = t1; + _this._address = t2; + _this._potential_crossover$_color = $$v.color; + t2 = $$v.dna_end_first_click; + t1 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.DNAEnd); + t1._dna_end$_$v = t2; + _this._dna_end_first_click = t1; + _this.set$_start_point($$v.start_point); + _this.set$_potential_crossover$_current_point($$v.current_point); + _this._linker = $$v.linker; + _this._potential_crossover$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s13_ = "SelectionRope", + _potential_crossover$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, exception, _this = this, + _s18_ = "PotentialCrossover", + _s11_ = "start_point", + _s13_ = "current_point", + _s19_ = "dna_end_first_click", _$result = null; try { - _$result0 = _this._selection_rope$_$v; + _$result0 = _this._potential_crossover$_$v; if (_$result0 == null) { - t1 = _this.get$_selection_rope$_$this()._toggle; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "toggle")); - t2 = _this.get$points(_this).build$0(); - _$result0 = new F._$SelectionRope(t1, t2, _this.get$_selection_rope$_$this()._current_point, _this.get$_selection_rope$_$this()._is_main); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "points")); + t1 = _this.get$address()._address$_build$0(); + t2 = type$.String; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_crossover$_$this()._potential_crossover$_color, _s18_, "color", t2); + t4 = _this.get$dna_end_first_click()._dna_end$_build$0(); + t5 = type$.Point_double; + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_crossover$_$this()._start_point, _s18_, _s11_, t5); + t7 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_crossover$_$this()._potential_crossover$_current_point, _s18_, _s13_, t5); + _$result0 = new A._$PotentialCrossover(t1, t3, t4, t6, t7, _this.get$_potential_crossover$_$this()._linker); + A.BuiltValueNullFieldError_checkNotNull(t1, _s18_, "address", type$.Address); + A.BuiltValueNullFieldError_checkNotNull(t3, _s18_, "color", t2); + A.BuiltValueNullFieldError_checkNotNull(t4, _s18_, _s19_, type$.DNAEnd); + A.BuiltValueNullFieldError_checkNotNull(t6, _s18_, _s11_, t5); + A.BuiltValueNullFieldError_checkNotNull(t7, _s18_, _s13_, t5); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "points"; - _this.get$points(_this).build$0(); + _$failedField._value = "address"; + _this.get$address()._address$_build$0(); + _$failedField._value = _s19_; + _this.get$dna_end_first_click()._dna_end$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s13_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_SelectionRope._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._selection_rope$_$v = t1; + t1 = type$.PotentialCrossover; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._potential_crossover$_$v = t2; return _$result; }, - set$_points: function(_points) { - this._points = type$.legacy_ListBuilder_legacy_Point_legacy_num._as(_points); + set$_start_point(_start_point) { + this._start_point = type$.nullable_Point_double._as(_start_point); + }, + set$_potential_crossover$_current_point(_current_point) { + this._potential_crossover$_current_point = type$.nullable_Point_double._as(_current_point); + } + }; + A._PotentialCrossover_Object_BuiltJsonSerializable.prototype = {}; + A.PotentialVerticalCrossover.prototype = {}; + A._$PotentialVerticalCrossoverSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.PotentialVerticalCrossover._as(object); + return ["helix_idx_top", serializers.serialize$2$specifiedType(object.helix_idx_top, B.FullType_kjq), "helix_idx_bot", serializers.serialize$2$specifiedType(object.helix_idx_bot, B.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "forward_top", serializers.serialize$2$specifiedType(object.forward_top, B.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_h8g), "domain_top", serializers.serialize$2$specifiedType(object.domain_top, B.FullType_fnc), "domain_bot", serializers.serialize$2$specifiedType(object.domain_bot, B.FullType_fnc), "dna_end_top", serializers.serialize$2$specifiedType(object.dna_end_top, B.FullType_QR4), "dna_end_bot", serializers.serialize$2$specifiedType(object.dna_end_bot, B.FullType_QR4)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.PotentialVerticalCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.DNAEnd, t2 = type$.Domain; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "helix_idx_top": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_potential_vertical_crossover$_$this()._helix_idx_top = t3; + break; + case "helix_idx_bot": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_potential_vertical_crossover$_$this()._helix_idx_bot = t3; + break; + case "offset": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset = t3; + break; + case "forward_top": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_potential_vertical_crossover$_$this()._forward_top = t3; + break; + case "color": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3.toString; + A._asStringS(t3); + result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color = t3; + break; + case "domain_top": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._domain_top; + t3 = t4 == null ? t3._domain_top = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t2._as(t4); + t3._domain$_$v = t4; + break; + case "domain_bot": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._domain_bot; + t3 = t4 == null ? t3._domain_bot = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t2._as(t4); + t3._domain$_$v = t4; + break; + case "dna_end_top": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._dna_end_top; + t3 = t4 == null ? t3._dna_end_top = new A.DNAEndBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t4.toString; + t1._as(t4); + t3._dna_end$_$v = t4; + break; + case "dna_end_bot": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._dna_end_bot; + t3 = t4 == null ? t3._dna_end_bot = new A.DNAEndBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t4.toString; + t1._as(t4); + t3._dna_end$_$v = t4; + break; + } + } + return result._potential_vertical_crossover$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - set$_current_point: function(_current_point) { - this._current_point = type$.legacy_Point_legacy_num._as(_current_point); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_LQu; + }, + get$wireName() { + return "PotentialVerticalCrossover"; } }; - F._$Line.prototype = { - $eq: function(_, other) { + A._$PotentialVerticalCrossover.prototype = { + $eq(_, other) { + var _this = this; if (other == null) return false; - if (other === this) + if (other === _this) return true; - return other instanceof F.Line && this.p1.$eq(0, other.p1) && this.p2.$eq(0, other.p2); + return other instanceof A.PotentialVerticalCrossover && _this.helix_idx_top === other.helix_idx_top && _this.helix_idx_bot === other.helix_idx_bot && _this.offset == other.offset && _this.forward_top === other.forward_top && _this.color === other.color && J.$eq$(_this.domain_top, other.domain_top) && J.$eq$(_this.domain_bot, other.domain_bot) && _this.dna_end_top.$eq(0, other.dna_end_top) && _this.dna_end_bot.$eq(0, other.dna_end_bot); }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._selection_rope$__hashCode; - if (t1 == null) { - t1 = _this.p1; - t2 = _this.p2; - t2 = _this._selection_rope$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._potential_vertical_crossover$__hashCode; + if (t1 != null) + return t1; + t1 = _this.dna_end_top; + t2 = _this.dna_end_bot; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx_top)), B.JSInt_methods.get$hashCode(_this.helix_idx_bot)), J.get$hashCode$(_this.offset)), B.JSBool_methods.get$hashCode(_this.forward_top)), B.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.domain_top)), J.get$hashCode$(_this.domain_bot)), t1.get$hashCode(t1)), t2.get$hashCode(t2))); + t2 = _this._potential_vertical_crossover$__hashCode; + if (t2 == null) { + _this._potential_vertical_crossover$__hashCode = _$hash; + t1 = _$hash; + } else t1 = t2; - } return t1; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("Line"), + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialVerticalCrossover"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "p1", this.p1); - t2.add$2(t1, "p2", this.p2); + t2.add$2(t1, "helix_idx_top", _this.helix_idx_top); + t2.add$2(t1, "helix_idx_bot", _this.helix_idx_bot); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "forward_top", _this.forward_top); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "domain_top", _this.domain_top); + t2.add$2(t1, "domain_bot", _this.domain_bot); + t2.add$2(t1, "dna_end_top", _this.dna_end_top); + t2.add$2(t1, "dna_end_bot", _this.dna_end_bot); return t2.toString$0(t1); + }, + get$offset(receiver) { + return this.offset; } }; - F.LineBuilder.prototype = { - get$_selection_rope$_$this: function() { - var _this = this, - $$v = _this._selection_rope$_$v; - if ($$v != null) { - _this.set$_p1($$v.p1); - _this.set$_p2($$v.p2); - _this._selection_rope$_$v = null; - } - return _this; + A.PotentialVerticalCrossoverBuilder.prototype = { + get$offset(_) { + return this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset; }, - build$0: function() { - var t1, t2, _this = this, - _$result = _this._selection_rope$_$v; - if (_$result == null) { - t1 = _this.get$_selection_rope$_$this()._p1; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Line", "p1")); - t2 = _this.get$_selection_rope$_$this()._p2; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$("Line", "p2")); - _$result = new F._$Line(t1, t2); - } - return _this._selection_rope$_$v = _$result; + get$domain_top() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._domain_top; + return t2 == null ? t1._domain_top = new A.DomainBuilder() : t2; }, - set$_p1: function(_p1) { - this._p1 = type$.legacy_Point_legacy_num._as(_p1); + get$domain_bot() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._domain_bot; + return t2 == null ? t1._domain_bot = new A.DomainBuilder() : t2; }, - set$_p2: function(_p2) { - this._p2 = type$.legacy_Point_legacy_num._as(_p2); - } - }; - F._Line_Object_BuiltJsonSerializable.prototype = {}; - F._SelectionRope_Object_BuiltJsonSerializable.prototype = {}; - E.Strand.prototype = { - initialize$0: function(_) { - var t1, t2, t3, t4, second_last_idx, _this = this, - strand = _this._rebuild_substrands_with_new_fields_based_on_strand$1(_this._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(_this)); - _this.check_loopout_not_singleton$0(); - _this.check_two_consecutive_loopouts$0(); - _this.check_loopouts_length$0(); - _this.check_at_least_one_domain$0(); - _this.check_only_at_ends$0(); - t1 = _this.substrands; - t2 = t1._list; - t3 = J.getInterceptor$asx(t2); - if (t3.$index(t2, 0) instanceof S.Extension) - if (t3.$index(t2, 1) instanceof G.Loopout) - H.throwExpression(N.StrandError$(_this, string$.cannothf + H.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + H.S(t1.$index(0, 1)))); - if (t3.get$last(t2) instanceof S.Extension) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return t4.$sub(); - second_last_idx = t4 - 2; - if (t3.$index(t2, second_last_idx) instanceof G.Loopout) - H.throwExpression(N.StrandError$(_this, string$.cannothl + H.S(t1.get$last(t1)) + string$.x0ax20and_ + H.S(t1.$index(0, second_last_idx)))); - } - return strand; + get$dna_end_top() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._dna_end_top; + return t2 == null ? t1._dna_end_top = new A.DNAEndBuilder() : t2; }, - _rebuild_substrands_with_new_fields_based_on_strand$1: function(strand) { - var substrands_new, t2, t3, t4, idx, is_5p, t5, new_ss, - t1 = strand.substrands; - t1.toString; - substrands_new = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - for (t1 = J.get$iterator$ax(t1._list), t2 = substrands_new.$ti, t3 = t2._precomputed1, t4 = !t3._is(null), t2 = t2._eval$1("List<1>"), idx = 0, is_5p = true; t1.moveNext$0(); is_5p = false) { - t5 = t1.get$current(t1); - if (t5 instanceof G.Loopout) - new_ss = this._rebuild_loopout_with_new_fields_based_on_strand$3(t5, idx, strand); - else if (t5 instanceof G.Domain) - new_ss = this._rebuild_domain_with_new_fields_based_on_strand$3(t5, idx, strand); - else - new_ss = t5 instanceof S.Extension ? this._rebuild_extension_with_new_fields_based_on_strand$3(t5, is_5p, strand) : null; - t3._as(new_ss); - if (!$.$get$isSoundMode() && t4) - if (new_ss == null) - H.throwExpression(P.ArgumentError$("null element")); - if (substrands_new._listOwner != null) { - t5 = substrands_new.__ListBuilder__list; - substrands_new.set$__ListBuilder__list(t2._as(P.List_List$from(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, true, t3))); - substrands_new.set$_listOwner(null); + get$dna_end_bot() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._dna_end_bot; + return t2 == null ? t1._dna_end_bot = new A.DNAEndBuilder() : t2; + }, + get$_potential_vertical_crossover$_$this() { + var t1, t2, t3, _this = this, _s5_ = "other", + $$v = _this._potential_vertical_crossover$_$v; + if ($$v != null) { + _this._helix_idx_top = $$v.helix_idx_top; + _this._helix_idx_bot = $$v.helix_idx_bot; + _this._potential_vertical_crossover$_offset = $$v.offset; + _this._forward_top = $$v.forward_top; + _this._potential_vertical_crossover$_color = $$v.color; + t1 = $$v.domain_top; + t1.toString; + t2 = new A.DomainBuilder(); + t3 = type$.Domain; + A.ArgumentError_checkNotNull(t1, _s5_, t3); + t2._domain$_$v = t1; + _this._domain_top = t2; + t2 = $$v.domain_bot; + t2.toString; + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, t3); + t1._domain$_$v = t2; + _this._domain_bot = t1; + t1 = $$v.dna_end_top; + t2 = new A.DNAEndBuilder(); + t3 = type$.DNAEnd; + A.ArgumentError_checkNotNull(t1, _s5_, t3); + t2._dna_end$_$v = t1; + _this._dna_end_top = t2; + t2 = $$v.dna_end_bot; + t1 = new A.DNAEndBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, t3); + t1._dna_end$_$v = t2; + _this._dna_end_bot = t1; + _this._potential_vertical_crossover$_$v = null; + } + return _this; + }, + _potential_vertical_crossover$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, + _s26_ = "PotentialVerticalCrossover", + _$result = null; + try { + _$result0 = _this._potential_vertical_crossover$_$v; + if (_$result0 == null) { + t1 = type$.int; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_vertical_crossover$_$this()._helix_idx_top, _s26_, "helix_idx_top", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_vertical_crossover$_$this()._helix_idx_bot, _s26_, "helix_idx_bot", t1); + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset, _s26_, "offset", t1); + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_vertical_crossover$_$this()._forward_top, _s26_, "forward_top", type$.bool); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color, _s26_, "color", type$.String); + t6 = _this.get$domain_top()._domain$_build$0(); + t7 = _this.get$domain_bot()._domain$_build$0(); + t8 = _this.get$dna_end_top()._dna_end$_build$0(); + _$result0 = A._$PotentialVerticalCrossover$_(t5, _this.get$dna_end_bot()._dna_end$_build$0(), t8, t7, t6, t4, t3, t2, t1); } - t5 = substrands_new.__ListBuilder__list; - J.$indexSet$ax(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, idx, new_ss); - ++idx; + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain_top"; + _this.get$domain_top()._domain$_build$0(); + _$failedField._value = "domain_bot"; + _this.get$domain_bot()._domain$_build$0(); + _$failedField._value = "dna_end_top"; + _this.get$dna_end_top()._dna_end$_build$0(); + _$failedField._value = "dna_end_bot"; + _this.get$dna_end_bot()._dna_end$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s26_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return strand.rebuild$1(new E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(substrands_new)); + t1 = type$.PotentialVerticalCrossover; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._potential_vertical_crossover$_$v = t2; + return _$result; + } + }; + A._PotentialVerticalCrossover_Object_BuiltJsonSerializable.prototype = {}; + A.SelectModeChoice.prototype = { + get$display_name() { + var _this = this; + if (_this === B.SelectModeChoice_end_5p_strand) + return "5' strand"; + else if (_this === B.SelectModeChoice_end_3p_strand) + return "3' strand"; + else if (_this === B.SelectModeChoice_end_5p_domain) + return "5' domain"; + else if (_this === B.SelectModeChoice_end_3p_domain) + return "3' domain"; + else + return _this.super$EnumClass$toString(0); }, - _rebuild_domain_with_new_fields_based_on_strand$3: function(domain, idx, strand) { - var t1 = J.get$length$asx(strand.substrands._list); - if (typeof t1 !== "number") - return t1.$sub(); - return domain.rebuild$1(new E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure(this, strand, idx === 0, idx === t1 - 1)); + toString$0(_) { + return this.get$display_name(); }, - _rebuild_loopout_with_new_fields_based_on_strand$3: function(loopout, idx, strand) { - return loopout.rebuild$1(new E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(this, strand, idx)); + get$image_file() { + switch (this) { + case B.SelectModeChoice_end_5p_strand: + return "images/select_mode_icons/5pstrand.svg"; + case B.SelectModeChoice_end_3p_strand: + return "images/select_mode_icons/3pstrand.svg"; + case B.SelectModeChoice_end_5p_domain: + return "images/select_mode_icons/5pdomain.svg"; + case B.SelectModeChoice_end_3p_domain: + return "images/select_mode_icons/3pdomain.svg"; + case B.SelectModeChoice_domain: + return "images/select_mode_icons/domain.svg"; + case B.SelectModeChoice_crossover: + return "images/select_mode_icons/crossover.svg"; + case B.SelectModeChoice_loopout: + return "images/select_mode_icons/loopout.svg"; + case B.SelectModeChoice_extension_: + return "images/select_mode_icons/extension.svg"; + case B.SelectModeChoice_deletion: + return "images/select_mode_icons/del.svg"; + case B.SelectModeChoice_insertion: + return "images/select_mode_icons/inser.svg"; + case B.SelectModeChoice_modification: + return "images/select_mode_icons/mod.svg"; + case B.SelectModeChoice_strand: + return "images/select_mode_icons/strand.svg"; + case B.SelectModeChoice_scaffold: + return "images/select_mode_icons/scaffold.svg"; + case B.SelectModeChoice_staple: + return "images/select_mode_icons/staple.svg"; + } + return ""; }, - _rebuild_extension_with_new_fields_based_on_strand$3: function(ext, is_5p, strand) { - return ext.rebuild$1(new E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure(this, strand, is_5p ? strand.get$first_domain() : strand.get$last_domain(), is_5p)); + get$tooltip() { + switch (this) { + case B.SelectModeChoice_end_5p_strand: + return "5' strand: Allows one to select the 5'\nend (square) of a whole strand. If many\n5' ends are selected, then one can\nadd a 5' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 5' modification is\nadded, then only the 5' ends are\nmodified."; + case B.SelectModeChoice_end_3p_strand: + return "3' strand: Allows one to select the 3'\nend (triangle) of a whole strand. If many\n3' ends are selected, then one can\nadd a 3' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 3' modification is\nadded, then only the 3' ends are\nmodified."; + case B.SelectModeChoice_end_5p_domain: + return "5' domain: Each strand is composed of \none or more bound domains, defined to \nbe a portion of a strand that exists on \na single helix. A 5'/3' end of a bound \ndomain that is not the 5'/3' end of the \nwhole strand is one of these. They are \nnot normally visible, but when these \nselect modes are enabled, they become \nvisible on mouseover and can be \nselected and dragged. Deleting a 5'/3' \nend of a bound domain deletes the whole \nbound domain. Ends can be moved, but \nunlike strands and domains, they can \nonly be moved back and forth along their\ncurrent helix."; + case B.SelectModeChoice_end_3p_domain: + return "3' domain: Each strand is composed of \none or more bound domains, defined to \nbe a portion of a strand that exists on \na single helix. A 5'/3' end of a bound \ndomain that is not the 5'/3' end of the \nwhole strand is one of these. They are \nnot normally visible, but when these \nselect modes are enabled, they become \nvisible on mouseover and can be \nselected and dragged. Deleting a 5'/3' \nend of a bound domain deletes the whole \nbound domain. Ends can be moved, but \nunlike strands and domains, they can \nonly be moved back and forth along their\ncurrent helix."; + case B.SelectModeChoice_domain: + return "domain: A single bound domain can be\nselected. Groups of domains can be\nmoved, but only if they are all in the\nsame helix group. (Though they can be\nmoved to a different helix group.)"; + case B.SelectModeChoice_crossover: + return 'crossover: Two consecutive bound\ndomains on a strand can be joined by a\ncrossover, which consists of no DNA\nbases (Technically bound domains do not\nhave to be bound to another strand, but\nthe idea is that generally in a\nfinished design, most of the bound\ndomains will actually be bound to\nanother.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; + case B.SelectModeChoice_loopout: + return 'loopout: Two consecutive bound domains\non a strand can be joined by a loopout,\nwhich is a single-stranded portion of\nthe strand with one or more DNA bases.\n(Technically bound domains do not have\nto be bound to another strand, but the\nidea is that generally in a finished\ndesign, most of the bound domains will\nactually be bound to another.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; + case B.SelectModeChoice_extension_: + return "extension: An extension is a single-stranded\nportion of a strand that is not on a\nHelix (like a domain) and does not connect\ntwo domains. It is like a loopout but on\nthe end of a strand, useful for modeling\ntoeholds for DNA strand displacement, \nfor instance."; + case B.SelectModeChoice_deletion: + return "deletion: Deletions can be selected and\ndeleted in batch by pressing the Delete key."; + case B.SelectModeChoice_insertion: + return "insertion: Insertions can be selected\nand deleted in batch by pressing the\nDelete key. Also, one can change the\nlength of all selected insertions by\nright-clicking on one of them and\nselecting the option to change\ninsertion length."; + case B.SelectModeChoice_modification: + return 'modification: If many modifications are\nselected, they can be deleted at once\nby pressing the Delete key (or\nright-clicking and selecting "remove\nmodification"). Those of a similar type\n(5\', 3\', or internal) can be modified\nin batch by right-clicking on one of\nthem and selecting "edit\nmodification".'; + case B.SelectModeChoice_strand: + return "strand: The whole strand can be selected. \nGroups of strands can be copy/pasted or \nmoved, but only if they are all in the \nsame helix group. (Though they can be \ncopied/moved to a different helix group.)"; + case B.SelectModeChoice_scaffold: + return "scaffold: This option allows one to\nselect scaffold strands. The option is \nnot shown in a non-origami design."; + case B.SelectModeChoice_staple: + return "staple: All non-scaffold strands are\ncalled staples. This option allows one\nto select staples. The option is not\nshown in a non-origami design."; + } + return ""; }, - _rebuild_substrands_with_new_dna_sequences_based_on_strand$1: function(strand) { - var new_substrands, t1, t2, old_sequence; - if (!this._at_least_one_substrand_has_dna_sequence$1(strand)) - return strand; - new_substrands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); - for (t1 = J.get$iterator$ax(strand.substrands._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - old_sequence = t2.get$dna_sequence() == null ? "" : t2.get$dna_sequence(); - C.JSArray_methods.add$1(new_substrands, t2.set_dna_sequence$1(this._trim_or_pad_sequence_to_desired_length$2(old_sequence, t2.dna_length$0()))); + css_selector$0() { + switch (this) { + case B.SelectModeChoice_end_5p_strand: + return "five-prime-end-first-substrand"; + case B.SelectModeChoice_end_3p_strand: + return "three-prime-end-last-substrand"; + case B.SelectModeChoice_end_5p_domain: + return "five-prime-end"; + case B.SelectModeChoice_end_3p_domain: + return "three-prime-end"; + case B.SelectModeChoice_domain: + return "domain-line"; + case B.SelectModeChoice_crossover: + return "crossover-curve"; + case B.SelectModeChoice_loopout: + return "loopout-curve"; + case B.SelectModeChoice_extension_: + return "extension-line"; + case B.SelectModeChoice_deletion: + return "deletion-cross"; + case B.SelectModeChoice_insertion: + return "insertion-curve"; + case B.SelectModeChoice_modification: + return "modification"; + case B.SelectModeChoice_strand: + return "strand"; + case B.SelectModeChoice_scaffold: + return "scaffold"; + case B.SelectModeChoice_staple: + return "staple"; } - return strand.rebuild$1(new E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(new_substrands)); + throw A.wrapException(A.AssertionError$("should not be reachable; unknown SelectModeChoice used: " + this.toString$0(0))); + } + }; + A._$SelectModeChoiceSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.SelectModeChoice._as(object).name; }, - _at_least_one_substrand_has_dna_sequence$1: function(strand) { - var t1 = strand.substrands; - t1.toString; - return J.any$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.Strand__at_least_one_substrand_has_dna_sequence_closure())); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - check_at_least_one_domain$0: function() { - var t1, t2; - for (t1 = this.substrands, t2 = J.get$iterator$ax(t1._list); t2.moveNext$0();) - if (t2.get$current(t2) instanceof G.Domain) - return; - throw H.wrapException(N.StrandError$(this, "strand must have at least one domain; here are all substrands:\n" + t1.toString$0(0))); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf8(A._asStringS(serialized)); }, - check_only_at_ends$0: function() { - var t4, - t1 = this.substrands, - t2 = t1._list, - t3 = J.getInterceptor$asx(t2), - i = 1; - while (true) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return t4.$sub(); - if (!(i < t4 - 1)) - break; - if (t3.$index(t2, i) instanceof S.Extension) - throw H.wrapException(N.StrandError$(this, "Extension must be at 5' or 3' end, but there is an Extension at index " + i + ": " + H.S(t1.$index(0, i)))); - ++i; - } + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - check_not_adjacent_to_loopout$0: function() { - var t4, second_last_idx, - t1 = this.substrands, - t2 = t1._list, - t3 = J.getInterceptor$asx(t2); - if (t3.$index(t2, 0) instanceof S.Extension) - if (t3.$index(t2, 1) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(this, string$.cannothf + H.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + H.S(t1.$index(0, 1)))); - if (t3.get$last(t2) instanceof S.Extension) { - t4 = t3.get$length(t2); - if (typeof t4 !== "number") - return t4.$sub(); - second_last_idx = t4 - 2; - if (t3.$index(t2, second_last_idx) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(this, string$.cannothl + H.S(t1.get$last(t1)) + string$.x0ax20and_ + H.S(t1.$index(0, second_last_idx)))); - } + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_SelectModeChoice_a75; }, - check_loopout_not_singleton$0: function() { - if (J.get$length$asx(this.substrands._list) === 1) - this.get$first_domain().toString; + get$wireName() { + return "SelectModeChoice"; + } + }; + A.SelectModeState.prototype = { + get$strands_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_strand); }, - check_two_consecutive_loopouts$0: function() { - var t3, domain1, domain2, - t1 = this.substrands._list, - t2 = J.getInterceptor$asx(t1), - i = 0; - while (true) { - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - if (!(i < t3 - 1)) - break; - domain1 = t2.$index(t1, i); - ++i; - domain2 = t2.$index(t1, i); - if (domain1.is_loopout$0() && domain2.is_loopout$0()) - throw H.wrapException(N.StrandError$(this, "cannot have two consecutive Loopouts in a strand")); - } + get$linkers_selectable() { + var t1 = this.modes._set; + return t1.contains$1(0, B.SelectModeChoice_crossover) || t1.contains$1(0, B.SelectModeChoice_loopout); }, - check_loopouts_length$0: function() { - var t1, t2; - for (t1 = J.get$iterator$ax(this.get$loopouts()._list); t1.moveNext$0();) { - t2 = t1.get$current(t1).loopout_num_bases; - if (t2 <= 0) - throw H.wrapException(N.StrandError$(this, "loopout length must be positive but is " + t2)); - } + get$ends_selectable() { + var t1 = this.modes._set; + return t1.contains$1(0, B.SelectModeChoice_end_3p_strand) || t1.contains$1(0, B.SelectModeChoice_end_5p_strand) || t1.contains$1(0, B.SelectModeChoice_end_3p_domain) || t1.contains$1(0, B.SelectModeChoice_end_5p_domain); }, - get$dna_sequence: function() { - var t1, sequence, t2; - for (t1 = J.get$iterator$ax(this.substrands._list), sequence = ""; t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (t2.get$dna_sequence() == null) - return null; - sequence = C.JSString_methods.$add(sequence, t2.get$dna_sequence()); - } - return sequence; + get$domains_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_domain); }, - vendor_dna_sequence$1$domain_delimiter: function(domain_delimiter) { - var ret_list, t1, _this = this; - if (_this.get$dna_sequence() == null) - return null; - ret_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - t1 = _this.modification_5p; - if (t1 != null && true) - C.JSArray_methods.add$1(ret_list, t1.vendor_code); - for (t1 = J.get$iterator$ax(_this.substrands._list); t1.moveNext$0();) - C.JSArray_methods.add$1(ret_list, _this.vendor_dna_sequence_substrand$1(t1.get$current(t1))); - t1 = _this.modification_3p; - if (t1 != null && true) - C.JSArray_methods.add$1(ret_list, t1.vendor_code); - return C.JSArray_methods.join$1(ret_list, domain_delimiter); + get$extensions_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_extension_); }, - vendor_dna_sequence_substrand$1: function(substrand) { - var t1, len_dna_prior, t2, new_seq_list, pos, base, strand_pos, t3, mod, vendor_code_with_delim; - if (this.get$dna_sequence() == null) - return null; - for (t1 = J.get$iterator$ax(this.substrands._list), len_dna_prior = 0; t1.moveNext$0();) { - t2 = t1.get$current(t1); - if (J.$eq$(t2, substrand)) - break; - len_dna_prior += t2.dna_length$0(); - } - new_seq_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t1 = this.modifications_int, pos = 0; pos < substrand.get$dna_sequence().length; ++pos) { - t2 = substrand.get$dna_sequence(); - if (pos >= t2.length) - return H.ioore(t2, pos); - base = t2[pos]; - C.JSArray_methods.add$1(new_seq_list, base); - strand_pos = pos + len_dna_prior; - t2 = t1._map$_map; - t3 = J.getInterceptor$x(t2); - if (t3.containsKey$1(t2, strand_pos)) { - mod = t3.$index(t2, strand_pos); - vendor_code_with_delim = mod.vendor_code; - t2 = mod.allowed_bases; - if (t2 != null) { - t2 = t2._set; - if (!t2.contains$1(0, base)) - throw H.wrapException(N.IllegalDesignError$("internal modification " + mod.toString$0(0) + " can only replace one of these bases: " + t2.join$1(0, ",") + ", but the base at position " + strand_pos + " is " + base)); - C.JSArray_methods.set$last(new_seq_list, vendor_code_with_delim); - } else - C.JSArray_methods.add$1(new_seq_list, vendor_code_with_delim); - } - } - return C.JSArray_methods.join$1(new_seq_list, ""); + get$deletions_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_deletion); }, - get$has_5p_extension: function() { - return J.get$first$ax(this.substrands._list) instanceof S.Extension; + get$insertions_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_insertion); }, - get$has_3p_extension: function() { - return J.get$last$ax(this.substrands._list) instanceof S.Extension; + get$modifications_selectable() { + return this.modes._set.contains$1(0, B.SelectModeChoice_modification); }, - get$address_5p: function() { - return this.get$first_domain().get$address_5p(); + add_mode$1(mode) { + A.SelectModeState_add_selectable_css_selectors(mode); + return this.rebuild$1(new A.SelectModeState_add_mode_closure(this, mode)); }, - get$address_3p: function() { - return this.get$last_domain().get$address_3p(); + remove_mode$1(mode) { + A.SelectModeState_remove_selectable_css_selectors(mode); + return this.rebuild$1(new A.SelectModeState_remove_mode_closure(this, mode)); }, - get$selectable_deletions: function() { - var t2, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); - for (t2 = J.get$iterator$ax(this.get$domains()._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = t3._domain$__selectable_deletions; - if (t4 == null) { - t4 = G.Domain.prototype.get$selectable_deletions.call(t3); - t3.set$_domain$__selectable_deletions(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - t1.push(t3.get$current(t3)); - } - return D._BuiltList$of(t1, type$.legacy_SelectableDeletion); + add_modes$1(new_modes) { + var t1; + type$.Iterable_SelectModeChoice._as(new_modes); + for (t1 = new_modes._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) + A.SelectModeState_add_selectable_css_selectors(t1.__interceptors$_current); + return this.rebuild$1(new A.SelectModeState_add_modes_closure(this, new_modes)); }, - get$selectable_insertions: function() { - var t2, t3, t4, - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion); - for (t2 = J.get$iterator$ax(this.get$domains()._list); t2.moveNext$0();) { + remove_modes$1(new_modes) { + var t1; + type$.Iterable_SelectModeChoice._as(new_modes); + for (t1 = J.get$iterator$ax(new_modes); t1.moveNext$0();) + A.SelectModeState_remove_selectable_css_selectors(t1.__interceptors$_current); + return this.rebuild$1(new A.SelectModeState_remove_modes_closure(this, new_modes)); + }, + set_modes$1(new_modes) { + var t1, t2, t3; + type$.Iterable_SelectModeChoice._as(new_modes); + for (t1 = new_modes._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { t3 = t2.get$current(t2); - t4 = t3._domain$__selectable_insertions; - if (t4 == null) { - t4 = G.Domain.prototype.get$selectable_insertions.call(t3); - t3.set$_domain$__selectable_insertions(t4); - t3 = t4; - } else - t3 = t4; - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) - t1.push(t3.get$current(t3)); + if (t1.contains$1(0, t3)) + A.SelectModeState_add_selectable_css_selectors(t3); + else + A.SelectModeState_remove_selectable_css_selectors(t3); } - return D._BuiltList$of(t1, type$.legacy_SelectableInsertion); + return this.rebuild$1(new A.SelectModeState_set_modes_closure(new_modes)); + } + }; + A.SelectModeState_add_mode_closure.prototype = { + call$1(s) { + var t2, t3, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t1 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2 = t2._precomputed1; + t3 = t2._as(this.mode); + !$.$get$isSoundMode() && !t2._is(null); + t1.get$_safeSet().add$1(0, t3); + type$.nullable_SetBuilder_SelectModeChoice._as(t1); + s.get$_select_mode_state$_$this().set$_modes(t1); + return s; }, - get$selectable_modification_5p: function() { - var t1 = this.modification_5p; - return t1 == null ? null : E._$SelectableModification5Prime$_(t1, this); + $signature: 69 + }; + A.SelectModeState_remove_mode_closure.prototype = { + call$1(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.get$_safeSet().remove$1(0, this.mode); + type$.nullable_SetBuilder_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; }, - get$selectable_modification_3p: function() { - var t1 = this.modification_3p; - return t1 == null ? null : E._$SelectableModification3Prime$_(t1, this); + $signature: 69 + }; + A.SelectModeState_add_modes_closure.prototype = { + call$1(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.addAll$1(0, this.new_modes); + type$.nullable_SetBuilder_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; }, - get$selectable_modifications: function() { - var t1, t2, _this = this, - mods = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Selectable); - if (_this.get$selectable_modification_5p() != null) - C.JSArray_methods.add$1(mods, _this.get$selectable_modification_5p()); - if (_this.get$selectable_modification_3p() != null) - C.JSArray_methods.add$1(mods, _this.get$selectable_modification_3p()); - t1 = _this.get$selectable_modifications_int_by_dna_idx(); - t2 = type$.legacy_Selectable; - C.JSArray_methods.addAll$1(mods, P.List_List$from(t1.get$values(t1), true, t2)); - return D._BuiltList$of(mods, t2); + $signature: 69 + }; + A.SelectModeState_remove_modes_closure.prototype = { + call$1(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.get$_safeSet().removeAll$1(this.new_modes); + type$.nullable_SetBuilder_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; }, - get$selectable_modifications_int_by_dna_idx: function() { - var t5, substrand, mods_on_ss, t6, t7, t8, mod, _this = this, - _s30_ = "SelectableModificationInternal", - t1 = type$.legacy_int, - t2 = type$.legacy_SelectableModificationInternal, - mods = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), - t3 = _this.substrands._list, - t4 = J.getInterceptor$asx(t3), - i = 0; - while (true) { - t5 = t4.get$length(t3); - if (typeof t5 !== "number") - return H.iae(t5); - if (!(i < t5)) - break; - substrand = t4.$index(t3, i); - if (substrand instanceof G.Domain) { - t5 = _this.__internal_modifications_on_substrand_absolute_idx; - if (t5 == null) { - t5 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(_this); - _this.set$__internal_modifications_on_substrand_absolute_idx(t5); - } - mods_on_ss = J.$index$asx(t5._list, i); - if (mods_on_ss._keys == null) - mods_on_ss.set$_keys(J.get$keys$x(mods_on_ss._map$_map)); - t5 = mods_on_ss._keys; - t5.toString; - t5 = J.get$iterator$ax(t5); - t6 = mods_on_ss._map$_map; - t7 = J.getInterceptor$asx(t6); - for (; t5.moveNext$0();) { - t8 = t5.get$current(t5); - mod = t7.$index(t6, t8); - if (mod == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); - mods.$indexSet(0, t8, new E._$SelectableModificationInternal(mod, _this, substrand, t8)); - } - } - ++i; - } - return A.BuiltMap_BuiltMap$of(mods, t1, t2); + $signature: 69 + }; + A.SelectModeState_set_modes_closure.prototype = { + call$1(s) { + var t1 = A.SetBuilder_SetBuilder(this.new_modes, type$.SelectModeChoice); + type$.nullable_SetBuilder_SelectModeChoice._as(t1); + s.get$_select_mode_state$_$this().set$_modes(t1); + return t1; }, - get$internal_modifications_on_substrand_absolute_idx: function() { - var t4, mod, ss_idx, _i, _this = this, - t1 = _this.substrands._list, - t2 = J.getInterceptor$asx(t1), - mods = P.List_List$filled(t2.get$length(t1), null, false, type$.legacy_Map_of_legacy_int_and_legacy_ModificationInternal), - t3 = type$.JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal, - i = 0; - while (true) { - t4 = t2.get$length(t1); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(i < t4)) - break; - C.JSArray_methods.$indexSet(mods, i, new H.JsLinkedHashMap(t3)); - ++i; - } - for (t1 = _this.modifications_int, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = mods.length; t2.moveNext$0();) { - t4 = t2.get$current(t2); - mod = J.$index$asx(t1._map$_map, t4); - ss_idx = _this.index_of_substrand$1(_this._substrand_of_dna_idx$1(t4).item1); - if (ss_idx >= t3) - return H.ioore(mods, ss_idx); - mods[ss_idx].$indexSet(0, t4, mod); - } - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal); - for (t2 = type$.legacy_int, t4 = type$.legacy_ModificationInternal, _i = 0; _i < t3; ++_i) - t1.push(A.BuiltMap_BuiltMap$of(mods[_i], t2, t4)); - return D._BuiltList$of(t1, type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal); - }, - index_of_substrand$1: function(ss) { - var t4, - t1 = this.substrands._list, - t2 = J.getInterceptor$asx(t1), - t3 = J.getInterceptor$(ss), - i = 0; - while (true) { - t4 = t2.get$length(t1); - if (typeof t4 !== "number") - return H.iae(t4); - if (!(i < t4)) - break; - if (t3.$eq(ss, t2.$index(t1, i))) - return i; - ++i; - } - throw H.wrapException(P.AssertionError$("ss = " + H.S(ss) + " is not a substrand on this strand: " + this.toString$0(0))); + $signature: 391 + }; + A._$SelectModeStateSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["modes", serializers.serialize$2$specifiedType(type$.SelectModeState._as(object).modes, B.FullType_2aQ)]; }, - get$internal_modifications_on_substrand: function() { - var t1, t2, t3, t4, mod, ss_and_idx, t5, t6, t7, - mods = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Substrand_and_legacy_Map_of_legacy_int_and_legacy_ModificationInternal); - for (t1 = J.get$iterator$ax(this.substrands._list), t2 = type$.JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal; t1.moveNext$0();) { - t3 = t1.get$current(t1); - mods.$indexSet(0, t3, new H.JsLinkedHashMap(t2)); - } - for (t1 = this.modifications_int, t2 = J.get$iterator$ax(t1.get$keys(t1)), t1 = t1._map$_map, t3 = J.getInterceptor$asx(t1); t2.moveNext$0();) { - t4 = t2.get$current(t2); - mod = t3.$index(t1, t4); - ss_and_idx = this._substrand_of_dna_idx$1(t4); - J.$indexSet$ax(mods.$index(0, ss_and_idx.item1), ss_and_idx.item2, mod); - } - t1 = type$.legacy_Substrand; - t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal; - t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - for (t4 = mods.get$keys(mods), t4 = t4.get$iterator(t4), t5 = type$.legacy_int, t6 = type$.legacy_ModificationInternal; t4.moveNext$0();) { - t7 = t4.get$current(t4); - t3.$indexSet(0, t7, A.BuiltMap_BuiltMap$of(mods.$index(0, t7), t5, t6)); - } - return A.BuiltMap_BuiltMap$of(t3, t1, t2); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - _substrand_of_dna_idx$1: function(dna_idx) { - var t1, dna_idx_cur_ss_start, t2, dna_idx_cur_ss_end; - if (typeof dna_idx !== "number") - return dna_idx.$lt(); - if (dna_idx < 0) - throw H.wrapException(P.ArgumentError$("dna_idx cannot be negative but is " + dna_idx)); - if (dna_idx >= this.get$dna_length()) - throw H.wrapException(P.ArgumentError$("dna_idx cannot be greater than dna_length() but dna_idx = " + dna_idx + " and dna_length() = " + this.get$dna_length())); - for (t1 = J.get$iterator$ax(this.substrands._list), dna_idx_cur_ss_start = 0; t1.moveNext$0(); dna_idx_cur_ss_start = dna_idx_cur_ss_end) { - t2 = t1.get$current(t1); - dna_idx_cur_ss_end = dna_idx_cur_ss_start + t2.dna_length$0(); - if (dna_idx_cur_ss_start <= dna_idx && dna_idx < dna_idx_cur_ss_end) - return new S.Tuple2(t2, dna_idx - dna_idx_cur_ss_start, type$.Tuple2_of_legacy_Substrand_and_legacy_int); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, t1, iterator, t2, t3, value, $$v, t4; + type$.Iterable_nullable_Object._as(serialized); + result = new A.SelectModeStateBuilder(); + t1 = type$.nullable_SetBuilder_SelectModeChoice._as(A.SetBuilder_SetBuilder([B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold], type$.SelectModeChoice)); + result.get$_select_mode_state$_$this().set$_modes(t1); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_SelectModeChoice; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "modes": + $$v = result._select_mode_state$_$v; + if ($$v != null) { + t3 = $$v.modes; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_modes(new A.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._select_mode_state$_$v = null; + } + t3 = result._modes; + if (t3 == null) { + t3 = new A.SetBuilder(null, $, null, t2); + t3.replace$1(0, B.List_empty); + result.set$_modes(t3); + } + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_2aQ); + t4.toString; + t3.replace$1(0, t1._as(t4)); + break; + } } - throw H.wrapException(P.AssertionError$("should be unreachable")); + return result._select_mode_state$_build$0(); }, - get$domains_on_helix: function() { - var t1, t2, t3, t4, domains_partially_built_map, t5, - domains_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain); - for (t1 = J.get$iterator$ax(this.get$domains()._list), t2 = type$.JSArray_legacy_Domain; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = t3.helix; - if (domains_map.containsKey$1(0, t4)) - J.add$1$ax(domains_map.$index(0, t4), t3); - else - domains_map.$indexSet(0, t4, H.setRuntimeTypeInfo([t3], t2)); - } - domains_partially_built_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain); - for (t1 = domains_map.get$keys(domains_map), t1 = t1.get$iterator(t1), t2 = type$.legacy_Domain, t3 = type$._BuiltList_legacy_Domain; t1.moveNext$0();) { - t4 = t1.get$current(t1); - t5 = new D._BuiltList(P.List_List$from(domains_map.$index(0, t4), false, t2), t3); - t5._maybeCheckForNull$0(); - domains_partially_built_map.$indexSet(0, t4, t5); - } - return A.BuiltMap_BuiltMap$of(domains_partially_built_map, type$.legacy_int, type$.legacy_BuiltList_legacy_Domain); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$linkers: function() { - var t4, t5, loopout, _this = this, - linkers = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Linker), - t1 = _this.substrands._list, - t2 = J.getInterceptor$asx(t1), - t3 = _this.is_scaffold, - i = 0; - while (true) { - t4 = t2.get$length(t1); - if (typeof t4 !== "number") - return t4.$sub(); - if (!(i < t4 - 1)) - break; - if (t2.$index(t1, i) instanceof G.Domain) { - t4 = i + 1; - if (t2.$index(t1, t4) instanceof G.Domain) { - t5 = _this.__id; - C.JSArray_methods.add$1(linkers, T.Crossover_Crossover(i, t4, t5 == null ? _this.__id = E.Strand.prototype.get$id.call(_this, _this) : t5, t3)); - } else if (t2.$index(t1, t4) instanceof G.Loopout) { - loopout = t2.$index(t1, t4); - if (loopout instanceof G.Loopout) - C.JSArray_methods.add$1(linkers, loopout); - } - } - ++i; - } - if (_this.circular) { - t1 = t2.get$length(t1); - if (typeof t1 !== "number") - return t1.$sub(); - C.JSArray_methods.add$1(linkers, T.Crossover_Crossover(t1 - 1, 0, _this.get$id(_this), t3)); - } - return D._BuiltList$of(linkers, type$.legacy_Linker); + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_qLL; }, - get$crossovers: function() { - var t2, t3, t1 = []; - for (t2 = J.get$iterator$ax(this.get$linkers()._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t3 instanceof T.Crossover) - t1.push(t3); - } - return D.BuiltList_BuiltList$from(t1, type$.legacy_Crossover); + get$wireName() { + return "SelectModeState"; + } + }; + A._$SelectModeState.prototype = { + get$domains_selectable() { + var t1 = this.__domains_selectable; + return t1 == null ? this.__domains_selectable = A.SelectModeState.prototype.get$domains_selectable.call(this) : t1; }, - get$loopouts: function() { - var t2, t3, t1 = []; - for (t2 = J.get$iterator$ax(this.get$linkers()._list); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t3 instanceof G.Loopout) - t1.push(t3); - } - return D.BuiltList_BuiltList$from(t1, type$.legacy_Loopout); + get$deletions_selectable() { + var t1 = this.__deletions_selectable; + return t1 == null ? this.__deletions_selectable = A.SelectModeState.prototype.get$deletions_selectable.call(this) : t1; }, - get$extensions: function(_) { - var t1 = [], - t2 = this.substrands._list, - t3 = J.getInterceptor$ax(t2); - if (t3.get$first(t2) instanceof S.Extension) - t1.push(t3.get$first(t2)); - if (t3.get$last(t2) instanceof S.Extension) - t1.push(t3.get$last(t2)); - return D.BuiltList_BuiltList$from(t1, type$.legacy_Extension); - }, - get$select_mode: function() { - return C.SelectModeChoice_strand; - }, - get$id: function(_) { - var first_dom = this.get$first_domain(), - t1 = first_dom.helix, - t2 = first_dom.get$offset_5p(), - t3 = first_dom.forward; - t2 = "strand-H" + t1 + "-" + t2 + "-"; - return t2 + (t3 ? "forward" : "reverse"); + get$insertions_selectable() { + var t1 = this.__insertions_selectable; + return t1 == null ? this.__insertions_selectable = A.SelectModeState.prototype.get$insertions_selectable.call(this) : t1; }, - get$domains: function() { - var t2, t3, t4, t1 = []; - for (t2 = J.get$iterator$ax(this.substrands._list), t3 = type$.legacy_Domain; t2.moveNext$0();) { - t4 = t2.get$current(t2); - if (t4.is_domain$0()) - t1.push(t3._as(t4)); - } - return D._BuiltList$of(P.List_List$from(t1, true, t3), t3); + rebuild$1(updates) { + var t1, t2; + type$.void_Function_SelectModeStateBuilder._as(updates); + t1 = new A.SelectModeStateBuilder(); + t2 = type$.nullable_SetBuilder_SelectModeChoice._as(A.SetBuilder_SetBuilder([B.SelectModeChoice_strand, B.SelectModeChoice_staple, B.SelectModeChoice_scaffold], type$.SelectModeChoice)); + t1.get$_select_mode_state$_$this().set$_modes(t2); + A.ArgumentError_checkNotNull(this, "other", type$.SelectModeState); + t1._select_mode_state$_$v = this; + type$.nullable_void_Function_SelectModeStateBuilder._as(updates).call$1(t1); + return t1._select_mode_state$_build$0(); }, - get$dna_length: function() { - var t1, num; - for (t1 = J.get$iterator$ax(this.substrands._list), num = 0; t1.moveNext$0();) - num += t1.get$current(t1).dna_length$0(); - return num; + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SelectModeState && J.$eq$(this.modes, other.modes); }, - to_json_serializable$1$suppress_indent: function(suppress_indent) { - var json_map0, t2, t3, mods_map, t4, mod, _this = this, - json_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_String_and_dynamic), - t1 = _this.name; - if (t1 != null) - json_map.$indexSet(0, "name", t1); - if (_this.circular) - json_map.$indexSet(0, "circular", true); - t1 = _this.color.toHexColor$0(); - json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); - if (_this.get$dna_sequence() != null) - json_map.$indexSet(0, "sequence", _this.get$dna_sequence()); - t1 = _this.vendor_fields; - if (t1 != null) { - json_map0 = P.LinkedHashMap_LinkedHashMap$_literal(["scale", t1.scale, "purification", t1.purification], type$.legacy_String, type$.dynamic); - t2 = t1.plate; - if (t2 != null) - json_map0.$indexSet(0, "plate", t2); - t2 = t1.well; - if (t2 != null) - json_map0.$indexSet(0, "well", t2); - t1 = t1.unused_fields; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - json_map0.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - json_map.$indexSet(0, "vendor_fields", suppress_indent ? new K.NoIndent(json_map0) : json_map0); - } - if (_this.is_scaffold) - json_map.$indexSet(0, "is_scaffold", true); - t1 = []; - for (t2 = J.get$iterator$ax(_this.substrands._list); t2.moveNext$0();) - t1.push(t2.get$current(t2).to_json_serializable$1$suppress_indent(suppress_indent)); - json_map.$indexSet(0, "domains", t1); - t1 = _this.modification_5p; - if (t1 != null) - json_map.$indexSet(0, "5prime_modification", t1.vendor_code); - t1 = _this.modification_3p; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._select_mode_state$__hashCode; if (t1 != null) - json_map.$indexSet(0, "3prime_modification", t1.vendor_code); - t1 = _this.modifications_int; - t2 = t1._map$_map; - t3 = J.getInterceptor$asx(t2); - if (t3.get$isNotEmpty(t2)) { - mods_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); - for (t1 = J.get$iterator$ax(t1.get$keys(t1)); t1.moveNext$0();) { - t4 = t1.get$current(t1); - mod = t3.$index(t2, t4); - mods_map.$indexSet(0, H.S(t4), mod.vendor_code); - } - json_map.$indexSet(0, "internal_modifications", suppress_indent ? new K.NoIndent(mods_map) : mods_map); + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.modes))); + t1 = _this._select_mode_state$__hashCode; + if (t1 == null) { + _this._select_mode_state$__hashCode = _$hash; + t1 = _$hash; } - t1 = _this.label; - if (t1 != null) - json_map.$indexSet(0, "label", t1); - t1 = _this.unused_fields; - t2 = t1._map$_map; - t3 = H._instanceType(t1); - json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - return json_map; + return t1; }, - remove_dna_sequence$0: function() { - var t1, start_idx_ss, t2, end_idx_ss, - substrands_new = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); - for (t1 = J.get$iterator$ax(this.substrands._list), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { - t2 = t1.get$current(t1); - end_idx_ss = start_idx_ss + t2.dna_length$0(); - C.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(null)); - } - return this.rebuild$1(new E.Strand_remove_dna_sequence_closure(substrands_new)); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeState"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modes", this.modes); + return t2.toString$0(t1); + } + }; + A.SelectModeStateBuilder.prototype = { + get$modes() { + var t1 = this.get$_select_mode_state$_$this(), + t2 = t1._modes; + if (t2 == null) { + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); + t1.set$_modes(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - set_dna_sequence$1: function(dna_sequence_new) { - var substrands_new, t1, start_idx_ss, t2, end_idx_ss, _this = this; - dna_sequence_new = _this._trim_or_pad_sequence_to_desired_length$2(dna_sequence_new, _this.get$dna_length()); - substrands_new = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); - for (t1 = J.get$iterator$ax(_this.substrands._list), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { - t2 = t1.get$current(t1); - end_idx_ss = start_idx_ss + t2.dna_length$0(); - C.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(C.JSString_methods.substring$2(dna_sequence_new, start_idx_ss, end_idx_ss))); + get$_select_mode_state$_$this() { + var t1, t2, _this = this, + $$v = _this._select_mode_state$_$v; + if ($$v != null) { + t1 = $$v.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_modes(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._select_mode_state$_$v = null; } - return _this.rebuild$1(new E.Strand_set_dna_sequence_closure(substrands_new)); - }, - domain_offset_to_strand_dna_idx$3: function(domain, offset, offset_closer_to_5p) { - var len_adjust, domain_str_idx, - t1 = domain.deletions; - if (J.contains$1$asx(t1._list, offset)) - throw H.wrapException(P.ArgumentError$("offset " + offset + " illegally contains a deletion from " + t1.toString$0(0))); - len_adjust = this._net_ins_del_length_increase_from_5p_to$3(domain, offset, false); - domain_str_idx = domain.forward ? offset + len_adjust - domain.start : domain.end - 1 - (offset - len_adjust); - return domain_str_idx + this.get_seq_start_idx$1(domain); + return _this; }, - _net_ins_del_length_increase_from_5p_to$3: function(domain, offset_edge, offset_closer_to_5p) { - var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, insertion_map, insertion_length; - for (t1 = J.get$iterator$ax(domain.deletions._list), t2 = domain.forward, t3 = domain.start, t4 = !t2, t5 = domain.end, length_increase = 0; t1.moveNext$0();) { - t6 = t1.get$current(t1); - if (t2) { - if (typeof t6 !== "number") - return H.iae(t6); - t7 = t3 <= t6 && t6 < offset_edge; - } else - t7 = false; - if (!t7) - if (t4) { - if (typeof t6 !== "number") - return H.iae(t6); - t6 = offset_edge < t6 && t6 < t5; - } else - t6 = false; - else - t6 = true; - if (t6) - --length_increase; - } - for (t1 = domain.insertions, t6 = J.get$iterator$ax(t1._list); t6.moveNext$0();) { - t7 = t6.get$current(t6); - t8 = t7.offset; - if (!(t2 && t3 <= t8 && t8 < offset_edge)) - t8 = t4 && offset_edge < t8 && t8 < t5; - else - t8 = true; - if (t8) - length_increase += t7.length; - } - t2 = type$.legacy_int; - insertion_map = P.LinkedHashMap_LinkedHashMap$fromIterable(t1, new E.Strand__net_ins_del_length_increase_from_5p_to_closure(), new E.Strand__net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); - if (insertion_map.containsKey$1(0, offset_edge)) { - insertion_length = insertion_map.$index(0, offset_edge); - if (typeof insertion_length !== "number") - return H.iae(insertion_length); - length_increase += insertion_length; + _select_mode_state$_build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s15_ = "SelectModeState", + _$result = null; + try { + _$result0 = _this._select_mode_state$_$v; + if (_$result0 == null) { + t1 = _this.get$modes().build$0(); + _$result0 = new A._$SelectModeState(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s15_, "modes", type$.BuiltSet_SelectModeChoice); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "modes"; + _this.get$modes().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s15_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - return length_increase; + t1 = type$.SelectModeState; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._select_mode_state$_$v = t2; + return _$result; }, - _trim_or_pad_sequence_to_desired_length$2: function(dna_sequence_new, desired_length) { - var seq_len = dna_sequence_new.length; - if (seq_len > desired_length) - dna_sequence_new = J.substring$2$s(dna_sequence_new, 0, desired_length); - else if (seq_len < desired_length) - dna_sequence_new = J.$add$ansx(dna_sequence_new, C.JSString_methods.$mul("?", desired_length - seq_len)); - return dna_sequence_new; + set$_modes(_modes) { + this._modes = type$.nullable_SetBuilder_SelectModeChoice._as(_modes); + } + }; + A.SelectablesStore.prototype = { + get$selected_strands() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_strands_closure())), t3._eval$1("WhereIterable")), type$.Strand); }, - get$first_domain: function() { - var t3, - t1 = this.substrands._list, - t2 = J.getInterceptor$asx(t1), - i = 0; - while (true) { - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i < t3)) - break; - if (t2.$index(t1, i) instanceof G.Domain) - return type$.legacy_Domain._as(t2.$index(t1, i)); - ++i; - } - throw H.wrapException(P.AssertionError$("should not be reachable")); + get$selected_crossovers() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_crossovers_closure())), t3._eval$1("WhereIterable")), type$.Crossover); }, - get$last_domain: function() { - var i, - t1 = this.substrands._list, - t2 = J.getInterceptor$asx(t1), - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - i = t3 - 1; - for (; i >= 0; --i) - if (t2.$index(t1, i) instanceof G.Domain) - return type$.legacy_Domain._as(t2.$index(t1, i)); - throw H.wrapException(P.AssertionError$("should not be reachable")); + get$selected_loopouts() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_loopouts_closure())), t3._eval$1("WhereIterable")), type$.Loopout); }, - overlaps$1: function(other) { - var t1, t2, t3, t4; - for (t1 = J.get$iterator$ax(this.get$domains()._list); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t3 = other.__domains; - if (t3 == null) { - t3 = E.Strand.prototype.get$domains.call(other); - other.set$__domains(t3); - } - t3 = J.get$iterator$ax(t3._list); - for (; t3.moveNext$0();) { - t4 = t3.get$current(t3); - if (t2.helix === t4.helix && t2.forward === !t4.forward && t2.compute_overlap$1(t4) != null) - return true; - } - } - return false; + get$selected_extensions() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_extensions_closure())), t3._eval$1("WhereIterable")), type$.Extension); }, - get_seq_start_idx$1: function(substrand) { - var t2, t3, self_seq_idx_start, - t1 = this.substrands; + get$selected_domains() { + var t2, t3, + t1 = this.selected_items; t1.toString; - t2 = t1._list; - t3 = J.getInterceptor$asx(t2); - for (t1 = t3.getRange$2(t2, 0, t3.indexOf$2(t2, t1.$ti._precomputed1._as(substrand), 0)), t1 = t1.get$iterator(t1), self_seq_idx_start = 0; t1.moveNext$0();) - self_seq_idx_start += t1.get$current(t1).dna_length$0(); - return self_seq_idx_start; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_domains_closure())), t3._eval$1("WhereIterable")), type$.Domain); }, - dna_sequence_in$1: function(substrand) { - var start_idx, ss_dna_length; - if (this.get$dna_sequence() == null) - return null; - else { - start_idx = this.get_seq_start_idx$1(substrand); - ss_dna_length = substrand.dna_length$0(); - return J.substring$2$s(this.get$dna_sequence(), start_idx, start_idx + ss_dna_length); + get$selected_dna_ends() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_dna_ends_closure())), t3._eval$1("WhereIterable")), type$.DNAEnd); + }, + get$selected_dna_ends_on_domains() { + var t1 = this.get$selected_dna_ends(), + t2 = t1._set, + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_dna_ends_on_domains_closure())), t3._eval$1("WhereIterable")), type$.DNAEnd); + }, + get$selected_dna_ends_on_extensions() { + var t1 = this.get$selected_dna_ends(), + t2 = t1._set, + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_dna_ends_on_extensions_closure())), t3._eval$1("WhereIterable")), type$.DNAEnd); + }, + get$selected_deletions() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_deletions_closure())), t3._eval$1("WhereIterable")), type$.SelectableDeletion); + }, + get$selected_insertions() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_insertions_closure())), t3._eval$1("WhereIterable")), type$.SelectableInsertion); + }, + get$selected_modifications() { + var t2, t3, + t1 = this.selected_items; + t1.toString; + t2 = t1._set; + t3 = A._instanceType(t2); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetMixin.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_modifications_closure())), t3._eval$1("WhereIterable")), type$.SelectableModification); + }, + select$2$only(_, selectable, only) { + var t2, selected_items_builder, + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + if (only) + selected_items_builder.get$_safeSet().clear$0(0); + t1 = t2._precomputed1; + t1._as(selectable); + !$.$get$isSoundMode() && !t1._is(null); + selected_items_builder.get$_safeSet().add$1(0, selectable); + return this.rebuild$1(new A.SelectablesStore_select_closure(selected_items_builder)); + }, + select$1($receiver, selectable) { + return this.select$2$only($receiver, selectable, false); + }, + unselect$1(selectable) { + var t2, selected_items_builder, + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + selected_items_builder.get$_safeSet().remove$1(0, selectable); + return this.rebuild$1(new A.SelectablesStore_unselect_closure(selected_items_builder)); + }, + clear$0(_) { + return this.rebuild$1(new A.SelectablesStore_clear_closure()); + }, + select_all$2$only(selectables, only) { + var t1, t2, selected_items_builder; + type$.Iterable_Selectable._as(selectables); + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + if (only) + selected_items_builder.get$_safeSet().clear$0(0); + selected_items_builder.addAll$1(0, selectables); + return this.rebuild$1(new A.SelectablesStore_select_all_closure(selected_items_builder)); + }, + select_all$1(selectables) { + return this.select_all$2$only(selectables, false); + }, + toggle$1(_, selectable) { + if (this.selected_items._set.contains$1(0, selectable)) + return this.unselect$1(selectable); + else + return this.select$1(0, selectable); + }, + toggle_all$1(selectables) { + var t1, t2, t3, selected_items_builder, t4, t5; + type$.Iterable_Selectable._as(selectables); + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t3 = t1._set; + selected_items_builder = new A.SetBuilder(t1._setFactory, t3, t1, t2._eval$1("SetBuilder<1>")); + for (t1 = selectables._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t4 = !t2._is(null); t1.moveNext$0();) { + t5 = t1.__interceptors$_current; + if (t3.contains$1(0, t5)) + selected_items_builder.get$_safeSet().remove$1(0, t5); + else { + t2._as(t5); + if (!$.$get$isSoundMode() && t4) + if (t5 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + selected_items_builder.get$_safeSet().add$1(0, t5); + } } + return this.rebuild$1(new A.SelectablesStore_toggle_all_closure(selected_items_builder)); }, - get$dnaend_3p: function() { - var t1 = this.get$last_domain(); - return t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + selected_ends_in_strand$1(strand) { + var t3, t4, t5, t6, _i, end, _this = this, + t1 = type$.DNAEnd, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strand.get$domains()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = t4.forward; + if (t5) { + t6 = t4.__dnaend_start; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_start.call(t4); + t4.__dnaend_start = t6; + } + } else { + t6 = t4.__dnaend_end; + if (t6 == null) { + t6 = A.Domain.prototype.get$dnaend_end.call(t4); + t4.__dnaend_end = t6; + } + } + if (t5) { + t5 = t4.__dnaend_end; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_end.call(t4); + t4.__dnaend_end = t5; + t4 = t5; + } else + t4 = t5; + } else { + t5 = t4.__dnaend_start; + if (t5 == null) { + t5 = A.Domain.prototype.get$dnaend_start.call(t4); + t4.__dnaend_start = t5; + t4 = t5; + } else + t4 = t5; + } + t4 = [t6, t4]; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t5 = _this.__selected_dna_ends; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_dna_ends.call(_this); + _this.set$__selected_dna_ends(t5); + } + if (t5._set.contains$1(0, end)) + t2.add$1(0, end); + } + } + for (t3 = strand.get$extensions(strand)._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = _this.__selected_dna_ends; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_dna_ends.call(_this); + _this.set$__selected_dna_ends(t5); + } + t6 = t4.__dnaend_free; + if (t6 == null) + t6 = t4.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t4); + if (t5._set.contains$1(0, t6)) { + t5 = t4.__dnaend_free; + t2.add$1(0, t5 == null ? t4.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t4) : t5); + } + } + return A._BuiltSet$of(t2, t1); }, - get$dnaend_5p: function() { - var t1 = this.get$first_domain(); - return t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + selected_crossovers_in_strand$1(strand) { + var t3, t4, t5, + t1 = type$.Crossover, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strand.get$crossovers()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = this.__selected_crossovers; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_crossovers.call(this); + this.set$__selected_crossovers(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); + } + return A._BuiltSet$of(t2, t1); }, - ligatable_ends_with$1: function(other) { - var first_domain_this, last_domain_other, _this = this, - last_domain_this = _this.get$last_domain(), - first_domain_other = other.get$first_domain(); - if (last_domain_this.forward === first_domain_other.forward && last_domain_this.helix === first_domain_other.helix && _this.get$dnaend_3p().offset == other.get$dnaend_5p().offset) - return new S.Tuple2(_this.get$dnaend_3p(), other.get$dnaend_5p(), type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); - else { - first_domain_this = _this.get$first_domain(); - last_domain_other = other.get$last_domain(); - if (first_domain_this.forward === last_domain_other.forward && first_domain_this.helix === last_domain_other.helix && _this.get$dnaend_5p().offset == other.get$dnaend_3p().offset) - return new S.Tuple2(_this.get$dnaend_5p(), other.get$dnaend_3p(), type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); - else - return null; + selected_loopouts_in_strand$1(strand) { + var t3, t4, t5, + t1 = type$.Loopout, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strand.get$loopouts()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = this.__selected_loopouts; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_loopouts.call(this); + this.set$__selected_loopouts(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); } + return A._BuiltSet$of(t2, t1); }, - vendor_export_name$0: function() { - var id, _this = this, - t1 = _this.name; - if (t1 != null) - return t1; - else { - id = "" + _this.get$first_domain().helix + "[" + _this.get$first_domain().get$offset_5p() + "]" + _this.get$last_domain().helix + "[" + _this.get$last_domain().get$offset_3p() + "]"; - return _this.is_scaffold ? "SCAF" + id + "}" : "ST" + id; + selected_extensions_in_strand$1(strand) { + var t3, t4, t5, + t1 = type$.Extension, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strand.get$extensions(strand)._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = this.__selected_extensions; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_extensions.call(this); + this.set$__selected_extensions(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); } + return A._BuiltSet$of(t2, t1); }, - $isSelectable: 1 - }; - E.Strand_Strand_closure.prototype = { - call$1: function(b) { - var t2, _this = this, - t1 = _this._box_0.color; - b.get$_strand$_$this()._strand$_color = t1; - b.get$_strand$_$this()._circular = _this.circular; - b.get$substrands().replace$1(0, _this.substrands); - t1 = _this.vendor_fields; - if (t1 == null) - t1 = null; - else { - t2 = new T.VendorFieldsBuilder(); - t2._vendor_fields$_$v = t1; - t1 = t2; + selected_domains_in_strand$1(strand) { + var t3, t4, t5, + t1 = type$.Domain, + t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strand.get$domains()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + t5 = this.__selected_domains; + if (t5 == null) { + t5 = A.SelectablesStore.prototype.get$selected_domains.call(this); + this.set$__selected_domains(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); } - b.get$_strand$_$this()._vendor_fields = t1; - t1 = _this.modification_5p; - if (t1 == null) - t1 = null; - else { - t2 = new Z.Modification5PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; + return A._BuiltSet$of(t2, t1); + }, + selected_deletions_in_strand$1(strand) { + var t2, t3, t4, t5, t6, t7, + t1 = type$.SelectableDeletion, + deletions = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = strand.get$domains()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + for (t4 = t3.deletions._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = this.__selected_deletions; + if (t6 == null) { + t6 = A.SelectablesStore.prototype.get$selected_deletions.call(this); + this.set$__selected_deletions(t6); + } + t6 = t6._set; + t6 = t6.get$iterator(t6); + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + if (t7.offset == t5 && J.$eq$(t7.domain, t3)) + deletions.add$1(0, t7); + } + } } - b.get$_strand$_$this()._modification_5p = t1; - t1 = _this.modification_3p; - if (t1 == null) - t1 = null; - else { - t2 = new Z.Modification3PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; + return A._BuiltSet$of(deletions, t1); + }, + selected_insertions_in_strand$1(strand) { + var t2, t3, t4, t5, t6, t7, + t1 = type$.SelectableInsertion, + insertions = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = strand.get$domains()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + for (t4 = t3.insertions._list, t4 = new J.ArrayIterator(t4, t4.length, A._arrayInstanceType(t4)._eval$1("ArrayIterator<1>")); t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + t6 = this.__selected_insertions; + if (t6 == null) { + t6 = A.SelectablesStore.prototype.get$selected_insertions.call(this); + this.set$__selected_insertions(t6); + } + t6 = t6._set; + t6 = t6.get$iterator(t6); + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + if (J.$eq$(t7.insertion, t5) && J.$eq$(t7.domain, t3)) + insertions.add$1(0, t7); + } + } } - b.get$_strand$_$this()._modification_3p = t1; - b.get$modifications_int().replace$1(0, _this.modifications_int); - b.get$_strand$_$this()._is_scaffold = _this.is_scaffold; - b.get$_strand$_$this()._strand$_name = _this.name; - b.get$_strand$_$this()._label = _this.label; - t1 = type$.dynamic; - t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); - b.get$_strand$_$this().set$_strand$_unused_fields(t1); - return b; + return A._BuiltSet$of(insertions, t1); }, - $signature: 2 + selected_modifications_in_strand$1(strand) { + var t2, t3, t4, t5, + t1 = type$.SelectableModification, + modifications = A.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = this.get$selected_modifications()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.get$strand(); + t5 = t4.__id; + t4 = t5 == null ? t4.__id = A.Strand.prototype.get$id.call(t4, t4) : t5; + t5 = strand.__id; + if (t4 === (t5 == null ? strand.__id = A.Strand.prototype.get$id.call(strand, strand) : t5)) + modifications.add$1(0, t3); + } + return A._BuiltSet$of(modifications, t1); + } }; - E.Strand__finalizeBuilder_closure.prototype = { - call$1: function(b) { - b.get$_loopout$_$this()._prev_domain_idx = this.i - 1; - return b; + A.SelectablesStore_selected_strands_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Strand; }, - $signature: 24 + $signature: 11 }; - E.Strand__finalizeBuilder_closure0.prototype = { - call$1: function(b) { - b.get$_domain$_$this()._domain$_strand_id = this.id; - return b; + A.SelectablesStore_selected_crossovers_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Crossover; }, - $signature: 7 + $signature: 11 }; - E.Strand__finalizeBuilder_closure1.prototype = { - call$1: function(b) { - b.get$_loopout$_$this()._loopout$_strand_id = this.id; - return b; + A.SelectablesStore_selected_loopouts_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Loopout; }, - $signature: 24 + $signature: 11 }; - E.Strand__finalizeBuilder_closure2.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._strand_id = this.id; - return b; + A.SelectablesStore_selected_extensions_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Extension; }, - $signature: 19 + $signature: 11 }; - E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure.prototype = { - call$1: function(s) { - var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_new); - s.get$_strand$_$this().set$_substrands(t1); - return s; + A.SelectablesStore_selected_domains_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.Domain; }, - $signature: 2 + $signature: 11 }; - E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure.prototype = { - call$1: function(b) { - var _this = this, - t1 = _this.strand; - t1 = t1.get$id(t1); - b.get$_domain$_$this()._domain$_strand_id = t1; - b.get$_domain$_$this()._is_first = _this.is_first; - b.get$_domain$_$this()._is_last = _this.is_last; - b.get$_domain$_$this()._domain$_is_scaffold = _this.$this.is_scaffold; - return b; + A.SelectablesStore_selected_dna_ends_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.DNAEnd; }, - $signature: 7 + $signature: 11 }; - E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure.prototype = { - call$1: function(b) { - var t1; - b.get$_loopout$_$this()._loopout$_is_scaffold = this.$this.is_scaffold; - t1 = this.strand; - t1 = t1.get$id(t1); - b.get$_loopout$_$this()._loopout$_strand_id = t1; - b.get$_loopout$_$this()._prev_domain_idx = this.idx - 1; - return b; + A.SelectablesStore_selected_dna_ends_on_domains_closure.prototype = { + call$1(end) { + return !type$.DNAEnd._as(end).is_on_extension; }, - $signature: 24 + $signature: 118 }; - E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$_extension$_$this()._extension$_is_scaffold = _this.$this.is_scaffold; - t1 = _this.strand; - t1 = t1.get$id(t1); - b.get$_extension$_$this()._strand_id = t1; - t1 = b.get$adjacent_domain(); - t2 = _this.adjacent_domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - b.get$_extension$_$this()._is_5p = _this.is_5p; - return b; + A.SelectablesStore_selected_dna_ends_on_extensions_closure.prototype = { + call$1(end) { + return type$.DNAEnd._as(end).is_on_extension; }, - $signature: 19 + $signature: 118 }; - E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure.prototype = { - call$1: function(b) { - return b.get$substrands().replace$1(0, this.new_substrands); + A.SelectablesStore_selected_deletions_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.SelectableDeletion; }, - $signature: 38 + $signature: 11 }; - E.Strand__at_least_one_substrand_has_dna_sequence_closure.prototype = { - call$1: function(ss) { - return type$.legacy_Substrand._as(ss).get$dna_sequence() != null; + A.SelectablesStore_selected_insertions_closure.prototype = { + call$1(s) { + return type$.Selectable._as(s) instanceof A.SelectableInsertion; }, - $signature: 126 + $signature: 11 }; - E.Strand_remove_dna_sequence_closure.prototype = { - call$1: function(strand) { - strand.get$substrands().replace$1(0, this.substrands_new); - return strand; + A.SelectablesStore_selected_modifications_closure.prototype = { + call$1(s) { + return type$.SelectableModification._is(type$.Selectable._as(s)); }, - $signature: 2 + $signature: 11 }; - E.Strand_set_dna_sequence_closure.prototype = { - call$1: function(strand) { - strand.get$substrands().replace$1(0, this.substrands_new); - return strand; + A.SelectablesStore_select_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_SetBuilder_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; }, - $signature: 2 + $signature: 49 }; - E.Strand__net_ins_del_length_increase_from_5p_to_closure.prototype = { - call$1: function(e) { - return H._asIntS(J.get$offset$x(e)); + A.SelectablesStore_unselect_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_SetBuilder_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; }, $signature: 49 }; - E.Strand__net_ins_del_length_increase_from_5p_to_closure0.prototype = { - call$1: function(e) { - return H._asIntS(J.get$length$asx(e)); + A.SelectablesStore_clear_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder(B.List_empty, type$.Selectable)); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; }, $signature: 49 }; - E.Strand_from_json_closure.prototype = { - call$1: function(b) { - b.get$_extension$_$this()._is_5p = this.is_5p; - return b; + A.SelectablesStore_select_all_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_SetBuilder_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; }, - $signature: 19 + $signature: 49 }; - E.Strand_from_json_closure0.prototype = { - call$1: function(b) { - var t1 = b.get$adjacent_domain(), - t2 = this.adjacent_domain; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._domain$_$v = t2; - return b; + A.SelectablesStore_toggle_all_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_SetBuilder_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; }, - $signature: 19 + $signature: 49 }; - E.Strand_from_json_closure1.prototype = { - call$1: function(b) { - var t1 = this.unused_fields; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); - b.get$_strand$_$this().set$_strand$_unused_fields(t1); - return t1; + A.SelectableDeletion.prototype = { + get$select_mode() { + return B.SelectModeChoice_deletion; }, - $signature: 392 + get$id(_) { + var t1 = this.domain, + t2 = t1.helix; + t1 = t1.forward ? "forward" : "reverse"; + return "deletion-H" + t2 + "-O" + A.S(this.offset) + "-" + t1; + }, + $isSelectable: 1 }; - E._$StrandSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - var result, value; - type$.legacy_Strand._as(object); - result = H.setRuntimeTypeInfo(["substrands", serializers.serialize$2$specifiedType(object.substrands, C.FullType_3HJ), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR), "circular", serializers.serialize$2$specifiedType(object.circular, C.FullType_MtR), "modifications_int", serializers.serialize$2$specifiedType(object.modifications_int, C.FullType_d1y), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); - value = object.vendor_fields; - if (value != null) { - C.JSArray_methods.add$1(result, "vendor_fields"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Unx)); - } - value = object.modification_5p; - if (value != null) { - C.JSArray_methods.add$1(result, "modification_5p"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p)); - } - value = object.modification_3p; - if (value != null) { - C.JSArray_methods.add$1(result, "modification_3p"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p0)); - } - value = object.name; - if (value != null) { - C.JSArray_methods.add$1(result, "name"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - value = object.label; - if (value != null) { - C.JSArray_methods.add$1(result, "label"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); - } - return result; + A.SelectableInsertion.prototype = { + get$select_mode() { + return B.SelectModeChoice_insertion; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$id(_) { + var t1 = this.domain, + t2 = this.insertion.offset, + t3 = t1.helix; + t1 = t1.forward ? "forward" : "reverse"; + return "insertion-H" + t3 + "-O" + t2 + "-" + t1; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, key, value, t10, t11, t12, t13, t14, _null = null, _s5_ = "other", - result = new E.StrandBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.MapBuilder_of_legacy_int_and_legacy_ModificationInternal, t3 = type$.legacy_Modification3Prime, t4 = type$.legacy_Modification5Prime, t5 = type$.legacy_VendorFields, t6 = type$.legacy_BuiltList_legacy_Object, t7 = type$.legacy_Substrand, t8 = type$.List_legacy_Substrand, t9 = type$.ListBuilder_legacy_Substrand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "substrands": - t10 = result.get$_strand$_$this(); - t11 = t10._substrands; - if (t11 == null) { - t11 = new D.ListBuilder(t9); - t11.set$__ListBuilder__list(t8._as(P.List_List$from(C.List_empty, true, t7))); - t11.set$_listOwner(_null); - t10.set$_substrands(t11); - t10 = t11; - } else - t10 = t11; - t11 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_3HJ)); - t12 = t10.$ti; - t13 = t12._eval$1("_BuiltList<1>"); - t14 = t12._eval$1("List<1>"); - if (t13._is(t11)) { - t13._as(t11); - t10.set$__ListBuilder__list(t14._as(t11._list)); - t10.set$_listOwner(t11); - } else { - t10.set$__ListBuilder__list(t14._as(P.List_List$from(t11, true, t12._precomputed1))); - t10.set$_listOwner(_null); - } - break; - case "vendor_fields": - t10 = result.get$_strand$_$this(); - t11 = t10._vendor_fields; - t10 = t11 == null ? t10._vendor_fields = new T.VendorFieldsBuilder() : t11; - t11 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); - if (t11 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t10._vendor_fields$_$v = t11; - break; - case "is_scaffold": - t10 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strand$_$this()._is_scaffold = t10; - break; - case "circular": - t10 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strand$_$this()._circular = t10; - break; - case "modification_5p": - t10 = result.get$_strand$_$this(); - t11 = t10._modification_5p; - t10 = t11 == null ? t10._modification_5p = new Z.Modification5PrimeBuilder() : t11; - t11 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); - if (t11 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t10._modification$_$v = t11; - break; - case "modification_3p": - t10 = result.get$_strand$_$this(); - t11 = t10._modification_3p; - t10 = t11 == null ? t10._modification_3p = new Z.Modification3PrimeBuilder() : t11; - t11 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); - if (t11 == null) - H.throwExpression(P.ArgumentError$notNull(_s5_)); - t10._modification$_$v = t11; - break; - case "modifications_int": - t10 = result.get$_strand$_$this(); - t11 = t10._modifications_int; - if (t11 == null) { - t11 = new A.MapBuilder(_null, $, _null, t2); - t11.replace$1(0, C.Map_empty); - t10.set$_modifications_int(t11); - t10 = t11; - } else - t10 = t11; - t10.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_d1y)); - break; - case "color": - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_strand$_$this()._strand$_color = t10; - break; - case "name": - t10 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_strand$_$this()._strand$_name = t10; - break; - case "label": - t10 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_strand$_$this()._label = t10; - break; - } - } - return result.build$0(); + get$id_group() { + return this.get$id(this) + "-group"; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + $isSelectable: 1 + }; + A.SelectableModification.prototype = { + get$is_scaffold() { + return this.get$strand().is_scaffold; }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_CC0; + get$select_mode() { + return B.SelectModeChoice_modification; }, - get$wireName: function() { - return "Strand"; - } + $isSelectable: 1 }; - E._$Strand.prototype = { - get$dna_sequence: function() { - var t1 = this.__dna_sequence; - return t1 == null ? this.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(this) : t1; + A.SelectableModification5Prime.prototype = { + get$address() { + var dom = this.strand.get$first_domain(), + t1 = dom.helix, + t2 = dom.get$offset_5p(); + return A._$Address$_(dom.forward, t1, t2); }, - get$has_5p_extension: function() { - var t1 = this.__has_5p_extension; - return t1 == null ? this.__has_5p_extension = E.Strand.prototype.get$has_5p_extension.call(this) : t1; + get$id(_) { + var t1 = this.strand; + return "modification-5p-" + t1.get$id(t1); }, - get$has_3p_extension: function() { - var t1 = this.__has_3p_extension; - return t1 == null ? this.__has_3p_extension = E.Strand.prototype.get$has_3p_extension.call(this) : t1; + $isSelectable: 1 + }; + A.SelectableModification3Prime.prototype = { + get$address() { + var dom = this.strand.get$last_domain(), + t1 = dom.helix, + t2 = dom.get$offset_3p(); + return A._$Address$_(dom.forward, t1, t2); }, - get$address_5p: function() { - var t1 = this.__address_5p; - return t1 == null ? this.__address_5p = E.Strand.prototype.get$address_5p.call(this) : t1; + get$id(_) { + var t1 = this.strand; + return "modification-3p-" + t1.get$id(t1); }, - get$selectable_modification_5p: function() { - var t1 = this.__selectable_modification_5p; - return t1 == null ? this.__selectable_modification_5p = E.Strand.prototype.get$selectable_modification_5p.call(this) : t1; + $isSelectable: 1 + }; + A.SelectableModificationInternal.prototype = { + get$offset(_) { + var t1 = this.dna_idx, + t2 = this.domain, + t3 = this.strand.get_seq_start_idx$1(t2); + if (typeof t1 !== "number") + return t1.$sub(); + return t2.substrand_dna_idx_to_substrand_offset$2(t1 - t3, t2.forward); }, - get$selectable_modification_3p: function() { - var t1 = this.__selectable_modification_3p; - return t1 == null ? this.__selectable_modification_3p = E.Strand.prototype.get$selectable_modification_3p.call(this) : t1; + get$address() { + var t1 = this.domain, + t2 = t1.helix, + t3 = this.get$offset(this); + return A._$Address$_(t1.forward, t2, t3); }, - get$selectable_modifications_int_by_dna_idx: function() { - var t1 = this.__selectable_modifications_int_by_dna_idx; - if (t1 == null) { - t1 = E.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(this); - this.set$__selectable_modifications_int_by_dna_idx(t1); - } - return t1; + get$id(_) { + var t1 = this.strand, + t2 = this.get$address(), + t3 = A.boolConversionCheck(t2.forward) ? "forward" : "reverse"; + return "modification-int-H" + A.S(t2.helix_idx) + "-" + A.S(t2.offset) + "-" + t3 + "-" + t1.get$id(t1); }, - get$linkers: function() { - var t1 = this.__linkers; - if (t1 == null) { - t1 = E.Strand.prototype.get$linkers.call(this); - this.set$__linkers(t1); + $isSelectable: 1 + }; + A.SelectableMixin.prototype = { + handle_selection_mouse_down$1($event) { + var t1; + if ($event.button === 0) { + t1 = A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey); + if (t1) + $.__app._readField$0().dispatch$1(A.Select_Select(this, false, true)); + else + $.__app._readField$0().dispatch$1(A.Select_Select(this, false, false)); } - return t1; }, - get$crossovers: function() { - var t1 = this.__crossovers; - if (t1 == null) { - t1 = E.Strand.prototype.get$crossovers.call(this); - this.set$__crossovers(t1); - } - return t1; + handle_selection_mouse_up$1($event) { + if ($event.button === 0) + if (!(A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey) || A.boolConversionCheck($event.shiftKey))) + $.__app._readField$0().dispatch$1(A.Select_Select(this, true, false)); }, - get$loopouts: function() { - var t1 = this.__loopouts; + $isSelectable: 1 + }; + A.SelectableTrait.prototype = { + get$description(_) { + var _this = this; + if (_this === B.SelectableTrait_strand_name) + return "name"; + if (_this === B.SelectableTrait_strand_label) + return "label"; + if (_this === B.SelectableTrait_color) + return "color"; + if (_this === B.SelectableTrait_modification_5p) + return "5' modification"; + if (_this === B.SelectableTrait_modification_3p) + return "3' modification"; + if (_this === B.SelectableTrait_modification_int) + return "internal modification"; + if (_this === B.SelectableTrait_dna_sequence) + return "DNA sequence"; + if (_this === B.SelectableTrait_vendor_fields) + return "vendor fields"; + if (_this === B.SelectableTrait_circular) + return "circular"; + if (_this === B.SelectableTrait_helices) + return "helices"; + throw A.wrapException(A.AssertionError$("unrecognized trait " + _this.toString$0(0))); + }, + trait_of_strand$1(strand) { + var t1, t2, _this = this; + if (_this === B.SelectableTrait_strand_name) + return strand.name; + if (_this === B.SelectableTrait_strand_label) + return strand.label; + if (_this === B.SelectableTrait_color) + return strand.color; + if (_this === B.SelectableTrait_modification_5p) + return strand.modification_5p; + if (_this === B.SelectableTrait_modification_3p) + return strand.modification_3p; + if (_this === B.SelectableTrait_modification_int) + return strand.modifications_int; + if (_this === B.SelectableTrait_dna_sequence) + return strand.get$dna_sequence(); + if (_this === B.SelectableTrait_vendor_fields) + return strand.vendor_fields; + if (_this === B.SelectableTrait_circular) + return strand.circular; + if (_this === B.SelectableTrait_helices) { + t1 = A._setArrayType([], type$.JSArray_int); + for (t2 = strand.get$domains()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.push(t2.__interceptors$_current.helix); + return t1; + } + throw A.wrapException(A.AssertionError$("unrecognized trait " + _this.toString$0(0))); + }, + matches$2(_, v1, v2) { + var t2, t3, t4, _this = this, + t1 = v1 == null; + if (t1 && v2 == null) + return true; + else if (t1 && v2 != null) + return false; + else if (!t1 && v2 == null) + return false; + if (_this === B.SelectableTrait_modification_5p || _this === B.SelectableTrait_modification_3p) { + t1 = type$.Modification; + t1._as(v1); + t1._as(v2); + return v1.get$vendor_code() === v2.get$vendor_code(); + } else if (_this === B.SelectableTrait_modification_int) { + t1 = type$.BuiltMap_int_ModificationInternal; + t1._as(v1); + t1._as(v2); + for (t1 = v1.get$values(v1), t2 = A._instanceType(t1), t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); t2.moveNext$0();) { + t1 = t2.__internal$_current; + if (v2._values == null) { + t3 = v2._map$_map; + v2.set$_values(t3.get$values(t3)); + } + t3 = v2._values; + t4 = A._instanceType(t3); + t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t4.moveNext$0();) { + t3 = t4.__internal$_current; + if (t1.vendor_code === t3.vendor_code) + return true; + } + } + return false; + } else if (_this === B.SelectableTrait_helices) { + t1 = type$.List_int; + t1._as(v1); + t1._as(v2); + for (t1 = J.get$iterator$ax(v1), t2 = J.getInterceptor$ax(v2); t1.moveNext$0();) { + t3 = t1.get$current(t1); + for (t4 = t2.get$iterator(v2); t4.moveNext$0();) + if (t3 == t4.get$current(t4)) + return true; + } + return false; + } else + return J.$eq$(v1, v2); + } + }; + A._$SelectablesStoreSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return ["selected_items", serializers.serialize$2$specifiedType(type$.SelectablesStore._as(object).selected_items, B.FullType_zrt)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var result, t1, iterator, t2, t3, value, $$v, t4; + type$.Iterable_nullable_Object._as(serialized); + result = new A.SelectablesStoreBuilder(); + t1 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + result.get$_selectable$_$this().set$_selected_items(t1); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.BuiltSet_nullable_Object, t2 = type$.SetBuilder_Selectable; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "selected_items": + $$v = result._selectable$_$v; + if ($$v != null) { + t3 = $$v.selected_items; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_selected_items(new A.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._selectable$_$v = null; + } + t3 = result._selected_items; + if (t3 == null) { + t3 = new A.SetBuilder(null, $, null, t2); + t3.replace$1(0, B.List_empty); + result.set$_selected_items(t3); + } + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_zrt); + t4.toString; + t3.replace$1(0, t1._as(t4)); + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_U8I; + }, + get$wireName() { + return "SelectablesStore"; + } + }; + A._$SelectableDeletionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectableDeletion._as(object); + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_kjq), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.SelectableDeletionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "offset": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2.toString; + A._asIntS(t2); + result.get$_selectable$_$this()._selectable$_offset = t2; + break; + case "domain": + t2 = result.get$_selectable$_$this(); + t3 = t2._selectable$_domain; + t2 = t3 == null ? t2._selectable$_domain = new A.DomainBuilder() : t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t3.toString; + t1._as(t3); + t2._domain$_$v = t3; + break; + case "is_scaffold": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2.toString; + A._asBoolS(t2); + result.get$_selectable$_$this()._selectable$_is_scaffold = t2; + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_43h1; + }, + get$wireName() { + return "SelectableDeletion"; + } + }; + A._$SelectableInsertionSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectableInsertion._as(object); + return ["insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_EKW), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.SelectableInsertionBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain, t2 = type$.Insertion; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "insertion": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_insertion; + t3 = t4 == null ? t3._selectable$_insertion = new A.InsertionBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_EKW); + t4.toString; + t2._as(t4); + t3._domain$_$v = t4; + break; + case "domain": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_domain; + t3 = t4 == null ? t3._selectable$_domain = new A.DomainBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t4.toString; + t1._as(t4); + t3._domain$_$v = t4; + break; + case "is_scaffold": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_selectable$_$this()._selectable$_is_scaffold = t3; + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_zc5; + }, + get$wireName() { + return "SelectableInsertion"; + } + }; + A._$SelectableModification5PrimeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectableModification5Prime._as(object); + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_Q1p), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.SelectableModification5PrimeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand, t2 = type$.Modification5Prime; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "modification": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_modification; + t3 = t4 == null ? t3._selectable$_modification = new A.Modification5PrimeBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p); + t4.toString; + t2._as(t4); + t3._modification$_$v = t4; + break; + case "strand": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_strand; + t3 = t4 == null ? t3._selectable$_strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t1._as(t4); + t3._strand$_$v = t4; + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Fy50; + }, + get$wireName() { + return "SelectableModification5Prime"; + } + }; + A._$SelectableModification3PrimeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectableModification3Prime._as(object); + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_Q1p0), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.SelectableModification3PrimeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Strand, t2 = type$.Modification3Prime; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "modification": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_modification; + t3 = t4 == null ? t3._selectable$_modification = new A.Modification3PrimeBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p0); + t4.toString; + t2._as(t4); + t3._modification$_$v = t4; + break; + case "strand": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_strand; + t3 = t4 == null ? t3._selectable$_strand = new A.StrandBuilder() : t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t4.toString; + t1._as(t4); + t3._strand$_$v = t4; + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Fy5; + }, + get$wireName() { + return "SelectableModification3Prime"; + } + }; + A._$SelectableModificationInternalSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectableModificationInternal._as(object); + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_eR6), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_fnc), "dna_idx", serializers.serialize$2$specifiedType(object.dna_idx, B.FullType_kjq)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, value, t5, + result = new A.SelectableModificationInternalBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Domain, t2 = type$.Strand, t3 = type$.ModificationInternal; iterator.moveNext$0();) { + t4 = iterator.get$current(iterator); + t4.toString; + A._asStringS(t4); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t4) { + case "modification": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_modification; + t4 = t5 == null ? t4._selectable$_modification = new A.ModificationInternalBuilder() : t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_eR6); + t5.toString; + t3._as(t5); + t4._modification$_$v = t5; + break; + case "strand": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_strand; + t4 = t5 == null ? t4._selectable$_strand = new A.StrandBuilder() : t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t5.toString; + t2._as(t5); + t4._strand$_$v = t5; + break; + case "domain": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_domain; + t4 = t5 == null ? t4._selectable$_domain = new A.DomainBuilder() : t5; + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_fnc); + t5.toString; + t1._as(t5); + t4._domain$_$v = t5; + break; + case "dna_idx": + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4.toString; + A._asIntS(t4); + result.get$_selectable$_$this()._dna_idx = t4; + break; + } + } + return result._selectable$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_v3C; + }, + get$wireName() { + return "SelectableModificationInternal"; + } + }; + A._$SelectableTraitSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + return type$.SelectableTrait._as(object).name; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + return A._$valueOf9(A._asStringS(serialized)); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types() { + return B.List_Type_SelectableTrait_SXj; + }, + get$wireName() { + return "SelectableTrait"; + } + }; + A._$SelectablesStore.prototype = { + get$selected_strands() { + var t1 = this.__selected_strands; if (t1 == null) { - t1 = E.Strand.prototype.get$loopouts.call(this); - this.set$__loopouts(t1); + t1 = A.SelectablesStore.prototype.get$selected_strands.call(this); + this.set$__selected_strands(t1); } return t1; }, - get$extensions: function(_) { - var _this = this, - t1 = _this.__extensions; + get$selected_crossovers() { + var t1 = this.__selected_crossovers; if (t1 == null) { - t1 = E.Strand.prototype.get$extensions.call(_this, _this); - _this.set$__extensions(t1); + t1 = A.SelectablesStore.prototype.get$selected_crossovers.call(this); + this.set$__selected_crossovers(t1); } return t1; }, - get$select_mode: function() { - var t1 = this.__select_mode; - return t1 == null ? this.__select_mode = E.Strand.prototype.get$select_mode.call(this) : t1; - }, - get$id: function(_) { - var _this = this, - t1 = _this.__id; - return t1 == null ? _this.__id = E.Strand.prototype.get$id.call(_this, _this) : t1; - }, - get$domains: function() { - var t1 = this.__domains; + get$selected_loopouts() { + var t1 = this.__selected_loopouts; if (t1 == null) { - t1 = E.Strand.prototype.get$domains.call(this); - this.set$__domains(t1); + t1 = A.SelectablesStore.prototype.get$selected_loopouts.call(this); + this.set$__selected_loopouts(t1); } return t1; }, - get$dna_length: function() { - var t1 = this.__dna_length; - return t1 == null ? this.__dna_length = E.Strand.prototype.get$dna_length.call(this) : t1; + get$selected_extensions() { + var t1 = this.__selected_extensions; + if (t1 == null) { + t1 = A.SelectablesStore.prototype.get$selected_extensions.call(this); + this.set$__selected_extensions(t1); + } + return t1; }, - get$first_domain: function() { - var t1 = this.__first_domain; - return t1 == null ? this.__first_domain = E.Strand.prototype.get$first_domain.call(this) : t1; + get$selected_domains() { + var t1 = this.__selected_domains; + if (t1 == null) { + t1 = A.SelectablesStore.prototype.get$selected_domains.call(this); + this.set$__selected_domains(t1); + } + return t1; }, - get$last_domain: function() { - var t1 = this.__last_domain; - return t1 == null ? this.__last_domain = E.Strand.prototype.get$last_domain.call(this) : t1; + get$selected_dna_ends() { + var t1 = this.__selected_dna_ends; + if (t1 == null) { + t1 = A.SelectablesStore.prototype.get$selected_dna_ends.call(this); + this.set$__selected_dna_ends(t1); + } + return t1; }, - get$dnaend_3p: function() { - var t1 = this.__dnaend_3p; - return t1 == null ? this.__dnaend_3p = E.Strand.prototype.get$dnaend_3p.call(this) : t1; + get$selected_insertions() { + var t1 = this.__selected_insertions; + if (t1 == null) { + t1 = A.SelectablesStore.prototype.get$selected_insertions.call(this); + this.set$__selected_insertions(t1); + } + return t1; }, - get$dnaend_5p: function() { - var t1 = this.__dnaend_5p; - return t1 == null ? this.__dnaend_5p = E.Strand.prototype.get$dnaend_5p.call(this) : t1; + get$selected_modifications() { + var t1 = this.__selected_modifications; + if (t1 == null) { + t1 = A.SelectablesStore.prototype.get$selected_modifications.call(this); + this.set$__selected_modifications(t1); + } + return t1; }, - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_StrandBuilder._as(updates); - t1 = new E.StrandBuilder(); - t1._strand$_$v = this; - updates.call$1(t1); - return t1.build$0(); + rebuild$1(updates) { + var t1, t2; + type$.void_Function_SelectablesStoreBuilder._as(updates); + t1 = new A.SelectablesStoreBuilder(); + t2 = type$.nullable_SetBuilder_Selectable._as(A.SetBuilder_SetBuilder([], type$.Selectable)); + t1.get$_selectable$_$this().set$_selected_items(t2); + A.ArgumentError_checkNotNull(this, "other", type$.SelectablesStore); + t1._selectable$_$v = this; + type$.nullable_void_Function_SelectablesStoreBuilder._as(updates).call$1(t1); + return t1._selectable$_build$0(); }, - $eq: function(_, other) { - var t1, t2, _this = this; + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - if (other instanceof E.Strand) - if (J.$eq$(_this.substrands, other.substrands)) - if (J.$eq$(_this.vendor_fields, other.vendor_fields)) - if (_this.is_scaffold === other.is_scaffold) - if (_this.circular === other.circular) - if (J.$eq$(_this.modification_5p, other.modification_5p)) - if (J.$eq$(_this.modification_3p, other.modification_3p)) - if (J.$eq$(_this.modifications_int, other.modifications_int)) { - t1 = _this.color; - t2 = other.color; - t1 = t1.get$hashCode(t1); - t2 = t2.get$hashCode(t2); - t1 = t1 === t2 && _this.name == other.name && _this.label == other.label && J.$eq$(_this.unused_fields, other.unused_fields); - } else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + return other instanceof A.SelectablesStore && J.$eq$(this.selected_items, other.selected_items); }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._strand$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(0, J.get$hashCode$(_this.selected_items))); + t1 = _this._selectable$__hashCode; if (t1 == null) { - t1 = _this.color; - t1 = _this._strand$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.substrands)), J.get$hashCode$(_this.vendor_fields)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), C.JSBool_methods.get$hashCode(_this.circular)), J.get$hashCode$(_this.modification_5p)), J.get$hashCode$(_this.modification_3p)), J.get$hashCode$(_this.modifications_int)), t1.get$hashCode(t1)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.unused_fields))); + _this._selectable$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("Strand"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectablesStore"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "substrands", _this.substrands); - t2.add$2(t1, "vendor_fields", _this.vendor_fields); - t2.add$2(t1, "is_scaffold", _this.is_scaffold); - t2.add$2(t1, "circular", _this.circular); - t2.add$2(t1, "modification_5p", _this.modification_5p); - t2.add$2(t1, "modification_3p", _this.modification_3p); - t2.add$2(t1, "modifications_int", _this.modifications_int); - t2.add$2(t1, "color", _this.color); - t2.add$2(t1, "name", _this.name); - t2.add$2(t1, "label", _this.label); - t2.add$2(t1, "unused_fields", _this.unused_fields); + t2.add$2(t1, "selected_items", this.selected_items); return t2.toString$0(t1); }, - set$__selectable_deletions: function(__selectable_deletions) { - this.__selectable_deletions = type$.legacy_BuiltList_legacy_SelectableDeletion._as(__selectable_deletions); - }, - set$__selectable_insertions: function(__selectable_insertions) { - this.__selectable_insertions = type$.legacy_BuiltList_legacy_SelectableInsertion._as(__selectable_insertions); - }, - set$__selectable_modifications: function(__selectable_modifications) { - this.__selectable_modifications = type$.legacy_BuiltList_legacy_Selectable._as(__selectable_modifications); + set$__selected_strands(__selected_strands) { + this.__selected_strands = type$.nullable_BuiltSet_Strand._as(__selected_strands); }, - set$__selectable_modifications_int_by_dna_idx: function(__selectable_modifications_int_by_dna_idx) { - this.__selectable_modifications_int_by_dna_idx = type$.legacy_BuiltMap_of_legacy_int_and_legacy_SelectableModificationInternal._as(__selectable_modifications_int_by_dna_idx); + set$__selected_crossovers(__selected_crossovers) { + this.__selected_crossovers = type$.nullable_BuiltSet_Crossover._as(__selected_crossovers); }, - set$__internal_modifications_on_substrand_absolute_idx: function(__internal_modifications_on_substrand_absolute_idx) { - this.__internal_modifications_on_substrand_absolute_idx = type$.legacy_BuiltList_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal._as(__internal_modifications_on_substrand_absolute_idx); + set$__selected_loopouts(__selected_loopouts) { + this.__selected_loopouts = type$.nullable_BuiltSet_Loopout._as(__selected_loopouts); }, - set$__internal_modifications_on_substrand: function(__internal_modifications_on_substrand) { - this.__internal_modifications_on_substrand = type$.legacy_BuiltMap_of_legacy_Substrand_and_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal._as(__internal_modifications_on_substrand); + set$__selected_extensions(__selected_extensions) { + this.__selected_extensions = type$.nullable_BuiltSet_Extension._as(__selected_extensions); }, - set$__domains_on_helix: function(__domains_on_helix) { - this.__domains_on_helix = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain._as(__domains_on_helix); + set$__selected_domains(__selected_domains) { + this.__selected_domains = type$.nullable_BuiltSet_Domain._as(__selected_domains); }, - set$__linkers: function(__linkers) { - this.__linkers = type$.legacy_BuiltList_legacy_Linker._as(__linkers); + set$__selected_dna_ends(__selected_dna_ends) { + this.__selected_dna_ends = type$.nullable_BuiltSet_DNAEnd._as(__selected_dna_ends); }, - set$__crossovers: function(__crossovers) { - this.__crossovers = type$.legacy_BuiltList_legacy_Crossover._as(__crossovers); + set$__selected_dna_ends_on_domains(__selected_dna_ends_on_domains) { + this.__selected_dna_ends_on_domains = type$.nullable_BuiltSet_DNAEnd._as(__selected_dna_ends_on_domains); }, - set$__loopouts: function(__loopouts) { - this.__loopouts = type$.legacy_BuiltList_legacy_Loopout._as(__loopouts); + set$__selected_dna_ends_on_extensions(__selected_dna_ends_on_extensions) { + this.__selected_dna_ends_on_extensions = type$.nullable_BuiltSet_DNAEnd._as(__selected_dna_ends_on_extensions); }, - set$__extensions: function(__extensions) { - this.__extensions = type$.legacy_BuiltList_legacy_Extension._as(__extensions); + set$__selected_deletions(__selected_deletions) { + this.__selected_deletions = type$.nullable_BuiltSet_SelectableDeletion._as(__selected_deletions); }, - set$__domains: function(__domains) { - this.__domains = type$.legacy_BuiltList_legacy_Domain._as(__domains); + set$__selected_insertions(__selected_insertions) { + this.__selected_insertions = type$.nullable_BuiltSet_SelectableInsertion._as(__selected_insertions); }, - get$is_scaffold: function() { - return this.is_scaffold; + set$__selected_modifications(__selected_modifications) { + this.__selected_modifications = type$.nullable_BuiltSet_SelectableModification._as(__selected_modifications); } }; - E.StrandBuilder.prototype = { - get$substrands: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._substrands; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Substrand); - t1.set$_substrands(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$vendor_fields: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._vendor_fields; - return t2 == null ? t1._vendor_fields = new T.VendorFieldsBuilder() : t2; - }, - get$modification_5p: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._modification_5p; - return t2 == null ? t1._modification_5p = new Z.Modification5PrimeBuilder() : t2; - }, - get$modification_3p: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._modification_3p; - return t2 == null ? t1._modification_3p = new Z.Modification3PrimeBuilder() : t2; - }, - get$modifications_int: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._modifications_int; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_ModificationInternal); - t1.set$_modifications_int(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$unused_fields: function() { - var t1 = this.get$_strand$_$this(), - t2 = t1._strand$_unused_fields; + A.SelectablesStoreBuilder.prototype = { + get$selected_items() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selected_items; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_strand$_unused_fields(t2); + t2 = A.SetBuilder_SetBuilder(B.List_empty, type$.Selectable); + t1.set$_selected_items(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_strand$_$this: function() { + get$_selectable$_$this() { var t1, t2, _this = this, - $$v = _this._strand$_$v; + $$v = _this._selectable$_$v; if ($$v != null) { - t1 = $$v.substrands; - t1.toString; - _this.set$_substrands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.vendor_fields; - if (t1 == null) - t1 = null; - else { - t2 = new T.VendorFieldsBuilder(); - t2._vendor_fields$_$v = t1; - t1 = t2; - } - _this._vendor_fields = t1; - _this._is_scaffold = $$v.is_scaffold; - _this._circular = $$v.circular; - t1 = $$v.modification_5p; - if (t1 == null) - t1 = null; - else { - t2 = new Z.Modification5PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; - } - _this._modification_5p = t1; - t1 = $$v.modification_3p; - if (t1 == null) - t1 = null; - else { - t2 = new Z.Modification3PrimeBuilder(); - t2._modification$_$v = t1; - t1 = t2; - } - _this._modification_3p = t1; - t1 = $$v.modifications_int; + t1 = $$v.selected_items; t1.toString; t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_modifications_int(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._strand$_color = $$v.color; - _this._strand$_name = $$v.name; - _this._label = $$v.label; - t2 = $$v.unused_fields; - t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltMap<1,2>")._as(t2); - _this.set$_strand$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._strand$_$v = null; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_selected_items(new A.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._selectable$_$v = null; } return _this; }, - build$0: function() { - var _$result, _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, _s6_ = "Strand", - _s17_ = "modifications_int"; - E.Strand__finalizeBuilder(_this); - _$result = null; + _selectable$_build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s16_ = "SelectablesStore", + _s14_ = "selected_items", + _$result = null; try { - _$result0 = _this._strand$_$v; + _$result0 = _this._selectable$_$v; if (_$result0 == null) { - t1 = _this.get$substrands().build$0(); - t2 = _this._vendor_fields; - t2 = t2 == null ? null : t2.build$0(); - t3 = _this.get$_strand$_$this()._is_scaffold; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); - t4 = _this.get$_strand$_$this()._circular; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "circular")); - t5 = _this._modification_5p; - t5 = t5 == null ? null : t5.build$0(); - t6 = _this._modification_3p; - t6 = t6 == null ? null : t6.build$0(); - t7 = _this.get$modifications_int().build$0(); - t8 = _this.get$_strand$_$this()._strand$_color; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "color")); - t9 = _this.get$_strand$_$this()._strand$_name; - t10 = _this.get$_strand$_$this()._label; - t11 = _this.get$unused_fields().build$0(); - _$result0 = new E._$Strand(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrands")); - if (t7 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s17_)); - if (t11 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); + t1 = _this.get$selected_items().build$0(); + _$result0 = new A._$SelectablesStore(t1); + A.BuiltValueNullFieldError_checkNotNull(t1, _s16_, _s14_, type$.BuiltSet_Selectable); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "substrands"; - _this.get$substrands().build$0(); - _$failedField = "vendor_fields"; - t1 = _this._vendor_fields; - if (t1 != null) - t1.build$0(); - _$failedField = "modification_5p"; - t1 = _this._modification_5p; - if (t1 != null) - t1.build$0(); - _$failedField = "modification_3p"; - t1 = _this._modification_3p; - if (t1 != null) - t1.build$0(); - _$failedField = _s17_; - _this.get$modifications_int().build$0(); - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); + _$failedField._value = _s14_; + _this.get$selected_items().build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_Strand._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._strand$_$v = t1; + t1 = type$.SelectablesStore; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; return _$result; }, - set$_substrands: function(_substrands) { - this._substrands = type$.legacy_ListBuilder_legacy_Substrand._as(_substrands); - }, - set$_modifications_int: function(_modifications_int) { - this._modifications_int = type$.legacy_MapBuilder_of_legacy_int_and_legacy_ModificationInternal._as(_modifications_int); - }, - set$_strand$_unused_fields: function(_unused_fields) { - this._strand$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + set$_selected_items(_selected_items) { + this._selected_items = type$.nullable_SetBuilder_Selectable._as(_selected_items); } }; - E._Strand_Object_SelectableMixin.prototype = {}; - E._Strand_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; - E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; - E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable.prototype = {}; - U.StrandCreation.prototype = { - get$start: function(_) { - var t1 = this.original_offset, - t2 = this.current_offset; - return t1 < t2 ? t1 : t2; + A._$SelectableDeletion.prototype = { + get$select_mode() { + var t1 = this._selectable$__select_mode; + return t1 == null ? this._selectable$__select_mode = A.SelectableDeletion.prototype.get$select_mode.call(this) : t1; }, - get$end: function(_) { - var t1 = this.original_offset, - t2 = this.current_offset; - return 1 + (t1 < t2 ? t2 : t1); - } - }; - U.StrandCreation_StrandCreation_closure.prototype = { - call$1: function(b) { + get$id(_) { var _this = this, - t1 = b.get$helix(), - t2 = _this.helix; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._helix$_$v = t2; - b.get$_strand_creation$_$this()._forward = _this.forward; - t1 = _this.original_offset; - b.get$_strand_creation$_$this()._original_offset = t1; - b.get$_strand_creation$_$this()._current_offset = t1; - b.get$_strand_creation$_$this()._color = _this.color; - return b; + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = A.SelectableDeletion.prototype.get$id.call(_this, _this) : t1; }, - $signature: 102 + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.SelectableDeletion && _this.offset == other.offset && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; + }, + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.offset)), J.get$hashCode$(_this.domain)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { + _this._selectable$__hashCode = _$hash; + t1 = _$hash; + } + return t1; + }, + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableDeletion"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "is_scaffold", this.is_scaffold); + return t2.toString$0(t1); + }, + get$offset(receiver) { + return this.offset; + }, + get$is_scaffold() { + return this.is_scaffold; + } }; - U._$StrandCreationSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandCreation._as(object); - return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, C.FullType_kjq), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + A.SelectableDeletionBuilder.prototype = { + get$offset(_) { + return this.get$_selectable$_$this()._selectable$_offset; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$domain(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new A.DomainBuilder() : t2; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, key, value, t3, t4, - result = new U.StrandCreationBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Color, t2 = type$.legacy_Helix; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "helix": - t3 = result.get$_strand_creation$_$this(); - t4 = t3._helix; - if (t4 == null) { - t4 = new O.HelixBuilder(); - t4.get$_helix$_$this()._group = "default_group"; - t4.get$_helix$_$this()._min_offset = 0; - t4.get$_helix$_$this()._roll = 0; - t3._helix = t4; - t3 = t4; - } else - t3 = t4; - t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); - if (t4 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t3._helix$_$v = t4; - break; - case "forward": - t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strand_creation$_$this()._forward = t3; - break; - case "original_offset": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_strand_creation$_$this()._original_offset = t3; - break; - case "current_offset": - t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); - result.get$_strand_creation$_$this()._current_offset = t3; - break; - case "color": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); - result.get$_strand_creation$_$this()._color = t3; - break; - } + get$_selectable$_$this() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + _this._selectable$_offset = $$v.offset; + t1 = $$v.domain; + t1.toString; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Domain); + t2._domain$_$v = t1; + _this._selectable$_domain = t2; + _this._selectable$_is_scaffold = $$v.is_scaffold; + _this._selectable$_$v = null; } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_Ltx; + return _this; }, - get$wireName: function() { - return "StrandCreation"; + _selectable$_build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s18_ = "SelectableDeletion", + _$result = null; + try { + _$result0 = _this._selectable$_$v; + if (_$result0 == null) { + t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selectable$_$this()._selectable$_offset, _s18_, "offset", type$.int); + _$result0 = A._$SelectableDeletion$_(_this.get$domain(_this)._domain$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_selectable$_$this()._selectable$_is_scaffold, _s18_, "is_scaffold", type$.bool), t1); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.SelectableDeletion; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; + return _$result; } }; - U._$StrandCreation.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_StrandCreationBuilder._as(updates); - t1 = new U.StrandCreationBuilder(); - t1._strand_creation$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A._$SelectableInsertion.prototype = { + get$select_mode() { + var t1 = this._selectable$__select_mode; + return t1 == null ? this._selectable$__select_mode = A.SelectableInsertion.prototype.get$select_mode.call(this) : t1; }, - $eq: function(_, other) { - var t1, t2, _this = this; + get$id(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = A.SelectableInsertion.prototype.get$id.call(_this, _this) : t1; + }, + get$id_group() { + var t1 = this.__id_group; + return t1 == null ? this.__id_group = A.SelectableInsertion.prototype.get$id_group.call(this) : t1; + }, + $eq(_, other) { + var _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof U.StrandCreation) - if (J.$eq$(_this.helix, other.helix)) - if (_this.forward === other.forward) - if (_this.original_offset === other.original_offset) - if (_this.current_offset === other.current_offset) { - t1 = _this.color; - t2 = other.color; - t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); - } else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + return other instanceof A.SelectableInsertion && J.$eq$(_this.insertion, other.insertion) && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._strand_creation$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.insertion)), J.get$hashCode$(_this.domain)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); + t1 = _this._selectable$__hashCode; if (t1 == null) { - t1 = _this.color; - t1 = _this._strand_creation$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.original_offset)), C.JSInt_methods.get$hashCode(_this.current_offset)), t1.get$hashCode(t1))); + _this._selectable$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreation"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableInsertion"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "helix", _this.helix); - t2.add$2(t1, "forward", _this.forward); - t2.add$2(t1, "original_offset", _this.original_offset); - t2.add$2(t1, "current_offset", _this.current_offset); - t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "insertion", this.insertion); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "is_scaffold", this.is_scaffold); return t2.toString$0(t1); + }, + get$is_scaffold() { + return this.is_scaffold; } }; - U.StrandCreationBuilder.prototype = { - get$helix: function() { - var t1 = this.get$_strand_creation$_$this(), - t2 = t1._helix; - if (t2 == null) { - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t1._helix = t2; - t1 = t2; - } else - t1 = t2; - return t1; + A.SelectableInsertionBuilder.prototype = { + get$insertion() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_insertion; + return t2 == null ? t1._selectable$_insertion = new A.InsertionBuilder() : t2; }, - get$_strand_creation$_$this: function() { + get$domain(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new A.DomainBuilder() : t2; + }, + get$_selectable$_$this() { var t1, t2, _this = this, - $$v = _this._strand_creation$_$v; + $$v = _this._selectable$_$v; if ($$v != null) { - t1 = $$v.helix; + t1 = $$v.insertion; t1.toString; - t2 = new O.HelixBuilder(); - t2.get$_helix$_$this()._group = "default_group"; - t2.get$_helix$_$this()._min_offset = 0; - t2.get$_helix$_$this()._roll = 0; - t2._helix$_$v = t1; - _this._helix = t2; - _this._forward = $$v.forward; - _this._original_offset = $$v.original_offset; - _this._current_offset = $$v.current_offset; - _this._color = $$v.color; - _this._strand_creation$_$v = null; + t2 = new A.InsertionBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Insertion); + t2._domain$_$v = t1; + _this._selectable$_insertion = t2; + t2 = $$v.domain; + t2.toString; + t1 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + _this._selectable$_domain = t1; + _this._selectable$_is_scaffold = $$v.is_scaffold; + _this._selectable$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s14_ = "StrandCreation", + _selectable$_build$0() { + var _$failedField, e, _$result0, t1, exception, t2, _this = this, + _s19_ = "SelectableInsertion", _$result = null; try { - _$result0 = _this._strand_creation$_$v; + _$result0 = _this._selectable$_$v; if (_$result0 == null) { - t1 = _this.get$helix().build$0(); - t2 = _this.get$_strand_creation$_$this()._forward; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "forward")); - t3 = _this.get$_strand_creation$_$this()._original_offset; - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "original_offset")); - t4 = _this.get$_strand_creation$_$this()._current_offset; - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "current_offset")); - t5 = _this.get$_strand_creation$_$this()._color; - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "color")); - _$result0 = new U._$StrandCreation(t1, t2, t3, t4, t5); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "helix")); + t1 = _this.get$insertion()._domain$_build$0(); + _$result0 = A._$SelectableInsertion$_(_this.get$domain(_this)._domain$_build$0(), t1, A.BuiltValueNullFieldError_checkNotNull(_this.get$_selectable$_$this()._selectable$_is_scaffold, _s19_, "is_scaffold", type$.bool)); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "helix"; - _this.get$helix().build$0(); + _$failedField._value = "insertion"; + _this.get$insertion()._domain$_build$0(); + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandCreation._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._strand_creation$_$v = t1; + t1 = type$.SelectableInsertion; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; return _$result; } }; - U._StrandCreation_Object_BuiltJsonSerializable.prototype = {}; - U.StrandsMove.prototype = { - get$current_view_order: function() { - var t1 = this.current_address.helix_idx, - t2 = this.helices._map$_map, - t3 = J.getInterceptor$asx(t2), - t4 = t3.$index(t2, t1).group; - return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); - } - }; - U.StrandsMove_StrandsMove_closure.prototype = { - call$1: function(b) { - var t1, t2, _this = this; - b.get$strands_moving().replace$1(0, _this.strands_moving); - b.get$strands_fixed().replace$1(0, _this.strands_fixed); - b.get$helices().replace$1(0, _this.helices); - b.get$groups().replace$1(0, _this.groups); - b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); - t1 = b.get$original_address(); - t2 = _this.original_address; - t1._address$_$v = t2; - t1 = b.get$current_address(); - t1._address$_$v = t2; - b.get$_strands_move$_$this()._strands_move$_copy = _this.copy; - b.get$_strands_move$_$this()._strands_move$_keep_color = _this.keep_color; - b.get$_strands_move$_$this()._strands_move$_allowable = true; - return b; + A._$SelectableModification5Prime.prototype = { + get$address() { + var t1 = this.__address; + return t1 == null ? this.__address = A.SelectableModification5Prime.prototype.get$address.call(this) : t1; }, - $signature: 35 - }; - U._$StrandsMoveSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_StrandsMove._as(object); - return H.setRuntimeTypeInfo(["strands_moving", serializers.serialize$2$specifiedType(object.strands_moving, C.FullType_2No), "strands_fixed", serializers.serialize$2$specifiedType(object.strands_fixed, C.FullType_2No), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, C.FullType_m48), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, C.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, C.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, C.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, C.FullType_MtR)], type$.JSArray_legacy_Object); + get$id(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = A.SelectableModification5Prime.prototype.get$id.call(_this, _this) : t1; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.SelectableModification5Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, - result = new U.StrandsMoveBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Address, t2 = type$.MapBuilder_of_legacy_int_and_legacy_int, t3 = type$.MapBuilder_of_legacy_String_and_legacy_HelixGroup, t4 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t5 = type$.legacy_BuiltList_legacy_Object, t6 = type$.legacy_Strand, t7 = type$.List_legacy_Strand, t8 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "strands_moving": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_moving; - if (t10 == null) { - t10 = new D.ListBuilder(t8); - t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t10.set$_listOwner(_null); - t9.set$_strands_moving(t10); - t9 = t10; - } else - t9 = t10; - t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); - t11 = t9.$ti; - t12 = t11._eval$1("_BuiltList<1>"); - t13 = t11._eval$1("List<1>"); - if (t12._is(t10)) { - t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); - t9.set$_listOwner(t10); - } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); - t9.set$_listOwner(_null); - } - break; - case "strands_fixed": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_fixed; - if (t10 == null) { - t10 = new D.ListBuilder(t8); - t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); - t10.set$_listOwner(_null); - t9.set$_strands_fixed(t10); - t9 = t10; - } else - t9 = t10; - t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); - t11 = t9.$ti; - t12 = t11._eval$1("_BuiltList<1>"); - t13 = t11._eval$1("List<1>"); - if (t12._is(t10)) { - t12._as(t10); - t9.set$__ListBuilder__list(t13._as(t10._list)); - t9.set$_listOwner(t10); - } else { - t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); - t9.set$_listOwner(_null); - } - break; - case "helices": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_move$_helices; - if (t10 == null) { - t10 = new A.MapBuilder(_null, $, _null, t4); - t10.replace$1(0, C.Map_empty); - t9.set$_strands_move$_helices(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); - break; - case "groups": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_move$_groups; - if (t10 == null) { - t10 = new A.MapBuilder(_null, $, _null, t3); - t10.replace$1(0, C.Map_empty); - t9.set$_strands_move$_groups(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_m48)); - break; - case "original_helices_view_order_inverse": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_move$_original_helices_view_order_inverse; - if (t10 == null) { - t10 = new A.MapBuilder(_null, $, _null, t2); - t10.replace$1(0, C.Map_empty); - t9.set$_strands_move$_original_helices_view_order_inverse(t10); - t9 = t10; - } else - t9 = t10; - t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); - break; - case "original_address": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_move$_original_address; - t9 = t10 == null ? t9._strands_move$_original_address = new Z.AddressBuilder() : t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t9._address$_$v = t10; - break; - case "current_address": - t9 = result.get$_strands_move$_$this(); - t10 = t9._strands_move$_current_address; - t9 = t10 == null ? t9._strands_move$_current_address = new Z.AddressBuilder() : t10; - t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); - if (t10 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t9._address$_$v = t10; - break; - case "allowable": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strands_move$_$this()._strands_move$_allowable = t9; - break; - case "copy": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strands_move$_$this()._strands_move$_copy = t9; - break; - case "keep_color": - t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); - result.get$_strands_move$_$this()._strands_move$_keep_color = t9; - break; - } + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { + _this._selectable$__hashCode = _$hash; + t1 = _$hash; } - return result.build$0(); + return t1; }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification5Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_ECG0; + get$modification() { + return this.modification; }, - get$wireName: function() { - return "StrandsMove"; + get$strand() { + return this.strand; } }; - U._$StrandsMove.prototype = { - rebuild$1: function(updates) { - var t1; - type$.legacy_void_Function_legacy_StrandsMoveBuilder._as(updates); - t1 = new U.StrandsMoveBuilder(); - t1._strands_move$_$v = this; - updates.call$1(t1); - return t1.build$0(); + A.SelectableModification5PrimeBuilder.prototype = { + get$modification() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new A.Modification5PrimeBuilder() : t2; }, - $eq: function(_, other) { - var _this = this; + get$strand() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new A.StrandBuilder() : t2; + }, + get$_selectable$_$this() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.modification; + t1.toString; + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification5Prime); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t2 = $$v.strand; + t2.toString; + t1 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Strand); + t1._strand$_$v = t2; + _this._selectable$_strand = t1; + _this._selectable$_$v = null; + } + return _this; + }, + _selectable$_build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; + try { + _$result0 = _this._selectable$_$v; + _$result = _$result0 == null ? A._$SelectableModification5Prime$_(_this.get$modification()._modification$_build$0(), _this.get$strand()._strand$_build$0()) : _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "modification"; + _this.get$modification()._modification$_build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("SelectableModification5Prime", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.SelectableModification5Prime; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; + return _$result; + } + }; + A._$SelectableModification3Prime.prototype = { + get$address() { + var t1 = this.__address; + return t1 == null ? this.__address = A.SelectableModification3Prime.prototype.get$address.call(this) : t1; + }, + get$id(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = A.SelectableModification3Prime.prototype.get$id.call(_this, _this) : t1; + }, + $eq(_, other) { if (other == null) return false; - if (other === _this) + if (other === this) return true; - return other instanceof U.StrandsMove && J.$eq$(_this.strands_moving, other.strands_moving) && J.$eq$(_this.strands_fixed, other.strands_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; + return other instanceof A.SelectableModification3Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this._strands_move$__hashCode; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))); + t1 = _this._selectable$__hashCode; if (t1 == null) { - t1 = _this.original_address; - t2 = _this.current_address; - t2 = _this._strands_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands_moving)), J.get$hashCode$(_this.strands_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSBool_methods.get$hashCode(_this.allowable)), C.JSBool_methods.get$hashCode(_this.copy)), C.JSBool_methods.get$hashCode(_this.keep_color))); - t1 = t2; + _this._selectable$__hashCode = _$hash; + t1 = _$hash; } return t1; }, - toString$0: function(_) { - var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMove"), + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification3Prime"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "strands_moving", _this.strands_moving); - t2.add$2(t1, "strands_fixed", _this.strands_fixed); - t2.add$2(t1, "helices", _this.helices); - t2.add$2(t1, "groups", _this.groups); - t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); - t2.add$2(t1, "original_address", _this.original_address); - t2.add$2(t1, "current_address", _this.current_address); - t2.add$2(t1, "allowable", _this.allowable); - t2.add$2(t1, "copy", _this.copy); - t2.add$2(t1, "keep_color", _this.keep_color); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand", this.strand); return t2.toString$0(t1); - } - }; - U.StrandsMoveBuilder.prototype = { - get$strands_moving: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_moving; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands_moving(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$strands_fixed: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_fixed; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); - t1.set$_strands_fixed(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$helices: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_move$_helices; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); - t1.set$_strands_move$_helices(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$groups: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_move$_groups; - if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); - t1.set$_strands_move$_groups(t2); - t1 = t2; - } else - t1 = t2; - return t1; }, - get$original_helices_view_order_inverse: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_move$_original_helices_view_order_inverse; - if (t2 == null) { - t2 = type$.legacy_int; - t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); - t1.set$_strands_move$_original_helices_view_order_inverse(t2); - t1 = t2; - } else - t1 = t2; - return t1; + get$modification() { + return this.modification; }, - get$original_address: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_move$_original_address; - return t2 == null ? t1._strands_move$_original_address = new Z.AddressBuilder() : t2; + get$strand() { + return this.strand; + } + }; + A.SelectableModification3PrimeBuilder.prototype = { + get$modification() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new A.Modification3PrimeBuilder() : t2; }, - get$current_address: function() { - var t1 = this.get$_strands_move$_$this(), - t2 = t1._strands_move$_current_address; - return t2 == null ? t1._strands_move$_current_address = new Z.AddressBuilder() : t2; + get$strand() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new A.StrandBuilder() : t2; }, - get$_strands_move$_$this: function() { + get$_selectable$_$this() { var t1, t2, _this = this, - $$v = _this._strands_move$_$v; + $$v = _this._selectable$_$v; if ($$v != null) { - t1 = $$v.strands_moving; - t1.toString; - _this.set$_strands_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.strands_fixed; - t1.toString; - _this.set$_strands_fixed(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.helices; + t1 = $$v.modification; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_strands_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.groups; + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, "other", type$.Modification3Prime); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t2 = $$v.strand; t2.toString; - t1 = t2.$ti; - t1._eval$1("_BuiltMap<1,2>")._as(t2); - _this.set$_strands_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); - t1 = $$v.original_helices_view_order_inverse; - t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_strands_move$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - t2 = $$v.original_address; - t1 = new Z.AddressBuilder(); - t1._address$_$v = t2; - _this._strands_move$_original_address = t1; - t1 = $$v.current_address; - t2 = new Z.AddressBuilder(); - t2._address$_$v = t1; - _this._strands_move$_current_address = t2; - _this._strands_move$_allowable = $$v.allowable; - _this._strands_move$_copy = $$v.copy; - _this._strands_move$_keep_color = $$v.keep_color; - _this._strands_move$_$v = null; + t1 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t2, "other", type$.Strand); + t1._strand$_$v = t2; + _this._selectable$_strand = t1; + _this._selectable$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _this = this, - _s11_ = "StrandsMove", - _s35_ = "original_helices_view_order_inverse", - _$result = null; + _selectable$_build$0() { + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { - _$result0 = _this._strands_move$_$v; - if (_$result0 == null) { - t1 = _this.get$strands_moving().build$0(); - t2 = _this.get$strands_fixed().build$0(); - t3 = _this.get$helices().build$0(); - t4 = _this.get$groups().build$0(); - t5 = _this.get$original_helices_view_order_inverse().build$0(); - t6 = _this.get$original_address().build$0(); - t7 = _this.get$current_address().build$0(); - t8 = _this.get$_strands_move$_$this()._strands_move$_allowable; - if (t8 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "allowable")); - t9 = _this.get$_strands_move$_$this()._strands_move$_copy; - if (t9 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "copy")); - t10 = _this.get$_strands_move$_$this()._strands_move$_keep_color; - if (t10 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "keep_color")); - _$result0 = new U._$StrandsMove(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "strands_moving")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "strands_fixed")); - if (t3 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helices")); - if (t4 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "groups")); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s35_)); - } - _$result = _$result0; + _$result0 = _this._selectable$_$v; + _$result = _$result0 == null ? A._$SelectableModification3Prime$_(_this.get$modification()._modification$_build$0(), _this.get$strand()._strand$_build$0()) : _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "strands_moving"; - _this.get$strands_moving().build$0(); - _$failedField = "strands_fixed"; - _this.get$strands_fixed().build$0(); - _$failedField = "helices"; - _this.get$helices().build$0(); - _$failedField = "groups"; - _this.get$groups().build$0(); - _$failedField = _s35_; - _this.get$original_helices_view_order_inverse().build$0(); - _$failedField = "original_address"; - _this.get$original_address().build$0(); - _$failedField = "current_address"; - _this.get$current_address().build$0(); + _$failedField._value = "modification"; + _this.get$modification()._modification$_build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$("SelectableModification3Prime", _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_StrandsMove._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._strands_move$_$v = t1; + t1 = type$.SelectableModification3Prime; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; return _$result; + } + }; + A._$SelectableModificationInternal.prototype = { + get$address() { + var t1 = this.__address; + return t1 == null ? this.__address = A.SelectableModificationInternal.prototype.get$address.call(this) : t1; + }, + get$id(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = A.SelectableModificationInternal.prototype.get$id.call(_this, _this) : t1; }, - set$_strands_moving: function(_strands_moving) { - this._strands_moving = type$.legacy_ListBuilder_legacy_Strand._as(_strands_moving); + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.SelectableModificationInternal && J.$eq$(_this.modification, other.modification) && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.domain, other.domain) && _this.dna_idx == other.dna_idx; }, - set$_strands_fixed: function(_strands_fixed) { - this._strands_fixed = type$.legacy_ListBuilder_legacy_Strand._as(_strands_fixed); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selectable$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand)), J.get$hashCode$(_this.domain)), J.get$hashCode$(_this.dna_idx))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { + _this._selectable$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - set$_strands_move$_helices: function(_helices) { - this._strands_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModificationInternal"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modification", _this.modification); + t2.add$2(t1, "strand", _this.strand); + t2.add$2(t1, "domain", _this.domain); + t2.add$2(t1, "dna_idx", _this.dna_idx); + return t2.toString$0(t1); }, - set$_strands_move$_groups: function(_groups) { - this._strands_move$_groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); + get$modification() { + return this.modification; }, - set$_strands_move$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { - this._strands_move$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + get$strand() { + return this.strand; } }; - U._StrandsMove_Object_BuiltJsonSerializable.prototype = {}; - T.UndoRedo.prototype = {}; - T.UndoRedo_UndoRedo_closure.prototype = { - call$1: function(u) { - var t1 = $.$get$DEFAULT_UndoRedo(); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - u._undo_redo$_$v = t1; - return u; - }, - $signature: 75 - }; - T.UndoRedoItem.prototype = {}; - T.UndoRedoItem_UndoRedoItem_closure.prototype = { - call$1: function(b) { - var t1, t2; - b.get$_undo_redo$_$this()._short_description = this.short_description; - t1 = b.get$design(); - t2 = this.design; - if (t2 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t1._design0$_$v = t2; - return b; + A.SelectableModificationInternalBuilder.prototype = { + get$modification() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new A.ModificationInternalBuilder() : t2; }, - $signature: 393 - }; - T._$UndoRedoItemSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { - type$.legacy_UndoRedoItem._as(object); - return H.setRuntimeTypeInfo(["short_description", serializers.serialize$2$specifiedType(object.short_description, C.FullType_h8g), "design", serializers.serialize$2$specifiedType(object.design, C.FullType_WnR)], type$.JSArray_legacy_Object); + get$strand() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new A.StrandBuilder() : t2; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + get$domain(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new A.DomainBuilder() : t2; }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var t1, key, value, t2, t3, - result = new T.UndoRedoItemBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_Design; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); - iterator.moveNext$0(); - value = iterator.get$current(iterator); - switch (key) { - case "short_description": - t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_undo_redo$_$this()._short_description = t2; - break; - case "design": - t2 = result.get$_undo_redo$_$this(); - t3 = t2._undo_redo$_design; - if (t3 == null) { - t3 = new N.DesignBuilder(); - N.Design__initializeBuilder(t3); - t2._undo_redo$_design = t3; - t2 = t3; - } else - t2 = t3; - t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_WnR)); - if (t3 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - t2._design0$_$v = t3; - break; - } - } - return result.build$0(); - }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); - }, - $isSerializer: 1, - $isStructuredSerializer: 1, - get$types: function() { - return C.List_y1j; - }, - get$wireName: function() { - return "UndoRedoItem"; - } - }; - T._$UndoRedo.prototype = { - rebuild$1: function(updates) { - var t1, t2, t3, t4; - type$.legacy_void_Function_legacy_UndoRedoBuilder._as(updates); - t1 = new T.UndoRedoBuilder(); - t2 = type$.legacy_UndoRedoItem; - t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem; - t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_undo_stack(t4); - t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); - t1.get$_undo_redo$_$this().set$_redo_stack(t2); - t1._undo_redo$_$v = this; - updates.call$1(t1); - return t1.build$0(); - }, - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof T.UndoRedo && J.$eq$(this.undo_stack, other.undo_stack) && J.$eq$(this.redo_stack, other.redo_stack); - }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._undo_redo$__hashCode; - return t1 == null ? _this._undo_redo$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.undo_stack)), J.get$hashCode$(_this.redo_stack))) : t1; - }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedo"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "undo_stack", this.undo_stack); - t2.add$2(t1, "redo_stack", this.redo_stack); - return t2.toString$0(t1); - } - }; - T.UndoRedoBuilder.prototype = { - get$undo_stack: function() { - var t1 = this.get$_undo_redo$_$this(), - t2 = t1._undo_stack; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoRedoItem); - t1.set$_undo_stack(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$redo_stack: function() { - var t1 = this.get$_undo_redo$_$this(), - t2 = t1._redo_stack; - if (t2 == null) { - t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoRedoItem); - t1.set$_redo_stack(t2); - t1 = t2; - } else - t1 = t2; - return t1; - }, - get$_undo_redo$_$this: function() { - var t1, _this = this, - $$v = _this._undo_redo$_$v; + get$_selectable$_$this() { + var t1, t2, _this = this, _s5_ = "other", + $$v = _this._selectable$_$v; if ($$v != null) { - t1 = $$v.undo_stack; + t1 = $$v.modification; t1.toString; - _this.set$_undo_stack(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - t1 = $$v.redo_stack; + t2 = new A.ModificationInternalBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.ModificationInternal); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t2 = $$v.strand; + t2.toString; + t1 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(t2, _s5_, type$.Strand); + t1._strand$_$v = t2; + _this._selectable$_strand = t1; + t1 = $$v.domain; t1.toString; - _this.set$_redo_stack(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); - _this._undo_redo$_$v = null; + t2 = new A.DomainBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Domain); + t2._domain$_$v = t1; + _this._selectable$_domain = t2; + _this._dna_idx = $$v.dna_idx; + _this._selectable$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s8_ = "UndoRedo", + _selectable$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s30_ = "SelectableModificationInternal", _$result = null; try { - _$result0 = _this._undo_redo$_$v; + _$result0 = _this._selectable$_$v; if (_$result0 == null) { - t1 = _this.get$undo_stack().build$0(); - t2 = _this.get$redo_stack().build$0(); - _$result0 = new T._$UndoRedo(t1, t2); - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "undo_stack")); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "redo_stack")); + t1 = _this.get$modification()._modification$_build$0(); + t2 = _this.get$strand()._strand$_build$0(); + t3 = _this.get$domain(_this)._domain$_build$0(); + _$result0 = A._$SelectableModificationInternal$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_selectable$_$this()._dna_idx, _s30_, "dna_idx", type$.int), t3, t1, t2); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "undo_stack"; - _this.get$undo_stack().build$0(); - _$failedField = "redo_stack"; - _this.get$redo_stack().build$0(); + _$failedField._value = "modification"; + _this.get$modification()._modification$_build$0(); + _$failedField._value = "strand"; + _this.get$strand()._strand$_build$0(); + _$failedField._value = "domain"; + _this.get$domain(_this)._domain$_build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s30_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_UndoRedo._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._undo_redo$_$v = t1; + t1 = type$.SelectableModificationInternal; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selectable$_$v = t2; return _$result; + } + }; + A._SelectableDeletion_Object_SelectableMixin.prototype = {}; + A._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._SelectableInsertion_Object_SelectableMixin.prototype = {}; + A._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._SelectableModification3Prime_Object_SelectableModification.prototype = {}; + A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin.prototype = {}; + A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._SelectableModification5Prime_Object_SelectableModification.prototype = {}; + A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin.prototype = {}; + A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._SelectableModificationInternal_Object_SelectableModification.prototype = {}; + A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin.prototype = {}; + A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._SelectablesStore_Object_BuiltJsonSerializable.prototype = {}; + A.SelectionBox.prototype = { + get$width(_) { + var t1 = this.start.x, + t2 = this.current.x; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return Math.abs(t1 - t2); }, - set$_undo_stack: function(_undo_stack) { - this._undo_stack = type$.legacy_ListBuilder_legacy_UndoRedoItem._as(_undo_stack); + get$height(_) { + var t1 = this.start.y, + t2 = this.current.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return A.iae(t2); + return Math.abs(t1 - t2); }, - set$_redo_stack: function(_redo_stack) { - this._redo_stack = type$.legacy_ListBuilder_legacy_UndoRedoItem._as(_redo_stack); + toString$0(_) { + var t1 = this.start, + t2 = this.current; + return "start=(" + J.toStringAsFixed$1$n(t1.x, 1) + ", " + J.toStringAsFixed$1$n(t1.y, 1) + ") current=(" + J.toStringAsFixed$1$n(t2.x, 1) + ", " + J.toStringAsFixed$1$n(t2.y, 1) + "), is_main=" + this.is_main; } }; - T._$UndoRedoItem.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - if (other === this) - return true; - return other instanceof T.UndoRedoItem && this.short_description === other.short_description && J.$eq$(this.design, other.design); + A.SelectionBox_SelectionBox_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double._as(this.start); + b.get$_selection_box$_$this().set$_selection_box$_start(0, t1); + b.get$_selection_box$_$this()._selection_box$_toggle = this.toggle; + b.get$_selection_box$_$this()._selection_box$_is_main = this.is_main; + b.get$_selection_box$_$this().set$_selection_box$_current(t1); + return b; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._undo_redo$__hashCode; - return t1 == null ? _this._undo_redo$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.short_description)), J.get$hashCode$(_this.design))) : t1; + $signature: 393 + }; + A._$SelectionBoxSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.SelectionBox._as(object); + return ["start", serializers.serialize$2$specifiedType(object.start, B.FullType_laS), "current", serializers.serialize$2$specifiedType(object.current, B.FullType_laS), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_MtR)]; }, - toString$0: function(_) { - var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedoItem"), - t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "short_description", this.short_description); - t2.add$2(t1, "design", this.design); - return t2.toString$0(t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, + result = new A.SelectionBoxBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "start": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + result.get$_selection_box$_$this().set$_selection_box$_start(0, t3); + break; + case "current": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + result.get$_selection_box$_$this().set$_selection_box$_current(t3); + break; + case "toggle": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_selection_box$_$this()._selection_box$_toggle = t3; + break; + case "is_main": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_selection_box$_$this()._selection_box$_is_main = t3; + break; + } + } + return result._selection_box$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_mHo; + }, + get$wireName() { + return "SelectionBox"; } }; - T.UndoRedoItemBuilder.prototype = { - get$design: function() { - var t1 = this.get$_undo_redo$_$this(), - t2 = t1._undo_redo$_design; + A._$SelectionBox.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.SelectionBox && _this.start.$eq(0, other.start) && _this.current.$eq(0, other.current) && _this.toggle === other.toggle && _this.is_main === other.is_main; + }, + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._selection_box$__hashCode; + if (t1 != null) + return t1; + t1 = _this.start; + t2 = _this.current; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y), 0)), B.JSBool_methods.get$hashCode(_this.toggle)), B.JSBool_methods.get$hashCode(_this.is_main))); + t2 = _this._selection_box$__hashCode; if (t2 == null) { - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t1._undo_redo$_design = t2; - t1 = t2; + _this._selection_box$__hashCode = _$hash; + t1 = _$hash; } else t1 = t2; return t1; - }, - get$_undo_redo$_$this: function() { - var t1, t2, _this = this, - $$v = _this._undo_redo$_$v; + } + }; + A.SelectionBoxBuilder.prototype = { + get$_selection_box$_$this() { + var _this = this, + $$v = _this._selection_box$_$v; if ($$v != null) { - _this._short_description = $$v.short_description; - t1 = $$v.design; - t1.toString; - t2 = new N.DesignBuilder(); - N.Design__initializeBuilder(t2); - t2._design0$_$v = t1; - _this._undo_redo$_design = t2; - _this._undo_redo$_$v = null; + _this.set$_selection_box$_start(0, $$v.start); + _this.set$_selection_box$_current($$v.current); + _this._selection_box$_toggle = $$v.toggle; + _this._selection_box$_is_main = $$v.is_main; + _this._selection_box$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, exception, _this = this, - _s12_ = "UndoRedoItem", - _$result = null; - try { - _$result0 = _this._undo_redo$_$v; - if (_$result0 == null) { - t1 = _this.get$_undo_redo$_$this()._short_description; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "short_description")); - t2 = _this.get$design().build$0(); - _$result0 = new T._$UndoRedoItem(t1, t2); - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "design")); - } - _$result = _$result0; - } catch (exception) { - H.unwrapException(exception); - _$failedField = null; - try { - _$failedField = "design"; - _this.get$design().build$0(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); - } - throw exception; + _selection_box$_build$0() { + var t1, t2, t3, t4, t5, t6, _this = this, + _s12_ = "SelectionBox", + _$result = _this._selection_box$_$v; + if (_$result == null) { + t1 = type$.Point_double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_box$_$this()._selection_box$_start, _s12_, "start", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_box$_$this()._selection_box$_current, _s12_, "current", t1); + t4 = type$.bool; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_box$_$this()._selection_box$_toggle, _s12_, "toggle", t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_box$_$this()._selection_box$_is_main, _s12_, "is_main", t4); + _$result = new A._$SelectionBox(t2, t3, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s12_, "start", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, "current", t1); + A.BuiltValueNullFieldError_checkNotNull(t5, _s12_, "toggle", t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s12_, "is_main", t4); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.SelectionBox); + return _this._selection_box$_$v = _$result; + }, + set$_selection_box$_start(_, _start) { + this._selection_box$_start = type$.nullable_Point_double._as(_start); + }, + set$_selection_box$_current(_current) { + this._selection_box$_current = type$.nullable_Point_double._as(_current); + } + }; + A._SelectionBox_Object_BuiltJsonSerializable.prototype = {}; + A.SelectionRope.prototype = { + get$lines(_) { + var t1, i, i0, + result = A._setArrayType([], type$.JSArray_Line); + for (t1 = this.points._list, i = 0; i < t1.length - 1; i = i0) { + i0 = i + 1; + B.JSArray_methods.add$1(result, A.Line_Line(t1[i], t1[i0])); } - t1 = type$.legacy_UndoRedoItem._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._undo_redo$_$v = t1; - return _$result; + return A._BuiltList$of(result, type$.Line); + }, + get$lines_without_last() { + var t1, i, i0, + result = A._setArrayType([], type$.JSArray_Line); + for (t1 = this.points._list, i = 0; i < t1.length - 2; i = i0) { + i0 = i + 1; + B.JSArray_methods.add$1(result, A.Line_Line(t1[i], t1[i0])); + } + return A._BuiltList$of(result, type$.Line); + }, + get$lines_without_first() { + var t1, i, i0, + result = A._setArrayType([], type$.JSArray_Line); + for (t1 = this.points._list, i = 1; i < t1.length - 1; i = i0) { + i0 = i + 1; + B.JSArray_methods.add$1(result, A.Line_Line(t1[i], t1[i0])); + } + return A._BuiltList$of(result, type$.Line); + }, + creates_self_intersection$1(new_point) { + var t1, new_penultimate_line, t2, new_last_line, _this = this; + type$.Point_double._as(new_point); + t1 = _this.points._list; + if (t1.length === 0) + return false; + new_penultimate_line = A.Line_Line(B.JSArray_methods.get$last(t1), new_point); + t2 = _this.__lines_without_last; + if (t2 == null) { + t2 = A.SelectionRope.prototype.get$lines_without_last.call(_this); + _this.set$__lines_without_last(t2); + } + t2 = t2._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + for (; t2.moveNext$0();) + if (t2.__interceptors$_current.intersects$1(0, new_penultimate_line)) + return true; + new_last_line = A.Line_Line(new_point, B.JSArray_methods.get$first(t1)); + t1 = _this.__lines_without_first; + if (t1 == null) { + t1 = A.SelectionRope.prototype.get$lines_without_first.call(_this); + _this.set$__lines_without_first(t1); + } + t1 = t1._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + for (; t1.moveNext$0();) + if (t1.__interceptors$_current.intersects$1(0, new_last_line)) + return true; + if (_this.get$lines(_this)._list.length !== 0) { + if (B.JSArray_methods.get$last(_this.get$lines(_this)._list).intersects_line_to_new_point$1(new_point)) + return true; + if (B.JSArray_methods.get$first(_this.get$lines(_this)._list).intersects_line_from_new_point$1(new_point)) + return true; + } + return false; + }, + potential_is_illegal$0() { + var t1 = this.current_point; + if (t1 != null) + return this.creates_self_intersection$1(t1); + else + return false; } }; - T._UndoRedo_Object_BuiltJsonSerializable.prototype = {}; - T._UndoRedoItem_Object_BuiltJsonSerializable.prototype = {}; - U.UnusedFields.prototype = {}; - T.VendorFields.prototype = {}; - T.VendorFields_VendorFields_closure.prototype = { - call$1: function(b) { - var t1, _this = this; - b.get$_vendor_fields$_$this()._scale = _this.scale; - b.get$_vendor_fields$_$this()._purification = _this.purification; - b.get$_vendor_fields$_$this()._plate = _this.plate; - b.get$_vendor_fields$_$this()._well = _this.well; - t1 = type$.dynamic; - t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); - b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + A.SelectionRope_SelectionRope_closure.prototype = { + call$1(b) { + type$.nullable_Point_double._as(null); + b.get$_selection_rope$_$this().set$_current_point(null); + b.get$_selection_rope$_$this()._toggle = this.toggle; + b.get$points(b).replace$1(0, []); + b.get$_selection_rope$_$this()._is_main = null; return b; }, $signature: 394 }; - T.VendorFields_from_json_closure.prototype = { - call$1: function(b) { - var t1 = this.unused_fields; - type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); - b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + A.Line.prototype = { + intersects$1(_, line2) { + var _this = this, + t1 = _this.p1, + t2 = _this.p2, + t3 = line2.p1, + dir1 = A.Line_orientation(t1, t2, t3), + t4 = line2.p2, + dir2 = A.Line_orientation(t1, t2, t4), + dir3 = A.Line_orientation(t3, t4, t1), + dir4 = A.Line_orientation(t3, t4, t2); + if (dir1 !== dir2 && dir3 !== dir4) + return true; + if (dir1 === B.Orientation_0 && _this.contains_point$1(t3)) + return true; + if (dir2 === B.Orientation_0 && _this.contains_point$1(t4)) + return true; + if (dir3 === B.Orientation_0 && line2.contains_point$1(t1)) + return true; + if (dir4 === B.Orientation_0 && line2.contains_point$1(t2)) + return true; + return false; + }, + contains_point$1(p) { + var t1, t2, t3, t4, t5, t6; + type$.Point_double._as(p); + t1 = p.x; + t2 = this.p1; + t3 = t2.x; + t4 = this.p2; + t5 = t4.x; + t6 = Math.max(A.checkNum(t3), A.checkNum(t5)); + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < t6) + if (t1 < Math.min(A.checkNum(t3), A.checkNum(t5))) { + t1 = p.y; + t2 = t2.y; + t4 = t4.y; + t3 = Math.max(A.checkNum(t2), A.checkNum(t4)); + if (typeof t1 !== "number") + return t1.$lt(); + t1 = t1 < t3 && t1 < Math.min(A.checkNum(t2), A.checkNum(t4)); + } else + t1 = false; + else + t1 = false; return t1; }, + intersects_line_to_new_point$1(new_point) { + var t1, t2; + type$.Point_double._as(new_point); + t1 = this.p1; + t2 = this.p2; + if (A.Line_orientation(t1, t2, new_point) !== B.Orientation_0) + return false; + return !A.vectors_point_same_direction(t2.$sub(0, t1), new_point.$sub(0, t2)); + }, + intersects_line_from_new_point$1(new_point) { + var t1, t2; + type$.Point_double._as(new_point); + t1 = this.p1; + t2 = this.p2; + if (A.Line_orientation(new_point, t1, t2) !== B.Orientation_0) + return false; + return !A.vectors_point_same_direction(new_point.$sub(0, t1), t2.$sub(0, t1)); + } + }; + A.Line_Line_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_Point_double, + t2 = t1._as(this.p1); + b.get$_selection_rope$_$this().set$_p1(t2); + t1 = t1._as(this.p2); + b.get$_selection_rope$_$this().set$_p2(t1); + return b; + }, $signature: 395 }; - T._$VendorFieldsSerializer.prototype = { - serialize$3$specifiedType: function(serializers, object, specifiedType) { + A.Orientation.prototype = { + _enumToString$0() { + return "Orientation." + this._core$_name; + } + }; + A._$SelectionRopeSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_VendorFields._as(object); - result = H.setRuntimeTypeInfo(["scale", serializers.serialize$2$specifiedType(object.scale, C.FullType_h8g), "purification", serializers.serialize$2$specifiedType(object.purification, C.FullType_h8g)], type$.JSArray_legacy_Object); - value = object.plate; + type$.SelectionRope._as(object); + result = ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_MtR), "points", serializers.serialize$2$specifiedType(object.points, B.FullType_cGo)]; + value = object.current_point; if (value != null) { - C.JSArray_methods.add$1(result, "plate"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + result.push("current_point"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_laS)); } - value = object.well; + value = object.is_main; if (value != null) { - C.JSArray_methods.add$1(result, "well"); - C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + result.push("is_main"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_MtR)); } return result; }, - serialize$2: function(serializers, object) { - return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { - var key, value, t1, - result = new T.VendorFieldsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (; iterator.moveNext$0();) { - key = H._asStringS(iterator.get$current(iterator)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, value, t7, t8, t9, t10, + result = new A.SelectionRopeBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.nullable_Point_double, t2 = type$.BuiltList_nullable_Object, t3 = type$.Point_double, t4 = type$.List_Point_double, t5 = type$.ListBuilder_Point_double; iterator.moveNext$0();) { + t6 = iterator.get$current(iterator); + t6.toString; + A._asStringS(t6); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { - case "scale": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_vendor_fields$_$this()._scale = t1; + switch (t6) { + case "toggle": + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t6.toString; + A._asBoolS(t6); + result.get$_selection_rope$_$this()._toggle = t6; break; - case "purification": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_vendor_fields$_$this()._purification = t1; + case "points": + t6 = result.get$_selection_rope$_$this(); + t7 = t6._points; + if (t7 == null) { + t7 = new A.ListBuilder(t5); + t7.set$__ListBuilder__list_A(t4._as(A.List_List$from(B.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_points(t7); + t6 = t7; + } else + t6 = t7; + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_cGo); + t7.toString; + t2._as(t7); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list_A(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list_A(t10._as(A.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } break; - case "plate": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_vendor_fields$_$this()._plate = t1; + case "current_point": + t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_laS))); + result.get$_selection_rope$_$this().set$_current_point(t6); break; - case "well": - t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); - result.get$_vendor_fields$_$this()._well = t1; + case "is_main": + t6 = A._asBoolQ(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + result.get$_selection_rope$_$this()._is_main = t6; break; } } - return result.build$0(); + return result._selection_rope$_build$0(); }, - deserialize$2: function(serializers, serialized) { - return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, - get$types: function() { - return C.List_zLk; + get$types() { + return B.List_VQM; }, - get$wireName: function() { - return "VendorFields"; + get$wireName() { + return "SelectionRope"; + } + }; + A._$LineSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.Line._as(object); + return ["p1", serializers.serialize$2$specifiedType(object.p1, B.FullType_laS), "p2", serializers.serialize$2$specifiedType(object.p2, B.FullType_laS)]; + }, + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, $$v, + result = new A.LineBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Point_double, t2 = type$.nullable_Point_double; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "p1": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + $$v = result._selection_rope$_$v; + if ($$v != null) { + result.set$_p1($$v.p1); + result.set$_p2($$v.p2); + result._selection_rope$_$v = null; + } + result.set$_p1(t3); + break; + case "p2": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3.toString; + t3 = t2._as(t1._as(t3)); + $$v = result._selection_rope$_$v; + if ($$v != null) { + result.set$_p1($$v.p1); + result.set$_p2($$v.p2); + result._selection_rope$_$v = null; + } + result.set$_p2(t3); + break; + } + } + return result._selection_rope$_build$0(); + }, + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Cu4; + }, + get$wireName() { + return "Line"; } }; - T._$VendorFields.prototype = { - $eq: function(_, other) { + A._$SelectionRope.prototype = { + get$lines(_) { + var _this = this, + t1 = _this.__lines; + if (t1 == null) { + t1 = A.SelectionRope.prototype.get$lines.call(_this, _this); + _this.set$__lines(t1); + } + return t1; + }, + rebuild$1(updates) { + var t1; + type$.void_Function_SelectionRopeBuilder._as(updates); + t1 = new A.SelectionRopeBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.SelectionRope); + t1._selection_rope$_$v = this; + type$.nullable_void_Function_SelectionRopeBuilder._as(updates).call$1(t1); + return t1._selection_rope$_build$0(); + }, + $eq(_, other) { var _this = this; if (other == null) return false; if (other === _this) return true; - return other instanceof T.VendorFields && _this.scale === other.scale && _this.purification === other.purification && _this.plate == other.plate && _this.well == other.well && J.$eq$(_this.unused_fields, other.unused_fields); + return other instanceof A.SelectionRope && _this.toggle === other.toggle && J.$eq$(_this.points, other.points) && J.$eq$(_this.current_point, other.current_point) && _this.is_main == other.is_main; }, - get$hashCode: function(_) { - var _this = this, - t1 = _this._vendor_fields$__hashCode; - return t1 == null ? _this._vendor_fields$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.scale)), C.JSString_methods.get$hashCode(_this.purification)), J.get$hashCode$(_this.plate)), J.get$hashCode$(_this.well)), J.get$hashCode$(_this.unused_fields))) : t1; + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._selection_rope$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.toggle)), J.get$hashCode$(_this.points)), J.get$hashCode$(_this.current_point)), J.get$hashCode$(_this.is_main))); + t1 = _this._selection_rope$__hashCode; + if (t1 == null) { + _this._selection_rope$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFields"), + t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRope"), t2 = J.getInterceptor$ax(t1); - t2.add$2(t1, "scale", _this.scale); - t2.add$2(t1, "purification", _this.purification); - t2.add$2(t1, "plate", _this.plate); - t2.add$2(t1, "well", _this.well); - t2.add$2(t1, "unused_fields", _this.unused_fields); + t2.add$2(t1, "toggle", _this.toggle); + t2.add$2(t1, "points", _this.points); + t2.add$2(t1, "current_point", _this.current_point); + t2.add$2(t1, "is_main", _this.is_main); return t2.toString$0(t1); + }, + set$__lines(__lines) { + this.__lines = type$.nullable_BuiltList_Line._as(__lines); + }, + set$__lines_without_last(__lines_without_last) { + this.__lines_without_last = type$.nullable_BuiltList_Line._as(__lines_without_last); + }, + set$__lines_without_first(__lines_without_first) { + this.__lines_without_first = type$.nullable_BuiltList_Line._as(__lines_without_first); } }; - T.VendorFieldsBuilder.prototype = { - get$unused_fields: function() { - var t1 = this.get$_vendor_fields$_$this(), - t2 = t1._vendor_fields$_unused_fields; + A.SelectionRopeBuilder.prototype = { + get$points(_) { + var t1 = this.get$_selection_rope$_$this(), + t2 = t1._points; if (t2 == null) { - t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); - t1.set$_vendor_fields$_unused_fields(t2); + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Point_double); + t1.set$_points(t2); t1 = t2; } else t1 = t2; return t1; }, - get$_vendor_fields$_$this: function() { - var t1, t2, _this = this, - $$v = _this._vendor_fields$_$v; + get$_selection_rope$_$this() { + var t1, _this = this, + $$v = _this._selection_rope$_$v; if ($$v != null) { - _this._scale = $$v.scale; - _this._purification = $$v.purification; - _this._plate = $$v.plate; - _this._well = $$v.well; - t1 = $$v.unused_fields; + _this._toggle = $$v.toggle; + t1 = $$v.points; t1.toString; - t2 = t1.$ti; - t2._eval$1("_BuiltMap<1,2>")._as(t1); - _this.set$_vendor_fields$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); - _this._vendor_fields$_$v = null; + _this.set$_points(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_current_point($$v.current_point); + _this._is_main = $$v.is_main; + _this._selection_rope$_$v = null; } return _this; }, - build$0: function() { - var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, - _s12_ = "VendorFields", + _selection_rope$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s13_ = "SelectionRope", _$result = null; try { - _$result0 = _this._vendor_fields$_$v; + _$result0 = _this._selection_rope$_$v; if (_$result0 == null) { - t1 = _this.get$_vendor_fields$_$this()._scale; - if (t1 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "scale")); - t2 = _this.get$_vendor_fields$_$this()._purification; - if (t2 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "purification")); - t3 = _this.get$_vendor_fields$_$this()._plate; - t4 = _this.get$_vendor_fields$_$this()._well; - t5 = _this.get$unused_fields().build$0(); - _$result0 = new T._$VendorFields(t1, t2, t3, t4, t5); - if (t5 == null) - H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "unused_fields")); + t1 = type$.bool; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_rope$_$this()._toggle, _s13_, "toggle", t1); + t3 = _this.get$points(_this).build$0(); + _$result0 = new A._$SelectionRope(t2, t3, _this.get$_selection_rope$_$this()._current_point, _this.get$_selection_rope$_$this()._is_main); + A.BuiltValueNullFieldError_checkNotNull(t2, _s13_, "toggle", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s13_, "points", type$.BuiltList_Point_double); } _$result = _$result0; } catch (exception) { - H.unwrapException(exception); - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "unused_fields"; - _this.get$unused_fields().build$0(); + _$failedField._value = "points"; + _this.get$points(_this).build$0(); } catch (exception) { - e = H.unwrapException(exception); - t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_VendorFields._as(_$result); - if (t1 == null) - H.throwExpression(P.ArgumentError$notNull("other")); - _this._vendor_fields$_$v = t1; + t1 = type$.SelectionRope; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._selection_rope$_$v = t2; return _$result; }, - set$_vendor_fields$_unused_fields: function(_unused_fields) { - this._vendor_fields$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); - } - }; - T._VendorFields_Object_BuiltJsonSerializable.prototype = {}; - T._VendorFields_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; - E.ColorCycler.prototype = { - next$0: function(_) { - var next_color, - t1 = $.$get$ColorCycler_colors(), - t2 = this.idx; - if (t2 >= 13) - return H.ioore(t1, t2); - next_color = t1[t2]; - this.idx = (t2 + 1) % 13; - return next_color; + set$_points(_points) { + this._points = type$.nullable_ListBuilder_Point_double._as(_points); + }, + set$_current_point(_current_point) { + this._current_point = type$.nullable_Point_double._as(_current_point); } }; - E.are_all_close_closure.prototype = { - call$1: function(pair) { - var t1, t2; - type$.legacy_List_legacy_double._as(pair); - t1 = J.getInterceptor$asx(pair); - t2 = t1.$index(pair, 0); - t1 = t1.$index(pair, 1); - if (typeof t2 !== "number") - return t2.$sub(); - if (typeof t1 !== "number") - return H.iae(t1); - return Math.abs(t2 - t1) < this.epsilon; + A._$Line.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.Line && this.p1.$eq(0, other.p1) && this.p2.$eq(0, other.p2); }, - $signature: 396 - }; - E.get_text_file_content_closure.prototype = { - call$1: function($content) { - return H._asStringS($content); + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._selection_rope$__hashCode; + if (t1 != null) + return t1; + t1 = _this.p1; + t2 = _this.p2; + _$hash = A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y), 0)), A.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y), 0))); + t2 = _this._selection_rope$__hashCode; + if (t2 == null) { + _this._selection_rope$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - $signature: 27 + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Line"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "p1", this.p1); + t2.add$2(t1, "p2", this.p2); + return t2.toString$0(t1); + } }; - E.get_binary_file_content_closure.prototype = { - call$1: function(request) { - return type$.legacy_FutureOr_legacy_ByteBuffer._as(W._convertNativeToDart_XHR_Response(type$.legacy_HttpRequest._as(request).response)); + A.LineBuilder.prototype = { + get$_selection_rope$_$this() { + var _this = this, + $$v = _this._selection_rope$_$v; + if ($$v != null) { + _this.set$_p1($$v.p1); + _this.set$_p2($$v.p2); + _this._selection_rope$_$v = null; + } + return _this; }, - $signature: 397 - }; - E.dialog_closure.prototype = { - call$1: function(b) { - var t1 = type$.legacy_void_Function_legacy_List_legacy_DialogItem._as(new E.dialog__closure(this.completer)); - b.get$_dialog$_$this().set$_on_submit(t1); - return b; + _selection_rope$_build$0() { + var t1, t2, t3, _this = this, _s4_ = "Line", + _$result = _this._selection_rope$_$v; + if (_$result == null) { + t1 = type$.Point_double; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_rope$_$this()._p1, _s4_, "p1", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_rope$_$this()._p2, _s4_, "p2", t1); + _$result = new A._$Line(t2, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s4_, "p1", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s4_, "p2", t1); + } + A.ArgumentError_checkNotNull(_$result, "other", type$.Line); + return _this._selection_rope$_$v = _$result; }, - $signature: 127 - }; - E.dialog__closure.prototype = { - call$1: function(items) { - this.completer.complete$1(0, type$.legacy_List_legacy_DialogItem._as(items)); + set$_p1(_p1) { + this._p1 = type$.nullable_Point_double._as(_p1); }, - $signature: 398 - }; - E.Version.prototype = {}; - E.HexGridCoordinateSystem.prototype = { - toString$0: function(_) { - return this._util$_name; + set$_p2(_p2) { + this._p2 = type$.nullable_Point_double._as(_p2); } }; - E.Pan.prototype = {}; - E.BlobType.prototype = { - toString$0: function(_) { - return this._util$_name; - } - }; - E.copy_svg_as_png_closure.prototype = { - call$1: function($event) { - return this.$call$body$copy_svg_as_png_closure(type$.legacy_Event._as($event)); + A._Line_Object_BuiltJsonSerializable.prototype = {}; + A._SelectionRope_Object_BuiltJsonSerializable.prototype = {}; + A.Strand.prototype = { + initialize$0(_) { + var t1, t2, t3, second_last_idx, _this = this, + strand = _this._rebuild_substrands_with_new_fields_based_on_strand$1(_this._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(_this)); + _this.check_loopout_not_singleton$0(); + _this.check_two_consecutive_loopouts$0(); + _this.check_loopouts_length$0(); + _this.check_at_least_one_domain$0(); + _this.check_only_at_ends$0(); + t1 = _this.substrands; + t2 = t1._list; + t3 = t2.length; + if (0 >= t3) + return A.ioore(t2, 0); + if (t2[0] instanceof A.Extension) { + if (1 >= t3) + return A.ioore(t2, 1); + if (t2[1] instanceof A.Loopout) + A.throwExpression(A.StrandError$(_this, string$.cannothf + A.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + A.S(t1.$index(0, 1)))); + } + if (B.JSArray_methods.get$last(t2) instanceof A.Extension) { + t3 = t2.length; + second_last_idx = t3 - 2; + if (!(second_last_idx >= 0)) + return A.ioore(t2, second_last_idx); + if (t2[second_last_idx] instanceof A.Loopout) + A.throwExpression(A.StrandError$(_this, string$.cannothl + A.S(t1.get$last(t1)) + string$.x0ax20and_ + A.S(t1.$index(0, second_last_idx)))); + } + return strand; }, - $call$body$copy_svg_as_png_closure: function($event) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.Null), - $async$returnValue, $async$self = this, canvasCtx, imgData, e, canvas, t1, t2; - var $async$call$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - e = document.createElement("canvas"); - canvas = e; - t1 = $async$self.svg_element; - t2 = t1.viewBox.baseVal.width; - if (typeof t2 !== "number") { - $async$returnValue = t2.$mul(); - // goto return - $async$goto = 1; - break; - } - J.set$width$x(canvas, H._asIntS(t2 * 2)); - t1 = t1.viewBox.baseVal.height; - if (typeof t1 !== "number") { - $async$returnValue = t1.$mul(); - // goto return - $async$goto = 1; - break; - } - J.set$height$x(canvas, H._asIntS(t1 * 2)); - canvasCtx = canvas.getContext("2d"); - t1 = $async$self.svgImage; - J.drawImage$3$x(canvasCtx, t1, 0, 0); - $async$goto = 3; - return P._asyncAwait(J.toBlob$1$x(canvas, "image/png"), $async$call$1); - case 3: - // returning from await. - imgData = $async$result; - self.clipboard_write("image/png", imgData); - C.ImageElement_methods.remove$0(t1); - (self.URL || self.webkitURL).revokeObjectURL($async$self.svgUrl); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$call$1, $async$completer); - }, - $signature: 399 - }; - E.wc_closure.prototype = { - call$1: function(base) { - return E.wc_base(H._asStringS(base)); + _rebuild_substrands_with_new_fields_based_on_strand$1(strand) { + var substrands_new, t2, t3, t4, idx, is_5p, t5, new_ss, + t1 = strand.substrands; + t1.toString; + substrands_new = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + for (t1 = t1._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = substrands_new.$ti, t3 = t2._precomputed1, t4 = !t3._is(null), t2 = t2._eval$1("List<1>"), idx = 0, is_5p = true; t1.moveNext$0(); is_5p = false) { + t5 = t1.__interceptors$_current; + if (t5 instanceof A.Loopout) + new_ss = this._rebuild_loopout_with_new_fields_based_on_strand$3(t5, idx, strand); + else if (t5 instanceof A.Domain) + new_ss = this._rebuild_domain_with_new_fields_based_on_strand$3(t5, idx, strand); + else + new_ss = t5 instanceof A.Extension ? this._rebuild_extension_with_new_fields_based_on_strand$3(t5, is_5p, strand) : null; + t3._as(new_ss); + if (!$.$get$isSoundMode() && t4) + if (new_ss == null) + A.throwExpression(A.ArgumentError$("null element", null)); + if (substrands_new._listOwner != null) { + t5 = substrands_new.__ListBuilder__list_A; + t5 === $ && A.throwLateFieldNI("_list"); + substrands_new.set$__ListBuilder__list_A(t2._as(A.List_List$from(t5, true, t3))); + substrands_new.set$_listOwner(null); + } + t5 = substrands_new.__ListBuilder__list_A; + t5 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t5, idx, new_ss); + ++idx; + } + return strand.rebuild$1(new A.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(substrands_new)); }, - $signature: 27 - }; - E.svg_to_png_data_closure.prototype = { - call$1: function(_) { - var img_uri, _this = this; - _this.ctx.drawImage(_this.img, 0, 0); - (self.URL || self.webkitURL).revokeObjectURL(_this.url); - img_uri = C.CanvasElement_methods._toDataUrl$2(_this.canvas, "image/png", null); - $.app.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(img_uri, -_this.dna_sequence_png_horizontal_offset, -_this.dna_sequence_png_vertical_offset)); + _rebuild_domain_with_new_fields_based_on_strand$3(domain, idx, strand) { + return domain.rebuild$1(new A.Strand__rebuild_domain_with_new_fields_based_on_strand_closure(this, strand, idx === 0, idx === strand.substrands._list.length - 1)); }, - $signature: 55 - }; - E.async_alert_closure.prototype = { - call$0: function() { - return C.Window_methods.alert$1(window, this.msg); + _rebuild_loopout_with_new_fields_based_on_strand$3(loopout, idx, strand) { + return loopout.rebuild$1(new A.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(this, strand, idx)); }, - $signature: 0 - }; - E.average_angle_closure.prototype = { - call$2: function(a, b) { - H._asDoubleS(a); - H._asDoubleS(b); - if (typeof a !== "number") - return a.$add(); - if (typeof b !== "number") - return H.iae(b); - return a + b; + _rebuild_extension_with_new_fields_based_on_strand$3(ext, is_5p, strand) { + return ext.rebuild$1(new A.Strand__rebuild_extension_with_new_fields_based_on_strand_closure(this, strand, is_5p ? strand.get$first_domain() : strand.get$last_domain(), is_5p)); }, - $signature: 400 - }; - B.End3PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - B.End3PrimeComponent.prototype = { - render$0: function(_) { - var t2, t3, points, poly_props, _this = this, _null = null, - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.pos"); - if (t1 == null) - t1 = _null; - type$.legacy_Point_legacy_num._as(t1); - t2 = _this._lib_3p_end$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "End3PrimeProps.forward"); - if (!H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) { - t2 = t1.x; - if (typeof t2 !== "number") - return t2.$sub(); - t3 = H.S(t2 - 3.7) + ","; - t1 = t1.y; - t2 += 3.33; - t3 = t3 + H.S(t1) + " " + H.S(t2) + ","; - if (typeof t1 !== "number") - return t1.$add(); - points = t3 + H.S(t1 + 3.7) + " " + H.S(t2) + "," + H.S(t1 - 3.7); - } else { - t2 = t1.x; - if (typeof t2 !== "number") - return t2.$add(); - t3 = H.S(t2 + 3.7) + ","; - t1 = t1.y; - t2 -= 3.33; - t3 = t3 + H.S(t1) + " " + H.S(t2) + ","; - if (typeof t1 !== "number") - return t1.$add(); - points = t3 + H.S(t1 + 3.7) + " " + H.S(t2) + "," + H.S(t1 - 3.7); - } - poly_props = A.SvgProps$($.$get$polygon(), _null); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_down"); - if (t1 == null) - t1 = _null; - t2 = type$.legacy_void_Function_legacy_SyntheticPointerEvent; - poly_props.set$onPointerDown(t2._as(t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_up"); - poly_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_up"); - if (t1 == null) - t1 = _null; - t2 = type$.legacy_void_Function_legacy_SyntheticMouseEvent; - poly_props.set$onMouseUp(0, t2._as(t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_enter"); - poly_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_leave"); - poly_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_move"); - poly_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.classname"); - poly_props.set$className(0, H._asStringS(t1 == null ? _null : t1)); - poly_props.set$points(0, points); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.id"); - poly_props.set$id(0, H._asStringS(t1 == null ? _null : t1)); - t1 = _this._lib_3p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.color"); - if (t1 == null) - t1 = _null; - t1 = type$.legacy_Color._as(t1).toHexColor$0(); - poly_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); - t1 = _this._lib_3p_end$_cachedTypedProps; - if (t1.get$transform(t1) != null) { - t1 = _this._lib_3p_end$_cachedTypedProps; - poly_props.set$transform(0, t1.get$transform(t1)); + _rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand) { + var new_substrands, t1, t2, old_sequence, t3; + if (!this._at_least_one_substrand_has_dna_sequence$1(strand)) + return strand; + new_substrands = A._setArrayType([], type$.JSArray_Substrand); + for (t1 = strand.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (t2.get$dna_sequence() == null) + old_sequence = ""; + else { + t3 = t2.get$dna_sequence(); + t3.toString; + old_sequence = t3; + } + B.JSArray_methods.add$1(new_substrands, t2.set_dna_sequence$1(this._trim_or_pad_sequence_to_desired_length$2(old_sequence, t2.dna_length$0()))); } - return poly_props.call$0(); - } - }; - B.$End3PrimeComponentFactory_closure.prototype = { - call$0: function() { - return new B._$End3PrimeComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 401 - }; - B._$$End3PrimeProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$End3PrimeComponentFactory() : t1; - } - }; - B._$$End3PrimeProps$PlainMap.prototype = { - get$props: function(_) { - return this._lib_3p_end$_props; - } - }; - B._$$End3PrimeProps$JsMap.prototype = { - get$props: function(_) { - return this._lib_3p_end$_props; - } - }; - B._$End3PrimeComponent.prototype = { - get$props: function(_) { - return this._lib_3p_end$_cachedTypedProps; + return strand.rebuild$1(new A.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(new_substrands)); }, - set$props: function(_, value) { - this.props = value; - this._lib_3p_end$_cachedTypedProps = B._$$End3PrimeProps$JsMap$(R.getBackingMap(value)); + _at_least_one_substrand_has_dna_sequence$1(strand) { + var t1 = strand.substrands; + t1.toString; + return B.JSArray_methods.any$1(t1._list, t1.$ti._eval$1("bool(1)")._as(new A.Strand__at_least_one_substrand_has_dna_sequence_closure())); }, - get$displayName: function(_) { - return "End3Prime"; + check_at_least_one_domain$0() { + var t1, t2; + for (t1 = this.substrands, t2 = t1._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + if (t2.__interceptors$_current instanceof A.Domain) + return; + throw A.wrapException(A.StrandError$(this, "strand must have at least one domain; here are all substrands:\n" + t1.toString$0(0))); }, - get$$$defaultConsumedProps: function() { - return C.Map_04CA.get$values(C.Map_04CA); - } - }; - B.$End3PrimeProps.prototype = { - set$on_pointer_down: function(value) { - type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_down", value); + check_only_at_ends$0() { + var t1, t2, t3, i; + for (t1 = this.substrands, t2 = t1._list, t3 = t2.length - 1, i = 1; i < t3; ++i) + if (t2[i] instanceof A.Extension) + throw A.wrapException(A.StrandError$(this, "Extension must be at 5' or 3' end, but there is an Extension at index " + i + ": " + A.S(t1.$index(0, i)))); }, - set$on_pointer_up: function(value) { - type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_up", value); + check_not_adjacent_to_loopout$0() { + var second_last_idx, + t1 = this.substrands, + t2 = t1._list, + t3 = t2.length; + if (0 >= t3) + return A.ioore(t2, 0); + if (t2[0] instanceof A.Extension) { + if (1 >= t3) + return A.ioore(t2, 1); + if (t2[1] instanceof A.Loopout) + throw A.wrapException(A.StrandError$(this, string$.cannothf + A.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + A.S(t1.$index(0, 1)))); + } + if (B.JSArray_methods.get$last(t2) instanceof A.Extension) { + t3 = t2.length; + second_last_idx = t3 - 2; + if (!(second_last_idx >= 0)) + return A.ioore(t2, second_last_idx); + if (t2[second_last_idx] instanceof A.Loopout) + throw A.wrapException(A.StrandError$(this, string$.cannothl + A.S(t1.get$last(t1)) + string$.x0ax20and_ + A.S(t1.$index(0, second_last_idx)))); + } }, - set$on_mouse_up: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_up", value); + check_loopout_not_singleton$0() { + if (this.substrands._list.length === 1) + this.get$first_domain().toString; }, - set$on_mouse_move: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_move", value); + check_two_consecutive_loopouts$0() { + var t1, i, domain1, domain2; + for (t1 = this.substrands._list, i = 0; i < t1.length - 1;) { + domain1 = t1[i]; + ++i; + domain2 = t1[i]; + if (domain1.is_loopout$0() && domain2.is_loopout$0()) + throw A.wrapException(A.StrandError$(this, "cannot have two consecutive Loopouts in a strand")); + } }, - set$on_mouse_enter: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_enter", value); + check_loopouts_length$0() { + var t1, t2; + for (t1 = this.get$loopouts()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current.loopout_num_bases; + if (t2 <= 0) + throw A.wrapException(A.StrandError$(this, "loopout length must be positive but is " + t2)); + } }, - set$on_mouse_leave: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_leave", value); + get$dna_sequence() { + var t1, sequence, t2; + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), sequence = ""; t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (t2.get$dna_sequence() == null) + return null; + else { + t2 = t2.get$dna_sequence(); + t2.toString; + sequence += t2; + } + } + return sequence; }, - set$classname: function(value) { - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.classname", value); + vendor_dna_sequence$1$domain_delimiter(domain_delimiter) { + var ret_list, t1, substrand_dna_sequence, _this = this; + if (_this.get$dna_sequence() == null) + return null; + ret_list = A._setArrayType([], type$.JSArray_String); + t1 = _this.modification_5p; + if (t1 != null) + B.JSArray_methods.add$1(ret_list, t1.vendor_code); + for (t1 = _this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + substrand_dna_sequence = _this.vendor_dna_sequence_substrand$1(t1.__interceptors$_current); + if (substrand_dna_sequence == null) + return null; + B.JSArray_methods.add$1(ret_list, substrand_dna_sequence); + } + t1 = _this.modification_3p; + if (t1 != null) + B.JSArray_methods.add$1(ret_list, t1.vendor_code); + return B.JSArray_methods.join$1(ret_list, domain_delimiter); }, - set$pos: function(value) { - type$.legacy_Point_legacy_num._as(value); - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.pos", value); + vendor_dna_sequence_substrand$1(substrand) { + var t1, len_dna_prior, t2, new_seq_list, pos, base, strand_pos, vendor_code_with_delim, t3; + if (this.get$dna_sequence() == null) + return null; + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), len_dna_prior = 0; t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (J.$eq$(t2, substrand)) + break; + len_dna_prior += t2.dna_length$0(); + } + new_seq_list = A._setArrayType([], type$.JSArray_String); + for (t1 = this.modifications_int, pos = 0; pos < substrand.get$dna_sequence().length; ++pos) { + t2 = substrand.get$dna_sequence(); + if (!(pos < t2.length)) + return A.ioore(t2, pos); + base = t2[pos]; + B.JSArray_methods.add$1(new_seq_list, base); + strand_pos = pos + len_dna_prior; + t2 = t1._map$_map; + if (t2.containsKey$1(0, strand_pos)) { + t2 = t2.$index(0, strand_pos); + t2.toString; + vendor_code_with_delim = t2.vendor_code; + t3 = t2.allowed_bases; + if (t3 != null) { + t3 = t3._set; + if (!t3.contains$1(0, base)) + throw A.wrapException(A.IllegalDesignError$("internal modification " + t2.toString$0(0) + " can only replace one of these bases: " + t3.join$1(0, ",") + ", but the base at position " + strand_pos + " is " + base)); + B.JSArray_methods.set$last(new_seq_list, vendor_code_with_delim); + } else + B.JSArray_methods.add$1(new_seq_list, vendor_code_with_delim); + } + } + return B.JSArray_methods.join$1(new_seq_list, ""); }, - set$color: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.color", value); + get$has_5p_extension() { + return B.JSArray_methods.get$first(this.substrands._list) instanceof A.Extension; }, - set$forward: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.forward", value); + get$has_3p_extension() { + return B.JSArray_methods.get$last(this.substrands._list) instanceof A.Extension; }, - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.id", value); + get$address_5p() { + return this.get$first_domain().get$address_5p(); }, - get$transform: function(_) { - var t1 = J.$index$asx(this.get$props(this), "End3PrimeProps.transform"); - return H._asStringS(t1 == null ? null : t1); + get$address_3p() { + return this.get$last_domain().get$address_3p(); }, - set$transform: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End3PrimeProps.transform", value); - } - }; - B.__$$End3PrimeProps_UiProps_End3PrimeProps.prototype = {}; - B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps.prototype = {}; - A.End5PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - A.End5PrimeComponent.prototype = { - render$0: function(_) { - var t2, _this = this, _null = null, - rect_props = A.SvgProps$($.$get$rect(), _null), - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_down"); - if (t1 == null) - t1 = _null; - t2 = type$.legacy_void_Function_legacy_SyntheticPointerEvent; - rect_props.set$onPointerDown(t2._as(t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_up"); - rect_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_up"); - if (t1 == null) - t1 = _null; - t2 = type$.legacy_void_Function_legacy_SyntheticMouseEvent; - rect_props.set$onMouseUp(0, t2._as(t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_enter"); - rect_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_leave"); - rect_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_move"); - rect_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.classname"); - rect_props.set$className(0, H._asStringS(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps.get$pos().x; - if (typeof t1 !== "number") - return t1.$sub(); - rect_props.set$x(0, H.S(t1 - 3.5)); - t1 = _this._lib_5p_end$_cachedTypedProps.get$pos().y; - if (typeof t1 !== "number") - return t1.$sub(); - rect_props.set$y(0, H.S(t1 - 3.5)); - rect_props.set$width(0, "7px"); - rect_props.set$height(0, "7px"); - t1 = rect_props.props.jsObject; - t1.rx = F.DartValueWrapper_wrapIfNeeded("1.5px"); - t1.ry = F.DartValueWrapper_wrapIfNeeded("1.5px"); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.id"); - rect_props.set$id(0, H._asStringS(t1 == null ? _null : t1)); - t1 = _this._lib_5p_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "End5PrimeProps.color"); - if (t1 == null) - t1 = _null; - t1 = type$.legacy_Color._as(t1).toHexColor$0(); - rect_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); - t1 = _this._lib_5p_end$_cachedTypedProps; - if (t1.get$transform(t1) != null) { - t1 = _this._lib_5p_end$_cachedTypedProps; - rect_props.set$transform(0, t1.get$transform(t1)); + get$selectable_deletions() { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_SelectableDeletion); + for (t2 = this.get$domains()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3._domain$__selectable_deletions; + if (t4 == null) { + t4 = A.Domain.prototype.get$selectable_deletions.call(t3); + t3.set$_domain$__selectable_deletions(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + t1.push(t3.__interceptors$_current); } - return rect_props.call$0(); - } - }; - A.$End5PrimeComponentFactory_closure.prototype = { - call$0: function() { - return new A._$End5PrimeComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 402 - }; - A._$$End5PrimeProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$End5PrimeComponentFactory() : t1; - } - }; - A._$$End5PrimeProps$PlainMap.prototype = { - get$props: function(_) { - return this._lib_5p_end$_props; - } - }; - A._$$End5PrimeProps$JsMap.prototype = { - get$props: function(_) { - return this._lib_5p_end$_props; - } - }; - A._$End5PrimeComponent.prototype = { - get$props: function(_) { - return this._lib_5p_end$_cachedTypedProps; + return A._BuiltList$of(t1, type$.SelectableDeletion); }, - set$props: function(_, value) { - this.props = value; - this._lib_5p_end$_cachedTypedProps = A._$$End5PrimeProps$JsMap$(R.getBackingMap(value)); + get$selectable_insertions() { + var t2, t3, t4, + t1 = A._setArrayType([], type$.JSArray_SelectableInsertion); + for (t2 = this.get$domains()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + t4 = t3._domain$__selectable_insertions; + if (t4 == null) { + t4 = A.Domain.prototype.get$selectable_insertions.call(t3); + t3.set$_domain$__selectable_insertions(t4); + t3 = t4; + } else + t3 = t4; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) + t1.push(t3.__interceptors$_current); + } + return A._BuiltList$of(t1, type$.SelectableInsertion); }, - get$displayName: function(_) { - return "End5Prime"; + get$selectable_modification_5p() { + var t1 = this.modification_5p; + return t1 == null ? null : A._$SelectableModification5Prime$_(t1, this); }, - get$$$defaultConsumedProps: function() { - return C.Map_Wbc8n.get$values(C.Map_Wbc8n); - } - }; - A.$End5PrimeProps.prototype = { - set$on_pointer_down: function(value) { - type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_down", value); + get$selectable_modification_3p() { + var t1 = this.modification_3p; + return t1 == null ? null : A._$SelectableModification3Prime$_(t1, this); }, - set$on_pointer_up: function(value) { - type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_up", value); + get$selectable_modifications() { + var t1, t2, _this = this, + mods = A._setArrayType([], type$.JSArray_SelectableModification); + if (_this.get$selectable_modification_5p() != null) { + t1 = _this.get$selectable_modification_5p(); + t1.toString; + B.JSArray_methods.add$1(mods, t1); + } + if (_this.get$selectable_modification_3p() != null) { + t1 = _this.get$selectable_modification_3p(); + t1.toString; + B.JSArray_methods.add$1(mods, t1); + } + t1 = _this.get$selectable_modifications_int_by_dna_idx(); + t2 = type$.SelectableModification; + B.JSArray_methods.addAll$1(mods, A.List_List$from(t1.get$values(t1), true, t2)); + return A._BuiltList$of(mods, t2); + }, + get$selectable_modifications_int_by_dna_idx() { + var t3, i, substrand, t4, mods_on_ss, t5, t6, t7, _this = this, + t1 = type$.int, + t2 = type$.SelectableModificationInternal, + mods = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = _this.substrands._list, i = 0; i < t3.length; ++i) { + substrand = t3[i]; + if (substrand instanceof A.Domain) { + t4 = _this.__internal_modifications_on_substrand_absolute_idx; + if (t4 == null) { + t4 = A.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(_this); + _this.set$__internal_modifications_on_substrand_absolute_idx(t4); + } + t4 = t4._list; + if (!(i < t4.length)) + return A.ioore(t4, i); + mods_on_ss = t4[i]; + if (mods_on_ss._keys == null) { + t4 = mods_on_ss._map$_map; + mods_on_ss.set$_keys(new A.LinkedHashMapKeyIterable(t4, A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t4 = mods_on_ss._keys; + t5 = t4._map; + t4 = new A.LinkedHashMapKeyIterator(t5, t5._modifications, A._instanceType(t4)._eval$1("LinkedHashMapKeyIterator<1>")); + t4._cell = t5._first; + t5 = mods_on_ss._map$_map; + for (; t4.moveNext$0();) { + t6 = t4.__js_helper$_current; + t7 = t5.$index(0, t6); + t7.toString; + if (t6 == null) + A.throwExpression(A.BuiltValueNullFieldError$("SelectableModificationInternal", "dna_idx")); + mods.$indexSet(0, t6, new A._$SelectableModificationInternal(t7, _this, substrand, t6)); + } + } + } + return A.BuiltMap_BuiltMap$of(mods, t1, t2); }, - set$on_mouse_up: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_up", value); + get$internal_modifications_on_substrand_absolute_idx() { + var t5, t6, i, t7, ss_idx, t8, _this = this, + t1 = _this.substrands._list, + t2 = t1.length, + t3 = A.List_List$filled(t2, null, false, type$.nullable_Map_int_ModificationInternal), + t4 = A.List_List$filled(t2, false, false, type$.bool); + for (t5 = type$.JsLinkedHashMap_int_ModificationInternal, t6 = type$.Map_int_ModificationInternal, i = 0; i < t1.length; ++i) { + B.JSArray_methods.$indexSet(t3, i, t6._as(new A.JsLinkedHashMap(t5))); + B.JSArray_methods.$indexSet(t4, i, true); + } + for (t1 = _this.modifications_int, t5 = t1.get$keys(t1), t6 = t5._map, t5 = A.LinkedHashMapKeyIterator$(t6, t6._modifications, A._instanceType(t5)._precomputed1); t5.moveNext$0();) { + t6 = t5.__js_helper$_current; + t7 = t1._map$_map.$index(0, t6); + t7.toString; + ss_idx = _this.index_of_substrand$1(_this._substrand_of_dna_idx$1(t6).item1); + if (!(ss_idx < t2)) + return A.ioore(t4, ss_idx); + if (!t4[ss_idx]) + A.throwExpression(A.StateError$("Item at index " + ss_idx + " has not been initialized")); + if (!(ss_idx >= 0 && ss_idx < t2)) + return A.ioore(t3, ss_idx); + t8 = t3[ss_idx]; + t8.toString; + J.$indexSet$ax(t8, t6, t7); + } + t1 = A._setArrayType([], type$.JSArray_BuiltMap_int_ModificationInternal); + for (t2 = new A._FixedListIterator(new A.FixedList(t3, t4, type$.FixedList_Map_int_ModificationInternal), type$._FixedListIterator_Map_int_ModificationInternal), t3 = type$.int, t4 = type$.ModificationInternal; t2.moveNext$0();) + t1.push(A.BuiltMap_BuiltMap$of(t2.get$current(t2), t3, t4)); + return A._BuiltList$of(t1, type$.BuiltMap_int_ModificationInternal); }, - set$on_mouse_move: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_move", value); + index_of_substrand$1(ss) { + var t1, t2, i; + for (t1 = this.substrands._list, t2 = J.getInterceptor$(ss), i = 0; i < t1.length; ++i) + if (t2.$eq(ss, t1[i])) + return i; + throw A.wrapException(A.AssertionError$("ss = " + A.S(ss) + " is not a substrand on this strand: " + this.toString$0(0))); + }, + get$internal_modifications_on_substrand() { + var t1, t2, t3, t4, ss_and_idx, t5, t6, t7, t8, + mods = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_Substrand_and_Map_int_ModificationInternal); + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JsLinkedHashMap_int_ModificationInternal; t1.moveNext$0();) + mods.$indexSet(0, t1.__interceptors$_current, new A.JsLinkedHashMap(t2)); + for (t1 = this.modifications_int, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t1 = t1._map$_map; t2.moveNext$0();) { + t3 = t2.__js_helper$_current; + t4 = t1.$index(0, t3); + t4.toString; + ss_and_idx = this._substrand_of_dna_idx$1(t3); + t3 = mods.$index(0, ss_and_idx.item1); + t3.toString; + J.$indexSet$ax(t3, ss_and_idx.item2, t4); + } + t1 = type$.Substrand; + t2 = type$.BuiltMap_int_ModificationInternal; + t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = A.LinkedHashMapKeyIterator$(mods, mods._modifications, t1), t5 = type$.int, t6 = type$.ModificationInternal; t4.moveNext$0();) { + t7 = t4.__js_helper$_current; + t8 = mods.$index(0, t7); + t8.toString; + t3.$indexSet(0, t7, A.BuiltMap_BuiltMap$of(t8, t5, t6)); + } + return A.BuiltMap_BuiltMap$of(t3, t1, t2); }, - set$on_mouse_enter: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_enter", value); + _substrand_of_dna_idx$1(dna_idx) { + var t1, dna_idx_cur_ss_start, t2, dna_idx_cur_ss_end; + if (typeof dna_idx !== "number") + return dna_idx.$lt(); + if (dna_idx < 0) + throw A.wrapException(A.ArgumentError$("dna_idx cannot be negative but is " + dna_idx, null)); + if (dna_idx >= this.get$dna_length()) + throw A.wrapException(A.ArgumentError$("dna_idx cannot be greater than dna_length() but dna_idx = " + dna_idx + " and dna_length() = " + this.get$dna_length(), null)); + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), dna_idx_cur_ss_start = 0; t1.moveNext$0(); dna_idx_cur_ss_start = dna_idx_cur_ss_end) { + t2 = t1.__interceptors$_current; + dna_idx_cur_ss_end = dna_idx_cur_ss_start + t2.dna_length$0(); + if (dna_idx_cur_ss_start <= dna_idx && dna_idx < dna_idx_cur_ss_end) + return new A.Tuple2(t2, dna_idx - dna_idx_cur_ss_start, type$.Tuple2_Substrand_int); + } + throw A.wrapException(A.AssertionError$("should be unreachable")); }, - set$on_mouse_leave: function(value) { - type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_leave", value); + get$domains_on_helix() { + var t1, t2, t3, t4, domains_partially_built_map, t5, t6, + domains_map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_List_Domain); + for (t1 = this.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = type$.JSArray_Domain; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + t4 = t3.helix; + if (domains_map.containsKey$1(0, t4)) { + t4 = domains_map.$index(0, t4); + t4.toString; + J.add$1$ax(t4, t3); + } else + domains_map.$indexSet(0, t4, A._setArrayType([t3], t2)); + } + domains_partially_built_map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_of_int_and_BuiltList_Domain); + for (t1 = type$.int, t2 = A.LinkedHashMapKeyIterator$(domains_map, domains_map._modifications, t1), t3 = type$.Domain, t4 = type$._BuiltList_Domain; t2.moveNext$0();) { + t5 = t2.__js_helper$_current; + t6 = domains_map.$index(0, t5); + t6.toString; + t6 = new A._BuiltList(A.List_List$from(t6, false, t3), t4); + t6._maybeCheckForNull$0(); + domains_partially_built_map.$indexSet(0, t5, t6); + } + return A.BuiltMap_BuiltMap$of(domains_partially_built_map, t1, type$.BuiltList_Domain); + }, + get$linkers() { + var t1, t2, i, t3, t4, _this = this, + linkers = A._setArrayType([], type$.JSArray_Linker); + for (t1 = _this.substrands._list, t2 = _this.is_scaffold, i = 0; t3 = t1.length - 1, i < t3; ++i) + if (t1[i] instanceof A.Domain) { + t3 = i + 1; + t4 = t1[t3]; + if (t4 instanceof A.Domain) { + t4 = _this.__id; + B.JSArray_methods.add$1(linkers, A.Crossover_Crossover(i, t3, t2, t4 == null ? _this.__id = A.Strand.prototype.get$id.call(_this, _this) : t4)); + } else if (t4 instanceof A.Loopout) + B.JSArray_methods.add$1(linkers, t4); + } + if (_this.circular) + B.JSArray_methods.add$1(linkers, A.Crossover_Crossover(t3, 0, t2, _this.get$id(_this))); + return A._BuiltList$of(linkers, type$.Linker); }, - set$classname: function(value) { - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.classname", value); + get$crossovers() { + var t2, t3, t1 = []; + for (t2 = this.get$linkers()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (t3 instanceof A.Crossover) + t1.push(t3); + } + return A.BuiltList_BuiltList$from(t1, type$.Crossover); }, - get$pos: function() { - var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.pos"); - if (t1 == null) - t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + get$loopouts() { + var t2, t3, t1 = []; + for (t2 = this.get$linkers()._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (t3 instanceof A.Loopout) + t1.push(t3); + } + return A.BuiltList_BuiltList$from(t1, type$.Loopout); }, - set$pos: function(value) { - type$.legacy_Point_legacy_num._as(value); - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.pos", value); + get$extensions(_) { + var t1 = [], + t2 = this.substrands._list; + if (B.JSArray_methods.get$first(t2) instanceof A.Extension) + t1.push(B.JSArray_methods.get$first(t2)); + if (B.JSArray_methods.get$last(t2) instanceof A.Extension) + t1.push(B.JSArray_methods.get$last(t2)); + return A.BuiltList_BuiltList$from(t1, type$.Extension); }, - set$color: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.color", value); + get$select_mode() { + return B.SelectModeChoice_strand; }, - set$forward: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.forward", value); + get$id(_) { + var first_dom = this.get$first_domain(), + t1 = first_dom.helix, + t2 = first_dom.get$offset_5p(), + t3 = first_dom.forward ? "forward" : "reverse"; + return "strand-H" + t1 + "-" + t2 + "-" + t3; }, - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.id", value); + get$domains() { + var t2, t3, t4, t1 = []; + for (t2 = this.substrands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = type$.Domain; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (t4.is_domain$0()) + t1.push(t3._as(t4)); + } + return A._BuiltList$of(A.List_List$from(t1, true, t3), t3); }, - get$transform: function(_) { - var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.transform"); - return H._asStringS(t1 == null ? null : t1); + get$dna_length() { + var t1, num; + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), num = 0; t1.moveNext$0();) + num += t1.__interceptors$_current.dna_length$0(); + return num; }, - set$transform: function(_, value) { - J.$indexSet$ax(this.get$props(this), "End5PrimeProps.transform", value); - } - }; - A.__$$End5PrimeProps_UiProps_End5PrimeProps.prototype = {}; - A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps.prototype = {}; - U.DraggableComponent.prototype = { - toString$0: function(_) { - return this._design$_name; - } - }; - U.DesignViewComponent.prototype = { - handle_keyboard_mouse_events$0: function() { - var t3, _i, t4, end_select_mode, svg_elt, _this = this, - _s9_ = "mousemove", - _s9_0 = "mousedown", - t1 = document, - t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure()); - type$.nullable_void_Function._as(null); - W._EventStreamSubscription$(t1, "click", t2, false, type$.legacy_MouseEvent); - t2 = type$._ElementEventStreamImpl_legacy_MouseEvent; - t1 = t2._eval$1("~(1)?"); - t2 = t2._precomputed1; - W._EventStreamSubscription$(_this.side_view_svg, "mouseleave", t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure0(_this)), false, t2); - W._EventStreamSubscription$(_this.side_view_svg, _s9_, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure1(_this)), false, t2); - for (t3 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) - W._EventStreamSubscription$(t3[_i], _s9_0, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure2()), false, t2); - W._EventStreamSubscription$(_this.main_view_svg, _s9_, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure3(_this)), false, t2); - t3 = type$.nullable_void_Function_legacy_KeyboardEvent; - t4 = type$.legacy_KeyboardEvent; - W._EventStreamSubscription$(window, "keydown", t3._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure4(_this)), false, t4); - end_select_mode = new U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(_this); - W._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure5(end_select_mode)), false, type$.legacy_Event); - W._EventStreamSubscription$(window, "keyup", t3._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure6(end_select_mode)), false, t4); - for (t3 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { - svg_elt = t3[_i]; - W._EventStreamSubscription$(svg_elt, _s9_0, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure7(svg_elt === _this.main_view_svg, svg_elt)), false, t2); - W._EventStreamSubscription$(svg_elt, "mouseup", t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure8(svg_elt)), false, t2); - } - }, - handle_keyboard_shortcuts$2: function(key, ev) { - var _i, svg_elt, t2, _this = this, - _s11_ = "panzoomable", - _s22_ = "selection-box-drawable", - t1 = $.app.store; - if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); - } else - t1 = true; - if (t1) - t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; - else - t1 = false; - if (t1) { - _this.install_draggable$3(true, C.DraggableComponent_0, _this.main_view_svg); - _this.install_draggable$3(false, C.DraggableComponent_1, _this.side_view_svg); - for (t1 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { - svg_elt = t1[_i]; - new P.AttributeClassSet(svg_elt).remove$1(0, _s11_); - new P.AttributeClassSet(svg_elt).add$1(0, _s22_); - } - } else { - t1 = J.getInterceptor$x(ev); - if (!H.boolConversionCheck(t1.get$ctrlKey(ev)) && !H.boolConversionCheck(t1.get$metaKey(ev)) && !H.boolConversionCheck(t1.get$shiftKey(ev)) && !H.boolConversionCheck(t1.get$altKey(ev)) && J.contains$1$asx(C.Map_2Vy1w.get$keys(C.Map_2Vy1w), key)) - $.app.dispatch$1(U.EditModeToggle_EditModeToggle(C.Map_2Vy1w.$index(0, key))); - else { - if (key !== 46) { - t2 = $._operatingSystem; - if (t2 == null) { - $.OperatingSystem_navigator = new G._HtmlNavigator(); - t2 = $._operatingSystem = N.OperatingSystem_getCurrentOperatingSystem(); - } - t2.toString; - t2 = t2 === $.$get$mac() && key === 8; - } else - t2 = true; - if (t2) { - t1.preventDefault$0(ev); - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; - if (t1.get$isNotEmpty(t1)) - $.app.dispatch$1(U.DeleteAllSelected_DeleteAllSelected()); - else { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; - if (t1.get$isNotEmpty(t1)) { - t1 = $.app; - type$.legacy_void_Function_legacy_HelixRemoveAllSelectedBuilder._as(null); - t1.dispatch$1(new U.HelixRemoveAllSelectedBuilder().build$0()); - } - } - } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) - t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; - else - t1 = false; - if (t1) { - for (t1 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { - svg_elt = t1[_i]; - new P.AttributeClassSet(svg_elt).remove$1(0, _s11_); - new P.AttributeClassSet(svg_elt).add$1(0, _s22_); - } - self.set_allow_pan(false); - $.app.dispatch$1(U._$SelectionRopeCreate$_(key !== 16)); - } - } - } + to_json_serializable$1$suppress_indent(suppress_indent) { + var json_map0, t2, t3, mods_map, t4, _this = this, + json_map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_String_dynamic), + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + if (_this.circular) + json_map.$indexSet(0, "circular", true); + t1 = _this.color.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + if (_this.get$dna_sequence() != null) + json_map.$indexSet(0, "sequence", _this.get$dna_sequence()); + t1 = _this.vendor_fields; + if (t1 != null) { + json_map0 = A.LinkedHashMap_LinkedHashMap$_literal(["scale", t1.scale, "purification", t1.purification], type$.String, type$.dynamic); + t2 = t1.plate; + if (t2 != null) + json_map0.$indexSet(0, "plate", t2); + t2 = t1.well; + if (t2 != null) + json_map0.$indexSet(0, "well", t2); + t1 = t1.unused_fields; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + json_map0.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.$indexSet(0, "vendor_fields", suppress_indent ? new A.NoIndent(json_map0) : json_map0); } - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; - if (t1.get$isNotEmpty(t1)) { - t1 = J.getInterceptor$x(ev); - t1 = (H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 67; - } else - t1 = false; - if (t1) - U.copy_selected_strands(); - t1 = J.getInterceptor$x(ev); - if ((H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 86 && !H.boolConversionCheck(t1.get$shiftKey(ev))) - U.paste_strands_manually(); - else if ((H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && H.boolConversionCheck(t1.get$shiftKey(ev)) && key === 86) - U.paste_strands_auto(); - if (H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) - if (!H.boolConversionCheck(t1.get$altKey(ev))) - if (key === 65) { - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t2 = true; - } else - t2 = false; - else - t2 = false; - else - t2 = false; - if (t2) { - t1.preventDefault$0(ev); - $.app.dispatch$1(U.SelectAllSelectable_SelectAllSelectable(t1.get$shiftKey(ev))); - } else { - if (H.boolConversionCheck(t1.get$altKey(ev))) - if (H.boolConversionCheck(t1.get$shiftKey(ev))) - t2 = !(H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 65; - else - t2 = false; - else - t2 = false; - if (t2) { - t1.preventDefault$0(ev); - $.app.disable_keyboard_shortcuts_while$1$1(E.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); + if (_this.is_scaffold) + json_map.$indexSet(0, "is_scaffold", true); + t1 = []; + for (t2 = _this.substrands._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) + t1.push(t2.__interceptors$_current.to_json_serializable$1$suppress_indent(suppress_indent)); + json_map.$indexSet(0, "domains", t1); + t1 = _this.modification_5p; + if (t1 != null) + json_map.$indexSet(0, "5prime_modification", t1.vendor_code); + t1 = _this.modification_3p; + if (t1 != null) + json_map.$indexSet(0, "3prime_modification", t1.vendor_code); + t1 = _this.modifications_int; + t2 = t1._map$_map; + if (t2._length !== 0) { + mods_map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + for (t1 = t1.get$keys(t1), t3 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t1)._precomputed1); t1.moveNext$0();) { + t3 = t1.__js_helper$_current; + t4 = t2.$index(0, t3); + t4.toString; + mods_map.$indexSet(0, A.S(t3), t4.vendor_code); } + json_map.$indexSet(0, "internal_modifications", suppress_indent ? new A.NoIndent(mods_map) : mods_map); } - if (key == C.EditModeChoice_pencil.key_code$0()) - _this.side_view_update_position$1$mouse_pos(_this.side_view_mouse_position); + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = A._instanceType(t1); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return json_map; }, - uninstall_draggable$2: function(is_main_view, draggable_component) { - var t1 = this.draggables; - if (t1.$index(0, draggable_component) != null) { - t1.$index(0, draggable_component).destroy$0(); - t1.$indexSet(0, draggable_component, null); - document.body.classList.remove("dnd-drag-occurring"); - t1 = $.app; - if (t1.store_selection_box._state != null) - t1.dispatch$1(U.SelectionBoxRemove_SelectionBoxRemove(is_main_view)); + remove_dna_sequence$0() { + var t1, start_idx_ss, t2, end_idx_ss, + substrands_new = A._setArrayType([], type$.JSArray_Substrand); + for (t1 = this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { + t2 = t1.__interceptors$_current; + end_idx_ss = start_idx_ss + t2.dna_length$0(); + B.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(null)); } + return this.rebuild$1(new A.Strand_remove_dna_sequence_closure(substrands_new)); }, - install_draggable$3: function(is_main_view, draggable_component, view_svg) { - var t2, t3, draggable, _this = this, - t1 = _this.draggables; - if (t1.$index(0, draggable_component) != null) - return; - t2 = $.Draggable_idCounter; - $.Draggable_idCounter = t2 + 1; - t3 = H.setRuntimeTypeInfo([], type$.JSArray__EventManager); - draggable = new Z.Draggable(t2, t3); - t2 = H.setRuntimeTypeInfo([view_svg], type$.JSArray_Element); - draggable.set$__Draggable__elements(type$.List_Element._as(t2)); - t2 = window; - t2 = P._wrapToDart(P._convertToJS(t2)); - if ("PointerEvent" in t2._js$_jsObject) - C.JSArray_methods.add$1(t3, Z._PointerManager$(draggable)); - else { - if (W.TouchEvent_supported()) - C.JSArray_methods.add$1(t3, Z._TouchManager$(draggable)); - C.JSArray_methods.add$1(t3, Z._MouseManager$(draggable)); + set_dna_sequence$1(dna_sequence_new) { + var substrands_new, t1, start_idx_ss, t2, end_idx_ss, _this = this; + dna_sequence_new = _this._trim_or_pad_sequence_to_desired_length$2(dna_sequence_new, _this.get$dna_length()); + substrands_new = A._setArrayType([], type$.JSArray_Substrand); + for (t1 = _this.substrands._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { + t2 = t1.__interceptors$_current; + end_idx_ss = start_idx_ss + t2.dna_length$0(); + B.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(B.JSString_methods.substring$2(dna_sequence_new, start_idx_ss, end_idx_ss))); } - t1.$indexSet(0, draggable_component, draggable); - draggable.get$onDragStart(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure(_this, view_svg, is_main_view)); - draggable.get$onDrag(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure0(_this, view_svg, is_main_view)); - draggable.get$onDragEnd(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure1(_this, view_svg, is_main_view)); + return _this.rebuild$1(new A.Strand_set_dna_sequence_closure(substrands_new)); }, - drag_end$3: function(draggable_event, view_svg, is_main_view) { - var action_remove, toggle, action_adjust, - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - if ($.app.store_selection_box._state == null) - return; - action_remove = U.SelectionBoxRemove_SelectionBoxRemove(is_main_view); - t1 = $.app.store_selection_box._state; - toggle = t1.toggle; - action_adjust = is_main_view ? U._$SelectionsAdjustMainView$_(true, toggle) : U.HelixSelectionsAdjust_HelixSelectionsAdjust(toggle, t1); - $.app.dispatch$1(action_adjust); - $.app.dispatch$1(action_remove); - } else { - if (is_main_view) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); + domain_offset_to_strand_dna_idx$3(domain, offset, offset_closer_to_5p) { + var len_adjust, domain_str_idx, + t1 = domain.deletions; + if (B.JSArray_methods.contains$1(t1._list, offset)) + throw A.wrapException(A.ArgumentError$("offset " + offset + " illegally contains a deletion from " + t1.toString$0(0), null)); + len_adjust = this._net_ins_del_length_increase_from_5p_to$3(domain, offset, false); + domain_str_idx = domain.forward ? offset + len_adjust - domain.start : domain.end - 1 - (offset - len_adjust); + return domain_str_idx + this.get_seq_start_idx$1(domain); + }, + _net_ins_del_length_increase_from_5p_to$3(domain, offset_edge, offset_closer_to_5p) { + var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, insertion_map; + for (t1 = domain.deletions._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = domain.forward, t3 = domain.start, t4 = !t2, t5 = domain.end, length_increase = 0; t1.moveNext$0();) { + t6 = t1.__interceptors$_current; + if (t2) { + if (typeof t6 !== "number") + return A.iae(t6); + t7 = t3 <= t6 && t6 < offset_edge; } else - t1 = false; - if (t1) - $.app.dispatch$1(U._$HelixGroupMoveStop__$HelixGroupMoveStop()); + t7 = false; + if (!t7) + if (t4) { + if (typeof t6 !== "number") + return A.iae(t6); + t6 = offset_edge < t6 && t6 < t5; + } else + t6 = false; + else + t6 = true; + if (t6) + --length_increase; } - }, - render$1: function(_, state) { - var t1, t2, pre, escaped_error_message, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null, - _s1170_ = string$.x3cp_sca; - if (state.get$has_error()) { - t1 = _this.root_element; - t2 = _this.error_message_pane; - if (!J.contains$1$asx(t1.children, t2)) { - C.DivElement_methods._clearChildren$0(t1); - t1.appendChild(t2); - t1.appendChild(_this.dialog_form_container); - t1.appendChild(_this.dialog_loading_container); - t1.appendChild(_this.strand_color_picker_container); - } - t1 = _this.error_message_component; - t2 = state.error_message; - t1 = t1.root_element; - C.DivElement_methods._clearChildren$0(t1); - if (t2.length > 0) - if (t2 === _s1170_) - t1.appendChild(W.Element_Element$html(_s1170_, C.C__TrustedHtmlTreeSanitizer, _null)); - else { - pre = document.createElement("pre"); - escaped_error_message = new P.HtmlEscape().convert$1(t2); - C.PreElement_methods.set$text(pre, _null); - pre.appendChild(C.PreElement_methods.createFragment$3$treeSanitizer$validator(pre, escaped_error_message, _null, _null)); - t1.appendChild(pre); - } - t1 = $.$get$ErrorBoundary().call$0(); - t2 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t2, $.app.store); - t2 = t1.call$1(t2.call$1($.$get$ConnectedDesignDialogForm().call$0().call$0())); - $.$get$render().call$2(t2, _this.dialog_form_container); - t2 = $.$get$ErrorBoundary().call$0(); - t1 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t1, $.app.store); - t1 = t2.call$1(t1.call$1($.$get$ConnectedLoadingDialog().call$0().call$0())); - $.$get$render().call$2(t1, _this.dialog_loading_container); - } else { - t1 = _this.root_element; - t2 = _this.design_above_footer_pane; - if (!J.contains$1$asx(t1.children, t2)) { - C.DivElement_methods._clearChildren$0(t1); - t1.appendChild(t2); - t1.appendChild(_this.footer_separator); - t1.appendChild(_this.footer_element); - t1.appendChild(_this.dialog_form_container); - t1.appendChild(_this.dialog_loading_container); - t1.appendChild(_this.strand_color_picker_container); - t1.appendChild(_this.context_menu_container); + for (t1 = domain.insertions, t6 = t1._list, t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")); t6.moveNext$0();) { + t7 = t6.__interceptors$_current; + t8 = t7.offset; + if (!(t2 && t3 <= t8 && t8 < offset_edge)) + t8 = t4 && offset_edge < t8 && t8 < t5; + else + t8 = true; + if (t8) + length_increase += t7.length; + } + t2 = type$.int; + insertion_map = A.LinkedHashMap_LinkedHashMap$fromIterable(t1, new A.Strand__net_ins_del_length_increase_from_5p_to_closure(), new A.Strand__net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); + if (insertion_map.containsKey$1(0, offset_edge)) { + t1 = insertion_map.$index(0, offset_edge); + t1.toString; + length_increase += t1; + } + return length_increase; + }, + _trim_or_pad_sequence_to_desired_length$2(dna_sequence_new, desired_length) { + var seq_len = dna_sequence_new.length; + if (seq_len > desired_length) + dna_sequence_new = B.JSString_methods.substring$2(dna_sequence_new, 0, desired_length); + else if (seq_len < desired_length) + dna_sequence_new += B.JSString_methods.$mul("?", desired_length - seq_len); + return dna_sequence_new; + }, + get$first_domain() { + var t1, t2, i, t3; + for (t1 = this.substrands._list, t2 = t1.length, i = 0; i < t2; ++i) { + t3 = t1[i]; + if (t3 instanceof A.Domain) + return t3; + } + throw A.wrapException(A.AssertionError$("should not be reachable")); + }, + get$last_domain() { + var t1, i, t2; + for (t1 = this.substrands._list, i = t1.length - 1; i >= 0; --i) { + t2 = t1[i]; + if (t2 instanceof A.Domain) + return t2; + } + throw A.wrapException(A.AssertionError$("should not be reachable")); + }, + overlaps$1(other) { + var t1, t2, t3, t4; + for (t1 = this.get$domains()._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = other.__domains; + if (t3 == null) { + t3 = A.Strand.prototype.get$domains.call(other); + other.set$__domains(t3); } - t1 = $.$get$ErrorBoundary().call$0(); - t2 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t2, $.app.store); - t2 = t1.call$1(t2.call$1($.$get$ConnectedSideMenu().call$0().call$0())); - t1 = document; - t3 = t1.querySelector("#side-view-menu"); - $.$get$render().call$2(t2, t3); - t3 = $.$get$ErrorBoundary().call$0(); - t2 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t2, $.app.store); - t4 = $.$get$ReduxProvider().call$0(); - t5 = J.getInterceptor$z(t4); - t5.set$store(t4, $.app.store_selection_rope); - t5.set$context(t4, $.app.context_selection_rope); - t5 = $.$get$ReduxProvider().call$0(); - t6 = J.getInterceptor$z(t5); - t6.set$store(t5, $.app.store_selection_box); - t6.set$context(t5, $.app.context_selection_box); - t5 = t3.call$1(t2.call$1(t4.call$1(t5.call$1($.$get$ConnectedDesignSide().call$0().call$0())))); - t4 = t1.querySelector("#side-view-svg-viewport"); - $.$get$render().call$2(t5, t4); - t4 = X.design_main_error_boundary___$DesignMainErrorBoundary$closure().call$0(); - t5 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t5, $.app.store); - t2 = $.$get$ReduxProvider().call$0(); - t3 = J.getInterceptor$z(t2); - t3.set$store(t2, $.app.store_selection_rope); - t3.set$context(t2, $.app.context_selection_rope); - t3 = $.$get$ReduxProvider().call$0(); - t6 = J.getInterceptor$z(t3); - t6.set$store(t3, $.app.store_selection_box); - t6.set$context(t3, $.app.context_selection_box); - t6 = $.$get$ReduxProvider().call$0(); - t7 = J.getInterceptor$z(t6); - t7.set$store(t6, $.app.store_potential_crossover); - t7.set$context(t6, $.app.context_potential_crossover); - t7 = $.$get$ReduxProvider().call$0(); - t8 = J.getInterceptor$z(t7); - t8.set$store(t7, $.app.store_extensions_move); - t8.set$context(t7, $.app.context_extensions_move); - t8 = $.$get$ReduxProvider().call$0(); - t9 = J.getInterceptor$z(t8); - t9.set$store(t8, $.app.store_dna_ends_move); - t9.set$context(t8, $.app.context_dna_ends_move); - t9 = $.$get$ReduxProvider().call$0(); - t10 = J.getInterceptor$z(t9); - t10.set$store(t9, $.app.store_helix_group_move); - t10.set$context(t9, $.app.context_helix_group_move); - t9 = t4.call$1(t5.call$1(t2.call$1(t3.call$1(t6.call$1(t7.call$1(t8.call$1(t9.call$1($.$get$ConnectedDesignMain().call$0().call$0())))))))); - t8 = t1.querySelector("#main-view-svg-viewport"); - $.$get$render().call$2(t9, t8); - t8 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, $.app.store); - t9 = t8.call$1(t9.call$1($.$get$ConnectedDesignMainArrows().call$0().call$0())); - t8 = t1.querySelector("#main-arrows"); - $.$get$render().call$2(t9, t8); - t8 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, $.app.store); - t9 = t8.call$1(t9.call$1($.$get$ConnectedDesignSideArrows().call$0().call$0())); - t1 = t1.querySelector("#side-arrows"); - $.$get$render().call$2(t9, t1); - t1 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, $.app.store); - t9 = t1.call$1(t9.call$1($.$get$ConnectedDesignFooter().call$0().call$0())); - $.$get$render().call$2(t9, _this.footer_element); - t9 = $.$get$ErrorBoundary().call$0(); - t1 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t1, $.app.store); - t1 = t9.call$1(t1.call$1($.$get$ConnectedDesignContextMenu().call$0().call$0())); - $.$get$render().call$2(t1, _this.context_menu_container); - t1 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, $.app.store); - t9 = t1.call$1(t9.call$1($.$get$ConnectedDesignDialogForm().call$0().call$0())); - $.$get$render().call$2(t9, _this.dialog_form_container); - t9 = $.$get$ErrorBoundary().call$0(); - t1 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t1, $.app.store); - t1 = t9.call$1(t1.call$1($.$get$ConnectedLoadingDialog().call$0().call$0())); - $.$get$render().call$2(t1, _this.dialog_loading_container); - t1 = $.$get$ErrorBoundary().call$0(); - t9 = $.$get$ReduxProvider().call$0(); - J.set$store$z(t9, $.app.store); - t9 = t1.call$1(t9.call$1($.$get$ConnectedStrandOrSubstrandColorPicker().call$0().call$0())); - $.$get$render().call$2(t9, _this.strand_color_picker_container); - if (!_this.svg_panzoom_has_been_set_up) { - self.setup_svg_panzoom(P.allowInterop(E.util__svg_to_png_data$closure(), type$.legacy_void_Function), P.allowInterop(E.util__dispatch_set_zoom_threshold$closure(), type$.legacy_void_Function_legacy_bool), 0.5); - _this.svg_panzoom_has_been_set_up = true; + t3 = t3._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + for (; t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + if (t2.helix === t4.helix && t2.forward === !t4.forward && t2.compute_overlap$1(t4) != null) + return true; } } + return false; }, - side_view_update_position$2$event$mouse_pos: function($event, mouse_pos) { - var t1, displayed_group_name, displayed_grid, invert_y, geometry, svg_pos, t2, t3, t4, gp, action; - type$.legacy_Point_legacy_num._as(mouse_pos); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) { - t1 = $.app.store; - displayed_group_name = t1.get$state(t1).ui_state.storables.displayed_group_name; - t1 = $.app.store; - displayed_grid = J.$index$asx(t1.get$state(t1).design.groups._map$_map, displayed_group_name).grid; - if (displayed_grid !== C.Grid_none) { - t1 = $.app.store; - invert_y = t1.get$state(t1).ui_state.storables.invert_y; - t1 = $.app.store; - geometry = t1.get$state(t1).design.geometry; - svg_pos = E.transformed_svg_point(type$.legacy_SvgSvgElement._as(document.querySelector("#side-view-svg")), false, $event, mouse_pos); - t1 = svg_pos.x; - t2 = geometry.get$distance_between_helices_svg(); - if (typeof t1 !== "number") - return t1.$div(); - t3 = svg_pos.y; - t4 = geometry.get$distance_between_helices_svg(); - if (typeof t3 !== "number") - return t3.$div(); - gp = E.position_2d_to_grid_position_diameter_1_circles(displayed_grid, t1 / t2, t3 / t4, C.HexGridCoordinateSystem_2); - if (invert_y) - gp = D.GridPosition_GridPosition(-gp.h, -gp.v); - t1 = $.app.store; - if (!J.$eq$(t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor, gp)) - $.app.dispatch$1(U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate(gp)); - } else { - action = U._$MousePositionSideUpdate$_(E.transformed_svg_point(this.side_view_svg, false, $event, mouse_pos)); - $.app.dispatch$1(U.ThrottledActionNonFast_ThrottledActionNonFast(action, 0.016666666666666666)); - } - } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) - $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) - $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); + get_seq_start_idx$1(substrand) { + var t2, self_substrand_idx, self_seq_idx_start, + t1 = this.substrands; + t1.toString; + t2 = t1._list; + self_substrand_idx = B.JSArray_methods.indexOf$2(t2, t1.$ti._precomputed1._as(substrand), 0); + for (A.RangeError_checkValidRange(0, self_substrand_idx, t2.length), t1 = A.SubListIterable$(t2, 0, self_substrand_idx, A._arrayInstanceType(t2)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")), self_seq_idx_start = 0; t1.moveNext$0();) + self_seq_idx_start += t1.__internal$_current.dna_length$0(); + return self_seq_idx_start; + }, + dna_sequence_in$1(substrand) { + var start_idx, ss_dna_length, t1; + if (this.get$dna_sequence() == null) + return null; + else { + start_idx = this.get_seq_start_idx$1(substrand); + ss_dna_length = substrand.dna_length$0(); + t1 = this.get$dna_sequence(); + t1.toString; + return B.JSString_methods.substring$2(t1, start_idx, start_idx + ss_dna_length); } }, - side_view_update_position$1$mouse_pos: function(mouse_pos) { - return this.side_view_update_position$2$event$mouse_pos(null, mouse_pos); + get$dnaend_3p() { + var t1 = this.get$last_domain(); + return t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); }, - side_view_update_position$1$event: function($event) { - return this.side_view_update_position$2$event$mouse_pos($event, null); + get$dnaend_5p() { + var t1 = this.get$first_domain(); + return t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + }, + ligatable_ends_with$1(other) { + var first_domain_this, last_domain_other, _this = this, + last_domain_this = _this.get$last_domain(), + first_domain_other = other.get$first_domain(); + if (last_domain_this.forward === first_domain_other.forward && last_domain_this.helix === first_domain_other.helix && _this.get$dnaend_3p().offset == other.get$dnaend_5p().offset) + return new A.Tuple2(_this.get$dnaend_3p(), other.get$dnaend_5p(), type$.Tuple2_DNAEnd_DNAEnd); + else { + first_domain_this = _this.get$first_domain(); + last_domain_other = other.get$last_domain(); + if (first_domain_this.forward === last_domain_other.forward && first_domain_this.helix === last_domain_other.helix && _this.get$dnaend_5p().offset == other.get$dnaend_3p().offset) + return new A.Tuple2(_this.get$dnaend_5p(), other.get$dnaend_3p(), type$.Tuple2_DNAEnd_DNAEnd); + else + return null; + } }, - set$side_view_mouse_position: function(side_view_mouse_position) { - this.side_view_mouse_position = type$.legacy_Point_legacy_num._as(side_view_mouse_position); + vendor_export_name$0() { + var id, _this = this, + t1 = _this.name; + if (t1 != null) + return t1; + else { + id = "" + _this.get$first_domain().helix + "[" + _this.get$first_domain().get$offset_5p() + "]" + _this.get$last_domain().helix + "[" + _this.get$last_domain().get$offset_3p() + "]"; + return _this.is_scaffold ? "SCAF" + id + "}" : "ST" + id; + } }, - set$main_view_mouse_position: function(main_view_mouse_position) { - this.main_view_mouse_position = type$.legacy_Point_legacy_num._as(main_view_mouse_position); - } + $isSelectable: 1 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure.prototype = { - call$1: function($event) { - var context_menu_elt, strand_color_picker_elt, - target = type$.legacy_Element._as(W._convertNativeToDart_EventTarget(type$.legacy_MouseEvent._as($event).target)), - t1 = $.app.store; - if (t1.get$state(t1).ui_state.context_menu != null) { - context_menu_elt = document.querySelector("#context-menu"); - if (context_menu_elt != null && !H.boolConversionCheck(J.contains$1$asx(context_menu_elt, target))) - $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); + A.Strand_Strand_closure.prototype = { + call$1(b) { + var t2, _this = this, _s5_ = "other", + t1 = _this._box_0.color; + b.get$_strand$_$this()._strand$_color = t1; + b.get$_strand$_$this()._circular = _this.circular; + b.get$substrands().replace$1(0, _this.substrands); + t1 = _this.vendor_fields; + if (t1 == null) + t1 = null; + else { + t2 = new A.VendorFieldsBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.VendorFields); + t2._vendor_fields$_$v = t1; + t1 = t2; } - t1 = $.app.store; - if (t1.get$state(t1).ui_state.color_picker_strand != null) { - strand_color_picker_elt = document.querySelector("#strand-color-picker"); - if (strand_color_picker_elt != null && !H.boolConversionCheck(J.contains$1$asx(strand_color_picker_elt, target))) - $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + b.get$_strand$_$this()._vendor_fields = t1; + t1 = _this.modification_5p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification5Prime); + t2._modification$_$v = t1; + t1 = t2; + } + b.get$_strand$_$this()._modification_5p = t1; + t1 = _this.modification_3p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification3Prime); + t2._modification$_$v = t1; + t1 = t2; } + b.get$_strand$_$this()._modification_3p = t1; + b.get$modifications_int().replace$1(0, _this.modifications_int); + b.get$_strand$_$this()._is_scaffold = _this.is_scaffold; + b.get$_strand$_$this()._strand$_name = _this.name; + b.get$_strand$_$this()._label = _this.label; + t1 = type$.dynamic; + t1 = type$.nullable_MapBuilder_String_dynamic._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.String, type$.Object)); + b.get$_strand$_$this().set$_strand$_unused_fields(t1); + return b; }, - $signature: 40 + $signature: 29 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_MouseEvent._as(_); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) - $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) - $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); - return null; + A.Strand__finalizeBuilder_closure.prototype = { + call$1(b) { + b.get$_loopout$_$this()._prev_domain_idx = this.i - 1; + return b; }, - $signature: 136 + $signature: 28 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure1.prototype = { - call$1: function($event) { - var t1; - type$.legacy_MouseEvent._as($event); - t1 = this.$this; - t1.set$side_view_mouse_position(new P.Point($event.clientX, $event.clientY, type$.Point_num)); - t1.side_view_update_position$1$event($event); + A.Strand__finalizeBuilder_closure0.prototype = { + call$1(b) { + b.get$_domain$_$this()._domain$_strand_id = this.id; + return b; }, - $signature: 40 + $signature: 6 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure2.prototype = { - call$1: function($event) { - self.set_allow_pan(type$.legacy_SvgSvgElement._is(W._convertNativeToDart_EventTarget(type$.legacy_MouseEvent._as($event).target))); + A.Strand__finalizeBuilder_closure1.prototype = { + call$1(b) { + b.get$_loopout$_$this()._loopout$_strand_id = this.id; + return b; }, - $signature: 40 + $signature: 28 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure3.prototype = { - call$1: function($event) { - var t1, left_mouse_button_is_down, action, t2, displayed_group_name, group, helices_in_group, old_offset, t3, t4, svg_clicked_point_untransformed, range, min_offset, max_offset, closest_offset_unbounded, moves_store, msg, helix, geometry, offset, extensions_move_store, old_point, point, strands_move, group_names, can_paste, old_address, t5, visible_helices, address, domains_move, strand_creation, strand_creation_helix, svg_clicked_point, helix_svg_position, closest_point_in_helix_untransformed, updated_function_offset, _s2_ = ", "; - type$.legacy_MouseEvent._as($event); - t1 = $event.buttons; - if (typeof t1 !== "number") - return t1.$and(); - left_mouse_button_is_down = (t1 & 1) === 1; - t1 = this.$this; - t1.set$main_view_mouse_position(new P.Point($event.clientX, $event.clientY, type$.Point_num)); - if ($.app.store_potential_crossover._state != null) { - action = U._$PotentialCrossoverMove$_(E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg)); - $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); - } - t2 = $.app.store; - if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) { - t2 = $.app.store; - if (t2.get$state(t2).ui_state.selection_rope != null) - t2 = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey); - else - t2 = false; - } else - t2 = false; - if (t2) { - action = U._$SelectionRopeMouseMove$_(true, E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg)); - $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); - } - if (left_mouse_button_is_down) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.slice_bar_is_moving; - } else - t2 = false; - if (t2) { - t2 = $.app.store; - displayed_group_name = t2.get$state(t2).ui_state.storables.displayed_group_name; - t2 = $.app.store; - group = J.$index$asx(t2.get$state(t2).design.groups._map$_map, displayed_group_name); - t2 = $.app.store; - t2 = t2.get$state(t2).design.helices_in_group$1(displayed_group_name); - helices_in_group = t2.get$values(t2); - t2 = $.app.store; - old_offset = t2.get$state(t2).ui_state.storables.slice_bar_offset; - t2 = $.app.store; - t2 = t2.get$state(t2).design.geometry; - t3 = $.app.store; - t4 = J.getInterceptor$ax(helices_in_group); - t3 = J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t4.get$first(helices_in_group).idx).x; - svg_clicked_point_untransformed = group.transform_point_main_view$3$inverse(E.svg_position_of_mouse_click($event), t2, true); - range = E.find_helix_group_min_max(helices_in_group); - min_offset = range.x; - max_offset = range.y; - closest_offset_unbounded = t4.get$first(helices_in_group).svg_x_to_offset$2(svg_clicked_point_untransformed.x, t3); - if (typeof max_offset !== "number") - return max_offset.$sub(); - t3 = Math.min(max_offset - 1, Math.max(closest_offset_unbounded, H.checkNum(min_offset))); - if (old_offset !== t3) - $.app.dispatch$1(U.SliceBarOffsetSet_SliceBarOffsetSet(t3)); - } - if (left_mouse_button_is_down) { - t2 = $.app; - moves_store = t2.store_dna_ends_move._state; - if (moves_store != null) { - t2 = t2.store; - t2 = t2.get$state(t2).design; - t3 = moves_store.__ends_moving; - if (t3 == null) { - t3 = B.DNAEndsMove.prototype.get$ends_moving.call(moves_store); - moves_store.set$__ends_moving(t3); - } - t2 = t2.group_names_of_ends$1(t3)._set; - if (t2.get$length(t2) !== 1) { - t2 = t2.join$1(0, _s2_); - msg = "Cannot move or copy DNA ends unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t2; - C.Window_methods.alert$1(window, msg); - } else { - helix = moves_store.helix; - t2 = $.app.store; - t2 = t2.get$state(t2).design.groups; - t3 = helix.group; - group = J.$index$asx(t2._map$_map, t3); - t3 = $.app.store; - geometry = t3.get$state(t3).design.geometry; - t3 = $.app.store; - offset = E.get_address_on_helix($event, helix, group, geometry, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, helix.idx)).offset; - if (offset != moves_store.current_offset) - $.app.dispatch$1(U._$DNAEndsMoveAdjustOffset$_(offset)); - } - } - t2 = $.app; - extensions_move_store = t2.store_extensions_move._state; - if (extensions_move_store != null) { - t2 = t2.store; - t2 = t2.get$state(t2).design; - t3 = extensions_move_store._dna_extensions_move$__ends_moving; - if (t3 == null) { - t3 = K.DNAExtensionsMove.prototype.get$ends_moving.call(extensions_move_store); - extensions_move_store.set$_dna_extensions_move$__ends_moving(t3); - } - t2 = t2.group_names_of_ends$1(t3)._set; - if (t2.get$length(t2) !== 1) { - t1 = t2.join$1(0, _s2_); - msg = "Cannot move or copy DNA extensions unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t1; - C.Window_methods.alert$1(window, msg); - } else { - old_point = extensions_move_store.current_point; - point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg); - if (!point.$eq(0, old_point)) - $.app.dispatch$1(U._$DNAExtensionsMoveAdjustPosition$_(point)); - } - } - } - t1 = $.app.store; - strands_move = t1.get$state(t1).ui_state.strands_move; - if (strands_move != null) { - t1 = !strands_move.copy; - if (!t1 || left_mouse_button_is_down) { - if (t1) { - t1 = $.app.store; - group_names = t1.get$state(t1).design.group_names_of_strands$1(strands_move.strands_moving); - t1 = group_names == null; - if (!t1) { - t2 = group_names._set; - t2 = t2.get$length(t2) !== 1; - } else - t2 = false; - if (t2) { - msg = "Cannot move or copy strands unless they are all on the same helix group.\nThese strands occupy the following helix groups: " + H.S(t1 ? null : group_names._set.join$1(0, _s2_)); - C.Window_methods.alert$1(window, msg); - can_paste = false; - } else - can_paste = true; - } else - can_paste = true; - if (can_paste) { - old_address = strands_move.current_address; - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); - for (t2 = $.app.store, t2 = t2.get$state(t2).design.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = $.app.store; - t4 = t4.get$state(t4).ui_state.storables.side_selected_helix_idxs; - t5 = t3.idx; - if (t4._set.contains$1(0, t5)) - t1.push(t3); - } - visible_helices = t1; - } else { - t1 = $.app.store; - t1 = t1.get$state(t1).design.helices; - visible_helices = t1.get$values(t1); - } - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = $.app.store; - t2 = t2.get$state(t2).design.geometry; - t3 = $.app.store; - address = E.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); - if (!address.$eq(0, old_address)) - $.app.dispatch$1(U._$StrandsMoveAdjustAddress$_(address)); - } - } - } - t1 = $.app.store; - domains_move = t1.get$state(t1).ui_state.domains_move; - if (domains_move != null) - if (left_mouse_button_is_down) { - t1 = $.app.store; - t1 = t1.get$state(t1).design.group_names_of_domains$1(domains_move.domains_moving)._set; - if (t1.get$length(t1) !== 1) { - t1 = t1.join$1(0, _s2_); - msg = "Cannot move or copy domains unless they are all on the same helix group.\nThese domains occupy the following helix groups: " + t1; - C.Window_methods.alert$1(window, msg); - } else { - old_address = domains_move.current_address; - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); - for (t2 = $.app.store, t2 = t2.get$state(t2).design.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4 = $.app.store; - t4 = t4.get$state(t4).ui_state.storables.side_selected_helix_idxs; - t5 = t3.idx; - if (t4._set.contains$1(0, t5)) - t1.push(t3); - } - visible_helices = t1; - } else { - t1 = $.app.store; - t1 = t1.get$state(t1).design.helices; - visible_helices = t1.get$values(t1); - } - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = $.app.store; - t2 = t2.get$state(t2).design.geometry; - t3 = $.app.store; - address = E.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); - if (!address.$eq(0, old_address)) - $.app.dispatch$1(U._$DomainsMoveAdjustAddress$_(address)); - } - } - t1 = $.app.store; - strand_creation = t1.get$state(t1).ui_state.strand_creation; - if (strand_creation != null) { - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = strand_creation.helix; - t3 = t2.group; - group = J.$index$asx(t1._map$_map, t3); - t1 = $.app.store; - geometry = t1.get$state(t1).design.geometry; - t1 = $.app.store; - t1 = t1.get$state(t1).design.helices._map$_map; - t2 = t2.idx; - strand_creation_helix = J.$index$asx(t1, t2); - t1 = type$.legacy_String; - t4 = type$.legacy_HelixGroup; - t4 = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t3, group], t1, t4), t1, t4); - t1 = $.app.store; - t3 = type$.legacy_int; - t5 = type$.legacy_Point_legacy_num; - t5 = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t2, J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, t2)], t3, t5), t3, t5); - svg_clicked_point = E.svg_position_of_mouse_click($event); - t3 = strand_creation_helix.idx; - helix_svg_position = J.$index$asx(t5._map$_map, t3); - closest_point_in_helix_untransformed = J.$index$asx(t4._map$_map, strand_creation_helix.group).transform_point_main_view$3$inverse(svg_clicked_point, geometry, true); - offset = strand_creation_helix.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, helix_svg_position.x); - updated_function_offset = Z._$Address$_(strand_creation_helix.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, helix_svg_position.y), t3, offset); - $.app.dispatch$1(U._$StrandCreateAdjustOffset$_(updated_function_offset.offset)); - } + A.Strand__finalizeBuilder_closure2.prototype = { + call$1(b) { + b.get$_extension$_$this()._strand_id = this.id; + return b; }, - $signature: 40 + $signature: 16 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure4.prototype = { - call$1: function(ev) { - var t1, key; - type$.legacy_KeyboardEvent._as(ev); - t1 = J.getInterceptor$x(ev); - key = t1.get$which(ev); - if (!H.boolConversionCheck(t1.get$repeat(ev))) { - $.app.keys_pressed.add$1(0, key); - if (key === 27) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; - if (t1.get$isNotEmpty(t1)) - $.app.dispatch$1(U.SelectionsClear_SelectionsClear()); - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; - if (t1.get$isNotEmpty(t1)) - $.app.dispatch$1(U.HelixSelectionsClear_HelixSelectionsClear()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.potential_crossover_is_drawing) - $.app.dispatch$1(U._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.strands_move != null) - $.app.dispatch$1(U._$StrandsMoveStop__$StrandsMoveStop()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.domains_move != null) - $.app.dispatch$1(U._$DomainsMoveStop__$DomainsMoveStop()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.strand_creation != null) - $.app.dispatch$1(U._$StrandCreateStop__$StrandCreateStop()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.context_menu != null) - $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.dialog != null) - $.app.dispatch$1(U._$DialogHide__$DialogHide()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.selection_rope != null) - $.app.dispatch$1(new U._$SelectionRopeRemove()); - $.app.keyboard_shortcuts_enabled = true; - } else if ($.app.keyboard_shortcuts_enabled) - this.$this.handle_keyboard_shortcuts$2(key, ev); - } + A.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure.prototype = { + call$1(s) { + var t1 = type$.nullable_ListBuilder_Substrand._as(this.substrands_new); + s.get$_strand$_$this().set$_substrands(t1); + return s; }, - $signature: 54 + $signature: 1 }; - U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode.prototype = { - call$0: function() { - var _i, svg_elt, rope, toggle, action_adjust, - t1 = this.$this; - t1.uninstall_draggable$2(true, C.DraggableComponent_0); - t1.uninstall_draggable$2(false, C.DraggableComponent_1); - for (t1 = [t1.main_view_svg, t1.side_view_svg], _i = 0; _i < 2; ++_i) { - svg_elt = t1[_i]; - new P.AttributeClassSet(svg_elt).add$1(0, "panzoomable"); - new P.AttributeClassSet(svg_elt).remove$1(0, "selection-box-drawable"); - } - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) { - rope = $.app.store_selection_rope._state; - if (rope != null) { - toggle = rope.toggle; - if (rope.is_main === true) { - t1 = J.get$length$asx(rope.points._list); - if (typeof t1 !== "number") - return t1.$ge(); - t1 = t1 >= 3; - } else - t1 = false; - if (t1) - action_adjust = U._$SelectionsAdjustMainView$_(false, toggle); - else - action_adjust = null; - if (action_adjust != null) - $.app.dispatch$1(action_adjust); - $.app.dispatch$1(new U._$SelectionRopeRemove()); - } - } + A.Strand__rebuild_domain_with_new_fields_based_on_strand_closure.prototype = { + call$1(b) { + var _this = this, + t1 = _this.strand; + t1 = t1.get$id(t1); + b.get$_domain$_$this()._domain$_strand_id = t1; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + b.get$_domain$_$this()._domain$_is_scaffold = _this.$this.is_scaffold; + return b; }, - $signature: 12 + $signature: 6 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure5.prototype = { - call$1: function(_) { - return this.end_select_mode.call$0(); + A.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure.prototype = { + call$1(b) { + var t1; + b.get$_loopout$_$this()._loopout$_is_scaffold = this.$this.is_scaffold; + t1 = this.strand; + t1 = t1.get$id(t1); + b.get$_loopout$_$this()._loopout$_strand_id = t1; + b.get$_loopout$_$this()._prev_domain_idx = this.idx - 1; + return b; }, - $signature: 55 + $signature: 28 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure6.prototype = { - call$1: function(ev) { - var t1, - key = J.get$which$x(type$.legacy_KeyboardEvent._as(ev)); - $.app.keys_pressed.remove$1(0, key); - if (key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16) - this.end_select_mode.call$0(); - if (key === 72) { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) - $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) - $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); - } + A.Strand__rebuild_extension_with_new_fields_based_on_strand_closure.prototype = { + call$1(b) { + var t1, t2, _this = this; + b.get$_extension$_$this()._extension$_is_scaffold = _this.$this.is_scaffold; + t1 = _this.strand; + t1 = t1.get$id(t1); + b.get$_extension$_$this()._strand_id = t1; + t1 = b.get$adjacent_domain(); + t2 = _this.adjacent_domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + b.get$_extension$_$this()._is_5p = _this.is_5p; + return b; }, - $signature: 54 + $signature: 16 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure7.prototype = { - call$1: function($event) { - var left_click, t1, point; - type$.legacy_MouseEvent._as($event); - left_click = $event.button === 0; - t1 = $.app.store; - if (t1.get$state(t1).ui_state.selection_rope != null) - if (left_click) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t1 = false; - else - t1 = false; - if (t1) { - t1 = this.is_main_view; - point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.svg_elt); - $.app.dispatch$1(U._$SelectionRopeAddPoint$_(t1, point)); - } - if (left_click) - new P.AttributeClassSet(this.svg_elt).add$1(0, "dragging"); + A.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure.prototype = { + call$1(b) { + return b.get$substrands().replace$1(0, this.new_substrands); }, - $signature: 40 + $signature: 29 }; - U.DesignViewComponent_handle_keyboard_mouse_events_closure8.prototype = { - call$1: function($event) { - if (type$.legacy_MouseEvent._as($event).button === 0) - new P.AttributeClassSet(this.svg_elt).remove$1(0, "dragging"); + A.Strand__at_least_one_substrand_has_dna_sequence_closure.prototype = { + call$1(ss) { + return type$.Substrand._as(ss).get$dna_sequence() != null; }, - $signature: 40 + $signature: 113 }; - U.DesignViewComponent_install_draggable_closure.prototype = { - call$1: function(ev) { - var toggle, - t1 = this.is_main_view, - $event = type$.legacy_MouseEvent._as(type$.legacy_DraggableEvent._as(ev).originalEvent), - point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), - t2 = $.app.store; - if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey)) - toggle = true; - else - toggle = H.boolConversionCheck($event.shiftKey) ? false : null; - if (toggle != null) - $.app.dispatch$1(U.SelectionBoxCreate_SelectionBoxCreate(point, toggle, t1)); - } else { - if (t1) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); - } else - t1 = false; - if (t1) - $.app.dispatch$1(U._$HelixGroupMoveStart$_(point)); - } - return null; + A.Strand_remove_dna_sequence_closure.prototype = { + call$1(strand) { + strand.get$substrands().replace$1(0, this.substrands_new); + return strand; }, - $signature: 84 + $signature: 1 }; - U.DesignViewComponent_install_draggable_closure0.prototype = { - call$1: function(ev) { - var action, - t1 = this.is_main_view, - $event = type$.legacy_MouseEvent._as(type$.legacy_DraggableEvent._as(ev).originalEvent), - point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), - t2 = $.app.store; - if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey)) { - action = U.SelectionBoxSizeChange_SelectionBoxSizeChange(point, t1); - $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); - } - } else { - if (t1) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); - } else - t1 = false; - if (t1) - if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey)) { - action = U._$HelixGroupMoveAdjustTranslation$_(point); - $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); - } - } - return null; + A.Strand_set_dna_sequence_closure.prototype = { + call$1(strand) { + strand.get$substrands().replace$1(0, this.substrands_new); + return strand; }, - $signature: 84 + $signature: 1 }; - U.DesignViewComponent_install_draggable_closure1.prototype = { - call$1: function(ev) { - return this.$this.drag_end$3(type$.legacy_DraggableEvent._as(ev), this.view_svg, this.is_main_view); + A.Strand__net_ins_del_length_increase_from_5p_to_closure.prototype = { + call$1(e) { + return A._asIntS(J.get$offset$x(e)); }, - $signature: 84 + $signature: 45 }; - U.paste_strands_manually_closure.prototype = { - call$1: function($content) { - H._asStringS($content); - if ($content != null && $content.length !== 0) - $.app.dispatch$1(U.ManualPasteInitiate_ManualPasteInitiate($content)); + A.Strand__net_ins_del_length_increase_from_5p_to_closure0.prototype = { + call$1(e) { + return A._asIntS(J.get$length$asx(e)); }, - $signature: 138 + $signature: 45 }; - U.paste_strands_auto_closure.prototype = { - call$1: function($content) { - H._asStringS($content); - if ($content != null && $content.length !== 0) - $.app.dispatch$1(U.AutoPasteInitiate_AutoPasteInitiate($content)); + A.Strand_from_json_closure.prototype = { + call$1(b) { + b.get$_extension$_$this()._is_5p = this.is_5p; + return b; }, - $signature: 138 + $signature: 16 }; - S.ConnectedDesignContextMenu_closure.prototype = { - call$1: function(state) { - var t1, t2; - type$.legacy_AppState._as(state); - t1 = S.design_context_menu___$DesignContextMenu$closure().call$0(); - t2 = state.ui_state.context_menu; - t1.toString; - J.$indexSet$ax(J.get$props$x(t1), "DesignContextMenuProps.context_menu", t2); - return t1; + A.Strand_from_json_closure0.prototype = { + call$1(b) { + var t1 = b.get$adjacent_domain(), + t2 = this.adjacent_domain; + A.ArgumentError_checkNotNull(t2, "other", type$.Domain); + t1._domain$_$v = t2; + return b; }, - $signature: 407 + $signature: 16 }; - S.DesignContextMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - S.DesignContextMenuState.prototype = {$isMap: 1}; - S.DesignContextMenuComponent.prototype = { - get$initialState: function() { - var t2, - t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$width(0, 0); - t1.set$height(0, 0); - t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); - t1.get$state(t1).$indexSet(0, string$.DesignCM, t2); + A.Strand_from_json_closure1.prototype = { + call$1(b) { + var t1 = this.unused_fields; + type$.nullable_MapBuilder_String_dynamic._as(t1); + b.get$_strand$_$this().set$_strand$_unused_fields(t1); return t1; }, - componentDidUpdate$3: function(_, prev_state, __) { - var t2, _this = this, - t_prev_state = S._$$DesignContextMenuState__$$DesignContextMenuState(prev_state), - t1 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); - if (t1.get$current(t1) != null) { - t1 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); - t1 = C.JSNumber_methods.round$0(t1.get$current(t1).offsetWidth) !== t_prev_state.get$width(t_prev_state); - } else - t1 = false; - if (t1) { - t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); - t1.set$width(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); - t2 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); - t1.set$height(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); - _this.setState$1(0, t1); + $signature: 396 + }; + A._$StrandSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.Strand._as(object); + result = ["substrands", serializers.serialize$2$specifiedType(object.substrands, B.FullType_3HJ), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_MtR), "circular", serializers.serialize$2$specifiedType(object.circular, B.FullType_MtR), "modifications_int", serializers.serialize$2$specifiedType(object.modifications_int, B.FullType_d1y), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_uHx)]; + value = object.vendor_fields; + if (value != null) { + result.push("vendor_fields"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Unx)); } - }, - render$0: function(_) { - var left, $top, t1, t2, _this = this, - _s12_ = "context-menu"; - if (_this._design_context_menu$_cachedTypedProps.get$context_menu() == null) - return null; - left = H._asIntS(_this._design_context_menu$_cachedTypedProps.get$context_menu().position.x); - $top = H._asIntS(_this._design_context_menu$_cachedTypedProps.get$context_menu().position.y); - t1 = _this._design_context_menu$_cachedTypedState; - t1 = t1.get$width(t1); - if (typeof left !== "number") - return left.$add(); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = window.innerWidth; - if (typeof t2 !== "number") - return H.iae(t2); - if (left + t1 > t2) { - t1 = _this._design_context_menu$_cachedTypedState; - t1 = t1.get$width(t1); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = window.innerWidth; - if (typeof t2 !== "number") - return H.iae(t2); - left -= left + t1 - t2 + 20; + value = object.modification_5p; + if (value != null) { + result.push("modification_5p"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p)); } - t1 = _this._design_context_menu$_cachedTypedState; - t1 = t1.get$height(t1); - if (typeof $top !== "number") - return $top.$add(); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = window.innerHeight; - if (typeof t2 !== "number") - return H.iae(t2); - if ($top + t1 > t2) { - t1 = _this._design_context_menu$_cachedTypedState; - t1 = t1.get$height(t1); - if (typeof t1 !== "number") - return H.iae(t1); - t2 = window.innerHeight; - if (typeof t2 !== "number") - return H.iae(t2); - $top -= $top + t1 - t2 + 20; + value = object.modification_3p; + if (value != null) { + result.push("modification_3p"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p0)); } - t1 = A.DomProps$($.$get$div(), null); - t1.set$ref(0, _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref()); - t1.set$className(0, _s12_); - t1.set$id(0, _s12_); - t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_literal(["left", left, "top", $top], type$.legacy_String, type$.dynamic))); - return t1.call$1(S.context_menu_to_ul(_this._design_context_menu$_cachedTypedProps.get$context_menu())); - } - }; - S.DesignContextSubmenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - S.DesignContextSubmenuState.prototype = {$isMap: 1}; - S.DesignContextSubmenuComponent.prototype = { - get$initialState: function() { - var t2, - t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$width(0, 0); - t1.set$height(0, 0); - t1.set$left(0, 0); - t1.set$top(0, 0); - t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); - t1._design_context_menu$_state.jsObject[string$.DesignCS] = F.DartValueWrapper_wrapIfNeeded(t2); - return t1; - }, - componentDidMount$0: function() { - this.reset_submenu_bounding_box$0(); - }, - componentDidUpdate$3: function(prev_props, _, __) { - var t1, _this = this; - if (!S._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(prev_props).get$context_menu().position.$eq(0, _this._design_context_menu$_cachedTypedProps.get$context_menu().position)) { - t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$width(0, 0); - t1.set$height(0, 0); - _this.setState$1(0, t1); - } else { - t1 = _this._design_context_menu$_cachedTypedState; - if (t1.get$width(t1) === 0) - _this.reset_submenu_bounding_box$0(); + value = object.name; + if (value != null) { + result.push("name"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } + value = object.label; + if (value != null) { + result.push("label"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - reset_submenu_bounding_box$0: function() { - var _this = this, - t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})), - t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); - t1.set$width(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); - t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); - t1.set$height(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); - t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); - t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).left; - t2.toString; - t1.set$left(0, t2); - t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); - t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).top; - t2.toString; - t1.set$top(0, t2); - _this.setState$1(0, t1); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - render$0: function(_) { - var t5, t6, _this = this, _null = null, - t1 = type$.JSArray_legacy_String, - t2 = H.setRuntimeTypeInfo(["context-menu"], t1), - t3 = _this._design_context_menu$_cachedTypedState, - t4 = F.DartValueWrapper_unwrapIfNeeded(t3._design_context_menu$_state.jsObject["DesignContextSubmenuState.left"]); - t4 = H._asNumS(t4 == null ? _null : t4); - t3 = t3.get$width(t3); - if (typeof t4 !== "number") - return t4.$add(); - if (typeof t3 !== "number") - return H.iae(t3); - t5 = window.innerWidth; - if (typeof t5 !== "number") - return H.iae(t5); - t3 = t4 + t3 > t5 ? "left" : "right"; - t4 = _this._design_context_menu$_cachedTypedState._design_context_menu$_state.jsObject; - t5 = F.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.top"]); - t5 = H._asNumS(t5 == null ? _null : t5); - t4 = F.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.height"]); - t4 = H._asNumS(t4 == null ? _null : t4); - if (typeof t5 !== "number") - return t5.$add(); - if (typeof t4 !== "number") - return H.iae(t4); - t6 = window.innerHeight; - if (typeof t6 !== "number") - return H.iae(t6); - C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t3, t5 + t4 > t6 ? "top" : "bottom"], t1)); - t1 = A.DomProps$($.$get$div(), _null); - t1.set$ref(0, _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref()); - t1.set$className(0, C.JSArray_methods.join$1(t2, " ")); - t1.set$id(0, "context-menu"); - return t1.call$1(S.context_menu_to_ul(_this._design_context_menu$_cachedTypedProps.get$context_menu())); - } - }; - S.context_menu_to_ul_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); - this.item.on_click.call$0(); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, value, t11, t12, t13, t14, _null = null, + result = new A.StrandBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Color, t2 = type$.MapBuilder_int_ModificationInternal, t3 = type$.Modification3Prime, t4 = type$.Modification5Prime, t5 = type$.VendorFields, t6 = type$.BuiltList_nullable_Object, t7 = type$.Substrand, t8 = type$.List_Substrand, t9 = type$.ListBuilder_Substrand; iterator.moveNext$0();) { + t10 = iterator.get$current(iterator); + t10.toString; + A._asStringS(t10); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t10) { + case "substrands": + t10 = result.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new A.ListBuilder(t9); + t11.set$__ListBuilder__list_A(t8._as(A.List_List$from(B.List_empty, true, t7))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_3HJ); + t11.toString; + t6._as(t11); + t12 = t10.$ti; + t13 = t12._eval$1("_BuiltList<1>"); + t14 = t12._eval$1("List<1>"); + if (t13._is(t11)) { + t13._as(t11); + t10.set$__ListBuilder__list_A(t14._as(t11._list)); + t10.set$_listOwner(t11); + } else { + t10.set$__ListBuilder__list_A(t14._as(A.List_List$from(t11, true, t12._precomputed1))); + t10.set$_listOwner(_null); + } + break; + case "vendor_fields": + t10 = result.get$_strand$_$this(); + t11 = t10._vendor_fields; + t10 = t11 == null ? t10._vendor_fields = new A.VendorFieldsBuilder() : t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_Unx); + t11.toString; + t5._as(t11); + t10._vendor_fields$_$v = t11; + break; + case "is_scaffold": + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t10.toString; + A._asBoolS(t10); + result.get$_strand$_$this()._is_scaffold = t10; + break; + case "circular": + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t10.toString; + A._asBoolS(t10); + result.get$_strand$_$this()._circular = t10; + break; + case "modification_5p": + t10 = result.get$_strand$_$this(); + t11 = t10._modification_5p; + t10 = t11 == null ? t10._modification_5p = new A.Modification5PrimeBuilder() : t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p); + t11.toString; + t4._as(t11); + t10._modification$_$v = t11; + break; + case "modification_3p": + t10 = result.get$_strand$_$this(); + t11 = t10._modification_3p; + t10 = t11 == null ? t10._modification_3p = new A.Modification3PrimeBuilder() : t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_Q1p0); + t11.toString; + t3._as(t11); + t10._modification$_$v = t11; + break; + case "modifications_int": + t10 = result.get$_strand$_$this(); + t11 = t10._modifications_int; + if (t11 == null) { + t11 = new A.MapBuilder(_null, $, _null, t2); + t11.replace$1(0, B.Map_empty); + t10.set$_modifications_int(t11); + t10 = t11; + } else + t10 = t11; + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_d1y); + t11.toString; + t10.replace$1(0, t11); + break; + case "color": + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t10.toString; + t1._as(t10); + result.get$_strand$_$this()._strand$_color = t10; + break; + case "name": + t10 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_strand$_$this()._strand$_name = t10; + break; + case "label": + t10 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_strand$_$this()._label = t10; + break; + } + } + return result._strand$_build$0(); }, - $signature: 17 - }; - S.$DesignContextMenuComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignContextMenuComponent(null); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 409 - }; - S._$$DesignContextMenuProps.prototype = { - get$$$isClassGenerated: function() { - return true; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_CC0; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignContextMenuComponentFactory() : t1; - } - }; - S._$$DesignContextMenuProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_context_menu$_props; - } - }; - S._$$DesignContextMenuProps$JsMap.prototype = { - get$props: function(_) { - return this._design_context_menu$_props; - } - }; - S._$$DesignContextMenuState.prototype = { - get$$$isClassGenerated: function() { - return true; - } - }; - S._$$DesignContextMenuState$JsMap.prototype = { - get$state: function(_) { - return this._design_context_menu$_state; + get$wireName() { + return "Strand"; } }; - S._$DesignContextMenuComponent.prototype = { - get$props: function(_) { - return this._design_context_menu$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_context_menu$_cachedTypedProps = S._$$DesignContextMenuProps$JsMap$(R.getBackingMap(value)); - }, - get$state: function(_) { - return this._design_context_menu$_cachedTypedState; - }, - set$state: function(_, value) { - this.state = value; - this._design_context_menu$_cachedTypedState = S._$$DesignContextMenuState$JsMap$(value); - }, - typedStateFactoryJs$1: function(backingMap) { - return S._$$DesignContextMenuState$JsMap$(backingMap); + A._$Strand.prototype = { + get$dna_sequence() { + var _this = this; + if (!_this.___dna_sequence) { + _this.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(_this); + _this.___dna_sequence = true; + } + return _this.__dna_sequence; }, - get$displayName: function(_) { - return "DesignContextMenu"; + get$has_5p_extension() { + var t1 = this.__has_5p_extension; + return t1 == null ? this.__has_5p_extension = A.Strand.prototype.get$has_5p_extension.call(this) : t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_MC6L0.get$values(C.Map_MC6L0); - } - }; - S.$DesignContextSubmenuComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignContextSubmenuComponent(null); + get$has_3p_extension() { + var t1 = this.__has_3p_extension; + return t1 == null ? this.__has_3p_extension = A.Strand.prototype.get$has_3p_extension.call(this) : t1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 410 - }; - S._$$DesignContextSubmenuProps.prototype = { - get$$$isClassGenerated: function() { - return true; + get$address_5p() { + var t1 = this.__address_5p; + return t1 == null ? this.__address_5p = A.Strand.prototype.get$address_5p.call(this) : t1; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignContextSubmenuComponentFactory() : t1; - } - }; - S._$$DesignContextSubmenuProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_context_menu$_props; - } - }; - S._$$DesignContextSubmenuProps$JsMap.prototype = { - get$props: function(_) { - return this._design_context_menu$_props; - } - }; - S._$$DesignContextSubmenuState.prototype = { - get$$$isClassGenerated: function() { - return true; - } - }; - S._$$DesignContextSubmenuState$JsMap.prototype = { - get$state: function(_) { - return this._design_context_menu$_state; - } - }; - S._$DesignContextSubmenuComponent.prototype = { - get$props: function(_) { - return this._design_context_menu$_cachedTypedProps; + get$selectable_modification_5p() { + var _this = this; + if (!_this.___selectable_modification_5p) { + _this.__selectable_modification_5p = A.Strand.prototype.get$selectable_modification_5p.call(_this); + _this.___selectable_modification_5p = true; + } + return _this.__selectable_modification_5p; }, - set$props: function(_, value) { - this.props = value; - this._design_context_menu$_cachedTypedProps = S._$$DesignContextSubmenuProps$JsMap$(R.getBackingMap(value)); + get$selectable_modification_3p() { + var _this = this; + if (!_this.___selectable_modification_3p) { + _this.__selectable_modification_3p = A.Strand.prototype.get$selectable_modification_3p.call(_this); + _this.___selectable_modification_3p = true; + } + return _this.__selectable_modification_3p; }, - get$state: function(_) { - return this._design_context_menu$_cachedTypedState; + get$selectable_modifications_int_by_dna_idx() { + var t1 = this.__selectable_modifications_int_by_dna_idx; + if (t1 == null) { + t1 = A.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(this); + this.set$__selectable_modifications_int_by_dna_idx(t1); + } + return t1; }, - set$state: function(_, value) { - this.state = value; - this._design_context_menu$_cachedTypedState = S._$$DesignContextSubmenuState$JsMap$(value); + get$linkers() { + var t1 = this.__linkers; + if (t1 == null) { + t1 = A.Strand.prototype.get$linkers.call(this); + this.set$__linkers(t1); + } + return t1; }, - typedStateFactoryJs$1: function(backingMap) { - var _null = null, - t1 = new S._$$DesignContextSubmenuState$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); - t1.get$$$isClassGenerated(); - t1._design_context_menu$_state = backingMap; + get$crossovers() { + var t1 = this.__crossovers; + if (t1 == null) { + t1 = A.Strand.prototype.get$crossovers.call(this); + this.set$__crossovers(t1); + } return t1; }, - get$displayName: function(_) { - return "DesignContextSubmenu"; + get$loopouts() { + var t1 = this.__loopouts; + if (t1 == null) { + t1 = A.Strand.prototype.get$loopouts.call(this); + this.set$__loopouts(t1); + } + return t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_5a3n5.get$values(C.Map_5a3n5); - } - }; - S.$DesignContextMenuProps.prototype = { - get$context_menu: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignContextMenuProps.context_menu"); - if (t1 == null) - t1 = null; - return type$.legacy_ContextMenu._as(t1); - } - }; - S.$DesignContextSubmenuProps.prototype = { - get$context_menu: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignContextSubmenuProps.context_menu"); - if (t1 == null) - t1 = null; - return type$.legacy_ContextMenu._as(t1); - } - }; - S.$DesignContextMenuState.prototype = { - get$width: function(_) { - var t1 = this.get$state(this).$index(0, "DesignContextMenuState.width"); - return H._asIntS(t1 == null ? null : t1); + get$extensions(_) { + var _this = this, + t1 = _this.__extensions; + if (t1 == null) { + t1 = A.Strand.prototype.get$extensions.call(_this, _this); + _this.set$__extensions(t1); + } + return t1; }, - set$width: function(_, value) { - this.get$state(this).$indexSet(0, "DesignContextMenuState.width", value); + get$select_mode() { + var t1 = this.__select_mode; + return t1 == null ? this.__select_mode = A.Strand.prototype.get$select_mode.call(this) : t1; }, - get$height: function(_) { - var t1 = this.get$state(this).$index(0, "DesignContextMenuState.height"); - return H._asIntS(t1 == null ? null : t1); + get$id(_) { + var _this = this, + t1 = _this.__id; + return t1 == null ? _this.__id = A.Strand.prototype.get$id.call(_this, _this) : t1; }, - set$height: function(_, value) { - this.get$state(this).$indexSet(0, "DesignContextMenuState.height", value); + get$domains() { + var t1 = this.__domains; + if (t1 == null) { + t1 = A.Strand.prototype.get$domains.call(this); + this.set$__domains(t1); + } + return t1; }, - get$menu_HTML_element_ref: function() { - var t1 = this.get$state(this).$index(0, string$.DesignCM); - if (t1 == null) - t1 = null; - return type$.legacy_Ref_legacy_DivElement._as(t1); - } - }; - S.$DesignContextSubmenuState.prototype = { - get$width: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this._design_context_menu$_state.jsObject["DesignContextSubmenuState.width"]); - return H._asNumS(t1 == null ? null : t1); + get$dna_length() { + var t1 = this.__dna_length; + return t1 == null ? this.__dna_length = A.Strand.prototype.get$dna_length.call(this) : t1; }, - set$width: function(_, value) { - this._design_context_menu$_state.jsObject["DesignContextSubmenuState.width"] = F.DartValueWrapper_wrapIfNeeded(value); + get$first_domain() { + var t1 = this.__first_domain; + return t1 == null ? this.__first_domain = A.Strand.prototype.get$first_domain.call(this) : t1; }, - set$height: function(_, value) { - this._design_context_menu$_state.jsObject["DesignContextSubmenuState.height"] = F.DartValueWrapper_wrapIfNeeded(value); + get$last_domain() { + var t1 = this.__last_domain; + return t1 == null ? this.__last_domain = A.Strand.prototype.get$last_domain.call(this) : t1; }, - set$left: function(_, value) { - this._design_context_menu$_state.jsObject["DesignContextSubmenuState.left"] = F.DartValueWrapper_wrapIfNeeded(value); + get$dnaend_3p() { + var t1 = this.__dnaend_3p; + return t1 == null ? this.__dnaend_3p = A.Strand.prototype.get$dnaend_3p.call(this) : t1; }, - set$top: function(_, value) { - this._design_context_menu$_state.jsObject["DesignContextSubmenuState.top"] = F.DartValueWrapper_wrapIfNeeded(value); + get$dnaend_5p() { + var t1 = this.__dnaend_5p; + return t1 == null ? this.__dnaend_5p = A.Strand.prototype.get$dnaend_5p.call(this) : t1; }, - get$submenu_HTML_element_ref: function() { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this._design_context_menu$_state.jsObject[string$.DesignCS]); - if (t1 == null) - t1 = null; - return type$.legacy_Ref_legacy_DivElement._as(t1); - } - }; - S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; - S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; - S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps.prototype = {}; - S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps.prototype = {}; - S.__$$DesignContextMenuState_UiState_DesignContextMenuState.prototype = {}; - S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState.prototype = {}; - S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps.prototype = {}; - S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps.prototype = {}; - S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState.prototype = {}; - S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState.prototype = {}; - S.ConnectedDesignDialogForm_closure.prototype = { - call$1: function(state) { - var t1, t2; - type$.legacy_AppState._as(state); - t1 = S.design_dialog_form___$DesignDialogForm$closure().call$0(); - t2 = state.ui_state.dialog; - t1.toString; - J.$indexSet$ax(J.get$props$x(t1), "DesignDialogFormProps.dialog", t2); - return t1; + rebuild$1(updates) { + var t1; + type$.void_Function_StrandBuilder._as(updates); + t1 = new A.StrandBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.Strand); + t1._strand$_$v = this; + type$.nullable_void_Function_StrandBuilder._as(updates).call$1(t1); + return t1._strand$_build$0(); }, - $signature: 411 - }; - S.DesignDialogFormProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - S.DesignDialogFormState.prototype = {$isMap: 1}; - S.DesignDialogFormComponent.prototype = { - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$current_responses(null); - t1.set$dialog_type(null); - t1.set$saved_responses(A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_DialogType, type$.legacy_BuiltList_legacy_DialogItem)); + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof A.Strand) + if (J.$eq$(_this.substrands, other.substrands)) + if (J.$eq$(_this.vendor_fields, other.vendor_fields)) + if (_this.is_scaffold === other.is_scaffold) + if (_this.circular === other.circular) + if (J.$eq$(_this.modification_5p, other.modification_5p)) + if (J.$eq$(_this.modification_3p, other.modification_3p)) + if (J.$eq$(_this.modifications_int, other.modifications_int)) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.name == other.name && _this.label == other.label && J.$eq$(_this.unused_fields, other.unused_fields); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; return t1; }, - getDerivedStateFromProps$2: function(nextPropsUntyped, prevStateUntyped) { - var dialog_type, t1, t2, t3, - new_props = S._$$DesignDialogFormProps__$$DesignDialogFormProps(nextPropsUntyped), - prev_state = S._$$DesignDialogFormState__$$DesignDialogFormState(prevStateUntyped); - if (new_props.get$dialog() != null) - if (prev_state.get$current_responses() == null) { - dialog_type = new_props.get$dialog().type; - t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - if (J.containsKey$1$x(prev_state.get$saved_responses()._map$_map, dialog_type) && new_props.get$dialog().use_saved_response) { - t2 = new_props.get$dialog(); - t3 = J.$index$asx(prev_state.get$saved_responses()._map$_map, dialog_type); - t3 = t2.process_saved_response.call$1(t3); - t2 = t3; - } else - t2 = new_props.get$dialog().items; - t1.set$current_responses(type$.legacy_BuiltList_legacy_DialogItem._as(t2)); - t1.set$dialog_type(new_props.get$dialog().type); - t1.set$saved_responses(prev_state.get$saved_responses()); - return t1; - } else - return prevStateUntyped; - else if (prev_state.get$current_responses() != null) { - t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$current_responses(null); - t1.set$dialog_type(null); - t1.set$saved_responses(prev_state.get$saved_responses().rebuild$1(new S.DesignDialogFormComponent_getDerivedStateFromProps_closure(prev_state))); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._strand$__hashCode; + if (t1 != null) return t1; - } else - return prevStateUntyped; - }, - render$0: function(_) { - var t1, components, t2, t3, t4, t5, t6, component_idx, t7, t8, radio_idx_maps, t9, t10, disabled, t11, forbidden_values, t12, radio, selected_value, component_idx0, _this = this, _null = null, - _s28_ = "DesignDialogFormProps.dialog", - _s39_ = "DesignDialogFormState.current_responses", - _s11_ = "dialog-form", - _s16_ = "dialog-form-form", - _s17_ = "dialog-form-title", - _s13_ = "dialog-button"; - if (_this._design_dialog_form$_cachedTypedProps.get$dialog() == null || _this._design_dialog_form$_cachedTypedState.get$current_responses() == null) - return _null; - t1 = type$.JSArray_legacy_ReactElement; - components = H.setRuntimeTypeInfo([], t1); - for (t2 = J.get$iterator$ax(_this._design_dialog_form$_cachedTypedState.get$current_responses()._list), t3 = type$.legacy_Dialog, t4 = type$.legacy_BuiltList_legacy_DialogItem, t5 = type$.legacy_DialogRadio, t6 = type$.legacy_DialogCheckbox, component_idx = 0; t2.moveNext$0(); component_idx = component_idx0) { - t7 = t2.get$current(t2); - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_radio_button_selected._map$_map, component_idx)) { - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - radio_idx_maps = J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_radio_button_selected._map$_map, component_idx); - if (radio_idx_maps._keys == null) - radio_idx_maps.set$_keys(J.get$keys$x(radio_idx_maps._map$_map)); - t8 = radio_idx_maps._keys; - t8.toString; - t8 = J.get$iterator$ax(t8); - t9 = radio_idx_maps._map$_map; - t10 = J.getInterceptor$asx(t9); - while (true) { - if (!t8.moveNext$0()) { - disabled = false; - break; - } - t11 = t8.get$current(t8); - forbidden_values = t10.$index(t9, t11); - t12 = _this._design_dialog_form$_cachedTypedState; - t12 = t12.get$state(t12).$index(0, _s39_); - radio = t5._as(J.$index$asx(t4._as(t12 == null ? _null : t12)._list, t11)); - t11 = radio.options; - t12 = radio.selected_idx; - selected_value = J.$index$asx(t11._list, t12); - if (J.contains$1$asx(forbidden_values._list, selected_value)) { - disabled = true; - break; - } - } - } else - disabled = false; - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_off._map$_map, component_idx)) { - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - for (t8 = J.get$iterator$ax(J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_off._map$_map, component_idx)._list); t8.moveNext$0();) { - t9 = t8.get$current(t8); - t10 = _this._design_dialog_form$_cachedTypedState; - t10 = t10.get$state(t10).$index(0, _s39_); - if (!t6._as(J.$index$asx(t4._as(t10 == null ? _null : t10)._list, t9)).value) { - disabled = true; - break; - } - } - } - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_on._map$_map, component_idx)) { - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - for (t8 = J.get$iterator$ax(J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_on._map$_map, component_idx)._list); t8.moveNext$0();) { - t9 = t8.get$current(t8); - t10 = _this._design_dialog_form$_cachedTypedState; - t10 = t10.get$state(t10).$index(0, _s39_); - if (t6._as(J.$index$asx(t4._as(t10 == null ? _null : t10)._list, t9)).value) { - disabled = true; - break; - } - } - } - t8 = _this._design_dialog_form$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s28_); - if (J.contains$1$asx(t3._as(t8 == null ? _null : t8).disable._list, component_idx)) - disabled = true; - t8 = $.$get$div(); - t9 = {}; - t9 = new L.JsBackedMap(t9); - t8 = new A.DomProps(t8, t9, _null, _null); - t8.get$$$isClassGenerated(); - t9.jsObject.className = F.DartValueWrapper_wrapIfNeeded("dialog-form-item"); - t10 = t7.get$label(t7); - t9.$indexSet(0, "key", t10); - component_idx0 = component_idx + 1; - C.JSArray_methods.add$1(components, t8.call$1(_this.dialog_for$3(t7, component_idx, disabled))); + t1 = _this.color; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.substrands)), J.get$hashCode$(_this.vendor_fields)), B.JSBool_methods.get$hashCode(_this.is_scaffold)), B.JSBool_methods.get$hashCode(_this.circular)), J.get$hashCode$(_this.modification_5p)), J.get$hashCode$(_this.modification_3p)), J.get$hashCode$(_this.modifications_int)), t1.get$hashCode(t1)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._strand$__hashCode; + if (t1 == null) { + _this._strand$__hashCode = _$hash; + t1 = _$hash; } - t2 = A.DomProps$($.$get$div(), _null); - t2.set$className(0, _s11_); - t2.set$id(0, _s11_); - t3 = A.DomProps$($.$get$form(), _null); - t3.set$onSubmit(0, _this.get$submit_form()); - t3.set$id(0, _s16_); - t3.set$className(0, _s16_); - t4 = A.DomProps$($.$get$p(), _null); - t4.set$className(0, _s17_); - t4.set$key(0, _s17_); - t1 = H.setRuntimeTypeInfo([t4.call$1(_this._design_dialog_form$_cachedTypedProps.get$dialog().title)], t1); - C.JSArray_methods.addAll$1(t1, components); - t4 = A.DomProps$($.$get$span(), _null); - t4.set$className(0, "dialog-buttons"); - t4.set$key(0, "buttons"); - t5 = A.DomProps$($.$get$input(), _null); - t5.set$type(0, "submit"); - t5.set$value(0, "OK"); - t5.set$className(0, _s13_); - t5 = t5.call$0(); - t6 = A.DomProps$($.$get$button(), _null); - t6.set$onClick(0, new S.DesignDialogFormComponent_render_closure(_this)); - t6.set$className(0, _s13_); - t1.push(t4.call$2(t5, t6.call$1("Cancel"))); - return t2.call$1(t3.call$1(t1)); + return t1; }, - dialog_for$3: function(item, dialog_item_idx, disabled) { - var t1, t2, t3, t4, components, t5, t6, radio_idx, i, t7, option, option_tooltip, t8, t9, _this = this, _null = null, _s3_ = "key", - _s10_ = "radio-left"; - if (item instanceof E.DialogCheckbox) { - t1 = A.DomProps$($.$get$label(), _null); - t2 = item.tooltip; - t1.set$title(0, t2 == null ? "" : t2); - t2 = A.DomProps$($.$get$input(), _null); - t2.set$type(0, "checkbox"); - t2.set$disabled(0, disabled); - t2.set$checked(0, item.value); - t2.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure(_this, dialog_item_idx)); - return t1.call$2(t2.call$0(), item.label); - } else if (item instanceof E.DialogText) { - t1 = A.DomProps$($.$get$label(), _null); - t2 = item.tooltip; - t1.set$title(0, t2 == null ? "" : t2); - t2 = item.label + ": "; - t3 = A.DomProps$($.$get$input(), _null); - t3.set$type(0, "text"); - t3.set$disabled(0, disabled); - t3.set$value(0, item.value); - t3.props.jsObject.size = F.DartValueWrapper_wrapIfNeeded(item.size); - t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure0(_this, dialog_item_idx)); - return t1.call$2(t2, t3.call$0()); - } else if (item instanceof E.DialogTextArea) { - t1 = A.DomProps$($.$get$label(), _null); - t2 = item.tooltip; - t1.set$title(0, t2 == null ? "" : t2); - t2 = item.label + ": "; - t3 = A.DomProps$($.$get$textarea(), _null); - t4 = t3.props.jsObject; - t4.form = F.DartValueWrapper_wrapIfNeeded("dialog-form-form"); - t3.set$disabled(0, disabled); - t3.set$value(0, item.value); - t4.rows = F.DartValueWrapper_wrapIfNeeded(item.rows); - t4.cols = F.DartValueWrapper_wrapIfNeeded(item.cols); - t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure1(_this, dialog_item_idx)); - return t1.call$2(t2, t3.call$0()); - } else if (item instanceof E.DialogInteger) { - t1 = A.DomProps$($.$get$label(), _null); - t2 = item.tooltip; - t1.set$title(0, t2 == null ? "" : t2); - t2 = item.label + ": "; - t3 = A.DomProps$($.$get$input(), _null); - t3.set$type(0, "number"); - t3.set$disabled(0, disabled); - t3.set$pattern(0, "-?\\d+"); - t3.set$value(0, item.value); - t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure2(_this, dialog_item_idx)); - return t1.call$2(t2, t3.call$0()); - } else if (item instanceof E.DialogFloat) { - t1 = A.DomProps$($.$get$label(), _null); - t2 = item.tooltip; - t1.set$title(0, t2 == null ? "" : t2); - t2 = item.label + ": "; - t3 = A.DomProps$($.$get$input(), _null); - t3.set$type(0, "number"); - t3.set$disabled(0, disabled); - t3.set$pattern(0, "[+-]?(\\d*[.])?\\d+"); - t3.set$value(0, item.value); - t3.set$step(0, "any"); - t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure3(_this, dialog_item_idx)); - return t1.call$2(t2, t3.call$0()); - } else { - t1 = item instanceof E.DialogRadio; - if (t1 && item.radio) { - components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - t1 = item.options._list; - t2 = J.getInterceptor$asx(t1); - t3 = item.label; - t4 = item.selected_idx; - t5 = type$.legacy_dynamic_Function_legacy_SyntheticFormEvent; - t6 = item.option_tooltips; - radio_idx = 0; - i = 0; - while (true) { - t7 = t2.get$length(t1); - if (typeof t7 !== "number") - return H.iae(t7); - if (!(i < t7)) - break; - option = t2.$index(t1, i); - option_tooltip = J.$index$asx(t6._list, i); - t7 = $.$get$br(); - t8 = {}; - t8 = new L.JsBackedMap(t8); - t7 = new A.DomProps(t7, t8, _null, _null); - t7.get$$$isClassGenerated(); - t9 = "br-" + radio_idx; - t8.$indexSet(0, _s3_, t9); - C.JSArray_methods.add$1(components, t7.call$0()); - t7 = $.$get$input(); - t8 = {}; - t8 = new L.JsBackedMap(t8); - t7 = new A.DomProps(t7, t8, _null, _null); - t7.get$$$isClassGenerated(); - t9 = t8.jsObject; - t9.type = F.DartValueWrapper_wrapIfNeeded("radio"); - t9.id = F.DartValueWrapper_wrapIfNeeded("radio-" + t3 + "-" + radio_idx); - t9.disabled = F.DartValueWrapper_wrapIfNeeded(disabled); - t9.name = F.DartValueWrapper_wrapIfNeeded(t3); - t9.checked = F.DartValueWrapper_wrapIfNeeded(t4 === radio_idx); - t9.value = F.DartValueWrapper_wrapIfNeeded(option); - t9.onChange = F.DartValueWrapper_wrapIfNeeded(t5._as(new S.DesignDialogFormComponent_dialog_for_closure4(_this, item, dialog_item_idx))); - t9 = "" + radio_idx; - t8.$indexSet(0, _s3_, t9); - C.JSArray_methods.add$1(components, t7.call$0()); - t7 = $.$get$label(); - t8 = {}; - t8 = new L.JsBackedMap(t8); - t7 = new A.DomProps(t7, t8, _null, _null); - t7.get$$$isClassGenerated(); - t9 = "label-" + radio_idx; - t8.$indexSet(0, _s3_, t9); - t8.jsObject.title = F.DartValueWrapper_wrapIfNeeded(option_tooltip == null ? "" : option_tooltip); - C.JSArray_methods.add$1(components, t7.call$1(option)); - ++radio_idx; - ++i; - } - t1 = A.DomProps$($.$get$div(), _null); - t1.set$className(0, _s10_); - t2 = A.DomProps$($.$get$label(), _null); - t2.set$title(0, item.tooltip); - return t1.call$2(t2.call$1(t3 + ":"), components); - } else if (t1 && !item.radio) { - components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - t1 = item.options._list; - t2 = J.getInterceptor$asx(t1); - t3 = item.label; - t4 = type$.legacy_dynamic_Function_legacy_SyntheticFormEvent; - t5 = item.option_tooltips; - radio_idx = 0; - i = 0; - while (true) { - t6 = t2.get$length(t1); - if (typeof t6 !== "number") - return H.iae(t6); - if (!(i < t6)) - break; - option = t2.$index(t1, i); - option_tooltip = J.$index$asx(t5._list, i); - t6 = $.$get$option(); - t7 = {}; - t7 = new L.JsBackedMap(t7); - t6 = new A.DomProps(t6, t7, _null, _null); - t6.get$$$isClassGenerated(); - t8 = t7.jsObject; - t8.id = F.DartValueWrapper_wrapIfNeeded("radio-" + radio_idx); - t8.disabled = F.DartValueWrapper_wrapIfNeeded(disabled); - t8.name = F.DartValueWrapper_wrapIfNeeded(t3); - t8.title = F.DartValueWrapper_wrapIfNeeded(option_tooltip); - t8.value = F.DartValueWrapper_wrapIfNeeded(option); - t8.onChange = F.DartValueWrapper_wrapIfNeeded(t4._as(new S.DesignDialogFormComponent_dialog_for_closure5(_this, item, dialog_item_idx))); - t8 = "" + radio_idx; - t7.$indexSet(0, _s3_, t8); - C.JSArray_methods.add$1(components, t6.call$1(option)); - ++radio_idx; - ++i; - } - t4 = A.DomProps$($.$get$div(), _null); - t5 = A.DomProps$($.$get$label(), _null); - t5.set$title(0, item.tooltip); - t5 = t5.call$1(t3 + ":"); - t6 = A.DomProps$($.$get$select(), _null); - t6.set$className(0, _s10_); - t6.set$disabled(0, disabled); - t6.set$value(0, t2.$index(t1, item.selected_idx)); - t6.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure6(_this, item, dialog_item_idx)); - return t4.call$2(t5, t6.call$2(t3 + ": ", components)); - } else if (item instanceof E.DialogLink) { - t1 = A.DomProps$($.$get$a(), _null); - t2 = t1.props.jsObject; - t2.href = F.DartValueWrapper_wrapIfNeeded(item.link); - t2.target = F.DartValueWrapper_wrapIfNeeded("_blank"); - return t1.call$1(item.label); - } else if (item instanceof E.DialogLabel) { - t1 = A.DomProps$($.$get$span(), _null); - t1.set$title(0, item.tooltip); - return t1.call$1(item.label); - } - } - return _null; + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Strand"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "substrands", _this.substrands); + t2.add$2(t1, "vendor_fields", _this.vendor_fields); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "circular", _this.circular); + t2.add$2(t1, "modification_5p", _this.modification_5p); + t2.add$2(t1, "modification_3p", _this.modification_3p); + t2.add$2(t1, "modifications_int", _this.modifications_int); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); }, - submit_form$1: function($event) { - var t1, t2, t3; - type$.legacy_SyntheticFormEvent._as($event); - t1 = J.getInterceptor$x($event); - t1.preventDefault$0($event); - t1.stopPropagation$0($event); - $.app.dispatch$1(U._$DialogHide__$DialogHide()); - t1 = this._design_dialog_form$_cachedTypedProps.get$dialog(); - t2 = this._design_dialog_form$_cachedTypedState.get$current_responses(); - t3 = t2._list; - t1.on_submit.call$1(new Q.CopyOnWriteList(true, t3, H._instanceType(t2)._eval$1("CopyOnWriteList<1>"))); - } - }; - S.DesignDialogFormComponent_getDerivedStateFromProps_closure.prototype = { - call$1: function(old_responses) { - var t1, t2; - type$.legacy_MapBuilder_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(old_responses); - t1 = this.prev_state; - t2 = t1.get$state(t1).$index(0, "DesignDialogFormState.dialog_type"); - if (t2 == null) - t2 = null; - old_responses.$indexSet(0, type$.legacy_DialogType._as(t2), t1.get$current_responses()); - return old_responses; + set$__selectable_deletions(__selectable_deletions) { + this.__selectable_deletions = type$.nullable_BuiltList_SelectableDeletion._as(__selectable_deletions); }, - $signature: 413 - }; - S.DesignDialogFormComponent_render_closure.prototype = { - call$1: function(e) { - var t1; - type$.legacy_SyntheticMouseEvent._as(e); - t1 = J.getInterceptor$x(e); - t1.preventDefault$0(e); - t1.stopPropagation$0(e); - $.app.dispatch$1(U._$DialogHide__$DialogHide()); - this.$this._design_dialog_form$_cachedTypedProps.get$dialog().on_submit.call$1(null); + set$__selectable_insertions(__selectable_insertions) { + this.__selectable_insertions = type$.nullable_BuiltList_SelectableInsertion._as(__selectable_insertions); }, - $signature: 17 - }; - S.DesignDialogFormComponent_dialog_for_closure.prototype = { - call$1: function(e) { - var t1, t2, new_responses, new_checked, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, other_response, t13; - type$.legacy_SyntheticFormEvent._as(e); - t1 = this.$this; - t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); - t2.toString; - new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); - new_checked = H._asBoolS(J.get$checked$x(J.get$target$x(e))); - t2 = this.dialog_item_idx; - t3 = type$.legacy_DialogCheckbox; - t4 = new_responses.$ti; - t5 = t4._precomputed1; - t6 = t5._as(t3._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)).rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure6(new_checked))); - !$.$get$isSoundMode() && !t5._is(null); - J.$indexSet$ax(new_responses.get$_safeList(), t2, t6); - for (t6 = J.get$iterator$ax(t1._design_dialog_form$_cachedTypedProps.get$dialog().mutually_exclusive_checkbox_groups._list), t7 = type$.legacy_BuiltList_legacy_DialogItem, t8 = type$.legacy_void_Function_legacy_DialogCheckboxBuilder, t9 = !t5._is(null), t4 = t4._eval$1("List<1>"); t6.moveNext$0();) { - t10 = t6.get$current(t6)._list; - t11 = J.getInterceptor$asx(t10); - if (t11.contains$1(t10, t2)) - for (t10 = t11.get$iterator(t10); t10.moveNext$0();) { - t11 = t10.get$current(t10); - if (t11 !== t2) { - t12 = t1._design_dialog_form$_cachedTypedState; - t12 = t12.get$state(t12).$index(0, "DesignDialogFormState.current_responses"); - other_response = t3._as(J.$index$asx(t7._as(t12 == null ? null : t12)._list, t11)); - if (other_response.value) { - t12 = t8._as(new S.DesignDialogFormComponent_dialog_for__closure7()); - t13 = new E.DialogCheckboxBuilder(); - t13._dialog$_$v = other_response; - t12.call$1(t13); - t12 = t5._as(t13.build$0()); - !$.$get$isSoundMode() && t9; - if (new_responses._listOwner != null) { - t13 = new_responses.__ListBuilder__list; - new_responses.set$__ListBuilder__list(t4._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t5))); - new_responses.set$_listOwner(null); - } - t13 = new_responses.__ListBuilder__list; - J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, t11, t12); - } - } - } - } - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$current_responses(new_responses.build$0()); - t1.setState$1(0, t2); + set$__selectable_modifications(__selectable_modifications) { + this.__selectable_modifications = type$.nullable_BuiltList_SelectableModification._as(__selectable_modifications); }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure6.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = this.new_checked; + set$__selectable_modifications_int_by_dna_idx(__selectable_modifications_int_by_dna_idx) { + this.__selectable_modifications_int_by_dna_idx = type$.nullable_BuiltMap_int_SelectableModificationInternal._as(__selectable_modifications_int_by_dna_idx); }, - $signature: 142 - }; - S.DesignDialogFormComponent_dialog_for__closure7.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = false; + set$__internal_modifications_on_substrand_absolute_idx(__internal_modifications_on_substrand_absolute_idx) { + this.__internal_modifications_on_substrand_absolute_idx = type$.nullable_BuiltList_BuiltMap_int_ModificationInternal._as(__internal_modifications_on_substrand_absolute_idx); }, - $signature: 142 - }; - S.DesignDialogFormComponent_dialog_for_closure0.prototype = { - call$1: function(e) { - var t1, t2, new_responses, new_value, response, t3, t4; - type$.legacy_SyntheticFormEvent._as(e); - t1 = this.$this; - t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); - t2.toString; - new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); - new_value = H._asStringS(J.get$value$x(J.get$target$x(e))); - t2 = this.dialog_item_idx; - response = type$.legacy_DialogText._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); - response.toString; - t3 = type$.legacy_void_Function_legacy_DialogTextBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure5(new_value)); - t4 = new E.DialogTextBuilder(); - t4._dialog$_$v = response; - t3.call$1(t4); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(t4.build$0()); - !$.$get$isSoundMode() && !t3._is(null); - J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$current_responses(new_responses.build$0()); - t1.setState$1(0, t2); + set$__internal_modifications_on_substrand(__internal_modifications_on_substrand) { + this.__internal_modifications_on_substrand = type$.nullable_BuiltMap_of_Substrand_and_BuiltMap_int_ModificationInternal._as(__internal_modifications_on_substrand); }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure5.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = this.new_value; + set$__domains_on_helix(__domains_on_helix) { + this.__domains_on_helix = type$.nullable_BuiltMap_of_int_and_BuiltList_Domain._as(__domains_on_helix); }, - $signature: 416 - }; - S.DesignDialogFormComponent_dialog_for_closure1.prototype = { - call$1: function(e) { - var t1, t2, new_responses, new_value, response, t3, t4; - type$.legacy_SyntheticFormEvent._as(e); - t1 = this.$this; - t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); - t2.toString; - new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); - new_value = H._asStringS(J.get$value$x(J.get$target$x(e))); - t2 = this.dialog_item_idx; - response = type$.legacy_DialogTextArea._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); - response.toString; - t3 = type$.legacy_void_Function_legacy_DialogTextAreaBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure4(new_value)); - t4 = new E.DialogTextAreaBuilder(); - t4._dialog$_$v = response; - t3.call$1(t4); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(t4.build$0()); - !$.$get$isSoundMode() && !t3._is(null); - J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$current_responses(new_responses.build$0()); - t1.setState$1(0, t2); + set$__linkers(__linkers) { + this.__linkers = type$.nullable_BuiltList_Linker._as(__linkers); }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure4.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = this.new_value; + set$__crossovers(__crossovers) { + this.__crossovers = type$.nullable_BuiltList_Crossover._as(__crossovers); }, - $signature: 417 - }; - S.DesignDialogFormComponent_dialog_for_closure2.prototype = { - call$1: function(e) { - var t1, t2, new_responses, new_value, response, t3, t4; - type$.legacy_SyntheticFormEvent._as(e); - t1 = this.$this; - t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); - t2.toString; - new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); - new_value = H.Primitives_parseInt(H._asStringS(J.get$value$x(J.get$target$x(e))), null); - if (new_value == null) - return; - t2 = this.dialog_item_idx; - response = type$.legacy_DialogInteger._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); - response.toString; - t3 = type$.legacy_void_Function_legacy_DialogIntegerBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure3(new_value)); - t4 = new E.DialogIntegerBuilder(); - t4._dialog$_$v = response; - t3.call$1(t4); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(t4.build$0()); - !$.$get$isSoundMode() && !t3._is(null); - J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$current_responses(new_responses.build$0()); - t1.setState$1(0, t2); + set$__loopouts(__loopouts) { + this.__loopouts = type$.nullable_BuiltList_Loopout._as(__loopouts); }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure3.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = this.new_value; + set$__extensions(__extensions) { + this.__extensions = type$.nullable_BuiltList_Extension._as(__extensions); }, - $signature: 418 - }; - S.DesignDialogFormComponent_dialog_for_closure3.prototype = { - call$1: function(e) { - var t1, t2, new_responses, new_value, response, t3, t4; - type$.legacy_SyntheticFormEvent._as(e); - t1 = this.$this; - t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); - t2.toString; - new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); - new_value = H.Primitives_parseDouble(H._asStringS(J.get$value$x(J.get$target$x(e)))); - if (new_value == null) - return; - t2 = this.dialog_item_idx; - response = type$.legacy_DialogFloat._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); - response.toString; - t3 = type$.legacy_void_Function_legacy_DialogFloatBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure2(new_value)); - t4 = new E.DialogFloatBuilder(); - t4._dialog$_$v = response; - t3.call$1(t4); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(t4.build$0()); - !$.$get$isSoundMode() && !t3._is(null); - J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$current_responses(new_responses.build$0()); - t1.setState$1(0, t2); + set$__domains(__domains) { + this.__domains = type$.nullable_BuiltList_Domain._as(__domains); }, - $signature: 10 + get$is_scaffold() { + return this.is_scaffold; + } }; - S.DesignDialogFormComponent_dialog_for__closure2.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_value = this.new_value; + A.StrandBuilder.prototype = { + get$substrands() { + var t1 = this.get$_strand$_$this(), + t2 = t1._substrands; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Substrand); + t1.set$_substrands(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 419 - }; - S.DesignDialogFormComponent_dialog_for_closure4.prototype = { - call$1: function(e) { - var selected_radio_idx, response, t3, new_responses, t4, - t1 = this.item.options, - t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); - t1.toString; - selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); - t2 = this.$this; - t1 = this.dialog_item_idx; - response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); - t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); - t3.toString; - new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure1(selected_radio_idx))); - if (!$.$get$isSoundMode() && !t3._is(null)) - if (t4 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); - t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$current_responses(new_responses.build$0()); - t2.setState$1(0, t1); + get$vendor_fields() { + var t1 = this.get$_strand$_$this(), + t2 = t1._vendor_fields; + return t2 == null ? t1._vendor_fields = new A.VendorFieldsBuilder() : t2; }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure1.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + get$modification_5p() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modification_5p; + return t2 == null ? t1._modification_5p = new A.Modification5PrimeBuilder() : t2; }, - $signature: 81 - }; - S.DesignDialogFormComponent_dialog_for_closure5.prototype = { - call$1: function(e) { - var selected_radio_idx, response, t3, new_responses, t4, - t1 = this.item.options, - t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); - t1.toString; - selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); - t2 = this.$this; - t1 = this.dialog_item_idx; - response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); - t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); - t3.toString; - new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure0(selected_radio_idx))); - if (!$.$get$isSoundMode() && !t3._is(null)) - if (t4 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); - t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$current_responses(new_responses.build$0()); - t2.setState$1(0, t1); + get$modification_3p() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modification_3p; + return t2 == null ? t1._modification_3p = new A.Modification3PrimeBuilder() : t2; }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure0.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + get$modifications_int() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modifications_int; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.ModificationInternal); + t1.set$_modifications_int(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 81 - }; - S.DesignDialogFormComponent_dialog_for_closure6.prototype = { - call$1: function(e) { - var selected_radio_idx, response, t3, new_responses, t4, - t1 = this.item.options, - t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); - t1.toString; - selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); - t2 = this.$this; - t1 = this.dialog_item_idx; - response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); - t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); - t3.toString; - new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); - t3 = new_responses.$ti._precomputed1; - t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure(selected_radio_idx))); - if (!$.$get$isSoundMode() && !t3._is(null)) - if (t4 == null) - H.throwExpression(P.ArgumentError$("null element")); - J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); - t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$current_responses(new_responses.build$0()); - t2.setState$1(0, t1); + get$unused_fields() { + var t1 = this.get$_strand$_$this(), + t2 = t1._strand$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_strand$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 10 - }; - S.DesignDialogFormComponent_dialog_for__closure.prototype = { - call$1: function(b) { - return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + get$_strand$_$this() { + var t1, t2, _this = this, _s5_ = "other", + $$v = _this._strand$_$v; + if ($$v != null) { + t1 = $$v.substrands; + t1.toString; + _this.set$_substrands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.vendor_fields; + if (t1 == null) + t1 = null; + else { + t2 = new A.VendorFieldsBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.VendorFields); + t2._vendor_fields$_$v = t1; + t1 = t2; + } + _this._vendor_fields = t1; + _this._is_scaffold = $$v.is_scaffold; + _this._circular = $$v.circular; + t1 = $$v.modification_5p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification5PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification5Prime); + t2._modification$_$v = t1; + t1 = t2; + } + _this._modification_5p = t1; + t1 = $$v.modification_3p; + if (t1 == null) + t1 = null; + else { + t2 = new A.Modification3PrimeBuilder(); + A.ArgumentError_checkNotNull(t1, _s5_, type$.Modification3Prime); + t2._modification$_$v = t1; + t1 = t2; + } + _this._modification_3p = t1; + t1 = $$v.modifications_int; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modifications_int(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._strand$_color = $$v.color; + _this._strand$_name = $$v.name; + _this._label = $$v.label; + t2 = $$v.unused_fields; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_strand$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._strand$_$v = null; + } + return _this; }, - $signature: 81 - }; - S.$DesignDialogFormComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignDialogFormComponent(null); + _strand$_build$0() { + var _$result, _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, _s6_ = "Strand", + _s11_ = "is_scaffold", + _s8_ = "circular", + _s10_ = "substrands", + _s17_ = "modifications_int", + _s13_ = "unused_fields"; + A.Strand__finalizeBuilder(_this); + _$result = null; + try { + _$result0 = _this._strand$_$v; + if (_$result0 == null) { + t1 = _this.get$substrands().build$0(); + t2 = _this._vendor_fields; + t2 = t2 == null ? null : t2._vendor_fields$_build$0(); + t3 = type$.bool; + t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand$_$this()._is_scaffold, _s6_, _s11_, t3); + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand$_$this()._circular, _s6_, _s8_, t3); + t6 = _this._modification_5p; + t6 = t6 == null ? null : t6._modification$_build$0(); + t7 = _this._modification_3p; + t7 = t7 == null ? null : t7._modification$_build$0(); + t8 = _this.get$modifications_int().build$0(); + t9 = type$.Color; + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand$_$this()._strand$_color, _s6_, "color", t9); + t11 = _this.get$_strand$_$this()._strand$_name; + t12 = _this.get$_strand$_$this()._label; + t13 = _this.get$unused_fields().build$0(); + _$result0 = new A._$Strand(t1, t2, t4, t5, t6, t7, t8, t10, t11, t12, t13); + A.BuiltValueNullFieldError_checkNotNull(t1, _s6_, _s10_, type$.BuiltList_Substrand); + A.BuiltValueNullFieldError_checkNotNull(t4, _s6_, _s11_, t3); + A.BuiltValueNullFieldError_checkNotNull(t5, _s6_, _s8_, t3); + A.BuiltValueNullFieldError_checkNotNull(t8, _s6_, _s17_, type$.BuiltMap_int_ModificationInternal); + A.BuiltValueNullFieldError_checkNotNull(t10, _s6_, "color", t9); + A.BuiltValueNullFieldError_checkNotNull(t13, _s6_, _s13_, type$.BuiltMap_String_dynamic); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s10_; + _this.get$substrands().build$0(); + _$failedField._value = "vendor_fields"; + t1 = _this._vendor_fields; + if (t1 != null) + t1._vendor_fields$_build$0(); + _$failedField._value = "modification_5p"; + t1 = _this._modification_5p; + if (t1 != null) + t1._modification$_build$0(); + _$failedField._value = "modification_3p"; + t1 = _this._modification_3p; + if (t1 != null) + t1._modification$_build$0(); + _$failedField._value = _s17_; + _this.get$modifications_int().build$0(); + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s6_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.Strand; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._strand$_$v = t2; + return _$result; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 421 - }; - S._$$DesignDialogFormProps.prototype = { - get$$$isClassGenerated: function() { - return true; + set$_substrands(_substrands) { + this._substrands = type$.nullable_ListBuilder_Substrand._as(_substrands); }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignDialogFormComponentFactory() : t1; - } - }; - S._$$DesignDialogFormProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_dialog_form$_props; - } - }; - S._$$DesignDialogFormProps$JsMap.prototype = { - get$props: function(_) { - return this._design_dialog_form$_props; - } - }; - S._$$DesignDialogFormState.prototype = { - get$$$isClassGenerated: function() { - return true; + set$_modifications_int(_modifications_int) { + this._modifications_int = type$.nullable_MapBuilder_int_ModificationInternal._as(_modifications_int); + }, + set$_strand$_unused_fields(_unused_fields) { + this._strand$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); } }; - S._$$DesignDialogFormState$JsMap.prototype = { - get$state: function(_) { - return this._design_dialog_form$_state; + A._Strand_Object_SelectableMixin.prototype = {}; + A._Strand_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable.prototype = {}; + A.StrandCreation.prototype = { + get$start(_) { + var t1 = this.original_offset, + t2 = this.current_offset; + return t1 < t2 ? t1 : t2; + }, + get$end(_) { + var t1 = this.original_offset, + t2 = this.current_offset; + return 1 + (t1 < t2 ? t2 : t1); } }; - S._$DesignDialogFormComponent.prototype = { - get$props: function(_) { - return this._design_dialog_form$_cachedTypedProps; + A.StrandCreation_StrandCreation_closure.prototype = { + call$1(b) { + var _this = this, + t1 = b.get$helix(), + t2 = _this.helix; + A.ArgumentError_checkNotNull(t2, "other", type$.Helix); + t1._helix$_$v = t2; + b.get$_strand_creation$_$this()._forward = _this.forward; + t2 = _this.original_offset; + b.get$_strand_creation$_$this()._original_offset = t2; + b.get$_strand_creation$_$this()._current_offset = t2; + b.get$_strand_creation$_$this()._color = _this.color; + return b; }, - set$props: function(_, value) { - this.props = value; - this._design_dialog_form$_cachedTypedProps = S._$$DesignDialogFormProps$JsMap$(R.getBackingMap(value)); + $signature: 397 + }; + A._$StrandCreationSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandCreation._as(object); + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_wEV), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_MtR), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_kjq), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, B.FullType_kjq), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_uHx)]; }, - get$state: function(_) { - return this._design_dialog_form$_cachedTypedState; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - set$state: function(_, value) { - this.state = value; - this._design_dialog_form$_cachedTypedState = S._$$DesignDialogFormState$JsMap$(value); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, value, t4, + result = new A.StrandCreationBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Color, t2 = type$.Helix; iterator.moveNext$0();) { + t3 = iterator.get$current(iterator); + t3.toString; + A._asStringS(t3); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t3) { + case "helix": + t3 = result.get$_strand_creation$_$this(); + t4 = t3._helix; + if (t4 == null) { + t4 = new A.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t4.toString; + t2._as(t4); + t3._helix$_$v = t4; + break; + case "forward": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3.toString; + A._asBoolS(t3); + result.get$_strand_creation$_$this()._forward = t3; + break; + case "original_offset": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_strand_creation$_$this()._original_offset = t3; + break; + case "current_offset": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3.toString; + A._asIntS(t3); + result.get$_strand_creation$_$this()._current_offset = t3; + break; + case "color": + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3.toString; + t1._as(t3); + result.get$_strand_creation$_$this()._color = t3; + break; + } + } + return result._strand_creation$_build$0(); }, - typedStateFactoryJs$1: function(backingMap) { - return S._$$DesignDialogFormState$JsMap$(backingMap); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$displayName: function(_) { - return "DesignDialogForm"; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_Ltx; }, - get$$$defaultConsumedProps: function() { - return C.Map_MIIFE.get$values(C.Map_MIIFE); - } - }; - S.$DesignDialogFormProps.prototype = { - get$dialog: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignDialogFormProps.dialog"); - if (t1 == null) - t1 = null; - return type$.legacy_Dialog._as(t1); + get$wireName() { + return "StrandCreation"; } }; - S.$DesignDialogFormState.prototype = { - get$current_responses: function() { - var t1 = this.get$state(this).$index(0, "DesignDialogFormState.current_responses"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltList_legacy_DialogItem._as(t1); - }, - set$current_responses: function(value) { - type$.legacy_BuiltList_legacy_DialogItem._as(value); - this.get$state(this).$indexSet(0, "DesignDialogFormState.current_responses", value); + A._$StrandCreation.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_StrandCreationBuilder._as(updates); + t1 = new A.StrandCreationBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.StrandCreation); + t1._strand_creation$_$v = this; + type$.nullable_void_Function_StrandCreationBuilder._as(updates).call$1(t1); + return t1._strand_creation$_build$0(); }, - set$dialog_type: function(value) { - this.get$state(this).$indexSet(0, "DesignDialogFormState.dialog_type", value); + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof A.StrandCreation) + if (J.$eq$(_this.helix, other.helix)) + if (_this.forward === other.forward) + if (_this.original_offset === other.original_offset) + if (_this.current_offset === other.current_offset) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; }, - get$saved_responses: function() { - var t1 = this.get$state(this).$index(0, "DesignDialogFormState.saved_responses"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(t1); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._strand_creation$__hashCode; + if (t1 != null) + return t1; + t1 = _this.color; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.helix)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSInt_methods.get$hashCode(_this.original_offset)), B.JSInt_methods.get$hashCode(_this.current_offset)), t1.get$hashCode(t1))); + t1 = _this._strand_creation$__hashCode; + if (t1 == null) { + _this._strand_creation$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - set$saved_responses: function(value) { - type$.legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(value); - this.get$state(this).$indexSet(0, "DesignDialogFormState.saved_responses", value); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreation"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "current_offset", _this.current_offset); + t2.add$2(t1, "color", _this.color); + return t2.toString$0(t1); } }; - S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent.prototype = {}; - S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps.prototype = {}; - S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps.prototype = {}; - S.__$$DesignDialogFormState_UiState_DesignDialogFormState.prototype = {}; - S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState.prototype = {}; - V.ConnectedDesignFooter_closure.prototype = { - call$2: function(state, props) { - var t1, mouseover_datas, t2, t3, first_mouseover_data, strand_first_mouseover_data, loaded_filename; - type$.legacy_AppState._as(state); - type$.legacy_DesignFooterProps._as(props); - t1 = state.ui_state; - mouseover_datas = t1.mouseover_datas; - t2 = mouseover_datas._list; - t3 = J.getInterceptor$asx(t2); - first_mouseover_data = t3.get$isNotEmpty(t2) ? t3.get$first(t2) : null; - if (t3.get$isNotEmpty(t2)) { - t2 = state.design.get$substrand_to_strand(); - t3 = first_mouseover_data.domain; - strand_first_mouseover_data = J.$index$asx(t2._map$_map, t3); + A.StrandCreationBuilder.prototype = { + get$helix() { + var t1 = this.get$_strand_creation$_$this(), + t2 = t1._helix; + if (t2 == null) { + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._helix = t2; + t1 = t2; } else - strand_first_mouseover_data = null; - loaded_filename = t1.storables.loaded_filename; - t1 = V.design_footer___$DesignFooter$closure().call$0(); - t1.toString; - type$.legacy_BuiltList_legacy_MouseoverData._as(mouseover_datas); - t2 = J.getInterceptor$x(t1); - J.$indexSet$ax(t2.get$props(t1), "DesignFooterProps.mouseover_datas", mouseover_datas); - J.$indexSet$ax(t2.get$props(t1), string$.DesignF, strand_first_mouseover_data); - J.$indexSet$ax(t2.get$props(t1), "DesignFooterProps.loaded_filename", loaded_filename); + t1 = t2; return t1; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 422 - }; - V.DesignFooterProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - V.DesignFooterComponent.prototype = { - render$0: function(_) { - var t2, mouseover_data, idx, offset, text, domain_length, t3, t4, t5, _null = null, - t1 = this._design_footer$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignFooterProps.mouseover_datas"); - if (t1 == null) - t1 = _null; - t1 = type$.legacy_BuiltList_legacy_MouseoverData._as(t1)._list; - t2 = J.getInterceptor$asx(t1); - if (t2.get$length(t1) === 1) { - mouseover_data = t2.get$first(t1); - idx = mouseover_data.helix.idx; - offset = mouseover_data.offset; - text = "helix: " + idx + ", offset: " + offset; - t1 = mouseover_data.domain; - if (t1 != null) { - domain_length = t1.dna_length$0(); - t2 = this._design_footer$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignF); - if (t2 == null) - t2 = _null; - type$.legacy_Strand._as(t2); - t3 = ", strand DNA index: " + mouseover_data.strand_idx + (", domain length: " + domain_length); - t4 = t2 == null; - t3 += ", strand length: " + H.S(t4 ? _null : t2.get$dna_length()); - t5 = t1.name; - t3 += t5 != null ? ", domain name: " + H.S(t5) : ""; - t1 = t1.label; - t1 = t3 + (t1 != null ? ", domain label: " + H.S(t1) : ""); - t1 += (t4 ? _null : t2.name) != null ? ", strand name: " + H.S(t2.name) : ""; - text += t1 + ((t4 ? _null : t2.label) != null ? ", strand label: " + H.S(t2.label) : ""); + get$_strand_creation$_$this() { + var t1, t2, _this = this, + $$v = _this._strand_creation$_$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new A.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + A.ArgumentError_checkNotNull(t1, "other", type$.Helix); + t2._helix$_$v = t1; + _this._helix = t2; + _this._forward = $$v.forward; + _this._original_offset = $$v.original_offset; + _this._current_offset = $$v.current_offset; + _this._color = $$v.color; + _this._strand_creation$_$v = null; + } + return _this; + }, + _strand_creation$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, + _s14_ = "StrandCreation", + _s15_ = "original_offset", + _s14_0 = "current_offset", + _$result = null; + try { + _$result0 = _this._strand_creation$_$v; + if (_$result0 == null) { + t1 = _this.get$helix()._helix$_build$0(); + t2 = type$.bool; + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand_creation$_$this()._forward, _s14_, "forward", t2); + t4 = type$.int; + t5 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand_creation$_$this()._original_offset, _s14_, _s15_, t4); + t6 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand_creation$_$this()._current_offset, _s14_, _s14_0, t4); + t7 = type$.Color; + t8 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strand_creation$_$this()._color, _s14_, "color", t7); + _$result0 = new A._$StrandCreation(t1, t3, t5, t6, t8); + A.BuiltValueNullFieldError_checkNotNull(t1, _s14_, "helix", type$.Helix); + A.BuiltValueNullFieldError_checkNotNull(t3, _s14_, "forward", t2); + A.BuiltValueNullFieldError_checkNotNull(t5, _s14_, _s15_, t4); + A.BuiltValueNullFieldError_checkNotNull(t6, _s14_, _s14_0, t4); + A.BuiltValueNullFieldError_checkNotNull(t8, _s14_, "color", t7); } - } else { - t1 = this._design_footer$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignFooterProps.loaded_filename"); - text = H._asStringS(t1 == null ? _null : t1); + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "helix"; + _this.get$helix()._helix$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; } - t1 = A.DomProps$($.$get$span(), _null); - t1.set$className(0, "design-footer-mouse-over-paragraph"); - return t1.call$1(text); + t1 = type$.StrandCreation; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._strand_creation$_$v = t2; + return _$result; } }; - V.$DesignFooterComponentFactory_closure.prototype = { - call$0: function() { - return new V._$DesignFooterComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 423 - }; - V._$$DesignFooterProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A._StrandCreation_Object_BuiltJsonSerializable.prototype = {}; + A.StrandsMove.prototype = {}; + A.StrandsMove_StrandsMove_closure.prototype = { + call$1(b) { + var t1, t2, t3, _this = this; + b.get$strands_moving().replace$1(0, _this.strands_moving); + b.get$strands_fixed().replace$1(0, _this.strands_fixed); + b.get$helices().replace$1(0, _this.helices); + b.get$groups().replace$1(0, _this.groups); + b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); + t1 = b.get$original_address(); + t2 = _this.original_address; + t3 = type$.Address; + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + t1 = b.get$current_address(); + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + b.get$_strands_move$_$this()._strands_move$_copy = _this.copy; + b.get$_strands_move$_$this()._strands_move$_keep_color = _this.keep_color; + b.get$_strands_move$_$this()._strands_move$_allowable = true; + return b; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignFooterComponentFactory() : t1; - } - }; - V._$$DesignFooterProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_footer$_props; - } - }; - V._$$DesignFooterProps$JsMap.prototype = { - get$props: function(_) { - return this._design_footer$_props; - } + $signature: 398 }; - V._$DesignFooterComponent.prototype = { - get$props: function(_) { - return this._design_footer$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_footer$_cachedTypedProps = V._$$DesignFooterProps$JsMap$(R.getBackingMap(value)); + A._$StrandsMoveSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.StrandsMove._as(object); + return ["strands_moving", serializers.serialize$2$specifiedType(object.strands_moving, B.FullType_2No), "strands_fixed", serializers.serialize$2$specifiedType(object.strands_fixed, B.FullType_2No), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, B.FullType_m48), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, B.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, B.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, B.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, B.FullType_MtR)]; }, - get$displayName: function(_) { - return "DesignFooter"; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - get$$$defaultConsumedProps: function() { - return C.Map_np2PZ.get$values(C.Map_np2PZ); - } - }; - V.$DesignFooterProps.prototype = {}; - V.__$$DesignFooterProps_UiProps_DesignFooterProps.prototype = {}; - V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps.prototype = {}; - Q.ConnectedLoadingDialog_closure.prototype = { - call$1: function(state) { - var t1, t2; - type$.legacy_AppState._as(state); - t1 = Q.design_loading_dialog___$DesignLoadingDialog$closure().call$0(); - t2 = state.ui_state.load_dialog; - t1.toString; - J.$indexSet$ax(J.get$props$x(t1), "DesignLoadingDialogProps.show", t2); - return t1; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, value, t10, t11, t12, t13, _null = null, + result = new A.StrandsMoveBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Address, t2 = type$.MapBuilder_int_int, t3 = type$.MapBuilder_String_HelixGroup, t4 = type$.MapBuilder_int_Helix, t5 = type$.BuiltList_nullable_Object, t6 = type$.Strand, t7 = type$.List_Strand, t8 = type$.ListBuilder_Strand; iterator.moveNext$0();) { + t9 = iterator.get$current(iterator); + t9.toString; + A._asStringS(t9); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t9) { + case "strands_moving": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_moving; + if (t10 == null) { + t10 = new A.ListBuilder(t8); + t10.set$__ListBuilder__list_A(t7._as(A.List_List$from(B.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_strands_moving(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t10.toString; + t5._as(t10); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "strands_fixed": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_fixed; + if (t10 == null) { + t10 = new A.ListBuilder(t8); + t10.set$__ListBuilder__list_A(t7._as(A.List_List$from(B.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_strands_fixed(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t10.toString; + t5._as(t10); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list_A(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list_A(t13._as(A.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "helices": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_helices; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t4); + t10.replace$1(0, B.Map_empty); + t9.set$_strands_move$_helices(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t10.toString; + t9.replace$1(0, t10); + break; + case "groups": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_groups; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t3); + t10.replace$1(0, B.Map_empty); + t9.set$_strands_move$_groups(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_m48); + t10.toString; + t9.replace$1(0, t10); + break; + case "original_helices_view_order_inverse": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_original_helices_view_order_inverse; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t2); + t10.replace$1(0, B.Map_empty); + t9.set$_strands_move$_original_helices_view_order_inverse(t10); + t9 = t10; + } else + t9 = t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t10.toString; + t9.replace$1(0, t10); + break; + case "original_address": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_original_address; + t9 = t10 == null ? t9._strands_move$_original_address = new A.AddressBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t10.toString; + t1._as(t10); + t9._address$_$v = t10; + break; + case "current_address": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_current_address; + t9 = t10 == null ? t9._strands_move$_current_address = new A.AddressBuilder() : t10; + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t10.toString; + t1._as(t10); + t9._address$_$v = t10; + break; + case "allowable": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_strands_move$_$this()._strands_move$_allowable = t9; + break; + case "copy": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_strands_move$_$this()._strands_move$_copy = t9; + break; + case "keep_color": + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9.toString; + A._asBoolS(t9); + result.get$_strands_move$_$this()._strands_move$_keep_color = t9; + break; + } + } + return result._strands_move$_build$0(); }, - $signature: 424 - }; - Q.DesignLoadingDialogProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - Q.DesignLoadingDialogComponent.prototype = { - render$0: function(_) { - var _null = null, - t1 = this._design_loading_dialog$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignLoadingDialogProps.show"); - if (H._asBoolS(t1 == null ? _null : t1) === false) - return _null; - t1 = A.DomProps$($.$get$div(), _null); - t1.set$className(0, "dialog-form-form dialog-design-loading"); - return t1.call$1(A.DomProps$($.$get$span(), _null).call$1("Loading...")); - } - }; - Q.$DesignLoadingDialogComponentFactory_closure.prototype = { - call$0: function() { - return new Q._$DesignLoadingDialogComponent(null); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 425 - }; - Q._$$DesignLoadingDialogProps.prototype = { - get$$$isClassGenerated: function() { - return true; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_ECG0; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignLoadingDialogComponentFactory() : t1; - } - }; - Q._$$DesignLoadingDialogProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_loading_dialog$_props; - } - }; - Q._$$DesignLoadingDialogProps$JsMap.prototype = { - get$props: function(_) { - return this._design_loading_dialog$_props; + get$wireName() { + return "StrandsMove"; } }; - Q._$DesignLoadingDialogComponent.prototype = { - get$props: function(_) { - return this._design_loading_dialog$_cachedTypedProps; + A._$StrandsMove.prototype = { + rebuild$1(updates) { + var t1; + type$.void_Function_StrandsMoveBuilder._as(updates); + t1 = new A.StrandsMoveBuilder(); + A.ArgumentError_checkNotNull(this, "other", type$.StrandsMove); + t1._strands_move$_$v = this; + type$.nullable_void_Function_StrandsMoveBuilder._as(updates).call$1(t1); + return t1._strands_move$_build$0(); }, - set$props: function(_, value) { - this.props = value; - this._design_loading_dialog$_cachedTypedProps = Q._$$DesignLoadingDialogProps$JsMap$(R.getBackingMap(value)); + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.StrandsMove && J.$eq$(_this.strands_moving, other.strands_moving) && J.$eq$(_this.strands_fixed, other.strands_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; }, - get$displayName: function(_) { - return "DesignLoadingDialog"; + get$hashCode(_) { + var t2, _$hash, _this = this, + t1 = _this._strands_move$__hashCode; + if (t1 != null) + return t1; + t1 = _this.original_address; + t2 = _this.current_address; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.strands_moving)), J.get$hashCode$(_this.strands_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); + t2 = _this._strands_move$__hashCode; + if (t2 == null) { + _this._strands_move$__hashCode = _$hash; + t1 = _$hash; + } else + t1 = t2; + return t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_KFCtt.get$values(C.Map_KFCtt); + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands_moving", _this.strands_moving); + t2.add$2(t1, "strands_fixed", _this.strands_fixed); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + t2.add$2(t1, "original_address", _this.original_address); + t2.add$2(t1, "current_address", _this.current_address); + t2.add$2(t1, "allowable", _this.allowable); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "keep_color", _this.keep_color); + return t2.toString$0(t1); } }; - Q.$DesignLoadingDialogProps.prototype = {}; - Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps.prototype = {}; - Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps.prototype = {}; - V.ConnectedDesignMain_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, t5; - type$.legacy_AppState._as(state); - if (state.get$has_error()) { - t1 = V.design_main___$DesignMain$closure().call$0(); - t1.set$has_error(true); - return t1; - } else { - t1 = V.design_main___$DesignMain$closure().call$0(); - t2 = state.design; - t1.toString; - t3 = J.getInterceptor$x(t1); - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.design", t2); - t4 = state.ui_state; - t5 = t4.helix_change_apply_to_all; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhc, t5); - t5 = t2.__potential_vertical_crossovers; - if (t5 == null) { - t5 = N.Design.prototype.get$potential_vertical_crossovers.call(t2); - t2.set$__potential_vertical_crossovers(t5); - t2 = t5; - } else - t2 = t5; - type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(t2); - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrp, t2); - t2 = t4.potential_crossover_is_drawing; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdr, t2); - t2 = t4.storables; - t5 = t2.domain_name_font_size; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdo, t5); - t5 = t2.major_tick_offset_font_size; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrmo, t5); - t5 = t2.major_tick_width_font_size; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrmw, t5); - t1.set$has_error(state.get$has_error()); - t5 = type$.legacy_BuiltSet_legacy_EditModeChoice._as(t2.edit_modes); - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.edit_modes", t5); - t5 = t4.strands_move; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.strands_move", t5); - t5 = t4.strand_creation; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.strand_creation", t5); - t5 = type$.legacy_BuiltSet_legacy_int._as(t2.side_selected_helix_idxs); - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrsi, t5); - t5 = t2.show_mismatches; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_mismatches", t5); - t5 = t2.show_slice_bar; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_slice_bar", t5); - t5 = t2.slice_bar_offset; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.slice_bar_offset", t5); - t5 = t2.displayed_group_name; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdipe, t5); - t5 = t2.show_domain_name_mismatches; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshd, t5); - t5 = t2.show_unpaired_insertion_deletions; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshu, t5); - t5 = t2.show_dna; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_dna", t5); - t5 = t2.base_pair_display_type; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrb, t5); - t5 = t2.show_base_pair_lines; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshb, t5); - t5 = t2.show_base_pair_lines_with_mismatches; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshb_, t5); - t5 = t2.show_domain_names; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_domain_names", t5); - t5 = t2.show_strand_names; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_strand_names", t5); - t5 = t2.show_helix_circles_main_view; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_helix_circles", t5); - t5 = t2.show_helix_components_main_view; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshh, t5); - t5 = t4.dna_sequence_png_uri; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnu, t5); - t5 = t4.dna_sequence_png_horizontal_offset; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnh, t5); - t5 = t4.dna_sequence_png_vertical_offset; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnv, t5); - t5 = t4.export_svg_action_delayed_for_png_cache; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPre, t5); - t5 = t4.is_zoom_above_threshold; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPri, t5); - t5 = t2.only_display_selected_helices; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPro, t5); - t5 = t2.display_base_offsets_of_major_ticks; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_b, t5); - t5 = t2.show_loopout_extension_length; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshl, t5); - t5 = t2.display_base_offsets_of_major_ticks_only_first_helix; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_b_, t5); - t5 = t2.display_major_tick_widths; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_m, t5); - t5 = t2.display_major_tick_widths_all_helices; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_m_, t5); - t5 = t4.helix_group_is_moving; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhg, t5); - t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhi, t5); - t5 = t2.invert_y; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.invert_y", t5); - t4 = t4.selection_rope; - J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.selection_rope", t4); - t4 = t2.disable_png_caching_dna_sequences; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdia, t4); - t4 = t2.retain_strand_color_on_selection; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrr, t4); - t2 = t2.display_reverse_DNA_right_side_up; - J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_r, t2); - return t1; - } + A.StrandsMoveBuilder.prototype = { + get$strands_moving() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_moving; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_strands_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - $signature: 426 - }; - V.DesignMainPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - V.DesignMainComponent.prototype = { - get$consumedProps: function() { - var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_DesignMainPropsMixin_8aB], type$.legacy_Type)), - t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), - t3 = t1.$ti; - return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_SCwEo.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + get$strands_fixed() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_fixed; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); + t1.set$_strands_fixed(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - render$0: function(_) { - var t2, t3, t4, t5, t6, t7, t8, t9, main_elt, _this = this, _null = null, - t1 = _this._design_main$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainPropsMixin.has_error"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - return _null; - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$id(0, "main-view-group"); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMPrshh); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { - t3 = V.design_main_helices___$DesignMainHelices$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design().helices; - t3.toString; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.helices", t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); - J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.groups", t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(_this._design_main$_cachedTypedProps.get$design().get$helix_idxs_in_group()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchis, t4); - t4 = _this._design_main$_cachedTypedProps.get$design().geometry; - J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.geometry", t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrmo); - t4 = H._asNumS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcmo, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrmw); - t4 = H._asNumS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcmw, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrhc); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchc, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcsi, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHco, t4); - t4 = _this._design_main$_cachedTypedProps.get$show_dna(); - J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.show_dna", t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "DesignMainPropsMixin.show_domain_names"); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcshd, t4); - t4 = _this._design_main$_cachedTypedProps.get$show_helix_circles(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcshh, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_b); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdb, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_b_); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdb_, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_m); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdm, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_m_); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdm_, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchi_, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "DesignMainPropsMixin.invert_y"); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.invert_y", t4); - t5.set$key(t3, "helices"); - t2.push(t3.call$0()); - } - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.show_mismatches"); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { - t3 = O.design_main_dna_mismatches___$DesignMainDNAMismatches$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design(); - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), "DesignMainDNAMismatchesProps.design", t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMo, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMs, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMh, t4); - t5.set$key(t3, "mismatches"); - t2.push(t3.call$0()); - } - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMPrshd); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { - t3 = R.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design(); - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNd, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNo, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNs, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNh, t4); - t5.set$key(t3, "domain-name-mismatches"); - t2.push(t3.call$0()); - } - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMPrshu); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { - t3 = B.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design(); - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMUd, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMUo, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMUs, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure0(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMUh, t4); - t5.set$key(t3, "unpaired-insertion-deletions"); - t2.push(t3.call$0()); - } - if (_this._design_main$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_lines) { - t3 = Z.design_main_base_pair_lines___$DesignMainBasePairLines$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$show_base_pair_lines_with_mismatches(); - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLw, t4); - t4 = _this._design_main$_cachedTypedProps.get$design(); - J.$indexSet$ax(t5.get$props(t3), "DesignMainBasePairLinesProps.design", t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLo, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLs, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure1(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLh, t4); - t5.set$key(t3, "base-pair-lines"); - t2.push(t3.call$0()); - } - if (_this._design_main$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_rectangle) { - t3 = V.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$show_base_pair_lines_with_mismatches(); - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRw, t4); - t4 = _this._design_main$_cachedTypedProps.get$design(); - J.$indexSet$ax(t5.get$props(t3), "DesignMainBasePairRectangleProps.design", t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRo, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRs, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure2(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRh, t4); - t5.set$key(t3, "base-pair-rectangle"); - t2.push(t3.call$0()); - } - t3 = $.$get$ConnectedDesignMainStrands().call$0(); - J.set$key$z(t3, "strands"); - t2.push(t3.call$0()); - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.edit_modes"); - if (t3 == null) - t3 = _null; - if (type$.legacy_BuiltSet_legacy_EditModeChoice._as(t3)._set.contains$1(0, C.EditModeChoice_pencil)) { - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMPrdr); - t3 = !H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)); + get$helices() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); + t1.set$_strands_move$_helices(t2); + t1 = t2; } else - t3 = false; - if (t3) { - t3 = S.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrp); - if (t4 == null) - t4 = _null; - t5 = type$.legacy_BuiltList_legacy_PotentialVerticalCrossover; - t5._as(t4); - t3.toString; - t5._as(t4); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosp, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(_this._design_main$_cachedTypedProps.get$design().helices); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoshc, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoso, t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoss, t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosgr, t4); - t4 = _this._design_main$_cachedTypedProps.get$design().geometry; - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosge, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure3(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoshx, t4); - t5.set$key(t3, "potential-vertical-crossovers"); - t2.push(t3.call$0()); - } - if (_this._design_main$_cachedTypedProps.get$strand_creation() != null) { - t3 = R.design_main_strand_creating___$DesignMainStrandCreating$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$strand_creation().helix; - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.helix", t4); - t4 = _this._design_main$_cachedTypedProps.get$strand_creation().forward; - J.$indexSet$ax(t5.get$props(t3), string$.DesignMStCef, t4); - t4 = _this._design_main$_cachedTypedProps.get$strand_creation(); - t4 = t4.get$start(t4); - J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.start", t4); - t4 = _this._design_main$_cachedTypedProps.get$strand_creation(); - t4 = t4.get$end(t4); - J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.end", t4); - t4 = _this._design_main$_cachedTypedProps.get$strand_creation().color; - J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.color", t4); - t4 = type$.legacy_int; - t6 = type$.legacy_Helix; - t3.set$helices(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main$_cachedTypedProps.get$strand_creation().helix.idx, _this._design_main$_cachedTypedProps.get$strand_creation().helix], t4, t6), t4, t6)); - t6 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.group; - t4 = _this._design_main$_cachedTypedProps.get$design().groups; - t7 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.group; - t8 = type$.legacy_String; - t9 = type$.legacy_HelixGroup; - t3.set$groups(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t6, J.$index$asx(t4._map$_map, t7)], t8, t9), t8, t9)); - t5.set$geometry(t3, _this._design_main$_cachedTypedProps.get$design().geometry); - t9 = _this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map(); - t8 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.idx; - t8 = J.$index$asx(t9._map$_map, t8).y; - J.$indexSet$ax(t5.get$props(t3), string$.DesignMStCes, t8); - t5.set$key(t3, "strand-creating"); - t2.push(t3.call$0()); - } - if (H.boolConversionCheck(_this._design_main$_cachedTypedProps.get$show_dna())) { - t3 = M.design_main_dna_sequences___$DesignMainDNASequences$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design().helices; - t3.toString; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.helices", t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); - J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.groups", t4); - t4 = _this._design_main$_cachedTypedProps.get$design().geometry; - J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.geometry", t4); - t4 = type$.legacy_BuiltList_legacy_Strand._as(_this._design_main$_cachedTypedProps.get$design().strands); - J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.strands", t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSss, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnu); - t4 = H._asStringS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnu, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnh); - t4 = H._asNumS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnh, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnv); - t4 = H._asNumS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnv, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPri); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsi, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPre); - if (t4 == null) - t4 = _null; - type$.legacy_ExportSvg._as(t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSse, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSso, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsh, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdia); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdia, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrr); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsr, t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_r); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdip, t4); - t5.set$key(t3, "dna-sequences"); - t2.push(t3.call$0()); - } - if (H.boolConversionCheck(_this._design_main$_cachedTypedProps.get$show_loopout_extension_length())) { - t3 = Z.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design().geometry; - t3.toString; - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEsg, t4); - t4 = type$.legacy_BuiltList_legacy_Strand._as(_this._design_main$_cachedTypedProps.get$design().strands); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEsst, t4); - t4 = _this._design_main$_cachedTypedProps.get$show_loopout_extension_length(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEssh, t4); - t5.set$key(t3, "loopout-extension-length"); - t2.push(t3.call$0()); - } - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.show_slice_bar"); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) && _this._design_main$_cachedTypedProps.get$slice_bar_offset() != null) { - t3 = M.design_main_slice_bar___$DesignMainSliceBar$closure().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$design().helices; - t3.toString; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.helices", t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); - J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.groups", t4); - t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(_this._design_main$_cachedTypedProps.get$design().get$helix_idxs_in_group()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlhs, t4); - t4 = _this._design_main$_cachedTypedProps.get$design().geometry; - J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.geometry", t4); - t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMSls, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlo, t4); - t4 = _this._design_main$_cachedTypedProps.get$slice_bar_offset(); - J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.slice_bar_offset", t4); - t4 = _this._design_main$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMPrdipe); - t4 = H._asStringS(t4 == null ? _null : t4); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMSld, t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlh_, t4); - t5.set$key(t3, "slice-bar"); - t2.push(t3.call$0()); - } - t3 = $.$get$ConnectedPotentialCrossoverView().call$0(); - t3.toString; - t4 = J.getInterceptor$x(t3); - J.$indexSet$ax(t4.get$props(t3), "PotentialCrossoverViewProps.id", "potential-crossover-main"); - t4.set$key(t3, "potential-crossover"); - t2.push(t3.call$0()); - t3 = $.$get$ConnectedPotentialExtensionsView().call$0(); - t3.toString; - t4 = J.getInterceptor$x(t3); - J.$indexSet$ax(t4.get$props(t3), "PotentialExtensionsViewProps.id", "potential-extensions-main"); - t4.set$key(t3, "potential-extensions"); - t2.push(t3.call$0()); - t3 = $.$get$ConnectedSelectionBoxView().call$0(); - t3.set$stroke_width_getter(new V.DesignMainComponent_render_closure4()); - t3.set$is_main(true); - t4 = J.getInterceptor$x(t3); - t4.set$id(t3, "selection-box-main"); - t4.set$key(t3, "selection-box"); - t2.push(t3.call$0()); - t3 = $.$get$ConnectedSelectionRopeView().call$0(); - t3.toString; - t4 = type$.legacy_legacy_num_Function._as(new V.DesignMainComponent_render_closure5()); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.SelectR, t4); - J.$indexSet$ax(t5.get$props(t3), "SelectionRopeViewProps.is_main", true); - J.$indexSet$ax(t5.get$props(t3), "SelectionRopeViewProps.id", "selection-rope-main"); - t5.set$key(t3, "selection-rope"); - t2.push(t3.call$0()); - t3 = _this._design_main$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMPrhg); - if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { - t3 = $.$get$ConnectedHelixGroupMoving().call$0(); - t4 = _this._design_main$_cachedTypedProps.get$side_selected_helix_idxs(); - t3.toString; - type$.legacy_BuiltSet_legacy_int._as(t4); - t5 = J.getInterceptor$x(t3); - J.$indexSet$ax(t5.get$props(t3), string$.HelixGs, t4); - t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t5.get$props(t3), string$.HelixGo, t4); - t4 = _this._design_main$_cachedTypedProps.get$show_helix_circles(); - J.$indexSet$ax(t5.get$props(t3), "HelixGroupMovingProps.show_helix_circles", t4); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t5.get$props(t3), string$.HelixGh, t4); - t5.set$key(t3, "helix-group-moving"); - t2.push(t3.call$0()); + t1 = t2; + return t1; + }, + get$groups() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); + t1.set$_strands_move$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_helices_view_order_inverse() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.int; + t2 = A.MapBuilder_MapBuilder(B.Map_empty, t2, t2); + t1.set$_strands_move$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_address() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_original_address; + return t2 == null ? t1._strands_move$_original_address = new A.AddressBuilder() : t2; + }, + get$current_address() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_current_address; + return t2 == null ? t1._strands_move$_current_address = new A.AddressBuilder() : t2; + }, + get$_strands_move$_$this() { + var t1, t2, t3, _this = this, + $$v = _this._strands_move$_$v; + if ($$v != null) { + t1 = $$v.strands_moving; + t1.toString; + _this.set$_strands_moving(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.strands_fixed; + t1.toString; + _this.set$_strands_fixed(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_strands_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.groups; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_strands_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_strands_move$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.original_address; + t1 = new A.AddressBuilder(); + t3 = type$.Address; + A.ArgumentError_checkNotNull(t2, "other", t3); + t1._address$_$v = t2; + _this._strands_move$_original_address = t1; + t1 = $$v.current_address; + t2 = new A.AddressBuilder(); + A.ArgumentError_checkNotNull(t1, "other", t3); + t2._address$_$v = t1; + _this._strands_move$_current_address = t2; + _this._strands_move$_allowable = $$v.allowable; + _this._strands_move$_copy = $$v.copy; + _this._strands_move$_keep_color = $$v.keep_color; + _this._strands_move$_$v = null; } - t3 = $.$get$ConnectedDesignMainStrandsMoving().call$0(); - J.set$key$z(t3, "strands-moving"); - t2.push(t3.call$0()); - t3 = $.$get$ConnectedDesignMainDomainsMoving().call$0(); - J.set$key$z(t3, "domains-moving"); - t2.push(t3.call$0()); - main_elt = t1.call$1(t2); - return main_elt; - } - }; - V.DesignMainComponent_render_closure.prototype = { - call$2: function(helix_idx, svg_position) { - return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + return _this; }, - $signature: 43 - }; - V.DesignMainComponent_render_closure0.prototype = { - call$2: function(helix_idx, svg_position) { - return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + _strands_move$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, + _s11_ = "StrandsMove", + _s9_ = "allowable", + _s10_ = "keep_color", + _s14_ = "strands_moving", + _s13_ = "strands_fixed", + _s35_ = "original_helices_view_order_inverse", + _s16_ = "original_address", + _s15_ = "current_address", + _$result = null; + try { + _$result0 = _this._strands_move$_$v; + if (_$result0 == null) { + t1 = _this.get$strands_moving().build$0(); + t2 = _this.get$strands_fixed().build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$groups().build$0(); + t5 = _this.get$original_helices_view_order_inverse().build$0(); + t6 = _this.get$original_address()._address$_build$0(); + t7 = _this.get$current_address()._address$_build$0(); + t8 = type$.bool; + t9 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strands_move$_$this()._strands_move$_allowable, _s11_, _s9_, t8); + t10 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strands_move$_$this()._strands_move$_copy, _s11_, "copy", t8); + t11 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_strands_move$_$this()._strands_move$_keep_color, _s11_, _s10_, t8); + _$result0 = new A._$StrandsMove(t1, t2, t3, t4, t5, t6, t7, t9, t10, t11); + t12 = type$.BuiltList_Strand; + A.BuiltValueNullFieldError_checkNotNull(t1, _s11_, _s14_, t12); + A.BuiltValueNullFieldError_checkNotNull(t2, _s11_, _s13_, t12); + A.BuiltValueNullFieldError_checkNotNull(t3, _s11_, "helices", type$.BuiltMap_int_Helix); + A.BuiltValueNullFieldError_checkNotNull(t4, _s11_, "groups", type$.BuiltMap_String_HelixGroup); + A.BuiltValueNullFieldError_checkNotNull(t5, _s11_, _s35_, type$.BuiltMap_int_int); + t5 = type$.Address; + A.BuiltValueNullFieldError_checkNotNull(t6, _s11_, _s16_, t5); + A.BuiltValueNullFieldError_checkNotNull(t7, _s11_, _s15_, t5); + A.BuiltValueNullFieldError_checkNotNull(t9, _s11_, _s9_, t8); + A.BuiltValueNullFieldError_checkNotNull(t10, _s11_, "copy", t8); + A.BuiltValueNullFieldError_checkNotNull(t11, _s11_, _s10_, t8); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s14_; + _this.get$strands_moving().build$0(); + _$failedField._value = _s13_; + _this.get$strands_fixed().build$0(); + _$failedField._value = "helices"; + _this.get$helices().build$0(); + _$failedField._value = "groups"; + _this.get$groups().build$0(); + _$failedField._value = _s35_; + _this.get$original_helices_view_order_inverse().build$0(); + _$failedField._value = _s16_; + _this.get$original_address()._address$_build$0(); + _$failedField._value = _s15_; + _this.get$current_address()._address$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.StrandsMove; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._strands_move$_$v = t2; + return _$result; }, - $signature: 43 - }; - V.DesignMainComponent_render_closure1.prototype = { - call$2: function(helix_idx, svg_position) { - return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + set$_strands_moving(_strands_moving) { + this._strands_moving = type$.nullable_ListBuilder_Strand._as(_strands_moving); }, - $signature: 43 - }; - V.DesignMainComponent_render_closure2.prototype = { - call$2: function(helix_idx, svg_position) { - return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + set$_strands_fixed(_strands_fixed) { + this._strands_fixed = type$.nullable_ListBuilder_Strand._as(_strands_fixed); }, - $signature: 43 - }; - V.DesignMainComponent_render_closure3.prototype = { - call$2: function(helix_idx, svg_position) { - return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + set$_strands_move$_helices(_helices) { + this._strands_move$_helices = type$.nullable_MapBuilder_int_Helix._as(_helices); }, - $signature: 43 - }; - V.DesignMainComponent_render_closure4.prototype = { - call$0: function() { - var t1 = self.current_zoom_main(); - if (typeof t1 !== "number") - return H.iae(t1); - return 2 / t1; + set$_strands_move$_groups(_groups) { + this._strands_move$_groups = type$.nullable_MapBuilder_String_HelixGroup._as(_groups); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 65 + set$_strands_move$_original_helices_view_order_inverse(_original_helices_view_order_inverse) { + this._strands_move$_original_helices_view_order_inverse = type$.nullable_MapBuilder_int_int._as(_original_helices_view_order_inverse); + } }; - V.DesignMainComponent_render_closure5.prototype = { - call$0: function() { - var t1 = self.current_zoom_main(); - if (typeof t1 !== "number") - return H.iae(t1); - return 2 / t1; + A._StrandsMove_Object_BuiltJsonSerializable.prototype = {}; + A.UndoRedo.prototype = {}; + A.UndoRedo_UndoRedo_closure.prototype = { + call$1(u) { + var t1 = $.$get$DEFAULT_UndoRedo(); + A.ArgumentError_checkNotNull(t1, "other", type$.UndoRedo); + u._undo_redo$_$v = t1; + return u; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 65 + $signature: 399 }; - V.$DesignMainComponentFactory_closure.prototype = { - call$0: function() { - return new V._$DesignMainComponent(null); + A.UndoRedoItem.prototype = {}; + A.UndoRedoItem_UndoRedoItem_closure.prototype = { + call$1(b) { + var t1, t2; + b.get$_undo_redo$_$this()._short_description = this.short_description; + t1 = b.get$design(); + t2 = this.design; + A.ArgumentError_checkNotNull(t2, "other", type$.Design); + t1._design0$_$v = t2; + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 428 + $signature: 400 }; - V._$$DesignMainProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A._$UndoRedoItemSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + type$.UndoRedoItem._as(object); + return ["short_description", serializers.serialize$2$specifiedType(object.short_description, B.FullType_h8g), "design", serializers.serialize$2$specifiedType(object.design, B.FullType_WnR)]; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainComponentFactory() : t1; + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - $isDesignMainProps: 1 - }; - V._$$DesignMainProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main$_props; - } - }; - V._$$DesignMainProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main$_props; - } - }; - V._$DesignMainComponent.prototype = { - get$props: function(_) { - return this._design_main$_cachedTypedProps; + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, t2, value, t3, + result = new A.UndoRedoItemBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.Design; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t2) { + case "short_description": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asStringS(t2); + result.get$_undo_redo$_$this()._short_description = t2; + break; + case "design": + t2 = result.get$_undo_redo$_$this(); + t3 = t2._design; + if (t3 == null) { + t3 = new A.DesignBuilder(); + A.Design__initializeBuilder(t3); + t2._design = t3; + t2 = t3; + } else + t2 = t3; + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_WnR); + t3.toString; + t1._as(t3); + t2._design0$_$v = t3; + break; + } + } + return result._undo_redo$_build$0(); }, - set$props: function(_, value) { - this.props = value; - this._design_main$_cachedTypedProps = V._$$DesignMainProps$JsMap$(R.getBackingMap(value)); + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$displayName: function(_) { - return "DesignMain"; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_y1j; }, - get$$$defaultConsumedProps: function() { - return C.Map_SCwEo.get$values(C.Map_SCwEo); + get$wireName() { + return "UndoRedoItem"; } }; - V.$DesignMainPropsMixin.prototype = { - get$design: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.design"); - if (t1 == null) - t1 = null; - return type$.legacy_Design._as(t1); - }, - get$side_selected_helix_idxs: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrsi); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltSet_legacy_int._as(t1); + A._$UndoRedo.prototype = { + rebuild$1(updates) { + var t1, t2, t3, t4; + type$.void_Function_UndoRedoBuilder._as(updates); + t1 = new A.UndoRedoBuilder(); + t2 = type$.UndoRedoItem; + t3 = type$.nullable_ListBuilder_UndoRedoItem; + t4 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(A.ListBuilder_ListBuilder(B.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + A.ArgumentError_checkNotNull(this, "other", type$.UndoRedo); + t1._undo_redo$_$v = this; + type$.nullable_void_Function_UndoRedoBuilder._as(updates).call$1(t1); + return t1._undo_redo$_build$0(); }, - get$strand_creation: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.strand_creation"); - if (t1 == null) - t1 = null; - return type$.legacy_StrandCreation._as(t1); + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.UndoRedo && J.$eq$(this.undo_stack, other.undo_stack) && J.$eq$(this.redo_stack, other.redo_stack); }, - set$has_error: function(value) { - J.$indexSet$ax(this.get$props(this), "DesignMainPropsMixin.has_error", value); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._undo_redo$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.undo_stack)), J.get$hashCode$(_this.redo_stack))); + t1 = _this._undo_redo$__hashCode; + if (t1 == null) { + _this._undo_redo$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - get$show_dna: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.show_dna"); - return H._asBoolS(t1 == null ? null : t1); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "undo_stack", this.undo_stack); + t2.add$2(t1, "redo_stack", this.redo_stack); + return t2.toString$0(t1); + } + }; + A.UndoRedoBuilder.prototype = { + get$undo_stack() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._undo_stack; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.UndoRedoItem); + t1.set$_undo_stack(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$base_pair_display_type: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrb); - if (t1 == null) - t1 = null; - return type$.legacy_BasePairDisplayType._as(t1); + get$redo_stack() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._redo_stack; + if (t2 == null) { + t2 = A.ListBuilder_ListBuilder(B.List_empty, type$.UndoRedoItem); + t1.set$_redo_stack(t2); + t1 = t2; + } else + t1 = t2; + return t1; }, - get$show_base_pair_lines_with_mismatches: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrshb_); - return H._asBoolS(t1 == null ? null : t1); + get$_undo_redo$_$this() { + var t1, _this = this, + $$v = _this._undo_redo$_$v; + if ($$v != null) { + t1 = $$v.undo_stack; + t1.toString; + _this.set$_undo_stack(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.redo_stack; + t1.toString; + _this.set$_redo_stack(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._undo_redo$_$v = null; + } + return _this; }, - get$only_display_selected_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPro); - return H._asBoolS(t1 == null ? null : t1); + _undo_redo$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s8_ = "UndoRedo", + _s10_ = "undo_stack", + _s10_0 = "redo_stack", + _$result = null; + try { + _$result0 = _this._undo_redo$_$v; + if (_$result0 == null) { + t1 = _this.get$undo_stack().build$0(); + t2 = _this.get$redo_stack().build$0(); + _$result0 = new A._$UndoRedo(t1, t2); + t3 = type$.BuiltList_UndoRedoItem; + A.BuiltValueNullFieldError_checkNotNull(t1, _s8_, _s10_, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s8_, _s10_0, t3); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s10_; + _this.get$undo_stack().build$0(); + _$failedField._value = _s10_0; + _this.get$redo_stack().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s8_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.UndoRedo; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._undo_redo$_$v = t2; + return _$result; }, - get$show_helix_circles: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.show_helix_circles"); - return H._asBoolS(t1 == null ? null : t1); + set$_undo_stack(_undo_stack) { + this._undo_stack = type$.nullable_ListBuilder_UndoRedoItem._as(_undo_stack); }, - get$show_loopout_extension_length: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrshl); - return H._asBoolS(t1 == null ? null : t1); + set$_redo_stack(_redo_stack) { + this._redo_stack = type$.nullable_ListBuilder_UndoRedoItem._as(_redo_stack); + } + }; + A._$UndoRedoItem.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof A.UndoRedoItem && this.short_description === other.short_description && J.$eq$(this.design, other.design); }, - get$slice_bar_offset: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.slice_bar_offset"); - return H._asIntS(t1 == null ? null : t1); + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._undo_redo$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.short_description)), J.get$hashCode$(_this.design))); + t1 = _this._undo_redo$__hashCode; + if (t1 == null) { + _this._undo_redo$__hashCode = _$hash; + t1 = _$hash; + } + return t1; }, - get$helix_idx_to_svg_position_map: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrhi); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + toString$0(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedoItem"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "short_description", this.short_description); + t2.add$2(t1, "design", this.design); + return t2.toString$0(t1); } }; - V.__$$DesignMainProps_UiProps_DesignMainPropsMixin.prototype = {}; - V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin.prototype = {}; - Q.ConnectedDesignMainArrows_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4; - type$.legacy_AppState._as(state); - t1 = Q.design_main_arrows___$DesignMainArrows$closure().call$0(); - t2 = state.ui_state.storables; - t3 = t2.invert_y; - t1.toString; - t4 = J.getInterceptor$x(t1); - J.$indexSet$ax(t4.get$props(t1), "DesignMainArrowsProps.invert_y", t3); - t2 = t2.show_helices_axis_arrows; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMA, t2); + A.UndoRedoItemBuilder.prototype = { + get$design() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._design; + if (t2 == null) { + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + t1._design = t2; + t1 = t2; + } else + t1 = t2; return t1; }, - $signature: 429 - }; - Q.DesignMainArrowsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - Q.DesignMainArrowsComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, _this = this, _null = null, _s4_ = "none", _s3_ = "red", - _s10_ = "axis-arrow", - _s8_ = "x_circle", - _s63_ = string$.M_0_0_, - svg_center_y = H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, - t1 = _this._design_main_arrows$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMA); - if (H._asBoolS(t1 == null ? _null : t1) === true) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "arrow-group"); - t1.set$transform(0, "translate(20, " + H.S(svg_center_y) + ")"); - t2 = A.SvgProps$($.$get$title(), _null); - t2.set$key(0, "title"); - t3 = type$.JSArray_legacy_ReactElement; - t2 = H.setRuntimeTypeInfo([t2.call$1(H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? "\u29bb - Into the screen" : "\u2299 - Out of the screen")], t3); - if (H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y())) { - t4 = A.SvgProps$($.$get$path(), _null); - t4.set$key(0, "x"); - t4.set$d(0, string$.M__6_3); - t4.set$fill(0, _s4_); - t4.set$stroke(0, _s3_); - t4.set$className(0, _s10_); - t4 = t4.call$0(); - t5 = A.SvgProps$($.$get$circle(), _null); - t5.set$key(0, _s8_); - t5.set$r(0, 10); - t5.set$stroke(0, _s3_); - t5.set$fill(0, _s4_); - t5.set$className(0, _s10_); - C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t4, t5.call$0()], t3)); + get$_undo_redo$_$this() { + var t1, t2, _this = this, + $$v = _this._undo_redo$_$v; + if ($$v != null) { + _this._short_description = $$v.short_description; + t1 = $$v.design; + t1.toString; + t2 = new A.DesignBuilder(); + A.Design__initializeBuilder(t2); + A.ArgumentError_checkNotNull(t1, "other", type$.Design); + t2._design0$_$v = t1; + _this._design = t2; + _this._undo_redo$_$v = null; + } + return _this; + }, + _undo_redo$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s12_ = "UndoRedoItem", + _s17_ = "short_description", + _$result = null; + try { + _$result0 = _this._undo_redo$_$v; + if (_$result0 == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_undo_redo$_$this()._short_description, _s12_, _s17_, t1); + t3 = _this.get$design()._design0$_build$0(); + _$result0 = new A._$UndoRedoItem(t2, t3); + A.BuiltValueNullFieldError_checkNotNull(t2, _s12_, _s17_, t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, "design", type$.Design); } - t4 = A.SvgProps$($.$get$path(), _null); - t4.set$key(0, "z_path"); - t4.set$transform(0, "rotate(90)"); - t4.set$d(0, _s63_); - t4.set$fill(0, _s4_); - t4.set$stroke(0, "blue"); - t4.set$className(0, _s10_); - t2.push(t4.call$0()); - t4 = A.SvgProps$($.$get$path(), _null); - t4.set$key(0, "y_path"); - t4.set$transform(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(0)" : "rotate(180)"); - t4.set$d(0, _s63_); - t4.set$fill(0, _s4_); - t4.set$stroke(0, "green"); - t4.set$className(0, _s10_); - t2.push(t4.call$0()); - if (!H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y())) { - t4 = A.SvgProps$($.$get$circle(), _null); - t4.set$key(0, "dot"); - t4.set$r(0, "2"); - t4.set$stroke(0, _s3_); - t4.set$fill(0, _s3_); - t4.set$className(0, _s10_); - t4 = t4.call$0(); - t5 = A.SvgProps$($.$get$circle(), _null); - t5.set$key(0, _s8_); - t5.set$r(0, 10); - t5.set$stroke(0, _s3_); - t5.set$fill(0, _s4_); - t5.set$className(0, _s10_); - C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t4, t5.call$0()], t3)); + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = "design"; + _this.get$design()._design0$_build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); } - t3 = A.SvgProps$($.$get$text(), _null); - t3.set$key(0, "x-axis-label"); - t3.set$x(0, 10); - t3.set$y(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? -10 : 27); - t4 = type$.legacy_String; - t5 = type$.dynamic; - t6 = type$.legacy_Map_of_legacy_String_and_dynamic; - t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t4, t5))); - t2.push(t3.call$1("X")); - t3 = A.SvgProps$($.$get$text(), _null); - t3.set$key(0, "y-axis-label"); - t3.set$x(0, -6); - t3.set$y(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? -48.5 : 61.5); - t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t4, t5))); - t2.push(t3.call$1("Y")); - t3 = A.SvgProps$($.$get$text(), _null); - t3.set$key(0, "z-axis-label"); - t3.set$x(0, 48.5); - t3.set$y(0, 6.5); - t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t4, t5))); - t2.push(t3.call$1("Z")); - return t1.call$1(t2); - } else - return A.SvgProps$($.$get$g(), _null).call$0(); + throw exception; + } + t1 = type$.UndoRedoItem; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._undo_redo$_$v = t2; + return _$result; } }; - Q.$DesignMainArrowsComponentFactory_closure0.prototype = { - call$0: function() { - return new Q._$DesignMainArrowsComponent0(null); + A._UndoRedo_Object_BuiltJsonSerializable.prototype = {}; + A._UndoRedoItem_Object_BuiltJsonSerializable.prototype = {}; + A.UnusedFields.prototype = {}; + A.VendorFields.prototype = {}; + A.VendorFields_VendorFields_closure.prototype = { + call$1(b) { + var t1, _this = this; + b.get$_vendor_fields$_$this()._scale = _this.scale; + b.get$_vendor_fields$_$this()._purification = _this.purification; + b.get$_vendor_fields$_$this()._plate = _this.plate; + b.get$_vendor_fields$_$this()._well = _this.well; + t1 = type$.dynamic; + t1 = type$.nullable_MapBuilder_String_dynamic._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.String, t1)); + b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + return b; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 430 + $signature: 401 }; - Q._$$DesignMainArrowsProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A.VendorFields_from_json_closure.prototype = { + call$1(b) { + var t1 = this.unused_fields; + type$.nullable_MapBuilder_String_dynamic._as(t1); + b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + return t1; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainArrowsComponentFactory0() : t1; - } - }; - Q._$$DesignMainArrowsProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_arrows$_props; - } - }; - Q._$$DesignMainArrowsProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_arrows$_props; - } + $signature: 402 }; - Q._$DesignMainArrowsComponent0.prototype = { - get$props: function(_) { - return this._design_main_arrows$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_arrows$_cachedTypedProps = Q._$$DesignMainArrowsProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignMainArrows"; + A._$VendorFieldsSerializer.prototype = { + serialize$3$specifiedType(serializers, object, specifiedType) { + var result, value; + type$.VendorFields._as(object); + result = ["scale", serializers.serialize$2$specifiedType(object.scale, B.FullType_h8g), "purification", serializers.serialize$2$specifiedType(object.purification, B.FullType_h8g)]; + value = object.plate; + if (value != null) { + result.push("plate"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + value = object.well; + if (value != null) { + result.push("well"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + } + return result; }, - get$$$defaultConsumedProps: function() { - return C.Map_gk6D9.get$values(C.Map_gk6D9); - } - }; - Q.$DesignMainArrowsProps.prototype = { - get$invert_y: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainArrowsProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); - } - }; - Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps.prototype = {}; - Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps.prototype = {}; - Z.DesignMainBasePairLinesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - Z.DesignMainBasePairLinesComponent.prototype = { - render$0: function(_) { - var base_pair_lines_components, - t1 = $.app.store; - t1 = t1.get$state(t1).design.strands; - t1.toString; - base_pair_lines_components = this.create_base_pair_lines_components$1(X.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, "base-pair-lines-main-view"); - return t1.call$1(base_pair_lines_components); + serialize$2(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, - create_base_pair_lines_components$1: function(strands) { - var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, helix, t10, group, t11, translate_svg, transform_str, helix_components, svg_position_y, base_svg_forward_pos, base_svg_reverse_pos, t12, t13, _this = this, _null = null, - _s35_ = "DesignMainBasePairLinesProps.design"; - type$.legacy_BuiltSet_legacy_Strand._as(strands); - t1 = type$.JSArray_legacy_ReactElement; - base_pair_lines_components = H.setRuntimeTypeInfo([], t1); - t2 = _this._design_main_base_pair_lines$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMBLw); - t2 = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)); - t3 = _this._design_main_base_pair_lines$_cachedTypedProps; - base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); - for (t2 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t3 = type$.legacy_BuiltSet_legacy_int, t4 = base_pairs._map$_map, t5 = J.getInterceptor$asx(t4), t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t7 = type$.legacy_Design; t2.moveNext$0();) { - t8 = t2.get$current(t2); - t9 = _this._design_main_base_pair_lines$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMBLo); - if (H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9))) { - t9 = _this._design_main_base_pair_lines$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMBLs); - t9 = t3._as(t9 == null ? _null : t9)._set.contains$1(0, t8); - } else - t9 = true; - if (t9) { - t9 = _this._design_main_base_pair_lines$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, _s35_); - helix = J.$index$asx(t7._as(t9 == null ? _null : t9).helices._map$_map, t8); - t9 = _this._design_main_base_pair_lines$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, _s35_); - t9 = t7._as(t9 == null ? _null : t9).groups; - t10 = helix.group; - group = J.$index$asx(t9._map$_map, t10); - t10 = _this._design_main_base_pair_lines$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s35_); - t9 = t7._as(t10 == null ? _null : t10).geometry; - t10 = group.position; - t11 = t9.__nm_to_svg_pixels; - t9 = t11 == null ? t9.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t9) : t11; - translate_svg = X.Position3D_Position3D(t10.x * t9, t10.y * t9, t10.z * t9); - transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; - helix_components = H.setRuntimeTypeInfo([], t1); - for (t9 = J.get$iterator$ax(t5.$index(t4, t8)._list); t9.moveNext$0();) { - t10 = t9.get$current(t9); - t11 = _this._design_main_base_pair_lines$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, string$.DesignMBLh); - svg_position_y = J.$index$asx(t6._as(t11 == null ? _null : t11)._map$_map, t8); - base_svg_forward_pos = helix.svg_base_pos$3(t10, true, svg_position_y); - base_svg_reverse_pos = helix.svg_base_pos$3(t10, false, svg_position_y); - t11 = $.$get$line(); - t12 = {}; - t12 = new L.JsBackedMap(t12); - t11 = new A.SvgProps(t11, t12, _null, _null); - t11.get$$$isClassGenerated(); - t13 = t12.jsObject; - t13.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t8) + "-" + H.S(t10)); - t13.x1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); - t13.y1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); - t13.x2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); - t13.y2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); - t13.className = F.DartValueWrapper_wrapIfNeeded("base-pair-line"); - t13.stroke = F.DartValueWrapper_wrapIfNeeded("black"); - t10 = "base-pair-line-H" + H.S(t8) + "-" + H.S(t10); - t12.$indexSet(0, "key", t10); - C.JSArray_methods.add$1(helix_components, t11.call$0()); - } - t9 = $.$get$g(); - t10 = {}; - t10 = new L.JsBackedMap(t10); - t9 = new A.SvgProps(t9, t10, _null, _null); - t9.get$$$isClassGenerated(); - t11 = t10.jsObject; - t11.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); - t11.className = F.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); - t8 = "base-pair-lines-components-in-helix-H" + H.S(t8); - t10.$indexSet(0, "key", t8); - C.JSArray_methods.add$1(base_pair_lines_components, t9.call$1(helix_components)); + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + var t1, value, + result = new A.VendorFieldsBuilder(), + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (; iterator.moveNext$0();) { + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (t1) { + case "scale": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_vendor_fields$_$this()._scale = t1; + break; + case "purification": + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); + result.get$_vendor_fields$_$this()._purification = t1; + break; + case "plate": + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_vendor_fields$_$this()._plate = t1; + break; + case "well": + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + result.get$_vendor_fields$_$this()._well = t1; + break; } } - return base_pair_lines_components; - } - }; - Z.$DesignMainBasePairLinesComponentFactory_closure.prototype = { - call$0: function() { - return new Z._$DesignMainBasePairLinesComponent(null); + return result._vendor_fields$_build$0(); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 431 - }; - Z._$$DesignMainBasePairLinesProps.prototype = { - get$$$isClassGenerated: function() { - return true; + deserialize$2(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainBasePairLinesComponentFactory() : t1; + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types() { + return B.List_zLk; + }, + get$wireName() { + return "VendorFields"; } }; - Z._$$DesignMainBasePairLinesProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_base_pair_lines$_props; + A._$VendorFields.prototype = { + $eq(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof A.VendorFields && _this.scale === other.scale && _this.purification === other.purification && _this.plate == other.plate && _this.well == other.well && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode(_) { + var _$hash, _this = this, + t1 = _this._vendor_fields$__hashCode; + if (t1 != null) + return t1; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.scale)), B.JSString_methods.get$hashCode(_this.purification)), J.get$hashCode$(_this.plate)), J.get$hashCode$(_this.well)), J.get$hashCode$(_this.unused_fields))); + t1 = _this._vendor_fields$__hashCode; + if (t1 == null) { + _this._vendor_fields$__hashCode = _$hash; + t1 = _$hash; + } + return t1; + }, + toString$0(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFields"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "scale", _this.scale); + t2.add$2(t1, "purification", _this.purification); + t2.add$2(t1, "plate", _this.plate); + t2.add$2(t1, "well", _this.well); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); } }; - Z._$$DesignMainBasePairLinesProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_base_pair_lines$_props; + A.VendorFieldsBuilder.prototype = { + get$unused_fields() { + var t1 = this.get$_vendor_fields$_$this(), + t2 = t1._vendor_fields$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.dynamic); + t1.set$_vendor_fields$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_vendor_fields$_$this() { + var t1, t2, _this = this, + $$v = _this._vendor_fields$_$v; + if ($$v != null) { + _this._scale = $$v.scale; + _this._purification = $$v.purification; + _this._plate = $$v.plate; + _this._well = $$v.well; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_vendor_fields$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._vendor_fields$_$v = null; + } + return _this; + }, + _vendor_fields$_build$0() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s12_ = "VendorFields", + _s12_0 = "purification", + _s13_ = "unused_fields", + _$result = null; + try { + _$result0 = _this._vendor_fields$_$v; + if (_$result0 == null) { + t1 = type$.String; + t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_vendor_fields$_$this()._scale, _s12_, "scale", t1); + t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_vendor_fields$_$this()._purification, _s12_, _s12_0, t1); + t4 = _this.get$_vendor_fields$_$this()._plate; + t5 = _this.get$_vendor_fields$_$this()._well; + t6 = _this.get$unused_fields().build$0(); + _$result0 = new A._$VendorFields(t2, t3, t4, t5, t6); + A.BuiltValueNullFieldError_checkNotNull(t2, _s12_, "scale", t1); + A.BuiltValueNullFieldError_checkNotNull(t3, _s12_, _s12_0, t1); + A.BuiltValueNullFieldError_checkNotNull(t6, _s12_, _s13_, type$.BuiltMap_String_dynamic); + } + _$result = _$result0; + } catch (exception) { + _$failedField = A._Cell$named("_$failedField"); + try { + _$failedField._value = _s13_; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); + throw A.wrapException(t1); + } + throw exception; + } + t1 = type$.VendorFields; + t2 = t1._as(_$result); + A.ArgumentError_checkNotNull(t2, "other", t1); + _this._vendor_fields$_$v = t2; + return _$result; + }, + set$_vendor_fields$_unused_fields(_unused_fields) { + this._vendor_fields$_unused_fields = type$.nullable_MapBuilder_String_dynamic._as(_unused_fields); + } + }; + A._VendorFields_Object_BuiltJsonSerializable.prototype = {}; + A._VendorFields_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + A.ColorCycler.prototype = { + next$0(_) { + var next_color, + t1 = $.$get$ColorCycler_colors(), + t2 = this.idx; + if (!(t2 < 13)) + return A.ioore(t1, t2); + next_color = t1[t2]; + this.idx = (t2 + 1) % 13; + return next_color; } }; - Z._$DesignMainBasePairLinesComponent.prototype = { - get$props: function(_) { - return this._design_main_base_pair_lines$_cachedTypedProps; + A.are_all_close_closure.prototype = { + call$1(pair) { + var t1, t2; + type$.List_double._as(pair); + t1 = J.getInterceptor$asx(pair); + t2 = t1.$index(pair, 0); + t1 = t1.$index(pair, 1); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return A.iae(t1); + return Math.abs(t2 - t1) < this.epsilon; + }, + $signature: 403 + }; + A.get_text_file_content_closure.prototype = { + call$1($content) { + return A._asStringS($content); + }, + $signature: 27 + }; + A.get_binary_file_content_closure.prototype = { + call$1(request) { + return type$.FutureOr_ByteBuffer._as(A._convertNativeToDart_XHR_Response(type$.HttpRequest._as(request).response)); }, - set$props: function(_, value) { - this.props = value; - this._design_main_base_pair_lines$_cachedTypedProps = Z._$$DesignMainBasePairLinesProps$JsMap$(R.getBackingMap(value)); + $signature: 404 + }; + A.dialog_closure.prototype = { + call$1(b) { + var t1 = type$.nullable_void_Function_nullable_List_DialogItem._as(new A.dialog__closure(this.completer)); + b.get$_dialog$_$this().set$_on_submit(t1); + return b; }, - get$displayName: function(_) { - return "DesignMainBasePairLines"; + $signature: 405 + }; + A.dialog__closure.prototype = { + call$1(items) { + this.completer.complete$1(0, type$.nullable_List_DialogItem._as(items)); }, - get$$$defaultConsumedProps: function() { - return C.Map_67ECL.get$values(C.Map_67ECL); + $signature: 406 + }; + A.Version.prototype = {}; + A.HexGridCoordinateSystem.prototype = { + _enumToString$0() { + return "HexGridCoordinateSystem." + this._core$_name; } }; - Z.$DesignMainBasePairLinesProps.prototype = { - get$design: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairLinesProps.design"); - if (t1 == null) - t1 = null; - return type$.legacy_Design._as(t1); + A.Pan.prototype = {}; + A.BlobType.prototype = { + _enumToString$0() { + return "BlobType." + this._core$_name; } }; - Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent.prototype = {}; - Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps.prototype = {}; - Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps.prototype = {}; - V.DesignMainBasePairRectangleProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - V.DesignMainBasePairRectangleComponent.prototype = { - render$0: function(_) { - var base_pair_lines_components, - t1 = $.app.store; - t1 = t1.get$state(t1).design.strands; - t1.toString; - base_pair_lines_components = this.create_base_pair_lines_components$1(X.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, "base-pair-lines-main-view"); - return t1.call$1(base_pair_lines_components); + A.copy_svg_as_png_closure.prototype = { + call$1($event) { + return this.$call$body$copy_svg_as_png_closure(type$.Event._as($event)); }, - create_base_pair_lines_components$1: function(strands) { - var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, t10, helix, t11, group, t12, translate_svg, transform_str, helix_components, last_svg_forward_pos, last_offset, svg_position_y, base_svg_forward_pos, base_svg_reverse_pos, t13, t14, t15, t16, t17, base_pair_ele, _this = this, _null = null, - _s39_ = "DesignMainBasePairRectangleProps.design"; - type$.legacy_BuiltSet_legacy_Strand._as(strands); - t1 = type$.JSArray_legacy_ReactElement; - base_pair_lines_components = H.setRuntimeTypeInfo([], t1); - t2 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMBRw); - t2 = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)); - t3 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); - for (t2 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t3 = type$.legacy_BuiltSet_legacy_int, t4 = base_pairs._map$_map, t5 = J.getInterceptor$asx(t4), t6 = type$.legacy_ReactElement, t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t8 = type$.legacy_Design; t2.moveNext$0();) { - t9 = t2.get$current(t2); - t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMBRo); - if (H.boolConversionCheck(H._asBoolS(t10 == null ? _null : t10))) { - t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMBRs); - t10 = t3._as(t10 == null ? _null : t10)._set.contains$1(0, t9); - } else - t10 = true; - if (t10) { - t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s39_); - helix = J.$index$asx(t8._as(t10 == null ? _null : t10).helices._map$_map, t9); - t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s39_); - t10 = t8._as(t10 == null ? _null : t10).groups; - t11 = helix.group; - group = J.$index$asx(t10._map$_map, t11); - t11 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s39_); - t10 = t8._as(t11 == null ? _null : t11).geometry; - t11 = group.position; - t12 = t10.__nm_to_svg_pixels; - t10 = t12 == null ? t10.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t10) : t12; - translate_svg = X.Position3D_Position3D(t11.x * t10, t11.y * t10, t11.z * t10); - transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; - helix_components = H.setRuntimeTypeInfo([], t1); - for (t10 = J.get$iterator$ax(t5.$index(t4, t9)._list), last_svg_forward_pos = _null, last_offset = -2; t10.moveNext$0(); last_svg_forward_pos = base_svg_forward_pos, last_offset = t11) { - t11 = t10.get$current(t10); - t12 = _this._design_main_base_pair_rectangle$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, string$.DesignMBRh); - svg_position_y = J.$index$asx(t7._as(t12 == null ? _null : t12)._map$_map, t9); - base_svg_forward_pos = helix.svg_base_pos$3(t11, true, svg_position_y); - base_svg_reverse_pos = helix.svg_base_pos$3(t11, false, svg_position_y); - if (typeof t11 !== "number") - return t11.$sub(); - if (t11 - last_offset === 1) { - t12 = $.$get$rect(); - t13 = {}; - t13 = new L.JsBackedMap(t13); - t12 = new A.SvgProps(t12, t13, _null, _null); - t12.get$$$isClassGenerated(); - t14 = t13.jsObject; - t14.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t9) + "-" + t11); - t15 = last_svg_forward_pos.x; - if (typeof t15 !== "number") - return t15.$sub(); - t14.x = F.DartValueWrapper_wrapIfNeeded(t15 - 0.5); - t16 = base_svg_forward_pos.y; - t14.y = F.DartValueWrapper_wrapIfNeeded(t16); - t17 = base_svg_reverse_pos.x; - if (typeof t17 !== "number") - return t17.$sub(); - t14.width = F.DartValueWrapper_wrapIfNeeded(t17 - t15 + 0.8); - t15 = base_svg_reverse_pos.y; - if (typeof t15 !== "number") - return t15.$sub(); - if (typeof t16 !== "number") - return H.iae(t16); - t14.height = F.DartValueWrapper_wrapIfNeeded(t15 - t16); - t14.className = F.DartValueWrapper_wrapIfNeeded("base-pair-rect"); - t14.fill = F.DartValueWrapper_wrapIfNeeded("grey"); - t14 = "base-pair-rect-H" + H.S(t9) + "-" + t11; - t13.$indexSet(0, "key", t14); - base_pair_ele = t12.call$0(); - } else { - t12 = $.$get$line(); - t13 = {}; - t13 = new L.JsBackedMap(t13); - t12 = new A.SvgProps(t12, t13, _null, _null); - t12.get$$$isClassGenerated(); - t14 = t13.jsObject; - t14.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t9) + "-" + t11); - t14.x1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); - t14.y1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); - t14.x2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); - t14.y2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); - t14.className = F.DartValueWrapper_wrapIfNeeded("base-pair-line"); - t14.stroke = F.DartValueWrapper_wrapIfNeeded("grey"); - t14 = "base-pair-line-H" + H.S(t9) + "-" + t11; - t13.$indexSet(0, "key", t14); - base_pair_ele = t12.call$0(); - } - C.JSArray_methods.add$1(helix_components, t6._as(base_pair_ele)); + $call$body$copy_svg_as_png_closure($event) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.Null), + $async$self = this, canvasCtx, imgData, e, canvas, t1, t2; + var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + e = document.createElement("canvas"); + canvas = e; + t1 = $async$self.svg_element; + t2 = t1.viewBox.baseVal.width; + t2.toString; + J.set$width$x(canvas, A._asIntS(t2 * 2)); + t1 = t1.viewBox.baseVal.height; + t1.toString; + J.set$height$x(canvas, A._asIntS(t1 * 2)); + canvasCtx = canvas.getContext("2d"); + t1 = $async$self.svgImage; + J.drawImage$3$x(canvasCtx, t1, 0, 0); + $async$goto = 2; + return A._asyncAwait(J.toBlob$1$x(canvas, "image/png"), $async$call$1); + case 2: + // returning from await. + imgData = $async$result; + self.clipboard_write("image/png", imgData); + B.ImageElement_methods.remove$0(t1); + (self.URL || self.webkitURL).revokeObjectURL($async$self.svgUrl); + // implicit return + return A._asyncReturn(null, $async$completer); } - t10 = $.$get$g(); - t11 = {}; - t11 = new L.JsBackedMap(t11); - t10 = new A.SvgProps(t10, t11, _null, _null); - t10.get$$$isClassGenerated(); - t12 = t11.jsObject; - t12.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); - t12.className = F.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); - t9 = "base-pair-lines-components-in-helix-H" + H.S(t9); - t11.$indexSet(0, "key", t9); - C.JSArray_methods.add$1(base_pair_lines_components, t10.call$1(helix_components)); - } - } - return base_pair_lines_components; - } + }); + return A._asyncStartSync($async$call$1, $async$completer); + }, + $signature: 407 }; - V.$DesignMainBasePairRectangleComponentFactory_closure.prototype = { - call$0: function() { - return new V._$DesignMainBasePairRectangleComponent(null); + A.wc_closure.prototype = { + call$1(base) { + return A.wc_base(A._asStringS(base)); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 432 + $signature: 27 }; - V._$$DesignMainBasePairRectangleProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A.svg_to_png_data_closure.prototype = { + call$1(_) { + var img_uri, _this = this; + _this.ctx.drawImage(_this.img, 0, 0); + (self.URL || self.webkitURL).revokeObjectURL(_this.url); + img_uri = B.CanvasElement_methods._toDataUrl$2(_this.canvas, "image/png", null); + $.__app._readField$0().dispatch$1(A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(img_uri, -_this.dna_sequence_png_horizontal_offset, -_this.dna_sequence_png_vertical_offset)); }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainBasePairRectangleComponentFactory() : t1; - } + $signature: 19 }; - V._$$DesignMainBasePairRectangleProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_base_pair_rectangle$_props; - } + A.async_alert_closure.prototype = { + call$0() { + return B.Window_methods.alert$1(window, this.msg); + }, + $signature: 0 }; - V._$$DesignMainBasePairRectangleProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_base_pair_rectangle$_props; - } + A.average_angle_closure.prototype = { + call$2(a, b) { + A._asDoubleS(a); + A._asDoubleS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return A.iae(b); + return a + b; + }, + $signature: 408 }; - V._$DesignMainBasePairRectangleComponent.prototype = { - get$props: function(_) { - return this._design_main_base_pair_rectangle$_cachedTypedProps; + A.FixedList.prototype = { + _util$_set$2(index, value) { + J.$indexSet$ax(this._util$_items, index, this.$ti._precomputed1._as(value)); + B.JSArray_methods.$indexSet(this._initialized, index, true); + }, + _get$1(_, index) { + var t1; + if (!B.JSArray_methods.$index(this._initialized, index)) + throw A.wrapException(A.StateError$("Item at index " + A.S(index) + " has not been initialized")); + t1 = J.$index$asx(this._util$_items, index); + t1.toString; + return t1; + }, + $indexSet(_, index, value) { + A._asIntS(index); + J.$indexSet$ax(this._util$_items, index, this.$ti._precomputed1._as(value)); + B.JSArray_methods.$indexSet(this._initialized, index, true); + return null; }, - set$props: function(_, value) { - this.props = value; - this._design_main_base_pair_rectangle$_cachedTypedProps = V._$$DesignMainBasePairRectangleProps$JsMap$(R.getBackingMap(value)); + $index(_, index) { + return this._get$1(0, A._asIntS(index)); }, - get$displayName: function(_) { - return "DesignMainBasePairRectangle"; + get$length(_) { + return J.get$length$asx(this._util$_items); }, - get$$$defaultConsumedProps: function() { - return C.Map_ZRMrB.get$values(C.Map_ZRMrB); + get$iterator(_) { + return new A._FixedListIterator(this, this.$ti._eval$1("_FixedListIterator<1>")); + }, + elementAt$1(_, index) { + return this._get$1(0, index); } }; - V.$DesignMainBasePairRectangleProps.prototype = { - get$design: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairRectangleProps.design"); - if (t1 == null) - t1 = null; - return type$.legacy_Design._as(t1); - } + A._FixedListIterator.prototype = { + get$current(_) { + var t2, _this = this, + t1 = _this._util$_index; + if (t1 >= 0) { + t2 = J.get$length$asx(_this._util$_list._util$_items); + if (typeof t2 !== "number") + return A.iae(t2); + t2 = t1 >= t2; + t1 = t2; + } else + t1 = true; + if (t1) + throw A.wrapException(A.StateError$("No element")); + return _this._util$_list._get$1(0, _this._util$_index); + }, + moveNext$0() { + var t1 = this._util$_index, + t2 = this._util$_list, + t3 = J.get$length$asx(t2._util$_items); + if (typeof t3 !== "number") + return t3.$sub(); + if (t1 >= t3 - 1) + return false; + t1 = ++this._util$_index; + t2 = t2._initialized; + if (!(t1 >= 0 && t1 < t2.length)) + return A.ioore(t2, t1); + if (!t2[t1]) + throw A.wrapException(A.StateError$("Uninitialized element encountered at index " + t1 + " during iteration")); + return true; + }, + $isIterator: 1 }; - V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent.prototype = {}; - V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps.prototype = {}; - V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps.prototype = {}; - O.DesignMainDNAMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - O.DesignMainDNAMismatchesComponent.prototype = { - render$0: function(_) { - var mismatch_components = this._design_main_dna_mismatches$_create_mismatch_components$0(), - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, "mismatches-main-view"); - return t1.call$1(mismatch_components); + A.add_if_not_null_closure.prototype = { + call$1(b) { + var t1, t2; + this.T._eval$1("SetBuilder<0>")._as(b); + t1 = b.$ti._precomputed1; + t2 = t1._as(this.elt); + !$.$get$isSoundMode() && !t1._is(null); + return b.get$_safeSet().add$1(0, t2); }, - _design_main_dna_mismatches$_create_mismatch_components$0: function() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, ret, domain_components, t13, t14, helix, t15, base_svg_pos, key, group, translate_svg, transform_str, _this = this, _null = null, - _s35_ = "DesignMainDNAMismatchesProps.design", - t1 = type$.JSArray_legacy_ReactElement, - mismatch_components = H.setRuntimeTypeInfo([], t1), - keys = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_String); - for (t2 = J.get$iterator$ax(_this._design_main_dna_mismatches$_cachedTypedProps.get$design().strands._list), t3 = type$.legacy_Design, t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_Mismatch; t2.moveNext$0();) { - t8 = t2.get$current(t2); - t9 = t8.__domains; - if (t9 == null) { - t9 = E.Strand.prototype.get$domains.call(t8); - t8.set$__domains(t9); - } - t9 = J.get$iterator$ax(t9._list); - for (; t9.moveNext$0();) { - t10 = t9.get$current(t9); - t11 = _this._design_main_dna_mismatches$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s35_); - t11 = t3._as(t11 == null ? _null : t11); - t12 = t11.__domain_mismatches_map; - if (t12 == null) { - t12 = N.Design.prototype.get$domain_mismatches_map.call(t11); - t11.set$__domain_mismatches_map(t12); - t11 = t12; - } else - t11 = t12; - ret = J.$index$asx(t11._map$_map, t10); - if (ret == null) - ret = D.BuiltList_BuiltList$from(C.List_empty, t7); - domain_components = H.setRuntimeTypeInfo([], t1); - for (t11 = J.get$iterator$ax(ret._list); t11.moveNext$0();) { - t12 = t11.get$current(t11); - t13 = _this._design_main_dna_mismatches$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s35_); - t13 = t3._as(t13 == null ? _null : t13).helices; - t14 = t10.helix; - helix = J.$index$asx(t13._map$_map, t14); - t13 = _this._design_main_dna_mismatches$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMDNMo); - if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { - t13 = _this._design_main_dna_mismatches$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMDNMs); - t13 = t4._as(t13 == null ? _null : t13); - t14 = helix.idx; - t14 = t13._set.contains$1(0, t14); - t13 = t14; - } else - t13 = true; - if (t13) { - t12 = t12.offset; - t13 = t10.forward; - t14 = _this._design_main_dna_mismatches$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMDNMh); - t14 = t5._as(t14 == null ? _null : t14); - t15 = helix.idx; - base_svg_pos = helix.svg_base_pos$3(t12, t13, J.$index$asx(t14._map$_map, t15)); - key = base_svg_pos.toString$0(0) + ";" + t13; - if (!keys.contains$1(0, key)) { - keys.add$1(0, key); - t12 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); - t12.toString; - t6._as(base_svg_pos); - t14 = J.getInterceptor$x(t12); - J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); - t15 = _this._design_main_dna_mismatches$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s35_); - t15 = t3._as(t15 == null ? _null : t15).geometry; - J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.geometry", t15); - J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.forward", t13); - J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.color", "red"); - t14 = t14.get$props(t12); - J.$indexSet$ax(t14, "key", key); - C.JSArray_methods.add$1(domain_components, t12.call$0()); - } - } - } - t11 = _this._design_main_dna_mismatches$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s35_); - t11 = t3._as(t11 == null ? _null : t11).helices; - t12 = t10.helix; - helix = J.$index$asx(t11._map$_map, t12); - t11 = _this._design_main_dna_mismatches$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s35_); - t11 = t3._as(t11 == null ? _null : t11).groups; - t13 = helix.group; - group = J.$index$asx(t11._map$_map, t13); - t13 = _this._design_main_dna_mismatches$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s35_); - t11 = t3._as(t13 == null ? _null : t13).geometry; - t13 = group.position; - t14 = t11.__nm_to_svg_pixels; - t11 = t14 == null ? t11.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t14; - translate_svg = X.Position3D_Position3D(t13.x * t11, t13.y * t11, t13.z * t11); - transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; - if (domain_components.length !== 0) { - t11 = $.$get$g(); - t13 = {}; - t13 = new L.JsBackedMap(t13); - t11 = new A.SvgProps(t11, t13, _null, _null); - t11.get$$$isClassGenerated(); - t14 = t13.jsObject; - t14.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); - t15 = t8.__id; - t14.className = F.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain mismatch-" + (t15 == null ? t8.__id = E.Strand.prototype.get$id.call(t8, t8) : t15)); - t12 = "domain-H" + t12 + "-S" + t10.start + "-E" + t10.end + "-"; - t12 += t10.forward ? "forward" : "reverse"; - t13.$indexSet(0, "key", t12); - C.JSArray_methods.add$1(mismatch_components, t11.call$1(domain_components)); - } - } + $signature() { + return this.T._eval$1("bool(SetBuilder<0>)"); + } + }; + A.End3PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.End3PrimeComponent.prototype = { + render$0(_) { + var t2, t3, points, poly_props, _this = this, _null = null, + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.pos"); + if (t1 == null) + t1 = _null; + type$.Point_double._as(t1); + t2 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "End3PrimeProps.forward"); + if (!A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2))) { + t2 = t1.x; + if (typeof t2 !== "number") + return t2.$sub(); + t1 = t1.y; + t3 = A.S(t2 + 3.33); + if (typeof t1 !== "number") + return t1.$add(); + points = A.S(t2 - 3.7) + "," + A.S(t1) + " " + t3 + "," + A.S(t1 + 3.7) + " " + t3 + "," + A.S(t1 - 3.7); + } else { + t2 = t1.x; + if (typeof t2 !== "number") + return t2.$add(); + t1 = t1.y; + t3 = A.S(t2 - 3.33); + if (typeof t1 !== "number") + return t1.$add(); + points = A.S(t2 + 3.7) + "," + A.S(t1) + " " + t3 + "," + A.S(t1 + 3.7) + " " + t3 + "," + A.S(t1 - 3.7); } - return mismatch_components; + poly_props = A.SvgProps$($.$get$polygon(), _null); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.classname"); + poly_props.set$className(0, A._asStringS(t1 == null ? _null : t1)); + poly_props.set$points(0, points); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.color"); + if (t1 == null) + t1 = _null; + t1 = type$.Color._as(t1).toHexColor$0(); + poly_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + if (t1.get$transform(t1) != null) { + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.id_"); + poly_props.set$id(0, A._asStringQ(t1 == null ? _null : t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + poly_props.set$transform(0, t1.get$transform(t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_down"); + if (t1 == null) + t1 = _null; + t2 = type$.nullable_void_Function_SyntheticPointerEvent; + poly_props.set$onPointerDown(t2._as(t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_up"); + poly_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_up"); + if (t1 == null) + t1 = _null; + t2 = type$.nullable_void_Function_SyntheticMouseEvent; + poly_props.set$onMouseUp(0, t2._as(t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_enter"); + poly_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_leave"); + poly_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_move"); + poly_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); + } + return poly_props.call$0(); } }; - O.$DesignMainDNAMismatchesComponentFactory_closure.prototype = { - call$0: function() { - return new O._$DesignMainDNAMismatchesComponent(null); + A.$End3PrimeComponentFactory_closure.prototype = { + call$0() { + return new A._$End3PrimeComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 433 + $signature: 409 }; - O._$$DesignMainDNAMismatchesProps.prototype = { - get$$$isClassGenerated: function() { + A._$$End3PrimeProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDNAMismatchesComponentFactory() : t1; + return t1 == null ? $.$get$$End3PrimeComponentFactory() : t1; } }; - O._$$DesignMainDNAMismatchesProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_dna_mismatches$_props; + A._$$End3PrimeProps$PlainMap.prototype = { + get$props(_) { + return this._lib_3p_end$_props; } }; - O._$$DesignMainDNAMismatchesProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_dna_mismatches$_props; + A._$$End3PrimeProps$JsMap.prototype = { + get$props(_) { + return this._lib_3p_end$_props; } }; - O._$DesignMainDNAMismatchesComponent.prototype = { - get$props: function(_) { - return this._design_main_dna_mismatches$_cachedTypedProps; + A._$End3PrimeComponent.prototype = { + get$props(_) { + var t1 = this.___$End3PrimeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_dna_mismatches$_cachedTypedProps = O._$$DesignMainDNAMismatchesProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$End3PrimeComponent__cachedTypedProps_A = A._$$End3PrimeProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainDNAMismatches"; + get$displayName(_) { + return "End3Prime"; }, - get$$$defaultConsumedProps: function() { - return C.Map_utYMy.get$values(C.Map_utYMy); - } - }; - O.$DesignMainDNAMismatchesProps.prototype = { - get$design: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAMismatchesProps.design"); - if (t1 == null) - t1 = null; - return type$.legacy_Design._as(t1); + get$$$defaultConsumedProps() { + return B.Map_0Ecu.get$values(B.Map_0Ecu); } }; - O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent.prototype = {}; - O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps.prototype = {}; - O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps.prototype = {}; - U.DesignMainDNASequencePropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDNASequencePropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.$End3PrimeProps.prototype = { + set$classname(value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.classname", value); + }, + set$pos(value) { + type$.Point_double._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.pos", value); + }, + set$color(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.color", value); + }, + set$forward(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.forward", value); + }, + set$on_pointer_down(value) { + type$.nullable_void_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_down", value); }, - set$groups: function(groups) { - this.DesignMainDNASequencePropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + set$on_pointer_up(value) { + type$.nullable_void_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_up", value); + }, + set$on_mouse_up(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_up", value); + }, + set$on_mouse_move(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_move", value); + }, + set$on_mouse_enter(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_enter", value); }, - set$geometry: function(_, geometry) { - this.DesignMainDNASequencePropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set$on_mouse_leave(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_leave", value); }, - get$helices: function() { - return this.DesignMainDNASequencePropsMixin_helices; + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.id_", value); }, - get$groups: function() { - return this.DesignMainDNASequencePropsMixin_groups; + get$transform(_) { + var t1 = J.$index$asx(this.get$props(this), "End3PrimeProps.transform"); + return A._asStringQ(t1 == null ? null : t1); }, - get$geometry: function(receiver) { - return this.DesignMainDNASequencePropsMixin_geometry; + set$transform(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.transform", value); } }; - U.DesignMainDNASequenceComponent.prototype = { - render$0: function(_) { - var t2, dna_sequence_elts, t3, t4, t5, t6, t7, t8, t9, t10, t11, i, t12, substrand, domain_elts, seq_to_draw, offset, t13, helix, t14, pos, rotate_x, rotate_y, t15, x_adjust, t16, text_length, t17, dy, x, y, rotate_degrees, id, reverse_right_side_up, $length, reverse_right_side_up0, subseq, t18, font_size, letter_spacing, style_map, text_path_props, t19, prev_dom, next_dom, is_hairpin, ls_fs, _this = this, _null = null, - _s38_ = "DesignMainDNASequencePropsMixin.strand", - _s61_ = string$.DesignMDNSPo, - _s65_ = string$.DesignMDNSPd, - _s40_ = "TransformByHelixGroupPropsMixin.geometry", - _s7_ = "forward", - _s7_0 = "reverse", - _s3_ = "key", - t1 = _this._design_main_dna_sequence$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMDNSPs); + A.__$$End3PrimeProps_UiProps_End3PrimeProps.prototype = {}; + A.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps.prototype = {}; + A.End5PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.End5PrimeComponent.prototype = { + render$0(_) { + var t2, _this = this, _null = null, + rect_props = A.SvgProps$($.$get$rect(), _null), + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.classname"); + rect_props.set$className(0, A._asStringS(t1 == null ? _null : t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$pos().x; + if (typeof t1 !== "number") + return t1.$sub(); + rect_props.set$x(0, A.S(t1 - 3.5)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$pos().y; + if (typeof t1 !== "number") + return t1.$sub(); + rect_props.set$y(0, A.S(t1 - 3.5)); + rect_props.set$width(0, "7px"); + rect_props.set$height(0, "7px"); + t1 = rect_props.props.jsObject; + t1.rx = A.DartValueWrapper_wrapIfNeeded("1.5px"); + t1.ry = A.DartValueWrapper_wrapIfNeeded("1.5px"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.color"); if (t1 == null) t1 = _null; - type$.legacy_BuiltSet_legacy_int._as(t1); - t2 = type$.JSArray_legacy_ReactElement; - dna_sequence_elts = H.setRuntimeTypeInfo([], t2); - t3 = type$.legacy_Strand; - t4 = type$.legacy_Map_of_legacy_String_and_dynamic; - t5 = type$.legacy_String; - t6 = type$.dynamic; - t7 = type$.Tuple2_of_legacy_num_and_legacy_num; - t8 = type$.legacy_Geometry; - t9 = type$.legacy_Domain; - t10 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; - t11 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - i = 0; - while (true) { - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s38_); - t12 = J.get$length$asx(t3._as(t12 == null ? _null : t12).substrands._list); - if (typeof t12 !== "number") - return H.iae(t12); - if (!(i < t12)) - break; - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s38_); - substrand = J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i); - if (substrand instanceof G.Domain) { - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s61_); - if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { - t12 = substrand.helix; - t12 = t1._set.contains$1(0, t12); - } else - t12 = true; - if (t12) { - domain_elts = H.setRuntimeTypeInfo([], t2); - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s65_); - seq_to_draw = substrand.dna_sequence_deletions_insertions_to_spaces$1$reverse(H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) && !substrand.forward); - offset = substrand.__offset_5p; - if (offset == null) - offset = substrand.__offset_5p = G.Domain.prototype.get$offset_5p.call(substrand); - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); - t12 = t11._as(t12 == null ? _null : t12); - t13 = substrand.helix; - helix = J.$index$asx(t12._map$_map, t13); - t12 = substrand.forward; - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMDNSPh); - pos = helix.svg_base_pos$3(offset, t12, J.$index$asx(t10._as(t14 == null ? _null : t14)._map$_map, t13).y); - rotate_x = pos.x; - rotate_y = pos.y; - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t15 = t14.__base_width_svg; - x_adjust = -(t15 == null ? t14.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t14) : t15) * 0.32; - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t15 = t14.__base_width_svg; - t14 = t15 == null ? t14.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t14) : t15; - t15 = substrand.end; - t16 = substrand.start; - text_length = t14 * (t15 - t16 - 0.342); - if (t12) { - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t17 = t14.__base_height_svg; - dy = -(t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.25; - if (typeof rotate_x !== "number") - return rotate_x.$add(); - x = rotate_x + x_adjust; - y = rotate_y; - rotate_degrees = 0; - } else { - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s65_); - t14 = H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)); - t17 = _this._design_main_dna_sequence$_cachedTypedProps; - if (t14) { - t14 = t17.get$props(t17).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t17 = t14.__base_height_svg; - dy = (t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.75; - if (typeof rotate_x !== "number") - return rotate_x.$sub(); - x = rotate_x - x_adjust - text_length; - t14 = _this._design_main_dna_sequence$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t17 = t14.__base_height_svg; - t14 = t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17; - if (typeof rotate_y !== "number") - return rotate_y.$add(); - y = rotate_y + t14; - rotate_degrees = 0; - } else { - t14 = t17.get$props(t17).$index(0, _s40_); - t14 = t8._as(t14 == null ? _null : t14); - t17 = t14.__base_height_svg; - dy = -(t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.25; - if (typeof rotate_x !== "number") - return rotate_x.$add(); - x = rotate_x + x_adjust; - y = rotate_y; - rotate_degrees = 180; - } - } - t14 = "domain-H" + t13 + "-S" + t16 + "-E" + t15 + "-"; - id = "dna-" + (t14 + (t12 ? _s7_ : _s7_0)); - t14 = $.$get$text(); - t17 = {}; - t17 = new L.JsBackedMap(t17); - t14 = new A.SvgProps(t14, t17, _null, _null); - t14.get$$$isClassGenerated(); - t17.$indexSet(0, _s3_, id); - t17 = t17.jsObject; - t17.id = F.DartValueWrapper_wrapIfNeeded(id); - t17.className = F.DartValueWrapper_wrapIfNeeded("dna-seq"); - t17.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); - t17.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); - t17.textLength = F.DartValueWrapper_wrapIfNeeded(H.S(text_length)); - t17.transform = F.DartValueWrapper_wrapIfNeeded("rotate(" + rotate_degrees + " " + H.S(rotate_x) + " " + H.S(rotate_y) + ")"); - t17.dy = F.DartValueWrapper_wrapIfNeeded(H.S(dy)); - C.JSArray_methods.add$1(domain_elts, t14.call$1(seq_to_draw)); - for (t14 = J.get$iterator$ax(substrand.insertions._list), reverse_right_side_up = !t12; t14.moveNext$0();) { - t17 = t14.get$current(t14); - offset = t17.offset; - $length = t17.length; - t17 = _this._design_main_dna_sequence$_cachedTypedProps; - t17 = t17.get$props(t17).$index(0, _s65_); - reverse_right_side_up0 = H.boolConversionCheck(H._asBoolS(t17 == null ? _null : t17)) && reverse_right_side_up; - subseq = substrand.dna_sequence_in$3$reverse(offset, offset, reverse_right_side_up0); - t17 = _this._design_main_dna_sequence$_cachedTypedProps; - t17 = t17.get$props(t17).$index(0, _s40_); - t17 = t8._as(t17 == null ? _null : t17); - t18 = t17.__base_width_svg; - dy = H.S(0.1 * (t18 == null ? t17.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t17) : t18)); - font_size = Math.max(6, 12 - ($length - 1)); - t17 = $._browser; - if (t17 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t17 = $._browser = L.Browser_getCurrentBrowser(); - } - t17.toString; - if (t17 === $.$get$chrome()) - if ($length === 1) - letter_spacing = 0; - else if ($length === 2) - letter_spacing = -0.1; - else if ($length === 3) - letter_spacing = -0.1; - else if ($length === 4) - letter_spacing = -0.1; - else if ($length === 5) - letter_spacing = -0.15; - else - letter_spacing = $length === 6 ? -0.18 : _null; - else - letter_spacing = _null; - if (t17 === $.$get$firefox()) { - if ($length > 3 && font_size > 6) - --font_size; - letter_spacing = _null; - } - style_map = letter_spacing != null ? P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", H.S(letter_spacing) + "em", "fontSize", H.S(font_size) + "px"], t5, t6) : P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", H.S(font_size) + "px"], t5, t6); - if (reverse_right_side_up0) - style_map.$indexSet(0, "dominantBaseline", "hanging"); - t17 = $.$get$textPath(); - t18 = {}; - t18 = new L.JsBackedMap(t18); - text_path_props = new A.SvgProps(t17, t18, _null, _null); - text_path_props.get$$$isClassGenerated(); - t17 = t18.jsObject; - t17.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-insertion"); - t18 = "insertion-H" + t13 + "-O" + offset + "-"; - t17.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t18 + (t12 ? _s7_ : _s7_0))); - t17.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); - t17.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); - t17 = $.$get$text(); - t18 = {}; - t18 = new L.JsBackedMap(t18); - t17 = new A.SvgProps(t17, t18, _null, _null); - t17.get$$$isClassGenerated(); - t19 = "insertion-H" + t13 + "-O" + offset + "-"; - t19 = "textelt-" + (t19 + (t12 ? _s7_ : _s7_0)); - t18.$indexSet(0, _s3_, t19); - t18.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); - C.JSArray_methods.add$1(domain_elts, t17.call$1(text_path_props.call$1(subseq))); - } - t14 = $.$get$g(); - t17 = {}; - t17 = new L.JsBackedMap(t17); - t14 = new A.SvgProps(t14, t17, _null, _null); - t14.get$$$isClassGenerated(); - t18 = t17.jsObject; - t18.transform = F.DartValueWrapper_wrapIfNeeded(_this.transform_of_helix$1(t13)); - t18.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-on-domain-group"); - t15 = "domain-H" + t13 + "-S" + t16 + "-E" + t15 + "-"; - t13 = t15 + (t12 ? _s7_ : _s7_0); - t17.$indexSet(0, _s3_, t13); - C.JSArray_methods.add$1(dna_sequence_elts, t14.call$1(domain_elts)); - } - } else if (substrand instanceof G.Loopout) { - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s38_); - prev_dom = t9._as(J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i - 1)); - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s38_); - next_dom = t9._as(J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i + 1)); - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s61_); - if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { - t12 = prev_dom.helix; - t12 = t1._set.contains$1(0, t12); - } else - t12 = true; - if (t12) { - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s61_); - if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { - t12 = next_dom.helix; - t12 = t1._set.contains$1(0, t12); - } else - t12 = true; - } else - t12 = false; - if (t12) { - subseq = substrand.dna_sequence; - $length = subseq.length; - t12 = _this._design_main_dna_sequence$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s40_); - t12 = t8._as(t12 == null ? _null : t12); - t13 = t12.__base_height_svg; - dy = H.S(0.1 * (t13 == null ? t12.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t12) : t13)); - t12 = prev_dom.helix; - t13 = next_dom.helix; - if (t12 === t13) - if (prev_dom.forward !== next_dom.forward) { - t14 = prev_dom.__offset_3p; - if (t14 == null) - t14 = prev_dom.__offset_3p = G.Domain.prototype.get$offset_3p.call(prev_dom); - t15 = next_dom.__offset_5p; - t14 = Math.abs(t14 - (t15 == null ? next_dom.__offset_5p = G.Domain.prototype.get$offset_5p.call(next_dom) : t15)) < 3; - is_hairpin = t14; - } else - is_hairpin = false; - else - is_hairpin = false; - if (is_hairpin) { - font_size = Math.max(6, 12 - Math.max(0, $length - 6)); - t14 = $._browser; - if (t14 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t14 = $._browser = L.Browser_getCurrentBrowser(); - } - t14.toString; - if (t14 === $.$get$chrome()) - if ($length === 1) - letter_spacing = 0; - else if ($length === 2) - letter_spacing = -0.1; - else if ($length === 3) - letter_spacing = -0.1; - else if ($length === 4) - letter_spacing = -0.1; - else if ($length === 5) - letter_spacing = -0.15; - else - letter_spacing = $length === 6 ? -0.18 : _null; - else - letter_spacing = _null; - if (t14 === $.$get$firefox()) { - font_size = Math.max(6, 12 - ($length - 1)); - if ($length > 3 && font_size > 6) - --font_size; - letter_spacing = _null; - } - ls_fs = new S.Tuple2(letter_spacing, font_size, t7); - } else - ls_fs = new S.Tuple2(0, 12, t7); - letter_spacing = ls_fs.item1; - font_size = ls_fs.item2; - style_map = letter_spacing != null ? P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", H.S(letter_spacing) + "em", "fontSize", H.S(font_size) + "px"], t5, t6) : P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", H.S(font_size) + "px"], t5, t6); - t14 = $.$get$textPath(); - t15 = {}; - t15 = new L.JsBackedMap(t15); - text_path_props = new A.SvgProps(t14, t15, _null, _null); - text_path_props.get$$$isClassGenerated(); - t14 = t15.jsObject; - t14.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-loopout"); - t15 = substrand._loopout$__id; - t14.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t15 == null ? substrand._loopout$__id = G.Loopout.prototype.get$id.call(substrand, substrand) : t15)); - t14.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); - t14.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); - t14 = $.$get$text(); - t15 = {}; - t15 = new L.JsBackedMap(t15); - t14 = new A.SvgProps(t14, t15, _null, _null); - t14.get$$$isClassGenerated(); - t12 = "loopout-dnaH" + t12 + ","; - t16 = prev_dom.__offset_3p; - t12 = t12 + (t16 == null ? prev_dom.__offset_3p = G.Domain.prototype.get$offset_3p.call(prev_dom) : t16) + "-H" + t13 + ","; - t13 = next_dom.__offset_5p; - t12 += t13 == null ? next_dom.__offset_5p = G.Domain.prototype.get$offset_5p.call(next_dom) : t13; - t15.$indexSet(0, _s3_, t12); - t15.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); - C.JSArray_methods.add$1(dna_sequence_elts, t14.call$1(text_path_props.call$1(subseq))); - } - } else if (substrand instanceof S.Extension) { - t12 = substrand.adjacent_domain; - t13 = _this._design_main_dna_sequence$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s61_); - if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { - t13 = t12.helix; - t13 = t1._set.contains$1(0, t13); - } else - t13 = true; - if (t13) { - subseq = substrand.dna_sequence; - t13 = _this._design_main_dna_sequence$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s40_); - t13 = t8._as(t13 == null ? _null : t13); - t14 = t13.__base_height_svg; - dy = H.S(0.1 * (t14 == null ? t13.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t13) : t14)); - style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", "12px"], t5, t6); - t13 = $.$get$textPath(); - t14 = {}; - t14 = new L.JsBackedMap(t14); - text_path_props = new A.SvgProps(t13, t14, _null, _null); - text_path_props.get$$$isClassGenerated(); - t13 = t14.jsObject; - t13.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-extension"); - t14 = substrand._extension$__id; - t13.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t14 == null ? substrand._extension$__id = S.Extension.prototype.get$id.call(substrand, substrand) : t14)); - t13.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); - t13.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); - t13 = $.$get$text(); - t14 = {}; - t14 = new L.JsBackedMap(t14); - t13 = new A.SvgProps(t13, t14, _null, _null); - t13.get$$$isClassGenerated(); - t12 = "extension-dna-" + (H.boolConversionCheck(substrand.is_5p) ? "5'" : "3'") + "H" + t12.helix + "," + t12.start + "-" + t12.end; - t14.$indexSet(0, _s3_, t12); - t14.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); - C.JSArray_methods.add$1(dna_sequence_elts, t13.call$1(text_path_props.call$1(subseq))); - } - } else - throw H.wrapException(P.AssertionError$("unrecognized substrand type: " + H.S(substrand))); - ++i; + t1 = type$.Color._as(t1).toHexColor$0(); + rect_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + if (t1.get$transform(t1) != null) { + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + rect_props.set$transform(0, t1.get$transform(t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.id_"); + rect_props.set$id(0, A._asStringQ(t1 == null ? _null : t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_down"); + if (t1 == null) + t1 = _null; + t2 = type$.nullable_void_Function_SyntheticPointerEvent; + rect_props.set$onPointerDown(t2._as(t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_up"); + rect_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_up"); + if (t1 == null) + t1 = _null; + t2 = type$.nullable_void_Function_SyntheticMouseEvent; + rect_props.set$onMouseUp(0, t2._as(t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_enter"); + rect_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_leave"); + rect_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_move"); + rect_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "strand-dna-sequence"); - t2 = _this._design_main_dna_sequence$_cachedTypedProps.get$strand(); - t1.set$id(0, "dna-sequence-" + t2.get$id(t2)); - return t1.call$1(dna_sequence_elts); + return rect_props.call$0(); } }; - U.$DesignMainDNASequenceComponentFactory_closure.prototype = { - call$0: function() { - return new U._$DesignMainDNASequenceComponent(null); + A.$End5PrimeComponentFactory_closure.prototype = { + call$0() { + return new A._$End5PrimeComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 434 + $signature: 410 }; - U._$$DesignMainDNASequenceProps.prototype = { - get$$$isClassGenerated: function() { + A._$$End5PrimeProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDNASequenceComponentFactory() : t1; + return t1 == null ? $.$get$$End5PrimeComponentFactory() : t1; } }; - U._$$DesignMainDNASequenceProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_dna_sequence$_props; + A._$$End5PrimeProps$PlainMap.prototype = { + get$props(_) { + return this._lib_5p_end$_props; } }; - U._$$DesignMainDNASequenceProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_dna_sequence$_props; + A._$$End5PrimeProps$JsMap.prototype = { + get$props(_) { + return this._lib_5p_end$_props; } }; - U._$DesignMainDNASequenceComponent.prototype = { - get$props: function(_) { - return this._design_main_dna_sequence$_cachedTypedProps; + A._$End5PrimeComponent.prototype = { + get$props(_) { + var t1 = this.___$End5PrimeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_dna_sequence$_cachedTypedProps = U._$$DesignMainDNASequenceProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$End5PrimeComponent__cachedTypedProps_A = A._$$End5PrimeProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainDNASequence"; + get$displayName(_) { + return "End5Prime"; }, - get$$$defaultConsumedProps: function() { - return C.Map_gRswd.get$values(C.Map_gRswd); + get$$$defaultConsumedProps() { + return B.Map_Wb23h.get$values(B.Map_Wb23h); } }; - U.$DesignMainDNASequencePropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.strand"); - if (t1 == null) - t1 = null; - return type$.legacy_Strand._as(t1); - }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.helices", value); + A.$End5PrimeProps.prototype = { + set$classname(value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.classname", value); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.groups"); + get$pos() { + var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.pos"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.groups", value); + return type$.Point_double._as(t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + set$pos(value) { + type$.Point_double._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.pos", value); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.geometry", value); - } - }; - U._DesignMainDNASequenceComponent_UiComponent2_PureComponent.prototype = {}; - U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDNASequencePropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + set$color(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.color", value); }, - set$groups: function(groups) { - this.DesignMainDNASequencePropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + set$forward(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.forward", value); }, - set$geometry: function(_, geometry) { - this.DesignMainDNASequencePropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set$on_pointer_down(value) { + type$.nullable_void_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_down", value); }, - get$helices: function() { - return this.DesignMainDNASequencePropsMixin_helices; + set$on_pointer_up(value) { + type$.nullable_void_Function_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_up", value); }, - get$groups: function() { - return this.DesignMainDNASequencePropsMixin_groups; + set$on_mouse_up(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_up", value); }, - get$geometry: function(receiver) { - return this.DesignMainDNASequencePropsMixin_geometry; - } - }; - U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin.prototype = {}; - U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + set$on_mouse_move(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_move", value); }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + set$on_mouse_enter(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_enter", value); }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set$on_mouse_leave(value) { + type$.nullable_void_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_leave", value); }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.id_", value); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + get$transform(_) { + var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.transform"); + return A._asStringQ(t1 == null ? null : t1); }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + set$transform(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.transform", value); } }; - U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - M.DesignMainDNASequencesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainDNASequencesProps_helices; - }, - get$groups: function() { - return this.DesignMainDNASequencesProps_groups; + A.__$$End5PrimeProps_UiProps_End5PrimeProps.prototype = {}; + A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps.prototype = {}; + A.ConnectedAxisArrowsMain_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_axis_arrows_props(A.axis_arrows_main___$AxisArrowsMain$closure().call$0(), state); }, - get$geometry: function(receiver) { - return this.DesignMainDNASequencesProps_geometry; - } + $signature: 119 }; - M.DesignMainDNASequencesComponent.prototype = { - componentDidUpdate$3: function(prevProps, prevState, snapshot) { - var action_to_complete = this._design_main_dna_sequences$_cachedTypedProps.get$export_svg_action_delayed_for_png_cache(); - if (action_to_complete != null) { - $.app.dispatch$1(action_to_complete); - $.app.dispatch$1(U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(null)); - } - }, - render$0: function(_) { - var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, - _s23_ = "dna-sequences-main-view", - t1 = _this._design_main_dna_sequences$_cachedTypedProps.get$dna_sequence_png_uri(), - t2 = _this._design_main_dna_sequences$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsi); - t2 = H._asBoolS(t2 == null ? _null : t2); - t3 = _this._design_main_dna_sequences$_cachedTypedProps.get$export_svg_action_delayed_for_png_cache(); - t4 = _this._design_main_dna_sequences$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMDNSsdia); - t4 = H._asBoolS(t4 == null ? _null : t4); - if (t1 != null && !H.boolConversionCheck(t2) && t3 == null && !H.boolConversionCheck(t4)) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s23_); - t1.props.jsObject.pointerEvents = F.DartValueWrapper_wrapIfNeeded("none"); - t2 = _this._design_main_dna_sequences$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsdnh); - t2 = "translate(" + H.S(H._asNumS(t2 == null ? _null : t2)) + ", "; - t3 = _this._design_main_dna_sequences$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMDNSsdnv); - t1.set$transform(0, t2 + H.S(H._asNumS(t3 == null ? _null : t3)) + ")"); - t2 = A.SvgProps$($.$get$image(), _null); - t2.set$xlinkHref(_this._design_main_dna_sequences$_cachedTypedProps.get$dna_sequence_png_uri()); - t2.set$id(0, "dna-sequences-main-view-png"); - return t1.call$1(t2.call$0()); - } else { + A.AxisArrowsMainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainArrowsComponent.prototype = { + render$0(_) { + var svg_center_y, t2, t3, t4, t5, t6, _this = this, _null = null, _s4_ = "none", _s3_ = "red", + _s10_ = "axis-arrow", + _s8_ = "x_circle", + _s63_ = string$.M_0_0_, + t1 = _this.___$DesignMainArrowsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + svg_center_y = A.boolConversionCheck(t1.get$invert_y()) ? 66.5 : 20; + t1 = _this.___$DesignMainArrowsComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.AxisArM); + if (A._asBoolS(t1 == null ? _null : t1) === true) { t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s23_); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - t3 = _this._design_main_dna_sequences$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainDNASequencesProps.strands"); - if (t3 == null) - t3 = _null; - t3 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t3)._list); - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; - t5 = type$.legacy_BuiltSet_legacy_int; - t6 = type$.legacy_Geometry; - t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; - t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - for (; t3.moveNext$0();) { - t9 = t3.get$current(t3); - t10 = t9.__dna_sequence; - if ((t10 == null ? t9.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t9) : t10) != null) { - t10 = U.design_main_dna_sequence___$DesignMainDNASequence$closure().call$0(); - t11 = _this._design_main_dna_sequences$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.helices"); - t11 = t8._as(t11 == null ? _null : t11); - t10.toString; - t8._as(t11); - t12 = J.getInterceptor$x(t10); - J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.helices", t11); - t11 = _this._design_main_dna_sequences$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.groups"); - t11 = t7._as(t7._as(t11 == null ? _null : t11)); - J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.groups", t11); - t11 = _this._design_main_dna_sequences$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.geometry"); - t11 = t6._as(t11 == null ? _null : t11); - J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.geometry", t11); - J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequencePropsMixin.strand", t9); - t11 = _this._design_main_dna_sequences$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, string$.DesignMDNSss); - t11 = t5._as(t5._as(t11 == null ? _null : t11)); - J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPs, t11); - t9 = t9.toString$0(0); - t11 = t12.get$props(t10); - J.$indexSet$ax(t11, "key", t9); - t9 = _this._design_main_dna_sequences$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMDNSso); - t9 = H._asBoolS(t9 == null ? _null : t9); - J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPo, t9); - t9 = _this._design_main_dna_sequences$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsdip); - t9 = H._asBoolS(t9 == null ? _null : t9); - J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPd, t9); - t9 = _this._design_main_dna_sequences$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsh); - t9 = t4._as(t4._as(t9 == null ? _null : t9)); - J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPh, t9); - J.$indexSet$ax(t12.get$props(t10), "className", "strand-dna-sequence-elts"); - t2.push(t10.call$0()); - } + t1.set$className(0, "arrow-group"); + t1.set$transform(0, "translate(20, " + A.S(svg_center_y) + ")"); + t2 = A.SvgProps$($.$get$title(), _null); + t2.set$key(0, "title"); + t3 = type$.JSArray_ReactElement; + t2 = A._setArrayType([t2.call$1(A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y()) ? "\u29bb - Into the screen" : "\u2299 - Out of the screen")], t3); + if (A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y())) { + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "x"); + t4.set$d(0, string$.M__6_3); + t4.set$fill(0, _s4_); + t4.set$stroke(0, _s3_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$circle(), _null); + t5.set$key(0, _s8_); + t5.set$r(0, 10); + t5.set$stroke(0, _s3_); + t5.set$fill(0, _s4_); + t5.set$className(0, _s10_); + B.JSArray_methods.addAll$1(t2, A._setArrayType([t4, t5.call$0()], t3)); + } + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "z_path"); + t4.set$transform(0, "rotate(90)"); + t4.set$d(0, _s63_); + t4.set$fill(0, _s4_); + t4.set$stroke(0, "blue"); + t4.set$className(0, _s10_); + t2.push(t4.call$0()); + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "y_path"); + t4.set$transform(0, A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y()) ? "rotate(0)" : "rotate(180)"); + t4.set$d(0, _s63_); + t4.set$fill(0, _s4_); + t4.set$stroke(0, "green"); + t4.set$className(0, _s10_); + t2.push(t4.call$0()); + if (!A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y())) { + t4 = A.SvgProps$($.$get$circle(), _null); + t4.set$key(0, "dot"); + t4.set$r(0, "2"); + t4.set$stroke(0, _s3_); + t4.set$fill(0, _s3_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$circle(), _null); + t5.set$key(0, _s8_); + t5.set$r(0, 10); + t5.set$stroke(0, _s3_); + t5.set$fill(0, _s4_); + t5.set$className(0, _s10_); + B.JSArray_methods.addAll$1(t2, A._setArrayType([t4, t5.call$0()], t3)); } + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "x-axis-label"); + t3.set$x(0, 10); + t3.set$y(0, A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -10 : 27); + t4 = type$.String; + t5 = type$.dynamic; + t6 = type$.nullable_Map_String_dynamic; + t3.set$_raw$DomProps$style(t6._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t4, t5))); + t2.push(t3.call$1("X")); + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "y-axis-label"); + t3.set$x(0, -6); + t3.set$y(0, A.boolConversionCheck(_this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -48.5 : 61.5); + t3.set$_raw$DomProps$style(t6._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t4, t5))); + t2.push(t3.call$1("Y")); + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "z-axis-label"); + t3.set$x(0, 48.5); + t3.set$y(0, 6.5); + t3.set$_raw$DomProps$style(t6._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t4, t5))); + t2.push(t3.call$1("Z")); return t1.call$1(t2); - } + } else + return A.SvgProps$($.$get$g(), _null).call$0(); } }; - M.$DesignMainDNASequencesComponentFactory_closure.prototype = { - call$0: function() { - return new M._$DesignMainDNASequencesComponent(null); + A.$DesignMainArrowsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainArrowsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 435 + $signature: 412 }; - M._$$DesignMainDNASequencesProps.prototype = { - get$$$isClassGenerated: function() { + A._$$AxisArrowsMainProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDNASequencesComponentFactory() : t1; - } - }; - M._$$DesignMainDNASequencesProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_dna_sequences$_props; + return t1 == null ? $.$get$$DesignMainArrowsComponentFactory() : t1; } }; - M._$$DesignMainDNASequencesProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_dna_sequences$_props; + A._$$AxisArrowsMainProps$PlainMap.prototype = { + get$props(_) { + return this._axis_arrows_main$_props; } }; - M._$DesignMainDNASequencesComponent.prototype = { - get$props: function(_) { - return this._design_main_dna_sequences$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_dna_sequences$_cachedTypedProps = M._$$DesignMainDNASequencesProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignMainDNASequences"; - }, - get$$$defaultConsumedProps: function() { - return C.Map_KYQSU.get$values(C.Map_KYQSU); + A._$$AxisArrowsMainProps$JsMap.prototype = { + get$props(_) { + return this._axis_arrows_main$_props; } }; - M.$DesignMainDNASequencesProps.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + A._$DesignMainArrowsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainArrowsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainArrowsComponent__cachedTypedProps_A = A._$$AxisArrowsMainProps$JsMap$(A.getBackingMap(value)); }, - get$dna_sequence_png_uri: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSsdnu); - return H._asStringS(t1 == null ? null : t1); + get$displayName(_) { + return "AxisArrowsMain"; }, - get$export_svg_action_delayed_for_png_cache: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSse); - if (t1 == null) - t1 = null; - return type$.legacy_ExportSvg._as(t1); + get$$$defaultConsumedProps() { + return B.Map_ACAVR.get$values(B.Map_ACAVR); } }; - M._DesignMainDNASequencesComponent_UiComponent2_PureComponent.prototype = {}; - M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps.prototype = { - get$helices: function() { - return this.DesignMainDNASequencesProps_helices; + A.$AxisArrowsMainProps.prototype = { + get$invert_y() { + var t1 = J.$index$asx(this.get$props(this), "AxisArrowsMainProps.invert_y"); + return A._asBoolS(t1 == null ? null : t1); }, - get$groups: function() { - return this.DesignMainDNASequencesProps_groups; + set$invert_y(value) { + J.$indexSet$ax(this.get$props(this), "AxisArrowsMainProps.invert_y", value); }, - get$geometry: function(receiver) { - return this.DesignMainDNASequencesProps_geometry; + set$show_helices_axis_arrows(value) { + J.$indexSet$ax(this.get$props(this), string$.AxisArM, value); } }; - M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps.prototype = {}; - T.DesignMainDomainMovingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDomainMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainDomainMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainDomainMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainDomainMovingPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainDomainMovingPropsMixin_groups; + A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps.prototype = {}; + A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps.prototype = {}; + A.ConnectedAxisArrowsSide_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_axis_arrows_props(A.axis_arrows_side___$AxisArrowsSide$closure().call$0(), state); }, - get$geometry: function(receiver) { - return this.DesignMainDomainMovingPropsMixin_geometry; - } + $signature: 119 }; - T.DesignMainDomainMovingComponent.prototype = { - render$0: function(_) { - var classname, hex_color, hex_color_css, _this = this, - t1 = _this._design_main_domain_moving$_cachedTypedProps.get$helices(), - t2 = _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().helix, - helix = J.$index$asx(t1._map$_map, t2), - start_svg = helix.svg_base_pos$3(_this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().get$offset_5p(), _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().forward, _this._design_main_domain_moving$_cachedTypedProps.get$domain_helix_svg_position_y()), - end_svg = helix.svg_base_pos$3(_this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().get$offset_3p(), _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().forward, _this._design_main_domain_moving$_cachedTypedProps.get$domain_helix_svg_position_y()); - t1 = _this._design_main_domain_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMDoMa); - classname = !H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? "domain-line-moving disallowed" : "domain-line-moving"; - t1 = _this._design_main_domain_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainDomainMovingPropsMixin.color"); - if (t1 == null) - t1 = null; - hex_color = type$.legacy_Color._as(t1).toHexColor$0(); - hex_color_css = "#" + hex_color.get$rHex() + hex_color.get$gHex() + hex_color.get$bHex(); - t1 = A.SvgProps$($.$get$line(), null); - t1.set$stroke(0, hex_color_css); - t1.set$transform(0, _this.transform_of_helix$1(helix.idx)); - t1.set$x1(0, H.S(start_svg.x)); - t1.set$y1(0, H.S(start_svg.y)); - t1.set$x2(0, H.S(end_svg.x)); - t1.set$y2(0, H.S(end_svg.y)); - t1.set$className(0, classname); - return t1.call$0(); + A.AxisArrowsSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.AxisArrowsComponent.prototype = { + render$0(_) { + var svg_center_x, svg_center_y, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, _s4_ = "none", + _s10_ = "axis-arrow", + _s63_ = string$.M_0_0_, + t1 = _this.___$AxisArrowsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + svg_center_x = A.boolConversionCheck(t1.get$invert_y()) ? 66.5 : 20; + svg_center_y = A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? 66.5 : 20; + t1 = _this.___$AxisArrowsComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.AxisArS); + if (A._asBoolS(t1 == null ? _null : t1) === true) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "arrow-group"); + t1.set$transform(0, "translate(" + A.S(svg_center_x) + ", " + A.S(svg_center_y) + ")"); + t2 = A.SvgProps$($.$get$title(), _null).call$1("\u29bb - Into the screen"); + t3 = A.SvgProps$($.$get$path(), _null); + t3.set$key(0, "z_path"); + t3.set$d(0, string$.M__6_3); + t3.set$fill(0, _s4_); + t3.set$stroke(0, "blue"); + t3.set$className(0, _s10_); + t3 = t3.call$0(); + t4 = A.SvgProps$($.$get$circle(), _null); + t4.set$r(0, 10); + t4.set$stroke(0, "blue"); + t4.set$fill(0, _s4_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$path(), _null); + t5.set$key(0, "x_path"); + t5.set$transform(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? "rotate(270)" : "rotate(90)"); + t5.set$d(0, _s63_); + t5.set$fill(0, _s4_); + t5.set$stroke(0, "red"); + t5.set$className(0, _s10_); + t5 = t5.call$0(); + t6 = A.SvgProps$($.$get$path(), _null); + t6.set$key(0, "y_path"); + t6.set$transform(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? "rotate(0)" : "rotate(180)"); + t6.set$d(0, _s63_); + t6.set$fill(0, _s4_); + t6.set$stroke(0, "green"); + t6.set$className(0, _s10_); + t6 = t6.call$0(); + t7 = A.SvgProps$($.$get$text(), _null); + t7.set$x(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -60.5 : 48.5); + t7.set$y(0, 6.5); + t8 = type$.String; + t9 = type$.dynamic; + t10 = type$.nullable_Map_String_dynamic; + t7.set$_raw$DomProps$style(t10._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t8, t9))); + t7 = t7.call$1("X"); + t11 = A.SvgProps$($.$get$text(), _null); + t11.set$x(0, -6); + t11.set$y(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -48.5 : 61.5); + t11.set$_raw$DomProps$style(t10._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t8, t9))); + t11 = t11.call$1("Y"); + t12 = A.SvgProps$($.$get$text(), _null); + t12.set$x(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -22 : 10); + t12.set$y(0, A.boolConversionCheck(_this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y()) ? -10 : 27); + t12.set$_raw$DomProps$style(t10._as(A.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t8, t9))); + return t1.call$8(t2, t3, t4, t5, t6, t7, t11, t12.call$1("Z")); + } else + return A.SvgProps$($.$get$g(), _null).call$0(); } }; - T.$DesignMainDomainMovingComponentFactory_closure.prototype = { - call$0: function() { - return new T._$DesignMainDomainMovingComponent(null); + A.$AxisArrowsComponentFactory_closure.prototype = { + call$0() { + return new A._$AxisArrowsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 436 + $signature: 413 }; - T._$$DesignMainDomainMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$AxisArrowsSideProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDomainMovingComponentFactory() : t1; + return t1 == null ? $.$get$$AxisArrowsComponentFactory() : t1; } }; - T._$$DesignMainDomainMovingProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_domain_moving$_props; + A._$$AxisArrowsSideProps$PlainMap.prototype = { + get$props(_) { + return this._axis_arrows_side$_props; } }; - T._$$DesignMainDomainMovingProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_domain_moving$_props; + A._$$AxisArrowsSideProps$JsMap.prototype = { + get$props(_) { + return this._axis_arrows_side$_props; } }; - T._$DesignMainDomainMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_domain_moving$_cachedTypedProps; + A._$AxisArrowsComponent.prototype = { + get$props(_) { + var t1 = this.___$AxisArrowsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_domain_moving$_cachedTypedProps = T._$$DesignMainDomainMovingProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$AxisArrowsComponent__cachedTypedProps_A = A._$$AxisArrowsSideProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainDomainMoving"; + get$displayName(_) { + return "AxisArrowsSide"; }, - get$$$defaultConsumedProps: function() { - return C.Map_QLeii.get$values(C.Map_QLeii); + get$$$defaultConsumedProps() { + return B.Map_RGnlV.get$values(B.Map_RGnlV); } }; - T.$DesignMainDomainMovingPropsMixin.prototype = { - get$domain_moved: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMdom); - if (t1 == null) - t1 = null; - return type$.legacy_Domain._as(t1); - }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingPropsMixin.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDomainMovingPropsMixin.helices", value); + A.$AxisArrowsSideProps.prototype = { + get$invert_y() { + var t1 = J.$index$asx(this.get$props(this), "AxisArrowsSideProps.invert_y"); + return A._asBoolS(t1 == null ? null : t1); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingPropsMixin.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDomainMovingPropsMixin.groups", value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMg); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + set$invert_y(value) { + J.$indexSet$ax(this.get$props(this), "AxisArrowsSideProps.invert_y", value); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMDoMg, value); - }, - get$domain_helix_svg_position_y: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMdoh); - return H._asNumS(t1 == null ? null : t1); + set$show_helices_axis_arrows(value) { + J.$indexSet$ax(this.get$props(this), string$.AxisArS, value); } }; - T._DesignMainDomainMovingComponent_UiComponent2_PureComponent.prototype = {}; - T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDomainMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainDomainMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainDomainMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainDomainMovingPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainDomainMovingPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainDomainMovingPropsMixin_geometry; + A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps.prototype = {}; + A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps.prototype = {}; + A.DraggableComponent.prototype = { + _enumToString$0() { + return "DraggableComponent." + this._core$_name; } }; - T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin.prototype = {}; - T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + A.DesignViewComponent.prototype = { + handle_keyboard_mouse_events$0() { + var t3, _i, t4, end_select_mode, svg_elt, _this = this, + _s9_ = "mousemove", + _s9_0 = "mousedown", + t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure()); + type$.nullable_void_Function._as(null); + A._EventStreamSubscription$(t1, "click", t2, false, type$.legacy_MouseEvent); + t2 = _this.__DesignViewComponent_side_view_svg_A; + t2 === $ && A.throwLateFieldNI("side_view_svg"); + t1 = type$._ElementEventStreamImpl_legacy_MouseEvent; + t3 = t1._eval$1("~(1)?"); + t1 = t1._precomputed1; + A._EventStreamSubscription$(t2, "mouseleave", t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure0(_this)), false, t1); + A._EventStreamSubscription$(_this.__DesignViewComponent_side_view_svg_A, _s9_, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure1(_this)), false, t1); + t2 = _this.__DesignViewComponent_main_view_svg_A; + t2 === $ && A.throwLateFieldNI("main_view_svg"); + t2 = [t2, _this.__DesignViewComponent_side_view_svg_A]; + _i = 0; + for (; _i < 2; ++_i) + A._EventStreamSubscription$(t2[_i], _s9_0, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure2()), false, t1); + A._EventStreamSubscription$(_this.__DesignViewComponent_main_view_svg_A, _s9_, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure3(_this)), false, t1); + t2 = type$.nullable_void_Function_legacy_KeyboardEvent; + t4 = type$.legacy_KeyboardEvent; + A._EventStreamSubscription$(window, "keydown", t2._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure4(_this)), false, t4); + end_select_mode = new A.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(_this); + A._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure5(end_select_mode)), false, type$.legacy_Event); + A._EventStreamSubscription$(window, "keyup", t2._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure6(end_select_mode)), false, t4); + for (t2 = [_this.__DesignViewComponent_main_view_svg_A, _this.__DesignViewComponent_side_view_svg_A], _i = 0; _i < 2; ++_i) { + svg_elt = t2[_i]; + A._EventStreamSubscription$(svg_elt, _s9_0, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure7(svg_elt === _this.__DesignViewComponent_main_view_svg_A, svg_elt)), false, t1); + A._EventStreamSubscription$(svg_elt, "mouseup", t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure8(svg_elt)), false, t1); + } + }, + handle_keyboard_shortcuts$2(key, ev) { + var _i, svg_elt, t2, _this = this, _s5_ = "store", + _s13_ = "main_view_svg", + _s13_0 = "side_view_svg", + _s11_ = "panzoomable", + _s22_ = "selection-box-drawable", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); + } else + t1 = true; + if (t1) + t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; + else + t1 = false; + if (t1) { + t1 = _this.__DesignViewComponent_main_view_svg_A; + t1 === $ && A.throwLateFieldNI(_s13_); + _this.install_draggable$3(true, B.DraggableComponent_0, t1); + t1 = _this.__DesignViewComponent_side_view_svg_A; + t1 === $ && A.throwLateFieldNI(_s13_0); + _this.install_draggable$3(false, B.DraggableComponent_1, t1); + for (t1 = [_this.__DesignViewComponent_main_view_svg_A, _this.__DesignViewComponent_side_view_svg_A], _i = 0; _i < 2; ++_i) { + svg_elt = t1[_i]; + new A.AttributeClassSet(svg_elt).remove$1(0, _s11_); + new A.AttributeClassSet(svg_elt).add$1(0, _s22_); + } + } else { + t1 = J.getInterceptor$x(ev); + if (!A.boolConversionCheck(t1.get$ctrlKey(ev)) && !A.boolConversionCheck(t1.get$metaKey(ev)) && !A.boolConversionCheck(t1.get$shiftKey(ev)) && !A.boolConversionCheck(t1.get$altKey(ev)) && J.contains$1$asx(B.Map_2Vy1w.get$keys(B.Map_2Vy1w), key)) { + t1 = $.__app._readField$0(); + t2 = B.Map_2Vy1w.$index(0, key); + t2.toString; + t1.dispatch$1(A.EditModeToggle_EditModeToggle(t2)); + } else { + if (key !== 46) { + t2 = $._operatingSystem; + if (t2 == null) { + $.OperatingSystem_navigator = new A._HtmlNavigator(); + t2 = $._operatingSystem = A.OperatingSystem_getCurrentOperatingSystem(); + } + t2.toString; + t2 = t2 === $.$get$mac() && key === 8; + } else + t2 = true; + if (t2) { + t1.preventDefault$0(ev); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; + if (t1.get$isNotEmpty(t1)) + $.__app._readField$0().dispatch$1(A.DeleteAllSelected_DeleteAllSelected()); + else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isNotEmpty(t1)) { + t1 = $.__app._readField$0(); + type$.nullable_void_Function_HelixRemoveAllSelectedBuilder._as(null); + t1.dispatch$1(new A.HelixRemoveAllSelectedBuilder()._build$0()); + } + } + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select)) + t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; + else + t1 = false; + if (t1) { + t1 = _this.__DesignViewComponent_main_view_svg_A; + t1 === $ && A.throwLateFieldNI(_s13_); + t2 = _this.__DesignViewComponent_side_view_svg_A; + t2 === $ && A.throwLateFieldNI(_s13_0); + t2 = [t1, t2]; + _i = 0; + for (; _i < 2; ++_i) { + svg_elt = t2[_i]; + new A.AttributeClassSet(svg_elt).remove$1(0, _s11_); + new A.AttributeClassSet(svg_elt).add$1(0, _s22_); + } + self.set_allow_pan(false); + $.__app._readField$0().dispatch$1(A._$SelectionRopeCreate$_(key !== 16)); + } + } + } + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isNotEmpty(t1)) { + t1 = J.getInterceptor$x(ev); + t1 = (A.boolConversionCheck(t1.get$ctrlKey(ev)) || A.boolConversionCheck(t1.get$metaKey(ev))) && key === 67; + } else + t1 = false; + if (t1) + A.copy_selected_strands(); + t1 = J.getInterceptor$x(ev); + if ((A.boolConversionCheck(t1.get$ctrlKey(ev)) || A.boolConversionCheck(t1.get$metaKey(ev))) && key === 86 && !A.boolConversionCheck(t1.get$shiftKey(ev))) + A.paste_strands_manually(); + else if ((A.boolConversionCheck(t1.get$ctrlKey(ev)) || A.boolConversionCheck(t1.get$metaKey(ev))) && A.boolConversionCheck(t1.get$shiftKey(ev)) && key === 86) + A.paste_strands_auto(); + if (A.boolConversionCheck(t1.get$ctrlKey(ev)) || A.boolConversionCheck(t1.get$metaKey(ev))) + if (!A.boolConversionCheck(t1.get$altKey(ev))) + if (key === 65) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t2 = true; + } else + t2 = false; + else + t2 = false; + else + t2 = false; + if (t2) { + t1.preventDefault$0(ev); + $.__app._readField$0().dispatch$1(A.SelectAllSelectable_SelectAllSelectable(t1.get$shiftKey(ev))); + } else { + if (A.boolConversionCheck(t1.get$altKey(ev))) + if (A.boolConversionCheck(t1.get$shiftKey(ev))) + t2 = !(A.boolConversionCheck(t1.get$ctrlKey(ev)) || A.boolConversionCheck(t1.get$metaKey(ev))) && key === 65; + else + t2 = false; + else + t2 = false; + if (t2) { + t1.preventDefault$0(ev); + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(A.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); + } + } + if (key == B.EditModeChoice_pencil.key_code$0()) + _this.side_view_update_position$1$mouse_pos(_this.side_view_mouse_position); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + uninstall_draggable$2(is_main_view, draggable_component) { + var t1 = this.draggables; + if (t1.$index(0, draggable_component) != null) { + t1.$index(0, draggable_component).destroy$0(); + t1.$indexSet(0, draggable_component, null); + document.body.classList.remove("dnd-drag-occurring"); + t1 = $.__app._readField$0().__App_store_selection_box_F; + t1 === $ && A.throwLateFieldNI("store_selection_box"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1 != null) + $.__app._readField$0().dispatch$1(A.SelectionBoxRemove_SelectionBoxRemove(is_main_view)); + } }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } - }; - T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - R.DesignMainDomainNameMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - R.DesignMainDomainNameMismatchesComponent.prototype = { - render$0: function(_) { - var mismatch_components = this._create_mismatch_components$0(), - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, "domain-name-mismatches-main-view"); - return t1.call$1(mismatch_components); + install_draggable$3(is_main_view, draggable_component, view_svg) { + var t2, t3, draggable, _this = this, + t1 = _this.draggables; + if (t1.$index(0, draggable_component) != null) + return; + t2 = $.Draggable_idCounter; + $.Draggable_idCounter = t2 + 1; + t3 = A._setArrayType([], type$.JSArray__EventManager); + draggable = new A.Draggable(t2, t3); + t2 = A._setArrayType([view_svg], type$.JSArray_Element); + draggable.set$__Draggable__elements_A(type$.List_Element._as(t2)); + t2 = window; + t2 = A._wrapToDart(A._convertToJS(t2)); + if ("PointerEvent" in t2._js$_jsObject) + B.JSArray_methods.add$1(t3, A._PointerManager$(draggable)); + else { + if (A.TouchEvent_supported()) + B.JSArray_methods.add$1(t3, A._TouchManager$(draggable)); + B.JSArray_methods.add$1(t3, A._MouseManager$(draggable)); + } + t1.$indexSet(0, draggable_component, draggable); + draggable.get$onDragStart(draggable).listen$1(new A.DesignViewComponent_install_draggable_closure(_this, view_svg, is_main_view)); + draggable.get$onDrag(draggable).listen$1(new A.DesignViewComponent_install_draggable_closure0(_this, view_svg, is_main_view)); + draggable.get$onDragEnd(draggable).listen$1(new A.DesignViewComponent_install_draggable_closure1(_this, view_svg, is_main_view)); }, - _create_mismatch_components$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, forward_domain, reverse_domain, overlap, t10, mid, _i, domain, t11, base_svg_pos, key, t12, t13, _this = this, _null = null, - _s42_ = string$.DesignMDoNd, - mismatch_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = _this._design_main_domain_name_mismatches$_cachedTypedProps.get$design().helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = type$.legacy_Design, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t4 = type$.legacy_Point_legacy_num, t5 = type$.legacy_BuiltSet_legacy_int; t1.moveNext$0();) { - t6 = t1.get$current(t1); - t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMDoNo); - if (H.boolConversionCheck(H._asBoolS(t7 == null ? _null : t7))) { - t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMDoNs); - t7 = t5._as(t7 == null ? _null : t7); - t8 = t6.idx; - t8 = !t7._set.contains$1(0, t8); - t7 = t8; - } else - t7 = false; - if (t7) - continue; - t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, _s42_); - t7 = t2._as(t7 == null ? _null : t7); - t8 = t7.__domain_name_mismatches; - if (t8 == null) { - t8 = N.Design.prototype.get$domain_name_mismatches.call(t7); - t7.set$__domain_name_mismatches(t8); - t7 = t8; + drag_end$3(draggable_event, view_svg, is_main_view) { + var action_remove, toggle, action_adjust, + _s19_ = "store_selection_box", + _s6_ = "_state", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t1 = $.__app._readField$0().__App_store_selection_box_F; + t1 === $ && A.throwLateFieldNI(_s19_); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1 == null) + return; + action_remove = A.SelectionBoxRemove_SelectionBoxRemove(is_main_view); + t1 = $.__app._readField$0().__App_store_selection_box_F; + t1 === $ && A.throwLateFieldNI(_s19_); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + toggle = t1.toggle; + if (is_main_view) + action_adjust = A._$SelectionsAdjustMainView$_(true, toggle); + else { + t1 = $.__app._readField$0().__App_store_selection_box_F; + t1 === $ && A.throwLateFieldNI(_s19_); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1.toString; + action_adjust = A.HelixSelectionsAdjust_HelixSelectionsAdjust(toggle, t1); + } + $.__app._readField$0().dispatch$1(action_adjust); + $.__app._readField$0().dispatch$1(action_remove); + } else { + if (is_main_view) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); } else - t7 = t8; - t8 = t6.idx; - for (t7 = J.get$iterator$ax(J.$index$asx(t7._map$_map, t8)._list); t7.moveNext$0();) { - t9 = t7.get$current(t7); - forward_domain = t9.forward_domain; - reverse_domain = t9.reverse_domain; - overlap = forward_domain.compute_overlap$1(reverse_domain); - t9 = overlap.item1; - t10 = overlap.item2; - if (typeof t9 !== "number") - return t9.$add(); - if (typeof t10 !== "number") - return H.iae(t10); - mid = C.JSNumber_methods._tdivFast$1(t9 + t10, 2); - for (t9 = [forward_domain, reverse_domain], _i = 0; _i < 2; ++_i) { - domain = t9[_i]; - t10 = domain.forward; - t11 = _this._design_main_domain_name_mismatches$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, string$.DesignMDoNh); - base_svg_pos = t6.svg_base_pos$3(mid, t10, J.$index$asx(t3._as(t11 == null ? _null : t11)._map$_map, t8).y); - key = "" + domain.helix + ";" + t10 + ";" + domain.start + ";" + mid + ";" + domain.end; - t11 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); - t11.toString; - t4._as(base_svg_pos); - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); - t13 = _this._design_main_domain_name_mismatches$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s42_); - t13 = t2._as(t13 == null ? _null : t13).geometry; - J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.geometry", t13); - J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.forward", t10); - J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.color", "blue"); - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", key); - C.JSArray_methods.add$1(mismatch_components, t11.call$0()); + t1 = false; + if (t1) + $.__app._readField$0().dispatch$1(A._$HelixGroupMoveStop__$HelixGroupMoveStop()); + } + }, + render_loading_dialog$1(state) { + var t1 = $.$get$ErrorBoundary().call$0(), + t2 = $.$get$ReduxProvider().call$0(), + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + J.set$store$z(t2, t3); + t3 = $.$get$ConnectedLoadingDialog().call$0(); + t3.set$show(0, state.ui_state.show_load_dialog); + t3 = t1.call$1(t2.call$1(t3.call$0())); + $.$get$render().call$2(t3, this.dialog_loading_container); + }, + render$1(_, state) { + var t1, t2, pre, escaped_error_message, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _null = null, + _s1170_ = string$.x3cp_sca, + _s5_ = "store", + _s20_ = "store_selection_rope", + _s19_ = "store_selection_box"; + if (state.get$has_error()) { + t1 = _this.root_element; + t2 = _this.error_message_pane; + if (!J.contains$1$asx(t1.children, t2)) { + B.DivElement_methods._clearChildren$0(t1); + t1.appendChild(t2); + t1.appendChild(_this.dialog_form_container); + t1.appendChild(_this.dialog_loading_container); + t1.appendChild(_this.strand_color_picker_container); + } + t1 = _this.__DesignViewComponent_error_message_component_A; + t1 === $ && A.throwLateFieldNI("error_message_component"); + t2 = state.error_message; + t2.toString; + t1 = t1.root_element; + B.DivElement_methods._clearChildren$0(t1); + if (t2.length > 0) + if (t2 === _s1170_) + t1.appendChild(A.Element_Element$html(_s1170_, B.C__TrustedHtmlTreeSanitizer, _null)); + else { + pre = document.createElement("pre"); + escaped_error_message = new A.HtmlEscape().convert$1(t2); + B.PreElement_methods.set$text(pre, _null); + pre.appendChild(B.PreElement_methods.createFragment$3$treeSanitizer$validator(pre, escaped_error_message, _null, _null)); + t1.appendChild(pre); } + _this.render_dialog_form$0(); + _this.render_loading_dialog$1(state); + } else { + t1 = _this.root_element; + t2 = _this.design_above_footer_pane; + if (!J.contains$1$asx(t1.children, t2)) { + B.DivElement_methods._clearChildren$0(t1); + t1.appendChild(t2); + t1.appendChild(_this.footer_separator); + t1.appendChild(_this.footer_element); + t1.appendChild(_this.dialog_form_container); + t1.appendChild(_this.dialog_loading_container); + t1.appendChild(_this.strand_color_picker_container); + t1.appendChild(_this.context_menu_container); + } + t1 = $.$get$ErrorBoundary().call$0(); + t2 = $.$get$ReduxProvider().call$0(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t2, t3); + t2 = t1.call$1(t2.call$1(A.set_side_menu_props($.$get$ConnectedSideMenu().call$0(), state).call$0())); + t1 = document; + t3 = t1.querySelector("#side-view-menu"); + t3.toString; + $.$get$render().call$2(t2, t3); + if (!state.get$has_error()) { + t2 = $.$get$ErrorBoundary().call$0(); + t3 = $.$get$ReduxProvider().call$0(); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t3, t4); + t4 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_selection_rope_F; + t5 === $ && A.throwLateFieldNI(_s20_); + t6 = J.getInterceptor$z(t4); + t6.set$store(t4, t5); + t6.set$context(t4, $.__app._readField$0().context_selection_rope); + t6 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_selection_box_F; + t5 === $ && A.throwLateFieldNI(_s19_); + t7 = J.getInterceptor$z(t6); + t7.set$store(t6, t5); + t7.set$context(t6, $.__app._readField$0().context_selection_box); + t6 = t2.call$1(t3.call$1(t4.call$1(t6.call$1(A.set_design_side_props($.$get$ConnectedDesignSide().call$0(), state).call$0())))); + t4 = t1.querySelector("#side-view-svg-viewport"); + t4.toString; + $.$get$render().call$2(t6, t4); + } + t2 = A.design_main_error_boundary___$DesignMainErrorBoundary$closure().call$0(); + t3 = $.$get$ReduxProvider().call$0(); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t3, t4); + t4 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_selection_rope_F; + t5 === $ && A.throwLateFieldNI(_s20_); + t6 = J.getInterceptor$z(t4); + t6.set$store(t4, t5); + t6.set$context(t4, $.__app._readField$0().context_selection_rope); + t6 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_selection_box_F; + t5 === $ && A.throwLateFieldNI(_s19_); + t7 = J.getInterceptor$z(t6); + t7.set$store(t6, t5); + t7.set$context(t6, $.__app._readField$0().context_selection_box); + t7 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_potential_crossover_F; + t5 === $ && A.throwLateFieldNI("store_potential_crossover"); + t8 = J.getInterceptor$z(t7); + t8.set$store(t7, t5); + t8.set$context(t7, $.__app._readField$0().context_potential_crossover); + t8 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_extensions_move_F; + t5 === $ && A.throwLateFieldNI("store_extensions_move"); + t9 = J.getInterceptor$z(t8); + t9.set$store(t8, t5); + t9.set$context(t8, $.__app._readField$0().context_extensions_move); + t9 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_dna_ends_move_F; + t5 === $ && A.throwLateFieldNI("store_dna_ends_move"); + t10 = J.getInterceptor$z(t9); + t10.set$store(t9, t5); + t10.set$context(t9, $.__app._readField$0().context_dna_ends_move); + t10 = $.$get$ReduxProvider().call$0(); + t5 = $.__app._readField$0().__App_store_helix_group_move_F; + t5 === $ && A.throwLateFieldNI("store_helix_group_move"); + t11 = J.getInterceptor$z(t10); + t11.set$store(t10, t5); + t11.set$context(t10, $.__app._readField$0().context_helix_group_move); + t11 = $.$get$ConnectedDesignMain().call$0(); + J.set$state$x(t11, state); + t11 = t2.call$1(t3.call$1(t4.call$1(t6.call$1(t7.call$1(t8.call$1(t9.call$1(t10.call$1(t11.call$0())))))))); + t10 = t1.querySelector("#main-view-svg-viewport"); + t10.toString; + $.$get$render().call$2(t11, t10); + t10 = $.$get$ErrorBoundary().call$0(); + t11 = $.$get$ReduxProvider().call$0(); + t9 = $.__app._readField$0().__App_store_F; + t9 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t11, t9); + t11 = t10.call$1(t11.call$1(A.set_axis_arrows_props($.$get$ConnectedAxisArrowsSide().call$0(), state).call$0())); + t10 = t1.querySelector("#side-arrows"); + t10.toString; + $.$get$render().call$2(t11, t10); + t10 = $.$get$ErrorBoundary().call$0(); + t11 = $.$get$ReduxProvider().call$0(); + t9 = $.__app._readField$0().__App_store_F; + t9 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t11, t9); + t11 = t10.call$1(t11.call$1(A.set_axis_arrows_props($.$get$ConnectedAxisArrowsMain().call$0(), state).call$0())); + t1 = t1.querySelector("#main-arrows"); + t1.toString; + $.$get$render().call$2(t11, t1); + t1 = $.$get$ErrorBoundary().call$0(); + t11 = $.$get$ReduxProvider().call$0(); + t10 = $.__app._readField$0().__App_store_F; + t10 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t11, t10); + t11 = t1.call$1(t11.call$1(A.set_design_footer_props($.$get$ConnectedDesignFooter().call$0(), state).call$0())); + $.$get$render().call$2(t11, _this.footer_element); + t11 = $.$get$ErrorBoundary().call$0(); + t1 = $.$get$ReduxProvider().call$0(); + t10 = $.__app._readField$0().__App_store_F; + t10 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t1, t10); + t1 = t11.call$1(t1.call$1($.$get$ConnectedDesignContextMenu().call$0().call$0())); + $.$get$render().call$2(t1, _this.context_menu_container); + _this.render_dialog_form$0(); + _this.render_loading_dialog$1(state); + t1 = $.$get$ErrorBoundary().call$0(); + t11 = $.$get$ReduxProvider().call$0(); + t10 = $.__app._readField$0().__App_store_F; + t10 === $ && A.throwLateFieldNI(_s5_); + J.set$store$z(t11, t10); + t10 = $.$get$ConnectedStrandOrSubstrandColorPicker().call$0(); + J.set$show$z(t10, false); + t10 = t1.call$1(t11.call$1(t10.call$0())); + $.$get$render().call$2(t10, _this.strand_color_picker_container); + if (!_this.svg_panzoom_has_been_set_up) { + self.setup_svg_panzoom(A.allowInterop(A.util__svg_to_png_data$closure(), type$.void_Function), A.allowInterop(A.util__dispatch_set_zoom_threshold$closure(), type$.void_Function_bool), 0.5); + _this.svg_panzoom_has_been_set_up = true; } } - return mismatch_components; - } - }; - R.$DesignMainDomainNameMismatchesComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainDomainNameMismatchesComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 437 - }; - R._$$DesignMainDomainNameMismatchesProps.prototype = { - get$$$isClassGenerated: function() { - return true; + render_dialog_form$0() { + var t1 = $.$get$ErrorBoundary().call$0(), + t2 = $.$get$ReduxProvider().call$0(), + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + J.set$store$z(t2, t3); + t2 = t1.call$1(t2.call$1($.$get$ConnectedDesignDialogForm().call$0().call$0())); + $.$get$render().call$2(t2, this.dialog_form_container); + }, + side_view_update_position$2$event$mouse_pos($event, mouse_pos) { + var t1, displayed_group_name, displayed_grid, invert_y, geometry, svg_pos, t2, t3, t4, gp, action, _s5_ = "store"; + type$.nullable_Point_double._as(mouse_pos); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + displayed_group_name = t1.get$state(t1).ui_state.storables.displayed_group_name; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + displayed_grid = t1.get$state(t1).get$design().groups._map$_map.$index(0, displayed_group_name).grid; + if (displayed_grid !== B.Grid_none) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + invert_y = t1.get$state(t1).ui_state.storables.invert_y; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + geometry = t1.get$state(t1).get$design().geometry; + svg_pos = A.transformed_svg_point(type$.SvgSvgElement._as(document.querySelector("#side-view-svg")), false, $event, mouse_pos); + t1 = svg_pos.x; + t2 = geometry.get$distance_between_helices_svg(); + if (typeof t1 !== "number") + return t1.$div(); + t3 = svg_pos.y; + t4 = geometry.get$distance_between_helices_svg(); + if (typeof t3 !== "number") + return t3.$div(); + gp = A.position_2d_to_grid_position_diameter_1_circles(displayed_grid, t1 / t2, t3 / t4, B.HexGridCoordinateSystem_2); + if (invert_y) + gp = A.GridPosition_GridPosition(-gp.h, -gp.v); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (!J.$eq$(t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor, gp)) + $.__app._readField$0().dispatch$1(A.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate(gp)); + } else { + t1 = this.__DesignViewComponent_side_view_svg_A; + t1 === $ && A.throwLateFieldNI("side_view_svg"); + action = A._$MousePositionSideUpdate$_(A.transformed_svg_point(t1, false, $event, mouse_pos)); + $.__app._readField$0().dispatch$1(A.ThrottledActionNonFast_ThrottledActionNonFast(action, 0.016666666666666666)); + } + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); + } }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDomainNameMismatchesComponentFactory() : t1; - } - }; - R._$$DesignMainDomainNameMismatchesProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_domain_name_mismatches$_props; - } - }; - R._$$DesignMainDomainNameMismatchesProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_domain_name_mismatches$_props; - } - }; - R._$DesignMainDomainNameMismatchesComponent.prototype = { - get$props: function(_) { - return this._design_main_domain_name_mismatches$_cachedTypedProps; + side_view_update_position$1$mouse_pos(mouse_pos) { + return this.side_view_update_position$2$event$mouse_pos(null, mouse_pos); }, - set$props: function(_, value) { - this.props = value; - this._design_main_domain_name_mismatches$_cachedTypedProps = R._$$DesignMainDomainNameMismatchesProps$JsMap$(R.getBackingMap(value)); + side_view_update_position$1$event($event) { + return this.side_view_update_position$2$event$mouse_pos($event, null); }, - get$displayName: function(_) { - return "DesignMainDomainNameMismatches"; + set$side_view_mouse_position(side_view_mouse_position) { + this.side_view_mouse_position = type$.Point_double._as(side_view_mouse_position); }, - get$$$defaultConsumedProps: function() { - return C.Map_cwekJ.get$values(C.Map_cwekJ); - } - }; - R.$DesignMainDomainNameMismatchesProps.prototype = { - get$design: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoNd); - if (t1 == null) - t1 = null; - return type$.legacy_Design._as(t1); + set$main_view_mouse_position(main_view_mouse_position) { + this.main_view_mouse_position = type$.Point_double._as(main_view_mouse_position); } }; - R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent.prototype = {}; - R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps.prototype = {}; - R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps.prototype = {}; - Y.ConnectedDesignMainDomainsMoving_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, group_name, t5, t6, original_group, current_group, selected_domains_on_multiple_groups; - type$.legacy_AppState._as(state); - t1 = state.ui_state; - t2 = t1.domains_move; - t3 = t2 != null; - if (t3) { - t4 = state.design; - group_name = E.original_group_name_from_domains_move(t4, t2); - t5 = t4.groups._map$_map; - t6 = J.getInterceptor$asx(t5); - original_group = t6.$index(t5, group_name); - current_group = t6.$index(t5, E.current_group_name_from_domains_move(t4, t2)); - } else { - original_group = null; - current_group = null; + A.DesignViewComponent_handle_keyboard_mouse_events_closure.prototype = { + call$1($event) { + var context_menu_elt, strand_color_picker_elt, + target = type$.Element._as(A._convertNativeToDart_EventTarget(type$.MouseEvent._as($event).target)), + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.context_menu != null) { + context_menu_elt = document.querySelector("#context-menu"); + if (context_menu_elt != null && !A.boolConversionCheck(J.contains$1$asx(context_menu_elt, target))) + $.__app._readField$0().dispatch$1(A._$ContextMenuHide__$ContextMenuHide()); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.color_picker_strand != null) { + strand_color_picker_elt = document.querySelector("#strand-color-picker"); + if (strand_color_picker_elt != null && !A.boolConversionCheck(J.contains$1$asx(strand_color_picker_elt, target))) + $.__app._readField$0().dispatch$1(A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); } - if (t3) { - t3 = state.design.group_names_of_domains$1(t2.domains_moving)._set; - t3 = t3.get$length(t3); - if (typeof t3 !== "number") - return t3.$gt(); - selected_domains_on_multiple_groups = t3 > 1; - } else - selected_domains_on_multiple_groups = false; - t3 = Y.design_main_domains_moving___$DesignMainDomainsMoving$closure().call$0(); - if (selected_domains_on_multiple_groups) - t2 = null; - t3.toString; - t4 = J.getInterceptor$x(t3); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosd, t2); - t2 = state.design; - t5 = t2.__color_of_domain; - if (t5 == null) { - t5 = N.Design.prototype.get$color_of_domain.call(t2); - t2.set$__color_of_domain(t5); - } - type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color._as(t5); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosco, t5); - t5 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); - J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.groups", t5); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoso, original_group); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoscu, current_group); - t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); - J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.helices", t5); - t1 = type$.legacy_BuiltSet_legacy_int._as(t1.storables.side_selected_helix_idxs); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoss, t1); - t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(state.get$helix_idx_to_svg_position_map().map$2$1(0, new Y.ConnectedDesignMainDomainsMoving__closure(), type$.legacy_int, type$.legacy_num)); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosh, t1); - t2 = t2.geometry; - J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.geometry", t2); - return t3; }, - $signature: 438 + $signature: 20 }; - Y.ConnectedDesignMainDomainsMoving__closure.prototype = { - call$2: function(i, p) { - return new P.MapEntry(H._asIntS(i), type$.legacy_Point_legacy_num._as(p).y, type$.MapEntry_of_legacy_int_and_legacy_num); + A.DesignViewComponent_handle_keyboard_mouse_events_closure0.prototype = { + call$1(_) { + var t1; + type$.MouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); + return null; }, - $signature: 43 + $signature: 20 }; - Y.DesignMainDomainsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainDomainsMovingProps_helices; + A.DesignViewComponent_handle_keyboard_mouse_events_closure1.prototype = { + call$1($event) { + var t1; + type$.MouseEvent._as($event); + t1 = this.$this; + t1.set$side_view_mouse_position(A.from_point_num(new A.Point($event.clientX, $event.clientY, type$.Point_num))); + t1.side_view_update_position$1$event($event); }, - get$groups: function() { - return this.DesignMainDomainsMovingProps_groups; + $signature: 20 + }; + A.DesignViewComponent_handle_keyboard_mouse_events_closure2.prototype = { + call$1($event) { + self.set_allow_pan(type$.SvgSvgElement._is(A._convertNativeToDart_EventTarget(type$.MouseEvent._as($event).target))); }, - get$geometry: function(receiver) { - return this.DesignMainDomainsMovingProps_geometry; - } + $signature: 20 }; - Y.DesignMainDomainsMovingComponent.prototype = { - render$0: function(_) { - var domains_moving, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, domain_moved, moved_helix_idx, domain_helix_svg_position_y, _this = this, _null = null, - _s43_ = string$.DesignMDoso, - _s42_ = string$.DesignMDoscu, - _s41_ = string$.DesignMDosd; - if (_this._design_main_domains_moving$_cachedTypedProps.get$domains_move() == null) - return _null; - domains_moving = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$iterator$ax(_this._design_main_domains_moving$_cachedTypedProps.get$domains_move().domains_moving._list), t2 = type$.legacy_Geometry, t3 = type$.legacy_DomainsMove, t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltSet_legacy_int, t7 = type$.legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color, t9 = type$.legacy_Color, t10 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num; t1.moveNext$0();) { - t11 = t1.get$current(t1); - t12 = _this._design_main_domains_moving$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s43_); - t12 = t7._as(t12 == null ? _null : t12); - t13 = _this._design_main_domains_moving$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s42_); - t13 = t7._as(t13 == null ? _null : t13); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s41_); - t14 = t3._as(t14 == null ? _null : t14); - t15 = t14.groups; - t16 = t14.helices; - t17 = t14.current_address.helix_idx; - t16 = t16._map$_map; - t18 = J.getInterceptor$asx(t16); - t19 = t18.$index(t16, t17).group; - t15 = t15._map$_map; - t20 = J.getInterceptor$asx(t15); - t19 = t20.$index(t15, t19); - t21 = t19.__helices_view_order_inverse; - if (t21 == null) { - t21 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t19); - t19.set$__helices_view_order_inverse(t21); - t19 = t21; - } else - t19 = t21; - t17 = J.$index$asx(t19._map$_map, t18.$index(t16, t17).idx); - t14 = t14.original_address.helix_idx; - t15 = t20.$index(t15, t18.$index(t16, t14).group); - t20 = t15.__helices_view_order_inverse; - if (t20 == null) { - t19 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t15); - t15.set$__helices_view_order_inverse(t19); - t15 = t19; - } else - t15 = t20; - t14 = J.$index$asx(t15._map$_map, t18.$index(t16, t14).idx); - if (typeof t17 !== "number") - return t17.$sub(); - if (typeof t14 !== "number") - return H.iae(t14); - t16 = _this._design_main_domains_moving$_cachedTypedProps; - t16 = t16.get$props(t16).$index(0, _s41_); - t15 = t3._as(t16 == null ? _null : t16); - t16 = t15.current_address.offset; - t15 = t15.original_address.offset; - if (typeof t16 !== "number") - return t16.$sub(); - if (typeof t15 !== "number") - return H.iae(t15); - t18 = _this._design_main_domains_moving$_cachedTypedProps; - t18 = t18.get$props(t18).$index(0, _s41_); - t18 = t3._as(t18 == null ? _null : t18); - domain_moved = Q.move_domain(t13, t18.current_address.forward != t18.original_address.forward, t16 - t15, t17 - t14, t11, t12, true); - moved_helix_idx = domain_moved.helix; - t12 = _this._design_main_domains_moving$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, string$.DesignMDosh); - domain_helix_svg_position_y = J.$index$asx(t10._as(t12 == null ? _null : t12)._map$_map, moved_helix_idx); - t12 = T.design_main_domain_moving___$DesignMainDomainMoving$closure().call$0(); - t12.toString; - t13 = J.getInterceptor$x(t12); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdom, domain_moved); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMDosco); - t14 = t9._as(J.$index$asx(t8._as(t14 == null ? _null : t14)._map$_map, t11)); - J.$indexSet$ax(t13.get$props(t12), "DesignMainDomainMovingPropsMixin.color", t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s41_); - t14 = t3._as(t14 == null ? _null : t14); - t15 = t14.groups; - t16 = t14.helices; - t17 = t14.current_address.helix_idx; - t16 = t16._map$_map; - t18 = J.getInterceptor$asx(t16); - t19 = t18.$index(t16, t17).group; - t15 = t15._map$_map; - t20 = J.getInterceptor$asx(t15); - t19 = t20.$index(t15, t19); - t21 = t19.__helices_view_order_inverse; - if (t21 == null) { - t21 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t19); - t19.set$__helices_view_order_inverse(t21); - t19 = t21; - } else - t19 = t21; - t17 = J.$index$asx(t19._map$_map, t18.$index(t16, t17).idx); - t14 = t14.original_address.helix_idx; - t15 = t20.$index(t15, t18.$index(t16, t14).group); - t20 = t15.__helices_view_order_inverse; - if (t20 == null) { - t19 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t15); - t15.set$__helices_view_order_inverse(t19); - t15 = t19; - } else - t15 = t20; - t14 = J.$index$asx(t15._map$_map, t18.$index(t16, t14).idx); - if (typeof t17 !== "number") - return t17.$sub(); - if (typeof t14 !== "number") - return H.iae(t14); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdev, t17 - t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s43_); - t14 = t7._as(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMo, t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s42_); - t14 = t7._as(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMc, t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s41_); - t14 = t3._as(t14 == null ? _null : t14); - t15 = t14.current_address.offset; - t14 = t14.original_address.offset; - if (typeof t15 !== "number") - return t15.$sub(); - if (typeof t14 !== "number") - return H.iae(t14); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdeo, t15 - t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s41_); - t14 = t3._as(t14 == null ? _null : t14); - t15 = t14.current_address; - t14 = t14.original_address; - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdef, t15.forward != t14.forward); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMDoss); - t14 = t6._as(t6._as(t14 == null ? _null : t14)); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMs, t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.helices"); - t14 = t5._as(t5._as(t14 == null ? _null : t14)); - J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.helices", t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.groups"); - t14 = t4._as(t4._as(t14 == null ? _null : t14)); - J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.groups", t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s41_); - t14 = t3._as(t14 == null ? _null : t14).allowable; - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMa, t14); - t14 = _this._design_main_domains_moving$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.geometry"); - t14 = t2._as(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.geometry", t14); - J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdoh, domain_helix_svg_position_y); - t11 = J.toString$0$(t11); - t13 = t13.get$props(t12); - J.$indexSet$ax(t13, "key", t11); - C.JSArray_methods.add$1(domains_moving, t12.call$0()); + A.DesignViewComponent_handle_keyboard_mouse_events_closure3.prototype = { + call$1($event) { + var t1, left_mouse_button_is_down, t2, action, displayed_group_name, t3, helices_in_group, old_offset, t4, t5, t6, t7, t8, svg_clicked_point_untransformed, range, min_offset, max_offset, closest_offset_unbounded, helix, geometry, offset, old_point, point, strands_move, can_paste, old_address, visible_helices, address, domains_move, strand_creation, svg_clicked_point, closest_point_in_helix_untransformed, updated_function_offset, _s6_ = "_state", + _s13_ = "main_view_svg", + _s5_ = "store", _s2_ = ", "; + type$.MouseEvent._as($event); + t1 = $event.buttons; + t1.toString; + left_mouse_button_is_down = (t1 & 1) === 1; + t1 = this.$this; + t1.set$main_view_mouse_position(A.from_point_num(new A.Point($event.clientX, $event.clientY, type$.Point_num))); + t2 = $.__app._readField$0().__App_store_potential_crossover_F; + t2 === $ && A.throwLateFieldNI("store_potential_crossover"); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (t2 != null) { + t2 = t1.__DesignViewComponent_main_view_svg_A; + t2 === $ && A.throwLateFieldNI(_s13_); + action = A._$PotentialCrossoverMove$_(A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t2)); + $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.selection_rope != null) + t2 = A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey) || A.boolConversionCheck($event.shiftKey); + else + t2 = false; + } else + t2 = false; + if (t2) { + t2 = t1.__DesignViewComponent_main_view_svg_A; + t2 === $ && A.throwLateFieldNI(_s13_); + action = A._$SelectionRopeMouseMove$_(true, A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t2)); + $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + if (left_mouse_button_is_down) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.slice_bar_is_moving; + } else + t2 = false; + if (t2) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + displayed_group_name = t2.get$state(t2).ui_state.storables.displayed_group_name; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).get$design().groups._map$_map.$index(0, displayed_group_name); + t2.toString; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$design().helices_in_group$1(displayed_group_name); + helices_in_group = t3.get$values(t3); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + old_offset = t3.get$state(t3).ui_state.storables.slice_bar_offset; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$design().geometry; + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.get$state(t4).get$helix_idx_to_svg_position_map(); + t5 = helices_in_group.__internal$_iterable; + t6 = J.getInterceptor$ax(t5); + t7 = t6.get$first(t5); + t8 = helices_in_group._f; + t7 = t4._map$_map.$index(0, t8.call$1(t7).idx).x; + svg_clicked_point_untransformed = t2.transform_point_main_view$3$inverse(A.svg_position_of_mouse_click($event), t3, true); + range = A.find_helix_group_min_max(helices_in_group); + min_offset = range.x; + max_offset = range.y; + closest_offset_unbounded = t8.call$1(t6.get$first(t5)).svg_x_to_offset$2(svg_clicked_point_untransformed.x, t7); + if (typeof max_offset !== "number") + return max_offset.$sub(); + t7 = Math.min(max_offset - 1, Math.max(closest_offset_unbounded, A.checkNum(min_offset))); + if (old_offset !== t7) + $.__app._readField$0().dispatch$1(A.SliceBarOffsetSet_SliceBarOffsetSet(t7)); + } + if (left_mouse_button_is_down) { + t2 = $.__app._readField$0().__App_store_dna_ends_move_F; + t2 === $ && A.throwLateFieldNI("store_dna_ends_move"); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (t2 != null) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$design().group_names_of_ends$1(t2.get$ends_moving())._set; + if (t3.get$length(t3) !== 1) { + t2 = t3.join$1(0, _s2_); + B.Window_methods.alert$1(window, "Cannot move or copy DNA ends unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t2); + } else { + helix = t2.helix; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$design().groups; + t4 = helix.group; + t4 = t3._map$_map.$index(0, t4); + t4.toString; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + geometry = t3.get$state(t3).get$design().geometry; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map.$index(0, helix.idx); + t3.toString; + offset = A.get_address_on_helix($event, helix, t4, geometry, t3).offset; + if (offset != t2.current_offset) + $.__app._readField$0().dispatch$1(A._$DNAEndsMoveAdjustOffset$_(offset)); + } + } + t2 = $.__app._readField$0().__App_store_extensions_move_F; + t2 === $ && A.throwLateFieldNI("store_extensions_move"); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (t2 != null) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).get$design().group_names_of_ends$1(t2.get$ends_moving())._set; + if (t3.get$length(t3) !== 1) { + t1 = t3.join$1(0, _s2_); + B.Window_methods.alert$1(window, "Cannot move or copy DNA extensions unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t1); + } else { + old_point = t2.current_point; + t1 = t1.__DesignViewComponent_main_view_svg_A; + t1 === $ && A.throwLateFieldNI(_s13_); + point = A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1); + if (!point.$eq(0, old_point)) + $.__app._readField$0().dispatch$1(A._$DNAExtensionsMoveAdjustPosition$_(point)); + } + } + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + strands_move = t1.get$state(t1).ui_state.strands_move; + if (strands_move != null) { + t1 = !strands_move.copy; + if (!t1 || left_mouse_button_is_down) { + if (t1) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().group_names_of_strands$1(strands_move.strands_moving)._set; + t2 = t1.get$length(t1); + if (t2 !== 1) { + t1 = t1.join$1(0, _s2_); + B.Window_methods.alert$1(window, "Cannot move or copy strands unless they are all on the same helix group.\nThese strands occupy the following helix groups: " + t1); + can_paste = false; + } else + can_paste = true; + } else + can_paste = true; + if (can_paste) { + old_address = strands_move.current_address; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { + t1 = A._setArrayType([], type$.JSArray_Helix); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).get$design().helices; + t2 = t2.get$values(t2); + t3 = A._instanceType(t2); + t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); + t2 = $.__app._name; + for (; t3.moveNext$0();) { + t4 = t3.__internal$_current; + t5 = $.__app._value; + if (t5 == null ? $.__app == null : t5 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t5 = t5.__App_store_F; + t5 === $ && A.throwLateFieldNI(_s5_); + t5 = t5.get$state(t5).ui_state.storables.side_selected_helix_idxs; + t6 = t4.idx; + if (t5._set.contains$1(0, t6)) + t1.push(t4); + } + visible_helices = t1; + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().helices; + visible_helices = t1.get$values(t1); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).get$design().geometry; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + address = A.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); + if (!address.$eq(0, old_address)) + $.__app._readField$0().dispatch$1(A._$StrandsMoveAdjustAddress$_(address)); + } + } + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + domains_move = t1.get$state(t1).ui_state.domains_move; + if (domains_move != null) + if (left_mouse_button_is_down) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().group_names_of_domains$1(domains_move.domains_moving)._set; + if (t1.get$length(t1) !== 1) { + t1 = t1.join$1(0, _s2_); + B.Window_methods.alert$1(window, "Cannot move or copy domains unless they are all on the same helix group.\nThese domains occupy the following helix groups: " + t1); + } else { + old_address = domains_move.current_address; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { + t1 = A._setArrayType([], type$.JSArray_Helix); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).get$design().helices; + t2 = t2.get$values(t2); + t3 = A._instanceType(t2); + t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); + t2 = $.__app._name; + for (; t3.moveNext$0();) { + t4 = t3.__internal$_current; + t5 = $.__app._value; + if (t5 == null ? $.__app == null : t5 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t5 = t5.__App_store_F; + t5 === $ && A.throwLateFieldNI(_s5_); + t5 = t5.get$state(t5).ui_state.storables.side_selected_helix_idxs; + t6 = t4.idx; + if (t5._set.contains$1(0, t6)) + t1.push(t4); + } + visible_helices = t1; + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().helices; + visible_helices = t1.get$values(t1); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).get$design().geometry; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + address = A.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); + if (!address.$eq(0, old_address)) + $.__app._readField$0().dispatch$1(A._$DomainsMoveAdjustAddress$_(address)); + } + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + strand_creation = t1.get$state(t1).ui_state.strand_creation; + if (strand_creation != null) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = strand_creation.helix; + t3 = t2.group; + t1 = t1._map$_map.$index(0, t3); + t1.toString; + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + geometry = t4.get$state(t4).get$design().geometry; + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.get$state(t4).get$design().helices; + t2 = t2.idx; + t4 = t4._map$_map.$index(0, t2); + t4.toString; + t5 = type$.String; + t6 = type$.HelixGroup; + t6 = A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t3, t1], t5, t6), t5, t6); + t5 = $.__app._readField$0().__App_store_F; + t5 === $ && A.throwLateFieldNI(_s5_); + t5 = t5.get$state(t5).get$helix_idx_to_svg_position_map()._map$_map.$index(0, t2); + t5.toString; + t1 = type$.int; + t3 = type$.Point_double; + t3 = A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t2, t5], t1, t3), t1, t3); + svg_clicked_point = A.svg_position_of_mouse_click($event); + t1 = t4.idx; + t3 = t3._map$_map.$index(0, t1); + t3.toString; + t6 = t6._map$_map.$index(0, t4.group); + t6.toString; + closest_point_in_helix_untransformed = t6.transform_point_main_view$3$inverse(svg_clicked_point, geometry, true); + offset = t4.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, t3.x); + updated_function_offset = A._$Address$_(t4.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, t3.y), t1, offset); + $.__app._readField$0().dispatch$1(A._$StrandCreateAdjustOffset$_(updated_function_offset.offset)); } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "domains-moving-main-view" + (_this._design_main_domains_moving$_cachedTypedProps.get$domains_move().allowable ? "" : " disallowed")); - return t1.call$1(domains_moving); - } - }; - Y.$DesignMainDomainsMovingComponentFactory_closure.prototype = { - call$0: function() { - return new Y._$DesignMainDomainsMovingComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 439 + $signature: 20 }; - Y._$$DesignMainDomainsMovingProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A.DesignViewComponent_handle_keyboard_mouse_events_closure4.prototype = { + call$1(ev) { + var t1, t2, _s5_ = "store"; + type$.KeyboardEvent._as(ev); + t1 = J.getInterceptor$x(ev); + t2 = t1.get$which(ev); + t2.toString; + t1 = t1.get$repeat(ev); + t1.toString; + if (!t1) { + $.__app._readField$0().keys_pressed.add$1(0, t2); + if (t2 === 27) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; + if (t1.get$isNotEmpty(t1)) + $.__app._readField$0().dispatch$1(A.SelectionsClear_SelectionsClear()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isNotEmpty(t1)) + $.__app._readField$0().dispatch$1(A.HelixSelectionsClear_HelixSelectionsClear()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.drawing_potential_crossover) + $.__app._readField$0().dispatch$1(A._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.strands_move != null) + $.__app._readField$0().dispatch$1(A._$StrandsMoveStop__$StrandsMoveStop()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.domains_move != null) + $.__app._readField$0().dispatch$1(A._$DomainsMoveStop__$DomainsMoveStop()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.strand_creation != null) + $.__app._readField$0().dispatch$1(A._$StrandCreateStop__$StrandCreateStop()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.context_menu != null) + $.__app._readField$0().dispatch$1(A._$ContextMenuHide__$ContextMenuHide()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.dialog != null) + $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.selection_rope != null) + $.__app._readField$0().dispatch$1(new A._$SelectionRopeRemove()); + $.__app._readField$0().keyboard_shortcuts_enabled = true; + } else if ($.__app._readField$0().keyboard_shortcuts_enabled) + this.$this.handle_keyboard_shortcuts$2(t2, ev); + } }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDomainsMovingComponentFactory() : t1; - } - }; - Y._$$DesignMainDomainsMovingProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_domains_moving$_props; - } + $signature: 48 }; - Y._$$DesignMainDomainsMovingProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_domains_moving$_props; - } + A.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode.prototype = { + call$0() { + var t2, _i, svg_elt, toggle, action_adjust, + t1 = this.$this; + t1.uninstall_draggable$2(true, B.DraggableComponent_0); + t1.uninstall_draggable$2(false, B.DraggableComponent_1); + t2 = t1.__DesignViewComponent_main_view_svg_A; + t2 === $ && A.throwLateFieldNI("main_view_svg"); + t1 = t1.__DesignViewComponent_side_view_svg_A; + t1 === $ && A.throwLateFieldNI("side_view_svg"); + t1 = [t2, t1]; + _i = 0; + for (; _i < 2; ++_i) { + svg_elt = t1[_i]; + new A.AttributeClassSet(svg_elt).add$1(0, "panzoomable"); + new A.AttributeClassSet(svg_elt).remove$1(0, "selection-box-drawable"); + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select)) { + t1 = $.__app._readField$0().__App_store_selection_rope_F; + t1 === $ && A.throwLateFieldNI("store_selection_rope"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1 != null) { + toggle = t1.toggle; + if (t1.is_main === true && t1.points._list.length >= 3) + action_adjust = A._$SelectionsAdjustMainView$_(false, toggle); + else + action_adjust = null; + if (action_adjust != null) + $.__app._readField$0().dispatch$1(action_adjust); + $.__app._readField$0().dispatch$1(new A._$SelectionRopeRemove()); + } + } + }, + $signature: 10 }; - Y._$DesignMainDomainsMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_domains_moving$_cachedTypedProps; + A.DesignViewComponent_handle_keyboard_mouse_events_closure5.prototype = { + call$1(_) { + return this.end_select_mode.call$0(); }, - set$props: function(_, value) { - this.props = value; - this._design_main_domains_moving$_cachedTypedProps = Y._$$DesignMainDomainsMovingProps$JsMap$(R.getBackingMap(value)); + $signature: 19 + }; + A.DesignViewComponent_handle_keyboard_mouse_events_closure6.prototype = { + call$1(ev) { + var t1 = J.get$which$x(type$.KeyboardEvent._as(ev)); + t1.toString; + $.__app._readField$0().keys_pressed.remove$1(0, t1); + if (t1 === 17 || t1 === $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || t1 === 16) + this.end_select_mode.call$0(); + if (t1 === 72) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); + } }, - get$displayName: function(_) { - return "DesignMainDomainsMoving"; + $signature: 48 + }; + A.DesignViewComponent_handle_keyboard_mouse_events_closure7.prototype = { + call$1($event) { + var left_click, t1, point; + type$.MouseEvent._as($event); + left_click = $event.button === 0; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.selection_rope != null) + if (left_click) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t1 = false; + else + t1 = false; + if (t1) { + t1 = this.is_main_view; + point = A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.svg_elt); + $.__app._readField$0().dispatch$1(A._$SelectionRopeAddPoint$_(t1, point)); + } + if (left_click) + new A.AttributeClassSet(this.svg_elt).add$1(0, "dragging"); }, - get$$$defaultConsumedProps: function() { - return C.Map_LBHde.get$values(C.Map_LBHde); - } + $signature: 20 }; - Y.$DesignMainDomainsMovingProps.prototype = { - get$domains_move: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDosd); - if (t1 == null) - t1 = null; - return type$.legacy_DomainsMove._as(t1); + A.DesignViewComponent_handle_keyboard_mouse_events_closure8.prototype = { + call$1($event) { + if (type$.MouseEvent._as($event).button === 0) + new A.AttributeClassSet(this.svg_elt).remove$1(0, "dragging"); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + $signature: 20 + }; + A.DesignViewComponent_install_draggable_closure.prototype = { + call$1(ev) { + var toggle, + t1 = this.is_main_view, + $event = type$.MouseEvent._as(type$.DraggableEvent._as(ev).originalEvent), + point = A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + if (A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey)) + toggle = true; + else + toggle = A.boolConversionCheck($event.shiftKey) ? false : null; + if (toggle != null) + $.__app._readField$0().dispatch$1(A.SelectionBoxCreate_SelectionBoxCreate(point, toggle, t1)); + } else { + if (t1) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); + } else + t1 = false; + if (t1) + $.__app._readField$0().dispatch$1(A._$HelixGroupMoveStart$_(point)); + } + return null; }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + $signature: 85 + }; + A.DesignViewComponent_install_draggable_closure0.prototype = { + call$1(ev) { + var action, + t1 = this.is_main_view, + $event = type$.MouseEvent._as(type$.DraggableEvent._as(ev).originalEvent), + point = A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + if (A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey) || A.boolConversionCheck($event.shiftKey)) { + action = A.SelectionBoxSizeChange_SelectionBoxSizeChange(point, t1); + $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + } else { + if (t1) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); + } else + t1 = false; + if (t1) + if (A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey) || A.boolConversionCheck($event.shiftKey)) { + action = A._$HelixGroupMoveAdjustTranslation$_(point); + $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + } + return null; }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - } + $signature: 85 }; - Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent.prototype = {}; - Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps.prototype = { - get$helices: function() { - return this.DesignMainDomainsMovingProps_helices; + A.DesignViewComponent_install_draggable_closure1.prototype = { + call$1(ev) { + return this.$this.drag_end$3(type$.DraggableEvent._as(ev), this.view_svg, this.is_main_view); }, - get$groups: function() { - return this.DesignMainDomainsMovingProps_groups; + $signature: 85 + }; + A.paste_strands_manually_closure.prototype = { + call$1($content) { + A._asStringS($content); + if ($content != null && $content.length !== 0) + $.__app._readField$0().dispatch$1(A.ManualPasteInitiate_ManualPasteInitiate($content)); }, - get$geometry: function(receiver) { - return this.DesignMainDomainsMovingProps_geometry; - } + $signature: 121 }; - Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps.prototype = {}; - X.DesignMainErrorBoundaryStateMixin.prototype = {}; - X.DesignMainErrorBoundaryComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); - t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); - t1.set$loggerName("over_react.ErrorBoundary"); - t1.set$shouldLogErrors(true); - return t1; + A.paste_strands_auto_closure.prototype = { + call$1($content) { + A._asStringS($content); + if ($content != null && $content.length !== 0) + $.__app._readField$0().dispatch$1(A.AutoPasteInitiate_AutoPasteInitiate($content)); }, - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(false); - t1.set$showFallbackUIOnError(true); + $signature: 121 + }; + A.ConnectedDesignContextMenu_closure.prototype = { + call$1(state) { + var t1, t2; + type$.AppState._as(state); + t1 = A.design_context_menu___$DesignContextMenu$closure().call$0(); + t2 = state.ui_state.context_menu; + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "DesignContextMenuProps.context_menu", t2); return t1; }, - getDerivedStateFromError$1: function(error) { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$hasError(true); - t1.set$error(0, error); - t1.set$showFallbackUIOnError(true); + $signature: 416 + }; + A.DesignContextMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignContextMenuState.prototype = {$isMap: 1}; + A.DesignContextMenuComponent.prototype = { + get$initialState() { + var t2, + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + t2 = type$.Ref_nullable_DivElement; + t2 = t2._as(new A.Ref(self.React.createRef(), t2)); + t1.get$state(t1).$indexSet(0, string$.DesignCM, t2); return t1; }, - componentDidCatch$2: function(error, info) { - var _this = this; - if (_this._design_main_error_boundary$_cachedTypedProps.get$onComponentDidCatch() != null) - _this._design_main_error_boundary$_cachedTypedProps.onComponentDidCatch$2(error, info); - _this._design_main_error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); - if (_this._design_main_error_boundary$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) - _this._design_main_error_boundary$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); + componentDidUpdate$3(_, prev_state, __) { + var t2, _this = this, + t_prev_state = A._$$DesignContextMenuState__$$DesignContextMenuState(prev_state), + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t1 = t1.get$menu_HTML_element_ref(); + if (t1.get$current(t1) != null) { + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); + if (B.JSNumber_methods.round$0(t1.get$current(t1).offsetWidth) !== 0) { + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); + t1 = B.JSNumber_methods.round$0(t1.get$current(t1).offsetWidth) !== t_prev_state.get$width(t_prev_state); + } else + t1 = false; + } else + t1 = false; + if (t1) { + t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); + t1.set$width(0, B.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); + t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); + t1.set$height(0, B.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); + _this.setState$1(0, t1); + } }, - render$0: function(_) { - var error, t1, t2, _this = this; - if (H.boolConversionCheck(_this._cachedTypedState.get$hasError())) { - error = F.DartValueWrapper_unwrapIfNeeded(_this._cachedTypedState._design_main_error_boundary$_state.jsObject["DesignMainErrorBoundaryStateMixin.error"]); - if (error == null) - error = null; - X.send_error("You have discovered a bug in scadnano. Please file a bug report as a GitHub issue at\n https://github.com/UC-Davis-molecular-computing/scadnano/issues\nand include the following information:\n\n" + H.S(J.toString$0$(error)) + "\n\nstack trace:\n" + H.S(error.get$stackTrace())); + render$0(_) { + var left, $top, t2, _this = this, + _s12_ = "context-menu", + t1 = _this.___$DesignContextMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$context_menu() == null) return null; + left = _this.___$DesignContextMenuComponent__cachedTypedProps_A.get$context_menu().position.x; + $top = _this.___$DesignContextMenuComponent__cachedTypedProps_A.get$context_menu().position.y; + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t1 = t1.get$width(t1); + if (typeof left !== "number") + return left.$add(); + if (typeof t1 !== "number") + return A.iae(t1); + t2 = window.innerWidth; + t2.toString; + if (left + t1 > t2) { + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 = t1.get$width(t1); + if (typeof t1 !== "number") + return A.iae(t1); + t2 = window.innerWidth; + t2.toString; + left -= left + t1 - t2 + 20; } - t1 = $.$get$RecoverableErrorBoundary().call$0(); - t1.addTestId$1("RecoverableErrorBoundary"); - t1.modifyProps$1(_this.get$addUnconsumedProps()); - t2 = _this._design_main_error_boundary$_cachedTypedProps; - return t1.call$1(t2.get$children(t2)); - }, - componentDidUpdate$3: function(prevProps, prevState, snapshot) { - var t1, childThatCausedError, _this = this; - if (H.boolConversionCheck(_this._cachedTypedState.get$hasError())) { - t1 = X._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(prevProps); - childThatCausedError = J.get$single$ax(t1.get$children(t1)); - t1 = _this._design_main_error_boundary$_cachedTypedProps; - if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) - _this.setState$1(0, _this.get$initialState()); + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 = t1.get$height(t1); + if (typeof $top !== "number") + return $top.$add(); + if (typeof t1 !== "number") + return A.iae(t1); + t2 = window.innerHeight; + t2.toString; + if ($top + t1 > t2) { + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 = t1.get$height(t1); + if (typeof t1 !== "number") + return A.iae(t1); + t2 = window.innerHeight; + t2.toString; + $top -= $top + t1 - t2 + 20; } + t1 = A.DomProps$($.$get$div(), null); + t1.set$ref(0, _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref()); + t1.set$className(0, _s12_); + t1.set$id(0, _s12_); + t1.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(A.LinkedHashMap_LinkedHashMap$_literal(["left", left, "top", $top], type$.String, type$.dynamic))); + t2 = _this.___$DesignContextMenuComponent__cachedTypedProps_A.get$context_menu(); + t2.toString; + return t1.call$1(A.context_menu_to_ul(t2)); + } + }; + A.DesignContextSubmenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignContextSubmenuState.prototype = {$isMap: 1}; + A.DesignContextSubmenuComponent.prototype = { + get$initialState() { + var t2, t3, + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + t1.set$left(0, 0); + t1.set$top(0, 0); + t2 = type$.Ref_nullable_DivElement; + t2 = t2._as(new A.Ref(self.React.createRef(), t2)); + t3 = t1._design_context_menu$_state; + t3.jsObject[string$.DesignCS] = A.DartValueWrapper_wrapIfNeeded(t2); + return t1; }, - get$_design_main_error_boundary$_loggerName: function() { - if (this._design_main_error_boundary$_cachedTypedProps.get$logger() != null) - return this._design_main_error_boundary$_cachedTypedProps.get$logger().name; - var t1 = this._design_main_error_boundary$_cachedTypedProps.get$loggerName(); - return t1 == null ? "over_react.ErrorBoundary" : t1; + componentDidMount$0() { + this.reset_submenu_bounding_box$0(); + }, + componentDidUpdate$3(prev_props, _, __) { + var _this = this, + t1 = A._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(prev_props).get$context_menu().position, + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (!t1.$eq(0, t2.get$context_menu().position)) { + t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + _this.setState$1(0, t1); + } else { + t1 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (t1.get$width(t1) === 0) + _this.reset_submenu_bounding_box$0(); + } }, - _design_main_error_boundary$_logErrorCaughtByErrorBoundary$2: function(error, info) { - var t1, message, t2; - if (!H.boolConversionCheck(this._design_main_error_boundary$_cachedTypedProps.get$shouldLogErrors())) + reset_submenu_bounding_box$0() { + var t2, _this = this, + t1 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t1 = t1.get$submenu_HTML_element_ref(); + if (t1.get$current(t1) == null) return; - t1 = J.getInterceptor$x(info); - message = string$.An_unr + H.S(t1.get$componentStack(info)); - t2 = this._design_main_error_boundary$_cachedTypedProps.get$logger(); - if (t2 == null) - t2 = F.Logger_Logger(this.get$_design_main_error_boundary$_loggerName()); - t1 = t1.get$dartStackTrace(info); + t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); + t1.set$width(0, B.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); + t1.set$height(0, B.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); + t2 = t2.get$current(t2); + t2.toString; + t2 = J.getBoundingClientRect$0$x(t2).left; t2.toString; - t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); + t1.set$left(0, t2); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); + t2 = t2.get$current(t2); + t2.toString; + t2 = J.getBoundingClientRect$0$x(t2).top; + t2.toString; + t1.set$top(0, t2); + _this.setState$1(0, t1); + }, + render$0(_) { + var t4, t5, t6, _this = this, _null = null, + t1 = type$.JSArray_String, + t2 = A._setArrayType(["context-menu"], t1), + t3 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedState"); + t4 = t3._design_context_menu$_state; + t4 = A.DartValueWrapper_unwrapIfNeeded(t4.jsObject["DesignContextSubmenuState.left"]); + t4 = A._asNumS(t4 == null ? _null : t4); + t3 = t3.get$width(t3); + if (typeof t4 !== "number") + return t4.$add(); + if (typeof t3 !== "number") + return A.iae(t3); + t5 = window.innerWidth; + t5.toString; + t3 = t4 + t3 > t5 ? "left" : "right"; + t4 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A._design_context_menu$_state.jsObject; + t5 = A.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.top"]); + t5 = A._asNumS(t5 == null ? _null : t5); + t4 = A.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.height"]); + t4 = A._asIntS(t4 == null ? _null : t4); + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t4 !== "number") + return A.iae(t4); + t6 = window.innerHeight; + t6.toString; + B.JSArray_methods.addAll$1(t2, A._setArrayType([t3, t5 + t4 > t6 ? "top" : "bottom"], t1)); + t1 = A.DomProps$($.$get$div(), _null); + t1.set$ref(0, _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref()); + t1.set$className(0, B.JSArray_methods.join$1(t2, " ")); + t1.set$id(0, "context-menu"); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.call$1(A.context_menu_to_ul(t2.get$context_menu())); } }; - X.$DesignMainErrorBoundaryComponentFactory_closure.prototype = { - call$0: function() { - return new X._$DesignMainErrorBoundaryComponent(null); + A.context_menu_to_ul_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + $.__app._readField$0().dispatch$1(A._$ContextMenuHide__$ContextMenuHide()); + this.item.on_click.call$0(); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 440 + $signature: 15 }; - X._$$DesignMainErrorBoundaryProps.prototype = { - get$$$isClassGenerated: function() { + A.$DesignContextMenuComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignContextMenuComponent(null); + }, + $signature: 418 + }; + A._$$DesignContextMenuProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainErrorBoundaryComponentFactory() : t1; + return t1 == null ? $.$get$$DesignContextMenuComponentFactory() : t1; } }; - X._$$DesignMainErrorBoundaryProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_error_boundary$_props; + A._$$DesignContextMenuProps$PlainMap.prototype = { + get$props(_) { + return this._design_context_menu$_props; } }; - X._$$DesignMainErrorBoundaryProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_error_boundary$_props; + A._$$DesignContextMenuProps$JsMap.prototype = { + get$props(_) { + return this._design_context_menu$_props; } }; - X._$$DesignMainErrorBoundaryState.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignContextMenuState.prototype = { + get$$$isClassGenerated() { return true; } }; - X._$$DesignMainErrorBoundaryState$JsMap.prototype = { - get$state: function(_) { - return this._design_main_error_boundary$_state; + A._$$DesignContextMenuState$JsMap.prototype = { + get$state(_) { + return this._design_context_menu$_state; } }; - X._$DesignMainErrorBoundaryComponent.prototype = { - get$props: function(_) { - return this._design_main_error_boundary$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_error_boundary$_cachedTypedProps = X._$$DesignMainErrorBoundaryProps$JsMap$(R.getBackingMap(value)); - }, - typedPropsFactoryJs$1: function(backingMap) { - return X._$$DesignMainErrorBoundaryProps$JsMap$(backingMap); + A._$DesignContextMenuComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignContextMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$state: function(_, value) { - this.state = value; - this._cachedTypedState = X._$$DesignMainErrorBoundaryState$JsMap$(value); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignContextMenuComponent__cachedTypedProps_A = A._$$DesignContextMenuProps$JsMap$(A.getBackingMap(value)); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new X._$$DesignMainErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null, null); - t1.get$$$isClassGenerated(); - t1._design_main_error_boundary$_state = backingMap; + get$state(_) { + var t1 = this.___$DesignContextMenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); return t1; }, - get$displayName: function(_) { - return "DesignMainErrorBoundary"; + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignContextMenuComponent__cachedTypedState_A = A._$$DesignContextMenuState$JsMap$(value); }, - get$$$defaultConsumedProps: function() { - return C.Map_EU4AN.get$values(C.Map_EU4AN); - } - }; - X.$DesignMainErrorBoundaryStateMixin.prototype = { - set$error: function(_, value) { - this._design_main_error_boundary$_state.jsObject["DesignMainErrorBoundaryStateMixin.error"] = F.DartValueWrapper_wrapIfNeeded(value); - } - }; - X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; - X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { - set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { - this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + typedStateFactoryJs$1(backingMap) { + return A._$$DesignContextMenuState$JsMap$(backingMap); }, - set$loggerName: function(loggerName) { - this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + get$displayName(_) { + return "DesignContextMenu"; }, - set$shouldLogErrors: function(shouldLogErrors) { - this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + get$$$defaultConsumedProps() { + return B.Map_MCk2a.get$values(B.Map_MCk2a); } }; - X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; - X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { - set$hasError: function(hasError) { - this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + A.$DesignContextSubmenuComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignContextSubmenuComponent(null); }, - set$showFallbackUIOnError: function(showFallbackUIOnError) { - this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); - } + $signature: 419 }; - X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; - X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin.prototype = {}; - X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin.prototype = {}; - V.DesignMainHelicesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainHelicesProps_helices; - }, - get$groups: function() { - return this.DesignMainHelicesProps_groups; + A._$$DesignContextSubmenuProps.prototype = { + get$$$isClassGenerated() { + return true; }, - get$geometry: function(receiver) { - return this.DesignMainHelicesProps_geometry; + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignContextSubmenuComponentFactory() : t1; } }; - V.DesignMainHelicesComponent.prototype = { - render$0: function(_) { - var t1, t2, only_display_selected_helices, group_views, t3, t4, t5, t6, t7, t8, t9, t10, group, t11, t12, first_helix_view_order, children, helix, group0, view_order, t13, t14, t15, translate_svg, _this = this, _null = null, - _s29_ = "DesignMainHelicesProps.groups"; - if (J.get$isEmpty$asx(_this._design_main_helices$_cachedTypedProps.get$helices()._map$_map)) - return _null; - t1 = _this._design_main_helices$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMHcsi); - if (t1 == null) - t1 = _null; - type$.legacy_BuiltSet_legacy_int._as(t1); - t2 = _this._design_main_helices$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMHco); - only_display_selected_helices = H._asBoolS(t2 == null ? _null : t2); - group_views = []; - for (t2 = _this._design_main_helices$_cachedTypedProps.get$groups(), t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.legacy_Geometry, t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t7 = type$.legacy_Point_legacy_num, t8 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int; t2.moveNext$0();) { - t9 = t2.get$current(t2); - t10 = _this._design_main_helices$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s29_); - group = J.$index$asx(t4._as(t10 == null ? _null : t10)._map$_map, t9); - t10 = _this._design_main_helices$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMHchis); - t10 = J.$index$asx(t8._as(t10 == null ? _null : t10)._map$_map, t9)._list; - t11 = J.getInterceptor$asx(t10); - if (t11.get$isEmpty(t10)) - continue; - t12 = _this._design_main_helices$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.invert_y"); - if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { - t12 = t11.get$length(t10); - if (typeof t12 !== "number") - return t12.$sub(); - first_helix_view_order = t12 - 1; - } else - first_helix_view_order = 0; - children = []; - for (t10 = t11.get$iterator(t10); t10.moveNext$0();) { - t11 = t10.get$current(t10); - t12 = _this._design_main_helices$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.helices"); - helix = J.$index$asx(t5._as(t12 == null ? _null : t12)._map$_map, t11); - t11 = _this._design_main_helices$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s29_); - t11 = t4._as(t11 == null ? _null : t11); - t12 = helix.group; - group0 = J.$index$asx(t11._map$_map, t12); - t12 = group0.__helices_view_order_inverse; - if (t12 == null) { - t11 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group0); - group0.set$__helices_view_order_inverse(t11); - } else - t11 = t12; - t12 = helix.idx; - view_order = J.$index$asx(t11._map$_map, t12); - H.boolConversionCheck(only_display_selected_helices); - if (only_display_selected_helices && t1._set.contains$1(0, t12) || !only_display_selected_helices) { - t11 = T.design_main_helix___$DesignMainHelix$closure().call$0(); - t11.toString; - t13 = J.getInterceptor$x(t11); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.helix", helix); - t14 = t1._set.contains$1(0, t12); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.selected", t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcmo); - t14 = H._asNumS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxmo, t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcmw); - t14 = H._asNumS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxmw, t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHchc); - t14 = H._asBoolS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxh, t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, "DesignMainHelicesProps.show_dna"); - t14 = H._asBoolS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_dna", t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcshd); - t14 = H._asBoolS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_domain_labels", t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcshh); - t14 = H._asBoolS(t14 == null ? _null : t14); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_helix_circles", t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb); - if (H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))) { - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb_); - t14 = !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || view_order === first_helix_view_order; - } else - t14 = false; - J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxdb, t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm); - if (H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))) { - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm_); - t14 = H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || view_order === first_helix_view_order; - } else - t14 = false; - J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxdm, t14); - t14 = C.JSInt_methods.toString$0(t12); - t15 = t13.get$props(t11); - J.$indexSet$ax(t15, "key", t14); - t14 = _this._design_main_helices$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMHchi_); - t12 = t7._as(J.$index$asx(t6._as(t14 == null ? _null : t14)._map$_map, t12)); - J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.helix_svg_position", t12); - children.push(t11.call$0()); - } - } - t10 = $.$get$g(); - t11 = {}; - t11 = new L.JsBackedMap(t11); - t10 = new A.SvgProps(t10, t11, _null, _null); - t10.get$$$isClassGenerated(); - t12 = t11.jsObject; - t12.className = F.DartValueWrapper_wrapIfNeeded("helices-main-view-group-" + H.S(t9)); - t13 = _this._design_main_helices$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, "DesignMainHelicesProps.geometry"); - t13 = t3._as(t13 == null ? _null : t13); - t14 = group.position; - t15 = t13.__nm_to_svg_pixels; - t13 = t15 == null ? t13.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t13) : t15; - translate_svg = X.Position3D_Position3D(t14.x * t13, t14.y * t13, t14.z * t13); - t12.transform = F.DartValueWrapper_wrapIfNeeded("translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"); - t9 = H.S(t9); - t11.$indexSet(0, "key", t9); - group_views.push(t10.call$1(children)); - } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "helices-main-view"); - return t1.call$1(group_views); + A._$$DesignContextSubmenuProps$PlainMap.prototype = { + get$props(_) { + return this._design_context_menu$_props; } }; - V.$DesignMainHelicesComponentFactory_closure.prototype = { - call$0: function() { - return new V._$DesignMainHelicesComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 441 - }; - V._$$DesignMainHelicesProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainHelicesComponentFactory() : t1; + A._$$DesignContextSubmenuProps$JsMap.prototype = { + get$props(_) { + return this._design_context_menu$_props; } }; - V._$$DesignMainHelicesProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_helices$_props; + A._$$DesignContextSubmenuState.prototype = { + get$$$isClassGenerated() { + return true; } }; - V._$$DesignMainHelicesProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_helices$_props; + A._$$DesignContextSubmenuState$JsMap.prototype = { + get$state(_) { + return this._design_context_menu$_state; } }; - V._$DesignMainHelicesComponent.prototype = { - get$props: function(_) { - return this._design_main_helices$_cachedTypedProps; + A._$DesignContextSubmenuComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignContextSubmenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_helices$_cachedTypedProps = V._$$DesignMainHelicesProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignContextSubmenuComponent__cachedTypedProps_A = A._$$DesignContextSubmenuProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainHelices"; + get$state(_) { + var t1 = this.___$DesignContextSubmenuComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + return t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_qZ0.get$values(C.Map_qZ0); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignContextSubmenuComponent__cachedTypedState_A = A._$$DesignContextSubmenuState$JsMap$(value); + }, + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$DesignContextSubmenuState$JsMap(new A.JsBackedMap({}), $, $, $, $, $); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap; + return t1; + }, + get$displayName(_) { + return "DesignContextSubmenu"; + }, + get$$$defaultConsumedProps() { + return B.Map_5a6FR.get$values(B.Map_5a6FR); } }; - V.$DesignMainHelicesProps.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.groups"); + A.$DesignContextMenuProps.prototype = { + get$context_menu() { + var t1 = J.$index$asx(this.get$props(this), "DesignContextMenuProps.context_menu"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.geometry"); + return type$.nullable_ContextMenu._as(t1); + } + }; + A.$DesignContextSubmenuProps.prototype = { + get$context_menu() { + var t1 = J.$index$asx(this.get$props(this), "DesignContextSubmenuProps.context_menu"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.ContextMenu._as(t1); } }; - V._DesignMainHelicesComponent_UiComponent2_PureComponent.prototype = {}; - V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps.prototype = { - get$helices: function() { - return this.DesignMainHelicesProps_helices; + A.$DesignContextMenuState.prototype = { + get$width(_) { + var t1 = this.get$state(this).$index(0, "DesignContextMenuState.width"); + return A._asIntS(t1 == null ? null : t1); + }, + set$width(_, value) { + this.get$state(this).$indexSet(0, "DesignContextMenuState.width", value); }, - get$groups: function() { - return this.DesignMainHelicesProps_groups; + get$height(_) { + var t1 = this.get$state(this).$index(0, "DesignContextMenuState.height"); + return A._asIntS(t1 == null ? null : t1); + }, + set$height(_, value) { + this.get$state(this).$indexSet(0, "DesignContextMenuState.height", value); }, - get$geometry: function(receiver) { - return this.DesignMainHelicesProps_geometry; + get$menu_HTML_element_ref() { + var t1 = this.get$state(this).$index(0, string$.DesignCM); + if (t1 == null) + t1 = null; + return type$.Ref_nullable_DivElement._as(t1); } }; - V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps.prototype = {}; - T.DesignMainHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - T.DesignMainHelixComponent.prototype = { - render$0: function(_) { - var cy, width, height, y_start, width0, height0, x_start, x_end, horz_line_paths, vert_line_paths, idx, t3, t4, t5, _this = this, _null = null, - _s20_ = "main-view-helix-text", - _s17_ = "helix-lines-group", - _s20_0 = "helix-invisible-rect", - geometry = _this._design_main_helix$_cachedTypedProps.get$helix().geometry, - cx = -(2 * geometry.get$base_width_svg() + geometry.get$distance_between_helices_svg() / 2), - t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y, - t2 = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); - if (typeof t1 !== "number") - return t1.$add(); - cy = t1 + t2 / 2; - width = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_width(); - height = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); - t2 = _this._design_main_helix$_cachedTypedProps.get$helix(); - y_start = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; - width0 = t2.get$svg_width(); - height0 = t2.get$svg_height(); - x_start = t2.min_offset * _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_width_svg(); - x_end = x_start + width0; - if (typeof y_start !== "number") - return y_start.$add(); - horz_line_paths = "M " + H.S(x_start) + " " + H.S(y_start) + " H " + H.S(x_end) + " M " + H.S(x_start) + " " + H.S(y_start + height0 / 2) + " H " + H.S(x_end) + " M " + H.S(x_start) + " " + H.S(y_start + height0) + " H " + H.S(x_end); - vert_line_paths = _this._vert_line_paths$2(_this._design_main_helix$_cachedTypedProps.get$helix(), _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y); - idx = _this._design_main_helix$_cachedTypedProps.get$helix().idx; - height0 = A.SvgProps$($.$get$g(), _null); - height0.set$id(0, "helix-main-view-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); - height0.set$className(0, "helix-main-view"); - t2 = []; - if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { - t1 = A.SvgProps$($.$get$circle(), _null); - t3 = _this._design_main_helix$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainHelixProps.selected"); - t1.set$className(0, "main-view-helix-circle " + (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) ? "selected" : "")); - t1.set$onClick(0, new T.DesignMainHelixComponent_render_closure(_this)); - t1.set$id(0, "main-view-helix-circle-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); - t1.set$cx(0, H.S(cx)); - t1.set$cy(0, H.S(cy)); - t1.set$r(0, H.S(geometry.get$helix_radius_svg())); - t1.set$key(0, "main-view-helix-circle"); - t2.push(t1.call$0()); - } - if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { - t1 = A.SvgProps$($.$get$text(), _null); - t1.set$className(0, _s20_); - t1.set$onClick(0, new T.DesignMainHelixComponent_render_closure0(_this)); - t1.set$id(0, "main-view-helix-text-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); - t1.set$x(0, H.S(cx)); - t1.set$y(0, H.S(cy)); - t1.set$key(0, _s20_); - t2.push(t1.call$1("" + idx)); - } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s17_); - t1.set$key(0, _s17_); - t3 = A.SvgProps$($.$get$path(), _null); - t3.set$className(0, "helix-lines helix-horz-line"); - t3.set$d(0, horz_line_paths); - t3.set$key(0, "helix-horz-lines"); - t3 = t3.call$0(); - t4 = A.SvgProps$($.$get$path(), _null); - t4.set$className(0, "helix-lines helix-vert-minor-line"); - t4.set$d(0, vert_line_paths.$index(0, "minor")); - t4.set$key(0, "helix-vert-minor-lines"); - t4 = t4.call$0(); - t5 = A.SvgProps$($.$get$path(), _null); - t5.set$className(0, "helix-lines helix-vert-major-line"); - t5.set$d(0, vert_line_paths.$index(0, "major")); - t5.set$key(0, "helix-vert-major-lines"); - t2.push(t1.call$3(t3, t4, t5.call$0())); - t1 = _this._design_main_helix$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMHxdb); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - t2.push(_this._major_tick_offsets_svg_group$0()); - t1 = _this._design_main_helix$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMHxdm); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - t2.push(_this._major_tick_widths_svg_group$0()); - t1 = A.SvgProps$($.$get$rect(), _null); - t1.set$onPointerDown(new T.DesignMainHelixComponent_render_closure1(_this, geometry)); - t1.set$onMouseLeave(0, new T.DesignMainHelixComponent_render_closure2()); - t1.set$onMouseEnter(0, new T.DesignMainHelixComponent_render_closure3(_this)); - t1.set$onMouseMove(0, new T.DesignMainHelixComponent_render_closure4(_this)); - t1.set$x(0, _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().x); - t1.set$y(0, _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y); - t1.set$width(0, H.S(width)); - t1.set$height(0, H.S(height)); - t1.set$className(0, _s20_0); - t1.set$key(0, _s20_0); - t2.push(t1.call$0()); - return height0.call$1(t2); - }, - componentDidMount$0: function() { - if (H.boolConversionCheck(this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { - var t1 = "#" + ("helix-main-view-" + this._design_main_helix$_cachedTypedProps.get$helix().idx); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - } + A.$DesignContextSubmenuState.prototype = { + get$width(_) { + var t1 = this._design_context_menu$_state; + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["DesignContextSubmenuState.width"]); + return A._asIntS(t1 == null ? null : t1); }, - componentWillUnmount$0: function() { - var t1, _this = this; - if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { - t1 = "#" + ("helix-main-view-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); - } - _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + set$width(_, value) { + var t1 = this._design_context_menu$_state; + t1.jsObject["DesignContextSubmenuState.width"] = A.DartValueWrapper_wrapIfNeeded(value); }, - on_context_menu$1: function(ev) { - var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { - ev.preventDefault(); - t1 = $.app; - t2 = this._design_main_helix$_cachedTypedProps.get$helix(); - t3 = this._design_main_helix$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMHxh); - t2 = D._BuiltList$of(V.context_menu_helix(t2, H._asBoolS(t3 == null ? null : t3)), type$.legacy_ContextMenuItem); - t3 = ev.pageX; - t3.toString; - t4 = ev.pageY; - t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); - } + set$height(_, value) { + var t1 = this._design_context_menu$_state; + t1.jsObject["DesignContextSubmenuState.height"] = A.DartValueWrapper_wrapIfNeeded(value); }, - _major_tick_offsets_svg_group$0: function() { - var t1, y, offset_texts_elements, t2, t3, t4, t5, x, t6, t7, _this = this, _null = null, - _s24_ = "major-tick-offsets-group", - major_ticks = _this._design_main_helix$_cachedTypedProps.get$helix().get$calculate_major_ticks(), - offset = H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_dna()) ? 0 + _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg() : 0; - if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_domain_labels())) - offset += 1.2 * _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); - t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; - if (typeof t1 !== "number") - return t1.$sub(); - y = t1 - (3 + offset); - offset_texts_elements = []; - for (t1 = J.get$iterator$ax(major_ticks._list), t2 = type$.legacy_Helix; t1.moveNext$0();) { - t3 = t1.get$current(t1); - if (typeof t3 !== "number") - return t3.$add(); - t4 = _this._design_main_helix$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "DesignMainHelixProps.helix"); - t4 = t2._as(t4 == null ? _null : t4).geometry; - t5 = t4.__base_width_svg; - t4 = t5 == null ? t4.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t4) : t5; - x = (t3 + 0.5) * t4; - t4 = $.$get$text(); - t5 = {}; - t5 = new L.JsBackedMap(t5); - t4 = new A.SvgProps(t4, t5, _null, _null); - t4.get$$$isClassGenerated(); - t6 = t5.jsObject; - t6.className = F.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-offset-text"); - t6.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); - t6.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); - t7 = _this._design_main_helix$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMHxmo); - t6.fontSize = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t7 == null ? _null : t7))); - t6.dominantBaseline = F.DartValueWrapper_wrapIfNeeded("baseline"); - t6.textAnchor = F.DartValueWrapper_wrapIfNeeded("middle"); - t6 = "main-view-helix-major-tick-offset-" + H.S(x); - t5.$indexSet(0, "key", t6); - offset_texts_elements.push(t4.call$1(t3)); - } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s24_); - t1.set$key(0, _s24_); - return t1.call$1(offset_texts_elements); + set$left(_, value) { + var t1 = this._design_context_menu$_state; + t1.jsObject["DesignContextSubmenuState.left"] = A.DartValueWrapper_wrapIfNeeded(value); }, - _major_tick_widths_svg_group$0: function() { - var t1, t2, y, offset_texts_elements, map_offset_to_distance, i, i0, t3, left_base_offset, right_base_offset, t4, base, distance, t5, t6, x, t7, _this = this, _null = null, - _s23_ = "major-tick-widths-group", - major_ticks = _this._design_main_helix$_cachedTypedProps.get$helix().get$calculate_major_ticks(), - offset = H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_dna()) ? 0 + _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg() : 0; - if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_domain_labels())) - offset += _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); - t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; - t2 = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); - if (typeof t1 !== "number") - return t1.$add(); - y = t1 + t2 + 3 + offset; - offset_texts_elements = []; - map_offset_to_distance = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_num, type$.legacy_int); - t1 = major_ticks._list; - t2 = J.getInterceptor$asx(t1); - i = 0; - while (true) { - i0 = i + 1; - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return H.iae(t3); - if (!(i0 < t3)) - break; - left_base_offset = t2.$index(t1, i); - right_base_offset = t2.$index(t1, i0); - if (typeof right_base_offset !== "number") - return right_base_offset.$sub(); - if (typeof left_base_offset !== "number") - return H.iae(left_base_offset); - map_offset_to_distance.$indexSet(0, (right_base_offset + left_base_offset) / 2, right_base_offset - left_base_offset); - i = i0; - } - for (t1 = map_offset_to_distance.get$entries(map_offset_to_distance), t1 = t1.get$iterator(t1), t2 = type$.legacy_Helix, t3 = type$.legacy_Point_legacy_num; t1.moveNext$0();) { - t4 = t1.get$current(t1); - base = t4.key; - distance = t4.value; - t4 = _this._design_main_helix$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "DesignMainHelixProps.helix_svg_position"); - t4 = t3._as(t4 == null ? _null : t4).x; - t5 = _this._design_main_helix$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, "DesignMainHelixProps.helix"); - t5 = t2._as(t5 == null ? _null : t5).geometry; - t6 = t5.__base_width_svg; - t5 = t6 == null ? t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5) : t6; - if (typeof base !== "number") - return base.$mul(); - if (typeof t4 !== "number") - return t4.$add(); - x = t4 + base * t5; - t5 = $.$get$text(); - t4 = {}; - t4 = new L.JsBackedMap(t4); - t5 = new A.SvgProps(t5, t4, _null, _null); - t5.get$$$isClassGenerated(); - t6 = t4.jsObject; - t6.className = F.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-distance-text"); - t6.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); - t6.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); - t7 = _this._design_main_helix$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMHxmw); - t6.fontSize = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t7 == null ? _null : t7))); - t6.dominantBaseline = F.DartValueWrapper_wrapIfNeeded("hanging"); - t6.textAnchor = F.DartValueWrapper_wrapIfNeeded("middle"); - t6 = "main-view-helix-major-tick-distance-" + H.S(x); - t4.$indexSet(0, "key", t6); - C.JSArray_methods.addAll$1(offset_texts_elements, [t5.call$1(distance)]); - } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s23_); - t1.set$key(0, _s23_); - return t1.call$1(offset_texts_elements); + set$top(_, value) { + var t1 = this._design_context_menu$_state; + t1.jsObject["DesignContextSubmenuState.top"] = A.DartValueWrapper_wrapIfNeeded(value); }, - _vert_line_paths$2: function(helix, helix_svg_position_y) { - var base, t2, t3, t4, t5, t6, path_cmds, - _s26_ = "DesignMainHelixProps.helix", - major_ticks = helix.get$calculate_major_ticks(), - t1 = type$.JSArray_legacy_String, - path_cmds_vert_minor = H.setRuntimeTypeInfo([], t1), - path_cmds_vert_major = H.setRuntimeTypeInfo([], t1); - for (base = helix.min_offset, t1 = helix.max_offset, t2 = type$.legacy_Helix, t3 = major_ticks._list, t4 = J.getInterceptor$asx(t3); base <= t1; ++base) { - t5 = this._design_main_helix$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s26_); - t5 = t2._as(t5 == null ? null : t5).geometry; - t6 = t5.__base_width_svg; - t5 = t6 == null ? t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5) : t6; - path_cmds = t4.contains$1(t3, base) ? path_cmds_vert_major : path_cmds_vert_minor; - C.JSArray_methods.add$1(path_cmds, "M " + H.S(base * t5) + " " + H.S(helix_svg_position_y)); - t5 = helix.__svg_height; - C.JSArray_methods.add$1(path_cmds, "v " + H.S(t5 == null ? helix.__svg_height = O.Helix.prototype.get$svg_height.call(helix) : t5)); - t5 = this._design_main_helix$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s26_); - t5 = t2._as(t5 == null ? null : t5).geometry; - if (t5.__base_width_svg == null) - t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5); - } - t1 = type$.legacy_String; - return P.LinkedHashMap_LinkedHashMap$_literal(["minor", C.JSArray_methods.join$1(path_cmds_vert_minor, " "), "major", C.JSArray_methods.join$1(path_cmds_vert_major, " ")], t1, t1); + get$submenu_HTML_element_ref() { + var t1 = this._design_context_menu$_state; + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject[string$.DesignCS]); + if (t1 == null) + t1 = null; + return type$.Ref_nullable_DivElement._as(t1); + } + }; + A._DesignContextMenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; + A._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; + A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps.prototype = {}; + A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps.prototype = {}; + A.__$$DesignContextMenuState_UiState_DesignContextMenuState.prototype = {}; + A.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState.prototype = {}; + A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps.prototype = {}; + A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps.prototype = {}; + A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState.prototype = {}; + A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState.prototype = {}; + A.ConnectedDesignDialogForm_closure.prototype = { + call$1(state) { + var t1, t2; + type$.AppState._as(state); + t1 = A.design_dialog_form___$DesignDialogForm$closure().call$0(); + t2 = state.ui_state.dialog; + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "DesignDialogFormProps.dialog", t2); + return t1; }, - _handle_click$2: function($event, helix) { - var t1 = J.getInterceptor$x($event); - if (H.boolConversionCheck(t1.get$shiftKey($event))) - $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, false)); - else if (H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) - $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, true)); - } + $signature: 420 }; - T.DesignMainHelixComponent_render_closure.prototype = { - call$1: function(e) { - var t1 = this.$this; - return t1._handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_main_helix$_cachedTypedProps.get$helix()); + A.DesignDialogFormProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignDialogFormState.prototype = {$isMap: 1}; + A.DesignDialogFormComponent.prototype = { + get$initialState() { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$current_responses(null); + t1.set$dialog_type(null); + t1.set$saved_responses(A.BuiltMap_BuiltMap(B.Map_empty, type$.DialogType, type$.BuiltList_DialogItem)); + return t1; }, - $signature: 3 - }; - T.DesignMainHelixComponent_render_closure0.prototype = { - call$1: function(e) { - var t1 = this.$this; - return t1._handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_main_helix$_cachedTypedProps.get$helix()); - }, - $signature: 3 - }; - T.DesignMainHelixComponent_render_closure1.prototype = { - call$1: function(event_syn) { - var t1, $event, t2, t3, group, address; - type$.legacy_SyntheticPointerEvent._as(event_syn); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) { - t1 = $.app.store; - t1 = !t1.get$state(t1).ui_state.potential_crossover_is_drawing; - } else - t1 = false; - if (t1) { - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); - if ($event.button !== 0) - return; - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = this.$this; - t3 = t2._design_main_helix$_cachedTypedProps.get$helix().group; - group = J.$index$asx(t1._map$_map, t3); - t3 = t2._design_main_helix$_cachedTypedProps.get$helix(); - t1 = $.app.store; - address = E.get_address_on_helix($event, t3, group, this.geometry, J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, t2._design_main_helix$_cachedTypedProps.get$helix().idx)); - $.app.dispatch$1(U._$StrandCreateStart$_(address, $.$get$color_cycler().next$0(0))); + getDerivedStateFromProps$2(nextPropsUntyped, prevStateUntyped) { + var t1, dialog_type, t2, t3, + new_props = A._$$DesignDialogFormProps__$$DesignDialogFormProps(nextPropsUntyped), + prev_state = A._$$DesignDialogFormState__$$DesignDialogFormState(prevStateUntyped); + if (new_props.get$dialog() != null) { + t1 = new_props.get$dialog(); + t1.toString; + if (prev_state.get$current_responses() == null) { + dialog_type = t1.type; + t2 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + if (prev_state.get$saved_responses()._map$_map.containsKey$1(0, dialog_type) && t1.use_saved_response) { + t1 = t1.process_saved_response; + t1.toString; + t3 = prev_state.get$saved_responses()._map$_map.$index(0, dialog_type); + t3.toString; + t3 = t1.call$1(t3); + t1 = t3; + } else + t1 = t1.items; + t2.set$current_responses(type$.nullable_BuiltList_DialogItem._as(t1)); + t2.set$dialog_type(dialog_type); + t2.set$saved_responses(prev_state.get$saved_responses()); + return t2; + } else + return prevStateUntyped; + } else if (prev_state.get$current_responses() != null) { + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$current_responses(null); + t1.set$dialog_type(null); + t1.set$saved_responses(prev_state.get$saved_responses().rebuild$1(new A.DesignDialogFormComponent_getDerivedStateFromProps_closure(prev_state))); + return t1; + } else + return prevStateUntyped; + }, + render$0(_) { + var dialog, current_responses, components, t2, t3, t4, t5, component_idx, t6, t7, t8, t9, disabled, t10, radio, t11, component_idx0, _this = this, _null = null, + _s11_ = "dialog-form", + _s16_ = "dialog-form-form", + _s17_ = "dialog-form-title", + _s13_ = "dialog-button", + t1 = _this.___$DesignDialogFormComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + dialog = t1.get$dialog(); + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + current_responses = t1.get$current_responses(); + if (dialog == null || current_responses == null) + return _null; + t1 = type$.JSArray_ReactElement; + components = A._setArrayType([], t1); + for (t2 = current_responses._list, t3 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t4 = type$.DialogRadio, t5 = type$.DialogCheckbox, component_idx = 0; t3.moveNext$0(); component_idx = component_idx0) { + t6 = t3.__interceptors$_current; + t7 = dialog.disable_when_any_radio_button_selected._map$_map; + if (t7.containsKey$1(0, component_idx)) { + t7 = t7.$index(0, component_idx); + t7.toString; + if (t7._keys == null) { + t8 = t7._map$_map; + t7.set$_keys(new A.LinkedHashMapKeyIterable(t8, A._instanceType(t8)._eval$1("LinkedHashMapKeyIterable<1>"))); + } + t8 = t7._keys; + t9 = t8._map; + t8 = new A.LinkedHashMapKeyIterator(t9, t9._modifications, A._instanceType(t8)._eval$1("LinkedHashMapKeyIterator<1>")); + t8._cell = t9._first; + t7 = t7._map$_map; + while (true) { + if (!t8.moveNext$0()) { + disabled = false; + break; + } + t9 = t8.__js_helper$_current; + t10 = t7.$index(0, t9); + t10.toString; + radio = t4._as(B.JSArray_methods.$index(t2, t9)); + t9 = radio.options; + t11 = radio.selected_idx; + t9 = t9._list; + if (!(t11 >= 0 && t11 < t9.length)) + return A.ioore(t9, t11); + if (B.JSArray_methods.contains$1(t10._list, t9[t11])) { + disabled = true; + break; + } + } + } else + disabled = false; + t7 = dialog.disable_when_any_checkboxes_off._map$_map; + if (t7.containsKey$1(0, component_idx)) { + t7 = t7.$index(0, component_idx); + t7.toString; + for (t7 = t7._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t7.moveNext$0();) + if (!t5._as(B.JSArray_methods.$index(t2, t7.__interceptors$_current)).value) { + disabled = true; + break; + } + } + t7 = dialog.disable_when_any_checkboxes_on._map$_map; + if (t7.containsKey$1(0, component_idx)) { + t7 = t7.$index(0, component_idx); + t7.toString; + for (t7 = t7._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t7.moveNext$0();) + if (t5._as(B.JSArray_methods.$index(t2, t7.__interceptors$_current)).value) { + disabled = true; + break; + } + } + if (B.JSArray_methods.contains$1(dialog.disable._list, component_idx)) + disabled = true; + t7 = A.DomProps$($.$get$div(), _null); + t8 = t7.props; + t8.jsObject.className = A.DartValueWrapper_wrapIfNeeded("dialog-form-item"); + t9 = t6.get$label(t6); + t8.$indexSet(0, "key", t9); + component_idx0 = component_idx + 1; + B.JSArray_methods.add$1(components, t7.call$1(_this.dialog_for$3(t6, component_idx, disabled))); } + t2 = A.DomProps$($.$get$div(), _null); + t2.set$className(0, _s11_); + t2.set$id(0, _s11_); + t3 = A.DomProps$($.$get$form(), _null); + t3.set$onSubmit(0, _this.get$submit_form()); + t3.set$id(0, _s16_); + t3.set$className(0, _s16_); + t4 = A.DomProps$($.$get$p(), _null); + t4.set$className(0, _s17_); + t4.set$key(0, _s17_); + t1 = A._setArrayType([t4.call$1(dialog.title)], t1); + B.JSArray_methods.addAll$1(t1, components); + t4 = A.DomProps$($.$get$span(), _null); + t4.set$className(0, "dialog-buttons"); + t4.set$key(0, "buttons"); + t5 = A.DomProps$($.$get$input(), _null); + t5.set$type(0, "submit"); + t5.set$value(0, "OK"); + t5.set$className(0, _s13_); + t5 = t5.call$0(); + t6 = A.DomProps$($.$get$button(), _null); + t6.set$onClick(0, new A.DesignDialogFormComponent_render_closure(_this)); + t6.set$className(0, _s13_); + t1.push(t4.call$2(t5, t6.call$1("Cancel"))); + return t2.call$1(t3.call$1(t1)); }, - $signature: 18 + dialog_for$3(item, dialog_item_idx, disabled) { + var t1, t2, t3, t4, components, t5, t6, t7, radio_idx, i, option, t8, option_tooltip, t9, t10, t11, t12, _this = this, _null = null, + _s17_ = "_cachedTypedState", + _s3_ = "key", + _s10_ = "radio-left"; + if (item instanceof A.DialogCheckbox) { + t1 = A.DomProps$($.$get$label(), _null); + t1.set$title(0, item.tooltip); + t2 = A.DomProps$($.$get$input(), _null); + t2.set$type(0, "checkbox"); + t2.set$disabled(0, disabled); + t2.set$checked(0, item.value); + t2.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure(_this, dialog_item_idx)); + return t1.call$2(t2.call$0(), item.label); + } else if (item instanceof A.DialogText) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "text"); + t3.set$disabled(0, disabled); + t3.set$value(0, item.value); + t3.props.jsObject.size = A.DartValueWrapper_wrapIfNeeded(item.size); + t3.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure0(_this, t1, dialog_item_idx)); + return t2.call$2(item.label + ": ", t3.call$0()); + } else if (item instanceof A.DialogTextArea) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + t3 = A.DomProps$($.$get$textarea(), _null); + t4 = t3.props.jsObject; + t4.form = A.DartValueWrapper_wrapIfNeeded("dialog-form-form"); + t3.set$disabled(0, disabled); + t3.set$defaultValue(0, item.value); + t4.rows = A.DartValueWrapper_wrapIfNeeded(item.rows); + t4.cols = A.DartValueWrapper_wrapIfNeeded(item.cols); + t3.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure1(_this, t1, dialog_item_idx)); + return t2.call$2(item.label + ": ", t3.call$0()); + } else if (item instanceof A.DialogInteger) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "number"); + t3.set$disabled(0, disabled); + t3.set$pattern(0, "-?\\d+"); + t3.set$value(0, item.value); + t3.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure2(_this, t1, dialog_item_idx)); + return t2.call$2(item.label + ": ", t3.call$0()); + } else if (item instanceof A.DialogFloat) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "number"); + t3.set$disabled(0, disabled); + t3.set$pattern(0, "[+-]?(\\d*[.])?\\d+"); + t3.set$value(0, item.value); + t3.set$step(0, "any"); + t3.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure3(_this, t1, dialog_item_idx)); + return t2.call$2(item.label + ": ", t3.call$0()); + } else { + t1 = item instanceof A.DialogRadio; + if (t1 && item.radio) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + components = A._setArrayType([], type$.JSArray_ReactElement); + for (t2 = item.options._list, t3 = type$.nullable_dynamic_Function_SyntheticFormEvent, t4 = item.selected_idx, t5 = item.label, t6 = "radio-" + t5 + "-", t7 = item.option_tooltips, radio_idx = 0, i = 0; i < t2.length; ++i) { + option = t2[i]; + t8 = t7._list; + if (!(i < t8.length)) + return A.ioore(t8, i); + option_tooltip = t8[i]; + t8 = A.DomProps$($.$get$br(), _null); + t9 = "" + radio_idx; + t8.props.$indexSet(0, _s3_, "br-" + t9); + B.JSArray_methods.add$1(components, t8.call$0()); + t8 = A.DomProps$($.$get$input(), _null); + t10 = t8.props; + t11 = t10.jsObject; + t11.type = A.DartValueWrapper_wrapIfNeeded("radio"); + t11.id = A.DartValueWrapper_wrapIfNeeded(t6 + t9); + t11.disabled = A.DartValueWrapper_wrapIfNeeded(disabled); + t11.name = A.DartValueWrapper_wrapIfNeeded(t5); + t11.checked = A.DartValueWrapper_wrapIfNeeded(t4 === radio_idx); + t11.value = A.DartValueWrapper_wrapIfNeeded(option); + t12 = t3._as(new A.DesignDialogFormComponent_dialog_for_closure4(_this, item, t1, dialog_item_idx)); + t11.onChange = A.DartValueWrapper_wrapIfNeeded(t12); + t10.$indexSet(0, _s3_, t9); + B.JSArray_methods.add$1(components, t8.call$0()); + t8 = A.DomProps$($.$get$label(), _null); + t10 = t8.props; + t10.$indexSet(0, _s3_, "label-" + t9); + t10.jsObject.title = A.DartValueWrapper_wrapIfNeeded(option_tooltip); + B.JSArray_methods.add$1(components, t8.call$1(option)); + ++radio_idx; + } + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, _s10_); + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + return t1.call$2(t2.call$1(t5 + ":"), components); + } else if (t1 && !item.radio) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses(); + t1.toString; + components = A._setArrayType([], type$.JSArray_ReactElement); + for (t2 = item.options._list, t3 = type$.nullable_dynamic_Function_SyntheticFormEvent, t4 = item.option_tooltips, radio_idx = 0, i = 0; i < t2.length; ++i) { + option = t2[i]; + t5 = t4._list; + if (!(i < t5.length)) + return A.ioore(t5, i); + option_tooltip = t5[i]; + t5 = A.DomProps$($.$get$option(), _null); + t6 = "" + radio_idx; + t7 = t5.props; + t8 = t7.jsObject; + t8.id = A.DartValueWrapper_wrapIfNeeded("radio-" + t6); + t8.disabled = A.DartValueWrapper_wrapIfNeeded(disabled); + t8.title = A.DartValueWrapper_wrapIfNeeded(option_tooltip); + t8.value = A.DartValueWrapper_wrapIfNeeded(option); + t9 = t3._as(new A.DesignDialogFormComponent_dialog_for_closure5(_this, item, t1, dialog_item_idx)); + t8.onChange = A.DartValueWrapper_wrapIfNeeded(t9); + t7.$indexSet(0, _s3_, t6); + B.JSArray_methods.add$1(components, t5.call$1(option)); + ++radio_idx; + } + t2 = A.DomProps$($.$get$div(), _null); + t3 = A.DomProps$($.$get$label(), _null); + t3.set$title(0, item.tooltip); + t4 = item.label; + t3 = t3.call$1(t4 + ":"); + t5 = A.DomProps$($.$get$select(), _null); + t5.set$className(0, _s10_); + t5.set$disabled(0, disabled); + t5.set$onChange(0, new A.DesignDialogFormComponent_dialog_for_closure6(_this, item, t1, dialog_item_idx)); + return t2.call$2(t3, t5.call$2(t4 + ": ", components)); + } else if (item instanceof A.DialogLink) { + t1 = A.DomProps$($.$get$a(), _null); + t2 = t1.props.jsObject; + t2.href = A.DartValueWrapper_wrapIfNeeded(item.link); + t2.target = A.DartValueWrapper_wrapIfNeeded("_blank"); + t2.rel = A.DartValueWrapper_wrapIfNeeded("noopener noreferrer"); + return t1.call$1(item.label); + } else if (item instanceof A.DialogLabel) { + t1 = A.DomProps$($.$get$span(), _null); + t1.set$title(0, item.tooltip); + return t1.call$1(item.label); + } + } + return _null; + }, + submit_form$1($event) { + var t1, t2, _this = this, + _s17_ = "_cachedTypedState"; + type$.SyntheticFormEvent._as($event); + t1 = J.getInterceptor$x($event); + t1.preventDefault$0($event); + t1.stopPropagation$0($event); + $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); + t1 = _this.___$DesignDialogFormComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$dialog() != null) + if (_this.___$DesignDialogFormComponent__cachedTypedProps_A.get$dialog().on_submit != null) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI(_s17_); + t1 = t1.get$current_responses() != null; + } else + t1 = false; + else + t1 = false; + if (t1) { + t1 = _this.___$DesignDialogFormComponent__cachedTypedProps_A.get$dialog().on_submit; + t1.toString; + t2 = _this.___$DesignDialogFormComponent__cachedTypedState_A; + t2 === $ && A.throwLateFieldNI(_s17_); + t2 = t2.get$current_responses(); + t1.call$1(new A.CopyOnWriteList(true, t2._list, A._instanceType(t2)._eval$1("CopyOnWriteList<1>"))); + } + } }; - T.DesignMainHelixComponent_render_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.show_mouseover_data) - $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); - return null; + A.DesignDialogFormComponent_getDerivedStateFromProps_closure.prototype = { + call$1(old_responses) { + var t1, t2; + type$.MapBuilder_of_DialogType_and_BuiltList_DialogItem._as(old_responses); + t1 = this.prev_state; + t2 = t1.get$state(t1).$index(0, "DesignDialogFormState.dialog_type"); + if (t2 == null) + t2 = null; + type$.nullable_DialogType._as(t2); + t2.toString; + t1 = t1.get$current_responses(); + t1.toString; + old_responses.$indexSet(0, t2, t1); + return old_responses; }, - $signature: 3 + $signature: 422 }; - T.DesignMainHelixComponent_render_closure3.prototype = { - call$1: function($event) { - var t1, t2, t3; - type$.legacy_SyntheticMouseEvent._as($event); + A.DesignDialogFormComponent_render_closure.prototype = { + call$1(e) { + var t1, t2; + type$.SyntheticMouseEvent._as(e); + t1 = J.getInterceptor$x(e); + t1.preventDefault$0(e); + t1.stopPropagation$0(e); t1 = this.$this; - t2 = t1._design_main_helix$_cachedTypedProps.get$helix(); - t3 = $.app.store; - return E.update_mouseover($event, t2, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t1._design_main_helix$_cachedTypedProps.get$helix().idx)); + $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); + t2 = t1.___$DesignDialogFormComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$dialog() != null && t1.___$DesignDialogFormComponent__cachedTypedProps_A.get$dialog().on_submit != null) + t1.___$DesignDialogFormComponent__cachedTypedProps_A.get$dialog().on_submit.call$1(null); }, - $signature: 3 + $signature: 15 }; - T.DesignMainHelixComponent_render_closure4.prototype = { - call$1: function($event) { - var t1, t2, t3; - type$.legacy_SyntheticMouseEvent._as($event); + A.DesignDialogFormComponent_dialog_for_closure.prototype = { + call$1(e) { + var t1, t2, new_responses, new_checked, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, other_response, t13, t14; + type$.SyntheticFormEvent._as(e); t1 = this.$this; - t2 = t1._design_main_helix$_cachedTypedProps.get$helix(); - t3 = $.app.store; - return E.update_mouseover($event, t2, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t1._design_main_helix$_cachedTypedProps.get$helix().idx)); + t2 = t1.___$DesignDialogFormComponent__cachedTypedState_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedState"); + t2 = t2.get$current_responses(); + t2.toString; + new_responses = A.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_checked = A._asBoolS(J.get$checked$x(J.get$target$x(e))); + t3 = this.dialog_item_idx; + t2 = t2._list; + if (!(t3 < t2.length)) + return A.ioore(t2, t3); + t4 = type$.DialogCheckbox; + t5 = new_responses.$ti; + t6 = t5._precomputed1; + t7 = t6._as(t4._as(t2[t3]).rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure6(new_checked))); + !$.$get$isSoundMode() && !t6._is(null); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t3, t7); + t7 = t1.___$DesignDialogFormComponent__cachedTypedProps_A; + t7 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t7 = t7.get$dialog().mutually_exclusive_checkbox_groups._list; + t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); + t8 = type$.nullable_void_Function_DialogCheckboxBuilder; + t9 = type$.void_Function_DialogCheckboxBuilder; + t10 = !t6._is(null); + t5 = t5._eval$1("List<1>"); + for (; t7.moveNext$0();) { + t11 = t7.__interceptors$_current._list; + if (B.JSArray_methods.contains$1(t11, t3)) + for (t11 = new J.ArrayIterator(t11, t11.length, A._arrayInstanceType(t11)._eval$1("ArrayIterator<1>")); t11.moveNext$0();) { + t12 = t11.__interceptors$_current; + if (t12 !== t3) { + other_response = t4._as(B.JSArray_methods.$index(t2, t12)); + if (other_response.value) { + t13 = t9._as(new A.DesignDialogFormComponent_dialog_for__closure7()); + t14 = new A.DialogCheckboxBuilder(); + t14._dialog$_$v = other_response; + t8._as(t13).call$1(t14); + t13 = t6._as(t14._dialog$_build$0()); + !$.$get$isSoundMode() && t10; + if (new_responses._listOwner != null) { + t14 = new_responses.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI("_list"); + new_responses.set$__ListBuilder__list_A(t5._as(A.List_List$from(t14, true, t6))); + new_responses.set$_listOwner(null); + } + t14 = new_responses.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t14, t12, t13); + } + } + } + } + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - $signature: 3 + $signature: 8 }; - T.$DesignMainHelixComponentFactory_closure.prototype = { - call$0: function() { - return new T._$DesignMainHelixComponent(null); + A.DesignDialogFormComponent_dialog_for__closure6.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_checked; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 445 + $signature: 103 }; - T._$$DesignMainHelixProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A.DesignDialogFormComponent_dialog_for__closure7.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = false; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainHelixComponentFactory() : t1; - } - }; - T._$$DesignMainHelixProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_helix$_props; - } - }; - T._$$DesignMainHelixProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_helix$_props; - } + $signature: 103 }; - T._$DesignMainHelixComponent.prototype = { - get$props: function(_) { - return this._design_main_helix$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_helix$_cachedTypedProps = T._$$DesignMainHelixProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignMainHelix"; + A.DesignDialogFormComponent_dialog_for_closure0.prototype = { + call$1(e) { + var t1, new_responses, new_value, t2, t3, response, t4; + type$.SyntheticFormEvent._as(e); + t1 = this.current_responses; + t1.toString; + new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + new_value = A._asStringS(J.get$value$x(J.get$target$x(e))); + t2 = this.dialog_item_idx; + t1 = t1._list; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + t3 = type$.DialogText; + response = t3._as(t1[t2]); + response.toString; + t1 = type$.void_Function_DialogTextBuilder._as(new A.DesignDialogFormComponent_dialog_for__closure5(new_value)); + t4 = new A.DialogTextBuilder(); + A.ArgumentError_checkNotNull(response, "other", t3); + t4._dialog$_$v = response; + type$.nullable_void_Function_DialogTextBuilder._as(t1).call$1(t4); + t1 = new_responses.$ti._precomputed1; + t4 = t1._as(t4._dialog$_build$0()); + !$.$get$isSoundMode() && !t1._is(null); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t4); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - get$$$defaultConsumedProps: function() { - return C.Map_4qL5U.get$values(C.Map_4qL5U); - } + $signature: 8 }; - T.$DesignMainHelixProps.prototype = { - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix"); - if (t1 == null) - t1 = null; - return type$.legacy_Helix._as(t1); + A.DesignDialogFormComponent_dialog_for__closure5.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - get$show_dna: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_dna"); - return H._asBoolS(t1 == null ? null : t1); + $signature: 425 + }; + A.DesignDialogFormComponent_dialog_for_closure1.prototype = { + call$1(e) { + var t1, new_responses, new_value, t2, t3, response, t4; + type$.SyntheticFormEvent._as(e); + t1 = this.current_responses; + t1.toString; + new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + new_value = A._asStringS(J.get$value$x(J.get$target$x(e))); + t2 = this.dialog_item_idx; + t1 = t1._list; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + t3 = type$.DialogTextArea; + response = t3._as(t1[t2]); + response.toString; + t1 = type$.void_Function_DialogTextAreaBuilder._as(new A.DesignDialogFormComponent_dialog_for__closure4(new_value)); + t4 = new A.DialogTextAreaBuilder(); + A.ArgumentError_checkNotNull(response, "other", t3); + t4._dialog$_$v = response; + type$.nullable_void_Function_DialogTextAreaBuilder._as(t1).call$1(t4); + t1 = new_responses.$ti._precomputed1; + t4 = t1._as(t4._dialog$_build$0()); + !$.$get$isSoundMode() && !t1._is(null); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t4); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - get$show_domain_labels: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_domain_labels"); - return H._asBoolS(t1 == null ? null : t1); + $signature: 8 + }; + A.DesignDialogFormComponent_dialog_for__closure4.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - get$show_helix_circles: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_helix_circles"); - return H._asBoolS(t1 == null ? null : t1); + $signature: 426 + }; + A.DesignDialogFormComponent_dialog_for_closure2.prototype = { + call$1(e) { + var t1, new_responses, new_value, t2, t3, response, t4; + type$.SyntheticFormEvent._as(e); + t1 = this.current_responses; + t1.toString; + new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + new_value = A.Primitives_parseInt(A._asStringS(J.get$value$x(J.get$target$x(e))), null); + if (new_value == null) + return; + t2 = this.dialog_item_idx; + t1 = t1._list; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + t3 = type$.DialogInteger; + response = t3._as(t1[t2]); + response.toString; + t1 = type$.void_Function_DialogIntegerBuilder._as(new A.DesignDialogFormComponent_dialog_for__closure3(new_value)); + t4 = new A.DialogIntegerBuilder(); + A.ArgumentError_checkNotNull(response, "other", t3); + t4._dialog$_$v = response; + type$.nullable_void_Function_DialogIntegerBuilder._as(t1).call$1(t4); + t1 = new_responses.$ti._precomputed1; + t4 = t1._as(t4._dialog$_build$0()); + !$.$get$isSoundMode() && !t1._is(null); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t4); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - get$helix_svg_position: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix_svg_position"); - if (t1 == null) - t1 = null; - return type$.legacy_Point_legacy_num._as(t1); - } + $signature: 8 }; - T._DesignMainHelixComponent_UiComponent2_PureComponent.prototype = {}; - T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps.prototype = {}; - T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps.prototype = {}; - K.DesignMainLoopoutExtensionLengthPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainLoopoutExtensionLengthPropsMixin_geometry; - } + A.DesignDialogFormComponent_dialog_for__closure3.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; + }, + $signature: 427 }; - K.DesignMainLoopoutExtensionLengthComponent.prototype = { - render$0: function(_) { - var t2, _this = this, - _s24_ = "loopout-extension-length", - length_elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), - t1 = _this._design_main_loopout_extension_length$_cachedTypedProps, - dy = H.S(0.1 * t1.get$geometry(t1).get$base_width_svg()), - style_map = P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", "9px"], type$.legacy_String, type$.dynamic), - $length = C.JSInt_methods.toString$0(_this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand().dna_length$0()), - text_path_props = A.SvgProps$($.$get$textPath(), null); - text_path_props.set$className(0, _s24_); - t1 = _this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand(); - text_path_props.set$xlinkHref("#" + t1.get$id(t1)); - text_path_props.set$startOffset(0, "50%"); - text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); - t1 = A.SvgProps$($.$get$text(), null); - t2 = _this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand(); - t1.set$key(0, t2.get$id(t2)); - t1.set$dy(0, dy); - C.JSArray_methods.add$1(length_elts, t1.call$1(text_path_props.call$1($length))); - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, _s24_); - return t1.call$1(length_elts); - } + A.DesignDialogFormComponent_dialog_for_closure3.prototype = { + call$1(e) { + var t1, new_responses, new_value, t2, t3, response, t4; + type$.SyntheticFormEvent._as(e); + t1 = this.current_responses; + t1.toString; + new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + new_value = A.Primitives_parseDouble(A._asStringS(J.get$value$x(J.get$target$x(e)))); + if (new_value == null) + return; + t2 = this.dialog_item_idx; + t1 = t1._list; + if (!(t2 < t1.length)) + return A.ioore(t1, t2); + t3 = type$.DialogFloat; + response = t3._as(t1[t2]); + response.toString; + t1 = type$.void_Function_DialogFloatBuilder._as(new A.DesignDialogFormComponent_dialog_for__closure2(new_value)); + t4 = new A.DialogFloatBuilder(); + A.ArgumentError_checkNotNull(response, "other", t3); + t4._dialog$_$v = response; + type$.nullable_void_Function_DialogFloatBuilder._as(t1).call$1(t4); + t1 = new_responses.$ti._precomputed1; + t4 = t1._as(t4._dialog$_build$0()); + !$.$get$isSoundMode() && !t1._is(null); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t4); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 8 }; - K.$DesignMainLoopoutExtensionLengthComponentFactory_closure.prototype = { - call$0: function() { - return new K._$DesignMainLoopoutExtensionLengthComponent(null); + A.DesignDialogFormComponent_dialog_for__closure2.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 446 + $signature: 428 }; - K._$$DesignMainLoopoutExtensionLengthProps.prototype = { - get$$$isClassGenerated: function() { - return true; + A.DesignDialogFormComponent_dialog_for_closure4.prototype = { + call$1(e) { + var selected_radio_idx, t3, response, new_responses, _this = this, + t1 = _this.item.options, + t2 = A._asStringS(J.get$value$x(J.get$target$x(type$.SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = B.JSArray_methods.indexOf$2(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = _this.current_responses; + t1 = _this.dialog_item_idx; + t3 = t2._list; + if (!(t1 < t3.length)) + return A.ioore(t3, t1); + response = type$.DialogRadio._as(t3[t1]); + new_responses = A.ListBuilder_ListBuilder(t2, A._instanceType(t2)._precomputed1); + t2 = new_responses.$ti._precomputed1; + t3 = t2._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure1(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t3 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t1, t3); + t1 = _this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthComponentFactory() : t1; - } + $signature: 8 }; - K._$$DesignMainLoopoutExtensionLengthProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_length$_props; - } + A.DesignDialogFormComponent_dialog_for__closure1.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + }, + $signature: 83 }; - K._$$DesignMainLoopoutExtensionLengthProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_length$_props; - } + A.DesignDialogFormComponent_dialog_for_closure5.prototype = { + call$1(e) { + var selected_radio_idx, t3, response, new_responses, _this = this, + t1 = _this.item.options, + t2 = A._asStringS(J.get$value$x(J.get$target$x(type$.SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = B.JSArray_methods.indexOf$2(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = _this.current_responses; + t1 = _this.dialog_item_idx; + t3 = t2._list; + if (!(t1 < t3.length)) + return A.ioore(t3, t1); + response = type$.DialogRadio._as(t3[t1]); + new_responses = A.ListBuilder_ListBuilder(t2, A._instanceType(t2)._precomputed1); + t2 = new_responses.$ti._precomputed1; + t3 = t2._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure0(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t3 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t1, t3); + t1 = _this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 8 }; - K._$DesignMainLoopoutExtensionLengthComponent.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_length$_cachedTypedProps; + A.DesignDialogFormComponent_dialog_for__closure0.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; }, - set$props: function(_, value) { - this.props = value; - this._design_main_loopout_extension_length$_cachedTypedProps = K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(R.getBackingMap(value)); + $signature: 83 + }; + A.DesignDialogFormComponent_dialog_for_closure6.prototype = { + call$1(e) { + var selected_radio_idx, t3, response, new_responses, _this = this, + t1 = _this.item.options, + t2 = A._asStringS(J.get$value$x(J.get$target$x(type$.SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = B.JSArray_methods.indexOf$2(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = _this.current_responses; + t1 = _this.dialog_item_idx; + t3 = t2._list; + if (!(t1 < t3.length)) + return A.ioore(t3, t1); + response = type$.DialogRadio._as(t3[t1]); + new_responses = A.ListBuilder_ListBuilder(t2, A._instanceType(t2)._precomputed1); + t2 = new_responses.$ti._precomputed1; + t3 = t2._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t3 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t1, t3); + t1 = _this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); }, - get$displayName: function(_) { - return "DesignMainLoopoutExtensionLength"; + $signature: 8 + }; + A.DesignDialogFormComponent_dialog_for__closure.prototype = { + call$1(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; }, - get$$$defaultConsumedProps: function() { - return C.Map_dMfrF.get$values(C.Map_dMfrF); - } + $signature: 83 }; - K.$DesignMainLoopoutExtensionLengthPropsMixin.prototype = { - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEPg); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + A.$DesignDialogFormComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignDialogFormComponent(null); }, - get$substrand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEPs); - if (t1 == null) - t1 = null; - return type$.legacy_Substrand._as(t1); - } + $signature: 430 }; - K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent.prototype = {}; - K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainLoopoutExtensionLengthPropsMixin_geometry; + A._$$DesignDialogFormProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignDialogFormComponentFactory() : t1; } }; - K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin.prototype = {}; - Z.DesignMainLoopoutExtensionLengthsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.DesignMainLoopoutExtensionLengthsProps_geometry; + A._$$DesignDialogFormProps$PlainMap.prototype = { + get$props(_) { + return this._design_dialog_form$_props; } }; - Z.DesignMainLoopoutExtensionLengthsComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, _null = null, - t1 = this._design_main_loopout_extension_lengths$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMLEssh); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "loopout-extension-lengths-main-view"); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - t3 = this._design_main_loopout_extension_lengths$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMLEsst); - if (t3 == null) - t3 = _null; - t3 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t3)._list); - t4 = type$.legacy_Geometry; - for (; t3.moveNext$0();) - for (t5 = J.get$iterator$ax(t3.get$current(t3).substrands._list); t5.moveNext$0();) { - t6 = t5.get$current(t5); - if (t6 instanceof G.Loopout || t6 instanceof S.Extension) { - t7 = K.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure().call$0(); - t8 = this._design_main_loopout_extension_lengths$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, string$.DesignMLEsg); - t8 = t4._as(t8 == null ? _null : t8); - t7.toString; - t9 = J.getInterceptor$x(t7); - J.$indexSet$ax(t9.get$props(t7), string$.DesignMLEPg, t8); - t8 = J.toString$0$(t6); - t10 = t9.get$props(t7); - J.$indexSet$ax(t10, "key", t8); - J.$indexSet$ax(t9.get$props(t7), string$.DesignMLEPs, t6); - J.$indexSet$ax(t9.get$props(t7), "className", "loopout-extension-length-elts"); - t2.push(t7.call$0()); - } - } - return t1.call$1(t2); - } + A._$$DesignDialogFormProps$JsMap.prototype = { + get$props(_) { + return this._design_dialog_form$_props; } }; - Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure.prototype = { - call$0: function() { - return new Z._$DesignMainLoopoutExtensionLengthsComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 447 - }; - Z._$$DesignMainLoopoutExtensionLengthsProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignDialogFormState.prototype = { + get$$$isClassGenerated() { return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthsComponentFactory() : t1; } }; - Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_lengths$_props; - } - }; - Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_lengths$_props; + A._$$DesignDialogFormState$JsMap.prototype = { + get$state(_) { + return this._design_dialog_form$_state; } }; - Z._$DesignMainLoopoutExtensionLengthsComponent.prototype = { - get$props: function(_) { - return this._design_main_loopout_extension_lengths$_cachedTypedProps; + A._$DesignDialogFormComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignDialogFormComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_loopout_extension_lengths$_cachedTypedProps = Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignDialogFormComponent__cachedTypedProps_A = A._$$DesignDialogFormProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainLoopoutExtensionLengths"; + get$state(_) { + var t1 = this.___$DesignDialogFormComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + return t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_46xLp.get$values(C.Map_46xLp); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignDialogFormComponent__cachedTypedState_A = A._$$DesignDialogFormState$JsMap$(value); + }, + typedStateFactoryJs$1(backingMap) { + return A._$$DesignDialogFormState$JsMap$(backingMap); + }, + get$displayName(_) { + return "DesignDialogForm"; + }, + get$$$defaultConsumedProps() { + return B.Map_MIUSr.get$values(B.Map_MIUSr); } }; - Z.$DesignMainLoopoutExtensionLengthsProps.prototype = { - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEsg); + A.$DesignDialogFormProps.prototype = { + get$dialog() { + var t1 = J.$index$asx(this.get$props(this), "DesignDialogFormProps.dialog"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - } - }; - Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent.prototype = {}; - Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps.prototype = { - get$geometry: function(receiver) { - return this.DesignMainLoopoutExtensionLengthsProps_geometry; + return type$.nullable_Dialog._as(t1); } }; - Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps.prototype = {}; - K.DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + A.$DesignDialogFormState.prototype = { + get$current_responses() { + var t1 = this.get$state(this).$index(0, "DesignDialogFormState.current_responses"); + if (t1 == null) + t1 = null; + return type$.nullable_BuiltList_DialogItem._as(t1); }, - set$geometry: function(_, geometry) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set$current_responses(value) { + type$.nullable_BuiltList_DialogItem._as(value); + this.get$state(this).$indexSet(0, "DesignDialogFormState.current_responses", value); }, - get$helices: function() { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_helices; + set$dialog_type(value) { + this.get$state(this).$indexSet(0, "DesignDialogFormState.dialog_type", value); }, - get$groups: function() { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_groups; + get$saved_responses() { + var t1 = this.get$state(this).$index(0, "DesignDialogFormState.saved_responses"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_of_DialogType_and_BuiltList_DialogItem._as(t1); }, - get$geometry: function(receiver) { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry; + set$saved_responses(value) { + type$.BuiltMap_of_DialogType_and_BuiltList_DialogItem._as(value); + this.get$state(this).$indexSet(0, "DesignDialogFormState.saved_responses", value); } }; - K.DesignMainPotentialVerticalCrossoverComponent.prototype = { - render$0: function(_) { - var prev_domain, next_domain, t0, t2, t3, prev_group, t4, t5, path, color, path_props, _this = this, _null = null, - t1 = _this._design_main_potential_vertical_crossover$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMPoPp); + A._DesignDialogFormComponent_UiStatefulComponent2_PureComponent.prototype = {}; + A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps.prototype = {}; + A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps.prototype = {}; + A.__$$DesignDialogFormState_UiState_DesignDialogFormState.prototype = {}; + A.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState.prototype = {}; + A.ConnectedDesignFooter_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_design_footer_props(A.design_footer___$DesignFooter$closure().call$0(), state); + }, + $signature: 431 + }; + A.DesignFooterProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignFooterComponent.prototype = { + render$0(_) { + var mouseover_data, text, domain, domain_length, t2, t3, t4, t5, t6, t7, _null = null, + t1 = this.___$DesignFooterComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "DesignFooterProps.mouseover_datas"); if (t1 == null) t1 = _null; - type$.legacy_PotentialVerticalCrossover._as(t1); - prev_domain = t1.domain_top; - next_domain = t1.domain_bot; - if (t1.dna_end_top.is_5p) { - t0 = next_domain; - next_domain = prev_domain; - prev_domain = t0; + t1 = type$.BuiltList_MouseoverData._as(t1)._list; + if (t1.length === 1) { + mouseover_data = B.JSArray_methods.get$first(t1); + text = "helix: " + mouseover_data.helix.idx + ", offset: " + mouseover_data.offset; + domain = mouseover_data.domain; + if (domain != null) { + domain_length = domain.dna_length$0(); + t1 = this.___$DesignFooterComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignF); + if (t1 == null) + t1 = _null; + type$.nullable_Strand._as(t1); + t2 = mouseover_data.strand_idx; + t3 = t1 == null; + t4 = t3 ? _null : t1.get$dna_length(); + t5 = domain.name; + t5 = t5 != null ? ", domain name: " + t5 : ""; + t6 = domain.label; + t6 = t6 != null ? ", domain label: " + t6 : ""; + t7 = (t3 ? _null : t1.name) != null ? ", strand name: " + A.S(t1.name) : ""; + t1 = (t3 ? _null : t1.label) != null ? ", strand label: " + A.S(t1.label) : ""; + text += ", strand DNA index: " + t2 + (", domain length: " + domain_length) + (", strand length: " + A.S(t4)) + t5 + t6 + t7 + t1; + } + } else { + t1 = this.___$DesignFooterComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignFooterProps.loaded_filename"); + text = A._asStringQ(t1 == null ? _null : t1); + if (text == null) + text = ""; } - t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); - t3 = prev_domain.helix; - prev_group = J.$index$asx(t2._map$_map, t3).group; - t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); - t4 = next_domain.helix; - if (prev_group !== J.$index$asx(t2._map$_map, t4).group) - return _null; - t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); - t5 = _this._design_main_potential_vertical_crossover$_cachedTypedProps; - path = B.crossover_path_description_within_group(prev_domain, next_domain, t2, t5.get$geometry(t5), J.$index$asx(_this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helix_idx_to_svg_position_y_map()._map$_map, t3), J.$index$asx(_this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helix_idx_to_svg_position_y_map()._map$_map, t4)); - color = t1.color; - path_props = A.SvgProps$($.$get$path(), _null); - path_props.set$d(0, path); - path_props.set$stroke(0, color); - path_props.set$className(0, "potential-vertical-crossover-curve"); - path_props.set$transform(0, _this.transform_of_helix$1(t3)); - path_props.set$onPointerDown(new K.DesignMainPotentialVerticalCrossoverComponent_render_closure(t1)); - return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1("click to add a crossover")); + t1 = A.DomProps$($.$get$span(), _null); + t1.set$className(0, "design-footer-mouse-over-paragraph"); + return t1.call$1(text); } }; - K.DesignMainPotentialVerticalCrossoverComponent_render_closure.prototype = { - call$1: function(ev) { - var t1; - if (J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(ev))), 0)) { - t1 = this.crossover; - $.app.dispatch$1(U._$JoinStrandsByCrossover$_(t1.dna_end_top, t1.dna_end_bot)); - } - }, - $signature: 18 - }; - K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure.prototype = { - call$0: function() { - return new K._$DesignMainPotentialVerticalCrossoverComponent(null); + A.$DesignFooterComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignFooterComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 448 + $signature: 432 }; - K._$$DesignMainPotentialVerticalCrossoverProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignFooterProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoverComponentFactory() : t1; - } - }; - K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossover$_props; - } - }; - K._$$DesignMainPotentialVerticalCrossoverProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossover$_props; - } - }; - K._$DesignMainPotentialVerticalCrossoverComponent.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossover$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_potential_vertical_crossover$_cachedTypedProps = K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignMainPotentialVerticalCrossover"; - }, - get$$$defaultConsumedProps: function() { - return C.Map_xiMwM.get$values(C.Map_xiMwM); + return t1 == null ? $.$get$$DesignFooterComponentFactory() : t1; } }; - K.$DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPhc); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMPoPhc, value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPgr); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMPoPgr, value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPge); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMPoPge, value); - }, - get$helix_idx_to_svg_position_y_map: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPhx); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(t1); + A._$$DesignFooterProps$PlainMap.prototype = { + get$props(_) { + return this._design_footer$_props; } }; - K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent.prototype = {}; - K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry; + A._$$DesignFooterProps$JsMap.prototype = { + get$props(_) { + return this._design_footer$_props; } }; - K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin.prototype = {}; - K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + A._$DesignFooterComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignFooterComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignFooterComponent__cachedTypedProps_A = A._$$DesignFooterProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + get$displayName(_) { + return "DesignFooter"; }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + get$$$defaultConsumedProps() { + return B.Map_np43h.get$values(B.Map_np43h); } }; - K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - S.DesignMainPotentialVerticalCrossoversProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainPotentialVerticalCrossoversProps_helices; - }, - get$groups: function() { - return this.DesignMainPotentialVerticalCrossoversProps_groups; + A.$DesignFooterProps.prototype = {}; + A.__$$DesignFooterProps_UiProps_DesignFooterProps.prototype = {}; + A.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps.prototype = {}; + A.ConnectedLoadingDialog_closure.prototype = { + call$1(state) { + var t1; + type$.AppState._as(state); + t1 = A.design_loading_dialog___$DesignLoadingDialog$closure().call$0(); + t1.set$show(0, state.ui_state.show_load_dialog); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainPotentialVerticalCrossoversProps_geometry; - } + $signature: 433 }; - S.DesignMainPotentialVerticalCrossoversComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, idx_top, idx_bot, t13, t14, t15, helices_of_crossover, group_top, group_bot, groups_of_crossover, _this = this, _null = null, - crossover_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), - t1 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMPosp); - if (t1 == null) - t1 = _null; - t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(t1)._list); - t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - t3 = type$.legacy_int; - t4 = type$.legacy_Helix; - t5 = type$.legacy_BuiltSet_legacy_int; - t6 = type$.JSArray_legacy_Object; - t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num; - t8 = type$.legacy_Geometry; - t9 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; - t10 = type$.legacy_String; - t11 = type$.legacy_HelixGroup; - for (; t1.moveNext$0();) { - t12 = t1.get$current(t1); - idx_top = t12.helix_idx_top; - idx_bot = t12.helix_idx_bot; - t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMPoso); - if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { - t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMPoss); - t13 = t5._as(t13 == null ? _null : t13); - t14 = H.setRuntimeTypeInfo([idx_bot, idx_top], t6); - t14 = !t13._set.containsAll$1(t14); - t13 = t14; - } else - t13 = false; - if (t13) - continue; - t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMPoshc); - t13 = t2._as(t13 == null ? _null : t13); - t14 = t13._map$_map; - t15 = H._instanceType(t13); - t15 = t15._eval$1("@<1>")._bind$1(t15._rest[1]); - t14 = new S.CopyOnWriteMap(t13._mapFactory, t14, t15._eval$1("CopyOnWriteMap<1,2>")); - t15 = t15._eval$1("bool(1,2)")._as(new S.DesignMainPotentialVerticalCrossoversComponent_render_closure(idx_top, idx_bot)); - t14._maybeCopyBeforeWrite$0(); - J.removeWhere$1$ax(t14._copy_on_write_map$_map, t15); - helices_of_crossover = A.BuiltMap_BuiltMap$of(t14, t3, t4); - t14 = helices_of_crossover._map$_map; - t15 = J.getInterceptor$asx(t14); - group_top = t15.$index(t14, idx_top).group; - group_bot = t15.$index(t14, idx_bot).group; - if (group_top === group_bot) { - t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMPosgr); - groups_of_crossover = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([group_bot, J.$index$asx(t9._as(t13 == null ? _null : t13)._map$_map, group_bot)], t10, t11), t10, t11); - t13 = K.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure().call$0(); - t13.toString; - t14 = J.getInterceptor$x(t13); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMPoPp, t12); - t2._as(helices_of_crossover); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.helices", helices_of_crossover); - t9._as(groups_of_crossover); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.groups", groups_of_crossover); - t15 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMPosge); - t15 = t8._as(t15 == null ? _null : t15); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.geometry", t15); - t15 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMPoshx); - t15 = t7._as(t7._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMPoPhx, t15); - t12 = t12.dna_end_top; - t15 = t12._dna_end$__id; - t12 = t15 == null ? t12._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t12, t12) : t15; - t14 = t14.get$props(t13); - J.$indexSet$ax(t14, "key", t12); - C.JSArray_methods.add$1(crossover_components, t13.call$0()); - } - } - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "potential-vertical-crossovers"); - return t1.call$1(crossover_components); + A.DesignLoadingDialogProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignLoadingDialogComponent.prototype = { + render$0(_) { + var _null = null, + t1 = this.___$DesignLoadingDialogComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "DesignLoadingDialogProps.show"); + if (A._asBoolS(t1 == null ? _null : t1) === false) + return _null; + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, "dialog-form-form dialog-design-loading"); + return t1.call$1(A.DomProps$($.$get$span(), _null).call$1("Loading...")); } }; - S.DesignMainPotentialVerticalCrossoversComponent_render_closure.prototype = { - call$2: function(idx, _) { - H._asIntS(idx); - type$.legacy_Helix._as(_); - return !(idx === this.idx_top || idx == this.idx_bot); - }, - $signature: 73 - }; - S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignMainPotentialVerticalCrossoversComponent(null); + A.$DesignLoadingDialogComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignLoadingDialogComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 449 + $signature: 434 }; - S._$$DesignMainPotentialVerticalCrossoversProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignLoadingDialogProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoversComponentFactory() : t1; + return t1 == null ? $.$get$$DesignLoadingDialogComponentFactory() : t1; } }; - S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossovers$_props; + A._$$DesignLoadingDialogProps$PlainMap.prototype = { + get$props(_) { + return this._design_loading_dialog$_props; } }; - S._$$DesignMainPotentialVerticalCrossoversProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossovers$_props; + A._$$DesignLoadingDialogProps$JsMap.prototype = { + get$props(_) { + return this._design_loading_dialog$_props; } }; - S._$DesignMainPotentialVerticalCrossoversComponent.prototype = { - get$props: function(_) { - return this._design_main_potential_vertical_crossovers$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_potential_vertical_crossovers$_cachedTypedProps = S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignMainPotentialVerticalCrossovers"; + A._$DesignLoadingDialogComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignLoadingDialogComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$$$defaultConsumedProps: function() { - return C.Map_C8A0L.get$values(C.Map_C8A0L); - } - }; - S.$DesignMainPotentialVerticalCrossoversProps.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoshc); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignLoadingDialogComponent__cachedTypedProps_A = A._$$DesignLoadingDialogProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPosgr); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + get$displayName(_) { + return "DesignLoadingDialog"; }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMPosge); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + get$$$defaultConsumedProps() { + return B.Map_KF6q6.get$values(B.Map_KF6q6); } }; - S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps.prototype = { - get$helices: function() { - return this.DesignMainPotentialVerticalCrossoversProps_helices; - }, - get$groups: function() { - return this.DesignMainPotentialVerticalCrossoversProps_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainPotentialVerticalCrossoversProps_geometry; + A.$DesignLoadingDialogProps.prototype = { + set$show(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignLoadingDialogProps.show", value); } }; - S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps.prototype = {}; - M.DesignMainSliceBarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$groups: function() { - return this.DesignMainSliceBarProps_groups; - }, - get$helices: function() { - return this.DesignMainSliceBarProps_helices; + A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps.prototype = {}; + A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps.prototype = {}; + A.ConnectedDesignMain_closure.prototype = { + call$1(state) { + var t1; + type$.AppState._as(state); + t1 = A.design_main___$DesignMain$closure().call$0(); + J.set$state$x(t1, state); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainSliceBarProps_geometry; - } + $signature: 435 }; - M.DesignMainSliceBarComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, displayed_helices_min_y, displayed_helices_max_y, t7, t8, helix, side_selected_helix_idxs, t9, y, geometry, slice_bar_svg_width, slice_bar_y, slice_bar, offset_text, _this = this, _null = null, - t1 = _this._design_main_slice_bar$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMSlhs); + A.DesignMainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainComponent.prototype = { + render$0(_) { + var design, ui_state, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _null = null, + t1 = this.___$DesignMainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "DesignMainProps.state"); if (t1 == null) t1 = _null; - type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(t1); - t2 = _this._design_main_slice_bar$_cachedTypedProps.get$displayed_group_name(); - for (t1 = J.$index$asx(t1._map$_map, t2)._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, displayed_helices_min_y = 1 / 0, displayed_helices_max_y = -1 / 0; t3.moveNext$0();) { - t7 = t3.get$current(t3); - t8 = _this._design_main_slice_bar$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, "DesignMainSliceBarProps.helices"); - helix = J.$index$asx(t5._as(t8 == null ? _null : t8)._map$_map, t7); - t8 = _this._design_main_slice_bar$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, string$.DesignMSls); - side_selected_helix_idxs = t4._as(t8 == null ? _null : t8); - t8 = _this._design_main_slice_bar$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, string$.DesignMSlo); - t8 = H.boolConversionCheck(H._asBoolS(t8 == null ? _null : t8)); - if (t8) { - t9 = helix.idx; - t9 = side_selected_helix_idxs._set.contains$1(0, t9); - } else - t9 = false; - if (t9 || !t8) { - t8 = _this._design_main_slice_bar$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, string$.DesignMSlh_); - y = J.$index$asx(t6._as(t8 == null ? _null : t8)._map$_map, t7).y; - displayed_helices_max_y = Math.max(displayed_helices_max_y, H.checkNum(y)); - displayed_helices_min_y = Math.min(displayed_helices_min_y, H.checkNum(y)); - } - } - if (displayed_helices_min_y === 1 / 0) + type$.AppState._as(t1); + if (t1.get$has_error()) return _null; - t3 = _this._design_main_slice_bar$_cachedTypedProps; - geometry = t3.get$geometry(t3); - slice_bar_svg_width = geometry.get$base_width_svg(); - t3 = geometry.__helix_diameter_svg; - if (t3 == null) - t3 = geometry.__helix_diameter_svg = N.Geometry.prototype.get$helix_diameter_svg.call(geometry); - t4 = _this._design_main_slice_bar$_cachedTypedProps.get$helices(); - t5 = t2.get$first(t1); - helix = J.$index$asx(t4._map$_map, t5); - t5 = _this._design_main_slice_bar$_cachedTypedProps.get$slice_bar_offset(); - t4 = _this._design_main_slice_bar$_cachedTypedProps.get$helix_idx_to_svg_position_map(); - t1 = t2.get$first(t1); - t1 = helix.svg_base_pos$3(t5, true, J.$index$asx(t4._map$_map, t1).y).x; - t4 = geometry.get$base_width_svg(); + design = t1.get$design(); + ui_state = t1.ui_state; + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$id(0, "main-view-group"); + t3 = A._setArrayType([], type$.JSArray_ReactElement); + t4 = ui_state.storables; + if (t4.show_helix_components_main_view) { + t5 = A.design_main_helices___$DesignMainHelices$closure().call$0(); + t6 = design.helices; + t5.toString; + type$.BuiltMap_int_Helix._as(t6); + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), "DesignMainHelicesProps.helices", t6); + t6 = type$.BuiltMap_String_HelixGroup._as(design.groups); + J.$indexSet$ax(t7.get$props(t5), "DesignMainHelicesProps.groups", t6); + t6 = type$.BuiltMap_of_String_and_BuiltList_int._as(design.get$helix_idxs_in_group()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHchis, t6); + t6 = design.geometry; + J.$indexSet$ax(t7.get$props(t5), "DesignMainHelicesProps.geometry", t6); + t6 = t4.major_tick_offset_font_size; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcmo, t6); + t6 = t4.major_tick_width_font_size; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcmw, t6); + t6 = ui_state.helix_change_apply_to_all; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHchc, t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcsi, t6); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHco, t6); + t6 = t4.show_dna; + J.$indexSet$ax(t7.get$props(t5), "DesignMainHelicesProps.show_dna", t6); + t6 = t4.show_domain_names; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcshd, t6); + t6 = t4.show_helix_circles_main_view; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcshh, t6); + t6 = t4.display_base_offsets_of_major_ticks; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcdb, t6); + t6 = t4.display_base_offsets_of_major_ticks_only_first_helix; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcdb_, t6); + t6 = t4.display_major_tick_widths; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcdm, t6); + t6 = t4.display_major_tick_widths_all_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHcdm_, t6); + t6 = type$.BuiltMap_of_int_and_Point_double._as(t1.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMHchi_, t6); + t6 = t4.invert_y; + J.$indexSet$ax(t7.get$props(t5), "DesignMainHelicesProps.invert_y", t6); + t7.set$key(t5, "helices"); + t3.push(t5.call$0()); + } + if (t4.show_mismatches) { + t5 = A.design_main_dna_mismatches___$DesignMainDNAMismatches$closure().call$0(); + t5.toString; + t6 = J.getInterceptor$x(t5); + J.$indexSet$ax(t6.get$props(t5), "DesignMainDNAMismatchesProps.design", design); + t7 = t4.only_display_selected_helices; + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDNMo, t7); + t7 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDNMs, t7); + t7 = type$.BuiltMap_int_num._as(t1.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainComponent_render_closure(), type$.int, type$.num)); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDNMh, t7); + t6.set$key(t5, "mismatches"); + t3.push(t5.call$0()); + } + if (t4.show_domain_name_mismatches) { + t5 = A.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure().call$0(); + t5.toString; + t6 = J.getInterceptor$x(t5); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDoNd, design); + t7 = t4.only_display_selected_helices; + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDoNo, t7); + t7 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDoNs, t7); + t7 = type$.BuiltMap_of_int_and_Point_double._as(t1.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMDoNh, t7); + t6.set$key(t5, "domain-name-mismatches"); + t3.push(t5.call$0()); + } + if (t4.show_unpaired_insertion_deletions) { + t5 = A.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure().call$0(); + t5.toString; + t6 = J.getInterceptor$x(t5); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMUd, design); + t7 = t4.only_display_selected_helices; + J.$indexSet$ax(t6.get$props(t5), string$.DesignMUo, t7); + t7 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMUs, t7); + t7 = type$.BuiltMap_int_num._as(t1.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainComponent_render_closure0(), type$.int, type$.num)); + J.$indexSet$ax(t6.get$props(t5), string$.DesignMUh, t7); + t6.set$key(t5, "unpaired-insertion-deletions"); + t3.push(t5.call$0()); + } + t5 = t4.base_pair_display_type; + if (t5 === B.BasePairDisplayType_lines) { + t6 = A.design_main_base_pair_lines___$DesignMainBasePairLines$closure().call$0(); + t7 = t4.show_base_pair_lines_with_mismatches; + t6.toString; + t8 = J.getInterceptor$x(t6); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMBLw, t7); + J.$indexSet$ax(t8.get$props(t6), "DesignMainBasePairLinesProps.design", design); + t7 = t4.only_display_selected_helices; + J.$indexSet$ax(t8.get$props(t6), string$.DesignMBLo, t7); + t7 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMBLs, t7); + t7 = type$.BuiltMap_int_num._as(t1.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainComponent_render_closure1(), type$.int, type$.num)); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMBLh, t7); + t8.set$key(t6, "base-pair-lines"); + t3.push(t6.call$0()); + } + if (t5 === B.BasePairDisplayType_rectangle) { + t5 = A.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure().call$0(); + t6 = t4.show_base_pair_lines_with_mismatches; + t5.toString; + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMBRw, t6); + J.$indexSet$ax(t7.get$props(t5), "DesignMainBasePairRectangleProps.design", design); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMBRo, t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMBRs, t6); + t6 = type$.BuiltMap_int_num._as(t1.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainComponent_render_closure2(), type$.int, type$.num)); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMBRh, t6); + t7.set$key(t5, "base-pair-rectangle"); + t3.push(t5.call$0()); + } + t5 = $.$get$ConnectedDesignMainStrands().call$0(); + J.set$key$z(t5, "strands"); + t3.push(A.set_design_main_strands_props(t5, t1).call$0()); + if (t4.edit_modes._set.contains$1(0, B.EditModeChoice_pencil) && !ui_state.drawing_potential_crossover) { + t5 = A.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure().call$0(); + t6 = design.__potential_vertical_crossovers; + if (t6 == null) { + t6 = A.Design.prototype.get$potential_vertical_crossovers.call(design); + design.set$__potential_vertical_crossovers(t6); + } + t5.toString; + type$.BuiltList_PotentialVerticalCrossover._as(t6); + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPsp, t6); + t6 = type$.BuiltMap_int_Helix._as(design.helices); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPshc, t6); + t6 = type$.BuiltMap_String_HelixGroup._as(design.groups); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPsgr, t6); + t6 = design.geometry; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPsge, t6); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPso, t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPss, t6); + t6 = type$.BuiltMap_int_double._as(t1.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainComponent_render_closure3(), type$.int, type$.double)); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMPshx, t6); + t7.set$key(t5, "potential-vertical-crossovers"); + t3.push(t5.call$0()); + } + t5 = ui_state.strand_creation; + if (t5 != null) { + t6 = A.design_main_strand_creating___$DesignMainStrandCreating$closure().call$0(); + t7 = t5.helix; + t6.toString; + t8 = J.getInterceptor$x(t6); + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.helix", t7); + t9 = t5.forward; + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.forward", t9); + t9 = t5.get$start(t5); + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.start", t9); + t9 = t5.get$end(t5); + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.end", t9); + t5 = t5.color; + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.color", t5); + t5 = t7.idx; + t9 = type$.int; + t10 = type$.Helix; + t10 = type$.BuiltMap_int_Helix._as(A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t5, t7], t9, t10), t9, t10)); + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.helices", t10); + t7 = t7.group; + t10 = design.groups._map$_map.$index(0, t7); + t10.toString; + t9 = type$.String; + t11 = type$.HelixGroup; + t11 = type$.BuiltMap_String_HelixGroup._as(A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t7, t10], t9, t11), t9, t11)); + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.groups", t11); + t11 = design.geometry; + J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.geometry", t11); + t5 = t1.get$helix_idx_to_svg_position_map()._map$_map.$index(0, t5).y; + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStCe, t5); + t8.set$key(t6, "strand-creating"); + t3.push(t6.call$0()); + } + if (t4.show_dna) { + t5 = A.design_main_dna_sequences___$DesignMainDNASequences$closure().call$0(); + t6 = design.helices; + t5.toString; + type$.BuiltMap_int_Helix._as(t6); + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), "DesignMainDNASequencesProps.helices", t6); + t6 = type$.BuiltMap_String_HelixGroup._as(design.groups); + J.$indexSet$ax(t7.get$props(t5), "DesignMainDNASequencesProps.groups", t6); + t6 = design.geometry; + J.$indexSet$ax(t7.get$props(t5), "DesignMainDNASequencesProps.geometry", t6); + t6 = type$.BuiltList_Strand._as(design.strands); + J.$indexSet$ax(t7.get$props(t5), "DesignMainDNASequencesProps.strands", t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSss, t6); + t6 = ui_state.dna_sequence_png_uri; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsdnu, t6); + t6 = ui_state.dna_sequence_png_horizontal_offset; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsdnh, t6); + t6 = ui_state.dna_sequence_png_vertical_offset; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsdnv, t6); + t6 = ui_state.is_zoom_above_threshold; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsi, t6); + t6 = ui_state.export_svg_action_delayed_for_png_cache; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSse, t6); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSso, t6); + t6 = type$.BuiltMap_of_int_and_Point_double._as(t1.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsh, t6); + t6 = t4.disable_png_caching_dna_sequences; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsdia, t6); + t6 = t4.retain_strand_color_on_selection; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsr, t6); + t6 = t4.display_reverse_DNA_right_side_up; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMDNSsdip, t6); + t7.set$key(t5, "dna-sequences"); + t3.push(t5.call$0()); + } + if (t4.show_loopout_extension_length) { + t5 = A.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure().call$0(); + t6 = design.geometry; + t5.toString; + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMLEsg, t6); + t6 = type$.BuiltList_Strand._as(design.strands); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMLEsst, t6); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMLEssh, true); + t7.set$key(t5, "loopout-extension-length"); + t3.push(t5.call$0()); + } + if (t4.show_slice_bar && t4.slice_bar_offset != null) { + t5 = A.design_main_slice_bar___$DesignMainSliceBar$closure().call$0(); + t6 = t4.slice_bar_offset; + t6.toString; + t5.toString; + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), "DesignMainSliceBarProps.slice_bar_offset", t6); + t6 = type$.BuiltMap_int_Helix._as(design.helices); + J.$indexSet$ax(t7.get$props(t5), "DesignMainSliceBarProps.helices", t6); + t6 = type$.BuiltMap_String_HelixGroup._as(design.groups); + J.$indexSet$ax(t7.get$props(t5), "DesignMainSliceBarProps.groups", t6); + t6 = design.geometry; + J.$indexSet$ax(t7.get$props(t5), "DesignMainSliceBarProps.geometry", t6); + t6 = t4.displayed_group_name; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMSld, t6); + t6 = type$.BuiltMap_of_String_and_BuiltList_int._as(design.get$helix_idxs_in_group()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMSlhs, t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMSls, t6); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t7.get$props(t5), string$.DesignMSlo, t6); + t6 = type$.BuiltMap_of_int_and_Point_double._as(t1.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMSlh_, t6); + t7.set$key(t5, "slice-bar"); + t3.push(t5.call$0()); + } + t5 = $.$get$ConnectedPotentialCrossoverView().call$0(); + J.set$key$z(t5, "potential-crossover"); + t3.push(A.set_potential_crossover_props(t5, _null).call$0()); + t5 = $.$get$ConnectedPotentialExtensionsView().call$0(); + t5.set$id_("potential-extensions-main"); + J.set$key$z(t5, "potential-extensions"); + t3.push(t5.call$0()); + t5 = $.$get$ConnectedSelectionBoxView().call$0(); + t5.set$stroke_width_getter(new A.DesignMainComponent_render_closure4()); + t5.set$is_main(true); + t5.set$id_("selection-box-main"); + J.set$key$z(t5, "selection-box"); + t3.push(t5.call$0()); + t5 = $.$get$ConnectedSelectionRopeView().call$0(); + t5.set$stroke_width_getter(new A.DesignMainComponent_render_closure5()); + t5.set$is_main(true); + t5.set$id_("selection-rope-main"); + J.set$key$z(t5, "selection-rope"); + t3.push(t5.call$0()); + if (ui_state.helix_group_is_moving) { + t5 = $.$get$ConnectedHelixGroupMoving().call$0(); + t6 = $.__app._readField$0().__App_store_helix_group_move_F; + t6 === $ && A.throwLateFieldNI("store_helix_group_move"); + t6 = t6.__Store__state_A; + t6 === $ && A.throwLateFieldNI("_state"); + t5.set$helix_group_move(t6); + t6 = type$.BuiltSet_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t5.get$props(t5), string$.HelixGs, t6); + t6 = t4.only_display_selected_helices; + J.$indexSet$ax(t5.get$props(t5), string$.HelixGo, t6); + t6 = t4.show_helix_circles_main_view; + J.$indexSet$ax(t5.get$props(t5), "HelixGroupMovingProps.show_helix_circles", t6); + t6 = type$.BuiltMap_of_int_and_Point_double._as(t1.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t5), string$.HelixGh, t6); + t6 = t4.major_tick_offset_font_size; + J.$indexSet$ax(t5.get$props(t5), string$.HelixGmo, t6); + t6 = t4.major_tick_width_font_size; + J.$indexSet$ax(t5.get$props(t5), string$.HelixGmw, t6); + t4 = t4.show_domain_labels; + J.$indexSet$ax(t5.get$props(t5), "HelixGroupMovingProps.show_domain_labels", t4); + t5.set$key(0, "helix-group-moving"); + t3.push(t5.call$0()); + } + t4 = $.$get$ConnectedDesignMainStrandsMoving().call$0(); + J.set$key$z(t4, "strands-moving"); + t3.push(A.set_design_main_strands_moving_props(t4, t1).call$0()); + t4 = $.$get$ConnectedDesignMainDomainsMoving().call$0(); + J.set$key$z(t4, "domains-moving"); + t3.push(A.set_design_main_domains_moving_props(t4, t1).call$0()); + return t2.call$1(t3); + } + }; + A.DesignMainComponent_render_closure.prototype = { + call$2(helix_idx, svg_position) { + return new A.MapEntry(A._asIntS(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_num); + }, + $signature: 55 + }; + A.DesignMainComponent_render_closure0.prototype = { + call$2(helix_idx, svg_position) { + return new A.MapEntry(A._asIntS(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_num); + }, + $signature: 55 + }; + A.DesignMainComponent_render_closure1.prototype = { + call$2(helix_idx, svg_position) { + return new A.MapEntry(A._asIntS(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_num); + }, + $signature: 55 + }; + A.DesignMainComponent_render_closure2.prototype = { + call$2(helix_idx, svg_position) { + return new A.MapEntry(A._asIntS(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_num); + }, + $signature: 55 + }; + A.DesignMainComponent_render_closure3.prototype = { + call$2(helix_idx, svg_position) { + return new A.MapEntry(A._asIntS(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_double); + }, + $signature: 128 + }; + A.DesignMainComponent_render_closure4.prototype = { + call$0() { + var t1 = self.current_zoom_main(); if (typeof t1 !== "number") - return t1.$sub(); - slice_bar_y = displayed_helices_min_y - geometry.get$helix_radius_svg() + geometry.get$base_height_svg(); - t5 = A.SvgProps$($.$get$rect(), _null); - t5.set$onPointerDown(new M.DesignMainSliceBarComponent_render_closure()); - t5.set$width(0, slice_bar_svg_width); - t5.set$height(0, displayed_helices_max_y - displayed_helices_min_y + t3); - t5.set$x(0, t1 - t4 / 2); - t5.set$y(0, slice_bar_y); - slice_bar = t5.call$0(); - t5 = A.SvgProps$($.$get$text(), _null); - t5.set$x(0, t1); - t5.set$y(0, slice_bar_y - 5); - offset_text = t5.call$1(_this._design_main_slice_bar$_cachedTypedProps.get$slice_bar_offset()); - t5 = A.SvgProps$($.$get$g(), _null); - t5.set$className(0, "slice-bar-rect"); - t1 = _this._design_main_slice_bar$_cachedTypedProps.get$groups(); - t4 = _this._design_main_slice_bar$_cachedTypedProps.get$displayed_group_name(); - t4 = J.$index$asx(t1._map$_map, t4); - t1 = _this._design_main_slice_bar$_cachedTypedProps; - t5.set$transform(0, t4.transform_str$1(t1.get$geometry(t1))); - t5.set$key(0, "slice-bar"); - return t5.call$2(slice_bar, offset_text); - } - }; - M.DesignMainSliceBarComponent_render_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticPointerEvent._as(_); - t1 = $.app; - type$.legacy_void_Function_legacy_SliceBarMoveStartBuilder._as(null); - t1.dispatch$1(new U.SliceBarMoveStartBuilder().build$0()); + return A.iae(t1); + return 2 / t1; }, - $signature: 18 + $signature: 67 + }; + A.DesignMainComponent_render_closure5.prototype = { + call$0() { + var t1 = self.current_zoom_main(); + if (typeof t1 !== "number") + return A.iae(t1); + return 2 / t1; + }, + $signature: 67 }; - M.$DesignMainSliceBarComponentFactory_closure.prototype = { - call$0: function() { - return new M._$DesignMainSliceBarComponent(null); + A.$DesignMainComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 450 + $signature: 438 }; - M._$$DesignMainSliceBarProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainSliceBarComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainComponentFactory() : t1; } }; - M._$$DesignMainSliceBarProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_slice_bar$_props; + A._$$DesignMainProps$PlainMap.prototype = { + get$props(_) { + return this._design_main$_props; } }; - M._$$DesignMainSliceBarProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_slice_bar$_props; + A._$$DesignMainProps$JsMap.prototype = { + get$props(_) { + return this._design_main$_props; } }; - M._$DesignMainSliceBarComponent.prototype = { - get$props: function(_) { - return this._design_main_slice_bar$_cachedTypedProps; + A._$DesignMainComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_slice_bar$_cachedTypedProps = M._$$DesignMainSliceBarProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainComponent__cachedTypedProps_A = A._$$DesignMainProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainSliceBar"; + get$displayName(_) { + return "DesignMain"; }, - get$$$defaultConsumedProps: function() { - return C.Map_Okkyu.get$values(C.Map_Okkyu); + get$$$defaultConsumedProps() { + return B.Map_dyUgo.get$values(B.Map_dyUgo); } }; - M.$DesignMainSliceBarProps.prototype = { - get$slice_bar_offset: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.slice_bar_offset"); - return H._asIntS(t1 == null ? null : t1); + A.$DesignMainProps.prototype = { + set$state(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainProps.state", value); + } + }; + A.__$$DesignMainProps_UiProps_DesignMainProps.prototype = {}; + A.__$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps.prototype = {}; + A.DesignMainBasePairLinesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainBasePairLinesComponent.prototype = { + render$0(_) { + var base_pair_lines_components, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).get$design().strands; + t1.toString; + base_pair_lines_components = this.create_base_pair_lines_components$1(A.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "base-pair-lines-main-view"); + return t1.call$1(base_pair_lines_components); }, - get$displayed_group_name: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMSld); - return H._asStringS(t1 == null ? null : t1); + create_base_pair_lines_components$1(strands) { + var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, t10, t11, t12, translate_svg, helix_components, t13, t14, t15, base_svg_forward_pos, base_svg_reverse_pos, t16, t17, _this = this, _null = null, + _s35_ = "DesignMainBasePairLinesProps.design"; + type$.BuiltSet_Strand._as(strands); + t1 = type$.JSArray_ReactElement; + base_pair_lines_components = A._setArrayType([], t1); + t2 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$props(t2).$index(0, string$.DesignMBLw); + t2 = A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2)); + t3 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); + for (t2 = base_pairs.get$keys(base_pairs), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.BuiltSet_int, t4 = base_pairs._map$_map, t5 = type$.BuiltMap_int_num, t6 = type$.Design; t2.moveNext$0();) { + t7 = t2.__js_helper$_current; + t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMBLo); + if (A.boolConversionCheck(A._asBoolS(t8 == null ? _null : t8))) { + t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMBLs); + t8 = t3._as(t8 == null ? _null : t8)._set.contains$1(0, t7); + } else + t8 = true; + if (t8) { + t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, _s35_); + t8 = t6._as(t8 == null ? _null : t8).helices._map$_map.$index(0, t7); + t8.toString; + t9 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, _s35_); + t9 = t6._as(t9 == null ? _null : t9).groups._map$_map.$index(0, t8.group); + t9.toString; + t10 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s35_); + t10 = t6._as(t10 == null ? _null : t10).geometry; + t11 = t9.position; + t12 = t10.__nm_to_svg_pixels; + t10 = t12 == null ? t10.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t10) : t12; + translate_svg = A.Position3D_Position3D(t11.x * t10, t11.y * t10, t11.z * t10); + helix_components = A._setArrayType([], t1); + for (t10 = t4.$index(0, t7)._list, t10 = new J.ArrayIterator(t10, t10.length, A._arrayInstanceType(t10)._eval$1("ArrayIterator<1>")), t11 = A.S(t7), t12 = "base-pair-line-H" + t11 + "-", t13 = "base_pair-" + t11 + "-"; t10.moveNext$0();) { + t14 = t10.__interceptors$_current; + t15 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, string$.DesignMBLh); + t15 = t5._as(t15 == null ? _null : t15)._map$_map.$index(0, t7); + t15.toString; + base_svg_forward_pos = t8.svg_base_pos$3(t14, true, t15); + base_svg_reverse_pos = t8.svg_base_pos$3(t14, false, t15); + t15 = A.SvgProps$($.$get$line(), _null); + t14 = A.S(t14); + t16 = t15.props; + t17 = t16.jsObject; + t17.id = A.DartValueWrapper_wrapIfNeeded(t13 + t14); + t17.x1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); + t17.y1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); + t17.x2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); + t17.y2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); + t17.className = A.DartValueWrapper_wrapIfNeeded("base-pair-line"); + t17.stroke = A.DartValueWrapper_wrapIfNeeded("black"); + t16.$indexSet(0, "key", t12 + t14); + B.JSArray_methods.add$1(helix_components, t15.call$0()); + } + t7 = A.SvgProps$($.$get$g(), _null); + t8 = t7.props; + t10 = t8.jsObject; + t10.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t9.pitch) + ")"); + t10.className = A.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); + t8.$indexSet(0, "key", "base-pair-lines-components-in-helix-H" + t11); + B.JSArray_methods.add$1(base_pair_lines_components, t7.call$1(helix_components)); + } + } + return base_pair_lines_components; + } + }; + A.$DesignMainBasePairLinesComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainBasePairLinesComponent(null); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + $signature: 439 + }; + A._$$DesignMainBasePairLinesProps.prototype = { + get$$$isClassGenerated() { + return true; }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainBasePairLinesComponentFactory() : t1; + } + }; + A._$$DesignMainBasePairLinesProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_base_pair_lines$_props; + } + }; + A._$$DesignMainBasePairLinesProps$JsMap.prototype = { + get$props(_) { + return this._design_main_base_pair_lines$_props; + } + }; + A._$DesignMainBasePairLinesComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A = A._$$DesignMainBasePairLinesProps$JsMap$(A.getBackingMap(value)); }, - get$helix_idx_to_svg_position_map: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMSlh_); + get$displayName(_) { + return "DesignMainBasePairLines"; + }, + get$$$defaultConsumedProps() { + return B.Map_67KTj.get$values(B.Map_67KTj); + } + }; + A.$DesignMainBasePairLinesProps.prototype = { + get$design() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairLinesProps.design"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + return type$.Design._as(t1); } }; - M._DesignMainSliceBarComponent_UiComponent2_PureComponent.prototype = {}; - M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps.prototype = { - get$groups: function() { - return this.DesignMainSliceBarProps_groups; - }, - get$helices: function() { - return this.DesignMainSliceBarProps_helices; + A._DesignMainBasePairLinesComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps.prototype = {}; + A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps.prototype = {}; + A.DesignMainBasePairRectangleProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainBasePairRectangleComponent.prototype = { + render$0(_) { + var base_pair_lines_components, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).get$design().strands; + t1.toString; + base_pair_lines_components = this.create_base_pair_lines_components$1(A.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "base-pair-lines-main-view"); + return t1.call$1(base_pair_lines_components); }, - get$geometry: function(receiver) { - return this.DesignMainSliceBarProps_geometry; + create_base_pair_lines_components$1(strands) { + var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, translate_svg, helix_components, t14, t15, last_svg_forward_pos, last_offset, t16, t17, base_svg_forward_pos, base_svg_reverse_pos, t18, t19, t20, t21, t22, t23, base_pair_ele, _this = this, _null = null, + _s39_ = "DesignMainBasePairRectangleProps.design"; + type$.BuiltSet_Strand._as(strands); + t1 = type$.JSArray_ReactElement; + base_pair_lines_components = A._setArrayType([], t1); + t2 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$props(t2).$index(0, string$.DesignMBRw); + t2 = A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2)); + t3 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); + for (t2 = base_pairs.get$keys(base_pairs), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.BuiltSet_int, t4 = base_pairs._map$_map, t5 = type$.ReactElement, t6 = type$.BuiltMap_int_num, t7 = type$.Design; t2.moveNext$0();) { + t8 = t2.__js_helper$_current; + t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMBRo); + if (A.boolConversionCheck(A._asBoolS(t9 == null ? _null : t9))) { + t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMBRs); + t9 = t3._as(t9 == null ? _null : t9)._set.contains$1(0, t8); + } else + t9 = true; + if (t9) { + t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, _s39_); + t9 = t7._as(t9 == null ? _null : t9).helices._map$_map.$index(0, t8); + t9.toString; + t10 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s39_); + t10 = t7._as(t10 == null ? _null : t10).groups._map$_map.$index(0, t9.group); + t10.toString; + t11 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s39_); + t11 = t7._as(t11 == null ? _null : t11).geometry; + t12 = t10.position; + t13 = t11.__nm_to_svg_pixels; + t11 = t13 == null ? t11.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t13; + translate_svg = A.Position3D_Position3D(t12.x * t11, t12.y * t11, t12.z * t11); + helix_components = A._setArrayType([], t1); + for (t11 = t4.$index(0, t8)._list, t11 = new J.ArrayIterator(t11, t11.length, A._arrayInstanceType(t11)._eval$1("ArrayIterator<1>")), t12 = A.S(t8), t13 = "base-pair-line-H" + t12 + "-", t14 = "base_pair-" + t12 + "-", t15 = "base-pair-rect-H" + t12 + "-", last_svg_forward_pos = _null, last_offset = -2; t11.moveNext$0(); last_svg_forward_pos = base_svg_forward_pos, last_offset = t16) { + t16 = t11.__interceptors$_current; + t17 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t17 = t17.get$props(t17).$index(0, string$.DesignMBRh); + t17 = t6._as(t17 == null ? _null : t17)._map$_map.$index(0, t8); + t17.toString; + base_svg_forward_pos = t9.svg_base_pos$3(t16, true, t17); + base_svg_reverse_pos = t9.svg_base_pos$3(t16, false, t17); + if (typeof t16 !== "number") + return t16.$sub(); + t17 = "" + t16; + t18 = t14 + t17; + if (t16 - last_offset === 1) { + t19 = A.SvgProps$($.$get$rect(), _null); + t20 = t19.props; + t21 = t20.jsObject; + t21.id = A.DartValueWrapper_wrapIfNeeded(t18); + t18 = last_svg_forward_pos.x; + if (typeof t18 !== "number") + return t18.$sub(); + t21.x = A.DartValueWrapper_wrapIfNeeded(t18 - 0.5); + t22 = base_svg_forward_pos.y; + t21.y = A.DartValueWrapper_wrapIfNeeded(t22); + t23 = base_svg_reverse_pos.x; + if (typeof t23 !== "number") + return t23.$sub(); + t21.width = A.DartValueWrapper_wrapIfNeeded(t23 - t18 + 0.8); + t18 = base_svg_reverse_pos.y; + if (typeof t18 !== "number") + return t18.$sub(); + if (typeof t22 !== "number") + return A.iae(t22); + t21.height = A.DartValueWrapper_wrapIfNeeded(t18 - t22); + t21.className = A.DartValueWrapper_wrapIfNeeded("base-pair-rect"); + t21.fill = A.DartValueWrapper_wrapIfNeeded("grey"); + t20.$indexSet(0, "key", t15 + t17); + base_pair_ele = t19.call$0(); + } else { + t19 = A.SvgProps$($.$get$line(), _null); + t20 = t19.props; + t21 = t20.jsObject; + t21.id = A.DartValueWrapper_wrapIfNeeded(t18); + t21.x1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); + t21.y1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); + t21.x2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); + t21.y2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); + t21.className = A.DartValueWrapper_wrapIfNeeded("base-pair-line"); + t21.stroke = A.DartValueWrapper_wrapIfNeeded("grey"); + t20.$indexSet(0, "key", t13 + t17); + base_pair_ele = t19.call$0(); + } + B.JSArray_methods.add$1(helix_components, t5._as(base_pair_ele)); + } + t8 = A.SvgProps$($.$get$g(), _null); + t9 = t8.props; + t11 = t9.jsObject; + t11.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t10.pitch) + ")"); + t11.className = A.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); + t9.$indexSet(0, "key", "base-pair-lines-components-in-helix-H" + t12); + B.JSArray_methods.add$1(base_pair_lines_components, t8.call$1(helix_components)); + } + } + return base_pair_lines_components; } }; - M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps.prototype = {}; - M.DesignMainStrandPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.$DesignMainBasePairRectangleComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainBasePairRectangleComponent(null); }, - set$groups: function(groups) { - this.DesignMainStrandPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + $signature: 440 + }; + A._$$DesignMainBasePairRectangleProps.prototype = { + get$$$isClassGenerated() { + return true; }, - set$geometry: function(_, geometry) { - this.DesignMainStrandPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainBasePairRectangleComponentFactory() : t1; + } + }; + A._$$DesignMainBasePairRectangleProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_base_pair_rectangle$_props; + } + }; + A._$$DesignMainBasePairRectangleProps$JsMap.prototype = { + get$props(_) { + return this._design_main_base_pair_rectangle$_props; + } + }; + A._$DesignMainBasePairRectangleComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandPropsMixin_helices; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A = A._$$DesignMainBasePairRectangleProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - return this.DesignMainStrandPropsMixin_groups; + get$displayName(_) { + return "DesignMainBasePairRectangle"; }, - get$geometry: function(receiver) { - return this.DesignMainStrandPropsMixin_geometry; + get$$$defaultConsumedProps() { + return B.Map_ZR52A.get$values(B.Map_ZR52A); } }; - M.DesignMainStrandComponent.prototype = { - render$0: function(_) { - var t1, classname, t2, helix_idx_to_svg_position_y_map_on_strand_unbuilt, helix_idx_to_svg_position_map, t3, t4, helix_idx, t5, helix_idx_to_svg_position_y_map_on_strand, t6, t7, t8, t9, t10, t11, _this = this, _null = null, - _s51_ = string$.DesignMStPrsi; - if (J.get$length$asx(_this._design_main_strand$_cachedTypedProps.get$strand().substrands._list) === 0) - return _null; - t1 = _this._design_main_strand$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainStrandPropsMixin.selected"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - classname = H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection()) ? "strand selected" : "strand selected-pink"; - else - classname = "strand"; - if (_this._design_main_strand$_cachedTypedProps.get$strand().is_scaffold) - classname += " scaffold"; - t1 = type$.legacy_int; - t2 = type$.legacy_Point_legacy_num; - helix_idx_to_svg_position_y_map_on_strand_unbuilt = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); - helix_idx_to_svg_position_map = _this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map(); - for (t3 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t4 = type$.legacy_BuiltSet_legacy_int; t3.moveNext$0();) { - helix_idx = t3.get$current(t3).helix; - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s51_); - if (t4._as(t5 == null ? _null : t5) != null) { - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s51_); - t5 = t4._as(t5 == null ? _null : t5)._set.contains$1(0, helix_idx); - } else - t5 = true; - if (t5) - helix_idx_to_svg_position_y_map_on_strand_unbuilt.$indexSet(0, helix_idx, J.$index$asx(helix_idx_to_svg_position_map._map$_map, helix_idx)); - } - helix_idx_to_svg_position_y_map_on_strand = A.BuiltMap_BuiltMap$of(helix_idx_to_svg_position_y_map_on_strand_unbuilt, t1, t2); - t2 = A.SvgProps$($.$get$g(), _null); - t3 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t2.set$id(0, t3.get$id(t3)); - t2.set$onPointerDown(_this.get$handle_click_down()); - t2.set$onPointerUp(_this.get$handle_click_up()); - t2.set$className(0, classname); - t3 = B.design_main_strand_paths___$DesignMainStrandPaths$closure().call$0(); - t5 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t3.toString; - t6 = J.getInterceptor$x(t3); - J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsPropsMixin.strand", t5); - t6.set$key(t3, "strand-paths"); - t5 = _this._design_main_strand$_cachedTypedProps.get$show_domain_names(); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPashd, t5); - t3.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); - t3.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrseen); - if (t5 == null) - t5 = _null; - t7 = type$.legacy_BuiltSet_legacy_DNAEnd; - t5 = t7._as(t7._as(t5)); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseen, t5); - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsec); - if (t5 == null) - t5 = _null; - t7 = type$.legacy_BuiltSet_legacy_Crossover; - t5 = t7._as(t7._as(t5)); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasec, t5); - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsel); - if (t5 == null) - t5 = _null; - t7 = type$.legacy_BuiltSet_legacy_Loopout; - t5 = t7._as(t7._as(t5)); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasel, t5); - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrseex); - if (t5 == null) - t5 = _null; - t7 = type$.legacy_BuiltSet_legacy_Extension; - t5 = t7._as(t7._as(t5)); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseex, t5); - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsedo); - if (t5 == null) - t5 = _null; - t7 = type$.legacy_BuiltSet_legacy_Domain; - t5 = t7._as(t7._as(t5)); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPased, t5); - t5 = type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(_this.get$context_menu_strand()); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPac, t5); - t7 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasi, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t8 = t7.name; - t8 = "Strand:\n" + (t8 == null ? "" : " name=" + t8 + "\n") + (" length=" + t7.get$dna_length() + "\n"); - t8 += !t7.circular ? "" : " circular\n"; - t9 = t7.get$first_domain(); - t10 = t7.get$dnaend_5p(); - t9 = "(helix=" + t9.helix + ", offset="; - t11 = t10.offset; - if (t10.is_start) - t10 = t11; - else { - if (typeof t11 !== "number") - return t11.$sub(); - t10 = t11 - 1; - } - t10 = t8 + (" 5' end=" + (t9 + H.S(t10) + ")") + "\n"); - t9 = t7.get$last_domain(); - t8 = t7.get$dnaend_3p(); - t9 = "(helix=" + t9.helix + ", offset="; - t11 = t8.offset; - if (t8.is_start) - t8 = t11; - else { - if (typeof t11 !== "number") - return t11.$sub(); - t8 = t11 - 1; - } - t8 = t10 + (" 3' end=" + (t9 + H.S(t8) + ")") + "\n"); - t9 = t7.label; - t8 += t9 == null ? "" : " label=" + t9 + "\n"; - t7 = t7.vendor_fields; - if (t7 == null) - t7 = ""; - else { - t9 = " scale: " + t7.scale + "\n" + (" purification: " + t7.purification + "\n"); - t10 = t7.plate; - t7 = " vendor fields=\n" + (t9 + (t10 == null ? "" : " plate: " + t10 + "\n well: " + H.S(t7.well))); - } - t7 = t8 + t7; - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPast, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdr); - t7 = H._asBoolS(t7 == null ? _null : t7); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPad, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrmv); - t7 = H._asBoolS(t7 == null ? _null : t7); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPam, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t6.set$geometry(t3, t7.get$geometry(t7)); - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(helix_idx_to_svg_position_y_map_on_strand); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPah, helix_idx_to_svg_position_y_map_on_strand); - t7 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaon, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection(); - J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPar, t7); - t3 = H.setRuntimeTypeInfo([t3.call$0(), _this._design_main_strand$_insertions$0(), _this._design_main_strand$_deletions$0()], type$.JSArray_legacy_ReactElement); - if (H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_domain_names()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_strand_names()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_strand_labels()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_domain_labels())) { - t6 = S.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure().call$0(); - t7 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t6.toString; - t8 = J.getInterceptor$x(t6); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst, t7); - t6.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); - t6.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); - t7 = _this._design_main_strand$_cachedTypedProps; - t8.set$geometry(t6, t7.get$geometry(t7)); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "DesignMainStrandPropsMixin.show_dna"); - t7 = H._asBoolS(t7 == null ? _null : t7); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdn, t7); - t7 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAsi, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAo, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$show_strand_names(); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshsn, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$show_strand_labels(); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshsl, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$show_domain_names(); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdon, t7); - t7 = _this._design_main_strand$_cachedTypedProps.get$show_domain_labels(); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdol, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrstn); - t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst_n, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrstl); - t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst_l, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdon); - t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAdn, t7); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdol); - t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAdl, t7); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAc, t5); - J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAhx, helix_idx_to_svg_position_y_map_on_strand); - t8.set$key(t6, "names-and-labels"); - t3.push(t6.call$0()); - } - t5 = _this._design_main_strand$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrshm); - if (H.boolConversionCheck(H._asBoolS(t5 == null ? _null : t5))) { - t5 = R.design_main_strand_modifications___$DesignMainStrandModifications$closure().call$0(); - t6 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t5.toString; - t7 = J.getInterceptor$x(t5); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsst, t6); - t5.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); - t5.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); - t6 = _this._design_main_strand$_cachedTypedProps; - t7.set$geometry(t5, t6.get$geometry(t6)); - t4 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdssi, t4); - t4 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdso, t4); - t4 = _this._design_main_strand$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStPrsem); - if (t4 == null) - t4 = _null; - t6 = type$.legacy_BuiltSet_legacy_SelectableModification; - t4 = t6._as(t6._as(t4)); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsse, t4); - t4 = _this._design_main_strand$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmdf); - t4 = H._asIntS(H._asNumS(t4 == null ? _null : t4)); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsf, t4); - t4 = _this._design_main_strand$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmdd); - t4 = H._asBoolS(t4 == null ? _null : t4); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsd, t4); - t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new M.DesignMainStrandComponent_render_closure(), t1, type$.legacy_num)); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdshx, t1); - t1 = _this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection(); - J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsr, t1); - t7.set$key(t5, "modifications"); - t3.push(t5.call$0()); - } - return t2.call$1(t3); + A.$DesignMainBasePairRectangleProps.prototype = { + get$design() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairRectangleProps.design"); + if (t1 == null) + t1 = null; + return type$.Design._as(t1); + } + }; + A._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps.prototype = {}; + A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps.prototype = {}; + A.DesignMainDNAMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDNAMismatchesComponent.prototype = { + render$0(_) { + var mismatch_components = this._design_main_dna_mismatches$_create_mismatch_components$0(), + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "mismatches-main-view"); + return t1.call$1(mismatch_components); }, - handle_click_down$1: function(event_syn) { - var t1, t2, t3, address, helices_view_order_inverse, t4, _this = this, - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); - if ($event.button === 0) { - t1 = _this._design_main_strand$_cachedTypedProps.get$strand(); - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t2 = true; - if (t2) { - t2 = $.app.store; - t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_strand) && E.origami_type_selectable(t1); - } else - t1 = false; - if (t1) { - _this._design_main_strand$_cachedTypedProps.get$strand().handle_selection_mouse_down$1($event); - t1 = _this._design_main_strand$_cachedTypedProps.get$helices(); - t1 = t1.get$values(t1); - t2 = _this._design_main_strand$_cachedTypedProps.get$groups(); - t3 = _this._design_main_strand$_cachedTypedProps; - address = E.find_closest_address($event, t1, t2, t3.get$geometry(t3), _this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map()); - t3 = type$.legacy_int; - helices_view_order_inverse = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); - for (t1 = $.app.store, t1 = t1.get$state(t1).design.groups, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { - t2 = t1.get$current(t1); - t4 = t2.__helices_view_order_inverse; - if (t4 == null) { - t4 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t2); - t2.set$__helices_view_order_inverse(t4); - t2 = t4; + _design_main_dna_mismatches$_create_mismatch_components$0() { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, ret, domain_components, t13, t14, t15, base_svg_pos, key, translate_svg, _this = this, _null = null, + _s35_ = "DesignMainDNAMismatchesProps.design", + t1 = type$.JSArray_ReactElement, + mismatch_components = A._setArrayType([], t1), + keys = A.LinkedHashSet_LinkedHashSet$_empty(type$.String), + t2 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$design().strands._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + t3 = type$.Design; + t4 = type$.BuiltSet_int; + t5 = type$.BuiltMap_int_num; + t6 = type$.Point_double; + t7 = type$.Mismatch; + for (; t2.moveNext$0();) { + t8 = t2.__interceptors$_current; + t9 = t8.__domains; + if (t9 == null) { + t9 = A.Strand.prototype.get$domains.call(t8); + t8.set$__domains(t9); + } + t9 = t9._list; + t9 = new J.ArrayIterator(t9, t9.length, A._arrayInstanceType(t9)._eval$1("ArrayIterator<1>")); + for (; t9.moveNext$0();) { + t10 = t9.__interceptors$_current; + t11 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s35_); + t11 = t3._as(t11 == null ? _null : t11); + t12 = t11.__domain_mismatches_map; + if (t12 == null) { + t12 = A.Design.prototype.get$domain_mismatches_map.call(t11); + t11.set$__domain_mismatches_map(t12); + t11 = t12; + } else + t11 = t12; + ret = t11._map$_map.$index(0, t10); + if (ret == null) + ret = A.BuiltList_BuiltList$from(B.List_empty, t7); + domain_components = A._setArrayType([], t1); + for (t11 = ret._list, t11 = new J.ArrayIterator(t11, t11.length, A._arrayInstanceType(t11)._eval$1("ArrayIterator<1>")); t11.moveNext$0();) { + t12 = t11.__interceptors$_current; + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t3._as(t13 == null ? _null : t13).helices; + t14 = t10.helix; + t14 = t13._map$_map.$index(0, t14); + t14.toString; + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, string$.DesignMDNMo); + if (A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13))) { + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, string$.DesignMDNMs); + t13 = t4._as(t13 == null ? _null : t13)._set.contains$1(0, t14.idx); } else - t2 = t4; - t4 = t2.$ti; - helices_view_order_inverse.addAll$1(0, new S.CopyOnWriteMap(t2._mapFactory, t2._map$_map, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + t13 = true; + if (t13) { + t12 = t12.offset; + t13 = t10.forward; + t15 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, string$.DesignMDNMh); + t15 = t5._as(t15 == null ? _null : t15)._map$_map.$index(0, t14.idx); + t15.toString; + base_svg_pos = t14.svg_base_pos$3(t12, t13, t15); + key = base_svg_pos.toString$0(0) + ";" + t13; + if (!keys.contains$1(0, key)) { + keys.add$1(0, key); + t12 = A.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + t12.toString; + t6._as(base_svg_pos); + t14 = J.getInterceptor$x(t12); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); + t15 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, _s35_); + t15 = t3._as(t15 == null ? _null : t15).geometry; + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.geometry", t15); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.forward", t13); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.color", "red"); + t14 = t14.get$props(t12); + J.$indexSet$ax(t14, "key", key); + B.JSArray_methods.add$1(domain_components, t12.call$0()); + } + } + } + t11 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s35_); + t11 = t3._as(t11 == null ? _null : t11).helices; + t12 = t10.helix; + t11 = t11._map$_map.$index(0, t12); + t11.toString; + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t11 = t3._as(t13 == null ? _null : t13).groups._map$_map.$index(0, t11.group); + t11.toString; + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t3._as(t13 == null ? _null : t13).geometry; + t14 = t11.position; + t15 = t13.__nm_to_svg_pixels; + t13 = t15 == null ? t13.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t13) : t15; + translate_svg = A.Position3D_Position3D(t14.x * t13, t14.y * t13, t14.z * t13); + if (domain_components.length !== 0) { + t13 = A.SvgProps$($.$get$g(), _null); + t14 = t13.props; + t15 = t14.jsObject; + t15.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); + t11 = t8.__id; + if (t11 == null) + t11 = t8.__id = A.Strand.prototype.get$id.call(t8, t8); + t15.className = A.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain mismatch-" + t11); + t11 = t10.start; + t15 = t10.end; + t10 = t10.forward ? "forward" : "reverse"; + t14.$indexSet(0, "key", "domain-H" + t12 + "-S" + t11 + "-E" + t15 + "-" + t10); + B.JSArray_methods.add$1(mismatch_components, t13.call$1(domain_components)); } - $.app.dispatch$1(U._$StrandsMoveStartSelectedStrands$_(address, false, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t3, t3))); } } + return mismatch_components; + } + }; + A.$DesignMainDNAMismatchesComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDNAMismatchesComponent(null); }, - handle_click_up$1: function(event_syn) { - var t1, t2, currently_moving, t3; - type$.legacy_SyntheticPointerEvent._as(event_syn); - t1 = J.getInterceptor$x(event_syn); - if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { - t2 = $.app.store; - if (t2.get$state(t2).ui_state.strands_move == null) { - t2 = $.app.store; - if (t2.get$state(t2).ui_state.domains_move == null) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; - currently_moving = t2; + $signature: 441 + }; + A._$$DesignMainDNAMismatchesProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNAMismatchesComponentFactory() : t1; + } + }; + A._$$DesignMainDNAMismatchesProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_dna_mismatches$_props; + } + }; + A._$$DesignMainDNAMismatchesProps$JsMap.prototype = { + get$props(_) { + return this._design_main_dna_mismatches$_props; + } + }; + A._$DesignMainDNAMismatchesComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; + }, + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A = A._$$DesignMainDNAMismatchesProps$JsMap$(A.getBackingMap(value)); + }, + get$displayName(_) { + return "DesignMainDNAMismatches"; + }, + get$$$defaultConsumedProps() { + return B.Map_utWfX.get$values(B.Map_utWfX); + } + }; + A.$DesignMainDNAMismatchesProps.prototype = { + get$design() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAMismatchesProps.design"); + if (t1 == null) + t1 = null; + return type$.Design._as(t1); + } + }; + A._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps.prototype = {}; + A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps.prototype = {}; + A.DesignMainDNASequenceProps.prototype = { + get$helices() { + var t1 = this.DesignMainDNASequenceProps___DesignMainDNASequenceProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; + }, + get$groups() { + var t1 = this.DesignMainDNASequenceProps___DesignMainDNASequenceProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; + }, + get$geometry(_) { + var t1 = this.DesignMainDNASequenceProps___DesignMainDNASequenceProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; + }, + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainDNASequenceComponent.prototype = { + render$0(_) { + var t2, dna_sequence_elts, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, i, t13, substrand, domain_elts, seq_to_draw, offset, t14, t15, t16, pos, rotate_x, rotate_y, x_adjust, t17, text_length, t18, dy, x, y, rotate_degrees, id, reverse_right_side_up, $length, reverse_right_side_up0, subseq, t19, font_size, letter_spacing, style_map, text_path_props, t20, t21, t22, translate_svg, prev_dom, next_dom, is_hairpin, ls_fs, _this = this, _null = null, + _s33_ = "DesignMainDNASequenceProps.strand", + _s56_ = string$.DesignMDNSPo, + _s60_ = string$.DesignMDNSPd, + _s35_ = "DesignMainDNASequenceProps.geometry", + _s7_ = "forward", + _s7_0 = "reverse", + _s3_ = "key", + t1 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMDNSPs); + if (t1 == null) + t1 = _null; + type$.BuiltSet_int._as(t1); + t2 = type$.JSArray_ReactElement; + dna_sequence_elts = A._setArrayType([], t2); + t3 = type$.Strand; + t4 = type$.nullable_Map_String_dynamic; + t5 = type$.String; + t6 = type$.dynamic; + t7 = type$.Tuple2_double_int; + t8 = type$.Geometry; + t9 = type$.Domain; + t10 = type$.Tuple2_of_nullable_double_and_int; + t11 = type$.BuiltMap_of_int_and_Point_double; + t12 = type$.BuiltMap_int_Helix; + i = 0; + while (true) { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s33_); + if (!(i < t3._as(t13 == null ? _null : t13).substrands._list.length)) + break; + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s33_); + t13 = t3._as(t13 == null ? _null : t13).substrands._list; + if (!(i < t13.length)) + return A.ioore(t13, i); + substrand = t13[i]; + if (substrand instanceof A.Domain) { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s56_); + if (A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13))) { + t13 = substrand.helix; + t13 = t1._set.contains$1(0, t13); } else - currently_moving = true; - } else - currently_moving = true; - t2 = this._design_main_strand$_cachedTypedProps.get$strand(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_strand) && E.origami_type_selectable(t2); + t13 = true; + if (t13) { + domain_elts = A._setArrayType([], t2); + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s60_); + seq_to_draw = substrand.dna_sequence_deletions_insertions_to_spaces$1$reverse(A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13)) && !substrand.forward); + offset = substrand.__offset_5p; + if (offset == null) + offset = substrand.__offset_5p = A.Domain.prototype.get$offset_5p.call(substrand); + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, "DesignMainDNASequenceProps.helices"); + t13 = t12._as(t13 == null ? _null : t13); + t14 = substrand.helix; + t13 = t13._map$_map.$index(0, t14); + t13.toString; + t15 = substrand.forward; + t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMDNSPh); + pos = t13.svg_base_pos$3(offset, t15, t11._as(t16 == null ? _null : t16)._map$_map.$index(0, t14).y); + rotate_x = pos.x; + rotate_y = pos.y; + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t16 = t13.__base_width_svg; + x_adjust = -(t16 == null ? t13.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t13) : t16) * 0.32; + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t16 = t13.__base_width_svg; + t13 = t16 == null ? t13.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t13) : t16; + t16 = substrand.end; + t17 = substrand.start; + text_length = t13 * (t16 - t17 - 0.342); + if (t15) { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t18 = t13.__base_height_svg; + dy = -(t18 == null ? t13.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t13) : t18) * 0.25; + if (typeof rotate_x !== "number") + return rotate_x.$add(); + x = rotate_x + x_adjust; + y = rotate_y; + rotate_degrees = 0; + } else { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s60_); + t13 = A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13)); + t18 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + if (t13) { + t13 = t18.get$props(t18).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t18 = t13.__base_height_svg; + dy = (t18 == null ? t13.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t13) : t18) * 0.75; + if (typeof rotate_x !== "number") + return rotate_x.$sub(); + x = rotate_x - x_adjust - text_length; + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t18 = t13.__base_height_svg; + t13 = t18 == null ? t13.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t13) : t18; + if (typeof rotate_y !== "number") + return rotate_y.$add(); + y = rotate_y + t13; + rotate_degrees = 0; + } else { + t13 = t18.get$props(t18).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t18 = t13.__base_height_svg; + dy = -(t18 == null ? t13.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t13) : t18) * 0.25; + if (typeof rotate_x !== "number") + return rotate_x.$add(); + x = rotate_x + x_adjust; + y = rotate_y; + rotate_degrees = 180; + } + } + t13 = "" + t14; + t16 = "domain-H" + t13 + "-S" + t17 + "-E" + t16 + "-"; + id = "dna-" + (t16 + (t15 ? _s7_ : _s7_0)); + t17 = A.SvgProps$($.$get$text(), _null); + t18 = t17.props; + t18.$indexSet(0, _s3_, id); + t18 = t18.jsObject; + t18.id = A.DartValueWrapper_wrapIfNeeded(id); + t18.className = A.DartValueWrapper_wrapIfNeeded("dna-seq"); + t18.x = A.DartValueWrapper_wrapIfNeeded(A.S(x)); + t18.y = A.DartValueWrapper_wrapIfNeeded(A.S(y)); + t18.textLength = A.DartValueWrapper_wrapIfNeeded(A.S(text_length)); + t18.transform = A.DartValueWrapper_wrapIfNeeded("rotate(" + rotate_degrees + " " + A.S(rotate_x) + " " + A.S(rotate_y) + ")"); + t18.dy = A.DartValueWrapper_wrapIfNeeded(A.S(dy)); + B.JSArray_methods.add$1(domain_elts, t17.call$1(seq_to_draw)); + for (t17 = substrand.insertions._list, t17 = new J.ArrayIterator(t17, t17.length, A._arrayInstanceType(t17)._eval$1("ArrayIterator<1>")), t13 = "insertion-H" + t13 + "-O", reverse_right_side_up = !t15; t17.moveNext$0();) { + t18 = t17.__interceptors$_current; + offset = t18.offset; + $length = t18.length; + t18 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, _s60_); + reverse_right_side_up0 = A.boolConversionCheck(A._asBoolS(t18 == null ? _null : t18)) && reverse_right_side_up; + subseq = substrand.dna_sequence_in$3$reverse(offset, offset, reverse_right_side_up0); + t18 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, _s35_); + t18 = t8._as(t18 == null ? _null : t18); + t19 = t18.__base_width_svg; + t18 = t19 == null ? t18.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t18) : t19; + font_size = Math.max(6, 12 - ($length - 1)); + t19 = $._browser; + if (t19 == null) { + $.Browser_navigator = new A._HtmlNavigator(); + t19 = $._browser = A.Browser_getCurrentBrowser(); + } + t19.toString; + if (t19 === $.$get$chrome() || t19 === $.$get$edgeChrome()) + if ($length === 1) + letter_spacing = 0; + else if ($length === 2) + letter_spacing = -0.1; + else if ($length === 3) + letter_spacing = -0.1; + else if ($length === 4) + letter_spacing = -0.1; + else if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + else + letter_spacing = _null; + if (t19 === $.$get$firefox()) { + if ($length > 3 && font_size > 6) + --font_size; + letter_spacing = _null; + } + t19 = "" + font_size + "px"; + style_map = letter_spacing != null ? A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", A.S(letter_spacing) + "em", "fontSize", t19], t5, t6) : A.LinkedHashMap_LinkedHashMap$_literal(["fontSize", t19], t5, t6); + if (reverse_right_side_up0) + style_map.$indexSet(0, "dominantBaseline", "hanging"); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + t19 = text_path_props.props.jsObject; + t19.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-insertion"); + t20 = t13 + offset + "-"; + t21 = t15 ? _s7_ : _s7_0; + t19.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + (t20 + t21)); + t19.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t4._as(style_map); + t19.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t19 = A.SvgProps$($.$get$text(), _null); + t21 = t15 ? _s7_ : _s7_0; + t22 = t19.props; + t22.$indexSet(0, _s3_, "textelt-" + (t20 + t21)); + t22.jsObject.dy = A.DartValueWrapper_wrapIfNeeded(A.S(0.1 * t18)); + B.JSArray_methods.add$1(domain_elts, t19.call$1(text_path_props.call$1(subseq))); + } + t13 = A.SvgProps$($.$get$g(), _null); + t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t14 = t17.get$helices()._map$_map.$index(0, t14); + t14.toString; + t14 = t17.get$groups()._map$_map.$index(0, t14.group); + t14.toString; + t17 = t17.get$geometry(t17); + t18 = t14.position; + t19 = t17.__nm_to_svg_pixels; + t17 = t19 == null ? t17.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t17) : t19; + translate_svg = A.Position3D_Position3D(t18.x * t17, t18.y * t17, t18.z * t17); + t17 = t13.props; + t18 = t17.jsObject; + t18.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t14.pitch) + ")"); + t18.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-on-domain-group"); + t14 = t15 ? _s7_ : _s7_0; + t17.$indexSet(0, _s3_, t16 + t14); + B.JSArray_methods.add$1(dna_sequence_elts, t13.call$1(domain_elts)); + } + } else if (substrand instanceof A.Loopout) { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s33_); + t14 = i - 1; + t13 = t3._as(t13 == null ? _null : t13).substrands._list; + if (!(t14 >= 0 && t14 < t13.length)) + return A.ioore(t13, t14); + prev_dom = t9._as(t13[t14]); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s33_); + t13 = i + 1; + t14 = t3._as(t14 == null ? _null : t14).substrands._list; + if (!(t13 < t14.length)) + return A.ioore(t14, t13); + next_dom = t9._as(t14[t13]); + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s56_); + if (A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13))) { + t13 = prev_dom.helix; + t13 = t1._set.contains$1(0, t13); + } else + t13 = true; + if (t13) { + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s56_); + if (A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13))) { + t13 = next_dom.helix; + t13 = t1._set.contains$1(0, t13); + } else + t13 = true; + } else + t13 = false; + if (t13) { + subseq = substrand.dna_sequence; + $length = subseq.length; + t13 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t8._as(t13 == null ? _null : t13); + t14 = t13.__base_height_svg; + t13 = t14 == null ? t13.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t13) : t14; + t14 = prev_dom.helix; + t15 = next_dom.helix; + if (t14 === t15) + if (prev_dom.forward !== next_dom.forward) { + t16 = prev_dom.__offset_3p; + if (t16 == null) + t16 = prev_dom.__offset_3p = A.Domain.prototype.get$offset_3p.call(prev_dom); + t17 = next_dom.__offset_5p; + t16 = Math.abs(t16 - (t17 == null ? next_dom.__offset_5p = A.Domain.prototype.get$offset_5p.call(next_dom) : t17)) < 3; + is_hairpin = t16; + } else + is_hairpin = false; + else + is_hairpin = false; + if (is_hairpin) { + font_size = Math.max(6, 12 - Math.max(0, $length - 6)); + t16 = $._browser; + if (t16 == null) { + $.Browser_navigator = new A._HtmlNavigator(); + t16 = $._browser = A.Browser_getCurrentBrowser(); + } + t16.toString; + if (t16 === $.$get$chrome() || t16 === $.$get$edgeChrome()) + if ($length === 1) + letter_spacing = 0; + else if ($length === 2) + letter_spacing = -0.1; + else if ($length === 3) + letter_spacing = -0.1; + else if ($length === 4) + letter_spacing = -0.1; + else if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + else + letter_spacing = _null; + if (t16 === $.$get$firefox()) { + font_size = Math.max(6, 12 - ($length - 1)); + if ($length > 3 && font_size > 6) + --font_size; + letter_spacing = _null; + } + ls_fs = new A.Tuple2(letter_spacing, font_size, t10); + } else + ls_fs = new A.Tuple2(0, 12, t7); + letter_spacing = ls_fs.item1; + t16 = A.S(ls_fs.item2) + "px"; + style_map = letter_spacing != null ? A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", A.S(letter_spacing) + "em", "fontSize", t16], t5, t6) : A.LinkedHashMap_LinkedHashMap$_literal(["fontSize", t16], t5, t6); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + t16 = text_path_props.props.jsObject; + t16.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-loopout"); + t17 = substrand._loopout$__id; + if (t17 == null) + t17 = substrand._loopout$__id = A.Loopout.prototype.get$id.call(substrand, substrand); + t16.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t17); + t16.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t4._as(style_map); + t16.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t16 = A.SvgProps$($.$get$text(), _null); + t17 = prev_dom.__offset_3p; + if (t17 == null) + t17 = prev_dom.__offset_3p = A.Domain.prototype.get$offset_3p.call(prev_dom); + t18 = next_dom.__offset_5p; + if (t18 == null) + t18 = next_dom.__offset_5p = A.Domain.prototype.get$offset_5p.call(next_dom); + t19 = t16.props; + t19.$indexSet(0, _s3_, "loopout-dnaH" + t14 + "," + t17 + "-H" + t15 + "," + t18); + t19.jsObject.dy = A.DartValueWrapper_wrapIfNeeded(A.S(0.1 * t13)); + B.JSArray_methods.add$1(dna_sequence_elts, t16.call$1(text_path_props.call$1(subseq))); + } + } else if (substrand instanceof A.Extension) { + t13 = substrand.adjacent_domain; + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s56_); + if (A.boolConversionCheck(A._asBoolS(t14 == null ? _null : t14))) { + t14 = t13.helix; + t14 = t1._set.contains$1(0, t14); + } else + t14 = true; + if (t14) { + subseq = substrand.dna_sequence; + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s35_); + t14 = t8._as(t14 == null ? _null : t14); + t15 = t14.__base_height_svg; + t14 = t15 == null ? t14.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t14) : t15; + style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", "12px"], t5, t6); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + t15 = text_path_props.props.jsObject; + t15.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-extension"); + t16 = substrand._extension$__id; + if (t16 == null) + t16 = substrand._extension$__id = A.Extension.prototype.get$id.call(substrand, substrand); + t15.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t16); + t15.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t4._as(style_map); + t15.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t15 = A.SvgProps$($.$get$text(), _null); + t16 = substrand.is_5p ? "5'" : "3'"; + t17 = t13.helix; + t18 = t13.start; + t13 = t13.end; + t19 = t15.props; + t19.$indexSet(0, _s3_, "extension-dna-" + t16 + "H" + t17 + "," + t18 + "-" + t13); + t19.jsObject.dy = A.DartValueWrapper_wrapIfNeeded(A.S(0.1 * t14)); + B.JSArray_methods.add$1(dna_sequence_elts, t15.call$1(text_path_props.call$1(subseq))); + } } else - t2 = false; - if (t2 && !currently_moving) - this._design_main_strand$_cachedTypedProps.get$strand().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + throw A.wrapException(A.AssertionError$("unrecognized substrand type: " + A.S(substrand))); + ++i; } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "strand-dna-sequence"); + t2 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$strand(); + t1.set$id(0, "dna-sequence-" + t2.get$id(t2)); + return t1.call$1(dna_sequence_elts); + } + }; + A.$DesignMainDNASequenceComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDNASequenceComponent(null); }, - assign_dna$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_assign_dna_closure(this), type$.void); + $signature: 442 + }; + A._$$DesignMainDNASequenceProps.prototype = { + get$$$isClassGenerated() { + return true; }, - assign_dna_complement_from_bound_strands$0: function() { - var action, - t1 = $.app.store, - strands_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (!C.JSArray_methods.contains$1(strands_selected, this._design_main_strand$_cachedTypedProps.get$strand())) - C.JSArray_methods.add$1(strands_selected, this._design_main_strand$_cachedTypedProps.get$strand()); - action = U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands(strands_selected); - $.app.dispatch$1(action); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNASequenceComponentFactory() : t1; }, - add_modification$3: function(substrand, address, type) { - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_add_modification_closure(this, substrand, address, type), type$.void); + $isTransformByHelixGroupPropsMixin: 1 + }; + A._$$DesignMainDNASequenceProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_dna_sequence$_props; + } + }; + A._$$DesignMainDNASequenceProps$JsMap.prototype = { + get$props(_) { + return this._design_main_dna_sequence$_props; + } + }; + A._$DesignMainDNASequenceComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - assign_scale_purification_fields$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_scale_purification_fields(), type$.void); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDNASequenceComponent__cachedTypedProps_A = A._$$DesignMainDNASequenceProps$JsMap$(A.getBackingMap(value)); }, - assign_plate_well_fields$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_plate_well_fields(), type$.void); + get$displayName(_) { + return "DesignMainDNASequence"; }, - set_strand_name$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_strand_name_closure(this), type$.void); + get$$$defaultConsumedProps() { + return B.Map_CdXnL.get$values(B.Map_CdXnL); + } + }; + A.$DesignMainDNASequenceProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequenceProps.strand"); + if (t1 == null) + t1 = null; + return type$.Strand._as(t1); }, - set_strand_label$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_strand_label_closure(this), type$.void); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequenceProps.helices"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); }, - set_domain_names$1: function(domains) { - type$.legacy_BuiltSet_legacy_Domain._as(domains); - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_domain_names_closure(this, domains), type$.void); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequenceProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); }, - set_domain_labels$2: function(substrand, domains) { - type$.legacy_BuiltSet_legacy_Domain._as(domains); - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_domain_labels_closure(this, substrand), type$.void); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequenceProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); + } + }; + A._DesignMainDNASequenceComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps.prototype = {}; + A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps.prototype = {}; + A.DesignMainDNASequencesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDNASequencesComponent.prototype = { + componentDidUpdate$3(prevProps, prevState, snapshot) { + var action_to_complete, + t1 = this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action_to_complete = t1.get$export_svg_action_delayed_for_png_cache(); + if (action_to_complete != null) { + $.__app._readField$0().dispatch$1(action_to_complete); + $.__app._readField$0().dispatch$1(A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(null)); + } }, - _design_main_strand$_insertions$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, helix, t10, t11, t12, t13, t14, _this = this, _null = null, - _s10_ = "insertions", - paths = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Strand, t6 = type$.legacy_BuiltSet_legacy_SelectableInsertion; t1.moveNext$0();) { - t7 = t1.get$current(t1); - t8 = _this._design_main_strand$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, "TransformByHelixGroupPropsMixin.helices"); - t8 = t3._as(t8 == null ? _null : t8); - t9 = t7.helix; - helix = J.$index$asx(t8._map$_map, t9); - t8 = _this._design_main_strand$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, string$.DesignMStPrsi); - t8 = t2._as(t8 == null ? _null : t8); - t10 = _this._design_main_strand$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMStPro); - if (!H.boolConversionCheck(H._asBoolS(t10 == null ? _null : t10)) || t8._set.contains$1(0, t9)) { - t8 = t7._domain$__selectable_insertions; - if (t8 == null) { - t8 = G.Domain.prototype.get$selectable_insertions.call(t7); - t7.set$_domain$__selectable_insertions(t8); - } - t8 = J.get$iterator$ax(t8._list); - t7 = t7.forward; - for (; t8.moveNext$0();) { - t10 = t8.get$current(t8); - t11 = A.design_main_strand_insertion___$DesignMainStrandInsertion$closure().call$0(); - t11.toString; - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsea, t10); - t13 = _this._design_main_strand$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMStPrsei); - t13 = t6._as(t13 == null ? _null : t13)._set.contains$1(0, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsee, t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIh, helix); - t13 = _this._design_main_strand$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, "DesignMainStrandPropsMixin.strand"); - t13 = t5._as(t13 == null ? _null : t13).color; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIc, t13); - t13 = _this.transform_of_helix$1(t9); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIt, t13); - t13 = _this._design_main_strand$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMStPrh); - t13 = t4._as(t13 == null ? _null : t13); - t14 = helix.idx; - t14 = J.$index$asx(t13._map$_map, t14).y; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsv, t14); - t14 = _this._design_main_strand$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.DesignMStPrdi); - t13 = H._asBoolS(t14 == null ? _null : t14); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStId, t13); - t13 = _this._design_main_strand$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMStPrr); - t13 = H._asBoolS(t13 == null ? _null : t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIr, t13); - t10 = t10.insertion.offset; - t10 = "insertion-H" + t9 + "-O" + t10 + "-"; - t10 += t7 ? "forward" : "reverse"; - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", t10); - C.JSArray_methods.add$1(paths, t11.call$0()); - } - } - } - if (paths.length === 0) - t1 = _null; - else { + render$0(_) { + var t2, t3, t4, t5, t6, t7, t8, idx, t9, t10, t11, t12, idx0, _this = this, _null = null, + _s23_ = "dna-sequences-main-view", + t1 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$dna_sequence_png_uri(); + t2 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsi); + t2 = A._asBoolS(t2 == null ? _null : t2); + t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$export_svg_action_delayed_for_png_cache(); + t4 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, string$.DesignMDNSsdia); + t4 = A._asBoolS(t4 == null ? _null : t4); + if (t1 != null && !A.boolConversionCheck(t2) && t3 == null && !A.boolConversionCheck(t4)) { t1 = A.SvgProps$($.$get$g(), _null); - t1.set$key(0, _s10_); - t1.set$className(0, _s10_); - t1 = t1.call$1(paths); - } - return t1; - }, - _design_main_strand$_deletions$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, helix, t9, t10, id, t11, t12, _this = this, _null = null, - _s9_ = "deletions", - paths = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_BuiltSet_legacy_SelectableDeletion; t1.moveNext$0();) { - t6 = t1.get$current(t1); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "TransformByHelixGroupPropsMixin.helices"); - t7 = t3._as(t7 == null ? _null : t7); - t8 = t6.helix; - helix = J.$index$asx(t7._map$_map, t8); - t7 = _this._design_main_strand$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, string$.DesignMStPrsi); - t7 = t2._as(t7 == null ? _null : t7); - t9 = _this._design_main_strand$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMStPro); - if (!H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9)) || t7._set.contains$1(0, t8)) { - t7 = t6._domain$__selectable_deletions; - if (t7 == null) { - t7 = G.Domain.prototype.get$selectable_deletions.call(t6); - t6.set$_domain$__selectable_deletions(t7); + t1.set$className(0, _s23_); + t1.props.jsObject.pointerEvents = A.DartValueWrapper_wrapIfNeeded("none"); + t2 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsdnh); + t2 = A._asNumS(t2 == null ? _null : t2); + t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.DesignMDNSsdnv); + t1.set$transform(0, "translate(" + A.S(t2) + ", " + A.S(A._asNumS(t3 == null ? _null : t3)) + ")"); + t2 = A.SvgProps$($.$get$image(), _null); + t2.set$xlinkHref(_this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$dna_sequence_png_uri()); + t2.set$id(0, "dna-sequences-main-view-png"); + return t1.call$1(t2.call$0()); + } else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s23_); + t2 = A._setArrayType([], type$.JSArray_ReactElement); + t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainDNASequencesProps.strands"); + if (t3 == null) + t3 = _null; + t3 = type$.BuiltList_Strand._as(t3)._list; + t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); + t4 = type$.BuiltMap_of_int_and_Point_double; + t5 = type$.BuiltSet_int; + t6 = type$.Geometry; + t7 = type$.BuiltMap_String_HelixGroup; + t8 = type$.BuiltMap_int_Helix; + idx = 0; + for (; t3.moveNext$0();) { + t9 = t3.__interceptors$_current; + if (!t9.___dna_sequence) { + t9.__dna_sequence = A.Strand.prototype.get$dna_sequence.call(t9); + t9.___dna_sequence = true; } - t7 = J.get$iterator$ax(t7._list); - t6 = t6.forward; - for (; t7.moveNext$0();) { - t9 = t7.get$current(t7); - t10 = t9.offset; - t10 = "deletion-H" + t8 + "-O" + H.S(t10) + "-"; - id = t10 + (t6 ? "forward" : "reverse"); - t10 = A.design_main_strand_deletion___$DesignMainStrandDeletion$closure().call$0(); + if (t9.__dna_sequence != null) { + t10 = A.design_main_dna_sequence___$DesignMainDNASequence$closure().call$0(); + t11 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.helices"); + t11 = t8._as(t11 == null ? _null : t11); t10.toString; - t11 = J.getInterceptor$x(t10); - J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesea, t9); - J.$indexSet$ax(t11.get$props(t10), "DesignMainStrandDeletionPropsMixin.helix", helix); - t12 = _this._design_main_strand$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, string$.DesignMStPrsede); - t9 = t5._as(t12 == null ? _null : t12)._set.contains$1(0, t9); - J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesee, t9); - t9 = _this.transform_of_helix$1(t8); - J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDet, t9); - t9 = _this._design_main_strand$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMStPrh); - t9 = J.$index$asx(t4._as(t9 == null ? _null : t9)._map$_map, t8).y; - J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesv, t9); - t9 = _this._design_main_strand$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.DesignMStPrr); - t9 = H._asBoolS(t9 == null ? _null : t9); - J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDer, t9); - t11 = t11.get$props(t10); - J.$indexSet$ax(t11, "key", id); - C.JSArray_methods.add$1(paths, t10.call$0()); + t8._as(t11); + t12 = J.getInterceptor$x(t10); + J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequenceProps.helices", t11); + t11 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.groups"); + t11 = t7._as(t7._as(t11 == null ? _null : t11)); + J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequenceProps.groups", t11); + t11 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.geometry"); + t11 = t6._as(t11 == null ? _null : t11); + J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequenceProps.geometry", t11); + J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequenceProps.strand", t9); + t9 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSss); + t9 = t5._as(t5._as(t9 == null ? _null : t9)); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPs, t9); + t9 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSso); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPo, t9); + t9 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsdip); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPd, t9); + t9 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsh); + t9 = t4._as(t4._as(t9 == null ? _null : t9)); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPh, t9); + idx0 = idx + 1; + t9 = t12.get$props(t10); + J.$indexSet$ax(t9, "key", B.JSInt_methods.toString$0(idx)); + J.$indexSet$ax(t12.get$props(t10), "className", "strand-dna-sequence-elts"); + t2.push(t10.call$0()); + idx = idx0; } } + return t1.call$1(t2); } - if (paths.length === 0) - t1 = _null; - else { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$key(0, _s9_); - t1.set$className(0, _s9_); - t1 = t1.call$1(paths); - } - return t1; - }, - remove_dna$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_remove_dna_closure(this), type$.void); - }, - reflect$2: function(horizontal, reverse_polarity) { - var t2, strands, _this = this, - t1 = $.app.store, - selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); - t1 = selected_strands._set; - if (!t1.get$isEmpty(t1)) - t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), _this._design_main_strand$_cachedTypedProps.get$strand()); - else - t2 = true; - if (t2) - strands = H.setRuntimeTypeInfo([_this._design_main_strand$_cachedTypedProps.get$strand()], type$.JSArray_legacy_Strand); - else - strands = !t1.contains$1(0, _this._design_main_strand$_cachedTypedProps.get$strand()) ? selected_strands.rebuild$1(new M.DesignMainStrandComponent_reflect_closure(_this))._set.toList$1$growable(0, true) : t1.toList$1$growable(0, true); - $.app.dispatch$1(U._$StrandsReflect$_(horizontal, reverse_polarity, D._BuiltList$of(strands, type$.legacy_Strand))); - }, - set_scaffold$0: function() { - var strand = this._design_main_strand$_cachedTypedProps.get$strand(), - t1 = $.app.store, - selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(), - action = M.batch_if_multiple_selected(M.scaffold_set_strand_action_creator(!strand.is_scaffold), strand, selected_strands, "set scaffold"); - $.app.dispatch$1(action); - }, - context_menu_strand$4$address$substrand$type: function(strand, address, substrand, type) { - var t1, t2, t3, t4, t5, _this = this, _null = null; - type$.legacy_Strand._as(strand); - type$.legacy_Substrand._as(substrand); - type$.legacy_Address._as(address); - type$.legacy_ModificationType._as(type); - t1 = type$.JSArray_legacy_ContextMenuItem; - t2 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna(), "assign DNA", "Assign a specific DNA sequence to this strand (and optionally assign complementary\nsequence to strands bound to it).\n"), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna_complement_from_bound_strands(), "assign DNA complement from bound strands", "If other strands bound to this strand (or the selected strands) have DNA already \nassigned, assign the complementary DNA sequence to this strand.\n")], t1); - if (strand.get$dna_sequence() != null) - t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$remove_dna(), "remove DNA", _null)); - t3 = type$.legacy_ContextMenuItem; - t2 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t2, t3), _null, "edit DNA", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure(_this, substrand, address, type), "add modification", _null)], t1); - t4 = $.app.store; - if (t4.get$state(t4).ui_state.storables.show_oxview) - t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure0(_this, substrand, address, type), "focus in oxView", _null)); - t4 = B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_scale_purification_fields(), "assign scale/purification fields", _null); - t5 = $.app.store; - t5 = C.JSArray_methods.any$1(t5.get$state(t5).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure1()) || _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields == null; - t5 = H.setRuntimeTypeInfo([t4, B.ContextMenuItem_ContextMenuItem(t5, _null, _this.get$assign_plate_well_fields(), "assign plate/well fields", _null)], t1); - t4 = $.app.store; - if (C.JSArray_methods.any$1(t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure2()) || _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields != null) - t5.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure3(_this), "remove all vendor fields", _null)); - t4 = $.app.store; - if (!C.JSArray_methods.any$1(t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure4())) { - t4 = _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - if ((t4 == null ? _null : t4.well) != null) { - t4 = _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - t4 = (t4 == null ? _null : t4.purification) != null; - } else - t4 = false; - } else - t4 = true; - if (t4) - t5.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure5(_this), "remove plate/well vendor fields", _null)); - t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t5, t3), _null, "edit vendor fields", _null)); - t4 = strand.is_scaffold ? "set as non-scaffold" : "set as scaffold"; - t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_scaffold(), t4, _null)); - t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure6(_this), "set strand color", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure7(_this, substrand), "set domain color", _null)], t1); - if (substrand.get$color(substrand) != null) - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure8(_this, substrand), "remove domain color", _null)); - t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "color", _null)); - t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_name(), "set strand name", _null)], t1); - if (_this._design_main_strand$_cachedTypedProps.get$strand().name != null) - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure9(_this), "remove strand name", _null)); - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure10(_this), "set domain name", _null)); - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure11(_this, substrand), string$.assign, "If other strands bound to this strand (or the selected strands) have domain names already \nassigned, assign the complementary domain names sequence to this strand. To use this\nfeature for individual domains, set select mode to domain.\n")); - if (substrand.get$name(substrand) != null) - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure12(), "remove domain name", _null)); - t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "edit name", _null)); - t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_label(), "set strand label", _null)], t1); - if (_this._design_main_strand$_cachedTypedProps.get$strand().label != null) - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure13(_this), "remove strand label", _null)); - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure14(_this, substrand), "set domain label", _null)); - if (substrand.get$label(substrand) != null) - t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure15(), "remove domain label", _null)); - t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "edit label", _null)); - t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure16(_this), "reflect horizontally", "replace strand(s) with horizontal mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure17(_this), "reflect horizontally (reverse vertical polarity)", "replace strand(s) with horizontal mirror image, \nwith polarity reversed \"vertically\" \n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 1\n strand's 3' end on helix 0\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure18(_this), "reflect vertically", "replace strand(s) with vertical mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is still on a helix below that of the strand's 3' end\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure19(_this), "reflect vertically (reverse vertical polarity)", "replace strand(s) with vertical mirror image, \nwith polarity reversed \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is now on a helix above that of the strand's 3' end\n")], t1), t3), _null, "reflect", _null)); - t1 = strand.get$has_5p_extension() && strand.get$has_3p_extension(); - t2.push(B.ContextMenuItem_ContextMenuItem(t1, _null, new M.DesignMainStrandComponent_context_menu_strand_closure20(_this, strand), "add extension", _null)); - return t2; + } + }; + A.$DesignMainDNASequencesComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDNASequencesComponent(null); }, - context_menu_strand$1: function(strand) { - return this.context_menu_strand$4$address$substrand$type(strand, null, null, C.ModificationType_internal); + $signature: 443 + }; + A._$$DesignMainDNASequencesProps.prototype = { + get$$$isClassGenerated() { + return true; }, - context_menu_strand$3$address$substrand: function(strand, address, substrand) { - return this.context_menu_strand$4$address$substrand$type(strand, address, substrand, C.ModificationType_internal); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNASequencesComponentFactory() : t1; + } + }; + A._$$DesignMainDNASequencesProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_dna_sequences$_props; + } + }; + A._$$DesignMainDNASequencesProps$JsMap.prototype = { + get$props(_) { + return this._design_main_dna_sequences$_props; + } + }; + A._$DesignMainDNASequencesComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - ask_for_add_extension$1: function(strand) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, t1, t2, options, items, results, t3, is_5p, action; - var $async$ask_for_add_extension$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - if (strand.get$has_5p_extension() && strand.get$has_3p_extension()) { - t1 = window; - t2 = strand.name; - C.Window_methods.alert$1(t1, "strand " + (t2 == null ? strand.toString$0(0) : t2) + " already has a 5' and 3' extension"); - // goto return - $async$goto = 1; - break; - } - options = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - if (!strand.get$has_5p_extension()) - C.JSArray_methods.add$1(options, "5'"); - if (!strand.get$has_3p_extension()) - C.JSArray_methods.add$1(options, "3'"); - items = P.List_List$filled(2, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("end of strand", null, options, true, 0, null)); - C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("number of bases", "number of bases to include in this extension", 5)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "add extension", C.DialogType_add_extension, false)), $async$ask_for_add_extension$1); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogRadio._as(t1.$index(results, 0)); - t3 = t2.options; - t2 = t2.selected_idx; - t2 = J.$index$asx(t3._list, t2); - if (t2 === "3'") - is_5p = false; - else { - if (t2 !== "5'") { - C.Window_methods.alert$1(window, "invalid selection " + H.S(t2)); - // goto return - $async$goto = 1; - break; - } - is_5p = true; - } - action = U.ExtensionAdd_ExtensionAdd(is_5p, H._asIntS(type$.legacy_DialogInteger._as(t1.$index(results, 1)).value), $async$self._design_main_strand$_cachedTypedProps.get$strand()); - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_add_extension$1, $async$completer); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDNASequencesComponent__cachedTypedProps_A = A._$$DesignMainDNASequencesProps$JsMap$(A.getBackingMap(value)); }, - select_index_for_one_strand$3: function(vendor_option, options, default_index) { - type$.legacy_Set_legacy_String._as(options); - if (options.contains$1(0, vendor_option)) - return C.JSArray_methods.indexOf$1(P.List_List$of(options, true, H._instanceType(options)._eval$1("SetMixin.E")), vendor_option); - else if (default_index) - return 1; - else - return 0; + get$displayName(_) { + return "DesignMainDNASequences"; }, - select_scale_index_for_multiple_strands$2: function(all_strands, options) { - var all_same_scale, default_scale_option, t1; - type$.legacy_List_legacy_Strand._as(all_strands); - type$.legacy_Set_legacy_String._as(options); - all_same_scale = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(all_strands)); - default_scale_option = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0()); - if (all_same_scale) { - if (0 >= all_strands.length) - return H.ioore(all_strands, 0); - t1 = all_strands[0].vendor_fields; - return this.select_index_for_one_strand$3(t1 == null ? null : t1.scale, options, default_scale_option); - } else - return 0; + get$$$defaultConsumedProps() { + return B.Map_KYw97.get$values(B.Map_KYw97); + } + }; + A.$DesignMainDNASequencesProps.prototype = { + get$dna_sequence_png_uri() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSsdnu); + return A._asStringQ(t1 == null ? null : t1); }, - custom_scale_value$1: function(all_strands) { - var t1; - type$.legacy_List_legacy_Strand._as(all_strands); - if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_custom_scale_value_closure(all_strands))) { - if (0 >= all_strands.length) - return H.ioore(all_strands, 0); - t1 = all_strands[0].vendor_fields; - t1 = t1 == null ? null : t1.scale; - return t1 == null ? "" : t1; - } else - return ""; + get$export_svg_action_delayed_for_png_cache() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSse); + if (t1 == null) + t1 = null; + return type$.nullable_ExportSvg._as(t1); + } + }; + A._DesignMainDNASequencesComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps.prototype = {}; + A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps.prototype = {}; + A.DesignMainDomainMovingProps.prototype = { + get$helices() { + var t1 = this.DesignMainDomainMovingProps___DesignMainDomainMovingProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - custom_purification_value$1: function(all_strands) { - var t1; - type$.legacy_List_legacy_Strand._as(all_strands); - if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_custom_purification_value_closure(all_strands))) { - if (0 >= all_strands.length) - return H.ioore(all_strands, 0); - t1 = all_strands[0].vendor_fields; - t1 = t1 == null ? null : t1.purification; - return t1 == null ? "" : t1; - } else - return ""; + get$groups() { + var t1 = this.DesignMainDomainMovingProps___DesignMainDomainMovingProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - select_purification_index_for_multiple_strands$2: function(all_strands, options) { - var all_same_purification, default_purification_option, t1; - type$.legacy_List_legacy_Strand._as(all_strands); - type$.legacy_Set_legacy_String._as(options); - all_same_purification = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(all_strands)); - default_purification_option = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0()); - if (all_same_purification) { - if (0 >= all_strands.length) - return H.ioore(all_strands, 0); - t1 = all_strands[0].vendor_fields; - return this.select_index_for_one_strand$3(t1 == null ? null : t1.purification, options, default_purification_option); - } else - return 0; + get$geometry(_) { + var t1 = this.DesignMainDomainMovingProps___DesignMainDomainMovingProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - select_plate_number$1: function(all_strands) { - var t1; - type$.legacy_List_legacy_Strand._as(all_strands); - if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_plate_number_closure(all_strands))) { - if (0 >= all_strands.length) - return H.ioore(all_strands, 0); - t1 = all_strands[0].vendor_fields; - return t1 == null ? null : t1.plate; - } else - return null; + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainDomainMovingComponent.prototype = { + render$0(_) { + var t2, start_svg, end_svg, classname, hex_color, t3, t4, t5, _this = this, + t1 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helices(); + t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().helix; + t2 = t1._map$_map.$index(0, t2); + t2.toString; + start_svg = t2.svg_base_pos$3(_this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().get$offset_5p(), _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().forward, _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_helix_svg_position_y()); + end_svg = t2.svg_base_pos$3(_this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().get$offset_3p(), _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().forward, _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_helix_svg_position_y()); + t1 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainMovingProps.allowable"); + classname = !A.boolConversionCheck(A._asBoolS(t1 == null ? null : t1)) ? "domain-line-moving disallowed" : "domain-line-moving"; + t1 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainMovingProps.color"); + if (t1 == null) + t1 = null; + hex_color = type$.Color._as(t1).toHexColor$0(); + t1 = hex_color.get$rHex(); + t3 = hex_color.get$gHex(); + t4 = hex_color.get$bHex(); + t5 = A.SvgProps$($.$get$line(), null); + t5.set$stroke(0, "#" + t1 + t3 + t4); + t5.set$transform(0, A.transform_of_helix2(_this.___$DesignMainDomainMovingComponent__cachedTypedProps_A, t2.idx, type$.DesignMainDomainMovingProps)); + t5.set$x1(0, A.S(start_svg.x)); + t5.set$y1(0, A.S(start_svg.y)); + t5.set$x2(0, A.S(end_svg.x)); + t5.set$y2(0, A.S(end_svg.y)); + t5.set$className(0, classname); + return t5.call$0(); + } + }; + A.$DesignMainDomainMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDomainMovingComponent(null); }, - ask_for_assign_scale_purification_fields$0: function() { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, items, options_purification, options_scale, t2, t3, results, scale, t4, purification, _i, strand, t5, t6, t7, t8, vendor_fields, action, t1, all_strands; - var $async$ask_for_assign_scale_purification_fields$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $.app.store; - all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (all_strands.length === 0) - C.JSArray_methods.add$1(all_strands, $async$self._design_main_strand$_cachedTypedProps.get$strand()); - items = P.List_List$filled(6, null, true, type$.legacy_DialogItem); - t1 = type$.legacy_String; - options_purification = P.LinkedHashSet_LinkedHashSet$_literal(["", "STD", "PAGE", "HPLC", "IEHPLC", "RNASE", "DUALHPLC", "PAGEHPLC"], t1); - options_scale = P.LinkedHashSet_LinkedHashSet$_literal(["", "25nm", "100nm", "250nm", "1um", "2um", "5um", "10um", "4nmU", "20nmU", "PU", "25nmS"], t1); - C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("use custom scale", "", false)); - if (all_strands.length > 1) - t1 = $async$self.select_scale_index_for_multiple_strands$2(all_strands, options_scale); - else { - t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - t1 = t1 == null ? null : t1.scale; - t1 = $async$self.select_index_for_one_strand$3(t1, options_scale, C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure())); - } - C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("scale", null, options_scale, false, t1, "25nm : 25nmole\n100nm : 100 nmole\n250nm : 250 nmole\n1um : 1 \xb5mole\n2um\t: 2 umole\n5um\t: 5 \xb5mole\n10um : 10 \xb5mole\n4nmU : 4 nmole Ultramer\u2122\n20nmU : 20 nmole Ultramer\u2122\nPU : PAGE Ultramer\u2122\n25nmS : 5 nmole Sameday\n")); - if (0 >= items.length) { - $async$returnValue = H.ioore(items, 0); - // goto return - $async$goto = 1; - break; - } - C.JSArray_methods.$indexSet(items, 2, E.DialogText_DialogText("custom scale", null, J.get$value$x(items[0]) !== "" ? "" : $async$self.custom_scale_value$1(all_strands))); - C.JSArray_methods.$indexSet(items, 4, E.DialogCheckbox_DialogCheckbox("use custom purification", "", false)); - if (all_strands.length > 1) - t1 = $async$self.select_purification_index_for_multiple_strands$2(all_strands, options_purification); - else { - t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - t1 = t1 == null ? null : t1.purification; - t1 = $async$self.select_index_for_one_strand$3(t1, options_purification, C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0())); - } - C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("purification", null, options_purification, false, t1, "STD\t: Standard Desalting\nPAGE : PAGE\nHPLC : HPLC \nIEHPLC : IE HPLC\nRNASE : RNase Free HPLC\nDUALHPLC : Dual HPLC\nPAGEHPLC : Dual PAGE & HPLC\n")); - if (3 >= items.length) { - $async$returnValue = H.ioore(items, 3); - // goto return - $async$goto = 1; - break; - } - C.JSArray_methods.$indexSet(items, 5, E.DialogText_DialogText("custom purification", null, J.get$value$x(items[3]) !== "" ? "" : $async$self.custom_purification_value$1(all_strands))); - t1 = type$.JSArray_legacy_int; - t2 = type$.legacy_int; - t3 = type$.legacy_Iterable_legacy_int; - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([2, H.setRuntimeTypeInfo([1], t1), 5, H.setRuntimeTypeInfo([4], t1)], t2, t3), P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], t1), 3, H.setRuntimeTypeInfo([4], t1)], t2, t3), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign scale/purification vendor fields", C.DialogType_assign_scale_purification, true)), $async$ask_for_assign_scale_purification_fields$0); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogCheckbox; - if (t2._as(t1.$index(results, 1)).value) - scale = type$.legacy_DialogText._as(t1.$index(results, 2)).value; - else { - t3 = type$.legacy_DialogRadio._as(t1.$index(results, 0)); - t4 = t3.options; - t3 = t3.selected_idx; - scale = J.$index$asx(t4._list, t3); - } - if (t2._as(t1.$index(results, 4)).value) - purification = type$.legacy_DialogText._as(t1.$index(results, 5)).value; - else { - t1 = type$.legacy_DialogRadio._as(t1.$index(results, 3)); - t2 = t1.options; - t1 = t1.selected_idx; - purification = J.$index$asx(t2._list, t1); - } - t1 = all_strands.length; - if (t1 > 1) - for (t2 = purification === "", t3 = scale === "", _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { - strand = all_strands[_i]; - if (t3) { - t4 = strand.vendor_fields; - t4 = (t4 == null ? null : t4.scale) != null; - } else - t4 = false; - t4 = t4 ? strand.vendor_fields.scale : scale; - if (t2) { - t5 = strand.vendor_fields; - t5 = (t5 == null ? null : t5.purification) != null; - } else - t5 = false; - t5 = t5 ? strand.vendor_fields.purification : purification; - t6 = strand.vendor_fields; - t7 = t6 == null; - t8 = t7 ? null : t6.plate; - vendor_fields = T.VendorFields_VendorFields(t8, t5, t4, t7 ? null : t6.well); - if (vendor_fields == null) - H.throwExpression(Y.BuiltValueNullFieldError$("ScalePurificationVendorFieldsAssign", "vendor_fields")); - $.app.dispatch$1(new U._$ScalePurificationVendorFieldsAssign(strand, vendor_fields)); - } - else { - vendor_fields = T.VendorFields_VendorFields(null, purification, scale, null); - action = U._$ScalePurificationVendorFieldsAssign$_($async$self._design_main_strand$_cachedTypedProps.get$strand(), vendor_fields); - $.app.dispatch$1(action); - } - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_assign_scale_purification_fields$0, $async$completer); + $signature: 444 + }; + A._$$DesignMainDomainMovingProps.prototype = { + get$$$isClassGenerated() { + return true; }, - ask_for_assign_plate_well_fields$0: function() { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, items, results, t2, plate, conflicting_strands, t3, _i, strand, t4, t5, t6, vendor_fields, well, action, t1, all_strands; - var $async$ask_for_assign_plate_well_fields$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - t1 = $.app.store; - all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (all_strands.length === 0) - C.JSArray_methods.add$1(all_strands, $async$self._design_main_strand$_cachedTypedProps.get$strand()); - items = P.List_List$filled(2, null, true, type$.legacy_DialogItem); - t1 = $async$self.select_plate_number$1(all_strands); - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("plate", null, t1 == null ? "" : t1)); - t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - t1 = (t1 == null ? null : t1.well) != null ? $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields.well : ""; - C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("well", all_strands.length > 1 ? "Only individual strands can have a well assigned." : "", t1)); - t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); - if (all_strands.length > 1) - t1.add$1(0, 1); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(t1, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign plate/well vendor fields", C.DialogType_assign_plate_well, true)), $async$ask_for_assign_plate_well_fields$0); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogText; - plate = t2._as(t1.$index(results, 0)).value; - conflicting_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - t3 = all_strands.length; - if (t3 > 1) - for (t1 = plate === "", _i = 0; _i < all_strands.length; all_strands.length === t3 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { - strand = all_strands[_i]; - t2 = strand.vendor_fields; - if (t2 == null) { - t2 = strand.__address_5p; - C.JSArray_methods.add$1(conflicting_strands, (t2 == null ? strand.__address_5p = E.Strand.prototype.get$address_5p.call(strand) : t2).toString$0(0)); - } else { - t4 = t2.scale; - t5 = t2.purification; - t6 = t1 ? t2.plate : plate; - t2 = t2.well; - vendor_fields = T.VendorFields_VendorFields(t6, t5, t4, t2 != null ? t2 : ""); - if (vendor_fields == null) - H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsAssign", "vendor_fields")); - $.app.dispatch$1(new U._$PlateWellVendorFieldsAssign(strand, vendor_fields)); - } - } - else { - well = t2._as(t1.$index(results, 1)).value; - t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; - t2 = $async$self._design_main_strand$_cachedTypedProps; - if (t1 == null) - C.JSArray_methods.add$1(conflicting_strands, t2.get$strand().get$address_5p().toString$0(0)); - else { - t1 = t2.get$strand().vendor_fields.scale; - vendor_fields = T.VendorFields_VendorFields(plate, $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields.purification, t1, well); - action = U._$PlateWellVendorFieldsAssign$_($async$self._design_main_strand$_cachedTypedProps.get$strand(), vendor_fields); - $.app.dispatch$1(action); - } - } - if (conflicting_strands.length >= 1) - C.Window_methods.alert$1(window, "No vendor fields were assigned to strands: " + H.S(conflicting_strands) + ". \nAssign scale and purification before editing plate/well fields."); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_assign_plate_well_fields$0, $async$completer); - }, - remove_plate_well_fields$0: function() { - var all_actions, _i, strand, batch_action, - t1 = $.app.store, - all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (all_strands.length === 0) - C.JSArray_methods.add$1(all_strands, this._design_main_strand$_cachedTypedProps.get$strand()); - all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t1 = all_strands.length, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { - strand = all_strands[_i]; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsRemove", "strand")); - $.app.dispatch$1(new U._$PlateWellVendorFieldsRemove(strand)); - } - batch_action = U.BatchAction_BatchAction(all_actions, "remove plate/well fields"); - $.app.dispatch$1(batch_action); - }, - remove_vendor_fields$0: function() { - var all_actions, _i, strand, batch_action, - t1 = $.app.store, - all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (all_strands.length === 0) - C.JSArray_methods.add$1(all_strands, this._design_main_strand$_cachedTypedProps.get$strand()); - all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t1 = all_strands.length, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { - strand = all_strands[_i]; - if (strand == null) - H.throwExpression(Y.BuiltValueNullFieldError$("VendorFieldsRemove", "strand")); - $.app.dispatch$1(new U._$VendorFieldsRemove(strand)); - } - batch_action = U.BatchAction_BatchAction(all_actions, "remove vendor fields"); - $.app.dispatch$1(batch_action); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainMovingComponentFactory() : t1; }, - ask_for_strand_name$2: function(strand, selected_strands) { - return this.ask_for_strand_name$body$DesignMainStrandComponent(strand, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands)); + $isTransformByHelixGroupPropsMixin: 1 + }; + A._$$DesignMainDomainMovingProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_domain_moving$_props; + } + }; + A._$$DesignMainDomainMovingProps$JsMap.prototype = { + get$props(_) { + return this._design_main_domain_moving$_props; + } + }; + A._$DesignMainDomainMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - ask_for_strand_name$body$DesignMainStrandComponent: function(strand, selected_strands) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, results, action, items, t1; - var $async$ask_for_strand_name$2 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().name; - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set strand name", C.DialogType_set_strand_name, false)), $async$ask_for_strand_name$2); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - action = M.batch_if_multiple_selected(M.name_set_strand_action_creator(type$.legacy_DialogText._as(J.$index$asx(results, 0)).value), strand, selected_strands, "set strand names"); - $.app.dispatch$1(action); - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_strand_name$2, $async$completer); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDomainMovingComponent__cachedTypedProps_A = A._$$DesignMainDomainMovingProps$JsMap$(A.getBackingMap(value)); }, - ask_for_domain_names$1: function(domains) { - return this.ask_for_domain_names$body$DesignMainStrandComponent(type$.legacy_BuiltSet_legacy_Domain._as(domains)); + get$displayName(_) { + return "DesignMainDomainMoving"; }, - ask_for_domain_names$body$DesignMainStrandComponent: function(domains) { - var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, t1, results, $name, items; - var $async$ask_for_domain_names$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { - if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, "")); - t1 = domains._set; - t1.get$first(t1).toString; - $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set domain name", C.DialogType_set_domain_name, false)), $async$ask_for_domain_names$1); - case 3: - // returning from await. - results = $async$result; - if (results == null) { - // goto return - $async$goto = 1; - break; - } - $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; - $async$returnValue = $.app.dispatch$1(U.BatchAction_BatchAction(t1.map$1$1(0, domains.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_ask_for_domain_names_closure($name)), type$.legacy_UndoableAction), "set domain names")); - // goto return - $async$goto = 1; - break; - case 1: - // return - return P._asyncReturn($async$returnValue, $async$completer); - } - }); - return P._asyncStartSync($async$ask_for_domain_names$1, $async$completer); + get$$$defaultConsumedProps() { + return B.Map_kTckn.get$values(B.Map_kTckn); } }; - M.DesignMainStrandComponent_render_closure.prototype = { - call$2: function(i, p) { - return new P.MapEntry(H._asIntS(i), type$.legacy_Point_legacy_num._as(p).y, type$.MapEntry_of_legacy_int_and_legacy_num); + A.$DesignMainDomainMovingProps.prototype = { + get$domain_moved() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingProps.domain_moved"); + if (t1 == null) + t1 = null; + return type$.Domain._as(t1); }, - $signature: 43 - }; - M.DesignMainStrandComponent_assign_dna_closure.prototype = { - call$0: function() { - var t1 = this.$this, - t2 = t1._design_main_strand$_cachedTypedProps.get$strand(); - t1 = t1._design_main_strand$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMStPrdn); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingProps.helices"); if (t1 == null) t1 = null; - return M.ask_for_assign_dna_sequence(t2, type$.legacy_DNAAssignOptions._as(t1)); + return type$.BuiltMap_int_Helix._as(t1); }, - $signature: 6 - }; - M.DesignMainStrandComponent_add_modification_closure.prototype = { - call$0: function() { - var _this = this; - return X.ask_for_add_modification(_this.$this._design_main_strand$_cachedTypedProps.get$strand(), _this.substrand, _this.address, _this.type); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); }, - $signature: 6 - }; - M.DesignMainStrandComponent_set_strand_name_closure.prototype = { - call$0: function() { - var t1 = this.$this, - t2 = t1._design_main_strand$_cachedTypedProps.get$strand(), - t3 = $.app.store; - return t1.ask_for_strand_name$2(t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands()); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); }, - $signature: 6 + get$domain_helix_svg_position_y() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMdo); + return A._asNumS(t1 == null ? null : t1); + } }; - M.DesignMainStrandComponent_set_strand_label_closure.prototype = { - call$0: function() { - var t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), - t2 = $.app.store; - return M.ask_for_label(t1, null, t2.get$state(t2).ui_state.selectables_store.get$selected_strands(), type$.legacy_Strand); + A._DesignMainDomainMovingComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps.prototype = {}; + A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps.prototype = {}; + A.DesignMainDomainNameMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDomainNameMismatchesComponent.prototype = { + render$0(_) { + var mismatch_components = this._create_mismatch_components$0(), + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "domain-name-mismatches-main-view"); + return t1.call$1(mismatch_components); }, - $signature: 6 + _create_mismatch_components$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, forward_domain, reverse_domain, overlap, t10, mid, _i, domain, t11, t12, base_svg_pos, t13, t14, t15, t16, t17, _this = this, _null = null, + _s42_ = string$.DesignMDoNd, + mismatch_components = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$design().helices; + t1 = t1.get$values(t1); + t2 = A._instanceType(t1); + t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); + t1 = type$.Design; + t3 = type$.BuiltMap_of_int_and_Point_double; + t4 = type$.Point_double; + t5 = type$.BuiltSet_int; + for (; t2.moveNext$0();) { + t6 = t2.__internal$_current; + t7 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, string$.DesignMDoNo); + if (A.boolConversionCheck(A._asBoolS(t7 == null ? _null : t7))) { + t7 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, string$.DesignMDoNs); + t7 = t5._as(t7 == null ? _null : t7); + t8 = t6.idx; + t8 = !t7._set.contains$1(0, t8); + t7 = t8; + } else + t7 = false; + if (t7) + continue; + t7 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, _s42_); + t7 = t1._as(t7 == null ? _null : t7); + t8 = t7.__domain_name_mismatches; + if (t8 == null) { + t8 = A.Design.prototype.get$domain_name_mismatches.call(t7); + t7.set$__domain_name_mismatches(t8); + t7 = t8; + } else + t7 = t8; + t8 = t6.idx; + t7 = t7._map$_map.$index(0, t8); + t7.toString; + for (t7 = t7._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")); t7.moveNext$0();) { + t9 = t7.__interceptors$_current; + forward_domain = t9.forward_domain; + reverse_domain = t9.reverse_domain; + overlap = forward_domain.compute_overlap$1(reverse_domain); + if (overlap == null) + throw A.wrapException(A.AssertionError$("overlap should not be null")); + t9 = overlap.item1; + t10 = overlap.item2; + if (typeof t9 !== "number") + return t9.$add(); + if (typeof t10 !== "number") + return A.iae(t10); + mid = B.JSNumber_methods._tdivFast$1(t9 + t10, 2); + for (t9 = [forward_domain, reverse_domain], t10 = mid, _i = 0; _i < 2; ++_i) { + domain = t9[_i]; + t11 = domain.forward; + t12 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMDoNh); + base_svg_pos = t6.svg_base_pos$3(mid, t11, t3._as(t12 == null ? _null : t12)._map$_map.$index(0, t8).y); + t12 = domain.helix; + t13 = domain.start; + t14 = domain.end; + t15 = A.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + t15.toString; + t4._as(base_svg_pos); + t16 = J.getInterceptor$x(t15); + J.$indexSet$ax(t16.get$props(t15), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); + t17 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t17 = t17.get$props(t17).$index(0, _s42_); + t17 = t1._as(t17 == null ? _null : t17).geometry; + J.$indexSet$ax(t16.get$props(t15), "DesignMainWarningStarProps.geometry", t17); + J.$indexSet$ax(t16.get$props(t15), "DesignMainWarningStarProps.forward", t11); + J.$indexSet$ax(t16.get$props(t15), "DesignMainWarningStarProps.color", "blue"); + t16 = t16.get$props(t15); + J.$indexSet$ax(t16, "key", "" + t12 + ";" + t11 + ";" + t13 + ";" + t10 + ";" + t14); + B.JSArray_methods.add$1(mismatch_components, t15.call$0()); + } + } + } + return mismatch_components; + } }; - M.DesignMainStrandComponent_set_domain_names_closure.prototype = { - call$0: function() { - return this.$this.ask_for_domain_names$1(this.domains); + A.$DesignMainDomainNameMismatchesComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDomainNameMismatchesComponent(null); }, - $signature: 6 + $signature: 445 }; - M.DesignMainStrandComponent_set_domain_labels_closure.prototype = { - call$0: function() { - return M.ask_for_label(this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand, M.get_selected_domains(), type$.legacy_Domain); + A._$$DesignMainDomainNameMismatchesProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 6 + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainNameMismatchesComponentFactory() : t1; + } }; - M.DesignMainStrandComponent_remove_dna_closure.prototype = { - call$0: function() { - var t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), - t2 = $.app.store; - return M.ask_for_remove_dna_sequence(t1, t2.get$state(t2).ui_state.selectables_store.get$selected_strands()); - }, - $signature: 6 + A._$$DesignMainDomainNameMismatchesProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_domain_name_mismatches$_props; + } }; - M.DesignMainStrandComponent_reflect_closure.prototype = { - call$1: function(b) { - var t1, t2; - type$.legacy_SetBuilder_legacy_Strand._as(b); - t1 = b.$ti._precomputed1; - t2 = t1._as(this.$this._design_main_strand$_cachedTypedProps.get$strand()); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - return b.get$_safeSet().add$1(0, t2); - }, - $signature: 106 + A._$$DesignMainDomainNameMismatchesProps$JsMap.prototype = { + get$props(_) { + return this._design_main_domain_name_mismatches$_props; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure.prototype = { - call$0: function() { - var _this = this; - return _this.$this.add_modification$3(_this.substrand, _this.address, _this.type); + A._$DesignMainDomainNameMismatchesComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand_closure0.prototype = { - call$0: function() { - var strand_idx, nt_idx_in_strand, message_js_commands, - t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), - t2 = this.address, - t3 = $.app.store; - t3 = t3.get$state(t3).design.strands; - t3.toString; - strand_idx = J.indexOf$2$asx(t3._list, t3.$ti._precomputed1._as(t1), 0); - nt_idx_in_strand = t2 != null ? M.clicked_strand_dna_idx(type$.legacy_Domain._as(this.substrand), t2, t1) : 0; - message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["let base = systems[0].strands[" + strand_idx + "].getMonomers()[" + nt_idx_in_strand + "];\napi.findElement(base);\napi.selectElements([base]);"], E.blob_type_to_string(C.BlobType_0))], type$.JSArray_legacy_Blob), "ext", H.setRuntimeTypeInfo(["js"], type$.JSArray_legacy_String)], type$.legacy_String, type$.dynamic); - t1 = W._convertNativeToDart_Window($.app.view.oxview_view.frame.contentWindow); - if (t1 != null) - J.postMessage$2$x(t1, message_js_commands, string$.https_); - return null; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A = A._$$DesignMainDomainNameMismatchesProps$JsMap$(A.getBackingMap(value)); }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand_closure1.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields == null; + get$displayName(_) { + return "DesignMainDomainNameMismatches"; }, - $signature: 15 + get$$$defaultConsumedProps() { + return B.Map_cwodG.get$values(B.Map_cwodG); + } }; - M.DesignMainStrandComponent_context_menu_strand_closure2.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields != null; - }, - $signature: 15 + A.$DesignMainDomainNameMismatchesProps.prototype = { + get$design() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoNd); + if (t1 == null) + t1 = null; + return type$.Design._as(t1); + } }; - M.DesignMainStrandComponent_context_menu_strand_closure3.prototype = { - call$0: function() { - return this.$this.remove_vendor_fields$0(); + A._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps.prototype = {}; + A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps.prototype = {}; + A.set_design_main_domains_moving_props_closure.prototype = { + call$2(i, p) { + return new A.MapEntry(A._asIntS(i), type$.Point_double._as(p).y, type$.MapEntry_int_num); }, - $signature: 1 + $signature: 55 }; - M.DesignMainStrandComponent_context_menu_strand_closure4.prototype = { - call$1: function(element) { - var t1 = type$.legacy_Strand._as(element).vendor_fields, - t2 = t1 == null; - if ((t2 ? null : t1.plate) != null) - t1 = (t2 ? null : t1.well) != null; - else - t1 = false; - return t1; + A.ConnectedDesignMainDomainsMoving_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_design_main_domains_moving_props(A.design_main_domains_moving___$DesignMainDomainsMoving$closure().call$0(), state); }, - $signature: 15 + $signature: 446 }; - M.DesignMainStrandComponent_context_menu_strand_closure5.prototype = { - call$0: function() { - return this.$this.remove_plate_well_fields$0(); - }, - $signature: 1 + A.DesignMainDomainsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDomainsMovingComponent.prototype = { + render$0(_) { + var domains_moving, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, key, t18, t19, t20, t21, t22, t23, t24, t25, domain_moved, moved_helix_idx, key0, _this = this, _null = null, + _s43_ = string$.DesignMDoso, + _s42_ = string$.DesignMDoscu, + t1 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMDosd); + if (t1 == null) + t1 = _null; + type$.nullable_DomainsMove._as(t1); + if (t1 == null) + return _null; + domains_moving = A._setArrayType([], type$.JSArray_ReactElement); + for (t2 = t1.domains_moving._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t3 = type$.Geometry, t4 = type$.BuiltMap_String_HelixGroup, t5 = t1.allowable, t6 = type$.BuiltMap_int_Helix, t7 = type$.BuiltSet_int, t8 = type$.HelixGroup, t9 = t1.current_address, t10 = t9.offset, t11 = t1.original_address, t12 = t11.offset, t13 = t9.forward != t11.forward, t14 = t1.helices, t11 = t11.helix_idx, t9 = t9.helix_idx, t1 = t1.groups, t15 = type$.BuiltMap_Domain_Color, t16 = type$.Color, t17 = type$.BuiltMap_int_num, key = 0; t2.moveNext$0(); key = key0) { + t18 = t2.__interceptors$_current; + t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t19 = t19.get$props(t19).$index(0, _s43_); + t19 = t8._as(t19 == null ? _null : t19); + t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s42_); + t20 = t8._as(t20 == null ? _null : t20); + t21 = t14._map$_map; + t22 = t21.$index(0, t9); + t22.toString; + t23 = t1._map$_map; + t22 = t23.$index(0, t22.group); + t24 = t22.__helices_view_order_inverse; + if (t24 == null) { + t24 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t22); + t22.set$__helices_view_order_inverse(t24); + t22 = t24; + } else + t22 = t24; + t24 = t21.$index(0, t9); + t24.toString; + t24 = t22._map$_map.$index(0, t24.idx); + t24.toString; + t22 = t21.$index(0, t11); + t22.toString; + t22 = t23.$index(0, t22.group); + t25 = t22.__helices_view_order_inverse; + if (t25 == null) { + t25 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t22); + t22.set$__helices_view_order_inverse(t25); + t22 = t25; + } else + t22 = t25; + t25 = t21.$index(0, t11); + t25.toString; + t25 = t22._map$_map.$index(0, t25.idx); + t25.toString; + if (typeof t10 !== "number") + return t10.$sub(); + if (typeof t12 !== "number") + return A.iae(t12); + t22 = t10 - t12; + domain_moved = A.move_domain(t20, t13, t22, t24 - t25, t18, t19, true); + moved_helix_idx = domain_moved.helix; + t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t19 = t19.get$props(t19).$index(0, string$.DesignMDosh); + t19 = t17._as(t19 == null ? _null : t19)._map$_map.$index(0, moved_helix_idx); + t19.toString; + t20 = A.design_main_domain_moving___$DesignMainDomainMoving$closure().call$0(); + t20.toString; + t24 = J.getInterceptor$x(t20); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.domain_moved", domain_moved); + t25 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, string$.DesignMDosco); + t18 = t15._as(t25 == null ? _null : t25)._map$_map.$index(0, t18); + t18.toString; + t16._as(t18); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.color", t18); + t18 = t21.$index(0, t9); + t18.toString; + t18 = t23.$index(0, t18.group); + t25 = t18.__helices_view_order_inverse; + if (t25 == null) { + t25 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t18); + t18.set$__helices_view_order_inverse(t25); + t18 = t25; + } else + t18 = t25; + t25 = t21.$index(0, t9); + t25.toString; + t25 = t18._map$_map.$index(0, t25.idx); + t25.toString; + t18 = t21.$index(0, t11); + t18.toString; + t18 = t23.$index(0, t18.group); + t23 = t18.__helices_view_order_inverse; + if (t23 == null) { + t23 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t18); + t18.set$__helices_view_order_inverse(t23); + t18 = t23; + } else + t18 = t23; + t21 = t21.$index(0, t11); + t21.toString; + t21 = t18._map$_map.$index(0, t21.idx); + t21.toString; + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMdev, t25 - t21); + t21 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t21 = t21.get$props(t21).$index(0, _s43_); + t18 = t8._as(t21 == null ? _null : t21); + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMo, t18); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, _s42_); + t18 = t8._as(t18 == null ? _null : t18); + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMc, t18); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.delta_offset", t22); + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMdef, t13); + t22 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMDoss); + t18 = t7._as(t7._as(t22 == null ? _null : t22)); + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMs, t18); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, "DesignMainDomainsMovingProps.helices"); + t18 = t6._as(t6._as(t18 == null ? _null : t18)); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.helices", t18); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, "DesignMainDomainsMovingProps.groups"); + t18 = t4._as(t4._as(t18 == null ? _null : t18)); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.groups", t18); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.allowable", t5); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t18 = t18.get$props(t18).$index(0, "DesignMainDomainsMovingProps.geometry"); + t18 = t3._as(t18 == null ? _null : t18); + J.$indexSet$ax(t24.get$props(t20), "DesignMainDomainMovingProps.geometry", t18); + J.$indexSet$ax(t24.get$props(t20), string$.DesignMDoMdo, t19); + key0 = key + 1; + t24 = t24.get$props(t20); + J.$indexSet$ax(t24, "key", B.JSInt_methods.toString$0(key)); + B.JSArray_methods.add$1(domains_moving, t20.call$0()); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "domains-moving-main-view" + (t5 ? "" : " disallowed")); + return t1.call$1(domains_moving); + } }; - M.DesignMainStrandComponent_context_menu_strand_closure6.prototype = { - call$0: function() { - return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(this.$this._design_main_strand$_cachedTypedProps.get$strand(), null)); + A.$DesignMainDomainsMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDomainsMovingComponent(null); }, - $signature: 1 + $signature: 447 }; - M.DesignMainStrandComponent_context_menu_strand_closure7.prototype = { - call$0: function() { - return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand)); + A._$$DesignMainDomainsMovingProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 1 + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainsMovingComponentFactory() : t1; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure8.prototype = { - call$0: function() { - return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand)); - }, - $signature: 1 + A._$$DesignMainDomainsMovingProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_domains_moving$_props; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure9.prototype = { - call$0: function() { - var t1 = $.app, - t2 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), - t3 = $.app.store; - return t1.dispatch$1(M.batch_if_multiple_selected(new M.DesignMainStrandComponent_context_menu_strand__closure3(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand name")); - }, - $signature: 1 + A._$$DesignMainDomainsMovingProps$JsMap.prototype = { + get$props(_) { + return this._design_main_domains_moving$_props; + } }; - M.DesignMainStrandComponent_context_menu_strand__closure3.prototype = { - call$1: function(strand) { - return U._$StrandNameSet$_(null, strand); + A._$DesignMainDomainsMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - $signature: 151 - }; - M.DesignMainStrandComponent_context_menu_strand_closure10.prototype = { - call$0: function() { - return this.$this.set_domain_names$1(M.get_selected_domains()); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A = A._$$DesignMainDomainsMovingProps$JsMap$(A.getBackingMap(value)); }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand_closure11.prototype = { - call$0: function() { - var t4, domains_selected, action, strands_selected, - t1 = this.$this, - t2 = type$.legacy_Domain._as(this.substrand), - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.select_mode_state.get$domains_selectable(); - t4 = $.app; - if (t3) { - t1 = t4.store; - domains_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_domains()._set.toList$1$growable(0, true); - if (!C.JSArray_methods.contains$1(domains_selected, t2)) - C.JSArray_methods.add$1(domains_selected, t2); - action = U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains(domains_selected); - $.app.dispatch$1(action); - } else { - t2 = t4.store; - strands_selected = t2.get$state(t2).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); - if (!C.JSArray_methods.contains$1(strands_selected, t1._design_main_strand$_cachedTypedProps.get$strand())) - C.JSArray_methods.add$1(strands_selected, t1._design_main_strand$_cachedTypedProps.get$strand()); - action = U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands(strands_selected); - $.app.dispatch$1(action); - } - return null; + get$displayName(_) { + return "DesignMainDomainsMoving"; }, - $signature: 1 + get$$$defaultConsumedProps() { + return B.Map_LBiKm.get$values(B.Map_LBiKm); + } }; - M.DesignMainStrandComponent_context_menu_strand_closure12.prototype = { - call$0: function() { - var t1 = $.app, - t2 = M.get_selected_domains(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_context_menu_strand__closure2()), type$.legacy_UndoableAction), "remove domain names")); + A.$DesignMainDomainsMovingProps.prototype = {}; + A._DesignMainDomainsMovingComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps.prototype = {}; + A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps.prototype = {}; + A.DesignMainErrorBoundaryStateMixin.prototype = {}; + A.DesignMainErrorBoundaryComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(A.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand__closure2.prototype = { - call$1: function(d) { - return U._$SubstrandNameSet$_(null, type$.legacy_Domain._as(d)); + get$initialState() { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(true); + return t1; }, - $signature: 152 - }; - M.DesignMainStrandComponent_context_menu_strand_closure13.prototype = { - call$0: function() { - var t1 = $.app, - t2 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), - t3 = $.app.store; - return t1.dispatch$1(M.batch_if_multiple_selected(new M.DesignMainStrandComponent_context_menu_strand__closure1(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand label")); + getDerivedStateFromError$1(error) { + var t2, + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$hasError(true); + t2 = t1._design_main_error_boundary$_state; + t2.jsObject["DesignMainErrorBoundaryStateMixin.error"] = A.DartValueWrapper_wrapIfNeeded(error); + t1.set$showFallbackUIOnError(true); + return t1; }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand__closure1.prototype = { - call$1: function(strand) { - return U._$StrandLabelSet$_(null, strand); + componentDidCatch$2(error, info) { + var _this = this, + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$onComponentDidCatch() != null) + _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$onComponentDidCatch().call$2(error, info); + _this._design_main_error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); + if (_this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$onComponentIsUnrecoverable() != null) + _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$onComponentIsUnrecoverable().call$2(error, info); + }, + render$0(_) { + var error, t2, _this = this, + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedState_A._design_main_error_boundary$_state; + error = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["DesignMainErrorBoundaryStateMixin.error"]); + if (error == null) + error = null; + A.send_error("You have discovered a bug in scadnano. Please file a bug report as a GitHub issue at\n https://github.com/UC-Davis-molecular-computing/scadnano/issues\nand include the following information:\n\n" + A.S(J.toString$0$(error)) + "\n\nstack trace:\n" + A.S(error.get$stackTrace())); + return null; + } + t1 = $.$get$RecoverableErrorBoundary().call$0(); + t1.addTestId$1("RecoverableErrorBoundary"); + t1.modifyProps$1(_this.get$addUnconsumedProps()); + t2 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.call$1(t2.get$children(t2)); }, - $signature: 153 - }; - M.DesignMainStrandComponent_context_menu_strand_closure14.prototype = { - call$0: function() { - return this.$this.set_domain_labels$2(this.substrand, M.get_selected_domains()); + componentDidUpdate$3(prevProps, prevState, snapshot) { + var childThatCausedError, _this = this, + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + if (A.boolConversionCheck(t1.get$hasError())) { + t1 = A._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(prevProps); + t1 = t1.get$children(t1); + childThatCausedError = t1 == null ? null : J.get$single$ax(t1); + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$children(t1); + if (!J.$eq$(childThatCausedError, t1 == null ? null : J.get$single$ax(t1))) + _this.setState$1(0, _this.get$initialState()); + } }, - $signature: 1 - }; - M.DesignMainStrandComponent_context_menu_strand_closure15.prototype = { - call$0: function() { - var t1 = $.app, - t2 = M.get_selected_domains(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_context_menu_strand__closure0()), type$.legacy_UndoableAction), "remove domain labels")); + get$_design_main_error_boundary$_loggerName() { + var t1 = this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$logger() != null) + return this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$logger().name; + t1 = this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; }, - $signature: 1 + _design_main_error_boundary$_logErrorCaughtByErrorBoundary$2(error, info) { + var t2, t3, _this = this, + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$shouldLogErrors() != null) { + t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$shouldLogErrors(); + t1.toString; + t1 = !t1; + } else + t1 = false; + if (t1) + return; + t1 = J.getInterceptor$x(info); + t2 = A.S(t1.get$componentStack(info)); + t3 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A.get$logger(); + if (t3 == null) + t3 = A.Logger_Logger(_this.get$_design_main_error_boundary$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t3.toString; + t3.log$4(B.Level_SEVERE_1000, string$.An_unr + t2, error, type$.nullable_StackTrace._as(t1)); + } }; - M.DesignMainStrandComponent_context_menu_strand__closure0.prototype = { - call$1: function(d) { - return U._$SubstrandLabelSet$_(null, type$.legacy_Domain._as(d)); + A.$DesignMainErrorBoundaryComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainErrorBoundaryComponent(null); }, - $signature: 458 + $signature: 448 }; - M.DesignMainStrandComponent_context_menu_strand_closure16.prototype = { - call$0: function() { - return this.$this.reflect$2(true, false); + A._$$DesignMainErrorBoundaryProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 1 + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainErrorBoundaryComponentFactory() : t1; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure17.prototype = { - call$0: function() { - return this.$this.reflect$2(true, true); - }, - $signature: 1 + A._$$DesignMainErrorBoundaryProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_error_boundary$_props; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure18.prototype = { - call$0: function() { - return this.$this.reflect$2(false, false); - }, - $signature: 1 + A._$$DesignMainErrorBoundaryProps$JsMap.prototype = { + get$props(_) { + return this._design_main_error_boundary$_props; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure19.prototype = { - call$0: function() { - return this.$this.reflect$2(false, true); - }, - $signature: 1 + A._$$DesignMainErrorBoundaryState.prototype = { + get$$$isClassGenerated() { + return true; + } }; - M.DesignMainStrandComponent_context_menu_strand_closure20.prototype = { - call$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_context_menu_strand__closure(this.$this, this.strand), type$.void); - }, - $signature: 6 + A._$$DesignMainErrorBoundaryState$JsMap.prototype = { + get$state(_) { + return this._design_main_error_boundary$_state; + } }; - M.DesignMainStrandComponent_context_menu_strand__closure.prototype = { - call$0: function() { - return this.$this.ask_for_add_extension$1(this.strand); + A._$DesignMainErrorBoundaryComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - $signature: 6 - }; - M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure.prototype = { - call$1: function(element) { - var t1, t2; - type$.legacy_Strand._as(element); - t1 = this.all_strands; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].vendor_fields; - t1 = t1 == null ? null : t1.scale; - t2 = element.vendor_fields; - return t1 == (t2 == null ? null : t2.scale); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A = A._$$DesignMainErrorBoundaryProps$JsMap$(A.getBackingMap(value)); }, - $signature: 15 - }; - M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields == null; + typedPropsFactoryJs$1(backingMap) { + return A._$$DesignMainErrorBoundaryProps$JsMap$(backingMap); }, - $signature: 15 - }; - M.DesignMainStrandComponent_custom_scale_value_closure.prototype = { - call$1: function(element) { - var t1, t2; - type$.legacy_Strand._as(element); - t1 = this.all_strands; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].vendor_fields; - t1 = t1 == null ? null : t1.scale; - t2 = element.vendor_fields; - return t1 == (t2 == null ? null : t2.scale); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignMainErrorBoundaryComponent__cachedTypedState_A = A._$$DesignMainErrorBoundaryState$JsMap$(value); }, - $signature: 15 - }; - M.DesignMainStrandComponent_custom_purification_value_closure.prototype = { - call$1: function(element) { - var t1, t2; - type$.legacy_Strand._as(element); - t1 = this.all_strands; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].vendor_fields; - t1 = t1 == null ? null : t1.purification; - t2 = element.vendor_fields; - return t1 == (t2 == null ? null : t2.purification); + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$DesignMainErrorBoundaryState$JsMap(new A.JsBackedMap({}), null, $, $); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_state = backingMap; + return t1; }, - $signature: 15 - }; - M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure.prototype = { - call$1: function(element) { - var t1, t2; - type$.legacy_Strand._as(element); - t1 = this.all_strands; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].vendor_fields; - t1 = t1 == null ? null : t1.purification; - t2 = element.vendor_fields; - return t1 == (t2 == null ? null : t2.purification); + get$displayName(_) { + return "DesignMainErrorBoundary"; }, - $signature: 15 + get$$$defaultConsumedProps() { + return B.Map_EUkaS.get$values(B.Map_EUkaS); + } + }; + A.$DesignMainErrorBoundaryStateMixin.prototype = {}; + A._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = {}; + A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState.prototype = {}; + A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin.prototype = {}; + A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin.prototype = {}; + A.DesignMainHelicesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainHelicesComponent.prototype = { + render$0(_) { + var t2, only_display_selected_helices, group_views, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, first_helix_view_order, children, t13, t14, t15, t16, translate_svg, _this = this, _null = null, + _s29_ = "DesignMainHelicesProps.groups", + t1 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$helices()._map$_map._length === 0) + return _null; + t1 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMHcsi); + if (t1 == null) + t1 = _null; + type$.BuiltSet_int._as(t1); + t2 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMHco); + only_display_selected_helices = A._asBoolS(t2 == null ? _null : t2); + group_views = []; + for (t2 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$groups(), t2 = t2.get$keys(t2), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = type$.Geometry, t4 = type$.BuiltMap_String_HelixGroup, t5 = type$.BuiltMap_int_Helix, t6 = type$.BuiltMap_of_int_and_Point_double, t7 = type$.Point_double, t8 = type$.BuiltMap_of_String_and_BuiltList_int; t2.moveNext$0();) { + t9 = t2.__js_helper$_current; + t10 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s29_); + t10 = t4._as(t10 == null ? _null : t10)._map$_map.$index(0, t9); + t10.toString; + t11 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, string$.DesignMHchis); + t11 = t8._as(t11 == null ? _null : t11)._map$_map.$index(0, t9); + t11.toString; + t11 = t11._list; + if (t11.length === 0) + continue; + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.invert_y"); + first_helix_view_order = A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) ? t11.length - 1 : 0; + children = []; + for (t11 = new J.ArrayIterator(t11, t11.length, A._arrayInstanceType(t11)._eval$1("ArrayIterator<1>")); t11.moveNext$0();) { + t12 = t11.__interceptors$_current; + t13 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, "DesignMainHelicesProps.helices"); + t12 = t5._as(t13 == null ? _null : t13)._map$_map.$index(0, t12); + t12.toString; + t13 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s29_); + t13 = t4._as(t13 == null ? _null : t13)._map$_map.$index(0, t12.group); + t13.toString; + t14 = t13.__helices_view_order_inverse; + if (t14 == null) { + t14 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t13); + t13.set$__helices_view_order_inverse(t14); + t13 = t14; + } else + t13 = t14; + t14 = t12.idx; + t13 = t13._map$_map.$index(0, t14); + t13.toString; + A.boolConversionCheck(only_display_selected_helices); + if (only_display_selected_helices && t1._set.contains$1(0, t14) || !only_display_selected_helices) { + t15 = A.design_main_helix___$DesignMainHelix$closure().call$0(); + t15.toString; + t16 = J.getInterceptor$x(t15); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.helix", t12); + t12 = t1._set.contains$1(0, t14); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.selected", t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcmo); + t12 = A._asDoubleS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), string$.DesignMHxmo, t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcmw); + t12 = A._asDoubleS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), string$.DesignMHxmw, t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHchc); + t12 = A._asBoolS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), string$.DesignMHxh, t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.show_dna"); + t12 = A._asBoolS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.show_dna", t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcshd); + t12 = A._asBoolS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.show_domain_labels", t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcshh); + t12 = A._asBoolS(t12 == null ? _null : t12); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.show_helix_circles", t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcdb); + if (A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12))) { + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcdb_); + t12 = !A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) || t13 === first_helix_view_order; + } else + t12 = false; + J.$indexSet$ax(t16.get$props(t15), string$.DesignMHxdb, t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcdm); + if (A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12))) { + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHcdm_); + t12 = A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) || t13 === first_helix_view_order; + } else + t12 = false; + J.$indexSet$ax(t16.get$props(t15), string$.DesignMHxdm, t12); + t12 = B.JSInt_methods.toString$0(t14); + t13 = t16.get$props(t15); + J.$indexSet$ax(t13, "key", t12); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMHchi_); + t12 = t6._as(t12 == null ? _null : t12)._map$_map.$index(0, t14); + t12.toString; + t7._as(t12); + J.$indexSet$ax(t16.get$props(t15), "DesignMainHelixProps.helix_svg_position", t12); + children.push(t15.call$0()); + } + } + t11 = A.SvgProps$($.$get$g(), _null); + t9 = A.S(t9); + t12 = t11.props; + t13 = t12.jsObject; + t13.className = A.DartValueWrapper_wrapIfNeeded("helices-main-view-group-" + t9); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignMainHelicesProps.geometry"); + t14 = t3._as(t14 == null ? _null : t14); + t15 = t10.position; + t16 = t14.__nm_to_svg_pixels; + t14 = t16 == null ? t14.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t14) : t16; + translate_svg = A.Position3D_Position3D(t15.x * t14, t15.y * t14, t15.z * t14); + t13.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t10.pitch) + ")"); + t12.$indexSet(0, "key", t9); + group_views.push(t11.call$1(children)); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "helices-main-view"); + return t1.call$1(group_views); + } }; - M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields == null; + A.$DesignMainHelicesComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainHelicesComponent(null); }, - $signature: 15 + $signature: 449 }; - M.DesignMainStrandComponent_select_plate_number_closure.prototype = { - call$1: function(element) { - var t1, t2; - type$.legacy_Strand._as(element); - t1 = this.all_strands; - if (0 >= t1.length) - return H.ioore(t1, 0); - t1 = t1[0].vendor_fields; - t1 = t1 == null ? null : t1.plate; - t2 = element.vendor_fields; - return t1 == (t2 == null ? null : t2.plate); + A._$$DesignMainHelicesProps.prototype = { + get$$$isClassGenerated() { + return true; }, - $signature: 15 + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainHelicesComponentFactory() : t1; + } }; - M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields == null; - }, - $signature: 15 + A._$$DesignMainHelicesProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_helices$_props; + } }; - M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0.prototype = { - call$1: function(element) { - return type$.legacy_Strand._as(element).vendor_fields == null; - }, - $signature: 15 + A._$$DesignMainHelicesProps$JsMap.prototype = { + get$props(_) { + return this._design_main_helices$_props; + } }; - M.DesignMainStrandComponent_ask_for_domain_names_closure.prototype = { - call$1: function(d) { - return U._$SubstrandNameSet$_(this.name, type$.legacy_Domain._as(d)); + A._$DesignMainHelicesComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainHelicesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - $signature: 152 + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainHelicesComponent__cachedTypedProps_A = A._$$DesignMainHelicesProps$JsMap$(A.getBackingMap(value)); + }, + get$displayName(_) { + return "DesignMainHelices"; + }, + get$$$defaultConsumedProps() { + return B.Map_qZkMT.get$values(B.Map_qZkMT); + } }; - M.ask_for_label_closure.prototype = { - call$1: function(s) { - return U._$SubstrandLabelSet$_(this.label, type$.legacy_Substrand._as(this.T._eval$1("0*")._as(s))); + A.$DesignMainHelicesProps.prototype = { + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.helices"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); }, - $signature: function() { - return this.T._eval$1("SubstrandLabelSet*(0*)"); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); } }; - M.batch_if_multiple_selected_closure.prototype = { - call$1: function(b) { - var t1, t2; - type$.legacy_SetBuilder_legacy_Strand._as(b); - t1 = b.$ti._precomputed1; - t2 = t1._as(this.strand); - if (!$.$get$isSoundMode() && !t1._is(null)) - if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); - return b.get$_safeSet().add$1(0, t2); + A._DesignMainHelicesComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps.prototype = {}; + A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps.prototype = {}; + A.DesignMainHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainHelixComponent.prototype = { + render$0(_) { + var geometry, cx, t2, cy, width, height, y_start, width0, height0, x_start, vert_line_paths, idx, t3, t4, t5, t6, _this = this, _null = null, + _s20_ = "main-view-helix-text", + _s17_ = "helix-lines-group", + _s20_0 = "helix-invisible-rect", + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + geometry = t1.get$helix().geometry; + cx = -(2 * geometry.get$base_width_svg() + geometry.get$distance_between_helices_svg() / 2); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y; + t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().get$svg_height(); + if (typeof t1 !== "number") + return t1.$add(); + cy = t1 + t2 / 2; + width = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().get$svg_width(); + height = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().get$svg_height(); + t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); + y_start = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y; + width0 = t2.get$svg_width(); + height0 = t2.get$svg_height(); + x_start = t2.min_offset * _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().geometry.get$base_width_svg(); + if (typeof y_start !== "number") + return y_start.$add(); + t2 = A.S(x_start); + t1 = A.S(x_start + width0); + vert_line_paths = _this._vert_line_paths$2(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(), _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y); + idx = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx; + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$id(0, "helix-main-view-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t3.set$className(0, "helix-main-view"); + t4 = []; + if (A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_helix_circles())) { + t5 = A.SvgProps$($.$get$circle(), _null); + t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, "DesignMainHelixProps.selected"); + t5.set$className(0, "main-view-helix-circle " + (A.boolConversionCheck(A._asBoolS(t6 == null ? _null : t6)) ? "selected" : "")); + t5.set$onClick(0, new A.DesignMainHelixComponent_render_closure(_this)); + t5.set$id(0, "main-view-helix-circle-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t5.set$cx(0, A.S(cx)); + t5.set$cy(0, A.S(cy)); + t5.set$r(0, A.S(geometry.get$helix_radius_svg())); + t5.set$key(0, "main-view-helix-circle"); + t4.push(t5.call$0()); + } + if (A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_helix_circles())) { + t5 = A.SvgProps$($.$get$text(), _null); + t5.set$className(0, _s20_); + t5.set$onClick(0, new A.DesignMainHelixComponent_render_closure0(_this)); + t5.set$id(0, "main-view-helix-text-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t5.set$x(0, A.S(cx)); + t5.set$y(0, A.S(cy)); + t5.set$key(0, _s20_); + t4.push(t5.call$1("" + idx)); + } + t5 = A.SvgProps$($.$get$g(), _null); + t5.set$className(0, _s17_); + t5.set$key(0, _s17_); + t6 = A.SvgProps$($.$get$path(), _null); + t6.set$className(0, "helix-lines helix-horz-line"); + t6.set$d(0, "M " + t2 + " " + A.S(y_start) + " H " + t1 + " M " + t2 + " " + A.S(y_start + height0 / 2) + " H " + t1 + " M " + t2 + " " + A.S(y_start + height0) + " H " + t1); + t6.set$key(0, "helix-horz-lines"); + t6 = t6.call$0(); + t1 = A.SvgProps$($.$get$path(), _null); + t1.set$className(0, "helix-lines helix-vert-minor-line"); + t1.set$d(0, vert_line_paths.$index(0, "minor")); + t1.set$key(0, "helix-vert-minor-lines"); + t1 = t1.call$0(); + height0 = A.SvgProps$($.$get$path(), _null); + height0.set$className(0, "helix-lines helix-vert-major-line"); + height0.set$d(0, vert_line_paths.$index(0, "major")); + height0.set$key(0, "helix-vert-major-lines"); + t4.push(t5.call$3(t6, t1, height0.call$0())); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMHxdb); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) + t4.push(_this._major_tick_offsets_svg_group$0()); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMHxdm); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) + t4.push(_this._major_tick_widths_svg_group$0()); + t1 = A.SvgProps$($.$get$rect(), _null); + t1.set$onPointerDown(new A.DesignMainHelixComponent_render_closure1(_this, geometry)); + t1.set$onMouseLeave(0, new A.DesignMainHelixComponent_render_closure2()); + t1.set$onMouseEnter(0, new A.DesignMainHelixComponent_render_closure3(_this)); + t1.set$onMouseMove(0, new A.DesignMainHelixComponent_render_closure4(_this)); + t1.set$x(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().x); + t1.set$y(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y); + t1.set$width(0, A.S(width)); + t1.set$height(0, A.S(height)); + t1.set$className(0, _s20_0); + t1.set$key(0, _s20_0); + t4.push(t1.call$0()); + return t3.call$1(t4); }, - $signature: 106 + componentDidMount$0() { + var t1 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (A.boolConversionCheck(t1.get$show_helix_circles())) { + t1 = this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx; + t1 = document.querySelector("#" + ("helix-main-view-" + t1)); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + } + }, + componentWillUnmount$0() { + var _this = this, + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (A.boolConversionCheck(t1.get$show_helix_circles())) { + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx; + t1 = document.querySelector("#" + ("helix-main-view-" + t1)); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", _this.get$on_context_menu()); + } + _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1(ev) { + var t1, t2, t3, t4; + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + t1 = $.__app._readField$0(); + t2 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$helix(); + t3 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.DesignMHxh); + t2 = A.context_menu_helix(t2, A._asBoolS(t3 == null ? null : t3)); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); + } + }, + _major_tick_offsets_svg_group$0() { + var major_ticks, offset, offset_texts_elements, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null, + _s24_ = "major-tick-offsets-group", + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + major_ticks = t1.get$helix().get$calculate_major_ticks(); + offset = A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna()) ? 0 + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg() : 0; + if (A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels())) + offset += 1.2 * _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg(); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y; + if (typeof t1 !== "number") + return t1.$sub(); + offset_texts_elements = []; + for (t2 = major_ticks._list, t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")), t1 = A.S(t1 - (3 + offset)), t3 = type$.Helix; t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + if (typeof t4 !== "number") + return t4.$add(); + t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, "DesignMainHelixProps.helix"); + t5 = t3._as(t5 == null ? _null : t5).geometry; + t6 = t5.__base_width_svg; + t5 = t6 == null ? t5.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t5) : t6; + t6 = A.SvgProps$($.$get$text(), _null); + t7 = t6.props; + t8 = t7.jsObject; + t8.className = A.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-offset-text"); + t5 = A.S((t4 + 0.5) * t5); + t8.x = A.DartValueWrapper_wrapIfNeeded(t5); + t8.y = A.DartValueWrapper_wrapIfNeeded(t1); + t9 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMHxmo); + t9 = A._asDoubleS(t9 == null ? _null : t9); + t8.fontSize = A.DartValueWrapper_wrapIfNeeded(A.S(t9)); + t8.dominantBaseline = A.DartValueWrapper_wrapIfNeeded("baseline"); + t8.textAnchor = A.DartValueWrapper_wrapIfNeeded("middle"); + t7.$indexSet(0, "key", "main-view-helix-major-tick-offset-" + t5); + offset_texts_elements.push(t6.call$1(t4)); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s24_); + t1.set$key(0, _s24_); + return t1.call$1(offset_texts_elements); + }, + _major_tick_widths_svg_group$0() { + var major_ticks, offset, t2, offset_texts_elements, map_offset_to_distance, t3, i, i0, t4, left_base_offset, right_base_offset, t5, base, distance, t6, t7, t8, t9, _this = this, _null = null, + _s23_ = "major-tick-widths-group", + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + major_ticks = t1.get$helix().get$calculate_major_ticks(); + offset = A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna()) ? 0 + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg() : 0; + if (A.boolConversionCheck(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels())) + offset += _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg(); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y; + t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().get$svg_height(); + if (typeof t1 !== "number") + return t1.$add(); + offset_texts_elements = []; + map_offset_to_distance = A.LinkedHashMap_LinkedHashMap$_empty(type$.num, type$.int); + for (t3 = major_ticks._list, i = 0; i0 = i + 1, t4 = t3.length, i0 < t4; i = i0) { + if (!(i < t4)) + return A.ioore(t3, i); + left_base_offset = t3[i]; + right_base_offset = t3[i0]; + if (typeof right_base_offset !== "number") + return right_base_offset.$sub(); + if (typeof left_base_offset !== "number") + return A.iae(left_base_offset); + map_offset_to_distance.$indexSet(0, (right_base_offset + left_base_offset) / 2, right_base_offset - left_base_offset); + } + for (t3 = map_offset_to_distance.get$entries(map_offset_to_distance), t3 = t3.get$iterator(t3), t2 = A.S(t1 + t2 + 3 + offset), t1 = type$.Helix, t4 = type$.Point_double; t3.moveNext$0();) { + t5 = t3.get$current(t3); + base = t5.key; + distance = t5.value; + t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, "DesignMainHelixProps.helix_svg_position"); + t5 = t4._as(t5 == null ? _null : t5).x; + t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, "DesignMainHelixProps.helix"); + t6 = t1._as(t6 == null ? _null : t6).geometry; + t7 = t6.__base_width_svg; + t6 = t7 == null ? t6.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t6) : t7; + if (typeof base !== "number") + return base.$mul(); + if (typeof t5 !== "number") + return t5.$add(); + t7 = A.SvgProps$($.$get$text(), _null); + t8 = t7.props; + t9 = t8.jsObject; + t9.className = A.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-distance-text"); + t5 = A.S(t5 + base * t6); + t9.x = A.DartValueWrapper_wrapIfNeeded(t5); + t9.y = A.DartValueWrapper_wrapIfNeeded(t2); + t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, string$.DesignMHxmw); + t6 = A._asDoubleS(t6 == null ? _null : t6); + t9.fontSize = A.DartValueWrapper_wrapIfNeeded(A.S(t6)); + t9.dominantBaseline = A.DartValueWrapper_wrapIfNeeded("hanging"); + t9.textAnchor = A.DartValueWrapper_wrapIfNeeded("middle"); + t8.$indexSet(0, "key", "main-view-helix-major-tick-distance-" + t5); + B.JSArray_methods.addAll$1(offset_texts_elements, [t7.call$1(distance)]); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s23_); + t1.set$key(0, _s23_); + return t1.call$1(offset_texts_elements); + }, + _vert_line_paths$2(helix, helix_svg_position_y) { + var base, t2, t3, t4, t5, t6, path_cmds, + _s26_ = "DesignMainHelixProps.helix", + major_ticks = helix.get$calculate_major_ticks(), + t1 = type$.JSArray_String, + path_cmds_vert_minor = A._setArrayType([], t1), + path_cmds_vert_major = A._setArrayType([], t1); + for (base = helix.min_offset, t1 = helix.max_offset, t2 = type$.Helix, t3 = A.S(helix_svg_position_y), t4 = major_ticks._list; base <= t1; ++base) { + t5 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t5 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t5 = t5.get$props(t5).$index(0, _s26_); + t5 = t2._as(t5 == null ? null : t5).geometry; + t6 = t5.__base_width_svg; + t5 = t6 == null ? t5.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t5) : t6; + path_cmds = B.JSArray_methods.contains$1(t4, base) ? path_cmds_vert_major : path_cmds_vert_minor; + B.JSArray_methods.add$1(path_cmds, "M " + A.S(base * t5) + " " + t3); + t5 = helix.__svg_height; + B.JSArray_methods.add$1(path_cmds, "v " + A.S(t5 == null ? helix.__svg_height = A.Helix.prototype.get$svg_height.call(helix) : t5)); + t5 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, _s26_); + t5 = t2._as(t5 == null ? null : t5).geometry; + if (t5.__base_width_svg == null) + t5.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t5); + } + t1 = type$.String; + return A.LinkedHashMap_LinkedHashMap$_literal(["minor", B.JSArray_methods.join$1(path_cmds_vert_minor, " "), "major", B.JSArray_methods.join$1(path_cmds_vert_major, " ")], t1, t1); + }, + _handle_click$2($event, helix) { + var t1 = J.getInterceptor$x($event); + if (A.boolConversionCheck(t1.get$shiftKey($event))) + $.__app._readField$0().dispatch$1(A.HelixSelect_HelixSelect(helix.idx, false)); + else if (A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) + $.__app._readField$0().dispatch$1(A.HelixSelect_HelixSelect(helix.idx, true)); + } }; - M.get_selected_domains_closure.prototype = { - call$1: function(s) { - return type$.legacy_Strand._as(s).substrands; + A.DesignMainHelixComponent_render_closure.prototype = { + call$1(e) { + var t1, t2; + type$.SyntheticMouseEvent._as(e); + t1 = this.$this; + t2 = t1.___$DesignMainHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1._handle_click$2(e, t2.get$helix()); }, - $signature: 124 + $signature: 2 }; - M.get_selected_domains_closure0.prototype = { - call$1: function(l) { - return type$.legacy_BuiltList_legacy_Substrand._as(l); + A.DesignMainHelixComponent_render_closure0.prototype = { + call$1(e) { + var t1, t2; + type$.SyntheticMouseEvent._as(e); + t1 = this.$this; + t2 = t1.___$DesignMainHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1._handle_click$2(e, t2.get$helix()); }, - $signature: 125 + $signature: 2 }; - M.scaffold_set_strand_action_creator_closure.prototype = { - call$1: function(strand) { - return U._$ScaffoldSet$_(this.is_scaffold, strand); + A.DesignMainHelixComponent_render_closure1.prototype = { + call$1(event_syn) { + var t1, $event, t2, t3, address, _s5_ = "store"; + type$.SyntheticPointerEvent._as(event_syn); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = !t1.get$state(t1).ui_state.drawing_potential_crossover; + } else + t1 = false; + if (t1) { + $event = type$.MouseEvent._as(J.get$nativeEvent$x(event_syn)); + if ($event.button !== 0) + return; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = this.$this; + t3 = t2.___$DesignMainHelixComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t3 = t3.get$helix().group; + t3 = t1._map$_map.$index(0, t3); + t3.toString; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map.$index(0, t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t1.toString; + address = A.get_address_on_helix($event, t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(), t3, this.geometry, t1); + $.__app._readField$0().dispatch$1(A._$StrandCreateStart$_(address, $.$get$color_cycler().next$0(0))); + } }, - $signature: 459 + $signature: 17 }; - M.remove_dna_strand_action_creator_closure.prototype = { - call$1: function(strand) { - return U._$RemoveDNA$_(this.remove_all, this.remove_complements, strand); + A.DesignMainHelixComponent_render_closure2.prototype = { + call$1(_) { + var t1; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) + $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); + return null; }, - $signature: 460 + $signature: 2 }; - M.name_set_strand_action_creator_closure.prototype = { - call$1: function(strand) { - return U._$StrandNameSet$_(this.name, strand); + A.DesignMainHelixComponent_render_closure3.prototype = { + call$1($event) { + var t1, t2, t3; + type$.SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1.___$DesignMainHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$helix(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + t1 = t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map.$index(0, t1.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t1.toString; + return A.update_mouseover($event, t2, t1); }, - $signature: 151 + $signature: 2 }; - M.label_set_strand_action_creator_closure.prototype = { - call$1: function(strand) { - return U._$StrandLabelSet$_(this.label, strand); + A.DesignMainHelixComponent_render_closure4.prototype = { + call$1($event) { + var t1, t2, t3; + type$.SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1.___$DesignMainHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$helix(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + t1 = t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map.$index(0, t1.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t1.toString; + return A.update_mouseover($event, t2, t1); }, - $signature: 153 + $signature: 2 }; - M.$DesignMainStrandComponentFactory_closure.prototype = { - call$0: function() { - return new M._$DesignMainStrandComponent(null); + A.$DesignMainHelixComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainHelixComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 461 + $signature: 453 }; - M._$$DesignMainStrandProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainHelixProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainStrandComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainHelixComponentFactory() : t1; } }; - M._$$DesignMainStrandProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand$_props; + A._$$DesignMainHelixProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_helix$_props; } }; - M._$$DesignMainStrandProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand$_props; + A._$$DesignMainHelixProps$JsMap.prototype = { + get$props(_) { + return this._design_main_helix$_props; } }; - M._$DesignMainStrandComponent.prototype = { - get$props: function(_) { - return this._design_main_strand$_cachedTypedProps; + A._$DesignMainHelixComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand$_cachedTypedProps = M._$$DesignMainStrandProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainHelixComponent__cachedTypedProps_A = A._$$DesignMainHelixProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainStrand"; + get$displayName(_) { + return "DesignMainHelix"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2bMLw.get$values(C.Map_2bMLw); + get$$$defaultConsumedProps() { + return B.Map_4qS83.get$values(B.Map_4qS83); } }; - M.$DesignMainStrandPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.strand"); - if (t1 == null) - t1 = null; - return type$.legacy_Strand._as(t1); - }, - get$side_selected_helix_idxs: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrsi); + A.$DesignMainHelixProps.prototype = { + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix"); if (t1 == null) t1 = null; - return type$.legacy_BuiltSet_legacy_int._as(t1); + return type$.Helix._as(t1); }, - get$only_display_selected_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPro); - return H._asBoolS(t1 == null ? null : t1); + get$show_dna() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_dna"); + return A._asBoolS(t1 == null ? null : t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + get$show_domain_labels() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_domain_labels"); + return A._asBoolS(t1 == null ? null : t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.helices", value); + get$show_helix_circles() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_helix_circles"); + return A._asBoolS(t1 == null ? null : t1); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.groups"); + get$helix_svg_position() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix_svg_position"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.groups", value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.geometry"); + return type$.Point_double._as(t1); + } + }; + A._DesignMainHelixComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps.prototype = {}; + A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps.prototype = {}; + A.DesignMainLoopoutExtensionLengthProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainLoopoutExtensionLengthComponent.prototype = { + render$0(_) { + var style_map, $length, text_path_props, t2, t3, _this = this, _null = null, + _s24_ = "loopout-extension-length", + length_elts = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMLEPg); if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.geometry", value); + t1 = _null; + t1 = type$.Geometry._as(t1).get$base_width_svg(); + style_map = A.LinkedHashMap_LinkedHashMap$_literal(["fontSize", "9px"], type$.String, type$.dynamic); + $length = B.JSInt_methods.toString$0(_this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A.get$substrand().dna_length$0()); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + text_path_props.set$className(0, _s24_); + t2 = _this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A.get$substrand(); + text_path_props.set$xlinkHref("#" + t2.get$id(t2)); + text_path_props.set$startOffset(0, "50%"); + text_path_props.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(style_map)); + t2 = A.SvgProps$($.$get$text(), _null); + t3 = _this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A.get$substrand(); + t2.set$key(0, t3.get$id(t3)); + t2.set$dy(0, A.S(0.1 * t1)); + B.JSArray_methods.add$1(length_elts, t2.call$1(text_path_props.call$1($length))); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$className(0, _s24_); + return t2.call$1(length_elts); + } + }; + A.$DesignMainLoopoutExtensionLengthComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainLoopoutExtensionLengthComponent(null); }, - get$show_strand_names: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshsn); - return H._asBoolS(t1 == null ? null : t1); + $signature: 454 + }; + A._$$DesignMainLoopoutExtensionLengthProps.prototype = { + get$$$isClassGenerated() { + return true; }, - get$show_strand_labels: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshsl); - return H._asBoolS(t1 == null ? null : t1); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthComponentFactory() : t1; + } + }; + A._$$DesignMainLoopoutExtensionLengthProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_loopout_extension_length$_props; + } + }; + A._$$DesignMainLoopoutExtensionLengthProps$JsMap.prototype = { + get$props(_) { + return this._design_main_loopout_extension_length$_props; + } + }; + A._$DesignMainLoopoutExtensionLengthComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$show_domain_names: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshdn); - return H._asBoolS(t1 == null ? null : t1); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainLoopoutExtensionLengthComponent__cachedTypedProps_A = A._$$DesignMainLoopoutExtensionLengthProps$JsMap$(A.getBackingMap(value)); }, - get$show_domain_labels: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshdl); - return H._asBoolS(t1 == null ? null : t1); + get$displayName(_) { + return "DesignMainLoopoutExtensionLength"; }, - get$helix_idx_to_svg_position_map: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrh); + get$$$defaultConsumedProps() { + return B.Map_uQOHx.get$values(B.Map_uQOHx); + } + }; + A.$DesignMainLoopoutExtensionLengthProps.prototype = { + get$substrand() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEPs); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); - }, - get$retain_strand_color_on_selection: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrr); - return H._asBoolS(t1 == null ? null : t1); + return type$.Substrand._as(t1); + } + }; + A._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps.prototype = {}; + A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps.prototype = {}; + A.DesignMainLoopoutExtensionLengthsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainLoopoutExtensionLengthsComponent.prototype = { + render$0(_) { + var elts, t2, idx, t3, t4, t5, t6, t7, idx0, _null = null, + t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMLEssh); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + elts = []; + t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMLEsst); + if (t1 == null) + t1 = _null; + t1 = type$.BuiltList_Strand._as(t1)._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.Geometry; + idx = 0; + for (; t1.moveNext$0();) + for (t3 = t1.__interceptors$_current.substrands._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")); t3.moveNext$0();) { + t4 = t3.__interceptors$_current; + if (t4 instanceof A.Loopout || t4 instanceof A.Extension) { + t5 = A.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure().call$0(); + t6 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, string$.DesignMLEsg); + t6 = t2._as(t6 == null ? _null : t6); + t5.toString; + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMLEPg, t6); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMLEPs, t4); + idx0 = idx + 1; + t4 = t7.get$props(t5); + J.$indexSet$ax(t4, "key", "" + idx); + J.$indexSet$ax(t7.get$props(t5), "className", "loopout-extension-length-elts"); + elts.push(t5.call$0()); + idx = idx0; + } + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "loopout-extension-lengths-main-view"); + return t1.call$1(elts); + } } }; - M._DesignMainStrandComponent_UiComponent2_PureComponent.prototype = {}; - M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.$DesignMainLoopoutExtensionLengthsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainLoopoutExtensionLengthsComponent(null); }, - set$groups: function(groups) { - this.DesignMainStrandPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + $signature: 455 + }; + A._$$DesignMainLoopoutExtensionLengthsProps.prototype = { + get$$$isClassGenerated() { + return true; }, - set$geometry: function(_, geometry) { - this.DesignMainStrandPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthsComponentFactory() : t1; + } + }; + A._$$DesignMainLoopoutExtensionLengthsProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_loopout_extension_lengths$_props; + } + }; + A._$$DesignMainLoopoutExtensionLengthsProps$JsMap.prototype = { + get$props(_) { + return this._design_main_loopout_extension_lengths$_props; + } + }; + A._$DesignMainLoopoutExtensionLengthsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandPropsMixin_helices; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A = A._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - return this.DesignMainStrandPropsMixin_groups; + get$displayName(_) { + return "DesignMainLoopoutExtensionLengths"; }, - get$geometry: function(receiver) { - return this.DesignMainStrandPropsMixin_geometry; + get$$$defaultConsumedProps() { + return B.Map_46dDt.get$values(B.Map_46dDt); } }; - M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin.prototype = {}; - M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.$DesignMainLoopoutExtensionLengthsProps.prototype = {}; + A._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps.prototype = {}; + A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps.prototype = {}; + A.DesignMainPotentialVerticalCrossoverProps.prototype = { + get$helices() { + var t1 = this.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + get$groups() { + var t1 = this.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + get$geometry(_) { + var t1 = this.DesignMainPotentialVerticalCrossoverProps___DesignMainPotentialVerticalCrossoverProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainPotentialVerticalCrossoverComponent.prototype = { + render$0(_) { + var prev_domain, next_domain, t0, t2, t3, prev_group, t4, t5, t6, path, color, path_props, _this = this, _null = null, + t1 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMPPp); + if (t1 == null) + t1 = _null; + type$.PotentialVerticalCrossover._as(t1); + prev_domain = t1.domain_top; + next_domain = t1.domain_bot; + if (t1.dna_end_top.is_5p) { + t0 = next_domain; + next_domain = prev_domain; + prev_domain = t0; + } + t2 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices(); + t3 = prev_domain.helix; + prev_group = t2._map$_map.$index(0, t3).group; + t2 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices(); + t4 = next_domain.helix; + if (prev_group !== t2._map$_map.$index(0, t4).group) + return _null; + t2 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices(); + t5 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A; + t5 = t5.get$geometry(t5); + t6 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t3); + t6.toString; + t4 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t4); + t4.toString; + path = A.crossover_path_description_within_group(prev_domain, next_domain, t2, t5, t6, t4); + color = t1.color; + path_props = A.SvgProps$($.$get$path(), _null); + path_props.set$d(0, path); + path_props.set$stroke(0, color); + path_props.set$className(0, "potential-vertical-crossover-curve"); + path_props.set$transform(0, A.transform_of_helix2(_this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A, t3, type$.DesignMainPotentialVerticalCrossoverProps)); + path_props.set$onPointerDown(new A.DesignMainPotentialVerticalCrossoverComponent_render_closure(t1)); + return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1("click to add a crossover")); + } + }; + A.DesignMainPotentialVerticalCrossoverComponent_render_closure.prototype = { + call$1(ev) { + var t1; + if (J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(ev))), 0)) { + t1 = this.crossover; + $.__app._readField$0().dispatch$1(A._$JoinStrandsByCrossover$_(t1.dna_end_top, t1.dna_end_bot)); + } }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + $signature: 17 + }; + A.$DesignMainPotentialVerticalCrossoverComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainPotentialVerticalCrossoverComponent(null); }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } + $signature: 456 }; - M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - S.DesignMainStrandAndDomainTextsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandAndDomainTextsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A._$$DesignMainPotentialVerticalCrossoverProps.prototype = { + get$$$isClassGenerated() { + return true; }, - set$groups: function(groups) { - this.DesignMainStrandAndDomainTextsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoverComponentFactory() : t1; }, - set$geometry: function(_, geometry) { - this.DesignMainStrandAndDomainTextsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + $isTransformByHelixGroupPropsMixin: 1 + }; + A._$$DesignMainPotentialVerticalCrossoverProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_potential_vertical_crossover$_props; + } + }; + A._$$DesignMainPotentialVerticalCrossoverProps$JsMap.prototype = { + get$props(_) { + return this._design_main_potential_vertical_crossover$_props; + } + }; + A._$DesignMainPotentialVerticalCrossoverComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandAndDomainTextsPropsMixin_helices; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A = A._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - return this.DesignMainStrandAndDomainTextsPropsMixin_groups; + get$displayName(_) { + return "DesignMainPotentialVerticalCrossover"; }, - get$geometry: function(receiver) { - return this.DesignMainStrandAndDomainTextsPropsMixin_geometry; + get$$$defaultConsumedProps() { + return B.Map_jdsUL.get$values(B.Map_jdsUL); } }; - S.DesignMainStrandAndDomainTextsComponent.prototype = { - render$0: function(_) { - var text_components, strand_name_component, strand_label_component, domain_name_components, t1, domain_label_components, _this = this, _null = null, - _s12_ = "domain-names", - _s13_ = "domain-labels"; - if (!(H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_labels()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels()))) - return _null; - text_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names())) { - strand_name_component = _this._draw_strand_name$0(); - if (strand_name_component != null) - C.JSArray_methods.add$1(text_components, strand_name_component); - } - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_labels())) { - strand_label_component = _this._draw_strand_label$0(); - if (strand_label_component != null) - C.JSArray_methods.add$1(text_components, strand_label_component); - } - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) { - domain_name_components = _this._draw_domain_names$0(); - if (domain_name_components.length !== 0) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s12_); - t1.set$key(0, _s12_); - C.JSArray_methods.add$1(text_components, t1.call$1(domain_name_components)); - } - } - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) { - domain_label_components = _this._draw_domain_labels$0(); - if (domain_label_components.length !== 0) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, _s13_); - t1.set$key(0, _s13_); - C.JSArray_methods.add$1(text_components, t1.call$1(domain_label_components)); + A.$DesignMainPotentialVerticalCrossoverProps.prototype = { + get$helices() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPPhc); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); + }, + get$groups() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPPgr); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); + }, + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPPge); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); + }, + get$helix_idx_to_svg_position_y_map() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPPhx); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_double._as(t1); + } + }; + A._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps.prototype = {}; + A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps.prototype = {}; + A.DesignMainPotentialVerticalCrossoversProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainPotentialVerticalCrossoversComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, idx_top, idx_bot, t12, t13, t14, helices_of_crossover, group_top, group_bot, groups_of_crossover, _this = this, _null = null, + crossover_components = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMPsp); + if (t1 == null) + t1 = _null; + t1 = type$.BuiltList_PotentialVerticalCrossover._as(t1)._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.BuiltMap_int_Helix; + t3 = type$.int; + t4 = type$.Helix; + t5 = type$.BuiltSet_int; + t6 = type$.BuiltMap_int_double; + t7 = type$.Geometry; + t8 = type$.BuiltMap_String_HelixGroup; + t9 = type$.String; + t10 = type$.HelixGroup; + for (; t1.moveNext$0();) { + t11 = t1.__interceptors$_current; + idx_top = t11.helix_idx_top; + idx_bot = t11.helix_idx_bot; + t12 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMPso); + if (A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12))) { + t12 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMPss); + t12 = !t5._as(t12 == null ? _null : t12)._set.containsAll$1([idx_bot, idx_top]); + } else + t12 = false; + if (t12) + continue; + t12 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMPshc); + t12 = t2._as(t12 == null ? _null : t12); + t13 = t12._map$_map; + t14 = A._instanceType(t12); + t14 = t14._eval$1("@<1>")._bind$1(t14._rest[1]); + t13 = new A.CopyOnWriteMap(t12._mapFactory, t13, t14._eval$1("CopyOnWriteMap<1,2>")); + t14 = t14._eval$1("bool(1,2)")._as(new A.DesignMainPotentialVerticalCrossoversComponent_render_closure(idx_top, idx_bot)); + t13._maybeCopyBeforeWrite$0(); + t12 = t13._copy_on_write_map$_map; + t12.removeWhere$1(t12, t14); + helices_of_crossover = A.BuiltMap_BuiltMap$of(t13, t3, t4); + t13 = helices_of_crossover._map$_map; + group_top = t13.$index(0, idx_top).group; + group_bot = t13.$index(0, idx_bot).group; + if (group_top === group_bot) { + t12 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMPsgr); + t12 = t8._as(t12 == null ? _null : t12)._map$_map.$index(0, group_bot); + t12.toString; + groups_of_crossover = A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([group_bot, t12], t9, t10), t9, t10); + t12 = A.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure().call$0(); + t12.toString; + t13 = J.getInterceptor$x(t12); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMPPp, t11); + t2._as(helices_of_crossover); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMPPhc, helices_of_crossover); + t8._as(groups_of_crossover); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMPPgr, groups_of_crossover); + t14 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, string$.DesignMPsge); + t14 = t7._as(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMPPge, t14); + t14 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, string$.DesignMPshx); + t14 = t6._as(t6._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMPPhx, t14); + t11 = t11.dna_end_top; + t14 = t11._dna_end$__id; + t11 = t14 == null ? t11._dna_end$__id = A.DNAEnd.prototype.get$id.call(t11, t11) : t14; + t13 = t13.get$props(t12); + J.$indexSet$ax(t13, "key", t11); + B.JSArray_methods.add$1(crossover_components, t12.call$0()); } } - if (text_components.length === 0) - return _null; t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "domain-and-strand-names"); - return t1.call$1(text_components); + t1.set$className(0, "potential-vertical-crossovers"); + return t1.call$1(crossover_components); + } + }; + A.DesignMainPotentialVerticalCrossoversComponent_render_closure.prototype = { + call$2(idx, _) { + A._asIntS(idx); + type$.Helix._as(_); + return !(idx === this.idx_top || idx === this.idx_bot); }, - _draw_strand_name$0: function() { - var domain_5p, t1, t2, draw_domain, helix_svg_position, helix, num_stacked, t3, t4, strand_name_component, _this = this, - _s11_ = "strand-name"; - if (_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name == null) - return null; - domain_5p = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().get$first_domain(); - t1 = domain_5p.helix; - t2 = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$side_selected_helix_idxs(); - draw_domain = !H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); - helix_svg_position = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helix_idx_to_svg_position()._map$_map, t1); - if (draw_domain && _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name != null) { - helix = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helices()._map$_map, t1); - num_stacked = H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_dna()) ? 1 : 0; - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) - ++num_stacked; - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) - ++num_stacked; - t2 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t2.set$strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand()); - t3 = J.getInterceptor$z(t2); - t3.set$domain(t2, domain_5p); - t3.set$text(t2, _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name); - t2.set$num_stacked(num_stacked); - t2.set$css_selector_text(_s11_); - t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStAst_n); - t2.set$font_size(H._asIntS(t4 == null ? null : t4)); - t2.set$helix(helix); - t2.set$helix_groups(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$groups()); - t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t3.set$geometry(t2, t4.get$geometry(t4)); - t3.set$transform(t2, _this.transform_of_helix$1(t1)); - t2.set$helix_svg_position(helix_svg_position); - t2.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); - t3.set$key(t2, _s11_); - strand_name_component = t2.call$0(); - } else - strand_name_component = null; - return strand_name_component; + $signature: 78 + }; + A.$DesignMainPotentialVerticalCrossoversComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainPotentialVerticalCrossoversComponent(null); }, - _draw_strand_label$0: function() { - var domain_5p, t1, t2, draw_domain, helix_svg_position, helix, num_stacked, t3, t4, strand_label_component, _this = this, - _s12_ = "strand-label"; - if (_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label == null) - return null; - domain_5p = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().get$first_domain(); - t1 = domain_5p.helix; - t2 = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$side_selected_helix_idxs(); - draw_domain = !H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); - helix_svg_position = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helix_idx_to_svg_position()._map$_map, t1); - if (draw_domain && _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label != null) { - helix = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helices()._map$_map, t1); - num_stacked = H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_dna()) ? 1 : 0; - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names())) - ++num_stacked; - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) - ++num_stacked; - if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) - ++num_stacked; - t2 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t2.set$strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand()); - t3 = J.getInterceptor$z(t2); - t3.set$domain(t2, domain_5p); - t3.set$text(t2, _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label); - t2.set$num_stacked(num_stacked); - t2.set$css_selector_text(_s12_); - t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStAst_l); - t2.set$font_size(H._asIntS(t4 == null ? null : t4)); - t2.set$helix(helix); - t2.set$helix_groups(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$groups()); - t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t3.set$geometry(t2, t4.get$geometry(t4)); - t3.set$transform(t2, _this.transform_of_helix$1(t1)); - t2.set$helix_svg_position(helix_svg_position); - t2.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); - t3.set$key(t2, _s12_); - strand_label_component = t2.call$0(); - } else - strand_label_component = null; - return strand_label_component; + $signature: 457 + }; + A._$$DesignMainPotentialVerticalCrossoversProps.prototype = { + get$$$isClassGenerated() { + return true; }, - _draw_domain_names$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, helix, helix_svg_position, num_stacked, t14, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, - _s65_ = string$.DesignMStAsi, - _s70_ = string$.DesignMStAo, - _s49_ = string$.DesignMStAshdn, - _s47_ = string$.DesignMStAst, - _s40_ = "TransformByHelixGroupPropsMixin.geometry", - _s62_ = string$.DesignMStAdn, - names = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$iterator$ax(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().substrands._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_Geometry, t4 = type$.legacy_Strand, t5 = type$.legacy_Domain, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t9 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, i = 0; t1.moveNext$0();) { - t10 = t1.get$current(t1); - if (t10 instanceof G.Domain) { - t11 = t10.helix; - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s65_); - t12 = t2._as(t12 == null ? _null : t12); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s70_); - if ((!H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.name != null) { - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); - helix = J.$index$asx(t9._as(t12 == null ? _null : t12)._map$_map, t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, string$.DesignMStAhx); - helix_svg_position = J.$index$asx(t8._as(t12 == null ? _null : t12)._map$_map, t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) ? 1 : 0; - t12 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s47_); - t13 = t4._as(t13 == null ? _null : t13); - t12.toString; - t14 = J.getInterceptor$x(t12); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDos, t13); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDod, t10); - t10 = t10.name; - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDote, t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDon, num_stacked); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDocs, "domain-name"); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh, helix); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.groups"); - t10 = t7._as(t7._as(t10 == null ? _null : t10)); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_g, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s40_); - t10 = t3._as(t10 == null ? _null : t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDog, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t10 = H._asIntS(t10 == null ? _null : t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDof, t10); - t11 = _this.transform_of_helix$1(t11); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDotr, t11); - t6._as(helix_svg_position); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_s, helix_svg_position); - t12.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); - t11 = "domain-name-" + i; - t14 = t14.get$props(t12); - J.$indexSet$ax(t14, "key", t11); - C.JSArray_methods.add$1(names, t12.call$0()); - } - } else if (t10 instanceof G.Loopout) { - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s47_); - prev_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i - 1)); - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s47_); - next_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i + 1)); - prev_helix_idx = prev_domain.helix; - next_helix_idx = next_domain.helix; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s65_); - t11 = t2._as(t11 == null ? _null : t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s70_); - t12 = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)); - if (!t12 || t11._set.contains$1(0, prev_helix_idx)) - draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); - else - draw_loopout = false; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; - if (draw_loopout && t10.name != null) { - t11 = S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); - t11.toString; - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLl, t10); - t10 = t10.name; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLt, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s40_); - t10 = t3._as(t10 == null ? _null : t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t10 = H._asIntS(t10 == null ? _null : t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-name"); - t10 = "loopout-name-" + i; - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", t10); - C.JSArray_methods.add$1(names, t11.call$0()); - } - } else if (t10 instanceof S.Extension) { - adj_helix_idx = t10.adjacent_domain.helix; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s65_); - t11 = t2._as(t11 == null ? _null : t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s70_); - draw_ext = !H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; - if (draw_ext && t10.name != null) { - t11 = R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); - t11.toString; - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEe, t10); - t10 = t10.name; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEt, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s40_); - t10 = t3._as(t10 == null ? _null : t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t10 = H._asIntS(t10 == null ? _null : t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "loopout-label"); - t10 = "extension-name-" + i; - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", t10); - C.JSArray_methods.add$1(names, t11.call$0()); - } - } else - throw H.wrapException(P.AssertionError$(string$.substr)); - ++i; - } - return names; - }, - _draw_domain_labels$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, helix, helix_svg_position, num_stacked, t14, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, - _s65_ = string$.DesignMStAsi, - _s70_ = string$.DesignMStAo, - _s49_ = string$.DesignMStAshdn, - _s58_ = string$.DesignMStAshdon, - _s47_ = string$.DesignMStAst, - _s12_ = "domain-label", - _s40_ = "TransformByHelixGroupPropsMixin.geometry", - _s62_ = string$.DesignMStAdn, - names = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$iterator$ax(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().substrands._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_Geometry, t4 = type$.legacy_Strand, t5 = type$.legacy_Domain, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t9 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, i = 0; t1.moveNext$0();) { - t10 = t1.get$current(t1); - if (t10 instanceof G.Domain) { - t11 = t10.helix; - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s65_); - t12 = t2._as(t12 == null ? _null : t12); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s70_); - if ((!H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.label != null) { - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); - helix = J.$index$asx(t9._as(t12 == null ? _null : t12)._map$_map, t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, string$.DesignMStAhx); - helix_svg_position = J.$index$asx(t8._as(t12 == null ? _null : t12)._map$_map, t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) ? 1 : 0; - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s58_); - if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) - ++num_stacked; - t12 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s47_); - t13 = t4._as(t13 == null ? _null : t13); - t12.toString; - t14 = J.getInterceptor$x(t12); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDos, t13); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDod, t10); - t10 = t10.label; - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDote, t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDon, num_stacked); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDocs, _s12_); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh, helix); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.groups"); - t10 = t7._as(t7._as(t10 == null ? _null : t10)); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_g, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s40_); - t10 = t3._as(t10 == null ? _null : t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDog, t10); - t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t10 = H._asIntS(t10 == null ? _null : t10); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDof, t10); - t11 = _this.transform_of_helix$1(t11); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDotr, t11); - t6._as(helix_svg_position); - J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_s, helix_svg_position); - t12.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); - J.$indexSet$ax(t14.get$props(t12), "className", _s12_); - t11 = "domain-label-" + i; - t14 = t14.get$props(t12); - J.$indexSet$ax(t14, "key", t11); - C.JSArray_methods.add$1(names, t12.call$0()); - } - } else if (t10 instanceof G.Loopout) { - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s47_); - prev_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i - 1)); - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s47_); - next_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i + 1)); - prev_helix_idx = prev_domain.helix; - next_helix_idx = next_domain.helix; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s65_); - t11 = t2._as(t11 == null ? _null : t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s70_); - t12 = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)); - if (!t12 || t11._set.contains$1(0, prev_helix_idx)) - draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); - else - draw_loopout = false; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s58_); - if (H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11))) - ++num_stacked; - if (draw_loopout && t10.label != null) { - t11 = S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); - t11.toString; - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLl, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s40_); - t13 = t3._as(t13 == null ? _null : t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t13); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s62_); - t13 = H._asIntS(t13 == null ? _null : t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t13); - t10 = t10.label; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLt, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-label"); - t10 = "loopout-label-" + i; - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", t10); - C.JSArray_methods.add$1(names, t11.call$0()); - } - } else if (t10 instanceof S.Extension) { - adj_helix_idx = t10.adjacent_domain.helix; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s65_); - t11 = t2._as(t11 == null ? _null : t11); - t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s70_); - draw_ext = !H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s49_); - num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; - t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s58_); - if (H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11))) - ++num_stacked; - if (draw_ext && t10.label != null) { - t11 = R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); - t11.toString; - t12 = J.getInterceptor$x(t11); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEe, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s40_); - t13 = t3._as(t13 == null ? _null : t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t13); - t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s62_); - t13 = H._asIntS(t13 == null ? _null : t13); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t13); - t10 = t10.label; - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEt, t10); - J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "extension-label"); - t10 = "extension-label-" + i; - t12 = t12.get$props(t11); - J.$indexSet$ax(t12, "key", t10); - C.JSArray_methods.add$1(names, t11.call$0()); - } - } else - throw H.wrapException(P.AssertionError$(string$.substr)); - ++i; - } - return names; - } - }; - S.$DesignMainStrandAndDomainTextsComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignMainStrandAndDomainTextsComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 462 - }; - S._$$DesignMainStrandAndDomainTextsProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainStrandAndDomainTextsComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoversComponentFactory() : t1; } }; - S._$$DesignMainStrandAndDomainTextsProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_and_domain_texts$_props; + A._$$DesignMainPotentialVerticalCrossoversProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_potential_vertical_crossovers$_props; } }; - S._$$DesignMainStrandAndDomainTextsProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_and_domain_texts$_props; + A._$$DesignMainPotentialVerticalCrossoversProps$JsMap.prototype = { + get$props(_) { + return this._design_main_potential_vertical_crossovers$_props; } }; - S._$DesignMainStrandAndDomainTextsComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_and_domain_texts$_cachedTypedProps; + A._$DesignMainPotentialVerticalCrossoversComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_and_domain_texts$_cachedTypedProps = S._$$DesignMainStrandAndDomainTextsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A = A._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainStrandAndDomainTexts"; + get$displayName(_) { + return "DesignMainPotentialVerticalCrossovers"; }, - get$$$defaultConsumedProps: function() { - return C.Map_k6K6o.get$values(C.Map_k6K6o); + get$$$defaultConsumedProps() { + return B.Map_C8f7G.get$values(B.Map_C8f7G); } }; - S.$DesignMainStrandAndDomainTextsPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAst); - if (t1 == null) - t1 = null; - return type$.legacy_Strand._as(t1); - }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhc); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStAhc, value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAgr); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStAgr, value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAge); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStAge, value); - }, - get$side_selected_helix_idxs: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAsi); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltSet_legacy_int._as(t1); - }, - get$only_display_selected_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAo); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_dna: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdn); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_strand_names: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsn); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_strand_labels: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsl); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_domain_names: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdon); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_domain_labels: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdol); - return H._asBoolS(t1 == null ? null : t1); - }, - get$helix_idx_to_svg_position: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhx); + A.$DesignMainPotentialVerticalCrossoversProps.prototype = {}; + A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps.prototype = {}; + A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps.prototype = {}; + A.DesignMainSliceBarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainSliceBarComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, displayed_helices_min_y, displayed_helices_max_y, t6, t7, t8, side_selected_helix_idxs, y, geometry, slice_bar_svg_width, slice_bar_y, slice_bar, offset_text, _this = this, _null = null, + t1 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMSlhs); if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); - }, - get$context_menu_strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAc); + t1 = _null; + type$.BuiltMap_of_String_and_BuiltList_int._as(t1); + t2 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$displayed_group_name(); + t2 = t1._map$_map.$index(0, t2); + t2.toString; + for (t1 = t2._list, t2 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t3 = type$.BuiltSet_int, t4 = type$.BuiltMap_int_Helix, t5 = type$.BuiltMap_of_int_and_Point_double, displayed_helices_min_y = 1 / 0, displayed_helices_max_y = -1 / 0; t2.moveNext$0();) { + t6 = t2.__interceptors$_current; + t7 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "DesignMainSliceBarProps.helices"); + t7 = t4._as(t7 == null ? _null : t7)._map$_map.$index(0, t6); + t7.toString; + t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMSls); + side_selected_helix_idxs = t3._as(t8 == null ? _null : t8); + t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMSlo); + t8 = A.boolConversionCheck(A._asBoolS(t8 == null ? _null : t8)); + if (t8 && side_selected_helix_idxs._set.contains$1(0, t7.idx) || !t8) { + t7 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, string$.DesignMSlh_); + y = t5._as(t7 == null ? _null : t7)._map$_map.$index(0, t6).y; + displayed_helices_max_y = Math.max(displayed_helices_max_y, A.checkNum(y)); + displayed_helices_min_y = Math.min(displayed_helices_min_y, A.checkNum(y)); + } + } + if (displayed_helices_min_y === 1 / 0) + return _null; + t2 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + geometry = t2.get$geometry(t2); + slice_bar_svg_width = geometry.get$base_width_svg(); + t2 = geometry.__helix_diameter_svg; + if (t2 == null) + t2 = geometry.__helix_diameter_svg = A.Geometry.prototype.get$helix_diameter_svg.call(geometry); + t3 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$helices(); + t4 = B.JSArray_methods.get$first(t1); + t4 = t3._map$_map.$index(0, t4); + t4.toString; + t3 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$slice_bar_offset(); + t5 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map(); + t1 = B.JSArray_methods.get$first(t1); + t1 = t4.svg_base_pos$3(t3, true, t5._map$_map.$index(0, t1).y).x; + t5 = geometry.get$base_width_svg(); + if (typeof t1 !== "number") + return t1.$sub(); + slice_bar_y = displayed_helices_min_y - geometry.get$helix_radius_svg() + geometry.get$base_height_svg(); + t3 = A.SvgProps$($.$get$rect(), _null); + t3.set$onPointerDown(new A.DesignMainSliceBarComponent_render_closure()); + t3.set$width(0, slice_bar_svg_width); + t3.set$height(0, displayed_helices_max_y - displayed_helices_min_y + t2); + t3.set$x(0, t1 - t5 / 2); + t3.set$y(0, slice_bar_y); + slice_bar = t3.call$0(); + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$x(0, t1); + t3.set$y(0, slice_bar_y - 5); + offset_text = t3.call$1(_this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$slice_bar_offset()); + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$className(0, "slice-bar-rect"); + t1 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainSliceBarProps.groups"); if (t1 == null) - t1 = null; - return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); - } - }; - S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent.prototype = {}; - S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandAndDomainTextsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandAndDomainTextsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandAndDomainTextsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainStrandAndDomainTextsPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainStrandAndDomainTextsPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandAndDomainTextsPropsMixin_geometry; - } - }; - S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin.prototype = {}; - S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + t1 = _null; + type$.BuiltMap_String_HelixGroup._as(t1); + t2 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$displayed_group_name(); + t2 = t1._map$_map.$index(0, t2); + t2.toString; + t1 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t3.set$transform(0, t2.transform_str$1(t1.get$geometry(t1))); + t3.set$key(0, "slice-bar"); + return t3.call$2(slice_bar, offset_text); } }; - S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - R.DesignMainStrandCreatingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandCreatingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandCreatingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandCreatingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainStrandCreatingPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainStrandCreatingPropsMixin_groups; + A.DesignMainSliceBarComponent_render_closure.prototype = { + call$1(_) { + var t1; + type$.SyntheticPointerEvent._as(_); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_SliceBarMoveStartBuilder._as(null); + t1.dispatch$1(new A.SliceBarMoveStartBuilder()._build$0()); }, - get$geometry: function(receiver) { - return this.DesignMainStrandCreatingPropsMixin_geometry; - } - }; - R.DesignMainStrandCreatingComponent.prototype = { - render$0: function(_) { - var t3, start_svg, end_svg, t4, t5, t6, t7, _this = this, _null = null, - t1 = _this._design_main_strand_creating$_cachedTypedProps.get$helix(), - t2 = _this._design_main_strand_creating$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingPropsMixin.start"); - t2 = H._asIntS(t2 == null ? _null : t2); - t3 = _this._design_main_strand_creating$_cachedTypedProps; - start_svg = t1.svg_base_pos$3(t2, t3.get$forward(t3), _this._design_main_strand_creating$_cachedTypedProps.get$svg_position_y()); - t3 = _this._design_main_strand_creating$_cachedTypedProps.get$helix(); - t2 = _this._design_main_strand_creating$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingPropsMixin.end"); - t1 = H._asIntS(t2 == null ? _null : t2); - if (typeof t1 !== "number") - return t1.$sub(); - t2 = _this._design_main_strand_creating$_cachedTypedProps; - end_svg = t3.svg_base_pos$3(t1 - 1, t2.get$forward(t2), _this._design_main_strand_creating$_cachedTypedProps.get$svg_position_y()); - t2 = A.SvgProps$($.$get$g(), _null); - t2.set$className(0, "strand-creating"); - t2.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_creating$_cachedTypedProps.get$helix().idx)); - t1 = A.SvgProps$($.$get$line(), _null); - t3 = _this._design_main_strand_creating$_cachedTypedProps; - t3 = t3.get$color(t3).toHexColor$0(); - t1.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); - t1.set$x1(0, H.S(start_svg.x)); - t1.set$y1(0, H.S(start_svg.y)); - t1.set$x2(0, H.S(end_svg.x)); - t1.set$y2(0, H.S(end_svg.y)); - t1.set$key(0, "line"); - t1.set$className(0, "domain-line"); - t1 = t1.call$0(); - t3 = A.lib_5p_end___$End5Prime$closure().call$0(); - t3.set$classname("five-prime-end-first-substrand"); - t4 = _this._design_main_strand_creating$_cachedTypedProps; - t3.set$pos(H.boolConversionCheck(t4.get$forward(t4)) ? start_svg : end_svg); - t5 = _this._design_main_strand_creating$_cachedTypedProps; - t6 = J.getInterceptor$z(t3); - t6.set$color(t3, t5.get$color(t5)); - t5 = _this._design_main_strand_creating$_cachedTypedProps; - t6.set$forward(t3, t5.get$forward(t5)); - t6.set$id(t3, "5p-strand-creating"); - t3 = t3.call$0(); - t6 = B.lib_3p_end___$End3Prime$closure().call$0(); - t6.set$classname("three-prime-end-last-substrand"); - t4 = _this._design_main_strand_creating$_cachedTypedProps; - t6.set$pos(H.boolConversionCheck(t4.get$forward(t4)) ? end_svg : start_svg); - t5 = _this._design_main_strand_creating$_cachedTypedProps; - t7 = J.getInterceptor$z(t6); - t7.set$color(t6, t5.get$color(t5)); - t5 = _this._design_main_strand_creating$_cachedTypedProps; - t7.set$forward(t6, t5.get$forward(t5)); - t7.set$id(t6, "3p-strand-creating"); - return t2.call$3(t1, t3, t6.call$0()); - } + $signature: 17 }; - R.$DesignMainStrandCreatingComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainStrandCreatingComponent(null); + A.$DesignMainSliceBarComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainSliceBarComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 463 + $signature: 458 }; - R._$$DesignMainStrandCreatingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainSliceBarProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainStrandCreatingComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainSliceBarComponentFactory() : t1; } }; - R._$$DesignMainStrandCreatingProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_creating$_props; + A._$$DesignMainSliceBarProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_slice_bar$_props; } }; - R._$$DesignMainStrandCreatingProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_creating$_props; + A._$$DesignMainSliceBarProps$JsMap.prototype = { + get$props(_) { + return this._design_main_slice_bar$_props; } }; - R._$DesignMainStrandCreatingComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_creating$_cachedTypedProps; + A._$DesignMainSliceBarComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainSliceBarComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_creating$_cachedTypedProps = R._$$DesignMainStrandCreatingProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainSliceBarComponent__cachedTypedProps_A = A._$$DesignMainSliceBarProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainStrandCreating"; + get$displayName(_) { + return "DesignMainSliceBar"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2e2Vk.get$values(C.Map_2e2Vk); + get$$$defaultConsumedProps() { + return B.Map_OkS19.get$values(B.Map_OkS19); } }; - R.$DesignMainStrandCreatingPropsMixin.prototype = { - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingPropsMixin.helix"); - if (t1 == null) - t1 = null; - return type$.legacy_Helix._as(t1); - }, - get$forward: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCef); - return H._asBoolS(t1 == null ? null : t1); - }, - get$color: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingPropsMixin.color"); - if (t1 == null) - t1 = null; - return type$.legacy_Color._as(t1); + A.$DesignMainSliceBarProps.prototype = { + get$slice_bar_offset() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.slice_bar_offset"); + return A._asIntS(t1 == null ? null : t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCeh); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.helices"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStCeh, value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCegr); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + return type$.Geometry._as(t1); }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStCegr, value); + get$displayed_group_name() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMSld); + return A._asStringS(t1 == null ? null : t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCege); + get$helix_idx_to_svg_position_map() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMSlh_); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStCege, value); - }, - get$svg_position_y: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCes); - return H._asNumS(t1 == null ? null : t1); + return type$.BuiltMap_of_int_and_Point_double._as(t1); } }; - R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent.prototype = {}; - R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandCreatingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A._DesignMainSliceBarComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps.prototype = {}; + A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps.prototype = {}; + A.DesignMainStrandProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandProps___DesignMainStrandProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - set$groups: function(groups) { - this.DesignMainStrandCreatingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + get$groups() { + var t1 = this.DesignMainStrandProps___DesignMainStrandProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - set$geometry: function(_, geometry) { - this.DesignMainStrandCreatingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + get$geometry(_) { + var t1 = this.DesignMainStrandProps___DesignMainStrandProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandCreatingPropsMixin_helices; + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandComponent.prototype = { + render$0(_) { + var classname, t2, helix_idx_to_svg_position_y_map_on_strand_unbuilt, helix_idx_to_svg_position_map, t3, t4, helix_idx, t5, helix_idx_to_svg_position_y_map_on_strand, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, _this = this, _null = null, + _s46_ = string$.DesignMStPrsi, + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$strand().substrands._list.length === 0) + return _null; + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) + classname = A.boolConversionCheck(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$retain_strand_color_on_selection()) ? "strand selected" : "strand selected-pink"; + else + classname = "strand"; + if (_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().is_scaffold) + classname += " scaffold"; + t1 = type$.int; + t2 = type$.Point_double; + helix_idx_to_svg_position_y_map_on_strand_unbuilt = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + helix_idx_to_svg_position_map = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map(); + for (t3 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().get$domains()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = type$.nullable_BuiltSet_int; t3.moveNext$0();) { + helix_idx = t3.__interceptors$_current.helix; + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, _s46_); + if (t4._as(t5 == null ? _null : t5) != null) { + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, _s46_); + t5 = t4._as(t5 == null ? _null : t5)._set.contains$1(0, helix_idx); + } else + t5 = true; + if (t5) { + t5 = helix_idx_to_svg_position_map._map$_map.$index(0, helix_idx); + t5.toString; + helix_idx_to_svg_position_y_map_on_strand_unbuilt.$indexSet(0, helix_idx, t5); + } + } + helix_idx_to_svg_position_y_map_on_strand = A.BuiltMap_BuiltMap$of(helix_idx_to_svg_position_y_map_on_strand_unbuilt, t1, t2); + t2 = A.SvgProps$($.$get$g(), _null); + t3 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); + t2.set$id(0, t3.get$id(t3)); + t2.set$onPointerDown(_this.get$handle_click_down()); + t2.set$onPointerUp(_this.get$handle_click_up()); + t2.set$className(0, classname); + t3 = A.design_main_strand_paths___$DesignMainStrandPaths$closure().call$0(); + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); + t3.toString; + t6 = J.getInterceptor$x(t3); + J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsProps.strand", t5); + t6.set$key(t3, "strand-paths"); + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_domain_names(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPash, t5); + t5 = type$.BuiltMap_int_Helix; + t7 = t5._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helices()); + J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsProps.helices", t7); + t7 = type$.BuiltMap_String_HelixGroup; + t8 = t7._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$groups()); + J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsProps.groups", t8); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrseen); + if (t8 == null) + t8 = _null; + t9 = type$.BuiltSet_DNAEnd; + t8 = t9._as(t9._as(t8)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseen, t8); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrsec); + if (t8 == null) + t8 = _null; + t9 = type$.BuiltSet_Crossover; + t8 = t9._as(t9._as(t8)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasec, t8); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrsel); + if (t8 == null) + t8 = _null; + t9 = type$.BuiltSet_Loopout; + t8 = t9._as(t9._as(t8)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasel, t8); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrseex); + if (t8 == null) + t8 = _null; + t9 = type$.BuiltSet_Extension; + t8 = t9._as(t9._as(t8)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseex, t8); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrsedo); + if (t8 == null) + t8 = _null; + t9 = type$.BuiltSet_Domain; + t8 = t9._as(t9._as(t8)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPased, t8); + t8 = type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(_this.get$context_menu_strand()); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPac, t8); + t9 = t4._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$side_selected_helix_idxs()); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasi, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); + t10 = t9.name; + t10 = t10 == null ? "" : " name=" + t10 + "\n"; + t11 = t9.get$dna_length(); + t12 = !t9.circular ? "" : " circular\n"; + t13 = t9.get$first_domain(); + t14 = t9.get$dnaend_5p(); + t13 = t13.helix; + t14 = t14.get$offset_inclusive(); + t15 = t9.get$last_domain(); + t16 = t9.get$dnaend_3p(); + t15 = t15.helix; + t16 = t16.get$offset_inclusive(); + t17 = t9.label; + t17 = t17 == null ? "" : " label=" + t17 + "\n"; + t9 = t9.vendor_fields; + if (t9 == null) + t9 = ""; + else { + t18 = t9.scale; + t19 = t9.purification; + t20 = t9.plate; + t9 = t20 == null ? "" : " plate: " + t20 + "\n well: " + A.S(t9.well); + t9 = " vendor fields=\n" + (" scale: " + t18 + "\n" + (" purification: " + t19 + "\n") + t9); + } + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPast, "Strand:\n" + t10 + (" length=" + t11 + "\n") + t12 + (" 5' end=" + ("(helix=" + t13 + ", offset=" + A.S(t14) + ")") + "\n") + (" 3' end=" + ("(helix=" + t15 + ", offset=" + A.S(t16) + ")") + "\n") + t17 + t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrdr); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPad, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, "DesignMainStrandProps.moving_dna_ends"); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPam, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$geometry(t9); + J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsProps.geometry", t9); + type$.BuiltMap_of_int_and_Point_double._as(helix_idx_to_svg_position_y_map_on_strand); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPah, helix_idx_to_svg_position_y_map_on_strand); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$only_display_selected_helices(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPao, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$retain_strand_color_on_selection(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPar, t9); + t3 = A._setArrayType([t3.call$0(), _this._design_main_strand$_insertions$0(), _this._design_main_strand$_deletions$0()], type$.JSArray_nullable_ReactElement); + if (A.boolConversionCheck(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_domain_names()) || A.boolConversionCheck(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_strand_names()) || A.boolConversionCheck(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_strand_labels()) || A.boolConversionCheck(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_domain_labels())) { + t6 = A.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure().call$0(); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); + t6.toString; + t10 = J.getInterceptor$x(t6); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAst, t9); + t9 = t5._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helices()); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAhc, t9); + t9 = t7._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$groups()); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAgr, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$geometry(t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAge, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, "DesignMainStrandProps.show_dna"); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshdn, t9); + t9 = t4._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$side_selected_helix_idxs()); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAsi, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$only_display_selected_helices(); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAo, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_strand_names(); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshsn, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_strand_labels(); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshsl, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_domain_names(); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshdon, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$show_domain_labels(); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshdol, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrstn); + t9 = A._asDoubleS(t9 == null ? _null : t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAst_n, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrstl); + t9 = A._asDoubleS(t9 == null ? _null : t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAst_l, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrdon); + t9 = A._asDoubleS(t9 == null ? _null : t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAdn, t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrdol); + t9 = A._asDoubleS(t9 == null ? _null : t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAdl, t9); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAc, t8); + J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAhx, helix_idx_to_svg_position_y_map_on_strand); + t10.set$key(t6, "names-and-labels"); + t3.push(t6.call$0()); + } + t6 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, "DesignMainStrandProps.show_modifications"); + if (A.boolConversionCheck(A._asBoolS(t6 == null ? _null : t6))) { + t6 = A.design_main_strand_modifications___$DesignMainStrandModifications$closure().call$0(); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); + t6.toString; + t9 = J.getInterceptor$x(t6); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsst, t8); + t5 = t5._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helices()); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdshc, t5); + t7 = t7._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$groups()); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsgr, t7); + t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t7 = t7.get$geometry(t7); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsge, t7); + t4 = t4._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$side_selected_helix_idxs()); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdssi, t4); + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$only_display_selected_helices(); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdso, t4); + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrsem); + if (t4 == null) + t4 = _null; + t5 = type$.BuiltSet_SelectableModification; + t4 = t5._as(t5._as(t4)); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsse, t4); + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmf); + t4 = A._asDoubleS(t4 == null ? _null : t4); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsf, t4); + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmd); + t4 = A._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsd, t4); + t1 = type$.BuiltMap_int_double._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map().map$2$1(0, new A.DesignMainStrandComponent_render_closure(), t1, type$.double)); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdshx, t1); + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$retain_strand_color_on_selection(); + J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsr, t1); + t9.set$key(t6, "modifications"); + t3.push(t6.call$0()); + } + return t2.call$1(t3); }, - get$groups: function() { - return this.DesignMainStrandCreatingPropsMixin_groups; + handle_click_down$1(event_syn) { + var t1, t2, t3, address, helices_view_order_inverse, t4, _this = this, _s5_ = "store", + $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))); + if ($event.button === 0) { + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t2 = true; + if (t2) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_strand) && A.origami_type_selectable(t1); + } else + t1 = false; + if (t1) { + _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().handle_selection_mouse_down$1($event); + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helices(); + t1 = t1.get$values(t1); + t2 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$groups(); + t3 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + address = A.find_closest_address($event, t1, t2, t3.get$geometry(t3), _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map()); + t3 = type$.int; + helices_view_order_inverse = A.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t1 = t1.get$values(t1); + t2 = A._instanceType(t1); + t2 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MappedIterator<1,2>")); + for (; t2.moveNext$0();) { + t1 = t2.__internal$_current; + t4 = t1.__helices_view_order_inverse; + if (t4 == null) { + t4 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t1); + t1.set$__helices_view_order_inverse(t4); + t1 = t4; + } else + t1 = t4; + t4 = t1.$ti; + helices_view_order_inverse.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + } + $.__app._readField$0().dispatch$1(A._$StrandsMoveStartSelectedStrands$_(address, false, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t3, t3))); + } + } }, - get$geometry: function(receiver) { - return this.DesignMainStrandCreatingPropsMixin_geometry; - } - }; - R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin.prototype = {}; - R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + handle_click_up$1(event_syn) { + var t1, t2, currently_moving, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(event_syn); + t1 = J.getInterceptor$x(event_syn); + if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.strands_move == null) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.domains_move == null) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; + currently_moving = t2; + } else + currently_moving = true; + } else + currently_moving = true; + t2 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_strand) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2 && !currently_moving) + this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().handle_selection_mouse_up$1(type$.MouseEvent._as(t1.get$nativeEvent(event_syn))); + } }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + assign_dna$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_assign_dna_closure(this), type$.void); }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + assign_dna_complement_from_bound_strands$0() { + var strands_selected, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + strands_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (!B.JSArray_methods.contains$1(strands_selected, t1.get$strand())) + B.JSArray_methods.add$1(strands_selected, this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand()); + action = A.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands(strands_selected); + $.__app._readField$0().dispatch$1(action); }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + add_modification$3(substrand, address, type) { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_add_modification_closure(this, substrand, address, type), type$.void); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + assign_scale_purification_fields$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_scale_purification_fields(), type$.void); }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } - }; - R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - Q.DesignMainStrandCrossoverPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + assign_plate_well_fields$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_plate_well_fields(), type$.void); }, - set$groups: function(groups) { - this.DesignMainStrandCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + set_strand_name$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_set_strand_name_closure(this), type$.void); }, - set$geometry: function(_, geometry) { - this.DesignMainStrandCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set_strand_label$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_set_strand_label_closure(this), type$.void); }, - get$helices: function() { - return this.DesignMainStrandCrossoverPropsMixin_helices; + set_domain_names$1(domains) { + type$.BuiltSet_Domain._as(domains); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_set_domain_names_closure(this, domains), type$.void); }, - get$groups: function() { - return this.DesignMainStrandCrossoverPropsMixin_groups; + set_domain_labels$2(substrand, domains) { + type$.BuiltSet_Domain._as(domains); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_set_domain_labels_closure(this, substrand), type$.void); }, - get$geometry: function(receiver) { - return this.DesignMainStrandCrossoverPropsMixin_geometry; - } - }; - Q.DesignMainStrandCrossoverState.prototype = {$isMap: 1}; - Q.DesignMainStrandCrossoverComponent.prototype = { - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); - t1.set$mouse_hover(false); + _design_main_strand$_insertions$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, translate_svg, _this = this, _null = null, + _s10_ = "insertions", + paths = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().get$domains()._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.nullable_BuiltSet_int; + t3 = type$.BuiltMap_int_Helix; + t4 = type$.BuiltMap_of_int_and_Point_double; + t5 = type$.Strand; + t6 = type$.BuiltSet_SelectableInsertion; + for (; t1.moveNext$0();) { + t7 = t1.__interceptors$_current; + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, "DesignMainStrandProps.helices"); + t8 = t3._as(t8 == null ? _null : t8); + t9 = t7.helix; + t8 = t8._map$_map.$index(0, t9); + t8.toString; + t10 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.DesignMStPrsi); + t10 = t2._as(t10 == null ? _null : t10); + t11 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, string$.DesignMStPro); + if (!A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11)) || t10._set.contains$1(0, t9)) { + t10 = t7._domain$__selectable_insertions; + if (t10 == null) { + t10 = A.Domain.prototype.get$selectable_insertions.call(t7); + t7.set$_domain$__selectable_insertions(t10); + } + t10 = t10._list; + t10 = new J.ArrayIterator(t10, t10.length, A._arrayInstanceType(t10)._eval$1("ArrayIterator<1>")); + t7 = t7.forward; + t11 = "insertion-H" + t9 + "-O"; + t12 = t8.idx; + for (; t10.moveNext$0();) { + t13 = t10.__interceptors$_current; + t14 = A.design_main_strand_insertion___$DesignMainStrandInsertion$closure().call$0(); + t14.toString; + t15 = J.getInterceptor$x(t14); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStIse, t13); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMStPrsei); + t16 = t6._as(t16 == null ? _null : t16)._set.contains$1(0, t13); + J.$indexSet$ax(t15.get$props(t14), "DesignMainStrandInsertionProps.selected", t16); + J.$indexSet$ax(t15.get$props(t14), "DesignMainStrandInsertionProps.helix", t8); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, "DesignMainStrandProps.strand"); + t16 = t5._as(t16 == null ? _null : t16).color; + J.$indexSet$ax(t15.get$props(t14), "DesignMainStrandInsertionProps.color", t16); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t17 = t16.get$helices()._map$_map.$index(0, t9); + t17.toString; + t17 = t16.get$groups()._map$_map.$index(0, t17.group); + t17.toString; + t16 = t16.get$geometry(t16); + t18 = t17.position; + t19 = t16.__nm_to_svg_pixels; + t16 = t19 == null ? t16.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t16) : t19; + translate_svg = A.Position3D_Position3D(t18.x * t16, t18.y * t16, t18.z * t16); + J.$indexSet$ax(t15.get$props(t14), "DesignMainStrandInsertionProps.transform", "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t17.pitch) + ")"); + t17 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t17 = t17.get$props(t17).$index(0, string$.DesignMStPrh); + t16 = t4._as(t17 == null ? _null : t17)._map$_map.$index(0, t12).y; + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStIsv, t16); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMStPrdi); + t16 = A._asBoolS(t16 == null ? _null : t16); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStId, t16); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMStPrr); + t16 = A._asBoolS(t16 == null ? _null : t16); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStIr, t16); + t13 = t13.insertion.offset; + t16 = t7 ? "forward" : "reverse"; + t15 = t15.get$props(t14); + J.$indexSet$ax(t15, "key", t11 + t13 + "-" + t16); + B.JSArray_methods.add$1(paths, t14.call$0()); + } + } + } + if (paths.length === 0) + t1 = _null; + else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$key(0, _s10_); + t1.set$className(0, _s10_); + t1 = t1.call$1(paths); + } return t1; }, - render$0: function(_) { - var classname, t2, prev_group, within_group, t3, t4, path, t5, t6, t7, t8, t9, prev_helix, next_helix, next_group, start_svg, end_svg, vector_start_to_end, normal_vector, scaled_normal_vector, control, color, id, path_props, _this = this, - strand = _this._design_main_strand_crossover$_cachedTypedProps.get$strand(), - crossover = _this._design_main_strand_crossover$_cachedTypedProps.get$crossover(), - t1 = _this._design_main_strand_crossover$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMStCose); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1))) { - t1 = _this._design_main_strand_crossover$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMStCor); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? "crossover-curve selected" : "crossover-curve selected-pink"; - } else - classname = "crossover-curve"; - if (_this._design_main_strand_crossover$_cachedTypedProps.get$strand().is_scaffold) - classname += " scaffold"; - if (_this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix === _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().helix && _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().forward === _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().forward) - classname += " crossover-curve-same-helix"; - t1 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); - t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix; - prev_group = J.$index$asx(t1._map$_map, t2).group; - t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); - t1 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().helix; - within_group = prev_group === J.$index$asx(t2._map$_map, t1).group; - t1 = _this._design_main_strand_crossover$_cachedTypedProps; - if (within_group) { - t1 = t1.get$prev_domain(); - t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(); - t3 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); - t4 = _this._design_main_strand_crossover$_cachedTypedProps; - path = B.crossover_path_description_within_group(t1, t2, t3, t4.get$geometry(t4), _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain_helix_svg_position_y(), _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain_helix_svg_position_y()); - } else { - t1 = t1.get$prev_domain(); - t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(); - t3 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); - t4 = _this._design_main_strand_crossover$_cachedTypedProps; - t4 = t4.get$geometry(t4); - t5 = _this._design_main_strand_crossover$_cachedTypedProps.get$groups(); - t6 = _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain_helix_svg_position_y(); - t7 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain_helix_svg_position_y(); - t8 = t1.helix; - t3 = t3._map$_map; - t9 = J.getInterceptor$asx(t3); - prev_helix = t9.$index(t3, t8); - next_helix = t9.$index(t3, t2.helix); - t3 = prev_helix.group; - t5 = t5._map$_map; - t9 = J.getInterceptor$asx(t5); - prev_group = t9.$index(t5, t3); - next_group = t9.$index(t5, next_helix.group); - start_svg = prev_group.transform_point_main_view$2(prev_helix.svg_base_pos$3(t1.get$offset_3p(), t1.forward, t6), t4); - end_svg = next_group.transform_point_main_view$2(next_helix.svg_base_pos$3(t2.get$offset_5p(), t2.forward, t7), t4); - vector_start_to_end = end_svg.$sub(0, start_svg); - normal_vector = E.rotate(vector_start_to_end, 90, C.Point_0_0); - scaled_normal_vector = normal_vector.$mul(0, 1 / normal_vector.get$magnitude()).$mul(0, vector_start_to_end.get$magnitude()).$mul(0, 0.1); - control = start_svg.$add(0, vector_start_to_end.$mul(0, 0.5)).$add(0, scaled_normal_vector); - path = "M " + H.S(start_svg.x) + " " + H.S(start_svg.y) + " Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(end_svg.x) + " " + H.S(end_svg.y); + _design_main_strand$_deletions$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, translate_svg, _this = this, _null = null, + _s9_ = "deletions", + paths = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().get$domains()._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.nullable_BuiltSet_int; + t3 = type$.BuiltMap_int_Helix; + t4 = type$.BuiltMap_of_int_and_Point_double; + t5 = type$.BuiltSet_SelectableDeletion; + for (; t1.moveNext$0();) { + t6 = t1.__interceptors$_current; + t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "DesignMainStrandProps.helices"); + t7 = t3._as(t7 == null ? _null : t7); + t8 = t6.helix; + t7 = t7._map$_map.$index(0, t8); + t7.toString; + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrsi); + t9 = t2._as(t9 == null ? _null : t9); + t10 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.DesignMStPro); + if (!A.boolConversionCheck(A._asBoolS(t10 == null ? _null : t10)) || t9._set.contains$1(0, t8)) { + t9 = t6._domain$__selectable_deletions; + if (t9 == null) { + t9 = A.Domain.prototype.get$selectable_deletions.call(t6); + t6.set$_domain$__selectable_deletions(t9); + } + t9 = t9._list; + t9 = new J.ArrayIterator(t9, t9.length, A._arrayInstanceType(t9)._eval$1("ArrayIterator<1>")); + t6 = t6.forward; + t10 = "deletion-H" + t8 + "-O"; + for (; t9.moveNext$0();) { + t11 = t9.__interceptors$_current; + t12 = t11.offset; + t13 = t6 ? "forward" : "reverse"; + t14 = A.design_main_strand_deletion___$DesignMainStrandDeletion$closure().call$0(); + t14.toString; + t15 = J.getInterceptor$x(t14); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStDesea, t11); + J.$indexSet$ax(t15.get$props(t14), "DesignMainStrandDeletionPropsMixin.helix", t7); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMStPrsede); + t11 = t5._as(t16 == null ? _null : t16)._set.contains$1(0, t11); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStDesee, t11); + t11 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t11.get$helices()._map$_map.$index(0, t8); + t16.toString; + t16 = t11.get$groups()._map$_map.$index(0, t16.group); + t16.toString; + t11 = t11.get$geometry(t11); + t17 = t16.position; + t18 = t11.__nm_to_svg_pixels; + t11 = t18 == null ? t11.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t18; + translate_svg = A.Position3D_Position3D(t17.x * t11, t17.y * t11, t17.z * t11); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStDet, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t16.pitch) + ")"); + t16 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t16 = t16.get$props(t16).$index(0, string$.DesignMStPrh); + t11 = t4._as(t16 == null ? _null : t16)._map$_map.$index(0, t8).y; + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStDesv, t11); + t11 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, string$.DesignMStPrr); + t11 = A._asBoolS(t11 == null ? _null : t11); + J.$indexSet$ax(t15.get$props(t14), string$.DesignMStDer, t11); + t15 = t15.get$props(t14); + J.$indexSet$ax(t15, "key", t10 + A.S(t12) + "-" + t13); + B.JSArray_methods.add$1(paths, t14.call$0()); + } + } } - t1 = strand.color.toHexColor$0(); - color = "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(); - id = crossover.get$id(crossover); - path_props = A.SvgProps$($.$get$path(), null); - path_props.set$d(0, path); - path_props.set$stroke(0, color); - path_props.set$className(0, classname); - path_props.set$onMouseEnter(0, new Q.DesignMainStrandCrossoverComponent_render_closure(_this)); - path_props.set$onMouseLeave(0, new Q.DesignMainStrandCrossoverComponent_render_closure0(_this)); - path_props.set$onPointerDown(new Q.DesignMainStrandCrossoverComponent_render_closure1(_this)); - path_props.set$onPointerUp(new Q.DesignMainStrandCrossoverComponent_render_closure2(_this)); - path_props.set$id(0, id); - path_props.set$key(0, id); - if (within_group) - path_props.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix)); - return path_props.call$0(); + if (paths.length === 0) + t1 = _null; + else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$key(0, _s9_); + t1.set$className(0, _s9_); + t1 = t1.call$1(paths); + } + return t1; }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_crossover$_cachedTypedProps.get$crossover(); - t1 = "#" + t1.get$id(t1); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - this.super$Component2$componentDidMount(); + remove_dna$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_remove_dna_closure(this), type$.void); }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_crossover$_cachedTypedProps.get$crossover(); - t1 = "#" + t1.get$id(t1); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + reflect$2(horizontal, reverse_polarity) { + var selected_strands, t2, t3, strands, _this = this, + _s17_ = "_cachedTypedProps", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + t1 = selected_strands._set; + if (!t1.get$isEmpty(t1)) + if (t1.get$length(t1) === 1) { + t2 = t1.get$first(t1); + t3 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI(_s17_); + t3 = J.$eq$(t2, t3.get$strand()); + t2 = t3; + } else + t2 = false; + else + t2 = true; + if (t2) { + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI(_s17_); + strands = A._setArrayType([t1.get$strand()], type$.JSArray_Strand); + } else { + t2 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI(_s17_); + if (!t1.contains$1(0, t2.get$strand())) { + t1 = selected_strands.rebuild$1(new A.DesignMainStrandComponent_reflect_closure(_this))._set; + strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + } else + strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + } + $.__app._readField$0().dispatch$1(A._$StrandsReflect$_(horizontal, reverse_polarity, A._BuiltList$of(strands, type$.Strand))); + }, + set_scaffold$0() { + var strand, selected_strands, action, + t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + strand = t1.get$strand(); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + action = A.batch_if_multiple_selected(A.scaffold_set_strand_action_creator(!strand.is_scaffold), strand, selected_strands, "set scaffold"); + $.__app._readField$0().dispatch$1(action); + }, + context_menu_strand$4$address$domain$type(strand, address, domain, type) { + var t1, t2, t3, t4, t5, _this = this, _null = null, _s5_ = "store", + _s17_ = "_cachedTypedProps"; + type$.Strand._as(strand); + type$.Domain._as(domain); + type$.Address._as(address); + type$.ModificationType._as(type); + t1 = type$.JSArray_ContextMenuItem; + t2 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna(), "assign DNA", "Assign a specific DNA sequence to this strand (and optionally assign complementary\nsequence to strands bound to it).\n"), A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna_complement_from_bound_strands(), "assign DNA complement from bound strands", "If other strands bound to this strand (or the selected strands) have DNA already \nassigned, assign the complementary DNA sequence to this strand.\n")], t1); + if (strand.get$dna_sequence() != null) + t2.push(A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$remove_dna(), "remove DNA", "")); + t3 = type$.ContextMenuItem; + t2 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(t2, t3), _null, "edit DNA", ""), A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure(_this, domain, address, type), "add modification", "")], t1); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + if (t4.get$state(t4).ui_state.storables.show_oxview) + t2.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure0(_this, domain, address, type), "focus in oxView", "")); + t4 = A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_scale_purification_fields(), "assign scale/purification fields", ""); + t5 = $.__app._readField$0().__App_store_F; + t5 === $ && A.throwLateFieldNI(_s5_); + t5 = t5.get$state(t5).ui_state.selectables_store.get$selected_strands()._set; + if (!B.JSArray_methods.any$1(A.List_List$of(t5, true, A._instanceType(t5)._eval$1("SetMixin.E")), new A.DesignMainStrandComponent_context_menu_strand_closure1())) { + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t5 === $ && A.throwLateFieldNI(_s17_); + t5 = t5.get$strand().vendor_fields == null; + } else + t5 = true; + t5 = A._setArrayType([t4, A.ContextMenuItem_ContextMenuItem(t5, _null, _this.get$assign_plate_well_fields(), "assign plate/well fields", "")], t1); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set; + if (!B.JSArray_methods.any$1(A.List_List$of(t4, true, A._instanceType(t4)._eval$1("SetMixin.E")), new A.DesignMainStrandComponent_context_menu_strand_closure2())) { + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t4 === $ && A.throwLateFieldNI(_s17_); + t4 = t4.get$strand().vendor_fields != null; + } else + t4 = true; + if (t4) + t5.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure3(_this), "remove all vendor fields", "")); + t4 = $.__app._readField$0().__App_store_F; + t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set; + if (!B.JSArray_methods.any$1(A.List_List$of(t4, true, A._instanceType(t4)._eval$1("SetMixin.E")), new A.DesignMainStrandComponent_context_menu_strand_closure4())) { + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t4 === $ && A.throwLateFieldNI(_s17_); + t4 = t4.get$strand().vendor_fields; + if ((t4 == null ? _null : t4.well) != null) { + t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().vendor_fields; + t4 = (t4 == null ? _null : t4.purification) != null; + } else + t4 = false; + } else + t4 = true; + if (t4) + t5.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure5(_this), "remove plate/well vendor fields", "")); + t2.push(A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(t5, t3), _null, "edit vendor fields", "")); + t4 = strand.is_scaffold ? "set as non-scaffold" : "set as scaffold"; + t2.push(A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_scaffold(), t4, "")); + t4 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure6(_this), "set strand color", ""), A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure7(_this, domain), "set domain color", "")], t1); + if (domain.color != null) + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure8(_this, domain), "remove domain color", "")); + t2.push(A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(t4, t3), _null, "color", "")); + t4 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_name(), "set strand name", "")], t1); + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; + t5 === $ && A.throwLateFieldNI(_s17_); + if (t5.get$strand().name != null) + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure9(_this), "remove strand name", "")); + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure10(_this, domain), "set domain name", "")); + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure11(_this, domain), string$.assign, "If other strands bound to this strand (or the selected strands) have domain names already \nassigned, assign the complementary domain names sequence to this strand.\n\nTo use this feature for individual domains instead of all domains on the strand, \nset select mode to domain. Then only clicked and selected domains will be affected.")); + if (domain.name != null) + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure12(domain), "remove domain name", "")); + t2.push(A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(t4, t3), _null, "edit name", "")); + t4 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_label(), "set strand label", "")], t1); + if (_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().label != null) + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure13(_this), "remove strand label", "")); + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure14(_this, domain), "set domain label", "")); + if (domain.label != null) + t4.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure15(domain), "remove domain label", "")); + t2.push(A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(t4, t3), _null, "edit label", "")); + t2.push(A.ContextMenuItem_ContextMenuItem(false, A._BuiltList$of(A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure16(_this), "reflect horizontally", "replace strand(s) with horizontal mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\n"), A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure17(_this), "reflect horizontally (reverse vertical polarity)", "replace strand(s) with horizontal mirror image, \nwith polarity reversed \"vertically\" \n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 1\n strand's 3' end on helix 0\n"), A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure18(_this), "reflect vertically", "replace strand(s) with vertical mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is still on a helix below that of the strand's 3' end\n"), A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainStrandComponent_context_menu_strand_closure19(_this), "reflect vertically (reverse vertical polarity)", "replace strand(s) with vertical mirror image, \nwith polarity reversed \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is now on a helix above that of the strand's 3' end\n")], t1), t3), _null, "reflect", "")); + t1 = strand.get$has_5p_extension() && strand.get$has_3p_extension(); + t2.push(A.ContextMenuItem_ContextMenuItem(t1, _null, new A.DesignMainStrandComponent_context_menu_strand_closure20(_this, strand), "add extension", "")); + return t2; }, - on_context_menu$1: function(ev) { - var t1, t2, t3, t4, _null = null; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { - ev.preventDefault(); - ev.stopPropagation(); - t1 = $.app; - this._design_main_strand_crossover$_cachedTypedProps.get$strand(); - t2 = D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, this.get$convert_crossover_to_loopout(), "convert to loopout", _null), B.ContextMenuItem_ContextMenuItem(false, _null, this.get$unstrain_backbone_at_crossover(), "unstrain backbone here", _null)], type$.JSArray_legacy_ContextMenuItem), type$.legacy_ContextMenuItem); - t3 = ev.pageX; - t3.toString; - t4 = ev.pageY; - t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); - } + context_menu_strand$1(strand) { + return this.context_menu_strand$4$address$domain$type(strand, null, null, B.ModificationType_internal); }, - unstrain_backbone_at_crossover$0: function() { - var t1, _i, domain, t2, other_domain, anchor, action, - prev_domain = this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain(), - next_domain = this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(), - roll_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t1 = [prev_domain, next_domain], _i = 0; _i < 2; ++_i) { - domain = t1[_i]; - t2 = J.getInterceptor$(domain); - other_domain = t2.$eq(domain, prev_domain) ? next_domain : prev_domain; - if (t2.$eq(domain, prev_domain)) { - t2 = domain.__offset_3p; - if (t2 == null) { - t2 = G.Domain.prototype.get$offset_3p.call(domain); - domain.__offset_3p = t2; - anchor = t2; - } else - anchor = t2; - } else { - t2 = domain.__offset_5p; - if (t2 == null) { - t2 = G.Domain.prototype.get$offset_5p.call(domain); - domain.__offset_5p = t2; - anchor = t2; - } else - anchor = t2; - } - C.JSArray_methods.add$1(roll_actions, U.HelixRollSetAtOther_HelixRollSetAtOther(domain.helix, other_domain.helix, domain.forward, anchor)); - } - action = U.BatchAction_BatchAction(roll_actions, "unstrain backbone at crossover"); - $.app.dispatch$1(action); + context_menu_strand$3$address$domain(strand, address, domain) { + return this.context_menu_strand$4$address$domain$type(strand, address, domain, B.ModificationType_internal); }, - convert_crossover_to_loopout$0: function() { + ask_for_add_extension$1(strand) { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$returnValue, $async$self = this, t1, selected_crossovers, action, new_length; - var $async$convert_crossover_to_loopout$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t1, t2, options, items, results, t3, is_5p, num_bases, action; + var $async$ask_for_add_extension$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start + if (strand.get$has_5p_extension() && strand.get$has_3p_extension()) { + t1 = window; + t2 = strand.name; + B.Window_methods.alert$1(t1, "strand " + (t2 == null ? strand.toString$0(0) : t2) + " already has a 5' and 3' extension"); + // goto return + $async$goto = 1; + break; + } + options = A._setArrayType([], type$.JSArray_String); + if (!strand.get$has_5p_extension()) + B.JSArray_methods.add$1(options, "5'"); + if (!strand.get$has_3p_extension()) + B.JSArray_methods.add$1(options, "3'"); + items = new A.FixedList(A.List_List$filled(2, null, false, type$.nullable_DialogItem), A.List_List$filled(2, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, type$.DialogItem._as(A.DialogRadio_DialogRadio("end of strand", null, options, true, 0, ""))); + items._util$_set$2(1, A.DialogInteger_DialogInteger("number of bases", "number of bases to include in this extension", 5)); $async$goto = 3; - return P._asyncAwait(R.ask_for_length("set loopout length", 1, C.DialogType_set_loopout_length, 1, ""), $async$convert_crossover_to_loopout$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "add extension", B.DialogType_add_extension, false)), $async$ask_for_add_extension$1); case 3: // returning from await. - new_length = $async$result; - if (new_length == null || new_length === 0) { + results = $async$result; + if (results == null) { // goto return $async$goto = 1; break; } - t1 = $.app.store; - selected_crossovers = t1.get$state(t1).ui_state.selectables_store.get$selected_crossovers(); - t1 = selected_crossovers._set; - t1 = t1.get$length(t1); - if (typeof t1 !== "number") { - $async$returnValue = t1.$gt(); + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogRadio._as(t1.$index(results, 0)); + t3 = t2.options; + t2 = t2.selected_idx; + t3 = t3._list; + if (!(t2 >= 0 && t2 < t3.length)) { + $async$returnValue = A.ioore(t3, t2); // goto return $async$goto = 1; break; } - action = t1 > 0 ? U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts(selected_crossovers, new_length) : U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout($async$self._design_main_strand_crossover$_cachedTypedProps.get$crossover(), new_length, null); - $.app.dispatch$1(action); + t2 = t3[t2]; + if (t2 === "3'") + is_5p = false; + else { + if (t2 !== "5'") { + B.Window_methods.alert$1(window, "invalid selection " + A.S(t2)); + // goto return + $async$goto = 1; + break; + } + is_5p = true; + } + num_bases = type$.DialogInteger._as(t1.$index(results, 1)).value; + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A.ExtensionAdd_ExtensionAdd(is_5p, num_bases, t1.get$strand()); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$convert_crossover_to_loopout$0, $async$completer); - } - }; - Q.DesignMainStrandCrossoverComponent_render_closure.prototype = { - call$1: function(ev) { - var t1, t2; - type$.legacy_SyntheticMouseEvent._as(ev); - t1 = this.$this; - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$mouse_hover(true); - t1.setState$1(0, t2); + return A._asyncStartSync($async$ask_for_add_extension$1, $async$completer); }, - $signature: 17 - }; - Q.DesignMainStrandCrossoverComponent_render_closure0.prototype = { - call$1: function(_) { - var t1, t2; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this; - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); - t2.set$mouse_hover(false); - t1.setState$1(0, t2); + select_index_for_one_strand$3(vendor_option, options, default_index) { + type$.Set_String._as(options); + if (vendor_option != null && options.contains$1(0, vendor_option)) + return B.JSArray_methods.indexOf$1(A.List_List$of(options, true, A._instanceType(options)._eval$1("SetMixin.E")), vendor_option); + else if (default_index) + return 1; + else + return 0; }, - $signature: 17 - }; - Q.DesignMainStrandCrossoverComponent_render_closure1.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); - t1 = this.$this; - t2 = t1._design_main_strand_crossover$_cachedTypedProps.get$crossover(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_crossover) && E.origami_type_selectable(t2); + select_scale_index_for_multiple_strands$2(all_strands, options) { + var all_same_scale, default_scale_option, t1; + type$.List_Strand._as(all_strands); + type$.Set_String._as(options); + all_same_scale = B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(all_strands)); + default_scale_option = B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0()); + if (all_same_scale) { + if (0 >= all_strands.length) + return A.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return this.select_index_for_one_strand$3(t1 == null ? null : t1.scale, options, default_scale_option); } else - t2 = false; - if (t2) - t1._design_main_strand_crossover$_cachedTypedProps.get$crossover().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + return 0; }, - $signature: 18 - }; - Q.DesignMainStrandCrossoverComponent_render_closure2.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); - t1 = this.$this; - t2 = t1._design_main_strand_crossover$_cachedTypedProps.get$crossover(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_crossover) && E.origami_type_selectable(t2); + custom_scale_value$1(all_strands) { + var t1; + type$.List_Strand._as(all_strands); + if (B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_custom_scale_value_closure(all_strands))) { + if (0 >= all_strands.length) + return A.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + return t1 == null ? "" : t1; } else - t2 = false; - if (t2) - t1._design_main_strand_crossover$_cachedTypedProps.get$crossover().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); - }, - $signature: 18 - }; - Q.$DesignMainStrandCrossoverComponentFactory_closure.prototype = { - call$0: function() { - return new Q._$DesignMainStrandCrossoverComponent(null); + return ""; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 464 - }; - Q._$$DesignMainStrandCrossoverProps.prototype = { - get$$$isClassGenerated: function() { - return true; + custom_purification_value$1(all_strands) { + var t1; + type$.List_Strand._as(all_strands); + if (B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_custom_purification_value_closure(all_strands))) { + if (0 >= all_strands.length) + return A.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + return t1 == null ? "" : t1; + } else + return ""; }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainStrandCrossoverComponentFactory() : t1; + select_purification_index_for_multiple_strands$2(all_strands, options) { + var all_same_purification, default_purification_option, t1; + type$.List_Strand._as(all_strands); + type$.Set_String._as(options); + all_same_purification = B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(all_strands)); + default_purification_option = B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0()); + if (all_same_purification) { + if (0 >= all_strands.length) + return A.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return this.select_index_for_one_strand$3(t1 == null ? null : t1.purification, options, default_purification_option); + } else + return 0; + }, + select_plate_number$1(all_strands) { + var t1; + type$.List_Strand._as(all_strands); + if (B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_select_plate_number_closure(all_strands))) { + if (0 >= all_strands.length) + return A.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return t1 == null ? null : t1.plate; + } else + return null; + }, + ask_for_assign_scale_purification_fields$0() { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, all_strands, items, options_purification, options_scale, t2, t3, results, scale, t4, purification, _i, strand, t5, t6, t7, t8, t9, vendor_fields, action, t1; + var $async$ask_for_assign_scale_purification_fields$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (all_strands.length === 0) { + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + B.JSArray_methods.add$1(all_strands, t1.get$strand()); + } + items = new A.FixedList(A.List_List$filled(6, null, false, type$.nullable_DialogItem), A.List_List$filled(6, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = type$.String; + options_purification = A.LinkedHashSet_LinkedHashSet$_literal(["", "STD", "PAGE", "HPLC", "IEHPLC", "RNASE", "DUALHPLC", "PAGEHPLC"], t1); + options_scale = A.LinkedHashSet_LinkedHashSet$_literal(["", "25nm", "100nm", "250nm", "1um", "2um", "5um", "10um", "4nmU", "20nmU", "PU", "25nmS"], t1); + items._util$_set$2(1, A.DialogCheckbox_DialogCheckbox("use custom scale", "", false)); + if (all_strands.length > 1) + t1 = $async$self.select_scale_index_for_multiple_strands$2(all_strands, options_scale); + else { + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().vendor_fields; + t1 = t1 == null ? null : t1.scale; + t1 = $async$self.select_index_for_one_strand$3(t1, options_scale, B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure())); + } + t2 = type$.DialogItem; + items._util$_set$2(0, t2._as(A.DialogRadio_DialogRadio("scale", null, options_scale, false, t1, "25nm : 25nmole\n100nm : 100 nmole\n250nm : 250 nmole\n1um : 1 \xb5mole\n2um\t: 2 umole\n5um\t: 5 \xb5mole\n10um : 10 \xb5mole\n4nmU : 4 nmole Ultramer\u2122\n20nmU : 20 nmole Ultramer\u2122\nPU : PAGE Ultramer\u2122\n25nmS : 5 nmole Sameday\n"))); + items._util$_set$2(2, A.DialogText_DialogText("custom scale", "", J.get$value$x(items._get$1(0, 0)) !== "" ? "" : $async$self.custom_scale_value$1(all_strands))); + items._util$_set$2(4, A.DialogCheckbox_DialogCheckbox("use custom purification", "", false)); + if (all_strands.length > 1) + t1 = $async$self.select_purification_index_for_multiple_strands$2(all_strands, options_purification); + else { + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().vendor_fields; + t1 = t1 == null ? null : t1.purification; + t1 = $async$self.select_index_for_one_strand$3(t1, options_purification, B.JSArray_methods.every$1(all_strands, new A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0())); + } + items._util$_set$2(3, t2._as(A.DialogRadio_DialogRadio("purification", null, options_purification, false, t1, "STD\t: Standard Desalting\nPAGE : PAGE\nHPLC : HPLC \nIEHPLC : IE HPLC\nRNASE : RNase Free HPLC\nDUALHPLC : Dual HPLC\nPAGEHPLC : Dual PAGE & HPLC\n"))); + items._util$_set$2(5, A.DialogText_DialogText("custom purification", "", J.get$value$x(items._get$1(0, 3)) !== "" ? "" : $async$self.custom_purification_value$1(all_strands))); + t1 = type$.JSArray_int; + t2 = type$.int; + t3 = type$.Iterable_int; + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, A.LinkedHashMap_LinkedHashMap$_literal([2, A._setArrayType([1], t1), 5, A._setArrayType([4], t1)], t2, t3), A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType([1], t1), 3, A._setArrayType([4], t1)], t2, t3), B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "assign scale/purification vendor fields", B.DialogType_assign_scale_purification, true)), $async$ask_for_assign_scale_purification_fields$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogCheckbox; + if (t2._as(t1.$index(results, 1)).value) + scale = type$.DialogText._as(t1.$index(results, 2)).value; + else { + t3 = type$.DialogRadio._as(t1.$index(results, 0)); + t4 = t3.options; + t3 = t3.selected_idx; + t4 = t4._list; + if (!(t3 >= 0 && t3 < t4.length)) { + $async$returnValue = A.ioore(t4, t3); + // goto return + $async$goto = 1; + break; + } + scale = t4[t3]; + } + if (t2._as(t1.$index(results, 4)).value) + purification = type$.DialogText._as(t1.$index(results, 5)).value; + else { + t1 = type$.DialogRadio._as(t1.$index(results, 3)); + t2 = t1.options; + t1 = t1.selected_idx; + t2 = t2._list; + if (!(t1 >= 0 && t1 < t2.length)) { + $async$returnValue = A.ioore(t2, t1); + // goto return + $async$goto = 1; + break; + } + purification = t2[t1]; + } + t1 = all_strands.length; + if (t1 > 1) + for (t2 = purification === "", t3 = scale === "", t4 = $.__app._name, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, A.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + t5 = t3 && strand.vendor_fields != null ? strand.vendor_fields.scale : scale; + t6 = t2 && strand.vendor_fields != null ? strand.vendor_fields.purification : purification; + t7 = strand.vendor_fields; + t8 = t7 == null; + t9 = t8 ? null : t7.plate; + vendor_fields = A.VendorFields_VendorFields(t9, t6, t5, t8 ? null : t7.well); + if (vendor_fields == null) + A.throwExpression(A.BuiltValueNullFieldError$("ScalePurificationVendorFieldsAssign", "vendor_fields")); + t5 = $.__app._value; + if (t5 == null ? $.__app == null : t5 === $.__app) + A.throwExpression(A.LateError$fieldNI(t4)); + t5.dispatch$1(new A._$ScalePurificationVendorFieldsAssign(strand, vendor_fields)); + } + else { + vendor_fields = A.VendorFields_VendorFields(null, purification, scale, null); + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A._$ScalePurificationVendorFieldsAssign$_(t1.get$strand(), vendor_fields); + $.__app._readField$0().dispatch$1(action); + } + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_assign_scale_purification_fields$0, $async$completer); + }, + ask_for_assign_plate_well_fields$0() { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, all_strands, items, results, t2, plate, conflicting_strands, t3, _i, strand, t4, t5, t6, t7, vendor_fields, well, action, t1; + var $async$ask_for_assign_plate_well_fields$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (all_strands.length === 0) { + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + B.JSArray_methods.add$1(all_strands, t1.get$strand()); + } + items = new A.FixedList(A.List_List$filled(2, null, false, type$.nullable_DialogItem), A.List_List$filled(2, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = $async$self.select_plate_number$1(all_strands); + items._util$_set$2(0, A.DialogText_DialogText("plate", "", t1 == null ? "" : t1)); + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().vendor_fields; + if ((t1 == null ? null : t1.well) != null) { + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().vendor_fields.well; + t1.toString; + } else + t1 = ""; + items._util$_set$2(1, A.DialogText_DialogText("well", all_strands.length > 1 ? "Only individual strands can have a well assigned." : "", t1)); + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); + if (all_strands.length > 1) + t1.add$1(0, 1); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(t1, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "assign plate/well vendor fields", B.DialogType_assign_plate_well, true)), $async$ask_for_assign_plate_well_fields$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.DialogText; + plate = t2._as(t1.$index(results, 0)).value; + conflicting_strands = A._setArrayType([], type$.JSArray_String); + t3 = all_strands.length; + if (t3 > 1) + for (t1 = plate === "", t2 = $.__app._name, _i = 0; _i < all_strands.length; all_strands.length === t3 || (0, A.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + t4 = strand.vendor_fields; + if (t4 == null) { + t4 = strand.__address_5p; + B.JSArray_methods.add$1(conflicting_strands, (t4 == null ? strand.__address_5p = A.Strand.prototype.get$address_5p.call(strand) : t4).toString$0(0)); + } else { + t5 = t4.scale; + t6 = t4.purification; + t7 = t1 ? t4.plate : plate; + t4 = t4.well; + vendor_fields = A.VendorFields_VendorFields(t7, t6, t5, t4 != null ? t4 : ""); + if (vendor_fields == null) + A.throwExpression(A.BuiltValueNullFieldError$("PlateWellVendorFieldsAssign", "vendor_fields")); + t4 = $.__app._value; + if (t4 == null ? $.__app == null : t4 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t4.dispatch$1(new A._$PlateWellVendorFieldsAssign(strand, vendor_fields)); + } + } + else { + well = t2._as(t1.$index(results, 1)).value; + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().vendor_fields; + t2 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + if (t1 == null) + B.JSArray_methods.add$1(conflicting_strands, t2.get$strand().get$address_5p().toString$0(0)); + else { + t1 = t2.get$strand().vendor_fields.scale; + vendor_fields = A.VendorFields_VendorFields(plate, $async$self.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().vendor_fields.purification, t1, well); + action = A._$PlateWellVendorFieldsAssign$_($async$self.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(), vendor_fields); + $.__app._readField$0().dispatch$1(action); + } + } + if (conflicting_strands.length >= 1) + B.Window_methods.alert$1(window, "No vendor fields were assigned to strands: " + A.S(conflicting_strands) + ". \nAssign scale and purification before editing plate/well fields."); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_assign_plate_well_fields$0, $async$completer); + }, + remove_plate_well_fields$0() { + var all_strands, all_actions, t2, _i, strand, t3, batch_action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (all_strands.length === 0) { + t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + B.JSArray_methods.add$1(all_strands, t1.get$strand()); + } + all_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = all_strands.length, t2 = $.__app._name, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, A.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + if (strand == null) + A.throwExpression(A.BuiltValueNullFieldError$("PlateWellVendorFieldsRemove", "strand")); + t3 = $.__app._value; + if (t3 == null ? $.__app == null : t3 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t3.dispatch$1(new A._$PlateWellVendorFieldsRemove(strand)); + } + batch_action = A.BatchAction_BatchAction(all_actions, "remove plate/well fields"); + $.__app._readField$0().dispatch$1(batch_action); + }, + remove_vendor_fields$0() { + var all_strands, all_actions, t2, _i, strand, t3, batch_action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (all_strands.length === 0) { + t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + B.JSArray_methods.add$1(all_strands, t1.get$strand()); + } + all_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = all_strands.length, t2 = $.__app._name, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, A.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + if (strand == null) + A.throwExpression(A.BuiltValueNullFieldError$("VendorFieldsRemove", "strand")); + t3 = $.__app._value; + if (t3 == null ? $.__app == null : t3 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t3.dispatch$1(new A._$VendorFieldsRemove(strand)); + } + batch_action = A.BatchAction_BatchAction(all_actions, "remove vendor fields"); + $.__app._readField$0().dispatch$1(batch_action); + }, + ask_for_strand_name$2(strand, selected_strands) { + return this.ask_for_strand_name$body$DesignMainStrandComponent(strand, type$.BuiltSet_Strand._as(selected_strands)); + }, + ask_for_strand_name$body$DesignMainStrandComponent(strand, selected_strands) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, action, items, t1; + var $async$ask_for_strand_name$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().name; + items._util$_set$2(0, A.DialogText_DialogText("name", "", t1 == null ? "" : t1)); + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set strand name", B.DialogType_set_strand_name, false)), $async$ask_for_strand_name$2); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + action = A.batch_if_multiple_selected(A.name_set_strand_action_creator(type$.DialogText._as(J.$index$asx(results, 0)).value), strand, selected_strands, "set strand names"); + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_strand_name$2, $async$completer); + }, + ask_for_domain_names$1(domains) { + return this.ask_for_domain_names$body$DesignMainStrandComponent(type$.BuiltSet_Domain._as(domains)); + }, + ask_for_domain_names$body$DesignMainStrandComponent(domains) { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, results, $name, t2, items; + var $async$ask_for_domain_names$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogText_DialogText("name", "", "")); + t1 = domains._set; + t1.get$first(t1).toString; + $async$goto = 3; + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set domain name", B.DialogType_set_domain_name, false)), $async$ask_for_domain_names$1); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + $name = type$.DialogText._as(J.$index$asx(results, 0)).value; + t2 = A._instanceType(t1); + $async$returnValue = $.__app._readField$0().dispatch$1(A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(A._instanceType(domains)._eval$1("UndoableAction(1)")._as(new A.DesignMainStrandComponent_ask_for_domain_names_closure($name))), t2._eval$1("EfficientLengthMappedIterable")), "set domain names")); + // goto return + $async$goto = 1; + break; + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$ask_for_domain_names$1, $async$completer); } }; - Q._$$DesignMainStrandCrossoverProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_crossover$_props; - } + A.DesignMainStrandComponent_render_closure.prototype = { + call$2(i, p) { + return new A.MapEntry(A._asIntS(i), type$.Point_double._as(p).y, type$.MapEntry_int_double); + }, + $signature: 128 }; - Q._$$DesignMainStrandCrossoverProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_crossover$_props; - } + A.DesignMainStrandComponent_assign_dna_closure.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t1 = t1.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandProps.dna_assign_options"); + if (t1 == null) + t1 = null; + return A.ask_for_assign_dna_sequence(t2, type$.DNAAssignOptions._as(t1)); + }, + $signature: 5 }; - Q._$$DesignMainStrandCrossoverState.prototype = { - get$$$isClassGenerated: function() { - return true; - } + A.DesignMainStrandComponent_add_modification_closure.prototype = { + call$0() { + var _this = this, + t1 = _this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.ask_for_add_modification(t1.get$strand(), _this.substrand, _this.address, _this.type); + }, + $signature: 5 }; - Q._$$DesignMainStrandCrossoverState$JsMap.prototype = { - get$state: function(_) { - return this._design_main_strand_crossover$_state; - } + A.DesignMainStrandComponent_set_strand_name_closure.prototype = { + call$0() { + var t3, + t1 = this.$this, + t2 = t1.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + return t1.ask_for_strand_name$2(t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands()); + }, + $signature: 5 + }; + A.DesignMainStrandComponent_set_strand_label_closure.prototype = { + call$0() { + var t2, + t1 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + return A.ask_for_label(t1, null, t2.get$state(t2).ui_state.selectables_store.get$selected_strands(), type$.Strand); + }, + $signature: 5 }; - Q._$DesignMainStrandCrossoverComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_crossover$_cachedTypedProps; + A.DesignMainStrandComponent_set_domain_names_closure.prototype = { + call$0() { + return this.$this.ask_for_domain_names$1(this.domains); }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_crossover$_cachedTypedProps = Q._$$DesignMainStrandCrossoverProps$JsMap$(R.getBackingMap(value)); + $signature: 5 + }; + A.DesignMainStrandComponent_set_domain_labels_closure.prototype = { + call$0() { + var t1 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.ask_for_label(t1.get$strand(), this.substrand, A.get_selected_domains(), type$.Domain); }, - get$state: function(_) { - return this._design_main_strand_crossover$_cachedTypedState; + $signature: 5 + }; + A.DesignMainStrandComponent_remove_dna_closure.prototype = { + call$0() { + var t2, + t1 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + return A.ask_for_remove_dna_sequence(t1, t2.get$state(t2).ui_state.selectables_store.get$selected_strands()); }, - set$state: function(_, value) { - this.state = value; - this._design_main_strand_crossover$_cachedTypedState = Q._$$DesignMainStrandCrossoverState$JsMap$(value); + $signature: 5 + }; + A.DesignMainStrandComponent_reflect_closure.prototype = { + call$1(b) { + var t1, t2; + type$.SetBuilder_Strand._as(b); + t1 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = b.$ti._precomputed1; + t1 = t2._as(t1.get$strand()); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t1 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + return b.get$_safeSet().add$1(0, t1); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new Q._$$DesignMainStrandCrossoverState$JsMap(new L.JsBackedMap({}), null); - t1.get$$$isClassGenerated(); - t1._design_main_strand_crossover$_state = backingMap; + $signature: 82 + }; + A.DesignMainStrandComponent_context_menu_strand_closure.prototype = { + call$0() { + var _this = this; + return _this.$this.add_modification$3(_this.domain, _this.address, _this.type); + }, + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure0.prototype = { + call$0() { + var t2, t3, strand_idx, nt_idx_in_strand, message_js_commands, + t1 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t2 = this.address; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + t3 = t3.get$state(t3).get$design().strands; + t3.toString; + strand_idx = B.JSArray_methods.indexOf$2(t3._list, t3.$ti._precomputed1._as(t1), 0); + nt_idx_in_strand = t2 != null ? A.clicked_strand_dna_idx(this.domain, t2, t1) : 0; + message_js_commands = A.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", A._setArrayType([A.Blob_Blob(["let base = systems[0].strands[" + strand_idx + "].getMonomers()[" + nt_idx_in_strand + "];\napi.findElement(base);\napi.selectElements([base]);"], A.blob_type_to_string(B.BlobType_0))], type$.JSArray_Blob), "ext", A._setArrayType(["js"], type$.JSArray_String)], type$.String, type$.dynamic); + t1 = $.__app._readField$0().__App_view_F; + t1 === $ && A.throwLateFieldNI("view"); + t1 = t1.__View_oxview_view_A; + t1 === $ && A.throwLateFieldNI("oxview_view"); + t1 = t1.__OxviewViewComponent_frame_A; + t1 === $ && A.throwLateFieldNI("frame"); + t1 = A._convertNativeToDart_Window(t1.contentWindow); + if (t1 != null) + J.postMessage$2$x(t1, message_js_commands, string$.https_); + return null; + }, + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure1.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields == null; + }, + $signature: 13 + }; + A.DesignMainStrandComponent_context_menu_strand_closure2.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields != null; + }, + $signature: 13 + }; + A.DesignMainStrandComponent_context_menu_strand_closure3.prototype = { + call$0() { + return this.$this.remove_vendor_fields$0(); + }, + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure4.prototype = { + call$1(element) { + var t1 = type$.Strand._as(element).vendor_fields, + t2 = t1 == null; + if ((t2 ? null : t1.plate) != null) + t1 = (t2 ? null : t1.well) != null; + else + t1 = false; return t1; }, - get$displayName: function(_) { - return "DesignMainStrandCrossover"; + $signature: 13 + }; + A.DesignMainStrandComponent_context_menu_strand_closure5.prototype = { + call$0() { + return this.$this.remove_plate_well_fields$0(); }, - get$$$defaultConsumedProps: function() { - return C.Map_g8IUw.get$values(C.Map_g8IUw); - } + $signature: 0 }; - Q.$DesignMainStrandCrossoverPropsMixin.prototype = { - get$crossover: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoc); - if (t1 == null) - t1 = null; - return type$.legacy_Crossover._as(t1); + A.DesignMainStrandComponent_context_menu_strand_closure6.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorPickerShow$_(t2.get$strand(), null)); }, - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCost); - if (t1 == null) - t1 = null; - return type$.legacy_Strand._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure7.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorPickerShow$_(t2.get$strand(), this.domain)); }, - get$prev_domain: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop); - if (t1 == null) - t1 = null; - return type$.legacy_Domain._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure8.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorSet$_(null, t2.get$strand(), this.domain)); }, - get$next_domain: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon); - if (t1 == null) - t1 = null; - return type$.legacy_Domain._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure9.prototype = { + call$0() { + var t3, + t1 = $.__app._readField$0(), + t2 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + return t1.dispatch$1(A.batch_if_multiple_selected(new A.DesignMainStrandComponent_context_menu_strand__closure3(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand name")); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoh); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand__closure3.prototype = { + call$1(strand) { + return A._$StrandNameSet$_(null, strand); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStCoh, value); + $signature: 135 + }; + A.DesignMainStrandComponent_context_menu_strand_closure10.prototype = { + call$0() { + var t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + return this.$this.set_domain_names$1(A.add_if_not_null(t1.get$state(t1).ui_state.selectables_store.get$selected_domains(), this.domain, type$.Domain)); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCogr); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure11.prototype = { + call$0() { + var domains_selected, action, strands_selected, _s5_ = "store", + t1 = this.$this, + t2 = this.domain, + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (t3.get$state(t3).ui_state.storables.select_mode_state.get$domains_selectable()) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_domains()._set; + domains_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + if (!B.JSArray_methods.contains$1(domains_selected, t2)) + B.JSArray_methods.add$1(domains_selected, t2); + action = A.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains(domains_selected); + $.__app._readField$0().dispatch$1(action); + } else { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_strands()._set; + strands_selected = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + t2 = t1.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (!B.JSArray_methods.contains$1(strands_selected, t2.get$strand())) + B.JSArray_methods.add$1(strands_selected, t1.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand()); + action = A.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands(strands_selected); + $.__app._readField$0().dispatch$1(action); + } + return null; }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStCogr, value); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure12.prototype = { + call$0() { + var t2, domains, t3, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t2 = this.domain; + domains = A.add_if_not_null(t1.get$state(t1).ui_state.selectables_store.get$selected_domains(), t2, type$.Domain); + t1 = domains._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + action = A.BatchAction_BatchAction(A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("SubstrandNameSet(SetMixin.E)")._as(A._instanceType(domains)._eval$1("SubstrandNameSet(1)")._as(new A.DesignMainStrandComponent_context_menu_strand__closure2())), t3), true, t3._eval$1("Iterable.E")), "remove domain names"); + } else + action = A._$SubstrandNameSet$_(null, t2); + $.__app._readField$0().dispatch$1(action); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoge); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand__closure2.prototype = { + call$1(d) { + return A._$SubstrandNameSet$_(null, type$.Domain._as(d)); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStCoge, value); + $signature: 136 + }; + A.DesignMainStrandComponent_context_menu_strand_closure13.prototype = { + call$0() { + var t3, + t1 = $.__app._readField$0(), + t2 = this.$this.___$DesignMainStrandComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + return t1.dispatch$1(A.batch_if_multiple_selected(new A.DesignMainStrandComponent_context_menu_strand__closure1(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand label")); }, - get$prev_domain_helix_svg_position_y: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop_); - return H._asNumS(t1 == null ? null : t1); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand__closure1.prototype = { + call$1(strand) { + return A._$StrandLabelSet$_(null, strand); }, - get$next_domain_helix_svg_position_y: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon_); - return H._asNumS(t1 == null ? null : t1); - } + $signature: 137 }; - Q.$DesignMainStrandCrossoverState.prototype = { - set$mouse_hover: function(value) { - this._design_main_strand_crossover$_state.jsObject["DesignMainStrandCrossoverState.mouse_hover"] = F.DartValueWrapper_wrapIfNeeded(value); - } + A.DesignMainStrandComponent_context_menu_strand_closure14.prototype = { + call$0() { + return this.$this.set_domain_labels$2(this.domain, A.get_selected_domains()); + }, + $signature: 0 }; - Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent.prototype = {}; - Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.DesignMainStrandComponent_context_menu_strand_closure15.prototype = { + call$0() { + var t2, domains, t3, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t2 = this.domain; + domains = A.add_if_not_null(t1.get$state(t1).ui_state.selectables_store.get$selected_domains(), t2, type$.Domain); + t1 = domains._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + action = A.BatchAction_BatchAction(A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("SubstrandLabelSet(SetMixin.E)")._as(A._instanceType(domains)._eval$1("SubstrandLabelSet(1)")._as(new A.DesignMainStrandComponent_context_menu_strand__closure0())), t3), true, t3._eval$1("Iterable.E")), "remove domain labels"); + } else + action = A._$SubstrandLabelSet$_(null, t2); + $.__app._readField$0().dispatch$1(action); }, - set$groups: function(groups) { - this.DesignMainStrandCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand__closure0.prototype = { + call$1(d) { + return A._$SubstrandLabelSet$_(null, type$.Domain._as(d)); }, - set$geometry: function(_, geometry) { - this.DesignMainStrandCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + $signature: 466 + }; + A.DesignMainStrandComponent_context_menu_strand_closure16.prototype = { + call$0() { + return this.$this.reflect$2(true, false); }, - get$helices: function() { - return this.DesignMainStrandCrossoverPropsMixin_helices; + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure17.prototype = { + call$0() { + return this.$this.reflect$2(true, true); }, - get$groups: function() { - return this.DesignMainStrandCrossoverPropsMixin_groups; + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure18.prototype = { + call$0() { + return this.$this.reflect$2(false, false); }, - get$geometry: function(receiver) { - return this.DesignMainStrandCrossoverPropsMixin_geometry; - } + $signature: 0 }; - Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin.prototype = {}; - Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.DesignMainStrandComponent_context_menu_strand_closure19.prototype = { + call$0() { + return this.$this.reflect$2(false, true); }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand_closure20.prototype = { + call$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainStrandComponent_context_menu_strand__closure(this.$this, this.strand), type$.void); }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + $signature: 0 + }; + A.DesignMainStrandComponent_context_menu_strand__closure.prototype = { + call$0() { + return this.$this.ask_for_add_extension$1(this.strand); }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + $signature: 5 + }; + A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure.prototype = { + call$1(element) { + var t1, t2; + type$.Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.scale); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + $signature: 13 + }; + A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields == null; }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } + $signature: 13 }; - Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState.prototype = {}; - Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState.prototype = {}; - A.DesignMainStrandDeletionPropsMixin.prototype = {}; - A.DesignMainStrandDeletionComponent.prototype = { - render$0: function(_) { - var pos, width, half_width, t4, path_cmds, background_width, background_height, classname, key, key_background, _this = this, _null = null, - geometry = _this._design_main_strand_deletion$_cachedTypedProps.get$helix().geometry, - domain = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, - deletion_offset = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset, - t1 = _this._design_main_strand_deletion$_cachedTypedProps.get$helix(), - t2 = domain.forward, - t3 = _this._design_main_strand_deletion$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMStDesv); - pos = t1.svg_base_pos$3(deletion_offset, t2, H._asNumS(t3 == null ? _null : t3)); - width = 0.8 * geometry.get$base_width_svg(); - half_width = 0.5 * width; - t1 = pos.x; - if (typeof t1 !== "number") - return t1.$sub(); - t2 = "M " + H.S(t1 - half_width) + " "; - t3 = pos.y; - if (typeof t3 !== "number") - return t3.$sub(); - t4 = -width; - path_cmds = t2 + H.S(t3 - half_width) + " l " + H.S(width) + " " + H.S(width) + " m " + H.S(t4) + " 0 l " + H.S(width) + " " + H.S(t4); - background_width = geometry.get$base_width_svg(); - background_height = geometry.get$base_height_svg(); - t2 = _this._design_main_strand_deletion$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDesee); - if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) { - t2 = _this._design_main_strand_deletion$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDer); - classname = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) ? "deletion-group selected" : "deletion-group selected-pink"; - } else - classname = "deletion-group"; - if (_this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().is_scaffold) - classname += " scaffold"; - t2 = domain.helix; - key = "deletion-H" + t2 + "-" + H.S(deletion_offset); - key_background = "deletion-background-H" + t2 + "-" + H.S(deletion_offset); - t2 = A.SvgProps$($.$get$g(), _null); - t2.set$className(0, classname); - t2.set$onPointerDown(new A.DesignMainStrandDeletionComponent_render_closure(_this)); - t2.set$onPointerUp(new A.DesignMainStrandDeletionComponent_render_closure0(_this)); - t4 = _this._design_main_strand_deletion$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStDet); - t2.set$transform(0, H._asStringS(t4 == null ? _null : t4)); - t4 = A.SvgProps$($.$get$rect(), _null); - t4.set$className(0, "deletion-background"); - t4.set$x(0, t1 - background_width / 2); - t4.set$y(0, t3 - background_height / 2); - t4.set$width(0, background_width); - t4.set$height(0, background_height); - t4.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure1(_this)); - t4.set$key(0, key_background); - t4 = t4.call$0(); - t3 = A.SvgProps$($.$get$path(), _null); - t3.set$className(0, "deletion-cross"); - t3.set$fill(0, "none"); - t3.set$d(0, path_cmds); - t3.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure2(_this)); - t1 = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); - t3.set$id(0, t1.get$id(t1)); - t3.set$key(0, key); - return t2.call$2(t4, t3.call$0()); - } + A.DesignMainStrandComponent_custom_scale_value_closure.prototype = { + call$1(element) { + var t1, t2; + type$.Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.scale); + }, + $signature: 13 }; - A.DesignMainStrandDeletionComponent_render_closure.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); - t1 = this.$this; - t2 = t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_deletion) && E.origami_type_selectable(t2); - } else - t2 = false; - if (t2) - t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + A.DesignMainStrandComponent_custom_purification_value_closure.prototype = { + call$1(element) { + var t1, t2; + type$.Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.purification); }, - $signature: 18 + $signature: 13 }; - A.DesignMainStrandDeletionComponent_render_closure0.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); - t1 = this.$this; - t2 = t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_deletion) && E.origami_type_selectable(t2); - } else - t2 = false; - if (t2) - t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure.prototype = { + call$1(element) { + var t1, t2; + type$.Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.purification); }, - $signature: 18 + $signature: 13 }; - A.DesignMainStrandDeletionComponent_render_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) { - t1 = this.$this; - $.app.dispatch$1(U.DeletionRemove_DeletionRemove(t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset)); - } + A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields == null; }, - $signature: 17 + $signature: 13 }; - A.DesignMainStrandDeletionComponent_render_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) { - t1 = this.$this; - $.app.dispatch$1(U.DeletionRemove_DeletionRemove(t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset)); - } + A.DesignMainStrandComponent_select_plate_number_closure.prototype = { + call$1(element) { + var t1, t2; + type$.Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return A.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.plate; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.plate); }, - $signature: 17 + $signature: 13 }; - A.$DesignMainStrandDeletionComponentFactory_closure.prototype = { - call$0: function() { - return new A._$DesignMainStrandDeletionComponent(null); + A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields == null; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 465 + $signature: 13 }; - A._$$DesignMainStrandDeletionProps.prototype = { - get$$$isClassGenerated: function() { + A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0.prototype = { + call$1(element) { + return type$.Strand._as(element).vendor_fields == null; + }, + $signature: 13 + }; + A.DesignMainStrandComponent_ask_for_domain_names_closure.prototype = { + call$1(d) { + return A._$SubstrandNameSet$_(this.name, type$.Domain._as(d)); + }, + $signature: 136 + }; + A.ask_for_label_closure.prototype = { + call$1(s) { + return A._$SubstrandLabelSet$_(this.label, type$.Substrand._as(s)); + }, + $signature: 467 + }; + A.batch_if_multiple_selected_closure.prototype = { + call$1(b) { + var t1, t2; + type$.SetBuilder_Strand._as(b); + t1 = b.$ti._precomputed1; + t2 = t1._as(this.strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + A.throwExpression(A.ArgumentError$("null element", null)); + return b.get$_safeSet().add$1(0, t2); + }, + $signature: 82 + }; + A.get_selected_domains_closure.prototype = { + call$1(s) { + return type$.Strand._as(s).get$domains(); + }, + $signature: 468 + }; + A.get_selected_domains_closure0.prototype = { + call$1(l) { + return type$.BuiltList_Domain._as(l); + }, + $signature: 469 + }; + A.scaffold_set_strand_action_creator_closure.prototype = { + call$1(strand) { + return A._$ScaffoldSet$_(this.is_scaffold, strand); + }, + $signature: 470 + }; + A.remove_dna_strand_action_creator_closure.prototype = { + call$1(strand) { + return A._$RemoveDNA$_(this.remove_all, this.remove_complements, strand); + }, + $signature: 471 + }; + A.name_set_strand_action_creator_closure.prototype = { + call$1(strand) { + return A._$StrandNameSet$_(this.name, strand); + }, + $signature: 135 + }; + A.label_set_strand_action_creator_closure.prototype = { + call$1(strand) { + return A._$StrandLabelSet$_(this.label, strand); + }, + $signature: 137 + }; + A.$DesignMainStrandComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandComponent(null); + }, + $signature: 472 + }; + A._$$DesignMainStrandProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainStrandDeletionComponentFactory() : t1; - } + return t1 == null ? $.$get$$DesignMainStrandComponentFactory() : t1; + }, + $isTransformByHelixGroupPropsMixin: 1 }; - A._$$DesignMainStrandDeletionProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_deletion$_props; + A._$$DesignMainStrandProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand$_props; } }; - A._$$DesignMainStrandDeletionProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_deletion$_props; + A._$$DesignMainStrandProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand$_props; } }; - A._$DesignMainStrandDeletionComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_deletion$_cachedTypedProps; + A._$DesignMainStrandComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_deletion$_cachedTypedProps = A._$$DesignMainStrandDeletionProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandComponent__cachedTypedProps_A = A._$$DesignMainStrandProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainStrandDeletion"; + get$displayName(_) { + return "DesignMainStrand"; }, - get$$$defaultConsumedProps: function() { - return C.Map_AsCdv.get$values(C.Map_AsCdv); + get$$$defaultConsumedProps() { + return B.Map_urwdf.get$values(B.Map_urwdf); } }; - A.$DesignMainStrandDeletionPropsMixin.prototype = { - get$selectable_deletion: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDesea); + A.$DesignMainStrandProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_SelectableDeletion._as(t1); + return type$.Strand._as(t1); }, - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDeletionPropsMixin.helix"); + get$side_selected_helix_idxs() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrsi); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); - } - }; - A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent.prototype = {}; - A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin.prototype = {}; - A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin.prototype = {}; - S.DesignMainDNAEndPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainDNAEndPropsMixin_geometry; - } - }; - S.DesignMainDNAEndComponent.prototype = { - get$dna_end: function() { - var t2, _this = this, - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1.get$domain(t1) != null) { - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1) { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); - } else { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); - } - } else - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().get$dnaend_free(); - return t1; + return type$.nullable_BuiltSet_int._as(t1); }, - get$is_first: function() { - var _this = this, - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1.get$domain(t1) != null) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1).is_first && H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - } else - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); - return t1; + get$only_display_selected_helices() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPro); + return A._asBoolS(t1 == null ? null : t1); }, - get$is_last: function() { - var _this = this, - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1.get$domain(t1) != null) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1).is_last && !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - } else - t1 = !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.helices"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); + }, + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); + }, + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); + }, + get$show_strand_names() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.show_strand_names"); + return A._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_labels() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.show_strand_labels"); + return A._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_names() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.show_domain_names"); + return A._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_labels() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandProps.show_domain_labels"); + return A._asBoolS(t1 == null ? null : t1); + }, + get$helix_idx_to_svg_position_map() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrh); + if (t1 == null) + t1 = null; + return type$.BuiltMap_of_int_and_Point_double._as(t1); + }, + get$retain_strand_color_on_selection() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrr); + return A._asBoolS(t1 == null ? null : t1); + } + }; + A._DesignMainStrandComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps.prototype = {}; + A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps.prototype = {}; + A.DesignMainStrandAndDomainTextsProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); return t1; }, - render$0: function(_) { - var classname, t1, end_props, end_moving_props, extension_end_moving_props, color, t2, $forward, dna_end, offset, pos, extension_attached_end_svg, rotation_degrees, t3, _this = this, _null = null; - if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) - classname = H.boolConversionCheck(_this.get$is_first()) && H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? "five-prime-end-first-substrand" : "five-prime-end"; - else - classname = _this.get$is_last() && !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? "three-prime-end-last-substrand" : "three-prime-end"; - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.selected"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMDNEr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; + get$groups() { + var t1 = this.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; + }, + get$geometry(_) { + var t1 = this.DesignMainStrandAndDomainTextsProps___DesignMainStrandAndDomainTextsProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; + }, + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandAndDomainTextsComponent.prototype = { + render$0(_) { + var text_components, strand_name_component, strand_label_component, domain_name_components, domain_label_components, _this = this, _null = null, + _s12_ = "domain-names", + _s13_ = "domain-labels", + t1 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (!(A.boolConversionCheck(t1.get$show_domain_names()) || A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_strand_names()) || A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_strand_labels()) || A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_labels()))) + return _null; + text_components = A._setArrayType([], type$.JSArray_ReactElement); + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_strand_names())) { + strand_name_component = _this._draw_strand_name$0(); + if (strand_name_component != null) + B.JSArray_methods.add$1(text_components, strand_name_component); } - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.is_scaffold"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - classname += " scaffold"; - end_props = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); - end_moving_props = $.$get$ConnectedEndMoving().call$0(); - extension_end_moving_props = $.$get$ConnectedExtensionEndMoving().call$0(); - color = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color(); - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (!t1) { - $forward = t2.get$domain(t2).forward; - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1) { - t1 = t2.get$domain(t2); - dna_end = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); - } else { - t1 = t2.get$domain(t2); - dna_end = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); - } - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - offset = t1 ? t2.get$domain(t2).get$offset_5p() : t2.get$domain(t2).get$offset_3p(); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - pos = t1.svg_base_pos$3(offset, t2.get$domain(t2).forward, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1.get$domain(t1).color != null) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - color = t1.get$domain(t1).color; - } - extension_attached_end_svg = _null; - rotation_degrees = 0; - } else { - $forward = t2.get$ext().adjacent_domain.forward; - dna_end = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().get$dnaend_free(); - extension_attached_end_svg = E.compute_extension_attached_end_svg(_this._design_main_strand_dna_end$_cachedTypedProps.get$ext(), _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain; - t3 = _this._design_main_strand_dna_end$_cachedTypedProps; - pos = E.compute_extension_free_end_svg(extension_attached_end_svg, t1, t2, t3.get$geometry(t3)); - t3 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); - rotation_degrees = E.compute_end_rotation(t3.display_angle, t3.adjacent_domain.forward, t3.is_5p); - if (_this._design_main_strand_dna_end$_cachedTypedProps.get$ext().color != null) - color = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().color; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_strand_labels())) { + strand_label_component = _this._draw_strand_label$0(); + if (strand_label_component != null) + B.JSArray_methods.add$1(text_components, strand_label_component); } - end_props.set$on_pointer_down(_this.get$handle_end_click_select_and_or_move_start()); - end_props.set$on_pointer_up(_this.get$handle_end_pointer_up_select()); - end_props.set$on_mouse_up(_this.get$handle_end_click_ligate_or_potential_crossover()); - end_props.set$on_mouse_enter(_this.get$handle_on_mouse_enter()); - end_props.set$on_mouse_leave(_this.get$handle_on_mouse_leave()); - end_props.set$on_mouse_move(_this.get$handle_on_mouse_move()); - end_props.set$pos(pos); - end_props.set$color(0, color); - end_props.set$classname(classname); - end_props.set$forward(0, $forward); - end_props.set$transform(0, "rotate(" + H.S(rotation_degrees) + ")"); - end_props.set$id(0, dna_end.get$id(dna_end)); - end_props.set$key(0, "nonmoving-end"); - end_moving_props.set$dna_end(dna_end); - end_moving_props.set$helix(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix()); - end_moving_props.set$color(0, color); - end_moving_props.set$forward(0, $forward); - end_moving_props.set$is_5p(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t1 = "rotate(" + H.S(rotation_degrees) + ")"; - J.$indexSet$ax(end_moving_props.get$props(end_moving_props), "EndMovingProps.transform", t1); - end_moving_props.set$svg_position_y(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); - end_moving_props.set$key(0, "moving-end"); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.dna_end", dna_end); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.ext", t1); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$geometry(t1); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.geometry", t1); - type$.legacy_Point_legacy_num._as(extension_attached_end_svg); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.attached_end_svg", extension_attached_end_svg); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.helix", t1); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.group", t1); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.color", color); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.forward", $forward); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); - J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.is_5p", t1); - extension_end_moving_props.set$key(0, "moving-extension"); - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "dna-ends"); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "DesignMainDNAEndPropsMixin.transform"); - t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); - return t1.call$3(end_props.call$0(), end_moving_props.call$0(), extension_end_moving_props.call$0()); - }, - componentDidMount$0: function() { - var t1, t2, id, _this = this; - if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1 != null) { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); - id = t1.get$id(t1); - } else { - t1 = t2.get$ext().get$dnaend_free(); - id = t1.get$id(t1); - } - } else { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1 != null) { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); - id = t1.get$id(t1); - } else { - t1 = t2.get$ext().get$dnaend_free(); - id = t1.get$id(t1); + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_names())) { + domain_name_components = _this._draw_domain_names$0(); + if (domain_name_components.length !== 0) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s12_); + t1.set$key(0, _s12_); + B.JSArray_methods.add$1(text_components, t1.call$1(domain_name_components)); } } - t1 = "#" + id; - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); - }, - componentWillUnmount$0: function() { - var t1, t2, id, _this = this; - if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1 != null) { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); - id = t1.get$id(t1); - } else { - t1 = t2.get$ext().get$dnaend_free(); - id = t1.get$id(t1); - } - } else { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - t1 = t1.get$domain(t1); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1 != null) { - t1 = t2.get$domain(t2); - t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); - id = t1.get$id(t1); - } else { - t1 = t2.get$ext().get$dnaend_free(); - id = t1.get$id(t1); + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_labels())) { + domain_label_components = _this._draw_domain_labels$0(); + if (domain_label_components.length !== 0) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s13_); + t1.set$key(0, _s13_); + B.JSArray_methods.add$1(text_components, t1.call$1(domain_label_components)); } } - t1 = "#" + id; - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); - _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + if (text_components.length === 0) + return _null; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "domain-and-strand-names-and-labels"); + return t1.call$1(text_components); }, - on_context_menu$1: function(ev) { - var t1, t2, address, t3, t4, _this = this; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { - ev.preventDefault(); - ev.stopPropagation(); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1.get$domain(t1) != null) { - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - address = t1 ? t2.get$domain(t2).get$address_5p() : t2.get$domain(t2).get$address_3p(); - } else - address = null; - t1 = $.app; - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - t3 = t2.get$strand(); - t4 = _this._design_main_strand_dna_end$_cachedTypedProps; - t4 = t4.get$domain(t4); - if (t4 == null) - t4 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); - t2 = D._BuiltList$of(t2.context_menu_strand$4$address$substrand$type(t3, address, t4, H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? C.ModificationType_five_prime : C.ModificationType_three_prime), type$.legacy_ContextMenuItem); - t3 = ev.pageX; + _draw_strand_name$0() { + var domain_5p, t2, draw_domain, t3, num_stacked, t4, t5, t6, strand_name_component, _this = this, + _s11_ = "strand-name", + t1 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$strand().name == null) + return null; + domain_5p = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().get$first_domain(); + t1 = domain_5p.helix; + t2 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$side_selected_helix_idxs(); + draw_domain = !A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); + t2 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$helix_idx_to_svg_position()._map$_map.$index(0, t1); + t2.toString; + if (draw_domain && _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().name != null) { + t3 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, t1); t3.toString; - t4 = ev.pageY; - t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); - } - }, - handle_end_click_select_and_or_move_start$1: function(event_synthetic) { - var t1, t2, $event, t3, extension_attached_end_svg, pos, _this = this; - type$.legacy_SyntheticPointerEvent._as(event_synthetic); - t1 = _this.get$dna_end(); - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + num_stacked = A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_dna()) ? 1 : 0; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_names())) + ++num_stacked; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_labels())) + ++num_stacked; + t4 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t4.set$strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand()); + t5 = J.getInterceptor$z(t4); + t5.set$domain(t4, domain_5p); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().name; + t6.toString; + t5.set$text(t4, t6); + t4.set$num_stacked(num_stacked); + t4.set$css_selector_text(_s11_); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, string$.DesignMStAst_n); + t4.set$font_size(A._asDoubleS(t6 == null ? null : t6)); + t4.set$helix(t3); + t4.set$helix_groups(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$groups()); + t3 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t5.set$geometry(t4, t3.get$geometry(t3)); + t5.set$transform(t4, A.transform_of_helix2(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A, t1, type$.DesignMainStrandAndDomainTextsProps)); + t4.set$helix_svg_position(t2); + t4.set$context_menu_strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$context_menu_strand()); + t5.set$key(t4, _s11_); + strand_name_component = t4.call$0(); } else - t2 = true; - if (t2 && E.end_type_selectable(t1) && E.origami_type_selectable(t1)) { - t1 = J.getInterceptor$x(event_synthetic); - t2 = type$.legacy_MouseEvent; - if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension())) { - $event = t2._as(t1.get$nativeEvent(event_synthetic)); - t1 = $event.button; - if (t1 === 2 || t1 === 1) - return; - _this.get$dna_end().handle_selection_mouse_down$1($event); - t1 = $.app; - t2 = _this.get$dna_end(); - t3 = t2.offset; - if (t2.is_start) - t2 = t3; - else { - if (typeof t3 !== "number") - return t3.$sub(); - t2 = t3 - 1; - } - t1.dispatch$1(U._$DNAEndsMoveStart$_(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), t2)); - } else { - $event = t2._as(t1.get$nativeEvent(event_synthetic)); - t1 = $event.button; - if (t1 === 2 || t1 === 1) - return; - _this.get$dna_end().handle_selection_mouse_down$1($event); - extension_attached_end_svg = E.compute_extension_attached_end_svg(_this._design_main_strand_dna_end$_cachedTypedProps.get$ext(), _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - extension_attached_end_svg = extension_attached_end_svg.$add(0, t1.translation$1(t2.get$geometry(t2))); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain; - t3 = _this._design_main_strand_dna_end$_cachedTypedProps; - pos = E.compute_extension_free_end_svg(extension_attached_end_svg, t2, t1, t3.get$geometry(t3)); - $.app.dispatch$1(U._$DNAExtensionsMoveStart$_(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), pos)); - } - } + strand_name_component = null; + return strand_name_component; }, - handle_end_pointer_up_select$1: function(event_synthetic) { - var t1, t2, $event; - type$.legacy_SyntheticPointerEvent._as(event_synthetic); - t1 = this.get$dna_end(); - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + _draw_strand_label$0() { + var domain_5p, t2, draw_domain, t3, num_stacked, t4, t5, t6, strand_label_component, _this = this, + _s12_ = "strand-label", + t1 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$strand().label == null) + return null; + domain_5p = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().get$first_domain(); + t1 = domain_5p.helix; + t2 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$side_selected_helix_idxs(); + draw_domain = !A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); + t2 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$helix_idx_to_svg_position()._map$_map.$index(0, t1); + t2.toString; + if (draw_domain && _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().label != null) { + t3 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, t1); + t3.toString; + num_stacked = A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_dna()) ? 1 : 0; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_strand_names())) + ++num_stacked; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_names())) + ++num_stacked; + if (A.boolConversionCheck(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$show_domain_labels())) + ++num_stacked; + t4 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t4.set$strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand()); + t5 = J.getInterceptor$z(t4); + t5.set$domain(t4, domain_5p); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$strand().label; + t6.toString; + t5.set$text(t4, t6); + t4.set$num_stacked(num_stacked); + t4.set$css_selector_text(_s12_); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, string$.DesignMStAst_l); + t4.set$font_size(A._asDoubleS(t6 == null ? null : t6)); + t4.set$helix(t3); + t4.set$helix_groups(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$groups()); + t3 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t5.set$geometry(t4, t3.get$geometry(t3)); + t5.set$transform(t4, A.transform_of_helix2(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A, t1, type$.DesignMainStrandAndDomainTextsProps)); + t4.set$helix_svg_position(t2); + t4.set$context_menu_strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$context_menu_strand()); + t5.set$key(t4, _s12_); + strand_label_component = t4.call$0(); } else - t2 = true; - if (t2 && E.end_type_selectable(t1) && E.origami_type_selectable(t1)) { - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_synthetic)); - t1 = $event.button; - if (t1 === 2 || t1 === 1) - return; - this.get$dna_end().handle_selection_mouse_up$1($event); - } + strand_label_component = null; + return strand_label_component; }, - handle_end_click_ligate_or_potential_crossover$1: function($event) { - var t1, t2, offset, start_point_untransformed, start_point, address, potential_crossover, domain_idx, t3, linker, other_domain_idx_in_substrands, other_domain, other_end, other_offset, other_helix_idx, other_helix_svg, _this = this; - if (!J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.legacy_SyntheticMouseEvent._as($event))), 0)) - return; - if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension())) - return; - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) - if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) - t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); - else - t1 = false; - else - t1 = false; - if (t1) { - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - offset = t1 ? t2.get$domain(t2).get$offset_5p() : t2.get$domain(t2).get$offset_3p(); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - start_point_untransformed = t1.svg_base_pos$3(offset, t2.get$domain(t2).forward, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps; - start_point = t2.transform_point_main_view$2(start_point_untransformed, t1.get$geometry(t1)); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix().idx; - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - address = Z._$Address$_(t2.get$domain(t2).forward, t1, offset); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color().toHexColor$0(); - potential_crossover = S.PotentialCrossover_PotentialCrossover(address, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(), start_point, _this.get$dna_end(), null, start_point); - $.app.dispatch$1(U._$PotentialCrossoverCreate$_(potential_crossover)); - } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) - if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) - t1 = !(H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last()); + _draw_domain_names$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, t14, num_stacked, t15, t16, translate_svg, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, + _s60_ = string$.DesignMStAsi, + _s65_ = string$.DesignMStAo, + _s44_ = string$.DesignMStAshdn, + _s42_ = string$.DesignMStAst, + _s44_0 = string$.DesignMStAge, + _s57_ = string$.DesignMStAdn, + names = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().substrands._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.nullable_BuiltSet_int; + t3 = type$.Geometry; + t4 = type$.Strand; + t5 = type$.Domain; + t6 = type$.Point_double; + t7 = type$.BuiltMap_String_HelixGroup; + t8 = type$.BuiltMap_of_int_and_Point_double; + t9 = type$.BuiltMap_int_Helix; + i = 0; + for (; t1.moveNext$0();) { + t10 = t1.__interceptors$_current; + if (t10 instanceof A.Domain) { + t11 = t10.helix; + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s60_); + t12 = t2._as(t12 == null ? _null : t12); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s65_); + if ((!A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.name != null) { + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAhc); + t12 = t9._as(t12 == null ? _null : t12)._map$_map.$index(0, t11); + t12.toString; + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, string$.DesignMStAhx); + t13 = t8._as(t13 == null ? _null : t13)._map$_map.$index(0, t11); + t13.toString; + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t14 == null ? _null : t14)) ? 1 : 0; + t14 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, _s42_); + t15 = t4._as(t15 == null ? _null : t15); + t14.toString; + t16 = J.getInterceptor$x(t14); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.strand", t15); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.domain", t10); + t10 = t10.name; + t10.toString; + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.text", t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDon, num_stacked); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDocs, "domain-name"); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.helix", t12); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAgr); + t10 = t7._as(t7._as(t12 == null ? _null : t12)); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDohg, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s44_0); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.geometry", t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s57_); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDof, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t10.get$helices()._map$_map.$index(0, t11); + t11.toString; + t11 = t10.get$groups()._map$_map.$index(0, t11.group); + t11.toString; + t10 = t10.get$geometry(t10); + t12 = t11.position; + t15 = t10.__nm_to_svg_pixels; + t10 = t15 == null ? t10.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t10) : t15; + translate_svg = A.Position3D_Position3D(t12.x * t10, t12.y * t10, t12.z * t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDot, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); + t6._as(t13); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDohs, t13); + t14.set$context_menu_strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$context_menu_strand()); + t16 = t16.get$props(t14); + J.$indexSet$ax(t16, "key", "domain-name-" + i); + B.JSArray_methods.add$1(names, t14.call$0()); + } + } else if (t10 instanceof A.Loopout) { + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s42_); + t12 = i - 1; + t11 = t4._as(t11 == null ? _null : t11).substrands._list; + if (!(t12 >= 0 && t12 < t11.length)) + return A.ioore(t11, t12); + prev_domain = t5._as(t11[t12]); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s42_); + t11 = i + 1; + t12 = t4._as(t12 == null ? _null : t12).substrands._list; + if (!(t11 < t12.length)) + return A.ioore(t12, t11); + next_domain = t5._as(t12[t11]); + prev_helix_idx = prev_domain.helix; + next_helix_idx = next_domain.helix; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s60_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s65_); + t12 = A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)); + if (!t12 || t11._set.contains$1(0, prev_helix_idx)) + draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); else - t1 = false; - else - t1 = false; - if (t1) { - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand().get$domains(); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps; - domain_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2.get$domain(t2)), 0); - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); - t2 = type$.legacy_Domain; - t3 = _this._design_main_strand_dna_end$_cachedTypedProps; - if (t1) { - linker = J.$index$asx(t3.get$strand().get$linkers()._list, domain_idx - 1); - other_domain_idx_in_substrands = linker.get$prev_domain_idx(); - other_domain = t2._as(J.$index$asx(_this._design_main_strand_dna_end$_cachedTypedProps.get$strand().substrands._list, other_domain_idx_in_substrands)); - other_end = other_domain.forward ? other_domain.get$dnaend_end() : other_domain.get$dnaend_start(); - } else { - linker = J.$index$asx(t3.get$strand().get$linkers()._list, domain_idx); - other_domain_idx_in_substrands = linker.get$next_domain_idx(); - other_domain = t2._as(J.$index$asx(_this._design_main_strand_dna_end$_cachedTypedProps.get$strand().substrands._list, other_domain_idx_in_substrands)); - other_end = other_domain.forward ? other_domain.get$dnaend_start() : other_domain.get$dnaend_end(); + draw_loopout = false; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + if (draw_loopout && t10.name != null) { + t11 = A.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandLoopoutTextProps.loopout", t10); + t10 = t10.name; + t10.toString; + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandLoopoutTextProps.text", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s44_0); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s57_); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-name"); + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", "loopout-name-" + i); + B.JSArray_methods.add$1(names, t11.call$0()); + } + } else if (t10 instanceof A.Extension) { + adj_helix_idx = t10.adjacent_domain.helix; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s60_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s65_); + draw_ext = !A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + if (draw_ext && t10.name != null) { + t11 = A.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandExtensionTextProps.ext", t10); + t10 = t10.name; + t10.toString; + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandExtensionTextProps.text", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s44_0); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s57_); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "loopout-label"); + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", "extension-name-" + i); + B.JSArray_methods.add$1(names, t11.call$0()); } - other_offset = other_end.offset; - if (!other_end.is_start) { - if (typeof other_offset !== "number") - return other_offset.$sub(); - --other_offset; + } else + throw A.wrapException(A.AssertionError$(string$.substr)); + ++i; + } + return names; + }, + _draw_domain_labels$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, t14, num_stacked, t15, t16, translate_svg, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, + _s60_ = string$.DesignMStAsi, + _s65_ = string$.DesignMStAo, + _s44_ = string$.DesignMStAshdn, + _s53_ = string$.DesignMStAshdon, + _s42_ = string$.DesignMStAst, + _s12_ = "domain-label", + _s44_0 = string$.DesignMStAge, + _s57_ = string$.DesignMStAdn, + names = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand().substrands._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.nullable_BuiltSet_int; + t3 = type$.Geometry; + t4 = type$.Strand; + t5 = type$.Domain; + t6 = type$.Point_double; + t7 = type$.BuiltMap_String_HelixGroup; + t8 = type$.BuiltMap_of_int_and_Point_double; + t9 = type$.BuiltMap_int_Helix; + i = 0; + for (; t1.moveNext$0();) { + t10 = t1.__interceptors$_current; + if (t10 instanceof A.Domain) { + t11 = t10.helix; + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s60_); + t12 = t2._as(t12 == null ? _null : t12); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s65_); + if ((!A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.label != null) { + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAhc); + t12 = t9._as(t12 == null ? _null : t12)._map$_map.$index(0, t11); + t12.toString; + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, string$.DesignMStAhx); + t13 = t8._as(t13 == null ? _null : t13)._map$_map.$index(0, t11); + t13.toString; + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t14 == null ? _null : t14)) ? 1 : 0; + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s53_); + if (A.boolConversionCheck(A._asBoolS(t14 == null ? _null : t14))) + ++num_stacked; + t14 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, _s42_); + t15 = t4._as(t15 == null ? _null : t15); + t14.toString; + t16 = J.getInterceptor$x(t14); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.strand", t15); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.domain", t10); + t10 = t10.label; + t10.toString; + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.text", t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDon, num_stacked); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDocs, _s12_); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.helix", t12); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAgr); + t10 = t7._as(t7._as(t12 == null ? _null : t12)); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDohg, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s44_0); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t16.get$props(t14), "DesignMainStrandDomainTextProps.geometry", t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s57_); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDof, t10); + t10 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t10.get$helices()._map$_map.$index(0, t11); + t11.toString; + t11 = t10.get$groups()._map$_map.$index(0, t11.group); + t11.toString; + t10 = t10.get$geometry(t10); + t12 = t11.position; + t15 = t10.__nm_to_svg_pixels; + t10 = t15 == null ? t10.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t10) : t15; + translate_svg = A.Position3D_Position3D(t12.x * t10, t12.y * t10, t12.z * t10); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDot, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); + t6._as(t13); + J.$indexSet$ax(t16.get$props(t14), string$.DesignMStDohs, t13); + t14.set$context_menu_strand(_this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$context_menu_strand()); + J.$indexSet$ax(t16.get$props(t14), "className", _s12_); + t16 = t16.get$props(t14); + J.$indexSet$ax(t16, "key", "domain-label-" + i); + B.JSArray_methods.add$1(names, t14.call$0()); } - other_helix_idx = other_domain.helix; - t1 = $.app.store; - other_helix_svg = J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, other_helix_idx); - t1 = other_domain.forward; - start_point_untransformed = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix().svg_base_pos$3(other_offset, t1, other_helix_svg.y); - t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); - t3 = _this._design_main_strand_dna_end$_cachedTypedProps; - start_point = t2.transform_point_main_view$2(start_point_untransformed, t3.get$geometry(t3)); - address = Z._$Address$_(t1, other_helix_idx, other_offset); - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color().toHexColor$0(); - potential_crossover = S.PotentialCrossover_PotentialCrossover(address, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(), start_point, other_end, linker, start_point); - $.app.dispatch$1(U._$PotentialCrossoverCreate$_(potential_crossover)); - } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) - if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) - t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); - else - t1 = false; + } else if (t10 instanceof A.Loopout) { + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s42_); + t12 = i - 1; + t11 = t4._as(t11 == null ? _null : t11).substrands._list; + if (!(t12 >= 0 && t12 < t11.length)) + return A.ioore(t11, t12); + prev_domain = t5._as(t11[t12]); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s42_); + t11 = i + 1; + t12 = t4._as(t12 == null ? _null : t12).substrands._list; + if (!(t11 < t12.length)) + return A.ioore(t12, t11); + next_domain = t5._as(t12[t11]); + prev_helix_idx = prev_domain.helix; + next_helix_idx = next_domain.helix; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s60_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s65_); + t12 = A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)); + if (!t12 || t11._set.contains$1(0, prev_helix_idx)) + draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); else - t1 = false; - if (t1) { - potential_crossover = $.app.store_potential_crossover._state; - t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); - t2 = potential_crossover.dna_end_first_click; - if (t1 === t2.is_5p) - return; - $.app.dispatch$1(U._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); - if (!(H.boolConversionCheck(_this.get$is_first()) && t2.substrand_is_last)) - t1 = _this.get$is_last() && t2.substrand_is_first; - else - t1 = true; - if (t1) - $.app.dispatch$1(U._$JoinStrandsByCrossover$_(t2, _this.get$dna_end())); - else if (potential_crossover.linker != null) - $.app.dispatch$1(U._$MoveLinker$_(_this.get$dna_end(), potential_crossover)); - } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_ligate)) - t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); - else - t1 = false; - if (t1) - $.app.dispatch$1(U._$Ligate$_(_this.get$dna_end())); + draw_loopout = false; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s53_); + if (A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11))) + ++num_stacked; + if (draw_loopout && t10.label != null) { + t11 = A.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandLoopoutTextProps.loopout", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s44_0); + t13 = t3._as(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t13); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s57_); + t13 = A._asDoubleS(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t13); + t10 = t10.label; + t10.toString; + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandLoopoutTextProps.text", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-label"); + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", "loopout-label-" + i); + B.JSArray_methods.add$1(names, t11.call$0()); } - } + } else if (t10 instanceof A.Extension) { + adj_helix_idx = t10.adjacent_domain.helix; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s60_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s65_); + draw_ext = !A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s44_); + num_stacked = A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s53_); + if (A.boolConversionCheck(A._asBoolS(t11 == null ? _null : t11))) + ++num_stacked; + if (draw_ext && t10.label != null) { + t11 = A.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandExtensionTextProps.ext", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s44_0); + t13 = t3._as(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t13); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s57_); + t13 = A._asDoubleS(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t13); + t10 = t10.label; + t10.toString; + J.$indexSet$ax(t12.get$props(t11), "DesignMainStrandExtensionTextProps.text", t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "extension-label"); + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", "extension-label-" + i); + B.JSArray_methods.add$1(names, t11.call$0()); + } + } else + throw A.wrapException(A.AssertionError$(string$.substr)); + ++i; } - }, - handle_on_mouse_leave$1: function($event) { - var t1; - type$.legacy_SyntheticMouseEvent._as($event); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.show_mouseover_data) - $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); - }, - handle_on_mouse_enter$1: function($event) { - E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position()); - }, - handle_on_mouse_move$1: function($event) { - E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position()); + return names; } }; - S.$DesignMainDNAEndComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignMainDNAEndComponent(null); + A.$DesignMainStrandAndDomainTextsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandAndDomainTextsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 466 + $signature: 473 }; - S._$$DesignMainDNAEndProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandAndDomainTextsProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDNAEndComponentFactory() : t1; - } + return t1 == null ? $.$get$$DesignMainStrandAndDomainTextsComponentFactory() : t1; + }, + $isTransformByHelixGroupPropsMixin: 1 }; - S._$$DesignMainDNAEndProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end$_props; + A._$$DesignMainStrandAndDomainTextsProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_and_domain_texts$_props; } }; - S._$$DesignMainDNAEndProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end$_props; + A._$$DesignMainStrandAndDomainTextsProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_and_domain_texts$_props; } }; - S._$DesignMainDNAEndComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end$_cachedTypedProps; + A._$DesignMainStrandAndDomainTextsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_dna_end$_cachedTypedProps = S._$$DesignMainDNAEndProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A = A._$$DesignMainStrandAndDomainTextsProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainDNAEnd"; + get$displayName(_) { + return "DesignMainStrandAndDomainTexts"; }, - get$$$defaultConsumedProps: function() { - return C.Map_EQPDw.get$values(C.Map_EQPDw); + get$$$defaultConsumedProps() { + return B.Map_GFJAZ.get$values(B.Map_GFJAZ); } }; - S.$DesignMainDNAEndPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand"); + A.$DesignMainStrandAndDomainTextsProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAst); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - get$domain: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.domain"); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhc); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - get$ext: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.ext"); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAgr); if (t1 == null) t1 = null; - return type$.legacy_Extension._as(t1); + return type$.BuiltMap_String_HelixGroup._as(t1); }, - get$strand_color: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand_color"); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAge); if (t1 == null) t1 = null; - return type$.legacy_Color._as(t1); - }, - get$is_5p: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.is_5p"); - return H._asBoolS(t1 == null ? null : t1); + return type$.Geometry._as(t1); }, - get$is_on_extension: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEi); - return H._asBoolS(t1 == null ? null : t1); - }, - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.helix"); + get$side_selected_helix_idxs() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAsi); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.nullable_BuiltSet_int._as(t1); }, - get$group: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.group"); - if (t1 == null) - t1 = null; - return type$.legacy_HelixGroup._as(t1); + get$only_display_selected_helices() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAo); + return A._asBoolS(t1 == null ? null : t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); + get$show_dna() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdn); + return A._asBoolS(t1 == null ? null : t1); }, - get$context_menu_strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEc); - if (t1 == null) - t1 = null; - return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + get$show_strand_names() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsn); + return A._asBoolS(t1 == null ? null : t1); }, - set$context_menu_strand: function(value) { - type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMDNEc, value); + get$show_strand_labels() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsl); + return A._asBoolS(t1 == null ? null : t1); }, - get$drawing_potential_crossover: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEd); - return H._asBoolS(t1 == null ? null : t1); + get$show_domain_names() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdon); + return A._asBoolS(t1 == null ? null : t1); }, - get$helix_svg_position: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEh); + get$show_domain_labels() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdol); + return A._asBoolS(t1 == null ? null : t1); + }, + get$helix_idx_to_svg_position() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhx); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.BuiltMap_of_int_and_Point_double._as(t1); }, - context_menu_strand$4$address$substrand$type: function(arg0, arg1, arg2, arg3) { - return this.get$context_menu_strand().call$4$address$substrand$type(arg0, arg1, arg2, arg3); - } - }; - S._DesignMainDNAEndComponent_UiComponent2_PureComponent.prototype = {}; - S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainDNAEndPropsMixin_geometry; + get$context_menu_strand() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAc); + if (t1 == null) + t1 = null; + return type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(t1); } }; - S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin.prototype = {}; - F.ConnectedEndMoving_closure.prototype = { - call$2: function(dna_ends_move, props) { - var current_offset, t1; - type$.legacy_DNAEndsMove._as(dna_ends_move); - type$.legacy_EndMovingProps._as(props); - if (dna_ends_move == null) - current_offset = null; - else { - t1 = J.$index$asx(props.get$props(props), "EndMovingProps.dna_end"); - if (t1 == null) - t1 = null; - current_offset = dna_ends_move.current_capped_offset_of$1(type$.legacy_DNAEnd._as(t1)); - } - if (current_offset == null) { - t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); - J.set$render$x(t1, false); - return t1; - } - t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); - t1.set$current_offset(current_offset); + A._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps.prototype = {}; + A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps.prototype = {}; + A.DesignMainStrandCreatingProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); return t1; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 467 - }; - F.EndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - F.EndMovingComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); - t1.set$render(0, true); - t1.set$allowable(true); + get$groups() { + var t1 = this.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); return t1; }, - render$0: function(_) { - var t2, t3, t4, pos, end_props, classname, _this = this, _null = null, - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "EndMovingProps.render"); - if (!H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - return _null; - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "EndMovingProps.helix"); - if (t1 == null) - t1 = _null; - type$.legacy_Helix._as(t1); - t2 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "EndMovingProps.current_offset"); - t2 = H._asIntS(t2 == null ? _null : t2); - t3 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t3 = t3.get$forward(t3); - t4 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "EndMovingProps.svg_position_y"); - pos = t1.svg_base_pos$3(t2, t3, H._asNumS(t4 == null ? _null : t4)); - end_props = H.boolConversionCheck(_this._design_main_strand_dna_end_moving$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); - t1 = H.boolConversionCheck(_this._design_main_strand_dna_end_moving$_cachedTypedProps.get$is_5p()) ? "five-prime-end-moving" : "three-prime-end-moving"; - t2 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "EndMovingProps.allowable"); - classname = t1 + (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) ? "" : " disallowed-end"); - end_props.set$on_pointer_down(_null); - end_props.set$on_mouse_up(_null); - end_props.set$pos(pos); - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "EndMovingProps.color"); - if (t1 == null) - t1 = _null; - end_props.set$color(0, type$.legacy_Color._as(t1)); - end_props.set$classname(classname); - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - end_props.set$forward(0, t1.get$forward(t1)); - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - if (t1.get$transform(t1) != null) { - t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; - end_props.set$transform(0, t1.get$transform(t1)); - } - return end_props.call$0(); - } - }; - F.$EndMovingComponentFactory_closure.prototype = { - call$0: function() { - return new F._$EndMovingComponent(null); + get$geometry(_) { + var t1 = this.DesignMainStrandCreatingProps___DesignMainStrandCreatingProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 468 + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandCreatingComponent.prototype = { + render$0(_) { + var t2, t3, start_svg, end_svg, t4, t5, t6, t7, _this = this, _null = null, + t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helix(); + t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingProps.start"); + t2 = A._asIntS(t2 == null ? _null : t2); + t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + start_svg = t1.svg_base_pos$3(t2, t3.get$forward(t3), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y()); + t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$helix(); + t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingProps.end"); + t1 = A._asIntS(t2 == null ? _null : t2); + if (typeof t1 !== "number") + return t1.$sub(); + t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + end_svg = t3.svg_base_pos$3(t1 - 1, t2.get$forward(t2), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y()); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$className(0, "strand-creating"); + t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t2.set$transform(0, A.transform_of_helix2(t1, t1.get$helix().idx, type$.DesignMainStrandCreatingProps)); + t1 = A.SvgProps$($.$get$line(), _null); + t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t3 = t3.get$color(t3).toHexColor$0(); + t1.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); + t1.set$x1(0, A.S(start_svg.x)); + t1.set$y1(0, A.S(start_svg.y)); + t1.set$x2(0, A.S(end_svg.x)); + t1.set$y2(0, A.S(end_svg.y)); + t1.set$key(0, "line"); + t1.set$className(0, "domain-line"); + t1 = t1.call$0(); + t3 = A.lib_5p_end___$End5Prime$closure().call$0(); + t3.set$classname("five-prime-end-first-substrand"); + t4 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t3.set$pos(A.boolConversionCheck(t4.get$forward(t4)) ? start_svg : end_svg); + t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t6 = J.getInterceptor$z(t3); + t6.set$color(t3, t5.get$color(t5)); + t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t6.set$forward(t3, t5.get$forward(t5)); + t3 = t3.call$0(); + t5 = A.lib_3p_end___$End3Prime$closure().call$0(); + t5.set$classname("three-prime-end-last-substrand"); + t4 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t5.set$pos(A.boolConversionCheck(t4.get$forward(t4)) ? end_svg : start_svg); + t6 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t7 = J.getInterceptor$z(t5); + t7.set$color(t5, t6.get$color(t6)); + t6 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t7.set$forward(t5, t6.get$forward(t6)); + return t2.call$3(t1, t3, t5.call$0()); + } + }; + A.$DesignMainStrandCreatingComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandCreatingComponent(null); + }, + $signature: 474 }; - F._$$EndMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandCreatingProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$EndMovingComponentFactory() : t1; - } + return t1 == null ? $.$get$$DesignMainStrandCreatingComponentFactory() : t1; + }, + $isTransformByHelixGroupPropsMixin: 1 }; - F._$$EndMovingProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end_moving$_props; + A._$$DesignMainStrandCreatingProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_creating$_props; } }; - F._$$EndMovingProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end_moving$_props; + A._$$DesignMainStrandCreatingProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_creating$_props; } }; - F._$EndMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_end_moving$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_dna_end_moving$_cachedTypedProps = F._$$EndMovingProps$JsMap$(R.getBackingMap(value)); + A._$DesignMainStrandCreatingComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - typedPropsFactoryJs$1: function(backingMap) { - return F._$$EndMovingProps$JsMap$(backingMap); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A = A._$$DesignMainStrandCreatingProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "EndMoving"; + get$displayName(_) { + return "DesignMainStrandCreating"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2NACG.get$values(C.Map_2NACG); + get$$$defaultConsumedProps() { + return B.Map_Qcsav.get$values(B.Map_Qcsav); } }; - F.$EndMovingProps.prototype = { - set$dna_end: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.dna_end", value); - }, - set$helix: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.helix", value); + A.$DesignMainStrandCreatingProps.prototype = { + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.helix"); + if (t1 == null) + t1 = null; + return type$.Helix._as(t1); }, - set$color: function(_, value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.color", value); + get$forward(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.forward"); + return A._asBoolS(t1 == null ? null : t1); }, - get$forward: function(_) { - var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.forward"); - return H._asBoolS(t1 == null ? null : t1); + get$color(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.color"); + if (t1 == null) + t1 = null; + return type$.Color._as(t1); }, - set$forward: function(_, value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.forward", value); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.helices"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); }, - get$is_5p: function() { - var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.is_5p"); - return H._asBoolS(t1 == null ? null : t1); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); }, - set$is_5p: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.is_5p", value); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); }, - set$allowable: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.allowable", value); + get$svg_position_y() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCe); + return A._asNumS(t1 == null ? null : t1); + } + }; + A._DesignMainStrandCreatingComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps.prototype = {}; + A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps.prototype = {}; + A.DesignMainStrandCrossoverProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - set$current_offset: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.current_offset", value); + get$groups() { + var t1 = this.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - set$render: function(_, value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.render", value); + get$geometry(_) { + var t1 = this.DesignMainStrandCrossoverProps___DesignMainStrandCrossoverProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - set$svg_position_y: function(value) { - J.$indexSet$ax(this.get$props(this), "EndMovingProps.svg_position_y", value); + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandCrossoverState.prototype = {$isMap: 1}; + A.DesignMainStrandCrossoverComponent.prototype = { + get$initialState() { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); + t1.set$mouse_hover(false); + return t1; }, - get$transform: function(_) { - var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.transform"); - return H._asStringS(t1 == null ? null : t1); - } - }; - F.__$$EndMovingProps_UiProps_EndMovingProps.prototype = {}; - F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps.prototype = {}; - T.ConnectedExtensionEndMoving_closure.prototype = { - call$2: function(dna_extensions_move, props) { - var current_point, t1; - type$.legacy_DNAExtensionsMove._as(dna_extensions_move); - type$.legacy_ExtensionEndMovingProps._as(props); - if (dna_extensions_move == null) - current_point = null; - else { - t1 = J.$index$asx(props.get$props(props), "ExtensionEndMovingProps.dna_end"); - if (t1 == null) - t1 = null; - current_point = dna_extensions_move.current_point_of$1(type$.legacy_DNAEnd._as(t1)); + render$0(_) { + var strand, crossover, classname, t2, prev_group, within_group, t3, t4, path, t5, t6, t7, t8, t9, start_svg, end_svg, vector_start_to_end, normal_vector, scaled_normal_vector, control, id, path_props, _this = this, + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + strand = t1.get$strand(); + crossover = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$crossover(); + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandCrossoverProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? null : t1))) { + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMStCor); + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? null : t1)) ? "crossover-curve selected" : "crossover-curve selected-pink"; + } else + classname = "crossover-curve"; + if (_this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$strand().is_scaffold) + classname += " scaffold"; + if (_this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain().helix === _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain().helix && _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain().forward === _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain().forward) + classname += " crossover-curve-same-helix"; + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices(); + t2 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain().helix; + prev_group = t1._map$_map.$index(0, t2).group; + t2 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices(); + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain().helix; + within_group = prev_group === t2._map$_map.$index(0, t1).group; + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + if (within_group) { + t1 = t1.get$prev_domain(); + t2 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain(); + t3 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices(); + t4 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + path = A.crossover_path_description_within_group(t1, t2, t3, t4.get$geometry(t4), _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain_helix_svg_position_y(), _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain_helix_svg_position_y()); + } else { + t1 = t1.get$prev_domain(); + t2 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain(); + t3 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices(); + t4 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t4 = t4.get$geometry(t4); + t5 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$groups(); + t6 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain_helix_svg_position_y(); + t7 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain_helix_svg_position_y(); + t8 = t1.helix; + t3 = t3._map$_map; + t8 = t3.$index(0, t8); + t8.toString; + t3 = t3.$index(0, t2.helix); + t3.toString; + t5 = t5._map$_map; + t9 = t5.$index(0, t8.group); + t9.toString; + t5 = t5.$index(0, t3.group); + t5.toString; + start_svg = t9.transform_point_main_view$2(t8.svg_base_pos$3(t1.get$offset_3p(), t1.forward, t6), t4); + end_svg = t5.transform_point_main_view$2(t3.svg_base_pos$3(t2.get$offset_5p(), t2.forward, t7), t4); + vector_start_to_end = end_svg.$sub(0, start_svg); + normal_vector = A.rotate(vector_start_to_end, 90, B.Point_0_0); + scaled_normal_vector = normal_vector.$mul(0, 1 / normal_vector.get$magnitude()).$mul(0, vector_start_to_end.get$magnitude()).$mul(0, 0.1); + control = start_svg.$add(0, vector_start_to_end.$mul(0, 0.5)).$add(0, scaled_normal_vector); + path = "M " + A.S(start_svg.x) + " " + A.S(start_svg.y) + " Q " + A.S(control.x) + " " + A.S(control.y) + " " + A.S(end_svg.x) + " " + A.S(end_svg.y); } - if (current_point == null) { - t1 = T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); - J.set$render$x(t1, false); - return t1; + t1 = strand.color.toHexColor$0(); + t2 = t1.get$rHex(); + t3 = t1.get$gHex(); + t1 = t1.get$bHex(); + id = crossover.get$id(crossover); + path_props = A.SvgProps$($.$get$path(), null); + path_props.set$d(0, path); + path_props.set$stroke(0, "#" + t2 + t3 + t1); + path_props.set$className(0, classname); + path_props.set$onMouseEnter(0, new A.DesignMainStrandCrossoverComponent_render_closure(_this)); + path_props.set$onMouseLeave(0, new A.DesignMainStrandCrossoverComponent_render_closure0(_this)); + path_props.set$onPointerDown(new A.DesignMainStrandCrossoverComponent_render_closure1(_this)); + path_props.set$onPointerUp(new A.DesignMainStrandCrossoverComponent_render_closure2(_this)); + path_props.set$id(0, id); + path_props.set$key(0, id); + if (within_group) { + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + path_props.set$transform(0, A.transform_of_helix2(t1, t1.get$prev_domain().helix, type$.DesignMainStrandCrossoverProps)); } - t1 = T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + return path_props.call$0(); + }, + componentDidMount$0() { + var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$crossover(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); t1.toString; - type$.legacy_Point_legacy_num._as(current_point); - J.$indexSet$ax(J.get$props$x(t1), "ExtensionEndMovingProps.current_point", current_point); - return t1; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + this.super$Component2$componentDidMount(); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 469 - }; - T.ExtensionEndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.ExtensionEndMovingProps_geometry; - } - }; - T.ExtensionEndMovingComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); - t1.set$render(0, true); - t1.get$props(t1).$indexSet(0, "ExtensionEndMovingProps.allowable", true); - return t1; + componentWillUnmount$0() { + var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$crossover(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); }, - render$0: function(_) { - var t2, t3, t4, pos, end_props, classname, display_angle, _this = this, _null = null, - t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.render"); - if (!H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) - return _null; - t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.current_point"); - if (t1 == null) - t1 = _null; - t2 = type$.legacy_Point_legacy_num; - t2._as(t1); - t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "ExtensionEndMovingProps.group"); - if (t3 == null) - t3 = _null; - type$.legacy_HelixGroup._as(t3); - t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - pos = t1.$sub(0, t3.translation$1(t4.get$geometry(t4))); - end_props = H.boolConversionCheck(_this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); - t1 = H.boolConversionCheck(_this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p()) ? "five-prime-end-moving" : "three-prime-end-moving"; - t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "ExtensionEndMovingProps.allowable"); - classname = t1 + (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) ? "" : " disallowed-end"); - end_props.set$on_pointer_down(_null); - end_props.set$on_mouse_up(_null); - end_props.set$pos(pos); - t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.color"); - if (t1 == null) - t1 = _null; - end_props.set$color(0, type$.legacy_Color._as(t1)); - end_props.set$classname(classname); - t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - end_props.set$forward(0, t1.get$forward(t1)); - t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.attached_end_svg"); - t1 = t2._as(t1 == null ? _null : t1); - t2 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$ext(); - t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$ext().adjacent_domain; - t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - display_angle = E.compute_extension_length_and_angle_from_point(pos, t1, t2, t3, t4.get$geometry(t4)); - t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; - end_props.set$transform(0, "rotate(" + H.S(E.compute_end_rotation(display_angle.item2, t4.get$forward(t4), _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p())) + ")"); - return end_props.call$0(); + on_context_menu$1(ev) { + var t1, t2, t3, t4; + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.__app._readField$0(); + t2 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2.get$strand(); + t2 = A._BuiltList$of(A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, null, this.get$convert_crossover_to_loopout(), "convert to loopout", ""), A.ContextMenuItem_ContextMenuItem(false, null, this.get$unstrain_backbone_at_crossover(), "unstrain backbone here", "")], type$.JSArray_ContextMenuItem), type$.ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); + } + }, + unstrain_backbone_at_crossover$0() { + var prev_domain, next_domain, roll_actions, _i, domain, t2, other_domain, anchor, action, + t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + prev_domain = t1.get$prev_domain(); + next_domain = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain(); + roll_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = [prev_domain, next_domain], _i = 0; _i < 2; ++_i) { + domain = t1[_i]; + t2 = J.getInterceptor$(domain); + other_domain = t2.$eq(domain, prev_domain) ? next_domain : prev_domain; + if (t2.$eq(domain, prev_domain)) { + t2 = domain.__offset_3p; + if (t2 == null) { + t2 = A.Domain.prototype.get$offset_3p.call(domain); + domain.__offset_3p = t2; + anchor = t2; + } else + anchor = t2; + } else { + t2 = domain.__offset_5p; + if (t2 == null) { + t2 = A.Domain.prototype.get$offset_5p.call(domain); + domain.__offset_5p = t2; + anchor = t2; + } else + anchor = t2; + } + B.JSArray_methods.add$1(roll_actions, A.HelixRollSetAtOther_HelixRollSetAtOther(domain.helix, other_domain.helix, domain.forward, anchor)); + } + action = A.BatchAction_BatchAction(roll_actions, "unstrain backbone at crossover"); + $.__app._readField$0().dispatch$1(action); + }, + convert_crossover_to_loopout$0() { + var $async$goto = 0, + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, t1, selected_crossovers, action, new_length; + var $async$convert_crossover_to_loopout$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return A._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return A._asyncAwait(A.ask_for_length("set loopout length", 1, B.DialogType_set_loopout_length, 1, ""), $async$convert_crossover_to_loopout$0); + case 3: + // returning from await. + new_length = $async$result; + if (new_length == null || new_length === 0) { + // goto return + $async$goto = 1; + break; + } + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + selected_crossovers = t1.get$state(t1).ui_state.selectables_store.get$selected_crossovers(); + t1 = selected_crossovers._set; + if (t1.get$length(t1) > 0) + action = A.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts(selected_crossovers, new_length); + else { + t1 = $async$self.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout(t1.get$crossover(), new_length, null); + } + $.__app._readField$0().dispatch$1(action); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); + } + }); + return A._asyncStartSync($async$convert_crossover_to_loopout$0, $async$completer); } }; - T.$ExtensionEndMovingComponentFactory_closure.prototype = { - call$0: function() { - return new T._$ExtensionEndMovingComponent(null); + A.DesignMainStrandCrossoverComponent_render_closure.prototype = { + call$1(ev) { + var t1, t2; + type$.SyntheticMouseEvent._as(ev); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$mouse_hover(true); + t1.setState$1(0, t2); + }, + $signature: 15 + }; + A.DesignMainStrandCrossoverComponent_render_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticMouseEvent._as(_); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); + t2.set$mouse_hover(false); + t1.setState$1(0, t2); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 470 + $signature: 15 + }; + A.DesignMainStrandCrossoverComponent_render_closure1.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$crossover(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_crossover) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$crossover().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 17 + }; + A.DesignMainStrandCrossoverComponent_render_closure2.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$crossover(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_crossover) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$crossover().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 17 + }; + A.$DesignMainStrandCrossoverComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandCrossoverComponent(null); + }, + $signature: 475 }; - T._$$ExtensionEndMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandCrossoverProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$ExtensionEndMovingComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainStrandCrossoverComponentFactory() : t1; + }, + $isTransformByHelixGroupPropsMixin: 1 + }; + A._$$DesignMainStrandCrossoverProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_crossover$_props; } }; - T._$$ExtensionEndMovingProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_extension_end_moving$_props; + A._$$DesignMainStrandCrossoverProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_crossover$_props; } }; - T._$$ExtensionEndMovingProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_extension_end_moving$_props; + A._$$DesignMainStrandCrossoverState.prototype = { + get$$$isClassGenerated() { + return true; + } + }; + A._$$DesignMainStrandCrossoverState$JsMap.prototype = { + get$state(_) { + return this._design_main_strand_crossover$_state; } }; - T._$ExtensionEndMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + A._$DesignMainStrandCrossoverComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; + }, + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A = A._$$DesignMainStrandCrossoverProps$JsMap$(A.getBackingMap(value)); }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_dna_extension_end_moving$_cachedTypedProps = T._$$ExtensionEndMovingProps$JsMap$(R.getBackingMap(value)); + get$state(_) { + var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + return t1; }, - typedPropsFactoryJs$1: function(backingMap) { - return T._$$ExtensionEndMovingProps$JsMap$(backingMap); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignMainStrandCrossoverComponent__cachedTypedState_A = A._$$DesignMainStrandCrossoverState$JsMap$(value); }, - get$displayName: function(_) { - return "ExtensionEndMoving"; + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$DesignMainStrandCrossoverState$JsMap(new A.JsBackedMap({}), $); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_state = backingMap; + return t1; + }, + get$displayName(_) { + return "DesignMainStrandCrossover"; }, - get$$$defaultConsumedProps: function() { - return C.Map_HYskt.get$values(C.Map_HYskt); + get$$$defaultConsumedProps() { + return B.Map_QcwHn.get$values(B.Map_QcwHn); } }; - T.$ExtensionEndMovingProps.prototype = { - get$ext: function() { - var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.ext"); + A.$DesignMainStrandCrossoverProps.prototype = { + get$crossover() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCrossoverProps.crossover"); if (t1 == null) t1 = null; - return type$.legacy_Extension._as(t1); + return type$.Crossover._as(t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.geometry"); + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCrossoverProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Strand._as(t1); }, - get$forward: function(_) { - var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.forward"); - return H._asBoolS(t1 == null ? null : t1); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCrossoverProps.helices"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_int_Helix._as(t1); }, - get$is_5p: function() { - var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.is_5p"); - return H._asBoolS(t1 == null ? null : t1); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCrossoverProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); }, - set$render: function(_, value) { - J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.render", value); + get$prev_domain() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop); + if (t1 == null) + t1 = null; + return type$.Domain._as(t1); + }, + get$next_domain() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon); + if (t1 == null) + t1 = null; + return type$.Domain._as(t1); + }, + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCrossoverProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); + }, + get$prev_domain_helix_svg_position_y() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop_); + return A._asDoubleS(t1 == null ? null : t1); + }, + get$next_domain_helix_svg_position_y() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon_); + return A._asDoubleS(t1 == null ? null : t1); } }; - T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps.prototype = { - get$geometry: function(receiver) { - return this.ExtensionEndMovingProps_geometry; + A.$DesignMainStrandCrossoverState.prototype = { + set$mouse_hover(value) { + var t1 = this._design_main_strand_crossover$_state; + t1.jsObject["DesignMainStrandCrossoverState.mouse_hover"] = A.DartValueWrapper_wrapIfNeeded(value); + } + }; + A._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps.prototype = {}; + A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps.prototype = {}; + A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState.prototype = {}; + A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState.prototype = {}; + A.DesignMainStrandDeletionPropsMixin.prototype = {}; + A.DesignMainStrandDeletionComponent.prototype = { + render$0(_) { + var geometry, domain, deletion_offset, t2, t3, pos, width, half_width, t4, background_width, background_height, t5, classname, t6, t7, t8, t9, _this = this, _null = null, + t1 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + geometry = t1.get$helix().geometry; + domain = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().domain; + deletion_offset = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().offset; + t1 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$helix(); + t2 = domain.forward; + t3 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.DesignMStDesv); + pos = t1.svg_base_pos$3(deletion_offset, t2, A._asNumS(t3 == null ? _null : t3)); + width = 0.8 * geometry.get$base_width_svg(); + half_width = 0.5 * width; + t1 = pos.x; + if (typeof t1 !== "number") + return t1.$sub(); + t2 = pos.y; + if (typeof t2 !== "number") + return t2.$sub(); + t3 = A.S(width); + t4 = A.S(-width); + background_width = geometry.get$base_width_svg(); + background_height = geometry.get$base_height_svg(); + t5 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, string$.DesignMStDesee); + if (A.boolConversionCheck(A._asBoolS(t5 == null ? _null : t5))) { + t5 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, string$.DesignMStDer); + classname = A.boolConversionCheck(A._asBoolS(t5 == null ? _null : t5)) ? "deletion-group selected" : "deletion-group selected-pink"; + } else + classname = "deletion-group"; + if (_this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().is_scaffold) + classname += " scaffold"; + t5 = "" + domain.helix; + t6 = A.S(deletion_offset); + t7 = A.SvgProps$($.$get$g(), _null); + t7.set$className(0, classname); + t7.set$onPointerDown(new A.DesignMainStrandDeletionComponent_render_closure(_this)); + t7.set$onPointerUp(new A.DesignMainStrandDeletionComponent_render_closure0(_this)); + t8 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, string$.DesignMStDet); + t7.set$transform(0, A._asStringS(t8 == null ? _null : t8)); + t8 = A.SvgProps$($.$get$rect(), _null); + t8.set$className(0, "deletion-background"); + t8.set$x(0, t1 - background_width / 2); + t8.set$y(0, t2 - background_height / 2); + t8.set$width(0, background_width); + t8.set$height(0, background_height); + t8.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure1(_this)); + t8.set$key(0, "deletion-background-H" + t5 + "-" + t6); + t8 = t8.call$0(); + t9 = A.SvgProps$($.$get$path(), _null); + t9.set$className(0, "deletion-cross"); + t9.set$fill(0, "none"); + t9.set$d(0, "M " + A.S(t1 - half_width) + " " + A.S(t2 - half_width) + " l " + t3 + " " + t3 + " m " + t4 + " 0 l " + t3 + " " + t4); + t9.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure2(_this)); + t4 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion(); + t9.set$id(0, t4.get$id(t4)); + t9.set$key(0, "deletion-H" + t5 + "-" + t6); + return t7.call$2(t8, t9.call$0()); } }; - T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps.prototype = {}; - T.DesignMainDomainPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDomainPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + A.DesignMainStrandDeletionComponent_render_closure.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_deletion(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_deletion) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 17 + }; + A.DesignMainStrandDeletionComponent_render_closure0.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_deletion(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_deletion) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 17 + }; + A.DesignMainStrandDeletionComponent_render_closure1.prototype = { + call$1(_) { + var t1, t2, t3; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_deletion)) { + t1 = $.__app._readField$0(); + t2 = this.$this; + t3 = t2.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.DeletionRemove_DeletionRemove(t3.get$selectable_deletion().domain, t2.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().offset)); + } + }, + $signature: 15 + }; + A.DesignMainStrandDeletionComponent_render_closure2.prototype = { + call$1(_) { + var t1, t2, t3; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_deletion)) { + t1 = $.__app._readField$0(); + t2 = this.$this; + t3 = t2.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.DeletionRemove_DeletionRemove(t3.get$selectable_deletion().domain, t2.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().offset)); + } + }, + $signature: 15 + }; + A.$DesignMainStrandDeletionComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandDeletionComponent(null); }, - set$groups: function(groups) { - this.DesignMainDomainPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + $signature: 476 + }; + A._$$DesignMainStrandDeletionProps.prototype = { + get$$$isClassGenerated() { + return true; }, - set$geometry: function(_, geometry) { - this.DesignMainDomainPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandDeletionComponentFactory() : t1; + } + }; + A._$$DesignMainStrandDeletionProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_deletion$_props; + } + }; + A._$$DesignMainStrandDeletionProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_deletion$_props; + } + }; + A._$DesignMainStrandDeletionComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - get$helices: function() { - return this.DesignMainDomainPropsMixin_helices; + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A = A._$$DesignMainStrandDeletionProps$JsMap$(A.getBackingMap(value)); }, - get$groups: function() { - return this.DesignMainDomainPropsMixin_groups; + get$displayName(_) { + return "DesignMainStrandDeletion"; }, - get$geometry: function(receiver) { - return this.DesignMainDomainPropsMixin_geometry; + get$$$defaultConsumedProps() { + return B.Map_Asds9.get$values(B.Map_Asds9); } }; - T.DesignMainDomainComponent.prototype = { - render$0: function(_) { - var t2, t3, start_svg, end_svg, classname, color, t4, _this = this, _null = null, - t1 = _this._design_main_strand_domain$_cachedTypedProps, - domain = t1.get$domain(t1), - id = domain.get$id(domain); - t1 = _this._design_main_strand_domain$_cachedTypedProps.get$helix(); - t2 = domain.get$offset_5p(); - t3 = domain.forward; - start_svg = t1.svg_base_pos$3(t2, t3, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position().y); - end_svg = _this._design_main_strand_domain$_cachedTypedProps.get$helix().svg_base_pos$3(domain.get$offset_3p(), t3, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position().y); - t1 = _this._design_main_strand_domain$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainDomainPropsMixin.selected"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_domain$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMDoPr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "domain-line selected" : "domain-line selected-pink"; + A.$DesignMainStrandDeletionPropsMixin.prototype = { + get$selectable_deletion() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDesea); + if (t1 == null) + t1 = null; + return type$.SelectableDeletion._as(t1); + }, + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDeletionPropsMixin.helix"); + if (t1 == null) + t1 = null; + return type$.Helix._as(t1); + } + }; + A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin.prototype = {}; + A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin.prototype = {}; + A.DesignMainDNAEndPropsMixin.prototype = {}; + A.DesignMainDNAEndComponent.prototype = { + get$dna_end() { + var t2, _this = this, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$domain(t1) != null) { + t1 = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + } else { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + } } else - classname = "domain-line"; - if (_this._design_main_strand_domain$_cachedTypedProps.get$strand().is_scaffold) + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$ext().get$dnaend_free(); + return t1; + }, + get$is_first() { + var _this = this, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$domain(t1) != null) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$domain(t1).is_first && A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + } else + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); + return t1; + }, + get$is_last() { + var _this = this, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$domain(t1) != null) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$domain(t1).is_last && !A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + } else + t1 = !A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + return t1; + }, + render$0(_) { + var classname, end_props, end_moving_props, extension_end_moving_props, color, t2, domain, $forward, dna_end, offset, pos, color0, extension_attached_end_svg, rotation_degrees, ext, _this = this, _null = null, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (A.boolConversionCheck(t1.get$is_5p())) + classname = A.boolConversionCheck(_this.get$is_first()) && A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? "five-prime-end-first-substrand" : "five-prime-end"; + else + classname = _this.get$is_last() && !A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? "three-prime-end-last-substrand" : "three-prime-end"; + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMDNEr); + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; + } + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.is_scaffold"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) classname += " scaffold"; - color = domain.color; - if (color == null) { - t1 = _this._design_main_strand_domain$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainDomainPropsMixin.strand_color"); - if (t1 == null) - t1 = _null; - type$.legacy_Color._as(t1); - color = t1; + end_props = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : A.lib_3p_end___$End3Prime$closure().call$0(); + end_moving_props = $.$get$ConnectedEndMoving().call$0(); + end_moving_props.set$svg_position_y(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + extension_end_moving_props = $.$get$ConnectedExtensionEndMoving().call$0(); + color = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand_color(); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$ext(); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 == null) { + domain = t2.get$domain(t2); + $forward = domain.forward; + if (A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p())) + dna_end = $forward ? domain.get$dnaend_start() : domain.get$dnaend_end(); + else + dna_end = $forward ? domain.get$dnaend_end() : domain.get$dnaend_start(); + offset = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? domain.get$offset_5p() : domain.get$offset_3p(); + pos = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix().svg_base_pos$3(offset, $forward, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + color0 = domain.color; + if (color0 != null) + color = color0; + extension_attached_end_svg = _null; + rotation_degrees = 0; + } else { + ext = t2.get$ext(); + t1 = ext.adjacent_domain; + $forward = t1.forward; + dna_end = ext.get$dnaend_free(); + extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, t1, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(), _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + pos = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, t2.get$geometry(t2)); + rotation_degrees = A.compute_end_rotation(ext.display_angle, $forward, ext.is_5p); + color0 = ext.color; + if (color0 != null) + color = color0; } - t1 = A.SvgProps$($.$get$line(), _null); - t1.set$className(0, classname); - t1.set$onClick(0, _this.get$_handle_click_for_nick_insertion_deletion()); - t1.set$onMouseLeave(0, new T.DesignMainDomainComponent_render_closure()); - t1.set$onMouseEnter(0, new T.DesignMainDomainComponent_render_closure0(_this)); - t1.set$onMouseMove(0, new T.DesignMainDomainComponent_render_closure1(_this)); - t1.set$onPointerDown(_this.get$handle_click_down()); - t1.set$onPointerUp(_this.get$handle_click_up()); - t2 = color.toHexColor$0(); - t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); - t2 = _this._design_main_strand_domain$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "DesignMainDomainPropsMixin.transform"); - t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); - t1.set$x1(0, H.S(start_svg.x)); - t1.set$y1(0, H.S(start_svg.y)); - t1.set$x2(0, H.S(end_svg.x)); - t1.set$y2(0, H.S(end_svg.y)); - t1.set$id(0, id); - t1.set$key(0, id); - t2 = A.SvgProps$($.$get$title(), _null); - t4 = (t3 ? "forward" : "reverse") + " domain:\n length=" + domain.dna_length$0() + "\n helix=" + domain.helix + "\n start=" + domain.start + "\n end=" + domain.end; - t3 = domain.name; - t3 = t4 + (t3 == null ? "" : "\n name=" + t3); - t4 = domain.label; - t3 = t3 + (t4 == null ? "" : "\n label=" + t4) + "\n"; - t4 = _this._design_main_strand_domain$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMDoPs); - return t1.call$1(t2.call$1(C.JSString_methods.$add(t3, H._asStringS(t4 == null ? _null : t4)))); - }, - _handle_click_for_nick_insertion_deletion$1: function(event_syn) { - var t1, domain, $event, t2, group, geometry, offset, all_helices, _this = this; - type$.legacy_SyntheticMouseEvent._as(event_syn); - t1 = $.app.store; - if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_nick)) { - t1 = $.app.store; - if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) { - t1 = $.app.store; - t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion); - } else - t1 = true; - } else - t1 = true; - if (t1) { - t1 = _this._design_main_strand_domain$_cachedTypedProps; - domain = t1.get$domain(t1); - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; - t2 = _this._design_main_strand_domain$_cachedTypedProps.get$helix().group; - group = J.$index$asx(t1._map$_map, t2); - t2 = $.app.store; - geometry = t2.get$state(t2).design.geometry; - offset = E.get_address_on_helix($event, _this._design_main_strand_domain$_cachedTypedProps.get$helix(), group, geometry, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()).offset; - t1 = domain.start; - if (typeof offset !== "number") - return offset.$le(); - if (offset <= t1 || offset >= domain.end) - return; - all_helices = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey); - t2 = $.app.store; - if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_nick)) { - if (offset <= t1 + 1 || offset >= domain.end - 1) - return; - $.app.dispatch$1(U._$Nick$_(domain, offset)); + end_props.set$on_pointer_down(_this.get$handle_end_click_select_and_or_move_start()); + end_props.set$on_pointer_up(_this.get$handle_end_pointer_up_select()); + end_props.set$on_mouse_up(_this.get$handle_end_click_ligate_or_potential_crossover()); + end_props.set$on_mouse_enter(_this.get$handle_on_mouse_enter()); + end_props.set$on_mouse_leave(_this.get$handle_on_mouse_leave()); + end_props.set$on_mouse_move(_this.get$handle_on_mouse_move()); + end_props.set$classname(classname); + end_props.set$pos(pos); + end_props.set$color(0, color); + end_props.set$forward(0, $forward); + t1 = "rotate(" + A.S(rotation_degrees) + ")"; + end_props.set$transform(0, t1); + end_props.set$id_(dna_end.get$id(dna_end)); + end_props.set$key(0, "nonmoving-end"); + end_moving_props.set$dna_end(dna_end); + end_moving_props.set$helix(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix()); + t2 = J.getInterceptor$z(end_moving_props); + t2.set$color(end_moving_props, color); + t2.set$forward(end_moving_props, $forward); + end_moving_props.set$is_5p(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + t2.set$transform(end_moving_props, t1); + end_moving_props.set$svg_position_y(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + t2.set$key(end_moving_props, "moving-end"); + extension_end_moving_props.set$dna_end(dna_end); + extension_end_moving_props.set$ext(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$ext()); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + extension_end_moving_props.set$geometry(0, t2.get$geometry(t2)); + extension_end_moving_props.set$attached_end_svg(extension_attached_end_svg); + extension_end_moving_props.set$helix(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix()); + extension_end_moving_props.set$group(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group()); + extension_end_moving_props.set$color(0, color); + extension_end_moving_props.set$forward(0, $forward); + extension_end_moving_props.set$is_5p(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + extension_end_moving_props.set$key(0, "moving-extension"); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$className(0, "dna-ends"); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.transform"); + t2.set$transform(0, A._asStringS(t1 == null ? _null : t1)); + return t2.call$3(end_props.call$0(), end_moving_props.call$0(), extension_end_moving_props.call$0()); + }, + componentDidMount$0() { + var t2, id, _this = this, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (A.boolConversionCheck(t1.get$is_5p())) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$domain(t1); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + id = t1.get$id(t1); } else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) - $.app.dispatch$1(U._$InsertionAdd$_(all_helices, domain, offset)); - else { - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) - $.app.dispatch$1(U._$DeletionAdd$_(all_helices, domain, offset)); - } + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } else { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$domain(t1); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); } } - }, - handle_click_down$1: function(event_syn) { - var t1, t2, t3, t4, t5, address, view_order_inverse, _this = this, - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); - if ($event.button === 0) { - t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = document.querySelector("#" + id); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", _this.get$on_context_menu()); + }, + componentWillUnmount$0() { + var t2, id, _this = this, + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (A.boolConversionCheck(t1.get$is_5p())) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; t1 = t1.get$domain(t1); - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t2 = true; - if (t2) { - t2 = $.app.store; - t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_domain) && E.origami_type_selectable(t1); - } else - t1 = false; - if (t1) { - t1 = _this._design_main_strand_domain$_cachedTypedProps; - t1.get$domain(t1).handle_selection_mouse_down$1($event); - t1 = H.setRuntimeTypeInfo([_this._design_main_strand_domain$_cachedTypedProps.get$helix()], type$.JSArray_legacy_Helix); - t2 = _this._design_main_strand_domain$_cachedTypedProps.get$groups(); - t3 = _this._design_main_strand_domain$_cachedTypedProps; - t4 = type$.legacy_int; - t5 = type$.legacy_Point_legacy_num; - address = E.find_closest_address($event, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main_strand_domain$_cachedTypedProps.get$helix().idx, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()], t4, t5), t4, t5)); - t5 = $.app.store; - t5 = t5.get$state(t5).design; - t4 = _this._design_main_strand_domain$_cachedTypedProps; - t4 = t4.get$domain(t4); - t5.toString; - view_order_inverse = t5.group_of_helix_idx$1(t4.helix).get$helices_view_order_inverse(); - $.app.dispatch$1(U._$DomainsMoveStartSelectedDomains$_(address, view_order_inverse)); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } else { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 = t1.get$domain(t1); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); } } + t1 = document.querySelector("#" + id); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", _this.get$on_context_menu()); + _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); }, - handle_click_up$1: function(event_syn) { - var t1, t2, currently_moving, t3; - type$.legacy_SyntheticPointerEvent._as(event_syn); - t1 = J.getInterceptor$x(event_syn); - if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { - t2 = $.app.store; - if (t2.get$state(t2).ui_state.strands_move == null) { - t2 = $.app.store; - if (t2.get$state(t2).ui_state.domains_move == null) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; - currently_moving = t2; - } else - currently_moving = true; - } else - currently_moving = true; - t2 = this._design_main_strand_domain$_cachedTypedProps; - t2 = t2.get$domain(t2); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); - } else - t3 = true; - if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_domain) && E.origami_type_selectable(t2); - } else - t2 = false; - if (t2 && !currently_moving) { - t2 = this._design_main_strand_domain$_cachedTypedProps; - t2.get$domain(t2).handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + on_context_menu$1(ev) { + var t1, t2, domain, address, t3, t4, _this = this; + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext(); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1 != null) + domain = t2.get$ext().adjacent_domain; + else { + t1 = t2.get$domain(t2); + t1.toString; + domain = t1; } + address = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? domain.get$address_5p() : domain.get$address_3p(); + t1 = $.__app._readField$0(); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t3 = t2.get$strand(); + t2 = A._BuiltList$of(t2.context_menu_strand$4$address$domain$type(t3, address, domain, A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? B.ModificationType_five_prime : B.ModificationType_three_prime), type$.ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_domain$_cachedTypedProps; - t1 = t1.get$domain(t1); - t1 = "#" + t1.get$id(t1); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + handle_end_click_select_and_or_move_start$1(event_synthetic) { + var t1, t2, t3, $event, extension_attached_end_svg, t4, pos, _this = this; + type$.SyntheticPointerEvent._as(event_synthetic); + t1 = _this.get$dna_end(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t2 = true; + if (t2 && A.end_type_selectable(t1) && A.origami_type_selectable(t1)) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = J.getInterceptor$x(event_synthetic); + t3 = type$.MouseEvent; + if (t1.get$ext() == null) { + $event = t3._as(t2.get$nativeEvent(event_synthetic)); + t1 = $event.button; + if (t1 === 2 || t1 === 1) + return; + _this.get$dna_end().handle_selection_mouse_down$1($event); + t1 = $.__app._readField$0(); + t2 = _this.get$dna_end().get$offset_inclusive(); + t1.dispatch$1(A._$DNAEndsMoveStart$_(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(), t2)); + } else { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$ext(); + t1.toString; + $event = t3._as(t2.get$nativeEvent(event_synthetic)); + t2 = $event.button; + if (t2 === 2 || t2 === 1) + return; + _this.get$dna_end().handle_selection_mouse_down$1($event); + t2 = t1.adjacent_domain; + extension_attached_end_svg = A.compute_extension_attached_end_svg(t1, t2, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(), _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); + t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + extension_attached_end_svg = extension_attached_end_svg.$add(0, t3.translation$1(t4.get$geometry(t4))); + t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + pos = A.compute_extension_free_end_svg(extension_attached_end_svg, t1, t2, t4.get$geometry(t4)); + $.__app._readField$0().dispatch$1(A._$DNAExtensionsMoveStart$_(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(), pos)); + } + } }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_domain$_cachedTypedProps; - t1 = t1.get$domain(t1); - t1 = "#" + t1.get$id(t1); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + handle_end_pointer_up_select$1(event_synthetic) { + var t1, t2, $event; + type$.SyntheticPointerEvent._as(event_synthetic); + t1 = this.get$dna_end(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t2 = true; + if (t2 && A.end_type_selectable(t1) && A.origami_type_selectable(t1)) { + $event = type$.MouseEvent._as(J.get$nativeEvent$x(event_synthetic)); + t1 = $event.button; + if (t1 === 2 || t1 === 1) + return; + this.get$dna_end().handle_selection_mouse_up$1($event); + } }, - on_context_menu$1: function(ev) { - var t1, t2, t3, address, t4, _this = this; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { - ev.preventDefault(); - ev.stopPropagation(); - t1 = _this._design_main_strand_domain$_cachedTypedProps.get$helix(); - t2 = _this._design_main_strand_domain$_cachedTypedProps.get$groups(); - t3 = _this._design_main_strand_domain$_cachedTypedProps.get$helix().group; - t3 = J.$index$asx(t2._map$_map, t3); - t2 = _this._design_main_strand_domain$_cachedTypedProps; - address = E.get_address_on_helix(ev, t1, t3, t2.get$geometry(t2), _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); - t2 = $.app; - t3 = _this._design_main_strand_domain$_cachedTypedProps; - t1 = t3.get$strand(); - t4 = _this._design_main_strand_domain$_cachedTypedProps; - t4 = D._BuiltList$of(t3.context_menu_strand$3$address$substrand(t1, address, t4.get$domain(t4)), type$.legacy_ContextMenuItem); - t1 = ev.pageX; - t1.toString; - t3 = ev.pageY; - t3.toString; - t2.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t4, new P.Point(t1, t3, type$.Point_num)))); + handle_end_click_ligate_or_potential_crossover$1($event) { + var t1, domain, offset, t2, start_point_untransformed, t3, start_point, address, potential_crossover, domain_idx, linker, other_domain_idx_in_substrands, other_domain, other_end, other_offset, other_helix_idx, _this = this, _s5_ = "store", + _s25_ = "domain should not be null"; + if (!J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.SyntheticMouseEvent._as($event))), 0)) + return; + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$ext() != null) + return; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) + if (!A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover())) + t1 = A.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + domain = t1.get$domain(t1); + if (domain == null) + throw A.wrapException(A.AssertionError$(_s25_)); + offset = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()) ? domain.get$offset_5p() : domain.get$offset_3p(); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(); + t2 = domain.forward; + start_point_untransformed = t1.svg_base_pos$3(offset, t2, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); + t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + start_point = t1.transform_point_main_view$2(start_point_untransformed, t3.get$geometry(t3)); + address = A._$Address$_(t2, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix().idx, offset); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand_color().toHexColor$0(); + potential_crossover = A.PotentialCrossover_PotentialCrossover(address, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex(), start_point, _this.get$dna_end(), null, start_point); + $.__app._readField$0().dispatch$1(A._$PotentialCrossoverCreate$_(potential_crossover)); + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) + if (!A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover())) + t1 = !(A.boolConversionCheck(_this.get$is_first()) || _this.get$is_last()); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + domain = t1.get$domain(t1); + if (domain == null) + throw A.wrapException(A.AssertionError$(_s25_)); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand().get$domains(); + domain_idx = B.JSArray_methods.indexOf$2(t1._list, t1.$ti._precomputed1._as(domain), 0); + t1 = A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p()); + t2 = type$.Domain; + t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + if (t1) { + t1 = domain_idx - 1; + t3 = t3.get$strand().get$linkers()._list; + if (!(t1 >= 0 && t1 < t3.length)) + return A.ioore(t3, t1); + linker = t3[t1]; + other_domain_idx_in_substrands = linker.get$prev_domain_idx(); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand().substrands._list; + if (!(other_domain_idx_in_substrands >= 0 && other_domain_idx_in_substrands < t1.length)) + return A.ioore(t1, other_domain_idx_in_substrands); + other_domain = t2._as(t1[other_domain_idx_in_substrands]); + other_end = other_domain.forward ? other_domain.get$dnaend_end() : other_domain.get$dnaend_start(); + } else { + t1 = t3.get$strand().get$linkers()._list; + if (!(domain_idx >= 0 && domain_idx < t1.length)) + return A.ioore(t1, domain_idx); + linker = t1[domain_idx]; + other_domain_idx_in_substrands = linker.get$next_domain_idx(); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand().substrands._list; + if (!(other_domain_idx_in_substrands >= 0 && other_domain_idx_in_substrands < t1.length)) + return A.ioore(t1, other_domain_idx_in_substrands); + other_domain = t2._as(t1[other_domain_idx_in_substrands]); + other_end = other_domain.forward ? other_domain.get$dnaend_start() : other_domain.get$dnaend_end(); + } + other_offset = other_end.get$offset_inclusive(); + other_helix_idx = other_domain.helix; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map.$index(0, other_helix_idx); + t1.toString; + t2 = other_domain.forward; + start_point_untransformed = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix().svg_base_pos$3(other_offset, t2, t1.y); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); + t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + start_point = t1.transform_point_main_view$2(start_point_untransformed, t3.get$geometry(t3)); + address = A._$Address$_(t2, other_helix_idx, other_offset); + t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand_color().toHexColor$0(); + potential_crossover = A.PotentialCrossover_PotentialCrossover(address, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex(), start_point, other_end, linker, start_point); + $.__app._readField$0().dispatch$1(A._$PotentialCrossoverCreate$_(potential_crossover)); + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) + if (A.boolConversionCheck(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover())) + t1 = A.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = $.__app._readField$0().__App_store_potential_crossover_F; + t1 === $ && A.throwLateFieldNI("store_potential_crossover"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1.toString; + t2 = t1.dna_end_first_click; + if (_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p() === t2.is_5p) + return; + $.__app._readField$0().dispatch$1(A._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); + if (!(A.boolConversionCheck(_this.get$is_first()) && t2.substrand_is_last)) + t3 = _this.get$is_last() && t2.substrand_is_first; + else + t3 = true; + if (t3) + $.__app._readField$0().dispatch$1(A._$JoinStrandsByCrossover$_(t2, _this.get$dna_end())); + else if (t1.linker != null) + $.__app._readField$0().dispatch$1(A._$MoveLinker$_(_this.get$dna_end(), t1)); + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_ligate)) + t1 = A.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + if (t1) + $.__app._readField$0().dispatch$1(A._$Ligate$_(_this.get$dna_end())); + } + } } - } - }; - T.DesignMainDomainComponent_render_closure.prototype = { - call$1: function(_) { + }, + handle_on_mouse_leave$1($event) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app.store; + type$.SyntheticMouseEvent._as($event); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); if (t1.get$state(t1).ui_state.storables.show_mouseover_data) - $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); - return null; - }, - $signature: 3 - }; - T.DesignMainDomainComponent_render_closure0.prototype = { - call$1: function($event) { - var t1 = this.$this; - return E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), t1._design_main_strand_domain$_cachedTypedProps.get$helix(), t1._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); + $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); }, - $signature: 3 - }; - T.DesignMainDomainComponent_render_closure1.prototype = { - call$1: function($event) { - var t1 = this.$this; - return E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), t1._design_main_strand_domain$_cachedTypedProps.get$helix(), t1._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); + handle_on_mouse_enter$1($event) { + var t1; + type$.SyntheticMouseEvent._as($event); + t1 = this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + A.update_mouseover($event, t1.get$helix(), this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position()); }, - $signature: 3 + handle_on_mouse_move$1($event) { + var t1; + type$.SyntheticMouseEvent._as($event); + t1 = this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + A.update_mouseover($event, t1.get$helix(), this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position()); + } }; - T.$DesignMainDomainComponentFactory_closure.prototype = { - call$0: function() { - return new T._$DesignMainDomainComponent(null); + A.$DesignMainDNAEndComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDNAEndComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 471 + $signature: 477 }; - T._$$DesignMainDomainProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainDNAEndProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainDomainComponentFactory() : t1; + return t1 == null ? $.$get$$DesignMainDNAEndComponentFactory() : t1; } }; - T._$$DesignMainDomainProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_main_strand_domain$_props; + A._$$DesignMainDNAEndProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_end$_props; } }; - T._$$DesignMainDomainProps$JsMap.prototype = { - get$props: function(_) { - return this._design_main_strand_domain$_props; + A._$$DesignMainDNAEndProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_end$_props; } }; - T._$DesignMainDomainComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_domain$_cachedTypedProps; + A._$DesignMainDNAEndComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDNAEndComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_domain$_cachedTypedProps = T._$$DesignMainDomainProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDNAEndComponent__cachedTypedProps_A = A._$$DesignMainDNAEndProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { - return "DesignMainDomain"; + get$displayName(_) { + return "DesignMainDNAEnd"; }, - get$$$defaultConsumedProps: function() { - return C.Map_cKYuU.get$values(C.Map_cKYuU); + get$$$defaultConsumedProps() { + return B.Map_EQcin.get$values(B.Map_EQcin); } }; - T.$DesignMainDomainPropsMixin.prototype = { - get$domain: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.domain"); + A.$DesignMainDNAEndPropsMixin.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand"); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.Strand._as(t1); }, - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.helix"); + get$domain(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.domain"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.nullable_Domain._as(t1); }, - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.strand"); + get$ext() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.ext"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.nullable_Extension._as(t1); }, - get$helix_svg_position: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoPh); + get$strand_color() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand_color"); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.Color._as(t1); }, - get$context_menu_strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoPc); + get$is_5p() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.is_5p"); + return A._asBoolS(t1 == null ? null : t1); + }, + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.helix"); if (t1 == null) t1 = null; - return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + return type$.Helix._as(t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.helices"); + get$group() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.group"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.HelixGroup._as(t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.helices", value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.groups"); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.geometry"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + return type$.Geometry._as(t1); }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.groups", value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.geometry"); + get$context_menu_strand() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEc); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.geometry", value); - }, - context_menu_strand$3$address$substrand: function(arg0, arg1, arg2) { - return this.get$context_menu_strand().call$3$address$substrand(arg0, arg1, arg2); - } - }; - T._DesignMainDomainComponent_UiComponent2_PureComponent.prototype = {}; - T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainDomainPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainDomainPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainDomainPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + return type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(t1); }, - get$helices: function() { - return this.DesignMainDomainPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainDomainPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainDomainPropsMixin_geometry; - } - }; - T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin.prototype = {}; - T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + set$context_menu_strand(value) { + type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMDNEc, value); }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; + get$drawing_potential_crossover() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEd); + return A._asBoolS(t1 == null ? null : t1); }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; + get$helix_svg_position() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEh); + if (t1 == null) + t1 = null; + return type$.Point_double._as(t1); + }, + context_menu_strand$4$address$domain$type(arg0, arg1, arg2, arg3) { + return this.get$context_menu_strand().call$4$address$domain$type(arg0, arg1, arg2, arg3); + } + }; + A._DesignMainDNAEndComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin.prototype = {}; + A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin.prototype = {}; + A.ConnectedEndMoving_closure.prototype = { + call$2(dna_ends_move, props) { + var t1, current_offset, t2; + type$.nullable_DNAEndsMove._as(dna_ends_move); + type$.EndMovingProps._as(props); + if (dna_ends_move == null || props.get$dna_end() == null) { + t1 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = props.get$dna_end(); + t1.toString; + current_offset = dna_ends_move.current_capped_offset_of$1(t1); + if (current_offset == null) { + t1 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t1.set$current_offset(current_offset); + t1.set$dna_end(B.JSArray_methods.get$first(dna_ends_move.get$ends_moving()._list)); + t1.set$helix(dna_ends_move.helix); + t2 = J.getInterceptor$z(t1); + t2.set$color(t1, props.get$color(props)); + t2.set$forward(t1, props.get$dna_end().forward); + t1.set$is_5p(props.get$dna_end().is_5p); + t1.set$svg_position_y(props.get$svg_position_y()); + t2.set$transform(t1, null); + return t1; + }, + $signature: 478 + }; + A.EndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EndMovingComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$render(0, true); + t1.set$allowable(true); + return t1; + }, + render$0(_) { + var t2, t3, t4, t5, t6, pos, end_props, _this = this, _null = null, + t1 = _this.___$EndMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "EndMovingProps.render"); + if (!A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) + return _null; + _this.___$EndMovingComponent__cachedTypedProps_A.get$dna_end().toString; + t1 = _this.___$EndMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "EndMovingProps.helix"); + if (t1 == null) + t1 = _null; + type$.nullable_Helix._as(t1); + t1.toString; + t2 = _this.___$EndMovingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "EndMovingProps.current_offset"); + t2 = A._asIntQ(t2 == null ? _null : t2); + t2.toString; + t3 = _this.___$EndMovingComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "EndMovingProps.forward"); + t3 = A._asBoolQ(t3 == null ? _null : t3); + t3.toString; + t4 = _this.___$EndMovingComponent__cachedTypedProps_A.get$svg_position_y(); + t4.toString; + t5 = _this.___$EndMovingComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, "EndMovingProps.is_5p"); + t5 = A._asBoolQ(t5 == null ? _null : t5); + t5.toString; + t6 = _this.___$EndMovingComponent__cachedTypedProps_A; + t6 = t6.get$color(t6); + t6.toString; + pos = t1.svg_base_pos$3(t2, t3, t4); + end_props = t5 ? A.lib_5p_end___$End5Prime$closure().call$0() : A.lib_3p_end___$End3Prime$closure().call$0(); + t1 = t5 ? "five-prime-end-moving" : "three-prime-end-moving"; + t2 = _this.___$EndMovingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "EndMovingProps.allowable"); + end_props.set$classname(t1 + (A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2)) ? "" : " disallowed-end")); + end_props.set$pos(pos); + end_props.set$color(0, t6); + end_props.set$forward(0, t3); + t1 = _this.___$EndMovingComponent__cachedTypedProps_A; + if (t1.get$transform(t1) != null) { + t1 = _this.___$EndMovingComponent__cachedTypedProps_A; + end_props.set$transform(0, t1.get$transform(t1)); + } + return end_props.call$0(); + } + }; + A.$EndMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$EndMovingComponent(null); + }, + $signature: 479 + }; + A._$$EndMovingProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$EndMovingComponentFactory() : t1; + } + }; + A._$$EndMovingProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_end_moving$_props; + } + }; + A._$$EndMovingProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_end_moving$_props; + } + }; + A._$EndMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$EndMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; + }, + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$EndMovingComponent__cachedTypedProps_A = A._$$EndMovingProps$JsMap$(A.getBackingMap(value)); + }, + typedPropsFactoryJs$1(backingMap) { + return A._$$EndMovingProps$JsMap$(backingMap); + }, + get$displayName(_) { + return "EndMoving"; + }, + get$$$defaultConsumedProps() { + return B.Map_2Nrz1.get$values(B.Map_2Nrz1); + } + }; + A.$EndMovingProps.prototype = { + get$dna_end() { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.dna_end"); + if (t1 == null) + t1 = null; + return type$.nullable_DNAEnd._as(t1); + }, + set$dna_end(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.dna_end", value); + }, + set$helix(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.helix", value); + }, + get$color(_) { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.color"); + if (t1 == null) + t1 = null; + return type$.nullable_Color._as(t1); + }, + set$color(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.color", value); + }, + set$forward(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.forward", value); + }, + set$is_5p(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.is_5p", value); + }, + set$current_offset(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.current_offset", value); + }, + get$svg_position_y() { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.svg_position_y"); + return A._asDoubleQ(t1 == null ? null : t1); + }, + set$svg_position_y(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.svg_position_y", value); + }, + get$transform(_) { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.transform"); + return A._asStringQ(t1 == null ? null : t1); + }, + set$transform(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.transform", value); + }, + set$render(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.render", value); + }, + set$allowable(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.allowable", value); + } + }; + A.__$$EndMovingProps_UiProps_EndMovingProps.prototype = {}; + A.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps.prototype = {}; + A.ConnectedExtensionEndMoving_closure.prototype = { + call$2(dna_extensions_move, props) { + var t1, current_point, t2, t3; + type$.DNAExtensionsMove._as(dna_extensions_move); + type$.ExtensionEndMovingProps._as(props); + if (dna_extensions_move == null || props.get$dna_end() == null) { + t1 = A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = props.get$dna_end(); + t1.toString; + current_point = dna_extensions_move.current_point_of$1(t1); + if (current_point == null) { + t1 = A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + t1.toString; + type$.nullable_Point_double._as(current_point); + t2 = J.getInterceptor$x(t1); + J.$indexSet$ax(t2.get$props(t1), "ExtensionEndMovingProps.current_point", current_point); + t1.set$dna_end(B.JSArray_methods.get$first(dna_extensions_move.get$ends_moving()._list)); + t1.set$ext(B.JSArray_methods.get$first(dna_extensions_move.moves._list).extension); + t2.set$geometry(t1, props.get$geometry(props)); + t3 = J.$index$asx(props.get$props(props), "ExtensionEndMovingProps.helix"); + if (t3 == null) + t3 = null; + t1.set$helix(type$.nullable_Helix._as(t3)); + t1.set$group(props.get$group()); + t2.set$color(t1, props.get$color(props)); + t2.set$forward(t1, props.get$dna_end().forward); + t1.set$is_5p(props.get$dna_end().is_5p); + t1.set$attached_end_svg(props.get$attached_end_svg()); + return t1; + }, + $signature: 480 + }; + A.ExtensionEndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.ExtensionEndMovingComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$render(0, true); + t1.get$props(t1).$indexSet(0, "ExtensionEndMovingProps.allowable", true); + return t1; + }, + render$0(_) { + var t2, t3, pos, end_props, t4, t5, display_angle, _this = this, _null = null, + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.render"); + if (!A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) + return _null; + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.current_point"); + if (t1 == null) + t1 = _null; + type$.nullable_Point_double._as(t1); + t1.toString; + t2 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$group(); + t2.toString; + t3 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t3 = t3.get$geometry(t3); + t3.toString; + pos = t1.$sub(0, t2.translation$1(t3)); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$is_5p(); + t1.toString; + end_props = t1 ? A.lib_5p_end___$End5Prime$closure().call$0() : A.lib_3p_end___$End3Prime$closure().call$0(); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$is_5p(); + t1.toString; + t1 = t1 ? "five-prime-end-moving" : "three-prime-end-moving"; + t2 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "ExtensionEndMovingProps.allowable"); + end_props.set$classname(t1 + (A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2)) ? "" : " disallowed-end")); + end_props.set$pos(pos); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t1 = t1.get$color(t1); + t1.toString; + end_props.set$color(0, t1); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t1 = t1.get$forward(t1); + t1.toString; + end_props.set$forward(0, t1); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$attached_end_svg(); + t1.toString; + t3 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$ext(); + t3.toString; + t4 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$ext().adjacent_domain; + t5 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t5 = t5.get$geometry(t5); + t5.toString; + display_angle = A.compute_extension_length_and_angle_from_point(pos, t1, t3, t4, t5); + t5 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t5 = t5.get$forward(t5); + t5.toString; + t4 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$is_5p(); + t4.toString; + end_props.set$transform(0, "rotate(" + A.S(A.compute_end_rotation(display_angle.item2, t5, t4)) + ")"); + return end_props.call$0(); + } + }; + A.$ExtensionEndMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$ExtensionEndMovingComponent(null); + }, + $signature: 481 + }; + A._$$ExtensionEndMovingProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$ExtensionEndMovingComponentFactory() : t1; + } + }; + A._$$ExtensionEndMovingProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_extension_end_moving$_props; + } + }; + A._$$ExtensionEndMovingProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_dna_extension_end_moving$_props; + } + }; + A._$ExtensionEndMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$ExtensionEndMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; + }, + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$ExtensionEndMovingComponent__cachedTypedProps_A = A._$$ExtensionEndMovingProps$JsMap$(A.getBackingMap(value)); + }, + typedPropsFactoryJs$1(backingMap) { + return A._$$ExtensionEndMovingProps$JsMap$(backingMap); + }, + get$displayName(_) { + return "ExtensionEndMoving"; + }, + get$$$defaultConsumedProps() { + return B.Map_HYJmU.get$values(B.Map_HYJmU); + } + }; + A.$ExtensionEndMovingProps.prototype = { + get$dna_end() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.dna_end"); + if (t1 == null) + t1 = null; + return type$.nullable_DNAEnd._as(t1); + }, + set$dna_end(value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.dna_end", value); + }, + get$ext() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.ext"); + if (t1 == null) + t1 = null; + return type$.nullable_Extension._as(t1); + }, + set$ext(value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.ext", value); + }, + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.nullable_Geometry._as(t1); + }, + set$geometry(_, value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.geometry", value); + }, + get$attached_end_svg() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.attached_end_svg"); + if (t1 == null) + t1 = null; + return type$.nullable_Point_double._as(t1); + }, + set$attached_end_svg(value) { + type$.nullable_Point_double._as(value); + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.attached_end_svg", value); + }, + set$helix(value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.helix", value); + }, + get$group() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.group"); + if (t1 == null) + t1 = null; + return type$.nullable_HelixGroup._as(t1); + }, + set$group(value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.group", value); + }, + get$color(_) { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.color"); + if (t1 == null) + t1 = null; + return type$.nullable_Color._as(t1); + }, + set$color(_, value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.color", value); + }, + get$forward(_) { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.forward"); + return A._asBoolQ(t1 == null ? null : t1); + }, + set$forward(_, value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.forward", value); + }, + get$is_5p() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.is_5p"); + return A._asBoolQ(t1 == null ? null : t1); + }, + set$is_5p(value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.is_5p", value); + }, + set$render(_, value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.render", value); + } + }; + A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps.prototype = {}; + A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps.prototype = {}; + A.DesignMainDomainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDomainComponent.prototype = { + render$0(_) { + var domain, id, t2, t3, start_svg, end_svg, classname, color, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null, + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + domain = t1.get$domain(t1); + id = domain.get$id(domain); + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix(); + t2 = domain.get$offset_5p(); + t3 = domain.forward; + start_svg = t1.svg_base_pos$3(t2, t3, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position().y); + end_svg = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().svg_base_pos$3(domain.get$offset_3p(), t3, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position().y); + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMDoPr); + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? "domain-line selected" : "domain-line selected-pink"; + } else + classname = "domain-line"; + if (_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$strand().is_scaffold) + classname += " scaffold"; + color = domain.color; + if (color == null) { + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainProps.strand_color"); + if (t1 == null) + t1 = _null; + type$.Color._as(t1); + color = t1; + } + t1 = A.SvgProps$($.$get$line(), _null); + t1.set$className(0, classname); + t1.set$onClick(0, _this.get$_handle_click_for_nick_insertion_deletion()); + t1.set$onMouseLeave(0, new A.DesignMainDomainComponent_render_closure()); + t1.set$onMouseEnter(0, new A.DesignMainDomainComponent_render_closure0(_this)); + t1.set$onMouseMove(0, new A.DesignMainDomainComponent_render_closure1(_this)); + t1.set$onPointerDown(_this.get$handle_click_down()); + t1.set$onPointerUp(_this.get$handle_click_up()); + t2 = color.toHexColor$0(); + t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainDomainProps.transform"); + t1.set$transform(0, A._asStringS(t2 == null ? _null : t2)); + t1.set$x1(0, A.S(start_svg.x)); + t1.set$y1(0, A.S(start_svg.y)); + t1.set$x2(0, A.S(end_svg.x)); + t1.set$y2(0, A.S(end_svg.y)); + t1.set$id(0, id); + t1.set$key(0, id); + t2 = A.SvgProps$($.$get$title(), _null); + t3 = t3 ? "forward" : "reverse"; + t4 = domain.dna_length$0(); + t5 = domain.helix; + t6 = domain.start; + t7 = domain.end; + t8 = domain.name; + t8 = t8 == null ? "" : "\n name=" + t8; + t9 = domain.label; + t9 = t9 == null ? "" : "\n label=" + t9; + t10 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, "DesignMainDomainProps.strand_tooltip"); + return t1.call$1(t2.call$1(B.JSString_methods.$add(t3 + " domain:\n length=" + t4 + "\n helix=" + t5 + "\n start=" + t6 + "\n end=" + t7 + t8 + t9 + "\n", A._asStringS(t10 == null ? _null : t10)))); + }, + _handle_click_for_nick_insertion_deletion$1(event_syn) { + var t1, domain, $event, t2, geometry, offset, all_helices, _this = this, _s5_ = "store"; + type$.SyntheticMouseEvent._as(event_syn); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_nick)) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_insertion)) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_deletion); + } else + t1 = true; + } else + t1 = true; + if (t1) { + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + domain = t1.get$domain(t1); + $event = type$.MouseEvent._as(J.get$nativeEvent$x(event_syn)); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + t1 = t1.get$state(t1).get$design().groups; + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().group; + t2 = t1._map$_map.$index(0, t2); + t2.toString; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + geometry = t1.get$state(t1).get$design().geometry; + offset = A.get_address_on_helix($event, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix(), t2, geometry, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()).offset; + t1 = domain.start; + if (typeof offset !== "number") + return offset.$le(); + if (offset <= t1 || offset >= domain.end) + return; + all_helices = A.boolConversionCheck($event.ctrlKey) || A.boolConversionCheck($event.metaKey); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_nick)) { + if (offset <= t1 + 1 || offset >= domain.end - 1) + return; + $.__app._readField$0().dispatch$1(A._$Nick$_(domain, offset)); + } else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_insertion)) + $.__app._readField$0().dispatch$1(A._$InsertionAdd$_(all_helices, domain, offset)); + else { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI(_s5_); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_deletion)) + $.__app._readField$0().dispatch$1(A._$DeletionAdd$_(all_helices, domain, offset)); + } + } + } + }, + handle_click_down$1(event_syn) { + var t1, t2, t3, t4, t5, address, view_order_inverse, _this = this, _s5_ = "store", + $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))); + if ($event.button === 0) { + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$domain(t1); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t2 = true; + if (t2) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_domain) && A.origami_type_selectable(t1); + } else + t1 = false; + if (t1) { + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1.get$domain(t1).handle_selection_mouse_down$1($event); + t1 = A._setArrayType([_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix()], type$.JSArray_Helix); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$groups(); + t3 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t4 = type$.int; + t5 = type$.Point_double; + address = A.find_closest_address($event, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().idx, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()], t4, t5), t4, t5)); + t5 = $.__app._readField$0().__App_store_F; + t5 === $ && A.throwLateFieldNI(_s5_); + t5 = t5.get$state(t5).get$design(); + t4 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t4 = t4.get$domain(t4); + t5.toString; + view_order_inverse = t5.group_of_helix_idx$1(t4.helix).get$helices_view_order_inverse(); + $.__app._readField$0().dispatch$1(A._$DomainsMoveStartSelectedDomains$_(address, view_order_inverse)); + } + } + }, + handle_click_up$1(event_syn) { + var t1, t2, currently_moving, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(event_syn); + t1 = J.getInterceptor$x(event_syn); + if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.strands_move == null) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (t2.get$state(t2).ui_state.domains_move == null) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; + currently_moving = t2; + } else + currently_moving = true; + } else + currently_moving = true; + t2 = this.___$DesignMainDomainComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$domain(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_domain) && A.origami_type_selectable(t2); + } else + t2 = false; + if (t2 && !currently_moving) { + t2 = this.___$DesignMainDomainComponent__cachedTypedProps_A; + t2.get$domain(t2).handle_selection_mouse_up$1(type$.MouseEvent._as(t1.get$nativeEvent(event_syn))); + } + } + }, + componentDidMount$0() { + var t1 = this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$domain(t1); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0() { + var t1 = this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$domain(t1); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1(ev) { + var t1, t2, t3, address, items, _this = this; + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helix(); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$groups(); + t3 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().group; + t3 = t2._map$_map.$index(0, t3); + t3.toString; + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + address = A.get_address_on_helix(ev, t1, t3, t2.get$geometry(t2), _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + t3 = t2.get$strand(); + t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + items = A._BuiltList$of(t2.context_menu_strand$3$address$domain(t3, address, t1.get$domain(t1)), type$.ContextMenuItem); + t1 = $.__app._readField$0(); + t3 = ev.pageX; + t3.toString; + t2 = ev.pageY; + t2.toString; + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(items, A.from_point_num(new A.Point(t3, t2, type$.Point_num))))); + } + } + }; + A.DesignMainDomainComponent_render_closure.prototype = { + call$1(_) { + var t1; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) + $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); + return null; + }, + $signature: 2 + }; + A.DesignMainDomainComponent_render_closure0.prototype = { + call$1($event) { + var t1, t2; + type$.SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1.___$DesignMainDomainComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.update_mouseover($event, t2.get$helix(), t1.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()); + }, + $signature: 2 + }; + A.DesignMainDomainComponent_render_closure1.prototype = { + call$1($event) { + var t1, t2; + type$.SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1.___$DesignMainDomainComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.update_mouseover($event, t2.get$helix(), t1.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()); + }, + $signature: 2 + }; + A.$DesignMainDomainComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainDomainComponent(null); }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + $signature: 482 + }; + A._$$DesignMainDomainProps.prototype = { + get$$$isClassGenerated() { + return true; + }, + get$componentFactory() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainComponentFactory() : t1; + } + }; + A._$$DesignMainDomainProps$PlainMap.prototype = { + get$props(_) { + return this._design_main_strand_domain$_props; + } + }; + A._$$DesignMainDomainProps$JsMap.prototype = { + get$props(_) { + return this._design_main_strand_domain$_props; } }; - T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - B.DesignMainStrandDomainTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandDomainTextPropsMixin_geometry; + A._$DesignMainDomainComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainDomainComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; + }, + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainDomainComponent__cachedTypedProps_A = A._$$DesignMainDomainProps$JsMap$(A.getBackingMap(value)); + }, + get$displayName(_) { + return "DesignMainDomain"; + }, + get$$$defaultConsumedProps() { + return B.Map_ivM4y.get$values(B.Map_ivM4y); } }; - B.DesignMainStrandDomainTextComponent.prototype = { - render$0: function(_) { - var t3, start_svg, mid_svg, baseline, dy, _this = this, _null = null, - t1 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix(), - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + A.$DesignMainDomainProps.prototype = { + get$domain(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.domain"); + if (t1 == null) + t1 = null; + return type$.Domain._as(t1); + }, + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.helix"); + if (t1 == null) + t1 = null; + return type$.Helix._as(t1); + }, + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.strand"); + if (t1 == null) + t1 = null; + return type$.Strand._as(t1); + }, + get$helix_svg_position() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.helix_svg_position"); + if (t1 == null) + t1 = null; + return type$.Point_double._as(t1); + }, + get$context_menu_strand() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoPc); + if (t1 == null) + t1 = null; + return type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(t1); + }, + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.groups"); + if (t1 == null) + t1 = null; + return type$.BuiltMap_String_HelixGroup._as(t1); + }, + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainProps.geometry"); + if (t1 == null) + t1 = null; + return type$.Geometry._as(t1); + }, + context_menu_strand$3$address$domain(arg0, arg1, arg2) { + return this.get$context_menu_strand().call$3$address$domain(arg0, arg1, arg2); + } + }; + A._DesignMainDomainComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps.prototype = {}; + A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps.prototype = {}; + A.DesignMainStrandDomainTextProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandDomainTextComponent.prototype = { + render$0(_) { + var t2, t3, start_svg, mid_svg, baseline, dy, _this = this, _null = null, + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helix(); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t2 = t2.get$domain(t2).start; - t3 = _this._design_main_strand_domain_text$_cachedTypedProps; - start_svg = t1.svg_base_pos$3(t2, t3.get$domain(t3).forward, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position().y); - t3 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix(); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + start_svg = t1.svg_base_pos$3(t2, t3.get$domain(t3).forward, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position().y); + t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix(); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t2 = t2.get$domain(t2).end; - t1 = _this._design_main_strand_domain_text$_cachedTypedProps; - mid_svg = start_svg.$add(0, t3.svg_base_pos$3(t2 - 1, t1.get$domain(t1).forward, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position().y)).$mul(0, 0.5); - t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + mid_svg = start_svg.$add(0, t3.svg_base_pos$3(t2 - 1, t1.get$domain(t1).forward, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position().y)).$mul(0, 0.5); + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; baseline = t1.get$domain(t1).forward ? "baseline" : "hanging"; - t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMStDon); - t1 = H._asIntS(t1 == null ? _null : t1); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); + t1 = A._asIntS(t1 == null ? _null : t1); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg(); if (typeof t1 !== "number") return t1.$mul(); - t3 = _this._design_main_strand_domain_text$_cachedTypedProps; + t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; dy = t3.get$geometry(t3).get$base_height_svg() * 0.7 + t1 * t2; - t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; if (t1.get$domain(t1).forward) dy = -dy; t1 = A.SvgProps$($.$get$text(), _null); - t1.set$x(0, H.S(mid_svg.x)); - t1.set$y(0, H.S(mid_svg.y)); - t1.set$dy(0, H.S(dy)); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); + t1.set$x(0, A.S(mid_svg.x)); + t1.set$y(0, A.S(mid_svg.y)); + t1.set$dy(0, A.S(dy)); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$strand(); t1.set$id(0, t2.get$id(t2) + "_name"); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDotr); - t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDot); + t1.set$transform(0, A._asStringS(t2 == null ? _null : t2)); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t2 = t2.get$props(t2).$index(0, string$.DesignMStDof); - t1.set$fontSize(0, H._asIntS(t2 == null ? _null : t2)); + t1.set$fontSize(0, A._asDoubleS(t2 == null ? _null : t2)); t1.set$dominantBaseline(baseline); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t2 = t2.get$props(t2).$index(0, string$.DesignMStDocs); - t1.set$className(0, H._asStringS(t2 == null ? _null : t2)); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDote); - return t1.call$1(H._asStringS(t2 == null ? _null : t2)); - }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); - t1 = "#" + (t1.get$id(t1) + "_name"); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); - t1 = "#" + (t1.get$id(t1) + "_name"); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + t1.set$className(0, A._asStringS(t2 == null ? _null : t2)); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainStrandDomainTextProps.text"); + return t1.call$1(A._asStringS(t2 == null ? _null : t2)); + }, + componentDidMount$0() { + var t1 = this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + (t1 + "_name")); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0() { + var t1 = this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$strand(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + (t1 + "_name")); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); }, - on_context_menu$1: function(ev) { + on_context_menu$1(ev) { var t1, t2, t3, t4, t5, address, _this = this; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); ev.stopPropagation(); - t1 = H.setRuntimeTypeInfo([_this._design_main_strand_domain_text$_cachedTypedProps.get$helix()], type$.JSArray_legacy_Helix); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDoh_g); + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = A._setArrayType([t1.get$helix()], type$.JSArray_Helix); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDohg); if (t2 == null) t2 = null; - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2); - t3 = _this._design_main_strand_domain_text$_cachedTypedProps; - t4 = type$.legacy_int; - t5 = type$.legacy_Point_legacy_num; - address = E.find_closest_address(ev, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main_strand_domain_text$_cachedTypedProps.get$helix().idx, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position()], t4, t5), t4, t5)); - t5 = $.app; - t4 = _this._design_main_strand_domain_text$_cachedTypedProps; + type$.BuiltMap_String_HelixGroup._as(t2); + t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t4 = type$.int; + t5 = type$.Point_double; + address = A.find_closest_address(ev, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([_this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix().idx, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position()], t4, t5), t4, t5)); + t5 = $.__app._readField$0(); + t4 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t3 = t4.get$strand(); - t2 = _this._design_main_strand_domain_text$_cachedTypedProps; - t2 = D._BuiltList$of(t4.context_menu_strand$3$address$substrand(t3, address, t2.get$domain(t2)), type$.legacy_ContextMenuItem); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t2 = A._BuiltList$of(t4.context_menu_strand$3$address$domain(t3, address, t2.get$domain(t2)), type$.ContextMenuItem); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t5.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + t5.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } } }; - B.$DesignMainStrandDomainTextComponentFactory_closure.prototype = { - call$0: function() { - return new B._$DesignMainStrandDomainTextComponent(null); + A.$DesignMainStrandDomainTextComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandDomainTextComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 472 + $signature: 483 }; - B._$$DesignMainStrandDomainTextProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandDomainTextProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandDomainTextComponentFactory() : t1; } }; - B._$$DesignMainStrandDomainTextProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandDomainTextProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_domain_text$_props; } }; - B._$$DesignMainStrandDomainTextProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandDomainTextProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_domain_text$_props; } }; - B._$DesignMainStrandDomainTextComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_domain_text$_cachedTypedProps; + A._$DesignMainStrandDomainTextComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_domain_text$_cachedTypedProps = B._$$DesignMainStrandDomainTextProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A = A._$$DesignMainStrandDomainTextProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandDomainText"; }, - get$$$defaultConsumedProps: function() { - return C.Map_gv9c8.get$values(C.Map_gv9c8); + get$$$defaultConsumedProps() { + return B.Map_0Hqc.get$values(B.Map_0Hqc); } }; - B.$DesignMainStrandDomainTextPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDos); + A.$DesignMainStrandDomainTextProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDomainTextProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - set$strand: function(value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDos, value); + set$strand(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandDomainTextProps.strand", value); }, - get$domain: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDod); + get$domain(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDomainTextProps.domain"); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.Domain._as(t1); }, - set$domain: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDod, value); + set$domain(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandDomainTextProps.domain", value); }, - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoh); + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDomainTextProps.helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - set$helix: function(value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh, value); + set$helix(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandDomainTextProps.helix", value); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDog); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDomainTextProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDog, value); + set$geometry(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandDomainTextProps.geometry", value); }, - set$helix_groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh_g, value); + set$helix_groups(value) { + type$.BuiltMap_String_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStDohg, value); }, - set$text: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDote, value); + set$text(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandDomainTextProps.text", value); }, - set$css_selector_text: function(value) { + set$css_selector_text(value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStDocs, value); }, - set$font_size: function(value) { + set$font_size(value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStDof, value); }, - set$num_stacked: function(value) { + set$num_stacked(value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStDon, value); }, - set$transform: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStDotr, value); + set$transform(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDot, value); }, - get$helix_svg_position: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoh_s); + get$helix_svg_position() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDohs); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.Point_double._as(t1); }, - set$helix_svg_position: function(value) { - type$.legacy_Point_legacy_num._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh_s, value); + set$helix_svg_position(value) { + type$.Point_double._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStDohs, value); }, - get$context_menu_strand: function() { + get$context_menu_strand() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoco); if (t1 == null) t1 = null; - return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + return type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(t1); }, - set$context_menu_strand: function(value) { - type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(value); + set$context_menu_strand(value) { + type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(value); J.$indexSet$ax(this.get$props(this), string$.DesignMStDoco, value); }, - context_menu_strand$3$address$substrand: function(arg0, arg1, arg2) { - return this.get$context_menu_strand().call$3$address$substrand(arg0, arg1, arg2); - } - }; - B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent.prototype = {}; - B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandDomainTextPropsMixin_geometry; - } - }; - B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin.prototype = {}; - Q.DesignMainExtensionPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainExtensionPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainExtensionPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainExtensionPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainExtensionPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainExtensionPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainExtensionPropsMixin_geometry; - } - }; - Q.DesignMainExtensionComponent.prototype = { - render$0: function(_) { - var t2, t3, extension_attached_end_svg, extension_free_end_svg, classname, svg_3p, svg_5p, color, path_d, t4, _this = this, _null = null, - ext = _this._design_main_strand_extension$_cachedTypedProps.get$ext(), - t1 = _this._design_main_strand_extension$_cachedTypedProps.get$ext(), - id = t1.get$id(t1); - t1 = _this._design_main_strand_extension$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMEad); + context_menu_strand$3$address$domain(arg0, arg1, arg2) { + return this.get$context_menu_strand().call$3$address$domain(arg0, arg1, arg2); + } + }; + A._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps.prototype = {}; + A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps.prototype = {}; + A.DesignMainExtensionProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainExtensionComponent.prototype = { + render$0(_) { + var ext, id, t2, t3, extension_attached_end_svg, extension_free_end_svg, classname, svg_3p, svg_5p, color, t4, t5, t6, t7, _this = this, _null = null, + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + ext = t1.get$ext(); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext(); + id = t1.get$id(t1); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainExtensionProps.adjacent_domain"); if (t1 == null) t1 = _null; - type$.legacy_Domain._as(t1); - t2 = _this._design_main_strand_extension$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMEah); + type$.Domain._as(t1); + t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainExtensionProps.adjacent_helix"); if (t2 == null) t2 = _null; - type$.legacy_Helix._as(t2); - t3 = _this._design_main_strand_extension$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMEah_); + type$.Helix._as(t2); + t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.DesignMEa); if (t3 == null) t3 = _null; - extension_attached_end_svg = E.compute_extension_attached_end_svg(ext, t1, t2, type$.legacy_Point_legacy_num._as(t3).y); - t3 = _this._design_main_strand_extension$_cachedTypedProps; - extension_free_end_svg = E.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, t3.get$geometry(t3)); - t1 = _this._design_main_strand_extension$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainExtensionPropsMixin.selected"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_extension$_cachedTypedProps; + extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, t1, t2, type$.Point_double._as(t3).y); + t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainExtensionProps.geometry"); + t2 = t3 == null ? _null : t3; + extension_free_end_svg = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, type$.Geometry._as(t2)); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainExtensionProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMEr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "extension-line selected" : "extension-line selected-pink"; + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? "extension-line selected" : "extension-line selected-pink"; } else classname = "extension-line"; - if (_this._design_main_strand_extension$_cachedTypedProps.get$strand().is_scaffold) + if (_this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$strand().is_scaffold) classname += " scaffold"; - t1 = H.boolConversionCheck(ext.is_5p); + t1 = ext.is_5p; if (!t1) { svg_3p = extension_free_end_svg; svg_5p = extension_attached_end_svg; @@ -138176,188 +139984,220 @@ } color = ext.color; if (color == null) { - t2 = _this._design_main_strand_extension$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMEsc); + t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainExtensionProps.strand_color"); if (t2 == null) t2 = _null; - type$.legacy_Color._as(t2); + type$.Color._as(t2); color = t2; } - path_d = "M " + H.S(svg_5p.x) + " " + H.S(svg_5p.y) + " L " + H.S(svg_3p.x) + " " + H.S(svg_3p.y); t2 = A.SvgProps$($.$get$path(), _null); t2.set$className(0, classname); t2.set$onPointerDown(_this.get$handle_click_down()); t2.set$onPointerUp(_this.get$handle_click_up()); t3 = color.toHexColor$0(); t2.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); - t3 = _this._design_main_strand_extension$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "DesignMainExtensionPropsMixin.transform"); - t2.set$transform(0, H._asStringS(t3 == null ? _null : t3)); - t2.set$d(0, path_d); + t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainExtensionProps.transform"); + t2.set$transform(0, A._asStringS(t3 == null ? _null : t3)); + t2.set$d(0, "M " + A.S(svg_5p.x) + " " + A.S(svg_5p.y) + " L " + A.S(svg_3p.x) + " " + A.S(svg_3p.y)); t2.set$id(0, id); t2.set$key(0, id); t3 = A.SvgProps$($.$get$title(), _null); - t4 = (t1 ? "5'" : "3'") + " extension:\n num_bases=" + ext.num_bases + "\n"; - t1 = ext.name; - t1 = t4 + (t1 == null ? "" : "\n name=" + t1); - t4 = ext.label; - t1 = t1 + (t4 == null ? "" : "\n label=" + t4) + "\n"; - t4 = _this._design_main_strand_extension$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMEst); - return t2.call$1(t3.call$1(C.JSString_methods.$add(t1, H._asStringS(t4 == null ? _null : t4)))); - }, - handle_click_down$1: function(event_syn) { - var t1, t2, - $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); + t1 = t1 ? "5'" : "3'"; + t4 = ext.num_bases; + t5 = ext.name; + t5 = t5 == null ? "" : "\n name=" + t5; + t6 = ext.label; + t6 = t6 == null ? "" : "\n label=" + t6; + t7 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "DesignMainExtensionProps.strand_tooltip"); + return t2.call$1(t3.call$1(B.JSString_methods.$add(t1 + " extension:\n num_bases=" + t4 + "\n" + t5 + t6 + "\n", A._asStringS(t7 == null ? _null : t7)))); + }, + handle_click_down$1(event_syn) { + var t1, t2, _s5_ = "store", + $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))); if ($event.button === 0) { - t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); - t2 = $.app.store; - if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t2 = $.app.store; - t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t1 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext(); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t2 = true; if (t2) { - t2 = $.app.store; - t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_extension_) && E.origami_type_selectable(t1); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_extension_) && A.origami_type_selectable(t1); } else t1 = false; if (t1) - this._design_main_strand_extension$_cachedTypedProps.get$ext().handle_selection_mouse_down$1($event); + this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().handle_selection_mouse_down$1($event); } }, - handle_click_up$1: function(event_syn) { - var t1, t2, currently_moving, t3; - type$.legacy_SyntheticPointerEvent._as(event_syn); + handle_click_up$1(event_syn) { + var t1, t2, currently_moving, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(event_syn); t1 = J.getInterceptor$x(event_syn); if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { - t2 = $.app.store; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); if (t2.get$state(t2).ui_state.strands_move == null) { - t2 = $.app.store; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); if (t2.get$state(t2).ui_state.domains_move == null) { - t2 = $.app.store; + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; currently_moving = t2; } else currently_moving = true; } else currently_moving = true; - t2 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$ext(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_extension_) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_extension_) && A.origami_type_selectable(t2); } else t2 = false; if (t2 && !currently_moving) - this._design_main_strand_extension$_cachedTypedProps.get$ext().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().handle_selection_mouse_up$1(type$.MouseEvent._as(t1.get$nativeEvent(event_syn))); } }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); - t1 = "#" + t1.get$id(t1); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + componentDidMount$0() { + var t1 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); - t1 = "#" + t1.get$id(t1); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + componentWillUnmount$0() { + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + var t1 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); }, - on_context_menu$1: function(ev) { + on_context_menu$1(ev) { var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); ev.stopPropagation(); - t1 = $.app; - t2 = D._BuiltList$of(this.context_menu_extension$0(), type$.legacy_ContextMenuItem); + t1 = $.__app._readField$0(); + t2 = A._BuiltList$of(this.context_menu_extension$0(), type$.ContextMenuItem); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } }, - context_menu_extension$0: function() { + context_menu_extension$0() { var _this = this, _null = null, - t1 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_display_length_and_angle_change(), "change extension display length/angle", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_num_bases_change(), "change extension number of bases", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_name(), "set extension name", _null)], type$.JSArray_legacy_ContextMenuItem); - if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().name != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure(), "remove extension name", _null)); - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_label(), "set extension label", _null)); - if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().label != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure0(), "remove extension label", _null)); - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure1(_this), "set extension color", _null)); - if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().color != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure2(_this), "remove extension color", _null)); - return t1; - }, - extension_num_bases_change$0: function() { + t1 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_display_length_and_angle_change(), "change extension display length/angle", ""), A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_num_bases_change(), "change extension number of bases", ""), A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_name(), "set extension name", "")], type$.JSArray_ContextMenuItem), + t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$ext().name != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainExtensionComponent_context_menu_extension_closure(_this), "remove extension name", "")); + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_label(), "set extension label", "")); + if (_this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().label != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainExtensionComponent_context_menu_extension_closure0(_this), "remove extension label", "")); + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainExtensionComponent_context_menu_extension_closure1(_this), "set extension color", "")); + if (_this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().color != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainExtensionComponent_context_menu_extension_closure2(_this), "remove extension color", "")); + return t1; + }, + extension_num_bases_change$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, t1, selected_extensions, action, new_num_bases; - var $async$extension_num_bases_change$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$extension_num_bases_change$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; - return P._asyncAwait($.app.disable_keyboard_shortcuts_while$1$1(new Q.DesignMainExtensionComponent_extension_num_bases_change_closure($async$self), type$.legacy_int), $async$extension_num_bases_change$0); + return A._asyncAwait($.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainExtensionComponent_extension_num_bases_change_closure($async$self), type$.int), $async$extension_num_bases_change$0); case 3: // returning from await. new_num_bases = $async$result; - if (new_num_bases == null || new_num_bases === $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().num_bases) { + if (new_num_bases != null) { + t1 = $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = new_num_bases === t1.get$ext().num_bases; + } else + t1 = true; + if (t1) { // goto return $async$goto = 1; break; } - t1 = $.app.store; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); selected_extensions = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); t1 = selected_extensions._set; - t1 = t1.get$length(t1); - if (typeof t1 !== "number") { - $async$returnValue = t1.$gt(); - // goto return - $async$goto = 1; - break; + if (t1.get$length(t1) > 0) + action = A.ExtensionsNumBasesChange_ExtensionsNumBasesChange(selected_extensions, new_num_bases); + else { + t1 = $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A.ExtensionNumBasesChange_ExtensionNumBasesChange(t1.get$ext(), new_num_bases); } - action = t1 > 0 ? U.ExtensionsNumBasesChange_ExtensionsNumBasesChange(selected_extensions, new_num_bases) : U.ExtensionNumBasesChange_ExtensionNumBasesChange($async$self._design_main_strand_extension$_cachedTypedProps.get$ext(), new_num_bases); - $.app.dispatch$1(action); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$extension_num_bases_change$0, $async$completer); + return A._asyncStartSync($async$extension_num_bases_change$0, $async$completer); }, - set_extension_name$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_name(), type$.void); + set_extension_name$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_name(), type$.void); }, - set_extension_label$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new Q.DesignMainExtensionComponent_set_extension_label_closure(this), type$.void); + set_extension_label$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainExtensionComponent_set_extension_label_closure(this), type$.void); }, - ask_for_extension_name$0: function() { + ask_for_extension_name$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, $name, selected_exts, t2, action, items, t1; - var $async$ask_for_extension_name$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$ask_for_extension_name$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().name; - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext().name; + items._util$_set$2(0, A.DialogText_DialogText("name", "", t1 == null ? "" : t1)); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set extension name", C.DialogType_set_extension_name, true)), $async$ask_for_extension_name$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set extension name", B.DialogType_set_extension_name, true)), $async$ask_for_extension_name$0); case 3: // returning from await. results = $async$result; @@ -138366,47 +140206,45 @@ $async$goto = 1; break; } - $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; - t1 = $.app.store; + $name = type$.DialogText._as(J.$index$asx(results, 0)).value; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); selected_exts = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); t1 = selected_exts._set; - t2 = t1.get$length(t1); - if (typeof t2 !== "number") { - $async$returnValue = t2.$gt(); - // goto return - $async$goto = 1; - break; - } - action = t2 > 1 ? U.BatchAction_BatchAction(t1.map$1$1(0, selected_exts.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_ask_for_extension_name_closure($name)), type$.legacy_UndoableAction), "set extension names") : U._$SubstrandNameSet$_($name, $async$self._design_main_strand_extension$_cachedTypedProps.get$ext()); - $.app.dispatch$1(action); + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(selected_exts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_ask_for_extension_name_closure($name))), t2._eval$1("EfficientLengthMappedIterable")), "set extension names"); + } else + action = A._$SubstrandNameSet$_($name, $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext()); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_for_extension_name$0, $async$completer); + return A._asyncStartSync($async$ask_for_extension_name$0, $async$completer); }, - extension_display_length_and_angle_change$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_display_length_and_angle(), type$.void); + extension_display_length_and_angle_change$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_display_length_and_angle(), type$.void); }, - ask_for_extension_display_length_and_angle$0: function() { + ask_for_extension_display_length_and_angle$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, t2, display_length, display_angle, action, items, t1; - var $async$ask_for_extension_display_length_and_angle$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$ask_for_extension_display_length_and_angle$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - items = P.List_List$filled(2, null, false, type$.legacy_DialogItem); - t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().display_length; - C.JSArray_methods.$indexSet(items, 0, E.DialogFloat_DialogFloat("display length (nm)", t1)); - t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().display_angle; - C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("display angle (degrees)", t1)); + items = new A.FixedList(A.List_List$filled(2, null, false, type$.nullable_DialogItem), A.List_List$filled(2, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + items._util$_set$2(0, A.DialogFloat_DialogFloat("display length (nm)", t1.get$ext().display_length)); + items._util$_set$2(1, A.DialogFloat_DialogFloat("display angle (degrees)", $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().display_angle)); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set extension display length/angle", C.DialogType_2jN, false)), $async$ask_for_extension_display_length_and_angle$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set extension display length/angle", B.DialogType_2jN, false)), $async$ask_for_extension_display_length_and_angle$0); case 3: // returning from await. results = $async$result; @@ -138416,355 +140254,312 @@ break; } t1 = J.getInterceptor$asx(results); - t2 = type$.legacy_DialogFloat; + t2 = type$.DialogFloat; display_length = t2._as(t1.$index(results, 0)).value; display_angle = t2._as(t1.$index(results, 1)).value; if (display_length <= 0) - C.Window_methods.alert$1(window, "display_length must be positive, but is " + H.S(display_length)); + B.Window_methods.alert$1(window, "display_length must be positive, but is " + A.S(display_length)); else { - action = U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet(display_angle, display_length, $async$self._design_main_strand_extension$_cachedTypedProps.get$ext()); - $.app.dispatch$1(action); + action = A.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet(display_angle, display_length, $async$self.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext()); + $.__app._readField$0().dispatch$1(action); } case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_for_extension_display_length_and_angle$0, $async$completer); + return A._asyncStartSync($async$ask_for_extension_display_length_and_angle$0, $async$completer); } }; - Q.DesignMainExtensionComponent_context_menu_extension_closure.prototype = { - call$0: function() { - var t1 = $.app, - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_extensions(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_context_menu_extension__closure0()), type$.legacy_UndoableAction), "remove extension names")); + A.DesignMainExtensionComponent_context_menu_extension_closure.prototype = { + call$0() { + var t2, t3, exts, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); + t2 = this.$this; + t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + exts = A.add_if_not_null(t1, t3.get$ext(), type$.Extension); + t1 = exts._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(A._instanceType(exts)._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_context_menu_extension__closure0())), t2._eval$1("EfficientLengthMappedIterable")), "remove extension names"); + } else + action = A._$SubstrandNameSet$_(null, t2.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext()); + $.__app._readField$0().dispatch$1(action); }, - $signature: 1 + $signature: 0 }; - Q.DesignMainExtensionComponent_context_menu_extension__closure0.prototype = { - call$1: function(e) { - return U._$SubstrandNameSet$_(null, type$.legacy_Extension._as(e)); + A.DesignMainExtensionComponent_context_menu_extension__closure0.prototype = { + call$1(l) { + return A._$SubstrandNameSet$_(null, type$.Extension._as(l)); }, - $signature: 154 + $signature: 138 }; - Q.DesignMainExtensionComponent_context_menu_extension_closure0.prototype = { - call$0: function() { - var t1 = $.app, - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_extensions(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_context_menu_extension__closure()), type$.legacy_UndoableAction), "remove extension labels")); + A.DesignMainExtensionComponent_context_menu_extension_closure0.prototype = { + call$0() { + var t2, t3, exts, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); + t2 = this.$this; + t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + exts = A.add_if_not_null(t1, t3.get$ext(), type$.Extension); + t1 = exts._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(A._instanceType(exts)._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_context_menu_extension__closure())), t2._eval$1("EfficientLengthMappedIterable")), "remove extension labels"); + } else + action = A._$SubstrandLabelSet$_(null, t2.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext()); + $.__app._readField$0().dispatch$1(action); }, - $signature: 1 + $signature: 0 }; - Q.DesignMainExtensionComponent_context_menu_extension__closure.prototype = { - call$1: function(e) { - return U._$SubstrandLabelSet$_(null, type$.legacy_Extension._as(e)); + A.DesignMainExtensionComponent_context_menu_extension__closure.prototype = { + call$1(l) { + return A._$SubstrandLabelSet$_(null, type$.Extension._as(l)); }, - $signature: 474 + $signature: 485 }; - Q.DesignMainExtensionComponent_context_menu_extension_closure1.prototype = { - call$0: function() { - var t1 = this.$this; - return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(t1._design_main_strand_extension$_cachedTypedProps.get$strand(), t1._design_main_strand_extension$_cachedTypedProps.get$ext())); + A.DesignMainExtensionComponent_context_menu_extension_closure1.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this, + t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorPickerShow$_(t3.get$strand(), t2.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext())); }, - $signature: 1 + $signature: 0 }; - Q.DesignMainExtensionComponent_context_menu_extension_closure2.prototype = { - call$0: function() { - var t1 = this.$this; - return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, t1._design_main_strand_extension$_cachedTypedProps.get$strand(), t1._design_main_strand_extension$_cachedTypedProps.get$ext())); + A.DesignMainExtensionComponent_context_menu_extension_closure2.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this, + t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorSet$_(null, t3.get$strand(), t2.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext())); }, - $signature: 1 + $signature: 0 }; - Q.DesignMainExtensionComponent_extension_num_bases_change_closure.prototype = { - call$0: function() { - return Q.ask_for_num_bases("change extension number of bases", this.$this._design_main_strand_extension$_cachedTypedProps.get$ext().num_bases, 1); + A.DesignMainExtensionComponent_extension_num_bases_change_closure.prototype = { + call$0() { + var t1 = this.$this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.ask_for_num_bases("change extension number of bases", t1.get$ext().num_bases, 1); }, - $signature: 155 + $signature: 139 }; - Q.DesignMainExtensionComponent_set_extension_label_closure.prototype = { - call$0: function() { + A.DesignMainExtensionComponent_set_extension_label_closure.prototype = { + call$0() { var t3, t1 = this.$this, - t2 = t1._design_main_strand_extension$_cachedTypedProps.get$strand(); - t1 = t1._design_main_strand_extension$_cachedTypedProps.get$ext(); - t3 = $.app.store; - return M.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_extensions(), type$.legacy_Extension); + t2 = t1.___$DesignMainExtensionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t1 = t1.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + return A.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_extensions(), type$.Extension); }, - $signature: 6 + $signature: 5 }; - Q.DesignMainExtensionComponent_ask_for_extension_name_closure.prototype = { - call$1: function(e) { - return U._$SubstrandNameSet$_(this.name, type$.legacy_Extension._as(e)); + A.DesignMainExtensionComponent_ask_for_extension_name_closure.prototype = { + call$1(e) { + return A._$SubstrandNameSet$_(this.name, type$.Extension._as(e)); }, - $signature: 154 + $signature: 138 }; - Q.$DesignMainExtensionComponentFactory_closure.prototype = { - call$0: function() { - return new Q._$DesignMainExtensionComponent(null); + A.$DesignMainExtensionComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainExtensionComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 476 + $signature: 487 }; - Q._$$DesignMainExtensionProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainExtensionProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainExtensionComponentFactory() : t1; } }; - Q._$$DesignMainExtensionProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainExtensionProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_extension$_props; } }; - Q._$$DesignMainExtensionProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainExtensionProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_extension$_props; } }; - Q._$DesignMainExtensionComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_extension$_cachedTypedProps; + A._$DesignMainExtensionComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_extension$_cachedTypedProps = Q._$$DesignMainExtensionProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainExtensionComponent__cachedTypedProps_A = A._$$DesignMainExtensionProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainExtension"; }, - get$$$defaultConsumedProps: function() { - return C.Map_gkibp.get$values(C.Map_gkibp); + get$$$defaultConsumedProps() { + return B.Map_L9AYZ.get$values(B.Map_L9AYZ); } }; - Q.$DesignMainExtensionPropsMixin.prototype = { - get$ext: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.ext"); - if (t1 == null) - t1 = null; - return type$.legacy_Extension._as(t1); - }, - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.strand"); - if (t1 == null) - t1 = null; - return type$.legacy_Strand._as(t1); - }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.helices", value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.groups"); + A.$DesignMainExtensionProps.prototype = { + get$ext() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionProps.ext"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.groups", value); + return type$.Extension._as(t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.geometry"); + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.geometry", value); - } - }; - Q._DesignMainExtensionComponent_UiComponent2_PureComponent.prototype = {}; - Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainExtensionPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainExtensionPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainExtensionPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainExtensionPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainExtensionPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainExtensionPropsMixin_geometry; - } - }; - Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin.prototype = {}; - Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } - }; - Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - R.DesignMainStrandExtensionTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandExtensionTextPropsMixin_geometry; + return type$.Strand._as(t1); } }; - R.DesignMainStrandExtensionTextComponent.prototype = { - render$0: function(_) { + A._DesignMainExtensionComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps.prototype = {}; + A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps.prototype = {}; + A.DesignMainStrandExtensionTextProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandExtensionTextComponent.prototype = { + render$0(_) { var t2, t3, t4, style_map, text_path_props, dom, adj_dom_offset, _this = this, _null = null, - t1 = _this._design_main_strand_extension_text$_cachedTypedProps; + t1 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$geometry(t1).get$base_height_svg(); - t2 = _this._design_main_strand_extension_text$_cachedTypedProps; + t2 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; t2 = t2.get$geometry(t2).get$base_height_svg(); - t3 = _this._design_main_strand_extension_text$_cachedTypedProps; + t3 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.DesignMStEn); - t3 = H._asIntS(t3 == null ? _null : t3); + t3 = A._asIntS(t3 == null ? _null : t3); if (typeof t3 !== "number") - return H.iae(t3); - t4 = _this._design_main_strand_extension_text$_cachedTypedProps; + return A.iae(t3); + t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStEf); - style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", H.S(H._asIntS(t4 == null ? _null : t4)) + "px"], type$.legacy_String, type$.dynamic); + style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", A.S(A._asDoubleS(t4 == null ? _null : t4)) + "px"], type$.String, type$.dynamic); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t4 = _this._design_main_strand_extension_text$_cachedTypedProps; + t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStEc); - text_path_props.set$className(0, H._asStringS(t4 == null ? _null : t4)); - t4 = _this._design_main_strand_extension_text$_cachedTypedProps.get$ext(); + text_path_props.set$className(0, A._asStringS(t4 == null ? _null : t4)); + t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext(); text_path_props.set$xlinkHref("#" + t4.get$id(t4)); text_path_props.set$startOffset(0, "50%"); - text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); - dom = _this._design_main_strand_extension_text$_cachedTypedProps.get$ext().adjacent_domain; - adj_dom_offset = H.boolConversionCheck(_this._design_main_strand_extension_text$_cachedTypedProps.get$ext().is_5p) ? dom.get$offset_5p() : dom.get$offset_3p(); + text_path_props.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(style_map)); + dom = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext().adjacent_domain; + adj_dom_offset = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext().is_5p ? dom.get$offset_5p() : dom.get$offset_3p(); t4 = A.SvgProps$($.$get$text(), _null); - t4.set$key(0, "extension-text-H" + _this._design_main_strand_extension_text$_cachedTypedProps.get$ext().adjacent_domain.helix + "," + adj_dom_offset); - t4.set$dy(0, H.S(-0.1 * t1 - t2 * t3)); - t3 = _this._design_main_strand_extension_text$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMStEt); - return t4.call$1(text_path_props.call$1(H._asStringS(t3 == null ? _null : t3))); + t4.set$key(0, "extension-text-H" + _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext().adjacent_domain.helix + "," + adj_dom_offset); + t4.set$dy(0, A.S(-0.1 * t1 - t2 * t3)); + t3 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainStrandExtensionTextProps.text"); + return t4.call$1(text_path_props.call$1(A._asStringS(t3 == null ? _null : t3))); } }; - R.$DesignMainStrandExtensionTextComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainStrandExtensionTextComponent(null); + A.$DesignMainStrandExtensionTextComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandExtensionTextComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 477 + $signature: 488 }; - R._$$DesignMainStrandExtensionTextProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandExtensionTextProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandExtensionTextComponentFactory() : t1; } }; - R._$$DesignMainStrandExtensionTextProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandExtensionTextProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_extension_text$_props; } }; - R._$$DesignMainStrandExtensionTextProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandExtensionTextProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_extension_text$_props; } }; - R._$DesignMainStrandExtensionTextComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_extension_text$_cachedTypedProps; + A._$DesignMainStrandExtensionTextComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_extension_text$_cachedTypedProps = R._$$DesignMainStrandExtensionTextProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A = A._$$DesignMainStrandExtensionTextProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandExtensionText"; }, - get$$$defaultConsumedProps: function() { - return C.Map_qrwEo.get$values(C.Map_qrwEo); + get$$$defaultConsumedProps() { + return B.Map_9wJO4.get$values(B.Map_9wJO4); } }; - R.$DesignMainStrandExtensionTextPropsMixin.prototype = { - get$ext: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStEe); + A.$DesignMainStrandExtensionTextProps.prototype = { + get$ext() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandExtensionTextProps.ext"); if (t1 == null) t1 = null; - return type$.legacy_Extension._as(t1); + return type$.Extension._as(t1); }, - get$geometry: function(_) { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStEg); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - } - }; - R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent.prototype = {}; - R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandExtensionTextPropsMixin_geometry; + return type$.Geometry._as(t1); } }; - R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin.prototype = {}; - A.DesignMainStrandInsertionPropsMixin.prototype = {}; + A._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps.prototype = {}; + A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps.prototype = {}; + A.DesignMainStrandInsertionProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; A.DesignMainStrandInsertionComponent.prototype = { - render$0: function(_) { - var classname, pos, insertion_background, geometry, offset, pos0, dx1, dx2, t2, dy1, dy2, x0, y0, x1, x2, x3, x4, x5, y1, y2, insertion_path, $length, dy_text, background_width, background_height, t3, background_y, key, text_path_props, _this = this, _null = null, - t1 = _this._design_main_strand_insertion$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMStIsee); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_insertion$_cachedTypedProps; + render$0(_) { + var classname, pos, insertion_background, geometry, offset, pos0, dx1, dx2, t2, dy1, dy2, x0, y0, x1, x2, x3, x4, x5, y1, y2, t3, insertion_path, $length, dy_text, background_width, background_height, background_y, text_path_props, _this = this, _null = null, + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "DesignMainStrandInsertionProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMStIr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "insertion-group selected" : "insertion-group selected-pink"; + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? "insertion-group selected" : "insertion-group selected-pink"; } else classname = "insertion-group"; - if (_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().is_scaffold) + if (_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().is_scaffold) classname += " scaffold"; - pos = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().svg_base_pos$3(_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward, _this._design_main_strand_insertion$_cachedTypedProps.get$svg_position_y()); + pos = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().svg_base_pos$3(_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.offset, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$svg_position_y()); insertion_background = _this._insertion_background$1(pos); - geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; - offset = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; - t1 = _this._design_main_strand_insertion$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignMStIc); + geometry = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().geometry; + offset = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.offset; + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandInsertionProps.color"); if (t1 == null) t1 = _null; - type$.legacy_Color._as(t1); - pos0 = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().svg_base_pos$3(offset, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward, _this._design_main_strand_insertion$_cachedTypedProps.get$svg_position_y()); + type$.Color._as(t1); + pos0 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().svg_base_pos$3(offset, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$svg_position_y()); dx1 = geometry.get$base_width_svg(); dx2 = 0.5 * geometry.get$base_width_svg(); - t2 = _this._design_main_strand_insertion$_cachedTypedProps; + t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; t2 = t2.get$props(t2).$index(0, string$.DesignMStId); - if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) && !_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward) { + if (A.boolConversionCheck(A._asBoolS(t2 == null ? _null : t2)) && !_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward) { dx1 = -dx1; dx2 = -dx2; } dy1 = 2 * geometry.get$base_height_svg(); dy2 = 2 * geometry.get$base_height_svg(); - if (_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward) { + if (_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward) { dy1 = -dy1; dy2 = -dy2; dx1 = -dx1; @@ -138774,40 +140569,37 @@ y0 = pos0.y; if (typeof x0 !== "number") return x0.$add(); - x1 = C.JSNumber_methods.toStringAsFixed$1(x0 + dx1, 2); - x2 = C.JSNumber_methods.toStringAsFixed$1(x0 + dx2, 2); - x3 = C.JSNumber_methods.toStringAsFixed$1(x0, 2); - x4 = C.JSNumber_methods.toStringAsFixed$1(x0 - dx2, 2); - x5 = C.JSNumber_methods.toStringAsFixed$1(x0 - dx1, 2); + x1 = B.JSNumber_methods.toStringAsFixed$1(x0 + dx1, 2); + x2 = B.JSNumber_methods.toStringAsFixed$1(x0 + dx2, 2); + x3 = B.JSNumber_methods.toStringAsFixed$1(x0, 2); + x4 = B.JSNumber_methods.toStringAsFixed$1(x0 - dx2, 2); + x5 = B.JSNumber_methods.toStringAsFixed$1(x0 - dx1, 2); if (typeof y0 !== "number") return y0.$add(); - y1 = C.JSNumber_methods.toStringAsFixed$1(y0 + dy1, 2); - y2 = C.JSNumber_methods.toStringAsFixed$1(y0 + dy2, 2); + y1 = B.JSNumber_methods.toStringAsFixed$1(y0 + dy1, 2); + y2 = B.JSNumber_methods.toStringAsFixed$1(y0 + dy2, 2); t2 = A.SvgProps$($.$get$path(), _null); t2.set$className(0, "insertion-curve"); t1 = t1.toHexColor$0(); t2.set$stroke(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); t2.set$fill(0, "none"); - t1 = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); t2.set$id(0, t1.get$id(t1)); - t2.set$d(0, "M " + H.S(x0) + " " + H.S(y0) + " C " + x1 + " " + y1 + ", " + x2 + " " + y2 + ", " + x3 + " " + y2 + " C " + x4 + " " + y2 + ", " + x5 + " " + y1 + ", " + H.S(x0) + " " + H.S(y0) + " "); - t1 = _this._design_main_strand_insertion$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "id"); - t2.set$key(0, H._asStringS(t1 == null ? _null : t1)); + t1 = A.S(x0); + t3 = A.S(y0); + t2.set$d(0, "M " + t1 + " " + t3 + " C " + x1 + " " + y1 + ", " + x2 + " " + y2 + ", " + x3 + " " + y2 + " C " + x4 + " " + y2 + ", " + x5 + " " + y1 + ", " + t1 + " " + t3 + " "); + t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); + t2.set$key(0, t3.get$id(t3)); insertion_path = t2.call$0(); - type$.legacy_Point_legacy_num._as(pos); - geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; - offset = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; - $length = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length; - dy_text = H.S(0.2 * geometry.get$base_height_svg()); - t1 = $._browser; - if (t1 == null) { - $.Browser_navigator = new G._HtmlNavigator(); - t1 = $._browser = L.Browser_getCurrentBrowser(); - } + type$.Point_double._as(pos); + geometry = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().geometry; + offset = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.offset; + $length = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.length; + dy_text = A.S(0.2 * geometry.get$base_height_svg()); + t1 = A.browser(); t1.toString; if (t1 === $.$get$firefox()) - dy_text = H.S(0.14 * geometry.get$base_height_svg()); + dy_text = A.S(0.14 * geometry.get$base_height_svg()); background_width = geometry.get$base_width_svg(); background_height = 1.5 * geometry.get$base_height_svg(); t1 = pos.x; @@ -138818,483 +140610,517 @@ if (typeof t2 !== "number") return t2.$sub(); background_y = t2 - t3 / 2; - background_y = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward ? background_y - background_height : background_y + geometry.get$base_height_svg(); - key = "num-insertion-H" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.helix + "-" + offset; + background_y = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward ? background_y - background_height : background_y + geometry.get$base_height_svg(); + t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.helix; text_path_props = A.SvgProps$($.$get$textPath(), _null); text_path_props.set$startOffset(0, "50%"); - t2 = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); - text_path_props.set$xlinkHref("#" + t2.get$id(t2)); + t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); + text_path_props.set$xlinkHref("#" + t3.get$id(t3)); text_path_props.set$className(0, "insertion-length"); - t2 = A.SvgProps$($.$get$g(), _null); - t2.set$key(0, key); - t3 = A.SvgProps$($.$get$rect(), _null); - t3.set$x(0, t1 - background_width / 2); - t3.set$y(0, background_y); - t3.set$width(0, background_width); - t3.set$height(0, background_height); - t3.set$className(0, "insertion-background"); - t3.set$key(0, "rect"); - t3 = t3.call$0(); + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$key(0, "num-insertion-H" + t2 + "-" + offset); + t2 = A.SvgProps$($.$get$rect(), _null); + t2.set$x(0, t1 - background_width / 2); + t2.set$y(0, background_y); + t2.set$width(0, background_width); + t2.set$height(0, background_height); + t2.set$className(0, "insertion-background"); + t2.set$key(0, "rect"); + t2 = t2.call$0(); t1 = A.SvgProps$($.$get$text(), _null); t1.set$dy(0, dy_text); t1.set$key(0, "text"); - t1 = t2.call$2(t3, t1.call$1(text_path_props.call$1("" + $length))); - t3 = A.SvgProps$($.$get$g(), _null); - t3.set$id(0, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group()); - t3.set$className(0, classname); - t3.set$onPointerDown(new A.DesignMainStrandInsertionComponent_render_closure(_this)); - t3.set$onPointerUp(new A.DesignMainStrandInsertionComponent_render_closure0(_this)); - t2 = _this._design_main_strand_insertion$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignMStIt); - t3.set$transform(0, H._asStringS(t2 == null ? _null : t2)); - return t3.call$3(insertion_path, insertion_background, t1); - }, - _insertion_background$1: function(pos) { - var geometry, key_background, background_width, background_height, t1, t2, t3, _this = this; - type$.legacy_Point_legacy_num._as(pos); - geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; - key_background = "insertion-background-H" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.helix + "-" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; + t1 = t3.call$2(t2, t1.call$1(text_path_props.call$1("" + $length))); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$id(0, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().get$id_group()); + t2.set$className(0, classname); + t2.set$onPointerDown(new A.DesignMainStrandInsertionComponent_render_closure(_this)); + t2.set$onPointerUp(new A.DesignMainStrandInsertionComponent_render_closure0(_this)); + t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainStrandInsertionProps.transform"); + t2.set$transform(0, A._asStringS(t3 == null ? _null : t3)); + return t2.call$3(insertion_path, insertion_background, t1); + }, + _insertion_background$1(pos) { + var t1, geometry, t2, background_width, background_height, t3, t4, t5, _this = this; + type$.Point_double._as(pos); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + geometry = t1.get$helix().geometry; + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.helix; + t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.offset; background_width = geometry.get$base_width_svg(); background_height = geometry.get$base_height_svg(); - t1 = pos.x; - if (typeof t1 !== "number") - return t1.$sub(); - t2 = pos.y; - if (typeof t2 !== "number") - return t2.$sub(); - t3 = A.SvgProps$($.$get$rect(), null); - t3.set$className(0, "insertion-background"); - t3.set$x(0, t1 - background_width / 2); - t3.set$y(0, t2 - background_height / 2); - t3.set$width(0, background_width); - t3.set$height(0, background_height); - t3.set$onClick(0, new A.DesignMainStrandInsertionComponent__insertion_background_closure(_this)); - t3.set$key(0, key_background); - return t3.call$0(); - }, - componentDidMount$0: function() { - var t1 = "#" + this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group(); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + t3 = pos.x; + if (typeof t3 !== "number") + return t3.$sub(); + t4 = pos.y; + if (typeof t4 !== "number") + return t4.$sub(); + t5 = A.SvgProps$($.$get$rect(), null); + t5.set$className(0, "insertion-background"); + t5.set$x(0, t3 - background_width / 2); + t5.set$y(0, t4 - background_height / 2); + t5.set$width(0, background_width); + t5.set$height(0, background_height); + t5.set$onClick(0, new A.DesignMainStrandInsertionComponent__insertion_background_closure(_this)); + t5.set$key(0, "insertion-background-H" + t1 + "-" + t2); + return t5.call$0(); + }, + componentDidMount$0() { + var t1 = this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$selectable_insertion().get$id_group(); + t1 = document.querySelector("#" + t1); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); this.super$Component2$componentDidMount(); }, - componentWillUnmount$0: function() { - var t1 = "#" + this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group(); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + componentWillUnmount$0() { + var t1 = this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$selectable_insertion().get$id_group(); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); }, - on_context_menu$1: function(ev) { + on_context_menu$1(ev) { var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); ev.stopPropagation(); - t1 = $.app; - t2 = D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, null, this.get$change_insertion_length(), "change insertion length", null)], type$.JSArray_legacy_ContextMenuItem), type$.legacy_ContextMenuItem); + t1 = $.__app._readField$0(); + t2 = A._BuiltList$of(A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, null, this.get$change_insertion_length(), "change insertion length", "")], type$.JSArray_ContextMenuItem), type$.ContextMenuItem); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } }, - change_insertion_length$0: function() { + change_insertion_length$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), - $async$returnValue, $async$self = this, t1, t2, t3, action, new_length; - var $async$change_insertion_length$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, new_length, t2, t3, action, t1; + var $async$change_insertion_length$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start + t1 = $async$self.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); $async$goto = 3; - return P._asyncAwait(R.ask_for_length("change insertion length", $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length, C.DialogType_set_insertion_length, 1, "Changes the insertion length. \n\nKeep in mind that the insertion length is the number of *extra* bases.\nSo for example an insertion length of 1 would represent at that offset\n2 total bases: the original base and the 1 extra base from the insertion.\n"), $async$change_insertion_length$0); + return A._asyncAwait(A.ask_for_length("change insertion length", t1.get$selectable_insertion().insertion.length, B.DialogType_set_insertion_length, 1, "Changes the insertion length. \n\nKeep in mind that the insertion length is the number of *extra* bases.\nSo for example an insertion length of 1 would represent at that offset\n2 total bases: the original base and the 1 extra base from the insertion.\n"), $async$change_insertion_length$0); case 3: // returning from await. new_length = $async$result; - if (new_length === $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length) { + if (new_length === $async$self.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion.length) { // goto return $async$goto = 1; break; } - t1 = $.app.store; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_insertions()._set; - t2 = t1.get$length(t1); - if (typeof t2 !== "number") { - $async$returnValue = t2.$gt(); - // goto return - $async$goto = 1; - break; - } - if (t2 > 0) { - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); + if (t1.get$length(t1) > 0) { + t2 = A._setArrayType([], type$.JSArray_Insertion); for (t3 = t1.get$iterator(t1); t3.moveNext$0();) t2.push(t3.get$current(t3).insertion); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + t3 = A._setArrayType([], type$.JSArray_Domain); for (t1 = t1.get$iterator(t1); t1.moveNext$0();) t3.push(t1.get$current(t1).domain); - action = U.InsertionsLengthChange_InsertionsLengthChange(t3, t2, new_length); + action = A.InsertionsLengthChange_InsertionsLengthChange(t3, t2, new_length); } else - action = U.InsertionLengthChange_InsertionLengthChange($async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain, $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion, new_length); - $.app.dispatch$1(action); + action = A.InsertionLengthChange_InsertionLengthChange($async$self.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain, $async$self.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion, new_length); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$change_insertion_length$0, $async$completer); + return A._asyncStartSync($async$change_insertion_length$0, $async$completer); } }; A.DesignMainStrandInsertionComponent_render_closure.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_insertion(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_insertion) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_insertion) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; A.DesignMainStrandInsertionComponent_render_closure0.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_insertion(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_insertion) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_insertion) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; A.DesignMainStrandInsertionComponent__insertion_background_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app.store; - if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) { - t1 = this.$this; - $.app.dispatch$1(U.InsertionRemove_InsertionRemove(t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain, t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion)); + call$1(_) { + var t1, t2, t3; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_insertion)) { + t1 = $.__app._readField$0(); + t2 = this.$this; + t3 = t2.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.InsertionRemove_InsertionRemove(t3.get$selectable_insertion().domain, t2.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().insertion)); } }, - $signature: 17 + $signature: 15 }; A.$DesignMainStrandInsertionComponentFactory_closure.prototype = { - call$0: function() { + call$0() { return new A._$DesignMainStrandInsertionComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 478 + $signature: 489 }; A._$$DesignMainStrandInsertionProps.prototype = { - get$$$isClassGenerated: function() { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandInsertionComponentFactory() : t1; } }; A._$$DesignMainStrandInsertionProps$PlainMap.prototype = { - get$props: function(_) { + get$props(_) { return this._design_main_strand_insertion$_props; } }; A._$$DesignMainStrandInsertionProps$JsMap.prototype = { - get$props: function(_) { + get$props(_) { return this._design_main_strand_insertion$_props; } }; A._$DesignMainStrandInsertionComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_insertion$_cachedTypedProps; + get$props(_) { + var t1 = this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_insertion$_cachedTypedProps = A._$$DesignMainStrandInsertionProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A = A._$$DesignMainStrandInsertionProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandInsertion"; }, - get$$$defaultConsumedProps: function() { - return C.Map_mu0ib.get$values(C.Map_mu0ib); + get$$$defaultConsumedProps() { + return B.Map_jwkc1.get$values(B.Map_jwkc1); } }; - A.$DesignMainStrandInsertionPropsMixin.prototype = { - get$selectable_insertion: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIsea); + A.$DesignMainStrandInsertionProps.prototype = { + get$selectable_insertion() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIse); if (t1 == null) t1 = null; - return type$.legacy_SelectableInsertion._as(t1); + return type$.SelectableInsertion._as(t1); }, - get$helix: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIh); + get$helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandInsertionProps.helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - get$svg_position_y: function() { + get$svg_position_y() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIsv); - return H._asNumS(t1 == null ? null : t1); + return A._asDoubleS(t1 == null ? null : t1); } }; A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent.prototype = {}; - A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin.prototype = {}; - A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin.prototype = {}; - R.DesignMainLoopoutPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainLoopoutPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainLoopoutPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainLoopoutPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps.prototype = {}; + A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps.prototype = {}; + A.DesignMainLoopoutProps.prototype = { + get$helices() { + var t1 = this.DesignMainLoopoutProps___DesignMainLoopoutProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - get$helices: function() { - return this.DesignMainLoopoutPropsMixin_helices; + get$groups() { + var t1 = this.DesignMainLoopoutProps___DesignMainLoopoutProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - get$groups: function() { - return this.DesignMainLoopoutPropsMixin_groups; + get$geometry(_) { + var t1 = this.DesignMainLoopoutProps___DesignMainLoopoutProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainLoopoutPropsMixin_geometry; - } + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 }; - R.DesignMainLoopoutState.prototype = {$isMap: 1}; - R.DesignMainLoopoutComponent.prototype = { - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + A.DesignMainLoopoutState.prototype = {$isMap: 1}; + A.DesignMainLoopoutComponent.prototype = { + get$initialState() { + var t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})); t1.set$mouse_hover(false); return t1; }, - render$0: function(_) { - var classname, tooltip, within_group, t2, t3, t4, t5, t6, path_description, prev_offset, next_offset, prev_group, next_group, prev_svg_untransformed, next_svg_untransformed, prev_svg, next_svg, w, h, prev_c, next_c, path, color, path_props, _this = this, _null = null, - t1 = _this._design_main_strand_loopout$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutPropsMixin.selected"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_loopout$_cachedTypedProps; + render$0(_) { + var classname, within_group, t2, t3, t4, t5, t6, t7, path_description, prev_offset, next_offset, prev_svg_untransformed, next_svg_untransformed, prev_svg, next_svg, w, h, t8, prev_c, next_c, path, color, path_props, _this = this, _null = null, + t1 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutProps.selected"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMLPr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "loopout-curve selected" : "loopout-curve selected-pink"; + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? "loopout-curve selected" : "loopout-curve selected-pink"; } else classname = "loopout-curve"; - if (_this._design_main_strand_loopout$_cachedTypedProps.get$strand().is_scaffold) + if (_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$strand().is_scaffold) classname += " scaffold"; - tooltip = "loopout: length " + _this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases; - within_group = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().group === _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().group; - t1 = _this._design_main_strand_loopout$_cachedTypedProps; + t1 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases; + within_group = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix().group === _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix().group; + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; if (within_group) { - t1 = t1.get$prev_helix(); - t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix(); - t3 = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_domain(); - t4 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain(); - t5 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t6 = _this._design_main_strand_loopout$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, string$.DesignMLPs); - path_description = R.loopout_path_description_within_group(t1, t2, t3, t4, t5, true, H._asBoolS(t6 == null ? _null : t6), _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix_svg_position_y(), _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix_svg_position_y()); + t2 = t2.get$prev_helix(); + t3 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix(); + t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_domain(); + t5 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_domain(); + t6 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout(); + t7 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "DesignMainLoopoutProps.show_domain_names"); + path_description = A.loopout_path_description_within_group(t2, t3, t4, t5, t6, true, A._asBoolS(t7 == null ? _null : t7), _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix_svg_position_y(), _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix_svg_position_y()); } else { - t1 = t1.get$prev_domain(); - t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); - prev_offset = t1.offset; - if (!t1.is_start) { - if (typeof prev_offset !== "number") - return prev_offset.$sub(); - --prev_offset; - } - t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain(); - t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); - next_offset = t1.offset; - if (!t1.is_start) { - if (typeof next_offset !== "number") - return next_offset.$sub(); - --next_offset; - } - t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$groups(); - t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().group; - prev_group = J.$index$asx(t1._map$_map, t2); - t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$groups(); - t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().group; - next_group = J.$index$asx(t2._map$_map, t1); - prev_svg_untransformed = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().svg_base_pos$3(prev_offset, _this._design_main_strand_loopout$_cachedTypedProps.get$prev_domain().forward, _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix_svg_position_y()); - next_svg_untransformed = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().svg_base_pos$3(next_offset, _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain().forward, _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix_svg_position_y()); - t1 = _this._design_main_strand_loopout$_cachedTypedProps; - prev_svg = prev_group.transform_point_main_view$2(prev_svg_untransformed, t1.get$geometry(t1)); - t1 = _this._design_main_strand_loopout$_cachedTypedProps; - next_svg = next_group.transform_point_main_view$2(next_svg_untransformed, t1.get$geometry(t1)); - t1 = Math.exp(-_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases); - t2 = _this._design_main_strand_loopout$_cachedTypedProps; - w = 2 * (1 / (1 + t1)) * t2.get$geometry(t2).get$base_width_svg(); - t2 = Math.exp(-(_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases - 3)); - t1 = _this._design_main_strand_loopout$_cachedTypedProps; - h = 10 * (1 / (1 + t2)) * t1.get$geometry(t1).get$base_height_svg(); - t1 = prev_svg.y; - if (typeof t1 !== "number") - return t1.$add(); - t2 = next_svg.y; + t2 = t2.get$prev_domain(); + prev_offset = (t2.forward ? t2.get$dnaend_end() : t2.get$dnaend_start()).get$offset_inclusive(); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_domain(); + next_offset = (t2.forward ? t2.get$dnaend_start() : t2.get$dnaend_end()).get$offset_inclusive(); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$groups(); + t3 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix().group; + t3 = t2._map$_map.$index(0, t3); + t3.toString; + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$groups(); + t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix().group; + t4 = t2._map$_map.$index(0, t4); + t4.toString; + prev_svg_untransformed = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix().svg_base_pos$3(prev_offset, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_domain().forward, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix_svg_position_y()); + next_svg_untransformed = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix().svg_base_pos$3(next_offset, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_domain().forward, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix_svg_position_y()); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + prev_svg = t3.transform_point_main_view$2(prev_svg_untransformed, t2.get$geometry(t2)); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + next_svg = t4.transform_point_main_view$2(next_svg_untransformed, t2.get$geometry(t2)); + t2 = Math.exp(-_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases); + t5 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + w = 2 * (1 / (1 + t2)) * t5.get$geometry(t5).get$base_width_svg(); + t5 = Math.exp(-(_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases - 3)); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + h = 10 * (1 / (1 + t5)) * t2.get$geometry(t2).get$base_height_svg(); + t2 = prev_svg.y; if (typeof t2 !== "number") - return t2.$sub(); - t3 = prev_svg.x; - if (typeof t3 !== "number") - return t3.$add(); - t4 = next_svg.x; - if (typeof t4 !== "number") - return t4.$add(); - t5 = type$.Point_legacy_num; - prev_c = E.rotate(new P.Point(t3 + w, t1 + h, t5), prev_group.pitch, prev_svg); - next_c = E.rotate(new P.Point(t4 + w, t2 - h, t5), next_group.pitch, next_svg); - path = "M " + H.S(t3) + " " + H.S(t1) + " C " + H.S(prev_c.x) + " " + H.S(prev_c.y) + " " + H.S(next_c.x) + " " + H.S(next_c.y) + " " + H.S(t4) + " " + H.S(t2); - path_description = path; - } - color = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout().color; - if (color == null) { - t1 = _this._design_main_strand_loopout$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutPropsMixin.strand_color"); - if (t1 == null) - t1 = _null; - type$.legacy_Color._as(t1); - color = t1; + return t2.$add(); + t5 = next_svg.y; + if (typeof t5 !== "number") + return t5.$sub(); + t6 = prev_svg.x; + if (typeof t6 !== "number") + return t6.$add(); + t7 = next_svg.x; + if (typeof t7 !== "number") + return t7.$add(); + t8 = type$.Point_double; + prev_c = A.rotate(new A.Point(t6 + w, t2 + h, t8), t3.pitch, prev_svg); + next_c = A.rotate(new A.Point(t7 + w, t5 - h, t8), t4.pitch, next_svg); + path = "M " + A.S(t6) + " " + A.S(t2) + " C " + A.S(prev_c.x) + " " + A.S(prev_c.y) + " " + A.S(next_c.x) + " " + A.S(next_c.y) + " " + A.S(t7) + " " + A.S(t5); + path_description = path; + } + color = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().color; + if (color == null) { + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "DesignMainLoopoutProps.strand_color"); + if (t2 == null) + t2 = _null; + type$.Color._as(t2); + color = t2; } path_props = A.SvgProps$($.$get$path(), _null); path_props.set$className(0, classname); - t1 = color.toHexColor$0(); - path_props.set$stroke(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t2 = color.toHexColor$0(); + path_props.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); path_props.set$d(0, path_description); - path_props.set$onMouseEnter(0, new R.DesignMainLoopoutComponent_render_closure(_this)); - path_props.set$onMouseLeave(0, new R.DesignMainLoopoutComponent_render_closure0(_this)); - path_props.set$onPointerDown(new R.DesignMainLoopoutComponent_render_closure1(_this)); - path_props.set$onPointerUp(new R.DesignMainLoopoutComponent_render_closure2(_this)); - t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - path_props.set$key(0, t1.get$id(t1)); - t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - path_props.set$id(0, t1.get$id(t1)); - if (within_group) - path_props.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().idx)); - return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1(tooltip)); - }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t1 = "#" + t1.get$id(t1); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t1 = "#" + t1.get$id(t1); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); - }, - on_context_menu$1: function(ev) { + path_props.set$onMouseEnter(0, new A.DesignMainLoopoutComponent_render_closure(_this)); + path_props.set$onMouseLeave(0, new A.DesignMainLoopoutComponent_render_closure0(_this)); + path_props.set$onPointerDown(new A.DesignMainLoopoutComponent_render_closure1(_this)); + path_props.set$onPointerUp(new A.DesignMainLoopoutComponent_render_closure2(_this)); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout(); + path_props.set$key(0, t2.get$id(t2)); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout(); + path_props.set$id(0, t2.get$id(t2)); + if (within_group) { + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + path_props.set$transform(0, A.transform_of_helix2(t2, t2.get$prev_helix().idx, type$.DesignMainLoopoutProps)); + } + return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1("loopout: length " + t1)); + }, + componentDidMount$0() { + var t1 = this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$loopout(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0() { + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + var t1 = this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$loopout(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); + }, + on_context_menu$1(ev) { var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); ev.stopPropagation(); - t1 = $.app; - t2 = D._BuiltList$of(this.context_menu_loopout$0(), type$.legacy_ContextMenuItem); + t1 = $.__app._readField$0(); + t2 = A._BuiltList$of(this.context_menu_loopout$0(), type$.ContextMenuItem); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } }, - context_menu_loopout$0: function() { + context_menu_loopout$0() { var _this = this, _null = null, - t1 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$loopout_length_change(), "change loopout length", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_name(), "set loopout name", _null)], type$.JSArray_legacy_ContextMenuItem); - if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().name != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure(), "remove loopout name", _null)); - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_label(), "set loopout label", _null)); - if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().label != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure0(), "remove loopout label", _null)); - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure1(_this), "set loopout color", _null)); - if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().color != null) - t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure2(_this), "remove loopout color", _null)); - return t1; - }, - loopout_length_change$0: function() { + t1 = A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$loopout_length_change(), "change loopout length", ""), A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_name(), "set loopout name", "")], type$.JSArray_ContextMenuItem), + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$loopout().name != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainLoopoutComponent_context_menu_loopout_closure(_this), "remove loopout name", "")); + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_label(), "set loopout label", "")); + if (_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().label != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainLoopoutComponent_context_menu_loopout_closure0(_this), "remove loopout label", "")); + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainLoopoutComponent_context_menu_loopout_closure1(_this), "set loopout color", "")); + if (_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().color != null) + t1.push(A.ContextMenuItem_ContextMenuItem(false, _null, new A.DesignMainLoopoutComponent_context_menu_loopout_closure2(_this), "remove loopout color", "")); + return t1; + }, + loopout_length_change$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, t1, selected_loopouts, action, new_length; - var $async$loopout_length_change$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$loopout_length_change$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; - return P._asyncAwait($.app.disable_keyboard_shortcuts_while$1$1(new R.DesignMainLoopoutComponent_loopout_length_change_closure($async$self), type$.legacy_int), $async$loopout_length_change$0); + return A._asyncAwait($.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainLoopoutComponent_loopout_length_change_closure($async$self), type$.int), $async$loopout_length_change$0); case 3: // returning from await. new_length = $async$result; - if (new_length == null || new_length === $async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases) { + if (new_length != null) { + t1 = $async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = new_length === t1.get$loopout().loopout_num_bases; + } else + t1 = true; + if (t1) { // goto return $async$goto = 1; break; } - t1 = $.app.store; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); selected_loopouts = t1.get$state(t1).ui_state.selectables_store.get$selected_loopouts(); t1 = selected_loopouts._set; - t1 = t1.get$length(t1); - if (typeof t1 !== "number") { - $async$returnValue = t1.$gt(); - // goto return - $async$goto = 1; - break; + if (t1.get$length(t1) > 0) + action = A.LoopoutsLengthChange_LoopoutsLengthChange(selected_loopouts, new_length); + else { + t1 = $async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A.LoopoutLengthChange_LoopoutLengthChange(t1.get$loopout(), new_length); } - action = t1 > 0 ? U.LoopoutsLengthChange_LoopoutsLengthChange(selected_loopouts, new_length) : U.LoopoutLengthChange_LoopoutLengthChange($async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout(), new_length); - $.app.dispatch$1(action); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$loopout_length_change$0, $async$completer); + return A._asyncStartSync($async$loopout_length_change$0, $async$completer); }, - set_loopout_name$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_loopout_name(), type$.void); + set_loopout_name$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.get$ask_for_loopout_name(), type$.void); }, - set_loopout_label$0: function() { - return $.app.disable_keyboard_shortcuts_while$1$1(new R.DesignMainLoopoutComponent_set_loopout_label_closure(this), type$.void); + set_loopout_label$0() { + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.DesignMainLoopoutComponent_set_loopout_label_closure(this), type$.void); }, - ask_for_loopout_name$0: function() { + ask_for_loopout_name$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, results, $name, t2, items, t1; - var $async$ask_for_loopout_name$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, $name, t2, loopouts, action, items, t1; + var $async$ask_for_loopout_name$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); - t1 = $async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout().name; - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); + items = new A.FixedList(A.List_List$filled(1, null, false, type$.nullable_DialogItem), A.List_List$filled(1, false, false, type$.bool), type$.FixedList_DialogItem); + t1 = $async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$loopout().name; + items._util$_set$2(0, A.DialogText_DialogText("name", "", t1 == null ? "" : t1)); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set loopout name", C.DialogType_set_loopout_name, true)), $async$ask_for_loopout_name$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set loopout name", B.DialogType_set_loopout_name, true)), $async$ask_for_loopout_name$0); case 3: // returning from await. results = $async$result; @@ -139303,508 +141129,508 @@ $async$goto = 1; break; } - $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; - t1 = $.app; - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); - t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_ask_for_loopout_name_closure($name)), type$.legacy_UndoableAction), "set loopout names")); + $name = type$.DialogText._as(J.$index$asx(results, 0)).value; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_loopouts(); + t2 = t1.$ti; + loopouts = new A.CopyOnWriteSet(t1._setFactory, t1._set, t2._eval$1("CopyOnWriteSet<1>")); + t1 = t2._precomputed1._as($async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout()); + loopouts._copy_on_write_set$_maybeCopyBeforeWrite$0(); + loopouts._copy_on_write_set$_set.add$1(0, t1); + t1 = loopouts._copy_on_write_set$_set; + if (t1.get$isNotEmpty(t1)) { + t1 = t2._eval$1("UndoableAction(1)")._as(new A.DesignMainLoopoutComponent_ask_for_loopout_name_closure($name)); + action = A.BatchAction_BatchAction(loopouts._copy_on_write_set$_set.map$1$1(0, t1, type$.UndoableAction), "set loopout names"); + } else + action = A._$SubstrandNameSet$_($name, $async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout()); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_for_loopout_name$0, $async$completer); + return A._asyncStartSync($async$ask_for_loopout_name$0, $async$completer); } }; - R.DesignMainLoopoutComponent_render_closure.prototype = { - call$1: function(ev) { + A.DesignMainLoopoutComponent_render_closure.prototype = { + call$1(ev) { var t1, t2; - type$.legacy_SyntheticMouseEvent._as(ev); + type$.SyntheticMouseEvent._as(ev); t1 = this.$this; - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); t2.set$mouse_hover(true); t1.setState$1(0, t2); }, - $signature: 17 + $signature: 15 }; - R.DesignMainLoopoutComponent_render_closure0.prototype = { - call$1: function(_) { + A.DesignMainLoopoutComponent_render_closure0.prototype = { + call$1(_) { var t1, t2; - type$.legacy_SyntheticMouseEvent._as(_); + type$.SyntheticMouseEvent._as(_); t1 = this.$this; - t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2 = t1.typedStateFactoryJs$1(new A.JsBackedMap({})); t2.set$mouse_hover(false); t1.setState$1(0, t2); }, - $signature: 17 + $signature: 15 }; - R.DesignMainLoopoutComponent_render_closure1.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + A.DesignMainLoopoutComponent_render_closure1.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$loopout(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_loopout) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_loopout) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_loopout$_cachedTypedProps.get$loopout().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; - R.DesignMainLoopoutComponent_render_closure2.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + A.DesignMainLoopoutComponent_render_closure2.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$loopout(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_loopout) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_loopout) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_loopout$_cachedTypedProps.get$loopout().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; - R.DesignMainLoopoutComponent_context_menu_loopout_closure.prototype = { - call$0: function() { - var t1 = $.app, - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_context_menu_loopout__closure0()), type$.legacy_UndoableAction), "remove loopout names")); + A.DesignMainLoopoutComponent_context_menu_loopout_closure.prototype = { + call$0() { + var t2, t3, loopouts, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_loopouts(); + t2 = this.$this; + t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + loopouts = A.add_if_not_null(t1, t3.get$loopout(), type$.Loopout); + t1 = loopouts._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(A._instanceType(loopouts)._eval$1("UndoableAction(1)")._as(new A.DesignMainLoopoutComponent_context_menu_loopout__closure0())), t2._eval$1("EfficientLengthMappedIterable")), "remove loopout names"); + } else + action = A._$SubstrandNameSet$_(null, t2.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout()); + $.__app._readField$0().dispatch$1(action); }, - $signature: 1 + $signature: 0 }; - R.DesignMainLoopoutComponent_context_menu_loopout__closure0.prototype = { - call$1: function(l) { - return U._$SubstrandNameSet$_(null, type$.legacy_Loopout._as(l)); + A.DesignMainLoopoutComponent_context_menu_loopout__closure0.prototype = { + call$1(l) { + return A._$SubstrandNameSet$_(null, type$.Loopout._as(l)); }, - $signature: 156 + $signature: 140 }; - R.DesignMainLoopoutComponent_context_menu_loopout_closure0.prototype = { - call$0: function() { - var t1 = $.app, - t2 = t1.store; - t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); - return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_context_menu_loopout__closure()), type$.legacy_UndoableAction), "remove loopout names")); + A.DesignMainLoopoutComponent_context_menu_loopout_closure0.prototype = { + call$0() { + var t2, t3, loopouts, action, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_loopouts(); + t2 = this.$this; + t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + loopouts = A.add_if_not_null(t1, t3.get$loopout(), type$.Loopout); + t1 = loopouts._set; + if (t1.get$length(t1) > 1) { + t2 = A._instanceType(t1); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetMixin.E)")._as(A._instanceType(loopouts)._eval$1("UndoableAction(1)")._as(new A.DesignMainLoopoutComponent_context_menu_loopout__closure())), t2._eval$1("EfficientLengthMappedIterable")), "remove loopout labels"); + } else + action = A._$SubstrandLabelSet$_(null, t2.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout()); + $.__app._readField$0().dispatch$1(action); }, - $signature: 1 + $signature: 0 }; - R.DesignMainLoopoutComponent_context_menu_loopout__closure.prototype = { - call$1: function(l) { - return U._$SubstrandLabelSet$_(null, type$.legacy_Loopout._as(l)); + A.DesignMainLoopoutComponent_context_menu_loopout__closure.prototype = { + call$1(l) { + return A._$SubstrandLabelSet$_(null, type$.Loopout._as(l)); }, - $signature: 480 + $signature: 491 }; - R.DesignMainLoopoutComponent_context_menu_loopout_closure1.prototype = { - call$0: function() { - var t1 = this.$this; - return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(t1._design_main_strand_loopout$_cachedTypedProps.get$strand(), t1._design_main_strand_loopout$_cachedTypedProps.get$loopout())); + A.DesignMainLoopoutComponent_context_menu_loopout_closure1.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this, + t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorPickerShow$_(t3.get$strand(), t2.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout())); }, - $signature: 1 + $signature: 0 }; - R.DesignMainLoopoutComponent_context_menu_loopout_closure2.prototype = { - call$0: function() { - var t1 = this.$this; - return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, t1._design_main_strand_loopout$_cachedTypedProps.get$strand(), t1._design_main_strand_loopout$_cachedTypedProps.get$loopout())); + A.DesignMainLoopoutComponent_context_menu_loopout_closure2.prototype = { + call$0() { + var t1 = $.__app._readField$0(), + t2 = this.$this, + t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandOrSubstrandColorSet$_(null, t3.get$strand(), t2.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout())); }, - $signature: 1 + $signature: 0 }; - R.DesignMainLoopoutComponent_loopout_length_change_closure.prototype = { - call$0: function() { - return R.ask_for_length("change loopout length (0 to convert to crossover)", this.$this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases, C.DialogType_set_loopout_length, 0, ""); + A.DesignMainLoopoutComponent_loopout_length_change_closure.prototype = { + call$0() { + var t1 = this.$this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.ask_for_length("change loopout length (0 to convert to crossover)", t1.get$loopout().loopout_num_bases, B.DialogType_set_loopout_length, 0, ""); }, - $signature: 155 + $signature: 139 }; - R.DesignMainLoopoutComponent_set_loopout_label_closure.prototype = { - call$0: function() { + A.DesignMainLoopoutComponent_set_loopout_label_closure.prototype = { + call$0() { var t3, t1 = this.$this, - t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$strand(); - t1 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); - t3 = $.app.store; - return M.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_loopouts(), type$.legacy_Loopout); + t2 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$strand(); + t1 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + return A.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_loopouts(), type$.Loopout); }, - $signature: 6 + $signature: 5 }; - R.DesignMainLoopoutComponent_ask_for_loopout_name_closure.prototype = { - call$1: function(l) { - return U._$SubstrandNameSet$_(this.name, type$.legacy_Loopout._as(l)); + A.DesignMainLoopoutComponent_ask_for_loopout_name_closure.prototype = { + call$1(l) { + return A._$SubstrandNameSet$_(this.name, type$.Loopout._as(l)); }, - $signature: 156 + $signature: 140 }; - R.$DesignMainLoopoutComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainLoopoutComponent(null); + A.$DesignMainLoopoutComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainLoopoutComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 481 + $signature: 492 }; - R._$$DesignMainLoopoutProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainLoopoutProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainLoopoutComponentFactory() : t1; - } + }, + $isTransformByHelixGroupPropsMixin: 1 }; - R._$$DesignMainLoopoutProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainLoopoutProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_loopout$_props; } }; - R._$$DesignMainLoopoutProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainLoopoutProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_loopout$_props; } }; - R._$$DesignMainLoopoutState.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainLoopoutState.prototype = { + get$$$isClassGenerated() { return true; } }; - R._$$DesignMainLoopoutState$JsMap.prototype = { - get$state: function(_) { + A._$$DesignMainLoopoutState$JsMap.prototype = { + get$state(_) { return this._design_main_strand_loopout$_state; } }; - R._$DesignMainLoopoutComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_loopout$_cachedTypedProps; + A._$DesignMainLoopoutComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainLoopoutComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_loopout$_cachedTypedProps = R._$$DesignMainLoopoutProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainLoopoutComponent__cachedTypedProps_A = A._$$DesignMainLoopoutProps$JsMap$(A.getBackingMap(value)); }, - get$state: function(_) { - return this._design_main_strand_loopout$_cachedTypedState; + get$state(_) { + var t1 = this.___$DesignMainLoopoutComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + return t1; }, - set$state: function(_, value) { - this.state = value; - this._design_main_strand_loopout$_cachedTypedState = R._$$DesignMainLoopoutState$JsMap$(value); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$DesignMainLoopoutComponent__cachedTypedState_A = A._$$DesignMainLoopoutState$JsMap$(value); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new R._$$DesignMainLoopoutState$JsMap(new L.JsBackedMap({}), null); + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$DesignMainLoopoutState$JsMap(new A.JsBackedMap({}), $); t1.get$$$isClassGenerated(); t1._design_main_strand_loopout$_state = backingMap; return t1; }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainLoopout"; }, - get$$$defaultConsumedProps: function() { - return C.Map_zgaN4.get$values(C.Map_zgaN4); + get$$$defaultConsumedProps() { + return B.Map_e3e5Z.get$values(B.Map_e3e5Z); } }; - R.$DesignMainLoopoutPropsMixin.prototype = { - get$loopout: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.loopout"); + A.$DesignMainLoopoutProps.prototype = { + get$loopout() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.loopout"); if (t1 == null) t1 = null; - return type$.legacy_Loopout._as(t1); + return type$.Loopout._as(t1); }, - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.strand"); + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - get$prev_domain: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.prev_domain"); + get$prev_domain() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.prev_domain"); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.Domain._as(t1); }, - get$next_domain: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.next_domain"); + get$next_domain() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.next_domain"); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.Domain._as(t1); }, - get$prev_helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.prev_helix"); + get$prev_helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.prev_helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - get$next_helix: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.next_helix"); + get$next_helix() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.next_helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.helices"); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.helices"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.helices", value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.groups"); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.groups"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.groups", value); + return type$.BuiltMap_String_HelixGroup._as(t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.geometry"); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.geometry", value); - }, - get$prev_helix_svg_position_y: function() { + get$prev_helix_svg_position_y() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMLPp); - return H._asNumS(t1 == null ? null : t1); + return A._asDoubleS(t1 == null ? null : t1); }, - get$next_helix_svg_position_y: function() { + get$next_helix_svg_position_y() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMLPn); - return H._asNumS(t1 == null ? null : t1); - } - }; - R.$DesignMainLoopoutState.prototype = { - set$mouse_hover: function(value) { - this._design_main_strand_loopout$_state.jsObject["DesignMainLoopoutState.mouse_hover"] = F.DartValueWrapper_wrapIfNeeded(value); - } - }; - R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent.prototype = {}; - R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainLoopoutPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainLoopoutPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainLoopoutPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainLoopoutPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainLoopoutPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainLoopoutPropsMixin_geometry; - } - }; - R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin.prototype = {}; - R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + return A._asDoubleS(t1 == null ? null : t1); } }; - R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState.prototype = {}; - R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState.prototype = {}; - S.DesignMainStrandLoopoutTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandLoopoutTextPropsMixin_geometry; + A.$DesignMainLoopoutState.prototype = { + set$mouse_hover(value) { + var t1 = this._design_main_strand_loopout$_state; + t1.jsObject["DesignMainLoopoutState.mouse_hover"] = A.DartValueWrapper_wrapIfNeeded(value); } }; - S.DesignMainStrandLoopoutTextComponent.prototype = { - render$0: function(_) { + A._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent.prototype = {}; + A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps.prototype = {}; + A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps.prototype = {}; + A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState.prototype = {}; + A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState.prototype = {}; + A.DesignMainStrandLoopoutTextProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandLoopoutTextComponent.prototype = { + render$0(_) { var t2, t3, t4, style_map, text_path_props, _this = this, _null = null, - t1 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t1 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$geometry(t1).get$base_height_svg(); - t2 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t2 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; t2 = t2.get$geometry(t2).get$base_height_svg(); - t3 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t3 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.DesignMStLnu); - t3 = H._asIntS(t3 == null ? _null : t3); + t3 = A._asIntS(t3 == null ? _null : t3); if (typeof t3 !== "number") - return H.iae(t3); - t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; + return A.iae(t3); + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStLf); - style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", H.S(H._asIntS(t4 == null ? _null : t4)) + "px"], type$.legacy_String, type$.dynamic); + style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", A.S(A._asDoubleS(t4 == null ? _null : t4)) + "px"], type$.String, type$.dynamic); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStLc); - text_path_props.set$className(0, H._asStringS(t4 == null ? _null : t4)); - t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, string$.DesignMStLl); + text_path_props.set$className(0, A._asStringS(t4 == null ? _null : t4)); + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, "DesignMainStrandLoopoutTextProps.loopout"); if (t4 == null) t4 = _null; - type$.legacy_Loopout._as(t4); + type$.Loopout._as(t4); text_path_props.set$xlinkHref("#" + t4.get$id(t4)); text_path_props.set$startOffset(0, "50%"); - text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); + text_path_props.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(style_map)); t4 = A.SvgProps$($.$get$text(), _null); - t4.set$key(0, "loopout-text-H" + _this._design_main_strand_loopout_name$_cachedTypedProps.get$prev_domain().helix + "," + _this._design_main_strand_loopout_name$_cachedTypedProps.get$prev_domain().get$offset_3p() + "-H" + _this._design_main_strand_loopout_name$_cachedTypedProps.get$next_domain().helix + "," + _this._design_main_strand_loopout_name$_cachedTypedProps.get$next_domain().get$offset_5p()); - t4.set$dy(0, H.S(-0.1 * t1 - t2 * t3)); - t3 = _this._design_main_strand_loopout_name$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.DesignMStLt); - return t4.call$1(text_path_props.call$1(H._asStringS(t3 == null ? _null : t3))); + t4.set$key(0, "loopout-text-H" + _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$prev_domain().helix + "," + _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$prev_domain().get$offset_3p() + "-H" + _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$next_domain().helix + "," + _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$next_domain().get$offset_5p()); + t4.set$dy(0, A.S(-0.1 * t1 - t2 * t3)); + t3 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "DesignMainStrandLoopoutTextProps.text"); + return t4.call$1(text_path_props.call$1(A._asStringS(t3 == null ? _null : t3))); } }; - S.$DesignMainStrandLoopoutTextComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignMainStrandLoopoutTextComponent(null); + A.$DesignMainStrandLoopoutTextComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandLoopoutTextComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 482 + $signature: 493 }; - S._$$DesignMainStrandLoopoutTextProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandLoopoutTextProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandLoopoutTextComponentFactory() : t1; } }; - S._$$DesignMainStrandLoopoutTextProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandLoopoutTextProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_loopout_name$_props; } }; - S._$$DesignMainStrandLoopoutTextProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandLoopoutTextProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_loopout_name$_props; } }; - S._$DesignMainStrandLoopoutTextComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_loopout_name$_cachedTypedProps; + A._$DesignMainStrandLoopoutTextComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_loopout_name$_cachedTypedProps = S._$$DesignMainStrandLoopoutTextProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A = A._$$DesignMainStrandLoopoutTextProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandLoopoutText"; }, - get$$$defaultConsumedProps: function() { - return C.Map_Vyq82.get$values(C.Map_Vyq82); + get$$$defaultConsumedProps() { + return B.Map_mJkdI.get$values(B.Map_mJkdI); } }; - S.$DesignMainStrandLoopoutTextPropsMixin.prototype = { - get$geometry: function(_) { + A.$DesignMainStrandLoopoutTextProps.prototype = { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLg); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - get$prev_domain: function() { + get$prev_domain() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLp); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); + return type$.Domain._as(t1); }, - get$next_domain: function() { + get$next_domain() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLne); if (t1 == null) t1 = null; - return type$.legacy_Domain._as(t1); - } - }; - S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent.prototype = {}; - S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandLoopoutTextPropsMixin_geometry; - } - }; - S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin.prototype = {}; - X.DesignMainStrandModificationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.DesignMainStrandModificationProps_geometry; - } - }; - X.DesignMainStrandModificationComponent.prototype = { - render$0: function(_) { - var pos, ext, adj_dom, extension_attached_end_svg, display_connector, classname, t3, y_delta, y_del_small, t4, font_size, baseline, id, _this = this, _null = null, - t1 = _this._design_main_strand_modification$_cachedTypedProps.get$ext(), - t2 = _this._design_main_strand_modification$_cachedTypedProps; + return type$.Domain._as(t1); + } + }; + A._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps.prototype = {}; + A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps.prototype = {}; + A.DesignMainStrandModificationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandModificationComponent.prototype = { + render$0(_) { + var t2, pos, ext, adj_dom, extension_attached_end_svg, display_connector, classname, t3, y_delta, y_del_small, t4, font_size, baseline, id, _this = this, _null = null, + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$ext(); + t2 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; if (t1 == null) { - pos = t2.get$helix().svg_base_pos$3(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().offset, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().forward, _this._design_main_strand_modification$_cachedTypedProps.get$helix_svg_position_y()); - if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.ModificationInternal) - if (type$.legacy_ModificationInternal._as(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification()).allowed_bases == null) { - t1 = _this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_width_svg(); + pos = t2.get$helix().svg_base_pos$3(_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address().offset, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address().forward, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix_svg_position_y()); + if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A.ModificationInternal) + if (type$.ModificationInternal._as(_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification()).allowed_bases == null) { + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix().geometry.get$base_width_svg(); t2 = pos.x; if (typeof t2 !== "number") return t2.$add(); - pos = new P.Point(t2 + t1 / 2, pos.y, type$.Point_legacy_num); + pos = new A.Point(t2 + t1 / 2, pos.y, type$.Point_double); } } else { ext = t2.get$ext(); - adj_dom = _this._design_main_strand_modification$_cachedTypedProps.get$ext().adjacent_domain; - extension_attached_end_svg = E.compute_extension_attached_end_svg(ext, adj_dom, _this._design_main_strand_modification$_cachedTypedProps.get$helix(), _this._design_main_strand_modification$_cachedTypedProps.get$helix_svg_position_y()); - t1 = _this._design_main_strand_modification$_cachedTypedProps; - pos = E.compute_extension_free_end_svg(extension_attached_end_svg, ext, adj_dom, t1.get$geometry(t1)); + adj_dom = ext.adjacent_domain; + extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, adj_dom, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix(), _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix_svg_position_y()); + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPg); + if (t1 == null) + t1 = _null; + pos = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, adj_dom, type$.Geometry._as(t1)); } - t1 = _this._design_main_strand_modification$_cachedTypedProps; + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPdi); - display_connector = H._asBoolS(t1 == null ? _null : t1); - if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.Modification5Prime) + display_connector = A._asBoolS(t1 == null ? _null : t1); + if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A.Modification5Prime) classname = "modification 5'"; else - classname = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.Modification3Prime ? "modification 3'" : "modification internal"; - t1 = _this._design_main_strand_modification$_cachedTypedProps; + classname = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A.Modification3Prime ? "modification 3'" : "modification internal"; + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPse); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = _this._design_main_strand_modification$_cachedTypedProps; + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPr); - classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; + classname = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; } - if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand().is_scaffold) + if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$strand().is_scaffold) classname += " scaffold"; - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - H.boolConversionCheck(display_connector); + t1 = A._setArrayType([], type$.JSArray_ReactElement); + A.boolConversionCheck(display_connector); if (display_connector) - t1.push(_this._end_connector$3(pos, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().forward, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$connector_length())); - t2 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address(); - t3 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$connector_length(); - type$.legacy_Point_legacy_num._as(pos); - y_delta = _this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_height_svg() * 0.45; - t2 = H.boolConversionCheck(t2.forward); + t1.push(_this._end_connector$3(pos, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address().forward, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification().get$connector_length())); + t2 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address(); + t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification().get$connector_length(); + type$.Point_double._as(pos); + y_delta = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix().geometry.get$base_height_svg() * 0.45; + t2 = A.boolConversionCheck(t2.forward); y_del_small = t2 ? -y_delta : y_delta; - t4 = _this._design_main_strand_modification$_cachedTypedProps; + t4 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStMdPf); - font_size = H._asIntS(t4 == null ? _null : t4); + font_size = A._asDoubleS(t4 == null ? _null : t4); baseline = t2 ? "baseline" : "hanging"; if (!display_connector) baseline = "middle"; @@ -139822,83 +141648,98 @@ t2.set$y(0, t3); t2.set$dominantBaseline(baseline); t2.set$key(0, "mod"); - t1.push(t2.call$1(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$display_text())); - t2 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + t1.push(t2.call$1(_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification().get$display_text())); + t2 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification(); id = t2.get$id(t2); t2 = A.SvgProps$($.$get$g(), _null); - t2.set$onPointerDown(new X.DesignMainStrandModificationComponent_render_closure(_this)); - t2.set$onPointerUp(new X.DesignMainStrandModificationComponent_render_closure0(_this)); + t2.set$onPointerDown(new A.DesignMainStrandModificationComponent_render_closure(_this)); + t2.set$onPointerUp(new A.DesignMainStrandModificationComponent_render_closure0(_this)); t2.set$className(0, classname); t2.set$id(0, id); - t3 = _this._design_main_strand_modification$_cachedTypedProps; + t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.DesignMStMdPt); - t2.set$transform(0, H._asStringS(t3 == null ? _null : t3)); + t2.set$transform(0, A._asStringS(t3 == null ? _null : t3)); return t2.call$1(t1); }, - componentDidMount$0: function() { - var t1 = this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); - t1 = "#" + t1.get$id(t1); - J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + componentDidMount$0() { + var t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$selectable_modification(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); }, - componentWillUnmount$0: function() { - var t1 = this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); - t1 = "#" + t1.get$id(t1); - J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + componentWillUnmount$0() { + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + var t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$selectable_modification(); + t1 = t1.get$id(t1); + t1 = document.querySelector("#" + t1); + t1.toString; + J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); }, - on_context_menu$1: function(ev) { + on_context_menu$1(ev) { var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); ev.stopPropagation(); - t1 = $.app; - t2 = D._BuiltList$of(this.context_menu_modification$1(this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand()), type$.legacy_ContextMenuItem); + t1 = $.__app._readField$0(); + t2 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = A._BuiltList$of(this.context_menu_modification$1(t2.get$selectable_modification().get$strand()), type$.ContextMenuItem); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); - } - }, - context_menu_modification$1: function(strand) { - var _null = null; - return H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, this.get$remove_modification(), "remove modification", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new X.DesignMainStrandModificationComponent_context_menu_modification_closure(this), "edit modification", _null)], type$.JSArray_legacy_ContextMenuItem); - }, - remove_modification$0: function() { - var action, _this = this, - t1 = $.app.store, - selectable_mods = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set.toList$1$growable(0, true); - if (!C.JSArray_methods.contains$1(selectable_mods, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification())) - C.JSArray_methods.add$1(selectable_mods, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification()); + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); + } + }, + context_menu_modification$1(strand) { + return A._setArrayType([A.ContextMenuItem_ContextMenuItem(false, null, this.get$remove_modification(), "remove modification", ""), A.ContextMenuItem_ContextMenuItem(false, null, new A.DesignMainStrandModificationComponent_context_menu_modification_closure(this), "edit modification", "")], type$.JSArray_ContextMenuItem); + }, + remove_modification$0() { + var selectable_mods, action, _this = this, + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set; + selectable_mods = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (!B.JSArray_methods.contains$1(selectable_mods, t1.get$selectable_modification())) + B.JSArray_methods.add$1(selectable_mods, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification()); t1 = selectable_mods.length; if (t1 === 1) { - t1 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand(); - action = U._$ModificationRemove$_(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification(), t1, _this._design_main_strand_modification$_cachedTypedProps.get$dna_idx_mod()); + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$strand(); + action = A._$ModificationRemove$_(_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification(), t1, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$dna_idx_mod()); } else if (t1 > 1) - action = U.DeleteAllSelected_DeleteAllSelected(); + action = A.DeleteAllSelected_DeleteAllSelected(); else { - P.print(string$.WARNINs); + A.print(string$.WARNINs); return; } - $.app.dispatch$1(action); - }, - _end_connector$3: function(pos, $forward, connector_length) { - var y_delta, y_del_small, x, points, t1, t2, t3, i, t4, points_str; - type$.legacy_Point_legacy_num._as(pos); - y_delta = this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_height_svg() * 0.45; - y_del_small = H.boolConversionCheck($forward) ? -y_delta : y_delta; - x = -(this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_width_svg() / 3); - points = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + $.__app._readField$0().dispatch$1(action); + }, + _end_connector$3(pos, $forward, connector_length) { + var t1, y_delta, y_del_small, x, points, t2, t3, i, t4, points_str; + type$.Point_double._as(pos); + t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + y_delta = t1.get$helix().geometry.get$base_height_svg() * 0.45; + y_del_small = A.boolConversionCheck($forward) ? -y_delta : y_delta; + x = -(this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix().geometry.get$base_width_svg() / 3); + points = A._setArrayType([], type$.JSArray_String); for (t1 = connector_length + 1, t2 = pos.y, t3 = pos.x, i = 0; i < t1; ++i) { - t4 = C.JSInt_methods.$mod(i, 2) === 1 ? x : 0; + t4 = B.JSInt_methods.$mod(i, 2) === 1 ? x : 0; if (typeof t3 !== "number") return t3.$add(); - t4 = H.S(t3 + t4) + ","; if (typeof t2 !== "number") return t2.$add(); - C.JSArray_methods.add$1(points, t4 + H.S(t2 + i * y_del_small) + " "); + B.JSArray_methods.add$1(points, A.S(t3 + t4) + "," + A.S(t2 + i * y_del_small) + " "); } - points_str = C.JSArray_methods.join$1(points, ""); + points_str = B.JSArray_methods.join$1(points, ""); t1 = A.SvgProps$($.$get$polyline(), null); t1.set$fill(0, "none"); t1.set$stroke(0, "black"); @@ -139908,307 +141749,316 @@ return t1.call$0(); } }; - X.DesignMainStrandModificationComponent_render_closure.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + A.DesignMainStrandModificationComponent_render_closure.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_modification(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_modification) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_modification) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; - X.DesignMainStrandModificationComponent_render_closure0.prototype = { - call$1: function(ev) { - var t1, t2, t3; - type$.legacy_SyntheticPointerEvent._as(ev); + A.DesignMainStrandModificationComponent_render_closure0.prototype = { + call$1(ev) { + var t1, t2, t3, _s5_ = "store"; + type$.SyntheticPointerEvent._as(ev); t1 = this.$this; - t2 = t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); - t3 = $.app.store; - if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + t2 = t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$selectable_modification(); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t3 = true; if (t3) { - t3 = $.app.store; - t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_modification) && E.origami_type_selectable(t2); + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI(_s5_); + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_modification) && A.origami_type_selectable(t2); } else t2 = false; if (t2) - t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 18 + $signature: 17 }; - X.DesignMainStrandModificationComponent_context_menu_modification_closure.prototype = { - call$0: function() { - var t1 = this.$this; - return X.edit_modification(t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification(), t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(), t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand(), t1._design_main_strand_modification$_cachedTypedProps.get$dna_idx_mod()); + A.DesignMainStrandModificationComponent_context_menu_modification_closure.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return A.edit_modification(t2.get$selectable_modification().get$modification(), t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification(), t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$strand(), t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$dna_idx_mod()); }, - $signature: 1 + $signature: 0 }; - X.edit_modification_closure.prototype = { - call$1: function(mod) { - return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModification5Prime; + A.edit_modification_closure.prototype = { + call$1(mod) { + return type$.SelectableModification._as(mod) instanceof A.SelectableModification5Prime; }, - $signature: 101 + $signature: 102 }; - X.edit_modification_closure0.prototype = { - call$1: function(mod) { - return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModification3Prime; + A.edit_modification_closure0.prototype = { + call$1(mod) { + return type$.SelectableModification._as(mod) instanceof A.SelectableModification3Prime; }, - $signature: 101 + $signature: 102 }; - X.edit_modification_closure1.prototype = { - call$1: function(mod) { - return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModificationInternal; + A.edit_modification_closure1.prototype = { + call$1(mod) { + return type$.SelectableModification._as(mod) instanceof A.SelectableModificationInternal; }, - $signature: 101 + $signature: 102 }; - X.$DesignMainStrandModificationComponentFactory_closure.prototype = { - call$0: function() { - return new X._$DesignMainStrandModificationComponent(null); + A.$DesignMainStrandModificationComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandModificationComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 484 + $signature: 495 }; - X._$$DesignMainStrandModificationProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandModificationProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandModificationComponentFactory() : t1; } }; - X._$$DesignMainStrandModificationProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandModificationProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_modification$_props; } }; - X._$$DesignMainStrandModificationProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandModificationProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_modification$_props; } }; - X._$DesignMainStrandModificationComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_modification$_cachedTypedProps; + A._$DesignMainStrandModificationComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_modification$_cachedTypedProps = X._$$DesignMainStrandModificationProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandModificationComponent__cachedTypedProps_A = A._$$DesignMainStrandModificationProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandModification"; }, - get$$$defaultConsumedProps: function() { - return C.Map_l5Ymk.get$values(C.Map_l5Ymk); + get$$$defaultConsumedProps() { + return B.Map_l5Opy.get$values(B.Map_l5Opy); } }; - X.$DesignMainStrandModificationProps.prototype = { - get$dna_idx_mod: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPdn); - return H._asIntS(t1 == null ? null : t1); + A.$DesignMainStrandModificationProps.prototype = { + get$selectable_modification() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPsa); + if (t1 == null) + t1 = null; + return type$.SelectableModification._as(t1); + }, + set$selectable_modification(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPsa, value); }, - get$helix: function() { + get$helix() { var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandModificationProps.helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - set$helix: function(value) { + set$helix(value) { J.$indexSet$ax(this.get$props(this), "DesignMainStrandModificationProps.helix", value); }, - set$display_connector: function(value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPdi, value); - }, - set$font_size: function(value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPf, value); - }, - set$transform: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPt, value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPg); + get$ext() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandModificationProps.ext"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.nullable_Extension._as(t1); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPg, value); + set$ext(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandModificationProps.ext", value); }, - get$selectable_modification: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPsa); - if (t1 == null) - t1 = null; - return type$.legacy_SelectableModification._as(t1); + set$transform(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPt, value); }, - set$selectable_modification: function(value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPsa, value); + set$font_size(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPf, value); + }, + set$display_connector(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPdi, value); }, - set$selected: function(_, value) { + set$selected(_, value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPse, value); }, - get$helix_svg_position_y: function() { + set$geometry(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPg, value); + }, + get$helix_svg_position_y() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPh); - return H._asNumS(t1 == null ? null : t1); + return A._asDoubleS(t1 == null ? null : t1); }, - set$helix_svg_position_y: function(value) { + set$helix_svg_position_y(value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPh, value); }, - get$ext: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandModificationProps.ext"); - if (t1 == null) - t1 = null; - return type$.legacy_Extension._as(t1); - }, - set$ext: function(value) { - J.$indexSet$ax(this.get$props(this), "DesignMainStrandModificationProps.ext", value); - }, - set$retain_strand_color_on_selection: function(value) { + set$retain_strand_color_on_selection(value) { J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPr, value); + }, + get$dna_idx_mod() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPdn); + return A._asIntQ(t1 == null ? null : t1); } }; - X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps.prototype = { - get$geometry: function(receiver) { - return this.DesignMainStrandModificationProps_geometry; - } - }; - X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps.prototype = {}; - R.DesignMainStrandModificationsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandModificationsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandModificationsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandModificationsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps.prototype = {}; + A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps.prototype = {}; + A.DesignMainStrandModificationsProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandModificationsPropsMixin_helices; + get$groups() { + var t1 = this.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - get$groups: function() { - return this.DesignMainStrandModificationsPropsMixin_groups; + get$geometry(_) { + var t1 = this.DesignMainStrandModificationsProps___DesignMainStrandModificationsProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainStrandModificationsPropsMixin_geometry; - } - }; - R.DesignMainStrandModificationsComponent.prototype = { - render$0: function(_) { - var domain, t1, t2, helix_5p, t3, selected, ext, t4, helix_3p, t5, t6, t7, t8, t9, dna_index_5p_end_of_ss_with_mod, ss_with_mod, t10, helix, t11, selectable_mod_int, t12, _this = this, _null = null, - _s46_ = string$.DesignMStMdsst, - modifications = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - if (_this._design_main_strand_modifications$_cachedTypedProps.get$strand().modification_5p != null) { - domain = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$first_domain(); - if (H.boolConversionCheck(_this._design_main_strand_modifications$_cachedTypedProps.get$only_display_selected_helices())) { - t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$side_selected_helix_idxs(); - t2 = domain.helix; - t2 = t1._set.contains$1(0, t2); - t1 = t2; + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandModificationsComponent.prototype = { + render$0(_) { + var domain, t2, t3, t4, selected, ext, t5, t6, t7, t8, t9, dna_index_5p_end_of_ss_with_mod, ss_with_mod, t10, t11, t12, t13, t14, t15, t16, translate_svg, _this = this, _null = null, + _s41_ = string$.DesignMStMdsst, + modifications = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$strand().modification_5p != null) { + domain = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$first_domain(); + if (A.boolConversionCheck(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$only_display_selected_helices())) { + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$side_selected_helix_idxs(); + t1.toString; + t1 = t1._set.contains$1(0, domain.helix); } else t1 = true; if (t1) { - t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$helices(); - t2 = domain.helix; - helix_5p = J.$index$asx(t1._map$_map, t2); - t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$selected_modifications_in_strand(); - t3 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_5p(); - selected = t1._set.contains$1(0, t3); - ext = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$has_5p_extension() ? type$.legacy_Extension._as(J.get$first$ax(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().substrands._list)) : _null; - t1 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); - t1.set$selectable_modification(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_5p()); - t1.set$helix(helix_5p); - t3 = J.getInterceptor$x(t1); - t3.set$transform(t1, _this.transform_of_helix$1(t2)); - t1.set$font_size(_this._design_main_strand_modifications$_cachedTypedProps.get$font_size()); - t1.set$display_connector(_this._design_main_strand_modifications$_cachedTypedProps.get$display_connector()); - t3.set$selected(t1, selected); - t2 = _this._design_main_strand_modifications$_cachedTypedProps.get$helix_idx_to_svg_position_y_map(); - t4 = helix_5p.idx; - t1.set$helix_svg_position_y(J.$index$asx(t2._map$_map, t4)); - t1.set$ext(ext); - t4 = _this._design_main_strand_modifications$_cachedTypedProps; - t3.set$geometry(t1, t4.get$geometry(t4)); - t1.set$retain_strand_color_on_selection(_this._design_main_strand_modifications$_cachedTypedProps.get$retain_strand_color_on_selection()); - t3.set$key(t1, "5'"); - C.JSArray_methods.add$1(modifications, t1.call$0()); - } - } - if (_this._design_main_strand_modifications$_cachedTypedProps.get$strand().modification_3p != null) { - domain = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$last_domain(); - if (H.boolConversionCheck(_this._design_main_strand_modifications$_cachedTypedProps.get$only_display_selected_helices())) { - t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$side_selected_helix_idxs(); + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$helices(); t2 = domain.helix; - t2 = t1._set.contains$1(0, t2); - t1 = t2; + t1 = t1._map$_map.$index(0, t2); + t1.toString; + t3 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$selected_modifications_in_strand(); + t4 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modification_5p(); + selected = t3._set.contains$1(0, t4); + ext = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$has_5p_extension() ? type$.Extension._as(B.JSArray_methods.get$first(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().substrands._list)) : _null; + t3 = A.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t4 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modification_5p(); + t4.toString; + t3.set$selectable_modification(t4); + t3.set$helix(t1); + t3.set$ext(ext); + t4 = J.getInterceptor$x(t3); + t4.set$transform(t3, A.transform_of_helix2(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A, t2, type$.DesignMainStrandModificationsProps)); + t3.set$font_size(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$font_size()); + t3.set$display_connector(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$display_connector()); + t4.set$selected(t3, selected); + t2 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t4.set$geometry(t3, t2.get$geometry(t2)); + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t1.idx); + t1.toString; + t3.set$helix_svg_position_y(t1); + t3.set$retain_strand_color_on_selection(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$retain_strand_color_on_selection()); + t4.set$key(t3, "5'"); + B.JSArray_methods.add$1(modifications, t3.call$0()); + } + } + if (_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().modification_3p != null) { + domain = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$last_domain(); + if (A.boolConversionCheck(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$only_display_selected_helices())) { + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$side_selected_helix_idxs(); + t1.toString; + t1 = t1._set.contains$1(0, domain.helix); } else t1 = true; if (t1) { - t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$helices(); + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$helices(); t2 = domain.helix; - helix_3p = J.$index$asx(t1._map$_map, t2); - ext = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$has_3p_extension() ? type$.legacy_Extension._as(J.get$last$ax(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().substrands._list)) : _null; - t1 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); - t1.set$selectable_modification(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_3p()); - t1.set$helix(helix_3p); - t3 = J.getInterceptor$x(t1); - t3.set$transform(t1, _this.transform_of_helix$1(t2)); - t1.set$font_size(_this._design_main_strand_modifications$_cachedTypedProps.get$font_size()); - t1.set$display_connector(_this._design_main_strand_modifications$_cachedTypedProps.get$display_connector()); - t2 = _this._design_main_strand_modifications$_cachedTypedProps.get$selected_modifications_in_strand(); - t4 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_3p(); - t3.set$selected(t1, t2._set.contains$1(0, t4)); - t4 = _this._design_main_strand_modifications$_cachedTypedProps.get$helix_idx_to_svg_position_y_map(); - t2 = helix_3p.idx; - t1.set$helix_svg_position_y(J.$index$asx(t4._map$_map, t2)); - t1.set$ext(ext); - t2 = _this._design_main_strand_modifications$_cachedTypedProps; - t3.set$geometry(t1, t2.get$geometry(t2)); - t1.set$retain_strand_color_on_selection(_this._design_main_strand_modifications$_cachedTypedProps.get$retain_strand_color_on_selection()); - t3.set$key(t1, "3'"); - C.JSArray_methods.add$1(modifications, t1.call$0()); - } - } - _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modifications_int_by_dna_idx(); - for (t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modifications_int_by_dna_idx(), t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.legacy_Strand, t3 = type$.legacy_BuiltSet_legacy_int, t4 = type$.legacy_Geometry, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.legacy_BuiltSet_legacy_SelectableModification, t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; t1.moveNext$0();) { - t8 = t1.get$current(t1); - t9 = _this._design_main_strand_modifications$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, _s46_); - t9 = J.get$iterator$ax(t2._as(t9 == null ? _null : t9).substrands._list); + t1 = t1._map$_map.$index(0, t2); + t1.toString; + ext = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$has_3p_extension() ? type$.Extension._as(B.JSArray_methods.get$last(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().substrands._list)) : _null; + t3 = A.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t4 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modification_3p(); + t4.toString; + t3.set$selectable_modification(t4); + t3.set$helix(t1); + t3.set$ext(ext); + t4 = J.getInterceptor$x(t3); + t4.set$transform(t3, A.transform_of_helix2(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A, t2, type$.DesignMainStrandModificationsProps)); + t3.set$font_size(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$font_size()); + t3.set$display_connector(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$display_connector()); + t2 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$selected_modifications_in_strand(); + t5 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modification_3p(); + t4.set$selected(t3, t2._set.contains$1(0, t5)); + t5 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t4.set$geometry(t3, t5.get$geometry(t5)); + t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t1.idx); + t1.toString; + t3.set$helix_svg_position_y(t1); + t3.set$retain_strand_color_on_selection(_this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$retain_strand_color_on_selection()); + t4.set$key(t3, "3'"); + B.JSArray_methods.add$1(modifications, t3.call$0()); + } + } + for (t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modifications_int_by_dna_idx(), t1 = t1.get$keys(t1), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = type$.Strand, t3 = type$.nullable_BuiltSet_int, t4 = type$.BuiltMap_int_double, t5 = type$.Geometry, t6 = type$.BuiltSet_SelectableModification, t7 = type$.BuiltMap_int_Helix; t1.moveNext$0();) { + t8 = t1.__js_helper$_current; + t9 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, _s41_); + t9 = t2._as(t9 == null ? _null : t9).substrands._list; + t9 = new J.ArrayIterator(t9, t9.length, A._arrayInstanceType(t9)._eval$1("ArrayIterator<1>")); dna_index_5p_end_of_ss_with_mod = 0; while (true) { if (!t9.moveNext$0()) { ss_with_mod = _null; break; } - ss_with_mod = t9.get$current(t9); + ss_with_mod = t9.__interceptors$_current; dna_index_5p_end_of_ss_with_mod += ss_with_mod.dna_length$0(); if (typeof t8 !== "number") - return H.iae(t8); + return A.iae(t8); if (dna_index_5p_end_of_ss_with_mod > t8) break; } - if (ss_with_mod instanceof G.Domain) { - t9 = _this._design_main_strand_modifications$_cachedTypedProps; + if (ss_with_mod instanceof A.Domain) { + t9 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; t9 = t9.get$props(t9).$index(0, string$.DesignMStMdso); - if (H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9))) { - t9 = _this._design_main_strand_modifications$_cachedTypedProps; + if (A.boolConversionCheck(A._asBoolS(t9 == null ? _null : t9))) { + t9 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; t9 = t9.get$props(t9).$index(0, string$.DesignMStMdssi); t9 = t3._as(t9 == null ? _null : t9); t10 = ss_with_mod.helix; @@ -140217,65 +142067,75 @@ } else t9 = true; if (t9) { - t9 = _this._design_main_strand_modifications$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, "TransformByHelixGroupPropsMixin.helices"); + t9 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStMdshc); t9 = t7._as(t9 == null ? _null : t9); t10 = ss_with_mod.helix; - helix = J.$index$asx(t9._map$_map, t10); - t9 = _this._design_main_strand_modifications$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, _s46_); - t9 = t2._as(t9 == null ? _null : t9); - t11 = t9.__selectable_modifications_int_by_dna_idx; - if (t11 == null) { - t11 = E.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(t9); - t9.set$__selectable_modifications_int_by_dna_idx(t11); - t9 = t11; - } else - t9 = t11; - selectable_mod_int = J.$index$asx(t9._map$_map, t8); - t9 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t9 = t9._map$_map.$index(0, t10); t9.toString; - t11 = J.getInterceptor$x(t9); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPsa, selectable_mod_int); - J.$indexSet$ax(t11.get$props(t9), "DesignMainStrandModificationProps.helix", helix); - t10 = _this.transform_of_helix$1(t10); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPt, t10); - t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s41_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = t11.__selectable_modifications_int_by_dna_idx; + if (t12 == null) { + t12 = A.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(t11); + t11.set$__selectable_modifications_int_by_dna_idx(t12); + t11 = t12; + } else + t11 = t12; + t11 = t11._map$_map.$index(0, t8); + t11.toString; + t12 = A.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t12.toString; + t13 = J.getInterceptor$x(t12); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPsa, t11); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandModificationProps.helix", t9); + t14 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t10 = t14.get$helices()._map$_map.$index(0, t10); + t10.toString; + t10 = t14.get$groups()._map$_map.$index(0, t10.group); + t10.toString; + t14 = t14.get$geometry(t14); + t15 = t10.position; + t16 = t14.__nm_to_svg_pixels; + t14 = t16 == null ? t14.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t14) : t16; + translate_svg = A.Position3D_Position3D(t15.x * t14, t15.y * t14, t15.z * t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPt, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t10.pitch) + ")"); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsf); - t10 = H._asIntS(t10 == null ? _null : t10); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPf, t10); - t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPf, t10); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsd); - t10 = H._asBoolS(t10 == null ? _null : t10); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPdi, t10); - t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = A._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPdi, t10); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsse); - t10 = t6._as(t10 == null ? _null : t10)._set.contains$1(0, selectable_mod_int); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPse, t10); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPdn, t8); - t10 = _this._design_main_strand_modifications$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdshx); + t10 = t6._as(t10 == null ? _null : t10)._set.contains$1(0, t11); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPse, t10); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsge); t10 = t5._as(t10 == null ? _null : t10); - t12 = helix.idx; - t12 = H._asNumS(J.$index$asx(t10._map$_map, t12)); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPh, t12); - t12 = _this._design_main_strand_modifications$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.geometry"); - t10 = t4._as(t12 == null ? _null : t12); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPg, t10); - t10 = _this._design_main_strand_modifications$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsr); - t10 = H._asBoolS(t10 == null ? _null : t10); - J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPr, t10); - t8 = "internal-" + H.S(t8); - t11 = t11.get$props(t9); - J.$indexSet$ax(t11, "key", t8); - C.JSArray_methods.add$1(modifications, t9.call$0()); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPg, t10); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdshx); + t9 = t4._as(t10 == null ? _null : t10)._map$_map.$index(0, t9.idx); + t9.toString; + A._asDoubleS(t9); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPh, t9); + t9 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, string$.DesignMStMdsr); + t9 = A._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPr, t9); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStMdPdn, t8); + t13 = t13.get$props(t12); + J.$indexSet$ax(t13, "key", "internal-" + A.S(t8)); + B.JSArray_methods.add$1(modifications, t12.call$0()); } - } else if (ss_with_mod instanceof G.Loopout) - throw H.wrapException(N.IllegalDesignError$("currently unsupported to draw internal modification on Loopout")); - else if (ss_with_mod instanceof S.Extension) - throw H.wrapException(N.IllegalDesignError$("currently unsupported to draw internal modification on Extension")); + } else if (ss_with_mod instanceof A.Loopout) + throw A.wrapException(A.IllegalDesignError$("currently unsupported to draw internal modification on Loopout")); + else if (ss_with_mod instanceof A.Extension) + throw A.wrapException(A.IllegalDesignError$("currently unsupported to draw internal modification on Extension")); } if (modifications.length === 0) t1 = _null; @@ -140287,208 +142147,160 @@ return t1; } }; - R.$DesignMainStrandModificationsComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainStrandModificationsComponent(null); + A.$DesignMainStrandModificationsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandModificationsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 485 + $signature: 496 }; - R._$$DesignMainStrandModificationsProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandModificationsProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandModificationsComponentFactory() : t1; - } + }, + $isTransformByHelixGroupPropsMixin: 1 }; - R._$$DesignMainStrandModificationsProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandModificationsProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_modifications$_props; } }; - R._$$DesignMainStrandModificationsProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandModificationsProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_modifications$_props; } }; - R._$DesignMainStrandModificationsComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_modifications$_cachedTypedProps; + A._$DesignMainStrandModificationsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_modifications$_cachedTypedProps = R._$$DesignMainStrandModificationsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A = A._$$DesignMainStrandModificationsProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandModifications"; }, - get$$$defaultConsumedProps: function() { - return C.Map_M6Tnb.get$values(C.Map_M6Tnb); + get$$$defaultConsumedProps() { + return B.Map_3Va8y.get$values(B.Map_3Va8y); } }; - R.$DesignMainStrandModificationsPropsMixin.prototype = { - get$strand: function() { + A.$DesignMainStrandModificationsProps.prototype = { + get$strand() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsst); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - get$helices: function() { + get$helices() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdshc); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdshc, value); - }, - get$groups: function() { + get$groups() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsgr); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdsgr, value); + return type$.BuiltMap_String_HelixGroup._as(t1); }, - get$geometry: function(_) { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsge); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMdsge, value); - }, - get$side_selected_helix_idxs: function() { + get$side_selected_helix_idxs() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdssi); if (t1 == null) t1 = null; - return type$.legacy_BuiltSet_legacy_int._as(t1); + return type$.nullable_BuiltSet_int._as(t1); }, - get$only_display_selected_helices: function() { + get$only_display_selected_helices() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdso); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_connector: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsd); - return H._asBoolS(t1 == null ? null : t1); - }, - get$font_size: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsf); - return H._asIntS(t1 == null ? null : t1); + return A._asBoolS(t1 == null ? null : t1); }, - get$selected_modifications_in_strand: function() { + get$selected_modifications_in_strand() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsse); if (t1 == null) t1 = null; - return type$.legacy_BuiltSet_legacy_SelectableModification._as(t1); + return type$.BuiltSet_SelectableModification._as(t1); + }, + get$font_size() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsf); + return A._asDoubleS(t1 == null ? null : t1); + }, + get$display_connector() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsd); + return A._asBoolS(t1 == null ? null : t1); }, - get$helix_idx_to_svg_position_y_map: function() { + get$helix_idx_to_svg_position_y_map() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdshx); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(t1); + return type$.BuiltMap_int_double._as(t1); }, - get$retain_strand_color_on_selection: function() { + get$retain_strand_color_on_selection() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsr); - return H._asBoolS(t1 == null ? null : t1); - } - }; - R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent.prototype = {}; - R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandModificationsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandModificationsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandModificationsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainStrandModificationsPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainStrandModificationsPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandModificationsPropsMixin_geometry; - } - }; - R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin.prototype = {}; - R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + return A._asBoolS(t1 == null ? null : t1); } }; - R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - T.DesignMainStrandMovingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + A._DesignMainStrandModificationsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps.prototype = {}; + A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps.prototype = {}; + A.DesignMainStrandMovingProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandMovingProps___DesignMainStrandMovingProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandMovingPropsMixin_helices; + get$groups() { + var t1 = this.DesignMainStrandMovingProps___DesignMainStrandMovingProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - get$groups: function() { - return this.DesignMainStrandMovingPropsMixin_groups; + get$geometry(_) { + var t1 = this.DesignMainStrandMovingProps___DesignMainStrandMovingProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainStrandMovingPropsMixin_geometry; - } - }; - T.DesignMainStrandMovingComponent.prototype = { - render$0: function(_) { - var t1, t2, t3, t4, t5, t6, strand_moved, first_domain_moved, last_domain_moved, end_5p_moved, end_3p_moved, first_helix_moved, last_helix_moved, t7, t8, _this = this, _null = null; - if (J.get$length$asx(_this._design_main_strand_moving$_cachedTypedProps.get$strand().substrands._list) === 0) + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 + }; + A.DesignMainStrandMovingComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, t6, strand_moved, first_domain_moved, last_domain_moved, end_5p_moved, end_3p_moved, first_helix_moved, last_helix_moved, t7, t8, _this = this, _null = null, + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$strand().substrands._list.length === 0) return _null; - t1 = _this._design_main_strand_moving$_cachedTypedProps.get$strand(); - t2 = _this._design_main_strand_moving$_cachedTypedProps; + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand(); + t2 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; t2 = t2.get$props(t2).$index(0, string$.DesignMStMvo); if (t2 == null) t2 = _null; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(t2); - t3 = _this._design_main_strand_moving$_cachedTypedProps; + type$.BuiltMap_int_int._as(t2); + t3 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.DesignMStMvc); if (t3 == null) t3 = _null; - type$.legacy_HelixGroup._as(t3); - t4 = _this._design_main_strand_moving$_cachedTypedProps; + type$.HelixGroup._as(t3); + t4 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, string$.DesignMStMvdv); - t4 = H._asIntS(t4 == null ? _null : t4); - t5 = _this._design_main_strand_moving$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, string$.DesignMStMvdo); - t5 = H._asIntS(t5 == null ? _null : t5); - t6 = _this._design_main_strand_moving$_cachedTypedProps; + t4 = A._asIntS(t4 == null ? _null : t4); + t5 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, "DesignMainStrandMovingProps.delta_offset"); + t5 = A._asIntS(t5 == null ? _null : t5); + t6 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; t6 = t6.get$props(t6).$index(0, string$.DesignMStMvdf); - strand_moved = E.move_strand(t3, H._asBoolS(t6 == null ? _null : t6), t5, t4, t2, t1); + strand_moved = A.move_strand(t3, A._asBoolS(t6 == null ? _null : t6), t5, t4, t2, t1); if (strand_moved == null) return _null; first_domain_moved = strand_moved.get$first_domain(); @@ -140497,1822 +142309,1514 @@ end_5p_moved = t1 ? first_domain_moved.get$dnaend_start() : first_domain_moved.get$dnaend_end(); t2 = last_domain_moved.forward; end_3p_moved = t2 ? last_domain_moved.get$dnaend_end() : last_domain_moved.get$dnaend_start(); - t3 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(); + t3 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helices(); t4 = first_domain_moved.helix; - first_helix_moved = J.$index$asx(t3._map$_map, t4); - t3 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(); + first_helix_moved = t3._map$_map.$index(0, t4); + t3 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helices(); t5 = last_domain_moved.helix; - last_helix_moved = J.$index$asx(t3._map$_map, t5); + last_helix_moved = t3._map$_map.$index(0, t5); if (first_helix_moved == null || last_helix_moved == null) return _null; if (_this._draw_strand_lines_single_path$1(strand_moved) == null) return _null; t3 = A.SvgProps$($.$get$g(), _null); t3.set$className(0, "strand-moving"); - t3.set$transform(0, _this.transform_of_helix$1(t4)); - t4 = H.setRuntimeTypeInfo([_this._draw_strand_lines_single_path$1(strand_moved)], type$.JSArray_legacy_ReactElement); + t3.set$transform(0, A.transform_of_helix2(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A, t4, type$.DesignMainStrandMovingProps)); + t4 = A._setArrayType([_this._draw_strand_lines_single_path$1(strand_moved)], type$.JSArray_nullable_ReactElement); t5 = !strand_moved.circular; if (t5) { - t6 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t6 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); t6.set$helix(first_helix_moved); t6.set$dna_end(end_5p_moved); t7 = J.getInterceptor$z(t6); - t7.set$color(t6, _this._design_main_strand_moving$_cachedTypedProps.get$strand().color); + t7.set$color(t6, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand().color); t7.set$forward(t6, t1); t6.set$is_5p(true); - t6.set$allowable(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()); - t1 = end_5p_moved.offset; - if (!end_5p_moved.is_start) { - if (typeof t1 !== "number") - return t1.$sub(); - --t1; - } - t6.set$current_offset(t1); - t1 = _this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t6.set$allowable(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$allowable()); + t6.set$current_offset(end_5p_moved.get$offset_inclusive()); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map(); t8 = first_helix_moved.idx; - t6.set$svg_position_y(J.$index$asx(t1._map$_map, t8).y); + t6.set$svg_position_y(t1._map$_map.$index(0, t8).y); t7.set$key(t6, "end-5p"); t4.push(t6.call$0()); } if (t5) { - t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t1 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); t1.set$helix(last_helix_moved); t1.set$dna_end(end_3p_moved); t5 = J.getInterceptor$z(t1); - t5.set$color(t1, _this._design_main_strand_moving$_cachedTypedProps.get$strand().color); + t5.set$color(t1, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand().color); t5.set$forward(t1, t2); t1.set$is_5p(false); - t1.set$allowable(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()); - t2 = end_3p_moved.offset; - if (!end_3p_moved.is_start) { - if (typeof t2 !== "number") - return t2.$sub(); - --t2; - } - t1.set$current_offset(t2); - t2 = _this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t1.set$allowable(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$allowable()); + t1.set$current_offset(end_3p_moved.get$offset_inclusive()); + t2 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map(); t6 = last_helix_moved.idx; - t1.set$svg_position_y(J.$index$asx(t2._map$_map, t6).y); + t1.set$svg_position_y(t2._map$_map.$index(0, t6).y); t5.set$key(t1, "end-3p"); t4.push(t1.call$0()); } return t3.call$1(t4); }, - _draw_strand_lines_single_path$1: function(strand_moved) { - var t3, t4, t5, t6, t7, i, t8, substrand, t9, end_svg, idx_next, domain, t10, t11, control, prev_domain, next_domain, prev_helix, next_helix, prev_helix_svg_position_y, classname, _this = this, _null = null, - _s62_ = string$.DesignMStMvh, - _s39_ = "TransformByHelixGroupPropsMixin.helices", - domain_first = J.get$first$ax(strand_moved.get$domains()._list), - t1 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(), - t2 = domain_first.helix, - helix = J.$index$asx(t1._map$_map, t2), - helix_svg_position_y = J.$index$asx(_this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map()._map$_map, t2).y, - start_svg = helix.svg_base_pos$3(domain_first.get$offset_5p(), domain_first.forward, helix_svg_position_y), - path_cmds = H.setRuntimeTypeInfo(["M " + H.S(start_svg.x) + " " + H.S(start_svg.y)], type$.JSArray_legacy_String); - t1 = strand_moved.substrands._list; - t2 = J.getInterceptor$asx(t1); - t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; - t5 = type$.legacy_Domain; - t6 = strand_moved.circular; - t7 = type$.legacy_Geometry; - i = 0; - while (true) { - t8 = t2.get$length(t1); - if (typeof t8 !== "number") - return H.iae(t8); - if (!(i < t8)) - break; - substrand = t2.$index(t1, i); - if (substrand instanceof G.Domain) { - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s62_); - t8 = t4._as(t8 == null ? _null : t8); - t9 = helix.idx; - helix_svg_position_y = J.$index$asx(t8._map$_map, t9).y; - t9 = substrand.__offset_3p; - t8 = t9 == null ? substrand.__offset_3p = G.Domain.prototype.get$offset_3p.call(substrand) : t9; - end_svg = helix.svg_base_pos$3(t8, substrand.forward, helix_svg_position_y); - C.JSArray_methods.add$1(path_cmds, "L " + H.S(end_svg.x) + " " + H.S(end_svg.y)); - t8 = t2.get$length(t1); - if (typeof t8 !== "number") - return H.iae(t8); - idx_next = C.JSInt_methods.$mod(i + 1, t8); - if (t2.$index(t1, idx_next) instanceof G.Domain) { - t8 = t2.get$length(t1); - if (typeof t8 !== "number") - return t8.$sub(); - t8 = i < t8 - 1 || t6; - } else - t8 = false; - if (t8) { - domain = t5._as(t2.$index(t1, idx_next)); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s39_); - t8 = t3._as(t8 == null ? _null : t8); - t9 = domain.helix; - helix = J.$index$asx(t8._map$_map, t9); - if (helix == null) - return _null; - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s62_); - t8 = t4._as(t8 == null ? _null : t8); - t10 = helix.idx; - helix_svg_position_y = J.$index$asx(t8._map$_map, t10).y; - t10 = domain.__offset_5p; - t8 = t10 == null ? domain.__offset_5p = G.Domain.prototype.get$offset_5p.call(domain) : t10; - start_svg = helix.svg_base_pos$3(t8, domain.forward, helix_svg_position_y); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s39_); - t8 = t3._as(t8 == null ? _null : t8); - t10 = _this._design_main_strand_moving$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t10 = t4._as(t10 == null ? _null : t10); - t11 = substrand.helix; - t11 = J.$index$asx(t10._map$_map, t11).y; - t10 = _this._design_main_strand_moving$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s62_); - t9 = J.$index$asx(t4._as(t10 == null ? _null : t10)._map$_map, t9).y; - t10 = _this._design_main_strand_moving$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.geometry"); - control = B.control_point_for_crossover_bezier_curve(substrand, domain, t8, t11, t9, t7._as(t10 == null ? _null : t10)); - C.JSArray_methods.add$1(path_cmds, "Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(start_svg.x) + " " + H.S(start_svg.y)); - } - } else { - if (substrand instanceof G.Loopout) - if (i > 0) { - t8 = t2.get$length(t1); - if (typeof t8 !== "number") - return t8.$sub(); - t8 = i < t8 - 1; - } else - t8 = false; + _draw_strand_lines_single_path$1(strand_moved) { + var t2, helix_svg_position_y, start_svg, path_cmds, t3, t4, t5, t6, t7, helix, i, substrand, end_svg, t8, t9, t10, t11, t12, control, prev_domain, next_domain, prev_helix_svg_position_y, classname, _this = this, _null = null, + _s57_ = string$.DesignMStMvh, + _s35_ = "DesignMainStrandMovingProps.helices", + domain_first = B.JSArray_methods.get$first(strand_moved.get$domains()._list), + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helices(); + t2 = domain_first.helix; + t1 = t1._map$_map.$index(0, t2); + t1.toString; + helix_svg_position_y = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map()._map$_map.$index(0, t2).y; + start_svg = t1.svg_base_pos$3(domain_first.get$offset_5p(), domain_first.forward, helix_svg_position_y); + path_cmds = A._setArrayType(["M " + A.S(start_svg.x) + " " + A.S(start_svg.y)], type$.JSArray_String); + for (t2 = strand_moved.substrands._list, t3 = type$.BuiltMap_int_Helix, t4 = type$.BuiltMap_of_int_and_Point_double, t5 = type$.Domain, t6 = strand_moved.circular, t7 = type$.Geometry, helix = t1, i = 0; t1 = t2.length, i < t1; ++i) { + substrand = t2[i]; + if (substrand instanceof A.Domain) { + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, _s57_); + helix_svg_position_y = t4._as(t1 == null ? _null : t1)._map$_map.$index(0, helix.idx).y; + t1 = substrand.__offset_3p; + if (t1 == null) + t1 = substrand.__offset_3p = A.Domain.prototype.get$offset_3p.call(substrand); + end_svg = helix.svg_base_pos$3(t1, substrand.forward, helix_svg_position_y); + B.JSArray_methods.add$1(path_cmds, "L " + A.S(end_svg.x) + " " + A.S(end_svg.y)); + t1 = t2.length; + t8 = t2[(i + 1) % t1]; + if (t8 instanceof A.Domain) + t1 = i < t1 - 1 || t6; else - t8 = false; - if (t8) { - prev_domain = t5._as(t2.$index(t1, i - 1)); - next_domain = t5._as(t2.$index(t1, i + 1)); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s39_); - t8 = t3._as(t8 == null ? _null : t8); - t9 = prev_domain.helix; - prev_helix = J.$index$asx(t8._map$_map, t9); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s39_); - t8 = t3._as(t8 == null ? _null : t8); - t10 = next_domain.helix; - next_helix = J.$index$asx(t8._map$_map, t10); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s62_); - prev_helix_svg_position_y = J.$index$asx(t4._as(t8 == null ? _null : t8)._map$_map, t9).y; - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s62_); - C.JSArray_methods.add$1(path_cmds, R.loopout_path_description_within_group(prev_helix, next_helix, prev_domain, next_domain, substrand, false, false, prev_helix_svg_position_y, J.$index$asx(t4._as(t8 == null ? _null : t8)._map$_map, t10).y)); - t8 = _this._design_main_strand_moving$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, _s39_); - helix = J.$index$asx(t3._as(t8 == null ? _null : t8)._map$_map, t10); + t1 = false; + if (t1) { + t5._as(t8); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, _s35_); + t1 = t3._as(t1 == null ? _null : t1); + t9 = t8.helix; + if (t1._map$_map.$index(0, t9) == null) + return _null; + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, _s35_); + t1 = t3._as(t1 == null ? _null : t1)._map$_map.$index(0, t9); + t1.toString; + t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s57_); + helix_svg_position_y = t4._as(t10 == null ? _null : t10)._map$_map.$index(0, t1.idx).y; + t10 = t8.__offset_5p; + if (t10 == null) + t10 = t8.__offset_5p = A.Domain.prototype.get$offset_5p.call(t8); + start_svg = t1.svg_base_pos$3(t10, t8.forward, helix_svg_position_y); + t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s35_); + t10 = t3._as(t10 == null ? _null : t10); + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s57_); + t11 = t4._as(t11 == null ? _null : t11); + t12 = substrand.helix; + t12 = t11._map$_map.$index(0, t12).y; + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s57_); + t9 = t4._as(t11 == null ? _null : t11)._map$_map.$index(0, t9).y; + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, "DesignMainStrandMovingProps.geometry"); + control = A.control_point_for_crossover_bezier_curve(substrand, t8, t10, t12, t9, t7._as(t11 == null ? _null : t11)); + B.JSArray_methods.add$1(path_cmds, "Q " + A.S(control.x) + " " + A.S(control.y) + " " + A.S(start_svg.x) + " " + A.S(start_svg.y)); + helix = t1; } + } else if (substrand instanceof A.Loopout && i > 0 && i < t1 - 1) { + t8 = i - 1; + if (!(t8 >= 0)) + return A.ioore(t2, t8); + prev_domain = t5._as(t2[t8]); + t8 = i + 1; + if (!(t8 < t1)) + return A.ioore(t2, t8); + next_domain = t5._as(t2[t8]); + t8 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, _s35_); + t1 = t3._as(t8 == null ? _null : t8); + t8 = prev_domain.helix; + t1 = t1._map$_map.$index(0, t8); + t1.toString; + t9 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, _s35_); + t9 = t3._as(t9 == null ? _null : t9); + t10 = next_domain.helix; + t9 = t9._map$_map.$index(0, t10); + t9.toString; + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t11 = t11.get$props(t11).$index(0, _s57_); + prev_helix_svg_position_y = t4._as(t11 == null ? _null : t11)._map$_map.$index(0, t8).y; + t8 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, _s57_); + B.JSArray_methods.add$1(path_cmds, A.loopout_path_description_within_group(t1, t9, prev_domain, next_domain, substrand, false, false, prev_helix_svg_position_y, t4._as(t8 == null ? _null : t8)._map$_map.$index(0, t10).y)); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, _s35_); + t1 = t3._as(t1 == null ? _null : t1)._map$_map.$index(0, t10); + t1.toString; + helix = t1; } - ++i; } - classname = !H.boolConversionCheck(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()) ? "domain-line disallowed" : "domain-line"; + classname = !A.boolConversionCheck(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$allowable()) ? "domain-line disallowed" : "domain-line"; t1 = A.SvgProps$($.$get$path(), _null); t1.set$className(0, classname); - t2 = _this._design_main_strand_moving$_cachedTypedProps.get$strand().color.toHexColor$0(); + t2 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand().color.toHexColor$0(); t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); t1.set$fill(0, "none"); - t1.set$d(0, C.JSArray_methods.join$1(path_cmds, " ")); + t1.set$d(0, B.JSArray_methods.join$1(path_cmds, " ")); t1.set$key(0, 0); return t1.call$0(); } }; - T.$DesignMainStrandMovingComponentFactory_closure.prototype = { - call$0: function() { - return new T._$DesignMainStrandMovingComponent(null); + A.$DesignMainStrandMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandMovingComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 486 + $signature: 497 }; - T._$$DesignMainStrandMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandMovingProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandMovingComponentFactory() : t1; - } + }, + $isTransformByHelixGroupPropsMixin: 1 }; - T._$$DesignMainStrandMovingProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandMovingProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_moving$_props; } }; - T._$$DesignMainStrandMovingProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandMovingProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_moving$_props; } }; - T._$DesignMainStrandMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_moving$_cachedTypedProps; + A._$DesignMainStrandMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_moving$_cachedTypedProps = T._$$DesignMainStrandMovingProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandMovingComponent__cachedTypedProps_A = A._$$DesignMainStrandMovingProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandMoving"; }, - get$$$defaultConsumedProps: function() { - return C.Map_gaMMc.get$values(C.Map_gaMMc); + get$$$defaultConsumedProps() { + return B.Map_Jeg27.get$values(B.Map_Jeg27); } }; - T.$DesignMainStrandMovingPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.strand"); + A.$DesignMainStrandMovingProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - get$allowable: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMva); - return H._asBoolS(t1 == null ? null : t1); + get$allowable() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingProps.allowable"); + return A._asBoolS(t1 == null ? null : t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.helices"); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingProps.helices"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandMovingPropsMixin.helices", value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.groups"); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingProps.groups"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandMovingPropsMixin.groups", value); + return type$.BuiltMap_String_HelixGroup._as(t1); }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMvg); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), string$.DesignMStMvg, value); - }, - get$helix_idx_to_svg_position_map: function() { + get$helix_idx_to_svg_position_map() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMvh); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); - } - }; - T._DesignMainStrandMovingComponent_UiComponent2_PureComponent.prototype = {}; - T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainStrandMovingPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainStrandMovingPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandMovingPropsMixin_geometry; + return type$.BuiltMap_of_int_and_Point_double._as(t1); } }; - T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin.prototype = {}; - T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } - }; - T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - B.DesignMainStrandPathsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandPathsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandPathsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandPathsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + A._DesignMainStrandMovingComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps.prototype = {}; + A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps.prototype = {}; + A.DesignMainStrandPathsProps.prototype = { + get$helices() { + var t1 = this.DesignMainStrandPathsProps___DesignMainStrandPathsProps_helices_A; + t1 === $ && A.throwLateFieldNI("helices"); + return t1; }, - get$helices: function() { - return this.DesignMainStrandPathsPropsMixin_helices; + get$groups() { + var t1 = this.DesignMainStrandPathsProps___DesignMainStrandPathsProps_groups_A; + t1 === $ && A.throwLateFieldNI("groups"); + return t1; }, - get$groups: function() { - return this.DesignMainStrandPathsPropsMixin_groups; + get$geometry(_) { + var t1 = this.DesignMainStrandPathsProps___DesignMainStrandPathsProps_geometry_A; + t1 === $ && A.throwLateFieldNI("geometry"); + return t1; }, - get$geometry: function(receiver) { - return this.DesignMainStrandPathsPropsMixin_geometry; - } + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1, + $isTransformByHelixGroupPropsMixin: 1 }; - B.DesignMainStrandPathsComponent.prototype = { - render$0: function(_) { + A.DesignMainStrandPathsComponent.prototype = { + render$0(_) { var t1 = A.SvgProps$($.$get$g(), null); t1.set$className(0, "strand-paths"); return t1.call$1(this._strand_paths$0()); }, - _strand_paths$0: function() { - var t3, paths, ends, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, i, t21, substrand, t22, helix, t23, t24, t25, t26, is_5p, _i, end, t27, key, end_selected, t28, t29, next_dom, prev_dom, prev_helix, next_helix, should, is_5p_str, adj_dom, adj_helix, idx_crossover, prev_ss, next_ss, draw_prev_ss, draw_next_ss, idx_crossover0, crossover, _this = this, _null = null, - _s39_ = "TransformByHelixGroupPropsMixin.helices", - _s56_ = string$.DesignMStPasi, - _s61_ = string$.DesignMStPaon, - _s38_ = "DesignMainStrandPathsPropsMixin.strand", - _s38_0 = "TransformByHelixGroupPropsMixin.groups", - _s40_ = "TransformByHelixGroupPropsMixin.geometry", - _s64_ = string$.DesignMStPar, - _s59_ = string$.DesignMDoPr, - _s46_ = string$.DesignMStPast, - _s61_0 = string$.DesignMStPah, + _strand_paths$0() { + var strand, t2, paths, ends, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, i, t20, substrand, t21, t22, t23, t24, t25, t26, t27, translate_svg, t28, is_5p, _i, end, key, t29, end_selected, t30, t31, t32, t33, t34, next_dom, prev_dom, should, is_5p_str, adj_i, adj_dom, idx_crossover, prev_domain, next_domain, draw_prev_domain, draw_next_domain, idx_crossover0, crossover, _this = this, _null = null, + _s34_ = "DesignMainStrandPathsProps.helices", + _s51_ = string$.DesignMStPasi, + _s56_ = string$.DesignMStPao, + _s33_ = "DesignMainStrandPathsProps.strand", + _s33_0 = "DesignMainStrandPathsProps.groups", + _s35_ = "DesignMainStrandPathsProps.geometry", + _s41_ = string$.DesignMStPast, + _s56_0 = string$.DesignMStPah, + _s59_ = string$.DesignMStPar, _s3_ = "key", - _s55_ = string$.DesignMStPaseen, - _s42_ = string$.DesignMDNEi, + _s50_ = string$.DesignMStPaseen, _s32_ = "DesignMainDNAEndPropsMixin.is_5p", _s36_ = "DesignMainDNAEndPropsMixin.transform", - _s39_0 = "DesignMainDNAEndPropsMixin.strand_color", + _s39_ = "DesignMainDNAEndPropsMixin.strand_color", _s32_0 = "DesignMainDNAEndPropsMixin.helix", _s32_1 = "DesignMainDNAEndPropsMixin.group", - _s35_ = "DesignMainDNAEndPropsMixin.geometry", - _s38_1 = "DesignMainDNAEndPropsMixin.is_scaffold", - _s35_0 = "DesignMainDNAEndPropsMixin.selected", - _s33_ = "DesignMainDNAEndPropsMixin.strand", - _s59_0 = string$.DesignMDNEr, - _s47_ = string$.DesignMStPam, - _s46_0 = string$.DesignMDNEm, - _s59_1 = string$.DesignMStPad, - _s54_ = string$.DesignMDNEd, + _s35_0 = "DesignMainDNAEndPropsMixin.geometry", + _s38_ = "DesignMainDNAEndPropsMixin.is_scaffold", + _s35_1 = "DesignMainDNAEndPropsMixin.selected", + _s33_1 = "DesignMainDNAEndPropsMixin.strand", + _s42_ = string$.DesignMStPam, + _s46_ = string$.DesignMDNEm, + _s54_ = string$.DesignMStPad, + _s54_0 = string$.DesignMDNEd, _s45_ = string$.DesignMDNEh, - _s60_ = string$.DesignMLPr, - _s68_ = string$.DesignMStCor, - strand = _this._design_main_strand_paths$_cachedTypedProps.get$strand(), - t1 = strand.substrands._list, - t2 = J.getInterceptor$ax(t1); - if (t2.get$first(t1) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(strand, "loopouts at beginning of strand not supported")); - if (t2.get$last(t1) instanceof G.Loopout) - throw H.wrapException(N.StrandError$(strand, "loopouts at end of strand not supported")); - t3 = type$.JSArray_legacy_ReactElement; - paths = H.setRuntimeTypeInfo([], t3); - ends = H.setRuntimeTypeInfo([], t3); - t2.get$first(t1); - t3 = type$.legacy_BuiltSet_legacy_int; - t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - t5 = type$.legacy_Domain; - t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; - t7 = type$.legacy_Point_legacy_num; - t8 = type$.legacy_Strand; - t9 = type$.legacy_Geometry; - t10 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; - t11 = type$.legacy_HelixGroup; - t12 = type$.legacy_BuiltSet_legacy_DNAEnd; - t13 = strand.color; - t14 = type$.legacy_BuiltSet_legacy_Extension; - t15 = type$.legacy_BuiltSet_legacy_Loopout; - t16 = type$.legacy_String; - t17 = type$.legacy_BuiltSet_legacy_Domain; - t18 = type$.legacy_int; - t19 = type$.legacy_Helix; - t20 = type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType; - i = 0; - while (true) { - t21 = t2.get$length(t1); - if (typeof t21 !== "number") - return H.iae(t21); - if (!(i < t21)) - break; - substrand = t2.$index(t1, i); - if (substrand instanceof G.Domain) { - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s39_); - t21 = t4._as(t21 == null ? _null : t21); - t22 = substrand.helix; - helix = J.$index$asx(t21._map$_map, t22); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s56_); - t21 = t3._as(t21 == null ? _null : t21); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s61_); - if (!H.boolConversionCheck(H._asBoolS(t23 == null ? _null : t23)) || t21._set.contains$1(0, t22)) { - t21 = T.design_main_strand_domain___$DesignMainDomain$closure().call$0(); - t21.toString; - t23 = J.getInterceptor$x(t21); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.domain", substrand); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s38_); - t24 = t8._as(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.strand", t24); - t24 = _this.transform_of_helix$1(t22); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.transform", t24); - t24 = t20._as(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); - J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPc, t24); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.strand_color", t13); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStPased); - t24 = t17._as(t24 == null ? _null : t24)._set.contains$1(0, substrand); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.selected", t24); - J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.helix", helix); - t24 = helix.idx; - t25 = t4._as(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t24, helix], t18, t19), t18, t19)); - J.$indexSet$ax(t23.get$props(t21), _s39_, t25); - t25 = helix.group; - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s38_0); - t26 = t10._as(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t25, J.$index$asx(t10._as(t26 == null ? _null : t26)._map$_map, t25)], t16, t11), t16, t11)); - J.$indexSet$ax(t23.get$props(t21), _s38_0, t26); - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s40_); - t26 = t9._as(t26 == null ? _null : t26); - J.$indexSet$ax(t23.get$props(t21), _s40_, t26); - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s64_); - t26 = H._asBoolS(t26 == null ? _null : t26); - J.$indexSet$ax(t23.get$props(t21), _s59_, t26); - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s46_); - t26 = H._asStringS(t26 == null ? _null : t26); - J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPs, t26); - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s61_0); - t26 = t7._as(J.$index$asx(t6._as(t26 == null ? _null : t26)._map$_map, t24)); - J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPh, t26); - t26 = _this._design_main_strand_paths$_cachedTypedProps; - t26 = t26.get$props(t26).$index(0, _s64_); - t26 = H._asBoolS(t26 == null ? _null : t26); - J.$indexSet$ax(t23.get$props(t21), _s59_, t26); - t26 = "domain-" + i; - t23 = t23.get$props(t21); - J.$indexSet$ax(t23, _s3_, t26); - C.JSArray_methods.add$1(paths, t21.call$0()); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s38_); - if (!t8._as(t21 == null ? _null : t21).circular) { - t21 = substrand.forward; - if (t21) { + _s59_0 = string$.DesignMDNEr, + t1 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + strand = t1.get$strand(); + t1 = strand.substrands._list; + if (B.JSArray_methods.get$first(t1) instanceof A.Loopout) + throw A.wrapException(A.StrandError$(strand, "loopouts at beginning of strand not supported")); + if (B.JSArray_methods.get$last(t1) instanceof A.Loopout) + throw A.wrapException(A.StrandError$(strand, "loopouts at end of strand not supported")); + t2 = type$.JSArray_ReactElement; + paths = A._setArrayType([], t2); + ends = A._setArrayType([], t2); + B.JSArray_methods.get$first(t1); + for (t2 = type$.nullable_BuiltSet_int, t3 = type$.BuiltMap_int_Helix, t4 = type$.Domain, t5 = type$.BuiltMap_of_int_and_Point_double, t6 = type$.Point_double, t7 = type$.Strand, t8 = type$.Geometry, t9 = type$.BuiltMap_String_HelixGroup, t10 = type$.HelixGroup, t11 = strand.color, t12 = type$.BuiltSet_DNAEnd, t13 = type$.BuiltSet_Extension, t14 = type$.BuiltSet_Loopout, t15 = type$.String, t16 = type$.BuiltSet_Domain, t17 = type$.int, t18 = type$.Helix, t19 = type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType, i = 0; t20 = t1.length, i < t20; ++i) { + substrand = t1[i]; + if (substrand instanceof A.Domain) { + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s34_); + t20 = t3._as(t20 == null ? _null : t20); + t21 = substrand.helix; + t20 = t20._map$_map.$index(0, t21); + t20.toString; + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, _s51_); + t22 = t2._as(t22 == null ? _null : t22); + t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s56_); + if (!A.boolConversionCheck(A._asBoolS(t23 == null ? _null : t23)) || t22._set.contains$1(0, t21)) { + t22 = A.design_main_strand_domain___$DesignMainDomain$closure().call$0(); + t22.toString; + t23 = J.getInterceptor$x(t22); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.domain", substrand); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s33_); + t24 = t7._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.strand", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t25 = t24.get$helices()._map$_map.$index(0, t21); + t25.toString; + t25 = t24.get$groups()._map$_map.$index(0, t25.group); + t25.toString; + t24 = t24.get$geometry(t24); + t26 = t25.position; + t27 = t24.__nm_to_svg_pixels; + t24 = t27 == null ? t24.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t24) : t27; + translate_svg = A.Position3D_Position3D(t26.x * t24, t26.y * t24, t26.z * t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.transform", "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t25.pitch) + ")"); + t25 = t19._as(_this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$context_menu_strand()); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMDoPc, t25); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.strand_color", t11); + t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, string$.DesignMStPased); + t24 = t16._as(t25 == null ? _null : t25)._set.contains$1(0, substrand); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.selected", t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.helix", t20); + t24 = t20.idx; + t25 = t3._as(A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t24, t20], t17, t18), t17, t18)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.helices", t25); + t25 = t20.group; + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, _s33_0); + t26 = t9._as(t26 == null ? _null : t26)._map$_map.$index(0, t25); + t26.toString; + t26 = t9._as(A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([t25, t26], t15, t10), t15, t10)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.groups", t26); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, _s35_); + t26 = t8._as(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.geometry", t26); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, _s41_); + t26 = A._asStringS(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.strand_tooltip", t26); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, _s56_0); + t26 = t5._as(t26 == null ? _null : t26)._map$_map.$index(0, t24); + t26.toString; + t6._as(t26); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDomainProps.helix_svg_position", t26); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, _s59_); + t26 = A._asBoolS(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMDoPr, t26); + t26 = "" + i; + t23 = t23.get$props(t22); + J.$indexSet$ax(t23, _s3_, "domain-" + t26); + B.JSArray_methods.add$1(paths, t22.call$0()); + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, _s33_); + if (!t7._as(t22 == null ? _null : t22).circular) { + t22 = substrand.forward; + if (t22) { t23 = substrand.__dnaend_start; if (t23 == null) { - t23 = G.Domain.prototype.get$dnaend_start.call(substrand); + t23 = A.Domain.prototype.get$dnaend_start.call(substrand); substrand.__dnaend_start = t23; } } else { t23 = substrand.__dnaend_end; if (t23 == null) { - t23 = G.Domain.prototype.get$dnaend_end.call(substrand); + t23 = A.Domain.prototype.get$dnaend_end.call(substrand); substrand.__dnaend_end = t23; } } - if (t21) { - t21 = substrand.__dnaend_end; - if (t21 == null) { - t21 = G.Domain.prototype.get$dnaend_end.call(substrand); - substrand.__dnaend_end = t21; + if (t22) { + t22 = substrand.__dnaend_end; + if (t22 == null) { + t22 = A.Domain.prototype.get$dnaend_end.call(substrand); + substrand.__dnaend_end = t22; } } else { - t21 = substrand.__dnaend_start; - if (t21 == null) { - t21 = G.Domain.prototype.get$dnaend_start.call(substrand); - substrand.__dnaend_start = t21; + t22 = substrand.__dnaend_start; + if (t22 == null) { + t22 = A.Domain.prototype.get$dnaend_start.call(substrand); + substrand.__dnaend_start = t22; } } - t21 = [t23, t21]; + t22 = [t23, t22]; t23 = substrand.is_last; - t26 = substrand.is_first; + t27 = "3'-end-" + t26; + t28 = substrand.is_first; + t26 = "5'-end-" + t26; is_5p = true; _i = 0; for (; _i < 2; ++_i, is_5p = false) { - end = t21[_i]; - if (is_5p) { - t27 = "5'-end-" + i; - key = t27 + (t26 ? "-is_first" : ""); - } else { - t27 = "3'-end-" + i; + end = t22[_i]; + if (is_5p) + key = t26 + (t28 ? "-is_first" : ""); + else key = t27 + (t23 ? "-is_last" : ""); - } - t27 = _this._design_main_strand_paths$_cachedTypedProps; - t27 = t27.get$props(t27).$index(0, _s55_); - end_selected = t12._as(t27 == null ? _null : t27)._set.contains$1(0, end); - t27 = S.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); - t27.toString; - t28 = J.getInterceptor$x(t27); - J.$indexSet$ax(t28.get$props(t27), "DesignMainDNAEndPropsMixin.domain", substrand); - J.$indexSet$ax(t28.get$props(t27), _s42_, false); - J.$indexSet$ax(t28.get$props(t27), _s32_, is_5p); - t29 = _this.transform_of_helix$1(t22); - J.$indexSet$ax(t28.get$props(t27), _s36_, t29); - J.$indexSet$ax(t28.get$props(t27), _s39_0, t13); - J.$indexSet$ax(t28.get$props(t27), _s32_0, helix); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s38_0); - t29 = t11._as(J.$index$asx(t10._as(t29 == null ? _null : t29)._map$_map, t25)); - J.$indexSet$ax(t28.get$props(t27), _s32_1, t29); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s40_); - t29 = t9._as(t29 == null ? _null : t29); - J.$indexSet$ax(t28.get$props(t27), _s35_, t29); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s38_); - t29 = t8._as(t29 == null ? _null : t29).is_scaffold; - J.$indexSet$ax(t28.get$props(t27), _s38_1, t29); - J.$indexSet$ax(t28.get$props(t27), _s35_0, end_selected); - J.$indexSet$ax(t28.get$props(t27), _s33_, strand); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s64_); - t29 = H._asBoolS(t29 == null ? _null : t29); - J.$indexSet$ax(t28.get$props(t27), _s59_0, t29); - t27.set$context_menu_strand(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s47_); - t29 = H.boolConversionCheck(H._asBoolS(t29 == null ? _null : t29)) && end_selected; - J.$indexSet$ax(t28.get$props(t27), _s46_0, t29); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s59_1); - t29 = H._asBoolS(t29 == null ? _null : t29); - J.$indexSet$ax(t28.get$props(t27), _s54_, t29); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s61_0); - t29 = t7._as(J.$index$asx(t6._as(t29 == null ? _null : t29)._map$_map, t24)); - J.$indexSet$ax(t28.get$props(t27), _s45_, t29); - t29 = _this._design_main_strand_paths$_cachedTypedProps; - t29 = t29.get$props(t29).$index(0, _s64_); - t29 = H._asBoolS(t29 == null ? _null : t29); - J.$indexSet$ax(t28.get$props(t27), _s59_0, t29); - t28 = t28.get$props(t27); - J.$indexSet$ax(t28, _s3_, key); - C.JSArray_methods.add$1(ends, t27.call$0()); + t29 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t29 = t29.get$props(t29).$index(0, _s50_); + end_selected = t12._as(t29 == null ? _null : t29)._set.contains$1(0, end); + t29 = A.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); + t29.toString; + t30 = J.getInterceptor$x(t29); + J.$indexSet$ax(t30.get$props(t29), "DesignMainDNAEndPropsMixin.domain", substrand); + J.$indexSet$ax(t30.get$props(t29), _s32_, is_5p); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t32 = t31.get$helices()._map$_map.$index(0, t21); + t32.toString; + t32 = t31.get$groups()._map$_map.$index(0, t32.group); + t32.toString; + t31 = t31.get$geometry(t31); + t33 = t32.position; + t34 = t31.__nm_to_svg_pixels; + t31 = t34 == null ? t31.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t31) : t34; + translate_svg = A.Position3D_Position3D(t33.x * t31, t33.y * t31, t33.z * t31); + J.$indexSet$ax(t30.get$props(t29), _s36_, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t32.pitch) + ")"); + J.$indexSet$ax(t30.get$props(t29), _s39_, t11); + J.$indexSet$ax(t30.get$props(t29), _s32_0, t20); + t32 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t32 = t32.get$props(t32).$index(0, _s33_0); + t31 = t9._as(t32 == null ? _null : t32)._map$_map.$index(0, t25); + t31.toString; + t10._as(t31); + J.$indexSet$ax(t30.get$props(t29), _s32_1, t31); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s35_); + t31 = t8._as(t31 == null ? _null : t31); + J.$indexSet$ax(t30.get$props(t29), _s35_0, t31); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s33_); + t31 = t7._as(t31 == null ? _null : t31).is_scaffold; + J.$indexSet$ax(t30.get$props(t29), _s38_, t31); + J.$indexSet$ax(t30.get$props(t29), _s35_1, end_selected); + J.$indexSet$ax(t30.get$props(t29), _s33_1, strand); + t29.set$context_menu_strand(_this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$context_menu_strand()); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s42_); + t31 = A.boolConversionCheck(A._asBoolS(t31 == null ? _null : t31)) && end_selected; + J.$indexSet$ax(t30.get$props(t29), _s46_, t31); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s54_); + t31 = A._asBoolS(t31 == null ? _null : t31); + J.$indexSet$ax(t30.get$props(t29), _s54_0, t31); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s56_0); + t31 = t5._as(t31 == null ? _null : t31)._map$_map.$index(0, t24); + t31.toString; + t6._as(t31); + J.$indexSet$ax(t30.get$props(t29), _s45_, t31); + t31 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t31 = t31.get$props(t31).$index(0, _s59_); + t31 = A._asBoolS(t31 == null ? _null : t31); + J.$indexSet$ax(t30.get$props(t29), _s59_0, t31); + t30 = t30.get$props(t29); + J.$indexSet$ax(t30, _s3_, key); + B.JSArray_methods.add$1(ends, t29.call$0()); } } } - } else if (substrand instanceof G.Loopout) { - next_dom = t5._as(t2.$index(t1, i + 1)); - prev_dom = t5._as(t2.$index(t1, i - 1)); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s39_); - t21 = t4._as(t21 == null ? _null : t21); - t22 = prev_dom.helix; - prev_helix = J.$index$asx(t21._map$_map, t22); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s39_); - t21 = t4._as(t21 == null ? _null : t21); + } else if (substrand instanceof A.Loopout) { + t21 = i + 1; + if (!(t21 < t20)) + return A.ioore(t1, t21); + next_dom = t4._as(t1[t21]); + t21 = i - 1; + if (!(t21 >= 0)) + return A.ioore(t1, t21); + prev_dom = t4._as(t1[t21]); + t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t21 = t21.get$props(t21).$index(0, _s34_); + t20 = t3._as(t21 == null ? _null : t21); + t21 = prev_dom.helix; + t20 = t20._map$_map.$index(0, t21); + t20.toString; + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, _s34_); + t22 = t3._as(t22 == null ? _null : t22); t23 = next_dom.helix; - next_helix = J.$index$asx(t21._map$_map, t23); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s56_); - t21 = t3._as(t21 == null ? _null : t21); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s61_); - t24 = H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24)); - if (!t24 || t21._set.contains$1(0, t22)) - should = !t24 || t21._set.contains$1(0, t23); + t22 = t22._map$_map.$index(0, t23); + t22.toString; + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s51_); + t24 = t2._as(t24 == null ? _null : t24); + t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, _s56_); + t25 = A.boolConversionCheck(A._asBoolS(t25 == null ? _null : t25)); + if (!t25 || t24._set.contains$1(0, t21)) + should = !t25 || t24._set.contains$1(0, t23); else should = false; if (should) { - t21 = R.design_main_strand_loopout___$DesignMainLoopout$closure().call$0(); + t21 = A.design_main_strand_loopout___$DesignMainLoopout$closure().call$0(); t21.toString; - t22 = J.getInterceptor$x(t21); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.loopout", substrand); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, string$.DesignMStPashd); - t23 = H._asBoolS(t23 == null ? _null : t23); - J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPs, t23); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.strand", strand); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s39_); - t23 = t4._as(t4._as(t23 == null ? _null : t23)); - J.$indexSet$ax(t22.get$props(t21), _s39_, t23); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s38_0); - t23 = t10._as(t10._as(t23 == null ? _null : t23)); - J.$indexSet$ax(t22.get$props(t21), _s38_0, t23); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s40_); - t23 = t9._as(t23 == null ? _null : t23); - J.$indexSet$ax(t22.get$props(t21), _s40_, t23); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.strand_color", t13); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, string$.DesignMStPasel); - t23 = t15._as(t23 == null ? _null : t23)._set.contains$1(0, substrand); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.selected", t23); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.prev_domain", prev_dom); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.next_domain", next_dom); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.prev_helix", prev_helix); - J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.next_helix", next_helix); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s64_); - t23 = H._asBoolS(t23 == null ? _null : t23); - J.$indexSet$ax(t22.get$props(t21), _s60_, t23); - t23 = _this._design_main_strand_paths$_cachedTypedProps; - t23 = t23.get$props(t23).$index(0, _s61_0); - t23 = t6._as(t23 == null ? _null : t23); - t24 = prev_helix.idx; - t24 = J.$index$asx(t23._map$_map, t24).y; - J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPp, t24); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s61_0); - t23 = t6._as(t24 == null ? _null : t24); - t24 = next_helix.idx; - t24 = J.$index$asx(t23._map$_map, t24).y; - J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPn, t24); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s64_); - t23 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t22.get$props(t21), _s60_, t23); - t23 = "loopout-" + i; - t22 = t22.get$props(t21); - J.$indexSet$ax(t22, _s3_, t23); - C.JSArray_methods.add$1(paths, t21.call$0()); + t23 = J.getInterceptor$x(t21); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.loopout", substrand); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.strand", strand); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.strand_color", t11); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.prev_domain", prev_dom); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.next_domain", next_dom); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.prev_helix", t20); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.next_helix", t22); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, string$.DesignMStPasel); + t24 = t14._as(t24 == null ? _null : t24)._set.contains$1(0, substrand); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.selected", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, string$.DesignMStPash); + t24 = A._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.show_domain_names", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s34_); + t24 = t3._as(t3._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.helices", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s33_0); + t24 = t9._as(t9._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.groups", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s35_); + t24 = t8._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t21), "DesignMainLoopoutProps.geometry", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s56_0); + t20 = t5._as(t24 == null ? _null : t24)._map$_map.$index(0, t20.idx).y; + J.$indexSet$ax(t23.get$props(t21), string$.DesignMLPp, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s56_0); + t20 = t5._as(t20 == null ? _null : t20)._map$_map.$index(0, t22.idx).y; + J.$indexSet$ax(t23.get$props(t21), string$.DesignMLPn, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s59_); + t20 = A._asBoolS(t20 == null ? _null : t20); + J.$indexSet$ax(t23.get$props(t21), string$.DesignMLPr, t20); + t23 = t23.get$props(t21); + J.$indexSet$ax(t23, _s3_, "loopout-" + i); + B.JSArray_methods.add$1(paths, t21.call$0()); } - } else if (substrand instanceof S.Extension) { - t21 = H.boolConversionCheck(substrand.is_5p); + } else if (substrand instanceof A.Extension) { + t21 = substrand.is_5p; is_5p_str = t21 ? "5'" : "3'"; - adj_dom = t5._as(t2.$index(t1, i === 0 ? 1 : i - 1)); - t22 = _this._design_main_strand_paths$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s39_); - t22 = t4._as(t22 == null ? _null : t22); - t23 = adj_dom.helix; - adj_helix = J.$index$asx(t22._map$_map, t23); - t22 = _this._design_main_strand_paths$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s56_); - t22 = t3._as(t22 == null ? _null : t22); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s61_); - if (!H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24)) || t22._set.contains$1(0, t23)) { - t22 = Q.design_main_strand_extension___$DesignMainExtension$closure().call$0(); + adj_i = i === 0 ? 1 : i - 1; + if (!(adj_i >= 0 && adj_i < t20)) + return A.ioore(t1, adj_i); + adj_dom = t4._as(t1[adj_i]); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s34_); + t20 = t3._as(t20 == null ? _null : t20); + t22 = adj_dom.helix; + t20 = t20._map$_map.$index(0, t22); + t20.toString; + t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s51_); + t23 = t2._as(t23 == null ? _null : t23); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s56_); + if (!A.boolConversionCheck(A._asBoolS(t24 == null ? _null : t24)) || t23._set.contains$1(0, t22)) { + t22 = A.design_main_strand_extension___$DesignMainExtension$closure().call$0(); t22.toString; t23 = J.getInterceptor$x(t22); - J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.ext", substrand); - J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.strand", strand); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s39_); - t24 = t4._as(t4._as(t24 == null ? _null : t24)); - J.$indexSet$ax(t23.get$props(t22), _s39_, t24); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s38_0); - t24 = t10._as(t10._as(t24 == null ? _null : t24)); - J.$indexSet$ax(t23.get$props(t22), _s38_0, t24); - t24 = _this._design_main_strand_paths$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s40_); - t24 = t9._as(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), _s40_, t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEsc, t13); - t24 = adj_helix.idx; - t25 = _this.transform_of_helix$1(t24); - J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.transform", t25); - t25 = _this._design_main_strand_paths$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, string$.DesignMStPaseex); - t25 = t14._as(t25 == null ? _null : t25)._set.contains$1(0, substrand); - J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.selected", t25); - t25 = _this._design_main_strand_paths$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, _s64_); - t25 = H._asBoolS(t25 == null ? _null : t25); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEr, t25); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEad, adj_dom); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEah, adj_helix); - t25 = _this._design_main_strand_paths$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, _s46_); - t25 = H._asStringS(t25 == null ? _null : t25); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEst, t25); - t25 = _this._design_main_strand_paths$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, _s61_0); - t25 = t7._as(J.$index$asx(t6._as(t25 == null ? _null : t25)._map$_map, t24)); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMEah_, t25); - t25 = "extension-" + is_5p_str + "-" + i; + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.ext", substrand); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.strand", strand); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s34_); + t24 = t3._as(t3._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.helices", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s33_0); + t24 = t9._as(t9._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.groups", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s35_); + t24 = t8._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.geometry", t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.strand_color", t11); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t25 = t20.idx; + t26 = t24.get$helices()._map$_map.$index(0, t25); + t26.toString; + t26 = t24.get$groups()._map$_map.$index(0, t26.group); + t26.toString; + t24 = t24.get$geometry(t24); + t27 = t26.position; + t28 = t24.__nm_to_svg_pixels; + t24 = t28 == null ? t24.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t24) : t28; + translate_svg = A.Position3D_Position3D(t27.x * t24, t27.y * t24, t27.z * t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.transform", "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t26.pitch) + ")"); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, string$.DesignMStPaseex); + t24 = t13._as(t26 == null ? _null : t26)._set.contains$1(0, substrand); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.selected", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s59_); + t24 = A._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEr, t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.adjacent_domain", adj_dom); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.adjacent_helix", t20); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s41_); + t24 = A._asStringS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionProps.strand_tooltip", t24); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s56_0); + t24 = t5._as(t24 == null ? _null : t24)._map$_map.$index(0, t25); + t24.toString; + t6._as(t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEa, t24); + t24 = "" + i; t23 = t23.get$props(t22); - J.$indexSet$ax(t23, _s3_, t25); - C.JSArray_methods.add$1(paths, t22.call$0()); + J.$indexSet$ax(t23, _s3_, "extension-" + is_5p_str + "-" + t24); + B.JSArray_methods.add$1(paths, t22.call$0()); end = substrand.__dnaend_free; if (end == null) - end = substrand.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(substrand); - if (t21) { - t22 = "5'-end-" + i; - key = t22 + "-ext-is_first"; - } else { - t22 = "3'-end-" + i; - key = t22 + "-ext-is_last"; - } - t22 = _this._design_main_strand_paths$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s55_); + end = substrand.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(substrand); + if (t21) + key = "5'-end-" + t24 + "-ext-is_first"; + else + key = "3'-end-" + t24 + "-ext-is_last"; + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, _s50_); end_selected = t12._as(t22 == null ? _null : t22)._set.contains$1(0, end); - t22 = S.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); + t22 = A.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); t22.toString; t23 = J.getInterceptor$x(t22); J.$indexSet$ax(t23.get$props(t22), "DesignMainDNAEndPropsMixin.ext", substrand); - J.$indexSet$ax(t23.get$props(t22), _s42_, true); J.$indexSet$ax(t23.get$props(t22), _s32_, t21); - t21 = _this.transform_of_helix$1(substrand.adjacent_domain.helix); - J.$indexSet$ax(t23.get$props(t22), _s36_, t21); - J.$indexSet$ax(t23.get$props(t22), _s39_0, t13); - J.$indexSet$ax(t23.get$props(t22), _s32_0, adj_helix); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s38_0); - t21 = t10._as(t21 == null ? _null : t21); - t25 = adj_helix.group; - t25 = t11._as(J.$index$asx(t21._map$_map, t25)); - J.$indexSet$ax(t23.get$props(t22), _s32_1, t25); - t25 = _this._design_main_strand_paths$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, _s40_); - t21 = t9._as(t25 == null ? _null : t25); - J.$indexSet$ax(t23.get$props(t22), _s35_, t21); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s38_); - t21 = t8._as(t21 == null ? _null : t21).is_scaffold; - J.$indexSet$ax(t23.get$props(t22), _s38_1, t21); - J.$indexSet$ax(t23.get$props(t22), _s35_0, end_selected); - J.$indexSet$ax(t23.get$props(t22), _s33_, strand); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s64_); - t21 = H._asBoolS(t21 == null ? _null : t21); - J.$indexSet$ax(t23.get$props(t22), _s59_0, t21); - t22.set$context_menu_strand(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s47_); - t21 = H.boolConversionCheck(H._asBoolS(t21 == null ? _null : t21)) && end_selected; - J.$indexSet$ax(t23.get$props(t22), _s46_0, t21); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s59_1); - t21 = H._asBoolS(t21 == null ? _null : t21); - J.$indexSet$ax(t23.get$props(t22), _s54_, t21); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s61_0); - t21 = t7._as(J.$index$asx(t6._as(t21 == null ? _null : t21)._map$_map, t24)); - J.$indexSet$ax(t23.get$props(t22), _s45_, t21); - t21 = _this._design_main_strand_paths$_cachedTypedProps; - t21 = t21.get$props(t21).$index(0, _s64_); - t21 = H._asBoolS(t21 == null ? _null : t21); - J.$indexSet$ax(t23.get$props(t22), _s59_0, t21); + t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = substrand.adjacent_domain.helix; + t24 = t21.get$helices()._map$_map.$index(0, t24); + t24.toString; + t24 = t21.get$groups()._map$_map.$index(0, t24.group); + t24.toString; + t21 = t21.get$geometry(t21); + t26 = t24.position; + t27 = t21.__nm_to_svg_pixels; + t21 = t27 == null ? t21.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t21) : t27; + translate_svg = A.Position3D_Position3D(t26.x * t21, t26.y * t21, t26.z * t21); + J.$indexSet$ax(t23.get$props(t22), _s36_, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t24.pitch) + ")"); + J.$indexSet$ax(t23.get$props(t22), _s39_, t11); + J.$indexSet$ax(t23.get$props(t22), _s32_0, t20); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, _s33_0); + t20 = t9._as(t24 == null ? _null : t24)._map$_map.$index(0, t20.group); + t20.toString; + t10._as(t20); + J.$indexSet$ax(t23.get$props(t22), _s32_1, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s35_); + t20 = t8._as(t20 == null ? _null : t20); + J.$indexSet$ax(t23.get$props(t22), _s35_0, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s33_); + t20 = t7._as(t20 == null ? _null : t20).is_scaffold; + J.$indexSet$ax(t23.get$props(t22), _s38_, t20); + J.$indexSet$ax(t23.get$props(t22), _s35_1, end_selected); + J.$indexSet$ax(t23.get$props(t22), _s33_1, strand); + t22.set$context_menu_strand(_this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$context_menu_strand()); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s42_); + t20 = A.boolConversionCheck(A._asBoolS(t20 == null ? _null : t20)) && end_selected; + J.$indexSet$ax(t23.get$props(t22), _s46_, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s54_); + t20 = A._asBoolS(t20 == null ? _null : t20); + J.$indexSet$ax(t23.get$props(t22), _s54_0, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s56_0); + t20 = t5._as(t20 == null ? _null : t20)._map$_map.$index(0, t25); + t20.toString; + t6._as(t20); + J.$indexSet$ax(t23.get$props(t22), _s45_, t20); + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t20 = t20.get$props(t20).$index(0, _s59_); + t20 = A._asBoolS(t20 == null ? _null : t20); + J.$indexSet$ax(t23.get$props(t22), _s59_0, t20); t23 = t23.get$props(t22); J.$indexSet$ax(t23, _s3_, key); - C.JSArray_methods.add$1(ends, t22.call$0()); + B.JSArray_methods.add$1(ends, t22.call$0()); } } - ++i; } - for (t7 = J.get$iterator$ax(strand.get$crossovers()._list), t8 = type$.legacy_BuiltSet_legacy_Crossover, idx_crossover = 0; t7.moveNext$0();) { - t11 = t7.get$current(t7); - prev_ss = t5._as(t2.$index(t1, t11.prev_domain_idx)); - next_ss = t5._as(t2.$index(t1, t11.next_domain_idx)); - t11 = prev_ss.helix; - t12 = _this._design_main_strand_paths$_cachedTypedProps; + for (t6 = strand.get$crossovers()._list, t6 = new J.ArrayIterator(t6, t6.length, A._arrayInstanceType(t6)._eval$1("ArrayIterator<1>")), t7 = type$.BuiltSet_Crossover, idx_crossover = 0; t6.moveNext$0();) { + t10 = t6.__interceptors$_current; + t11 = t10.prev_domain_idx; + t12 = t1.length; + if (!(t11 >= 0 && t11 < t12)) + return A.ioore(t1, t11); + prev_domain = t4._as(t1[t11]); + t10 = t10.next_domain_idx; + if (!(t10 >= 0 && t10 < t12)) + return A.ioore(t1, t10); + next_domain = t4._as(t1[t10]); + t10 = prev_domain.helix; + t12 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s51_); + t11 = t2._as(t12 == null ? _null : t12); + t12 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; t12 = t12.get$props(t12).$index(0, _s56_); - t12 = t3._as(t12 == null ? _null : t12); - t13 = _this._design_main_strand_paths$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s61_); - draw_prev_ss = !H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11); - t12 = next_ss.helix; - t13 = _this._design_main_strand_paths$_cachedTypedProps; + draw_prev_domain = !A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, t10); + t11 = next_domain.helix; + t12 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s51_); + t12 = t2._as(t12 == null ? _null : t12); + t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; t13 = t13.get$props(t13).$index(0, _s56_); - t13 = t3._as(t13 == null ? _null : t13); - t14 = _this._design_main_strand_paths$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, _s61_); - draw_next_ss = !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || t13._set.contains$1(0, t12); - if (draw_prev_ss && draw_next_ss) { - t13 = strand.__crossovers; - if (t13 == null) { - t13 = E.Strand.prototype.get$crossovers.call(strand); - strand.set$__crossovers(t13); + draw_next_domain = !A.boolConversionCheck(A._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11); + if (draw_prev_domain && draw_next_domain) { + t12 = strand.__crossovers; + if (t12 == null) { + t12 = A.Strand.prototype.get$crossovers.call(strand); + strand.set$__crossovers(t12); } idx_crossover0 = idx_crossover + 1; - crossover = J.$index$asx(t13._list, idx_crossover); - t13 = Q.design_main_strand_crossover___$DesignMainStrandCrossover$closure().call$0(); - t13.toString; - t14 = J.getInterceptor$x(t13); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCoc, crossover); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCost, strand); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s39_); - t15 = t4._as(t4._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), _s39_, t15); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s38_0); - t15 = t10._as(t10._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), _s38_0, t15); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMStPasec); - t15 = t8._as(t15 == null ? _null : t15)._set.contains$1(0, crossover); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCose, t15); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop, prev_ss); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon, next_ss); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s40_); - t15 = t9._as(t15 == null ? _null : t15); - J.$indexSet$ax(t14.get$props(t13), _s40_, t15); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s64_); - t15 = H._asBoolS(t15 == null ? _null : t15); - J.$indexSet$ax(t14.get$props(t13), _s68_, t15); - t15 = _this._design_main_strand_paths$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s61_0); - t11 = J.$index$asx(t6._as(t15 == null ? _null : t15)._map$_map, t11).y; - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop_, t11); - t11 = _this._design_main_strand_paths$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s61_0); - t11 = J.$index$asx(t6._as(t11 == null ? _null : t11)._map$_map, t12).y; - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon_, t11); - t11 = _this._design_main_strand_paths$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s64_); - t11 = H._asBoolS(t11 == null ? _null : t11); - J.$indexSet$ax(t14.get$props(t13), _s68_, t11); - t11 = "crossover-paths-" + (idx_crossover0 - 1); - t14 = t14.get$props(t13); - J.$indexSet$ax(t14, _s3_, t11); - C.JSArray_methods.add$1(paths, t13.call$0()); + t12 = t12._list; + if (!(idx_crossover < t12.length)) + return A.ioore(t12, idx_crossover); + crossover = t12[idx_crossover]; + t12 = A.design_main_strand_crossover___$DesignMainStrandCrossover$closure().call$0(); + t12.toString; + t13 = J.getInterceptor$x(t12); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.crossover", crossover); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.strand", strand); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s34_); + t14 = t3._as(t3._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.helices", t14); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s33_0); + t14 = t9._as(t9._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.groups", t14); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, string$.DesignMStPasec); + t14 = t7._as(t14 == null ? _null : t14)._set.contains$1(0, crossover); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.selected", t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStCop, prev_domain); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStCon, next_domain); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s35_); + t14 = t8._as(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandCrossoverProps.geometry", t14); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s56_0); + t10 = t5._as(t14 == null ? _null : t14)._map$_map.$index(0, t10).y; + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStCop_, t10); + t10 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s56_0); + t10 = t5._as(t10 == null ? _null : t10)._map$_map.$index(0, t11).y; + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStCon_, t10); + t10 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s59_); + t10 = A._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMStCor, t10); + t13 = t13.get$props(t12); + J.$indexSet$ax(t13, _s3_, "crossover-paths-" + (idx_crossover0 - 1)); + B.JSArray_methods.add$1(paths, t12.call$0()); idx_crossover = idx_crossover0; } } - return C.JSArray_methods.$add(paths, ends); + return B.JSArray_methods.$add(paths, ends); } }; - B.$DesignMainStrandPathsComponentFactory_closure.prototype = { - call$0: function() { - return new B._$DesignMainStrandPathsComponent(null); + A.$DesignMainStrandPathsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandPathsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 487 + $signature: 498 }; - B._$$DesignMainStrandPathsProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandPathsProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandPathsComponentFactory() : t1; - } + }, + $isTransformByHelixGroupPropsMixin: 1 }; - B._$$DesignMainStrandPathsProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandPathsProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strand_paths$_props; } }; - B._$$DesignMainStrandPathsProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandPathsProps$JsMap.prototype = { + get$props(_) { return this._design_main_strand_paths$_props; } }; - B._$DesignMainStrandPathsComponent.prototype = { - get$props: function(_) { - return this._design_main_strand_paths$_cachedTypedProps; + A._$DesignMainStrandPathsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strand_paths$_cachedTypedProps = B._$$DesignMainStrandPathsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandPathsComponent__cachedTypedProps_A = A._$$DesignMainStrandPathsProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandPaths"; }, - get$$$defaultConsumedProps: function() { - return C.Map_wo7xB.get$values(C.Map_wo7xB); + get$$$defaultConsumedProps() { + return B.Map_l36TA.get$values(B.Map_l36TA); } }; - B.$DesignMainStrandPathsPropsMixin.prototype = { - get$strand: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.strand"); + A.$DesignMainStrandPathsProps.prototype = { + get$strand() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.Strand._as(t1); }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.helices"); + get$helices() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsProps.helices"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.helices", value); + return type$.BuiltMap_int_Helix._as(t1); }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.groups"); + get$groups() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsProps.groups"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + return type$.BuiltMap_String_HelixGroup._as(t1); }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.groups", value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.geometry"); + get$geometry(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.geometry", value); + return type$.Geometry._as(t1); }, - get$context_menu_strand: function() { + get$context_menu_strand() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPac); if (t1 == null) t1 = null; - return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); - } - }; - B._DesignMainStrandPathsComponent_UiComponent2_PureComponent.prototype = {}; - B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; - B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin.prototype = { - set$helices: function(helices) { - this.DesignMainStrandPathsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.DesignMainStrandPathsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.DesignMainStrandPathsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.DesignMainStrandPathsPropsMixin_helices; - }, - get$groups: function() { - return this.DesignMainStrandPathsPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandPathsPropsMixin_geometry; - } - }; - B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin.prototype = {}; - B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; + return type$.List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType._as(t1); } }; - B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; - E.ConnectedDesignMainStrands_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, t5, t6; - type$.legacy_AppState._as(state); - t1 = E.design_main_strands___$DesignMainStrands$closure().call$0(); - t2 = state.design; - t3 = t2.strands; - t1.toString; - type$.legacy_BuiltList_legacy_Strand._as(t3); - t4 = J.getInterceptor$x(t1); - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.strands", t3); - t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.helices", t3); - t3 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.groups", t3); - t3 = state.ui_state; - t5 = t3.storables; - t6 = type$.legacy_BuiltSet_legacy_int._as(t5.side_selected_helix_idxs); - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPsi, t6); - t6 = t3.selectables_store; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.selectables_store", t6); - t6 = t3.potential_crossover_is_drawing; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdr, t6); - t6 = t3.dna_ends_are_moving; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.moving_dna_ends", t6); - t3 = t3.dna_assign_options; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdn, t3); - t3 = t5.only_display_selected_helices; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPo, t3); - t3 = t5.show_dna; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_dna", t3); - t3 = t5.show_modifications; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshm, t3); - t3 = t5.modification_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPmf, t3); - t3 = t5.modification_display_connector; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPmd, t3); - t3 = t5.show_strand_names; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_strand_names", t3); - t3 = t5.show_strand_labels; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshs, t3); - t3 = t5.show_domain_names; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_domain_names", t3); - t3 = t5.show_domain_labels; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshd, t3); - t3 = t5.strand_name_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPstn, t3); - t3 = t5.strand_label_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPstl, t3); - t3 = t5.domain_name_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdon, t3); - t3 = t5.domain_label_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdol, t3); - t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPh, t3); - t3 = t5.display_reverse_DNA_right_side_up; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdi, t3); - t2 = t2.geometry; - J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.geometry", t2); - t5 = t5.retain_strand_color_on_selection; - J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPr, t5); - return t1; - }, - $signature: 488 - }; - E.DesignMainStrandsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainStrandsProps_helices; + A._DesignMainStrandPathsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps.prototype = {}; + A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps.prototype = {}; + A.ConnectedDesignMainStrands_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_design_main_strands_props(A.design_main_strands___$DesignMainStrands$closure().call$0(), state); }, - get$groups: function() { - return this.DesignMainStrandsProps_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandsProps_geometry; - } + $signature: 499 }; - E.DesignMainStrandsComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, helices_used_in_strand_mutable, t22, t23, t24, helices_used_in_strand, group_names_in_strand, t25, groups_in_strand, selected_ends_in_strand, selected_crossovers_in_strand, selected_loopouts_in_strand, selected_extensions_in_strand, selected_domains_in_strand, selected_deletions_in_strand, selected_insertions_in_strand, selected_modifications_in_strand, _this = this, _null = null, + A.DesignMainStrandsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandsComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, key, t22, helices_used_in_strand_mutable, t23, t24, t25, helices_used_in_strand, group_names_in_strand, t26, groups_in_strand, selected_ends_in_strand, selected_crossovers_in_strand, selected_loopouts_in_strand, selected_extensions_in_strand, selected_domains_in_strand, selected_deletions_in_strand, selected_insertions_in_strand, selected_modifications_in_strand, key0, _this = this, _null = null, _s40_ = "DesignMainStrandsProps.selectables_store", _s52_ = string$.DesignMStsPo, - elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), - t1 = _this._design_main_strands$_cachedTypedProps; + elts = A._setArrayType([], type$.JSArray_ReactElement), + t1 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "DesignMainStrandsProps.strands"); if (t1 == null) t1 = _null; - t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t1)._list); - t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; - t3 = type$.legacy_Geometry; - t4 = type$.legacy_DNAAssignOptions; - t5 = type$.legacy_SelectablesStore; - t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; - t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; - t8 = type$.legacy_BuiltSet_legacy_DNAEnd; - t9 = type$.legacy_BuiltSet_legacy_Crossover; - t10 = type$.legacy_BuiltSet_legacy_Loopout; - t11 = type$.legacy_BuiltSet_legacy_Extension; - t12 = type$.legacy_BuiltSet_legacy_Domain; - t13 = type$.legacy_BuiltSet_legacy_SelectableDeletion; - t14 = type$.legacy_BuiltSet_legacy_SelectableInsertion; - t15 = type$.legacy_BuiltSet_legacy_SelectableModification; - t16 = type$.legacy_BuiltSet_legacy_int; - t17 = type$.legacy_String; - t18 = type$.legacy_HelixGroup; - t19 = type$.legacy_int; - t20 = type$.legacy_Helix; - for (; t1.moveNext$0();) { - t21 = t1.get$current(t1); - helices_used_in_strand_mutable = P.LinkedHashMap_LinkedHashMap$_empty(t19, t20); - t22 = t21.__domains; - if (t22 == null) { - t22 = E.Strand.prototype.get$domains.call(t21); - t21.set$__domains(t22); - } - t22 = J.get$iterator$ax(t22._list); - for (; t22.moveNext$0();) { - t23 = t22.get$current(t22).helix; - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.helices"); - helices_used_in_strand_mutable.$indexSet(0, t23, J.$index$asx(t6._as(t24 == null ? _null : t24)._map$_map, t23)); + t1 = type$.BuiltList_Strand._as(t1)._list; + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + t2 = type$.BuiltMap_of_int_and_Point_double; + t3 = type$.Geometry; + t4 = type$.DNAAssignOptions; + t5 = type$.SelectablesStore; + t6 = type$.BuiltMap_int_Helix; + t7 = type$.BuiltMap_String_HelixGroup; + t8 = type$.BuiltSet_DNAEnd; + t9 = type$.BuiltSet_Crossover; + t10 = type$.BuiltSet_Loopout; + t11 = type$.BuiltSet_Extension; + t12 = type$.BuiltSet_Domain; + t13 = type$.BuiltSet_SelectableDeletion; + t14 = type$.BuiltSet_SelectableInsertion; + t15 = type$.BuiltSet_SelectableModification; + t16 = type$.nullable_BuiltSet_int; + t17 = type$.String; + t18 = type$.HelixGroup; + t19 = type$.int; + t20 = type$.Helix; + t21 = type$.BuiltSet_int; + key = 0; + for (; t1.moveNext$0(); key = key0) { + t22 = t1.__interceptors$_current; + helices_used_in_strand_mutable = A.LinkedHashMap_LinkedHashMap$_empty(t19, t20); + t23 = t22.__domains; + if (t23 == null) { + t23 = A.Strand.prototype.get$domains.call(t22); + t22.set$__domains(t23); + } + t23 = t23._list; + t23 = new J.ArrayIterator(t23, t23.length, A._arrayInstanceType(t23)._eval$1("ArrayIterator<1>")); + for (; t23.moveNext$0();) { + t24 = t23.__interceptors$_current.helix; + t25 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, "DesignMainStrandsProps.helices"); + t25 = t6._as(t25 == null ? _null : t25)._map$_map.$index(0, t24); + t25.toString; + helices_used_in_strand_mutable.$indexSet(0, t24, t25); } helices_used_in_strand = A.BuiltMap_BuiltMap$of(helices_used_in_strand_mutable, t19, t20); - if (helices_used_in_strand._values == null) - helices_used_in_strand.set$_values(J.get$values$x(helices_used_in_strand._map$_map)); - t22 = helices_used_in_strand._values; - t22.toString; - group_names_in_strand = J.map$1$1$ax(t22, new E.DesignMainStrandsComponent_render_closure(), t17); - t22 = P.LinkedHashMap_LinkedHashMap$_empty(t17, t18); - for (t23 = group_names_in_strand.get$iterator(group_names_in_strand); t23.moveNext$0();) { - t24 = t23.get$current(t23); - t25 = _this._design_main_strands$_cachedTypedProps; - t25 = t25.get$props(t25).$index(0, "DesignMainStrandsProps.groups"); - t22.$indexSet(0, t24, J.$index$asx(t7._as(t25 == null ? _null : t25)._map$_map, t24)); - } - groups_in_strand = A.BuiltMap_BuiltMap$of(t22, t17, t18); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_ends_in_strand = t5._as(t22 == null ? _null : t22).selected_ends_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_crossovers_in_strand = t5._as(t22 == null ? _null : t22).selected_crossovers_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_loopouts_in_strand = t5._as(t22 == null ? _null : t22).selected_loopouts_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_extensions_in_strand = t5._as(t22 == null ? _null : t22).selected_extensions_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_domains_in_strand = t5._as(t22 == null ? _null : t22).selected_domains_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_deletions_in_strand = t5._as(t22 == null ? _null : t22).selected_deletions_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_insertions_in_strand = t5._as(t22 == null ? _null : t22).selected_insertions_in_strand$1(t21); - t22 = _this._design_main_strands$_cachedTypedProps; - t22 = t22.get$props(t22).$index(0, _s40_); - selected_modifications_in_strand = t5._as(t22 == null ? _null : t22).selected_modifications_in_strand$1(t21); - t22 = M.design_main_strand___$DesignMainStrand$closure().call$0(); - t22.toString; - t23 = J.getInterceptor$x(t22); - J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.strand", t21); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s52_); - if (H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24))) { - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPsi); - t24 = t16._as(t24 == null ? _null : t24); + if (helices_used_in_strand._values == null) { + t23 = helices_used_in_strand._map$_map; + helices_used_in_strand.set$_values(t23.get$values(t23)); + } + t23 = helices_used_in_strand._values; + t23.toString; + t24 = A._instanceType(t23); + group_names_in_strand = A.MappedIterable_MappedIterable(t23, t24._eval$1("String(Iterable.E)")._as(new A.DesignMainStrandsComponent_render_closure()), t24._eval$1("Iterable.E"), t17); + t24 = A.LinkedHashMap_LinkedHashMap$_empty(t17, t18); + for (t23 = A._instanceType(group_names_in_strand), t23 = new A.MappedIterator(J.get$iterator$ax(group_names_in_strand.__internal$_iterable), group_names_in_strand._f, t23._eval$1("@<1>")._bind$1(t23._rest[1])._eval$1("MappedIterator<1,2>")); t23.moveNext$0();) { + t25 = t23.__internal$_current; + t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t26 = t26.get$props(t26).$index(0, "DesignMainStrandsProps.groups"); + t26 = t7._as(t26 == null ? _null : t26)._map$_map.$index(0, t25); + t26.toString; + t24.$indexSet(0, t25, t26); + } + groups_in_strand = A.BuiltMap_BuiltMap$of(t24, t17, t18); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_ends_in_strand = t5._as(t23 == null ? _null : t23).selected_ends_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_crossovers_in_strand = t5._as(t23 == null ? _null : t23).selected_crossovers_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_loopouts_in_strand = t5._as(t23 == null ? _null : t23).selected_loopouts_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_extensions_in_strand = t5._as(t23 == null ? _null : t23).selected_extensions_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_domains_in_strand = t5._as(t23 == null ? _null : t23).selected_domains_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_deletions_in_strand = t5._as(t23 == null ? _null : t23).selected_deletions_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_insertions_in_strand = t5._as(t23 == null ? _null : t23).selected_insertions_in_strand$1(t22); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t23 = t23.get$props(t23).$index(0, _s40_); + selected_modifications_in_strand = t5._as(t23 == null ? _null : t23).selected_modifications_in_strand$1(t22); + t23 = A.design_main_strand___$DesignMainStrand$closure().call$0(); + t23.toString; + t24 = J.getInterceptor$x(t23); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.strand", t22); + t25 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, _s52_); + if (A.boolConversionCheck(A._asBoolS(t25 == null ? _null : t25))) { + t25 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, string$.DesignMStsPsi); + t25 = t21._as(t25 == null ? _null : t25); } else - t24 = _null; - t16._as(t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsi, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s40_); - t24 = t5._as(t24 == null ? _null : t24).selected_items._set.contains$1(0, t21); - J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.selected", t24); + t25 = _null; + t16._as(t25); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsi, t25); + t25 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t25 = t25.get$props(t25).$index(0, _s40_); + t22 = t5._as(t25 == null ? _null : t25).selected_items._set.contains$1(0, t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.selected", t22); t6._as(helices_used_in_strand); - J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.helices", helices_used_in_strand); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.helices", helices_used_in_strand); t7._as(groups_in_strand); - J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.groups", groups_in_strand); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.groups", groups_in_strand); t8._as(selected_ends_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrseen, selected_ends_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrseen, selected_ends_in_strand); t9._as(selected_crossovers_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsec, selected_crossovers_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsec, selected_crossovers_in_strand); t10._as(selected_loopouts_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsel, selected_loopouts_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsel, selected_loopouts_in_strand); t11._as(selected_extensions_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrseex, selected_extensions_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrseex, selected_extensions_in_strand); t12._as(selected_domains_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsedo, selected_domains_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsedo, selected_domains_in_strand); t13._as(selected_deletions_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsede, selected_deletions_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsede, selected_deletions_in_strand); t14._as(selected_insertions_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsei, selected_insertions_in_strand); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsei, selected_insertions_in_strand); t15._as(selected_modifications_in_strand); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsem, selected_modifications_in_strand); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdr); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdr, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.moving_dna_ends"); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmv, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdn); - t24 = t4._as(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdn, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, _s52_); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPro, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_dna"); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.show_dna", t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshm); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshm, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_strand_names"); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshsn, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshs); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshsl, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_domain_names"); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshdn, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshd); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshdl, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPstn); - t24 = H._asNumS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrstn, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPstl); - t24 = H._asNumS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrstl, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdon); - t24 = H._asNumS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdon, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdol); - t24 = H._asNumS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdol, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPmf); - t24 = H._asNumS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmdf, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPmd); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmdd, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.geometry"); - t24 = t3._as(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.geometry", t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPh); - t24 = t2._as(t2._as(t24 == null ? _null : t24)); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrh, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdi); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdi, t24); - t24 = _this._design_main_strands$_cachedTypedProps; - t24 = t24.get$props(t24).$index(0, string$.DesignMStsPr); - t24 = H._asBoolS(t24 == null ? _null : t24); - J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrr, t24); - t21 = t21.toString$0(0); - t23 = t23.get$props(t22); - J.$indexSet$ax(t23, "key", t21); - C.JSArray_methods.add$1(elts, t22.call$0()); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrsem, selected_modifications_in_strand); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPdr); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrdr, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, "DesignMainStrandsProps.moving_dna_ends"); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.moving_dna_ends", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPdn); + t22 = t4._as(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.dna_assign_options", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, _s52_); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPro, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, "DesignMainStrandsProps.show_dna"); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_dna", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPshm); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_modifications", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, "DesignMainStrandsProps.show_strand_names"); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_strand_names", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPshs); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_strand_labels", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, "DesignMainStrandsProps.show_domain_names"); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_domain_names", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPshd); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.show_domain_labels", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPstn); + t22 = A._asDoubleS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrstn, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPstl); + t22 = A._asDoubleS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrstl, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPdon); + t22 = A._asDoubleS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrdon, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPdol); + t22 = A._asDoubleS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrdol, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPmf); + t22 = A._asDoubleS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrmf, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPmd); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrmd, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, "DesignMainStrandsProps.geometry"); + t22 = t3._as(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandProps.geometry", t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPh); + t22 = t2._as(t2._as(t22 == null ? _null : t22)); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrh, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPdi); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrdi, t22); + t22 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t22 = t22.get$props(t22).$index(0, string$.DesignMStsPr); + t22 = A._asBoolS(t22 == null ? _null : t22); + J.$indexSet$ax(t24.get$props(t23), string$.DesignMStPrr, t22); + key0 = key + 1; + t24 = t24.get$props(t23); + J.$indexSet$ax(t24, "key", B.JSInt_methods.toString$0(key)); + B.JSArray_methods.add$1(elts, t23.call$0()); } t1 = A.SvgProps$($.$get$g(), _null); t1.set$className(0, "strands-main-view"); return t1.call$1(elts); } }; - E.DesignMainStrandsComponent_render_closure.prototype = { - call$1: function(helix) { - return type$.legacy_Helix._as(helix).group; + A.DesignMainStrandsComponent_render_closure.prototype = { + call$1(helix) { + return type$.Helix._as(helix).group; }, - $signature: 489 + $signature: 500 }; - E.$DesignMainStrandsComponentFactory_closure.prototype = { - call$0: function() { - return new E._$DesignMainStrandsComponent(null); + A.$DesignMainStrandsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 490 + $signature: 501 }; - E._$$DesignMainStrandsProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandsProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandsComponentFactory() : t1; } }; - E._$$DesignMainStrandsProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandsProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strands$_props; } }; - E._$$DesignMainStrandsProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandsProps$JsMap.prototype = { + get$props(_) { return this._design_main_strands$_props; } }; - E._$DesignMainStrandsComponent.prototype = { - get$props: function(_) { - return this._design_main_strands$_cachedTypedProps; + A._$DesignMainStrandsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strands$_cachedTypedProps = E._$$DesignMainStrandsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandsComponent__cachedTypedProps_A = A._$$DesignMainStrandsProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrands"; }, - get$$$defaultConsumedProps: function() { - return C.Map_S7AjA.get$values(C.Map_S7AjA); - } - }; - E.$DesignMainStrandsProps.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - } - }; - E._DesignMainStrandsComponent_UiComponent2_PureComponent.prototype = {}; - E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps.prototype = { - get$helices: function() { - return this.DesignMainStrandsProps_helices; - }, - get$groups: function() { - return this.DesignMainStrandsProps_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandsProps_geometry; + get$$$defaultConsumedProps() { + return B.Map_S7wAg.get$values(B.Map_S7wAg); } }; - E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps.prototype = {}; - F.ConnectedDesignMainStrandsMoving_closure.prototype = { - call$1: function(state) { - var t1, t2, original_helices_view_order_inverse, t3, group_name, current_group, group_names, selected_strands_on_multiple_groups, t4, t5; - type$.legacy_AppState._as(state); - t1 = state.ui_state; - t2 = t1.strands_move; - if (t2 != null) { - original_helices_view_order_inverse = t2.original_helices_view_order_inverse; - t3 = state.design; - group_name = E.current_group_name_from_strands_move(t3, t2); - current_group = J.$index$asx(t3.groups._map$_map, group_name); - if (!t2.copy) { - group_names = t3.group_names_of_strands$1(t2.strands_moving); - if (group_names != null) { - t3 = group_names._set; - t3 = t3.get$length(t3); - if (typeof t3 !== "number") - return t3.$gt(); - selected_strands_on_multiple_groups = t3 > 1; - } else - selected_strands_on_multiple_groups = false; - } else - selected_strands_on_multiple_groups = false; - } else { - current_group = null; - original_helices_view_order_inverse = null; - selected_strands_on_multiple_groups = false; - } - t3 = F.design_main_strands_moving___$DesignMainStrandsMoving$closure().call$0(); - if (selected_strands_on_multiple_groups) - t2 = null; - t3.toString; - t4 = J.getInterceptor$x(t3); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMst, t2); - t2 = state.design; - t5 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); - J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.groups", t5); - type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(original_helices_view_order_inverse); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMo, original_helices_view_order_inverse); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMc, current_group); - t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); - J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.helices", t5); - t1 = type$.legacy_BuiltSet_legacy_int._as(t1.storables.side_selected_helix_idxs); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMsi, t1); - t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); - J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMh, t1); - t2 = t2.geometry; - J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.geometry", t2); - return t3; - }, - $signature: 491 - }; - F.DesignMainStrandsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignMainStrandsMovingProps_helices; - }, - get$groups: function() { - return this.DesignMainStrandsMovingProps_groups; + A.$DesignMainStrandsProps.prototype = {}; + A._DesignMainStrandsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps.prototype = {}; + A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps.prototype = {}; + A.ConnectedDesignMainStrandsMoving_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_design_main_strands_moving_props(A.design_main_strands_moving___$DesignMainStrandsMoving$closure().call$0(), state); }, - get$geometry: function(receiver) { - return this.DesignMainStrandsMovingProps_geometry; - } + $signature: 502 }; - F.DesignMainStrandsMovingComponent.prototype = { - render$0: function(_) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, _this = this, _null = null, - _s41_ = string$.DesignMStsMst; - if (_this._design_main_strands_moving$_cachedTypedProps.get$strands_move() == null || _this._design_main_strands_moving$_cachedTypedProps.get$current_group() == null) + A.DesignMainStrandsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandsMovingComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, key, t22, t23, t24, t25, key0, _this = this, _null = null, + t1 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, string$.DesignMStsMst); + if (t1 == null) + t1 = _null; + type$.nullable_StrandsMove._as(t1); + t2 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.DesignMStsMc); + if (t2 == null) + t2 = _null; + type$.nullable_HelixGroup._as(t2); + t3 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.DesignMStsMo); + if (t3 == null) + t3 = _null; + type$.nullable_BuiltMap_int_int._as(t3); + if (t1 == null || t2 == null || t3 == null) return _null; - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "strands-moving-main-view" + (_this._design_main_strands_moving$_cachedTypedProps.get$strands_move().allowable ? "" : " disallowed")); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t3 = J.get$iterator$ax(_this._design_main_strands_moving$_cachedTypedProps.get$strands_move().strands_moving._list), t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Geometry, t6 = type$.legacy_StrandsMove, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t9 = type$.legacy_BuiltSet_legacy_int, t10 = type$.legacy_HelixGroup, t11 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int; t3.moveNext$0();) { - t12 = t3.get$current(t3); - t13 = T.design_main_strand_moving___$DesignMainStrandMoving$closure().call$0(); - t13.toString; - t14 = J.getInterceptor$x(t13); - J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandMovingPropsMixin.strand", t12); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s41_); - t15 = t6._as(t15 == null ? _null : t15); - t16 = t15.groups; - t17 = t15.helices; - t18 = t15.current_address.helix_idx; - t17 = t17._map$_map; - t19 = J.getInterceptor$asx(t17); - t20 = t19.$index(t17, t18).group; - t20 = J.$index$asx(t16._map$_map, t20); - t16 = t20.__helices_view_order_inverse; - if (t16 == null) { - t16 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t20); - t20.set$__helices_view_order_inverse(t16); - } - t18 = J.$index$asx(t16._map$_map, t19.$index(t17, t18).idx); - t17 = t15.original_helices_view_order_inverse; - t15 = t15.original_address; - t15 = J.$index$asx(t17._map$_map, t15.helix_idx); - if (typeof t18 !== "number") - return t18.$sub(); - if (typeof t15 !== "number") - return H.iae(t15); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdv, t18 - t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMo); - t15 = t11._as(t11._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvo, t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMc); - t15 = t10._as(t15 == null ? _null : t15); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvc, t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s41_); - t15 = t6._as(t15 == null ? _null : t15); - t16 = t15.current_address.offset; - t15 = t15.original_address.offset; - if (typeof t16 !== "number") - return t16.$sub(); - if (typeof t15 !== "number") - return H.iae(t15); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdo, t16 - t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s41_); - t15 = t6._as(t15 == null ? _null : t15); - t16 = t15.current_address; - t15 = t15.original_address; - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdf, t16.forward != t15.forward); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMsi); - t15 = t9._as(t9._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvs, t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.helices"); - t15 = t8._as(t8._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.helices", t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.groups"); - t15 = t7._as(t7._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.groups", t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, _s41_); - t15 = t6._as(t15 == null ? _null : t15).allowable; - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMva, t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.geometry"); - t15 = t5._as(t15 == null ? _null : t15); - J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.geometry", t15); - t15 = _this._design_main_strands_moving$_cachedTypedProps; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMh); - t15 = t4._as(t4._as(t15 == null ? _null : t15)); - J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvh, t15); - t12 = J.toString$0$(t12); - t14 = t14.get$props(t13); - J.$indexSet$ax(t14, "key", t12); - t2.push(t13.call$0()); + t4 = A.SvgProps$($.$get$g(), _null); + t5 = t1.allowable; + t4.set$className(0, "strands-moving-main-view" + (t5 ? "" : " disallowed")); + t6 = A._setArrayType([], type$.JSArray_ReactElement); + for (t7 = t1.strands_moving._list, t7 = new J.ArrayIterator(t7, t7.length, A._arrayInstanceType(t7)._eval$1("ArrayIterator<1>")), t8 = type$.BuiltMap_of_int_and_Point_double, t9 = type$.Geometry, t10 = type$.BuiltMap_String_HelixGroup, t11 = type$.BuiltMap_int_Helix, t12 = type$.BuiltSet_int, t13 = t1.helices, t14 = t1.current_address, t15 = t14.helix_idx, t16 = t1.original_helices_view_order_inverse, t17 = t1.original_address, t18 = t17.helix_idx, t19 = type$.BuiltMap_int_int, t20 = t14.offset, t21 = t17.offset, t17 = t14.forward != t17.forward, t1 = t1.groups, key = 0; t7.moveNext$0(); key = key0) { + t14 = t7.__interceptors$_current; + t22 = A.design_main_strand_moving___$DesignMainStrandMoving$closure().call$0(); + t22.toString; + t23 = J.getInterceptor$x(t22); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.strand", t14); + t14 = t13._map$_map; + t24 = t14.$index(0, t15); + t24.toString; + t24 = t1._map$_map.$index(0, t24.group); + t24.toString; + t25 = t24.__helices_view_order_inverse; + if (t25 == null) { + t25 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t24); + t24.set$__helices_view_order_inverse(t25); + t24 = t25; + } else + t24 = t25; + t14 = t14.$index(0, t15); + t14.toString; + t14 = t24._map$_map.$index(0, t14.idx); + t14.toString; + t24 = t16._map$_map.$index(0, t18); + t24.toString; + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvdv, t14 - t24); + t19._as(t3); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvo, t3); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvc, t2); + if (typeof t20 !== "number") + return t20.$sub(); + if (typeof t21 !== "number") + return A.iae(t21); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.delta_offset", t20 - t21); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvdf, t17); + t24 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsMsi); + t14 = t12._as(t12._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvs, t14); + t14 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignMainStrandsMovingProps.helices"); + t14 = t11._as(t11._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.helices", t14); + t14 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignMainStrandsMovingProps.groups"); + t14 = t10._as(t10._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.groups", t14); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.allowable", t5); + t14 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignMainStrandsMovingProps.geometry"); + t14 = t9._as(t14 == null ? _null : t14); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandMovingProps.geometry", t14); + t14 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, string$.DesignMStsMh); + t14 = t8._as(t8._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStMvh, t14); + key0 = key + 1; + t23 = t23.get$props(t22); + J.$indexSet$ax(t23, "key", B.JSInt_methods.toString$0(key)); + t6.push(t22.call$0()); } - return t1.call$1(t2); + return t4.call$1(t6); } }; - F.$DesignMainStrandsMovingComponentFactory_closure.prototype = { - call$0: function() { - return new F._$DesignMainStrandsMovingComponent(null); + A.$DesignMainStrandsMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainStrandsMovingComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 492 + $signature: 503 }; - F._$$DesignMainStrandsMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainStrandsMovingProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainStrandsMovingComponentFactory() : t1; } }; - F._$$DesignMainStrandsMovingProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandsMovingProps$PlainMap.prototype = { + get$props(_) { return this._design_main_strands_moving$_props; } }; - F._$$DesignMainStrandsMovingProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainStrandsMovingProps$JsMap.prototype = { + get$props(_) { return this._design_main_strands_moving$_props; } }; - F._$DesignMainStrandsMovingComponent.prototype = { - get$props: function(_) { - return this._design_main_strands_moving$_cachedTypedProps; + A._$DesignMainStrandsMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_strands_moving$_cachedTypedProps = F._$$DesignMainStrandsMovingProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A = A._$$DesignMainStrandsMovingProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainStrandsMoving"; }, - get$$$defaultConsumedProps: function() { - return C.Map_6VgCs.get$values(C.Map_6VgCs); - } - }; - F.$DesignMainStrandsMovingProps.prototype = { - get$strands_move: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStsMst); - if (t1 == null) - t1 = null; - return type$.legacy_StrandsMove._as(t1); - }, - get$current_group: function() { - var t1 = J.$index$asx(this.get$props(this), string$.DesignMStsMc); - if (t1 == null) - t1 = null; - return type$.legacy_HelixGroup._as(t1); - }, - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - } - }; - F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps.prototype = { - get$helices: function() { - return this.DesignMainStrandsMovingProps_helices; - }, - get$groups: function() { - return this.DesignMainStrandsMovingProps_groups; - }, - get$geometry: function(receiver) { - return this.DesignMainStrandsMovingProps_geometry; + get$$$defaultConsumedProps() { + return B.Map_6V6J9.get$values(B.Map_6V6J9); } }; - F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps.prototype = {}; - B.DesignMainUnpairedInsertionDeletionsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - B.DesignMainUnpairedInsertionDeletionsComponent.prototype = { - render$0: function(_) { - var unpaired_components = this._create_unpaired_components$0(), - t1 = A.SvgProps$($.$get$g(), null); - t1.set$className(0, "mismatches-main-view"); - return t1.call$1(unpaired_components); - }, - _create_unpaired_components$0: function() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, ret, domain_components, t13, t14, helix, t15, t16, base_svg_pos, key, t17, t18, group, translate_svg, transform_str, _this = this, _null = null, + A.$DesignMainStrandsMovingProps.prototype = {}; + A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps.prototype = {}; + A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps.prototype = {}; + A.DesignMainUnpairedInsertionDeletionsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainUnpairedInsertionDeletionsComponent.prototype = { + render$0(_) { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, ret, domain_components, t12, t13, t14, t15, base_svg_pos, key, t16, t17, translate_svg, _this = this, _null = null, _s48_ = string$.DesignMUd, - t1 = type$.JSArray_legacy_ReactElement, - unpaired_components = H.setRuntimeTypeInfo([], t1), - keys = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_String); - for (t2 = J.get$iterator$ax(_this._design_main_unpaired_insertion_deletions$_cachedTypedProps.get$design().strands._list), t3 = type$.legacy_Design, t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.Point_legacy_num, t7 = type$.legacy_Point_legacy_num, t8 = type$.legacy_Address; t2.moveNext$0();) { - t9 = t2.get$current(t2); - t10 = t9.__domains; - if (t10 == null) { - t10 = E.Strand.prototype.get$domains.call(t9); - t9.set$__domains(t10); - t9 = t10; + t1 = type$.JSArray_ReactElement, + unpaired_components = A._setArrayType([], t1), + keys = A.LinkedHashSet_LinkedHashSet$_empty(type$.String), + t2 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$design().strands._list; + t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); + t3 = type$.Design; + t4 = type$.BuiltSet_int; + t5 = type$.BuiltMap_int_num; + t6 = type$.Point_double; + t7 = type$.Address; + for (; t2.moveNext$0();) { + t8 = t2.__interceptors$_current; + t9 = t8.__domains; + if (t9 == null) { + t9 = A.Strand.prototype.get$domains.call(t8); + t8.set$__domains(t9); + t8 = t9; } else - t9 = t10; - t9 = J.get$iterator$ax(t9._list); - for (; t9.moveNext$0();) { - t10 = t9.get$current(t9); - t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s48_); - t11 = t3._as(t11 == null ? _null : t11); - t12 = t11.__unpaired_insertion_deletion_map; - if (t12 == null) { - t12 = N.Design.prototype.get$unpaired_insertion_deletion_map.call(t11); - t11.set$__unpaired_insertion_deletion_map(t12); - t11 = t12; + t8 = t9; + t8 = t8._list; + t8 = new J.ArrayIterator(t8, t8.length, A._arrayInstanceType(t8)._eval$1("ArrayIterator<1>")); + for (; t8.moveNext$0();) { + t9 = t8.__interceptors$_current; + t10 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s48_); + t10 = t3._as(t10 == null ? _null : t10); + t11 = t10.__unpaired_insertion_deletion_map; + if (t11 == null) { + t11 = A.Design.prototype.get$unpaired_insertion_deletion_map.call(t10); + t10.set$__unpaired_insertion_deletion_map(t11); + t10 = t11; } else - t11 = t12; - ret = J.$index$asx(t11._map$_map, t10); + t10 = t11; + ret = t10._map$_map.$index(0, t9); if (ret == null) - ret = D.BuiltList_BuiltList$from(C.List_empty, t8); - domain_components = H.setRuntimeTypeInfo([], t1); - for (t11 = J.get$iterator$ax(ret._list); t11.moveNext$0();) { - t12 = t11.get$current(t11); - t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s48_); - t13 = t3._as(t13 == null ? _null : t13).helices; - t14 = t10.helix; - helix = J.$index$asx(t13._map$_map, t14); - t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMUo); - if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { - t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, string$.DesignMUs); - t13 = t4._as(t13 == null ? _null : t13); - t14 = helix.idx; - t14 = t13._set.contains$1(0, t14); - t13 = t14; + ret = A.BuiltList_BuiltList$from(B.List_empty, t7); + domain_components = A._setArrayType([], t1); + for (t10 = ret._list, t10 = new J.ArrayIterator(t10, t10.length, A._arrayInstanceType(t10)._eval$1("ArrayIterator<1>")); t10.moveNext$0();) { + t11 = t10.__interceptors$_current; + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s48_); + t12 = t3._as(t12 == null ? _null : t12).helices; + t13 = t9.helix; + t13 = t12._map$_map.$index(0, t13); + t13.toString; + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMUo); + if (A.boolConversionCheck(A._asBoolS(t12 == null ? _null : t12))) { + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignMUs); + t12 = t4._as(t12 == null ? _null : t12)._set.contains$1(0, t13.idx); } else - t13 = true; - if (t13) { - t13 = t12.offset; - t14 = t10.forward; - t15 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t12 = true; + if (t12) { + t12 = t11.offset; + t14 = t9.forward; + t15 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; t15 = t15.get$props(t15).$index(0, string$.DesignMUh); - t15 = t5._as(t15 == null ? _null : t15); - t16 = helix.idx; - base_svg_pos = helix.svg_base_pos$3(t13, t14, J.$index$asx(t15._map$_map, t16)); - t16 = t10.__insertion_offset_to_length; - if (t16 == null) { - t15 = G.Domain.prototype.get$insertion_offset_to_length.call(t10); - t10.set$__insertion_offset_to_length(t15); - } else - t15 = t16; - t13 = J.$index$asx(t15._map$_map, t13); + t15 = t5._as(t15 == null ? _null : t15)._map$_map.$index(0, t13.idx); + t15.toString; + base_svg_pos = t13.svg_base_pos$3(t12, t14, t15); + t15 = t9.__insertion_offset_to_length; + if (t15 == null) { + t15 = A.Domain.prototype.get$insertion_offset_to_length.call(t9); + t9.set$__insertion_offset_to_length(t15); + } + t12 = t15._map$_map.$index(0, t12); key = base_svg_pos.toString$0(0) + ";" + t14; if (!keys.contains$1(0, key)) { keys.add$1(0, key); - t15 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); - if (t13 != null) { - t13 = helix.geometry; - t16 = t13.__base_height_svg; - t13 = t16 == null ? t13.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t13) : t16; - t12 = H.boolConversionCheck(t12.forward) ? 1 : -1; - t12 = t13 * 2 * t12; + t15 = A.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + if (t12 != null) { + t12 = t13.geometry; + t13 = t12.__base_height_svg; + t12 = t13 == null ? t12.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t12) : t13; + t11 = A.boolConversionCheck(t11.forward) ? 1 : -1; + t11 = t12 * 2 * t11; } else - t12 = 0; - t13 = base_svg_pos.$ti; - t13._as(new P.Point(0, t12, t6)); - t16 = base_svg_pos.x; - if (typeof t16 !== "number") - return t16.$add(); - t17 = t13._precomputed1; - t16 = t17._as(t16 + 0); - t18 = base_svg_pos.y; - if (typeof t18 !== "number") - return t18.$add(); - t12 = t17._as(t18 + t12); + t11 = 0; + t12 = base_svg_pos.$ti; + t12._as(new A.Point(0, t11, t6)); + t13 = base_svg_pos.x; + if (typeof t13 !== "number") + return t13.$add(); + t16 = t12._precomputed1; + t13 = t16._as(t13 + 0); + t17 = base_svg_pos.y; + if (typeof t17 !== "number") + return t17.$add(); + t11 = t16._as(t17 + t11); t15.toString; - t13 = t7._as(new P.Point(t16, t12, t13)); - t12 = J.getInterceptor$x(t15); - J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.base_svg_pos", t13); - t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s48_); - t13 = t3._as(t13 == null ? _null : t13).geometry; - J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.geometry", t13); - J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.forward", t14); - J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.color", "green"); - t12 = t12.get$props(t15); - J.$indexSet$ax(t12, "key", key); - C.JSArray_methods.add$1(domain_components, t15.call$0()); + t12 = t6._as(new A.Point(t13, t11, t12)); + t11 = J.getInterceptor$x(t15); + J.$indexSet$ax(t11.get$props(t15), "DesignMainWarningStarProps.base_svg_pos", t12); + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s48_); + t12 = t3._as(t12 == null ? _null : t12).geometry; + J.$indexSet$ax(t11.get$props(t15), "DesignMainWarningStarProps.geometry", t12); + J.$indexSet$ax(t11.get$props(t15), "DesignMainWarningStarProps.forward", t14); + J.$indexSet$ax(t11.get$props(t15), "DesignMainWarningStarProps.color", "green"); + t11 = t11.get$props(t15); + J.$indexSet$ax(t11, "key", key); + B.JSArray_methods.add$1(domain_components, t15.call$0()); } } } - t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s48_); - t11 = t3._as(t11 == null ? _null : t11).helices; - t12 = t10.helix; - helix = J.$index$asx(t11._map$_map, t12); - t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, _s48_); - t11 = t3._as(t11 == null ? _null : t11).groups; - t13 = helix.group; - group = J.$index$asx(t11._map$_map, t13); - t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; - t13 = t13.get$props(t13).$index(0, _s48_); - t11 = t3._as(t13 == null ? _null : t13).geometry; - t13 = group.position; - t14 = t11.__nm_to_svg_pixels; - t11 = t14 == null ? t11.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t14; - translate_svg = X.Position3D_Position3D(t13.x * t11, t13.y * t11, t13.z * t11); - transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; + t10 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s48_); + t10 = t3._as(t10 == null ? _null : t10).helices; + t11 = t9.helix; + t10 = t10._map$_map.$index(0, t11); + t10.toString; + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s48_); + t10 = t3._as(t12 == null ? _null : t12).groups._map$_map.$index(0, t10.group); + t10.toString; + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s48_); + t12 = t3._as(t12 == null ? _null : t12).geometry; + t13 = t10.position; + t14 = t12.__nm_to_svg_pixels; + t12 = t14 == null ? t12.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t12) : t14; + translate_svg = A.Position3D_Position3D(t13.x * t12, t13.y * t12, t13.z * t12); if (domain_components.length !== 0) { - t11 = $.$get$g(); - t13 = {}; - t13 = new L.JsBackedMap(t13); - t11 = new A.SvgProps(t11, t13, _null, _null); - t11.get$$$isClassGenerated(); + t12 = A.SvgProps$($.$get$g(), _null); + t13 = t12.props; t14 = t13.jsObject; - t14.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); - t14.className = F.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain"); - t12 = "domain-H" + t12 + "-S" + t10.start + "-E" + t10.end + "-"; - t12 += t10.forward ? "forward" : "reverse"; - t13.$indexSet(0, "key", t12); - C.JSArray_methods.add$1(unpaired_components, t11.call$1(domain_components)); + t14.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t10.pitch) + ")"); + t14.className = A.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain"); + t10 = t9.start; + t14 = t9.end; + t9 = t9.forward ? "forward" : "reverse"; + t13.$indexSet(0, "key", "domain-H" + t11 + "-S" + t10 + "-E" + t14 + "-" + t9); + B.JSArray_methods.add$1(unpaired_components, t12.call$1(domain_components)); } } } - return unpaired_components; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "mismatches-main-view"); + return t1.call$1(unpaired_components); } }; - B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure.prototype = { - call$0: function() { - return new B._$DesignMainUnpairedInsertionDeletionsComponent(null); + A.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainUnpairedInsertionDeletionsComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 493 + $signature: 504 }; - B._$$DesignMainUnpairedInsertionDeletionsProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainUnpairedInsertionDeletionsProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainUnpairedInsertionDeletionsComponentFactory() : t1; } }; - B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap.prototype = { + get$props(_) { return this._design_main_unpaired_insertion_deletions$_props; } }; - B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap.prototype = { + get$props(_) { return this._design_main_unpaired_insertion_deletions$_props; } }; - B._$DesignMainUnpairedInsertionDeletionsComponent.prototype = { - get$props: function(_) { - return this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + A._$DesignMainUnpairedInsertionDeletionsComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_unpaired_insertion_deletions$_cachedTypedProps = B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A = A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainUnpairedInsertionDeletions"; }, - get$$$defaultConsumedProps: function() { - return C.Map_Yqc7R.get$values(C.Map_Yqc7R); + get$$$defaultConsumedProps() { + return B.Map_YqOzp.get$values(B.Map_YqOzp); } }; - B.$DesignMainUnpairedInsertionDeletionsProps.prototype = { - get$design: function() { + A.$DesignMainUnpairedInsertionDeletionsProps.prototype = { + get$design() { var t1 = J.$index$asx(this.get$props(this), string$.DesignMUd); if (t1 == null) t1 = null; - return type$.legacy_Design._as(t1); + return type$.Design._as(t1); } }; - B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent.prototype = {}; - B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps.prototype = {}; - B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps.prototype = {}; - R.DesignMainWarningStarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.DesignMainWarningStarProps_geometry; - } - }; - R.DesignMainWarningStarComponent.prototype = { - render$0: function(_) { + A._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps.prototype = {}; + A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps.prototype = {}; + A.DesignMainWarningStarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainWarningStarComponent.prototype = { + render$0(_) { var rotate_degrees, x0, t2, y0, i, points, t3, _this = this, - t1 = type$.legacy_num, - xs = P.List_List$from(_this._star_at_origin$0().item1, true, t1), - ys = P.List_List$from(_this._star_at_origin$0().item2, true, t1); - t1 = _this._design_main_warning_star$_cachedTypedProps; + t1 = type$.double, + xs = A.List_List$from(_this._star_at_origin$0().item1, true, t1), + ys = A.List_List$from(_this._star_at_origin$0().item2, true, t1); + t1 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "DesignMainWarningStarProps.forward"); - rotate_degrees = !H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? 180 : 0; - x0 = _this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().x; - t1 = _this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().y; - t2 = _this._design_main_warning_star$_cachedTypedProps; + rotate_degrees = !A.boolConversionCheck(A._asBoolS(t1 == null ? null : t1)) ? 180 : 0; + x0 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$base_svg_pos().x; + t1 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$base_svg_pos().y; + t2 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A; t2 = t2.get$geometry(t2).get$base_width_svg(); if (typeof t1 !== "number") return t1.$sub(); @@ -142322,808 +143826,716 @@ if (typeof t1 !== "number") return t1.$add(); if (typeof x0 !== "number") - return H.iae(x0); - C.JSArray_methods.$indexSet(xs, i, t1 + x0); - if (i >= ys.length) - return H.ioore(ys, i); + return A.iae(x0); + B.JSArray_methods.$indexSet(xs, i, t1 + x0); + if (!(i < ys.length)) + return A.ioore(ys, i); t1 = ys[i]; if (typeof t1 !== "number") return t1.$add(); - C.JSArray_methods.$indexSet(ys, i, t1 + y0); + B.JSArray_methods.$indexSet(ys, i, t1 + y0); } - points = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + points = A._setArrayType([], type$.JSArray_String); for (i = 0; i < xs.length; ++i) { - t1 = J.toStringAsFixed$1$n(xs[i], 2) + ","; - if (i >= ys.length) - return H.ioore(ys, i); - C.JSArray_methods.add$1(points, t1 + J.toStringAsFixed$1$n(ys[i], 2)); + t1 = J.toStringAsFixed$1$n(xs[i], 2); + if (!(i < ys.length)) + return A.ioore(ys, i); + B.JSArray_methods.add$1(points, t1 + "," + J.toStringAsFixed$1$n(ys[i], 2)); } t1 = A.SvgProps$($.$get$polygon(), null); t1.set$className(0, "warning-star"); - t1.set$points(0, C.JSArray_methods.join$1(points, " ")); - t2 = _this._design_main_warning_star$_cachedTypedProps; - t2 = H.S(t2.get$color(t2)); - t3 = _this._design_main_warning_star$_cachedTypedProps; - t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_literal(["stroke", t2, "fill", H.S(t3.get$color(t3))], type$.legacy_String, type$.dynamic))); - t1.set$transform(0, "rotate(" + rotate_degrees + " " + H.S(_this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().x) + " " + H.S(_this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().y) + ")"); + t1.set$points(0, B.JSArray_methods.join$1(points, " ")); + t2 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A; + t2 = t2.get$color(t2); + t3 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A; + t1.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(A.LinkedHashMap_LinkedHashMap$_literal(["stroke", A.S(t2), "fill", A.S(t3.get$color(t3))], type$.String, type$.dynamic))); + t1.set$transform(0, "rotate(" + rotate_degrees + " " + A.S(_this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$base_svg_pos().x) + " " + A.S(_this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$base_svg_pos().y) + ")"); return t1.call$0(); }, - _star_at_origin$0: function() { + _star_at_origin$0() { var inner_radius, outer_radius, inner_angle, outer_angle, i, t2, t3, t4, - t1 = type$.JSArray_legacy_num, - xs = H.setRuntimeTypeInfo([], t1), - ys = H.setRuntimeTypeInfo([], t1); - t1 = this._design_main_warning_star$_cachedTypedProps; + t1 = type$.JSArray_double, + xs = A._setArrayType([], t1), + ys = A._setArrayType([], t1); + t1 = this.___$DesignMainWarningStarComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); inner_radius = 0.4 * t1.get$geometry(t1).get$base_width_svg(); - t1 = this._design_main_warning_star$_cachedTypedProps; + t1 = this.___$DesignMainWarningStarComponent__cachedTypedProps_A; outer_radius = 0.65 * t1.get$geometry(t1).get$base_width_svg(); for (inner_angle = 0, outer_angle = 0.2617993877991494, i = 0; i < 12; ++i) { t1 = Math.cos(inner_angle); t2 = Math.sin(inner_angle); t3 = Math.cos(outer_angle); t4 = Math.sin(outer_angle); - C.JSArray_methods.add$1(xs, inner_radius * t1); - C.JSArray_methods.add$1(xs, outer_radius * t3); - C.JSArray_methods.add$1(ys, inner_radius * t2); - C.JSArray_methods.add$1(ys, outer_radius * t4); + B.JSArray_methods.add$1(xs, inner_radius * t1); + B.JSArray_methods.add$1(xs, outer_radius * t3); + B.JSArray_methods.add$1(ys, inner_radius * t2); + B.JSArray_methods.add$1(ys, outer_radius * t4); inner_angle += 0.5235987755982988; outer_angle += 0.5235987755982988; } - return new S.Tuple2(xs, ys, type$.Tuple2_of_legacy_List_legacy_num_and_legacy_List_legacy_num); + return new A.Tuple2(xs, ys, type$.Tuple2_of_List_double_and_List_double); } }; - R.$DesignMainWarningStarComponentFactory_closure.prototype = { - call$0: function() { - return new R._$DesignMainWarningStarComponent(null); + A.$DesignMainWarningStarComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignMainWarningStarComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 494 + $signature: 505 }; - R._$$DesignMainWarningStarProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignMainWarningStarProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignMainWarningStarComponentFactory() : t1; } }; - R._$$DesignMainWarningStarProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignMainWarningStarProps$PlainMap.prototype = { + get$props(_) { return this._design_main_warning_star$_props; } }; - R._$$DesignMainWarningStarProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignMainWarningStarProps$JsMap.prototype = { + get$props(_) { return this._design_main_warning_star$_props; } }; - R._$DesignMainWarningStarComponent.prototype = { - get$props: function(_) { - return this._design_main_warning_star$_cachedTypedProps; + A._$DesignMainWarningStarComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignMainWarningStarComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_main_warning_star$_cachedTypedProps = R._$$DesignMainWarningStarProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignMainWarningStarComponent__cachedTypedProps_A = A._$$DesignMainWarningStarProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignMainWarningStar"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2Rifx.get$values(C.Map_2Rifx); + get$$$defaultConsumedProps() { + return B.Map_2R4e8.get$values(B.Map_2R4e8); } }; - R.$DesignMainWarningStarProps.prototype = { - get$base_svg_pos: function() { + A.$DesignMainWarningStarProps.prototype = { + get$base_svg_pos() { var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.base_svg_pos"); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.Point_double._as(t1); }, - get$geometry: function(_) { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - get$color: function(_) { + get$color(_) { var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.color"); - return H._asStringS(t1 == null ? null : t1); - } - }; - R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps.prototype = { - get$geometry: function(receiver) { - return this.DesignMainWarningStarProps_geometry; + return A._asStringS(t1 == null ? null : t1); } }; - R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps.prototype = {}; - U.ConnectedDesignSide_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, t5, displayed_group, t6, t7, t8, t9, helices_in_group; - type$.legacy_AppState._as(state); - if (state.get$has_error()) - return U.design_side___$DesignSide$closure().call$0(); - else { - t1 = state.design; - t2 = t1.groups; - t3 = state.ui_state; - t4 = t3.storables; - t5 = t4.displayed_group_name; - displayed_group = J.$index$asx(t2._map$_map, t5); - t2 = type$.legacy_int; - t6 = type$.legacy_Helix; - t7 = P.LinkedHashMap_LinkedHashMap$_empty(t2, t6); - for (t8 = J.get$iterator$ax(J.$index$asx(t1.get$helix_idxs_in_group()._map$_map, t5)._list); t8.moveNext$0();) { - t9 = t8.get$current(t8); - t7.$indexSet(0, t9, J.$index$asx(t1.helices._map$_map, t9)); - } - helices_in_group = A.BuiltMap_BuiltMap$of(t7, t2, t6); - t2 = U.design_side___$DesignSide$closure().call$0(); - t2.toString; - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices_in_group); - t6 = J.getInterceptor$x(t2); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.helices", helices_in_group); - t7 = t1.geometry; - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.geometry", t7); - t7 = t3.helix_change_apply_to_all; - J.$indexSet$ax(t6.get$props(t2), string$.DesignSPrh, t7); - t7 = type$.legacy_BuiltSet_legacy_int._as(t4.side_selected_helix_idxs); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.helix_idxs_selected", t7); - t1 = t4.show_slice_bar ? E.rotation_datas_at_offset_in_group(t4.slice_bar_offset, t1, t5) : D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DesignSideRotationData); - type$.legacy_BuiltList_legacy_DesignSideRotationData._as(t1); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.rotation_datas", t1); - t1 = t4.slice_bar_offset; - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.slice_bar_offset", t1); - t1 = type$.legacy_BuiltSet_legacy_EditModeChoice._as(t4.edit_modes); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.edit_modes", t1); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.displayed_group", displayed_group); - t1 = t3.side_view_grid_position_mouse_cursor; - J.$indexSet$ax(t6.get$props(t2), string$.DesignSPrg, t1); - t3 = type$.legacy_Point_legacy_num._as(t3.side_view_position_mouse_cursor); - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.mouse_svg_pos", t3); - t3 = t4.show_grid_coordinates_side_view; - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.show_grid_coordinates", t3); - t4 = t4.invert_y; - J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.invert_y", t4); - return t2; - } + A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps.prototype = {}; + A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps.prototype = {}; + A.ConnectedDesignSide_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_design_side_props(A.design_side___$DesignSide$closure().call$0(), state); }, - $signature: 495 - }; - U.DesignSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$helices: function() { - return this.DesignSideProps_helices; - }, - get$geometry: function(receiver) { - return this.DesignSideProps_geometry; - } + $signature: 506 }; - U.DesignSideComponent.prototype = { - render$0: function(_) { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, should_display_potential_helix, _this = this, _null = null, - _s17_ = "helices-side-view"; - if (_this._design_side$_cachedTypedProps.get$helices() == null) + A.DesignSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideComponent.prototype = { + render$0(_) { + var t2, t3, helices_components, t4, t5, t6, t7, t8, t9, t10, t11, t12, mouse_is_over, t13, t14, t15, t16, t17, t18, mouse_pos_nm_3d, distance, should_display_potential_helix, _this = this, _null = null, + _s29_ = "DesignSideProps.mouse_svg_pos", + _s24_ = "DesignSideProps.invert_y", + _s24_0 = "DesignSideProps.geometry", + _s17_ = "helices-side-view", + t1 = _this.___$DesignSideComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$helices() == null) return _null; - t1 = _this._design_side$_cachedTypedProps; + t1 = _this.___$DesignSideComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, "DesignSideProps.rotation_datas"); if (t1 == null) t1 = _null; - t2 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_DesignSideRotationData); - for (t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_DesignSideRotationData._as(t1)._list); t1.moveNext$0();) { - t3 = t1.get$current(t1); + t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.DesignSideRotationData); + for (t1 = type$.BuiltList_DesignSideRotationData._as(t1)._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; t2.$indexSet(0, t3.helix.idx, t3); } - t1 = _this._design_side$_cachedTypedProps; + t1 = _this.___$DesignSideComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, "DesignSideProps.helix_idxs_selected"); if (t1 == null) t1 = _null; - type$.legacy_BuiltSet_legacy_int._as(t1); - t3 = []; - for (t4 = _this._design_side$_cachedTypedProps.get$helices(), t4 = J.get$iterator$ax(t4.get$values(t4)), t5 = type$.legacy_GridPosition, t6 = type$.legacy_BuiltSet_legacy_EditModeChoice, t7 = type$.legacy_HelixGroup; t4.moveNext$0();) { - t8 = t4.get$current(t4); - t9 = B.design_side_helix___$DesignSideHelix$closure().call$0(); - t9.toString; - t10 = J.getInterceptor$x(t9); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.helix", t8); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignSideProps.slice_bar_offset"); - t11 = H._asIntS(t11 == null ? _null : t11); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.slice_bar_offset", t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignSideProps.displayed_group"); - t11 = t7._as(t11 == null ? _null : t11).grid; - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.grid", t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignSideProps.invert_y"); - t11 = H._asBoolS(t11 == null ? _null : t11); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.invert_y", t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, string$.DesignSPrh); - t11 = H._asBoolS(t11 == null ? _null : t11); - J.$indexSet$ax(t10.get$props(t9), string$.DesignSHh, t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignSideProps.edit_modes"); - t11 = t6._as(t6._as(t11 == null ? _null : t11)); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.edit_modes", t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, string$.DesignSPrg); - t11 = t5._as(t11 == null ? _null : t11); - t12 = t8.grid_position; - t11 = J.$eq$(t11, t12); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.mouse_is_over", t11); - t11 = _this._design_side$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "DesignSideProps.show_grid_coordinates"); - t11 = H._asBoolS(t11 == null ? _null : t11); - J.$indexSet$ax(t10.get$props(t9), string$.DesignSHs, t11); - t11 = t8.idx; - t13 = t1._set.contains$1(0, t11); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.selected", t13); - t11 = t2.$index(0, t11); - J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.rotation_data", t11); - t8 = t8.position_; - t8 = H.S(t8 == null ? t12 : t8); - t10 = t10.get$props(t9); - J.$indexSet$ax(t10, "key", t8); - t3.push(t9.call$0()); - } - t1 = P.LinkedHashSet_LinkedHashSet$_empty(t5); - for (t2 = _this._design_side$_cachedTypedProps.get$helices(), t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) - t1.add$1(0, t2.get$current(t2).grid_position); - if (_this._design_side$_cachedTypedProps.get$mouse_svg_pos() == null) - should_display_potential_helix = _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor() != null && !t1.contains$1(0, _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor()); - else - should_display_potential_helix = true; + type$.BuiltSet_int._as(t1); + helices_components = []; + for (t3 = _this.___$DesignSideComponent__cachedTypedProps_A.get$helices(), t3 = t3.get$values(t3), t4 = A._instanceType(t3), t4 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MappedIterator<1,2>")), t3 = type$.BuiltSet_EditModeChoice, t5 = type$.HelixGroup, t6 = type$.nullable_GridPosition, t7 = type$.nullable_Point_double, t8 = type$.Geometry, t9 = type$.Point_double; t4.moveNext$0();) { + t10 = t4.__internal$_current; + t11 = t10.grid_position; + if (t11 != null) { + t12 = _this.___$DesignSideComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, string$.DesignSPrg); + t12 = J.$eq$(t6._as(t12 == null ? _null : t12), t11); + } else + t12 = false; + if (t12) + mouse_is_over = true; + else { + t12 = t10.grid; + if (t12 === B.Grid_none) { + t13 = _this.___$DesignSideComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s29_); + t13 = t7._as(t13 == null ? _null : t13) != null; + } else + t13 = false; + if (t13) { + t13 = _this.___$DesignSideComponent__cachedTypedProps_A; + t13 = t13.get$props(t13).$index(0, _s29_); + t13 = t7._as(t13 == null ? _null : t13); + t13.toString; + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s24_); + t14 = A._asBoolS(t14 == null ? _null : t14); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A; + t15 = t15.get$props(t15).$index(0, _s24_0); + t15 = t8._as(t15 == null ? _null : t15); + t16 = t13.x; + t17 = t15.__nm_to_svg_pixels; + if (t17 == null) { + t15 = t15.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t15); + t17 = t15; + } else + t15 = t17; + if (typeof t16 !== "number") + return t16.$div(); + A.boolConversionCheck(t14); + t18 = t14 ? -1 : 1; + t13 = t13.y; + if (typeof t13 !== "number") + return t13.$div(); + t14 = t14 ? -1 : 1; + mouse_pos_nm_3d = A.Position3D_Position3D(t16 / t15 * t18, t13 / t17 * t14, 0); + t14 = mouse_pos_nm_3d.x; + t17 = mouse_pos_nm_3d.y; + t13 = t10.position_; + t15 = t13 == null; + if (t15) { + t11.toString; + t16 = A.grid_position_to_position3d(t11, t12, t10.geometry); + } else + t16 = t13; + if (t15) { + t11.toString; + t12 = A.grid_position_to_position3d(t11, t12, t10.geometry); + } else + t12 = t13; + t9._as(new A.Point(t14, t17, t9)); + t14 = t16.x - t14; + t17 = t12.y - t17; + distance = Math.sqrt(t14 * t14 + t17 * t17); + t12 = _this.___$DesignSideComponent__cachedTypedProps_A; + t12 = t12.get$props(t12).$index(0, _s24_0); + mouse_is_over = distance < t8._as(t12 == null ? _null : t12).helix_radius && true; + } else + mouse_is_over = false; + } + t12 = A.design_side_helix___$DesignSideHelix$closure().call$0(); + t12.toString; + t13 = J.getInterceptor$x(t12); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.helix", t10); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignSideProps.slice_bar_offset"); + t14 = A._asIntQ(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.slice_bar_offset", t14); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignSideProps.displayed_group"); + t14 = t5._as(t14 == null ? _null : t14).grid; + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.grid", t14); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, _s24_); + t14 = A._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.invert_y", t14); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, string$.DesignSPrh); + t14 = A._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignSHh, t14); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignSideProps.edit_modes"); + t14 = t3._as(t3._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.edit_modes", t14); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.mouse_is_over", mouse_is_over); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A; + t14 = t14.get$props(t14).$index(0, "DesignSideProps.show_grid_coordinates"); + t14 = A._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignSHs, t14); + t14 = t10.idx; + t15 = t1._set.contains$1(0, t14); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.selected", t15); + t14 = t2.$index(0, t14); + J.$indexSet$ax(t13.get$props(t12), "DesignSideHelixProps.rotation_data", t14); + t10 = t10.position_; + t10 = A.S(t10 == null ? t11 : t10); + t13 = t13.get$props(t12); + J.$indexSet$ax(t13, "key", t10); + helices_components.push(t12.call$0()); + } + if (_this.___$DesignSideComponent__cachedTypedProps_A.get$displayed_group().grid !== B.Grid_none) { + t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.GridPosition); + for (t2 = _this.___$DesignSideComponent__cachedTypedProps_A.get$helices(), t2 = t2.get$values(t2), t3 = A._instanceType(t2), t3 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MappedIterator<1,2>")); t3.moveNext$0();) { + t2 = t3.__internal$_current.grid_position; + t2.toString; + t1.add$1(0, t2); + } + if (_this.___$DesignSideComponent__cachedTypedProps_A.get$mouse_svg_pos() == null) + should_display_potential_helix = _this.___$DesignSideComponent__cachedTypedProps_A.get$grid_position_mouse_cursor() != null && !t1.contains$1(0, _this.___$DesignSideComponent__cachedTypedProps_A.get$grid_position_mouse_cursor()); + else + should_display_potential_helix = true; + } else + should_display_potential_helix = _this.___$DesignSideComponent__cachedTypedProps_A.get$mouse_svg_pos() != null; t1 = A.SvgProps$($.$get$g(), _null); t1.set$className(0, "side-view"); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t2 = A._setArrayType([], type$.JSArray_ReactElement); if (should_display_potential_helix) { - t4 = Y.design_side_potential_helix___$DesignSidePotentialHelix$closure().call$0(); - t5 = _this._design_side$_cachedTypedProps.get$displayed_group().grid; - t4.toString; - t6 = J.getInterceptor$x(t4); - J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.grid", t5); - t5 = _this._design_side$_cachedTypedProps; - t5 = t5.get$geometry(t5); - J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.geometry", t5); - t5 = _this._design_side$_cachedTypedProps.get$invert_y(); - J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.invert_y", t5); - t5 = _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor(); - J.$indexSet$ax(t6.get$props(t4), string$.DesignSPog, t5); - t5 = type$.legacy_Point_legacy_num._as(_this._design_side$_cachedTypedProps.get$mouse_svg_pos()); - J.$indexSet$ax(t6.get$props(t4), string$.DesignSPom, t5); - t6.set$key(t4, "potential-helix"); - t2.push(t4.call$0()); + t3 = A.design_side_potential_helix___$DesignSidePotentialHelix$closure().call$0(); + t4 = _this.___$DesignSideComponent__cachedTypedProps_A.get$displayed_group().grid; + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignSidePotentialHelixProps.grid", t4); + t4 = _this.___$DesignSideComponent__cachedTypedProps_A; + t4 = t4.get$geometry(t4); + J.$indexSet$ax(t5.get$props(t3), "DesignSidePotentialHelixProps.geometry", t4); + t4 = _this.___$DesignSideComponent__cachedTypedProps_A.get$invert_y(); + J.$indexSet$ax(t5.get$props(t3), "DesignSidePotentialHelixProps.invert_y", t4); + t4 = _this.___$DesignSideComponent__cachedTypedProps_A.get$grid_position_mouse_cursor(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignSPog, t4); + t7 = t7._as(_this.___$DesignSideComponent__cachedTypedProps_A.get$mouse_svg_pos()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignSPom, t7); + t5.set$key(t3, "potential-helix"); + t2.push(t3.call$0()); } - t4 = A.SvgProps$($.$get$g(), _null); - t4.set$className(0, _s17_); - t4.set$key(0, _s17_); - t2.push(t4.call$1(t3)); + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$className(0, _s17_); + t3.set$key(0, _s17_); + t2.push(t3.call$1(helices_components)); t3 = $.$get$ConnectedSelectionBoxView().call$0(); - t3.set$stroke_width_getter(new U.DesignSideComponent_render_closure()); + t3.set$stroke_width_getter(new A.DesignSideComponent_render_closure()); t3.set$is_main(false); - t4 = J.getInterceptor$x(t3); - t4.set$id(t3, "selection-box-side"); - t4.set$key(t3, "selection-box"); + t3.set$id_("selection-box-side"); + J.set$key$z(t3, "selection-box"); t2.push(t3.call$0()); return t1.call$1(t2); } }; - U.DesignSideComponent_render_closure.prototype = { - call$0: function() { + A.DesignSideComponent_render_closure.prototype = { + call$0() { var t1 = self.current_zoom_side(); if (typeof t1 !== "number") - return H.iae(t1); + return A.iae(t1); return 2 / t1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 65 + $signature: 67 }; - U.$DesignSideComponentFactory_closure.prototype = { - call$0: function() { - return new U._$DesignSideComponent(null); + A.$DesignSideComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignSideComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 496 + $signature: 507 }; - U._$$DesignSideProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignSideProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignSideComponentFactory() : t1; } }; - U._$$DesignSideProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignSideProps$PlainMap.prototype = { + get$props(_) { return this._design_side$_props; } }; - U._$$DesignSideProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignSideProps$JsMap.prototype = { + get$props(_) { return this._design_side$_props; } }; - U._$DesignSideComponent.prototype = { - get$props: function(_) { - return this._design_side$_cachedTypedProps; + A._$DesignSideComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignSideComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_side$_cachedTypedProps = U._$$DesignSideProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignSideComponent__cachedTypedProps_A = A._$$DesignSideProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignSide"; }, - get$$$defaultConsumedProps: function() { - return C.Map_gGYZj.get$values(C.Map_gGYZj); + get$$$defaultConsumedProps() { + return B.Map_gGnZA.get$values(B.Map_gGnZA); } }; - U.$DesignSideProps.prototype = { - get$helices: function() { + A.$DesignSideProps.prototype = { + get$helices() { var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.helices"); if (t1 == null) t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + return type$.BuiltMap_int_Helix._as(t1); }, - get$geometry: function(_) { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); + return type$.Geometry._as(t1); }, - get$mouse_svg_pos: function() { + get$mouse_svg_pos() { var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.mouse_svg_pos"); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.nullable_Point_double._as(t1); }, - get$grid_position_mouse_cursor: function() { + get$grid_position_mouse_cursor() { var t1 = J.$index$asx(this.get$props(this), string$.DesignSPrg); if (t1 == null) t1 = null; - return type$.legacy_GridPosition._as(t1); + return type$.nullable_GridPosition._as(t1); }, - get$invert_y: function() { + get$invert_y() { var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); + return A._asBoolS(t1 == null ? null : t1); }, - get$displayed_group: function() { + get$displayed_group() { var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.displayed_group"); if (t1 == null) t1 = null; - return type$.legacy_HelixGroup._as(t1); - } - }; - U._DesignSideComponent_UiComponent2_PureComponent.prototype = {}; - U.__$$DesignSideProps_UiProps_DesignSideProps.prototype = { - get$helices: function() { - return this.DesignSideProps_helices; - }, - get$geometry: function(receiver) { - return this.DesignSideProps_geometry; - } - }; - U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps.prototype = {}; - S.ConnectedDesignSideArrows_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4; - type$.legacy_AppState._as(state); - t1 = S.design_side_arrows___$DesignSideArrows$closure().call$0(); - t2 = state.ui_state.storables; - t3 = t2.invert_y; - t1.toString; - t4 = J.getInterceptor$x(t1); - J.$indexSet$ax(t4.get$props(t1), "DesignSideArrowsProps.invert_y", t3); - t2 = t2.show_helices_axis_arrows; - J.$indexSet$ax(t4.get$props(t1), string$.DesignSA, t2); - return t1; - }, - $signature: 497 - }; - S.DesignSideArrowsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - S.DesignMainArrowsComponent0.prototype = { - render$0: function(_) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, _s4_ = "none", - _s10_ = "axis-arrow", - _s63_ = string$.M_0_0_, - svg_center_x = H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, - svg_center_y = H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, - t1 = _this._design_side_arrows$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.DesignSA); - if (H._asBoolS(t1 == null ? _null : t1) === true) { - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "arrow-group"); - t1.set$transform(0, "translate(" + H.S(svg_center_x) + ", " + H.S(svg_center_y) + ")"); - t2 = A.SvgProps$($.$get$title(), _null).call$1("\u29bb - Into the screen"); - t3 = A.SvgProps$($.$get$path(), _null); - t3.set$key(0, "z_path"); - t3.set$d(0, string$.M__6_3); - t3.set$fill(0, _s4_); - t3.set$stroke(0, "blue"); - t3.set$className(0, _s10_); - t3 = t3.call$0(); - t4 = A.SvgProps$($.$get$circle(), _null); - t4.set$r(0, 10); - t4.set$stroke(0, "blue"); - t4.set$fill(0, _s4_); - t4.set$className(0, _s10_); - t4 = t4.call$0(); - t5 = A.SvgProps$($.$get$path(), _null); - t5.set$key(0, "x_path"); - t5.set$transform(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(270)" : "rotate(90)"); - t5.set$d(0, _s63_); - t5.set$fill(0, _s4_); - t5.set$stroke(0, "red"); - t5.set$className(0, _s10_); - t5 = t5.call$0(); - t6 = A.SvgProps$($.$get$path(), _null); - t6.set$key(0, "y_path"); - t6.set$transform(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(0)" : "rotate(180)"); - t6.set$d(0, _s63_); - t6.set$fill(0, _s4_); - t6.set$stroke(0, "green"); - t6.set$className(0, _s10_); - t6 = t6.call$0(); - t7 = A.SvgProps$($.$get$text(), _null); - t7.set$x(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -60.5 : 48.5); - t7.set$y(0, 6.5); - t8 = type$.legacy_String; - t9 = type$.dynamic; - t10 = type$.legacy_Map_of_legacy_String_and_dynamic; - t7.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t8, t9))); - t7 = t7.call$1("X"); - t11 = A.SvgProps$($.$get$text(), _null); - t11.set$x(0, -6); - t11.set$y(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -48.5 : 61.5); - t11.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t8, t9))); - t11 = t11.call$1("Y"); - t12 = A.SvgProps$($.$get$text(), _null); - t12.set$x(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -22 : 10); - t12.set$y(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -10 : 27); - t12.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t8, t9))); - return t1.call$8(t2, t3, t4, t5, t6, t7, t11, t12.call$1("Z")); - } else - return A.SvgProps$($.$get$g(), _null).call$0(); - } - }; - S.$DesignMainArrowsComponentFactory_closure.prototype = { - call$0: function() { - return new S._$DesignMainArrowsComponent(null); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 498 - }; - S._$$DesignSideArrowsProps.prototype = { - get$$$isClassGenerated: function() { - return true; - }, - get$componentFactory: function() { - var t1 = this.componentFactory; - return t1 == null ? $.$get$$DesignMainArrowsComponentFactory() : t1; - } - }; - S._$$DesignSideArrowsProps$PlainMap.prototype = { - get$props: function(_) { - return this._design_side_arrows$_props; - } - }; - S._$$DesignSideArrowsProps$JsMap.prototype = { - get$props: function(_) { - return this._design_side_arrows$_props; - } - }; - S._$DesignMainArrowsComponent.prototype = { - get$props: function(_) { - return this._design_side_arrows$_cachedTypedProps; - }, - set$props: function(_, value) { - this.props = value; - this._design_side_arrows$_cachedTypedProps = S._$$DesignSideArrowsProps$JsMap$(R.getBackingMap(value)); - }, - get$displayName: function(_) { - return "DesignSideArrows"; - }, - get$$$defaultConsumedProps: function() { - return C.Map_DRc9P.get$values(C.Map_DRc9P); - } - }; - S.$DesignSideArrowsProps.prototype = { - get$invert_y: function() { - var t1 = J.$index$asx(this.get$props(this), "DesignSideArrowsProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); - } - }; - S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps.prototype = {}; - S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps.prototype = {}; - B.DesignSideHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - B.DesignSideHelixComponent.prototype = { - render$0: function(_) { - var classname_circle, t2, pos, t3, position_str, grid_position_str, forward_angle, reverse_angle, tooltip, t4, center, _this = this, _null = null, - t1 = _this._design_side_helix$_cachedTypedProps; + return type$.HelixGroup._as(t1); + } + }; + A._DesignSideComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignSideProps_UiProps_DesignSideProps.prototype = {}; + A.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps.prototype = {}; + A.DesignSideHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideHelixComponent.prototype = { + render$0(_) { + var classname_circle, t2, pos, t3, position_str, grid_position_str, forward_angle, reverse_angle, t4, tooltip, center, _this = this, _null = null, + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.selected"); - classname_circle = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "side-view-helix-circle selected" : "side-view-helix-circle"; - t1 = _this._design_side_helix$_cachedTypedProps; + classname_circle = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? "side-view-helix-circle selected" : "side-view-helix-circle"; + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.mouse_is_over"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) && _this._design_side_helix$_cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_pencil)) + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) && _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$edit_modes()._set.contains$1(0, B.EditModeChoice_pencil)) classname_circle += " deletable"; - t1 = _this._design_side_helix$_cachedTypedProps; + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.grid"); if (t1 == null) t1 = _null; - type$.legacy_Grid._as(t1); + type$.Grid._as(t1); t1.toString; - t2 = _this._design_side_helix$_cachedTypedProps; - if (t1 === C.Grid_none) { + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; + if (t1 === B.Grid_none) { pos = t2.get$helix().get$position3d(); t1 = pos.x; - t2 = C.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", "; + t2 = B.JSNumber_methods.toStringAsFixed$1(t1, 1); t3 = pos.y; - position_str = t2 + C.JSNumber_methods.toStringAsFixed$1(t3, 1); - grid_position_str = C.JSNumber_methods.toStringAsFixed$1(t1, 1) + "," + C.JSNumber_methods.toStringAsFixed$1(t3, 1); + position_str = t2 + ", " + B.JSNumber_methods.toStringAsFixed$1(t3, 1); + grid_position_str = B.JSNumber_methods.toStringAsFixed$1(t1, 1) + "," + B.JSNumber_methods.toStringAsFixed$1(t3, 1); } else { pos = t2.get$helix().grid_position; position_str = "" + pos.h + ", " + pos.v; - grid_position_str = H.stringReplaceAllUnchecked(position_str, " ", ""); + grid_position_str = A.stringReplaceAllUnchecked(position_str, " ", ""); } - forward_angle = _this._design_side_helix$_cachedTypedProps.get$slice_bar_offset() != null ? _this._design_side_helix$_cachedTypedProps.get$helix().backbone_angle_at_offset$2(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset(), true) : _null; - reverse_angle = _this._design_side_helix$_cachedTypedProps.get$slice_bar_offset() != null ? _this._design_side_helix$_cachedTypedProps.get$helix().backbone_angle_at_offset$2(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset(), false) : _null; - t1 = "position: " + position_str + "\nroll: " + C.JSNumber_methods.toStringAsFixed$1(_this._design_side_helix$_cachedTypedProps.get$helix().roll, 1) + "\nbackbone angles at current slice bar offset = " + H.S(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset()) + ":\n forward: "; - t1 = t1 + H.S(forward_angle == null ? _null : C.JSNumber_methods.toStringAsFixed$1(forward_angle, 1)) + "\n reverse: "; - tooltip = t1 + H.S(reverse_angle == null ? _null : C.JSNumber_methods.toStringAsFixed$1(reverse_angle, 1)); - t1 = A.SvgProps$($.$get$circle(), _null); - t1.set$className(0, classname_circle); - t1.set$r(0, H.S(_this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg())); - t1.set$onClick(0, new B.DesignSideHelixComponent_render_closure(_this)); - t1.set$id(0, "side-view-helix-circle-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); - t1.set$key(0, "circle"); + if (_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset() != null) { + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix(); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset(); + t2.toString; + forward_angle = t1.backbone_angle_at_offset$2(t2, true); + } else + forward_angle = _null; + if (_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset() != null) { + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix(); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset(); + t2.toString; + reverse_angle = t1.backbone_angle_at_offset$2(t2, false); + } else + reverse_angle = _null; + t1 = B.JSNumber_methods.toStringAsFixed$1(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().roll, 1); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset(); + t3 = forward_angle == null ? _null : B.JSNumber_methods.toStringAsFixed$1(forward_angle, 1); + t4 = reverse_angle == null ? _null : B.JSNumber_methods.toStringAsFixed$1(reverse_angle, 1); + tooltip = "position: " + position_str + "\nroll: " + t1 + "\nbackbone angles at current slice bar offset = " + A.S(t2) + ":\n forward: " + A.S(t3) + "\n reverse: " + A.S(t4); + t4 = A.SvgProps$($.$get$circle(), _null); + t4.set$className(0, classname_circle); + t4.set$r(0, A.S(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().geometry.get$helix_radius_svg())); + t4.set$onClick(0, new A.DesignSideHelixComponent_render_closure(_this)); + t4.set$id(0, "side-view-helix-circle-" + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); + t4.set$key(0, "circle"); + t3 = A.SvgProps$($.$get$title(), _null); + t3.set$key(0, "circle-tooltip"); + t3 = t4.call$1(t3.call$1(tooltip)); + t4 = A.SvgProps$($.$get$text(), _null); + t4.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic))); + t4.set$className(0, "side-view-helix-text"); + t4.set$id(0, "side-view-helix-text-" + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); + t4.set$onClick(0, new A.DesignSideHelixComponent_render_closure0(_this)); + t4.set$key(0, "text-idx"); + t1 = B.JSInt_methods.toString$0(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); t2 = A.SvgProps$($.$get$title(), _null); - t2.set$key(0, "circle-tooltip"); - t2 = t1.call$1(t2.call$1(tooltip)); - t1 = A.SvgProps$($.$get$text(), _null); - t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic))); - t1.set$className(0, "side-view-helix-text"); - t1.set$id(0, "side-view-helix-text-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); - t1.set$onClick(0, new B.DesignSideHelixComponent_render_closure0(_this)); - t1.set$key(0, "text-idx"); - t3 = _this._design_side_helix$_cachedTypedProps.get$helix(); - t3 = C.JSInt_methods.toString$0(t3.idx); - t4 = A.SvgProps$($.$get$title(), _null); - t4.set$key(0, "text-idx-tooltip"); - t4 = H.setRuntimeTypeInfo([t2, t1.call$2(t3, t4.call$1(tooltip))], type$.JSArray_legacy_ReactElement); - t1 = _this._design_side_helix$_cachedTypedProps; + t2.set$key(0, "text-idx-tooltip"); + t2 = A._setArrayType([t3, t4.call$2(t1, t2.call$1(tooltip))], type$.JSArray_ReactElement); + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, string$.DesignSHs); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) { t1 = A.SvgProps$($.$get$text(), _null); t1.set$fontSize(0, 10); t1.set$dominantBaseline("text-before-edge"); t1.set$textAnchor("middle"); - t1.set$y(0, _this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg() / 2); + t1.set$y(0, _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().geometry.get$helix_radius_svg() / 2); t1.set$key(0, "text-grid-position"); - t4.push(t1.call$1(grid_position_str)); + t2.push(t1.call$1(grid_position_str)); } t1 = A.SvgProps$($.$get$title(), _null); t1.set$key(0, "text-grid-position-tooltip"); - t4.push(t1.call$1(tooltip)); - if (_this._design_side_helix$_cachedTypedProps.get$rotation_data() != null) { - t1 = O.design_side_rotation___$DesignSideRotation$closure().call$0(); - t2 = _this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg(); + t2.push(t1.call$1(tooltip)); + if (_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$rotation_data() != null) { + t1 = A.design_side_rotation___$DesignSideRotation$closure().call$0(); + t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().geometry.get$helix_radius_svg(); t1.toString; - t3 = J.getInterceptor$x(t1); - J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.radius", t2); - t2 = _this._design_side_helix$_cachedTypedProps.get$rotation_data(); - J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.data", t2); - t2 = _this._design_side_helix$_cachedTypedProps.get$invert_y(); - J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.invert_y", t2); - t3.set$className(t1, "side-view-helix-rotation"); - t3.set$key(t1, "rotation"); - C.JSArray_methods.add$1(t4, t1.call$0()); - } - center = E.position3d_to_side_view_svg(_this._design_side_helix$_cachedTypedProps.get$helix().get$position3d(), _this._design_side_helix$_cachedTypedProps.get$invert_y(), _this._design_side_helix$_cachedTypedProps.get$helix().geometry); + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.radius", t3); + t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$rotation_data(); + t3.toString; + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.data", t3); + t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(); + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.invert_y", t3); + t4.set$className(t1, "side-view-helix-rotation"); + t4.set$key(t1, "rotation"); + B.JSArray_methods.add$1(t2, t1.call$0()); + } + center = A.position3d_to_side_view_svg(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().get$position3d(), _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(), _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().geometry); t1 = A.SvgProps$($.$get$g(), _null); - t1.set$transform(0, "translate(" + H.S(center.x) + " " + H.S(center.y) + ")"); - t1.set$id(0, "helix-side-view-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); - return t1.call$1(t4); - }, - componentDidMount$0: function() { - var _s16_ = "helix-side-view-", - t1 = "#" + (_s16_ + this._design_side_helix$_cachedTypedProps.get$helix().idx), - elt = document.querySelector(t1); + t1.set$transform(0, "translate(" + A.S(center.x) + " " + A.S(center.y) + ")"); + t1.set$id(0, "helix-side-view-" + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); + return t1.call$1(t2); + }, + componentDidMount$0() { + var elt, + _s16_ = "helix-side-view-", + t1 = this.___$DesignSideHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helix().idx; + elt = document.querySelector("#" + (_s16_ + t1)); if (elt != null) J.addEventListener$2$x(elt, "contextmenu", this.get$on_context_menu()); else - P.print(string$.WARNINn + (_s16_ + this._design_side_helix$_cachedTypedProps.get$helix().idx)); + A.print(string$.WARNINn + (_s16_ + this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx)); }, - componentWillUnmount$0: function() { - var _this = this, + componentWillUnmount$0() { + var elt, _this = this, _s16_ = "helix-side-view-", - t1 = "#" + (_s16_ + _this._design_side_helix$_cachedTypedProps.get$helix().idx), - elt = document.querySelector(t1); + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$helix().idx; + elt = document.querySelector("#" + (_s16_ + t1)); if (elt != null) J.removeEventListener$2$x(elt, "contextmenu", _this.get$on_context_menu()); else - P.print(string$.WARNINn + (_s16_ + _this._design_side_helix$_cachedTypedProps.get$helix().idx)); + A.print(string$.WARNINn + (_s16_ + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx)); _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); }, - on_context_menu$1: function(ev) { + on_context_menu$1(ev) { var t1, t2, t3, t4; - ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); - if (!H.boolConversionCheck(ev.shiftKey)) { + ev = type$.MouseEvent._as(type$.Event._as(ev)); + if (!A.boolConversionCheck(ev.shiftKey)) { ev.preventDefault(); - t1 = $.app; - t2 = this._design_side_helix$_cachedTypedProps.get$helix(); - t3 = this._design_side_helix$_cachedTypedProps; + t1 = $.__app._readField$0(); + t2 = this.___$DesignSideHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$helix(); + t3 = this.___$DesignSideHelixComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.DesignSHh); - t2 = D._BuiltList$of(V.context_menu_helix(t2, H._asBoolS(t3 == null ? null : t3)), type$.legacy_ContextMenuItem); + t2 = A.context_menu_helix(t2, A._asBoolS(t3 == null ? null : t3)); t3 = ev.pageX; t3.toString; t4 = ev.pageY; t4.toString; - t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); } }, - _design_side_helix$_handle_click$2: function($event, helix) { - var t1; - if (this._design_side_helix$_cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_pencil)) - $.app.dispatch$1(U.HelixRemove_HelixRemove(helix.idx)); + _design_side_helix$_handle_click$2($event, helix) { + var t1 = this.___$DesignSideHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$edit_modes()._set.contains$1(0, B.EditModeChoice_pencil)) + $.__app._readField$0().dispatch$1(A.HelixRemove_HelixRemove(helix.idx)); else { t1 = J.getInterceptor$x($event); - if (H.boolConversionCheck(t1.get$shiftKey($event))) - $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, false)); - else if (H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) - $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, true)); + if (A.boolConversionCheck(t1.get$shiftKey($event))) + $.__app._readField$0().dispatch$1(A.HelixSelect_HelixSelect(helix.idx, false)); + else if (A.boolConversionCheck(t1.get$ctrlKey($event)) || A.boolConversionCheck(t1.get$metaKey($event))) + $.__app._readField$0().dispatch$1(A.HelixSelect_HelixSelect(helix.idx, true)); } } }; - B.DesignSideHelixComponent_render_closure.prototype = { - call$1: function(e) { - var t1 = this.$this; - return t1._design_side_helix$_handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_side_helix$_cachedTypedProps.get$helix()); + A.DesignSideHelixComponent_render_closure.prototype = { + call$1(e) { + var t1, t2; + type$.SyntheticMouseEvent._as(e); + t1 = this.$this; + t2 = t1.___$DesignSideHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1._design_side_helix$_handle_click$2(e, t2.get$helix()); }, - $signature: 3 + $signature: 2 }; - B.DesignSideHelixComponent_render_closure0.prototype = { - call$1: function(e) { - var t1 = this.$this; - return t1._design_side_helix$_handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_side_helix$_cachedTypedProps.get$helix()); + A.DesignSideHelixComponent_render_closure0.prototype = { + call$1(e) { + var t1, t2; + type$.SyntheticMouseEvent._as(e); + t1 = this.$this; + t2 = t1.___$DesignSideHelixComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1._design_side_helix$_handle_click$2(e, t2.get$helix()); }, - $signature: 3 + $signature: 2 }; - B.$DesignSideHelixComponentFactory_closure.prototype = { - call$0: function() { - return new B._$DesignSideHelixComponent(null); + A.$DesignSideHelixComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignSideHelixComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 499 + $signature: 508 }; - B._$$DesignSideHelixProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignSideHelixProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignSideHelixComponentFactory() : t1; } }; - B._$$DesignSideHelixProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignSideHelixProps$PlainMap.prototype = { + get$props(_) { return this._design_side_helix$_props; } }; - B._$$DesignSideHelixProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignSideHelixProps$JsMap.prototype = { + get$props(_) { return this._design_side_helix$_props; } }; - B._$DesignSideHelixComponent.prototype = { - get$props: function(_) { - return this._design_side_helix$_cachedTypedProps; + A._$DesignSideHelixComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignSideHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_side_helix$_cachedTypedProps = B._$$DesignSideHelixProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignSideHelixComponent__cachedTypedProps_A = A._$$DesignSideHelixProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignSideHelix"; }, - get$$$defaultConsumedProps: function() { - return C.Map_IIA4m.get$values(C.Map_IIA4m); + get$$$defaultConsumedProps() { + return B.Map_IIql5.get$values(B.Map_IIql5); } }; - B.$DesignSideHelixProps.prototype = { - get$helix: function() { + A.$DesignSideHelixProps.prototype = { + get$helix() { var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.helix"); if (t1 == null) t1 = null; - return type$.legacy_Helix._as(t1); + return type$.Helix._as(t1); }, - get$slice_bar_offset: function() { + get$slice_bar_offset() { var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.slice_bar_offset"); - return H._asIntS(t1 == null ? null : t1); + return A._asIntQ(t1 == null ? null : t1); }, - get$invert_y: function() { + get$invert_y() { var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); + return A._asBoolS(t1 == null ? null : t1); }, - get$rotation_data: function() { + get$rotation_data() { var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.rotation_data"); if (t1 == null) t1 = null; - return type$.legacy_DesignSideRotationData._as(t1); + return type$.nullable_DesignSideRotationData._as(t1); }, - get$edit_modes: function() { + get$edit_modes() { var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.edit_modes"); if (t1 == null) t1 = null; - return type$.legacy_BuiltSet_legacy_EditModeChoice._as(t1); - } - }; - B._DesignSideHelixComponent_UiComponent2_PureComponent.prototype = {}; - B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps.prototype = {}; - B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps.prototype = {}; - Y.DesignSidePotentialHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.DesignSidePotentialHelixProps_geometry; + return type$.BuiltSet_EditModeChoice._as(t1); } }; - Y.DesignSidePotentialHelixComponent.prototype = { - render$0: function(_) { + A._DesignSideHelixComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps.prototype = {}; + A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps.prototype = {}; + A.DesignSidePotentialHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSidePotentialHelixComponent.prototype = { + render$0(_) { var grid, svg_ideal_pos, t2, t3, t4, point, x, y, pos, tooltip, _this = this, _null = null, - t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$grid(t1); t1.toString; - if (t1 !== C.Grid_none) - if (_this._design_side_potential_helix$_cachedTypedProps.get$grid_position() == null) + if (t1 !== B.Grid_none) + if (_this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid_position() == null) return _null; - t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; grid = t1.get$grid(t1); grid.toString; - t1 = _this._design_side_potential_helix$_cachedTypedProps; - if (grid === C.Grid_none) - svg_ideal_pos = t1.get$mouse_svg_pos(); - else { + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + if (grid === B.Grid_none) { + t1 = t1.get$mouse_svg_pos(); + t1.toString; + svg_ideal_pos = t1; + } else { t1 = t1.get$grid_position(); - t2 = _this._design_side_potential_helix$_cachedTypedProps; + t1.toString; + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; t2 = t2.get$grid(t2); - t3 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); - t4 = _this._design_side_potential_helix$_cachedTypedProps; + t3 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(); + t4 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; t4 = t4.get$geometry(t4); - if (t2 === C.Grid_square) - point = new P.Point(t1.h, t1.v, type$.Point_legacy_num); - else if (t2 === C.Grid_hex) - point = E.hex_grid_position_to_position2d_diameter_1_circles(t1); - else if (t2 === C.Grid_honeycomb) - point = E.honeycomb_grid_position_to_position2d_diameter_1_circles(t1); + if (t2 === B.Grid_square) + point = new A.Point(t1.h, t1.v, type$.Point_double); + else if (t2 === B.Grid_hex) + point = A.hex_grid_position_to_position2d_diameter_1_circles(t1); + else if (t2 === B.Grid_honeycomb) + point = A.honeycomb_grid_position_to_position2d_diameter_1_circles(t1); else { - H.throwExpression(P.ArgumentError$(string$.cannotc)); + A.throwExpression(A.ArgumentError$(string$.cannotc, _null)); point = _null; } - if (H.boolConversionCheck(t3)) { + if (A.boolConversionCheck(t3)) { x = point.x; y = point.y; if (typeof x !== "number") return x.$negate(); if (typeof y !== "number") return y.$negate(); - point = new P.Point(-x, -y, type$.Point_legacy_num); + point = new A.Point(-x, -y, type$.Point_double); } svg_ideal_pos = point.$mul(0, t4.get$distance_between_helices_svg()); } - t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; t1 = t1.get$grid(t1); t1.toString; - t2 = _this._design_side_potential_helix$_cachedTypedProps; - if (t1 === C.Grid_none) { + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + if (t1 === B.Grid_none) { t1 = t2.get$mouse_svg_pos(); - t2 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); - t3 = _this._design_side_potential_helix$_cachedTypedProps; - pos = E.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); - tooltip = "(x, y) = " + C.JSNumber_methods.toStringAsFixed$1(pos.x, 2) + ", " + C.JSNumber_methods.toStringAsFixed$1(pos.y, 2); + t1.toString; + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(); + t3 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + pos = A.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); + tooltip = "(x, y) = " + B.JSNumber_methods.toStringAsFixed$1(pos.x, 2) + ", " + B.JSNumber_methods.toStringAsFixed$1(pos.y, 2); } else { pos = t2.get$grid_position(); tooltip = "" + pos.h + ", " + pos.v; @@ -143131,352 +144543,342 @@ t1 = A.SvgProps$($.$get$circle(), _null); t1.set$cx(0, svg_ideal_pos.x); t1.set$cy(0, svg_ideal_pos.y); - t2 = _this._design_side_potential_helix$_cachedTypedProps; - t1.set$r(0, H.S(t2.get$geometry(t2).get$helix_radius_svg())); + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + t1.set$r(0, A.S(t2.get$geometry(t2).get$helix_radius_svg())); t1.set$onClick(0, _this.get$_design_side_potential_helix$_handle_click()); t1.set$className(0, "side-view-potential-helix"); return t1.call$1(A.SvgProps$($.$get$title(), _null).call$1(tooltip)); }, - _design_side_potential_helix$_handle_click$1: function($event) { + _design_side_potential_helix$_handle_click$1($event) { var t1, t2, t3, position, _this = this; - type$.legacy_SyntheticMouseEvent._as($event); - t1 = _this._design_side_potential_helix$_cachedTypedProps; + type$.SyntheticMouseEvent._as($event); + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$grid(t1); t1.toString; - t2 = _this._design_side_potential_helix$_cachedTypedProps; - if (t1 === C.Grid_none) { - t1 = t2.get$mouse_svg_pos(); - t2 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); - t3 = _this._design_side_potential_helix$_cachedTypedProps; - position = E.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); - $.app.dispatch$1(U.HelixAdd_HelixAdd(null, position)); + if (t1 === B.Grid_none) { + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$mouse_svg_pos(); + t1.toString; + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(); + t3 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + position = A.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); + $.__app._readField$0().dispatch$1(A.HelixAdd_HelixAdd(null, position)); } else - $.app.dispatch$1(U.HelixAdd_HelixAdd(t2.get$grid_position(), null)); + $.__app._readField$0().dispatch$1(A.HelixAdd_HelixAdd(_this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid_position(), null)); } }; - Y.$DesignSidePotentialHelixComponentFactory_closure.prototype = { - call$0: function() { - return new Y._$DesignSidePotentialHelixComponent(null); + A.$DesignSidePotentialHelixComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignSidePotentialHelixComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 500 + $signature: 509 }; - Y._$$DesignSidePotentialHelixProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignSidePotentialHelixProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignSidePotentialHelixComponentFactory() : t1; } }; - Y._$$DesignSidePotentialHelixProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignSidePotentialHelixProps$PlainMap.prototype = { + get$props(_) { return this._design_side_potential_helix$_props; } }; - Y._$$DesignSidePotentialHelixProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignSidePotentialHelixProps$JsMap.prototype = { + get$props(_) { return this._design_side_potential_helix$_props; } }; - Y._$DesignSidePotentialHelixComponent.prototype = { - get$props: function(_) { - return this._design_side_potential_helix$_cachedTypedProps; + A._$DesignSidePotentialHelixComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_side_potential_helix$_cachedTypedProps = Y._$$DesignSidePotentialHelixProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A = A._$$DesignSidePotentialHelixProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignSidePotentialHelix"; }, - get$$$defaultConsumedProps: function() { - return C.Map_qpW5w.get$values(C.Map_qpW5w); + get$$$defaultConsumedProps() { + return B.Map_qp0eX.get$values(B.Map_qp0eX); } }; - Y.$DesignSidePotentialHelixProps.prototype = { - get$grid: function(_) { + A.$DesignSidePotentialHelixProps.prototype = { + get$grid(_) { var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.grid"); if (t1 == null) t1 = null; - return type$.legacy_Grid._as(t1); + return type$.Grid._as(t1); }, - get$grid_position: function() { + get$grid_position() { var t1 = J.$index$asx(this.get$props(this), string$.DesignSPog); if (t1 == null) t1 = null; - return type$.legacy_GridPosition._as(t1); + return type$.nullable_GridPosition._as(t1); }, - get$mouse_svg_pos: function() { + get$mouse_svg_pos() { var t1 = J.$index$asx(this.get$props(this), string$.DesignSPom); if (t1 == null) t1 = null; - return type$.legacy_Point_legacy_num._as(t1); + return type$.nullable_Point_double._as(t1); }, - get$invert_y: function() { + get$invert_y() { var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); + return A._asBoolS(t1 == null ? null : t1); }, - get$geometry: function(_) { + get$geometry(_) { var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.geometry"); if (t1 == null) t1 = null; - return type$.legacy_Geometry._as(t1); - } - }; - Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps.prototype = { - get$geometry: function(receiver) { - return this.DesignSidePotentialHelixProps_geometry; + return type$.Geometry._as(t1); } }; - Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps.prototype = {}; - O.DesignSideRotationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - O.DesignSideRotationComponent.prototype = { - render$0: function(_) { - var t2, t3, color_forward_str, color_reverse_str, t4, t5, _this = this, + A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps.prototype = {}; + A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps.prototype = {}; + A.DesignSideRotationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideRotationComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s14_ = "rotation-arrow", - t1 = _this._design_side_rotation$_cachedTypedProps; + t1 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$data(t1).roll_forward; - t2 = _this._design_side_rotation$_cachedTypedProps; + t2 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; t2 = t2.get$data(t2).minor_groove_angle; - t3 = _this._design_side_rotation$_cachedTypedProps; + t3 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; t3 = t3.get$data(t3).color_forward.toHexColor$0(); - color_forward_str = "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex(); - t3 = _this._design_side_rotation$_cachedTypedProps; - t3 = t3.get$data(t3).color_reverse.toHexColor$0(); - color_reverse_str = "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex(); - t3 = A.SvgProps$($.$get$g(), null); - t4 = E.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); - t4.set$radius(_this._design_side_rotation$_cachedTypedProps.get$radius()); - t5 = _this._design_side_rotation$_cachedTypedProps; - t4.set$angle_degrees(t5.get$data(t5).roll_forward); - t5 = J.getInterceptor$z(t4); - t5.set$color(t4, color_forward_str); - t4.set$invert_y(_this._design_side_rotation$_cachedTypedProps.get$invert_y()); - t5.set$className(t4, _s14_); - t4 = t4.call$0(); - t5 = E.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); - t5.set$radius(_this._design_side_rotation$_cachedTypedProps.get$radius()); - t5.set$angle_degrees(t1 + t2); - t2 = J.getInterceptor$z(t5); - t2.set$color(t5, color_reverse_str); - t5.set$invert_y(_this._design_side_rotation$_cachedTypedProps.get$invert_y()); - t2.set$className(t5, _s14_); - return t3.call$2(t4, t5.call$0()); + t4 = t3.get$rHex(); + t5 = t3.get$gHex(); + t3 = t3.get$bHex(); + t6 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; + t6 = t6.get$data(t6).color_reverse.toHexColor$0(); + t7 = t6.get$rHex(); + t8 = t6.get$gHex(); + t6 = t6.get$bHex(); + t9 = A.SvgProps$($.$get$g(), null); + t10 = A.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); + t10.set$radius(_this.___$DesignSideRotationComponent__cachedTypedProps_A.get$radius()); + t11 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; + t10.set$angle_degrees(t11.get$data(t11).roll_forward); + t11 = J.getInterceptor$z(t10); + t11.set$color(t10, "#" + t4 + t5 + t3); + t10.set$invert_y(_this.___$DesignSideRotationComponent__cachedTypedProps_A.get$invert_y()); + t11.set$className(t10, _s14_); + t10 = t10.call$0(); + t11 = A.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); + t11.set$radius(_this.___$DesignSideRotationComponent__cachedTypedProps_A.get$radius()); + t11.set$angle_degrees(t1 + t2); + t2 = J.getInterceptor$z(t11); + t2.set$color(t11, "#" + t7 + t8 + t6); + t11.set$invert_y(_this.___$DesignSideRotationComponent__cachedTypedProps_A.get$invert_y()); + t2.set$className(t11, _s14_); + return t9.call$2(t10, t11.call$0()); } }; - O.$DesignSideRotationComponentFactory_closure.prototype = { - call$0: function() { - return new O._$DesignSideRotationComponent(null); + A.$DesignSideRotationComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignSideRotationComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 501 + $signature: 510 }; - O._$$DesignSideRotationProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignSideRotationProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignSideRotationComponentFactory() : t1; } }; - O._$$DesignSideRotationProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignSideRotationProps$PlainMap.prototype = { + get$props(_) { return this._design_side_rotation$_props; } }; - O._$$DesignSideRotationProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignSideRotationProps$JsMap.prototype = { + get$props(_) { return this._design_side_rotation$_props; } }; - O._$DesignSideRotationComponent.prototype = { - get$props: function(_) { - return this._design_side_rotation$_cachedTypedProps; + A._$DesignSideRotationComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignSideRotationComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_side_rotation$_cachedTypedProps = O._$$DesignSideRotationProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignSideRotationComponent__cachedTypedProps_A = A._$$DesignSideRotationProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignSideRotation"; }, - get$$$defaultConsumedProps: function() { - return C.Map_36wX4.get$values(C.Map_36wX4); + get$$$defaultConsumedProps() { + return B.Map_365me.get$values(B.Map_365me); } }; - O.$DesignSideRotationProps.prototype = { - get$radius: function() { + A.$DesignSideRotationProps.prototype = { + get$radius() { var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.radius"); - return H._asDoubleS(t1 == null ? null : t1); + return A._asDoubleS(t1 == null ? null : t1); }, - get$data: function(_) { + get$data(_) { var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.data"); if (t1 == null) t1 = null; - return type$.legacy_DesignSideRotationData._as(t1); + return type$.DesignSideRotationData._as(t1); }, - get$invert_y: function() { + get$invert_y() { var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.invert_y"); - return H._asBoolS(t1 == null ? null : t1); - } - }; - O._DesignSideRotationComponent_UiComponent2_PureComponent.prototype = {}; - O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps.prototype = {}; - O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps.prototype = {}; - E.DesignSideRotationArrowProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - E.DesignSideRotationArrowComponent.prototype = { - render$0: function(_) { - var mag, t2, path_description, angle_degrees, _this = this, _null = null, - t1 = _this._design_side_rotation_arrow$_cachedTypedProps; + return A._asBoolS(t1 == null ? null : t1); + } + }; + A._DesignSideRotationComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps.prototype = {}; + A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps.prototype = {}; + A.DesignSideRotationArrowProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideRotationArrowComponent.prototype = { + render$0(_) { + var mag, t2, t3, t4, angle_degrees, _this = this, _null = null, + t1 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "DesignSideRotationArrowProps.radius"); - t1 = H._asDoubleS(t1 == null ? _null : t1); + t1 = A._asDoubleS(t1 == null ? _null : t1); if (typeof t1 !== "number") return t1.$mul(); mag = t1 * 0.93; - t1 = mag / 6; - t2 = mag / 4; - path_description = "M 0 0 v -" + H.S(mag) + " m " + H.S(t1) + " " + H.S(t2) + " L 0 -" + H.S(mag) + " m -" + H.S(t1) + " " + H.S(t2) + " L 0 -" + H.S(mag) + " "; - t2 = _this._design_side_rotation_arrow$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.DesignSR); - angle_degrees = H._asDoubleS(t2 == null ? _null : t2); - t1 = _this._design_side_rotation_arrow$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "DesignSideRotationArrowProps.invert_y"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = A.S(mag); + t2 = A.S(mag / 6); + t3 = A.S(mag / 4); + t4 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, string$.DesignSR); + angle_degrees = A._asDoubleS(t4 == null ? _null : t4); + t4 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, "DesignSideRotationArrowProps.invert_y"); + if (A.boolConversionCheck(A._asBoolS(t4 == null ? _null : t4))) { if (typeof angle_degrees !== "number") return angle_degrees.$add(); angle_degrees += 180; } - t1 = A.SvgProps$($.$get$path(), _null); - t1.set$transform(0, "rotate(" + H.S(angle_degrees) + ")"); - t1.set$d(0, path_description); - t1.set$fill(0, "none"); - t2 = _this._design_side_rotation_arrow$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "DesignSideRotationArrowProps.color"); - t1.set$stroke(0, H._asStringS(t2 == null ? _null : t2)); - t1.set$className(0, "rotation-line"); - return t1.call$0(); + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$transform(0, "rotate(" + A.S(angle_degrees) + ")"); + t4.set$d(0, "M 0 0 v -" + t1 + " m " + t2 + " " + t3 + " L 0 -" + t1 + " m -" + t2 + " " + t3 + " L 0 -" + t1 + " "); + t4.set$fill(0, "none"); + t1 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "DesignSideRotationArrowProps.color"); + t4.set$stroke(0, A._asStringS(t1 == null ? _null : t1)); + t4.set$className(0, "rotation-line"); + return t4.call$0(); } }; - E.$DesignSideRotationArrowComponentFactory_closure.prototype = { - call$0: function() { - return new E._$DesignSideRotationArrowComponent(null); + A.$DesignSideRotationArrowComponentFactory_closure.prototype = { + call$0() { + return new A._$DesignSideRotationArrowComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 502 + $signature: 511 }; - E._$$DesignSideRotationArrowProps.prototype = { - get$$$isClassGenerated: function() { + A._$$DesignSideRotationArrowProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$DesignSideRotationArrowComponentFactory() : t1; } }; - E._$$DesignSideRotationArrowProps$PlainMap.prototype = { - get$props: function(_) { + A._$$DesignSideRotationArrowProps$PlainMap.prototype = { + get$props(_) { return this._design_side_rotation_arrow$_props; } }; - E._$$DesignSideRotationArrowProps$JsMap.prototype = { - get$props: function(_) { + A._$$DesignSideRotationArrowProps$JsMap.prototype = { + get$props(_) { return this._design_side_rotation_arrow$_props; } }; - E._$DesignSideRotationArrowComponent.prototype = { - get$props: function(_) { - return this._design_side_rotation_arrow$_cachedTypedProps; + A._$DesignSideRotationArrowComponent.prototype = { + get$props(_) { + var t1 = this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._design_side_rotation_arrow$_cachedTypedProps = E._$$DesignSideRotationArrowProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$DesignSideRotationArrowComponent__cachedTypedProps_A = A._$$DesignSideRotationArrowProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "DesignSideRotationArrow"; }, - get$$$defaultConsumedProps: function() { - return C.Map_OPgUw.get$values(C.Map_OPgUw); + get$$$defaultConsumedProps() { + return B.Map_OPVIs.get$values(B.Map_OPVIs); } }; - E.$DesignSideRotationArrowProps.prototype = { - set$angle_degrees: function(value) { + A.$DesignSideRotationArrowProps.prototype = { + set$angle_degrees(value) { J.$indexSet$ax(this.get$props(this), string$.DesignSR, value); }, - set$radius: function(value) { + set$radius(value) { J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.radius", value); }, - set$color: function(_, value) { + set$color(_, value) { J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.color", value); }, - set$invert_y: function(value) { + set$invert_y(value) { J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.invert_y", value); } }; - E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps.prototype = {}; - E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps.prototype = {}; - Z.ConnectedEditAndSelectModes_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, t5; - type$.legacy_AppState._as(state); - t1 = state.design; - t1 = t1 == null ? null : t1.get$is_origami(); - t2 = Z.edit_and_select_modes___$EditAndSelectModes$closure().call$0(); - t3 = state.ui_state.storables; - t4 = t3.edit_modes; - t2.toString; - type$.legacy_BuiltSet_legacy_EditModeChoice._as(t4); - t5 = J.getInterceptor$x(t2); - J.$indexSet$ax(t5.get$props(t2), "EditAndSelectModesProps.edit_modes", t4); - t4 = t3.select_mode_state; - J.$indexSet$ax(t5.get$props(t2), string$.EditAns, t4); - J.$indexSet$ax(t5.get$props(t2), "EditAndSelectModesProps.is_origami", t1 === true); - t3 = t3.show_edit_mode_menu; - J.$indexSet$ax(t5.get$props(t2), string$.EditAne, t3); - return t2; + A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps.prototype = {}; + A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps.prototype = {}; + A.ConnectedEditAndSelectModes_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_edit_and_select_mode_props(A.edit_and_select_modes___$EditAndSelectModes$closure().call$0(), state); }, - $signature: 503 + $signature: 512 }; - Z.EditAndSelectModesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - Z.EditAndSelectModesComponent.prototype = { - render$0: function(_) { - var t2, t3, t4, _this = this, _null = null, + A.EditAndSelectModesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EditAndSelectModesComponent.prototype = { + render$0(_) { + var select_mode, t2, t3, t4, _this = this, _null = null, _s23_ = "edit-mode-toggle-button", - select_mode = _this._cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_select) || _this._cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_rope_select), - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - if (select_mode && H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { - t2 = D.select_mode___$SelectMode$closure().call$0(); - t3 = _this._cachedTypedProps; + t1 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + select_mode = t1.get$edit_modes()._set.contains$1(0, B.EditModeChoice_select) || _this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_modes()._set.contains$1(0, B.EditModeChoice_rope_select); + t1 = A._setArrayType([], type$.JSArray_ReactElement); + if (select_mode && A.boolConversionCheck(_this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_mode_menu_visible())) { + t2 = A.select_mode___$SelectMode$closure().call$0(); + t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, string$.EditAns); if (t3 == null) t3 = _null; - type$.legacy_SelectModeState._as(t3); + type$.SelectModeState._as(t3); t2.toString; t4 = J.getInterceptor$x(t2); J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.select_mode_state", t3); - t3 = _this._cachedTypedProps; + t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, "EditAndSelectModesProps.is_origami"); - t3 = H._asBoolS(t3 == null ? _null : t3); + t3 = A._asBoolS(t3 == null ? _null : t3); J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.is_origami", t3); t4.set$key(t2, "select-modes"); t1.push(t2.call$0()); } - if (select_mode && H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { + if (select_mode && A.boolConversionCheck(_this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_mode_menu_visible())) { t2 = A.DomProps$($.$get$div(), _null); t2.set$className(0, "fixed-vertical-separator"); t2.set$key(0, "modes-separator"); t1.push(t2.call$0()); } - if (H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { - t2 = M.edit_mode___$EditMode$closure().call$0(); - t3 = _this._cachedTypedProps.get$edit_modes(); + if (A.boolConversionCheck(_this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_mode_menu_visible())) { + t2 = A.edit_mode___$EditMode$closure().call$0(); + t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_modes(); t2.toString; - type$.legacy_BuiltSet_legacy_EditModeChoice._as(t3); + type$.BuiltSet_EditModeChoice._as(t3); t4 = J.getInterceptor$x(t2); J.$indexSet$ax(t4.get$props(t2), "EditModeProps.modes", t3); t4.set$key(t2, "edit-modes"); @@ -143485,112 +144887,110 @@ t2 = A.DomProps$($.$get$button(), _null); t2.set$key(0, _s23_); t2.set$className(0, _s23_); - t2.set$title(0, H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible()) ? "Hide edit mode menu" : "Open edit mode menu"); - t2.set$onClick(0, new Z.EditAndSelectModesComponent_render_closure()); + t2.set$title(0, A.boolConversionCheck(_this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_mode_menu_visible()) ? "Hide edit mode menu" : "Open edit mode menu"); + t2.set$onClick(0, new A.EditAndSelectModesComponent_render_closure()); t3 = A.DomProps$($.$get$img(), _null); - t3.set$className(0, H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible()) ? "" : "appear"); + t3.set$className(0, A.boolConversionCheck(_this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$edit_mode_menu_visible()) ? "" : "appear"); t3.set$src(0, "images/show_menu.png"); t1.push(t2.call$1(t3.call$0())); return t1; } }; - Z.EditAndSelectModesComponent_render_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.dispatch$1(new U._$ShowEditMenuToggle()); + A.EditAndSelectModesComponent_render_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(new A._$ShowEditMenuToggle()); }, - $signature: 3 + $signature: 2 }; - Z.$EditAndSelectModesComponentFactory_closure.prototype = { - call$0: function() { - return new Z._$EditAndSelectModesComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + A.$EditAndSelectModesComponentFactory_closure.prototype = { + call$0() { + return new A._$EditAndSelectModesComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 504 + $signature: 513 }; - Z._$$EditAndSelectModesProps.prototype = { - get$$$isClassGenerated: function() { + A._$$EditAndSelectModesProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$EditAndSelectModesComponentFactory() : t1; } }; - Z._$$EditAndSelectModesProps$PlainMap.prototype = { - get$props: function(_) { - return this._props; + A._$$EditAndSelectModesProps$PlainMap.prototype = { + get$props(_) { + return this._edit_and_select_modes$_props; } }; - Z._$$EditAndSelectModesProps$JsMap.prototype = { - get$props: function(_) { - return this._props; + A._$$EditAndSelectModesProps$JsMap.prototype = { + get$props(_) { + return this._edit_and_select_modes$_props; } }; - Z._$EditAndSelectModesComponent.prototype = { - get$props: function(_) { - return this._cachedTypedProps; + A._$EditAndSelectModesComponent.prototype = { + get$props(_) { + var t1 = this.___$EditAndSelectModesComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._cachedTypedProps = Z._$$EditAndSelectModesProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$EditAndSelectModesComponent__cachedTypedProps_A = A._$$EditAndSelectModesProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "EditAndSelectModes"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2foCX.get$values(C.Map_2foCX); + get$$$defaultConsumedProps() { + return B.Map_2fHFO.get$values(B.Map_2fHFO); } }; - Z.$EditAndSelectModesProps.prototype = { - get$edit_modes: function() { + A.$EditAndSelectModesProps.prototype = { + get$edit_modes() { var t1 = J.$index$asx(this.get$props(this), "EditAndSelectModesProps.edit_modes"); if (t1 == null) t1 = null; - return type$.legacy_BuiltSet_legacy_EditModeChoice._as(t1); + return type$.BuiltSet_EditModeChoice._as(t1); }, - get$edit_mode_menu_visible: function() { + get$edit_mode_menu_visible() { var t1 = J.$index$asx(this.get$props(this), string$.EditAne); - return H._asBoolS(t1 == null ? null : t1); + return A._asBoolS(t1 == null ? null : t1); } }; - Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin.prototype = { - componentDidUpdate$3: function(_, __, ___) { + A._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3(_, __, ___) { var t1, _this = this; _this.super$Component2$componentDidUpdate(_, __, ___); t1 = ++_this.RedrawCounterMixin_redrawCount; if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) return; _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); - _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); - }, - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + _this.set$_didRedraw(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int)); } }; - Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps.prototype = {}; - Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps.prototype = {}; - M.EditModeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - M.EditModeComponent.prototype = { - render$0: function(_) { + A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps.prototype = {}; + A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps.prototype = {}; + A.EditModeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EditModeComponent.prototype = { + render$0(_) { var t2, t3, t1 = A.DomProps$($.$get$div(), null); t1.set$id(0, "edit-mode"); - t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t2 = A._setArrayType([], type$.JSArray_ReactElement); for (t3 = $.$get$_$values()._set, t3 = t3.get$iterator(t3); t3.moveNext$0();) t2.push(this._button_for_choice$1(t3.get$current(t3))); - return t1.call$1(P.List_List$of(t2, true, type$.legacy_ReactElement)); + return t1.call$1(A.List_List$of(t2, true, type$.ReactElement)); }, - _button_for_choice$1: function(mode) { + _button_for_choice$1(mode) { var t2, t3, t1 = A.DomProps$($.$get$button(), null); - t1.set$onClick(0, new M.EditModeComponent__button_for_choice_closure(mode)); - t2 = this._edit_mode$_cachedTypedProps; + t1.set$onClick(0, new A.EditModeComponent__button_for_choice_closure(mode)); + t2 = this.___$EditModeComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); t2 = t2.get$props(t2).$index(0, "EditModeProps.modes"); if (t2 == null) t2 = null; - t1.set$className(0, "mode-button " + (type$.legacy_BuiltSet_legacy_EditModeChoice._as(t2)._set.contains$1(0, mode) ? "edit-mode-button-selected" : "edit-mode-button-unselected")); + t1.set$className(0, "mode-button " + (type$.BuiltSet_EditModeChoice._as(t2)._set.contains$1(0, mode) ? "edit-mode-button-selected" : "edit-mode-button-unselected")); t1.addTestId$1("scadnano.EditModeComponent.button." + mode.name); t1.set$title(0, mode.get$tooltip()); t1.set$key(0, mode.display_name$0()); @@ -143599,93 +144999,90 @@ return t1.call$2(t3.call$0(), mode.display_name$0()); } }; - M.EditModeComponent__button_for_choice_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - $.app.dispatch$1(U.EditModeToggle_EditModeToggle(this.mode)); - $.app.dispatch$1(U.SelectionsClear_SelectionsClear()); + A.EditModeComponent__button_for_choice_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + $.__app._readField$0().dispatch$1(A.EditModeToggle_EditModeToggle(this.mode)); + $.__app._readField$0().dispatch$1(A.SelectionsClear_SelectionsClear()); }, - $signature: 17 + $signature: 15 }; - M.$EditModeComponentFactory_closure.prototype = { - call$0: function() { - return new M._$EditModeComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + A.$EditModeComponentFactory_closure.prototype = { + call$0() { + return new A._$EditModeComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 505 + $signature: 514 }; - M._$$EditModeProps.prototype = { - get$$$isClassGenerated: function() { + A._$$EditModeProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$EditModeComponentFactory() : t1; } }; - M._$$EditModeProps$PlainMap.prototype = { - get$props: function(_) { - return this._edit_mode$_props; + A._$$EditModeProps$PlainMap.prototype = { + get$props(_) { + return this._props; } }; - M._$$EditModeProps$JsMap.prototype = { - get$props: function(_) { - return this._edit_mode$_props; + A._$$EditModeProps$JsMap.prototype = { + get$props(_) { + return this._props; } }; - M._$EditModeComponent.prototype = { - get$props: function(_) { - return this._edit_mode$_cachedTypedProps; + A._$EditModeComponent.prototype = { + get$props(_) { + var t1 = this.___$EditModeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._edit_mode$_cachedTypedProps = M._$$EditModeProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$EditModeComponent__cachedTypedProps_A = A._$$EditModeProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "EditMode"; }, - get$$$defaultConsumedProps: function() { - return C.Map_bdWrY.get$values(C.Map_bdWrY); + get$$$defaultConsumedProps() { + return B.Map_bdfHw.get$values(B.Map_bdfHw); } }; - M.$EditModeProps.prototype = {}; - M._EditModeComponent_UiComponent2_RedrawCounterMixin.prototype = { - componentDidUpdate$3: function(_, __, ___) { + A.$EditModeProps.prototype = {}; + A._EditModeComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3(_, __, ___) { var t1, _this = this; _this.super$Component2$componentDidUpdate(_, __, ___); t1 = ++_this.RedrawCounterMixin_redrawCount; if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) return; _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); - _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); - }, - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + _this.set$_didRedraw(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int)); } }; - M.__$$EditModeProps_UiProps_EditModeProps.prototype = {}; - M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps.prototype = {}; - L.ErrorMessageComponent.prototype = {}; - V.context_menu_helix_dialog_helix_set_min_offset.prototype = { - call$0: function() { + A.__$$EditModeProps_UiProps_EditModeProps.prototype = {}; + A.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps.prototype = {}; + A.ErrorMessageComponent.prototype = {}; + A.context_menu_helix_dialog_helix_set_min_offset.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, t2, t3, apply_to_all, min_offset, items, t1; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - items = P.List_List$filled(3, null, false, type$.legacy_DialogItem); + items = new A.FixedList(A.List_List$filled(3, null, false, type$.nullable_DialogItem), A.List_List$filled(3, false, false, type$.bool), type$.FixedList_DialogItem); t1 = $async$self.helix; - C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("minimum", null, t1.min_offset)); - C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("set minimum by existing domains", "", false)); - C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); + items._util$_set$2(0, A.DialogInteger_DialogInteger("minimum", "", t1.min_offset)); + items._util$_set$2(1, A.DialogCheckbox_DialogCheckbox("set minimum by existing domains", "", false)); + items._util$_set$2(2, A.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], type$.JSArray_legacy_int)], type$.legacy_int, type$.legacy_Iterable_legacy_int), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix minimum offset", C.DialogType_set_helix_minimum_offset, true)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType([1], type$.JSArray_int)], type$.int, type$.Iterable_int), B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix minimum offset", B.DialogType_set_helix_minimum_offset, true)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -143695,59 +145092,58 @@ break; } t2 = J.getInterceptor$asx(results); - t3 = type$.legacy_DialogCheckbox; + t3 = type$.DialogCheckbox; apply_to_all = t3._as(t2.$index(results, 2)).value; - if (t3._as(t2.$index(results, 1)).value) { - t2 = $.app; + if (t3._as(t2.$index(results, 1)).value) if (apply_to_all) { - type$.legacy_void_Function_legacy_HelixMinOffsetSetByDomainsAllBuilder._as(null); - t2.dispatch$1(new U.HelixMinOffsetSetByDomainsAllBuilder().build$0()); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_HelixMinOffsetSetByDomainsAllBuilder._as(null); + t1.dispatch$1(new A.HelixMinOffsetSetByDomainsAllBuilder()._build$0()); } else - t2.dispatch$1(U._$HelixMinOffsetSetByDomains$_(t1.idx)); - } else { - min_offset = H._asIntS(type$.legacy_DialogInteger._as(t2.$index(results, 0)).value); + $.__app._readField$0().dispatch$1(A._$HelixMinOffsetSetByDomains$_(t1.idx)); + else { + min_offset = type$.DialogInteger._as(t2.$index(results, 0)).value; t2 = t1.max_offset; if (min_offset >= t2) { - C.Window_methods.alert$1(window, "minimum offset must be strictly less than maximum offset " + t2 + ", but you chose minimum offset " + min_offset); + B.Window_methods.alert$1(window, "minimum offset must be strictly less than maximum offset " + t2 + ", but you chose minimum offset " + min_offset); // goto return $async$goto = 1; break; } - t2 = $.app; if (apply_to_all) - t2.dispatch$1(new U._$HelixOffsetChangeAll(min_offset, null)); + $.__app._readField$0().dispatch$1(new A._$HelixOffsetChangeAll(min_offset, null)); else - t2.dispatch$1(U._$HelixOffsetChange$_(t1.idx, null, min_offset)); + $.__app._readField$0().dispatch$1(A._$HelixOffsetChange$_(t1.idx, null, min_offset)); } case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_max_offset.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_max_offset.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, t2, t3, apply_to_all, max_set_by_domain, take_max_of_all, max_offset, items, t1; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - items = P.List_List$filled(4, null, false, type$.legacy_DialogItem); + items = new A.FixedList(A.List_List$filled(4, null, false, type$.nullable_DialogItem), A.List_List$filled(4, false, false, type$.bool), type$.FixedList_DialogItem); t1 = $async$self.helix; - C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("maximum", null, t1.max_offset)); - C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("set maximum by existing domains", "", false)); - C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); - C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("give all same max", "", false)); + items._util$_set$2(0, A.DialogInteger_DialogInteger("maximum", "", t1.max_offset)); + items._util$_set$2(1, A.DialogCheckbox_DialogCheckbox("set maximum by existing domains", "", false)); + items._util$_set$2(2, A.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); + items._util$_set$2(3, A.DialogCheckbox_DialogCheckbox("give all same max", "", false)); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], type$.JSArray_legacy_int)], type$.legacy_int, type$.legacy_Iterable_legacy_int), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix maximum offset", C.DialogType_set_helix_maximum_offset, true)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, A.LinkedHashMap_LinkedHashMap$_literal([0, A._setArrayType([1], type$.JSArray_int)], type$.int, type$.Iterable_int), B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix maximum offset", B.DialogType_set_helix_maximum_offset, true)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -143757,61 +145153,61 @@ break; } t2 = J.getInterceptor$asx(results); - t3 = type$.legacy_DialogCheckbox; + t3 = type$.DialogCheckbox; apply_to_all = t3._as(t2.$index(results, 2)).value; max_set_by_domain = t3._as(t2.$index(results, 1)).value; take_max_of_all = t3._as(t2.$index(results, 3)).value; if (max_set_by_domain) - if (apply_to_all) { - t1 = $.app; + if (apply_to_all) if (take_max_of_all) { - type$.legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllSameMaxBuilder._as(null); - t1.dispatch$1(new U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder().build$0()); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_HelixMaxOffsetSetByDomainsAllSameMaxBuilder._as(null); + t1.dispatch$1(new A.HelixMaxOffsetSetByDomainsAllSameMaxBuilder()._build$0()); } else { - type$.legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllBuilder._as(null); - t1.dispatch$1(new U.HelixMaxOffsetSetByDomainsAllBuilder().build$0()); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_HelixMaxOffsetSetByDomainsAllBuilder._as(null); + t1.dispatch$1(new A.HelixMaxOffsetSetByDomainsAllBuilder()._build$0()); } - } else - $.app.dispatch$1(U._$HelixMaxOffsetSetByDomains$_(t1.idx)); + else + $.__app._readField$0().dispatch$1(A._$HelixMaxOffsetSetByDomains$_(t1.idx)); else { - max_offset = H._asIntS(type$.legacy_DialogInteger._as(t2.$index(results, 0)).value); + max_offset = type$.DialogInteger._as(t2.$index(results, 0)).value; t2 = t1.min_offset; if (t2 >= max_offset) { - C.Window_methods.alert$1(window, "minimum offset " + t2 + " must be strictly less than maximum offset, but you chose maximum offset " + max_offset); + B.Window_methods.alert$1(window, "minimum offset " + t2 + " must be strictly less than maximum offset, but you chose maximum offset " + max_offset); // goto return $async$goto = 1; break; } - t2 = $.app; if (apply_to_all) - t2.dispatch$1(new U._$HelixOffsetChangeAll(null, max_offset)); + $.__app._readField$0().dispatch$1(new A._$HelixOffsetChangeAll(null, max_offset)); else - t2.dispatch$1(U._$HelixOffsetChange$_(t1.idx, max_offset, null)); + $.__app._readField$0().dispatch$1(A._$HelixOffsetChange$_(t1.idx, max_offset, null)); } case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_idx.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_idx.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, new_idx, t2, t1, results; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.helix.idx; $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogInteger_DialogInteger("new index", null, t1)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix index", C.DialogType_set_helix_index, false)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogInteger_DialogInteger("new index", "", t1)], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix index", B.DialogType_set_helix_index, false)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -143820,26 +145216,26 @@ $async$goto = 1; break; } - new_idx = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); - t2 = type$.legacy_int; - $.app.dispatch$1(U.HelixIdxsChange_HelixIdxsChange(P.LinkedHashMap_LinkedHashMap$_literal([t1, new_idx], t2, t2))); + new_idx = type$.DialogInteger._as(J.$index$asx(results, 0)).value; + t2 = type$.int; + $.__app._readField$0().dispatch$1(A.HelixIdxsChange_HelixIdxsChange(A.LinkedHashMap_LinkedHashMap$_literal([t1, new_idx], t2, t2))); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_roll.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_roll.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, roll, t1, helix_idx, results; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -143847,7 +145243,7 @@ t1 = $async$self.helix; helix_idx = t1.idx; $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogFloat_DialogFloat("roll", t1.roll)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix roll (degrees)", C.DialogType_set_helix_roll_degrees, false)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogFloat_DialogFloat("roll", t1.roll)], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix roll (degrees)", B.DialogType_set_helix_roll_degrees, false)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -143856,25 +145252,25 @@ $async$goto = 1; break; } - roll = C.JSNumber_methods.$mod(type$.legacy_DialogFloat._as(J.$index$asx(results, 0)).value, 360); - $.app.dispatch$1(U._$HelixRollSet$_(helix_idx, roll)); + roll = B.JSNumber_methods.$mod(type$.DialogFloat._as(J.$index$asx(results, 0)).value, 360); + $.__app._readField$0().dispatch$1(A._$HelixRollSet$_(helix_idx, roll)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_major_tick_marks.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_major_tick_marks.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, default_regular_distance, default_periodic_distances, t2, t3, items, t4, results, t5, use_major_tick_distance, use_major_tick_periodic_distances, use_major_ticks, apply_to_all, apply_to_some, major_tick_periodic_distances, major_tick_start, major_ticks, major_tick_distance, action, helix_idxs, all_actions, _i, this_helix_idx, t6, t1, helix_idx, grid, default_start; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t2, default_periodic_distances, default_regular_distance, t3, items, t4, results, t5, use_major_tick_distance, use_major_tick_periodic_distances, use_major_ticks, apply_to_all, apply_to_some, major_tick_periodic_distances, major_tick_start, major_ticks, major_tick_distance, action, helix_idxs, all_actions, _i, this_helix_idx, t1, helix_idx, grid, default_start; + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -143884,35 +145280,37 @@ grid = t1.grid; default_start = t1.major_tick_start; if (t1.get$has_major_tick_distance()) { - default_regular_distance = t1.get$major_tick_distance(); - default_periodic_distances = H.setRuntimeTypeInfo([default_regular_distance], type$.JSArray_legacy_int); + t2 = t1.get$major_tick_distance(); + t2.toString; + default_periodic_distances = A._setArrayType([t2], type$.JSArray_int); + default_regular_distance = t2; } else if (t1.get$has_major_tick_periodic_distances()) { t2 = t1.major_tick_periodic_distances; t3 = t2._list; - default_regular_distance = J.get$first$ax(t3); - default_periodic_distances = new Q.CopyOnWriteList(true, t3, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + default_regular_distance = B.JSArray_methods.get$first(t3); + default_periodic_distances = new A.CopyOnWriteList(true, t3, A._instanceType(t2)._eval$1("CopyOnWriteList<1>")); } else { default_regular_distance = grid.get$default_major_tick_distance(); - default_periodic_distances = H.setRuntimeTypeInfo([default_regular_distance], type$.JSArray_legacy_int); + default_periodic_distances = A._setArrayType([default_regular_distance], type$.JSArray_int); } - items = P.List_List$filled(10, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogCheckbox_DialogCheckbox("regular spacing", "", t1.get$has_major_tick_distance())); - C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("regular distance", null, default_regular_distance)); - C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("starting major tick", null, default_start)); - C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("periodic spacing", "", t1.get$has_major_tick_periodic_distances())); - C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("periodic distances", null, J.join$1$ax(default_periodic_distances, " "))); - C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("explicit list of major tick spacing", "", t1.get$has_major_ticks())); + items = new A.FixedList(A.List_List$filled(10, null, false, type$.nullable_DialogItem), A.List_List$filled(10, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogCheckbox_DialogCheckbox("regular spacing", "", t1.get$has_major_tick_distance())); + items._util$_set$2(1, A.DialogInteger_DialogInteger("regular distance", "", default_regular_distance)); + items._util$_set$2(2, A.DialogInteger_DialogInteger("starting major tick", "", default_start)); + items._util$_set$2(3, A.DialogCheckbox_DialogCheckbox("periodic spacing", "", t1.get$has_major_tick_periodic_distances())); + items._util$_set$2(4, A.DialogText_DialogText("periodic distances", "", J.join$1$ax(default_periodic_distances, " "))); + items._util$_set$2(5, A.DialogCheckbox_DialogCheckbox("explicit list of major tick spacing", "", t1.get$has_major_ticks())); t2 = t1.major_ticks; - C.JSArray_methods.$indexSet(items, 6, E.DialogText_DialogText("distances (space-separated)", null, t2 == null ? "" : C.JSArray_methods.join$1(E.deltas(t2), " "))); + items._util$_set$2(6, A.DialogText_DialogText("distances (space-separated)", "", t2 == null ? "" : B.JSArray_methods.join$1(A.deltas(t2), " "))); t2 = $async$self.helix_change_apply_to_all; - C.JSArray_methods.$indexSet(items, 7, E.DialogCheckbox_DialogCheckbox("apply to all", "", t2)); - C.JSArray_methods.$indexSet(items, 8, E.DialogCheckbox_DialogCheckbox("apply to some", "", t2)); - C.JSArray_methods.$indexSet(items, 9, E.DialogText_DialogText("helices (space-separated)", null, "")); - t2 = type$.JSArray_legacy_int; - t3 = type$.legacy_int; - t4 = type$.legacy_Iterable_legacy_int; + items._util$_set$2(7, A.DialogCheckbox_DialogCheckbox("apply to all", "", t2)); + items._util$_set$2(8, A.DialogCheckbox_DialogCheckbox("apply to some", "", t2)); + items._util$_set$2(9, A.DialogText_DialogText("helices (space-separated)", "", "")); + t2 = type$.JSArray_int; + t3 = type$.int; + t4 = type$.Iterable_int; $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([1, H.setRuntimeTypeInfo([0], t2), 4, H.setRuntimeTypeInfo([3], t2), 6, H.setRuntimeTypeInfo([5], t2)], t3, t4), P.LinkedHashMap_LinkedHashMap$_literal([2, H.setRuntimeTypeInfo([5], t2)], t3, t4), C.Map_empty3, items, H.setRuntimeTypeInfo([H.setRuntimeTypeInfo([0, 3, 5], t2), H.setRuntimeTypeInfo([7, 8], t2)], type$.JSArray_legacy_Iterable_legacy_int), E.dialog_Dialog_identity_function$closure(), "set helix tick marks", C.DialogType_set_helix_tick_marks, true)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, A.LinkedHashMap_LinkedHashMap$_literal([1, A._setArrayType([0], t2), 4, A._setArrayType([3], t2), 6, A._setArrayType([5], t2)], t3, t4), A.LinkedHashMap_LinkedHashMap$_literal([2, A._setArrayType([5], t2)], t3, t4), B.Map_empty3, items, A._setArrayType([A._setArrayType([0, 3, 5], t2), A._setArrayType([7, 8], t2)], type$.JSArray_Iterable_int), A.dialog_Dialog_identity_function$closure(), "set helix tick marks", B.DialogType_set_helix_tick_marks, true)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -143922,7 +145320,7 @@ break; } t4 = J.getInterceptor$asx(results); - t5 = type$.legacy_DialogCheckbox; + t5 = type$.DialogCheckbox; use_major_tick_distance = t5._as(t4.$index(results, 0)).value; use_major_tick_periodic_distances = t5._as(t4.$index(results, 3)).value; use_major_ticks = t5._as(t4.$index(results, 5)).value; @@ -143933,18 +145331,19 @@ } apply_to_all = t5._as(t4.$index(results, 7)).value; apply_to_some = t5._as(t4.$index(results, 8)).value; - major_tick_periodic_distances = H.setRuntimeTypeInfo([], t2); - t2 = type$.legacy_DialogInteger; - major_tick_start = H._asIntS(t2._as(t4.$index(results, 2)).value); + major_tick_periodic_distances = A._setArrayType([], t2); + t2 = type$.DialogInteger; + major_tick_start = t2._as(t4.$index(results, 2)).value; t5 = t1.min_offset; if (major_tick_start < t5) { - C.Window_methods.alert$1(window, "" + major_tick_start + " is not a valid major tick because it is less than the \nminimum offset " + t5 + " of helix " + t5 + "."); + t1 = "" + t5; + B.Window_methods.alert$1(window, "" + major_tick_start + " is not a valid major tick because it is less than the \nminimum offset " + t1 + " of helix " + t1 + "."); // goto return $async$goto = 1; break; } if (use_major_ticks) { - major_ticks = V.parse_major_ticks_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 6)).value, t1, apply_to_all); + major_ticks = A.parse_major_ticks_and_check_validity(type$.DialogText._as(t4.$index(results, 6)).value, t1, apply_to_all); if (major_ticks == null) { // goto return $async$goto = 1; @@ -143953,84 +145352,93 @@ major_tick_distance = null; } else { if (use_major_tick_distance) { - major_tick_distance = H._asIntS(t2._as(t4.$index(results, 1)).value); + major_tick_distance = t2._as(t4.$index(results, 1)).value; if (major_tick_distance <= 0) { - C.Window_methods.alert$1(window, "" + major_tick_distance + string$.x20is_no); + B.Window_methods.alert$1(window, "" + major_tick_distance + string$.x20is_no); // goto return $async$goto = 1; break; } } else { if (use_major_tick_periodic_distances) { - major_tick_periodic_distances = V.parse_major_tick_distances_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 4)).value); + major_tick_periodic_distances = A.parse_major_tick_distances_and_check_validity(type$.DialogText._as(t4.$index(results, 4)).value); if (major_tick_periodic_distances == null) { // goto return $async$goto = 1; break; } } else - throw H.wrapException(P.AssertionError$("should not be reachable")); + throw A.wrapException(A.AssertionError$("should not be reachable")); major_tick_distance = null; } major_ticks = null; } if (apply_to_all) - if (use_major_tick_distance) - action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickDistanceChangeAll$_(major_tick_distance), U._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); - else if (use_major_tick_periodic_distances) - action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickPeriodicDistancesChangeAll$_(D._BuiltList$of(major_tick_periodic_distances, t3)), U._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); - else if (use_major_ticks) - action = U._$HelixMajorTicksChangeAll$_(D._BuiltList$of(major_ticks, t3)); - else - throw H.wrapException(P.AssertionError$("should not be reachable")); + if (use_major_tick_distance) { + major_tick_distance.toString; + action = A.BatchAction_BatchAction(A._setArrayType([A._$HelixMajorTickDistanceChangeAll$_(major_tick_distance), A._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_UndoableAction), "set helix tick marks"); + } else if (use_major_tick_periodic_distances) + action = A.BatchAction_BatchAction(A._setArrayType([A._$HelixMajorTickPeriodicDistancesChangeAll$_(A._BuiltList$of(major_tick_periodic_distances, t3)), A._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_UndoableAction), "set helix tick marks"); + else if (use_major_ticks) { + major_ticks.toString; + action = A._$HelixMajorTicksChangeAll$_(A._BuiltList$of(major_ticks, t3)); + } else + throw A.wrapException(A.AssertionError$("should not be reachable")); else if (apply_to_some) { - helix_idxs = V.parse_helix_idxs_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 9)).value); - t1 = type$.JSArray_legacy_UndoableAction; - all_actions = H.setRuntimeTypeInfo([], t1); - for (t2 = helix_idxs.length, t4 = type$._BuiltList_legacy_int, t5 = major_tick_distance == null, _i = 0; _i < helix_idxs.length; helix_idxs.length === t2 || (0, H.throwConcurrentModificationError)(helix_idxs), ++_i) { + helix_idxs = A.parse_helix_idxs_and_check_validity(type$.DialogText._as(t4.$index(results, 9)).value); + if (helix_idxs == null) { + // goto return + $async$goto = 1; + break; + } + t1 = type$.JSArray_UndoableAction; + all_actions = A._setArrayType([], t1); + for (t2 = helix_idxs.length, t4 = type$._BuiltList_int, _i = 0; _i < helix_idxs.length; helix_idxs.length === t2 || (0, A.throwConcurrentModificationError)(helix_idxs), ++_i) { this_helix_idx = helix_idxs[_i]; if (use_major_tick_distance) { - if (t5) - H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChange", "major_tick_distance")); - C.JSArray_methods.addAll$1(all_actions, H.setRuntimeTypeInfo([new U._$HelixMajorTickDistanceChange(this_helix_idx, major_tick_distance), new U._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); + major_tick_distance.toString; + B.JSArray_methods.addAll$1(all_actions, A._setArrayType([new A._$HelixMajorTickDistanceChange(this_helix_idx, major_tick_distance), new A._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); } else if (use_major_tick_periodic_distances) { - t6 = new D._BuiltList(P.List_List$from(major_tick_periodic_distances, false, t3), t4); - t6._maybeCheckForNull$0(); - C.JSArray_methods.addAll$1(all_actions, H.setRuntimeTypeInfo([new U._$HelixMajorTickPeriodicDistancesChange(this_helix_idx, t6), new U._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); + t5 = new A._BuiltList(A.List_List$from(major_tick_periodic_distances, false, t3), t4); + t5._maybeCheckForNull$0(); + B.JSArray_methods.addAll$1(all_actions, A._setArrayType([new A._$HelixMajorTickPeriodicDistancesChange(this_helix_idx, t5), new A._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); } else if (use_major_ticks) { - t6 = new D._BuiltList(P.List_List$from(major_ticks, false, t3), t4); - t6._maybeCheckForNull$0(); - C.JSArray_methods.add$1(all_actions, new U._$HelixMajorTicksChange(this_helix_idx, t6)); + major_ticks.toString; + t5 = new A._BuiltList(A.List_List$from(major_ticks, false, t3), t4); + t5._maybeCheckForNull$0(); + B.JSArray_methods.add$1(all_actions, new A._$HelixMajorTicksChange(this_helix_idx, t5)); } else - throw H.wrapException(P.AssertionError$("should not be reachable")); + throw A.wrapException(A.AssertionError$("should not be reachable")); } - action = U.BatchAction_BatchAction(all_actions, "set helix tick marks"); - } else if (use_major_tick_distance) - action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickDistanceChange$_(helix_idx, major_tick_distance), U._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); - else if (use_major_tick_periodic_distances) - action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickPeriodicDistancesChange$_(helix_idx, D._BuiltList$of(major_tick_periodic_distances, t3)), U._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); - else if (use_major_ticks) - action = U._$HelixMajorTicksChange$_(helix_idx, D._BuiltList$of(major_ticks, t3)); - else - throw H.wrapException(P.AssertionError$("should not be reachable")); - $.app.dispatch$1(action); + action = A.BatchAction_BatchAction(all_actions, "set helix tick marks"); + } else if (use_major_tick_distance) { + major_tick_distance.toString; + action = A.BatchAction_BatchAction(A._setArrayType([A._$HelixMajorTickDistanceChange$_(helix_idx, major_tick_distance), A._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_UndoableAction), "set helix tick marks"); + } else if (use_major_tick_periodic_distances) + action = A.BatchAction_BatchAction(A._setArrayType([A._$HelixMajorTickPeriodicDistancesChange$_(helix_idx, A._BuiltList$of(major_tick_periodic_distances, t3)), A._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_UndoableAction), "set helix tick marks"); + else if (use_major_ticks) { + major_ticks.toString; + action = A._$HelixMajorTicksChange$_(helix_idx, A._BuiltList$of(major_ticks, t3)); + } else + throw A.wrapException(A.AssertionError$("should not be reachable")); + $.__app._readField$0().dispatch$1(action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_grid_position.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_grid_position.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, t2, t3, h, v, t1, grid_position; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -144038,9 +145446,9 @@ t1 = $async$self.helix; grid_position = t1.grid_position; if (grid_position == null) - grid_position = D.GridPosition_GridPosition(0, 0); + grid_position = A.GridPosition_GridPosition(0, 0); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogInteger_DialogInteger("h", null, grid_position.h), E.DialogInteger_DialogInteger("v", null, grid_position.v)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix grid position", C.DialogType_set_helix_grid_position, false)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogInteger_DialogInteger("h", "", grid_position.h), A.DialogInteger_DialogInteger("v", "", grid_position.v)], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix grid position", B.DialogType_set_helix_grid_position, false)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -144050,27 +145458,27 @@ break; } t2 = J.getInterceptor$asx(results); - t3 = type$.legacy_DialogInteger; + t3 = type$.DialogInteger; h = t3._as(t2.$index(results, 0)).value; v = t3._as(t2.$index(results, 1)).value; - $.app.dispatch$1(U._$HelixGridPositionSet$_(D.GridPosition_GridPosition(H._asIntS(h), H._asIntS(v)), t1)); + $.__app._readField$0().dispatch$1(A._$HelixGridPositionSet$_(A.GridPosition_GridPosition(h, v), t1)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_position.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_position.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t2, t3, x, y, z, t1, position, results; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -144078,7 +145486,7 @@ t1 = $async$self.helix; position = t1.get$position(t1); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogFloat_DialogFloat("x", position.x), E.DialogFloat_DialogFloat("y", position.y), E.DialogFloat_DialogFloat("z", position.z)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix position", C.DialogType_set_helix_position, false)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogFloat_DialogFloat("x", position.x), A.DialogFloat_DialogFloat("y", position.y), A.DialogFloat_DialogFloat("z", position.z)], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "set helix position", B.DialogType_set_helix_position, false)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -144088,44 +145496,46 @@ break; } t2 = J.getInterceptor$asx(results); - t3 = type$.legacy_DialogFloat; + t3 = type$.DialogFloat; x = t3._as(t2.$index(results, 0)).value; y = t3._as(t2.$index(results, 1)).value; z = t3._as(t2.$index(results, 2)).value; - $.app.dispatch$1(U._$HelixPositionSet$_(t1.idx, X.Position3D_Position3D(x, y, z))); + $.__app._readField$0().dispatch$1(A._$HelixPositionSet$_(t1.idx, A.Position3D_Position3D(x, y, z))); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_dialog_helix_set_group.prototype = { - call$0: function() { + A.context_menu_helix_dialog_helix_set_group.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, group_names, selected_helix_idxs, t2, other_group_names, existing_group_name, results, move_action, t1; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, group_names, selected_helix_idxs, t2, other_group_names, results, move_action, t1; + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - t1 = $.app.store; - t1 = t1.get$state(t1).design.groups; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.get$state(t1).get$design().groups; group_names = t1.get$keys(t1); t1 = $async$self.helix; - selected_helix_idxs = H.setRuntimeTypeInfo([t1.idx], type$.JSArray_legacy_int); - t2 = $.app.store; - C.JSArray_methods.addAll$1(selected_helix_idxs, t2.get$state(t2).ui_state.storables.side_selected_helix_idxs); - other_group_names = J.toList$0$ax(group_names); - existing_group_name = t1.group; - J.remove$1$ax(other_group_names, existing_group_name); + selected_helix_idxs = A._setArrayType([t1.idx], type$.JSArray_int); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI("store"); + B.JSArray_methods.addAll$1(selected_helix_idxs, t2.get$state(t2).ui_state.storables.side_selected_helix_idxs); + group_names.toString; + other_group_names = A.List_List$of(group_names, true, group_names.$ti._eval$1("Iterable.E")); + B.JSArray_methods.remove$1(other_group_names, t1.group); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogRadio_DialogRadio("new group", null, other_group_names, false, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "move selected helices to group", C.DialogType_move_selected_helices_to_group, true)), $async$call$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogRadio_DialogRadio("new group", null, other_group_names, false, 0, "")], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "move selected helices to group", B.DialogType_move_selected_helices_to_group, true)), $async$call$0); case 3: // returning from await. results = $async$result; @@ -144134,429 +145544,291 @@ $async$goto = 1; break; } - t1 = type$.legacy_DialogRadio._as(J.$index$asx(results, 0)); + t1 = type$.DialogRadio._as(J.$index$asx(results, 0)); t2 = t1.options; t1 = t1.selected_idx; - move_action = U._$MoveHelicesToGroup$_(J.$index$asx(t2._list, t1), D._BuiltList$of(selected_helix_idxs, type$.legacy_int)); - $.app.dispatch$1(move_action); + t2 = t2._list; + if (!(t1 >= 0 && t1 < t2.length)) { + $async$returnValue = A.ioore(t2, t1); + // goto return + $async$goto = 1; + break; + } + move_action = A._$MoveHelicesToGroup$_(t2[t1], A._BuiltList$of(selected_helix_idxs, type$.int)); + $.__app._readField$0().dispatch$1(move_action); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - V.context_menu_helix_helix_set_min_offset.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_min_offset, type$.void); + A.context_menu_helix_helix_set_min_offset.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_min_offset, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_max_offset.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_max_offset, type$.void); + A.context_menu_helix_helix_set_max_offset.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_max_offset, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_idx.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_idx, type$.void); + A.context_menu_helix_helix_set_idx.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_idx, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_major_tick_marks.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_major_tick_marks, type$.void); + A.context_menu_helix_helix_set_major_tick_marks.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_major_tick_marks, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_roll.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_roll, type$.void); + A.context_menu_helix_helix_set_roll.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_roll, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_position.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_position, type$.void); + A.context_menu_helix_helix_set_position.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_position, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_grid_position.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_grid_position, type$.void); + A.context_menu_helix_helix_set_grid_position.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_grid_position, type$.void); }, - $signature: 12 + $signature: 10 }; - V.context_menu_helix_helix_set_group.prototype = { - call$0: function() { - $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_group, type$.void); + A.context_menu_helix_helix_set_group.prototype = { + call$0() { + $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_group, type$.void); }, - $signature: 12 + $signature: 10 }; - V.parse_major_ticks_and_check_validity_closure.prototype = { - call$1: function(token) { - return H._asStringS(token).length !== 0; + A.parse_major_ticks_and_check_validity_closure.prototype = { + call$1(token) { + return A._asStringS(token).length !== 0; }, - $signature: 48 + $signature: 26 }; - V.parse_major_ticks_and_check_validity_closure0.prototype = { - call$1: function(t) { - H._asIntS(t); + A.parse_major_ticks_and_check_validity_closure0.prototype = { + call$1(t) { + A._asIntS(t); if (typeof t !== "number") return t.$lt(); return t < this.helix.min_offset; }, - $signature: 23 - }; - V.parse_major_ticks_and_check_validity_closure1.prototype = { - call$0: function() { - return null; - }, - $signature: 12 + $signature: 21 }; - V.parse_major_ticks_and_check_validity_closure2.prototype = { - call$1: function(t) { + A.parse_major_ticks_and_check_validity_closure1.prototype = { + call$1(t) { var t1; - H._asIntS(t); + A._asIntS(t); t1 = this.other_helix.min_offset; if (typeof t !== "number") return t.$lt(); return t < t1; }, - $signature: 23 - }; - V.parse_major_ticks_and_check_validity_closure3.prototype = { - call$0: function() { - return null; - }, - $signature: 12 + $signature: 21 }; - V.parse_major_tick_distances_and_check_validity_closure.prototype = { - call$1: function(token) { - return H._asStringS(token).length !== 0; + A.parse_major_tick_distances_and_check_validity_closure.prototype = { + call$1(token) { + return A._asStringS(token).length !== 0; }, - $signature: 48 + $signature: 26 }; - V.parse_helix_idxs_and_check_validity_closure.prototype = { - call$1: function(token) { - return H._asStringS(token).length !== 0; + A.parse_helix_idxs_and_check_validity_closure.prototype = { + call$1(token) { + return A._asStringS(token).length !== 0; }, - $signature: 48 + $signature: 26 }; - O.ConnectedHelixGroupMoving_closure.prototype = { - call$2: function(helix_group_move, props) { + A.ConnectedHelixGroupMoving_closure.prototype = { + call$1(helix_group_move) { var t1; - type$.legacy_HelixGroupMove._as(helix_group_move); - type$.legacy_HelixGroupMovingProps._as(props); - t1 = O.helix_group_moving___$HelixGroupMoving$closure().call$0(); - t1.toString; - J.$indexSet$ax(J.get$props$x(t1), "HelixGroupMovingProps.helix_group_move", helix_group_move); + type$.nullable_HelixGroupMove._as(helix_group_move); + t1 = A.helix_group_moving___$HelixGroupMoving$closure().call$0(); + t1.set$helix_group_move(helix_group_move); return t1; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 506 + $signature: 515 }; - O.HelixGroupMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - O.HelixGroupMovingComponent.prototype = { - render$0: function(_) { - var t1, t2, only_display_selected_helices, children, t3, t4, t5, t6, t7, helix, t8, t9, new_position, new_group, transform, _this = this, _null = null; - if (_this._helix_group_moving$_cachedTypedProps.get$helix_group_move() == null || J.get$isEmpty$asx(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().helices._map$_map)) - return _null; - t1 = _this._helix_group_moving$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, string$.HelixGs); + A.HelixGroupMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.HelixGroupMovingComponent.prototype = { + render$0(_) { + var t2, t3, only_display_selected_helices, children, t4, t5, t6, t7, t8, t9, t10, new_position, transform, _this = this, _null = null, + t1 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "HelixGroupMovingProps.helix_group_move"); if (t1 == null) t1 = _null; - type$.legacy_BuiltSet_legacy_int._as(t1); - t2 = _this._helix_group_moving$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, string$.HelixGo); - only_display_selected_helices = H._asBoolS(t2 == null ? _null : t2); - if (J.get$isEmpty$asx(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$helix_idxs_in_group()._list)) + type$.nullable_HelixGroupMove._as(t1); + if (t1 == null || t1.helices._map$_map._length === 0) + return _null; + t2 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, string$.HelixGs); + if (t2 == null) + t2 = _null; + type$.BuiltSet_int._as(t2); + t3 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, string$.HelixGo); + only_display_selected_helices = A._asBoolS(t3 == null ? _null : t3); + if (t1.get$helix_idxs_in_group()._list.length === 0) return _null; children = []; - for (t2 = J.get$iterator$ax(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$helix_idxs_in_group()._list), t3 = type$.legacy_HelixGroupMove, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Point_legacy_num; t2.moveNext$0();) { - t6 = t2.get$current(t2); - t7 = _this._helix_group_moving$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "HelixGroupMovingProps.helix_group_move"); - helix = J.$index$asx(t3._as(t7 == null ? _null : t7).helices._map$_map, t6); - H.boolConversionCheck(only_display_selected_helices); - if (only_display_selected_helices) { - t6 = helix.idx; - t6 = t1._set.contains$1(0, t6); - } else - t6 = false; - if (t6 || !only_display_selected_helices) { - t6 = T.design_main_helix___$DesignMainHelix$closure().call$0(); - t6.toString; - t7 = J.getInterceptor$x(t6); - J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.helix", helix); - t8 = helix.idx; - t9 = t1._set.contains$1(0, t8); - J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.selected", t9); - J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.show_dna", false); - t9 = _this._helix_group_moving$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, "HelixGroupMovingProps.show_helix_circles"); - t9 = H._asBoolS(t9 == null ? _null : t9); - J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.show_helix_circles", t9); - J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxh, false); - J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxdb, false); - J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxdm, false); - t9 = _this._helix_group_moving$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, string$.HelixGh); - t9 = t5._as(J.$index$asx(t4._as(t9 == null ? _null : t9)._map$_map, t8)); - J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.helix_svg_position", t9); - t8 = C.JSInt_methods.toString$0(t8); - t7 = t7.get$props(t6); - J.$indexSet$ax(t7, "key", t8); - children.push(t6.call$0()); - } - } - new_position = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$current_position(); - new_group = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group.rebuild$1(new O.HelixGroupMovingComponent_render_closure(new_position)); - t1 = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move(); - transform = new_group.transform_str$1(t1.get$geometry(t1)); - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$className(0, "helix-group-moving-" + _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group_name); - t1.set$transform(0, transform); - t1.set$key(0, _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group_name); - return t1.call$1(children); + for (t3 = t1.get$helix_idxs_in_group()._list, t3 = new J.ArrayIterator(t3, t3.length, A._arrayInstanceType(t3)._eval$1("ArrayIterator<1>")), t4 = t1.helices, t5 = type$.BuiltMap_of_int_and_Point_double, t6 = type$.Point_double; t3.moveNext$0();) { + t7 = t3.__interceptors$_current; + t7 = t4._map$_map.$index(0, t7); + t7.toString; + A.boolConversionCheck(only_display_selected_helices); + if (only_display_selected_helices && t2._set.contains$1(0, t7.idx) || !only_display_selected_helices) { + t8 = A.design_main_helix___$DesignMainHelix$closure().call$0(); + t8.toString; + t9 = J.getInterceptor$x(t8); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.helix", t7); + t7 = t7.idx; + t10 = t2._set.contains$1(0, t7); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.selected", t10); + t10 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.HelixGmo); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t9.get$props(t8), string$.DesignMHxmo, t10); + t10 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.HelixGmw); + t10 = A._asDoubleS(t10 == null ? _null : t10); + J.$indexSet$ax(t9.get$props(t8), string$.DesignMHxmw, t10); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.show_dna", false); + t10 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, "HelixGroupMovingProps.show_domain_labels"); + t10 = A._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.show_domain_labels", t10); + t10 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, "HelixGroupMovingProps.show_helix_circles"); + t10 = A._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.show_helix_circles", t10); + J.$indexSet$ax(t9.get$props(t8), string$.DesignMHxh, false); + J.$indexSet$ax(t9.get$props(t8), string$.DesignMHxdb, false); + J.$indexSet$ax(t9.get$props(t8), string$.DesignMHxdm, false); + t10 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, string$.HelixGh); + t10 = t5._as(t10 == null ? _null : t10)._map$_map.$index(0, t7); + t10.toString; + t6._as(t10); + J.$indexSet$ax(t9.get$props(t8), "DesignMainHelixProps.helix_svg_position", t10); + t7 = B.JSInt_methods.toString$0(t7); + t9 = t9.get$props(t8); + J.$indexSet$ax(t9, "key", t7); + children.push(t8.call$0()); + } + } + new_position = t1.get$current_position(); + transform = t1.group.rebuild$1(new A.HelixGroupMovingComponent_render_closure(new_position)).transform_str$1(t1.get$geometry(t1)); + t2 = A.SvgProps$($.$get$g(), _null); + t1 = t1.group_name; + t2.set$className(0, "helix-group-moving-" + t1); + t2.set$transform(0, transform); + t2.set$key(0, t1); + return t2.call$1(children); } }; - O.HelixGroupMovingComponent_render_closure.prototype = { - call$1: function(b) { - var t1 = b.get$position(b); - t1._position3d$_$v = this.new_position; + A.HelixGroupMovingComponent_render_closure.prototype = { + call$1(b) { + var t1 = b.get$position(b), + t2 = this.new_position; + A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); + t1._position3d$_$v = t2; return b; }, - $signature: 26 + $signature: 33 }; - O.$HelixGroupMovingComponentFactory_closure.prototype = { - call$0: function() { - return new O._$HelixGroupMovingComponent(null); + A.$HelixGroupMovingComponentFactory_closure.prototype = { + call$0() { + return new A._$HelixGroupMovingComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 507 + $signature: 516 }; - O._$$HelixGroupMovingProps.prototype = { - get$$$isClassGenerated: function() { + A._$$HelixGroupMovingProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$HelixGroupMovingComponentFactory() : t1; } }; - O._$$HelixGroupMovingProps$PlainMap.prototype = { - get$props: function(_) { + A._$$HelixGroupMovingProps$PlainMap.prototype = { + get$props(_) { return this._helix_group_moving$_props; } }; - O._$$HelixGroupMovingProps$JsMap.prototype = { - get$props: function(_) { + A._$$HelixGroupMovingProps$JsMap.prototype = { + get$props(_) { return this._helix_group_moving$_props; } }; - O._$HelixGroupMovingComponent.prototype = { - get$props: function(_) { - return this._helix_group_moving$_cachedTypedProps; + A._$HelixGroupMovingComponent.prototype = { + get$props(_) { + var t1 = this.___$HelixGroupMovingComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._helix_group_moving$_cachedTypedProps = O._$$HelixGroupMovingProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$HelixGroupMovingComponent__cachedTypedProps_A = A._$$HelixGroupMovingProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "HelixGroupMoving"; }, - get$$$defaultConsumedProps: function() { - return C.Map_cKPcW.get$values(C.Map_cKPcW); + get$$$defaultConsumedProps() { + return B.Map_cKej4.get$values(B.Map_cKej4); } }; - O.$HelixGroupMovingProps.prototype = { - get$helix_group_move: function() { - var t1 = J.$index$asx(this.get$props(this), "HelixGroupMovingProps.helix_group_move"); - if (t1 == null) - t1 = null; - return type$.legacy_HelixGroupMove._as(t1); + A.$HelixGroupMovingProps.prototype = { + set$helix_group_move(value) { + J.$indexSet$ax(this.get$props(this), "HelixGroupMovingProps.helix_group_move", value); } }; - O._HelixGroupMovingComponent_UiComponent2_PureComponent.prototype = {}; - O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps.prototype = {}; - O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps.prototype = {}; - D.ConnectedMenu_closure.prototype = { - call$1: function(state) { - var t1, t2, t3, t4, t5, t6, t7; - type$.legacy_AppState._as(state); - t1 = D.menu___$Menu$closure().call$0(); - t2 = state.ui_state; - t3 = t2.selectables_store.get$selected_dna_ends(); - t1.toString; - type$.legacy_BuiltSet_legacy_DNAEnd._as(t3); - t4 = J.getInterceptor$x(t1); - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.selected_ends", t3); - t3 = state.design; - t5 = t3 == null; - t6 = t5 ? null : t3.geometry; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.geometry", t6); - if (t5) - t6 = false; - else { - t6 = t3.groups; - t6 = J.every$1$ax(t6.get$values(t6), new D.ConnectedMenu__closure()); - } - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.no_grid_is_none", t6); - t6 = t2.storables; - t7 = t6.show_oxview; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_oxview", t7); - t7 = t6.show_dna; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_dna", t7); - t7 = t6.base_pair_display_type; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.base_pair_display_type", t7); - t7 = t6.show_strand_names; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_strand_names", t7); - t7 = t6.show_strand_labels; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_strand_labels", t7); - t7 = t6.show_domain_names; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_domain_names", t7); - t7 = t6.show_domain_labels; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_domain_labels", t7); - t7 = t6.strand_name_font_size; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_name_font_size", t7); - t7 = t6.strand_label_font_size; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_label_font_size", t7); - t7 = t6.domain_name_font_size; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.domain_name_font_size", t7); - t7 = t6.domain_label_font_size; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.domain_label_font_size", t7); - t7 = t6.show_modifications; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_modifications", t7); - t7 = t6.show_mismatches; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_mismatches", t7); - t7 = t6.show_domain_name_mismatches; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshd, t7); - t7 = t6.show_unpaired_insertion_deletions; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshu, t7); - t7 = t6.strand_paste_keep_color; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_paste_keep_color", t7); - t7 = t6.zoom_speed; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.zoom_speed", t7); - t7 = t6.autofit; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.autofit", t7); - t7 = t6.only_display_selected_helices; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPron, t7); - t7 = t6.show_base_pair_lines; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_base_pair_lines", t7); - t7 = t6.show_base_pair_lines_with_mismatches; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshb, t7); - t2 = t2.example_designs; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.example_designs", t2); - if (t5) - t2 = null; - else { - t2 = t3.__has_insertions_or_deletions; - if (t2 == null) { - t2 = N.Design.prototype.get$has_insertions_or_deletions.call(t3); - t3.__has_insertions_or_deletions = t2; - } - } - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdes, t2 === true); - t2 = state.undo_redo; - t3 = J.get$isEmpty$asx(t2.undo_stack._list); - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.undo_stack_empty", t3); - t3 = J.get$isEmpty$asx(t2.redo_stack._list); - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.redo_stack_empty", t3); - t3 = $.app.store; - t3 = t3.get$state(t3).ui_state.selectables_store.get$selected_strands()._set; - t3 = t3.get$isNotEmpty(t3); - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.enable_copy", t3); - t3 = t6.modification_font_size; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.modification_font_size", t3); - t3 = t6.major_tick_offset_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmao, t3); - t3 = t6.major_tick_width_font_size; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmaw, t3); - t3 = t6.modification_display_connector; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmo, t3); - t3 = t6.display_base_offsets_of_major_ticks; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipo, t3); - t3 = t6.display_base_offsets_of_major_ticks_only_first_helix; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipb, t3); - t3 = t6.display_major_tick_widths; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.display_major_tick_widths", t3); - t3 = t6.display_major_tick_widths_all_helices; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipm, t3); - t3 = t6.invert_y; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.invert_y", t3); - t3 = t6.dynamically_update_helices; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdy, t3); - t3 = t6.show_helix_circles_main_view; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshhi, t3); - t3 = t6.show_helix_components_main_view; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshho, t3); - t3 = t6.warn_on_exit_if_unsaved; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.warn_on_exit_if_unsaved", t3); - t3 = t6.show_grid_coordinates_side_view; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshg, t3); - t3 = t6.show_helices_axis_arrows; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_helices_axis_arrows", t3); - t3 = t6.show_loopout_extension_length; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshl, t3); - t3 = t6.export_svg_text_separately; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPre, t3); - t3 = t6.show_slice_bar; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_slice_bar", t3); - t3 = t6.show_mouseover_data; - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_mouseover_data", t3); - t3 = t6.disable_png_caching_dna_sequences; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdia, t3); - t3 = t6.retain_strand_color_on_selection; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrr, t3); - t3 = t6.display_reverse_DNA_right_side_up; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipr, t3); - t3 = t6.local_storage_design_choice; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrl, t3); - t3 = t6.clear_helix_selection_when_loading_new_design; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrc, t3); - t3 = t6.default_crossover_type_scaffold_for_setting_helix_rolls; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdefc, t3); - t3 = t6.default_crossover_type_staple_for_setting_helix_rolls; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdeft, t3); - t3 = t6.selection_box_intersection; - J.$indexSet$ax(t4.get$props(t1), string$.MenuPrse, t3); - t6 = t6.ox_export_only_selected_strands; - J.$indexSet$ax(t4.get$props(t1), string$.MenuProx, t6); - J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.undo_redo", t2); + A._HelixGroupMovingComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps.prototype = {}; + A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps.prototype = {}; + A.ConnectedMenu_closure.prototype = { + call$1(state) { + var t1; + type$.AppState._as(state); + t1 = A.menu___$Menu$closure().call$0(); + t1.set$state(0, state); return t1; }, - $signature: 508 - }; - D.ConnectedMenu__closure.prototype = { - call$1: function(group) { - return type$.legacy_HelixGroup._as(group).grid !== C.Grid_none; - }, - $signature: 509 - }; - D.MenuPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$geometry: function(receiver) { - return this.MenuPropsMixin_geometry; - } + $signature: 517 }; - D.MenuComponent.prototype = { - get$consumedProps: function() { - var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_MenuPropsMixin_yrN], type$.legacy_Type)), - t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), - t3 = t1.$ti; - return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_iSA0t.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + A.MenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuComponent.prototype = { + get$no_grid_is_none() { + var t1 = this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$state(t1).maybe_design == null) + t1 = false; + else { + t1 = this.___$MenuComponent__cachedTypedProps_A; + t1 = t1.get$state(t1).get$design().groups; + t1 = t1.get$values(t1).every$1(0, new A.MenuComponent_no_grid_is_none_closure()); + } + return t1; }, - render$0: function(_) { + render$0(_) { var _this = this, t1 = $.$get$Navbar(), t2 = type$.dynamic, - t3 = P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), - t4 = $.$get$NavbarBrand().call$2(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2), "scadnano"), + t3 = A.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), + t4 = $.$get$NavbarBrand().call$2(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), "scadnano"), t5 = _this.file_menu$0(), t6 = _this.edit_menu$0(), t7 = _this.view_menu_warnings$0(), @@ -144568,770 +145840,839 @@ t13 = _this.view_menu_base_pairs$0(), t14 = _this.view_menu_dna$0(), t15 = $.$get$DropdownDivider(); - t14 = [t7, t8, t9, t10, t11, t12, t13, t14, t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-dna"], t2, t2))]; - C.JSArray_methods.addAll$1(t14, _this.view_menu_show_oxview$0()); - t14.push(t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-oxview"], t2, t2))); - C.JSArray_methods.addAll$1(t14, _this.view_menu_zoom_speed$0()); - t14.push(t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-zoom_speed"], t2, t2))); - C.JSArray_methods.addAll$1(t14, _this.view_menu_misc$0()); - return t1.call$7(t3, t4, t5, t6, $.$get$NavDropdown().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["title", "View", "id", "view-nav-dropdown"], t2, t2), t14), _this.export_menu$0(), _this.help_menu$0()); - }, - file_menu$0: function() { - var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, + t14 = A._setArrayType([t7, t8, t9, t10, t11, t12, t13, t14, t15.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-dna"], t2, t2))], type$.JSArray_ReactElement); + B.JSArray_methods.addAll$1(t14, _this.view_menu_show_oxview$0()); + t14.push(t15.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-oxview"], t2, t2))); + B.JSArray_methods.addAll$1(t14, _this.view_menu_zoom_speed$0()); + t14.push(t15.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-zoom_speed"], t2, t2))); + B.JSArray_methods.addAll$1(t14, _this.view_menu_misc$0()); + return t1.call$7(t3, t4, t5, t6, $.$get$NavDropdown().call$2(A.LinkedHashMap_LinkedHashMap$_literal(["title", "View", "id", "view-nav-dropdown"], t2, t2), t14), _this.export_menu$0(), _this.help_menu$0()); + }, + file_menu$0() { + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _this = this, _s14_ = "open-form-file", t1 = $.$get$NavDropdown(), t2 = type$.dynamic, - t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "File", "id", "file-nav-dropdown"], t2, t2), - t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t4.set$on_click(new D.MenuComponent_file_menu_closure(_this)); + t3 = A.LinkedHashMap_LinkedHashMap$_literal(["title", "File", "id", "file-nav-dropdown"], t2, t2), + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new A.MenuComponent_file_menu_closure(_this)); t5 = J.getInterceptor$z(t4); t5.set$display(t4, "\ud83d\udcc4 Load example"); t5.set$key(t4, "load-example"); t4 = t4.call$0(); - t5 = O.menu_form_file___$MenuFormFile$closure().call$0(); - t6 = J.getInterceptor$x(t5); - t6.set$id(t5, _s14_); - t7 = $.$get$all_scadnano_file_extensions(); - t7.toString; - t8 = H._arrayInstanceType(t7); - t6.set$accept(t5, new H.MappedListIterable(t7, t8._eval$1("String*(1)")._as(new D.MenuComponent_file_menu_closure0()), t8._eval$1("MappedListIterable<1,String*>")).join$1(0, ",")); - t6.set$onChange(t5, new D.MenuComponent_file_menu_closure1()); - t6.set$display(t5, "\ud83d\udcc2 Open"); - J.$indexSet$ax(t6.get$props(t5), "MenuFormFileProps.keyboard_shortcut", "Ctrl+O"); - t6.set$key(t5, _s14_); + t5 = A.menu_form_file___$MenuFormFile$closure().call$0(); + t5.set$id_(_s14_); + t6 = $.$get$all_scadnano_file_extensions(); + t6.toString; + t7 = A._arrayInstanceType(t6); + t8 = J.getInterceptor$z(t5); + t8.set$accept(t5, new A.MappedListIterable(t6, t7._eval$1("String(1)")._as(new A.MenuComponent_file_menu_closure0()), t7._eval$1("MappedListIterable<1,String>")).join$1(0, ",")); + t5.set$on_change(new A.MenuComponent_file_menu_closure1()); + t8.set$display(t5, "\ud83d\udcc2 Open"); + J.$indexSet$ax(t8.get$props(t5), "MenuFormFileProps.keyboard_shortcut", "Ctrl+O"); + t8.set$key(t5, _s14_); t5 = t5.call$0(); - t6 = $.$get$DropdownDivider(); - t8 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-file-load"], t2, t2)); - t7 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t7.set$on_click(new D.MenuComponent_file_menu_closure2(_this)); - t9 = J.getInterceptor$z(t7); - t9.set$display(t7, "\ud83d\udcbe Save"); - t7.set$keyboard_shortcut("Ctrl+S"); - t9.set$key(t7, "save-file"); - t7 = t7.call$0(); - t9 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t10 = J.getInterceptor$x(t9); - t10.set$value(t9, _this._menu$_cachedTypedProps.get$warn_on_exit_if_unsaved()); - t10.set$display(t9, "Warn on exit if unsaved"); + t8 = $.$get$DropdownDivider(); + t7 = t8.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-file-load"], t2, t2)); + t6 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new A.MenuComponent_file_menu_closure2()); + t9 = J.getInterceptor$z(t6); + t9.set$display(t6, "\ud83d\udcbe Save"); + t6.set$keyboard_shortcut("Ctrl+S"); + t9.set$key(t6, "save-file"); + t6 = t6.call$0(); + t9 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t10 = _this.___$MenuComponent__cachedTypedProps_A; + t10 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t11 = J.getInterceptor$x(t9); + t11.set$value(t9, t10.get$state(t10).ui_state.storables.warn_on_exit_if_unsaved); + t11.set$display(t9, "Warn on exit if unsaved"); t9.set$tooltip("If checked, before attempting to close or refresh the page, if the design has \nchanged since it was last saved, a warning dialog is displayed to ask if you\nreally want to exit without saving."); - t10.set$onChange(t9, new D.MenuComponent_file_menu_closure3(_this)); - t10.set$key(t9, "warn-on-exit-if-unsaved"); + t9.set$on_change(new A.MenuComponent_file_menu_closure3(_this)); + t11.set$key(t9, "warn-on-exit-if-unsaved"); t9 = t9.call$0(); - t10 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-save"], t2, t2)); - t11 = O.menu_form_file___$MenuFormFile$closure().call$0(); - t12 = J.getInterceptor$x(t11); - t12.set$id(t11, "import-cadnano-form-file"); - t12.set$accept(t11, ".json"); - t12.set$onChange(t11, new D.MenuComponent_file_menu_closure4()); - t12.set$display(t11, "Import cadnano v2"); - t12.set$key(t11, "import-cadnano"); - t11 = t11.call$0(); - t12 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-import-cadnano"], t2, t2)); - t13 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t13.set$on_click(new D.MenuComponent_file_menu_closure5(_this)); + t11 = t8.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-save"], t2, t2)); + t10 = A.menu_form_file___$MenuFormFile$closure().call$0(); + t10.set$id_("import-cadnano-form-file"); + t12 = J.getInterceptor$z(t10); + t12.set$accept(t10, ".json"); + t10.set$on_change(new A.MenuComponent_file_menu_closure4()); + t12.set$display(t10, "Import cadnano v2"); + t12.set$key(t10, "import-cadnano"); + t10 = t10.call$0(); + t12 = t8.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-import-cadnano"], t2, t2)); + t13 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t13.set$on_click(new A.MenuComponent_file_menu_closure5()); t14 = J.getInterceptor$z(t13); t14.set$display(t13, "Reset local storage"); t13.set$tooltip("Clear the stored design, reset all local settings, and reload the page."); t14.set$key(t13, "reset-local-storage"); t13 = t13.call$0(); t14 = _this.file_menu_save_design_local_storage_options$0(); - t2 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divide-clear-helix-selection-when-loading-new-design"], t2, t2)); - t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t15 = J.getInterceptor$x(t6); - t15.set$value(t6, _this._menu$_cachedTypedProps.get$clear_helix_selection_when_loading_new_design()); - t15.set$display(t6, "Clear helix selection when loading new design"); - t15.set$onChange(t6, new D.MenuComponent_file_menu_closure6(_this)); - t6.set$tooltip("If checked, the selected helices will be clear when loading a new design.\nOtherwise, helix selection is not cleared, meaning that all the selected helices in the current\ndesign will be selected (based on helix index) on the loaded design."); - t15.set$key(t6, "clear-helix-selection-when-loading-new-design"); - return t1.call$2(t3, [t4, t5, t8, t7, t9, t10, t11, t12, t13, t14, t2, t6.call$0()]); - }, - file_menu_save_design_local_storage_options$0: function() { - var t3, t4, t5, t6, t7, _this = this, + t2 = t8.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divide-clear-helix-selection-when-loading-new-design"], t2, t2)); + t8 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t15 = _this.___$MenuComponent__cachedTypedProps_A; + t16 = J.getInterceptor$x(t8); + t16.set$value(t8, t15.get$state(t15).ui_state.storables.clear_helix_selection_when_loading_new_design); + t16.set$display(t8, "Clear helix selection when loading new design"); + t8.set$on_change(new A.MenuComponent_file_menu_closure6(_this)); + t8.set$tooltip("If checked, the selected helices will be clear when loading a new design.\nOtherwise, helix selection is not cleared, meaning that all the selected helices in the current\ndesign will be selected (based on helix index) on the loaded design."); + t16.set$key(t8, "clear-helix-selection-when-loading-new-design"); + return t1.call$2(t3, A._setArrayType([t4, t5, t7, t6, t9, t11, t10, t12, t13, t14, t2, t8.call$0()], type$.JSArray_ReactElement)); + }, + file_menu_save_design_local_storage_options$0() { + var t2, t3, t4, t5, t6, t7, t8, _this = this, _s31_ = "file_menu_local-storage-options", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Local storage design save options"); - t2.set$id(t1, _s31_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Local storage design save options"); + t1.set$id_(_s31_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s31_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_on_edit); - t3.set$display(t2, "Save design in localStorage on every edit"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_on_edit); + t4.set$display(t2, "Save design in localStorage on every edit"); t2.set$tooltip("On every edit, save current design in localStorage (in your web browser).\n\nDisabling this minimizes the time needed to render large designs."); - t3.set$onChange(t2, new D.MenuComponent_file_menu_save_design_local_storage_options_closure(_this)); - t3.set$key(t2, "save-dna-design-in-local-storage"); + t2.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure(_this)); + t4.set$key(t2, "save-dna-design-in-local-storage"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_on_exit); - t4.set$display(t3, "Save design in localStorage before exiting"); - t3.set$tooltip("Before exiting, save current design in localStorage (in your web browser). \nFor large designs, this is faster than saving on every edit, but if the browser crashes, \nall changes made will be lost, so it is not as safe as storing on every edit."); - t4.set$onChange(t3, new D.MenuComponent_file_menu_save_design_local_storage_options_closure0(_this)); - t4.set$key(t3, "save-dna-design-in-local-storage-on-exit"); - t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_never); - t5.set$display(t4, "Do not save design in localStorage"); - t4.set$tooltip("Never saves the design in localStorage.\n\nWARNING: you must save your design manually by pressing Ctrl+S or selecting \nFile-->Save, or your design will be lost when you close the browser tab."); - t5.set$onChange(t4, new D.MenuComponent_file_menu_save_design_local_storage_options_closure1(_this)); - t5.set$key(t4, "never-save-dna-design-in-local-storage"); + t5.set$value(t4, t3.get$state(t3).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_on_exit); + t5.set$display(t4, "Save design in localStorage before exiting"); + t4.set$tooltip("Before exiting, save current design in localStorage (in your web browser). \nFor large designs, this is faster than saving on every edit, but if the browser crashes, \nall changes made will be lost, so it is not as safe as storing on every edit."); + t4.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure0(_this)); + t5.set$key(t4, "save-dna-design-in-local-storage-on-exit"); t4 = t4.call$0(); - t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t6 = J.getInterceptor$x(t5); - t6.set$value(t5, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_periodic); - t6.set$display(t5, "Save design in localStorage periodically"); - t5.set$tooltip("Every seconds, save current design in localStorage (in your web browser). \nAlso saves before exiting.\nThis is safer than never saving, or saving only before exiting, but will not save edits\nthat occurred between the last save and a browser crash."); - t6.set$onChange(t5, new D.MenuComponent_file_menu_save_design_local_storage_options_closure2(_this)); - t6.set$key(t5, "save-dna-design-in-local-storage-periodically"); + t6.set$value(t5, t3.get$state(t3).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_never); + t6.set$display(t5, "Do not save design in localStorage"); + t5.set$tooltip("Never saves the design in localStorage.\n\nWARNING: you must save your design manually by pressing Ctrl+S or selecting \nFile-->Save, or your design will be lost when you close the browser tab."); + t5.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure1(_this)); + t6.set$key(t5, "never-save-dna-design-in-local-storage"); t5 = t5.call$0(); - t6 = M.menu_number___$MenuNumber$closure().call$0(); - t7 = J.getInterceptor$z(t6); - t7.set$display(t6, "period (seconds)"); - t6.set$min_value(1); - t6.set$default_value(_this._menu$_cachedTypedProps.get$local_storage_design_choice().period_seconds); - t6.set$hide(_this._menu$_cachedTypedProps.get$local_storage_design_choice().option !== C.LocalStorageDesignOption_periodic); - t6.set$tooltip("Number of seconds between saving design to localStorage."); - t6.set$on_new_value(new D.MenuComponent_file_menu_save_design_local_storage_options_closure3(_this)); - t7.set$key(t6, "period-of-save-dna-design-in-local-storage-periodically"); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6.call$0()], type$.JSArray_legacy_ReactElement)); - }, - edit_menu$0: function() { - var t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, _this = this, _null = null, + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, t3.get$state(t3).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_periodic); + t7.set$display(t6, "Save design in localStorage periodically"); + t6.set$tooltip("Every seconds, save current design in localStorage (in your web browser). \nAlso saves before exiting.\nThis is safer than never saving, or saving only before exiting, but will not save edits\nthat occurred between the last save and a browser crash."); + t6.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure2(_this)); + t7.set$key(t6, "save-dna-design-in-local-storage-periodically"); + t6 = t6.call$0(); + t7 = A.menu_number___$MenuNumber$closure().call$0(); + t3 = J.getInterceptor$z(t7); + t3.set$display(t7, "period (seconds)"); + t7.set$min_value(1); + t8 = _this.___$MenuComponent__cachedTypedProps_A; + t7.set$default_value(t8.get$state(t8).ui_state.storables.local_storage_design_choice.period_seconds); + t8 = _this.___$MenuComponent__cachedTypedProps_A; + t7.set$hide(t8.get$state(t8).ui_state.storables.local_storage_design_choice.option !== B.LocalStorageDesignOption_periodic); + t7.set$tooltip("Number of seconds between saving design to localStorage."); + t7.set$on_new_value(new A.MenuComponent_file_menu_save_design_local_storage_options_closure3()); + t3.set$key(t7, "period-of-save-dna-design-in-local-storage-periodically"); + return t1.call$1(A._setArrayType([t2, t4, t5, t6, t7.call$0()], type$.JSArray_ReactElement)); + }, + edit_menu$0() { + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, _this = this, _s26_ = "dynamically-update-helices", t1 = $.$get$NavDropdown(), t2 = type$.dynamic, - t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Edit", "id", "edit-nav-dropdown"], t2, t2), - t4 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t5 = J.getInterceptor$x(t4); - t5.set$title(t4, "Undo"); - t5.set$id(t4, "edit_menu_undo-dropdown"); + t3 = A.LinkedHashMap_LinkedHashMap$_literal(["title", "Edit", "id", "edit-nav-dropdown"], t2, t2), + t4 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t4.set$title_("Undo"); + t4.set$id_("edit_menu_undo-dropdown"); t4.set$keyboard_shortcut("Ctrl+Z"); - t6 = _this._menu$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, "MenuPropsMixin.undo_stack_empty"); - t5.set$disabled(t4, H._asBoolS(t6 == null ? _null : t6)); + t5 = _this.___$MenuComponent__cachedTypedProps_A; + t5 === $ && A.throwLateFieldNI("_cachedTypedProps"); + J.set$disabled$z(t4, t5.get$state(t5).undo_redo.undo_stack._list.length === 0); t4 = t4.call$1(_this.get$undo_dropdowns()); - t5 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); - t6 = J.getInterceptor$x(t5); - t6.set$title(t5, "Redo"); - t6.set$id(t5, "edit_menu_redo-dropdown"); + t5 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t5.set$title_("Redo"); + t5.set$id_("edit_menu_redo-dropdown"); t5.set$keyboard_shortcut("Ctrl+Shift+Z"); - t7 = _this._menu$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "MenuPropsMixin.redo_stack_empty"); - t6.set$disabled(t5, H._asBoolS(t7 == null ? _null : t7)); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + J.set$disabled$z(t5, t6.get$state(t6).undo_redo.redo_stack._list.length === 0); t5 = t5.call$1(_this.get$redo_dropdowns()); t6 = $.$get$DropdownDivider(); - t7 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t7 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); t8 = _this.edit_menu_copy_paste$0(); - t9 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); - t10 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t9 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t10 = A.menu_boolean___$MenuBoolean$closure().call$0(); t11 = J.getInterceptor$z(t10); t11.set$display(t10, "Dynamically update helices"); t10.set$tooltip("Expand helices dynamically when strand(s) is moved or created according to the strand(s) movement\nIf checked, helices will update with strand movement"); t11.set$name(t10, _s26_); t11.set$key(t10, _s26_); - t11.set$onChange(t10, new D.MenuComponent_edit_menu_closure(_this)); - t11.set$value(t10, _this._menu$_cachedTypedProps.get$dynamically_update_helices()); + t10.set$on_change(new A.MenuComponent_edit_menu_closure(_this)); + t12 = _this.___$MenuComponent__cachedTypedProps_A; + t11.set$value(t10, t12.get$state(t12).ui_state.storables.dynamically_update_helices); t10 = t10.call$0(); - t11 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); - t12 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t12.set$on_click(new D.MenuComponent_edit_menu_closure0(_this)); - t13 = J.getInterceptor$z(t12); - t13.set$display(t12, "Inline insertions/deletions"); - t14 = _this._menu$_cachedTypedProps; - t14 = t14.get$props(t14).$index(0, string$.MenuPrdes); - t13.set$disabled(t12, !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))); - t12.set$tooltip("Remove insertions and deletions from the design and replace them with domains\nwhose lengths correspond to the true strand length. Also moves major tick \nmarks on helices so that they are adjacent to the same bases as before."); - t12 = t12.call$0(); - t13 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); - t14 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t14.set$on_click(new D.MenuComponent_edit_menu_closure1(_this)); - t15 = J.getInterceptor$z(t14); - t15.set$display(t14, "Connect selected ends by crossovers"); - t16 = _this._menu$_cachedTypedProps; - t16 = t16.get$props(t16).$index(0, "MenuPropsMixin.selected_ends"); - if (t16 == null) - t16 = _null; - t16 = type$.legacy_BuiltSet_legacy_DNAEnd._as(t16)._set; - t15.set$disabled(t14, t16.get$isEmpty(t16)); - t14.set$tooltip('Connect selected ends by crossovers. \n\nEnds are connected by crossovers as follows. Within each HelixGroup: \n\nIterate over ends in the following order: first by helix, then by \nforward/reverse, then by offset. For each end e1 in this order, join it \nto the first end e2 after it in this order, if \n1) e1 and e2 have the same offset (making a "vertical" crossover), \n2) e1 is "above" e2 (lower helix idx; more generally earlier in helices_view_order), \n3) opposite direction (one is forward and the other reverse), and \n4) opposite side of a strand (i.e., one is 5\' and the other 3\').'); - t14 = t14.call$0(); - t16 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t12 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t11 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t11.set$on_click(new A.MenuComponent_edit_menu_closure0()); + t13 = J.getInterceptor$z(t11); + t13.set$display(t11, "Inline insertions/deletions"); + t14 = _this.___$MenuComponent__cachedTypedProps_A; + t14 = t14.get$state(t14).maybe_design; + if (t14 == null) + t14 = null; + else { + t15 = t14.__has_insertions_or_deletions; + if (t15 == null) { + t15 = A.Design.prototype.get$has_insertions_or_deletions.call(t14); + t14.__has_insertions_or_deletions = t15; + t14 = t15; + } else + t14 = t15; + } + t13.set$disabled(t11, t14 !== true); + t11.set$tooltip("Remove insertions and deletions from the design and replace them with domains\nwhose lengths correspond to the true strand length. Also moves major tick \nmarks on helices so that they are adjacent to the same bases as before."); + t11 = t11.call$0(); + t14 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t13 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t13.set$on_click(new A.MenuComponent_edit_menu_closure1()); + t15 = J.getInterceptor$z(t13); + t15.set$display(t13, "Connect selected ends by crossovers"); + t16 = _this.___$MenuComponent__cachedTypedProps_A; + t16 = t16.get$state(t16).ui_state.selectables_store.get$selected_dna_ends()._set; + t15.set$disabled(t13, t16.get$isEmpty(t16)); + t13.set$tooltip('Connect selected ends by crossovers. \n\nEnds are connected by crossovers as follows. Within each HelixGroup: \n\nIterate over ends in the following order: first by helix, then by \nforward/reverse, then by offset. For each end e1 in this order, join it \nto the first end e2 after it in this order, if \n1) e1 and e2 have the same offset (making a "vertical" crossover), \n2) e1 is "above" e2 (lower helix idx; more generally earlier in helices_view_order), \n3) opposite direction (one is forward and the other reverse), and \n4) opposite side of a strand (i.e., one is 5\' and the other 3\').'); + t13 = t13.call$0(); + t16 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); t15 = _this.edit_menu_helix_rolls$0(); - t17 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); - t18 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t18.set$on_click(new D.MenuComponent_edit_menu_closure2(_this)); + t17 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t18 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t18.set$on_click(new A.MenuComponent_edit_menu_closure2(_this)); J.set$display$z(t18, "Set geometric parameters"); t18.set$tooltip("Set geometric parameters affecting how the design is displayed.\n\n- rise per base pair: This is the number of nanometers a single base pair occupies (i.e., width in main view)\n default 0.332 nm\n\n- helix radius: The radius of a helix in nanometers.\n default 1 nm\n\n- inter-helix gap: The distance between two adjacent helices. The value 2*helix_radius+inter_helix_gap\n is the distance between the centers of two adjacent helices.\n default 1 nm\n\n- bases per turn: The number of bases in a single full turn of DNA.\n default 10.5\n\n- minor groove angle: The angle in degrees of the minor groove, when looking at the helix in the direction\n of its long axis.\n default 150 degrees"); t18 = t18.call$0(); - t2 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); - t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t6.set$on_click(new D.MenuComponent_edit_menu_closure3()); + t2 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t6 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new A.MenuComponent_edit_menu_closure3()); J.set$display$z(t6, "Autostaple (experimental)"); t6.set$tooltip('Removes all staple strands and puts long "precursor" staples everywhere the scaffold appears.\nWARNING: this is an experimental feature and may be modified or removed. It uses cadnano code,\nso will only work on scadnano designs that are exportable to cadnano.\n '); t6 = t6.call$0(); - t19 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t19.set$on_click(new D.MenuComponent_edit_menu_closure4()); + t19 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t19.set$on_click(new A.MenuComponent_edit_menu_closure4()); J.set$display$z(t19, "Autobreak (experimental)"); t19.set$tooltip("Puts nicks in long staple strands automatically.\nWARNING: Autobreak is an experimental feature and may be modified or removed.\nIt uses cadnano code that crashes on many designs, so it is not guaranteed to work properly. \nIt will also only work on scadnano designs that are exportable to cadnano.\n "); - return t1.call$18(t3, t4, t5, t7, t8, t9, t10, t11, t12, t13, t14, t16, t15, t17, t18, t2, t6, t19.call$0()); - }, - get$undo_dropdowns: function() { - return this.undo_or_redo_dropdowns$3(new D.MenuComponent_undo_dropdowns_closure(), this._menu$_cachedTypedProps.get$undo_redo().undo_stack, "Undo"); - }, - get$redo_dropdowns: function() { - return this.undo_or_redo_dropdowns$3(new D.MenuComponent_redo_dropdowns_closure(), this._menu$_cachedTypedProps.get$undo_redo().redo_stack, "Redo"); - }, - undo_or_redo_dropdowns$3: function(undo_or_redo_action_creator, undo_or_redo_stack, action_name) { - var dropdowns, t1, num_times, most_recent; - type$.legacy_legacy_Action_Function_legacy_int._as(undo_or_redo_action_creator); - type$.legacy_BuiltList_legacy_UndoRedoItem._as(undo_or_redo_stack); - dropdowns = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = J.get$reversed$ax(undo_or_redo_stack._list), t1 = new H.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")), num_times = 1, most_recent = true; t1.moveNext$0(); most_recent = false) { - C.JSArray_methods.add$1(dropdowns, this.undo_or_redo_dropdown$5(t1.__internal$_current, undo_or_redo_action_creator, num_times, action_name, most_recent)); + return t1.call$18(t3, t4, t5, t7, t8, t9, t10, t12, t11, t14, t13, t16, t15, t17, t18, t2, t6, t19.call$0()); + }, + get$undo_dropdowns() { + var t1 = this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return this.undo_or_redo_dropdowns$3(new A.MenuComponent_undo_dropdowns_closure(), t1.get$state(t1).undo_redo.undo_stack, "Undo"); + }, + get$redo_dropdowns() { + var t1 = this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return this.undo_or_redo_dropdowns$3(new A.MenuComponent_redo_dropdowns_closure(), t1.get$state(t1).undo_redo.redo_stack, "Redo"); + }, + undo_or_redo_dropdowns$3(undo_or_redo_action_creator, undo_or_redo_stack, action_name) { + var dropdowns, t1, t2, num_times, most_recent; + type$.Action_Function_int._as(undo_or_redo_action_creator); + type$.BuiltList_UndoRedoItem._as(undo_or_redo_stack); + dropdowns = A._setArrayType([], type$.JSArray_ReactElement); + for (t1 = undo_or_redo_stack._list, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t2 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), num_times = 1, most_recent = true; t2.moveNext$0(); most_recent = false) { + B.JSArray_methods.add$1(dropdowns, this.undo_or_redo_dropdown$5(t2.__internal$_current, undo_or_redo_action_creator, num_times, action_name, most_recent)); ++num_times; } return dropdowns; }, - undo_or_redo_dropdown$5: function(item, undo_or_redo_action_creator, num_times, action_name, is_most_recent) { - var t1, t2, t3; - type$.legacy_legacy_Action_Function_legacy_int._as(undo_or_redo_action_creator); - t1 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t2 = action_name + ' "' + item.short_description + '"'; - t3 = J.getInterceptor$z(t1); - t3.set$display(t1, t2 + (is_most_recent ? " [Most Recent]" : "")); - t3.set$key(t1, action_name.toLowerCase() + "-" + num_times); - t1.set$on_click(new D.MenuComponent_undo_or_redo_dropdown_closure(undo_or_redo_action_creator, num_times)); + undo_or_redo_dropdown$5(item, undo_or_redo_action_creator, num_times, action_name, is_most_recent) { + var t1, t2, t3, t4; + type$.Action_Function_int._as(undo_or_redo_action_creator); + t1 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2 = item.short_description; + t3 = is_most_recent ? " [Most Recent]" : ""; + t4 = J.getInterceptor$z(t1); + t4.set$display(t1, action_name + ' "' + t2 + '"' + t3); + t4.set$key(t1, action_name.toLowerCase() + "-" + num_times); + t1.set$on_click(new A.MenuComponent_undo_or_redo_dropdown_closure(undo_or_redo_action_creator, num_times)); return t1.call$0(); }, - edit_menu_copy_paste$0: function() { - var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + edit_menu_copy_paste$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _s20_ = "edit_menu_copy-paste", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Copy/Paste/Select"); - t2.set$id(t1, _s20_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Copy/Paste/Select"); + t1.set$id_(_s20_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s20_); t2.set$className(t1, "submenu-item"); - t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t2.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure(_this)); + t2 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure(_this)); t3 = J.getInterceptor$z(t2); t3.set$display(t2, "Copy"); t3.set$key(t2, "edit_menu_copy-paste_copy"); t2.set$keyboard_shortcut("Ctrl+C"); t2.set$tooltip("Copy the currently selected strand(s). They can be pasted into this design,\nor into another design in another browser or tab. You can also paste into\na text document to see a JSON description of the copied strand(s)."); - t3.set$disabled(t2, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$enable_copy())); + t4 = _this.___$MenuComponent__cachedTypedProps_A; + t4 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set; + t3.set$disabled(t2, !t4.get$isNotEmpty(t4)); t2 = t2.call$0(); - t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t3.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure0(_this)); - t4 = J.getInterceptor$z(t3); - t4.set$display(t3, "Copy image"); - t4.set$key(t3, "edit_menu_copy-paste_copy-image"); - t3.set$keyboard_shortcut("Ctrl+I"); - t3.set$tooltip("Copy a (PNG bitmap) image of the currently selected strand(s) to the system\nclipboard. This image can be pasted into graphics programs such as Powerpoint\nor Inkscape. Note that the bitmap image will be pixelated on zoom-in, unlike\nSVG (scaled vector graphics). To retain the vector graphics in the image so\nthat it stays sharp on zoom-in, use the option Export-->SVG of selected strands\nto save an SVG file of the selected strands."); - t4.set$disabled(t3, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$enable_copy())); - t3 = t3.call$0(); - t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t4.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure1()); - t5 = J.getInterceptor$z(t4); - t5.set$display(t4, "Paste"); - t5.set$key(t4, "edit_menu_copy-paste_paste"); - t4.set$tooltip("Paste the previously copied strand(s). They can be pasted into this design,\nor into another design in another browser or tab. You can also paste into\na text document to see a JSON description of the copied strand(s).\n"); - t4.set$keyboard_shortcut("Ctrl+V"); + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure0(_this)); + t3 = J.getInterceptor$z(t4); + t3.set$display(t4, "Copy image"); + t3.set$key(t4, "edit_menu_copy-paste_copy-image"); + t4.set$keyboard_shortcut("Ctrl+I"); + t4.set$tooltip("Copy a (PNG bitmap) image of the currently selected strand(s) to the system\nclipboard. This image can be pasted into graphics programs such as Powerpoint\nor Inkscape. Note that the bitmap image will be pixelated on zoom-in, unlike\nSVG (scaled vector graphics). To retain the vector graphics in the image so\nthat it stays sharp on zoom-in, use the option Export-->SVG of selected strands\nto save an SVG file of the selected strands."); + t5 = _this.___$MenuComponent__cachedTypedProps_A; + t5 = t5.get$state(t5).ui_state.selectables_store.get$selected_strands()._set; + t3.set$disabled(t4, !t5.get$isNotEmpty(t5)); t4 = t4.call$0(); - t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t5.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure2()); - t6 = J.getInterceptor$z(t5); - t6.set$display(t5, "Autopaste"); - t6.set$key(t5, "edit_menu_copy-paste_autopaste"); - t5.set$tooltip('This automatically pastes copied strands to an automatically selected position\nin the design, which can be faster to create many copies of strand(s) than\nmanually selecting each position to paste. First copy some strand(s), then\nmanually paste them using the menu Edit-->Paste or pressing Ctrl+V. Once this\nis done once, by selecting Edit-->Autopaste (or pressing Shift+Ctrl+V),\nanother copy of the same strand(s) are pasted, in the same "direction" as the\nfirst paste.\n\nFor example, if the first paste was one helix down from the the copied strand(s),\nand 10 offset positions to the right, then Autopaste will make the next paste\nalso one helix down from the first paste, and 10 offset positions to its right.\n\nYou can also Autopaste immediately after copying, without having pasted first,\nwith some default direction chosen. Play with it and see!\n'); - t5.set$keyboard_shortcut("Ctrl+Shift+V"); + t5 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure1()); + t3 = J.getInterceptor$z(t5); + t3.set$display(t5, "Paste"); + t3.set$key(t5, "edit_menu_copy-paste_paste"); + t5.set$tooltip("Paste the previously copied strand(s). They can be pasted into this design,\nor into another design in another browser or tab. You can also paste into\na text document to see a JSON description of the copied strand(s).\n"); + t5.set$keyboard_shortcut("Ctrl+V"); t5 = t5.call$0(); - t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t6.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure3()); + t3 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure2()); + t6 = J.getInterceptor$z(t3); + t6.set$display(t3, "Autopaste"); + t6.set$key(t3, "edit_menu_copy-paste_autopaste"); + t3.set$tooltip('This automatically pastes copied strands to an automatically selected position\nin the design, which can be faster to create many copies of strand(s) than\nmanually selecting each position to paste. First copy some strand(s), then\nmanually paste them using the menu Edit-->Paste or pressing Ctrl+V. Once this\nis done once, by selecting Edit-->Autopaste (or pressing Shift+Ctrl+V),\nanother copy of the same strand(s) are pasted, in the same "direction" as the\nfirst paste.\n\nFor example, if the first paste was one helix down from the the copied strand(s),\nand 10 offset positions to the right, then Autopaste will make the next paste\nalso one helix down from the first paste, and 10 offset positions to its right.\n\nYou can also Autopaste immediately after copying, without having pasted first,\nwith some default direction chosen. Play with it and see!\n'); + t3.set$keyboard_shortcut("Ctrl+Shift+V"); + t3 = t3.call$0(); + t6 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure3()); t7 = J.getInterceptor$z(t6); t7.set$display(t6, "Select all"); t7.set$key(t6, "edit_menu_copy-select-all"); t6.set$tooltip("Select all strands in the design."); t6.set$keyboard_shortcut("Ctrl+A"); t6 = t6.call$0(); - t7 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t7.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure4(_this)); + t7 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t7.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure4()); t8 = J.getInterceptor$z(t7); t8.set$display(t7, "Select all in helix group"); t8.set$key(t7, "edit_menu_copy-select-all-in-helix-groups"); t7.set$tooltip("Select all selectable strands in the current helix group."); t7.set$keyboard_shortcut("Ctrl+Shift+A"); t7 = t7.call$0(); - t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t8.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure5()); + t8 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t8.set$on_click(new A.MenuComponent_edit_menu_copy_paste_closure5()); t9 = J.getInterceptor$z(t8); t9.set$display(t8, "Select all with same..."); t9.set$key(t8, "edit_menu_copy-select-all-with-same"); t8.set$tooltip("Select all strands that share given trait(s) as the currently selected strand(s)."); t8.set$keyboard_shortcut("Alt+Shift+A"); t8 = t8.call$0(); - t9 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t10 = J.getInterceptor$x(t9); - t10.set$value(t9, _this._menu$_cachedTypedProps.get$selection_box_intersection()); - t10.set$display(t9, "Selection box intersection"); - t10.set$key(t9, "edit_menu_copy-paste_Selection box intersection"); + t9 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t10 = _this.___$MenuComponent__cachedTypedProps_A; + t11 = J.getInterceptor$x(t9); + t11.set$value(t9, t10.get$state(t10).ui_state.storables.selection_box_intersection); + t11.set$display(t9, "Selection box intersection"); + t11.set$key(t9, "edit_menu_copy-paste_Selection box intersection"); t9.set$tooltip('In Select mode, one does Shift+drag to create a selection box, and in rope select mode,\none can draw a more general selection "rope" polygon. This checkbox determines the rule \nfor how objects are selected by these boxes.\n\nIf unchecked, select any object *entirely contained within* the selection box.\n\nIf checked, select any object *intersecting* the selection box, even if some parts lie \noutside the box.'); - t10.set$onChange(t9, new D.MenuComponent_edit_menu_copy_paste_closure6(_this)); + t9.set$on_change(new A.MenuComponent_edit_menu_copy_paste_closure6(_this)); t9 = t9.call$0(); - t10 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t11 = J.getInterceptor$x(t10); - t11.set$value(t10, _this._menu$_cachedTypedProps.get$strand_paste_keep_color()); - t11.set$display(t10, "Pasted strands keep original color"); - t11.set$key(t10, "edit_menu_copy-paste_Pasted strands keep original color"); - t10.set$tooltip("If checked, when copying and pasting a strand, the color is preserved.\nIf unchecked, then a new color is generated."); - t11.set$onChange(t10, new D.MenuComponent_edit_menu_copy_paste_closure7(_this)); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6, t7, t8, t9, t10.call$0()], type$.JSArray_legacy_ReactElement)); - }, - edit_menu_helix_rolls$0: function() { - var t3, t4, t5, t6, t7, t8, _this = this, + t11 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t10 = _this.___$MenuComponent__cachedTypedProps_A; + t12 = J.getInterceptor$x(t11); + t12.set$value(t11, t10.get$state(t10).ui_state.storables.strand_paste_keep_color); + t12.set$display(t11, "Pasted strands keep original color"); + t12.set$key(t11, "edit_menu_copy-paste_Pasted strands keep original color"); + t11.set$tooltip("If checked, when copying and pasting a strand, the color is preserved.\nIf unchecked, then a new color is generated."); + t11.set$on_change(new A.MenuComponent_edit_menu_copy_paste_closure7(_this)); + return t1.call$1(A._setArrayType([t2, t4, t5, t3, t6, t7, t8, t9, t11.call$0()], type$.JSArray_ReactElement)); + }, + edit_menu_helix_rolls$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, _s21_ = "edit_menu_helix-rolls", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Helix rolls"); - t2.set$id(t1, _s21_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Helix rolls"); + t1.set$id_(_s21_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s21_); t2.set$className(t1, "submenu-item"); - t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t2.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure(_this)); + t2 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2.set$on_click(new A.MenuComponent_edit_menu_helix_rolls_closure()); t3 = J.getInterceptor$z(t2); t3.set$display(t2, "Set helix rolls to unstrain crossovers"); t3.set$key(t2, "edit_menu_helix-rolls_set-helix-rolls"); t2.set$tooltip('Sets all helix rolls to "relax" them based on their crossovers.\n\nThis calculates the "strain" of each crossover c as the absolute value d_c of \nthe distance between the angle to the helix to which it is connected and the \nangle of that crossover given the current helix roll. It minimizes sum_c d_c^2, \ni.e., minimize the sum of the squares of the strains (if modeling crossovers\nas rotational springs, this minimizes the total energy stored in each spring). \nThis can be used to create a design with "reasonable" crossover locations and \nthen set the rolls to match the crossover locations as best as possible.\n'); t2 = t2.call$0(); - t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t3.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure0(_this)); + t3 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3.set$on_click(new A.MenuComponent_edit_menu_helix_rolls_closure0()); t4 = J.getInterceptor$z(t3); t4.set$display(t3, "Set *selected* helix rolls to unstrain crossovers"); t4.set$key(t3, "edit_menu_helix-rolls_set-selected-helix-rolls"); t3.set$tooltip('Same as option "Set helix rolls based on crossovers and helix coordinates" above,\nbut changes the rolls only of selected helices.'); t3 = t3.call$0(); t4 = type$.dynamic; - t4 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "dropdown1"], t4, t4)); - t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t5.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure1(_this)); + t4 = $.$get$DropdownDivider().call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "dropdown1"], t4, t4)); + t5 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new A.MenuComponent_edit_menu_helix_rolls_closure1()); t6 = J.getInterceptor$z(t5); t6.set$display(t5, "Set helix coordinates based on crossovers"); t6.set$key(t5, "edit_menu_helix-rolls_set-helix-positions-based-on-crossovers"); - t6.set$disabled(t5, _this._menu$_cachedTypedProps.get$no_grid_is_none()); - t5.set$tooltip("The grid must be set to none to enable this." + (H.boolConversionCheck(_this._menu$_cachedTypedProps.get$no_grid_is_none()) ? " (Currently disabled since the grid is not none.)" : "") + "\n\nSelect some crossovers and some helices. If no helices are selected, then all\nhelices are processed. At most one crossover between pairs of adjacent (in\nview order) helices can be selected. If a pair of adjacent helices has no\ncrossover selected, it is assumed to be the first crossover.\n\nNew grid coordinates are calculated based on the crossovers to ensure that each\npair of adjacent helices has crossover angles that point the backbone angles\ndirectly at the adjoining helix."); + t6.set$disabled(t5, _this.get$no_grid_is_none()); + t5.set$tooltip("The grid must be set to none to enable this." + (_this.get$no_grid_is_none() ? " (Currently disabled since the grid is not none.)" : "") + "\n\nSelect some crossovers and some helices. If no helices are selected, then all\nhelices are processed. At most one crossover between pairs of adjacent (in\nview order) helices can be selected. If a pair of adjacent helices has no\ncrossover selected, it is assumed to be the first crossover.\n\nNew grid coordinates are calculated based on the crossovers to ensure that each\npair of adjacent helices has crossover angles that point the backbone angles\ndirectly at the adjoining helix."); t5 = t5.call$0(); - t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t7 = J.getInterceptor$x(t6); - t7.set$value(t6, _this._menu$_cachedTypedProps.get$default_crossover_type_scaffold_for_setting_helix_rolls()); - t7.set$display(t6, "default to leftmost scaffold crossover"); - t7.set$key(t6, "edit_menu_helix-rolls_default to leftmost scaffold crossover"); + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t7 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t8 = J.getInterceptor$x(t6); + t8.set$value(t6, t7.get$state(t7).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls); + t8.set$display(t6, "default to leftmost scaffold crossover"); + t8.set$key(t6, "edit_menu_helix-rolls_default to leftmost scaffold crossover"); t6.set$tooltip('When selecting "Set helix coordinates based on crossovers", if two adjacent \nhelices do not have a crossover selected, determines which types to select \nautomatically.\n\nIf this is checked and "default to leftmost staple crossover" is unchecked,\nthen the leftmost scaffold crossover will be used.\n\nIf both are checked, the leftmost crossover of any type will be used.\n\nIgnored if design is not an origami (i.e., does not have at least one scaffold).'); - t7.set$onChange(t6, new D.MenuComponent_edit_menu_helix_rolls_closure2(_this)); + t6.set$on_change(new A.MenuComponent_edit_menu_helix_rolls_closure2(_this)); t6 = t6.call$0(); - t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t8 = J.getInterceptor$x(t7); - t8.set$value(t7, _this._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls()); - t8.set$display(t7, "default to leftmost staple crossover"); - t8.set$key(t7, "edit_menu_helix-rolls_default to leftmost staple crossover"); - t7.set$tooltip('When selecting "Set helix coordinates based on crossovers", if two adjacent \nhelices do not have a crossover selected, determines which types to select \nautomatically.\n\nIf this is checked and "default to leftmost scaffold crossover" is unchecked,\nthen the leftmost staple crossover will be used.\n\nIf both are checked, the leftmost crossover of any type will be used.\n\nIgnored if design is not an origami (i.e., does not have at least one scaffold).'); - t8.set$onChange(t7, new D.MenuComponent_edit_menu_helix_rolls_closure3(_this)); - return t1.call$1([t2, t3, t4, t5, t6, t7.call$0()]); - }, - view_menu_autofit$0: function() { - var t3, t4, + t8 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t9 = J.getInterceptor$x(t8); + t9.set$value(t8, t7.get$state(t7).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls); + t9.set$display(t8, "default to leftmost staple crossover"); + t9.set$key(t8, "edit_menu_helix-rolls_default to leftmost staple crossover"); + t8.set$tooltip('When selecting "Set helix coordinates based on crossovers", if two adjacent \nhelices do not have a crossover selected, determines which types to select \nautomatically.\n\nIf this is checked and "default to leftmost scaffold crossover" is unchecked,\nthen the leftmost staple crossover will be used.\n\nIf both are checked, the leftmost crossover of any type will be used.\n\nIgnored if design is not an origami (i.e., does not have at least one scaffold).'); + t8.set$on_change(new A.MenuComponent_edit_menu_helix_rolls_closure3(_this)); + return t1.call$1(A._setArrayType([t2, t3, t4, t5, t6, t8.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_autofit$0() { + var t2, t3, t4, t5, _s26_ = "view_menu_autofit-dropdown", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Autofit"); - t2.set$id(t1, _s26_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Autofit"); + t1.set$id_(_s26_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s26_); t2.set$className(t1, "submenu-item"); - t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t3 = J.getInterceptor$z(t2); t3.set$display(t2, "Auto-fit current design"); t2.set$tooltip("The side and main views will be translated to fit the current design in the window.\n"); - t2.set$on_click(new D.MenuComponent_view_menu_autofit_closure()); + t2.set$on_click(new A.MenuComponent_view_menu_autofit_closure()); t3.set$key(t2, "autofit-current-design"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, this._menu$_cachedTypedProps.get$autofit()); - t4.set$display(t3, "Auto-fit on loading new design"); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = this.___$MenuComponent__cachedTypedProps_A; + t4 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, t4.get$state(t4).ui_state.storables.autofit); + t5.set$display(t3, "Auto-fit on loading new design"); t3.set$tooltip('The side and main views will be translated to fit the current design in the window\nwhenever loading a new design. Otherwise, after loading the design, you may not \nbe able to see it because it is translated off the screen in the current translation.\n\nYou may want to uncheck this when working on a design with the scripting \nlibrary. In that case, when repeatedly re-running the script to modify the \ndesign and then re-loading it, it is preferable to keep the design centered \nat the same location you had before, in order to be able to see the same part \nof the design you were looking at before changing the script.\n\nTo autofit the current design without reloading, click "Auto-fit current design".'); - t4.set$name(t3, "center-on-load"); - t4.set$onChange(t3, new D.MenuComponent_view_menu_autofit_closure0(this)); - t4.set$key(t3, "autofit-on-loading-new-design"); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3.call$0()], type$.JSArray_legacy_ReactElement)); + t5.set$name(t3, "center-on-load"); + t3.set$on_change(new A.MenuComponent_view_menu_autofit_closure0(this)); + t5.set$key(t3, "autofit-on-loading-new-design"); + return t1.call$1(A._setArrayType([t2, t3.call$0()], type$.JSArray_ReactElement)); }, - view_menu_warnings$0: function() { - var t3, t4, t5, _this = this, + view_menu_warnings$0() { + var t2, t3, t4, t5, t6, _this = this, _s23_ = "view_menu_show_warnings", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Warnings"); - t2.set$id(t1, _s23_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Warnings"); + t1.set$id_(_s23_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s23_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_mismatches()); - t3.set$display(t2, "Show DNA base mismatches"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.show_mismatches); + t4.set$display(t2, "Show DNA base mismatches"); t2.set$tooltip("Show mismatches between DNA assigned to one strand and the strand on the same\nhelix with the opposite orientation."); - t3.set$onChange(t2, new D.MenuComponent_view_menu_warnings_closure(_this)); - t3.set$key(t2, "show-mismatches"); + t2.set$on_change(new A.MenuComponent_view_menu_warnings_closure(_this)); + t4.set$key(t2, "show-mismatches"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_domain_name_mismatches()); - t4.set$display(t3, "Show domain name mismatches"); - t3.set$tooltip("Show mismatches between domain names assigned to one strand and the strand on the same\nhelix with the opposite orientation."); - t4.set$onChange(t3, new D.MenuComponent_view_menu_warnings_closure0(_this)); - t4.set$key(t3, "show-domain-name-mismatches"); - t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_unpaired_insertion_deletions()); - t5.set$display(t4, "Show unpaired insertion/deletions"); - t4.set$tooltip("Show unpaired deletions and insertions. This is defined to be an insertion/deletion on\na strand, where another strand is at the same (helix,offset) (in the opposite direction),\nwhich lacks the insertion/deletion. It does NOT show a warning if there is no other\nstrand at the same (helix,offset)."); - t5.set$onChange(t4, new D.MenuComponent_view_menu_warnings_closure1(_this)); - t5.set$key(t4, "show-unpaired-insertion-deletions"); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_show_labels$0: function() { - var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + t5.set$value(t4, t3.get$state(t3).ui_state.storables.show_domain_name_mismatches); + t5.set$display(t4, "Show domain name mismatches"); + t4.set$tooltip("Show mismatches between domain names assigned to one strand and the strand on the same\nhelix with the opposite orientation."); + t4.set$on_change(new A.MenuComponent_view_menu_warnings_closure0(_this)); + t5.set$key(t4, "show-domain-name-mismatches"); + t4 = t4.call$0(); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t6 = J.getInterceptor$x(t5); + t6.set$value(t5, t3.get$state(t3).ui_state.storables.show_unpaired_insertion_deletions); + t6.set$display(t5, "Show unpaired insertion/deletions"); + t5.set$tooltip("Show unpaired deletions and insertions. This is defined to be an insertion/deletion on\na strand, where another strand is at the same (helix,offset) (in the opposite direction),\nwhich lacks the insertion/deletion. It does NOT show a warning if there is no other\nstrand at the same (helix,offset)."); + t5.set$on_change(new A.MenuComponent_view_menu_warnings_closure1(_this)); + t6.set$key(t5, "show-unpaired-insertion-deletions"); + return t1.call$1(A._setArrayType([t2, t4, t5.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_show_labels$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s30_ = "view_menu_show_labels-dropdown", - _null = null, - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Strand/domain names/labels"); - t2.set$id(t1, _s30_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Strand/domain names/labels"); + t1.set$id_(_s30_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s30_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_strand_names()); - t3.set$display(t2, "Show strand names"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.show_strand_names); + t4.set$display(t2, "Show strand names"); t2.set$tooltip("Show strand names near 5' domain of strand."); - t3.set$onChange(t2, new D.MenuComponent_view_menu_show_labels_closure(_this)); - t3.set$key(t2, "show-strand-name"); + t2.set$on_change(new A.MenuComponent_view_menu_show_labels_closure(_this)); + t4.set$key(t2, "show-strand-name"); t2 = t2.call$0(); - t3 = M.menu_number___$MenuNumber$closure().call$0(); - t4 = J.getInterceptor$z(t3); - t4.set$display(t3, "strand name font size"); - t5 = _this._menu$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, "MenuPropsMixin.strand_name_font_size"); - t3.set$default_value(H._asNumS(t5 == null ? _null : t5)); - t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_strand_names())); - t3.set$tooltip("Adjust the font size of strand names."); - t3.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure0(_this)); - t4.set$key(t3, "strand-name-font-size"); - t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_strand_labels()); - t5.set$display(t4, "Show strand labels"); - t4.set$tooltip("Show strand labels near 5' domain of strand."); - t5.set$onChange(t4, new D.MenuComponent_view_menu_show_labels_closure1(_this)); - t5.set$key(t4, "show-strand-label"); + t4 = A.menu_number___$MenuNumber$closure().call$0(); + t3 = J.getInterceptor$z(t4); + t3.set$display(t4, "strand name font size"); + t5 = _this.___$MenuComponent__cachedTypedProps_A; + t4.set$default_value(t5.get$state(t5).ui_state.storables.strand_name_font_size); + t5 = _this.___$MenuComponent__cachedTypedProps_A; + t4.set$hide(!t5.get$state(t5).ui_state.storables.show_strand_names); + t4.set$tooltip("Adjust the font size of strand names."); + t4.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure0()); + t3.set$key(t4, "strand-name-font-size"); t4 = t4.call$0(); - t5 = M.menu_number___$MenuNumber$closure().call$0(); - t6 = J.getInterceptor$z(t5); - t6.set$display(t5, "strand label font size"); - t7 = _this._menu$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "MenuPropsMixin.strand_label_font_size"); - t5.set$default_value(H._asNumS(t7 == null ? _null : t7)); - t5.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_strand_labels())); - t5.set$tooltip("Adjust the font size of strand labels."); - t5.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure2(_this)); - t6.set$key(t5, "strand-label-font-size"); - t5 = t5.call$0(); - t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t7 = J.getInterceptor$x(t6); - t7.set$value(t6, _this._menu$_cachedTypedProps.get$show_domain_names()); - t7.set$display(t6, "Show domain names"); - t6.set$tooltip("Show domain and loopout names."); - t7.set$onChange(t6, new D.MenuComponent_view_menu_show_labels_closure3(_this)); - t7.set$key(t6, "show-domain-name"); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = _this.___$MenuComponent__cachedTypedProps_A; + t6 = J.getInterceptor$x(t3); + t6.set$value(t3, t5.get$state(t5).ui_state.storables.show_strand_labels); + t6.set$display(t3, "Show strand labels"); + t3.set$tooltip("Show strand labels near 5' domain of strand."); + t3.set$on_change(new A.MenuComponent_view_menu_show_labels_closure1(_this)); + t6.set$key(t3, "show-strand-label"); + t3 = t3.call$0(); + t6 = A.menu_number___$MenuNumber$closure().call$0(); + t5 = J.getInterceptor$z(t6); + t5.set$display(t6, "strand label font size"); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t6.set$default_value(t7.get$state(t7).ui_state.storables.strand_label_font_size); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t6.set$hide(!t7.get$state(t7).ui_state.storables.show_strand_labels); + t6.set$tooltip("Adjust the font size of strand labels."); + t6.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure2()); + t5.set$key(t6, "strand-label-font-size"); t6 = t6.call$0(); - t7 = M.menu_number___$MenuNumber$closure().call$0(); - t8 = J.getInterceptor$z(t7); - t8.set$display(t7, "domain name font size"); - t9 = _this._menu$_cachedTypedProps; - t9 = t9.get$props(t9).$index(0, "MenuPropsMixin.domain_name_font_size"); - t7.set$default_value(H._asNumS(t9 == null ? _null : t9)); - t7.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_domain_names())); - t7.set$tooltip("Adjust the font size of domain/loopout/extension names."); - t7.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure4(_this)); - t8.set$key(t7, "domain-name-font-size"); - t7 = t7.call$0(); - t8 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t9 = J.getInterceptor$x(t8); - t9.set$value(t8, _this._menu$_cachedTypedProps.get$show_domain_labels()); - t9.set$display(t8, "Show domain labels"); - t8.set$tooltip("Show domain labels near 5' domain of strand."); - t9.set$onChange(t8, new D.MenuComponent_view_menu_show_labels_closure5(_this)); - t9.set$key(t8, "show-domain-label"); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t8 = J.getInterceptor$x(t5); + t8.set$value(t5, t7.get$state(t7).ui_state.storables.show_domain_names); + t8.set$display(t5, "Show domain names"); + t5.set$tooltip("Show domain and loopout names."); + t5.set$on_change(new A.MenuComponent_view_menu_show_labels_closure3(_this)); + t8.set$key(t5, "show-domain-name"); + t5 = t5.call$0(); + t8 = A.menu_number___$MenuNumber$closure().call$0(); + t7 = J.getInterceptor$z(t8); + t7.set$display(t8, "domain name font size"); + t9 = _this.___$MenuComponent__cachedTypedProps_A; + t8.set$default_value(t9.get$state(t9).ui_state.storables.domain_name_font_size); + t9 = _this.___$MenuComponent__cachedTypedProps_A; + t8.set$hide(!t9.get$state(t9).ui_state.storables.show_domain_names); + t8.set$tooltip("Adjust the font size of domain/loopout/extension names."); + t8.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure4()); + t7.set$key(t8, "domain-name-font-size"); t8 = t8.call$0(); - t9 = M.menu_number___$MenuNumber$closure().call$0(); - t10 = J.getInterceptor$z(t9); - t10.set$display(t9, "domain label font size"); - t11 = _this._menu$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "MenuPropsMixin.domain_label_font_size"); - t9.set$default_value(H._asNumS(t11 == null ? _null : t11)); - t9.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_domain_labels())); - t9.set$tooltip("Adjust the font size of domain labels."); - t9.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure6(_this)); - t10.set$key(t9, "domain-label-font-size"); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6, t7, t8, t9.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_mods$0: function() { - var t3, t4, t5, t6, _this = this, + t7 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t9 = _this.___$MenuComponent__cachedTypedProps_A; + t10 = J.getInterceptor$x(t7); + t10.set$value(t7, t9.get$state(t9).ui_state.storables.show_domain_labels); + t10.set$display(t7, "Show domain labels"); + t7.set$tooltip("Show domain labels near 5' domain of strand."); + t7.set$on_change(new A.MenuComponent_view_menu_show_labels_closure5(_this)); + t10.set$key(t7, "show-domain-label"); + t7 = t7.call$0(); + t10 = A.menu_number___$MenuNumber$closure().call$0(); + t9 = J.getInterceptor$z(t10); + t9.set$display(t10, "domain label font size"); + t11 = _this.___$MenuComponent__cachedTypedProps_A; + t10.set$default_value(t11.get$state(t11).ui_state.storables.domain_label_font_size); + t11 = _this.___$MenuComponent__cachedTypedProps_A; + t10.set$hide(!t11.get$state(t11).ui_state.storables.show_domain_labels); + t10.set$tooltip("Adjust the font size of domain labels."); + t10.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure6()); + t9.set$key(t10, "domain-label-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t3, t6, t5, t8, t7, t10.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_mods$0() { + var t2, t3, t4, t5, t6, _this = this, _s23_ = "view_menu_mods-dropdown", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Modifications"); - t2.set$id(t1, _s23_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Modifications"); + t1.set$id_(_s23_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s23_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_modifications()); - t3.set$display(t2, "Show modifications"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.show_modifications); + t4.set$display(t2, "Show modifications"); t2.set$tooltip("Check to show DNA modifications (e.g., biotins, fluorophores)."); - t3.set$onChange(t2, new D.MenuComponent_view_menu_mods_closure(_this)); - t3.set$key(t2, "show-mods"); + t2.set$on_change(new A.MenuComponent_view_menu_mods_closure(_this)); + t4.set$key(t2, "show-mods"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$modification_display_connector()); - t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_modifications())); - t4.set$display(t3, "Display modification connector"); - t3.set$tooltip("Check to display DNA modification \"connectors\", short lines that connect \nthe 5'/3' end, or DNA base (for internal modifications), to the modification. \nThis is useful to keep the modification from visually obstructing the design.\nIf this is unchecked, then the modification is displayed directly on top of \nthe 5'/3' end or the base. This is useful for visualizing the exact position\nof the modifications, e.g., to see where a pattern of biotins will appear on\nthe surface of a DNA origami."); - t4.set$onChange(t3, new D.MenuComponent_view_menu_mods_closure0(_this)); - t4.set$key(t3, "display-mod-connector"); - t3 = t3.call$0(); - t4 = M.menu_number___$MenuNumber$closure().call$0(); - t5 = J.getInterceptor$z(t4); - t5.set$display(t4, "Modification font size"); - t6 = _this._menu$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, "MenuPropsMixin.modification_font_size"); - t4.set$default_value(H._asNumS(t6 == null ? null : t6)); - t4.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_modifications())); - t4.set$tooltip("Adjust the font size of modification text representation."); - t4.set$on_new_value(new D.MenuComponent_view_menu_mods_closure1(_this)); - t5.set$key(t4, "mod-font-size"); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_helices$0: function() { - var t3, t4, t5, t6, _this = this, + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, t3.get$state(t3).ui_state.storables.modification_display_connector); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t4.set$hide(!t3.get$state(t3).ui_state.storables.show_modifications); + t5.set$display(t4, "Display modification connector"); + t4.set$tooltip("Check to display DNA modification \"connectors\", short lines that connect \nthe 5'/3' end, or DNA base (for internal modifications), to the modification. \nThis is useful to keep the modification from visually obstructing the design.\nIf this is unchecked, then the modification is displayed directly on top of \nthe 5'/3' end or the base. This is useful for visualizing the exact position\nof the modifications, e.g., to see where a pattern of biotins will appear on\nthe surface of a DNA origami."); + t4.set$on_change(new A.MenuComponent_view_menu_mods_closure0(_this)); + t5.set$key(t4, "display-mod-connector"); + t4 = t4.call$0(); + t5 = A.menu_number___$MenuNumber$closure().call$0(); + t3 = J.getInterceptor$z(t5); + t3.set$display(t5, "Modification font size"); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + t5.set$default_value(t6.get$state(t6).ui_state.storables.modification_font_size); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + t5.set$hide(!t6.get$state(t6).ui_state.storables.show_modifications); + t5.set$tooltip("Adjust the font size of modification text representation."); + t5.set$on_new_value(new A.MenuComponent_view_menu_mods_closure1()); + t3.set$key(t5, "mod-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t5.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_helices$0() { + var t2, t3, t4, t5, t6, t7, _this = this, _s26_ = "view_menu_helices-dropdown", _s29_ = "display-only-selected-helices", _s31_ = "show-helix-components-main-view", _s28_ = "show-helix-circles-main-view", _s31_0 = "show-grid-coordinates-side-view", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Helices"); - t2.set$id(t1, _s26_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Helices"); + t1.set$id_(_s26_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s26_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$only_display_selected_helices()); - t3.set$display(t2, "Display only selected helices"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.only_display_selected_helices); + t4.set$display(t2, "Display only selected helices"); t2.set$tooltip("Only helices selected in the side view are displayed in the main view."); - t3.set$name(t2, _s29_); - t3.set$onChange(t2, new D.MenuComponent_view_menu_helices_closure(_this)); - t3.set$key(t2, _s29_); + t4.set$name(t2, _s29_); + t2.set$on_change(new A.MenuComponent_view_menu_helices_closure(_this)); + t4.set$key(t2, _s29_); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_helix_components_main_view()); - t4.set$display(t3, "Show main view helices"); - t3.set$tooltip("Shows helix representation in main view. Hiding them hides all view elements \nassociated with a helix: grid lines depicting offsets, circles with helix index,\nmajor tick offsets."); - t4.set$name(t3, _s31_); - t4.set$onChange(t3, new D.MenuComponent_view_menu_helices_closure0(_this)); - t4.set$key(t3, _s31_); - t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_helix_circles_main_view()); - t5.set$display(t4, "Show main view helix circles/idx"); - t4.set$tooltip('Shows helix circles and idx\'s in main view. You may want to hide them for\ndesigns that have overlapping non-parallel helices.\n\nTo hide all view elements associated with helices (e.g., major ticks),\ntoggle "Show main view helices".'); - t5.set$name(t4, _s28_); - t5.set$onChange(t4, new D.MenuComponent_view_menu_helices_closure1(_this)); - t5.set$key(t4, _s28_); + t5.set$value(t4, t3.get$state(t3).ui_state.storables.show_helix_components_main_view); + t5.set$display(t4, "Show main view helices"); + t4.set$tooltip("Shows helix representation in main view. Hiding them hides all view elements \nassociated with a helix: grid lines depicting offsets, circles with helix index,\nmajor tick offsets."); + t5.set$name(t4, _s31_); + t4.set$on_change(new A.MenuComponent_view_menu_helices_closure0(_this)); + t5.set$key(t4, _s31_); t4 = t4.call$0(); - t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t6 = J.getInterceptor$x(t5); - t6.set$value(t5, _this._menu$_cachedTypedProps.get$show_grid_coordinates_side_view()); - t6.set$display(t5, "Show helix coordinates in side view"); - t5.set$tooltip("Displays coordinates of each helix in the side view (either grid coordinates \nor real coordinates in nanometers, depending on whether a grid is selected)."); - t6.set$name(t5, _s31_0); - t6.set$onChange(t5, new D.MenuComponent_view_menu_helices_closure2(_this)); - t6.set$key(t5, _s31_0); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_display_major_ticks_options$0: function() { - var t3, t4, t5, t6, t7, t8, t9, t10, _this = this, + t6.set$value(t5, t3.get$state(t3).ui_state.storables.show_helix_circles_main_view); + t6.set$display(t5, "Show main view helix circles/idx"); + t5.set$tooltip('Shows helix circles and idx\'s in main view. You may want to hide them for\ndesigns that have overlapping non-parallel helices.\n\nTo hide all view elements associated with helices (e.g., major ticks),\ntoggle "Show main view helices".'); + t6.set$name(t5, _s28_); + t5.set$on_change(new A.MenuComponent_view_menu_helices_closure1(_this)); + t6.set$key(t5, _s28_); + t5 = t5.call$0(); + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, t3.get$state(t3).ui_state.storables.show_grid_coordinates_side_view); + t7.set$display(t6, "Show helix coordinates in side view"); + t6.set$tooltip("Displays coordinates of each helix in the side view (either grid coordinates \nor real coordinates in nanometers, depending on whether a grid is selected)."); + t7.set$name(t6, _s31_0); + t6.set$on_change(new A.MenuComponent_view_menu_helices_closure2(_this)); + t7.set$key(t6, _s31_0); + return t1.call$1(A._setArrayType([t2, t4, t5, t6.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_display_major_ticks_options$0() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _s45_ = "view_menu_display_major_tick_offsets-dropdown", _s53_ = "Adjust to change the font size of major tick offsets.", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Major ticks"); - t2.set$id(t1, _s45_); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Major ticks"); + t1.set$id_(_s45_); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, _s45_); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets()); - t3.set$display(t2, "Display major tick offsets"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.display_base_offsets_of_major_ticks); + t4.set$display(t2, "Display major tick offsets"); t2.set$tooltip("Display the integer base offset to the right of each major tick, on the first helix."); - t3.set$onChange(t2, new D.MenuComponent_view_menu_display_major_ticks_options_closure(_this)); - t3.set$key(t2, "display-major-tick-offsets"); + t2.set$on_change(new A.MenuComponent_view_menu_display_major_ticks_options_closure(_this)); + t4.set$key(t2, "display-major-tick-offsets"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_base_offsets_of_major_ticks_only_first_helix())); - t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets())); - t4.set$display(t3, "... on all helices"); - t3.set$tooltip("Display the integer base offset to the right of each major tick, for all helices."); - t4.set$onChange(t3, new D.MenuComponent_view_menu_display_major_ticks_options_closure0(_this)); - t4.set$key(t3, "display-major-tick-offsets-on-all-helices"); - t3 = t3.call$0(); - t4 = M.menu_number___$MenuNumber$closure().call$0(); - t5 = J.getInterceptor$z(t4); - t5.set$display(t4, "major tick offset font size"); - t6 = _this._menu$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, string$.MenuPrmao); - t4.set$default_value(H._asNumS(t6 == null ? null : t6)); - t4.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets())); - t4.set$tooltip(_s53_); - t4.set$on_new_value(new D.MenuComponent_view_menu_display_major_ticks_options_closure1(_this)); - t5.set$key(t4, "major-tick-offset-font-size"); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, !t3.get$state(t3).ui_state.storables.display_base_offsets_of_major_ticks_only_first_helix); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t4.set$hide(!t3.get$state(t3).ui_state.storables.display_base_offsets_of_major_ticks); + t5.set$display(t4, "... on all helices"); + t4.set$tooltip("Display the integer base offset to the right of each major tick, for all helices."); + t4.set$on_change(new A.MenuComponent_view_menu_display_major_ticks_options_closure0(_this)); + t5.set$key(t4, "display-major-tick-offsets-on-all-helices"); t4 = t4.call$0(); - t5 = type$.dynamic; - t5 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-major-tick-offset-from-width"], t5, t5)); - t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t7 = J.getInterceptor$x(t6); - t7.set$value(t6, _this._menu$_cachedTypedProps.get$display_major_tick_widths()); - t7.set$display(t6, "Display major tick widths"); + t5 = A.menu_number___$MenuNumber$closure().call$0(); + t3 = J.getInterceptor$z(t5); + t3.set$display(t5, "major tick offset font size"); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + t5.set$default_value(t6.get$state(t6).ui_state.storables.major_tick_offset_font_size); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + t5.set$hide(!t6.get$state(t6).ui_state.storables.display_base_offsets_of_major_ticks); + t5.set$tooltip(_s53_); + t5.set$on_new_value(new A.MenuComponent_view_menu_display_major_ticks_options_closure1()); + t3.set$key(t5, "major-tick-offset-font-size"); + t5 = t5.call$0(); + t3 = type$.dynamic; + t3 = $.$get$DropdownDivider().call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-major-tick-offset-from-width"], t3, t3)); + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t8 = J.getInterceptor$x(t6); + t8.set$value(t6, t7.get$state(t7).ui_state.storables.display_major_tick_widths); + t8.set$display(t6, "Display major tick widths"); t6.set$tooltip("Display the number of bases between each adjacent pair of major ticks, on the first helix."); - t7.set$onChange(t6, new D.MenuComponent_view_menu_display_major_ticks_options_closure2(_this)); - t7.set$key(t6, "display-major-tick-widths"); + t6.set$on_change(new A.MenuComponent_view_menu_display_major_ticks_options_closure2(_this)); + t8.set$key(t6, "display-major-tick-widths"); t6 = t6.call$0(); - t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t8 = J.getInterceptor$x(t7); - t8.set$value(t7, _this._menu$_cachedTypedProps.get$display_major_tick_widths_all_helices()); - t7.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_major_tick_widths())); - t8.set$display(t7, "...on all helices"); - t7.set$tooltip("Display the number of bases between each adjacent pair of major ticks, on all helices."); - t8.set$onChange(t7, new D.MenuComponent_view_menu_display_major_ticks_options_closure3(_this)); - t8.set$key(t7, "display-major-tick-widths-on-all-helices"); - t7 = t7.call$0(); - t8 = M.menu_number___$MenuNumber$closure().call$0(); - t9 = J.getInterceptor$z(t8); - t9.set$display(t8, "Major tick width font size"); - t10 = _this._menu$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, string$.MenuPrmaw); - t8.set$default_value(H._asNumS(t10 == null ? null : t10)); - t8.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_major_tick_widths())); - t8.set$tooltip(_s53_); - t8.set$on_new_value(new D.MenuComponent_view_menu_display_major_ticks_options_closure4(_this)); - t9.set$key(t8, "major-tick-width-font-size"); - return t1.call$1([t2, t3, t4, t5, t6, t7, t8.call$0()]); - }, - view_menu_base_pairs$0: function() { - var t3, t4, t5, _this = this, - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "Base pairs"); - t2.set$id(t1, "view_menu_base_pairs"); + t8 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t9 = J.getInterceptor$x(t8); + t9.set$value(t8, t7.get$state(t7).ui_state.storables.display_major_tick_widths_all_helices); + t7 = _this.___$MenuComponent__cachedTypedProps_A; + t8.set$hide(!t7.get$state(t7).ui_state.storables.display_major_tick_widths); + t9.set$display(t8, "...on all helices"); + t8.set$tooltip("Display the number of bases between each adjacent pair of major ticks, on all helices."); + t8.set$on_change(new A.MenuComponent_view_menu_display_major_ticks_options_closure3(_this)); + t9.set$key(t8, "display-major-tick-widths-on-all-helices"); + t8 = t8.call$0(); + t9 = A.menu_number___$MenuNumber$closure().call$0(); + t7 = J.getInterceptor$z(t9); + t7.set$display(t9, "Major tick width font size"); + t10 = _this.___$MenuComponent__cachedTypedProps_A; + t9.set$default_value(t10.get$state(t10).ui_state.storables.major_tick_width_font_size); + t10 = _this.___$MenuComponent__cachedTypedProps_A; + t9.set$hide(!t10.get$state(t10).ui_state.storables.display_major_tick_widths); + t9.set$tooltip(_s53_); + t9.set$on_new_value(new A.MenuComponent_view_menu_display_major_ticks_options_closure4()); + t7.set$key(t9, "major-tick-width-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t5, t3, t6, t8, t9.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_base_pairs$0() { + var t2, t3, t4, t5, t6, _this = this, + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("Base pairs"); + t1.set$id_("view_menu_base_pairs"); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, "view_menu_base_pairs-dropdown"); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 1); - t3.set$display(t2, "Display as " + C.BasePairDisplayType_lines.display_name$0()); - t3.set$key(t2, "base-pair-display-lines"); - t3.set$onChange(t2, new D.MenuComponent_view_menu_base_pairs_closure(_this)); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.base_pair_display_type.toIndex$0() === 1); + t4.set$display(t2, "Display as " + B.BasePairDisplayType_lines.display_name$0()); + t4.set$key(t2, "base-pair-display-lines"); + t2.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure(_this)); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 2); - t4.set$display(t3, "Display as " + C.BasePairDisplayType_rectangle.display_name$0()); - t4.set$key(t3, "base-pair-display-rectangle"); - t4.set$onChange(t3, new D.MenuComponent_view_menu_base_pairs_closure0(_this)); - t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_base_pair_lines_with_mismatches()); - t5.set$display(t4, "... even if bases mismatch"); - t5.set$key(t4, "base-pair-display-even-if-bases-mismatch"); - t4.set$hide(_this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 0); - t4.set$tooltip("Lines are drawn between all pairs of bases at the same offset on the same helix, \nregardless of whether the bases are complementary. If unchecked then lines are \nonly shown between pairs of complementary bases."); - t5.set$onChange(t4, new D.MenuComponent_view_menu_base_pairs_closure1(_this)); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_dna$0: function() { - var t3, t4, _this = this, + t5.set$value(t4, t3.get$state(t3).ui_state.storables.base_pair_display_type.toIndex$0() === 2); + t5.set$display(t4, "Display as " + B.BasePairDisplayType_rectangle.display_name$0()); + t5.set$key(t4, "base-pair-display-rectangle"); + t4.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure0(_this)); + t4 = t4.call$0(); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t6 = J.getInterceptor$x(t5); + t6.set$value(t5, t3.get$state(t3).ui_state.storables.show_base_pair_lines_with_mismatches); + t6.set$display(t5, "... even if bases mismatch"); + t6.set$key(t5, "base-pair-display-even-if-bases-mismatch"); + t6 = _this.___$MenuComponent__cachedTypedProps_A; + t5.set$hide(t6.get$state(t6).ui_state.storables.base_pair_display_type.toIndex$0() === 0); + t5.set$tooltip("Lines are drawn between all pairs of bases at the same offset on the same helix, \nregardless of whether the bases are complementary. If unchecked then lines are \nonly shown between pairs of complementary bases."); + t5.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure1(_this)); + return t1.call$1(A._setArrayType([t2, t4, t5.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_dna$0() { + var t2, t3, t4, t5, _this = this, _s33_ = "display-reverse-DNA-right-side-up", - t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$title(t1, "DNA"); - t2.set$id(t1, "view_menu_dna"); + t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t1.set$title_("DNA"); + t1.set$id_("view_menu_dna"); + t2 = J.getInterceptor$z(t1); t2.set$key(t1, "view_menu_dna-dropdown"); t2.set$className(t1, "submenu_item"); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_dna()); - t3.set$display(t2, "DNA sequences"); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, t3.get$state(t3).ui_state.storables.show_dna); + t4.set$display(t2, "DNA sequences"); t2.set$tooltip("Show DNA sequences that have been assigned to strands. In a large design, this\ncan slow down the performance of panning and zooming navigation, so uncheck it\nto speed up navigation."); - t3.set$onChange(t2, new D.MenuComponent_view_menu_dna_closure(_this)); - t3.set$key(t2, "show-dna-sequences"); + t2.set$on_change(new A.MenuComponent_view_menu_dna_closure(_this)); + t4.set$key(t2, "show-dna-sequences"); t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$display_reverse_DNA_right_side_up()); - t4.set$display(t3, "Display reverse DNA right-side up"); - t3.set$tooltip("Displays DNA right-side up on reverse strands."); - t4.set$name(t3, _s33_); - t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_dna())); - t4.set$onChange(t3, new D.MenuComponent_view_menu_dna_closure0(_this)); - t4.set$key(t3, _s33_); - return t1.call$1(H.setRuntimeTypeInfo([t2, t3.call$0()], type$.JSArray_legacy_ReactElement)); - }, - view_menu_show_oxview$0: function() { - var _s11_ = "show-oxview", - t1 = Z.menu_boolean___$MenuBoolean$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$value(t1, this._menu$_cachedTypedProps.get$show_oxview()); - t2.set$display(t1, "Show oxView"); - t1.set$tooltip('Displays an embedded oxView window to visualize the 3D structure of the design.\n\nCurrently the view is "read-only", it will export the scadnano design and show \nit in the oxView window, but changes made in the oxView window are not propagated\nback to the scadnano design. Any changes will be lost the next time the scadnano\ndesign is edited.'); - t2.set$name(t1, _s11_); - t2.set$onChange(t1, new D.MenuComponent_view_menu_show_oxview_closure(this)); - t2.set$key(t1, _s11_); - return H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); - }, - view_menu_zoom_speed$0: function() { + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, t3.get$state(t3).ui_state.storables.display_reverse_DNA_right_side_up); + t5.set$display(t4, "Display reverse DNA right-side up"); + t4.set$tooltip("Displays DNA right-side up on reverse strands."); + t5.set$name(t4, _s33_); + t3 = _this.___$MenuComponent__cachedTypedProps_A; + t4.set$hide(!t3.get$state(t3).ui_state.storables.show_dna); + t4.set$on_change(new A.MenuComponent_view_menu_dna_closure0(_this)); + t5.set$key(t4, _s33_); + return t1.call$1(A._setArrayType([t2, t4.call$0()], type$.JSArray_ReactElement)); + }, + view_menu_show_oxview$0() { + var t3, + _s11_ = "show-oxview", + t1 = A.menu_boolean___$MenuBoolean$closure().call$0(), + t2 = this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t3 = J.getInterceptor$x(t1); + t3.set$value(t1, t2.get$state(t2).ui_state.storables.show_oxview); + t3.set$display(t1, "Show oxView"); + t1.set$tooltip('Displays an embedded oxView window to visualize the 3D structure of the design.\n\nCurrently the view is "read-only", it will export the scadnano design and show \nit in the oxView window, but changes made in the oxView window are not propagated\nback to the scadnano design. Any changes will be lost the next time the scadnano\ndesign is edited.\n\nThe oxView window will just show the structure at first, but if you press the `m`\nkey, it will show the oxView controls. (But bear in mind any edits will be lost\nupon the next scadnano design change.)\n\nAfter clicking in the oxView window, the focus is lost from the scadnano app,\nand keyboard shortcuts (e.g., Ctrl+Z to undo, or Delete to delete selected strands)\nwill not be recognized by scadnano, even if you click in the scadnano main view.\nClicking on the menu or the slider bars will return focus to scadnano so that\nkeyboard shortcuts will be recognized by scadnano again.'); + t3.set$name(t1, _s11_); + t1.set$on_change(new A.MenuComponent_view_menu_show_oxview_closure(this)); + t3.set$key(t1, _s11_); + return A._setArrayType([t1.call$0()], type$.JSArray_ReactElement); + }, + view_menu_zoom_speed$0() { var t3, - t1 = M.menu_number___$MenuNumber$closure().call$0(), + t1 = A.menu_number___$MenuNumber$closure().call$0(), t2 = J.getInterceptor$z(t1); t2.set$display(t1, "Zoom speed"); - t3 = this._menu$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "MenuPropsMixin.zoom_speed"); - t1.set$default_value(H._asNumS(t3 == null ? null : t3)); + t3 = this.___$MenuComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.set$default_value(t3.get$state(t3).ui_state.storables.zoom_speed); t1.set$min_value(0); t2.set$step(t1, 0.05); t1.set$tooltip("The speed at which the mouse wheel or two-finger scroll zooms the view in and out."); - t1.set$on_new_value(new D.MenuComponent_view_menu_zoom_speed_closure(this)); + t1.set$on_new_value(new A.MenuComponent_view_menu_zoom_speed_closure()); t2.set$key(t1, "zoom-speed"); - return H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); + return A._setArrayType([t1.call$0()], type$.JSArray_ReactElement); }, - view_menu_misc$0: function() { - var t3, t4, t5, t6, t7, t8, _this = this, + view_menu_misc$0() { + var t3, t4, t5, t6, t7, t8, t9, _this = this, _s13_ = "invert-y-axis", _s24_ = "show-helices-axis-arrows", _s29_ = "show-loopout-extension-length", @@ -145339,205 +146680,214 @@ _s19_ = "show-mouseover-data", _s33_ = "disable-png-caching-dna-sequences", _s32_ = "retain-strand-color-on-selection", - t1 = Z.menu_boolean___$MenuBoolean$closure().call$0(), - t2 = J.getInterceptor$x(t1); - t2.set$value(t1, _this._menu$_cachedTypedProps.get$invert_y()); - t2.set$display(t1, "Invert y-axis"); + t1 = A.menu_boolean___$MenuBoolean$closure().call$0(), + t2 = _this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t3 = J.getInterceptor$x(t1); + t3.set$value(t1, t2.get$state(t2).ui_state.storables.invert_y); + t3.set$display(t1, "Invert y-axis"); t1.set$tooltip('Invert the y-axis by rotating 180 degrees about the z-axis (within the x/y plane).\n\nIf unchecked, then use "screen coordinates", where increasing y moves down. \n\nIf checked, then use Cartesian coordinates where increasing y moves up.\n\nTo inspect how all axes change, check View --> Show axis arrows.'); - t2.set$name(t1, _s13_); - t2.set$onChange(t1, new D.MenuComponent_view_menu_misc_closure(_this)); - t2.set$key(t1, _s13_); + t3.set$name(t1, _s13_); + t1.set$on_change(new A.MenuComponent_view_menu_misc_closure(_this)); + t3.set$key(t1, _s13_); t1 = t1.call$0(); - t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t3 = J.getInterceptor$x(t2); - t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_helices_axis_arrows()); - t3.set$display(t2, "Axis arrows"); - t2.set$tooltip("Show axis arrows in side and main view\nRed : X-axis\nGreen : Y-axis\nBlue : Z-axis"); - t3.set$name(t2, _s24_); - t3.set$onChange(t2, new D.MenuComponent_view_menu_misc_closure0(_this)); - t3.set$key(t2, _s24_); - t2 = t2.call$0(); - t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; t4 = J.getInterceptor$x(t3); - t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_loopout_extension_length()); - t4.set$display(t3, "Loopout/extension lengths"); - t3.set$tooltip("When selected, the length of each loopout and extension is displayed next to it."); - t4.set$name(t3, _s29_); - t4.set$onChange(t3, new D.MenuComponent_view_menu_misc_closure1(_this)); - t4.set$key(t3, _s29_); + t4.set$value(t3, t2.get$state(t2).ui_state.storables.show_helices_axis_arrows); + t4.set$display(t3, "Axis arrows"); + t3.set$tooltip("Show axis arrows in side and main view\nRed : X-axis\nGreen : Y-axis\nBlue : Z-axis"); + t4.set$name(t3, _s24_); + t3.set$on_change(new A.MenuComponent_view_menu_misc_closure0(_this)); + t4.set$key(t3, _s24_); t3 = t3.call$0(); - t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_slice_bar()); - t5.set$display(t4, "Slice bar"); - t4.set$tooltip("When selected, a slicebar is displayed, which users can drag and move to\ndisplay the DNA backbone angle of all helices at a particular offset.\n "); - t5.set$name(t4, _s14_); - t5.set$onChange(t4, new D.MenuComponent_view_menu_misc_closure2(_this)); - t5.set$key(t4, _s14_); + t5.set$value(t4, t2.get$state(t2).ui_state.storables.show_loopout_extension_length); + t5.set$display(t4, "Loopout/extension lengths"); + t4.set$tooltip("When selected, the length of each loopout and extension is displayed next to it."); + t5.set$name(t4, _s29_); + t4.set$on_change(new A.MenuComponent_view_menu_misc_closure1(_this)); + t5.set$key(t4, _s29_); t4 = t4.call$0(); - t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; t6 = J.getInterceptor$x(t5); - t6.set$value(t5, _this._menu$_cachedTypedProps.get$show_mouseover_data()); - t6.set$display(t5, "Strand and helix details in footer"); - t5.set$tooltip("When selected, the footer will display details about the design based\non where the cursor is located. If the cursor is on a helix, the helix\nindex and cursor's base offset location is displayed. If the cursor is\non a strand, then the strand details will also be displayed.\n\nIn a large design, this can slow down the performance, so uncheck it when not in use.\n "); - t6.set$name(t5, _s19_); - t6.set$onChange(t5, new D.MenuComponent_view_menu_misc_closure3(_this)); - t6.set$key(t5, _s19_); + t6.set$value(t5, t2.get$state(t2).ui_state.storables.show_slice_bar); + t6.set$display(t5, "Slice bar"); + t5.set$tooltip("When selected, a slicebar is displayed, which users can drag and move to\ndisplay the DNA backbone angle of all helices at a particular offset.\n "); + t6.set$name(t5, _s14_); + t5.set$on_change(new A.MenuComponent_view_menu_misc_closure2(_this)); + t6.set$key(t5, _s14_); t5 = t5.call$0(); - t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; t7 = J.getInterceptor$x(t6); - t7.set$value(t6, _this._menu$_cachedTypedProps.get$disable_png_caching_dna_sequences()); - t7.set$display(t6, "Disable PNG caching of DNA sequences"); - t6.set$tooltip("DNA sequences are displayed as SVG (scaled vector graphics), which slow down the program\nsignificantly when zoomed far out on a large design and hundreds or thousands of DNA bases \nare displayed simultaneously. To prevent this, the image of DNA sequences is converted \nto a PNG image when zoomed out sufficiently far, which is much faster to display.\n\nSelect this option to disable this PNG caching of DNA sequences. This can be useful when \ndebugging, but be warned that it will be very slow to render a large number of DNA bases."); - t7.set$name(t6, _s33_); - t7.set$onChange(t6, new D.MenuComponent_view_menu_misc_closure4(_this)); - t7.set$key(t6, _s33_); + t7.set$value(t6, t2.get$state(t2).ui_state.storables.show_mouseover_data); + t7.set$display(t6, "Strand and helix details in footer"); + t6.set$tooltip("When selected, the footer will display details about the design based\non where the cursor is located. If the cursor is on a helix, the helix\nindex and cursor's base offset location is displayed. If the cursor is\non a strand, then the strand details will also be displayed.\n\nIn a large design, this can slow down the performance, so uncheck it when not in use.\n "); + t7.set$name(t6, _s19_); + t6.set$on_change(new A.MenuComponent_view_menu_misc_closure3(_this)); + t7.set$key(t6, _s19_); t6 = t6.call$0(); - t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; t8 = J.getInterceptor$x(t7); - t8.set$value(t7, _this._menu$_cachedTypedProps.get$retain_strand_color_on_selection()); - t8.set$display(t7, "Retain strand color on selection"); - t7.set$tooltip("Selected strands are normally highlighted in hot pink, which overrides the strand's color.\nSelect this option to not override the strand's color when it is selected.\nA highlighting effect will still appear.\n "); - t8.set$name(t7, _s32_); - t8.set$onChange(t7, new D.MenuComponent_view_menu_misc_closure5(_this)); - t8.set$key(t7, _s32_); - return H.setRuntimeTypeInfo([t1, t2, t3, t4, t5, t6, t7.call$0()], type$.JSArray_legacy_ReactElement); - }, - export_menu$0: function() { - var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, + t8.set$value(t7, t2.get$state(t2).ui_state.storables.disable_png_caching_dna_sequences); + t8.set$display(t7, "Disable PNG caching of DNA sequences"); + t7.set$tooltip("DNA sequences are displayed as SVG (scaled vector graphics), which slow down the program\nsignificantly when zoomed far out on a large design and hundreds or thousands of DNA bases \nare displayed simultaneously. To prevent this, the image of DNA sequences is converted \nto a PNG image when zoomed out sufficiently far, which is much faster to display.\n\nSelect this option to disable this PNG caching of DNA sequences. This can be useful when \ndebugging, but be warned that it will be very slow to render a large number of DNA bases."); + t8.set$name(t7, _s33_); + t7.set$on_change(new A.MenuComponent_view_menu_misc_closure4(_this)); + t8.set$key(t7, _s33_); + t7 = t7.call$0(); + t8 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t2 = _this.___$MenuComponent__cachedTypedProps_A; + t9 = J.getInterceptor$x(t8); + t9.set$value(t8, t2.get$state(t2).ui_state.storables.retain_strand_color_on_selection); + t9.set$display(t8, "Retain strand color on selection"); + t8.set$tooltip("Selected strands are normally highlighted in hot pink, which overrides the strand's color.\nSelect this option to not override the strand's color when it is selected.\nA highlighting effect will still appear.\n "); + t9.set$name(t8, _s32_); + t8.set$on_change(new A.MenuComponent_view_menu_misc_closure5(_this)); + t9.set$key(t8, _s32_); + return A._setArrayType([t1, t3, t4, t5, t6, t7, t8.call$0()], type$.JSArray_ReactElement); + }, + export_menu$0() { + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, _this = this, _s26_ = "export-svg-text-separately", _s31_ = "ox-export-only-selected-strands", t1 = $.$get$NavDropdown(), t2 = type$.dynamic, - t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Export", "id", "export-nav-dropdown"], t2, t2), - t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t4.set$on_click(new D.MenuComponent_export_menu_closure(_this)); + t3 = A.LinkedHashMap_LinkedHashMap$_literal(["title", "Export", "id", "export-nav-dropdown"], t2, t2), + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new A.MenuComponent_export_menu_closure()); t4.set$tooltip("Export SVG figure of side view (cross-section of helices on the left side of screen)."); J.set$display$z(t4, "SVG side view"); t4 = t4.call$0(); - t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t5.set$on_click(new D.MenuComponent_export_menu_closure0(_this)); + t5 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new A.MenuComponent_export_menu_closure0()); t5.set$tooltip("Export SVG figure of main view (design shown in center of screen)."); J.set$display$z(t5, "SVG main view"); t5 = t5.call$0(); - t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t6.set$on_click(new D.MenuComponent_export_menu_closure1(_this)); + t6 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new A.MenuComponent_export_menu_closure1()); t6.set$tooltip("Export SVG figure of selected strands"); J.set$display$z(t6, "SVG of selected strands"); t6 = t6.call$0(); - t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t8 = J.getInterceptor$x(t7); - t8.set$value(t7, _this._menu$_cachedTypedProps.get$export_svg_text_separately()); - t8.set$display(t7, "export svg text separately (PPT)"); + t7 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = _this.___$MenuComponent__cachedTypedProps_A; + t8 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t9 = J.getInterceptor$x(t7); + t9.set$value(t7, t8.get$state(t8).ui_state.storables.export_svg_text_separately); + t9.set$display(t7, "export svg text separately (PPT)"); t7.set$tooltip("When selected, every symbol of the text in a DNA sequence is exported as a separate\nSVG text element. This is useful if the SVG will be imported into Powerpoint, which \nis less expressive than SVG and can render the text strangely."); - t8.set$name(t7, _s26_); - t8.set$onChange(t7, new D.MenuComponent_export_menu_closure2(_this)); - t8.set$key(t7, _s26_); + t9.set$name(t7, _s26_); + t7.set$on_change(new A.MenuComponent_export_menu_closure2(_this)); + t9.set$key(t7, _s26_); t7 = t7.call$0(); - t8 = $.$get$DropdownDivider(); - t9 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-svg"], t2, t2)); - t10 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t10.set$on_click(new D.MenuComponent_export_menu_closure3()); + t9 = $.$get$DropdownDivider(); + t8 = t9.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-svg"], t2, t2)); + t10 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t10.set$on_click(new A.MenuComponent_export_menu_closure3()); t10.set$tooltip("Export DNA sequences of strands to a file."); J.set$display$z(t10, "DNA sequences"); t10 = t10.call$0(); - t11 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t11.set$on_click(new D.MenuComponent_export_menu_closure4(_this)); + t11 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t11.set$on_click(new A.MenuComponent_export_menu_closure4()); t11.set$tooltip("Export design's DNA sequences as a CSV in the same way as cadnano v2.\nThis is useful, for example, with CanDo's atomic model generator."); J.set$display$z(t11, "DNA sequences (cadnano v2 format)"); t11 = t11.call$0(); - t12 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-dna"], t2, t2)); - t13 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t13.set$on_click(new D.MenuComponent_export_menu_closure5(_this)); + t12 = t9.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-dna"], t2, t2)); + t13 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t13.set$on_click(new A.MenuComponent_export_menu_closure5()); t13.set$tooltip("Export design to cadnano (version 2) .json file."); t14 = J.getInterceptor$z(t13); t14.set$display(t13, "cadnano v2"); t14.set$key(t13, "export-cadnano"); t13 = t13.call$0(); - t14 = $.$get$DropdownItem().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io/en/latest/#interoperability-cadnano-v2", "target", "_blank", "title", "Read constraints that the scadnano design must obey to exportable to cadnano v2.\nThe constraints are the same for the scadnano Python package (described at the \nlinked page) as for the web interface.\n"], t2, t2), "cadnano v2 export instructions"); - t15 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t15.set$on_click(new D.MenuComponent_export_menu_closure6(_this)); + t14 = $.$get$DropdownItem().call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io/en/latest/#interoperability-cadnano-v2", "target", "_blank", "title", "Read constraints that the scadnano design must obey to exportable to cadnano v2.\nThe constraints are the same for the scadnano Python package (described at the \nlinked page) as for the web interface.\n"], t2, t2), "cadnano v2 export instructions"); + t15 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t15.set$on_click(new A.MenuComponent_export_menu_closure6()); t15.set$tooltip("Export design to cadnano (version 2) .json file with no whitespace or newlines.\nThis is necessary to use the cadnano file with CanDo, which causes a confusing error \ncadnano files that have whitespace. (\"Bad .json file format is detected in \n'structure.json'. Or no dsDNA or strand crossovers exist.\")"); t16 = J.getInterceptor$z(t15); t16.set$display(t15, "cadnano v2 no whitespace"); t16.set$key(t15, "export-cadnano-no-whitespace"); t15 = t15.call$0(); - t2 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-cadnano"], t2, t2)); - t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t8.set$on_click(new D.MenuComponent_export_menu_closure7(_this)); - t8.set$tooltip("Export design to oxView files, which can be loaded in oxView."); - t16 = J.getInterceptor$z(t8); - t16.set$display(t8, "oxView"); - t16.set$key(t8, "export-oxview"); - t8 = t8.call$0(); - t16 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t16.set$on_click(new D.MenuComponent_export_menu_closure8(_this)); + t2 = t9.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-cadnano"], t2, t2)); + t9 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t9.set$on_click(new A.MenuComponent_export_menu_closure7(_this)); + t9.set$tooltip("Export design to oxView files, which can be loaded in oxView."); + t16 = J.getInterceptor$z(t9); + t16.set$display(t9, "oxView"); + t16.set$key(t9, "export-oxview"); + t9 = t9.call$0(); + t16 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t16.set$on_click(new A.MenuComponent_export_menu_closure8(_this)); t16.set$tooltip("Export design to oxDNA .dat and .top files, which can be loaded in oxDNA or oxView."); t17 = J.getInterceptor$z(t16); t17.set$display(t16, "oxDNA"); t17.set$key(t16, "export-oxdna"); t16 = t16.call$0(); - t17 = Z.menu_boolean___$MenuBoolean$closure().call$0(); - t18 = J.getInterceptor$x(t17); - t18.set$value(t17, _this._menu$_cachedTypedProps.get$ox_export_only_selected_strands()); - t18.set$display(t17, "export only selected strands"); + t17 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t18 = _this.___$MenuComponent__cachedTypedProps_A; + t19 = J.getInterceptor$x(t17); + t19.set$value(t17, t18.get$state(t18).ui_state.storables.ox_export_only_selected_strands); + t19.set$display(t17, "export only selected strands"); t17.set$tooltip("When selected, only selected strands will be exported to oxDNA or oxView formats."); - t18.set$name(t17, _s31_); - t18.set$onChange(t17, new D.MenuComponent_export_menu_closure9(_this)); - t18.set$key(t17, _s31_); - return t1.call$16(t3, t4, t5, t6, t7, t9, t10, t11, t12, t13, t14, t15, t2, t8, t16, t17.call$0()); - }, - help_menu$0: function() { - var t1, t2, t3, t4, first, _i, version, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, - version_dropdown_items = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t1 = $.$get$scadnano_versions_to_link(), t2 = t1.length, t3 = type$.legacy_ReactElement, t4 = type$.dynamic, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i, first = false) { + t19.set$name(t17, _s31_); + t17.set$on_change(new A.MenuComponent_export_menu_closure9(_this)); + t19.set$key(t17, _s31_); + return t1.call$16(t3, t4, t5, t6, t7, t8, t10, t11, t12, t13, t14, t15, t2, t9, t16, t17.call$0()); + }, + help_menu$0() { + var t1, t2, t3, first, _i, version, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, + version_dropdown_items = A._setArrayType([], type$.JSArray_ReactElement); + for (t1 = $.$get$scadnano_versions_to_link(), t2 = t1.length, t3 = type$.dynamic, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i, first = false) { version = t1[_i]; - t5 = $.$get$DropdownItem(); - t6 = P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/v" + H.S(version) + "/index.html", "target", "_blank", "key", version, "title", " Version v" + H.S(version) + " of scadnano, located at https://scadnano.org/v" + H.S(version) + "/index.html."], t4, t4); - t7 = "v" + H.S(version); - C.JSArray_methods.add$1(version_dropdown_items, t3._as(t5.call$2(t6, t7 + (first ? " (current version)" : "")))); + t4 = $.$get$DropdownItem(); + t5 = A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/v" + A.S(version) + "/index.html", "target", "_blank", "key", version, "title", " Version v" + A.S(version) + " of scadnano, located at https://scadnano.org/v" + A.S(version) + "/index.html."], t3, t3); + t6 = A.S(version); + t7 = first ? " (current version)" : ""; + B.JSArray_methods.add$1(version_dropdown_items, t4.call$2(t5, "v" + t6 + t7)); } t1 = $.$get$NavDropdown(); - t2 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Help", "id", "help-nav-dropdown"], t4, t4); - t3 = $.$get$DropdownItem(); - t5 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano#readme", "target", "_blank"], t4, t4), "help (web interface)"); - t6 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/blob/main/tutorial/tutorial.md", "target", "_blank"], t4, t4), "tutorial (web interface)"); - t7 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package#readme", "target", "_blank"], t4, t4), "help (Python scripting)"); - t8 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/blob/main/tutorial/tutorial.md", "target", "_blank"], t4, t4), "tutorial (Python scripting)"); - t9 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io", "target", "_blank"], t4, t4), "Python scripting API"); - t10 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/issues", "target", "_blank", "title", 'To file a bug report or feature request for the scadnano web interface, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including screenshots if applicable, and a copy of the .sc file \nthat caused the error, and an exact description of the steps needed to\nhelp us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t4, t4), "Bug report/feature request (web interface)"); - t11 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues", "target", "_blank", "title", 'To file a bug report or feature request for the Python scripting library, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano-python-package Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including a copy of the .sc file that caused the error, and an \nexact description of the steps needed to help us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t4, t4), "Bug report/feature request (Python scripting)"); - t12 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/releases", "target", "_blank"], t4, t4), "Release notes (web interface)"); - t13 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/releases", "target", "_blank"], t4, t4), "Release notes (Python scripting)"); - t14 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); - t15 = J.getInterceptor$x(t14); - t15.set$title(t14, "Other versions"); - t15.set$id(t14, "older-version-dropdown"); - J.$indexSet$ax(t15.get$props(t14), "MenuDropdownRightProps.disallow_overflow", true); - J.$indexSet$ax(t15.get$props(t14), "MenuDropdownRightProps.tooltip", 'Older versions of scadnano, as well as the newest development version.\n\nStarting from v0.12.1, every released (master branch) version of scadnano \nis deployed to https://scadnano.org/{version}. \n\nhttps://scadnano.org/dev is the newest version, containing newer features \n(those marked "closed in dev" on the scadnano issues page: \nhttps://github.com/UC-Davis-molecular-computing/scadnano/issues), \nbut it may be less stable than the current version.'); - t4 = t14.call$1([t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/dev", "target", "_blank", "key", "dev", "title", "Development version of scadnano, located at https://scadnano.org/dev.\n\nThis site is updated more frequently than the main site at https://scadnano.org.\n\nThis includes open issues that have been handled in the dev branch but not the main branch:\nhttps://github.com/UC-Davis-molecular-computing/scadnano/labels/closed%20in%20dev\n\nHowever, it may be less stable than the main site."], t4, t4), "dev"), version_dropdown_items]); - t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t3.set$on_click(new D.MenuComponent_help_menu_closure()); - J.set$display$z(t3, "About"); - return t1.call$12(t2, t5, t6, t7, t8, t9, t10, t11, t12, t13, t4, t3.call$0()); - }, - load_example_dialog$0: function() { + t2 = A.LinkedHashMap_LinkedHashMap$_literal(["title", "Help", "id", "help-nav-dropdown"], t3, t3); + t4 = $.$get$DropdownItem(); + t5 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano#readme", "target", "_blank"], t3, t3), "help (web interface)"); + t6 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/blob/main/tutorial/tutorial.md", "target", "_blank"], t3, t3), "tutorial (web interface)"); + t7 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package#readme", "target", "_blank"], t3, t3), "help (Python scripting)"); + t8 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/blob/main/tutorial/tutorial.md", "target", "_blank"], t3, t3), "tutorial (Python scripting)"); + t9 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io", "target", "_blank"], t3, t3), "Python scripting API"); + t10 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/issues", "target", "_blank", "title", 'To file a bug report or feature request for the scadnano web interface, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including screenshots if applicable, and a copy of the .sc file \nthat caused the error, and an exact description of the steps needed to\nhelp us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t3, t3), "Bug report/feature request (web interface)"); + t11 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues", "target", "_blank", "title", 'To file a bug report or feature request for the Python scripting library, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano-python-package Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including a copy of the .sc file that caused the error, and an \nexact description of the steps needed to help us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t3, t3), "Bug report/feature request (Python scripting)"); + t12 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/releases", "target", "_blank"], t3, t3), "Release notes (web interface)"); + t13 = t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/releases", "target", "_blank"], t3, t3), "Release notes (Python scripting)"); + t14 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t14.set$title_("Other versions"); + t14.set$id_("older-version-dropdown"); + t14.set$disallow_overflow(true); + t14.set$tooltip('Older versions of scadnano, as well as the newest development version.\n\nStarting from v0.12.1, every released (master branch) version of scadnano \nis deployed to https://scadnano.org/{version}. \n\nhttps://scadnano.org/dev is the newest version, containing newer features \n(those marked "closed in dev" on the scadnano issues page: \nhttps://github.com/UC-Davis-molecular-computing/scadnano/issues), \nbut it may be less stable than the current version.'); + t3 = t14.call$1(A._setArrayType([t4.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/dev", "target", "_blank", "key", "dev", "title", "Development version of scadnano, located at https://scadnano.org/dev.\n\nThis site is updated more frequently than the main site at https://scadnano.org.\n\nThis includes open issues that have been handled in the dev branch but not the main branch:\nhttps://github.com/UC-Davis-molecular-computing/scadnano/labels/closed%20in%20dev\n\nHowever, it may be less stable than the main site."], t3, t3), "dev"), version_dropdown_items], type$.JSArray_Object)); + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new A.MenuComponent_help_menu_closure()); + J.set$display$z(t4, "About"); + return t1.call$12(t2, t5, t6, t7, t8, t9, t10, t11, t12, t13, t3, t4.call$0()); + }, + load_example_dialog$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, results, selected_idx, t1; - var $async$load_example_dialog$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$load_example_dialog$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start - t1 = $async$self._menu$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "MenuPropsMixin.example_designs"); - if (t1 == null) - t1 = null; + t1 = $async$self.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogRadio_DialogRadio("designs", null, type$.legacy_ExampleDesigns._as(t1).filenames, true, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Load example DNA design", C.DialogType_load_example_dna_design, true)), $async$load_example_dialog$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogRadio_DialogRadio("designs", null, t1.get$state(t1).ui_state.example_designs.filenames, true, 0, "")], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "Load example DNA design", B.DialogType_load_example_dna_design, true)), $async$load_example_dialog$0); case 3: // returning from await. results = $async$result; @@ -145546,1828 +146896,1771 @@ $async$goto = 1; break; } - selected_idx = type$.legacy_DialogRadio._as(J.$index$asx(results, 0)).selected_idx; - $async$self._menu$_cachedTypedProps.dispatch$1(U._$ExampleDesignsLoad$_(selected_idx)); + selected_idx = type$.DialogRadio._as(J.$index$asx(results, 0)).selected_idx; + $.__app._readField$0().dispatch$1(A._$ExampleDesignsLoad$_(selected_idx)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$load_example_dialog$0, $async$completer); + return A._asyncStartSync($async$load_example_dialog$0, $async$completer); } }; - D.MenuComponent_file_menu_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$load_example_dialog(), type$.void); + A.MenuComponent_no_grid_is_none_closure.prototype = { + call$1(group) { + return type$.HelixGroup._as(group).grid !== B.Grid_none; }, - $signature: 58 + $signature: 518 + }; + A.MenuComponent_file_menu_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(this.$this.get$load_example_dialog(), type$.void); + }, + $signature: 60 }; - D.MenuComponent_file_menu_closure0.prototype = { - call$1: function(ext) { - return C.JSString_methods.$add(".", H._asStringS(ext)); + A.MenuComponent_file_menu_closure0.prototype = { + call$1(ext) { + return B.JSString_methods.$add(".", A._asStringS(ext)); }, $signature: 27 }; - D.MenuComponent_file_menu_closure1.prototype = { - call$1: function(e) { - return D.request_load_file_from_file_chooser(type$.legacy_FileUploadInputElement._as(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e))), D.menu__scadnano_file_loaded$closure()); + A.MenuComponent_file_menu_closure1.prototype = { + call$1(e) { + return A.request_load_file_from_file_chooser(type$.FileUploadInputElement._as(J.get$target$x(type$.SyntheticFormEvent._as(e))), A.menu__scadnano_file_loaded$closure()); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_closure2.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$SaveDNAFile__$SaveDNAFile()); + A.MenuComponent_file_menu_closure2.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$SaveDNAFile__$SaveDNAFile()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_file_menu_closure3.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$WarnOnExitIfUnsavedSet$_(!H.boolConversionCheck(t1.get$warn_on_exit_if_unsaved()))); + A.MenuComponent_file_menu_closure3.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$WarnOnExitIfUnsavedSet$_(!t2.get$state(t2).ui_state.storables.warn_on_exit_if_unsaved)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_closure4.prototype = { - call$1: function(e) { - return D.request_load_file_from_file_chooser(type$.legacy_FileUploadInputElement._as(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e))), D.menu__cadnano_file_loaded$closure()); + A.MenuComponent_file_menu_closure4.prototype = { + call$1(e) { + return A.request_load_file_from_file_chooser(type$.FileUploadInputElement._as(J.get$target$x(type$.SyntheticFormEvent._as(e))), A.menu__cadnano_file_loaded$closure()); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_closure5.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - if (H.boolConversionCheck(C.Window_methods.confirm$1(window, "WARNING! This will reset all local settings stored in your browser, \nincluding the current design.\n\nAre you sure you want to continue?"))) - this.$this._menu$_cachedTypedProps.dispatch$1(new U._$ResetLocalStorage()); + A.MenuComponent_file_menu_closure5.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + if (A.boolConversionCheck(B.Window_methods.confirm$1(window, "WARNING! This will reset all local settings stored in your browser, \nincluding the current design.\n\nAre you sure you want to continue?"))) + $.__app._readField$0().dispatch$1(new A._$ResetLocalStorage()); }, - $signature: 17 + $signature: 15 }; - D.MenuComponent_file_menu_closure6.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ClearHelixSelectionWhenLoadingNewDesignSet$_(!H.boolConversionCheck(t1.get$clear_helix_selection_when_loading_new_design()))); + A.MenuComponent_file_menu_closure6.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ClearHelixSelectionWhenLoadingNewDesignSet$_(!t2.get$state(t2).ui_state.storables.clear_helix_selection_when_loading_new_design)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_save_design_local_storage_options_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_on_edit$0())); + A.MenuComponent_file_menu_save_design_local_storage_options_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(t2).ui_state.storables.local_storage_design_choice.to_on_edit$0())); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_save_design_local_storage_options_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_on_exit$0())); + A.MenuComponent_file_menu_save_design_local_storage_options_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(t2).ui_state.storables.local_storage_design_choice.to_on_exit$0())); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_save_design_local_storage_options_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_never$0())); + A.MenuComponent_file_menu_save_design_local_storage_options_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(t2).ui_state.storables.local_storage_design_choice.to_never$0())); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_save_design_local_storage_options_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_periodic$0())); + A.MenuComponent_file_menu_save_design_local_storage_options_closure2.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(t2).ui_state.storables.local_storage_design_choice.to_periodic$0())); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_file_menu_save_design_local_storage_options_closure3.prototype = { - call$1: function(period) { - H._asNumS(period); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$LocalStorageDesignChoiceSet$_(Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_periodic, H._asIntS(period)))); + A.MenuComponent_file_menu_save_design_local_storage_options_closure3.prototype = { + call$1(period) { + A._asNumS(period); + return $.__app._readField$0().dispatch$1(A._$LocalStorageDesignChoiceSet$_(A.LocalStorageDesignChoice_LocalStorageDesignChoice(B.LocalStorageDesignOption_periodic, J.toInt$0$n(period)))); }, - $signature: 30 + $signature: 35 }; - D.MenuComponent_edit_menu_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$DynamicHelixUpdateSet$_(!H.boolConversionCheck(t1.get$dynamically_update_helices()))); + A.MenuComponent_edit_menu_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$DynamicHelixUpdateSet$_(!t2.get$state(t2).ui_state.storables.dynamically_update_helices)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_edit_menu_closure0.prototype = { - call$1: function(_) { + A.MenuComponent_edit_menu_closure0.prototype = { + call$1(_) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - type$.legacy_void_Function_legacy_InlineInsertionsDeletionsBuilder._as(null); - return t1.dispatch$1(new U.InlineInsertionsDeletionsBuilder().build$0()); + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_InlineInsertionsDeletionsBuilder._as(null); + return t1.dispatch$1(new A.InlineInsertionsDeletionsBuilder()._build$0()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_closure1.prototype = { - call$1: function(_) { + A.MenuComponent_edit_menu_closure1.prototype = { + call$1(_) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - type$.legacy_void_Function_legacy_JoinStrandsByMultipleCrossoversBuilder._as(null); - return t1.dispatch$1(new U.JoinStrandsByMultipleCrossoversBuilder().build$0()); + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_JoinStrandsByMultipleCrossoversBuilder._as(null); + return t1.dispatch$1(new A.JoinStrandsByMultipleCrossoversBuilder()._build$0()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_closure2.prototype = { - call$1: function(_) { + A.MenuComponent_edit_menu_closure2.prototype = { + call$1(_) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return D.ask_for_geometry(t1.get$geometry(t1)); + type$.SyntheticMouseEvent._as(_); + t1 = this.$this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$state(t1).maybe_design; + return A.ask_for_geometry(t1 == null ? null : t1.geometry); }, - $signature: 58 + $signature: 60 }; - D.MenuComponent_edit_menu_closure3.prototype = { - call$1: function(_) { + A.MenuComponent_edit_menu_closure3.prototype = { + call$1(_) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = $.app; - type$.legacy_void_Function_legacy_AutostapleBuilder._as(null); - return t1.dispatch$1(new U.AutostapleBuilder().build$0()); + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_AutostapleBuilder._as(null); + return t1.dispatch$1(new A.AutostapleBuilder()._build$0()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_closure4.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return D.ask_for_autobreak_parameters(); + A.MenuComponent_edit_menu_closure4.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return A.ask_for_autobreak_parameters(); }, - $signature: 58 + $signature: 60 }; - D.MenuComponent_undo_dropdowns_closure.prototype = { - call$1: function(i) { - return U.Undo_Undo(i); + A.MenuComponent_undo_dropdowns_closure.prototype = { + call$1(i) { + return A.Undo_Undo(i); }, - $signature: 512 + $signature: 521 }; - D.MenuComponent_redo_dropdowns_closure.prototype = { - call$1: function(i) { - return U.Redo_Redo(i); + A.MenuComponent_redo_dropdowns_closure.prototype = { + call$1(i) { + return A.Redo_Redo(i); }, - $signature: 513 + $signature: 522 }; - D.MenuComponent_undo_or_redo_dropdown_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.dispatch$1(this.undo_or_redo_action_creator.call$1(this.num_times)); + A.MenuComponent_undo_or_redo_dropdown_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(this.undo_or_redo_action_creator.call$1(this.num_times)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_copy_paste_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - if (H.boolConversionCheck(this.$this._menu$_cachedTypedProps.get$enable_copy())) - window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 67).wrapped); + A.MenuComponent_edit_menu_copy_paste_closure.prototype = { + call$1(_) { + var t1; + type$.SyntheticMouseEvent._as(_); + t1 = this.$this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isNotEmpty(t1)) + window.dispatchEvent(A.KeyEvent_KeyEvent("keydown", true, 67).wrapped); }, - $signature: 17 + $signature: 15 }; - D.MenuComponent_edit_menu_copy_paste_closure0.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - if (H.boolConversionCheck(this.$this._menu$_cachedTypedProps.get$enable_copy())) - $.app.dispatch$1(U._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); + A.MenuComponent_edit_menu_copy_paste_closure0.prototype = { + call$1(_) { + var t1; + type$.SyntheticMouseEvent._as(_); + t1 = this.$this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isNotEmpty(t1)) + $.__app._readField$0().dispatch$1(A._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); }, - $signature: 17 + $signature: 15 }; - D.MenuComponent_edit_menu_copy_paste_closure1.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 86).wrapped); + A.MenuComponent_edit_menu_copy_paste_closure1.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return window.dispatchEvent(A.KeyEvent_KeyEvent("keydown", true, 86).wrapped); }, - $signature: 160 + $signature: 144 }; - D.MenuComponent_edit_menu_copy_paste_closure2.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return U.paste_strands_auto(); + A.MenuComponent_edit_menu_copy_paste_closure2.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return A.paste_strands_auto(); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_copy_paste_closure3.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 65).wrapped); + A.MenuComponent_edit_menu_copy_paste_closure3.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return window.dispatchEvent(A.KeyEvent_KeyEvent("keydown", true, 65).wrapped); }, - $signature: 160 + $signature: 144 }; - D.MenuComponent_edit_menu_copy_paste_closure4.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U.SelectAllSelectable_SelectAllSelectable(true)); + A.MenuComponent_edit_menu_copy_paste_closure4.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A.SelectAllSelectable_SelectAllSelectable(true)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_copy_paste_closure5.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.disable_keyboard_shortcuts_while$1$1(E.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); + A.MenuComponent_edit_menu_copy_paste_closure5.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(A.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); }, - $signature: 58 + $signature: 60 }; - D.MenuComponent_edit_menu_copy_paste_closure6.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$SelectionBoxIntersectionRuleSet$_(!H.boolConversionCheck(t1.get$selection_box_intersection()))); + A.MenuComponent_edit_menu_copy_paste_closure6.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$SelectionBoxIntersectionRuleSet$_(!t2.get$state(t2).ui_state.storables.selection_box_intersection)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_edit_menu_copy_paste_closure7.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$StrandPasteKeepColorSet$_(!H.boolConversionCheck(t1.get$strand_paste_keep_color()))); + A.MenuComponent_edit_menu_copy_paste_closure7.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$StrandPasteKeepColorSet$_(!t2.get$state(t2).ui_state.storables.strand_paste_keep_color)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_edit_menu_helix_rolls_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$RelaxHelixRolls$_(false)); + A.MenuComponent_edit_menu_helix_rolls_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$RelaxHelixRolls$_(false)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_helix_rolls_closure0.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$RelaxHelixRolls$_(true)); + A.MenuComponent_edit_menu_helix_rolls_closure0.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$RelaxHelixRolls$_(true)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_helix_rolls_closure1.prototype = { - call$1: function(_) { + A.MenuComponent_edit_menu_helix_rolls_closure1.prototype = { + call$1(_) { var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - type$.legacy_void_Function_legacy_HelicesPositionsSetBasedOnCrossoversBuilder._as(null); - return t1.dispatch$1(new U.HelicesPositionsSetBasedOnCrossoversBuilder().build$0()); + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + type$.nullable_void_Function_HelicesPositionsSetBasedOnCrossoversBuilder._as(null); + return t1.dispatch$1(new A.HelicesPositionsSetBasedOnCrossoversBuilder()._build$0()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_edit_menu_helix_rolls_closure2.prototype = { - call$1: function(_) { - var t1, t2; - type$.legacy_SyntheticFormEvent._as(_); + A.MenuComponent_edit_menu_helix_rolls_closure2.prototype = { + call$1(_) { + var t1, t2, t3; + type$.SyntheticFormEvent._as(_); t1 = this.$this; - if (H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls())) { - t2 = t1._menu$_cachedTypedProps; - t2.dispatch$1(U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(!H.boolConversionCheck(t2.get$default_crossover_type_scaffold_for_setting_helix_rolls()), t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls())); + t2 = t1.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$state(t2).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls) { + t2 = $.__app._readField$0(); + t3 = t1.___$MenuComponent__cachedTypedProps_A; + t3 = t3.get$state(t3).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls; + t1 = t1.___$MenuComponent__cachedTypedProps_A; + t2.dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(!t3, t1.get$state(t1).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); } }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_edit_menu_helix_rolls_closure3.prototype = { - call$1: function(_) { - var t1, t2; - type$.legacy_SyntheticFormEvent._as(_); + A.MenuComponent_edit_menu_helix_rolls_closure3.prototype = { + call$1(_) { + var t1, t2, t3; + type$.SyntheticFormEvent._as(_); t1 = this.$this; - if (H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_scaffold_for_setting_helix_rolls())) { - t2 = t1._menu$_cachedTypedProps; - t2.dispatch$1(U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t2.get$default_crossover_type_scaffold_for_setting_helix_rolls(), !H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls()))); + t2 = t1.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$state(t2).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls) { + t2 = $.__app._readField$0(); + t3 = t1.___$MenuComponent__cachedTypedProps_A; + t3 = t3.get$state(t3).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls; + t1 = t1.___$MenuComponent__cachedTypedProps_A; + t2.dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t3, !t1.get$state(t1).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); } }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_autofit_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); + A.MenuComponent_view_menu_autofit_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); self.fit_and_center(); - $.app.dispatch$1(U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(true)); - }, - $signature: 17 - }; - D.MenuComponent_view_menu_autofit_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$AutofitSet$_(!H.boolConversionCheck(t1.get$autofit()))); + $.__app._readField$0().dispatch$1(A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(true)); }, - $signature: 5 + $signature: 15 }; - D.MenuComponent_view_menu_warnings_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ShowMismatchesSet_ShowMismatchesSet(!H.boolConversionCheck(t1.get$show_mismatches()))); + A.MenuComponent_view_menu_autofit_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$AutofitSet$_(!t2.get$state(t2).ui_state.storables.autofit)); }, - $signature: 10 + $signature: 4 }; - D.MenuComponent_view_menu_warnings_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet(!H.boolConversionCheck(t1.get$show_domain_name_mismatches()))); + A.MenuComponent_view_menu_warnings_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ShowMismatchesSet_ShowMismatchesSet(!t2.get$state(t2).ui_state.storables.show_mismatches)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_warnings_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet(!H.boolConversionCheck(t1.get$show_unpaired_insertion_deletions()))); + A.MenuComponent_view_menu_warnings_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet(!t2.get$state(t2).ui_state.storables.show_domain_name_mismatches)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_show_labels_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowStrandNamesSet_ShowStrandNamesSet(!H.boolConversionCheck(t1.get$show_strand_names()))); + A.MenuComponent_view_menu_warnings_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet(!t2.get$state(t2).ui_state.storables.show_unpaired_insertion_deletions)); }, - $signature: 5 + $signature: 8 }; - D.MenuComponent_view_menu_show_labels_closure0.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$StrandNameFontSizeSet$_(font_size)); + A.MenuComponent_view_menu_show_labels_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowStrandNamesSet_ShowStrandNamesSet(!t2.get$state(t2).ui_state.storables.show_strand_names)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_show_labels_closure1.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_show_labels_closure0.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowStrandLabelsSet_ShowStrandLabelsSet(!H.boolConversionCheck(t1.get$show_strand_labels()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A._$StrandNameFontSizeSet$_(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_show_labels_closure2.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$StrandLabelFontSizeSet$_(font_size)); + A.MenuComponent_view_menu_show_labels_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowStrandLabelsSet_ShowStrandLabelsSet(!t2.get$state(t2).ui_state.storables.show_strand_labels)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_show_labels_closure3.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_show_labels_closure2.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowDomainNamesSet_ShowDomainNamesSet(!H.boolConversionCheck(t1.get$show_domain_names()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A._$StrandLabelFontSizeSet$_(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_show_labels_closure4.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$DomainNameFontSizeSet$_(font_size)); + A.MenuComponent_view_menu_show_labels_closure3.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowDomainNamesSet_ShowDomainNamesSet(!t2.get$state(t2).ui_state.storables.show_domain_names)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_show_labels_closure5.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_show_labels_closure4.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowDomainLabelsSet_ShowDomainLabelsSet(!H.boolConversionCheck(t1.get$show_domain_labels()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A._$DomainNameFontSizeSet$_(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_show_labels_closure6.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$DomainLabelFontSizeSet$_(font_size)); + A.MenuComponent_view_menu_show_labels_closure5.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowDomainLabelsSet_ShowDomainLabelsSet(!t2.get$state(t2).ui_state.storables.show_domain_labels)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_mods_closure.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_show_labels_closure6.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowModificationsSet_ShowModificationsSet(!H.boolConversionCheck(t1.get$show_modifications()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A._$DomainLabelFontSizeSet$_(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_mods_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.SetModificationDisplayConnector_SetModificationDisplayConnector(!H.boolConversionCheck(t1.get$modification_display_connector()))); + A.MenuComponent_view_menu_mods_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowModificationsSet_ShowModificationsSet(!t2.get$state(t2).ui_state.storables.show_modifications)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_mods_closure1.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U.ModificationFontSizeSet_ModificationFontSizeSet(font_size)); + A.MenuComponent_view_menu_mods_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.SetModificationDisplayConnector_SetModificationDisplayConnector(!t2.get$state(t2).ui_state.storables.modification_display_connector)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_helices_closure.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_mods_closure1.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices(!H.boolConversionCheck(t1.get$only_display_selected_helices()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A.ModificationFontSizeSet_ModificationFontSizeSet(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_helices_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowHelixComponentsMainViewSet$_(!H.boolConversionCheck(t1.get$show_helix_components_main_view()))); + A.MenuComponent_view_menu_helices_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices(!t2.get$state(t2).ui_state.storables.only_display_selected_helices)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_helices_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowHelixCirclesMainViewSet$_(!H.boolConversionCheck(t1.get$show_helix_circles_main_view()))); + A.MenuComponent_view_menu_helices_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowHelixComponentsMainViewSet$_(!t2.get$state(t2).ui_state.storables.show_helix_components_main_view)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_helices_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowGridCoordinatesSideViewSet$_(!H.boolConversionCheck(t1.get$show_grid_coordinates_side_view()))); + A.MenuComponent_view_menu_helices_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowHelixCirclesMainViewSet$_(!t2.get$state(t2).ui_state.storables.show_helix_circles_main_view)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet(!H.boolConversionCheck(t1.get$display_of_major_ticks_offsets()))); + A.MenuComponent_view_menu_helices_closure2.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowGridCoordinatesSideViewSet$_(!t2.get$state(t2).ui_state.storables.show_grid_coordinates_side_view)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(!H.boolConversionCheck(t1.get$display_base_offsets_of_major_ticks_only_first_helix()))); + A.MenuComponent_view_menu_display_major_ticks_options_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet(!t2.get$state(t2).ui_state.storables.display_base_offsets_of_major_ticks)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure1.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet(font_size)); + A.MenuComponent_view_menu_display_major_ticks_options_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(!t2.get$state(t2).ui_state.storables.display_base_offsets_of_major_ticks_only_first_helix)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure2.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_display_major_ticks_options_closure1.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths(!H.boolConversionCheck(t1.get$display_major_tick_widths()))); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet(font_size)); }, - $signature: 5 + $signature: 35 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure3.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices(!H.boolConversionCheck(t1.get$display_major_tick_widths_all_helices()))); + A.MenuComponent_view_menu_display_major_ticks_options_closure2.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths(!t2.get$state(t2).ui_state.storables.display_major_tick_widths)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_display_major_ticks_options_closure4.prototype = { - call$1: function(font_size) { - H._asNumS(font_size); - return this.$this._menu$_cachedTypedProps.dispatch$1(U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet(font_size)); + A.MenuComponent_view_menu_display_major_ticks_options_closure3.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices(!t2.get$state(t2).ui_state.storables.display_major_tick_widths_all_helices)); }, - $signature: 30 + $signature: 4 }; - D.MenuComponent_view_menu_base_pairs_closure.prototype = { - call$1: function(_) { + A.MenuComponent_view_menu_display_major_ticks_options_closure4.prototype = { + call$1(font_size) { var t1; - type$.legacy_SyntheticFormEvent._as(_); + A._asNumS(font_size); + t1 = $.__app._readField$0(); + font_size.toString; + return t1.dispatch$1(A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet(font_size)); + }, + $signature: 35 + }; + A.MenuComponent_view_menu_base_pairs_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); t1 = this.$this; - if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_lines) - t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_none.toIndex$0())); - else if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_none) - t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_lines.toIndex$0())); + t2 = t1.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$state(t2).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_lines) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_none.toIndex$0())); + else { + t1 = t1.___$MenuComponent__cachedTypedProps_A; + if (t1.get$state(t1).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_none) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_lines.toIndex$0())); + } }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_base_pairs_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); + A.MenuComponent_view_menu_base_pairs_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); t1 = this.$this; - if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_rectangle) - t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_none.toIndex$0())); - else if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_none) - t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_rectangle.toIndex$0())); + t2 = t1.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t2.get$state(t2).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_rectangle) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_none.toIndex$0())); + else { + t1 = t1.___$MenuComponent__cachedTypedProps_A; + if (t1.get$state(t1).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_none) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_rectangle.toIndex$0())); + } }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_base_pairs_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowBasePairLinesWithMismatchesSet$_(!H.boolConversionCheck(t1.get$show_base_pair_lines_with_mismatches()))); + A.MenuComponent_view_menu_base_pairs_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowBasePairLinesWithMismatchesSet$_(!t2.get$state(t2).ui_state.storables.show_base_pair_lines_with_mismatches)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_dna_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.ShowDNASet_ShowDNASet(!H.boolConversionCheck(t1.get$show_dna()))); + A.MenuComponent_view_menu_dna_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.ShowDNASet_ShowDNASet(!t2.get$state(t2).ui_state.storables.show_dna)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_dna_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet(!H.boolConversionCheck(t1.get$display_reverse_DNA_right_side_up()))); + A.MenuComponent_view_menu_dna_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet(!t2.get$state(t2).ui_state.storables.display_reverse_DNA_right_side_up)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_show_oxview_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.OxviewShowSet_OxviewShowSet(!H.boolConversionCheck(t1.get$show_oxview()))); + A.MenuComponent_view_menu_show_oxview_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.OxviewShowSet_OxviewShowSet(!t2.get$state(t2).ui_state.storables.show_oxview)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_zoom_speed_closure.prototype = { - call$1: function(new_zoom_speed) { - H._asNumS(new_zoom_speed); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ZoomSpeedSet$_(new_zoom_speed)); + A.MenuComponent_view_menu_zoom_speed_closure.prototype = { + call$1(new_zoom_speed) { + A._asNumS(new_zoom_speed); + return $.__app._readField$0().dispatch$1(A._$ZoomSpeedSet$_(new_zoom_speed)); }, - $signature: 30 + $signature: 35 }; - D.MenuComponent_view_menu_misc_closure.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$InvertYSet$_(!H.boolConversionCheck(t1.get$invert_y()))); + A.MenuComponent_view_menu_misc_closure.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$InvertYSet$_(!t2.get$state(t2).ui_state.storables.invert_y)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_misc_closure0.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowAxisArrowsSet$_(!H.boolConversionCheck(t1.get$show_helices_axis_arrows()))); + A.MenuComponent_view_menu_misc_closure0.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowAxisArrowsSet$_(!t2.get$state(t2).ui_state.storables.show_helices_axis_arrows)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_misc_closure1.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U._$ShowLoopoutExtensionLengthSet$_(!H.boolConversionCheck(t1.get$show_loopout_extension_length()))); + A.MenuComponent_view_menu_misc_closure1.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$ShowLoopoutExtensionLengthSet$_(!t2.get$state(t2).ui_state.storables.show_loopout_extension_length)); }, - $signature: 5 + $signature: 4 }; - D.MenuComponent_view_menu_misc_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ShowSliceBarSet_ShowSliceBarSet(!H.boolConversionCheck(t1.get$show_slice_bar()))); + A.MenuComponent_view_menu_misc_closure2.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ShowSliceBarSet_ShowSliceBarSet(!t2.get$state(t2).ui_state.storables.show_slice_bar)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_misc_closure3.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ShowMouseoverDataSet_ShowMouseoverDataSet(!H.boolConversionCheck(t1.get$show_mouseover_data()))); + A.MenuComponent_view_menu_misc_closure3.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ShowMouseoverDataSet_ShowMouseoverDataSet(!t2.get$state(t2).ui_state.storables.show_mouseover_data)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_misc_closure4.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet(!H.boolConversionCheck(t1.get$disable_png_caching_dna_sequences()))); + A.MenuComponent_view_menu_misc_closure4.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet(!t2.get$state(t2).ui_state.storables.disable_png_caching_dna_sequences)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_view_menu_misc_closure5.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet(!H.boolConversionCheck(t1.get$retain_strand_color_on_selection()))); + A.MenuComponent_view_menu_misc_closure5.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet(!t2.get$state(t2).ui_state.storables.retain_strand_color_on_selection)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_export_menu_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_1)); + A.MenuComponent_export_menu_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$ExportSvg$_(B.ExportSvgType_1)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure0.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_0)); + A.MenuComponent_export_menu_closure0.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$ExportSvg$_(B.ExportSvgType_0)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure1.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_3)); + A.MenuComponent_export_menu_closure1.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$ExportSvg$_(B.ExportSvgType_3)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure2.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet(!H.boolConversionCheck(t1.get$export_svg_text_separately()))); + A.MenuComponent_export_menu_closure2.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet(!t2.get$state(t2).ui_state.storables.export_svg_text_separately)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_export_menu_closure3.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.disable_keyboard_shortcuts_while$1$1(F.export_dna_sequences__export_dna$closure(), type$.void); + A.MenuComponent_export_menu_closure3.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(A.export_dna_sequences__export_dna$closure(), type$.void); }, - $signature: 58 + $signature: 60 }; - D.MenuComponent_export_menu_closure4.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U.ExportCanDoDNA_ExportCanDoDNA()); + A.MenuComponent_export_menu_closure4.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A.ExportCanDoDNA_ExportCanDoDNA()); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure5.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportCadnanoFile$_(true)); + A.MenuComponent_export_menu_closure5.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$ExportCadnanoFile$_(true)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure6.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportCadnanoFile$_(false)); + A.MenuComponent_export_menu_closure6.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$ExportCadnanoFile$_(false)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure7.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.OxviewExport_OxviewExport(t1.get$ox_export_only_selected_strands())); + A.MenuComponent_export_menu_closure7.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.OxviewExport_OxviewExport(t2.get$state(t2).ui_state.storables.ox_export_only_selected_strands)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure8.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticMouseEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - return t1.dispatch$1(U.OxdnaExport_OxdnaExport(t1.get$ox_export_only_selected_strands())); + A.MenuComponent_export_menu_closure8.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticMouseEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A.OxdnaExport_OxdnaExport(t2.get$state(t2).ui_state.storables.ox_export_only_selected_strands)); }, - $signature: 3 + $signature: 2 }; - D.MenuComponent_export_menu_closure9.prototype = { - call$1: function(_) { - var t1; - type$.legacy_SyntheticFormEvent._as(_); - t1 = this.$this._menu$_cachedTypedProps; - t1.dispatch$1(U._$OxExportOnlySelectedStrandsSet$_(!H.boolConversionCheck(t1.get$ox_export_only_selected_strands()))); + A.MenuComponent_export_menu_closure9.prototype = { + call$1(_) { + var t1, t2; + type$.SyntheticFormEvent._as(_); + t1 = $.__app._readField$0(); + t2 = this.$this.___$MenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.dispatch$1(A._$OxExportOnlySelectedStrandsSet$_(!t2.get$state(t2).ui_state.storables.ox_export_only_selected_strands)); }, - $signature: 10 + $signature: 8 }; - D.MenuComponent_help_menu_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return C.Window_methods.alert$1(window, "scadnano version 0.19.5\n\nscadnano is a program for designing synthetic DNA structures such as DNA origami. \n\nscadnano is a standalone project developed and maintained by the UC Davis Molecular Computing group. Though similar in design, scadnano is distinct from cadnano (https://cadnano.org), which is developed and maintained by the Douglas lab (https://bionano.ucsf.edu/) at UCSF."); + A.MenuComponent_help_menu_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return B.Window_methods.alert$1(window, "scadnano version 0.19.5\n\nscadnano is a program for designing synthetic DNA structures such as DNA origami. \n\nscadnano is a standalone project developed and maintained by the UC Davis Molecular Computing group. Though similar in design, scadnano is distinct from cadnano (https://cadnano.org), which is developed and maintained by the Douglas lab (https://bionano.ucsf.edu/) at UCSF."); }, - $signature: 515 + $signature: 524 }; - D.request_load_file_from_file_chooser_closure.prototype = { - call$1: function(_) { - type$.legacy_ProgressEvent._as(_); + A.request_load_file_from_file_chooser_closure.prototype = { + call$1(_) { + type$.ProgressEvent._as(_); return this.onload_callback.call$2(this.file_reader, this.basefilename); }, - $signature: 82 + $signature: 51 }; - D.request_load_file_from_file_chooser_closure0.prototype = { - call$1: function(_) { - type$.legacy_ProgressEvent._as(_); - return C.Window_methods.alert$1(window, this.err_msg); + A.request_load_file_from_file_chooser_closure0.prototype = { + call$1(_) { + type$.ProgressEvent._as(_); + return B.Window_methods.alert$1(window, this.err_msg); }, - $signature: 82 + $signature: 51 }; - D.$MenuComponentFactory_closure.prototype = { - call$0: function() { - return new D._$MenuComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + A.$MenuComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 517 + $signature: 525 }; - D._$$MenuProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuComponentFactory() : t1; - }, - $isMenuProps: 1 + } }; - D._$$MenuProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuProps$PlainMap.prototype = { + get$props(_) { return this._menu$_props; } }; - D._$$MenuProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuProps$JsMap.prototype = { + get$props(_) { return this._menu$_props; } }; - D._$MenuComponent.prototype = { - get$props: function(_) { - return this._menu$_cachedTypedProps; + A._$MenuComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu$_cachedTypedProps = D._$$MenuProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuComponent__cachedTypedProps_A = A._$$MenuProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "Menu"; }, - get$$$defaultConsumedProps: function() { - return C.Map_iSA0t.get$values(C.Map_iSA0t); + get$$$defaultConsumedProps() { + return B.Map_wsU01.get$values(B.Map_wsU01); } }; - D.$MenuPropsMixin.prototype = { - get$selection_box_intersection: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrse); - return H._asBoolS(t1 == null ? null : t1); - }, - get$no_grid_is_none: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.no_grid_is_none"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_oxview: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_oxview"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_dna: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_dna"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_strand_names: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_strand_names"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_strand_labels: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_strand_labels"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_domain_names: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_domain_names"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_domain_labels: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_domain_labels"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_modifications: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_modifications"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$modification_display_connector: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrmo); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_mismatches: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_mismatches"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_domain_name_mismatches: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshd); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_unpaired_insertion_deletions: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshu); - return H._asBoolS(t1 == null ? null : t1); - }, - get$strand_paste_keep_color: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.strand_paste_keep_color"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$autofit: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.autofit"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$only_display_selected_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPron); - return H._asBoolS(t1 == null ? null : t1); - }, - get$base_pair_display_type: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.base_pair_display_type"); - if (t1 == null) - t1 = null; - return type$.legacy_BasePairDisplayType._as(t1); - }, - get$enable_copy: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.enable_copy"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$dynamically_update_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdy); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_base_pair_lines_with_mismatches: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshb); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_of_major_ticks_offsets: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipo); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_base_offsets_of_major_ticks_only_first_helix: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipb); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_major_tick_widths: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.display_major_tick_widths"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_major_tick_widths_all_helices: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipm); - return H._asBoolS(t1 == null ? null : t1); - }, - get$invert_y: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.invert_y"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$warn_on_exit_if_unsaved: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.warn_on_exit_if_unsaved"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_helix_circles_main_view: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshhi); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_helix_components_main_view: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshho); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_grid_coordinates_side_view: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshg); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_helices_axis_arrows: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_helices_axis_arrows"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_loopout_extension_length: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshl); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_mouseover_data: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_mouseover_data"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$disable_png_caching_dna_sequences: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdia); - return H._asBoolS(t1 == null ? null : t1); - }, - get$retain_strand_color_on_selection: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrr); - return H._asBoolS(t1 == null ? null : t1); - }, - get$display_reverse_DNA_right_side_up: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipr); - return H._asBoolS(t1 == null ? null : t1); - }, - get$default_crossover_type_scaffold_for_setting_helix_rolls: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdefc); - return H._asBoolS(t1 == null ? null : t1); - }, - get$default_crossover_type_staple_for_setting_helix_rolls: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdeft); - return H._asBoolS(t1 == null ? null : t1); - }, - get$export_svg_text_separately: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPre); - return H._asBoolS(t1 == null ? null : t1); - }, - get$ox_export_only_selected_strands: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuProx); - return H._asBoolS(t1 == null ? null : t1); - }, - get$local_storage_design_choice: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrl); + A.$MenuProps.prototype = { + get$state(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuProps.state"); if (t1 == null) t1 = null; - return type$.legacy_LocalStorageDesignChoice._as(t1); + return type$.AppState._as(t1); }, - get$clear_helix_selection_when_loading_new_design: function() { - var t1 = J.$index$asx(this.get$props(this), string$.MenuPrc); - return H._asBoolS(t1 == null ? null : t1); - }, - get$show_slice_bar: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_slice_bar"); - return H._asBoolS(t1 == null ? null : t1); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - }, - get$undo_redo: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.undo_redo"); - if (t1 == null) - t1 = null; - return type$.legacy_UndoRedo._as(t1); + set$state(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuProps.state", value); } }; - D._MenuComponent_UiComponent2_RedrawCounterMixin.prototype = { - componentDidUpdate$3: function(_, __, ___) { - var t1, _this = this; - _this.super$Component2$componentDidUpdate(_, __, ___); - t1 = ++_this.RedrawCounterMixin_redrawCount; - if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) - return; - _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); - _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + A.__$$MenuProps_UiProps_MenuProps.prototype = {}; + A.__$$MenuProps_UiProps_MenuProps_$MenuProps.prototype = {}; + A.MenuBooleanProps.prototype = { + get$value(_) { + var t1 = this.MenuBooleanProps___MenuBooleanProps_value_A; + t1 === $ && A.throwLateFieldNI("value"); + return t1; }, - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); - } - }; - D.__$$MenuProps_UiProps_MenuPropsMixin.prototype = { - get$geometry: function(receiver) { - return this.MenuPropsMixin_geometry; - } - }; - D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin.prototype = {}; - D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin.prototype = {}; - D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; - Z.MenuBooleanPropsMixin.prototype = { - set$value: function(_, value) { - this.MenuBooleanPropsMixin_value = H._asBoolS(value); + set$value(_, value) { + this.MenuBooleanProps___MenuBooleanProps_value_A = value; }, - get$value: function(receiver) { - return this.MenuBooleanPropsMixin_value; - } + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1 }; - Z.MenuBooleanComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + A.MenuBooleanComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); t1.set$hide(false); + t1.set$tooltip(""); return t1; }, - render$0: function(_) { + render$0(_) { var $name, t2, t3, t4, t5, t6, _this = this, _null = null, - t1 = _this._menu_boolean$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "MenuBooleanPropsMixin.hide"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "MenuBooleanProps.hide"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) return _null; - t1 = _this._menu_boolean$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "MenuBooleanPropsMixin.name"); - $name = H._asStringS(t1 == null ? _null : t1); + t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "MenuBooleanProps.name"); + $name = A._asStringQ(t1 == null ? _null : t1); if ($name == null) { - t1 = _this._menu_boolean$_cachedTypedProps; + t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; t1 = t1.get$display(t1).toLowerCase(); - $name = H.stringReplaceAllUnchecked(t1, " ", "-"); + $name = A.stringReplaceAllUnchecked(t1, " ", "-"); } t1 = A.DomProps$($.$get$span(), _null); t1.set$className(0, "menu-item menu-item-bool-input"); t1.set$id(0, $name + "-span"); - t2 = type$.legacy_String; + t2 = type$.String; t3 = type$.dynamic; - t4 = type$.legacy_Map_of_legacy_String_and_dynamic; - t1.set$_raw$DomProps$style(t4._as(P.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t2, t3))); + t4 = type$.nullable_Map_String_dynamic; + t1.set$_raw$DomProps$style(t4._as(A.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t2, t3))); t5 = A.DomProps$($.$get$label(), _null); - t6 = _this._menu_boolean$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, "MenuBooleanPropsMixin.tooltip"); - t5.set$title(0, H._asStringS(t6 == null ? _null : t6)); + t6 = _this.___$MenuBooleanComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, "MenuBooleanProps.tooltip"); + t5.set$title(0, A._asStringS(t6 == null ? _null : t6)); t6 = A.DomProps$($.$get$input(), _null); - t6.set$_raw$DomProps$style(t4._as(P.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em"], t2, t3))); - t3 = _this._menu_boolean$_cachedTypedProps; + t6.set$_raw$DomProps$style(t4._as(A.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em"], t2, t3))); + t3 = _this.___$MenuBooleanComponent__cachedTypedProps_A; t6.set$checked(0, t3.get$value(t3)); - t3 = _this._menu_boolean$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "MenuBooleanPropsMixin.onChange"); + t3 = _this.___$MenuBooleanComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "MenuBooleanProps.on_change"); t2 = t3 == null ? _null : t3; - t6.set$onChange(0, type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(t2)); + t6.set$onChange(0, type$.dynamic_Function_SyntheticFormEvent._as(t2)); t6.set$type(0, "checkbox"); t6 = t6.call$0(); - t2 = _this._menu_boolean$_cachedTypedProps; + t2 = _this.___$MenuBooleanComponent__cachedTypedProps_A; return t1.call$1(t5.call$2(t6, t2.get$display(t2))); } }; - Z.$MenuBooleanComponentFactory_closure.prototype = { - call$0: function() { - return new Z._$MenuBooleanComponent(null); + A.$MenuBooleanComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuBooleanComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 518 + $signature: 526 }; - Z._$$MenuBooleanProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuBooleanProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuBooleanComponentFactory() : t1; } }; - Z._$$MenuBooleanProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuBooleanProps$PlainMap.prototype = { + get$props(_) { return this._menu_boolean$_props; } }; - Z._$$MenuBooleanProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuBooleanProps$JsMap.prototype = { + get$props(_) { return this._menu_boolean$_props; } }; - Z._$MenuBooleanComponent.prototype = { - get$props: function(_) { - return this._menu_boolean$_cachedTypedProps; + A._$MenuBooleanComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuBooleanComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_boolean$_cachedTypedProps = Z._$$MenuBooleanProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuBooleanComponent__cachedTypedProps_A = A._$$MenuBooleanProps$JsMap$(A.getBackingMap(value)); }, - typedPropsFactoryJs$1: function(backingMap) { - return Z._$$MenuBooleanProps$JsMap$(backingMap); + typedPropsFactoryJs$1(backingMap) { + return A._$$MenuBooleanProps$JsMap$(backingMap); }, - get$displayName: function(_) { + get$displayName(_) { return "MenuBoolean"; }, - get$$$defaultConsumedProps: function() { - return C.Map_PES8J.get$values(C.Map_PES8J); + get$$$defaultConsumedProps() { + return B.Map_EsMQR.get$values(B.Map_EsMQR); } }; - Z.$MenuBooleanPropsMixin.prototype = { - get$value: function(_) { - var t1 = J.$index$asx(this.get$props(this), "MenuBooleanPropsMixin.value"); - return H._asBoolS(t1 == null ? null : t1); + A.$MenuBooleanProps.prototype = { + get$value(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuBooleanProps.value"); + return A._asBoolS(t1 == null ? null : t1); }, - set$value: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.value", value); + set$value(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.value", value); }, - set$tooltip: function(value) { - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.tooltip", value); + get$display(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuBooleanProps.display"); + return A._asStringS(t1 == null ? null : t1); }, - get$display: function(_) { - var t1 = J.$index$asx(this.get$props(this), "MenuBooleanPropsMixin.display"); - return H._asStringS(t1 == null ? null : t1); + set$display(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.display", value); }, - set$display: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.display", value); + set$on_change(value) { + type$.dynamic_Function_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.on_change", value); }, - set$onChange: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.onChange", value); + set$name(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.name", value); }, - set$name: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.name", value); + set$hide(value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.hide", value); }, - set$hide: function(value) { - J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.hide", value); + set$tooltip(value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanProps.tooltip", value); } }; - Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin.prototype = { - set$value: function(_, value) { - this.MenuBooleanPropsMixin_value = H._asBoolS(value); - }, - get$value: function(receiver) { - return this.MenuBooleanPropsMixin_value; - } - }; - Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin.prototype = {}; - N.MenuDropdownItemPropsMixin.prototype = {}; - N.MenuDropdownItemComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + A.__$$MenuBooleanProps_UiProps_MenuBooleanProps.prototype = {}; + A.__$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps.prototype = {}; + A.MenuDropdownItemProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuDropdownItemComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); t1.set$disabled(0, false); t1.set$active(0, false); + t1.set$tooltip(""); return t1; }, - render$0: function(_) { + render$0(_) { var t3, t4, t5, dropdown_item, _this = this, _null = null, t1 = $.$get$DropdownItem(), - t2 = _this._menu_dropdown_item$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "MenuDropdownItemPropsMixin.active"); - t2 = H._asBoolS(t2 == null ? _null : t2); - t3 = _this._menu_dropdown_item$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "MenuDropdownItemPropsMixin.disabled"); - t3 = H._asBoolS(t3 == null ? _null : t3); - t4 = _this._menu_dropdown_item$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "MenuDropdownItemPropsMixin.on_click"); + t2 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$props(t2).$index(0, "MenuDropdownItemProps.active"); + t2 = A._asBoolS(t2 == null ? _null : t2); + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.disabled"); + t3 = A._asBoolS(t3 == null ? _null : t3); + t4 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, "MenuDropdownItemProps.on_click"); if (t4 == null) t4 = _null; t5 = type$.dynamic; - t5 = P.LinkedHashMap_LinkedHashMap$_literal(["active", t2, "disabled", t3, "onClick", type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(t4)], t5, t5); + t5 = A.LinkedHashMap_LinkedHashMap$_literal(["active", t2, "disabled", t3, "onClick", type$.dynamic_Function_SyntheticMouseEvent._as(t4)], t5, t5); t4 = A.DomProps$($.$get$span(), _null); - t3 = _this._menu_dropdown_item$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "MenuDropdownItemPropsMixin.display"); - t2 = t4.call$1(H._asStringS(t3 == null ? _null : t3)); - t3 = _this._menu_dropdown_item$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, string$.MenuDr); - dropdown_item = t1.call$3(t5, t2, H._asStringS(t3 == null ? _null : t3)); - if (_this._menu_dropdown_item$_cachedTypedProps.get$tooltip() == null) - return dropdown_item; - else { - t1 = A.DomProps$($.$get$span(), _null); - t1.set$title(0, _this._menu_dropdown_item$_cachedTypedProps.get$tooltip()); - return t1.call$1(dropdown_item); - } + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.display"); + t2 = t4.call$1(A._asStringS(t3 == null ? _null : t3)); + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.keyboard_shortcut"); + dropdown_item = t1.call$3(t5, t2, A._asStringQ(t3 == null ? _null : t3)); + t1 = A.DomProps$($.$get$span(), _null); + t2 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "MenuDropdownItemProps.tooltip"); + t1.set$title(0, A._asStringS(t2 == null ? _null : t2)); + return t1.call$1(dropdown_item); } }; - N.$MenuDropdownItemComponentFactory_closure.prototype = { - call$0: function() { - return new N._$MenuDropdownItemComponent(null); + A.$MenuDropdownItemComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuDropdownItemComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 519 + $signature: 527 }; - N._$$MenuDropdownItemProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuDropdownItemProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuDropdownItemComponentFactory() : t1; } }; - N._$$MenuDropdownItemProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuDropdownItemProps$PlainMap.prototype = { + get$props(_) { return this._menu_dropdown_item$_props; } }; - N._$$MenuDropdownItemProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuDropdownItemProps$JsMap.prototype = { + get$props(_) { return this._menu_dropdown_item$_props; } }; - N._$MenuDropdownItemComponent.prototype = { - get$props: function(_) { - return this._menu_dropdown_item$_cachedTypedProps; + A._$MenuDropdownItemComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuDropdownItemComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_dropdown_item$_cachedTypedProps = N._$$MenuDropdownItemProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuDropdownItemComponent__cachedTypedProps_A = A._$$MenuDropdownItemProps$JsMap$(A.getBackingMap(value)); }, - typedPropsFactoryJs$1: function(backingMap) { - return N._$$MenuDropdownItemProps$JsMap$(backingMap); + typedPropsFactoryJs$1(backingMap) { + return A._$$MenuDropdownItemProps$JsMap$(backingMap); }, - get$displayName: function(_) { + get$displayName(_) { return "MenuDropdownItem"; }, - get$$$defaultConsumedProps: function() { - return C.Map_FcoMM.get$values(C.Map_FcoMM); + get$$$defaultConsumedProps() { + return B.Map_woiCG.get$values(B.Map_woiCG); } }; - N.$MenuDropdownItemPropsMixin.prototype = { - set$display: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.display", value); + A.$MenuDropdownItemProps.prototype = { + set$display(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.display", value); }, - set$on_click: function(value) { - type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); - J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.on_click", value); + set$on_click(value) { + type$.dynamic_Function_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.on_click", value); }, - set$keyboard_shortcut: function(value) { - J.$indexSet$ax(this.get$props(this), string$.MenuDr, value); + set$keyboard_shortcut(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.keyboard_shortcut", value); }, - set$disabled: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.disabled", value); + set$disabled(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.disabled", value); }, - set$active: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.active", value); + set$active(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.active", value); }, - get$tooltip: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuDropdownItemPropsMixin.tooltip"); - return H._asStringS(t1 == null ? null : t1); - }, - set$tooltip: function(value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.tooltip", value); + set$tooltip(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemProps.tooltip", value); } }; - N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin.prototype = {}; - N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin.prototype = {}; - M.MenuDropdownRightProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - M.MenuDropdownRightState.prototype = {$isMap: 1}; - M.MenuDropdownRightComponent.prototype = { - get$initialState: function() { - var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})), - t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); - t1._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.HTML_element"] = F.DartValueWrapper_wrapIfNeeded(t2); + A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps.prototype = {}; + A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps.prototype = {}; + A.MenuDropdownRightProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuDropdownRightState.prototype = {$isMap: 1}; + A.MenuDropdownRightComponent.prototype = { + get$initialState() { + var t3, + t1 = this.typedStateFactoryJs$1(new A.JsBackedMap({})), + t2 = type$.Ref_nullable_DivElement; + t2 = t2._as(new A.Ref(self.React.createRef(), t2)); + t3 = t1._menu_dropdown_right$_state; + t3.jsObject["MenuDropdownRightState.HTML_element"] = A.DartValueWrapper_wrapIfNeeded(t2); t1.set$top(0, null); return t1; }, - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$tooltip(""); t1.set$disabled(0, false); + t1.set$disallow_overflow(false); return t1; }, - componentDidMount$0: function() { - var t1 = this._menu_dropdown_right$_cachedTypedState, - t2 = t1.get$HTML_element(); - t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).top; + componentDidMount$0() { + var t2, + t1 = this.___$MenuDropdownRightComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t2 = t1.get$HTML_element(); + t2 = t2.get$current(t2); + t2.toString; + t2 = J.getBoundingClientRect$0$x(t2).top; t2.toString; t1.set$top(0, t2); this.setState$1(0, t1); }, - render$0: function(_) { - var t3, t4, t5, t6, t7, t8, menu_dropdown_right, _this = this, _null = null, - has_shortcut = _this._menu_dropdown_right$_cachedTypedProps.get$keyboard_shortcut() != null, - t1 = A.DomProps$($.$get$span(), _null), - t2 = _this._menu_dropdown_right$_cachedTypedProps, - title_and_shortcut = H.setRuntimeTypeInfo([t1.call$1(t2.get$title(t2))], type$.JSArray_legacy_ReactElement); - if (has_shortcut) - C.JSArray_methods.add$1(title_and_shortcut, A.SvgProps$($.$get$text(), _null).call$1(_this._menu_dropdown_right$_cachedTypedProps.get$keyboard_shortcut())); - t1 = $.$get$DropdownButton(); - if (has_shortcut) - t2 = title_and_shortcut; - else { - t2 = _this._menu_dropdown_right$_cachedTypedProps; - t2 = t2.get$title(t2); + render$0(_) { + var has_shortcut, title_and_shortcut, t2, t3, t4, t5, t6, t7, t8, t9, menu_dropdown_right, _this = this, _null = null, + t1 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + has_shortcut = t1.get$keyboard_shortcut() != null; + title_and_shortcut = A._setArrayType([A.DomProps$($.$get$span(), _null).call$1(_this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$title_())], type$.JSArray_ReactElement); + if (has_shortcut) { + t1 = A.SvgProps$($.$get$text(), _null); + t2 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$keyboard_shortcut(); + t2.toString; + B.JSArray_methods.add$1(title_and_shortcut, t1.call$1(t2)); } - t3 = _this._menu_dropdown_right$_cachedTypedProps; - t3 = t3.get$props(t3).$index(0, "MenuDropdownRightProps.id"); - t3 = H._asStringS(t3 == null ? _null : t3); - t4 = _this._menu_dropdown_right$_cachedTypedProps; + t1 = $.$get$DropdownButton(); + t2 = has_shortcut ? title_and_shortcut : _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$title_(); + t3 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$id_(); + t4 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A; t4 = t4.get$props(t4).$index(0, "MenuDropdownRightProps.disabled"); - t4 = H._asBoolS(t4 == null ? _null : t4); - t5 = _this._menu_dropdown_right$_cachedTypedState.get$HTML_element(); - t6 = _this._menu_dropdown_right$_cachedTypedState; - if (t6.get$top(t6) != null) { - t6 = _this._menu_dropdown_right$_cachedTypedState; - t6 = H.S(t6.get$top(t6)) + "px"; - t7 = _this._menu_dropdown_right$_cachedTypedProps; - t7 = t7.get$props(t7).$index(0, "MenuDropdownRightProps.disallow_overflow"); - t7 = H._asBoolS(t7 == null ? _null : t7) === true ? "auto" : "visible"; - t8 = type$.legacy_String; - t8 = P.LinkedHashMap_LinkedHashMap$_literal(["--offset-top", t6, "--overflow-y", t7], t8, t8); - t6 = t8; + t4 = A._asBoolS(t4 == null ? _null : t4); + t5 = _this.___$MenuDropdownRightComponent__cachedTypedState_A; + t5 === $ && A.throwLateFieldNI("_cachedTypedState"); + t5 = t5.get$HTML_element(); + t6 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$id_(); + t7 = _this.___$MenuDropdownRightComponent__cachedTypedState_A; + if (t7.get$top(t7) != null) { + t7 = _this.___$MenuDropdownRightComponent__cachedTypedState_A; + t7 = t7.get$top(t7); + t8 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A; + t8 = t8.get$props(t8).$index(0, "MenuDropdownRightProps.disallow_overflow"); + t8 = A._asBoolS(t8 == null ? _null : t8) === true ? "auto" : "visible"; + t9 = type$.String; + t9 = A.LinkedHashMap_LinkedHashMap$_literal(["--offset-top", A.S(t7) + "px", "--overflow-y", t8], t9, t9); + t7 = t9; } else { - t6 = type$.dynamic; - t6 = P.LinkedHashMap_LinkedHashMap$_empty(t6, t6); - } - t7 = type$.dynamic; - t7 = P.LinkedHashMap_LinkedHashMap$_literal(["title", t2, "drop", "right", "id", t3, "variant", "none", "disabled", t4, "ref", t5, "style", t6], t7, t7); - t6 = _this._menu_dropdown_right$_cachedTypedProps; - menu_dropdown_right = t1.call$2(t7, t6.get$children(t6)); - if (_this._menu_dropdown_right$_cachedTypedProps.get$tooltip() == null) + t7 = type$.dynamic; + t7 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t7); + } + t8 = type$.dynamic; + t8 = A.LinkedHashMap_LinkedHashMap$_literal(["title", t2, "drop", "right", "id", t3, "variant", "none", "disabled", t4, "ref", t5, "key", t6, "style", t7], t8, t8); + t7 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A; + menu_dropdown_right = t1.call$2(t8, t7.get$children(t7)); + if (_this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$tooltip() == null) return menu_dropdown_right; else { t1 = A.DomProps$($.$get$span(), _null); - t1.set$title(0, _this._menu_dropdown_right$_cachedTypedProps.get$tooltip()); + t1.set$title(0, _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$tooltip()); return t1.call$1(menu_dropdown_right); } } }; - M.$MenuDropdownRightComponentFactory_closure.prototype = { - call$0: function() { - return new M._$MenuDropdownRightComponent(null); + A.$MenuDropdownRightComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuDropdownRightComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 520 + $signature: 528 }; - M._$$MenuDropdownRightProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuDropdownRightProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuDropdownRightComponentFactory() : t1; } }; - M._$$MenuDropdownRightProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuDropdownRightProps$PlainMap.prototype = { + get$props(_) { return this._menu_dropdown_right$_props; } }; - M._$$MenuDropdownRightProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuDropdownRightProps$JsMap.prototype = { + get$props(_) { return this._menu_dropdown_right$_props; } }; - M._$$MenuDropdownRightState.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuDropdownRightState.prototype = { + get$$$isClassGenerated() { return true; } }; - M._$$MenuDropdownRightState$JsMap.prototype = { - get$state: function(_) { + A._$$MenuDropdownRightState$JsMap.prototype = { + get$state(_) { return this._menu_dropdown_right$_state; } }; - M._$MenuDropdownRightComponent.prototype = { - get$props: function(_) { - return this._menu_dropdown_right$_cachedTypedProps; + A._$MenuDropdownRightComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuDropdownRightComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_dropdown_right$_cachedTypedProps = M._$$MenuDropdownRightProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuDropdownRightComponent__cachedTypedProps_A = A._$$MenuDropdownRightProps$JsMap$(A.getBackingMap(value)); }, - typedPropsFactoryJs$1: function(backingMap) { - return M._$$MenuDropdownRightProps$JsMap$(backingMap); + typedPropsFactoryJs$1(backingMap) { + return A._$$MenuDropdownRightProps$JsMap$(backingMap); }, - set$state: function(_, value) { - this.state = value; - this._menu_dropdown_right$_cachedTypedState = M._$$MenuDropdownRightState$JsMap$(value); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$MenuDropdownRightComponent__cachedTypedState_A = A._$$MenuDropdownRightState$JsMap$(value); }, - typedStateFactoryJs$1: function(backingMap) { - var t1 = new M._$$MenuDropdownRightState$JsMap(new L.JsBackedMap({}), null, null); + typedStateFactoryJs$1(backingMap) { + var t1 = new A._$$MenuDropdownRightState$JsMap(new A.JsBackedMap({}), null, $); t1.get$$$isClassGenerated(); t1._menu_dropdown_right$_state = backingMap; return t1; }, - get$displayName: function(_) { + get$displayName(_) { return "MenuDropdownRight"; }, - get$$$defaultConsumedProps: function() { - return C.Map_HPeUt.get$values(C.Map_HPeUt); + get$$$defaultConsumedProps() { + return B.Map_HP2jN.get$values(B.Map_HP2jN); } }; - M.$MenuDropdownRightProps.prototype = { - get$tooltip: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.tooltip"); - return H._asStringS(t1 == null ? null : t1); - }, - get$title: function(_) { - var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.title"); - return H._asStringS(t1 == null ? null : t1); + A.$MenuDropdownRightProps.prototype = { + get$title_() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.title_"); + return A._asStringS(t1 == null ? null : t1); }, - set$title: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.title", value); + set$title_(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.title_", value); }, - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.id", value); + get$id_() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.id_"); + return A._asStringS(t1 == null ? null : t1); }, - set$disabled: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.disabled", value); + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.id_", value); }, - get$keyboard_shortcut: function() { + get$keyboard_shortcut() { var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.keyboard_shortcut"); - return H._asStringS(t1 == null ? null : t1); + return A._asStringQ(t1 == null ? null : t1); }, - set$keyboard_shortcut: function(value) { + set$keyboard_shortcut(value) { J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.keyboard_shortcut", value); + }, + get$tooltip() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.tooltip"); + return A._asStringS(t1 == null ? null : t1); + }, + set$tooltip(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.tooltip", value); + }, + set$disabled(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.disabled", value); + }, + set$disallow_overflow(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.disallow_overflow", value); } }; - M.$MenuDropdownRightState.prototype = { - get$top: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.top"]); - return H._asNumS(t1 == null ? null : t1); + A.$MenuDropdownRightState.prototype = { + get$top(_) { + var t1 = this._menu_dropdown_right$_state; + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["MenuDropdownRightState.top"]); + return A._asNumQ(t1 == null ? null : t1); }, - set$top: function(_, value) { - this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.top"] = F.DartValueWrapper_wrapIfNeeded(value); + set$top(_, value) { + var t1 = this._menu_dropdown_right$_state; + t1.jsObject["MenuDropdownRightState.top"] = A.DartValueWrapper_wrapIfNeeded(value); }, - get$HTML_element: function() { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.HTML_element"]); + get$HTML_element() { + var t1 = this._menu_dropdown_right$_state; + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["MenuDropdownRightState.HTML_element"]); if (t1 == null) t1 = null; - return type$.legacy_Ref_legacy_DivElement._as(t1); + return type$.Ref_nullable_DivElement._as(t1); } }; - M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps.prototype = {}; - M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps.prototype = {}; - M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState.prototype = {}; - M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState.prototype = {}; - O.MenuFormFileProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - O.MenuFormFileComponent.prototype = { - render$0: function(_) { + A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps.prototype = {}; + A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps.prototype = {}; + A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState.prototype = {}; + A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState.prototype = {}; + A.MenuFormFileProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuFormFileComponent.prototype = { + render$0(_) { var t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = $.$get$FormFile(), - t2 = _this._menu_form_file$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "MenuFormFileProps.id"); - t2 = H._asStringS(t2 == null ? _null : t2); - t3 = _this._menu_form_file$_cachedTypedProps; + t2 = _this.___$MenuFormFileComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$props(t2).$index(0, "MenuFormFileProps.id_"); + t2 = A._asStringS(t2 == null ? _null : t2); + t3 = _this.___$MenuFormFileComponent__cachedTypedProps_A; t3 = t3.get$props(t3).$index(0, "MenuFormFileProps.accept"); - t3 = H._asStringS(t3 == null ? _null : t3); - t4 = _this._menu_form_file$_cachedTypedProps; - t4 = t4.get$props(t4).$index(0, "MenuFormFileProps.onChange"); + t3 = A._asStringS(t3 == null ? _null : t3); + t4 = _this.___$MenuFormFileComponent__cachedTypedProps_A; + t4 = t4.get$props(t4).$index(0, "MenuFormFileProps.on_change"); if (t4 == null) t4 = _null; - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(t4); + type$.dynamic_Function_SyntheticFormEvent._as(t4); t5 = A.DomProps$($.$get$div(), _null); - t6 = _this._menu_form_file$_cachedTypedProps; - t6 = t6.get$props(t6).$index(0, "MenuFormFileProps.display"); - t6 = H._asStringS(t6 == null ? _null : t6); - if (_this._menu_form_file$_cachedTypedProps.get$keyboard_shortcut() != null) { - t7 = A.DomProps$($.$get$span(), _null); - t7.set$className(0, "dropdown-item-keyboard-shortcut-span"); - t7 = t7.call$1(_this._menu_form_file$_cachedTypedProps.get$keyboard_shortcut()); - } else - t7 = _null; + t5.set$className(0, "dropdown-item"); + t6 = A.DomProps$($.$get$span(), _null); + t7 = _this.___$MenuFormFileComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "MenuFormFileProps.display"); + t6 = t6.call$1(A._asStringS(t7 == null ? _null : t7)); + t7 = _this.___$MenuFormFileComponent__cachedTypedProps_A; + t7 = t7.get$props(t7).$index(0, "MenuFormFileProps.keyboard_shortcut"); t8 = type$.dynamic; - return t1.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["id", t2, "className", "form-file-dropdown", "accept", t3, "onClick", new O.MenuFormFileComponent_render_closure(), "onChange", t4, "label", t5.call$2(t6, t7), "custom", "false"], t8, t8)); + return t1.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["id", t2, "className", "form-file-dropdown", "accept", t3, "onClick", new A.MenuFormFileComponent_render_closure(), "onChange", t4, "label", t5.call$2(t6, A._asStringQ(t7 == null ? _null : t7)), "custom", "false"], t8, t8)); } }; - O.MenuFormFileComponent_render_closure.prototype = { - call$1: function(e) { - J.click$0$x(document.getElementById("file-nav-dropdown")); + A.MenuFormFileComponent_render_closure.prototype = { + call$1(e) { + var t1 = document.getElementById("file-nav-dropdown"); + t1.toString; + J.click$0$x(t1); J.set$value$x(J.get$target$x(e), null); }, - $signature: 32 + $signature: 47 }; - O.$MenuFormFileComponentFactory_closure.prototype = { - call$0: function() { - return new O._$MenuFormFileComponent(null); + A.$MenuFormFileComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuFormFileComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 521 + $signature: 529 }; - O._$$MenuFormFileProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuFormFileProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuFormFileComponentFactory() : t1; } }; - O._$$MenuFormFileProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuFormFileProps$PlainMap.prototype = { + get$props(_) { return this._menu_form_file$_props; } }; - O._$$MenuFormFileProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuFormFileProps$JsMap.prototype = { + get$props(_) { return this._menu_form_file$_props; } }; - O._$MenuFormFileComponent.prototype = { - get$props: function(_) { - return this._menu_form_file$_cachedTypedProps; + A._$MenuFormFileComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuFormFileComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_form_file$_cachedTypedProps = O._$$MenuFormFileProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuFormFileComponent__cachedTypedProps_A = A._$$MenuFormFileProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "MenuFormFile"; }, - get$$$defaultConsumedProps: function() { - return C.Map_caa5W.get$values(C.Map_caa5W); + get$$$defaultConsumedProps() { + return B.Map_ca8ix.get$values(B.Map_ca8ix); } }; - O.$MenuFormFileProps.prototype = { - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.id", value); + A.$MenuFormFileProps.prototype = { + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.id_", value); }, - set$accept: function(_, value) { + set$accept(_, value) { J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.accept", value); }, - set$onChange: function(_, value) { - type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); - J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.onChange", value); + set$on_change(value) { + type$.dynamic_Function_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.on_change", value); }, - set$display: function(_, value) { + set$display(_, value) { J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.display", value); - }, - get$keyboard_shortcut: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuFormFileProps.keyboard_shortcut"); - return H._asStringS(t1 == null ? null : t1); } }; - O.__$$MenuFormFileProps_UiProps_MenuFormFileProps.prototype = {}; - O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps.prototype = {}; - M.MenuNumberPropsMixin.prototype = {}; - M.MenuNumberComponent.prototype = { - get$defaultProps: function(_) { - var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + A.__$$MenuFormFileProps_UiProps_MenuFormFileProps.prototype = {}; + A.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps.prototype = {}; + A.MenuNumberPropsMixin.prototype = {}; + A.MenuNumberComponent.prototype = { + get$defaultProps(_) { + var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); + t1.set$min_value(1); t1.set$hide(false); t1.set$tooltip(""); - t1.set$min_value(1); t1.set$step(0, 1); return t1; }, - render$0: function(_) { - var t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = {}, - t2 = _this._menu_number$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "MenuNumberPropsMixin.hide"); - if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) + render$0(_) { + var display_no_spaces, input_elt_id, t2, t3, t4, t5, t6, _this = this, _null = null, + t1 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "MenuNumberPropsMixin.hide"); + if (A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) return _null; - t2 = _this._menu_number$_cachedTypedProps; - t2 = t2.get$display(t2).toLowerCase(); - t2 = t1.input_elt_id = H.stringReplaceAllUnchecked(t2, " ", "-") + "-number-input"; - if (_this._menu_number$_cachedTypedProps.get$input_elt_id() != null) - t2 = t1.input_elt_id = _this._menu_number$_cachedTypedProps.get$input_elt_id(); - t3 = A.DomProps$($.$get$span(), _null); - t4 = _this._menu_number$_cachedTypedProps; - t3.set$title(0, t4.get$display(t4)); - t3.set$className(0, "menu-item menu-item-number-input"); - t4 = type$.legacy_String; - t5 = type$.dynamic; - t6 = type$.legacy_Map_of_legacy_String_and_dynamic; - t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t4, t5))); - t7 = A.DomProps$($.$get$label(), _null); - t8 = _this._menu_number$_cachedTypedProps; - t8 = t8.get$props(t8).$index(0, "MenuNumberPropsMixin.tooltip"); - t7.set$title(0, H._asStringS(t8 == null ? _null : t8)); - t8 = A.DomProps$($.$get$input(), _null); - t8.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em", "width", "4em"], t4, t5))); - t8.set$type(0, "number"); - t5 = _this._menu_number$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, "MenuNumberPropsMixin.min_value"); - t4 = t8.props.jsObject; - t4.min = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t5 == null ? _null : t5))); - t5 = _this._menu_number$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, "MenuNumberPropsMixin.step"); - t8.set$step(0, H.S(H._asNumS(t5 == null ? _null : t5))); - t8.set$id(0, t2); - t8.set$onChange(0, new M.MenuNumberComponent_render_closure(t1, _this)); - t1 = _this._menu_number$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "MenuNumberPropsMixin.default_value"); - t4.defaultValue = F.DartValueWrapper_wrapIfNeeded(H._asNumS(t1 == null ? _null : t1)); - t1 = t8.call$0(); - t2 = _this._menu_number$_cachedTypedProps; - return t3.call$1(t7.call$2(t1, t2.get$display(t2))); - } - }; - M.MenuNumberComponent_render_closure.prototype = { - call$1: function(_) { - var new_value; - type$.legacy_SyntheticFormEvent._as(_); - new_value = P.num_tryParse(type$.legacy_InputElement._as(document.getElementById(this._box_0.input_elt_id)).value); - if (new_value != null) - this.$this._menu_number$_cachedTypedProps.on_new_value$1(new_value); + t1 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t1 = t1.get$display(t1).toLowerCase(); + display_no_spaces = A.stringReplaceAllUnchecked(t1, " ", "-"); + t1 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "MenuNumberPropsMixin.input_elt_id"); + input_elt_id = A._asStringQ(t1 == null ? _null : t1); + if (input_elt_id == null) + input_elt_id = display_no_spaces + "-number-input"; + t1 = A.DomProps$($.$get$span(), _null); + t2 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t1.set$title(0, t2.get$display(t2)); + t1.set$className(0, "menu-item menu-item-number-input"); + t2 = type$.String; + t3 = type$.dynamic; + t4 = type$.nullable_Map_String_dynamic; + t1.set$_raw$DomProps$style(t4._as(A.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t2, t3))); + t5 = A.DomProps$($.$get$label(), _null); + t6 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t6 = t6.get$props(t6).$index(0, "MenuNumberPropsMixin.tooltip"); + t5.set$title(0, A._asStringS(t6 == null ? _null : t6)); + t6 = A.DomProps$($.$get$input(), _null); + t6.set$_raw$DomProps$style(t4._as(A.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em", "width", "4em"], t2, t3))); + t6.set$type(0, "number"); + t3 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t3 = t3.get$props(t3).$index(0, "MenuNumberPropsMixin.min_value"); + t2 = A._asNumS(t3 == null ? _null : t3); + t6.props.jsObject.min = A.DartValueWrapper_wrapIfNeeded(A.S(t2)); + t2 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "MenuNumberPropsMixin.step"); + t6.set$step(0, A.S(A._asNumS(t2 == null ? _null : t2))); + t6.set$id(0, input_elt_id); + t6.set$onChange(0, new A.MenuNumberComponent_render_closure(_this, input_elt_id)); + t2 = _this.___$MenuNumberComponent__cachedTypedProps_A; + t2 = t2.get$props(t2).$index(0, "MenuNumberPropsMixin.default_value"); + t6.set$defaultValue(0, A._asNumS(t2 == null ? _null : t2)); + t2 = t6.call$0(); + t3 = _this.___$MenuNumberComponent__cachedTypedProps_A; + return t1.call$1(t5.call$2(t2, t3.get$display(t3))); + } + }; + A.MenuNumberComponent_render_closure.prototype = { + call$1(_) { + var t1, new_value; + type$.SyntheticFormEvent._as(_); + t1 = type$.InputElement._as(document.getElementById(this.input_elt_id)).value; + new_value = A.num_tryParse(t1 == null ? "" : t1); + if (new_value != null) { + t1 = this.$this.___$MenuNumberComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.on_new_value$1(new_value); + } }, - $signature: 10 + $signature: 8 }; - M.$MenuNumberComponentFactory_closure.prototype = { - call$0: function() { - return new M._$MenuNumberComponent(null); + A.$MenuNumberComponentFactory_closure.prototype = { + call$0() { + return new A._$MenuNumberComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 522 + $signature: 530 }; - M._$$MenuNumberProps.prototype = { - get$$$isClassGenerated: function() { + A._$$MenuNumberProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$MenuNumberComponentFactory() : t1; } }; - M._$$MenuNumberProps$PlainMap.prototype = { - get$props: function(_) { + A._$$MenuNumberProps$PlainMap.prototype = { + get$props(_) { return this._menu_number$_props; } }; - M._$$MenuNumberProps$JsMap.prototype = { - get$props: function(_) { + A._$$MenuNumberProps$JsMap.prototype = { + get$props(_) { return this._menu_number$_props; } }; - M._$MenuNumberComponent.prototype = { - get$props: function(_) { - return this._menu_number$_cachedTypedProps; + A._$MenuNumberComponent.prototype = { + get$props(_) { + var t1 = this.___$MenuNumberComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_number$_cachedTypedProps = M._$$MenuNumberProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$MenuNumberComponent__cachedTypedProps_A = A._$$MenuNumberProps$JsMap$(A.getBackingMap(value)); }, - typedPropsFactoryJs$1: function(backingMap) { - return M._$$MenuNumberProps$JsMap$(backingMap); + typedPropsFactoryJs$1(backingMap) { + return A._$$MenuNumberProps$JsMap$(backingMap); }, - get$displayName: function(_) { + get$displayName(_) { return "MenuNumber"; }, - get$$$defaultConsumedProps: function() { - return C.Map_Uc9nB.get$values(C.Map_Uc9nB); + get$$$defaultConsumedProps() { + return B.Map_Uc7Gq.get$values(B.Map_Uc7Gq); } }; - M.$MenuNumberPropsMixin.prototype = { - get$display: function(_) { + A.$MenuNumberPropsMixin.prototype = { + get$display(_) { var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.display"); - return H._asStringS(t1 == null ? null : t1); + return A._asStringS(t1 == null ? null : t1); }, - set$display: function(_, value) { + set$display(_, value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.display", value); }, - set$default_value: function(value) { + set$default_value(value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.default_value", value); }, - get$on_new_value: function() { + get$on_new_value() { var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.on_new_value"); if (t1 == null) t1 = null; - return type$.legacy_dynamic_Function_legacy_num._as(t1); + return type$.dynamic_Function_num._as(t1); }, - set$on_new_value: function(value) { - type$.legacy_dynamic_Function_legacy_num._as(value); + set$on_new_value(value) { + type$.dynamic_Function_num._as(value); J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.on_new_value", value); }, - set$min_value: function(value) { + set$min_value(value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.min_value", value); }, - set$hide: function(value) { + set$hide(value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.hide", value); }, - set$tooltip: function(value) { + set$tooltip(value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.tooltip", value); }, - get$input_elt_id: function() { - var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.input_elt_id"); - return H._asStringS(t1 == null ? null : t1); - }, - set$step: function(_, value) { + set$step(_, value) { J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.step", value); }, - on_new_value$1: function(arg0) { + on_new_value$1(arg0) { return this.get$on_new_value().call$1(arg0); } }; - M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin.prototype = {}; - M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin.prototype = {}; - Q.ConnectedSideMenu_closure.prototype = { - call$1: function(state) { - var t1, t2, t3; - type$.legacy_AppState._as(state); - t1 = Q.menu_side___$SideMenu$closure().call$0(); - t2 = state.design; - t2 = t2 == null ? null : t2.groups; - t1.toString; - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2); - t3 = J.getInterceptor$x(t1); - J.$indexSet$ax(t3.get$props(t1), "SideMenuPropsMixin.groups", t2); - t2 = state.ui_state.storables.displayed_group_name; - J.$indexSet$ax(t3.get$props(t1), "SideMenuPropsMixin.displayed_group_name", t2); - return t1; + A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin.prototype = {}; + A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin.prototype = {}; + A.ConnectedSideMenu_closure.prototype = { + call$1(state) { + type$.AppState._as(state); + return A.set_side_menu_props(A.menu_side___$SideMenu$closure().call$0(), state); }, - $signature: 523 - }; - Q.SideMenuPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, - get$groups: function() { - return this.SideMenuPropsMixin_groups; - } + $signature: 531 }; - Q.SideMenuComponent.prototype = { - get$consumedProps: function() { - var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_SideMenuPropsMixin_2jN], type$.legacy_Type)), - t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), - t3 = t1.$ti; - return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_savdf.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); - }, - render$0: function(_) { - var t1, t2, _this = this; - if (_this._menu_side$_cachedTypedProps.get$groups() == null) + A.SideMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SideMenuComponent.prototype = { + render$0(_) { + var t2, t3, _this = this, + t1 = _this.___$SideMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = t1.get$props(t1).$index(0, "SideMenuProps.groups"); + if (t1 == null) + t1 = null; + type$.nullable_BuiltMap_String_HelixGroup._as(t1); + if (t1 == null) return null; - t1 = J.get$length$asx(_this._menu_side$_cachedTypedProps.get$groups()._map$_map); - if (typeof t1 !== "number") - return t1.$gt(); - t1 = t1 > 1 || _this._menu_side$_cachedTypedProps.get$displayed_group_name() !== "default_group"; - t2 = type$.dynamic; - if (t1) - return $.$get$Navbar().call$4(P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), $.$get$NavbarBrand().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["key", "side-menu-display-title"], t2, t2), _this._menu_side$_cachedTypedProps.get$displayed_group_name()), _this.groups_menu$0(), _this.grid_menu$0()); + t2 = t1._map$_map._length > 1 || _this.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name() !== "default_group"; + t3 = type$.dynamic; + if (t2) + return $.$get$Navbar().call$4(A.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t3, t3), $.$get$NavbarBrand().call$2(A.LinkedHashMap_LinkedHashMap$_literal(["key", "side-menu-display-title"], t3, t3), _this.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name()), _this.groups_menu$1(t1), _this.grid_menu$1(t1)); else - return $.$get$Navbar().call$3(P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), _this.groups_menu$0(), _this.grid_menu$0()); - }, - groups_menu$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, - _s39_ = "SideMenuPropsMixin.displayed_group_name", - options = []; - for (t1 = _this._menu_side$_cachedTypedProps.get$groups(), t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent; t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + return $.$get$Navbar().call$3(A.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t3, t3), _this.groups_menu$1(t1), _this.grid_menu$1(t1)); + }, + groups_menu$1(groups) { + var options, t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + _s17_ = "_cachedTypedProps", + _s34_ = "SideMenuProps.displayed_group_name"; + type$.BuiltMap_String_HelixGroup._as(groups); + options = []; + for (t1 = groups.get$keys(groups), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = type$.dynamic_Function_SyntheticMouseEvent; t1.moveNext$0();) { + t3 = t1.__js_helper$_current; + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t4.toString; - t5 = t2._as(new Q.SideMenuComponent_groups_menu_closure(t3)); + t5 = t2._as(new A.SideMenuComponent_groups_menu_closure(t3)); t6 = J.getInterceptor$x(t4); - J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.on_click", t5); - J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.display", t3); - t5 = _this._menu_side$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s39_); - t5 = H._asStringS(t5 == null ? null : t5); - J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.active", t3 == t5); - t5 = _this._menu_side$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, _s39_); - t5 = H._asStringS(t5 == null ? null : t5); - J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.disabled", t3 == t5); - t3 = "key_for_group_name:" + H.S(t3); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemProps.on_click", t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemProps.display", t3); + t5 = _this.___$SideMenuComponent__cachedTypedProps_A; + t5 === $ && A.throwLateFieldNI(_s17_); + t5 = t5.get$props(t5).$index(0, _s34_); + t5 = A._asStringS(t5 == null ? null : t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemProps.active", t3 == t5); + t5 = _this.___$SideMenuComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, _s34_); + t5 = A._asStringS(t5 == null ? null : t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemProps.disabled", t3 == t5); t6 = t6.get$props(t4); - J.$indexSet$ax(t6, "key", t3); + J.$indexSet$ax(t6, "key", "key_for_group_name:" + A.S(t3)); options.push(t4.call$0()); } t1 = type$.dynamic; - t2 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-add-remove"], t1, t1)); - t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2 = $.$get$DropdownDivider().call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-add-remove"], t1, t1)); + t3 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t4 = J.getInterceptor$z(t3); t4.set$display(t3, "adjust current group"); - t3.set$on_click(new Q.SideMenuComponent_groups_menu_closure0(_this)); + t3.set$on_click(new A.SideMenuComponent_groups_menu_closure0(_this, groups)); t4.set$key(t3, "adjust-current-group"); t3 = t3.call$0(); - t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t5 = J.getInterceptor$z(t4); t5.set$display(t4, "new group"); - t4.set$on_click(new Q.SideMenuComponent_groups_menu_closure1(_this)); + t4.set$on_click(new A.SideMenuComponent_groups_menu_closure1(_this, groups)); t5.set$key(t4, "new-group"); t4 = t4.call$0(); - t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t6 = J.getInterceptor$z(t5); t6.set$display(t5, "remove current group"); - t6.set$disabled(t5, J.get$length$asx(_this._menu_side$_cachedTypedProps.get$groups()._map$_map) === 1); - t5.set$on_click(new Q.SideMenuComponent_groups_menu_closure2(_this)); + t7 = groups._map$_map; + t6.set$disabled(t5, t7._length === 1); + t5.set$on_click(new A.SideMenuComponent_groups_menu_closure2(_this)); t6.set$key(t5, "remove-current-group"); t5 = t5.call$0(); - t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); - t7 = J.getInterceptor$z(t6); - t7.set$display(t6, "adjust helix indices"); - t8 = _this._menu_side$_cachedTypedProps.get$groups(); - t9 = _this._menu_side$_cachedTypedProps.get$displayed_group_name(); - t7.set$disabled(t6, J.get$length$asx(J.$index$asx(t8._map$_map, t9).helices_view_order._list) === 0); - t6.set$on_click(new Q.SideMenuComponent_groups_menu_closure3(_this)); - t7.set$key(t6, "adjust-helix-indices"); - C.JSArray_methods.addAll$1(options, [t2, t3, t4, t5, t6.call$0()]); - return $.$get$NavDropdown().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["title", "Group", "id", "group-nav-dropdown"], t1, t1), options); - }, - grid_menu$0: function() { - var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, - _s25_ = "SideMenuPropsMixin.groups", - _s39_ = "SideMenuPropsMixin.displayed_group_name", - t1 = $.$get$NavDropdown(), - t2 = type$.dynamic; - t2 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Grid", "id", "grid-nav-dropdown"], t2, t2); - t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); - for (t4 = $.$get$_$values1()._set, t4 = t4.get$iterator(t4), t5 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent, t6 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; t4.moveNext$0();) { + t6 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t8 = J.getInterceptor$z(t6); + t8.set$display(t6, "adjust helix indices"); + t9 = _this.___$SideMenuComponent__cachedTypedProps_A; + t9 === $ && A.throwLateFieldNI(_s17_); + t8.set$disabled(t6, t7.$index(0, t9.get$displayed_group_name()).helices_view_order._list.length === 0); + t6.set$on_click(new A.SideMenuComponent_groups_menu_closure3(_this, groups)); + t8.set$key(t6, "adjust-helix-indices"); + B.JSArray_methods.addAll$1(options, [t2, t3, t4, t5, t6.call$0()]); + return $.$get$NavDropdown().call$2(A.LinkedHashMap_LinkedHashMap$_literal(["title", "Group", "id", "group-nav-dropdown"], t1, t1), options); + }, + grid_menu$1(groups) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, + _s34_ = "SideMenuProps.displayed_group_name"; + type$.BuiltMap_String_HelixGroup._as(groups); + t1 = $.$get$NavDropdown(); + t2 = type$.dynamic; + t2 = A.LinkedHashMap_LinkedHashMap$_literal(["title", "Grid", "id", "grid-nav-dropdown"], t2, t2); + t3 = A._setArrayType([], type$.JSArray_ReactElement); + for (t4 = $.$get$_$values1()._set, t4 = t4.get$iterator(t4), t5 = groups._map$_map, t6 = type$.dynamic_Function_SyntheticMouseEvent; t4.moveNext$0();) { t7 = t4.get$current(t4); - t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t8 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t9 = J.getInterceptor$(t7); t10 = t9.toString$0(t7); t8.toString; t11 = J.getInterceptor$x(t8); - J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.display", t10); - t10 = _this._menu_side$_cachedTypedProps; - t10 = t10.get$props(t10).$index(0, _s25_); - t10 = t6._as(t10 == null ? _null : t10); - t12 = _this._menu_side$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s39_); - t12 = H._asStringS(t12 == null ? _null : t12); - t12 = J.$index$asx(t10._map$_map, t12).grid; - J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.active", t7 === t12); - t12 = _this._menu_side$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s25_); - t10 = t6._as(t12 == null ? _null : t12); - t12 = _this._menu_side$_cachedTypedProps; - t12 = t12.get$props(t12).$index(0, _s39_); - t12 = H._asStringS(t12 == null ? _null : t12); - t12 = J.$index$asx(t10._map$_map, t12).grid; - J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.disabled", t7 === t12); - t12 = t5._as(new Q.SideMenuComponent_grid_menu_closure(_this, t7)); - J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.on_click", t12); + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemProps.display", t10); + t10 = this.___$SideMenuComponent__cachedTypedProps_A; + t10 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t10 = t10.get$props(t10).$index(0, _s34_); + t10 = t5.$index(0, A._asStringS(t10 == null ? null : t10)).grid; + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemProps.active", t7 === t10); + t10 = this.___$SideMenuComponent__cachedTypedProps_A; + t10 = t10.get$props(t10).$index(0, _s34_); + t10 = t5.$index(0, A._asStringS(t10 == null ? null : t10)).grid; + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemProps.disabled", t7 === t10); + t10 = t6._as(new A.SideMenuComponent_grid_menu_closure(this, t7)); + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemProps.on_click", t10); t7 = t9.toString$0(t7); t11 = t11.get$props(t8); J.$indexSet$ax(t11, "key", t7); @@ -147375,26 +148668,34 @@ } return t1.call$2(t2, t3); }, - add_new_group$1: function(existing_names) { - type$.legacy_Iterable_legacy_String._as(existing_names); - return $.app.disable_keyboard_shortcuts_while$1$1(new Q.SideMenuComponent_add_new_group_closure(this, existing_names), type$.void); + set_new_parameters_for_current_group$1(groups) { + type$.BuiltMap_String_HelixGroup._as(groups); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.SideMenuComponent_set_new_parameters_for_current_group_closure(this, groups), type$.void); + }, + adjust_helix_indices_for_current_group$1(groups) { + type$.BuiltMap_String_HelixGroup._as(groups); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.SideMenuComponent_adjust_helix_indices_for_current_group_closure(this, groups), type$.void); + }, + add_new_group$1(existing_names) { + type$.Iterable_String._as(existing_names); + return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.SideMenuComponent_add_new_group_closure(this, existing_names), type$.void); }, - ask_about_new_group$1: function(existing_names) { - return this.ask_about_new_group$body$SideMenuComponent(type$.legacy_Iterable_legacy_String._as(existing_names)); + ask_about_new_group$1(existing_names) { + return this.ask_about_new_group$body$SideMenuComponent(type$.Iterable_String._as(existing_names)); }, - ask_about_new_group$body$SideMenuComponent: function(existing_names) { + ask_about_new_group$body$SideMenuComponent(existing_names) { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, t1, $name, msg, t2, group, results; - var $async$ask_about_new_group$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, $name, t2, group, results; + var $async$ask_about_new_group$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogText_DialogText("name", null, ""), E.DialogRadio_DialogRadio("grid", null, H.setRuntimeTypeInfo(["square", "honeycomb", "hex", "none"], type$.JSArray_legacy_String), true, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "create new Helix group", C.DialogType_create_new_helix_group, true)), $async$ask_about_new_group$1); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, A._setArrayType([A.DialogText_DialogText("name", "", ""), A.DialogRadio_DialogRadio("grid", null, A._setArrayType(["square", "honeycomb", "hex", "none"], type$.JSArray_String), true, 0, "")], type$.JSArray_DialogItem), B.List_empty1, A.dialog_Dialog_identity_function$closure(), "create new Helix group", B.DialogType_create_new_helix_group, true)), $async$ask_about_new_group$1); case 3: // returning from await. results = $async$result; @@ -147404,56 +148705,65 @@ break; } t1 = J.getInterceptor$asx(results); - $name = type$.legacy_DialogText._as(t1.$index(results, 0)).value; - if (J.contains$1$asx(existing_names, $name)) { - msg = "Cannot use name " + $name + string$.x20for_a; - C.Window_methods.alert$1(window, msg); + $name = type$.DialogText._as(t1.$index(results, 0)).value; + if (existing_names._map.containsKey$1(0, $name)) { + B.Window_methods.alert$1(window, "Cannot use name " + $name + string$.x20for_a); // goto return $async$goto = 1; break; } - t1 = type$.legacy_DialogRadio._as(t1.$index(results, 1)); + t1 = type$.DialogRadio._as(t1.$index(results, 1)); t2 = t1.options; t1 = t1.selected_idx; - group = O.HelixGroup_HelixGroup(S._$valueOf(J.$index$asx(t2._list, t1)), H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), 0, null, 0, 0); - $.app.dispatch$1(U._$GroupAdd$_(group, $name)); + t2 = t2._list; + if (!(t1 >= 0 && t1 < t2.length)) { + $async$returnValue = A.ioore(t2, t1); + // goto return + $async$goto = 1; + break; + } + group = A.HelixGroup_HelixGroup(A._$valueOf(t2[t1]), A._setArrayType([], type$.JSArray_int), 0, null, 0, 0); + $.__app._readField$0().dispatch$1(A._$GroupAdd$_(group, $name)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_about_new_group$1, $async$completer); + return A._asyncStartSync($async$ask_about_new_group$1, $async$completer); + }, + ask_new_parameters_for_current_group$1(groups) { + return this.ask_new_parameters_for_current_group$body$SideMenuComponent(type$.BuiltMap_String_HelixGroup._as(groups)); }, - ask_new_parameters_for_current_group$0: function() { + ask_new_parameters_for_current_group$body$SideMenuComponent(groups) { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, results, t3, t4, new_name, t5, existing_names, msg, helices_view_order_old_sorted, helices_view_order_str, helices_view_order_chosen, helices_view_order_strs, _i, order_str, order, helices_view_order_chosen_sorted, eq, old_sorted, chosen_sorted, old_difference, error_message, unique_vals, duplicates, i, position_x, position_y, position_z, pitch, roll, yaw, new_group, t1, t2, group, existing_grid, items; - var $async$ask_new_parameters_for_current_group$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, items, t2, t3, results, t4, t5, new_name, existing_names, helices_view_order_old_sorted, helices_view_order_str, helices_view_order_chosen, helices_view_order_strs, _i, order_str, order, helices_view_order_chosen_sorted, eq, old_sorted, chosen_sorted, old_difference, error_message, unique_vals, duplicates, i, position_x, position_y, position_z, pitch, roll, yaw, new_group, t1; + var $async$ask_new_parameters_for_current_group$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) $async$outer: switch ($async$goto) { case 0: // Function start - t1 = $async$self._menu_side$_cachedTypedProps.get$groups(); - t2 = $async$self._menu_side$_cachedTypedProps.get$displayed_group_name(); - group = J.$index$asx(t1._map$_map, t2); - existing_grid = group.grid; - items = P.List_List$filled(8, null, false, type$.legacy_DialogItem); - C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, $async$self._menu_side$_cachedTypedProps.get$displayed_group_name())); - t2 = group.position; - C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("x", t2.x)); - C.JSArray_methods.$indexSet(items, 2, E.DialogFloat_DialogFloat("y", t2.y)); - C.JSArray_methods.$indexSet(items, 3, E.DialogFloat_DialogFloat("z", t2.z)); - C.JSArray_methods.$indexSet(items, 4, E.DialogFloat_DialogFloat("pitch", group.pitch)); - C.JSArray_methods.$indexSet(items, 5, E.DialogFloat_DialogFloat("roll", group.roll)); - C.JSArray_methods.$indexSet(items, 6, E.DialogFloat_DialogFloat("yaw", group.yaw)); - t2 = group.helices_view_order; - t1 = t2._list; - C.JSArray_methods.$indexSet(items, 7, E.DialogText_DialogText("helices view order (space separated)", null, J.join$1$ax(t1, " "))); + t1 = $async$self.___$SideMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = groups._map$_map.$index(0, t1.get$displayed_group_name()); + t1.toString; + items = new A.FixedList(A.List_List$filled(8, null, false, type$.nullable_DialogItem), A.List_List$filled(8, false, false, type$.bool), type$.FixedList_DialogItem); + items._util$_set$2(0, A.DialogText_DialogText("name", "", $async$self.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name())); + t2 = t1.position; + items._util$_set$2(1, A.DialogFloat_DialogFloat("x", t2.x)); + items._util$_set$2(2, A.DialogFloat_DialogFloat("y", t2.y)); + items._util$_set$2(3, A.DialogFloat_DialogFloat("z", t2.z)); + items._util$_set$2(4, A.DialogFloat_DialogFloat("pitch", t1.pitch)); + items._util$_set$2(5, A.DialogFloat_DialogFloat("roll", t1.roll)); + items._util$_set$2(6, A.DialogFloat_DialogFloat("yaw", t1.yaw)); + t2 = t1.helices_view_order; + t3 = t2._list; + items._util$_set$2(7, A.DialogText_DialogText("helices view order (space separated)", "", B.JSArray_methods.join$1(t3, " "))); $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "adjust current Helix group (to adjust grid use Grid menu on left)", C.DialogType_adjust_current_helix_group, true)), $async$ask_new_parameters_for_current_group$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, A.dialog_Dialog_identity_function$closure(), "adjust current Helix group (to adjust grid use Grid menu on left)", B.DialogType_adjust_current_helix_group, false)), $async$ask_new_parameters_for_current_group$1); case 3: // returning from await. results = $async$result; @@ -147462,110 +148772,112 @@ $async$goto = 1; break; } - t3 = J.getInterceptor$asx(results); - t4 = type$.legacy_DialogText; - new_name = C.JSString_methods.trim$0(t4._as(t3.$index(results, 0)).value); - t5 = $async$self._menu_side$_cachedTypedProps.get$groups(); - existing_names = t5.get$keys(t5); - if (new_name !== $async$self._menu_side$_cachedTypedProps.get$displayed_group_name() && J.contains$1$asx(existing_names, new_name)) { - msg = "Cannot use name " + new_name + string$.x20for_a; - C.Window_methods.alert$1(window, msg); + t4 = J.getInterceptor$asx(results); + t5 = type$.DialogText; + new_name = B.JSString_methods.trim$0(t5._as(t4.$index(results, 0)).value); + existing_names = groups.get$keys(groups); + if (new_name !== $async$self.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name() && existing_names._map.containsKey$1(0, new_name)) { + B.Window_methods.alert$1(window, "Cannot use name " + new_name + string$.x20for_a); // goto return $async$goto = 1; break; } - helices_view_order_old_sorted = new Q.CopyOnWriteList(true, t1, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + helices_view_order_old_sorted = new A.CopyOnWriteList(true, t3, A._instanceType(t2)._eval$1("CopyOnWriteList<1>")); helices_view_order_old_sorted.sort$0(0); - helices_view_order_str = C.JSString_methods.trim$0(t4._as(t3.$index(results, 7)).value); - helices_view_order_chosen = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + helices_view_order_str = B.JSString_methods.trim$0(t5._as(t4.$index(results, 7)).value); + t2 = type$.JSArray_int; + helices_view_order_chosen = A._setArrayType([], t2); if (helices_view_order_str.length !== 0) { helices_view_order_strs = helices_view_order_str.split(" "); - for (t1 = helices_view_order_strs.length, _i = 0; _i < t1; ++_i) { + for (t3 = helices_view_order_strs.length, _i = 0; _i < t3; ++_i) { order_str = helices_view_order_strs[_i]; - order = H.Primitives_parseInt(order_str, null); + order = A.Primitives_parseInt(order_str, null); if (order == null) { - C.Window_methods.alert$1(window, H.S(order_str) + " is not an integer"); + B.Window_methods.alert$1(window, A.S(order_str) + " is not an integer"); // goto return $async$goto = 1; break $async$outer; } if (!J.contains$1$asx(helices_view_order_old_sorted._copy_on_write_list$_list, order)) { - C.Window_methods.alert$1(window, H.S(order) + " is not a valid helix index"); + B.Window_methods.alert$1(window, A.S(order) + " is not a valid helix index"); // goto return $async$goto = 1; break $async$outer; } - C.JSArray_methods.add$1(helices_view_order_chosen, order); + B.JSArray_methods.add$1(helices_view_order_chosen, order); } - helices_view_order_chosen_sorted = P.List_List$of(helices_view_order_chosen, true, type$.legacy_int); - C.JSArray_methods.sort$0(helices_view_order_chosen_sorted); - eq = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).get$equals(); - if (!H.boolConversionCheck(eq.call$2(helices_view_order_old_sorted, helices_view_order_chosen_sorted))) { + t3 = type$.int; + helices_view_order_chosen_sorted = A.List_List$of(helices_view_order_chosen, true, t3); + B.JSArray_methods.sort$0(helices_view_order_chosen_sorted); + eq = type$.bool_Function_2_nullable_List_dynamic_and_nullable_List_dynamic._as(new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic).get$equals()); + if (!A.boolConversionCheck(eq.call$2(helices_view_order_old_sorted, helices_view_order_chosen_sorted))) { old_sorted = J.toSet$0$ax(helices_view_order_old_sorted._copy_on_write_list$_list); - chosen_sorted = P.LinkedHashSet_LinkedHashSet$from(helices_view_order_chosen_sorted, H._arrayInstanceType(helices_view_order_chosen_sorted)._precomputed1); + chosen_sorted = A.LinkedHashSet_LinkedHashSet$from(helices_view_order_chosen_sorted, A._arrayInstanceType(helices_view_order_chosen_sorted)._precomputed1); old_difference = old_sorted.difference$1(chosen_sorted); - error_message = old_difference.get$length(old_difference) !== 0 ? "Missing the following helix indices: " + H.S(P.List_List$of(old_difference, true, H._instanceType(old_difference)._eval$1("SetMixin.E"))) + "\n" : ""; - if (!H.boolConversionCheck(eq.call$2(P.List_List$of(chosen_sorted, true, H._instanceType(chosen_sorted)._eval$1("SetMixin.E")), helices_view_order_chosen_sorted))) { - unique_vals = []; - duplicates = []; - for (t1 = helices_view_order_chosen_sorted.length, _i = 0; _i < helices_view_order_chosen_sorted.length; helices_view_order_chosen_sorted.length === t1 || (0, H.throwConcurrentModificationError)(helices_view_order_chosen_sorted), ++_i) { + error_message = old_difference.get$length(old_difference) !== 0 ? "Missing the following helix indices: " + A.S(A.List_List$of(old_difference, true, A._instanceType(old_difference)._eval$1("SetMixin.E"))) + "\n" : ""; + if (!A.boolConversionCheck(eq.call$2(A.List_List$of(chosen_sorted, true, A._instanceType(chosen_sorted)._eval$1("SetMixin.E")), helices_view_order_chosen_sorted))) { + unique_vals = A._setArrayType([], t2); + duplicates = A._setArrayType([], t2); + for (t1 = helices_view_order_chosen_sorted.length, _i = 0; _i < helices_view_order_chosen_sorted.length; helices_view_order_chosen_sorted.length === t1 || (0, A.throwConcurrentModificationError)(helices_view_order_chosen_sorted), ++_i) { i = helices_view_order_chosen_sorted[_i]; - if (C.JSArray_methods.contains$1(unique_vals, i)) - duplicates.push(i); + if (B.JSArray_methods.contains$1(unique_vals, i)) + B.JSArray_methods.add$1(duplicates, i); else - unique_vals.push(i); + B.JSArray_methods.add$1(unique_vals, i); } - t1 = P.LinkedHashSet_LinkedHashSet$from(duplicates, H._arrayInstanceType(duplicates)._precomputed1); - error_message += "The following helix indices are duplicated: " + H.S(P.List_List$of(t1, true, H._instanceType(t1)._eval$1("SetMixin.E"))) + "\n"; + t1 = A.LinkedHashSet_LinkedHashSet$from(duplicates, t3); + error_message += "The following helix indices are duplicated: " + A.S(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E"))) + "\n"; } - C.Window_methods.alert$1(window, error_message); + B.Window_methods.alert$1(window, error_message); // goto return $async$goto = 1; break; } } - t1 = type$.legacy_DialogFloat; - position_x = t1._as(t3.$index(results, 1)).value; - position_y = t1._as(t3.$index(results, 2)).value; - position_z = t1._as(t3.$index(results, 3)).value; - pitch = t1._as(t3.$index(results, 4)).value; - roll = t1._as(t3.$index(results, 5)).value; - yaw = t1._as(t3.$index(results, 6)).value; - new_group = O.HelixGroup_HelixGroup(existing_grid, helices_view_order_chosen, pitch, X.Position3D_Position3D(position_x, position_y, position_z), roll, yaw); - $.app.dispatch$1(U._$GroupChange$_(new_group, new_name, $async$self._menu_side$_cachedTypedProps.get$displayed_group_name())); + t2 = type$.DialogFloat; + position_x = t2._as(t4.$index(results, 1)).value; + position_y = t2._as(t4.$index(results, 2)).value; + position_z = t2._as(t4.$index(results, 3)).value; + pitch = t2._as(t4.$index(results, 4)).value; + roll = t2._as(t4.$index(results, 5)).value; + yaw = t2._as(t4.$index(results, 6)).value; + new_group = A.HelixGroup_HelixGroup(t1.grid, helices_view_order_chosen, pitch, A.Position3D_Position3D(position_x, position_y, position_z), roll, yaw); + $.__app._readField$0().dispatch$1(A._$GroupChange$_(new_group, new_name, $async$self.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name())); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_new_parameters_for_current_group$0, $async$completer); + return A._asyncStartSync($async$ask_new_parameters_for_current_group$1, $async$completer); }, - ask_new_helix_indices_for_current_group$0: function() { + ask_new_helix_indices_for_current_group$1(groups) { + return this.ask_new_helix_indices_for_current_group$body$SideMenuComponent(type$.BuiltMap_String_HelixGroup._as(groups)); + }, + ask_new_helix_indices_for_current_group$body$SideMenuComponent(groups) { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, items, t3, t4, results, new_indices_map, i, t5, t1, t2, group; - var $async$ask_new_helix_indices_for_current_group$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, items, t2, t3, results, new_indices_map, i, t4, t1; + var $async$ask_new_helix_indices_for_current_group$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) $async$outer: switch ($async$goto) { case 0: // Function start - t1 = $async$self._menu_side$_cachedTypedProps.get$groups(); - t2 = $async$self._menu_side$_cachedTypedProps.get$displayed_group_name(); - group = J.$index$asx(t1._map$_map, t2); - group.toString; - items = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DialogItem); - t2 = group.helices_view_order._list; - t1 = J.getInterceptor$ax(t2); - C.JSArray_methods.add$1(items, E.DialogLabel_DialogLabel("current view order: " + t1.join$1(t2, " "))); - for (t3 = t1.get$iterator(t2); t3.moveNext$0();) { - t4 = t3.get$current(t3); - C.JSArray_methods.add$1(items, E.DialogInteger_DialogInteger(J.toString$0$(t4), null, t4)); + t1 = $async$self.___$SideMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1 = groups._map$_map.$index(0, t1.get$displayed_group_name()); + t1.toString; + items = A._setArrayType([], type$.JSArray_DialogItem); + t1 = t1.helices_view_order._list; + B.JSArray_methods.add$1(items, A.DialogLabel_DialogLabel("current view order: " + B.JSArray_methods.join$1(t1, " "))); + for (t2 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + B.JSArray_methods.add$1(items, A.DialogInteger_DialogInteger(J.toString$0$(t3), "", t3)); } $async$goto = 3; - return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, new Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure(items), "adjust Helix indices", C.DialogType_adjust_helix_indices, true)), $async$ask_new_helix_indices_for_current_group$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty2, B.Map_empty2, B.Map_empty3, items, B.List_empty1, new A.SideMenuComponent_ask_new_helix_indices_for_current_group_closure(items), "adjust Helix indices", B.DialogType_adjust_helix_indices, true)), $async$ask_new_helix_indices_for_current_group$1); case 3: // returning from await. results = $async$result; @@ -147574,417 +148886,422 @@ $async$goto = 1; break; } - t3 = type$.legacy_int; - new_indices_map = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); - t3 = J.getInterceptor$asx(results); - t4 = type$.legacy_DialogInteger; + t2 = type$.int; + new_indices_map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); + t2 = J.getInterceptor$asx(results); + t3 = type$.DialogInteger; i = 1; while (true) { - t5 = t3.get$length(results); - if (typeof t5 !== "number") { - $async$returnValue = H.iae(t5); + t4 = t2.get$length(results); + if (typeof t4 !== "number") { + $async$returnValue = A.iae(t4); // goto return $async$goto = 1; break $async$outer; } - if (!(i < t5)) + if (!(i < t4)) break; - new_indices_map.$indexSet(0, t1.$index(t2, i - 1), H._asIntS(t4._as(t3.$index(results, i)).value)); + t4 = i - 1; + if (!(t4 < t1.length)) { + $async$returnValue = A.ioore(t1, t4); + // goto return + $async$goto = 1; + break $async$outer; + } + new_indices_map.$indexSet(0, t1[t4], t3._as(t2.$index(results, i)).value); ++i; } - $.app.dispatch$1(U.HelixIdxsChange_HelixIdxsChange(new_indices_map)); + $.__app._readField$0().dispatch$1(A.HelixIdxsChange_HelixIdxsChange(new_indices_map)); case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$ask_new_helix_indices_for_current_group$0, $async$completer); + return A._asyncStartSync($async$ask_new_helix_indices_for_current_group$1, $async$completer); } }; - Q.SideMenuComponent_groups_menu_closure.prototype = { - call$1: function(ev) { - type$.legacy_SyntheticMouseEvent._as(ev); - return $.app.dispatch$1(U._$GroupDisplayedChange$_(this.name)); + A.SideMenuComponent_groups_menu_closure.prototype = { + call$1(ev) { + type$.SyntheticMouseEvent._as(ev); + return $.__app._readField$0().dispatch$1(A._$GroupDisplayedChange$_(this.name)); }, - $signature: 3 + $signature: 2 + }; + A.SideMenuComponent_groups_menu_closure0.prototype = { + call$1(ev) { + type$.SyntheticMouseEvent._as(ev); + return this.$this.set_new_parameters_for_current_group$1(this.groups); + }, + $signature: 2 }; - Q.SideMenuComponent_groups_menu_closure0.prototype = { - call$1: function(ev) { - type$.legacy_SyntheticMouseEvent._as(ev); - return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$ask_new_parameters_for_current_group(), type$.void); + A.SideMenuComponent_groups_menu_closure1.prototype = { + call$1(ev) { + var t1; + type$.SyntheticMouseEvent._as(ev); + t1 = this.groups; + return this.$this.add_new_group$1(t1.get$keys(t1)); }, - $signature: 3 + $signature: 2 }; - Q.SideMenuComponent_groups_menu_closure1.prototype = { - call$1: function(ev) { + A.SideMenuComponent_groups_menu_closure2.prototype = { + call$1(ev) { var t1, t2; - type$.legacy_SyntheticMouseEvent._as(ev); - t1 = this.$this; - t2 = t1._menu_side$_cachedTypedProps.get$groups(); - return t1.add_new_group$1(t2.get$keys(t2)); + type$.SyntheticMouseEvent._as(ev); + t1 = $.__app._readField$0(); + t2 = this.$this.___$SideMenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$GroupRemove$_(t2.get$displayed_group_name())); }, - $signature: 3 + $signature: 2 }; - Q.SideMenuComponent_groups_menu_closure2.prototype = { - call$1: function(ev) { - type$.legacy_SyntheticMouseEvent._as(ev); - return $.app.dispatch$1(U._$GroupRemove$_(this.$this._menu_side$_cachedTypedProps.get$displayed_group_name())); + A.SideMenuComponent_groups_menu_closure3.prototype = { + call$1(ev) { + type$.SyntheticMouseEvent._as(ev); + return this.$this.adjust_helix_indices_for_current_group$1(this.groups); }, - $signature: 3 + $signature: 2 }; - Q.SideMenuComponent_groups_menu_closure3.prototype = { - call$1: function(ev) { - type$.legacy_SyntheticMouseEvent._as(ev); - return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$ask_new_helix_indices_for_current_group(), type$.void); + A.SideMenuComponent_grid_menu_closure.prototype = { + call$1(ev) { + var t1, t2; + type$.SyntheticMouseEvent._as(ev); + t1 = $.__app._readField$0(); + t2 = this.$this.___$SideMenuComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1.dispatch$1(A._$GridChange$_(this.grid, t2.get$displayed_group_name())); }, - $signature: 3 + $signature: 2 }; - Q.SideMenuComponent_grid_menu_closure.prototype = { - call$1: function(ev) { - var t1; - type$.legacy_SyntheticMouseEvent._as(ev); - t1 = this.$this._menu_side$_cachedTypedProps; - return t1.dispatch$1(U._$GridChange$_(this.grid, t1.get$displayed_group_name())); + A.SideMenuComponent_set_new_parameters_for_current_group_closure.prototype = { + call$0() { + return this.$this.ask_new_parameters_for_current_group$1(this.groups); }, - $signature: 3 + $signature: 5 }; - Q.SideMenuComponent_add_new_group_closure.prototype = { - call$0: function() { + A.SideMenuComponent_adjust_helix_indices_for_current_group_closure.prototype = { + call$0() { + return this.$this.ask_new_helix_indices_for_current_group$1(this.groups); + }, + $signature: 5 + }; + A.SideMenuComponent_add_new_group_closure.prototype = { + call$0() { return this.$this.ask_about_new_group$1(this.existing_names); }, - $signature: 6 + $signature: 5 }; - Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure.prototype = { - call$1: function(saved_items) { + A.SideMenuComponent_ask_new_helix_indices_for_current_group_closure.prototype = { + call$1(saved_items) { var t1, t2; - type$.legacy_BuiltList_legacy_DialogItem._as(saved_items); - for (t1 = J.get$iterator$ax(saved_items._list), t2 = this.items; t1.moveNext$0();) - if (!C.JSArray_methods.any$1(t2, new Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t1.get$current(t1)))) { - t1 = new D._BuiltList(P.List_List$from(t2, false, type$.legacy_DialogItem), type$._BuiltList_legacy_DialogItem); + type$.BuiltList_DialogItem._as(saved_items); + for (t1 = saved_items._list, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), t2 = this.items; t1.moveNext$0();) + if (!B.JSArray_methods.any$1(t2, new A.SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t1.__interceptors$_current))) { + t1 = new A._BuiltList(A.List_List$from(t2, false, type$.DialogItem), type$._BuiltList_DialogItem); t1._maybeCheckForNull$0(); return t1; } return saved_items; }, - $signature: 162 + $signature: 145 }; - Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure.prototype = { - call$1: function(e) { + A.SideMenuComponent_ask_new_helix_indices_for_current_group__closure.prototype = { + call$1(e) { var t1; - type$.legacy_DialogItem._as(e); + type$.DialogItem._as(e); t1 = this.saved_item; return e.get$label(e) === t1.get$label(t1); }, - $signature: 525 + $signature: 533 }; - Q.$SideMenuComponentFactory_closure.prototype = { - call$0: function() { - return new Q._$SideMenuComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + A.$SideMenuComponentFactory_closure.prototype = { + call$0() { + return new A._$SideMenuComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 526 + $signature: 534 }; - Q._$$SideMenuProps.prototype = { - get$$$isClassGenerated: function() { + A._$$SideMenuProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$SideMenuComponentFactory() : t1; - }, - $isSideMenuProps: 1 + } }; - Q._$$SideMenuProps$PlainMap.prototype = { - get$props: function(_) { + A._$$SideMenuProps$PlainMap.prototype = { + get$props(_) { return this._menu_side$_props; } }; - Q._$$SideMenuProps$JsMap.prototype = { - get$props: function(_) { + A._$$SideMenuProps$JsMap.prototype = { + get$props(_) { return this._menu_side$_props; } }; - Q._$SideMenuComponent.prototype = { - get$props: function(_) { - return this._menu_side$_cachedTypedProps; + A._$SideMenuComponent.prototype = { + get$props(_) { + var t1 = this.___$SideMenuComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._menu_side$_cachedTypedProps = Q._$$SideMenuProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$SideMenuComponent__cachedTypedProps_A = A._$$SideMenuProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "SideMenu"; }, - get$$$defaultConsumedProps: function() { - return C.Map_savdf.get$values(C.Map_savdf); - } - }; - Q.$SideMenuPropsMixin.prototype = { - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "SideMenuPropsMixin.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - get$displayed_group_name: function() { - var t1 = J.$index$asx(this.get$props(this), "SideMenuPropsMixin.displayed_group_name"); - return H._asStringS(t1 == null ? null : t1); - } - }; - Q._SideMenuComponent_UiComponent2_RedrawCounterMixin.prototype = { - componentDidUpdate$3: function(_, __, ___) { - var t1, _this = this; - _this.super$Component2$componentDidUpdate(_, __, ___); - t1 = ++_this.RedrawCounterMixin_redrawCount; - if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) - return; - _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); - _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); - }, - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + get$$$defaultConsumedProps() { + return B.Map_OTv4L.get$values(B.Map_OTv4L); } }; - Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin.prototype = { - get$groups: function() { - return this.SideMenuPropsMixin_groups; + A.$SideMenuProps.prototype = { + get$displayed_group_name() { + var t1 = J.$index$asx(this.get$props(this), "SideMenuProps.displayed_group_name"); + return A._asStringS(t1 == null ? null : t1); } }; - Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin.prototype = {}; - Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin.prototype = {}; - Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; - D.OxviewViewComponent.prototype = {}; - M.ConnectedPotentialCrossoverView_closure.prototype = { - call$1: function(potential_crossover) { - var t1; - type$.legacy_PotentialCrossover._as(potential_crossover); - t1 = M.potential_crossover_view___$PotentialCrossoverView$closure().call$0(); - t1.toString; - J.$indexSet$ax(J.get$props$x(t1), string$.PotentC, potential_crossover); - return t1; + A.__$$SideMenuProps_UiProps_SideMenuProps.prototype = {}; + A.__$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps.prototype = {}; + A.OxviewViewComponent.prototype = {}; + A.ConnectedPotentialCrossoverView_closure.prototype = { + call$1(potential_crossover) { + type$.PotentialCrossover._as(potential_crossover); + return A.set_potential_crossover_props(A.potential_crossover_view___$PotentialCrossoverView$closure().call$0(), potential_crossover); }, - $signature: 527 + $signature: 535 }; - M.PotentialCrossoverViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - M.PotentialCrossoverViewComponent.prototype = { - render$0: function(_) { + A.PotentialCrossoverViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.PotentialCrossoverViewComponent.prototype = { + render$0(_) { var t2, t3, _null = null, - t1 = this._potential_crossover_view$_cachedTypedProps; + t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, string$.PotentC); if (t1 == null) t1 = _null; - type$.legacy_PotentialCrossover._as(t1); + type$.nullable_PotentialCrossover._as(t1); if (t1 == null) return _null; t2 = A.SvgProps$($.$get$line(), _null); t3 = t1.start_point; - t2.set$x1(0, H.S(t3.x)); - t2.set$y1(0, H.S(t3.y)); + t2.set$x1(0, A.S(t3.x)); + t2.set$y1(0, A.S(t3.y)); t3 = t1.current_point; - t2.set$x2(0, H.S(t3.x)); - t2.set$y2(0, H.S(t3.y)); + t2.set$x2(0, A.S(t3.x)); + t2.set$y2(0, A.S(t3.y)); t2.set$className(0, "potential-segment"); t2.set$stroke(0, t1.color); - t1 = this._potential_crossover_view$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "PotentialCrossoverViewProps.id"); - t2.set$id(0, H._asStringS(t1 == null ? _null : t1)); + t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A; + t1 = t1.get$props(t1).$index(0, "PotentialCrossoverViewProps.id_"); + t2.set$id(0, A._asStringS(t1 == null ? _null : t1)); return t2.call$0(); } }; - M.$PotentialCrossoverViewComponentFactory_closure.prototype = { - call$0: function() { - return new M._$PotentialCrossoverViewComponent(null); + A.$PotentialCrossoverViewComponentFactory_closure.prototype = { + call$0() { + return new A._$PotentialCrossoverViewComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 528 + $signature: 536 }; - M._$$PotentialCrossoverViewProps.prototype = { - get$$$isClassGenerated: function() { + A._$$PotentialCrossoverViewProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$PotentialCrossoverViewComponentFactory() : t1; } }; - M._$$PotentialCrossoverViewProps$PlainMap.prototype = { - get$props: function(_) { + A._$$PotentialCrossoverViewProps$PlainMap.prototype = { + get$props(_) { return this._potential_crossover_view$_props; } }; - M._$$PotentialCrossoverViewProps$JsMap.prototype = { - get$props: function(_) { + A._$$PotentialCrossoverViewProps$JsMap.prototype = { + get$props(_) { return this._potential_crossover_view$_props; } }; - M._$PotentialCrossoverViewComponent.prototype = { - get$props: function(_) { - return this._potential_crossover_view$_cachedTypedProps; + A._$PotentialCrossoverViewComponent.prototype = { + get$props(_) { + var t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._potential_crossover_view$_cachedTypedProps = M._$$PotentialCrossoverViewProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$PotentialCrossoverViewComponent__cachedTypedProps_A = A._$$PotentialCrossoverViewProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "PotentialCrossoverView"; }, - get$$$defaultConsumedProps: function() { - return C.Map_2jmTs.get$values(C.Map_2jmTs); + get$$$defaultConsumedProps() { + return B.Map_2jwEs.get$values(B.Map_2jwEs); } }; - M.$PotentialCrossoverViewProps.prototype = {}; - M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps.prototype = {}; - M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps.prototype = {}; - R.ConnectedPotentialExtensionsView_closure.prototype = { - call$1: function(potential_extensions) { + A.$PotentialCrossoverViewProps.prototype = {}; + A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps.prototype = {}; + A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps.prototype = {}; + A.ConnectedPotentialExtensionsView_closure.prototype = { + call$2(potential_extensions, props) { var t1; - type$.legacy_DNAExtensionsMove._as(potential_extensions); - t1 = R.potential_extensions_view___$PotentialExtensionsView$closure().call$0(); + type$.DNAExtensionsMove._as(potential_extensions); + type$.PotentialExtensionsViewProps._as(props); + t1 = A.potential_extensions_view___$PotentialExtensionsView$closure().call$0(); t1.toString; J.$indexSet$ax(J.get$props$x(t1), string$.PotentE, potential_extensions); + t1.set$id_(props.get$id_()); return t1; }, - $signature: 529 + $signature: 537 }; - R.PotentialExtensionsViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - R.PotentialExtensionsViewComponent.prototype = { - render$0: function(_) { - var t2, t3, - t1 = this._potential_extensions_view$_cachedTypedProps; + A.PotentialExtensionsViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.PotentialExtensionsViewComponent.prototype = { + render$0(_) { + var t2, t3, t4, t5, + t1 = this.___$PotentialExtensionsViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, string$.PotentE); if (t1 == null) t1 = null; - type$.legacy_DNAExtensionsMove._as(t1); + type$.nullable_DNAExtensionsMove._as(t1); if (t1 == null) return null; t2 = A.SvgProps$($.$get$g(), null); t3 = t1.moves; t3.toString; - return t2.call$1(J.map$1$1$ax(t3._list, t3.$ti._eval$1("ReactElement*(1)")._as(new R.PotentialExtensionsViewComponent_render_closure(this, t1)), type$.legacy_ReactElement)); + t4 = t3._list; + t5 = A._arrayInstanceType(t4); + return t2.call$1(new A.MappedListIterable(t4, t5._eval$1("ReactElement(1)")._as(t3.$ti._eval$1("ReactElement(1)")._as(new A.PotentialExtensionsViewComponent_render_closure(this, t1))), t5._eval$1("MappedListIterable<1,ReactElement>"))); } }; - R.PotentialExtensionsViewComponent_render_closure.prototype = { - call$1: function(move) { - var t1, t2, t3; - type$.legacy_DNAExtensionMove._as(move); + A.PotentialExtensionsViewComponent_render_closure.prototype = { + call$1(move) { + var t1, t2, t3, t4; + type$.DNAExtensionMove._as(move); t1 = A.SvgProps$($.$get$line(), null); t2 = move.attached_end_position; - t1.set$x1(0, H.S(t2.x)); - t1.set$y1(0, H.S(t2.y)); + t1.set$x1(0, A.S(t2.x)); + t1.set$y1(0, A.S(t2.y)); t2 = this.potential_extensions; t3 = move.dna_end; - t1.set$x2(0, H.S(t2.current_point_of$1(t3).x)); - t1.set$y2(0, H.S(t2.current_point_of$1(t3).y)); + t1.set$x2(0, A.S(t2.current_point_of$1(t3).x)); + t1.set$y2(0, A.S(t2.current_point_of$1(t3).y)); t1.set$className(0, "potential-segment"); - t3 = move.color.toHexColor$0(); - t1.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); - t3 = this.$this; - t2 = t3._potential_extensions_view$_cachedTypedProps; - t1.set$key(0, t2.get$id(t2)); - t3 = t3._potential_extensions_view$_cachedTypedProps; - t1.set$id(0, t3.get$id(t3)); + t2 = move.color.toHexColor$0(); + t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); + t2 = this.$this; + t4 = t2.___$PotentialExtensionsViewComponent__cachedTypedProps_A; + t4 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t1.set$key(0, A.S(t4.get$id_()) + "-" + t3.get$id(t3)); + t1.set$id(0, A.S(t2.___$PotentialExtensionsViewComponent__cachedTypedProps_A.get$id_()) + "-" + t3.get$id(t3)); return t1.call$0(); }, - $signature: 530 + $signature: 538 }; - R.$PotentialExtensionsViewComponentFactory_closure.prototype = { - call$0: function() { - return new R._$PotentialExtensionsViewComponent(null); + A.$PotentialExtensionsViewComponentFactory_closure.prototype = { + call$0() { + return new A._$PotentialExtensionsViewComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 531 + $signature: 539 }; - R._$$PotentialExtensionsViewProps.prototype = { - get$$$isClassGenerated: function() { + A._$$PotentialExtensionsViewProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$PotentialExtensionsViewComponentFactory() : t1; } }; - R._$$PotentialExtensionsViewProps$PlainMap.prototype = { - get$props: function(_) { + A._$$PotentialExtensionsViewProps$PlainMap.prototype = { + get$props(_) { return this._potential_extensions_view$_props; } }; - R._$$PotentialExtensionsViewProps$JsMap.prototype = { - get$props: function(_) { + A._$$PotentialExtensionsViewProps$JsMap.prototype = { + get$props(_) { return this._potential_extensions_view$_props; } }; - R._$PotentialExtensionsViewComponent.prototype = { - get$props: function(_) { - return this._potential_extensions_view$_cachedTypedProps; + A._$PotentialExtensionsViewComponent.prototype = { + get$props(_) { + var t1 = this.___$PotentialExtensionsViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._potential_extensions_view$_cachedTypedProps = R._$$PotentialExtensionsViewProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$PotentialExtensionsViewComponent__cachedTypedProps_A = A._$$PotentialExtensionsViewProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "PotentialExtensionsView"; }, - get$$$defaultConsumedProps: function() { - return C.Map_dyoqK.get$values(C.Map_dyoqK); + get$$$defaultConsumedProps() { + return B.Map_dywEo.get$values(B.Map_dywEo); } }; - R.$PotentialExtensionsViewProps.prototype = { - get$id: function(_) { - var t1 = J.$index$asx(this.get$props(this), "PotentialExtensionsViewProps.id"); - return H._asStringS(t1 == null ? null : t1); + A.$PotentialExtensionsViewProps.prototype = { + get$id_() { + var t1 = J.$index$asx(this.get$props(this), "PotentialExtensionsViewProps.id_"); + return A._asStringQ(t1 == null ? null : t1); + }, + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "PotentialExtensionsViewProps.id_", value); } }; - R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps.prototype = {}; - R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps.prototype = {}; - K.PureComponent.prototype = { - shouldComponentUpdate$2: function(nextProps, nextState) { + A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps.prototype = {}; + A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps.prototype = {}; + A.PureComponent.prototype = { + shouldComponentUpdate$2(nextProps, nextState) { var should_update, _this = this, _s8_ = "children", t1 = _this.get$props(_this), t2 = type$.MapEquality_dynamic_dynamic, t3 = type$.dynamic, - t4 = P.LinkedHashMap_LinkedHashMap$of(t1, t3, t3); + t4 = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3); t4.remove$1(0, "key"); t4.remove$1(0, "ref"); t4.remove$1(0, _s8_); - t3 = P.LinkedHashMap_LinkedHashMap$of(nextProps, t3, t3); + t3 = A.LinkedHashMap_LinkedHashMap$of(nextProps, t3, t3); t3.remove$1(0, "key"); t3.remove$1(0, "ref"); t3.remove$1(0, _s8_); - if (new U.MapEquality(C.C_DefaultEquality, C.C_DefaultEquality, t2).equals$2(t4, t3)) { - t3 = type$.legacy_List_dynamic; - should_update = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).equals$2(t3._as(t1.$index(0, _s8_)), t3._as(F.DartValueWrapper_unwrapIfNeeded(nextProps.jsObject.children))); + if (new A.MapEquality(B.C_DefaultEquality, B.C_DefaultEquality, t2).equals$2(t4, t3)) { + t3 = type$.nullable_List_dynamic; + t1 = t3._as(t1.$index(0, _s8_)); + should_update = new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic).equals$2(t1, t3._as(A.DartValueWrapper_unwrapIfNeeded(nextProps.jsObject.children))); } else should_update = false; - return !should_update || !new U.MapEquality(C.C_DefaultEquality, C.C_DefaultEquality, t2).equals$2(_this.get$state(_this), nextState); + return !should_update || !new A.MapEquality(B.C_DefaultEquality, B.C_DefaultEquality, t2).equals$2(_this.get$state(_this), nextState); } }; - Q.ReactBootstrap.prototype = {}; - Q.ReactColor.prototype = {}; + A.ReactBootstrap.prototype = {}; + A.ReactColor.prototype = {}; A.RedrawCounterMixin.prototype = { - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + set$_didRedraw(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.Completer_int._as(_didRedraw); } }; - D.SelectModePropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - D.SelectModeComponent.prototype = { - get$consumedProps: function() { - var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_SelectModePropsMixin_kqe], type$.legacy_Type)), - t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), + A.SelectModePropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectModeComponent.prototype = { + get$consumedProps() { + var t1 = type$.Set_Type._as(A.LinkedHashSet_LinkedHashSet$_literal([B.Type_SelectModePropsMixin_kqe], type$.Type)), + t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U"), t3 = t1.$ti; - return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_scECG.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + return new A.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(B.PropsMetaCollection_Map_scU05.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - render$0: function(_) { + render$0(_) { var t2, t3, t4, all_ends_button, modes, t5, t6, t7, t8, t9, t10, t11, _null = null, _s27_ = "select-mode-button-selected", _s29_ = "select-mode-button-unselected", t1 = A.DomProps$($.$get$button(), _null); - t1.set$onClick(0, new D.SelectModeComponent_render_closure()); + t1.set$onClick(0, new A.SelectModeComponent_render_closure()); t1.set$title(0, "all ends: Selects all of 5' strand, 3'\nstrand, 5' domain, 3' domain."); - t2 = this._select_mode$_cachedTypedProps.get$select_mode_state().modes; + t2 = this.___$SelectModeComponent__cachedTypedProps_A; + t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = t2.get$select_mode_state().modes; t3 = $.$get$SelectModeChoice_ends(); t1.set$className(0, "mode-button " + (t2._set.containsAll$1(t3) ? _s27_ : _s29_)); t1.addTestId$1("scadnano.SelectModeComponent.button.all_ends"); @@ -147992,296 +149309,307 @@ t4 = A.DomProps$($.$get$img(), _null); t4.set$src(0, "images/select_mode_icons/allends.svg"); all_ends_button = t1.call$1(t4.call$0()); - t1 = this._select_mode$_cachedTypedProps; + t1 = this.___$SelectModeComponent__cachedTypedProps_A; t1 = t1.get$props(t1).$index(0, "SelectModePropsMixin.is_origami"); - modes = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? $.$get$SelectModeChoice_all_choices() : $.$get$SelectModeChoice_non_origami_choices(); - t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_SelectModeChoice, type$.legacy_ReactElement); - for (t2 = modes._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.legacy_SelectModeState, t6 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent; t4.moveNext$0();) { - t7 = t4.get$current(t4); - t8 = $.$get$button(); - t9 = {}; - t9 = new L.JsBackedMap(t9); - t8 = new A.DomProps(t8, t9, _null, _null); - t8.get$$$isClassGenerated(); - t10 = t9.jsObject; - t10.onClick = F.DartValueWrapper_wrapIfNeeded(t6._as(new D.SelectModeComponent_render_closure0(t7))); - t10.title = F.DartValueWrapper_wrapIfNeeded(t7.get$tooltip()); - t11 = this._select_mode$_cachedTypedProps; - t11 = t11.get$props(t11).$index(0, "SelectModePropsMixin.select_mode_state"); - t10.className = F.DartValueWrapper_wrapIfNeeded("mode-button " + (t5._as(t11 == null ? _null : t11).modes._set.contains$1(0, t7) ? _s27_ : _s29_)); + modes = A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1)) ? $.$get$SelectModeChoice_all_choices() : $.$get$SelectModeChoice_non_origami_choices(); + t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SelectModeChoice, type$.ReactElement); + for (t2 = modes._list, t3 = A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t2, t2.length, t3), t5 = type$.SelectModeState, t6 = type$.nullable_dynamic_Function_SyntheticMouseEvent; t4.moveNext$0();) { + t7 = t4.__interceptors$_current; + t8 = A.DomProps$($.$get$button(), _null); + t9 = t6._as(new A.SelectModeComponent_render_closure0(t7)); + t10 = t8.props; + t11 = t10.jsObject; + t11.onClick = A.DartValueWrapper_wrapIfNeeded(t9); + t9 = t7.get$tooltip(); + t11.title = A.DartValueWrapper_wrapIfNeeded(t9); + t9 = this.___$SelectModeComponent__cachedTypedProps_A; + t9 = t9.get$props(t9).$index(0, "SelectModePropsMixin.select_mode_state"); + t9 = t5._as(t9 == null ? _null : t9).modes._set.contains$1(0, t7) ? _s27_ : _s29_; + t11.className = A.DartValueWrapper_wrapIfNeeded("mode-button " + t9); t8.addTestId$1("scadnano.SelectModeComponent.button." + t7.name); - t10 = t7.get$display_name(); - t9.$indexSet(0, "key", t10); - t9 = $.$get$img(); - t10 = {}; - t10 = new L.JsBackedMap(t10); - t9 = new A.DomProps(t9, t10, _null, _null); - t9.get$$$isClassGenerated(); - t10.jsObject.src = F.DartValueWrapper_wrapIfNeeded(t7.get$image_file()); + t9 = t7.get$display_name(); + t10.$indexSet(0, "key", t9); + t9 = A.DomProps$($.$get$img(), _null); + t10 = t7.get$image_file(); + t9.props.jsObject.src = A.DartValueWrapper_wrapIfNeeded(t10); t1.$indexSet(0, t7, t8.call$1(t9.call$0())); } - t4 = type$.JSArray_legacy_ReactElement; - t5 = H.setRuntimeTypeInfo([t1.$index(0, C.SelectModeChoice_strand), t1.$index(0, C.SelectModeChoice_domain), all_ends_button], t4); - t4 = H.setRuntimeTypeInfo([], t4); - for (t2 = t3.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (t3 !== C.SelectModeChoice_strand && t3 !== C.SelectModeChoice_domain) + t4 = type$.JSArray_nullable_ReactElement; + t5 = A._setArrayType([t1.$index(0, B.SelectModeChoice_strand), t1.$index(0, B.SelectModeChoice_domain), all_ends_button], t4); + t4 = A._setArrayType([], t4); + for (t2 = new J.ArrayIterator(t2, t2.length, t3); t2.moveNext$0();) { + t3 = t2.__interceptors$_current; + if (t3 !== B.SelectModeChoice_strand && t3 !== B.SelectModeChoice_domain) t4.push(t1.$index(0, t3)); } - C.JSArray_methods.addAll$1(t5, t4); + B.JSArray_methods.addAll$1(t5, t4); t1 = A.DomProps$($.$get$div(), _null); t1.set$id(0, "select-mode"); return t1.call$1(t5); } }; - D.SelectModeComponent_render_closure.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.dispatch$1(U._$SelectModesAdd$_($.$get$SelectModeChoice_ends())); + A.SelectModeComponent_render_closure.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A._$SelectModesAdd$_($.$get$SelectModeChoice_ends())); }, - $signature: 3 + $signature: 2 }; - D.SelectModeComponent_render_closure0.prototype = { - call$1: function(_) { - type$.legacy_SyntheticMouseEvent._as(_); - return $.app.dispatch$1(U.SelectModeToggle_SelectModeToggle(this.mode)); + A.SelectModeComponent_render_closure0.prototype = { + call$1(_) { + type$.SyntheticMouseEvent._as(_); + return $.__app._readField$0().dispatch$1(A.SelectModeToggle_SelectModeToggle(this.mode)); }, - $signature: 3 + $signature: 2 }; - D.$SelectModeComponentFactory_closure.prototype = { - call$0: function() { - return new D._$SelectModeComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + A.$SelectModeComponentFactory_closure.prototype = { + call$0() { + return new A._$SelectModeComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 532 + $signature: 540 }; - D._$$SelectModeProps.prototype = { - get$$$isClassGenerated: function() { + A._$$SelectModeProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$SelectModeComponentFactory() : t1; } }; - D._$$SelectModeProps$PlainMap.prototype = { - get$props: function(_) { + A._$$SelectModeProps$PlainMap.prototype = { + get$props(_) { return this._select_mode$_props; } }; - D._$$SelectModeProps$JsMap.prototype = { - get$props: function(_) { + A._$$SelectModeProps$JsMap.prototype = { + get$props(_) { return this._select_mode$_props; } }; - D._$SelectModeComponent.prototype = { - get$props: function(_) { - return this._select_mode$_cachedTypedProps; + A._$SelectModeComponent.prototype = { + get$props(_) { + var t1 = this.___$SelectModeComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._select_mode$_cachedTypedProps = D._$$SelectModeProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$SelectModeComponent__cachedTypedProps_A = A._$$SelectModeProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "SelectMode"; }, - get$$$defaultConsumedProps: function() { - return C.Map_scECG.get$values(C.Map_scECG); + get$$$defaultConsumedProps() { + return B.Map_scU05.get$values(B.Map_scU05); } }; - D.$SelectModePropsMixin.prototype = { - get$select_mode_state: function() { + A.$SelectModePropsMixin.prototype = { + get$select_mode_state() { var t1 = J.$index$asx(this.get$props(this), "SelectModePropsMixin.select_mode_state"); if (t1 == null) t1 = null; - return type$.legacy_SelectModeState._as(t1); + return type$.SelectModeState._as(t1); } }; - D._SelectModeComponent_UiComponent2_RedrawCounterMixin.prototype = { - componentDidUpdate$3: function(_, __, ___) { + A._SelectModeComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3(_, __, ___) { var t1, _this = this; _this.super$Component2$componentDidUpdate(_, __, ___); t1 = ++_this.RedrawCounterMixin_redrawCount; if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) return; _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); - _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); - }, - set$_didRedraw: function(_didRedraw) { - this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + _this.set$_didRedraw(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int)); } }; - D.__$$SelectModeProps_UiProps_SelectModePropsMixin.prototype = {}; - D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin.prototype = {}; - D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin.prototype = {}; - D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; - Y.ConnectedSelectionBoxView_closure.prototype = { - call$1: function(box) { + A.__$$SelectModeProps_UiProps_SelectModePropsMixin.prototype = {}; + A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin.prototype = {}; + A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin.prototype = {}; + A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; + A.ConnectedSelectionBoxView_closure.prototype = { + call$2(box, props) { var t1; - type$.legacy_SelectionBox._as(box); - t1 = Y.selection_box_view___$SelectionBoxView$closure().call$0(); + type$.SelectionBox._as(box); + type$.SelectionBoxViewProps._as(props); + t1 = A.selection_box_view___$SelectionBoxView$closure().call$0(); t1.toString; J.$indexSet$ax(J.get$props$x(t1), "SelectionBoxViewProps.selection_box", box); + t1.set$stroke_width_getter(props.get$stroke_width_getter()); + t1.set$id_(props.get$id_()); + t1.set$is_main(props.get$is_main()); return t1; }, - $signature: 533 + $signature: 541 }; - Y.SelectionBoxViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; - Y.SelectionBoxViewComponent.prototype = { - render$0: function(_) { + A.SelectionBoxViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectionBoxViewComponent.prototype = { + render$0(_) { var stroke_width, t2, t3, t4, _this = this, _null = null, - t1 = _this._selection_box_view$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "SelectionBoxViewProps.selection_box"); - if (t1 == null) - t1 = _null; - type$.legacy_SelectionBox._as(t1); - stroke_width = _this._selection_box_view$_cachedTypedProps.stroke_width_getter$0(); - if (t1 == null) + t1 = _this.___$SelectionBoxViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$selection_box() == null || _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$stroke_width_getter() == null || _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$id_() == null || _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$is_main() == null) return _null; - t2 = _this._selection_box_view$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "SelectionBoxViewProps.is_main"); - if (H._asBoolS(t2 == null ? _null : t2) !== t1.is_main) + t1 = _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$selection_box(); + t1.toString; + stroke_width = _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$stroke_width_getter().call$0(); + t2 = _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$is_main(); + t2.toString; + if (t2 !== t1.is_main) return _null; t2 = A.SvgProps$($.$get$rect(), _null); t3 = t1.start; t4 = t1.current; - t2.set$x(0, Math.min(H.checkNum(t3.x), H.checkNum(t4.x))); - t2.set$y(0, Math.min(H.checkNum(t3.y), H.checkNum(t4.y))); + t2.set$x(0, Math.min(A.checkNum(t3.x), A.checkNum(t4.x))); + t2.set$y(0, Math.min(A.checkNum(t3.y), A.checkNum(t4.y))); t2.set$width(0, t1.get$width(t1)); t2.set$height(0, t1.get$height(t1)); t2.set$strokeWidth(stroke_width); - t1 = _this._selection_box_view$_cachedTypedProps; - t1 = t1.get$props(t1).$index(0, "SelectionBoxViewProps.id"); - t2.set$id(0, H._asStringS(t1 == null ? _null : t1)); + t2.set$id(0, _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$id_()); t2.set$className(0, "selection-box"); return t2.call$0(); } }; - Y.$SelectionBoxViewComponentFactory_closure.prototype = { - call$0: function() { - return new Y._$SelectionBoxViewComponent(null); + A.$SelectionBoxViewComponentFactory_closure.prototype = { + call$0() { + return new A._$SelectionBoxViewComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 534 + $signature: 542 }; - Y._$$SelectionBoxViewProps.prototype = { - get$$$isClassGenerated: function() { + A._$$SelectionBoxViewProps.prototype = { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$SelectionBoxViewComponentFactory() : t1; } }; - Y._$$SelectionBoxViewProps$PlainMap.prototype = { - get$props: function(_) { + A._$$SelectionBoxViewProps$PlainMap.prototype = { + get$props(_) { return this._selection_box_view$_props; } }; - Y._$$SelectionBoxViewProps$JsMap.prototype = { - get$props: function(_) { + A._$$SelectionBoxViewProps$JsMap.prototype = { + get$props(_) { return this._selection_box_view$_props; } }; - Y._$SelectionBoxViewComponent.prototype = { - get$props: function(_) { - return this._selection_box_view$_cachedTypedProps; + A._$SelectionBoxViewComponent.prototype = { + get$props(_) { + var t1 = this.___$SelectionBoxViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._selection_box_view$_cachedTypedProps = Y._$$SelectionBoxViewProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$SelectionBoxViewComponent__cachedTypedProps_A = A._$$SelectionBoxViewProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "SelectionBoxView"; }, - get$$$defaultConsumedProps: function() { - return C.Map_Ek5C1.get$values(C.Map_Ek5C1); + get$$$defaultConsumedProps() { + return B.Map_EkiDg.get$values(B.Map_EkiDg); } }; - Y.$SelectionBoxViewProps.prototype = { - get$stroke_width_getter: function() { + A.$SelectionBoxViewProps.prototype = { + get$selection_box() { + var t1 = J.$index$asx(this.get$props(this), "SelectionBoxViewProps.selection_box"); + if (t1 == null) + t1 = null; + return type$.nullable_SelectionBox._as(t1); + }, + get$stroke_width_getter() { var t1 = J.$index$asx(this.get$props(this), string$.SelectB); if (t1 == null) t1 = null; - return type$.legacy_legacy_num_Function._as(t1); + return type$.nullable_num_Function._as(t1); }, - set$stroke_width_getter: function(value) { - type$.legacy_legacy_num_Function._as(value); + set$stroke_width_getter(value) { + type$.nullable_num_Function._as(value); J.$indexSet$ax(this.get$props(this), string$.SelectB, value); }, - set$id: function(_, value) { - J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.id", value); + get$id_() { + var t1 = J.$index$asx(this.get$props(this), "SelectionBoxViewProps.id_"); + return A._asStringQ(t1 == null ? null : t1); }, - set$is_main: function(value) { - J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.is_main", value); + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.id_", value); + }, + get$is_main() { + var t1 = J.$index$asx(this.get$props(this), "SelectionBoxViewProps.is_main"); + return A._asBoolQ(t1 == null ? null : t1); }, - stroke_width_getter$0: function() { - return this.get$stroke_width_getter().call$0(); + set$is_main(value) { + J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.is_main", value); } }; - Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps.prototype = {}; - Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps.prototype = {}; + A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps.prototype = {}; + A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps.prototype = {}; A.ConnectedSelectionRopeView_closure.prototype = { - call$1: function(rope) { + call$2(rope, props) { var t1; - type$.legacy_SelectionRope._as(rope); + type$.SelectionRope._as(rope); + type$.SelectionRopeViewProps._as(props); t1 = A.selection_rope_view___$SelectionRopeView$closure().call$0(); t1.toString; J.$indexSet$ax(J.get$props$x(t1), "SelectionRopeViewProps.selection_rope", rope); + t1.set$stroke_width_getter(props.get$stroke_width_getter()); + t1.set$id_(props.get$id_()); + t1.set$is_main(props.get$is_main()); return t1; }, - $signature: 535 + $signature: 543 }; A.SelectionRopeViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; A.SelectionRopeViewComponent.prototype = { - render$0: function(_) { - var stroke_width, t2, t3, t4, potential_is_illegal, points_str_potential, draw_potential, _this = this, _null = null, + render$0(_) { + var t2, stroke_width, t3, t4, potential_is_illegal, points_str_potential, draw_potential, _this = this, _null = null, _s14_ = "selection-rope", _s24_ = "selection-rope-potential", - t1 = _this._selection_rope_view$_cachedTypedProps; + t1 = _this.___$SelectionRopeViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "SelectionRopeViewProps.selection_rope"); if (t1 == null) t1 = _null; - type$.legacy_SelectionRope._as(t1); - stroke_width = _this._selection_rope_view$_cachedTypedProps.stroke_width_getter$0(); - if (t1 == null) + type$.nullable_SelectionRope._as(t1); + t2 = t1 == null; + if (t2 || _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$stroke_width_getter() == null || _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$id_() == null || _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$is_main() == null) return _null; - t2 = _this._selection_rope_view$_cachedTypedProps; - t2 = t2.get$props(t2).$index(0, "SelectionRopeViewProps.is_main"); - if (H._asBoolS(t2 == null ? _null : t2) != t1.is_main) + stroke_width = _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$stroke_width_getter().call$0(); + if (t2) + return _null; + t2 = _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$is_main(); + t2.toString; + if (t2 !== t1.is_main) return _null; t2 = t1.points._list; - t3 = J.getInterceptor$asx(t2); - if (t3.get$length(t2) === 0) + if (t2.length === 0) return _null; else { - t4 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); - for (t2 = t3.get$iterator(t2); t2.moveNext$0();) { - t3 = t2.get$current(t2); - t4.push(H.S(t3.x) + "," + H.S(t3.y) + " "); + t3 = A._setArrayType([], type$.JSArray_String); + for (t2 = new J.ArrayIterator(t2, t2.length, A._arrayInstanceType(t2)._eval$1("ArrayIterator<1>")); t2.moveNext$0();) { + t4 = t2.__interceptors$_current; + t3.push(A.S(t4.x) + "," + A.S(t4.y) + " "); } potential_is_illegal = t1.potential_is_illegal$0(); - points_str_potential = P.List_List$from(t4, true, type$.legacy_String); + points_str_potential = A.List_List$from(t3, true, type$.String); t1 = t1.current_point; draw_potential = t1 != null; if (draw_potential) - C.JSArray_methods.add$1(points_str_potential, H.S(t1.x) + "," + H.S(t1.y)); + B.JSArray_methods.add$1(points_str_potential, A.S(t1.x) + "," + A.S(t1.y)); t1 = A.SvgProps$($.$get$polygon(), _null); - t1.set$points(0, t4); + t1.set$points(0, t3); t1.set$strokeWidth(stroke_width); - t4 = _this._selection_rope_view$_cachedTypedProps; - t1.set$id(0, t4.get$id(t4)); + t1.set$id(0, _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$id_()); t1.set$className(0, _s14_); t1.set$key(0, _s14_); - t1 = H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); + t1 = A._setArrayType([t1.call$0()], type$.JSArray_ReactElement); if (draw_potential) { t2 = A.SvgProps$($.$get$polygon(), _null); t2.set$points(0, points_str_potential); t2.set$strokeWidth(stroke_width); - t3 = _this._selection_rope_view$_cachedTypedProps; - t2.set$id(0, t3.get$id(t3)); + t2.set$id(0, _this.___$SelectionRopeViewComponent__cachedTypedProps_A.get$id_()); t2.set$className(0, _s24_ + (potential_is_illegal ? "-illegal" : "")); t2.set$key(0, _s24_); t1.push(t2.call$0()); @@ -148291,192 +149619,222 @@ } }; A.$SelectionRopeViewComponentFactory_closure.prototype = { - call$0: function() { + call$0() { return new A._$SelectionRopeViewComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 536 + $signature: 544 }; A._$$SelectionRopeViewProps.prototype = { - get$$$isClassGenerated: function() { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$SelectionRopeViewComponentFactory() : t1; } }; A._$$SelectionRopeViewProps$PlainMap.prototype = { - get$props: function(_) { + get$props(_) { return this._selection_rope_view$_props; } }; A._$$SelectionRopeViewProps$JsMap.prototype = { - get$props: function(_) { + get$props(_) { return this._selection_rope_view$_props; } }; A._$SelectionRopeViewComponent.prototype = { - get$props: function(_) { - return this._selection_rope_view$_cachedTypedProps; + get$props(_) { + var t1 = this.___$SelectionRopeViewComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._selection_rope_view$_cachedTypedProps = A._$$SelectionRopeViewProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$SelectionRopeViewComponent__cachedTypedProps_A = A._$$SelectionRopeViewProps$JsMap$(A.getBackingMap(value)); }, - get$displayName: function(_) { + get$displayName(_) { return "SelectionRopeView"; }, - get$$$defaultConsumedProps: function() { - return C.Map_vS6pM.get$values(C.Map_vS6pM); + get$$$defaultConsumedProps() { + return B.Map_vSouM.get$values(B.Map_vSouM); } }; A.$SelectionRopeViewProps.prototype = { - get$stroke_width_getter: function() { + get$stroke_width_getter() { var t1 = J.$index$asx(this.get$props(this), string$.SelectR); if (t1 == null) t1 = null; - return type$.legacy_legacy_num_Function._as(t1); + return type$.nullable_num_Function._as(t1); + }, + set$stroke_width_getter(value) { + type$.nullable_num_Function._as(value); + J.$indexSet$ax(this.get$props(this), string$.SelectR, value); }, - get$id: function(_) { - var t1 = J.$index$asx(this.get$props(this), "SelectionRopeViewProps.id"); - return H._asStringS(t1 == null ? null : t1); + get$id_() { + var t1 = J.$index$asx(this.get$props(this), "SelectionRopeViewProps.id_"); + return A._asStringQ(t1 == null ? null : t1); }, - stroke_width_getter$0: function() { - return this.get$stroke_width_getter().call$0(); + set$id_(value) { + J.$indexSet$ax(this.get$props(this), "SelectionRopeViewProps.id_", value); + }, + get$is_main() { + var t1 = J.$index$asx(this.get$props(this), "SelectionRopeViewProps.is_main"); + return A._asBoolQ(t1 == null ? null : t1); + }, + set$is_main(value) { + J.$indexSet$ax(this.get$props(this), "SelectionRopeViewProps.is_main", value); } }; A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps.prototype = {}; A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps.prototype = {}; A.ConnectedStrandOrSubstrandColorPicker_closure.prototype = { - call$1: function(state) { - var t4, t5, - t1 = type$.legacy_AppState._as(state).ui_state, - t2 = t1.color_picker_strand, - t3 = t2 == null, - color = t3 ? null : t2.color; - t1 = t1.color_picker_substrand; - if ((t1 == null ? null : t1.get$color(t1)) != null) - color = t1.get$color(t1); - t4 = A.strand_color_picker___$StrandOrSubstrandColorPicker$closure().call$0(); - t4.toString; - t5 = J.getInterceptor$x(t4); - J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.color", color); - J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.show", !t3); - J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.strand", t2); - J.$indexSet$ax(t5.get$props(t4), string$.Strand, t1); - return t4; + call$1(state) { + var t1, t2, t3, t4, color; + type$.AppState._as(state); + t1 = A.strand_color_picker___$StrandOrSubstrandColorPicker$closure().call$0(); + t2 = state.ui_state; + t3 = t2.color_picker_strand; + t4 = t3 == null; + color = t4 ? null : t3.color; + t2 = t2.color_picker_substrand; + if ((t2 == null ? null : t2.get$color(t2)) != null) + color = t2.get$color(t2); + J.$indexSet$ax(t1.get$props(t1), "StrandOrSubstrandColorPickerProps.color", color); + t1.set$show(0, !t4); + J.$indexSet$ax(t1.get$props(t1), "StrandOrSubstrandColorPickerProps.strand", t3); + J.$indexSet$ax(t1.get$props(t1), string$.Strand, t2); + return t1; }, - $signature: 537 + $signature: 545 }; A.StrandOrSubstrandColorPickerProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; A.StrandOrSubstrandColorPickerState.prototype = {$isMap: 1}; A.StrandOrSubstrandColorPickerComponent.prototype = { - handleOnChangeComplete$2: function(color, _) { - type$.legacy_JSColor._as(color); - this._strand_color_picker$_cachedTypedState.set$color(0, S.HexColor_HexColor(J.get$hex$x(color))); + handleOnChangeComplete$2(color, _) { + var t1; + type$.JSColor._as(color); + t1 = this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t1.set$color(0, A.HexColor_HexColor(J.get$hex$x(color))); }, - handleOnCancel$1: function(e) { + handleOnCancel$1(e) { var t1 = J.getInterceptor$x(e); t1.preventDefault$0(e); t1.stopPropagation$0(e); - $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); - this._strand_color_picker$_cachedTypedState.set$color(0, null); + $.__app._readField$0().dispatch$1(A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + t1 = this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); + t1.set$color(0, null); }, - handleOnOK$1: function(e) { + handleOnOK$1(e) { var color, t2, t3, action, store, selected_substrands, _this = this, t1 = J.getInterceptor$x(e); t1.preventDefault$0(e); t1.stopPropagation$0(e); - $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); - t1 = _this._strand_color_picker$_cachedTypedState; + $.__app._readField$0().dispatch$1(A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedState"); color = t1.get$color(t1); if (color != null) { - if (_this._strand_color_picker$_cachedTypedProps.get$substrand() == null) { - t1 = _this._strand_color_picker$_cachedTypedProps.get$strand().color; - t2 = color.get$hashCode(color); - t1 = t1.get$hashCode(t1); - t1 = t2 !== t1; - } else + t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + if (t1.get$substrand() == null) + if (_this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$strand() != null) { + t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$strand().color; + t2 = color.get$hashCode(color); + t1 = t1.get$hashCode(t1); + t1 = t2 !== t1; + } else + t1 = false; + else t1 = false; if (t1) { t1 = _this.color_set_strand_action_creator$1(color); - t2 = _this._strand_color_picker$_cachedTypedProps.get$strand(); - t3 = $.app.store; + t2 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$strand(); + t2.toString; + t3 = $.__app._readField$0().__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); action = _this.batch_if_multiple_selected_strands$3(t1, t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands()); } else { - if (_this._strand_color_picker$_cachedTypedProps.get$substrand() != null) { - t1 = _this._strand_color_picker$_cachedTypedProps.get$substrand(); + if (_this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$substrand() != null) { + t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$substrand(); t1 = !color.$eq(0, t1.get$color(t1)); } else t1 = false; if (t1) { - t1 = $.app.store; + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); store = t1.get$state(t1).ui_state.selectables_store; - selected_substrands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); - C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_domains()); - C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_extensions()); - C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_loopouts()); - action = _this.batch_if_multiple_selected_substrands$4(_this.color_set_substrand_action_creator$1(color), _this._strand_color_picker$_cachedTypedProps.get$strand(), _this._strand_color_picker$_cachedTypedProps.get$substrand(), selected_substrands); + selected_substrands = A._setArrayType([], type$.JSArray_Substrand); + B.JSArray_methods.addAll$1(selected_substrands, store.get$selected_domains()); + B.JSArray_methods.addAll$1(selected_substrands, store.get$selected_extensions()); + B.JSArray_methods.addAll$1(selected_substrands, store.get$selected_loopouts()); + t1 = _this.color_set_substrand_action_creator$1(color); + t2 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$strand(); + t2.toString; + t3 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$substrand(); + t3.toString; + action = _this.batch_if_multiple_selected_substrands$4(t1, t2, t3, selected_substrands); } else action = null; } if (action != null) - $.app.dispatch$1(action); + $.__app._readField$0().dispatch$1(action); } - _this._strand_color_picker$_cachedTypedState.set$color(0, null); + _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A.set$color(0, null); }, - render$0: function(_) { + render$0(_) { var t2, t3, t4, t5, t6, t7, _this = this, _null = null, _s13_ = "dialog-button", - t1 = _this._strand_color_picker$_cachedTypedProps; + t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$props(t1).$index(0, "StrandOrSubstrandColorPickerProps.show"); - if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { - t1 = A.DomProps$($.$get$div(), _null); - t1.set$className(0, "dialog-form-container"); - t2 = A.DomProps$($.$get$div(), _null); - t2.set$className(0, "dialog-form"); - t3 = A.DomProps$($.$get$form(), _null); - t3.set$onSubmit(0, _this.get$handleOnOK()); - t3.set$className(0, "dialog-form-form"); - t4 = $.$get$SketchPicker(); - t5 = _this._strand_color_picker$_cachedTypedState; - t5 = t5.get$color(t5); - if (t5 == null) { - t5 = _this._strand_color_picker$_cachedTypedProps; - t5 = t5.get$props(t5).$index(0, "StrandOrSubstrandColorPickerProps.color"); - if (t5 == null) - t5 = _null; - type$.legacy_Color._as(t5); - } - t6 = type$.dynamic; - t6 = t4.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["color", t5, "onChangeComplete", _this.get$handleOnChangeComplete()], t6, t6)); - t5 = A.DomProps$($.$get$span(), _null); - t5.set$className(0, "dialog-buttons"); - t5.set$key(0, "buttons"); - t4 = A.DomProps$($.$get$input(), _null); - t4.set$type(0, "submit"); - t4.set$value(0, "OK"); - t4.set$className(0, _s13_); - t4 = t4.call$0(); - t7 = A.DomProps$($.$get$button(), _null); - t7.set$onClick(0, _this.get$handleOnCancel()); - t7.set$className(0, _s13_); - return t1.call$1(t2.call$1(t3.call$2(t6, t5.call$2(t4, t7.call$1("Cancel"))))); - } else + if (!A.boolConversionCheck(A._asBoolS(t1 == null ? _null : t1))) return _null; + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, "dialog-form-container"); + t2 = A.DomProps$($.$get$div(), _null); + t2.set$className(0, "dialog-form"); + t3 = A.DomProps$($.$get$form(), _null); + t3.set$onSubmit(0, _this.get$handleOnOK()); + t3.set$className(0, "dialog-form-form"); + t4 = $.$get$SketchPicker(); + t5 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; + t5 === $ && A.throwLateFieldNI("_cachedTypedState"); + t5 = t5.get$color(t5); + if (t5 == null) { + t5 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; + t5 = t5.get$props(t5).$index(0, "StrandOrSubstrandColorPickerProps.color"); + if (t5 == null) + t5 = _null; + type$.nullable_Color._as(t5); + } + t6 = type$.dynamic; + t6 = t4.call$1(A.LinkedHashMap_LinkedHashMap$_literal(["color", t5, "onChangeComplete", _this.get$handleOnChangeComplete()], t6, t6)); + t5 = A.DomProps$($.$get$span(), _null); + t5.set$className(0, "dialog-buttons"); + t5.set$key(0, "buttons"); + t4 = A.DomProps$($.$get$input(), _null); + t4.set$type(0, "submit"); + t4.set$value(0, "OK"); + t4.set$className(0, _s13_); + t4 = t4.call$0(); + t7 = A.DomProps$($.$get$button(), _null); + t7.set$onClick(0, _this.get$handleOnCancel()); + t7.set$className(0, _s13_); + return t1.call$1(t2.call$1(t3.call$2(t6, t5.call$2(t4, t7.call$1("Cancel"))))); }, - color_set_strand_action_creator$1: function(color) { + color_set_strand_action_creator$1(color) { return new A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure(color); }, - color_set_substrand_action_creator$1: function(color) { + color_set_substrand_action_creator$1(color) { return new A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure(color); }, - batch_if_multiple_selected_strands$3: function(action_creator, strand, selected_strands) { + batch_if_multiple_selected_strands$3(action_creator, strand, selected_strands) { var t1, t2, action; - type$.legacy_legacy_UndoableAction_Function_legacy_Strand._as(action_creator); - type$.legacy_BuiltSet_legacy_Strand._as(selected_strands); + type$.UndoableAction_Function_Strand._as(action_creator); + type$.BuiltSet_Strand._as(selected_strands); t1 = selected_strands._set; if (!t1.get$isEmpty(t1)) t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), strand); @@ -148487,237 +149845,195 @@ else { if (!t1.contains$1(0, strand)) selected_strands = selected_strands.rebuild$1(new A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure(strand)); - t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + t1 = A._setArrayType([], type$.JSArray_UndoableAction); for (t2 = selected_strands._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) t1.push(action_creator.call$1(t2.get$current(t2))); - action = U.BatchAction_BatchAction(t1, "set strands color"); + action = A.BatchAction_BatchAction(t1, "set strands color"); } - return type$.legacy_UndoableAction._as(action); + return action; }, - batch_if_multiple_selected_substrands$4: function(action_creator, strand, substrand, selected_substrands) { + batch_if_multiple_selected_substrands$4(action_creator, strand, substrand, selected_substrands) { var t1, action, design, indv_actions, _i, t2, t3; - type$.legacy_legacy_UndoableAction_Function_2_legacy_Strand_and_legacy_Substrand._as(action_creator); - type$.legacy_List_legacy_Substrand._as(selected_substrands); + type$.UndoableAction_Function_Strand_Substrand._as(action_creator); + type$.List_Substrand._as(selected_substrands); t1 = selected_substrands.length; if (t1 !== 0) - t1 = t1 === 1 && J.$eq$(C.JSArray_methods.get$first(selected_substrands), substrand); + t1 = t1 === 1 && J.$eq$(B.JSArray_methods.get$first(selected_substrands), substrand); else t1 = true; if (t1) action = action_creator.call$2(strand, substrand); else { - if (!C.JSArray_methods.contains$1(selected_substrands, substrand)) - C.JSArray_methods.add$1(selected_substrands, substrand); - t1 = $.app.store; - design = t1.get$state(t1).design; - indv_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); - for (t1 = selected_substrands.length, _i = 0; _i < selected_substrands.length; selected_substrands.length === t1 || (0, H.throwConcurrentModificationError)(selected_substrands), ++_i) { + if (!B.JSArray_methods.contains$1(selected_substrands, substrand)) + B.JSArray_methods.add$1(selected_substrands, substrand); + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + design = t1.get$state(t1).get$design(); + indv_actions = A._setArrayType([], type$.JSArray_UndoableAction); + for (t1 = selected_substrands.length, _i = 0; _i < selected_substrands.length; selected_substrands.length === t1 || (0, A.throwConcurrentModificationError)(selected_substrands), ++_i) { substrand = selected_substrands[_i]; t2 = design.__strands_by_id; if (t2 == null) { - t2 = N.Design.prototype.get$strands_by_id.call(design); + t2 = A.Design.prototype.get$strands_by_id.call(design); design.set$__strands_by_id(t2); } t3 = substrand.get$strand_id(); - C.JSArray_methods.add$1(indv_actions, action_creator.call$2(J.$index$asx(t2._map$_map, t3), substrand)); + t3 = t2._map$_map.$index(0, t3); + t3.toString; + B.JSArray_methods.add$1(indv_actions, action_creator.call$2(t3, substrand)); } - action = U.BatchAction_BatchAction(indv_actions, "set substrands color"); + action = A.BatchAction_BatchAction(indv_actions, "set substrands color"); } - return type$.legacy_UndoableAction._as(action); + return action; } }; A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure.prototype = { - call$1: function(strand) { - return U._$StrandOrSubstrandColorSet$_(this.color, type$.legacy_Strand._as(strand), null); + call$1(strand) { + return A._$StrandOrSubstrandColorSet$_(this.color, type$.Strand._as(strand), null); }, - $signature: 539 + $signature: 547 }; A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure.prototype = { - call$2: function(strand, substrand) { - return U._$StrandOrSubstrandColorSet$_(this.color, strand, substrand); + call$2(strand, substrand) { + return A._$StrandOrSubstrandColorSet$_(this.color, strand, substrand); }, - $signature: 540 + $signature: 548 }; A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure.prototype = { - call$1: function(b) { + call$1(b) { var t1, t2; - type$.legacy_SetBuilder_legacy_Strand._as(b); + type$.SetBuilder_Strand._as(b); t1 = b.$ti._precomputed1; t2 = t1._as(this.strand); if (!$.$get$isSoundMode() && !t1._is(null)) if (t2 == null) - H.throwExpression(P.ArgumentError$("null element")); + A.throwExpression(A.ArgumentError$("null element", null)); return b.get$_safeSet().add$1(0, t2); }, - $signature: 106 + $signature: 82 }; A.JSColor.prototype = {}; A.$StrandOrSubstrandColorPickerComponentFactory_closure.prototype = { - call$0: function() { + call$0() { return new A._$StrandOrSubstrandColorPickerComponent(null); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 541 + $signature: 549 }; A._$$StrandOrSubstrandColorPickerProps.prototype = { - get$$$isClassGenerated: function() { + get$$$isClassGenerated() { return true; }, - get$componentFactory: function() { + get$componentFactory() { var t1 = this.componentFactory; return t1 == null ? $.$get$$StrandOrSubstrandColorPickerComponentFactory() : t1; } }; A._$$StrandOrSubstrandColorPickerProps$PlainMap.prototype = { - get$props: function(_) { + get$props(_) { return this._strand_color_picker$_props; } }; A._$$StrandOrSubstrandColorPickerProps$JsMap.prototype = { - get$props: function(_) { + get$props(_) { return this._strand_color_picker$_props; } }; A._$$StrandOrSubstrandColorPickerState.prototype = { - get$$$isClassGenerated: function() { + get$$$isClassGenerated() { return true; } }; A._$$StrandOrSubstrandColorPickerState$JsMap.prototype = { - get$state: function(_) { + get$state(_) { return this._strand_color_picker$_state; } }; A._$StrandOrSubstrandColorPickerComponent.prototype = { - get$props: function(_) { - return this._strand_color_picker$_cachedTypedProps; + get$props(_) { + var t1 = this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; + t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + return t1; }, - set$props: function(_, value) { - this.props = value; - this._strand_color_picker$_cachedTypedProps = A._$$StrandOrSubstrandColorPickerProps$JsMap$(R.getBackingMap(value)); + set$props(_, value) { + this.super$Component2$props(0, value); + this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A = A._$$StrandOrSubstrandColorPickerProps$JsMap$(A.getBackingMap(value)); }, - set$state: function(_, value) { - this.state = value; - this._strand_color_picker$_cachedTypedState = A._$$StrandOrSubstrandColorPickerState$JsMap$(value); + set$state(_, value) { + this.super$Component2$state(0, value); + this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A = A._$$StrandOrSubstrandColorPickerState$JsMap$(value); }, - get$displayName: function(_) { + get$displayName(_) { return "StrandOrSubstrandColorPicker"; }, - get$$$defaultConsumedProps: function() { - return C.Map_cskMT.get$values(C.Map_cskMT); + get$$$defaultConsumedProps() { + return B.Map_csgs8.get$values(B.Map_csgs8); } }; A.$StrandOrSubstrandColorPickerProps.prototype = { - get$strand: function() { + set$show(_, value) { + J.$indexSet$ax(this.get$props(this), "StrandOrSubstrandColorPickerProps.show", value); + }, + get$strand() { var t1 = J.$index$asx(this.get$props(this), "StrandOrSubstrandColorPickerProps.strand"); if (t1 == null) t1 = null; - return type$.legacy_Strand._as(t1); + return type$.nullable_Strand._as(t1); }, - get$substrand: function() { + get$substrand() { var t1 = J.$index$asx(this.get$props(this), string$.Strand); if (t1 == null) t1 = null; - return type$.legacy_Substrand._as(t1); + return type$.nullable_Substrand._as(t1); } }; A.$StrandOrSubstrandColorPickerState.prototype = { - get$color: function(_) { - var t1 = F.DartValueWrapper_unwrapIfNeeded(this._strand_color_picker$_state.jsObject["StrandOrSubstrandColorPickerState.color"]); + get$color(_) { + var t1 = this._strand_color_picker$_state; + t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["StrandOrSubstrandColorPickerState.color"]); if (t1 == null) t1 = null; - return type$.legacy_Color._as(t1); + return type$.nullable_Color._as(t1); }, - set$color: function(_, value) { - this._strand_color_picker$_state.jsObject["StrandOrSubstrandColorPickerState.color"] = F.DartValueWrapper_wrapIfNeeded(value); + set$color(_, value) { + var t1 = this._strand_color_picker$_state; + t1.jsObject["StrandOrSubstrandColorPickerState.color"] = A.DartValueWrapper_wrapIfNeeded(value); } }; A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps.prototype = {}; A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps.prototype = {}; A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState.prototype = {}; A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState.prototype = {}; - R.TransformByHelixGroupPropsMixin.prototype = { - set$helices: function(helices) { - this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); - }, - set$groups: function(groups) { - this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); - }, - set$geometry: function(_, geometry) { - this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); - }, - get$helices: function() { - return this.TransformByHelixGroupPropsMixin_helices; - }, - get$groups: function() { - return this.TransformByHelixGroupPropsMixin_groups; - }, - get$geometry: function(receiver) { - return this.TransformByHelixGroupPropsMixin_geometry; - } - }; - R.TransformByHelixGroup.prototype = { - transform_of_helix$1: function(helix_idx) { - var _this = this, - helix = J.$index$asx(_this.get$props(_this).get$helices()._map$_map, helix_idx), - t1 = _this.get$props(_this).get$groups(), - t2 = helix.group, - group = J.$index$asx(t1._map$_map, t2); - t2 = _this.get$props(_this); - return group.transform_str$1(t2.get$geometry(t2)); - } - }; - R.$TransformByHelixGroupPropsMixin.prototype = { - get$helices: function() { - var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.helices"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); - }, - set$helices: function(value) { - type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); - J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.helices", value); - }, - get$groups: function() { - var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.groups"); - if (t1 == null) - t1 = null; - return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); - }, - set$groups: function(value) { - type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); - J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.groups", value); - }, - get$geometry: function(_) { - var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.geometry"); - if (t1 == null) - t1 = null; - return type$.legacy_Geometry._as(t1); - }, - set$geometry: function(_, value) { - J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.geometry", value); - } - }; - Q.View.prototype = { - update_showing_oxview$0: function() { - var design_width, oxview_width, _this = this, - t1 = $.app.store, - show_oxview = t1.get$state(t1).ui_state.storables.show_oxview; + A.View.prototype = { + update_showing_oxview$0() { + var show_oxview, design_width, t2, _this = this, + _s11_ = "oxview_view", + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + show_oxview = t1.get$state(t1).ui_state.storables.show_oxview; if (!_this.currently_showing_oxview && show_oxview) { _this.design_oxview_separator.hidden = false; - _this.oxview_view.div.hidden = false; + t1 = _this.__View_oxview_view_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1 = t1.__OxviewViewComponent_div_A; + t1 === $ && A.throwLateFieldNI("div"); + t1.hidden = false; _this.currently_showing_oxview = true; design_width = window.localStorage.getItem("scadnano:design-and-modes-buttons-container-width"); if (design_width == null) - design_width = "66%"; - oxview_width = C.JSNumber_methods.toString$0(100 - P.num_parse(C.JSString_methods.substring$2(design_width, 0, design_width.length - 1))) + "%"; + design_width = "90%"; + t1 = B.JSNumber_methods.toString$0(100 - A.num_parse(B.JSString_methods.substring$2(design_width, 0, design_width.length - 1))); _this.design_and_modes_buttons_container_element.setAttribute("style", "width: " + design_width); - _this.oxview_view.div.setAttribute("style", "width: " + oxview_width); + t2 = _this.__View_oxview_view_A.__OxviewViewComponent_div_A; + t2 === $ && A.throwLateFieldNI("div"); + t2.setAttribute("style", "width: " + (t1 + "%")); self.setup_splits(show_oxview); } else if (!show_oxview) { _this.design_oxview_separator.hidden = true; - _this.oxview_view.div.hidden = true; + t1 = _this.__View_oxview_view_A; + t1 === $ && A.throwLateFieldNI(_s11_); + t1 = t1.__OxviewViewComponent_div_A; + t1 === $ && A.throwLateFieldNI("div"); + t1.hidden = true; if (_this.currently_showing_oxview) { _this.currently_showing_oxview = false; self.setup_splits(false); @@ -148725,90 +150041,92 @@ } } }; - Q.setup_file_drag_and_drop_listener_closure.prototype = { - call$1: function($event) { - type$.legacy_MouseEvent._as($event); + A.setup_file_drag_and_drop_listener_closure.prototype = { + call$1($event) { + type$.MouseEvent._as($event); $event.stopPropagation(); $event.preventDefault(); - C.DataTransfer_methods.set$dropEffect($event.dataTransfer, "copy"); + B.DataTransfer_methods.set$dropEffect($event.dataTransfer, "copy"); }, - $signature: 40 + $signature: 20 }; - Q.setup_file_drag_and_drop_listener_closure0.prototype = { - call$1: function($event) { + A.setup_file_drag_and_drop_listener_closure0.prototype = { + call$1($event) { var files, t1, t2, t3, dot_exts, extensions_str, file, filename, ext, file_reader; - type$.legacy_MouseEvent._as($event); + type$.MouseEvent._as($event); $event.stopPropagation(); $event.preventDefault(); files = $event.dataTransfer.files; - if (files.length === 0) + t1 = files.length; + if (t1 === 0) return; t1 = $.$get$all_scadnano_file_extensions(); t1.toString; - t2 = H._arrayInstanceType(t1); - t3 = t2._eval$1("MappedListIterable<1,String*>"); - dot_exts = P.List_List$of(new H.MappedListIterable(t1, t2._eval$1("String*(1)")._as(new Q.setup_file_drag_and_drop_listener__closure()), t3), true, t3._eval$1("ListIterable.E")); - extensions_str = C.JSString_methods.$add(C.JSArray_methods.join$1(C.JSArray_methods.sublist$2(dot_exts, 0, dot_exts.length - 1), ", ") + ", or ", C.JSArray_methods.get$last(dot_exts)); + t2 = A._arrayInstanceType(t1); + t3 = t2._eval$1("MappedListIterable<1,String>"); + dot_exts = A.List_List$of(new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.setup_file_drag_and_drop_listener__closure()), t3), true, t3._eval$1("ListIterable.E")); + extensions_str = B.JSString_methods.$add(B.JSArray_methods.join$1(B.JSArray_methods.sublist$2(dot_exts, 0, dot_exts.length - 1), ", ") + ", or ", B.JSArray_methods.get$last(dot_exts)); if (files.length > 1) { - C.Window_methods.alert$1(window, "More than one file dropped! Please drop only one " + extensions_str + " file."); + B.Window_methods.alert$1(window, "More than one file dropped! Please drop only one " + extensions_str + " file."); return; } - file = C.FileList_methods.get$first(files); + file = B.FileList_methods.get$first(files); filename = file.name; - ext = X.ParsedPath_ParsedPath$parse(filename, $.$get$context().style)._splitExtension$1(1)[1]; - if (C.JSArray_methods.contains$1(dot_exts, ext.toLowerCase())) { - t1 = $.app.store; - if (t1.get$state(t1).get$has_error() || H.boolConversionCheck(C.Window_methods.confirm$1(window, "Are you sure you want to replace the current design?"))) { + ext = A.ParsedPath_ParsedPath$parse(filename, $.$get$context().style)._splitExtension$1(1)[1]; + if (B.JSArray_methods.contains$1(dot_exts, ext.toLowerCase())) { + t1 = $.__app._readField$0().__App_store_F; + t1 === $ && A.throwLateFieldNI("store"); + if (t1.get$state(t1).get$has_error() || A.boolConversionCheck(B.Window_methods.confirm$1(window, "Are you sure you want to replace the current design?"))) { file_reader = new FileReader(); t1 = type$.nullable_void_Function_legacy_ProgressEvent; - t2 = t1._as(new Q.setup_file_drag_and_drop_listener__closure0(file_reader, filename)); + t2 = t1._as(new A.setup_file_drag_and_drop_listener__closure0(file_reader, filename)); type$.nullable_void_Function._as(null); t3 = type$.legacy_ProgressEvent; - W._EventStreamSubscription$(file_reader, "load", t2, false, t3); - W._EventStreamSubscription$(file_reader, "error", t1._as(new Q.setup_file_drag_and_drop_listener__closure1("error reading file: " + J.toString$0$(file_reader.error))), false, t3); + A._EventStreamSubscription$(file_reader, "load", t2, false, t3); + A._EventStreamSubscription$(file_reader, "error", t1._as(new A.setup_file_drag_and_drop_listener__closure1("error reading file: " + J.toString$0$(file_reader.error))), false, t3); file_reader.readAsText(file); } } else - C.Window_methods.alert$1(window, 'scadnano does not support "' + ext + '" type files. Please drop a ' + extensions_str + " file."); + B.Window_methods.alert$1(window, 'scadnano does not support "' + ext + '" type files. Please drop a ' + extensions_str + " file."); }, - $signature: 40 + $signature: 20 }; - Q.setup_file_drag_and_drop_listener__closure.prototype = { - call$1: function(ext) { - return C.JSString_methods.$add(".", H._asStringS(ext)); + A.setup_file_drag_and_drop_listener__closure.prototype = { + call$1(ext) { + return B.JSString_methods.$add(".", A._asStringS(ext)); }, $signature: 27 }; - Q.setup_file_drag_and_drop_listener__closure0.prototype = { - call$1: function(_) { - type$.legacy_ProgressEvent._as(_); - return D.scadnano_file_loaded(this.file_reader, this.filename); + A.setup_file_drag_and_drop_listener__closure0.prototype = { + call$1(_) { + type$.ProgressEvent._as(_); + return A.scadnano_file_loaded(this.file_reader, this.filename); }, - $signature: 542 + $signature: 51 }; - Q.setup_file_drag_and_drop_listener__closure1.prototype = { - call$1: function(_) { - type$.legacy_ProgressEvent._as(_); - return C.Window_methods.alert$1(window, this.err_msg); + A.setup_file_drag_and_drop_listener__closure1.prototype = { + call$1(_) { + type$.ProgressEvent._as(_); + return B.Window_methods.alert$1(window, this.err_msg); }, - $signature: 82 + $signature: 51 }; - Y.SourceFile.prototype = { - get$length: function(_) { + A.SourceFile.prototype = { + get$length(_) { return this._decodedChars.length; }, - get$lines: function(_) { + get$lines(_) { return this._lineStarts.length; }, - SourceFile$decoded$2$url: function(decodedChars, url) { + SourceFile$decoded$2$url(decodedChars, url) { var t1, t2, t3, i, c, j, t4; for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) { c = t1[i]; if (c === 13) { j = i + 1; if (j < t2) { - if (j >= t2) - return H.ioore(t1, j); + if (!(j < t2)) + return A.ioore(t1, j); t4 = t1[j] !== 10; } else t4 = true; @@ -148816,19 +150134,19 @@ c = 10; } if (c === 10) - C.JSArray_methods.add$1(t3, i + 1); + B.JSArray_methods.add$1(t3, i + 1); } }, - getLine$1: function(offset) { + getLine$1(offset) { var t1, _this = this; if (offset < 0) - throw H.wrapException(P.RangeError$("Offset may not be negative, was " + offset + ".")); + throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (offset > _this._decodedChars.length) - throw H.wrapException(P.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + ".")); + throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + ".")); t1 = _this._lineStarts; - if (offset < C.JSArray_methods.get$first(t1)) + if (offset < B.JSArray_methods.get$first(t1)) return -1; - if (offset >= C.JSArray_methods.get$last(t1)) + if (offset >= B.JSArray_methods.get$last(t1)) return t1.length - 1; if (_this._isNearCachedLine$1(offset)) { t1 = _this._cachedLine; @@ -148837,7 +150155,7 @@ } return _this._cachedLine = _this._binarySearch$1(offset) - 1; }, - _isNearCachedLine$1: function(offset) { + _isNearCachedLine$1(offset) { var t2, t3, t4, t1 = this._cachedLine; if (t1 == null) @@ -148845,13 +150163,13 @@ t2 = this._lineStarts; t3 = t2.length; if (t1 >>> 0 !== t1 || t1 >= t3) - return H.ioore(t2, t1); + return A.ioore(t2, t1); if (offset < t2[t1]) return false; if (!(t1 >= t3 - 1)) { t4 = t1 + 1; - if (t4 >= t3) - return H.ioore(t2, t4); + if (!(t4 < t3)) + return A.ioore(t2, t4); t4 = offset < t2[t4]; } else t4 = true; @@ -148859,8 +150177,8 @@ return true; if (!(t1 >= t3 - 2)) { t4 = t1 + 2; - if (t4 >= t3) - return H.ioore(t2, t4); + if (!(t4 < t3)) + return A.ioore(t2, t4); t4 = offset < t2[t4]; t2 = t4; } else @@ -148871,15 +150189,15 @@ } return false; }, - _binarySearch$1: function(offset) { + _binarySearch$1(offset) { var min, half, t1 = this._lineStarts, t2 = t1.length, max = t2 - 1; for (min = 0; min < max;) { - half = min + C.JSInt_methods._tdivFast$1(max - min, 2); - if (half < 0 || half >= t2) - return H.ioore(t1, half); + half = min + B.JSInt_methods._tdivFast$1(max - min, 2); + if (!(half >= 0 && half < t2)) + return A.ioore(t1, half); if (t1[half] > offset) max = half; else @@ -148887,29 +150205,29 @@ } return max; }, - getColumn$1: function(offset) { + getColumn$1(offset) { var line, lineStart, _this = this; if (offset < 0) - throw H.wrapException(P.RangeError$("Offset may not be negative, was " + offset + ".")); + throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (offset > _this._decodedChars.length) - throw H.wrapException(P.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + ".")); + throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + ".")); line = _this.getLine$1(offset); - lineStart = C.JSArray_methods.$index(_this._lineStarts, line); + lineStart = B.JSArray_methods.$index(_this._lineStarts, line); if (lineStart > offset) - throw H.wrapException(P.RangeError$("Line " + H.S(line) + " comes after offset " + offset + ".")); + throw A.wrapException(A.RangeError$("Line " + A.S(line) + " comes after offset " + offset + ".")); return offset - lineStart; }, - getOffset$1: function(line) { + getOffset$1(line) { var t1, t2, result, t3, _this = this; if (typeof line !== "number") return line.$lt(); if (line < 0) - throw H.wrapException(P.RangeError$("Line may not be negative, was " + line + ".")); + throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + ".")); else { t1 = _this._lineStarts; t2 = t1.length; if (line >= t2) - throw H.wrapException(P.RangeError$("Line " + line + " must be less than the number of lines in the file, " + _this.get$lines(_this) + ".")); + throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + _this.get$lines(_this) + ".")); } result = t1[line]; if (result <= _this._decodedChars.length) { @@ -148918,41 +150236,41 @@ } else t1 = true; if (t1) - throw H.wrapException(P.RangeError$("Line " + line + " doesn't have 0 columns.")); + throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns.")); return result; } }; - Y.FileLocation.prototype = { - get$sourceUrl: function() { + A.FileLocation.prototype = { + get$sourceUrl() { return this.file.url; }, - get$line: function(_) { + get$line(_) { return this.file.getLine$1(this.offset); }, - get$column: function() { + get$column() { return this.file.getColumn$1(this.offset); }, - get$offset: function(receiver) { + get$offset(receiver) { return this.offset; } }; - Y._FileSpan.prototype = { - get$sourceUrl: function() { + A._FileSpan.prototype = { + get$sourceUrl() { return this.file.url; }, - get$length: function(_) { + get$length(_) { return this._file$_end - this._file$_start; }, - get$start: function(_) { - return Y.FileLocation$_(this.file, this._file$_start); + get$start(_) { + return A.FileLocation$_(this.file, this._file$_start); }, - get$end: function(_) { - return Y.FileLocation$_(this.file, this._file$_end); + get$end(_) { + return A.FileLocation$_(this.file, this._file$_end); }, - get$text: function(_) { - return P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._file$_end), 0, null); + get$text(_) { + return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._file$_end), 0, null); }, - get$context: function(_) { + get$context(_) { var t2, _this = this, t1 = _this.file, endOffset = _this._file$_end, @@ -148965,7 +150283,7 @@ t2 = t1.getOffset$1(endLine); if (typeof endLine !== "number") return endLine.$add(); - t1 = P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t1._decodedChars, t2, t1.getOffset$1(endLine + 1)), 0, null); + t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t2, t1.getOffset$1(endLine + 1)), 0, null); } return t1; } @@ -148976,17 +150294,17 @@ return endLine.$add(); endOffset = t1.getOffset$1(endLine + 1); } - return P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null); + return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null); }, - compareTo$1: function(_, other) { + compareTo$1(_, other) { var result; type$.SourceSpan._as(other); - if (!(other instanceof Y._FileSpan)) + if (!(other instanceof A._FileSpan)) return this.super$SourceSpanMixin$compareTo(0, other); - result = C.JSInt_methods.compareTo$1(this._file$_start, other._file$_start); - return result === 0 ? C.JSInt_methods.compareTo$1(this._file$_end, other._file$_end) : result; + result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start); + return result === 0 ? B.JSInt_methods.compareTo$1(this._file$_end, other._file$_end) : result; }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; @@ -148994,18 +150312,18 @@ return _this.super$SourceSpanMixin$$eq(0, other); return _this._file$_start === other._file$_start && _this._file$_end === other._file$_end && J.$eq$(_this.file.url, other.file.url); }, - get$hashCode: function(_) { - return Y.SourceSpanMixin.prototype.get$hashCode.call(this, this); + get$hashCode(_) { + return A.Object_hash(this._file$_start, this._file$_end, this.file.url, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $isFileSpan: 1, $isSourceSpanWithContext: 1 }; - U.Highlighter.prototype = { - highlight$0: function(_) { - var highlightsByColumn, t2, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, t12, t13, index, primaryIdx, primary, _i, _this = this, + A.Highlighter.prototype = { + highlight$0(_) { + var highlightsByColumn, t2, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, t12, t13, index, primaryIdx, primary, _i, _this = this, _null = null, t1 = _this._lines; - _this._writeFileStart$1(C.JSArray_methods.get$first(t1).url); - highlightsByColumn = P.List_List$filled(_this._maxMultilineSpans, null, false, type$.nullable__Highlight); + _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url); + highlightsByColumn = A.List_List$filled(_this._maxMultilineSpans, _null, false, type$.nullable__Highlight); for (t2 = _this._buffer, t3 = highlightsByColumn.length !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) { line = t1[i]; if (i > 0) { @@ -149021,7 +150339,7 @@ t2._contents += "\n"; } } - for (t5 = line.highlights, t6 = H._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new H.ReversedListIterable(t5, t6), t6 = new H.ListIterator(t7, t7.get$length(t7), t6._eval$1("ListIterator")), t7 = line.number, t8 = line.text, t9 = J.getInterceptor$s(t8); t6.moveNext$0();) { + for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t6 = new A.ListIterator(t7, t7.get$length(t7), t6._eval$1("ListIterator")), t7 = line.number, t8 = line.text, t9 = J.getInterceptor$s(t8); t6.moveNext$0();) { t10 = t6.__internal$_current; t11 = t10.span; t12 = t11.get$start(t11); @@ -149033,10 +150351,10 @@ } else t11 = false; if (t11) { - index = C.JSArray_methods.indexOf$1(highlightsByColumn, null); + index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null); if (index < 0) - H.throwExpression(P.ArgumentError$(H.S(highlightsByColumn) + " contains no null elements.")); - C.JSArray_methods.$indexSet(highlightsByColumn, index, t10); + A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null)); + B.JSArray_methods.$indexSet(highlightsByColumn, index, t10); } } _this._writeSidebar$1$line(t7); @@ -149044,12 +150362,12 @@ _this._writeMultilineHighlights$2(line, highlightsByColumn); if (t3) t2._contents += " "; - primaryIdx = C.JSArray_methods.indexWhere$1(t5, new U.Highlighter_highlight_closure()); + primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure()); if (primaryIdx === -1) - primary = null; + primary = _null; else { - if (primaryIdx < 0 || primaryIdx >= t5.length) - return H.ioore(t5, primaryIdx); + if (!(primaryIdx >= 0 && primaryIdx < t5.length)) + return A.ioore(t5, primaryIdx); primary = t5[primaryIdx]; } t6 = primary != null; @@ -149073,19 +150391,19 @@ t1 = t2._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _writeFileStart$1: function(url) { + _writeFileStart$1(url) { var _this = this; - if (!_this._multipleFiles || url == null) + if (!_this._multipleFiles || !type$.Uri._is(url)) _this._writeSidebar$1$end("\u2577"); else { _this._writeSidebar$1$end("\u250c"); - _this._colorize$2$color(new U.Highlighter__writeFileStart_closure(_this), "\x1b[34m"); - _this._buffer._contents += " " + H.S($.$get$context().prettyUri$1(url)); + _this._colorize$1$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m", type$.void); + _this._buffer._contents += " " + $.$get$context().prettyUri$1(url); } _this._buffer._contents += "\n"; }, - _writeMultilineHighlights$3$current: function(line, highlightsByColumn, current) { - var t1, currentColor, t2, t3, t4, foundCurrent, _i, highlight, t5, startLine, t6, endLine, _this = this, _box_0 = {}; + _writeMultilineHighlights$3$current(line, highlightsByColumn, current) { + var t1, currentColor, t2, t3, t4, t5, t6, foundCurrent, _i, highlight, t7, startLine, t8, endLine, _this = this, _box_0 = {}; type$.List_nullable__Highlight._as(highlightsByColumn); _box_0.openedOnThisLine = false; _box_0.openedOnThisLineColor = null; @@ -149094,47 +150412,47 @@ currentColor = null; else currentColor = _this._primaryColor; - for (t2 = highlightsByColumn.length, t3 = _this._primaryColor, t1 = !t1, t4 = _this._buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) { + for (t2 = highlightsByColumn.length, t3 = type$.Null, t4 = _this._primaryColor, t1 = !t1, t5 = _this._buffer, t6 = type$.void, foundCurrent = false, _i = 0; _i < t2; ++_i) { highlight = highlightsByColumn[_i]; - t5 = highlight == null; - if (t5) + t7 = highlight == null; + if (t7) startLine = null; else { - t6 = highlight.span; - t6 = t6.get$start(t6); - startLine = t6.get$line(t6); + t8 = highlight.span; + t8 = t8.get$start(t8); + startLine = t8.get$line(t8); } - if (t5) + if (t7) endLine = null; else { - t6 = highlight.span; - t6 = t6.get$end(t6); - endLine = t6.get$line(t6); + t8 = highlight.span; + t8 = t8.get$end(t8); + endLine = t8.get$line(t8); } if (t1 && highlight === current) { - _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor); + _this._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor, t3); foundCurrent = true; } else if (foundCurrent) - _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor); - else if (t5) + _this._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor, t3); + else if (t7) if (_box_0.openedOnThisLine) - _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor); + _this._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor, t6); else - t4._contents += " "; + t5._contents += " "; else - _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t3); + _this._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t4, t3); } }, - _writeMultilineHighlights$2: function(line, highlightsByColumn) { + _writeMultilineHighlights$2(line, highlightsByColumn) { return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null); }, - _writeHighlightedText$4$color: function(text, startColumn, endColumn, color) { + _writeHighlightedText$4$color(text, startColumn, endColumn, color) { var _this = this; _this._writeText$1(J.substring$2$s(text, 0, startColumn)); - _this._colorize$2$color(new U.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color); - _this._writeText$1(C.JSString_methods.substring$2(text, endColumn, text.length)); + _this._colorize$1$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color, type$.void); + _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length)); }, - _writeIndicator$3: function(line, highlight, highlightsByColumn) { + _writeIndicator$3(line, highlight, highlightsByColumn) { var color, t1, t2, t3, coversWholeLine, _this = this; type$.List_nullable__Highlight._as(highlightsByColumn); color = _this._primaryColor; @@ -149149,170 +150467,173 @@ _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); if (highlightsByColumn.length !== 0) t1._contents += " "; - _this._colorize$2$color(new U.Highlighter__writeIndicator_closure(_this, line, highlight), color); - t1._contents += "\n"; + _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$1$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color, type$.int)); } else { t2 = t1.get$start(t1); t3 = line.number; if (t2.get$line(t2) === t3) { - if (C.JSArray_methods.contains$1(highlightsByColumn, highlight)) + if (B.JSArray_methods.contains$1(highlightsByColumn, highlight)) return; - B.replaceFirstNull(highlightsByColumn, highlight, type$._Highlight); + A.replaceFirstNull(highlightsByColumn, highlight, type$._Highlight); _this._writeSidebar$0(); t1 = _this._buffer; t1._contents += " "; _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); - _this._colorize$2$color(new U.Highlighter__writeIndicator_closure0(_this, line, highlight), color); + _this._colorize$1$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color, type$.void); t1._contents += "\n"; } else { t2 = t1.get$end(t1); if (t2.get$line(t2) === t3) { coversWholeLine = t1.get$end(t1).get$column() === line.text.length; if (coversWholeLine && true) { - B.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); + A.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); return; } _this._writeSidebar$0(); - t1 = _this._buffer; - t1._contents += " "; + _this._buffer._contents += " "; _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); - _this._colorize$2$color(new U.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color); - t1._contents += "\n"; - B.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); + _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$1$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color, type$.int)); + A.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); } } } }, - _writeArrow$3$beginning: function(line, column, beginning) { + _writeArrow$3$beginning(line, column, beginning) { var t1 = beginning ? 0 : 1, t2 = this._buffer; - t1 = t2._contents += C.JSString_methods.$mul("\u2500", 1 + column + this._countTabs$1(J.substring$2$s(line.text, 0, column + t1)) * 3); + t1 = t2._contents += B.JSString_methods.$mul("\u2500", 1 + column + this._countTabs$1(J.substring$2$s(line.text, 0, column + t1)) * 3); t2._contents = t1 + "^"; }, - _writeArrow$2: function(line, column) { + _writeArrow$2(line, column) { return this._writeArrow$3$beginning(line, column, true); }, - _writeText$1: function(text) { + _writeLabel$3(highlight, highlightsByColumn, underlineLength) { + type$.List_nullable__Highlight._as(highlightsByColumn); + this._buffer._contents += "\n"; + return; + }, + _writeText$1(text) { var t1, t2, t3; text.toString; - t1 = new H.CodeUnits(text); - t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); + t1 = new A.CodeUnits(text); + t1 = new A.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); t2 = this._buffer; for (; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 === 9) - t2._contents += C.JSString_methods.$mul(" ", 4); + t2._contents += B.JSString_methods.$mul(" ", 4); else - t2._contents += H.Primitives_stringFromCharCode(t3); + t2._contents += A.Primitives_stringFromCharCode(t3); } }, - _writeSidebar$3$end$line$text: function(end, line, text) { + _writeSidebar$3$end$line$text(end, line, text) { var t1 = {}; t1.text = text; if (line != null) - t1.text = C.JSInt_methods.toString$0(line + 1); - this._colorize$2$color(new U.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m"); + t1.text = B.JSInt_methods.toString$0(line + 1); + this._colorize$1$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m", type$.Null); }, - _writeSidebar$1$end: function(end) { + _writeSidebar$1$end(end) { return this._writeSidebar$3$end$line$text(end, null, null); }, - _writeSidebar$1$text: function(text) { + _writeSidebar$1$text(text) { return this._writeSidebar$3$end$line$text(null, null, text); }, - _writeSidebar$1$line: function(line) { + _writeSidebar$1$line(line) { return this._writeSidebar$3$end$line$text(null, line, null); }, - _writeSidebar$0: function() { + _writeSidebar$0() { return this._writeSidebar$3$end$line$text(null, null, null); }, - _countTabs$1: function(text) { + _countTabs$1(text) { var t1, count; - for (t1 = new H.CodeUnits(text), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) + for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) if (t1.__internal$_current === 9) ++count; return count; }, - _isOnlyWhitespace$1: function(text) { + _isOnlyWhitespace$1(text) { var t1, t2; - for (t1 = new H.CodeUnits(text), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); t1.moveNext$0();) { + for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); t1.moveNext$0();) { t2 = t1.__internal$_current; if (t2 !== 32 && t2 !== 9) return false; } return true; }, - _colorize$2$color: function(callback, color) { - var t1; - type$.void_Function._as(callback); + _colorize$1$2$color(callback, color, $T) { + var t1, result; + $T._eval$1("0()")._as(callback); t1 = this._primaryColor != null; if (t1 && color != null) this._buffer._contents += color; - callback.call$0(); + result = callback.call$0(); if (t1 && color != null) this._buffer._contents += "\x1b[0m"; + return result; } }; - U.Highlighter_closure.prototype = { - call$0: function() { + A.Highlighter_closure.prototype = { + call$0() { return this.color; }, - $signature: 543 + $signature: 550 }; - U.Highlighter$__closure.prototype = { - call$1: function(line) { + A.Highlighter$__closure.prototype = { + call$1(line) { var t1 = type$._Line._as(line).highlights, - t2 = H._arrayInstanceType(t1); - t2 = new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(new U.Highlighter$___closure()), t2._eval$1("WhereIterable<1>")); + t2 = A._arrayInstanceType(t1); + t2 = new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Highlighter$___closure()), t2._eval$1("WhereIterable<1>")); return t2.get$length(t2); }, - $signature: 544 + $signature: 551 }; - U.Highlighter$___closure.prototype = { - call$1: function(highlight) { + A.Highlighter$___closure.prototype = { + call$1(highlight) { var t1 = type$._Highlight._as(highlight).span, t2 = t1.get$start(t1); t2 = t2.get$line(t2); t1 = t1.get$end(t1); return t2 != t1.get$line(t1); }, - $signature: 92 + $signature: 93 }; - U.Highlighter$__closure0.prototype = { - call$1: function(line) { + A.Highlighter$__closure0.prototype = { + call$1(line) { return type$._Line._as(line).url; }, - $signature: 546 + $signature: 553 }; - U.Highlighter__collateLines_closure.prototype = { - call$1: function(highlight) { - return type$._Highlight._as(highlight).span.get$sourceUrl(); + A.Highlighter__collateLines_closure.prototype = { + call$1(highlight) { + var t1 = type$._Highlight._as(highlight).span.get$sourceUrl(); + return t1 == null ? new A.Object() : t1; }, - $signature: 547 + $signature: 554 }; - U.Highlighter__collateLines_closure0.prototype = { - call$2: function(highlight1, highlight2) { + A.Highlighter__collateLines_closure0.prototype = { + call$2(highlight1, highlight2) { var t1 = type$._Highlight; t1._as(highlight1); t1._as(highlight2); return highlight1.span.compareTo$1(0, highlight2.span); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 548 + $signature: 555 }; - U.Highlighter__collateLines_closure1.prototype = { - call$1: function(highlightsForFile) { - var lines, t1, t2, t3, t4, context, t5, linesBeforeSpan, url, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6, t7, t8; - type$.List__Highlight._as(highlightsForFile); - lines = H.setRuntimeTypeInfo([], type$.JSArray__Line); + A.Highlighter__collateLines_closure1.prototype = { + call$1(entry) { + var url, highlightsForFile, lines, t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6, t7; + type$.MapEntry_of_Object_and_List__Highlight._as(entry); + url = entry.key; + highlightsForFile = entry.value; + lines = A._setArrayType([], type$.JSArray__Line); for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) { t4 = t2.get$current(t2).span; context = t4.get$context(t4); - t5 = B.findLineStart(context, t4.get$text(t4), t4.get$start(t4).get$column()); + t5 = A.findLineStart(context, t4.get$text(t4), t4.get$start(t4).get$column()); t5.toString; - t5 = C.JSString_methods.allMatches$1("\n", C.JSString_methods.substring$2(context, 0, t5)); + t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)); linesBeforeSpan = t5.get$length(t5); - url = t4.get$sourceUrl(); t4 = t4.get$start(t4); t4 = t4.get$line(t4); if (typeof t4 !== "number") @@ -149320,95 +150641,88 @@ lineNumber = t4 - linesBeforeSpan; for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) { line = t4[_i]; - if (lines.length === 0 || lineNumber > C.JSArray_methods.get$last(lines).number) - C.JSArray_methods.add$1(lines, new U._Line(line, lineNumber, url, H.setRuntimeTypeInfo([], t3))); + if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number) + B.JSArray_methods.add$1(lines, new A._Line(line, lineNumber, url, A._setArrayType([], t3))); ++lineNumber; } } - activeHighlights = H.setRuntimeTypeInfo([], t3); - for (t2 = lines.length, t3 = type$.bool_Function__Highlight, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, H.throwConcurrentModificationError)(lines), ++_i) { + activeHighlights = A._setArrayType([], t3); + for (t2 = lines.length, t3 = type$.bool_Function__Highlight, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) { line = lines[_i]; - t4 = t3._as(new U.Highlighter__collateLines__closure(line)); + t4 = t3._as(new A.Highlighter__collateLines__closure(line)); if (!!activeHighlights.fixed$length) - H.throwExpression(P.UnsupportedError$("removeWhere")); - C.JSArray_methods._removeWhere$2(activeHighlights, t4, true); + A.throwExpression(A.UnsupportedError$("removeWhere")); + B.JSArray_methods._removeWhere$2(activeHighlights, t4, true); oldHighlightLength = activeHighlights.length; for (t4 = t1.skip$1(highlightsForFile, highlightIndex), t4 = t4.get$iterator(t4); t4.moveNext$0();) { t5 = t4.get$current(t4); t6 = t5.span; - t7 = t6.get$start(t6); - t7 = t7.get$line(t7); - t8 = line.number; - if (typeof t7 !== "number") - return t7.$gt(); - if (t7 > t8) - break; - if (!J.$eq$(t6.get$sourceUrl(), line.url)) + t6 = t6.get$start(t6); + t6 = t6.get$line(t6); + t7 = line.number; + if (typeof t6 !== "number") + return t6.$gt(); + if (t6 > t7) break; - C.JSArray_methods.add$1(activeHighlights, t5); + B.JSArray_methods.add$1(activeHighlights, t5); } highlightIndex += activeHighlights.length - oldHighlightLength; - C.JSArray_methods.addAll$1(line.highlights, activeHighlights); + B.JSArray_methods.addAll$1(line.highlights, activeHighlights); } return lines; }, - $signature: 549 + $signature: 556 }; - U.Highlighter__collateLines__closure.prototype = { - call$1: function(highlight) { - var t1 = type$._Highlight._as(highlight).span, - t2 = this.line; - if (J.$eq$(t1.get$sourceUrl(), t2.url)) { - t1 = t1.get$end(t1); - t1 = t1.get$line(t1); - t2 = t2.number; - if (typeof t1 !== "number") - return t1.$lt(); - t2 = t1 < t2; - t1 = t2; - } else - t1 = true; - return t1; + A.Highlighter__collateLines__closure.prototype = { + call$1(highlight) { + var t2, + t1 = type$._Highlight._as(highlight).span; + t1 = t1.get$end(t1); + t1 = t1.get$line(t1); + t2 = this.line.number; + if (typeof t1 !== "number") + return t1.$lt(); + return t1 < t2; }, - $signature: 92 + $signature: 93 }; - U.Highlighter_highlight_closure.prototype = { - call$1: function(highlight) { + A.Highlighter_highlight_closure.prototype = { + call$1(highlight) { type$._Highlight._as(highlight).toString; return true; }, - $signature: 92 + $signature: 93 }; - U.Highlighter__writeFileStart_closure.prototype = { - call$0: function() { - this.$this._buffer._contents += C.JSString_methods.$mul("\u2500", 2) + ">"; + A.Highlighter__writeFileStart_closure.prototype = { + call$0() { + this.$this._buffer._contents += B.JSString_methods.$mul("\u2500", 2) + ">"; return null; }, $signature: 0 }; - U.Highlighter__writeMultilineHighlights_closure.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights_closure.prototype = { + call$0() { var t1 = this.startLine === this.line.number ? "\u250c" : "\u2514"; this.$this._buffer._contents += t1; }, - $signature: 0 + $signature: 10 }; - U.Highlighter__writeMultilineHighlights_closure0.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights_closure0.prototype = { + call$0() { var t1 = this.highlight == null ? "\u2500" : "\u253c"; this.$this._buffer._contents += t1; }, - $signature: 0 + $signature: 10 }; - U.Highlighter__writeMultilineHighlights_closure1.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights_closure1.prototype = { + call$0() { this.$this._buffer._contents += "\u2500"; return null; }, $signature: 0 }; - U.Highlighter__writeMultilineHighlights_closure2.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights_closure2.prototype = { + call$0() { var t2, t3, _this = this, t1 = _this._box_0, vertical = t1.openedOnThisLine ? "\u253c" : "\u2502"; @@ -149419,7 +150733,7 @@ t3 = t2.number; if (_this.startLine === t3) { t2 = _this.$this; - t2._colorize$2$color(new U.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor); + t2._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor, type$.Null); t1.openedOnThisLine = true; if (t1.openedOnThisLineColor == null) t1.openedOnThisLineColor = t2._primaryColor; @@ -149433,263 +150747,269 @@ if (t2) t3._buffer._contents += "\u2514"; else - t3._colorize$2$color(new U.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor); + t3._colorize$1$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor, type$.Null); } } }, - $signature: 0 + $signature: 10 }; - U.Highlighter__writeMultilineHighlights__closure.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights__closure.prototype = { + call$0() { var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c"; this.$this._buffer._contents += t1; }, - $signature: 0 + $signature: 10 }; - U.Highlighter__writeMultilineHighlights__closure0.prototype = { - call$0: function() { + A.Highlighter__writeMultilineHighlights__closure0.prototype = { + call$0() { this.$this._buffer._contents += this.vertical; }, - $signature: 0 + $signature: 10 }; - U.Highlighter__writeHighlightedText_closure.prototype = { - call$0: function() { + A.Highlighter__writeHighlightedText_closure.prototype = { + call$0() { var _this = this; - return _this.$this._writeText$1(C.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn)); + return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn)); }, $signature: 0 }; - U.Highlighter__writeIndicator_closure.prototype = { - call$0: function() { + A.Highlighter__writeIndicator_closure.prototype = { + call$0() { var tabsBefore, tabsInside, t1 = this.$this, - t2 = type$.SourceSpan._as(this.highlight.span), - startColumn = t2.get$start(t2).get$column(), - endColumn = t2.get$end(t2).get$column(); - t2 = this.line.text; - tabsBefore = t1._countTabs$1(J.substring$2$s(t2, 0, startColumn)); - tabsInside = t1._countTabs$1(C.JSString_methods.substring$2(t2, startColumn, endColumn)); + t2 = t1._buffer, + t3 = t2._contents, + t4 = type$.SourceSpan._as(this.highlight.span), + startColumn = t4.get$start(t4).get$column(), + endColumn = t4.get$end(t4).get$column(); + t4 = this.line.text; + tabsBefore = t1._countTabs$1(J.substring$2$s(t4, 0, startColumn)); + tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t4, startColumn, endColumn)); startColumn += tabsBefore * 3; - t1 = t1._buffer; - t1._contents += C.JSString_methods.$mul(" ", startColumn); - t1._contents += C.JSString_methods.$mul("^", Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1)); + t2._contents += B.JSString_methods.$mul(" ", startColumn); + t2 = t2._contents += B.JSString_methods.$mul("^", Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1)); + return t2.length - t3.length; }, - $signature: 0 + $signature: 169 }; - U.Highlighter__writeIndicator_closure0.prototype = { - call$0: function() { + A.Highlighter__writeIndicator_closure0.prototype = { + call$0() { var t1 = this.highlight.span; return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column()); }, $signature: 0 }; - U.Highlighter__writeIndicator_closure1.prototype = { - call$0: function() { - var t2, _this = this, - t1 = _this.$this; + A.Highlighter__writeIndicator_closure1.prototype = { + call$0() { + var t4, _this = this, + t1 = _this.$this, + t2 = t1._buffer, + t3 = t2._contents; if (_this.coversWholeLine) - t1._buffer._contents += C.JSString_methods.$mul("\u2500", 3); + t2._contents += B.JSString_methods.$mul("\u2500", 3); else { - t2 = _this.highlight.span; - t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false); + t4 = _this.highlight.span; + t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false); } + return t2._contents.length - t3.length; }, - $signature: 0 + $signature: 169 }; - U.Highlighter__writeSidebar_closure.prototype = { - call$0: function() { + A.Highlighter__writeSidebar_closure.prototype = { + call$0() { var t1 = this.$this, t2 = t1._buffer, t3 = this._box_0.text; if (t3 == null) t3 = ""; - t1 = t2._contents += C.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar); + t1 = t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar); t3 = this.end; t2._contents = t1 + (t3 == null ? "\u2502" : t3); }, - $signature: 0 + $signature: 10 }; - U._Highlight.prototype = { - toString$0: function(_) { - var t3, + A._Highlight.prototype = { + toString$0(_) { + var t3, t4, t1 = this.span, t2 = t1.get$start(t1); - t2 = H.S(t2.get$line(t2)) + ":" + t1.get$start(t1).get$column() + "-"; - t3 = t1.get$end(t1); - t1 = "primary " + (t2 + H.S(t3.get$line(t3)) + ":" + t1.get$end(t1).get$column()); + t2 = t2.get$line(t2); + t3 = t1.get$start(t1).get$column(); + t4 = t1.get$end(t1); + t1 = "primary " + (A.S(t2) + ":" + t3 + "-" + A.S(t4.get$line(t4)) + ":" + t1.get$end(t1).get$column()); return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - U._Highlight_closure.prototype = { - call$0: function() { + A._Highlight_closure.prototype = { + call$0() { var t2, t3, t4, t5, t1 = this.span; - if (!(type$.SourceSpanWithContext._is(t1) && B.findLineStart(t1.get$context(t1), t1.get$text(t1), t1.get$start(t1).get$column()) != null)) { + if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(t1), t1.get$start(t1).get$column()) != null)) { t2 = t1.get$start(t1); - t2 = V.SourceLocation$(t2.get$offset(t2), 0, 0, t1.get$sourceUrl()); + t2 = A.SourceLocation$(t2.get$offset(t2), 0, 0, t1.get$sourceUrl()); t3 = t1.get$end(t1); t3 = t3.get$offset(t3); t4 = t1.get$sourceUrl(); - t5 = B.countCodeUnits(t1.get$text(t1), 10); - t1 = X.SourceSpanWithContext$(t2, V.SourceLocation$(t3, U._Highlight__lastLineLength(t1.get$text(t1)), t5, t4), t1.get$text(t1), t1.get$text(t1)); + t5 = A.countCodeUnits(t1.get$text(t1), 10); + t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text(t1)), t5, t4), t1.get$text(t1), t1.get$text(t1)); } - return U._Highlight__normalizeEndOfLine(U._Highlight__normalizeTrailingNewline(U._Highlight__normalizeNewlines(t1))); + return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1))); }, - $signature: 550 + $signature: 558 }; - U._Line.prototype = { - toString$0: function(_) { - return "" + this.number + ': "' + H.S(this.text) + '" (' + C.JSArray_methods.join$1(this.highlights, ", ") + ")"; + A._Line.prototype = { + toString$0(_) { + return "" + this.number + ': "' + A.S(this.text) + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")"; } }; - V.SourceLocation.prototype = { - distance$1: function(other) { + A.SourceLocation.prototype = { + distance$1(other) { var t1 = this.sourceUrl; if (!J.$eq$(t1, other.get$sourceUrl())) - throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t1) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl()) + "\" don't match.", null)); return Math.abs(this.offset - other.get$offset(other)); }, - compareTo$1: function(_, other) { + compareTo$1(_, other) { var t1; type$.SourceLocation._as(other); t1 = this.sourceUrl; if (!J.$eq$(t1, other.get$sourceUrl())) - throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t1) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl()) + "\" don't match.", null)); return this.offset - other.get$offset(other); }, - $eq: function(_, other) { + $eq(_, other) { if (other == null) return false; return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl()) && this.offset === other.get$offset(other); }, - get$hashCode: function(_) { + get$hashCode(_) { var t1 = this.sourceUrl; t1 = t1 == null ? null : t1.get$hashCode(t1); if (t1 == null) t1 = 0; return t1 + this.offset; }, - toString$0: function(_) { + toString$0(_) { var _this = this, - t1 = "<" + H.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ", + t1 = A.getRuntimeType(_this).toString$0(0), source = _this.sourceUrl; - return t1 + (H.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">"; + return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">"; }, $isComparable: 1, - get$sourceUrl: function() { + get$sourceUrl() { return this.sourceUrl; }, - get$offset: function(receiver) { + get$offset(receiver) { return this.offset; }, - get$line: function(receiver) { + get$line(receiver) { return this.line; }, - get$column: function() { + get$column() { return this.column; } }; - D.SourceLocationMixin.prototype = { - distance$1: function(other) { + A.SourceLocationMixin.prototype = { + distance$1(other) { if (!J.$eq$(this.file.url, other.get$sourceUrl())) - throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(this.get$sourceUrl()) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl()) + '" and "' + A.S(other.get$sourceUrl()) + "\" don't match.", null)); return Math.abs(this.offset - other.get$offset(other)); }, - compareTo$1: function(_, other) { + compareTo$1(_, other) { type$.SourceLocation._as(other); if (!J.$eq$(this.file.url, other.get$sourceUrl())) - throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(this.get$sourceUrl()) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl()) + '" and "' + A.S(other.get$sourceUrl()) + "\" don't match.", null)); return this.offset - other.get$offset(other); }, - $eq: function(_, other) { + $eq(_, other) { if (other == null) return false; return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl()) && this.offset === other.get$offset(other); }, - get$hashCode: function(_) { + get$hashCode(_) { var t1 = this.file.url; t1 = t1 == null ? null : t1.get$hashCode(t1); if (t1 == null) t1 = 0; return t1 + this.offset; }, - toString$0: function(_) { - var t1 = this.offset, - t2 = "<" + H.getRuntimeType(this).toString$0(0) + ": " + t1 + " ", + toString$0(_) { + var t1 = A.getRuntimeType(this).toString$0(0), + t2 = this.offset, t3 = this.file, source = t3.url, - t4 = H.S(source == null ? "unknown source" : source) + ":", - t5 = t3.getLine$1(t1); + t4 = A.S(source == null ? "unknown source" : source), + t5 = t3.getLine$1(t2); if (typeof t5 !== "number") return t5.$add(); - return t2 + (t4 + (t5 + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">"; + return "<" + t1 + ": " + t2 + " " + (t4 + ":" + (t5 + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">"; }, $isComparable: 1, $isSourceLocation: 1 }; - V.SourceSpanBase.prototype = { - SourceSpanBase$3: function(start, end, text) { + A.SourceSpanBase.prototype = { + SourceSpanBase$3(start, end, text) { var t3, t1 = this.end, t2 = this.start; if (!J.$eq$(t1.get$sourceUrl(), t2.get$sourceUrl())) - throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t2.get$sourceUrl()) + '" and "' + H.S(t1.get$sourceUrl()) + "\" don't match.")); + throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl()) + '" and "' + A.S(t1.get$sourceUrl()) + "\" don't match.", null)); else if (t1.get$offset(t1) < t2.get$offset(t2)) - throw H.wrapException(P.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".")); + throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null)); else { t3 = this.text; if (t3.length !== t2.distance$1(t1)) - throw H.wrapException(P.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.")); + throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null)); } }, - get$start: function(receiver) { + get$start(receiver) { return this.start; }, - get$end: function(receiver) { + get$end(receiver) { return this.end; }, - get$text: function(receiver) { + get$text(receiver) { return this.text; } }; - G.SourceSpanException.prototype = { - get$message: function(_) { + A.SourceSpanException.prototype = { + get$message(_) { return this._span_exception$_message; }, - toString$0: function(_) { + toString$0(_) { return "Error on " + this._span.message$2$color(0, this._span_exception$_message, null); }, $isException: 1 }; - G.SourceSpanFormatException.prototype = { - get$offset: function(_) { + A.SourceSpanFormatException.prototype = { + get$offset(_) { var t1 = this._span; - t1 = Y.FileLocation$_(t1.file, t1._file$_start); + t1 = A.FileLocation$_(t1.file, t1._file$_start); return t1.offset; }, $isFormatException: 1, - get$source: function(receiver) { + get$source(receiver) { return this.source; } }; - Y.SourceSpanMixin.prototype = { - get$sourceUrl: function() { + A.SourceSpanMixin.prototype = { + get$sourceUrl() { return this.get$start(this).get$sourceUrl(); }, - get$length: function(_) { + get$length(_) { var t2, _this = this, t1 = _this.get$end(_this); t1 = t1.get$offset(t1); t2 = _this.get$start(_this); return t1 - t2.get$offset(t2); }, - compareTo$1: function(_, other) { + compareTo$1(_, other) { var result, _this = this; type$.SourceSpan._as(other); result = _this.get$start(_this).compareTo$1(0, other.get$start(other)); return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result; }, - message$2$color: function(_, message, color) { + message$2$color(_, message, color) { var t2, highlight, _this = this, t1 = _this.get$start(_this); t1 = t1.get$line(t1); @@ -149698,7 +151018,7 @@ t1 = "line " + (t1 + 1) + ", column " + (_this.get$start(_this).get$column() + 1); if (_this.get$sourceUrl() != null) { t2 = _this.get$sourceUrl(); - t2 = t1 + (" of " + H.S($.$get$context().prettyUri$1(t2))); + t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2)); t1 = t2; } t1 += ": " + message; @@ -149707,137 +151027,142 @@ t1 = t1 + "\n" + highlight; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - message$1: function($receiver, message) { + message$1($receiver, message) { return this.message$2$color($receiver, message, null); }, - highlight$1$color: function(_, color) { + highlight$1$color(_, color) { var _this = this; if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0) return ""; - return U.Highlighter$(_this, color).highlight$0(0); + return A.Highlighter$(_this, color).highlight$0(0); }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other)); }, - get$hashCode: function(_) { - var t2, _this = this, - t1 = _this.get$start(_this); - t1 = t1.get$hashCode(t1); - t2 = _this.get$end(_this); - return t1 + 31 * t2.get$hashCode(t2); + get$hashCode(_) { + var _this = this; + return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, - toString$0: function(_) { + toString$0(_) { var _this = this; - return "<" + H.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text(_this) + '">'; + return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text(_this) + '">'; }, $isComparable: 1, $isSourceSpan: 1 }; - X.SourceSpanWithContext.prototype = { - get$context: function(_) { + A.SourceSpanWithContext.prototype = { + get$context(_) { return this._context; } }; - U.OdsDecoder.prototype = { - insertRow$2: function(_, sheet, rowIndex) { + A.OdsDecoder.prototype = { + insertRow$2(_, sheet, rowIndex) { var t1, style, t2, t3, attributes, children, newRow, row, _this = this; _this.super$SpreadsheetDecoder$insertRow(0, sheet, rowIndex); t1 = _this._styleNames.$index(0, "table-row"); t1.toString; - style = C.JSArray_methods.get$first(t1); - t1 = J.$index$asx(_this.get$_sheets(), sheet); + style = B.JSArray_methods.get$first(t1); + t1 = _this.__SpreadsheetDecoder__sheets_A; + t1 === $ && A.throwLateFieldNI("_sheets"); + t1 = t1.$index(0, sheet); t1.toString; - t2 = J.$index$asx(_this.get$_tables(), sheet)._maxCols; + t2 = _this.__SpreadsheetDecoder__tables_A; + t2 === $ && A.throwLateFieldNI("_tables"); + t2 = t2.$index(0, sheet)._maxCols; t3 = type$.JSArray_XmlAttribute; - attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("table:style-name"), style, C.XmlAttributeType_1)], t3); - children = H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("table:table-cell"), H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("table:number-columns-repeated"), C.JSInt_methods.toString$0(t2), C.XmlAttributeType_1)], t3), C.List_empty2, true)], type$.JSArray_XmlNode); - newRow = G.XmlElement$(Q.XmlName_XmlName("table:table-row"), attributes, children, true); - row = U.OdsDecoder__findRowByIndex(t1, rowIndex); + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("table:style-name"), style, B.XmlAttributeType_PIp)], t3); + children = A._setArrayType([A.XmlElement$(A.XmlName_XmlName("table:table-cell"), A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("table:number-columns-repeated"), B.JSInt_methods.toString$0(t2), B.XmlAttributeType_PIp)], t3), B.List_empty2, true)], type$.JSArray_XmlNode); + newRow = A.XmlElement$(A.XmlName_XmlName("table:table-row"), attributes, children, true); + row = A.OdsDecoder__findRowByIndex(t1, rowIndex); t1 = t1.XmlHasChildren_children; if (row != null) - t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0), newRow); + t1.insert$2(0, B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0), newRow); else t1.add$1(0, newRow); }, - updateCell$4: function(sheet, columnIndex, rowIndex, value) { + updateCell$4(sheet, columnIndex, rowIndex, value) { var t1, t2, index, t3, attributes, t4, children, cell; this.super$SpreadsheetDecoder$updateCell(sheet, columnIndex, rowIndex, value); - t1 = J.$index$asx(this.get$_sheets(), sheet); + t1 = this.__SpreadsheetDecoder__sheets_A; + t1 === $ && A.throwLateFieldNI("_sheets"); + t1 = t1.$index(0, sheet); t1.toString; - t1 = U.OdsDecoder__findRowByIndex(t1, rowIndex); + t1 = A.OdsDecoder__findRowByIndex(t1, rowIndex); t1.toString; - t2 = U.OdsDecoder__findCellByIndex(t1, columnIndex); + t2 = A.OdsDecoder__findCellByIndex(t1, columnIndex); t2.toString; t1 = t1.XmlHasChildren_children; - index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(t2), 0); + index = B.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(t2), 0); t2 = value == null; t3 = type$.JSArray_XmlAttribute; - attributes = t2 ? H.setRuntimeTypeInfo([], t3) : H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("office:value-type"), "string", C.XmlAttributeType_1), N.XmlAttribute$(Q.XmlName_XmlName("calcext:value-type"), "string", C.XmlAttributeType_1)], t3); + attributes = t2 ? A._setArrayType([], t3) : A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("office:value-type"), "string", B.XmlAttributeType_PIp), A.XmlAttribute$(A.XmlName_XmlName("calcext:value-type"), "string", B.XmlAttributeType_PIp)], t3); t4 = type$.JSArray_XmlNode; - children = t2 ? H.setRuntimeTypeInfo([], t4) : H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("text:p"), H.setRuntimeTypeInfo([], t3), H.setRuntimeTypeInfo([new L.XmlText(value, null)], t4), true)], t4); - cell = G.XmlElement$(Q.XmlName_XmlName("table:table-cell"), attributes, children, true); + children = t2 ? A._setArrayType([], t4) : A._setArrayType([A.XmlElement$(A.XmlName_XmlName("text:p"), A._setArrayType([], t3), A._setArrayType([new A.XmlText(value, null)], t4), true)], t4); + cell = A.XmlElement$(A.XmlName_XmlName("table:table-cell"), attributes, children, true); t1.removeAt$1(0, index); t1.insert$2(0, index, cell); }, - _parseContent$0: function() { - var $content, _this = this, - file = _this.get$_archive().findFile$1("content.xml"), - t1 = file == null; + _parseContent$0() { + var file, $content, _this = this, + t1 = _this.__SpreadsheetDecoder__archive_A; + t1 === $ && A.throwLateFieldNI("_archive"); + file = t1.findFile$1("content.xml"); + t1 = file == null; if (!t1) file.decompress$0(); t1 = t1 ? null : file.get$content(file); - $content = S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t1))); - if (_this.get$_update(_this) === true) { - t1 = type$.String; - _this.set$__SpreadsheetDecoder__archiveFiles(type$.Map_String_ArchiveFile._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); - _this.set$__SpreadsheetDecoder__sheets(type$.Map_String_XmlElement._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); - _this.set$__SpreadsheetDecoder__xmlFiles(type$.Map_String_XmlDocument._as(P.LinkedHashMap_LinkedHashMap$_literal(["content.xml", $content], t1, type$.XmlDocument))); - _this._parseStyles$1($content); - } - Q.filterElements(new U.XmlDescendantsIterable($content), "table:table", null).forEach$1(0, new U.OdsDecoder__parseContent_closure(_this)); - }, - _parseStyles$1: function($document) { + $content = A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(t1))); + _this.__SpreadsheetDecoder__update_A === $ && A.throwLateFieldNI("_update"); + t1 = type$.String; + _this.set$__SpreadsheetDecoder__archiveFiles_A(type$.Map_String_ArchiveFile._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); + _this.set$__SpreadsheetDecoder__sheets_A(type$.Map_String_XmlElement._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); + _this.set$__SpreadsheetDecoder__xmlFiles_A(type$.Map_String_XmlDocument._as(A.LinkedHashMap_LinkedHashMap$_literal(["content.xml", $content], t1, type$.XmlDocument))); + _this._parseStyles$1($content); + A.filterElements(new A.XmlDescendantsIterable($content), "table:table", null).forEach$1(0, new A.OdsDecoder__parseContent_closure(_this)); + }, + _parseStyles$1($document) { this._styleNames.clear$0(0); - Q.filterElements(new U.XmlDescendantsIterable($document), "style:style", null).forEach$1(0, new U.OdsDecoder__parseStyles_closure(this)); - }, - _parseTable$2: function(node, $name) { - var rows, t2, filledRows, _this = this, - t1 = _this.get$_tables(), - table = new U.SpreadsheetTable(H.setRuntimeTypeInfo([], type$.JSArray_List_dynamic)); - J.$indexSet$ax(t1, $name, table); - rows = Q.filterElements(node.XmlHasChildren_children, "table:table-row", null); - t1 = P.List_List$of(rows, true, rows.$ti._eval$1("Iterable.E")); - t2 = H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); - filledRows = new H.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new U.OdsDecoder__parseTable_closure(_this))); - t2 = P.List_List$of(filledRows, true, filledRows.$ti._eval$1("Iterable.E")); - new H.ReversedListIterable(t2, H._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new U.OdsDecoder__parseTable_closure0(_this, table)); + A.filterElements(new A.XmlDescendantsIterable($document), "style:style", null).forEach$1(0, new A.OdsDecoder__parseStyles_closure(this)); + }, + _parseTable$2(node, $name) { + var table, rows, t2, filledRows, _this = this, + t1 = _this.__SpreadsheetDecoder__tables_A; + t1 === $ && A.throwLateFieldNI("_tables"); + table = new A.SpreadsheetTable(A._setArrayType([], type$.JSArray_List_dynamic)); + t1.$indexSet(0, $name, table); + rows = A.filterElements(node.XmlHasChildren_children, "table:table-row", null); + t1 = A.List_List$of(rows, true, rows.$ti._eval$1("Iterable.E")); + t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); + filledRows = new A.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new A.OdsDecoder__parseTable_closure(_this))); + t2 = A.List_List$of(filledRows, true, filledRows.$ti._eval$1("Iterable.E")); + new A.ReversedListIterable(t2, A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new A.OdsDecoder__parseTable_closure0(_this, table)); _this._normalizeTable$1(table); }, - _parseRow$2: function(node, table) { + _parseRow$2(node, table) { var repeat, index, row = [], - cells = Q.filterElements(node.XmlHasChildren_children, "table:table-cell", null), - t1 = P.List_List$of(cells, true, cells.$ti._eval$1("Iterable.E")), - t2 = H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), - filledCells = new H.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new U.OdsDecoder__parseRow_closure(this))); - t2 = P.List_List$of(filledCells, true, filledCells.$ti._eval$1("Iterable.E")); - new H.ReversedListIterable(t2, H._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new U.OdsDecoder__parseRow_closure0(this, table, row)); - repeat = U.OdsDecoder__getRowRepeated(node); + cells = A.filterElements(node.XmlHasChildren_children, "table:table-cell", null), + t1 = A.List_List$of(cells, true, cells.$ti._eval$1("Iterable.E")), + t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), + filledCells = new A.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new A.OdsDecoder__parseRow_closure(this))); + t2 = A.List_List$of(filledCells, true, filledCells.$ti._eval$1("Iterable.E")); + new A.ReversedListIterable(t2, A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new A.OdsDecoder__parseRow_closure0(this, table, row)); + repeat = A.OdsDecoder__getRowRepeated(node); for (t1 = table._spreadsheet_decoder$_rows, t2 = type$.dynamic, index = 0; index < repeat; ++index) - C.JSArray_methods.add$1(t1, P.List_List$from(row, true, t2)); + B.JSArray_methods.add$1(t1, A.List_List$from(row, true, t2)); this._countFilledRow$2(table, row); }, - _parseCell$3: function(node, table, row) { + _parseCell$3(node, table, row) { var index, value = this._readCell$1(node), - repeat = U.OdsDecoder__getCellRepeated(node); + repeat = A.OdsDecoder__getCellRepeated(node); for (index = 0; index < repeat; ++index) - C.JSArray_methods.add$1(row, value); + B.JSArray_methods.add$1(row, value); this._countFilledColumn$3(table, row, value); }, - _readCell$1: function(node) { + _readCell$1(node) { var t1, value, list; switch (node.getAttribute$1(0, "office:value-type")) { case "float": @@ -149845,7 +151170,7 @@ case "currency": t1 = node.getAttribute$1(0, "office:value"); t1.toString; - value = P.num_parse(t1); + value = A.num_parse(t1); break; case "boolean": value = node.getAttribute$1(0, "office:boolean-value").toLowerCase() === "true"; @@ -149853,45 +151178,57 @@ case "date": t1 = node.getAttribute$1(0, "office:date-value"); t1.toString; - value = P.DateTime_parse(t1).toIso8601String$0(); + value = A.DateTime_parse(t1).toIso8601String$0(); break; case "time": value = node.getAttribute$1(0, "office:time-value"); - value = J.substring$2$s(value, 2, value.length - 1); - t1 = P.RegExp_RegExp("[H|M]", true); - value = H.stringReplaceAllUnchecked(value, t1, ":"); + value = B.JSString_methods.substring$2(value, 2, value.length - 1); + t1 = A.RegExp_RegExp("[H|M]", true); + value = A.stringReplaceAllUnchecked(value, t1, ":"); break; case "string": default: - list = H.setRuntimeTypeInfo([], type$.JSArray_String); - Q.filterElements(node.XmlHasChildren_children, "text:p", null).forEach$1(0, new U.OdsDecoder__readCell_closure(this, list)); - value = list.length !== 0 ? C.JSArray_methods.join$1(list, "\n") : null; + list = A._setArrayType([], type$.JSArray_String); + A.filterElements(node.XmlHasChildren_children, "text:p", null).forEach$1(0, new A.OdsDecoder__readCell_closure(this, list)); + value = list.length !== 0 ? B.JSArray_methods.join$1(list, "\n") : null; } return value; }, - _readString$1: function(node) { - var buffer = new P.StringBuffer(""), - t1 = node.XmlHasChildren_children; - C.JSArray_methods.forEach$1(t1._wrappers$_base, t1.$ti._eval$1("~(1)")._as(new U.OdsDecoder__readString_closure(this, buffer))); + _readString$1(node) { + var t1, t2, + buffer = new A.StringBuffer(""); + for (t1 = node.XmlHasChildren_children._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (t2 instanceof A.XmlElement) { + t2 = this._readString$1(t2); + buffer._contents += A.stringReplaceAllUnchecked(t2, "\r\n", "\n"); + } else if (t2 instanceof A.XmlText) { + t2 = t2.value; + t2.toString; + buffer._contents += A.stringReplaceAllUnchecked(t2, "\r\n", "\n"); + } + } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - U.OdsDecoder__parseContent_closure.prototype = { - call$1: function(node) { - var t1, t2; + A.OdsDecoder__parseContent_closure.prototype = { + call$1(node) { + var t1, t2, t3; type$.XmlElement._as(node); t1 = node.getAttribute$1(0, "table:name"); t1.toString; t2 = this.$this; - if (t2.get$_update(t2) === true) - J.$indexSet$ax(t2.get$_sheets(), t1, node); + t2.__SpreadsheetDecoder__update_A === $ && A.throwLateFieldNI("_update"); + t3 = t2.__SpreadsheetDecoder__sheets_A; + t3 === $ && A.throwLateFieldNI("_sheets"); + t3.$indexSet(0, t1, node); t2._parseTable$2(node, t1); }, - $signature: 16 + $signature: 14 }; - U.OdsDecoder__parseStyles_closure.prototype = { - call$1: function(style) { + A.OdsDecoder__parseStyles_closure.prototype = { + call$1(style) { var t1, t2, t3; type$.XmlElement._as(style); t1 = style.getAttribute$1(0, "style:name"); @@ -149900,20 +151237,20 @@ t2.toString; t3 = this.$this._styleNames; if (t3.$index(0, t2) == null) - t3.$indexSet(0, t2, H.setRuntimeTypeInfo([], type$.JSArray_String)); + t3.$indexSet(0, t2, A._setArrayType([], type$.JSArray_String)); t2 = t3.$index(0, t2); t2.toString; - C.JSArray_methods.add$1(t2, t1); + B.JSArray_methods.add$1(t2, t1); }, - $signature: 16 + $signature: 14 }; - U.OdsDecoder__parseTable_closure.prototype = { - call$1: function(row) { + A.OdsDecoder__parseTable_closure.prototype = { + call$1(row) { var empty, t1, t2, t3; type$.XmlElement._as(row); - t1 = Q.filterElements(row.XmlHasChildren_children, "table:table-cell", null); + t1 = A.filterElements(row.XmlHasChildren_children, "table:table-cell", null); t2 = J.get$iterator$ax(t1.__internal$_iterable); - t1 = new H.WhereIterator(t2, t1._f, t1.$ti._eval$1("WhereIterator<1>")); + t1 = new A.WhereIterator(t2, t1._f, t1.$ti._eval$1("WhereIterator<1>")); t3 = this.$this; while (true) { if (!t1.moveNext$0()) { @@ -149932,182 +151269,181 @@ } return empty; }, - $signature: 86 + $signature: 79 }; - U.OdsDecoder__parseTable_closure0.prototype = { - call$1: function(child) { + A.OdsDecoder__parseTable_closure0.prototype = { + call$1(child) { this.$this._parseRow$2(type$.XmlElement._as(child), this.table); }, - $signature: 16 + $signature: 14 }; - U.OdsDecoder__parseRow_closure.prototype = { - call$1: function(cell) { + A.OdsDecoder__parseRow_closure.prototype = { + call$1(cell) { return this.$this._readCell$1(type$.XmlElement._as(cell)) == null; }, - $signature: 86 + $signature: 79 }; - U.OdsDecoder__parseRow_closure0.prototype = { - call$1: function(child) { + A.OdsDecoder__parseRow_closure0.prototype = { + call$1(child) { this.$this._parseCell$3(type$.XmlElement._as(child), this.table, this.row); }, - $signature: 16 - }; - U.OdsDecoder__readCell_closure.prototype = { - call$1: function(child) { - C.JSArray_methods.add$1(this.list, this.$this._readString$1(type$.XmlElement._as(child))); - }, - $signature: 16 + $signature: 14 }; - U.OdsDecoder__readString_closure.prototype = { - call$1: function(child) { - var t1; - type$.XmlNode._as(child); - if (child instanceof G.XmlElement) { - t1 = this.$this._readString$1(child); - this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); - } else if (child instanceof L.XmlText) { - t1 = child.text; - t1.toString; - this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); - } + A.OdsDecoder__readCell_closure.prototype = { + call$1(child) { + B.JSArray_methods.add$1(this.list, this.$this._readString$1(type$.XmlElement._as(child))); }, - $signature: 166 + $signature: 14 }; - U.SpreadsheetDecoder.prototype = { - get$_update: function(_) { - var t1 = this.__SpreadsheetDecoder__update; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_update")) : t1; - }, - get$_archive: function() { - var t1 = this.__SpreadsheetDecoder__archive; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_archive")) : t1; - }, - get$_sheets: function() { - var t1 = this.__SpreadsheetDecoder__sheets; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_sheets")) : t1; - }, - get$_xmlFiles: function() { - var t1 = this.__SpreadsheetDecoder__xmlFiles; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_xmlFiles")) : t1; - }, - get$_archiveFiles: function() { - var t1 = this.__SpreadsheetDecoder__archiveFiles; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_archiveFiles")) : t1; - }, - get$_tables: function() { - var t1 = this.__SpreadsheetDecoder__tables; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_tables")) : t1; - }, - _checkSheetArguments$1: function(sheet) { - if (this.get$_update(this) !== true) - throw H.wrapException(P.ArgumentError$(string$.x27updat)); - if (!J.containsKey$1$x(this.get$_sheets(), sheet)) - throw H.wrapException(P.ArgumentError$("'" + sheet + "' not found")); - }, - insertRow$2: function(_, sheet, rowIndex) { - var t1, t2, _length, _list, _i; + A.SpreadsheetDecoder.prototype = { + _checkSheetArguments$1(sheet) { + var t1 = this.__SpreadsheetDecoder__update_A; + t1 === $ && A.throwLateFieldNI("_update"); + if (!t1) + throw A.wrapException(A.ArgumentError$(string$.x27updat, null)); + t1 = this.__SpreadsheetDecoder__sheets_A; + t1 === $ && A.throwLateFieldNI("_sheets"); + if (!t1.containsKey$1(0, sheet)) + throw A.wrapException(A.ArgumentError$("'" + sheet + "' not found", null)); + }, + insertRow$2(_, sheet, rowIndex) { + var t1, table, _length, _list, _i; this._checkSheetArguments$1(sheet); - t1 = J.$index$asx(this.get$_tables(), sheet); - t1.toString; - t2 = t1._maxRows; - if (rowIndex > t2) - throw H.wrapException(P.RangeError$range(rowIndex, 0, t2, null, null)); - _length = t1._maxCols; + t1 = this.__SpreadsheetDecoder__tables_A; + t1 === $ && A.throwLateFieldNI("_tables"); + table = t1.$index(0, sheet); + t1 = table._maxRows; + if (rowIndex > t1) + throw A.wrapException(A.RangeError$range(rowIndex, 0, t1, null, null)); + t1 = table._spreadsheet_decoder$_rows; + _length = table._maxCols; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.dynamic); for (_i = 0; _i < _length; ++_i) _list[_i] = null; - C.JSArray_methods.insert$2(t1._spreadsheet_decoder$_rows, rowIndex, _list); - ++t1._maxRows; + B.JSArray_methods.insert$2(t1, rowIndex, _list); + ++table._maxRows; }, - updateCell$4: function(sheet, columnIndex, rowIndex, value) { - var t1, t2, _null = null; + updateCell$4(sheet, columnIndex, rowIndex, value) { + var t1, table, _null = null; this._checkSheetArguments$1(sheet); - t1 = J.$index$asx(this.get$_tables(), sheet); - t1.toString; - t2 = t1._maxCols; - if (columnIndex >= t2) - throw H.wrapException(P.RangeError$range(columnIndex, 0, t2 - 1, _null, _null)); - t2 = t1._maxRows; - if (rowIndex >= t2) - throw H.wrapException(P.RangeError$range(rowIndex, 0, t2 - 1, _null, _null)); - t1 = t1._spreadsheet_decoder$_rows; - if (rowIndex >= t1.length) - return H.ioore(t1, rowIndex); - C.JSArray_methods.$indexSet(t1[rowIndex], columnIndex, J.toString$0$(value)); - }, - encode$0: function() { - var t1, t2, t3, t4, $content, t5, t6, _this = this; - if (_this.get$_update(_this) !== true) - throw H.wrapException(P.ArgumentError$(string$.x27updat)); - for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_xmlFiles())), t2 = type$.Utf8Codec._eval$1("Codec.S"); t1.moveNext$0();) { - t3 = t1.get$current(t1); - t4 = _this.__SpreadsheetDecoder__xmlFiles; - t4 = t2._as(J.toString$0$(J.$index$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI("_xmlFiles")) : t4, t3))); - $content = C.C_Utf8Codec.get$encoder().convert$1(t4); - t4 = _this.__SpreadsheetDecoder__archiveFiles; - if (t4 === $) - t4 = H.throwExpression(H.LateError$fieldNI("_archiveFiles")); + t1 = this.__SpreadsheetDecoder__tables_A; + t1 === $ && A.throwLateFieldNI("_tables"); + table = t1.$index(0, sheet); + t1 = table._maxCols; + if (columnIndex >= t1) + throw A.wrapException(A.RangeError$range(columnIndex, 0, t1 - 1, _null, _null)); + t1 = table._maxRows; + if (rowIndex >= t1) + throw A.wrapException(A.RangeError$range(rowIndex, 0, t1 - 1, _null, _null)); + t1 = table._spreadsheet_decoder$_rows; + if (!(rowIndex < t1.length)) + return A.ioore(t1, rowIndex); + B.JSArray_methods.$indexSet(t1[rowIndex], columnIndex, J.toString$0$(value)); + }, + encode$0() { + var t2, t3, t4, $content, t5, t6, _this = this, + t1 = _this.__SpreadsheetDecoder__update_A; + t1 === $ && A.throwLateFieldNI("_update"); + if (!t1) + throw A.wrapException(A.ArgumentError$(string$.x27updat, null)); + t1 = _this.__SpreadsheetDecoder__xmlFiles_A; + t1 === $ && A.throwLateFieldNI("_xmlFiles"); + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + t2 = type$.Utf8Codec._eval$1("Codec.S"); + for (; t1.moveNext$0();) { + t3 = t1.__js_helper$_current; + t4 = t2._as(J.toString$0$(_this.__SpreadsheetDecoder__xmlFiles_A.$index(0, t3))); + $content = B.C_Utf8Codec.get$encoder().convert$1(t4); + t4 = _this.__SpreadsheetDecoder__archiveFiles_A; + t4 === $ && A.throwLateFieldNI("_archiveFiles"); t5 = $content.length; - t6 = new B.ArchiveFile(t3, t5, C.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); + t6 = new A.ArchiveFile(t3, t5, B.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); t6.ArchiveFile$4(t3, t5, $content, 0); - J.$indexSet$ax(t4, t3, t6); + t4.$indexSet(0, t3, t6); } - return new K.ZipEncoder().encode$1(_this._cloneArchive$1(_this.get$_archive())); + t1 = $.$get$Random__secureRandom(); + t2 = _this.__SpreadsheetDecoder__archive_A; + t2 === $ && A.throwLateFieldNI("_archive"); + return new A.ZipEncoder(t1).encode$1(_this._cloneArchive$1(t2)); }, - _cloneArchive$1: function(archive) { - var clone = new D.Archive(H.setRuntimeTypeInfo([], type$.JSArray_ArchiveFile), P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); - C.JSArray_methods.forEach$1(archive.files, new U.SpreadsheetDecoder__cloneArchive_closure(this, clone)); + _cloneArchive$1(archive) { + var t1, t2, t3, t4, copy, $content, compress, + clone = new A.Archive(A._setArrayType([], type$.JSArray_ArchiveFile), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); + for (t1 = type$.UnmodifiableListView_ArchiveFile, t2 = new A.UnmodifiableListView(archive._files, t1), t1 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")), t2 = type$.Uint8List; t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3.isFile) { + t4 = this.__SpreadsheetDecoder__archiveFiles_A; + t4 === $ && A.throwLateFieldNI("_archiveFiles"); + if (t4.containsKey$1(0, t3.name)) { + t3 = this.__SpreadsheetDecoder__archiveFiles_A.$index(0, t3.name); + t3.toString; + copy = t3; + } else { + t4 = t3._archive_file$_content; + if ((t4 instanceof A.FileContent ? t3._archive_file$_content = t4.get$content(t4) : t4) == null) + t3.decompress$0(); + $content = t2._as(t3._archive_file$_content); + compress = t3.compress; + t3 = t3.name; + t4 = J.get$length$asx($content); + copy = new A.ArchiveFile(t3, t4, B.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); + copy.ArchiveFile$4(t3, t4, $content, 0); + copy.compress = compress; + } + clone.addFile$1(0, copy); + } + } return clone; }, - _normalizeTable$1: function(table) { + _normalizeTable$1(table) { var t2, t3, row, t4, repeat, index, t1 = table._maxRows; if (t1 === 0) { t1 = table._spreadsheet_decoder$_rows; - C.JSArray_methods.set$length(t1, 0); + B.JSArray_methods.clear$0(t1); } else { t2 = table._spreadsheet_decoder$_rows; t3 = t2.length; if (t1 < t3) - C.JSArray_methods.removeRange$2(t2, t1, t3); + B.JSArray_methods.removeRange$2(t2, t1, t3); t1 = t2; } for (row = 0; row < t1.length; ++row) { t2 = table._maxCols; if (t2 === 0) - C.JSArray_methods.set$length(t1[row], 0); + B.JSArray_methods.clear$0(t1[row]); else { t3 = t1[row]; t4 = t3.length; if (t2 < t4) { if (!!t3.fixed$length) - H.throwExpression(P.UnsupportedError$("removeRange")); - P.RangeError_checkValidRange(t2, t4, t4); + A.throwExpression(A.UnsupportedError$("removeRange")); + A.RangeError_checkValidRange(t2, t4, t4); t3.splice(t2, t4 - t2); } else if (t2 > t4) { repeat = t2 - t4; for (index = 0; index < repeat; ++index) { - if (row >= t1.length) - return H.ioore(t1, row); - C.JSArray_methods.add$1(t1[row], null); + if (!(row < t1.length)) + return A.ioore(t1, row); + B.JSArray_methods.add$1(t1[row], null); } } } } }, - _isEmptyRow$1: function(row) { - return C.JSArray_methods.fold$1$2(row, true, new U.SpreadsheetDecoder__isEmptyRow_closure(), type$.bool); + _isEmptyRow$1(row) { + return B.JSArray_methods.fold$1$2(row, true, new A.SpreadsheetDecoder__isEmptyRow_closure(), type$.bool); }, - _countFilledRow$2: function(table, row) { + _countFilledRow$2(table, row) { var t1, t2; - if (!H.boolConversionCheck(this._isEmptyRow$1(row))) { + if (!A.boolConversionCheck(this._isEmptyRow$1(row))) { t1 = table._maxRows; t2 = table._spreadsheet_decoder$_rows.length; if (t1 < t2) table._maxRows = t2; } }, - _countFilledColumn$3: function(table, row, value) { + _countFilledColumn$3(table, row, value) { var t1, t2; if (value != null) { t1 = table._maxCols; @@ -150116,168 +151452,170 @@ table._maxCols = t2; } }, - set$__SpreadsheetDecoder__sheets: function(__SpreadsheetDecoder__sheets) { - this.__SpreadsheetDecoder__sheets = type$.nullable_Map_String_XmlElement._as(__SpreadsheetDecoder__sheets); + set$__SpreadsheetDecoder__sheets_A(__SpreadsheetDecoder__sheets_A) { + this.__SpreadsheetDecoder__sheets_A = type$.Map_String_XmlElement._as(__SpreadsheetDecoder__sheets_A); }, - set$__SpreadsheetDecoder__xmlFiles: function(__SpreadsheetDecoder__xmlFiles) { - this.__SpreadsheetDecoder__xmlFiles = type$.nullable_Map_String_XmlDocument._as(__SpreadsheetDecoder__xmlFiles); + set$__SpreadsheetDecoder__xmlFiles_A(__SpreadsheetDecoder__xmlFiles_A) { + this.__SpreadsheetDecoder__xmlFiles_A = type$.Map_String_XmlDocument._as(__SpreadsheetDecoder__xmlFiles_A); }, - set$__SpreadsheetDecoder__archiveFiles: function(__SpreadsheetDecoder__archiveFiles) { - this.__SpreadsheetDecoder__archiveFiles = type$.nullable_Map_String_ArchiveFile._as(__SpreadsheetDecoder__archiveFiles); + set$__SpreadsheetDecoder__archiveFiles_A(__SpreadsheetDecoder__archiveFiles_A) { + this.__SpreadsheetDecoder__archiveFiles_A = type$.Map_String_ArchiveFile._as(__SpreadsheetDecoder__archiveFiles_A); }, - set$__SpreadsheetDecoder__tables: function(__SpreadsheetDecoder__tables) { - this.__SpreadsheetDecoder__tables = type$.nullable_Map_String_SpreadsheetTable._as(__SpreadsheetDecoder__tables); + set$__SpreadsheetDecoder__tables_A(__SpreadsheetDecoder__tables_A) { + this.__SpreadsheetDecoder__tables_A = type$.Map_String_SpreadsheetTable._as(__SpreadsheetDecoder__tables_A); } }; - U.SpreadsheetDecoder__cloneArchive_closure.prototype = { - call$1: function(file) { - var t1, copy, $content, compress; - type$.ArchiveFile._as(file); - if (file.isFile) { - t1 = this.$this; - if (J.containsKey$1$x(t1.get$_archiveFiles(), file.name)) { - t1 = J.$index$asx(t1.get$_archiveFiles(), file.name); - t1.toString; - copy = t1; - } else { - $content = type$.Uint8List._as(file.get$content(file)); - compress = file.compress; - copy = B.ArchiveFile$(file.name, J.get$length$asx($content), $content, 0); - copy.compress = compress; - } - this.clone.addFile$1(0, copy); - } + A.SpreadsheetDecoder__isEmptyRow_closure.prototype = { + call$2(value, element) { + return A.boolConversionCheck(A._asBoolS(value)) && element == null; }, - $signature: 555 - }; - U.SpreadsheetDecoder__isEmptyRow_closure.prototype = { - call$2: function(value, element) { - return H.boolConversionCheck(H._asBoolS(value)) && element == null; - }, - $signature: 556 + $signature: 562 }; - U.SpreadsheetTable.prototype = {}; - U.cellCoordsFromCellId_closure.prototype = { - call$1: function(rune) { - H._asIntS(rune); + A.SpreadsheetTable.prototype = {}; + A.cellCoordsFromCellId_closure.prototype = { + call$1(rune) { + A._asIntS(rune); if (typeof rune !== "number") return rune.$gt(); return rune > 0; }, - $signature: 557 + $signature: 21 }; - U.XlsxDecoder.prototype = { - insertRow$2: function(_, sheet, rowIndex) { + A.XlsxDecoder.prototype = { + insertRow$2(_, sheet, rowIndex) { var t1, t2, foundRow, _this = this; _this.super$SpreadsheetDecoder$insertRow(0, sheet, rowIndex); - t1 = J.$index$asx(_this.get$_sheets(), sheet); + t1 = _this.__SpreadsheetDecoder__sheets_A; + t1 === $ && A.throwLateFieldNI("_sheets"); + t1 = t1.$index(0, sheet); t1.toString; - if (rowIndex < J.$index$asx(_this.get$_tables(), sheet)._maxRows - 1) { - t2 = J.$index$asx(_this.get$_sheets(), sheet); + t2 = _this.__SpreadsheetDecoder__tables_A; + t2 === $ && A.throwLateFieldNI("_tables"); + if (rowIndex < t2.$index(0, sheet)._maxRows - 1) { + t2 = _this.__SpreadsheetDecoder__sheets_A.$index(0, sheet); t2.toString; - foundRow = U.XlsxDecoder__findRowByIndex(t2, rowIndex); - U.XlsxDecoder__insertRow(t1, foundRow, rowIndex); + foundRow = A.XlsxDecoder__findRowByIndex(t2, rowIndex); + A.XlsxDecoder__insertRow(t1, foundRow, rowIndex); t2 = type$.WhereTypeIterable_XmlElement; - new H.SkipWhileIterable(new H.WhereTypeIterable(t1.XmlHasChildren_children._wrappers$_base, t2), t2._eval$1("bool(Iterable.E)")._as(new U.XlsxDecoder_insertRow_closure(foundRow)), t2._eval$1("SkipWhileIterable")).forEach$1(0, new U.XlsxDecoder_insertRow_closure0()); + new A.SkipWhileIterable(new A.WhereTypeIterable(t1.XmlHasChildren_children._wrappers$_base, t2), t2._eval$1("bool(Iterable.E)")._as(new A.XlsxDecoder_insertRow_closure(foundRow)), t2._eval$1("SkipWhileIterable")).forEach$1(0, new A.XlsxDecoder_insertRow_closure0()); } else - U.XlsxDecoder__insertRow(t1, null, rowIndex); + A.XlsxDecoder__insertRow(t1, null, rowIndex); }, - updateCell$4: function(sheet, columnIndex, rowIndex, value) { + updateCell$4(sheet, columnIndex, rowIndex, value) { var t1; this.super$SpreadsheetDecoder$updateCell(sheet, columnIndex, rowIndex, value); - t1 = J.$index$asx(this.get$_sheets(), sheet); + t1 = this.__SpreadsheetDecoder__sheets_A; + t1 === $ && A.throwLateFieldNI("_sheets"); + t1 = t1.$index(0, sheet); t1.toString; - U.XlsxDecoder__updateCell(U.XlsxDecoder__findRowByIndex(t1, rowIndex), columnIndex, rowIndex, value); + A.XlsxDecoder__updateCell(A.XlsxDecoder__findRowByIndex(t1, rowIndex), columnIndex, rowIndex, value); }, - _parseRelations$0: function() { - var relations = this.get$_archive().findFile$1("xl/_rels/workbook.xml.rels"); + _parseRelations$0() { + var relations, + t1 = this.__SpreadsheetDecoder__archive_A; + t1 === $ && A.throwLateFieldNI("_archive"); + relations = t1.findFile$1("xl/_rels/workbook.xml.rels"); if (relations != null) { relations.decompress$0(); - Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(relations.get$content(relations))))), "Relationship", null).forEach$1(0, new U.XlsxDecoder__parseRelations_closure(this)); + A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(relations.get$content(relations))))), "Relationship", null).forEach$1(0, new A.XlsxDecoder__parseRelations_closure(this)); } }, - _parseStyles$0: function() { - var t1, - styles = this.get$_archive().findFile$1("xl/" + H.S(this._stylesTarget)); + _parseStyles$0() { + var styles, + t1 = this.__SpreadsheetDecoder__archive_A; + t1 === $ && A.throwLateFieldNI("_archive"); + styles = t1.findFile$1("xl/" + A.S(this._stylesTarget)); if (styles != null) { styles.decompress$0(); - t1 = Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(styles.get$content(styles))))), "cellXfs", null); - Q.filterElements(t1.get$first(t1).XmlHasChildren_children, "xf", null).forEach$1(0, new U.XlsxDecoder__parseStyles_closure(this)); + t1 = A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(styles.get$content(styles))))), "cellXfs", null); + A.filterElements(t1.get$first(t1).XmlHasChildren_children, "xf", null).forEach$1(0, new A.XlsxDecoder__parseStyles_closure(this)); } }, - _parseSharedStrings$0: function() { - var sharedStrings = this.get$_archive().findFile$1("xl/" + H.S(this._sharedStringsTarget)); + _parseSharedStrings$0() { + var sharedStrings, + t1 = this.__SpreadsheetDecoder__archive_A; + t1 === $ && A.throwLateFieldNI("_archive"); + sharedStrings = t1.findFile$1("xl/" + A.S(this._sharedStringsTarget)); if (sharedStrings != null) { sharedStrings.decompress$0(); - Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(sharedStrings.get$content(sharedStrings))))), "si", null).forEach$1(0, new U.XlsxDecoder__parseSharedStrings_closure(this)); + A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(sharedStrings.get$content(sharedStrings))))), "si", null).forEach$1(0, new A.XlsxDecoder__parseSharedStrings_closure(this)); } }, - _parseSharedString$1: function(node) { + _parseSharedString$1(node) { var list = []; - Q.filterElements(new U.XmlDescendantsIterable(node), "t", null).forEach$1(0, new U.XlsxDecoder__parseSharedString_closure(this, list)); - C.JSArray_methods.add$1(this._sharedStrings, C.JSArray_methods.join$1(list, "")); - }, - _parseContent$0: function() { - var workbook = this.get$_archive().findFile$1("xl/workbook.xml"), - t1 = workbook == null; + new A.WhereTypeIterable(node.XmlHasChildren_children._wrappers$_base, type$.WhereTypeIterable_XmlElement).forEach$1(0, new A.XlsxDecoder__parseSharedString_closure(this, list)); + B.JSArray_methods.add$1(this._sharedStrings, B.JSArray_methods.join$1(list, "")); + }, + _parseContent$0() { + var workbook, + t1 = this.__SpreadsheetDecoder__archive_A; + t1 === $ && A.throwLateFieldNI("_archive"); + workbook = t1.findFile$1("xl/workbook.xml"); + t1 = workbook == null; if (!t1) workbook.decompress$0(); t1 = t1 ? null : workbook.get$content(workbook); - Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t1)))), "sheet", null).forEach$1(0, new U.XlsxDecoder__parseContent_closure(this)); + A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(t1)))), "sheet", null).forEach$1(0, new A.XlsxDecoder__parseContent_closure(this)); }, - _parseTable$1: function(node) { + _parseTable$1(node) { var t2, t3, table, namePath, file, $content, sheet, _this = this, _null = null, t1 = node.getAttribute$1(0, "name"); t1.toString; t2 = _this._worksheetTargets.$index(0, node.getAttribute$2$namespace(0, "id", "http://schemas.openxmlformats.org/officeDocument/2006/relationships")); t2.toString; - t3 = _this.get$_tables(); - table = new U.SpreadsheetTable(H.setRuntimeTypeInfo([], type$.JSArray_List_dynamic)); - J.$indexSet$ax(t3, t1, table); - namePath = C.JSString_methods.startsWith$1(t2, "/") ? C.JSString_methods.substring$1(t2, 1) : "xl/" + t2; - file = _this.get$_archive().findFile$1(namePath); + t3 = _this.__SpreadsheetDecoder__tables_A; + t3 === $ && A.throwLateFieldNI("_tables"); + table = new A.SpreadsheetTable(A._setArrayType([], type$.JSArray_List_dynamic)); + t3.$indexSet(0, t1, table); + namePath = B.JSString_methods.startsWith$1(t2, "/") ? B.JSString_methods.substring$1(t2, 1) : "xl/" + t2; + t2 = _this.__SpreadsheetDecoder__archive_A; + t2 === $ && A.throwLateFieldNI("_archive"); + file = t2.findFile$1(namePath); t2 = file == null; if (!t2) file.decompress$0(); t2 = t2 ? _null : file.get$content(file); - $content = S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t2))); - t2 = Q.filterElements($content.XmlHasChildren_children, "worksheet", _null); - t2 = Q.filterElements(t2.get$first(t2).XmlHasChildren_children, "sheetData", _null); + $content = A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(t2))); + t2 = A.filterElements($content.XmlHasChildren_children, "worksheet", _null); + t2 = A.filterElements(t2.get$first(t2).XmlHasChildren_children, "sheetData", _null); sheet = t2.get$first(t2); - Q.filterElements(sheet.XmlHasChildren_children, "row", _null).forEach$1(0, new U.XlsxDecoder__parseTable_closure(_this, table)); - if (_this.get$_update(_this) === true) { - J.$indexSet$ax(_this.get$_sheets(), t1, sheet); - J.$indexSet$ax(_this.get$_xmlFiles(), namePath, $content); - } + A.filterElements(sheet.XmlHasChildren_children, "row", _null).forEach$1(0, new A.XlsxDecoder__parseTable_closure(_this, table)); + _this.__SpreadsheetDecoder__update_A === $ && A.throwLateFieldNI("_update"); + t2 = _this.__SpreadsheetDecoder__sheets_A; + t2 === $ && A.throwLateFieldNI("_sheets"); + t2.$indexSet(0, t1, sheet); + t1 = _this.__SpreadsheetDecoder__xmlFiles_A; + t1 === $ && A.throwLateFieldNI("_xmlFiles"); + t1.$indexSet(0, namePath, $content); _this._normalizeTable$1(table); }, - _parseRow$2: function(node, table) { + _parseRow$2(node, table) { var t1, rowIndex, repeat, index, _this = this, row = []; - Q.filterElements(node.XmlHasChildren_children, "c", null).forEach$1(0, new U.XlsxDecoder__parseRow_closure(_this, table, row)); + A.filterElements(node.XmlHasChildren_children, "c", null).forEach$1(0, new A.XlsxDecoder__parseRow_closure(_this, table, row)); t1 = node.getAttribute$1(0, "r"); t1.toString; - rowIndex = P.int_parse(t1, null) - 1; - if (!H.boolConversionCheck(_this._isEmptyRow$1(row)) && rowIndex > table._spreadsheet_decoder$_rows.length) { + rowIndex = A.int_parse(t1, null) - 1; + if (!A.boolConversionCheck(_this._isEmptyRow$1(row)) && rowIndex > table._spreadsheet_decoder$_rows.length) { t1 = table._spreadsheet_decoder$_rows; repeat = rowIndex - t1.length; for (index = 0; index < repeat; ++index) - C.JSArray_methods.add$1(t1, []); + B.JSArray_methods.add$1(t1, []); } t1 = table._spreadsheet_decoder$_rows; - if (!H.boolConversionCheck(_this._isEmptyRow$1(row))) - C.JSArray_methods.add$1(t1, row); + if (!A.boolConversionCheck(_this._isEmptyRow$1(row))) + B.JSArray_methods.add$1(t1, row); else - C.JSArray_methods.add$1(t1, []); + B.JSArray_methods.add$1(t1, []); _this._countFilledRow$2(table, row); }, - _parseCell$3: function(node, table, row) { + _parseCell$3(node, table, row) { var repeat, index, t2, value, s, valueNode, $content, fmtId, date, _this = this, _null = null, - colIndex = U.XlsxDecoder__getCellNumber(node) - 1, + colIndex = A.XlsxDecoder__getCellNumber(node) - 1, t1 = row.length; if (colIndex > t1) { repeat = colIndex - t1; for (index = 0; index < repeat; ++index) - C.JSArray_methods.add$1(row, _null); + B.JSArray_methods.add$1(row, _null); } t1 = node.XmlHasChildren_children; if (t1._wrappers$_base.length === 0) @@ -150285,94 +151623,101 @@ switch (node.getAttribute$1(0, "t")) { case "s": t2 = _this._sharedStrings; - t1 = Q.filterElements(t1, "v", _null); - t1 = P.int_parse(_this._parseValue$1(t1.get$first(t1)), _null); - if (t1 < 0 || t1 >= t2.length) - return H.ioore(t2, t1); + t1 = A.filterElements(t1, "v", _null); + t1 = A.int_parse(_this._parseValue$1(t1.get$first(t1)), _null); + if (!(t1 >= 0 && t1 < t2.length)) + return A.ioore(t2, t1); value = t2[t1]; break; case "b": - t1 = Q.filterElements(t1, "v", _null); + t1 = A.filterElements(t1, "v", _null); value = _this._parseValue$1(t1.get$first(t1)) === "1"; break; case "e": case "str": - t1 = Q.filterElements(t1, "v", _null); + t1 = A.filterElements(t1, "v", _null); value = _this._parseValue$1(t1.get$first(t1)); break; case "inlineStr": - t1 = Q.filterElements(new U.XmlDescendantsIterable(node), "t", _null); + t1 = A.filterElements(new A.XmlDescendantsIterable(node), "t", _null); value = _this._parseValue$1(t1.get$first(t1)); break; case "n": default: s = node.getAttribute$1(0, "s"); - valueNode = Q.filterElements(t1, "v", _null); + valueNode = A.filterElements(t1, "v", _null); $content = valueNode.get$first(valueNode); if (s != null) { t1 = _this._numFormats; - t2 = P.int_parse(s, _null); - if (t2 < 0 || t2 >= t1.length) - return H.ioore(t1, t2); + t2 = A.int_parse(s, _null); + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); fmtId = t1[t2]; if (fmtId >= 14 && fmtId <= 17 || fmtId === 22) { - t1 = P.num_parse(_this._parseValue$1($content)); - value = P.DateTime$(1899, 12, 30).add$1(0, P.Duration$(0, C.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)).toIso8601String$0(); + t1 = A.num_parse(_this._parseValue$1($content)); + value = A.DateTime$(1899, 12, 30).add$1(0, A.Duration$(0, B.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)).toIso8601String$0(); } else { if (!(fmtId >= 18 && fmtId <= 21)) t1 = fmtId >= 45 && fmtId <= 47; else t1 = true; if (t1) { - t1 = P.num_parse(_this._parseValue$1($content)); - date = P.DateTime$(0, 1, 1).add$1(0, P.Duration$(0, C.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)); - value = U._twoDigits(H.Primitives_getHours(date)) + ":" + U._twoDigits(H.Primitives_getMinutes(date)) + ":" + U._twoDigits(H.Primitives_getSeconds(date)); + t1 = A.num_parse(_this._parseValue$1($content)); + date = A.DateTime$(0, 1, 1).add$1(0, A.Duration$(0, B.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)); + value = A._twoDigits(A.Primitives_getHours(date)) + ":" + A._twoDigits(A.Primitives_getMinutes(date)) + ":" + A._twoDigits(A.Primitives_getSeconds(date)); } else - value = P.num_parse(_this._parseValue$1($content)); + value = A.num_parse(_this._parseValue$1($content)); } } else - value = P.num_parse(_this._parseValue$1($content)); + value = A.num_parse(_this._parseValue$1($content)); } - C.JSArray_methods.add$1(row, value); + B.JSArray_methods.add$1(row, value); _this._countFilledColumn$3(table, row, value); }, - _parseValue$1: function(node) { - var buffer = new P.StringBuffer(""), - t1 = node.XmlHasChildren_children; - C.JSArray_methods.forEach$1(t1._wrappers$_base, t1.$ti._eval$1("~(1)")._as(new U.XlsxDecoder__parseValue_closure(buffer))); + _parseValue$1(node) { + var t1, t2, + buffer = new A.StringBuffer(""); + for (t1 = node.XmlHasChildren_children._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (t2 instanceof A.XmlText) { + t2 = t2.value; + t2.toString; + buffer._contents += A.stringReplaceAllUnchecked(t2, "\r\n", "\n"); + } + } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - U.XlsxDecoder_insertRow_closure.prototype = { - call$1: function(row) { + A.XlsxDecoder_insertRow_closure.prototype = { + call$1(row) { return type$.XmlElement._as(row) !== this.foundRow; }, - $signature: 86 + $signature: 79 }; - U.XlsxDecoder_insertRow_closure0.prototype = { - call$1: function(row) { + A.XlsxDecoder_insertRow_closure0.prototype = { + call$1(row) { var t1, rIndex; type$.XmlElement._as(row); t1 = row.getAttribute$1(0, "r"); t1.toString; - rIndex = P.int_parse(t1, null) + 1; + rIndex = A.int_parse(t1, null) + 1; t1 = row.getAttributeNode$1("r"); t1.toString; - t1.value = C.JSInt_methods.toString$0(rIndex); - Q.filterElements(row.XmlHasChildren_children, "c", null).forEach$1(0, new U.XlsxDecoder_insertRow__closure(rIndex)); + t1.value = B.JSInt_methods.toString$0(rIndex); + A.filterElements(row.XmlHasChildren_children, "c", null).forEach$1(0, new A.XlsxDecoder_insertRow__closure(rIndex)); }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder_insertRow__closure.prototype = { - call$1: function(cell) { + A.XlsxDecoder_insertRow__closure.prototype = { + call$1(cell) { var attr = type$.XmlElement._as(cell).getAttributeNode$1("r"); - attr.value = U.numericToLetters(U.cellCoordsFromCellId(attr.value)[0]) + this.rIndex; + attr.value = A.numericToLetters(A.cellCoordsFromCellId(attr.value)[0]) + this.rIndex; }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseRelations_closure.prototype = { - call$1: function(node) { + A.XlsxDecoder__parseRelations_closure.prototype = { + call$1(node) { var attr, t1; type$.XmlElement._as(node); attr = node.getAttribute$1(0, "Target"); @@ -150393,74 +151738,70 @@ break; } }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseStyles_closure.prototype = { - call$1: function(node) { + A.XlsxDecoder__parseStyles_closure.prototype = { + call$1(node) { var numFmtId = type$.XmlElement._as(node).getAttribute$1(0, "numFmtId"), t1 = this.$this._numFormats; if (numFmtId != null) - C.JSArray_methods.add$1(t1, P.int_parse(numFmtId, null)); + B.JSArray_methods.add$1(t1, A.int_parse(numFmtId, null)); else - C.JSArray_methods.add$1(t1, 0); + B.JSArray_methods.add$1(t1, 0); }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseSharedStrings_closure.prototype = { - call$1: function(node) { + A.XlsxDecoder__parseSharedStrings_closure.prototype = { + call$1(node) { this.$this._parseSharedString$1(type$.XmlElement._as(node)); }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseSharedString_closure.prototype = { - call$1: function(child) { - C.JSArray_methods.add$1(this.list, this.$this._parseValue$1(type$.XmlElement._as(child))); + A.XlsxDecoder__parseSharedString_closure.prototype = { + call$1(node) { + var t1, _this = this; + type$.XmlElement._as(node); + t1 = node.name; + if (t1.get$local() === "t") + B.JSArray_methods.add$1(_this.list, _this.$this._parseValue$1(node)); + else if (t1.get$local() === "r") { + t1 = A.filterElements(node.XmlHasChildren_children, "t", null); + B.JSArray_methods.add$1(_this.list, _this.$this._parseValue$1(t1.get$first(t1))); + } }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseContent_closure.prototype = { - call$1: function(node) { + A.XlsxDecoder__parseContent_closure.prototype = { + call$1(node) { this.$this._parseTable$1(type$.XmlElement._as(node)); }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseTable_closure.prototype = { - call$1: function(child) { + A.XlsxDecoder__parseTable_closure.prototype = { + call$1(child) { this.$this._parseRow$2(type$.XmlElement._as(child), this.table); }, - $signature: 16 + $signature: 14 }; - U.XlsxDecoder__parseRow_closure.prototype = { - call$1: function(child) { + A.XlsxDecoder__parseRow_closure.prototype = { + call$1(child) { this.$this._parseCell$3(type$.XmlElement._as(child), this.table, this.row); }, - $signature: 16 - }; - U.XlsxDecoder__parseValue_closure.prototype = { - call$1: function(child) { - var t1; - type$.XmlNode._as(child); - if (child instanceof L.XmlText) { - t1 = child.text; - t1.toString; - this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); - } - }, - $signature: 166 + $signature: 14 }; - E.StringScannerException.prototype = { - get$source: function(_) { - return H._asStringS(this.source); + A.StringScannerException.prototype = { + get$source(_) { + return A._asStringS(this.source); } }; - X.StringScanner.prototype = { - get$lastMatch: function() { + A.StringScanner.prototype = { + get$lastMatch() { var _this = this; if (_this._string_scanner$_position !== _this._lastMatchPosition) _this._lastMatch = null; return _this._lastMatch; }, - scan$1: function(pattern) { + scan$1(pattern) { var success, _this = this, t1 = _this._lastMatch = J.matchAsPrefix$2$s(pattern, _this.string, _this._string_scanner$_position); _this._lastMatchPosition = _this._string_scanner$_position; @@ -150469,7 +151810,7 @@ _this._lastMatchPosition = _this._string_scanner$_position = t1.get$end(t1); return success; }, - expect$2$name: function(pattern, $name) { + expect$2$name(pattern, $name) { var t1; if (this.scan$1(pattern)) return; @@ -150478,84 +151819,82 @@ $name = "/" + pattern.pattern + "/"; else { t1 = J.toString$0$(pattern); - t1 = H.stringReplaceAllUnchecked(t1, "\\", "\\\\"); - $name = '"' + H.stringReplaceAllUnchecked(t1, '"', '\\"') + '"'; + t1 = A.stringReplaceAllUnchecked(t1, "\\", "\\\\"); + $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"'; } this._fail$1($name); - H.ReachabilityError$(string$.x60null_); + A.ReachabilityError$(string$.x60null_t); }, - expect$1: function(pattern) { + expect$1(pattern) { return this.expect$2$name(pattern, null); }, - expectDone$0: function() { + expectDone$0() { if (this._string_scanner$_position === this.string.length) return; this._fail$1("no more input"); - H.ReachabilityError$(string$.x60null_); + A.ReachabilityError$(string$.x60null_t); }, - substring$2: function(_, start, end) { + substring$2(_, start, end) { if (end == null) end = this._string_scanner$_position; - return C.JSString_methods.substring$2(this.string, start, end); + return B.JSString_methods.substring$2(this.string, start, end); }, - substring$1: function($receiver, start) { + substring$1($receiver, start) { return this.substring$2($receiver, start, null); }, - error$4$length$match$position: function(_, message, $length, match, position) { + error$4$length$match$position(_, message, $length, match, position) { var t2, t3, t4, t5, sourceFile, end, t1 = this.string; if (position < 0) - H.throwExpression(P.RangeError$("position must be greater than or equal to 0.")); + A.throwExpression(A.RangeError$("position must be greater than or equal to 0.")); else if (position > t1.length) - H.throwExpression(P.RangeError$("position must be less than or equal to the string length.")); + A.throwExpression(A.RangeError$("position must be less than or equal to the string length.")); t2 = position + $length > t1.length; if (t2) - H.throwExpression(P.RangeError$("position plus length must not go beyond the end of the string.")); + A.throwExpression(A.RangeError$("position plus length must not go beyond the end of the string.")); t2 = this.sourceUrl; - t3 = new H.CodeUnits(t1); - t4 = H.setRuntimeTypeInfo([0], type$.JSArray_int); - t5 = new Uint32Array(H._ensureNativeList(t3.toList$0(t3))); - sourceFile = new Y.SourceFile(t2, t4, t5); + t3 = new A.CodeUnits(t1); + t4 = A._setArrayType([0], type$.JSArray_int); + t5 = new Uint32Array(A._ensureNativeList(t3.toList$0(t3))); + sourceFile = new A.SourceFile(t2, t4, t5); sourceFile.SourceFile$decoded$2$url(t3, t2); end = position + $length; if (end > t5.length) - H.throwExpression(P.RangeError$("End " + end + string$.x20must_ + sourceFile.get$length(sourceFile) + ".")); + A.throwExpression(A.RangeError$("End " + end + string$.x20must_ + sourceFile.get$length(sourceFile) + ".")); else if (position < 0) - H.throwExpression(P.RangeError$("Start may not be negative, was " + position + ".")); - throw H.wrapException(new E.StringScannerException(t1, message, new Y._FileSpan(sourceFile, position, end))); + A.throwExpression(A.RangeError$("Start may not be negative, was " + position + ".")); + throw A.wrapException(new A.StringScannerException(t1, message, new A._FileSpan(sourceFile, position, end))); }, - error$3$length$position: function($receiver, message, $length, position) { + error$3$length$position($receiver, message, $length, position) { return this.error$4$length$match$position($receiver, message, $length, null, position); }, - _fail$1: function($name) { + _fail$1($name) { this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position); - H.ReachabilityError$(string$.x60null_); + A.ReachabilityError$(string$.x60null_t); } }; - S.Tuple2.prototype = { - toString$0: function(_) { - return "[" + H.S(this.item1) + ", " + H.S(this.item2) + "]"; + A.Tuple2.prototype = { + toString$0(_) { + return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]"; }, - $eq: function(_, other) { + $eq(_, other) { if (other == null) return false; - return other instanceof S.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2); + return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2); }, - get$hashCode: function(_) { - var t1 = J.get$hashCode$(this.item1), - t2 = J.get$hashCode$(this.item2); - return A._finish0(A._combine0(A._combine0(0, J.get$hashCode$(t1)), J.get$hashCode$(t2))); + get$hashCode(_) { + return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; - S.Tuple3.prototype = { - toString$0: function(_) { - return "[" + H.S(this.item1) + ", " + H.S(this.item2) + ", " + H.S(this.item3) + "]"; + A.Tuple3.prototype = { + toString$0(_) { + return "[" + A.S(this.item1) + ", " + A.S(this.item2) + ", " + A.S(this.item3) + "]"; }, - $eq: function(_, other) { + $eq(_, other) { var t1, t2; if (other == null) return false; - if (other instanceof S.Tuple3) { + if (other instanceof A.Tuple3) { t1 = other.item1; t2 = this.item1; t1 = (t1 == null ? t2 == null : t1 === t2) && J.$eq$(other.item2, this.item2) && J.$eq$(other.item3, this.item3); @@ -150563,112 +151902,109 @@ t1 = false; return t1; }, - get$hashCode: function(_) { - var t1 = J.get$hashCode$(this.item1), - t2 = J.get$hashCode$(this.item2), - t3 = J.get$hashCode$(this.item3); - return A._finish0(A._combine0(A._combine0(A._combine0(0, C.JSInt_methods.get$hashCode(t1)), J.get$hashCode$(t2)), C.JSInt_methods.get$hashCode(t3))); + get$hashCode(_) { + return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), J.get$hashCode$(this.item3), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; - S.Tuple5.prototype = { - toString$0: function(_) { + A.Tuple5.prototype = { + toString$0(_) { var _this = this; - return "[" + _this.item1 + ", " + _this.item2.toString$0(0) + ", " + _this.item3.toString$0(0) + ", " + H.S(_this.item4) + ", " + H.S(_this.item5) + "]"; + return "[" + _this.item1 + ", " + _this.item2.toString$0(0) + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + ", " + A.S(_this.item5) + "]"; }, - $eq: function(_, other) { + $eq(_, other) { var _this = this; if (other == null) return false; - return other instanceof S.Tuple5 && other.item1 === _this.item1 && other.item2.$eq(0, _this.item2) && other.item3.$eq(0, _this.item3) && J.$eq$(other.item4, _this.item4) && J.$eq$(other.item5, _this.item5); + return other instanceof A.Tuple5 && other.item1 === _this.item1 && other.item2.$eq(0, _this.item2) && other.item3.$eq(0, _this.item3) && J.$eq$(other.item4, _this.item4) && J.$eq$(other.item5, _this.item5); }, - get$hashCode: function(_) { + get$hashCode(_) { var _this = this, t1 = _this.item2, t2 = _this.item3; - return A.hashObjects0([C.JSInt_methods.get$hashCode(_this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), J.get$hashCode$(_this.item4), J.get$hashCode$(_this.item5)]); + return A.Object_hashAll([B.JSInt_methods.get$hashCode(_this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), J.get$hashCode$(_this.item4), J.get$hashCode$(_this.item5)]); } }; - L.ManagedDisposer.prototype = { - dispose$0: function() { + A.ManagedDisposer.prototype = { + dispose$0() { var disposeFuture, _this = this, t1 = _this._didDispose.future; - if (t1._async$_state !== 0 || _this._isDisposing) + if ((t1._state & 30) !== 0 || _this._isDisposing) return t1; _this._isDisposing = true; t1 = _this._disposer; if (t1 != null) { t1 = t1.call$0(); - disposeFuture = t1 == null ? P.Future_Future$value(null, type$.dynamic) : t1; + disposeFuture = t1 == null ? A.Future_Future$value(null, type$.dynamic) : t1; } else - disposeFuture = P.Future_Future$value(null, type$.dynamic); + disposeFuture = A.Future_Future$value(null, type$.dynamic); _this.set$_disposer(null); - return disposeFuture.then$1$1(0, new L.ManagedDisposer_dispose_closure(_this), type$.Null); + return disposeFuture.then$1$1(0, new A.ManagedDisposer_dispose_closure(_this), type$.Null); }, - set$_disposer: function(_disposer) { - this._disposer = type$.legacy_legacy_Future_dynamic_Function._as(_disposer); + set$_disposer(_disposer) { + this._disposer = type$.nullable_nullable_Future_dynamic_Function._as(_disposer); }, $is_Disposable: 1 }; - L.ManagedDisposer_dispose_closure.prototype = { - call$1: function(_) { + A.ManagedDisposer_dispose_closure.prototype = { + call$1(_) { var t1 = this.$this; t1.set$_disposer(null); t1._didDispose.complete$0(0); t1._isDisposing = false; }, - $signature: 32 + $signature: 47 }; - L._ObservableTimer.prototype = { - _ObservableTimer$2: function(duration, callback) { - this._timer = P.Timer_Timer(duration, new L._ObservableTimer_closure(this, callback)); + A._ObservableTimer.prototype = { + _ObservableTimer$2(duration, callback) { + this.___ObservableTimer__timer_A = A.Timer_Timer(duration, new A._ObservableTimer_closure(this, callback)); }, - _disposable$_complete$0: function() { + _disposable$_complete$0() { var t1 = this._didConclude; - if (t1.future._async$_state === 0) + if ((t1.future._state & 30) === 0) t1.complete$0(0); }, $isTimer: 1 }; - L._ObservableTimer_closure.prototype = { - call$0: function() { + A._ObservableTimer_closure.prototype = { + call$0() { this.callback.call$0(); this.$this._disposable$_complete$0(); }, - $signature: 12 + $signature: 0 }; - L.Disposable.prototype = { - dispose$0: function() { + A.Disposable.prototype = { + dispose$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$returnValue, $async$self = this, t3, t4, futures, t1, t2; - var $async$dispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$dispose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._didDispose; t2 = t1.future; - if (t2._async$_state !== 0) { + if ((t2._state & 30) !== 0) { $async$returnValue = null; // goto return $async$goto = 1; break; } t3 = $async$self._disposable$_state; - if (t3 === C.DisposableState_1 || t3 === C.DisposableState_2 || t3 === C.DisposableState_3) { + if (t3 === B.DisposableState_1 || t3 === B.DisposableState_2 || t3 === B.DisposableState_3) { $async$returnValue = t2; // goto return $async$goto = 1; break; } - $async$self._disposable$_state = C.DisposableState_1; + $async$self._disposable$_state = B.DisposableState_1; $async$goto = 3; - return P._asyncAwait($async$self.onWillDispose$0(), $async$dispose$0); + return A._asyncAwait($async$self.onWillDispose$0(), $async$dispose$0); case 3: // returning from await. - t2 = $async$self._awaitableFutures, t3 = type$.dynamic, t4 = H._instanceType(t2)._eval$1("SetMixin.E"); + t2 = $async$self._awaitableFutures, t3 = type$.dynamic, t4 = A._instanceType(t2)._eval$1("SetMixin.E"); case 4: // for condition if (!(t2._collection$_length !== 0)) { @@ -150676,13 +152012,13 @@ $async$goto = 5; break; } - futures = P.List_List$of(t2, true, t4); + futures = A.List_List$of(t2, true, t4); if (t2._collection$_length > 0) { t2._collection$_strings = t2._collection$_nums = t2._collection$_rest = t2._elements = null; t2._collection$_length = 0; } $async$goto = 6; - return P._asyncAwait(P.Future_wait(futures, t3), $async$dispose$0); + return A._asyncAwait(A.Future_wait(futures, t3), $async$dispose$0); case 6: // returning from await. // goto for condition @@ -150690,8 +152026,8 @@ break; case 5: // after for - $async$self._disposable$_state = C.DisposableState_2; - t2 = $async$self._internalDisposables, t3 = new P._HashSetIterator(t2, t2._computeElements$0(), H._instanceType(t2)._eval$1("_HashSetIterator<1>")); + $async$self._disposable$_state = B.DisposableState_2; + t2 = $async$self._internalDisposables, t3 = new A._HashSetIterator(t2, t2._computeElements$0(), A._instanceType(t2)._eval$1("_HashSetIterator<1>")); case 7: // for condition if (!t3.moveNext$0()) { @@ -150700,7 +152036,7 @@ break; } $async$goto = 9; - return P._asyncAwait(t3._collection$_current.dispose$0(), $async$dispose$0); + return A._asyncAwait(t3._collection$_current.dispose$0(), $async$dispose$0); case 9: // returning from await. // goto for condition @@ -150710,25 +152046,25 @@ // after for t2.clear$0(0); $async$goto = 10; - return P._asyncAwait($async$self.onDispose$0(), $async$dispose$0); + return A._asyncAwait($async$self.onDispose$0(), $async$dispose$0); case 10: // returning from await. t1.complete$0(0); - $async$self._disposable$_state = C.DisposableState_3; + $async$self._disposable$_state = B.DisposableState_3; case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$dispose$0, $async$completer); + return A._asyncStartSync($async$dispose$0, $async$completer); }, - onDispose$0: function() { + onDispose$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$returnValue; - var $async$onDispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$onDispose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -150739,18 +152075,18 @@ break; case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$onDispose$0, $async$completer); + return A._asyncStartSync($async$onDispose$0, $async$completer); }, - onWillDispose$0: function() { + onWillDispose$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$returnValue; - var $async$onWillDispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + var $async$onWillDispose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: @@ -150761,32 +152097,34 @@ break; case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$onWillDispose$0, $async$completer); + return A._asyncStartSync($async$onWillDispose$0, $async$completer); }, - _addObservableTimerDisposable$1: function(timer) { - var disposable = new L.ManagedDisposer(new L.Disposable__addObservableTimerDisposable_closure(timer), new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); + _addObservableTimerDisposable$1(timer) { + var disposable = new A.ManagedDisposer(new A.Disposable__addObservableTimerDisposable_closure(timer), new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); this._internalDisposables.add$1(0, disposable); - timer._didConclude.future.then$1$1(0, new L.Disposable__addObservableTimerDisposable_closure0(this, disposable), type$.Null); + timer._didConclude.future.then$1$1(0, new A.Disposable__addObservableTimerDisposable_closure0(this, disposable), type$.Null); }, $is_Disposable: 1 }; - L.Disposable__addObservableTimerDisposable_closure.prototype = { - call$0: function() { + A.Disposable__addObservableTimerDisposable_closure.prototype = { + call$0() { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, t1; - var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t1, t2; + var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.timer; - t1._timer.cancel$0(0); + t2 = t1.___ObservableTimer__timer_A; + t2 === $ && A.throwLateFieldNI("_timer"); + t2.cancel$0(0); t1._disposable$_complete$0(); $async$returnValue = null; // goto return @@ -150794,30 +152132,58 @@ break; case 1: // return - return P._asyncReturn($async$returnValue, $async$completer); + return A._asyncReturn($async$returnValue, $async$completer); } }); - return P._asyncStartSync($async$call$0, $async$completer); + return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 6 + $signature: 5 }; - L.Disposable__addObservableTimerDisposable_closure0.prototype = { - call$1: function(_) { + A.Disposable__addObservableTimerDisposable_closure0.prototype = { + call$1(_) { var t1; type$.Null._as(_); t1 = this.$this; - if (!(t1._didDispose.future._async$_state !== 0 || t1._disposable$_state === C.DisposableState_2)) + if (!((t1._didDispose.future._state & 30) !== 0 || t1._disposable$_state === B.DisposableState_2)) t1._internalDisposables.remove$1(0, this.disposable); }, - $signature: 558 + $signature: 563 }; - D.DisposableState.prototype = { - toString$0: function(_) { - return this._disposable_state$_name; + A.DisposableState.prototype = { + _enumToString$0() { + return "DisposableState." + this._core$_name; } }; - T.XmlDefaultEntityMapping.prototype = { - decodeEntity$1: function(input) { + A.DtdExternalId.prototype = { + toString$0(_) { + var t2, _this = this, + t1 = _this.publicId; + if (t1 != null) { + t2 = _this.publicIdType.token; + t2 = "PUBLIC " + t2 + t1 + t2; + t1 = t2; + } else + t1 = "SYSTEM"; + t2 = _this.systemIdType.token; + t2 = t1 + " " + t2 + A.S(_this.systemId) + t2; + return t2.charCodeAt(0) == 0 ? t2 : t2; + }, + get$hashCode(_) { + return A.Object_hash(this.systemId, this.publicId, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + var t1; + if (other == null) + return false; + if (other instanceof A.DtdExternalId) + t1 = true; + else + t1 = false; + return t1; + } + }; + A.XmlDefaultEntityMapping.prototype = { + decodeEntity$1(input) { var t1 = input.length; if (t1 > 1 && input[0] === "#") { if (t1 > 2) { @@ -150826,420 +152192,391 @@ } else t1 = false; if (t1) - return H.Primitives_stringFromCharCode(P.int_parse(C.JSString_methods.substring$1(input, 2), 16)); + return this._decodeNumericEntity$2(B.JSString_methods.substring$1(input, 2), 16); else - return H.Primitives_stringFromCharCode(P.int_parse(C.JSString_methods.substring$1(input, 1), null)); + return this._decodeNumericEntity$2(B.JSString_methods.substring$1(input, 1), 10); } else - return C.Map_2EUwe.$index(0, input); + return B.Map_2EUwe.$index(0, input); + }, + _decodeNumericEntity$2(input, radix) { + var value = A.Primitives_parseInt(input, radix); + if (value == null || value < 0 || 1114111 < value) + return null; + return A.Primitives_stringFromCharCode(value); }, - encodeAttributeValue$2: function(input, type) { + encodeAttributeValue$2(input, type) { var t1; switch (type) { - case C.XmlAttributeType_0: + case B.XmlAttributeType_fgL: t1 = $.$get$_singeQuoteAttributePattern(); input.toString; - return C.JSString_methods.splitMapJoin$2$onMatch(input, t1, type$.String_Function_Match._as(T.default_mapping___singeQuoteAttributeReplace$closure())); - case C.XmlAttributeType_1: + return A.stringReplaceAllFuncUnchecked(input, t1, type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___singeQuoteAttributeReplace$closure())), type$.nullable_String_Function_String._as(null)); + case B.XmlAttributeType_PIp: t1 = $.$get$_doubleQuoteAttributePattern(); input.toString; - return C.JSString_methods.splitMapJoin$2$onMatch(input, t1, type$.String_Function_Match._as(T.default_mapping___doubleQuoteAttributeReplace$closure())); + return A.stringReplaceAllFuncUnchecked(input, t1, type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___doubleQuoteAttributeReplace$closure())), type$.nullable_String_Function_String._as(null)); default: - throw H.wrapException(H.ReachabilityError$("`null` encountered as case in a switch expression with a non-nullable enum type.")); + throw A.wrapException(A.ReachabilityError$(string$.x60null_c)); } } }; - S.XmlEntityMapping.prototype = {}; - V.XmlGrammarDefinition.prototype = { - attribute$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$attribute(), new V.XmlGrammarDefinition_attribute_closure(this), false, t1, t1); - }, - attributeValueDouble$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$attributeValueDouble(), new V.XmlGrammarDefinition_attributeValueDouble_closure(), false, t1, t1); - }, - attributeValueSingle$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$attributeValueSingle(), new V.XmlGrammarDefinition_attributeValueSingle_closure(), false, t1, t1); - }, - comment$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$comment(), new V.XmlGrammarDefinition_comment_closure(this), false, t1, t1); - }, - declaration$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$declaration(), new V.XmlGrammarDefinition_declaration_closure(this), false, t1, t1); - }, - cdata$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$cdata(), new V.XmlGrammarDefinition_cdata_closure(this), false, t1, t1); - }, - doctype$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$doctype(), new V.XmlGrammarDefinition_doctype_closure(this), false, t1, t1); - }, - document$0: function(_) { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$document(0), new V.XmlGrammarDefinition_document_closure(this), false, t1, t1); + A._asNumericCharacterReferences_closure.prototype = { + call$1(rune) { + return "&#x" + J.toRadixString$1$n(A._asIntS(rune), 16).toUpperCase() + ";"; }, - element$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$element(), new V.XmlGrammarDefinition_element_closure(this), false, t1, t1); - }, - processing$0: function() { - var t1 = type$.dynamic; - return A.MapParserExtension_map(this.super$XmlProductionDefinition$processing(), new V.XmlGrammarDefinition_processing_closure(this), false, t1, t1); - }, - qualified$0: function() { - return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$qualified(), type$.CastParser_dynamic_String), this.get$createQualified(), false, type$.String, type$.dynamic); - }, - characterData$0: function() { - return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$characterData(), type$.CastParser_dynamic_String), this.get$createText(), false, type$.String, type$.dynamic); - }, - spaceText$0: function() { - return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$spaceText(), type$.CastParser_dynamic_String), this.get$createText(), false, type$.String, type$.dynamic); + $signature: 150 + }; + A.XmlEntityMapping.prototype = { + decode$1(_, input) { + var t1, index, value, next, + start = J.indexOf$2$asx(input, "&", 0); + if (start < 0) + return input; + t1 = B.JSString_methods.substring$2(input, 0, start); + for (; true; start = next) { + ++start; + index = B.JSString_methods.indexOf$2(input, ";", start); + if (start < index) { + value = this.decodeEntity$1(B.JSString_methods.substring$2(input, start, index)); + if (value != null) { + t1 += value; + start = index + 1; + } else + t1 += "&"; + } else + t1 += "&"; + next = B.JSString_methods.indexOf$2(input, "&", start); + if (next === -1) { + t1 += B.JSString_methods.substring$1(input, start); + break; + } + t1 += B.JSString_methods.substring$2(input, start, next); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; } }; - V.XmlGrammarDefinition_attribute_closure.prototype = { - call$1: function(each) { - var t1 = J.getInterceptor$asx(each), - t2 = H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.1")._as(t1.$index(each, 0)), - t3 = H._asStringS(J.$index$asx(t1.$index(each, 4), 0)); - t1 = type$.XmlAttributeType._as(J.$index$asx(t1.$index(each, 4), 1)); - return N.XmlAttribute$(type$.XmlName._as(t2), t3, t1); - }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + A.XmlAttributeType.prototype = { + _enumToString$0() { + return "XmlAttributeType." + this._core$_name; } }; - V.XmlGrammarDefinition_attributeValueDouble_closure.prototype = { - call$1: function(each) { - return [J.$index$asx(each, 1), C.XmlAttributeType_1]; - }, - $signature: 168 + A.XmlNodeType.prototype = { + _enumToString$0() { + return "XmlNodeType." + this._core$_name; + } }; - V.XmlGrammarDefinition_attributeValueSingle_closure.prototype = { - call$1: function(each) { - return [J.$index$asx(each, 1), C.XmlAttributeType_0]; - }, - $signature: 168 + A.XmlException.prototype = {$isException: 1, + get$message(receiver) { + return this.message; + } }; - V.XmlGrammarDefinition_comment_closure.prototype = { - call$1: function(each) { - return new R.XmlComment(H._asStringS(J.$index$asx(each, 1)), null); + A.XmlFormatException.prototype = { + get$_lineAndColumn() { + var t1, t2, result, _this = this, + value = _this.XmlFormatException___XmlFormatException__lineAndColumn_FI; + if (value === $) { + if (_this.get$buffer(_this) != null && _this.get$position(_this) != null) { + t1 = _this.get$buffer(_this); + t1.toString; + t2 = _this.get$position(_this); + t2.toString; + result = A.Token_lineAndColumnOf(t1, t2); + } else + result = B.List_0_0; + _this.XmlFormatException___XmlFormatException__lineAndColumn_FI !== $ && A.throwLateFieldADI("_lineAndColumn"); + _this.set$__XmlFormatException__lineAndColumn_FI(result); + value = result; + } + return value; + }, + get$locationString() { + var t1, value, result, value0, _this = this; + if (_this.get$buffer(_this) == null || _this.get$position(_this) == null) + t1 = ""; + else { + value = _this.XmlFormatException___XmlFormatException_line_FI; + if (value === $) { + result = _this.get$_lineAndColumn()[0]; + _this.XmlFormatException___XmlFormatException_line_FI !== $ && A.throwLateFieldADI("line"); + _this.XmlFormatException___XmlFormatException_line_FI = result; + value = result; + } + value0 = _this.XmlFormatException___XmlFormatException_column_FI; + if (value0 === $) { + result = _this.get$_lineAndColumn()[1]; + _this.XmlFormatException___XmlFormatException_column_FI !== $ && A.throwLateFieldADI("column"); + _this.XmlFormatException___XmlFormatException_column_FI = result; + value0 = result; + } + t1 = " at " + A.S(value) + ":" + A.S(value0); + } + return t1; + }, + get$source(_) { + return this.get$buffer(this); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + get$offset(_) { + return this.get$position(this); + }, + set$__XmlFormatException__lineAndColumn_FI(__XmlFormatException__lineAndColumn_FI) { + this.XmlFormatException___XmlFormatException__lineAndColumn_FI = type$.List_int._as(__XmlFormatException__lineAndColumn_FI); } }; - V.XmlGrammarDefinition_declaration_closure.prototype = { - call$1: function(each) { - var t1 = H._instanceType(this.$this); - return L.XmlDeclaration$(J.cast$1$0$ax(type$.Iterable_XmlNode._as(t1._eval$1("Iterable")._as(J.cast$1$0$ax(J.$index$asx(each, 1), t1._eval$1("XmlGrammarDefinition.0")))), type$.XmlAttribute)); - }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + A.XmlParentException.prototype = { + toString$0(_) { + return "XmlParentException: " + this.message; } }; - V.XmlGrammarDefinition_cdata_closure.prototype = { - call$1: function(each) { - return new L.XmlCDATA(H._asStringS(J.$index$asx(each, 1)), null); + A.XmlParserException.prototype = { + toString$0(_) { + return "XmlParserException: " + this.message + this.get$locationString(); }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + $isFormatException: 1, + get$buffer(receiver) { + return this.buffer; + }, + get$position(receiver) { + return this.position; } }; - V.XmlGrammarDefinition_doctype_closure.prototype = { - call$1: function(each) { - return new Q.XmlDoctype(H._asStringS(J.$index$asx(each, 2)), null); + A._XmlParserException_XmlException_XmlFormatException.prototype = {}; + A.XmlTagException.prototype = { + toString$0(_) { + return "XmlTagException: " + this.message + this.get$locationString(); + }, + $isFormatException: 1, + get$buffer(receiver) { + return this.buffer; }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + get$position(receiver) { + return this.position; } }; - V.XmlGrammarDefinition_document_closure.prototype = { - call$1: function(each) { - var t2, nodes = [], - t1 = J.getInterceptor$asx(each); - if (t1.$index(each, 0) != null) - nodes.push(t1.$index(each, 0)); - t2 = type$.Iterable_dynamic; - C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 1))); - if (t1.$index(each, 2) != null) - nodes.push(t1.$index(each, 2)); - C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 3))); - nodes.push(t1.$index(each, 4)); - C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 5))); - return S.XmlDocument$(type$.Iterable_XmlNode._as(new H.CastList(nodes, H._arrayInstanceType(nodes)._eval$1("@<1>")._bind$1(H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0"))._eval$1("CastList<1,2>")))); - }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + A._XmlTagException_XmlException_XmlFormatException.prototype = {}; + A.XmlNodeTypeException.prototype = { + toString$0(_) { + return "XmlNodeTypeException: " + this.message; } }; - V.XmlGrammarDefinition_element_closure.prototype = { - call$1: function(list) { - var children, token, lineAndColumn, t4, - t1 = J.getInterceptor$asx(list), - t2 = H._instanceType(this.$this), - $name = t2._eval$1("XmlGrammarDefinition.1")._as(t1.$index(list, 1)), - t3 = t2._eval$1("XmlGrammarDefinition.0"), - attributes = J.cast$1$0$ax(t1.$index(list, 2), t3); - if (J.$eq$(t1.$index(list, 4), "/>")) { - t2._eval$1("Iterable")._as(attributes); - t1 = H.setRuntimeTypeInfo([], t2._eval$1("JSArray")); - type$.XmlName._as($name); - t2 = type$.Iterable_XmlNode; - t2._as(attributes); - t2._as(t1); - return G.XmlElement$($name, J.cast$1$0$ax(attributes, type$.XmlAttribute), t1, true); - } else if (J.$eq$(t1.$index(list, 1), J.$index$asx(t1.$index(list, 4), 3))) { - children = J.cast$1$0$ax(J.$index$asx(t1.$index(list, 4), 1), t3); - t1 = t2._eval$1("Iterable"); - t1._as(attributes); - t1._as(children); - t1 = J.get$isNotEmpty$asx(children); - type$.XmlName._as($name); - t2 = type$.Iterable_XmlNode; - t2._as(attributes); - t2._as(children); - return G.XmlElement$($name, J.cast$1$0$ax(attributes, type$.XmlAttribute), children, t1); - } else { - token = type$.Token_dynamic._as(J.$index$asx(t1.$index(list, 4), 2)); - t2 = token.buffer; - t3 = token.start; - lineAndColumn = L.Token_lineAndColumnOf(t2, t3); - t1 = "Expected , but found "; - t4 = lineAndColumn[0]; - throw H.wrapException(T.XmlParserException$(t1, t2, lineAndColumn[1], t4, t3)); - } - }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + A.XmlDescendantsIterable.prototype = { + get$iterator(_) { + var t1 = new A.XmlDescendantsIterator(A._setArrayType([], type$.JSArray_XmlNode)); + t1.push$1(this._descendants$_start); + return t1; } }; - V.XmlGrammarDefinition_processing_closure.prototype = { - call$1: function(each) { - var t1 = J.getInterceptor$asx(each); - return new R.XmlProcessing(H._asStringS(t1.$index(each, 1)), H._asStringS(t1.$index(each, 2)), null); + A.XmlDescendantsIterator.prototype = { + push$1(node) { + var t1 = this._todo; + B.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$children(node))); + B.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$attributes(node))); + }, + get$current(_) { + var t1 = this.__XmlDescendantsIterator__current_A; + t1 === $ && A.throwLateFieldNI("_current"); + return t1; }, - $signature: function() { - return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + moveNext$0() { + var t1 = this._todo, + t2 = t1.length; + if (t2 === 0) + return false; + else { + if (0 >= t2) + return A.ioore(t1, -1); + t1 = type$.XmlNode._as(t1.pop()); + this.__XmlDescendantsIterator__current_A = t1; + this.push$1(t1); + return true; + } } }; - Z.XmlAttributesBase.prototype = { - get$attributes: function(_) { - return C.List_empty3; + A.XmlAttributesBase.prototype = { + get$attributes(_) { + return B.List_empty3; }, - getAttributeNode$2$namespace: function($name, namespace) { + getAttributeNode$2$namespace($name, namespace) { return null; } }; - Z.XmlHasAttributes.prototype = { - getAttribute$2$namespace: function(_, $name, namespace) { + A.XmlHasAttributes.prototype = { + getAttribute$2$namespace(_, $name, namespace) { var t1 = this.getAttributeNode$2$namespace($name, namespace); return t1 == null ? null : t1.value; }, - getAttribute$1: function($receiver, $name) { + getAttribute$1($receiver, $name) { return this.getAttribute$2$namespace($receiver, $name, null); }, - getAttributeNode$2$namespace: function($name, namespace) { + getAttributeNode$2$namespace($name, namespace) { var t1, t2, - tester = N.createNameMatcher($name, namespace); - for (t1 = this.get$attributes(this)._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + tester = A.createNameMatcher($name, namespace); + for (t1 = this.get$attributes(this)._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { t2 = t1.__interceptors$_current; - if (H.boolConversionCheck(tester.call$1(t2))) + if (A.boolConversionCheck(tester.call$1(t2))) return t2; } return null; }, - getAttributeNode$1: function($name) { + getAttributeNode$1($name) { return this.getAttributeNode$2$namespace($name, null); }, - get$attributes: function(receiver) { + get$attributes(receiver) { return this.XmlHasAttributes_attributes; } }; - Y.XmlChildrenBase.prototype = { - get$children: function(_) { - return C.List_empty2; + A.XmlChildrenBase.prototype = { + get$children(_) { + return B.List_empty2; } }; - Y.XmlHasChildren.prototype = { - get$children: function(receiver) { + A.XmlHasChildren.prototype = { + get$children(receiver) { return this.XmlHasChildren_children; } }; - X.XmlHasName.prototype = {}; - E.XmlParentBase.prototype = { - get$parent: function(_) { + A.XmlHasName.prototype = {}; + A.XmlParentBase.prototype = { + get$parent(_) { return null; }, - attachParent$1: function($parent) { + attachParent$1($parent) { return this._throwNoParent$0(); }, - detachParent$1: function($parent) { + detachParent$1($parent) { return this._throwNoParent$0(); }, - _throwNoParent$0: function() { - return H.throwExpression(P.UnsupportedError$(this.toString$0(0) + " does not have a parent.")); + _throwNoParent$0() { + return A.throwExpression(A.UnsupportedError$(this.toString$0(0) + " does not have a parent")); } }; - E.XmlHasParent.prototype = { - get$parent: function(_) { + A.XmlHasParent.prototype = { + get$parent(_) { return this.XmlHasParent__parent; }, - attachParent$1: function($parent) { - var _this = this; - H._instanceType(_this)._eval$1("XmlHasParent.T")._as($parent); - if (_this.get$parent(_this) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + _this.toString$0(0))); - _this.set$_has_parent$_parent($parent); + attachParent$1($parent) { + A._instanceType(this)._eval$1("XmlHasParent.T")._as($parent); + A.XmlParentException_checkNoParent(this); + this.set$_has_parent$_parent($parent); }, - detachParent$1: function($parent) { + detachParent$1($parent) { var _this = this; - H._instanceType(_this)._eval$1("XmlHasParent.T")._as($parent); - if (_this.get$parent(_this) != $parent) - H.throwExpression(T.XmlParentException$("Node already has a non-matching parent: " + _this.toString$0(0))); + A._instanceType(_this)._eval$1("XmlHasParent.T")._as($parent); + if (_this.get$parent(_this) !== $parent) + A.throwExpression(A.XmlParentException$("Node already has a non-matching parent", _this, $parent)); _this.set$_has_parent$_parent(null); }, - set$_has_parent$_parent: function(_parent) { - this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + set$_has_parent$_parent(_parent) { + this.XmlHasParent__parent = A._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + A.XmlValueBase.prototype = { + get$value(_) { + return null; } }; - V.XmlHasText.prototype = {}; - E.XmlHasVisitor.prototype = {}; - L.XmlHasWriter.prototype = { - toString$0: function(_) { - var buffer, writer, t1; - type$.nullable_bool_Function_XmlAttribute._as(null); - type$.nullable_bool_Function_XmlNode._as(null); - type$.nullable_int_Function_XmlAttribute_XmlAttribute._as(null); - buffer = new P.StringBuffer(""); - writer = new X.XmlWriter(buffer, C.C_XmlDefaultEntityMapping); + A.XmlHasVisitor.prototype = {}; + A.XmlHasWriter.prototype = { + toXmlString$0() { + var t1, + buffer = new A.StringBuffer(""), + writer = new A.XmlWriter(buffer, B.C_XmlDefaultEntityMapping); this.accept$1(0, writer); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; - } - }; - R.XmlHasXml.prototype = {}; - U.XmlDescendantsIterable.prototype = { - get$iterator: function(_) { - var t1 = new U.XmlDescendantsIterator(H.setRuntimeTypeInfo([], type$.JSArray_XmlNode)); - t1.push$1(this._descendants$_start); - return t1; - } - }; - U.XmlDescendantsIterator.prototype = { - get$_descendants$_current: function() { - var t1 = this.__XmlDescendantsIterator__current; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_current")) : t1; }, - push$1: function(node) { - var t1 = this._todo; - C.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$children(node))); - C.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$attributes(node))); - }, - get$current: function(_) { - return this.get$_descendants$_current(); - }, - moveNext$0: function() { - var _this = this, - t1 = _this._todo, - t2 = t1.length; - if (t2 === 0) - return false; - else { - if (0 >= t2) - return H.ioore(t1, -1); - _this.__XmlDescendantsIterator__current = type$.XmlNode._as(t1.pop()); - _this.push$1(_this.get$_descendants$_current()); - return true; - } + toString$0(_) { + return this.toXmlString$0(); } }; - N.XmlAttribute.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_0; + A.XmlAttribute.prototype = { + get$nodeType(_) { + return B.XmlNodeType_0; }, - copy$0: function() { - return N.XmlAttribute$(this.name.copy$0(), this.value, this.attributeType); + copy$0() { + return A.XmlAttribute$(this.name.copy$0(), this.value, this.attributeType); }, - accept$1: function(_, visitor) { - var t1, t2, t3, quote; + accept$1(_, visitor) { + var t1, t2, t3, t4; this.name.accept$1(0, visitor); t1 = visitor.buffer; t1._contents += "="; t2 = this.value; t3 = this.attributeType; - quote = C.Map_IZFmR.$index(0, t3); - t1._contents += H.S(quote) + visitor.entityMapping.encodeAttributeValue$2(t2, t3) + H.S(quote); + t4 = t3.token; + t1._contents += t4 + visitor.entityMapping.encodeAttributeValue$2(t2, t3) + t4; return null; }, - set$value: function(_, value) { - this.value = H._asStringS(value); + set$value(_, value) { + this.value = A._asStringS(value); }, - get$name: function(receiver) { + get$name(receiver) { return this.name; }, - get$value: function(receiver) { + get$value(receiver) { return this.value; } }; - N._XmlAttribute_XmlNode_XmlHasParent.prototype = { - set$_has_parent$_parent: function(_parent) { - this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); - } - }; - N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName.prototype = {}; - L.XmlCDATA.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_1; + A._XmlAttribute_XmlNode_XmlHasName.prototype = {}; + A._XmlAttribute_XmlNode_XmlHasName_XmlHasParent.prototype = {}; + A.XmlCDATA.prototype = { + get$nodeType(_) { + return B.XmlNodeType_1; }, - copy$0: function() { - return new L.XmlCDATA(this.text, null); + copy$0() { + return new A.XmlCDATA(this.value, null); }, - accept$1: function(_, visitor) { - var t2, - t1 = visitor.buffer; - t1._contents += ""; return null; } }; - R.XmlComment.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_2; + A.XmlComment.prototype = { + get$nodeType(_) { + return B.XmlNodeType_2; }, - copy$0: function() { - return new R.XmlComment(this.text, null); + copy$0() { + return new A.XmlComment(this.value, null); }, - accept$1: function(_, visitor) { - var t2, - t1 = visitor.buffer; - t1._contents += ""; return null; } }; - N.XmlData.prototype = {}; - N._XmlData_XmlNode_XmlHasParent.prototype = { - set$_has_parent$_parent: function(_parent) { - this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + A.XmlData.prototype = { + set$value(_, value) { + this.value = A._asStringS(value); + }, + get$value(receiver) { + return this.value; } }; - L.XmlDeclaration.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_3; + A._XmlData_XmlNode_XmlHasParent.prototype = {}; + A.XmlDeclaration.prototype = { + get$value(_) { + var result; + if (this.XmlHasAttributes_attributes._wrappers$_base.length === 0) + return ""; + result = this.toXmlString$0(); + return B.JSString_methods.substring$2(result, 6, result.length - 2); + }, + get$nodeType(_) { + return B.XmlNodeType_3; }, - copy$0: function() { + copy$0() { var t1 = this.XmlHasAttributes_attributes, t2 = t1._wrappers$_base, - t3 = H._arrayInstanceType(t2); - return L.XmlDeclaration$(new H.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new L.XmlDeclaration_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>"))); + t3 = A._arrayInstanceType(t2); + return A.XmlDeclaration$(new A.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new A.XmlDeclaration_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>"))); }, - accept$1: function(_, visitor) { + accept$1(_, visitor) { var t1 = visitor.buffer; t1._contents += ""; return null; } }; - S.XmlDocument.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_5; + A._XmlDoctype_XmlNode_XmlHasParent.prototype = {}; + A.XmlDocument.prototype = { + get$nodeType(_) { + return B.XmlNodeType_5; }, - copy$0: function() { + copy$0() { var t1 = this.XmlHasChildren_children, t2 = t1._wrappers$_base, - t3 = H._arrayInstanceType(t2); - return S.XmlDocument$(new H.MappedListIterable(t2, t3._eval$1("XmlNode(1)")._as(t1.$ti._eval$1("XmlNode(1)")._as(new S.XmlDocument_copy_closure())), t3._eval$1("MappedListIterable<1,XmlNode>"))); + t3 = A._arrayInstanceType(t2); + return A.XmlDocument$(new A.MappedListIterable(t2, t3._eval$1("XmlNode(1)")._as(t1.$ti._eval$1("XmlNode(1)")._as(new A.XmlDocument_copy_closure())), t3._eval$1("MappedListIterable<1,XmlNode>"))); }, - accept$1: function(_, visitor) { + accept$1(_, visitor) { return visitor.visitDocument$1(this); } }; - S.XmlDocument_copy_closure.prototype = { - call$1: function(each) { + A.XmlDocument_copy_closure.prototype = { + call$1(each) { return type$.XmlNode._as(each).copy$0(); }, - $signature: 170 - }; - S.documentParserCache_closure.prototype = { - call$1: function(entityMapping) { - return new G.XmlParserDefinition(type$.XmlEntityMapping._as(entityMapping)).build$1$0(type$.dynamic); - }, - $signature: 563 - }; - S._XmlDocument_XmlNode_XmlHasChildren.prototype = { - get$children: function(receiver) { - return this.XmlHasChildren_children; - } + $signature: 152 }; - G.XmlElement.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_7; + A._XmlDocument_XmlNode_XmlHasChildren.prototype = {}; + A.XmlElement.prototype = { + get$nodeType(_) { + return B.XmlNodeType_7; }, - copy$0: function() { + copy$0() { var _this = this, t1 = _this.XmlHasAttributes_attributes, t2 = t1._wrappers$_base, - t3 = H._arrayInstanceType(t2), + t3 = A._arrayInstanceType(t2), t4 = _this.XmlHasChildren_children, t5 = t4._wrappers$_base, - t6 = H._arrayInstanceType(t5); - return G.XmlElement$(_this.name.copy$0(), new H.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new G.XmlElement_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>")), new H.MappedListIterable(t5, t6._eval$1("XmlNode(1)")._as(t4.$ti._eval$1("XmlNode(1)")._as(new G.XmlElement_copy_closure0())), t6._eval$1("MappedListIterable<1,XmlNode>")), _this.isSelfClosing); + t6 = A._arrayInstanceType(t5); + return A.XmlElement$(_this.name.copy$0(), new A.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new A.XmlElement_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>")), new A.MappedListIterable(t5, t6._eval$1("XmlNode(1)")._as(t4.$ti._eval$1("XmlNode(1)")._as(new A.XmlElement_copy_closure0())), t6._eval$1("MappedListIterable<1,XmlNode>")), _this.isSelfClosing); }, - accept$1: function(_, visitor) { + accept$1(_, visitor) { return visitor.visitElement$1(this); }, - get$name: function(receiver) { + get$name(receiver) { return this.name; } }; - G.XmlElement_copy_closure.prototype = { - call$1: function(each) { + A.XmlElement_copy_closure.prototype = { + call$1(each) { type$.XmlAttribute._as(each); - return N.XmlAttribute$(each.name.copy$0(), each.value, each.attributeType); + return A.XmlAttribute$(each.name.copy$0(), each.value, each.attributeType); }, - $signature: 169 + $signature: 151 }; - G.XmlElement_copy_closure0.prototype = { - call$1: function(each) { + A.XmlElement_copy_closure0.prototype = { + call$1(each) { return type$.XmlNode._as(each).copy$0(); }, - $signature: 170 - }; - G._XmlElement_XmlNode_XmlHasParent.prototype = { - set$_has_parent$_parent: function(_parent) { - this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); - } - }; - G._XmlElement_XmlNode_XmlHasParent_XmlHasName.prototype = {}; - G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes.prototype = { - get$attributes: function(receiver) { - return this.XmlHasAttributes_attributes; - } - }; - G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren.prototype = { - get$children: function(receiver) { - return this.XmlHasChildren_children; - } + $signature: 152 }; - B.XmlNode.prototype = {}; - B._XmlNode_Object_XmlParentBase.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter.prototype = {}; - B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml.prototype = {}; - R.XmlProcessing.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_8; - }, - copy$0: function() { - return new R.XmlProcessing(this.target, this.text, null); - }, - accept$1: function(_, visitor) { - var t2, t3, - t1 = visitor.buffer; - t1._contents += ""; return null; }, - get$target: function(receiver) { + get$target(receiver) { return this.target; } }; - L.XmlText.prototype = { - get$nodeType: function(_) { - return C.XmlNodeType_9; + A.XmlText.prototype = { + get$nodeType(_) { + return B.XmlNodeType_9; }, - copy$0: function() { - return new L.XmlText(this.text, null); + copy$0() { + return new A.XmlText(this.value, null); }, - accept$1: function(_, visitor) { - var t1 = this.text, + accept$1(_, visitor) { + var t1 = this.value, t2 = $.$get$_textPattern(); t1.toString; - visitor.buffer._contents += C.JSString_methods.splitMapJoin$2$onMatch(t1, t2, type$.String_Function_Match._as(T.default_mapping___textReplace$closure())); + visitor.buffer._contents += A.stringReplaceAllFuncUnchecked(t1, t2, type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___textReplace$closure())), type$.nullable_String_Function_String._as(null)); return null; } }; - G.XmlParserDefinition.prototype = { - createQualified$1: function($name) { - return Q.XmlName_XmlName$fromString(H._asStringS($name)); - }, - createText$1: function(text) { - return new L.XmlText(H._asStringS(text), null); - } - }; - M.XmlProductionDefinition.prototype = { - attribute$0: function() { - var t1 = type$.ReferenceParser_dynamic, - t2 = this.get$spaceOptional(); - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$qualified(), C.List_empty, t1), new F.ReferenceParser(t2, C.List_empty, t1)), D.PredicateStringExtension_toParser("=")), new F.ReferenceParser(t2, C.List_empty, t1)), new F.ReferenceParser(this.get$attributeValue(), C.List_empty, t1)); - }, - attributeValue$0: function() { - var t1 = type$.ReferenceParser_dynamic; - return O.ChoiceParserExtension_or(new F.ReferenceParser(this.get$attributeValueDouble(), C.List_empty, t1), new F.ReferenceParser(this.get$attributeValueSingle(), C.List_empty, t1)); - }, - attributeValueDouble$0: function() { - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser('"'), new L.XmlCharacterDataParser(this.entityMapping, '"', 34, 0)), D.PredicateStringExtension_toParser('"')); - }, - attributeValueSingle$0: function() { - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("'"), new L.XmlCharacterDataParser(this.entityMapping, "'", 39, 0)), D.PredicateStringExtension_toParser("'")); - }, - attributes$0: function(_) { - var t1 = type$.ReferenceParser_dynamic; - return Z.PossessiveRepeatingParserExtension_repeat(new R.PickParser(1, Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$space(), C.List_empty, t1), new F.ReferenceParser(this.get$attribute(), C.List_empty, t1)), type$.PickParser_dynamic), 0, 9007199254740991, type$.dynamic); - }, - comment$0: function() { - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), D.PredicateStringExtension_toParser("-->")); - }, - cdata$0: function() { - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), D.PredicateStringExtension_toParser("]]>")); - }, - content$0: function(_) { - var _this = this, - t1 = type$.ReferenceParser_dynamic; - return Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(new F.ReferenceParser(_this.get$characterData(), C.List_empty, t1), new F.ReferenceParser(_this.get$element(), C.List_empty, t1)), new F.ReferenceParser(_this.get$processing(), C.List_empty, t1)), new F.ReferenceParser(_this.get$comment(), C.List_empty, t1)), new F.ReferenceParser(_this.get$cdata(), C.List_empty, t1)), 0, 9007199254740991, type$.dynamic); - }, - declaration$0: function() { - var t1 = type$.ReferenceParser_dynamic; - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("")); - }, - doctype$0: function() { - var _this = this, - t1 = type$.ReferenceParser_dynamic, - t2 = _this.get$spaceOptional(), - t3 = type$.dynamic; - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("")); - }, - document$0: function(_) { - var _this = this, - t1 = type$.ReferenceParser_dynamic, - t2 = type$.OptionalParser_dynamic, - t3 = _this.get$misc(); - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(new M.OptionalParser(null, new F.ReferenceParser(_this.get$declaration(), C.List_empty, t1), t2), new F.ReferenceParser(t3, C.List_empty, t1)), new M.OptionalParser(null, new F.ReferenceParser(_this.get$doctype(), C.List_empty, t1), t2)), new F.ReferenceParser(t3, C.List_empty, t1)), new F.ReferenceParser(_this.get$element(), C.List_empty, t1)), new F.ReferenceParser(t3, C.List_empty, t1)); - }, - element$0: function() { - var _this = this, - t1 = _this.get$qualified(), - t2 = type$.ReferenceParser_dynamic, - t3 = _this.get$spaceOptional(); - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("<"), new F.ReferenceParser(t1, C.List_empty, t2)), new F.ReferenceParser(_this.get$attributes(_this), C.List_empty, t2)), new F.ReferenceParser(t3, C.List_empty, t2)), O.ChoiceParserExtension_or(D.PredicateStringExtension_toParser("/>"), Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(">"), new F.ReferenceParser(_this.get$content(_this), C.List_empty, t2)), new L.TokenParser(D.PredicateStringExtension_toParser("")))); - }, - processing$0: function() { - var t1 = type$.ReferenceParser_dynamic; - return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), type$.PickParser_dynamic), type$.OptionalParser_dynamic)), D.PredicateStringExtension_toParser("?>")); - }, - qualified$0: function() { - return new F.ReferenceParser(this.get$nameToken(), C.List_empty, type$.ReferenceParser_dynamic); - }, - characterData$0: function() { - return new L.XmlCharacterDataParser(this.entityMapping, "<", 60, 1); - }, - misc$0: function() { - var t1 = type$.ReferenceParser_dynamic; - return Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(new F.ReferenceParser(this.get$spaceText(), C.List_empty, t1), new F.ReferenceParser(this.get$comment(), C.List_empty, t1)), new F.ReferenceParser(this.get$processing(), C.List_empty, t1)), 0, 9007199254740991, type$.dynamic); - }, - space$0: function() { - return Z.PossessiveRepeatingParserExtension_repeat(new G.CharacterParser(C.C_WhitespaceCharPredicate, "whitespace expected"), 1, 9007199254740991, type$.String); - }, - spaceText$0: function() { - return new K.FlattenParser("Expected whitespace", new F.ReferenceParser(this.get$space(), C.List_empty, type$.ReferenceParser_dynamic), type$.FlattenParser_dynamic); - }, - spaceOptional$0: function() { - return Z.PossessiveRepeatingParserExtension_repeat(new G.CharacterParser(C.C_WhitespaceCharPredicate, "whitespace expected"), 0, 9007199254740991, type$.String); - }, - nameToken$0: function() { - var t1 = type$.ReferenceParser_dynamic; - return new K.FlattenParser("Expected name", Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$nameStartChar(), C.List_empty, t1), Z.PossessiveRepeatingParserExtension_repeat(new F.ReferenceParser(this.get$nameChar(), C.List_empty, t1), 0, 9007199254740991, type$.dynamic)), type$.FlattenParser_List_dynamic); - }, - nameStartChar$0: function() { - return E.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd", null); - }, - nameChar$0: function() { - return E.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd-.0-9\xb7\u0300-\u036f\u203f-\u2040", null); - } - }; - D.XmlAttributeType.prototype = { - toString$0: function(_) { - return this._attribute_type$_name; - } - }; - B.XmlCache.prototype = { - $index: function(_, key) { - var t2, t3, it, _this = this, - t1 = _this.$ti; - t1._precomputed1._as(key); - t2 = _this._cache$_values; - if (!t2.containsKey$1(0, key)) { - t2.$indexSet(0, key, t1._rest[1]._as(_this._loader.call$1(key))); - for (t1 = _this._maxSize; t2.get$length(t2) > t1;) { - t3 = t2.get$keys(t2); - it = t3.get$iterator(t3); + A.XmlCache.prototype = { + $index(_, key) { + var t1, t2, t3, t4, it, _this = this; + _this.$ti._precomputed1._as(key); + t1 = _this._cache$_values; + if (!t1.containsKey$1(0, key)) { + t1.$indexSet(0, key, _this._loader.call$1(key)); + for (t2 = _this._maxSize, t3 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); t1._length > t2;) { + t4 = new A.LinkedHashMapKeyIterable(t1, t3); + it = t4.get$iterator(t4); if (!it.moveNext$0()) - H.throwExpression(H.IterableElementError_noElement()); - t2.remove$1(0, it.get$current(it)); + A.throwExpression(A.IterableElementError_noElement()); + t1.remove$1(0, it.get$current(it)); } } - t1 = t2.$index(0, key); + t1 = t1.$index(0, key); t1.toString; return t1; } }; - L.XmlCharacterDataParser.prototype = { - parseOn$1: function(context) { - var t1, t2, start, position0, value, position1, index, t3, - input = context.buffer, - $length = input.length, - output = new P.StringBuffer(""), - position = context.position; - for (t1 = this._stopperCode, t2 = this._entityMapping, start = position, position0 = start; position0 < $length;) { - value = C.JSString_methods.codeUnitAt$1(input, position0); - if (value === t1) - break; - else { - position1 = position0 + 1; - if (value === 38) { - index = C.JSString_methods.indexOf$2(input, ";", position1); - if (position1 < index) { - value = t2.decodeEntity$1(C.JSString_methods.substring$2(input, position1, index)); - if (value != null) { - t3 = output._contents += C.JSString_methods.substring$2(input, start, position0); - output._contents = t3 + value; - position0 = index + 1; - start = position0; - } else - position0 = position1; - } else - position0 = position1; - } else - position0 = position1; - } + A.XmlCharacterDataParser.prototype = { + parseOn$1(context) { + var t1, + buffer = context.buffer, + position = context.position, + end = buffer.length, + index = position < end ? B.JSString_methods.indexOf$2(buffer, this._stopper, position) : end; + end = index === -1 ? end : index; + if (end - position < this._minLength) + t1 = new A.Failure("Unable to parse character data.", buffer, position, type$.Failure_String); + else { + t1 = B.JSString_methods.substring$2(buffer, position, end); + t1 = new A.Success(t1, buffer, end, type$.Success_String); } - t1 = output._contents += C.JSString_methods.substring$2(input, start, position0); - if (t1.length < this._minLength) - t1 = new B.Failure("Unable to parse character data.", input, position, type$.Failure_String); - else - t1 = new D.Success(t1.charCodeAt(0) == 0 ? t1 : t1, input, position0, type$.Success_String); return t1; }, - fastParseOn$2: function(buffer, position) { - var t1, position0, - $length = buffer.length; - for (t1 = this._stopperCode, position0 = position; position0 < $length;) - if (C.JSString_methods.codeUnitAt$1(buffer, position0) === t1) - break; - else - ++position0; - return position0 - position < this._minLength ? -1 : position0; - } - }; - T.XmlException.prototype = { - toString$0: function(_) { - return "XmlException: " + this.message; - }, - $isException: 1, - get$message: function(receiver) { - return this.message; + fastParseOn$2(buffer, position) { + var end = buffer.length, + index = position < end ? B.JSString_methods.indexOf$2(buffer, this._stopper, position) : end; + end = index === -1 ? end : index; + return end - position < this._minLength ? -1 : end; } }; - T.XmlParserException.prototype = { - get$source: function(_) { - return this.buffer; - }, - get$offset: function(_) { - return this.position; - }, - toString$0: function(_) { - return "XmlParserException: " + this.message + " at " + this.line + ":" + this.column; - }, - $isFormatException: 1 - }; - T.XmlNodeTypeException.prototype = { - toString$0: function(_) { - return "XmlNodeTypeException: " + this.message; - } - }; - T.XmlParentException.prototype = { - toString$0: function(_) { - return "XmlParentException: " + this.message; - } - }; - Q.XmlName.prototype = { - accept$1: function(_, visitor) { + A.XmlName.prototype = { + accept$1(_, visitor) { visitor.buffer._contents += this.get$qualified(); return null; }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof Q.XmlName && other.get$qualified() === this.get$qualified(); - }, - get$hashCode: function(_) { - return C.JSString_methods.get$hashCode(this.get$qualified()); - } - }; - Q._XmlName_Object_XmlHasVisitor.prototype = {}; - Q._XmlName_Object_XmlHasVisitor_XmlHasWriter.prototype = {}; - Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent.prototype = { - set$_has_parent$_parent: function(_parent) { - this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); - } + $isXmlParentBase: 1 }; - N.createNameMatcher_closure.prototype = { - call$1: function(named) { + A._XmlName_Object_XmlHasVisitor.prototype = {}; + A._XmlName_Object_XmlHasVisitor_XmlHasWriter.prototype = {}; + A._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent.prototype = {}; + A.createNameMatcher_closure.prototype = { + call$1(named) { type$.XmlHasName._as(named); return true; }, - $signature: 52 + $signature: 57 }; - N.createNameMatcher_closure0.prototype = { - call$1: function(named) { + A.createNameMatcher_closure0.prototype = { + call$1(named) { var t1; type$.XmlHasName._as(named); t1 = named.get$name(named); return t1.get$namespaceUri(t1) === this.namespace; }, - $signature: 52 + $signature: 57 }; - N.createNameMatcher_closure1.prototype = { - call$1: function(named) { + A.createNameMatcher_closure1.prototype = { + call$1(named) { type$.XmlHasName._as(named); return named.get$name(named).get$qualified() === this.name; }, - $signature: 52 + $signature: 57 }; - N.createNameMatcher_closure2.prototype = { - call$1: function(named) { + A.createNameMatcher_closure2.prototype = { + call$1(named) { type$.XmlHasName._as(named); return named.get$name(named).get$local() === this.name; }, - $signature: 52 + $signature: 57 }; - N.createNameMatcher_closure3.prototype = { - call$1: function(named) { + A.createNameMatcher_closure3.prototype = { + call$1(named) { var t1; type$.XmlHasName._as(named); if (named.get$name(named).get$local() === this.name) { @@ -151673,143 +152829,105 @@ t1 = false; return t1; }, - $signature: 52 + $signature: 57 }; - B.XmlNodeList.prototype = { - get$_node_list$_parent: function() { - var t1 = this.__XmlNodeList__parent; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t1; - }, - get$_nodeTypes: function() { - var t1 = this.__XmlNodeList__nodeTypes; - return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_nodeTypes")) : t1; - }, - set$_nodeTypes: function(t1) { - type$.Set_XmlNodeType._as(t1); - if (this.__XmlNodeList__nodeTypes === $) - this.set$__XmlNodeList__nodeTypes(t1); - else - throw H.wrapException(H.LateError$fieldAI("_nodeTypes")); - }, - $indexSet: function(_, index, value) { - var _this = this; - H._asIntS(index); + A.XmlNodeList.prototype = { + $indexSet(_, index, value) { + var t1, t2, _this = this; + A._asIntS(index); _this.$ti._precomputed1._as(value); - P.RangeError_checkValidIndex(index, _this); - if (value.get$nodeType(value) === C.XmlNodeType_6) { + A.RangeError_checkValidIndex(index, _this); + if (value.get$nodeType(value) === B.XmlNodeType_6) { if (typeof index !== "number") return index.$add(); _this.replaceRange$3(0, index, index + 1, _this._expandFragment$1(value)); } else { - T.XmlNodeTypeException_checkValidType(value, _this.get$_nodeTypes()); - if (value.get$parent(value) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + value.toString$0(0))); - C.JSArray_methods.$index(_this._wrappers$_base, index).detachParent$1(_this.get$_node_list$_parent()); + t1 = _this.__XmlNodeList__nodeTypes_F; + t1 === $ && A.throwLateFieldNI("_nodeTypes"); + A.XmlNodeTypeException_checkValidType(value, t1); + A.XmlParentException_checkNoParent(value); + t1 = B.JSArray_methods.$index(_this._wrappers$_base, index); + t2 = _this.__XmlNodeList__parent_F; + t2 === $ && A.throwLateFieldNI("_parent"); + t1.detachParent$1(t2); _this.super$DelegatingList$$indexSet(0, index, value); - value.attachParent$1(_this.get$_node_list$_parent()); + value.attachParent$1(t2); } }, - add$1: function(_, value) { - var _this = this; + add$1(_, value) { + var t1, _this = this; _this.$ti._precomputed1._as(value); - if (value.get$nodeType(value) === C.XmlNodeType_6) + if (value.get$nodeType(value) === B.XmlNodeType_6) _this.addAll$1(0, _this._expandFragment$1(value)); else { - T.XmlNodeTypeException_checkValidType(value, _this.get$_nodeTypes()); - if (value.get$parent(value) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + value.toString$0(0))); + t1 = _this.__XmlNodeList__nodeTypes_F; + t1 === $ && A.throwLateFieldNI("_nodeTypes"); + A.XmlNodeTypeException_checkValidType(value, t1); + A.XmlParentException_checkNoParent(value); _this.super$DelegatingList$add(0, value); - value.attachParent$1(_this.get$_node_list$_parent()); + t1 = _this.__XmlNodeList__parent_F; + t1 === $ && A.throwLateFieldNI("_parent"); + value.attachParent$1(t1); } }, - addAll$1: function(_, iterable) { + addAll$1(_, iterable) { var t1, _i, node, t2, _this = this, expanded = _this._expandNodes$1(_this.$ti._eval$1("Iterable<1>")._as(iterable)); _this.super$DelegatingList$addAll(0, expanded); - for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, A.throwConcurrentModificationError)(expanded), ++_i) { node = expanded[_i]; - t2 = _this.__XmlNodeList__parent; - node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); - } - }, - remove$1: function(_, value) { - var removed = this.super$DelegatingList$remove(0, value); - if (removed && this.$ti._precomputed1._is(value)) - value.detachParent$1(this.get$_node_list$_parent()); - return removed; - }, - removeWhere$1: function(_, test) { - this.super$DelegatingList$removeWhere(0, new B.XmlNodeList_removeWhere_closure(this, this.$ti._eval$1("bool(1)")._as(test))); - }, - clear$0: function(_) { - var t1, node, t2; - for (t1 = this._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { - node = t1.__interceptors$_current; - t2 = this.__XmlNodeList__parent; - node.detachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + t2 = _this.__XmlNodeList__parent_F; + t2 === $ && A.throwLateFieldNI("_parent"); + node.attachParent$1(t2); } - this.super$DelegatingList$clear(0); }, - removeLast$0: function(_) { - var node = this.super$DelegatingList$removeLast(0); - node.detachParent$1(this.get$_node_list$_parent()); - return node; - }, - removeRange$2: function(_, start, end) { - var i, t2, t3, - t1 = this._wrappers$_base; - P.RangeError_checkValidRange(start, end, t1.length); - i = start; - while (true) { - if (typeof i !== "number") - return i.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(i < end)) - break; - if (i < 0 || i >= t1.length) - return H.ioore(t1, i); - t2 = t1[i]; - t3 = this.__XmlNodeList__parent; - t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); - ++i; + remove$1(_, value) { + var t1, + removed = this.super$DelegatingList$remove(0, value); + if (removed && this.$ti._precomputed1._is(value)) { + t1 = this.__XmlNodeList__parent_F; + t1 === $ && A.throwLateFieldNI("_parent"); + A.XmlParentException_checkMatchingParent(value, A._instanceType(value)._eval$1("XmlHasParent.T")._as(t1)); + value.set$_has_parent$_parent(null); } - this.super$DelegatingList$removeRange(0, start, end); + return removed; }, - setRange$4: function(_, start, end, iterable, skipCount) { + setRange$4(_, start, end, iterable, skipCount) { var t1, expanded, i, t2, t3, _this = this; - H._asIntS(end); + A._asIntS(end); _this.$ti._eval$1("Iterable<1>")._as(iterable); t1 = _this._wrappers$_base; - P.RangeError_checkValidRange(start, end, t1.length); + A.RangeError_checkValidRange(start, end, t1.length); expanded = _this._expandNodes$1(iterable); if (typeof end !== "number") - return H.iae(end); + return A.iae(end); i = start; for (; i < end; ++i) { - if (i >= t1.length) - return H.ioore(t1, i); + if (!(i < t1.length)) + return A.ioore(t1, i); t2 = t1[i]; - t3 = _this.__XmlNodeList__parent; - t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + t3 = _this.__XmlNodeList__parent_F; + t3 === $ && A.throwLateFieldNI("_parent"); + t2.detachParent$1(t3); } _this.super$DelegatingList$setRange(0, start, end, expanded, skipCount); for (i = start; i < end; ++i) { - if (i >= t1.length) - return H.ioore(t1, i); + if (!(i < t1.length)) + return A.ioore(t1, i); t2 = t1[i]; - t3 = _this.__XmlNodeList__parent; - t2.attachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + t3 = _this.__XmlNodeList__parent_F; + t3 === $ && A.throwLateFieldNI("_parent"); + t2.attachParent$1(t3); } }, - setRange$3: function($receiver, start, end, iterable) { + setRange$3($receiver, start, end, iterable) { return this.setRange$4($receiver, start, end, iterable, 0); }, - replaceRange$3: function(_, start, end, iterable) { + replaceRange$3(_, start, end, iterable) { var t1, expanded, i, t2, t3, _i, node, _this = this; _this.$ti._eval$1("Iterable<1>")._as(iterable); t1 = _this._wrappers$_base; - P.RangeError_checkValidRange(start, end, t1.length); + A.RangeError_checkValidRange(start, end, t1.length); expanded = _this._expandNodes$1(iterable); i = start; while (true) { @@ -151817,157 +152935,145 @@ return i.$lt(); if (!(i < end)) break; - if (i < 0 || i >= t1.length) - return H.ioore(t1, i); + if (!(i >= 0 && i < t1.length)) + return A.ioore(t1, i); t2 = t1[i]; - t3 = _this.__XmlNodeList__parent; - t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + t3 = _this.__XmlNodeList__parent_F; + t3 === $ && A.throwLateFieldNI("_parent"); + t2.detachParent$1(t3); ++i; } _this.super$DelegatingList$replaceRange(0, start, end, expanded); - for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, A.throwConcurrentModificationError)(expanded), ++_i) { node = expanded[_i]; - t2 = _this.__XmlNodeList__parent; - node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + t2 = _this.__XmlNodeList__parent_F; + t2 === $ && A.throwLateFieldNI("_parent"); + node.attachParent$1(t2); } }, - insert$2: function(_, index, element) { - var t1, _this = this, - _s52_ = string$.Node_a; + insert$2(_, index, element) { + var t1, _this = this; _this.$ti._precomputed1._as(element); - element.toString; - T.XmlNodeTypeException_checkValidType(element, _this.get$_nodeTypes()); - if (element.get$parent(element) != null) - H.throwExpression(T.XmlParentException$(_s52_ + element.toString$0(0))); + t1 = _this.__XmlNodeList__nodeTypes_F; + t1 === $ && A.throwLateFieldNI("_nodeTypes"); + A.XmlNodeTypeException_checkValidType(element, t1); + A.XmlParentException_checkNoParent(element); _this.super$DelegatingList$insert(0, index, element); - t1 = H._instanceType(element)._eval$1("XmlHasParent.T")._as(_this.get$_node_list$_parent()); - if (element.get$parent(element) != null) - H.throwExpression(T.XmlParentException$(_s52_ + element.toString$0(0))); + t1 = _this.__XmlNodeList__parent_F; + t1 === $ && A.throwLateFieldNI("_parent"); + A._instanceType(element)._eval$1("XmlHasParent.T")._as(t1); + A.XmlParentException_checkNoParent(element); element.set$_has_parent$_parent(t1); }, - insertAll$2: function(_, index, iterable) { + insertAll$2(_, index, iterable) { var t1, _i, node, t2, _this = this, expanded = _this._expandNodes$1(_this.$ti._eval$1("Iterable<1>")._as(iterable)); _this.super$DelegatingList$insertAll(0, index, expanded); - for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, A.throwConcurrentModificationError)(expanded), ++_i) { node = expanded[_i]; - t2 = _this.__XmlNodeList__parent; - node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + t2 = _this.__XmlNodeList__parent_F; + t2 === $ && A.throwLateFieldNI("_parent"); + node.attachParent$1(t2); } }, - removeAt$1: function(_, index) { - var t1, _this = this; - P.RangeError_checkValidIndex(index, _this); + removeAt$1(_, index) { + var t1, t2, _this = this; + A.RangeError_checkValidIndex(index, _this); t1 = _this._wrappers$_base; - if (index < 0 || index >= t1.length) - return H.ioore(t1, index); - t1[index].detachParent$1(_this.get$_node_list$_parent()); + if (!(index >= 0 && index < t1.length)) + return A.ioore(t1, index); + t1 = t1[index]; + t2 = _this.__XmlNodeList__parent_F; + t2 === $ && A.throwLateFieldNI("_parent"); + t1.detachParent$1(t2); return _this.super$DelegatingList$removeAt(0, index); }, - _expandFragment$1: function(fragment) { + _expandFragment$1(fragment) { var t1 = this.$ti._precomputed1; t1._as(fragment); - return J.map$1$1$ax(fragment.get$children(fragment), new B.XmlNodeList__expandFragment_closure(this), t1); + return J.map$1$1$ax(fragment.get$children(fragment), new A.XmlNodeList__expandFragment_closure(this), t1); }, - _expandNodes$1: function(iterable) { + _expandNodes$1(iterable) { var expanded, node, t2, t1 = this.$ti; t1._eval$1("Iterable<1>")._as(iterable); - expanded = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); + expanded = A._setArrayType([], t1._eval$1("JSArray<1>")); for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) { node = t1.get$current(t1); - if (J.get$nodeType$x(node) === C.XmlNodeType_6) - C.JSArray_methods.addAll$1(expanded, this._expandFragment$1(node)); + if (J.get$nodeType$x(node) === B.XmlNodeType_6) + B.JSArray_methods.addAll$1(expanded, this._expandFragment$1(node)); else { - t2 = this.__XmlNodeList__nodeTypes; - if (t2 === $) - t2 = H.throwExpression(H.LateError$fieldNI("_nodeTypes")); - if (!t2.contains$1(0, node.get$nodeType(node))) - H.throwExpression(T.XmlNodeTypeException$("Expected node of type: " + t2.toString$0(0))); + t2 = this.__XmlNodeList__nodeTypes_F; + t2 === $ && A.throwLateFieldNI("_nodeTypes"); + if (!J.containsKey$1$x(t2._collection$_map, node.get$nodeType(node))) + A.throwExpression(A.XmlNodeTypeException$("Got " + node.get$nodeType(node).toString$0(0) + ", but expected one of " + t2.join$1(0, ", "), node, t2)); if (node.get$parent(node) != null) - H.throwExpression(T.XmlParentException$(string$.Node_a + node.toString$0(0))); - C.JSArray_methods.add$1(expanded, node); + A.throwExpression(A.XmlParentException$(string$.Node_a, node, node.get$parent(node))); + B.JSArray_methods.add$1(expanded, node); } } return expanded; }, - set$__XmlNodeList__nodeTypes: function(__XmlNodeList__nodeTypes) { - this.__XmlNodeList__nodeTypes = type$.nullable_Set_XmlNodeType._as(__XmlNodeList__nodeTypes); - } - }; - B.XmlNodeList_removeWhere_closure.prototype = { - call$1: function(node) { - var remove, - t1 = this.$this; - t1.$ti._precomputed1._as(node); - remove = this.test.call$1(node); - if (H.boolConversionCheck(remove)) - node.detachParent$1(t1.get$_node_list$_parent()); - return remove; - }, - $signature: function() { - return this.$this.$ti._eval$1("bool(1)"); + set$__XmlNodeList__nodeTypes_F(__XmlNodeList__nodeTypes_F) { + this.__XmlNodeList__nodeTypes_F = type$.Set_XmlNodeType._as(__XmlNodeList__nodeTypes_F); } }; - B.XmlNodeList__expandFragment_closure.prototype = { - call$1: function(node) { - var t1; + A.XmlNodeList__expandFragment_closure.prototype = { + call$1(node) { + var t1, t2; type$.XmlNode._as(node); t1 = this.$this; - T.XmlNodeTypeException_checkValidType(node, t1.get$_nodeTypes()); + t2 = t1.__XmlNodeList__nodeTypes_F; + t2 === $ && A.throwLateFieldNI("_nodeTypes"); + A.XmlNodeTypeException_checkValidType(node, t2); return t1.$ti._precomputed1._as(node.copy$0()); }, - $signature: function() { + $signature() { return this.$this.$ti._eval$1("1(XmlNode)"); } }; - E.XmlNodeType.prototype = { - toString$0: function(_) { - return this._node_type$_name; - } - }; - B.XmlPrefixName.prototype = { - get$namespaceUri: function(_) { - var t1 = B.lookupAttribute(this.XmlHasParent__parent, "xmlns", this.prefix); + A.XmlPrefixName.prototype = { + get$namespaceUri(_) { + var t1 = A.lookupAttribute(this.XmlHasParent__parent, "xmlns", this.prefix); return t1 == null ? null : t1.value; }, - copy$0: function() { - return new B.XmlPrefixName(this.prefix, this.local, this.qualified, null); + copy$0() { + return new A.XmlPrefixName(this.prefix, this.local, this.qualified, null); }, - get$prefix: function(receiver) { + get$prefix(receiver) { return this.prefix; }, - get$local: function() { + get$local() { return this.local; }, - get$qualified: function() { + get$qualified() { return this.qualified; } }; - R.XmlSimpleName.prototype = { - get$prefix: function(_) { + A.XmlSimpleName.prototype = { + get$prefix(_) { return null; }, - get$qualified: function() { + get$qualified() { return this.local; }, - get$namespaceUri: function(_) { - var t1 = B.lookupAttribute(this.XmlHasParent__parent, null, "xmlns"); + get$namespaceUri(_) { + var t1 = A.lookupAttribute(this.XmlHasParent__parent, null, "xmlns"); return t1 == null ? null : t1.value; }, - copy$0: function() { - return new R.XmlSimpleName(this.local, null); + copy$0() { + return new A.XmlSimpleName(this.local, null); }, - get$local: function() { + get$local() { return this.local; } }; - B.XmlVisitor.prototype = {}; - X.XmlWriter.prototype = { - visitDocument$1: function(node) { + A.XmlVisitor.prototype = {}; + A.XmlWriter.prototype = { + visitDocument$1(node) { this.writeIterable$1(node.XmlHasChildren_children); }, - visitElement$1: function(node) { + visitElement$1(node) { var t2, t3, t4, t5, _this = this, t1 = _this.buffer; t1._contents += "<"; @@ -151987,15 +153093,15 @@ t1._contents += ">"; } }, - writeAttributes$1: function(node) { + writeAttributes$1(node) { var t1 = node.XmlHasAttributes_attributes; if (t1._wrappers$_base.length !== 0) { this.buffer._contents += " "; this.writeIterable$2(t1, " "); } }, - writeIterable$2: function(nodes, separator) { - var t1, t2, _this = this, + writeIterable$2(nodes, separator) { + var t1, t2, t3, _this = this, iterator = J.get$iterator$ax(type$.Iterable_XmlHasVisitor._as(nodes)); if (iterator.moveNext$0()) { t1 = separator == null || separator.length === 0; @@ -152006,2320 +153112,3077 @@ while (iterator.moveNext$0()); } else { t2._as(iterator.__interceptors$_current).accept$1(0, _this); - for (t1 = _this.buffer; iterator.moveNext$0();) { - t1._contents += H.S(separator); + for (t1 = _this.buffer, t3 = A.S(separator); iterator.moveNext$0();) { + t1._contents += t3; t2._as(iterator.__interceptors$_current).accept$1(0, _this); } } } }, - writeIterable$1: function(nodes) { + writeIterable$1(nodes) { return this.writeIterable$2(nodes, null); } }; - X._XmlWriter_Object_XmlVisitor.prototype = {}; + A._XmlWriter_Object_XmlVisitor.prototype = {}; + A.XmlAnnotator.prototype = { + annotate$4$buffer$start$stop($event, buffer, start, $stop) { + var t3, _this = this, + t1 = _this._parents, + t2 = t1.length; + if (t2 === 0) + if ($event instanceof A.XmlDeclarationEvent) { + t2 = _this._roots; + t3 = new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlDeclarationEvent); + if (!t3.get$isEmpty(t3)) + throw A.wrapException(A.XmlParserException$("Expected at most one XML declaration", buffer, start)); + else if (t2.length !== 0) + throw A.wrapException(A.XmlParserException$("Unexpected XML declaration", buffer, start)); + B.JSArray_methods.add$1(t2, $event); + } else if ($event instanceof A.XmlDoctypeEvent) { + t2 = _this._roots; + t3 = new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlDoctypeEvent); + if (!t3.get$isEmpty(t3)) + throw A.wrapException(A.XmlParserException$("Expected at most one doctype declaration", buffer, start)); + else { + t3 = new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlStartElementEvent); + if (!t3.get$isEmpty(t3)) + throw A.wrapException(A.XmlParserException$("Unexpected doctype declaration", buffer, start)); + } + B.JSArray_methods.add$1(t2, $event); + } else if ($event instanceof A.XmlStartElementEvent) { + t2 = _this._roots; + t3 = new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlStartElementEvent); + if (!t3.get$isEmpty(t3)) + throw A.wrapException(A.XmlParserException$("Unexpected root element", buffer, start)); + B.JSArray_methods.add$1(t2, $event); + } + if ($event instanceof A.XmlStartElementEvent) { + if (!$event.isSelfClosing) + B.JSArray_methods.add$1(t1, $event); + } else if ($event instanceof A.XmlEndElementEvent) { + if (t1.length === 0) + throw A.wrapException(A.XmlTagException_XmlTagException$unexpectedClosingTag($event.name, buffer, start)); + else { + t2 = B.JSArray_methods.get$last(t1); + t3 = $event.name; + if (t2.name != t3) + throw A.wrapException(A.XmlTagException_XmlTagException$mismatchClosingTag(B.JSArray_methods.get$last(t1).name, t3, buffer, start)); + } + t2 = t1.length; + if (t2 !== 0) { + if (0 >= t2) + return A.ioore(t1, -1); + t1.pop(); + } + } + } + }; + A.XmlHasBuffer.prototype = {}; + A.XmlHasLocation.prototype = {}; + A.XmlHasParent0.prototype = {}; + A.XmlEventEncoder.prototype = { + convert$1(input) { + var t1, + buffer = new A.StringBuffer(""); + J.forEach$1$ax(type$.List_XmlEvent._as(input), new A._XmlEventEncoderSink(type$.Sink_String._as(new A.ConversionSink(buffer.get$write(buffer), type$.ConversionSink_String)), this.entityMapping).get$visit()); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + A._XmlEventEncoderSink.prototype = { + add$1(_, chunk) { + return J.forEach$1$ax(type$.List_XmlEvent._as(chunk), this.get$visit()); + }, + visitCDATAEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitCommentEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitDeclarationEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitDoctypeEvent$1($event) { + var externalId, intSubset, + t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitEndElementEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitProcessingEvent$1($event) { + var t3, + t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("")); + }, + visitStartElementEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1; + t2._as("<"); + t1 = t1.callback; + t1.call$1("<"); + t1.call$1(t2._as($event.name)); + this.addAttributes$1($event.attributes); + if ($event.isSelfClosing) + t1.call$1(t2._as("/>")); + else + t1.call$1(t2._as(">")); + }, + visitTextEvent$1($event) { + var t1 = this.sink, + t2 = t1.$ti._precomputed1._as(A.stringReplaceAllFuncUnchecked($event.get$value($event), $.$get$_textPattern(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___textReplace$closure())), type$.nullable_String_Function_String._as(null))); + t1.callback.call$1(t2); + }, + addAttributes$1(attributes) { + var t1, t2, t3, t4, t5, t6, t7, t8; + for (t1 = J.get$iterator$ax(type$.List_XmlEventAttribute._as(attributes)), t2 = this.sink, t3 = t2.$ti._precomputed1, t4 = this.entityMapping; t1.moveNext$0();) { + t5 = t1.get$current(t1); + t3._as(" "); + t6 = t2.callback; + t6.call$1(" "); + t6.call$1(t3._as(t5.name)); + t6.call$1(t3._as("=")); + t7 = t5.value; + t5 = t5.attributeType; + t8 = t5.token; + t6.call$1(t3._as(t8 + t4.encodeAttributeValue$2(t7, t5) + t8)); + } + } + }; + A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor.prototype = {}; + A._XmlNodeDecoderSink.prototype = { + add$1(_, chunk) { + return J.forEach$1$ax(type$.List_XmlEvent._as(chunk), this.get$visit()); + }, + visitCDATAEvent$1($event) { + return this.commit$2(0, new A.XmlCDATA($event.value, null), $event); + }, + visitCommentEvent$1($event) { + return this.commit$2(0, new A.XmlComment($event.value, null), $event); + }, + visitDeclarationEvent$1($event) { + return this.commit$2(0, A.XmlDeclaration$(this.convertAttributes$1($event.attributes)), $event); + }, + visitDoctypeEvent$1($event) { + return this.commit$2(0, new A.XmlDoctype($event.name, $event.externalId, $event.internalSubset, null), $event); + }, + visitEndElementEvent$1($event) { + var t2, t3, t4, t5, + t1 = this.parent; + if (t1 == null) + throw A.wrapException(A.XmlTagException_XmlTagException$unexpectedClosingTag($event.name, $event.XmlHasBuffer__buffer, $event.XmlHasLocation__start)); + t2 = t1.name.get$qualified(); + t3 = $event.name; + t4 = $event.XmlHasBuffer__buffer; + t5 = $event.XmlHasLocation__start; + if (t2 !== t3) + A.throwExpression(A.XmlTagException_XmlTagException$mismatchClosingTag(t2, t3, t4, t5)); + t1.isSelfClosing = t1.XmlHasChildren_children._wrappers$_base.length !== 0; + t2 = A.XmlParentExtension_get_parentElement(t1); + this.parent = t2; + if (t2 == null) + this.commit$2(0, t1, $event.XmlHasParent__parent0); + }, + visitProcessingEvent$1($event) { + return this.commit$2(0, new A.XmlProcessing($event.target, $event.value, null), $event); + }, + visitStartElementEvent$1($event) { + var t1, _this = this, + element = A.XmlElement$tag($event.name, _this.convertAttributes$1($event.attributes), B.List_empty2, true); + if ($event.isSelfClosing) + _this.commit$2(0, element, $event); + else { + t1 = _this.parent; + if (t1 != null) + t1.XmlHasChildren_children.add$1(0, element); + _this.parent = element; + } + }, + visitTextEvent$1($event) { + return this.commit$2(0, new A.XmlText($event.get$value($event), null), $event); + }, + commit$2(_, node, $event) { + var outerEvent, outerElement, t2, + t1 = this.parent; + if (t1 == null) { + outerEvent = $event == null ? null : $event.XmlHasParent__parent0; + t1 = type$.JSArray_XmlNode; + outerElement = node; + for (; outerEvent != null; outerEvent = outerEvent.XmlHasParent__parent0) + outerElement = A.XmlElement$tag(outerEvent.name, this.convertAttributes$1(outerEvent.attributes), A._setArrayType([outerElement], t1), outerEvent.isSelfClosing); + t2 = this.sink; + t1 = t2.$ti._precomputed1._as(A._setArrayType([node], t1)); + t2.callback.call$1(t1); + } else + t1.XmlHasChildren_children.add$1(0, node); + }, + convertAttributes$1(attributes) { + return J.map$1$1$ax(type$.Iterable_XmlEventAttribute._as(attributes), new A._XmlNodeDecoderSink_convertAttributes_closure(), type$.XmlAttribute); + } + }; + A._XmlNodeDecoderSink_convertAttributes_closure.prototype = { + call$1(attribute) { + type$.XmlEventAttribute._as(attribute); + return A.XmlAttribute$(A.XmlName_XmlName$fromString(attribute.name), attribute.value, attribute.attributeType); + }, + $signature: 568 + }; + A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor.prototype = {}; + A.XmlEvent.prototype = { + toString$0(_) { + return new A.XmlEventEncoder(B.C_XmlDefaultEntityMapping).convert$1(A._setArrayType([this], type$.JSArray_XmlEvent)); + } + }; + A._XmlEvent_Object_XmlHasParent.prototype = {}; + A._XmlEvent_Object_XmlHasParent_XmlHasLocation.prototype = {}; + A._XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer.prototype = {}; + A.XmlCDATAEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitCDATAEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_1, this.value, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlCDATAEvent && other.value == this.value; + }, + get$value(receiver) { + return this.value; + } + }; + A.XmlCommentEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitCommentEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_2, this.value, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlCommentEvent && other.value == this.value; + }, + get$value(receiver) { + return this.value; + } + }; + A.XmlDeclarationEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitDeclarationEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_3, B.ListEquality_DefaultEquality0.hash$1(0, this.attributes), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlDeclarationEvent && B.ListEquality_DefaultEquality0.equals$2(other.attributes, this.attributes); + } + }; + A.XmlDoctypeEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitDoctypeEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_4, this.name, this.externalId, this.internalSubset, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlDoctypeEvent && this.name == other.name && J.$eq$(this.externalId, other.externalId) && this.internalSubset == other.internalSubset; + } + }; + A.XmlEndElementEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitEndElementEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_7, this.name, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlEndElementEvent && other.name == this.name; + } + }; + A._XmlEndElementEvent_XmlEvent_XmlNamed.prototype = {}; + A.XmlProcessingEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitProcessingEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_8, this.value, this.target, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlProcessingEvent && other.target == this.target && other.value == this.value; + }, + get$target(receiver) { + return this.target; + }, + get$value(receiver) { + return this.value; + } + }; + A.XmlStartElementEvent.prototype = { + accept$1(_, visitor) { + return visitor.visitStartElementEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_7, this.name, this.isSelfClosing, B.ListEquality_DefaultEquality0.hash$1(0, this.attributes), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlStartElementEvent && other.name == this.name && other.isSelfClosing === this.isSelfClosing && B.ListEquality_DefaultEquality0.equals$2(other.attributes, this.attributes); + } + }; + A._XmlStartElementEvent_XmlEvent_XmlNamed.prototype = {}; + A.XmlRawTextEvent.prototype = { + get$value(_) { + var result, _this = this, + value = _this.__XmlRawTextEvent_value_FI; + if (value === $) { + result = _this.entityMapping.decode$1(0, _this.raw); + _this.__XmlRawTextEvent_value_FI !== $ && A.throwLateFieldADI("value"); + _this.__XmlRawTextEvent_value_FI = result; + value = result; + } + return value; + }, + accept$1(_, visitor) { + return visitor.visitTextEvent$1(this); + }, + get$hashCode(_) { + return A.Object_hash(B.XmlNodeType_9, this.get$value(this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return type$.XmlTextEvent._is(other) && other.get$value(other) === this.get$value(this); + }, + $isXmlTextEvent: 1 + }; + A.XmlEventIterable.prototype = { + get$iterator(_) { + var t1 = A._setArrayType([], type$.JSArray_XmlEvent), + t2 = A._setArrayType([], type$.JSArray_XmlStartElementEvent); + return new A.XmlEventIterator($.$get$eventParserCache().$index(0, this.entityMapping), new A.XmlAnnotator(true, true, false, false, false, t1, t2), new A.Failure("", this.input, 0, type$.Failure_XmlEvent)); + } + }; + A.XmlEventIterator.prototype = { + get$current(_) { + var t1 = this._iterator$_current; + t1.toString; + return t1; + }, + moveNext$0() { + var result, t1, t2, t3, t4, t5, _this = this, + context = _this._iterator$_context; + if (context != null) { + result = _this._eventParser.parseOn$1(context); + if (result.get$isSuccess()) { + _this.set$_iterator$_context(result); + _this.set$_iterator$_current(result.get$value(result)); + _this._annotator.annotate$4$buffer$start$stop(result.get$value(result), context.buffer, context.position, result.position); + return true; + } else { + t1 = context.position; + t2 = context.buffer; + if (t1 < t2.length) { + t3 = result.get$message(result); + _this.set$_iterator$_context(new A.Failure(t3, t2, t1 + 1, type$.Failure_XmlEvent)); + throw A.wrapException(A.XmlParserException$(result.get$message(result), result.buffer, result.position)); + } else { + _this.set$_iterator$_context(null); + t3 = _this._annotator; + t4 = t3._parents; + t5 = t4.length; + if (t5 !== 0) + A.throwExpression(A.XmlTagException_XmlTagException$missingClosingTag(B.JSArray_methods.get$last(t4).name, t2, t1)); + t3 = new A.WhereTypeIterable(t3._roots, type$.WhereTypeIterable_XmlStartElementEvent); + t3 = t3.get$iterator(t3).moveNext$0(); + if (!t3) + A.throwExpression(A.XmlParserException$("Expected a single root element", t2, t1)); + return false; + } + } + } + return false; + }, + set$_iterator$_context(_context) { + this._iterator$_context = type$.nullable_Result_XmlEvent._as(_context); + }, + set$_iterator$_current(_current) { + this._iterator$_current = type$.nullable_XmlEvent._as(_current); + } + }; + A.XmlEventParser.prototype = { + event$0() { + var _this = this; + return A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([new A.ReferenceParser(_this.get$characterData(), B.List_empty, type$.ReferenceParser_XmlTextEvent), new A.ReferenceParser(_this.get$startElement(), B.List_empty, type$.ReferenceParser_XmlStartElementEvent), new A.ReferenceParser(_this.get$endElement(_this), B.List_empty, type$.ReferenceParser_XmlEndElementEvent), new A.ReferenceParser(_this.get$comment(), B.List_empty, type$.ReferenceParser_XmlCommentEvent), new A.ReferenceParser(_this.get$cdata(), B.List_empty, type$.ReferenceParser_XmlCDATAEvent), new A.ReferenceParser(_this.get$declaration(), B.List_empty, type$.ReferenceParser_XmlDeclarationEvent), new A.ReferenceParser(_this.get$processing(), B.List_empty, type$.ReferenceParser_XmlProcessingEvent), new A.ReferenceParser(_this.get$doctype(), B.List_empty, type$.ReferenceParser_XmlDoctypeEvent)], type$.JSArray_Parser_XmlEvent), B.CONSTANT0, type$.XmlEvent); + }, + characterData$0() { + return A.MapParserExtension_map(new A.XmlCharacterDataParser("<", 1), new A.XmlEventParser_characterData_closure(this), type$.String, type$.XmlTextEvent); + }, + startElement$0() { + var _this = this, + t1 = type$.ReferenceParser_String, + t2 = type$.String, + t3 = type$.List_XmlEventAttribute; + return A.ParserSequenceExtension5_map5(A.seq5(A.PredicateStringExtension_toParser("<"), new A.ReferenceParser(_this.get$nameToken(), B.List_empty, t1), new A.ReferenceParser(_this.get$attributes(_this), B.List_empty, type$.ReferenceParser_List_XmlEventAttribute), new A.ReferenceParser(_this.get$spaceOptional(), B.List_empty, t1), A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([A.PredicateStringExtension_toParser(">"), A.PredicateStringExtension_toParser("/>")], type$.JSArray_Parser_String), B.CONSTANT1, t2), t2, t2, t3, t2, t2), new A.XmlEventParser_startElement_closure(), t2, t2, t3, t2, t2, type$.XmlStartElementEvent); + }, + attributes$0(_) { + return A.PossessiveRepeatingParserExtension_repeat(new A.ReferenceParser(this.get$attribute(), B.List_empty, type$.ReferenceParser_XmlEventAttribute), 0, 9007199254740991, type$.XmlEventAttribute); + }, + attribute$0() { + var _this = this, + t1 = type$.ReferenceParser_String, + t2 = type$.String, + t3 = type$.Sequence2_String_XmlAttributeType; + return A.ParserSequenceExtension3_map3(A.seq3(new A.ReferenceParser(_this.get$space(), B.List_empty, t1), new A.ReferenceParser(_this.get$nameToken(), B.List_empty, t1), new A.ReferenceParser(_this.get$attributeAssignment(), B.List_empty, type$.ReferenceParser_Sequence2_String_XmlAttributeType), t2, t2, t3), new A.XmlEventParser_attribute_closure(_this), t2, t2, t3, type$.XmlEventAttribute); + }, + attributeAssignment$0() { + var t1 = this.get$spaceOptional(), + t2 = type$.ReferenceParser_String, + t3 = type$.String, + t4 = type$.Sequence2_String_XmlAttributeType; + return new A.OptionalParser(B.Sequence2_su6, A.ParserSequenceExtension4_map4(A.seq4(new A.ReferenceParser(t1, B.List_empty, t2), A.PredicateStringExtension_toParser("="), new A.ReferenceParser(t1, B.List_empty, t2), new A.ReferenceParser(this.get$attributeValue(), B.List_empty, type$.ReferenceParser_Sequence2_String_XmlAttributeType), t3, t3, t3, t4), new A.XmlEventParser_attributeAssignment_closure(), t3, t3, t3, t4, t4), type$.OptionalParser_Sequence2_String_XmlAttributeType); + }, + attributeValue$0() { + var t1 = type$.ReferenceParser_Sequence2_String_XmlAttributeType; + return A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([new A.ReferenceParser(this.get$attributeValueDoubleQuote(), B.List_empty, t1), new A.ReferenceParser(this.get$attributeValueSingleQuote(), B.List_empty, t1), new A.ReferenceParser(this.get$attributeValueNoQuote(), B.List_empty, t1)], type$.JSArray_Parser_Sequence2_String_XmlAttributeType), null, type$.Sequence2_String_XmlAttributeType); + }, + attributeValueDoubleQuote$0() { + var t1 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(A.PredicateStringExtension_toParser('"'), new A.XmlCharacterDataParser('"', 0), A.PredicateStringExtension_toParser('"'), t1, t1, t1), new A.XmlEventParser_attributeValueDoubleQuote_closure(), t1, t1, t1, type$.Sequence2_String_XmlAttributeType); + }, + attributeValueSingleQuote$0() { + var t1 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(A.PredicateStringExtension_toParser("'"), new A.XmlCharacterDataParser("'", 0), A.PredicateStringExtension_toParser("'"), t1, t1, t1), new A.XmlEventParser_attributeValueSingleQuote_closure(), t1, t1, t1, type$.Sequence2_String_XmlAttributeType); + }, + attributeValueNoQuote$0() { + return A.MapParserExtension_map(new A.ReferenceParser(this.get$nameToken(), B.List_empty, type$.ReferenceParser_String), new A.XmlEventParser_attributeValueNoQuote_closure(), type$.String, type$.Sequence2_String_XmlAttributeType); + }, + endElement$0(_) { + var t1 = type$.ReferenceParser_String, + t2 = type$.String; + return A.ParserSequenceExtension4_map4(A.seq4(A.PredicateStringExtension_toParser(""), t2, t2, t2, t2), new A.XmlEventParser_endElement_closure(), t2, t2, t2, t2, type$.XmlEndElementEvent); + }, + comment$0() { + var t1 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(A.PredicateStringExtension_toParser("" expected', new A.LazyRepeatingParser(A.PredicateStringExtension_toParser("-->"), 0, 9007199254740991, new A.AnyCharacterParser("input expected"), type$.LazyRepeatingParser_String), type$.FlattenParser_List_String), A.PredicateStringExtension_toParser("-->"), t1, t1, t1), new A.XmlEventParser_comment_closure(), t1, t1, t1, type$.XmlCommentEvent); + }, + cdata$0() { + var t1 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(A.PredicateStringExtension_toParser("" expected', new A.LazyRepeatingParser(A.PredicateStringExtension_toParser("]]>"), 0, 9007199254740991, new A.AnyCharacterParser("input expected"), type$.LazyRepeatingParser_String), type$.FlattenParser_List_String), A.PredicateStringExtension_toParser("]]>"), t1, t1, t1), new A.XmlEventParser_cdata_closure(), t1, t1, t1, type$.XmlCDATAEvent); + }, + declaration$0() { + var t1 = type$.String, + t2 = type$.List_XmlEventAttribute; + return A.ParserSequenceExtension4_map4(A.seq4(A.PredicateStringExtension_toParser(""), t1, t2, t1, t1), new A.XmlEventParser_declaration_closure(), t1, t2, t1, t1, type$.XmlDeclarationEvent); + }, + processing$0() { + var t1 = type$.ReferenceParser_String, + t2 = type$.String; + return A.ParserSequenceExtension4_map4(A.seq4(A.PredicateStringExtension_toParser("" expected', new A.LazyRepeatingParser(A.PredicateStringExtension_toParser("?>"), 0, 9007199254740991, new A.AnyCharacterParser("input expected"), type$.LazyRepeatingParser_String), type$.FlattenParser_List_String), t2, t2), new A.XmlEventParser_processing_closure(), t2, t2, t2), type$.OptionalParser_String), A.PredicateStringExtension_toParser("?>"), t2, t2, t2, t2), new A.XmlEventParser_processing_closure0(), t2, t2, t2, t2, type$.XmlProcessingEvent); + }, + doctype$0() { + var _this = this, + t1 = A.PredicateStringExtension_toParser(""), type$.SequenceParser8_of_String_and_String_and_String_and_nullable_DtdExternalId_and_String_and_nullable_String_and_String_and_String), new A.XmlEventParser_doctype_closure(), t5, t5, t5, type$.nullable_DtdExternalId, t5, type$.nullable_String, t5, t5, type$.XmlDoctypeEvent); + }, + doctypeExternalId$0() { + var t1 = type$.ReferenceParser_DtdExternalId; + return A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([new A.ReferenceParser(this.get$doctypeExternalIdSystem(), B.List_empty, t1), new A.ReferenceParser(this.get$doctypeExternalIdPublic(), B.List_empty, t1)], type$.JSArray_Parser_DtdExternalId), null, type$.DtdExternalId); + }, + doctypeExternalIdSystem$0() { + var t1 = type$.String, + t2 = type$.Sequence2_String_XmlAttributeType; + return A.ParserSequenceExtension3_map3(A.seq3(A.PredicateStringExtension_toParser("SYSTEM"), new A.ReferenceParser(this.get$space(), B.List_empty, type$.ReferenceParser_String), new A.ReferenceParser(this.get$attributeValue(), B.List_empty, type$.ReferenceParser_Sequence2_String_XmlAttributeType), t1, t1, t2), new A.XmlEventParser_doctypeExternalIdSystem_closure(), t1, t1, t2, type$.DtdExternalId); + }, + doctypeExternalIdPublic$0() { + var t1 = this.get$space(), + t2 = type$.ReferenceParser_String, + t3 = this.get$attributeValue(), + t4 = type$.ReferenceParser_Sequence2_String_XmlAttributeType, + t5 = type$.String, + t6 = type$.Sequence2_String_XmlAttributeType; + return A.ParserSequenceExtension5_map5(A.seq5(A.PredicateStringExtension_toParser("PUBLIC"), new A.ReferenceParser(t1, B.List_empty, t2), new A.ReferenceParser(t3, B.List_empty, t4), new A.ReferenceParser(t1, B.List_empty, t2), new A.ReferenceParser(t3, B.List_empty, t4), t5, t5, t6, t5, t6), new A.XmlEventParser_doctypeExternalIdPublic_closure(), t5, t5, t6, t5, t6, type$.DtdExternalId); + }, + doctypeIntSubset$0() { + var t3, _this = this, + t1 = A.PredicateStringExtension_toParser("["), + t2 = type$.ReferenceParser_dynamic; + t2 = A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([new A.ReferenceParser(_this.get$doctypeElementDecl(), B.List_empty, t2), new A.ReferenceParser(_this.get$doctypeAttlistDecl(), B.List_empty, t2), new A.ReferenceParser(_this.get$doctypeEntityDecl(), B.List_empty, t2), new A.ReferenceParser(_this.get$doctypeNotationDecl(), B.List_empty, t2), new A.ReferenceParser(_this.get$processing(), B.List_empty, type$.ReferenceParser_XmlProcessingEvent), new A.ReferenceParser(_this.get$comment(), B.List_empty, type$.ReferenceParser_XmlCommentEvent), new A.ReferenceParser(_this.get$doctypeReference(), B.List_empty, t2), new A.AnyCharacterParser("input expected")], type$.JSArray_Parser_dynamic), null, type$.dynamic); + t3 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(t1, new A.FlattenParser('"]" expected', new A.LazyRepeatingParser(A.PredicateStringExtension_toParser("]"), 0, 9007199254740991, t2, type$.LazyRepeatingParser_dynamic), type$.FlattenParser_List_dynamic), A.PredicateStringExtension_toParser("]"), t3, t3, t3), new A.XmlEventParser_doctypeIntSubset_closure(), t3, t3, t3, t3); + }, + doctypeElementDecl$0() { + var t1 = A.PredicateStringExtension_toParser(""), 0, 9007199254740991, t2, type$.LazyRepeatingParser_Object), A.PredicateStringExtension_toParser(">"), t3, type$.List_Object, t3); + }, + doctypeAttlistDecl$0() { + var t1 = A.PredicateStringExtension_toParser(""), 0, 9007199254740991, t2, type$.LazyRepeatingParser_Object), A.PredicateStringExtension_toParser(">"), t3, type$.List_Object, t3); + }, + doctypeEntityDecl$0() { + var t1 = A.PredicateStringExtension_toParser(""), 0, 9007199254740991, t2, type$.LazyRepeatingParser_Object), A.PredicateStringExtension_toParser(">"), t3, type$.List_Object, t3); + }, + doctypeNotationDecl$0() { + var t1 = A.PredicateStringExtension_toParser(""), 0, 9007199254740991, t2, type$.LazyRepeatingParser_Object), A.PredicateStringExtension_toParser(">"), t3, type$.List_Object, t3); + }, + doctypeReference$0() { + var t1 = type$.String; + return A.seq3(A.PredicateStringExtension_toParser("%"), new A.ReferenceParser(this.get$nameToken(), B.List_empty, type$.ReferenceParser_String), A.PredicateStringExtension_toParser(";"), t1, t1, t1); + }, + space$0() { + var _s19_ = "whitespace expected"; + return A.RepeatingCharacterParserExtension_repeatString(new A.SingleCharacterParser(B.C_WhitespaceCharPredicate, _s19_), 1, 9007199254740991, _s19_); + }, + spaceOptional$0() { + var _s19_ = "whitespace expected"; + return A.RepeatingCharacterParserExtension_repeatString(new A.SingleCharacterParser(B.C_WhitespaceCharPredicate, _s19_), 0, 9007199254740991, _s19_); + }, + nameToken$0() { + var t1 = type$.ReferenceParser_String, + t2 = type$.String; + return new A.FlattenParser("name expected", A.seq2(new A.ReferenceParser(this.get$nameStartChar(), B.List_empty, t1), A.PossessiveRepeatingParserExtension_repeat(new A.ReferenceParser(this.get$nameChar(), B.List_empty, t1), 0, 9007199254740991, t2), t2, type$.List_String), type$.FlattenParser_Sequence2_of_String_and_List_String); + }, + nameStartChar$0() { + return A.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd", null); + }, + nameChar$0() { + return A.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd-.0-9\xb7\u0300-\u036f\u203f-\u2040", null); + } + }; + A.XmlEventParser_characterData_closure.prototype = { + call$1(each) { + var _null = null; + return new A.XmlRawTextEvent(A._asStringS(each), this.$this.entityMapping, _null, _null, _null, _null); + }, + $signature: 584 + }; + A.XmlEventParser_startElement_closure.prototype = { + call$5(_, nameToken, attributes, __, closeElement) { + var _null = null; + A._asStringS(_); + A._asStringS(nameToken); + type$.List_XmlEventAttribute._as(attributes); + A._asStringS(__); + return new A.XmlStartElementEvent(nameToken, attributes, A._asStringS(closeElement) === "/>", _null, _null, _null, _null); + }, + $signature: 585 + }; + A.XmlEventParser_attribute_closure.prototype = { + call$3(_, $name, attribute) { + A._asStringS(_); + A._asStringS($name); + type$.Sequence2_String_XmlAttributeType._as(attribute); + return new A.XmlEventAttribute($name, this.$this.entityMapping.decode$1(0, attribute.first), attribute.second, null); + }, + $signature: 586 + }; + A.XmlEventParser_attributeAssignment_closure.prototype = { + call$4(_, __, ___, value) { + A._asStringS(_); + A._asStringS(__); + A._asStringS(___); + return type$.Sequence2_String_XmlAttributeType._as(value); + }, + $signature: 587 + }; + A.XmlEventParser_attributeValueDoubleQuote_closure.prototype = { + call$3(_, value, __) { + A._asStringS(_); + A._asStringS(value); + A._asStringS(__); + return new A.Sequence2(value, B.XmlAttributeType_PIp, type$.Sequence2_String_XmlAttributeType); + }, + $signature: 158 + }; + A.XmlEventParser_attributeValueSingleQuote_closure.prototype = { + call$3(_, value, __) { + A._asStringS(_); + A._asStringS(value); + A._asStringS(__); + return new A.Sequence2(value, B.XmlAttributeType_fgL, type$.Sequence2_String_XmlAttributeType); + }, + $signature: 158 + }; + A.XmlEventParser_attributeValueNoQuote_closure.prototype = { + call$1(value) { + return new A.Sequence2(A._asStringS(value), B.XmlAttributeType_PIp, type$.Sequence2_String_XmlAttributeType); + }, + $signature: 589 + }; + A.XmlEventParser_endElement_closure.prototype = { + call$4(_, $name, __, ___) { + var _null = null; + A._asStringS(_); + A._asStringS($name); + A._asStringS(__); + A._asStringS(___); + return new A.XmlEndElementEvent($name, _null, _null, _null, _null); + }, + $signature: 590 + }; + A.XmlEventParser_comment_closure.prototype = { + call$3(_, text, __) { + var _null = null; + A._asStringS(_); + A._asStringS(text); + A._asStringS(__); + return new A.XmlCommentEvent(text, _null, _null, _null, _null); + }, + $signature: 591 + }; + A.XmlEventParser_cdata_closure.prototype = { + call$3(_, text, __) { + var _null = null; + A._asStringS(_); + A._asStringS(text); + A._asStringS(__); + return new A.XmlCDATAEvent(text, _null, _null, _null, _null); + }, + $signature: 592 + }; + A.XmlEventParser_declaration_closure.prototype = { + call$4(_, attributes, __, ___) { + var _null = null; + A._asStringS(_); + type$.List_XmlEventAttribute._as(attributes); + A._asStringS(__); + A._asStringS(___); + return new A.XmlDeclarationEvent(attributes, _null, _null, _null, _null); + }, + $signature: 593 + }; + A.XmlEventParser_processing_closure.prototype = { + call$2(_, text) { + A._asStringS(_); + return A._asStringS(text); + }, + $signature: 594 + }; + A.XmlEventParser_processing_closure0.prototype = { + call$4(_, target, text, __) { + var _null = null; + A._asStringS(_); + A._asStringS(target); + A._asStringS(text); + A._asStringS(__); + return new A.XmlProcessingEvent(target, text, _null, _null, _null, _null); + }, + $signature: 595 + }; + A.XmlEventParser_doctype_closure.prototype = { + call$8(_, __, $name, externalId, ___, internalSubset, ____, _____) { + var _null = null; + A._asStringS(_); + A._asStringS(__); + A._asStringS($name); + type$.nullable_DtdExternalId._as(externalId); + A._asStringS(___); + A._asStringQ(internalSubset); + A._asStringS(____); + A._asStringS(_____); + return new A.XmlDoctypeEvent($name, externalId, internalSubset, _null, _null, _null, _null); + }, + $signature: 596 + }; + A.XmlEventParser_doctypeExternalIdSystem_closure.prototype = { + call$3(_, __, attribute) { + A._asStringS(_); + A._asStringS(__); + type$.Sequence2_String_XmlAttributeType._as(attribute); + return new A.DtdExternalId(null, null, attribute.first, attribute.second); + }, + $signature: 597 + }; + A.XmlEventParser_doctypeExternalIdPublic_closure.prototype = { + call$5(_, __, publicAttribute, ___, systemAttribute) { + var t1; + A._asStringS(_); + A._asStringS(__); + t1 = type$.Sequence2_String_XmlAttributeType; + t1._as(publicAttribute); + A._asStringS(___); + t1._as(systemAttribute); + return new A.DtdExternalId(publicAttribute.first, publicAttribute.second, systemAttribute.first, systemAttribute.second); + }, + $signature: 598 + }; + A.XmlEventParser_doctypeIntSubset_closure.prototype = { + call$3(_, contents, __) { + A._asStringS(_); + A._asStringS(contents); + A._asStringS(__); + return contents; + }, + $signature: 96 + }; + A.eventParserCache_closure.prototype = { + call$1(entityMapping) { + return A.resolve(new A.ReferenceParser(new A.XmlEventParser(type$.XmlEntityMapping._as(entityMapping)).get$event(), B.List_empty, type$.ReferenceParser_XmlEvent), type$.XmlEvent); + }, + $signature: 600 + }; + A.ConversionSink.prototype = { + add$1(_, data) { + this.$ti._precomputed1._as(data); + return this.callback.call$1(data); + }, + $isSink: 1 + }; + A.XmlEventAttribute.prototype = { + get$hashCode(_) { + return A.Object_hash(this.name, this.value, this.attributeType, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.XmlEventAttribute && other.name == this.name && other.value === this.value && other.attributeType == this.attributeType; + }, + get$value(receiver) { + return this.value; + } + }; + A._XmlEventAttribute_Object_XmlNamed.prototype = {}; + A._XmlEventAttribute_Object_XmlNamed_XmlHasParent.prototype = {}; + A.XmlNamed.prototype = {}; + A.XmlEventVisitor.prototype = { + visit$1($event) { + return type$.XmlEvent._as($event).accept$1(0, this); + } + }; (function aliases() { var _ = J.Interceptor.prototype; _.super$Interceptor$toString = _.toString$0; _.super$Interceptor$noSuchMethod = _.noSuchMethod$1; - _ = J.JavaScriptObject.prototype; - _.super$JavaScriptObject$toString = _.toString$0; - _ = H.JsLinkedHashMap.prototype; + _ = J.LegacyJavaScriptObject.prototype; + _.super$LegacyJavaScriptObject$toString = _.toString$0; + _ = A.JsLinkedHashMap.prototype; _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1; _.super$JsLinkedHashMap$internalGet = _.internalGet$1; _.super$JsLinkedHashMap$internalSet = _.internalSet$2; _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1; - _ = P._BroadcastStreamController.prototype; + _ = A._BroadcastStreamController.prototype; _.super$_BroadcastStreamController$_addEventError = _._addEventError$0; - _ = P._BufferingStreamSubscription.prototype; + _ = A._BufferingStreamSubscription.prototype; _.super$_BufferingStreamSubscription$_add = _._async$_add$1; _.super$_BufferingStreamSubscription$_addError = _._addError$2; - _ = P._HashMap.prototype; + _ = A._HashMap.prototype; _.super$_HashMap$_containsKey = _._containsKey$1; - _.super$_HashMap$_get = _._get$1; + _.super$_HashMap$_get = _._collection$_get$1; _.super$_HashMap$_set = _._collection$_set$2; _.super$_HashMap$_remove = _._remove$1; - _ = P.ListMixin.prototype; + _ = A.ListMixin.prototype; _.super$ListMixin$setRange = _.setRange$4; - _ = P.MapMixin.prototype; + _ = A.MapMixin.prototype; _.super$MapMixin$addAll = _.addAll$1; - _ = P.JsonEncoder.prototype; + _ = A.JsonEncoder.prototype; _.super$JsonEncoder$convert = _.convert$1; - _ = P.Iterable.prototype; + _ = A.Iterable.prototype; _.super$Iterable$where = _.where$1; _.super$Iterable$skipWhile = _.skipWhile$1; - _ = P.Object.prototype; + _ = A.Object.prototype; _.super$Object$toString = _.toString$0; - _ = W.EventTarget.prototype; + _ = A.EventTarget.prototype; _.super$EventTarget$addEventListener = _.addEventListener$3; - _ = W._SimpleNodeValidator.prototype; + _ = A._SimpleNodeValidator.prototype; _.super$_SimpleNodeValidator$allowsAttribute = _.allowsAttribute$3; - _ = P.JsObject.prototype; + _ = A.JsObject.prototype; _.super$JsObject$$index = _.$index; _.super$JsObject$$indexSet = _.$indexSet; - _ = P._JsArray_JsObject_ListMixin.prototype; + _ = A._JsArray_JsObject_ListMixin.prototype; _.super$_JsArray_JsObject_ListMixin$$indexSet = _.$indexSet; - _ = Y.EnumClass.prototype; + _ = A.EnumClass.prototype; _.super$EnumClass$toString = _.toString$0; - _ = M.DelegatingList.prototype; + _ = A.DelegatingList.prototype; _.super$DelegatingList$$indexSet = _.$indexSet; _.super$DelegatingList$add = _.add$1; _.super$DelegatingList$addAll = _.addAll$1; - _.super$DelegatingList$clear = _.clear$0; _.super$DelegatingList$insert = _.insert$2; _.super$DelegatingList$insertAll = _.insertAll$2; _.super$DelegatingList$remove = _.remove$1; _.super$DelegatingList$removeAt = _.removeAt$1; - _.super$DelegatingList$removeLast = _.removeLast$0; - _.super$DelegatingList$removeRange = _.removeRange$2; - _.super$DelegatingList$removeWhere = _.removeWhere$1; _.super$DelegatingList$replaceRange = _.replaceRange$3; _.super$DelegatingList$setRange = _.setRange$4; - _ = G.BaseRequest.prototype; + _ = A.BaseRequest.prototype; _.super$BaseRequest$finalize = _.finalize$0; - _ = Z._UiComponent2_Component2_DisposableManagerProxy.prototype; + _ = A._UiComponent2_Component2_DisposableManagerProxy.prototype; _.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount = _.componentWillUnmount$0; - _ = G.Parser.prototype; - _.super$Parser$fastParseOn = _.fastParseOn$2; + _ = A.Parser.prototype; _.super$Parser$replace = _.replace$2; - _ = Z.DelegateParser.prototype; + _ = A.DelegateParser.prototype; _.super$DelegateParser$replace = _.replace$2; - _ = V.Component2.prototype; + _ = A.Component2.prototype; + _.super$Component2$props = _.set$props; + _.super$Component2$state = _.set$state; _.super$Component2$componentDidMount = _.componentDidMount$0; _.super$Component2$componentDidUpdate = _.componentDidUpdate$3; _.super$Component2$componentWillUnmount = _.componentWillUnmount$0; _ = A.ReactJsContextComponentFactoryProxy.prototype; _.super$ReactJsContextComponentFactoryProxy$build = _.build$2; - _ = Y.SourceSpanMixin.prototype; + _ = A.SourceSpanMixin.prototype; _.super$SourceSpanMixin$compareTo = _.compareTo$1; _.super$SourceSpanMixin$$eq = _.$eq; - _ = U.SpreadsheetDecoder.prototype; + _ = A.SpreadsheetDecoder.prototype; _.super$SpreadsheetDecoder$insertRow = _.insertRow$2; _.super$SpreadsheetDecoder$updateCell = _.updateCell$4; - _ = M.XmlProductionDefinition.prototype; - _.super$XmlProductionDefinition$attribute = _.attribute$0; - _.super$XmlProductionDefinition$attributeValueDouble = _.attributeValueDouble$0; - _.super$XmlProductionDefinition$attributeValueSingle = _.attributeValueSingle$0; - _.super$XmlProductionDefinition$comment = _.comment$0; - _.super$XmlProductionDefinition$cdata = _.cdata$0; - _.super$XmlProductionDefinition$declaration = _.declaration$0; - _.super$XmlProductionDefinition$doctype = _.doctype$0; - _.super$XmlProductionDefinition$document = _.document$0; - _.super$XmlProductionDefinition$element = _.element$0; - _.super$XmlProductionDefinition$processing = _.processing$0; - _.super$XmlProductionDefinition$qualified = _.qualified$0; - _.super$XmlProductionDefinition$characterData = _.characterData$0; - _.super$XmlProductionDefinition$spaceText = _.spaceText$0; })(); (function installTearOffs() { var _static_2 = hunkHelpers._static_2, _instance_1_i = hunkHelpers._instance_1i, - _instance_1_u = hunkHelpers._instance_1u, _static_1 = hunkHelpers._static_1, _static_0 = hunkHelpers._static_0, _instance_0_u = hunkHelpers._instance_0u, _instance = hunkHelpers.installInstanceTearOff, _instance_2_u = hunkHelpers._instance_2u, _instance_0_i = hunkHelpers._instance_0i, + _instance_1_u = hunkHelpers._instance_1u, _static = hunkHelpers.installStaticTearOff, _instance_2_i = hunkHelpers._instance_2i; - _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 172); + _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 81); var _; - _instance_1_i(_ = J.JSArray.prototype, "get$add", "add$1", 74); - _instance_1_i(_, "get$contains", "contains$1", 107); - _instance_1_u(H.CastStreamSubscription.prototype, "get$__internal$_onData", "__internal$_onData$1", 74); - _static_1(P, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 87); - _static_1(P, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 87); - _static_1(P, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 87); - _static_0(P, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); - _static_1(P, "async___nullDataHandler$closure", "_nullDataHandler", 36); - _static_2(P, "async___nullErrorHandler$closure", "_nullErrorHandler", 97); - _static_0(P, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); - _instance_0_u(_ = P._BroadcastSubscription.prototype, "get$_onPause", "_onPause$0", 0); + _instance_1_i(_ = J.JSArray.prototype, "get$addAll", "addAll$1", 74); + _instance_1_i(_, "get$contains", "contains$1", 66); + _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 54); + _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 97); + _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 97); + _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 97); + _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); + _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 30); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 84); + _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); + _instance_0_u(_ = A._BroadcastSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance(P._Completer.prototype, "get$completeError", 0, 1, function() { + _instance(A._Completer.prototype, "get$completeError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 288, 0); - _instance_2_u(P._Future.prototype, "get$_completeError", "_completeError$2", 97); - _instance_0_u(_ = P._ControllerSubscription.prototype, "get$_onPause", "_onPause$0", 0); + }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 253, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 84); + _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance_0_i(_ = P._BufferingStreamSubscription.prototype, "get$cancel", "cancel$0", 104); + _instance_0_i(_ = A._BufferingStreamSubscription.prototype, "get$cancel", "cancel$0", 99); _instance_0_u(_, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance_0_i(_ = P._DoneStreamSubscription.prototype, "get$cancel", "cancel$0", 104); + _instance_0_i(_ = A._DoneStreamSubscription.prototype, "get$cancel", "cancel$0", 99); _instance_0_u(_, "get$_sendDone", "_sendDone$0", 0); - _instance_0_u(_ = P._ForwardingStreamSubscription.prototype, "get$_onPause", "_onPause$0", 0); + _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); _instance_1_u(_, "get$_handleData", "_handleData$1", 74); - _instance_2_u(_, "get$_handleError", "_handleError$2", 376); + _instance_2_u(_, "get$_handleError", "_handleError$2", 234); _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0); - _static_2(P, "collection___defaultEquals$closure", "_defaultEquals", 60); - _static_1(P, "collection___defaultHashCode$closure", "_defaultHashCode", 63); - _static_2(P, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 172); - _instance(P._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 199, 0); - _instance(P._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 222, 0); - _instance(P._UnmodifiableSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 251, 0); - _static_1(P, "convert___defaultToEncodable$closure", "_defaultToEncodable", 14); - _instance_1_i(_ = P._ByteCallbackSink.prototype, "get$add", "add$1", 74); + _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 53); + _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 54); + _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 81); + _instance(A._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 91, 0, 0); + _instance(A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 91, 0, 0); + _instance(A._UnmodifiableSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 91, 0, 0); + _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 12); + _instance_1_i(_ = A._ByteCallbackSink.prototype, "get$add", "add$1", 74); _instance_0_i(_, "get$close", "close$0", 0); - _static_1(P, "core__identityHashCode$closure", "identityHashCode", 63); - _static_2(P, "core__identical$closure", "identical", 60); - _static_1(P, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 99); - _static(W, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 174, 0); - _static(W, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 174, 0); - _instance_0_i(W.CacheStorage.prototype, "get$keys", "keys$0", 104); - _instance_2_i(W.HttpRequest.prototype, "get$setRequestHeader", "setRequestHeader$2", 94); - _instance_0_i(W.PaymentInstruments.prototype, "get$keys", "keys$0", 302); - _instance_1_u(P.CssClassSetImpl.prototype, "get$_validateToken", "_validateToken$1", 99); - _static_1(P, "js___convertToJS$closure", "_convertToJS", 85); - _static_1(P, "js___convertToDart$closure", "_convertToDart", 33); - _static(P, "math__min$closure", 2, null, ["call$1$2", "call$2"], ["min", function(a, b) { - return P.min(a, b, type$.num); - }], 570, 1); - _static(P, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { - return P.max(a, b, type$.num); - }], 571, 1); - _instance_2_u(_ = U.DefaultEquality.prototype, "get$equals", "equals$2", 60); - _instance_1_i(_, "get$hash", "hash$1", 63); - _instance_1_u(_, "get$isValidKey", "isValidKey$1", 107); - _instance_2_u(U.ListEquality.prototype, "get$equals", "equals$2", 60); - _instance_2_u(_ = U.DeepCollectionEquality.prototype, "get$equals", "equals$2", 60); - _instance_1_i(_, "get$hash", "hash$1", 63); - _instance_1_u(_, "get$isValidKey", "isValidKey$1", 107); - _static(Z, "error_boundary___$ErrorBoundary$closure", 0, function() { + _static_1(A, "core__identityHashCode$closure", "identityHashCode", 54); + _static_2(A, "core__identical$closure", "identical", 53); + _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 27); + _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 74); + _static(A, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 161, 0); + _static(A, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 161, 0); + _instance_0_i(A.CacheStorage.prototype, "get$keys", "keys$0", 99); + _instance_2_i(A.HttpRequest.prototype, "get$setRequestHeader", "setRequestHeader$2", 76); + _instance_0_i(A.PaymentInstruments.prototype, "get$keys", "keys$0", 250); + _static_1(A, "js___convertToJS$closure", "_convertToJS", 86); + _static_1(A, "js___convertToDart$closure", "_convertToDart", 40); + _static(A, "math__min$closure", 2, null, ["call$1$2", "call$2"], ["min", function(a, b) { + return A.min(a, b, type$.num); + }], 162, 1); + _static(A, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { + return A.max(a, b, type$.num); + }], 162, 1); + _instance_2_u(_ = A.DefaultEquality.prototype, "get$equals", "equals$2", 53); + _instance_1_i(_, "get$hash", "hash$1", 54); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 66); + _instance_2_u(A.ListEquality.prototype, "get$equals", "equals$2", 53); + _instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 53); + _instance_1_i(_, "get$hash", "hash$1", 54); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 66); + _static(A, "error_boundary___$ErrorBoundary$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$ErrorBoundary", function() { - return Z._$ErrorBoundary(null); - }], 572, 0); - _static(E, "error_boundary_recoverable___$RecoverableErrorBoundary$closure", 0, function() { + return A._$ErrorBoundary(null); + }], 605, 0); + _static(A, "error_boundary_recoverable___$RecoverableErrorBoundary$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$RecoverableErrorBoundary", function() { - return E._$RecoverableErrorBoundary(null); - }], 573, 0); - _instance_2_u(_ = E.RecoverableErrorBoundaryComponent.prototype, "get$_renderStringDomAfterUnrecoverableErrors", "_renderStringDomAfterUnrecoverableErrors$2", 278); + return A._$RecoverableErrorBoundary(null); + }], 606, 0); + _instance_2_u(_ = A.RecoverableErrorBoundaryComponent.prototype, "get$_renderStringDomAfterUnrecoverableErrors", "_renderStringDomAfterUnrecoverableErrors$2", 257); _instance_0_u(_, "get$_resetInternalErrorTracking", "_resetInternalErrorTracking$0", 0); - _instance_1_u(S._AccessorMetaCollection.prototype, "get$forMixin", "forMixin$1", "_AccessorMetaCollection.U*(Type*)"); - _static_1(Z, "component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure", "UiComponent2BridgeImpl_bridgeFactory", 574); - _instance_1_u(Z.UiComponent2.prototype, "get$addUnconsumedProps", "addUnconsumedProps$1", 282); - _static_1(M, "pretty_print___prettyObj$closure", "_prettyObj", 575); - _static_1(L, "browser__Chrome__isChrome$closure", "_Chrome__isChrome", 28); - _static_1(L, "browser__Firefox__isFirefox$closure", "_Firefox__isFirefox", 28); - _static_1(L, "browser__Safari__isSafari$closure", "_Safari__isSafari", 28); - _static_1(L, "browser__WKWebView__isWKWebView$closure", "_WKWebView__isWKWebView", 28); - _static_1(L, "browser__InternetExplorer__isInternetExplorer$closure", "_InternetExplorer__isInternetExplorer", 28); - _static_1(A, "bridge_Component2BridgeImpl_bridgeFactory$closure", "Component2BridgeImpl_bridgeFactory", 576); - _static_1(A, "component_factory__listifyChildren$closure", "listifyChildren", 14); - _static_1(R, "js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure", "_jsObjectFriendlyIdentityHashCode", 577); - _static_2(K, "react_interop_ReactDom_render$closure", "ReactDom_render", 578); - _static_1(R, "react_dom___findDomNode$closure", "_findDomNode", 14); - _static_2(Q, "dart_interop_statics_ReactDartInteropStatics2_initComponent$closure", "ReactDartInteropStatics2_initComponent", 579); - _static_1(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure", "ReactDartInteropStatics2_handleComponentDidMount", 175); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleShouldComponentUpdate"], 581, 0); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetDerivedStateFromProps"], 582, 0); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate"], 583, 0); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure", 4, function() { + _instance_1_u(A._AccessorMetaCollection.prototype, "get$forMixin", "forMixin$1", "_AccessorMetaCollection.U(Type)"); + _static_1(A, "component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure", "UiComponent2BridgeImpl_bridgeFactory", 607); + _instance_1_u(A.UiComponent2.prototype, "get$addUnconsumedProps", "addUnconsumedProps$1", 259); + _static_1(A, "pretty_print___prettyObj$closure", "_prettyObj", 608); + _static_1(A, "browser__Chrome__isChrome$closure", "_Chrome__isChrome", 18); + _static_1(A, "browser_EdgeChrome__isEdge$closure", "EdgeChrome__isEdge", 18); + _static_1(A, "browser__Firefox__isFirefox$closure", "_Firefox__isFirefox", 18); + _static_1(A, "browser__Safari__isSafari$closure", "_Safari__isSafari", 18); + _static_1(A, "browser__WKWebView__isWKWebView$closure", "_WKWebView__isWKWebView", 18); + _static_1(A, "browser__InternetExplorer__isInternetExplorer$closure", "_InternetExplorer__isInternetExplorer", 18); + _static_1(A, "bridge_Component2BridgeImpl_bridgeFactory$closure", "Component2BridgeImpl_bridgeFactory", 609); + _static_1(A, "component_factory__listifyChildren$closure", "listifyChildren", 86); + _static_1(A, "js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure", "_jsObjectFriendlyIdentityHashCode", 610); + _static_2(A, "react_interop_ReactDom_render$closure", "ReactDom_render", 611); + _static_1(A, "react_dom___findDomNode$closure", "_findDomNode", 12); + _static_2(A, "dart_interop_statics_ReactDartInteropStatics2_initComponent$closure", "ReactDartInteropStatics2_initComponent", 612); + _static_1(A, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure", "ReactDartInteropStatics2_handleComponentDidMount", 163); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleShouldComponentUpdate"], 614, 0); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetDerivedStateFromProps"], 615, 0); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate"], 616, 0); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure", 4, function() { return [null]; }, ["call$5", "call$4"], ["ReactDartInteropStatics2_handleComponentDidUpdate", function(component, jsThis, jsPrevProps, jsPrevState) { - return Q.ReactDartInteropStatics2_handleComponentDidUpdate(component, jsThis, jsPrevProps, jsPrevState, null); - }], 584, 0); - _static_1(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure", "ReactDartInteropStatics2_handleComponentWillUnmount", 175); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleComponentDidCatch"], 585, 0); - _static_2(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure", "ReactDartInteropStatics2_handleGetDerivedStateFromError", 586); - _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleRender$closure", 4, null, ["call$4"], ["ReactDartInteropStatics2_handleRender"], 587, 0); - _instance_2_u(B.TypedReducer.prototype, "get$$call", "call$2", "1*(Object*,@)"); - _instance_1_u(K.Replacer.prototype, "get$default_encode", "default_encode$1", 14); - _static(Z, "check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure", 3, null, ["call$3"], ["check_reflect_strands_legal_middleware"], 4, 0); - _static(E, "dna_ends_move_start__dna_ends_move_start_middleware$closure", 3, null, ["call$3"], ["dna_ends_move_start_middleware"], 4, 0); - _static(A, "export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure", 3, null, ["call$3"], ["export_cadnano_or_codenano_file_middleware"], 4, 0); - _static(F, "export_dna_sequences__export_dna_sequences_middleware$closure", 3, null, ["call$3"], ["export_dna_sequences_middleware"], 4, 0); - _static_0(F, "export_dna_sequences__export_dna$closure", "export_dna", 6); - _static(V, "export_svg__export_svg_middleware$closure", 3, null, ["call$3"], ["export_svg_middleware"], 4, 0); - _static_1(V, "export_svg__clone_and_apply_style$closure", "clone_and_apply_style", 589); - _static(X, "forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure", 3, null, ["call$3"], ["forbid_create_circular_strand_no_crossovers_middleware"], 4, 0); - _static(B, "helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure", 3, null, ["call$3"], ["helix_positions_set_based_on_crossovers_middleware"], 4, 0); - _static(R, "helix_idxs_change__helix_idxs_change_middleware$closure", 3, null, ["call$3"], ["helix_idxs_change_middleware"], 4, 0); - _static(K, "load_file__load_file_middleware$closure", 3, null, ["call$3"], ["load_file_middleware"], 4, 0); - _static(S, "local_storage__local_storage_middleware$closure", 3, null, ["call$3"], ["local_storage_middleware"], 4, 0); - _static(N, "oxdna_export__oxdna_export_middleware$closure", 3, null, ["call$3"], ["oxdna_export_middleware"], 4, 0); - _instance_0_i(N.OxdnaVector.prototype, "get$length", "length$0", 65); - _static(F, "periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure", 3, null, ["call$3"], ["periodic_design_save_local_storage_middleware"], 4, 0); - _static(T, "save_file__save_file_middleware$closure", 3, null, ["call$3"], ["save_file_middleware"], 4, 0); - _static(Q, "selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure", 3, null, ["call$3"], ["selections_intersect_box_compute_middleware"], 4, 0); - _static(Q, "selections_intersect_box_compute__interval_contained$closure", 4, null, ["call$4"], ["interval_contained"], 177, 0); - _static(Q, "selections_intersect_box_compute__interval_intersect$closure", 4, null, ["call$4"], ["interval_intersect"], 177, 0); - _static_2(Q, "selections_intersect_box_compute__polygon_contains_rect$closure", "polygon_contains_rect", 178); - _static_2(Q, "selections_intersect_box_compute__polygon_intersects_rect$closure", "polygon_intersects_rect", 178); - _static_2(U, "app_state_reducer__app_state_reducer$closure", "app_state_reducer", 592); - _static_2(U, "app_state_reducer__error_message_reducer$closure", "error_message_reducer", 593); - _static_2(K, "app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure", "potential_crossover_create_app_ui_state_reducer", 594); - _static_2(K, "app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure", "potential_crossover_remove_app_ui_state_reducer", 595); - _static_2(K, "app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure", "dna_ends_move_start_app_ui_state_reducer", 596); - _static_2(K, "app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure", "dna_ends_move_stop_app_ui_state_reducer", 597); - _static_2(K, "app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure", "dna_extensions_move_start_app_ui_state_reducer", 598); - _static_2(K, "app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure", "dna_extensions_move_stop_app_ui_state_reducer", 599); - _static_2(K, "app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure", "slice_bar_move_start_app_ui_state_reducer", 600); - _static_2(K, "app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure", "slice_bar_move_stop_app_ui_state_reducer", 601); - _static_2(K, "app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure", "helix_group_move_start_app_ui_state_reducer", 602); - _static_2(K, "app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure", "helix_group_move_stop_app_ui_state_reducer", 603); - _static_2(K, "app_ui_state_reducer__show_dna_reducer$closure", "show_dna_reducer", 604); - _static_2(K, "app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure", "load_dialog_show_app_ui_state_reducer", 605); - _static_2(K, "app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure", "load_dialog_hide_app_ui_state_reducer", 606); - _static_2(K, "app_ui_state_reducer__show_strand_names_reducer$closure", "show_strand_names_reducer", 607); - _static_2(K, "app_ui_state_reducer__show_strand_labels_reducer$closure", "show_strand_labels_reducer", 608); - _static_2(K, "app_ui_state_reducer__show_domain_names_reducer$closure", "show_domain_names_reducer", 609); - _static_2(K, "app_ui_state_reducer__show_domain_labels_reducer$closure", "show_domain_labels_reducer", 916); - _static_2(K, "app_ui_state_reducer__show_modifications_reducer$closure", "show_modifications_reducer", 611); - _static_2(K, "app_ui_state_reducer__modification_display_connector_reducer$closure", "modification_display_connector_reducer", 612); - _static_2(K, "app_ui_state_reducer__modification_font_size_reducer$closure", "modification_font_size_reducer", 613); - _static_2(K, "app_ui_state_reducer__zoom_speed_reducer$closure", "zoom_speed_reducer", 614); - _static_2(K, "app_ui_state_reducer__strand_name_font_size_reducer$closure", "strand_name_font_size_reducer", 615); - _static_2(K, "app_ui_state_reducer__domain_name_font_size_reducer$closure", "domain_name_font_size_reducer", 616); - _static_2(K, "app_ui_state_reducer__strand_label_font_size_reducer$closure", "strand_label_font_size_reducer", 617); - _static_2(K, "app_ui_state_reducer__domain_label_font_size_reducer$closure", "domain_label_font_size_reducer", 618); - _static_2(K, "app_ui_state_reducer__major_tick_offset_font_size_reducer$closure", "major_tick_offset_font_size_reducer", 619); - _static_2(K, "app_ui_state_reducer__major_tick_width_font_size_reducer$closure", "major_tick_width_font_size_reducer", 620); - _static_2(K, "app_ui_state_reducer__show_mismatches_reducer$closure", "show_mismatches_reducer", 621); - _static_2(K, "app_ui_state_reducer__show_domain_name_mismatches_reducer$closure", "show_domain_name_mismatches_reducer", 622); - _static_2(K, "app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure", "show_unpaired_insertion_deletions_reducer", 623); - _static_2(K, "app_ui_state_reducer__invert_y_reducer$closure", "invert_y_reducer", 624); - _static_2(K, "app_ui_state_reducer__dynamic_helix_update_reducer$closure", "dynamic_helix_update_reducer", 625); - _static_2(K, "app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure", "warn_on_exit_if_unsaved_reducer", 626); - _static_2(K, "app_ui_state_reducer__show_helix_circles_main_view_reducer$closure", "show_helix_circles_main_view_reducer", 627); - _static_2(K, "app_ui_state_reducer__show_helix_components_main_view_reducer$closure", "show_helix_components_main_view_reducer", 628); - _static_2(K, "app_ui_state_reducer__show_edit_mode_menu_reducer$closure", "show_edit_mode_menu_reducer", 629); - _static_2(K, "app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure", "show_grid_coordinates_side_view_reducer", 630); - _static_2(K, "app_ui_state_reducer__show_helices_axis_arrows_reducer$closure", "show_helices_axis_arrows_reducer", 631); - _static_2(K, "app_ui_state_reducer__show_loopout_extension_length_reducer$closure", "show_loopout_extension_length_reducer", 632); - _static_2(K, "app_ui_state_reducer__show_slice_bar_reducer$closure", "show_slice_bar_reducer", 633); - _static_2(K, "app_ui_state_reducer__slice_bar_offset_set_reducer$closure", "slice_bar_offset_set_reducer", 634); - _static_2(K, "app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure", "disable_png_caching_dna_sequences_reducer", 635); - _static_2(K, "app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure", "retain_strand_color_on_selection_reducer", 636); - _static_2(K, "app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure", "display_reverse_DNA_right_side_up_reducer", 637); - _static_2(K, "app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure", "display_base_offsets_of_major_ticks_reducer", 638); - _static_2(K, "app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure", "display_base_offsets_of_major_ticks_only_first_helix_reducer", 639); - _static_2(K, "app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure", "display_major_tick_widths_all_helices_reducer", 640); - _static_2(K, "app_ui_state_reducer__base_pair_type_idx_reducer$closure", "base_pair_type_idx_reducer", 641); - _static_2(K, "app_ui_state_reducer__show_base_pair_lines_reducer$closure", "show_base_pair_lines_reducer", 642); - _static_2(K, "app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure", "show_base_pair_lines_with_mismatches_reducer", 643); - _static_2(K, "app_ui_state_reducer__export_svg_text_separately_reducer$closure", "export_svg_text_separately_reducer", 644); - _static_2(K, "app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure", "ox_export_only_selected_strands_reducer", 645); - _static_2(K, "app_ui_state_reducer__display_major_tick_widths_reducer$closure", "display_major_tick_widths_reducer", 646); - _static_2(K, "app_ui_state_reducer__strand_paste_keep_color_reducer$closure", "strand_paste_keep_color_reducer", 647); - _static_2(K, "app_ui_state_reducer__center_on_load_reducer$closure", "center_on_load_reducer", 648); - _static_2(K, "app_ui_state_reducer__show_oxview_reducer$closure", "show_oxview_reducer", 649); - _static_2(K, "app_ui_state_reducer__show_mouseover_data_set_reducer$closure", "show_mouseover_data_set_reducer", 650); - _static_2(K, "app_ui_state_reducer__only_display_selected_helices_reducer$closure", "only_display_selected_helices_reducer", 651); - _static_2(K, "app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure", "default_crossover_type_scaffold_for_setting_helix_rolls_reducer", 179); - _static_2(K, "app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure", "default_crossover_type_staple_for_setting_helix_rolls_reducer", 179); - _static_2(K, "app_ui_state_reducer__dna_assign_options_reducer$closure", "dna_assign_options_reducer", 653); - _static_2(K, "app_ui_state_reducer__local_storage_design_choice_reducer$closure", "local_storage_design_choice_reducer", 654); - _static_2(K, "app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure", "clear_helix_selection_when_loading_new_design_set_reducer", 655); - _static_2(K, "app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure", "changed_since_last_save_undoable_action_reducer", 656); - _static_2(K, "app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure", "changed_since_last_save_just_saved_reducer", 657); - _static_2(K, "app_ui_state_reducer__example_designs_idx_set_reducer$closure", "example_designs_idx_set_reducer", 658); - _static(K, "app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure", 3, null, ["call$3"], ["displayed_group_name_group_remove_reducer"], 659, 0); - _static(K, "app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_show_slice_bar_set_reducer"], 660, 0); - _static(K, "app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_displayed_change_reducer"], 661, 0); - _static(K, "app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_remove_reducer"], 662, 0); - _static(K, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_reducer"], 663, 0); - _static(K, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_all_reducer"], 664, 0); - _static_2(K, "app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure", "displayed_group_name_change_displayed_group_reducer", 665); - _static_2(K, "app_ui_state_reducer__displayed_group_name_change_name_reducer$closure", "displayed_group_name_change_name_reducer", 666); - _static_2(K, "app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure", "last_mod_5p_modification_add_reducer", 667); - _static_2(K, "app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure", "last_mod_3p_modification_add_reducer", 668); - _static_2(K, "app_ui_state_reducer__last_mod_int_modification_add_reducer$closure", "last_mod_int_modification_add_reducer", 669); - _static_2(K, "app_ui_state_reducer__load_dna_sequence_image_uri$closure", "load_dna_sequence_image_uri", 670); - _static_2(K, "app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure", "load_dna_sequence_png_horizontal_offset", 180); - _static_2(K, "app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure", "load_dna_sequence_png_vertical_offset", 180); - _static_2(K, "app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure", "set_export_svg_action_delayed_for_png_cache", 672); - _static_2(K, "app_ui_state_reducer__set_is_zoom_above_threshold$closure", "set_is_zoom_above_threshold", 673); - _static_2(K, "app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure", "side_view_mouse_grid_pos_update_reducer", 674); - _static_2(K, "app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure", "side_view_mouse_grid_pos_clear_reducer", 675); - _static_2(K, "app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure", "side_view_mouse_pos_update_reducer", 676); - _static_2(K, "app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure", "side_view_mouse_pos_clear_reducer", 677); - _static_2(K, "app_ui_state_reducer__color_picker_strand_show_reducer$closure", "color_picker_strand_show_reducer", 678); - _static_2(K, "app_ui_state_reducer__color_picker_strand_hide_reducer$closure", "color_picker_strand_hide_reducer", 679); - _static_2(K, "app_ui_state_reducer__color_picker_substrand_show_reducer$closure", "color_picker_substrand_show_reducer", 680); - _static_2(K, "app_ui_state_reducer__color_picker_substrand_hide_reducer$closure", "color_picker_substrand_hide_reducer", 681); - _static_2(K, "app_ui_state_reducer__selection_box_intersection_reducer$closure", "selection_box_intersection_reducer", 682); - _static(M, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_strands_reducer"], 683, 0); - _static(M, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_domains_reducer"], 684, 0); - _static_2(X, "change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure", "convert_crossover_to_loopout_reducer", 685); - _static(X, "change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure", 3, null, ["call$3"], ["convert_crossovers_to_loopouts_reducer"], 686, 0); - _static(X, "change_loopout_ext_properties__loopouts_length_change_reducer$closure", 3, null, ["call$3"], ["loopouts_length_change_reducer"], 687, 0); - _static(X, "change_loopout_ext_properties__extensions_num_bases_change_reducer$closure", 3, null, ["call$3"], ["extensions_num_bases_change_reducer"], 688, 0); - _static_2(X, "change_loopout_ext_properties__loopout_length_change_reducer$closure", "loopout_length_change_reducer", 689); - _static_2(X, "change_loopout_ext_properties__extension_num_bases_change_reducer$closure", "extension_num_bases_change_reducer", 690); - _static_2(X, "change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure", "extension_display_length_angle_change_reducer", 691); - _static(G, "delete_reducer__delete_all_reducer$closure", 3, null, ["call$3"], ["delete_all_reducer"], 692, 0); - _static_2(U, "design_reducer__design_error_message_set_reducer$closure", "design_error_message_set_reducer", 693); - _static(U, "design_reducer__design_geometry_set_reducer$closure", 3, null, ["call$3"], ["design_geometry_set_reducer"], 694, 0); - _static_2(U, "design_reducer__new_design_set_reducer$closure", "new_design_set_reducer", 695); - _static_2(Z, "dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure", "dna_ends_move_set_selected_ends_reducer", 696); - _static_2(Z, "dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure", "dna_ends_move_adjust_reducer", 697); - _static_2(Z, "dna_ends_move_reducer__dna_ends_move_stop_reducer$closure", "dna_ends_move_stop_reducer", 698); - _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure", "dna_extensions_move_set_selected_extension_ends_reducer", 699); - _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure", "dna_extensions_move_adjust_reducer", 700); - _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure", "dna_extensions_move_stop_reducer", 701); - _static(Q, "domains_move_reducer__domains_move_start_selected_domains_reducer$closure", 3, null, ["call$3"], ["domains_move_start_selected_domains_reducer"], 702, 0); - _static_2(Q, "domains_move_reducer__domains_move_stop_reducer$closure", "domains_move_stop_reducer", 703); - _static(Q, "domains_move_reducer__domains_adjust_address_reducer$closure", 3, null, ["call$3"], ["domains_adjust_address_reducer"], 704, 0); - _static_2(B, "edit_modes_reducer__toggle_edit_mode_reducer$closure", "toggle_edit_mode_reducer", 705); - _static_2(B, "edit_modes_reducer__set_edit_modes_reducer$closure", "set_edit_modes_reducer", 706); - _static_2(O, "groups_reducer__grid_change_reducer$closure", "grid_change_reducer", 707); - _static_2(O, "groups_reducer__group_add_reducer$closure", "group_add_reducer", 708); - _static_2(O, "groups_reducer__group_remove_reducer$closure", "group_remove_reducer", 709); - _static_2(O, "groups_reducer__group_change_reducer$closure", "group_change_reducer", 710); - _static(O, "groups_reducer__move_helices_to_group_groups_reducer$closure", 3, null, ["call$3"], ["move_helices_to_group_groups_reducer"], 711, 0); - _static(V, "helices_reducer__helix_individual_reducer$closure", 3, null, ["call$3"], ["helix_individual_reducer"], 712, 0); - _static(V, "helices_reducer__helix_idx_change_reducer$closure", 3, null, ["call$3"], ["helix_idx_change_reducer"], 713, 0); - _static(V, "helices_reducer__helix_offset_change_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_reducer"], 714, 0); - _static(V, "helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_with_moving_strands_reducer"], 715, 0); - _static(V, "helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_while_creating_strand_reducer"], 716, 0); - _static(V, "helices_reducer__first_replace_strands_reducer$closure", 3, null, ["call$3"], ["first_replace_strands_reducer"], 717, 0); - _static(V, "helices_reducer__reset_helices_offsets_after_selections_clear$closure", 3, null, ["call$3"], ["reset_helices_offsets_after_selections_clear"], 718, 0); - _static(V, "helices_reducer__helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_reducer"], 719, 0); - _static(V, "helices_reducer__helix_min_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_reducer"], 720, 0); - _static(V, "helices_reducer__helix_max_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_reducer"], 721, 0); - _static(V, "helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_all_reducer"], 722, 0); - _static(V, "helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_reducer"], 723, 0); - _static(V, "helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_same_max_reducer"], 724, 0); - _static_2(V, "helices_reducer__helix_major_tick_distance_change_all_reducer$closure", "helix_major_tick_distance_change_all_reducer", 725); - _static_2(V, "helices_reducer__helix_major_ticks_change_all_reducer$closure", "helix_major_ticks_change_all_reducer", 726); - _static_2(V, "helices_reducer__helix_major_tick_start_change_all_reducer$closure", "helix_major_tick_start_change_all_reducer", 727); - _static_2(V, "helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure", "helix_major_tick_periodic_distances_change_all_reducer", 728); - _static(V, "helices_reducer__helix_major_tick_distance_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_distance_change_reducer"], 729, 0); - _static(V, "helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_periodic_distances_change_reducer"], 730, 0); - _static(V, "helices_reducer__helix_major_tick_start_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_start_change_reducer"], 731, 0); - _static(V, "helices_reducer__helix_major_ticks_change_reducer$closure", 3, null, ["call$3"], ["helix_major_ticks_change_reducer"], 732, 0); - _static(V, "helices_reducer__helix_roll_set_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_reducer"], 733, 0); - _static(V, "helices_reducer__helix_roll_set_at_other_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_at_other_reducer"], 734, 0); - _static(V, "helices_reducer__helix_add_design_reducer$closure", 3, null, ["call$3"], ["helix_add_design_reducer"], 735, 0); - _static(V, "helices_reducer__helix_remove_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_design_global_reducer"], 736, 0); - _static(V, "helices_reducer__helix_remove_all_selected_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_all_selected_design_global_reducer"], 737, 0); - _static(V, "helices_reducer__helix_grid_change_reducer$closure", 3, null, ["call$3"], ["helix_grid_change_reducer"], 738, 0); - _static(V, "helices_reducer__relax_helix_rolls_reducer$closure", 3, null, ["call$3"], ["relax_helix_rolls_reducer"], 739, 0); - _static(V, "helices_reducer__helix_group_change_reducer$closure", 3, null, ["call$3"], ["helix_group_change_reducer"], 740, 0); - _static(V, "helices_reducer__helix_grid_position_set_reducer$closure", 3, null, ["call$3"], ["helix_grid_position_set_reducer"], 741, 0); - _static(V, "helices_reducer__helix_position_set_reducer$closure", 3, null, ["call$3"], ["helix_position_set_reducer"], 742, 0); - _static_2(V, "helices_reducer__move_helices_to_group_helices_reducer$closure", "move_helices_to_group_helices_reducer", 743); - _static_2(Z, "helix_group_move_reducer__helix_group_move_create_translation_reducer$closure", "helix_group_move_create_translation_reducer", 744); - _static_2(Z, "helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure", "helix_group_move_adjust_translation_reducer", 745); - _static_2(Z, "helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure", "helix_group_move_stop_translation_reducer", 746); - _static(Z, "helix_group_move_reducer__helix_group_move_commit_global_reducer$closure", 3, null, ["call$3"], ["helix_group_move_commit_global_reducer"], 747, 0); - _static_2(R, "inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure", "inline_insertions_deletions_reducer", 748); - _static_2(D, "insertion_deletion_reducer__insertion_deletion_reducer$closure", "insertion_deletion_reducer", 749); - _static_2(D, "insertion_deletion_reducer__insertion_add_reducer$closure", "insertion_add_reducer", 750); - _static_2(D, "insertion_deletion_reducer__insertion_remove_reducer$closure", "insertion_remove_reducer", 751); - _static_2(D, "insertion_deletion_reducer__deletion_add_reducer$closure", "deletion_add_reducer", 752); - _static_2(D, "insertion_deletion_reducer__deletion_remove_reducer$closure", "deletion_remove_reducer", 753); - _static_2(D, "insertion_deletion_reducer__insertion_length_change_reducer$closure", "insertion_length_change_reducer", 754); - _static(D, "insertion_deletion_reducer__insertions_length_change_reducer$closure", 3, null, ["call$3"], ["insertions_length_change_reducer"], 755, 0); - _static_2(U, "mouseover_datas_reducer__mouseover_data_clear_reducer$closure", "mouseover_data_clear_reducer", 756); - _static(U, "mouseover_datas_reducer__mouseover_data_update_reducer$closure", 3, null, ["call$3"], ["mouseover_data_update_reducer"], 757, 0); - _static(U, "mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure", 3, null, ["call$3"], ["helix_rotation_set_at_other_mouseover_reducer"], 758, 0); - _static(F, "nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure", 3, null, ["call$3"], ["move_linker_reducer"], 759, 0); - _static(F, "nick_ligate_join_by_crossover_reducers__nick_reducer$closure", 3, null, ["call$3"], ["nick_reducer"], 760, 0); - _static(F, "nick_ligate_join_by_crossover_reducers__ligate_reducer$closure", 3, null, ["call$3"], ["ligate_reducer"], 761, 0); - _static(F, "nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure", 3, null, ["call$3"], ["join_strands_by_multiple_crossovers_reducer"], 762, 0); - _static(F, "nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure", 3, null, ["call$3"], ["join_strands_by_crossover_reducer"], 763, 0); - _static_2(F, "potential_crossover_reducer__potential_crossover_create_reducer$closure", "potential_crossover_create_reducer", 764); - _static_2(F, "potential_crossover_reducer__potential_crossover_move_reducer$closure", "potential_crossover_move_reducer", 765); - _static_2(F, "potential_crossover_reducer__potential_crossover_remove_reducer$closure", "potential_crossover_remove_reducer", 766); - _static(D, "selection_reducer__select_reducer$closure", 3, null, ["call$3"], ["select_reducer"], 767, 0); - _static(D, "selection_reducer__select_all_selectables_reducer$closure", 3, null, ["call$3"], ["select_all_selectables_reducer"], 768, 0); - _static(D, "selection_reducer__select_or_toggle_items_reducer$closure", 3, null, ["call$3"], ["select_or_toggle_items_reducer"], 769, 0); - _static_2(D, "selection_reducer__design_changing_action_reducer$closure", "design_changing_action_reducer", 770); - _static_2(D, "selection_reducer__select_all_reducer$closure", "select_all_reducer", 771); - _static_2(D, "selection_reducer__selections_clear_reducer$closure", "selections_clear_reducer", 772); - _static(D, "selection_reducer__select_all_with_same_reducer$closure", 3, null, ["call$3"], ["select_all_with_same_reducer"], 773, 0); - _static(D, "selection_reducer__helix_selections_adjust_reducer$closure", 3, null, ["call$3"], ["helix_selections_adjust_reducer"], 774, 0); - _static_2(D, "selection_reducer__helix_select_reducer$closure", "helix_select_reducer", 775); - _static_2(D, "selection_reducer__helices_selected_clear_reducer$closure", "helices_selected_clear_reducer", 776); - _static_2(D, "selection_reducer__helices_remove_all_selected_reducer$closure", "helices_remove_all_selected_reducer", 777); - _static_2(D, "selection_reducer__helix_remove_selected_reducer$closure", "helix_remove_selected_reducer", 778); - _static_2(D, "selection_reducer__selection_box_create_reducer$closure", "selection_box_create_reducer", 779); - _static_2(D, "selection_reducer__selection_box_size_changed_reducer$closure", "selection_box_size_changed_reducer", 780); - _static_2(D, "selection_reducer__selection_box_remove_reducer$closure", "selection_box_remove_reducer", 781); - _static_2(D, "selection_reducer__selection_rope_create_reducer$closure", "selection_rope_create_reducer", 782); - _static_2(D, "selection_reducer__selection_rope_mouse_move_reducer$closure", "selection_rope_mouse_move_reducer", 783); - _static_2(D, "selection_reducer__selection_rope_add_point_reducer$closure", "selection_rope_add_point_reducer", 784); - _static_2(D, "selection_reducer__selection_rope_remove_reducer$closure", "selection_rope_remove_reducer", 785); - _static(M, "strand_creation_reducer__strand_create_start_reducer$closure", 3, null, ["call$3"], ["strand_create_start_reducer"], 786, 0); - _static(M, "strand_creation_reducer__strand_create_adjust_offset_reducer$closure", 3, null, ["call$3"], ["strand_create_adjust_offset_reducer"], 787, 0); - _static(M, "strand_creation_reducer__strand_create_stop_reducer$closure", 3, null, ["call$3"], ["strand_create_stop_reducer"], 788, 0); - _static(X, "strands_copy_info_reducer__copy_selected_strands_reducer$closure", 3, null, ["call$3"], ["copy_selected_strands_reducer"], 789, 0); - _static(X, "strands_copy_info_reducer__manual_paste_initiate_reducer$closure", 3, null, ["call$3"], ["manual_paste_initiate_reducer"], 790, 0); - _static(X, "strands_copy_info_reducer__autopaste_initiate_reducer$closure", 3, null, ["call$3"], ["autopaste_initiate_reducer"], 791, 0); - _static(X, "strands_copy_info_reducer__manual_paste_copy_info_reducer$closure", 3, null, ["call$3"], ["manual_paste_copy_info_reducer"], 792, 0); - _static(D, "strands_move_reducer__strands_move_start_reducer$closure", 3, null, ["call$3"], ["strands_move_start_reducer"], 793, 0); - _static(D, "strands_move_reducer__strands_move_start_selected_strands_reducer$closure", 3, null, ["call$3"], ["strands_move_start_selected_strands_reducer"], 794, 0); - _static_2(D, "strands_move_reducer__strands_move_stop_reducer$closure", "strands_move_stop_reducer", 795); - _static(D, "strands_move_reducer__strands_adjust_address_reducer$closure", 3, null, ["call$3"], ["strands_adjust_address_reducer"], 796, 0); - _static_2(D, "strands_move_reducer__interval_comparator$closure", "interval_comparator", 797); - _static_2(E, "strands_reducer__replace_strands_reducer$closure", "replace_strands_reducer", 798); - _static(E, "strands_reducer__strands_part_reducer$closure", 3, null, ["call$3"], ["strands_part_reducer"], 799, 0); - _static_2(E, "strands_reducer__substrand_name_set_reducer$closure", "substrand_name_set_reducer", 800); - _static_2(E, "strands_reducer__substrand_label_set_reducer$closure", "substrand_label_set_reducer", 801); - _static(E, "strands_reducer__strands_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_move_commit_reducer"], 802, 0); - _static(E, "strands_reducer__domains_move_commit_reducer$closure", 3, null, ["call$3"], ["domains_move_commit_reducer"], 803, 0); - _static(E, "strands_reducer__strands_dna_ends_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_ends_move_commit_reducer"], 804, 0); - _static(E, "strands_reducer__strands_dna_extensions_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_extensions_move_commit_reducer"], 805, 0); - _static(E, "strands_reducer__strand_create$closure", 3, null, ["call$3"], ["strand_create"], 806, 0); - _static_2(E, "strands_reducer__strands_single_strand_reducer$closure", "strands_single_strand_reducer", 807); - _static_2(E, "strands_reducer__vendor_fields_remove_reducer$closure", "vendor_fields_remove_reducer", 808); - _static_2(E, "strands_reducer__plate_well_vendor_fields_remove_reducer$closure", "plate_well_vendor_fields_remove_reducer", 809); - _static_2(E, "strands_reducer__plate_well_vendor_fields_assign_reducer$closure", "plate_well_vendor_fields_assign_reducer", 810); - _static_2(E, "strands_reducer__scale_purification_vendor_fields_assign_reducer$closure", "scale_purification_vendor_fields_assign_reducer", 811); - _static_2(E, "strands_reducer__strand_name_set_reducer$closure", "strand_name_set_reducer", 812); - _static_2(E, "strands_reducer__strand_label_set_reducer$closure", "strand_label_set_reducer", 813); - _static_2(E, "strands_reducer__extension_add_reducer$closure", "extension_add_reducer", 814); - _static_2(E, "strands_reducer__modification_add_reducer$closure", "modification_add_reducer", 815); - _static_2(E, "strands_reducer__modification_remove_reducer$closure", "modification_remove_reducer", 816); - _static_2(E, "strands_reducer__modification_edit_reducer$closure", "modification_edit_reducer", 817); - _static_2(E, "strands_reducer__scaffold_set_reducer$closure", "scaffold_set_reducer", 818); - _static_2(E, "strands_reducer__strand_or_substrand_color_set_reducer$closure", "strand_or_substrand_color_set_reducer", 819); - _static(E, "strands_reducer__modifications_5p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_5p_edit_reducer"], 820, 0); - _static(E, "strands_reducer__modifications_3p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_3p_edit_reducer"], 821, 0); - _static(E, "strands_reducer__modifications_int_edit_reducer$closure", 3, null, ["call$3"], ["modifications_int_edit_reducer"], 822, 0); - _static_2(S, "undo_redo_reducer__undo_reducer$closure", "undo_reducer", 823); - _static_2(S, "undo_redo_reducer__redo_reducer$closure", "redo_reducer", 824); - _static_2(S, "undo_redo_reducer__undo_redo_clear_reducer$closure", "undo_redo_clear_reducer", 825); - _static_2(S, "undo_redo_reducer__undoable_action_typed_reducer$closure", "undoable_action_typed_reducer", 826); - _instance(X.TypedGlobalReducer.prototype, "get$$call", 0, 3, null, ["call$3"], ["call$3"], "1*(Object*,Object*,@)", 0); - _static_1(E, "dialog_Dialog_identity_function$closure", "Dialog_identity_function", 162); - _static_1(S, "grid_Grid_valueOf$closure", "Grid_valueOf", 827); - _static_0(E, "selectable__ask_for_select_all_with_same_as_selected$closure", "ask_for_select_all_with_same_as_selected", 6); - _static_1(E, "util__unwrap_from_noindent$closure", "unwrap_from_noindent", 14); - _static(E, "util__merge_wildcards$closure", 3, null, ["call$3"], ["merge_wildcards"], 181, 0); - _static(E, "util__merge_wildcards_favor_first$closure", 3, null, ["call$3"], ["merge_wildcards_favor_first"], 181, 0); - _static_1(E, "util__dispatch_set_zoom_threshold$closure", "dispatch_set_zoom_threshold", 829); - _static_0(E, "util__svg_to_png_data$closure", "svg_to_png_data", 0); - _static(B, "lib_3p_end___$End3Prime$closure", 0, function() { + return A.ReactDartInteropStatics2_handleComponentDidUpdate(component, jsThis, jsPrevProps, jsPrevState, null); + }], 617, 0); + _static_1(A, "dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure", "ReactDartInteropStatics2_handleComponentWillUnmount", 163); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleComponentDidCatch"], 618, 0); + _static_2(A, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure", "ReactDartInteropStatics2_handleGetDerivedStateFromError", 619); + _static(A, "dart_interop_statics_ReactDartInteropStatics2_handleRender$closure", 4, null, ["call$4"], ["ReactDartInteropStatics2_handleRender"], 620, 0); + _instance_2_u(A.TypedReducer.prototype, "get$$call", "call$2", "1(Object?,@)"); + _instance_1_u(A.Replacer.prototype, "get$default_encode", "default_encode$1", 12); + _static(A, "check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure", 3, null, ["call$3"], ["check_reflect_strands_legal_middleware"], 3, 0); + _static(A, "dna_ends_move_start__dna_ends_move_start_middleware$closure", 3, null, ["call$3"], ["dna_ends_move_start_middleware"], 3, 0); + _static(A, "export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure", 3, null, ["call$3"], ["export_cadnano_or_codenano_file_middleware"], 3, 0); + _static(A, "export_dna_sequences__export_dna_sequences_middleware$closure", 3, null, ["call$3"], ["export_dna_sequences_middleware"], 3, 0); + _static_0(A, "export_dna_sequences__export_dna$closure", "export_dna", 5); + _static(A, "export_svg__export_svg_middleware$closure", 3, null, ["call$3"], ["export_svg_middleware"], 3, 0); + _static_1(A, "export_svg__clone_and_apply_style$closure", "clone_and_apply_style", 622); + _static(A, "forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure", 3, null, ["call$3"], ["forbid_create_circular_strand_no_crossovers_middleware"], 3, 0); + _static(A, "helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure", 3, null, ["call$3"], ["helix_positions_set_based_on_crossovers_middleware"], 3, 0); + _static(A, "helix_idxs_change__helix_idxs_change_middleware$closure", 3, null, ["call$3"], ["helix_idxs_change_middleware"], 3, 0); + _static(A, "load_file__load_file_middleware$closure", 3, null, ["call$3"], ["load_file_middleware"], 3, 0); + _static(A, "local_storage__local_storage_middleware$closure", 3, null, ["call$3"], ["local_storage_middleware"], 3, 0); + _static(A, "oxdna_export__oxdna_export_middleware$closure", 3, null, ["call$3"], ["oxdna_export_middleware"], 3, 0); + _instance_0_i(A.OxdnaVector.prototype, "get$length", "length$0", 67); + _static(A, "periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure", 3, null, ["call$3"], ["periodic_design_save_local_storage_middleware"], 3, 0); + _static(A, "save_file__save_file_middleware$closure", 3, null, ["call$3"], ["save_file_middleware"], 3, 0); + _static(A, "selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure", 3, null, ["call$3"], ["selections_intersect_box_compute_middleware"], 3, 0); + _static(A, "selections_intersect_box_compute__interval_contained$closure", 4, null, ["call$4"], ["interval_contained"], 165, 0); + _static(A, "selections_intersect_box_compute__interval_intersect$closure", 4, null, ["call$4"], ["interval_intersect"], 165, 0); + _static_2(A, "selections_intersect_box_compute__polygon_contains_rect$closure", "polygon_contains_rect", 166); + _static_2(A, "selections_intersect_box_compute__polygon_intersects_rect$closure", "polygon_intersects_rect", 166); + _static_2(A, "app_state_reducer__app_state_reducer$closure", "app_state_reducer", 625); + _static_2(A, "app_state_reducer__error_message_reducer$closure", "error_message_reducer", 626); + _static_2(A, "app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure", "potential_crossover_create_app_ui_state_reducer", 627); + _static_2(A, "app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure", "potential_crossover_remove_app_ui_state_reducer", 628); + _static_2(A, "app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure", "dna_ends_move_start_app_ui_state_reducer", 629); + _static_2(A, "app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure", "dna_ends_move_stop_app_ui_state_reducer", 630); + _static_2(A, "app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure", "dna_extensions_move_start_app_ui_state_reducer", 631); + _static_2(A, "app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure", "dna_extensions_move_stop_app_ui_state_reducer", 948); + _static_2(A, "app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure", "slice_bar_move_start_app_ui_state_reducer", 633); + _static_2(A, "app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure", "slice_bar_move_stop_app_ui_state_reducer", 634); + _static_2(A, "app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure", "helix_group_move_start_app_ui_state_reducer", 635); + _static_2(A, "app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure", "helix_group_move_stop_app_ui_state_reducer", 636); + _static_2(A, "app_ui_state_reducer__show_dna_reducer$closure", "show_dna_reducer", 637); + _static_2(A, "app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure", "load_dialog_show_app_ui_state_reducer", 638); + _static_2(A, "app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure", "load_dialog_hide_app_ui_state_reducer", 639); + _static_2(A, "app_ui_state_reducer__show_strand_names_reducer$closure", "show_strand_names_reducer", 640); + _static_2(A, "app_ui_state_reducer__show_strand_labels_reducer$closure", "show_strand_labels_reducer", 641); + _static_2(A, "app_ui_state_reducer__show_domain_names_reducer$closure", "show_domain_names_reducer", 642); + _static_2(A, "app_ui_state_reducer__show_domain_labels_reducer$closure", "show_domain_labels_reducer", 643); + _static_2(A, "app_ui_state_reducer__show_modifications_reducer$closure", "show_modifications_reducer", 644); + _static_2(A, "app_ui_state_reducer__modification_display_connector_reducer$closure", "modification_display_connector_reducer", 645); + _static_2(A, "app_ui_state_reducer__modification_font_size_reducer$closure", "modification_font_size_reducer", 646); + _static_2(A, "app_ui_state_reducer__zoom_speed_reducer$closure", "zoom_speed_reducer", 647); + _static_2(A, "app_ui_state_reducer__strand_name_font_size_reducer$closure", "strand_name_font_size_reducer", 648); + _static_2(A, "app_ui_state_reducer__domain_name_font_size_reducer$closure", "domain_name_font_size_reducer", 649); + _static_2(A, "app_ui_state_reducer__strand_label_font_size_reducer$closure", "strand_label_font_size_reducer", 650); + _static_2(A, "app_ui_state_reducer__domain_label_font_size_reducer$closure", "domain_label_font_size_reducer", 651); + _static_2(A, "app_ui_state_reducer__major_tick_offset_font_size_reducer$closure", "major_tick_offset_font_size_reducer", 652); + _static_2(A, "app_ui_state_reducer__major_tick_width_font_size_reducer$closure", "major_tick_width_font_size_reducer", 653); + _static_2(A, "app_ui_state_reducer__show_mismatches_reducer$closure", "show_mismatches_reducer", 654); + _static_2(A, "app_ui_state_reducer__show_domain_name_mismatches_reducer$closure", "show_domain_name_mismatches_reducer", 655); + _static_2(A, "app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure", "show_unpaired_insertion_deletions_reducer", 656); + _static_2(A, "app_ui_state_reducer__invert_y_reducer$closure", "invert_y_reducer", 657); + _static_2(A, "app_ui_state_reducer__dynamic_helix_update_reducer$closure", "dynamic_helix_update_reducer", 658); + _static_2(A, "app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure", "warn_on_exit_if_unsaved_reducer", 659); + _static_2(A, "app_ui_state_reducer__show_helix_circles_main_view_reducer$closure", "show_helix_circles_main_view_reducer", 660); + _static_2(A, "app_ui_state_reducer__show_helix_components_main_view_reducer$closure", "show_helix_components_main_view_reducer", 661); + _static_2(A, "app_ui_state_reducer__show_edit_mode_menu_reducer$closure", "show_edit_mode_menu_reducer", 662); + _static_2(A, "app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure", "show_grid_coordinates_side_view_reducer", 663); + _static_2(A, "app_ui_state_reducer__show_helices_axis_arrows_reducer$closure", "show_helices_axis_arrows_reducer", 664); + _static_2(A, "app_ui_state_reducer__show_loopout_extension_length_reducer$closure", "show_loopout_extension_length_reducer", 665); + _static_2(A, "app_ui_state_reducer__show_slice_bar_reducer$closure", "show_slice_bar_reducer", 666); + _static_2(A, "app_ui_state_reducer__slice_bar_offset_set_reducer$closure", "slice_bar_offset_set_reducer", 667); + _static_2(A, "app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure", "disable_png_caching_dna_sequences_reducer", 668); + _static_2(A, "app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure", "retain_strand_color_on_selection_reducer", 669); + _static_2(A, "app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure", "display_reverse_DNA_right_side_up_reducer", 670); + _static_2(A, "app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure", "display_base_offsets_of_major_ticks_reducer", 671); + _static_2(A, "app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure", "display_base_offsets_of_major_ticks_only_first_helix_reducer", 672); + _static_2(A, "app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure", "display_major_tick_widths_all_helices_reducer", 673); + _static_2(A, "app_ui_state_reducer__base_pair_type_idx_reducer$closure", "base_pair_type_idx_reducer", 674); + _static_2(A, "app_ui_state_reducer__show_base_pair_lines_reducer$closure", "show_base_pair_lines_reducer", 675); + _static_2(A, "app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure", "show_base_pair_lines_with_mismatches_reducer", 676); + _static_2(A, "app_ui_state_reducer__export_svg_text_separately_reducer$closure", "export_svg_text_separately_reducer", 677); + _static_2(A, "app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure", "ox_export_only_selected_strands_reducer", 678); + _static_2(A, "app_ui_state_reducer__display_major_tick_widths_reducer$closure", "display_major_tick_widths_reducer", 679); + _static_2(A, "app_ui_state_reducer__strand_paste_keep_color_reducer$closure", "strand_paste_keep_color_reducer", 680); + _static_2(A, "app_ui_state_reducer__center_on_load_reducer$closure", "center_on_load_reducer", 681); + _static_2(A, "app_ui_state_reducer__show_oxview_reducer$closure", "show_oxview_reducer", 682); + _static_2(A, "app_ui_state_reducer__show_mouseover_data_set_reducer$closure", "show_mouseover_data_set_reducer", 683); + _static_2(A, "app_ui_state_reducer__only_display_selected_helices_reducer$closure", "only_display_selected_helices_reducer", 684); + _static_2(A, "app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure", "default_crossover_type_scaffold_for_setting_helix_rolls_reducer", 167); + _static_2(A, "app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure", "default_crossover_type_staple_for_setting_helix_rolls_reducer", 167); + _static_2(A, "app_ui_state_reducer__dna_assign_options_reducer$closure", "dna_assign_options_reducer", 686); + _static_2(A, "app_ui_state_reducer__local_storage_design_choice_reducer$closure", "local_storage_design_choice_reducer", 687); + _static_2(A, "app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure", "clear_helix_selection_when_loading_new_design_set_reducer", 688); + _static_2(A, "app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure", "changed_since_last_save_undoable_action_reducer", 689); + _static_2(A, "app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure", "changed_since_last_save_just_saved_reducer", 690); + _static_2(A, "app_ui_state_reducer__example_designs_idx_set_reducer$closure", "example_designs_idx_set_reducer", 691); + _static(A, "app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure", 3, null, ["call$3"], ["displayed_group_name_group_remove_reducer"], 692, 0); + _static(A, "app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_show_slice_bar_set_reducer"], 693, 0); + _static(A, "app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_displayed_change_reducer"], 694, 0); + _static(A, "app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_remove_reducer"], 695, 0); + _static(A, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_reducer"], 696, 0); + _static(A, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_all_reducer"], 697, 0); + _static_2(A, "app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure", "displayed_group_name_change_displayed_group_reducer", 698); + _static_2(A, "app_ui_state_reducer__displayed_group_name_change_name_reducer$closure", "displayed_group_name_change_name_reducer", 699); + _static_2(A, "app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure", "last_mod_5p_modification_add_reducer", 700); + _static_2(A, "app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure", "last_mod_3p_modification_add_reducer", 701); + _static_2(A, "app_ui_state_reducer__last_mod_int_modification_add_reducer$closure", "last_mod_int_modification_add_reducer", 702); + _static_2(A, "app_ui_state_reducer__load_dna_sequence_image_uri$closure", "load_dna_sequence_image_uri", 703); + _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure", "load_dna_sequence_png_horizontal_offset", 168); + _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure", "load_dna_sequence_png_vertical_offset", 168); + _static_2(A, "app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure", "set_export_svg_action_delayed_for_png_cache", 705); + _static_2(A, "app_ui_state_reducer__set_is_zoom_above_threshold$closure", "set_is_zoom_above_threshold", 706); + _static_2(A, "app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure", "side_view_mouse_grid_pos_update_reducer", 707); + _static_2(A, "app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure", "side_view_mouse_grid_pos_clear_reducer", 708); + _static_2(A, "app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure", "side_view_mouse_pos_update_reducer", 709); + _static_2(A, "app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure", "side_view_mouse_pos_clear_reducer", 710); + _static_2(A, "app_ui_state_reducer__color_picker_strand_show_reducer$closure", "color_picker_strand_show_reducer", 711); + _static_2(A, "app_ui_state_reducer__color_picker_strand_hide_reducer$closure", "color_picker_strand_hide_reducer", 712); + _static_2(A, "app_ui_state_reducer__color_picker_substrand_show_reducer$closure", "color_picker_substrand_show_reducer", 713); + _static_2(A, "app_ui_state_reducer__color_picker_substrand_hide_reducer$closure", "color_picker_substrand_hide_reducer", 714); + _static_2(A, "app_ui_state_reducer__selection_box_intersection_reducer$closure", "selection_box_intersection_reducer", 715); + _static(A, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_strands_reducer"], 716, 0); + _static(A, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_domains_reducer"], 717, 0); + _static_2(A, "change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure", "convert_crossover_to_loopout_reducer", 718); + _static(A, "change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure", 3, null, ["call$3"], ["convert_crossovers_to_loopouts_reducer"], 719, 0); + _static(A, "change_loopout_ext_properties__loopouts_length_change_reducer$closure", 3, null, ["call$3"], ["loopouts_length_change_reducer"], 720, 0); + _static(A, "change_loopout_ext_properties__extensions_num_bases_change_reducer$closure", 3, null, ["call$3"], ["extensions_num_bases_change_reducer"], 721, 0); + _static_2(A, "change_loopout_ext_properties__loopout_length_change_reducer$closure", "loopout_length_change_reducer", 722); + _static_2(A, "change_loopout_ext_properties__extension_num_bases_change_reducer$closure", "extension_num_bases_change_reducer", 723); + _static_2(A, "change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure", "extension_display_length_angle_change_reducer", 724); + _static(A, "delete_reducer__delete_all_reducer$closure", 3, null, ["call$3"], ["delete_all_reducer"], 725, 0); + _static_2(A, "design_reducer__design_error_message_set_reducer$closure", "design_error_message_set_reducer", 726); + _static(A, "design_reducer__design_geometry_set_reducer$closure", 3, null, ["call$3"], ["design_geometry_set_reducer"], 727, 0); + _static_2(A, "design_reducer__new_design_set_reducer$closure", "new_design_set_reducer", 728); + _static_2(A, "dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure", "dna_ends_move_set_selected_ends_reducer", 729); + _static_2(A, "dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure", "dna_ends_move_adjust_reducer", 730); + _static_2(A, "dna_ends_move_reducer__dna_ends_move_stop_reducer$closure", "dna_ends_move_stop_reducer", 731); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure", "dna_extensions_move_set_selected_extension_ends_reducer", 732); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure", "dna_extensions_move_adjust_reducer", 733); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure", "dna_extensions_move_stop_reducer", 734); + _static(A, "domains_move_reducer__domains_move_start_selected_domains_reducer$closure", 3, null, ["call$3"], ["domains_move_start_selected_domains_reducer"], 735, 0); + _static_2(A, "domains_move_reducer__domains_move_stop_reducer$closure", "domains_move_stop_reducer", 736); + _static(A, "domains_move_reducer__domains_adjust_address_reducer$closure", 3, null, ["call$3"], ["domains_adjust_address_reducer"], 737, 0); + _static_2(A, "edit_modes_reducer__toggle_edit_mode_reducer$closure", "toggle_edit_mode_reducer", 738); + _static_2(A, "edit_modes_reducer__set_edit_modes_reducer$closure", "set_edit_modes_reducer", 739); + _static_2(A, "groups_reducer__grid_change_reducer$closure", "grid_change_reducer", 740); + _static_2(A, "groups_reducer__group_add_reducer$closure", "group_add_reducer", 741); + _static_2(A, "groups_reducer__group_remove_reducer$closure", "group_remove_reducer", 742); + _static_2(A, "groups_reducer__group_change_reducer$closure", "group_change_reducer", 743); + _static(A, "groups_reducer__move_helices_to_group_groups_reducer$closure", 3, null, ["call$3"], ["move_helices_to_group_groups_reducer"], 744, 0); + _static(A, "helices_reducer__helix_individual_reducer$closure", 3, null, ["call$3"], ["helix_individual_reducer"], 745, 0); + _static(A, "helices_reducer__helix_idx_change_reducer$closure", 3, null, ["call$3"], ["helix_idx_change_reducer"], 746, 0); + _static(A, "helices_reducer__helix_offset_change_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_reducer"], 747, 0); + _static(A, "helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_with_moving_strands_reducer"], 748, 0); + _static(A, "helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_while_creating_strand_reducer"], 749, 0); + _static(A, "helices_reducer__first_replace_strands_reducer$closure", 3, null, ["call$3"], ["first_replace_strands_reducer"], 750, 0); + _static(A, "helices_reducer__reset_helices_offsets_after_selections_clear$closure", 3, null, ["call$3"], ["reset_helices_offsets_after_selections_clear"], 751, 0); + _static(A, "helices_reducer__helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_reducer"], 752, 0); + _static(A, "helices_reducer__helix_min_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_reducer"], 753, 0); + _static(A, "helices_reducer__helix_max_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_reducer"], 754, 0); + _static(A, "helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_all_reducer"], 755, 0); + _static(A, "helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_reducer"], 756, 0); + _static(A, "helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_same_max_reducer"], 757, 0); + _static_2(A, "helices_reducer__helix_major_tick_distance_change_all_reducer$closure", "helix_major_tick_distance_change_all_reducer", 758); + _static_2(A, "helices_reducer__helix_major_ticks_change_all_reducer$closure", "helix_major_ticks_change_all_reducer", 759); + _static_2(A, "helices_reducer__helix_major_tick_start_change_all_reducer$closure", "helix_major_tick_start_change_all_reducer", 760); + _static_2(A, "helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure", "helix_major_tick_periodic_distances_change_all_reducer", 761); + _static(A, "helices_reducer__helix_major_tick_distance_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_distance_change_reducer"], 762, 0); + _static(A, "helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_periodic_distances_change_reducer"], 763, 0); + _static(A, "helices_reducer__helix_major_tick_start_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_start_change_reducer"], 764, 0); + _static(A, "helices_reducer__helix_major_ticks_change_reducer$closure", 3, null, ["call$3"], ["helix_major_ticks_change_reducer"], 765, 0); + _static(A, "helices_reducer__helix_roll_set_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_reducer"], 766, 0); + _static(A, "helices_reducer__helix_roll_set_at_other_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_at_other_reducer"], 767, 0); + _static(A, "helices_reducer__helix_add_design_reducer$closure", 3, null, ["call$3"], ["helix_add_design_reducer"], 768, 0); + _static(A, "helices_reducer__helix_remove_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_design_global_reducer"], 769, 0); + _static(A, "helices_reducer__helix_remove_all_selected_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_all_selected_design_global_reducer"], 770, 0); + _static(A, "helices_reducer__helix_grid_change_reducer$closure", 3, null, ["call$3"], ["helix_grid_change_reducer"], 771, 0); + _static(A, "helices_reducer__relax_helix_rolls_reducer$closure", 3, null, ["call$3"], ["relax_helix_rolls_reducer"], 772, 0); + _static(A, "helices_reducer__helix_group_change_reducer$closure", 3, null, ["call$3"], ["helix_group_change_reducer"], 773, 0); + _static(A, "helices_reducer__helix_grid_position_set_reducer$closure", 3, null, ["call$3"], ["helix_grid_position_set_reducer"], 774, 0); + _static(A, "helices_reducer__helix_position_set_reducer$closure", 3, null, ["call$3"], ["helix_position_set_reducer"], 775, 0); + _static_2(A, "helices_reducer__move_helices_to_group_helices_reducer$closure", "move_helices_to_group_helices_reducer", 776); + _static_2(A, "helix_group_move_reducer__helix_group_move_create_translation_reducer$closure", "helix_group_move_create_translation_reducer", 777); + _static_2(A, "helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure", "helix_group_move_adjust_translation_reducer", 778); + _static_2(A, "helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure", "helix_group_move_stop_translation_reducer", 779); + _static(A, "helix_group_move_reducer__helix_group_move_commit_global_reducer$closure", 3, null, ["call$3"], ["helix_group_move_commit_global_reducer"], 780, 0); + _static_2(A, "inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure", "inline_insertions_deletions_reducer", 781); + _static_2(A, "insertion_deletion_reducer__insertion_deletion_reducer$closure", "insertion_deletion_reducer", 782); + _static_2(A, "insertion_deletion_reducer__insertion_add_reducer$closure", "insertion_add_reducer", 783); + _static_2(A, "insertion_deletion_reducer__insertion_remove_reducer$closure", "insertion_remove_reducer", 784); + _static_2(A, "insertion_deletion_reducer__deletion_add_reducer$closure", "deletion_add_reducer", 785); + _static_2(A, "insertion_deletion_reducer__deletion_remove_reducer$closure", "deletion_remove_reducer", 786); + _static_2(A, "insertion_deletion_reducer__insertion_length_change_reducer$closure", "insertion_length_change_reducer", 787); + _static(A, "insertion_deletion_reducer__insertions_length_change_reducer$closure", 3, null, ["call$3"], ["insertions_length_change_reducer"], 788, 0); + _static_2(A, "mouseover_datas_reducer__mouseover_data_clear_reducer$closure", "mouseover_data_clear_reducer", 789); + _static(A, "mouseover_datas_reducer__mouseover_data_update_reducer$closure", 3, null, ["call$3"], ["mouseover_data_update_reducer"], 790, 0); + _static(A, "mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure", 3, null, ["call$3"], ["helix_rotation_set_at_other_mouseover_reducer"], 791, 0); + _static(A, "nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure", 3, null, ["call$3"], ["move_linker_reducer"], 792, 0); + _static(A, "nick_ligate_join_by_crossover_reducers__nick_reducer$closure", 3, null, ["call$3"], ["nick_reducer"], 793, 0); + _static(A, "nick_ligate_join_by_crossover_reducers__ligate_reducer$closure", 3, null, ["call$3"], ["ligate_reducer"], 794, 0); + _static(A, "nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure", 3, null, ["call$3"], ["join_strands_by_multiple_crossovers_reducer"], 795, 0); + _static(A, "nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure", 3, null, ["call$3"], ["join_strands_by_crossover_reducer"], 796, 0); + _static_2(A, "potential_crossover_reducer__potential_crossover_create_reducer$closure", "potential_crossover_create_reducer", 797); + _static_2(A, "potential_crossover_reducer__potential_crossover_move_reducer$closure", "potential_crossover_move_reducer", 798); + _static_2(A, "potential_crossover_reducer__potential_crossover_remove_reducer$closure", "potential_crossover_remove_reducer", 799); + _static(A, "selection_reducer__select_reducer$closure", 3, null, ["call$3"], ["select_reducer"], 800, 0); + _static(A, "selection_reducer__select_all_selectables_reducer$closure", 3, null, ["call$3"], ["select_all_selectables_reducer"], 801, 0); + _static(A, "selection_reducer__select_or_toggle_items_reducer$closure", 3, null, ["call$3"], ["select_or_toggle_items_reducer"], 802, 0); + _static_2(A, "selection_reducer__design_changing_action_reducer$closure", "design_changing_action_reducer", 803); + _static_2(A, "selection_reducer__select_all_reducer$closure", "select_all_reducer", 804); + _static_2(A, "selection_reducer__selections_clear_reducer$closure", "selections_clear_reducer", 805); + _static(A, "selection_reducer__select_all_with_same_reducer$closure", 3, null, ["call$3"], ["select_all_with_same_reducer"], 806, 0); + _static(A, "selection_reducer__helix_selections_adjust_reducer$closure", 3, null, ["call$3"], ["helix_selections_adjust_reducer"], 807, 0); + _static_2(A, "selection_reducer__helix_select_reducer$closure", "helix_select_reducer", 808); + _static_2(A, "selection_reducer__helices_selected_clear_reducer$closure", "helices_selected_clear_reducer", 809); + _static_2(A, "selection_reducer__helices_remove_all_selected_reducer$closure", "helices_remove_all_selected_reducer", 810); + _static_2(A, "selection_reducer__helix_remove_selected_reducer$closure", "helix_remove_selected_reducer", 811); + _static_2(A, "selection_reducer__selection_box_create_reducer$closure", "selection_box_create_reducer", 812); + _static_2(A, "selection_reducer__selection_box_size_changed_reducer$closure", "selection_box_size_changed_reducer", 813); + _static_2(A, "selection_reducer__selection_box_remove_reducer$closure", "selection_box_remove_reducer", 814); + _static_2(A, "selection_reducer__selection_rope_create_reducer$closure", "selection_rope_create_reducer", 815); + _static_2(A, "selection_reducer__selection_rope_mouse_move_reducer$closure", "selection_rope_mouse_move_reducer", 816); + _static_2(A, "selection_reducer__selection_rope_add_point_reducer$closure", "selection_rope_add_point_reducer", 817); + _static_2(A, "selection_reducer__selection_rope_remove_reducer$closure", "selection_rope_remove_reducer", 818); + _static(A, "strand_creation_reducer__strand_create_start_reducer$closure", 3, null, ["call$3"], ["strand_create_start_reducer"], 819, 0); + _static(A, "strand_creation_reducer__strand_create_adjust_offset_reducer$closure", 3, null, ["call$3"], ["strand_create_adjust_offset_reducer"], 820, 0); + _static(A, "strand_creation_reducer__strand_create_stop_reducer$closure", 3, null, ["call$3"], ["strand_create_stop_reducer"], 821, 0); + _static(A, "strands_copy_info_reducer__copy_selected_strands_reducer$closure", 3, null, ["call$3"], ["copy_selected_strands_reducer"], 822, 0); + _static(A, "strands_copy_info_reducer__manual_paste_initiate_reducer$closure", 3, null, ["call$3"], ["manual_paste_initiate_reducer"], 823, 0); + _static(A, "strands_copy_info_reducer__autopaste_initiate_reducer$closure", 3, null, ["call$3"], ["autopaste_initiate_reducer"], 824, 0); + _static(A, "strands_copy_info_reducer__manual_paste_copy_info_reducer$closure", 3, null, ["call$3"], ["manual_paste_copy_info_reducer"], 825, 0); + _static(A, "strands_move_reducer__strands_move_start_reducer$closure", 3, null, ["call$3"], ["strands_move_start_reducer"], 826, 0); + _static(A, "strands_move_reducer__strands_move_start_selected_strands_reducer$closure", 3, null, ["call$3"], ["strands_move_start_selected_strands_reducer"], 827, 0); + _static_2(A, "strands_move_reducer__strands_move_stop_reducer$closure", "strands_move_stop_reducer", 828); + _static(A, "strands_move_reducer__strands_adjust_address_reducer$closure", 3, null, ["call$3"], ["strands_adjust_address_reducer"], 829, 0); + _static_2(A, "strands_move_reducer__interval_comparator$closure", "interval_comparator", 830); + _static_2(A, "strands_reducer__replace_strands_reducer$closure", "replace_strands_reducer", 831); + _static(A, "strands_reducer__strands_part_reducer$closure", 3, null, ["call$3"], ["strands_part_reducer"], 832, 0); + _static_2(A, "strands_reducer__substrand_name_set_reducer$closure", "substrand_name_set_reducer", 833); + _static_2(A, "strands_reducer__substrand_label_set_reducer$closure", "substrand_label_set_reducer", 834); + _static(A, "strands_reducer__strands_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_move_commit_reducer"], 835, 0); + _static(A, "strands_reducer__domains_move_commit_reducer$closure", 3, null, ["call$3"], ["domains_move_commit_reducer"], 836, 0); + _static(A, "strands_reducer__strands_dna_ends_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_ends_move_commit_reducer"], 837, 0); + _static(A, "strands_reducer__strands_dna_extensions_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_extensions_move_commit_reducer"], 838, 0); + _static(A, "strands_reducer__strand_create$closure", 3, null, ["call$3"], ["strand_create"], 839, 0); + _static_2(A, "strands_reducer__strands_single_strand_reducer$closure", "strands_single_strand_reducer", 840); + _static_2(A, "strands_reducer__vendor_fields_remove_reducer$closure", "vendor_fields_remove_reducer", 841); + _static_2(A, "strands_reducer__plate_well_vendor_fields_remove_reducer$closure", "plate_well_vendor_fields_remove_reducer", 842); + _static_2(A, "strands_reducer__plate_well_vendor_fields_assign_reducer$closure", "plate_well_vendor_fields_assign_reducer", 843); + _static_2(A, "strands_reducer__scale_purification_vendor_fields_assign_reducer$closure", "scale_purification_vendor_fields_assign_reducer", 844); + _static_2(A, "strands_reducer__strand_name_set_reducer$closure", "strand_name_set_reducer", 845); + _static_2(A, "strands_reducer__strand_label_set_reducer$closure", "strand_label_set_reducer", 846); + _static_2(A, "strands_reducer__extension_add_reducer$closure", "extension_add_reducer", 847); + _static_2(A, "strands_reducer__modification_add_reducer$closure", "modification_add_reducer", 848); + _static_2(A, "strands_reducer__modification_remove_reducer$closure", "modification_remove_reducer", 849); + _static_2(A, "strands_reducer__modification_edit_reducer$closure", "modification_edit_reducer", 850); + _static_2(A, "strands_reducer__scaffold_set_reducer$closure", "scaffold_set_reducer", 851); + _static_2(A, "strands_reducer__strand_or_substrand_color_set_reducer$closure", "strand_or_substrand_color_set_reducer", 852); + _static(A, "strands_reducer__modifications_5p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_5p_edit_reducer"], 853, 0); + _static(A, "strands_reducer__modifications_3p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_3p_edit_reducer"], 854, 0); + _static(A, "strands_reducer__modifications_int_edit_reducer$closure", 3, null, ["call$3"], ["modifications_int_edit_reducer"], 855, 0); + _static_2(A, "undo_redo_reducer__undo_reducer$closure", "undo_reducer", 856); + _static_2(A, "undo_redo_reducer__redo_reducer$closure", "redo_reducer", 857); + _static_2(A, "undo_redo_reducer__undo_redo_clear_reducer$closure", "undo_redo_clear_reducer", 858); + _static_2(A, "undo_redo_reducer__undoable_action_typed_reducer$closure", "undoable_action_typed_reducer", 859); + _instance(A.TypedGlobalReducer.prototype, "get$$call", 0, 3, null, ["call$3"], ["call$3"], "1(Object?,Object?,@)", 0, 0); + _static_1(A, "dialog_Dialog_identity_function$closure", "Dialog_identity_function", 145); + _static_1(A, "grid_Grid_valueOf$closure", "Grid_valueOf", 860); + _static_0(A, "selectable__ask_for_select_all_with_same_as_selected$closure", "ask_for_select_all_with_same_as_selected", 5); + _static_1(A, "util__unwrap_from_noindent$closure", "unwrap_from_noindent", 12); + _static(A, "util__merge_wildcards$closure", 3, null, ["call$3"], ["merge_wildcards"], 96, 0); + _static(A, "util__merge_wildcards_favor_first$closure", 3, null, ["call$3"], ["merge_wildcards_favor_first"], 96, 0); + _static_1(A, "util__dispatch_set_zoom_threshold$closure", "dispatch_set_zoom_threshold", 861); + _static_0(A, "util__svg_to_png_data$closure", "svg_to_png_data", 0); + _static(A, "lib_3p_end___$End3Prime$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$End3Prime", function() { - return B._$End3Prime(null); - }], 830, 0); + return A._$End3Prime(null); + }], 862, 0); _static(A, "lib_5p_end___$End5Prime$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$End5Prime", function() { return A._$End5Prime(null); - }], 831, 0); - _static_1(U, "design__main_view_pointer_up$closure", "main_view_pointer_up", 136); - _static(S, "design_context_menu___$DesignContextMenu$closure", 0, function() { + }], 863, 0); + _static(A, "axis_arrows_main___$AxisArrowsMain$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$AxisArrowsMain", function() { + return A._$AxisArrowsMain(null); + }], 864, 0); + _static(A, "axis_arrows_side___$AxisArrowsSide$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$AxisArrowsSide", function() { + return A._$AxisArrowsSide(null); + }], 865, 0); + _static_1(A, "design__main_view_pointer_up$closure", "main_view_pointer_up", 866); + _static(A, "design_context_menu___$DesignContextMenu$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignContextMenu", function() { - return S._$DesignContextMenu(null); - }], 832, 0); - _static(S, "design_context_menu___$DesignContextSubmenu$closure", 0, function() { + return A._$DesignContextMenu(null); + }], 867, 0); + _static(A, "design_context_menu___$DesignContextSubmenu$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignContextSubmenu", function() { - return S._$DesignContextSubmenu(null); - }], 833, 0); - _static(S, "design_dialog_form___$DesignDialogForm$closure", 0, function() { + return A._$DesignContextSubmenu(null); + }], 868, 0); + _static(A, "design_dialog_form___$DesignDialogForm$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignDialogForm", function() { - return S._$DesignDialogForm(null); - }], 834, 0); - _instance_1_u(S.DesignDialogFormComponent.prototype, "get$submit_form", "submit_form$1", 5); - _static(V, "design_footer___$DesignFooter$closure", 0, function() { + return A._$DesignDialogForm(null); + }], 869, 0); + _instance_1_u(A.DesignDialogFormComponent.prototype, "get$submit_form", "submit_form$1", 4); + _static(A, "design_footer___$DesignFooter$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignFooter", function() { - return V._$DesignFooter(null); - }], 835, 0); - _static(Q, "design_loading_dialog___$DesignLoadingDialog$closure", 0, function() { + return A._$DesignFooter(null); + }], 870, 0); + _static(A, "design_loading_dialog___$DesignLoadingDialog$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignLoadingDialog", function() { - return Q._$DesignLoadingDialog(null); - }], 836, 0); - _static(V, "design_main___$DesignMain$closure", 0, function() { + return A._$DesignLoadingDialog(null); + }], 871, 0); + _static(A, "design_main___$DesignMain$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMain", function() { - return V._$DesignMain(null); - }], 837, 0); - _static(Q, "design_main_arrows___$DesignMainArrows$closure", 0, function() { - return [null]; - }, ["call$1", "call$0"], ["_$DesignMainArrows", function() { - return Q._$DesignMainArrows(null); - }], 838, 0); - _static(Z, "design_main_base_pair_lines___$DesignMainBasePairLines$closure", 0, function() { + return A._$DesignMain(null); + }], 872, 0); + _static(A, "design_main_base_pair_lines___$DesignMainBasePairLines$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainBasePairLines", function() { - return Z._$DesignMainBasePairLines(null); - }], 839, 0); - _static(V, "design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure", 0, function() { + return A._$DesignMainBasePairLines(null); + }], 873, 0); + _static(A, "design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainBasePairRectangle", function() { - return V._$DesignMainBasePairRectangle(null); - }], 840, 0); - _static(O, "design_main_dna_mismatches___$DesignMainDNAMismatches$closure", 0, function() { + return A._$DesignMainBasePairRectangle(null); + }], 874, 0); + _static(A, "design_main_dna_mismatches___$DesignMainDNAMismatches$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDNAMismatches", function() { - return O._$DesignMainDNAMismatches(null); - }], 841, 0); - _static(U, "design_main_dna_sequence___$DesignMainDNASequence$closure", 0, function() { + return A._$DesignMainDNAMismatches(null); + }], 875, 0); + _static(A, "design_main_dna_sequence___$DesignMainDNASequence$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDNASequence", function() { - return U._$DesignMainDNASequence(null); - }], 842, 0); - _static(M, "design_main_dna_sequences___$DesignMainDNASequences$closure", 0, function() { + return A._$DesignMainDNASequence(null); + }], 876, 0); + _static(A, "design_main_dna_sequences___$DesignMainDNASequences$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDNASequences", function() { - return M._$DesignMainDNASequences(null); - }], 843, 0); - _static(T, "design_main_domain_moving___$DesignMainDomainMoving$closure", 0, function() { + return A._$DesignMainDNASequences(null); + }], 877, 0); + _static(A, "design_main_domain_moving___$DesignMainDomainMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDomainMoving", function() { - return T._$DesignMainDomainMoving(null); - }], 844, 0); - _static(R, "design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure", 0, function() { + return A._$DesignMainDomainMoving(null); + }], 878, 0); + _static(A, "design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDomainNameMismatches", function() { - return R._$DesignMainDomainNameMismatches(null); - }], 845, 0); - _static(Y, "design_main_domains_moving___$DesignMainDomainsMoving$closure", 0, function() { + return A._$DesignMainDomainNameMismatches(null); + }], 879, 0); + _static(A, "design_main_domains_moving___$DesignMainDomainsMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDomainsMoving", function() { - return Y._$DesignMainDomainsMoving(null); - }], 846, 0); - _static(X, "design_main_error_boundary___$DesignMainErrorBoundary$closure", 0, function() { + return A._$DesignMainDomainsMoving(null); + }], 880, 0); + _static(A, "design_main_error_boundary___$DesignMainErrorBoundary$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainErrorBoundary", function() { - return X._$DesignMainErrorBoundary(null); - }], 847, 0); - _static(V, "design_main_helices___$DesignMainHelices$closure", 0, function() { + return A._$DesignMainErrorBoundary(null); + }], 881, 0); + _static(A, "design_main_helices___$DesignMainHelices$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainHelices", function() { - return V._$DesignMainHelices(null); - }], 848, 0); - _static(T, "design_main_helix___$DesignMainHelix$closure", 0, function() { + return A._$DesignMainHelices(null); + }], 882, 0); + _static(A, "design_main_helix___$DesignMainHelix$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainHelix", function() { - return T._$DesignMainHelix(null); - }], 849, 0); - _instance_1_u(T.DesignMainHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _static(K, "design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure", 0, function() { + return A._$DesignMainHelix(null); + }], 883, 0); + _instance_1_u(A.DesignMainHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(A, "design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainLoopoutExtensionLength", function() { - return K._$DesignMainLoopoutExtensionLength(null); - }], 850, 0); - _static(Z, "design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure", 0, function() { + return A._$DesignMainLoopoutExtensionLength(null); + }], 884, 0); + _static(A, "design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainLoopoutExtensionLengths", function() { - return Z._$DesignMainLoopoutExtensionLengths(null); - }], 851, 0); - _static(K, "design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure", 0, function() { + return A._$DesignMainLoopoutExtensionLengths(null); + }], 885, 0); + _static(A, "design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainPotentialVerticalCrossover", function() { - return K._$DesignMainPotentialVerticalCrossover(null); - }], 852, 0); - _static(S, "design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure", 0, function() { + return A._$DesignMainPotentialVerticalCrossover(null); + }], 886, 0); + _static(A, "design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainPotentialVerticalCrossovers", function() { - return S._$DesignMainPotentialVerticalCrossovers(null); - }], 853, 0); - _static(M, "design_main_slice_bar___$DesignMainSliceBar$closure", 0, function() { + return A._$DesignMainPotentialVerticalCrossovers(null); + }], 887, 0); + _static(A, "design_main_slice_bar___$DesignMainSliceBar$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainSliceBar", function() { - return M._$DesignMainSliceBar(null); - }], 854, 0); - _static(M, "design_main_strand___$DesignMainStrand$closure", 0, function() { + return A._$DesignMainSliceBar(null); + }], 888, 0); + _static(A, "design_main_strand___$DesignMainStrand$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrand", function() { - return M._$DesignMainStrand(null); - }], 855, 0); - _instance_1_u(_ = M.DesignMainStrandComponent.prototype, "get$handle_click_down", "handle_click_down$1", 41); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); - _instance_0_u(_, "get$assign_dna", "assign_dna$0", 1); - _instance_0_u(_, "get$assign_dna_complement_from_bound_strands", "assign_dna_complement_from_bound_strands$0", 1); - _instance_0_u(_, "get$assign_scale_purification_fields", "assign_scale_purification_fields$0", 1); - _instance_0_u(_, "get$assign_plate_well_fields", "assign_plate_well_fields$0", 1); - _instance_0_u(_, "get$set_strand_name", "set_strand_name$0", 1); - _instance_0_u(_, "get$set_strand_label", "set_strand_label$0", 1); - _instance_0_u(_, "get$remove_dna", "remove_dna$0", 1); - _instance_0_u(_, "get$set_scaffold", "set_scaffold$0", 1); + return A._$DesignMainStrand(null); + }], 889, 0); + _instance_1_u(_ = A.DesignMainStrandComponent.prototype, "get$handle_click_down", "handle_click_down$1", 39); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 39); + _instance_0_u(_, "get$assign_dna", "assign_dna$0", 9); + _instance_0_u(_, "get$assign_dna_complement_from_bound_strands", "assign_dna_complement_from_bound_strands$0", 9); + _instance_0_u(_, "get$assign_scale_purification_fields", "assign_scale_purification_fields$0", 9); + _instance_0_u(_, "get$assign_plate_well_fields", "assign_plate_well_fields$0", 9); + _instance_0_u(_, "get$set_strand_name", "set_strand_name$0", 9); + _instance_0_u(_, "get$set_strand_label", "set_strand_label$0", 9); + _instance_0_u(_, "get$remove_dna", "remove_dna$0", 9); + _instance_0_u(_, "get$set_scaffold", "set_scaffold$0", 9); _instance(_, "get$context_menu_strand", 0, 1, function() { - return {address: null, substrand: null, type: C.ModificationType_internal}; - }, ["call$4$address$substrand$type", "call$1", "call$3$address$substrand"], ["context_menu_strand$4$address$substrand$type", "context_menu_strand$1", "context_menu_strand$3$address$substrand"], 452, 0); - _instance_0_u(_, "get$ask_for_assign_scale_purification_fields", "ask_for_assign_scale_purification_fields$0", 6); - _instance_0_u(_, "get$ask_for_assign_plate_well_fields", "ask_for_assign_plate_well_fields$0", 6); - _static(S, "design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure", 0, function() { + return {address: null, domain: null, type: B.ModificationType_internal}; + }, ["call$4$address$domain$type", "call$1", "call$3$address$domain"], ["context_menu_strand$4$address$domain$type", "context_menu_strand$1", "context_menu_strand$3$address$domain"], 460, 0, 0); + _instance_0_u(_, "get$ask_for_assign_scale_purification_fields", "ask_for_assign_scale_purification_fields$0", 5); + _instance_0_u(_, "get$ask_for_assign_plate_well_fields", "ask_for_assign_plate_well_fields$0", 5); + _static(A, "design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandAndDomainTexts", function() { - return S._$DesignMainStrandAndDomainTexts(null); - }], 856, 0); - _static(R, "design_main_strand_creating___$DesignMainStrandCreating$closure", 0, function() { + return A._$DesignMainStrandAndDomainTexts(null); + }], 890, 0); + _static(A, "design_main_strand_creating___$DesignMainStrandCreating$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandCreating", function() { - return R._$DesignMainStrandCreating(null); - }], 857, 0); - _static(Q, "design_main_strand_crossover___$DesignMainStrandCrossover$closure", 0, function() { + return A._$DesignMainStrandCreating(null); + }], 891, 0); + _static(A, "design_main_strand_crossover___$DesignMainStrandCrossover$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandCrossover", function() { - return Q._$DesignMainStrandCrossover(null); - }], 858, 0); - _instance_1_u(_ = Q.DesignMainStrandCrossoverComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _instance_0_u(_, "get$unstrain_backbone_at_crossover", "unstrain_backbone_at_crossover$0", 1); - _instance_0_u(_, "get$convert_crossover_to_loopout", "convert_crossover_to_loopout$0", 1); + return A._$DesignMainStrandCrossover(null); + }], 892, 0); + _instance_1_u(_ = A.DesignMainStrandCrossoverComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$unstrain_backbone_at_crossover", "unstrain_backbone_at_crossover$0", 9); + _instance_0_u(_, "get$convert_crossover_to_loopout", "convert_crossover_to_loopout$0", 9); _static(A, "design_main_strand_deletion___$DesignMainStrandDeletion$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandDeletion", function() { return A._$DesignMainStrandDeletion(null); - }], 859, 0); - _static(S, "design_main_strand_dna_end___$DesignMainDNAEnd$closure", 0, function() { + }], 893, 0); + _static(A, "design_main_strand_dna_end___$DesignMainDNAEnd$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDNAEnd", function() { - return S._$DesignMainDNAEnd(null); - }], 860, 0); - _instance_1_u(_ = S.DesignMainDNAEndComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _instance_1_u(_, "get$handle_end_click_select_and_or_move_start", "handle_end_click_select_and_or_move_start$1", 41); - _instance_1_u(_, "get$handle_end_pointer_up_select", "handle_end_pointer_up_select$1", 41); - _instance_1_u(_, "get$handle_end_click_ligate_or_potential_crossover", "handle_end_click_ligate_or_potential_crossover$1", 3); - _instance_1_u(_, "get$handle_on_mouse_leave", "handle_on_mouse_leave$1", 3); - _instance_1_u(_, "get$handle_on_mouse_enter", "handle_on_mouse_enter$1", 3); - _instance_1_u(_, "get$handle_on_mouse_move", "handle_on_mouse_move$1", 3); - _static(F, "design_main_strand_dna_end_moving___$EndMoving$closure", 0, function() { + return A._$DesignMainDNAEnd(null); + }], 894, 0); + _instance_1_u(_ = A.DesignMainDNAEndComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(_, "get$handle_end_click_select_and_or_move_start", "handle_end_click_select_and_or_move_start$1", 39); + _instance_1_u(_, "get$handle_end_pointer_up_select", "handle_end_pointer_up_select$1", 39); + _instance_1_u(_, "get$handle_end_click_ligate_or_potential_crossover", "handle_end_click_ligate_or_potential_crossover$1", 2); + _instance_1_u(_, "get$handle_on_mouse_leave", "handle_on_mouse_leave$1", 2); + _instance_1_u(_, "get$handle_on_mouse_enter", "handle_on_mouse_enter$1", 2); + _instance_1_u(_, "get$handle_on_mouse_move", "handle_on_mouse_move$1", 2); + _static(A, "design_main_strand_dna_end_moving___$EndMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$EndMoving", function() { - return F._$EndMoving(null); - }], 861, 0); - _static(T, "design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure", 0, function() { + return A._$EndMoving(null); + }], 895, 0); + _static(A, "design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$ExtensionEndMoving", function() { - return T._$ExtensionEndMoving(null); - }], 862, 0); - _static(T, "design_main_strand_domain___$DesignMainDomain$closure", 0, function() { + return A._$ExtensionEndMoving(null); + }], 896, 0); + _static(A, "design_main_strand_domain___$DesignMainDomain$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainDomain", function() { - return T._$DesignMainDomain(null); - }], 863, 0); - _instance_1_u(_ = T.DesignMainDomainComponent.prototype, "get$_handle_click_for_nick_insertion_deletion", "_handle_click_for_nick_insertion_deletion$1", 3); - _instance_1_u(_, "get$handle_click_down", "handle_click_down$1", 41); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); + return A._$DesignMainDomain(null); + }], 897, 0); + _instance_1_u(_ = A.DesignMainDomainComponent.prototype, "get$_handle_click_for_nick_insertion_deletion", "_handle_click_for_nick_insertion_deletion$1", 2); + _instance_1_u(_, "get$handle_click_down", "handle_click_down$1", 39); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 39); _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 25); - _static(B, "design_main_strand_domain_text___$DesignMainStrandDomainText$closure", 0, function() { + _static(A, "design_main_strand_domain_text___$DesignMainStrandDomainText$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandDomainText", function() { - return B._$DesignMainStrandDomainText(null); - }], 864, 0); - _instance_1_u(B.DesignMainStrandDomainTextComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _static(Q, "design_main_strand_extension___$DesignMainExtension$closure", 0, function() { + return A._$DesignMainStrandDomainText(null); + }], 898, 0); + _instance_1_u(A.DesignMainStrandDomainTextComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(A, "design_main_strand_extension___$DesignMainExtension$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainExtension", function() { - return Q._$DesignMainExtension(null); - }], 865, 0); - _instance_1_u(_ = Q.DesignMainExtensionComponent.prototype, "get$handle_click_down", "handle_click_down$1", 41); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); + return A._$DesignMainExtension(null); + }], 899, 0); + _instance_1_u(_ = A.DesignMainExtensionComponent.prototype, "get$handle_click_down", "handle_click_down$1", 39); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 39); _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 25); - _instance_0_u(_, "get$extension_num_bases_change", "extension_num_bases_change$0", 1); - _instance_0_u(_, "get$set_extension_name", "set_extension_name$0", 1); - _instance_0_u(_, "get$set_extension_label", "set_extension_label$0", 1); - _instance_0_u(_, "get$ask_for_extension_name", "ask_for_extension_name$0", 6); - _instance_0_u(_, "get$extension_display_length_and_angle_change", "extension_display_length_and_angle_change$0", 1); - _instance_0_u(_, "get$ask_for_extension_display_length_and_angle", "ask_for_extension_display_length_and_angle$0", 6); - _static(R, "design_main_strand_extension_text___$DesignMainStrandExtensionText$closure", 0, function() { + _instance_0_u(_, "get$extension_num_bases_change", "extension_num_bases_change$0", 9); + _instance_0_u(_, "get$set_extension_name", "set_extension_name$0", 9); + _instance_0_u(_, "get$set_extension_label", "set_extension_label$0", 9); + _instance_0_u(_, "get$ask_for_extension_name", "ask_for_extension_name$0", 5); + _instance_0_u(_, "get$extension_display_length_and_angle_change", "extension_display_length_and_angle_change$0", 9); + _instance_0_u(_, "get$ask_for_extension_display_length_and_angle", "ask_for_extension_display_length_and_angle$0", 5); + _static(A, "design_main_strand_extension_text___$DesignMainStrandExtensionText$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandExtensionText", function() { - return R._$DesignMainStrandExtensionText(null); - }], 866, 0); + return A._$DesignMainStrandExtensionText(null); + }], 900, 0); _static(A, "design_main_strand_insertion___$DesignMainStrandInsertion$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandInsertion", function() { return A._$DesignMainStrandInsertion(null); - }], 867, 0); + }], 901, 0); _instance_1_u(_ = A.DesignMainStrandInsertionComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _instance_0_u(_, "get$change_insertion_length", "change_insertion_length$0", 1); - _static(R, "design_main_strand_loopout___$DesignMainLoopout$closure", 0, function() { + _instance_0_u(_, "get$change_insertion_length", "change_insertion_length$0", 9); + _static(A, "design_main_strand_loopout___$DesignMainLoopout$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainLoopout", function() { - return R._$DesignMainLoopout(null); - }], 868, 0); - _instance_1_u(_ = R.DesignMainLoopoutComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _instance_0_u(_, "get$loopout_length_change", "loopout_length_change$0", 1); - _instance_0_u(_, "get$set_loopout_name", "set_loopout_name$0", 1); - _instance_0_u(_, "get$set_loopout_label", "set_loopout_label$0", 1); - _instance_0_u(_, "get$ask_for_loopout_name", "ask_for_loopout_name$0", 6); - _static(S, "design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure", 0, function() { + return A._$DesignMainLoopout(null); + }], 902, 0); + _instance_1_u(_ = A.DesignMainLoopoutComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$loopout_length_change", "loopout_length_change$0", 9); + _instance_0_u(_, "get$set_loopout_name", "set_loopout_name$0", 9); + _instance_0_u(_, "get$set_loopout_label", "set_loopout_label$0", 9); + _instance_0_u(_, "get$ask_for_loopout_name", "ask_for_loopout_name$0", 5); + _static(A, "design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandLoopoutText", function() { - return S._$DesignMainStrandLoopoutText(null); - }], 869, 0); - _static(X, "design_main_strand_modification___$DesignMainStrandModification$closure", 0, function() { + return A._$DesignMainStrandLoopoutText(null); + }], 903, 0); + _static(A, "design_main_strand_modification___$DesignMainStrandModification$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandModification", function() { - return X._$DesignMainStrandModification(null); - }], 870, 0); - _instance_1_u(_ = X.DesignMainStrandModificationComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _instance_0_u(_, "get$remove_modification", "remove_modification$0", 1); - _static(R, "design_main_strand_modifications___$DesignMainStrandModifications$closure", 0, function() { + return A._$DesignMainStrandModification(null); + }], 904, 0); + _instance_1_u(_ = A.DesignMainStrandModificationComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$remove_modification", "remove_modification$0", 9); + _static(A, "design_main_strand_modifications___$DesignMainStrandModifications$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandModifications", function() { - return R._$DesignMainStrandModifications(null); - }], 871, 0); - _static(T, "design_main_strand_moving___$DesignMainStrandMoving$closure", 0, function() { + return A._$DesignMainStrandModifications(null); + }], 905, 0); + _static(A, "design_main_strand_moving___$DesignMainStrandMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandMoving", function() { - return T._$DesignMainStrandMoving(null); - }], 872, 0); - _static(B, "design_main_strand_paths___$DesignMainStrandPaths$closure", 0, function() { + return A._$DesignMainStrandMoving(null); + }], 906, 0); + _static(A, "design_main_strand_paths___$DesignMainStrandPaths$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandPaths", function() { - return B._$DesignMainStrandPaths(null); - }], 873, 0); - _static(E, "design_main_strands___$DesignMainStrands$closure", 0, function() { + return A._$DesignMainStrandPaths(null); + }], 907, 0); + _static(A, "design_main_strands___$DesignMainStrands$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrands", function() { - return E._$DesignMainStrands(null); - }], 874, 0); - _static(F, "design_main_strands_moving___$DesignMainStrandsMoving$closure", 0, function() { + return A._$DesignMainStrands(null); + }], 908, 0); + _static(A, "design_main_strands_moving___$DesignMainStrandsMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandsMoving", function() { - return F._$DesignMainStrandsMoving(null); - }], 875, 0); - _static(B, "design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure", 0, function() { + return A._$DesignMainStrandsMoving(null); + }], 909, 0); + _static(A, "design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainUnpairedInsertionDeletions", function() { - return B._$DesignMainUnpairedInsertionDeletions(null); - }], 876, 0); - _static(R, "design_main_warning_star___$DesignMainWarningStar$closure", 0, function() { + return A._$DesignMainUnpairedInsertionDeletions(null); + }], 910, 0); + _static(A, "design_main_warning_star___$DesignMainWarningStar$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainWarningStar", function() { - return R._$DesignMainWarningStar(null); - }], 877, 0); - _static(U, "design_side___$DesignSide$closure", 0, function() { + return A._$DesignMainWarningStar(null); + }], 911, 0); + _static(A, "design_side___$DesignSide$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSide", function() { - return U._$DesignSide(null); - }], 878, 0); - _static(S, "design_side_arrows___$DesignSideArrows$closure", 0, function() { - return [null]; - }, ["call$1", "call$0"], ["_$DesignSideArrows", function() { - return S._$DesignSideArrows(null); - }], 879, 0); - _static(B, "design_side_helix___$DesignSideHelix$closure", 0, function() { + return A._$DesignSide(null); + }], 912, 0); + _static(A, "design_side_helix___$DesignSideHelix$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSideHelix", function() { - return B._$DesignSideHelix(null); - }], 880, 0); - _instance_1_u(B.DesignSideHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); - _static(Y, "design_side_potential_helix___$DesignSidePotentialHelix$closure", 0, function() { + return A._$DesignSideHelix(null); + }], 913, 0); + _instance_1_u(A.DesignSideHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(A, "design_side_potential_helix___$DesignSidePotentialHelix$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSidePotentialHelix", function() { - return Y._$DesignSidePotentialHelix(null); - }], 881, 0); - _instance_1_u(Y.DesignSidePotentialHelixComponent.prototype, "get$_design_side_potential_helix$_handle_click", "_design_side_potential_helix$_handle_click$1", 3); - _static(O, "design_side_rotation___$DesignSideRotation$closure", 0, function() { + return A._$DesignSidePotentialHelix(null); + }], 914, 0); + _instance_1_u(A.DesignSidePotentialHelixComponent.prototype, "get$_design_side_potential_helix$_handle_click", "_design_side_potential_helix$_handle_click$1", 2); + _static(A, "design_side_rotation___$DesignSideRotation$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSideRotation", function() { - return O._$DesignSideRotation(null); - }], 882, 0); - _static(E, "design_side_rotation_arrow___$DesignSideRotationArrow$closure", 0, function() { + return A._$DesignSideRotation(null); + }], 915, 0); + _static(A, "design_side_rotation_arrow___$DesignSideRotationArrow$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSideRotationArrow", function() { - return E._$DesignSideRotationArrow(null); - }], 883, 0); - _static(Z, "edit_and_select_modes___$EditAndSelectModes$closure", 0, function() { + return A._$DesignSideRotationArrow(null); + }], 916, 0); + _static(A, "edit_and_select_modes___$EditAndSelectModes$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$EditAndSelectModes", function() { - return Z._$EditAndSelectModes(null); - }], 884, 0); - _static(M, "edit_mode___$EditMode$closure", 0, function() { + return A._$EditAndSelectModes(null); + }], 917, 0); + _static(A, "edit_mode___$EditMode$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$EditMode", function() { - return M._$EditMode(null); - }], 885, 0); - _static(O, "helix_group_moving___$HelixGroupMoving$closure", 0, function() { + return A._$EditMode(null); + }], 918, 0); + _static(A, "helix_group_moving___$HelixGroupMoving$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$HelixGroupMoving", function() { - return O._$HelixGroupMoving(null); - }], 886, 0); - _static_2(D, "menu__scadnano_file_loaded$closure", "scadnano_file_loaded", 121); - _static_2(D, "menu__cadnano_file_loaded$closure", "cadnano_file_loaded", 121); - _static(D, "menu___$Menu$closure", 0, function() { + return A._$HelixGroupMoving(null); + }], 919, 0); + _static_2(A, "menu__scadnano_file_loaded$closure", "scadnano_file_loaded", 112); + _static_2(A, "menu__cadnano_file_loaded$closure", "cadnano_file_loaded", 112); + _static(A, "menu___$Menu$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$Menu", function() { - return D._$Menu(null); - }], 888, 0); - _instance_0_u(D.MenuComponent.prototype, "get$load_example_dialog", "load_example_dialog$0", 6); - _static(Z, "menu_boolean___$MenuBoolean$closure", 0, function() { + return A._$Menu(null); + }], 921, 0); + _instance_0_u(A.MenuComponent.prototype, "get$load_example_dialog", "load_example_dialog$0", 5); + _static(A, "menu_boolean___$MenuBoolean$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$MenuBoolean", function() { - return Z._$MenuBoolean(null); - }], 889, 0); - _static(N, "menu_dropdown_item___$MenuDropdownItem$closure", 0, function() { + return A._$MenuBoolean(null); + }], 922, 0); + _static(A, "menu_dropdown_item___$MenuDropdownItem$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$MenuDropdownItem", function() { - return N._$MenuDropdownItem(null); - }], 890, 0); - _static(M, "menu_dropdown_right___$MenuDropdownRight$closure", 0, function() { + return A._$MenuDropdownItem(null); + }], 923, 0); + _static(A, "menu_dropdown_right___$MenuDropdownRight$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$MenuDropdownRight", function() { - return M._$MenuDropdownRight(null); - }], 891, 0); - _static(O, "menu_form_file___$MenuFormFile$closure", 0, function() { + return A._$MenuDropdownRight(null); + }], 924, 0); + _static(A, "menu_form_file___$MenuFormFile$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$MenuFormFile", function() { - return O._$MenuFormFile(null); - }], 892, 0); - _static(M, "menu_number___$MenuNumber$closure", 0, function() { + return A._$MenuFormFile(null); + }], 925, 0); + _static(A, "menu_number___$MenuNumber$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$MenuNumber", function() { - return M._$MenuNumber(null); - }], 893, 0); - _static(Q, "menu_side___$SideMenu$closure", 0, function() { + return A._$MenuNumber(null); + }], 926, 0); + _static(A, "menu_side___$SideMenu$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$SideMenu", function() { - return Q._$SideMenu(null); - }], 894, 0); - _instance_0_u(_ = Q.SideMenuComponent.prototype, "get$ask_new_parameters_for_current_group", "ask_new_parameters_for_current_group$0", 6); - _instance_0_u(_, "get$ask_new_helix_indices_for_current_group", "ask_new_helix_indices_for_current_group$0", 6); - _static(M, "potential_crossover_view___$PotentialCrossoverView$closure", 0, function() { + return A._$SideMenu(null); + }], 927, 0); + _static(A, "potential_crossover_view___$PotentialCrossoverView$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$PotentialCrossoverView", function() { - return M._$PotentialCrossoverView(null); - }], 895, 0); - _static(R, "potential_extensions_view___$PotentialExtensionsView$closure", 0, function() { + return A._$PotentialCrossoverView(null); + }], 928, 0); + _static(A, "potential_extensions_view___$PotentialExtensionsView$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$PotentialExtensionsView", function() { - return R._$PotentialExtensionsView(null); - }], 896, 0); - _static(D, "select_mode___$SelectMode$closure", 0, function() { + return A._$PotentialExtensionsView(null); + }], 929, 0); + _static(A, "select_mode___$SelectMode$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$SelectMode", function() { - return D._$SelectMode(null); - }], 897, 0); - _static(Y, "selection_box_view___$SelectionBoxView$closure", 0, function() { + return A._$SelectMode(null); + }], 930, 0); + _static(A, "selection_box_view___$SelectionBoxView$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$SelectionBoxView", function() { - return Y._$SelectionBoxView(null); - }], 898, 0); + return A._$SelectionBoxView(null); + }], 931, 0); _static(A, "selection_rope_view___$SelectionRopeView$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$SelectionRopeView", function() { return A._$SelectionRopeView(null); - }], 899, 0); + }], 932, 0); _static(A, "strand_color_picker___$StrandOrSubstrandColorPicker$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$StrandOrSubstrandColorPicker", function() { return A._$StrandOrSubstrandColorPicker(null); - }], 900, 0); - _instance_2_u(_ = A.StrandOrSubstrandColorPickerComponent.prototype, "get$handleOnChangeComplete", "handleOnChangeComplete$2", 538); - _instance_1_u(_, "get$handleOnCancel", "handleOnCancel$1", 36); - _instance_1_u(_, "get$handleOnOK", "handleOnOK$1", 36); - _instance(Y.SourceSpanMixin.prototype, "get$message", 1, 1, null, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 551, 0); - _static_1(U, "spreadsheet_decoder___letterOnly$closure", "_letterOnly", 173); - _static_1(T, "default_mapping___textReplace$closure", "_textReplace", 100); - _static_1(T, "default_mapping___singeQuoteAttributeReplace$closure", "_singeQuoteAttributeReplace", 100); - _static_1(T, "default_mapping___doubleQuoteAttributeReplace$closure", "_doubleQuoteAttributeReplace", 100); - _instance_0_u(_ = V.XmlGrammarDefinition.prototype, "get$attribute", "attribute$0", 11); - _instance_0_u(_, "get$attributeValueDouble", "attributeValueDouble$0", 11); - _instance_0_u(_, "get$attributeValueSingle", "attributeValueSingle$0", 11); - _instance_0_u(_, "get$comment", "comment$0", 11); - _instance_0_u(_, "get$declaration", "declaration$0", 11); - _instance_0_u(_, "get$cdata", "cdata$0", 11); - _instance_0_u(_, "get$doctype", "doctype$0", 11); - _instance_0_i(_, "get$document", "document$0", 11); - _instance_0_u(_, "get$element", "element$0", 11); - _instance_0_u(_, "get$processing", "processing$0", 11); - _instance_0_u(_, "get$qualified", "qualified$0", 11); - _instance_0_u(_, "get$characterData", "characterData$0", 11); - _instance_0_u(_, "get$spaceText", "spaceText$0", 11); - _instance_1_u(_ = G.XmlParserDefinition.prototype, "get$createQualified", "createQualified$1", 564); - _instance_1_u(_, "get$createText", "createText$1", 565); - _instance_0_u(_ = M.XmlProductionDefinition.prototype, "get$attributeValue", "attributeValue$0", 11); - _instance_0_i(_, "get$attributes", "attributes$0", 11); - _instance_0_i(_, "get$content", "content$0", 11); - _instance_0_u(_, "get$misc", "misc$0", 11); - _instance_0_u(_, "get$space", "space$0", 11); - _instance_0_u(_, "get$spaceOptional", "spaceOptional$0", 11); - _instance_0_u(_, "get$nameToken", "nameToken$0", 11); - _instance_0_u(_, "get$nameStartChar", "nameStartChar$0", 11); - _instance_0_u(_, "get$nameChar", "nameChar$0", 11); - _static_2(U, "equality__propsOrStateMapsEqual$closure", "propsOrStateMapsEqual", 902); - _static_1(X, "code___toFormattedChar$closure", "_toFormattedChar", 80); - _static(M, "failure_joiner__selectLast$closure", 2, null, ["call$1$2", "call$2"], ["selectLast", function(first, second) { - return M.selectLast(first, second, type$.dynamic); - }], 903, 1); + }], 933, 0); + _instance_2_u(_ = A.StrandOrSubstrandColorPickerComponent.prototype, "get$handleOnChangeComplete", "handleOnChangeComplete$2", 546); + _instance_1_u(_, "get$handleOnCancel", "handleOnCancel$1", 30); + _instance_1_u(_, "get$handleOnOK", "handleOnOK$1", 30); + _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, null, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 559, 0, 0); + _static_1(A, "spreadsheet_decoder___letterOnly$closure", "_letterOnly", 71); + _static_1(A, "default_mapping___textReplace$closure", "_textReplace", 61); + _static_1(A, "default_mapping___singeQuoteAttributeReplace$closure", "_singeQuoteAttributeReplace", 61); + _static_1(A, "default_mapping___doubleQuoteAttributeReplace$closure", "_doubleQuoteAttributeReplace", 61); + _instance_0_u(_ = A.XmlEventParser.prototype, "get$event", "event$0", 569); + _instance_0_u(_, "get$characterData", "characterData$0", 570); + _instance_0_u(_, "get$startElement", "startElement$0", 571); + _instance_0_i(_, "get$attributes", "attributes$0", 572); + _instance_0_u(_, "get$attribute", "attribute$0", 573); + _instance_0_u(_, "get$attributeAssignment", "attributeAssignment$0", 56); + _instance_0_u(_, "get$attributeValue", "attributeValue$0", 56); + _instance_0_u(_, "get$attributeValueDoubleQuote", "attributeValueDoubleQuote$0", 56); + _instance_0_u(_, "get$attributeValueSingleQuote", "attributeValueSingleQuote$0", 56); + _instance_0_u(_, "get$attributeValueNoQuote", "attributeValueNoQuote$0", 56); + _instance_0_i(_, "get$endElement", "endElement$0", 575); + _instance_0_u(_, "get$comment", "comment$0", 576); + _instance_0_u(_, "get$cdata", "cdata$0", 577); + _instance_0_u(_, "get$declaration", "declaration$0", 578); + _instance_0_u(_, "get$processing", "processing$0", 579); + _instance_0_u(_, "get$doctype", "doctype$0", 580); + _instance_0_u(_, "get$doctypeExternalId", "doctypeExternalId$0", 90); + _instance_0_u(_, "get$doctypeExternalIdSystem", "doctypeExternalIdSystem$0", 90); + _instance_0_u(_, "get$doctypeExternalIdPublic", "doctypeExternalIdPublic$0", 90); + _instance_0_u(_, "get$doctypeIntSubset", "doctypeIntSubset$0", 46); + _instance_0_u(_, "get$doctypeElementDecl", "doctypeElementDecl$0", 59); + _instance_0_u(_, "get$doctypeAttlistDecl", "doctypeAttlistDecl$0", 59); + _instance_0_u(_, "get$doctypeEntityDecl", "doctypeEntityDecl$0", 59); + _instance_0_u(_, "get$doctypeNotationDecl", "doctypeNotationDecl$0", 59); + _instance_0_u(_, "get$doctypeReference", "doctypeReference$0", 59); + _instance_0_u(_, "get$space", "space$0", 46); + _instance_0_u(_, "get$spaceOptional", "spaceOptional$0", 46); + _instance_0_u(_, "get$nameToken", "nameToken$0", 46); + _instance_0_u(_, "get$nameStartChar", "nameStartChar$0", 46); + _instance_0_u(_, "get$nameChar", "nameChar$0", 46); + _instance_1_u(A.XmlEventVisitor.prototype, "get$visit", "visit$1", 601); + _static_2(A, "equality__propsOrStateMapsEqual$closure", "propsOrStateMapsEqual", 934); + _static_1(A, "code___toFormattedChar$closure", "_toFormattedChar", 150); + _static(A, "failure_joiner__selectFirst$closure", 2, null, ["call$1$2", "call$2"], ["selectFirst", function(first, second) { + return A.selectFirst(first, second, type$.dynamic); + }], 94, 1); + _static(A, "failure_joiner__selectLast$closure", 2, null, ["call$1$2", "call$2"], ["selectLast", function(first, second) { + return A.selectLast(first, second, type$.dynamic); + }], 94, 1); + _static(A, "failure_joiner__selectFarthest$closure", 2, null, ["call$1$2", "call$2"], ["selectFarthest", function(first, second) { + return A.selectFarthest(first, second, type$.dynamic); + }], 94, 1); _static(A, "component_registration__registerComponent2$closure", 1, function() { - return {bridgeFactory: null, skipMethods: C.List_Zyt}; + return {bridgeFactory: null, skipMethods: B.List_Zyt}; }, ["call$3$bridgeFactory$skipMethods", "call$1"], ["registerComponent20", function(componentFactory) { - return A.registerComponent20(componentFactory, null, C.List_Zyt); - }], 904, 0); - _static(O, "adjust_grid_position__adjust_grid_position_middleware$closure", 3, null, ["call$3"], ["adjust_grid_position_middleware"], 4, 0); - _static(X, "assign_dna__assign_dna_middleware$closure", 3, null, ["call$3"], ["assign_dna_middleware"], 4, 0); - _static(U, "autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure", 3, null, ["call$3"], ["autostaple_and_autobreak_middleware"], 4, 0); - _static(T, "dna_extensions_move_start__dna_extensions_move_start_middleware$closure", 3, null, ["call$3"], ["dna_extensions_move_start_middleware"], 4, 0); - _static(D, "edit_select_mode_change__edit_select_mode_change_middleware$closure", 3, null, ["call$3"], ["edit_select_mode_change_middleware"], 4, 0); - _static(O, "example_design_selected__example_design_selected_middleware$closure", 3, null, ["call$3"], ["example_design_selected_middleware"], 4, 0); - _static(F, "group_remove__group_remove_middleware$closure", 3, null, ["call$3"], ["group_remove_middleware"], 4, 0); - _static(X, "helix_grid_change__helix_grid_offsets_middleware$closure", 3, null, ["call$3"], ["helix_grid_offsets_middleware"], 4, 0); - _static(M, "helix_group_move_start__helix_group_move_start_middleware$closure", 3, null, ["call$3"], ["helix_group_move_start_middleware"], 4, 0); - _static(G, "helix_hide_all__helix_hide_all_middleware$closure", 3, null, ["call$3"], ["helix_hide_all_middleware"], 4, 0); - _static(R, "helix_offsets_change__helix_change_offsets_middleware$closure", 3, null, ["call$3"], ["helix_change_offsets_middleware"], 4, 0); - _static(L, "helix_remove__helix_remove_middleware$closure", 3, null, ["call$3"], ["helix_remove_middleware"], 4, 0); - _static(S, "insertion_deletion_batching__insertion_deletion_batching_middleware$closure", 3, null, ["call$3"], ["insertion_deletion_batching_middleware"], 4, 0); - _static(V, "invalidate_png__invalidate_png_middleware$closure", 3, null, ["call$3"], ["invalidate_png_middleware"], 4, 0); - _static(B, "move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure", 3, null, ["call$3"], ["move_ensure_all_in_same_helix_group_middleware"], 4, 0); - _static(N, "oxview_update_view__oxview_update_view_middleware$closure", 3, null, ["call$3"], ["oxview_update_view_middleware"], 4, 0); - _static(A, "reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure", 3, null, ["call$3"], ["reselect_moved_copied_strands_middleware"], 4, 0); - _static(D, "reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_ends_middleware"], 4, 0); - _static(A, "reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_extension_ends_middleware"], 4, 0); - _static(T, "reselect_moved_domains__reselect_moved_domains_middleware$closure", 3, null, ["call$3"], ["reselect_moved_domains_middleware"], 4, 0); - _static(A, "reset_local_storage__reset_local_storage_middleware$closure", 3, null, ["call$3"], ["reset_local_storage_middleware"], 4, 0); - _static(U, "strand_create__strand_create_middleware$closure", 3, null, ["call$3"], ["strand_create_middleware"], 4, 0); - _static(G, "system_clipboard__system_clipboard_middleware$closure", 3, null, ["call$3"], ["system_clipboard_middleware"], 4, 0); - _static(Z, "throttle__throttle_middleware$closure", 3, null, ["call$3"], ["throttle_middleware"], 905, 0); - _static(X, "zoom_speed__zoom_speed_middleware$closure", 3, null, ["call$3"], ["zoom_speed_middleware"], 4, 0); - _static_2(R, "assign_or_remove_dna_reducer__remove_dna_reducer$closure", "remove_dna_reducer", 906); - _static(R, "assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure", 3, null, ["call$3"], ["assign_dna_reducer_complement_from_bound_strands"], 907, 0); - _static(R, "assign_or_remove_dna_reducer__assign_dna_reducer$closure", 3, null, ["call$3"], ["assign_dna_reducer"], 908, 0); - _static_2(R, "assign_or_remove_dna_reducer__compare_overlap$closure", "compare_overlap", 909); - _static_2(N, "context_menu_reducer__context_menu_show_reducer$closure", "context_menu_show_reducer", 910); - _static_2(N, "context_menu_reducer__context_menu_hide_reducer$closure", "context_menu_hide_reducer", 911); - _static_2(A, "dialog_reducer__dialog_show_reducer$closure", "dialog_show_reducer", 912); - _static_2(A, "dialog_reducer__dialog_hide_reducer$closure", "dialog_hide_reducer", 913); - _static_2(Q, "select_mode_state_reducer__toggle_select_mode_reducer$closure", "toggle_select_mode_reducer", 914); - _static_2(Q, "select_mode_state_reducer__set_select_modes_reducer$closure", "set_select_modes_reducer", 915); - _static_2(Q, "select_mode_state_reducer__add_select_modes_reducer$closure", "add_select_modes_reducer", 610); + return A.registerComponent20(componentFactory, null, B.List_Zyt); + }], 936, 0); + _static(A, "adjust_grid_position__adjust_grid_position_middleware$closure", 3, null, ["call$3"], ["adjust_grid_position_middleware"], 3, 0); + _static(A, "assign_dna__assign_dna_middleware$closure", 3, null, ["call$3"], ["assign_dna_middleware"], 3, 0); + _static(A, "autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure", 3, null, ["call$3"], ["autostaple_and_autobreak_middleware"], 3, 0); + _static(A, "dna_extensions_move_start__dna_extensions_move_start_middleware$closure", 3, null, ["call$3"], ["dna_extensions_move_start_middleware"], 3, 0); + _static(A, "edit_select_mode_change__edit_select_mode_change_middleware$closure", 3, null, ["call$3"], ["edit_select_mode_change_middleware"], 3, 0); + _static(A, "example_design_selected__example_design_selected_middleware$closure", 3, null, ["call$3"], ["example_design_selected_middleware"], 3, 0); + _static(A, "group_remove__group_remove_middleware$closure", 3, null, ["call$3"], ["group_remove_middleware"], 3, 0); + _static(A, "helix_grid_change__helix_grid_offsets_middleware$closure", 3, null, ["call$3"], ["helix_grid_offsets_middleware"], 3, 0); + _static(A, "helix_group_move_start__helix_group_move_start_middleware$closure", 3, null, ["call$3"], ["helix_group_move_start_middleware"], 3, 0); + _static(A, "helix_hide_all__helix_hide_all_middleware$closure", 3, null, ["call$3"], ["helix_hide_all_middleware"], 3, 0); + _static(A, "helix_offsets_change__helix_change_offsets_middleware$closure", 3, null, ["call$3"], ["helix_change_offsets_middleware"], 3, 0); + _static(A, "helix_remove__helix_remove_middleware$closure", 3, null, ["call$3"], ["helix_remove_middleware"], 3, 0); + _static(A, "insertion_deletion_batching__insertion_deletion_batching_middleware$closure", 3, null, ["call$3"], ["insertion_deletion_batching_middleware"], 3, 0); + _static(A, "invalidate_png__invalidate_png_middleware$closure", 3, null, ["call$3"], ["invalidate_png_middleware"], 3, 0); + _static(A, "move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure", 3, null, ["call$3"], ["move_ensure_all_in_same_helix_group_middleware"], 3, 0); + _static(A, "oxview_update_view__oxview_update_view_middleware$closure", 3, null, ["call$3"], ["oxview_update_view_middleware"], 3, 0); + _static(A, "reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure", 3, null, ["call$3"], ["reselect_moved_copied_strands_middleware"], 3, 0); + _static(A, "reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_ends_middleware"], 3, 0); + _static(A, "reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_extension_ends_middleware"], 3, 0); + _static(A, "reselect_moved_domains__reselect_moved_domains_middleware$closure", 3, null, ["call$3"], ["reselect_moved_domains_middleware"], 3, 0); + _static(A, "reset_local_storage__reset_local_storage_middleware$closure", 3, null, ["call$3"], ["reset_local_storage_middleware"], 3, 0); + _static(A, "strand_create__strand_create_middleware$closure", 3, null, ["call$3"], ["strand_create_middleware"], 3, 0); + _static(A, "system_clipboard__system_clipboard_middleware$closure", 3, null, ["call$3"], ["system_clipboard_middleware"], 3, 0); + _static(A, "throttle__throttle_middleware$closure", 3, null, ["call$3"], ["throttle_middleware"], 937, 0); + _static(A, "zoom_speed__zoom_speed_middleware$closure", 3, null, ["call$3"], ["zoom_speed_middleware"], 3, 0); + _static_2(A, "assign_or_remove_dna_reducer__remove_dna_reducer$closure", "remove_dna_reducer", 938); + _static(A, "assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure", 3, null, ["call$3"], ["assign_dna_reducer_complement_from_bound_strands"], 939, 0); + _static(A, "assign_or_remove_dna_reducer__assign_dna_reducer$closure", 3, null, ["call$3"], ["assign_dna_reducer"], 940, 0); + _static_2(A, "assign_or_remove_dna_reducer__compare_overlap$closure", "compare_overlap", 941); + _static_2(A, "context_menu_reducer__context_menu_show_reducer$closure", "context_menu_show_reducer", 942); + _static_2(A, "context_menu_reducer__context_menu_hide_reducer$closure", "context_menu_hide_reducer", 943); + _static_2(A, "dialog_reducer__dialog_show_reducer$closure", "dialog_show_reducer", 944); + _static_2(A, "dialog_reducer__dialog_hide_reducer$closure", "dialog_hide_reducer", 945); + _static_2(A, "select_mode_state_reducer__toggle_select_mode_reducer$closure", "toggle_select_mode_reducer", 946); + _static_2(A, "select_mode_state_reducer__set_select_modes_reducer$closure", "set_select_modes_reducer", 947); + _static_2(A, "select_mode_state_reducer__add_select_modes_reducer$closure", "add_select_modes_reducer", 632); })(); (function inheritance() { var _mixin = hunkHelpers.mixin, + _mixinHard = hunkHelpers.mixinHard, _inherit = hunkHelpers.inherit, _inheritMany = hunkHelpers.inheritMany; - _inherit(P.Object, null); - _inheritMany(P.Object, [H.JS_CONST, J.Interceptor, J.ArrayIterator, P.Stream, H.CastStreamSubscription, P.Iterable, H.CastIterator, H.Closure, P.MapMixin, P.Error, P._ListBase_Object_ListMixin, H.ListIterator, P.Iterator, H.ExpandIterator, H.EmptyIterator, H.WhereTypeIterator, H.FixedLengthListMixin, H.UnmodifiableListMixin, H.Symbol, P.MapView, H.ConstantMap, H.JSInvocationMirror, H.TypeErrorDecoder, H.NullThrownFromJavaScriptException, H.ExceptionAndStackTrace, H._StackTrace, H._Required, H.LinkedHashMapCell, H.LinkedHashMapKeyIterator, H.JSSyntaxRegExp, H._MatchImplementation, H._AllMatchesIterator, H.StringMatch, H._StringAllMatchesIterator, H.Rti, H._FunctionParameters, H._Type, P._TimerImpl, P._AsyncAwaitCompleter, P._IterationMarker, P._SyncStarIterator, P.AsyncError, P._BufferingStreamSubscription, P._BroadcastStreamController, P._Completer, P._FutureListener, P._Future, P._AsyncCallbackEntry, P.StreamSubscription, P.StreamTransformerBase, P._StreamController, P._SyncStreamControllerDispatch, P._PendingEvents, P._DelayedEvent, P._DelayedDone, P._DoneStreamSubscription, P._StreamIterator, P._Zone, P._HashMapKeyIterator, P.__SetBase_Object_SetMixin, P._HashSetIterator, P._LinkedHashSetCell, P._LinkedHashSetIterator, P.ListMixin, P._MapBaseValueIterator, P._UnmodifiableMapMixin, P._ListQueueIterator, P.SetMixin, P._SetBase_Object_SetMixin, P._UnmodifiableSetMixin, P.Codec, P._Base64Encoder, P._Base64Decoder, P.ChunkedConversionSink, P.HtmlEscapeMode, P._JsonStringifier, P._JsonPrettyPrintMixin, P._Utf8Encoder, P._Utf8Decoder, P._BigIntImpl, P.DateTime, P.Duration, P.OutOfMemoryError, P.StackOverflowError, P._Exception, P.FormatException, P.IntegerDivisionByZeroException, P.Expando, P.MapEntry, P.Null, P._StringStackTrace, P.RuneIterator, P.StringBuffer, P._Uri, P.UriData, P._SimpleUri, W.CssStyleDeclarationBase, W.Events, W._WrappedEvent, W._BeforeUnloadEventStreamProvider, W.EventStreamProvider, W._Html5NodeValidator, W.ImmutableListMixin, W.NodeValidatorBuilder, W._SimpleNodeValidator, W.FixedSizeListIterator, W._DOMWindowCrossFrame, W._TrustedHtmlTreeSanitizer, W._SameOriginUriPolicy, W._ValidatingTreeSanitizer, P._StructuredClone, P._AcceptStructuredClone, P.JsObject, P.NullRejectionException, P.Point, P._RectangleBase, P.Endian, P.UnmodifiableByteBufferView, P.UnmodifiableByteDataView, P._UnmodifiableListMixin, B.ArchiveFile, A.Bz2BitReader, L.BZip2Decoder, X.FileContent, O.AesDecrypt, T.InputStreamBase, Q.OutputStreamBase, E.ZipDirectory, Q.AesHeader, X.ZipFileHeader, Q.ZipDecoder, K._ZipFileData, K._ZipEncoderData, K.ZipEncoder, T.Deflate, T._DeflaterConfig, T._HuffmanTree, T._StaticTree, Y.HuffmanTable, S.Inflate, Q.CopyOnWriteList, S.CopyOnWriteMap, A.CopyOnWriteSet, D.BuiltList, D.ListBuilder, R.BuiltListMultimap, R.ListMultimapBuilder, A.BuiltMap, A.MapBuilder, X.BuiltSet, X.SetBuilder, M.BuiltSetMultimap, M.SetMultimapBuilder, Y.EnumClass, Y.IndentingBuiltValueToStringHelper, A.JsonObject, U.FullType, O.BigIntSerializer, R.BoolSerializer, Y.BuiltJsonSerializers, Y.BuiltJsonSerializersBuilder, R.BuiltListMultimapSerializer, K.BuiltListSerializer, K.BuiltMapSerializer, R.BuiltSetMultimapSerializer, O.BuiltSetSerializer, Z.DateTimeSerializer, D.DoubleSerializer, K.DurationSerializer, T.Int32Serializer, Q.Int64Serializer, B.IntSerializer, O.JsonObjectSerializer, S.NullSerializer, K.NumSerializer, K.RegExpSerializer, M.StringSerializer, U.Uint8ListSerializer, O.UriSerializer, T.StandardJsonPlugin, M.CanonicalizedMap, U.DefaultEquality, U.IterableEquality, U.ListEquality, U._UnorderedEquality, U._MapEntry, U.MapEquality, U.DeepCollectionEquality, M._DelegatingIterableBase, S.Color, Z.Draggable, Z.DraggableEvent, Z._DragInfo, Z._EventManager, V.Int32, V.Int64, E.BaseClient, G.BaseRequest, T.BaseResponse, E.ClientException, R.MediaType, Y.Level, L.LogRecord, F.Logger, Z.ErrorBoundaryProps, Z.ErrorBoundaryState, V.Component2, S._UiState_Object_MapViewMixin, Z.$ErrorBoundaryProps, Z.$ErrorBoundaryState, O.ErrorBoundaryApi, Q.ReactPropsMixin, Q.DomPropsMixin, Q.SvgPropsMixin, Q.UbiquitousDomPropsMixin, B.GeneratedClass, S.PropsMapViewMixin, S.StateMapViewMixin, S.MapViewMixin, S.PropDescriptor, S.PropsMeta, S._AccessorMetaCollection, Z.UiStatefulMixin2, A.Component2Bridge, B.ComponentTypeMeta, Z.DisposableManagerProxy, M.NotSpecified, X.$ConnectPropsMixin, V.ReactComponentFactoryProxy, X.ConnectPropsMixin, S.CssClassPropsMixin, M.Context2, G.DartValueWrapper0, M.Context0, O.Style, X.ParsedPath, X.PathException, M.Context1, E.ParserException, G.Parser, L.Token, V.GrammarDefinition, Z.CharacterPredicate, U.LookupCharPredicate, G.RangeCharPredicate, Z.WhitespaceCharPredicate, L.Browser, G._HtmlNavigator, N.OperatingSystem, U.CipherParameters, G.BaseBlockCipher, T.BaseDigest, N.BaseKeyDerivator, O.BaseMac, G.Register64, V.NotSpecified0, A.JsBackedMapComponentFactoryMixin, K.Ref, K.ComponentStatics2, M.Context, Z._NsmEmulatedFunctionWithNameProperty, F.DartValueWrapper, X.Store, B.TypedReducer, U.DesignChangingAction, U.UndoableAction, U._SkipUndo_Object_BuiltJsonSerializable, U._Undo_Object_BuiltJsonSerializable, U._Redo_Object_BuiltJsonSerializable, U._UndoRedoClear_Object_BuiltJsonSerializable, U._BatchAction_Object_BuiltJsonSerializable, U._ThrottledActionFast_Object_BuiltJsonSerializable, U._ThrottledActionNonFast_Object_BuiltJsonSerializable, U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, U._ResetLocalStorage_Object_BuiltJsonSerializable, U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, U._EditModeToggle_Object_BuiltJsonSerializable, U._EditModesSet_Object_BuiltJsonSerializable, U._SelectModeToggle_Object_BuiltJsonSerializable, U._SelectModesAdd_Object_BuiltJsonSerializable, U._SelectModesSet_Object_BuiltJsonSerializable, U._StrandNameSet_Object_BuiltJsonSerializable, U._StrandLabelSet_Object_BuiltJsonSerializable, U._SubstrandNameSet_Object_BuiltJsonSerializable, U._SubstrandLabelSet_Object_BuiltJsonSerializable, U._SetAppUIStateStorable_Object_BuiltJsonSerializable, U._ShowDNASet_Object_BuiltJsonSerializable, U._ShowDomainNamesSet_Object_BuiltJsonSerializable, U._ShowStrandNamesSet_Object_BuiltJsonSerializable, U._ShowStrandLabelsSet_Object_BuiltJsonSerializable, U._ShowDomainLabelsSet_Object_BuiltJsonSerializable, U._ShowModificationsSet_Object_BuiltJsonSerializable, U._DomainNameFontSizeSet_Object_BuiltJsonSerializable, U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, U._StrandNameFontSizeSet_Object_BuiltJsonSerializable, U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, U._ModificationFontSizeSet_Object_BuiltJsonSerializable, U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, U._SetModificationDisplayConnector_Object_BuiltJsonSerializable, U._ShowMismatchesSet_Object_BuiltJsonSerializable, U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, U._OxviewShowSet_Object_BuiltJsonSerializable, U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, U._InvertYSet_Object_BuiltJsonSerializable, U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, U._LoadingDialogShow_Object_BuiltJsonSerializable, U._LoadingDialogHide_Object_BuiltJsonSerializable, U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, U._SaveDNAFile_Object_BuiltJsonSerializable, U._LoadDNAFile_Object_BuiltJsonSerializable, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, U._NewDesignSet_Object_BuiltJsonSerializable, U._ExportCadnanoFile_Object_BuiltJsonSerializable, U._ExportCodenanoFile_Object_BuiltJsonSerializable, U._ShowMouseoverDataSet_Object_BuiltJsonSerializable, U._MouseoverDataClear_Object_BuiltJsonSerializable, U._MouseoverDataUpdate_Object_BuiltJsonSerializable, U._HelixRollSet_Object_BuiltJsonSerializable, U._HelixRollSetAtOther_Object_BuiltJsonSerializable, U._RelaxHelixRolls_Object_BuiltJsonSerializable, U._ErrorMessageSet_Object_BuiltJsonSerializable, U._SelectionBoxCreate_Object_BuiltJsonSerializable, U._SelectionBoxSizeChange_Object_BuiltJsonSerializable, U._SelectionBoxRemove_Object_BuiltJsonSerializable, U._SelectionRopeCreate_Object_BuiltJsonSerializable, U._SelectionRopeMouseMove_Object_BuiltJsonSerializable, U._SelectionRopeAddPoint_Object_BuiltJsonSerializable, U._SelectionRopeRemove_Object_BuiltJsonSerializable, U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, U._MouseGridPositionSideClear_Object_BuiltJsonSerializable, U._MousePositionSideUpdate_Object_BuiltJsonSerializable, U._MousePositionSideClear_Object_BuiltJsonSerializable, U._GeometrySet_Object_BuiltJsonSerializable, U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, U._Select_Object_BuiltJsonSerializable, U._SelectionsClear_Object_BuiltJsonSerializable, U._SelectionsAdjustMainView_Object_BuiltJsonSerializable, U._SelectOrToggleItems_Object_BuiltJsonSerializable, U._SelectAll_Object_BuiltJsonSerializable, U._SelectAllSelectable_Object_BuiltJsonSerializable, U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable, U._DeleteAllSelected_Object_BuiltJsonSerializable, U._HelixAdd_Object_BuiltJsonSerializable, U._HelixRemove_Object_BuiltJsonSerializable, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable, U._HelixSelect_Object_BuiltJsonSerializable, U._HelixSelectionsClear_Object_BuiltJsonSerializable, U._HelixSelectionsAdjust_Object_BuiltJsonSerializable, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTicksChange_Object_BuiltJsonSerializable, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, U._HelixIdxsChange_Object_BuiltJsonSerializable, U._HelixOffsetChange_Object_BuiltJsonSerializable, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable, U._ShowMouseoverRectSet_Object_BuiltJsonSerializable, U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, U._ExportDNA_Object_BuiltJsonSerializable, U._ExportCanDoDNA_Object_BuiltJsonSerializable, U.ExportSvgType, U._ExportSvg_Object_BuiltJsonSerializable, U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, U._ExtensionAdd_Object_BuiltJsonSerializable, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, U._LoopoutLengthChange_Object_BuiltJsonSerializable, U._LoopoutsLengthChange_Object_BuiltJsonSerializable, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, U._Nick_Object_BuiltJsonSerializable, U._Ligate_Object_BuiltJsonSerializable, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable, U._MoveLinker_Object_BuiltJsonSerializable, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, U._StrandsReflect_Object_BuiltJsonSerializable, U._ReplaceStrands_Object_BuiltJsonSerializable, U._StrandCreateStart_Object_BuiltJsonSerializable, U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, U._StrandCreateStop_Object_BuiltJsonSerializable, U._StrandCreateCommit_Object_BuiltJsonSerializable, U._PotentialCrossoverCreate_Object_BuiltJsonSerializable, U._PotentialCrossoverMove_Object_BuiltJsonSerializable, U._PotentialCrossoverRemove_Object_BuiltJsonSerializable, U._ManualPasteInitiate_Object_BuiltJsonSerializable, U._AutoPasteInitiate_Object_BuiltJsonSerializable, U._CopySelectedStrands_Object_BuiltJsonSerializable, U._StrandsMoveStart_Object_BuiltJsonSerializable, U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, U._StrandsMoveStop_Object_BuiltJsonSerializable, U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, U._StrandsMoveCommit_Object_BuiltJsonSerializable, U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, U._DomainsMoveStop_Object_BuiltJsonSerializable, U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, U._DomainsMoveCommit_Object_BuiltJsonSerializable, U._DNAEndsMoveStart_Object_BuiltJsonSerializable, U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, U._DNAEndsMoveStop_Object_BuiltJsonSerializable, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable, U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, U._HelixGroupMoveStart_Object_BuiltJsonSerializable, U._HelixGroupMoveCreate_Object_BuiltJsonSerializable, U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, U._HelixGroupMoveStop_Object_BuiltJsonSerializable, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable, U._AssignDNA_Object_BuiltJsonSerializable, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, U._RemoveDNA_Object_BuiltJsonSerializable, U._InsertionAdd_Object_BuiltJsonSerializable, U._InsertionLengthChange_Object_BuiltJsonSerializable, U._InsertionsLengthChange_Object_BuiltJsonSerializable, U._DeletionAdd_Object_BuiltJsonSerializable, U._InsertionRemove_Object_BuiltJsonSerializable, U._DeletionRemove_Object_BuiltJsonSerializable, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, U._VendorFieldsRemove_Object_BuiltJsonSerializable, U._ModificationAdd_Object_BuiltJsonSerializable, U._ModificationRemove_Object_BuiltJsonSerializable, U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, U._ModificationEdit_Object_BuiltJsonSerializable, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable, U._ModificationsInternalEdit_Object_BuiltJsonSerializable, U._GridChange_Object_BuiltJsonSerializable, U._GroupDisplayedChange_Object_BuiltJsonSerializable, U._GroupAdd_Object_BuiltJsonSerializable, U._GroupRemove_Object_BuiltJsonSerializable, U._GroupChange_Object_BuiltJsonSerializable, U._MoveHelicesToGroup_Object_BuiltJsonSerializable, U._DialogShow_Object_BuiltJsonSerializable, U._DialogHide_Object_BuiltJsonSerializable, U._ContextMenuShow_Object_BuiltJsonSerializable, U._ContextMenuHide_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, U._ScaffoldSet_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, U._ExampleDesignsLoad_Object_BuiltJsonSerializable, U._BasePairTypeSet_Object_BuiltJsonSerializable, U._HelixPositionSet_Object_BuiltJsonSerializable, U._HelixGridPositionSet_Object_BuiltJsonSerializable, U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable, U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, U._AutofitSet_Object_BuiltJsonSerializable, U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, U._ShowEditMenuToggle_Object_BuiltJsonSerializable, U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, U._ShowAxisArrowsSet_Object_BuiltJsonSerializable, U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, U._ShowBasePairLinesSet_Object_BuiltJsonSerializable, U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, U._ShowSliceBarSet_Object_BuiltJsonSerializable, U._SliceBarOffsetSet_Object_BuiltJsonSerializable, U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, U._SliceBarMoveStart_Object_BuiltJsonSerializable, U._SliceBarMoveStop_Object_BuiltJsonSerializable, U._Autostaple_Object_BuiltJsonSerializable, U._Autobreak_Object_BuiltJsonSerializable, U._ZoomSpeedSet_Object_BuiltJsonSerializable, U._OxdnaExport_Object_BuiltJsonSerializable, U._OxviewExport_Object_BuiltJsonSerializable, U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, U._$UndoSerializer, U._$RedoSerializer, U._$UndoRedoClearSerializer, U._$BatchActionSerializer, U._$ThrottledActionFastSerializer, U._$ThrottledActionNonFastSerializer, U._$LocalStorageDesignChoiceSetSerializer, U._$ResetLocalStorageSerializer, U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer, U._$EditModeToggleSerializer, U._$EditModesSetSerializer, U._$SelectModeToggleSerializer, U._$SelectModesAddSerializer, U._$SelectModesSetSerializer, U._$StrandNameSetSerializer, U._$StrandLabelSetSerializer, U._$SubstrandNameSetSerializer, U._$SubstrandLabelSetSerializer, U._$SetAppUIStateStorableSerializer, U._$ShowDNASetSerializer, U._$ShowDomainNamesSetSerializer, U._$ShowStrandNamesSetSerializer, U._$ShowStrandLabelsSetSerializer, U._$ShowDomainLabelsSetSerializer, U._$ShowModificationsSetSerializer, U._$DomainNameFontSizeSetSerializer, U._$DomainLabelFontSizeSetSerializer, U._$StrandNameFontSizeSetSerializer, U._$StrandLabelFontSizeSetSerializer, U._$ModificationFontSizeSetSerializer, U._$MajorTickOffsetFontSizeSetSerializer, U._$MajorTickWidthFontSizeSetSerializer, U._$SetModificationDisplayConnectorSerializer, U._$ShowMismatchesSetSerializer, U._$ShowDomainNameMismatchesSetSerializer, U._$ShowUnpairedInsertionDeletionsSetSerializer, U._$OxviewShowSetSerializer, U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer, U._$DisplayMajorTicksOffsetsSetSerializer, U._$SetDisplayMajorTickWidthsAllHelicesSerializer, U._$SetDisplayMajorTickWidthsSerializer, U._$SetOnlyDisplaySelectedHelicesSerializer, U._$InvertYSetSerializer, U._$DynamicHelixUpdateSetSerializer, U._$WarnOnExitIfUnsavedSetSerializer, U._$LoadingDialogShowSerializer, U._$LoadingDialogHideSerializer, U._$CopySelectedStandsToClipboardImageSerializer, U._$SaveDNAFileSerializer, U._$LoadDNAFileSerializer, U._$PrepareToLoadDNAFileSerializer, U._$NewDesignSetSerializer, U._$ExportCadnanoFileSerializer, U._$ExportCodenanoFileSerializer, U._$ShowMouseoverDataSetSerializer, U._$MouseoverDataClearSerializer, U._$MouseoverDataUpdateSerializer, U._$HelixRollSetSerializer, U._$HelixRollSetAtOtherSerializer, U._$RelaxHelixRollsSerializer, U._$ErrorMessageSetSerializer, U._$SelectionBoxCreateSerializer, U._$SelectionBoxSizeChangeSerializer, U._$SelectionBoxRemoveSerializer, U._$SelectionRopeCreateSerializer, U._$SelectionRopeMouseMoveSerializer, U._$SelectionRopeAddPointSerializer, U._$SelectionRopeRemoveSerializer, U._$MouseGridPositionSideUpdateSerializer, U._$MouseGridPositionSideClearSerializer, U._$MousePositionSideUpdateSerializer, U._$MousePositionSideClearSerializer, U._$GeometrySetSerializer, U._$SelectionBoxIntersectionRuleSetSerializer, U._$SelectSerializer, U._$SelectionsClearSerializer, U._$SelectionsAdjustMainViewSerializer, U._$SelectOrToggleItemsSerializer, U._$SelectAllSerializer, U._$SelectAllSelectableSerializer, U._$SelectAllWithSameAsSelectedSerializer, U._$DeleteAllSelectedSerializer, U._$HelixAddSerializer, U._$HelixRemoveSerializer, U._$HelixRemoveAllSelectedSerializer, U._$HelixSelectSerializer, U._$HelixSelectionsClearSerializer, U._$HelixSelectionsAdjustSerializer, U._$HelixMajorTickDistanceChangeSerializer, U._$HelixMajorTickDistanceChangeAllSerializer, U._$HelixMajorTickStartChangeSerializer, U._$HelixMajorTickStartChangeAllSerializer, U._$HelixMajorTicksChangeSerializer, U._$HelixMajorTicksChangeAllSerializer, U._$HelixMajorTickPeriodicDistancesChangeSerializer, U._$HelixMajorTickPeriodicDistancesChangeAllSerializer, U._$HelixIdxsChangeSerializer, U._$HelixOffsetChangeSerializer, U._$HelixMinOffsetSetByDomainsSerializer, U._$HelixMaxOffsetSetByDomainsSerializer, U._$HelixMinOffsetSetByDomainsAllSerializer, U._$HelixMaxOffsetSetByDomainsAllSerializer, U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer, U._$HelixOffsetChangeAllSerializer, U._$ShowMouseoverRectSetSerializer, U._$ShowMouseoverRectToggleSerializer, U._$ExportDNASerializer, U._$ExportSvgSerializer, U._$ExportSvgTextSeparatelySetSerializer, U._$ExtensionDisplayLengthAngleSetSerializer, U._$ExtensionAddSerializer, U._$ExtensionNumBasesChangeSerializer, U._$ExtensionsNumBasesChangeSerializer, U._$LoopoutLengthChangeSerializer, U._$LoopoutsLengthChangeSerializer, U._$ConvertCrossoverToLoopoutSerializer, U._$ConvertCrossoversToLoopoutsSerializer, U._$NickSerializer, U._$LigateSerializer, U._$JoinStrandsByCrossoverSerializer, U._$MoveLinkerSerializer, U._$JoinStrandsByMultipleCrossoversSerializer, U._$StrandsReflectSerializer, U._$ReplaceStrandsSerializer, U._$StrandCreateStartSerializer, U._$StrandCreateAdjustOffsetSerializer, U._$StrandCreateStopSerializer, U._$StrandCreateCommitSerializer, U._$PotentialCrossoverCreateSerializer, U._$PotentialCrossoverMoveSerializer, U._$PotentialCrossoverRemoveSerializer, U._$ManualPasteInitiateSerializer, U._$AutoPasteInitiateSerializer, U._$CopySelectedStrandsSerializer, U._$StrandsMoveStartSerializer, U._$StrandsMoveStartSelectedStrandsSerializer, U._$StrandsMoveStopSerializer, U._$StrandsMoveAdjustAddressSerializer, U._$StrandsMoveCommitSerializer, U._$DomainsMoveStartSelectedDomainsSerializer, U._$DomainsMoveStopSerializer, U._$DomainsMoveAdjustAddressSerializer, U._$DomainsMoveCommitSerializer, U._$DNAEndsMoveStartSerializer, U._$DNAEndsMoveSetSelectedEndsSerializer, U._$DNAEndsMoveAdjustOffsetSerializer, U._$DNAEndsMoveStopSerializer, U._$DNAEndsMoveCommitSerializer, U._$DNAExtensionsMoveStartSerializer, U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer, U._$DNAExtensionsMoveAdjustPositionSerializer, U._$DNAExtensionsMoveStopSerializer, U._$DNAExtensionsMoveCommitSerializer, U._$HelixGroupMoveStartSerializer, U._$HelixGroupMoveCreateSerializer, U._$HelixGroupMoveAdjustTranslationSerializer, U._$HelixGroupMoveStopSerializer, U._$HelixGroupMoveCommitSerializer, U._$AssignDNASerializer, U._$AssignDNAComplementFromBoundStrandsSerializer, U._$AssignDomainNameComplementFromBoundStrandsSerializer, U._$AssignDomainNameComplementFromBoundDomainsSerializer, U._$RemoveDNASerializer, U._$InsertionAddSerializer, U._$InsertionLengthChangeSerializer, U._$InsertionsLengthChangeSerializer, U._$DeletionAddSerializer, U._$InsertionRemoveSerializer, U._$DeletionRemoveSerializer, U._$ScalePurificationVendorFieldsAssignSerializer, U._$PlateWellVendorFieldsAssignSerializer, U._$PlateWellVendorFieldsRemoveSerializer, U._$VendorFieldsRemoveSerializer, U._$ModificationAddSerializer, U._$ModificationRemoveSerializer, U._$ModificationConnectorLengthSetSerializer, U._$ModificationEditSerializer, U._$Modifications5PrimeEditSerializer, U._$Modifications3PrimeEditSerializer, U._$ModificationsInternalEditSerializer, U._$GridChangeSerializer, U._$GroupDisplayedChangeSerializer, U._$GroupAddSerializer, U._$GroupRemoveSerializer, U._$GroupChangeSerializer, U._$MoveHelicesToGroupSerializer, U._$DialogShowSerializer, U._$DialogHideSerializer, U._$ContextMenuShowSerializer, U._$ContextMenuHideSerializer, U._$StrandOrSubstrandColorPickerShowSerializer, U._$StrandOrSubstrandColorPickerHideSerializer, U._$ScaffoldSetSerializer, U._$StrandOrSubstrandColorSetSerializer, U._$StrandPasteKeepColorSetSerializer, U._$ExampleDesignsLoadSerializer, U._$BasePairTypeSetSerializer, U._$HelixPositionSetSerializer, U._$HelixGridPositionSetSerializer, U._$HelicesPositionsSetBasedOnCrossoversSerializer, U._$InlineInsertionsDeletionsSerializer, U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer, U._$AutofitSetSerializer, U._$ShowHelixCirclesMainViewSetSerializer, U._$ShowHelixComponentsMainViewSetSerializer, U._$ShowEditMenuToggleSerializer, U._$ShowGridCoordinatesSideViewSetSerializer, U._$ShowAxisArrowsSetSerializer, U._$ShowLoopoutExtensionLengthSetSerializer, U._$LoadDnaSequenceImageUriSerializer, U._$SetIsZoomAboveThresholdSerializer, U._$SetExportSvgActionDelayedForPngCacheSerializer, U._$ShowBasePairLinesSetSerializer, U._$ShowBasePairLinesWithMismatchesSetSerializer, U._$ShowSliceBarSetSerializer, U._$SliceBarOffsetSetSerializer, U._$DisablePngCachingDnaSequencesSetSerializer, U._$RetainStrandColorOnSelectionSetSerializer, U._$DisplayReverseDNARightSideUpSetSerializer, U._$SliceBarMoveStartSerializer, U._$SliceBarMoveStopSerializer, U._$AutostapleSerializer, U._$AutobreakSerializer, U._$ZoomSpeedSetSerializer, U._$OxdnaExportSerializer, U._$OxviewExportSerializer, U._$OxExportOnlySelectedStrandsSetSerializer, U.SkipUndoBuilder, U.UndoBuilder, U.RedoBuilder, U.BatchActionBuilder, U.ThrottledActionFastBuilder, U.ThrottledActionNonFastBuilder, U.LocalStorageDesignChoiceSetBuilder, U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder, U.EditModeToggleBuilder, U.EditModesSetBuilder, U.SelectModeToggleBuilder, U.SelectModesAddBuilder, U.SelectModesSetBuilder, U.StrandNameSetBuilder, U.StrandLabelSetBuilder, U.SubstrandNameSetBuilder, U.SubstrandLabelSetBuilder, U.SetAppUIStateStorableBuilder, U.ShowDNASetBuilder, U.ShowDomainNamesSetBuilder, U.ShowStrandNamesSetBuilder, U.ShowStrandLabelsSetBuilder, U.ShowDomainLabelsSetBuilder, U.ShowModificationsSetBuilder, U.DomainNameFontSizeSetBuilder, U.DomainLabelFontSizeSetBuilder, U.StrandNameFontSizeSetBuilder, U.StrandLabelFontSizeSetBuilder, U.ModificationFontSizeSetBuilder, U.MajorTickOffsetFontSizeSetBuilder, U.MajorTickWidthFontSizeSetBuilder, U.SetModificationDisplayConnectorBuilder, U.ShowMismatchesSetBuilder, U.ShowDomainNameMismatchesSetBuilder, U.ShowUnpairedInsertionDeletionsSetBuilder, U.OxviewShowSetBuilder, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder, U.DisplayMajorTicksOffsetsSetBuilder, U.SetDisplayMajorTickWidthsAllHelicesBuilder, U.SetDisplayMajorTickWidthsBuilder, U.SetOnlyDisplaySelectedHelicesBuilder, U.InvertYSetBuilder, U.DynamicHelixUpdateSetBuilder, U.WarnOnExitIfUnsavedSetBuilder, U.CopySelectedStandsToClipboardImageBuilder, U.SaveDNAFileBuilder, U.LoadDNAFileBuilder, U.PrepareToLoadDNAFileBuilder, U.NewDesignSetBuilder, U.ExportCadnanoFileBuilder, U.ShowMouseoverDataSetBuilder, U.MouseoverDataClearBuilder, U.MouseoverDataUpdateBuilder, U.HelixRollSetBuilder, U.HelixRollSetAtOtherBuilder, U.RelaxHelixRollsBuilder, U.ErrorMessageSetBuilder, U.SelectionBoxCreateBuilder, U.SelectionBoxSizeChangeBuilder, U.SelectionBoxRemoveBuilder, U.SelectionRopeCreateBuilder, U.SelectionRopeMouseMoveBuilder, U.SelectionRopeAddPointBuilder, U.MouseGridPositionSideUpdateBuilder, U.MouseGridPositionSideClearBuilder, U.MousePositionSideUpdateBuilder, U.MousePositionSideClearBuilder, U.GeometrySetBuilder, U.SelectionBoxIntersectionRuleSetBuilder, U.SelectBuilder, U.SelectionsClearBuilder, U.SelectionsAdjustMainViewBuilder, U.SelectOrToggleItemsBuilder, U.SelectAllBuilder, U.SelectAllSelectableBuilder, U.SelectAllWithSameAsSelectedBuilder, U.DeleteAllSelectedBuilder, U.HelixAddBuilder, U.HelixRemoveBuilder, U.HelixRemoveAllSelectedBuilder, U.HelixSelectBuilder, U.HelixSelectionsClearBuilder, U.HelixSelectionsAdjustBuilder, U.HelixMajorTickDistanceChangeBuilder, U.HelixMajorTickDistanceChangeAllBuilder, U.HelixMajorTickStartChangeBuilder, U.HelixMajorTickStartChangeAllBuilder, U.HelixMajorTicksChangeBuilder, U.HelixMajorTicksChangeAllBuilder, U.HelixMajorTickPeriodicDistancesChangeBuilder, U.HelixMajorTickPeriodicDistancesChangeAllBuilder, U.HelixIdxsChangeBuilder, U.HelixOffsetChangeBuilder, U.HelixMinOffsetSetByDomainsBuilder, U.HelixMaxOffsetSetByDomainsBuilder, U.HelixMinOffsetSetByDomainsAllBuilder, U.HelixMaxOffsetSetByDomainsAllBuilder, U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder, U.HelixOffsetChangeAllBuilder, U.ShowMouseoverRectSetBuilder, U.ExportDNABuilder, U.ExportCanDoDNABuilder, U.ExportSvgBuilder, U.ExportSvgTextSeparatelySetBuilder, U.ExtensionDisplayLengthAngleSetBuilder, U.ExtensionAddBuilder, U.ExtensionNumBasesChangeBuilder, U.ExtensionsNumBasesChangeBuilder, U.LoopoutLengthChangeBuilder, U.LoopoutsLengthChangeBuilder, U.ConvertCrossoverToLoopoutBuilder, U.ConvertCrossoversToLoopoutsBuilder, U.NickBuilder, U.LigateBuilder, U.JoinStrandsByCrossoverBuilder, U.MoveLinkerBuilder, U.JoinStrandsByMultipleCrossoversBuilder, U.StrandsReflectBuilder, U.ReplaceStrandsBuilder, U.StrandCreateStartBuilder, U.StrandCreateAdjustOffsetBuilder, U.StrandCreateStopBuilder, U.StrandCreateCommitBuilder, U.PotentialCrossoverCreateBuilder, U.PotentialCrossoverMoveBuilder, U.PotentialCrossoverRemoveBuilder, U.ManualPasteInitiateBuilder, U.AutoPasteInitiateBuilder, U.CopySelectedStrandsBuilder, U.StrandsMoveStartBuilder, U.StrandsMoveStartSelectedStrandsBuilder, U.StrandsMoveStopBuilder, U.StrandsMoveAdjustAddressBuilder, U.StrandsMoveCommitBuilder, U.DomainsMoveStartSelectedDomainsBuilder, U.DomainsMoveStopBuilder, U.DomainsMoveAdjustAddressBuilder, U.DomainsMoveCommitBuilder, U.DNAEndsMoveStartBuilder, U.DNAEndsMoveSetSelectedEndsBuilder, U.DNAEndsMoveAdjustOffsetBuilder, U.DNAEndsMoveCommitBuilder, U.DNAExtensionsMoveStartBuilder, U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder, U.DNAExtensionsMoveAdjustPositionBuilder, U.DNAExtensionsMoveCommitBuilder, U.HelixGroupMoveStartBuilder, U.HelixGroupMoveCreateBuilder, U.HelixGroupMoveAdjustTranslationBuilder, U.HelixGroupMoveStopBuilder, U.HelixGroupMoveCommitBuilder, U.AssignDNABuilder, U.AssignDNAComplementFromBoundStrandsBuilder, U.AssignDomainNameComplementFromBoundStrandsBuilder, U.AssignDomainNameComplementFromBoundDomainsBuilder, U.RemoveDNABuilder, U.InsertionAddBuilder, U.InsertionLengthChangeBuilder, U.InsertionsLengthChangeBuilder, U.DeletionAddBuilder, U.InsertionRemoveBuilder, U.DeletionRemoveBuilder, U.ScalePurificationVendorFieldsAssignBuilder, U.PlateWellVendorFieldsAssignBuilder, U.PlateWellVendorFieldsRemoveBuilder, U.VendorFieldsRemoveBuilder, U.ModificationAddBuilder, U.ModificationRemoveBuilder, U.ModificationConnectorLengthSetBuilder, U.ModificationEditBuilder, U.Modifications5PrimeEditBuilder, U.Modifications3PrimeEditBuilder, U.ModificationsInternalEditBuilder, U.GridChangeBuilder, U.GroupDisplayedChangeBuilder, U.GroupAddBuilder, U.GroupRemoveBuilder, U.GroupChangeBuilder, U.MoveHelicesToGroupBuilder, U.DialogShowBuilder, U.DialogHideBuilder, U.ContextMenuShowBuilder, U.ContextMenuHideBuilder, U.StrandOrSubstrandColorPickerShowBuilder, U.StrandOrSubstrandColorPickerHideBuilder, U.ScaffoldSetBuilder, U.StrandOrSubstrandColorSetBuilder, U.StrandPasteKeepColorSetBuilder, U.ExampleDesignsLoadBuilder, U.BasePairTypeSetBuilder, U.HelixPositionSetBuilder, U.HelixGridPositionSetBuilder, U.HelicesPositionsSetBasedOnCrossoversBuilder, U.InlineInsertionsDeletionsBuilder, U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder, U.AutofitSetBuilder, U.ShowHelixCirclesMainViewSetBuilder, U.ShowHelixComponentsMainViewSetBuilder, U.ShowGridCoordinatesSideViewSetBuilder, U.ShowAxisArrowsSetBuilder, U.ShowLoopoutExtensionLengthSetBuilder, U.LoadDnaSequenceImageUriBuilder, U.SetIsZoomAboveThresholdBuilder, U.SetExportSvgActionDelayedForPngCacheBuilder, U.ShowBasePairLinesSetBuilder, U.ShowBasePairLinesWithMismatchesSetBuilder, U.ShowSliceBarSetBuilder, U.SliceBarOffsetSetBuilder, U.DisablePngCachingDnaSequencesSetBuilder, U.RetainStrandColorOnSelectionSetBuilder, U.DisplayReverseDNARightSideUpSetBuilder, U.SliceBarMoveStartBuilder, U.SliceBarMoveStopBuilder, U.AutostapleBuilder, U.AutobreakBuilder, U.ZoomSpeedSetBuilder, U.OxdnaExportBuilder, U.OxviewExportBuilder, U.OxExportOnlySelectedStrandsSetBuilder, G.App, A.strand_bounds_status, F._$DNAFileTypeSerializer, E._$DNASequencePredefinedSerializer, K.JSONSerializable, K.NoIndent, K.Replacer, B.RollXY, N.OxdnaVector, N.OxdnaNucleotide, N.OxdnaStrand, N.OxdnaSystem, Q.Box, E.InsertionDeletionRecord, X.TypedGlobalReducer, K.BuiltJsonSerializable, K.PointSerializer, K.ColorSerializer, Z._Address_Object_BuiltJsonSerializable, Z._AddressDifference_Object_BuiltJsonSerializable, Z._$AddressSerializer, Z._$AddressDifferenceSerializer, Z.AddressBuilder, Z.AddressDifferenceBuilder, T.AppState, T.AppStateBuilder, Q._AppUIState_Object_BuiltJsonSerializable, Q._$AppUIStateSerializer, Q.AppUIStateBuilder, B._AppUIStateStorables_Object_BuiltJsonSerializable, B._$AppUIStateStorablesSerializer, B.AppUIStateStorablesBuilder, L._$BasePairDisplayTypeSerializer, T.BrowserClipboard, B._ContextMenu_Object_BuiltJsonSerializable, B._ContextMenuItem_Object_BuiltJsonSerializable, B._$ContextMenuSerializer, B._$ContextMenuItemSerializer, B.ContextMenuBuilder, B.ContextMenuItemBuilder, B._CopyInfo_Object_BuiltJsonSerializable, B._$CopyInfoSerializer, B.CopyInfoBuilder, T._Crossover_Object_SelectableMixin, T._$CrossoverSerializer, T.CrossoverBuilder, N._Design_Object_UnusedFields, N.Mismatch, N.IllegalDesignError, N.IllegalCadnanoDesignError, N.HelixPitchYaw, N.DesignBuilder, V._DesignSideRotationParams_Object_BuiltJsonSerializable, V._DesignSideRotationData_Object_BuiltJsonSerializable, V._$DesignSideRotationParamsSerializer, V._$DesignSideRotationDataSerializer, V.DesignSideRotationParamsBuilder, V.DesignSideRotationDataBuilder, E._Dialog_Object_BuiltJsonSerializable, E._DialogInteger_Object_BuiltJsonSerializable, E._DialogFloat_Object_BuiltJsonSerializable, E._DialogText_Object_BuiltJsonSerializable, E._DialogTextArea_Object_BuiltJsonSerializable, E._DialogCheckbox_Object_BuiltJsonSerializable, E._DialogRadio_Object_BuiltJsonSerializable, E._DialogLink_Object_BuiltJsonSerializable, E._DialogLabel_Object_BuiltJsonSerializable, E._$DialogTypeSerializer, E._$DialogSerializer, E._$DialogIntegerSerializer, E._$DialogFloatSerializer, E._$DialogTextSerializer, E._$DialogTextAreaSerializer, E._$DialogCheckboxSerializer, E._$DialogRadioSerializer, E._$DialogLinkSerializer, E.DialogBuilder, E.DialogIntegerBuilder, E.DialogFloatBuilder, E.DialogTextBuilder, E.DialogTextAreaBuilder, E.DialogCheckboxBuilder, E.DialogRadioBuilder, E.DialogLinkBuilder, E.DialogLabelBuilder, X._DNAAssignOptions_Object_BuiltJsonSerializable, X._$DNAAssignOptionsSerializer, X.DNAAssignOptionsBuilder, Z._DNAEnd_Object_SelectableMixin, Z._$DNAEndSerializer, Z.DNAEndBuilder, B._DNAEndsMove_Object_BuiltJsonSerializable, B._DNAEndMove_Object_BuiltJsonSerializable, B._$DNAEndsMoveSerializer, B._$DNAEndMoveSerializer, B.DNAEndsMoveBuilder, B.DNAEndMoveBuilder, K._DNAExtensionsMove_Object_BuiltJsonSerializable, K._DNAExtensionMove_Object_BuiltJsonSerializable, K._$DNAExtensionsMoveSerializer, K._$DNAExtensionMoveSerializer, K.DNAExtensionsMoveBuilder, K.DNAExtensionMoveBuilder, G._Insertion_Object_BuiltJsonSerializable, G._Domain_Object_SelectableMixin, G._$InsertionSerializer, G._$DomainSerializer, G.InsertionBuilder, G.DomainBuilder, B._DomainNameMismatch_Object_BuiltJsonSerializable, B._$DomainNameMismatchSerializer, B.DomainNameMismatchBuilder, V._DomainsMove_Object_BuiltJsonSerializable, V._$DomainsMoveSerializer, V.DomainsMoveBuilder, M._$EditModeChoiceSerializer, K._ExampleDesigns_Object_BuiltJsonSerializable, K._$ExampleDesignsSerializer, K.ExampleDesignsBuilder, D.ExportDNAException, D.PlateType, D._$ExportDNAFormatSerializer, O._$StrandOrderSerializer, S._Extension_Object_SelectableMixin, S._$ExtensionSerializer, S.ExtensionBuilder, N._Geometry_Object_BuiltJsonSerializable, N._$GeometrySerializer, N.GeometryBuilder, S._$GridSerializer, D._GridPosition_Object_BuiltJsonSerializable, D._$GridPositionSerializer, D.GridPositionBuilder, O._HelixGroup_Object_BuiltJsonSerializable, O._$HelixGroupSerializer, O.HelixGroupBuilder, O._Helix_Object_BuiltJsonSerializable, O._$HelixSerializer, O.HelixBuilder, G._HelixGroupMove_Object_BuiltJsonSerializable, G._$HelixGroupMoveSerializer, G.HelixGroupMoveBuilder, Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable, Y._$LocalStorageDesignOptionSerializer, Y._$LocalStorageDesignChoiceSerializer, Y.LocalStorageDesignChoiceBuilder, G._Loopout_Object_SelectableMixin, G._$LoopoutSerializer, G.LoopoutBuilder, Z._Modification5Prime_Object_BuiltJsonSerializable, Z._Modification3Prime_Object_BuiltJsonSerializable, Z._ModificationInternal_Object_BuiltJsonSerializable, Z._$Modification5PrimeSerializer, Z._$Modification3PrimeSerializer, Z._$ModificationInternalSerializer, Z.Modification5PrimeBuilder, Z.Modification3PrimeBuilder, Z.ModificationInternalBuilder, Y._$ModificationTypeSerializer, K._MouseoverParams_Object_BuiltJsonSerializable, K._MouseoverData_Object_BuiltJsonSerializable, K._$MouseoverParamsSerializer, K._$MouseoverDataSerializer, K.MouseoverParamsBuilder, K.MouseoverDataBuilder, X._Position3D_Object_BuiltJsonSerializable, X._$Position3DSerializer, X.Position3DBuilder, S._PotentialCrossover_Object_BuiltJsonSerializable, S._$PotentialCrossoverSerializer, S.PotentialCrossoverBuilder, Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable, Z._$PotentialVerticalCrossoverSerializer, Z.PotentialVerticalCrossoverBuilder, D._$SelectModeChoiceSerializer, N.SelectModeState, N._$SelectModeStateSerializer, N.SelectModeStateBuilder, E._SelectablesStore_Object_BuiltJsonSerializable, E._SelectableDeletion_Object_SelectableMixin, E._SelectableInsertion_Object_SelectableMixin, E.SelectableModification, E._SelectableModification5Prime_Object_SelectableModification, E._SelectableModification3Prime_Object_SelectableModification, E._SelectableModificationInternal_Object_SelectableModification, E.SelectableMixin, E._$SelectablesStoreSerializer, E._$SelectableDeletionSerializer, E._$SelectableInsertionSerializer, E._$SelectableModification5PrimeSerializer, E._$SelectableModification3PrimeSerializer, E._$SelectableModificationInternalSerializer, E._$SelectableTraitSerializer, E.SelectablesStoreBuilder, E.SelectableDeletionBuilder, E.SelectableInsertionBuilder, E.SelectableModification5PrimeBuilder, E.SelectableModification3PrimeBuilder, E.SelectableModificationInternalBuilder, E._SelectionBox_Object_BuiltJsonSerializable, E._$SelectionBoxSerializer, E.SelectionBoxBuilder, F._SelectionRope_Object_BuiltJsonSerializable, F._Line_Object_BuiltJsonSerializable, F.Orientation, F._$SelectionRopeSerializer, F._$LineSerializer, F.SelectionRopeBuilder, F.LineBuilder, E._Strand_Object_SelectableMixin, E._$StrandSerializer, E.StrandBuilder, U._StrandCreation_Object_BuiltJsonSerializable, U._$StrandCreationSerializer, U.StrandCreationBuilder, U._StrandsMove_Object_BuiltJsonSerializable, U._$StrandsMoveSerializer, U.StrandsMoveBuilder, T._UndoRedo_Object_BuiltJsonSerializable, T._UndoRedoItem_Object_BuiltJsonSerializable, T._$UndoRedoItemSerializer, T.UndoRedoBuilder, T.UndoRedoItemBuilder, U.UnusedFields, T._VendorFields_Object_BuiltJsonSerializable, T._$VendorFieldsSerializer, T.VendorFieldsBuilder, E.ColorCycler, E.Version, E.HexGridCoordinateSystem, E.BlobType, B.End3PrimeProps, B.$End3PrimeProps, A.End5PrimeProps, A.$End5PrimeProps, U.DraggableComponent, U.DesignViewComponent, S.DesignContextMenuProps, S.DesignContextMenuState, S.DesignContextSubmenuProps, S.DesignContextSubmenuState, S.$DesignContextMenuProps, S.$DesignContextSubmenuProps, S.$DesignContextMenuState, S.$DesignContextSubmenuState, S.DesignDialogFormProps, S.DesignDialogFormState, S.$DesignDialogFormProps, S.$DesignDialogFormState, V.DesignFooterProps, V.$DesignFooterProps, Q.DesignLoadingDialogProps, Q.$DesignLoadingDialogProps, V.DesignMainPropsMixin, V.$DesignMainPropsMixin, Q.DesignMainArrowsProps, Q.$DesignMainArrowsProps, Z.DesignMainBasePairLinesProps, Z.$DesignMainBasePairLinesProps, V.DesignMainBasePairRectangleProps, V.$DesignMainBasePairRectangleProps, O.DesignMainDNAMismatchesProps, O.$DesignMainDNAMismatchesProps, U.DesignMainDNASequencePropsMixin, U.$DesignMainDNASequencePropsMixin, M.DesignMainDNASequencesProps, M.$DesignMainDNASequencesProps, T.DesignMainDomainMovingPropsMixin, T.$DesignMainDomainMovingPropsMixin, R.DesignMainDomainNameMismatchesProps, R.$DesignMainDomainNameMismatchesProps, Y.DesignMainDomainsMovingProps, Y.$DesignMainDomainsMovingProps, X.DesignMainErrorBoundaryStateMixin, X.$DesignMainErrorBoundaryStateMixin, V.DesignMainHelicesProps, V.$DesignMainHelicesProps, T.DesignMainHelixProps, T.$DesignMainHelixProps, K.DesignMainLoopoutExtensionLengthPropsMixin, K.$DesignMainLoopoutExtensionLengthPropsMixin, Z.DesignMainLoopoutExtensionLengthsProps, Z.$DesignMainLoopoutExtensionLengthsProps, K.DesignMainPotentialVerticalCrossoverPropsMixin, K.$DesignMainPotentialVerticalCrossoverPropsMixin, S.DesignMainPotentialVerticalCrossoversProps, S.$DesignMainPotentialVerticalCrossoversProps, M.DesignMainSliceBarProps, M.$DesignMainSliceBarProps, M.DesignMainStrandPropsMixin, M.$DesignMainStrandPropsMixin, S.DesignMainStrandAndDomainTextsPropsMixin, S.$DesignMainStrandAndDomainTextsPropsMixin, R.DesignMainStrandCreatingPropsMixin, R.$DesignMainStrandCreatingPropsMixin, Q.DesignMainStrandCrossoverPropsMixin, Q.DesignMainStrandCrossoverState, Q.$DesignMainStrandCrossoverPropsMixin, Q.$DesignMainStrandCrossoverState, A.DesignMainStrandDeletionPropsMixin, A.$DesignMainStrandDeletionPropsMixin, S.DesignMainDNAEndPropsMixin, S.$DesignMainDNAEndPropsMixin, F.EndMovingProps, F.$EndMovingProps, T.ExtensionEndMovingProps, T.$ExtensionEndMovingProps, T.DesignMainDomainPropsMixin, T.$DesignMainDomainPropsMixin, B.DesignMainStrandDomainTextPropsMixin, B.$DesignMainStrandDomainTextPropsMixin, Q.DesignMainExtensionPropsMixin, Q.$DesignMainExtensionPropsMixin, R.DesignMainStrandExtensionTextPropsMixin, R.$DesignMainStrandExtensionTextPropsMixin, A.DesignMainStrandInsertionPropsMixin, A.$DesignMainStrandInsertionPropsMixin, R.DesignMainLoopoutPropsMixin, R.DesignMainLoopoutState, R.$DesignMainLoopoutPropsMixin, R.$DesignMainLoopoutState, S.DesignMainStrandLoopoutTextPropsMixin, S.$DesignMainStrandLoopoutTextPropsMixin, X.DesignMainStrandModificationProps, X.$DesignMainStrandModificationProps, R.DesignMainStrandModificationsPropsMixin, R.$DesignMainStrandModificationsPropsMixin, T.DesignMainStrandMovingPropsMixin, T.$DesignMainStrandMovingPropsMixin, B.DesignMainStrandPathsPropsMixin, B.$DesignMainStrandPathsPropsMixin, E.DesignMainStrandsProps, E.$DesignMainStrandsProps, F.DesignMainStrandsMovingProps, F.$DesignMainStrandsMovingProps, B.DesignMainUnpairedInsertionDeletionsProps, B.$DesignMainUnpairedInsertionDeletionsProps, R.DesignMainWarningStarProps, R.$DesignMainWarningStarProps, U.DesignSideProps, U.$DesignSideProps, S.DesignSideArrowsProps, S.$DesignSideArrowsProps, B.DesignSideHelixProps, B.$DesignSideHelixProps, Y.DesignSidePotentialHelixProps, Y.$DesignSidePotentialHelixProps, O.DesignSideRotationProps, O.$DesignSideRotationProps, E.DesignSideRotationArrowProps, E.$DesignSideRotationArrowProps, Z.EditAndSelectModesProps, Z.$EditAndSelectModesProps, M.EditModeProps, M.$EditModeProps, L.ErrorMessageComponent, O.HelixGroupMovingProps, O.$HelixGroupMovingProps, D.MenuPropsMixin, D.$MenuPropsMixin, Z.MenuBooleanPropsMixin, Z.$MenuBooleanPropsMixin, N.MenuDropdownItemPropsMixin, N.$MenuDropdownItemPropsMixin, M.MenuDropdownRightProps, M.MenuDropdownRightState, M.$MenuDropdownRightProps, M.$MenuDropdownRightState, O.MenuFormFileProps, O.$MenuFormFileProps, M.MenuNumberPropsMixin, M.$MenuNumberPropsMixin, Q.SideMenuPropsMixin, Q.$SideMenuPropsMixin, D.OxviewViewComponent, M.PotentialCrossoverViewProps, M.$PotentialCrossoverViewProps, R.PotentialExtensionsViewProps, R.$PotentialExtensionsViewProps, K.PureComponent, A.RedrawCounterMixin, D.SelectModePropsMixin, D.$SelectModePropsMixin, Y.SelectionBoxViewProps, Y.$SelectionBoxViewProps, A.SelectionRopeViewProps, A.$SelectionRopeViewProps, A.StrandOrSubstrandColorPickerProps, A.StrandOrSubstrandColorPickerState, A.$StrandOrSubstrandColorPickerProps, A.$StrandOrSubstrandColorPickerState, R.TransformByHelixGroupPropsMixin, R.TransformByHelixGroup, R.$TransformByHelixGroupPropsMixin, Q.View, Y.SourceFile, D.SourceLocationMixin, Y.SourceSpanMixin, U.Highlighter, U._Highlight, U._Line, V.SourceLocation, G.SourceSpanException, U.SpreadsheetDecoder, U.SpreadsheetTable, X.StringScanner, S.Tuple2, S.Tuple3, S.Tuple5, L.ManagedDisposer, L._ObservableTimer, L.Disposable, D.DisposableState, S.XmlEntityMapping, Z.XmlAttributesBase, Z.XmlHasAttributes, Y.XmlChildrenBase, Y.XmlHasChildren, X.XmlHasName, E.XmlParentBase, E.XmlHasParent, V.XmlHasText, E.XmlHasVisitor, L.XmlHasWriter, R.XmlHasXml, B._XmlNode_Object_XmlParentBase, D.XmlAttributeType, B.XmlCache, T.XmlException, Q._XmlName_Object_XmlHasVisitor, E.XmlNodeType, B.XmlVisitor, X._XmlWriter_Object_XmlVisitor]); - _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, H.NativeByteBuffer, H.NativeTypedData, W.EventTarget, W.AccessibleNodeList, W.Event, W.Blob, W.BluetoothRemoteGattDescriptor, W.CacheStorage, W.CanvasRenderingContext2D, W.CssStyleValue, W.CssTransformComponent, W.CssRule, W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase, W.StyleSheet, W.DataTransfer, W.DataTransferItemList, W.ReportBody, W.DomError, W.DomException, W.DomImplementation, W.DomPointReadOnly, W._DomRectList_Interceptor_ListMixin, W.DomRectReadOnly, W._DomStringList_Interceptor_ListMixin, W.DomTokenList, W.Entry, W._FileList_Interceptor_ListMixin, W.FontFace, W.Gamepad, W.GamepadButton, W.History, W._HtmlCollection_Interceptor_ListMixin, W.ImageData, W.IntersectionObserverEntry, W.Location, W.MediaError, W.MediaList, W._MidiInputMap_Interceptor_MapMixin, W._MidiOutputMap_Interceptor_MapMixin, W.MimeType, W._MimeTypeArray_Interceptor_ListMixin, W.MutationRecord, W.NavigatorUserMediaError, W._NodeList_Interceptor_ListMixin, W.OverconstrainedError, W.PaymentInstruments, W.Plugin, W._PluginArray_Interceptor_ListMixin, W.PositionError, W.ResizeObserverEntry, W._RtcStatsReport_Interceptor_MapMixin, W.SpeechGrammar, W._SpeechGrammarList_Interceptor_ListMixin, W.SpeechRecognitionResult, W._Storage_Interceptor_MapMixin, W._TextTrackCueList_Interceptor_ListMixin, W.TimeRanges, W.Touch, W._TouchList_Interceptor_ListMixin, W.TrackDefaultList, W.Url, W.VREyeParameters, W.XmlSerializer, W.__CssRuleList_Interceptor_ListMixin, W.__GamepadList_Interceptor_ListMixin, W.__NamedNodeMap_Interceptor_ListMixin, W.__SpeechRecognitionResultList_Interceptor_ListMixin, W.__StyleSheetList_Interceptor_ListMixin, P.Cursor, P.KeyRange, P.ObjectStore, P.Observation, P.Angle, P.Length, P._LengthList_Interceptor_ListMixin, P.Number, P._NumberList_Interceptor_ListMixin, P.Point0, P.PointList, P._StringList_Interceptor_ListMixin, P.Transform, P._TransformList_Interceptor_ListMixin, P.AudioBuffer, P.AudioParam, P._AudioParamMap_Interceptor_MapMixin, P.SqlError, P._SqlResultSetRowList_Interceptor_ListMixin]); - _inheritMany(J.JavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, Y._ReduxDevToolsExtensionConnection, X.JsReactRedux, X.JsReactReduxStore, X.JsConnectOptions, S.NodeCrypto, L.JsMap, L._Object, L._Reflect, K.React, K.JsRef, K.ReactDomServer, K.PropTypes, K.ReactClass, K.ReactClassConfig, K.ReactElementStore, K.ReactElement, K.ReactPortal, K.ReactComponent, K.InteropContextValue, K.ReactContext, K.InteropProps, K.JsError, K.ReactDartInteropStatics, K.JsComponentConfig, K.JsComponentConfig2, K.ReactErrorInfo, Z._PropertyDescriptor, O.JsPropertyDescriptor, O.Promise, K.ReactDOM, Q.SyntheticEvent, Q.NonNativeDataTransfer, E.Pan, Q.ReactBootstrap, Q.ReactColor, A.JSColor]); + _inherit(A.Object, null); + _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A.Stream, A._BufferingStreamSubscription, A._BroadcastStreamController, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.StreamSubscription, A.StreamTransformerBase, A._StreamController, A._AsyncStreamControllerDispatch, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._HashSetIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._SetBase_Object_SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A._Base64Decoder, A.ChunkedConversionSink, A.HtmlEscapeMode, A._JsonStringifier, A._JsonPrettyPrintMixin, A._Utf8Encoder, A._Utf8Decoder, A._BigIntImpl, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.IntegerDivisionByZeroException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A.CssStyleDeclarationBase, A.Events, A.EventStreamProvider, A._Html5NodeValidator, A.ImmutableListMixin, A.NodeValidatorBuilder, A._SimpleNodeValidator, A.FixedSizeListIterator, A._DOMWindowCrossFrame, A._WrappedEvent, A._TrustedHtmlTreeSanitizer, A._SameOriginUriPolicy, A._ValidatingTreeSanitizer, A._StructuredClone, A._AcceptStructuredClone, A.JsObject, A.NullRejectionException, A._JSSecureRandom, A.Point, A._RectangleBase, A._UnmodifiableByteBufferView, A._UnmodifiableByteDataView, A._UnmodifiableListMixin, A.Endian, A.ArchiveFile, A.Bz2BitReader, A.BZip2Decoder, A.FileContent, A.Aes, A.InputStreamBase, A.OutputStreamBase, A.ZipDirectory, A.AesHeader, A.ZipFileHeader, A.ZipDecoder, A._ZipFileData, A._ZipEncoderData, A.ZipEncoder, A.Deflate, A._DeflaterConfig, A._HuffmanTree, A._StaticTree, A.HuffmanTable, A.Inflate, A.CopyOnWriteList, A.CopyOnWriteMap, A.CopyOnWriteSet, A.BuiltList, A.ListBuilder, A.BuiltListMultimap, A.ListMultimapBuilder, A.BuiltMap, A.MapBuilder, A.BuiltSet, A.SetBuilder, A.BuiltSetMultimap, A.SetMultimapBuilder, A.EnumClass, A.IndentingBuiltValueToStringHelper, A.JsonObject, A.FullType, A.BigIntSerializer, A.BoolSerializer, A.BuiltJsonSerializers, A.BuiltJsonSerializersBuilder, A.BuiltListMultimapSerializer, A.BuiltListSerializer, A.BuiltMapSerializer, A.BuiltSetMultimapSerializer, A.BuiltSetSerializer, A.DateTimeSerializer, A.DoubleSerializer, A.DurationSerializer, A.Int64Serializer, A.IntSerializer, A.JsonObjectSerializer, A.NullSerializer, A.NumSerializer, A.RegExpSerializer, A.StringSerializer, A.Uint8ListSerializer, A.UriSerializer, A.StandardJsonPlugin, A.CanonicalizedMap, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._UnorderedEquality, A._MapEntry, A.MapEquality, A.DeepCollectionEquality, A._DelegatingIterableBase, A.Color, A.Draggable, A.DraggableEvent, A._DragInfo, A._EventManager, A.Int64, A.BaseClient, A.BaseRequest, A.BaseResponse, A.ClientException, A.MediaType, A.Level, A.LogRecord, A.Logger, A.ErrorBoundaryProps, A.ErrorBoundaryState, A.Component2, A._UiState_Object_MapViewMixin, A.$ErrorBoundaryProps, A.$ErrorBoundaryState, A.ErrorBoundaryApi, A.ReactPropsMixin, A.DomPropsMixin, A.SvgPropsMixin, A.UbiquitousDomPropsMixin, A.GeneratedClass, A.PropsMapViewMixin, A.StateMapViewMixin, A.MapViewMixin, A.PropDescriptor, A.PropsMeta, A._AccessorMetaCollection, A.UiStatefulMixin2, A.Component2Bridge, A.ComponentTypeMeta, A.DisposableManagerProxy, A.UiFactoryConfig, A.PropsFactory, A.NotSpecified, A.$ConnectPropsMixin, A.ReduxProviderPropsMixin, A.ReactComponentFactoryProxy, A.ConnectPropsMixin, A.$ReduxProviderPropsMixin, A.CssClassPropsMixin, A.Context2, A.DartValueWrapper0, A.Context0, A.Style, A.ParsedPath, A.PathException, A.Context1, A.ParserException, A.Parser, A.Token, A.CharacterPredicate, A.LookupCharPredicate, A.RangeCharPredicate, A.WhitespaceCharPredicate, A.Sequence2, A.Sequence3, A.Sequence4, A.Sequence5, A.Sequence8, A.Browser, A._HtmlNavigator, A.OperatingSystem, A.CipherParameters, A.BaseBlockCipher, A.BaseDigest, A.BaseKeyDerivator, A.BaseMac, A.Register64, A.Version0, A.NotSpecified0, A.JsBackedMapComponentFactoryMixin, A.Ref, A.Context, A.ComponentStatics2, A.DartValueWrapper, A.Store, A.TypedReducer, A.DesignChangingAction, A.UndoableAction, A._SkipUndo_Object_BuiltJsonSerializable, A._Undo_Object_BuiltJsonSerializable, A._Redo_Object_BuiltJsonSerializable, A._UndoRedoClear_Object_BuiltJsonSerializable, A._BatchAction_Object_UndoableAction, A._ThrottledActionFast_Object_BuiltJsonSerializable, A._ThrottledActionNonFast_Object_BuiltJsonSerializable, A._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, A._ResetLocalStorage_Object_BuiltJsonSerializable, A._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, A._EditModeToggle_Object_BuiltJsonSerializable, A._EditModesSet_Object_BuiltJsonSerializable, A._SelectModeToggle_Object_BuiltJsonSerializable, A._SelectModesAdd_Object_BuiltJsonSerializable, A._SelectModesSet_Object_BuiltJsonSerializable, A._StrandNameSet_Object_BuiltJsonSerializable, A._StrandLabelSet_Object_BuiltJsonSerializable, A._SubstrandNameSet_Object_BuiltJsonSerializable, A._SubstrandLabelSet_Object_BuiltJsonSerializable, A._SetAppUIStateStorable_Object_BuiltJsonSerializable, A._ShowDNASet_Object_BuiltJsonSerializable, A._ShowDomainNamesSet_Object_BuiltJsonSerializable, A._ShowStrandNamesSet_Object_BuiltJsonSerializable, A._ShowStrandLabelsSet_Object_BuiltJsonSerializable, A._ShowDomainLabelsSet_Object_BuiltJsonSerializable, A._ShowModificationsSet_Object_BuiltJsonSerializable, A._DomainNameFontSizeSet_Object_BuiltJsonSerializable, A._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, A._StrandNameFontSizeSet_Object_BuiltJsonSerializable, A._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, A._ModificationFontSizeSet_Object_BuiltJsonSerializable, A._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, A._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, A._SetModificationDisplayConnector_Object_BuiltJsonSerializable, A._ShowMismatchesSet_Object_BuiltJsonSerializable, A._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, A._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, A._OxviewShowSet_Object_BuiltJsonSerializable, A._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, A._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, A._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, A._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, A._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, A._InvertYSet_Object_BuiltJsonSerializable, A._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, A._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, A._LoadingDialogShow_Object_BuiltJsonSerializable, A._LoadingDialogHide_Object_BuiltJsonSerializable, A._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, A._SaveDNAFile_Object_BuiltJsonSerializable, A._LoadDNAFile_Object_BuiltJsonSerializable, A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, A._NewDesignSet_Object_BuiltJsonSerializable, A._ExportCadnanoFile_Object_BuiltJsonSerializable, A._ExportCodenanoFile_Object_BuiltJsonSerializable, A._ShowMouseoverDataSet_Object_BuiltJsonSerializable, A._MouseoverDataClear_Object_BuiltJsonSerializable, A._MouseoverDataUpdate_Object_BuiltJsonSerializable, A._HelixRollSet_Object_BuiltJsonSerializable, A._HelixRollSetAtOther_Object_BuiltJsonSerializable, A._RelaxHelixRolls_Object_BuiltJsonSerializable, A._ErrorMessageSet_Object_BuiltJsonSerializable, A._SelectionBoxCreate_Object_BuiltJsonSerializable, A._SelectionBoxSizeChange_Object_BuiltJsonSerializable, A._SelectionBoxRemove_Object_BuiltJsonSerializable, A._SelectionRopeCreate_Object_BuiltJsonSerializable, A._SelectionRopeMouseMove_Object_BuiltJsonSerializable, A._SelectionRopeAddPoint_Object_BuiltJsonSerializable, A._SelectionRopeRemove_Object_BuiltJsonSerializable, A._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, A._MouseGridPositionSideClear_Object_BuiltJsonSerializable, A._MousePositionSideUpdate_Object_BuiltJsonSerializable, A._MousePositionSideClear_Object_BuiltJsonSerializable, A._GeometrySet_Object_BuiltJsonSerializable, A._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, A._Select_Object_BuiltJsonSerializable, A._SelectionsClear_Object_BuiltJsonSerializable, A._SelectionsAdjustMainView_Object_BuiltJsonSerializable, A._SelectOrToggleItems_Object_BuiltJsonSerializable, A._SelectAll_Object_BuiltJsonSerializable, A._SelectAllSelectable_Object_BuiltJsonSerializable, A._SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable, A._DeleteAllSelected_Object_BuiltJsonSerializable, A._HelixAdd_Object_BuiltJsonSerializable, A._HelixRemove_Object_BuiltJsonSerializable, A._HelixRemoveAllSelected_Object_BuiltJsonSerializable, A._HelixSelect_Object_BuiltJsonSerializable, A._HelixSelectionsClear_Object_BuiltJsonSerializable, A._HelixSelectionsAdjust_Object_BuiltJsonSerializable, A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, A._HelixMajorTickStartChange_Object_BuiltJsonSerializable, A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, A._HelixMajorTicksChange_Object_BuiltJsonSerializable, A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, A._HelixIdxsChange_Object_BuiltJsonSerializable, A._HelixOffsetChange_Object_BuiltJsonSerializable, A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, A._HelixOffsetChangeAll_Object_BuiltJsonSerializable, A._ShowMouseoverRectSet_Object_BuiltJsonSerializable, A._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, A._ExportDNA_Object_BuiltJsonSerializable, A._ExportCanDoDNA_Object_BuiltJsonSerializable, A._ExportSvg_Object_BuiltJsonSerializable, A._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, A._ExtensionAdd_Object_BuiltJsonSerializable, A._ExtensionNumBasesChange_Object_BuiltJsonSerializable, A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, A._LoopoutLengthChange_Object_BuiltJsonSerializable, A._LoopoutsLengthChange_Object_BuiltJsonSerializable, A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, A._Nick_Object_BuiltJsonSerializable, A._Ligate_Object_BuiltJsonSerializable, A._JoinStrandsByCrossover_Object_BuiltJsonSerializable, A._MoveLinker_Object_BuiltJsonSerializable, A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, A._StrandsReflect_Object_BuiltJsonSerializable, A._ReplaceStrands_Object_BuiltJsonSerializable, A._StrandCreateStart_Object_BuiltJsonSerializable, A._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, A._StrandCreateStop_Object_BuiltJsonSerializable, A._StrandCreateCommit_Object_BuiltJsonSerializable, A._PotentialCrossoverCreate_Object_BuiltJsonSerializable, A._PotentialCrossoverMove_Object_BuiltJsonSerializable, A._PotentialCrossoverRemove_Object_BuiltJsonSerializable, A._ManualPasteInitiate_Object_BuiltJsonSerializable, A._AutoPasteInitiate_Object_BuiltJsonSerializable, A._CopySelectedStrands_Object_BuiltJsonSerializable, A._StrandsMoveStart_Object_BuiltJsonSerializable, A._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, A._StrandsMoveStop_Object_BuiltJsonSerializable, A._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, A._StrandsMoveCommit_Object_BuiltJsonSerializable, A._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, A._DomainsMoveStop_Object_BuiltJsonSerializable, A._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, A._DomainsMoveCommit_Object_BuiltJsonSerializable, A._DNAEndsMoveStart_Object_BuiltJsonSerializable, A._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, A._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, A._DNAEndsMoveStop_Object_BuiltJsonSerializable, A._DNAEndsMoveCommit_Object_BuiltJsonSerializable, A._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, A._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, A._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, A._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, A._HelixGroupMoveStart_Object_BuiltJsonSerializable, A._HelixGroupMoveCreate_Object_BuiltJsonSerializable, A._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, A._HelixGroupMoveStop_Object_BuiltJsonSerializable, A._HelixGroupMoveCommit_Object_BuiltJsonSerializable, A._AssignDNA_Object_BuiltJsonSerializable, A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, A._RemoveDNA_Object_BuiltJsonSerializable, A._InsertionAdd_Object_BuiltJsonSerializable, A._InsertionLengthChange_Object_BuiltJsonSerializable, A._InsertionsLengthChange_Object_BuiltJsonSerializable, A._DeletionAdd_Object_BuiltJsonSerializable, A._InsertionRemove_Object_BuiltJsonSerializable, A._DeletionRemove_Object_BuiltJsonSerializable, A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, A._VendorFieldsRemove_Object_BuiltJsonSerializable, A._ModificationAdd_Object_BuiltJsonSerializable, A._ModificationRemove_Object_BuiltJsonSerializable, A._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, A._ModificationEdit_Object_BuiltJsonSerializable, A._Modifications5PrimeEdit_Object_BuiltJsonSerializable, A._Modifications3PrimeEdit_Object_BuiltJsonSerializable, A._ModificationsInternalEdit_Object_BuiltJsonSerializable, A._GridChange_Object_BuiltJsonSerializable, A._GroupDisplayedChange_Object_BuiltJsonSerializable, A._GroupAdd_Object_BuiltJsonSerializable, A._GroupRemove_Object_BuiltJsonSerializable, A._GroupChange_Object_BuiltJsonSerializable, A._MoveHelicesToGroup_Object_BuiltJsonSerializable, A._DialogShow_Object_BuiltJsonSerializable, A._DialogHide_Object_BuiltJsonSerializable, A._ContextMenuShow_Object_BuiltJsonSerializable, A._ContextMenuHide_Object_BuiltJsonSerializable, A._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, A._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, A._ScaffoldSet_Object_BuiltJsonSerializable, A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, A._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, A._ExampleDesignsLoad_Object_BuiltJsonSerializable, A._BasePairTypeSet_Object_BuiltJsonSerializable, A._HelixPositionSet_Object_BuiltJsonSerializable, A._HelixGridPositionSet_Object_BuiltJsonSerializable, A._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, A._InlineInsertionsDeletions_Object_BuiltJsonSerializable, A._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, A._AutofitSet_Object_BuiltJsonSerializable, A._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, A._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, A._ShowEditMenuToggle_Object_BuiltJsonSerializable, A._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, A._ShowAxisArrowsSet_Object_BuiltJsonSerializable, A._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, A._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, A._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, A._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, A._ShowBasePairLinesSet_Object_BuiltJsonSerializable, A._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, A._ShowSliceBarSet_Object_BuiltJsonSerializable, A._SliceBarOffsetSet_Object_BuiltJsonSerializable, A._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, A._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, A._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, A._SliceBarMoveStart_Object_BuiltJsonSerializable, A._SliceBarMoveStop_Object_BuiltJsonSerializable, A._Autostaple_Object_BuiltJsonSerializable, A._Autobreak_Object_BuiltJsonSerializable, A._ZoomSpeedSet_Object_BuiltJsonSerializable, A._OxdnaExport_Object_BuiltJsonSerializable, A._OxviewExport_Object_BuiltJsonSerializable, A._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, A._$UndoSerializer, A._$RedoSerializer, A._$UndoRedoClearSerializer, A._$BatchActionSerializer, A._$ThrottledActionFastSerializer, A._$ThrottledActionNonFastSerializer, A._$LocalStorageDesignChoiceSetSerializer, A._$ResetLocalStorageSerializer, A._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer, A._$EditModeToggleSerializer, A._$EditModesSetSerializer, A._$SelectModeToggleSerializer, A._$SelectModesAddSerializer, A._$SelectModesSetSerializer, A._$StrandNameSetSerializer, A._$StrandLabelSetSerializer, A._$SubstrandNameSetSerializer, A._$SubstrandLabelSetSerializer, A._$SetAppUIStateStorableSerializer, A._$ShowDNASetSerializer, A._$ShowDomainNamesSetSerializer, A._$ShowStrandNamesSetSerializer, A._$ShowStrandLabelsSetSerializer, A._$ShowDomainLabelsSetSerializer, A._$ShowModificationsSetSerializer, A._$DomainNameFontSizeSetSerializer, A._$DomainLabelFontSizeSetSerializer, A._$StrandNameFontSizeSetSerializer, A._$StrandLabelFontSizeSetSerializer, A._$ModificationFontSizeSetSerializer, A._$MajorTickOffsetFontSizeSetSerializer, A._$MajorTickWidthFontSizeSetSerializer, A._$SetModificationDisplayConnectorSerializer, A._$ShowMismatchesSetSerializer, A._$ShowDomainNameMismatchesSetSerializer, A._$ShowUnpairedInsertionDeletionsSetSerializer, A._$OxviewShowSetSerializer, A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer, A._$DisplayMajorTicksOffsetsSetSerializer, A._$SetDisplayMajorTickWidthsAllHelicesSerializer, A._$SetDisplayMajorTickWidthsSerializer, A._$SetOnlyDisplaySelectedHelicesSerializer, A._$InvertYSetSerializer, A._$DynamicHelixUpdateSetSerializer, A._$WarnOnExitIfUnsavedSetSerializer, A._$LoadingDialogShowSerializer, A._$LoadingDialogHideSerializer, A._$CopySelectedStandsToClipboardImageSerializer, A._$SaveDNAFileSerializer, A._$LoadDNAFileSerializer, A._$PrepareToLoadDNAFileSerializer, A._$NewDesignSetSerializer, A._$ExportCadnanoFileSerializer, A._$ExportCodenanoFileSerializer, A._$ShowMouseoverDataSetSerializer, A._$MouseoverDataClearSerializer, A._$MouseoverDataUpdateSerializer, A._$HelixRollSetSerializer, A._$HelixRollSetAtOtherSerializer, A._$RelaxHelixRollsSerializer, A._$ErrorMessageSetSerializer, A._$SelectionBoxCreateSerializer, A._$SelectionBoxSizeChangeSerializer, A._$SelectionBoxRemoveSerializer, A._$SelectionRopeCreateSerializer, A._$SelectionRopeMouseMoveSerializer, A._$SelectionRopeAddPointSerializer, A._$SelectionRopeRemoveSerializer, A._$MouseGridPositionSideUpdateSerializer, A._$MouseGridPositionSideClearSerializer, A._$MousePositionSideUpdateSerializer, A._$MousePositionSideClearSerializer, A._$GeometrySetSerializer, A._$SelectionBoxIntersectionRuleSetSerializer, A._$SelectSerializer, A._$SelectionsClearSerializer, A._$SelectionsAdjustMainViewSerializer, A._$SelectOrToggleItemsSerializer, A._$SelectAllSerializer, A._$SelectAllSelectableSerializer, A._$SelectAllStrandsWithSameAsSelectedSerializer, A._$DeleteAllSelectedSerializer, A._$HelixAddSerializer, A._$HelixRemoveSerializer, A._$HelixRemoveAllSelectedSerializer, A._$HelixSelectSerializer, A._$HelixSelectionsClearSerializer, A._$HelixSelectionsAdjustSerializer, A._$HelixMajorTickDistanceChangeSerializer, A._$HelixMajorTickDistanceChangeAllSerializer, A._$HelixMajorTickStartChangeSerializer, A._$HelixMajorTickStartChangeAllSerializer, A._$HelixMajorTicksChangeSerializer, A._$HelixMajorTicksChangeAllSerializer, A._$HelixMajorTickPeriodicDistancesChangeSerializer, A._$HelixMajorTickPeriodicDistancesChangeAllSerializer, A._$HelixIdxsChangeSerializer, A._$HelixOffsetChangeSerializer, A._$HelixMinOffsetSetByDomainsSerializer, A._$HelixMaxOffsetSetByDomainsSerializer, A._$HelixMinOffsetSetByDomainsAllSerializer, A._$HelixMaxOffsetSetByDomainsAllSerializer, A._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer, A._$HelixOffsetChangeAllSerializer, A._$ShowMouseoverRectSetSerializer, A._$ShowMouseoverRectToggleSerializer, A._$ExportDNASerializer, A._$ExportSvgSerializer, A._$ExportSvgTextSeparatelySetSerializer, A._$ExtensionDisplayLengthAngleSetSerializer, A._$ExtensionAddSerializer, A._$ExtensionNumBasesChangeSerializer, A._$ExtensionsNumBasesChangeSerializer, A._$LoopoutLengthChangeSerializer, A._$LoopoutsLengthChangeSerializer, A._$ConvertCrossoverToLoopoutSerializer, A._$ConvertCrossoversToLoopoutsSerializer, A._$NickSerializer, A._$LigateSerializer, A._$JoinStrandsByCrossoverSerializer, A._$MoveLinkerSerializer, A._$JoinStrandsByMultipleCrossoversSerializer, A._$StrandsReflectSerializer, A._$ReplaceStrandsSerializer, A._$StrandCreateStartSerializer, A._$StrandCreateAdjustOffsetSerializer, A._$StrandCreateStopSerializer, A._$StrandCreateCommitSerializer, A._$PotentialCrossoverCreateSerializer, A._$PotentialCrossoverMoveSerializer, A._$PotentialCrossoverRemoveSerializer, A._$ManualPasteInitiateSerializer, A._$AutoPasteInitiateSerializer, A._$CopySelectedStrandsSerializer, A._$StrandsMoveStartSerializer, A._$StrandsMoveStartSelectedStrandsSerializer, A._$StrandsMoveStopSerializer, A._$StrandsMoveAdjustAddressSerializer, A._$StrandsMoveCommitSerializer, A._$DomainsMoveStartSelectedDomainsSerializer, A._$DomainsMoveStopSerializer, A._$DomainsMoveAdjustAddressSerializer, A._$DomainsMoveCommitSerializer, A._$DNAEndsMoveStartSerializer, A._$DNAEndsMoveSetSelectedEndsSerializer, A._$DNAEndsMoveAdjustOffsetSerializer, A._$DNAEndsMoveStopSerializer, A._$DNAEndsMoveCommitSerializer, A._$DNAExtensionsMoveStartSerializer, A._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer, A._$DNAExtensionsMoveAdjustPositionSerializer, A._$DNAExtensionsMoveStopSerializer, A._$DNAExtensionsMoveCommitSerializer, A._$HelixGroupMoveStartSerializer, A._$HelixGroupMoveCreateSerializer, A._$HelixGroupMoveAdjustTranslationSerializer, A._$HelixGroupMoveStopSerializer, A._$HelixGroupMoveCommitSerializer, A._$AssignDNASerializer, A._$AssignDNAComplementFromBoundStrandsSerializer, A._$AssignDomainNameComplementFromBoundStrandsSerializer, A._$AssignDomainNameComplementFromBoundDomainsSerializer, A._$RemoveDNASerializer, A._$InsertionAddSerializer, A._$InsertionLengthChangeSerializer, A._$InsertionsLengthChangeSerializer, A._$DeletionAddSerializer, A._$InsertionRemoveSerializer, A._$DeletionRemoveSerializer, A._$ScalePurificationVendorFieldsAssignSerializer, A._$PlateWellVendorFieldsAssignSerializer, A._$PlateWellVendorFieldsRemoveSerializer, A._$VendorFieldsRemoveSerializer, A._$ModificationAddSerializer, A._$ModificationRemoveSerializer, A._$ModificationConnectorLengthSetSerializer, A._$ModificationEditSerializer, A._$Modifications5PrimeEditSerializer, A._$Modifications3PrimeEditSerializer, A._$ModificationsInternalEditSerializer, A._$GridChangeSerializer, A._$GroupDisplayedChangeSerializer, A._$GroupAddSerializer, A._$GroupRemoveSerializer, A._$GroupChangeSerializer, A._$MoveHelicesToGroupSerializer, A._$DialogShowSerializer, A._$DialogHideSerializer, A._$ContextMenuShowSerializer, A._$ContextMenuHideSerializer, A._$StrandOrSubstrandColorPickerShowSerializer, A._$StrandOrSubstrandColorPickerHideSerializer, A._$ScaffoldSetSerializer, A._$StrandOrSubstrandColorSetSerializer, A._$StrandPasteKeepColorSetSerializer, A._$ExampleDesignsLoadSerializer, A._$BasePairTypeSetSerializer, A._$HelixPositionSetSerializer, A._$HelixGridPositionSetSerializer, A._$HelicesPositionsSetBasedOnCrossoversSerializer, A._$InlineInsertionsDeletionsSerializer, A._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer, A._$AutofitSetSerializer, A._$ShowHelixCirclesMainViewSetSerializer, A._$ShowHelixComponentsMainViewSetSerializer, A._$ShowEditMenuToggleSerializer, A._$ShowGridCoordinatesSideViewSetSerializer, A._$ShowAxisArrowsSetSerializer, A._$ShowLoopoutExtensionLengthSetSerializer, A._$LoadDnaSequenceImageUriSerializer, A._$SetIsZoomAboveThresholdSerializer, A._$SetExportSvgActionDelayedForPngCacheSerializer, A._$ShowBasePairLinesSetSerializer, A._$ShowBasePairLinesWithMismatchesSetSerializer, A._$ShowSliceBarSetSerializer, A._$SliceBarOffsetSetSerializer, A._$DisablePngCachingDnaSequencesSetSerializer, A._$RetainStrandColorOnSelectionSetSerializer, A._$DisplayReverseDNARightSideUpSetSerializer, A._$SliceBarMoveStartSerializer, A._$SliceBarMoveStopSerializer, A._$AutostapleSerializer, A._$AutobreakSerializer, A._$ZoomSpeedSetSerializer, A._$OxdnaExportSerializer, A._$OxviewExportSerializer, A._$OxExportOnlySelectedStrandsSetSerializer, A.SkipUndoBuilder, A.UndoBuilder, A.RedoBuilder, A.BatchActionBuilder, A.ThrottledActionFastBuilder, A.ThrottledActionNonFastBuilder, A.LocalStorageDesignChoiceSetBuilder, A.ClearHelixSelectionWhenLoadingNewDesignSetBuilder, A.EditModeToggleBuilder, A.EditModesSetBuilder, A.SelectModeToggleBuilder, A.SelectModesAddBuilder, A.SelectModesSetBuilder, A.StrandNameSetBuilder, A.StrandLabelSetBuilder, A.SubstrandNameSetBuilder, A.SubstrandLabelSetBuilder, A.SetAppUIStateStorableBuilder, A.ShowDNASetBuilder, A.ShowDomainNamesSetBuilder, A.ShowStrandNamesSetBuilder, A.ShowStrandLabelsSetBuilder, A.ShowDomainLabelsSetBuilder, A.ShowModificationsSetBuilder, A.DomainNameFontSizeSetBuilder, A.DomainLabelFontSizeSetBuilder, A.StrandNameFontSizeSetBuilder, A.StrandLabelFontSizeSetBuilder, A.ModificationFontSizeSetBuilder, A.MajorTickOffsetFontSizeSetBuilder, A.MajorTickWidthFontSizeSetBuilder, A.SetModificationDisplayConnectorBuilder, A.ShowMismatchesSetBuilder, A.ShowDomainNameMismatchesSetBuilder, A.ShowUnpairedInsertionDeletionsSetBuilder, A.OxviewShowSetBuilder, A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder, A.DisplayMajorTicksOffsetsSetBuilder, A.SetDisplayMajorTickWidthsAllHelicesBuilder, A.SetDisplayMajorTickWidthsBuilder, A.SetOnlyDisplaySelectedHelicesBuilder, A.InvertYSetBuilder, A.DynamicHelixUpdateSetBuilder, A.WarnOnExitIfUnsavedSetBuilder, A.CopySelectedStandsToClipboardImageBuilder, A.SaveDNAFileBuilder, A.LoadDNAFileBuilder, A.PrepareToLoadDNAFileBuilder, A.NewDesignSetBuilder, A.ExportCadnanoFileBuilder, A.ShowMouseoverDataSetBuilder, A.MouseoverDataClearBuilder, A.MouseoverDataUpdateBuilder, A.HelixRollSetBuilder, A.HelixRollSetAtOtherBuilder, A.RelaxHelixRollsBuilder, A.ErrorMessageSetBuilder, A.SelectionBoxCreateBuilder, A.SelectionBoxSizeChangeBuilder, A.SelectionBoxRemoveBuilder, A.SelectionRopeCreateBuilder, A.SelectionRopeMouseMoveBuilder, A.SelectionRopeAddPointBuilder, A.MouseGridPositionSideUpdateBuilder, A.MouseGridPositionSideClearBuilder, A.MousePositionSideUpdateBuilder, A.MousePositionSideClearBuilder, A.GeometrySetBuilder, A.SelectionBoxIntersectionRuleSetBuilder, A.SelectBuilder, A.SelectionsClearBuilder, A.SelectionsAdjustMainViewBuilder, A.SelectOrToggleItemsBuilder, A.SelectAllBuilder, A.SelectAllSelectableBuilder, A.SelectAllStrandsWithSameAsSelectedBuilder, A.DeleteAllSelectedBuilder, A.HelixAddBuilder, A.HelixRemoveBuilder, A.HelixRemoveAllSelectedBuilder, A.HelixSelectBuilder, A.HelixSelectionsClearBuilder, A.HelixSelectionsAdjustBuilder, A.HelixMajorTickDistanceChangeBuilder, A.HelixMajorTickDistanceChangeAllBuilder, A.HelixMajorTickStartChangeBuilder, A.HelixMajorTickStartChangeAllBuilder, A.HelixMajorTicksChangeBuilder, A.HelixMajorTicksChangeAllBuilder, A.HelixMajorTickPeriodicDistancesChangeBuilder, A.HelixMajorTickPeriodicDistancesChangeAllBuilder, A.HelixIdxsChangeBuilder, A.HelixOffsetChangeBuilder, A.HelixMinOffsetSetByDomainsBuilder, A.HelixMaxOffsetSetByDomainsBuilder, A.HelixMinOffsetSetByDomainsAllBuilder, A.HelixMaxOffsetSetByDomainsAllBuilder, A.HelixMaxOffsetSetByDomainsAllSameMaxBuilder, A.HelixOffsetChangeAllBuilder, A.ShowMouseoverRectSetBuilder, A.ExportDNABuilder, A.ExportCanDoDNABuilder, A.ExportSvgBuilder, A.ExportSvgTextSeparatelySetBuilder, A.ExtensionDisplayLengthAngleSetBuilder, A.ExtensionAddBuilder, A.ExtensionNumBasesChangeBuilder, A.ExtensionsNumBasesChangeBuilder, A.LoopoutLengthChangeBuilder, A.LoopoutsLengthChangeBuilder, A.ConvertCrossoverToLoopoutBuilder, A.ConvertCrossoversToLoopoutsBuilder, A.NickBuilder, A.LigateBuilder, A.JoinStrandsByCrossoverBuilder, A.MoveLinkerBuilder, A.JoinStrandsByMultipleCrossoversBuilder, A.StrandsReflectBuilder, A.ReplaceStrandsBuilder, A.StrandCreateStartBuilder, A.StrandCreateAdjustOffsetBuilder, A.StrandCreateStopBuilder, A.StrandCreateCommitBuilder, A.PotentialCrossoverCreateBuilder, A.PotentialCrossoverMoveBuilder, A.PotentialCrossoverRemoveBuilder, A.ManualPasteInitiateBuilder, A.AutoPasteInitiateBuilder, A.CopySelectedStrandsBuilder, A.StrandsMoveStartBuilder, A.StrandsMoveStartSelectedStrandsBuilder, A.StrandsMoveStopBuilder, A.StrandsMoveAdjustAddressBuilder, A.StrandsMoveCommitBuilder, A.DomainsMoveStartSelectedDomainsBuilder, A.DomainsMoveStopBuilder, A.DomainsMoveAdjustAddressBuilder, A.DomainsMoveCommitBuilder, A.DNAEndsMoveStartBuilder, A.DNAEndsMoveSetSelectedEndsBuilder, A.DNAEndsMoveAdjustOffsetBuilder, A.DNAEndsMoveCommitBuilder, A.DNAExtensionsMoveStartBuilder, A.DNAExtensionsMoveSetSelectedExtensionEndsBuilder, A.DNAExtensionsMoveAdjustPositionBuilder, A.DNAExtensionsMoveCommitBuilder, A.HelixGroupMoveStartBuilder, A.HelixGroupMoveCreateBuilder, A.HelixGroupMoveAdjustTranslationBuilder, A.HelixGroupMoveStopBuilder, A.HelixGroupMoveCommitBuilder, A.AssignDNABuilder, A.AssignDNAComplementFromBoundStrandsBuilder, A.AssignDomainNameComplementFromBoundStrandsBuilder, A.AssignDomainNameComplementFromBoundDomainsBuilder, A.RemoveDNABuilder, A.InsertionAddBuilder, A.InsertionLengthChangeBuilder, A.InsertionsLengthChangeBuilder, A.DeletionAddBuilder, A.InsertionRemoveBuilder, A.DeletionRemoveBuilder, A.ScalePurificationVendorFieldsAssignBuilder, A.PlateWellVendorFieldsAssignBuilder, A.PlateWellVendorFieldsRemoveBuilder, A.VendorFieldsRemoveBuilder, A.ModificationAddBuilder, A.ModificationRemoveBuilder, A.ModificationConnectorLengthSetBuilder, A.ModificationEditBuilder, A.Modifications5PrimeEditBuilder, A.Modifications3PrimeEditBuilder, A.ModificationsInternalEditBuilder, A.GridChangeBuilder, A.GroupDisplayedChangeBuilder, A.GroupAddBuilder, A.GroupRemoveBuilder, A.GroupChangeBuilder, A.MoveHelicesToGroupBuilder, A.DialogShowBuilder, A.DialogHideBuilder, A.ContextMenuShowBuilder, A.ContextMenuHideBuilder, A.StrandOrSubstrandColorPickerShowBuilder, A.StrandOrSubstrandColorPickerHideBuilder, A.ScaffoldSetBuilder, A.StrandOrSubstrandColorSetBuilder, A.StrandPasteKeepColorSetBuilder, A.ExampleDesignsLoadBuilder, A.BasePairTypeSetBuilder, A.HelixPositionSetBuilder, A.HelixGridPositionSetBuilder, A.HelicesPositionsSetBasedOnCrossoversBuilder, A.InlineInsertionsDeletionsBuilder, A.DefaultCrossoverTypeForSettingHelixRollsSetBuilder, A.AutofitSetBuilder, A.ShowHelixCirclesMainViewSetBuilder, A.ShowHelixComponentsMainViewSetBuilder, A.ShowGridCoordinatesSideViewSetBuilder, A.ShowAxisArrowsSetBuilder, A.ShowLoopoutExtensionLengthSetBuilder, A.LoadDnaSequenceImageUriBuilder, A.SetIsZoomAboveThresholdBuilder, A.SetExportSvgActionDelayedForPngCacheBuilder, A.ShowBasePairLinesSetBuilder, A.ShowBasePairLinesWithMismatchesSetBuilder, A.ShowSliceBarSetBuilder, A.SliceBarOffsetSetBuilder, A.DisablePngCachingDnaSequencesSetBuilder, A.RetainStrandColorOnSelectionSetBuilder, A.DisplayReverseDNARightSideUpSetBuilder, A.SliceBarMoveStartBuilder, A.SliceBarMoveStopBuilder, A.AutostapleBuilder, A.AutobreakBuilder, A.ZoomSpeedSetBuilder, A.OxdnaExportBuilder, A.OxviewExportBuilder, A.OxExportOnlySelectedStrandsSetBuilder, A.App, A._$DNAFileTypeSerializer, A._$DNASequencePredefinedSerializer, A.JSONSerializable, A.NoIndent, A.Replacer, A.RollXY, A.OxdnaVector, A.OxdnaNucleotide, A.OxdnaStrand, A.OxdnaSystem, A.Box, A.InsertionDeletionRecord, A.TypedGlobalReducer, A.BuiltJsonSerializable, A.PointSerializer, A.ColorSerializer, A._Address_Object_BuiltJsonSerializable, A._AddressDifference_Object_BuiltJsonSerializable, A._$AddressSerializer, A._$AddressDifferenceSerializer, A.AddressBuilder, A.AddressDifferenceBuilder, A.AppState, A.AppStateBuilder, A._AppUIState_Object_BuiltJsonSerializable, A._$AppUIStateSerializer, A.AppUIStateBuilder, A._AppUIStateStorables_Object_BuiltJsonSerializable, A._$AppUIStateStorablesSerializer, A.AppUIStateStorablesBuilder, A._$BasePairDisplayTypeSerializer, A.BrowserClipboard, A._ContextMenu_Object_BuiltJsonSerializable, A._ContextMenuItem_Object_BuiltJsonSerializable, A._$ContextMenuSerializer, A._$ContextMenuItemSerializer, A.ContextMenuBuilder, A.ContextMenuItemBuilder, A._CopyInfo_Object_BuiltJsonSerializable, A._$CopyInfoSerializer, A.CopyInfoBuilder, A._Crossover_Object_SelectableMixin, A._$CrossoverSerializer, A.CrossoverBuilder, A._Design_Object_UnusedFields, A.Mismatch, A.IllegalDesignError, A.IllegalCadnanoDesignError, A.HelixPitchYaw, A.DesignBuilder, A._DesignSideRotationParams_Object_BuiltJsonSerializable, A._DesignSideRotationData_Object_BuiltJsonSerializable, A._$DesignSideRotationParamsSerializer, A._$DesignSideRotationDataSerializer, A.DesignSideRotationParamsBuilder, A.DesignSideRotationDataBuilder, A._Dialog_Object_BuiltJsonSerializable, A._DialogInteger_Object_BuiltJsonSerializable, A._DialogFloat_Object_BuiltJsonSerializable, A._DialogText_Object_BuiltJsonSerializable, A._DialogTextArea_Object_BuiltJsonSerializable, A._DialogCheckbox_Object_BuiltJsonSerializable, A._DialogRadio_Object_BuiltJsonSerializable, A._DialogLink_Object_BuiltJsonSerializable, A._DialogLabel_Object_BuiltJsonSerializable, A._$DialogTypeSerializer, A._$DialogSerializer, A._$DialogIntegerSerializer, A._$DialogFloatSerializer, A._$DialogTextSerializer, A._$DialogTextAreaSerializer, A._$DialogCheckboxSerializer, A._$DialogRadioSerializer, A._$DialogLinkSerializer, A.DialogBuilder, A.DialogIntegerBuilder, A.DialogFloatBuilder, A.DialogTextBuilder, A.DialogTextAreaBuilder, A.DialogCheckboxBuilder, A.DialogRadioBuilder, A.DialogLinkBuilder, A.DialogLabelBuilder, A._DNAAssignOptions_Object_BuiltJsonSerializable, A._$DNAAssignOptionsSerializer, A.DNAAssignOptionsBuilder, A._DNAEnd_Object_SelectableMixin, A._$DNAEndSerializer, A.DNAEndBuilder, A._DNAEndsMove_Object_BuiltJsonSerializable, A._DNAEndMove_Object_BuiltJsonSerializable, A._$DNAEndsMoveSerializer, A._$DNAEndMoveSerializer, A.DNAEndsMoveBuilder, A.DNAEndMoveBuilder, A._DNAExtensionsMove_Object_BuiltJsonSerializable, A._DNAExtensionMove_Object_BuiltJsonSerializable, A._$DNAExtensionsMoveSerializer, A._$DNAExtensionMoveSerializer, A.DNAExtensionsMoveBuilder, A.DNAExtensionMoveBuilder, A._Insertion_Object_BuiltJsonSerializable, A._Domain_Object_SelectableMixin, A._$InsertionSerializer, A._$DomainSerializer, A.InsertionBuilder, A.DomainBuilder, A._DomainNameMismatch_Object_BuiltJsonSerializable, A._$DomainNameMismatchSerializer, A.DomainNameMismatchBuilder, A._DomainsMove_Object_BuiltJsonSerializable, A._$DomainsMoveSerializer, A.DomainsMoveBuilder, A._$EditModeChoiceSerializer, A._ExampleDesigns_Object_BuiltJsonSerializable, A._$ExampleDesignsSerializer, A.ExampleDesignsBuilder, A.ExportDNAException, A._$ExportDNAFormatSerializer, A._$StrandOrderSerializer, A._Extension_Object_SelectableMixin, A._$ExtensionSerializer, A.ExtensionBuilder, A._Geometry_Object_BuiltJsonSerializable, A._$GeometrySerializer, A.GeometryBuilder, A._$GridSerializer, A._GridPosition_Object_BuiltJsonSerializable, A._$GridPositionSerializer, A.GridPositionBuilder, A._HelixGroup_Object_BuiltJsonSerializable, A._$HelixGroupSerializer, A.HelixGroupBuilder, A._Helix_Object_BuiltJsonSerializable, A._$HelixSerializer, A.HelixBuilder, A._HelixGroupMove_Object_BuiltJsonSerializable, A._$HelixGroupMoveSerializer, A.HelixGroupMoveBuilder, A._LocalStorageDesignChoice_Object_BuiltJsonSerializable, A._$LocalStorageDesignOptionSerializer, A._$LocalStorageDesignChoiceSerializer, A.LocalStorageDesignChoiceBuilder, A._Loopout_Object_SelectableMixin, A._$LoopoutSerializer, A.LoopoutBuilder, A._Modification5Prime_Object_BuiltJsonSerializable, A._Modification3Prime_Object_BuiltJsonSerializable, A._ModificationInternal_Object_BuiltJsonSerializable, A._$Modification5PrimeSerializer, A._$Modification3PrimeSerializer, A._$ModificationInternalSerializer, A.Modification5PrimeBuilder, A.Modification3PrimeBuilder, A.ModificationInternalBuilder, A._$ModificationTypeSerializer, A._MouseoverParams_Object_BuiltJsonSerializable, A._MouseoverData_Object_BuiltJsonSerializable, A._$MouseoverParamsSerializer, A._$MouseoverDataSerializer, A.MouseoverParamsBuilder, A.MouseoverDataBuilder, A._Position3D_Object_BuiltJsonSerializable, A._$Position3DSerializer, A.Position3DBuilder, A._PotentialCrossover_Object_BuiltJsonSerializable, A._$PotentialCrossoverSerializer, A.PotentialCrossoverBuilder, A._PotentialVerticalCrossover_Object_BuiltJsonSerializable, A._$PotentialVerticalCrossoverSerializer, A.PotentialVerticalCrossoverBuilder, A._$SelectModeChoiceSerializer, A.SelectModeState, A._$SelectModeStateSerializer, A.SelectModeStateBuilder, A._SelectablesStore_Object_BuiltJsonSerializable, A._SelectableDeletion_Object_SelectableMixin, A._SelectableInsertion_Object_SelectableMixin, A.SelectableModification, A._SelectableModification5Prime_Object_SelectableModification, A._SelectableModification3Prime_Object_SelectableModification, A._SelectableModificationInternal_Object_SelectableModification, A.SelectableMixin, A._$SelectablesStoreSerializer, A._$SelectableDeletionSerializer, A._$SelectableInsertionSerializer, A._$SelectableModification5PrimeSerializer, A._$SelectableModification3PrimeSerializer, A._$SelectableModificationInternalSerializer, A._$SelectableTraitSerializer, A.SelectablesStoreBuilder, A.SelectableDeletionBuilder, A.SelectableInsertionBuilder, A.SelectableModification5PrimeBuilder, A.SelectableModification3PrimeBuilder, A.SelectableModificationInternalBuilder, A._SelectionBox_Object_BuiltJsonSerializable, A._$SelectionBoxSerializer, A.SelectionBoxBuilder, A._SelectionRope_Object_BuiltJsonSerializable, A._Line_Object_BuiltJsonSerializable, A._$SelectionRopeSerializer, A._$LineSerializer, A.SelectionRopeBuilder, A.LineBuilder, A._Strand_Object_SelectableMixin, A._$StrandSerializer, A.StrandBuilder, A._StrandCreation_Object_BuiltJsonSerializable, A._$StrandCreationSerializer, A.StrandCreationBuilder, A._StrandsMove_Object_BuiltJsonSerializable, A._$StrandsMoveSerializer, A.StrandsMoveBuilder, A._UndoRedo_Object_BuiltJsonSerializable, A._UndoRedoItem_Object_BuiltJsonSerializable, A._$UndoRedoItemSerializer, A.UndoRedoBuilder, A.UndoRedoItemBuilder, A.UnusedFields, A._VendorFields_Object_BuiltJsonSerializable, A._$VendorFieldsSerializer, A.VendorFieldsBuilder, A.ColorCycler, A.Version, A._FixedListIterator, A.End3PrimeProps, A.$End3PrimeProps, A.End5PrimeProps, A.$End5PrimeProps, A.AxisArrowsMainProps, A.$AxisArrowsMainProps, A.AxisArrowsSideProps, A.$AxisArrowsSideProps, A.DesignViewComponent, A.DesignContextMenuProps, A.DesignContextMenuState, A.DesignContextSubmenuProps, A.DesignContextSubmenuState, A.$DesignContextMenuProps, A.$DesignContextSubmenuProps, A.$DesignContextMenuState, A.$DesignContextSubmenuState, A.DesignDialogFormProps, A.DesignDialogFormState, A.$DesignDialogFormProps, A.$DesignDialogFormState, A.DesignFooterProps, A.$DesignFooterProps, A.DesignLoadingDialogProps, A.$DesignLoadingDialogProps, A.DesignMainProps, A.$DesignMainProps, A.DesignMainBasePairLinesProps, A.$DesignMainBasePairLinesProps, A.DesignMainBasePairRectangleProps, A.$DesignMainBasePairRectangleProps, A.DesignMainDNAMismatchesProps, A.$DesignMainDNAMismatchesProps, A.DesignMainDNASequenceProps, A.$DesignMainDNASequenceProps, A.DesignMainDNASequencesProps, A.$DesignMainDNASequencesProps, A.DesignMainDomainMovingProps, A.$DesignMainDomainMovingProps, A.DesignMainDomainNameMismatchesProps, A.$DesignMainDomainNameMismatchesProps, A.DesignMainDomainsMovingProps, A.$DesignMainDomainsMovingProps, A.DesignMainErrorBoundaryStateMixin, A.$DesignMainErrorBoundaryStateMixin, A.DesignMainHelicesProps, A.$DesignMainHelicesProps, A.DesignMainHelixProps, A.$DesignMainHelixProps, A.DesignMainLoopoutExtensionLengthProps, A.$DesignMainLoopoutExtensionLengthProps, A.DesignMainLoopoutExtensionLengthsProps, A.$DesignMainLoopoutExtensionLengthsProps, A.DesignMainPotentialVerticalCrossoverProps, A.$DesignMainPotentialVerticalCrossoverProps, A.DesignMainPotentialVerticalCrossoversProps, A.$DesignMainPotentialVerticalCrossoversProps, A.DesignMainSliceBarProps, A.$DesignMainSliceBarProps, A.DesignMainStrandProps, A.$DesignMainStrandProps, A.DesignMainStrandAndDomainTextsProps, A.$DesignMainStrandAndDomainTextsProps, A.DesignMainStrandCreatingProps, A.$DesignMainStrandCreatingProps, A.DesignMainStrandCrossoverProps, A.DesignMainStrandCrossoverState, A.$DesignMainStrandCrossoverProps, A.$DesignMainStrandCrossoverState, A.DesignMainStrandDeletionPropsMixin, A.$DesignMainStrandDeletionPropsMixin, A.DesignMainDNAEndPropsMixin, A.$DesignMainDNAEndPropsMixin, A.EndMovingProps, A.$EndMovingProps, A.ExtensionEndMovingProps, A.$ExtensionEndMovingProps, A.DesignMainDomainProps, A.$DesignMainDomainProps, A.DesignMainStrandDomainTextProps, A.$DesignMainStrandDomainTextProps, A.DesignMainExtensionProps, A.$DesignMainExtensionProps, A.DesignMainStrandExtensionTextProps, A.$DesignMainStrandExtensionTextProps, A.DesignMainStrandInsertionProps, A.$DesignMainStrandInsertionProps, A.DesignMainLoopoutProps, A.DesignMainLoopoutState, A.$DesignMainLoopoutProps, A.$DesignMainLoopoutState, A.DesignMainStrandLoopoutTextProps, A.$DesignMainStrandLoopoutTextProps, A.DesignMainStrandModificationProps, A.$DesignMainStrandModificationProps, A.DesignMainStrandModificationsProps, A.$DesignMainStrandModificationsProps, A.DesignMainStrandMovingProps, A.$DesignMainStrandMovingProps, A.DesignMainStrandPathsProps, A.$DesignMainStrandPathsProps, A.DesignMainStrandsProps, A.$DesignMainStrandsProps, A.DesignMainStrandsMovingProps, A.$DesignMainStrandsMovingProps, A.DesignMainUnpairedInsertionDeletionsProps, A.$DesignMainUnpairedInsertionDeletionsProps, A.DesignMainWarningStarProps, A.$DesignMainWarningStarProps, A.DesignSideProps, A.$DesignSideProps, A.DesignSideHelixProps, A.$DesignSideHelixProps, A.DesignSidePotentialHelixProps, A.$DesignSidePotentialHelixProps, A.DesignSideRotationProps, A.$DesignSideRotationProps, A.DesignSideRotationArrowProps, A.$DesignSideRotationArrowProps, A.EditAndSelectModesProps, A.$EditAndSelectModesProps, A.EditModeProps, A.$EditModeProps, A.ErrorMessageComponent, A.HelixGroupMovingProps, A.$HelixGroupMovingProps, A.MenuProps, A.$MenuProps, A.MenuBooleanProps, A.$MenuBooleanProps, A.MenuDropdownItemProps, A.$MenuDropdownItemProps, A.MenuDropdownRightProps, A.MenuDropdownRightState, A.$MenuDropdownRightProps, A.$MenuDropdownRightState, A.MenuFormFileProps, A.$MenuFormFileProps, A.MenuNumberPropsMixin, A.$MenuNumberPropsMixin, A.SideMenuProps, A.$SideMenuProps, A.OxviewViewComponent, A.PotentialCrossoverViewProps, A.$PotentialCrossoverViewProps, A.PotentialExtensionsViewProps, A.$PotentialExtensionsViewProps, A.PureComponent, A.RedrawCounterMixin, A.SelectModePropsMixin, A.$SelectModePropsMixin, A.SelectionBoxViewProps, A.$SelectionBoxViewProps, A.SelectionRopeViewProps, A.$SelectionRopeViewProps, A.StrandOrSubstrandColorPickerProps, A.StrandOrSubstrandColorPickerState, A.$StrandOrSubstrandColorPickerProps, A.$StrandOrSubstrandColorPickerState, A.View, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.SourceSpanException, A.SpreadsheetDecoder, A.SpreadsheetTable, A.StringScanner, A.Tuple2, A.Tuple3, A.Tuple5, A.ManagedDisposer, A._ObservableTimer, A.Disposable, A.DtdExternalId, A.XmlEntityMapping, A.XmlException, A.XmlFormatException, A.XmlAttributesBase, A.XmlHasAttributes, A.XmlChildrenBase, A.XmlHasChildren, A.XmlHasName, A.XmlParentBase, A.XmlHasParent, A.XmlValueBase, A.XmlHasVisitor, A.XmlHasWriter, A._XmlNode_Object_XmlAttributesBase, A.XmlCache, A._XmlName_Object_XmlHasVisitor, A.XmlVisitor, A._XmlWriter_Object_XmlVisitor, A.XmlAnnotator, A.XmlHasBuffer, A.XmlHasLocation, A.XmlHasParent0, A._XmlEvent_Object_XmlHasParent, A.XmlEventParser, A.ConversionSink, A._XmlEventAttribute_Object_XmlNamed, A.XmlNamed, A.XmlEventVisitor]); + _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeByteBuffer, A.NativeTypedData]); + _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, A.EventTarget, A.AccessibleNodeList, A.Event, A.Blob, A.BluetoothRemoteGattDescriptor, A.CacheStorage, A.CanvasRenderingContext2D, A.CssStyleValue, A.CssTransformComponent, A.CssRule, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.StyleSheet, A.DataTransfer, A.DataTransferItemList, A.ReportBody, A.DomError, A.DomException, A.DomImplementation, A.DomPointReadOnly, A._DomRectList_JavaScriptObject_ListMixin, A.DomRectReadOnly, A._DomStringList_JavaScriptObject_ListMixin, A.DomTokenList, A._FileList_JavaScriptObject_ListMixin, A.FontFace, A.Gamepad, A.GamepadButton, A.History, A._HtmlCollection_JavaScriptObject_ListMixin, A.ImageData, A.IntersectionObserverEntry, A.Location, A.MediaError, A.MediaList, A._MidiInputMap_JavaScriptObject_MapMixin, A._MidiOutputMap_JavaScriptObject_MapMixin, A.MimeType, A._MimeTypeArray_JavaScriptObject_ListMixin, A.MutationRecord, A.NavigatorUserMediaError, A._NodeList_JavaScriptObject_ListMixin, A.OverconstrainedError, A.PaymentInstruments, A.Plugin, A._PluginArray_JavaScriptObject_ListMixin, A.PositionError, A.ResizeObserverEntry, A._RtcStatsReport_JavaScriptObject_MapMixin, A.SharedArrayBuffer, A.SpeechGrammar, A._SpeechGrammarList_JavaScriptObject_ListMixin, A.SpeechRecognitionResult, A._Storage_JavaScriptObject_MapMixin, A._TextTrackCueList_JavaScriptObject_ListMixin, A.TimeRanges, A.Touch, A._TouchList_JavaScriptObject_ListMixin, A.TrackDefaultList, A.Url, A.VREyeParameters, A.XmlSerializer, A.__CssRuleList_JavaScriptObject_ListMixin, A.__GamepadList_JavaScriptObject_ListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin, A.Cursor, A.KeyRange, A.ObjectStore, A.Observation, A.Angle, A.Length, A._LengthList_JavaScriptObject_ListMixin, A.Number, A._NumberList_JavaScriptObject_ListMixin, A.Point0, A.PointList, A._StringList_JavaScriptObject_ListMixin, A.Transform, A._TransformList_JavaScriptObject_ListMixin, A.AudioBuffer, A.AudioParam, A._AudioParamMap_JavaScriptObject_MapMixin]); + _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A._ReduxDevToolsExtensionConnection, A.JsReactRedux, A.JsReactReduxStore, A.JsConnectOptions, A.JsMap, A.WeakMap, A.NodeCrypto, A._JsError, A._Object, A._Reflect, A.React, A.JsRef, A.ReactDomServer, A.PropTypes, A.ReactClass, A.ReactClassConfig, A.ReactElement, A.ReactPortal, A.ReactComponent, A.ReactContext, A.InteropProps, A.ReactErrorInfo, A.JsPropertyDescriptor, A.Promise, A.ReactDOM, A.InteropContextValue, A.ReactDartInteropStatics, A.JsComponentConfig, A.JsComponentConfig2, A.SyntheticEvent, A.NonNativeDataTransfer, A.Pan, A.ReactBootstrap, A.ReactColor, A.JSColor]); _inherit(J.JSUnmodifiableArray, J.JSArray); _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]); - _inheritMany(P.Stream, [H.CastStream, P._StreamImpl, P.StreamView, P._ForwardingStream, W._EventStream]); - _inheritMany(P.Iterable, [H._CastIterableBase, H.EfficientLengthIterable, H.MappedIterable, H.WhereIterable, H.ExpandIterable, H.TakeIterable, H.TakeWhileIterable, H.SkipIterable, H.SkipWhileIterable, H.WhereTypeIterable, H._ConstantMapKeyIterable, P.IterableBase, H._StringAllMatchesIterable, P.Runes]); - _inheritMany(H._CastIterableBase, [H.CastIterable, H.__CastListBase__CastIterableBase_ListMixin, H.CastSet, H.CastQueue]); - _inherit(H._EfficientLengthCastIterable, H.CastIterable); - _inherit(H._CastListBase, H.__CastListBase__CastIterableBase_ListMixin); - _inheritMany(H.Closure, [H._CastListBase_sort_closure, H._CastListBase_removeWhere_closure, H.CastSet_removeWhere_closure, H.CastMap_forEach_closure, H.CastMap_entries_closure, H.CastMap_removeWhere_closure, H.nullFuture_closure, H.ConstantMap_map_closure, H.ConstantStringMap_values_closure, H.Instantiation, H.Primitives_functionNoSuchMethod_closure, H.TearOffClosure, H.JsLinkedHashMap_values_closure, H.JsLinkedHashMap_addAll_closure, H.initHooks_closure, H.initHooks_closure0, H.initHooks_closure1, P._AsyncRun__initializeScheduleImmediate_internalCallback, P._AsyncRun__initializeScheduleImmediate_closure, P._AsyncRun__scheduleImmediateJsOverride_internalCallback, P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, P._TimerImpl_internalCallback, P._TimerImpl$periodic_closure, P._awaitOnObject_closure, P._awaitOnObject_closure0, P._wrapJsFunctionForAsync_closure, P._SyncBroadcastStreamController__sendData_closure, P.Future_Future_closure, P.Future_Future$delayed_closure, P.Future_wait__error_set, P.Future_wait__stackTrace_set, P.Future_wait__error_get, P.Future_wait__stackTrace_get, P.Future_wait_handleError, P.Future_wait_closure, P._Future__addListener_closure, P._Future__prependListeners_closure, P._Future__chainForeignFuture_closure, P._Future__chainForeignFuture_closure0, P._Future__chainForeignFuture_closure1, P._Future__asyncCompleteWithValue_closure, P._Future__chainFuture_closure, P._Future__asyncCompleteError_closure, P._Future__propagateToListeners_handleWhenCompleteCallback, P._Future__propagateToListeners_handleWhenCompleteCallback_closure, P._Future__propagateToListeners_handleValueCallback, P._Future__propagateToListeners_handleError, P.Stream_Stream$fromIterable_closure, P.Stream_length_closure, P.Stream_length_closure0, P.Stream_first_closure, P.Stream_first_closure0, P._StreamController__subscribe_closure, P._StreamController__recordCancel_complete, P._BufferingStreamSubscription__sendError_sendError, P._BufferingStreamSubscription__sendDone_sendDone, P._PendingEvents_schedule_closure, P._cancelAndValue_closure, P._rootHandleUncaughtError_closure, P._RootZone_bindCallbackGuarded_closure, P._RootZone_bindUnaryCallbackGuarded_closure, P._HashMap_values_closure, P._CustomHashMap_closure, P._LinkedCustomHashMap_closure, P.LinkedHashMap_LinkedHashMap$from_closure, P.MapBase_mapToString_closure, P.MapMixin_entries_closure, P._JsonMap_values_closure, P.Utf8Decoder__decoder_closure, P.Utf8Decoder__decoderNonfatal_closure, P._JsonStringifier_writeMap_closure, P._JsonPrettyPrintMixin_writeMap_closure, P.NoSuchMethodError_toString_closure, P._BigIntImpl_hashCode_combine, P._BigIntImpl_hashCode_finish, P.DateTime_parse_parseIntOrZero, P.DateTime_parse_parseMilliAndMicroseconds, P.Duration_toString_sixDigits, P.Duration_toString_twoDigits, P.Uri__parseIPv4Address_error, P.Uri_parseIPv6Address_error, P.Uri_parseIPv6Address_parseHex, P._createTables_build, P._createTables_setChars, P._createTables_setRange, W.CanvasElement_toBlob_closure, W.Element_Element$html_closure, W.Entry_remove_closure, W.Entry_remove_closure0, W.HttpRequest_getString_closure, W.HttpRequest_request_closure, W.MidiInputMap_keys_closure, W.MidiInputMap_values_closure, W.MidiOutputMap_keys_closure, W.MidiOutputMap_values_closure, W.RtcStatsReport_keys_closure, W.RtcStatsReport_values_closure, W.Storage_keys_closure, W.Storage_values_closure, W._BeforeUnloadEventStreamProvider_forTarget_closure, W._EventStreamSubscription_closure, W._EventStreamSubscription_onData_closure, W.NodeValidatorBuilder_allowsElement_closure, W.NodeValidatorBuilder_allowsAttribute_closure, W._SimpleNodeValidator_closure, W._SimpleNodeValidator_closure0, W._TemplatingNodeValidator_closure, W._ValidatingTreeSanitizer_sanitizeTree_walk, P._StructuredClone_walk_closure, P._StructuredClone_walk_closure0, P._AcceptStructuredClone_walk_closure, P._convertDartToNative_Value_closure, P.convertDartToNative_Dictionary_closure, P.CssClassSetImpl_add_closure, P.CssClassSetImpl_addAll_closure, P.CssClassSetImpl_removeAll_closure, P.CssClassSetImpl_removeWhere_closure, P.CssClassSetImpl_clear_closure, P.FilteredElementList__iterable_closure, P.FilteredElementList__iterable_closure0, P.FilteredElementList_removeRange_closure, P._completeRequest_closure, P._convertToJS_closure, P._convertToJS_closure0, P._wrapToDart_closure, P._wrapToDart_closure0, P._wrapToDart_closure1, P._convertDataTree__convert0, P.promiseToFuture_closure, P.promiseToFuture_closure0, P.AudioParamMap_keys_closure, P.AudioParamMap_values_closure, A.hashObjects_closure, R.BuiltListMultimap_BuiltListMultimap_closure, R.BuiltListMultimap_hashCode_closure, R.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_BuiltMap$from_closure, A.BuiltMap_BuiltMap$of_closure, A.BuiltMap_hashCode_closure, A.MapBuilder_replace_closure, A.MapBuilder_replace_closure0, X.BuiltSet_hashCode_closure, M.BuiltSetMultimap_hashCode_closure, M.SetMultimapBuilder_replace_closure, Y.newBuiltValueToStringHelper_closure, U.Serializers_Serializers_closure, U.Serializers_Serializers_closure0, U.Serializers_Serializers_closure1, U.Serializers_Serializers_closure2, U.Serializers_Serializers_closure3, R.BuiltListMultimapSerializer_serialize_closure, R.BuiltListMultimapSerializer_deserialize_closure, K.BuiltListSerializer_serialize_closure, K.BuiltListSerializer_deserialize_closure, R.BuiltSetMultimapSerializer_serialize_closure, R.BuiltSetMultimapSerializer_deserialize_closure, O.BuiltSetSerializer_serialize_closure, O.BuiltSetSerializer_deserialize_closure, T.StandardJsonPlugin__toList_closure, T.StandardJsonPlugin__toList_closure0, T.StandardJsonPlugin__toListUsingDiscriminator_closure, T.StandardJsonPlugin__toListUsingDiscriminator_closure0, M.CanonicalizedMap_addAll_closure, M.CanonicalizedMap_entries_closure, M.CanonicalizedMap_forEach_closure, M.CanonicalizedMap_keys_closure, M.CanonicalizedMap_map_closure, M.CanonicalizedMap_removeWhere_closure, M.CanonicalizedMap_values_closure, Z.Draggable_onDragStart_closure, Z.Draggable_onDrag_closure, Z.Draggable_onDragEnd_closure, Z.Draggable__suppressClickEvent_closure, Z.Draggable__suppressClickEvent_closure0, Z.Draggable_destroy_closure, Z.Draggable__resetCurrentDrag_closure, Z._EventManager_closure, Z._EventManager_installEscAndBlur_closure, Z._EventManager_installEscAndBlur_closure0, Z._EventManager_reset_closure, Z._EventManager_destroy_closure, Z._EventManager_destroy_closure0, Z._TouchManager_installStart_closure, Z._TouchManager_installStart__closure, Z._TouchManager_installMove_closure, Z._TouchManager_installEnd_closure, Z._TouchManager_installCancel_closure, Z._MouseManager_installStart_closure, Z._MouseManager_installStart__closure, Z._MouseManager_installMove_closure, Z._MouseManager_installEnd_closure, Z._PointerManager_installStart_closure, Z._PointerManager_installStart__closure, Z._PointerManager_installMove_closure, Z._PointerManager_installEnd_closure, Z._PointerManager_installCancel_closure, G.post_closure, G.BaseRequest_closure, G.BaseRequest_closure0, O.BrowserClient_send_closure, O.BrowserClient_send__closure, O.BrowserClient_send__closure0, O.BrowserClient_send_closure0, Z.ByteStream_toBytes_closure, Z.CaseInsensitiveMap$from_closure, Z.CaseInsensitiveMap$from_closure0, R.MediaType_MediaType$parse_closure, R.MediaType_toString_closure, R.MediaType_toString__closure, N.expectQuotedString_closure, F.Logger_Logger_closure, Z.$ErrorBoundaryComponentFactory_closure, E.$RecoverableErrorBoundaryComponentFactory_closure, S.UiProps_call_closure, S._AccessorMetaCollection_keys_closure, Z.UiComponent2_addUnconsumedProps_closure, X.connect_closure, X.connect_closure0, X.connect_wrapWithConnect, X.connect_wrapWithConnect_jsMapFromProps, X.connect_wrapWithConnect_jsPropsToTProps, X.connect_wrapWithConnect_allowInteropWithArgCount, X.connect_wrapWithConnect_handleMapStateToProps, X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapStateToProps, X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory, X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory, X.connect_wrapWithConnect_handleMapDispatchToProps, X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapDispatchToProps, X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory, X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory, X.connect_wrapWithConnect_handleAreOwnPropsEqual, X.connect_wrapWithConnect_handleAreStatePropsEqual, X.connect_wrapWithConnect_handleAreMergedPropsEqual, X.connect_wrapWithConnect_interopMapStateToPropsHandler, X.connect_wrapWithConnect_interopMapDispatchToPropsHandler, X.connect_wrapWithConnect_connectedFactory, X.ReduxProvider_closure, X._reduxifyStore_closure, X._reduxifyStore_closure0, X._reduxifyStore__closure, X._reduxifyStore_closure1, M._indentString_closure, M._prettyObj_closure, M._prettyObj_closure0, M._prettyObj_closure1, M._prettyObj_closure_renderSubKey, M._prettyObj__closure, M._prettyObj_closure2, M._prettyObj_closure3, M.Context_joinAll_closure, M.Context_split_closure, M._validateArgList_closure, X.ParsedPath__splitExtension_closure, X.ParsedPath__splitExtension_closure0, S.optimizedRanges_closure, S.optimizedRanges_closure0, E._single_closure, E._range_closure, E._sequence_closure, E._pattern_closure, D.string_closure, X.SeparatedBy_separatedBy_closure, L.Browser_getCurrentBrowser_closure, L.Browser_getCurrentBrowser_closure0, N.OperatingSystem_getCurrentOperatingSystem_closure, N.OperatingSystem_getCurrentOperatingSystem_closure0, N.linux_closure, N.mac_closure, N.unix_closure, N.windows_closure, A.hashObjects_closure0, S.zip_closure, S.zip_closure0, S.zip_closure1, V.ReactComponentFactoryProxy_call_closure, V.registerComponent2_closure, V.a_closure, V.br_closure, V.button_closure, V.div_closure, V.form_closure, V.img_closure, V.input_closure, V.label_closure, V.li_closure, V.option_closure, V.p_closure, V.select_closure, V.span_closure, V.textarea_closure, V.title_closure, V.ul_closure, V.circle_closure, V.g_closure, V.image_closure, V.line_closure, V.path_closure, V.polygon_closure, V.polyline_closure, V.rect_closure, V.text_closure, V.textPath_closure, A.ReactJsContextComponentFactoryProxy_build_closure, L.JsBackedMap__values_closure, R._convertDataTree__convert, R.render_closure, R.findDOMNode_closure, M.createContext_jsifyCalculateChangedBitsArgs, Z.isBugPresent_closure, Q.ReactDartInteropStatics2_initComponent_closure, Q.ReactDartInteropStatics2_handleComponentDidMount_closure, Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure, Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure, Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure, Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure, Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure, Q.ReactDartInteropStatics2_handleComponentDidCatch_closure, Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure, Q.ReactDartInteropStatics2_handleRender_closure, E.convertRefValue2_closure, X.Store__createReduceAndNotify_closure, X.Store__createDispatchers_closure, B.combineReducers_closure, U.SkipUndo_SkipUndo_closure, U.Undo_Undo_closure, U.Redo_Redo_closure, U.BatchAction_BatchAction_closure, U.ThrottledActionFast_ThrottledActionFast_closure, U.ThrottledActionNonFast_ThrottledActionNonFast_closure, U.EditModeToggle_EditModeToggle_closure, U.SelectModeToggle_SelectModeToggle_closure, U.SetAppUIStateStorable_SetAppUIStateStorable_closure, U.ShowDNASet_ShowDNASet_closure, U.ShowDomainNamesSet_ShowDomainNamesSet_closure, U.ShowStrandNamesSet_ShowStrandNamesSet_closure, U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure, U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure, U.ShowModificationsSet_ShowModificationsSet_closure, U.ModificationFontSizeSet_ModificationFontSizeSet_closure, U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure, U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure, U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure, U.ShowMismatchesSet_ShowMismatchesSet_closure, U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure, U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure, U.OxviewShowSet_OxviewShowSet_closure, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure, U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure, U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure, U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure, U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure, U.LoadDNAFile_LoadDNAFile_closure, U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure, U.NewDesignSet_NewDesignSet_closure, U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure, U.HelixRollSetAtOther_HelixRollSetAtOther_closure, U.ErrorMessageSet_ErrorMessageSet_closure, U.SelectionBoxCreate_SelectionBoxCreate_closure, U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure, U.SelectionBoxRemove_SelectionBoxRemove_closure, U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure, U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure, U.Select_Select_closure, U.SelectionsClear_SelectionsClear_closure, U.SelectAllSelectable_SelectAllSelectable_closure, U.DeleteAllSelected_DeleteAllSelected_closure, U.HelixAdd_HelixAdd_closure, U.HelixRemove_HelixRemove_closure, U.HelixSelect_HelixSelect_closure, U.HelixSelectionsClear_HelixSelectionsClear_closure, U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure, U.HelixIdxsChange_HelixIdxsChange_closure, U.ExportDNA_ExportDNA_closure, U.ExportCanDoDNA_ExportCanDoDNA_closure, U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure, U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure, U.ExtensionAdd_ExtensionAdd_closure, U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure, U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure, U.LoopoutLengthChange_LoopoutLengthChange_closure, U.LoopoutsLengthChange_LoopoutsLengthChange_closure, U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure, U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure, U.ManualPasteInitiate_ManualPasteInitiate_closure, U.AutoPasteInitiate_AutoPasteInitiate_closure, U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure, U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure, U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure, U.InsertionAdd_clone_for_other_domain_closure, U.InsertionLengthChange_clone_for_other_domain_closure, U.InsertionLengthChange_InsertionLengthChange_closure, U.InsertionsLengthChange_InsertionsLengthChange_closure, U.DeletionAdd_clone_for_other_domain_closure, U.InsertionRemove_clone_for_other_domain_closure, U.InsertionRemove_InsertionRemove_closure, U.DeletionRemove_DeletionRemove_closure, U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure, U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure, U.ModificationsInternalEdit_ModificationsInternalEdit_closure, U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure, U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure, U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure, U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure, U.ShowSliceBarSet_ShowSliceBarSet_closure, U.SliceBarOffsetSet_SliceBarOffsetSet_closure, U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure, U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure, U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure, U.Autobreak_Autobreak_closure, U.OxdnaExport_OxdnaExport_closure, U.OxviewExport_OxviewExport_closure, G.App_start_closure, G.App_setup_warning_before_unload_closure, G.App_setup_save_design_to_localStorage_before_unload_closure, G.setup_undo_redo_keyboard_listeners_closure, G.setup_save_open_dna_file_keyboard_listeners_closure, G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure, N.BuiltMapValues_map_values_closure, Z.horizontal_reflection_of_strands_closure, Z.horizontal_reflection_of_strands_closure0, Z.reflect_insertions_closure, Z.reflect_insertions_closure0, Z.vertical_reflection_of_strands_closure, Z.vertical_reflection_of_strands_closure0, E.find_allowable_offset_closure, E.find_allowable_offset_closure0, E.find_allowable_offset_closure1, A._save_file_codenano_closure, F.export_dna_sequences_middleware_closure, F.export_dna_sequences_middleware_closure0, F.export_dna_sequences_middleware_closure1, F.export_dna_sequences_middleware_closure2, F.export_dna_closure, F.export_dna_closure0, F.cando_compatible_csv_export_closure, V.get_svg_elements_of_base_pairs_closure, V.make_portable_closure, X.forbid_create_circular_strand_no_crossovers_middleware_closure, B._get_helices_to_process_closure, B._first_crossover_addresses_between_helices_closure, B._first_crossover_addresses_between_helices_closure0, B._calculate_rolls_and_positions_closure, R.helix_idxs_change_middleware_closure, R.helix_idxs_change_middleware_closure0, K.load_file_middleware_closure, F.start_timer_periodic_design_save_local_storage_closure, T._save_file_closure, U.app_state_reducer_closure, U.app_state_reducer_closure0, K.ui_state_local_reducer_closure, K.example_designs_idx_set_reducer_closure, K.app_ui_state_storable_global_reducer_closure, K.app_ui_state_storable_global_reducer_closure0, K.app_ui_state_storable_global_reducer_closure1, K.app_ui_state_storable_local_reducer_closure, K.ui_state_global_reducer_closure, M.compute_domain_name_complements_closure, M.compute_domain_name_complements_closure0, M.compute_domain_name_complements_for_bound_domains_closure, M.compute_domain_name_complements_for_bound_domains_closure0, X.convert_crossover_to_loopout_reducer_closure, X.convert_crossovers_to_loopouts_reducer_closure, X.convert_crossovers_to_loopouts_reducer_closure0, X.loopouts_length_change_reducer_closure, X.loopouts_length_change_reducer_closure0, X.loopouts_length_change_reducer_closure1, X.extensions_num_bases_change_reducer_closure, X.extensions_num_bases_change_reducer_closure0, X.loopout_length_change_reducer_closure, X.loopout_length_change_reducer_closure0, X.extension_num_bases_change_reducer_closure, X.extension_num_bases_change_reducer_closure0, X.extension_display_length_angle_change_reducer_closure, X.extension_display_length_angle_change_reducer_closure0, G.delete_all_reducer_closure, G.delete_all_reducer_closure0, G.delete_all_reducer_closure1, G.delete_all_reducer_closure2, G.delete_all_reducer_closure3, G.delete_all_reducer_closure4, G.delete_all_reducer_closure5, G.delete_all_reducer_closure6, G.delete_all_reducer_closure7, G.delete_all_reducer_closure8, G._remove_strands_closure, G._remove_strands__closure, G.remove_linkers_from_strand_closure, G.remove_linkers_from_strand_closure0, G.create_new_strands_from_substrand_lists_closure, G.create_new_strands_from_substrand_lists_closure0, G.create_new_strands_from_substrand_lists_closure1, G._remove_extension_from_strand_closure, G._remove_domains_from_strand_closure, G.remove_deletions_and_insertions_closure, G.remove_deletions_and_insertions_closure0, G.remove_deletions_and_insertions_closure1, G.remove_deletions_and_insertions_closure2, G.remove_modifications_closure, U.design_composed_local_reducer_closure, U.design_composed_global_reducer_closure, U.design_geometry_set_reducer_closure, U.design_geometry_set_reducer_closure0, Z.dna_ends_move_adjust_reducer_closure, A.dna_extensions_move_adjust_reducer_closure, Q.domains_move_start_selected_domains_reducer_closure, Q.domains_adjust_address_reducer_closure, Q.domains_adjust_address_reducer_closure0, Q.is_allowable_closure3, Q.is_allowable_closure4, Q.is_allowable_closure5, Q.is_allowable_closure6, Q.move_domain_closure, Q.move_domain__closure, Q.move_domain__closure0, Q.move_domain___closure, B.toggle_edit_mode_reducer_closure, B.toggle_edit_mode_reducer_closure0, O.grid_change_reducer_closure, O.grid_change_reducer__closure, O.group_add_reducer_closure, O.group_remove_reducer_closure, O.group_change_reducer_closure, O.move_helices_to_group_groups_reducer_closure, O.move_helices_to_group_groups_reducer_closure0, V.helix_idx_change_reducer_closure, V.helix_idx_change_reducer_closure0, V.helix_idx_change_reducer_closure1, V.helix_idx_change_reducer_closure2, V.helix_idx_change_reducer_closure3, V.change_groups_closure, V._change_offset_one_helix_closure, V.helix_offset_change_all_with_moving_strands_reducer_closure, V.helix_offset_change_all_with_moving_strands_reducer_map_func, V.helix_offset_change_all_with_moving_strands_reducer_map_func0, V.helix_offset_change_all_while_creating_strand_reducer_closure, V.helix_offset_change_all_while_creating_strand_reducer_closure0, V.helix_offset_change_all_while_creating_strand_reducer_closure1, V.helix_offset_change_all_while_creating_strand_reducer_closure2, V.first_replace_strands_reducer_closure, V.first_replace_strands_reducer_closure0, V.reset_helices_offsets_closure, V.reset_helices_offsets_closure0, V.helix_offset_change_all_reducer_map_func, V._min_offset_set_by_domains_one_helix_closure, V._max_offset_set_by_domains_one_helix_closure, V.helix_min_offset_set_by_domains_all_reducer_map_func, V.helix_max_offset_set_by_domains_all_reducer_map_func, V.helix_max_offset_set_by_domains_all_same_max_reducer_closure, V.helix_max_offset_set_by_domains_all_same_max_reducer__closure, V.helix_major_tick_distance_change_all_reducer_closure, V.helix_major_ticks_change_all_reducer_closure, V.helix_major_tick_start_change_all_reducer_closure, V.helix_major_tick_periodic_distances_change_all_reducer_closure, V._change_major_tick_distance_one_helix_closure, V._change_major_tick_start_one_helix_closure, V._change_major_tick_periodic_distances_one_helix_closure, V._change_major_ticks_one_helix_closure, V.helix_roll_set_reducer_closure, V.helix_roll_set_at_other_reducer_closure, V.helix_add_design_reducer_closure, V.helix_add_design_reducer_closure0, V.helix_remove_design_global_reducer_closure, V.helix_remove_design_global_reducer_closure0, V.helix_remove_all_selected_design_global_reducer_closure, V.helix_remove_all_selected_design_global_reducer_closure0, V.remove_helix_assuming_no_domains_closure, V.remove_helices_assuming_no_domains_closure, V.remove_helices_assuming_no_domains__closure, V.helix_group_change_reducer_closure, V.helix_group_change_reducer__closure, V.helix_individual_grid_position_set_reducer_closure, V.helix_individual_position_set_reducer_closure, V.move_helices_to_group_helices_reducer_closure, Z.helix_group_move_adjust_translation_reducer_closure, Z.helix_group_move_commit_global_reducer_closure, Z.helix_group_move_commit_global_reducer_closure0, R.inline_insertions_deletions_reducer_closure, R.inline_insertions_deletions_reducer_closure0, R.inline_insertions_deletions_reducer_closure1, R._inline_deletions_insertions_on_helix_closure, R._inline_deletions_insertions_on_helix_closure0, R._inline_deletions_insertions_on_helix_closure1, R._inline_deletions_insertions_on_helix_closure2, R._inline_deletions_insertions_on_helix_closure3, R._inline_deletions_insertions_on_helix_closure4, R._inline_deletions_insertions_on_helix_closure5, D.insertion_deletion_reducer_closure, D.insertion_add_reducer_closure, D.insertion_add_reducer_closure0, D.insertion_remove_reducer_closure, D.deletion_add_reducer_closure, D.deletion_remove_reducer_closure, D.insertion_length_change_reducer_closure, D.insertion_length_change_reducer_closure0, D.insertions_length_change_reducer_closure, D.insertions_length_change_reducer_closure0, D.insertions_length_change_reducer_closure1, S.load_dna_file_reducer_closure, S.load_dna_file_reducer_closure0, S.load_dna_file_reducer__closure0, S.load_dna_file_reducer_closure1, S.load_dna_file_reducer_closure2, S.load_dna_file_reducer__closure, U._update_mouseover_datas_with_helix_rotation_closure, U._update_mouseover_datas_with_helix_rotation_closure0, F.nick_reducer_closure, F.nick_reducer_closure0, F.nick_reducer_closure1, F.nick_reducer_closure2, F.nick_reducer_closure3, F.nick_reducer_closure4, F.nick_reducer_closure5, F.nick_reducer_closure6, F.nick_reducer_closure7, F.nick_reducer_closure8, F.nick_reducer_closure9, F.ligate_reducer_closure, F.find_end_pairs_to_connect_in_group_closure, F._join_strands_with_crossover_closure, F._join_strands_with_crossover_closure0, F._join_strands_with_crossover_closure1, F.potential_crossover_move_reducer_closure, D.select_all_selectables_reducer_closure, D.select_all_selectables_reducer_closure0, D.select_all_selectables_reducer_closure1, D.select_all_selectables_reducer_closure2, D.select_all_with_same_reducer_closure, D.helix_selections_adjust_reducer_closure, D.helix_selections_adjust_reducer_closure0, D.helix_select_reducer_closure, D.helix_select_reducer_closure0, D.helix_remove_selected_reducer_closure, D.selection_box_size_changed_reducer_closure, D.selection_rope_mouse_move_reducer_closure, D.selection_rope_mouse_move_reducer_closure0, D.selection_rope_add_point_reducer_closure, D.selection_rope_add_point_reducer_closure0, M.strand_create_adjust_offset_reducer_closure, M.strand_create_adjust_offset_reducer_closure0, X.parse_strands_and_helices_view_order_from_clipboard_closure, X.compute_default_next_address_closure, X.compute_default_next_address_closure0, X.compute_default_next_address_closure1, X.compute_default_next_address_closure2, X.manual_paste_copy_info_reducer_closure, X.manual_paste_copy_info_reducer_closure0, D.strands_move_start_selected_strands_reducer_closure, D.strands_adjust_address_reducer_closure, D.strands_adjust_address_reducer_closure0, D.is_allowable_closure, D.is_allowable_closure0, D.is_allowable_closure1, D.is_allowable_closure2, E.substrand_name_set_reducer_closure, E.substrand_name_set_reducer_closure0, E.substrand_name_set_reducer_closure1, E.substrand_name_set_reducer_closure2, E.substrand_label_set_reducer_closure, E.substrand_label_set_reducer_closure0, E.substrand_label_set_reducer_closure1, E.substrand_label_set_reducer_closure2, E.one_strand_strands_move_copy_commit_reducer_closure, E.move_strand_closure, E.move_strand__closure, E.move_strand__closure0, E.move_strand___closure, E.move_strand_closure0, E.one_strand_domains_move_commit_reducer_closure, E.strands_dna_ends_move_commit_reducer_closure, E.strands_dna_extensions_move_commit_reducer_closure, E.strands_dna_extensions_move_commit_reducer_closure0, E.single_strand_dna_ends_commit_stop_reducer_closure, E.single_strand_dna_ends_commit_stop_reducer_closure0, E.single_strand_dna_ends_commit_stop_reducer_closure1, E.single_strand_dna_ends_commit_stop_reducer_closure2, E.single_strand_dna_ends_commit_stop_reducer_closure3, E.single_strand_dna_ends_commit_stop_reducer_closure4, E.get_remaining_deletions_closure, E.get_remaining_insertions_closure, E.strand_create_closure, E.vendor_fields_remove_reducer_closure, E.plate_well_vendor_fields_remove_reducer_closure, E.plate_well_vendor_fields_assign_reducer_closure, E.scale_purification_vendor_fields_assign_reducer_closure, E.strand_name_set_reducer_closure, E.strand_label_set_reducer_closure, E.extension_add_reducer_closure, E.modification_add_reducer_closure, E.modification_add_reducer_closure0, E.modification_add_reducer_closure1, E.modification_remove_reducer_closure, E.modification_remove_reducer_closure0, E.modification_remove_reducer_closure1, E.modification_edit_reducer_closure, E.modification_edit_reducer_closure0, E.modification_edit_reducer_closure1, E.scaffold_set_reducer_closure, E.strand_or_substrand_color_set_reducer_closure, E.strand_or_substrand_color_set_reducer_closure0, E.strand_or_substrand_color_set_reducer_closure1, E.strand_or_substrand_color_set_reducer_closure2, E.strand_or_substrand_color_set_reducer_closure3, E.modifications_5p_edit_reducer_closure, E.modifications_3p_edit_reducer_closure, E.modifications_int_edit_reducer_closure, S.create_new_state_with_new_design_and_undo_redo_closure, S.create_new_state_with_new_design_and_undo_redo__closure, S.create_new_state_with_new_design_and_undo_redo__closure0, S.redo_reducer_closure, S.redo_reducer__closure, S.redo_reducer__closure0, S.undo_redo_clear_reducer_closure, S.undoable_action_typed_reducer_closure, S.undoable_action_typed_reducer__closure, X.combineGlobalReducers_closure, K.standard_serializers_closure, K._$serializers_closure, K._$serializers_closure0, K._$serializers_closure1, K._$serializers_closure2, K._$serializers_closure3, K._$serializers_closure4, K._$serializers_closure5, K._$serializers_closure6, K._$serializers_closure7, K._$serializers_closure8, K._$serializers_closure9, K._$serializers_closure10, K._$serializers_closure11, K._$serializers_closure12, K._$serializers_closure13, K._$serializers_closure14, K._$serializers_closure15, K._$serializers_closure16, K._$serializers_closure17, K._$serializers_closure18, K._$serializers_closure19, K._$serializers_closure20, K._$serializers_closure21, K._$serializers_closure22, K._$serializers_closure23, K._$serializers_closure24, K._$serializers_closure25, K._$serializers_closure26, K._$serializers_closure27, K._$serializers_closure28, K._$serializers_closure29, K._$serializers_closure30, K._$serializers_closure31, K._$serializers_closure32, K._$serializers_closure33, K._$serializers_closure34, K._$serializers_closure35, K._$serializers_closure36, K._$serializers_closure37, K._$serializers_closure38, K._$serializers_closure39, K._$serializers_closure40, K._$serializers_closure41, K._$serializers_closure42, K._$serializers_closure43, K._$serializers_closure44, K._$serializers_closure45, K._$serializers_closure46, K._$serializers_closure47, K._$serializers_closure48, K._$serializers_closure49, K._$serializers_closure50, K._$serializers_closure51, K._$serializers_closure52, K._$serializers_closure53, K._$serializers_closure54, K._$serializers_closure55, K._$serializers_closure56, K._$serializers_closure57, K._$serializers_closure58, K._$serializers_closure59, K._$serializers_closure60, K._$serializers_closure61, K._$serializers_closure62, K._$serializers_closure63, K._$serializers_closure64, K._$serializers_closure65, K._$serializers_closure66, K._$serializers_closure67, K._$serializers_closure68, K._$serializers_closure69, K._$serializers_closure70, K._$serializers_closure71, K._$serializers_closure72, K._$serializers_closure73, K._$serializers_closure74, K._$serializers_closure75, K._$serializers_closure76, K._$serializers_closure77, K._$serializers_closure78, K._$serializers_closure79, K._$serializers_closure80, B.ContextMenuItem_ContextMenuItem_closure, B.CopyInfo_CopyInfo_closure, B.CopyInfo_create_strands_move_closure, B.CopyInfo_create_strands_move_closure0, T.Crossover_Crossover_closure, N.Design_Design_closure, N.Design_Design_closure0, N.Design_Design_closure1, N.Design__initializeBuilder_closure, N.Design_helices_in_group_closure, N.Design_address_crossover_pairs_by_helix_idx_closure, N.Design_domain_mismatches_map_closure, N.Design_unpaired_insertion_deletion_map_closure, N.Design_max_offset_closure, N.Design_min_offset_closure, N.Design_add_strands_closure, N.Design_remove_strands_closure, N.Design_remove_strands__closure, N.Design_has_nondefault_min_offset_closure, N.Design__groups_from_json_closure, N.Design__groups_from_json_closure0, N.Design_from_json_closure, N.Design_from_json_closure0, N.Design_assign_modifications_to_strands_closure, N.Design_assign_modifications_to_strands_closure0, N.Design_assign_modifications_to_strands_closure1, N.Design_check_strands_overlap_legally_err_msg, N.Design_check_strands_overlap_legally_closure, N.Design_domains_on_helix_closure, N.Design_domains_on_helix_overlapping_closure, N.Design_domain_name_mismatches_closure, N.Design_base_pairs_with_domain_strand_closure, N.Design_base_pairs_with_domain_strand_closure0, N.Design_base_pairs_with_domain_strand_closure1, N.Design_base_pairs_with_domain_strand_closure2, N.Design__base_pairs_closure, N.Design_find_overlapping_domains_on_helix_closure, N.Design_find_overlapping_domains_on_helix_closure0, N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure, N._calculate_groups_from_helix_builder_closure, N.assign_default_helices_view_orders_to_groups_closure, N.construct_helix_idx_to_domains_map_closure, V.DesignSideRotationParams_DesignSideRotationParams_closure, V.DesignSideRotationData_DesignSideRotationData_closure, E.Dialog_Dialog_closure, E.DialogInteger_DialogInteger_closure, E.DialogFloat_DialogFloat_closure, E.DialogText_DialogText_closure, E.DialogTextArea_DialogTextArea_closure, E.DialogCheckbox_DialogCheckbox_closure, E.DialogRadio_DialogRadio_closure, E.DialogLink_DialogLink_closure, E.DialogLabel_DialogLabel_closure, X.DNAAssignOptions_DNAAssignOptions_closure, Z.DNAEnd_DNAEnd_closure, G.Insertion_Insertion_closure, G.Domain_Domain_closure, G.Domain_set_dna_sequence_closure, G.Domain_to_json_serializable_closure, G.Domain_parse_json_insertions_closure, G.Domain_dna_length_in_closure, G.Domain_dna_length_in_closure0, G.Domain_dna_sequence_deletions_insertions_to_spaces_closure, G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0, G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds, G.Domain_net_ins_del_length_increase_from_5p_to_closure, G.Domain_net_ins_del_length_increase_from_5p_to_closure0, V.DomainsMove_DomainsMove_closure, D.strands_comparison_function_compare, D.csv_export_closure, D.idt_bulk_export_closure, S.Extension_Extension_closure, S.Extension_set_dna_sequence_closure, N.Geometry_Geometry_closure, N.Geometry_from_json_closure, N.Geometry_from_json_closure0, D.GridPosition_GridPosition_closure, O.HelixGroup_HelixGroup_closure, O.Helix_Helix_closure, O.Helix_relax_roll_closure, G.HelixGroupMove_HelixGroupMove_closure, G.HelixGroupMove_current_position_closure, Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure, Y.LocalStorageDesignChoice_to_on_edit_closure, Y.LocalStorageDesignChoice_to_on_exit_closure, Y.LocalStorageDesignChoice_to_never_closure, Y.LocalStorageDesignChoice_to_periodic_closure, Y.LocalStorageDesignChoice_change_period_closure, G.Loopout_Loopout_closure, G.Loopout_set_dna_sequence_closure, Z.Modification_from_json_closure, Z.Modification_from_json_closure0, Z.Modification_from_json_closure1, Z.Modification5Prime_Modification5Prime_closure, Z.Modification3Prime_Modification3Prime_closure, Z.ModificationInternal_ModificationInternal_closure, K.MouseoverParams_MouseoverParams_closure, K.MouseoverData_MouseoverData_closure, X.Position3D_Position3D_closure, S.PotentialCrossover_PotentialCrossover_closure, N.SelectModeState_add_mode_closure, N.SelectModeState_remove_mode_closure, N.SelectModeState_add_modes_closure, N.SelectModeState_remove_modes_closure, N.SelectModeState_set_modes_closure, E.SelectablesStore_selected_strands_closure, E.SelectablesStore_selected_crossovers_closure, E.SelectablesStore_selected_loopouts_closure, E.SelectablesStore_selected_extensions_closure, E.SelectablesStore_selected_domains_closure, E.SelectablesStore_selected_dna_ends_closure, E.SelectablesStore_selected_dna_ends_on_domains_closure, E.SelectablesStore_selected_dna_ends_on_extensions_closure, E.SelectablesStore_selected_deletions_closure, E.SelectablesStore_selected_insertions_closure, E.SelectablesStore_selected_modifications_closure, E.SelectablesStore_select_closure, E.SelectablesStore_unselect_closure, E.SelectablesStore_clear_closure, E.SelectablesStore_select_all_closure, E.SelectablesStore_toggle_all_closure, E.SelectionBox_SelectionBox_closure, F.SelectionRope_SelectionRope_closure, F.Line_Line_closure, E.Strand_Strand_closure, E.Strand__finalizeBuilder_closure, E.Strand__finalizeBuilder_closure0, E.Strand__finalizeBuilder_closure1, E.Strand__finalizeBuilder_closure2, E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure, E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure, E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure, E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure, E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure, E.Strand__at_least_one_substrand_has_dna_sequence_closure, E.Strand_remove_dna_sequence_closure, E.Strand_set_dna_sequence_closure, E.Strand__net_ins_del_length_increase_from_5p_to_closure, E.Strand__net_ins_del_length_increase_from_5p_to_closure0, E.Strand_from_json_closure, E.Strand_from_json_closure0, E.Strand_from_json_closure1, U.StrandCreation_StrandCreation_closure, U.StrandsMove_StrandsMove_closure, T.UndoRedo_UndoRedo_closure, T.UndoRedoItem_UndoRedoItem_closure, T.VendorFields_VendorFields_closure, T.VendorFields_from_json_closure, E.are_all_close_closure, E.get_text_file_content_closure, E.get_binary_file_content_closure, E.dialog_closure, E.dialog__closure, E.copy_svg_as_png_closure, E.wc_closure, E.svg_to_png_data_closure, E.async_alert_closure, E.average_angle_closure, B.$End3PrimeComponentFactory_closure, A.$End5PrimeComponentFactory_closure, U.DesignViewComponent_handle_keyboard_mouse_events_closure, U.DesignViewComponent_handle_keyboard_mouse_events_closure0, U.DesignViewComponent_handle_keyboard_mouse_events_closure1, U.DesignViewComponent_handle_keyboard_mouse_events_closure2, U.DesignViewComponent_handle_keyboard_mouse_events_closure3, U.DesignViewComponent_handle_keyboard_mouse_events_closure4, U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode, U.DesignViewComponent_handle_keyboard_mouse_events_closure5, U.DesignViewComponent_handle_keyboard_mouse_events_closure6, U.DesignViewComponent_handle_keyboard_mouse_events_closure7, U.DesignViewComponent_handle_keyboard_mouse_events_closure8, U.DesignViewComponent_install_draggable_closure, U.DesignViewComponent_install_draggable_closure0, U.DesignViewComponent_install_draggable_closure1, U.paste_strands_manually_closure, U.paste_strands_auto_closure, S.ConnectedDesignContextMenu_closure, S.context_menu_to_ul_closure, S.$DesignContextMenuComponentFactory_closure, S.$DesignContextSubmenuComponentFactory_closure, S.ConnectedDesignDialogForm_closure, S.DesignDialogFormComponent_getDerivedStateFromProps_closure, S.DesignDialogFormComponent_render_closure, S.DesignDialogFormComponent_dialog_for_closure, S.DesignDialogFormComponent_dialog_for__closure6, S.DesignDialogFormComponent_dialog_for__closure7, S.DesignDialogFormComponent_dialog_for_closure0, S.DesignDialogFormComponent_dialog_for__closure5, S.DesignDialogFormComponent_dialog_for_closure1, S.DesignDialogFormComponent_dialog_for__closure4, S.DesignDialogFormComponent_dialog_for_closure2, S.DesignDialogFormComponent_dialog_for__closure3, S.DesignDialogFormComponent_dialog_for_closure3, S.DesignDialogFormComponent_dialog_for__closure2, S.DesignDialogFormComponent_dialog_for_closure4, S.DesignDialogFormComponent_dialog_for__closure1, S.DesignDialogFormComponent_dialog_for_closure5, S.DesignDialogFormComponent_dialog_for__closure0, S.DesignDialogFormComponent_dialog_for_closure6, S.DesignDialogFormComponent_dialog_for__closure, S.$DesignDialogFormComponentFactory_closure, V.ConnectedDesignFooter_closure, V.$DesignFooterComponentFactory_closure, Q.ConnectedLoadingDialog_closure, Q.$DesignLoadingDialogComponentFactory_closure, V.ConnectedDesignMain_closure, V.DesignMainComponent_render_closure, V.DesignMainComponent_render_closure0, V.DesignMainComponent_render_closure1, V.DesignMainComponent_render_closure2, V.DesignMainComponent_render_closure3, V.DesignMainComponent_render_closure4, V.DesignMainComponent_render_closure5, V.$DesignMainComponentFactory_closure, Q.ConnectedDesignMainArrows_closure, Q.$DesignMainArrowsComponentFactory_closure0, Z.$DesignMainBasePairLinesComponentFactory_closure, V.$DesignMainBasePairRectangleComponentFactory_closure, O.$DesignMainDNAMismatchesComponentFactory_closure, U.$DesignMainDNASequenceComponentFactory_closure, M.$DesignMainDNASequencesComponentFactory_closure, T.$DesignMainDomainMovingComponentFactory_closure, R.$DesignMainDomainNameMismatchesComponentFactory_closure, Y.ConnectedDesignMainDomainsMoving_closure, Y.ConnectedDesignMainDomainsMoving__closure, Y.$DesignMainDomainsMovingComponentFactory_closure, X.$DesignMainErrorBoundaryComponentFactory_closure, V.$DesignMainHelicesComponentFactory_closure, T.DesignMainHelixComponent_render_closure, T.DesignMainHelixComponent_render_closure0, T.DesignMainHelixComponent_render_closure1, T.DesignMainHelixComponent_render_closure2, T.DesignMainHelixComponent_render_closure3, T.DesignMainHelixComponent_render_closure4, T.$DesignMainHelixComponentFactory_closure, K.$DesignMainLoopoutExtensionLengthComponentFactory_closure, Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure, K.DesignMainPotentialVerticalCrossoverComponent_render_closure, K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure, S.DesignMainPotentialVerticalCrossoversComponent_render_closure, S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure, M.DesignMainSliceBarComponent_render_closure, M.$DesignMainSliceBarComponentFactory_closure, M.DesignMainStrandComponent_render_closure, M.DesignMainStrandComponent_assign_dna_closure, M.DesignMainStrandComponent_add_modification_closure, M.DesignMainStrandComponent_set_strand_name_closure, M.DesignMainStrandComponent_set_strand_label_closure, M.DesignMainStrandComponent_set_domain_names_closure, M.DesignMainStrandComponent_set_domain_labels_closure, M.DesignMainStrandComponent_remove_dna_closure, M.DesignMainStrandComponent_reflect_closure, M.DesignMainStrandComponent_context_menu_strand_closure, M.DesignMainStrandComponent_context_menu_strand_closure0, M.DesignMainStrandComponent_context_menu_strand_closure1, M.DesignMainStrandComponent_context_menu_strand_closure2, M.DesignMainStrandComponent_context_menu_strand_closure3, M.DesignMainStrandComponent_context_menu_strand_closure4, M.DesignMainStrandComponent_context_menu_strand_closure5, M.DesignMainStrandComponent_context_menu_strand_closure6, M.DesignMainStrandComponent_context_menu_strand_closure7, M.DesignMainStrandComponent_context_menu_strand_closure8, M.DesignMainStrandComponent_context_menu_strand_closure9, M.DesignMainStrandComponent_context_menu_strand__closure3, M.DesignMainStrandComponent_context_menu_strand_closure10, M.DesignMainStrandComponent_context_menu_strand_closure11, M.DesignMainStrandComponent_context_menu_strand_closure12, M.DesignMainStrandComponent_context_menu_strand__closure2, M.DesignMainStrandComponent_context_menu_strand_closure13, M.DesignMainStrandComponent_context_menu_strand__closure1, M.DesignMainStrandComponent_context_menu_strand_closure14, M.DesignMainStrandComponent_context_menu_strand_closure15, M.DesignMainStrandComponent_context_menu_strand__closure0, M.DesignMainStrandComponent_context_menu_strand_closure16, M.DesignMainStrandComponent_context_menu_strand_closure17, M.DesignMainStrandComponent_context_menu_strand_closure18, M.DesignMainStrandComponent_context_menu_strand_closure19, M.DesignMainStrandComponent_context_menu_strand_closure20, M.DesignMainStrandComponent_context_menu_strand__closure, M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure, M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0, M.DesignMainStrandComponent_custom_scale_value_closure, M.DesignMainStrandComponent_custom_purification_value_closure, M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure, M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0, M.DesignMainStrandComponent_select_plate_number_closure, M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure, M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0, M.DesignMainStrandComponent_ask_for_domain_names_closure, M.ask_for_label_closure, M.batch_if_multiple_selected_closure, M.get_selected_domains_closure, M.get_selected_domains_closure0, M.scaffold_set_strand_action_creator_closure, M.remove_dna_strand_action_creator_closure, M.name_set_strand_action_creator_closure, M.label_set_strand_action_creator_closure, M.$DesignMainStrandComponentFactory_closure, S.$DesignMainStrandAndDomainTextsComponentFactory_closure, R.$DesignMainStrandCreatingComponentFactory_closure, Q.DesignMainStrandCrossoverComponent_render_closure, Q.DesignMainStrandCrossoverComponent_render_closure0, Q.DesignMainStrandCrossoverComponent_render_closure1, Q.DesignMainStrandCrossoverComponent_render_closure2, Q.$DesignMainStrandCrossoverComponentFactory_closure, A.DesignMainStrandDeletionComponent_render_closure, A.DesignMainStrandDeletionComponent_render_closure0, A.DesignMainStrandDeletionComponent_render_closure1, A.DesignMainStrandDeletionComponent_render_closure2, A.$DesignMainStrandDeletionComponentFactory_closure, S.$DesignMainDNAEndComponentFactory_closure, F.ConnectedEndMoving_closure, F.$EndMovingComponentFactory_closure, T.ConnectedExtensionEndMoving_closure, T.$ExtensionEndMovingComponentFactory_closure, T.DesignMainDomainComponent_render_closure, T.DesignMainDomainComponent_render_closure0, T.DesignMainDomainComponent_render_closure1, T.$DesignMainDomainComponentFactory_closure, B.$DesignMainStrandDomainTextComponentFactory_closure, Q.DesignMainExtensionComponent_context_menu_extension_closure, Q.DesignMainExtensionComponent_context_menu_extension__closure0, Q.DesignMainExtensionComponent_context_menu_extension_closure0, Q.DesignMainExtensionComponent_context_menu_extension__closure, Q.DesignMainExtensionComponent_context_menu_extension_closure1, Q.DesignMainExtensionComponent_context_menu_extension_closure2, Q.DesignMainExtensionComponent_extension_num_bases_change_closure, Q.DesignMainExtensionComponent_set_extension_label_closure, Q.DesignMainExtensionComponent_ask_for_extension_name_closure, Q.$DesignMainExtensionComponentFactory_closure, R.$DesignMainStrandExtensionTextComponentFactory_closure, A.DesignMainStrandInsertionComponent_render_closure, A.DesignMainStrandInsertionComponent_render_closure0, A.DesignMainStrandInsertionComponent__insertion_background_closure, A.$DesignMainStrandInsertionComponentFactory_closure, R.DesignMainLoopoutComponent_render_closure, R.DesignMainLoopoutComponent_render_closure0, R.DesignMainLoopoutComponent_render_closure1, R.DesignMainLoopoutComponent_render_closure2, R.DesignMainLoopoutComponent_context_menu_loopout_closure, R.DesignMainLoopoutComponent_context_menu_loopout__closure0, R.DesignMainLoopoutComponent_context_menu_loopout_closure0, R.DesignMainLoopoutComponent_context_menu_loopout__closure, R.DesignMainLoopoutComponent_context_menu_loopout_closure1, R.DesignMainLoopoutComponent_context_menu_loopout_closure2, R.DesignMainLoopoutComponent_loopout_length_change_closure, R.DesignMainLoopoutComponent_set_loopout_label_closure, R.DesignMainLoopoutComponent_ask_for_loopout_name_closure, R.$DesignMainLoopoutComponentFactory_closure, S.$DesignMainStrandLoopoutTextComponentFactory_closure, X.DesignMainStrandModificationComponent_render_closure, X.DesignMainStrandModificationComponent_render_closure0, X.DesignMainStrandModificationComponent_context_menu_modification_closure, X.edit_modification_closure, X.edit_modification_closure0, X.edit_modification_closure1, X.$DesignMainStrandModificationComponentFactory_closure, R.$DesignMainStrandModificationsComponentFactory_closure, T.$DesignMainStrandMovingComponentFactory_closure, B.$DesignMainStrandPathsComponentFactory_closure, E.ConnectedDesignMainStrands_closure, E.DesignMainStrandsComponent_render_closure, E.$DesignMainStrandsComponentFactory_closure, F.ConnectedDesignMainStrandsMoving_closure, F.$DesignMainStrandsMovingComponentFactory_closure, B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure, R.$DesignMainWarningStarComponentFactory_closure, U.ConnectedDesignSide_closure, U.DesignSideComponent_render_closure, U.$DesignSideComponentFactory_closure, S.ConnectedDesignSideArrows_closure, S.$DesignMainArrowsComponentFactory_closure, B.DesignSideHelixComponent_render_closure, B.DesignSideHelixComponent_render_closure0, B.$DesignSideHelixComponentFactory_closure, Y.$DesignSidePotentialHelixComponentFactory_closure, O.$DesignSideRotationComponentFactory_closure, E.$DesignSideRotationArrowComponentFactory_closure, Z.ConnectedEditAndSelectModes_closure, Z.EditAndSelectModesComponent_render_closure, Z.$EditAndSelectModesComponentFactory_closure, M.EditModeComponent__button_for_choice_closure, M.$EditModeComponentFactory_closure, V.context_menu_helix_dialog_helix_set_min_offset, V.context_menu_helix_dialog_helix_set_max_offset, V.context_menu_helix_dialog_helix_set_idx, V.context_menu_helix_dialog_helix_set_roll, V.context_menu_helix_dialog_helix_set_major_tick_marks, V.context_menu_helix_dialog_helix_set_grid_position, V.context_menu_helix_dialog_helix_set_position, V.context_menu_helix_dialog_helix_set_group, V.context_menu_helix_helix_set_min_offset, V.context_menu_helix_helix_set_max_offset, V.context_menu_helix_helix_set_idx, V.context_menu_helix_helix_set_major_tick_marks, V.context_menu_helix_helix_set_roll, V.context_menu_helix_helix_set_position, V.context_menu_helix_helix_set_grid_position, V.context_menu_helix_helix_set_group, V.parse_major_ticks_and_check_validity_closure, V.parse_major_ticks_and_check_validity_closure0, V.parse_major_ticks_and_check_validity_closure1, V.parse_major_ticks_and_check_validity_closure2, V.parse_major_ticks_and_check_validity_closure3, V.parse_major_tick_distances_and_check_validity_closure, V.parse_helix_idxs_and_check_validity_closure, O.ConnectedHelixGroupMoving_closure, O.HelixGroupMovingComponent_render_closure, O.$HelixGroupMovingComponentFactory_closure, D.ConnectedMenu_closure, D.ConnectedMenu__closure, D.MenuComponent_file_menu_closure, D.MenuComponent_file_menu_closure0, D.MenuComponent_file_menu_closure1, D.MenuComponent_file_menu_closure2, D.MenuComponent_file_menu_closure3, D.MenuComponent_file_menu_closure4, D.MenuComponent_file_menu_closure5, D.MenuComponent_file_menu_closure6, D.MenuComponent_file_menu_save_design_local_storage_options_closure, D.MenuComponent_file_menu_save_design_local_storage_options_closure0, D.MenuComponent_file_menu_save_design_local_storage_options_closure1, D.MenuComponent_file_menu_save_design_local_storage_options_closure2, D.MenuComponent_file_menu_save_design_local_storage_options_closure3, D.MenuComponent_edit_menu_closure, D.MenuComponent_edit_menu_closure0, D.MenuComponent_edit_menu_closure1, D.MenuComponent_edit_menu_closure2, D.MenuComponent_edit_menu_closure3, D.MenuComponent_edit_menu_closure4, D.MenuComponent_undo_dropdowns_closure, D.MenuComponent_redo_dropdowns_closure, D.MenuComponent_undo_or_redo_dropdown_closure, D.MenuComponent_edit_menu_copy_paste_closure, D.MenuComponent_edit_menu_copy_paste_closure0, D.MenuComponent_edit_menu_copy_paste_closure1, D.MenuComponent_edit_menu_copy_paste_closure2, D.MenuComponent_edit_menu_copy_paste_closure3, D.MenuComponent_edit_menu_copy_paste_closure4, D.MenuComponent_edit_menu_copy_paste_closure5, D.MenuComponent_edit_menu_copy_paste_closure6, D.MenuComponent_edit_menu_copy_paste_closure7, D.MenuComponent_edit_menu_helix_rolls_closure, D.MenuComponent_edit_menu_helix_rolls_closure0, D.MenuComponent_edit_menu_helix_rolls_closure1, D.MenuComponent_edit_menu_helix_rolls_closure2, D.MenuComponent_edit_menu_helix_rolls_closure3, D.MenuComponent_view_menu_autofit_closure, D.MenuComponent_view_menu_autofit_closure0, D.MenuComponent_view_menu_warnings_closure, D.MenuComponent_view_menu_warnings_closure0, D.MenuComponent_view_menu_warnings_closure1, D.MenuComponent_view_menu_show_labels_closure, D.MenuComponent_view_menu_show_labels_closure0, D.MenuComponent_view_menu_show_labels_closure1, D.MenuComponent_view_menu_show_labels_closure2, D.MenuComponent_view_menu_show_labels_closure3, D.MenuComponent_view_menu_show_labels_closure4, D.MenuComponent_view_menu_show_labels_closure5, D.MenuComponent_view_menu_show_labels_closure6, D.MenuComponent_view_menu_mods_closure, D.MenuComponent_view_menu_mods_closure0, D.MenuComponent_view_menu_mods_closure1, D.MenuComponent_view_menu_helices_closure, D.MenuComponent_view_menu_helices_closure0, D.MenuComponent_view_menu_helices_closure1, D.MenuComponent_view_menu_helices_closure2, D.MenuComponent_view_menu_display_major_ticks_options_closure, D.MenuComponent_view_menu_display_major_ticks_options_closure0, D.MenuComponent_view_menu_display_major_ticks_options_closure1, D.MenuComponent_view_menu_display_major_ticks_options_closure2, D.MenuComponent_view_menu_display_major_ticks_options_closure3, D.MenuComponent_view_menu_display_major_ticks_options_closure4, D.MenuComponent_view_menu_base_pairs_closure, D.MenuComponent_view_menu_base_pairs_closure0, D.MenuComponent_view_menu_base_pairs_closure1, D.MenuComponent_view_menu_dna_closure, D.MenuComponent_view_menu_dna_closure0, D.MenuComponent_view_menu_show_oxview_closure, D.MenuComponent_view_menu_zoom_speed_closure, D.MenuComponent_view_menu_misc_closure, D.MenuComponent_view_menu_misc_closure0, D.MenuComponent_view_menu_misc_closure1, D.MenuComponent_view_menu_misc_closure2, D.MenuComponent_view_menu_misc_closure3, D.MenuComponent_view_menu_misc_closure4, D.MenuComponent_view_menu_misc_closure5, D.MenuComponent_export_menu_closure, D.MenuComponent_export_menu_closure0, D.MenuComponent_export_menu_closure1, D.MenuComponent_export_menu_closure2, D.MenuComponent_export_menu_closure3, D.MenuComponent_export_menu_closure4, D.MenuComponent_export_menu_closure5, D.MenuComponent_export_menu_closure6, D.MenuComponent_export_menu_closure7, D.MenuComponent_export_menu_closure8, D.MenuComponent_export_menu_closure9, D.MenuComponent_help_menu_closure, D.request_load_file_from_file_chooser_closure, D.request_load_file_from_file_chooser_closure0, D.$MenuComponentFactory_closure, Z.$MenuBooleanComponentFactory_closure, N.$MenuDropdownItemComponentFactory_closure, M.$MenuDropdownRightComponentFactory_closure, O.MenuFormFileComponent_render_closure, O.$MenuFormFileComponentFactory_closure, M.MenuNumberComponent_render_closure, M.$MenuNumberComponentFactory_closure, Q.ConnectedSideMenu_closure, Q.SideMenuComponent_groups_menu_closure, Q.SideMenuComponent_groups_menu_closure0, Q.SideMenuComponent_groups_menu_closure1, Q.SideMenuComponent_groups_menu_closure2, Q.SideMenuComponent_groups_menu_closure3, Q.SideMenuComponent_grid_menu_closure, Q.SideMenuComponent_add_new_group_closure, Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure, Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure, Q.$SideMenuComponentFactory_closure, M.ConnectedPotentialCrossoverView_closure, M.$PotentialCrossoverViewComponentFactory_closure, R.ConnectedPotentialExtensionsView_closure, R.PotentialExtensionsViewComponent_render_closure, R.$PotentialExtensionsViewComponentFactory_closure, D.SelectModeComponent_render_closure, D.SelectModeComponent_render_closure0, D.$SelectModeComponentFactory_closure, Y.ConnectedSelectionBoxView_closure, Y.$SelectionBoxViewComponentFactory_closure, A.ConnectedSelectionRopeView_closure, A.$SelectionRopeViewComponentFactory_closure, A.ConnectedStrandOrSubstrandColorPicker_closure, A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure, A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure, A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure, A.$StrandOrSubstrandColorPickerComponentFactory_closure, Q.setup_file_drag_and_drop_listener_closure, Q.setup_file_drag_and_drop_listener_closure0, Q.setup_file_drag_and_drop_listener__closure, Q.setup_file_drag_and_drop_listener__closure0, Q.setup_file_drag_and_drop_listener__closure1, U.Highlighter_closure, U.Highlighter$__closure, U.Highlighter$___closure, U.Highlighter$__closure0, U.Highlighter__collateLines_closure, U.Highlighter__collateLines_closure0, U.Highlighter__collateLines_closure1, U.Highlighter__collateLines__closure, U.Highlighter_highlight_closure, U.Highlighter__writeFileStart_closure, U.Highlighter__writeMultilineHighlights_closure, U.Highlighter__writeMultilineHighlights_closure0, U.Highlighter__writeMultilineHighlights_closure1, U.Highlighter__writeMultilineHighlights_closure2, U.Highlighter__writeMultilineHighlights__closure, U.Highlighter__writeMultilineHighlights__closure0, U.Highlighter__writeHighlightedText_closure, U.Highlighter__writeIndicator_closure, U.Highlighter__writeIndicator_closure0, U.Highlighter__writeIndicator_closure1, U.Highlighter__writeSidebar_closure, U._Highlight_closure, U.OdsDecoder__parseContent_closure, U.OdsDecoder__parseStyles_closure, U.OdsDecoder__parseTable_closure, U.OdsDecoder__parseTable_closure0, U.OdsDecoder__parseRow_closure, U.OdsDecoder__parseRow_closure0, U.OdsDecoder__readCell_closure, U.OdsDecoder__readString_closure, U.SpreadsheetDecoder__cloneArchive_closure, U.SpreadsheetDecoder__isEmptyRow_closure, U.cellCoordsFromCellId_closure, U.XlsxDecoder_insertRow_closure, U.XlsxDecoder_insertRow_closure0, U.XlsxDecoder_insertRow__closure, U.XlsxDecoder__parseRelations_closure, U.XlsxDecoder__parseStyles_closure, U.XlsxDecoder__parseSharedStrings_closure, U.XlsxDecoder__parseSharedString_closure, U.XlsxDecoder__parseContent_closure, U.XlsxDecoder__parseTable_closure, U.XlsxDecoder__parseRow_closure, U.XlsxDecoder__parseValue_closure, L.ManagedDisposer_dispose_closure, L._ObservableTimer_closure, L.Disposable__addObservableTimerDisposable_closure, L.Disposable__addObservableTimerDisposable_closure0, V.XmlGrammarDefinition_attribute_closure, V.XmlGrammarDefinition_attributeValueDouble_closure, V.XmlGrammarDefinition_attributeValueSingle_closure, V.XmlGrammarDefinition_comment_closure, V.XmlGrammarDefinition_declaration_closure, V.XmlGrammarDefinition_cdata_closure, V.XmlGrammarDefinition_doctype_closure, V.XmlGrammarDefinition_document_closure, V.XmlGrammarDefinition_element_closure, V.XmlGrammarDefinition_processing_closure, L.XmlDeclaration_copy_closure, S.XmlDocument_copy_closure, S.documentParserCache_closure, G.XmlElement_copy_closure, G.XmlElement_copy_closure0, N.createNameMatcher_closure, N.createNameMatcher_closure0, N.createNameMatcher_closure1, N.createNameMatcher_closure2, N.createNameMatcher_closure3, B.XmlNodeList_removeWhere_closure, B.XmlNodeList__expandFragment_closure]); - _inherit(H.CastList, H._CastListBase); - _inherit(P.MapBase, P.MapMixin); - _inheritMany(P.MapBase, [H.CastMap, H.JsLinkedHashMap, P._HashMap, P._JsonMap, W._AttributeMap, S._UiProps_MapBase_MapViewMixin, L.JsBackedMap]); - _inheritMany(P.Error, [H.LateError, H.ReachabilityError, H.NotNullableError, P.TypeError, H.JsNoSuchMethodError, H.UnknownJsTypeError, H.RuntimeError, P.AssertionError, H._Error, P.JsonUnsupportedObjectError, P.NullThrownError, P.ArgumentError, P.NoSuchMethodError, P.UnsupportedError, P.UnimplementedError, P.StateError, P.ConcurrentModificationError, P.CyclicInitializationError, Y.BuiltValueNullFieldError, Y.BuiltValueNestedFieldError, U.DeserializationError, B.UngeneratedError]); - _inherit(P.ListBase, P._ListBase_Object_ListMixin); - _inheritMany(P.ListBase, [H.UnmodifiableListBase, W._FrozenElementList, W._ChildNodeListLazy, P.FilteredElementList]); - _inheritMany(H.UnmodifiableListBase, [H.CodeUnits, P.UnmodifiableListView, P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin]); - _inheritMany(H.EfficientLengthIterable, [H.ListIterable, H.EmptyIterable, H.LinkedHashMapKeyIterable, P._HashMapKeyIterable, P._MapBaseValueIterable]); - _inheritMany(H.ListIterable, [H.SubListIterable, H.MappedListIterable, H.ReversedListIterable, P.ListQueue, P._JsonMapKeyIterable]); - _inherit(H.EfficientLengthMappedIterable, H.MappedIterable); - _inheritMany(P.Iterator, [H.MappedIterator, H.WhereIterator, H.TakeIterator, H.TakeWhileIterator, H.SkipIterator, H.SkipWhileIterator, U.XmlDescendantsIterator]); - _inherit(H.EfficientLengthTakeIterable, H.TakeIterable); - _inherit(H.EfficientLengthSkipIterable, H.SkipIterable); - _inherit(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P.MapView); - _inherit(P.UnmodifiableMapView, P._UnmodifiableMapView_MapView__UnmodifiableMapMixin); - _inherit(H.ConstantMapView, P.UnmodifiableMapView); - _inheritMany(H.ConstantMap, [H.ConstantStringMap, H.GeneralConstantMap]); - _inherit(H.Instantiation1, H.Instantiation); - _inherit(H.NullError, P.TypeError); - _inheritMany(H.TearOffClosure, [H.StaticClosure, H.BoundClosure]); - _inherit(H._AssertionError, P.AssertionError); - _inheritMany(P.IterableBase, [H._AllMatchesIterable, P._SyncStarIterable, D.Archive, U.XmlDescendantsIterable]); - _inheritMany(H.NativeTypedData, [H.NativeByteData, H.NativeTypedArray]); - _inheritMany(H.NativeTypedArray, [H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); - _inherit(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); - _inherit(H.NativeTypedArrayOfDouble, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); - _inherit(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); - _inherit(H.NativeTypedArrayOfInt, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); - _inheritMany(H.NativeTypedArrayOfDouble, [H.NativeFloat32List, H.NativeFloat64List]); - _inheritMany(H.NativeTypedArrayOfInt, [H.NativeInt16List, H.NativeInt32List, H.NativeInt8List, H.NativeUint16List, H.NativeUint32List, H.NativeUint8ClampedList, H.NativeUint8List]); - _inherit(H._TypeError, H._Error); - _inheritMany(P._StreamImpl, [P._ControllerStream, P._GeneratedStreamImpl]); - _inherit(P._BroadcastStream, P._ControllerStream); - _inheritMany(P._BufferingStreamSubscription, [P._ControllerSubscription, P._ForwardingStreamSubscription]); - _inherit(P._BroadcastSubscription, P._ControllerSubscription); - _inheritMany(P._BroadcastStreamController, [P._SyncBroadcastStreamController, P._AsyncBroadcastStreamController]); - _inheritMany(P._Completer, [P._AsyncCompleter, P._SyncCompleter]); - _inherit(P._SyncStreamController, P._StreamController); - _inheritMany(P._PendingEvents, [P._IterablePendingEvents, P._StreamImplEvents]); - _inheritMany(P._DelayedEvent, [P._DelayedData, P._DelayedError]); - _inherit(P._MapStream, P._ForwardingStream); - _inherit(P._RootZone, P._Zone); - _inheritMany(P._HashMap, [P._IdentityHashMap, P._CustomHashMap]); - _inheritMany(H.JsLinkedHashMap, [P._LinkedIdentityHashMap, P._LinkedCustomHashMap]); - _inherit(P._SetBase, P.__SetBase_Object_SetMixin); - _inheritMany(P._SetBase, [P._HashSet, P._LinkedHashSet, P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]); - _inherit(P.SetBase, P._SetBase_Object_SetMixin); - _inherit(P._UnmodifiableSet, P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin); - _inheritMany(P.Codec, [P.Encoding, P.Base64Codec, P.JsonCodec]); - _inheritMany(P.Encoding, [P.AsciiCodec, P.Latin1Codec, P.Utf8Codec]); - _inherit(P.Converter, P.StreamTransformerBase); - _inheritMany(P.Converter, [P._UnicodeSubsetEncoder, P._UnicodeSubsetDecoder, P.Base64Encoder, P.Base64Decoder, P.HtmlEscape, P.JsonEncoder, P.JsonDecoder, P.Utf8Encoder, P.Utf8Decoder]); - _inheritMany(P._UnicodeSubsetEncoder, [P.AsciiEncoder, P.Latin1Encoder]); - _inheritMany(P._UnicodeSubsetDecoder, [P.AsciiDecoder, P.Latin1Decoder]); - _inherit(P.ByteConversionSink, P.ChunkedConversionSink); - _inherit(P.ByteConversionSinkBase, P.ByteConversionSink); - _inherit(P._ByteCallbackSink, P.ByteConversionSinkBase); - _inherit(P.JsonCyclicError, P.JsonUnsupportedObjectError); - _inherit(P._JsonStringStringifier, P._JsonStringifier); - _inherit(P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, P._JsonStringStringifier); - _inherit(P._JsonStringStringifierPretty, P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin); - _inheritMany(P.ArgumentError, [P.RangeError, P.IndexError]); - _inherit(P._DataUri, P._Uri); - _inheritMany(W.EventTarget, [W.Node, W.AccessibleNode, W.FileReader, W.FileWriter, W.FontFaceSet, W.HttpRequestEventTarget, W.MediaKeySession, W.MessagePort, W.PresentationAvailability, W.SourceBuffer, W._SourceBufferList_EventTarget_ListMixin, W.TextTrack, W.TextTrackCue, W._TextTrackList_EventTarget_ListMixin, W.VideoTrackList, W.Window, W.WorkerGlobalScope, P.Request0, P.AudioNode, P.AudioTrackList, P.BaseAudioContext]); - _inheritMany(W.Node, [W.Element, W.CharacterData, W.Document, W._Attr]); - _inheritMany(W.Element, [W.HtmlElement, P.SvgElement]); - _inheritMany(W.HtmlElement, [W.AnchorElement, W.AreaElement, W.BaseElement, W.BodyElement, W.ButtonElement, W.CanvasElement, W.DataElement, W.DivElement, W.FormElement, W.IFrameElement, W.ImageElement, W.InputElement, W.LIElement, W.MediaElement, W.MeterElement, W.OptionElement, W.OutputElement, W.ParamElement, W.PreElement, W.ProgressElement, W.SelectElement, W.TemplateElement, W.TextAreaElement]); - _inheritMany(W.Event, [W.ApplicationCacheErrorEvent, W.BeforeUnloadEvent, W.ErrorEvent, W.UIEvent, W.MediaKeyMessageEvent, W.PresentationConnectionCloseEvent, W.ProgressEvent, W.SpeechRecognitionError, P.VersionChangeEvent]); - _inheritMany(W.CssStyleValue, [W.CssKeywordValue, W.CssNumericValue, W.CssTransformValue, W.CssUnparsedValue]); - _inherit(W.CssPerspective, W.CssTransformComponent); - _inherit(W.CssStyleDeclaration, W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase); - _inherit(W.CssStyleRule, W.CssRule); - _inherit(W.CssStyleSheet, W.StyleSheet); - _inherit(W.CssUnitValue, W.CssNumericValue); - _inheritMany(W.ReportBody, [W.DeprecationReport, W.InterventionReport]); - _inherit(W.DomPoint, W.DomPointReadOnly); - _inherit(W._DomRectList_Interceptor_ListMixin_ImmutableListMixin, W._DomRectList_Interceptor_ListMixin); - _inherit(W.DomRectList, W._DomRectList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._DomStringList_Interceptor_ListMixin_ImmutableListMixin, W._DomStringList_Interceptor_ListMixin); - _inherit(W.DomStringList, W._DomStringList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.ElementEvents, W.Events); - _inherit(W.File, W.Blob); - _inherit(W._FileList_Interceptor_ListMixin_ImmutableListMixin, W._FileList_Interceptor_ListMixin); - _inherit(W.FileList, W._FileList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W._HtmlCollection_Interceptor_ListMixin); - _inherit(W.HtmlCollection, W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.HtmlDocument, W.Document); - _inherit(W.HttpRequest, W.HttpRequestEventTarget); - _inheritMany(W.UIEvent, [W.KeyboardEvent, W.MouseEvent, W.TouchEvent]); - _inherit(W.MidiInputMap, W._MidiInputMap_Interceptor_MapMixin); - _inherit(W.MidiOutputMap, W._MidiOutputMap_Interceptor_MapMixin); - _inherit(W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin, W._MimeTypeArray_Interceptor_ListMixin); - _inherit(W.MimeTypeArray, W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._NodeList_Interceptor_ListMixin_ImmutableListMixin, W._NodeList_Interceptor_ListMixin); - _inherit(W.NodeList, W._NodeList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._PluginArray_Interceptor_ListMixin_ImmutableListMixin, W._PluginArray_Interceptor_ListMixin); - _inherit(W.PluginArray, W._PluginArray_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.PointerEvent, W.MouseEvent); - _inherit(W.ProcessingInstruction, W.CharacterData); - _inherit(W.RtcStatsReport, W._RtcStatsReport_Interceptor_MapMixin); - _inherit(W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, W._SourceBufferList_EventTarget_ListMixin); - _inherit(W.SourceBufferList, W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin); - _inherit(W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin, W._SpeechGrammarList_Interceptor_ListMixin); - _inherit(W.SpeechGrammarList, W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.Storage, W._Storage_Interceptor_MapMixin); - _inherit(W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin, W._TextTrackCueList_Interceptor_ListMixin); - _inherit(W.TextTrackCueList, W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, W._TextTrackList_EventTarget_ListMixin); - _inherit(W.TextTrackList, W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin); - _inherit(W._TouchList_Interceptor_ListMixin_ImmutableListMixin, W._TouchList_Interceptor_ListMixin); - _inherit(W.TouchList, W._TouchList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.VideoElement, W.MediaElement); - _inheritMany(W._WrappedEvent, [W._BeforeUnloadEvent, W.KeyEvent]); - _inherit(W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin, W.__CssRuleList_Interceptor_ListMixin); - _inherit(W._CssRuleList, W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._DomRect, W.DomRectReadOnly); - _inherit(W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin, W.__GamepadList_Interceptor_ListMixin); - _inherit(W._GamepadList, W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin, W.__NamedNodeMap_Interceptor_ListMixin); - _inherit(W._NamedNodeMap, W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin, W.__SpeechRecognitionResultList_Interceptor_ListMixin); - _inherit(W._SpeechRecognitionResultList, W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin, W.__StyleSheetList_Interceptor_ListMixin); - _inherit(W._StyleSheetList, W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(W._ElementAttributeMap, W._AttributeMap); - _inherit(P.CssClassSetImpl, P.SetBase); - _inheritMany(P.CssClassSetImpl, [W._ElementCssClassSet, P.AttributeClassSet]); - _inherit(W._ElementEventStreamImpl, W._EventStream); - _inherit(W._EventStreamSubscription, P.StreamSubscription); - _inherit(W._TemplatingNodeValidator, W._SimpleNodeValidator); - _inherit(P._StructuredCloneDart2Js, P._StructuredClone); - _inherit(P._AcceptStructuredCloneDart2Js, P._AcceptStructuredClone); - _inherit(P.CursorWithValue, P.Cursor); - _inheritMany(P.JsObject, [P.JsFunction, P._JsArray_JsObject_ListMixin]); - _inherit(P.JsArray, P._JsArray_JsObject_ListMixin); - _inherit(P.Rectangle, P._RectangleBase); - _inheritMany(P.SvgElement, [P.GraphicsElement, P.FEGaussianBlurElement, P.FEMergeElement, P.FEMergeNodeElement, P.FilterElement]); - _inheritMany(P.GraphicsElement, [P.AElement, P.GeometryElement, P.DefsElement, P.GElement, P.SvgSvgElement, P.TextContentElement]); - _inheritMany(P.GeometryElement, [P.CircleElement, P.PolygonElement, P.RectElement]); - _inherit(P._LengthList_Interceptor_ListMixin_ImmutableListMixin, P._LengthList_Interceptor_ListMixin); - _inherit(P.LengthList, P._LengthList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(P._NumberList_Interceptor_ListMixin_ImmutableListMixin, P._NumberList_Interceptor_ListMixin); - _inherit(P.NumberList, P._NumberList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(P._StringList_Interceptor_ListMixin_ImmutableListMixin, P._StringList_Interceptor_ListMixin); - _inherit(P.StringList, P._StringList_Interceptor_ListMixin_ImmutableListMixin); - _inheritMany(P.TextContentElement, [P.TextPositioningElement, P.TextPathElement]); - _inherit(P.TextElement, P.TextPositioningElement); - _inherit(P._TransformList_Interceptor_ListMixin_ImmutableListMixin, P._TransformList_Interceptor_ListMixin); - _inherit(P.TransformList, P._TransformList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(P.UnmodifiableUint8ListView, P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin); - _inherit(P.UnmodifiableInt32ListView, P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin); - _inherit(P.AudioParamMap, P._AudioParamMap_Interceptor_MapMixin); - _inherit(P.AudioScheduledSourceNode, P.AudioNode); - _inherit(P.ConstantSourceNode, P.AudioScheduledSourceNode); - _inherit(P.OfflineAudioContext, P.BaseAudioContext); - _inherit(P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin, P._SqlResultSetRowList_Interceptor_ListMixin); - _inherit(P.SqlResultSetRowList, P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin); - _inherit(R.ArchiveException, P.FormatException); - _inherit(T.InputStream, T.InputStreamBase); - _inherit(Q.OutputStream, Q.OutputStreamBase); - _inherit(Q.ZipFile, X.FileContent); - _inherit(D._BuiltList, D.BuiltList); - _inherit(R._BuiltListMultimap, R.BuiltListMultimap); + _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.TakeWhileIterable, A.SkipIterable, A.SkipWhileIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes, A.FixedList, A.XmlEventIterable]); + _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet, A.CastQueue]); + _inherit(A._EfficientLengthCastIterable, A.CastIterable); + _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin); + _inheritMany(A.Closure, [A.Closure2Args, A._CastListBase_removeWhere_closure, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.GeneralConstantMap__typeTest_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._SyncBroadcastStreamController__sendData_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_length_closure, A.Stream_first_closure0, A._RootZone_bindUnaryCallbackGuarded_closure, A._HashMap_values_closure, A._CustomHashMap_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._JsonMap_values_closure, A._BigIntImpl_hashCode_finish, A.DateTime_parse_parseIntOrZero, A.DateTime_parse_parseMilliAndMicroseconds, A._createTables_setChars, A._createTables_setRange, A.CanvasElement_toBlob_closure, A.Element_Element$html_closure, A.HttpRequest_getString_closure, A.HttpRequest_request_closure, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.NodeValidatorBuilder_allowsElement_closure, A.NodeValidatorBuilder_allowsAttribute_closure, A._SimpleNodeValidator_closure, A._SimpleNodeValidator_closure0, A._TemplatingNodeValidator_closure, A._convertDartToNative_Value_closure, A.CssClassSetImpl_add_closure, A.CssClassSetImpl_removeAll_closure, A.FilteredElementList__iterable_closure, A.FilteredElementList__iterable_closure0, A.FilteredElementList_removeRange_closure, A._completeRequest_closure, A._convertToJS_closure, A._convertToJS_closure0, A._wrapToDart_closure, A._wrapToDart_closure0, A._wrapToDart_closure1, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.BuiltListMultimap_BuiltListMultimap_closure, A.BuiltListMultimap_hashCode_closure, A.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_BuiltMap$from_closure, A.BuiltMap_BuiltMap$of_closure, A.BuiltMap_hashCode_closure, A.BuiltSet_hashCode_closure, A.BuiltSetMultimap_hashCode_closure, A.SetMultimapBuilder_replace_closure, A.newBuiltValueToStringHelper_closure, A.BuiltListMultimapSerializer_serialize_closure, A.BuiltListMultimapSerializer_deserialize_closure, A.BuiltListSerializer_serialize_closure, A.BuiltListSerializer_deserialize_closure, A.BuiltSetMultimapSerializer_serialize_closure, A.BuiltSetMultimapSerializer_deserialize_closure, A.BuiltSetSerializer_serialize_closure, A.BuiltSetSerializer_deserialize_closure, A.StandardJsonPlugin__toList_closure, A.StandardJsonPlugin__toListUsingDiscriminator_closure, A.CanonicalizedMap_entries_closure, A.CanonicalizedMap_keys_closure, A.CanonicalizedMap_values_closure, A.Draggable__suppressClickEvent_closure, A.Draggable_destroy_closure, A.Draggable__resetCurrentDrag_closure, A._EventManager_closure, A._EventManager_installEscAndBlur_closure, A._EventManager_installEscAndBlur_closure0, A._EventManager_reset_closure, A._EventManager_destroy_closure, A._EventManager_destroy_closure0, A._TouchManager_installStart_closure, A._TouchManager_installStart__closure, A._TouchManager_installMove_closure, A._TouchManager_installEnd_closure, A._TouchManager_installCancel_closure, A._MouseManager_installStart_closure, A._MouseManager_installStart__closure, A._MouseManager_installMove_closure, A._MouseManager_installEnd_closure, A._PointerManager_installStart_closure, A._PointerManager_installStart__closure, A._PointerManager_installMove_closure, A._PointerManager_installEnd_closure, A._PointerManager_installCancel_closure, A.post_closure, A.BaseRequest_closure0, A.BrowserClient_send_closure, A.BrowserClient_send_closure0, A.ByteStream_toBytes_closure, A.CaseInsensitiveMap$from_closure, A.MediaType_toString__closure, A.expectQuotedString_closure, A.UiProps_call_closure, A._AccessorMetaCollection_keys_closure, A.UiComponent2_addUnconsumedProps_closure, A.connect_closure, A.connect_closure0, A.connect_wrapWithConnect, A.connect_wrapWithConnect_jsMapFromProps, A.connect_wrapWithConnect_jsPropsToTProps, A.connect_wrapWithConnect_allowInteropWithArgCount, A.connect_wrapWithConnect_handleMapStateToProps, A.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory, A.connect_wrapWithConnect_handleMapDispatchToProps, A.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory, A.connect_wrapWithConnect_connectedFactory, A._reduxifyStore_closure0, A._reduxifyStore__closure, A._reduxifyStore_closure1, A._$ReduxProviderConfig_closure, A._$ReduxProviderConfig_closure0, A.uiJsComponent__uiFactory, A._indentString_closure, A._prettyObj_closure, A._prettyObj_closure0, A._prettyObj_closure1, A._prettyObj_closure_renderSubKey, A._prettyObj__closure, A._prettyObj_closure2, A._prettyObj_closure3, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A._single_closure, A._range_closure, A._sequence_closure, A.ParserSequenceExtension2_map2_closure, A.ParserSequenceExtension3_map3_closure, A.ParserSequenceExtension4_map4_closure, A.ParserSequenceExtension5_map5_closure, A.ParserSequenceExtension8_map8_closure, A.string_closure, A.Browser_getCurrentBrowser_closure, A.Browser_UnknownBrowser_closure, A.Browser_UnknownBrowser_closure0, A.OperatingSystem_getCurrentOperatingSystem_closure, A.OperatingSystem_UnknownOS_closure, A.linux_closure, A.mac_closure, A.unix_closure, A.windows_closure, A.chrome_closure, A.Version__splitParts_closure, A.zip_closure, A.zip_closure0, A.zip_closure1, A.ReactComponentFactoryProxy_call_closure, A.ReactJsContextComponentFactoryProxy_build_closure, A.JsBackedMap__values_closure, A._convertDataTree__convert, A.convertRefValue2_closure, A.Store__createReduceAndNotify_closure, A.Store__createDispatchers_closure, A.SkipUndo_SkipUndo_closure, A.Undo_Undo_closure, A.Redo_Redo_closure, A.BatchAction_BatchAction_closure, A.ThrottledActionFast_ThrottledActionFast_closure, A.ThrottledActionNonFast_ThrottledActionNonFast_closure, A.EditModeToggle_EditModeToggle_closure, A.SelectModeToggle_SelectModeToggle_closure, A.SetAppUIStateStorable_SetAppUIStateStorable_closure, A.ShowDNASet_ShowDNASet_closure, A.ShowDomainNamesSet_ShowDomainNamesSet_closure, A.ShowStrandNamesSet_ShowStrandNamesSet_closure, A.ShowStrandLabelsSet_ShowStrandLabelsSet_closure, A.ShowDomainLabelsSet_ShowDomainLabelsSet_closure, A.ShowModificationsSet_ShowModificationsSet_closure, A.ModificationFontSizeSet_ModificationFontSizeSet_closure, A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure, A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure, A.SetModificationDisplayConnector_SetModificationDisplayConnector_closure, A.ShowMismatchesSet_ShowMismatchesSet_closure, A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure, A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure, A.OxviewShowSet_OxviewShowSet_closure, A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure, A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure, A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure, A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure, A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure, A.LoadDNAFile_LoadDNAFile_closure, A.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure, A.NewDesignSet_NewDesignSet_closure, A.ShowMouseoverDataSet_ShowMouseoverDataSet_closure, A.HelixRollSetAtOther_HelixRollSetAtOther_closure, A.ErrorMessageSet_ErrorMessageSet_closure, A.SelectionBoxCreate_SelectionBoxCreate_closure, A.SelectionBoxSizeChange_SelectionBoxSizeChange_closure, A.SelectionBoxRemove_SelectionBoxRemove_closure, A.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure, A.MouseGridPositionSideClear_MouseGridPositionSideClear_closure, A.Select_Select_closure, A.SelectionsClear_SelectionsClear_closure, A.SelectAllSelectable_SelectAllSelectable_closure, A.DeleteAllSelected_DeleteAllSelected_closure, A.HelixAdd_HelixAdd_closure, A.HelixAdd_HelixAdd_closure0, A.HelixRemove_HelixRemove_closure, A.HelixSelect_HelixSelect_closure, A.HelixSelectionsClear_HelixSelectionsClear_closure, A.HelixSelectionsAdjust_HelixSelectionsAdjust_closure, A.HelixIdxsChange_HelixIdxsChange_closure, A.ExportDNA_ExportDNA_closure, A.ExportCanDoDNA_ExportCanDoDNA_closure, A.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure, A.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure, A.ExtensionAdd_ExtensionAdd_closure, A.ExtensionNumBasesChange_ExtensionNumBasesChange_closure, A.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure, A.LoopoutLengthChange_LoopoutLengthChange_closure, A.LoopoutsLengthChange_LoopoutsLengthChange_closure, A.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure, A.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure, A.ManualPasteInitiate_ManualPasteInitiate_closure, A.AutoPasteInitiate_AutoPasteInitiate_closure, A.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure, A.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure, A.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure, A.InsertionAdd_clone_for_other_domain_closure, A.InsertionLengthChange_clone_for_other_domain_closure, A.InsertionLengthChange_InsertionLengthChange_closure, A.InsertionsLengthChange_InsertionsLengthChange_closure, A.DeletionAdd_clone_for_other_domain_closure, A.InsertionRemove_clone_for_other_domain_closure, A.InsertionRemove_InsertionRemove_closure, A.DeletionRemove_DeletionRemove_closure, A.Modifications5PrimeEdit_Modifications5PrimeEdit_closure, A.Modifications3PrimeEdit_Modifications3PrimeEdit_closure, A.ModificationsInternalEdit_ModificationsInternalEdit_closure, A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure, A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure, A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure, A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure, A.ShowSliceBarSet_ShowSliceBarSet_closure, A.SliceBarOffsetSet_SliceBarOffsetSet_closure, A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure, A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure, A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure, A.Autobreak_Autobreak_closure, A.OxdnaExport_OxdnaExport_closure, A.OxviewExport_OxviewExport_closure, A.App_setup_warning_before_unload_closure, A.App_setup_save_design_to_localStorage_before_unload_closure, A.App_setup_view_closure, A.setup_undo_redo_keyboard_listeners_closure, A.setup_save_open_dna_file_keyboard_listeners_closure, A.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure, A.horizontal_reflection_of_strands_closure, A.horizontal_reflection_of_strands_closure0, A.reflect_insertions_closure, A.vertical_reflection_of_strands_closure, A.vertical_reflection_of_strands_closure0, A.find_allowable_offset_closure, A.find_allowable_offset_closure0, A.find_allowable_offset_closure1, A._save_file_codenano_closure, A.export_dna_sequences_middleware_closure, A.export_dna_sequences_middleware_closure0, A.export_dna_sequences_middleware_closure1, A.export_dna_closure, A.export_dna_closure0, A.cando_compatible_csv_export_closure, A.get_svg_elements_of_base_pairs_closure, A.make_portable_closure, A.forbid_create_circular_strand_no_crossovers_middleware_closure, A._first_crossover_addresses_between_helices_closure, A._first_crossover_addresses_between_helices_closure0, A._calculate_rolls_and_positions_closure, A.helix_idxs_change_middleware_closure, A.helix_idxs_change_middleware_closure0, A.start_timer_periodic_design_save_local_storage_closure, A.app_state_reducer_closure, A.app_state_reducer_closure0, A.ui_state_local_reducer_closure, A.example_designs_idx_set_reducer_closure, A.app_ui_state_storable_global_reducer_closure, A.app_ui_state_storable_global_reducer_closure0, A.app_ui_state_storable_global_reducer_closure1, A.app_ui_state_storable_local_reducer_closure, A.ui_state_global_reducer_closure, A.compute_domain_name_complements_closure, A.compute_domain_name_complements_closure0, A.compute_domain_name_complements_for_bound_domains_closure, A.compute_domain_name_complements_for_bound_domains_closure0, A.convert_crossover_to_loopout_reducer_closure, A.convert_crossovers_to_loopouts_reducer_closure0, A.loopouts_length_change_reducer_closure0, A.loopouts_length_change_reducer_closure1, A.extensions_num_bases_change_reducer_closure, A.extensions_num_bases_change_reducer_closure0, A.loopout_length_change_reducer_closure, A.loopout_length_change_reducer_closure0, A.extension_num_bases_change_reducer_closure, A.extension_num_bases_change_reducer_closure0, A.extension_display_length_angle_change_reducer_closure, A.extension_display_length_angle_change_reducer_closure0, A.delete_all_reducer_closure, A.delete_all_reducer_closure0, A.delete_all_reducer_closure1, A.delete_all_reducer_closure2, A.delete_all_reducer_closure3, A.delete_all_reducer_closure4, A.delete_all_reducer_closure5, A.delete_all_reducer_closure6, A.delete_all_reducer_closure7, A.delete_all_reducer_closure8, A._remove_strands_closure, A._remove_strands__closure, A.remove_linkers_from_strand_closure0, A.create_new_strands_from_substrand_lists_closure, A.create_new_strands_from_substrand_lists_closure0, A.create_new_strands_from_substrand_lists_closure1, A._remove_extension_from_strand_closure, A._remove_domains_from_strand_closure, A.remove_deletions_and_insertions_closure, A.remove_deletions_and_insertions_closure0, A.remove_deletions_and_insertions_closure1, A.remove_deletions_and_insertions_closure2, A.remove_modifications_closure, A.design_composed_local_reducer_closure, A.design_composed_global_reducer_closure, A.design_geometry_set_reducer_closure, A.design_geometry_set_reducer_closure0, A.dna_ends_move_adjust_reducer_closure, A.dna_extensions_move_adjust_reducer_closure, A.domains_move_start_selected_domains_reducer_closure, A.domains_adjust_address_reducer_closure, A.domains_adjust_address_reducer_closure0, A.is_allowable_closure3, A.is_allowable_closure4, A.is_allowable_closure5, A.is_allowable_closure6, A.move_domain_closure, A.move_domain__closure, A.move_domain__closure0, A.move_domain___closure, A.toggle_edit_mode_reducer_closure, A.toggle_edit_mode_reducer_closure0, A.grid_change_reducer__closure, A.group_add_reducer_closure, A.group_remove_reducer_closure, A.group_change_reducer_closure, A.move_helices_to_group_groups_reducer_closure, A.move_helices_to_group_groups_reducer_closure0, A.helix_idx_change_reducer_closure0, A.helix_idx_change_reducer_closure1, A.helix_idx_change_reducer_closure2, A.helix_idx_change_reducer_closure3, A.helix_idx_change_reducer_closure4, A.helix_idx_change_reducer_closure5, A.change_groups_closure, A._change_offset_one_helix_closure, A.helix_offset_change_all_with_moving_strands_reducer_closure, A.helix_offset_change_all_while_creating_strand_reducer_closure, A.helix_offset_change_all_while_creating_strand_reducer_closure0, A.helix_offset_change_all_while_creating_strand_reducer_closure1, A.helix_offset_change_all_while_creating_strand_reducer_closure2, A.first_replace_strands_reducer_closure, A.first_replace_strands_reducer_closure0, A.reset_helices_offsets_closure, A.reset_helices_offsets_closure0, A._min_offset_set_by_domains_one_helix_closure, A._max_offset_set_by_domains_one_helix_closure, A.helix_max_offset_set_by_domains_all_same_max_reducer__closure, A._change_major_tick_distance_one_helix_closure, A._change_major_tick_start_one_helix_closure, A._change_major_tick_periodic_distances_one_helix_closure, A._change_major_ticks_one_helix_closure, A.helix_roll_set_reducer_closure, A.helix_roll_set_at_other_reducer_closure, A.helix_add_design_reducer_closure, A.helix_add_design_reducer_closure0, A.helix_remove_design_global_reducer_closure, A.helix_remove_design_global_reducer_closure0, A.helix_remove_all_selected_design_global_reducer_closure, A.helix_remove_all_selected_design_global_reducer_closure0, A.remove_helix_assuming_no_domains_closure, A.remove_helices_assuming_no_domains_closure, A.helix_group_change_reducer__closure, A.helix_individual_grid_position_set_reducer_closure, A.helix_individual_position_set_reducer_closure, A.move_helices_to_group_helices_reducer_closure, A.helix_group_move_adjust_translation_reducer_closure, A.helix_group_move_commit_global_reducer_closure, A.helix_group_move_commit_global_reducer_closure0, A.inline_insertions_deletions_reducer_closure, A.inline_insertions_deletions_reducer_closure0, A.inline_insertions_deletions_reducer_closure1, A._inline_deletions_insertions_on_helix_closure0, A._inline_deletions_insertions_on_helix_closure1, A._inline_deletions_insertions_on_helix_closure2, A._inline_deletions_insertions_on_helix_closure3, A._inline_deletions_insertions_on_helix_closure5, A.insertion_deletion_reducer_closure, A.insertion_add_reducer_closure0, A.insertion_remove_reducer_closure, A.deletion_add_reducer_closure, A.deletion_remove_reducer_closure, A.insertion_length_change_reducer_closure, A.insertion_length_change_reducer_closure0, A.insertions_length_change_reducer_closure, A.insertions_length_change_reducer_closure0, A.insertions_length_change_reducer_closure1, A.load_dna_file_reducer_closure, A.load_dna_file_reducer_closure0, A.load_dna_file_reducer__closure0, A.load_dna_file_reducer_closure1, A.load_dna_file_reducer_closure2, A.load_dna_file_reducer__closure, A._update_mouseover_datas_with_helix_rotation_closure, A._update_mouseover_datas_with_helix_rotation_closure0, A.nick_reducer_closure, A.nick_reducer_closure0, A.nick_reducer_closure1, A.nick_reducer_closure2, A.nick_reducer_closure3, A.nick_reducer_closure4, A.nick_reducer_closure8, A.ligate_reducer_closure, A._join_strands_with_crossover_closure, A._join_strands_with_crossover_closure0, A._join_strands_with_crossover_closure1, A.potential_crossover_move_reducer_closure, A.select_all_selectables_reducer_closure, A.select_all_selectables_reducer_closure0, A.select_all_selectables_reducer_closure1, A.select_all_selectables_reducer_closure2, A.select_all_with_same_reducer_closure, A.helix_selections_adjust_reducer_closure, A.helix_selections_adjust_reducer_closure0, A.helix_select_reducer_closure, A.helix_select_reducer_closure0, A.helix_remove_selected_reducer_closure, A.selection_box_size_changed_reducer_closure, A.selection_rope_mouse_move_reducer_closure, A.selection_rope_mouse_move_reducer_closure0, A.selection_rope_add_point_reducer_closure, A.selection_rope_add_point_reducer_closure0, A.strand_create_adjust_offset_reducer_closure, A.strand_create_adjust_offset_reducer_closure0, A.parse_strands_and_helices_view_order_from_clipboard_closure, A.compute_default_next_address_closure, A.compute_default_next_address_closure0, A.compute_default_next_address_closure1, A.compute_default_next_address_closure2, A.manual_paste_copy_info_reducer_closure, A.manual_paste_copy_info_reducer_closure0, A.strands_move_start_selected_strands_reducer_closure, A.strands_adjust_address_reducer_closure, A.strands_adjust_address_reducer_closure0, A.is_allowable_closure, A.is_allowable_closure0, A.is_allowable_closure1, A.is_allowable_closure2, A.substrand_name_set_reducer_closure, A.substrand_name_set_reducer_closure0, A.substrand_name_set_reducer_closure1, A.substrand_name_set_reducer_closure2, A.substrand_label_set_reducer_closure, A.substrand_label_set_reducer_closure0, A.substrand_label_set_reducer_closure1, A.substrand_label_set_reducer_closure2, A.one_strand_strands_move_copy_commit_reducer_closure, A.move_strand_closure, A.move_strand__closure, A.move_strand__closure0, A.move_strand___closure, A.move_strand_closure0, A.one_strand_domains_move_commit_reducer_closure, A.strands_dna_ends_move_commit_reducer_closure, A.strands_dna_extensions_move_commit_reducer_closure, A.strands_dna_extensions_move_commit_reducer_closure0, A.single_strand_dna_ends_commit_stop_reducer_closure, A.single_strand_dna_ends_commit_stop_reducer_closure0, A.single_strand_dna_ends_commit_stop_reducer_closure1, A.single_strand_dna_ends_commit_stop_reducer_closure2, A.single_strand_dna_ends_commit_stop_reducer_closure3, A.single_strand_dna_ends_commit_stop_reducer_closure4, A.get_remaining_deletions_closure, A.get_remaining_insertions_closure, A.strand_create_closure, A.vendor_fields_remove_reducer_closure, A.plate_well_vendor_fields_remove_reducer_closure, A.plate_well_vendor_fields_assign_reducer_closure, A.scale_purification_vendor_fields_assign_reducer_closure, A.strand_name_set_reducer_closure, A.strand_label_set_reducer_closure, A.extension_add_reducer_closure, A.modification_add_reducer_closure, A.modification_add_reducer_closure0, A.modification_add_reducer_closure1, A.modification_remove_reducer_closure, A.modification_remove_reducer_closure0, A.modification_remove_reducer_closure1, A.modification_edit_reducer_closure, A.modification_edit_reducer_closure0, A.modification_edit_reducer_closure1, A.scaffold_set_reducer_closure, A.strand_or_substrand_color_set_reducer_closure, A.strand_or_substrand_color_set_reducer_closure0, A.strand_or_substrand_color_set_reducer_closure1, A.strand_or_substrand_color_set_reducer_closure2, A.strand_or_substrand_color_set_reducer_closure3, A.modifications_5p_edit_reducer_closure, A.modifications_3p_edit_reducer_closure, A.modifications_int_edit_reducer_closure, A.create_new_state_with_new_design_and_undo_redo_closure, A.create_new_state_with_new_design_and_undo_redo__closure, A.create_new_state_with_new_design_and_undo_redo__closure0, A.redo_reducer_closure, A.redo_reducer__closure, A.redo_reducer__closure0, A.undo_redo_clear_reducer_closure, A.undoable_action_typed_reducer_closure, A.undoable_action_typed_reducer__closure, A.combineGlobalReducers_closure, A.ContextMenuItem_ContextMenuItem_closure, A.CopyInfo_CopyInfo_closure, A.CopyInfo_create_strands_move_closure, A.CopyInfo_create_strands_move_closure0, A.Crossover_Crossover_closure, A.Design_Design_closure, A.Design_Design_closure0, A.Design_Design_closure1, A.Design__initializeBuilder_closure, A.Design_max_offset_closure, A.Design_min_offset_closure, A.Design_add_strands_closure, A.Design_remove_strands_closure, A.Design_remove_strands__closure, A.Design_has_nondefault_min_offset_closure, A.Design__groups_from_json_closure, A.Design__groups_from_json_closure0, A.Design_from_json_closure, A.Design_assign_modifications_to_strands_closure, A.Design_assign_modifications_to_strands_closure0, A.Design_assign_modifications_to_strands_closure1, A.Design_check_strands_overlap_legally_err_msg, A.Design_domains_on_helix_closure, A.Design_domains_on_helix_overlapping_closure, A.Design_domain_name_mismatches_closure, A.Design_base_pairs_with_domain_strand_closure, A.Design_base_pairs_with_domain_strand_closure0, A.Design_base_pairs_with_domain_strand_closure1, A.Design_base_pairs_with_domain_strand_closure2, A.Design__base_pairs_closure, A.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure, A._calculate_groups_from_helix_builders_closure, A.DesignSideRotationParams_DesignSideRotationParams_closure, A.DesignSideRotationData_DesignSideRotationData_closure, A.Dialog_Dialog_closure, A.DialogInteger_DialogInteger_closure, A.DialogFloat_DialogFloat_closure, A.DialogText_DialogText_closure, A.DialogTextArea_DialogTextArea_closure, A.DialogCheckbox_DialogCheckbox_closure, A.DialogRadio_DialogRadio_closure, A.DialogLink_DialogLink_closure, A.DialogLabel_DialogLabel_closure, A.DNAAssignOptions_DNAAssignOptions_closure, A.DNAEnd_DNAEnd_closure, A.Insertion_Insertion_closure, A.Domain_Domain_closure, A.Domain_set_dna_sequence_closure, A.Domain_to_json_serializable_closure, A.Domain_parse_json_insertions_closure, A.Domain_dna_length_in_closure, A.Domain_dna_length_in_closure0, A.Domain_dna_sequence_deletions_insertions_to_spaces_closure, A.Domain_dna_sequence_deletions_insertions_to_spaces_closure0, A.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds, A.Domain_net_ins_del_length_increase_from_5p_to_closure, A.Domain_net_ins_del_length_increase_from_5p_to_closure0, A.DomainsMove_DomainsMove_closure, A.csv_export_closure, A.idt_bulk_export_closure, A.Extension_Extension_closure, A.Extension_set_dna_sequence_closure, A.Geometry_Geometry_closure, A.Geometry_from_json_closure, A.Geometry_from_json_closure0, A.GridPosition_GridPosition_closure, A.HelixGroup_HelixGroup_closure, A.Helix_Helix_closure, A.Helix_relax_roll_closure, A.HelixGroupMove_HelixGroupMove_closure, A.HelixGroupMove_current_position_closure, A.LocalStorageDesignChoice_LocalStorageDesignChoice_closure, A.LocalStorageDesignChoice_to_on_edit_closure, A.LocalStorageDesignChoice_to_on_exit_closure, A.LocalStorageDesignChoice_to_never_closure, A.LocalStorageDesignChoice_to_periodic_closure, A.LocalStorageDesignChoice_change_period_closure, A.Loopout_Loopout_closure, A.Loopout_set_dna_sequence_closure, A.Modification_from_json_closure, A.Modification_from_json_closure0, A.Modification_from_json_closure1, A.Modification5Prime_Modification5Prime_closure, A.Modification3Prime_Modification3Prime_closure, A.ModificationInternal_ModificationInternal_closure, A.MouseoverParams_MouseoverParams_closure, A.MouseoverData_MouseoverData_closure, A.Position3D_Position3D_closure, A.PotentialCrossover_PotentialCrossover_closure, A.SelectModeState_add_mode_closure, A.SelectModeState_remove_mode_closure, A.SelectModeState_add_modes_closure, A.SelectModeState_remove_modes_closure, A.SelectModeState_set_modes_closure, A.SelectablesStore_selected_strands_closure, A.SelectablesStore_selected_crossovers_closure, A.SelectablesStore_selected_loopouts_closure, A.SelectablesStore_selected_extensions_closure, A.SelectablesStore_selected_domains_closure, A.SelectablesStore_selected_dna_ends_closure, A.SelectablesStore_selected_dna_ends_on_domains_closure, A.SelectablesStore_selected_dna_ends_on_extensions_closure, A.SelectablesStore_selected_deletions_closure, A.SelectablesStore_selected_insertions_closure, A.SelectablesStore_selected_modifications_closure, A.SelectablesStore_select_closure, A.SelectablesStore_unselect_closure, A.SelectablesStore_clear_closure, A.SelectablesStore_select_all_closure, A.SelectablesStore_toggle_all_closure, A.SelectionBox_SelectionBox_closure, A.SelectionRope_SelectionRope_closure, A.Line_Line_closure, A.Strand_Strand_closure, A.Strand__finalizeBuilder_closure, A.Strand__finalizeBuilder_closure0, A.Strand__finalizeBuilder_closure1, A.Strand__finalizeBuilder_closure2, A.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure, A.Strand__rebuild_domain_with_new_fields_based_on_strand_closure, A.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure, A.Strand__rebuild_extension_with_new_fields_based_on_strand_closure, A.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure, A.Strand__at_least_one_substrand_has_dna_sequence_closure, A.Strand_remove_dna_sequence_closure, A.Strand_set_dna_sequence_closure, A.Strand__net_ins_del_length_increase_from_5p_to_closure, A.Strand__net_ins_del_length_increase_from_5p_to_closure0, A.Strand_from_json_closure, A.Strand_from_json_closure0, A.Strand_from_json_closure1, A.StrandCreation_StrandCreation_closure, A.StrandsMove_StrandsMove_closure, A.UndoRedo_UndoRedo_closure, A.UndoRedoItem_UndoRedoItem_closure, A.VendorFields_VendorFields_closure, A.VendorFields_from_json_closure, A.are_all_close_closure, A.get_text_file_content_closure, A.get_binary_file_content_closure, A.dialog_closure, A.dialog__closure, A.copy_svg_as_png_closure, A.wc_closure, A.svg_to_png_data_closure, A.add_if_not_null_closure, A.ConnectedAxisArrowsMain_closure, A.ConnectedAxisArrowsSide_closure, A.DesignViewComponent_handle_keyboard_mouse_events_closure, A.DesignViewComponent_handle_keyboard_mouse_events_closure0, A.DesignViewComponent_handle_keyboard_mouse_events_closure1, A.DesignViewComponent_handle_keyboard_mouse_events_closure2, A.DesignViewComponent_handle_keyboard_mouse_events_closure3, A.DesignViewComponent_handle_keyboard_mouse_events_closure4, A.DesignViewComponent_handle_keyboard_mouse_events_closure5, A.DesignViewComponent_handle_keyboard_mouse_events_closure6, A.DesignViewComponent_handle_keyboard_mouse_events_closure7, A.DesignViewComponent_handle_keyboard_mouse_events_closure8, A.DesignViewComponent_install_draggable_closure, A.DesignViewComponent_install_draggable_closure0, A.DesignViewComponent_install_draggable_closure1, A.paste_strands_manually_closure, A.paste_strands_auto_closure, A.ConnectedDesignContextMenu_closure, A.context_menu_to_ul_closure, A.ConnectedDesignDialogForm_closure, A.DesignDialogFormComponent_getDerivedStateFromProps_closure, A.DesignDialogFormComponent_render_closure, A.DesignDialogFormComponent_dialog_for_closure, A.DesignDialogFormComponent_dialog_for__closure6, A.DesignDialogFormComponent_dialog_for__closure7, A.DesignDialogFormComponent_dialog_for_closure0, A.DesignDialogFormComponent_dialog_for__closure5, A.DesignDialogFormComponent_dialog_for_closure1, A.DesignDialogFormComponent_dialog_for__closure4, A.DesignDialogFormComponent_dialog_for_closure2, A.DesignDialogFormComponent_dialog_for__closure3, A.DesignDialogFormComponent_dialog_for_closure3, A.DesignDialogFormComponent_dialog_for__closure2, A.DesignDialogFormComponent_dialog_for_closure4, A.DesignDialogFormComponent_dialog_for__closure1, A.DesignDialogFormComponent_dialog_for_closure5, A.DesignDialogFormComponent_dialog_for__closure0, A.DesignDialogFormComponent_dialog_for_closure6, A.DesignDialogFormComponent_dialog_for__closure, A.ConnectedDesignFooter_closure, A.ConnectedLoadingDialog_closure, A.ConnectedDesignMain_closure, A.ConnectedDesignMainDomainsMoving_closure, A.DesignMainHelixComponent_render_closure, A.DesignMainHelixComponent_render_closure0, A.DesignMainHelixComponent_render_closure1, A.DesignMainHelixComponent_render_closure2, A.DesignMainHelixComponent_render_closure3, A.DesignMainHelixComponent_render_closure4, A.DesignMainPotentialVerticalCrossoverComponent_render_closure, A.DesignMainSliceBarComponent_render_closure, A.DesignMainStrandComponent_reflect_closure, A.DesignMainStrandComponent_context_menu_strand_closure1, A.DesignMainStrandComponent_context_menu_strand_closure2, A.DesignMainStrandComponent_context_menu_strand_closure4, A.DesignMainStrandComponent_context_menu_strand__closure3, A.DesignMainStrandComponent_context_menu_strand__closure2, A.DesignMainStrandComponent_context_menu_strand__closure1, A.DesignMainStrandComponent_context_menu_strand__closure0, A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure, A.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0, A.DesignMainStrandComponent_custom_scale_value_closure, A.DesignMainStrandComponent_custom_purification_value_closure, A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure, A.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0, A.DesignMainStrandComponent_select_plate_number_closure, A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure, A.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0, A.DesignMainStrandComponent_ask_for_domain_names_closure, A.ask_for_label_closure, A.batch_if_multiple_selected_closure, A.get_selected_domains_closure, A.get_selected_domains_closure0, A.scaffold_set_strand_action_creator_closure, A.remove_dna_strand_action_creator_closure, A.name_set_strand_action_creator_closure, A.label_set_strand_action_creator_closure, A.DesignMainStrandCrossoverComponent_render_closure, A.DesignMainStrandCrossoverComponent_render_closure0, A.DesignMainStrandCrossoverComponent_render_closure1, A.DesignMainStrandCrossoverComponent_render_closure2, A.DesignMainStrandDeletionComponent_render_closure, A.DesignMainStrandDeletionComponent_render_closure0, A.DesignMainStrandDeletionComponent_render_closure1, A.DesignMainStrandDeletionComponent_render_closure2, A.DesignMainDomainComponent_render_closure, A.DesignMainDomainComponent_render_closure0, A.DesignMainDomainComponent_render_closure1, A.DesignMainExtensionComponent_context_menu_extension__closure0, A.DesignMainExtensionComponent_context_menu_extension__closure, A.DesignMainExtensionComponent_ask_for_extension_name_closure, A.DesignMainStrandInsertionComponent_render_closure, A.DesignMainStrandInsertionComponent_render_closure0, A.DesignMainStrandInsertionComponent__insertion_background_closure, A.DesignMainLoopoutComponent_render_closure, A.DesignMainLoopoutComponent_render_closure0, A.DesignMainLoopoutComponent_render_closure1, A.DesignMainLoopoutComponent_render_closure2, A.DesignMainLoopoutComponent_context_menu_loopout__closure0, A.DesignMainLoopoutComponent_context_menu_loopout__closure, A.DesignMainLoopoutComponent_ask_for_loopout_name_closure, A.DesignMainStrandModificationComponent_render_closure, A.DesignMainStrandModificationComponent_render_closure0, A.edit_modification_closure, A.edit_modification_closure0, A.edit_modification_closure1, A.ConnectedDesignMainStrands_closure, A.DesignMainStrandsComponent_render_closure, A.ConnectedDesignMainStrandsMoving_closure, A.ConnectedDesignSide_closure, A.DesignSideHelixComponent_render_closure, A.DesignSideHelixComponent_render_closure0, A.ConnectedEditAndSelectModes_closure, A.EditAndSelectModesComponent_render_closure, A.EditModeComponent__button_for_choice_closure, A.parse_major_ticks_and_check_validity_closure, A.parse_major_ticks_and_check_validity_closure0, A.parse_major_ticks_and_check_validity_closure1, A.parse_major_tick_distances_and_check_validity_closure, A.parse_helix_idxs_and_check_validity_closure, A.ConnectedHelixGroupMoving_closure, A.HelixGroupMovingComponent_render_closure, A.ConnectedMenu_closure, A.MenuComponent_no_grid_is_none_closure, A.MenuComponent_file_menu_closure, A.MenuComponent_file_menu_closure0, A.MenuComponent_file_menu_closure1, A.MenuComponent_file_menu_closure2, A.MenuComponent_file_menu_closure3, A.MenuComponent_file_menu_closure4, A.MenuComponent_file_menu_closure5, A.MenuComponent_file_menu_closure6, A.MenuComponent_file_menu_save_design_local_storage_options_closure, A.MenuComponent_file_menu_save_design_local_storage_options_closure0, A.MenuComponent_file_menu_save_design_local_storage_options_closure1, A.MenuComponent_file_menu_save_design_local_storage_options_closure2, A.MenuComponent_file_menu_save_design_local_storage_options_closure3, A.MenuComponent_edit_menu_closure, A.MenuComponent_edit_menu_closure0, A.MenuComponent_edit_menu_closure1, A.MenuComponent_edit_menu_closure2, A.MenuComponent_edit_menu_closure3, A.MenuComponent_edit_menu_closure4, A.MenuComponent_undo_dropdowns_closure, A.MenuComponent_redo_dropdowns_closure, A.MenuComponent_undo_or_redo_dropdown_closure, A.MenuComponent_edit_menu_copy_paste_closure, A.MenuComponent_edit_menu_copy_paste_closure0, A.MenuComponent_edit_menu_copy_paste_closure1, A.MenuComponent_edit_menu_copy_paste_closure2, A.MenuComponent_edit_menu_copy_paste_closure3, A.MenuComponent_edit_menu_copy_paste_closure4, A.MenuComponent_edit_menu_copy_paste_closure5, A.MenuComponent_edit_menu_copy_paste_closure6, A.MenuComponent_edit_menu_copy_paste_closure7, A.MenuComponent_edit_menu_helix_rolls_closure, A.MenuComponent_edit_menu_helix_rolls_closure0, A.MenuComponent_edit_menu_helix_rolls_closure1, A.MenuComponent_edit_menu_helix_rolls_closure2, A.MenuComponent_edit_menu_helix_rolls_closure3, A.MenuComponent_view_menu_autofit_closure, A.MenuComponent_view_menu_autofit_closure0, A.MenuComponent_view_menu_warnings_closure, A.MenuComponent_view_menu_warnings_closure0, A.MenuComponent_view_menu_warnings_closure1, A.MenuComponent_view_menu_show_labels_closure, A.MenuComponent_view_menu_show_labels_closure0, A.MenuComponent_view_menu_show_labels_closure1, A.MenuComponent_view_menu_show_labels_closure2, A.MenuComponent_view_menu_show_labels_closure3, A.MenuComponent_view_menu_show_labels_closure4, A.MenuComponent_view_menu_show_labels_closure5, A.MenuComponent_view_menu_show_labels_closure6, A.MenuComponent_view_menu_mods_closure, A.MenuComponent_view_menu_mods_closure0, A.MenuComponent_view_menu_mods_closure1, A.MenuComponent_view_menu_helices_closure, A.MenuComponent_view_menu_helices_closure0, A.MenuComponent_view_menu_helices_closure1, A.MenuComponent_view_menu_helices_closure2, A.MenuComponent_view_menu_display_major_ticks_options_closure, A.MenuComponent_view_menu_display_major_ticks_options_closure0, A.MenuComponent_view_menu_display_major_ticks_options_closure1, A.MenuComponent_view_menu_display_major_ticks_options_closure2, A.MenuComponent_view_menu_display_major_ticks_options_closure3, A.MenuComponent_view_menu_display_major_ticks_options_closure4, A.MenuComponent_view_menu_base_pairs_closure, A.MenuComponent_view_menu_base_pairs_closure0, A.MenuComponent_view_menu_base_pairs_closure1, A.MenuComponent_view_menu_dna_closure, A.MenuComponent_view_menu_dna_closure0, A.MenuComponent_view_menu_show_oxview_closure, A.MenuComponent_view_menu_zoom_speed_closure, A.MenuComponent_view_menu_misc_closure, A.MenuComponent_view_menu_misc_closure0, A.MenuComponent_view_menu_misc_closure1, A.MenuComponent_view_menu_misc_closure2, A.MenuComponent_view_menu_misc_closure3, A.MenuComponent_view_menu_misc_closure4, A.MenuComponent_view_menu_misc_closure5, A.MenuComponent_export_menu_closure, A.MenuComponent_export_menu_closure0, A.MenuComponent_export_menu_closure1, A.MenuComponent_export_menu_closure2, A.MenuComponent_export_menu_closure3, A.MenuComponent_export_menu_closure4, A.MenuComponent_export_menu_closure5, A.MenuComponent_export_menu_closure6, A.MenuComponent_export_menu_closure7, A.MenuComponent_export_menu_closure8, A.MenuComponent_export_menu_closure9, A.MenuComponent_help_menu_closure, A.request_load_file_from_file_chooser_closure, A.request_load_file_from_file_chooser_closure0, A.MenuFormFileComponent_render_closure, A.MenuNumberComponent_render_closure, A.ConnectedSideMenu_closure, A.SideMenuComponent_groups_menu_closure, A.SideMenuComponent_groups_menu_closure0, A.SideMenuComponent_groups_menu_closure1, A.SideMenuComponent_groups_menu_closure2, A.SideMenuComponent_groups_menu_closure3, A.SideMenuComponent_grid_menu_closure, A.SideMenuComponent_ask_new_helix_indices_for_current_group_closure, A.SideMenuComponent_ask_new_helix_indices_for_current_group__closure, A.ConnectedPotentialCrossoverView_closure, A.PotentialExtensionsViewComponent_render_closure, A.SelectModeComponent_render_closure, A.SelectModeComponent_render_closure0, A.ConnectedStrandOrSubstrandColorPicker_closure, A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure, A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure, A.setup_file_drag_and_drop_listener_closure, A.setup_file_drag_and_drop_listener_closure0, A.setup_file_drag_and_drop_listener__closure, A.setup_file_drag_and_drop_listener__closure0, A.setup_file_drag_and_drop_listener__closure1, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.OdsDecoder__parseContent_closure, A.OdsDecoder__parseStyles_closure, A.OdsDecoder__parseTable_closure, A.OdsDecoder__parseTable_closure0, A.OdsDecoder__parseRow_closure, A.OdsDecoder__parseRow_closure0, A.OdsDecoder__readCell_closure, A.cellCoordsFromCellId_closure, A.XlsxDecoder_insertRow_closure, A.XlsxDecoder_insertRow_closure0, A.XlsxDecoder_insertRow__closure, A.XlsxDecoder__parseRelations_closure, A.XlsxDecoder__parseStyles_closure, A.XlsxDecoder__parseSharedStrings_closure, A.XlsxDecoder__parseSharedString_closure, A.XlsxDecoder__parseContent_closure, A.XlsxDecoder__parseTable_closure, A.XlsxDecoder__parseRow_closure, A.ManagedDisposer_dispose_closure, A.Disposable__addObservableTimerDisposable_closure0, A._asNumericCharacterReferences_closure, A.XmlDeclaration_copy_closure, A.XmlDocument_copy_closure, A.XmlElement_copy_closure, A.XmlElement_copy_closure0, A.createNameMatcher_closure, A.createNameMatcher_closure0, A.createNameMatcher_closure1, A.createNameMatcher_closure2, A.createNameMatcher_closure3, A.XmlNodeList__expandFragment_closure, A._XmlNodeDecoderSink_convertAttributes_closure, A.XmlEventParser_characterData_closure, A.XmlEventParser_startElement_closure, A.XmlEventParser_attribute_closure, A.XmlEventParser_attributeAssignment_closure, A.XmlEventParser_attributeValueDoubleQuote_closure, A.XmlEventParser_attributeValueSingleQuote_closure, A.XmlEventParser_attributeValueNoQuote_closure, A.XmlEventParser_endElement_closure, A.XmlEventParser_comment_closure, A.XmlEventParser_cdata_closure, A.XmlEventParser_declaration_closure, A.XmlEventParser_processing_closure0, A.XmlEventParser_doctype_closure, A.XmlEventParser_doctypeExternalIdSystem_closure, A.XmlEventParser_doctypeExternalIdPublic_closure, A.XmlEventParser_doctypeIntSubset_closure, A.eventParserCache_closure]); + _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.CastMap_removeWhere_closure, A.ConstantMap_map_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A.MapMixin_addAll_closure, A._JsonStringifier_writeMap_closure, A._JsonPrettyPrintMixin_writeMap_closure, A.NoSuchMethodError_toString_closure, A._BigIntImpl_hashCode_combine, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.MidiInputMap_keys_closure, A.MidiInputMap_values_closure, A.MidiOutputMap_keys_closure, A.MidiOutputMap_values_closure, A.RtcStatsReport_keys_closure, A.RtcStatsReport_values_closure, A.Storage_keys_closure, A.Storage_values_closure, A._ValidatingTreeSanitizer_sanitizeTree_walk, A._StructuredClone_walk_closure, A._StructuredClone_walk_closure0, A._AcceptStructuredClone_walk_closure, A.convertDartToNative_Dictionary_closure, A.AudioParamMap_keys_closure, A.AudioParamMap_values_closure, A.hashObjects_closure, A.MapBuilder_replace_closure, A.MapBuilder_replace_closure0, A.StandardJsonPlugin__toList_closure0, A.StandardJsonPlugin__toListUsingDiscriminator_closure0, A.CanonicalizedMap_addAll_closure, A.CanonicalizedMap_forEach_closure, A.CanonicalizedMap_map_closure, A.CanonicalizedMap_removeWhere_closure, A.BaseRequest_closure, A.MediaType_toString_closure, A.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps, A.connect_wrapWithConnect_handleMakeMapStateToProps, A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps, A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory, A.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps, A.connect_wrapWithConnect_handleMakeMapDispatchToProps, A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps, A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory, A.connect_wrapWithConnect_handleAreOwnPropsEqual, A.connect_wrapWithConnect_handleAreStatePropsEqual, A.connect_wrapWithConnect_handleAreMergedPropsEqual, A.optimizedRanges_closure, A.optimizedRanges_closure0, A._pattern_closure, A.createContext_jsifyCalculateChangedBitsArgs, A.combineReducers_closure, A.BuiltMapValues_map_values_closure, A.reflect_insertions_closure0, A.export_dna_sequences_middleware_closure2, A._get_helices_to_process_closure, A.convert_crossovers_to_loopouts_reducer_closure, A.loopouts_length_change_reducer_closure, A.remove_linkers_from_strand_closure, A.grid_change_reducer_closure, A.helix_idx_change_reducer_closure, A.helix_offset_change_all_with_moving_strands_reducer_map_func, A.helix_offset_change_all_with_moving_strands_reducer_map_func0, A.helix_offset_change_all_reducer_map_func, A.helix_min_offset_set_by_domains_all_reducer_map_func, A.helix_max_offset_set_by_domains_all_reducer_map_func, A.helix_max_offset_set_by_domains_all_same_max_reducer_closure, A.helix_major_tick_distance_change_all_reducer_closure, A.helix_major_ticks_change_all_reducer_closure, A.helix_major_tick_start_change_all_reducer_closure, A.helix_major_tick_periodic_distances_change_all_reducer_closure, A.remove_helices_assuming_no_domains__closure, A.helix_group_change_reducer_closure, A._inline_deletions_insertions_on_helix_closure, A._inline_deletions_insertions_on_helix_closure4, A.insertion_add_reducer_closure, A.nick_reducer_closure5, A.nick_reducer_closure6, A.nick_reducer_closure7, A.nick_reducer_closure9, A.find_end_pairs_to_connect_in_group_closure, A.Design_helices_in_group_closure, A.Design_address_crossover_pairs_by_helix_idx_closure, A.Design_domain_mismatches_map_closure, A.Design_unpaired_insertion_deletion_map_closure, A.Design_from_json_closure0, A.Design_check_strands_overlap_legally_closure, A.Design_find_overlapping_domains_on_helix_closure, A.Design_find_overlapping_domains_on_helix_closure0, A.assign_default_helices_view_orders_to_groups_closure, A.construct_helix_idx_to_domains_map_closure, A.strands_comparison_function_compare, A.average_angle_closure, A.DesignMainComponent_render_closure, A.DesignMainComponent_render_closure0, A.DesignMainComponent_render_closure1, A.DesignMainComponent_render_closure2, A.DesignMainComponent_render_closure3, A.set_design_main_domains_moving_props_closure, A.DesignMainPotentialVerticalCrossoversComponent_render_closure, A.DesignMainStrandComponent_render_closure, A.ConnectedEndMoving_closure, A.ConnectedExtensionEndMoving_closure, A.ConnectedPotentialExtensionsView_closure, A.ConnectedSelectionBoxView_closure, A.ConnectedSelectionRopeView_closure, A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure, A.Highlighter__collateLines_closure0, A.SpreadsheetDecoder__isEmptyRow_closure, A.XmlEventParser_processing_closure]); + _inherit(A.CastList, A._CastListBase); + _inherit(A.MapBase, A.MapMixin); + _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A._JsonMap, A._AttributeMap, A._UiProps_MapBase_MapViewMixin, A.JsBackedMap]); + _inheritMany(A.Error, [A.LateError, A.ReachabilityError, A.NotNullableError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError, A.BuiltValueNullFieldError, A.BuiltValueNestedFieldError, A.DeserializationError, A.UngeneratedError]); + _inherit(A.ListBase, A._ListBase_Object_ListMixin); + _inheritMany(A.ListBase, [A.UnmodifiableListBase, A._FrozenElementList, A._ChildNodeListLazy, A.FilteredElementList]); + _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView, A.__UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, A.__UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin]); + _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A.Future_Future_closure, A.Future_Future$delayed_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A.Stream_first_closure, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._cancelAndValue_closure, A._rootHandleError_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.Serializers_Serializers_closure, A.Serializers_Serializers_closure0, A.Serializers_Serializers_closure1, A.Serializers_Serializers_closure2, A.Serializers_Serializers_closure3, A.Draggable_onDragStart_closure, A.Draggable_onDrag_closure, A.Draggable_onDragEnd_closure, A.Draggable__suppressClickEvent_closure0, A.MediaType_MediaType$parse_closure, A.Logger_Logger_closure, A.$ErrorBoundaryComponentFactory_closure, A.$RecoverableErrorBoundaryComponentFactory_closure, A.connect_wrapWithConnect_interopMapStateToPropsHandler, A.connect_wrapWithConnect_interopMapDispatchToPropsHandler, A._reduxifyStore_closure, A._prettyObj__closure0, A.ParsedPath__splitExtension_closure0, A.Browser_getCurrentBrowser_closure0, A.OperatingSystem_getCurrentOperatingSystem_closure0, A.registerComponent2_closure, A.render_closure, A.findDOMNode_closure, A.ReactDartInteropStatics2_initComponent_closure, A.ReactDartInteropStatics2_handleComponentDidMount_closure, A.ReactDartInteropStatics2_handleShouldComponentUpdate_closure, A.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure, A.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure, A.ReactDartInteropStatics2_handleComponentDidUpdate_closure, A.ReactDartInteropStatics2_handleComponentWillUnmount_closure, A.ReactDartInteropStatics2_handleComponentDidCatch_closure, A.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure, A.ReactDartInteropStatics2_handleRender_closure, A.validateJsApi_closure, A.load_file_middleware_closure, A._save_file_closure, A.standard_serializers_closure, A._$serializers_closure, A._$serializers_closure0, A._$serializers_closure1, A._$serializers_closure2, A._$serializers_closure3, A._$serializers_closure4, A._$serializers_closure5, A._$serializers_closure6, A._$serializers_closure7, A._$serializers_closure8, A._$serializers_closure9, A._$serializers_closure10, A._$serializers_closure11, A._$serializers_closure12, A._$serializers_closure13, A._$serializers_closure14, A._$serializers_closure15, A._$serializers_closure16, A._$serializers_closure17, A._$serializers_closure18, A._$serializers_closure19, A._$serializers_closure20, A._$serializers_closure21, A._$serializers_closure22, A._$serializers_closure23, A._$serializers_closure24, A._$serializers_closure25, A._$serializers_closure26, A._$serializers_closure27, A._$serializers_closure28, A._$serializers_closure29, A._$serializers_closure30, A._$serializers_closure31, A._$serializers_closure32, A._$serializers_closure33, A._$serializers_closure34, A._$serializers_closure35, A._$serializers_closure36, A._$serializers_closure37, A._$serializers_closure38, A._$serializers_closure39, A._$serializers_closure40, A._$serializers_closure41, A._$serializers_closure42, A._$serializers_closure43, A._$serializers_closure44, A._$serializers_closure45, A._$serializers_closure46, A._$serializers_closure47, A._$serializers_closure48, A._$serializers_closure49, A._$serializers_closure50, A._$serializers_closure51, A._$serializers_closure52, A._$serializers_closure53, A._$serializers_closure54, A._$serializers_closure55, A._$serializers_closure56, A._$serializers_closure57, A._$serializers_closure58, A._$serializers_closure59, A._$serializers_closure60, A._$serializers_closure61, A._$serializers_closure62, A._$serializers_closure63, A._$serializers_closure64, A._$serializers_closure65, A._$serializers_closure66, A._$serializers_closure67, A._$serializers_closure68, A._$serializers_closure69, A._$serializers_closure70, A._$serializers_closure71, A._$serializers_closure72, A._$serializers_closure73, A._$serializers_closure74, A._$serializers_closure75, A._$serializers_closure76, A._$serializers_closure77, A.async_alert_closure, A.$End3PrimeComponentFactory_closure, A.$End5PrimeComponentFactory_closure, A.$DesignMainArrowsComponentFactory_closure, A.$AxisArrowsComponentFactory_closure, A.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode, A.$DesignContextMenuComponentFactory_closure, A.$DesignContextSubmenuComponentFactory_closure, A.$DesignDialogFormComponentFactory_closure, A.$DesignFooterComponentFactory_closure, A.$DesignLoadingDialogComponentFactory_closure, A.DesignMainComponent_render_closure4, A.DesignMainComponent_render_closure5, A.$DesignMainComponentFactory_closure, A.$DesignMainBasePairLinesComponentFactory_closure, A.$DesignMainBasePairRectangleComponentFactory_closure, A.$DesignMainDNAMismatchesComponentFactory_closure, A.$DesignMainDNASequenceComponentFactory_closure, A.$DesignMainDNASequencesComponentFactory_closure, A.$DesignMainDomainMovingComponentFactory_closure, A.$DesignMainDomainNameMismatchesComponentFactory_closure, A.$DesignMainDomainsMovingComponentFactory_closure, A.$DesignMainErrorBoundaryComponentFactory_closure, A.$DesignMainHelicesComponentFactory_closure, A.$DesignMainHelixComponentFactory_closure, A.$DesignMainLoopoutExtensionLengthComponentFactory_closure, A.$DesignMainLoopoutExtensionLengthsComponentFactory_closure, A.$DesignMainPotentialVerticalCrossoverComponentFactory_closure, A.$DesignMainPotentialVerticalCrossoversComponentFactory_closure, A.$DesignMainSliceBarComponentFactory_closure, A.DesignMainStrandComponent_assign_dna_closure, A.DesignMainStrandComponent_add_modification_closure, A.DesignMainStrandComponent_set_strand_name_closure, A.DesignMainStrandComponent_set_strand_label_closure, A.DesignMainStrandComponent_set_domain_names_closure, A.DesignMainStrandComponent_set_domain_labels_closure, A.DesignMainStrandComponent_remove_dna_closure, A.DesignMainStrandComponent_context_menu_strand_closure, A.DesignMainStrandComponent_context_menu_strand_closure0, A.DesignMainStrandComponent_context_menu_strand_closure3, A.DesignMainStrandComponent_context_menu_strand_closure5, A.DesignMainStrandComponent_context_menu_strand_closure6, A.DesignMainStrandComponent_context_menu_strand_closure7, A.DesignMainStrandComponent_context_menu_strand_closure8, A.DesignMainStrandComponent_context_menu_strand_closure9, A.DesignMainStrandComponent_context_menu_strand_closure10, A.DesignMainStrandComponent_context_menu_strand_closure11, A.DesignMainStrandComponent_context_menu_strand_closure12, A.DesignMainStrandComponent_context_menu_strand_closure13, A.DesignMainStrandComponent_context_menu_strand_closure14, A.DesignMainStrandComponent_context_menu_strand_closure15, A.DesignMainStrandComponent_context_menu_strand_closure16, A.DesignMainStrandComponent_context_menu_strand_closure17, A.DesignMainStrandComponent_context_menu_strand_closure18, A.DesignMainStrandComponent_context_menu_strand_closure19, A.DesignMainStrandComponent_context_menu_strand_closure20, A.DesignMainStrandComponent_context_menu_strand__closure, A.$DesignMainStrandComponentFactory_closure, A.$DesignMainStrandAndDomainTextsComponentFactory_closure, A.$DesignMainStrandCreatingComponentFactory_closure, A.$DesignMainStrandCrossoverComponentFactory_closure, A.$DesignMainStrandDeletionComponentFactory_closure, A.$DesignMainDNAEndComponentFactory_closure, A.$EndMovingComponentFactory_closure, A.$ExtensionEndMovingComponentFactory_closure, A.$DesignMainDomainComponentFactory_closure, A.$DesignMainStrandDomainTextComponentFactory_closure, A.DesignMainExtensionComponent_context_menu_extension_closure, A.DesignMainExtensionComponent_context_menu_extension_closure0, A.DesignMainExtensionComponent_context_menu_extension_closure1, A.DesignMainExtensionComponent_context_menu_extension_closure2, A.DesignMainExtensionComponent_extension_num_bases_change_closure, A.DesignMainExtensionComponent_set_extension_label_closure, A.$DesignMainExtensionComponentFactory_closure, A.$DesignMainStrandExtensionTextComponentFactory_closure, A.$DesignMainStrandInsertionComponentFactory_closure, A.DesignMainLoopoutComponent_context_menu_loopout_closure, A.DesignMainLoopoutComponent_context_menu_loopout_closure0, A.DesignMainLoopoutComponent_context_menu_loopout_closure1, A.DesignMainLoopoutComponent_context_menu_loopout_closure2, A.DesignMainLoopoutComponent_loopout_length_change_closure, A.DesignMainLoopoutComponent_set_loopout_label_closure, A.$DesignMainLoopoutComponentFactory_closure, A.$DesignMainStrandLoopoutTextComponentFactory_closure, A.DesignMainStrandModificationComponent_context_menu_modification_closure, A.$DesignMainStrandModificationComponentFactory_closure, A.$DesignMainStrandModificationsComponentFactory_closure, A.$DesignMainStrandMovingComponentFactory_closure, A.$DesignMainStrandPathsComponentFactory_closure, A.$DesignMainStrandsComponentFactory_closure, A.$DesignMainStrandsMovingComponentFactory_closure, A.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure, A.$DesignMainWarningStarComponentFactory_closure, A.DesignSideComponent_render_closure, A.$DesignSideComponentFactory_closure, A.$DesignSideHelixComponentFactory_closure, A.$DesignSidePotentialHelixComponentFactory_closure, A.$DesignSideRotationComponentFactory_closure, A.$DesignSideRotationArrowComponentFactory_closure, A.$EditAndSelectModesComponentFactory_closure, A.$EditModeComponentFactory_closure, A.context_menu_helix_dialog_helix_set_min_offset, A.context_menu_helix_dialog_helix_set_max_offset, A.context_menu_helix_dialog_helix_set_idx, A.context_menu_helix_dialog_helix_set_roll, A.context_menu_helix_dialog_helix_set_major_tick_marks, A.context_menu_helix_dialog_helix_set_grid_position, A.context_menu_helix_dialog_helix_set_position, A.context_menu_helix_dialog_helix_set_group, A.context_menu_helix_helix_set_min_offset, A.context_menu_helix_helix_set_max_offset, A.context_menu_helix_helix_set_idx, A.context_menu_helix_helix_set_major_tick_marks, A.context_menu_helix_helix_set_roll, A.context_menu_helix_helix_set_position, A.context_menu_helix_helix_set_grid_position, A.context_menu_helix_helix_set_group, A.$HelixGroupMovingComponentFactory_closure, A.$MenuComponentFactory_closure, A.$MenuBooleanComponentFactory_closure, A.$MenuDropdownItemComponentFactory_closure, A.$MenuDropdownRightComponentFactory_closure, A.$MenuFormFileComponentFactory_closure, A.$MenuNumberComponentFactory_closure, A.SideMenuComponent_set_new_parameters_for_current_group_closure, A.SideMenuComponent_adjust_helix_indices_for_current_group_closure, A.SideMenuComponent_add_new_group_closure, A.$SideMenuComponentFactory_closure, A.$PotentialCrossoverViewComponentFactory_closure, A.$PotentialExtensionsViewComponentFactory_closure, A.$SelectModeComponentFactory_closure, A.$SelectionBoxViewComponentFactory_closure, A.$SelectionRopeViewComponentFactory_closure, A.$StrandOrSubstrandColorPickerComponentFactory_closure, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A._ObservableTimer_closure, A.Disposable__addObservableTimerDisposable_closure]); + _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]); + _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable]); + _inherit(A.EfficientLengthMappedIterable, A.MappedIterable); + _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.TakeWhileIterator, A.SkipIterator, A.SkipWhileIterator, A.MatchesIterator, A.XmlDescendantsIterator, A.XmlEventIterator]); + _inherit(A.EfficientLengthTakeIterable, A.TakeIterable); + _inherit(A.EfficientLengthSkipIterable, A.SkipIterable); + _inherit(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.MapView); + _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin); + _inherit(A.ConstantMapView, A.UnmodifiableMapView); + _inheritMany(A.ConstantMap, [A.ConstantStringMap, A.GeneralConstantMap]); + _inherit(A.Instantiation1, A.Instantiation); + _inherit(A.NullError, A.TypeError); + _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]); + _inherit(A._AssertionError, A.AssertionError); + _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A.Archive, A.MatchesIterable, A.XmlDescendantsIterable]); + _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]); + _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); + _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]); + _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]); + _inherit(A._TypeError, A._Error); + _inheritMany(A.Stream, [A._StreamImpl, A.StreamView, A._EmptyStream, A._ForwardingStream, A._EventStream]); + _inherit(A._ControllerStream, A._StreamImpl); + _inherit(A._BroadcastStream, A._ControllerStream); + _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]); + _inherit(A._BroadcastSubscription, A._ControllerSubscription); + _inheritMany(A._BroadcastStreamController, [A._SyncBroadcastStreamController, A._AsyncBroadcastStreamController]); + _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]); + _inherit(A._AsyncStreamController, A._StreamController); + _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]); + _inherit(A._MapStream, A._ForwardingStream); + _inherit(A._RootZone, A._Zone); + _inheritMany(A._HashMap, [A._IdentityHashMap, A._CustomHashMap]); + _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]); + _inherit(A._SetBase, A.__SetBase_Object_SetMixin); + _inheritMany(A._SetBase, [A._HashSet, A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]); + _inherit(A.SetBase, A._SetBase_Object_SetMixin); + _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin); + _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]); + _inheritMany(A.Encoding, [A.AsciiCodec, A.Latin1Codec, A.Utf8Codec]); + _inherit(A.Converter, A.StreamTransformerBase); + _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A._UnicodeSubsetDecoder, A.Base64Encoder, A.Base64Decoder, A.HtmlEscape, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder, A.XmlEventEncoder]); + _inheritMany(A._UnicodeSubsetEncoder, [A.AsciiEncoder, A.Latin1Encoder]); + _inheritMany(A._UnicodeSubsetDecoder, [A.AsciiDecoder, A.Latin1Decoder]); + _inheritMany(A.ChunkedConversionSink, [A.ByteConversionSink, A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor, A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor]); + _inherit(A.ByteConversionSinkBase, A.ByteConversionSink); + _inherit(A._ByteCallbackSink, A.ByteConversionSinkBase); + _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError); + _inherit(A._JsonStringStringifier, A._JsonStringifier); + _inherit(A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, A._JsonStringStringifier); + _inherit(A._JsonStringStringifierPretty, A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin); + _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]); + _inherit(A._DataUri, A._Uri); + _inheritMany(A.EventTarget, [A.Node, A.AccessibleNode, A.FileReader, A.FileWriter, A.FontFaceSet, A.HttpRequestEventTarget, A.MessagePort, A.PresentationAvailability, A.SourceBuffer, A._SourceBufferList_EventTarget_ListMixin, A.TextTrack, A.TextTrackCue, A._TextTrackList_EventTarget_ListMixin, A.VideoTrackList, A.Window, A.WorkerGlobalScope, A.Request0, A.AudioNode, A.AudioTrackList, A.BaseAudioContext]); + _inheritMany(A.Node, [A.Element, A.CharacterData, A.Document, A._Attr]); + _inheritMany(A.Element, [A.HtmlElement, A.SvgElement]); + _inheritMany(A.HtmlElement, [A.AnchorElement, A.AreaElement, A.BaseElement, A.BodyElement, A.ButtonElement, A.CanvasElement, A.DataElement, A.DivElement, A.FormElement, A.IFrameElement, A.ImageElement, A.InputElement, A.LIElement, A.MediaElement, A.MeterElement, A.OptionElement, A.OutputElement, A.ParamElement, A.PreElement, A.ProgressElement, A.SelectElement, A.TemplateElement, A.TextAreaElement]); + _inheritMany(A.Event, [A.ApplicationCacheErrorEvent, A.BeforeUnloadEvent, A.ErrorEvent, A.UIEvent, A.MediaKeyMessageEvent, A.PresentationConnectionCloseEvent, A.ProgressEvent, A.SpeechRecognitionError, A.VersionChangeEvent]); + _inheritMany(A.CssStyleValue, [A.CssKeywordValue, A.CssNumericValue, A.CssTransformValue, A.CssUnparsedValue]); + _inherit(A.CssPerspective, A.CssTransformComponent); + _inherit(A.CssStyleDeclaration, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase); + _inherit(A.CssStyleRule, A.CssRule); + _inherit(A.CssStyleSheet, A.StyleSheet); + _inherit(A.CssUnitValue, A.CssNumericValue); + _inheritMany(A.ReportBody, [A.DeprecationReport, A.InterventionReport]); + _inherit(A.DomPoint, A.DomPointReadOnly); + _inherit(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomRectList_JavaScriptObject_ListMixin); + _inherit(A.DomRectList, A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomStringList_JavaScriptObject_ListMixin); + _inherit(A.DomStringList, A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.ElementEvents, A.Events); + _inherit(A.File, A.Blob); + _inherit(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A._FileList_JavaScriptObject_ListMixin); + _inherit(A.FileList, A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A._HtmlCollection_JavaScriptObject_ListMixin); + _inherit(A.HtmlCollection, A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.HtmlDocument, A.Document); + _inherit(A.HttpRequest, A.HttpRequestEventTarget); + _inheritMany(A.UIEvent, [A.KeyboardEvent, A.MouseEvent, A.TouchEvent]); + _inherit(A.MidiInputMap, A._MidiInputMap_JavaScriptObject_MapMixin); + _inherit(A.MidiOutputMap, A._MidiOutputMap_JavaScriptObject_MapMixin); + _inherit(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._MimeTypeArray_JavaScriptObject_ListMixin); + _inherit(A.MimeTypeArray, A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NodeList_JavaScriptObject_ListMixin); + _inherit(A.NodeList, A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._PluginArray_JavaScriptObject_ListMixin); + _inherit(A.PluginArray, A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.PointerEvent, A.MouseEvent); + _inherit(A.ProcessingInstruction, A.CharacterData); + _inherit(A.RtcStatsReport, A._RtcStatsReport_JavaScriptObject_MapMixin); + _inherit(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A._SourceBufferList_EventTarget_ListMixin); + _inherit(A.SourceBufferList, A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A._SpeechGrammarList_JavaScriptObject_ListMixin); + _inherit(A.SpeechGrammarList, A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.Storage, A._Storage_JavaScriptObject_MapMixin); + _inherit(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TextTrackCueList_JavaScriptObject_ListMixin); + _inherit(A.TextTrackCueList, A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A._TextTrackList_EventTarget_ListMixin); + _inherit(A.TextTrackList, A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TouchList_JavaScriptObject_ListMixin); + _inherit(A.TouchList, A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.VideoElement, A.MediaElement); + _inherit(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__CssRuleList_JavaScriptObject_ListMixin); + _inherit(A._CssRuleList, A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomRect, A.DomRectReadOnly); + _inherit(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__GamepadList_JavaScriptObject_ListMixin); + _inherit(A._GamepadList, A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin); + _inherit(A._NamedNodeMap, A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin); + _inherit(A._SpeechRecognitionResultList, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin); + _inherit(A._StyleSheetList, A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._ElementAttributeMap, A._AttributeMap); + _inherit(A.CssClassSetImpl, A.SetBase); + _inheritMany(A.CssClassSetImpl, [A._ElementCssClassSet, A.AttributeClassSet]); + _inherit(A._ElementEventStreamImpl, A._EventStream); + _inherit(A._EventStreamSubscription, A.StreamSubscription); + _inherit(A._TemplatingNodeValidator, A._SimpleNodeValidator); + _inherit(A.KeyEvent, A._WrappedEvent); + _inherit(A._StructuredCloneDart2Js, A._StructuredClone); + _inherit(A._AcceptStructuredCloneDart2Js, A._AcceptStructuredClone); + _inherit(A.CursorWithValue, A.Cursor); + _inheritMany(A.JsObject, [A.JsFunction, A._JsArray_JsObject_ListMixin]); + _inherit(A.JsArray, A._JsArray_JsObject_ListMixin); + _inherit(A.Rectangle, A._RectangleBase); + _inheritMany(A.SvgElement, [A.GraphicsElement, A.FEGaussianBlurElement, A.FEMergeElement, A.FEMergeNodeElement, A.FilterElement]); + _inheritMany(A.GraphicsElement, [A.AElement, A.GeometryElement, A.DefsElement, A.GElement, A.SvgSvgElement, A.TextContentElement]); + _inheritMany(A.GeometryElement, [A.CircleElement, A.PolygonElement, A.RectElement]); + _inherit(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A._LengthList_JavaScriptObject_ListMixin); + _inherit(A.LengthList, A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NumberList_JavaScriptObject_ListMixin); + _inherit(A.NumberList, A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._StringList_JavaScriptObject_ListMixin); + _inherit(A.StringList, A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inheritMany(A.TextContentElement, [A.TextPositioningElement, A.TextPathElement]); + _inherit(A.TextElement, A.TextPositioningElement); + _inherit(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TransformList_JavaScriptObject_ListMixin); + _inherit(A.TransformList, A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._UnmodifiableUint8ListView, A.__UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin); + _inherit(A._UnmodifiableInt32ListView, A.__UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin); + _inherit(A.AudioParamMap, A._AudioParamMap_JavaScriptObject_MapMixin); + _inherit(A.AudioScheduledSourceNode, A.AudioNode); + _inherit(A.ConstantSourceNode, A.AudioScheduledSourceNode); + _inherit(A.OfflineAudioContext, A.BaseAudioContext); + _inherit(A.ArchiveException, A.FormatException); + _inherit(A.InputStream, A.InputStreamBase); + _inherit(A.OutputStream, A.OutputStreamBase); + _inherit(A.ZipFile, A.FileContent); + _inherit(A._BuiltList, A.BuiltList); + _inherit(A._BuiltListMultimap, A.BuiltListMultimap); _inherit(A._BuiltMap, A.BuiltMap); - _inherit(X._BuiltSet, X.BuiltSet); - _inherit(M._BuiltSetMultimap, M.BuiltSetMultimap); + _inherit(A._BuiltSet, A.BuiltSet); + _inherit(A._BuiltSetMultimap, A.BuiltSetMultimap); _inheritMany(A.JsonObject, [A.BoolJsonObject, A.ListJsonObject, A.MapJsonObject, A.NumJsonObject, A.StringJsonObject]); - _inherit(U.SetEquality, U._UnorderedEquality); - _inherit(M.DelegatingList, M._DelegatingIterableBase); - _inherit(S.RgbColor, S.Color); - _inherit(S.HexColor, S.RgbColor); - _inheritMany(Z._EventManager, [Z._TouchManager, Z._MouseManager, Z._PointerManager]); - _inherit(O.BrowserClient, E.BaseClient); - _inherit(Z.ByteStream, P.StreamView); - _inherit(O.Request, G.BaseRequest); - _inheritMany(T.BaseResponse, [U.Response, X.StreamedResponse]); - _inherit(Z.CaseInsensitiveMap, M.CanonicalizedMap); - _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, S._UiProps_MapBase_MapViewMixin); - _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin); - _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin); - _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin); - _inherit(S.UiProps, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin); - _inherit(B._UiProps_UiProps_GeneratedClass, S.UiProps); - _inherit(B.UiProps0, B._UiProps_UiProps_GeneratedClass); - _inheritMany(B.UiProps0, [A._DomProps_UiProps_DomPropsMixin, A._SvgProps_UiProps_DomPropsMixin, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, X.ReduxProviderProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, F.__$$EndMovingProps_UiProps_EndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, U.__$$DesignSideProps_UiProps_DesignSideProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, M.__$$EditModeProps_UiProps_EditModeProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, D.__$$MenuProps_UiProps_MenuPropsMixin, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, D.__$$SelectModeProps_UiProps_SelectModePropsMixin, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps, A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps]); + _inherit(A.SetEquality, A._UnorderedEquality); + _inherit(A.DelegatingList, A._DelegatingIterableBase); + _inherit(A.RgbColor, A.Color); + _inherit(A.HexColor, A.RgbColor); + _inheritMany(A._EventManager, [A._TouchManager, A._MouseManager, A._PointerManager]); + _inherit(A.BrowserClient, A.BaseClient); + _inherit(A.ByteStream, A.StreamView); + _inherit(A.Request, A.BaseRequest); + _inheritMany(A.BaseResponse, [A.Response, A.StreamedResponse]); + _inherit(A.CaseInsensitiveMap, A.CanonicalizedMap); + _inherit(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, A._UiProps_MapBase_MapViewMixin); + _inherit(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin); + _inherit(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin); + _inherit(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin); + _inherit(A.UiProps, A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin); + _inherit(A._UiProps_UiProps_GeneratedClass, A.UiProps); + _inherit(A.UiProps0, A._UiProps_UiProps_GeneratedClass); + _inheritMany(A.UiProps0, [A._DomProps_UiProps_DomPropsMixin, A._SvgProps_UiProps_DomPropsMixin, A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin, A.__$$End3PrimeProps_UiProps_End3PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps, A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps, A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps, A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, A.__$$DesignFooterProps_UiProps_DesignFooterProps, A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, A.__$$DesignMainProps_UiProps_DesignMainProps, A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps, A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps, A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps, A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps, A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps, A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps, A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps, A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin, A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, A.__$$EndMovingProps_UiProps_EndMovingProps, A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps, A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps, A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps, A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps, A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps, A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps, A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps, A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps, A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps, A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, A.__$$DesignSideProps_UiProps_DesignSideProps, A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, A.__$$EditModeProps_UiProps_EditModeProps, A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, A.__$$MenuProps_UiProps_MenuProps, A.__$$MenuBooleanProps_UiProps_MenuBooleanProps, A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps, A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, A.__$$MenuFormFileProps_UiProps_MenuFormFileProps, A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, A.__$$SideMenuProps_UiProps_SideMenuProps, A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, A.__$$SelectModeProps_UiProps_SelectModePropsMixin, A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps, A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps]); _inherit(A.DomProps, A._DomProps_UiProps_DomPropsMixin); _inherit(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, A._SvgProps_UiProps_DomPropsMixin); _inherit(A.SvgProps, A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin); - _inherit(Z._UiComponent2_Component2_DisposableManagerProxy, V.Component2); - _inherit(Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, Z._UiComponent2_Component2_DisposableManagerProxy); - _inherit(Z.UiComponent2, Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass); - _inheritMany(Z.UiComponent2, [Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, B.End3PrimeComponent, A.End5PrimeComponent, V.DesignFooterComponent, Q.DesignLoadingDialogComponent, V.DesignMainComponent, Q.DesignMainArrowsComponent, Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent, M._DesignMainDNASequencesComponent_UiComponent2_PureComponent, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent, R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, V._DesignMainHelicesComponent_UiComponent2_PureComponent, T._DesignMainHelixComponent_UiComponent2_PureComponent, K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, S.DesignMainPotentialVerticalCrossoversComponent, M._DesignMainSliceBarComponent_UiComponent2_PureComponent, M._DesignMainStrandComponent_UiComponent2_PureComponent, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, S._DesignMainDNAEndComponent_UiComponent2_PureComponent, F.EndMovingComponent, T.ExtensionEndMovingComponent, T._DesignMainDomainComponent_UiComponent2_PureComponent, B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, Q._DesignMainExtensionComponent_UiComponent2_PureComponent, R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, X.DesignMainStrandModificationComponent, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent, E._DesignMainStrandsComponent_UiComponent2_PureComponent, F.DesignMainStrandsMovingComponent, B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, R.DesignMainWarningStarComponent, U._DesignSideComponent_UiComponent2_PureComponent, S.DesignMainArrowsComponent0, B._DesignSideHelixComponent_UiComponent2_PureComponent, Y.DesignSidePotentialHelixComponent, O._DesignSideRotationComponent_UiComponent2_PureComponent, E.DesignSideRotationArrowComponent, Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, M._EditModeComponent_UiComponent2_RedrawCounterMixin, O._HelixGroupMovingComponent_UiComponent2_PureComponent, D._MenuComponent_UiComponent2_RedrawCounterMixin, Z.MenuBooleanComponent, N.MenuDropdownItemComponent, O.MenuFormFileComponent, M.MenuNumberComponent, Q._SideMenuComponent_UiComponent2_RedrawCounterMixin, M.PotentialCrossoverViewComponent, R.PotentialExtensionsViewComponent, D._SelectModeComponent_UiComponent2_RedrawCounterMixin, Y.SelectionBoxViewComponent, A.SelectionRopeViewComponent]); - _inherit(Z.UiStatefulComponent2, Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2); - _inheritMany(Z.UiStatefulComponent2, [Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, M.MenuDropdownRightComponent, A.StrandOrSubstrandColorPickerComponent]); - _inherit(Z.ErrorBoundaryComponent, Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); - _inherit(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps); - _inherit(Z._$$ErrorBoundaryProps, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); - _inheritMany(Z._$$ErrorBoundaryProps, [Z._$$ErrorBoundaryProps$PlainMap, Z._$$ErrorBoundaryProps$JsMap]); - _inherit(S._UiState_Object_MapViewMixin_StateMapViewMixin, S._UiState_Object_MapViewMixin); - _inherit(S.UiState0, S._UiState_Object_MapViewMixin_StateMapViewMixin); - _inherit(B._UiState_UiState_GeneratedClass, S.UiState0); - _inherit(B.UiState, B._UiState_UiState_GeneratedClass); - _inheritMany(B.UiState, [Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState]); - _inherit(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState); - _inherit(Z._$$ErrorBoundaryState, Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); - _inherit(Z._$$ErrorBoundaryState$JsMap, Z._$$ErrorBoundaryState); - _inherit(Z._$ErrorBoundaryComponent, Z.ErrorBoundaryComponent); - _inherit(E.RecoverableErrorBoundaryComponent, E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); - _inherit(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps); - _inherit(E._$$RecoverableErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); - _inheritMany(E._$$RecoverableErrorBoundaryProps, [E._$$RecoverableErrorBoundaryProps$PlainMap, E._$$RecoverableErrorBoundaryProps$JsMap]); - _inherit(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState); - _inherit(E._$$RecoverableErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); - _inherit(E._$$RecoverableErrorBoundaryState$JsMap, E._$$RecoverableErrorBoundaryState); - _inherit(E._$RecoverableErrorBoundaryComponent, E.RecoverableErrorBoundaryComponent); - _inherit(S.PropsMetaCollection, S._AccessorMetaCollection); + _inheritMany(A.Component2, [A._UiComponent2_Component2_DisposableManagerProxy, A._DummyComponent2]); + _inherit(A._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, A._UiComponent2_Component2_DisposableManagerProxy); + _inherit(A.UiComponent2, A._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass); + _inheritMany(A.UiComponent2, [A._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, A.End3PrimeComponent, A.End5PrimeComponent, A.DesignMainArrowsComponent, A.AxisArrowsComponent, A.DesignFooterComponent, A.DesignLoadingDialogComponent, A.DesignMainComponent, A._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, A._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, A._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, A._DesignMainDNASequenceComponent_UiComponent2_PureComponent, A._DesignMainDNASequencesComponent_UiComponent2_PureComponent, A._DesignMainDomainMovingComponent_UiComponent2_PureComponent, A._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, A._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, A._DesignMainHelicesComponent_UiComponent2_PureComponent, A._DesignMainHelixComponent_UiComponent2_PureComponent, A._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, A._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, A._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, A.DesignMainPotentialVerticalCrossoversComponent, A._DesignMainSliceBarComponent_UiComponent2_PureComponent, A._DesignMainStrandComponent_UiComponent2_PureComponent, A._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, A._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, A._DesignMainDNAEndComponent_UiComponent2_PureComponent, A.EndMovingComponent, A.ExtensionEndMovingComponent, A._DesignMainDomainComponent_UiComponent2_PureComponent, A._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, A._DesignMainExtensionComponent_UiComponent2_PureComponent, A._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, A._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, A.DesignMainStrandModificationComponent, A._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, A._DesignMainStrandMovingComponent_UiComponent2_PureComponent, A._DesignMainStrandPathsComponent_UiComponent2_PureComponent, A._DesignMainStrandsComponent_UiComponent2_PureComponent, A.DesignMainStrandsMovingComponent, A._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, A.DesignMainWarningStarComponent, A._DesignSideComponent_UiComponent2_PureComponent, A._DesignSideHelixComponent_UiComponent2_PureComponent, A.DesignSidePotentialHelixComponent, A._DesignSideRotationComponent_UiComponent2_PureComponent, A.DesignSideRotationArrowComponent, A._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, A._EditModeComponent_UiComponent2_RedrawCounterMixin, A._HelixGroupMovingComponent_UiComponent2_PureComponent, A.MenuComponent, A.MenuBooleanComponent, A.MenuDropdownItemComponent, A.MenuFormFileComponent, A.MenuNumberComponent, A.SideMenuComponent, A.PotentialCrossoverViewComponent, A.PotentialExtensionsViewComponent, A._SelectModeComponent_UiComponent2_RedrawCounterMixin, A.SelectionBoxViewComponent, A.SelectionRopeViewComponent]); + _inherit(A.UiStatefulComponent2, A._UiStatefulComponent2_UiComponent2_UiStatefulMixin2); + _inheritMany(A.UiStatefulComponent2, [A._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, A._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, A._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, A._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, A._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, A.MenuDropdownRightComponent, A.StrandOrSubstrandColorPickerComponent]); + _inherit(A.ErrorBoundaryComponent, A._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(A._$$ErrorBoundaryProps, A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(A._$$ErrorBoundaryProps, [A._$$ErrorBoundaryProps$PlainMap, A._$$ErrorBoundaryProps$JsMap]); + _inherit(A._UiState_Object_MapViewMixin_StateMapViewMixin, A._UiState_Object_MapViewMixin); + _inherit(A.UiState0, A._UiState_Object_MapViewMixin_StateMapViewMixin); + _inherit(A._UiState_UiState_GeneratedClass, A.UiState0); + _inherit(A.UiState, A._UiState_UiState_GeneratedClass); + _inheritMany(A.UiState, [A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, A.__$$DesignContextMenuState_UiState_DesignContextMenuState, A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, A.__$$DesignDialogFormState_UiState_DesignDialogFormState, A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState]); + _inherit(A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(A._$$ErrorBoundaryState, A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(A._$$ErrorBoundaryState$JsMap, A._$$ErrorBoundaryState); + _inherit(A._$ErrorBoundaryComponent, A.ErrorBoundaryComponent); + _inherit(A.RecoverableErrorBoundaryComponent, A._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(A._$$RecoverableErrorBoundaryProps, A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(A._$$RecoverableErrorBoundaryProps, [A._$$RecoverableErrorBoundaryProps$PlainMap, A._$$RecoverableErrorBoundaryProps$JsMap]); + _inherit(A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(A._$$RecoverableErrorBoundaryState, A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(A._$$RecoverableErrorBoundaryState$JsMap, A._$$RecoverableErrorBoundaryState); + _inherit(A._$RecoverableErrorBoundaryComponent, A.RecoverableErrorBoundaryComponent); + _inherit(A.PropsMetaCollection, A._AccessorMetaCollection); _inherit(A.Component2BridgeImpl, A.Component2Bridge); - _inherit(Z.UiComponent2BridgeImpl, A.Component2BridgeImpl); - _inheritMany(V.ReactComponentFactoryProxy, [A.ReactJsComponentFactoryProxy, A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin, A.ReactDomComponentFactoryProxy]); + _inherit(A.UiComponent2BridgeImpl, A.Component2BridgeImpl); + _inheritMany(A.ReactComponentFactoryProxy, [A.ReactJsComponentFactoryProxy, A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin, A.ReactDomComponentFactoryProxy]); _inherit(A.ReactJsContextComponentFactoryProxy, A.ReactJsComponentFactoryProxy); - _inherit(X.ReactJsReactReduxComponentFactoryProxy, A.ReactJsContextComponentFactoryProxy); - _inherit(B.InternalStyle, O.Style); - _inheritMany(B.InternalStyle, [E.PosixStyle, F.UrlStyle, L.WindowsStyle]); - _inherit(E.Result, M.Context1); - _inheritMany(E.Result, [B.Failure, D.Success]); - _inheritMany(G.Parser, [F.ReferenceParser, Z.DelegateParser, G.CharacterParser, D.ListParser, U.EndOfInputParser, E.EpsilonParser, V.AnyParser, Z.PredicateParser, L.XmlCharacterDataParser]); - _inheritMany(Z.DelegateParser, [T.CastParser, K.FlattenParser, A.MapParser, R.PickParser, L.TokenParser, M.OptionalParser, N.RepeatingParser]); - _inheritMany(Z.CharacterPredicate, [G.SingleCharPredicate, L.ConstantCharPredicate, A.NotCharacterPredicate]); - _inheritMany(D.ListParser, [O.ChoiceParser, Q.SequenceParser]); - _inheritMany(N.RepeatingParser, [G.LimitedRepeatingParser, Z.PossessiveRepeatingParser]); - _inherit(U.LazyRepeatingParser, G.LimitedRepeatingParser); - _inheritMany(L.Browser, [L._Chrome, L._Firefox, L._Safari, L._WKWebView, L._InternetExplorer]); - _inheritMany(U.CipherParameters, [U.KeyParameter, N.Pbkdf2Parameters]); - _inherit(F.AESEngine, G.BaseBlockCipher); - _inherit(G.MD4FamilyDigest, T.BaseDigest); - _inherit(A.SHA1Digest, G.MD4FamilyDigest); - _inherit(D.PBKDF2KeyDerivator, N.BaseKeyDerivator); - _inherit(A.HMac, O.BaseMac); + _inherit(A.ReactJsReactReduxComponentFactoryProxy, A.ReactJsContextComponentFactoryProxy); + _inherit(A._JsPropertyDescriptor, A.JsMap); + _inherit(A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin, A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin); + _inherit(A._$$ReduxProviderProps, A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin); + _inheritMany(A._$$ReduxProviderProps, [A._$$ReduxProviderProps$PlainMap, A._$$ReduxProviderProps$JsMap]); + _inherit(A.InternalStyle, A.Style); + _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]); + _inherit(A.Result, A.Context1); + _inheritMany(A.Result, [A.Failure, A.Success]); + _inheritMany(A.Parser, [A.ReferenceParser, A.DelegateParser, A.ListParser, A.SequenceParser2, A.SequenceParser3, A.SequenceParser4, A.SequenceParser5, A.SequenceParser8, A.EpsilonParser, A.NewlineParser, A.AnyCharacterParser, A.SingleCharacterParser, A.PredicateParser, A.RepeatingCharacterParser, A.XmlCharacterDataParser]); + _inheritMany(A.DelegateParser, [A.FlattenParser, A.MapParser, A.TokenParser, A.OptionalParser, A.SkipParser, A.RepeatingParser]); + _inheritMany(A.CharacterPredicate, [A.SingleCharPredicate, A.ConstantCharPredicate, A.NotCharacterPredicate]); + _inherit(A.ChoiceParser, A.ListParser); + _inheritMany(A.RepeatingParser, [A.LimitedRepeatingParser, A.PossessiveRepeatingParser]); + _inherit(A.LazyRepeatingParser, A.LimitedRepeatingParser); + _inheritMany(A.Browser, [A._Chrome, A.EdgeChrome, A._Firefox, A._Safari, A._WKWebView, A._InternetExplorer]); + _inheritMany(A.CipherParameters, [A.KeyParameter, A.Pbkdf2Parameters]); + _inherit(A.AESEngine, A.BaseBlockCipher); + _inherit(A.MD4FamilyDigest, A.BaseDigest); + _inherit(A.SHA1Digest, A.MD4FamilyDigest); + _inherit(A.PBKDF2KeyDerivator, A.BaseKeyDerivator); + _inherit(A.HMac, A.BaseMac); _inherit(A.ReactDartComponentFactoryProxy2, A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin); - _inheritMany(Q.SyntheticEvent, [Q.SyntheticClipboardEvent, Q.SyntheticKeyboardEvent, Q.SyntheticCompositionEvent, Q.SyntheticFocusEvent, Q.SyntheticFormEvent, Q.SyntheticMouseEvent, Q.SyntheticPointerEvent, Q.SyntheticTouchEvent, Q.SyntheticTransitionEvent, Q.SyntheticAnimationEvent, Q.SyntheticUIEvent, Q.SyntheticWheelEvent]); - _inherit(U.SkipUndo, U._SkipUndo_Object_BuiltJsonSerializable); - _inherit(U._Undo_Object_BuiltJsonSerializable_DesignChangingAction, U._Undo_Object_BuiltJsonSerializable); - _inherit(U.Undo, U._Undo_Object_BuiltJsonSerializable_DesignChangingAction); - _inherit(U._Redo_Object_BuiltJsonSerializable_DesignChangingAction, U._Redo_Object_BuiltJsonSerializable); - _inherit(U.Redo, U._Redo_Object_BuiltJsonSerializable_DesignChangingAction); - _inherit(U.UndoRedoClear, U._UndoRedoClear_Object_BuiltJsonSerializable); - _inherit(U._BatchAction_Object_BuiltJsonSerializable_UndoableAction, U._BatchAction_Object_BuiltJsonSerializable); - _inherit(U.BatchAction, U._BatchAction_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.ThrottledActionFast, U._ThrottledActionFast_Object_BuiltJsonSerializable); - _inherit(U.ThrottledActionNonFast, U._ThrottledActionNonFast_Object_BuiltJsonSerializable); - _inherit(U.LocalStorageDesignChoiceSet, U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable); - _inherit(U.ResetLocalStorage, U._ResetLocalStorage_Object_BuiltJsonSerializable); - _inherit(U.ClearHelixSelectionWhenLoadingNewDesignSet, U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable); - _inherit(U.EditModeToggle, U._EditModeToggle_Object_BuiltJsonSerializable); - _inherit(U.EditModesSet, U._EditModesSet_Object_BuiltJsonSerializable); - _inherit(U.SelectModeToggle, U._SelectModeToggle_Object_BuiltJsonSerializable); - _inherit(U.SelectModesAdd, U._SelectModesAdd_Object_BuiltJsonSerializable); - _inherit(U.SelectModesSet, U._SelectModesSet_Object_BuiltJsonSerializable); - _inherit(U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandNameSet_Object_BuiltJsonSerializable); - _inherit(U.StrandNameSet, U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandLabelSet_Object_BuiltJsonSerializable); - _inherit(U.StrandLabelSet, U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U._SubstrandNameSet_Object_BuiltJsonSerializable); - _inherit(U.SubstrandNameSet, U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U._SubstrandLabelSet_Object_BuiltJsonSerializable); - _inherit(U.SubstrandLabelSet, U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.SetAppUIStateStorable, U._SetAppUIStateStorable_Object_BuiltJsonSerializable); - _inherit(U.ShowDNASet, U._ShowDNASet_Object_BuiltJsonSerializable); - _inherit(U.ShowDomainNamesSet, U._ShowDomainNamesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowStrandNamesSet, U._ShowStrandNamesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowStrandLabelsSet, U._ShowStrandLabelsSet_Object_BuiltJsonSerializable); - _inherit(U.ShowDomainLabelsSet, U._ShowDomainLabelsSet_Object_BuiltJsonSerializable); - _inherit(U.ShowModificationsSet, U._ShowModificationsSet_Object_BuiltJsonSerializable); - _inherit(U.DomainNameFontSizeSet, U._DomainNameFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.DomainLabelFontSizeSet, U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.StrandNameFontSizeSet, U._StrandNameFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.StrandLabelFontSizeSet, U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.ModificationFontSizeSet, U._ModificationFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.MajorTickOffsetFontSizeSet, U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.MajorTickWidthFontSizeSet, U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable); - _inherit(U.SetModificationDisplayConnector, U._SetModificationDisplayConnector_Object_BuiltJsonSerializable); - _inherit(U.ShowMismatchesSet, U._ShowMismatchesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowDomainNameMismatchesSet, U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowUnpairedInsertionDeletionsSet, U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable); - _inherit(U.OxviewShowSet, U._OxviewShowSet_Object_BuiltJsonSerializable); - _inherit(U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable); - _inherit(U.DisplayMajorTicksOffsetsSet, U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable); - _inherit(U.SetDisplayMajorTickWidthsAllHelices, U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable); - _inherit(U.SetDisplayMajorTickWidths, U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable); - _inherit(U.SetOnlyDisplaySelectedHelices, U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable); - _inherit(U.InvertYSet, U._InvertYSet_Object_BuiltJsonSerializable); - _inherit(U.DynamicHelixUpdateSet, U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable); - _inherit(U.WarnOnExitIfUnsavedSet, U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable); - _inherit(U.LoadingDialogShow, U._LoadingDialogShow_Object_BuiltJsonSerializable); - _inherit(U.LoadingDialogHide, U._LoadingDialogHide_Object_BuiltJsonSerializable); - _inherit(U.CopySelectedStandsToClipboardImage, U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable); - _inherit(U.SaveDNAFile, U._SaveDNAFile_Object_BuiltJsonSerializable); - _inherit(U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U._LoadDNAFile_Object_BuiltJsonSerializable); - _inherit(U.LoadDNAFile, U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); - _inherit(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable); - _inherit(U.PrepareToLoadDNAFile, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); - _inherit(U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, U._NewDesignSet_Object_BuiltJsonSerializable); - _inherit(U.NewDesignSet, U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.ExportCadnanoFile, U._ExportCadnanoFile_Object_BuiltJsonSerializable); - _inherit(U.ExportCodenanoFile, U._ExportCodenanoFile_Object_BuiltJsonSerializable); - _inherit(U.ShowMouseoverDataSet, U._ShowMouseoverDataSet_Object_BuiltJsonSerializable); - _inherit(U.MouseoverDataClear, U._MouseoverDataClear_Object_BuiltJsonSerializable); - _inherit(U.MouseoverDataUpdate, U._MouseoverDataUpdate_Object_BuiltJsonSerializable); - _inherit(U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixRollSet_Object_BuiltJsonSerializable); - _inherit(U.HelixRollSet, U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, U._HelixRollSetAtOther_Object_BuiltJsonSerializable); - _inherit(U.HelixRollSetAtOther, U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, U._RelaxHelixRolls_Object_BuiltJsonSerializable); - _inherit(U.RelaxHelixRolls, U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.ErrorMessageSet, U._ErrorMessageSet_Object_BuiltJsonSerializable); - _inherit(U.SelectionBoxCreate, U._SelectionBoxCreate_Object_BuiltJsonSerializable); - _inherit(U.SelectionBoxSizeChange, U._SelectionBoxSizeChange_Object_BuiltJsonSerializable); - _inherit(U.SelectionBoxRemove, U._SelectionBoxRemove_Object_BuiltJsonSerializable); - _inherit(U.SelectionRopeCreate, U._SelectionRopeCreate_Object_BuiltJsonSerializable); - _inherit(U.SelectionRopeMouseMove, U._SelectionRopeMouseMove_Object_BuiltJsonSerializable); - _inherit(U.SelectionRopeAddPoint, U._SelectionRopeAddPoint_Object_BuiltJsonSerializable); - _inherit(U.SelectionRopeRemove, U._SelectionRopeRemove_Object_BuiltJsonSerializable); - _inherit(U.MouseGridPositionSideUpdate, U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable); - _inherit(U.MouseGridPositionSideClear, U._MouseGridPositionSideClear_Object_BuiltJsonSerializable); - _inherit(U.MousePositionSideUpdate, U._MousePositionSideUpdate_Object_BuiltJsonSerializable); - _inherit(U.MousePositionSideClear, U._MousePositionSideClear_Object_BuiltJsonSerializable); - _inherit(U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, U._GeometrySet_Object_BuiltJsonSerializable); - _inherit(U.GeometrySet, U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.SelectionBoxIntersectionRuleSet, U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable); - _inherit(U.Select, U._Select_Object_BuiltJsonSerializable); - _inherit(U.SelectionsClear, U._SelectionsClear_Object_BuiltJsonSerializable); - _inherit(U.SelectionsAdjustMainView, U._SelectionsAdjustMainView_Object_BuiltJsonSerializable); - _inherit(U.SelectOrToggleItems, U._SelectOrToggleItems_Object_BuiltJsonSerializable); - _inherit(U.SelectAll, U._SelectAll_Object_BuiltJsonSerializable); - _inherit(U.SelectAllSelectable, U._SelectAllSelectable_Object_BuiltJsonSerializable); - _inherit(U.SelectAllWithSameAsSelected, U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable); - _inherit(U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, U._DeleteAllSelected_Object_BuiltJsonSerializable); - _inherit(U.DeleteAllSelected, U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, U._HelixAdd_Object_BuiltJsonSerializable); - _inherit(U.HelixAdd, U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, U._HelixRemove_Object_BuiltJsonSerializable); - _inherit(U.HelixRemove, U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable); - _inherit(U.HelixRemoveAllSelected, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.HelixSelect, U._HelixSelect_Object_BuiltJsonSerializable); - _inherit(U.HelixSelectionsClear, U._HelixSelectionsClear_Object_BuiltJsonSerializable); - _inherit(U.HelixSelectionsAdjust, U._HelixSelectionsAdjust_Object_BuiltJsonSerializable); - _inherit(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickDistanceChange, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickDistanceChangeAll, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickStartChange, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickStartChangeAll, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTicksChange_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTicksChange, U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTicksChangeAll, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickPeriodicDistancesChange, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMajorTickPeriodicDistancesChangeAll, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixIdxsChange_Object_BuiltJsonSerializable); - _inherit(U.HelixIdxsChange, U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixOffsetChange_Object_BuiltJsonSerializable); - _inherit(U.HelixOffsetChange, U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable); - _inherit(U.HelixMinOffsetSetByDomains, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable); - _inherit(U.HelixMaxOffsetSetByDomains, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMinOffsetSetByDomainsAll, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable); - _inherit(U.HelixMaxOffsetSetByDomainsAll, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable); - _inherit(U.HelixMaxOffsetSetByDomainsAllSameMax, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable); - _inherit(U.HelixOffsetChangeAll, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.ShowMouseoverRectSet, U._ShowMouseoverRectSet_Object_BuiltJsonSerializable); - _inherit(U.ShowMouseoverRectToggle, U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable); - _inherit(U.ExportDNA, U._ExportDNA_Object_BuiltJsonSerializable); - _inherit(U.ExportCanDoDNA, U._ExportCanDoDNA_Object_BuiltJsonSerializable); - _inherit(U.ExportSvg, U._ExportSvg_Object_BuiltJsonSerializable); - _inherit(U.ExportSvgTextSeparatelySet, U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable); - _inherit(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable); - _inherit(U.ExtensionDisplayLengthAngleSet, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionAdd_Object_BuiltJsonSerializable); - _inherit(U.ExtensionAdd, U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable); - _inherit(U.ExtensionNumBasesChange, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable); - _inherit(U.ExtensionsNumBasesChange, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._LoopoutLengthChange_Object_BuiltJsonSerializable); - _inherit(U.LoopoutLengthChange, U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._LoopoutsLengthChange_Object_BuiltJsonSerializable); - _inherit(U.LoopoutsLengthChange, U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable); - _inherit(U.ConvertCrossoverToLoopout, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable); - _inherit(U.ConvertCrossoversToLoopouts, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._Nick_Object_BuiltJsonSerializable_UndoableAction, U._Nick_Object_BuiltJsonSerializable); - _inherit(U.Nick, U._Nick_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._Ligate_Object_BuiltJsonSerializable_UndoableAction, U._Ligate_Object_BuiltJsonSerializable); - _inherit(U.Ligate, U._Ligate_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable); - _inherit(U.JoinStrandsByCrossover, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, U._MoveLinker_Object_BuiltJsonSerializable); - _inherit(U.MoveLinker, U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable); - _inherit(U.JoinStrandsByMultipleCrossovers, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.StrandsReflect, U._StrandsReflect_Object_BuiltJsonSerializable); - _inherit(U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, U._ReplaceStrands_Object_BuiltJsonSerializable); - _inherit(U.ReplaceStrands, U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.StrandCreateStart, U._StrandCreateStart_Object_BuiltJsonSerializable); - _inherit(U.StrandCreateAdjustOffset, U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable); - _inherit(U.StrandCreateStop, U._StrandCreateStop_Object_BuiltJsonSerializable); - _inherit(U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, U._StrandCreateCommit_Object_BuiltJsonSerializable); - _inherit(U.StrandCreateCommit, U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.PotentialCrossoverCreate, U._PotentialCrossoverCreate_Object_BuiltJsonSerializable); - _inherit(U.PotentialCrossoverMove, U._PotentialCrossoverMove_Object_BuiltJsonSerializable); - _inherit(U.PotentialCrossoverRemove, U._PotentialCrossoverRemove_Object_BuiltJsonSerializable); - _inherit(U.ManualPasteInitiate, U._ManualPasteInitiate_Object_BuiltJsonSerializable); - _inherit(U.AutoPasteInitiate, U._AutoPasteInitiate_Object_BuiltJsonSerializable); - _inherit(U.CopySelectedStrands, U._CopySelectedStrands_Object_BuiltJsonSerializable); - _inherit(U.StrandsMoveStart, U._StrandsMoveStart_Object_BuiltJsonSerializable); - _inherit(U.StrandsMoveStartSelectedStrands, U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable); - _inherit(U.StrandsMoveStop, U._StrandsMoveStop_Object_BuiltJsonSerializable); - _inherit(U.StrandsMoveAdjustAddress, U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable); - _inherit(U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._StrandsMoveCommit_Object_BuiltJsonSerializable); - _inherit(U.StrandsMoveCommit, U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.DomainsMoveStartSelectedDomains, U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable); - _inherit(U.DomainsMoveStop, U._DomainsMoveStop_Object_BuiltJsonSerializable); - _inherit(U.DomainsMoveAdjustAddress, U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable); - _inherit(U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DomainsMoveCommit_Object_BuiltJsonSerializable); - _inherit(U.DomainsMoveCommit, U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.DNAEndsMoveStart, U._DNAEndsMoveStart_Object_BuiltJsonSerializable); - _inherit(U.DNAEndsMoveSetSelectedEnds, U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable); - _inherit(U.DNAEndsMoveAdjustOffset, U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable); - _inherit(U.DNAEndsMoveStop, U._DNAEndsMoveStop_Object_BuiltJsonSerializable); - _inherit(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable); - _inherit(U.DNAEndsMoveCommit, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.DNAExtensionsMoveStart, U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable); - _inherit(U.DNAExtensionsMoveSetSelectedExtensionEnds, U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable); - _inherit(U.DNAExtensionsMoveAdjustPosition, U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable); - _inherit(U.DNAExtensionsMoveStop, U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable); - _inherit(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable); - _inherit(U.DNAExtensionsMoveCommit, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.HelixGroupMoveStart, U._HelixGroupMoveStart_Object_BuiltJsonSerializable); - _inherit(U.HelixGroupMoveCreate, U._HelixGroupMoveCreate_Object_BuiltJsonSerializable); - _inherit(U.HelixGroupMoveAdjustTranslation, U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable); - _inherit(U.HelixGroupMoveStop, U._HelixGroupMoveStop_Object_BuiltJsonSerializable); - _inherit(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable); - _inherit(U.HelixGroupMoveCommit, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, U._AssignDNA_Object_BuiltJsonSerializable); - _inherit(U.AssignDNA, U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable); - _inherit(U.AssignDNAComplementFromBoundStrands, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable); - _inherit(U.AssignDomainNameComplementFromBoundStrands, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable); - _inherit(U.AssignDomainNameComplementFromBoundDomains, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, U._RemoveDNA_Object_BuiltJsonSerializable); - _inherit(U.RemoveDNA, U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, U._InsertionAdd_Object_BuiltJsonSerializable); - _inherit(U.InsertionAdd, U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._InsertionLengthChange_Object_BuiltJsonSerializable); - _inherit(U.InsertionLengthChange, U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._InsertionsLengthChange_Object_BuiltJsonSerializable); - _inherit(U.InsertionsLengthChange, U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, U._DeletionAdd_Object_BuiltJsonSerializable); - _inherit(U.DeletionAdd, U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, U._InsertionRemove_Object_BuiltJsonSerializable); - _inherit(U.InsertionRemove, U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, U._DeletionRemove_Object_BuiltJsonSerializable); - _inherit(U.DeletionRemove, U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable); - _inherit(U.ScalePurificationVendorFieldsAssign, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable); - _inherit(U.PlateWellVendorFieldsAssign, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable); - _inherit(U.PlateWellVendorFieldsRemove, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U._VendorFieldsRemove_Object_BuiltJsonSerializable); - _inherit(U.VendorFieldsRemove, U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, U._ModificationAdd_Object_BuiltJsonSerializable); - _inherit(U.ModificationAdd, U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, U._ModificationRemove_Object_BuiltJsonSerializable); - _inherit(U.ModificationRemove, U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.ModificationConnectorLengthSet, U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable); - _inherit(U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, U._ModificationEdit_Object_BuiltJsonSerializable); - _inherit(U.ModificationEdit, U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable); - _inherit(U.Modifications5PrimeEdit, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable); - _inherit(U.Modifications3PrimeEdit, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, U._ModificationsInternalEdit_Object_BuiltJsonSerializable); - _inherit(U.ModificationsInternalEdit, U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._GridChange_Object_BuiltJsonSerializable_UndoableAction, U._GridChange_Object_BuiltJsonSerializable); - _inherit(U.GridChange, U._GridChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.GroupDisplayedChange, U._GroupDisplayedChange_Object_BuiltJsonSerializable); - _inherit(U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, U._GroupAdd_Object_BuiltJsonSerializable); - _inherit(U.GroupAdd, U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, U._GroupRemove_Object_BuiltJsonSerializable); - _inherit(U.GroupRemove, U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._GroupChange_Object_BuiltJsonSerializable_UndoableAction, U._GroupChange_Object_BuiltJsonSerializable); - _inherit(U.GroupChange, U._GroupChange_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, U._MoveHelicesToGroup_Object_BuiltJsonSerializable); - _inherit(U.MoveHelicesToGroup, U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.DialogShow, U._DialogShow_Object_BuiltJsonSerializable); - _inherit(U.DialogHide, U._DialogHide_Object_BuiltJsonSerializable); - _inherit(U.ContextMenuShow, U._ContextMenuShow_Object_BuiltJsonSerializable); - _inherit(U.ContextMenuHide, U._ContextMenuHide_Object_BuiltJsonSerializable); - _inherit(U.StrandOrSubstrandColorPickerShow, U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable); - _inherit(U.StrandOrSubstrandColorPickerHide, U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable); - _inherit(U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, U._ScaffoldSet_Object_BuiltJsonSerializable); - _inherit(U.ScaffoldSet, U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable); - _inherit(U.StrandOrSubstrandColorSet, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.StrandPasteKeepColorSet, U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable); - _inherit(U.ExampleDesignsLoad, U._ExampleDesignsLoad_Object_BuiltJsonSerializable); - _inherit(U.BasePairTypeSet, U._BasePairTypeSet_Object_BuiltJsonSerializable); - _inherit(U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixPositionSet_Object_BuiltJsonSerializable); - _inherit(U.HelixPositionSet, U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixGridPositionSet_Object_BuiltJsonSerializable); - _inherit(U.HelixGridPositionSet, U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.HelicesPositionsSetBasedOnCrossovers, U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable); - _inherit(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable); - _inherit(U.InlineInsertionsDeletions, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction); - _inherit(U.DefaultCrossoverTypeForSettingHelixRollsSet, U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable); - _inherit(U.AutofitSet, U._AutofitSet_Object_BuiltJsonSerializable); - _inherit(U.ShowHelixCirclesMainViewSet, U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable); - _inherit(U.ShowHelixComponentsMainViewSet, U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable); - _inherit(U.ShowEditMenuToggle, U._ShowEditMenuToggle_Object_BuiltJsonSerializable); - _inherit(U.ShowGridCoordinatesSideViewSet, U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable); - _inherit(U.ShowAxisArrowsSet, U._ShowAxisArrowsSet_Object_BuiltJsonSerializable); - _inherit(U.ShowLoopoutExtensionLengthSet, U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable); - _inherit(U.LoadDnaSequenceImageUri, U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable); - _inherit(U.SetIsZoomAboveThreshold, U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable); - _inherit(U.SetExportSvgActionDelayedForPngCache, U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable); - _inherit(U.ShowBasePairLinesSet, U._ShowBasePairLinesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowBasePairLinesWithMismatchesSet, U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable); - _inherit(U.ShowSliceBarSet, U._ShowSliceBarSet_Object_BuiltJsonSerializable); - _inherit(U.SliceBarOffsetSet, U._SliceBarOffsetSet_Object_BuiltJsonSerializable); - _inherit(U.DisablePngCachingDnaSequencesSet, U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable); - _inherit(U.RetainStrandColorOnSelectionSet, U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable); - _inherit(U.DisplayReverseDNARightSideUpSet, U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable); - _inherit(U.SliceBarMoveStart, U._SliceBarMoveStart_Object_BuiltJsonSerializable); - _inherit(U.SliceBarMoveStop, U._SliceBarMoveStop_Object_BuiltJsonSerializable); - _inherit(U.Autostaple, U._Autostaple_Object_BuiltJsonSerializable); - _inherit(U.Autobreak, U._Autobreak_Object_BuiltJsonSerializable); - _inherit(U.ZoomSpeedSet, U._ZoomSpeedSet_Object_BuiltJsonSerializable); - _inherit(U.OxdnaExport, U._OxdnaExport_Object_BuiltJsonSerializable); - _inherit(U.OxviewExport, U._OxviewExport_Object_BuiltJsonSerializable); - _inherit(U.OxExportOnlySelectedStrandsSet, U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable); - _inherit(U._$SkipUndo, U.SkipUndo); - _inherit(U._$Undo, U.Undo); - _inherit(U._$Redo, U.Redo); - _inherit(U._$UndoRedoClear, U.UndoRedoClear); - _inherit(U._$BatchAction, U.BatchAction); - _inherit(U._$ThrottledActionFast, U.ThrottledActionFast); - _inherit(U._$ThrottledActionNonFast, U.ThrottledActionNonFast); - _inherit(U._$LocalStorageDesignChoiceSet, U.LocalStorageDesignChoiceSet); - _inherit(U._$ResetLocalStorage, U.ResetLocalStorage); - _inherit(U._$ClearHelixSelectionWhenLoadingNewDesignSet, U.ClearHelixSelectionWhenLoadingNewDesignSet); - _inherit(U._$EditModeToggle, U.EditModeToggle); - _inherit(U._$EditModesSet, U.EditModesSet); - _inherit(U._$SelectModeToggle, U.SelectModeToggle); - _inherit(U._$SelectModesAdd, U.SelectModesAdd); - _inherit(U._$SelectModesSet, U.SelectModesSet); - _inherit(U._$StrandNameSet, U.StrandNameSet); - _inherit(U._$StrandLabelSet, U.StrandLabelSet); - _inherit(U._$SubstrandNameSet, U.SubstrandNameSet); - _inherit(U._$SubstrandLabelSet, U.SubstrandLabelSet); - _inherit(U._$SetAppUIStateStorable, U.SetAppUIStateStorable); - _inherit(U._$ShowDNASet, U.ShowDNASet); - _inherit(U._$ShowDomainNamesSet, U.ShowDomainNamesSet); - _inherit(U._$ShowStrandNamesSet, U.ShowStrandNamesSet); - _inherit(U._$ShowStrandLabelsSet, U.ShowStrandLabelsSet); - _inherit(U._$ShowDomainLabelsSet, U.ShowDomainLabelsSet); - _inherit(U._$ShowModificationsSet, U.ShowModificationsSet); - _inherit(U._$DomainNameFontSizeSet, U.DomainNameFontSizeSet); - _inherit(U._$DomainLabelFontSizeSet, U.DomainLabelFontSizeSet); - _inherit(U._$StrandNameFontSizeSet, U.StrandNameFontSizeSet); - _inherit(U._$StrandLabelFontSizeSet, U.StrandLabelFontSizeSet); - _inherit(U._$ModificationFontSizeSet, U.ModificationFontSizeSet); - _inherit(U._$MajorTickOffsetFontSizeSet, U.MajorTickOffsetFontSizeSet); - _inherit(U._$MajorTickWidthFontSizeSet, U.MajorTickWidthFontSizeSet); - _inherit(U._$SetModificationDisplayConnector, U.SetModificationDisplayConnector); - _inherit(U._$ShowMismatchesSet, U.ShowMismatchesSet); - _inherit(U._$ShowDomainNameMismatchesSet, U.ShowDomainNameMismatchesSet); - _inherit(U._$ShowUnpairedInsertionDeletionsSet, U.ShowUnpairedInsertionDeletionsSet); - _inherit(U._$OxviewShowSet, U.OxviewShowSet); - _inherit(U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix); - _inherit(U._$DisplayMajorTicksOffsetsSet, U.DisplayMajorTicksOffsetsSet); - _inherit(U._$SetDisplayMajorTickWidthsAllHelices, U.SetDisplayMajorTickWidthsAllHelices); - _inherit(U._$SetDisplayMajorTickWidths, U.SetDisplayMajorTickWidths); - _inherit(U._$SetOnlyDisplaySelectedHelices, U.SetOnlyDisplaySelectedHelices); - _inherit(U._$InvertYSet, U.InvertYSet); - _inherit(U._$DynamicHelixUpdateSet, U.DynamicHelixUpdateSet); - _inherit(U._$WarnOnExitIfUnsavedSet, U.WarnOnExitIfUnsavedSet); - _inherit(U._$LoadingDialogShow, U.LoadingDialogShow); - _inherit(U._$LoadingDialogHide, U.LoadingDialogHide); - _inherit(U._$CopySelectedStandsToClipboardImage, U.CopySelectedStandsToClipboardImage); - _inherit(U._$SaveDNAFile, U.SaveDNAFile); - _inherit(U._$LoadDNAFile, U.LoadDNAFile); - _inherit(U._$PrepareToLoadDNAFile, U.PrepareToLoadDNAFile); - _inherit(U._$NewDesignSet, U.NewDesignSet); - _inherit(U._$ExportCadnanoFile, U.ExportCadnanoFile); - _inherit(U._$ExportCodenanoFile, U.ExportCodenanoFile); - _inherit(U._$ShowMouseoverDataSet, U.ShowMouseoverDataSet); - _inherit(U._$MouseoverDataClear, U.MouseoverDataClear); - _inherit(U._$MouseoverDataUpdate, U.MouseoverDataUpdate); - _inherit(U._$HelixRollSet, U.HelixRollSet); - _inherit(U._$HelixRollSetAtOther, U.HelixRollSetAtOther); - _inherit(U._$RelaxHelixRolls, U.RelaxHelixRolls); - _inherit(U._$ErrorMessageSet, U.ErrorMessageSet); - _inherit(U._$SelectionBoxCreate, U.SelectionBoxCreate); - _inherit(U._$SelectionBoxSizeChange, U.SelectionBoxSizeChange); - _inherit(U._$SelectionBoxRemove, U.SelectionBoxRemove); - _inherit(U._$SelectionRopeCreate, U.SelectionRopeCreate); - _inherit(U._$SelectionRopeMouseMove, U.SelectionRopeMouseMove); - _inherit(U._$SelectionRopeAddPoint, U.SelectionRopeAddPoint); - _inherit(U._$SelectionRopeRemove, U.SelectionRopeRemove); - _inherit(U._$MouseGridPositionSideUpdate, U.MouseGridPositionSideUpdate); - _inherit(U._$MouseGridPositionSideClear, U.MouseGridPositionSideClear); - _inherit(U._$MousePositionSideUpdate, U.MousePositionSideUpdate); - _inherit(U._$MousePositionSideClear, U.MousePositionSideClear); - _inherit(U._$GeometrySet, U.GeometrySet); - _inherit(U._$SelectionBoxIntersectionRuleSet, U.SelectionBoxIntersectionRuleSet); - _inherit(U._$Select, U.Select); - _inherit(U._$SelectionsClear, U.SelectionsClear); - _inherit(U._$SelectionsAdjustMainView, U.SelectionsAdjustMainView); - _inherit(U._$SelectOrToggleItems, U.SelectOrToggleItems); - _inherit(U._$SelectAll, U.SelectAll); - _inherit(U._$SelectAllSelectable, U.SelectAllSelectable); - _inherit(U._$SelectAllWithSameAsSelected, U.SelectAllWithSameAsSelected); - _inherit(U._$DeleteAllSelected, U.DeleteAllSelected); - _inherit(U._$HelixAdd, U.HelixAdd); - _inherit(U._$HelixRemove, U.HelixRemove); - _inherit(U._$HelixRemoveAllSelected, U.HelixRemoveAllSelected); - _inherit(U._$HelixSelect, U.HelixSelect); - _inherit(U._$HelixSelectionsClear, U.HelixSelectionsClear); - _inherit(U._$HelixSelectionsAdjust, U.HelixSelectionsAdjust); - _inherit(U._$HelixMajorTickDistanceChange, U.HelixMajorTickDistanceChange); - _inherit(U._$HelixMajorTickDistanceChangeAll, U.HelixMajorTickDistanceChangeAll); - _inherit(U._$HelixMajorTickStartChange, U.HelixMajorTickStartChange); - _inherit(U._$HelixMajorTickStartChangeAll, U.HelixMajorTickStartChangeAll); - _inherit(U._$HelixMajorTicksChange, U.HelixMajorTicksChange); - _inherit(U._$HelixMajorTicksChangeAll, U.HelixMajorTicksChangeAll); - _inherit(U._$HelixMajorTickPeriodicDistancesChange, U.HelixMajorTickPeriodicDistancesChange); - _inherit(U._$HelixMajorTickPeriodicDistancesChangeAll, U.HelixMajorTickPeriodicDistancesChangeAll); - _inherit(U._$HelixIdxsChange, U.HelixIdxsChange); - _inherit(U._$HelixOffsetChange, U.HelixOffsetChange); - _inherit(U._$HelixMinOffsetSetByDomains, U.HelixMinOffsetSetByDomains); - _inherit(U._$HelixMaxOffsetSetByDomains, U.HelixMaxOffsetSetByDomains); - _inherit(U._$HelixMinOffsetSetByDomainsAll, U.HelixMinOffsetSetByDomainsAll); - _inherit(U._$HelixMaxOffsetSetByDomainsAll, U.HelixMaxOffsetSetByDomainsAll); - _inherit(U._$HelixMaxOffsetSetByDomainsAllSameMax, U.HelixMaxOffsetSetByDomainsAllSameMax); - _inherit(U._$HelixOffsetChangeAll, U.HelixOffsetChangeAll); - _inherit(U._$ShowMouseoverRectSet, U.ShowMouseoverRectSet); - _inherit(U._$ShowMouseoverRectToggle, U.ShowMouseoverRectToggle); - _inherit(U._$ExportDNA, U.ExportDNA); - _inherit(U._$ExportCanDoDNA, U.ExportCanDoDNA); - _inherit(U._$ExportSvg, U.ExportSvg); - _inherit(U._$ExportSvgTextSeparatelySet, U.ExportSvgTextSeparatelySet); - _inherit(U._$ExtensionDisplayLengthAngleSet, U.ExtensionDisplayLengthAngleSet); - _inherit(U._$ExtensionAdd, U.ExtensionAdd); - _inherit(U._$ExtensionNumBasesChange, U.ExtensionNumBasesChange); - _inherit(U._$ExtensionsNumBasesChange, U.ExtensionsNumBasesChange); - _inherit(U._$LoopoutLengthChange, U.LoopoutLengthChange); - _inherit(U._$LoopoutsLengthChange, U.LoopoutsLengthChange); - _inherit(U._$ConvertCrossoverToLoopout, U.ConvertCrossoverToLoopout); - _inherit(U._$ConvertCrossoversToLoopouts, U.ConvertCrossoversToLoopouts); - _inherit(U._$Nick, U.Nick); - _inherit(U._$Ligate, U.Ligate); - _inherit(U._$JoinStrandsByCrossover, U.JoinStrandsByCrossover); - _inherit(U._$MoveLinker, U.MoveLinker); - _inherit(U._$JoinStrandsByMultipleCrossovers, U.JoinStrandsByMultipleCrossovers); - _inherit(U._$StrandsReflect, U.StrandsReflect); - _inherit(U._$ReplaceStrands, U.ReplaceStrands); - _inherit(U._$StrandCreateStart, U.StrandCreateStart); - _inherit(U._$StrandCreateAdjustOffset, U.StrandCreateAdjustOffset); - _inherit(U._$StrandCreateStop, U.StrandCreateStop); - _inherit(U._$StrandCreateCommit, U.StrandCreateCommit); - _inherit(U._$PotentialCrossoverCreate, U.PotentialCrossoverCreate); - _inherit(U._$PotentialCrossoverMove, U.PotentialCrossoverMove); - _inherit(U._$PotentialCrossoverRemove, U.PotentialCrossoverRemove); - _inherit(U._$ManualPasteInitiate, U.ManualPasteInitiate); - _inherit(U._$AutoPasteInitiate, U.AutoPasteInitiate); - _inherit(U._$CopySelectedStrands, U.CopySelectedStrands); - _inherit(U._$StrandsMoveStart, U.StrandsMoveStart); - _inherit(U._$StrandsMoveStartSelectedStrands, U.StrandsMoveStartSelectedStrands); - _inherit(U._$StrandsMoveStop, U.StrandsMoveStop); - _inherit(U._$StrandsMoveAdjustAddress, U.StrandsMoveAdjustAddress); - _inherit(U._$StrandsMoveCommit, U.StrandsMoveCommit); - _inherit(U._$DomainsMoveStartSelectedDomains, U.DomainsMoveStartSelectedDomains); - _inherit(U._$DomainsMoveStop, U.DomainsMoveStop); - _inherit(U._$DomainsMoveAdjustAddress, U.DomainsMoveAdjustAddress); - _inherit(U._$DomainsMoveCommit, U.DomainsMoveCommit); - _inherit(U._$DNAEndsMoveStart, U.DNAEndsMoveStart); - _inherit(U._$DNAEndsMoveSetSelectedEnds, U.DNAEndsMoveSetSelectedEnds); - _inherit(U._$DNAEndsMoveAdjustOffset, U.DNAEndsMoveAdjustOffset); - _inherit(U._$DNAEndsMoveStop, U.DNAEndsMoveStop); - _inherit(U._$DNAEndsMoveCommit, U.DNAEndsMoveCommit); - _inherit(U._$DNAExtensionsMoveStart, U.DNAExtensionsMoveStart); - _inherit(U._$DNAExtensionsMoveSetSelectedExtensionEnds, U.DNAExtensionsMoveSetSelectedExtensionEnds); - _inherit(U._$DNAExtensionsMoveAdjustPosition, U.DNAExtensionsMoveAdjustPosition); - _inherit(U._$DNAExtensionsMoveStop, U.DNAExtensionsMoveStop); - _inherit(U._$DNAExtensionsMoveCommit, U.DNAExtensionsMoveCommit); - _inherit(U._$HelixGroupMoveStart, U.HelixGroupMoveStart); - _inherit(U._$HelixGroupMoveCreate, U.HelixGroupMoveCreate); - _inherit(U._$HelixGroupMoveAdjustTranslation, U.HelixGroupMoveAdjustTranslation); - _inherit(U._$HelixGroupMoveStop, U.HelixGroupMoveStop); - _inherit(U._$HelixGroupMoveCommit, U.HelixGroupMoveCommit); - _inherit(U._$AssignDNA, U.AssignDNA); - _inherit(U._$AssignDNAComplementFromBoundStrands, U.AssignDNAComplementFromBoundStrands); - _inherit(U._$AssignDomainNameComplementFromBoundStrands, U.AssignDomainNameComplementFromBoundStrands); - _inherit(U._$AssignDomainNameComplementFromBoundDomains, U.AssignDomainNameComplementFromBoundDomains); - _inherit(U._$RemoveDNA, U.RemoveDNA); - _inherit(U._$InsertionAdd, U.InsertionAdd); - _inherit(U._$InsertionLengthChange, U.InsertionLengthChange); - _inherit(U._$InsertionsLengthChange, U.InsertionsLengthChange); - _inherit(U._$DeletionAdd, U.DeletionAdd); - _inherit(U._$InsertionRemove, U.InsertionRemove); - _inherit(U._$DeletionRemove, U.DeletionRemove); - _inherit(U._$ScalePurificationVendorFieldsAssign, U.ScalePurificationVendorFieldsAssign); - _inherit(U._$PlateWellVendorFieldsAssign, U.PlateWellVendorFieldsAssign); - _inherit(U._$PlateWellVendorFieldsRemove, U.PlateWellVendorFieldsRemove); - _inherit(U._$VendorFieldsRemove, U.VendorFieldsRemove); - _inherit(U._$ModificationAdd, U.ModificationAdd); - _inherit(U._$ModificationRemove, U.ModificationRemove); - _inherit(U._$ModificationConnectorLengthSet, U.ModificationConnectorLengthSet); - _inherit(U._$ModificationEdit, U.ModificationEdit); - _inherit(U._$Modifications5PrimeEdit, U.Modifications5PrimeEdit); - _inherit(U._$Modifications3PrimeEdit, U.Modifications3PrimeEdit); - _inherit(U._$ModificationsInternalEdit, U.ModificationsInternalEdit); - _inherit(U._$GridChange, U.GridChange); - _inherit(U._$GroupDisplayedChange, U.GroupDisplayedChange); - _inherit(U._$GroupAdd, U.GroupAdd); - _inherit(U._$GroupRemove, U.GroupRemove); - _inherit(U._$GroupChange, U.GroupChange); - _inherit(U._$MoveHelicesToGroup, U.MoveHelicesToGroup); - _inherit(U._$DialogShow, U.DialogShow); - _inherit(U._$DialogHide, U.DialogHide); - _inherit(U._$ContextMenuShow, U.ContextMenuShow); - _inherit(U._$ContextMenuHide, U.ContextMenuHide); - _inherit(U._$StrandOrSubstrandColorPickerShow, U.StrandOrSubstrandColorPickerShow); - _inherit(U._$StrandOrSubstrandColorPickerHide, U.StrandOrSubstrandColorPickerHide); - _inherit(U._$ScaffoldSet, U.ScaffoldSet); - _inherit(U._$StrandOrSubstrandColorSet, U.StrandOrSubstrandColorSet); - _inherit(U._$StrandPasteKeepColorSet, U.StrandPasteKeepColorSet); - _inherit(U._$ExampleDesignsLoad, U.ExampleDesignsLoad); - _inherit(U._$BasePairTypeSet, U.BasePairTypeSet); - _inherit(U._$HelixPositionSet, U.HelixPositionSet); - _inherit(U._$HelixGridPositionSet, U.HelixGridPositionSet); - _inherit(U._$HelicesPositionsSetBasedOnCrossovers, U.HelicesPositionsSetBasedOnCrossovers); - _inherit(U._$InlineInsertionsDeletions, U.InlineInsertionsDeletions); - _inherit(U._$DefaultCrossoverTypeForSettingHelixRollsSet, U.DefaultCrossoverTypeForSettingHelixRollsSet); - _inherit(U._$AutofitSet, U.AutofitSet); - _inherit(U._$ShowHelixCirclesMainViewSet, U.ShowHelixCirclesMainViewSet); - _inherit(U._$ShowHelixComponentsMainViewSet, U.ShowHelixComponentsMainViewSet); - _inherit(U._$ShowEditMenuToggle, U.ShowEditMenuToggle); - _inherit(U._$ShowGridCoordinatesSideViewSet, U.ShowGridCoordinatesSideViewSet); - _inherit(U._$ShowAxisArrowsSet, U.ShowAxisArrowsSet); - _inherit(U._$ShowLoopoutExtensionLengthSet, U.ShowLoopoutExtensionLengthSet); - _inherit(U._$LoadDnaSequenceImageUri, U.LoadDnaSequenceImageUri); - _inherit(U._$SetIsZoomAboveThreshold, U.SetIsZoomAboveThreshold); - _inherit(U._$SetExportSvgActionDelayedForPngCache, U.SetExportSvgActionDelayedForPngCache); - _inherit(U._$ShowBasePairLinesSet, U.ShowBasePairLinesSet); - _inherit(U._$ShowBasePairLinesWithMismatchesSet, U.ShowBasePairLinesWithMismatchesSet); - _inherit(U._$ShowSliceBarSet, U.ShowSliceBarSet); - _inherit(U._$SliceBarOffsetSet, U.SliceBarOffsetSet); - _inherit(U._$DisablePngCachingDnaSequencesSet, U.DisablePngCachingDnaSequencesSet); - _inherit(U._$RetainStrandColorOnSelectionSet, U.RetainStrandColorOnSelectionSet); - _inherit(U._$DisplayReverseDNARightSideUpSet, U.DisplayReverseDNARightSideUpSet); - _inherit(U._$SliceBarMoveStart, U.SliceBarMoveStart); - _inherit(U._$SliceBarMoveStop, U.SliceBarMoveStop); - _inherit(U._$Autostaple, U.Autostaple); - _inherit(U._$Autobreak, U.Autobreak); - _inherit(U._$ZoomSpeedSet, U.ZoomSpeedSet); - _inherit(U._$OxdnaExport, U.OxdnaExport); - _inherit(U._$OxviewExport, U.OxviewExport); - _inherit(U._$OxExportOnlySelectedStrandsSet, U.OxExportOnlySelectedStrandsSet); - _inheritMany(Y.EnumClass, [F.DNAFileType, E.DNASequencePredefined, S.Storable, L.BasePairDisplayType, E.DialogType, M.EditModeChoice, D.ExportDNAFormat, O.StrandOrder, S.Grid, Y.LocalStorageDesignOption, Y.ModificationType, D.SelectModeChoice, E.SelectableTrait]); - _inherit(K.SuppressableIndentEncoder, P.JsonEncoder); - _inherit(Z.Address, Z._Address_Object_BuiltJsonSerializable); - _inherit(Z.AddressDifference, Z._AddressDifference_Object_BuiltJsonSerializable); - _inherit(Z._$Address, Z.Address); - _inherit(Z._$AddressDifference, Z.AddressDifference); - _inherit(T._$AppState, T.AppState); - _inherit(Q.AppUIState, Q._AppUIState_Object_BuiltJsonSerializable); - _inherit(Q._$AppUIState, Q.AppUIState); - _inherit(B.AppUIStateStorables, B._AppUIStateStorables_Object_BuiltJsonSerializable); - _inherit(B._$AppUIStateStorables, B.AppUIStateStorables); - _inherit(B.ContextMenu, B._ContextMenu_Object_BuiltJsonSerializable); - _inherit(B.ContextMenuItem, B._ContextMenuItem_Object_BuiltJsonSerializable); - _inherit(B._$ContextMenu, B.ContextMenu); - _inherit(B._$ContextMenuItem, B.ContextMenuItem); - _inherit(B.CopyInfo, B._CopyInfo_Object_BuiltJsonSerializable); - _inherit(B._$CopyInfo, B.CopyInfo); - _inherit(T._Crossover_Object_SelectableMixin_BuiltJsonSerializable, T._Crossover_Object_SelectableMixin); - _inherit(T.Crossover, T._Crossover_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(T._$Crossover, T.Crossover); - _inherit(N.Design, N._Design_Object_UnusedFields); - _inherit(N.StrandError, N.IllegalDesignError); - _inherit(N._$Design, N.Design); - _inherit(V.DesignSideRotationParams, V._DesignSideRotationParams_Object_BuiltJsonSerializable); - _inherit(V.DesignSideRotationData, V._DesignSideRotationData_Object_BuiltJsonSerializable); - _inherit(V._$DesignSideRotationParams, V.DesignSideRotationParams); - _inherit(V._$DesignSideRotationData, V.DesignSideRotationData); - _inherit(E.Dialog, E._Dialog_Object_BuiltJsonSerializable); - _inherit(E.DialogInteger, E._DialogInteger_Object_BuiltJsonSerializable); - _inherit(E.DialogFloat, E._DialogFloat_Object_BuiltJsonSerializable); - _inherit(E.DialogText, E._DialogText_Object_BuiltJsonSerializable); - _inherit(E.DialogTextArea, E._DialogTextArea_Object_BuiltJsonSerializable); - _inherit(E.DialogCheckbox, E._DialogCheckbox_Object_BuiltJsonSerializable); - _inherit(E.DialogRadio, E._DialogRadio_Object_BuiltJsonSerializable); - _inherit(E.DialogLink, E._DialogLink_Object_BuiltJsonSerializable); - _inherit(E.DialogLabel, E._DialogLabel_Object_BuiltJsonSerializable); - _inherit(E._$Dialog, E.Dialog); - _inherit(E._$DialogInteger, E.DialogInteger); - _inherit(E._$DialogFloat, E.DialogFloat); - _inherit(E._$DialogText, E.DialogText); - _inherit(E._$DialogTextArea, E.DialogTextArea); - _inherit(E._$DialogCheckbox, E.DialogCheckbox); - _inherit(E._$DialogRadio, E.DialogRadio); - _inherit(E._$DialogLink, E.DialogLink); - _inherit(E._$DialogLabel, E.DialogLabel); - _inherit(X.DNAAssignOptions, X._DNAAssignOptions_Object_BuiltJsonSerializable); - _inherit(X._$DNAAssignOptions, X.DNAAssignOptions); - _inherit(Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, Z._DNAEnd_Object_SelectableMixin); - _inherit(Z.DNAEnd, Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(Z._$DNAEnd, Z.DNAEnd); - _inherit(B.DNAEndsMove, B._DNAEndsMove_Object_BuiltJsonSerializable); - _inherit(B.DNAEndMove, B._DNAEndMove_Object_BuiltJsonSerializable); - _inherit(B._$DNAEndsMove, B.DNAEndsMove); - _inherit(B._$DNAEndMove, B.DNAEndMove); - _inherit(K.DNAExtensionsMove, K._DNAExtensionsMove_Object_BuiltJsonSerializable); - _inherit(K.DNAExtensionMove, K._DNAExtensionMove_Object_BuiltJsonSerializable); - _inherit(K._$DNAExtensionsMove, K.DNAExtensionsMove); - _inherit(K._$DNAExtensionMove, K.DNAExtensionMove); - _inherit(G.Insertion, G._Insertion_Object_BuiltJsonSerializable); - _inherit(G._Domain_Object_SelectableMixin_BuiltJsonSerializable, G._Domain_Object_SelectableMixin); - _inherit(G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, G._Domain_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(G.Domain, G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); - _inherit(G._$Insertion, G.Insertion); - _inherit(G._$Domain, G.Domain); - _inherit(B.DomainNameMismatch, B._DomainNameMismatch_Object_BuiltJsonSerializable); - _inherit(B._$DomainNameMismatch, B.DomainNameMismatch); - _inherit(V.DomainsMove, V._DomainsMove_Object_BuiltJsonSerializable); - _inherit(V._$DomainsMove, V.DomainsMove); - _inherit(K.ExampleDesigns, K._ExampleDesigns_Object_BuiltJsonSerializable); - _inherit(K._$ExampleDesigns, K.ExampleDesigns); - _inherit(S._Extension_Object_SelectableMixin_BuiltJsonSerializable, S._Extension_Object_SelectableMixin); - _inherit(S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, S._Extension_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(S.Extension, S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); - _inherit(S._$Extension, S.Extension); - _inherit(N._Geometry_Object_BuiltJsonSerializable_UnusedFields, N._Geometry_Object_BuiltJsonSerializable); - _inherit(N.Geometry, N._Geometry_Object_BuiltJsonSerializable_UnusedFields); - _inherit(N._$Geometry, N.Geometry); - _inherit(D.GridPosition, D._GridPosition_Object_BuiltJsonSerializable); - _inherit(D._$GridPosition, D.GridPosition); - _inherit(O.HelixGroup, O._HelixGroup_Object_BuiltJsonSerializable); - _inherit(O._$HelixGroup, O.HelixGroup); - _inherit(O._Helix_Object_BuiltJsonSerializable_UnusedFields, O._Helix_Object_BuiltJsonSerializable); - _inherit(O.Helix, O._Helix_Object_BuiltJsonSerializable_UnusedFields); - _inherit(O._$Helix, O.Helix); - _inherit(G.HelixGroupMove, G._HelixGroupMove_Object_BuiltJsonSerializable); - _inherit(G._$HelixGroupMove, G.HelixGroupMove); - _inherit(Y.LocalStorageDesignChoice, Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable); - _inherit(Y._$LocalStorageDesignChoice, Y.LocalStorageDesignChoice); - _inherit(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable, G._Loopout_Object_SelectableMixin); - _inherit(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, G._Loopout_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(G.Loopout, G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); - _inherit(G._$Loopout, G.Loopout); - _inherit(Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, Z._Modification5Prime_Object_BuiltJsonSerializable); - _inherit(Z.Modification5Prime, Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields); - _inherit(Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, Z._Modification3Prime_Object_BuiltJsonSerializable); - _inherit(Z.Modification3Prime, Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields); - _inherit(Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, Z._ModificationInternal_Object_BuiltJsonSerializable); - _inherit(Z.ModificationInternal, Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields); - _inherit(Z._$Modification5Prime, Z.Modification5Prime); - _inherit(Z._$Modification3Prime, Z.Modification3Prime); - _inherit(Z._$ModificationInternal, Z.ModificationInternal); - _inherit(K.MouseoverParams, K._MouseoverParams_Object_BuiltJsonSerializable); - _inherit(K.MouseoverData, K._MouseoverData_Object_BuiltJsonSerializable); - _inherit(K._$MouseoverParams, K.MouseoverParams); - _inherit(K._$MouseoverData, K.MouseoverData); - _inherit(X.Position3D, X._Position3D_Object_BuiltJsonSerializable); - _inherit(X._$Position3D, X.Position3D); - _inherit(S.PotentialCrossover, S._PotentialCrossover_Object_BuiltJsonSerializable); - _inherit(S._$PotentialCrossover, S.PotentialCrossover); - _inherit(Z.PotentialVerticalCrossover, Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable); - _inherit(Z._$PotentialVerticalCrossover, Z.PotentialVerticalCrossover); - _inherit(N._$SelectModeState, N.SelectModeState); - _inherit(E.SelectablesStore, E._SelectablesStore_Object_BuiltJsonSerializable); - _inherit(E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, E._SelectableDeletion_Object_SelectableMixin); - _inherit(E.SelectableDeletion, E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, E._SelectableInsertion_Object_SelectableMixin); - _inherit(E.SelectableInsertion, E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, E._SelectableModification5Prime_Object_SelectableModification); - _inherit(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin); - _inherit(E.SelectableModification5Prime, E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); - _inherit(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, E._SelectableModification3Prime_Object_SelectableModification); - _inherit(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin); - _inherit(E.SelectableModification3Prime, E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); - _inherit(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, E._SelectableModificationInternal_Object_SelectableModification); - _inherit(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin); - _inherit(E.SelectableModificationInternal, E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); - _inherit(E._$SelectablesStore, E.SelectablesStore); - _inherit(E._$SelectableDeletion, E.SelectableDeletion); - _inherit(E._$SelectableInsertion, E.SelectableInsertion); - _inherit(E._$SelectableModification5Prime, E.SelectableModification5Prime); - _inherit(E._$SelectableModification3Prime, E.SelectableModification3Prime); - _inherit(E._$SelectableModificationInternal, E.SelectableModificationInternal); - _inherit(E.SelectionBox, E._SelectionBox_Object_BuiltJsonSerializable); - _inherit(E._$SelectionBox, E.SelectionBox); - _inherit(F.SelectionRope, F._SelectionRope_Object_BuiltJsonSerializable); - _inherit(F.Line, F._Line_Object_BuiltJsonSerializable); - _inherit(F._$SelectionRope, F.SelectionRope); - _inherit(F._$Line, F.Line); - _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable, E._Strand_Object_SelectableMixin); - _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, E._Strand_Object_SelectableMixin_BuiltJsonSerializable); - _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); - _inherit(E.Strand, E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable); - _inherit(E._$Strand, E.Strand); - _inherit(U.StrandCreation, U._StrandCreation_Object_BuiltJsonSerializable); - _inherit(U._$StrandCreation, U.StrandCreation); - _inherit(U.StrandsMove, U._StrandsMove_Object_BuiltJsonSerializable); - _inherit(U._$StrandsMove, U.StrandsMove); - _inherit(T.UndoRedo, T._UndoRedo_Object_BuiltJsonSerializable); - _inherit(T.UndoRedoItem, T._UndoRedoItem_Object_BuiltJsonSerializable); - _inherit(T._$UndoRedo, T.UndoRedo); - _inherit(T._$UndoRedoItem, T.UndoRedoItem); - _inherit(T._VendorFields_Object_BuiltJsonSerializable_UnusedFields, T._VendorFields_Object_BuiltJsonSerializable); - _inherit(T.VendorFields, T._VendorFields_Object_BuiltJsonSerializable_UnusedFields); - _inherit(T._$VendorFields, T.VendorFields); - _inherit(B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps); - _inherit(B._$$End3PrimeProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps); - _inheritMany(B._$$End3PrimeProps, [B._$$End3PrimeProps$PlainMap, B._$$End3PrimeProps$JsMap]); - _inherit(B._$End3PrimeComponent, B.End3PrimeComponent); + _inheritMany(A.SyntheticEvent, [A.SyntheticClipboardEvent, A.SyntheticKeyboardEvent, A.SyntheticCompositionEvent, A.SyntheticFocusEvent, A.SyntheticFormEvent, A.SyntheticMouseEvent, A.SyntheticPointerEvent, A.SyntheticTouchEvent, A.SyntheticTransitionEvent, A.SyntheticAnimationEvent, A.SyntheticUIEvent, A.SyntheticWheelEvent]); + _inherit(A.SkipUndo, A._SkipUndo_Object_BuiltJsonSerializable); + _inherit(A._Undo_Object_BuiltJsonSerializable_DesignChangingAction, A._Undo_Object_BuiltJsonSerializable); + _inherit(A.Undo, A._Undo_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(A._Redo_Object_BuiltJsonSerializable_DesignChangingAction, A._Redo_Object_BuiltJsonSerializable); + _inherit(A.Redo, A._Redo_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(A.UndoRedoClear, A._UndoRedoClear_Object_BuiltJsonSerializable); + _inherit(A.BatchAction, A._BatchAction_Object_UndoableAction); + _inherit(A.ThrottledActionFast, A._ThrottledActionFast_Object_BuiltJsonSerializable); + _inherit(A.ThrottledActionNonFast, A._ThrottledActionNonFast_Object_BuiltJsonSerializable); + _inherit(A.LocalStorageDesignChoiceSet, A._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable); + _inherit(A.ResetLocalStorage, A._ResetLocalStorage_Object_BuiltJsonSerializable); + _inherit(A.ClearHelixSelectionWhenLoadingNewDesignSet, A._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable); + _inherit(A.EditModeToggle, A._EditModeToggle_Object_BuiltJsonSerializable); + _inherit(A.EditModesSet, A._EditModesSet_Object_BuiltJsonSerializable); + _inherit(A.SelectModeToggle, A._SelectModeToggle_Object_BuiltJsonSerializable); + _inherit(A.SelectModesAdd, A._SelectModesAdd_Object_BuiltJsonSerializable); + _inherit(A.SelectModesSet, A._SelectModesSet_Object_BuiltJsonSerializable); + _inherit(A._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, A._StrandNameSet_Object_BuiltJsonSerializable); + _inherit(A.StrandNameSet, A._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, A._StrandLabelSet_Object_BuiltJsonSerializable); + _inherit(A.StrandLabelSet, A._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, A._SubstrandNameSet_Object_BuiltJsonSerializable); + _inherit(A.SubstrandNameSet, A._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, A._SubstrandLabelSet_Object_BuiltJsonSerializable); + _inherit(A.SubstrandLabelSet, A._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.SetAppUIStateStorable, A._SetAppUIStateStorable_Object_BuiltJsonSerializable); + _inherit(A.ShowDNASet, A._ShowDNASet_Object_BuiltJsonSerializable); + _inherit(A.ShowDomainNamesSet, A._ShowDomainNamesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowStrandNamesSet, A._ShowStrandNamesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowStrandLabelsSet, A._ShowStrandLabelsSet_Object_BuiltJsonSerializable); + _inherit(A.ShowDomainLabelsSet, A._ShowDomainLabelsSet_Object_BuiltJsonSerializable); + _inherit(A.ShowModificationsSet, A._ShowModificationsSet_Object_BuiltJsonSerializable); + _inherit(A.DomainNameFontSizeSet, A._DomainNameFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.DomainLabelFontSizeSet, A._DomainLabelFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.StrandNameFontSizeSet, A._StrandNameFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.StrandLabelFontSizeSet, A._StrandLabelFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.ModificationFontSizeSet, A._ModificationFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.MajorTickOffsetFontSizeSet, A._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.MajorTickWidthFontSizeSet, A._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable); + _inherit(A.SetModificationDisplayConnector, A._SetModificationDisplayConnector_Object_BuiltJsonSerializable); + _inherit(A.ShowMismatchesSet, A._ShowMismatchesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowDomainNameMismatchesSet, A._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowUnpairedInsertionDeletionsSet, A._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable); + _inherit(A.OxviewShowSet, A._OxviewShowSet_Object_BuiltJsonSerializable); + _inherit(A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, A._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable); + _inherit(A.DisplayMajorTicksOffsetsSet, A._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable); + _inherit(A.SetDisplayMajorTickWidthsAllHelices, A._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable); + _inherit(A.SetDisplayMajorTickWidths, A._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable); + _inherit(A.SetOnlyDisplaySelectedHelices, A._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable); + _inherit(A.InvertYSet, A._InvertYSet_Object_BuiltJsonSerializable); + _inherit(A.DynamicHelixUpdateSet, A._DynamicHelixUpdateSet_Object_BuiltJsonSerializable); + _inherit(A.WarnOnExitIfUnsavedSet, A._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable); + _inherit(A.LoadingDialogShow, A._LoadingDialogShow_Object_BuiltJsonSerializable); + _inherit(A.LoadingDialogHide, A._LoadingDialogHide_Object_BuiltJsonSerializable); + _inherit(A.CopySelectedStandsToClipboardImage, A._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable); + _inherit(A.SaveDNAFile, A._SaveDNAFile_Object_BuiltJsonSerializable); + _inherit(A._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, A._LoadDNAFile_Object_BuiltJsonSerializable); + _inherit(A.LoadDNAFile, A._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable); + _inherit(A.PrepareToLoadDNAFile, A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(A._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, A._NewDesignSet_Object_BuiltJsonSerializable); + _inherit(A.NewDesignSet, A._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.ExportCadnanoFile, A._ExportCadnanoFile_Object_BuiltJsonSerializable); + _inherit(A.ExportCodenanoFile, A._ExportCodenanoFile_Object_BuiltJsonSerializable); + _inherit(A.ShowMouseoverDataSet, A._ShowMouseoverDataSet_Object_BuiltJsonSerializable); + _inherit(A.MouseoverDataClear, A._MouseoverDataClear_Object_BuiltJsonSerializable); + _inherit(A.MouseoverDataUpdate, A._MouseoverDataUpdate_Object_BuiltJsonSerializable); + _inherit(A._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, A._HelixRollSet_Object_BuiltJsonSerializable); + _inherit(A.HelixRollSet, A._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, A._HelixRollSetAtOther_Object_BuiltJsonSerializable); + _inherit(A.HelixRollSetAtOther, A._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, A._RelaxHelixRolls_Object_BuiltJsonSerializable); + _inherit(A.RelaxHelixRolls, A._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.ErrorMessageSet, A._ErrorMessageSet_Object_BuiltJsonSerializable); + _inherit(A.SelectionBoxCreate, A._SelectionBoxCreate_Object_BuiltJsonSerializable); + _inherit(A.SelectionBoxSizeChange, A._SelectionBoxSizeChange_Object_BuiltJsonSerializable); + _inherit(A.SelectionBoxRemove, A._SelectionBoxRemove_Object_BuiltJsonSerializable); + _inherit(A.SelectionRopeCreate, A._SelectionRopeCreate_Object_BuiltJsonSerializable); + _inherit(A.SelectionRopeMouseMove, A._SelectionRopeMouseMove_Object_BuiltJsonSerializable); + _inherit(A.SelectionRopeAddPoint, A._SelectionRopeAddPoint_Object_BuiltJsonSerializable); + _inherit(A.SelectionRopeRemove, A._SelectionRopeRemove_Object_BuiltJsonSerializable); + _inherit(A.MouseGridPositionSideUpdate, A._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable); + _inherit(A.MouseGridPositionSideClear, A._MouseGridPositionSideClear_Object_BuiltJsonSerializable); + _inherit(A.MousePositionSideUpdate, A._MousePositionSideUpdate_Object_BuiltJsonSerializable); + _inherit(A.MousePositionSideClear, A._MousePositionSideClear_Object_BuiltJsonSerializable); + _inherit(A._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, A._GeometrySet_Object_BuiltJsonSerializable); + _inherit(A.GeometrySet, A._GeometrySet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.SelectionBoxIntersectionRuleSet, A._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable); + _inherit(A.Select, A._Select_Object_BuiltJsonSerializable); + _inherit(A.SelectionsClear, A._SelectionsClear_Object_BuiltJsonSerializable); + _inherit(A.SelectionsAdjustMainView, A._SelectionsAdjustMainView_Object_BuiltJsonSerializable); + _inherit(A.SelectOrToggleItems, A._SelectOrToggleItems_Object_BuiltJsonSerializable); + _inherit(A.SelectAll, A._SelectAll_Object_BuiltJsonSerializable); + _inherit(A.SelectAllSelectable, A._SelectAllSelectable_Object_BuiltJsonSerializable); + _inherit(A.SelectAllStrandsWithSameAsSelected, A._SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable); + _inherit(A._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, A._DeleteAllSelected_Object_BuiltJsonSerializable); + _inherit(A.DeleteAllSelected, A._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, A._HelixAdd_Object_BuiltJsonSerializable); + _inherit(A.HelixAdd, A._HelixAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, A._HelixRemove_Object_BuiltJsonSerializable); + _inherit(A.HelixRemove, A._HelixRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, A._HelixRemoveAllSelected_Object_BuiltJsonSerializable); + _inherit(A.HelixRemoveAllSelected, A._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.HelixSelect, A._HelixSelect_Object_BuiltJsonSerializable); + _inherit(A.HelixSelectionsClear, A._HelixSelectionsClear_Object_BuiltJsonSerializable); + _inherit(A.HelixSelectionsAdjust, A._HelixSelectionsAdjust_Object_BuiltJsonSerializable); + _inherit(A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickDistanceChange, A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickDistanceChangeAll, A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickStartChange_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickStartChange, A._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickStartChangeAll, A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTicksChange_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTicksChange, A._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTicksChangeAll, A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickPeriodicDistancesChange, A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMajorTickPeriodicDistancesChangeAll, A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixIdxsChange_Object_BuiltJsonSerializable); + _inherit(A.HelixIdxsChange, A._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, A._HelixOffsetChange_Object_BuiltJsonSerializable); + _inherit(A.HelixOffsetChange, A._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable); + _inherit(A.HelixMinOffsetSetByDomains, A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable); + _inherit(A.HelixMaxOffsetSetByDomains, A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMinOffsetSetByDomainsAll, A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable); + _inherit(A.HelixMaxOffsetSetByDomainsAll, A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable); + _inherit(A.HelixMaxOffsetSetByDomainsAllSameMax, A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, A._HelixOffsetChangeAll_Object_BuiltJsonSerializable); + _inherit(A.HelixOffsetChangeAll, A._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.ShowMouseoverRectSet, A._ShowMouseoverRectSet_Object_BuiltJsonSerializable); + _inherit(A.ShowMouseoverRectToggle, A._ShowMouseoverRectToggle_Object_BuiltJsonSerializable); + _inherit(A.ExportDNA, A._ExportDNA_Object_BuiltJsonSerializable); + _inherit(A.ExportCanDoDNA, A._ExportCanDoDNA_Object_BuiltJsonSerializable); + _inheritMany(A._Enum, [A.ExportSvgType, A.strand_bounds_status, A.PlateType, A.Orientation, A.HexGridCoordinateSystem, A.BlobType, A.DraggableComponent, A.DisposableState, A.XmlAttributeType, A.XmlNodeType]); + _inherit(A.ExportSvg, A._ExportSvg_Object_BuiltJsonSerializable); + _inherit(A.ExportSvgTextSeparatelySet, A._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable); + _inherit(A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable); + _inherit(A.ExtensionDisplayLengthAngleSet, A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, A._ExtensionAdd_Object_BuiltJsonSerializable); + _inherit(A.ExtensionAdd, A._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, A._ExtensionNumBasesChange_Object_BuiltJsonSerializable); + _inherit(A.ExtensionNumBasesChange, A._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable); + _inherit(A.ExtensionsNumBasesChange, A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, A._LoopoutLengthChange_Object_BuiltJsonSerializable); + _inherit(A.LoopoutLengthChange, A._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, A._LoopoutsLengthChange_Object_BuiltJsonSerializable); + _inherit(A.LoopoutsLengthChange, A._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable); + _inherit(A.ConvertCrossoverToLoopout, A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable); + _inherit(A.ConvertCrossoversToLoopouts, A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._Nick_Object_BuiltJsonSerializable_UndoableAction, A._Nick_Object_BuiltJsonSerializable); + _inherit(A.Nick, A._Nick_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._Ligate_Object_BuiltJsonSerializable_UndoableAction, A._Ligate_Object_BuiltJsonSerializable); + _inherit(A.Ligate, A._Ligate_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, A._JoinStrandsByCrossover_Object_BuiltJsonSerializable); + _inherit(A.JoinStrandsByCrossover, A._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, A._MoveLinker_Object_BuiltJsonSerializable); + _inherit(A.MoveLinker, A._MoveLinker_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable); + _inherit(A.JoinStrandsByMultipleCrossovers, A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.StrandsReflect, A._StrandsReflect_Object_BuiltJsonSerializable); + _inherit(A._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, A._ReplaceStrands_Object_BuiltJsonSerializable); + _inherit(A.ReplaceStrands, A._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.StrandCreateStart, A._StrandCreateStart_Object_BuiltJsonSerializable); + _inherit(A.StrandCreateAdjustOffset, A._StrandCreateAdjustOffset_Object_BuiltJsonSerializable); + _inherit(A.StrandCreateStop, A._StrandCreateStop_Object_BuiltJsonSerializable); + _inherit(A._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, A._StrandCreateCommit_Object_BuiltJsonSerializable); + _inherit(A.StrandCreateCommit, A._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.PotentialCrossoverCreate, A._PotentialCrossoverCreate_Object_BuiltJsonSerializable); + _inherit(A.PotentialCrossoverMove, A._PotentialCrossoverMove_Object_BuiltJsonSerializable); + _inherit(A.PotentialCrossoverRemove, A._PotentialCrossoverRemove_Object_BuiltJsonSerializable); + _inherit(A.ManualPasteInitiate, A._ManualPasteInitiate_Object_BuiltJsonSerializable); + _inherit(A.AutoPasteInitiate, A._AutoPasteInitiate_Object_BuiltJsonSerializable); + _inherit(A.CopySelectedStrands, A._CopySelectedStrands_Object_BuiltJsonSerializable); + _inherit(A.StrandsMoveStart, A._StrandsMoveStart_Object_BuiltJsonSerializable); + _inherit(A.StrandsMoveStartSelectedStrands, A._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable); + _inherit(A.StrandsMoveStop, A._StrandsMoveStop_Object_BuiltJsonSerializable); + _inherit(A.StrandsMoveAdjustAddress, A._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable); + _inherit(A._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A._StrandsMoveCommit_Object_BuiltJsonSerializable); + _inherit(A.StrandsMoveCommit, A._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.DomainsMoveStartSelectedDomains, A._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable); + _inherit(A.DomainsMoveStop, A._DomainsMoveStop_Object_BuiltJsonSerializable); + _inherit(A.DomainsMoveAdjustAddress, A._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable); + _inherit(A._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A._DomainsMoveCommit_Object_BuiltJsonSerializable); + _inherit(A.DomainsMoveCommit, A._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.DNAEndsMoveStart, A._DNAEndsMoveStart_Object_BuiltJsonSerializable); + _inherit(A.DNAEndsMoveSetSelectedEnds, A._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable); + _inherit(A.DNAEndsMoveAdjustOffset, A._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable); + _inherit(A.DNAEndsMoveStop, A._DNAEndsMoveStop_Object_BuiltJsonSerializable); + _inherit(A._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A._DNAEndsMoveCommit_Object_BuiltJsonSerializable); + _inherit(A.DNAEndsMoveCommit, A._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.DNAExtensionsMoveStart, A._DNAExtensionsMoveStart_Object_BuiltJsonSerializable); + _inherit(A.DNAExtensionsMoveSetSelectedExtensionEnds, A._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable); + _inherit(A.DNAExtensionsMoveAdjustPosition, A._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable); + _inherit(A.DNAExtensionsMoveStop, A._DNAExtensionsMoveStop_Object_BuiltJsonSerializable); + _inherit(A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable); + _inherit(A.DNAExtensionsMoveCommit, A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.HelixGroupMoveStart, A._HelixGroupMoveStart_Object_BuiltJsonSerializable); + _inherit(A.HelixGroupMoveCreate, A._HelixGroupMoveCreate_Object_BuiltJsonSerializable); + _inherit(A.HelixGroupMoveAdjustTranslation, A._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable); + _inherit(A.HelixGroupMoveStop, A._HelixGroupMoveStop_Object_BuiltJsonSerializable); + _inherit(A._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A._HelixGroupMoveCommit_Object_BuiltJsonSerializable); + _inherit(A.HelixGroupMoveCommit, A._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, A._AssignDNA_Object_BuiltJsonSerializable); + _inherit(A.AssignDNA, A._AssignDNA_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable); + _inherit(A.AssignDNAComplementFromBoundStrands, A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable); + _inherit(A.AssignDomainNameComplementFromBoundStrands, A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable); + _inherit(A.AssignDomainNameComplementFromBoundDomains, A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, A._RemoveDNA_Object_BuiltJsonSerializable); + _inherit(A.RemoveDNA, A._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, A._InsertionAdd_Object_BuiltJsonSerializable); + _inherit(A.InsertionAdd, A._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, A._InsertionLengthChange_Object_BuiltJsonSerializable); + _inherit(A.InsertionLengthChange, A._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, A._InsertionsLengthChange_Object_BuiltJsonSerializable); + _inherit(A.InsertionsLengthChange, A._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, A._DeletionAdd_Object_BuiltJsonSerializable); + _inherit(A.DeletionAdd, A._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, A._InsertionRemove_Object_BuiltJsonSerializable); + _inherit(A.InsertionRemove, A._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, A._DeletionRemove_Object_BuiltJsonSerializable); + _inherit(A.DeletionRemove, A._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable); + _inherit(A.ScalePurificationVendorFieldsAssign, A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable); + _inherit(A.PlateWellVendorFieldsAssign, A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable); + _inherit(A.PlateWellVendorFieldsRemove, A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, A._VendorFieldsRemove_Object_BuiltJsonSerializable); + _inherit(A.VendorFieldsRemove, A._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, A._ModificationAdd_Object_BuiltJsonSerializable); + _inherit(A.ModificationAdd, A._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, A._ModificationRemove_Object_BuiltJsonSerializable); + _inherit(A.ModificationRemove, A._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.ModificationConnectorLengthSet, A._ModificationConnectorLengthSet_Object_BuiltJsonSerializable); + _inherit(A._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, A._ModificationEdit_Object_BuiltJsonSerializable); + _inherit(A.ModificationEdit, A._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, A._Modifications5PrimeEdit_Object_BuiltJsonSerializable); + _inherit(A.Modifications5PrimeEdit, A._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, A._Modifications3PrimeEdit_Object_BuiltJsonSerializable); + _inherit(A.Modifications3PrimeEdit, A._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, A._ModificationsInternalEdit_Object_BuiltJsonSerializable); + _inherit(A.ModificationsInternalEdit, A._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._GridChange_Object_BuiltJsonSerializable_UndoableAction, A._GridChange_Object_BuiltJsonSerializable); + _inherit(A.GridChange, A._GridChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.GroupDisplayedChange, A._GroupDisplayedChange_Object_BuiltJsonSerializable); + _inherit(A._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, A._GroupAdd_Object_BuiltJsonSerializable); + _inherit(A.GroupAdd, A._GroupAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, A._GroupRemove_Object_BuiltJsonSerializable); + _inherit(A.GroupRemove, A._GroupRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._GroupChange_Object_BuiltJsonSerializable_UndoableAction, A._GroupChange_Object_BuiltJsonSerializable); + _inherit(A.GroupChange, A._GroupChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, A._MoveHelicesToGroup_Object_BuiltJsonSerializable); + _inherit(A.MoveHelicesToGroup, A._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.DialogShow, A._DialogShow_Object_BuiltJsonSerializable); + _inherit(A.DialogHide, A._DialogHide_Object_BuiltJsonSerializable); + _inherit(A.ContextMenuShow, A._ContextMenuShow_Object_BuiltJsonSerializable); + _inherit(A.ContextMenuHide, A._ContextMenuHide_Object_BuiltJsonSerializable); + _inherit(A.StrandOrSubstrandColorPickerShow, A._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable); + _inherit(A.StrandOrSubstrandColorPickerHide, A._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable); + _inherit(A._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, A._ScaffoldSet_Object_BuiltJsonSerializable); + _inherit(A.ScaffoldSet, A._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable); + _inherit(A.StrandOrSubstrandColorSet, A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.StrandPasteKeepColorSet, A._StrandPasteKeepColorSet_Object_BuiltJsonSerializable); + _inherit(A.ExampleDesignsLoad, A._ExampleDesignsLoad_Object_BuiltJsonSerializable); + _inherit(A.BasePairTypeSet, A._BasePairTypeSet_Object_BuiltJsonSerializable); + _inherit(A._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, A._HelixPositionSet_Object_BuiltJsonSerializable); + _inherit(A.HelixPositionSet, A._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, A._HelixGridPositionSet_Object_BuiltJsonSerializable); + _inherit(A.HelixGridPositionSet, A._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.HelicesPositionsSetBasedOnCrossovers, A._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable); + _inherit(A._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, A._InlineInsertionsDeletions_Object_BuiltJsonSerializable); + _inherit(A.InlineInsertionsDeletions, A._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction); + _inherit(A.DefaultCrossoverTypeForSettingHelixRollsSet, A._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable); + _inherit(A.AutofitSet, A._AutofitSet_Object_BuiltJsonSerializable); + _inherit(A.ShowHelixCirclesMainViewSet, A._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable); + _inherit(A.ShowHelixComponentsMainViewSet, A._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable); + _inherit(A.ShowEditMenuToggle, A._ShowEditMenuToggle_Object_BuiltJsonSerializable); + _inherit(A.ShowGridCoordinatesSideViewSet, A._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable); + _inherit(A.ShowAxisArrowsSet, A._ShowAxisArrowsSet_Object_BuiltJsonSerializable); + _inherit(A.ShowLoopoutExtensionLengthSet, A._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable); + _inherit(A.LoadDnaSequenceImageUri, A._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable); + _inherit(A.SetIsZoomAboveThreshold, A._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable); + _inherit(A.SetExportSvgActionDelayedForPngCache, A._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable); + _inherit(A.ShowBasePairLinesSet, A._ShowBasePairLinesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowBasePairLinesWithMismatchesSet, A._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable); + _inherit(A.ShowSliceBarSet, A._ShowSliceBarSet_Object_BuiltJsonSerializable); + _inherit(A.SliceBarOffsetSet, A._SliceBarOffsetSet_Object_BuiltJsonSerializable); + _inherit(A.DisablePngCachingDnaSequencesSet, A._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable); + _inherit(A.RetainStrandColorOnSelectionSet, A._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable); + _inherit(A.DisplayReverseDNARightSideUpSet, A._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable); + _inherit(A.SliceBarMoveStart, A._SliceBarMoveStart_Object_BuiltJsonSerializable); + _inherit(A.SliceBarMoveStop, A._SliceBarMoveStop_Object_BuiltJsonSerializable); + _inherit(A.Autostaple, A._Autostaple_Object_BuiltJsonSerializable); + _inherit(A.Autobreak, A._Autobreak_Object_BuiltJsonSerializable); + _inherit(A.ZoomSpeedSet, A._ZoomSpeedSet_Object_BuiltJsonSerializable); + _inherit(A.OxdnaExport, A._OxdnaExport_Object_BuiltJsonSerializable); + _inherit(A.OxviewExport, A._OxviewExport_Object_BuiltJsonSerializable); + _inherit(A.OxExportOnlySelectedStrandsSet, A._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable); + _inherit(A._$SkipUndo, A.SkipUndo); + _inherit(A._$Undo, A.Undo); + _inherit(A._$Redo, A.Redo); + _inherit(A._$UndoRedoClear, A.UndoRedoClear); + _inherit(A._$BatchAction, A.BatchAction); + _inherit(A._$ThrottledActionFast, A.ThrottledActionFast); + _inherit(A._$ThrottledActionNonFast, A.ThrottledActionNonFast); + _inherit(A._$LocalStorageDesignChoiceSet, A.LocalStorageDesignChoiceSet); + _inherit(A._$ResetLocalStorage, A.ResetLocalStorage); + _inherit(A._$ClearHelixSelectionWhenLoadingNewDesignSet, A.ClearHelixSelectionWhenLoadingNewDesignSet); + _inherit(A._$EditModeToggle, A.EditModeToggle); + _inherit(A._$EditModesSet, A.EditModesSet); + _inherit(A._$SelectModeToggle, A.SelectModeToggle); + _inherit(A._$SelectModesAdd, A.SelectModesAdd); + _inherit(A._$SelectModesSet, A.SelectModesSet); + _inherit(A._$StrandNameSet, A.StrandNameSet); + _inherit(A._$StrandLabelSet, A.StrandLabelSet); + _inherit(A._$SubstrandNameSet, A.SubstrandNameSet); + _inherit(A._$SubstrandLabelSet, A.SubstrandLabelSet); + _inherit(A._$SetAppUIStateStorable, A.SetAppUIStateStorable); + _inherit(A._$ShowDNASet, A.ShowDNASet); + _inherit(A._$ShowDomainNamesSet, A.ShowDomainNamesSet); + _inherit(A._$ShowStrandNamesSet, A.ShowStrandNamesSet); + _inherit(A._$ShowStrandLabelsSet, A.ShowStrandLabelsSet); + _inherit(A._$ShowDomainLabelsSet, A.ShowDomainLabelsSet); + _inherit(A._$ShowModificationsSet, A.ShowModificationsSet); + _inherit(A._$DomainNameFontSizeSet, A.DomainNameFontSizeSet); + _inherit(A._$DomainLabelFontSizeSet, A.DomainLabelFontSizeSet); + _inherit(A._$StrandNameFontSizeSet, A.StrandNameFontSizeSet); + _inherit(A._$StrandLabelFontSizeSet, A.StrandLabelFontSizeSet); + _inherit(A._$ModificationFontSizeSet, A.ModificationFontSizeSet); + _inherit(A._$MajorTickOffsetFontSizeSet, A.MajorTickOffsetFontSizeSet); + _inherit(A._$MajorTickWidthFontSizeSet, A.MajorTickWidthFontSizeSet); + _inherit(A._$SetModificationDisplayConnector, A.SetModificationDisplayConnector); + _inherit(A._$ShowMismatchesSet, A.ShowMismatchesSet); + _inherit(A._$ShowDomainNameMismatchesSet, A.ShowDomainNameMismatchesSet); + _inherit(A._$ShowUnpairedInsertionDeletionsSet, A.ShowUnpairedInsertionDeletionsSet); + _inherit(A._$OxviewShowSet, A.OxviewShowSet); + _inherit(A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix); + _inherit(A._$DisplayMajorTicksOffsetsSet, A.DisplayMajorTicksOffsetsSet); + _inherit(A._$SetDisplayMajorTickWidthsAllHelices, A.SetDisplayMajorTickWidthsAllHelices); + _inherit(A._$SetDisplayMajorTickWidths, A.SetDisplayMajorTickWidths); + _inherit(A._$SetOnlyDisplaySelectedHelices, A.SetOnlyDisplaySelectedHelices); + _inherit(A._$InvertYSet, A.InvertYSet); + _inherit(A._$DynamicHelixUpdateSet, A.DynamicHelixUpdateSet); + _inherit(A._$WarnOnExitIfUnsavedSet, A.WarnOnExitIfUnsavedSet); + _inherit(A._$LoadingDialogShow, A.LoadingDialogShow); + _inherit(A._$LoadingDialogHide, A.LoadingDialogHide); + _inherit(A._$CopySelectedStandsToClipboardImage, A.CopySelectedStandsToClipboardImage); + _inherit(A._$SaveDNAFile, A.SaveDNAFile); + _inherit(A._$LoadDNAFile, A.LoadDNAFile); + _inherit(A._$PrepareToLoadDNAFile, A.PrepareToLoadDNAFile); + _inherit(A._$NewDesignSet, A.NewDesignSet); + _inherit(A._$ExportCadnanoFile, A.ExportCadnanoFile); + _inherit(A._$ExportCodenanoFile, A.ExportCodenanoFile); + _inherit(A._$ShowMouseoverDataSet, A.ShowMouseoverDataSet); + _inherit(A._$MouseoverDataClear, A.MouseoverDataClear); + _inherit(A._$MouseoverDataUpdate, A.MouseoverDataUpdate); + _inherit(A._$HelixRollSet, A.HelixRollSet); + _inherit(A._$HelixRollSetAtOther, A.HelixRollSetAtOther); + _inherit(A._$RelaxHelixRolls, A.RelaxHelixRolls); + _inherit(A._$ErrorMessageSet, A.ErrorMessageSet); + _inherit(A._$SelectionBoxCreate, A.SelectionBoxCreate); + _inherit(A._$SelectionBoxSizeChange, A.SelectionBoxSizeChange); + _inherit(A._$SelectionBoxRemove, A.SelectionBoxRemove); + _inherit(A._$SelectionRopeCreate, A.SelectionRopeCreate); + _inherit(A._$SelectionRopeMouseMove, A.SelectionRopeMouseMove); + _inherit(A._$SelectionRopeAddPoint, A.SelectionRopeAddPoint); + _inherit(A._$SelectionRopeRemove, A.SelectionRopeRemove); + _inherit(A._$MouseGridPositionSideUpdate, A.MouseGridPositionSideUpdate); + _inherit(A._$MouseGridPositionSideClear, A.MouseGridPositionSideClear); + _inherit(A._$MousePositionSideUpdate, A.MousePositionSideUpdate); + _inherit(A._$MousePositionSideClear, A.MousePositionSideClear); + _inherit(A._$GeometrySet, A.GeometrySet); + _inherit(A._$SelectionBoxIntersectionRuleSet, A.SelectionBoxIntersectionRuleSet); + _inherit(A._$Select, A.Select); + _inherit(A._$SelectionsClear, A.SelectionsClear); + _inherit(A._$SelectionsAdjustMainView, A.SelectionsAdjustMainView); + _inherit(A._$SelectOrToggleItems, A.SelectOrToggleItems); + _inherit(A._$SelectAll, A.SelectAll); + _inherit(A._$SelectAllSelectable, A.SelectAllSelectable); + _inherit(A._$SelectAllStrandsWithSameAsSelected, A.SelectAllStrandsWithSameAsSelected); + _inherit(A._$DeleteAllSelected, A.DeleteAllSelected); + _inherit(A._$HelixAdd, A.HelixAdd); + _inherit(A._$HelixRemove, A.HelixRemove); + _inherit(A._$HelixRemoveAllSelected, A.HelixRemoveAllSelected); + _inherit(A._$HelixSelect, A.HelixSelect); + _inherit(A._$HelixSelectionsClear, A.HelixSelectionsClear); + _inherit(A._$HelixSelectionsAdjust, A.HelixSelectionsAdjust); + _inherit(A._$HelixMajorTickDistanceChange, A.HelixMajorTickDistanceChange); + _inherit(A._$HelixMajorTickDistanceChangeAll, A.HelixMajorTickDistanceChangeAll); + _inherit(A._$HelixMajorTickStartChange, A.HelixMajorTickStartChange); + _inherit(A._$HelixMajorTickStartChangeAll, A.HelixMajorTickStartChangeAll); + _inherit(A._$HelixMajorTicksChange, A.HelixMajorTicksChange); + _inherit(A._$HelixMajorTicksChangeAll, A.HelixMajorTicksChangeAll); + _inherit(A._$HelixMajorTickPeriodicDistancesChange, A.HelixMajorTickPeriodicDistancesChange); + _inherit(A._$HelixMajorTickPeriodicDistancesChangeAll, A.HelixMajorTickPeriodicDistancesChangeAll); + _inherit(A._$HelixIdxsChange, A.HelixIdxsChange); + _inherit(A._$HelixOffsetChange, A.HelixOffsetChange); + _inherit(A._$HelixMinOffsetSetByDomains, A.HelixMinOffsetSetByDomains); + _inherit(A._$HelixMaxOffsetSetByDomains, A.HelixMaxOffsetSetByDomains); + _inherit(A._$HelixMinOffsetSetByDomainsAll, A.HelixMinOffsetSetByDomainsAll); + _inherit(A._$HelixMaxOffsetSetByDomainsAll, A.HelixMaxOffsetSetByDomainsAll); + _inherit(A._$HelixMaxOffsetSetByDomainsAllSameMax, A.HelixMaxOffsetSetByDomainsAllSameMax); + _inherit(A._$HelixOffsetChangeAll, A.HelixOffsetChangeAll); + _inherit(A._$ShowMouseoverRectSet, A.ShowMouseoverRectSet); + _inherit(A._$ShowMouseoverRectToggle, A.ShowMouseoverRectToggle); + _inherit(A._$ExportDNA, A.ExportDNA); + _inherit(A._$ExportCanDoDNA, A.ExportCanDoDNA); + _inherit(A._$ExportSvg, A.ExportSvg); + _inherit(A._$ExportSvgTextSeparatelySet, A.ExportSvgTextSeparatelySet); + _inherit(A._$ExtensionDisplayLengthAngleSet, A.ExtensionDisplayLengthAngleSet); + _inherit(A._$ExtensionAdd, A.ExtensionAdd); + _inherit(A._$ExtensionNumBasesChange, A.ExtensionNumBasesChange); + _inherit(A._$ExtensionsNumBasesChange, A.ExtensionsNumBasesChange); + _inherit(A._$LoopoutLengthChange, A.LoopoutLengthChange); + _inherit(A._$LoopoutsLengthChange, A.LoopoutsLengthChange); + _inherit(A._$ConvertCrossoverToLoopout, A.ConvertCrossoverToLoopout); + _inherit(A._$ConvertCrossoversToLoopouts, A.ConvertCrossoversToLoopouts); + _inherit(A._$Nick, A.Nick); + _inherit(A._$Ligate, A.Ligate); + _inherit(A._$JoinStrandsByCrossover, A.JoinStrandsByCrossover); + _inherit(A._$MoveLinker, A.MoveLinker); + _inherit(A._$JoinStrandsByMultipleCrossovers, A.JoinStrandsByMultipleCrossovers); + _inherit(A._$StrandsReflect, A.StrandsReflect); + _inherit(A._$ReplaceStrands, A.ReplaceStrands); + _inherit(A._$StrandCreateStart, A.StrandCreateStart); + _inherit(A._$StrandCreateAdjustOffset, A.StrandCreateAdjustOffset); + _inherit(A._$StrandCreateStop, A.StrandCreateStop); + _inherit(A._$StrandCreateCommit, A.StrandCreateCommit); + _inherit(A._$PotentialCrossoverCreate, A.PotentialCrossoverCreate); + _inherit(A._$PotentialCrossoverMove, A.PotentialCrossoverMove); + _inherit(A._$PotentialCrossoverRemove, A.PotentialCrossoverRemove); + _inherit(A._$ManualPasteInitiate, A.ManualPasteInitiate); + _inherit(A._$AutoPasteInitiate, A.AutoPasteInitiate); + _inherit(A._$CopySelectedStrands, A.CopySelectedStrands); + _inherit(A._$StrandsMoveStart, A.StrandsMoveStart); + _inherit(A._$StrandsMoveStartSelectedStrands, A.StrandsMoveStartSelectedStrands); + _inherit(A._$StrandsMoveStop, A.StrandsMoveStop); + _inherit(A._$StrandsMoveAdjustAddress, A.StrandsMoveAdjustAddress); + _inherit(A._$StrandsMoveCommit, A.StrandsMoveCommit); + _inherit(A._$DomainsMoveStartSelectedDomains, A.DomainsMoveStartSelectedDomains); + _inherit(A._$DomainsMoveStop, A.DomainsMoveStop); + _inherit(A._$DomainsMoveAdjustAddress, A.DomainsMoveAdjustAddress); + _inherit(A._$DomainsMoveCommit, A.DomainsMoveCommit); + _inherit(A._$DNAEndsMoveStart, A.DNAEndsMoveStart); + _inherit(A._$DNAEndsMoveSetSelectedEnds, A.DNAEndsMoveSetSelectedEnds); + _inherit(A._$DNAEndsMoveAdjustOffset, A.DNAEndsMoveAdjustOffset); + _inherit(A._$DNAEndsMoveStop, A.DNAEndsMoveStop); + _inherit(A._$DNAEndsMoveCommit, A.DNAEndsMoveCommit); + _inherit(A._$DNAExtensionsMoveStart, A.DNAExtensionsMoveStart); + _inherit(A._$DNAExtensionsMoveSetSelectedExtensionEnds, A.DNAExtensionsMoveSetSelectedExtensionEnds); + _inherit(A._$DNAExtensionsMoveAdjustPosition, A.DNAExtensionsMoveAdjustPosition); + _inherit(A._$DNAExtensionsMoveStop, A.DNAExtensionsMoveStop); + _inherit(A._$DNAExtensionsMoveCommit, A.DNAExtensionsMoveCommit); + _inherit(A._$HelixGroupMoveStart, A.HelixGroupMoveStart); + _inherit(A._$HelixGroupMoveCreate, A.HelixGroupMoveCreate); + _inherit(A._$HelixGroupMoveAdjustTranslation, A.HelixGroupMoveAdjustTranslation); + _inherit(A._$HelixGroupMoveStop, A.HelixGroupMoveStop); + _inherit(A._$HelixGroupMoveCommit, A.HelixGroupMoveCommit); + _inherit(A._$AssignDNA, A.AssignDNA); + _inherit(A._$AssignDNAComplementFromBoundStrands, A.AssignDNAComplementFromBoundStrands); + _inherit(A._$AssignDomainNameComplementFromBoundStrands, A.AssignDomainNameComplementFromBoundStrands); + _inherit(A._$AssignDomainNameComplementFromBoundDomains, A.AssignDomainNameComplementFromBoundDomains); + _inherit(A._$RemoveDNA, A.RemoveDNA); + _inherit(A._$InsertionAdd, A.InsertionAdd); + _inherit(A._$InsertionLengthChange, A.InsertionLengthChange); + _inherit(A._$InsertionsLengthChange, A.InsertionsLengthChange); + _inherit(A._$DeletionAdd, A.DeletionAdd); + _inherit(A._$InsertionRemove, A.InsertionRemove); + _inherit(A._$DeletionRemove, A.DeletionRemove); + _inherit(A._$ScalePurificationVendorFieldsAssign, A.ScalePurificationVendorFieldsAssign); + _inherit(A._$PlateWellVendorFieldsAssign, A.PlateWellVendorFieldsAssign); + _inherit(A._$PlateWellVendorFieldsRemove, A.PlateWellVendorFieldsRemove); + _inherit(A._$VendorFieldsRemove, A.VendorFieldsRemove); + _inherit(A._$ModificationAdd, A.ModificationAdd); + _inherit(A._$ModificationRemove, A.ModificationRemove); + _inherit(A._$ModificationConnectorLengthSet, A.ModificationConnectorLengthSet); + _inherit(A._$ModificationEdit, A.ModificationEdit); + _inherit(A._$Modifications5PrimeEdit, A.Modifications5PrimeEdit); + _inherit(A._$Modifications3PrimeEdit, A.Modifications3PrimeEdit); + _inherit(A._$ModificationsInternalEdit, A.ModificationsInternalEdit); + _inherit(A._$GridChange, A.GridChange); + _inherit(A._$GroupDisplayedChange, A.GroupDisplayedChange); + _inherit(A._$GroupAdd, A.GroupAdd); + _inherit(A._$GroupRemove, A.GroupRemove); + _inherit(A._$GroupChange, A.GroupChange); + _inherit(A._$MoveHelicesToGroup, A.MoveHelicesToGroup); + _inherit(A._$DialogShow, A.DialogShow); + _inherit(A._$DialogHide, A.DialogHide); + _inherit(A._$ContextMenuShow, A.ContextMenuShow); + _inherit(A._$ContextMenuHide, A.ContextMenuHide); + _inherit(A._$StrandOrSubstrandColorPickerShow, A.StrandOrSubstrandColorPickerShow); + _inherit(A._$StrandOrSubstrandColorPickerHide, A.StrandOrSubstrandColorPickerHide); + _inherit(A._$ScaffoldSet, A.ScaffoldSet); + _inherit(A._$StrandOrSubstrandColorSet, A.StrandOrSubstrandColorSet); + _inherit(A._$StrandPasteKeepColorSet, A.StrandPasteKeepColorSet); + _inherit(A._$ExampleDesignsLoad, A.ExampleDesignsLoad); + _inherit(A._$BasePairTypeSet, A.BasePairTypeSet); + _inherit(A._$HelixPositionSet, A.HelixPositionSet); + _inherit(A._$HelixGridPositionSet, A.HelixGridPositionSet); + _inherit(A._$HelicesPositionsSetBasedOnCrossovers, A.HelicesPositionsSetBasedOnCrossovers); + _inherit(A._$InlineInsertionsDeletions, A.InlineInsertionsDeletions); + _inherit(A._$DefaultCrossoverTypeForSettingHelixRollsSet, A.DefaultCrossoverTypeForSettingHelixRollsSet); + _inherit(A._$AutofitSet, A.AutofitSet); + _inherit(A._$ShowHelixCirclesMainViewSet, A.ShowHelixCirclesMainViewSet); + _inherit(A._$ShowHelixComponentsMainViewSet, A.ShowHelixComponentsMainViewSet); + _inherit(A._$ShowEditMenuToggle, A.ShowEditMenuToggle); + _inherit(A._$ShowGridCoordinatesSideViewSet, A.ShowGridCoordinatesSideViewSet); + _inherit(A._$ShowAxisArrowsSet, A.ShowAxisArrowsSet); + _inherit(A._$ShowLoopoutExtensionLengthSet, A.ShowLoopoutExtensionLengthSet); + _inherit(A._$LoadDnaSequenceImageUri, A.LoadDnaSequenceImageUri); + _inherit(A._$SetIsZoomAboveThreshold, A.SetIsZoomAboveThreshold); + _inherit(A._$SetExportSvgActionDelayedForPngCache, A.SetExportSvgActionDelayedForPngCache); + _inherit(A._$ShowBasePairLinesSet, A.ShowBasePairLinesSet); + _inherit(A._$ShowBasePairLinesWithMismatchesSet, A.ShowBasePairLinesWithMismatchesSet); + _inherit(A._$ShowSliceBarSet, A.ShowSliceBarSet); + _inherit(A._$SliceBarOffsetSet, A.SliceBarOffsetSet); + _inherit(A._$DisablePngCachingDnaSequencesSet, A.DisablePngCachingDnaSequencesSet); + _inherit(A._$RetainStrandColorOnSelectionSet, A.RetainStrandColorOnSelectionSet); + _inherit(A._$DisplayReverseDNARightSideUpSet, A.DisplayReverseDNARightSideUpSet); + _inherit(A._$SliceBarMoveStart, A.SliceBarMoveStart); + _inherit(A._$SliceBarMoveStop, A.SliceBarMoveStop); + _inherit(A._$Autostaple, A.Autostaple); + _inherit(A._$Autobreak, A.Autobreak); + _inherit(A._$ZoomSpeedSet, A.ZoomSpeedSet); + _inherit(A._$OxdnaExport, A.OxdnaExport); + _inherit(A._$OxviewExport, A.OxviewExport); + _inherit(A._$OxExportOnlySelectedStrandsSet, A.OxExportOnlySelectedStrandsSet); + _inheritMany(A.EnumClass, [A.DNAFileType, A.DNASequencePredefined, A.Storable, A.BasePairDisplayType, A.DialogType, A.EditModeChoice, A.ExportDNAFormat, A.StrandOrder, A.Grid, A.LocalStorageDesignOption, A.ModificationType, A.SelectModeChoice, A.SelectableTrait]); + _inherit(A.SuppressableIndentEncoder, A.JsonEncoder); + _inherit(A.Address, A._Address_Object_BuiltJsonSerializable); + _inherit(A.AddressDifference, A._AddressDifference_Object_BuiltJsonSerializable); + _inherit(A._$Address, A.Address); + _inherit(A._$AddressDifference, A.AddressDifference); + _inherit(A._$AppState, A.AppState); + _inherit(A.AppUIState, A._AppUIState_Object_BuiltJsonSerializable); + _inherit(A._$AppUIState, A.AppUIState); + _inherit(A.AppUIStateStorables, A._AppUIStateStorables_Object_BuiltJsonSerializable); + _inherit(A._$AppUIStateStorables, A.AppUIStateStorables); + _inherit(A.ContextMenu, A._ContextMenu_Object_BuiltJsonSerializable); + _inherit(A.ContextMenuItem, A._ContextMenuItem_Object_BuiltJsonSerializable); + _inherit(A._$ContextMenu, A.ContextMenu); + _inherit(A._$ContextMenuItem, A.ContextMenuItem); + _inherit(A.CopyInfo, A._CopyInfo_Object_BuiltJsonSerializable); + _inherit(A._$CopyInfo, A.CopyInfo); + _inherit(A._Crossover_Object_SelectableMixin_BuiltJsonSerializable, A._Crossover_Object_SelectableMixin); + _inherit(A.Crossover, A._Crossover_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A._$Crossover, A.Crossover); + _inherit(A.Design, A._Design_Object_UnusedFields); + _inherit(A.StrandError, A.IllegalDesignError); + _inherit(A._$Design, A.Design); + _inherit(A.DesignSideRotationParams, A._DesignSideRotationParams_Object_BuiltJsonSerializable); + _inherit(A.DesignSideRotationData, A._DesignSideRotationData_Object_BuiltJsonSerializable); + _inherit(A._$DesignSideRotationParams, A.DesignSideRotationParams); + _inherit(A._$DesignSideRotationData, A.DesignSideRotationData); + _inherit(A.Dialog, A._Dialog_Object_BuiltJsonSerializable); + _inherit(A.DialogInteger, A._DialogInteger_Object_BuiltJsonSerializable); + _inherit(A.DialogFloat, A._DialogFloat_Object_BuiltJsonSerializable); + _inherit(A.DialogText, A._DialogText_Object_BuiltJsonSerializable); + _inherit(A.DialogTextArea, A._DialogTextArea_Object_BuiltJsonSerializable); + _inherit(A.DialogCheckbox, A._DialogCheckbox_Object_BuiltJsonSerializable); + _inherit(A.DialogRadio, A._DialogRadio_Object_BuiltJsonSerializable); + _inherit(A.DialogLink, A._DialogLink_Object_BuiltJsonSerializable); + _inherit(A.DialogLabel, A._DialogLabel_Object_BuiltJsonSerializable); + _inherit(A._$Dialog, A.Dialog); + _inherit(A._$DialogInteger, A.DialogInteger); + _inherit(A._$DialogFloat, A.DialogFloat); + _inherit(A._$DialogText, A.DialogText); + _inherit(A._$DialogTextArea, A.DialogTextArea); + _inherit(A._$DialogCheckbox, A.DialogCheckbox); + _inherit(A._$DialogRadio, A.DialogRadio); + _inherit(A._$DialogLink, A.DialogLink); + _inherit(A._$DialogLabel, A.DialogLabel); + _inherit(A.DNAAssignOptions, A._DNAAssignOptions_Object_BuiltJsonSerializable); + _inherit(A._$DNAAssignOptions, A.DNAAssignOptions); + _inherit(A._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, A._DNAEnd_Object_SelectableMixin); + _inherit(A.DNAEnd, A._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A._$DNAEnd, A.DNAEnd); + _inherit(A.DNAEndsMove, A._DNAEndsMove_Object_BuiltJsonSerializable); + _inherit(A.DNAEndMove, A._DNAEndMove_Object_BuiltJsonSerializable); + _inherit(A._$DNAEndsMove, A.DNAEndsMove); + _inherit(A._$DNAEndMove, A.DNAEndMove); + _inherit(A.DNAExtensionsMove, A._DNAExtensionsMove_Object_BuiltJsonSerializable); + _inherit(A.DNAExtensionMove, A._DNAExtensionMove_Object_BuiltJsonSerializable); + _inherit(A._$DNAExtensionsMove, A.DNAExtensionsMove); + _inherit(A._$DNAExtensionMove, A.DNAExtensionMove); + _inherit(A.Insertion, A._Insertion_Object_BuiltJsonSerializable); + _inherit(A._Domain_Object_SelectableMixin_BuiltJsonSerializable, A._Domain_Object_SelectableMixin); + _inherit(A._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A._Domain_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A.Domain, A._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Insertion, A.Insertion); + _inherit(A._$Domain, A.Domain); + _inherit(A.DomainNameMismatch, A._DomainNameMismatch_Object_BuiltJsonSerializable); + _inherit(A._$DomainNameMismatch, A.DomainNameMismatch); + _inherit(A.DomainsMove, A._DomainsMove_Object_BuiltJsonSerializable); + _inherit(A._$DomainsMove, A.DomainsMove); + _inherit(A.ExampleDesigns, A._ExampleDesigns_Object_BuiltJsonSerializable); + _inherit(A._$ExampleDesigns, A.ExampleDesigns); + _inherit(A._Extension_Object_SelectableMixin_BuiltJsonSerializable, A._Extension_Object_SelectableMixin); + _inherit(A._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A._Extension_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A.Extension, A._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Extension, A.Extension); + _inherit(A._Geometry_Object_BuiltJsonSerializable_UnusedFields, A._Geometry_Object_BuiltJsonSerializable); + _inherit(A.Geometry, A._Geometry_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Geometry, A.Geometry); + _inherit(A.GridPosition, A._GridPosition_Object_BuiltJsonSerializable); + _inherit(A._$GridPosition, A.GridPosition); + _inherit(A.HelixGroup, A._HelixGroup_Object_BuiltJsonSerializable); + _inherit(A._$HelixGroup, A.HelixGroup); + _inherit(A._Helix_Object_BuiltJsonSerializable_UnusedFields, A._Helix_Object_BuiltJsonSerializable); + _inherit(A.Helix, A._Helix_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Helix, A.Helix); + _inherit(A.HelixGroupMove, A._HelixGroupMove_Object_BuiltJsonSerializable); + _inherit(A._$HelixGroupMove, A.HelixGroupMove); + _inherit(A.LocalStorageDesignChoice, A._LocalStorageDesignChoice_Object_BuiltJsonSerializable); + _inherit(A._$LocalStorageDesignChoice, A.LocalStorageDesignChoice); + _inherit(A._Loopout_Object_SelectableMixin_BuiltJsonSerializable, A._Loopout_Object_SelectableMixin); + _inherit(A._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A._Loopout_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A.Loopout, A._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Loopout, A.Loopout); + _inherit(A._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, A._Modification5Prime_Object_BuiltJsonSerializable); + _inherit(A.Modification5Prime, A._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, A._Modification3Prime_Object_BuiltJsonSerializable); + _inherit(A.Modification3Prime, A._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, A._ModificationInternal_Object_BuiltJsonSerializable); + _inherit(A.ModificationInternal, A._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._$Modification5Prime, A.Modification5Prime); + _inherit(A._$Modification3Prime, A.Modification3Prime); + _inherit(A._$ModificationInternal, A.ModificationInternal); + _inherit(A.MouseoverParams, A._MouseoverParams_Object_BuiltJsonSerializable); + _inherit(A.MouseoverData, A._MouseoverData_Object_BuiltJsonSerializable); + _inherit(A._$MouseoverParams, A.MouseoverParams); + _inherit(A._$MouseoverData, A.MouseoverData); + _inherit(A.Position3D, A._Position3D_Object_BuiltJsonSerializable); + _inherit(A._$Position3D, A.Position3D); + _inherit(A.PotentialCrossover, A._PotentialCrossover_Object_BuiltJsonSerializable); + _inherit(A._$PotentialCrossover, A.PotentialCrossover); + _inherit(A.PotentialVerticalCrossover, A._PotentialVerticalCrossover_Object_BuiltJsonSerializable); + _inherit(A._$PotentialVerticalCrossover, A.PotentialVerticalCrossover); + _inherit(A._$SelectModeState, A.SelectModeState); + _inherit(A.SelectablesStore, A._SelectablesStore_Object_BuiltJsonSerializable); + _inherit(A._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, A._SelectableDeletion_Object_SelectableMixin); + _inherit(A.SelectableDeletion, A._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, A._SelectableInsertion_Object_SelectableMixin); + _inherit(A.SelectableInsertion, A._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, A._SelectableModification5Prime_Object_SelectableModification); + _inherit(A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin); + _inherit(A.SelectableModification5Prime, A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, A._SelectableModification3Prime_Object_SelectableModification); + _inherit(A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin); + _inherit(A.SelectableModification3Prime, A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, A._SelectableModificationInternal_Object_SelectableModification); + _inherit(A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin); + _inherit(A.SelectableModificationInternal, A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(A._$SelectablesStore, A.SelectablesStore); + _inherit(A._$SelectableDeletion, A.SelectableDeletion); + _inherit(A._$SelectableInsertion, A.SelectableInsertion); + _inherit(A._$SelectableModification5Prime, A.SelectableModification5Prime); + _inherit(A._$SelectableModification3Prime, A.SelectableModification3Prime); + _inherit(A._$SelectableModificationInternal, A.SelectableModificationInternal); + _inherit(A.SelectionBox, A._SelectionBox_Object_BuiltJsonSerializable); + _inherit(A._$SelectionBox, A.SelectionBox); + _inherit(A.SelectionRope, A._SelectionRope_Object_BuiltJsonSerializable); + _inherit(A.Line, A._Line_Object_BuiltJsonSerializable); + _inherit(A._$SelectionRope, A.SelectionRope); + _inherit(A._$Line, A.Line); + _inherit(A._Strand_Object_SelectableMixin_BuiltJsonSerializable, A._Strand_Object_SelectableMixin); + _inherit(A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A._Strand_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(A.Strand, A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable); + _inherit(A._$Strand, A.Strand); + _inherit(A.StrandCreation, A._StrandCreation_Object_BuiltJsonSerializable); + _inherit(A._$StrandCreation, A.StrandCreation); + _inherit(A.StrandsMove, A._StrandsMove_Object_BuiltJsonSerializable); + _inherit(A._$StrandsMove, A.StrandsMove); + _inherit(A.UndoRedo, A._UndoRedo_Object_BuiltJsonSerializable); + _inherit(A.UndoRedoItem, A._UndoRedoItem_Object_BuiltJsonSerializable); + _inherit(A._$UndoRedo, A.UndoRedo); + _inherit(A._$UndoRedoItem, A.UndoRedoItem); + _inherit(A._VendorFields_Object_BuiltJsonSerializable_UnusedFields, A._VendorFields_Object_BuiltJsonSerializable); + _inherit(A.VendorFields, A._VendorFields_Object_BuiltJsonSerializable_UnusedFields); + _inherit(A._$VendorFields, A.VendorFields); + _inherit(A.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, A.__$$End3PrimeProps_UiProps_End3PrimeProps); + _inherit(A._$$End3PrimeProps, A.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps); + _inheritMany(A._$$End3PrimeProps, [A._$$End3PrimeProps$PlainMap, A._$$End3PrimeProps$JsMap]); + _inherit(A._$End3PrimeComponent, A.End3PrimeComponent); _inherit(A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps); _inherit(A._$$End5PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps); _inheritMany(A._$$End5PrimeProps, [A._$$End5PrimeProps$PlainMap, A._$$End5PrimeProps$JsMap]); _inherit(A._$End5PrimeComponent, A.End5PrimeComponent); - _inherit(S.DesignContextMenuComponent, S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent); - _inherit(S.DesignContextSubmenuComponent, S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent); - _inherit(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps); - _inherit(S._$$DesignContextMenuProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps); - _inheritMany(S._$$DesignContextMenuProps, [S._$$DesignContextMenuProps$PlainMap, S._$$DesignContextMenuProps$JsMap]); - _inherit(S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState); - _inherit(S._$$DesignContextMenuState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState); - _inherit(S._$$DesignContextMenuState$JsMap, S._$$DesignContextMenuState); - _inherit(S._$DesignContextMenuComponent, S.DesignContextMenuComponent); - _inherit(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps); - _inherit(S._$$DesignContextSubmenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps); - _inheritMany(S._$$DesignContextSubmenuProps, [S._$$DesignContextSubmenuProps$PlainMap, S._$$DesignContextSubmenuProps$JsMap]); - _inherit(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState); - _inherit(S._$$DesignContextSubmenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState); - _inherit(S._$$DesignContextSubmenuState$JsMap, S._$$DesignContextSubmenuState); - _inherit(S._$DesignContextSubmenuComponent, S.DesignContextSubmenuComponent); - _inherit(S.DesignDialogFormComponent, S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent); - _inherit(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps); - _inherit(S._$$DesignDialogFormProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps); - _inheritMany(S._$$DesignDialogFormProps, [S._$$DesignDialogFormProps$PlainMap, S._$$DesignDialogFormProps$JsMap]); - _inherit(S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState); - _inherit(S._$$DesignDialogFormState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState); - _inherit(S._$$DesignDialogFormState$JsMap, S._$$DesignDialogFormState); - _inherit(S._$DesignDialogFormComponent, S.DesignDialogFormComponent); - _inherit(V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps); - _inherit(V._$$DesignFooterProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps); - _inheritMany(V._$$DesignFooterProps, [V._$$DesignFooterProps$PlainMap, V._$$DesignFooterProps$JsMap]); - _inherit(V._$DesignFooterComponent, V.DesignFooterComponent); - _inherit(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps); - _inherit(Q._$$DesignLoadingDialogProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps); - _inheritMany(Q._$$DesignLoadingDialogProps, [Q._$$DesignLoadingDialogProps$PlainMap, Q._$$DesignLoadingDialogProps$JsMap]); - _inherit(Q._$DesignLoadingDialogComponent, Q.DesignLoadingDialogComponent); - _inherit(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin); - _inherit(V._$$DesignMainProps, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin); - _inheritMany(V._$$DesignMainProps, [V._$$DesignMainProps$PlainMap, V._$$DesignMainProps$JsMap]); - _inherit(V._$DesignMainComponent, V.DesignMainComponent); - _inherit(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps); - _inherit(Q._$$DesignMainArrowsProps, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps); - _inheritMany(Q._$$DesignMainArrowsProps, [Q._$$DesignMainArrowsProps$PlainMap, Q._$$DesignMainArrowsProps$JsMap]); - _inherit(Q._$DesignMainArrowsComponent0, Q.DesignMainArrowsComponent); - _inherit(Z.DesignMainBasePairLinesComponent, Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent); - _inherit(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps); - _inherit(Z._$$DesignMainBasePairLinesProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps); - _inheritMany(Z._$$DesignMainBasePairLinesProps, [Z._$$DesignMainBasePairLinesProps$PlainMap, Z._$$DesignMainBasePairLinesProps$JsMap]); - _inherit(Z._$DesignMainBasePairLinesComponent, Z.DesignMainBasePairLinesComponent); - _inherit(V.DesignMainBasePairRectangleComponent, V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent); - _inherit(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps); - _inherit(V._$$DesignMainBasePairRectangleProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps); - _inheritMany(V._$$DesignMainBasePairRectangleProps, [V._$$DesignMainBasePairRectangleProps$PlainMap, V._$$DesignMainBasePairRectangleProps$JsMap]); - _inherit(V._$DesignMainBasePairRectangleComponent, V.DesignMainBasePairRectangleComponent); - _inherit(O.DesignMainDNAMismatchesComponent, O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent); - _inherit(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps); - _inherit(O._$$DesignMainDNAMismatchesProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps); - _inheritMany(O._$$DesignMainDNAMismatchesProps, [O._$$DesignMainDNAMismatchesProps$PlainMap, O._$$DesignMainDNAMismatchesProps$JsMap]); - _inherit(O._$DesignMainDNAMismatchesComponent, O.DesignMainDNAMismatchesComponent); - _inherit(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent); - _inherit(U.DesignMainDNASequenceComponent, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin); - _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin); - _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin); - _inherit(U._$$DesignMainDNASequenceProps, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(U._$$DesignMainDNASequenceProps, [U._$$DesignMainDNASequenceProps$PlainMap, U._$$DesignMainDNASequenceProps$JsMap]); - _inherit(U._$DesignMainDNASequenceComponent, U.DesignMainDNASequenceComponent); - _inherit(M.DesignMainDNASequencesComponent, M._DesignMainDNASequencesComponent_UiComponent2_PureComponent); - _inherit(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps); - _inherit(M._$$DesignMainDNASequencesProps, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps); - _inheritMany(M._$$DesignMainDNASequencesProps, [M._$$DesignMainDNASequencesProps$PlainMap, M._$$DesignMainDNASequencesProps$JsMap]); - _inherit(M._$DesignMainDNASequencesComponent, M.DesignMainDNASequencesComponent); - _inherit(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent); - _inherit(T.DesignMainDomainMovingComponent, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin); - _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin); - _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(T._$$DesignMainDomainMovingProps, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(T._$$DesignMainDomainMovingProps, [T._$$DesignMainDomainMovingProps$PlainMap, T._$$DesignMainDomainMovingProps$JsMap]); - _inherit(T._$DesignMainDomainMovingComponent, T.DesignMainDomainMovingComponent); - _inherit(R.DesignMainDomainNameMismatchesComponent, R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent); - _inherit(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps); - _inherit(R._$$DesignMainDomainNameMismatchesProps, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps); - _inheritMany(R._$$DesignMainDomainNameMismatchesProps, [R._$$DesignMainDomainNameMismatchesProps$PlainMap, R._$$DesignMainDomainNameMismatchesProps$JsMap]); - _inherit(R._$DesignMainDomainNameMismatchesComponent, R.DesignMainDomainNameMismatchesComponent); - _inherit(Y.DesignMainDomainsMovingComponent, Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent); - _inherit(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps); - _inherit(Y._$$DesignMainDomainsMovingProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps); - _inheritMany(Y._$$DesignMainDomainsMovingProps, [Y._$$DesignMainDomainsMovingProps$PlainMap, Y._$$DesignMainDomainsMovingProps$JsMap]); - _inherit(Y._$DesignMainDomainsMovingComponent, Y.DesignMainDomainsMovingComponent); - _inherit(X.DesignMainErrorBoundaryComponent, X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); - _inherit(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps); - _inherit(X._$$DesignMainErrorBoundaryProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); - _inheritMany(X._$$DesignMainErrorBoundaryProps, [X._$$DesignMainErrorBoundaryProps$PlainMap, X._$$DesignMainErrorBoundaryProps$JsMap]); - _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState); - _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); - _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin); - _inherit(X._$$DesignMainErrorBoundaryState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin); - _inherit(X._$$DesignMainErrorBoundaryState$JsMap, X._$$DesignMainErrorBoundaryState); - _inherit(X._$DesignMainErrorBoundaryComponent, X.DesignMainErrorBoundaryComponent); - _inherit(V.DesignMainHelicesComponent, V._DesignMainHelicesComponent_UiComponent2_PureComponent); - _inherit(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps); - _inherit(V._$$DesignMainHelicesProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps); - _inheritMany(V._$$DesignMainHelicesProps, [V._$$DesignMainHelicesProps$PlainMap, V._$$DesignMainHelicesProps$JsMap]); - _inherit(V._$DesignMainHelicesComponent, V.DesignMainHelicesComponent); - _inherit(T.DesignMainHelixComponent, T._DesignMainHelixComponent_UiComponent2_PureComponent); - _inherit(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps); - _inherit(T._$$DesignMainHelixProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps); - _inheritMany(T._$$DesignMainHelixProps, [T._$$DesignMainHelixProps$PlainMap, T._$$DesignMainHelixProps$JsMap]); - _inherit(T._$DesignMainHelixComponent, T.DesignMainHelixComponent); - _inherit(K.DesignMainLoopoutExtensionLengthComponent, K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent); - _inherit(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin); - _inherit(K._$$DesignMainLoopoutExtensionLengthProps, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin); - _inheritMany(K._$$DesignMainLoopoutExtensionLengthProps, [K._$$DesignMainLoopoutExtensionLengthProps$PlainMap, K._$$DesignMainLoopoutExtensionLengthProps$JsMap]); - _inherit(K._$DesignMainLoopoutExtensionLengthComponent, K.DesignMainLoopoutExtensionLengthComponent); - _inherit(Z.DesignMainLoopoutExtensionLengthsComponent, Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent); - _inherit(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps); - _inherit(Z._$$DesignMainLoopoutExtensionLengthsProps, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps); - _inheritMany(Z._$$DesignMainLoopoutExtensionLengthsProps, [Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap, Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap]); - _inherit(Z._$DesignMainLoopoutExtensionLengthsComponent, Z.DesignMainLoopoutExtensionLengthsComponent); - _inherit(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent); - _inherit(K.DesignMainPotentialVerticalCrossoverComponent, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin); - _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin); - _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(K._$$DesignMainPotentialVerticalCrossoverProps, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(K._$$DesignMainPotentialVerticalCrossoverProps, [K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap, K._$$DesignMainPotentialVerticalCrossoverProps$JsMap]); - _inherit(K._$DesignMainPotentialVerticalCrossoverComponent, K.DesignMainPotentialVerticalCrossoverComponent); - _inherit(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps); - _inherit(S._$$DesignMainPotentialVerticalCrossoversProps, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps); - _inheritMany(S._$$DesignMainPotentialVerticalCrossoversProps, [S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap, S._$$DesignMainPotentialVerticalCrossoversProps$JsMap]); - _inherit(S._$DesignMainPotentialVerticalCrossoversComponent, S.DesignMainPotentialVerticalCrossoversComponent); - _inherit(M.DesignMainSliceBarComponent, M._DesignMainSliceBarComponent_UiComponent2_PureComponent); - _inherit(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps); - _inherit(M._$$DesignMainSliceBarProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps); - _inheritMany(M._$$DesignMainSliceBarProps, [M._$$DesignMainSliceBarProps$PlainMap, M._$$DesignMainSliceBarProps$JsMap]); - _inherit(M._$DesignMainSliceBarComponent, M.DesignMainSliceBarComponent); - _inherit(M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup, M._DesignMainStrandComponent_UiComponent2_PureComponent); - _inherit(M.DesignMainStrandComponent, M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin); - _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin); - _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(M._$$DesignMainStrandProps, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(M._$$DesignMainStrandProps, [M._$$DesignMainStrandProps$PlainMap, M._$$DesignMainStrandProps$JsMap]); - _inherit(M._$DesignMainStrandComponent, M.DesignMainStrandComponent); - _inherit(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent); - _inherit(S.DesignMainStrandAndDomainTextsComponent, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin); - _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin); - _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(S._$$DesignMainStrandAndDomainTextsProps, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(S._$$DesignMainStrandAndDomainTextsProps, [S._$$DesignMainStrandAndDomainTextsProps$PlainMap, S._$$DesignMainStrandAndDomainTextsProps$JsMap]); - _inherit(S._$DesignMainStrandAndDomainTextsComponent, S.DesignMainStrandAndDomainTextsComponent); - _inherit(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent); - _inherit(R.DesignMainStrandCreatingComponent, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin); - _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin); - _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(R._$$DesignMainStrandCreatingProps, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(R._$$DesignMainStrandCreatingProps, [R._$$DesignMainStrandCreatingProps$PlainMap, R._$$DesignMainStrandCreatingProps$JsMap]); - _inherit(R._$DesignMainStrandCreatingComponent, R.DesignMainStrandCreatingComponent); - _inherit(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent); - _inherit(Q.DesignMainStrandCrossoverComponent, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup); - _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin); - _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin); - _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(Q._$$DesignMainStrandCrossoverProps, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(Q._$$DesignMainStrandCrossoverProps, [Q._$$DesignMainStrandCrossoverProps$PlainMap, Q._$$DesignMainStrandCrossoverProps$JsMap]); - _inherit(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState); - _inherit(Q._$$DesignMainStrandCrossoverState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState); - _inherit(Q._$$DesignMainStrandCrossoverState$JsMap, Q._$$DesignMainStrandCrossoverState); - _inherit(Q._$DesignMainStrandCrossoverComponent, Q.DesignMainStrandCrossoverComponent); + _inherit(A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps, A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps); + _inherit(A._$$AxisArrowsMainProps, A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps); + _inheritMany(A._$$AxisArrowsMainProps, [A._$$AxisArrowsMainProps$PlainMap, A._$$AxisArrowsMainProps$JsMap]); + _inherit(A._$DesignMainArrowsComponent, A.DesignMainArrowsComponent); + _inherit(A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps, A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps); + _inherit(A._$$AxisArrowsSideProps, A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps); + _inheritMany(A._$$AxisArrowsSideProps, [A._$$AxisArrowsSideProps$PlainMap, A._$$AxisArrowsSideProps$JsMap]); + _inherit(A._$AxisArrowsComponent, A.AxisArrowsComponent); + _inherit(A.DesignContextMenuComponent, A._DesignContextMenuComponent_UiStatefulComponent2_PureComponent); + _inherit(A.DesignContextSubmenuComponent, A._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent); + _inherit(A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps); + _inherit(A._$$DesignContextMenuProps, A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps); + _inheritMany(A._$$DesignContextMenuProps, [A._$$DesignContextMenuProps$PlainMap, A._$$DesignContextMenuProps$JsMap]); + _inherit(A.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, A.__$$DesignContextMenuState_UiState_DesignContextMenuState); + _inherit(A._$$DesignContextMenuState, A.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState); + _inherit(A._$$DesignContextMenuState$JsMap, A._$$DesignContextMenuState); + _inherit(A._$DesignContextMenuComponent, A.DesignContextMenuComponent); + _inherit(A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps); + _inherit(A._$$DesignContextSubmenuProps, A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps); + _inheritMany(A._$$DesignContextSubmenuProps, [A._$$DesignContextSubmenuProps$PlainMap, A._$$DesignContextSubmenuProps$JsMap]); + _inherit(A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState); + _inherit(A._$$DesignContextSubmenuState, A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState); + _inherit(A._$$DesignContextSubmenuState$JsMap, A._$$DesignContextSubmenuState); + _inherit(A._$DesignContextSubmenuComponent, A.DesignContextSubmenuComponent); + _inherit(A.DesignDialogFormComponent, A._DesignDialogFormComponent_UiStatefulComponent2_PureComponent); + _inherit(A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps); + _inherit(A._$$DesignDialogFormProps, A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps); + _inheritMany(A._$$DesignDialogFormProps, [A._$$DesignDialogFormProps$PlainMap, A._$$DesignDialogFormProps$JsMap]); + _inherit(A.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, A.__$$DesignDialogFormState_UiState_DesignDialogFormState); + _inherit(A._$$DesignDialogFormState, A.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState); + _inherit(A._$$DesignDialogFormState$JsMap, A._$$DesignDialogFormState); + _inherit(A._$DesignDialogFormComponent, A.DesignDialogFormComponent); + _inherit(A.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, A.__$$DesignFooterProps_UiProps_DesignFooterProps); + _inherit(A._$$DesignFooterProps, A.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps); + _inheritMany(A._$$DesignFooterProps, [A._$$DesignFooterProps$PlainMap, A._$$DesignFooterProps$JsMap]); + _inherit(A._$DesignFooterComponent, A.DesignFooterComponent); + _inherit(A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps); + _inherit(A._$$DesignLoadingDialogProps, A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps); + _inheritMany(A._$$DesignLoadingDialogProps, [A._$$DesignLoadingDialogProps$PlainMap, A._$$DesignLoadingDialogProps$JsMap]); + _inherit(A._$DesignLoadingDialogComponent, A.DesignLoadingDialogComponent); + _inherit(A.__$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps, A.__$$DesignMainProps_UiProps_DesignMainProps); + _inherit(A._$$DesignMainProps, A.__$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps); + _inheritMany(A._$$DesignMainProps, [A._$$DesignMainProps$PlainMap, A._$$DesignMainProps$JsMap]); + _inherit(A._$DesignMainComponent, A.DesignMainComponent); + _inherit(A.DesignMainBasePairLinesComponent, A._DesignMainBasePairLinesComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps); + _inherit(A._$$DesignMainBasePairLinesProps, A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps); + _inheritMany(A._$$DesignMainBasePairLinesProps, [A._$$DesignMainBasePairLinesProps$PlainMap, A._$$DesignMainBasePairLinesProps$JsMap]); + _inherit(A._$DesignMainBasePairLinesComponent, A.DesignMainBasePairLinesComponent); + _inherit(A.DesignMainBasePairRectangleComponent, A._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps); + _inherit(A._$$DesignMainBasePairRectangleProps, A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps); + _inheritMany(A._$$DesignMainBasePairRectangleProps, [A._$$DesignMainBasePairRectangleProps$PlainMap, A._$$DesignMainBasePairRectangleProps$JsMap]); + _inherit(A._$DesignMainBasePairRectangleComponent, A.DesignMainBasePairRectangleComponent); + _inherit(A.DesignMainDNAMismatchesComponent, A._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps); + _inherit(A._$$DesignMainDNAMismatchesProps, A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps); + _inheritMany(A._$$DesignMainDNAMismatchesProps, [A._$$DesignMainDNAMismatchesProps$PlainMap, A._$$DesignMainDNAMismatchesProps$JsMap]); + _inherit(A._$DesignMainDNAMismatchesComponent, A.DesignMainDNAMismatchesComponent); + _inherit(A.DesignMainDNASequenceComponent, A._DesignMainDNASequenceComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps, A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps); + _inherit(A._$$DesignMainDNASequenceProps, A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps); + _inheritMany(A._$$DesignMainDNASequenceProps, [A._$$DesignMainDNASequenceProps$PlainMap, A._$$DesignMainDNASequenceProps$JsMap]); + _inherit(A._$DesignMainDNASequenceComponent, A.DesignMainDNASequenceComponent); + _inherit(A.DesignMainDNASequencesComponent, A._DesignMainDNASequencesComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps); + _inherit(A._$$DesignMainDNASequencesProps, A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps); + _inheritMany(A._$$DesignMainDNASequencesProps, [A._$$DesignMainDNASequencesProps$PlainMap, A._$$DesignMainDNASequencesProps$JsMap]); + _inherit(A._$DesignMainDNASequencesComponent, A.DesignMainDNASequencesComponent); + _inherit(A.DesignMainDomainMovingComponent, A._DesignMainDomainMovingComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps, A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps); + _inherit(A._$$DesignMainDomainMovingProps, A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps); + _inheritMany(A._$$DesignMainDomainMovingProps, [A._$$DesignMainDomainMovingProps$PlainMap, A._$$DesignMainDomainMovingProps$JsMap]); + _inherit(A._$DesignMainDomainMovingComponent, A.DesignMainDomainMovingComponent); + _inherit(A.DesignMainDomainNameMismatchesComponent, A._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps); + _inherit(A._$$DesignMainDomainNameMismatchesProps, A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps); + _inheritMany(A._$$DesignMainDomainNameMismatchesProps, [A._$$DesignMainDomainNameMismatchesProps$PlainMap, A._$$DesignMainDomainNameMismatchesProps$JsMap]); + _inherit(A._$DesignMainDomainNameMismatchesComponent, A.DesignMainDomainNameMismatchesComponent); + _inherit(A.DesignMainDomainsMovingComponent, A._DesignMainDomainsMovingComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps); + _inherit(A._$$DesignMainDomainsMovingProps, A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps); + _inheritMany(A._$$DesignMainDomainsMovingProps, [A._$$DesignMainDomainsMovingProps$PlainMap, A._$$DesignMainDomainsMovingProps$JsMap]); + _inherit(A._$DesignMainDomainsMovingComponent, A.DesignMainDomainsMovingComponent); + _inherit(A.DesignMainErrorBoundaryComponent, A._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(A._$$DesignMainErrorBoundaryProps, A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(A._$$DesignMainErrorBoundaryProps, [A._$$DesignMainErrorBoundaryProps$PlainMap, A._$$DesignMainErrorBoundaryProps$JsMap]); + _inherit(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin); + _inherit(A._$$DesignMainErrorBoundaryState, A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin); + _inherit(A._$$DesignMainErrorBoundaryState$JsMap, A._$$DesignMainErrorBoundaryState); + _inherit(A._$DesignMainErrorBoundaryComponent, A.DesignMainErrorBoundaryComponent); + _inherit(A.DesignMainHelicesComponent, A._DesignMainHelicesComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps); + _inherit(A._$$DesignMainHelicesProps, A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps); + _inheritMany(A._$$DesignMainHelicesProps, [A._$$DesignMainHelicesProps$PlainMap, A._$$DesignMainHelicesProps$JsMap]); + _inherit(A._$DesignMainHelicesComponent, A.DesignMainHelicesComponent); + _inherit(A.DesignMainHelixComponent, A._DesignMainHelixComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps); + _inherit(A._$$DesignMainHelixProps, A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps); + _inheritMany(A._$$DesignMainHelixProps, [A._$$DesignMainHelixProps$PlainMap, A._$$DesignMainHelixProps$JsMap]); + _inherit(A._$DesignMainHelixComponent, A.DesignMainHelixComponent); + _inherit(A.DesignMainLoopoutExtensionLengthComponent, A._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps, A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps); + _inherit(A._$$DesignMainLoopoutExtensionLengthProps, A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps); + _inheritMany(A._$$DesignMainLoopoutExtensionLengthProps, [A._$$DesignMainLoopoutExtensionLengthProps$PlainMap, A._$$DesignMainLoopoutExtensionLengthProps$JsMap]); + _inherit(A._$DesignMainLoopoutExtensionLengthComponent, A.DesignMainLoopoutExtensionLengthComponent); + _inherit(A.DesignMainLoopoutExtensionLengthsComponent, A._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps); + _inherit(A._$$DesignMainLoopoutExtensionLengthsProps, A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps); + _inheritMany(A._$$DesignMainLoopoutExtensionLengthsProps, [A._$$DesignMainLoopoutExtensionLengthsProps$PlainMap, A._$$DesignMainLoopoutExtensionLengthsProps$JsMap]); + _inherit(A._$DesignMainLoopoutExtensionLengthsComponent, A.DesignMainLoopoutExtensionLengthsComponent); + _inherit(A.DesignMainPotentialVerticalCrossoverComponent, A._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps, A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps); + _inherit(A._$$DesignMainPotentialVerticalCrossoverProps, A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps); + _inheritMany(A._$$DesignMainPotentialVerticalCrossoverProps, [A._$$DesignMainPotentialVerticalCrossoverProps$PlainMap, A._$$DesignMainPotentialVerticalCrossoverProps$JsMap]); + _inherit(A._$DesignMainPotentialVerticalCrossoverComponent, A.DesignMainPotentialVerticalCrossoverComponent); + _inherit(A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps); + _inherit(A._$$DesignMainPotentialVerticalCrossoversProps, A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps); + _inheritMany(A._$$DesignMainPotentialVerticalCrossoversProps, [A._$$DesignMainPotentialVerticalCrossoversProps$PlainMap, A._$$DesignMainPotentialVerticalCrossoversProps$JsMap]); + _inherit(A._$DesignMainPotentialVerticalCrossoversComponent, A.DesignMainPotentialVerticalCrossoversComponent); + _inherit(A.DesignMainSliceBarComponent, A._DesignMainSliceBarComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps); + _inherit(A._$$DesignMainSliceBarProps, A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps); + _inheritMany(A._$$DesignMainSliceBarProps, [A._$$DesignMainSliceBarProps$PlainMap, A._$$DesignMainSliceBarProps$JsMap]); + _inherit(A._$DesignMainSliceBarComponent, A.DesignMainSliceBarComponent); + _inherit(A.DesignMainStrandComponent, A._DesignMainStrandComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps, A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps); + _inherit(A._$$DesignMainStrandProps, A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps); + _inheritMany(A._$$DesignMainStrandProps, [A._$$DesignMainStrandProps$PlainMap, A._$$DesignMainStrandProps$JsMap]); + _inherit(A._$DesignMainStrandComponent, A.DesignMainStrandComponent); + _inherit(A.DesignMainStrandAndDomainTextsComponent, A._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps, A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps); + _inherit(A._$$DesignMainStrandAndDomainTextsProps, A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps); + _inheritMany(A._$$DesignMainStrandAndDomainTextsProps, [A._$$DesignMainStrandAndDomainTextsProps$PlainMap, A._$$DesignMainStrandAndDomainTextsProps$JsMap]); + _inherit(A._$DesignMainStrandAndDomainTextsComponent, A.DesignMainStrandAndDomainTextsComponent); + _inherit(A.DesignMainStrandCreatingComponent, A._DesignMainStrandCreatingComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps, A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps); + _inherit(A._$$DesignMainStrandCreatingProps, A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps); + _inheritMany(A._$$DesignMainStrandCreatingProps, [A._$$DesignMainStrandCreatingProps$PlainMap, A._$$DesignMainStrandCreatingProps$JsMap]); + _inherit(A._$DesignMainStrandCreatingComponent, A.DesignMainStrandCreatingComponent); + _inherit(A.DesignMainStrandCrossoverComponent, A._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps, A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps); + _inherit(A._$$DesignMainStrandCrossoverProps, A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps); + _inheritMany(A._$$DesignMainStrandCrossoverProps, [A._$$DesignMainStrandCrossoverProps$PlainMap, A._$$DesignMainStrandCrossoverProps$JsMap]); + _inherit(A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState); + _inherit(A._$$DesignMainStrandCrossoverState, A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState); + _inherit(A._$$DesignMainStrandCrossoverState$JsMap, A._$$DesignMainStrandCrossoverState); + _inherit(A._$DesignMainStrandCrossoverComponent, A.DesignMainStrandCrossoverComponent); _inherit(A.DesignMainStrandDeletionComponent, A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent); _inherit(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin); _inherit(A._$$DesignMainStrandDeletionProps, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin); _inheritMany(A._$$DesignMainStrandDeletionProps, [A._$$DesignMainStrandDeletionProps$PlainMap, A._$$DesignMainStrandDeletionProps$JsMap]); _inherit(A._$DesignMainStrandDeletionComponent, A.DesignMainStrandDeletionComponent); - _inherit(S.DesignMainDNAEndComponent, S._DesignMainDNAEndComponent_UiComponent2_PureComponent); - _inherit(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin); - _inherit(S._$$DesignMainDNAEndProps, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin); - _inheritMany(S._$$DesignMainDNAEndProps, [S._$$DesignMainDNAEndProps$PlainMap, S._$$DesignMainDNAEndProps$JsMap]); - _inherit(S._$DesignMainDNAEndComponent, S.DesignMainDNAEndComponent); - _inherit(F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, F.__$$EndMovingProps_UiProps_EndMovingProps); - _inherit(F._$$EndMovingProps, F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps); - _inheritMany(F._$$EndMovingProps, [F._$$EndMovingProps$PlainMap, F._$$EndMovingProps$JsMap]); - _inherit(F._$EndMovingComponent, F.EndMovingComponent); - _inherit(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps); - _inherit(T._$$ExtensionEndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps); - _inheritMany(T._$$ExtensionEndMovingProps, [T._$$ExtensionEndMovingProps$PlainMap, T._$$ExtensionEndMovingProps$JsMap]); - _inherit(T._$ExtensionEndMovingComponent, T.ExtensionEndMovingComponent); - _inherit(T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainDomainComponent_UiComponent2_PureComponent); - _inherit(T.DesignMainDomainComponent, T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin); - _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin); - _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(T._$$DesignMainDomainProps, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(T._$$DesignMainDomainProps, [T._$$DesignMainDomainProps$PlainMap, T._$$DesignMainDomainProps$JsMap]); - _inherit(T._$DesignMainDomainComponent, T.DesignMainDomainComponent); - _inherit(B.DesignMainStrandDomainTextComponent, B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent); - _inherit(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin); - _inherit(B._$$DesignMainStrandDomainTextProps, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin); - _inheritMany(B._$$DesignMainStrandDomainTextProps, [B._$$DesignMainStrandDomainTextProps$PlainMap, B._$$DesignMainStrandDomainTextProps$JsMap]); - _inherit(B._$DesignMainStrandDomainTextComponent, B.DesignMainStrandDomainTextComponent); - _inherit(Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup, Q._DesignMainExtensionComponent_UiComponent2_PureComponent); - _inherit(Q.DesignMainExtensionComponent, Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin); - _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin); - _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(Q._$$DesignMainExtensionProps, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(Q._$$DesignMainExtensionProps, [Q._$$DesignMainExtensionProps$PlainMap, Q._$$DesignMainExtensionProps$JsMap]); - _inherit(Q._$DesignMainExtensionComponent, Q.DesignMainExtensionComponent); - _inherit(R.DesignMainStrandExtensionTextComponent, R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent); - _inherit(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin); - _inherit(R._$$DesignMainStrandExtensionTextProps, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin); - _inheritMany(R._$$DesignMainStrandExtensionTextProps, [R._$$DesignMainStrandExtensionTextProps$PlainMap, R._$$DesignMainStrandExtensionTextProps$JsMap]); - _inherit(R._$DesignMainStrandExtensionTextComponent, R.DesignMainStrandExtensionTextComponent); + _inherit(A.DesignMainDNAEndComponent, A._DesignMainDNAEndComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin); + _inherit(A._$$DesignMainDNAEndProps, A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin); + _inheritMany(A._$$DesignMainDNAEndProps, [A._$$DesignMainDNAEndProps$PlainMap, A._$$DesignMainDNAEndProps$JsMap]); + _inherit(A._$DesignMainDNAEndComponent, A.DesignMainDNAEndComponent); + _inherit(A.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, A.__$$EndMovingProps_UiProps_EndMovingProps); + _inherit(A._$$EndMovingProps, A.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps); + _inheritMany(A._$$EndMovingProps, [A._$$EndMovingProps$PlainMap, A._$$EndMovingProps$JsMap]); + _inherit(A._$EndMovingComponent, A.EndMovingComponent); + _inherit(A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps); + _inherit(A._$$ExtensionEndMovingProps, A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps); + _inheritMany(A._$$ExtensionEndMovingProps, [A._$$ExtensionEndMovingProps$PlainMap, A._$$ExtensionEndMovingProps$JsMap]); + _inherit(A._$ExtensionEndMovingComponent, A.ExtensionEndMovingComponent); + _inherit(A.DesignMainDomainComponent, A._DesignMainDomainComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps, A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps); + _inherit(A._$$DesignMainDomainProps, A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps); + _inheritMany(A._$$DesignMainDomainProps, [A._$$DesignMainDomainProps$PlainMap, A._$$DesignMainDomainProps$JsMap]); + _inherit(A._$DesignMainDomainComponent, A.DesignMainDomainComponent); + _inherit(A.DesignMainStrandDomainTextComponent, A._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps, A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps); + _inherit(A._$$DesignMainStrandDomainTextProps, A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps); + _inheritMany(A._$$DesignMainStrandDomainTextProps, [A._$$DesignMainStrandDomainTextProps$PlainMap, A._$$DesignMainStrandDomainTextProps$JsMap]); + _inherit(A._$DesignMainStrandDomainTextComponent, A.DesignMainStrandDomainTextComponent); + _inherit(A.DesignMainExtensionComponent, A._DesignMainExtensionComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps, A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps); + _inherit(A._$$DesignMainExtensionProps, A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps); + _inheritMany(A._$$DesignMainExtensionProps, [A._$$DesignMainExtensionProps$PlainMap, A._$$DesignMainExtensionProps$JsMap]); + _inherit(A._$DesignMainExtensionComponent, A.DesignMainExtensionComponent); + _inherit(A.DesignMainStrandExtensionTextComponent, A._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps, A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps); + _inherit(A._$$DesignMainStrandExtensionTextProps, A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps); + _inheritMany(A._$$DesignMainStrandExtensionTextProps, [A._$$DesignMainStrandExtensionTextProps$PlainMap, A._$$DesignMainStrandExtensionTextProps$JsMap]); + _inherit(A._$DesignMainStrandExtensionTextComponent, A.DesignMainStrandExtensionTextComponent); _inherit(A.DesignMainStrandInsertionComponent, A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent); - _inherit(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin); - _inherit(A._$$DesignMainStrandInsertionProps, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin); + _inherit(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps); + _inherit(A._$$DesignMainStrandInsertionProps, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps); _inheritMany(A._$$DesignMainStrandInsertionProps, [A._$$DesignMainStrandInsertionProps$PlainMap, A._$$DesignMainStrandInsertionProps$JsMap]); _inherit(A._$DesignMainStrandInsertionComponent, A.DesignMainStrandInsertionComponent); - _inherit(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent); - _inherit(R.DesignMainLoopoutComponent, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup); - _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin); - _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin); - _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(R._$$DesignMainLoopoutProps, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(R._$$DesignMainLoopoutProps, [R._$$DesignMainLoopoutProps$PlainMap, R._$$DesignMainLoopoutProps$JsMap]); - _inherit(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState); - _inherit(R._$$DesignMainLoopoutState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState); - _inherit(R._$$DesignMainLoopoutState$JsMap, R._$$DesignMainLoopoutState); - _inherit(R._$DesignMainLoopoutComponent, R.DesignMainLoopoutComponent); - _inherit(S.DesignMainStrandLoopoutTextComponent, S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent); - _inherit(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin); - _inherit(S._$$DesignMainStrandLoopoutTextProps, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin); - _inheritMany(S._$$DesignMainStrandLoopoutTextProps, [S._$$DesignMainStrandLoopoutTextProps$PlainMap, S._$$DesignMainStrandLoopoutTextProps$JsMap]); - _inherit(S._$DesignMainStrandLoopoutTextComponent, S.DesignMainStrandLoopoutTextComponent); - _inherit(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps); - _inherit(X._$$DesignMainStrandModificationProps, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps); - _inheritMany(X._$$DesignMainStrandModificationProps, [X._$$DesignMainStrandModificationProps$PlainMap, X._$$DesignMainStrandModificationProps$JsMap]); - _inherit(X._$DesignMainStrandModificationComponent, X.DesignMainStrandModificationComponent); - _inherit(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent); - _inherit(R.DesignMainStrandModificationsComponent, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin); - _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin); - _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(R._$$DesignMainStrandModificationsProps, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(R._$$DesignMainStrandModificationsProps, [R._$$DesignMainStrandModificationsProps$PlainMap, R._$$DesignMainStrandModificationsProps$JsMap]); - _inherit(R._$DesignMainStrandModificationsComponent, R.DesignMainStrandModificationsComponent); - _inherit(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent); - _inherit(T.DesignMainStrandMovingComponent, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin); - _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin); - _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(T._$$DesignMainStrandMovingProps, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(T._$$DesignMainStrandMovingProps, [T._$$DesignMainStrandMovingProps$PlainMap, T._$$DesignMainStrandMovingProps$JsMap]); - _inherit(T._$DesignMainStrandMovingComponent, T.DesignMainStrandMovingComponent); - _inherit(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent); - _inherit(B.DesignMainStrandPathsComponent, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup); - _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin); - _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin); - _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin); - _inherit(B._$$DesignMainStrandPathsProps, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); - _inheritMany(B._$$DesignMainStrandPathsProps, [B._$$DesignMainStrandPathsProps$PlainMap, B._$$DesignMainStrandPathsProps$JsMap]); - _inherit(B._$DesignMainStrandPathsComponent, B.DesignMainStrandPathsComponent); - _inherit(E.DesignMainStrandsComponent, E._DesignMainStrandsComponent_UiComponent2_PureComponent); - _inherit(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps); - _inherit(E._$$DesignMainStrandsProps, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps); - _inheritMany(E._$$DesignMainStrandsProps, [E._$$DesignMainStrandsProps$PlainMap, E._$$DesignMainStrandsProps$JsMap]); - _inherit(E._$DesignMainStrandsComponent, E.DesignMainStrandsComponent); - _inherit(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps); - _inherit(F._$$DesignMainStrandsMovingProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps); - _inheritMany(F._$$DesignMainStrandsMovingProps, [F._$$DesignMainStrandsMovingProps$PlainMap, F._$$DesignMainStrandsMovingProps$JsMap]); - _inherit(F._$DesignMainStrandsMovingComponent, F.DesignMainStrandsMovingComponent); - _inherit(B.DesignMainUnpairedInsertionDeletionsComponent, B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent); - _inherit(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps); - _inherit(B._$$DesignMainUnpairedInsertionDeletionsProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps); - _inheritMany(B._$$DesignMainUnpairedInsertionDeletionsProps, [B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap, B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap]); - _inherit(B._$DesignMainUnpairedInsertionDeletionsComponent, B.DesignMainUnpairedInsertionDeletionsComponent); - _inherit(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps); - _inherit(R._$$DesignMainWarningStarProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps); - _inheritMany(R._$$DesignMainWarningStarProps, [R._$$DesignMainWarningStarProps$PlainMap, R._$$DesignMainWarningStarProps$JsMap]); - _inherit(R._$DesignMainWarningStarComponent, R.DesignMainWarningStarComponent); - _inherit(U.DesignSideComponent, U._DesignSideComponent_UiComponent2_PureComponent); - _inherit(U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, U.__$$DesignSideProps_UiProps_DesignSideProps); - _inherit(U._$$DesignSideProps, U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps); - _inheritMany(U._$$DesignSideProps, [U._$$DesignSideProps$PlainMap, U._$$DesignSideProps$JsMap]); - _inherit(U._$DesignSideComponent, U.DesignSideComponent); - _inherit(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps); - _inherit(S._$$DesignSideArrowsProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps); - _inheritMany(S._$$DesignSideArrowsProps, [S._$$DesignSideArrowsProps$PlainMap, S._$$DesignSideArrowsProps$JsMap]); - _inherit(S._$DesignMainArrowsComponent, S.DesignMainArrowsComponent0); - _inherit(B.DesignSideHelixComponent, B._DesignSideHelixComponent_UiComponent2_PureComponent); - _inherit(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps); - _inherit(B._$$DesignSideHelixProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps); - _inheritMany(B._$$DesignSideHelixProps, [B._$$DesignSideHelixProps$PlainMap, B._$$DesignSideHelixProps$JsMap]); - _inherit(B._$DesignSideHelixComponent, B.DesignSideHelixComponent); - _inherit(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps); - _inherit(Y._$$DesignSidePotentialHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps); - _inheritMany(Y._$$DesignSidePotentialHelixProps, [Y._$$DesignSidePotentialHelixProps$PlainMap, Y._$$DesignSidePotentialHelixProps$JsMap]); - _inherit(Y._$DesignSidePotentialHelixComponent, Y.DesignSidePotentialHelixComponent); - _inherit(O.DesignSideRotationComponent, O._DesignSideRotationComponent_UiComponent2_PureComponent); - _inherit(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps); - _inherit(O._$$DesignSideRotationProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps); - _inheritMany(O._$$DesignSideRotationProps, [O._$$DesignSideRotationProps$PlainMap, O._$$DesignSideRotationProps$JsMap]); - _inherit(O._$DesignSideRotationComponent, O.DesignSideRotationComponent); - _inherit(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps); - _inherit(E._$$DesignSideRotationArrowProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps); - _inheritMany(E._$$DesignSideRotationArrowProps, [E._$$DesignSideRotationArrowProps$PlainMap, E._$$DesignSideRotationArrowProps$JsMap]); - _inherit(E._$DesignSideRotationArrowComponent, E.DesignSideRotationArrowComponent); - _inherit(Z.EditAndSelectModesComponent, Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin); - _inherit(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps); - _inherit(Z._$$EditAndSelectModesProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps); - _inheritMany(Z._$$EditAndSelectModesProps, [Z._$$EditAndSelectModesProps$PlainMap, Z._$$EditAndSelectModesProps$JsMap]); - _inherit(Z._$EditAndSelectModesComponent, Z.EditAndSelectModesComponent); - _inherit(M.EditModeComponent, M._EditModeComponent_UiComponent2_RedrawCounterMixin); - _inherit(M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, M.__$$EditModeProps_UiProps_EditModeProps); - _inherit(M._$$EditModeProps, M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps); - _inheritMany(M._$$EditModeProps, [M._$$EditModeProps$PlainMap, M._$$EditModeProps$JsMap]); - _inherit(M._$EditModeComponent, M.EditModeComponent); - _inherit(O.HelixGroupMovingComponent, O._HelixGroupMovingComponent_UiComponent2_PureComponent); - _inherit(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps); - _inherit(O._$$HelixGroupMovingProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps); - _inheritMany(O._$$HelixGroupMovingProps, [O._$$HelixGroupMovingProps$PlainMap, O._$$HelixGroupMovingProps$JsMap]); - _inherit(O._$HelixGroupMovingComponent, O.HelixGroupMovingComponent); - _inherit(D.MenuComponent, D._MenuComponent_UiComponent2_RedrawCounterMixin); - _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin); - _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin); - _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin); - _inherit(D._$$MenuProps, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin); - _inheritMany(D._$$MenuProps, [D._$$MenuProps$PlainMap, D._$$MenuProps$JsMap]); - _inherit(D._$MenuComponent, D.MenuComponent); - _inherit(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin); - _inherit(Z._$$MenuBooleanProps, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin); - _inheritMany(Z._$$MenuBooleanProps, [Z._$$MenuBooleanProps$PlainMap, Z._$$MenuBooleanProps$JsMap]); - _inherit(Z._$MenuBooleanComponent, Z.MenuBooleanComponent); - _inherit(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin); - _inherit(N._$$MenuDropdownItemProps, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin); - _inheritMany(N._$$MenuDropdownItemProps, [N._$$MenuDropdownItemProps$PlainMap, N._$$MenuDropdownItemProps$JsMap]); - _inherit(N._$MenuDropdownItemComponent, N.MenuDropdownItemComponent); - _inherit(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps); - _inherit(M._$$MenuDropdownRightProps, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps); - _inheritMany(M._$$MenuDropdownRightProps, [M._$$MenuDropdownRightProps$PlainMap, M._$$MenuDropdownRightProps$JsMap]); - _inherit(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState); - _inherit(M._$$MenuDropdownRightState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState); - _inherit(M._$$MenuDropdownRightState$JsMap, M._$$MenuDropdownRightState); - _inherit(M._$MenuDropdownRightComponent, M.MenuDropdownRightComponent); - _inherit(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps); - _inherit(O._$$MenuFormFileProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps); - _inheritMany(O._$$MenuFormFileProps, [O._$$MenuFormFileProps$PlainMap, O._$$MenuFormFileProps$JsMap]); - _inherit(O._$MenuFormFileComponent, O.MenuFormFileComponent); - _inherit(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin); - _inherit(M._$$MenuNumberProps, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin); - _inheritMany(M._$$MenuNumberProps, [M._$$MenuNumberProps$PlainMap, M._$$MenuNumberProps$JsMap]); - _inherit(M._$MenuNumberComponent, M.MenuNumberComponent); - _inherit(Q.SideMenuComponent, Q._SideMenuComponent_UiComponent2_RedrawCounterMixin); - _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin); - _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin); - _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin); - _inherit(Q._$$SideMenuProps, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin); - _inheritMany(Q._$$SideMenuProps, [Q._$$SideMenuProps$PlainMap, Q._$$SideMenuProps$JsMap]); - _inherit(Q._$SideMenuComponent, Q.SideMenuComponent); - _inherit(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps); - _inherit(M._$$PotentialCrossoverViewProps, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps); - _inheritMany(M._$$PotentialCrossoverViewProps, [M._$$PotentialCrossoverViewProps$PlainMap, M._$$PotentialCrossoverViewProps$JsMap]); - _inherit(M._$PotentialCrossoverViewComponent, M.PotentialCrossoverViewComponent); - _inherit(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps); - _inherit(R._$$PotentialExtensionsViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps); - _inheritMany(R._$$PotentialExtensionsViewProps, [R._$$PotentialExtensionsViewProps$PlainMap, R._$$PotentialExtensionsViewProps$JsMap]); - _inherit(R._$PotentialExtensionsViewComponent, R.PotentialExtensionsViewComponent); - _inherit(D.SelectModeComponent, D._SelectModeComponent_UiComponent2_RedrawCounterMixin); - _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin); - _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin); - _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin); - _inherit(D._$$SelectModeProps, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin); - _inheritMany(D._$$SelectModeProps, [D._$$SelectModeProps$PlainMap, D._$$SelectModeProps$JsMap]); - _inherit(D._$SelectModeComponent, D.SelectModeComponent); - _inherit(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps); - _inherit(Y._$$SelectionBoxViewProps, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps); - _inheritMany(Y._$$SelectionBoxViewProps, [Y._$$SelectionBoxViewProps$PlainMap, Y._$$SelectionBoxViewProps$JsMap]); - _inherit(Y._$SelectionBoxViewComponent, Y.SelectionBoxViewComponent); + _inherit(A.DesignMainLoopoutComponent, A._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent); + _inherit(A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps, A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps); + _inherit(A._$$DesignMainLoopoutProps, A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps); + _inheritMany(A._$$DesignMainLoopoutProps, [A._$$DesignMainLoopoutProps$PlainMap, A._$$DesignMainLoopoutProps$JsMap]); + _inherit(A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState); + _inherit(A._$$DesignMainLoopoutState, A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState); + _inherit(A._$$DesignMainLoopoutState$JsMap, A._$$DesignMainLoopoutState); + _inherit(A._$DesignMainLoopoutComponent, A.DesignMainLoopoutComponent); + _inherit(A.DesignMainStrandLoopoutTextComponent, A._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps, A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps); + _inherit(A._$$DesignMainStrandLoopoutTextProps, A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps); + _inheritMany(A._$$DesignMainStrandLoopoutTextProps, [A._$$DesignMainStrandLoopoutTextProps$PlainMap, A._$$DesignMainStrandLoopoutTextProps$JsMap]); + _inherit(A._$DesignMainStrandLoopoutTextComponent, A.DesignMainStrandLoopoutTextComponent); + _inherit(A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps); + _inherit(A._$$DesignMainStrandModificationProps, A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps); + _inheritMany(A._$$DesignMainStrandModificationProps, [A._$$DesignMainStrandModificationProps$PlainMap, A._$$DesignMainStrandModificationProps$JsMap]); + _inherit(A._$DesignMainStrandModificationComponent, A.DesignMainStrandModificationComponent); + _inherit(A.DesignMainStrandModificationsComponent, A._DesignMainStrandModificationsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps, A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps); + _inherit(A._$$DesignMainStrandModificationsProps, A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps); + _inheritMany(A._$$DesignMainStrandModificationsProps, [A._$$DesignMainStrandModificationsProps$PlainMap, A._$$DesignMainStrandModificationsProps$JsMap]); + _inherit(A._$DesignMainStrandModificationsComponent, A.DesignMainStrandModificationsComponent); + _inherit(A.DesignMainStrandMovingComponent, A._DesignMainStrandMovingComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps, A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps); + _inherit(A._$$DesignMainStrandMovingProps, A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps); + _inheritMany(A._$$DesignMainStrandMovingProps, [A._$$DesignMainStrandMovingProps$PlainMap, A._$$DesignMainStrandMovingProps$JsMap]); + _inherit(A._$DesignMainStrandMovingComponent, A.DesignMainStrandMovingComponent); + _inherit(A.DesignMainStrandPathsComponent, A._DesignMainStrandPathsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps, A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps); + _inherit(A._$$DesignMainStrandPathsProps, A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps); + _inheritMany(A._$$DesignMainStrandPathsProps, [A._$$DesignMainStrandPathsProps$PlainMap, A._$$DesignMainStrandPathsProps$JsMap]); + _inherit(A._$DesignMainStrandPathsComponent, A.DesignMainStrandPathsComponent); + _inherit(A.DesignMainStrandsComponent, A._DesignMainStrandsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps); + _inherit(A._$$DesignMainStrandsProps, A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps); + _inheritMany(A._$$DesignMainStrandsProps, [A._$$DesignMainStrandsProps$PlainMap, A._$$DesignMainStrandsProps$JsMap]); + _inherit(A._$DesignMainStrandsComponent, A.DesignMainStrandsComponent); + _inherit(A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps); + _inherit(A._$$DesignMainStrandsMovingProps, A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps); + _inheritMany(A._$$DesignMainStrandsMovingProps, [A._$$DesignMainStrandsMovingProps$PlainMap, A._$$DesignMainStrandsMovingProps$JsMap]); + _inherit(A._$DesignMainStrandsMovingComponent, A.DesignMainStrandsMovingComponent); + _inherit(A.DesignMainUnpairedInsertionDeletionsComponent, A._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps); + _inherit(A._$$DesignMainUnpairedInsertionDeletionsProps, A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps); + _inheritMany(A._$$DesignMainUnpairedInsertionDeletionsProps, [A._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap, A._$$DesignMainUnpairedInsertionDeletionsProps$JsMap]); + _inherit(A._$DesignMainUnpairedInsertionDeletionsComponent, A.DesignMainUnpairedInsertionDeletionsComponent); + _inherit(A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps); + _inherit(A._$$DesignMainWarningStarProps, A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps); + _inheritMany(A._$$DesignMainWarningStarProps, [A._$$DesignMainWarningStarProps$PlainMap, A._$$DesignMainWarningStarProps$JsMap]); + _inherit(A._$DesignMainWarningStarComponent, A.DesignMainWarningStarComponent); + _inherit(A.DesignSideComponent, A._DesignSideComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, A.__$$DesignSideProps_UiProps_DesignSideProps); + _inherit(A._$$DesignSideProps, A.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps); + _inheritMany(A._$$DesignSideProps, [A._$$DesignSideProps$PlainMap, A._$$DesignSideProps$JsMap]); + _inherit(A._$DesignSideComponent, A.DesignSideComponent); + _inherit(A.DesignSideHelixComponent, A._DesignSideHelixComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps); + _inherit(A._$$DesignSideHelixProps, A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps); + _inheritMany(A._$$DesignSideHelixProps, [A._$$DesignSideHelixProps$PlainMap, A._$$DesignSideHelixProps$JsMap]); + _inherit(A._$DesignSideHelixComponent, A.DesignSideHelixComponent); + _inherit(A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps); + _inherit(A._$$DesignSidePotentialHelixProps, A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps); + _inheritMany(A._$$DesignSidePotentialHelixProps, [A._$$DesignSidePotentialHelixProps$PlainMap, A._$$DesignSidePotentialHelixProps$JsMap]); + _inherit(A._$DesignSidePotentialHelixComponent, A.DesignSidePotentialHelixComponent); + _inherit(A.DesignSideRotationComponent, A._DesignSideRotationComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps); + _inherit(A._$$DesignSideRotationProps, A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps); + _inheritMany(A._$$DesignSideRotationProps, [A._$$DesignSideRotationProps$PlainMap, A._$$DesignSideRotationProps$JsMap]); + _inherit(A._$DesignSideRotationComponent, A.DesignSideRotationComponent); + _inherit(A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps); + _inherit(A._$$DesignSideRotationArrowProps, A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps); + _inheritMany(A._$$DesignSideRotationArrowProps, [A._$$DesignSideRotationArrowProps$PlainMap, A._$$DesignSideRotationArrowProps$JsMap]); + _inherit(A._$DesignSideRotationArrowComponent, A.DesignSideRotationArrowComponent); + _inherit(A.EditAndSelectModesComponent, A._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin); + _inherit(A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps); + _inherit(A._$$EditAndSelectModesProps, A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps); + _inheritMany(A._$$EditAndSelectModesProps, [A._$$EditAndSelectModesProps$PlainMap, A._$$EditAndSelectModesProps$JsMap]); + _inherit(A._$EditAndSelectModesComponent, A.EditAndSelectModesComponent); + _inherit(A.EditModeComponent, A._EditModeComponent_UiComponent2_RedrawCounterMixin); + _inherit(A.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, A.__$$EditModeProps_UiProps_EditModeProps); + _inherit(A._$$EditModeProps, A.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps); + _inheritMany(A._$$EditModeProps, [A._$$EditModeProps$PlainMap, A._$$EditModeProps$JsMap]); + _inherit(A._$EditModeComponent, A.EditModeComponent); + _inherit(A.HelixGroupMovingComponent, A._HelixGroupMovingComponent_UiComponent2_PureComponent); + _inherit(A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps); + _inherit(A._$$HelixGroupMovingProps, A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps); + _inheritMany(A._$$HelixGroupMovingProps, [A._$$HelixGroupMovingProps$PlainMap, A._$$HelixGroupMovingProps$JsMap]); + _inherit(A._$HelixGroupMovingComponent, A.HelixGroupMovingComponent); + _inherit(A.__$$MenuProps_UiProps_MenuProps_$MenuProps, A.__$$MenuProps_UiProps_MenuProps); + _inherit(A._$$MenuProps, A.__$$MenuProps_UiProps_MenuProps_$MenuProps); + _inheritMany(A._$$MenuProps, [A._$$MenuProps$PlainMap, A._$$MenuProps$JsMap]); + _inherit(A._$MenuComponent, A.MenuComponent); + _inherit(A.__$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps, A.__$$MenuBooleanProps_UiProps_MenuBooleanProps); + _inherit(A._$$MenuBooleanProps, A.__$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps); + _inheritMany(A._$$MenuBooleanProps, [A._$$MenuBooleanProps$PlainMap, A._$$MenuBooleanProps$JsMap]); + _inherit(A._$MenuBooleanComponent, A.MenuBooleanComponent); + _inherit(A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps, A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps); + _inherit(A._$$MenuDropdownItemProps, A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps); + _inheritMany(A._$$MenuDropdownItemProps, [A._$$MenuDropdownItemProps$PlainMap, A._$$MenuDropdownItemProps$JsMap]); + _inherit(A._$MenuDropdownItemComponent, A.MenuDropdownItemComponent); + _inherit(A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps); + _inherit(A._$$MenuDropdownRightProps, A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps); + _inheritMany(A._$$MenuDropdownRightProps, [A._$$MenuDropdownRightProps$PlainMap, A._$$MenuDropdownRightProps$JsMap]); + _inherit(A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState); + _inherit(A._$$MenuDropdownRightState, A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState); + _inherit(A._$$MenuDropdownRightState$JsMap, A._$$MenuDropdownRightState); + _inherit(A._$MenuDropdownRightComponent, A.MenuDropdownRightComponent); + _inherit(A.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, A.__$$MenuFormFileProps_UiProps_MenuFormFileProps); + _inherit(A._$$MenuFormFileProps, A.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps); + _inheritMany(A._$$MenuFormFileProps, [A._$$MenuFormFileProps$PlainMap, A._$$MenuFormFileProps$JsMap]); + _inherit(A._$MenuFormFileComponent, A.MenuFormFileComponent); + _inherit(A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin); + _inherit(A._$$MenuNumberProps, A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin); + _inheritMany(A._$$MenuNumberProps, [A._$$MenuNumberProps$PlainMap, A._$$MenuNumberProps$JsMap]); + _inherit(A._$MenuNumberComponent, A.MenuNumberComponent); + _inherit(A.__$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps, A.__$$SideMenuProps_UiProps_SideMenuProps); + _inherit(A._$$SideMenuProps, A.__$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps); + _inheritMany(A._$$SideMenuProps, [A._$$SideMenuProps$PlainMap, A._$$SideMenuProps$JsMap]); + _inherit(A._$SideMenuComponent, A.SideMenuComponent); + _inherit(A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps); + _inherit(A._$$PotentialCrossoverViewProps, A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps); + _inheritMany(A._$$PotentialCrossoverViewProps, [A._$$PotentialCrossoverViewProps$PlainMap, A._$$PotentialCrossoverViewProps$JsMap]); + _inherit(A._$PotentialCrossoverViewComponent, A.PotentialCrossoverViewComponent); + _inherit(A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps); + _inherit(A._$$PotentialExtensionsViewProps, A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps); + _inheritMany(A._$$PotentialExtensionsViewProps, [A._$$PotentialExtensionsViewProps$PlainMap, A._$$PotentialExtensionsViewProps$JsMap]); + _inherit(A._$PotentialExtensionsViewComponent, A.PotentialExtensionsViewComponent); + _inherit(A.SelectModeComponent, A._SelectModeComponent_UiComponent2_RedrawCounterMixin); + _inherit(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, A.__$$SelectModeProps_UiProps_SelectModePropsMixin); + _inherit(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin); + _inherit(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin); + _inherit(A._$$SelectModeProps, A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin); + _inheritMany(A._$$SelectModeProps, [A._$$SelectModeProps$PlainMap, A._$$SelectModeProps$JsMap]); + _inherit(A._$SelectModeComponent, A.SelectModeComponent); + _inherit(A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps); + _inherit(A._$$SelectionBoxViewProps, A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps); + _inheritMany(A._$$SelectionBoxViewProps, [A._$$SelectionBoxViewProps$PlainMap, A._$$SelectionBoxViewProps$JsMap]); + _inherit(A._$SelectionBoxViewComponent, A.SelectionBoxViewComponent); _inherit(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps); _inherit(A._$$SelectionRopeViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps); _inheritMany(A._$$SelectionRopeViewProps, [A._$$SelectionRopeViewProps$PlainMap, A._$$SelectionRopeViewProps$JsMap]); @@ -154331,818 +156194,790 @@ _inherit(A._$$StrandOrSubstrandColorPickerState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState); _inherit(A._$$StrandOrSubstrandColorPickerState$JsMap, A._$$StrandOrSubstrandColorPickerState); _inherit(A._$StrandOrSubstrandColorPickerComponent, A.StrandOrSubstrandColorPickerComponent); - _inherit(Y.FileLocation, D.SourceLocationMixin); - _inheritMany(Y.SourceSpanMixin, [Y._FileSpan, V.SourceSpanBase]); - _inherit(G.SourceSpanFormatException, G.SourceSpanException); - _inherit(X.SourceSpanWithContext, V.SourceSpanBase); - _inheritMany(U.SpreadsheetDecoder, [U.OdsDecoder, U.XlsxDecoder]); - _inherit(E.StringScannerException, G.SourceSpanFormatException); - _inherit(T.XmlDefaultEntityMapping, S.XmlEntityMapping); - _inherit(M.XmlProductionDefinition, V.GrammarDefinition); - _inherit(V.XmlGrammarDefinition, M.XmlProductionDefinition); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase, B._XmlNode_Object_XmlParentBase); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase, B._XmlNode_Object_XmlParentBase_XmlAttributesBase); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor); - _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter); - _inherit(B.XmlNode, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml); - _inheritMany(B.XmlNode, [N._XmlAttribute_XmlNode_XmlHasParent, N._XmlData_XmlNode_XmlHasParent, L._XmlDeclaration_XmlNode_XmlHasParent, S._XmlDocument_XmlNode_XmlHasChildren, G._XmlElement_XmlNode_XmlHasParent]); - _inherit(N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName, N._XmlAttribute_XmlNode_XmlHasParent); - _inherit(N.XmlAttribute, N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName); - _inherit(N.XmlData, N._XmlData_XmlNode_XmlHasParent); - _inheritMany(N.XmlData, [L.XmlCDATA, R.XmlComment, Q.XmlDoctype, R.XmlProcessing, L.XmlText]); - _inherit(L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, L._XmlDeclaration_XmlNode_XmlHasParent); - _inherit(L.XmlDeclaration, L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes); - _inherit(S.XmlDocument, S._XmlDocument_XmlNode_XmlHasChildren); - _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName, G._XmlElement_XmlNode_XmlHasParent); - _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes, G._XmlElement_XmlNode_XmlHasParent_XmlHasName); - _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren, G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes); - _inherit(G.XmlElement, G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren); - _inherit(G.XmlParserDefinition, V.XmlGrammarDefinition); - _inheritMany(T.XmlException, [T.XmlParserException, T.XmlNodeTypeException, T.XmlParentException]); - _inherit(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter, Q._XmlName_Object_XmlHasVisitor); - _inherit(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, Q._XmlName_Object_XmlHasVisitor_XmlHasWriter); - _inherit(Q.XmlName, Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent); - _inherit(B.XmlNodeList, M.DelegatingList); - _inheritMany(Q.XmlName, [B.XmlPrefixName, R.XmlSimpleName]); - _inherit(X.XmlWriter, X._XmlWriter_Object_XmlVisitor); - _mixin(H.UnmodifiableListBase, H.UnmodifiableListMixin); - _mixin(H.__CastListBase__CastIterableBase_ListMixin, P.ListMixin); - _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, P.ListMixin); - _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); - _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, P.ListMixin); - _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); - _mixin(P._SyncStreamController, P._SyncStreamControllerDispatch); - _mixin(P._ListBase_Object_ListMixin, P.ListMixin); - _mixin(P._SetBase_Object_SetMixin, P.SetMixin); - _mixin(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P._UnmodifiableMapMixin); - _mixin(P.__SetBase_Object_SetMixin, P.SetMixin); - _mixin(P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, P._UnmodifiableSetMixin); - _mixin(P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, P._JsonPrettyPrintMixin); - _mixin(W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase, W.CssStyleDeclarationBase); - _mixin(W._DomRectList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._DomRectList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._DomStringList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._DomStringList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._FileList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._FileList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._HtmlCollection_Interceptor_ListMixin, P.ListMixin); - _mixin(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._MidiInputMap_Interceptor_MapMixin, P.MapMixin); - _mixin(W._MidiOutputMap_Interceptor_MapMixin, P.MapMixin); - _mixin(W._MimeTypeArray_Interceptor_ListMixin, P.ListMixin); - _mixin(W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._NodeList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._NodeList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._PluginArray_Interceptor_ListMixin, P.ListMixin); - _mixin(W._PluginArray_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._RtcStatsReport_Interceptor_MapMixin, P.MapMixin); - _mixin(W._SourceBufferList_EventTarget_ListMixin, P.ListMixin); - _mixin(W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._SpeechGrammarList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._Storage_Interceptor_MapMixin, P.MapMixin); - _mixin(W._TextTrackCueList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._TextTrackList_EventTarget_ListMixin, P.ListMixin); - _mixin(W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W._TouchList_Interceptor_ListMixin, P.ListMixin); - _mixin(W._TouchList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W.__CssRuleList_Interceptor_ListMixin, P.ListMixin); - _mixin(W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W.__GamepadList_Interceptor_ListMixin, P.ListMixin); - _mixin(W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W.__NamedNodeMap_Interceptor_ListMixin, P.ListMixin); - _mixin(W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W.__SpeechRecognitionResultList_Interceptor_ListMixin, P.ListMixin); - _mixin(W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(W.__StyleSheetList_Interceptor_ListMixin, P.ListMixin); - _mixin(W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(P._JsArray_JsObject_ListMixin, P.ListMixin); - _mixin(P._LengthList_Interceptor_ListMixin, P.ListMixin); - _mixin(P._LengthList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(P._NumberList_Interceptor_ListMixin, P.ListMixin); - _mixin(P._NumberList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(P._StringList_Interceptor_ListMixin, P.ListMixin); - _mixin(P._StringList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(P._TransformList_Interceptor_ListMixin, P.ListMixin); - _mixin(P._TransformList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableListMixin); - _mixin(P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableListMixin); - _mixin(P._AudioParamMap_Interceptor_MapMixin, P.MapMixin); - _mixin(P._SqlResultSetRowList_Interceptor_ListMixin, P.ListMixin); - _mixin(P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); - _mixin(A._DomProps_UiProps_DomPropsMixin, Q.DomPropsMixin); - _mixin(A._SvgProps_UiProps_DomPropsMixin, Q.DomPropsMixin); - _mixin(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, Q.SvgPropsMixin); - _mixin(Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); - _mixin(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); - _mixin(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); - _mixin(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); - _mixin(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); - _mixin(E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); - _mixin(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); - _mixin(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); - _mixin(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); - _mixin(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); - _mixin(B._UiProps_UiProps_GeneratedClass, B.GeneratedClass); - _mixin(B._UiState_UiState_GeneratedClass, B.GeneratedClass); - _mixin(S._UiProps_MapBase_MapViewMixin, S.MapViewMixin); - _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, S.PropsMapViewMixin); - _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, Q.ReactPropsMixin); - _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, Q.UbiquitousDomPropsMixin); - _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, S.CssClassPropsMixin); - _mixin(S._UiState_Object_MapViewMixin, S.MapViewMixin); - _mixin(S._UiState_Object_MapViewMixin_StateMapViewMixin, S.StateMapViewMixin); - _mixin(Z._UiComponent2_Component2_DisposableManagerProxy, Z.DisposableManagerProxy); - _mixin(Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, B.GeneratedClass); - _mixin(Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, Z.UiStatefulMixin2); + _inherit(A.FileLocation, A.SourceLocationMixin); + _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]); + _inherit(A.SourceSpanFormatException, A.SourceSpanException); + _inherit(A.SourceSpanWithContext, A.SourceSpanBase); + _inheritMany(A.SpreadsheetDecoder, [A.OdsDecoder, A.XlsxDecoder]); + _inherit(A.StringScannerException, A.SourceSpanFormatException); + _inherit(A.XmlDefaultEntityMapping, A.XmlEntityMapping); + _inheritMany(A.XmlException, [A.XmlParentException, A._XmlParserException_XmlException_XmlFormatException, A._XmlTagException_XmlException_XmlFormatException, A.XmlNodeTypeException]); + _inherit(A.XmlParserException, A._XmlParserException_XmlException_XmlFormatException); + _inherit(A.XmlTagException, A._XmlTagException_XmlException_XmlFormatException); + _inherit(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase, A._XmlNode_Object_XmlAttributesBase); + _inherit(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor, A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase); + _inherit(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter, A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor); + _inherit(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase, A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter); + _inherit(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase, A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase); + _inherit(A.XmlNode, A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase); + _inheritMany(A.XmlNode, [A._XmlAttribute_XmlNode_XmlHasName, A._XmlData_XmlNode_XmlHasParent, A._XmlDeclaration_XmlNode_XmlHasParent, A._XmlDoctype_XmlNode_XmlHasParent, A._XmlDocument_XmlNode_XmlHasChildren, A._XmlElement_XmlNode_XmlHasName]); + _inherit(A._XmlAttribute_XmlNode_XmlHasName_XmlHasParent, A._XmlAttribute_XmlNode_XmlHasName); + _inherit(A.XmlAttribute, A._XmlAttribute_XmlNode_XmlHasName_XmlHasParent); + _inherit(A.XmlData, A._XmlData_XmlNode_XmlHasParent); + _inheritMany(A.XmlData, [A.XmlCDATA, A.XmlComment, A.XmlProcessing, A.XmlText]); + _inherit(A._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, A._XmlDeclaration_XmlNode_XmlHasParent); + _inherit(A.XmlDeclaration, A._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes); + _inherit(A.XmlDoctype, A._XmlDoctype_XmlNode_XmlHasParent); + _inherit(A.XmlDocument, A._XmlDocument_XmlNode_XmlHasChildren); + _inherit(A._XmlElement_XmlNode_XmlHasName_XmlHasParent, A._XmlElement_XmlNode_XmlHasName); + _inherit(A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes, A._XmlElement_XmlNode_XmlHasName_XmlHasParent); + _inherit(A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes_XmlHasChildren, A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes); + _inherit(A.XmlElement, A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes_XmlHasChildren); + _inherit(A._XmlName_Object_XmlHasVisitor_XmlHasWriter, A._XmlName_Object_XmlHasVisitor); + _inherit(A._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, A._XmlName_Object_XmlHasVisitor_XmlHasWriter); + _inherit(A.XmlName, A._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent); + _inherit(A.XmlNodeList, A.DelegatingList); + _inheritMany(A.XmlName, [A.XmlPrefixName, A.XmlSimpleName]); + _inherit(A.XmlWriter, A._XmlWriter_Object_XmlVisitor); + _inherit(A._XmlEventEncoderSink, A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor); + _inherit(A._XmlNodeDecoderSink, A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor); + _inherit(A._XmlEvent_Object_XmlHasParent_XmlHasLocation, A._XmlEvent_Object_XmlHasParent); + _inherit(A._XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer, A._XmlEvent_Object_XmlHasParent_XmlHasLocation); + _inherit(A.XmlEvent, A._XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer); + _inheritMany(A.XmlEvent, [A.XmlCDATAEvent, A.XmlCommentEvent, A.XmlDeclarationEvent, A.XmlDoctypeEvent, A._XmlEndElementEvent_XmlEvent_XmlNamed, A.XmlProcessingEvent, A._XmlStartElementEvent_XmlEvent_XmlNamed, A.XmlRawTextEvent]); + _inherit(A.XmlEndElementEvent, A._XmlEndElementEvent_XmlEvent_XmlNamed); + _inherit(A.XmlStartElementEvent, A._XmlStartElementEvent_XmlEvent_XmlNamed); + _inherit(A._XmlEventAttribute_Object_XmlNamed_XmlHasParent, A._XmlEventAttribute_Object_XmlNamed); + _inherit(A.XmlEventAttribute, A._XmlEventAttribute_Object_XmlNamed_XmlHasParent); + _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin); + _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch); + _mixin(A._ListBase_Object_ListMixin, A.ListMixin); + _mixin(A._SetBase_Object_SetMixin, A.SetMixin); + _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin); + _mixin(A.__SetBase_Object_SetMixin, A.SetMixin); + _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin); + _mixin(A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, A._JsonPrettyPrintMixin); + _mixin(A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.CssStyleDeclarationBase); + _mixin(A._DomRectList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._MidiInputMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._MidiOutputMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixinHard(A._JsArray_JsObject_ListMixin, A.ListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin, A._UnmodifiableListMixin); + _mixin(A.__UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, A._UnmodifiableListMixin); + _mixin(A._AudioParamMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._DomProps_UiProps_DomPropsMixin, A.DomPropsMixin); + _mixin(A._SvgProps_UiProps_DomPropsMixin, A.DomPropsMixin); + _mixin(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, A.SvgPropsMixin); + _mixin(A._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A.ErrorBoundaryApi); + _mixin(A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.ErrorBoundaryProps); + _mixin(A.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.$ErrorBoundaryProps); + _mixin(A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, A.ErrorBoundaryState); + _mixin(A.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.$ErrorBoundaryState); + _mixin(A._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A.ErrorBoundaryApi); + _mixin(A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.ErrorBoundaryProps); + _mixin(A.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.$ErrorBoundaryProps); + _mixin(A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, A.ErrorBoundaryState); + _mixin(A.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.$ErrorBoundaryState); + _mixin(A._UiProps_UiProps_GeneratedClass, A.GeneratedClass); + _mixin(A._UiState_UiState_GeneratedClass, A.GeneratedClass); + _mixin(A._UiProps_MapBase_MapViewMixin, A.MapViewMixin); + _mixin(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, A.PropsMapViewMixin); + _mixin(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, A.ReactPropsMixin); + _mixin(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, A.UbiquitousDomPropsMixin); + _mixin(A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, A.CssClassPropsMixin); + _mixin(A._UiState_Object_MapViewMixin, A.MapViewMixin); + _mixin(A._UiState_Object_MapViewMixin_StateMapViewMixin, A.StateMapViewMixin); + _mixinHard(A._UiComponent2_Component2_DisposableManagerProxy, A.DisposableManagerProxy); + _mixin(A._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, A.GeneratedClass); + _mixin(A._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, A.UiStatefulMixin2); + _mixin(A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin, A.ReduxProviderPropsMixin); + _mixin(A.__$$ReduxProviderProps_UiProps_ReduxProviderPropsMixin_$ReduxProviderPropsMixin, A.$ReduxProviderPropsMixin); _mixin(A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin, A.JsBackedMapComponentFactoryMixin); - _mixin(U._AssignDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._AutoPasteInitiate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Autobreak_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._AutofitSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Autostaple_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._BasePairTypeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._BatchAction_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._BatchAction_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ContextMenuHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ContextMenuShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._CopySelectedStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAEndsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAEndsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DeleteAllSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DeletionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DeletionRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DialogHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DialogShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainNameFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DomainsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._EditModeToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._EditModesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ErrorMessageSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExampleDesignsLoad_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportCadnanoFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportCanDoDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportCodenanoFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportSvg_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExtensionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._GeometrySet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._GridChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GridChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._GroupAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._GroupChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GroupChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._GroupDisplayedChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GroupRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixGridPositionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixGroupMoveCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixGroupMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixGroupMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixIdxsChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTicksChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixOffsetChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixPositionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixRollSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixRollSetAtOther_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._HelixSelect_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixSelectionsAdjust_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._HelixSelectionsClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._InsertionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._InsertionLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._InsertionRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._InsertionsLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._InvertYSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._Ligate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Ligate_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._LoadDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); - _mixin(U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoadingDialogHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoadingDialogShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoopoutLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._LoopoutsLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ManualPasteInitiate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ModificationFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ModificationsInternalEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._MouseGridPositionSideClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MousePositionSideClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MousePositionSideUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MouseoverDataClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MouseoverDataUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MoveHelicesToGroup_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._MoveLinker_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._NewDesignSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._Nick_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Nick_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._OxdnaExport_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._OxviewExport_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._OxviewShowSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._PotentialCrossoverCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PotentialCrossoverMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PotentialCrossoverRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); - _mixin(U._Redo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Redo_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); - _mixin(U._RelaxHelixRolls_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._RemoveDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ReplaceStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ResetLocalStorage_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SaveDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ScaffoldSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._Select_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectAllSelectable_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectModeToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectModesAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectModesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectOrToggleItems_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionBoxCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionBoxRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionBoxSizeChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionRopeAddPoint_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionRopeCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionRopeMouseMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionRopeRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionsAdjustMainView_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SelectionsClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetAppUIStateStorable_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetModificationDisplayConnector_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowAxisArrowsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowBasePairLinesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowDNASet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowDomainLabelsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowDomainNamesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowEditMenuToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowModificationsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowMouseoverDataSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowMouseoverRectSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowSliceBarSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowStrandLabelsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowStrandNamesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SkipUndo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SliceBarMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SliceBarMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SliceBarOffsetSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandCreateCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._StrandCreateStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandCreateStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandLabelSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._StrandNameFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandNameSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._StrandsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsReflect_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SubstrandLabelSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._SubstrandNameSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._ThrottledActionFast_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ThrottledActionNonFast_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Undo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._Undo_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); - _mixin(U._UndoRedoClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._VendorFieldsRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); - _mixin(U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._ZoomSpeedSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._Address_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._AddressDifference_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Q._AppUIState_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._AppUIStateStorables_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._ContextMenu_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._ContextMenuItem_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._CopyInfo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(T._Crossover_Object_SelectableMixin, E.SelectableMixin); - _mixin(T._Crossover_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(N._Design_Object_UnusedFields, U.UnusedFields); - _mixin(V._DesignSideRotationData_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(V._DesignSideRotationParams_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._Dialog_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogCheckbox_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogFloat_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogInteger_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogLabel_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogLink_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogRadio_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogText_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._DialogTextArea_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(X._DNAAssignOptions_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._DNAEnd_Object_SelectableMixin, E.SelectableMixin); - _mixin(Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._DNAEndMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._DNAEndsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(K._DNAExtensionMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(K._DNAExtensionsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(G._Domain_Object_SelectableMixin, E.SelectableMixin); - _mixin(G._Domain_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(G._Insertion_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(B._DomainNameMismatch_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(V._DomainsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(K._ExampleDesigns_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(S._Extension_Object_SelectableMixin, E.SelectableMixin); - _mixin(S._Extension_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(N._Geometry_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(N._Geometry_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(D._GridPosition_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(O._HelixGroup_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(O._Helix_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(O._Helix_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(G._HelixGroupMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(G._Loopout_Object_SelectableMixin, E.SelectableMixin); - _mixin(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(Z._Modification3Prime_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(Z._Modification5Prime_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(Z._ModificationInternal_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(K._MouseoverData_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(K._MouseoverParams_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(X._Position3D_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(S._PotentialCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectableDeletion_Object_SelectableMixin, E.SelectableMixin); - _mixin(E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectableInsertion_Object_SelectableMixin, E.SelectableMixin); - _mixin(E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectableModification3Prime_Object_SelectableModification, E.SelectableModification); - _mixin(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, E.SelectableMixin); - _mixin(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectableModification5Prime_Object_SelectableModification, E.SelectableModification); - _mixin(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, E.SelectableMixin); - _mixin(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectableModificationInternal_Object_SelectableModification, E.SelectableModification); - _mixin(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, E.SelectableMixin); - _mixin(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectablesStore_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._SelectionBox_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(F._Line_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(F._SelectionRope_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._Strand_Object_SelectableMixin, E.SelectableMixin); - _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, K.JSONSerializable); - _mixin(U._StrandCreation_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(U._StrandsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(T._UndoRedo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(T._UndoRedoItem_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(T._VendorFields_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); - _mixin(T._VendorFields_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); - _mixin(B.__$$End3PrimeProps_UiProps_End3PrimeProps, B.End3PrimeProps); - _mixin(B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, B.$End3PrimeProps); + _mixin(A._AssignDNA_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._AutoPasteInitiate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Autobreak_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AutofitSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Autostaple_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._BasePairTypeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._BatchAction_Object_UndoableAction, A.UndoableAction); + _mixin(A._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ContextMenuHide_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ContextMenuShow_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._CopySelectedStrands_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMoveCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMoveStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DeleteAllSelected_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DeletionAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DeletionRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DialogHide_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogShow_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainNameFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainsMoveCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainsMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._EditModeToggle_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._EditModesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ErrorMessageSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExampleDesignsLoad_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportCadnanoFile_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportCanDoDNA_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportCodenanoFile_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportDNA_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportSvg_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExtensionAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ExtensionNumBasesChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._GeometrySet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._GridChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GridChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._GroupAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._GroupChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GroupChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._GroupDisplayedChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GroupRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixGridPositionSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGroupMoveCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixGroupMoveCreate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGroupMoveStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGroupMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixIdxsChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickStartChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTicksChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixOffsetChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixOffsetChangeAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixPositionSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixRemoveAllSelected_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixRollSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixRollSetAtOther_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._HelixSelect_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixSelectionsAdjust_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixSelectionsClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InlineInsertionsDeletions_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._InsertionAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._InsertionLengthChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._InsertionRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._InsertionsLengthChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._InvertYSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._JoinStrandsByCrossover_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._Ligate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Ligate_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._LoadDNAFile_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, A.DesignChangingAction); + _mixin(A._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoadingDialogHide_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoadingDialogShow_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoopoutLengthChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._LoopoutsLengthChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ManualPasteInitiate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationEdit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ModificationFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._Modifications3PrimeEdit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._Modifications5PrimeEdit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ModificationsInternalEdit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._MouseGridPositionSideClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MousePositionSideClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MousePositionSideUpdate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MouseoverDataClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MouseoverDataUpdate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MoveHelicesToGroup_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._MoveLinker_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._NewDesignSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._Nick_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Nick_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._OxdnaExport_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._OxviewExport_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._OxviewShowSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._PotentialCrossoverCreate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PotentialCrossoverMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PotentialCrossoverRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, A.DesignChangingAction); + _mixin(A._Redo_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Redo_Object_BuiltJsonSerializable_DesignChangingAction, A.DesignChangingAction); + _mixin(A._RelaxHelixRolls_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._RemoveDNA_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ReplaceStrands_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ResetLocalStorage_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SaveDNAFile_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ScaffoldSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._Select_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectAll_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectAllSelectable_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectAllStrandsWithSameAsSelected_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectModeToggle_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectModesAdd_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectModesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectOrToggleItems_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionBoxCreate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionBoxRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionBoxSizeChange_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionRopeAddPoint_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionRopeCreate_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionRopeMouseMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionRopeRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionsAdjustMainView_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionsClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetAppUIStateStorable_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetModificationDisplayConnector_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowAxisArrowsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowBasePairLinesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowDNASet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowDomainLabelsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowDomainNamesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowEditMenuToggle_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowMismatchesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowModificationsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowMouseoverDataSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowMouseoverRectSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowSliceBarSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowStrandLabelsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowStrandNamesSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SkipUndo_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SliceBarMoveStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SliceBarMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SliceBarOffsetSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandCreateCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._StrandCreateStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandCreateStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandLabelSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._StrandNameFontSizeSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandNameSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMoveCommit_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._StrandsMoveStart_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMoveStop_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsReflect_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SubstrandLabelSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._SubstrandNameSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._ThrottledActionFast_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ThrottledActionNonFast_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Undo_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Undo_Object_BuiltJsonSerializable_DesignChangingAction, A.DesignChangingAction); + _mixin(A._UndoRedoClear_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._VendorFieldsRemove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, A.UndoableAction); + _mixin(A._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ZoomSpeedSet_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Address_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AddressDifference_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AppUIState_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._AppUIStateStorables_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ContextMenu_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ContextMenuItem_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._CopyInfo_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Crossover_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._Crossover_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Design_Object_UnusedFields, A.UnusedFields); + _mixin(A._DesignSideRotationData_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DesignSideRotationParams_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Dialog_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogCheckbox_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogFloat_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogInteger_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogLabel_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogLink_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogRadio_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogText_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DialogTextArea_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAAssignOptions_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEnd_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAEndsMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DNAExtensionsMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Domain_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._Domain_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._Insertion_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainNameMismatch_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._DomainsMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ExampleDesigns_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Extension_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._Extension_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._Geometry_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Geometry_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._GridPosition_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._HelixGroup_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Helix_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Helix_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._HelixGroupMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._LocalStorageDesignChoice_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Loopout_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._Loopout_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._Modification3Prime_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._Modification5Prime_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._ModificationInternal_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._MouseoverData_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._MouseoverParams_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Position3D_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PotentialCrossover_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._PotentialVerticalCrossover_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectableDeletion_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectableInsertion_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectableModification3Prime_Object_SelectableModification, A.SelectableModification); + _mixin(A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, A.SelectableMixin); + _mixin(A._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectableModification5Prime_Object_SelectableModification, A.SelectableModification); + _mixin(A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, A.SelectableMixin); + _mixin(A._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectableModificationInternal_Object_SelectableModification, A.SelectableModification); + _mixin(A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, A.SelectableMixin); + _mixin(A._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectablesStore_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionBox_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Line_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._SelectionRope_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Strand_Object_SelectableMixin, A.SelectableMixin); + _mixin(A._Strand_Object_SelectableMixin_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, A.JSONSerializable); + _mixin(A._StrandCreation_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._StrandsMove_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._UndoRedo_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._UndoRedoItem_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._VendorFields_Object_BuiltJsonSerializable, A.BuiltJsonSerializable); + _mixin(A._VendorFields_Object_BuiltJsonSerializable_UnusedFields, A.UnusedFields); + _mixin(A.__$$End3PrimeProps_UiProps_End3PrimeProps, A.End3PrimeProps); + _mixin(A.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, A.$End3PrimeProps); _mixin(A.__$$End5PrimeProps_UiProps_End5PrimeProps, A.End5PrimeProps); _mixin(A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps, A.$End5PrimeProps); - _mixin(S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, K.PureComponent); - _mixin(S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, K.PureComponent); - _mixin(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, S.DesignContextMenuProps); - _mixin(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, S.$DesignContextMenuProps); - _mixin(S.__$$DesignContextMenuState_UiState_DesignContextMenuState, S.DesignContextMenuState); - _mixin(S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, S.$DesignContextMenuState); - _mixin(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, S.DesignContextSubmenuProps); - _mixin(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, S.$DesignContextSubmenuProps); - _mixin(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, S.DesignContextSubmenuState); - _mixin(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, S.$DesignContextSubmenuState); - _mixin(S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, K.PureComponent); - _mixin(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, S.DesignDialogFormProps); - _mixin(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, S.$DesignDialogFormProps); - _mixin(S.__$$DesignDialogFormState_UiState_DesignDialogFormState, S.DesignDialogFormState); - _mixin(S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, S.$DesignDialogFormState); - _mixin(V.__$$DesignFooterProps_UiProps_DesignFooterProps, V.DesignFooterProps); - _mixin(V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, V.$DesignFooterProps); - _mixin(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, Q.DesignLoadingDialogProps); - _mixin(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, Q.$DesignLoadingDialogProps); - _mixin(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin, V.DesignMainPropsMixin); - _mixin(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin, V.$DesignMainPropsMixin); - _mixin(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps, Q.DesignMainArrowsProps); - _mixin(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps, Q.$DesignMainArrowsProps); - _mixin(Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, Z.DesignMainBasePairLinesProps); - _mixin(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, Z.$DesignMainBasePairLinesProps); - _mixin(V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, V.DesignMainBasePairRectangleProps); - _mixin(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, V.$DesignMainBasePairRectangleProps); - _mixin(O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, O.DesignMainDNAMismatchesProps); - _mixin(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, O.$DesignMainDNAMismatchesProps); - _mixin(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin, U.DesignMainDNASequencePropsMixin); - _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin, U.$DesignMainDNASequencePropsMixin); - _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(M._DesignMainDNASequencesComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, M.DesignMainDNASequencesProps); - _mixin(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, M.$DesignMainDNASequencesProps); - _mixin(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin, T.DesignMainDomainMovingPropsMixin); - _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin, T.$DesignMainDomainMovingPropsMixin); - _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, R.DesignMainDomainNameMismatchesProps); - _mixin(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, R.$DesignMainDomainNameMismatchesProps); - _mixin(Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, Y.DesignMainDomainsMovingProps); - _mixin(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, Y.$DesignMainDomainsMovingProps); - _mixin(X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); - _mixin(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); - _mixin(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); - _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); - _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); - _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, X.DesignMainErrorBoundaryStateMixin); - _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, X.$DesignMainErrorBoundaryStateMixin); - _mixin(V._DesignMainHelicesComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, V.DesignMainHelicesProps); - _mixin(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, V.$DesignMainHelicesProps); - _mixin(T._DesignMainHelixComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, T.DesignMainHelixProps); - _mixin(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, T.$DesignMainHelixProps); - _mixin(K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin, K.DesignMainLoopoutExtensionLengthPropsMixin); - _mixin(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin, K.$DesignMainLoopoutExtensionLengthPropsMixin); - _mixin(Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, Z.DesignMainLoopoutExtensionLengthsProps); - _mixin(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, Z.$DesignMainLoopoutExtensionLengthsProps); - _mixin(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin, K.DesignMainPotentialVerticalCrossoverPropsMixin); - _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin, K.$DesignMainPotentialVerticalCrossoverPropsMixin); - _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, S.DesignMainPotentialVerticalCrossoversProps); - _mixin(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, S.$DesignMainPotentialVerticalCrossoversProps); - _mixin(M._DesignMainSliceBarComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, M.DesignMainSliceBarProps); - _mixin(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, M.$DesignMainSliceBarProps); - _mixin(M._DesignMainStrandComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin, M.DesignMainStrandPropsMixin); - _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin, M.$DesignMainStrandPropsMixin); - _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin, S.DesignMainStrandAndDomainTextsPropsMixin); - _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin, S.$DesignMainStrandAndDomainTextsPropsMixin); - _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin, R.DesignMainStrandCreatingPropsMixin); - _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin, R.$DesignMainStrandCreatingPropsMixin); - _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, K.PureComponent); - _mixin(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin, Q.DesignMainStrandCrossoverPropsMixin); - _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin, Q.$DesignMainStrandCrossoverPropsMixin); - _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, Q.DesignMainStrandCrossoverState); - _mixin(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, Q.$DesignMainStrandCrossoverState); - _mixin(A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps, A.AxisArrowsMainProps); + _mixin(A.__$$AxisArrowsMainProps_UiProps_AxisArrowsMainProps_$AxisArrowsMainProps, A.$AxisArrowsMainProps); + _mixin(A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps, A.AxisArrowsSideProps); + _mixin(A.__$$AxisArrowsSideProps_UiProps_AxisArrowsSideProps_$AxisArrowsSideProps, A.$AxisArrowsSideProps); + _mixin(A._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, A.PureComponent); + _mixin(A._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, A.DesignContextMenuProps); + _mixin(A.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, A.$DesignContextMenuProps); + _mixin(A.__$$DesignContextMenuState_UiState_DesignContextMenuState, A.DesignContextMenuState); + _mixin(A.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, A.$DesignContextMenuState); + _mixin(A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, A.DesignContextSubmenuProps); + _mixin(A.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, A.$DesignContextSubmenuProps); + _mixin(A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, A.DesignContextSubmenuState); + _mixin(A.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, A.$DesignContextSubmenuState); + _mixin(A._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, A.DesignDialogFormProps); + _mixin(A.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, A.$DesignDialogFormProps); + _mixin(A.__$$DesignDialogFormState_UiState_DesignDialogFormState, A.DesignDialogFormState); + _mixin(A.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, A.$DesignDialogFormState); + _mixin(A.__$$DesignFooterProps_UiProps_DesignFooterProps, A.DesignFooterProps); + _mixin(A.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, A.$DesignFooterProps); + _mixin(A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, A.DesignLoadingDialogProps); + _mixin(A.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, A.$DesignLoadingDialogProps); + _mixin(A.__$$DesignMainProps_UiProps_DesignMainProps, A.DesignMainProps); + _mixin(A.__$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps, A.$DesignMainProps); + _mixin(A._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, A.DesignMainBasePairLinesProps); + _mixin(A.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, A.$DesignMainBasePairLinesProps); + _mixin(A._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, A.DesignMainBasePairRectangleProps); + _mixin(A.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, A.$DesignMainBasePairRectangleProps); + _mixin(A._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, A.DesignMainDNAMismatchesProps); + _mixin(A.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, A.$DesignMainDNAMismatchesProps); + _mixin(A._DesignMainDNASequenceComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps, A.DesignMainDNASequenceProps); + _mixin(A.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequenceProps_$DesignMainDNASequenceProps, A.$DesignMainDNASequenceProps); + _mixin(A._DesignMainDNASequencesComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, A.DesignMainDNASequencesProps); + _mixin(A.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, A.$DesignMainDNASequencesProps); + _mixin(A._DesignMainDomainMovingComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps, A.DesignMainDomainMovingProps); + _mixin(A.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingProps_$DesignMainDomainMovingProps, A.$DesignMainDomainMovingProps); + _mixin(A._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, A.DesignMainDomainNameMismatchesProps); + _mixin(A.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, A.$DesignMainDomainNameMismatchesProps); + _mixin(A._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, A.DesignMainDomainsMovingProps); + _mixin(A.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, A.$DesignMainDomainsMovingProps); + _mixin(A._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, A.ErrorBoundaryApi); + _mixin(A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, A.ErrorBoundaryProps); + _mixin(A.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, A.$ErrorBoundaryProps); + _mixin(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, A.ErrorBoundaryState); + _mixin(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, A.$ErrorBoundaryState); + _mixin(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, A.DesignMainErrorBoundaryStateMixin); + _mixin(A.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, A.$DesignMainErrorBoundaryStateMixin); + _mixin(A._DesignMainHelicesComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, A.DesignMainHelicesProps); + _mixin(A.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, A.$DesignMainHelicesProps); + _mixin(A._DesignMainHelixComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, A.DesignMainHelixProps); + _mixin(A.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, A.$DesignMainHelixProps); + _mixin(A._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps, A.DesignMainLoopoutExtensionLengthProps); + _mixin(A.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthProps_$DesignMainLoopoutExtensionLengthProps, A.$DesignMainLoopoutExtensionLengthProps); + _mixin(A._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, A.DesignMainLoopoutExtensionLengthsProps); + _mixin(A.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, A.$DesignMainLoopoutExtensionLengthsProps); + _mixin(A._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps, A.DesignMainPotentialVerticalCrossoverProps); + _mixin(A.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverProps_$DesignMainPotentialVerticalCrossoverProps, A.$DesignMainPotentialVerticalCrossoverProps); + _mixin(A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, A.DesignMainPotentialVerticalCrossoversProps); + _mixin(A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, A.$DesignMainPotentialVerticalCrossoversProps); + _mixin(A._DesignMainSliceBarComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, A.DesignMainSliceBarProps); + _mixin(A.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, A.$DesignMainSliceBarProps); + _mixin(A._DesignMainStrandComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps, A.DesignMainStrandProps); + _mixin(A.__$$DesignMainStrandProps_UiProps_DesignMainStrandProps_$DesignMainStrandProps, A.$DesignMainStrandProps); + _mixin(A._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps, A.DesignMainStrandAndDomainTextsProps); + _mixin(A.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsProps_$DesignMainStrandAndDomainTextsProps, A.$DesignMainStrandAndDomainTextsProps); + _mixin(A._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps, A.DesignMainStrandCreatingProps); + _mixin(A.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingProps_$DesignMainStrandCreatingProps, A.$DesignMainStrandCreatingProps); + _mixin(A._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps, A.DesignMainStrandCrossoverProps); + _mixin(A.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverProps_$DesignMainStrandCrossoverProps, A.$DesignMainStrandCrossoverProps); + _mixin(A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, A.DesignMainStrandCrossoverState); + _mixin(A.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, A.$DesignMainStrandCrossoverState); + _mixin(A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, A.PureComponent); _mixin(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin, A.DesignMainStrandDeletionPropsMixin); _mixin(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin, A.$DesignMainStrandDeletionPropsMixin); - _mixin(S._DesignMainDNAEndComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, S.DesignMainDNAEndPropsMixin); - _mixin(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, S.$DesignMainDNAEndPropsMixin); - _mixin(F.__$$EndMovingProps_UiProps_EndMovingProps, F.EndMovingProps); - _mixin(F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, F.$EndMovingProps); - _mixin(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, T.ExtensionEndMovingProps); - _mixin(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, T.$ExtensionEndMovingProps); - _mixin(T._DesignMainDomainComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin, T.DesignMainDomainPropsMixin); - _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin, T.$DesignMainDomainPropsMixin); - _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin, B.DesignMainStrandDomainTextPropsMixin); - _mixin(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin, B.$DesignMainStrandDomainTextPropsMixin); - _mixin(Q._DesignMainExtensionComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin, Q.DesignMainExtensionPropsMixin); - _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin, Q.$DesignMainExtensionPropsMixin); - _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin, R.DesignMainStrandExtensionTextPropsMixin); - _mixin(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin, R.$DesignMainStrandExtensionTextPropsMixin); - _mixin(A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin, A.DesignMainStrandInsertionPropsMixin); - _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin, A.$DesignMainStrandInsertionPropsMixin); - _mixin(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, K.PureComponent); - _mixin(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin, R.DesignMainLoopoutPropsMixin); - _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin, R.$DesignMainLoopoutPropsMixin); - _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, R.DesignMainLoopoutState); - _mixin(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, R.$DesignMainLoopoutState); - _mixin(S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin, S.DesignMainStrandLoopoutTextPropsMixin); - _mixin(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin, S.$DesignMainStrandLoopoutTextPropsMixin); - _mixin(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, X.DesignMainStrandModificationProps); - _mixin(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, X.$DesignMainStrandModificationProps); - _mixin(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin, R.DesignMainStrandModificationsPropsMixin); - _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin, R.$DesignMainStrandModificationsPropsMixin); - _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin, T.DesignMainStrandMovingPropsMixin); - _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin, T.$DesignMainStrandMovingPropsMixin); - _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); - _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin, B.DesignMainStrandPathsPropsMixin); - _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin, B.$DesignMainStrandPathsPropsMixin); - _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); - _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); - _mixin(E._DesignMainStrandsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, E.DesignMainStrandsProps); - _mixin(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, E.$DesignMainStrandsProps); - _mixin(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, F.DesignMainStrandsMovingProps); - _mixin(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, F.$DesignMainStrandsMovingProps); - _mixin(B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, B.DesignMainUnpairedInsertionDeletionsProps); - _mixin(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, B.$DesignMainUnpairedInsertionDeletionsProps); - _mixin(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, R.DesignMainWarningStarProps); - _mixin(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, R.$DesignMainWarningStarProps); - _mixin(U._DesignSideComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(U.__$$DesignSideProps_UiProps_DesignSideProps, U.DesignSideProps); - _mixin(U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, U.$DesignSideProps); - _mixin(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps, S.DesignSideArrowsProps); - _mixin(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps, S.$DesignSideArrowsProps); - _mixin(B._DesignSideHelixComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, B.DesignSideHelixProps); - _mixin(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, B.$DesignSideHelixProps); - _mixin(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, Y.DesignSidePotentialHelixProps); - _mixin(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, Y.$DesignSidePotentialHelixProps); - _mixin(O._DesignSideRotationComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, O.DesignSideRotationProps); - _mixin(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, O.$DesignSideRotationProps); - _mixin(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, E.DesignSideRotationArrowProps); - _mixin(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, E.$DesignSideRotationArrowProps); - _mixin(Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); - _mixin(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, Z.EditAndSelectModesProps); - _mixin(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, Z.$EditAndSelectModesProps); - _mixin(M._EditModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); - _mixin(M.__$$EditModeProps_UiProps_EditModeProps, M.EditModeProps); - _mixin(M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, M.$EditModeProps); - _mixin(O._HelixGroupMovingComponent_UiComponent2_PureComponent, K.PureComponent); - _mixin(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, O.HelixGroupMovingProps); - _mixin(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, O.$HelixGroupMovingProps); - _mixin(D._MenuComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); - _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin, D.MenuPropsMixin); - _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin, D.$MenuPropsMixin); - _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); - _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); - _mixin(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin, Z.MenuBooleanPropsMixin); - _mixin(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin, Z.$MenuBooleanPropsMixin); - _mixin(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin, N.MenuDropdownItemPropsMixin); - _mixin(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin, N.$MenuDropdownItemPropsMixin); - _mixin(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, M.MenuDropdownRightProps); - _mixin(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, M.$MenuDropdownRightProps); - _mixin(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, M.MenuDropdownRightState); - _mixin(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, M.$MenuDropdownRightState); - _mixin(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps, O.MenuFormFileProps); - _mixin(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, O.$MenuFormFileProps); - _mixin(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, M.MenuNumberPropsMixin); - _mixin(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, M.$MenuNumberPropsMixin); - _mixin(Q._SideMenuComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); - _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin, Q.SideMenuPropsMixin); - _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin, Q.$SideMenuPropsMixin); - _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); - _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); - _mixin(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, M.PotentialCrossoverViewProps); - _mixin(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, M.$PotentialCrossoverViewProps); - _mixin(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, R.PotentialExtensionsViewProps); - _mixin(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, R.$PotentialExtensionsViewProps); - _mixin(D._SelectModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); - _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin, D.SelectModePropsMixin); - _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, D.$SelectModePropsMixin); - _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); - _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); - _mixin(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, Y.SelectionBoxViewProps); - _mixin(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, Y.$SelectionBoxViewProps); + _mixin(A._DesignMainDNAEndComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, A.DesignMainDNAEndPropsMixin); + _mixin(A.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, A.$DesignMainDNAEndPropsMixin); + _mixin(A.__$$EndMovingProps_UiProps_EndMovingProps, A.EndMovingProps); + _mixin(A.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, A.$EndMovingProps); + _mixin(A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, A.ExtensionEndMovingProps); + _mixin(A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, A.$ExtensionEndMovingProps); + _mixin(A._DesignMainDomainComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps, A.DesignMainDomainProps); + _mixin(A.__$$DesignMainDomainProps_UiProps_DesignMainDomainProps_$DesignMainDomainProps, A.$DesignMainDomainProps); + _mixin(A._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps, A.DesignMainStrandDomainTextProps); + _mixin(A.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextProps_$DesignMainStrandDomainTextProps, A.$DesignMainStrandDomainTextProps); + _mixin(A._DesignMainExtensionComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps, A.DesignMainExtensionProps); + _mixin(A.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionProps_$DesignMainExtensionProps, A.$DesignMainExtensionProps); + _mixin(A._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps, A.DesignMainStrandExtensionTextProps); + _mixin(A.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextProps_$DesignMainStrandExtensionTextProps, A.$DesignMainStrandExtensionTextProps); + _mixin(A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps, A.DesignMainStrandInsertionProps); + _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionProps_$DesignMainStrandInsertionProps, A.$DesignMainStrandInsertionProps); + _mixin(A._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps, A.DesignMainLoopoutProps); + _mixin(A.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutProps_$DesignMainLoopoutProps, A.$DesignMainLoopoutProps); + _mixin(A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, A.DesignMainLoopoutState); + _mixin(A.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, A.$DesignMainLoopoutState); + _mixin(A._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps, A.DesignMainStrandLoopoutTextProps); + _mixin(A.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextProps_$DesignMainStrandLoopoutTextProps, A.$DesignMainStrandLoopoutTextProps); + _mixin(A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, A.DesignMainStrandModificationProps); + _mixin(A.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, A.$DesignMainStrandModificationProps); + _mixin(A._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps, A.DesignMainStrandModificationsProps); + _mixin(A.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsProps_$DesignMainStrandModificationsProps, A.$DesignMainStrandModificationsProps); + _mixin(A._DesignMainStrandMovingComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps, A.DesignMainStrandMovingProps); + _mixin(A.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingProps_$DesignMainStrandMovingProps, A.$DesignMainStrandMovingProps); + _mixin(A._DesignMainStrandPathsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps, A.DesignMainStrandPathsProps); + _mixin(A.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsProps_$DesignMainStrandPathsProps, A.$DesignMainStrandPathsProps); + _mixin(A._DesignMainStrandsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, A.DesignMainStrandsProps); + _mixin(A.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, A.$DesignMainStrandsProps); + _mixin(A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, A.DesignMainStrandsMovingProps); + _mixin(A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, A.$DesignMainStrandsMovingProps); + _mixin(A._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, A.DesignMainUnpairedInsertionDeletionsProps); + _mixin(A.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, A.$DesignMainUnpairedInsertionDeletionsProps); + _mixin(A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, A.DesignMainWarningStarProps); + _mixin(A.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, A.$DesignMainWarningStarProps); + _mixin(A._DesignSideComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignSideProps_UiProps_DesignSideProps, A.DesignSideProps); + _mixin(A.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, A.$DesignSideProps); + _mixin(A._DesignSideHelixComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, A.DesignSideHelixProps); + _mixin(A.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, A.$DesignSideHelixProps); + _mixin(A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, A.DesignSidePotentialHelixProps); + _mixin(A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, A.$DesignSidePotentialHelixProps); + _mixin(A._DesignSideRotationComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, A.DesignSideRotationProps); + _mixin(A.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, A.$DesignSideRotationProps); + _mixin(A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, A.DesignSideRotationArrowProps); + _mixin(A.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, A.$DesignSideRotationArrowProps); + _mixinHard(A._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, A.EditAndSelectModesProps); + _mixin(A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, A.$EditAndSelectModesProps); + _mixinHard(A._EditModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(A.__$$EditModeProps_UiProps_EditModeProps, A.EditModeProps); + _mixin(A.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, A.$EditModeProps); + _mixin(A._HelixGroupMovingComponent_UiComponent2_PureComponent, A.PureComponent); + _mixin(A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, A.HelixGroupMovingProps); + _mixin(A.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, A.$HelixGroupMovingProps); + _mixin(A.__$$MenuProps_UiProps_MenuProps, A.MenuProps); + _mixin(A.__$$MenuProps_UiProps_MenuProps_$MenuProps, A.$MenuProps); + _mixin(A.__$$MenuBooleanProps_UiProps_MenuBooleanProps, A.MenuBooleanProps); + _mixin(A.__$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps, A.$MenuBooleanProps); + _mixin(A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps, A.MenuDropdownItemProps); + _mixin(A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps, A.$MenuDropdownItemProps); + _mixin(A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, A.MenuDropdownRightProps); + _mixin(A.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, A.$MenuDropdownRightProps); + _mixin(A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, A.MenuDropdownRightState); + _mixin(A.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, A.$MenuDropdownRightState); + _mixin(A.__$$MenuFormFileProps_UiProps_MenuFormFileProps, A.MenuFormFileProps); + _mixin(A.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, A.$MenuFormFileProps); + _mixin(A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, A.MenuNumberPropsMixin); + _mixin(A.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, A.$MenuNumberPropsMixin); + _mixin(A.__$$SideMenuProps_UiProps_SideMenuProps, A.SideMenuProps); + _mixin(A.__$$SideMenuProps_UiProps_SideMenuProps_$SideMenuProps, A.$SideMenuProps); + _mixin(A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, A.PotentialCrossoverViewProps); + _mixin(A.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, A.$PotentialCrossoverViewProps); + _mixin(A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, A.PotentialExtensionsViewProps); + _mixin(A.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, A.$PotentialExtensionsViewProps); + _mixinHard(A._SelectModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(A.__$$SelectModeProps_UiProps_SelectModePropsMixin, A.SelectModePropsMixin); + _mixin(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, A.$SelectModePropsMixin); + _mixin(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, A.ConnectPropsMixin); + _mixin(A.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, A.$ConnectPropsMixin); + _mixin(A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, A.SelectionBoxViewProps); + _mixin(A.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, A.$SelectionBoxViewProps); _mixin(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps, A.SelectionRopeViewProps); _mixin(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps, A.$SelectionRopeViewProps); _mixin(A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps, A.StrandOrSubstrandColorPickerProps); _mixin(A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps, A.$StrandOrSubstrandColorPickerProps); _mixin(A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState, A.StrandOrSubstrandColorPickerState); _mixin(A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState, A.$StrandOrSubstrandColorPickerState); - _mixin(N._XmlAttribute_XmlNode_XmlHasParent, E.XmlHasParent); - _mixin(N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName, X.XmlHasName); - _mixin(N._XmlData_XmlNode_XmlHasParent, E.XmlHasParent); - _mixin(L._XmlDeclaration_XmlNode_XmlHasParent, E.XmlHasParent); - _mixin(L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, Z.XmlHasAttributes); - _mixin(S._XmlDocument_XmlNode_XmlHasChildren, Y.XmlHasChildren); - _mixin(G._XmlElement_XmlNode_XmlHasParent, E.XmlHasParent); - _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName, X.XmlHasName); - _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes, Z.XmlHasAttributes); - _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren, Y.XmlHasChildren); - _mixin(B._XmlNode_Object_XmlParentBase, E.XmlParentBase); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase, Z.XmlAttributesBase); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase, Y.XmlChildrenBase); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText, V.XmlHasText); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor, E.XmlHasVisitor); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter, L.XmlHasWriter); - _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml, R.XmlHasXml); - _mixin(Q._XmlName_Object_XmlHasVisitor, E.XmlHasVisitor); - _mixin(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter, L.XmlHasWriter); - _mixin(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, E.XmlHasParent); - _mixin(X._XmlWriter_Object_XmlVisitor, B.XmlVisitor); + _mixin(A._XmlParserException_XmlException_XmlFormatException, A.XmlFormatException); + _mixin(A._XmlTagException_XmlException_XmlFormatException, A.XmlFormatException); + _mixin(A._XmlAttribute_XmlNode_XmlHasName, A.XmlHasName); + _mixin(A._XmlAttribute_XmlNode_XmlHasName_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlData_XmlNode_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlDeclaration_XmlNode_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, A.XmlHasAttributes); + _mixin(A._XmlDoctype_XmlNode_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlDocument_XmlNode_XmlHasChildren, A.XmlHasChildren); + _mixin(A._XmlElement_XmlNode_XmlHasName, A.XmlHasName); + _mixin(A._XmlElement_XmlNode_XmlHasName_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes, A.XmlHasAttributes); + _mixin(A._XmlElement_XmlNode_XmlHasName_XmlHasParent_XmlHasAttributes_XmlHasChildren, A.XmlHasChildren); + _mixin(A._XmlNode_Object_XmlAttributesBase, A.XmlAttributesBase); + _mixin(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase, A.XmlChildrenBase); + _mixin(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor, A.XmlHasVisitor); + _mixin(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter, A.XmlHasWriter); + _mixin(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase, A.XmlParentBase); + _mixin(A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase, A.XmlValueBase); + _mixin(A._XmlName_Object_XmlHasVisitor, A.XmlHasVisitor); + _mixin(A._XmlName_Object_XmlHasVisitor_XmlHasWriter, A.XmlHasWriter); + _mixin(A._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, A.XmlHasParent); + _mixin(A._XmlWriter_Object_XmlVisitor, A.XmlVisitor); + _mixin(A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor, A.XmlEventVisitor); + _mixin(A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor, A.XmlEventVisitor); + _mixin(A._XmlEvent_Object_XmlHasParent, A.XmlHasParent0); + _mixin(A._XmlEvent_Object_XmlHasParent_XmlHasLocation, A.XmlHasLocation); + _mixin(A._XmlEvent_Object_XmlHasParent_XmlHasLocation_XmlHasBuffer, A.XmlHasBuffer); + _mixin(A._XmlEndElementEvent_XmlEvent_XmlNamed, A.XmlNamed); + _mixin(A._XmlStartElementEvent_XmlEvent_XmlNamed, A.XmlNamed); + _mixin(A._XmlEventAttribute_Object_XmlNamed, A.XmlNamed); + _mixin(A._XmlEventAttribute_Object_XmlNamed_XmlHasParent, A.XmlHasParent0); })(); var init = { typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, mangledNames: {}, - getTypeFromName: getGlobalFromName, - metadata: [], - types: ["~()", "@()", "StrandBuilder*(StrandBuilder*)", "@(SyntheticMouseEvent*)", "@(Store*,@,@(@)*)", "@(SyntheticFormEvent*)", "Future<~>*()", "DomainBuilder*(DomainBuilder*)", "ReactDomComponentFactoryProxy*()", "HelixBuilder*(HelixBuilder*)", "Null(SyntheticFormEvent*)", "Parser<@>()", "Null()", "bool*(Selectable*)", "@(@)", "bool*(Strand*)", "~(XmlElement)", "Null(SyntheticMouseEvent*)", "Null(SyntheticPointerEvent*)", "ExtensionBuilder*(ExtensionBuilder*)", "DesignBuilder*(DesignBuilder*)", "bool*(Domain*)", "ListBuilder*()", "bool*(int*)", "LoopoutBuilder*(LoopoutBuilder*)", "@(Event*)", "HelixGroupBuilder*(HelixGroupBuilder*)", "String*(String*)", "bool*(NavigatorProvider*)", "bool*(Insertion*)", "@(num*)", "~(String,@)", "Null(@)", "Object?(@)", "Helix*(int*,Helix*)", "StrandsMoveBuilder*(StrandsMoveBuilder*)", "~(@)", "ListBuilder*()", "~(StrandBuilder*)", "AppStateBuilder*(AppStateBuilder*)", "Null(MouseEvent*)", "@(SyntheticPointerEvent*)", "~(Event)", "MapEntry*(int*,Point*)", "MapBuilder*()", "~(@,@)", "SelectablesStoreBuilder*(SelectablesStoreBuilder*)", "InsertionBuilder*(InsertionBuilder*)", "bool*(String*)", "int*(@)", "LocalStorageDesignChoiceBuilder*(LocalStorageDesignChoiceBuilder*)", "AppUIStateBuilder*(AppUIStateBuilder*)", "bool(XmlHasName)", "SelectionRopeBuilder*(SelectionRopeBuilder*)", "Null(KeyboardEvent*)", "Null(Event*)", "int*(HelixBuilder*)", "bool*(@)", "Future<~>*(SyntheticMouseEvent*)", "~(Element)", "bool(Object?,Object?)", "bool(String)", "AppUIStateStorablesBuilder*(AppUIStateStorablesBuilder*)", "int(Object?)", "int*(Domain*,Domain*)", "double*()", "~(Set)", "Point*(Domain*)", "Null(StrandBuilder*)", "bool(@)", "AddressBuilder*(AddressBuilder*)", "ListBuilder*()", "~(TouchEvent)", "bool*(int*,Helix*)", "~(Object?)", "UndoRedoBuilder*(UndoRedoBuilder*)", "SelectModeStateBuilder*(SelectModeStateBuilder*)", "~(MouseEvent)", "Null(ProgressEvent*)", "DomainsMoveBuilder*(DomainsMoveBuilder*)", "String(int)", "int*(DialogRadioBuilder*)", "~(ProgressEvent*)", "Null(MapBuilder*)", "@(DraggableEvent*)", "Object?(Object?)", "bool(XmlElement)", "~(~())", "Helix*(@,Helix*)", "bool*(JsMap*,JsMap*)", "ListBuilder*()", "int*(int*,int*)", "bool(_Highlight)", "ListBuilder*()", "~(String,String)", "~(Object?,Object?)", "MapBuilder*()", "~(Object,StackTrace)", "int*(Helix*)", "String(String)", "String(Match)", "bool*(SelectableModification*)", "StrandCreationBuilder*(StrandCreationBuilder*)", "CopyInfoBuilder*(CopyInfoBuilder*)", "Future<@>()", "MapBuilder*>*()", "bool*(SetBuilder*)", "bool(Object?)", "MapBuilder*()", "Insertion*(Insertion*)", "ListBuilder*()", "Modification*(StrandBuilder*)", "SelectionBoxBuilder*(SelectionBoxBuilder*)", "bool*(SetBuilder*)", "DNAEnd*(Domain*)", "MapBuilder*()", "PotentialCrossoverBuilder*(PotentialCrossoverBuilder*)", "Null(int*,ModificationInternal*)", "ListBuilder*()", "MouseoverDataBuilder*(MouseoverDataBuilder*)", "HelixGroupMoveBuilder*(HelixGroupMoveBuilder*)", "@(FileReader*,String*)", "SetBuilder*()", "SetBuilder*()", "BuiltList*(Strand*)", "BuiltList*(BuiltList*)", "bool*(Substrand*)", "DialogBuilder*(DialogBuilder*)", "MapBuilder*(MapBuilder*)", "String*(Strand*)", "GeometryBuilder*(GeometryBuilder*)", "Position3DBuilder*(Position3DBuilder*)", "SetBuilder*(SetBuilder*)", "SetBuilder*()", "bool*(DNAEnd*)", "int*(int*)", "@(MouseEvent*)", "ListBuilder*(ListBuilder*)", "Null(String*)", "bool*(Tuple2*)", "int*(Insertion*,Insertion*)", "ListBuilder*()", "bool*(DialogCheckboxBuilder*)", "JsMap*()", "bool*()", "CharacterPredicate(List<@>)", "Function*()", "JsMap*(@(@)*,JsMap*)", "JsMap*(@(@)*)", "JsMap*(Object*,JsMap*)", "JsMap*(Object*)", "StrandNameSet*(Strand*)", "SubstrandNameSet*(Domain*)", "StrandLabelSet*(Strand*)", "SubstrandNameSet*(Extension*)", "Future*()", "SubstrandNameSet*(Loopout*)", "ListBuilder*()", "~(List*)", "~(StreamSubscription<@>)", "bool*(SyntheticMouseEvent*)", "~(_EventManager)", "BuiltList*(BuiltList*)", "Null(@,@)", "bool(NodeValidator)", "bool(Node)", "~(XmlNode)", "~(Uint8List,String,int)", "List<@>(@)", "XmlAttribute(XmlAttribute)", "XmlNode(XmlNode)", "int(String?)", "int(@,@)", "int(int)", "bool(Element,String,String,_Html5NodeValidator)", "~(Component2*)", "int(int,int)", "bool*(num*,num*,num*,num*)", "bool*(List*>*,Rectangle*)", "bool*(bool*,DefaultCrossoverTypeForSettingHelixRollsSet*)", "num*(num*,LoadDnaSequenceImageUri*)", "String*(String*,String*,String*)", "String*(Match*)", "ShowMismatchesSetBuilder*(ShowMismatchesSetBuilder*)", "ExportSvgTextSeparatelySetBuilder*(ExportSvgTextSeparatelySetBuilder*)", "ExtensionDisplayLengthAngleSetBuilder*(ExtensionDisplayLengthAngleSetBuilder*)", "ExtensionAddBuilder*(ExtensionAddBuilder*)", "ExtensionNumBasesChangeBuilder*(ExtensionNumBasesChangeBuilder*)", "ExtensionsNumBasesChangeBuilder*(ExtensionsNumBasesChangeBuilder*)", "LoopoutLengthChangeBuilder*(LoopoutLengthChangeBuilder*)", "LoopoutsLengthChangeBuilder*(LoopoutsLengthChangeBuilder*)", "ConvertCrossoverToLoopoutBuilder*(ConvertCrossoverToLoopoutBuilder*)", "ConvertCrossoversToLoopoutsBuilder*(ConvertCrossoversToLoopoutsBuilder*)", "ManualPasteInitiateBuilder*(ManualPasteInitiateBuilder*)", "AutoPasteInitiateBuilder*(AutoPasteInitiateBuilder*)", "AssignDNAComplementFromBoundStrandsBuilder*(AssignDNAComplementFromBoundStrandsBuilder*)", "AssignDomainNameComplementFromBoundStrandsBuilder*(AssignDomainNameComplementFromBoundStrandsBuilder*)", "AssignDomainNameComplementFromBoundDomainsBuilder*(AssignDomainNameComplementFromBoundDomainsBuilder*)", "InsertionAddBuilder*(InsertionAddBuilder*)", "Set<0^>()", "InsertionLengthChangeBuilder*(InsertionLengthChangeBuilder*)", "InsertionsLengthChangeBuilder*(InsertionsLengthChangeBuilder*)", "DeletionAddBuilder*(DeletionAddBuilder*)", "InsertionRemoveBuilder*(InsertionRemoveBuilder*)", "DeletionRemoveBuilder*(DeletionRemoveBuilder*)", "Modifications5PrimeEditBuilder*(Modifications5PrimeEditBuilder*)", "Modifications3PrimeEditBuilder*(Modifications3PrimeEditBuilder*)", "ModificationsInternalEditBuilder*(ModificationsInternalEditBuilder*)", "StrandOrSubstrandColorPickerHideBuilder*(StrandOrSubstrandColorPickerHideBuilder*)", "LoadDnaSequenceImageUriBuilder*(LoadDnaSequenceImageUriBuilder*)", "SetIsZoomAboveThresholdBuilder*(SetIsZoomAboveThresholdBuilder*)", "SetExportSvgActionDelayedForPngCacheBuilder*(SetExportSvgActionDelayedForPngCacheBuilder*)", "ShowSliceBarSetBuilder*(ShowSliceBarSetBuilder*)", "SliceBarOffsetSetBuilder*(SliceBarOffsetSetBuilder*)", "DisablePngCachingDnaSequencesSetBuilder*(DisablePngCachingDnaSequencesSetBuilder*)", "RetainStrandColorOnSelectionSetBuilder*(RetainStrandColorOnSelectionSetBuilder*)", "DisplayReverseDNARightSideUpSetBuilder*(DisplayReverseDNARightSideUpSetBuilder*)", "AutobreakBuilder*(AutobreakBuilder*)", "OxdnaExportBuilder*(OxdnaExportBuilder*)", "OxviewExportBuilder*(OxviewExportBuilder*)", "@(@,@)", "bool(Set)", "Set<0^>()", "Element(Node)", "JsFunction(@)", "JsArray<@>(@)", "int*(DNAEnd*)", "JsObject(@)", "Future()", "Grid*(HelixGroup*)", "int(int,@)", "Null(List*)", "String*(ExportDNAFormat*)", "String*(StrandOrder*)", "String*(RegExpMatch*)", "Element*(int*)", "Node*(TextContentElement*)", "IndentingBuiltValueToStringHelper(String)", "int*(Helix*,Helix*)", "ListBuilder()", "bool*(MapEntry*>*)", "String*(MapEntry*>*)", "ListMultimapBuilder()", "Null(Timer*)", "MapBuilder()", "SetBuilder()", "ExampleDesignsBuilder*(ExampleDesignsBuilder*)", "SetMultimapBuilder()", "int*(Crossover*,Crossover*)", "int*(Loopout*,Loopout*)", "Null(@,StackTrace)", "Set<0^>()", "@(Object?)", "Domain*(Selectable*)", "~(int,@)", "int*(Linker*,Linker*)", "~(Symbol0,@)", "@(Object)", "~(KeyboardEvent)", "DNAEndsMoveBuilder*(DNAEndsMoveBuilder*)", "DNAExtensionsMoveBuilder*(DNAExtensionsMoveBuilder*)", "@(StackTrace)", "Object()", "Future*(Client0*)", "bool*(String*,String*)", "int*(String*)", "HelixGroup*(String*,HelixGroup*)", "StackTrace()", "~(String,int)", "~(String[@])", "Uint8List(@,@)", "MediaType*()", "Null(String*,String*)", "Null(~())", "Logger()", "_$ErrorBoundaryComponent*()", "StrandBuilder*(Strand*)", "_$Strand*(StrandBuilder*)", "ReactElement*(@,@)", "_$RecoverableErrorBoundaryComponent*()", "~(SetBuilder*)", "~(Blob?)", "~(Map<@,@>*)", "int*(DNAEnd*,DNAEnd*)", "List*(ConsumedProps*)", "JsMap*(Map<@,@>*)", "0^*(0^*,int*)", "Box*(Helix*)", "~(Object[StackTrace?])", "~(DomException)", "SetBuilder*(SetBuilder*)", "JsMap*(Object*)*(Object*,JsMap*)", "JsMap*(Object*,JsMap*)*(Object*,JsMap*)", "Null(Object,StackTrace)", "String(HttpRequest)", "int*(Insertion*)", "VendorFieldsBuilder*(StrandBuilder*)", "JsMap*(@(@)*)*(@(@)*,JsMap*)", "JsMap*(@(@)*,JsMap*)*(@(@)*,JsMap*)", "ModificationInternal*(StrandBuilder*)", "~(ProgressEvent)", "MapBuilder*>*()", "Future>()", "ListBuilder*()", "ReduxProviderProps*([Map<@,@>*])", "Object*()", "Function*(Function*)", "ListBuilder*()", "ListBuilder*>*()", "MapBuilder*>*>*()", "String*(@)", "String(String?)", "bool(String?)", "int(RangeCharPredicate,RangeCharPredicate)", "int(int,RangeCharPredicate)", "RangeCharPredicate(String)", "RangeCharPredicate(List<@>)", "ListBuilder*()", "~(BeforeUnloadEvent)", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "ListBuilder*>*()", "ListBuilder*()", "bool*(Browser*)", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "Browser*()", "ListBuilder*()", "MapBuilder*()", "ListBuilder*()", "bool*(OperatingSystem*)", "MapBuilder*()", "OperatingSystem*()", "SetBuilder*()", "_Future<@>(@)", "SetBuilder*()", "SetBuilder*()", "ContextMenuItemBuilder*(ContextMenuItemBuilder*)", "CrossoverBuilder*(CrossoverBuilder*)", "_$Helix*(HelixBuilder*)", "Grid*(HelixGroupBuilder*)", "int*(Tuple2*,Tuple2*)", "Null(Domain*,ListBuilder*)", "Null(Domain*,List*)", "int*(Domain*)", "Geometry*(@)", "MapEntry*(String*,HelixGroupBuilder*)", "String*(Domain*,Domain*,int*)", "int*(Tuple3*,Tuple3*)", "int*(int*,@)", "ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})*()", "@(@,String)", "Domain*(Substrand*)", "int*(Tuple5*)", "MapEntry*(String*,HelixGroupBuilder*)", "DesignSideRotationParamsBuilder*(DesignSideRotationParamsBuilder*)", "DesignSideRotationDataBuilder*(DesignSideRotationDataBuilder*)", "ReactComponent*(ReactElement*,Element*)*()", "DialogIntegerBuilder*(DialogIntegerBuilder*)", "DialogFloatBuilder*(DialogFloatBuilder*)", "DialogTextBuilder*(DialogTextBuilder*)", "DialogTextAreaBuilder*(DialogTextAreaBuilder*)", "DialogCheckboxBuilder*(DialogCheckboxBuilder*)", "DialogRadioBuilder*(DialogRadioBuilder*)", "DialogLinkBuilder*(DialogLinkBuilder*)", "DialogLabelBuilder*(DialogLabelBuilder*)", "DNAAssignOptionsBuilder*(DNAAssignOptionsBuilder*)", "DNAEndBuilder*(DNAEndBuilder*)", "@(Insertion*)", "Insertion*(@)", "@(@)*()", "int*(Strand*,Strand*)", "int*(@,@)", "~(@,StackTrace)", "double*(num*)", "GridPositionBuilder*(GridPositionBuilder*)", "Component2*()", "@(String)", "MapBuilder*(Modification5PrimeBuilder*)", "MapBuilder*(Modification3PrimeBuilder*)", "MapBuilder*(ModificationInternalBuilder*)", "Modification5PrimeBuilder*(Modification5PrimeBuilder*)", "Modification3PrimeBuilder*(Modification3PrimeBuilder*)", "ModificationInternalBuilder*(ModificationInternalBuilder*)", "MouseoverParamsBuilder*(MouseoverParamsBuilder*)", "SkipUndoBuilder*(SkipUndoBuilder*)", "SetBuilder*(SelectModeStateBuilder*)", "UndoBuilder*(UndoBuilder*)", "LineBuilder*(LineBuilder*)", "MapBuilder*(StrandBuilder*)", "UndoRedoItemBuilder*(UndoRedoItemBuilder*)", "VendorFieldsBuilder*(VendorFieldsBuilder*)", "MapBuilder*(VendorFieldsBuilder*)", "bool*(List*)", "ByteBuffer*/*(HttpRequest*)", "Null(List*)", "Future*(Event*)", "double*(double*,double*)", "_$End3PrimeComponent*()", "_$End5PrimeComponent*()", "RedoBuilder*(RedoBuilder*)", "BatchActionBuilder*(BatchActionBuilder*)", "ThrottledActionFastBuilder*(ThrottledActionFastBuilder*)", "ThrottledActionNonFastBuilder*(ThrottledActionNonFastBuilder*)", "DesignContextMenuProps*(AppState*)", "EditModeToggleBuilder*(EditModeToggleBuilder*)", "_$DesignContextMenuComponent*()", "_$DesignContextSubmenuComponent*()", "DesignDialogFormProps*(AppState*)", "SelectModeToggleBuilder*(SelectModeToggleBuilder*)", "MapBuilder*>*(MapBuilder*>*)", "SetAppUIStateStorableBuilder*(SetAppUIStateStorableBuilder*)", "ShowDNASetBuilder*(ShowDNASetBuilder*)", "String*(DialogTextBuilder*)", "String*(DialogTextAreaBuilder*)", "num*(DialogIntegerBuilder*)", "num*(DialogFloatBuilder*)", "ShowDomainNamesSetBuilder*(ShowDomainNamesSetBuilder*)", "_$DesignDialogFormComponent*()", "DesignFooterProps*(AppState*,DesignFooterProps*)", "_$DesignFooterComponent*()", "DesignLoadingDialogProps*(AppState*)", "_$DesignLoadingDialogComponent*()", "DesignMainProps*(AppState*)", "ShowStrandNamesSetBuilder*(ShowStrandNamesSetBuilder*)", "_$DesignMainComponent*()", "DesignMainArrowsProps*(AppState*)", "_$DesignMainArrowsComponent0*()", "_$DesignMainBasePairLinesComponent*()", "_$DesignMainBasePairRectangleComponent*()", "_$DesignMainDNAMismatchesComponent*()", "_$DesignMainDNASequenceComponent*()", "_$DesignMainDNASequencesComponent*()", "_$DesignMainDomainMovingComponent*()", "_$DesignMainDomainNameMismatchesComponent*()", "DesignMainDomainsMovingProps*(AppState*)", "_$DesignMainDomainsMovingComponent*()", "_$DesignMainErrorBoundaryComponent*()", "_$DesignMainHelicesComponent*()", "ShowStrandLabelsSetBuilder*(ShowStrandLabelsSetBuilder*)", "ShowDomainLabelsSetBuilder*(ShowDomainLabelsSetBuilder*)", "ShowModificationsSetBuilder*(ShowModificationsSetBuilder*)", "_$DesignMainHelixComponent*()", "_$DesignMainLoopoutExtensionLengthComponent*()", "_$DesignMainLoopoutExtensionLengthsComponent*()", "_$DesignMainPotentialVerticalCrossoverComponent*()", "_$DesignMainPotentialVerticalCrossoversComponent*()", "_$DesignMainSliceBarComponent*()", "ModificationFontSizeSetBuilder*(ModificationFontSizeSetBuilder*)", "List*(Strand*{address:Address*,substrand:Substrand*,type:ModificationType*})", "MajorTickOffsetFontSizeSetBuilder*(MajorTickOffsetFontSizeSetBuilder*)", "MajorTickWidthFontSizeSetBuilder*(MajorTickWidthFontSizeSetBuilder*)", "SetModificationDisplayConnectorBuilder*(SetModificationDisplayConnectorBuilder*)", "~(Node,Node?)", "ShowDomainNameMismatchesSetBuilder*(ShowDomainNameMismatchesSetBuilder*)", "SubstrandLabelSet*(Domain*)", "ScaffoldSet*(Strand*)", "RemoveDNA*(Strand*)", "_$DesignMainStrandComponent*()", "_$DesignMainStrandAndDomainTextsComponent*()", "_$DesignMainStrandCreatingComponent*()", "_$DesignMainStrandCrossoverComponent*()", "_$DesignMainStrandDeletionComponent*()", "_$DesignMainDNAEndComponent*()", "EndMovingProps*(DNAEndsMove*,EndMovingProps*)", "_$EndMovingComponent*()", "ExtensionEndMovingProps*(DNAExtensionsMove*,ExtensionEndMovingProps*)", "_$ExtensionEndMovingComponent*()", "_$DesignMainDomainComponent*()", "_$DesignMainStrandDomainTextComponent*()", "ShowUnpairedInsertionDeletionsSetBuilder*(ShowUnpairedInsertionDeletionsSetBuilder*)", "SubstrandLabelSet*(Extension*)", "OxviewShowSetBuilder*(OxviewShowSetBuilder*)", "_$DesignMainExtensionComponent*()", "_$DesignMainStrandExtensionTextComponent*()", "_$DesignMainStrandInsertionComponent*()", "SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*)", "SubstrandLabelSet*(Loopout*)", "_$DesignMainLoopoutComponent*()", "_$DesignMainStrandLoopoutTextComponent*()", "DisplayMajorTicksOffsetsSetBuilder*(DisplayMajorTicksOffsetsSetBuilder*)", "_$DesignMainStrandModificationComponent*()", "_$DesignMainStrandModificationsComponent*()", "_$DesignMainStrandMovingComponent*()", "_$DesignMainStrandPathsComponent*()", "DesignMainStrandsProps*(AppState*)", "String*(Helix*)", "_$DesignMainStrandsComponent*()", "DesignMainStrandsMovingProps*(AppState*)", "_$DesignMainStrandsMovingComponent*()", "_$DesignMainUnpairedInsertionDeletionsComponent*()", "_$DesignMainWarningStarComponent*()", "DesignSideProps*(AppState*)", "_$DesignSideComponent*()", "DesignSideArrowsProps*(AppState*)", "_$DesignMainArrowsComponent*()", "_$DesignSideHelixComponent*()", "_$DesignSidePotentialHelixComponent*()", "_$DesignSideRotationComponent*()", "_$DesignSideRotationArrowComponent*()", "EditAndSelectModesProps*(AppState*)", "_$EditAndSelectModesComponent*()", "_$EditModeComponent*()", "HelixGroupMovingProps*(HelixGroupMove*,HelixGroupMovingProps*)", "_$HelixGroupMovingComponent*()", "MenuProps*(AppState*)", "bool*(HelixGroup*)", "SetDisplayMajorTickWidthsAllHelicesBuilder*(SetDisplayMajorTickWidthsAllHelicesBuilder*)", "SetDisplayMajorTickWidthsBuilder*(SetDisplayMajorTickWidthsBuilder*)", "Undo*(int*)", "Redo*(int*)", "SetOnlyDisplaySelectedHelicesBuilder*(SetOnlyDisplaySelectedHelicesBuilder*)", "~(SyntheticMouseEvent*)", "LoadDNAFileBuilder*(LoadDNAFileBuilder*)", "_$MenuComponent*()", "_$MenuBooleanComponent*()", "_$MenuDropdownItemComponent*()", "_$MenuDropdownRightComponent*()", "_$MenuFormFileComponent*()", "_$MenuNumberComponent*()", "SideMenuProps*(AppState*)", "PrepareToLoadDNAFileBuilder*(PrepareToLoadDNAFileBuilder*)", "bool*(DialogItem*)", "_$SideMenuComponent*()", "PotentialCrossoverViewProps*(PotentialCrossover*)", "_$PotentialCrossoverViewComponent*()", "PotentialExtensionsViewProps*(DNAExtensionsMove*)", "ReactElement*(DNAExtensionMove*)", "_$PotentialExtensionsViewComponent*()", "_$SelectModeComponent*()", "SelectionBoxViewProps*(SelectionBox*)", "_$SelectionBoxViewComponent*()", "SelectionRopeViewProps*(SelectionRope*)", "_$SelectionRopeViewComponent*()", "StrandOrSubstrandColorPickerProps*(AppState*)", "~(JSColor*,@)", "StrandOrSubstrandColorSet*(Strand*)", "StrandOrSubstrandColorSet*(Strand*,Substrand*)", "_$StrandOrSubstrandColorPickerComponent*()", "@(ProgressEvent*)", "String?()", "int(_Line)", "NewDesignSetBuilder*(NewDesignSetBuilder*)", "Uri?(_Line)", "Uri?(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(List<_Highlight>)", "SourceSpanWithContext()", "String(String{color:@})", "ShowMouseoverDataSetBuilder*(ShowMouseoverDataSetBuilder*)", "HelixRollSetAtOtherBuilder*(HelixRollSetAtOtherBuilder*)", "ErrorMessageSetBuilder*(ErrorMessageSetBuilder*)", "~(ArchiveFile)", "bool(bool,@)", "bool(int)", "Null(Null)", "SelectionBoxCreateBuilder*(SelectionBoxCreateBuilder*)", "SelectionBoxSizeChangeBuilder*(SelectionBoxSizeChangeBuilder*)", "SelectionBoxRemoveBuilder*(SelectionBoxRemoveBuilder*)", "MouseGridPositionSideUpdateBuilder*(MouseGridPositionSideUpdateBuilder*)", "Parser<@>(@)", "XmlName(String)", "XmlText(String)", "MouseGridPositionSideClearBuilder*(MouseGridPositionSideClearBuilder*)", "SelectBuilder*(SelectBuilder*)", "SelectionsClearBuilder*(SelectionsClearBuilder*)", "SelectAllSelectableBuilder*(SelectAllSelectableBuilder*)", "0^(0^,0^)", "0^(0^,0^)", "_$$ErrorBoundaryProps*([Map<@,@>*])", "_$$RecoverableErrorBoundaryProps*([Map<@,@>*])", "UiComponent2BridgeImpl*(Component2*)", "String*(Object*)", "Component2BridgeImpl*(Component2*)", "int*(Object*)", "ReactComponent*(ReactElement*,Element*)", "Component2*(ReactComponent*,ComponentStatics2*)", "DeleteAllSelectedBuilder*(DeleteAllSelectedBuilder*)", "bool*(Component2*,JsMap*,JsMap*)", "JsMap*(ComponentStatics2*,JsMap*,JsMap*)", "@(Component2*,JsMap*,JsMap*)", "~(Component2*,ReactComponent*,JsMap*,JsMap*[@])", "~(Component2*,@,ReactErrorInfo*)", "JsMap*(ComponentStatics2*,@)", "@(Component2*,JsMap*,JsMap*,@)", "HelixAddBuilder*(HelixAddBuilder*)", "Element*(Element*)", "HelixRemoveBuilder*(HelixRemoveBuilder*)", "HelixSelectBuilder*(HelixSelectBuilder*)", "AppState*(AppState*,@)", "String*(String*,ErrorMessageSet*)", "bool*(bool*,PotentialCrossoverCreate*)", "bool*(bool*,PotentialCrossoverRemove*)", "bool*(bool*,DNAEndsMoveStart*)", "bool*(bool*,DNAEndsMoveStop*)", "bool*(bool*,DNAExtensionsMoveStart*)", "bool*(bool*,DNAExtensionsMoveStop*)", "bool*(bool*,SliceBarMoveStart*)", "bool*(bool*,SliceBarMoveStop*)", "bool*(bool*,HelixGroupMoveStart*)", "bool*(bool*,HelixGroupMoveStop*)", "bool*(bool*,ShowDNASet*)", "bool*(bool*,LoadingDialogShow*)", "bool*(bool*,LoadingDialogHide*)", "bool*(bool*,ShowStrandNamesSet*)", "bool*(bool*,ShowStrandLabelsSet*)", "bool*(bool*,ShowDomainNamesSet*)", "SelectModeState*(SelectModeState*,SelectModesAdd*)", "bool*(bool*,ShowModificationsSet*)", "bool*(bool*,SetModificationDisplayConnector*)", "num*(num*,ModificationFontSizeSet*)", "num*(num*,ZoomSpeedSet*)", "num*(num*,StrandNameFontSizeSet*)", "num*(num*,DomainNameFontSizeSet*)", "num*(num*,StrandLabelFontSizeSet*)", "num*(num*,DomainLabelFontSizeSet*)", "num*(num*,MajorTickOffsetFontSizeSet*)", "num*(num*,MajorTickWidthFontSizeSet*)", "bool*(bool*,ShowMismatchesSet*)", "bool*(bool*,ShowDomainNameMismatchesSet*)", "bool*(bool*,ShowUnpairedInsertionDeletionsSet*)", "bool*(bool*,InvertYSet*)", "bool*(bool*,DynamicHelixUpdateSet*)", "bool*(bool*,WarnOnExitIfUnsavedSet*)", "bool*(bool*,ShowHelixCirclesMainViewSet*)", "bool*(bool*,ShowHelixComponentsMainViewSet*)", "bool*(bool*,ShowEditMenuToggle*)", "bool*(bool*,ShowGridCoordinatesSideViewSet*)", "bool*(bool*,ShowAxisArrowsSet*)", "bool*(bool*,ShowLoopoutExtensionLengthSet*)", "bool*(bool*,ShowSliceBarSet*)", "int*(int*,SliceBarOffsetSet*)", "bool*(bool*,DisablePngCachingDnaSequencesSet*)", "bool*(bool*,RetainStrandColorOnSelectionSet*)", "bool*(bool*,DisplayReverseDNARightSideUpSet*)", "bool*(bool*,DisplayMajorTicksOffsetsSet*)", "bool*(bool*,SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*)", "bool*(bool*,SetDisplayMajorTickWidthsAllHelices*)", "BasePairDisplayType*(BasePairDisplayType*,BasePairTypeSet*)", "bool*(bool*,ShowBasePairLinesSet*)", "bool*(bool*,ShowBasePairLinesWithMismatchesSet*)", "bool*(bool*,ExportSvgTextSeparatelySet*)", "bool*(bool*,OxExportOnlySelectedStrandsSet*)", "bool*(bool*,SetDisplayMajorTickWidths*)", "bool*(bool*,StrandPasteKeepColorSet*)", "bool*(bool*,AutofitSet*)", "bool*(bool*,OxviewShowSet*)", "bool*(bool*,ShowMouseoverDataSet*)", "bool*(bool*,SetOnlyDisplaySelectedHelices*)", "HelixSelectionsClearBuilder*(HelixSelectionsClearBuilder*)", "DNAAssignOptions*(DNAAssignOptions*,AssignDNA*)", "LocalStorageDesignChoice*(LocalStorageDesignChoice*,LocalStorageDesignChoiceSet*)", "bool*(bool*,ClearHelixSelectionWhenLoadingNewDesignSet*)", "bool*(bool*,UndoableAction*)", "bool*(bool*,SaveDNAFile*)", "ExampleDesigns*(ExampleDesigns*,ExampleDesignsLoad*)", "String*(String*,AppState*,GroupRemove*)", "int*(int*,AppState*,ShowSliceBarSet*)", "int*(int*,AppState*,GroupDisplayedChange*)", "int*(int*,AppState*,GroupRemove*)", "int*(int*,AppState*,HelixOffsetChange*)", "int*(int*,AppState*,HelixOffsetChangeAll*)", "String*(String*,GroupDisplayedChange*)", "String*(String*,GroupChange*)", "Modification5Prime*(Modification5Prime*,ModificationAdd*)", "Modification3Prime*(Modification3Prime*,ModificationAdd*)", "ModificationInternal*(ModificationInternal*,ModificationAdd*)", "String*(String*,LoadDnaSequenceImageUri*)", "HelixSelectionsAdjustBuilder*(HelixSelectionsAdjustBuilder*)", "ExportSvg*(ExportSvg*,SetExportSvgActionDelayedForPngCache*)", "bool*(bool*,SetIsZoomAboveThreshold*)", "GridPosition*(GridPosition*,MouseGridPositionSideUpdate*)", "GridPosition*(GridPosition*,MouseGridPositionSideClear*)", "Point*(Point*,MousePositionSideUpdate*)", "Point*(Point*,MousePositionSideClear*)", "Strand*(Strand*,StrandOrSubstrandColorPickerShow*)", "Strand*(Strand*,StrandOrSubstrandColorPickerHide*)", "Substrand*(Substrand*,StrandOrSubstrandColorPickerShow*)", "Substrand*(Substrand*,StrandOrSubstrandColorPickerHide*)", "bool*(bool*,SelectionBoxIntersectionRuleSet*)", "BuiltList*(BuiltList*,AppState*,AssignDomainNameComplementFromBoundStrands*)", "BuiltList*(BuiltList*,AppState*,AssignDomainNameComplementFromBoundDomains*)", "Strand*(Strand*,ConvertCrossoverToLoopout*)", "BuiltList*(BuiltList*,AppState*,ConvertCrossoversToLoopouts*)", "BuiltList*(BuiltList*,AppState*,LoopoutsLengthChange*)", "BuiltList*(BuiltList*,AppState*,ExtensionsNumBasesChange*)", "Strand*(Strand*,LoopoutLengthChange*)", "Strand*(Strand*,ExtensionNumBasesChange*)", "Strand*(Strand*,ExtensionDisplayLengthAngleSet*)", "BuiltList*(BuiltList*,AppState*,DeleteAllSelected*)", "Design*(Design*,ErrorMessageSet*)", "Design*(Design*,AppState*,GeometrySet*)", "Design*(Design*,NewDesignSet*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveSetSelectedEnds*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveAdjustOffset*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveStop*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveSetSelectedExtensionEnds*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveAdjustPosition*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveStop*)", "DomainsMove*(DomainsMove*,AppState*,DomainsMoveStartSelectedDomains*)", "DomainsMove*(DomainsMove*,DomainsMoveStop*)", "DomainsMove*(DomainsMove*,AppState*,DomainsMoveAdjustAddress*)", "BuiltSet*(BuiltSet*,EditModeToggle*)", "BuiltSet*(BuiltSet*,EditModesSet*)", "BuiltMap*(BuiltMap*,GridChange*)", "BuiltMap*(BuiltMap*,GroupAdd*)", "BuiltMap*(BuiltMap*,GroupRemove*)", "BuiltMap*(BuiltMap*,GroupChange*)", "BuiltMap*(BuiltMap*,AppState*,MoveHelicesToGroup*)", "BuiltMap*(BuiltMap*,AppState*,HelixIndividualAction*)", "Design*(Design*,AppState*,HelixIdxsChange*)", "Helix*(Helix*,AppState*,HelixOffsetChange*)", "BuiltMap*(BuiltMap*,AppState*,StrandsMoveAdjustAddress*)", "BuiltMap*(BuiltMap*,AppState*,StrandCreateAdjustOffset*)", "BuiltMap*(BuiltMap*,AppState*,ReplaceStrands*)", "BuiltMap*(BuiltMap*,AppState*,SelectionsClear*)", "BuiltMap*(BuiltMap*,AppState*,HelixOffsetChangeAll*)", "Helix*(Helix*,AppState*,HelixMinOffsetSetByDomains*)", "Helix*(Helix*,AppState*,HelixMaxOffsetSetByDomains*)", "BuiltMap*(BuiltMap*,AppState*,HelixMinOffsetSetByDomainsAll*)", "BuiltMap*(BuiltMap*,AppState*,HelixMaxOffsetSetByDomainsAll*)", "BuiltMap*(BuiltMap*,AppState*,HelixMaxOffsetSetByDomainsAllSameMax*)", "BuiltMap*(BuiltMap*,HelixMajorTickDistanceChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTicksChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTickStartChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTickPeriodicDistancesChangeAll*)", "Helix*(Helix*,AppState*,HelixMajorTickDistanceChange*)", "Helix*(Helix*,AppState*,HelixMajorTickPeriodicDistancesChange*)", "Helix*(Helix*,AppState*,HelixMajorTickStartChange*)", "Helix*(Helix*,AppState*,HelixMajorTicksChange*)", "Helix*(Helix*,AppState*,HelixRollSet*)", "BuiltMap*(BuiltMap*,AppState*,HelixRollSetAtOther*)", "Design*(Design*,AppState*,HelixAdd*)", "Design*(Design*,AppState*,HelixRemove*)", "Design*(Design*,AppState*,HelixRemoveAllSelected*)", "BuiltMap*(BuiltMap*,AppState*,GridChange*)", "BuiltMap*(BuiltMap*,AppState*,RelaxHelixRolls*)", "BuiltMap*(BuiltMap*,AppState*,GroupChange*)", "BuiltMap*(BuiltMap*,AppState*,HelixGridPositionSet*)", "BuiltMap*(BuiltMap*,AppState*,HelixPositionSet*)", "BuiltMap*(BuiltMap*,MoveHelicesToGroup*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveCreate*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveAdjustTranslation*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveStop*)", "Design*(Design*,AppState*,HelixGroupMoveCommit*)", "Design*(Design*,InlineInsertionsDeletions*)", "Strand*(Strand*,InsertionOrDeletionAction*)", "Domain*(Domain*,InsertionAdd*)", "Domain*(Domain*,InsertionRemove*)", "Domain*(Domain*,DeletionAdd*)", "Domain*(Domain*,DeletionRemove*)", "Domain*(Domain*,InsertionLengthChange*)", "BuiltList*(BuiltList*,AppState*,InsertionsLengthChange*)", "BuiltList*(@,MouseoverDataClear*)", "BuiltList*(@,AppState*,MouseoverDataUpdate*)", "BuiltList*(BuiltList*,AppState*,HelixRollSetAtOther*)", "BuiltList*(BuiltList*,AppState*,MoveLinker*)", "BuiltList*(BuiltList*,AppState*,Nick*)", "BuiltList*(BuiltList*,AppState*,Ligate*)", "BuiltList*(BuiltList*,AppState*,JoinStrandsByMultipleCrossovers*)", "BuiltList*(BuiltList*,AppState*,JoinStrandsByCrossover*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverCreate*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverMove*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverRemove*)", "SelectablesStore*(SelectablesStore*,AppState*,Select*)", "SelectablesStore*(SelectablesStore*,AppState*,SelectAllSelectable*)", "SelectablesStore*(SelectablesStore*,AppState*,SelectOrToggleItems*)", "SelectablesStore*(SelectablesStore*,DesignChangingAction*)", "SelectablesStore*(SelectablesStore*,SelectAll*)", "SelectablesStore*(SelectablesStore*,@)", "SelectablesStore*(SelectablesStore*,AppState*,SelectAllWithSameAsSelected*)", "BuiltSet*(BuiltSet*,AppState*,HelixSelectionsAdjust*)", "BuiltSet*(BuiltSet*,HelixSelect*)", "BuiltSet*(BuiltSet*,HelixSelectionsClear*)", "BuiltSet*(BuiltSet*,HelixRemoveAllSelected*)", "BuiltSet*(BuiltSet*,HelixRemove*)", "SelectionBox*(SelectionBox*,SelectionBoxCreate*)", "SelectionBox*(SelectionBox*,SelectionBoxSizeChange*)", "SelectionBox*(SelectionBox*,SelectionBoxRemove*)", "SelectionRope*(SelectionRope*,SelectionRopeCreate*)", "SelectionRope*(SelectionRope*,SelectionRopeMouseMove*)", "SelectionRope*(SelectionRope*,SelectionRopeAddPoint*)", "SelectionRope*(SelectionRope*,SelectionRopeRemove*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateStart*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateAdjustOffset*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateStop*)", "CopyInfo*(CopyInfo*,AppState*,CopySelectedStrands*)", "CopyInfo*(CopyInfo*,AppState*,ManualPasteInitiate*)", "CopyInfo*(CopyInfo*,AppState*,AutoPasteInitiate*)", "CopyInfo*(CopyInfo*,AppState*,StrandsMoveCommit*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveStart*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveStartSelectedStrands*)", "StrandsMove*(StrandsMove*,StrandsMoveStop*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveAdjustAddress*)", "int*(Point*,Point*)", "BuiltList*(BuiltList*,ReplaceStrands*)", "BuiltList*(BuiltList*,AppState*,StrandPartAction*)", "Strand*(Strand*,SubstrandNameSet*)", "Strand*(Strand*,SubstrandLabelSet*)", "BuiltList*(BuiltList*,AppState*,StrandsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DomainsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DNAEndsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DNAExtensionsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,StrandCreateCommit*)", "BuiltList*(BuiltList*,SingleStrandAction*)", "Strand*(Strand*,VendorFieldsRemove*)", "Strand*(Strand*,PlateWellVendorFieldsRemove*)", "Strand*(Strand*,PlateWellVendorFieldsAssign*)", "Strand*(Strand*,ScalePurificationVendorFieldsAssign*)", "Strand*(Strand*,StrandNameSet*)", "Strand*(Strand*,StrandLabelSet*)", "Strand*(Strand*,ExtensionAdd*)", "Strand*(Strand*,ModificationAdd*)", "Strand*(Strand*,ModificationRemove*)", "Strand*(Strand*,ModificationEdit*)", "Strand*(Strand*,ScaffoldSet*)", "Strand*(Strand*,StrandOrSubstrandColorSet*)", "BuiltList*(BuiltList*,AppState*,Modifications5PrimeEdit*)", "BuiltList*(BuiltList*,AppState*,Modifications3PrimeEdit*)", "BuiltList*(BuiltList*,AppState*,ModificationsInternalEdit*)", "AppState*(AppState*,Undo*)", "AppState*(AppState*,Redo*)", "AppState*(AppState*,UndoRedoClear*)", "AppState*(AppState*,UndoableAction*)", "Grid*(String*)", "HelixIdxsChangeBuilder*(HelixIdxsChangeBuilder*)", "~(bool*)", "_$$End3PrimeProps*([Map<@,@>*])", "_$$End5PrimeProps*([Map<@,@>*])", "_$$DesignContextMenuProps*([Map<@,@>*])", "_$$DesignContextSubmenuProps*([Map<@,@>*])", "_$$DesignDialogFormProps*([Map<@,@>*])", "_$$DesignFooterProps*([Map<@,@>*])", "_$$DesignLoadingDialogProps*([Map<@,@>*])", "_$$DesignMainProps*([Map<@,@>*])", "_$$DesignMainArrowsProps*([Map<@,@>*])", "_$$DesignMainBasePairLinesProps*([Map<@,@>*])", "_$$DesignMainBasePairRectangleProps*([Map<@,@>*])", "_$$DesignMainDNAMismatchesProps*([Map<@,@>*])", "_$$DesignMainDNASequenceProps*([Map<@,@>*])", "_$$DesignMainDNASequencesProps*([Map<@,@>*])", "_$$DesignMainDomainMovingProps*([Map<@,@>*])", "_$$DesignMainDomainNameMismatchesProps*([Map<@,@>*])", "_$$DesignMainDomainsMovingProps*([Map<@,@>*])", "_$$DesignMainErrorBoundaryProps*([Map<@,@>*])", "_$$DesignMainHelicesProps*([Map<@,@>*])", "_$$DesignMainHelixProps*([Map<@,@>*])", "_$$DesignMainLoopoutExtensionLengthProps*([Map<@,@>*])", "_$$DesignMainLoopoutExtensionLengthsProps*([Map<@,@>*])", "_$$DesignMainPotentialVerticalCrossoverProps*([Map<@,@>*])", "_$$DesignMainPotentialVerticalCrossoversProps*([Map<@,@>*])", "_$$DesignMainSliceBarProps*([Map<@,@>*])", "_$$DesignMainStrandProps*([Map<@,@>*])", "_$$DesignMainStrandAndDomainTextsProps*([Map<@,@>*])", "_$$DesignMainStrandCreatingProps*([Map<@,@>*])", "_$$DesignMainStrandCrossoverProps*([Map<@,@>*])", "_$$DesignMainStrandDeletionProps*([Map<@,@>*])", "_$$DesignMainDNAEndProps*([Map<@,@>*])", "_$$EndMovingProps*([Map<@,@>*])", "_$$ExtensionEndMovingProps*([Map<@,@>*])", "_$$DesignMainDomainProps*([Map<@,@>*])", "_$$DesignMainStrandDomainTextProps*([Map<@,@>*])", "_$$DesignMainExtensionProps*([Map<@,@>*])", "_$$DesignMainStrandExtensionTextProps*([Map<@,@>*])", "_$$DesignMainStrandInsertionProps*([Map<@,@>*])", "_$$DesignMainLoopoutProps*([Map<@,@>*])", "_$$DesignMainStrandLoopoutTextProps*([Map<@,@>*])", "_$$DesignMainStrandModificationProps*([Map<@,@>*])", "_$$DesignMainStrandModificationsProps*([Map<@,@>*])", "_$$DesignMainStrandMovingProps*([Map<@,@>*])", "_$$DesignMainStrandPathsProps*([Map<@,@>*])", "_$$DesignMainStrandsProps*([Map<@,@>*])", "_$$DesignMainStrandsMovingProps*([Map<@,@>*])", "_$$DesignMainUnpairedInsertionDeletionsProps*([Map<@,@>*])", "_$$DesignMainWarningStarProps*([Map<@,@>*])", "_$$DesignSideProps*([Map<@,@>*])", "_$$DesignSideArrowsProps*([Map<@,@>*])", "_$$DesignSideHelixProps*([Map<@,@>*])", "_$$DesignSidePotentialHelixProps*([Map<@,@>*])", "_$$DesignSideRotationProps*([Map<@,@>*])", "_$$DesignSideRotationArrowProps*([Map<@,@>*])", "_$$EditAndSelectModesProps*([Map<@,@>*])", "_$$EditModeProps*([Map<@,@>*])", "_$$HelixGroupMovingProps*([Map<@,@>*])", "ExportDNABuilder*(ExportDNABuilder*)", "_$$MenuProps*([Map<@,@>*])", "_$$MenuBooleanProps*([Map<@,@>*])", "_$$MenuDropdownItemProps*([Map<@,@>*])", "_$$MenuDropdownRightProps*([Map<@,@>*])", "_$$MenuFormFileProps*([Map<@,@>*])", "_$$MenuNumberProps*([Map<@,@>*])", "_$$SideMenuProps*([Map<@,@>*])", "_$$PotentialCrossoverViewProps*([Map<@,@>*])", "_$$PotentialExtensionsViewProps*([Map<@,@>*])", "_$$SelectModeProps*([Map<@,@>*])", "_$$SelectionBoxViewProps*([Map<@,@>*])", "_$$SelectionRopeViewProps*([Map<@,@>*])", "_$$StrandOrSubstrandColorPickerProps*([Map<@,@>*])", "ExportCanDoDNABuilder*(ExportCanDoDNABuilder*)", "bool*(Map<@,@>*,Map<@,@>*)", "Failure<0^>(Failure<0^>,Failure<0^>)", "ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})", "@(Store<@>*,@,@(@)*)", "BuiltList*(BuiltList*,RemoveDNA*)", "BuiltList*(BuiltList*,AppState*,AssignDNAComplementFromBoundStrands*)", "BuiltList*(BuiltList*,AppState*,AssignDNA*)", "int*(Tuple2*,Domain*>*,Tuple2*,Domain*>*)", "ContextMenu*(ContextMenu*,ContextMenuShow*)", "ContextMenu*(ContextMenu*,ContextMenuHide*)", "Dialog*(Dialog*,DialogShow*)", "Dialog*(Dialog*,DialogHide*)", "SelectModeState*(SelectModeState*,SelectModeToggle*)", "SelectModeState*(SelectModeState*,SelectModesSet*)", "bool*(bool*,ShowDomainLabelsSet*)"], + types: ["~()", "StrandBuilder(StrandBuilder)", "@(SyntheticMouseEvent)", "@(Store,@,@(@))", "@(SyntheticFormEvent)", "Future<~>()", "DomainBuilder(DomainBuilder)", "HelixBuilder(HelixBuilder)", "Null(SyntheticFormEvent)", "@()", "Null()", "bool(Selectable)", "@(@)", "bool(Strand)", "~(XmlElement)", "Null(SyntheticMouseEvent)", "ExtensionBuilder(ExtensionBuilder)", "Null(SyntheticPointerEvent)", "bool(NavigatorProvider)", "~(Event)", "~(MouseEvent)", "bool(int)", "bool(Domain)", "ListBuilder()", "DesignBuilder(DesignBuilder)", "@(Event)", "bool(String)", "String(String)", "LoopoutBuilder(LoopoutBuilder)", "~(StrandBuilder)", "~(@)", "bool(Insertion)", "ListBuilder()", "HelixGroupBuilder(HelixGroupBuilder)", "~(String,@)", "@(num)", "bool(@)", "AppStateBuilder(AppStateBuilder)", "Helix(int,Helix)", "@(SyntheticPointerEvent)", "Object?(@)", "StrandsMoveBuilder(StrandsMoveBuilder)", "~(@,@)", "MapBuilder()", "~(Element)", "int(@)", "Parser()", "Null(@)", "~(KeyboardEvent)", "SelectablesStoreBuilder(SelectablesStoreBuilder)", "AppUIStateStorablesBuilder(AppUIStateStorablesBuilder)", "~(ProgressEvent)", "InsertionBuilder(InsertionBuilder)", "bool(Object?,Object?)", "int(Object?)", "MapEntry(int,Point)", "Parser>()", "bool(XmlHasName)", "LocalStorageDesignChoiceBuilder(LocalStorageDesignChoiceBuilder)", "Parser<@>()", "Future<~>(SyntheticMouseEvent)", "String(Match)", "int(HelixBuilder)", "int(int,int)", "SelectionRopeBuilder(SelectionRopeBuilder)", "AddressBuilder(AddressBuilder)", "bool(Object?)", "double()", "AppUIStateBuilder(AppUIStateBuilder)", "SelectModeStateBuilder(SelectModeStateBuilder)", "ListBuilder()", "int(int)", "Null(StrandBuilder)", "int(Domain,Domain)", "~(Object?)", "Point(Domain)", "~(String,String)", "~(TouchEvent)", "bool(int,Helix)", "bool(XmlElement)", "Null(MapBuilder)", "int(@,@)", "bool(SetBuilder)", "int(DialogRadioBuilder)", "~(Object,StackTrace)", "~(DraggableEvent)", "Object?(Object?)", "bool(JsMap,JsMap)", "int(Helix)", "~(Object?,Object?)", "Parser()", "Set<0^>()", "ListBuilder()", "bool(_Highlight)", "Failure<0^>(Failure<0^>,Failure<0^>)", "UndoRedoBuilder(UndoRedoBuilder)", "String(String,String,String)", "~(~())", "MapBuilder()", "Future<@>()", "MapBuilder>()", "Helix(@,Helix)", "bool(SelectableModification)", "bool(DialogCheckboxBuilder)", "MapBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ModificationInternal(StrandBuilder)", "CopyInfoBuilder(CopyInfoBuilder)", "SetBuilder()", "@(FileReader,String)", "bool(Substrand)", "StrandCreationBuilder(StrandCreationBuilder)", "String(Strand)", "bool(SetBuilder)", "DNAEnd(Domain)", "bool(DNAEnd)", "AxisArrowsProps(AppState)", "~(int,ModificationInternal)", "Null(String)", "MapBuilder(MapBuilder)", "SetBuilder(SetBuilder)", "Insertion(Insertion)", "SetBuilder()", "DomainsMoveBuilder(DomainsMoveBuilder)", "ListBuilder(ListBuilder)", "MapEntry(int,Point)", "bool(Tuple2)", "int(Insertion,Insertion)", "~(HelixAddBuilder)", "JsMap?()", "Function?()", "JsMap(@(@),JsMap)", "StrandNameSet(Strand)", "SubstrandNameSet(Domain)", "StrandLabelSet(Strand)", "SubstrandNameSet(Extension)", "Future()", "SubstrandNameSet(Loopout)", "SetBuilder()", "JsMap(@(@))", "JsMap(Object?,JsMap)", "bool(SyntheticMouseEvent)", "BuiltList(BuiltList)", "JsMap(Object?)", "ListBuilder()", "~(List)", "Null(ProgressEvent)", "String(int)", "XmlAttribute(XmlAttribute)", "XmlNode(XmlNode)", "~(StreamSubscription<@>)", "~(_EventManager)", "Null(@,@)", "bool(NodeValidator)", "bool(Node)", "Sequence2(String,String,String)", "~(Uint8List,String,int)", "int(String?)", "bool(Element,String,String,_Html5NodeValidator)", "0^(0^,0^)", "~(Component2)", "@(String)", "bool(num,num,num,num)", "bool(List>,Rectangle)", "bool(bool,DefaultCrossoverTypeForSettingHelixRollsSet)", "double(double,LoadDnaSequenceImageUri)", "int()", "ListBuilder()", "~(HelixSelectionsAdjustBuilder)", "~(HelixIdxsChangeBuilder)", "~(ExportDNABuilder)", "~(ExportCanDoDNABuilder)", "~(ExportSvgTextSeparatelySetBuilder)", "~(ExtensionDisplayLengthAngleSetBuilder)", "~(ExtensionAddBuilder)", "~(ExtensionNumBasesChangeBuilder)", "~(ExtensionsNumBasesChangeBuilder)", "~(LoopoutLengthChangeBuilder)", "~(LoopoutsLengthChangeBuilder)", "~(ConvertCrossoverToLoopoutBuilder)", "~(ConvertCrossoversToLoopoutsBuilder)", "~(ManualPasteInitiateBuilder)", "~(AutoPasteInitiateBuilder)", "~(AssignDNAComplementFromBoundStrandsBuilder)", "~(AssignDomainNameComplementFromBoundStrandsBuilder)", "~(AssignDomainNameComplementFromBoundDomainsBuilder)", "InsertionAddBuilder(InsertionAddBuilder)", "JsArray<@>(@)", "~(InsertionLengthChangeBuilder)", "~(InsertionsLengthChangeBuilder)", "DeletionAddBuilder(DeletionAddBuilder)", "~(InsertionRemoveBuilder)", "~(DeletionRemoveBuilder)", "~(Modifications5PrimeEditBuilder)", "~(Modifications3PrimeEditBuilder)", "~(ModificationsInternalEditBuilder)", "~(StrandOrSubstrandColorPickerHideBuilder)", "~(LoadDnaSequenceImageUriBuilder)", "~(SetIsZoomAboveThresholdBuilder)", "~(SetExportSvgActionDelayedForPngCacheBuilder)", "~(ShowSliceBarSetBuilder)", "~(SliceBarOffsetSetBuilder)", "~(DisablePngCachingDnaSequencesSetBuilder)", "~(RetainStrandColorOnSelectionSetBuilder)", "~(DisplayReverseDNARightSideUpSetBuilder)", "~(AutobreakBuilder)", "~(OxdnaExportBuilder)", "~(OxviewExportBuilder)", "JsObject(@)", "int(int,@)", "IndentingBuiltValueToStringHelper(String)", "ListBuilder()", "int(DNAEnd)", "ListMultimapBuilder()", "MapBuilder()", "Grid(HelixGroup)", "SetBuilder()", "Null(List)", "String(ExportDNAFormat)", "String(StrandOrder)", "String?(RegExpMatch)", "Element(int)", "~(TextContentElement)", "SetMultimapBuilder()", "int(Helix,Helix)", "~(String,int)", "bool(MapEntry>)", "String(MapEntry>)", "~(String,int?)", "~(Timer)", "Uint8List(@,@)", "~(@,StackTrace)", "ExampleDesignsBuilder(ExampleDesignsBuilder)", "~(Blob?)", "int(Crossover,Crossover)", "int(Loopout,Loopout)", "Null(~())", "Null(@,StackTrace)", "String(HttpRequest)", "Domain(Selectable)", "~(int,@)", "int(Linker,Linker)", "Future(Client0)", "bool(String,String)", "int(String)", "DNAEndsMoveBuilder(DNAEndsMoveBuilder)", "DNAExtensionsMoveBuilder(DNAExtensionsMoveBuilder)", "Future>()", "Future()", "MediaType()", "~(Object[StackTrace?])", "HelixGroup(String,HelixGroup)", "Logger()", "_$ErrorBoundaryComponent()", "Object?(@,@)", "_$RecoverableErrorBoundaryComponent()", "~(Map<@,@>)", "List(ConsumedProps)", "JsMap(Map<@,@>)", "0^(0^,int)", "HelixGroupMoveBuilder(HelixGroupMoveBuilder)", "StrandBuilder(Strand)", "Strand(StrandBuilder)", "~(Symbol0,@)", "~(SetBuilder)", "~(AppUIStateBuilder)", "MouseoverDataBuilder(MouseoverDataBuilder)", "Null(Object,StackTrace)", "int(DNAEnd,DNAEnd)", "PotentialCrossoverBuilder(PotentialCrossoverBuilder)", "JsMap(Object?)(Object?,JsMap)", "JsMap(Object?,JsMap)(Object?,JsMap)", "Box(Helix)", "~(Node,Node?)", "_Future<@>(@)", "SetBuilder(SetBuilder)", "SelectionBoxBuilder(SelectionBoxBuilder)", "JsMap(@(@))(@(@),JsMap)", "JsMap(@(@),JsMap)(@(@),JsMap)", "@(@,@)", "int(Insertion)", "VendorFieldsBuilder(StrandBuilder)", "bool(Set)", "Object?()", "ModificationInternal?(StrandBuilder)", "Function(Function)", "MapBuilder>()", "_$$ReduxProviderProps(Map<@,@>)", "ListBuilder()", "_$$ReduxProviderProps$JsMap(JsBackedMap)", "List()", "String(MapEntry>)", "ListBuilder()", "ListBuilder>()", "MapBuilder>>()", "String(@)", "String(String?)", "bool(String?)", "int(RangeCharPredicate,RangeCharPredicate)", "int(int,RangeCharPredicate)", "RangeCharPredicate(String)", "RangeCharPredicate(String,String,String)", "ListBuilder()", "CharacterPredicate(List<@>)", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder>()", "ListBuilder()", "CharacterPredicate(String?,CharacterPredicate)", "ListBuilder()", "ListBuilder()", "ListBuilder()", "bool(Browser)", "Browser()", "ListBuilder()", "MapBuilder()", "ListBuilder()", "MapBuilder()", "~(Set)", "SetBuilder()", "Version0(NavigatorProvider)", "SetBuilder()", "SetBuilder()", "~(ContextMenuItemBuilder)", "~(CopyInfoBuilder)", "~(CrossoverBuilder)", "Helix(HelixBuilder)", "~(DesignBuilder)", "Grid(HelixGroupBuilder)", "int(Tuple2,Tuple2)", "~(Domain,ListBuilder)", "~(Domain,List
)", "int(Domain)", "Geometry(Map)", "MapEntry(String,HelixGroupBuilder)", "String(Domain,Domain,int)", "int(Tuple3,Tuple3)", "BuiltList(Strand)", "BuiltList(BuiltList)", "bool(OperatingSystem)", "Domain(Substrand)", "int(Tuple5)", "MapEntry(String,HelixGroupBuilder)", "~(DesignSideRotationParamsBuilder)", "~(DesignSideRotationDataBuilder)", "~(DialogBuilder)", "~(DialogIntegerBuilder)", "~(DialogFloatBuilder)", "~(DialogTextBuilder)", "~(DialogTextAreaBuilder)", "~(DialogCheckboxBuilder)", "~(DialogRadioBuilder)", "~(DialogLinkBuilder)", "~(DialogLabelBuilder)", "~(DNAAssignOptionsBuilder)", "~(DNAEndBuilder)", "~(InsertionBuilder)", "~(DomainBuilder)", "@(Insertion)", "Insertion(@)", "OperatingSystem()", "~(DomainsMoveBuilder)", "int(Strand,Strand)", "Object(String)", "~(ExtensionBuilder)", "~(GeometryBuilder)", "double(double)", "GeometryBuilder(GeometryBuilder)", "~(GridPositionBuilder)", "~(HelixGroupBuilder)", "~(HelixBuilder)", "~(HelixGroupMoveBuilder)", "Position3DBuilder(Position3DBuilder)", "~(LocalStorageDesignChoiceBuilder)", "ReactDartComponentFactoryProxy2(Component2(){bridgeFactory:Component2Bridge(Component2)?,skipMethods:Iterable})()", "~(LoopoutBuilder)", "MapBuilder(Modification5PrimeBuilder)", "MapBuilder(Modification3PrimeBuilder)", "MapBuilder(ModificationInternalBuilder)", "~(Modification5PrimeBuilder)", "~(Modification3PrimeBuilder)", "~(ModificationInternalBuilder)", "~(MouseoverParamsBuilder)", "~(MouseoverDataBuilder)", "~(Position3DBuilder)", "~(PotentialCrossoverBuilder)", "@(Object?,Element)()", "SetBuilder(SelectModeStateBuilder)", "@(@)()", "~(SelectionBoxBuilder)", "~(SelectionRopeBuilder)", "~(LineBuilder)", "MapBuilder(StrandBuilder)", "~(StrandCreationBuilder)", "~(StrandsMoveBuilder)", "~(UndoRedoBuilder)", "~(UndoRedoItemBuilder)", "~(VendorFieldsBuilder)", "MapBuilder(VendorFieldsBuilder)", "bool(List)", "ByteBuffer/(HttpRequest)", "DialogBuilder(DialogBuilder)", "~(List?)", "Future(Event)", "double(double,double)", "_$End3PrimeComponent()", "_$End5PrimeComponent()", "Element(Node)", "_$DesignMainArrowsComponent()", "_$AxisArrowsComponent()", "Component2()", "bool()", "DesignContextMenuProps(AppState)", "@(@,String)", "_$DesignContextMenuComponent()", "_$DesignContextSubmenuComponent()", "DesignDialogFormProps(AppState)", "_DummyComponent2()", "MapBuilder>(MapBuilder>)", "~(SkipUndoBuilder)", "~(UndoBuilder)", "String(DialogTextBuilder)", "String(DialogTextAreaBuilder)", "int(DialogIntegerBuilder)", "double(DialogFloatBuilder)", "~(RedoBuilder)", "_$DesignDialogFormComponent()", "DesignFooterProps(AppState)", "_$DesignFooterComponent()", "DesignLoadingDialogProps(AppState)", "_$DesignLoadingDialogComponent()", "DesignMainProps(AppState)", "~(BatchActionBuilder)", "~(ThrottledActionFastBuilder)", "_$DesignMainComponent()", "_$DesignMainBasePairLinesComponent()", "_$DesignMainBasePairRectangleComponent()", "_$DesignMainDNAMismatchesComponent()", "_$DesignMainDNASequenceComponent()", "_$DesignMainDNASequencesComponent()", "_$DesignMainDomainMovingComponent()", "_$DesignMainDomainNameMismatchesComponent()", "DesignMainDomainsMovingProps(AppState)", "_$DesignMainDomainsMovingComponent()", "_$DesignMainErrorBoundaryComponent()", "_$DesignMainHelicesComponent()", "~(ThrottledActionNonFastBuilder)", "~(EditModeToggleBuilder)", "~(SelectModeToggleBuilder)", "_$DesignMainHelixComponent()", "_$DesignMainLoopoutExtensionLengthComponent()", "_$DesignMainLoopoutExtensionLengthsComponent()", "_$DesignMainPotentialVerticalCrossoverComponent()", "_$DesignMainPotentialVerticalCrossoversComponent()", "_$DesignMainSliceBarComponent()", "~(SetAppUIStateStorableBuilder)", "List(Strand{address!Address,domain!Domain,type:ModificationType})", "~(ShowDNASetBuilder)", "~(ShowDomainNamesSetBuilder)", "~(ShowStrandNamesSetBuilder)", "~(ShowStrandLabelsSetBuilder)", "~(ShowDomainLabelsSetBuilder)", "SubstrandLabelSet(Domain)", "SubstrandLabelSet(Substrand)", "BuiltList(Strand)", "BuiltList(BuiltList)", "ScaffoldSet(Strand)", "RemoveDNA(Strand)", "_$DesignMainStrandComponent()", "_$DesignMainStrandAndDomainTextsComponent()", "_$DesignMainStrandCreatingComponent()", "_$DesignMainStrandCrossoverComponent()", "_$DesignMainStrandDeletionComponent()", "_$DesignMainDNAEndComponent()", "EndMovingProps(DNAEndsMove?,EndMovingProps)", "_$EndMovingComponent()", "ExtensionEndMovingProps(DNAExtensionsMove,ExtensionEndMovingProps)", "_$ExtensionEndMovingComponent()", "_$DesignMainDomainComponent()", "_$DesignMainStrandDomainTextComponent()", "~(ShowModificationsSetBuilder)", "SubstrandLabelSet(Extension)", "~(ModificationFontSizeSetBuilder)", "_$DesignMainExtensionComponent()", "_$DesignMainStrandExtensionTextComponent()", "_$DesignMainStrandInsertionComponent()", "~(MajorTickOffsetFontSizeSetBuilder)", "SubstrandLabelSet(Loopout)", "_$DesignMainLoopoutComponent()", "_$DesignMainStrandLoopoutTextComponent()", "~(MajorTickWidthFontSizeSetBuilder)", "_$DesignMainStrandModificationComponent()", "_$DesignMainStrandModificationsComponent()", "_$DesignMainStrandMovingComponent()", "_$DesignMainStrandPathsComponent()", "DesignMainStrandsProps(AppState)", "String(Helix)", "_$DesignMainStrandsComponent()", "DesignMainStrandsMovingProps(AppState)", "_$DesignMainStrandsMovingComponent()", "_$DesignMainUnpairedInsertionDeletionsComponent()", "_$DesignMainWarningStarComponent()", "DesignSideProps(AppState)", "_$DesignSideComponent()", "_$DesignSideHelixComponent()", "_$DesignSidePotentialHelixComponent()", "_$DesignSideRotationComponent()", "_$DesignSideRotationArrowComponent()", "EditAndSelectModesProps(AppState)", "_$EditAndSelectModesComponent()", "_$EditModeComponent()", "HelixGroupMovingProps(HelixGroupMove?)", "_$HelixGroupMovingComponent()", "MenuProps(AppState)", "bool(HelixGroup)", "~(SetModificationDisplayConnectorBuilder)", "~(ShowMismatchesSetBuilder)", "Undo(int)", "Redo(int)", "~(ShowDomainNameMismatchesSetBuilder)", "~(SyntheticMouseEvent)", "_$MenuComponent()", "_$MenuBooleanComponent()", "_$MenuDropdownItemComponent()", "_$MenuDropdownRightComponent()", "_$MenuFormFileComponent()", "_$MenuNumberComponent()", "SideMenuProps(AppState)", "~(ShowUnpairedInsertionDeletionsSetBuilder)", "bool(DialogItem)", "_$SideMenuComponent()", "PotentialCrossoverViewProps(PotentialCrossover)", "_$PotentialCrossoverViewComponent()", "PotentialExtensionsViewProps(DNAExtensionsMove,PotentialExtensionsViewProps)", "ReactElement(DNAExtensionMove)", "_$PotentialExtensionsViewComponent()", "_$SelectModeComponent()", "SelectionBoxViewProps(SelectionBox,SelectionBoxViewProps)", "_$SelectionBoxViewComponent()", "SelectionRopeViewProps(SelectionRope,SelectionRopeViewProps)", "_$SelectionRopeViewComponent()", "StrandOrSubstrandColorPickerProps(AppState)", "~(JSColor,@)", "StrandOrSubstrandColorSet(Strand)", "StrandOrSubstrandColorSet(Strand,Substrand)", "_$StrandOrSubstrandColorPickerComponent()", "String?()", "int(_Line)", "~(OxviewShowSetBuilder)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry>)", "~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder)", "SourceSpanWithContext()", "String(String{color:Object?})", "~(DisplayMajorTicksOffsetsSetBuilder)", "~(SetDisplayMajorTickWidthsAllHelicesBuilder)", "bool(bool,@)", "Null(Null)", "~(SetDisplayMajorTickWidthsBuilder)", "~(SetOnlyDisplaySelectedHelicesBuilder)", "~(LoadDNAFileBuilder)", "~(PrepareToLoadDNAFileBuilder)", "XmlAttribute(XmlEventAttribute)", "Parser()", "Parser()", "Parser()", "Parser>()", "Parser()", "~(NewDesignSetBuilder)", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "~(ShowMouseoverDataSetBuilder)", "~(HelixRollSetAtOtherBuilder)", "~(ErrorMessageSetBuilder)", "XmlRawTextEvent(String)", "XmlStartElementEvent(String,String,List,String,String)", "XmlEventAttribute(String,String,Sequence2)", "Sequence2(String,String,String,Sequence2)", "~(SelectionBoxCreateBuilder)", "Sequence2(String)", "XmlEndElementEvent(String,String,String,String)", "XmlCommentEvent(String,String,String)", "XmlCDATAEvent(String,String,String)", "XmlDeclarationEvent(String,List,String,String)", "String(String,String)", "XmlProcessingEvent(String,String,String,String)", "XmlDoctypeEvent(String,String,String,DtdExternalId?,String,String?,String,String)", "DtdExternalId(String,String,Sequence2)", "DtdExternalId(String,String,Sequence2,String,Sequence2)", "~(SelectionBoxSizeChangeBuilder)", "Parser(XmlEntityMapping)", "~(XmlEvent)", "~(SelectionBoxRemoveBuilder)", "~(MouseGridPositionSideUpdateBuilder)", "~(MouseGridPositionSideClearBuilder)", "_$$ErrorBoundaryProps([Map<@,@>?])", "_$$RecoverableErrorBoundaryProps([Map<@,@>?])", "UiComponent2BridgeImpl(Component2)", "String(Object?)", "Component2BridgeImpl(Component2)", "int(Object)", "@(Object?,Element)", "Component2(ReactComponent,ComponentStatics2)", "~(SelectBuilder)", "bool(Component2,JsMap,JsMap)", "JsMap?(ComponentStatics2,JsMap,JsMap)", "@(Component2,JsMap,JsMap)", "~(Component2,ReactComponent,JsMap,JsMap[@])", "~(Component2,@,ReactErrorInfo)", "JsMap?(ComponentStatics2,@)", "Object?(Component2,JsMap,JsMap,@)", "~(SelectionsClearBuilder)", "Element(Element)", "~(SelectAllSelectableBuilder)", "~(DeleteAllSelectedBuilder)", "AppState(AppState,@)", "String?(String?,ErrorMessageSet)", "bool(bool,PotentialCrossoverCreate)", "bool(bool,PotentialCrossoverRemove)", "bool(bool,DNAEndsMoveStart)", "bool(bool,DNAEndsMoveStop)", "bool(bool,DNAExtensionsMoveStart)", "SelectModeState(SelectModeState,SelectModesAdd)", "bool(bool,SliceBarMoveStart)", "bool(bool,SliceBarMoveStop)", "bool(bool,HelixGroupMoveStart)", "bool(bool,HelixGroupMoveStop)", "bool(bool,ShowDNASet)", "bool(bool,LoadingDialogShow)", "bool(bool,LoadingDialogHide)", "bool(bool,ShowStrandNamesSet)", "bool(bool,ShowStrandLabelsSet)", "bool(bool,ShowDomainNamesSet)", "bool(bool,ShowDomainLabelsSet)", "bool(bool,ShowModificationsSet)", "bool(bool,SetModificationDisplayConnector)", "double(double,ModificationFontSizeSet)", "double(double,ZoomSpeedSet)", "double(double,StrandNameFontSizeSet)", "double(double,DomainNameFontSizeSet)", "double(double,StrandLabelFontSizeSet)", "double(double,DomainLabelFontSizeSet)", "double(double,MajorTickOffsetFontSizeSet)", "double(double,MajorTickWidthFontSizeSet)", "bool(bool,ShowMismatchesSet)", "bool(bool,ShowDomainNameMismatchesSet)", "bool(bool,ShowUnpairedInsertionDeletionsSet)", "bool(bool,InvertYSet)", "bool(bool,DynamicHelixUpdateSet)", "bool(bool,WarnOnExitIfUnsavedSet)", "bool(bool,ShowHelixCirclesMainViewSet)", "bool(bool,ShowHelixComponentsMainViewSet)", "bool(bool,ShowEditMenuToggle)", "bool(bool,ShowGridCoordinatesSideViewSet)", "bool(bool,ShowAxisArrowsSet)", "bool(bool,ShowLoopoutExtensionLengthSet)", "bool(bool,ShowSliceBarSet)", "int?(int?,SliceBarOffsetSet)", "bool(bool,DisablePngCachingDnaSequencesSet)", "bool(bool,RetainStrandColorOnSelectionSet)", "bool(bool,DisplayReverseDNARightSideUpSet)", "bool(bool,DisplayMajorTicksOffsetsSet)", "bool(bool,SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix)", "bool(bool,SetDisplayMajorTickWidthsAllHelices)", "BasePairDisplayType(BasePairDisplayType,BasePairTypeSet)", "bool(bool,ShowBasePairLinesSet)", "bool(bool,ShowBasePairLinesWithMismatchesSet)", "bool(bool,ExportSvgTextSeparatelySet)", "bool(bool,OxExportOnlySelectedStrandsSet)", "bool(bool,SetDisplayMajorTickWidths)", "bool(bool,StrandPasteKeepColorSet)", "bool(bool,AutofitSet)", "bool(bool,OxviewShowSet)", "bool(bool,ShowMouseoverDataSet)", "bool(bool,SetOnlyDisplaySelectedHelices)", "JsFunction(@)", "DNAAssignOptions(DNAAssignOptions,AssignDNA)", "LocalStorageDesignChoice(LocalStorageDesignChoice,LocalStorageDesignChoiceSet)", "bool(bool,ClearHelixSelectionWhenLoadingNewDesignSet)", "bool(bool,UndoableAction)", "bool(bool,SaveDNAFile)", "ExampleDesigns(ExampleDesigns,ExampleDesignsLoad)", "String(String,AppState,GroupRemove)", "int?(int?,AppState,ShowSliceBarSet)", "int?(int?,AppState,GroupDisplayedChange)", "int?(int?,AppState,GroupRemove)", "int?(int?,AppState,HelixOffsetChange)", "int?(int?,AppState,HelixOffsetChangeAll)", "String(String,GroupDisplayedChange)", "String(String,GroupChange)", "Modification5Prime?(Modification5Prime?,ModificationAdd)", "Modification3Prime?(Modification3Prime?,ModificationAdd)", "ModificationInternal?(ModificationInternal?,ModificationAdd)", "String?(String?,LoadDnaSequenceImageUri)", "~(HelixRemoveBuilder)", "ExportSvg?(ExportSvg?,SetExportSvgActionDelayedForPngCache)", "bool(bool,SetIsZoomAboveThreshold)", "GridPosition?(GridPosition?,MouseGridPositionSideUpdate)", "GridPosition?(GridPosition?,MouseGridPositionSideClear)", "Point?(Point?,MousePositionSideUpdate)", "Point?(Point?,MousePositionSideClear)", "Strand?(Strand?,StrandOrSubstrandColorPickerShow)", "Strand?(Strand?,StrandOrSubstrandColorPickerHide)", "Substrand?(Substrand?,StrandOrSubstrandColorPickerShow)", "Substrand?(Substrand?,StrandOrSubstrandColorPickerHide)", "bool(bool,SelectionBoxIntersectionRuleSet)", "BuiltList(BuiltList,AppState,AssignDomainNameComplementFromBoundStrands)", "BuiltList(BuiltList,AppState,AssignDomainNameComplementFromBoundDomains)", "Strand(Strand,ConvertCrossoverToLoopout)", "BuiltList(BuiltList,AppState,ConvertCrossoversToLoopouts)", "BuiltList(BuiltList,AppState,LoopoutsLengthChange)", "BuiltList(BuiltList,AppState,ExtensionsNumBasesChange)", "Strand(Strand,LoopoutLengthChange)", "Strand(Strand,ExtensionNumBasesChange)", "Strand(Strand,ExtensionDisplayLengthAngleSet)", "BuiltList(BuiltList,AppState,DeleteAllSelected)", "Design?(Design?,ErrorMessageSet)", "Design?(Design?,AppState,GeometrySet)", "Design?(Design?,NewDesignSet)", "DNAEndsMove?(DNAEndsMove?,DNAEndsMoveSetSelectedEnds)", "DNAEndsMove?(DNAEndsMove?,DNAEndsMoveAdjustOffset)", "DNAEndsMove?(DNAEndsMove?,DNAEndsMoveStop)", "DNAExtensionsMove?(DNAExtensionsMove?,DNAExtensionsMoveSetSelectedExtensionEnds)", "DNAExtensionsMove?(DNAExtensionsMove?,DNAExtensionsMoveAdjustPosition)", "DNAExtensionsMove?(DNAExtensionsMove?,DNAExtensionsMoveStop)", "DomainsMove?(DomainsMove?,AppState,DomainsMoveStartSelectedDomains)", "DomainsMove?(DomainsMove?,DomainsMoveStop)", "DomainsMove?(DomainsMove?,AppState,DomainsMoveAdjustAddress)", "BuiltSet(BuiltSet,EditModeToggle)", "BuiltSet(BuiltSet,EditModesSet)", "BuiltMap(BuiltMap,GridChange)", "BuiltMap(BuiltMap,GroupAdd)", "BuiltMap(BuiltMap,GroupRemove)", "BuiltMap(BuiltMap,GroupChange)", "BuiltMap(BuiltMap,AppState,MoveHelicesToGroup)", "BuiltMap(BuiltMap,AppState,HelixIndividualAction)", "Design?(Design?,AppState,HelixIdxsChange)", "Helix(Helix,AppState,HelixOffsetChange)", "BuiltMap(BuiltMap,AppState,StrandsMoveAdjustAddress)", "BuiltMap(BuiltMap,AppState,StrandCreateAdjustOffset)", "BuiltMap(BuiltMap,AppState,ReplaceStrands)", "BuiltMap(BuiltMap,AppState,SelectionsClear)", "BuiltMap(BuiltMap,AppState,HelixOffsetChangeAll)", "Helix(Helix,AppState,HelixMinOffsetSetByDomains)", "Helix(Helix,AppState,HelixMaxOffsetSetByDomains)", "BuiltMap(BuiltMap,AppState,HelixMinOffsetSetByDomainsAll)", "BuiltMap(BuiltMap,AppState,HelixMaxOffsetSetByDomainsAll)", "BuiltMap(BuiltMap,AppState,HelixMaxOffsetSetByDomainsAllSameMax)", "BuiltMap(BuiltMap,HelixMajorTickDistanceChangeAll)", "BuiltMap(BuiltMap,HelixMajorTicksChangeAll)", "BuiltMap(BuiltMap,HelixMajorTickStartChangeAll)", "BuiltMap(BuiltMap,HelixMajorTickPeriodicDistancesChangeAll)", "Helix(Helix,AppState,HelixMajorTickDistanceChange)", "Helix(Helix,AppState,HelixMajorTickPeriodicDistancesChange)", "Helix(Helix,AppState,HelixMajorTickStartChange)", "Helix(Helix,AppState,HelixMajorTicksChange)", "Helix(Helix,AppState,HelixRollSet)", "BuiltMap(BuiltMap,AppState,HelixRollSetAtOther)", "Design?(Design?,AppState,HelixAdd)", "Design?(Design?,AppState,HelixRemove)", "Design?(Design?,AppState,HelixRemoveAllSelected)", "BuiltMap(BuiltMap,AppState,GridChange)", "BuiltMap(BuiltMap,AppState,RelaxHelixRolls)", "BuiltMap(BuiltMap,AppState,GroupChange)", "BuiltMap(BuiltMap,AppState,HelixGridPositionSet)", "BuiltMap(BuiltMap,AppState,HelixPositionSet)", "BuiltMap(BuiltMap,MoveHelicesToGroup)", "HelixGroupMove?(HelixGroupMove?,HelixGroupMoveCreate)", "HelixGroupMove?(HelixGroupMove?,HelixGroupMoveAdjustTranslation)", "HelixGroupMove?(HelixGroupMove?,HelixGroupMoveStop)", "Design?(Design?,AppState,HelixGroupMoveCommit)", "Design?(Design?,InlineInsertionsDeletions)", "Strand(Strand,InsertionOrDeletionAction)", "Domain(Domain,InsertionAdd)", "Domain(Domain,InsertionRemove)", "Domain(Domain,DeletionAdd)", "Domain(Domain,DeletionRemove)", "Domain(Domain,InsertionLengthChange)", "BuiltList(BuiltList,AppState,InsertionsLengthChange)", "BuiltList(@,MouseoverDataClear)", "BuiltList(@,AppState,MouseoverDataUpdate)", "BuiltList(BuiltList,AppState,HelixRollSetAtOther)", "BuiltList(BuiltList,AppState,MoveLinker)", "BuiltList(BuiltList,AppState,Nick)", "BuiltList(BuiltList,AppState,Ligate)", "BuiltList(BuiltList,AppState,JoinStrandsByMultipleCrossovers)", "BuiltList(BuiltList,AppState,JoinStrandsByCrossover)", "PotentialCrossover?(PotentialCrossover?,PotentialCrossoverCreate)", "PotentialCrossover?(PotentialCrossover?,PotentialCrossoverMove)", "PotentialCrossover?(PotentialCrossover?,PotentialCrossoverRemove)", "SelectablesStore(SelectablesStore,AppState,Select)", "SelectablesStore(SelectablesStore,AppState,SelectAllSelectable)", "SelectablesStore(SelectablesStore,AppState,SelectOrToggleItems)", "SelectablesStore(SelectablesStore,DesignChangingAction)", "SelectablesStore(SelectablesStore,SelectAll)", "SelectablesStore(SelectablesStore,@)", "SelectablesStore(SelectablesStore,AppState,SelectAllStrandsWithSameAsSelected)", "BuiltSet(BuiltSet,AppState,HelixSelectionsAdjust)", "BuiltSet(BuiltSet,HelixSelect)", "BuiltSet(BuiltSet,HelixSelectionsClear)", "BuiltSet(BuiltSet,HelixRemoveAllSelected)", "BuiltSet(BuiltSet,HelixRemove)", "SelectionBox?(SelectionBox?,SelectionBoxCreate)", "SelectionBox?(SelectionBox?,SelectionBoxSizeChange)", "SelectionBox?(SelectionBox?,SelectionBoxRemove)", "SelectionRope?(SelectionRope?,SelectionRopeCreate)", "SelectionRope?(SelectionRope?,SelectionRopeMouseMove)", "SelectionRope?(SelectionRope?,SelectionRopeAddPoint)", "SelectionRope?(SelectionRope?,SelectionRopeRemove)", "StrandCreation?(StrandCreation?,AppState,StrandCreateStart)", "StrandCreation?(StrandCreation?,AppState,StrandCreateAdjustOffset)", "StrandCreation?(StrandCreation?,AppState,StrandCreateStop)", "CopyInfo?(CopyInfo?,AppState,CopySelectedStrands)", "CopyInfo?(CopyInfo?,AppState,ManualPasteInitiate)", "CopyInfo?(CopyInfo?,AppState,AutoPasteInitiate)", "CopyInfo?(CopyInfo?,AppState,StrandsMoveCommit)", "StrandsMove?(StrandsMove?,AppState,StrandsMoveStart)", "StrandsMove?(StrandsMove?,AppState,StrandsMoveStartSelectedStrands)", "StrandsMove?(StrandsMove?,StrandsMoveStop)", "StrandsMove?(StrandsMove?,AppState,StrandsMoveAdjustAddress)", "int(Point,Point)", "BuiltList(BuiltList,ReplaceStrands)", "BuiltList(BuiltList,AppState,StrandPartAction)", "Strand(Strand,SubstrandNameSet)", "Strand(Strand,SubstrandLabelSet)", "BuiltList(BuiltList,AppState,StrandsMoveCommit)", "BuiltList(BuiltList,AppState,DomainsMoveCommit)", "BuiltList(BuiltList,AppState,DNAEndsMoveCommit)", "BuiltList(BuiltList,AppState,DNAExtensionsMoveCommit)", "BuiltList(BuiltList,AppState,StrandCreateCommit)", "BuiltList(BuiltList,SingleStrandAction)", "Strand(Strand,VendorFieldsRemove)", "Strand(Strand,PlateWellVendorFieldsRemove)", "Strand(Strand,PlateWellVendorFieldsAssign)", "Strand(Strand,ScalePurificationVendorFieldsAssign)", "Strand(Strand,StrandNameSet)", "Strand(Strand,StrandLabelSet)", "Strand(Strand,ExtensionAdd)", "Strand(Strand,ModificationAdd)", "Strand(Strand,ModificationRemove)", "Strand(Strand,ModificationEdit)", "Strand(Strand,ScaffoldSet)", "Strand(Strand,StrandOrSubstrandColorSet)", "BuiltList(BuiltList,AppState,Modifications5PrimeEdit)", "BuiltList(BuiltList,AppState,Modifications3PrimeEdit)", "BuiltList(BuiltList,AppState,ModificationsInternalEdit)", "AppState(AppState,Undo)", "AppState(AppState,Redo)", "AppState(AppState,UndoRedoClear)", "AppState(AppState,UndoableAction)", "Grid(String)", "~(bool)", "_$$End3PrimeProps([Map<@,@>?])", "_$$End5PrimeProps([Map<@,@>?])", "_$$AxisArrowsMainProps([Map<@,@>?])", "_$$AxisArrowsSideProps([Map<@,@>?])", "@(MouseEvent)", "_$$DesignContextMenuProps([Map<@,@>?])", "_$$DesignContextSubmenuProps([Map<@,@>?])", "_$$DesignDialogFormProps([Map<@,@>?])", "_$$DesignFooterProps([Map<@,@>?])", "_$$DesignLoadingDialogProps([Map<@,@>?])", "_$$DesignMainProps([Map<@,@>?])", "_$$DesignMainBasePairLinesProps([Map<@,@>?])", "_$$DesignMainBasePairRectangleProps([Map<@,@>?])", "_$$DesignMainDNAMismatchesProps([Map<@,@>?])", "_$$DesignMainDNASequenceProps([Map<@,@>?])", "_$$DesignMainDNASequencesProps([Map<@,@>?])", "_$$DesignMainDomainMovingProps([Map<@,@>?])", "_$$DesignMainDomainNameMismatchesProps([Map<@,@>?])", "_$$DesignMainDomainsMovingProps([Map<@,@>?])", "_$$DesignMainErrorBoundaryProps([Map<@,@>?])", "_$$DesignMainHelicesProps([Map<@,@>?])", "_$$DesignMainHelixProps([Map<@,@>?])", "_$$DesignMainLoopoutExtensionLengthProps([Map<@,@>?])", "_$$DesignMainLoopoutExtensionLengthsProps([Map<@,@>?])", "_$$DesignMainPotentialVerticalCrossoverProps([Map<@,@>?])", "_$$DesignMainPotentialVerticalCrossoversProps([Map<@,@>?])", "_$$DesignMainSliceBarProps([Map<@,@>?])", "_$$DesignMainStrandProps([Map<@,@>?])", "_$$DesignMainStrandAndDomainTextsProps([Map<@,@>?])", "_$$DesignMainStrandCreatingProps([Map<@,@>?])", "_$$DesignMainStrandCrossoverProps([Map<@,@>?])", "_$$DesignMainStrandDeletionProps([Map<@,@>?])", "_$$DesignMainDNAEndProps([Map<@,@>?])", "_$$EndMovingProps([Map<@,@>?])", "_$$ExtensionEndMovingProps([Map<@,@>?])", "_$$DesignMainDomainProps([Map<@,@>?])", "_$$DesignMainStrandDomainTextProps([Map<@,@>?])", "_$$DesignMainExtensionProps([Map<@,@>?])", "_$$DesignMainStrandExtensionTextProps([Map<@,@>?])", "_$$DesignMainStrandInsertionProps([Map<@,@>?])", "_$$DesignMainLoopoutProps([Map<@,@>?])", "_$$DesignMainStrandLoopoutTextProps([Map<@,@>?])", "_$$DesignMainStrandModificationProps([Map<@,@>?])", "_$$DesignMainStrandModificationsProps([Map<@,@>?])", "_$$DesignMainStrandMovingProps([Map<@,@>?])", "_$$DesignMainStrandPathsProps([Map<@,@>?])", "_$$DesignMainStrandsProps([Map<@,@>?])", "_$$DesignMainStrandsMovingProps([Map<@,@>?])", "_$$DesignMainUnpairedInsertionDeletionsProps([Map<@,@>?])", "_$$DesignMainWarningStarProps([Map<@,@>?])", "_$$DesignSideProps([Map<@,@>?])", "_$$DesignSideHelixProps([Map<@,@>?])", "_$$DesignSidePotentialHelixProps([Map<@,@>?])", "_$$DesignSideRotationProps([Map<@,@>?])", "_$$DesignSideRotationArrowProps([Map<@,@>?])", "_$$EditAndSelectModesProps([Map<@,@>?])", "_$$EditModeProps([Map<@,@>?])", "_$$HelixGroupMovingProps([Map<@,@>?])", "~(HelixSelectBuilder)", "_$$MenuProps([Map<@,@>?])", "_$$MenuBooleanProps([Map<@,@>?])", "_$$MenuDropdownItemProps([Map<@,@>?])", "_$$MenuDropdownRightProps([Map<@,@>?])", "_$$MenuFormFileProps([Map<@,@>?])", "_$$MenuNumberProps([Map<@,@>?])", "_$$SideMenuProps([Map<@,@>?])", "_$$PotentialCrossoverViewProps([Map<@,@>?])", "_$$PotentialExtensionsViewProps([Map<@,@>?])", "_$$SelectModeProps([Map<@,@>?])", "_$$SelectionBoxViewProps([Map<@,@>?])", "_$$SelectionRopeViewProps([Map<@,@>?])", "_$$StrandOrSubstrandColorPickerProps([Map<@,@>?])", "bool(Map<@,@>,Map<@,@>)", "~(HelixSelectionsClearBuilder)", "ReactDartComponentFactoryProxy2(Component2(){bridgeFactory:Component2Bridge(Component2)?,skipMethods:Iterable})", "@(Store<@>,@,@(@))", "BuiltList(BuiltList,RemoveDNA)", "BuiltList(BuiltList,AppState,AssignDNAComplementFromBoundStrands)", "BuiltList(BuiltList,AppState,AssignDNA)", "int(Tuple2,Domain>,Tuple2,Domain>)", "ContextMenu?(ContextMenu?,ContextMenuShow)", "ContextMenu?(ContextMenu?,ContextMenuHide)", "Dialog?(Dialog?,DialogShow)", "Dialog?(Dialog?,DialogHide)", "SelectModeState(SelectModeState,SelectModeToggle)", "SelectModeState(SelectModeState,SelectModesSet)", "bool(bool,DNAExtensionsMoveStop)"], interceptorsByTag: null, leafTags: null, - arrayRti: typeof Symbol == "function" && typeof Symbol() == "symbol" ? Symbol("$ti") : "$ti" + arrayRti: Symbol("$ti") }; - H._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"JavaScriptObject","UnknownJavaScriptObject":"JavaScriptObject","JavaScriptFunction":"JavaScriptObject","_ReduxDevToolsExtensionConnection":"JavaScriptObject","JsReactRedux":"JavaScriptObject","JsReactReduxStore":"JavaScriptObject","JsConnectOptions":"JavaScriptObject","NodeCrypto":"JavaScriptObject","JsMap":"JavaScriptObject","_Object":"JavaScriptObject","_Reflect":"JavaScriptObject","ReactElement":"JavaScriptObject","ReactComponent":"JavaScriptObject","ReactErrorInfo":"JavaScriptObject","React":"JavaScriptObject","JsRef":"JavaScriptObject","ReactDomServer":"JavaScriptObject","PropTypes":"JavaScriptObject","ReactClass":"JavaScriptObject","ReactClassConfig":"JavaScriptObject","ReactElementStore":"JavaScriptObject","ReactPortal":"JavaScriptObject","InteropContextValue":"JavaScriptObject","ReactContext":"JavaScriptObject","InteropProps":"JavaScriptObject","JsError":"JavaScriptObject","ReactDartInteropStatics":"JavaScriptObject","JsComponentConfig":"JavaScriptObject","JsComponentConfig2":"JavaScriptObject","_PropertyDescriptor":"JavaScriptObject","JsPropertyDescriptor":"JavaScriptObject","Promise":"JavaScriptObject","ReactDOM":"JavaScriptObject","SyntheticEvent":"JavaScriptObject","SyntheticFormEvent":"JavaScriptObject","SyntheticMouseEvent":"JavaScriptObject","SyntheticPointerEvent":"JavaScriptObject","SyntheticClipboardEvent":"JavaScriptObject","SyntheticKeyboardEvent":"JavaScriptObject","SyntheticCompositionEvent":"JavaScriptObject","SyntheticFocusEvent":"JavaScriptObject","NonNativeDataTransfer":"JavaScriptObject","SyntheticTouchEvent":"JavaScriptObject","SyntheticTransitionEvent":"JavaScriptObject","SyntheticAnimationEvent":"JavaScriptObject","SyntheticUIEvent":"JavaScriptObject","SyntheticWheelEvent":"JavaScriptObject","Pan":"JavaScriptObject","ReactBootstrap":"JavaScriptObject","ReactColor":"JavaScriptObject","JSColor":"JavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AnalyserNode":"AudioNode","AudioBufferSourceNode":"AudioScheduledSourceNode","AudioContext":"BaseAudioContext","AnimateElement":"SvgElement","AnimationElement":"SvgElement","ClipPathElement":"GraphicsElement","TSpanElement":"TextPositioningElement","EllipseElement":"GeometryElement","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","OpenDBRequest":"Request0","_ResourceProgressEvent":"ProgressEvent","BRElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument0":"Document","WheelEvent":"MouseEvent","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CDataSection":"CharacterData","Text":"CharacterData","AudioElement":"MediaElement","JavaScriptObject":{"JSObject":[],"JsConnectOptions":[],"JsMap":[],"JsRef":[],"ReactClass":[],"ReactElement":[],"ReactComponent":[],"ReactContext":[],"ReactErrorInfo":[],"SyntheticFormEvent":[],"SyntheticMouseEvent":[],"SyntheticPointerEvent":[],"JSColor":[]},"JSBool":{"bool":[]},"JSNull":{"Null":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"JSIndexable":["@"]},"EfficientLengthIterable":{"Iterable":["1"]},"CastStream":{"Stream":["2"],"Stream.T":"2"},"CastStreamSubscription":{"StreamSubscription":["2"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int","UnmodifiableListMixin.E":"int"},"NotNullableError":{"Error":[]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"TakeWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"TakeWhileIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"JSInvocationMirror":{"Invocation":[]},"NullError":{"NoSuchMethodError":[],"Error":[]},"JsNoSuchMethodError":{"NoSuchMethodError":[],"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"ByteData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[],"JSIndexable":["1"]},"NativeTypedArrayOfDouble":{"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Int32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"Error":[]},"_Future":{"Future":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_IterablePendingEvents":{"_PendingEvents":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_SyncStarIterator":{"Iterator":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"AsyncError":{"Error":[]},"_BroadcastStream":{"_ControllerStream":["1"],"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_BroadcastSubscription":{"_ControllerSubscription":["1"],"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_BroadcastStreamController":{"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamView":{"Stream":["1"]},"_StreamController":{"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_GeneratedStreamImpl":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_StreamImplEvents":{"_PendingEvents":["1"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2","_ForwardingStreamSubscription.S":"1","_ForwardingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2","_ForwardingStream.T":"2","_ForwardingStream.S":"1"},"_Zone":{"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"HashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"LinkedHashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_MapBaseValueIterator":{"Iterator":["2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"_UnmodifiableSetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"Encoding":{"Codec":["String","List"]},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"Iterable.E":"String","ListIterable.E":"String"},"AsciiCodec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List"]},"AsciiEncoder":{"Converter":["String","List"]},"_UnicodeSubsetDecoder":{"Converter":["List","String"]},"AsciiDecoder":{"Converter":["List","String"]},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"]},"Base64Decoder":{"Converter":["String","List"]},"ByteConversionSink":{"ChunkedConversionSink":["List"]},"ByteConversionSinkBase":{"ChunkedConversionSink":["List"]},"_ByteCallbackSink":{"ChunkedConversionSink":["List"]},"HtmlEscape":{"Converter":["String","String"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Latin1Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Latin1Encoder":{"Converter":["String","List"]},"Latin1Decoder":{"Converter":["List","String"]},"Utf8Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"]},"Utf8Decoder":{"Converter":["List","String"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"IntegerDivisionByZeroException":{"Exception":[]},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"RuneIterator":{"Iterator":["int"]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"BeforeUnloadEvent":{"Event":[]},"DivElement":{"Element":[],"Node":[],"EventTarget":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"FileReader":{"EventTarget":[]},"HttpRequest":{"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MouseEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"TouchEvent":{"Event":[]},"UIEvent":{"Event":[]},"_Html5NodeValidator":{"NodeValidator":[]},"AccessibleNode":{"EventTarget":[]},"AnchorElement":{"Element":[],"Node":[],"EventTarget":[]},"ApplicationCacheErrorEvent":{"Event":[]},"AreaElement":{"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"Element":[],"Node":[],"EventTarget":[]},"ButtonElement":{"Element":[],"Node":[],"EventTarget":[]},"CanvasElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CssStyleRule":{"CssRule":[]},"CssStyleSheet":{"StyleSheet":[]},"CssUnitValue":{"CssNumericValue":[]},"DataElement":{"Element":[],"Node":[],"EventTarget":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"JSIndexable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"JSIndexable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"ErrorEvent":{"Event":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"JSIndexable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FontFaceSet":{"EventTarget":[]},"FormElement":{"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"IFrameElement":{"Element":[],"Node":[],"EventTarget":[]},"ImageElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"InputElement":{"FileUploadInputElement":[],"Element":[],"Node":[],"EventTarget":[]},"LIElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaKeyMessageEvent":{"Event":[]},"MediaKeySession":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MeterElement":{"Element":[],"Node":[],"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"JSIndexable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"OptionElement":{"Element":[],"Node":[],"EventTarget":[]},"OutputElement":{"Element":[],"Node":[],"EventTarget":[]},"ParamElement":{"Element":[],"Node":[],"EventTarget":[]},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"JSIndexable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"PointerEvent":{"MouseEvent":[],"Event":[]},"PreElement":{"Element":[],"Node":[],"EventTarget":[]},"PresentationAvailability":{"EventTarget":[]},"PresentationConnectionCloseEvent":{"Event":[]},"ProcessingInstruction":{"Node":[],"EventTarget":[]},"ProgressElement":{"Element":[],"Node":[],"EventTarget":[]},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EventTarget":[],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"JSIndexable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"JSIndexable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"SpeechRecognitionError":{"Event":[]},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TemplateElement":{"Element":[],"Node":[],"EventTarget":[]},"TextAreaElement":{"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"JSIndexable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EventTarget":[],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"JSIndexable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"JSIndexable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"VideoElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"VideoTrackList":{"EventTarget":[]},"Window":{"WindowBase":[],"EventTarget":[]},"_BeforeUnloadEvent":{"BeforeUnloadEvent":[],"Event":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"JSIndexable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"JSIndexable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"JSIndexable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"JSIndexable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_ElementCssClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_ElementEventStreamImpl":{"_EventStream":["1"],"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"WindowBase":[],"EventTarget":[]},"KeyEvent":{"KeyboardEvent":[],"Event":[]},"_WrappedEvent":{"Event":[]},"_TrustedHtmlTreeSanitizer":{"NodeTreeSanitizer":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"CssClassSetImpl":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"]},"FilteredElementList":{"ListMixin":["Element"],"List":["Element"],"EfficientLengthIterable":["Element"],"Iterable":["Element"],"ListMixin.E":"Element"},"Request0":{"EventTarget":[]},"VersionChangeEvent":{"Event":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"NullRejectionException":{"Exception":[]},"Rectangle":{"_RectangleBase":["1"]},"GraphicsElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"SvgSvgElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextContentElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"AElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"CircleElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"DefsElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEGaussianBlurElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeNodeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FilterElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GeometryElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"PolygonElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"RectElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"AttributeClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"TextElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPathElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPositioningElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"UnmodifiableByteBufferView":{"ByteBuffer":[]},"UnmodifiableByteDataView":{"ByteData":[],"TypedData":[]},"UnmodifiableUint8ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Uint8List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Uint8List","Uint8List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Uint8List"},"UnmodifiableInt32ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Int32List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Int32List","Int32List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Int32List"},"AudioNode":{"EventTarget":[]},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioScheduledSourceNode":{"EventTarget":[]},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"ConstantSourceNode":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"SqlResultSetRowList":{"ListMixin":["Map<@,@>"],"ImmutableListMixin":["Map<@,@>"],"List":["Map<@,@>"],"EfficientLengthIterable":["Map<@,@>"],"Iterable":["Map<@,@>"],"ImmutableListMixin.E":"Map<@,@>","ListMixin.E":"Map<@,@>"},"Archive":{"Iterable":["ArchiveFile"],"Iterable.E":"ArchiveFile"},"ArchiveException":{"FormatException":[],"Exception":[]},"InputStream":{"InputStreamBase":[]},"OutputStream":{"OutputStreamBase":[]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"CopyOnWriteMap":{"Map":["1","2"]},"CopyOnWriteSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int32Serializer":{"PrimitiveSerializer":["Int32"],"Serializer":["Int32"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"Uint8ListSerializer":{"PrimitiveSerializer":["Uint8List"],"Serializer":["Uint8List"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"StandardJsonPlugin":{"SerializerPlugin":[]},"CanonicalizedMap":{"Map":["2","3"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.T":"Set<1>","_UnorderedEquality.E":"1"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingList":{"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"RgbColor":{"Color":[]},"HexColor":{"RgbColor":[],"Color":[]},"_TouchManager":{"_EventManager":[]},"_MouseManager":{"_EventManager":[]},"_PointerManager":{"_EventManager":[]},"Int32":{"Comparable":["Object"]},"Int64":{"Comparable":["Object"]},"BaseClient":{"Client0":[]},"BrowserClient":{"Client0":[]},"ByteStream":{"StreamView":["List*"],"Stream":["List*"],"Stream.T":"List*","StreamView.T":"List*"},"ClientException":{"Exception":[]},"Request":{"BaseRequest":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String*","String*","1*"],"Map":["String*","1*"],"CanonicalizedMap.V":"1*","CanonicalizedMap.K":"String*","CanonicalizedMap.C":"String*"},"Level":{"Comparable":["Level"]},"DomProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SvgProps":{"DomProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ErrorBoundaryProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ErrorBoundaryState":{"Map":["@","@"]},"ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"RecoverableErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"RecoverableErrorBoundaryState":{"Map":["@","@"]},"RecoverableErrorBoundaryComponent":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$RecoverableErrorBoundaryComponent":{"UiComponent2":["RecoverableErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps$PlainMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryProps$JsMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$RecoverableErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"UiProps0":{"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"UiState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UngeneratedError":{"Error":[]},"UiState0":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UiProps":{"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMeta":{"ConsumedProps":[]},"PropsMetaCollection":{"_AccessorMetaCollection":["PropDescriptor*","PropsMeta*"],"PropsMeta":[],"ConsumedProps":[],"_AccessorMetaCollection.U":"PropsMeta*"},"UiComponent2":{"Component2":[],"Component":[]},"UiStatefulComponent2":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"UiComponent2BridgeImpl":{"Component2Bridge":[]},"ReduxProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ReactJsReactReduxComponentFactoryProxy":{"ReactJsContextComponentFactoryProxy":[],"ReactComponentFactoryProxy":[]},"ProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ConsumerProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Failure":{"Result":["1"],"Context1":[]},"Result":{"Context1":[]},"Success":{"Result":["1"],"Context1":[]},"ParserException":{"FormatException":[],"Exception":[]},"ReferenceParser":{"ResolvableParser":["1"],"Parser":["1"]},"CastParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.T":"1"},"FlattenParser":{"DelegateParser":["1","String"],"Parser":["String"],"DelegateParser.T":"1"},"MapParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.T":"1"},"PickParser":{"DelegateParser":["List<1>","1"],"Parser":["1"],"DelegateParser.T":"List<1>"},"TokenParser":{"DelegateParser":["1","Token<1>"],"Parser":["Token<1>"],"DelegateParser.T":"1"},"SingleCharPredicate":{"CharacterPredicate":[]},"ConstantCharPredicate":{"CharacterPredicate":[]},"LookupCharPredicate":{"CharacterPredicate":[]},"NotCharacterPredicate":{"CharacterPredicate":[]},"CharacterParser":{"Parser":["String"]},"RangeCharPredicate":{"CharacterPredicate":[]},"WhitespaceCharPredicate":{"CharacterPredicate":[]},"ChoiceParser":{"ListParser":["1","1"],"Parser":["1"],"ListParser.T":"1"},"DelegateParser":{"Parser":["2"]},"ListParser":{"Parser":["2"]},"OptionalParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.T":"1"},"SequenceParser":{"ListParser":["1","List<1>"],"Parser":["List<1>"],"ListParser.T":"1"},"EndOfInputParser":{"Parser":["~"]},"EpsilonParser":{"Parser":["1"]},"AnyParser":{"Parser":["String"]},"PredicateParser":{"Parser":["String"]},"LazyRepeatingParser":{"LimitedRepeatingParser":["1"],"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.T":"1"},"LimitedRepeatingParser":{"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"]},"PossessiveRepeatingParser":{"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.T":"1"},"RepeatingParser":{"DelegateParser":["1","List<1>"],"Parser":["List<1>"]},"_Chrome":{"Browser":[]},"_Firefox":{"Browser":[]},"_Safari":{"Browser":[]},"_WKWebView":{"Browser":[]},"_InternetExplorer":{"Browser":[]},"_HtmlNavigator":{"NavigatorProvider":[]},"SHA1Digest":{"Digest":[]},"HMac":{"Mac":[]},"BaseDigest":{"Digest":[]},"BaseMac":{"Mac":[]},"MD4FamilyDigest":{"Digest":[]},"Component2":{"Component":[]},"Component2BridgeImpl":{"Component2Bridge":[]},"ReactDartComponentFactoryProxy2":{"ReactComponentFactoryProxy":[]},"ReactDomComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsContextComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"JsBackedMap":{"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@"},"DesignChangingAction":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoableAction":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SkipUndo":{"Action":[]},"Undo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Redo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoRedoClear":{"Action":[]},"BatchAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ThrottledActionFast":{"ThrottledAction":[],"FastAction":[],"Action":[]},"ThrottledActionNonFast":{"ThrottledAction":[],"Action":[]},"LocalStorageDesignChoiceSet":{"Action":[]},"ResetLocalStorage":{"Action":[]},"ClearHelixSelectionWhenLoadingNewDesignSet":{"Action":[]},"EditModeToggle":{"Action":[]},"EditModesSet":{"Action":[]},"SelectModeToggle":{"Action":[]},"SelectModesAdd":{"Action":[]},"SelectModesSet":{"Action":[]},"StrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"SubstrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SubstrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SetAppUIStateStorable":{"Action":[]},"ShowDNASet":{"Action":[]},"ShowDomainNamesSet":{"Action":[]},"ShowStrandNamesSet":{"Action":[]},"ShowStrandLabelsSet":{"Action":[]},"ShowDomainLabelsSet":{"Action":[]},"ShowModificationsSet":{"Action":[]},"DomainNameFontSizeSet":{"Action":[]},"DomainLabelFontSizeSet":{"Action":[]},"StrandNameFontSizeSet":{"Action":[]},"StrandLabelFontSizeSet":{"Action":[]},"ModificationFontSizeSet":{"Action":[]},"MajorTickOffsetFontSizeSet":{"Action":[]},"MajorTickWidthFontSizeSet":{"Action":[]},"SetModificationDisplayConnector":{"Action":[]},"ShowMismatchesSet":{"Action":[]},"ShowDomainNameMismatchesSet":{"Action":[]},"ShowUnpairedInsertionDeletionsSet":{"Action":[]},"OxviewShowSet":{"Action":[]},"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"Action":[]},"DisplayMajorTicksOffsetsSet":{"Action":[]},"SetDisplayMajorTickWidthsAllHelices":{"Action":[]},"SetDisplayMajorTickWidths":{"Action":[]},"SetOnlyDisplaySelectedHelices":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"InvertYSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"DynamicHelixUpdateSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"WarnOnExitIfUnsavedSet":{"Action":[]},"LoadingDialogShow":{"Action":[]},"LoadingDialogHide":{"Action":[]},"CopySelectedStandsToClipboardImage":{"Action":[]},"SaveDNAFile":{"Action":[]},"LoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PrepareToLoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"NewDesignSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ExportCadnanoFile":{"Action":[]},"ExportCodenanoFile":{"Action":[]},"ShowMouseoverDataSet":{"Action":[]},"MouseoverDataClear":{"Action":[]},"MouseoverDataUpdate":{"Action":[]},"HelixRollSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixRollSetAtOther":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RelaxHelixRolls":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ErrorMessageSet":{"Action":[]},"SelectionBoxCreate":{"Action":[]},"SelectionBoxSizeChange":{"FastAction":[],"Action":[]},"SelectionBoxRemove":{"Action":[]},"SelectionRopeCreate":{"Action":[]},"SelectionRopeMouseMove":{"FastAction":[],"Action":[]},"SelectionRopeAddPoint":{"Action":[]},"SelectionRopeRemove":{"Action":[]},"MouseGridPositionSideUpdate":{"Action":[]},"MouseGridPositionSideClear":{"Action":[]},"MousePositionSideUpdate":{"Action":[]},"MousePositionSideClear":{"Action":[]},"GeometrySet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SelectionBoxIntersectionRuleSet":{"Action":[]},"Select":{"Action":[]},"SelectionsClear":{"Action":[]},"SelectionsAdjustMainView":{"Action":[]},"SelectOrToggleItems":{"Action":[]},"SelectAll":{"Action":[]},"SelectAllSelectable":{"Action":[]},"SelectAllWithSameAsSelected":{"Action":[]},"DeleteAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemoveAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelect":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsClear":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsAdjust":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIndividualAction":{"Action":[]},"HelixMajorTickDistanceChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickDistanceChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickStartChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickStartChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTicksChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTicksChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIdxsChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMaxOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAllSameMax":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ShowMouseoverRectSet":{"Action":[]},"ShowMouseoverRectToggle":{"Action":[]},"ExportDNA":{"Action":[]},"ExportCanDoDNA":{"Action":[]},"ExportSvg":{"Action":[]},"ExportSvgTextSeparatelySet":{"Action":[]},"StrandPartAction":{"Action":[]},"ExtensionDisplayLengthAngleSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ExtensionNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionsNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"LoopoutLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"LoopoutsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ConvertCrossoverToLoopout":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ConvertCrossoversToLoopouts":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Nick":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Ligate":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByCrossover":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveLinker":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByMultipleCrossovers":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandsReflect":{"Action":[]},"ReplaceStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandCreateStart":{"Action":[]},"StrandCreateAdjustOffset":{"Action":[]},"StrandCreateStop":{"Action":[]},"StrandCreateCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PotentialCrossoverCreate":{"Action":[]},"PotentialCrossoverMove":{"FastAction":[],"Action":[]},"PotentialCrossoverRemove":{"Action":[]},"ManualPasteInitiate":{"Action":[]},"AutoPasteInitiate":{"Action":[]},"CopySelectedStrands":{"Action":[]},"StrandsMoveStart":{"Action":[]},"StrandsMoveStartSelectedStrands":{"Action":[]},"StrandsMoveStop":{"Action":[]},"StrandsMoveAdjustAddress":{"Action":[]},"StrandsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DomainsMoveStartSelectedDomains":{"Action":[]},"DomainsMoveStop":{"Action":[]},"DomainsMoveAdjustAddress":{"Action":[]},"DomainsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAEndsMoveStart":{"Action":[]},"DNAEndsMoveSetSelectedEnds":{"Action":[]},"DNAEndsMoveAdjustOffset":{"FastAction":[],"Action":[]},"DNAEndsMoveStop":{"Action":[]},"DNAEndsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAExtensionsMoveStart":{"Action":[]},"DNAExtensionsMoveSetSelectedExtensionEnds":{"Action":[]},"DNAExtensionsMoveAdjustPosition":{"FastAction":[],"Action":[]},"DNAExtensionsMoveStop":{"Action":[]},"DNAExtensionsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixGroupMoveStart":{"Action":[]},"HelixGroupMoveCreate":{"Action":[]},"HelixGroupMoveAdjustTranslation":{"FastAction":[],"Action":[]},"HelixGroupMoveStop":{"Action":[]},"HelixGroupMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNAComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RemoveDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"InsertionOrDeletionAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionLengthChange":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DeletionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"DeletionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ScalePurificationVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"VendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationConnectorLengthSet":{"Action":[]},"ModificationEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"Modifications5PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Modifications3PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ModificationsInternalEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GridChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupDisplayedChange":{"Action":[]},"GroupAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveHelicesToGroup":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DialogShow":{"Action":[]},"DialogHide":{"Action":[]},"ContextMenuShow":{"Action":[]},"ContextMenuHide":{"Action":[]},"StrandOrSubstrandColorPickerShow":{"Action":[]},"StrandOrSubstrandColorPickerHide":{"Action":[]},"SingleStrandAction":{"Action":[]},"ScaffoldSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandOrSubstrandColorSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandPasteKeepColorSet":{"Action":[]},"ExampleDesignsLoad":{"Action":[]},"BasePairTypeSet":{"Action":[]},"HelixPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixGridPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"InlineInsertionsDeletions":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DefaultCrossoverTypeForSettingHelixRollsSet":{"Action":[]},"AutofitSet":{"Action":[]},"ShowHelixCirclesMainViewSet":{"Action":[]},"ShowHelixComponentsMainViewSet":{"Action":[]},"ShowEditMenuToggle":{"Action":[]},"ShowGridCoordinatesSideViewSet":{"Action":[]},"ShowAxisArrowsSet":{"Action":[]},"LoadDnaSequenceImageUri":{"Action":[]},"SetIsZoomAboveThreshold":{"Action":[]},"SetExportSvgActionDelayedForPngCache":{"Action":[]},"ShowBasePairLinesSet":{"Action":[]},"ShowBasePairLinesWithMismatchesSet":{"Action":[]},"ShowSliceBarSet":{"Action":[]},"SliceBarOffsetSet":{"Action":[]},"DisablePngCachingDnaSequencesSet":{"Action":[]},"RetainStrandColorOnSelectionSet":{"Action":[]},"DisplayReverseDNARightSideUpSet":{"Action":[]},"SliceBarMoveStart":{"Action":[]},"SliceBarMoveStop":{"Action":[]},"Autostaple":{"Action":[]},"Autobreak":{"Action":[]},"ZoomSpeedSet":{"Action":[]},"OxdnaExport":{"Action":[]},"OxviewExport":{"Action":[]},"OxExportOnlySelectedStrandsSet":{"Action":[]},"_$UndoSerializer":{"StructuredSerializer":["Undo*"],"Serializer":["Undo*"]},"_$RedoSerializer":{"StructuredSerializer":["Redo*"],"Serializer":["Redo*"]},"_$UndoRedoClearSerializer":{"StructuredSerializer":["UndoRedoClear*"],"Serializer":["UndoRedoClear*"]},"_$BatchActionSerializer":{"StructuredSerializer":["BatchAction*"],"Serializer":["BatchAction*"]},"_$ThrottledActionFastSerializer":{"StructuredSerializer":["ThrottledActionFast*"],"Serializer":["ThrottledActionFast*"]},"_$ThrottledActionNonFastSerializer":{"StructuredSerializer":["ThrottledActionNonFast*"],"Serializer":["ThrottledActionNonFast*"]},"_$LocalStorageDesignChoiceSetSerializer":{"StructuredSerializer":["LocalStorageDesignChoiceSet*"],"Serializer":["LocalStorageDesignChoiceSet*"]},"_$ResetLocalStorageSerializer":{"StructuredSerializer":["ResetLocalStorage*"],"Serializer":["ResetLocalStorage*"]},"_$ClearHelixSelectionWhenLoadingNewDesignSetSerializer":{"StructuredSerializer":["ClearHelixSelectionWhenLoadingNewDesignSet*"],"Serializer":["ClearHelixSelectionWhenLoadingNewDesignSet*"]},"_$EditModeToggleSerializer":{"StructuredSerializer":["EditModeToggle*"],"Serializer":["EditModeToggle*"]},"_$EditModesSetSerializer":{"StructuredSerializer":["EditModesSet*"],"Serializer":["EditModesSet*"]},"_$SelectModeToggleSerializer":{"StructuredSerializer":["SelectModeToggle*"],"Serializer":["SelectModeToggle*"]},"_$SelectModesAddSerializer":{"StructuredSerializer":["SelectModesAdd*"],"Serializer":["SelectModesAdd*"]},"_$SelectModesSetSerializer":{"StructuredSerializer":["SelectModesSet*"],"Serializer":["SelectModesSet*"]},"_$StrandNameSetSerializer":{"StructuredSerializer":["StrandNameSet*"],"Serializer":["StrandNameSet*"]},"_$StrandLabelSetSerializer":{"StructuredSerializer":["StrandLabelSet*"],"Serializer":["StrandLabelSet*"]},"_$SubstrandNameSetSerializer":{"StructuredSerializer":["SubstrandNameSet*"],"Serializer":["SubstrandNameSet*"]},"_$SubstrandLabelSetSerializer":{"StructuredSerializer":["SubstrandLabelSet*"],"Serializer":["SubstrandLabelSet*"]},"_$SetAppUIStateStorableSerializer":{"StructuredSerializer":["SetAppUIStateStorable*"],"Serializer":["SetAppUIStateStorable*"]},"_$ShowDNASetSerializer":{"StructuredSerializer":["ShowDNASet*"],"Serializer":["ShowDNASet*"]},"_$ShowDomainNamesSetSerializer":{"StructuredSerializer":["ShowDomainNamesSet*"],"Serializer":["ShowDomainNamesSet*"]},"_$ShowStrandNamesSetSerializer":{"StructuredSerializer":["ShowStrandNamesSet*"],"Serializer":["ShowStrandNamesSet*"]},"_$ShowStrandLabelsSetSerializer":{"StructuredSerializer":["ShowStrandLabelsSet*"],"Serializer":["ShowStrandLabelsSet*"]},"_$ShowDomainLabelsSetSerializer":{"StructuredSerializer":["ShowDomainLabelsSet*"],"Serializer":["ShowDomainLabelsSet*"]},"_$ShowModificationsSetSerializer":{"StructuredSerializer":["ShowModificationsSet*"],"Serializer":["ShowModificationsSet*"]},"_$DomainNameFontSizeSetSerializer":{"StructuredSerializer":["DomainNameFontSizeSet*"],"Serializer":["DomainNameFontSizeSet*"]},"_$DomainLabelFontSizeSetSerializer":{"StructuredSerializer":["DomainLabelFontSizeSet*"],"Serializer":["DomainLabelFontSizeSet*"]},"_$StrandNameFontSizeSetSerializer":{"StructuredSerializer":["StrandNameFontSizeSet*"],"Serializer":["StrandNameFontSizeSet*"]},"_$StrandLabelFontSizeSetSerializer":{"StructuredSerializer":["StrandLabelFontSizeSet*"],"Serializer":["StrandLabelFontSizeSet*"]},"_$ModificationFontSizeSetSerializer":{"StructuredSerializer":["ModificationFontSizeSet*"],"Serializer":["ModificationFontSizeSet*"]},"_$MajorTickOffsetFontSizeSetSerializer":{"StructuredSerializer":["MajorTickOffsetFontSizeSet*"],"Serializer":["MajorTickOffsetFontSizeSet*"]},"_$MajorTickWidthFontSizeSetSerializer":{"StructuredSerializer":["MajorTickWidthFontSizeSet*"],"Serializer":["MajorTickWidthFontSizeSet*"]},"_$SetModificationDisplayConnectorSerializer":{"StructuredSerializer":["SetModificationDisplayConnector*"],"Serializer":["SetModificationDisplayConnector*"]},"_$ShowMismatchesSetSerializer":{"StructuredSerializer":["ShowMismatchesSet*"],"Serializer":["ShowMismatchesSet*"]},"_$ShowDomainNameMismatchesSetSerializer":{"StructuredSerializer":["ShowDomainNameMismatchesSet*"],"Serializer":["ShowDomainNameMismatchesSet*"]},"_$ShowUnpairedInsertionDeletionsSetSerializer":{"StructuredSerializer":["ShowUnpairedInsertionDeletionsSet*"],"Serializer":["ShowUnpairedInsertionDeletionsSet*"]},"_$OxviewShowSetSerializer":{"StructuredSerializer":["OxviewShowSet*"],"Serializer":["OxviewShowSet*"]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer":{"StructuredSerializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"],"Serializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"]},"_$DisplayMajorTicksOffsetsSetSerializer":{"StructuredSerializer":["DisplayMajorTicksOffsetsSet*"],"Serializer":["DisplayMajorTicksOffsetsSet*"]},"_$SetDisplayMajorTickWidthsAllHelicesSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidthsAllHelices*"],"Serializer":["SetDisplayMajorTickWidthsAllHelices*"]},"_$SetDisplayMajorTickWidthsSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidths*"],"Serializer":["SetDisplayMajorTickWidths*"]},"_$SetOnlyDisplaySelectedHelicesSerializer":{"StructuredSerializer":["SetOnlyDisplaySelectedHelices*"],"Serializer":["SetOnlyDisplaySelectedHelices*"]},"_$InvertYSetSerializer":{"StructuredSerializer":["InvertYSet*"],"Serializer":["InvertYSet*"]},"_$DynamicHelixUpdateSetSerializer":{"StructuredSerializer":["DynamicHelixUpdateSet*"],"Serializer":["DynamicHelixUpdateSet*"]},"_$WarnOnExitIfUnsavedSetSerializer":{"StructuredSerializer":["WarnOnExitIfUnsavedSet*"],"Serializer":["WarnOnExitIfUnsavedSet*"]},"_$LoadingDialogShowSerializer":{"StructuredSerializer":["LoadingDialogShow*"],"Serializer":["LoadingDialogShow*"]},"_$LoadingDialogHideSerializer":{"StructuredSerializer":["LoadingDialogHide*"],"Serializer":["LoadingDialogHide*"]},"_$CopySelectedStandsToClipboardImageSerializer":{"StructuredSerializer":["CopySelectedStandsToClipboardImage*"],"Serializer":["CopySelectedStandsToClipboardImage*"]},"_$SaveDNAFileSerializer":{"StructuredSerializer":["SaveDNAFile*"],"Serializer":["SaveDNAFile*"]},"_$LoadDNAFileSerializer":{"StructuredSerializer":["LoadDNAFile*"],"Serializer":["LoadDNAFile*"]},"_$PrepareToLoadDNAFileSerializer":{"StructuredSerializer":["PrepareToLoadDNAFile*"],"Serializer":["PrepareToLoadDNAFile*"]},"_$NewDesignSetSerializer":{"StructuredSerializer":["NewDesignSet*"],"Serializer":["NewDesignSet*"]},"_$ExportCadnanoFileSerializer":{"StructuredSerializer":["ExportCadnanoFile*"],"Serializer":["ExportCadnanoFile*"]},"_$ExportCodenanoFileSerializer":{"StructuredSerializer":["ExportCodenanoFile*"],"Serializer":["ExportCodenanoFile*"]},"_$ShowMouseoverDataSetSerializer":{"StructuredSerializer":["ShowMouseoverDataSet*"],"Serializer":["ShowMouseoverDataSet*"]},"_$MouseoverDataClearSerializer":{"StructuredSerializer":["MouseoverDataClear*"],"Serializer":["MouseoverDataClear*"]},"_$MouseoverDataUpdateSerializer":{"StructuredSerializer":["MouseoverDataUpdate*"],"Serializer":["MouseoverDataUpdate*"]},"_$HelixRollSetSerializer":{"StructuredSerializer":["HelixRollSet*"],"Serializer":["HelixRollSet*"]},"_$HelixRollSetAtOtherSerializer":{"StructuredSerializer":["HelixRollSetAtOther*"],"Serializer":["HelixRollSetAtOther*"]},"_$RelaxHelixRollsSerializer":{"StructuredSerializer":["RelaxHelixRolls*"],"Serializer":["RelaxHelixRolls*"]},"_$ErrorMessageSetSerializer":{"StructuredSerializer":["ErrorMessageSet*"],"Serializer":["ErrorMessageSet*"]},"_$SelectionBoxCreateSerializer":{"StructuredSerializer":["SelectionBoxCreate*"],"Serializer":["SelectionBoxCreate*"]},"_$SelectionBoxSizeChangeSerializer":{"StructuredSerializer":["SelectionBoxSizeChange*"],"Serializer":["SelectionBoxSizeChange*"]},"_$SelectionBoxRemoveSerializer":{"StructuredSerializer":["SelectionBoxRemove*"],"Serializer":["SelectionBoxRemove*"]},"_$SelectionRopeCreateSerializer":{"StructuredSerializer":["SelectionRopeCreate*"],"Serializer":["SelectionRopeCreate*"]},"_$SelectionRopeMouseMoveSerializer":{"StructuredSerializer":["SelectionRopeMouseMove*"],"Serializer":["SelectionRopeMouseMove*"]},"_$SelectionRopeAddPointSerializer":{"StructuredSerializer":["SelectionRopeAddPoint*"],"Serializer":["SelectionRopeAddPoint*"]},"_$SelectionRopeRemoveSerializer":{"StructuredSerializer":["SelectionRopeRemove*"],"Serializer":["SelectionRopeRemove*"]},"_$MouseGridPositionSideUpdateSerializer":{"StructuredSerializer":["MouseGridPositionSideUpdate*"],"Serializer":["MouseGridPositionSideUpdate*"]},"_$MouseGridPositionSideClearSerializer":{"StructuredSerializer":["MouseGridPositionSideClear*"],"Serializer":["MouseGridPositionSideClear*"]},"_$MousePositionSideUpdateSerializer":{"StructuredSerializer":["MousePositionSideUpdate*"],"Serializer":["MousePositionSideUpdate*"]},"_$MousePositionSideClearSerializer":{"StructuredSerializer":["MousePositionSideClear*"],"Serializer":["MousePositionSideClear*"]},"_$GeometrySetSerializer":{"StructuredSerializer":["GeometrySet*"],"Serializer":["GeometrySet*"]},"_$SelectionBoxIntersectionRuleSetSerializer":{"StructuredSerializer":["SelectionBoxIntersectionRuleSet*"],"Serializer":["SelectionBoxIntersectionRuleSet*"]},"_$SelectSerializer":{"StructuredSerializer":["Select*"],"Serializer":["Select*"]},"_$SelectionsClearSerializer":{"StructuredSerializer":["SelectionsClear*"],"Serializer":["SelectionsClear*"]},"_$SelectionsAdjustMainViewSerializer":{"StructuredSerializer":["SelectionsAdjustMainView*"],"Serializer":["SelectionsAdjustMainView*"]},"_$SelectOrToggleItemsSerializer":{"StructuredSerializer":["SelectOrToggleItems*"],"Serializer":["SelectOrToggleItems*"]},"_$SelectAllSerializer":{"StructuredSerializer":["SelectAll*"],"Serializer":["SelectAll*"]},"_$SelectAllSelectableSerializer":{"StructuredSerializer":["SelectAllSelectable*"],"Serializer":["SelectAllSelectable*"]},"_$SelectAllWithSameAsSelectedSerializer":{"StructuredSerializer":["SelectAllWithSameAsSelected*"],"Serializer":["SelectAllWithSameAsSelected*"]},"_$DeleteAllSelectedSerializer":{"StructuredSerializer":["DeleteAllSelected*"],"Serializer":["DeleteAllSelected*"]},"_$HelixAddSerializer":{"StructuredSerializer":["HelixAdd*"],"Serializer":["HelixAdd*"]},"_$HelixRemoveSerializer":{"StructuredSerializer":["HelixRemove*"],"Serializer":["HelixRemove*"]},"_$HelixRemoveAllSelectedSerializer":{"StructuredSerializer":["HelixRemoveAllSelected*"],"Serializer":["HelixRemoveAllSelected*"]},"_$HelixSelectSerializer":{"StructuredSerializer":["HelixSelect*"],"Serializer":["HelixSelect*"]},"_$HelixSelectionsClearSerializer":{"StructuredSerializer":["HelixSelectionsClear*"],"Serializer":["HelixSelectionsClear*"]},"_$HelixSelectionsAdjustSerializer":{"StructuredSerializer":["HelixSelectionsAdjust*"],"Serializer":["HelixSelectionsAdjust*"]},"_$HelixMajorTickDistanceChangeSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChange*"],"Serializer":["HelixMajorTickDistanceChange*"]},"_$HelixMajorTickDistanceChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChangeAll*"],"Serializer":["HelixMajorTickDistanceChangeAll*"]},"_$HelixMajorTickStartChangeSerializer":{"StructuredSerializer":["HelixMajorTickStartChange*"],"Serializer":["HelixMajorTickStartChange*"]},"_$HelixMajorTickStartChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickStartChangeAll*"],"Serializer":["HelixMajorTickStartChangeAll*"]},"_$HelixMajorTicksChangeSerializer":{"StructuredSerializer":["HelixMajorTicksChange*"],"Serializer":["HelixMajorTicksChange*"]},"_$HelixMajorTicksChangeAllSerializer":{"StructuredSerializer":["HelixMajorTicksChangeAll*"],"Serializer":["HelixMajorTicksChangeAll*"]},"_$HelixMajorTickPeriodicDistancesChangeSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChange*"],"Serializer":["HelixMajorTickPeriodicDistancesChange*"]},"_$HelixMajorTickPeriodicDistancesChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChangeAll*"],"Serializer":["HelixMajorTickPeriodicDistancesChangeAll*"]},"_$HelixIdxsChangeSerializer":{"StructuredSerializer":["HelixIdxsChange*"],"Serializer":["HelixIdxsChange*"]},"_$HelixOffsetChangeSerializer":{"StructuredSerializer":["HelixOffsetChange*"],"Serializer":["HelixOffsetChange*"]},"_$HelixMinOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomains*"],"Serializer":["HelixMinOffsetSetByDomains*"]},"_$HelixMaxOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomains*"],"Serializer":["HelixMaxOffsetSetByDomains*"]},"_$HelixMinOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomainsAll*"],"Serializer":["HelixMinOffsetSetByDomainsAll*"]},"_$HelixMaxOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAll*"],"Serializer":["HelixMaxOffsetSetByDomainsAll*"]},"_$HelixMaxOffsetSetByDomainsAllSameMaxSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAllSameMax*"],"Serializer":["HelixMaxOffsetSetByDomainsAllSameMax*"]},"_$HelixOffsetChangeAllSerializer":{"StructuredSerializer":["HelixOffsetChangeAll*"],"Serializer":["HelixOffsetChangeAll*"]},"_$ShowMouseoverRectSetSerializer":{"StructuredSerializer":["ShowMouseoverRectSet*"],"Serializer":["ShowMouseoverRectSet*"]},"_$ShowMouseoverRectToggleSerializer":{"StructuredSerializer":["ShowMouseoverRectToggle*"],"Serializer":["ShowMouseoverRectToggle*"]},"_$ExportDNASerializer":{"StructuredSerializer":["ExportDNA*"],"Serializer":["ExportDNA*"]},"_$ExportSvgSerializer":{"StructuredSerializer":["ExportSvg*"],"Serializer":["ExportSvg*"]},"_$ExportSvgTextSeparatelySetSerializer":{"StructuredSerializer":["ExportSvgTextSeparatelySet*"],"Serializer":["ExportSvgTextSeparatelySet*"]},"_$ExtensionDisplayLengthAngleSetSerializer":{"StructuredSerializer":["ExtensionDisplayLengthAngleSet*"],"Serializer":["ExtensionDisplayLengthAngleSet*"]},"_$ExtensionAddSerializer":{"StructuredSerializer":["ExtensionAdd*"],"Serializer":["ExtensionAdd*"]},"_$ExtensionNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionNumBasesChange*"],"Serializer":["ExtensionNumBasesChange*"]},"_$ExtensionsNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionsNumBasesChange*"],"Serializer":["ExtensionsNumBasesChange*"]},"_$LoopoutLengthChangeSerializer":{"StructuredSerializer":["LoopoutLengthChange*"],"Serializer":["LoopoutLengthChange*"]},"_$LoopoutsLengthChangeSerializer":{"StructuredSerializer":["LoopoutsLengthChange*"],"Serializer":["LoopoutsLengthChange*"]},"_$ConvertCrossoverToLoopoutSerializer":{"StructuredSerializer":["ConvertCrossoverToLoopout*"],"Serializer":["ConvertCrossoverToLoopout*"]},"_$ConvertCrossoversToLoopoutsSerializer":{"StructuredSerializer":["ConvertCrossoversToLoopouts*"],"Serializer":["ConvertCrossoversToLoopouts*"]},"_$NickSerializer":{"StructuredSerializer":["Nick*"],"Serializer":["Nick*"]},"_$LigateSerializer":{"StructuredSerializer":["Ligate*"],"Serializer":["Ligate*"]},"_$JoinStrandsByCrossoverSerializer":{"StructuredSerializer":["JoinStrandsByCrossover*"],"Serializer":["JoinStrandsByCrossover*"]},"_$MoveLinkerSerializer":{"StructuredSerializer":["MoveLinker*"],"Serializer":["MoveLinker*"]},"_$JoinStrandsByMultipleCrossoversSerializer":{"StructuredSerializer":["JoinStrandsByMultipleCrossovers*"],"Serializer":["JoinStrandsByMultipleCrossovers*"]},"_$StrandsReflectSerializer":{"StructuredSerializer":["StrandsReflect*"],"Serializer":["StrandsReflect*"]},"_$ReplaceStrandsSerializer":{"StructuredSerializer":["ReplaceStrands*"],"Serializer":["ReplaceStrands*"]},"_$StrandCreateStartSerializer":{"StructuredSerializer":["StrandCreateStart*"],"Serializer":["StrandCreateStart*"]},"_$StrandCreateAdjustOffsetSerializer":{"StructuredSerializer":["StrandCreateAdjustOffset*"],"Serializer":["StrandCreateAdjustOffset*"]},"_$StrandCreateStopSerializer":{"StructuredSerializer":["StrandCreateStop*"],"Serializer":["StrandCreateStop*"]},"_$StrandCreateCommitSerializer":{"StructuredSerializer":["StrandCreateCommit*"],"Serializer":["StrandCreateCommit*"]},"_$PotentialCrossoverCreateSerializer":{"StructuredSerializer":["PotentialCrossoverCreate*"],"Serializer":["PotentialCrossoverCreate*"]},"_$PotentialCrossoverMoveSerializer":{"StructuredSerializer":["PotentialCrossoverMove*"],"Serializer":["PotentialCrossoverMove*"]},"_$PotentialCrossoverRemoveSerializer":{"StructuredSerializer":["PotentialCrossoverRemove*"],"Serializer":["PotentialCrossoverRemove*"]},"_$ManualPasteInitiateSerializer":{"StructuredSerializer":["ManualPasteInitiate*"],"Serializer":["ManualPasteInitiate*"]},"_$AutoPasteInitiateSerializer":{"StructuredSerializer":["AutoPasteInitiate*"],"Serializer":["AutoPasteInitiate*"]},"_$CopySelectedStrandsSerializer":{"StructuredSerializer":["CopySelectedStrands*"],"Serializer":["CopySelectedStrands*"]},"_$StrandsMoveStartSerializer":{"StructuredSerializer":["StrandsMoveStart*"],"Serializer":["StrandsMoveStart*"]},"_$StrandsMoveStartSelectedStrandsSerializer":{"StructuredSerializer":["StrandsMoveStartSelectedStrands*"],"Serializer":["StrandsMoveStartSelectedStrands*"]},"_$StrandsMoveStopSerializer":{"StructuredSerializer":["StrandsMoveStop*"],"Serializer":["StrandsMoveStop*"]},"_$StrandsMoveAdjustAddressSerializer":{"StructuredSerializer":["StrandsMoveAdjustAddress*"],"Serializer":["StrandsMoveAdjustAddress*"]},"_$StrandsMoveCommitSerializer":{"StructuredSerializer":["StrandsMoveCommit*"],"Serializer":["StrandsMoveCommit*"]},"_$DomainsMoveStartSelectedDomainsSerializer":{"StructuredSerializer":["DomainsMoveStartSelectedDomains*"],"Serializer":["DomainsMoveStartSelectedDomains*"]},"_$DomainsMoveStopSerializer":{"StructuredSerializer":["DomainsMoveStop*"],"Serializer":["DomainsMoveStop*"]},"_$DomainsMoveAdjustAddressSerializer":{"StructuredSerializer":["DomainsMoveAdjustAddress*"],"Serializer":["DomainsMoveAdjustAddress*"]},"_$DomainsMoveCommitSerializer":{"StructuredSerializer":["DomainsMoveCommit*"],"Serializer":["DomainsMoveCommit*"]},"_$DNAEndsMoveStartSerializer":{"StructuredSerializer":["DNAEndsMoveStart*"],"Serializer":["DNAEndsMoveStart*"]},"_$DNAEndsMoveSetSelectedEndsSerializer":{"StructuredSerializer":["DNAEndsMoveSetSelectedEnds*"],"Serializer":["DNAEndsMoveSetSelectedEnds*"]},"_$DNAEndsMoveAdjustOffsetSerializer":{"StructuredSerializer":["DNAEndsMoveAdjustOffset*"],"Serializer":["DNAEndsMoveAdjustOffset*"]},"_$DNAEndsMoveStopSerializer":{"StructuredSerializer":["DNAEndsMoveStop*"],"Serializer":["DNAEndsMoveStop*"]},"_$DNAEndsMoveCommitSerializer":{"StructuredSerializer":["DNAEndsMoveCommit*"],"Serializer":["DNAEndsMoveCommit*"]},"_$DNAExtensionsMoveStartSerializer":{"StructuredSerializer":["DNAExtensionsMoveStart*"],"Serializer":["DNAExtensionsMoveStart*"]},"_$DNAExtensionsMoveSetSelectedExtensionEndsSerializer":{"StructuredSerializer":["DNAExtensionsMoveSetSelectedExtensionEnds*"],"Serializer":["DNAExtensionsMoveSetSelectedExtensionEnds*"]},"_$DNAExtensionsMoveAdjustPositionSerializer":{"StructuredSerializer":["DNAExtensionsMoveAdjustPosition*"],"Serializer":["DNAExtensionsMoveAdjustPosition*"]},"_$DNAExtensionsMoveStopSerializer":{"StructuredSerializer":["DNAExtensionsMoveStop*"],"Serializer":["DNAExtensionsMoveStop*"]},"_$DNAExtensionsMoveCommitSerializer":{"StructuredSerializer":["DNAExtensionsMoveCommit*"],"Serializer":["DNAExtensionsMoveCommit*"]},"_$HelixGroupMoveStartSerializer":{"StructuredSerializer":["HelixGroupMoveStart*"],"Serializer":["HelixGroupMoveStart*"]},"_$HelixGroupMoveCreateSerializer":{"StructuredSerializer":["HelixGroupMoveCreate*"],"Serializer":["HelixGroupMoveCreate*"]},"_$HelixGroupMoveAdjustTranslationSerializer":{"StructuredSerializer":["HelixGroupMoveAdjustTranslation*"],"Serializer":["HelixGroupMoveAdjustTranslation*"]},"_$HelixGroupMoveStopSerializer":{"StructuredSerializer":["HelixGroupMoveStop*"],"Serializer":["HelixGroupMoveStop*"]},"_$HelixGroupMoveCommitSerializer":{"StructuredSerializer":["HelixGroupMoveCommit*"],"Serializer":["HelixGroupMoveCommit*"]},"_$AssignDNASerializer":{"StructuredSerializer":["AssignDNA*"],"Serializer":["AssignDNA*"]},"_$AssignDNAComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDNAComplementFromBoundStrands*"],"Serializer":["AssignDNAComplementFromBoundStrands*"]},"_$AssignDomainNameComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundStrands*"],"Serializer":["AssignDomainNameComplementFromBoundStrands*"]},"_$AssignDomainNameComplementFromBoundDomainsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundDomains*"],"Serializer":["AssignDomainNameComplementFromBoundDomains*"]},"_$RemoveDNASerializer":{"StructuredSerializer":["RemoveDNA*"],"Serializer":["RemoveDNA*"]},"_$InsertionAddSerializer":{"StructuredSerializer":["InsertionAdd*"],"Serializer":["InsertionAdd*"]},"_$InsertionLengthChangeSerializer":{"StructuredSerializer":["InsertionLengthChange*"],"Serializer":["InsertionLengthChange*"]},"_$InsertionsLengthChangeSerializer":{"StructuredSerializer":["InsertionsLengthChange*"],"Serializer":["InsertionsLengthChange*"]},"_$DeletionAddSerializer":{"StructuredSerializer":["DeletionAdd*"],"Serializer":["DeletionAdd*"]},"_$InsertionRemoveSerializer":{"StructuredSerializer":["InsertionRemove*"],"Serializer":["InsertionRemove*"]},"_$DeletionRemoveSerializer":{"StructuredSerializer":["DeletionRemove*"],"Serializer":["DeletionRemove*"]},"_$ScalePurificationVendorFieldsAssignSerializer":{"StructuredSerializer":["ScalePurificationVendorFieldsAssign*"],"Serializer":["ScalePurificationVendorFieldsAssign*"]},"_$PlateWellVendorFieldsAssignSerializer":{"StructuredSerializer":["PlateWellVendorFieldsAssign*"],"Serializer":["PlateWellVendorFieldsAssign*"]},"_$PlateWellVendorFieldsRemoveSerializer":{"StructuredSerializer":["PlateWellVendorFieldsRemove*"],"Serializer":["PlateWellVendorFieldsRemove*"]},"_$VendorFieldsRemoveSerializer":{"StructuredSerializer":["VendorFieldsRemove*"],"Serializer":["VendorFieldsRemove*"]},"_$ModificationAddSerializer":{"StructuredSerializer":["ModificationAdd*"],"Serializer":["ModificationAdd*"]},"_$ModificationRemoveSerializer":{"StructuredSerializer":["ModificationRemove*"],"Serializer":["ModificationRemove*"]},"_$ModificationConnectorLengthSetSerializer":{"StructuredSerializer":["ModificationConnectorLengthSet*"],"Serializer":["ModificationConnectorLengthSet*"]},"_$ModificationEditSerializer":{"StructuredSerializer":["ModificationEdit*"],"Serializer":["ModificationEdit*"]},"_$Modifications5PrimeEditSerializer":{"StructuredSerializer":["Modifications5PrimeEdit*"],"Serializer":["Modifications5PrimeEdit*"]},"_$Modifications3PrimeEditSerializer":{"StructuredSerializer":["Modifications3PrimeEdit*"],"Serializer":["Modifications3PrimeEdit*"]},"_$ModificationsInternalEditSerializer":{"StructuredSerializer":["ModificationsInternalEdit*"],"Serializer":["ModificationsInternalEdit*"]},"_$GridChangeSerializer":{"StructuredSerializer":["GridChange*"],"Serializer":["GridChange*"]},"_$GroupDisplayedChangeSerializer":{"StructuredSerializer":["GroupDisplayedChange*"],"Serializer":["GroupDisplayedChange*"]},"_$GroupAddSerializer":{"StructuredSerializer":["GroupAdd*"],"Serializer":["GroupAdd*"]},"_$GroupRemoveSerializer":{"StructuredSerializer":["GroupRemove*"],"Serializer":["GroupRemove*"]},"_$GroupChangeSerializer":{"StructuredSerializer":["GroupChange*"],"Serializer":["GroupChange*"]},"_$MoveHelicesToGroupSerializer":{"StructuredSerializer":["MoveHelicesToGroup*"],"Serializer":["MoveHelicesToGroup*"]},"_$DialogShowSerializer":{"StructuredSerializer":["DialogShow*"],"Serializer":["DialogShow*"]},"_$DialogHideSerializer":{"StructuredSerializer":["DialogHide*"],"Serializer":["DialogHide*"]},"_$ContextMenuShowSerializer":{"StructuredSerializer":["ContextMenuShow*"],"Serializer":["ContextMenuShow*"]},"_$ContextMenuHideSerializer":{"StructuredSerializer":["ContextMenuHide*"],"Serializer":["ContextMenuHide*"]},"_$StrandOrSubstrandColorPickerShowSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerShow*"],"Serializer":["StrandOrSubstrandColorPickerShow*"]},"_$StrandOrSubstrandColorPickerHideSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerHide*"],"Serializer":["StrandOrSubstrandColorPickerHide*"]},"_$ScaffoldSetSerializer":{"StructuredSerializer":["ScaffoldSet*"],"Serializer":["ScaffoldSet*"]},"_$StrandOrSubstrandColorSetSerializer":{"StructuredSerializer":["StrandOrSubstrandColorSet*"],"Serializer":["StrandOrSubstrandColorSet*"]},"_$StrandPasteKeepColorSetSerializer":{"StructuredSerializer":["StrandPasteKeepColorSet*"],"Serializer":["StrandPasteKeepColorSet*"]},"_$ExampleDesignsLoadSerializer":{"StructuredSerializer":["ExampleDesignsLoad*"],"Serializer":["ExampleDesignsLoad*"]},"_$BasePairTypeSetSerializer":{"StructuredSerializer":["BasePairTypeSet*"],"Serializer":["BasePairTypeSet*"]},"_$HelixPositionSetSerializer":{"StructuredSerializer":["HelixPositionSet*"],"Serializer":["HelixPositionSet*"]},"_$HelixGridPositionSetSerializer":{"StructuredSerializer":["HelixGridPositionSet*"],"Serializer":["HelixGridPositionSet*"]},"_$HelicesPositionsSetBasedOnCrossoversSerializer":{"StructuredSerializer":["HelicesPositionsSetBasedOnCrossovers*"],"Serializer":["HelicesPositionsSetBasedOnCrossovers*"]},"_$InlineInsertionsDeletionsSerializer":{"StructuredSerializer":["InlineInsertionsDeletions*"],"Serializer":["InlineInsertionsDeletions*"]},"_$DefaultCrossoverTypeForSettingHelixRollsSetSerializer":{"StructuredSerializer":["DefaultCrossoverTypeForSettingHelixRollsSet*"],"Serializer":["DefaultCrossoverTypeForSettingHelixRollsSet*"]},"_$AutofitSetSerializer":{"StructuredSerializer":["AutofitSet*"],"Serializer":["AutofitSet*"]},"_$ShowHelixCirclesMainViewSetSerializer":{"StructuredSerializer":["ShowHelixCirclesMainViewSet*"],"Serializer":["ShowHelixCirclesMainViewSet*"]},"_$ShowHelixComponentsMainViewSetSerializer":{"StructuredSerializer":["ShowHelixComponentsMainViewSet*"],"Serializer":["ShowHelixComponentsMainViewSet*"]},"_$ShowEditMenuToggleSerializer":{"StructuredSerializer":["ShowEditMenuToggle*"],"Serializer":["ShowEditMenuToggle*"]},"_$ShowGridCoordinatesSideViewSetSerializer":{"StructuredSerializer":["ShowGridCoordinatesSideViewSet*"],"Serializer":["ShowGridCoordinatesSideViewSet*"]},"_$ShowAxisArrowsSetSerializer":{"StructuredSerializer":["ShowAxisArrowsSet*"],"Serializer":["ShowAxisArrowsSet*"]},"_$ShowLoopoutExtensionLengthSetSerializer":{"StructuredSerializer":["ShowLoopoutExtensionLengthSet*"],"Serializer":["ShowLoopoutExtensionLengthSet*"]},"_$LoadDnaSequenceImageUriSerializer":{"StructuredSerializer":["LoadDnaSequenceImageUri*"],"Serializer":["LoadDnaSequenceImageUri*"]},"_$SetIsZoomAboveThresholdSerializer":{"StructuredSerializer":["SetIsZoomAboveThreshold*"],"Serializer":["SetIsZoomAboveThreshold*"]},"_$SetExportSvgActionDelayedForPngCacheSerializer":{"StructuredSerializer":["SetExportSvgActionDelayedForPngCache*"],"Serializer":["SetExportSvgActionDelayedForPngCache*"]},"_$ShowBasePairLinesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesSet*"],"Serializer":["ShowBasePairLinesSet*"]},"_$ShowBasePairLinesWithMismatchesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesWithMismatchesSet*"],"Serializer":["ShowBasePairLinesWithMismatchesSet*"]},"_$ShowSliceBarSetSerializer":{"StructuredSerializer":["ShowSliceBarSet*"],"Serializer":["ShowSliceBarSet*"]},"_$SliceBarOffsetSetSerializer":{"StructuredSerializer":["SliceBarOffsetSet*"],"Serializer":["SliceBarOffsetSet*"]},"_$DisablePngCachingDnaSequencesSetSerializer":{"StructuredSerializer":["DisablePngCachingDnaSequencesSet*"],"Serializer":["DisablePngCachingDnaSequencesSet*"]},"_$RetainStrandColorOnSelectionSetSerializer":{"StructuredSerializer":["RetainStrandColorOnSelectionSet*"],"Serializer":["RetainStrandColorOnSelectionSet*"]},"_$DisplayReverseDNARightSideUpSetSerializer":{"StructuredSerializer":["DisplayReverseDNARightSideUpSet*"],"Serializer":["DisplayReverseDNARightSideUpSet*"]},"_$SliceBarMoveStartSerializer":{"StructuredSerializer":["SliceBarMoveStart*"],"Serializer":["SliceBarMoveStart*"]},"_$SliceBarMoveStopSerializer":{"StructuredSerializer":["SliceBarMoveStop*"],"Serializer":["SliceBarMoveStop*"]},"_$AutostapleSerializer":{"StructuredSerializer":["Autostaple*"],"Serializer":["Autostaple*"]},"_$AutobreakSerializer":{"StructuredSerializer":["Autobreak*"],"Serializer":["Autobreak*"]},"_$ZoomSpeedSetSerializer":{"StructuredSerializer":["ZoomSpeedSet*"],"Serializer":["ZoomSpeedSet*"]},"_$OxdnaExportSerializer":{"StructuredSerializer":["OxdnaExport*"],"Serializer":["OxdnaExport*"]},"_$OxviewExportSerializer":{"StructuredSerializer":["OxviewExport*"],"Serializer":["OxviewExport*"]},"_$OxExportOnlySelectedStrandsSetSerializer":{"StructuredSerializer":["OxExportOnlySelectedStrandsSet*"],"Serializer":["OxExportOnlySelectedStrandsSet*"]},"_$SkipUndo":{"SkipUndo":[],"Action":[]},"_$Undo":{"Undo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Redo":{"Redo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$UndoRedoClear":{"UndoRedoClear":[],"Action":[]},"_$BatchAction":{"BatchAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ThrottledActionFast":{"ThrottledActionFast":[],"ThrottledAction":[],"FastAction":[],"Action":[]},"_$ThrottledActionNonFast":{"ThrottledActionNonFast":[],"ThrottledAction":[],"Action":[]},"_$LocalStorageDesignChoiceSet":{"LocalStorageDesignChoiceSet":[],"Action":[]},"_$ResetLocalStorage":{"ResetLocalStorage":[],"Action":[]},"_$ClearHelixSelectionWhenLoadingNewDesignSet":{"ClearHelixSelectionWhenLoadingNewDesignSet":[],"Action":[]},"_$EditModeToggle":{"EditModeToggle":[],"Action":[]},"_$EditModesSet":{"EditModesSet":[],"Action":[]},"_$SelectModeToggle":{"SelectModeToggle":[],"Action":[]},"_$SelectModesAdd":{"SelectModesAdd":[],"Action":[]},"_$SelectModesSet":{"SelectModesSet":[],"Action":[]},"_$StrandNameSet":{"StrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandLabelSet":{"StrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$SubstrandNameSet":{"SubstrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SubstrandLabelSet":{"SubstrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SetAppUIStateStorable":{"SetAppUIStateStorable":[],"Action":[]},"_$ShowDNASet":{"ShowDNASet":[],"Action":[]},"_$ShowDomainNamesSet":{"ShowDomainNamesSet":[],"Action":[]},"_$ShowStrandNamesSet":{"ShowStrandNamesSet":[],"Action":[]},"_$ShowStrandLabelsSet":{"ShowStrandLabelsSet":[],"Action":[]},"_$ShowDomainLabelsSet":{"ShowDomainLabelsSet":[],"Action":[]},"_$ShowModificationsSet":{"ShowModificationsSet":[],"Action":[]},"_$DomainNameFontSizeSet":{"DomainNameFontSizeSet":[],"Action":[]},"_$DomainLabelFontSizeSet":{"DomainLabelFontSizeSet":[],"Action":[]},"_$StrandNameFontSizeSet":{"StrandNameFontSizeSet":[],"Action":[]},"_$StrandLabelFontSizeSet":{"StrandLabelFontSizeSet":[],"Action":[]},"_$ModificationFontSizeSet":{"ModificationFontSizeSet":[],"Action":[]},"_$MajorTickOffsetFontSizeSet":{"MajorTickOffsetFontSizeSet":[],"Action":[]},"_$MajorTickWidthFontSizeSet":{"MajorTickWidthFontSizeSet":[],"Action":[]},"_$SetModificationDisplayConnector":{"SetModificationDisplayConnector":[],"Action":[]},"_$ShowMismatchesSet":{"ShowMismatchesSet":[],"Action":[]},"_$ShowDomainNameMismatchesSet":{"ShowDomainNameMismatchesSet":[],"Action":[]},"_$ShowUnpairedInsertionDeletionsSet":{"ShowUnpairedInsertionDeletionsSet":[],"Action":[]},"_$OxviewShowSet":{"OxviewShowSet":[],"Action":[]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":[],"Action":[]},"_$DisplayMajorTicksOffsetsSet":{"DisplayMajorTicksOffsetsSet":[],"Action":[]},"_$SetDisplayMajorTickWidthsAllHelices":{"SetDisplayMajorTickWidthsAllHelices":[],"Action":[]},"_$SetDisplayMajorTickWidths":{"SetDisplayMajorTickWidths":[],"Action":[]},"_$SetOnlyDisplaySelectedHelices":{"SetOnlyDisplaySelectedHelices":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$InvertYSet":{"InvertYSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DynamicHelixUpdateSet":{"DynamicHelixUpdateSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$WarnOnExitIfUnsavedSet":{"WarnOnExitIfUnsavedSet":[],"Action":[]},"_$LoadingDialogShow":{"LoadingDialogShow":[],"Action":[]},"_$LoadingDialogHide":{"LoadingDialogHide":[],"Action":[]},"_$CopySelectedStandsToClipboardImage":{"CopySelectedStandsToClipboardImage":[],"Action":[]},"_$SaveDNAFile":{"SaveDNAFile":[],"Action":[]},"_$LoadDNAFile":{"LoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PrepareToLoadDNAFile":{"PrepareToLoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$NewDesignSet":{"NewDesignSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ExportCadnanoFile":{"ExportCadnanoFile":[],"Action":[]},"_$ExportCodenanoFile":{"ExportCodenanoFile":[],"Action":[]},"_$ShowMouseoverDataSet":{"ShowMouseoverDataSet":[],"Action":[]},"_$MouseoverDataClear":{"MouseoverDataClear":[],"Action":[]},"_$MouseoverDataUpdate":{"MouseoverDataUpdate":[],"Action":[]},"_$HelixRollSet":{"HelixRollSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixRollSetAtOther":{"HelixRollSetAtOther":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RelaxHelixRolls":{"RelaxHelixRolls":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ErrorMessageSet":{"ErrorMessageSet":[],"Action":[]},"_$SelectionBoxCreate":{"SelectionBoxCreate":[],"Action":[]},"_$SelectionBoxSizeChange":{"SelectionBoxSizeChange":[],"FastAction":[],"Action":[]},"_$SelectionBoxRemove":{"SelectionBoxRemove":[],"Action":[]},"_$SelectionRopeCreate":{"SelectionRopeCreate":[],"Action":[]},"_$SelectionRopeMouseMove":{"SelectionRopeMouseMove":[],"FastAction":[],"Action":[]},"_$SelectionRopeAddPoint":{"SelectionRopeAddPoint":[],"Action":[]},"_$SelectionRopeRemove":{"SelectionRopeRemove":[],"Action":[]},"_$MouseGridPositionSideUpdate":{"MouseGridPositionSideUpdate":[],"Action":[]},"_$MouseGridPositionSideClear":{"MouseGridPositionSideClear":[],"Action":[]},"_$MousePositionSideUpdate":{"MousePositionSideUpdate":[],"Action":[]},"_$MousePositionSideClear":{"MousePositionSideClear":[],"Action":[]},"_$GeometrySet":{"GeometrySet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$SelectionBoxIntersectionRuleSet":{"SelectionBoxIntersectionRuleSet":[],"Action":[]},"_$Select":{"Select":[],"Action":[]},"_$SelectionsClear":{"SelectionsClear":[],"Action":[]},"_$SelectionsAdjustMainView":{"SelectionsAdjustMainView":[],"Action":[]},"_$SelectOrToggleItems":{"SelectOrToggleItems":[],"Action":[]},"_$SelectAll":{"SelectAll":[],"Action":[]},"_$SelectAllSelectable":{"SelectAllSelectable":[],"Action":[]},"_$SelectAllWithSameAsSelected":{"SelectAllWithSameAsSelected":[],"Action":[]},"_$DeleteAllSelected":{"DeleteAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixAdd":{"HelixAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemove":{"HelixRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemoveAllSelected":{"HelixRemoveAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelect":{"HelixSelect":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsClear":{"HelixSelectionsClear":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsAdjust":{"HelixSelectionsAdjust":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickDistanceChange":{"HelixMajorTickDistanceChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickDistanceChangeAll":{"HelixMajorTickDistanceChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickStartChange":{"HelixMajorTickStartChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickStartChangeAll":{"HelixMajorTickStartChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTicksChange":{"HelixMajorTicksChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTicksChangeAll":{"HelixMajorTicksChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChange":{"HelixMajorTickPeriodicDistancesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChangeAll":{"HelixMajorTickPeriodicDistancesChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixIdxsChange":{"HelixIdxsChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChange":{"HelixOffsetChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomains":{"HelixMinOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomains":{"HelixMaxOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomainsAll":{"HelixMinOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAll":{"HelixMaxOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAllSameMax":{"HelixMaxOffsetSetByDomainsAllSameMax":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChangeAll":{"HelixOffsetChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ShowMouseoverRectSet":{"ShowMouseoverRectSet":[],"Action":[]},"_$ShowMouseoverRectToggle":{"ShowMouseoverRectToggle":[],"Action":[]},"_$ExportDNA":{"ExportDNA":[],"Action":[]},"_$ExportCanDoDNA":{"ExportCanDoDNA":[],"Action":[]},"_$ExportSvg":{"ExportSvg":[],"Action":[]},"_$ExportSvgTextSeparatelySet":{"ExportSvgTextSeparatelySet":[],"Action":[]},"_$ExtensionDisplayLengthAngleSet":{"ExtensionDisplayLengthAngleSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionAdd":{"ExtensionAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ExtensionNumBasesChange":{"ExtensionNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionsNumBasesChange":{"ExtensionsNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$LoopoutLengthChange":{"LoopoutLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$LoopoutsLengthChange":{"LoopoutsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ConvertCrossoverToLoopout":{"ConvertCrossoverToLoopout":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ConvertCrossoversToLoopouts":{"ConvertCrossoversToLoopouts":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Nick":{"Nick":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Ligate":{"Ligate":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByCrossover":{"JoinStrandsByCrossover":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveLinker":{"MoveLinker":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByMultipleCrossovers":{"JoinStrandsByMultipleCrossovers":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandsReflect":{"StrandsReflect":[],"Action":[]},"_$ReplaceStrands":{"ReplaceStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandCreateStart":{"StrandCreateStart":[],"Action":[]},"_$StrandCreateAdjustOffset":{"StrandCreateAdjustOffset":[],"Action":[]},"_$StrandCreateStop":{"StrandCreateStop":[],"Action":[]},"_$StrandCreateCommit":{"StrandCreateCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PotentialCrossoverCreate":{"PotentialCrossoverCreate":[],"Action":[]},"_$PotentialCrossoverMove":{"PotentialCrossoverMove":[],"FastAction":[],"Action":[]},"_$PotentialCrossoverRemove":{"PotentialCrossoverRemove":[],"Action":[]},"_$ManualPasteInitiate":{"ManualPasteInitiate":[],"Action":[]},"_$AutoPasteInitiate":{"AutoPasteInitiate":[],"Action":[]},"_$CopySelectedStrands":{"CopySelectedStrands":[],"Action":[]},"_$StrandsMoveStart":{"StrandsMoveStart":[],"Action":[]},"_$StrandsMoveStartSelectedStrands":{"StrandsMoveStartSelectedStrands":[],"Action":[]},"_$StrandsMoveStop":{"StrandsMoveStop":[],"Action":[]},"_$StrandsMoveAdjustAddress":{"StrandsMoveAdjustAddress":[],"Action":[]},"_$StrandsMoveCommit":{"StrandsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DomainsMoveStartSelectedDomains":{"DomainsMoveStartSelectedDomains":[],"Action":[]},"_$DomainsMoveStop":{"DomainsMoveStop":[],"Action":[]},"_$DomainsMoveAdjustAddress":{"DomainsMoveAdjustAddress":[],"Action":[]},"_$DomainsMoveCommit":{"DomainsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAEndsMoveStart":{"DNAEndsMoveStart":[],"Action":[]},"_$DNAEndsMoveSetSelectedEnds":{"DNAEndsMoveSetSelectedEnds":[],"Action":[]},"_$DNAEndsMoveAdjustOffset":{"DNAEndsMoveAdjustOffset":[],"FastAction":[],"Action":[]},"_$DNAEndsMoveStop":{"DNAEndsMoveStop":[],"Action":[]},"_$DNAEndsMoveCommit":{"DNAEndsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAExtensionsMoveStart":{"DNAExtensionsMoveStart":[],"Action":[]},"_$DNAExtensionsMoveSetSelectedExtensionEnds":{"DNAExtensionsMoveSetSelectedExtensionEnds":[],"Action":[]},"_$DNAExtensionsMoveAdjustPosition":{"DNAExtensionsMoveAdjustPosition":[],"FastAction":[],"Action":[]},"_$DNAExtensionsMoveStop":{"DNAExtensionsMoveStop":[],"Action":[]},"_$DNAExtensionsMoveCommit":{"DNAExtensionsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixGroupMoveStart":{"HelixGroupMoveStart":[],"Action":[]},"_$HelixGroupMoveCreate":{"HelixGroupMoveCreate":[],"Action":[]},"_$HelixGroupMoveAdjustTranslation":{"HelixGroupMoveAdjustTranslation":[],"FastAction":[],"Action":[]},"_$HelixGroupMoveStop":{"HelixGroupMoveStop":[],"Action":[]},"_$HelixGroupMoveCommit":{"HelixGroupMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNA":{"AssignDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNAComplementFromBoundStrands":{"AssignDNAComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundStrands":{"AssignDomainNameComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundDomains":{"AssignDomainNameComplementFromBoundDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RemoveDNA":{"RemoveDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$InsertionAdd":{"InsertionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionLengthChange":{"InsertionLengthChange":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionsLengthChange":{"InsertionsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DeletionAdd":{"DeletionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionRemove":{"InsertionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$DeletionRemove":{"DeletionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ScalePurificationVendorFieldsAssign":{"ScalePurificationVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsAssign":{"PlateWellVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsRemove":{"PlateWellVendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$VendorFieldsRemove":{"VendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationAdd":{"ModificationAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationRemove":{"ModificationRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationConnectorLengthSet":{"ModificationConnectorLengthSet":[],"Action":[]},"_$ModificationEdit":{"ModificationEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$Modifications5PrimeEdit":{"Modifications5PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Modifications3PrimeEdit":{"Modifications3PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ModificationsInternalEdit":{"ModificationsInternalEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GridChange":{"GridChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupDisplayedChange":{"GroupDisplayedChange":[],"Action":[]},"_$GroupAdd":{"GroupAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupRemove":{"GroupRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupChange":{"GroupChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveHelicesToGroup":{"MoveHelicesToGroup":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DialogShow":{"DialogShow":[],"Action":[]},"_$DialogHide":{"DialogHide":[],"Action":[]},"_$ContextMenuShow":{"ContextMenuShow":[],"Action":[]},"_$ContextMenuHide":{"ContextMenuHide":[],"Action":[]},"_$StrandOrSubstrandColorPickerShow":{"StrandOrSubstrandColorPickerShow":[],"Action":[]},"_$StrandOrSubstrandColorPickerHide":{"StrandOrSubstrandColorPickerHide":[],"Action":[]},"_$ScaffoldSet":{"ScaffoldSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandOrSubstrandColorSet":{"StrandOrSubstrandColorSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandPasteKeepColorSet":{"StrandPasteKeepColorSet":[],"Action":[]},"_$ExampleDesignsLoad":{"ExampleDesignsLoad":[],"Action":[]},"_$BasePairTypeSet":{"BasePairTypeSet":[],"Action":[]},"_$HelixPositionSet":{"HelixPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixGridPositionSet":{"HelixGridPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelicesPositionsSetBasedOnCrossovers":{"HelicesPositionsSetBasedOnCrossovers":[]},"_$InlineInsertionsDeletions":{"InlineInsertionsDeletions":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DefaultCrossoverTypeForSettingHelixRollsSet":{"DefaultCrossoverTypeForSettingHelixRollsSet":[],"Action":[]},"_$AutofitSet":{"AutofitSet":[],"Action":[]},"_$ShowHelixCirclesMainViewSet":{"ShowHelixCirclesMainViewSet":[],"Action":[]},"_$ShowHelixComponentsMainViewSet":{"ShowHelixComponentsMainViewSet":[],"Action":[]},"_$ShowEditMenuToggle":{"ShowEditMenuToggle":[],"Action":[]},"_$ShowGridCoordinatesSideViewSet":{"ShowGridCoordinatesSideViewSet":[],"Action":[]},"_$ShowAxisArrowsSet":{"ShowAxisArrowsSet":[],"Action":[]},"_$ShowLoopoutExtensionLengthSet":{"ShowLoopoutExtensionLengthSet":[]},"_$LoadDnaSequenceImageUri":{"LoadDnaSequenceImageUri":[],"Action":[]},"_$SetIsZoomAboveThreshold":{"SetIsZoomAboveThreshold":[],"Action":[]},"_$SetExportSvgActionDelayedForPngCache":{"SetExportSvgActionDelayedForPngCache":[],"Action":[]},"_$ShowBasePairLinesSet":{"ShowBasePairLinesSet":[],"Action":[]},"_$ShowBasePairLinesWithMismatchesSet":{"ShowBasePairLinesWithMismatchesSet":[],"Action":[]},"_$ShowSliceBarSet":{"ShowSliceBarSet":[],"Action":[]},"_$SliceBarOffsetSet":{"SliceBarOffsetSet":[],"Action":[]},"_$DisablePngCachingDnaSequencesSet":{"DisablePngCachingDnaSequencesSet":[],"Action":[]},"_$RetainStrandColorOnSelectionSet":{"RetainStrandColorOnSelectionSet":[],"Action":[]},"_$DisplayReverseDNARightSideUpSet":{"DisplayReverseDNARightSideUpSet":[],"Action":[]},"_$SliceBarMoveStart":{"SliceBarMoveStart":[],"Action":[]},"_$SliceBarMoveStop":{"SliceBarMoveStop":[],"Action":[]},"_$Autostaple":{"Autostaple":[],"Action":[]},"_$Autobreak":{"Autobreak":[],"Action":[]},"_$ZoomSpeedSet":{"ZoomSpeedSet":[],"Action":[]},"_$OxdnaExport":{"OxdnaExport":[],"Action":[]},"_$OxviewExport":{"OxviewExport":[],"Action":[]},"_$OxExportOnlySelectedStrandsSet":{"OxExportOnlySelectedStrandsSet":[],"Action":[]},"_$DNAFileTypeSerializer":{"PrimitiveSerializer":["DNAFileType*"],"Serializer":["DNAFileType*"]},"_$DNASequencePredefinedSerializer":{"PrimitiveSerializer":["DNASequencePredefined*"],"Serializer":["DNASequencePredefined*"]},"SuppressableIndentEncoder":{"JsonEncoder":[],"Converter":["Object*","String*"]},"PointSerializer":{"PrimitiveSerializer":["Point<1*>*"],"Serializer":["Point<1*>*"]},"ColorSerializer":{"PrimitiveSerializer":["Color*"],"Serializer":["Color*"]},"_$AddressSerializer":{"StructuredSerializer":["Address*"],"Serializer":["Address*"]},"_$AddressDifferenceSerializer":{"StructuredSerializer":["AddressDifference*"],"Serializer":["AddressDifference*"]},"_$Address":{"Address":[]},"_$AddressDifference":{"AddressDifference":[]},"_$AppState":{"AppState":[]},"_$AppUIStateSerializer":{"StructuredSerializer":["AppUIState*"],"Serializer":["AppUIState*"]},"_$AppUIState":{"AppUIState":[]},"_$AppUIStateStorablesSerializer":{"StructuredSerializer":["AppUIStateStorables*"],"Serializer":["AppUIStateStorables*"]},"_$AppUIStateStorables":{"AppUIStateStorables":[]},"_$BasePairDisplayTypeSerializer":{"PrimitiveSerializer":["BasePairDisplayType*"],"Serializer":["BasePairDisplayType*"]},"_$ContextMenuSerializer":{"StructuredSerializer":["ContextMenu*"],"Serializer":["ContextMenu*"]},"_$ContextMenuItemSerializer":{"StructuredSerializer":["ContextMenuItem*"],"Serializer":["ContextMenuItem*"]},"_$ContextMenu":{"ContextMenu":[]},"_$ContextMenuItem":{"ContextMenuItem":[]},"_$CopyInfoSerializer":{"StructuredSerializer":["CopyInfo*"],"Serializer":["CopyInfo*"]},"_$CopyInfo":{"CopyInfo":[]},"Crossover":{"SelectableMixin":[],"Selectable":[],"Linker":[]},"_$CrossoverSerializer":{"StructuredSerializer":["Crossover*"],"Serializer":["Crossover*"]},"_$Crossover":{"Crossover":[],"SelectableMixin":[],"Selectable":[],"Linker":[]},"IllegalDesignError":{"Exception":[]},"IllegalCadnanoDesignError":{"IllegalDesignError":[],"Exception":[]},"StrandError":{"IllegalDesignError":[],"Exception":[]},"_$Design":{"Design":[]},"_$DesignSideRotationParamsSerializer":{"StructuredSerializer":["DesignSideRotationParams*"],"Serializer":["DesignSideRotationParams*"]},"_$DesignSideRotationDataSerializer":{"StructuredSerializer":["DesignSideRotationData*"],"Serializer":["DesignSideRotationData*"]},"_$DesignSideRotationParams":{"DesignSideRotationParams":[]},"_$DesignSideRotationData":{"DesignSideRotationData":[]},"DialogInteger":{"DialogItem":[]},"DialogFloat":{"DialogItem":[]},"DialogText":{"DialogItem":[]},"DialogTextArea":{"DialogItem":[]},"DialogCheckbox":{"DialogItem":[]},"DialogRadio":{"DialogItem":[]},"DialogLink":{"DialogItem":[]},"DialogLabel":{"DialogItem":[]},"_$DialogTypeSerializer":{"PrimitiveSerializer":["DialogType*"],"Serializer":["DialogType*"]},"_$DialogSerializer":{"StructuredSerializer":["Dialog*"],"Serializer":["Dialog*"]},"_$DialogIntegerSerializer":{"StructuredSerializer":["DialogInteger*"],"Serializer":["DialogInteger*"]},"_$DialogFloatSerializer":{"StructuredSerializer":["DialogFloat*"],"Serializer":["DialogFloat*"]},"_$DialogTextSerializer":{"StructuredSerializer":["DialogText*"],"Serializer":["DialogText*"]},"_$DialogTextAreaSerializer":{"StructuredSerializer":["DialogTextArea*"],"Serializer":["DialogTextArea*"]},"_$DialogCheckboxSerializer":{"StructuredSerializer":["DialogCheckbox*"],"Serializer":["DialogCheckbox*"]},"_$DialogRadioSerializer":{"StructuredSerializer":["DialogRadio*"],"Serializer":["DialogRadio*"]},"_$DialogLinkSerializer":{"StructuredSerializer":["DialogLink*"],"Serializer":["DialogLink*"]},"_$Dialog":{"Dialog":[]},"_$DialogInteger":{"DialogInteger":[],"DialogItem":[]},"_$DialogFloat":{"DialogFloat":[],"DialogItem":[]},"_$DialogText":{"DialogText":[],"DialogItem":[]},"_$DialogTextArea":{"DialogTextArea":[],"DialogItem":[]},"_$DialogCheckbox":{"DialogCheckbox":[],"DialogItem":[]},"_$DialogRadio":{"DialogRadio":[],"DialogItem":[]},"_$DialogLink":{"DialogLink":[],"DialogItem":[]},"_$DialogLabel":{"DialogLabel":[],"DialogItem":[]},"_$DNAAssignOptionsSerializer":{"StructuredSerializer":["DNAAssignOptions*"],"Serializer":["DNAAssignOptions*"]},"_$DNAAssignOptions":{"DNAAssignOptions":[]},"DNAEnd":{"SelectableMixin":[],"Selectable":[]},"_$DNAEndSerializer":{"StructuredSerializer":["DNAEnd*"],"Serializer":["DNAEnd*"]},"_$DNAEnd":{"DNAEnd":[],"SelectableMixin":[],"Selectable":[]},"_$DNAEndsMoveSerializer":{"StructuredSerializer":["DNAEndsMove*"],"Serializer":["DNAEndsMove*"]},"_$DNAEndMoveSerializer":{"StructuredSerializer":["DNAEndMove*"],"Serializer":["DNAEndMove*"]},"_$DNAEndsMove":{"DNAEndsMove":[]},"_$DNAEndMove":{"DNAEndMove":[]},"_$DNAExtensionsMoveSerializer":{"StructuredSerializer":["DNAExtensionsMove*"],"Serializer":["DNAExtensionsMove*"]},"_$DNAExtensionMoveSerializer":{"StructuredSerializer":["DNAExtensionMove*"],"Serializer":["DNAExtensionMove*"]},"_$DNAExtensionsMove":{"DNAExtensionsMove":[]},"_$DNAExtensionMove":{"DNAExtensionMove":[]},"Domain":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$InsertionSerializer":{"StructuredSerializer":["Insertion*"],"Serializer":["Insertion*"]},"_$DomainSerializer":{"StructuredSerializer":["Domain*"],"Serializer":["Domain*"]},"_$Insertion":{"Insertion":[]},"_$Domain":{"Domain":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$DomainNameMismatchSerializer":{"StructuredSerializer":["DomainNameMismatch*"],"Serializer":["DomainNameMismatch*"]},"_$DomainNameMismatch":{"DomainNameMismatch":[]},"_$DomainsMoveSerializer":{"StructuredSerializer":["DomainsMove*"],"Serializer":["DomainsMove*"]},"_$DomainsMove":{"DomainsMove":[]},"_$EditModeChoiceSerializer":{"PrimitiveSerializer":["EditModeChoice*"],"Serializer":["EditModeChoice*"]},"_$ExampleDesignsSerializer":{"StructuredSerializer":["ExampleDesigns*"],"Serializer":["ExampleDesigns*"]},"_$ExampleDesigns":{"ExampleDesigns":[]},"ExportDNAException":{"Exception":[]},"_$ExportDNAFormatSerializer":{"PrimitiveSerializer":["ExportDNAFormat*"],"Serializer":["ExportDNAFormat*"]},"_$StrandOrderSerializer":{"PrimitiveSerializer":["StrandOrder*"],"Serializer":["StrandOrder*"]},"Extension":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$ExtensionSerializer":{"StructuredSerializer":["Extension*"],"Serializer":["Extension*"]},"_$Extension":{"Extension":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$GeometrySerializer":{"StructuredSerializer":["Geometry*"],"Serializer":["Geometry*"]},"_$Geometry":{"Geometry":[]},"_$GridSerializer":{"PrimitiveSerializer":["Grid*"],"Serializer":["Grid*"]},"_$GridPositionSerializer":{"StructuredSerializer":["GridPosition*"],"Serializer":["GridPosition*"]},"_$GridPosition":{"GridPosition":[]},"_$HelixGroup":{"HelixGroup":[]},"_$HelixGroupSerializer":{"StructuredSerializer":["HelixGroup*"],"Serializer":["HelixGroup*"]},"_$Helix":{"Helix":[]},"_$HelixSerializer":{"StructuredSerializer":["Helix*"],"Serializer":["Helix*"]},"_$HelixGroupMoveSerializer":{"StructuredSerializer":["HelixGroupMove*"],"Serializer":["HelixGroupMove*"]},"_$HelixGroupMove":{"HelixGroupMove":[]},"_$LocalStorageDesignOptionSerializer":{"PrimitiveSerializer":["LocalStorageDesignOption*"],"Serializer":["LocalStorageDesignOption*"]},"_$LocalStorageDesignChoiceSerializer":{"StructuredSerializer":["LocalStorageDesignChoice*"],"Serializer":["LocalStorageDesignChoice*"]},"_$LocalStorageDesignChoice":{"LocalStorageDesignChoice":[]},"Loopout":{"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"_$LoopoutSerializer":{"StructuredSerializer":["Loopout*"],"Serializer":["Loopout*"]},"_$Loopout":{"Loopout":[],"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"Modification5Prime":{"Modification":[]},"Modification3Prime":{"Modification":[]},"ModificationInternal":{"Modification":[]},"_$Modification5PrimeSerializer":{"StructuredSerializer":["Modification5Prime*"],"Serializer":["Modification5Prime*"]},"_$Modification3PrimeSerializer":{"StructuredSerializer":["Modification3Prime*"],"Serializer":["Modification3Prime*"]},"_$ModificationInternalSerializer":{"StructuredSerializer":["ModificationInternal*"],"Serializer":["ModificationInternal*"]},"_$Modification5Prime":{"Modification5Prime":[],"Modification":[]},"_$Modification3Prime":{"Modification3Prime":[],"Modification":[]},"_$ModificationInternal":{"ModificationInternal":[],"Modification":[]},"_$ModificationTypeSerializer":{"PrimitiveSerializer":["ModificationType*"],"Serializer":["ModificationType*"]},"_$MouseoverParamsSerializer":{"StructuredSerializer":["MouseoverParams*"],"Serializer":["MouseoverParams*"]},"_$MouseoverDataSerializer":{"StructuredSerializer":["MouseoverData*"],"Serializer":["MouseoverData*"]},"_$MouseoverParams":{"MouseoverParams":[]},"_$MouseoverData":{"MouseoverData":[]},"_$Position3DSerializer":{"StructuredSerializer":["Position3D*"],"Serializer":["Position3D*"]},"_$Position3D":{"Position3D":[]},"_$PotentialCrossoverSerializer":{"StructuredSerializer":["PotentialCrossover*"],"Serializer":["PotentialCrossover*"]},"_$PotentialCrossover":{"PotentialCrossover":[]},"_$PotentialVerticalCrossoverSerializer":{"StructuredSerializer":["PotentialVerticalCrossover*"],"Serializer":["PotentialVerticalCrossover*"]},"_$PotentialVerticalCrossover":{"PotentialVerticalCrossover":[]},"_$SelectModeChoiceSerializer":{"PrimitiveSerializer":["SelectModeChoice*"],"Serializer":["SelectModeChoice*"]},"_$SelectModeStateSerializer":{"StructuredSerializer":["SelectModeState*"],"Serializer":["SelectModeState*"]},"_$SelectModeState":{"SelectModeState":[]},"SelectableDeletion":{"SelectableMixin":[],"Selectable":[]},"SelectableInsertion":{"SelectableMixin":[],"Selectable":[]},"SelectableModification":{"Selectable":[]},"SelectableModification5Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModification3Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModificationInternal":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableMixin":{"Selectable":[]},"_$SelectablesStoreSerializer":{"StructuredSerializer":["SelectablesStore*"],"Serializer":["SelectablesStore*"]},"_$SelectableDeletionSerializer":{"StructuredSerializer":["SelectableDeletion*"],"Serializer":["SelectableDeletion*"]},"_$SelectableInsertionSerializer":{"StructuredSerializer":["SelectableInsertion*"],"Serializer":["SelectableInsertion*"]},"_$SelectableModification5PrimeSerializer":{"StructuredSerializer":["SelectableModification5Prime*"],"Serializer":["SelectableModification5Prime*"]},"_$SelectableModification3PrimeSerializer":{"StructuredSerializer":["SelectableModification3Prime*"],"Serializer":["SelectableModification3Prime*"]},"_$SelectableModificationInternalSerializer":{"StructuredSerializer":["SelectableModificationInternal*"],"Serializer":["SelectableModificationInternal*"]},"_$SelectableTraitSerializer":{"PrimitiveSerializer":["SelectableTrait*"],"Serializer":["SelectableTrait*"]},"_$SelectablesStore":{"SelectablesStore":[]},"_$SelectableDeletion":{"SelectableDeletion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableInsertion":{"SelectableInsertion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification5Prime":{"SelectableModification5Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification3Prime":{"SelectableModification3Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModificationInternal":{"SelectableModificationInternal":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectionBoxSerializer":{"StructuredSerializer":["SelectionBox*"],"Serializer":["SelectionBox*"]},"_$SelectionBox":{"SelectionBox":[]},"_$SelectionRopeSerializer":{"StructuredSerializer":["SelectionRope*"],"Serializer":["SelectionRope*"]},"_$LineSerializer":{"StructuredSerializer":["Line*"],"Serializer":["Line*"]},"_$SelectionRope":{"SelectionRope":[]},"_$Line":{"Line":[]},"Strand":{"SelectableMixin":[],"Selectable":[]},"_$Strand":{"Strand":[],"SelectableMixin":[],"Selectable":[]},"_$StrandSerializer":{"StructuredSerializer":["Strand*"],"Serializer":["Strand*"]},"_$StrandCreationSerializer":{"StructuredSerializer":["StrandCreation*"],"Serializer":["StrandCreation*"]},"_$StrandCreation":{"StrandCreation":[]},"_$StrandsMoveSerializer":{"StructuredSerializer":["StrandsMove*"],"Serializer":["StrandsMove*"]},"_$StrandsMove":{"StrandsMove":[]},"_$UndoRedoItemSerializer":{"StructuredSerializer":["UndoRedoItem*"],"Serializer":["UndoRedoItem*"]},"_$UndoRedo":{"UndoRedo":[]},"_$UndoRedoItem":{"UndoRedoItem":[]},"_$VendorFieldsSerializer":{"StructuredSerializer":["VendorFields*"],"Serializer":["VendorFields*"]},"_$VendorFields":{"VendorFields":[]},"End3PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End3PrimeComponent":{"UiComponent2":["End3PrimeProps*"],"Component2":[],"Component":[]},"_$$End3PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End3PrimeComponent":{"UiComponent2":["End3PrimeProps*"],"Component2":[],"Component":[]},"_$$End3PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End3PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"End5PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End5PrimeComponent":{"UiComponent2":["End5PrimeProps*"],"Component2":[],"Component":[]},"_$$End5PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End5PrimeComponent":{"UiComponent2":["End5PrimeProps*"],"Component2":[],"Component":[]},"_$$End5PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End5PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignContextMenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextMenuState":{"Map":["@","@"]},"DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps*"],"Component2":[],"Component":[]},"DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextSubmenuState":{"Map":["@","@"]},"DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps$PlainMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuProps$JsMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextMenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextSubmenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignDialogFormProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignDialogFormState":{"Map":["@","@"]},"DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps*"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps*"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps$PlainMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormProps$JsMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignDialogFormState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignFooterProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignFooterComponent":{"UiComponent2":["DesignFooterProps*"],"Component2":[],"Component":[]},"_$$DesignFooterProps":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignFooterComponent":{"UiComponent2":["DesignFooterProps*"],"Component2":[],"Component":[]},"_$$DesignFooterProps$PlainMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignFooterProps$JsMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignLoadingDialogProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps*"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps*"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps$PlainMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignLoadingDialogProps$JsMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainComponent":{"UiComponent2":["DesignMainProps*"],"Component2":[],"Component":[]},"_$$DesignMainProps":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainComponent":{"UiComponent2":["DesignMainProps*"],"Component2":[],"Component":[]},"_$$DesignMainProps$PlainMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainProps$JsMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainArrowsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainArrowsComponent":{"UiComponent2":["DesignMainArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignMainArrowsProps":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent0":{"UiComponent2":["DesignMainArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignMainArrowsProps$PlainMap":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainArrowsProps$JsMap":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairLinesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairRectangleProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequenceProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequencesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainNameMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps$PlainMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainsMovingProps$JsMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainErrorBoundaryState":{"Map":["@","@"]},"DesignMainErrorBoundaryComponent":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainErrorBoundaryComponent":{"UiComponent2":["DesignMainErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelicesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoversProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps*"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps*"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainSliceBarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandAndDomainTextsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCreatingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandCrossoverState":{"Map":["@","@"]},"DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainStrandCrossoverState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDeletionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAEndProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EndMovingComponent":{"UiComponent2":["EndMovingProps*"],"Component2":[],"Component":[]},"_$$EndMovingProps":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EndMovingComponent":{"UiComponent2":["EndMovingProps*"],"Component2":[],"Component":[]},"_$$EndMovingProps$PlainMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EndMovingProps$JsMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ExtensionEndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps*"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps*"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps$PlainMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ExtensionEndMovingProps$JsMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDomainTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps*"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps*"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainExtensionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandExtensionTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandInsertionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainLoopoutState":{"Map":["@","@"]},"DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainLoopoutState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandLoopoutTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandPathsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps$PlainMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsProps$JsMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps$PlainMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsMovingProps$JsMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps*"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps*"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainUnpairedInsertionDeletionsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps*"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps*"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainWarningStarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideComponent":{"UiComponent2":["DesignSideProps*"],"Component2":[],"Component":[]},"_$$DesignSideProps":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideComponent":{"UiComponent2":["DesignSideProps*"],"Component2":[],"Component":[]},"_$$DesignSideProps$PlainMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideProps$JsMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideArrowsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainArrowsComponent0":{"UiComponent2":["DesignSideArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignSideArrowsProps":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent":{"UiComponent2":["DesignSideArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignSideArrowsProps$PlainMap":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideArrowsProps$JsMap":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSidePotentialHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationArrowProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditAndSelectModesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps*"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps*"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps$PlainMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditAndSelectModesProps$JsMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditModeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditModeComponent":{"UiComponent2":["EditModeProps*"],"Component2":[],"Component":[]},"_$$EditModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditModeComponent":{"UiComponent2":["EditModeProps*"],"Component2":[],"Component":[]},"_$$EditModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"HelixGroupMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps*"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps*"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps$PlainMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$HelixGroupMovingProps$JsMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuComponent":{"UiComponent2":["MenuProps*"],"Component2":[],"Component":[]},"_$$MenuProps":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuComponent":{"UiComponent2":["MenuProps*"],"Component2":[],"Component":[]},"_$$MenuProps$PlainMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuProps$JsMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuBooleanProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps*"],"Component2":[],"Component":[]},"_$$MenuBooleanProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps*"],"Component2":[],"Component":[]},"_$$MenuBooleanProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuBooleanProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownItemProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuDropdownRightState":{"Map":["@","@"]},"MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$MenuDropdownRightState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuFormFileProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps*"],"Component2":[],"Component":[]},"_$$MenuFormFileProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps*"],"Component2":[],"Component":[]},"_$$MenuFormFileProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuFormFileProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuNumberComponent":{"UiComponent2":["MenuNumberProps*"],"Component2":[],"Component":[]},"_$$MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuNumberComponent":{"UiComponent2":["MenuNumberProps*"],"Component2":[],"Component":[]},"_$$MenuNumberProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuNumberProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SideMenuPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SideMenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"SideMenuComponent":{"UiComponent2":["SideMenuProps*"],"Component2":[],"Component":[]},"_$$SideMenuProps":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SideMenuComponent":{"UiComponent2":["SideMenuProps*"],"Component2":[],"Component":[]},"_$$SideMenuProps$PlainMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SideMenuProps$JsMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialCrossoverViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps*"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps*"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps$PlainMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialCrossoverViewProps$JsMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialExtensionsViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps*"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps*"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps$PlainMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialExtensionsViewProps$JsMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectModePropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"SelectModeComponent":{"UiComponent2":["SelectModeProps*"],"Component2":[],"Component":[]},"_$$SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectModeComponent":{"UiComponent2":["SelectModeProps*"],"Component2":[],"Component":[]},"_$$SelectModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionBoxViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps*"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps*"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps$PlainMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionBoxViewProps$JsMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionRopeViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps*"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps*"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps$PlainMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionRopeViewProps$JsMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"StrandOrSubstrandColorPickerProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"StrandOrSubstrandColorPickerState":{"Map":["@","@"]},"StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps*"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps*"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps$PlainMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerProps$JsMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$StrandOrSubstrandColorPickerState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"StringScannerException":{"FormatException":[],"Exception":[]},"ManagedDisposer":{"_Disposable":[]},"_ObservableTimer":{"Timer":[]},"Disposable":{"_Disposable":[]},"XmlDefaultEntityMapping":{"XmlEntityMapping":[]},"XmlDescendantsIterable":{"Iterable":["XmlNode"],"Iterable.E":"XmlNode"},"XmlDescendantsIterator":{"Iterator":["XmlNode"]},"XmlAttribute":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode"},"XmlCDATA":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlComment":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlData":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[]},"XmlDeclaration":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasAttributes":[],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlDoctype":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlDocument":{"XmlNode":[],"XmlHasVisitor":[]},"XmlElement":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasAttributes":[],"XmlHasVisitor":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode"},"XmlNode":{"XmlHasVisitor":[]},"XmlProcessing":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlText":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlParserDefinition":{"XmlGrammarDefinition":["XmlNode","XmlName"],"XmlGrammarDefinition.0":"XmlNode","XmlGrammarDefinition.1":"XmlName"},"XmlCharacterDataParser":{"Parser":["String"]},"XmlException":{"Exception":[]},"XmlParserException":{"FormatException":[],"Exception":[]},"XmlNodeTypeException":{"Exception":[]},"XmlParentException":{"Exception":[]},"XmlName":{"XmlHasParent":["XmlNode"],"XmlHasVisitor":[]},"XmlNodeList":{"DelegatingList":["1"],"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"XmlPrefixName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlSimpleName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlWriter":{"XmlVisitor":[]},"ResolvableParser":{"Parser":["1"]}}')); - H._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"StreamTransformerBase":2,"MapBase":2,"IterableBase":1,"ListBase":1,"SetBase":1,"_ListBase_Object_ListMixin":1,"_SetBase_Object_SetMixin":1,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"Comparable":1,"_JsArray_JsObject_ListMixin":1,"ErrorBoundaryApi":2,"RecoverableErrorBoundaryComponent":2,"_RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"UiStatefulComponent2":2,"_UiStatefulComponent2_UiComponent2_UiStatefulMixin2":2,"UiStatefulMixin2":2,"DesignMainErrorBoundaryComponent":2,"_DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"RedrawCounterMixin":1,"TransformByHelixGroup":1}')); + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","_ReduxDevToolsExtensionConnection":"LegacyJavaScriptObject","JsReactRedux":"LegacyJavaScriptObject","JsReactReduxStore":"LegacyJavaScriptObject","JsConnectOptions":"LegacyJavaScriptObject","_JsPropertyDescriptor":"LegacyJavaScriptObject","WeakMap":"LegacyJavaScriptObject","NodeCrypto":"LegacyJavaScriptObject","_JsError":"LegacyJavaScriptObject","JsMap":"LegacyJavaScriptObject","_Object":"LegacyJavaScriptObject","_Reflect":"LegacyJavaScriptObject","ReactClass":"LegacyJavaScriptObject","ReactElement":"LegacyJavaScriptObject","ReactComponent":"LegacyJavaScriptObject","ReactErrorInfo":"LegacyJavaScriptObject","React":"LegacyJavaScriptObject","JsRef":"LegacyJavaScriptObject","ReactDomServer":"LegacyJavaScriptObject","PropTypes":"LegacyJavaScriptObject","ReactClassConfig":"LegacyJavaScriptObject","ReactPortal":"LegacyJavaScriptObject","ReactContext":"LegacyJavaScriptObject","InteropProps":"LegacyJavaScriptObject","JsPropertyDescriptor":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","ReactDOM":"LegacyJavaScriptObject","InteropContextValue":"LegacyJavaScriptObject","ReactDartInteropStatics":"LegacyJavaScriptObject","JsComponentConfig":"LegacyJavaScriptObject","JsComponentConfig2":"LegacyJavaScriptObject","SyntheticFormEvent":"LegacyJavaScriptObject","SyntheticMouseEvent":"LegacyJavaScriptObject","SyntheticPointerEvent":"LegacyJavaScriptObject","SyntheticEvent":"LegacyJavaScriptObject","SyntheticClipboardEvent":"LegacyJavaScriptObject","SyntheticKeyboardEvent":"LegacyJavaScriptObject","SyntheticCompositionEvent":"LegacyJavaScriptObject","SyntheticFocusEvent":"LegacyJavaScriptObject","NonNativeDataTransfer":"LegacyJavaScriptObject","SyntheticTouchEvent":"LegacyJavaScriptObject","SyntheticTransitionEvent":"LegacyJavaScriptObject","SyntheticAnimationEvent":"LegacyJavaScriptObject","SyntheticUIEvent":"LegacyJavaScriptObject","SyntheticWheelEvent":"LegacyJavaScriptObject","Pan":"LegacyJavaScriptObject","ReactBootstrap":"LegacyJavaScriptObject","ReactColor":"LegacyJavaScriptObject","JSColor":"LegacyJavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AnalyserNode":"AudioNode","AudioBufferSourceNode":"AudioScheduledSourceNode","AudioContext":"BaseAudioContext","AnimateElement":"SvgElement","AnimationElement":"SvgElement","ClipPathElement":"GraphicsElement","TSpanElement":"TextPositioningElement","EllipseElement":"GeometryElement","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","OpenDBRequest":"Request0","_ResourceProgressEvent":"ProgressEvent","BRElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument0":"Document","WheelEvent":"MouseEvent","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","MathMLElement":"Element","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CDataSection":"CharacterData","Text":"CharacterData","AudioElement":"MediaElement","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JSObject":[],"JsConnectOptions":[],"JsMap":[],"JsRef":[],"ReactClass":[],"ReactElement":[],"ReactComponent":[],"ReactContext":[],"ReactErrorInfo":[],"SyntheticFormEvent":[],"SyntheticMouseEvent":[],"SyntheticPointerEvent":[],"JSColor":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"JSIndexable":["@"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int","UnmodifiableListMixin.E":"int"},"NotNullableError":{"TypeError":[],"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"TakeWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"TakeWhileIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"NoSuchMethodError":[],"Error":[]},"JsNoSuchMethodError":{"NoSuchMethodError":[],"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Closure":[],"Function":[]},"Closure2Args":{"Closure":[],"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"ByteData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[],"JSIndexable":["1"]},"NativeTypedArrayOfDouble":{"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Int32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"_Future":{"Future":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_SyncStarIterator":{"Iterator":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"AsyncError":{"Error":[]},"_BroadcastStream":{"_ControllerStream":["1"],"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_BroadcastSubscription":{"_ControllerSubscription":["1"],"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_BroadcastStreamController":{"StreamController":["1"],"Sink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"Sink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"Sink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamView":{"Stream":["1"]},"_StreamController":{"StreamController":["1"],"Sink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"Sink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_EmptyStream":{"Stream":["1"],"Stream.T":"1"},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2","_ForwardingStreamSubscription.S":"1","_ForwardingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2","_ForwardingStream.T":"2","_ForwardingStream.S":"1"},"_Zone":{"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"HashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"LinkedHashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_MapBaseValueIterator":{"Iterator":["2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"_UnmodifiableSetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"Encoding":{"Codec":["String","List"]},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"Iterable.E":"String","ListIterable.E":"String"},"AsciiCodec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List"]},"AsciiEncoder":{"Converter":["String","List"]},"_UnicodeSubsetDecoder":{"Converter":["List","String"]},"AsciiDecoder":{"Converter":["List","String"]},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"]},"Base64Decoder":{"Converter":["String","List"]},"ByteConversionSink":{"Sink":["List"]},"ByteConversionSinkBase":{"Sink":["List"]},"_ByteCallbackSink":{"Sink":["List"]},"ChunkedConversionSink":{"Sink":["1"]},"HtmlEscape":{"Converter":["String","String"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Latin1Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Latin1Encoder":{"Converter":["String","List"]},"Latin1Decoder":{"Converter":["List","String"]},"Utf8Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"]},"Utf8Decoder":{"Converter":["List","String"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"TypeError":[],"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"IntegerDivisionByZeroException":{"Exception":[],"Error":[]},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"RuneIterator":{"Iterator":["int"]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"BeforeUnloadEvent":{"Event":[]},"DivElement":{"Element":[],"Node":[],"EventTarget":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"FileReader":{"EventTarget":[]},"HttpRequest":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MouseEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"TouchEvent":{"Event":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"AccessibleNode":{"EventTarget":[]},"AnchorElement":{"Element":[],"Node":[],"EventTarget":[]},"ApplicationCacheErrorEvent":{"Event":[]},"AreaElement":{"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"Element":[],"Node":[],"EventTarget":[]},"ButtonElement":{"Element":[],"Node":[],"EventTarget":[]},"CanvasElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CssStyleRule":{"CssRule":[]},"CssStyleSheet":{"StyleSheet":[]},"CssUnitValue":{"CssNumericValue":[]},"DataElement":{"Element":[],"Node":[],"EventTarget":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"JSIndexable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"JSIndexable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"ErrorEvent":{"Event":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"JSIndexable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FontFaceSet":{"EventTarget":[]},"FormElement":{"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"IFrameElement":{"Element":[],"Node":[],"EventTarget":[]},"ImageElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"InputElement":{"FileUploadInputElement":[],"Element":[],"Node":[],"EventTarget":[]},"LIElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaKeyMessageEvent":{"Event":[]},"MessagePort":{"EventTarget":[]},"MeterElement":{"Element":[],"Node":[],"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"JSIndexable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"OptionElement":{"Element":[],"Node":[],"EventTarget":[]},"OutputElement":{"Element":[],"Node":[],"EventTarget":[]},"ParamElement":{"Element":[],"Node":[],"EventTarget":[]},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"JSIndexable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"PointerEvent":{"MouseEvent":[],"Event":[]},"PreElement":{"Element":[],"Node":[],"EventTarget":[]},"PresentationAvailability":{"EventTarget":[]},"PresentationConnectionCloseEvent":{"Event":[]},"ProcessingInstruction":{"Node":[],"EventTarget":[]},"ProgressElement":{"Element":[],"Node":[],"EventTarget":[]},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"EventTarget":[],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"JSIndexable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"JSIndexable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"SpeechRecognitionError":{"Event":[]},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TemplateElement":{"Element":[],"Node":[],"EventTarget":[]},"TextAreaElement":{"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"JSIndexable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"EventTarget":[],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"JSIndexable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"JSIndexable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"UIEvent":{"Event":[]},"VideoElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"VideoTrackList":{"EventTarget":[]},"Window":{"WindowBase":[],"EventTarget":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"JSIndexable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"JSIndexable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"JSIndexable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"JSIndexable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_ElementCssClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_ElementEventStreamImpl":{"_EventStream":["1"],"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"WindowBase":[],"EventTarget":[]},"KeyEvent":{"KeyboardEvent":[],"Event":[]},"_WrappedEvent":{"Event":[]},"_TrustedHtmlTreeSanitizer":{"NodeTreeSanitizer":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"CssClassSetImpl":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"]},"FilteredElementList":{"ListMixin":["Element"],"List":["Element"],"EfficientLengthIterable":["Element"],"Iterable":["Element"],"ListMixin.E":"Element"},"Request0":{"EventTarget":[]},"VersionChangeEvent":{"Event":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"NullRejectionException":{"Exception":[]},"Rectangle":{"_RectangleBase":["1"]},"_JSSecureRandom":{"Random":[]},"GraphicsElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"SvgSvgElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextContentElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"AElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"CircleElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"DefsElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEGaussianBlurElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeNodeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FilterElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GeometryElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"PolygonElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"RectElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"AttributeClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"TextElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPathElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPositioningElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"_UnmodifiableByteBufferView":{"ByteBuffer":[]},"_UnmodifiableByteDataView":{"ByteData":[],"TypedData":[]},"_UnmodifiableUint8ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Uint8List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Uint8List","Uint8List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Uint8List"},"_UnmodifiableInt32ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Int32List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Int32List","Int32List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Int32List"},"AudioNode":{"EventTarget":[]},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioScheduledSourceNode":{"EventTarget":[]},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"ConstantSourceNode":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"Archive":{"Iterable":["ArchiveFile"],"Iterable.E":"ArchiveFile"},"ArchiveException":{"FormatException":[],"Exception":[]},"InputStream":{"InputStreamBase":[]},"OutputStream":{"OutputStreamBase":[]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"CopyOnWriteMap":{"Map":["1","2"]},"CopyOnWriteSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"Uint8ListSerializer":{"PrimitiveSerializer":["Uint8List"],"Serializer":["Uint8List"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"StandardJsonPlugin":{"SerializerPlugin":[]},"CanonicalizedMap":{"Map":["2","3"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.T":"Set<1>","_UnorderedEquality.E":"1"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingList":{"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"RgbColor":{"Color":[]},"HexColor":{"RgbColor":[],"Color":[]},"_TouchManager":{"_EventManager":[]},"_MouseManager":{"_EventManager":[]},"_PointerManager":{"_EventManager":[]},"Int64":{"Comparable":["Object"]},"BaseClient":{"Client0":[]},"BrowserClient":{"Client0":[]},"ByteStream":{"StreamView":["List"],"Stream":["List"],"Stream.T":"List","StreamView.T":"List"},"ClientException":{"Exception":[]},"Request":{"BaseRequest":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String","String","1"],"Map":["String","1"],"CanonicalizedMap.V":"1","CanonicalizedMap.K":"String","CanonicalizedMap.C":"String"},"Level":{"Comparable":["Level"]},"DomProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"DomPropsMixin":[],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SvgProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"DomPropsMixin":[],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ErrorBoundaryProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ErrorBoundaryState":{"Map":["@","@"]},"ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"RecoverableErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"RecoverableErrorBoundaryState":{"Map":["@","@"]},"RecoverableErrorBoundaryComponent":{"UiComponent2":["1"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$RecoverableErrorBoundaryComponent":{"UiComponent2":["RecoverableErrorBoundaryProps"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps$PlainMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryProps$JsMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$RecoverableErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"UiProps0":{"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"UiState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UngeneratedError":{"Error":[]},"UiProps":{"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMeta":{"ConsumedProps":[]},"UiState0":{"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMetaCollection":{"_AccessorMetaCollection":["PropDescriptor","PropsMeta"],"PropsMeta":[],"ConsumedProps":[],"_AccessorMetaCollection.U":"PropsMeta"},"UiComponent2BridgeImpl":{"Component2Bridge":[]},"UiComponent2":{"Component2":[],"Component":[]},"UiStatefulComponent2":{"UiComponent2":["1"],"Component2":[],"Component":[]},"ReduxProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"_$$ReduxProviderProps":{"ReduxProviderProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ReduxProviderProps$JsMap":{"_$$ReduxProviderProps":[],"ReduxProviderProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ReactJsReactReduxComponentFactoryProxy":{"ReactJsContextComponentFactoryProxy":[],"ReactComponentFactoryProxy":[]},"_$$ReduxProviderProps$PlainMap":{"_$$ReduxProviderProps":[],"ReduxProviderProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"ConsumerProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Failure":{"Result":["1"],"Context1":[]},"Result":{"Context1":[]},"Success":{"Result":["1"],"Context1":[]},"ParserException":{"FormatException":[],"Exception":[]},"ReferenceParser":{"ResolvableParser":["1"],"Parser":["1"]},"MatchesIterable":{"Iterable":["1"],"Iterable.E":"1"},"MatchesIterator":{"Iterator":["1"]},"FlattenParser":{"DelegateParser":["1","String"],"Parser":["String"],"DelegateParser.R":"1"},"MapParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.R":"1"},"TokenParser":{"DelegateParser":["1","Token<1>"],"Parser":["Token<1>"],"DelegateParser.R":"1"},"SingleCharPredicate":{"CharacterPredicate":[]},"ConstantCharPredicate":{"CharacterPredicate":[]},"LookupCharPredicate":{"CharacterPredicate":[]},"NotCharacterPredicate":{"CharacterPredicate":[]},"RangeCharPredicate":{"CharacterPredicate":[]},"WhitespaceCharPredicate":{"CharacterPredicate":[]},"ChoiceParser":{"ListParser":["1","1"],"Parser":["1"],"ListParser.R":"1"},"DelegateParser":{"Parser":["2"]},"SequenceParser2":{"Parser":["Sequence2<1,2>"]},"SequenceParser3":{"Parser":["Sequence3<1,2,3>"]},"SequenceParser4":{"Parser":["Sequence4<1,2,3,4>"]},"SequenceParser5":{"Parser":["Sequence5<1,2,3,4,5>"]},"SequenceParser8":{"Parser":["Sequence8<1,2,3,4,5,6,7,8>"]},"ListParser":{"Parser":["2"]},"OptionalParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.R":"1"},"SkipParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.R":"1"},"EpsilonParser":{"Parser":["1"]},"NewlineParser":{"Parser":["String"]},"AnyCharacterParser":{"Parser":["String"]},"SingleCharacterParser":{"Parser":["String"]},"PredicateParser":{"Parser":["String"]},"RepeatingCharacterParser":{"Parser":["String"]},"LazyRepeatingParser":{"LimitedRepeatingParser":["1"],"RepeatingParser":["1","List<1>"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.R":"1"},"LimitedRepeatingParser":{"RepeatingParser":["1","List<1>"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"]},"PossessiveRepeatingParser":{"RepeatingParser":["1","List<1>"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.R":"1"},"RepeatingParser":{"DelegateParser":["1","2"],"Parser":["2"]},"_Chrome":{"Browser":[]},"EdgeChrome":{"Browser":[]},"_Firefox":{"Browser":[]},"_Safari":{"Browser":[]},"_WKWebView":{"Browser":[]},"_InternetExplorer":{"Browser":[]},"_HtmlNavigator":{"NavigatorProvider":[]},"SHA1Digest":{"Digest":[]},"HMac":{"Mac":[]},"BaseDigest":{"Digest":[]},"BaseMac":{"Mac":[]},"MD4FamilyDigest":{"Digest":[]},"Version0":{"VersionRange":[],"Comparable":["VersionRange"]},"Component2":{"Component":[]},"Component2BridgeImpl":{"Component2Bridge":[]},"ReactDartComponentFactoryProxy2":{"ReactComponentFactoryProxy":[]},"ReactJsContextComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactDomComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"JsBackedMap":{"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@"},"_DummyComponent2":{"Component2":[],"Component":[]},"DesignChangingAction":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoableAction":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SkipUndo":{"Action":[]},"Undo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Redo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoRedoClear":{"Action":[]},"BatchAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ThrottledActionFast":{"ThrottledAction":[],"FastAction":[],"Action":[]},"ThrottledActionNonFast":{"ThrottledAction":[],"Action":[]},"LocalStorageDesignChoiceSet":{"Action":[]},"ResetLocalStorage":{"Action":[]},"ClearHelixSelectionWhenLoadingNewDesignSet":{"Action":[]},"EditModeToggle":{"Action":[]},"EditModesSet":{"Action":[]},"SelectModeToggle":{"Action":[]},"SelectModesAdd":{"Action":[]},"SelectModesSet":{"Action":[]},"StrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"SubstrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SubstrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SetAppUIStateStorable":{"Action":[]},"ShowDNASet":{"Action":[]},"ShowDomainNamesSet":{"Action":[]},"ShowStrandNamesSet":{"Action":[]},"ShowStrandLabelsSet":{"Action":[]},"ShowDomainLabelsSet":{"Action":[]},"ShowModificationsSet":{"Action":[]},"DomainNameFontSizeSet":{"Action":[]},"DomainLabelFontSizeSet":{"Action":[]},"StrandNameFontSizeSet":{"Action":[]},"StrandLabelFontSizeSet":{"Action":[]},"ModificationFontSizeSet":{"Action":[]},"MajorTickOffsetFontSizeSet":{"Action":[]},"MajorTickWidthFontSizeSet":{"Action":[]},"SetModificationDisplayConnector":{"Action":[]},"ShowMismatchesSet":{"Action":[]},"ShowDomainNameMismatchesSet":{"Action":[]},"ShowUnpairedInsertionDeletionsSet":{"Action":[]},"OxviewShowSet":{"Action":[]},"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"Action":[]},"DisplayMajorTicksOffsetsSet":{"Action":[]},"SetDisplayMajorTickWidthsAllHelices":{"Action":[]},"SetDisplayMajorTickWidths":{"Action":[]},"SetOnlyDisplaySelectedHelices":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"InvertYSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"DynamicHelixUpdateSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"WarnOnExitIfUnsavedSet":{"Action":[]},"LoadingDialogShow":{"Action":[]},"LoadingDialogHide":{"Action":[]},"CopySelectedStandsToClipboardImage":{"Action":[]},"SaveDNAFile":{"Action":[]},"LoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PrepareToLoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"NewDesignSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ExportCadnanoFile":{"Action":[]},"ExportCodenanoFile":{"Action":[]},"ShowMouseoverDataSet":{"Action":[]},"MouseoverDataClear":{"Action":[]},"MouseoverDataUpdate":{"Action":[]},"HelixRollSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixRollSetAtOther":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RelaxHelixRolls":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ErrorMessageSet":{"Action":[]},"SelectionBoxCreate":{"Action":[]},"SelectionBoxSizeChange":{"FastAction":[],"Action":[]},"SelectionBoxRemove":{"Action":[]},"SelectionRopeCreate":{"Action":[]},"SelectionRopeMouseMove":{"FastAction":[],"Action":[]},"SelectionRopeAddPoint":{"Action":[]},"SelectionRopeRemove":{"Action":[]},"MouseGridPositionSideUpdate":{"Action":[]},"MouseGridPositionSideClear":{"Action":[]},"MousePositionSideUpdate":{"Action":[]},"MousePositionSideClear":{"Action":[]},"GeometrySet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SelectionBoxIntersectionRuleSet":{"Action":[]},"Select":{"Action":[]},"SelectionsClear":{"Action":[]},"SelectionsAdjustMainView":{"Action":[]},"SelectOrToggleItems":{"Action":[]},"SelectAll":{"Action":[]},"SelectAllSelectable":{"Action":[]},"SelectAllStrandsWithSameAsSelected":{"Action":[]},"DeleteAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemoveAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelect":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsClear":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsAdjust":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIndividualAction":{"Action":[]},"HelixMajorTickDistanceChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickDistanceChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickStartChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickStartChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTicksChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTicksChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIdxsChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMaxOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAllSameMax":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ShowMouseoverRectSet":{"Action":[]},"ShowMouseoverRectToggle":{"Action":[]},"ExportDNA":{"Action":[]},"ExportCanDoDNA":{"Action":[]},"ExportSvg":{"Action":[]},"ExportSvgTextSeparatelySet":{"Action":[]},"StrandPartAction":{"Action":[]},"ExtensionDisplayLengthAngleSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ExtensionNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionsNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"LoopoutLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"LoopoutsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ConvertCrossoverToLoopout":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ConvertCrossoversToLoopouts":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Nick":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Ligate":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByCrossover":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveLinker":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByMultipleCrossovers":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandsReflect":{"Action":[]},"ReplaceStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandCreateStart":{"Action":[]},"StrandCreateAdjustOffset":{"Action":[]},"StrandCreateStop":{"Action":[]},"StrandCreateCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PotentialCrossoverCreate":{"Action":[]},"PotentialCrossoverMove":{"FastAction":[],"Action":[]},"PotentialCrossoverRemove":{"Action":[]},"ManualPasteInitiate":{"Action":[]},"AutoPasteInitiate":{"Action":[]},"CopySelectedStrands":{"Action":[]},"StrandsMoveStart":{"Action":[]},"StrandsMoveStartSelectedStrands":{"Action":[]},"StrandsMoveStop":{"Action":[]},"StrandsMoveAdjustAddress":{"Action":[]},"StrandsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DomainsMoveStartSelectedDomains":{"Action":[]},"DomainsMoveStop":{"Action":[]},"DomainsMoveAdjustAddress":{"Action":[]},"DomainsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAEndsMoveStart":{"Action":[]},"DNAEndsMoveSetSelectedEnds":{"Action":[]},"DNAEndsMoveAdjustOffset":{"FastAction":[],"Action":[]},"DNAEndsMoveStop":{"Action":[]},"DNAEndsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAExtensionsMoveStart":{"Action":[]},"DNAExtensionsMoveSetSelectedExtensionEnds":{"Action":[]},"DNAExtensionsMoveAdjustPosition":{"FastAction":[],"Action":[]},"DNAExtensionsMoveStop":{"Action":[]},"DNAExtensionsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixGroupMoveStart":{"Action":[]},"HelixGroupMoveCreate":{"Action":[]},"HelixGroupMoveAdjustTranslation":{"FastAction":[],"Action":[]},"HelixGroupMoveStop":{"Action":[]},"HelixGroupMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNAComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RemoveDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"InsertionOrDeletionAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionLengthChange":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DeletionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"DeletionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ScalePurificationVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"VendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationConnectorLengthSet":{"Action":[]},"ModificationEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"Modifications5PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Modifications3PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ModificationsInternalEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GridChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupDisplayedChange":{"Action":[]},"GroupAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveHelicesToGroup":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DialogShow":{"Action":[]},"DialogHide":{"Action":[]},"ContextMenuShow":{"Action":[]},"ContextMenuHide":{"Action":[]},"StrandOrSubstrandColorPickerShow":{"Action":[]},"StrandOrSubstrandColorPickerHide":{"Action":[]},"SingleStrandAction":{"Action":[]},"ScaffoldSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandOrSubstrandColorSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandPasteKeepColorSet":{"Action":[]},"ExampleDesignsLoad":{"Action":[]},"BasePairTypeSet":{"Action":[]},"HelixPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixGridPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelicesPositionsSetBasedOnCrossovers":{"Action":[]},"InlineInsertionsDeletions":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DefaultCrossoverTypeForSettingHelixRollsSet":{"Action":[]},"AutofitSet":{"Action":[]},"ShowHelixCirclesMainViewSet":{"Action":[]},"ShowHelixComponentsMainViewSet":{"Action":[]},"ShowEditMenuToggle":{"Action":[]},"ShowGridCoordinatesSideViewSet":{"Action":[]},"ShowAxisArrowsSet":{"Action":[]},"ShowLoopoutExtensionLengthSet":{"Action":[]},"LoadDnaSequenceImageUri":{"Action":[]},"SetIsZoomAboveThreshold":{"Action":[]},"SetExportSvgActionDelayedForPngCache":{"Action":[]},"ShowBasePairLinesSet":{"Action":[]},"ShowBasePairLinesWithMismatchesSet":{"Action":[]},"ShowSliceBarSet":{"Action":[]},"SliceBarOffsetSet":{"Action":[]},"DisablePngCachingDnaSequencesSet":{"Action":[]},"RetainStrandColorOnSelectionSet":{"Action":[]},"DisplayReverseDNARightSideUpSet":{"Action":[]},"SliceBarMoveStart":{"Action":[]},"SliceBarMoveStop":{"Action":[]},"Autostaple":{"Action":[]},"Autobreak":{"Action":[]},"ZoomSpeedSet":{"Action":[]},"OxdnaExport":{"Action":[]},"OxviewExport":{"Action":[]},"OxExportOnlySelectedStrandsSet":{"Action":[]},"_$UndoSerializer":{"StructuredSerializer":["Undo"],"Serializer":["Undo"]},"_$RedoSerializer":{"StructuredSerializer":["Redo"],"Serializer":["Redo"]},"_$UndoRedoClearSerializer":{"StructuredSerializer":["UndoRedoClear"],"Serializer":["UndoRedoClear"]},"_$BatchActionSerializer":{"StructuredSerializer":["BatchAction"],"Serializer":["BatchAction"]},"_$ThrottledActionFastSerializer":{"StructuredSerializer":["ThrottledActionFast"],"Serializer":["ThrottledActionFast"]},"_$ThrottledActionNonFastSerializer":{"StructuredSerializer":["ThrottledActionNonFast"],"Serializer":["ThrottledActionNonFast"]},"_$LocalStorageDesignChoiceSetSerializer":{"StructuredSerializer":["LocalStorageDesignChoiceSet"],"Serializer":["LocalStorageDesignChoiceSet"]},"_$ResetLocalStorageSerializer":{"StructuredSerializer":["ResetLocalStorage"],"Serializer":["ResetLocalStorage"]},"_$ClearHelixSelectionWhenLoadingNewDesignSetSerializer":{"StructuredSerializer":["ClearHelixSelectionWhenLoadingNewDesignSet"],"Serializer":["ClearHelixSelectionWhenLoadingNewDesignSet"]},"_$EditModeToggleSerializer":{"StructuredSerializer":["EditModeToggle"],"Serializer":["EditModeToggle"]},"_$EditModesSetSerializer":{"StructuredSerializer":["EditModesSet"],"Serializer":["EditModesSet"]},"_$SelectModeToggleSerializer":{"StructuredSerializer":["SelectModeToggle"],"Serializer":["SelectModeToggle"]},"_$SelectModesAddSerializer":{"StructuredSerializer":["SelectModesAdd"],"Serializer":["SelectModesAdd"]},"_$SelectModesSetSerializer":{"StructuredSerializer":["SelectModesSet"],"Serializer":["SelectModesSet"]},"_$StrandNameSetSerializer":{"StructuredSerializer":["StrandNameSet"],"Serializer":["StrandNameSet"]},"_$StrandLabelSetSerializer":{"StructuredSerializer":["StrandLabelSet"],"Serializer":["StrandLabelSet"]},"_$SubstrandNameSetSerializer":{"StructuredSerializer":["SubstrandNameSet"],"Serializer":["SubstrandNameSet"]},"_$SubstrandLabelSetSerializer":{"StructuredSerializer":["SubstrandLabelSet"],"Serializer":["SubstrandLabelSet"]},"_$SetAppUIStateStorableSerializer":{"StructuredSerializer":["SetAppUIStateStorable"],"Serializer":["SetAppUIStateStorable"]},"_$ShowDNASetSerializer":{"StructuredSerializer":["ShowDNASet"],"Serializer":["ShowDNASet"]},"_$ShowDomainNamesSetSerializer":{"StructuredSerializer":["ShowDomainNamesSet"],"Serializer":["ShowDomainNamesSet"]},"_$ShowStrandNamesSetSerializer":{"StructuredSerializer":["ShowStrandNamesSet"],"Serializer":["ShowStrandNamesSet"]},"_$ShowStrandLabelsSetSerializer":{"StructuredSerializer":["ShowStrandLabelsSet"],"Serializer":["ShowStrandLabelsSet"]},"_$ShowDomainLabelsSetSerializer":{"StructuredSerializer":["ShowDomainLabelsSet"],"Serializer":["ShowDomainLabelsSet"]},"_$ShowModificationsSetSerializer":{"StructuredSerializer":["ShowModificationsSet"],"Serializer":["ShowModificationsSet"]},"_$DomainNameFontSizeSetSerializer":{"StructuredSerializer":["DomainNameFontSizeSet"],"Serializer":["DomainNameFontSizeSet"]},"_$DomainLabelFontSizeSetSerializer":{"StructuredSerializer":["DomainLabelFontSizeSet"],"Serializer":["DomainLabelFontSizeSet"]},"_$StrandNameFontSizeSetSerializer":{"StructuredSerializer":["StrandNameFontSizeSet"],"Serializer":["StrandNameFontSizeSet"]},"_$StrandLabelFontSizeSetSerializer":{"StructuredSerializer":["StrandLabelFontSizeSet"],"Serializer":["StrandLabelFontSizeSet"]},"_$ModificationFontSizeSetSerializer":{"StructuredSerializer":["ModificationFontSizeSet"],"Serializer":["ModificationFontSizeSet"]},"_$MajorTickOffsetFontSizeSetSerializer":{"StructuredSerializer":["MajorTickOffsetFontSizeSet"],"Serializer":["MajorTickOffsetFontSizeSet"]},"_$MajorTickWidthFontSizeSetSerializer":{"StructuredSerializer":["MajorTickWidthFontSizeSet"],"Serializer":["MajorTickWidthFontSizeSet"]},"_$SetModificationDisplayConnectorSerializer":{"StructuredSerializer":["SetModificationDisplayConnector"],"Serializer":["SetModificationDisplayConnector"]},"_$ShowMismatchesSetSerializer":{"StructuredSerializer":["ShowMismatchesSet"],"Serializer":["ShowMismatchesSet"]},"_$ShowDomainNameMismatchesSetSerializer":{"StructuredSerializer":["ShowDomainNameMismatchesSet"],"Serializer":["ShowDomainNameMismatchesSet"]},"_$ShowUnpairedInsertionDeletionsSetSerializer":{"StructuredSerializer":["ShowUnpairedInsertionDeletionsSet"],"Serializer":["ShowUnpairedInsertionDeletionsSet"]},"_$OxviewShowSetSerializer":{"StructuredSerializer":["OxviewShowSet"],"Serializer":["OxviewShowSet"]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer":{"StructuredSerializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"],"Serializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"]},"_$DisplayMajorTicksOffsetsSetSerializer":{"StructuredSerializer":["DisplayMajorTicksOffsetsSet"],"Serializer":["DisplayMajorTicksOffsetsSet"]},"_$SetDisplayMajorTickWidthsAllHelicesSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidthsAllHelices"],"Serializer":["SetDisplayMajorTickWidthsAllHelices"]},"_$SetDisplayMajorTickWidthsSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidths"],"Serializer":["SetDisplayMajorTickWidths"]},"_$SetOnlyDisplaySelectedHelicesSerializer":{"StructuredSerializer":["SetOnlyDisplaySelectedHelices"],"Serializer":["SetOnlyDisplaySelectedHelices"]},"_$InvertYSetSerializer":{"StructuredSerializer":["InvertYSet"],"Serializer":["InvertYSet"]},"_$DynamicHelixUpdateSetSerializer":{"StructuredSerializer":["DynamicHelixUpdateSet"],"Serializer":["DynamicHelixUpdateSet"]},"_$WarnOnExitIfUnsavedSetSerializer":{"StructuredSerializer":["WarnOnExitIfUnsavedSet"],"Serializer":["WarnOnExitIfUnsavedSet"]},"_$LoadingDialogShowSerializer":{"StructuredSerializer":["LoadingDialogShow"],"Serializer":["LoadingDialogShow"]},"_$LoadingDialogHideSerializer":{"StructuredSerializer":["LoadingDialogHide"],"Serializer":["LoadingDialogHide"]},"_$CopySelectedStandsToClipboardImageSerializer":{"StructuredSerializer":["CopySelectedStandsToClipboardImage"],"Serializer":["CopySelectedStandsToClipboardImage"]},"_$SaveDNAFileSerializer":{"StructuredSerializer":["SaveDNAFile"],"Serializer":["SaveDNAFile"]},"_$LoadDNAFileSerializer":{"StructuredSerializer":["LoadDNAFile"],"Serializer":["LoadDNAFile"]},"_$PrepareToLoadDNAFileSerializer":{"StructuredSerializer":["PrepareToLoadDNAFile"],"Serializer":["PrepareToLoadDNAFile"]},"_$NewDesignSetSerializer":{"StructuredSerializer":["NewDesignSet"],"Serializer":["NewDesignSet"]},"_$ExportCadnanoFileSerializer":{"StructuredSerializer":["ExportCadnanoFile"],"Serializer":["ExportCadnanoFile"]},"_$ExportCodenanoFileSerializer":{"StructuredSerializer":["ExportCodenanoFile"],"Serializer":["ExportCodenanoFile"]},"_$ShowMouseoverDataSetSerializer":{"StructuredSerializer":["ShowMouseoverDataSet"],"Serializer":["ShowMouseoverDataSet"]},"_$MouseoverDataClearSerializer":{"StructuredSerializer":["MouseoverDataClear"],"Serializer":["MouseoverDataClear"]},"_$MouseoverDataUpdateSerializer":{"StructuredSerializer":["MouseoverDataUpdate"],"Serializer":["MouseoverDataUpdate"]},"_$HelixRollSetSerializer":{"StructuredSerializer":["HelixRollSet"],"Serializer":["HelixRollSet"]},"_$HelixRollSetAtOtherSerializer":{"StructuredSerializer":["HelixRollSetAtOther"],"Serializer":["HelixRollSetAtOther"]},"_$RelaxHelixRollsSerializer":{"StructuredSerializer":["RelaxHelixRolls"],"Serializer":["RelaxHelixRolls"]},"_$ErrorMessageSetSerializer":{"StructuredSerializer":["ErrorMessageSet"],"Serializer":["ErrorMessageSet"]},"_$SelectionBoxCreateSerializer":{"StructuredSerializer":["SelectionBoxCreate"],"Serializer":["SelectionBoxCreate"]},"_$SelectionBoxSizeChangeSerializer":{"StructuredSerializer":["SelectionBoxSizeChange"],"Serializer":["SelectionBoxSizeChange"]},"_$SelectionBoxRemoveSerializer":{"StructuredSerializer":["SelectionBoxRemove"],"Serializer":["SelectionBoxRemove"]},"_$SelectionRopeCreateSerializer":{"StructuredSerializer":["SelectionRopeCreate"],"Serializer":["SelectionRopeCreate"]},"_$SelectionRopeMouseMoveSerializer":{"StructuredSerializer":["SelectionRopeMouseMove"],"Serializer":["SelectionRopeMouseMove"]},"_$SelectionRopeAddPointSerializer":{"StructuredSerializer":["SelectionRopeAddPoint"],"Serializer":["SelectionRopeAddPoint"]},"_$SelectionRopeRemoveSerializer":{"StructuredSerializer":["SelectionRopeRemove"],"Serializer":["SelectionRopeRemove"]},"_$MouseGridPositionSideUpdateSerializer":{"StructuredSerializer":["MouseGridPositionSideUpdate"],"Serializer":["MouseGridPositionSideUpdate"]},"_$MouseGridPositionSideClearSerializer":{"StructuredSerializer":["MouseGridPositionSideClear"],"Serializer":["MouseGridPositionSideClear"]},"_$MousePositionSideUpdateSerializer":{"StructuredSerializer":["MousePositionSideUpdate"],"Serializer":["MousePositionSideUpdate"]},"_$MousePositionSideClearSerializer":{"StructuredSerializer":["MousePositionSideClear"],"Serializer":["MousePositionSideClear"]},"_$GeometrySetSerializer":{"StructuredSerializer":["GeometrySet"],"Serializer":["GeometrySet"]},"_$SelectionBoxIntersectionRuleSetSerializer":{"StructuredSerializer":["SelectionBoxIntersectionRuleSet"],"Serializer":["SelectionBoxIntersectionRuleSet"]},"_$SelectSerializer":{"StructuredSerializer":["Select"],"Serializer":["Select"]},"_$SelectionsClearSerializer":{"StructuredSerializer":["SelectionsClear"],"Serializer":["SelectionsClear"]},"_$SelectionsAdjustMainViewSerializer":{"StructuredSerializer":["SelectionsAdjustMainView"],"Serializer":["SelectionsAdjustMainView"]},"_$SelectOrToggleItemsSerializer":{"StructuredSerializer":["SelectOrToggleItems"],"Serializer":["SelectOrToggleItems"]},"_$SelectAllSerializer":{"StructuredSerializer":["SelectAll"],"Serializer":["SelectAll"]},"_$SelectAllSelectableSerializer":{"StructuredSerializer":["SelectAllSelectable"],"Serializer":["SelectAllSelectable"]},"_$SelectAllStrandsWithSameAsSelectedSerializer":{"StructuredSerializer":["SelectAllStrandsWithSameAsSelected"],"Serializer":["SelectAllStrandsWithSameAsSelected"]},"_$DeleteAllSelectedSerializer":{"StructuredSerializer":["DeleteAllSelected"],"Serializer":["DeleteAllSelected"]},"_$HelixAddSerializer":{"StructuredSerializer":["HelixAdd"],"Serializer":["HelixAdd"]},"_$HelixRemoveSerializer":{"StructuredSerializer":["HelixRemove"],"Serializer":["HelixRemove"]},"_$HelixRemoveAllSelectedSerializer":{"StructuredSerializer":["HelixRemoveAllSelected"],"Serializer":["HelixRemoveAllSelected"]},"_$HelixSelectSerializer":{"StructuredSerializer":["HelixSelect"],"Serializer":["HelixSelect"]},"_$HelixSelectionsClearSerializer":{"StructuredSerializer":["HelixSelectionsClear"],"Serializer":["HelixSelectionsClear"]},"_$HelixSelectionsAdjustSerializer":{"StructuredSerializer":["HelixSelectionsAdjust"],"Serializer":["HelixSelectionsAdjust"]},"_$HelixMajorTickDistanceChangeSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChange"],"Serializer":["HelixMajorTickDistanceChange"]},"_$HelixMajorTickDistanceChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChangeAll"],"Serializer":["HelixMajorTickDistanceChangeAll"]},"_$HelixMajorTickStartChangeSerializer":{"StructuredSerializer":["HelixMajorTickStartChange"],"Serializer":["HelixMajorTickStartChange"]},"_$HelixMajorTickStartChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickStartChangeAll"],"Serializer":["HelixMajorTickStartChangeAll"]},"_$HelixMajorTicksChangeSerializer":{"StructuredSerializer":["HelixMajorTicksChange"],"Serializer":["HelixMajorTicksChange"]},"_$HelixMajorTicksChangeAllSerializer":{"StructuredSerializer":["HelixMajorTicksChangeAll"],"Serializer":["HelixMajorTicksChangeAll"]},"_$HelixMajorTickPeriodicDistancesChangeSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChange"],"Serializer":["HelixMajorTickPeriodicDistancesChange"]},"_$HelixMajorTickPeriodicDistancesChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChangeAll"],"Serializer":["HelixMajorTickPeriodicDistancesChangeAll"]},"_$HelixIdxsChangeSerializer":{"StructuredSerializer":["HelixIdxsChange"],"Serializer":["HelixIdxsChange"]},"_$HelixOffsetChangeSerializer":{"StructuredSerializer":["HelixOffsetChange"],"Serializer":["HelixOffsetChange"]},"_$HelixMinOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomains"],"Serializer":["HelixMinOffsetSetByDomains"]},"_$HelixMaxOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomains"],"Serializer":["HelixMaxOffsetSetByDomains"]},"_$HelixMinOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomainsAll"],"Serializer":["HelixMinOffsetSetByDomainsAll"]},"_$HelixMaxOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAll"],"Serializer":["HelixMaxOffsetSetByDomainsAll"]},"_$HelixMaxOffsetSetByDomainsAllSameMaxSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAllSameMax"],"Serializer":["HelixMaxOffsetSetByDomainsAllSameMax"]},"_$HelixOffsetChangeAllSerializer":{"StructuredSerializer":["HelixOffsetChangeAll"],"Serializer":["HelixOffsetChangeAll"]},"_$ShowMouseoverRectSetSerializer":{"StructuredSerializer":["ShowMouseoverRectSet"],"Serializer":["ShowMouseoverRectSet"]},"_$ShowMouseoverRectToggleSerializer":{"StructuredSerializer":["ShowMouseoverRectToggle"],"Serializer":["ShowMouseoverRectToggle"]},"_$ExportDNASerializer":{"StructuredSerializer":["ExportDNA"],"Serializer":["ExportDNA"]},"_$ExportSvgSerializer":{"StructuredSerializer":["ExportSvg"],"Serializer":["ExportSvg"]},"_$ExportSvgTextSeparatelySetSerializer":{"StructuredSerializer":["ExportSvgTextSeparatelySet"],"Serializer":["ExportSvgTextSeparatelySet"]},"_$ExtensionDisplayLengthAngleSetSerializer":{"StructuredSerializer":["ExtensionDisplayLengthAngleSet"],"Serializer":["ExtensionDisplayLengthAngleSet"]},"_$ExtensionAddSerializer":{"StructuredSerializer":["ExtensionAdd"],"Serializer":["ExtensionAdd"]},"_$ExtensionNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionNumBasesChange"],"Serializer":["ExtensionNumBasesChange"]},"_$ExtensionsNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionsNumBasesChange"],"Serializer":["ExtensionsNumBasesChange"]},"_$LoopoutLengthChangeSerializer":{"StructuredSerializer":["LoopoutLengthChange"],"Serializer":["LoopoutLengthChange"]},"_$LoopoutsLengthChangeSerializer":{"StructuredSerializer":["LoopoutsLengthChange"],"Serializer":["LoopoutsLengthChange"]},"_$ConvertCrossoverToLoopoutSerializer":{"StructuredSerializer":["ConvertCrossoverToLoopout"],"Serializer":["ConvertCrossoverToLoopout"]},"_$ConvertCrossoversToLoopoutsSerializer":{"StructuredSerializer":["ConvertCrossoversToLoopouts"],"Serializer":["ConvertCrossoversToLoopouts"]},"_$NickSerializer":{"StructuredSerializer":["Nick"],"Serializer":["Nick"]},"_$LigateSerializer":{"StructuredSerializer":["Ligate"],"Serializer":["Ligate"]},"_$JoinStrandsByCrossoverSerializer":{"StructuredSerializer":["JoinStrandsByCrossover"],"Serializer":["JoinStrandsByCrossover"]},"_$MoveLinkerSerializer":{"StructuredSerializer":["MoveLinker"],"Serializer":["MoveLinker"]},"_$JoinStrandsByMultipleCrossoversSerializer":{"StructuredSerializer":["JoinStrandsByMultipleCrossovers"],"Serializer":["JoinStrandsByMultipleCrossovers"]},"_$StrandsReflectSerializer":{"StructuredSerializer":["StrandsReflect"],"Serializer":["StrandsReflect"]},"_$ReplaceStrandsSerializer":{"StructuredSerializer":["ReplaceStrands"],"Serializer":["ReplaceStrands"]},"_$StrandCreateStartSerializer":{"StructuredSerializer":["StrandCreateStart"],"Serializer":["StrandCreateStart"]},"_$StrandCreateAdjustOffsetSerializer":{"StructuredSerializer":["StrandCreateAdjustOffset"],"Serializer":["StrandCreateAdjustOffset"]},"_$StrandCreateStopSerializer":{"StructuredSerializer":["StrandCreateStop"],"Serializer":["StrandCreateStop"]},"_$StrandCreateCommitSerializer":{"StructuredSerializer":["StrandCreateCommit"],"Serializer":["StrandCreateCommit"]},"_$PotentialCrossoverCreateSerializer":{"StructuredSerializer":["PotentialCrossoverCreate"],"Serializer":["PotentialCrossoverCreate"]},"_$PotentialCrossoverMoveSerializer":{"StructuredSerializer":["PotentialCrossoverMove"],"Serializer":["PotentialCrossoverMove"]},"_$PotentialCrossoverRemoveSerializer":{"StructuredSerializer":["PotentialCrossoverRemove"],"Serializer":["PotentialCrossoverRemove"]},"_$ManualPasteInitiateSerializer":{"StructuredSerializer":["ManualPasteInitiate"],"Serializer":["ManualPasteInitiate"]},"_$AutoPasteInitiateSerializer":{"StructuredSerializer":["AutoPasteInitiate"],"Serializer":["AutoPasteInitiate"]},"_$CopySelectedStrandsSerializer":{"StructuredSerializer":["CopySelectedStrands"],"Serializer":["CopySelectedStrands"]},"_$StrandsMoveStartSerializer":{"StructuredSerializer":["StrandsMoveStart"],"Serializer":["StrandsMoveStart"]},"_$StrandsMoveStartSelectedStrandsSerializer":{"StructuredSerializer":["StrandsMoveStartSelectedStrands"],"Serializer":["StrandsMoveStartSelectedStrands"]},"_$StrandsMoveStopSerializer":{"StructuredSerializer":["StrandsMoveStop"],"Serializer":["StrandsMoveStop"]},"_$StrandsMoveAdjustAddressSerializer":{"StructuredSerializer":["StrandsMoveAdjustAddress"],"Serializer":["StrandsMoveAdjustAddress"]},"_$StrandsMoveCommitSerializer":{"StructuredSerializer":["StrandsMoveCommit"],"Serializer":["StrandsMoveCommit"]},"_$DomainsMoveStartSelectedDomainsSerializer":{"StructuredSerializer":["DomainsMoveStartSelectedDomains"],"Serializer":["DomainsMoveStartSelectedDomains"]},"_$DomainsMoveStopSerializer":{"StructuredSerializer":["DomainsMoveStop"],"Serializer":["DomainsMoveStop"]},"_$DomainsMoveAdjustAddressSerializer":{"StructuredSerializer":["DomainsMoveAdjustAddress"],"Serializer":["DomainsMoveAdjustAddress"]},"_$DomainsMoveCommitSerializer":{"StructuredSerializer":["DomainsMoveCommit"],"Serializer":["DomainsMoveCommit"]},"_$DNAEndsMoveStartSerializer":{"StructuredSerializer":["DNAEndsMoveStart"],"Serializer":["DNAEndsMoveStart"]},"_$DNAEndsMoveSetSelectedEndsSerializer":{"StructuredSerializer":["DNAEndsMoveSetSelectedEnds"],"Serializer":["DNAEndsMoveSetSelectedEnds"]},"_$DNAEndsMoveAdjustOffsetSerializer":{"StructuredSerializer":["DNAEndsMoveAdjustOffset"],"Serializer":["DNAEndsMoveAdjustOffset"]},"_$DNAEndsMoveStopSerializer":{"StructuredSerializer":["DNAEndsMoveStop"],"Serializer":["DNAEndsMoveStop"]},"_$DNAEndsMoveCommitSerializer":{"StructuredSerializer":["DNAEndsMoveCommit"],"Serializer":["DNAEndsMoveCommit"]},"_$DNAExtensionsMoveStartSerializer":{"StructuredSerializer":["DNAExtensionsMoveStart"],"Serializer":["DNAExtensionsMoveStart"]},"_$DNAExtensionsMoveSetSelectedExtensionEndsSerializer":{"StructuredSerializer":["DNAExtensionsMoveSetSelectedExtensionEnds"],"Serializer":["DNAExtensionsMoveSetSelectedExtensionEnds"]},"_$DNAExtensionsMoveAdjustPositionSerializer":{"StructuredSerializer":["DNAExtensionsMoveAdjustPosition"],"Serializer":["DNAExtensionsMoveAdjustPosition"]},"_$DNAExtensionsMoveStopSerializer":{"StructuredSerializer":["DNAExtensionsMoveStop"],"Serializer":["DNAExtensionsMoveStop"]},"_$DNAExtensionsMoveCommitSerializer":{"StructuredSerializer":["DNAExtensionsMoveCommit"],"Serializer":["DNAExtensionsMoveCommit"]},"_$HelixGroupMoveStartSerializer":{"StructuredSerializer":["HelixGroupMoveStart"],"Serializer":["HelixGroupMoveStart"]},"_$HelixGroupMoveCreateSerializer":{"StructuredSerializer":["HelixGroupMoveCreate"],"Serializer":["HelixGroupMoveCreate"]},"_$HelixGroupMoveAdjustTranslationSerializer":{"StructuredSerializer":["HelixGroupMoveAdjustTranslation"],"Serializer":["HelixGroupMoveAdjustTranslation"]},"_$HelixGroupMoveStopSerializer":{"StructuredSerializer":["HelixGroupMoveStop"],"Serializer":["HelixGroupMoveStop"]},"_$HelixGroupMoveCommitSerializer":{"StructuredSerializer":["HelixGroupMoveCommit"],"Serializer":["HelixGroupMoveCommit"]},"_$AssignDNASerializer":{"StructuredSerializer":["AssignDNA"],"Serializer":["AssignDNA"]},"_$AssignDNAComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDNAComplementFromBoundStrands"],"Serializer":["AssignDNAComplementFromBoundStrands"]},"_$AssignDomainNameComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundStrands"],"Serializer":["AssignDomainNameComplementFromBoundStrands"]},"_$AssignDomainNameComplementFromBoundDomainsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundDomains"],"Serializer":["AssignDomainNameComplementFromBoundDomains"]},"_$RemoveDNASerializer":{"StructuredSerializer":["RemoveDNA"],"Serializer":["RemoveDNA"]},"_$InsertionAddSerializer":{"StructuredSerializer":["InsertionAdd"],"Serializer":["InsertionAdd"]},"_$InsertionLengthChangeSerializer":{"StructuredSerializer":["InsertionLengthChange"],"Serializer":["InsertionLengthChange"]},"_$InsertionsLengthChangeSerializer":{"StructuredSerializer":["InsertionsLengthChange"],"Serializer":["InsertionsLengthChange"]},"_$DeletionAddSerializer":{"StructuredSerializer":["DeletionAdd"],"Serializer":["DeletionAdd"]},"_$InsertionRemoveSerializer":{"StructuredSerializer":["InsertionRemove"],"Serializer":["InsertionRemove"]},"_$DeletionRemoveSerializer":{"StructuredSerializer":["DeletionRemove"],"Serializer":["DeletionRemove"]},"_$ScalePurificationVendorFieldsAssignSerializer":{"StructuredSerializer":["ScalePurificationVendorFieldsAssign"],"Serializer":["ScalePurificationVendorFieldsAssign"]},"_$PlateWellVendorFieldsAssignSerializer":{"StructuredSerializer":["PlateWellVendorFieldsAssign"],"Serializer":["PlateWellVendorFieldsAssign"]},"_$PlateWellVendorFieldsRemoveSerializer":{"StructuredSerializer":["PlateWellVendorFieldsRemove"],"Serializer":["PlateWellVendorFieldsRemove"]},"_$VendorFieldsRemoveSerializer":{"StructuredSerializer":["VendorFieldsRemove"],"Serializer":["VendorFieldsRemove"]},"_$ModificationAddSerializer":{"StructuredSerializer":["ModificationAdd"],"Serializer":["ModificationAdd"]},"_$ModificationRemoveSerializer":{"StructuredSerializer":["ModificationRemove"],"Serializer":["ModificationRemove"]},"_$ModificationConnectorLengthSetSerializer":{"StructuredSerializer":["ModificationConnectorLengthSet"],"Serializer":["ModificationConnectorLengthSet"]},"_$ModificationEditSerializer":{"StructuredSerializer":["ModificationEdit"],"Serializer":["ModificationEdit"]},"_$Modifications5PrimeEditSerializer":{"StructuredSerializer":["Modifications5PrimeEdit"],"Serializer":["Modifications5PrimeEdit"]},"_$Modifications3PrimeEditSerializer":{"StructuredSerializer":["Modifications3PrimeEdit"],"Serializer":["Modifications3PrimeEdit"]},"_$ModificationsInternalEditSerializer":{"StructuredSerializer":["ModificationsInternalEdit"],"Serializer":["ModificationsInternalEdit"]},"_$GridChangeSerializer":{"StructuredSerializer":["GridChange"],"Serializer":["GridChange"]},"_$GroupDisplayedChangeSerializer":{"StructuredSerializer":["GroupDisplayedChange"],"Serializer":["GroupDisplayedChange"]},"_$GroupAddSerializer":{"StructuredSerializer":["GroupAdd"],"Serializer":["GroupAdd"]},"_$GroupRemoveSerializer":{"StructuredSerializer":["GroupRemove"],"Serializer":["GroupRemove"]},"_$GroupChangeSerializer":{"StructuredSerializer":["GroupChange"],"Serializer":["GroupChange"]},"_$MoveHelicesToGroupSerializer":{"StructuredSerializer":["MoveHelicesToGroup"],"Serializer":["MoveHelicesToGroup"]},"_$DialogShowSerializer":{"StructuredSerializer":["DialogShow"],"Serializer":["DialogShow"]},"_$DialogHideSerializer":{"StructuredSerializer":["DialogHide"],"Serializer":["DialogHide"]},"_$ContextMenuShowSerializer":{"StructuredSerializer":["ContextMenuShow"],"Serializer":["ContextMenuShow"]},"_$ContextMenuHideSerializer":{"StructuredSerializer":["ContextMenuHide"],"Serializer":["ContextMenuHide"]},"_$StrandOrSubstrandColorPickerShowSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerShow"],"Serializer":["StrandOrSubstrandColorPickerShow"]},"_$StrandOrSubstrandColorPickerHideSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerHide"],"Serializer":["StrandOrSubstrandColorPickerHide"]},"_$ScaffoldSetSerializer":{"StructuredSerializer":["ScaffoldSet"],"Serializer":["ScaffoldSet"]},"_$StrandOrSubstrandColorSetSerializer":{"StructuredSerializer":["StrandOrSubstrandColorSet"],"Serializer":["StrandOrSubstrandColorSet"]},"_$StrandPasteKeepColorSetSerializer":{"StructuredSerializer":["StrandPasteKeepColorSet"],"Serializer":["StrandPasteKeepColorSet"]},"_$ExampleDesignsLoadSerializer":{"StructuredSerializer":["ExampleDesignsLoad"],"Serializer":["ExampleDesignsLoad"]},"_$BasePairTypeSetSerializer":{"StructuredSerializer":["BasePairTypeSet"],"Serializer":["BasePairTypeSet"]},"_$HelixPositionSetSerializer":{"StructuredSerializer":["HelixPositionSet"],"Serializer":["HelixPositionSet"]},"_$HelixGridPositionSetSerializer":{"StructuredSerializer":["HelixGridPositionSet"],"Serializer":["HelixGridPositionSet"]},"_$HelicesPositionsSetBasedOnCrossoversSerializer":{"StructuredSerializer":["HelicesPositionsSetBasedOnCrossovers"],"Serializer":["HelicesPositionsSetBasedOnCrossovers"]},"_$InlineInsertionsDeletionsSerializer":{"StructuredSerializer":["InlineInsertionsDeletions"],"Serializer":["InlineInsertionsDeletions"]},"_$DefaultCrossoverTypeForSettingHelixRollsSetSerializer":{"StructuredSerializer":["DefaultCrossoverTypeForSettingHelixRollsSet"],"Serializer":["DefaultCrossoverTypeForSettingHelixRollsSet"]},"_$AutofitSetSerializer":{"StructuredSerializer":["AutofitSet"],"Serializer":["AutofitSet"]},"_$ShowHelixCirclesMainViewSetSerializer":{"StructuredSerializer":["ShowHelixCirclesMainViewSet"],"Serializer":["ShowHelixCirclesMainViewSet"]},"_$ShowHelixComponentsMainViewSetSerializer":{"StructuredSerializer":["ShowHelixComponentsMainViewSet"],"Serializer":["ShowHelixComponentsMainViewSet"]},"_$ShowEditMenuToggleSerializer":{"StructuredSerializer":["ShowEditMenuToggle"],"Serializer":["ShowEditMenuToggle"]},"_$ShowGridCoordinatesSideViewSetSerializer":{"StructuredSerializer":["ShowGridCoordinatesSideViewSet"],"Serializer":["ShowGridCoordinatesSideViewSet"]},"_$ShowAxisArrowsSetSerializer":{"StructuredSerializer":["ShowAxisArrowsSet"],"Serializer":["ShowAxisArrowsSet"]},"_$ShowLoopoutExtensionLengthSetSerializer":{"StructuredSerializer":["ShowLoopoutExtensionLengthSet"],"Serializer":["ShowLoopoutExtensionLengthSet"]},"_$LoadDnaSequenceImageUriSerializer":{"StructuredSerializer":["LoadDnaSequenceImageUri"],"Serializer":["LoadDnaSequenceImageUri"]},"_$SetIsZoomAboveThresholdSerializer":{"StructuredSerializer":["SetIsZoomAboveThreshold"],"Serializer":["SetIsZoomAboveThreshold"]},"_$SetExportSvgActionDelayedForPngCacheSerializer":{"StructuredSerializer":["SetExportSvgActionDelayedForPngCache"],"Serializer":["SetExportSvgActionDelayedForPngCache"]},"_$ShowBasePairLinesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesSet"],"Serializer":["ShowBasePairLinesSet"]},"_$ShowBasePairLinesWithMismatchesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesWithMismatchesSet"],"Serializer":["ShowBasePairLinesWithMismatchesSet"]},"_$ShowSliceBarSetSerializer":{"StructuredSerializer":["ShowSliceBarSet"],"Serializer":["ShowSliceBarSet"]},"_$SliceBarOffsetSetSerializer":{"StructuredSerializer":["SliceBarOffsetSet"],"Serializer":["SliceBarOffsetSet"]},"_$DisablePngCachingDnaSequencesSetSerializer":{"StructuredSerializer":["DisablePngCachingDnaSequencesSet"],"Serializer":["DisablePngCachingDnaSequencesSet"]},"_$RetainStrandColorOnSelectionSetSerializer":{"StructuredSerializer":["RetainStrandColorOnSelectionSet"],"Serializer":["RetainStrandColorOnSelectionSet"]},"_$DisplayReverseDNARightSideUpSetSerializer":{"StructuredSerializer":["DisplayReverseDNARightSideUpSet"],"Serializer":["DisplayReverseDNARightSideUpSet"]},"_$SliceBarMoveStartSerializer":{"StructuredSerializer":["SliceBarMoveStart"],"Serializer":["SliceBarMoveStart"]},"_$SliceBarMoveStopSerializer":{"StructuredSerializer":["SliceBarMoveStop"],"Serializer":["SliceBarMoveStop"]},"_$AutostapleSerializer":{"StructuredSerializer":["Autostaple"],"Serializer":["Autostaple"]},"_$AutobreakSerializer":{"StructuredSerializer":["Autobreak"],"Serializer":["Autobreak"]},"_$ZoomSpeedSetSerializer":{"StructuredSerializer":["ZoomSpeedSet"],"Serializer":["ZoomSpeedSet"]},"_$OxdnaExportSerializer":{"StructuredSerializer":["OxdnaExport"],"Serializer":["OxdnaExport"]},"_$OxviewExportSerializer":{"StructuredSerializer":["OxviewExport"],"Serializer":["OxviewExport"]},"_$OxExportOnlySelectedStrandsSetSerializer":{"StructuredSerializer":["OxExportOnlySelectedStrandsSet"],"Serializer":["OxExportOnlySelectedStrandsSet"]},"_$SkipUndo":{"SkipUndo":[],"Action":[]},"_$Undo":{"Undo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Redo":{"Redo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$UndoRedoClear":{"UndoRedoClear":[],"Action":[]},"_$BatchAction":{"BatchAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ThrottledActionFast":{"ThrottledActionFast":[],"ThrottledAction":[],"FastAction":[],"Action":[]},"_$ThrottledActionNonFast":{"ThrottledActionNonFast":[],"ThrottledAction":[],"Action":[]},"_$LocalStorageDesignChoiceSet":{"LocalStorageDesignChoiceSet":[],"Action":[]},"_$ResetLocalStorage":{"ResetLocalStorage":[],"Action":[]},"_$ClearHelixSelectionWhenLoadingNewDesignSet":{"ClearHelixSelectionWhenLoadingNewDesignSet":[],"Action":[]},"_$EditModeToggle":{"EditModeToggle":[],"Action":[]},"_$EditModesSet":{"EditModesSet":[],"Action":[]},"_$SelectModeToggle":{"SelectModeToggle":[],"Action":[]},"_$SelectModesAdd":{"SelectModesAdd":[],"Action":[]},"_$SelectModesSet":{"SelectModesSet":[],"Action":[]},"_$StrandNameSet":{"StrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandLabelSet":{"StrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$SubstrandNameSet":{"SubstrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SubstrandLabelSet":{"SubstrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SetAppUIStateStorable":{"SetAppUIStateStorable":[],"Action":[]},"_$ShowDNASet":{"ShowDNASet":[],"Action":[]},"_$ShowDomainNamesSet":{"ShowDomainNamesSet":[],"Action":[]},"_$ShowStrandNamesSet":{"ShowStrandNamesSet":[],"Action":[]},"_$ShowStrandLabelsSet":{"ShowStrandLabelsSet":[],"Action":[]},"_$ShowDomainLabelsSet":{"ShowDomainLabelsSet":[],"Action":[]},"_$ShowModificationsSet":{"ShowModificationsSet":[],"Action":[]},"_$DomainNameFontSizeSet":{"DomainNameFontSizeSet":[],"Action":[]},"_$DomainLabelFontSizeSet":{"DomainLabelFontSizeSet":[],"Action":[]},"_$StrandNameFontSizeSet":{"StrandNameFontSizeSet":[],"Action":[]},"_$StrandLabelFontSizeSet":{"StrandLabelFontSizeSet":[],"Action":[]},"_$ModificationFontSizeSet":{"ModificationFontSizeSet":[],"Action":[]},"_$MajorTickOffsetFontSizeSet":{"MajorTickOffsetFontSizeSet":[],"Action":[]},"_$MajorTickWidthFontSizeSet":{"MajorTickWidthFontSizeSet":[],"Action":[]},"_$SetModificationDisplayConnector":{"SetModificationDisplayConnector":[],"Action":[]},"_$ShowMismatchesSet":{"ShowMismatchesSet":[],"Action":[]},"_$ShowDomainNameMismatchesSet":{"ShowDomainNameMismatchesSet":[],"Action":[]},"_$ShowUnpairedInsertionDeletionsSet":{"ShowUnpairedInsertionDeletionsSet":[],"Action":[]},"_$OxviewShowSet":{"OxviewShowSet":[],"Action":[]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":[],"Action":[]},"_$DisplayMajorTicksOffsetsSet":{"DisplayMajorTicksOffsetsSet":[],"Action":[]},"_$SetDisplayMajorTickWidthsAllHelices":{"SetDisplayMajorTickWidthsAllHelices":[],"Action":[]},"_$SetDisplayMajorTickWidths":{"SetDisplayMajorTickWidths":[],"Action":[]},"_$SetOnlyDisplaySelectedHelices":{"SetOnlyDisplaySelectedHelices":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$InvertYSet":{"InvertYSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DynamicHelixUpdateSet":{"DynamicHelixUpdateSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$WarnOnExitIfUnsavedSet":{"WarnOnExitIfUnsavedSet":[],"Action":[]},"_$LoadingDialogShow":{"LoadingDialogShow":[],"Action":[]},"_$LoadingDialogHide":{"LoadingDialogHide":[],"Action":[]},"_$CopySelectedStandsToClipboardImage":{"CopySelectedStandsToClipboardImage":[],"Action":[]},"_$SaveDNAFile":{"SaveDNAFile":[],"Action":[]},"_$LoadDNAFile":{"LoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PrepareToLoadDNAFile":{"PrepareToLoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$NewDesignSet":{"NewDesignSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ExportCadnanoFile":{"ExportCadnanoFile":[],"Action":[]},"_$ExportCodenanoFile":{"ExportCodenanoFile":[],"Action":[]},"_$ShowMouseoverDataSet":{"ShowMouseoverDataSet":[],"Action":[]},"_$MouseoverDataClear":{"MouseoverDataClear":[],"Action":[]},"_$MouseoverDataUpdate":{"MouseoverDataUpdate":[],"Action":[]},"_$HelixRollSet":{"HelixRollSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixRollSetAtOther":{"HelixRollSetAtOther":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RelaxHelixRolls":{"RelaxHelixRolls":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ErrorMessageSet":{"ErrorMessageSet":[],"Action":[]},"_$SelectionBoxCreate":{"SelectionBoxCreate":[],"Action":[]},"_$SelectionBoxSizeChange":{"SelectionBoxSizeChange":[],"FastAction":[],"Action":[]},"_$SelectionBoxRemove":{"SelectionBoxRemove":[],"Action":[]},"_$SelectionRopeCreate":{"SelectionRopeCreate":[],"Action":[]},"_$SelectionRopeMouseMove":{"SelectionRopeMouseMove":[],"FastAction":[],"Action":[]},"_$SelectionRopeAddPoint":{"SelectionRopeAddPoint":[],"Action":[]},"_$SelectionRopeRemove":{"SelectionRopeRemove":[],"Action":[]},"_$MouseGridPositionSideUpdate":{"MouseGridPositionSideUpdate":[],"Action":[]},"_$MouseGridPositionSideClear":{"MouseGridPositionSideClear":[],"Action":[]},"_$MousePositionSideUpdate":{"MousePositionSideUpdate":[],"Action":[]},"_$MousePositionSideClear":{"MousePositionSideClear":[],"Action":[]},"_$GeometrySet":{"GeometrySet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$SelectionBoxIntersectionRuleSet":{"SelectionBoxIntersectionRuleSet":[],"Action":[]},"_$Select":{"Select":[],"Action":[]},"_$SelectionsClear":{"SelectionsClear":[],"Action":[]},"_$SelectionsAdjustMainView":{"SelectionsAdjustMainView":[],"Action":[]},"_$SelectOrToggleItems":{"SelectOrToggleItems":[],"Action":[]},"_$SelectAll":{"SelectAll":[],"Action":[]},"_$SelectAllSelectable":{"SelectAllSelectable":[],"Action":[]},"_$SelectAllStrandsWithSameAsSelected":{"SelectAllStrandsWithSameAsSelected":[],"Action":[]},"_$DeleteAllSelected":{"DeleteAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixAdd":{"HelixAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemove":{"HelixRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemoveAllSelected":{"HelixRemoveAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelect":{"HelixSelect":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsClear":{"HelixSelectionsClear":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsAdjust":{"HelixSelectionsAdjust":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickDistanceChange":{"HelixMajorTickDistanceChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickDistanceChangeAll":{"HelixMajorTickDistanceChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickStartChange":{"HelixMajorTickStartChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickStartChangeAll":{"HelixMajorTickStartChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTicksChange":{"HelixMajorTicksChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTicksChangeAll":{"HelixMajorTicksChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChange":{"HelixMajorTickPeriodicDistancesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChangeAll":{"HelixMajorTickPeriodicDistancesChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixIdxsChange":{"HelixIdxsChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChange":{"HelixOffsetChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomains":{"HelixMinOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomains":{"HelixMaxOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomainsAll":{"HelixMinOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAll":{"HelixMaxOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAllSameMax":{"HelixMaxOffsetSetByDomainsAllSameMax":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChangeAll":{"HelixOffsetChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ShowMouseoverRectSet":{"ShowMouseoverRectSet":[],"Action":[]},"_$ShowMouseoverRectToggle":{"ShowMouseoverRectToggle":[],"Action":[]},"_$ExportDNA":{"ExportDNA":[],"Action":[]},"_$ExportCanDoDNA":{"ExportCanDoDNA":[],"Action":[]},"_$ExportSvg":{"ExportSvg":[],"Action":[]},"_$ExportSvgTextSeparatelySet":{"ExportSvgTextSeparatelySet":[],"Action":[]},"_$ExtensionDisplayLengthAngleSet":{"ExtensionDisplayLengthAngleSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionAdd":{"ExtensionAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ExtensionNumBasesChange":{"ExtensionNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionsNumBasesChange":{"ExtensionsNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$LoopoutLengthChange":{"LoopoutLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$LoopoutsLengthChange":{"LoopoutsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ConvertCrossoverToLoopout":{"ConvertCrossoverToLoopout":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ConvertCrossoversToLoopouts":{"ConvertCrossoversToLoopouts":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Nick":{"Nick":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Ligate":{"Ligate":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByCrossover":{"JoinStrandsByCrossover":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveLinker":{"MoveLinker":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByMultipleCrossovers":{"JoinStrandsByMultipleCrossovers":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandsReflect":{"StrandsReflect":[],"Action":[]},"_$ReplaceStrands":{"ReplaceStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandCreateStart":{"StrandCreateStart":[],"Action":[]},"_$StrandCreateAdjustOffset":{"StrandCreateAdjustOffset":[],"Action":[]},"_$StrandCreateStop":{"StrandCreateStop":[],"Action":[]},"_$StrandCreateCommit":{"StrandCreateCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PotentialCrossoverCreate":{"PotentialCrossoverCreate":[],"Action":[]},"_$PotentialCrossoverMove":{"PotentialCrossoverMove":[],"FastAction":[],"Action":[]},"_$PotentialCrossoverRemove":{"PotentialCrossoverRemove":[],"Action":[]},"_$ManualPasteInitiate":{"ManualPasteInitiate":[],"Action":[]},"_$AutoPasteInitiate":{"AutoPasteInitiate":[],"Action":[]},"_$CopySelectedStrands":{"CopySelectedStrands":[],"Action":[]},"_$StrandsMoveStart":{"StrandsMoveStart":[],"Action":[]},"_$StrandsMoveStartSelectedStrands":{"StrandsMoveStartSelectedStrands":[],"Action":[]},"_$StrandsMoveStop":{"StrandsMoveStop":[],"Action":[]},"_$StrandsMoveAdjustAddress":{"StrandsMoveAdjustAddress":[],"Action":[]},"_$StrandsMoveCommit":{"StrandsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DomainsMoveStartSelectedDomains":{"DomainsMoveStartSelectedDomains":[],"Action":[]},"_$DomainsMoveStop":{"DomainsMoveStop":[],"Action":[]},"_$DomainsMoveAdjustAddress":{"DomainsMoveAdjustAddress":[],"Action":[]},"_$DomainsMoveCommit":{"DomainsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAEndsMoveStart":{"DNAEndsMoveStart":[],"Action":[]},"_$DNAEndsMoveSetSelectedEnds":{"DNAEndsMoveSetSelectedEnds":[],"Action":[]},"_$DNAEndsMoveAdjustOffset":{"DNAEndsMoveAdjustOffset":[],"FastAction":[],"Action":[]},"_$DNAEndsMoveStop":{"DNAEndsMoveStop":[],"Action":[]},"_$DNAEndsMoveCommit":{"DNAEndsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAExtensionsMoveStart":{"DNAExtensionsMoveStart":[],"Action":[]},"_$DNAExtensionsMoveSetSelectedExtensionEnds":{"DNAExtensionsMoveSetSelectedExtensionEnds":[],"Action":[]},"_$DNAExtensionsMoveAdjustPosition":{"DNAExtensionsMoveAdjustPosition":[],"FastAction":[],"Action":[]},"_$DNAExtensionsMoveStop":{"DNAExtensionsMoveStop":[],"Action":[]},"_$DNAExtensionsMoveCommit":{"DNAExtensionsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixGroupMoveStart":{"HelixGroupMoveStart":[],"Action":[]},"_$HelixGroupMoveCreate":{"HelixGroupMoveCreate":[],"Action":[]},"_$HelixGroupMoveAdjustTranslation":{"HelixGroupMoveAdjustTranslation":[],"FastAction":[],"Action":[]},"_$HelixGroupMoveStop":{"HelixGroupMoveStop":[],"Action":[]},"_$HelixGroupMoveCommit":{"HelixGroupMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNA":{"AssignDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNAComplementFromBoundStrands":{"AssignDNAComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundStrands":{"AssignDomainNameComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundDomains":{"AssignDomainNameComplementFromBoundDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RemoveDNA":{"RemoveDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$InsertionAdd":{"InsertionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionLengthChange":{"InsertionLengthChange":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionsLengthChange":{"InsertionsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DeletionAdd":{"DeletionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionRemove":{"InsertionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$DeletionRemove":{"DeletionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ScalePurificationVendorFieldsAssign":{"ScalePurificationVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsAssign":{"PlateWellVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsRemove":{"PlateWellVendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$VendorFieldsRemove":{"VendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationAdd":{"ModificationAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationRemove":{"ModificationRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationConnectorLengthSet":{"ModificationConnectorLengthSet":[],"Action":[]},"_$ModificationEdit":{"ModificationEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$Modifications5PrimeEdit":{"Modifications5PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Modifications3PrimeEdit":{"Modifications3PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ModificationsInternalEdit":{"ModificationsInternalEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GridChange":{"GridChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupDisplayedChange":{"GroupDisplayedChange":[],"Action":[]},"_$GroupAdd":{"GroupAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupRemove":{"GroupRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupChange":{"GroupChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveHelicesToGroup":{"MoveHelicesToGroup":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DialogShow":{"DialogShow":[],"Action":[]},"_$DialogHide":{"DialogHide":[],"Action":[]},"_$ContextMenuShow":{"ContextMenuShow":[],"Action":[]},"_$ContextMenuHide":{"ContextMenuHide":[],"Action":[]},"_$StrandOrSubstrandColorPickerShow":{"StrandOrSubstrandColorPickerShow":[],"Action":[]},"_$StrandOrSubstrandColorPickerHide":{"StrandOrSubstrandColorPickerHide":[],"Action":[]},"_$ScaffoldSet":{"ScaffoldSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandOrSubstrandColorSet":{"StrandOrSubstrandColorSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandPasteKeepColorSet":{"StrandPasteKeepColorSet":[],"Action":[]},"_$ExampleDesignsLoad":{"ExampleDesignsLoad":[],"Action":[]},"_$BasePairTypeSet":{"BasePairTypeSet":[],"Action":[]},"_$HelixPositionSet":{"HelixPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixGridPositionSet":{"HelixGridPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelicesPositionsSetBasedOnCrossovers":{"HelicesPositionsSetBasedOnCrossovers":[],"Action":[]},"_$InlineInsertionsDeletions":{"InlineInsertionsDeletions":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DefaultCrossoverTypeForSettingHelixRollsSet":{"DefaultCrossoverTypeForSettingHelixRollsSet":[],"Action":[]},"_$AutofitSet":{"AutofitSet":[],"Action":[]},"_$ShowHelixCirclesMainViewSet":{"ShowHelixCirclesMainViewSet":[],"Action":[]},"_$ShowHelixComponentsMainViewSet":{"ShowHelixComponentsMainViewSet":[],"Action":[]},"_$ShowEditMenuToggle":{"ShowEditMenuToggle":[],"Action":[]},"_$ShowGridCoordinatesSideViewSet":{"ShowGridCoordinatesSideViewSet":[],"Action":[]},"_$ShowAxisArrowsSet":{"ShowAxisArrowsSet":[],"Action":[]},"_$ShowLoopoutExtensionLengthSet":{"ShowLoopoutExtensionLengthSet":[],"Action":[]},"_$LoadDnaSequenceImageUri":{"LoadDnaSequenceImageUri":[],"Action":[]},"_$SetIsZoomAboveThreshold":{"SetIsZoomAboveThreshold":[],"Action":[]},"_$SetExportSvgActionDelayedForPngCache":{"SetExportSvgActionDelayedForPngCache":[],"Action":[]},"_$ShowBasePairLinesSet":{"ShowBasePairLinesSet":[],"Action":[]},"_$ShowBasePairLinesWithMismatchesSet":{"ShowBasePairLinesWithMismatchesSet":[],"Action":[]},"_$ShowSliceBarSet":{"ShowSliceBarSet":[],"Action":[]},"_$SliceBarOffsetSet":{"SliceBarOffsetSet":[],"Action":[]},"_$DisablePngCachingDnaSequencesSet":{"DisablePngCachingDnaSequencesSet":[],"Action":[]},"_$RetainStrandColorOnSelectionSet":{"RetainStrandColorOnSelectionSet":[],"Action":[]},"_$DisplayReverseDNARightSideUpSet":{"DisplayReverseDNARightSideUpSet":[],"Action":[]},"_$SliceBarMoveStart":{"SliceBarMoveStart":[],"Action":[]},"_$SliceBarMoveStop":{"SliceBarMoveStop":[],"Action":[]},"_$Autostaple":{"Autostaple":[],"Action":[]},"_$Autobreak":{"Autobreak":[],"Action":[]},"_$ZoomSpeedSet":{"ZoomSpeedSet":[],"Action":[]},"_$OxdnaExport":{"OxdnaExport":[],"Action":[]},"_$OxviewExport":{"OxviewExport":[],"Action":[]},"_$OxExportOnlySelectedStrandsSet":{"OxExportOnlySelectedStrandsSet":[],"Action":[]},"_$DNAFileTypeSerializer":{"PrimitiveSerializer":["DNAFileType"],"Serializer":["DNAFileType"]},"_$DNASequencePredefinedSerializer":{"PrimitiveSerializer":["DNASequencePredefined"],"Serializer":["DNASequencePredefined"]},"SuppressableIndentEncoder":{"JsonEncoder":[],"Converter":["Object?","String"]},"PointSerializer":{"PrimitiveSerializer":["Point<1>"],"Serializer":["Point<1>"]},"ColorSerializer":{"PrimitiveSerializer":["Color"],"Serializer":["Color"]},"_$AddressSerializer":{"StructuredSerializer":["Address"],"Serializer":["Address"]},"_$AddressDifferenceSerializer":{"StructuredSerializer":["AddressDifference"],"Serializer":["AddressDifference"]},"_$Address":{"Address":[]},"_$AddressDifference":{"AddressDifference":[]},"_$AppState":{"AppState":[]},"_$AppUIStateSerializer":{"StructuredSerializer":["AppUIState"],"Serializer":["AppUIState"]},"_$AppUIState":{"AppUIState":[]},"_$AppUIStateStorablesSerializer":{"StructuredSerializer":["AppUIStateStorables"],"Serializer":["AppUIStateStorables"]},"_$AppUIStateStorables":{"AppUIStateStorables":[]},"_$BasePairDisplayTypeSerializer":{"PrimitiveSerializer":["BasePairDisplayType"],"Serializer":["BasePairDisplayType"]},"_$ContextMenuSerializer":{"StructuredSerializer":["ContextMenu"],"Serializer":["ContextMenu"]},"_$ContextMenuItemSerializer":{"StructuredSerializer":["ContextMenuItem"],"Serializer":["ContextMenuItem"]},"_$ContextMenu":{"ContextMenu":[]},"_$ContextMenuItem":{"ContextMenuItem":[]},"_$CopyInfoSerializer":{"StructuredSerializer":["CopyInfo"],"Serializer":["CopyInfo"]},"_$CopyInfo":{"CopyInfo":[]},"Crossover":{"SelectableMixin":[],"Selectable":[],"Linker":[]},"_$CrossoverSerializer":{"StructuredSerializer":["Crossover"],"Serializer":["Crossover"]},"_$Crossover":{"Crossover":[],"SelectableMixin":[],"Selectable":[],"Linker":[]},"IllegalDesignError":{"Exception":[]},"IllegalCadnanoDesignError":{"IllegalDesignError":[],"Exception":[]},"StrandError":{"IllegalDesignError":[],"Exception":[]},"_$Design":{"Design":[]},"_$DesignSideRotationParamsSerializer":{"StructuredSerializer":["DesignSideRotationParams"],"Serializer":["DesignSideRotationParams"]},"_$DesignSideRotationDataSerializer":{"StructuredSerializer":["DesignSideRotationData"],"Serializer":["DesignSideRotationData"]},"_$DesignSideRotationParams":{"DesignSideRotationParams":[]},"_$DesignSideRotationData":{"DesignSideRotationData":[]},"DialogInteger":{"DialogItem":[]},"DialogFloat":{"DialogItem":[]},"DialogText":{"DialogItem":[]},"DialogTextArea":{"DialogItem":[]},"DialogCheckbox":{"DialogItem":[]},"DialogRadio":{"DialogItem":[]},"DialogLink":{"DialogItem":[]},"DialogLabel":{"DialogItem":[]},"_$DialogTypeSerializer":{"PrimitiveSerializer":["DialogType"],"Serializer":["DialogType"]},"_$DialogSerializer":{"StructuredSerializer":["Dialog"],"Serializer":["Dialog"]},"_$DialogIntegerSerializer":{"StructuredSerializer":["DialogInteger"],"Serializer":["DialogInteger"]},"_$DialogFloatSerializer":{"StructuredSerializer":["DialogFloat"],"Serializer":["DialogFloat"]},"_$DialogTextSerializer":{"StructuredSerializer":["DialogText"],"Serializer":["DialogText"]},"_$DialogTextAreaSerializer":{"StructuredSerializer":["DialogTextArea"],"Serializer":["DialogTextArea"]},"_$DialogCheckboxSerializer":{"StructuredSerializer":["DialogCheckbox"],"Serializer":["DialogCheckbox"]},"_$DialogRadioSerializer":{"StructuredSerializer":["DialogRadio"],"Serializer":["DialogRadio"]},"_$DialogLinkSerializer":{"StructuredSerializer":["DialogLink"],"Serializer":["DialogLink"]},"_$Dialog":{"Dialog":[]},"_$DialogInteger":{"DialogInteger":[],"DialogItem":[]},"_$DialogFloat":{"DialogFloat":[],"DialogItem":[]},"_$DialogText":{"DialogText":[],"DialogItem":[]},"_$DialogTextArea":{"DialogTextArea":[],"DialogItem":[]},"_$DialogCheckbox":{"DialogCheckbox":[],"DialogItem":[]},"_$DialogRadio":{"DialogRadio":[],"DialogItem":[]},"_$DialogLink":{"DialogLink":[],"DialogItem":[]},"_$DialogLabel":{"DialogLabel":[],"DialogItem":[]},"_$DNAAssignOptionsSerializer":{"StructuredSerializer":["DNAAssignOptions"],"Serializer":["DNAAssignOptions"]},"_$DNAAssignOptions":{"DNAAssignOptions":[]},"DNAEnd":{"SelectableMixin":[],"Selectable":[]},"_$DNAEndSerializer":{"StructuredSerializer":["DNAEnd"],"Serializer":["DNAEnd"]},"_$DNAEnd":{"DNAEnd":[],"SelectableMixin":[],"Selectable":[]},"_$DNAEndsMoveSerializer":{"StructuredSerializer":["DNAEndsMove"],"Serializer":["DNAEndsMove"]},"_$DNAEndMoveSerializer":{"StructuredSerializer":["DNAEndMove"],"Serializer":["DNAEndMove"]},"_$DNAEndsMove":{"DNAEndsMove":[]},"_$DNAEndMove":{"DNAEndMove":[]},"_$DNAExtensionsMoveSerializer":{"StructuredSerializer":["DNAExtensionsMove"],"Serializer":["DNAExtensionsMove"]},"_$DNAExtensionMoveSerializer":{"StructuredSerializer":["DNAExtensionMove"],"Serializer":["DNAExtensionMove"]},"_$DNAExtensionsMove":{"DNAExtensionsMove":[]},"_$DNAExtensionMove":{"DNAExtensionMove":[]},"Domain":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$InsertionSerializer":{"StructuredSerializer":["Insertion"],"Serializer":["Insertion"]},"_$DomainSerializer":{"StructuredSerializer":["Domain"],"Serializer":["Domain"]},"_$Insertion":{"Insertion":[]},"_$Domain":{"Domain":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$DomainNameMismatchSerializer":{"StructuredSerializer":["DomainNameMismatch"],"Serializer":["DomainNameMismatch"]},"_$DomainNameMismatch":{"DomainNameMismatch":[]},"_$DomainsMoveSerializer":{"StructuredSerializer":["DomainsMove"],"Serializer":["DomainsMove"]},"_$DomainsMove":{"DomainsMove":[]},"_$EditModeChoiceSerializer":{"PrimitiveSerializer":["EditModeChoice"],"Serializer":["EditModeChoice"]},"_$ExampleDesignsSerializer":{"StructuredSerializer":["ExampleDesigns"],"Serializer":["ExampleDesigns"]},"_$ExampleDesigns":{"ExampleDesigns":[]},"ExportDNAException":{"Exception":[]},"_$ExportDNAFormatSerializer":{"PrimitiveSerializer":["ExportDNAFormat"],"Serializer":["ExportDNAFormat"]},"_$StrandOrderSerializer":{"PrimitiveSerializer":["StrandOrder"],"Serializer":["StrandOrder"]},"Extension":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$ExtensionSerializer":{"StructuredSerializer":["Extension"],"Serializer":["Extension"]},"_$Extension":{"Extension":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$GeometrySerializer":{"StructuredSerializer":["Geometry"],"Serializer":["Geometry"]},"_$Geometry":{"Geometry":[]},"_$GridSerializer":{"PrimitiveSerializer":["Grid"],"Serializer":["Grid"]},"_$GridPositionSerializer":{"StructuredSerializer":["GridPosition"],"Serializer":["GridPosition"]},"_$GridPosition":{"GridPosition":[]},"_$HelixGroupSerializer":{"StructuredSerializer":["HelixGroup"],"Serializer":["HelixGroup"]},"_$HelixGroup":{"HelixGroup":[]},"_$HelixSerializer":{"StructuredSerializer":["Helix"],"Serializer":["Helix"]},"_$Helix":{"Helix":[]},"_$HelixGroupMoveSerializer":{"StructuredSerializer":["HelixGroupMove"],"Serializer":["HelixGroupMove"]},"_$HelixGroupMove":{"HelixGroupMove":[]},"_$LocalStorageDesignOptionSerializer":{"PrimitiveSerializer":["LocalStorageDesignOption"],"Serializer":["LocalStorageDesignOption"]},"_$LocalStorageDesignChoiceSerializer":{"StructuredSerializer":["LocalStorageDesignChoice"],"Serializer":["LocalStorageDesignChoice"]},"_$LocalStorageDesignChoice":{"LocalStorageDesignChoice":[]},"Loopout":{"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"_$LoopoutSerializer":{"StructuredSerializer":["Loopout"],"Serializer":["Loopout"]},"_$Loopout":{"Loopout":[],"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"Modification5Prime":{"Modification":[]},"Modification3Prime":{"Modification":[]},"ModificationInternal":{"Modification":[]},"_$Modification5PrimeSerializer":{"StructuredSerializer":["Modification5Prime"],"Serializer":["Modification5Prime"]},"_$Modification3PrimeSerializer":{"StructuredSerializer":["Modification3Prime"],"Serializer":["Modification3Prime"]},"_$ModificationInternalSerializer":{"StructuredSerializer":["ModificationInternal"],"Serializer":["ModificationInternal"]},"_$Modification5Prime":{"Modification5Prime":[],"Modification":[]},"_$Modification3Prime":{"Modification3Prime":[],"Modification":[]},"_$ModificationInternal":{"ModificationInternal":[],"Modification":[]},"_$ModificationTypeSerializer":{"PrimitiveSerializer":["ModificationType"],"Serializer":["ModificationType"]},"_$MouseoverParamsSerializer":{"StructuredSerializer":["MouseoverParams"],"Serializer":["MouseoverParams"]},"_$MouseoverDataSerializer":{"StructuredSerializer":["MouseoverData"],"Serializer":["MouseoverData"]},"_$MouseoverParams":{"MouseoverParams":[]},"_$MouseoverData":{"MouseoverData":[]},"_$Position3DSerializer":{"StructuredSerializer":["Position3D"],"Serializer":["Position3D"]},"_$Position3D":{"Position3D":[]},"_$PotentialCrossoverSerializer":{"StructuredSerializer":["PotentialCrossover"],"Serializer":["PotentialCrossover"]},"_$PotentialCrossover":{"PotentialCrossover":[]},"_$PotentialVerticalCrossoverSerializer":{"StructuredSerializer":["PotentialVerticalCrossover"],"Serializer":["PotentialVerticalCrossover"]},"_$PotentialVerticalCrossover":{"PotentialVerticalCrossover":[]},"_$SelectModeChoiceSerializer":{"PrimitiveSerializer":["SelectModeChoice"],"Serializer":["SelectModeChoice"]},"_$SelectModeStateSerializer":{"StructuredSerializer":["SelectModeState"],"Serializer":["SelectModeState"]},"_$SelectModeState":{"SelectModeState":[]},"SelectableDeletion":{"SelectableMixin":[],"Selectable":[]},"SelectableInsertion":{"SelectableMixin":[],"Selectable":[]},"SelectableModification":{"Selectable":[]},"SelectableModification5Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModification3Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModificationInternal":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableMixin":{"Selectable":[]},"_$SelectablesStoreSerializer":{"StructuredSerializer":["SelectablesStore"],"Serializer":["SelectablesStore"]},"_$SelectableDeletionSerializer":{"StructuredSerializer":["SelectableDeletion"],"Serializer":["SelectableDeletion"]},"_$SelectableInsertionSerializer":{"StructuredSerializer":["SelectableInsertion"],"Serializer":["SelectableInsertion"]},"_$SelectableModification5PrimeSerializer":{"StructuredSerializer":["SelectableModification5Prime"],"Serializer":["SelectableModification5Prime"]},"_$SelectableModification3PrimeSerializer":{"StructuredSerializer":["SelectableModification3Prime"],"Serializer":["SelectableModification3Prime"]},"_$SelectableModificationInternalSerializer":{"StructuredSerializer":["SelectableModificationInternal"],"Serializer":["SelectableModificationInternal"]},"_$SelectableTraitSerializer":{"PrimitiveSerializer":["SelectableTrait"],"Serializer":["SelectableTrait"]},"_$SelectablesStore":{"SelectablesStore":[]},"_$SelectableDeletion":{"SelectableDeletion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableInsertion":{"SelectableInsertion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification5Prime":{"SelectableModification5Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification3Prime":{"SelectableModification3Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModificationInternal":{"SelectableModificationInternal":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectionBoxSerializer":{"StructuredSerializer":["SelectionBox"],"Serializer":["SelectionBox"]},"_$SelectionBox":{"SelectionBox":[]},"_$SelectionRopeSerializer":{"StructuredSerializer":["SelectionRope"],"Serializer":["SelectionRope"]},"_$LineSerializer":{"StructuredSerializer":["Line"],"Serializer":["Line"]},"_$SelectionRope":{"SelectionRope":[]},"_$Line":{"Line":[]},"Strand":{"SelectableMixin":[],"Selectable":[]},"_$StrandSerializer":{"StructuredSerializer":["Strand"],"Serializer":["Strand"]},"_$Strand":{"Strand":[],"SelectableMixin":[],"Selectable":[]},"_$StrandCreationSerializer":{"StructuredSerializer":["StrandCreation"],"Serializer":["StrandCreation"]},"_$StrandCreation":{"StrandCreation":[]},"_$StrandsMoveSerializer":{"StructuredSerializer":["StrandsMove"],"Serializer":["StrandsMove"]},"_$StrandsMove":{"StrandsMove":[]},"_$UndoRedoItemSerializer":{"StructuredSerializer":["UndoRedoItem"],"Serializer":["UndoRedoItem"]},"_$UndoRedo":{"UndoRedo":[]},"_$UndoRedoItem":{"UndoRedoItem":[]},"_$VendorFieldsSerializer":{"StructuredSerializer":["VendorFields"],"Serializer":["VendorFields"]},"_$VendorFields":{"VendorFields":[]},"FixedList":{"Iterable":["1"],"Iterable.E":"1"},"_FixedListIterator":{"Iterator":["1"]},"End3PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End3PrimeComponent":{"UiComponent2":["End3PrimeProps"],"Component2":[],"Component":[]},"_$$End3PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End3PrimeComponent":{"UiComponent2":["End3PrimeProps"],"Component2":[],"Component":[]},"_$$End3PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End3PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"End5PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End5PrimeComponent":{"UiComponent2":["End5PrimeProps"],"Component2":[],"Component":[]},"_$$End5PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End5PrimeComponent":{"UiComponent2":["End5PrimeProps"],"Component2":[],"Component":[]},"_$$End5PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End5PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"AxisArrowsMainProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainArrowsComponent":{"UiComponent2":["AxisArrowsMainProps"],"Component2":[],"Component":[]},"_$$AxisArrowsMainProps":{"AxisArrowsMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent":{"UiComponent2":["AxisArrowsMainProps"],"Component2":[],"Component":[]},"_$$AxisArrowsMainProps$PlainMap":{"AxisArrowsMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$AxisArrowsMainProps$JsMap":{"AxisArrowsMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"AxisArrowsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"AxisArrowsSideProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"AxisArrowsComponent":{"UiComponent2":["AxisArrowsSideProps"],"Component2":[],"Component":[]},"_$$AxisArrowsSideProps":{"AxisArrowsSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$AxisArrowsComponent":{"UiComponent2":["AxisArrowsSideProps"],"Component2":[],"Component":[]},"_$$AxisArrowsSideProps$PlainMap":{"AxisArrowsSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$AxisArrowsSideProps$JsMap":{"AxisArrowsSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignContextMenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextMenuState":{"Map":["@","@"]},"DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps"],"Component2":[],"Component":[]},"DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextSubmenuState":{"Map":["@","@"]},"DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps"],"Component2":[],"Component":[]},"_$$DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps$PlainMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuProps$JsMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextMenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextSubmenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignDialogFormProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignDialogFormState":{"Map":["@","@"]},"DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps$PlainMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormProps$JsMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignDialogFormState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignFooterProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignFooterComponent":{"UiComponent2":["DesignFooterProps"],"Component2":[],"Component":[]},"_$$DesignFooterProps":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignFooterComponent":{"UiComponent2":["DesignFooterProps"],"Component2":[],"Component":[]},"_$$DesignFooterProps$PlainMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignFooterProps$JsMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignLoadingDialogProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps$PlainMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignLoadingDialogProps$JsMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainComponent":{"UiComponent2":["DesignMainProps"],"Component2":[],"Component":[]},"_$$DesignMainProps":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainComponent":{"UiComponent2":["DesignMainProps"],"Component2":[],"Component":[]},"_$$DesignMainProps$PlainMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainProps$JsMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairLinesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairRectangleProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequenceProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequencesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainNameMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps$PlainMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainsMovingProps$JsMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainErrorBoundaryState":{"Map":["@","@"]},"DesignMainErrorBoundaryComponent":{"UiComponent2":["1"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainErrorBoundaryComponent":{"UiComponent2":["DesignMainErrorBoundaryProps"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelicesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoversProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainSliceBarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandAndDomainTextsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCreatingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandCrossoverState":{"Map":["@","@"]},"DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainStrandCrossoverState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDeletionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAEndProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EndMovingComponent":{"UiComponent2":["EndMovingProps"],"Component2":[],"Component":[]},"_$$EndMovingProps":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EndMovingComponent":{"UiComponent2":["EndMovingProps"],"Component2":[],"Component":[]},"_$$EndMovingProps$PlainMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EndMovingProps$JsMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ExtensionEndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps$PlainMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ExtensionEndMovingProps$JsMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDomainTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainExtensionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandExtensionTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandInsertionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainLoopoutState":{"Map":["@","@"]},"DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainLoopoutState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandLoopoutTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandPathsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps$PlainMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsProps$JsMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps$PlainMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsMovingProps$JsMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainUnpairedInsertionDeletionsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainWarningStarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideComponent":{"UiComponent2":["DesignSideProps"],"Component2":[],"Component":[]},"_$$DesignSideProps":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideComponent":{"UiComponent2":["DesignSideProps"],"Component2":[],"Component":[]},"_$$DesignSideProps$PlainMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideProps$JsMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSidePotentialHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationArrowProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditAndSelectModesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps$PlainMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditAndSelectModesProps$JsMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditModeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditModeComponent":{"UiComponent2":["EditModeProps"],"Component2":[],"Component":[]},"_$$EditModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditModeComponent":{"UiComponent2":["EditModeProps"],"Component2":[],"Component":[]},"_$$EditModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"HelixGroupMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps$PlainMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$HelixGroupMovingProps$JsMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuComponent":{"UiComponent2":["MenuProps"],"Component2":[],"Component":[]},"_$$MenuProps":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuComponent":{"UiComponent2":["MenuProps"],"Component2":[],"Component":[]},"_$$MenuProps$PlainMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuProps$JsMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuBooleanProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps"],"Component2":[],"Component":[]},"_$$MenuBooleanProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps"],"Component2":[],"Component":[]},"_$$MenuBooleanProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuBooleanProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownItemProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuDropdownRightState":{"Map":["@","@"]},"MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$MenuDropdownRightState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuFormFileProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps"],"Component2":[],"Component":[]},"_$$MenuFormFileProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps"],"Component2":[],"Component":[]},"_$$MenuFormFileProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuFormFileProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuNumberComponent":{"UiComponent2":["MenuNumberProps"],"Component2":[],"Component":[]},"_$$MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuNumberComponent":{"UiComponent2":["MenuNumberProps"],"Component2":[],"Component":[]},"_$$MenuNumberProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuNumberProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SideMenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SideMenuComponent":{"UiComponent2":["SideMenuProps"],"Component2":[],"Component":[]},"_$$SideMenuProps":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SideMenuComponent":{"UiComponent2":["SideMenuProps"],"Component2":[],"Component":[]},"_$$SideMenuProps$PlainMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SideMenuProps$JsMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialCrossoverViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps$PlainMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialCrossoverViewProps$JsMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialExtensionsViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps$PlainMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialExtensionsViewProps$JsMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectModePropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"SelectModeComponent":{"UiComponent2":["SelectModeProps"],"Component2":[],"Component":[]},"_$$SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectModeComponent":{"UiComponent2":["SelectModeProps"],"Component2":[],"Component":[]},"_$$SelectModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionBoxViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps$PlainMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionBoxViewProps$JsMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionRopeViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps$PlainMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionRopeViewProps$JsMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"StrandOrSubstrandColorPickerProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"StrandOrSubstrandColorPickerState":{"Map":["@","@"]},"StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps$PlainMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerProps$JsMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$StrandOrSubstrandColorPickerState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"StringScannerException":{"FormatException":[],"Exception":[]},"ManagedDisposer":{"_Disposable":[]},"_ObservableTimer":{"Timer":[]},"Disposable":{"_Disposable":[]},"XmlDefaultEntityMapping":{"XmlEntityMapping":[]},"XmlException":{"Exception":[]},"XmlParentException":{"Exception":[]},"XmlParserException":{"FormatException":[],"Exception":[]},"XmlTagException":{"FormatException":[],"Exception":[]},"XmlNodeTypeException":{"Exception":[]},"XmlDescendantsIterable":{"Iterable":["XmlNode"],"Iterable.E":"XmlNode"},"XmlDescendantsIterator":{"Iterator":["XmlNode"]},"XmlAttribute":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode"},"XmlCDATA":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlComment":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlData":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[]},"XmlDeclaration":{"XmlHasAttributes":[],"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlDoctype":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlDocument":{"XmlNode":[],"XmlHasChildren":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasChildren.T":"XmlNode"},"XmlElement":{"XmlHasAttributes":[],"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasChildren":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode","XmlHasChildren.T":"XmlNode"},"XmlNode":{"XmlHasVisitor":[],"XmlParentBase":[]},"XmlProcessing":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlText":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlCharacterDataParser":{"Parser":["String"]},"XmlName":{"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[]},"XmlNodeList":{"DelegatingList":["1"],"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"XmlPrefixName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlSimpleName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlParentBase":[],"XmlHasParent.T":"XmlNode"},"XmlWriter":{"XmlVisitor":[]},"XmlEventEncoder":{"Converter":["List","String"]},"_XmlEventEncoderSink":{"Sink":["List"],"XmlEventVisitor":[]},"_XmlNodeDecoderSink":{"Sink":["List"],"XmlEventVisitor":[]},"XmlCDATAEvent":{"XmlEvent":[]},"XmlCommentEvent":{"XmlEvent":[]},"XmlDeclarationEvent":{"XmlEvent":[]},"XmlDoctypeEvent":{"XmlEvent":[]},"XmlEndElementEvent":{"XmlEvent":[]},"XmlProcessingEvent":{"XmlEvent":[]},"XmlStartElementEvent":{"XmlEvent":[]},"XmlTextEvent":{"XmlEvent":[]},"XmlRawTextEvent":{"XmlTextEvent":[],"XmlEvent":[]},"XmlEventIterable":{"Iterable":["XmlEvent"],"Iterable.E":"XmlEvent"},"XmlEventIterator":{"Iterator":["XmlEvent"]},"ConversionSink":{"Sink":["1"]},"ResolvableParser":{"Parser":["1"]},"VersionRange":{"Comparable":["VersionRange"]}}')); + A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"StreamTransformerBase":2,"_DelayedEvent":1,"IterableBase":1,"ListBase":1,"MapBase":2,"SetBase":1,"_ListBase_Object_ListMixin":1,"_SetBase_Object_SetMixin":1,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"Comparable":1,"_JsArray_JsObject_ListMixin":1,"ErrorBoundaryApi":2,"RecoverableErrorBoundaryComponent":2,"_RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"UiStatefulComponent2":2,"UiStatefulMixin2":2,"_UiStatefulComponent2_UiComponent2_UiStatefulMixin2":2,"ProviderProps":1,"ConsumerProps":1,"DesignMainErrorBoundaryComponent":2,"_DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"RedrawCounterMixin":1}')); var string$ = { x0ax0aThis: "\n\nThis error may be due to using @Component() instead of @Component2() on your component extending from UiComponent2.", x0ax20and_: "\n and second-to-last substrand is Loopout: ", @@ -155156,6 +156991,8 @@ An_unr: "An unrecoverable error was caught by an ErrorBoundary (attempting to remount it was unsuccessful): \nInfo: ", AssignD: "AssignDomainNameComplementFromBoundDomains", AssignS: "AssignDomainNameComplementFromBoundStrands", + AxisArM: "AxisArrowsMainProps.show_helices_axis_arrows", + AxisArS: "AxisArrowsSideProps.show_helices_axis_arrows", Cannoteff: "Cannot extract a file path from a URI with a fragment component", Cannotefq: "Cannot extract a file path from a URI with a query component", Cannoten: "Cannot extract a non-Windows file path from a file URI with an authority", @@ -155166,7 +157003,6 @@ DesignCM: "DesignContextMenuState.menu_HTML_element_ref", DesignCS: "DesignContextSubmenuState.submenu_HTML_element_ref", DesignF: "DesignFooterProps.strand_first_mouseover_data", - DesignMA: "DesignMainArrowsProps.show_helices_axis_arrows", DesignMBLh: "DesignMainBasePairLinesProps.helix_idx_to_svg_position_y_map", DesignMBLo: "DesignMainBasePairLinesProps.only_display_selected_helices", DesignMBLs: "DesignMainBasePairLinesProps.side_selected_helix_idxs", @@ -155178,16 +157014,15 @@ DesignMDNEc: "DesignMainDNAEndPropsMixin.context_menu_strand", DesignMDNEd: "DesignMainDNAEndPropsMixin.drawing_potential_crossover", DesignMDNEh: "DesignMainDNAEndPropsMixin.helix_svg_position", - DesignMDNEi: "DesignMainDNAEndPropsMixin.is_on_extension", DesignMDNEm: "DesignMainDNAEndPropsMixin.moving_this_dna_end", DesignMDNEr: "DesignMainDNAEndPropsMixin.retain_strand_color_on_selection", DesignMDNMh: "DesignMainDNAMismatchesProps.helix_idx_to_svg_position_y_map", DesignMDNMo: "DesignMainDNAMismatchesProps.only_display_selected_helices", DesignMDNMs: "DesignMainDNAMismatchesProps.side_selected_helix_idxs", - DesignMDNSPd: "DesignMainDNASequencePropsMixin.display_reverse_DNA_right_side_up", - DesignMDNSPh: "DesignMainDNASequencePropsMixin.helix_idx_to_svg_position_map", - DesignMDNSPo: "DesignMainDNASequencePropsMixin.only_display_selected_helices", - DesignMDNSPs: "DesignMainDNASequencePropsMixin.side_selected_helix_idxs", + DesignMDNSPd: "DesignMainDNASequenceProps.display_reverse_DNA_right_side_up", + DesignMDNSPh: "DesignMainDNASequenceProps.helix_idx_to_svg_position_map", + DesignMDNSPo: "DesignMainDNASequenceProps.only_display_selected_helices", + DesignMDNSPs: "DesignMainDNASequenceProps.side_selected_helix_idxs", DesignMDNSsdia: "DesignMainDNASequencesProps.disable_png_caching_dna_sequences", DesignMDNSsdip: "DesignMainDNASequencesProps.display_reverse_DNA_right_side_up", DesignMDNSsdnh: "DesignMainDNASequencesProps.dna_sequence_png_horizontal_offset", @@ -155199,36 +157034,26 @@ DesignMDNSso: "DesignMainDNASequencesProps.only_display_selected_helices", DesignMDNSsr: "DesignMainDNASequencesProps.retain_strand_color_on_selection", DesignMDNSss: "DesignMainDNASequencesProps.side_selected_helix_idxs", - DesignMDoMa: "DesignMainDomainMovingPropsMixin.allowable", - DesignMDoMc: "DesignMainDomainMovingPropsMixin.current_group", - DesignMDoMdef: "DesignMainDomainMovingPropsMixin.delta_forward", - DesignMDoMdeo: "DesignMainDomainMovingPropsMixin.delta_offset", - DesignMDoMdev: "DesignMainDomainMovingPropsMixin.delta_view_order", - DesignMDoMdoh: "DesignMainDomainMovingPropsMixin.domain_helix_svg_position_y", - DesignMDoMdom: "DesignMainDomainMovingPropsMixin.domain_moved", - DesignMDoMg: "DesignMainDomainMovingPropsMixin.geometry", - DesignMDoMo: "DesignMainDomainMovingPropsMixin.original_group", - DesignMDoMs: "DesignMainDomainMovingPropsMixin.side_selected_helix_idxs", + DesignMDoMc: "DesignMainDomainMovingProps.current_group", + DesignMDoMdef: "DesignMainDomainMovingProps.delta_forward", + DesignMDoMdev: "DesignMainDomainMovingProps.delta_view_order", + DesignMDoMdo: "DesignMainDomainMovingProps.domain_helix_svg_position_y", + DesignMDoMo: "DesignMainDomainMovingProps.original_group", + DesignMDoMs: "DesignMainDomainMovingProps.side_selected_helix_idxs", DesignMDoNd: "DesignMainDomainNameMismatchesProps.design", DesignMDoNh: "DesignMainDomainNameMismatchesProps.helix_idx_to_svg_position_map", DesignMDoNo: "DesignMainDomainNameMismatchesProps.only_display_selected_helices", DesignMDoNs: "DesignMainDomainNameMismatchesProps.side_selected_helix_idxs", - DesignMDoPc: "DesignMainDomainPropsMixin.context_menu_strand", - DesignMDoPh: "DesignMainDomainPropsMixin.helix_svg_position", - DesignMDoPr: "DesignMainDomainPropsMixin.retain_strand_color_on_selection", - DesignMDoPs: "DesignMainDomainPropsMixin.strand_tooltip", + DesignMDoPc: "DesignMainDomainProps.context_menu_strand", + DesignMDoPr: "DesignMainDomainProps.retain_strand_color_on_selection", DesignMDosco: "DesignMainDomainsMovingProps.color_of_domain", DesignMDoscu: "DesignMainDomainsMovingProps.current_group", DesignMDosd: "DesignMainDomainsMovingProps.domains_move", DesignMDosh: "DesignMainDomainsMovingProps.helix_idx_to_svg_position_y_map", DesignMDoso: "DesignMainDomainsMovingProps.original_group", DesignMDoss: "DesignMainDomainsMovingProps.side_selected_helix_idxs", - DesignMEad: "DesignMainExtensionPropsMixin.adjacent_domain", - DesignMEah: "DesignMainExtensionPropsMixin.adjacent_helix", - DesignMEah_: "DesignMainExtensionPropsMixin.adjacent_helix_svg_position", - DesignMEr: "DesignMainExtensionPropsMixin.retain_strand_color_on_selection", - DesignMEsc: "DesignMainExtensionPropsMixin.strand_color", - DesignMEst: "DesignMainExtensionPropsMixin.strand_tooltip", + DesignMEa: "DesignMainExtensionProps.adjacent_helix_svg_position", + DesignMEr: "DesignMainExtensionProps.retain_strand_color_on_selection", DesignMHcdb: "DesignMainHelicesProps.display_base_offsets_of_major_ticks", DesignMHcdb_: "DesignMainHelicesProps.display_base_offsets_of_major_ticks_only_first_helix", DesignMHcdm: "DesignMainHelicesProps.display_major_tick_widths", @@ -155247,208 +157072,140 @@ DesignMHxh: "DesignMainHelixProps.helix_change_apply_to_all", DesignMHxmo: "DesignMainHelixProps.major_tick_offset_font_size", DesignMHxmw: "DesignMainHelixProps.major_tick_width_font_size", - DesignMHxs: "DesignMainHelixProps.strand_create_enabled", - DesignMLEPg: "DesignMainLoopoutExtensionLengthPropsMixin.geometry", - DesignMLEPs: "DesignMainLoopoutExtensionLengthPropsMixin.substrand", + DesignMLEPg: "DesignMainLoopoutExtensionLengthProps.geometry", + DesignMLEPs: "DesignMainLoopoutExtensionLengthProps.substrand", DesignMLEsg: "DesignMainLoopoutExtensionLengthsProps.geometry", DesignMLEssh: "DesignMainLoopoutExtensionLengthsProps.show_length", DesignMLEsst: "DesignMainLoopoutExtensionLengthsProps.strands", - DesignMLPn: "DesignMainLoopoutPropsMixin.next_helix_svg_position_y", - DesignMLPp: "DesignMainLoopoutPropsMixin.prev_helix_svg_position_y", - DesignMLPr: "DesignMainLoopoutPropsMixin.retain_strand_color_on_selection", - DesignMLPs: "DesignMainLoopoutPropsMixin.show_domain_names", - DesignMPoPge: "DesignMainPotentialVerticalCrossoverPropsMixin.geometry", - DesignMPoPgr: "DesignMainPotentialVerticalCrossoverPropsMixin.groups", - DesignMPoPhc: "DesignMainPotentialVerticalCrossoverPropsMixin.helices", - DesignMPoPhx: "DesignMainPotentialVerticalCrossoverPropsMixin.helix_idx_to_svg_position_y_map", - DesignMPoPp: "DesignMainPotentialVerticalCrossoverPropsMixin.potential_vertical_crossover", - DesignMPosge: "DesignMainPotentialVerticalCrossoversProps.geometry", - DesignMPosgr: "DesignMainPotentialVerticalCrossoversProps.groups", - DesignMPoshc: "DesignMainPotentialVerticalCrossoversProps.helices", - DesignMPoshx: "DesignMainPotentialVerticalCrossoversProps.helix_idx_to_svg_position_y_map", - DesignMPoso: "DesignMainPotentialVerticalCrossoversProps.only_display_selected_helices", - DesignMPosp: "DesignMainPotentialVerticalCrossoversProps.potential_vertical_crossovers", - DesignMPoss: "DesignMainPotentialVerticalCrossoversProps.side_selected_helix_idxs", - DesignMPrb: "DesignMainPropsMixin.base_pair_display_type", - DesignMPrdia: "DesignMainPropsMixin.disable_png_caching_dna_sequences", - DesignMPrdip_b: "DesignMainPropsMixin.display_base_offsets_of_major_ticks", - DesignMPrdip_b_: "DesignMainPropsMixin.display_base_offsets_of_major_ticks_only_first_helix", - DesignMPrdip_m: "DesignMainPropsMixin.display_major_tick_widths", - DesignMPrdip_m_: "DesignMainPropsMixin.display_major_tick_widths_all_helices", - DesignMPrdip_r: "DesignMainPropsMixin.display_reverse_DNA_right_side_up", - DesignMPrdipe: "DesignMainPropsMixin.displayed_group_name", - DesignMPrdnh: "DesignMainPropsMixin.dna_sequence_png_horizontal_offset", - DesignMPrdnu: "DesignMainPropsMixin.dna_sequence_png_uri", - DesignMPrdnv: "DesignMainPropsMixin.dna_sequence_png_vertical_offset", - DesignMPrdo: "DesignMainPropsMixin.domain_label_font_size", - DesignMPrdr: "DesignMainPropsMixin.drawing_potential_crossover", - DesignMPre: "DesignMainPropsMixin.export_svg_action_delayed_for_png_cache", - DesignMPrhc: "DesignMainPropsMixin.helix_change_apply_to_all", - DesignMPrhg: "DesignMainPropsMixin.helix_group_is_moving", - DesignMPrhi: "DesignMainPropsMixin.helix_idx_to_svg_position_map", - DesignMPri: "DesignMainPropsMixin.is_zoom_above_threshold", - DesignMPrmo: "DesignMainPropsMixin.major_tick_offset_font_size", - DesignMPrmw: "DesignMainPropsMixin.major_tick_width_font_size", - DesignMPro: "DesignMainPropsMixin.only_display_selected_helices", - DesignMPrp: "DesignMainPropsMixin.potential_vertical_crossovers", - DesignMPrr: "DesignMainPropsMixin.retain_strand_color_on_selection", - DesignMPrshb: "DesignMainPropsMixin.show_base_pair_lines", - DesignMPrshb_: "DesignMainPropsMixin.show_base_pair_lines_with_mismatches", - DesignMPrshd: "DesignMainPropsMixin.show_domain_name_mismatches", - DesignMPrshh: "DesignMainPropsMixin.show_helix_components", - DesignMPrshl: "DesignMainPropsMixin.show_loopout_extension_length", - DesignMPrshu: "DesignMainPropsMixin.show_unpaired_insertion_deletions", - DesignMPrsi: "DesignMainPropsMixin.side_selected_helix_idxs", + DesignMLPn: "DesignMainLoopoutProps.next_helix_svg_position_y", + DesignMLPp: "DesignMainLoopoutProps.prev_helix_svg_position_y", + DesignMLPr: "DesignMainLoopoutProps.retain_strand_color_on_selection", + DesignMPPge: "DesignMainPotentialVerticalCrossoverProps.geometry", + DesignMPPgr: "DesignMainPotentialVerticalCrossoverProps.groups", + DesignMPPhc: "DesignMainPotentialVerticalCrossoverProps.helices", + DesignMPPhx: "DesignMainPotentialVerticalCrossoverProps.helix_idx_to_svg_position_y_map", + DesignMPPp: "DesignMainPotentialVerticalCrossoverProps.potential_vertical_crossover", + DesignMPsge: "DesignMainPotentialVerticalCrossoversProps.geometry", + DesignMPsgr: "DesignMainPotentialVerticalCrossoversProps.groups", + DesignMPshc: "DesignMainPotentialVerticalCrossoversProps.helices", + DesignMPshx: "DesignMainPotentialVerticalCrossoversProps.helix_idx_to_svg_position_y_map", + DesignMPso: "DesignMainPotentialVerticalCrossoversProps.only_display_selected_helices", + DesignMPsp: "DesignMainPotentialVerticalCrossoversProps.potential_vertical_crossovers", + DesignMPss: "DesignMainPotentialVerticalCrossoversProps.side_selected_helix_idxs", DesignMSld: "DesignMainSliceBarProps.displayed_group_name", DesignMSlh_: "DesignMainSliceBarProps.helix_idx_to_svg_position_map", DesignMSlhs: "DesignMainSliceBarProps.helix_idxs_in_group", DesignMSlo: "DesignMainSliceBarProps.only_display_selected_helices", DesignMSls: "DesignMainSliceBarProps.side_selected_helix_idxs", - DesignMStAc: "DesignMainStrandAndDomainTextsPropsMixin.context_menu_strand", - DesignMStAdl: "DesignMainStrandAndDomainTextsPropsMixin.domain_label_font_size", - DesignMStAdn: "DesignMainStrandAndDomainTextsPropsMixin.domain_name_font_size", - DesignMStAge: "DesignMainStrandAndDomainTextsPropsMixin.geometry", - DesignMStAgr: "DesignMainStrandAndDomainTextsPropsMixin.groups", - DesignMStAhc: "DesignMainStrandAndDomainTextsPropsMixin.helices", - DesignMStAhx: "DesignMainStrandAndDomainTextsPropsMixin.helix_idx_to_svg_position", - DesignMStAo: "DesignMainStrandAndDomainTextsPropsMixin.only_display_selected_helices", - DesignMStAshdn: "DesignMainStrandAndDomainTextsPropsMixin.show_dna", - DesignMStAshdol: "DesignMainStrandAndDomainTextsPropsMixin.show_domain_labels", - DesignMStAshdon: "DesignMainStrandAndDomainTextsPropsMixin.show_domain_names", - DesignMStAshsl: "DesignMainStrandAndDomainTextsPropsMixin.show_strand_labels", - DesignMStAshsn: "DesignMainStrandAndDomainTextsPropsMixin.show_strand_names", - DesignMStAsi: "DesignMainStrandAndDomainTextsPropsMixin.side_selected_helix_idxs", - DesignMStAst: "DesignMainStrandAndDomainTextsPropsMixin.strand", - DesignMStAst_l: "DesignMainStrandAndDomainTextsPropsMixin.strand_label_font_size", - DesignMStAst_n: "DesignMainStrandAndDomainTextsPropsMixin.strand_name_font_size", - DesignMStCef: "DesignMainStrandCreatingPropsMixin.forward", - DesignMStCege: "DesignMainStrandCreatingPropsMixin.geometry", - DesignMStCegr: "DesignMainStrandCreatingPropsMixin.groups", - DesignMStCeh: "DesignMainStrandCreatingPropsMixin.helices", - DesignMStCes: "DesignMainStrandCreatingPropsMixin.svg_position_y", - DesignMStCoc: "DesignMainStrandCrossoverPropsMixin.crossover", - DesignMStCoge: "DesignMainStrandCrossoverPropsMixin.geometry", - DesignMStCogr: "DesignMainStrandCrossoverPropsMixin.groups", - DesignMStCoh: "DesignMainStrandCrossoverPropsMixin.helices", - DesignMStCon: "DesignMainStrandCrossoverPropsMixin.next_domain", - DesignMStCon_: "DesignMainStrandCrossoverPropsMixin.next_domain_helix_svg_position_y", - DesignMStCop: "DesignMainStrandCrossoverPropsMixin.prev_domain", - DesignMStCop_: "DesignMainStrandCrossoverPropsMixin.prev_domain_helix_svg_position_y", - DesignMStCor: "DesignMainStrandCrossoverPropsMixin.retain_strand_color_on_selection", - DesignMStCose: "DesignMainStrandCrossoverPropsMixin.selected", - DesignMStCost: "DesignMainStrandCrossoverPropsMixin.strand", + DesignMStAc: "DesignMainStrandAndDomainTextsProps.context_menu_strand", + DesignMStAdl: "DesignMainStrandAndDomainTextsProps.domain_label_font_size", + DesignMStAdn: "DesignMainStrandAndDomainTextsProps.domain_name_font_size", + DesignMStAge: "DesignMainStrandAndDomainTextsProps.geometry", + DesignMStAgr: "DesignMainStrandAndDomainTextsProps.groups", + DesignMStAhc: "DesignMainStrandAndDomainTextsProps.helices", + DesignMStAhx: "DesignMainStrandAndDomainTextsProps.helix_idx_to_svg_position", + DesignMStAo: "DesignMainStrandAndDomainTextsProps.only_display_selected_helices", + DesignMStAshdn: "DesignMainStrandAndDomainTextsProps.show_dna", + DesignMStAshdol: "DesignMainStrandAndDomainTextsProps.show_domain_labels", + DesignMStAshdon: "DesignMainStrandAndDomainTextsProps.show_domain_names", + DesignMStAshsl: "DesignMainStrandAndDomainTextsProps.show_strand_labels", + DesignMStAshsn: "DesignMainStrandAndDomainTextsProps.show_strand_names", + DesignMStAsi: "DesignMainStrandAndDomainTextsProps.side_selected_helix_idxs", + DesignMStAst: "DesignMainStrandAndDomainTextsProps.strand", + DesignMStAst_l: "DesignMainStrandAndDomainTextsProps.strand_label_font_size", + DesignMStAst_n: "DesignMainStrandAndDomainTextsProps.strand_name_font_size", + DesignMStCe: "DesignMainStrandCreatingProps.svg_position_y", + DesignMStCon: "DesignMainStrandCrossoverProps.next_domain", + DesignMStCon_: "DesignMainStrandCrossoverProps.next_domain_helix_svg_position_y", + DesignMStCop: "DesignMainStrandCrossoverProps.prev_domain", + DesignMStCop_: "DesignMainStrandCrossoverProps.prev_domain_helix_svg_position_y", + DesignMStCor: "DesignMainStrandCrossoverProps.retain_strand_color_on_selection", DesignMStDer: "DesignMainStrandDeletionPropsMixin.retain_strand_color_on_selection", DesignMStDesea: "DesignMainStrandDeletionPropsMixin.selectable_deletion", DesignMStDesee: "DesignMainStrandDeletionPropsMixin.selected", DesignMStDesv: "DesignMainStrandDeletionPropsMixin.svg_position_y", DesignMStDet: "DesignMainStrandDeletionPropsMixin.transform", - DesignMStDoco: "DesignMainStrandDomainTextPropsMixin.context_menu_strand", - DesignMStDocs: "DesignMainStrandDomainTextPropsMixin.css_selector_text", - DesignMStDod: "DesignMainStrandDomainTextPropsMixin.domain", - DesignMStDof: "DesignMainStrandDomainTextPropsMixin.font_size", - DesignMStDog: "DesignMainStrandDomainTextPropsMixin.geometry", - DesignMStDoh: "DesignMainStrandDomainTextPropsMixin.helix", - DesignMStDoh_g: "DesignMainStrandDomainTextPropsMixin.helix_groups", - DesignMStDoh_s: "DesignMainStrandDomainTextPropsMixin.helix_svg_position", - DesignMStDon: "DesignMainStrandDomainTextPropsMixin.num_stacked", - DesignMStDos: "DesignMainStrandDomainTextPropsMixin.strand", - DesignMStDote: "DesignMainStrandDomainTextPropsMixin.text", - DesignMStDotr: "DesignMainStrandDomainTextPropsMixin.transform", - DesignMStEc: "DesignMainStrandExtensionTextPropsMixin.css_selector_text", - DesignMStEe: "DesignMainStrandExtensionTextPropsMixin.ext", - DesignMStEf: "DesignMainStrandExtensionTextPropsMixin.font_size", - DesignMStEg: "DesignMainStrandExtensionTextPropsMixin.geometry", - DesignMStEn: "DesignMainStrandExtensionTextPropsMixin.num_stacked", - DesignMStEt: "DesignMainStrandExtensionTextPropsMixin.text", - DesignMStIc: "DesignMainStrandInsertionPropsMixin.color", - DesignMStId: "DesignMainStrandInsertionPropsMixin.display_reverse_DNA_right_side_up", - DesignMStIh: "DesignMainStrandInsertionPropsMixin.helix", - DesignMStIr: "DesignMainStrandInsertionPropsMixin.retain_strand_color_on_selection", - DesignMStIsea: "DesignMainStrandInsertionPropsMixin.selectable_insertion", - DesignMStIsee: "DesignMainStrandInsertionPropsMixin.selected", - DesignMStIsv: "DesignMainStrandInsertionPropsMixin.svg_position_y", - DesignMStIt: "DesignMainStrandInsertionPropsMixin.transform", - DesignMStLc: "DesignMainStrandLoopoutTextPropsMixin.css_selector_text", - DesignMStLf: "DesignMainStrandLoopoutTextPropsMixin.font_size", - DesignMStLg: "DesignMainStrandLoopoutTextPropsMixin.geometry", - DesignMStLl: "DesignMainStrandLoopoutTextPropsMixin.loopout", - DesignMStLne: "DesignMainStrandLoopoutTextPropsMixin.next_domain", - DesignMStLnu: "DesignMainStrandLoopoutTextPropsMixin.num_stacked", - DesignMStLp: "DesignMainStrandLoopoutTextPropsMixin.prev_domain", - DesignMStLt: "DesignMainStrandLoopoutTextPropsMixin.text", + DesignMStDoco: "DesignMainStrandDomainTextProps.context_menu_strand", + DesignMStDocs: "DesignMainStrandDomainTextProps.css_selector_text", + DesignMStDof: "DesignMainStrandDomainTextProps.font_size", + DesignMStDohg: "DesignMainStrandDomainTextProps.helix_groups", + DesignMStDohs: "DesignMainStrandDomainTextProps.helix_svg_position", + DesignMStDon: "DesignMainStrandDomainTextProps.num_stacked", + DesignMStDot: "DesignMainStrandDomainTextProps.transform", + DesignMStEc: "DesignMainStrandExtensionTextProps.css_selector_text", + DesignMStEf: "DesignMainStrandExtensionTextProps.font_size", + DesignMStEg: "DesignMainStrandExtensionTextProps.geometry", + DesignMStEn: "DesignMainStrandExtensionTextProps.num_stacked", + DesignMStId: "DesignMainStrandInsertionProps.display_reverse_DNA_right_side_up", + DesignMStIr: "DesignMainStrandInsertionProps.retain_strand_color_on_selection", + DesignMStIse: "DesignMainStrandInsertionProps.selectable_insertion", + DesignMStIsv: "DesignMainStrandInsertionProps.svg_position_y", + DesignMStLc: "DesignMainStrandLoopoutTextProps.css_selector_text", + DesignMStLf: "DesignMainStrandLoopoutTextProps.font_size", + DesignMStLg: "DesignMainStrandLoopoutTextProps.geometry", + DesignMStLne: "DesignMainStrandLoopoutTextProps.next_domain", + DesignMStLnu: "DesignMainStrandLoopoutTextProps.num_stacked", + DesignMStLp: "DesignMainStrandLoopoutTextProps.prev_domain", DesignMStMdPdi: "DesignMainStrandModificationProps.display_connector", DesignMStMdPdn: "DesignMainStrandModificationProps.dna_idx_mod", DesignMStMdPf: "DesignMainStrandModificationProps.font_size", DesignMStMdPg: "DesignMainStrandModificationProps.geometry", DesignMStMdPh: "DesignMainStrandModificationProps.helix_svg_position_y", - DesignMStMdPi: "DesignMainStrandModificationProps.invert_y", DesignMStMdPr: "DesignMainStrandModificationProps.retain_strand_color_on_selection", DesignMStMdPsa: "DesignMainStrandModificationProps.selectable_modification", DesignMStMdPse: "DesignMainStrandModificationProps.selected", DesignMStMdPt: "DesignMainStrandModificationProps.transform", - DesignMStMdsd: "DesignMainStrandModificationsPropsMixin.display_connector", - DesignMStMdsf: "DesignMainStrandModificationsPropsMixin.font_size", - DesignMStMdsge: "DesignMainStrandModificationsPropsMixin.geometry", - DesignMStMdsgr: "DesignMainStrandModificationsPropsMixin.groups", - DesignMStMdshc: "DesignMainStrandModificationsPropsMixin.helices", - DesignMStMdshx: "DesignMainStrandModificationsPropsMixin.helix_idx_to_svg_position_y_map", - DesignMStMdso: "DesignMainStrandModificationsPropsMixin.only_display_selected_helices", - DesignMStMdsr: "DesignMainStrandModificationsPropsMixin.retain_strand_color_on_selection", - DesignMStMdsse: "DesignMainStrandModificationsPropsMixin.selected_modifications_in_strand", - DesignMStMdssi: "DesignMainStrandModificationsPropsMixin.side_selected_helix_idxs", - DesignMStMdsst: "DesignMainStrandModificationsPropsMixin.strand", - DesignMStMva: "DesignMainStrandMovingPropsMixin.allowable", - DesignMStMvc: "DesignMainStrandMovingPropsMixin.current_group", - DesignMStMvdf: "DesignMainStrandMovingPropsMixin.delta_forward", - DesignMStMvdo: "DesignMainStrandMovingPropsMixin.delta_offset", - DesignMStMvdv: "DesignMainStrandMovingPropsMixin.delta_view_order", - DesignMStMvg: "DesignMainStrandMovingPropsMixin.geometry", - DesignMStMvh: "DesignMainStrandMovingPropsMixin.helix_idx_to_svg_position_map", - DesignMStMvo: "DesignMainStrandMovingPropsMixin.original_helices_view_order_inverse", - DesignMStMvs: "DesignMainStrandMovingPropsMixin.side_selected_helix_idxs", - DesignMStPac: "DesignMainStrandPathsPropsMixin.context_menu_strand", - DesignMStPad: "DesignMainStrandPathsPropsMixin.drawing_potential_crossover", - DesignMStPah: "DesignMainStrandPathsPropsMixin.helix_idx_to_svg_position_map", - DesignMStPam: "DesignMainStrandPathsPropsMixin.moving_dna_ends", - DesignMStPaon: "DesignMainStrandPathsPropsMixin.only_display_selected_helices", - DesignMStPaor: "DesignMainStrandPathsPropsMixin.origami_type_is_selectable", - DesignMStPar: "DesignMainStrandPathsPropsMixin.retain_strand_color_on_selection", - DesignMStPasec: "DesignMainStrandPathsPropsMixin.selected_crossovers_in_strand", - DesignMStPased: "DesignMainStrandPathsPropsMixin.selected_domains_in_strand", - DesignMStPaseen: "DesignMainStrandPathsPropsMixin.selected_ends_in_strand", - DesignMStPaseex: "DesignMainStrandPathsPropsMixin.selected_extensions_in_strand", - DesignMStPasel: "DesignMainStrandPathsPropsMixin.selected_loopouts_in_strand", - DesignMStPashd: "DesignMainStrandPathsPropsMixin.show_domain_names", - DesignMStPashs: "DesignMainStrandPathsPropsMixin.show_strand_names", - DesignMStPasi: "DesignMainStrandPathsPropsMixin.side_selected_helix_idxs", - DesignMStPast: "DesignMainStrandPathsPropsMixin.strand_tooltip", - DesignMStPrdi: "DesignMainStrandPropsMixin.display_reverse_DNA_right_side_up", - DesignMStPrdn: "DesignMainStrandPropsMixin.dna_assign_options", - DesignMStPrdol: "DesignMainStrandPropsMixin.domain_label_font_size", - DesignMStPrdon: "DesignMainStrandPropsMixin.domain_name_font_size", - DesignMStPrdr: "DesignMainStrandPropsMixin.drawing_potential_crossover", - DesignMStPrh: "DesignMainStrandPropsMixin.helix_idx_to_svg_position_map", - DesignMStPrmdd: "DesignMainStrandPropsMixin.modification_display_connector", - DesignMStPrmdf: "DesignMainStrandPropsMixin.modification_font_size", - DesignMStPrmv: "DesignMainStrandPropsMixin.moving_dna_ends", - DesignMStPro: "DesignMainStrandPropsMixin.only_display_selected_helices", - DesignMStPrr: "DesignMainStrandPropsMixin.retain_strand_color_on_selection", - DesignMStPrsec: "DesignMainStrandPropsMixin.selected_crossovers_in_strand", - DesignMStPrsede: "DesignMainStrandPropsMixin.selected_deletions_in_strand", - DesignMStPrsedo: "DesignMainStrandPropsMixin.selected_domains_in_strand", - DesignMStPrseen: "DesignMainStrandPropsMixin.selected_ends_in_strand", - DesignMStPrseex: "DesignMainStrandPropsMixin.selected_extensions_in_strand", - DesignMStPrsei: "DesignMainStrandPropsMixin.selected_insertions_in_strand", - DesignMStPrsel: "DesignMainStrandPropsMixin.selected_loopouts_in_strand", - DesignMStPrsem: "DesignMainStrandPropsMixin.selected_modifications_in_strand", - DesignMStPrshdl: "DesignMainStrandPropsMixin.show_domain_labels", - DesignMStPrshdn: "DesignMainStrandPropsMixin.show_domain_names", - DesignMStPrshm: "DesignMainStrandPropsMixin.show_modifications", - DesignMStPrshsl: "DesignMainStrandPropsMixin.show_strand_labels", - DesignMStPrshsn: "DesignMainStrandPropsMixin.show_strand_names", - DesignMStPrsi: "DesignMainStrandPropsMixin.side_selected_helix_idxs", - DesignMStPrstl: "DesignMainStrandPropsMixin.strand_label_font_size", - DesignMStPrstn: "DesignMainStrandPropsMixin.strand_name_font_size", + DesignMStMdsd: "DesignMainStrandModificationsProps.display_connector", + DesignMStMdsf: "DesignMainStrandModificationsProps.font_size", + DesignMStMdsge: "DesignMainStrandModificationsProps.geometry", + DesignMStMdsgr: "DesignMainStrandModificationsProps.groups", + DesignMStMdshc: "DesignMainStrandModificationsProps.helices", + DesignMStMdshx: "DesignMainStrandModificationsProps.helix_idx_to_svg_position_y_map", + DesignMStMdso: "DesignMainStrandModificationsProps.only_display_selected_helices", + DesignMStMdsr: "DesignMainStrandModificationsProps.retain_strand_color_on_selection", + DesignMStMdsse: "DesignMainStrandModificationsProps.selected_modifications_in_strand", + DesignMStMdssi: "DesignMainStrandModificationsProps.side_selected_helix_idxs", + DesignMStMdsst: "DesignMainStrandModificationsProps.strand", + DesignMStMvc: "DesignMainStrandMovingProps.current_group", + DesignMStMvdf: "DesignMainStrandMovingProps.delta_forward", + DesignMStMvdv: "DesignMainStrandMovingProps.delta_view_order", + DesignMStMvh: "DesignMainStrandMovingProps.helix_idx_to_svg_position_map", + DesignMStMvo: "DesignMainStrandMovingProps.original_helices_view_order_inverse", + DesignMStMvs: "DesignMainStrandMovingProps.side_selected_helix_idxs", + DesignMStPac: "DesignMainStrandPathsProps.context_menu_strand", + DesignMStPad: "DesignMainStrandPathsProps.drawing_potential_crossover", + DesignMStPah: "DesignMainStrandPathsProps.helix_idx_to_svg_position_map", + DesignMStPam: "DesignMainStrandPathsProps.moving_dna_ends", + DesignMStPao: "DesignMainStrandPathsProps.only_display_selected_helices", + DesignMStPar: "DesignMainStrandPathsProps.retain_strand_color_on_selection", + DesignMStPasec: "DesignMainStrandPathsProps.selected_crossovers_in_strand", + DesignMStPased: "DesignMainStrandPathsProps.selected_domains_in_strand", + DesignMStPaseen: "DesignMainStrandPathsProps.selected_ends_in_strand", + DesignMStPaseex: "DesignMainStrandPathsProps.selected_extensions_in_strand", + DesignMStPasel: "DesignMainStrandPathsProps.selected_loopouts_in_strand", + DesignMStPash: "DesignMainStrandPathsProps.show_domain_names", + DesignMStPasi: "DesignMainStrandPathsProps.side_selected_helix_idxs", + DesignMStPast: "DesignMainStrandPathsProps.strand_tooltip", + DesignMStPrdi: "DesignMainStrandProps.display_reverse_DNA_right_side_up", + DesignMStPrdol: "DesignMainStrandProps.domain_label_font_size", + DesignMStPrdon: "DesignMainStrandProps.domain_name_font_size", + DesignMStPrdr: "DesignMainStrandProps.drawing_potential_crossover", + DesignMStPrh: "DesignMainStrandProps.helix_idx_to_svg_position_map", + DesignMStPrmd: "DesignMainStrandProps.modification_display_connector", + DesignMStPrmf: "DesignMainStrandProps.modification_font_size", + DesignMStPro: "DesignMainStrandProps.only_display_selected_helices", + DesignMStPrr: "DesignMainStrandProps.retain_strand_color_on_selection", + DesignMStPrsec: "DesignMainStrandProps.selected_crossovers_in_strand", + DesignMStPrsede: "DesignMainStrandProps.selected_deletions_in_strand", + DesignMStPrsedo: "DesignMainStrandProps.selected_domains_in_strand", + DesignMStPrseen: "DesignMainStrandProps.selected_ends_in_strand", + DesignMStPrseex: "DesignMainStrandProps.selected_extensions_in_strand", + DesignMStPrsei: "DesignMainStrandProps.selected_insertions_in_strand", + DesignMStPrsel: "DesignMainStrandProps.selected_loopouts_in_strand", + DesignMStPrsem: "DesignMainStrandProps.selected_modifications_in_strand", + DesignMStPrsi: "DesignMainStrandProps.side_selected_helix_idxs", + DesignMStPrstl: "DesignMainStrandProps.strand_label_font_size", + DesignMStPrstn: "DesignMainStrandProps.strand_name_font_size", DesignMStsMc: "DesignMainStrandsMovingProps.current_group", DesignMStsMh: "DesignMainStrandsMovingProps.helix_idx_to_svg_position_map", DesignMStsMo: "DesignMainStrandsMovingProps.original_helices_view_order_inverse", @@ -155474,7 +157231,6 @@ DesignMUh: "DesignMainUnpairedInsertionDeletionsProps.helix_idx_to_svg_position_y_map", DesignMUo: "DesignMainUnpairedInsertionDeletionsProps.only_display_selected_helices", DesignMUs: "DesignMainUnpairedInsertionDeletionsProps.side_selected_helix_idxs", - DesignSA: "DesignSideArrowsProps.show_helices_axis_arrows", DesignSHh: "DesignSideHelixProps.helix_change_apply_to_all", DesignSHs: "DesignSideHelixProps.show_grid_coordinates", DesignSPog: "DesignSidePotentialHelixProps.grid_position", @@ -155484,44 +157240,21 @@ DesignSR: "DesignSideRotationArrowProps.angle_degrees", EditAne: "EditAndSelectModesProps.edit_mode_menu_visible", EditAns: "EditAndSelectModesProps.select_mode_state", + Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type", ErrorB_: "ErrorBoundary.unrecoverableErrorInnerHtmlContainerNode", ErrorBPi: "ErrorBoundaryProps.identicalErrorFrequencyTolerance", ErrorBPo: "ErrorBoundaryProps.onComponentIsUnrecoverable", + Expand: "Expandos are not allowed on strings, numbers, booleans or null", For_in: "For internal modifications that are attached to a base, this field specifies the bases to which \nit can be attached. (Any symbols other than ACGTacgt are ignored in this field). For instance,\nIDT can only attach a biotin modification /iBiodT/ to a T base, so one would enter T in this field.", HelixGh: "HelixGroupMovingProps.helix_idx_to_svg_position_map", + HelixGmo: "HelixGroupMovingProps.major_tick_offset_font_size", + HelixGmw: "HelixGroupMovingProps.major_tick_width_font_size", HelixGo: "HelixGroupMovingProps.only_display_selected_helices", HelixGs: "HelixGroupMovingProps.side_selected_helix_idxs", If_che: 'If checked, then this internal modification is attached to a DNA base (such as internal biotin /iBiodT/). \nIn that case the list of allowed DNA bases to which it can attach must be specified in the field \n"allowed bases". If unchecked, then this internal modification goes in between bases (e.g., a carbon linker\nsuch as /iSp9/).', M__6_3: "M -6.32 -6.32 L 6.32 6.32 M 6.32 -6.32 L -6.32 6.32", M_0_0_: "M 0 0 v -46.5 m 7.75 11.625 L 0 -46.5 m -7.75 11.625 L 0 -46.5 ", - MenuDr: "MenuDropdownItemPropsMixin.keyboard_shortcut", - MenuPrc: "MenuPropsMixin.clear_helix_selection_when_loading_new_design", - MenuPrdefc: "MenuPropsMixin.default_crossover_type_scaffold_for_setting_helix_rolls", - MenuPrdeft: "MenuPropsMixin.default_crossover_type_staple_for_setting_helix_rolls", - MenuPrdes: "MenuPropsMixin.design_has_insertions_or_deletions", - MenuPrdia: "MenuPropsMixin.disable_png_caching_dna_sequences", - MenuPrdipb: "MenuPropsMixin.display_base_offsets_of_major_ticks_only_first_helix", - MenuPrdipm: "MenuPropsMixin.display_major_tick_widths_all_helices", - MenuPrdipo: "MenuPropsMixin.display_of_major_ticks_offsets", - MenuPrdipr: "MenuPropsMixin.display_reverse_DNA_right_side_up", - MenuPrdy: "MenuPropsMixin.dynamically_update_helices", - MenuPre: "MenuPropsMixin.export_svg_text_separately", - MenuPrl: "MenuPropsMixin.local_storage_design_choice", - MenuPrmao: "MenuPropsMixin.major_tick_offset_font_size", - MenuPrmaw: "MenuPropsMixin.major_tick_width_font_size", - MenuPrmo: "MenuPropsMixin.modification_display_connector", - MenuPron: "MenuPropsMixin.only_display_selected_helices", - MenuProx: "MenuPropsMixin.ox_export_only_selected_strands", - MenuPrr: "MenuPropsMixin.retain_strand_color_on_selection", - MenuPrse: "MenuPropsMixin.selection_box_intersection", - MenuPrshb: "MenuPropsMixin.show_base_pair_lines_with_mismatches", - MenuPrshd: "MenuPropsMixin.show_domain_name_mismatches", - MenuPrshg: "MenuPropsMixin.show_grid_coordinates_side_view", - MenuPrshhi: "MenuPropsMixin.show_helix_circles_main_view", - MenuPrshho: "MenuPropsMixin.show_helix_components_main_view", - MenuPrshl: "MenuPropsMixin.show_loopout_extension_length", - MenuPrshu: "MenuPropsMixin.show_unpaired_insertion_deletions", - Node_a: "Node already has a parent, copy or remove it first: ", + Node_a: "Node already has a parent, copy or remove it first", PotentC: "PotentialCrossoverViewProps.potential_crossover", PotentE: "PotentialExtensionsViewProps.potential_extensions", SelectB: "SelectionBoxViewProps.stroke_width_getter", @@ -155534,8 +157267,8 @@ WARNINn: "WARNING: no element found on page with group ID = ", WARNINs: "WARNING: selectable_mods should have at least one element in it by this line", You_ha: "You have discovered a bug. Please send this entire error message to\n https://github.com/UC-Davis-molecular-computing/scadnano/issues", - x60jsCla: "`jsClass` must not be null. Ensure that the JS component class you're referencing is available and being accessed correctly.", - x60null_: "`null` encountered as the result from expression with type `Never`.", + x60null_c: "`null` encountered as case in a switch expression with a non-nullable enum type.", + x60null_t: "`null` encountered as the result from expression with type `Never`.", applic: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", assign: "assign domain name complement from bound strands", cannotc: "cannot convert grid coordinates for grid unless it is one of square, hex, or honeycomb", @@ -155546,5866 +157279,5138 @@ default: "default_crossover_type_staple_for_setting_helix_rolls", displa: "display_base_offsets_of_major_ticks_only_first_helix", extens: "extension must have positive number of bases", - handle: "handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", https_: "https://sulcgroup.github.io/oxdna-viewer/", + modifi: "modification must be ModificationInternal, Modification3Prime, or Modification5Prime", serial: "serializer must be StructuredSerializer or PrimitiveSerializer", substr: "substrand must be Domain, Loopout, or Extension" }; var type$ = (function rtii() { - var findType = H.findType; + var findType = A.findType; return { - $env_1_1_dynamic: findType("@<@>"), $env_1_1_void: findType("@<~>"), + Action: findType("Action"), + Action_Function_int: findType("Action(int)"), + Address: findType("Address"), + AddressDifference: findType("AddressDifference"), + AppState: findType("AppState"), + AppUIState: findType("AppUIState"), + AppUIStateStorables: findType("AppUIStateStorables"), ArchiveFile: findType("ArchiveFile"), + AssignDNA: findType("AssignDNA"), + AssignDNAComplementFromBoundStrands: findType("AssignDNAComplementFromBoundStrands"), + AssignDomainNameComplementFromBoundDomains: findType("AssignDomainNameComplementFromBoundDomains"), + AssignDomainNameComplementFromBoundStrands: findType("AssignDomainNameComplementFromBoundStrands"), AsyncError: findType("AsyncError"), + AutoPasteInitiate: findType("AutoPasteInitiate"), + Autobreak: findType("Autobreak"), + AutofitSet: findType("AutofitSet"), + Autostaple: findType("Autostaple"), Base64Codec: findType("Base64Codec"), BaseElement: findType("BaseElement"), + BasePairDisplayType: findType("BasePairDisplayType"), + BasePairTypeSet: findType("BasePairTypeSet"), + BatchAction: findType("BatchAction"), BeforeUnloadEvent: findType("BeforeUnloadEvent"), BigInt: findType("BigInt"), Blob: findType("Blob"), BodyElement: findType("BodyElement"), + Box: findType("Box"), + Browser: findType("Browser"), BuiltIterable_dynamic: findType("BuiltIterable<@>"), BuiltListMultimap_dynamic_dynamic: findType("BuiltListMultimap<@,@>"), + BuiltList_Address: findType("BuiltList
"), + BuiltList_BuiltList_int: findType("BuiltList>"), + BuiltList_ContextMenuItem: findType("BuiltList"), + BuiltList_Crossover: findType("BuiltList"), + BuiltList_DNAEndMove: findType("BuiltList"), + BuiltList_DNAExtensionMove: findType("BuiltList"), + BuiltList_DesignSideRotationData: findType("BuiltList"), + BuiltList_DialogItem: findType("BuiltList"), + BuiltList_Domain: findType("BuiltList"), + BuiltList_DomainNameMismatch: findType("BuiltList"), + BuiltList_Extension: findType("BuiltList"), + BuiltList_Insertion: findType("BuiltList"), + BuiltList_Loopout: findType("BuiltList"), + BuiltList_Mismatch: findType("BuiltList"), + BuiltList_MouseoverData: findType("BuiltList"), + BuiltList_MouseoverParams: findType("BuiltList"), + BuiltList_Point_double: findType("BuiltList>"), + BuiltList_PotentialVerticalCrossover: findType("BuiltList"), + BuiltList_SelectModeChoice: findType("BuiltList"), + BuiltList_Selectable: findType("BuiltList"), + BuiltList_SelectableModification3Prime: findType("BuiltList"), + BuiltList_SelectableModification5Prime: findType("BuiltList"), + BuiltList_SelectableModificationInternal: findType("BuiltList"), + BuiltList_SelectableTrait: findType("BuiltList"), + BuiltList_Strand: findType("BuiltList"), + BuiltList_String: findType("BuiltList"), + BuiltList_Substrand: findType("BuiltList"), + BuiltList_Tuple2_Address_Crossover: findType("BuiltList>"), + BuiltList_Tuple5_int_Domain_Domain_Strand_Strand: findType("BuiltList>"), + BuiltList_UndoRedoItem: findType("BuiltList"), + BuiltList_UndoableAction: findType("BuiltList"), BuiltList_dynamic: findType("BuiltList<@>"), + BuiltList_int: findType("BuiltList"), + BuiltList_nullable_Object: findType("BuiltList"), + BuiltMap_Domain_Color: findType("BuiltMap"), + BuiltMap_String_HelixGroup: findType("BuiltMap"), + BuiltMap_String_dynamic: findType("BuiltMap"), BuiltMap_dynamic_dynamic: findType("BuiltMap<@,@>"), + BuiltMap_int_Helix: findType("BuiltMap"), + BuiltMap_int_ModificationInternal: findType("BuiltMap"), + BuiltMap_int_Strand: findType("BuiltMap"), + BuiltMap_int_double: findType("BuiltMap"), + BuiltMap_int_int: findType("BuiltMap"), + BuiltMap_int_num: findType("BuiltMap"), + BuiltMap_of_DialogType_and_BuiltList_DialogItem: findType("BuiltMap>"), + BuiltMap_of_String_and_BuiltList_int: findType("BuiltMap>"), + BuiltMap_of_int_and_BuiltList_String: findType("BuiltMap>"), + BuiltMap_of_int_and_BuiltList_int: findType("BuiltMap>"), + BuiltMap_of_int_and_BuiltMap_of_int_and_BuiltList_String: findType("BuiltMap>>"), + BuiltMap_of_int_and_Point_double: findType("BuiltMap>"), BuiltSetMultimap_dynamic_dynamic: findType("BuiltSetMultimap<@,@>"), + BuiltSet_Crossover: findType("BuiltSet"), + BuiltSet_DNAEnd: findType("BuiltSet"), + BuiltSet_Domain: findType("BuiltSet"), + BuiltSet_EditModeChoice: findType("BuiltSet"), + BuiltSet_Extension: findType("BuiltSet"), + BuiltSet_Loopout: findType("BuiltSet"), + BuiltSet_SelectModeChoice: findType("BuiltSet"), + BuiltSet_Selectable: findType("BuiltSet"), + BuiltSet_SelectableDeletion: findType("BuiltSet"), + BuiltSet_SelectableInsertion: findType("BuiltSet"), + BuiltSet_SelectableModification: findType("BuiltSet"), + BuiltSet_Strand: findType("BuiltSet"), BuiltSet_dynamic: findType("BuiltSet<@>"), + BuiltSet_int: findType("BuiltSet"), + BuiltSet_nullable_Object: findType("BuiltSet"), ButtonElement: findType("ButtonElement"), ByteBuffer: findType("ByteBuffer"), - CastParser_dynamic_String: findType("CastParser<@,String>"), - CastParser_void_dynamic: findType("CastParser<~,@>"), + CanvasElement: findType("CanvasElement"), + CanvasRenderingContext2D: findType("CanvasRenderingContext2D"), CharacterPredicate: findType("CharacterPredicate"), CircleElement: findType("CircleElement"), + ClearHelixSelectionWhenLoadingNewDesignSet: findType("ClearHelixSelectionWhenLoadingNewDesignSet"), CodeUnits: findType("CodeUnits"), + Color: findType("Color"), Comparable_dynamic: findType("Comparable<@>"), + Completer_int: findType("Completer"), + Component: findType("Component"), + Component2: findType("Component2"), + Component2_Function: findType("Component2()"), + ComponentStatics2: findType("ComponentStatics2"), ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), ConstantStringMap_of_legacy_String_and_legacy_String: findType("ConstantStringMap"), + ConsumedProps: findType("ConsumedProps"), + ContextMenu: findType("ContextMenu"), + ContextMenuHide: findType("ContextMenuHide"), + ContextMenuItem: findType("ContextMenuItem"), + ContextMenuShow: findType("ContextMenuShow"), + ConversionSink_List_XmlNode: findType("ConversionSink>"), + ConversionSink_String: findType("ConversionSink"), + ConvertCrossoverToLoopout: findType("ConvertCrossoverToLoopout"), + ConvertCrossoversToLoopouts: findType("ConvertCrossoversToLoopouts"), + CopyInfo: findType("CopyInfo"), + CopySelectedStandsToClipboardImage: findType("CopySelectedStandsToClipboardImage"), + CopySelectedStrands: findType("CopySelectedStrands"), + Crossover: findType("Crossover"), CssNumericValue: findType("CssNumericValue"), CssRule: findType("CssRule"), + CssStyleRule: findType("CssStyleRule"), + CssStyleSheet: findType("CssStyleSheet"), + DNAAssignOptions: findType("DNAAssignOptions"), + DNAEnd: findType("DNAEnd"), + DNAEndMove: findType("DNAEndMove"), + DNAEndsMove: findType("DNAEndsMove"), + DNAEndsMoveAdjustOffset: findType("DNAEndsMoveAdjustOffset"), + DNAEndsMoveCommit: findType("DNAEndsMoveCommit"), + DNAEndsMoveSetSelectedEnds: findType("DNAEndsMoveSetSelectedEnds"), + DNAEndsMoveStart: findType("DNAEndsMoveStart"), + DNAEndsMoveStop: findType("DNAEndsMoveStop"), + DNAExtensionMove: findType("DNAExtensionMove"), + DNAExtensionsMove: findType("DNAExtensionsMove"), + DNAExtensionsMoveAdjustPosition: findType("DNAExtensionsMoveAdjustPosition"), + DNAExtensionsMoveCommit: findType("DNAExtensionsMoveCommit"), + DNAExtensionsMoveSetSelectedExtensionEnds: findType("DNAExtensionsMoveSetSelectedExtensionEnds"), + DNAExtensionsMoveStart: findType("DNAExtensionsMoveStart"), + DNAExtensionsMoveStop: findType("DNAExtensionsMoveStop"), + DNAFileType: findType("DNAFileType"), + DNASequencePredefined: findType("DNASequencePredefined"), DateTime: findType("DateTime"), + DefaultCrossoverTypeForSettingHelixRollsSet: findType("DefaultCrossoverTypeForSettingHelixRollsSet"), DefsElement: findType("DefsElement"), + DeleteAllSelected: findType("DeleteAllSelected"), + DeletionAdd: findType("DeletionAdd"), + DeletionRemove: findType("DeletionRemove"), + Design: findType("Design"), + DesignChangingAction: findType("DesignChangingAction"), + DesignMainDomainMovingProps: findType("DesignMainDomainMovingProps"), + DesignMainLoopoutProps: findType("DesignMainLoopoutProps"), + DesignMainPotentialVerticalCrossoverProps: findType("DesignMainPotentialVerticalCrossoverProps"), + DesignMainStrandAndDomainTextsProps: findType("DesignMainStrandAndDomainTextsProps"), + DesignMainStrandCreatingProps: findType("DesignMainStrandCreatingProps"), + DesignMainStrandCrossoverProps: findType("DesignMainStrandCrossoverProps"), + DesignMainStrandModificationsProps: findType("DesignMainStrandModificationsProps"), + DesignMainStrandMovingProps: findType("DesignMainStrandMovingProps"), + DesignSideRotationData: findType("DesignSideRotationData"), + DesignSideRotationParams: findType("DesignSideRotationParams"), + Dialog: findType("Dialog"), + DialogCheckbox: findType("DialogCheckbox"), + DialogFloat: findType("DialogFloat"), + DialogHide: findType("DialogHide"), + DialogInteger: findType("DialogInteger"), + DialogItem: findType("DialogItem"), + DialogLabel: findType("DialogLabel"), + DialogLink: findType("DialogLink"), + DialogRadio: findType("DialogRadio"), + DialogShow: findType("DialogShow"), + DialogText: findType("DialogText"), + DialogTextArea: findType("DialogTextArea"), + DialogType: findType("DialogType"), + DisablePngCachingDnaSequencesSet: findType("DisablePngCachingDnaSequencesSet"), + DisplayMajorTicksOffsetsSet: findType("DisplayMajorTicksOffsetsSet"), + DisplayReverseDNARightSideUpSet: findType("DisplayReverseDNARightSideUpSet"), + DivElement: findType("DivElement"), Document: findType("Document"), - DomException: findType("DomException"), + Domain: findType("Domain"), + DomainLabelFontSizeSet: findType("DomainLabelFontSizeSet"), + DomainNameFontSizeSet: findType("DomainNameFontSizeSet"), + DomainNameMismatch: findType("DomainNameMismatch"), + DomainsMove: findType("DomainsMove"), + DomainsMoveAdjustAddress: findType("DomainsMoveAdjustAddress"), + DomainsMoveCommit: findType("DomainsMoveCommit"), + DomainsMoveStartSelectedDomains: findType("DomainsMoveStartSelectedDomains"), + DomainsMoveStop: findType("DomainsMoveStop"), + DraggableComponent: findType("DraggableComponent"), DraggableEvent: findType("DraggableEvent"), + DtdExternalId: findType("DtdExternalId"), Duration: findType("Duration"), + DynamicHelixUpdateSet: findType("DynamicHelixUpdateSet"), + EditModeChoice: findType("EditModeChoice"), + EditModeToggle: findType("EditModeToggle"), + EditModesSet: findType("EditModesSet"), EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"), Element: findType("Element"), + EndMovingProps: findType("EndMovingProps"), EpsilonParser_String: findType("EpsilonParser"), Error: findType("Error"), + ErrorMessageSet: findType("ErrorMessageSet"), Event: findType("Event"), + ExampleDesigns: findType("ExampleDesigns"), + ExampleDesignsLoad: findType("ExampleDesignsLoad"), Exception: findType("Exception"), + ExportCadnanoFile: findType("ExportCadnanoFile"), + ExportCanDoDNA: findType("ExportCanDoDNA"), + ExportCodenanoFile: findType("ExportCodenanoFile"), + ExportDNA: findType("ExportDNA"), + ExportDNAFormat: findType("ExportDNAFormat"), + ExportSvg: findType("ExportSvg"), + ExportSvgTextSeparatelySet: findType("ExportSvgTextSeparatelySet"), + ExportSvgType: findType("ExportSvgType"), + Extension: findType("Extension"), + ExtensionAdd: findType("ExtensionAdd"), + ExtensionDisplayLengthAngleSet: findType("ExtensionDisplayLengthAngleSet"), + ExtensionEndMovingProps: findType("ExtensionEndMovingProps"), + ExtensionNumBasesChange: findType("ExtensionNumBasesChange"), + ExtensionsNumBasesChange: findType("ExtensionsNumBasesChange"), FEGaussianBlurElement: findType("FEGaussianBlurElement"), FEMergeElement: findType("FEMergeElement"), FEMergeNodeElement: findType("FEMergeNodeElement"), Failure_String: findType("Failure"), - Failure_dynamic: findType("Failure<@>"), - Failure_dynamic_Function_2_Failure_dynamic_and_Failure_dynamic: findType("Failure<@>(Failure<@>,Failure<@>)"), - Failure_void: findType("Failure<~>"), + Failure_XmlEvent: findType("Failure"), + FastAction: findType("FastAction"), File: findType("File"), FileList: findType("FileList"), + FileReader: findType("FileReader"), FileSpan: findType("FileSpan"), + FileUploadInputElement: findType("FileUploadInputElement"), FilterElement: findType("FilterElement"), + FixedList_DialogItem: findType("FixedList"), + FixedList_Map_int_ModificationInternal: findType("FixedList>"), + FixedList_Substrand: findType("FixedList"), FlattenParser_List_String: findType("FlattenParser>"), FlattenParser_List_dynamic: findType("FlattenParser>"), - FlattenParser_dynamic: findType("FlattenParser<@>"), + FlattenParser_Sequence2_of_String_and_List_String: findType("FlattenParser>>"), FontFace: findType("FontFace"), + FormatException: findType("FormatException"), FullType: findType("FullType"), Function: findType("Function"), + Function_Function_Function: findType("Function(Function)"), + FutureOr_ByteBuffer: findType("ByteBuffer/"), + Future_List_int: findType("Future>"), Future_dynamic: findType("Future<@>"), Future_void: findType("Future<~>"), GElement: findType("GElement"), GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta: findType("GeneralConstantMap"), GeneralConstantMap_of_legacy_XmlNodeType_and_Null: findType("GeneralConstantMap"), + Geometry: findType("Geometry"), + GeometrySet: findType("GeometrySet"), + GraphicsElement: findType("GraphicsElement"), + Grid: findType("Grid"), + GridChange: findType("GridChange"), + GridPosition: findType("GridPosition"), + GroupAdd: findType("GroupAdd"), + GroupChange: findType("GroupChange"), + GroupDisplayedChange: findType("GroupDisplayedChange"), + GroupRemove: findType("GroupRemove"), + HelicesPositionsSetBasedOnCrossovers: findType("HelicesPositionsSetBasedOnCrossovers"), + Helix: findType("Helix"), + HelixAdd: findType("HelixAdd"), + HelixBuilder: findType("HelixBuilder"), + HelixGridPositionSet: findType("HelixGridPositionSet"), + HelixGroup: findType("HelixGroup"), + HelixGroupBuilder: findType("HelixGroupBuilder"), + HelixGroupMove: findType("HelixGroupMove"), + HelixGroupMoveAdjustTranslation: findType("HelixGroupMoveAdjustTranslation"), + HelixGroupMoveCommit: findType("HelixGroupMoveCommit"), + HelixGroupMoveCreate: findType("HelixGroupMoveCreate"), + HelixGroupMoveStart: findType("HelixGroupMoveStart"), + HelixGroupMoveStop: findType("HelixGroupMoveStop"), + HelixIdxsChange: findType("HelixIdxsChange"), + HelixIndividualAction: findType("HelixIndividualAction"), + HelixMajorTickDistanceChange: findType("HelixMajorTickDistanceChange"), + HelixMajorTickDistanceChangeAll: findType("HelixMajorTickDistanceChangeAll"), + HelixMajorTickPeriodicDistancesChange: findType("HelixMajorTickPeriodicDistancesChange"), + HelixMajorTickPeriodicDistancesChangeAll: findType("HelixMajorTickPeriodicDistancesChangeAll"), + HelixMajorTickStartChange: findType("HelixMajorTickStartChange"), + HelixMajorTickStartChangeAll: findType("HelixMajorTickStartChangeAll"), + HelixMajorTicksChange: findType("HelixMajorTicksChange"), + HelixMajorTicksChangeAll: findType("HelixMajorTicksChangeAll"), + HelixMaxOffsetSetByDomains: findType("HelixMaxOffsetSetByDomains"), + HelixMaxOffsetSetByDomainsAll: findType("HelixMaxOffsetSetByDomainsAll"), + HelixMaxOffsetSetByDomainsAllSameMax: findType("HelixMaxOffsetSetByDomainsAllSameMax"), + HelixMinOffsetSetByDomains: findType("HelixMinOffsetSetByDomains"), + HelixMinOffsetSetByDomainsAll: findType("HelixMinOffsetSetByDomainsAll"), + HelixOffsetChange: findType("HelixOffsetChange"), + HelixOffsetChangeAll: findType("HelixOffsetChangeAll"), + HelixPitchYaw: findType("HelixPitchYaw"), + HelixPositionSet: findType("HelixPositionSet"), + HelixRemove: findType("HelixRemove"), + HelixRemoveAllSelected: findType("HelixRemoveAllSelected"), + HelixRollSet: findType("HelixRollSet"), + HelixRollSetAtOther: findType("HelixRollSetAtOther"), + HelixSelect: findType("HelixSelect"), + HelixSelectSvgPngCacheInvalidatingAction: findType("HelixSelectSvgPngCacheInvalidatingAction"), + HelixSelectionsAdjust: findType("HelixSelectionsAdjust"), + HelixSelectionsClear: findType("HelixSelectionsClear"), HttpRequest: findType("HttpRequest"), + IllegalDesignError: findType("IllegalDesignError"), ImageData: findType("ImageData"), + InlineInsertionsDeletions: findType("InlineInsertionsDeletions"), InputElement: findType("InputElement"), + Insertion: findType("Insertion"), + InsertionAdd: findType("InsertionAdd"), + InsertionLengthChange: findType("InsertionLengthChange"), + InsertionOrDeletionAction: findType("InsertionOrDeletionAction"), + InsertionRemove: findType("InsertionRemove"), + InsertionsLengthChange: findType("InsertionsLengthChange"), Instantiation1_legacy_int: findType("Instantiation1"), - Int32: findType("Int32"), Int32List: findType("Int32List"), Int64: findType("Int64"), + InvertYSet: findType("InvertYSet"), Invocation: findType("Invocation"), IterableEquality_dynamic: findType("IterableEquality<@>"), + Iterable_DNAEnd: findType("Iterable"), + Iterable_Domain: findType("Iterable"), Iterable_Element: findType("Iterable"), Iterable_Node: findType("Iterable"), + Iterable_SelectModeChoice: findType("Iterable"), + Iterable_Selectable: findType("Iterable"), + Iterable_Strand: findType("Iterable"), Iterable_String: findType("Iterable"), + Iterable_XmlEvent: findType("Iterable"), + Iterable_XmlEventAttribute: findType("Iterable"), Iterable_XmlHasVisitor: findType("Iterable"), - Iterable_XmlNode: findType("Iterable"), Iterable_double: findType("Iterable"), Iterable_dynamic: findType("Iterable<@>"), Iterable_int: findType("Iterable"), Iterable_nullable_Object: findType("Iterable"), - Iterator_Match: findType("Iterator"), + JSArray_Address: findType("JSArray
"), JSArray_ArchiveFile: findType("JSArray"), + JSArray_Blob: findType("JSArray"), + JSArray_BuiltList_int: findType("JSArray>"), + JSArray_BuiltMap_int_ModificationInternal: findType("JSArray>"), + JSArray_ConsumedProps: findType("JSArray"), + JSArray_ContextMenuItem: findType("JSArray"), + JSArray_Crossover: findType("JSArray"), + JSArray_DNAEnd: findType("JSArray"), + JSArray_DNAEndMove: findType("JSArray"), + JSArray_DNAExtensionMove: findType("JSArray"), + JSArray_DesignSideRotationData: findType("JSArray"), + JSArray_DesignSideRotationParams: findType("JSArray"), + JSArray_DialogItem: findType("JSArray"), + JSArray_Domain: findType("JSArray"), + JSArray_DomainNameMismatch: findType("JSArray"), + JSArray_EditModeChoice: findType("JSArray"), JSArray_Element: findType("JSArray"), + JSArray_Extension: findType("JSArray"), + JSArray_GraphicsElement: findType("JSArray"), + JSArray_Helix: findType("JSArray"), + JSArray_HelixBuilder: findType("JSArray"), + JSArray_Insertion: findType("JSArray"), + JSArray_InsertionDeletionRecord: findType("JSArray"), + JSArray_InsertionOrDeletionAction: findType("JSArray"), + JSArray_Iterable_double: findType("JSArray>"), + JSArray_Iterable_int: findType("JSArray>"), + JSArray_Line: findType("JSArray"), + JSArray_Linker: findType("JSArray"), + JSArray_List_Substrand: findType("JSArray>"), + JSArray_List_double: findType("JSArray>"), JSArray_List_dynamic: findType("JSArray>"), + JSArray_Loopout: findType("JSArray"), + JSArray_Map_String_Object: findType("JSArray>"), + JSArray_Map_String_dynamic: findType("JSArray>"), JSArray_Map_dynamic_dynamic: findType("JSArray>"), + JSArray_Map_int_ModificationInternal: findType("JSArray>"), + JSArray_ModificationAdd: findType("JSArray"), + JSArray_MouseoverData: findType("JSArray"), JSArray_NodeValidator: findType("JSArray"), JSArray_Null: findType("JSArray"), JSArray_Object: findType("JSArray"), + JSArray_OxdnaNucleotide: findType("JSArray"), + JSArray_OxdnaStrand: findType("JSArray"), + JSArray_Parser_DtdExternalId: findType("JSArray>"), + JSArray_Parser_Object: findType("JSArray>"), + JSArray_Parser_Sequence2_String_XmlAttributeType: findType("JSArray>>"), + JSArray_Parser_String: findType("JSArray>"), + JSArray_Parser_XmlEvent: findType("JSArray>"), JSArray_Parser_dynamic: findType("JSArray>"), - JSArray_Parser_void: findType("JSArray>"), + JSArray_Point: findType("JSArray"), + JSArray_Point_double: findType("JSArray>"), + JSArray_PotentialVerticalCrossover: findType("JSArray"), JSArray_RangeCharPredicate: findType("JSArray"), + JSArray_ReactElement: findType("JSArray"), + JSArray_ReactErrorInfo: findType("JSArray"), + JSArray_RollXY: findType("JSArray"), + JSArray_SelectModeChoice: findType("JSArray"), + JSArray_Selectable: findType("JSArray"), + JSArray_SelectableDeletion: findType("JSArray"), + JSArray_SelectableInsertion: findType("JSArray"), + JSArray_SelectableModification: findType("JSArray"), + JSArray_SelectableTrait: findType("JSArray"), + JSArray_Strand: findType("JSArray"), JSArray_StreamSubscription_dynamic: findType("JSArray>"), JSArray_String: findType("JSArray"), - JSArray_Token_dynamic: findType("JSArray>"), + JSArray_Substrand: findType("JSArray"), + JSArray_SvgElement: findType("JSArray"), + JSArray_TextContentElement: findType("JSArray"), + JSArray_Tuple2_Address_Address: findType("JSArray>"), + JSArray_Tuple2_Address_Crossover: findType("JSArray>"), + JSArray_Tuple2_DNAEnd_DNAEnd: findType("JSArray>"), + JSArray_Tuple2_Domain_Domain: findType("JSArray>"), + JSArray_Tuple2_OxdnaStrand_bool: findType("JSArray>"), + JSArray_Tuple2_double_double: findType("JSArray>"), + JSArray_Tuple2_of_Tuple2_int_int_and_Domain: findType("JSArray,Domain>>"), + JSArray_Tuple3_int_bool_Domain: findType("JSArray>"), + JSArray_Tuple5_int_Domain_Domain_Strand_Strand: findType("JSArray>"), + JSArray_UndoableAction: findType("JSArray"), JSArray_XmlAttribute: findType("JSArray"), JSArray_XmlElement: findType("JSArray"), + JSArray_XmlEvent: findType("JSArray"), JSArray_XmlNode: findType("JSArray"), + JSArray_XmlStartElementEvent: findType("JSArray"), JSArray_ZipFileHeader: findType("JSArray"), JSArray__EventManager: findType("JSArray<_EventManager>"), JSArray__Highlight: findType("JSArray<_Highlight>"), JSArray__Line: findType("JSArray<_Line>"), JSArray__ZipFileData: findType("JSArray<_ZipFileData>"), + JSArray_double: findType("JSArray"), JSArray_dynamic: findType("JSArray<@>"), JSArray_int: findType("JSArray"), - JSArray_legacy_Address: findType("JSArray"), - JSArray_legacy_Blob: findType("JSArray"), - JSArray_legacy_BuiltList_legacy_int: findType("JSArray*>"), - JSArray_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("JSArray*>"), - JSArray_legacy_ConsumedProps: findType("JSArray"), - JSArray_legacy_ContextMenuItem: findType("JSArray"), - JSArray_legacy_Crossover: findType("JSArray"), - JSArray_legacy_DNAEnd: findType("JSArray"), - JSArray_legacy_DNAEndMove: findType("JSArray"), - JSArray_legacy_DNAExtensionMove: findType("JSArray"), - JSArray_legacy_DesignSideRotationData: findType("JSArray"), - JSArray_legacy_DesignSideRotationParams: findType("JSArray"), - JSArray_legacy_DialogItem: findType("JSArray"), - JSArray_legacy_Domain: findType("JSArray"), - JSArray_legacy_DomainNameMismatch: findType("JSArray"), - JSArray_legacy_EditModeChoice: findType("JSArray"), - JSArray_legacy_Element: findType("JSArray"), - JSArray_legacy_Extension: findType("JSArray"), JSArray_legacy_FullType: findType("JSArray"), - JSArray_legacy_Helix: findType("JSArray"), - JSArray_legacy_HelixBuilder: findType("JSArray"), - JSArray_legacy_Insertion: findType("JSArray"), - JSArray_legacy_InsertionDeletionRecord: findType("JSArray"), - JSArray_legacy_InsertionOrDeletionAction: findType("JSArray"), - JSArray_legacy_Iterable_legacy_double: findType("JSArray*>"), - JSArray_legacy_Iterable_legacy_int: findType("JSArray*>"), - JSArray_legacy_Line: findType("JSArray"), - JSArray_legacy_Linker: findType("JSArray"), - JSArray_legacy_List_legacy_Substrand: findType("JSArray*>"), - JSArray_legacy_List_legacy_double: findType("JSArray*>"), - JSArray_legacy_List_legacy_int: findType("JSArray*>"), - JSArray_legacy_Loopout: findType("JSArray"), - JSArray_legacy_Map_of_legacy_String_and_dynamic: findType("JSArray*>"), - JSArray_legacy_Map_of_legacy_String_and_legacy_Object: findType("JSArray*>"), - JSArray_legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("JSArray*>"), - JSArray_legacy_ModificationAdd: findType("JSArray"), - JSArray_legacy_MouseoverData: findType("JSArray"), - JSArray_legacy_Object: findType("JSArray"), - JSArray_legacy_OxdnaNucleotide: findType("JSArray"), - JSArray_legacy_OxdnaStrand: findType("JSArray"), - JSArray_legacy_Point: findType("JSArray"), - JSArray_legacy_Point_legacy_num: findType("JSArray*>"), - JSArray_legacy_PotentialVerticalCrossover: findType("JSArray"), JSArray_legacy_PropDescriptor: findType("JSArray"), - JSArray_legacy_ReactElement: findType("JSArray"), - JSArray_legacy_ReactErrorInfo: findType("JSArray"), - JSArray_legacy_RollXY: findType("JSArray"), - JSArray_legacy_SelectModeChoice: findType("JSArray"), - JSArray_legacy_Selectable: findType("JSArray"), - JSArray_legacy_SelectableDeletion: findType("JSArray"), - JSArray_legacy_SelectableInsertion: findType("JSArray"), - JSArray_legacy_SelectableTrait: findType("JSArray"), - JSArray_legacy_Strand: findType("JSArray"), JSArray_legacy_String: findType("JSArray"), - JSArray_legacy_Substrand: findType("JSArray"), - JSArray_legacy_SvgElement: findType("JSArray"), - JSArray_legacy_TextContentElement: findType("JSArray"), - JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address: findType("JSArray*>"), - JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("JSArray*>"), - JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd: findType("JSArray*>"), - JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain: findType("JSArray*>"), - JSArray_legacy_Tuple2_of_legacy_OxdnaStrand_and_legacy_bool: findType("JSArray*>"), - JSArray_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("JSArray*,Domain*>*>"), - JSArray_legacy_Tuple2_of_legacy_double_and_legacy_double: findType("JSArray*>"), - JSArray_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("JSArray*>"), - JSArray_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("JSArray*>"), JSArray_legacy_Type: findType("JSArray"), - JSArray_legacy_UndoableAction: findType("JSArray"), - JSArray_legacy_double: findType("JSArray"), JSArray_legacy_int: findType("JSArray"), - JSArray_legacy_num: findType("JSArray"), + JSArray_nullable_ReactElement: findType("JSArray"), JSArray_nullable_String: findType("JSArray"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAEndsMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAExtensionsMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_HelixGroupMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_PotentialCrossover_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionBox_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionRope_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), - JSArray_of_legacy_dynamic_Function_dynamic: findType("JSArray<@(@)*>"), - JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic: findType("JSArray"), + JSArray_num: findType("JSArray"), + JSArray_of_bool_Function_bool_dynamic: findType("JSArray"), + JSArray_of_dynamic_Function_3_Store_nullable_DNAEndsMove_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_3_Store_nullable_DNAExtensionsMove_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_3_Store_nullable_HelixGroupMove_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_3_Store_nullable_PotentialCrossover_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_3_Store_nullable_SelectionBox_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_3_Store_nullable_SelectionRope_and_dynamic_and_dynamic_Function_dynamic: findType("JSArray<@(Store,@,@(@))>"), + JSArray_of_dynamic_Function_dynamic: findType("JSArray<@(@)>"), + JSColor: findType("JSColor"), JSIndexable_dynamic: findType("JSIndexable<@>"), JSNull: findType("JSNull"), JSObject: findType("JSObject"), JavaScriptFunction: findType("JavaScriptFunction"), JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"), + JoinStrandsByCrossover: findType("JoinStrandsByCrossover"), + JoinStrandsByMultipleCrossovers: findType("JoinStrandsByMultipleCrossovers"), JsArray_dynamic: findType("JsArray<@>"), + JsBackedMap: findType("JsBackedMap"), + JsLinkedHashMap_Address_DNAEnd: findType("JsLinkedHashMap"), + JsLinkedHashMap_Address_Domain: findType("JsLinkedHashMap"), + JsLinkedHashMap_Address_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_Crossover_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_DNAEnd_Address: findType("JsLinkedHashMap"), + JsLinkedHashMap_Linker_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_Strand_int: findType("JsLinkedHashMap"), + JsLinkedHashMap_String_dynamic: findType("JsLinkedHashMap"), JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Address_and_legacy_DNAEnd: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Address_and_legacy_Domain: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Address_and_legacy_Strand: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Crossover_and_legacy_Strand: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_DNAEnd_and_legacy_Address: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_Domain_and_legacy_List_legacy_Address: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_Linker_and_legacy_Strand: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Strand_and_legacy_int: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_String_and_dynamic: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_Substrand_and_legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("JsLinkedHashMap*>*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_int: findType("JsLinkedHashMap*>"), - JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal: findType("JsLinkedHashMap"), - JsLinkedHashMap_of_legacy_int_and_legacy_int: findType("JsLinkedHashMap"), + JsLinkedHashMap_int_ModificationInternal: findType("JsLinkedHashMap"), + JsLinkedHashMap_int_int: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_Domain_and_BuiltList_Address: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_Domain_and_List_Address: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_Substrand_and_Map_int_ModificationInternal: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_int_and_BuiltList_Domain: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_int_and_BuiltList_Tuple5_int_Domain_Domain_Strand_Strand: findType("JsLinkedHashMap>>"), + JsLinkedHashMap_of_int_and_BuiltList_int: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_int_and_List_Domain: findType("JsLinkedHashMap>"), + JsLinkedHashMap_of_int_and_List_int: findType("JsLinkedHashMap>"), + JsMap: findType("JsMap"), + JsMap_Function_2_dynamic_Function_dynamic_and_JsMap: findType("JsMap(@(@),JsMap)"), + JsMap_Function_2_nullable_Object_and_JsMap: findType("JsMap(Object?,JsMap)"), + JsMap_Function_dynamic_Function_dynamic: findType("JsMap(@(@))"), + JsMap_Function_nullable_Object: findType("JsMap(Object?)"), JsonObject: findType("JsonObject"), KeyRange: findType("KeyRange"), KeyboardEvent: findType("KeyboardEvent"), + LazyRepeatingParser_Object: findType("LazyRepeatingParser"), + LazyRepeatingParser_String: findType("LazyRepeatingParser"), + LazyRepeatingParser_dynamic: findType("LazyRepeatingParser<@>"), Length: findType("Length"), Level: findType("Level"), + Ligate: findType("Ligate"), + Line: findType("Line"), + Linker: findType("Linker"), + ListBuilder_BuiltList_int: findType("ListBuilder>"), + ListBuilder_ContextMenuItem: findType("ListBuilder"), + ListBuilder_Crossover: findType("ListBuilder"), + ListBuilder_DNAEndMove: findType("ListBuilder"), + ListBuilder_DNAExtensionMove: findType("ListBuilder"), + ListBuilder_DialogItem: findType("ListBuilder"), + ListBuilder_Domain: findType("ListBuilder"), + ListBuilder_Extension: findType("ListBuilder"), + ListBuilder_Insertion: findType("ListBuilder"), + ListBuilder_Loopout: findType("ListBuilder"), + ListBuilder_Mismatch: findType("ListBuilder"), + ListBuilder_MouseoverData: findType("ListBuilder"), + ListBuilder_MouseoverParams: findType("ListBuilder"), + ListBuilder_Point_double: findType("ListBuilder>"), + ListBuilder_SelectModeChoice: findType("ListBuilder"), + ListBuilder_Selectable: findType("ListBuilder"), + ListBuilder_SelectableModification3Prime: findType("ListBuilder"), + ListBuilder_SelectableModification5Prime: findType("ListBuilder"), + ListBuilder_SelectableModificationInternal: findType("ListBuilder"), + ListBuilder_SelectableTrait: findType("ListBuilder"), + ListBuilder_Strand: findType("ListBuilder"), + ListBuilder_String: findType("ListBuilder"), + ListBuilder_Substrand: findType("ListBuilder"), + ListBuilder_UndoableAction: findType("ListBuilder"), ListBuilder_dynamic: findType("ListBuilder<@>"), - ListBuilder_legacy_BuiltList_legacy_int: findType("ListBuilder*>"), - ListBuilder_legacy_ContextMenuItem: findType("ListBuilder"), - ListBuilder_legacy_Crossover: findType("ListBuilder"), - ListBuilder_legacy_DNAEndMove: findType("ListBuilder"), - ListBuilder_legacy_DNAExtensionMove: findType("ListBuilder"), - ListBuilder_legacy_DialogItem: findType("ListBuilder"), - ListBuilder_legacy_Domain: findType("ListBuilder"), - ListBuilder_legacy_Extension: findType("ListBuilder"), - ListBuilder_legacy_Insertion: findType("ListBuilder"), - ListBuilder_legacy_Loopout: findType("ListBuilder"), - ListBuilder_legacy_MouseoverData: findType("ListBuilder"), - ListBuilder_legacy_MouseoverParams: findType("ListBuilder"), - ListBuilder_legacy_Point_legacy_num: findType("ListBuilder*>"), - ListBuilder_legacy_SelectModeChoice: findType("ListBuilder"), - ListBuilder_legacy_Selectable: findType("ListBuilder"), - ListBuilder_legacy_SelectableModification3Prime: findType("ListBuilder"), - ListBuilder_legacy_SelectableModification5Prime: findType("ListBuilder"), - ListBuilder_legacy_SelectableModificationInternal: findType("ListBuilder"), - ListBuilder_legacy_SelectableTrait: findType("ListBuilder"), - ListBuilder_legacy_Strand: findType("ListBuilder"), - ListBuilder_legacy_String: findType("ListBuilder"), - ListBuilder_legacy_Substrand: findType("ListBuilder"), - ListBuilder_legacy_UndoableAction: findType("ListBuilder"), - ListBuilder_legacy_int: findType("ListBuilder"), + ListBuilder_int: findType("ListBuilder"), ListEquality_dynamic: findType("ListEquality<@>"), ListMultimapBuilder_dynamic_dynamic: findType("ListMultimapBuilder<@,@>"), + List_Address: findType("List
"), + List_BuiltList_int: findType("List>"), + List_ContextMenuItem: findType("List"), + List_ContextMenuItem_Function_Strand_$named_$req_address_Address_and_$req_domain_Domain_and_type_ModificationType: findType("List(Strand{address!Address,domain!Domain,type:ModificationType})"), + List_Crossover: findType("List"), + List_DNAEnd: findType("List"), + List_DNAEndMove: findType("List"), + List_DNAExtensionMove: findType("List"), + List_DialogItem: findType("List"), + List_Domain: findType("List"), + List_DomainNameMismatch: findType("List"), List_Element: findType("List"), + List_Extension: findType("List"), + List_HelixBuilder: findType("List"), + List_Insertion: findType("List"), List_Int32List: findType("List"), + List_Linker: findType("List"), + List_Loopout: findType("List"), + List_Map_String_dynamic: findType("List>"), + List_MouseoverData: findType("List"), + List_MouseoverParams: findType("List"), + List_Object: findType("List"), + List_OxdnaNucleotide: findType("List"), + List_Point_double: findType("List>"), + List_ReactErrorInfo: findType("List"), + List_SelectModeChoice: findType("List"), + List_Selectable: findType("List"), + List_SelectableModification3Prime: findType("List"), + List_SelectableModification5Prime: findType("List"), + List_SelectableModificationInternal: findType("List"), + List_SelectableTrait: findType("List"), + List_Strand: findType("List"), List_String: findType("List"), + List_Substrand: findType("List"), + List_SvgElement: findType("List"), + List_Tuple2_Address_Address: findType("List>"), + List_Tuple2_Address_Crossover: findType("List>"), List_Uint8List: findType("List"), - List__Highlight: findType("List<_Highlight>"), + List_UndoableAction: findType("List"), + List_XmlEvent: findType("List"), + List_XmlEventAttribute: findType("List"), List__ZipFileData: findType("List<_ZipFileData>"), + List_double: findType("List"), List_dynamic: findType("List<@>"), List_int: findType("List"), - List_legacy_BuiltList_legacy_int: findType("List*>"), - List_legacy_ContextMenuItem: findType("List"), - List_legacy_Crossover: findType("List"), - List_legacy_DNAEndMove: findType("List"), - List_legacy_DNAExtensionMove: findType("List"), - List_legacy_DialogItem: findType("List"), - List_legacy_Domain: findType("List"), - List_legacy_Extension: findType("List"), - List_legacy_Insertion: findType("List"), - List_legacy_Loopout: findType("List"), - List_legacy_MouseoverData: findType("List"), - List_legacy_MouseoverParams: findType("List"), - List_legacy_Point_legacy_num: findType("List*>"), - List_legacy_SelectModeChoice: findType("List"), - List_legacy_Selectable: findType("List"), - List_legacy_SelectableModification3Prime: findType("List"), - List_legacy_SelectableModification5Prime: findType("List"), - List_legacy_SelectableModificationInternal: findType("List"), - List_legacy_SelectableTrait: findType("List"), - List_legacy_Strand: findType("List"), - List_legacy_String: findType("List"), - List_legacy_Substrand: findType("List"), - List_legacy_UndoableAction: findType("List"), - List_legacy_int: findType("List"), List_nullable_Object: findType("List"), List_nullable__Highlight: findType("List<_Highlight?>"), + List_of_dynamic_Function_dynamic: findType("List<@(@)>"), + LoadDNAFile: findType("LoadDNAFile"), + LoadDnaSequenceImageUri: findType("LoadDnaSequenceImageUri"), + LoadingDialogHide: findType("LoadingDialogHide"), + LoadingDialogShow: findType("LoadingDialogShow"), + LocalStorageDesignChoice: findType("LocalStorageDesignChoice"), + LocalStorageDesignChoiceSet: findType("LocalStorageDesignChoiceSet"), + LocalStorageDesignOption: findType("LocalStorageDesignOption"), Logger: findType("Logger"), + Loopout: findType("Loopout"), + LoopoutLengthChange: findType("LoopoutLengthChange"), + LoopoutsLengthChange: findType("LoopoutsLengthChange"), + MajorTickOffsetFontSizeSet: findType("MajorTickOffsetFontSizeSet"), + MajorTickWidthFontSizeSet: findType("MajorTickWidthFontSizeSet"), + ManualPasteInitiate: findType("ManualPasteInitiate"), + MapBuilder_String_HelixGroup: findType("MapBuilder"), MapBuilder_dynamic_dynamic: findType("MapBuilder<@,@>"), - MapBuilder_of_legacy_String_and_legacy_HelixGroup: findType("MapBuilder"), - MapBuilder_of_legacy_String_and_legacy_Object: findType("MapBuilder"), - MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("MapBuilder*>"), - MapBuilder_of_legacy_int_and_legacy_Helix: findType("MapBuilder"), - MapBuilder_of_legacy_int_and_legacy_ModificationInternal: findType("MapBuilder"), - MapBuilder_of_legacy_int_and_legacy_Strand: findType("MapBuilder"), - MapBuilder_of_legacy_int_and_legacy_int: findType("MapBuilder"), - MapEntry_of_legacy_String_and_legacy_HelixGroup: findType("MapEntry"), - MapEntry_of_legacy_String_and_legacy_int: findType("MapEntry"), - MapEntry_of_legacy_int_and_legacy_num: findType("MapEntry"), + MapBuilder_int_Helix: findType("MapBuilder"), + MapBuilder_int_ModificationInternal: findType("MapBuilder"), + MapBuilder_int_Strand: findType("MapBuilder"), + MapBuilder_int_int: findType("MapBuilder"), + MapBuilder_of_DialogType_and_BuiltList_DialogItem: findType("MapBuilder>"), + MapEntry_String_HelixGroup: findType("MapEntry"), + MapEntry_String_int: findType("MapEntry"), + MapEntry_int_double: findType("MapEntry"), + MapEntry_int_num: findType("MapEntry"), + MapEntry_of_Object_and_List__Highlight: findType("MapEntry>"), + MapEntry_of_String_and_List_String: findType("MapEntry>"), + MapEntry_of_int_and_List_int: findType("MapEntry>"), MapEquality_dynamic_dynamic: findType("MapEquality<@,@>"), Map_String_ArchiveFile: findType("Map"), Map_String_SpreadsheetTable: findType("Map"), Map_String_String: findType("Map"), Map_String_XmlDocument: findType("Map"), Map_String_XmlElement: findType("Map"), + Map_String_dynamic: findType("Map"), Map_dynamic_dynamic: findType("Map<@,@>"), + Map_int_ModificationInternal: findType("Map"), + Map_of_Domain_and_List_Insertion: findType("Map>"), + Map_of_Domain_and_Set_SelectableDeletion: findType("Map>"), + Map_of_Domain_and_Set_SelectableInsertion: findType("Map>"), Map_of_String_and_nullable_Object: findType("Map"), + Map_of_Tuple2_int_int_and_bool: findType("Map,bool>"), + Map_of_int_and_BuiltList_String: findType("Map>"), + Map_of_int_and_Iterable_String: findType("Map>"), + MappedListIterable_String_Object: findType("MappedListIterable"), + MappedListIterable_String_String: findType("MappedListIterable"), MappedListIterable_String_dynamic: findType("MappedListIterable"), - MappedListIterable_of_String_and_legacy_String: findType("MappedListIterable"), MappedListIterable_of_legacy_String_and_String: findType("MappedListIterable"), + MatchesIterable_Token_String: findType("MatchesIterable>"), + MediaType: findType("MediaType"), MessagePort: findType("MessagePort"), MimeType: findType("MimeType"), + Mismatch: findType("Mismatch"), + Modification: findType("Modification"), + Modification3Prime: findType("Modification3Prime"), + Modification5Prime: findType("Modification5Prime"), + ModificationAdd: findType("ModificationAdd"), + ModificationConnectorLengthSet: findType("ModificationConnectorLengthSet"), + ModificationEdit: findType("ModificationEdit"), + ModificationFontSizeSet: findType("ModificationFontSizeSet"), + ModificationInternal: findType("ModificationInternal"), + ModificationRemove: findType("ModificationRemove"), + ModificationType: findType("ModificationType"), + Modifications3PrimeEdit: findType("Modifications3PrimeEdit"), + Modifications5PrimeEdit: findType("Modifications5PrimeEdit"), + ModificationsInternalEdit: findType("ModificationsInternalEdit"), MouseEvent: findType("MouseEvent"), + MouseGridPositionSideClear: findType("MouseGridPositionSideClear"), + MouseGridPositionSideUpdate: findType("MouseGridPositionSideUpdate"), + MousePositionSideClear: findType("MousePositionSideClear"), + MousePositionSideUpdate: findType("MousePositionSideUpdate"), + MouseoverData: findType("MouseoverData"), + MouseoverDataClear: findType("MouseoverDataClear"), + MouseoverDataUpdate: findType("MouseoverDataUpdate"), + MouseoverParams: findType("MouseoverParams"), + MoveHelicesToGroup: findType("MoveHelicesToGroup"), + MoveLinker: findType("MoveLinker"), NativeByteBuffer: findType("NativeByteBuffer"), NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"), NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"), NativeTypedData: findType("NativeTypedData"), NativeUint8List: findType("NativeUint8List"), + NewDesignSet: findType("NewDesignSet"), + Nick: findType("Nick"), + NoIndent: findType("NoIndent"), + NoSuchMethodError: findType("NoSuchMethodError"), Node: findType("Node"), NodeValidator: findType("NodeValidator"), Null: findType("Null"), Number: findType("Number"), Object: findType("Object"), + Object_Function_String: findType("Object(String)"), + OperatingSystem: findType("OperatingSystem"), OptionElement: findType("OptionElement"), - OptionalParser_dynamic: findType("OptionalParser<@>"), + OptionalParser_Sequence2_String_XmlAttributeType: findType("OptionalParser>"), + OptionalParser_String: findType("OptionalParser"), + OptionalParser_nullable_DtdExternalId: findType("OptionalParser"), + OptionalParser_nullable_String: findType("OptionalParser"), + OxExportOnlySelectedStrandsSet: findType("OxExportOnlySelectedStrandsSet"), + OxdnaExport: findType("OxdnaExport"), + OxdnaNucleotide: findType("OxdnaNucleotide"), + OxdnaVector: findType("OxdnaVector"), + OxviewExport: findType("OxviewExport"), + OxviewShowSet: findType("OxviewShowSet"), Parser_dynamic: findType("Parser<@>"), - Parser_void: findType("Parser<~>"), Pattern: findType("Pattern"), - PickParser_dynamic: findType("PickParser<@>"), - PickParser_void: findType("PickParser<~>"), + PlateWellVendorFieldsAssign: findType("PlateWellVendorFieldsAssign"), + PlateWellVendorFieldsRemove: findType("PlateWellVendorFieldsRemove"), Plugin: findType("Plugin"), - Point_legacy_int: findType("Point"), - Point_legacy_num: findType("Point"), + Point_double: findType("Point"), + Point_int: findType("Point"), Point_num: findType("Point"), PointerEvent: findType("PointerEvent"), + PolygonElement: findType("PolygonElement"), + Position3D: findType("Position3D"), + PotentialCrossover: findType("PotentialCrossover"), + PotentialCrossoverCreate: findType("PotentialCrossoverCreate"), + PotentialCrossoverMove: findType("PotentialCrossoverMove"), + PotentialCrossoverRemove: findType("PotentialCrossoverRemove"), + PotentialExtensionsViewProps: findType("PotentialExtensionsViewProps"), + PotentialVerticalCrossover: findType("PotentialVerticalCrossover"), + PrepareToLoadDNAFile: findType("PrepareToLoadDNAFile"), PrimitiveSerializer_dynamic: findType("PrimitiveSerializer<@>"), ProgressEvent: findType("ProgressEvent"), PropsMetaCollection: findType("PropsMetaCollection"), RangeCharPredicate: findType("RangeCharPredicate"), - ReactDartComponentFactoryProxy2_legacy_Component2: findType("ReactDartComponentFactoryProxy2"), + ReactClass: findType("ReactClass"), + ReactComponent: findType("ReactComponent"), + ReactElement: findType("ReactElement"), + ReactErrorInfo: findType("ReactErrorInfo"), + Record: findType("Record"), + RectElement: findType("RectElement"), Rectangle_num: findType("Rectangle"), - Ref_legacy_DivElement: findType("Ref"), + Redo: findType("Redo"), + Ref_nullable_DivElement: findType("Ref"), + ReferenceParser_DtdExternalId: findType("ReferenceParser"), + ReferenceParser_List_XmlEventAttribute: findType("ReferenceParser>"), + ReferenceParser_Sequence2_String_XmlAttributeType: findType("ReferenceParser>"), + ReferenceParser_String: findType("ReferenceParser"), + ReferenceParser_XmlCDATAEvent: findType("ReferenceParser"), + ReferenceParser_XmlCommentEvent: findType("ReferenceParser"), + ReferenceParser_XmlDeclarationEvent: findType("ReferenceParser"), + ReferenceParser_XmlDoctypeEvent: findType("ReferenceParser"), + ReferenceParser_XmlEndElementEvent: findType("ReferenceParser"), + ReferenceParser_XmlEvent: findType("ReferenceParser"), + ReferenceParser_XmlEventAttribute: findType("ReferenceParser"), + ReferenceParser_XmlProcessingEvent: findType("ReferenceParser"), + ReferenceParser_XmlStartElementEvent: findType("ReferenceParser"), + ReferenceParser_XmlTextEvent: findType("ReferenceParser"), ReferenceParser_dynamic: findType("ReferenceParser<@>"), + ReferenceParser_void: findType("ReferenceParser<~>"), RegExp: findType("RegExp"), + RegExpMatch: findType("RegExpMatch"), + RelaxHelixRolls: findType("RelaxHelixRolls"), + RemoveDNA: findType("RemoveDNA"), + ReplaceStrands: findType("ReplaceStrands"), Request: findType("Request0"), + ResetLocalStorage: findType("ResetLocalStorage"), ResolvableParser_dynamic: findType("ResolvableParser<@>"), + Response: findType("Response"), + RetainStrandColorOnSelectionSet: findType("RetainStrandColorOnSelectionSet"), + ReversedListIterable_OxdnaNucleotide: findType("ReversedListIterable"), + ReversedListIterable_Strand: findType("ReversedListIterable"), ReversedListIterable_String: findType("ReversedListIterable"), - ReversedListIterable_legacy_OxdnaNucleotide: findType("ReversedListIterable"), - ReversedListIterable_legacy_Strand: findType("ReversedListIterable"), - ReversedListIterable_legacy_String: findType("ReversedListIterable"), - ReversedListIterable_legacy_int: findType("ReversedListIterable"), - ReversedListIterable_of_legacy_dynamic_Function_dynamic: findType("ReversedListIterable<@(@)*>"), + ReversedListIterable_int: findType("ReversedListIterable"), + ReversedListIterable_of_dynamic_Function_dynamic: findType("ReversedListIterable<@(@)>"), Runes: findType("Runes"), + SaveDNAFile: findType("SaveDNAFile"), + ScaffoldSet: findType("ScaffoldSet"), + ScalePurificationVendorFieldsAssign: findType("ScalePurificationVendorFieldsAssign"), + Select: findType("Select"), + SelectAll: findType("SelectAll"), + SelectAllSelectable: findType("SelectAllSelectable"), + SelectAllStrandsWithSameAsSelected: findType("SelectAllStrandsWithSameAsSelected"), SelectElement: findType("SelectElement"), - SequenceParser_dynamic: findType("SequenceParser<@>"), - SequenceParser_void: findType("SequenceParser<~>"), + SelectModeChoice: findType("SelectModeChoice"), + SelectModeState: findType("SelectModeState"), + SelectModeToggle: findType("SelectModeToggle"), + SelectModesAdd: findType("SelectModesAdd"), + SelectModesSet: findType("SelectModesSet"), + SelectOrToggleItems: findType("SelectOrToggleItems"), + Selectable: findType("Selectable"), + SelectableDeletion: findType("SelectableDeletion"), + SelectableInsertion: findType("SelectableInsertion"), + SelectableModification: findType("SelectableModification"), + SelectableModification3Prime: findType("SelectableModification3Prime"), + SelectableModification5Prime: findType("SelectableModification5Prime"), + SelectableModificationInternal: findType("SelectableModificationInternal"), + SelectableTrait: findType("SelectableTrait"), + SelectablesStore: findType("SelectablesStore"), + SelectionBox: findType("SelectionBox"), + SelectionBoxCreate: findType("SelectionBoxCreate"), + SelectionBoxIntersectionRuleSet: findType("SelectionBoxIntersectionRuleSet"), + SelectionBoxRemove: findType("SelectionBoxRemove"), + SelectionBoxSizeChange: findType("SelectionBoxSizeChange"), + SelectionBoxViewProps: findType("SelectionBoxViewProps"), + SelectionRope: findType("SelectionRope"), + SelectionRopeAddPoint: findType("SelectionRopeAddPoint"), + SelectionRopeCreate: findType("SelectionRopeCreate"), + SelectionRopeMouseMove: findType("SelectionRopeMouseMove"), + SelectionRopeRemove: findType("SelectionRopeRemove"), + SelectionRopeViewProps: findType("SelectionRopeViewProps"), + SelectionsAdjustMainView: findType("SelectionsAdjustMainView"), + SelectionsClear: findType("SelectionsClear"), + Sequence2_String_XmlAttributeType: findType("Sequence2"), + SequenceParser8_of_String_and_String_and_String_and_nullable_DtdExternalId_and_String_and_nullable_String_and_String_and_String: findType("SequenceParser8"), SerializerPlugin: findType("SerializerPlugin"), Serializer_dynamic: findType("Serializer<@>"), + SetAppUIStateStorable: findType("SetAppUIStateStorable"), + SetBuilder_EditModeChoice: findType("SetBuilder"), + SetBuilder_SelectModeChoice: findType("SetBuilder"), + SetBuilder_Selectable: findType("SetBuilder"), + SetBuilder_Strand: findType("SetBuilder"), + SetBuilder_String: findType("SetBuilder"), SetBuilder_dynamic: findType("SetBuilder<@>"), - SetBuilder_legacy_EditModeChoice: findType("SetBuilder"), - SetBuilder_legacy_SelectModeChoice: findType("SetBuilder"), - SetBuilder_legacy_Selectable: findType("SetBuilder"), - SetBuilder_legacy_Strand: findType("SetBuilder"), - SetBuilder_legacy_String: findType("SetBuilder"), - SetBuilder_legacy_int: findType("SetBuilder"), + SetBuilder_int: findType("SetBuilder"), + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"), + SetDisplayMajorTickWidths: findType("SetDisplayMajorTickWidths"), + SetDisplayMajorTickWidthsAllHelices: findType("SetDisplayMajorTickWidthsAllHelices"), SetEquality_dynamic: findType("SetEquality<@>"), + SetExportSvgActionDelayedForPngCache: findType("SetExportSvgActionDelayedForPngCache"), + SetIsZoomAboveThreshold: findType("SetIsZoomAboveThreshold"), + SetModificationDisplayConnector: findType("SetModificationDisplayConnector"), SetMultimapBuilder_dynamic_dynamic: findType("SetMultimapBuilder<@,@>"), + SetOnlyDisplaySelectedHelices: findType("SetOnlyDisplaySelectedHelices"), + Set_Domain: findType("Set"), + Set_Extension: findType("Set"), + Set_SelectableDeletion: findType("Set"), + Set_SelectableInsertion: findType("Set"), + Set_SelectableModification: findType("Set"), + Set_SelectableModificationInternal: findType("Set"), Set_String: findType("Set"), + Set_Type: findType("Set"), Set_XmlNodeType: findType("Set"), Set_dynamic: findType("Set<@>"), + SharedArrayBuffer: findType("SharedArrayBuffer"), + ShowAxisArrowsSet: findType("ShowAxisArrowsSet"), + ShowBasePairLinesSet: findType("ShowBasePairLinesSet"), + ShowBasePairLinesWithMismatchesSet: findType("ShowBasePairLinesWithMismatchesSet"), + ShowDNASet: findType("ShowDNASet"), + ShowDomainLabelsSet: findType("ShowDomainLabelsSet"), + ShowDomainNameMismatchesSet: findType("ShowDomainNameMismatchesSet"), + ShowDomainNamesSet: findType("ShowDomainNamesSet"), + ShowEditMenuToggle: findType("ShowEditMenuToggle"), + ShowGridCoordinatesSideViewSet: findType("ShowGridCoordinatesSideViewSet"), + ShowHelixCirclesMainViewSet: findType("ShowHelixCirclesMainViewSet"), + ShowHelixComponentsMainViewSet: findType("ShowHelixComponentsMainViewSet"), + ShowLoopoutExtensionLengthSet: findType("ShowLoopoutExtensionLengthSet"), + ShowMismatchesSet: findType("ShowMismatchesSet"), + ShowModificationsSet: findType("ShowModificationsSet"), + ShowMouseoverDataSet: findType("ShowMouseoverDataSet"), + ShowMouseoverRectSet: findType("ShowMouseoverRectSet"), + ShowMouseoverRectToggle: findType("ShowMouseoverRectToggle"), + ShowSliceBarSet: findType("ShowSliceBarSet"), + ShowStrandLabelsSet: findType("ShowStrandLabelsSet"), + ShowStrandNamesSet: findType("ShowStrandNamesSet"), + ShowUnpairedInsertionDeletionsSet: findType("ShowUnpairedInsertionDeletionsSet"), + SingleStrandAction: findType("SingleStrandAction"), + Sink_String: findType("Sink"), + SkipParser_DtdExternalId: findType("SkipParser"), + SkipUndo: findType("SkipUndo"), + SliceBarMoveStart: findType("SliceBarMoveStart"), + SliceBarMoveStop: findType("SliceBarMoveStop"), + SliceBarOffsetSet: findType("SliceBarOffsetSet"), SourceBuffer: findType("SourceBuffer"), SourceLocation: findType("SourceLocation"), SourceSpan: findType("SourceSpan"), - SourceSpanWithContext: findType("SourceSpanWithContext"), - SpeechGrammar: findType("SpeechGrammar"), - SpeechRecognitionResult: findType("SpeechRecognitionResult"), - SpreadsheetTable: findType("SpreadsheetTable"), - StackTrace: findType("StackTrace"), - StreamSubscription_dynamic: findType("StreamSubscription<@>"), - String: findType("String"), - String_Function_Match: findType("String(Match)"), - String_Function_legacy_String: findType("String(String*)"), - StructuredSerializer_dynamic: findType("StructuredSerializer<@>"), - StyleSheet: findType("StyleSheet"), - Success_String: findType("Success"), - Success_dynamic: findType("Success<@>"), - Success_void: findType("Success<~>"), - SvgElement: findType("SvgElement"), - SvgSvgElement: findType("SvgSvgElement"), - Symbol: findType("Symbol0"), - TemplateElement: findType("TemplateElement"), - TextAreaElement: findType("TextAreaElement"), - TextTrack: findType("TextTrack"), - TextTrackCue: findType("TextTrackCue"), - Timer: findType("Timer"), - TokenParser_String: findType("TokenParser"), - TokenParser_dynamic: findType("TokenParser<@>"), - Token_dynamic: findType("Token<@>"), - Touch: findType("Touch"), - TouchEvent: findType("TouchEvent"), - Transform: findType("Transform"), - Tuple2_of_legacy_Address_and_legacy_Address: findType("Tuple2"), - Tuple2_of_legacy_Address_and_legacy_Crossover: findType("Tuple2"), - Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd: findType("Tuple2"), - Tuple2_of_legacy_Domain_and_legacy_Domain: findType("Tuple2"), - Tuple2_of_legacy_List_legacy_Strand_and_legacy_List_legacy_int: findType("Tuple2*,List*>"), - Tuple2_of_legacy_List_legacy_num_and_legacy_List_legacy_num: findType("Tuple2*,List*>"), - Tuple2_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixGroupBuilder: findType("Tuple2*,Map*>"), - Tuple2_of_legacy_OxdnaStrand_and_legacy_bool: findType("Tuple2"), - Tuple2_of_legacy_Strand_and_legacy_List_legacy_InsertionDeletionRecord: findType("Tuple2*>"), - Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification3Prime: findType("Tuple2*>"), - Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification5Prime: findType("Tuple2*>"), - Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_ModificationInternal: findType("Tuple2*>"), - Tuple2_of_legacy_String_and_legacy_String: findType("Tuple2"), - Tuple2_of_legacy_Substrand_and_legacy_int: findType("Tuple2"), - Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("Tuple2*,Domain*>"), - Tuple2_of_legacy_double_and_legacy_double: findType("Tuple2"), - Tuple2_of_legacy_int_and_legacy_int: findType("Tuple2"), - Tuple2_of_legacy_num_and_legacy_num: findType("Tuple2"), - Tuple3_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixPitchYaw_and_legacy_Map_of_legacy_HelixPitchYaw_and_legacy_List_legacy_HelixBuilder: findType("Tuple3*,Map*,Map*>*>"), - Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector: findType("Tuple3"), - Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("Tuple3"), - Tuple3_of_legacy_int_and_legacy_int_and_legacy_bool: findType("Tuple3"), - Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("Tuple5"), - Type: findType("Type"), - TypedData: findType("TypedData"), - TypedGlobalReducer_of_legacy_String_and_legacy_AppState_and_legacy_GroupRemove: findType("TypedGlobalReducer"), - TypedReducer_of_legacy_BasePairDisplayType_and_legacy_BasePairTypeSet: findType("TypedReducer"), - TypedReducer_of_legacy_DNAAssignOptions_and_legacy_AssignDNA: findType("TypedReducer"), - TypedReducer_of_legacy_ExampleDesigns_and_legacy_ExampleDesignsLoad: findType("TypedReducer"), - TypedReducer_of_legacy_LocalStorageDesignChoice_and_legacy_LocalStorageDesignChoiceSet: findType("TypedReducer"), - TypedReducer_of_legacy_Modification3Prime_and_legacy_ModificationAdd: findType("TypedReducer"), - TypedReducer_of_legacy_Modification5Prime_and_legacy_ModificationAdd: findType("TypedReducer"), - TypedReducer_of_legacy_ModificationInternal_and_legacy_ModificationAdd: findType("TypedReducer"), - TypedReducer_of_legacy_String_and_legacy_ErrorMessageSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_AutofitSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ClearHelixSelectionWhenLoadingNewDesignSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_DefaultCrossoverTypeForSettingHelixRollsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_DisablePngCachingDnaSequencesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_DisplayMajorTicksOffsetsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_DisplayReverseDNARightSideUpSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_DynamicHelixUpdateSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ExportSvgTextSeparatelySet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_InvertYSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_OxExportOnlySelectedStrandsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_OxviewShowSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_RetainStrandColorOnSelectionSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SelectionBoxIntersectionRuleSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidths: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidthsAllHelices: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SetModificationDisplayConnector: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_SetOnlyDisplaySelectedHelices: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowAxisArrowsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesWithMismatchesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowDNASet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowDomainLabelsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowDomainNameMismatchesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowDomainNamesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowEditMenuToggle: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowGridCoordinatesSideViewSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowHelixCirclesMainViewSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowHelixComponentsMainViewSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowLoopoutExtensionLengthSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowMismatchesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowModificationsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowMouseoverDataSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowSliceBarSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowStrandLabelsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowStrandNamesSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_ShowUnpairedInsertionDeletionsSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_StrandPasteKeepColorSet: findType("TypedReducer"), - TypedReducer_of_legacy_bool_and_legacy_WarnOnExitIfUnsavedSet: findType("TypedReducer"), - TypedReducer_of_legacy_int_and_legacy_SliceBarOffsetSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_DomainLabelFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_DomainNameFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_MajorTickOffsetFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_MajorTickWidthFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_ModificationFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_StrandLabelFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_StrandNameFontSizeSet: findType("TypedReducer"), - TypedReducer_of_legacy_num_and_legacy_ZoomSpeedSet: findType("TypedReducer"), - Uint8List: findType("Uint8List"), - UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), - UnmodifiableListView_nullable_Object: findType("UnmodifiableListView"), - UnmodifiableMapView_String_Logger: findType("UnmodifiableMapView"), - UnmodifiableMapView_of_String_and_nullable_Object: findType("UnmodifiableMapView"), - UnmodifiableMapView_of_legacy_String_and_legacy_String: findType("UnmodifiableMapView"), - Uri: findType("Uri"), - Utf8Codec: findType("Utf8Codec"), - WhereIterable_String: findType("WhereIterable"), - WhereIterable_legacy_int: findType("WhereIterable"), - WhereTypeIterable_String: findType("WhereTypeIterable"), - WhereTypeIterable_XmlElement: findType("WhereTypeIterable"), - Window: findType("Window"), - WindowBase: findType("WindowBase"), - WorkerGlobalScope: findType("WorkerGlobalScope"), - XmlAttribute: findType("XmlAttribute"), - XmlAttributeType: findType("XmlAttributeType"), - XmlDocument: findType("XmlDocument"), - XmlElement: findType("XmlElement"), - XmlEntityMapping: findType("XmlEntityMapping"), - XmlHasName: findType("XmlHasName"), - XmlHasVisitor: findType("XmlHasVisitor"), - XmlName: findType("XmlName"), - XmlNode: findType("XmlNode"), - _AsyncCompleter_Blob: findType("_AsyncCompleter"), - _AsyncCompleter_HttpRequest: findType("_AsyncCompleter"), - _AsyncCompleter_Null: findType("_AsyncCompleter"), - _AsyncCompleter_dynamic: findType("_AsyncCompleter<@>"), - _AsyncCompleter_legacy_List_legacy_DialogItem: findType("_AsyncCompleter*>"), - _AsyncCompleter_legacy_StreamedResponse: findType("_AsyncCompleter"), - _AsyncCompleter_legacy_Uint8List: findType("_AsyncCompleter"), - _AsyncCompleter_legacy_int: findType("_AsyncCompleter"), - _Attr: findType("_Attr"), - _BigIntImpl: findType("_BigIntImpl"), - _BuiltList_legacy_Address: findType("_BuiltList"), - _BuiltList_legacy_DialogItem: findType("_BuiltList"), - _BuiltList_legacy_Domain: findType("_BuiltList"), - _BuiltList_legacy_DomainNameMismatch: findType("_BuiltList"), - _BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("_BuiltList*>"), - _BuiltList_legacy_int: findType("_BuiltList"), - _ChildNodeListLazy: findType("_ChildNodeListLazy"), - _DelayedEvent_dynamic: findType("_DelayedEvent<@>"), - _ElementEventStreamImpl_Event: findType("_ElementEventStreamImpl"), - _ElementEventStreamImpl_legacy_Event: findType("_ElementEventStreamImpl"), - _ElementEventStreamImpl_legacy_KeyboardEvent: findType("_ElementEventStreamImpl"), - _ElementEventStreamImpl_legacy_MouseEvent: findType("_ElementEventStreamImpl"), - _ElementEventStreamImpl_legacy_TouchEvent: findType("_ElementEventStreamImpl"), - _EventManager: findType("_EventManager"), - _EventStream_Event: findType("_EventStream"), - _EventStream_legacy_ProgressEvent: findType("_EventStream"), - _FrozenElementList_legacy_Element: findType("_FrozenElementList"), - _Future_Blob: findType("_Future"), - _Future_HttpRequest: findType("_Future"), - _Future_Null: findType("_Future"), - _Future_dynamic: findType("_Future<@>"), - _Future_int: findType("_Future"), - _Future_legacy_List_legacy_DialogItem: findType("_Future*>"), - _Future_legacy_StreamedResponse: findType("_Future"), - _Future_legacy_Uint8List: findType("_Future"), - _Future_legacy_int: findType("_Future"), - _Future_void: findType("_Future<~>"), - _Highlight: findType("_Highlight"), - _Html5NodeValidator: findType("_Html5NodeValidator"), - _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"), - _Line: findType("_Line"), - _MapEntry: findType("_MapEntry"), - _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), - _SyncStreamController_BeforeUnloadEvent: findType("_SyncStreamController"), - _UnmodifiableSet_legacy_XmlNodeType: findType("_UnmodifiableSet"), - bool: findType("bool"), - bool_Function_Node: findType("bool(Node)"), - bool_Function_Object: findType("bool(Object)"), - bool_Function_String: findType("bool(String)"), - bool_Function__Highlight: findType("bool(_Highlight)"), - bool_Function_legacy_int: findType("bool(int*)"), - double: findType("double"), - dynamic: findType("@"), - dynamic_Function: findType("@()"), - dynamic_Function_Object: findType("@(Object)"), - dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), - dynamic_Function_Set_String: findType("@(Set)"), - dynamic_Function_String: findType("@(String)"), - dynamic_Function_dynamic_dynamic: findType("@(@,@)"), - int: findType("int"), - legacy_Action: findType("Action*"), - legacy_Address: findType("Address*"), - legacy_AddressDifference: findType("AddressDifference*"), - legacy_AppState: findType("AppState*"), - legacy_AppUIState: findType("AppUIState*"), - legacy_AppUIStateStorables: findType("AppUIStateStorables*"), - legacy_AssignDNA: findType("AssignDNA*"), - legacy_AssignDNAComplementFromBoundStrands: findType("AssignDNAComplementFromBoundStrands*"), - legacy_AssignDomainNameComplementFromBoundDomains: findType("AssignDomainNameComplementFromBoundDomains*"), - legacy_AssignDomainNameComplementFromBoundStrands: findType("AssignDomainNameComplementFromBoundStrands*"), - legacy_AutoPasteInitiate: findType("AutoPasteInitiate*"), - legacy_Autobreak: findType("Autobreak*"), - legacy_AutofitSet: findType("AutofitSet*"), - legacy_Autostaple: findType("Autostaple*"), - legacy_BasePairDisplayType: findType("BasePairDisplayType*"), - legacy_BasePairTypeSet: findType("BasePairTypeSet*"), - legacy_BatchAction: findType("BatchAction*"), - legacy_BeforeUnloadEvent: findType("BeforeUnloadEvent*"), - legacy_Blob: findType("Blob*"), - legacy_Box: findType("Box*"), - legacy_Browser: findType("Browser*"), - legacy_BuiltList_legacy_Address: findType("BuiltList*"), - legacy_BuiltList_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltList*>*"), - legacy_BuiltList_legacy_Crossover: findType("BuiltList*"), - legacy_BuiltList_legacy_DNAEnd: findType("BuiltList*"), - legacy_BuiltList_legacy_DesignSideRotationData: findType("BuiltList*"), - legacy_BuiltList_legacy_DialogItem: findType("BuiltList*"), - legacy_BuiltList_legacy_Domain: findType("BuiltList*"), - legacy_BuiltList_legacy_DomainNameMismatch: findType("BuiltList*"), - legacy_BuiltList_legacy_Extension: findType("BuiltList*"), - legacy_BuiltList_legacy_Line: findType("BuiltList*"), - legacy_BuiltList_legacy_Linker: findType("BuiltList*"), - legacy_BuiltList_legacy_Loopout: findType("BuiltList*"), - legacy_BuiltList_legacy_Mismatch: findType("BuiltList*"), - legacy_BuiltList_legacy_MouseoverData: findType("BuiltList*"), - legacy_BuiltList_legacy_Object: findType("BuiltList*"), - legacy_BuiltList_legacy_PotentialVerticalCrossover: findType("BuiltList*"), - legacy_BuiltList_legacy_Selectable: findType("BuiltList*"), - legacy_BuiltList_legacy_SelectableDeletion: findType("BuiltList*"), - legacy_BuiltList_legacy_SelectableInsertion: findType("BuiltList*"), - legacy_BuiltList_legacy_Strand: findType("BuiltList*"), - legacy_BuiltList_legacy_String: findType("BuiltList*"), - legacy_BuiltList_legacy_Substrand: findType("BuiltList*"), - legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("BuiltList*>*"), - legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("BuiltList*>*"), - legacy_BuiltList_legacy_UndoRedoItem: findType("BuiltList*"), - legacy_BuiltList_legacy_int: findType("BuiltList*"), - legacy_BuiltMap_of_legacy_Address_and_legacy_DNAEnd: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Address_and_legacy_Domain: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Address_and_legacy_Strand: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Crossover_and_legacy_Strand: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Address: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Domain: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Extension: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Mismatch: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_Domain_and_legacy_Color: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Linker_and_legacy_Strand: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Strand_and_legacy_BuiltList_legacy_Strand: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_Strand_and_legacy_int: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Crossover: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_DNAEnd: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Domain: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Extension: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Loopout: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Selectable: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_SelectableDeletion: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_SelectableInsertion: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_SelectableModification: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_String_and_legacy_Strand: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_Substrand_and_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_Substrand_and_legacy_Strand: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_DomainNameMismatch: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("BuiltMap*>*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_Helix: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num: findType("BuiltMap*>*"), - legacy_BuiltMap_of_legacy_int_and_legacy_SelectableModificationInternal: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_int_and_legacy_int: findType("BuiltMap*"), - legacy_BuiltMap_of_legacy_int_and_legacy_num: findType("BuiltMap*"), - legacy_BuiltSet_legacy_Crossover: findType("BuiltSet*"), - legacy_BuiltSet_legacy_DNAEnd: findType("BuiltSet*"), - legacy_BuiltSet_legacy_Domain: findType("BuiltSet*"), - legacy_BuiltSet_legacy_EditModeChoice: findType("BuiltSet*"), - legacy_BuiltSet_legacy_Extension: findType("BuiltSet*"), - legacy_BuiltSet_legacy_Loopout: findType("BuiltSet*"), - legacy_BuiltSet_legacy_Object: findType("BuiltSet*"), - legacy_BuiltSet_legacy_SelectableDeletion: findType("BuiltSet*"), - legacy_BuiltSet_legacy_SelectableInsertion: findType("BuiltSet*"), - legacy_BuiltSet_legacy_SelectableModification: findType("BuiltSet*"), - legacy_BuiltSet_legacy_Strand: findType("BuiltSet*"), - legacy_BuiltSet_legacy_String: findType("BuiltSet*"), - legacy_BuiltSet_legacy_int: findType("BuiltSet*"), - legacy_ByteBuffer: findType("ByteBuffer*"), - legacy_CanvasElement: findType("CanvasElement*"), - legacy_CanvasRenderingContext2D: findType("CanvasRenderingContext2D*"), - legacy_ClearHelixSelectionWhenLoadingNewDesignSet: findType("ClearHelixSelectionWhenLoadingNewDesignSet*"), - legacy_Color: findType("Color*"), - legacy_Completer_legacy_int: findType("Completer*"), - legacy_Component: findType("Component*"), - legacy_Component2: findType("Component2*"), - legacy_ComponentStatics2: findType("ComponentStatics2*"), - legacy_ConsumedProps: findType("ConsumedProps*"), - legacy_ContextMenu: findType("ContextMenu*"), - legacy_ContextMenuHide: findType("ContextMenuHide*"), - legacy_ContextMenuItem: findType("ContextMenuItem*"), - legacy_ContextMenuShow: findType("ContextMenuShow*"), - legacy_ConvertCrossoverToLoopout: findType("ConvertCrossoverToLoopout*"), - legacy_ConvertCrossoversToLoopouts: findType("ConvertCrossoversToLoopouts*"), - legacy_CopyInfo: findType("CopyInfo*"), - legacy_CopySelectedStandsToClipboardImage: findType("CopySelectedStandsToClipboardImage*"), - legacy_CopySelectedStrands: findType("CopySelectedStrands*"), - legacy_Crossover: findType("Crossover*"), - legacy_CssStyleRule: findType("CssStyleRule*"), - legacy_CssStyleSheet: findType("CssStyleSheet*"), - legacy_DNAAssignOptions: findType("DNAAssignOptions*"), - legacy_DNAEnd: findType("DNAEnd*"), - legacy_DNAEndMove: findType("DNAEndMove*"), - legacy_DNAEndsMove: findType("DNAEndsMove*"), - legacy_DNAEndsMoveAdjustOffset: findType("DNAEndsMoveAdjustOffset*"), - legacy_DNAEndsMoveCommit: findType("DNAEndsMoveCommit*"), - legacy_DNAEndsMoveSetSelectedEnds: findType("DNAEndsMoveSetSelectedEnds*"), - legacy_DNAEndsMoveStart: findType("DNAEndsMoveStart*"), - legacy_DNAEndsMoveStop: findType("DNAEndsMoveStop*"), - legacy_DNAExtensionMove: findType("DNAExtensionMove*"), - legacy_DNAExtensionsMove: findType("DNAExtensionsMove*"), - legacy_DNAExtensionsMoveAdjustPosition: findType("DNAExtensionsMoveAdjustPosition*"), - legacy_DNAExtensionsMoveCommit: findType("DNAExtensionsMoveCommit*"), - legacy_DNAExtensionsMoveSetSelectedExtensionEnds: findType("DNAExtensionsMoveSetSelectedExtensionEnds*"), - legacy_DNAExtensionsMoveStart: findType("DNAExtensionsMoveStart*"), - legacy_DNAExtensionsMoveStop: findType("DNAExtensionsMoveStop*"), - legacy_DNAFileType: findType("DNAFileType*"), - legacy_DNASequencePredefined: findType("DNASequencePredefined*"), - legacy_DefaultCrossoverTypeForSettingHelixRollsSet: findType("DefaultCrossoverTypeForSettingHelixRollsSet*"), - legacy_DeleteAllSelected: findType("DeleteAllSelected*"), - legacy_DeletionAdd: findType("DeletionAdd*"), - legacy_DeletionRemove: findType("DeletionRemove*"), - legacy_Design: findType("Design*"), - legacy_DesignChangingAction: findType("DesignChangingAction*"), - legacy_DesignFooterProps: findType("DesignFooterProps*"), - legacy_DesignSideRotationData: findType("DesignSideRotationData*"), - legacy_DesignSideRotationParams: findType("DesignSideRotationParams*"), - legacy_Dialog: findType("Dialog*"), - legacy_DialogCheckbox: findType("DialogCheckbox*"), - legacy_DialogFloat: findType("DialogFloat*"), - legacy_DialogHide: findType("DialogHide*"), - legacy_DialogInteger: findType("DialogInteger*"), - legacy_DialogItem: findType("DialogItem*"), - legacy_DialogLink: findType("DialogLink*"), - legacy_DialogRadio: findType("DialogRadio*"), - legacy_DialogShow: findType("DialogShow*"), - legacy_DialogText: findType("DialogText*"), - legacy_DialogTextArea: findType("DialogTextArea*"), - legacy_DialogType: findType("DialogType*"), - legacy_DisablePngCachingDnaSequencesSet: findType("DisablePngCachingDnaSequencesSet*"), - legacy_DisplayMajorTicksOffsetsSet: findType("DisplayMajorTicksOffsetsSet*"), - legacy_DisplayReverseDNARightSideUpSet: findType("DisplayReverseDNARightSideUpSet*"), - legacy_DivElement: findType("DivElement*"), - legacy_Domain: findType("Domain*"), - legacy_DomainLabelFontSizeSet: findType("DomainLabelFontSizeSet*"), - legacy_DomainNameFontSizeSet: findType("DomainNameFontSizeSet*"), - legacy_DomainNameMismatch: findType("DomainNameMismatch*"), - legacy_DomainsMove: findType("DomainsMove*"), - legacy_DomainsMoveAdjustAddress: findType("DomainsMoveAdjustAddress*"), - legacy_DomainsMoveCommit: findType("DomainsMoveCommit*"), - legacy_DomainsMoveStartSelectedDomains: findType("DomainsMoveStartSelectedDomains*"), - legacy_DomainsMoveStop: findType("DomainsMoveStop*"), - legacy_Draggable: findType("Draggable*"), - legacy_DraggableComponent: findType("DraggableComponent*"), - legacy_DraggableEvent: findType("DraggableEvent*"), - legacy_Duration: findType("Duration*"), - legacy_DynamicHelixUpdateSet: findType("DynamicHelixUpdateSet*"), - legacy_EditModeChoice: findType("EditModeChoice*"), - legacy_EditModeToggle: findType("EditModeToggle*"), - legacy_EditModesSet: findType("EditModesSet*"), - legacy_Element: findType("Element*"), - legacy_EndMovingProps: findType("EndMovingProps*"), - legacy_Error: findType("Error*"), - legacy_ErrorMessageSet: findType("ErrorMessageSet*"), - legacy_Event: findType("Event*"), - legacy_ExampleDesigns: findType("ExampleDesigns*"), - legacy_ExampleDesignsLoad: findType("ExampleDesignsLoad*"), - legacy_Exception: findType("Exception*"), - legacy_ExportCadnanoFile: findType("ExportCadnanoFile*"), - legacy_ExportCodenanoFile: findType("ExportCodenanoFile*"), - legacy_ExportDNA: findType("ExportDNA*"), - legacy_ExportDNAFormat: findType("ExportDNAFormat*"), - legacy_ExportSvg: findType("ExportSvg*"), - legacy_ExportSvgTextSeparatelySet: findType("ExportSvgTextSeparatelySet*"), - legacy_ExportSvgType: findType("ExportSvgType*"), - legacy_Extension: findType("Extension*"), - legacy_ExtensionAdd: findType("ExtensionAdd*"), - legacy_ExtensionDisplayLengthAngleSet: findType("ExtensionDisplayLengthAngleSet*"), - legacy_ExtensionEndMovingProps: findType("ExtensionEndMovingProps*"), - legacy_ExtensionNumBasesChange: findType("ExtensionNumBasesChange*"), - legacy_ExtensionsNumBasesChange: findType("ExtensionsNumBasesChange*"), - legacy_FastAction: findType("FastAction*"), - legacy_FileReader: findType("FileReader*"), - legacy_FileUploadInputElement: findType("FileUploadInputElement*"), - legacy_FormatException: findType("FormatException*"), - legacy_Function: findType("Function*"), - legacy_FutureOr_legacy_ByteBuffer: findType("ByteBuffer*/*"), - legacy_Future_dynamic: findType("Future<@>*"), - legacy_Future_legacy_List_legacy_int: findType("Future*>*"), - legacy_Geometry: findType("Geometry*"), - legacy_GeometrySet: findType("GeometrySet*"), - legacy_GraphicsElement: findType("GraphicsElement*"), - legacy_Grid: findType("Grid*"), - legacy_GridChange: findType("GridChange*"), - legacy_GridPosition: findType("GridPosition*"), - legacy_GroupAdd: findType("GroupAdd*"), - legacy_GroupChange: findType("GroupChange*"), - legacy_GroupDisplayedChange: findType("GroupDisplayedChange*"), - legacy_GroupRemove: findType("GroupRemove*"), - legacy_HelicesPositionsSetBasedOnCrossovers: findType("HelicesPositionsSetBasedOnCrossovers*"), - legacy_Helix: findType("Helix*"), - legacy_HelixAdd: findType("HelixAdd*"), - legacy_HelixBuilder: findType("HelixBuilder*"), - legacy_HelixGridPositionSet: findType("HelixGridPositionSet*"), - legacy_HelixGroup: findType("HelixGroup*"), - legacy_HelixGroupBuilder: findType("HelixGroupBuilder*"), - legacy_HelixGroupMove: findType("HelixGroupMove*"), - legacy_HelixGroupMoveAdjustTranslation: findType("HelixGroupMoveAdjustTranslation*"), - legacy_HelixGroupMoveCommit: findType("HelixGroupMoveCommit*"), - legacy_HelixGroupMoveCreate: findType("HelixGroupMoveCreate*"), - legacy_HelixGroupMoveStart: findType("HelixGroupMoveStart*"), - legacy_HelixGroupMoveStop: findType("HelixGroupMoveStop*"), - legacy_HelixGroupMovingProps: findType("HelixGroupMovingProps*"), - legacy_HelixIdxsChange: findType("HelixIdxsChange*"), - legacy_HelixIndividualAction: findType("HelixIndividualAction*"), - legacy_HelixMajorTickDistanceChange: findType("HelixMajorTickDistanceChange*"), - legacy_HelixMajorTickDistanceChangeAll: findType("HelixMajorTickDistanceChangeAll*"), - legacy_HelixMajorTickPeriodicDistancesChange: findType("HelixMajorTickPeriodicDistancesChange*"), - legacy_HelixMajorTickPeriodicDistancesChangeAll: findType("HelixMajorTickPeriodicDistancesChangeAll*"), - legacy_HelixMajorTickStartChange: findType("HelixMajorTickStartChange*"), - legacy_HelixMajorTickStartChangeAll: findType("HelixMajorTickStartChangeAll*"), - legacy_HelixMajorTicksChange: findType("HelixMajorTicksChange*"), - legacy_HelixMajorTicksChangeAll: findType("HelixMajorTicksChangeAll*"), - legacy_HelixMaxOffsetSetByDomains: findType("HelixMaxOffsetSetByDomains*"), - legacy_HelixMaxOffsetSetByDomainsAll: findType("HelixMaxOffsetSetByDomainsAll*"), - legacy_HelixMaxOffsetSetByDomainsAllSameMax: findType("HelixMaxOffsetSetByDomainsAllSameMax*"), - legacy_HelixMinOffsetSetByDomains: findType("HelixMinOffsetSetByDomains*"), - legacy_HelixMinOffsetSetByDomainsAll: findType("HelixMinOffsetSetByDomainsAll*"), - legacy_HelixOffsetChange: findType("HelixOffsetChange*"), - legacy_HelixOffsetChangeAll: findType("HelixOffsetChangeAll*"), - legacy_HelixPitchYaw: findType("HelixPitchYaw*"), - legacy_HelixPositionSet: findType("HelixPositionSet*"), - legacy_HelixRemove: findType("HelixRemove*"), - legacy_HelixRemoveAllSelected: findType("HelixRemoveAllSelected*"), - legacy_HelixRollSet: findType("HelixRollSet*"), - legacy_HelixRollSetAtOther: findType("HelixRollSetAtOther*"), - legacy_HelixSelect: findType("HelixSelect*"), - legacy_HelixSelectSvgPngCacheInvalidatingAction: findType("HelixSelectSvgPngCacheInvalidatingAction*"), - legacy_HelixSelectionsAdjust: findType("HelixSelectionsAdjust*"), - legacy_HelixSelectionsClear: findType("HelixSelectionsClear*"), - legacy_HttpRequest: findType("HttpRequest*"), - legacy_IllegalDesignError: findType("IllegalDesignError*"), - legacy_InlineInsertionsDeletions: findType("InlineInsertionsDeletions*"), - legacy_InputElement: findType("InputElement*"), - legacy_Insertion: findType("Insertion*"), - legacy_InsertionAdd: findType("InsertionAdd*"), - legacy_InsertionLengthChange: findType("InsertionLengthChange*"), - legacy_InsertionOrDeletionAction: findType("InsertionOrDeletionAction*"), - legacy_InsertionRemove: findType("InsertionRemove*"), - legacy_InsertionsLengthChange: findType("InsertionsLengthChange*"), - legacy_InvertYSet: findType("InvertYSet*"), - legacy_Invocation: findType("Invocation*"), - legacy_Iterable_dynamic: findType("Iterable<@>*"), - legacy_Iterable_legacy_DNAEnd: findType("Iterable*"), - legacy_Iterable_legacy_Domain: findType("Iterable*"), - legacy_Iterable_legacy_Object: findType("Iterable*"), - legacy_Iterable_legacy_SelectModeChoice: findType("Iterable*"), - legacy_Iterable_legacy_Selectable: findType("Iterable*"), - legacy_Iterable_legacy_Strand: findType("Iterable*"), - legacy_Iterable_legacy_String: findType("Iterable*"), - legacy_Iterable_legacy_int: findType("Iterable*"), - legacy_JSColor: findType("JSColor*"), - legacy_JoinStrandsByCrossover: findType("JoinStrandsByCrossover*"), - legacy_JoinStrandsByMultipleCrossovers: findType("JoinStrandsByMultipleCrossovers*"), - legacy_JsMap: findType("JsMap*"), - legacy_KeyboardEvent: findType("KeyboardEvent*"), - legacy_Ligate: findType("Ligate*"), - legacy_Line: findType("Line*"), - legacy_Linker: findType("Linker*"), - legacy_ListBuilder_legacy_BuiltList_legacy_int: findType("ListBuilder*>*"), - legacy_ListBuilder_legacy_ContextMenuItem: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Crossover: findType("ListBuilder*"), - legacy_ListBuilder_legacy_DNAEndMove: findType("ListBuilder*"), - legacy_ListBuilder_legacy_DNAExtensionMove: findType("ListBuilder*"), - legacy_ListBuilder_legacy_DialogItem: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Domain: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Extension: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Insertion: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Loopout: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Mismatch: findType("ListBuilder*"), - legacy_ListBuilder_legacy_MouseoverData: findType("ListBuilder*"), - legacy_ListBuilder_legacy_MouseoverParams: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Point_legacy_num: findType("ListBuilder*>*"), - legacy_ListBuilder_legacy_SelectModeChoice: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Selectable: findType("ListBuilder*"), - legacy_ListBuilder_legacy_SelectableModification3Prime: findType("ListBuilder*"), - legacy_ListBuilder_legacy_SelectableModification5Prime: findType("ListBuilder*"), - legacy_ListBuilder_legacy_SelectableModificationInternal: findType("ListBuilder*"), - legacy_ListBuilder_legacy_SelectableTrait: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Strand: findType("ListBuilder*"), - legacy_ListBuilder_legacy_String: findType("ListBuilder*"), - legacy_ListBuilder_legacy_Substrand: findType("ListBuilder*"), - legacy_ListBuilder_legacy_UndoRedoItem: findType("ListBuilder*"), - legacy_ListBuilder_legacy_UndoableAction: findType("ListBuilder*"), - legacy_ListBuilder_legacy_int: findType("ListBuilder*"), - legacy_List_dynamic: findType("List<@>*"), - legacy_List_legacy_Address: findType("List*"), - legacy_List_legacy_Crossover: findType("List*"), - legacy_List_legacy_DNAEnd: findType("List*"), - legacy_List_legacy_DialogItem: findType("List*"), - legacy_List_legacy_Domain: findType("List*"), - legacy_List_legacy_DomainNameMismatch: findType("List*"), - legacy_List_legacy_Extension: findType("List*"), - legacy_List_legacy_HelixBuilder: findType("List*"), - legacy_List_legacy_Insertion: findType("List*"), - legacy_List_legacy_Linker: findType("List*"), - legacy_List_legacy_Loopout: findType("List*"), - legacy_List_legacy_Map_of_legacy_String_and_dynamic: findType("List*>*"), - legacy_List_legacy_Object: findType("List*"), - legacy_List_legacy_OxdnaNucleotide: findType("List*"), - legacy_List_legacy_Point_legacy_num: findType("List*>*"), - legacy_List_legacy_ReactErrorInfo: findType("List*"), - legacy_List_legacy_Strand: findType("List*"), - legacy_List_legacy_String: findType("List*"), - legacy_List_legacy_Substrand: findType("List*"), - legacy_List_legacy_SvgElement: findType("List*"), - legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Address: findType("List*>*"), - legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("List*>*"), - legacy_List_legacy_UndoableAction: findType("List*"), - legacy_List_legacy_double: findType("List*"), - legacy_List_legacy_int: findType("List*"), - legacy_List_of_legacy_dynamic_Function_dynamic: findType("List<@(@)*>*"), - legacy_LoadDNAFile: findType("LoadDNAFile*"), - legacy_LoadDnaSequenceImageUri: findType("LoadDnaSequenceImageUri*"), - legacy_LoadingDialogHide: findType("LoadingDialogHide*"), - legacy_LoadingDialogShow: findType("LoadingDialogShow*"), - legacy_LocalStorageDesignChoice: findType("LocalStorageDesignChoice*"), - legacy_LocalStorageDesignChoiceSet: findType("LocalStorageDesignChoiceSet*"), - legacy_LocalStorageDesignOption: findType("LocalStorageDesignOption*"), - legacy_Logger: findType("Logger*"), - legacy_Loopout: findType("Loopout*"), - legacy_LoopoutLengthChange: findType("LoopoutLengthChange*"), - legacy_LoopoutsLengthChange: findType("LoopoutsLengthChange*"), - legacy_MajorTickOffsetFontSizeSet: findType("MajorTickOffsetFontSizeSet*"), - legacy_MajorTickWidthFontSizeSet: findType("MajorTickWidthFontSizeSet*"), - legacy_ManualPasteInitiate: findType("ManualPasteInitiate*"), - legacy_MapBuilder_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem: findType("MapBuilder*>*"), - legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup: findType("MapBuilder*"), - legacy_MapBuilder_of_legacy_String_and_legacy_Object: findType("MapBuilder*"), - legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("MapBuilder*>*"), - legacy_MapBuilder_of_legacy_int_and_legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("MapBuilder*>*>*"), - legacy_MapBuilder_of_legacy_int_and_legacy_Helix: findType("MapBuilder*"), - legacy_MapBuilder_of_legacy_int_and_legacy_ModificationInternal: findType("MapBuilder*"), - legacy_MapBuilder_of_legacy_int_and_legacy_Strand: findType("MapBuilder*"), - legacy_MapBuilder_of_legacy_int_and_legacy_int: findType("MapBuilder*"), - legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int: findType("MapEntry*>*"), - legacy_Map_dynamic_dynamic: findType("Map<@,@>*"), - legacy_Map_of_legacy_Domain_and_legacy_List_legacy_Insertion: findType("Map*>*"), - legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableDeletion: findType("Map*>*"), - legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableInsertion: findType("Map*>*"), - legacy_Map_of_legacy_Strand_and_legacy_List_legacy_Domain: findType("Map*>*"), - legacy_Map_of_legacy_String_and_dynamic: findType("Map*"), - legacy_Map_of_legacy_String_and_legacy_String: findType("Map*"), - legacy_Map_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_bool: findType("Map*,bool*>*"), - legacy_Map_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("Map*>*"), - legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String: findType("Map*>*"), - legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain: findType("Map*>*"), - legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("Map*"), - legacy_MediaType: findType("MediaType*"), - legacy_Mismatch: findType("Mismatch*"), - legacy_Modification: findType("Modification*"), - legacy_Modification3Prime: findType("Modification3Prime*"), - legacy_Modification5Prime: findType("Modification5Prime*"), - legacy_ModificationAdd: findType("ModificationAdd*"), - legacy_ModificationConnectorLengthSet: findType("ModificationConnectorLengthSet*"), - legacy_ModificationEdit: findType("ModificationEdit*"), - legacy_ModificationFontSizeSet: findType("ModificationFontSizeSet*"), - legacy_ModificationInternal: findType("ModificationInternal*"), - legacy_ModificationRemove: findType("ModificationRemove*"), - legacy_ModificationType: findType("ModificationType*"), - legacy_Modifications3PrimeEdit: findType("Modifications3PrimeEdit*"), - legacy_Modifications5PrimeEdit: findType("Modifications5PrimeEdit*"), - legacy_ModificationsInternalEdit: findType("ModificationsInternalEdit*"), - legacy_MouseEvent: findType("MouseEvent*"), - legacy_MouseGridPositionSideClear: findType("MouseGridPositionSideClear*"), - legacy_MouseGridPositionSideUpdate: findType("MouseGridPositionSideUpdate*"), - legacy_MousePositionSideClear: findType("MousePositionSideClear*"), - legacy_MousePositionSideUpdate: findType("MousePositionSideUpdate*"), - legacy_MouseoverData: findType("MouseoverData*"), - legacy_MouseoverDataClear: findType("MouseoverDataClear*"), - legacy_MouseoverDataUpdate: findType("MouseoverDataUpdate*"), - legacy_MouseoverParams: findType("MouseoverParams*"), - legacy_MoveHelicesToGroup: findType("MoveHelicesToGroup*"), - legacy_MoveLinker: findType("MoveLinker*"), - legacy_NavigatorProvider: findType("NavigatorProvider*"), - legacy_Never: findType("0&*"), - legacy_NewDesignSet: findType("NewDesignSet*"), - legacy_Nick: findType("Nick*"), - legacy_NoIndent: findType("NoIndent*"), - legacy_NoSuchMethodError: findType("NoSuchMethodError*"), - legacy_Object: findType("Object*"), - legacy_OperatingSystem: findType("OperatingSystem*"), - legacy_OxExportOnlySelectedStrandsSet: findType("OxExportOnlySelectedStrandsSet*"), - legacy_OxdnaExport: findType("OxdnaExport*"), - legacy_OxdnaNucleotide: findType("OxdnaNucleotide*"), - legacy_OxdnaVector: findType("OxdnaVector*"), - legacy_OxviewExport: findType("OxviewExport*"), - legacy_OxviewShowSet: findType("OxviewShowSet*"), - legacy_PlateWellVendorFieldsAssign: findType("PlateWellVendorFieldsAssign*"), - legacy_PlateWellVendorFieldsRemove: findType("PlateWellVendorFieldsRemove*"), - legacy_Point_legacy_num: findType("Point*"), - legacy_PolygonElement: findType("PolygonElement*"), - legacy_Position3D: findType("Position3D*"), - legacy_PotentialCrossover: findType("PotentialCrossover*"), - legacy_PotentialCrossoverCreate: findType("PotentialCrossoverCreate*"), - legacy_PotentialCrossoverMove: findType("PotentialCrossoverMove*"), - legacy_PotentialCrossoverRemove: findType("PotentialCrossoverRemove*"), - legacy_PotentialVerticalCrossover: findType("PotentialVerticalCrossover*"), - legacy_PrepareToLoadDNAFile: findType("PrepareToLoadDNAFile*"), - legacy_ProgressEvent: findType("ProgressEvent*"), - legacy_ReactClass: findType("ReactClass*"), - legacy_ReactComponent: findType("ReactComponent*"), - legacy_ReactComponentFactoryProxy: findType("ReactComponentFactoryProxy*"), - legacy_ReactDomComponentFactoryProxy: findType("ReactDomComponentFactoryProxy*"), - legacy_ReactElement: findType("ReactElement*"), - legacy_ReactErrorInfo: findType("ReactErrorInfo*"), - legacy_RectElement: findType("RectElement*"), - legacy_Rectangle_legacy_num: findType("Rectangle*"), - legacy_Redo: findType("Redo*"), - legacy_Ref_legacy_DivElement: findType("Ref*"), - legacy_RegExpMatch: findType("RegExpMatch*"), - legacy_RelaxHelixRolls: findType("RelaxHelixRolls*"), - legacy_RemoveDNA: findType("RemoveDNA*"), - legacy_ReplaceStrands: findType("ReplaceStrands*"), - legacy_ResetLocalStorage: findType("ResetLocalStorage*"), - legacy_Response: findType("Response*"), - legacy_RetainStrandColorOnSelectionSet: findType("RetainStrandColorOnSelectionSet*"), - legacy_SaveDNAFile: findType("SaveDNAFile*"), - legacy_ScaffoldSet: findType("ScaffoldSet*"), - legacy_ScalePurificationVendorFieldsAssign: findType("ScalePurificationVendorFieldsAssign*"), - legacy_Select: findType("Select*"), - legacy_SelectAll: findType("SelectAll*"), - legacy_SelectAllSelectable: findType("SelectAllSelectable*"), - legacy_SelectAllWithSameAsSelected: findType("SelectAllWithSameAsSelected*"), - legacy_SelectModeChoice: findType("SelectModeChoice*"), - legacy_SelectModeState: findType("SelectModeState*"), - legacy_SelectModeToggle: findType("SelectModeToggle*"), - legacy_SelectModesAdd: findType("SelectModesAdd*"), - legacy_SelectModesSet: findType("SelectModesSet*"), - legacy_SelectOrToggleItems: findType("SelectOrToggleItems*"), - legacy_Selectable: findType("Selectable*"), - legacy_SelectableDeletion: findType("SelectableDeletion*"), - legacy_SelectableInsertion: findType("SelectableInsertion*"), - legacy_SelectableModification: findType("SelectableModification*"), - legacy_SelectableModification3Prime: findType("SelectableModification3Prime*"), - legacy_SelectableModification5Prime: findType("SelectableModification5Prime*"), - legacy_SelectableModificationInternal: findType("SelectableModificationInternal*"), - legacy_SelectableTrait: findType("SelectableTrait*"), - legacy_SelectablesStore: findType("SelectablesStore*"), - legacy_SelectionBox: findType("SelectionBox*"), - legacy_SelectionBoxCreate: findType("SelectionBoxCreate*"), - legacy_SelectionBoxIntersectionRuleSet: findType("SelectionBoxIntersectionRuleSet*"), - legacy_SelectionBoxRemove: findType("SelectionBoxRemove*"), - legacy_SelectionBoxSizeChange: findType("SelectionBoxSizeChange*"), - legacy_SelectionRope: findType("SelectionRope*"), - legacy_SelectionRopeAddPoint: findType("SelectionRopeAddPoint*"), - legacy_SelectionRopeCreate: findType("SelectionRopeCreate*"), - legacy_SelectionRopeMouseMove: findType("SelectionRopeMouseMove*"), - legacy_SelectionRopeRemove: findType("SelectionRopeRemove*"), - legacy_SelectionsAdjustMainView: findType("SelectionsAdjustMainView*"), - legacy_SelectionsClear: findType("SelectionsClear*"), - legacy_SetAppUIStateStorable: findType("SetAppUIStateStorable*"), - legacy_SetBuilder_legacy_EditModeChoice: findType("SetBuilder*"), - legacy_SetBuilder_legacy_SelectModeChoice: findType("SetBuilder*"), - legacy_SetBuilder_legacy_Selectable: findType("SetBuilder*"), - legacy_SetBuilder_legacy_Strand: findType("SetBuilder*"), - legacy_SetBuilder_legacy_String: findType("SetBuilder*"), - legacy_SetBuilder_legacy_int: findType("SetBuilder*"), - legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"), - legacy_SetDisplayMajorTickWidths: findType("SetDisplayMajorTickWidths*"), - legacy_SetDisplayMajorTickWidthsAllHelices: findType("SetDisplayMajorTickWidthsAllHelices*"), - legacy_SetExportSvgActionDelayedForPngCache: findType("SetExportSvgActionDelayedForPngCache*"), - legacy_SetIsZoomAboveThreshold: findType("SetIsZoomAboveThreshold*"), - legacy_SetModificationDisplayConnector: findType("SetModificationDisplayConnector*"), - legacy_SetOnlyDisplaySelectedHelices: findType("SetOnlyDisplaySelectedHelices*"), - legacy_Set_legacy_Domain: findType("Set*"), - legacy_Set_legacy_Extension: findType("Set*"), - legacy_Set_legacy_SelectableDeletion: findType("Set*"), - legacy_Set_legacy_SelectableInsertion: findType("Set*"), - legacy_Set_legacy_SelectableModification: findType("Set*"), - legacy_Set_legacy_SelectableModificationInternal: findType("Set*"), - legacy_Set_legacy_String: findType("Set*"), - legacy_Set_legacy_Type: findType("Set*"), - legacy_ShowAxisArrowsSet: findType("ShowAxisArrowsSet*"), - legacy_ShowBasePairLinesSet: findType("ShowBasePairLinesSet*"), - legacy_ShowBasePairLinesWithMismatchesSet: findType("ShowBasePairLinesWithMismatchesSet*"), - legacy_ShowDNASet: findType("ShowDNASet*"), - legacy_ShowDomainLabelsSet: findType("ShowDomainLabelsSet*"), - legacy_ShowDomainNameMismatchesSet: findType("ShowDomainNameMismatchesSet*"), - legacy_ShowDomainNamesSet: findType("ShowDomainNamesSet*"), - legacy_ShowEditMenuToggle: findType("ShowEditMenuToggle*"), - legacy_ShowGridCoordinatesSideViewSet: findType("ShowGridCoordinatesSideViewSet*"), - legacy_ShowHelixCirclesMainViewSet: findType("ShowHelixCirclesMainViewSet*"), - legacy_ShowHelixComponentsMainViewSet: findType("ShowHelixComponentsMainViewSet*"), - legacy_ShowLoopoutExtensionLengthSet: findType("ShowLoopoutExtensionLengthSet*"), - legacy_ShowMismatchesSet: findType("ShowMismatchesSet*"), - legacy_ShowModificationsSet: findType("ShowModificationsSet*"), - legacy_ShowMouseoverDataSet: findType("ShowMouseoverDataSet*"), - legacy_ShowMouseoverRectSet: findType("ShowMouseoverRectSet*"), - legacy_ShowMouseoverRectToggle: findType("ShowMouseoverRectToggle*"), - legacy_ShowSliceBarSet: findType("ShowSliceBarSet*"), - legacy_ShowStrandLabelsSet: findType("ShowStrandLabelsSet*"), - legacy_ShowStrandNamesSet: findType("ShowStrandNamesSet*"), - legacy_ShowUnpairedInsertionDeletionsSet: findType("ShowUnpairedInsertionDeletionsSet*"), - legacy_SingleStrandAction: findType("SingleStrandAction*"), - legacy_SliceBarMoveStart: findType("SliceBarMoveStart*"), - legacy_SliceBarMoveStop: findType("SliceBarMoveStop*"), - legacy_SliceBarOffsetSet: findType("SliceBarOffsetSet*"), - legacy_Store_dynamic: findType("Store<@>*"), - legacy_Store_legacy_AppState: findType("Store*"), - legacy_Store_legacy_DNAEndsMove: findType("Store*"), - legacy_Store_legacy_DNAExtensionsMove: findType("Store*"), - legacy_Store_legacy_HelixGroupMove: findType("Store*"), - legacy_Store_legacy_PotentialCrossover: findType("Store*"), - legacy_Store_legacy_SelectionBox: findType("Store*"), - legacy_Store_legacy_SelectionRope: findType("Store*"), - legacy_Strand: findType("Strand*"), - legacy_StrandBuilder: findType("StrandBuilder*"), - legacy_StrandCreateAdjustOffset: findType("StrandCreateAdjustOffset*"), - legacy_StrandCreateCommit: findType("StrandCreateCommit*"), - legacy_StrandCreateStart: findType("StrandCreateStart*"), - legacy_StrandCreateStop: findType("StrandCreateStop*"), - legacy_StrandCreation: findType("StrandCreation*"), - legacy_StrandLabelFontSizeSet: findType("StrandLabelFontSizeSet*"), - legacy_StrandLabelSet: findType("StrandLabelSet*"), - legacy_StrandNameFontSizeSet: findType("StrandNameFontSizeSet*"), - legacy_StrandNameSet: findType("StrandNameSet*"), - legacy_StrandOrSubstrandColorPickerHide: findType("StrandOrSubstrandColorPickerHide*"), - legacy_StrandOrSubstrandColorPickerShow: findType("StrandOrSubstrandColorPickerShow*"), - legacy_StrandOrSubstrandColorSet: findType("StrandOrSubstrandColorSet*"), - legacy_StrandOrder: findType("StrandOrder*"), - legacy_StrandPartAction: findType("StrandPartAction*"), - legacy_StrandPasteKeepColorSet: findType("StrandPasteKeepColorSet*"), - legacy_StrandsMove: findType("StrandsMove*"), - legacy_StrandsMoveAdjustAddress: findType("StrandsMoveAdjustAddress*"), - legacy_StrandsMoveCommit: findType("StrandsMoveCommit*"), - legacy_StrandsMoveStart: findType("StrandsMoveStart*"), - legacy_StrandsMoveStartSelectedStrands: findType("StrandsMoveStartSelectedStrands*"), - legacy_StrandsMoveStop: findType("StrandsMoveStop*"), - legacy_StrandsReflect: findType("StrandsReflect*"), - legacy_StreamedResponse: findType("StreamedResponse*"), - legacy_String: findType("String*"), - legacy_String_Function_String: findType("String*(String)"), - legacy_Substrand: findType("Substrand*"), - legacy_SubstrandLabelSet: findType("SubstrandLabelSet*"), - legacy_SubstrandNameSet: findType("SubstrandNameSet*"), - legacy_SvgElement: findType("SvgElement*"), - legacy_SvgPngCacheInvalidatingAction: findType("SvgPngCacheInvalidatingAction*"), - legacy_SvgSvgElement: findType("SvgSvgElement*"), - legacy_SyntheticFormEvent: findType("SyntheticFormEvent*"), - legacy_SyntheticMouseEvent: findType("SyntheticMouseEvent*"), - legacy_SyntheticPointerEvent: findType("SyntheticPointerEvent*"), - legacy_TextContentElement: findType("TextContentElement*"), - legacy_TextElement: findType("TextElement*"), - legacy_TextPathElement: findType("TextPathElement*"), - legacy_ThrottledAction: findType("ThrottledAction*"), - legacy_ThrottledActionFast: findType("ThrottledActionFast*"), - legacy_ThrottledActionNonFast: findType("ThrottledActionNonFast*"), - legacy_Timer: findType("Timer*"), - legacy_TouchEvent: findType("TouchEvent*"), - legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("Tuple2*"), - legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("Tuple2*,Domain*>*"), - legacy_Tuple2_of_legacy_int_and_legacy_int: findType("Tuple2*"), - legacy_Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector: findType("Tuple3*"), - legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("Tuple3*"), - legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("Tuple5*"), - legacy_Type: findType("Type*"), - legacy_TypedData: findType("TypedData*"), - legacy_Uint8List: findType("Uint8List*"), - legacy_Undo: findType("Undo*"), - legacy_UndoRedo: findType("UndoRedo*"), - legacy_UndoRedoClear: findType("UndoRedoClear*"), - legacy_UndoRedoItem: findType("UndoRedoItem*"), - legacy_UndoableAction: findType("UndoableAction*"), - legacy_VendorFields: findType("VendorFields*"), - legacy_VendorFieldsRemove: findType("VendorFieldsRemove*"), - legacy_WarnOnExitIfUnsavedSet: findType("WarnOnExitIfUnsavedSet*"), - legacy_ZoomSpeedSet: findType("ZoomSpeedSet*"), - legacy__$HelixGroup: findType("_$HelixGroup*"), - legacy__Disposable: findType("_Disposable*"), - legacy_bool: findType("bool*"), - legacy_double: findType("double*"), - legacy_dynamic_Function: findType("@()*"), - legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo: findType("@(@,ReactErrorInfo*)*"), - legacy_dynamic_Function_Null: findType("@(Null)*"), - legacy_dynamic_Function_dynamic: findType("@(@)*"), - legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem: findType("@(BuiltList*)*"), - legacy_dynamic_Function_legacy_Map_dynamic_dynamic: findType("@(Map<@,@>*)*"), - legacy_dynamic_Function_legacy_SyntheticFormEvent: findType("@(SyntheticFormEvent*)*"), - legacy_dynamic_Function_legacy_SyntheticMouseEvent: findType("@(SyntheticMouseEvent*)*"), - legacy_dynamic_Function_legacy_SyntheticPointerEvent: findType("@(SyntheticPointerEvent*)*"), - legacy_dynamic_Function_legacy_num: findType("@(num*)*"), - legacy_int: findType("int*"), - legacy_legacy_Action_Function_legacy_int: findType("Action*(int*)*"), - legacy_legacy_Component2Bridge_Function_legacy_Component2: findType("Component2Bridge*(Component2*)*"), - legacy_legacy_Component2_Function: findType("Component2*()*"), - legacy_legacy_Function_Function_legacy_Function: findType("Function*(Function*)*"), - legacy_legacy_Future_dynamic_Function: findType("Future<@>*()*"), - legacy_legacy_JsMap_Function_2_legacy_Object_and_legacy_JsMap: findType("JsMap*(Object*,JsMap*)*"), - legacy_legacy_JsMap_Function_2_legacy_dynamic_Function_dynamic_and_legacy_JsMap: findType("JsMap*(@(@)*,JsMap*)*"), - legacy_legacy_JsMap_Function_legacy_Object: findType("JsMap*(Object*)*"), - legacy_legacy_JsMap_Function_legacy_dynamic_Function_dynamic: findType("JsMap*(@(@)*)*"), - legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType: findType("List*(Strand*{address:Address*,substrand:Substrand*,type:ModificationType*})*"), - legacy_legacy_Object_Function: findType("Object*()*"), - legacy_legacy_ReactElement_Function_2_dynamic_and_legacy_ReactErrorInfo: findType("ReactElement*(@,ReactErrorInfo*)*"), - legacy_legacy_UndoableAction_Function_2_legacy_Strand_and_legacy_Substrand: findType("UndoableAction*(Strand*,Substrand*)*"), - legacy_legacy_UndoableAction_Function_legacy_Strand: findType("UndoableAction*(Strand*)*"), - legacy_legacy_bool_Function_2_legacy_JsMap_and_legacy_JsMap: findType("bool*(JsMap*,JsMap*)*"), - legacy_legacy_int_Function_dynamic_dynamic: findType("int*(@,@)*"), - legacy_legacy_num_Function: findType("num*()*"), - legacy_num: findType("num*"), - legacy_strand_bounds_status: findType("strand_bounds_status*"), - legacy_void_Function: findType("~()*"), - legacy_void_Function_legacy_AddressBuilder: findType("~(AddressBuilder*)*"), - legacy_void_Function_legacy_AppStateBuilder: findType("~(AppStateBuilder*)*"), - legacy_void_Function_legacy_AppUIStateBuilder: findType("~(AppUIStateBuilder*)*"), - legacy_void_Function_legacy_AppUIStateStorablesBuilder: findType("~(AppUIStateStorablesBuilder*)*"), - legacy_void_Function_legacy_AssignDNAComplementFromBoundStrandsBuilder: findType("~(AssignDNAComplementFromBoundStrandsBuilder*)*"), - legacy_void_Function_legacy_AssignDomainNameComplementFromBoundDomainsBuilder: findType("~(AssignDomainNameComplementFromBoundDomainsBuilder*)*"), - legacy_void_Function_legacy_AssignDomainNameComplementFromBoundStrandsBuilder: findType("~(AssignDomainNameComplementFromBoundStrandsBuilder*)*"), - legacy_void_Function_legacy_AutoPasteInitiateBuilder: findType("~(AutoPasteInitiateBuilder*)*"), - legacy_void_Function_legacy_AutobreakBuilder: findType("~(AutobreakBuilder*)*"), - legacy_void_Function_legacy_AutostapleBuilder: findType("~(AutostapleBuilder*)*"), - legacy_void_Function_legacy_BatchActionBuilder: findType("~(BatchActionBuilder*)*"), - legacy_void_Function_legacy_ContextMenuHideBuilder: findType("~(ContextMenuHideBuilder*)*"), - legacy_void_Function_legacy_ContextMenuItemBuilder: findType("~(ContextMenuItemBuilder*)*"), - legacy_void_Function_legacy_ConvertCrossoverToLoopoutBuilder: findType("~(ConvertCrossoverToLoopoutBuilder*)*"), - legacy_void_Function_legacy_ConvertCrossoversToLoopoutsBuilder: findType("~(ConvertCrossoversToLoopoutsBuilder*)*"), - legacy_void_Function_legacy_CopyInfoBuilder: findType("~(CopyInfoBuilder*)*"), - legacy_void_Function_legacy_CopySelectedStandsToClipboardImageBuilder: findType("~(CopySelectedStandsToClipboardImageBuilder*)*"), - legacy_void_Function_legacy_CopySelectedStrandsBuilder: findType("~(CopySelectedStrandsBuilder*)*"), - legacy_void_Function_legacy_CrossoverBuilder: findType("~(CrossoverBuilder*)*"), - legacy_void_Function_legacy_DNAAssignOptionsBuilder: findType("~(DNAAssignOptionsBuilder*)*"), - legacy_void_Function_legacy_DNAEndBuilder: findType("~(DNAEndBuilder*)*"), - legacy_void_Function_legacy_DNAEndsMoveBuilder: findType("~(DNAEndsMoveBuilder*)*"), - legacy_void_Function_legacy_DNAExtensionsMoveBuilder: findType("~(DNAExtensionsMoveBuilder*)*"), - legacy_void_Function_legacy_DeleteAllSelectedBuilder: findType("~(DeleteAllSelectedBuilder*)*"), - legacy_void_Function_legacy_DeletionAddBuilder: findType("~(DeletionAddBuilder*)*"), - legacy_void_Function_legacy_DeletionRemoveBuilder: findType("~(DeletionRemoveBuilder*)*"), - legacy_void_Function_legacy_DesignBuilder: findType("~(DesignBuilder*)*"), - legacy_void_Function_legacy_DesignSideRotationDataBuilder: findType("~(DesignSideRotationDataBuilder*)*"), - legacy_void_Function_legacy_DesignSideRotationParamsBuilder: findType("~(DesignSideRotationParamsBuilder*)*"), - legacy_void_Function_legacy_DialogBuilder: findType("~(DialogBuilder*)*"), - legacy_void_Function_legacy_DialogCheckboxBuilder: findType("~(DialogCheckboxBuilder*)*"), - legacy_void_Function_legacy_DialogFloatBuilder: findType("~(DialogFloatBuilder*)*"), - legacy_void_Function_legacy_DialogHideBuilder: findType("~(DialogHideBuilder*)*"), - legacy_void_Function_legacy_DialogIntegerBuilder: findType("~(DialogIntegerBuilder*)*"), - legacy_void_Function_legacy_DialogLabelBuilder: findType("~(DialogLabelBuilder*)*"), - legacy_void_Function_legacy_DialogLinkBuilder: findType("~(DialogLinkBuilder*)*"), - legacy_void_Function_legacy_DialogRadioBuilder: findType("~(DialogRadioBuilder*)*"), - legacy_void_Function_legacy_DialogTextAreaBuilder: findType("~(DialogTextAreaBuilder*)*"), - legacy_void_Function_legacy_DialogTextBuilder: findType("~(DialogTextBuilder*)*"), - legacy_void_Function_legacy_DisablePngCachingDnaSequencesSetBuilder: findType("~(DisablePngCachingDnaSequencesSetBuilder*)*"), - legacy_void_Function_legacy_DisplayMajorTicksOffsetsSetBuilder: findType("~(DisplayMajorTicksOffsetsSetBuilder*)*"), - legacy_void_Function_legacy_DisplayReverseDNARightSideUpSetBuilder: findType("~(DisplayReverseDNARightSideUpSetBuilder*)*"), - legacy_void_Function_legacy_DomainBuilder: findType("~(DomainBuilder*)*"), - legacy_void_Function_legacy_DomainsMoveBuilder: findType("~(DomainsMoveBuilder*)*"), - legacy_void_Function_legacy_DomainsMoveStopBuilder: findType("~(DomainsMoveStopBuilder*)*"), - legacy_void_Function_legacy_EditModeToggleBuilder: findType("~(EditModeToggleBuilder*)*"), - legacy_void_Function_legacy_ErrorMessageSetBuilder: findType("~(ErrorMessageSetBuilder*)*"), - legacy_void_Function_legacy_ExampleDesignsBuilder: findType("~(ExampleDesignsBuilder*)*"), - legacy_void_Function_legacy_ExportCanDoDNABuilder: findType("~(ExportCanDoDNABuilder*)*"), - legacy_void_Function_legacy_ExportDNABuilder: findType("~(ExportDNABuilder*)*"), - legacy_void_Function_legacy_ExportSvgTextSeparatelySetBuilder: findType("~(ExportSvgTextSeparatelySetBuilder*)*"), - legacy_void_Function_legacy_ExtensionAddBuilder: findType("~(ExtensionAddBuilder*)*"), - legacy_void_Function_legacy_ExtensionBuilder: findType("~(ExtensionBuilder*)*"), - legacy_void_Function_legacy_ExtensionDisplayLengthAngleSetBuilder: findType("~(ExtensionDisplayLengthAngleSetBuilder*)*"), - legacy_void_Function_legacy_ExtensionNumBasesChangeBuilder: findType("~(ExtensionNumBasesChangeBuilder*)*"), - legacy_void_Function_legacy_ExtensionsNumBasesChangeBuilder: findType("~(ExtensionsNumBasesChangeBuilder*)*"), - legacy_void_Function_legacy_GeometryBuilder: findType("~(GeometryBuilder*)*"), - legacy_void_Function_legacy_GridPositionBuilder: findType("~(GridPositionBuilder*)*"), - legacy_void_Function_legacy_HelicesPositionsSetBasedOnCrossoversBuilder: findType("~(HelicesPositionsSetBasedOnCrossoversBuilder*)*"), - legacy_void_Function_legacy_HelixAddBuilder: findType("~(HelixAddBuilder*)*"), - legacy_void_Function_legacy_HelixBuilder: findType("~(HelixBuilder*)*"), - legacy_void_Function_legacy_HelixGroupBuilder: findType("~(HelixGroupBuilder*)*"), - legacy_void_Function_legacy_HelixGroupMoveBuilder: findType("~(HelixGroupMoveBuilder*)*"), - legacy_void_Function_legacy_HelixGroupMoveStopBuilder: findType("~(HelixGroupMoveStopBuilder*)*"), - legacy_void_Function_legacy_HelixIdxsChangeBuilder: findType("~(HelixIdxsChangeBuilder*)*"), - legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllBuilder: findType("~(HelixMaxOffsetSetByDomainsAllBuilder*)*"), - legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllSameMaxBuilder: findType("~(HelixMaxOffsetSetByDomainsAllSameMaxBuilder*)*"), - legacy_void_Function_legacy_HelixMinOffsetSetByDomainsAllBuilder: findType("~(HelixMinOffsetSetByDomainsAllBuilder*)*"), - legacy_void_Function_legacy_HelixRemoveAllSelectedBuilder: findType("~(HelixRemoveAllSelectedBuilder*)*"), - legacy_void_Function_legacy_HelixRemoveBuilder: findType("~(HelixRemoveBuilder*)*"), - legacy_void_Function_legacy_HelixRollSetAtOtherBuilder: findType("~(HelixRollSetAtOtherBuilder*)*"), - legacy_void_Function_legacy_HelixSelectBuilder: findType("~(HelixSelectBuilder*)*"), - legacy_void_Function_legacy_HelixSelectionsAdjustBuilder: findType("~(HelixSelectionsAdjustBuilder*)*"), - legacy_void_Function_legacy_HelixSelectionsClearBuilder: findType("~(HelixSelectionsClearBuilder*)*"), - legacy_void_Function_legacy_InlineInsertionsDeletionsBuilder: findType("~(InlineInsertionsDeletionsBuilder*)*"), - legacy_void_Function_legacy_InsertionAddBuilder: findType("~(InsertionAddBuilder*)*"), - legacy_void_Function_legacy_InsertionBuilder: findType("~(InsertionBuilder*)*"), - legacy_void_Function_legacy_InsertionLengthChangeBuilder: findType("~(InsertionLengthChangeBuilder*)*"), - legacy_void_Function_legacy_InsertionRemoveBuilder: findType("~(InsertionRemoveBuilder*)*"), - legacy_void_Function_legacy_InsertionsLengthChangeBuilder: findType("~(InsertionsLengthChangeBuilder*)*"), - legacy_void_Function_legacy_JoinStrandsByMultipleCrossoversBuilder: findType("~(JoinStrandsByMultipleCrossoversBuilder*)*"), - legacy_void_Function_legacy_LineBuilder: findType("~(LineBuilder*)*"), - legacy_void_Function_legacy_List_legacy_DialogItem: findType("~(List*)*"), - legacy_void_Function_legacy_LoadDNAFileBuilder: findType("~(LoadDNAFileBuilder*)*"), - legacy_void_Function_legacy_LoadDnaSequenceImageUriBuilder: findType("~(LoadDnaSequenceImageUriBuilder*)*"), - legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder: findType("~(LocalStorageDesignChoiceBuilder*)*"), - legacy_void_Function_legacy_LoopoutBuilder: findType("~(LoopoutBuilder*)*"), - legacy_void_Function_legacy_LoopoutLengthChangeBuilder: findType("~(LoopoutLengthChangeBuilder*)*"), - legacy_void_Function_legacy_LoopoutsLengthChangeBuilder: findType("~(LoopoutsLengthChangeBuilder*)*"), - legacy_void_Function_legacy_MajorTickOffsetFontSizeSetBuilder: findType("~(MajorTickOffsetFontSizeSetBuilder*)*"), - legacy_void_Function_legacy_MajorTickWidthFontSizeSetBuilder: findType("~(MajorTickWidthFontSizeSetBuilder*)*"), - legacy_void_Function_legacy_ManualPasteInitiateBuilder: findType("~(ManualPasteInitiateBuilder*)*"), - legacy_void_Function_legacy_Modification3PrimeBuilder: findType("~(Modification3PrimeBuilder*)*"), - legacy_void_Function_legacy_Modification5PrimeBuilder: findType("~(Modification5PrimeBuilder*)*"), - legacy_void_Function_legacy_ModificationFontSizeSetBuilder: findType("~(ModificationFontSizeSetBuilder*)*"), - legacy_void_Function_legacy_ModificationInternalBuilder: findType("~(ModificationInternalBuilder*)*"), - legacy_void_Function_legacy_Modifications3PrimeEditBuilder: findType("~(Modifications3PrimeEditBuilder*)*"), - legacy_void_Function_legacy_Modifications5PrimeEditBuilder: findType("~(Modifications5PrimeEditBuilder*)*"), - legacy_void_Function_legacy_ModificationsInternalEditBuilder: findType("~(ModificationsInternalEditBuilder*)*"), - legacy_void_Function_legacy_MouseGridPositionSideClearBuilder: findType("~(MouseGridPositionSideClearBuilder*)*"), - legacy_void_Function_legacy_MouseGridPositionSideUpdateBuilder: findType("~(MouseGridPositionSideUpdateBuilder*)*"), - legacy_void_Function_legacy_MousePositionSideClearBuilder: findType("~(MousePositionSideClearBuilder*)*"), - legacy_void_Function_legacy_MouseoverDataBuilder: findType("~(MouseoverDataBuilder*)*"), - legacy_void_Function_legacy_MouseoverDataClearBuilder: findType("~(MouseoverDataClearBuilder*)*"), - legacy_void_Function_legacy_MouseoverParamsBuilder: findType("~(MouseoverParamsBuilder*)*"), - legacy_void_Function_legacy_NewDesignSetBuilder: findType("~(NewDesignSetBuilder*)*"), - legacy_void_Function_legacy_OxdnaExportBuilder: findType("~(OxdnaExportBuilder*)*"), - legacy_void_Function_legacy_OxviewExportBuilder: findType("~(OxviewExportBuilder*)*"), - legacy_void_Function_legacy_OxviewShowSetBuilder: findType("~(OxviewShowSetBuilder*)*"), - legacy_void_Function_legacy_Position3DBuilder: findType("~(Position3DBuilder*)*"), - legacy_void_Function_legacy_PotentialCrossoverBuilder: findType("~(PotentialCrossoverBuilder*)*"), - legacy_void_Function_legacy_PotentialCrossoverRemoveBuilder: findType("~(PotentialCrossoverRemoveBuilder*)*"), - legacy_void_Function_legacy_PrepareToLoadDNAFileBuilder: findType("~(PrepareToLoadDNAFileBuilder*)*"), - legacy_void_Function_legacy_RedoBuilder: findType("~(RedoBuilder*)*"), - legacy_void_Function_legacy_RetainStrandColorOnSelectionSetBuilder: findType("~(RetainStrandColorOnSelectionSetBuilder*)*"), - legacy_void_Function_legacy_SaveDNAFileBuilder: findType("~(SaveDNAFileBuilder*)*"), - legacy_void_Function_legacy_SelectAllSelectableBuilder: findType("~(SelectAllSelectableBuilder*)*"), - legacy_void_Function_legacy_SelectBuilder: findType("~(SelectBuilder*)*"), - legacy_void_Function_legacy_SelectModeStateBuilder: findType("~(SelectModeStateBuilder*)*"), - legacy_void_Function_legacy_SelectModeToggleBuilder: findType("~(SelectModeToggleBuilder*)*"), - legacy_void_Function_legacy_SelectablesStoreBuilder: findType("~(SelectablesStoreBuilder*)*"), - legacy_void_Function_legacy_SelectionBoxBuilder: findType("~(SelectionBoxBuilder*)*"), - legacy_void_Function_legacy_SelectionBoxCreateBuilder: findType("~(SelectionBoxCreateBuilder*)*"), - legacy_void_Function_legacy_SelectionBoxRemoveBuilder: findType("~(SelectionBoxRemoveBuilder*)*"), - legacy_void_Function_legacy_SelectionBoxSizeChangeBuilder: findType("~(SelectionBoxSizeChangeBuilder*)*"), - legacy_void_Function_legacy_SelectionRopeBuilder: findType("~(SelectionRopeBuilder*)*"), - legacy_void_Function_legacy_SelectionsClearBuilder: findType("~(SelectionsClearBuilder*)*"), - legacy_void_Function_legacy_SetAppUIStateStorableBuilder: findType("~(SetAppUIStateStorableBuilder*)*"), - legacy_void_Function_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: findType("~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*)*"), - legacy_void_Function_legacy_SetDisplayMajorTickWidthsAllHelicesBuilder: findType("~(SetDisplayMajorTickWidthsAllHelicesBuilder*)*"), - legacy_void_Function_legacy_SetDisplayMajorTickWidthsBuilder: findType("~(SetDisplayMajorTickWidthsBuilder*)*"), - legacy_void_Function_legacy_SetExportSvgActionDelayedForPngCacheBuilder: findType("~(SetExportSvgActionDelayedForPngCacheBuilder*)*"), - legacy_void_Function_legacy_SetIsZoomAboveThresholdBuilder: findType("~(SetIsZoomAboveThresholdBuilder*)*"), - legacy_void_Function_legacy_SetModificationDisplayConnectorBuilder: findType("~(SetModificationDisplayConnectorBuilder*)*"), - legacy_void_Function_legacy_SetOnlyDisplaySelectedHelicesBuilder: findType("~(SetOnlyDisplaySelectedHelicesBuilder*)*"), - legacy_void_Function_legacy_ShowDNASetBuilder: findType("~(ShowDNASetBuilder*)*"), - legacy_void_Function_legacy_ShowDomainLabelsSetBuilder: findType("~(ShowDomainLabelsSetBuilder*)*"), - legacy_void_Function_legacy_ShowDomainNameMismatchesSetBuilder: findType("~(ShowDomainNameMismatchesSetBuilder*)*"), - legacy_void_Function_legacy_ShowDomainNamesSetBuilder: findType("~(ShowDomainNamesSetBuilder*)*"), - legacy_void_Function_legacy_ShowMismatchesSetBuilder: findType("~(ShowMismatchesSetBuilder*)*"), - legacy_void_Function_legacy_ShowModificationsSetBuilder: findType("~(ShowModificationsSetBuilder*)*"), - legacy_void_Function_legacy_ShowMouseoverDataSetBuilder: findType("~(ShowMouseoverDataSetBuilder*)*"), - legacy_void_Function_legacy_ShowSliceBarSetBuilder: findType("~(ShowSliceBarSetBuilder*)*"), - legacy_void_Function_legacy_ShowStrandLabelsSetBuilder: findType("~(ShowStrandLabelsSetBuilder*)*"), - legacy_void_Function_legacy_ShowStrandNamesSetBuilder: findType("~(ShowStrandNamesSetBuilder*)*"), - legacy_void_Function_legacy_ShowUnpairedInsertionDeletionsSetBuilder: findType("~(ShowUnpairedInsertionDeletionsSetBuilder*)*"), - legacy_void_Function_legacy_SkipUndoBuilder: findType("~(SkipUndoBuilder*)*"), - legacy_void_Function_legacy_SliceBarMoveStartBuilder: findType("~(SliceBarMoveStartBuilder*)*"), - legacy_void_Function_legacy_SliceBarMoveStopBuilder: findType("~(SliceBarMoveStopBuilder*)*"), - legacy_void_Function_legacy_SliceBarOffsetSetBuilder: findType("~(SliceBarOffsetSetBuilder*)*"), - legacy_void_Function_legacy_StrandBuilder: findType("~(StrandBuilder*)*"), - legacy_void_Function_legacy_StrandCreateStopBuilder: findType("~(StrandCreateStopBuilder*)*"), - legacy_void_Function_legacy_StrandCreationBuilder: findType("~(StrandCreationBuilder*)*"), - legacy_void_Function_legacy_StrandOrSubstrandColorPickerHideBuilder: findType("~(StrandOrSubstrandColorPickerHideBuilder*)*"), - legacy_void_Function_legacy_StrandsMoveBuilder: findType("~(StrandsMoveBuilder*)*"), - legacy_void_Function_legacy_StrandsMoveStopBuilder: findType("~(StrandsMoveStopBuilder*)*"), - legacy_void_Function_legacy_SyntheticMouseEvent: findType("~(SyntheticMouseEvent*)*"), - legacy_void_Function_legacy_SyntheticPointerEvent: findType("~(SyntheticPointerEvent*)*"), - legacy_void_Function_legacy_ThrottledActionFastBuilder: findType("~(ThrottledActionFastBuilder*)*"), - legacy_void_Function_legacy_ThrottledActionNonFastBuilder: findType("~(ThrottledActionNonFastBuilder*)*"), - legacy_void_Function_legacy_UndoBuilder: findType("~(UndoBuilder*)*"), - legacy_void_Function_legacy_UndoRedoBuilder: findType("~(UndoRedoBuilder*)*"), - legacy_void_Function_legacy_UndoRedoItemBuilder: findType("~(UndoRedoItemBuilder*)*"), - legacy_void_Function_legacy_VendorFieldsBuilder: findType("~(VendorFieldsBuilder*)*"), - legacy_void_Function_legacy_bool: findType("~(bool*)*"), - nullable_Blob: findType("Blob?"), - nullable_EventTarget: findType("EventTarget?"), - nullable_Future_Null: findType("Future?"), - nullable_Gamepad: findType("Gamepad?"), - nullable_List_Element: findType("List?"), - nullable_List_Int32List: findType("List?"), - nullable_List_List_int: findType("List>?"), - nullable_List_String: findType("List?"), - nullable_List_Uint8List: findType("List?"), - nullable_List_dynamic: findType("List<@>?"), - nullable_List_int: findType("List?"), - nullable_Map_String_ArchiveFile: findType("Map?"), - nullable_Map_String_SpreadsheetTable: findType("Map?"), - nullable_Map_String_XmlDocument: findType("Map?"), - nullable_Map_String_XmlElement: findType("Map?"), - nullable_Object: findType("Object?"), - nullable_Object_Function: findType("Object?()"), - nullable_Point_num: findType("Point?"), - nullable_Set_XmlNodeType: findType("Set?"), - nullable_StackTrace: findType("StackTrace?"), - nullable_StreamController_DraggableEvent: findType("StreamController?"), - nullable_String_Function_Match: findType("String(Match)?"), - nullable_Uri: findType("Uri?"), - nullable__DelayedEvent_dynamic: findType("_DelayedEvent<@>?"), - nullable__FutureListener_dynamic_dynamic: findType("_FutureListener<@,@>?"), - nullable__Highlight: findType("_Highlight?"), - nullable__LinkedHashSetCell: findType("_LinkedHashSetCell?"), - nullable_bool_Function_Object: findType("bool(Object)?"), - nullable_bool_Function_XmlAttribute: findType("bool(XmlAttribute)?"), - nullable_bool_Function_XmlNode: findType("bool(XmlNode)?"), - nullable_dynamic_Function_Event: findType("@(Event)?"), - nullable_int_Function_2_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain_and_legacy_$1: findType("int(Tuple2*,Domain*>*,Tuple2*,Domain*>*)?"), - nullable_int_Function_2_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain_and_legacy_$1: findType("int(Tuple3*,Tuple3*)?"), - nullable_int_Function_Element_Element: findType("int(Element,Element)?"), - nullable_int_Function_Node_Node: findType("int(Node,Node)?"), - nullable_int_Function_XmlAttribute_XmlAttribute: findType("int(XmlAttribute,XmlAttribute)?"), - nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object: findType("Object?(Object?,Object?)?"), - nullable_nullable_Object_Function_dynamic: findType("Object?(@)?"), - nullable_void_Function: findType("~()?"), - nullable_void_Function_BeforeUnloadEvent: findType("~(BeforeUnloadEvent)?"), - nullable_void_Function_DomException: findType("~(DomException)?"), - nullable_void_Function_Event: findType("~(Event)?"), - nullable_void_Function_legacy_Event: findType("~(Event*)?"), - nullable_void_Function_legacy_KeyboardEvent: findType("~(KeyboardEvent*)?"), - nullable_void_Function_legacy_MouseEvent: findType("~(MouseEvent*)?"), - nullable_void_Function_legacy_ProgressEvent: findType("~(ProgressEvent*)?"), - nullable_void_Function_legacy_TouchEvent: findType("~(TouchEvent*)?"), - num: findType("num"), - void: findType("~"), - void_Function: findType("~()"), - void_Function_Element: findType("~(Element)"), - void_Function_Object: findType("~(Object)"), - void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), - void_Function_String: findType("~(String)"), - void_Function_String_String: findType("~(String,String)"), - void_Function_String_dynamic: findType("~(String,@)"), - void_Function_Timer: findType("~(Timer)"), - void_Function_nullable_Blob: findType("~(Blob?)") - }; - })(); - (function constants() { - var makeConstList = hunkHelpers.makeConstList; - C.AnchorElement_methods = W.AnchorElement.prototype; - C.BodyElement_methods = W.BodyElement.prototype; - C.CanvasElement_methods = W.CanvasElement.prototype; - C.CircleElement_methods = P.CircleElement.prototype; - C.CssStyleDeclaration_methods = W.CssStyleDeclaration.prototype; - C.CssStyleSheet_methods = W.CssStyleSheet.prototype; - C.DataTransfer_methods = W.DataTransfer.prototype; - C.DefsElement_methods = P.DefsElement.prototype; - C.DivElement_methods = W.DivElement.prototype; - C.DomImplementation_methods = W.DomImplementation.prototype; - C.DomPoint_methods = W.DomPoint.prototype; - C.FEGaussianBlurElement_methods = P.FEGaussianBlurElement.prototype; - C.FEMergeElement_methods = P.FEMergeElement.prototype; - C.FEMergeNodeElement_methods = P.FEMergeNodeElement.prototype; - C.FileList_methods = W.FileList.prototype; - C.FileReader_methods = W.FileReader.prototype; - C.FilterElement_methods = P.FilterElement.prototype; - C.GElement_methods = P.GElement.prototype; - C.HtmlDocument_methods = W.HtmlDocument.prototype; - C.HttpRequest_methods = W.HttpRequest.prototype; - C.IFrameElement_methods = W.IFrameElement.prototype; - C.ImageElement_methods = W.ImageElement.prototype; - C.Interceptor_methods = J.Interceptor.prototype; - C.JSArray_methods = J.JSArray.prototype; - C.JSBool_methods = J.JSBool.prototype; - C.JSInt_methods = J.JSInt.prototype; - C.JSNull_methods = J.JSNull.prototype; - C.JSNumber_methods = J.JSNumber.prototype; - C.JSString_methods = J.JSString.prototype; - C.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; - C.KeyboardEvent_methods = W.KeyboardEvent.prototype; - C.NativeByteBuffer_methods = H.NativeByteBuffer.prototype; - C.NativeByteData_methods = H.NativeByteData.prototype; - C.NativeUint16List_methods = H.NativeUint16List.prototype; - C.NativeUint32List_methods = H.NativeUint32List.prototype; - C.NativeUint8List_methods = H.NativeUint8List.prototype; - C.NodeList_methods = W.NodeList.prototype; - C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; - C.Point_methods = P.Point0.prototype; - C.PreElement_methods = W.PreElement.prototype; - C.Storage_methods = W.Storage.prototype; - C.SvgSvgElement_methods = P.SvgSvgElement.prototype; - C.TextElement_methods = P.TextElement.prototype; - C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; - C.Window_methods = W.Window.prototype; - C._CssRuleList_methods = W._CssRuleList.prototype; - C.AsciiDecoder_false_127 = new P.AsciiDecoder(false, 127); - C.AsciiEncoder_127 = new P.AsciiEncoder(127); - C.BasePairDisplayType_lines = new L.BasePairDisplayType("lines"); - C.BasePairDisplayType_none = new L.BasePairDisplayType("none"); - C.BasePairDisplayType_rectangle = new L.BasePairDisplayType("rectangle"); - C.BlobType_0 = new E.BlobType("BlobType.text"); - C.BlobType_1 = new E.BlobType("BlobType.binary"); - C.BlobType_2 = new E.BlobType("BlobType.image"); - C.BlobType_3 = new E.BlobType("BlobType.excel"); - C.CONSTANT = new H.Instantiation1(P.math__max$closure(), type$.Instantiation1_legacy_int); - C.CONSTANT0 = new H.Instantiation1(P.math__min$closure(), type$.Instantiation1_legacy_int); - C.C_AsciiCodec = new P.AsciiCodec(); - C.C_Base64Encoder = new P.Base64Encoder(); - C.C_Base64Codec = new P.Base64Codec(); - C.C_Base64Decoder = new P.Base64Decoder(); - C.C_Component2BridgeImpl = new A.Component2BridgeImpl(); - C.C_DefaultEquality = new U.DefaultEquality(H.findType("DefaultEquality<0&*>")); - C.C_DeepCollectionEquality = new U.DeepCollectionEquality(); - C.C_EmptyIterator = new H.EmptyIterator(H.findType("EmptyIterator<0&*>")); - C.C_Endian0 = new P.Endian(); - C.C_Endian = new P.Endian(); - C.C_HtmlEscapeMode = new P.HtmlEscapeMode(); - C.C_IntegerDivisionByZeroException = new P.IntegerDivisionByZeroException(); - C.C_JS_CONST = function getTagFallback(o) { - var s = Object.prototype.toString.call(o); - return s.substring(8, s.length - 1); -}; - C.C_JS_CONST0 = function() { - var toStringFunction = Object.prototype.toString; - function getTag(o) { - var s = toStringFunction.call(o); - return s.substring(8, s.length - 1); - } - function getUnknownTag(object, tag) { - if (/^HTML[A-Z].*Element$/.test(tag)) { - var name = toStringFunction.call(object); - if (name == "[object Object]") return null; - return "HTMLElement"; - } - } - function getUnknownTagGenericBrowser(object, tag) { - if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; - return getUnknownTag(object, tag); - } - function prototypeForTag(tag) { - if (typeof window == "undefined") return null; - if (typeof window[tag] == "undefined") return null; - var constructor = window[tag]; - if (typeof constructor != "function") return null; - return constructor.prototype; - } - function discriminator(tag) { return null; } - var isBrowser = typeof navigator == "object"; - return { - getTag: getTag, - getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, - prototypeForTag: prototypeForTag, - discriminator: discriminator }; -}; - C.C_JS_CONST6 = function(getTagFallback) { - return function(hooks) { - if (typeof navigator != "object") return hooks; - var ua = navigator.userAgent; - if (ua.indexOf("DumpRenderTree") >= 0) return hooks; - if (ua.indexOf("Chrome") >= 0) { - function confirm(p) { - return typeof window == "object" && window[p] && window[p].name == p; - } - if (confirm("Window") && confirm("HTMLElement")) return hooks; - } - hooks.getTag = getTagFallback; - }; -}; - C.C_JS_CONST1 = function(hooks) { - if (typeof dartExperimentalFixupGetTag != "function") return hooks; - hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -}; - C.C_JS_CONST2 = function(hooks) { - var getTag = hooks.getTag; - var prototypeForTag = hooks.prototypeForTag; - function getTagFixed(o) { - var tag = getTag(o); - if (tag == "Document") { - if (!!o.xmlVersion) return "!Document"; - return "!HTMLDocument"; - } - return tag; - } - function prototypeForTagFixed(tag) { - if (tag == "Document") return null; - return prototypeForTag(tag); - } - hooks.getTag = getTagFixed; - hooks.prototypeForTag = prototypeForTagFixed; -}; - C.C_JS_CONST5 = function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Firefox") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "GeoGeolocation": "Geolocation", - "Location": "!Location", - "WorkerMessageEvent": "MessageEvent", - "XMLDocument": "!Document"}; - function getTagFirefox(o) { - var tag = getTag(o); - return quickMap[tag] || tag; - } - hooks.getTag = getTagFirefox; -}; - C.C_JS_CONST4 = function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Trident/") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "HTMLDDElement": "HTMLElement", - "HTMLDTElement": "HTMLElement", - "HTMLPhraseElement": "HTMLElement", - "Position": "Geoposition" - }; - function getTagIE(o) { - var tag = getTag(o); - var newTag = quickMap[tag]; - if (newTag) return newTag; - if (tag == "Object") { - if (window.DataView && (o instanceof window.DataView)) return "DataView"; - } - return tag; - } - function prototypeForTagIE(tag) { - var constructor = window[tag]; - if (constructor == null) return null; - return constructor.prototype; - } - hooks.getTag = getTagIE; - hooks.prototypeForTag = prototypeForTagIE; -}; - C.C_JS_CONST3 = function(hooks) { return hooks; } -; - C.C_JsonCodec = new P.JsonCodec(); - C.C_Latin1Codec = new P.Latin1Codec(); - C.C_NotSpecified = new M.NotSpecified(); - C.C_NotSpecified0 = new V.NotSpecified0(); - C.C_OutOfMemoryError = new P.OutOfMemoryError(); - C.C_UiComponent2BridgeImpl = new Z.UiComponent2BridgeImpl(); - C.C_Utf8Codec = new P.Utf8Codec(); - C.C_Utf8Encoder = new P.Utf8Encoder(); - C.C_WhitespaceCharPredicate = new Z.WhitespaceCharPredicate(); - C.List_2EQ = H.setRuntimeTypeInfo(makeConstList(["amp", "apos", "gt", "lt", "quot"]), type$.JSArray_legacy_String); - C.Map_2EUwe = new H.ConstantStringMap(5, {amp: "&", apos: "'", gt: ">", lt: "<", quot: '"'}, C.List_2EQ, type$.ConstantStringMap_of_legacy_String_and_legacy_String); - C.C_XmlDefaultEntityMapping = new T.XmlDefaultEntityMapping(); - C.C__BeforeUnloadEventStreamProvider = new W._BeforeUnloadEventStreamProvider(); - C.C__DelayedDone = new P._DelayedDone(); - C.C__Required = new H._Required(); - C.C__RootZone = new P._RootZone(); - C.C__StringStackTrace = new P._StringStackTrace(); - C.C__TrustedHtmlTreeSanitizer = new W._TrustedHtmlTreeSanitizer(); - C.ConstantCharPredicate_false = new L.ConstantCharPredicate(false); - C.ConstantCharPredicate_true = new L.ConstantCharPredicate(true); - C.DNAFileType_cadnano_file = new F.DNAFileType("cadnano_file"); - C.DNAFileType_scadnano_file = new F.DNAFileType("scadnano_file"); - C.DNASequencePredefined_M13p7249 = new E.DNASequencePredefined("M13p7249"); - C.DNASequencePredefined_M13p7560 = new E.DNASequencePredefined("M13p7560"); - C.DNASequencePredefined_M13p8064 = new E.DNASequencePredefined("M13p8064"); - C.DNASequencePredefined_M13p8634 = new E.DNASequencePredefined("M13p8634"); - C.DialogType_0i1 = new E.DialogType("select_all_with_same_as_selected"); - C.DialogType_2jN = new E.DialogType("set_extension_display_length_angle"); - C.DialogType_add_extension = new E.DialogType("add_extension"); - C.DialogType_add_modification = new E.DialogType("add_modification"); - C.DialogType_adjust_current_helix_group = new E.DialogType("adjust_current_helix_group"); - C.DialogType_adjust_geometric_parameters = new E.DialogType("adjust_geometric_parameters"); - C.DialogType_adjust_helix_indices = new E.DialogType("adjust_helix_indices"); - C.DialogType_assign_dna_sequence = new E.DialogType("assign_dna_sequence"); - C.DialogType_assign_plate_well = new E.DialogType("assign_plate_well"); - C.DialogType_assign_scale_purification = new E.DialogType("assign_scale_purification"); - C.DialogType_base_pair_display = new E.DialogType("base_pair_display"); - C.DialogType_choose_autobreak_parameters = new E.DialogType("choose_autobreak_parameters"); - C.DialogType_create_new_helix_group = new E.DialogType("create_new_helix_group"); - C.DialogType_edit_modification = new E.DialogType("edit_modification"); - C.DialogType_export_dna_sequences = new E.DialogType("export_dna_sequences"); - C.DialogType_load_example_dna_design = new E.DialogType("load_example_dna_design"); - C.DialogType_move_selected_helices_to_group = new E.DialogType("move_selected_helices_to_group"); - C.DialogType_remove_dna_sequence = new E.DialogType("remove_dna_sequence"); - C.DialogType_set_color = new E.DialogType("set_color"); - C.DialogType_set_domain_name = new E.DialogType("set_domain_name"); - C.DialogType_set_extension_name = new E.DialogType("set_extension_name"); - C.DialogType_set_extension_num_bases = new E.DialogType("set_extension_num_bases"); - C.DialogType_set_helix_grid_position = new E.DialogType("set_helix_grid_position"); - C.DialogType_set_helix_index = new E.DialogType("set_helix_index"); - C.DialogType_set_helix_maximum_offset = new E.DialogType("set_helix_maximum_offset"); - C.DialogType_set_helix_minimum_offset = new E.DialogType("set_helix_minimum_offset"); - C.DialogType_set_helix_position = new E.DialogType("set_helix_position"); - C.DialogType_set_helix_roll_degrees = new E.DialogType("set_helix_roll_degrees"); - C.DialogType_set_helix_tick_marks = new E.DialogType("set_helix_tick_marks"); - C.DialogType_set_insertion_length = new E.DialogType("set_insertion_length"); - C.DialogType_set_loopout_length = new E.DialogType("set_loopout_length"); - C.DialogType_set_loopout_name = new E.DialogType("set_loopout_name"); - C.DialogType_set_strand_label = new E.DialogType("set_strand_label"); - C.DialogType_set_strand_name = new E.DialogType("set_strand_name"); - C.DialogType_set_substrand_label = new E.DialogType("set_substrand_label"); - C.DisposableState_0 = new D.DisposableState("DisposableState.initialized"); - C.DisposableState_1 = new D.DisposableState("DisposableState.awaitingDisposal"); - C.DisposableState_2 = new D.DisposableState("DisposableState.disposing"); - C.DisposableState_3 = new D.DisposableState("DisposableState.disposed"); - C.DraggableComponent_0 = new U.DraggableComponent("DraggableComponent.main"); - C.DraggableComponent_1 = new U.DraggableComponent("DraggableComponent.side"); - C.Duration_0 = new P.Duration(0); - C.Duration_50000 = new P.Duration(50000); - C.EditModeChoice_deletion = new M.EditModeChoice("deletion"); - C.EditModeChoice_insertion = new M.EditModeChoice("insertion"); - C.EditModeChoice_ligate = new M.EditModeChoice("ligate"); - C.EditModeChoice_move_group = new M.EditModeChoice("move_group"); - C.EditModeChoice_nick = new M.EditModeChoice("nick"); - C.EditModeChoice_pencil = new M.EditModeChoice("pencil"); - C.EditModeChoice_rope_select = new M.EditModeChoice("rope_select"); - C.EditModeChoice_select = new M.EditModeChoice("select"); - C.ExportDNAFormat_csv = new D.ExportDNAFormat("csv"); - C.ExportDNAFormat_idt_bulk = new D.ExportDNAFormat("idt_bulk"); - C.ExportDNAFormat_idt_plates384 = new D.ExportDNAFormat("idt_plates384"); - C.ExportDNAFormat_idt_plates96 = new D.ExportDNAFormat("idt_plates96"); - C.ExportSvgType_0 = new U.ExportSvgType("ExportSvgType.main"); - C.ExportSvgType_1 = new U.ExportSvgType("ExportSvgType.side"); - C.ExportSvgType_2 = new U.ExportSvgType("ExportSvgType.both"); - C.ExportSvgType_3 = new U.ExportSvgType("ExportSvgType.selected"); - C.Type_BuiltList_iTR = H.typeLiteral("BuiltList<@>"); - C.Type_Strand_CKH = H.typeLiteral("Strand"); - C.List_empty5 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_FullType); - C.FullType_w0x = new U.FullType(C.Type_Strand_CKH, C.List_empty5, false); - C.List_AyI0 = H.setRuntimeTypeInfo(makeConstList([C.FullType_w0x]), type$.JSArray_legacy_FullType); - C.FullType_2No = new U.FullType(C.Type_BuiltList_iTR, C.List_AyI0, false); - C.Type_BuiltSet_fcN = H.typeLiteral("BuiltSet<@>"); - C.Type_SelectModeChoice_a75 = H.typeLiteral("SelectModeChoice"); - C.FullType_gg40 = new U.FullType(C.Type_SelectModeChoice_a75, C.List_empty5, false); - C.List_dEZ = H.setRuntimeTypeInfo(makeConstList([C.FullType_gg40]), type$.JSArray_legacy_FullType); - C.FullType_2aQ = new U.FullType(C.Type_BuiltSet_fcN, C.List_dEZ, false); - C.Type_num_cv7 = H.typeLiteral("num"); - C.FullType_2ru = new U.FullType(C.Type_num_cv7, C.List_empty5, false); - C.Type_Substrand_wOi = H.typeLiteral("Substrand"); - C.FullType_S4t = new U.FullType(C.Type_Substrand_wOi, C.List_empty5, false); - C.List_wsa = H.setRuntimeTypeInfo(makeConstList([C.FullType_S4t]), type$.JSArray_legacy_FullType); - C.FullType_3HJ = new U.FullType(C.Type_BuiltList_iTR, C.List_wsa, false); - C.Type_Action_omH = H.typeLiteral("Action"); - C.FullType_3lI = new U.FullType(C.Type_Action_omH, C.List_empty5, false); - C.Type_int_tHn = H.typeLiteral("int"); - C.FullType_kjq = new U.FullType(C.Type_int_tHn, C.List_empty5, false); - C.List_omH = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq]), type$.JSArray_legacy_FullType); - C.FullType_4QF0 = new U.FullType(C.Type_BuiltList_iTR, C.List_omH, false); - C.Type_BuiltMap_qd4 = H.typeLiteral("BuiltMap<@,@>"); - C.Type_String_k8F = H.typeLiteral("String"); - C.FullType_h8g = new U.FullType(C.Type_String_k8F, C.List_empty5, false); - C.List_CVN = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g]), type$.JSArray_legacy_FullType); - C.FullType_6m4 = new U.FullType(C.Type_BuiltList_iTR, C.List_CVN, false); - C.List_YaH = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_6m4]), type$.JSArray_legacy_FullType); - C.FullType_vFp = new U.FullType(C.Type_BuiltMap_qd4, C.List_YaH, false); - C.List_yhx = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_vFp]), type$.JSArray_legacy_FullType); - C.FullType_4QF = new U.FullType(C.Type_BuiltMap_qd4, C.List_yhx, false); - C.Type_BuiltListMultimap_2Mt = H.typeLiteral("BuiltListMultimap<@,@>"); - C.Type_Object_xQ6 = H.typeLiteral("Object"); - C.FullType_1MH = new U.FullType(C.Type_Object_xQ6, C.List_empty5, false); - C.List_a1A = H.setRuntimeTypeInfo(makeConstList([C.FullType_1MH, C.FullType_1MH]), type$.JSArray_legacy_FullType); - C.FullType_4Wf = new U.FullType(C.Type_BuiltListMultimap_2Mt, C.List_a1A, false); - C.List_yym = H.setRuntimeTypeInfo(makeConstList([C.FullType_1MH]), type$.JSArray_legacy_FullType); - C.FullType_4e8 = new U.FullType(C.Type_BuiltSet_fcN, C.List_yym, false); - C.Type_SelectModeState_qx4 = H.typeLiteral("SelectModeState"); - C.FullType_6ha = new U.FullType(C.Type_SelectModeState_qx4, C.List_empty5, false); - C.Type_DNAFileType_bQh = H.typeLiteral("DNAFileType"); - C.FullType_8L0 = new U.FullType(C.Type_DNAFileType_bQh, C.List_empty5, false); - C.List_OPt = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g, C.FullType_1MH]), type$.JSArray_legacy_FullType); - C.FullType_8aB = new U.FullType(C.Type_BuiltMap_qd4, C.List_OPt, false); - C.Type_Point_Yua = H.typeLiteral("Point"); - C.List_FCG = H.setRuntimeTypeInfo(makeConstList([C.FullType_2ru]), type$.JSArray_legacy_FullType); - C.FullType_8eb = new U.FullType(C.Type_Point_Yua, C.List_FCG, false); - C.Type_ContextMenuItem_c0h = H.typeLiteral("ContextMenuItem"); - C.FullType_gQA = new U.FullType(C.Type_ContextMenuItem_c0h, C.List_empty5, false); - C.List_qYY = H.setRuntimeTypeInfo(makeConstList([C.FullType_gQA]), type$.JSArray_legacy_FullType); - C.FullType_91n = new U.FullType(C.Type_BuiltList_iTR, C.List_qYY, false); - C.Type_ExportSvgType_QBc = H.typeLiteral("ExportSvgType"); - C.FullType_A0M = new U.FullType(C.Type_ExportSvgType_QBc, C.List_empty5, false); - C.Type_MouseoverParams_ArU = H.typeLiteral("MouseoverParams"); - C.FullType_YCE = new U.FullType(C.Type_MouseoverParams_ArU, C.List_empty5, false); - C.List_AJU = H.setRuntimeTypeInfo(makeConstList([C.FullType_YCE]), type$.JSArray_legacy_FullType); - C.FullType_AFm = new U.FullType(C.Type_BuiltList_iTR, C.List_AJU, false); - C.FullType_AgZ = new U.FullType(C.Type_BuiltList_iTR, C.List_dEZ, false); - C.Type_ExportSvg_Gt8 = H.typeLiteral("ExportSvg"); - C.FullType_AqW = new U.FullType(C.Type_ExportSvg_Gt8, C.List_empty5, false); - C.Type_ExampleDesigns_cWU = H.typeLiteral("ExampleDesigns"); - C.FullType_Auo = new U.FullType(C.Type_ExampleDesigns_cWU, C.List_empty5, false); - C.Type_Dialog_eAf = H.typeLiteral("Dialog"); - C.FullType_Azp = new U.FullType(C.Type_Dialog_eAf, C.List_empty5, false); - C.Type_Insertion_Gxl = H.typeLiteral("Insertion"); - C.FullType_EKW = new U.FullType(C.Type_Insertion_Gxl, C.List_empty5, false); - C.Type_Crossover_w3m = H.typeLiteral("Crossover"); - C.FullType_jPf = new U.FullType(C.Type_Crossover_w3m, C.List_empty5, false); - C.List_vry = H.setRuntimeTypeInfo(makeConstList([C.FullType_jPf]), type$.JSArray_legacy_FullType); - C.FullType_EOY = new U.FullType(C.Type_BuiltList_iTR, C.List_vry, false); - C.List_QcD = H.setRuntimeTypeInfo(makeConstList([C.FullType_8eb]), type$.JSArray_legacy_FullType); - C.FullType_EyI = new U.FullType(C.Type_BuiltList_iTR, C.List_QcD, false); - C.Type_MEg = H.typeLiteral("SelectableModificationInternal"); - C.FullType_MYu = new U.FullType(C.Type_MEg, C.List_empty5, false); - C.List_79j = H.setRuntimeTypeInfo(makeConstList([C.FullType_MYu]), type$.JSArray_legacy_FullType); - C.FullType_Gat = new U.FullType(C.Type_BuiltList_iTR, C.List_79j, false); - C.Type_SelectionRope_0Rd = H.typeLiteral("SelectionRope"); - C.FullType_H1G = new U.FullType(C.Type_SelectionRope_0Rd, C.List_empty5, false); - C.Type_Loopout_AQw = H.typeLiteral("Loopout"); - C.FullType_Ttf = new U.FullType(C.Type_Loopout_AQw, C.List_empty5, false); - C.List_gzi = H.setRuntimeTypeInfo(makeConstList([C.FullType_Ttf]), type$.JSArray_legacy_FullType); - C.FullType_H9I = new U.FullType(C.Type_BuiltList_iTR, C.List_gzi, false); - C.Type_Modification_WlM = H.typeLiteral("Modification"); - C.FullType_IvI = new U.FullType(C.Type_Modification_WlM, C.List_empty5, false); - C.Type_BasePairDisplayType_hjk = H.typeLiteral("BasePairDisplayType"); - C.FullType_K2v = new U.FullType(C.Type_BasePairDisplayType_hjk, C.List_empty5, false); - C.Type_DomainsMove_Js5 = H.typeLiteral("DomainsMove"); - C.FullType_KIf = new U.FullType(C.Type_DomainsMove_Js5, C.List_empty5, false); - C.Type_Address_WHr = H.typeLiteral("Address"); - C.FullType_KlG = new U.FullType(C.Type_Address_WHr, C.List_empty5, false); - C.Type_AddressDifference_p4P = H.typeLiteral("AddressDifference"); - C.FullType_KlG0 = new U.FullType(C.Type_AddressDifference_p4P, C.List_empty5, false); - C.Type_double_K1J = H.typeLiteral("double"); - C.FullType_MME = new U.FullType(C.Type_double_K1J, C.List_empty5, false); - C.FullType_MQk = new U.FullType(C.Type_BuiltSet_fcN, C.List_omH, false); - C.FullType_Mnt = new U.FullType(C.Type_BuiltSet_fcN, C.List_CVN, false); - C.Type_bool_lhE = H.typeLiteral("bool"); - C.FullType_MtR = new U.FullType(C.Type_bool_lhE, C.List_empty5, false); - C.Type_DialogType_Zuq = H.typeLiteral("DialogType"); - C.FullType_Npb = new U.FullType(C.Type_DialogType_Zuq, C.List_empty5, false); - C.Type_StrandCreation_A2Y = H.typeLiteral("StrandCreation"); - C.FullType_O92 = new U.FullType(C.Type_StrandCreation_A2Y, C.List_empty5, false); - C.Type_BuiltSetMultimap_9Fi = H.typeLiteral("BuiltSetMultimap<@,@>"); - C.FullType_Ofx = new U.FullType(C.Type_BuiltSetMultimap_9Fi, C.List_a1A, false); - C.Type_ExportDNAFormat_QK8 = H.typeLiteral("ExportDNAFormat"); - C.FullType_Otz = new U.FullType(C.Type_ExportDNAFormat_QK8, C.List_empty5, false); - C.Type_Modification3Prime_wsa = H.typeLiteral("Modification3Prime"); - C.FullType_Q1p0 = new U.FullType(C.Type_Modification3Prime_wsa, C.List_empty5, false); - C.Type_Modification5Prime_wsa = H.typeLiteral("Modification5Prime"); - C.FullType_Q1p = new U.FullType(C.Type_Modification5Prime_wsa, C.List_empty5, false); - C.Type_DNAEnd_s8p = H.typeLiteral("DNAEnd"); - C.FullType_QR4 = new U.FullType(C.Type_DNAEnd_s8p, C.List_empty5, false); - C.Type_Helix_cIf = H.typeLiteral("Helix"); - C.FullType_wEV = new U.FullType(C.Type_Helix_cIf, C.List_empty5, false); - C.List_Guj = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_wEV]), type$.JSArray_legacy_FullType); - C.FullType_Qc0 = new U.FullType(C.Type_BuiltMap_qd4, C.List_Guj, false); - C.Type_SelectableModification3Prime_sBE = H.typeLiteral("SelectableModification3Prime"); - C.FullType_chs = new U.FullType(C.Type_SelectableModification3Prime_sBE, C.List_empty5, false); - C.List_RHh = H.setRuntimeTypeInfo(makeConstList([C.FullType_chs]), type$.JSArray_legacy_FullType); - C.FullType_SGU = new U.FullType(C.Type_BuiltList_iTR, C.List_RHh, false); - C.Type_SelectableModification5Prime_sBE = H.typeLiteral("SelectableModification5Prime"); - C.FullType_chs0 = new U.FullType(C.Type_SelectableModification5Prime_sBE, C.List_empty5, false); - C.List_RHh0 = H.setRuntimeTypeInfo(makeConstList([C.FullType_chs0]), type$.JSArray_legacy_FullType); - C.FullType_SGU0 = new U.FullType(C.Type_BuiltList_iTR, C.List_RHh0, false); - C.Type_DNAEndMove_brX = H.typeLiteral("DNAEndMove"); - C.FullType_omH = new U.FullType(C.Type_DNAEndMove_brX, C.List_empty5, false); - C.List_HYo = H.setRuntimeTypeInfo(makeConstList([C.FullType_omH]), type$.JSArray_legacy_FullType); - C.FullType_TgZ = new U.FullType(C.Type_BuiltList_iTR, C.List_HYo, false); - C.Type_DialogItem_qpY = H.typeLiteral("DialogItem"); - C.FullType_LtR = new U.FullType(C.Type_DialogItem_qpY, C.List_empty5, false); - C.List_oGx = H.setRuntimeTypeInfo(makeConstList([C.FullType_LtR]), type$.JSArray_legacy_FullType); - C.FullType_UGn = new U.FullType(C.Type_BuiltList_iTR, C.List_oGx, false); - C.List_IoD = H.setRuntimeTypeInfo(makeConstList([C.FullType_4QF0]), type$.JSArray_legacy_FullType); - C.FullType_UWS = new U.FullType(C.Type_BuiltList_iTR, C.List_IoD, false); - C.Type_LocalStorageDesignChoice_wMy = H.typeLiteral("LocalStorageDesignChoice"); - C.FullType_UeR = new U.FullType(C.Type_LocalStorageDesignChoice_wMy, C.List_empty5, false); - C.Type_DNAExtensionsMove_0My = H.typeLiteral("DNAExtensionsMove"); - C.FullType_Ugm = new U.FullType(C.Type_DNAExtensionsMove_0My, C.List_empty5, false); - C.Type_VendorFields_9Ml = H.typeLiteral("VendorFields"); - C.FullType_Unx = new U.FullType(C.Type_VendorFields_9Ml, C.List_empty5, false); - C.Type_StrandsMove_Icb = H.typeLiteral("StrandsMove"); - C.FullType_VSS = new U.FullType(C.Type_StrandsMove_Icb, C.List_empty5, false); - C.Type_Design_GVQ = H.typeLiteral("Design"); - C.FullType_WnR = new U.FullType(C.Type_Design_GVQ, C.List_empty5, false); - C.FullType_Y8O = new U.FullType(C.Type_BuiltSet_fcN, C.List_AyI0, false); - C.Type_UndoableAction_2n3 = H.typeLiteral("UndoableAction"); - C.FullType_fny = new U.FullType(C.Type_UndoableAction_2n3, C.List_empty5, false); - C.List_EEn = H.setRuntimeTypeInfo(makeConstList([C.FullType_fny]), type$.JSArray_legacy_FullType); - C.FullType_YGD = new U.FullType(C.Type_BuiltList_iTR, C.List_EEn, false); - C.Type_ContextMenu_u5x = H.typeLiteral("ContextMenu"); - C.FullType_Z6u = new U.FullType(C.Type_ContextMenu_u5x, C.List_empty5, false); - C.Type_Position3D_kqK = H.typeLiteral("Position3D"); - C.FullType_cgM = new U.FullType(C.Type_Position3D_kqK, C.List_empty5, false); - C.Type_ModificationInternal_7vk = H.typeLiteral("ModificationInternal"); - C.FullType_eR6 = new U.FullType(C.Type_ModificationInternal_7vk, C.List_empty5, false); - C.List_qg40 = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_eR6]), type$.JSArray_legacy_FullType); - C.FullType_d1y = new U.FullType(C.Type_BuiltMap_qd4, C.List_qg40, false); - C.Type_Domain_ECn = H.typeLiteral("Domain"); - C.FullType_fnc = new U.FullType(C.Type_Domain_ECn, C.List_empty5, false); - C.List_8cK = H.setRuntimeTypeInfo(makeConstList([C.FullType_fnc]), type$.JSArray_legacy_FullType); - C.FullType_dli = new U.FullType(C.Type_BuiltList_iTR, C.List_8cK, false); - C.FullType_eLJ = new U.FullType(C.Type_BuiltList_iTR, C.List_yym, false); - C.Type_DNAAssignOptions_Ub0 = H.typeLiteral("DNAAssignOptions"); - C.FullType_eRS = new U.FullType(C.Type_DNAAssignOptions_Ub0, C.List_empty5, false); - C.Type_EditModeChoice_hod = H.typeLiteral("EditModeChoice"); - C.FullType_eX4 = new U.FullType(C.Type_EditModeChoice_hod, C.List_empty5, false); - C.Type_Extension_dwE = H.typeLiteral("Extension"); - C.FullType_gT2 = new U.FullType(C.Type_Extension_dwE, C.List_empty5, false); - C.List_kyy = H.setRuntimeTypeInfo(makeConstList([C.FullType_gT2]), type$.JSArray_legacy_FullType); - C.FullType_gg4 = new U.FullType(C.Type_BuiltList_iTR, C.List_kyy, false); - C.Type_DNAEndsMove_AKW = H.typeLiteral("DNAEndsMove"); - C.FullType_gg9 = new U.FullType(C.Type_DNAEndsMove_AKW, C.List_empty5, false); - C.Type_PotentialCrossover_RkP = H.typeLiteral("PotentialCrossover"); - C.FullType_gkc = new U.FullType(C.Type_PotentialCrossover_RkP, C.List_empty5, false); - C.List_izV = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_4QF0]), type$.JSArray_legacy_FullType); - C.FullType_i3t = new U.FullType(C.Type_BuiltMap_qd4, C.List_izV, false); - C.List_gkJ = H.setRuntimeTypeInfo(makeConstList([C.FullType_EKW]), type$.JSArray_legacy_FullType); - C.FullType_i7r = new U.FullType(C.Type_BuiltList_iTR, C.List_gkJ, false); - C.Type_DNAExtensionMove_iVD = H.typeLiteral("DNAExtensionMove"); - C.FullType_GRA = new U.FullType(C.Type_DNAExtensionMove_iVD, C.List_empty5, false); - C.List_TLI = H.setRuntimeTypeInfo(makeConstList([C.FullType_GRA]), type$.JSArray_legacy_FullType); - C.FullType_j5B = new U.FullType(C.Type_BuiltList_iTR, C.List_TLI, false); - C.Type_LocalStorageDesignOption_xgQ = H.typeLiteral("LocalStorageDesignOption"); - C.FullType_kOK = new U.FullType(C.Type_LocalStorageDesignOption_xgQ, C.List_empty5, false); - C.Type_StrandOrder_Jrj = H.typeLiteral("StrandOrder"); - C.FullType_kaS = new U.FullType(C.Type_StrandOrder_Jrj, C.List_empty5, false); - C.List_aLp = H.setRuntimeTypeInfo(makeConstList([C.FullType_eX4]), type$.JSArray_legacy_FullType); - C.FullType_kiE = new U.FullType(C.Type_BuiltSet_fcN, C.List_aLp, false); - C.Type_Selectable_4i6 = H.typeLiteral("Selectable"); - C.FullType_kn0 = new U.FullType(C.Type_Selectable_4i6, C.List_empty5, false); - C.Type_HelixGroup_tsp = H.typeLiteral("HelixGroup"); - C.FullType_yfz = new U.FullType(C.Type_HelixGroup_tsp, C.List_empty5, false); - C.List_IQI = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g, C.FullType_yfz]), type$.JSArray_legacy_FullType); - C.FullType_m48 = new U.FullType(C.Type_BuiltMap_qd4, C.List_IQI, false); - C.Type_SelectableTrait_SXj = H.typeLiteral("SelectableTrait"); - C.FullType_61T = new U.FullType(C.Type_SelectableTrait_SXj, C.List_empty5, false); - C.List_Eit = H.setRuntimeTypeInfo(makeConstList([C.FullType_61T]), type$.JSArray_legacy_FullType); - C.FullType_mPa = new U.FullType(C.Type_BuiltList_iTR, C.List_Eit, false); - C.Type_CopyInfo_aTW = H.typeLiteral("CopyInfo"); - C.FullType_miO = new U.FullType(C.Type_CopyInfo_aTW, C.List_empty5, false); - C.FullType_null_List_empty_false = new U.FullType(null, C.List_empty5, false); - C.Type_HelixGroupMove_sE6 = H.typeLiteral("HelixGroupMove"); - C.FullType_oKF = new U.FullType(C.Type_HelixGroupMove_sE6, C.List_empty5, false); - C.List_kS5 = H.setRuntimeTypeInfo(makeConstList([C.FullType_kn0]), type$.JSArray_legacy_FullType); - C.FullType_ox4 = new U.FullType(C.Type_BuiltList_iTR, C.List_kS5, false); - C.List_CyS = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_kjq]), type$.JSArray_legacy_FullType); - C.FullType_oyU = new U.FullType(C.Type_BuiltMap_qd4, C.List_CyS, false); - C.Type_GridPosition_IuH = H.typeLiteral("GridPosition"); - C.FullType_q96 = new U.FullType(C.Type_GridPosition_IuH, C.List_empty5, false); - C.Type_Geometry_CC0 = H.typeLiteral("Geometry"); - C.FullType_qNW = new U.FullType(C.Type_Geometry_CC0, C.List_empty5, false); - C.Type_Color_w6F = H.typeLiteral("Color"); - C.FullType_uHx = new U.FullType(C.Type_Color_w6F, C.List_empty5, false); - C.Type_SelectionBox_cdS = H.typeLiteral("SelectionBox"); - C.FullType_vfJ = new U.FullType(C.Type_SelectionBox_cdS, C.List_empty5, false); - C.List_MEl = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_w0x]), type$.JSArray_legacy_FullType); - C.FullType_vpC = new U.FullType(C.Type_BuiltMap_qd4, C.List_MEl, false); - C.Type_AppUIStateStorables_AS6 = H.typeLiteral("AppUIStateStorables"); - C.FullType_wEo = new U.FullType(C.Type_AppUIStateStorables_AS6, C.List_empty5, false); - C.FullType_wIv = new U.FullType(C.Type_BuiltMap_qd4, C.List_a1A, false); - C.Type_SelectablesStore_xd9 = H.typeLiteral("SelectablesStore"); - C.FullType_y5f = new U.FullType(C.Type_SelectablesStore_xd9, C.List_empty5, false); - C.Type_Linker_ypq = H.typeLiteral("Linker"); - C.FullType_yCn = new U.FullType(C.Type_Linker_ypq, C.List_empty5, false); - C.Type_MouseoverData_qTC = H.typeLiteral("MouseoverData"); - C.FullType_FKj = new U.FullType(C.Type_MouseoverData_qTC, C.List_empty5, false); - C.List_qrv = H.setRuntimeTypeInfo(makeConstList([C.FullType_FKj]), type$.JSArray_legacy_FullType); - C.FullType_yLX = new U.FullType(C.Type_BuiltList_iTR, C.List_qrv, false); - C.Type_Grid_zSh = H.typeLiteral("Grid"); - C.FullType_yXb = new U.FullType(C.Type_Grid_zSh, C.List_empty5, false); - C.FullType_zrt = new U.FullType(C.Type_BuiltSet_fcN, C.List_kS5, false); - C.Grid_hex = new S.Grid("hex"); - C.Grid_honeycomb = new S.Grid("honeycomb"); - C.Grid_none = new S.Grid("none"); - C.Grid_square = new S.Grid("square"); - C.HexGridCoordinateSystem_0 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.odd_r"); - C.HexGridCoordinateSystem_2 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.odd_q"); - C.HexGridCoordinateSystem_3 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.even_q"); - C.JsonDecoder_null = new P.JsonDecoder(null); - C.JsonEncoder_null_null = new P.JsonEncoder(null, null); - C.Latin1Decoder_false_255 = new P.Latin1Decoder(false, 255); - C.Latin1Encoder_255 = new P.Latin1Encoder(255); - C.Level_INFO_800 = new Y.Level("INFO", 800); - C.Level_SEVERE_1000 = new Y.Level("SEVERE", 1000); - C.ListEquality_DefaultEquality = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic); - C.Type_DomainsMoveCommit_IVQ = H.typeLiteral("DomainsMoveCommit"); - C.Type__$DomainsMoveCommit_46y = H.typeLiteral("_$DomainsMoveCommit"); - C.List_0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveCommit_IVQ, C.Type__$DomainsMoveCommit_46y]), type$.JSArray_legacy_Type); - C.Type_SelectAll_613 = H.typeLiteral("SelectAll"); - C.Type__$SelectAll_rJr = H.typeLiteral("_$SelectAll"); - C.List_00 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAll_613, C.Type__$SelectAll_rJr]), type$.JSArray_legacy_Type); - C.Type_InlineInsertionsDeletions_Pog = H.typeLiteral("InlineInsertionsDeletions"); - C.Type__$InlineInsertionsDeletions_oCX = H.typeLiteral("_$InlineInsertionsDeletions"); - C.List_07S = H.setRuntimeTypeInfo(makeConstList([C.Type_InlineInsertionsDeletions_Pog, C.Type__$InlineInsertionsDeletions_oCX]), type$.JSArray_legacy_Type); - C.Type_MouseoverDataClear_YSW = H.typeLiteral("MouseoverDataClear"); - C.Type__$MouseoverDataClear_nuW = H.typeLiteral("_$MouseoverDataClear"); - C.List_07o = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverDataClear_YSW, C.Type__$MouseoverDataClear_nuW]), type$.JSArray_legacy_Type); - C.Type_gDL = H.typeLiteral("ExtensionDisplayLengthAngleSet"); - C.Type_TPi = H.typeLiteral("_$ExtensionDisplayLengthAngleSet"); - C.List_0RG = H.setRuntimeTypeInfo(makeConstList([C.Type_gDL, C.Type_TPi]), type$.JSArray_legacy_Type); - C.Type_FGJ = H.typeLiteral("AssignDNAComplementFromBoundStrands"); - C.Type_PLc = H.typeLiteral("_$AssignDNAComplementFromBoundStrands"); - C.List_1YD = H.setRuntimeTypeInfo(makeConstList([C.Type_FGJ, C.Type_PLc]), type$.JSArray_legacy_Type); - C.Type_HelixGroupMoveCreate_8eb = H.typeLiteral("HelixGroupMoveCreate"); - C.Type__$HelixGroupMoveCreate_sJO = H.typeLiteral("_$HelixGroupMoveCreate"); - C.List_1nx = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveCreate_8eb, C.Type__$HelixGroupMoveCreate_sJO]), type$.JSArray_legacy_Type); - C.Type_AutoPasteInitiate_cEX = H.typeLiteral("AutoPasteInitiate"); - C.Type__$AutoPasteInitiate_alm = H.typeLiteral("_$AutoPasteInitiate"); - C.List_1yH = H.setRuntimeTypeInfo(makeConstList([C.Type_AutoPasteInitiate_cEX, C.Type__$AutoPasteInitiate_alm]), type$.JSArray_legacy_Type); - C.Type_ModificationsInternalEdit_M80 = H.typeLiteral("ModificationsInternalEdit"); - C.Type__$ModificationsInternalEdit_axI = H.typeLiteral("_$ModificationsInternalEdit"); - C.List_2BF = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationsInternalEdit_M80, C.Type__$ModificationsInternalEdit_axI]), type$.JSArray_legacy_Type); - C.List_2Bc = H.setRuntimeTypeInfo(makeConstList([8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8]), type$.JSArray_legacy_int); - C.List_2Vk = H.setRuntimeTypeInfo(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_legacy_int); - C.Type_U05 = H.typeLiteral("HelixMaxOffsetSetByDomainsAll"); - C.Type_RkP = H.typeLiteral("_$HelixMaxOffsetSetByDomainsAll"); - C.List_2Vu = H.setRuntimeTypeInfo(makeConstList([C.Type_U05, C.Type_RkP]), type$.JSArray_legacy_Type); - C.Type_Modifications5PrimeEdit_iag = H.typeLiteral("Modifications5PrimeEdit"); - C.Type__$Modifications5PrimeEdit_QGy = H.typeLiteral("_$Modifications5PrimeEdit"); - C.List_2Zi0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Modifications5PrimeEdit_iag, C.Type__$Modifications5PrimeEdit_QGy]), type$.JSArray_legacy_Type); - C.List_2Zi = H.setRuntimeTypeInfo(makeConstList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"]), type$.JSArray_legacy_String); - C.Type__$Loopout_5Rp = H.typeLiteral("_$Loopout"); - C.List_2ad = H.setRuntimeTypeInfo(makeConstList([C.Type_Loopout_AQw, C.Type__$Loopout_5Rp]), type$.JSArray_legacy_Type); - C.Type_ContextMenuHide_MQy = H.typeLiteral("ContextMenuHide"); - C.Type__$ContextMenuHide_4CA = H.typeLiteral("_$ContextMenuHide"); - C.List_2jN = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuHide_MQy, C.Type__$ContextMenuHide_4CA]), type$.JSArray_legacy_Type); - C.Type_oqh = H.typeLiteral("RetainStrandColorOnSelectionSet"); - C.Type_C9B = H.typeLiteral("_$RetainStrandColorOnSelectionSet"); - C.List_3Qm = H.setRuntimeTypeInfo(makeConstList([C.Type_oqh, C.Type_C9B]), type$.JSArray_legacy_Type); - C.Type_I6i = H.typeLiteral("DNAExtensionsMoveSetSelectedExtensionEnds"); - C.Type_OVZ = H.typeLiteral("_$DNAExtensionsMoveSetSelectedExtensionEnds"); - C.List_43h = H.setRuntimeTypeInfo(makeConstList([C.Type_I6i, C.Type_OVZ]), type$.JSArray_legacy_Type); - C.Type_zPV = H.typeLiteral("JoinStrandsByMultipleCrossovers"); - C.Type_qEO = H.typeLiteral("_$JoinStrandsByMultipleCrossovers"); - C.List_43h0 = H.setRuntimeTypeInfo(makeConstList([C.Type_zPV, C.Type_qEO]), type$.JSArray_legacy_Type); - C.Type_SelectableDeletion_eNF = H.typeLiteral("SelectableDeletion"); - C.Type__$SelectableDeletion_QHC = H.typeLiteral("_$SelectableDeletion"); - C.List_43h1 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableDeletion_eNF, C.Type__$SelectableDeletion_QHC]), type$.JSArray_legacy_Type); - C.Type_DialogRadio_oSr = H.typeLiteral("DialogRadio"); - C.Type__$DialogRadio_wy4 = H.typeLiteral("_$DialogRadio"); - C.List_4AN = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogRadio_oSr, C.Type__$DialogRadio_wy4]), type$.JSArray_legacy_Type); - C.Type_HelixRollSet_Sfm = H.typeLiteral("HelixRollSet"); - C.Type__$HelixRollSet_McD = H.typeLiteral("_$HelixRollSet"); - C.List_4QF = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRollSet_Sfm, C.Type__$HelixRollSet_McD]), type$.JSArray_legacy_Type); - C.Type_anB = H.typeLiteral("ShowBasePairLinesWithMismatchesSet"); - C.Type_4uu = H.typeLiteral("_$ShowBasePairLinesWithMismatchesSet"); - C.List_4QF0 = H.setRuntimeTypeInfo(makeConstList([C.Type_anB, C.Type_4uu]), type$.JSArray_legacy_Type); - C.List_4m4 = H.setRuntimeTypeInfo(makeConstList(["", "", "Whichever of 5' or 3' appears first is used", "The \"top-left-most\" (smallest helix/smallest offset) domain is used for sorting,\nregardless of whether it is 5', 3', or internal."]), type$.JSArray_legacy_String); - C.Type_StrandCreateAdjustOffset_MWH = H.typeLiteral("StrandCreateAdjustOffset"); - C.Type__$StrandCreateAdjustOffset_EsU = H.typeLiteral("_$StrandCreateAdjustOffset"); - C.List_5Bm = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateAdjustOffset_MWH, C.Type__$StrandCreateAdjustOffset_EsU]), type$.JSArray_legacy_Type); - C.Type_ShowMouseoverDataSet_IYl = H.typeLiteral("ShowMouseoverDataSet"); - C.Type__$ShowMouseoverDataSet_5YJ = H.typeLiteral("_$ShowMouseoverDataSet"); - C.List_5HG = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverDataSet_IYl, C.Type__$ShowMouseoverDataSet_5YJ]), type$.JSArray_legacy_Type); - C.Type_Autobreak_kOG = H.typeLiteral("Autobreak"); - C.Type__$Autobreak_4UN = H.typeLiteral("_$Autobreak"); - C.List_5Q6 = H.setRuntimeTypeInfo(makeConstList([C.Type_Autobreak_kOG, C.Type__$Autobreak_4UN]), type$.JSArray_legacy_Type); - C.Type_Nick_a4f = H.typeLiteral("Nick"); - C.Type__$Nick_KRx = H.typeLiteral("_$Nick"); - C.List_5sE = H.setRuntimeTypeInfo(makeConstList([C.Type_Nick_a4f, C.Type__$Nick_KRx]), type$.JSArray_legacy_Type); - C.Type_InsertionsLengthChange_iD3 = H.typeLiteral("InsertionsLengthChange"); - C.Type__$InsertionsLengthChange_rfj = H.typeLiteral("_$InsertionsLengthChange"); - C.List_5uk = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionsLengthChange_iD3, C.Type__$InsertionsLengthChange_rfj]), type$.JSArray_legacy_Type); - C.Type_StrandLabelSet_9Ea = H.typeLiteral("StrandLabelSet"); - C.Type__$StrandLabelSet_ww8 = H.typeLiteral("_$StrandLabelSet"); - C.List_69P = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandLabelSet_9Ea, C.Type__$StrandLabelSet_ww8]), type$.JSArray_legacy_Type); - C.List_69n = H.setRuntimeTypeInfo(makeConstList(['Format for IDT\'s "bulk input" webpage when specifying strands\nin individual test tubes.\n', "Excel file formatted for IDT's plate upload webpage for 96-well plates.\n", "Excel file formatted for IDT's plate upload webpage for 384-well plates.\n", "Simple CSV (comma-separated value) format. Not a format used by any biotech company."]), type$.JSArray_legacy_String); - C.Type_DNAEndsMoveSetSelectedEnds_dmU = H.typeLiteral("DNAEndsMoveSetSelectedEnds"); - C.Type__$DNAEndsMoveSetSelectedEnds_RsV = H.typeLiteral("_$DNAEndsMoveSetSelectedEnds"); - C.List_6Hc = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveSetSelectedEnds_dmU, C.Type__$DNAEndsMoveSetSelectedEnds_RsV]), type$.JSArray_legacy_Type); - C.Type__$DNAAssignOptions_oqK = H.typeLiteral("_$DNAAssignOptions"); - C.List_6hp = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAAssignOptions_Ub0, C.Type__$DNAAssignOptions_oqK]), type$.JSArray_legacy_Type); - C.Type__$DNAEnd_UWS = H.typeLiteral("_$DNAEnd"); - C.List_6iC = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEnd_s8p, C.Type__$DNAEnd_UWS]), type$.JSArray_legacy_Type); - C.Type_ShowHelixCirclesMainViewSet_MUU = H.typeLiteral("ShowHelixCirclesMainViewSet"); - C.Type_mtf = H.typeLiteral("_$ShowHelixCirclesMainViewSet"); - C.List_6iW = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowHelixCirclesMainViewSet_MUU, C.Type_mtf]), type$.JSArray_legacy_Type); - C.Type__$DNAEndsMove_MYz = H.typeLiteral("_$DNAEndsMove"); - C.List_6pZ = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMove_AKW, C.Type__$DNAEndsMove_MYz]), type$.JSArray_legacy_Type); - C.Type_MsJ = H.typeLiteral("SelectionBoxIntersectionRuleSet"); - C.Type_wca = H.typeLiteral("_$SelectionBoxIntersectionRuleSet"); - C.List_7Ah = H.setRuntimeTypeInfo(makeConstList([C.Type_MsJ, C.Type_wca]), type$.JSArray_legacy_Type); - C.Type_Ligate_A5k = H.typeLiteral("Ligate"); - C.Type__$Ligate_wDR = H.typeLiteral("_$Ligate"); - C.List_7BT = H.setRuntimeTypeInfo(makeConstList([C.Type_Ligate_A5k, C.Type__$Ligate_wDR]), type$.JSArray_legacy_Type); - C.Type_G9g = H.typeLiteral("ShowUnpairedInsertionDeletionsSet"); - C.Type_gsm = H.typeLiteral("_$ShowUnpairedInsertionDeletionsSet"); - C.List_7Re = H.setRuntimeTypeInfo(makeConstList([C.Type_G9g, C.Type_gsm]), type$.JSArray_legacy_Type); - C.Type_ShowBasePairLinesSet_SnW = H.typeLiteral("ShowBasePairLinesSet"); - C.Type__$ShowBasePairLinesSet_uzu = H.typeLiteral("_$ShowBasePairLinesSet"); - C.List_7YB = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowBasePairLinesSet_SnW, C.Type__$ShowBasePairLinesSet_uzu]), type$.JSArray_legacy_Type); - C.Type_InsertionLengthChange_eIg = H.typeLiteral("InsertionLengthChange"); - C.Type__$InsertionLengthChange_Ifo = H.typeLiteral("_$InsertionLengthChange"); - C.List_86y = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionLengthChange_eIg, C.Type__$InsertionLengthChange_Ifo]), type$.JSArray_legacy_Type); - C.List_8RB = H.setRuntimeTypeInfo(makeConstList(["fill", "stroke", "stroke-width", "stroke-linecap", "stroke-opacity", "visibility", "transform-box", "transform-origin"]), type$.JSArray_legacy_String); - C.Storable_design = new S.Storable("design"); - C.Storable_app_ui_state_storables = new S.Storable("app_ui_state_storables"); - C.List_948 = H.setRuntimeTypeInfo(makeConstList([C.Storable_design, C.Storable_app_ui_state_storables]), H.findType("JSArray")); - C.Type_HelixPositionSet_14u = H.typeLiteral("HelixPositionSet"); - C.Type__$HelixPositionSet_MSI = H.typeLiteral("_$HelixPositionSet"); - C.List_9Aw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixPositionSet_14u, C.Type__$HelixPositionSet_MSI]), type$.JSArray_legacy_Type); - C.Type_SelectAllSelectable_mnK = H.typeLiteral("SelectAllSelectable"); - C.Type__$SelectAllSelectable_uva = H.typeLiteral("_$SelectAllSelectable"); - C.List_9ED = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAllSelectable_mnK, C.Type__$SelectAllSelectable_uva]), type$.JSArray_legacy_Type); - C.Type__$Domain_QAb = H.typeLiteral("_$Domain"); - C.List_9YS = H.setRuntimeTypeInfo(makeConstList([C.Type_Domain_ECn, C.Type__$Domain_QAb]), type$.JSArray_legacy_Type); - C.Type_DNAEndsMoveCommit_Z6B = H.typeLiteral("DNAEndsMoveCommit"); - C.Type__$DNAEndsMoveCommit_2rX = H.typeLiteral("_$DNAEndsMoveCommit"); - C.List_9pj = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveCommit_Z6B, C.Type__$DNAEndsMoveCommit_2rX]), type$.JSArray_legacy_Type); - C.Type__$DNAEndMove_5Qm = H.typeLiteral("_$DNAEndMove"); - C.List_A2Y = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndMove_brX, C.Type__$DNAEndMove_5Qm]), type$.JSArray_legacy_Type); - C.Type_SelectionRopeAddPoint_4eX = H.typeLiteral("SelectionRopeAddPoint"); - C.Type__$SelectionRopeAddPoint_ajn = H.typeLiteral("_$SelectionRopeAddPoint"); - C.List_A2g = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeAddPoint_4eX, C.Type__$SelectionRopeAddPoint_ajn]), type$.JSArray_legacy_Type); - C.Type_SelectionsAdjustMainView_Qw3 = H.typeLiteral("SelectionsAdjustMainView"); - C.Type__$SelectionsAdjustMainView_vH3 = H.typeLiteral("_$SelectionsAdjustMainView"); - C.List_A9i = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionsAdjustMainView_Qw3, C.Type__$SelectionsAdjustMainView_vH3]), type$.JSArray_legacy_Type); - C.Type_MajorTickOffsetFontSizeSet_yhk = H.typeLiteral("MajorTickOffsetFontSizeSet"); - C.Type__$MajorTickOffsetFontSizeSet_OkG = H.typeLiteral("_$MajorTickOffsetFontSizeSet"); - C.List_AW6 = H.setRuntimeTypeInfo(makeConstList([C.Type_MajorTickOffsetFontSizeSet_yhk, C.Type__$MajorTickOffsetFontSizeSet_OkG]), type$.JSArray_legacy_Type); - C.Type_yL6 = H.typeLiteral("ScalePurificationVendorFieldsAssign"); - C.Type_1mI = H.typeLiteral("_$ScalePurificationVendorFieldsAssign"); - C.List_AeS = H.setRuntimeTypeInfo(makeConstList([C.Type_yL6, C.Type_1mI]), type$.JSArray_legacy_Type); - C.Type_44Q = H.typeLiteral("DisablePngCachingDnaSequencesSet"); - C.Type_wST = H.typeLiteral("_$DisablePngCachingDnaSequencesSet"); - C.List_AiQ = H.setRuntimeTypeInfo(makeConstList([C.Type_44Q, C.Type_wST]), type$.JSArray_legacy_Type); - C.Type_ShowDomainNamesSet_ke4 = H.typeLiteral("ShowDomainNamesSet"); - C.Type__$ShowDomainNamesSet_0 = H.typeLiteral("_$ShowDomainNamesSet"); - C.List_Au4 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainNamesSet_ke4, C.Type__$ShowDomainNamesSet_0]), type$.JSArray_legacy_Type); - C.Type_BatchAction_aJC = H.typeLiteral("BatchAction"); - C.Type__$BatchAction_jvJ = H.typeLiteral("_$BatchAction"); - C.List_AuK = H.setRuntimeTypeInfo(makeConstList([C.Type_BatchAction_aJC, C.Type__$BatchAction_jvJ]), type$.JSArray_legacy_Type); - C.Type_ShowAxisArrowsSet_g2D = H.typeLiteral("ShowAxisArrowsSet"); - C.Type__$ShowAxisArrowsSet_I4V = H.typeLiteral("_$ShowAxisArrowsSet"); - C.List_AuK0 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowAxisArrowsSet_g2D, C.Type__$ShowAxisArrowsSet_I4V]), type$.JSArray_legacy_Type); - C.Type_HelixRollSetAtOther_699 = H.typeLiteral("HelixRollSetAtOther"); - C.Type__$HelixRollSetAtOther_7FR = H.typeLiteral("_$HelixRollSetAtOther"); - C.List_AyI1 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRollSetAtOther_699, C.Type__$HelixRollSetAtOther_7FR]), type$.JSArray_legacy_Type); - C.List_AyI = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 16, 17, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29]), type$.JSArray_legacy_int); - C.List_B8J = H.setRuntimeTypeInfo(makeConstList([0, 1996959894, 3993919788, 2567524794, 124634137, 1886057615, 3915621685, 2657392035, 249268274, 2044508324, 3772115230, 2547177864, 162941995, 2125561021, 3887607047, 2428444049, 498536548, 1789927666, 4089016648, 2227061214, 450548861, 1843258603, 4107580753, 2211677639, 325883990, 1684777152, 4251122042, 2321926636, 335633487, 1661365465, 4195302755, 2366115317, 997073096, 1281953886, 3579855332, 2724688242, 1006888145, 1258607687, 3524101629, 2768942443, 901097722, 1119000684, 3686517206, 2898065728, 853044451, 1172266101, 3705015759, 2882616665, 651767980, 1373503546, 3369554304, 3218104598, 565507253, 1454621731, 3485111705, 3099436303, 671266974, 1594198024, 3322730930, 2970347812, 795835527, 1483230225, 3244367275, 3060149565, 1994146192, 31158534, 2563907772, 4023717930, 1907459465, 112637215, 2680153253, 3904427059, 2013776290, 251722036, 2517215374, 3775830040, 2137656763, 141376813, 2439277719, 3865271297, 1802195444, 476864866, 2238001368, 4066508878, 1812370925, 453092731, 2181625025, 4111451223, 1706088902, 314042704, 2344532202, 4240017532, 1658658271, 366619977, 2362670323, 4224994405, 1303535960, 984961486, 2747007092, 3569037538, 1256170817, 1037604311, 2765210733, 3554079995, 1131014506, 879679996, 2909243462, 3663771856, 1141124467, 855842277, 2852801631, 3708648649, 1342533948, 654459306, 3188396048, 3373015174, 1466479909, 544179635, 3110523913, 3462522015, 1591671054, 702138776, 2966460450, 3352799412, 1504918807, 783551873, 3082640443, 3233442989, 3988292384, 2596254646, 62317068, 1957810842, 3939845945, 2647816111, 81470997, 1943803523, 3814918930, 2489596804, 225274430, 2053790376, 3826175755, 2466906013, 167816743, 2097651377, 4027552580, 2265490386, 503444072, 1762050814, 4150417245, 2154129355, 426522225, 1852507879, 4275313526, 2312317920, 282753626, 1742555852, 4189708143, 2394877945, 397917763, 1622183637, 3604390888, 2714866558, 953729732, 1340076626, 3518719985, 2797360999, 1068828381, 1219638859, 3624741850, 2936675148, 906185462, 1090812512, 3747672003, 2825379669, 829329135, 1181335161, 3412177804, 3160834842, 628085408, 1382605366, 3423369109, 3138078467, 570562233, 1426400815, 3317316542, 2998733608, 733239954, 1555261956, 3268935591, 3050360625, 752459403, 1541320221, 2607071920, 3965973030, 1969922972, 40735498, 2617837225, 3943577151, 1913087877, 83908371, 2512341634, 3803740692, 2075208622, 213261112, 2463272603, 3855990285, 2094854071, 198958881, 2262029012, 4057260610, 1759359992, 534414190, 2176718541, 4139329115, 1873836001, 414664567, 2282248934, 4279200368, 1711684554, 285281116, 2405801727, 4167216745, 1634467795, 376229701, 2685067896, 3608007406, 1308918612, 956543938, 2808555105, 3495958263, 1231636301, 1047427035, 2932959818, 3654703836, 1088359270, 936918000, 2847714899, 3736837829, 1202900863, 817233897, 3183342108, 3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614, 3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117]), type$.JSArray_legacy_int); - C.Type_SelectAllWithSameAsSelected_EOY = H.typeLiteral("SelectAllWithSameAsSelected"); - C.Type_iZe = H.typeLiteral("_$SelectAllWithSameAsSelected"); - C.List_C43 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAllWithSameAsSelected_EOY, C.Type_iZe]), type$.JSArray_legacy_Type); - C.Type__$Strand_UaF = H.typeLiteral("_$Strand"); - C.List_CC0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Strand_CKH, C.Type__$Strand_UaF]), type$.JSArray_legacy_Type); - C.Type__$Insertion_8bg = H.typeLiteral("_$Insertion"); - C.List_CJJ = H.setRuntimeTypeInfo(makeConstList([C.Type_Insertion_Gxl, C.Type__$Insertion_8bg]), type$.JSArray_legacy_Type); - C.List_CVk = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); - C.Type_DNAEndsMoveAdjustOffset_Hi7 = H.typeLiteral("DNAEndsMoveAdjustOffset"); - C.Type__$DNAEndsMoveAdjustOffset_MUB = H.typeLiteral("_$DNAEndsMoveAdjustOffset"); - C.List_CZB = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveAdjustOffset_Hi7, C.Type__$DNAEndsMoveAdjustOffset_MUB]), type$.JSArray_legacy_Type); - C.Type_HelixIdxsChange_fld = H.typeLiteral("HelixIdxsChange"); - C.Type__$HelixIdxsChange_CHy = H.typeLiteral("_$HelixIdxsChange"); - C.List_CrS = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixIdxsChange_fld, C.Type__$HelixIdxsChange_CHy]), type$.JSArray_legacy_Type); - C.Type_Line_UGn = H.typeLiteral("Line"); - C.Type__$Line_xYO = H.typeLiteral("_$Line"); - C.List_Cu4 = H.setRuntimeTypeInfo(makeConstList([C.Type_Line_UGn, C.Type__$Line_xYO]), type$.JSArray_legacy_Type); - C.Type_DeleteAllSelected_vEy = H.typeLiteral("DeleteAllSelected"); - C.Type__$DeleteAllSelected_ah5 = H.typeLiteral("_$DeleteAllSelected"); - C.List_D7h = H.setRuntimeTypeInfo(makeConstList([C.Type_DeleteAllSelected_vEy, C.Type__$DeleteAllSelected_ah5]), type$.JSArray_legacy_Type); - C.Type_InvertYSet_23B = H.typeLiteral("InvertYSet"); - C.Type__$InvertYSet_4QF = H.typeLiteral("_$InvertYSet"); - C.List_Db0 = H.setRuntimeTypeInfo(makeConstList([C.Type_InvertYSet_23B, C.Type__$InvertYSet_4QF]), type$.JSArray_legacy_Type); - C.Type_MouseGridPositionSideClear_wu8 = H.typeLiteral("MouseGridPositionSideClear"); - C.Type__$MouseGridPositionSideClear_g3y = H.typeLiteral("_$MouseGridPositionSideClear"); - C.List_Dn0 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseGridPositionSideClear_wu8, C.Type__$MouseGridPositionSideClear_g3y]), type$.JSArray_legacy_Type); - C.List_E4S = H.setRuntimeTypeInfo(makeConstList([0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, 1889500026, 1952343757, 2552477408, 2632100695, 2443283854, 2506133561, 2334638140, 2414271883, 2191915858, 2254759653, 3190512472, 3135915759, 3081330742, 3009969537, 2905550212, 2850959411, 2762807018, 2691435357, 3560074640, 3505614887, 3719321342, 3648080713, 3342211916, 3287746299, 3467911202, 3396681109, 4063920168, 4143685023, 4223187782, 4286162673, 3779000052, 3858754371, 3904687514, 3967668269, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, 2896545431, 2825181984, 2770861561, 2716262478, 3215044683, 3143675388, 3055782693, 3001194130, 2326604591, 2389456536, 2200899649, 2280525302, 2578013683, 2640855108, 2418763421, 2498394922, 3769900519, 3832873040, 3912640137, 3992402750, 4088425275, 4151408268, 4197601365, 4277358050, 3334271071, 3263032808, 3476998961, 3422541446, 3585640067, 3514407732, 3694837229, 3640369242, 1762451694, 1842216281, 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, 4046411278, 4126034873, 4172115296, 4234965207, 3794477266, 3874110821, 3953728444, 4016571915, 3609705398, 3555108353, 3735388376, 3664026991, 3290680682, 3236090077, 3449943556, 3378572211, 3174993278, 3120533705, 3032266256, 2961025959, 2923101090, 2868635157, 2813903052, 2742672763, 2604032198, 2683796849, 2461293480, 2524268063, 2284983834, 2364738477, 2175806836, 2238787779, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, 613929101, 542559546, 756411363, 701822548, 3316196985, 3244833742, 3425377559, 3370778784, 3601682597, 3530312978, 3744426955, 3689838204, 3819031489, 3881883254, 3928223919, 4007849240, 4037393693, 4100235434, 4180117107, 4259748804, 2310601993, 2373574846, 2151335527, 2231098320, 2596047829, 2659030626, 2470359227, 2550115596, 2947551409, 2876312838, 2788305887, 2733848168, 3165939309, 3094707162, 3040238851, 2985771188]), type$.JSArray_legacy_int); - C.Type_Modifications3PrimeEdit_iag = H.typeLiteral("Modifications3PrimeEdit"); - C.Type__$Modifications3PrimeEdit_wrR = H.typeLiteral("_$Modifications3PrimeEdit"); - C.List_ECG = H.setRuntimeTypeInfo(makeConstList([C.Type_Modifications3PrimeEdit_iag, C.Type__$Modifications3PrimeEdit_wrR]), type$.JSArray_legacy_Type); - C.Type__$StrandsMove_knt = H.typeLiteral("_$StrandsMove"); - C.List_ECG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMove_Icb, C.Type__$StrandsMove_knt]), type$.JSArray_legacy_Type); - C.Type_HelixOffsetChange_QuS = H.typeLiteral("HelixOffsetChange"); - C.Type__$HelixOffsetChange_76O = H.typeLiteral("_$HelixOffsetChange"); - C.List_EIw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixOffsetChange_QuS, C.Type__$HelixOffsetChange_76O]), type$.JSArray_legacy_Type); - C.Type_ExportDNA_kfn = H.typeLiteral("ExportDNA"); - C.Type__$ExportDNA_wsa = H.typeLiteral("_$ExportDNA"); - C.List_EVy = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportDNA_kfn, C.Type__$ExportDNA_wsa]), type$.JSArray_legacy_Type); - C.Type_HelixRemove_Iq6 = H.typeLiteral("HelixRemove"); - C.Type__$HelixRemove_Yqr = H.typeLiteral("_$HelixRemove"); - C.List_Esr = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRemove_Iq6, C.Type__$HelixRemove_Yqr]), type$.JSArray_legacy_Type); - C.List_Ewu = H.setRuntimeTypeInfo(makeConstList([619, 720, 127, 481, 931, 816, 813, 233, 566, 247, 985, 724, 205, 454, 863, 491, 741, 242, 949, 214, 733, 859, 335, 708, 621, 574, 73, 654, 730, 472, 419, 436, 278, 496, 867, 210, 399, 680, 480, 51, 878, 465, 811, 169, 869, 675, 611, 697, 867, 561, 862, 687, 507, 283, 482, 129, 807, 591, 733, 623, 150, 238, 59, 379, 684, 877, 625, 169, 643, 105, 170, 607, 520, 932, 727, 476, 693, 425, 174, 647, 73, 122, 335, 530, 442, 853, 695, 249, 445, 515, 909, 545, 703, 919, 874, 474, 882, 500, 594, 612, 641, 801, 220, 162, 819, 984, 589, 513, 495, 799, 161, 604, 958, 533, 221, 400, 386, 867, 600, 782, 382, 596, 414, 171, 516, 375, 682, 485, 911, 276, 98, 553, 163, 354, 666, 933, 424, 341, 533, 870, 227, 730, 475, 186, 263, 647, 537, 686, 600, 224, 469, 68, 770, 919, 190, 373, 294, 822, 808, 206, 184, 943, 795, 384, 383, 461, 404, 758, 839, 887, 715, 67, 618, 276, 204, 918, 873, 777, 604, 560, 951, 160, 578, 722, 79, 804, 96, 409, 713, 940, 652, 934, 970, 447, 318, 353, 859, 672, 112, 785, 645, 863, 803, 350, 139, 93, 354, 99, 820, 908, 609, 772, 154, 274, 580, 184, 79, 626, 630, 742, 653, 282, 762, 623, 680, 81, 927, 626, 789, 125, 411, 521, 938, 300, 821, 78, 343, 175, 128, 250, 170, 774, 972, 275, 999, 639, 495, 78, 352, 126, 857, 956, 358, 619, 580, 124, 737, 594, 701, 612, 669, 112, 134, 694, 363, 992, 809, 743, 168, 974, 944, 375, 748, 52, 600, 747, 642, 182, 862, 81, 344, 805, 988, 739, 511, 655, 814, 334, 249, 515, 897, 955, 664, 981, 649, 113, 974, 459, 893, 228, 433, 837, 553, 268, 926, 240, 102, 654, 459, 51, 686, 754, 806, 760, 493, 403, 415, 394, 687, 700, 946, 670, 656, 610, 738, 392, 760, 799, 887, 653, 978, 321, 576, 617, 626, 502, 894, 679, 243, 440, 680, 879, 194, 572, 640, 724, 926, 56, 204, 700, 707, 151, 457, 449, 797, 195, 791, 558, 945, 679, 297, 59, 87, 824, 713, 663, 412, 693, 342, 606, 134, 108, 571, 364, 631, 212, 174, 643, 304, 329, 343, 97, 430, 751, 497, 314, 983, 374, 822, 928, 140, 206, 73, 263, 980, 736, 876, 478, 430, 305, 170, 514, 364, 692, 829, 82, 855, 953, 676, 246, 369, 970, 294, 750, 807, 827, 150, 790, 288, 923, 804, 378, 215, 828, 592, 281, 565, 555, 710, 82, 896, 831, 547, 261, 524, 462, 293, 465, 502, 56, 661, 821, 976, 991, 658, 869, 905, 758, 745, 193, 768, 550, 608, 933, 378, 286, 215, 979, 792, 961, 61, 688, 793, 644, 986, 403, 106, 366, 905, 644, 372, 567, 466, 434, 645, 210, 389, 550, 919, 135, 780, 773, 635, 389, 707, 100, 626, 958, 165, 504, 920, 176, 193, 713, 857, 265, 203, 50, 668, 108, 645, 990, 626, 197, 510, 357, 358, 850, 858, 364, 936, 638]), type$.JSArray_legacy_int); - C.Type__$Dialog_rJT = H.typeLiteral("_$Dialog"); - C.List_FCG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Dialog_eAf, C.Type__$Dialog_rJT]), type$.JSArray_legacy_Type); - C.Type_PotentialCrossoverMove_Ekc = H.typeLiteral("PotentialCrossoverMove"); - C.Type__$PotentialCrossoverMove_pkN = H.typeLiteral("_$PotentialCrossoverMove"); - C.List_FIw = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverMove_Ekc, C.Type__$PotentialCrossoverMove_pkN]), type$.JSArray_legacy_Type); - C.List_FYo = H.setRuntimeTypeInfo(makeConstList([C.ExportDNAFormat_idt_bulk, C.ExportDNAFormat_idt_plates96, C.ExportDNAFormat_idt_plates384, C.ExportDNAFormat_csv]), H.findType("JSArray")); - C.Type_Dba = H.typeLiteral("_$SelectableModification3Prime"); - C.List_Fy5 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableModification3Prime_sBE, C.Type_Dba]), type$.JSArray_legacy_Type); - C.Type_Dba0 = H.typeLiteral("_$SelectableModification5Prime"); - C.List_Fy50 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableModification5Prime_sBE, C.Type_Dba0]), type$.JSArray_legacy_Type); - C.Type_MoveHelicesToGroup_gjq = H.typeLiteral("MoveHelicesToGroup"); - C.Type__$MoveHelicesToGroup_EIc = H.typeLiteral("_$MoveHelicesToGroup"); - C.List_G31 = H.setRuntimeTypeInfo(makeConstList([C.Type_MoveHelicesToGroup_gjq, C.Type__$MoveHelicesToGroup_EIc]), type$.JSArray_legacy_Type); - C.Type_StrandsMoveAdjustAddress_fgL = H.typeLiteral("StrandsMoveAdjustAddress"); - C.Type__$StrandsMoveAdjustAddress_9FL = H.typeLiteral("_$StrandsMoveAdjustAddress"); - C.List_G7M = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveAdjustAddress_fgL, C.Type__$StrandsMoveAdjustAddress_9FL]), type$.JSArray_legacy_Type); - C.Type_QPD = H.typeLiteral("HelixMajorTickPeriodicDistancesChange"); - C.Type_kqK = H.typeLiteral("_$HelixMajorTickPeriodicDistancesChange"); - C.List_GQ1 = H.setRuntimeTypeInfo(makeConstList([C.Type_QPD, C.Type_kqK]), type$.JSArray_legacy_Type); - C.Type_MouseoverDataUpdate_UcM = H.typeLiteral("MouseoverDataUpdate"); - C.Type__$MouseoverDataUpdate_8hR = H.typeLiteral("_$MouseoverDataUpdate"); - C.List_GVa = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverDataUpdate_UcM, C.Type__$MouseoverDataUpdate_8hR]), type$.JSArray_legacy_Type); - C.Type_HelixMajorTicksChangeAll_ato = H.typeLiteral("HelixMajorTicksChangeAll"); - C.Type__$HelixMajorTicksChangeAll_Yf3 = H.typeLiteral("_$HelixMajorTicksChangeAll"); - C.List_GxI = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTicksChangeAll_ato, C.Type__$HelixMajorTicksChangeAll_Yf3]), type$.JSArray_legacy_Type); - C.Type_IAG = H.typeLiteral("SetOnlyDisplaySelectedHelices"); - C.Type_cop = H.typeLiteral("_$SetOnlyDisplaySelectedHelices"); - C.List_HFe = H.setRuntimeTypeInfo(makeConstList([C.Type_IAG, C.Type_cop]), type$.JSArray_legacy_Type); - C.Type_CopySelectedStrands_kWQ = H.typeLiteral("CopySelectedStrands"); - C.Type__$CopySelectedStrands_mFb = H.typeLiteral("_$CopySelectedStrands"); - C.List_HJj = H.setRuntimeTypeInfo(makeConstList([C.Type_CopySelectedStrands_kWQ, C.Type__$CopySelectedStrands_mFb]), type$.JSArray_legacy_Type); - C.Type_VuJ = H.typeLiteral("ModificationConnectorLengthSet"); - C.Type_Heh = H.typeLiteral("_$ModificationConnectorLengthSet"); - C.List_HVo = H.setRuntimeTypeInfo(makeConstList([C.Type_VuJ, C.Type_Heh]), type$.JSArray_legacy_Type); - C.Type_StrandCreateCommit_P7e = H.typeLiteral("StrandCreateCommit"); - C.Type__$StrandCreateCommit_k02 = H.typeLiteral("_$StrandCreateCommit"); - C.List_HYb = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateCommit_P7e, C.Type__$StrandCreateCommit_k02]), type$.JSArray_legacy_Type); - C.Type__$ContextMenu_ouN = H.typeLiteral("_$ContextMenu"); - C.List_IAF = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenu_u5x, C.Type__$ContextMenu_ouN]), type$.JSArray_legacy_Type); - C.Type_LoopoutLengthChange_Khy = H.typeLiteral("LoopoutLengthChange"); - C.Type__$LoopoutLengthChange_zkE = H.typeLiteral("_$LoopoutLengthChange"); - C.List_IFE = H.setRuntimeTypeInfo(makeConstList([C.Type_LoopoutLengthChange_Khy, C.Type__$LoopoutLengthChange_zkE]), type$.JSArray_legacy_Type); - C.Type_ExportCadnanoFile_yzl = H.typeLiteral("ExportCadnanoFile"); - C.Type__$ExportCadnanoFile_h8q = H.typeLiteral("_$ExportCadnanoFile"); - C.List_IGS = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportCadnanoFile_yzl, C.Type__$ExportCadnanoFile_h8q]), type$.JSArray_legacy_Type); - C.Type_j7j = H.typeLiteral("CopySelectedStandsToClipboardImage"); - C.Type_6TW = H.typeLiteral("_$CopySelectedStandsToClipboardImage"); - C.List_IIj = H.setRuntimeTypeInfo(makeConstList([C.Type_j7j, C.Type_6TW]), type$.JSArray_legacy_Type); - C.Type_SetIsZoomAboveThreshold_2bx = H.typeLiteral("SetIsZoomAboveThreshold"); - C.Type__$SetIsZoomAboveThreshold_2jN = H.typeLiteral("_$SetIsZoomAboveThreshold"); - C.List_IO4 = H.setRuntimeTypeInfo(makeConstList([C.Type_SetIsZoomAboveThreshold_2bx, C.Type__$SetIsZoomAboveThreshold_2jN]), type$.JSArray_legacy_Type); - C.Type_RelaxHelixRolls_7dz = H.typeLiteral("RelaxHelixRolls"); - C.Type__$RelaxHelixRolls_omH = H.typeLiteral("_$RelaxHelixRolls"); - C.List_IYw = H.setRuntimeTypeInfo(makeConstList([C.Type_RelaxHelixRolls_7dz, C.Type__$RelaxHelixRolls_omH]), type$.JSArray_legacy_Type); - C.Type_StrandCreateStart_23B = H.typeLiteral("StrandCreateStart"); - C.Type__$StrandCreateStart_yXb = H.typeLiteral("_$StrandCreateStart"); - C.List_IbS = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateStart_23B, C.Type__$StrandCreateStart_yXb]), type$.JSArray_legacy_Type); - C.Type_Redo_Ual = H.typeLiteral("Redo"); - C.Type__$Redo_y1j = H.typeLiteral("_$Redo"); - C.List_Isn = H.setRuntimeTypeInfo(makeConstList([C.Type_Redo_Ual, C.Type__$Redo_y1j]), type$.JSArray_legacy_Type); - C.List_JYB = H.setRuntimeTypeInfo(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_legacy_int); - C.Type__$Geometry_YZL = H.typeLiteral("_$Geometry"); - C.List_JYK = H.setRuntimeTypeInfo(makeConstList([C.Type_Geometry_CC0, C.Type__$Geometry_YZL]), type$.JSArray_legacy_Type); - C.Type_46y = H.typeLiteral("ShowGridCoordinatesSideViewSet"); - C.Type_fXI = H.typeLiteral("_$ShowGridCoordinatesSideViewSet"); - C.List_Jik = H.setRuntimeTypeInfo(makeConstList([C.Type_46y, C.Type_fXI]), type$.JSArray_legacy_Type); - C.Type_ContextMenuShow_MQy = H.typeLiteral("ContextMenuShow"); - C.Type__$ContextMenuShow_Crw = H.typeLiteral("_$ContextMenuShow"); - C.List_KdY = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuShow_MQy, C.Type__$ContextMenuShow_Crw]), type$.JSArray_legacy_Type); - C.Type_ConvertCrossoverToLoopout_mC8 = H.typeLiteral("ConvertCrossoverToLoopout"); - C.Type__$ConvertCrossoverToLoopout_Y3F = H.typeLiteral("_$ConvertCrossoverToLoopout"); - C.List_KeE = H.setRuntimeTypeInfo(makeConstList([C.Type_ConvertCrossoverToLoopout_mC8, C.Type__$ConvertCrossoverToLoopout_Y3F]), type$.JSArray_legacy_Type); - C.List_KxA = H.setRuntimeTypeInfo(makeConstList([C.BasePairDisplayType_none, C.BasePairDisplayType_lines, C.BasePairDisplayType_rectangle]), H.findType("JSArray")); - C.Type_MousePositionSideUpdate_gml = H.typeLiteral("MousePositionSideUpdate"); - C.Type__$MousePositionSideUpdate_Qgv = H.typeLiteral("_$MousePositionSideUpdate"); - C.List_L2O = H.setRuntimeTypeInfo(makeConstList([C.Type_MousePositionSideUpdate_gml, C.Type__$MousePositionSideUpdate_Qgv]), type$.JSArray_legacy_Type); - C.Type_ShowEditMenuToggle_GZS = H.typeLiteral("ShowEditMenuToggle"); - C.Type__$ShowEditMenuToggle_epE = H.typeLiteral("_$ShowEditMenuToggle"); - C.List_LJp = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowEditMenuToggle_GZS, C.Type__$ShowEditMenuToggle_epE]), type$.JSArray_legacy_Type); - C.Type_PotentialVerticalCrossover_ifn = H.typeLiteral("PotentialVerticalCrossover"); - C.Type__$PotentialVerticalCrossover_q0I = H.typeLiteral("_$PotentialVerticalCrossover"); - C.List_LQu = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialVerticalCrossover_ifn, C.Type__$PotentialVerticalCrossover_q0I]), type$.JSArray_legacy_Type); - C.Type__$CopyInfo_ruJ = H.typeLiteral("_$CopyInfo"); - C.List_LU9 = H.setRuntimeTypeInfo(makeConstList([C.Type_CopyInfo_aTW, C.Type__$CopyInfo_ruJ]), type$.JSArray_legacy_Type); - C.Type__$StrandCreation_cGl = H.typeLiteral("_$StrandCreation"); - C.List_Ltx = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreation_A2Y, C.Type__$StrandCreation_cGl]), type$.JSArray_legacy_Type); - C.Type_DomainLabelFontSizeSet_fsZ = H.typeLiteral("DomainLabelFontSizeSet"); - C.Type__$DomainLabelFontSizeSet_q0y = H.typeLiteral("_$DomainLabelFontSizeSet"); - C.List_M8C = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainLabelFontSizeSet_fsZ, C.Type__$DomainLabelFontSizeSet_q0y]), type$.JSArray_legacy_Type); - C.Type_MousePositionSideClear_ebu = H.typeLiteral("MousePositionSideClear"); - C.Type__$MousePositionSideClear_c0h = H.typeLiteral("_$MousePositionSideClear"); - C.List_MCX = H.setRuntimeTypeInfo(makeConstList([C.Type_MousePositionSideClear_ebu, C.Type__$MousePositionSideClear_c0h]), type$.JSArray_legacy_Type); - C.Type_Qat = H.typeLiteral("StrandOrSubstrandColorPickerHide"); - C.Type_lq4 = H.typeLiteral("_$StrandOrSubstrandColorPickerHide"); - C.List_MCv = H.setRuntimeTypeInfo(makeConstList([C.Type_Qat, C.Type_lq4]), type$.JSArray_legacy_Type); - C.Type_LoadDNAFile_tXF = H.typeLiteral("LoadDNAFile"); - C.Type__$LoadDNAFile_oSC = H.typeLiteral("_$LoadDNAFile"); - C.List_MIe = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadDNAFile_tXF, C.Type__$LoadDNAFile_oSC]), type$.JSArray_legacy_Type); - C.Type_HelixSelect_kUZ = H.typeLiteral("HelixSelect"); - C.Type__$HelixSelect_eBn = H.typeLiteral("_$HelixSelect"); - C.List_MQk = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelect_kUZ, C.Type__$HelixSelect_eBn]), type$.JSArray_legacy_Type); - C.Type_HelixGridPositionSet_uMl = H.typeLiteral("HelixGridPositionSet"); - C.Type__$HelixGridPositionSet_7L0 = H.typeLiteral("_$HelixGridPositionSet"); - C.List_MUw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGridPositionSet_uMl, C.Type__$HelixGridPositionSet_7L0]), type$.JSArray_legacy_Type); - C.Type_GroupRemove_fTF = H.typeLiteral("GroupRemove"); - C.Type__$GroupRemove_WwU = H.typeLiteral("_$GroupRemove"); - C.List_Mbm = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupRemove_fTF, C.Type__$GroupRemove_WwU]), type$.JSArray_legacy_Type); - C.Type_TUj = H.typeLiteral("DNAExtensionsMoveAdjustPosition"); - C.Type_Tvq = H.typeLiteral("_$DNAExtensionsMoveAdjustPosition"); - C.List_Mhf = H.setRuntimeTypeInfo(makeConstList([C.Type_TUj, C.Type_Tvq]), type$.JSArray_legacy_Type); - C.Type__$PotentialCrossover_66S = H.typeLiteral("_$PotentialCrossover"); - C.List_Mli = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossover_RkP, C.Type__$PotentialCrossover_66S]), type$.JSArray_legacy_Type); - C.List_MmH = H.setRuntimeTypeInfo(makeConstList([1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648]), type$.JSArray_legacy_int); - C.Type_OxviewExport_oWu = H.typeLiteral("OxviewExport"); - C.Type__$OxviewExport_2jN = H.typeLiteral("_$OxviewExport"); - C.List_N9s = H.setRuntimeTypeInfo(makeConstList([C.Type_OxviewExport_oWu, C.Type__$OxviewExport_2jN]), type$.JSArray_legacy_Type); - C.Type__$DNAExtensionMove_kaS = H.typeLiteral("_$DNAExtensionMove"); - C.List_NDM = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionMove_iVD, C.Type__$DNAExtensionMove_kaS]), type$.JSArray_legacy_Type); - C.Type_DialogShow_oSb = H.typeLiteral("DialogShow"); - C.Type__$DialogShow_yVV = H.typeLiteral("_$DialogShow"); - C.List_NO4 = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogShow_oSb, C.Type__$DialogShow_yVV]), type$.JSArray_legacy_Type); - C.List_NUU = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28]), type$.JSArray_legacy_int); - C.Type_StrandPasteKeepColorSet_8FR = H.typeLiteral("StrandPasteKeepColorSet"); - C.Type__$StrandPasteKeepColorSet_86y = H.typeLiteral("_$StrandPasteKeepColorSet"); - C.List_NYu = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandPasteKeepColorSet_8FR, C.Type__$StrandPasteKeepColorSet_86y]), type$.JSArray_legacy_Type); - C.Type__$Position3D_8o7 = H.typeLiteral("_$Position3D"); - C.List_Ns6 = H.setRuntimeTypeInfo(makeConstList([C.Type_Position3D_kqK, C.Type__$Position3D_8o7]), type$.JSArray_legacy_Type); - C.Type_ShowStrandLabelsSet_WPt = H.typeLiteral("ShowStrandLabelsSet"); - C.Type__$ShowStrandLabelsSet_H37 = H.typeLiteral("_$ShowStrandLabelsSet"); - C.List_Nw8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowStrandLabelsSet_WPt, C.Type__$ShowStrandLabelsSet_H37]), type$.JSArray_legacy_Type); - C.Type_axY = H.typeLiteral("HelixMajorTickDistanceChangeAll"); - C.Type_CyI = H.typeLiteral("_$HelixMajorTickDistanceChangeAll"); - C.List_Nws = H.setRuntimeTypeInfo(makeConstList([C.Type_axY, C.Type_CyI]), type$.JSArray_legacy_Type); - C.Type_UndoRedoClear_wsa = H.typeLiteral("UndoRedoClear"); - C.Type__$UndoRedoClear_D1h = H.typeLiteral("_$UndoRedoClear"); - C.List_O5Z = H.setRuntimeTypeInfo(makeConstList([C.Type_UndoRedoClear_wsa, C.Type__$UndoRedoClear_D1h]), type$.JSArray_legacy_Type); - C.Type_DialogCheckbox_Uj8 = H.typeLiteral("DialogCheckbox"); - C.Type__$DialogCheckbox_ASw = H.typeLiteral("_$DialogCheckbox"); - C.List_OPy = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogCheckbox_Uj8, C.Type__$DialogCheckbox_ASw]), type$.JSArray_legacy_Type); - C.Type_DNAExtensionsMoveCommit_gkc = H.typeLiteral("DNAExtensionsMoveCommit"); - C.Type__$DNAExtensionsMoveCommit_R4i = H.typeLiteral("_$DNAExtensionsMoveCommit"); - C.List_OPz = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveCommit_gkc, C.Type__$DNAExtensionsMoveCommit_R4i]), type$.JSArray_legacy_Type); - C.Type_SubstrandNameSet_6Vr = H.typeLiteral("SubstrandNameSet"); - C.Type__$SubstrandNameSet_xw8 = H.typeLiteral("_$SubstrandNameSet"); - C.List_Ol2 = H.setRuntimeTypeInfo(makeConstList([C.Type_SubstrandNameSet_6Vr, C.Type__$SubstrandNameSet_xw8]), type$.JSArray_legacy_Type); - C.Type_DialogText_gkJ = H.typeLiteral("DialogText"); - C.Type__$DialogText_yPV = H.typeLiteral("_$DialogText"); - C.List_Opk = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogText_gkJ, C.Type__$DialogText_yPV]), type$.JSArray_legacy_Type); - C.Type__$LocalStorageDesignChoice_cOY = H.typeLiteral("_$LocalStorageDesignChoice"); - C.List_OzL = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignChoice_wMy, C.Type__$LocalStorageDesignChoice_cOY]), type$.JSArray_legacy_Type); - C.Type_ShowMismatchesSet_2ix = H.typeLiteral("ShowMismatchesSet"); - C.Type__$ShowMismatchesSet_9IG = H.typeLiteral("_$ShowMismatchesSet"); - C.List_P2J = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMismatchesSet_2ix, C.Type__$ShowMismatchesSet_9IG]), type$.JSArray_legacy_Type); - C.Type_HelixOffsetChangeAll_wsa = H.typeLiteral("HelixOffsetChangeAll"); - C.Type__$HelixOffsetChangeAll_B8J = H.typeLiteral("_$HelixOffsetChangeAll"); - C.List_P50 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixOffsetChangeAll_wsa, C.Type__$HelixOffsetChangeAll_B8J]), type$.JSArray_legacy_Type); - C.Type_HelixGroupMoveStop_ACp = H.typeLiteral("HelixGroupMoveStop"); - C.Type__$HelixGroupMoveStop_kyU = H.typeLiteral("_$HelixGroupMoveStop"); - C.List_PcW = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveStop_ACp, C.Type__$HelixGroupMoveStop_kyU]), type$.JSArray_legacy_Type); - C.SelectableTrait_strand_name = new E.SelectableTrait("strand_name"); - C.SelectableTrait_strand_label = new E.SelectableTrait("strand_label"); - C.SelectableTrait_color = new E.SelectableTrait("color"); - C.SelectableTrait_modification_5p = new E.SelectableTrait("modification_5p"); - C.SelectableTrait_modification_3p = new E.SelectableTrait("modification_3p"); - C.SelectableTrait_modification_int = new E.SelectableTrait("modification_int"); - C.SelectableTrait_dna_sequence = new E.SelectableTrait("dna_sequence"); - C.SelectableTrait_vendor_fields = new E.SelectableTrait("vendor_fields"); - C.SelectableTrait_circular = new E.SelectableTrait("circular"); - C.SelectableTrait_helices = new E.SelectableTrait("helices"); - C.List_Q8F = H.setRuntimeTypeInfo(makeConstList([C.SelectableTrait_strand_name, C.SelectableTrait_strand_label, C.SelectableTrait_color, C.SelectableTrait_modification_5p, C.SelectableTrait_modification_3p, C.SelectableTrait_modification_int, C.SelectableTrait_dna_sequence, C.SelectableTrait_vendor_fields, C.SelectableTrait_circular, C.SelectableTrait_helices]), type$.JSArray_legacy_SelectableTrait); - C.Type_HelixMinOffsetSetByDomains_MIw = H.typeLiteral("HelixMinOffsetSetByDomains"); - C.Type__$HelixMinOffsetSetByDomains_MDT = H.typeLiteral("_$HelixMinOffsetSetByDomains"); - C.List_QG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMinOffsetSetByDomains_MIw, C.Type__$HelixMinOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); - C.Type_guV = H.typeLiteral("HelixMajorTickPeriodicDistancesChangeAll"); - C.Type_zPV0 = H.typeLiteral("_$HelixMajorTickPeriodicDistancesChangeAll"); - C.List_QVp = H.setRuntimeTypeInfo(makeConstList([C.Type_guV, C.Type_zPV0]), type$.JSArray_legacy_Type); - C.Type__$Modification3Prime_EyN = H.typeLiteral("_$Modification3Prime"); - C.List_Qkz = H.setRuntimeTypeInfo(makeConstList([C.Type_Modification3Prime_wsa, C.Type__$Modification3Prime_EyN]), type$.JSArray_legacy_Type); - C.Type__$Modification5Prime_EyN = H.typeLiteral("_$Modification5Prime"); - C.List_Qkz0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Modification5Prime_wsa, C.Type__$Modification5Prime_EyN]), type$.JSArray_legacy_Type); - C.Type__$MouseoverData_g78 = H.typeLiteral("_$MouseoverData"); - C.List_Qw7 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverData_qTC, C.Type__$MouseoverData_g78]), type$.JSArray_legacy_Type); - C.Type_NewDesignSet_yT7 = H.typeLiteral("NewDesignSet"); - C.Type__$NewDesignSet_6L0 = H.typeLiteral("_$NewDesignSet"); - C.List_RyU = H.setRuntimeTypeInfo(makeConstList([C.Type_NewDesignSet_yT7, C.Type__$NewDesignSet_6L0]), type$.JSArray_legacy_Type); - C.Type_ConvertCrossoversToLoopouts_qFy = H.typeLiteral("ConvertCrossoversToLoopouts"); - C.Type_Sg2 = H.typeLiteral("_$ConvertCrossoversToLoopouts"); - C.List_SLS = H.setRuntimeTypeInfo(makeConstList([C.Type_ConvertCrossoversToLoopouts_qFy, C.Type_Sg2]), type$.JSArray_legacy_Type); - C.Type_WarnOnExitIfUnsavedSet_LFH = H.typeLiteral("WarnOnExitIfUnsavedSet"); - C.Type__$WarnOnExitIfUnsavedSet_v9O = H.typeLiteral("_$WarnOnExitIfUnsavedSet"); - C.List_SQp = H.setRuntimeTypeInfo(makeConstList([C.Type_WarnOnExitIfUnsavedSet_LFH, C.Type__$WarnOnExitIfUnsavedSet_v9O]), type$.JSArray_legacy_Type); - C.Type_ahs = H.typeLiteral("HelixMaxOffsetSetByDomainsAllSameMax"); - C.Type_2fh = H.typeLiteral("_$HelixMaxOffsetSetByDomainsAllSameMax"); - C.List_SRR = H.setRuntimeTypeInfo(makeConstList([C.Type_ahs, C.Type_2fh]), type$.JSArray_legacy_Type); - C.Type_DNAExtensionsMoveStart_sC8 = H.typeLiteral("DNAExtensionsMoveStart"); - C.Type__$DNAExtensionsMoveStart_UkW = H.typeLiteral("_$DNAExtensionsMoveStart"); - C.List_SbI = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveStart_sC8, C.Type__$DNAExtensionsMoveStart_UkW]), type$.JSArray_legacy_Type); - C.Type_DisplayMajorTicksOffsetsSet_kqK = H.typeLiteral("DisplayMajorTicksOffsetsSet"); - C.Type_Yhr = H.typeLiteral("_$DisplayMajorTicksOffsetsSet"); - C.List_TfG = H.setRuntimeTypeInfo(makeConstList([C.Type_DisplayMajorTicksOffsetsSet_kqK, C.Type_Yhr]), type$.JSArray_legacy_Type); - C.Type_HelixSelectionsClear_Ka6 = H.typeLiteral("HelixSelectionsClear"); - C.Type__$HelixSelectionsClear_g4I = H.typeLiteral("_$HelixSelectionsClear"); - C.List_TfU = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelectionsClear_Ka6, C.Type__$HelixSelectionsClear_g4I]), type$.JSArray_legacy_Type); - C.List_Type_BasePairDisplayType_hjk = H.setRuntimeTypeInfo(makeConstList([C.Type_BasePairDisplayType_hjk]), type$.JSArray_legacy_Type); - C.List_Type_DNAFileType_bQh = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAFileType_bQh]), type$.JSArray_legacy_Type); - C.Type_DNASequencePredefined_1Sb = H.typeLiteral("DNASequencePredefined"); - C.List_Type_DNASequencePredefined_1Sb = H.setRuntimeTypeInfo(makeConstList([C.Type_DNASequencePredefined_1Sb]), type$.JSArray_legacy_Type); - C.List_Type_DialogType_Zuq = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogType_Zuq]), type$.JSArray_legacy_Type); - C.List_Type_EditModeChoice_hod = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModeChoice_hod]), type$.JSArray_legacy_Type); - C.List_Type_ExportDNAFormat_QK8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportDNAFormat_QK8]), type$.JSArray_legacy_Type); - C.List_Type_Grid_zSh = H.setRuntimeTypeInfo(makeConstList([C.Type_Grid_zSh]), type$.JSArray_legacy_Type); - C.List_Type_LocalStorageDesignOption_xgQ = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignOption_xgQ]), type$.JSArray_legacy_Type); - C.Type_ModificationType_EWG = H.typeLiteral("ModificationType"); - C.List_Type_ModificationType_EWG = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationType_EWG]), type$.JSArray_legacy_Type); - C.List_Type_SelectModeChoice_a75 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeChoice_a75]), type$.JSArray_legacy_Type); - C.List_Type_SelectableTrait_SXj = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableTrait_SXj]), type$.JSArray_legacy_Type); - C.List_Type_StrandOrder_Jrj = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandOrder_Jrj]), type$.JSArray_legacy_Type); - C.List_Tzo = H.setRuntimeTypeInfo(makeConstList([C.DNASequencePredefined_M13p7249, C.DNASequencePredefined_M13p7560, C.DNASequencePredefined_M13p8064, C.DNASequencePredefined_M13p8634]), H.findType("JSArray")); - C.Type_sKC = H.typeLiteral("ClearHelixSelectionWhenLoadingNewDesignSet"); - C.Type_0 = H.typeLiteral("_$ClearHelixSelectionWhenLoadingNewDesignSet"); - C.List_U05 = H.setRuntimeTypeInfo(makeConstList([C.Type_sKC, C.Type_0]), type$.JSArray_legacy_Type); - C.Type_5eO = H.typeLiteral("DisplayReverseDNARightSideUpSet"); - C.Type_kUw = H.typeLiteral("_$DisplayReverseDNARightSideUpSet"); - C.List_U050 = H.setRuntimeTypeInfo(makeConstList([C.Type_5eO, C.Type_kUw]), type$.JSArray_legacy_Type); - C.Type_SetDisplayMajorTickWidths_wIv = H.typeLiteral("SetDisplayMajorTickWidths"); - C.Type__$SetDisplayMajorTickWidths_Bzt = H.typeLiteral("_$SetDisplayMajorTickWidths"); - C.List_U7q = H.setRuntimeTypeInfo(makeConstList([C.Type_SetDisplayMajorTickWidths_wIv, C.Type__$SetDisplayMajorTickWidths_Bzt]), type$.JSArray_legacy_Type); - C.Type__$SelectablesStore_mdj = H.typeLiteral("_$SelectablesStore"); - C.List_U8I = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectablesStore_xd9, C.Type__$SelectablesStore_mdj]), type$.JSArray_legacy_Type); - C.Type_RemoveDNA_izW = H.typeLiteral("RemoveDNA"); - C.Type__$RemoveDNA_uuM = H.typeLiteral("_$RemoveDNA"); - C.List_URr = H.setRuntimeTypeInfo(makeConstList([C.Type_RemoveDNA_izW, C.Type__$RemoveDNA_uuM]), type$.JSArray_legacy_Type); - C.Type_SliceBarOffsetSet_kyu = H.typeLiteral("SliceBarOffsetSet"); - C.Type__$SliceBarOffsetSet_uIL = H.typeLiteral("_$SliceBarOffsetSet"); - C.List_UgE = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarOffsetSet_kyu, C.Type__$SliceBarOffsetSet_uIL]), type$.JSArray_legacy_Type); - C.Type_PotentialCrossoverCreate_AGY = H.typeLiteral("PotentialCrossoverCreate"); - C.Type__$PotentialCrossoverCreate_EmC = H.typeLiteral("_$PotentialCrossoverCreate"); - C.List_Uxx = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverCreate_AGY, C.Type__$PotentialCrossoverCreate_EmC]), type$.JSArray_legacy_Type); - C.Type_StrandNameFontSizeSet_qHn = H.typeLiteral("StrandNameFontSizeSet"); - C.Type__$StrandNameFontSizeSet_e7Z = H.typeLiteral("_$StrandNameFontSizeSet"); - C.List_V0W = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandNameFontSizeSet_qHn, C.Type__$StrandNameFontSizeSet_e7Z]), type$.JSArray_legacy_Type); - C.Type_AutofitSet_X7A = H.typeLiteral("AutofitSet"); - C.Type__$AutofitSet_i7r = H.typeLiteral("_$AutofitSet"); - C.List_V5x = H.setRuntimeTypeInfo(makeConstList([C.Type_AutofitSet_X7A, C.Type__$AutofitSet_i7r]), type$.JSArray_legacy_Type); - C.Type__$SelectionRope_2No = H.typeLiteral("_$SelectionRope"); - C.List_VQM = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRope_0Rd, C.Type__$SelectionRope_2No]), type$.JSArray_legacy_Type); - C.Type_MoveLinker_4m4 = H.typeLiteral("MoveLinker"); - C.Type__$MoveLinker_O0I = H.typeLiteral("_$MoveLinker"); - C.List_W34 = H.setRuntimeTypeInfo(makeConstList([C.Type_MoveLinker_4m4, C.Type__$MoveLinker_O0I]), type$.JSArray_legacy_Type); - C.Type_OxviewShowSet_FKj = H.typeLiteral("OxviewShowSet"); - C.Type__$OxviewShowSet_FGJ = H.typeLiteral("_$OxviewShowSet"); - C.List_W7l = H.setRuntimeTypeInfo(makeConstList([C.Type_OxviewShowSet_FKj, C.Type__$OxviewShowSet_FGJ]), type$.JSArray_legacy_Type); - C.Type_ExampleDesignsLoad_TT0 = H.typeLiteral("ExampleDesignsLoad"); - C.Type__$ExampleDesignsLoad_zzp = H.typeLiteral("_$ExampleDesignsLoad"); - C.List_WMt = H.setRuntimeTypeInfo(makeConstList([C.Type_ExampleDesignsLoad_TT0, C.Type__$ExampleDesignsLoad_zzp]), type$.JSArray_legacy_Type); - C.Type_SelectionRopeCreate_FC3 = H.typeLiteral("SelectionRopeCreate"); - C.Type__$SelectionRopeCreate_atQ = H.typeLiteral("_$SelectionRopeCreate"); - C.List_WfA = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeCreate_FC3, C.Type__$SelectionRopeCreate_atQ]), type$.JSArray_legacy_Type); - C.Type_ExtensionNumBasesChange_wzu = H.typeLiteral("ExtensionNumBasesChange"); - C.Type__$ExtensionNumBasesChange_aBG = H.typeLiteral("_$ExtensionNumBasesChange"); - C.List_WjS = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionNumBasesChange_wzu, C.Type__$ExtensionNumBasesChange_aBG]), type$.JSArray_legacy_Type); - C.List_WrN = H.setRuntimeTypeInfo(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_legacy_int); - C.Type_ShowMouseoverRectToggle_iL9 = H.typeLiteral("ShowMouseoverRectToggle"); - C.Type__$ShowMouseoverRectToggle_MuN = H.typeLiteral("_$ShowMouseoverRectToggle"); - C.List_Wvz = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverRectToggle_iL9, C.Type__$ShowMouseoverRectToggle_MuN]), type$.JSArray_legacy_Type); - C.List_X3d = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]), type$.JSArray_legacy_int); - C.List_X3d0 = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576]), type$.JSArray_legacy_int); - C.List_X3d1 = H.setRuntimeTypeInfo(makeConstList([5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]), type$.JSArray_legacy_int); - C.List_Xg4 = H.setRuntimeTypeInfo(makeConstList([12, 8, 140, 8, 76, 8, 204, 8, 44, 8, 172, 8, 108, 8, 236, 8, 28, 8, 156, 8, 92, 8, 220, 8, 60, 8, 188, 8, 124, 8, 252, 8, 2, 8, 130, 8, 66, 8, 194, 8, 34, 8, 162, 8, 98, 8, 226, 8, 18, 8, 146, 8, 82, 8, 210, 8, 50, 8, 178, 8, 114, 8, 242, 8, 10, 8, 138, 8, 74, 8, 202, 8, 42, 8, 170, 8, 106, 8, 234, 8, 26, 8, 154, 8, 90, 8, 218, 8, 58, 8, 186, 8, 122, 8, 250, 8, 6, 8, 134, 8, 70, 8, 198, 8, 38, 8, 166, 8, 102, 8, 230, 8, 22, 8, 150, 8, 86, 8, 214, 8, 54, 8, 182, 8, 118, 8, 246, 8, 14, 8, 142, 8, 78, 8, 206, 8, 46, 8, 174, 8, 110, 8, 238, 8, 30, 8, 158, 8, 94, 8, 222, 8, 62, 8, 190, 8, 126, 8, 254, 8, 1, 8, 129, 8, 65, 8, 193, 8, 33, 8, 161, 8, 97, 8, 225, 8, 17, 8, 145, 8, 81, 8, 209, 8, 49, 8, 177, 8, 113, 8, 241, 8, 9, 8, 137, 8, 73, 8, 201, 8, 41, 8, 169, 8, 105, 8, 233, 8, 25, 8, 153, 8, 89, 8, 217, 8, 57, 8, 185, 8, 121, 8, 249, 8, 5, 8, 133, 8, 69, 8, 197, 8, 37, 8, 165, 8, 101, 8, 229, 8, 21, 8, 149, 8, 85, 8, 213, 8, 53, 8, 181, 8, 117, 8, 245, 8, 13, 8, 141, 8, 77, 8, 205, 8, 45, 8, 173, 8, 109, 8, 237, 8, 29, 8, 157, 8, 93, 8, 221, 8, 61, 8, 189, 8, 125, 8, 253, 8, 19, 9, 275, 9, 147, 9, 403, 9, 83, 9, 339, 9, 211, 9, 467, 9, 51, 9, 307, 9, 179, 9, 435, 9, 115, 9, 371, 9, 243, 9, 499, 9, 11, 9, 267, 9, 139, 9, 395, 9, 75, 9, 331, 9, 203, 9, 459, 9, 43, 9, 299, 9, 171, 9, 427, 9, 107, 9, 363, 9, 235, 9, 491, 9, 27, 9, 283, 9, 155, 9, 411, 9, 91, 9, 347, 9, 219, 9, 475, 9, 59, 9, 315, 9, 187, 9, 443, 9, 123, 9, 379, 9, 251, 9, 507, 9, 7, 9, 263, 9, 135, 9, 391, 9, 71, 9, 327, 9, 199, 9, 455, 9, 39, 9, 295, 9, 167, 9, 423, 9, 103, 9, 359, 9, 231, 9, 487, 9, 23, 9, 279, 9, 151, 9, 407, 9, 87, 9, 343, 9, 215, 9, 471, 9, 55, 9, 311, 9, 183, 9, 439, 9, 119, 9, 375, 9, 247, 9, 503, 9, 15, 9, 271, 9, 143, 9, 399, 9, 79, 9, 335, 9, 207, 9, 463, 9, 47, 9, 303, 9, 175, 9, 431, 9, 111, 9, 367, 9, 239, 9, 495, 9, 31, 9, 287, 9, 159, 9, 415, 9, 95, 9, 351, 9, 223, 9, 479, 9, 63, 9, 319, 9, 191, 9, 447, 9, 127, 9, 383, 9, 255, 9, 511, 9, 0, 7, 64, 7, 32, 7, 96, 7, 16, 7, 80, 7, 48, 7, 112, 7, 8, 7, 72, 7, 40, 7, 104, 7, 24, 7, 88, 7, 56, 7, 120, 7, 4, 7, 68, 7, 36, 7, 100, 7, 20, 7, 84, 7, 52, 7, 116, 7, 3, 8, 131, 8, 67, 8, 195, 8, 35, 8, 163, 8, 99, 8, 227, 8]), type$.JSArray_legacy_int); - C.Type_ThrottledActionFast_tax = H.typeLiteral("ThrottledActionFast"); - C.Type__$ThrottledActionFast_nyx = H.typeLiteral("_$ThrottledActionFast"); - C.List_YLN = H.setRuntimeTypeInfo(makeConstList([C.Type_ThrottledActionFast_tax, C.Type__$ThrottledActionFast_nyx]), type$.JSArray_legacy_Type); - C.Type_HelixMajorTickStartChangeAll_e1W = H.typeLiteral("HelixMajorTickStartChangeAll"); - C.Type_iNt = H.typeLiteral("_$HelixMajorTickStartChangeAll"); - C.List_YNa = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickStartChangeAll_e1W, C.Type_iNt]), type$.JSArray_legacy_Type); - C.Type_StrandsMoveCommit_mV5 = H.typeLiteral("StrandsMoveCommit"); - C.Type__$StrandsMoveCommit_3KU = H.typeLiteral("_$StrandsMoveCommit"); - C.List_YZn = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveCommit_mV5, C.Type__$StrandsMoveCommit_3KU]), type$.JSArray_legacy_Type); - C.Type_ShowDNASet_iXr = H.typeLiteral("ShowDNASet"); - C.Type__$ShowDNASet_WJv = H.typeLiteral("_$ShowDNASet"); - C.List_Yap = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDNASet_iXr, C.Type__$ShowDNASet_WJv]), type$.JSArray_legacy_Type); - C.Type_n9b = H.typeLiteral("ShowHelixComponentsMainViewSet"); - C.Type_AyI = H.typeLiteral("_$ShowHelixComponentsMainViewSet"); - C.List_ZGD = H.setRuntimeTypeInfo(makeConstList([C.Type_n9b, C.Type_AyI]), type$.JSArray_legacy_Type); - C.Type_StrandNameSet_Tvy = H.typeLiteral("StrandNameSet"); - C.Type__$StrandNameSet_EJD = H.typeLiteral("_$StrandNameSet"); - C.List_ZYL = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandNameSet_Tvy, C.Type__$StrandNameSet_EJD]), type$.JSArray_legacy_Type); - C.Type_ResetLocalStorage_Fcu = H.typeLiteral("ResetLocalStorage"); - C.Type__$ResetLocalStorage_akw = H.typeLiteral("_$ResetLocalStorage"); - C.List_Zuu = H.setRuntimeTypeInfo(makeConstList([C.Type_ResetLocalStorage_Fcu, C.Type__$ResetLocalStorage_akw]), type$.JSArray_legacy_Type); - C.List_Zyt = H.setRuntimeTypeInfo(makeConstList(["getDerivedStateFromError", "componentDidCatch"]), type$.JSArray_legacy_String); - C.Type_SelectionBoxCreate_2No = H.typeLiteral("SelectionBoxCreate"); - C.Type__$SelectionBoxCreate_Qgx = H.typeLiteral("_$SelectionBoxCreate"); - C.List_a0G = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxCreate_2No, C.Type__$SelectionBoxCreate_Qgx]), type$.JSArray_legacy_Type); - C.Type_ErrorMessageSet_MEo = H.typeLiteral("ErrorMessageSet"); - C.Type__$ErrorMessageSet_Drw = H.typeLiteral("_$ErrorMessageSet"); - C.List_a3r = H.setRuntimeTypeInfo(makeConstList([C.Type_ErrorMessageSet_MEo, C.Type__$ErrorMessageSet_Drw]), type$.JSArray_legacy_Type); - C.Type_dGP = H.typeLiteral("StrandsMoveStartSelectedStrands"); - C.Type_QAb = H.typeLiteral("_$StrandsMoveStartSelectedStrands"); - C.List_aJC = H.setRuntimeTypeInfo(makeConstList([C.Type_dGP, C.Type_QAb]), type$.JSArray_legacy_Type); - C.Type_HelixRemoveAllSelected_8Gl = H.typeLiteral("HelixRemoveAllSelected"); - C.Type__$HelixRemoveAllSelected_46y = H.typeLiteral("_$HelixRemoveAllSelected"); - C.List_aTx = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRemoveAllSelected_8Gl, C.Type__$HelixRemoveAllSelected_46y]), type$.JSArray_legacy_Type); - C.Type_ShowDomainNameMismatchesSet_yXb = H.typeLiteral("ShowDomainNameMismatchesSet"); - C.Type_br2 = H.typeLiteral("_$ShowDomainNameMismatchesSet"); - C.List_aZ8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainNameMismatchesSet_yXb, C.Type_br2]), type$.JSArray_legacy_Type); - C.Type_Undo_spY = H.typeLiteral("Undo"); - C.Type__$Undo_b5x = H.typeLiteral("_$Undo"); - C.List_ab8 = H.setRuntimeTypeInfo(makeConstList([C.Type_Undo_spY, C.Type__$Undo_b5x]), type$.JSArray_legacy_Type); - C.Type_DialogLink_8Gl = H.typeLiteral("DialogLink"); - C.Type__$DialogLink_W3x = H.typeLiteral("_$DialogLink"); - C.List_app = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogLink_8Gl, C.Type__$DialogLink_W3x]), type$.JSArray_legacy_Type); - C.Type_ExportCodenanoFile_7R9 = H.typeLiteral("ExportCodenanoFile"); - C.Type__$ExportCodenanoFile_OLT = H.typeLiteral("_$ExportCodenanoFile"); - C.List_avb = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportCodenanoFile_7R9, C.Type__$ExportCodenanoFile_OLT]), type$.JSArray_legacy_Type); - C.Type_DynamicHelixUpdateSet_y5I = H.typeLiteral("DynamicHelixUpdateSet"); - C.Type__$DynamicHelixUpdateSet_5dd = H.typeLiteral("_$DynamicHelixUpdateSet"); - C.List_bD1 = H.setRuntimeTypeInfo(makeConstList([C.Type_DynamicHelixUpdateSet_y5I, C.Type__$DynamicHelixUpdateSet_5dd]), type$.JSArray_legacy_Type); - C.Type_ModificationEdit_KP7 = H.typeLiteral("ModificationEdit"); - C.Type__$ModificationEdit_61T = H.typeLiteral("_$ModificationEdit"); - C.List_bpf = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationEdit_KP7, C.Type__$ModificationEdit_61T]), type$.JSArray_legacy_Type); - C.Type_ExportSvgTextSeparatelySet_jRE = H.typeLiteral("ExportSvgTextSeparatelySet"); - C.Type__$ExportSvgTextSeparatelySet_mBr = H.typeLiteral("_$ExportSvgTextSeparatelySet"); - C.List_cIc = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportSvgTextSeparatelySet_jRE, C.Type__$ExportSvgTextSeparatelySet_mBr]), type$.JSArray_legacy_Type); - C.Type_DomainNameFontSizeSet_8YE = H.typeLiteral("DomainNameFontSizeSet"); - C.Type__$DomainNameFontSizeSet_15V = H.typeLiteral("_$DomainNameFontSizeSet"); - C.List_cIf = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainNameFontSizeSet_8YE, C.Type__$DomainNameFontSizeSet_15V]), type$.JSArray_legacy_Type); - C.Type_LocalStorageDesignChoiceSet_kmH = H.typeLiteral("LocalStorageDesignChoiceSet"); - C.Type_WNy = H.typeLiteral("_$LocalStorageDesignChoiceSet"); - C.List_cKo = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignChoiceSet_kmH, C.Type_WNy]), type$.JSArray_legacy_Type); - C.Type_AppUIState_KY7 = H.typeLiteral("AppUIState"); - C.Type__$AppUIState_wMy = H.typeLiteral("_$AppUIState"); - C.List_cMx = H.setRuntimeTypeInfo(makeConstList([C.Type_AppUIState_KY7, C.Type__$AppUIState_wMy]), type$.JSArray_legacy_Type); - C.Type_SelectionsClear_yrN = H.typeLiteral("SelectionsClear"); - C.Type__$SelectionsClear_u2C = H.typeLiteral("_$SelectionsClear"); - C.List_cQL = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionsClear_yrN, C.Type__$SelectionsClear_u2C]), type$.JSArray_legacy_Type); - C.Type_ScaffoldSet_kSJ = H.typeLiteral("ScaffoldSet"); - C.Type__$ScaffoldSet_8Tq = H.typeLiteral("_$ScaffoldSet"); - C.List_cdS = H.setRuntimeTypeInfo(makeConstList([C.Type_ScaffoldSet_kSJ, C.Type__$ScaffoldSet_8Tq]), type$.JSArray_legacy_Type); - C.Type_HelixMajorTicksChange_gg4 = H.typeLiteral("HelixMajorTicksChange"); - C.Type__$HelixMajorTicksChange_Uo4 = H.typeLiteral("_$HelixMajorTicksChange"); - C.List_ciW = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTicksChange_gg4, C.Type__$HelixMajorTicksChange_Uo4]), type$.JSArray_legacy_Type); - C.Type_SaveDNAFile_maS = H.typeLiteral("SaveDNAFile"); - C.Type__$SaveDNAFile_uGT = H.typeLiteral("_$SaveDNAFile"); - C.List_dDf = H.setRuntimeTypeInfo(makeConstList([C.Type_SaveDNAFile_maS, C.Type__$SaveDNAFile_uGT]), type$.JSArray_legacy_Type); - C.Type_ShowStrandNamesSet_Yuq = H.typeLiteral("ShowStrandNamesSet"); - C.Type__$ShowStrandNamesSet_O1M = H.typeLiteral("_$ShowStrandNamesSet"); - C.List_dmq = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowStrandNamesSet_Yuq, C.Type__$ShowStrandNamesSet_O1M]), type$.JSArray_legacy_Type); - C.List_dna_json = H.setRuntimeTypeInfo(makeConstList(["dna", "json"]), type$.JSArray_legacy_String); - C.List_dna_sequence = H.setRuntimeTypeInfo(makeConstList(["dna_sequence"]), type$.JSArray_legacy_String); - C.Type_EO3 = H.typeLiteral("SetModificationDisplayConnector"); - C.Type_6xV = H.typeLiteral("_$SetModificationDisplayConnector"); - C.List_e1J = H.setRuntimeTypeInfo(makeConstList([C.Type_EO3, C.Type_6xV]), type$.JSArray_legacy_Type); - C.Type__$Extension_oMs = H.typeLiteral("_$Extension"); - C.List_eAf = H.setRuntimeTypeInfo(makeConstList([C.Type_Extension_dwE, C.Type__$Extension_oMs]), type$.JSArray_legacy_Type); - C.Type_SelectionRopeRemove_EIc = H.typeLiteral("SelectionRopeRemove"); - C.Type__$SelectionRopeRemove_APm = H.typeLiteral("_$SelectionRopeRemove"); - C.List_eDH = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeRemove_EIc, C.Type__$SelectionRopeRemove_APm]), type$.JSArray_legacy_Type); - C.Type_nVn = H.typeLiteral("AssignDomainNameComplementFromBoundStrands"); - C.Type_25d = H.typeLiteral("_$AssignDomainNameComplementFromBoundStrands"); - C.List_eZu = H.setRuntimeTypeInfo(makeConstList([C.Type_nVn, C.Type_25d]), type$.JSArray_legacy_Type); - C.List_eea = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0]), type$.JSArray_legacy_int); - C.Type_StrandsMoveStop_iGN = H.typeLiteral("StrandsMoveStop"); - C.Type__$StrandsMoveStop_ckK = H.typeLiteral("_$StrandsMoveStop"); - C.List_egL = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveStop_iGN, C.Type__$StrandsMoveStop_ckK]), type$.JSArray_legacy_Type); - C.List_ego = H.setRuntimeTypeInfo(makeConstList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"]), type$.JSArray_legacy_String); - C.List_empty = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_dynamic); - C.List_empty6 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray<@(Store*,@,@(@)*)*>")); - C.List_empty1 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_Iterable_legacy_int); - C.List_empty4 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray*>")); - C.List_empty7 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_Strand); - C.List_empty0 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_String); - C.List_empty3 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); - C.List_empty2 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); - C.Type_DNAExtensionsMoveStop_ww8 = H.typeLiteral("DNAExtensionsMoveStop"); - C.Type__$DNAExtensionsMoveStop_oSr = H.typeLiteral("_$DNAExtensionsMoveStop"); - C.List_etd = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveStop_ww8, C.Type__$DNAExtensionsMoveStop_oSr]), type$.JSArray_legacy_Type); - C.Type_VendorFieldsRemove_bDN = H.typeLiteral("VendorFieldsRemove"); - C.Type__$VendorFieldsRemove_jfn = H.typeLiteral("_$VendorFieldsRemove"); - C.List_ezA = H.setRuntimeTypeInfo(makeConstList([C.Type_VendorFieldsRemove_bDN, C.Type__$VendorFieldsRemove_jfn]), type$.JSArray_legacy_Type); - C.Type_ManualPasteInitiate_S8r = H.typeLiteral("ManualPasteInitiate"); - C.Type__$ManualPasteInitiate_UW6 = H.typeLiteral("_$ManualPasteInitiate"); - C.List_fXI = H.setRuntimeTypeInfo(makeConstList([C.Type_ManualPasteInitiate_S8r, C.Type__$ManualPasteInitiate_UW6]), type$.JSArray_legacy_Type); - C.Type_AssignDNA_Mi7 = H.typeLiteral("AssignDNA"); - C.Type__$AssignDNA_OBE = H.typeLiteral("_$AssignDNA"); - C.List_fvk = H.setRuntimeTypeInfo(makeConstList([C.Type_AssignDNA_Mi7, C.Type__$AssignDNA_OBE]), type$.JSArray_legacy_Type); - C.Type_DomainsMoveStop_a5W = H.typeLiteral("DomainsMoveStop"); - C.Type__$DomainsMoveStop_QTd = H.typeLiteral("_$DomainsMoveStop"); - C.List_gDw = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveStop_a5W, C.Type__$DomainsMoveStop_QTd]), type$.JSArray_legacy_Type); - C.Type_lub = H.typeLiteral("SetDisplayMajorTickWidthsAllHelices"); - C.Type_eAf = H.typeLiteral("_$SetDisplayMajorTickWidthsAllHelices"); - C.List_gJ1 = H.setRuntimeTypeInfo(makeConstList([C.Type_lub, C.Type_eAf]), type$.JSArray_legacy_Type); - C.List_gRj = H.setRuntimeTypeInfo(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); - C.Type_DomainNameMismatch_8Gl = H.typeLiteral("DomainNameMismatch"); - C.Type__$DomainNameMismatch_uEV = H.typeLiteral("_$DomainNameMismatch"); - C.List_gUw = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainNameMismatch_8Gl, C.Type__$DomainNameMismatch_uEV]), type$.JSArray_legacy_Type); - C.Type_SliceBarMoveStop_Zlp = H.typeLiteral("SliceBarMoveStop"); - C.Type__$SliceBarMoveStop_t6A = H.typeLiteral("_$SliceBarMoveStop"); - C.List_gaI = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarMoveStop_Zlp, C.Type__$SliceBarMoveStop_t6A]), type$.JSArray_legacy_Type); - C.Type_ekJ = H.typeLiteral("AssignDomainNameComplementFromBoundDomains"); - C.Type_OvP = H.typeLiteral("_$AssignDomainNameComplementFromBoundDomains"); - C.List_gc6 = H.setRuntimeTypeInfo(makeConstList([C.Type_ekJ, C.Type_OvP]), type$.JSArray_legacy_Type); - C.Type_43h = H.typeLiteral("OxExportOnlySelectedStrandsSet"); - C.Type_VQ4 = H.typeLiteral("_$OxExportOnlySelectedStrandsSet"); - C.List_ggc = H.setRuntimeTypeInfo(makeConstList([C.Type_43h, C.Type_VQ4]), type$.JSArray_legacy_Type); - C.Type_DesignSideRotationParams_EQs = H.typeLiteral("DesignSideRotationParams"); - C.Type__$DesignSideRotationParams_T3V = H.typeLiteral("_$DesignSideRotationParams"); - C.List_gn0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DesignSideRotationParams_EQs, C.Type__$DesignSideRotationParams_T3V]), type$.JSArray_legacy_Type); - C.Type__$Crossover_mpd = H.typeLiteral("_$Crossover"); - C.List_go8 = H.setRuntimeTypeInfo(makeConstList([C.Type_Crossover_w3m, C.Type__$Crossover_mpd]), type$.JSArray_legacy_Type); - C.Type_StrandCreateStop_Ak6 = H.typeLiteral("StrandCreateStop"); - C.Type__$StrandCreateStop_89t = H.typeLiteral("_$StrandCreateStop"); - C.List_goM = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateStop_Ak6, C.Type__$StrandCreateStop_89t]), type$.JSArray_legacy_Type); - C.Type__$DNAExtensionsMove_ES1 = H.typeLiteral("_$DNAExtensionsMove"); - C.List_grL = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMove_0My, C.Type__$DNAExtensionsMove_ES1]), type$.JSArray_legacy_Type); - C.List_groove_angle = H.setRuntimeTypeInfo(makeConstList(["groove_angle"]), type$.JSArray_legacy_String); - C.Type_PlateWellVendorFieldsAssign_d1W = H.typeLiteral("PlateWellVendorFieldsAssign"); - C.Type_NME = H.typeLiteral("_$PlateWellVendorFieldsAssign"); - C.List_gsm = H.setRuntimeTypeInfo(makeConstList([C.Type_PlateWellVendorFieldsAssign_d1W, C.Type_NME]), type$.JSArray_legacy_Type); - C.Type_SelectModesSet_erW = H.typeLiteral("SelectModesSet"); - C.Type__$SelectModesSet_P5Z = H.typeLiteral("_$SelectModesSet"); - C.List_gsm0 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModesSet_erW, C.Type__$SelectModesSet_P5Z]), type$.JSArray_legacy_Type); - C.List_hLM = H.setRuntimeTypeInfo(makeConstList([C.Grid_square, C.Grid_hex, C.Grid_honeycomb, C.Grid_none]), H.findType("JSArray")); - C.Type_HelixGroupMoveStart_RyU = H.typeLiteral("HelixGroupMoveStart"); - C.Type__$HelixGroupMoveStart_0 = H.typeLiteral("_$HelixGroupMoveStart"); - C.List_hkU = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveStart_RyU, C.Type__$HelixGroupMoveStart_0]), type$.JSArray_legacy_Type); - C.List_i3t = H.setRuntimeTypeInfo(makeConstList([1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577]), type$.JSArray_legacy_int); - C.Type_Autostaple_aZ8 = H.typeLiteral("Autostaple"); - C.Type__$Autostaple_EyI = H.typeLiteral("_$Autostaple"); - C.List_i9o = H.setRuntimeTypeInfo(makeConstList([C.Type_Autostaple_aZ8, C.Type__$Autostaple_EyI]), type$.JSArray_legacy_Type); - C.Type_uUr = H.typeLiteral("HelixGroupMoveAdjustTranslation"); - C.Type_irK = H.typeLiteral("_$HelixGroupMoveAdjustTranslation"); - C.List_iHz = H.setRuntimeTypeInfo(makeConstList([C.Type_uUr, C.Type_irK]), type$.JSArray_legacy_Type); - C.List_iYO = H.setRuntimeTypeInfo(makeConstList([0, 5, 16, 5, 8, 5, 24, 5, 4, 5, 20, 5, 12, 5, 28, 5, 2, 5, 18, 5, 10, 5, 26, 5, 6, 5, 22, 5, 14, 5, 30, 5, 1, 5, 17, 5, 9, 5, 25, 5, 5, 5, 21, 5, 13, 5, 29, 5, 3, 5, 19, 5, 11, 5, 27, 5, 7, 5, 23, 5]), type$.JSArray_legacy_int); - C.Type__$GridPosition_aU7 = H.typeLiteral("_$GridPosition"); - C.List_ibp = H.setRuntimeTypeInfo(makeConstList([C.Type_GridPosition_IuH, C.Type__$GridPosition_aU7]), type$.JSArray_legacy_Type); - C.List_idt = H.setRuntimeTypeInfo(makeConstList(["idt"]), type$.JSArray_legacy_String); - C.List_idt_text = H.setRuntimeTypeInfo(makeConstList(["idt_text"]), type$.JSArray_legacy_String); - C.Type_DNAEndsMoveStart_J4X = H.typeLiteral("DNAEndsMoveStart"); - C.Type__$DNAEndsMoveStart_8I8 = H.typeLiteral("_$DNAEndsMoveStart"); - C.List_ifL = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveStart_J4X, C.Type__$DNAEndsMoveStart_8I8]), type$.JSArray_legacy_Type); - C.Type_SelectModeToggle_2Hm = H.typeLiteral("SelectModeToggle"); - C.Type__$SelectModeToggle_RWp = H.typeLiteral("_$SelectModeToggle"); - C.List_ifn = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeToggle_2Hm, C.Type__$SelectModeToggle_RWp]), type$.JSArray_legacy_Type); - C.Type_DialogFloat_cQL = H.typeLiteral("DialogFloat"); - C.Type__$DialogFloat_EOY = H.typeLiteral("_$DialogFloat"); - C.List_ijl = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogFloat_cQL, C.Type__$DialogFloat_EOY]), type$.JSArray_legacy_Type); - C.List_in0 = H.setRuntimeTypeInfo(makeConstList(["font-size", "font-family", "font-weight", "text-anchor", "dominant-baseline", "fill", "letter-spacing"]), type$.JSArray_legacy_String); - C.Type_SelectModesAdd_erW = H.typeLiteral("SelectModesAdd"); - C.Type__$SelectModesAdd_cgC = H.typeLiteral("_$SelectModesAdd"); - C.List_ivT = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModesAdd_erW, C.Type__$SelectModesAdd_cgC]), type$.JSArray_legacy_Type); - C.Type_SliceBarMoveStart_3p4 = H.typeLiteral("SliceBarMoveStart"); - C.Type__$SliceBarMoveStart_yd2 = H.typeLiteral("_$SliceBarMoveStart"); - C.List_izV0 = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarMoveStart_3p4, C.Type__$SliceBarMoveStart_yd2]), type$.JSArray_legacy_Type); - C.Type_GroupDisplayedChange_RtW = H.typeLiteral("GroupDisplayedChange"); - C.Type__$GroupDisplayedChange_4aQ = H.typeLiteral("_$GroupDisplayedChange"); - C.List_j6U = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupDisplayedChange_RtW, C.Type__$GroupDisplayedChange_4aQ]), type$.JSArray_legacy_Type); - C.Type_ModificationAdd_zkc = H.typeLiteral("ModificationAdd"); - C.Type__$ModificationAdd_YfA = H.typeLiteral("_$ModificationAdd"); - C.List_jDT = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationAdd_zkc, C.Type__$ModificationAdd_YfA]), type$.JSArray_legacy_Type); - C.Type_SelectionBoxRemove_WXD = H.typeLiteral("SelectionBoxRemove"); - C.Type__$SelectionBoxRemove_6Ps = H.typeLiteral("_$SelectionBoxRemove"); - C.List_jYc = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxRemove_WXD, C.Type__$SelectionBoxRemove_6Ps]), type$.JSArray_legacy_Type); - C.Type__$MouseoverParams_3GN = H.typeLiteral("_$MouseoverParams"); - C.List_jlU = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverParams_ArU, C.Type__$MouseoverParams_3GN]), type$.JSArray_legacy_Type); - C.Type_ZoomSpeedSet_429 = H.typeLiteral("ZoomSpeedSet"); - C.Type__$ZoomSpeedSet_4CA = H.typeLiteral("_$ZoomSpeedSet"); - C.List_joV = H.setRuntimeTypeInfo(makeConstList([C.Type_ZoomSpeedSet_429, C.Type__$ZoomSpeedSet_4CA]), type$.JSArray_legacy_Type); - C.Type_LoopoutsLengthChange_sDv = H.typeLiteral("LoopoutsLengthChange"); - C.Type__$LoopoutsLengthChange_Odg = H.typeLiteral("_$LoopoutsLengthChange"); - C.List_kTd = H.setRuntimeTypeInfo(makeConstList([C.Type_LoopoutsLengthChange_sDv, C.Type__$LoopoutsLengthChange_Odg]), type$.JSArray_legacy_Type); - C.Type_GroupAdd_0 = H.typeLiteral("GroupAdd"); - C.Type__$GroupAdd_33h = H.typeLiteral("_$GroupAdd"); - C.List_kWG = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupAdd_0, C.Type__$GroupAdd_33h]), type$.JSArray_legacy_Type); - C.Type_OxdnaExport_fsZ = H.typeLiteral("OxdnaExport"); - C.Type__$OxdnaExport_Lln = H.typeLiteral("_$OxdnaExport"); - C.List_kaS = H.setRuntimeTypeInfo(makeConstList([C.Type_OxdnaExport_fsZ, C.Type__$OxdnaExport_Lln]), type$.JSArray_legacy_Type); - C.List_key_ref_children = H.setRuntimeTypeInfo(makeConstList(["key", "ref", "children"]), type$.JSArray_legacy_String); - C.Type_DeletionAdd_66k = H.typeLiteral("DeletionAdd"); - C.Type__$DeletionAdd_6hp = H.typeLiteral("_$DeletionAdd"); - C.List_kjq = H.setRuntimeTypeInfo(makeConstList([C.Type_DeletionAdd_66k, C.Type__$DeletionAdd_6hp]), type$.JSArray_legacy_Type); - C.Type_DNAEndsMoveStop_0 = H.typeLiteral("DNAEndsMoveStop"); - C.Type__$DNAEndsMoveStop_oTd = H.typeLiteral("_$DNAEndsMoveStop"); - C.List_kmC = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveStop_0, C.Type__$DNAEndsMoveStop_oTd]), type$.JSArray_legacy_Type); - C.Type_HelixMaxOffsetSetByDomains_6i0 = H.typeLiteral("HelixMaxOffsetSetByDomains"); - C.Type__$HelixMaxOffsetSetByDomains_MDT = H.typeLiteral("_$HelixMaxOffsetSetByDomains"); - C.List_kmC0 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMaxOffsetSetByDomains_6i0, C.Type__$HelixMaxOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); - C.Type_idv = H.typeLiteral("ShowLoopoutExtensionLengthSet"); - C.Type_1Ch = H.typeLiteral("_$ShowLoopoutExtensionLengthSet"); - C.List_knt0 = H.setRuntimeTypeInfo(makeConstList([C.Type_idv, C.Type_1Ch]), type$.JSArray_legacy_Type); - C.Type_ShowSliceBarSet_wo4 = H.typeLiteral("ShowSliceBarSet"); - C.Type__$ShowSliceBarSet_EyI = H.typeLiteral("_$ShowSliceBarSet"); - C.List_knt1 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowSliceBarSet_wo4, C.Type__$ShowSliceBarSet_EyI]), type$.JSArray_legacy_Type); - C.List_knt = H.setRuntimeTypeInfo(makeConstList([0, 1, 3, 7, 15, 31, 63, 127, 255]), type$.JSArray_legacy_int); - C.Type_cFY = H.typeLiteral("StrandOrSubstrandColorPickerShow"); - C.Type_lq40 = H.typeLiteral("_$StrandOrSubstrandColorPickerShow"); - C.List_ky0 = H.setRuntimeTypeInfo(makeConstList([C.Type_cFY, C.Type_lq40]), type$.JSArray_legacy_Type); - C.Type_oKc = H.typeLiteral("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); - C.Type_uMb = H.typeLiteral("_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); - C.List_kzZ = H.setRuntimeTypeInfo(makeConstList([C.Type_oKc, C.Type_uMb]), type$.JSArray_legacy_Type); - C.Type__$Address_wPM = H.typeLiteral("_$Address"); - C.List_liY = H.setRuntimeTypeInfo(makeConstList([C.Type_Address_WHr, C.Type__$Address_wPM]), type$.JSArray_legacy_Type); - C.List_loopout_label_name_color = H.setRuntimeTypeInfo(makeConstList(["loopout", "label", "name", "color"]), type$.JSArray_legacy_String); - C.Type_StrandOrSubstrandColorSet_uSA = H.typeLiteral("StrandOrSubstrandColorSet"); - C.Type__$StrandOrSubstrandColorSet_UAS = H.typeLiteral("_$StrandOrSubstrandColorSet"); - C.List_m1u = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandOrSubstrandColorSet_uSA, C.Type__$StrandOrSubstrandColorSet_UAS]), type$.JSArray_legacy_Type); - C.Type__$SelectionBox_i7R = H.typeLiteral("_$SelectionBox"); - C.List_mHo = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBox_cdS, C.Type__$SelectionBox_i7R]), type$.JSArray_legacy_Type); - C.Type_SetAppUIStateStorable_yFU = H.typeLiteral("SetAppUIStateStorable"); - C.Type__$SetAppUIStateStorable_SvO = H.typeLiteral("_$SetAppUIStateStorable"); - C.List_mOq = H.setRuntimeTypeInfo(makeConstList([C.Type_SetAppUIStateStorable_yFU, C.Type__$SetAppUIStateStorable_SvO]), type$.JSArray_legacy_Type); - C.Type_5qD = H.typeLiteral("HelicesPositionsSetBasedOnCrossovers"); - C.Type_xeg = H.typeLiteral("_$HelicesPositionsSetBasedOnCrossovers"); - C.List_mio = H.setRuntimeTypeInfo(makeConstList([C.Type_5qD, C.Type_xeg]), type$.JSArray_legacy_Type); - C.Type_JoinStrandsByCrossover_AKW = H.typeLiteral("JoinStrandsByCrossover"); - C.Type__$JoinStrandsByCrossover_wZL = H.typeLiteral("_$JoinStrandsByCrossover"); - C.List_mq4 = H.setRuntimeTypeInfo(makeConstList([C.Type_JoinStrandsByCrossover_AKW, C.Type__$JoinStrandsByCrossover_wZL]), type$.JSArray_legacy_Type); - C.Type_ExtensionsNumBasesChange_uww = H.typeLiteral("ExtensionsNumBasesChange"); - C.Type__$ExtensionsNumBasesChange_69t = H.typeLiteral("_$ExtensionsNumBasesChange"); - C.List_mtF = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionsNumBasesChange_uww, C.Type__$ExtensionsNumBasesChange_69t]), type$.JSArray_legacy_Type); - C.Type__$HelixGroup_8aB = H.typeLiteral("_$HelixGroup"); - C.List_n7k = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroup_tsp, C.Type__$HelixGroup_8aB]), type$.JSArray_legacy_Type); - C.Type_PrepareToLoadDNAFile_0qq = H.typeLiteral("PrepareToLoadDNAFile"); - C.Type__$PrepareToLoadDNAFile_mdk = H.typeLiteral("_$PrepareToLoadDNAFile"); - C.List_nFv = H.setRuntimeTypeInfo(makeConstList([C.Type_PrepareToLoadDNAFile_0qq, C.Type__$PrepareToLoadDNAFile_mdk]), type$.JSArray_legacy_Type); - C.Type_DialogInteger_gsm = H.typeLiteral("DialogInteger"); - C.Type__$DialogInteger_q4m = H.typeLiteral("_$DialogInteger"); - C.List_nKT = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogInteger_gsm, C.Type__$DialogInteger_q4m]), type$.JSArray_legacy_Type); - C.Type_GridChange_3ad = H.typeLiteral("GridChange"); - C.Type__$GridChange_Ohn = H.typeLiteral("_$GridChange"); - C.List_nNZ = H.setRuntimeTypeInfo(makeConstList([C.Type_GridChange_3ad, C.Type__$GridChange_Ohn]), type$.JSArray_legacy_Type); - C.Type_PlateWellVendorFieldsRemove_ZKs = H.typeLiteral("PlateWellVendorFieldsRemove"); - C.Type_NME0 = H.typeLiteral("_$PlateWellVendorFieldsRemove"); - C.List_nXg = H.setRuntimeTypeInfo(makeConstList([C.Type_PlateWellVendorFieldsRemove_ZKs, C.Type_NME0]), type$.JSArray_legacy_Type); - C.Type__$ModificationInternal_cUt = H.typeLiteral("_$ModificationInternal"); - C.List_neG = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationInternal_7vk, C.Type__$ModificationInternal_cUt]), type$.JSArray_legacy_Type); - C.Type_SelectOrToggleItems_iDZ = H.typeLiteral("SelectOrToggleItems"); - C.Type__$SelectOrToggleItems_Guu = H.typeLiteral("_$SelectOrToggleItems"); - C.List_ntz = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectOrToggleItems_iDZ, C.Type__$SelectOrToggleItems_Guu]), type$.JSArray_legacy_Type); - C.List_nxB = H.setRuntimeTypeInfo(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); - C.Type_StrandsMoveStart_6rf = H.typeLiteral("StrandsMoveStart"); - C.Type__$StrandsMoveStart_2rX = H.typeLiteral("_$StrandsMoveStart"); - C.List_nz1 = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveStart_6rf, C.Type__$StrandsMoveStart_2rX]), type$.JSArray_legacy_Type); - C.Type__$ExportSvg_bFE = H.typeLiteral("_$ExportSvg"); - C.List_oBb = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportSvg_Gt8, C.Type__$ExportSvg_bFE]), type$.JSArray_legacy_Type); - C.Type_8eb = H.typeLiteral("DefaultCrossoverTypeForSettingHelixRollsSet"); - C.Type_JfL = H.typeLiteral("_$DefaultCrossoverTypeForSettingHelixRollsSet"); - C.List_oXN = H.setRuntimeTypeInfo(makeConstList([C.Type_8eb, C.Type_JfL]), type$.JSArray_legacy_Type); - C.Type_GeometrySet_GR2 = H.typeLiteral("GeometrySet"); - C.Type__$GeometrySet_xHw = H.typeLiteral("_$GeometrySet"); - C.List_olV = H.setRuntimeTypeInfo(makeConstList([C.Type_GeometrySet_GR2, C.Type__$GeometrySet_xHw]), type$.JSArray_legacy_Type); - C.List_origin = H.setRuntimeTypeInfo(makeConstList(["origin"]), type$.JSArray_legacy_String); - C.Type__$ExampleDesigns_Am8 = H.typeLiteral("_$ExampleDesigns"); - C.List_ouD = H.setRuntimeTypeInfo(makeConstList([C.Type_ExampleDesigns_cWU, C.Type__$ExampleDesigns_Am8]), type$.JSArray_legacy_Type); - C.Type_InsertionAdd_bXX = H.typeLiteral("InsertionAdd"); - C.Type__$InsertionAdd_cJC = H.typeLiteral("_$InsertionAdd"); - C.List_oyU = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionAdd_bXX, C.Type__$InsertionAdd_cJC]), type$.JSArray_legacy_Type); - C.Type_StrandLabelFontSizeSet_EjN = H.typeLiteral("StrandLabelFontSizeSet"); - C.Type__$StrandLabelFontSizeSet_YKi = H.typeLiteral("_$StrandLabelFontSizeSet"); - C.List_oyn = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandLabelFontSizeSet_EjN, C.Type__$StrandLabelFontSizeSet_YKi]), type$.JSArray_legacy_Type); - C.Type__$ContextMenuItem_aOd = H.typeLiteral("_$ContextMenuItem"); - C.List_pU4 = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuItem_c0h, C.Type__$ContextMenuItem_aOd]), type$.JSArray_legacy_Type); - C.Type_GroupChange_6pr = H.typeLiteral("GroupChange"); - C.Type__$GroupChange_Wnx = H.typeLiteral("_$GroupChange"); - C.List_pUC = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupChange_6pr, C.Type__$GroupChange_Wnx]), type$.JSArray_legacy_Type); - C.List_parameters = H.setRuntimeTypeInfo(makeConstList(["parameters"]), type$.JSArray_legacy_String); - C.Type_EditModeToggle_gsM = H.typeLiteral("EditModeToggle"); - C.Type__$EditModeToggle_ef1 = H.typeLiteral("_$EditModeToggle"); - C.List_q7D = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModeToggle_gsM, C.Type__$EditModeToggle_ef1]), type$.JSArray_legacy_Type); - C.Type_WVp = H.typeLiteral("HelixMinOffsetSetByDomainsAll"); - C.Type_RkP0 = H.typeLiteral("_$HelixMinOffsetSetByDomainsAll"); - C.List_q96 = H.setRuntimeTypeInfo(makeConstList([C.Type_WVp, C.Type_RkP0]), type$.JSArray_legacy_Type); - C.Type_ShowMouseoverRectSet_9we = H.typeLiteral("ShowMouseoverRectSet"); - C.Type__$ShowMouseoverRectSet_G3z = H.typeLiteral("_$ShowMouseoverRectSet"); - C.List_qKv = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverRectSet_9we, C.Type__$ShowMouseoverRectSet_G3z]), type$.JSArray_legacy_Type); - C.Type__$SelectModeState_uYn = H.typeLiteral("_$SelectModeState"); - C.List_qLL = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeState_qx4, C.Type__$SelectModeState_uYn]), type$.JSArray_legacy_Type); - C.Type_DeletionRemove_6PY = H.typeLiteral("DeletionRemove"); - C.Type__$DeletionRemove_Vyt = H.typeLiteral("_$DeletionRemove"); - C.List_qNA0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DeletionRemove_6PY, C.Type__$DeletionRemove_Vyt]), type$.JSArray_legacy_Type); - C.List_qNA = H.setRuntimeTypeInfo(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); - C.List_qQn = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]), type$.JSArray_legacy_int); - C.List_qQn0 = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0]), type$.JSArray_legacy_int); - C.List_qQn1 = H.setRuntimeTypeInfo(makeConstList([3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258]), type$.JSArray_legacy_int); - C.Type_LoadDnaSequenceImageUri_DtQ = H.typeLiteral("LoadDnaSequenceImageUri"); - C.Type__$LoadDnaSequenceImageUri_L1G = H.typeLiteral("_$LoadDnaSequenceImageUri"); - C.List_qbL = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadDnaSequenceImageUri_DtQ, C.Type__$LoadDnaSequenceImageUri_L1G]), type$.JSArray_legacy_Type); - C.List_qg4 = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); - C.Type_HelixSelectionsAdjust_Gx1 = H.typeLiteral("HelixSelectionsAdjust"); - C.Type__$HelixSelectionsAdjust_iV0 = H.typeLiteral("_$HelixSelectionsAdjust"); - C.List_qr1 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelectionsAdjust_Gx1, C.Type__$HelixSelectionsAdjust_iV0]), type$.JSArray_legacy_Type); - C.List_right = H.setRuntimeTypeInfo(makeConstList(["right"]), type$.JSArray_legacy_String); - C.Type_DialogHide_0a1 = H.typeLiteral("DialogHide"); - C.Type__$DialogHide_at4 = H.typeLiteral("_$DialogHide"); - C.List_ro0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogHide_0a1, C.Type__$DialogHide_at4]), type$.JSArray_legacy_Type); - C.Type_PotentialCrossoverRemove_wsa = H.typeLiteral("PotentialCrossoverRemove"); - C.Type__$PotentialCrossoverRemove_7BT = H.typeLiteral("_$PotentialCrossoverRemove"); - C.List_rv4 = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverRemove_wsa, C.Type__$PotentialCrossoverRemove_7BT]), type$.JSArray_legacy_Type); - C.Type__$AppUIStateStorables_fqj = H.typeLiteral("_$AppUIStateStorables"); - C.List_s9c = H.setRuntimeTypeInfo(makeConstList([C.Type_AppUIStateStorables_AS6, C.Type__$AppUIStateStorables_fqj]), type$.JSArray_legacy_Type); - C.List_sEI = H.setRuntimeTypeInfo(makeConstList(["name", "scale", "purification", "plate", "well"]), type$.JSArray_legacy_String); - C.Type_EditModesSet_u3m = H.typeLiteral("EditModesSet"); - C.Type__$EditModesSet_fTF = H.typeLiteral("_$EditModesSet"); - C.List_sI7 = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModesSet_u3m, C.Type__$EditModesSet_fTF]), type$.JSArray_legacy_Type); - C.Type_BasePairTypeSet_Fcu = H.typeLiteral("BasePairTypeSet"); - C.Type__$BasePairTypeSet_ES6 = H.typeLiteral("_$BasePairTypeSet"); - C.List_sNW = H.setRuntimeTypeInfo(makeConstList([C.Type_BasePairTypeSet_Fcu, C.Type__$BasePairTypeSet_ES6]), type$.JSArray_legacy_Type); - C.Type_DomainsMoveAdjustAddress_woc = H.typeLiteral("DomainsMoveAdjustAddress"); - C.Type__$DomainsMoveAdjustAddress_8FR = H.typeLiteral("_$DomainsMoveAdjustAddress"); - C.List_ssD = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveAdjustAddress_woc, C.Type__$DomainsMoveAdjustAddress_8FR]), type$.JSArray_legacy_Type); - C.List_substrands = H.setRuntimeTypeInfo(makeConstList(["substrands"]), type$.JSArray_legacy_String); - C.Type__$HelixGroupMove_gcy = H.typeLiteral("_$HelixGroupMove"); - C.List_sxw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMove_sE6, C.Type__$HelixGroupMove_gcy]), type$.JSArray_legacy_Type); - C.Type_LoadingDialogShow_X3n = H.typeLiteral("LoadingDialogShow"); - C.Type__$LoadingDialogShow_mqK = H.typeLiteral("_$LoadingDialogShow"); - C.List_t3J = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadingDialogShow_X3n, C.Type__$LoadingDialogShow_mqK]), type$.JSArray_legacy_Type); - C.Type_ExtensionAdd_6eX = H.typeLiteral("ExtensionAdd"); - C.Type__$ExtensionAdd_qns = H.typeLiteral("_$ExtensionAdd"); - C.List_tI7 = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionAdd_6eX, C.Type__$ExtensionAdd_qns]), type$.JSArray_legacy_Type); - C.Type_EmR = H.typeLiteral("SetExportSvgActionDelayedForPngCache"); - C.Type_ia7 = H.typeLiteral("_$SetExportSvgActionDelayedForPngCache"); - C.List_tqs = H.setRuntimeTypeInfo(makeConstList([C.Type_EmR, C.Type_ia7]), type$.JSArray_legacy_Type); - C.Type__$DomainsMove_4QF = H.typeLiteral("_$DomainsMove"); - C.List_u2S = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMove_Js5, C.Type__$DomainsMove_4QF]), type$.JSArray_legacy_Type); - C.Type_MouseGridPositionSideUpdate_fvk = H.typeLiteral("MouseGridPositionSideUpdate"); - C.Type_Lpb = H.typeLiteral("_$MouseGridPositionSideUpdate"); - C.List_u77 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseGridPositionSideUpdate_fvk, C.Type_Lpb]), type$.JSArray_legacy_Type); - C.Type_MajorTickWidthFontSizeSet_ORm = H.typeLiteral("MajorTickWidthFontSizeSet"); - C.Type__$MajorTickWidthFontSizeSet_h2N = H.typeLiteral("_$MajorTickWidthFontSizeSet"); - C.List_u9T = H.setRuntimeTypeInfo(makeConstList([C.Type_MajorTickWidthFontSizeSet_ORm, C.Type__$MajorTickWidthFontSizeSet_h2N]), type$.JSArray_legacy_Type); - C.Type__$Helix_gkc = H.typeLiteral("_$Helix"); - C.List_uHJ = H.setRuntimeTypeInfo(makeConstList([C.Type_Helix_cIf, C.Type__$Helix_gkc]), type$.JSArray_legacy_Type); - C.List_uSC0 = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]), type$.JSArray_legacy_int); - C.List_uSC = H.setRuntimeTypeInfo(makeConstList([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), type$.JSArray_legacy_int); - C.Type_SubstrandLabelSet_hid = H.typeLiteral("SubstrandLabelSet"); - C.Type__$SubstrandLabelSet_0Iu = H.typeLiteral("_$SubstrandLabelSet"); - C.List_ucM = H.setRuntimeTypeInfo(makeConstList([C.Type_SubstrandLabelSet_hid, C.Type__$SubstrandLabelSet_0Iu]), type$.JSArray_legacy_Type); - C.Type_ShowModificationsSet_ouN = H.typeLiteral("ShowModificationsSet"); - C.Type__$ShowModificationsSet_H6l = H.typeLiteral("_$ShowModificationsSet"); - C.List_urY = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowModificationsSet_ouN, C.Type__$ShowModificationsSet_H6l]), type$.JSArray_legacy_Type); - C.Type_DialogTextArea_fPs = H.typeLiteral("DialogTextArea"); - C.Type__$DialogTextArea_8kG = H.typeLiteral("_$DialogTextArea"); - C.List_uwZ = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogTextArea_fPs, C.Type__$DialogTextArea_8kG]), type$.JSArray_legacy_Type); - C.Type_893 = H.typeLiteral("_$SelectableModificationInternal"); - C.List_v3C = H.setRuntimeTypeInfo(makeConstList([C.Type_MEg, C.Type_893]), type$.JSArray_legacy_Type); - C.Type_DesignSideRotationData_EGJ = H.typeLiteral("DesignSideRotationData"); - C.Type__$DesignSideRotationData_6Tu = H.typeLiteral("_$DesignSideRotationData"); - C.List_vEs = H.setRuntimeTypeInfo(makeConstList([C.Type_DesignSideRotationData_EGJ, C.Type__$DesignSideRotationData_6Tu]), type$.JSArray_legacy_Type); - C.Type_LoadingDialogHide_eHy = H.typeLiteral("LoadingDialogHide"); - C.Type__$LoadingDialogHide_wk6 = H.typeLiteral("_$LoadingDialogHide"); - C.List_wEo = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadingDialogHide_eHy, C.Type__$LoadingDialogHide_wk6]), type$.JSArray_legacy_Type); - C.Type_Select_eR6 = H.typeLiteral("Select"); - C.Type__$Select_WQs = H.typeLiteral("_$Select"); - C.List_wEo0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Select_eR6, C.Type__$Select_WQs]), type$.JSArray_legacy_Type); - C.Type_SelectionRopeMouseMove_Hx1 = H.typeLiteral("SelectionRopeMouseMove"); - C.Type__$SelectionRopeMouseMove_8I8 = H.typeLiteral("_$SelectionRopeMouseMove"); - C.List_wEo1 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeMouseMove_Hx1, C.Type__$SelectionRopeMouseMove_8I8]), type$.JSArray_legacy_Type); - C.Type_SelectionBoxSizeChange_kWM = H.typeLiteral("SelectionBoxSizeChange"); - C.Type__$SelectionBoxSizeChange_uDM = H.typeLiteral("_$SelectionBoxSizeChange"); - C.List_wEs = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxSizeChange_kWM, C.Type__$SelectionBoxSizeChange_uDM]), type$.JSArray_legacy_Type); - C.List_wSV = H.setRuntimeTypeInfo(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_legacy_String); - C.Type_ModificationFontSizeSet_H3E = H.typeLiteral("ModificationFontSizeSet"); - C.Type__$ModificationFontSizeSet_eZY = H.typeLiteral("_$ModificationFontSizeSet"); - C.List_wbQ = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationFontSizeSet_H3E, C.Type__$ModificationFontSizeSet_eZY]), type$.JSArray_legacy_Type); - C.Type_aPH = H.typeLiteral("DomainsMoveStartSelectedDomains"); - C.Type_gg9 = H.typeLiteral("_$DomainsMoveStartSelectedDomains"); - C.List_wsf = H.setRuntimeTypeInfo(makeConstList([C.Type_aPH, C.Type_gg9]), type$.JSArray_legacy_Type); - C.List_ww80 = H.setRuntimeTypeInfo(makeConstList([23, 114, 69, 56, 80, 144]), type$.JSArray_legacy_int); - C.List_ww8 = H.setRuntimeTypeInfo(makeConstList([49, 65, 89, 38, 83, 89]), type$.JSArray_legacy_int); - C.Type_StrandsReflect_8qt = H.typeLiteral("StrandsReflect"); - C.Type__$StrandsReflect_h00 = H.typeLiteral("_$StrandsReflect"); - C.List_wwi = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsReflect_8qt, C.Type__$StrandsReflect_h00]), type$.JSArray_legacy_Type); - C.Type__$AddressDifference_IXT = H.typeLiteral("_$AddressDifference"); - C.List_xTK = H.setRuntimeTypeInfo(makeConstList([C.Type_AddressDifference_p4P, C.Type__$AddressDifference_IXT]), type$.JSArray_legacy_Type); - C.Type_ShowDomainLabelsSet_GbU = H.typeLiteral("ShowDomainLabelsSet"); - C.Type__$ShowDomainLabelsSet_oKF = H.typeLiteral("_$ShowDomainLabelsSet"); - C.List_xTV = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainLabelsSet_GbU, C.Type__$ShowDomainLabelsSet_oKF]), type$.JSArray_legacy_Type); - C.Type_HelixAdd_yzz = H.typeLiteral("HelixAdd"); - C.Type__$HelixAdd_690 = H.typeLiteral("_$HelixAdd"); - C.List_xw8 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixAdd_yzz, C.Type__$HelixAdd_690]), type$.JSArray_legacy_Type); - C.Type_UndoRedoItem_upI = H.typeLiteral("UndoRedoItem"); - C.Type__$UndoRedoItem_Aec = H.typeLiteral("_$UndoRedoItem"); - C.List_y1j = H.setRuntimeTypeInfo(makeConstList([C.Type_UndoRedoItem_upI, C.Type__$UndoRedoItem_Aec]), type$.JSArray_legacy_Type); - C.StrandOrder_five_prime = new O.StrandOrder("five_prime"); - C.StrandOrder_three_prime = new O.StrandOrder("three_prime"); - C.StrandOrder_five_or_three_prime = new O.StrandOrder("five_or_three_prime"); - C.StrandOrder_top_left_domain_start = new O.StrandOrder("top_left_domain_start"); - C.List_yHF = H.setRuntimeTypeInfo(makeConstList([C.StrandOrder_five_prime, C.StrandOrder_three_prime, C.StrandOrder_five_or_three_prime, C.StrandOrder_top_left_domain_start]), H.findType("JSArray")); - C.Type_ThrottledActionNonFast_mpZ = H.typeLiteral("ThrottledActionNonFast"); - C.Type__$ThrottledActionNonFast_UEW = H.typeLiteral("_$ThrottledActionNonFast"); - C.List_yJg = H.setRuntimeTypeInfo(makeConstList([C.Type_ThrottledActionNonFast_mpZ, C.Type__$ThrottledActionNonFast_UEW]), type$.JSArray_legacy_Type); - C.Type_HelixMajorTickDistanceChange_yTb = H.typeLiteral("HelixMajorTickDistanceChange"); - C.Type_G3O = H.typeLiteral("_$HelixMajorTickDistanceChange"); - C.List_yP5 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickDistanceChange_yTb, C.Type_G3O]), type$.JSArray_legacy_Type); - C.Type_ReplaceStrands_aoE = H.typeLiteral("ReplaceStrands"); - C.Type__$ReplaceStrands_yTp = H.typeLiteral("_$ReplaceStrands"); - C.List_yS0 = H.setRuntimeTypeInfo(makeConstList([C.Type_ReplaceStrands_aoE, C.Type__$ReplaceStrands_yTp]), type$.JSArray_legacy_Type); - C.Type_InsertionRemove_KKi = H.typeLiteral("InsertionRemove"); - C.Type__$InsertionRemove_irL = H.typeLiteral("_$InsertionRemove"); - C.List_yXb = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionRemove_KKi, C.Type__$InsertionRemove_irL]), type$.JSArray_legacy_Type); - C.Type_HelixMajorTickStartChange_4QF = H.typeLiteral("HelixMajorTickStartChange"); - C.Type__$HelixMajorTickStartChange_uPC = H.typeLiteral("_$HelixMajorTickStartChange"); - C.List_ygQ = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickStartChange_4QF, C.Type__$HelixMajorTickStartChange_uPC]), type$.JSArray_legacy_Type); - C.List_yjH = H.setRuntimeTypeInfo(makeConstList([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group]), type$.JSArray_legacy_EditModeChoice); - C.List_yrN = H.setRuntimeTypeInfo(makeConstList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), type$.JSArray_legacy_String); - C.Type__$VendorFields_MEg = H.typeLiteral("_$VendorFields"); - C.List_zLk = H.setRuntimeTypeInfo(makeConstList([C.Type_VendorFields_9Ml, C.Type__$VendorFields_MEg]), type$.JSArray_legacy_Type); - C.List_zNb = H.setRuntimeTypeInfo(makeConstList(["extension_num_bases", "is_5p", "display_length", "display_angle", "label", "name", "color"]), type$.JSArray_legacy_String); - C.List_z_step = H.setRuntimeTypeInfo(makeConstList(["z_step"]), type$.JSArray_legacy_String); - C.Type_SelectableInsertion_omH = H.typeLiteral("SelectableInsertion"); - C.Type__$SelectableInsertion_8RJ = H.typeLiteral("_$SelectableInsertion"); - C.List_zc5 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableInsertion_omH, C.Type__$SelectableInsertion_8RJ]), type$.JSArray_legacy_Type); - C.Type_HelixGroupMoveCommit_gc6 = H.typeLiteral("HelixGroupMoveCommit"); - C.Type__$HelixGroupMoveCommit_cKo = H.typeLiteral("_$HelixGroupMoveCommit"); - C.List_ziQ = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveCommit_gc6, C.Type__$HelixGroupMoveCommit_cKo]), type$.JSArray_legacy_Type); - C.Type_ModificationRemove_1Te = H.typeLiteral("ModificationRemove"); - C.Type__$ModificationRemove_yry = H.typeLiteral("_$ModificationRemove"); - C.List_zrt = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationRemove_1Te, C.Type__$ModificationRemove_yry]), type$.JSArray_legacy_Type); - C.LocalStorageDesignOption_never = new Y.LocalStorageDesignOption("never"); - C.LocalStorageDesignOption_on_edit = new Y.LocalStorageDesignOption("on_edit"); - C.LocalStorageDesignOption_on_exit = new Y.LocalStorageDesignOption("on_exit"); - C.LocalStorageDesignOption_periodic = new Y.LocalStorageDesignOption("periodic"); - C.Type_End3PrimeProps_sDv = H.typeLiteral("End3PrimeProps"); - C.PropDescriptor_4iC = new S.PropDescriptor("End3PrimeProps.on_pointer_down"); - C.PropDescriptor_WnR = new S.PropDescriptor("End3PrimeProps.on_pointer_up"); - C.PropDescriptor_4YV = new S.PropDescriptor("End3PrimeProps.on_mouse_up"); - C.PropDescriptor_Dv6 = new S.PropDescriptor("End3PrimeProps.on_mouse_move"); - C.PropDescriptor_iTd = new S.PropDescriptor("End3PrimeProps.on_mouse_enter"); - C.PropDescriptor_iTd0 = new S.PropDescriptor("End3PrimeProps.on_mouse_leave"); - C.PropDescriptor_uFp = new S.PropDescriptor("End3PrimeProps.classname"); - C.PropDescriptor_eXe = new S.PropDescriptor("End3PrimeProps.pos"); - C.PropDescriptor_OnH = new S.PropDescriptor("End3PrimeProps.color"); - C.PropDescriptor_kEm = new S.PropDescriptor("End3PrimeProps.forward"); - C.PropDescriptor_qrZ = new S.PropDescriptor("End3PrimeProps.id"); - C.PropDescriptor_sgq = new S.PropDescriptor("End3PrimeProps.transform"); - C.List_8kG = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_4iC, C.PropDescriptor_WnR, C.PropDescriptor_4YV, C.PropDescriptor_Dv6, C.PropDescriptor_iTd, C.PropDescriptor_iTd0, C.PropDescriptor_uFp, C.PropDescriptor_eXe, C.PropDescriptor_OnH, C.PropDescriptor_kEm, C.PropDescriptor_qrZ, C.PropDescriptor_sgq]), type$.JSArray_legacy_PropDescriptor); - C.List_wEo2 = H.setRuntimeTypeInfo(makeConstList(["End3PrimeProps.on_pointer_down", "End3PrimeProps.on_pointer_up", "End3PrimeProps.on_mouse_up", "End3PrimeProps.on_mouse_move", "End3PrimeProps.on_mouse_enter", "End3PrimeProps.on_mouse_leave", "End3PrimeProps.classname", "End3PrimeProps.pos", "End3PrimeProps.color", "End3PrimeProps.forward", "End3PrimeProps.id", "End3PrimeProps.transform"]), type$.JSArray_legacy_String); - C.PropsMeta_T1X = new S.PropsMeta(C.List_8kG, C.List_wEo2); - C.Map_04CA = new H.GeneralConstantMap([C.Type_End3PrimeProps_sDv, C.PropsMeta_T1X], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_EndMovingProps_idk = H.typeLiteral("EndMovingProps"); - C.PropDescriptor_JmU = new S.PropDescriptor("EndMovingProps.dna_end"); - C.PropDescriptor_3Ds = new S.PropDescriptor("EndMovingProps.helix"); - C.PropDescriptor_Dfi = new S.PropDescriptor("EndMovingProps.color"); - C.PropDescriptor_BkP = new S.PropDescriptor("EndMovingProps.forward"); - C.PropDescriptor_OrN = new S.PropDescriptor("EndMovingProps.is_5p"); - C.PropDescriptor_Q4o = new S.PropDescriptor("EndMovingProps.allowable"); - C.PropDescriptor_RLv = new S.PropDescriptor("EndMovingProps.current_offset"); - C.PropDescriptor_9WE = new S.PropDescriptor("EndMovingProps.render"); - C.PropDescriptor_2Vk = new S.PropDescriptor("EndMovingProps.svg_position_y"); - C.PropDescriptor_Mgg = new S.PropDescriptor("EndMovingProps.transform"); - C.List_ECv = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_JmU, C.PropDescriptor_3Ds, C.PropDescriptor_Dfi, C.PropDescriptor_BkP, C.PropDescriptor_OrN, C.PropDescriptor_Q4o, C.PropDescriptor_RLv, C.PropDescriptor_9WE, C.PropDescriptor_2Vk, C.PropDescriptor_Mgg]), type$.JSArray_legacy_PropDescriptor); - C.List_EOY = H.setRuntimeTypeInfo(makeConstList(["EndMovingProps.dna_end", "EndMovingProps.helix", "EndMovingProps.color", "EndMovingProps.forward", "EndMovingProps.is_5p", "EndMovingProps.allowable", "EndMovingProps.current_offset", "EndMovingProps.render", "EndMovingProps.svg_position_y", "EndMovingProps.transform"]), type$.JSArray_legacy_String); - C.PropsMeta_Y3P = new S.PropsMeta(C.List_ECv, C.List_EOY); - C.Map_2NACG = new H.GeneralConstantMap([C.Type_EndMovingProps_idk, C.PropsMeta_Y3P], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainWarningStarProps_lCo = H.typeLiteral("DesignMainWarningStarProps"); - C.PropDescriptor_cGl = new S.PropDescriptor("DesignMainWarningStarProps.base_svg_pos"); - C.PropDescriptor_Npb = new S.PropDescriptor("DesignMainWarningStarProps.forward"); - C.PropDescriptor_kYz = new S.PropDescriptor("DesignMainWarningStarProps.geometry"); - C.PropDescriptor_gkc = new S.PropDescriptor("DesignMainWarningStarProps.color"); - C.List_Nm5 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_cGl, C.PropDescriptor_Npb, C.PropDescriptor_kYz, C.PropDescriptor_gkc]), type$.JSArray_legacy_PropDescriptor); - C.List_43h2 = H.setRuntimeTypeInfo(makeConstList(["DesignMainWarningStarProps.base_svg_pos", "DesignMainWarningStarProps.forward", "DesignMainWarningStarProps.geometry", "DesignMainWarningStarProps.color"]), type$.JSArray_legacy_String); - C.PropsMeta_gn0 = new S.PropsMeta(C.List_Nm5, C.List_43h2); - C.Map_2Rifx = new H.GeneralConstantMap([C.Type_DesignMainWarningStarProps_lCo, C.PropsMeta_gn0], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Map_2Vy1w = new H.GeneralConstantMap([83, C.EditModeChoice_select, 82, C.EditModeChoice_rope_select, 80, C.EditModeChoice_pencil, 78, C.EditModeChoice_nick, 76, C.EditModeChoice_ligate, 73, C.EditModeChoice_insertion, 68, C.EditModeChoice_deletion, 77, C.EditModeChoice_move_group], H.findType("GeneralConstantMap")); - C.Type_DesignMainStrandPropsMixin_22d = H.typeLiteral("DesignMainStrandPropsMixin"); - C.Type_I2O = H.typeLiteral("TransformByHelixGroupPropsMixin"); - C.PropDescriptor_s2f = new S.PropDescriptor("DesignMainStrandPropsMixin.strand"); - C.PropDescriptor_e5Z = new S.PropDescriptor(string$.DesignMStPrsi); - C.PropDescriptor_iFT = new S.PropDescriptor(string$.DesignMStPro); - C.PropDescriptor_mfA = new S.PropDescriptor(string$.DesignMStPrseen); - C.PropDescriptor_ESz = new S.PropDescriptor(string$.DesignMStPrsec); - C.PropDescriptor_MyV = new S.PropDescriptor(string$.DesignMStPrsel); - C.PropDescriptor_efp = new S.PropDescriptor(string$.DesignMStPrseex); - C.PropDescriptor_J6P = new S.PropDescriptor(string$.DesignMStPrsedo); - C.PropDescriptor_Gno = new S.PropDescriptor(string$.DesignMStPrsede); - C.PropDescriptor_iZu = new S.PropDescriptor(string$.DesignMStPrsei); - C.PropDescriptor_yHZ = new S.PropDescriptor(string$.DesignMStPrsem); - C.PropDescriptor_UM5 = new S.PropDescriptor("DesignMainStrandPropsMixin.helices"); - C.PropDescriptor_0 = new S.PropDescriptor("DesignMainStrandPropsMixin.groups"); - C.PropDescriptor_ufl = new S.PropDescriptor("DesignMainStrandPropsMixin.geometry"); - C.PropDescriptor_OWS = new S.PropDescriptor("DesignMainStrandPropsMixin.selected"); - C.PropDescriptor_0m8 = new S.PropDescriptor(string$.DesignMStPrdr); - C.PropDescriptor_IuH = new S.PropDescriptor(string$.DesignMStPrmv); - C.PropDescriptor_wEo = new S.PropDescriptor(string$.DesignMStPrdn); - C.PropDescriptor_BKQ = new S.PropDescriptor(string$.DesignMStPrmdd); - C.PropDescriptor_ufl0 = new S.PropDescriptor("DesignMainStrandPropsMixin.show_dna"); - C.PropDescriptor_U8N = new S.PropDescriptor(string$.DesignMStPrshm); - C.PropDescriptor_adS = new S.PropDescriptor(string$.DesignMStPrdi); - C.PropDescriptor_QON = new S.PropDescriptor(string$.DesignMStPrshsn); - C.PropDescriptor_bLp = new S.PropDescriptor(string$.DesignMStPrshsl); - C.PropDescriptor_bVw = new S.PropDescriptor(string$.DesignMStPrshdn); - C.PropDescriptor_WDQ = new S.PropDescriptor(string$.DesignMStPrshdl); - C.PropDescriptor_Opr = new S.PropDescriptor(string$.DesignMStPrstn); - C.PropDescriptor_4CA = new S.PropDescriptor(string$.DesignMStPrstl); - C.PropDescriptor_0i0 = new S.PropDescriptor(string$.DesignMStPrdon); - C.PropDescriptor_bpI = new S.PropDescriptor(string$.DesignMStPrdol); - C.PropDescriptor_kuk = new S.PropDescriptor(string$.DesignMStPrmdf); - C.PropDescriptor_I6G = new S.PropDescriptor("DesignMainStrandPropsMixin.invert_y"); - C.PropDescriptor_GRE = new S.PropDescriptor(string$.DesignMStPrh); - C.PropDescriptor_GJj = new S.PropDescriptor(string$.DesignMStPrr); - C.List_Kox = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_s2f, C.PropDescriptor_e5Z, C.PropDescriptor_iFT, C.PropDescriptor_mfA, C.PropDescriptor_ESz, C.PropDescriptor_MyV, C.PropDescriptor_efp, C.PropDescriptor_J6P, C.PropDescriptor_Gno, C.PropDescriptor_iZu, C.PropDescriptor_yHZ, C.PropDescriptor_UM5, C.PropDescriptor_0, C.PropDescriptor_ufl, C.PropDescriptor_OWS, C.PropDescriptor_0m8, C.PropDescriptor_IuH, C.PropDescriptor_wEo, C.PropDescriptor_BKQ, C.PropDescriptor_ufl0, C.PropDescriptor_U8N, C.PropDescriptor_adS, C.PropDescriptor_QON, C.PropDescriptor_bLp, C.PropDescriptor_bVw, C.PropDescriptor_WDQ, C.PropDescriptor_Opr, C.PropDescriptor_4CA, C.PropDescriptor_0i0, C.PropDescriptor_bpI, C.PropDescriptor_kuk, C.PropDescriptor_I6G, C.PropDescriptor_GRE, C.PropDescriptor_GJj]), type$.JSArray_legacy_PropDescriptor); - C.List_Cxb = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandPropsMixin.strand", string$.DesignMStPrsi, string$.DesignMStPro, string$.DesignMStPrseen, string$.DesignMStPrsec, string$.DesignMStPrsel, string$.DesignMStPrseex, string$.DesignMStPrsedo, string$.DesignMStPrsede, string$.DesignMStPrsei, string$.DesignMStPrsem, "DesignMainStrandPropsMixin.helices", "DesignMainStrandPropsMixin.groups", "DesignMainStrandPropsMixin.geometry", "DesignMainStrandPropsMixin.selected", string$.DesignMStPrdr, string$.DesignMStPrmv, string$.DesignMStPrdn, string$.DesignMStPrmdd, "DesignMainStrandPropsMixin.show_dna", string$.DesignMStPrshm, string$.DesignMStPrdi, string$.DesignMStPrshsn, string$.DesignMStPrshsl, string$.DesignMStPrshdn, string$.DesignMStPrshdl, string$.DesignMStPrstn, string$.DesignMStPrstl, string$.DesignMStPrdon, string$.DesignMStPrdol, string$.DesignMStPrmdf, "DesignMainStrandPropsMixin.invert_y", string$.DesignMStPrh, string$.DesignMStPrr]), type$.JSArray_legacy_String); - C.PropsMeta_0 = new S.PropsMeta(C.List_Kox, C.List_Cxb); - C.PropDescriptor_EuK = new S.PropDescriptor("TransformByHelixGroupPropsMixin.helices"); - C.PropDescriptor_eXe0 = new S.PropDescriptor("TransformByHelixGroupPropsMixin.groups"); - C.PropDescriptor_axY = new S.PropDescriptor("TransformByHelixGroupPropsMixin.geometry"); - C.List_YIq = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EuK, C.PropDescriptor_eXe0, C.PropDescriptor_axY]), type$.JSArray_legacy_PropDescriptor); - C.List_0Z9 = H.setRuntimeTypeInfo(makeConstList(["TransformByHelixGroupPropsMixin.helices", "TransformByHelixGroupPropsMixin.groups", "TransformByHelixGroupPropsMixin.geometry"]), type$.JSArray_legacy_String); - C.PropsMeta_Me9 = new S.PropsMeta(C.List_YIq, C.List_0Z9); - C.Map_2bMLw = new H.GeneralConstantMap([C.Type_DesignMainStrandPropsMixin_22d, C.PropsMeta_0, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_y1j = H.typeLiteral("DesignMainStrandCreatingPropsMixin"); - C.PropDescriptor_a9d = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.helix"); - C.PropDescriptor_gkc0 = new S.PropDescriptor(string$.DesignMStCef); - C.PropDescriptor_gg9 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.start"); - C.PropDescriptor_Q4o0 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.end"); - C.PropDescriptor_a9d0 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.color"); - C.PropDescriptor_qpT = new S.PropDescriptor(string$.DesignMStCeh); - C.PropDescriptor_oEy = new S.PropDescriptor(string$.DesignMStCegr); - C.PropDescriptor_gc6 = new S.PropDescriptor(string$.DesignMStCege); - C.PropDescriptor_9OB = new S.PropDescriptor(string$.DesignMStCes); - C.List_8iF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_a9d, C.PropDescriptor_gkc0, C.PropDescriptor_gg9, C.PropDescriptor_Q4o0, C.PropDescriptor_a9d0, C.PropDescriptor_qpT, C.PropDescriptor_oEy, C.PropDescriptor_gc6, C.PropDescriptor_9OB]), type$.JSArray_legacy_PropDescriptor); - C.List_wNz = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandCreatingPropsMixin.helix", string$.DesignMStCef, "DesignMainStrandCreatingPropsMixin.start", "DesignMainStrandCreatingPropsMixin.end", "DesignMainStrandCreatingPropsMixin.color", string$.DesignMStCeh, string$.DesignMStCegr, string$.DesignMStCege, string$.DesignMStCes]), type$.JSArray_legacy_String); - C.PropsMeta_mJx = new S.PropsMeta(C.List_8iF, C.List_wNz); - C.Map_2e2Vk = new H.GeneralConstantMap([C.Type_y1j, C.PropsMeta_mJx, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_EditAndSelectModesProps_Y2Z = H.typeLiteral("EditAndSelectModesProps"); - C.PropDescriptor_988 = new S.PropDescriptor("EditAndSelectModesProps.edit_modes"); - C.PropDescriptor_6qE = new S.PropDescriptor(string$.EditAns); - C.PropDescriptor_iL9 = new S.PropDescriptor("EditAndSelectModesProps.is_origami"); - C.PropDescriptor_UNt = new S.PropDescriptor(string$.EditAne); - C.List_yw9 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_988, C.PropDescriptor_6qE, C.PropDescriptor_iL9, C.PropDescriptor_UNt]), type$.JSArray_legacy_PropDescriptor); - C.List_w23 = H.setRuntimeTypeInfo(makeConstList(["EditAndSelectModesProps.edit_modes", string$.EditAns, "EditAndSelectModesProps.is_origami", string$.EditAne]), type$.JSArray_legacy_String); - C.PropsMeta_sBE = new S.PropsMeta(C.List_yw9, C.List_w23); - C.Map_2foCX = new H.GeneralConstantMap([C.Type_EditAndSelectModesProps_Y2Z, C.PropsMeta_sBE], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_PotentialCrossoverViewProps_ytr = H.typeLiteral("PotentialCrossoverViewProps"); - C.PropDescriptor_2rE = new S.PropDescriptor(string$.PotentC); - C.PropDescriptor_23h = new S.PropDescriptor("PotentialCrossoverViewProps.id"); - C.List_5Eb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2rE, C.PropDescriptor_23h]), type$.JSArray_legacy_PropDescriptor); - C.List_9I8 = H.setRuntimeTypeInfo(makeConstList([string$.PotentC, "PotentialCrossoverViewProps.id"]), type$.JSArray_legacy_String); - C.PropsMeta_co5 = new S.PropsMeta(C.List_5Eb, C.List_9I8); - C.Map_2jmTs = new H.GeneralConstantMap([C.Type_PotentialCrossoverViewProps_ytr, C.PropsMeta_co5], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignSideRotationProps_oqF = H.typeLiteral("DesignSideRotationProps"); - C.PropDescriptor_EkO = new S.PropDescriptor("DesignSideRotationProps.radius"); - C.PropDescriptor_Aym = new S.PropDescriptor("DesignSideRotationProps.data"); - C.PropDescriptor_hqS = new S.PropDescriptor("DesignSideRotationProps.invert_y"); - C.List_8eb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EkO, C.PropDescriptor_Aym, C.PropDescriptor_hqS]), type$.JSArray_legacy_PropDescriptor); - C.List_ejq = H.setRuntimeTypeInfo(makeConstList(["DesignSideRotationProps.radius", "DesignSideRotationProps.data", "DesignSideRotationProps.invert_y"]), type$.JSArray_legacy_String); - C.PropsMeta_GBe = new S.PropsMeta(C.List_8eb, C.List_ejq); - C.Map_36wX4 = new H.GeneralConstantMap([C.Type_DesignSideRotationProps_oqF, C.PropsMeta_GBe], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_jzp = H.typeLiteral("DesignMainLoopoutExtensionLengthsProps"); - C.PropDescriptor_Isn = new S.PropDescriptor(string$.DesignMLEsg); - C.PropDescriptor_B8J = new S.PropDescriptor(string$.DesignMLEsst); - C.PropDescriptor_ide = new S.PropDescriptor(string$.DesignMLEssh); - C.List_Yap0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Isn, C.PropDescriptor_B8J, C.PropDescriptor_ide]), type$.JSArray_legacy_PropDescriptor); - C.List_gkc = H.setRuntimeTypeInfo(makeConstList([string$.DesignMLEsg, string$.DesignMLEsst, string$.DesignMLEssh]), type$.JSArray_legacy_String); - C.PropsMeta_YXH = new S.PropsMeta(C.List_Yap0, C.List_gkc); - C.Map_46xLp = new H.GeneralConstantMap([C.Type_jzp, C.PropsMeta_YXH], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainHelixProps_Q06 = H.typeLiteral("DesignMainHelixProps"); - C.PropDescriptor_P5P = new S.PropDescriptor("DesignMainHelixProps.helix"); - C.PropDescriptor_OPy = new S.PropDescriptor("DesignMainHelixProps.selected"); - C.PropDescriptor_3BT = new S.PropDescriptor("DesignMainHelixProps.view_order"); - C.PropDescriptor_2jN = new S.PropDescriptor(string$.DesignMHxs); - C.PropDescriptor_a9d1 = new S.PropDescriptor(string$.DesignMHxmo); - C.PropDescriptor_Gps = new S.PropDescriptor(string$.DesignMHxmw); - C.PropDescriptor_CKW = new S.PropDescriptor(string$.DesignMHxh); - C.PropDescriptor_6dl = new S.PropDescriptor("DesignMainHelixProps.show_dna"); - C.PropDescriptor_c8w = new S.PropDescriptor("DesignMainHelixProps.show_domain_labels"); - C.PropDescriptor_2No = new S.PropDescriptor(string$.DesignMHxdb); - C.PropDescriptor_Ucj = new S.PropDescriptor(string$.DesignMHxdm); - C.PropDescriptor_Iwp = new S.PropDescriptor("DesignMainHelixProps.show_helix_circles"); - C.PropDescriptor_nil = new S.PropDescriptor("DesignMainHelixProps.helix_svg_position"); - C.List_hsC = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_P5P, C.PropDescriptor_OPy, C.PropDescriptor_3BT, C.PropDescriptor_2jN, C.PropDescriptor_a9d1, C.PropDescriptor_Gps, C.PropDescriptor_CKW, C.PropDescriptor_6dl, C.PropDescriptor_c8w, C.PropDescriptor_2No, C.PropDescriptor_Ucj, C.PropDescriptor_Iwp, C.PropDescriptor_nil]), type$.JSArray_legacy_PropDescriptor); - C.List_y5m = H.setRuntimeTypeInfo(makeConstList(["DesignMainHelixProps.helix", "DesignMainHelixProps.selected", "DesignMainHelixProps.view_order", string$.DesignMHxs, string$.DesignMHxmo, string$.DesignMHxmw, string$.DesignMHxh, "DesignMainHelixProps.show_dna", "DesignMainHelixProps.show_domain_labels", string$.DesignMHxdb, string$.DesignMHxdm, "DesignMainHelixProps.show_helix_circles", "DesignMainHelixProps.helix_svg_position"]), type$.JSArray_legacy_String); - C.PropsMeta_sCO = new S.PropsMeta(C.List_hsC, C.List_y5m); - C.Map_4qL5U = new H.GeneralConstantMap([C.Type_DesignMainHelixProps_Q06, C.PropsMeta_sCO], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignContextSubmenuProps_sxB = H.typeLiteral("DesignContextSubmenuProps"); - C.PropDescriptor_IZS = new S.PropDescriptor("DesignContextSubmenuProps.context_menu"); - C.List_nV5 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IZS]), type$.JSArray_legacy_PropDescriptor); - C.List_iDY = H.setRuntimeTypeInfo(makeConstList(["DesignContextSubmenuProps.context_menu"]), type$.JSArray_legacy_String); - C.PropsMeta_0fX = new S.PropsMeta(C.List_nV5, C.List_iDY); - C.Map_5a3n5 = new H.GeneralConstantMap([C.Type_DesignContextSubmenuProps_sxB, C.PropsMeta_0fX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainBasePairLinesProps_1O8 = H.typeLiteral("DesignMainBasePairLinesProps"); - C.PropDescriptor_qJ4 = new S.PropDescriptor(string$.DesignMBLw); - C.PropDescriptor_AgZ = new S.PropDescriptor("DesignMainBasePairLinesProps.design"); - C.PropDescriptor_nlp = new S.PropDescriptor(string$.DesignMBLo); - C.PropDescriptor_Iwp0 = new S.PropDescriptor(string$.DesignMBLs); - C.PropDescriptor_tIQ = new S.PropDescriptor(string$.DesignMBLh); - C.List_mt1 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_qJ4, C.PropDescriptor_AgZ, C.PropDescriptor_nlp, C.PropDescriptor_Iwp0, C.PropDescriptor_tIQ]), type$.JSArray_legacy_PropDescriptor); - C.List_YIF = H.setRuntimeTypeInfo(makeConstList([string$.DesignMBLw, "DesignMainBasePairLinesProps.design", string$.DesignMBLo, string$.DesignMBLs, string$.DesignMBLh]), type$.JSArray_legacy_String); - C.PropsMeta_0yw = new S.PropsMeta(C.List_mt1, C.List_YIF); - C.Map_67ECL = new H.GeneralConstantMap([C.Type_DesignMainBasePairLinesProps_1O8, C.PropsMeta_0yw], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainStrandsMovingProps_MCv = H.typeLiteral("DesignMainStrandsMovingProps"); - C.PropDescriptor_qJx = new S.PropDescriptor(string$.DesignMStsMst); - C.PropDescriptor_CSI = new S.PropDescriptor(string$.DesignMStsMo); - C.PropDescriptor_M6i = new S.PropDescriptor(string$.DesignMStsMc); - C.PropDescriptor_8Gl = new S.PropDescriptor("DesignMainStrandsMovingProps.helices"); - C.PropDescriptor_GRA = new S.PropDescriptor("DesignMainStrandsMovingProps.groups"); - C.PropDescriptor_00 = new S.PropDescriptor(string$.DesignMStsMsi); - C.PropDescriptor_ZoA = new S.PropDescriptor("DesignMainStrandsMovingProps.geometry"); - C.PropDescriptor_lG3 = new S.PropDescriptor(string$.DesignMStsMh); - C.List_86y0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_qJx, C.PropDescriptor_CSI, C.PropDescriptor_M6i, C.PropDescriptor_8Gl, C.PropDescriptor_GRA, C.PropDescriptor_00, C.PropDescriptor_ZoA, C.PropDescriptor_lG3]), type$.JSArray_legacy_PropDescriptor); - C.List_8Aq = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStsMst, string$.DesignMStsMo, string$.DesignMStsMc, "DesignMainStrandsMovingProps.helices", "DesignMainStrandsMovingProps.groups", string$.DesignMStsMsi, "DesignMainStrandsMovingProps.geometry", string$.DesignMStsMh]), type$.JSArray_legacy_String); - C.PropsMeta_cJC = new S.PropsMeta(C.List_86y0, C.List_8Aq); - C.Map_6VgCs = new H.GeneralConstantMap([C.Type_DesignMainStrandsMovingProps_MCv, C.PropsMeta_cJC], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.List_ACQ = H.setRuntimeTypeInfo(makeConstList(["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", "darkgreen", "darkgrey", "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", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "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", "rebeccapurple", "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"]), type$.JSArray_legacy_String); - C.RgbColor_240_248_255 = new S.RgbColor(240, 248, 255); - C.RgbColor_250_235_215 = new S.RgbColor(250, 235, 215); - C.RgbColor_0_255_255 = new S.RgbColor(0, 255, 255); - C.RgbColor_127_255_212 = new S.RgbColor(127, 255, 212); - C.RgbColor_240_255_255 = new S.RgbColor(240, 255, 255); - C.RgbColor_245_245_220 = new S.RgbColor(245, 245, 220); - C.RgbColor_255_228_196 = new S.RgbColor(255, 228, 196); - C.RgbColor_0_0_0 = new S.RgbColor(0, 0, 0); - C.RgbColor_255_235_205 = new S.RgbColor(255, 235, 205); - C.RgbColor_0_0_255 = new S.RgbColor(0, 0, 255); - C.RgbColor_138_43_226 = new S.RgbColor(138, 43, 226); - C.RgbColor_165_42_42 = new S.RgbColor(165, 42, 42); - C.RgbColor_222_184_135 = new S.RgbColor(222, 184, 135); - C.RgbColor_95_158_160 = new S.RgbColor(95, 158, 160); - C.RgbColor_127_255_0 = new S.RgbColor(127, 255, 0); - C.RgbColor_210_105_30 = new S.RgbColor(210, 105, 30); - C.RgbColor_255_127_80 = new S.RgbColor(255, 127, 80); - C.RgbColor_100_149_237 = new S.RgbColor(100, 149, 237); - C.RgbColor_255_248_220 = new S.RgbColor(255, 248, 220); - C.RgbColor_220_20_60 = new S.RgbColor(220, 20, 60); - C.RgbColor_0_0_139 = new S.RgbColor(0, 0, 139); - C.RgbColor_0_139_139 = new S.RgbColor(0, 139, 139); - C.RgbColor_184_134_11 = new S.RgbColor(184, 134, 11); - C.RgbColor_169_169_169 = new S.RgbColor(169, 169, 169); - C.RgbColor_0_100_0 = new S.RgbColor(0, 100, 0); - C.RgbColor_189_183_107 = new S.RgbColor(189, 183, 107); - C.RgbColor_139_0_139 = new S.RgbColor(139, 0, 139); - C.RgbColor_85_107_47 = new S.RgbColor(85, 107, 47); - C.RgbColor_255_140_0 = new S.RgbColor(255, 140, 0); - C.RgbColor_153_50_204 = new S.RgbColor(153, 50, 204); - C.RgbColor_139_0_0 = new S.RgbColor(139, 0, 0); - C.RgbColor_233_150_122 = new S.RgbColor(233, 150, 122); - C.RgbColor_143_188_143 = new S.RgbColor(143, 188, 143); - C.RgbColor_72_61_139 = new S.RgbColor(72, 61, 139); - C.RgbColor_47_79_79 = new S.RgbColor(47, 79, 79); - C.RgbColor_0_206_209 = new S.RgbColor(0, 206, 209); - C.RgbColor_148_0_211 = new S.RgbColor(148, 0, 211); - C.RgbColor_255_20_147 = new S.RgbColor(255, 20, 147); - C.RgbColor_0_191_255 = new S.RgbColor(0, 191, 255); - C.RgbColor_105_105_105 = new S.RgbColor(105, 105, 105); - C.RgbColor_30_144_255 = new S.RgbColor(30, 144, 255); - C.RgbColor_178_34_34 = new S.RgbColor(178, 34, 34); - C.RgbColor_255_250_240 = new S.RgbColor(255, 250, 240); - C.RgbColor_34_139_34 = new S.RgbColor(34, 139, 34); - C.RgbColor_255_0_255 = new S.RgbColor(255, 0, 255); - C.RgbColor_220_220_220 = new S.RgbColor(220, 220, 220); - C.RgbColor_248_248_255 = new S.RgbColor(248, 248, 255); - C.RgbColor_255_215_0 = new S.RgbColor(255, 215, 0); - C.RgbColor_218_165_32 = new S.RgbColor(218, 165, 32); - C.RgbColor_128_128_128 = new S.RgbColor(128, 128, 128); - C.RgbColor_0_128_0 = new S.RgbColor(0, 128, 0); - C.RgbColor_173_255_47 = new S.RgbColor(173, 255, 47); - C.RgbColor_240_255_240 = new S.RgbColor(240, 255, 240); - C.RgbColor_255_105_180 = new S.RgbColor(255, 105, 180); - C.RgbColor_205_92_92 = new S.RgbColor(205, 92, 92); - C.RgbColor_75_0_130 = new S.RgbColor(75, 0, 130); - C.RgbColor_255_255_240 = new S.RgbColor(255, 255, 240); - C.RgbColor_240_230_140 = new S.RgbColor(240, 230, 140); - C.RgbColor_230_230_250 = new S.RgbColor(230, 230, 250); - C.RgbColor_255_240_245 = new S.RgbColor(255, 240, 245); - C.RgbColor_124_252_0 = new S.RgbColor(124, 252, 0); - C.RgbColor_255_250_205 = new S.RgbColor(255, 250, 205); - C.RgbColor_173_216_230 = new S.RgbColor(173, 216, 230); - C.RgbColor_240_128_128 = new S.RgbColor(240, 128, 128); - C.RgbColor_224_255_255 = new S.RgbColor(224, 255, 255); - C.RgbColor_250_250_210 = new S.RgbColor(250, 250, 210); - C.RgbColor_211_211_211 = new S.RgbColor(211, 211, 211); - C.RgbColor_144_238_144 = new S.RgbColor(144, 238, 144); - C.RgbColor_255_182_193 = new S.RgbColor(255, 182, 193); - C.RgbColor_255_160_122 = new S.RgbColor(255, 160, 122); - C.RgbColor_32_178_170 = new S.RgbColor(32, 178, 170); - C.RgbColor_135_206_250 = new S.RgbColor(135, 206, 250); - C.RgbColor_119_136_153 = new S.RgbColor(119, 136, 153); - C.RgbColor_176_196_222 = new S.RgbColor(176, 196, 222); - C.RgbColor_255_255_224 = new S.RgbColor(255, 255, 224); - C.RgbColor_0_255_0 = new S.RgbColor(0, 255, 0); - C.RgbColor_50_205_50 = new S.RgbColor(50, 205, 50); - C.RgbColor_250_240_230 = new S.RgbColor(250, 240, 230); - C.RgbColor_128_0_0 = new S.RgbColor(128, 0, 0); - C.RgbColor_102_205_170 = new S.RgbColor(102, 205, 170); - C.RgbColor_0_0_205 = new S.RgbColor(0, 0, 205); - C.RgbColor_186_85_211 = new S.RgbColor(186, 85, 211); - C.RgbColor_147_112_219 = new S.RgbColor(147, 112, 219); - C.RgbColor_60_179_113 = new S.RgbColor(60, 179, 113); - C.RgbColor_123_104_238 = new S.RgbColor(123, 104, 238); - C.RgbColor_0_250_154 = new S.RgbColor(0, 250, 154); - C.RgbColor_72_209_204 = new S.RgbColor(72, 209, 204); - C.RgbColor_199_21_133 = new S.RgbColor(199, 21, 133); - C.RgbColor_25_25_112 = new S.RgbColor(25, 25, 112); - C.RgbColor_245_255_250 = new S.RgbColor(245, 255, 250); - C.RgbColor_255_228_225 = new S.RgbColor(255, 228, 225); - C.RgbColor_255_228_181 = new S.RgbColor(255, 228, 181); - C.RgbColor_255_222_173 = new S.RgbColor(255, 222, 173); - C.RgbColor_0_0_128 = new S.RgbColor(0, 0, 128); - C.RgbColor_253_245_230 = new S.RgbColor(253, 245, 230); - C.RgbColor_128_128_0 = new S.RgbColor(128, 128, 0); - C.RgbColor_107_142_35 = new S.RgbColor(107, 142, 35); - C.RgbColor_255_165_0 = new S.RgbColor(255, 165, 0); - C.RgbColor_255_69_0 = new S.RgbColor(255, 69, 0); - C.RgbColor_218_112_214 = new S.RgbColor(218, 112, 214); - C.RgbColor_238_232_170 = new S.RgbColor(238, 232, 170); - C.RgbColor_152_251_152 = new S.RgbColor(152, 251, 152); - C.RgbColor_175_238_238 = new S.RgbColor(175, 238, 238); - C.RgbColor_219_112_147 = new S.RgbColor(219, 112, 147); - C.RgbColor_255_239_213 = new S.RgbColor(255, 239, 213); - C.RgbColor_255_218_185 = new S.RgbColor(255, 218, 185); - C.RgbColor_205_133_63 = new S.RgbColor(205, 133, 63); - C.RgbColor_255_192_203 = new S.RgbColor(255, 192, 203); - C.RgbColor_221_160_221 = new S.RgbColor(221, 160, 221); - C.RgbColor_176_224_230 = new S.RgbColor(176, 224, 230); - C.RgbColor_128_0_128 = new S.RgbColor(128, 0, 128); - C.RgbColor_102_51_153 = new S.RgbColor(102, 51, 153); - C.RgbColor_255_0_0 = new S.RgbColor(255, 0, 0); - C.RgbColor_188_143_143 = new S.RgbColor(188, 143, 143); - C.RgbColor_65_105_225 = new S.RgbColor(65, 105, 225); - C.RgbColor_139_69_19 = new S.RgbColor(139, 69, 19); - C.RgbColor_250_128_114 = new S.RgbColor(250, 128, 114); - C.RgbColor_244_164_96 = new S.RgbColor(244, 164, 96); - C.RgbColor_46_139_87 = new S.RgbColor(46, 139, 87); - C.RgbColor_255_245_238 = new S.RgbColor(255, 245, 238); - C.RgbColor_160_82_45 = new S.RgbColor(160, 82, 45); - C.RgbColor_192_192_192 = new S.RgbColor(192, 192, 192); - C.RgbColor_135_206_235 = new S.RgbColor(135, 206, 235); - C.RgbColor_106_90_205 = new S.RgbColor(106, 90, 205); - C.RgbColor_112_128_144 = new S.RgbColor(112, 128, 144); - C.RgbColor_255_250_250 = new S.RgbColor(255, 250, 250); - C.RgbColor_0_255_127 = new S.RgbColor(0, 255, 127); - C.RgbColor_70_130_180 = new S.RgbColor(70, 130, 180); - C.RgbColor_210_180_140 = new S.RgbColor(210, 180, 140); - C.RgbColor_0_128_128 = new S.RgbColor(0, 128, 128); - C.RgbColor_216_191_216 = new S.RgbColor(216, 191, 216); - C.RgbColor_255_99_71 = new S.RgbColor(255, 99, 71); - C.RgbColor_64_224_208 = new S.RgbColor(64, 224, 208); - C.RgbColor_238_130_238 = new S.RgbColor(238, 130, 238); - C.RgbColor_245_222_179 = new S.RgbColor(245, 222, 179); - C.RgbColor_255_255_255 = new S.RgbColor(255, 255, 255); - C.RgbColor_245_245_245 = new S.RgbColor(245, 245, 245); - C.RgbColor_255_255_0 = new S.RgbColor(255, 255, 0); - C.RgbColor_154_205_50 = new S.RgbColor(154, 205, 50); - C.Map_ACwDL = new H.ConstantStringMap(148, {aliceblue: C.RgbColor_240_248_255, antiquewhite: C.RgbColor_250_235_215, aqua: C.RgbColor_0_255_255, aquamarine: C.RgbColor_127_255_212, azure: C.RgbColor_240_255_255, beige: C.RgbColor_245_245_220, bisque: C.RgbColor_255_228_196, black: C.RgbColor_0_0_0, blanchedalmond: C.RgbColor_255_235_205, blue: C.RgbColor_0_0_255, blueviolet: C.RgbColor_138_43_226, brown: C.RgbColor_165_42_42, burlywood: C.RgbColor_222_184_135, cadetblue: C.RgbColor_95_158_160, chartreuse: C.RgbColor_127_255_0, chocolate: C.RgbColor_210_105_30, coral: C.RgbColor_255_127_80, cornflowerblue: C.RgbColor_100_149_237, cornsilk: C.RgbColor_255_248_220, crimson: C.RgbColor_220_20_60, cyan: C.RgbColor_0_255_255, darkblue: C.RgbColor_0_0_139, darkcyan: C.RgbColor_0_139_139, darkgoldenrod: C.RgbColor_184_134_11, darkgray: C.RgbColor_169_169_169, darkgreen: C.RgbColor_0_100_0, darkgrey: C.RgbColor_169_169_169, darkkhaki: C.RgbColor_189_183_107, darkmagenta: C.RgbColor_139_0_139, darkolivegreen: C.RgbColor_85_107_47, darkorange: C.RgbColor_255_140_0, darkorchid: C.RgbColor_153_50_204, darkred: C.RgbColor_139_0_0, darksalmon: C.RgbColor_233_150_122, darkseagreen: C.RgbColor_143_188_143, darkslateblue: C.RgbColor_72_61_139, darkslategray: C.RgbColor_47_79_79, darkslategrey: C.RgbColor_47_79_79, darkturquoise: C.RgbColor_0_206_209, darkviolet: C.RgbColor_148_0_211, deeppink: C.RgbColor_255_20_147, deepskyblue: C.RgbColor_0_191_255, dimgray: C.RgbColor_105_105_105, dimgrey: C.RgbColor_105_105_105, dodgerblue: C.RgbColor_30_144_255, firebrick: C.RgbColor_178_34_34, floralwhite: C.RgbColor_255_250_240, forestgreen: C.RgbColor_34_139_34, fuchsia: C.RgbColor_255_0_255, gainsboro: C.RgbColor_220_220_220, ghostwhite: C.RgbColor_248_248_255, gold: C.RgbColor_255_215_0, goldenrod: C.RgbColor_218_165_32, gray: C.RgbColor_128_128_128, green: C.RgbColor_0_128_0, greenyellow: C.RgbColor_173_255_47, grey: C.RgbColor_128_128_128, honeydew: C.RgbColor_240_255_240, hotpink: C.RgbColor_255_105_180, indianred: C.RgbColor_205_92_92, indigo: C.RgbColor_75_0_130, ivory: C.RgbColor_255_255_240, khaki: C.RgbColor_240_230_140, lavender: C.RgbColor_230_230_250, lavenderblush: C.RgbColor_255_240_245, lawngreen: C.RgbColor_124_252_0, lemonchiffon: C.RgbColor_255_250_205, lightblue: C.RgbColor_173_216_230, lightcoral: C.RgbColor_240_128_128, lightcyan: C.RgbColor_224_255_255, lightgoldenrodyellow: C.RgbColor_250_250_210, lightgray: C.RgbColor_211_211_211, lightgreen: C.RgbColor_144_238_144, lightgrey: C.RgbColor_211_211_211, lightpink: C.RgbColor_255_182_193, lightsalmon: C.RgbColor_255_160_122, lightseagreen: C.RgbColor_32_178_170, lightskyblue: C.RgbColor_135_206_250, lightslategray: C.RgbColor_119_136_153, lightslategrey: C.RgbColor_119_136_153, lightsteelblue: C.RgbColor_176_196_222, lightyellow: C.RgbColor_255_255_224, lime: C.RgbColor_0_255_0, limegreen: C.RgbColor_50_205_50, linen: C.RgbColor_250_240_230, magenta: C.RgbColor_255_0_255, maroon: C.RgbColor_128_0_0, mediumaquamarine: C.RgbColor_102_205_170, mediumblue: C.RgbColor_0_0_205, mediumorchid: C.RgbColor_186_85_211, mediumpurple: C.RgbColor_147_112_219, mediumseagreen: C.RgbColor_60_179_113, mediumslateblue: C.RgbColor_123_104_238, mediumspringgreen: C.RgbColor_0_250_154, mediumturquoise: C.RgbColor_72_209_204, mediumvioletred: C.RgbColor_199_21_133, midnightblue: C.RgbColor_25_25_112, mintcream: C.RgbColor_245_255_250, mistyrose: C.RgbColor_255_228_225, moccasin: C.RgbColor_255_228_181, navajowhite: C.RgbColor_255_222_173, navy: C.RgbColor_0_0_128, oldlace: C.RgbColor_253_245_230, olive: C.RgbColor_128_128_0, olivedrab: C.RgbColor_107_142_35, orange: C.RgbColor_255_165_0, orangered: C.RgbColor_255_69_0, orchid: C.RgbColor_218_112_214, palegoldenrod: C.RgbColor_238_232_170, palegreen: C.RgbColor_152_251_152, paleturquoise: C.RgbColor_175_238_238, palevioletred: C.RgbColor_219_112_147, papayawhip: C.RgbColor_255_239_213, peachpuff: C.RgbColor_255_218_185, peru: C.RgbColor_205_133_63, pink: C.RgbColor_255_192_203, plum: C.RgbColor_221_160_221, powderblue: C.RgbColor_176_224_230, purple: C.RgbColor_128_0_128, rebeccapurple: C.RgbColor_102_51_153, red: C.RgbColor_255_0_0, rosybrown: C.RgbColor_188_143_143, royalblue: C.RgbColor_65_105_225, saddlebrown: C.RgbColor_139_69_19, salmon: C.RgbColor_250_128_114, sandybrown: C.RgbColor_244_164_96, seagreen: C.RgbColor_46_139_87, seashell: C.RgbColor_255_245_238, sienna: C.RgbColor_160_82_45, silver: C.RgbColor_192_192_192, skyblue: C.RgbColor_135_206_235, slateblue: C.RgbColor_106_90_205, slategray: C.RgbColor_112_128_144, slategrey: C.RgbColor_112_128_144, snow: C.RgbColor_255_250_250, springgreen: C.RgbColor_0_255_127, steelblue: C.RgbColor_70_130_180, tan: C.RgbColor_210_180_140, teal: C.RgbColor_0_128_128, thistle: C.RgbColor_216_191_216, tomato: C.RgbColor_255_99_71, turquoise: C.RgbColor_64_224_208, violet: C.RgbColor_238_130_238, wheat: C.RgbColor_245_222_179, white: C.RgbColor_255_255_255, whitesmoke: C.RgbColor_245_245_245, yellow: C.RgbColor_255_255_0, yellowgreen: C.RgbColor_154_205_50}, C.List_ACQ, H.findType("ConstantStringMap")); - C.Type_nuu = H.typeLiteral("DesignMainStrandDeletionPropsMixin"); - C.PropDescriptor_8KD = new S.PropDescriptor(string$.DesignMStDesea); - C.PropDescriptor_wW3 = new S.PropDescriptor("DesignMainStrandDeletionPropsMixin.helix"); - C.PropDescriptor_01 = new S.PropDescriptor(string$.DesignMStDet); - C.PropDescriptor_8eb = new S.PropDescriptor(string$.DesignMStDesee); - C.PropDescriptor_Odg = new S.PropDescriptor(string$.DesignMStDesv); - C.PropDescriptor_UWz = new S.PropDescriptor(string$.DesignMStDer); - C.List_UEo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_8KD, C.PropDescriptor_wW3, C.PropDescriptor_01, C.PropDescriptor_8eb, C.PropDescriptor_Odg, C.PropDescriptor_UWz]), type$.JSArray_legacy_PropDescriptor); - C.List_zwW = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStDesea, "DesignMainStrandDeletionPropsMixin.helix", string$.DesignMStDet, string$.DesignMStDesee, string$.DesignMStDesv, string$.DesignMStDer]), type$.JSArray_legacy_String); - C.PropsMeta_YfJ = new S.PropsMeta(C.List_UEo, C.List_zwW); - C.Map_AsCdv = new H.GeneralConstantMap([C.Type_nuu, C.PropsMeta_YfJ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_vdM = H.typeLiteral("DesignMainPotentialVerticalCrossoversProps"); - C.PropDescriptor_2Qn = new S.PropDescriptor(string$.DesignMPosp); - C.PropDescriptor_ynv = new S.PropDescriptor(string$.DesignMPoshc); - C.PropDescriptor_c0h = new S.PropDescriptor(string$.DesignMPosgr); - C.PropDescriptor_gUw = new S.PropDescriptor(string$.DesignMPosge); - C.PropDescriptor_Cxl = new S.PropDescriptor(string$.DesignMPoso); - C.PropDescriptor_YyH = new S.PropDescriptor(string$.DesignMPoss); - C.PropDescriptor_eXR = new S.PropDescriptor(string$.DesignMPoshx); - C.List_eVB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2Qn, C.PropDescriptor_ynv, C.PropDescriptor_c0h, C.PropDescriptor_gUw, C.PropDescriptor_Cxl, C.PropDescriptor_YyH, C.PropDescriptor_eXR]), type$.JSArray_legacy_PropDescriptor); - C.List_qJs = H.setRuntimeTypeInfo(makeConstList([string$.DesignMPosp, string$.DesignMPoshc, string$.DesignMPosgr, string$.DesignMPosge, string$.DesignMPoso, string$.DesignMPoss, string$.DesignMPoshx]), type$.JSArray_legacy_String); - C.PropsMeta_TS4 = new S.PropsMeta(C.List_eVB, C.List_qJs); - C.Map_C8A0L = new H.GeneralConstantMap([C.Type_vdM, C.PropsMeta_TS4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.List_CNb = H.setRuntimeTypeInfo(makeConstList(["filter", "stroke", "stroke-width", "visibility"]), type$.JSArray_legacy_String); - C.Map_CNaF8 = new H.ConstantStringMap(4, {filter: 'url("#shadow")', stroke: "black", "stroke-width": "1pt", visibility: "visible"}, C.List_CNb, type$.ConstantStringMap_of_legacy_String_and_legacy_String); - C.Type_DesignSideArrowsProps_2bL = H.typeLiteral("DesignSideArrowsProps"); - C.PropDescriptor_6ra = new S.PropDescriptor("DesignSideArrowsProps.invert_y"); - C.PropDescriptor_6dL = new S.PropDescriptor(string$.DesignSA); - C.List_1YB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6ra, C.PropDescriptor_6dL]), type$.JSArray_legacy_PropDescriptor); - C.List_DyI = H.setRuntimeTypeInfo(makeConstList(["DesignSideArrowsProps.invert_y", string$.DesignSA]), type$.JSArray_legacy_String); - C.PropsMeta_StX = new S.PropsMeta(C.List_1YB, C.List_DyI); - C.Map_DRc9P = new H.GeneralConstantMap([C.Type_DesignSideArrowsProps_2bL, C.PropsMeta_StX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainDNAEndPropsMixin_xHq = H.typeLiteral("DesignMainDNAEndPropsMixin"); - C.PropDescriptor_0SZ = new S.PropDescriptor("DesignMainDNAEndPropsMixin.strand"); - C.PropDescriptor_GFX = new S.PropDescriptor("DesignMainDNAEndPropsMixin.domain"); - C.PropDescriptor_i78 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.ext"); - C.PropDescriptor_yHZ0 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.strand_color"); - C.PropDescriptor_Me4 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.is_5p"); - C.PropDescriptor_mmR = new S.PropDescriptor("DesignMainDNAEndPropsMixin.is_scaffold"); - C.PropDescriptor_cWg = new S.PropDescriptor(string$.DesignMDNEi); - C.PropDescriptor_Hbf = new S.PropDescriptor("DesignMainDNAEndPropsMixin.transform"); - C.PropDescriptor_0Ke = new S.PropDescriptor("DesignMainDNAEndPropsMixin.helix"); - C.PropDescriptor_U71 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.group"); - C.PropDescriptor_uRK = new S.PropDescriptor("DesignMainDNAEndPropsMixin.geometry"); - C.PropDescriptor_qwW = new S.PropDescriptor("DesignMainDNAEndPropsMixin.selected"); - C.PropDescriptor_mdt = new S.PropDescriptor(string$.DesignMDNEc); - C.PropDescriptor_IqA = new S.PropDescriptor(string$.DesignMDNEd); - C.PropDescriptor_q1T = new S.PropDescriptor(string$.DesignMDNEm); - C.PropDescriptor_23h0 = new S.PropDescriptor(string$.DesignMDNEh); - C.PropDescriptor_W3w = new S.PropDescriptor(string$.DesignMDNEr); - C.List_MrF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_0SZ, C.PropDescriptor_GFX, C.PropDescriptor_i78, C.PropDescriptor_yHZ0, C.PropDescriptor_Me4, C.PropDescriptor_mmR, C.PropDescriptor_cWg, C.PropDescriptor_Hbf, C.PropDescriptor_0Ke, C.PropDescriptor_U71, C.PropDescriptor_uRK, C.PropDescriptor_qwW, C.PropDescriptor_mdt, C.PropDescriptor_IqA, C.PropDescriptor_q1T, C.PropDescriptor_23h0, C.PropDescriptor_W3w]), type$.JSArray_legacy_PropDescriptor); - C.List_gHO = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNAEndPropsMixin.strand", "DesignMainDNAEndPropsMixin.domain", "DesignMainDNAEndPropsMixin.ext", "DesignMainDNAEndPropsMixin.strand_color", "DesignMainDNAEndPropsMixin.is_5p", "DesignMainDNAEndPropsMixin.is_scaffold", string$.DesignMDNEi, "DesignMainDNAEndPropsMixin.transform", "DesignMainDNAEndPropsMixin.helix", "DesignMainDNAEndPropsMixin.group", "DesignMainDNAEndPropsMixin.geometry", "DesignMainDNAEndPropsMixin.selected", string$.DesignMDNEc, string$.DesignMDNEd, string$.DesignMDNEm, string$.DesignMDNEh, string$.DesignMDNEr]), type$.JSArray_legacy_String); - C.PropsMeta_g6t = new S.PropsMeta(C.List_MrF, C.List_gHO); - C.Map_EQPDw = new H.GeneralConstantMap([C.Type_DesignMainDNAEndPropsMixin_xHq, C.PropsMeta_g6t], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_ErrorBoundaryProps_LAZ = H.typeLiteral("ErrorBoundaryProps"); - C.PropDescriptor_Eb0 = new S.PropDescriptor("ErrorBoundaryProps.onComponentDidCatch"); - C.PropDescriptor_61T = new S.PropDescriptor(string$.ErrorBPo); - C.PropDescriptor_kvD = new S.PropDescriptor("ErrorBoundaryProps.fallbackUIRenderer"); - C.PropDescriptor_HVt = new S.PropDescriptor(string$.ErrorBPi); - C.PropDescriptor_qVK = new S.PropDescriptor("ErrorBoundaryProps.loggerName"); - C.PropDescriptor_MyV0 = new S.PropDescriptor("ErrorBoundaryProps.shouldLogErrors"); - C.PropDescriptor_oWp = new S.PropDescriptor("ErrorBoundaryProps.logger"); - C.List_ckJ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Eb0, C.PropDescriptor_61T, C.PropDescriptor_kvD, C.PropDescriptor_HVt, C.PropDescriptor_qVK, C.PropDescriptor_MyV0, C.PropDescriptor_oWp]), type$.JSArray_legacy_PropDescriptor); - C.List_gw4 = H.setRuntimeTypeInfo(makeConstList(["ErrorBoundaryProps.onComponentDidCatch", string$.ErrorBPo, "ErrorBoundaryProps.fallbackUIRenderer", string$.ErrorBPi, "ErrorBoundaryProps.loggerName", "ErrorBoundaryProps.shouldLogErrors", "ErrorBoundaryProps.logger"]), type$.JSArray_legacy_String); - C.PropsMeta_66y = new S.PropsMeta(C.List_ckJ, C.List_gw4); - C.Map_EU4AN = new H.GeneralConstantMap([C.Type_ErrorBoundaryProps_LAZ, C.PropsMeta_66y], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_SelectionBoxViewProps_kWM = H.typeLiteral("SelectionBoxViewProps"); - C.PropDescriptor_9sr = new S.PropDescriptor("SelectionBoxViewProps.selection_box"); - C.PropDescriptor_qZL = new S.PropDescriptor(string$.SelectB); - C.PropDescriptor_NoS = new S.PropDescriptor("SelectionBoxViewProps.id"); - C.PropDescriptor_O5s = new S.PropDescriptor("SelectionBoxViewProps.is_main"); - C.List_AKW = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_9sr, C.PropDescriptor_qZL, C.PropDescriptor_NoS, C.PropDescriptor_O5s]), type$.JSArray_legacy_PropDescriptor); - C.List_dAZ = H.setRuntimeTypeInfo(makeConstList(["SelectionBoxViewProps.selection_box", string$.SelectB, "SelectionBoxViewProps.id", "SelectionBoxViewProps.is_main"]), type$.JSArray_legacy_String); - C.PropsMeta_bWd = new S.PropsMeta(C.List_AKW, C.List_dAZ); - C.Map_Ek5C1 = new H.GeneralConstantMap([C.Type_SelectionBoxViewProps_kWM, C.PropsMeta_bWd], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_MenuDropdownItemPropsMixin_g78 = H.typeLiteral("MenuDropdownItemPropsMixin"); - C.PropDescriptor_yHT = new S.PropDescriptor("MenuDropdownItemPropsMixin.display"); - C.PropDescriptor_AgZ0 = new S.PropDescriptor("MenuDropdownItemPropsMixin.on_click"); - C.PropDescriptor_Rm5 = new S.PropDescriptor(string$.MenuDr); - C.PropDescriptor_U4G = new S.PropDescriptor("MenuDropdownItemPropsMixin.disabled"); - C.PropDescriptor_2jN0 = new S.PropDescriptor("MenuDropdownItemPropsMixin.active"); - C.PropDescriptor_Ekq = new S.PropDescriptor("MenuDropdownItemPropsMixin.tooltip"); - C.List_QPf = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_yHT, C.PropDescriptor_AgZ0, C.PropDescriptor_Rm5, C.PropDescriptor_U4G, C.PropDescriptor_2jN0, C.PropDescriptor_Ekq]), type$.JSArray_legacy_PropDescriptor); - C.List_8D4 = H.setRuntimeTypeInfo(makeConstList(["MenuDropdownItemPropsMixin.display", "MenuDropdownItemPropsMixin.on_click", string$.MenuDr, "MenuDropdownItemPropsMixin.disabled", "MenuDropdownItemPropsMixin.active", "MenuDropdownItemPropsMixin.tooltip"]), type$.JSArray_legacy_String); - C.PropsMeta_QGQ = new S.PropsMeta(C.List_QPf, C.List_8D4); - C.Map_FcoMM = new H.GeneralConstantMap([C.Type_MenuDropdownItemPropsMixin_g78, C.PropsMeta_QGQ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.List_GNi = H.setRuntimeTypeInfo(makeConstList(["stroke", "stroke-width"]), type$.JSArray_legacy_String); - C.Map_GN46y = new H.ConstantStringMap(2, {stroke: "hotpink", "stroke-width": "5pt"}, C.List_GNi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); - C.Type_MenuDropdownRightProps_APm = H.typeLiteral("MenuDropdownRightProps"); - C.PropDescriptor_6yz = new S.PropDescriptor("MenuDropdownRightProps.tooltip"); - C.PropDescriptor_Gf5 = new S.PropDescriptor("MenuDropdownRightProps.title"); - C.PropDescriptor_wa9 = new S.PropDescriptor("MenuDropdownRightProps.id"); - C.PropDescriptor_eTJ = new S.PropDescriptor("MenuDropdownRightProps.disallow_overflow"); - C.PropDescriptor_MIo = new S.PropDescriptor("MenuDropdownRightProps.disabled"); - C.PropDescriptor_FGd = new S.PropDescriptor("MenuDropdownRightProps.keyboard_shortcut"); - C.List_V86 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6yz, C.PropDescriptor_Gf5, C.PropDescriptor_wa9, C.PropDescriptor_eTJ, C.PropDescriptor_MIo, C.PropDescriptor_FGd]), type$.JSArray_legacy_PropDescriptor); - C.List_UAS = H.setRuntimeTypeInfo(makeConstList(["MenuDropdownRightProps.tooltip", "MenuDropdownRightProps.title", "MenuDropdownRightProps.id", "MenuDropdownRightProps.disallow_overflow", "MenuDropdownRightProps.disabled", "MenuDropdownRightProps.keyboard_shortcut"]), type$.JSArray_legacy_String); - C.PropsMeta_oas = new S.PropsMeta(C.List_V86, C.List_UAS); - C.Map_HPeUt = new H.GeneralConstantMap([C.Type_MenuDropdownRightProps_APm, C.PropsMeta_oas], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_ExtensionEndMovingProps_omH = H.typeLiteral("ExtensionEndMovingProps"); - C.PropDescriptor_UVN = new S.PropDescriptor("ExtensionEndMovingProps.dna_end"); - C.PropDescriptor_axY0 = new S.PropDescriptor("ExtensionEndMovingProps.ext"); - C.PropDescriptor_1KU = new S.PropDescriptor("ExtensionEndMovingProps.geometry"); - C.PropDescriptor_Dbk = new S.PropDescriptor("ExtensionEndMovingProps.attached_end_svg"); - C.PropDescriptor_06g = new S.PropDescriptor("ExtensionEndMovingProps.helix"); - C.PropDescriptor_06g0 = new S.PropDescriptor("ExtensionEndMovingProps.group"); - C.PropDescriptor_06g1 = new S.PropDescriptor("ExtensionEndMovingProps.color"); - C.PropDescriptor_EOZ = new S.PropDescriptor("ExtensionEndMovingProps.forward"); - C.PropDescriptor_06g2 = new S.PropDescriptor("ExtensionEndMovingProps.is_5p"); - C.PropDescriptor_kEm0 = new S.PropDescriptor("ExtensionEndMovingProps.allowable"); - C.PropDescriptor_wxU = new S.PropDescriptor("ExtensionEndMovingProps.current_point"); - C.PropDescriptor_gc60 = new S.PropDescriptor("ExtensionEndMovingProps.render"); - C.List_zr7 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_UVN, C.PropDescriptor_axY0, C.PropDescriptor_1KU, C.PropDescriptor_Dbk, C.PropDescriptor_06g, C.PropDescriptor_06g0, C.PropDescriptor_06g1, C.PropDescriptor_EOZ, C.PropDescriptor_06g2, C.PropDescriptor_kEm0, C.PropDescriptor_wxU, C.PropDescriptor_gc60]), type$.JSArray_legacy_PropDescriptor); - C.List_KFk = H.setRuntimeTypeInfo(makeConstList(["ExtensionEndMovingProps.dna_end", "ExtensionEndMovingProps.ext", "ExtensionEndMovingProps.geometry", "ExtensionEndMovingProps.attached_end_svg", "ExtensionEndMovingProps.helix", "ExtensionEndMovingProps.group", "ExtensionEndMovingProps.color", "ExtensionEndMovingProps.forward", "ExtensionEndMovingProps.is_5p", "ExtensionEndMovingProps.allowable", "ExtensionEndMovingProps.current_point", "ExtensionEndMovingProps.render"]), type$.JSArray_legacy_String); - C.PropsMeta_SVF = new S.PropsMeta(C.List_zr7, C.List_KFk); - C.Map_HYskt = new H.GeneralConstantMap([C.Type_ExtensionEndMovingProps_omH, C.PropsMeta_SVF], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignSideHelixProps_kSE = H.typeLiteral("DesignSideHelixProps"); - C.PropDescriptor_gg4 = new S.PropDescriptor("DesignSideHelixProps.helix"); - C.PropDescriptor_OPD = new S.PropDescriptor("DesignSideHelixProps.slice_bar_offset"); - C.PropDescriptor_EOZ0 = new S.PropDescriptor("DesignSideHelixProps.selected"); - C.PropDescriptor_EUT = new S.PropDescriptor("DesignSideHelixProps.mouse_is_over"); - C.PropDescriptor_UrL = new S.PropDescriptor(string$.DesignSHh); - C.PropDescriptor_Mup = new S.PropDescriptor(string$.DesignSHs); - C.PropDescriptor_UOW = new S.PropDescriptor("DesignSideHelixProps.invert_y"); - C.PropDescriptor_3xj = new S.PropDescriptor("DesignSideHelixProps.grid"); - C.PropDescriptor_Zqn = new S.PropDescriptor("DesignSideHelixProps.rotation_data"); - C.PropDescriptor_2No0 = new S.PropDescriptor("DesignSideHelixProps.edit_modes"); - C.List_ePe = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_gg4, C.PropDescriptor_OPD, C.PropDescriptor_EOZ0, C.PropDescriptor_EUT, C.PropDescriptor_UrL, C.PropDescriptor_Mup, C.PropDescriptor_UOW, C.PropDescriptor_3xj, C.PropDescriptor_Zqn, C.PropDescriptor_2No0]), type$.JSArray_legacy_PropDescriptor); - C.List_69P0 = H.setRuntimeTypeInfo(makeConstList(["DesignSideHelixProps.helix", "DesignSideHelixProps.slice_bar_offset", "DesignSideHelixProps.selected", "DesignSideHelixProps.mouse_is_over", string$.DesignSHh, string$.DesignSHs, "DesignSideHelixProps.invert_y", "DesignSideHelixProps.grid", "DesignSideHelixProps.rotation_data", "DesignSideHelixProps.edit_modes"]), type$.JSArray_legacy_String); - C.PropsMeta_nZd = new S.PropsMeta(C.List_ePe, C.List_69P0); - C.Map_IIA4m = new H.GeneralConstantMap([C.Type_DesignSideHelixProps_kSE, C.PropsMeta_nZd], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.XmlAttributeType_0 = new D.XmlAttributeType("XmlAttributeType.SINGLE_QUOTE"); - C.XmlAttributeType_1 = new D.XmlAttributeType("XmlAttributeType.DOUBLE_QUOTE"); - C.Map_IZFmR = new H.GeneralConstantMap([C.XmlAttributeType_0, "'", C.XmlAttributeType_1, '"'], H.findType("GeneralConstantMap")); - C.Type_DesignLoadingDialogProps_rSH = H.typeLiteral("DesignLoadingDialogProps"); - C.PropDescriptor_QPD = new S.PropDescriptor("DesignLoadingDialogProps.show"); - C.List_bvR = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_QPD]), type$.JSArray_legacy_PropDescriptor); - C.List_Gn1 = H.setRuntimeTypeInfo(makeConstList(["DesignLoadingDialogProps.show"]), type$.JSArray_legacy_String); - C.PropsMeta_Wbs = new S.PropsMeta(C.List_bvR, C.List_Gn1); - C.Map_KFCtt = new H.GeneralConstantMap([C.Type_DesignLoadingDialogProps_rSH, C.PropsMeta_Wbs], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainDNASequencesProps_MXq = H.typeLiteral("DesignMainDNASequencesProps"); - C.PropDescriptor_IG8 = new S.PropDescriptor("DesignMainDNASequencesProps.helices"); - C.PropDescriptor_EKW = new S.PropDescriptor("DesignMainDNASequencesProps.groups"); - C.PropDescriptor_86y = new S.PropDescriptor("DesignMainDNASequencesProps.geometry"); - C.PropDescriptor_ww8 = new S.PropDescriptor("DesignMainDNASequencesProps.strands"); - C.PropDescriptor_dmL = new S.PropDescriptor(string$.DesignMDNSss); - C.PropDescriptor_wIv = new S.PropDescriptor(string$.DesignMDNSsdnu); - C.PropDescriptor_Aq1 = new S.PropDescriptor(string$.DesignMDNSsdnh); - C.PropDescriptor_ASA = new S.PropDescriptor(string$.DesignMDNSsdnv); - C.PropDescriptor_Fwu = new S.PropDescriptor(string$.DesignMDNSsi); - C.PropDescriptor_Q4o1 = new S.PropDescriptor(string$.DesignMDNSse); - C.PropDescriptor_G3K = new S.PropDescriptor(string$.DesignMDNSso); - C.PropDescriptor_Q4o2 = new S.PropDescriptor(string$.DesignMDNSsh); - C.PropDescriptor_KST = new S.PropDescriptor(string$.DesignMDNSsdia); - C.PropDescriptor_QG5 = new S.PropDescriptor(string$.DesignMDNSsr); - C.PropDescriptor_ivT = new S.PropDescriptor(string$.DesignMDNSsdip); - C.List_KlB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IG8, C.PropDescriptor_EKW, C.PropDescriptor_86y, C.PropDescriptor_ww8, C.PropDescriptor_dmL, C.PropDescriptor_wIv, C.PropDescriptor_Aq1, C.PropDescriptor_ASA, C.PropDescriptor_Fwu, C.PropDescriptor_Q4o1, C.PropDescriptor_G3K, C.PropDescriptor_Q4o2, C.PropDescriptor_KST, C.PropDescriptor_QG5, C.PropDescriptor_ivT]), type$.JSArray_legacy_PropDescriptor); - C.List_chs = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNASequencesProps.helices", "DesignMainDNASequencesProps.groups", "DesignMainDNASequencesProps.geometry", "DesignMainDNASequencesProps.strands", string$.DesignMDNSss, string$.DesignMDNSsdnu, string$.DesignMDNSsdnh, string$.DesignMDNSsdnv, string$.DesignMDNSsi, string$.DesignMDNSse, string$.DesignMDNSso, string$.DesignMDNSsh, string$.DesignMDNSsdia, string$.DesignMDNSsr, string$.DesignMDNSsdip]), type$.JSArray_legacy_String); - C.PropsMeta_U0W = new S.PropsMeta(C.List_KlB, C.List_chs); - C.Map_KYQSU = new H.GeneralConstantMap([C.Type_DesignMainDNASequencesProps_MXq, C.PropsMeta_U0W], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainDomainsMovingProps_U06 = H.typeLiteral("DesignMainDomainsMovingProps"); - C.PropDescriptor_IFE = new S.PropDescriptor(string$.DesignMDosd); - C.PropDescriptor_wsf = new S.PropDescriptor(string$.DesignMDosco); - C.PropDescriptor_YM6 = new S.PropDescriptor(string$.DesignMDoso); - C.PropDescriptor_4CA0 = new S.PropDescriptor(string$.DesignMDoscu); - C.PropDescriptor_OtA = new S.PropDescriptor("DesignMainDomainsMovingProps.helices"); - C.PropDescriptor_USr = new S.PropDescriptor("DesignMainDomainsMovingProps.groups"); - C.PropDescriptor_uq7 = new S.PropDescriptor(string$.DesignMDoss); - C.PropDescriptor_ceN = new S.PropDescriptor("DesignMainDomainsMovingProps.geometry"); - C.PropDescriptor_sEt = new S.PropDescriptor(string$.DesignMDosh); - C.List_Oc0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IFE, C.PropDescriptor_wsf, C.PropDescriptor_YM6, C.PropDescriptor_4CA0, C.PropDescriptor_OtA, C.PropDescriptor_USr, C.PropDescriptor_uq7, C.PropDescriptor_ceN, C.PropDescriptor_sEt]), type$.JSArray_legacy_PropDescriptor); - C.List_ArU = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDosd, string$.DesignMDosco, string$.DesignMDoso, string$.DesignMDoscu, "DesignMainDomainsMovingProps.helices", "DesignMainDomainsMovingProps.groups", string$.DesignMDoss, "DesignMainDomainsMovingProps.geometry", string$.DesignMDosh]), type$.JSArray_legacy_String); - C.PropsMeta_gDj = new S.PropsMeta(C.List_Oc0, C.List_ArU); - C.Map_LBHde = new H.GeneralConstantMap([C.Type_DesignMainDomainsMovingProps_U06, C.PropsMeta_gDj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_QTB = H.typeLiteral("DesignMainStrandModificationsPropsMixin"); - C.PropDescriptor_KeI = new S.PropDescriptor(string$.DesignMStMdsst); - C.PropDescriptor_23h1 = new S.PropDescriptor(string$.DesignMStMdshc); - C.PropDescriptor_KeI0 = new S.PropDescriptor(string$.DesignMStMdsgr); - C.PropDescriptor_YHK = new S.PropDescriptor(string$.DesignMStMdsge); - C.PropDescriptor_89t = new S.PropDescriptor(string$.DesignMStMdssi); - C.PropDescriptor_JmU0 = new S.PropDescriptor(string$.DesignMStMdso); - C.PropDescriptor_1Cr = new S.PropDescriptor(string$.DesignMStMdsd); - C.PropDescriptor_IuH0 = new S.PropDescriptor(string$.DesignMStMdsf); - C.PropDescriptor_QE6 = new S.PropDescriptor(string$.DesignMStMdsse); - C.PropDescriptor_yXb = new S.PropDescriptor(string$.DesignMStMdshx); - C.PropDescriptor_gGN = new S.PropDescriptor(string$.DesignMStMdsr); - C.List_GjJ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_KeI, C.PropDescriptor_23h1, C.PropDescriptor_KeI0, C.PropDescriptor_YHK, C.PropDescriptor_89t, C.PropDescriptor_JmU0, C.PropDescriptor_1Cr, C.PropDescriptor_IuH0, C.PropDescriptor_QE6, C.PropDescriptor_yXb, C.PropDescriptor_gGN]), type$.JSArray_legacy_PropDescriptor); - C.List_iPb = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStMdsst, string$.DesignMStMdshc, string$.DesignMStMdsgr, string$.DesignMStMdsge, string$.DesignMStMdssi, string$.DesignMStMdso, string$.DesignMStMdsd, string$.DesignMStMdsf, string$.DesignMStMdsse, string$.DesignMStMdshx, string$.DesignMStMdsr]), type$.JSArray_legacy_String); - C.PropsMeta_NQk = new S.PropsMeta(C.List_GjJ, C.List_iPb); - C.Map_M6Tnb = new H.GeneralConstantMap([C.Type_QTB, C.PropsMeta_NQk, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignContextMenuProps_W5U = H.typeLiteral("DesignContextMenuProps"); - C.PropDescriptor_UWz0 = new S.PropDescriptor("DesignContextMenuProps.context_menu"); - C.List_aZ80 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_UWz0]), type$.JSArray_legacy_PropDescriptor); - C.List_yXb0 = H.setRuntimeTypeInfo(makeConstList(["DesignContextMenuProps.context_menu"]), type$.JSArray_legacy_String); - C.PropsMeta_JmU = new S.PropsMeta(C.List_aZ80, C.List_yXb0); - C.Map_MC6L0 = new H.GeneralConstantMap([C.Type_DesignContextMenuProps_W5U, C.PropsMeta_JmU], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignDialogFormProps_gkJ = H.typeLiteral("DesignDialogFormProps"); - C.PropDescriptor_I5l = new S.PropDescriptor("DesignDialogFormProps.dialog"); - C.List_U4d = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_I5l]), type$.JSArray_legacy_PropDescriptor); - C.List_RYF = H.setRuntimeTypeInfo(makeConstList(["DesignDialogFormProps.dialog"]), type$.JSArray_legacy_String); - C.PropsMeta_ujo = new S.PropsMeta(C.List_U4d, C.List_RYF); - C.Map_MIIFE = new H.GeneralConstantMap([C.Type_DesignDialogFormProps_gkJ, C.PropsMeta_ujo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignSideRotationArrowProps_bVZ = H.typeLiteral("DesignSideRotationArrowProps"); - C.PropDescriptor_6BT = new S.PropDescriptor(string$.DesignSR); - C.PropDescriptor_Ek9 = new S.PropDescriptor("DesignSideRotationArrowProps.radius"); - C.PropDescriptor_PVK = new S.PropDescriptor("DesignSideRotationArrowProps.color"); - C.PropDescriptor_IbN = new S.PropDescriptor("DesignSideRotationArrowProps.invert_y"); - C.List_irL = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6BT, C.PropDescriptor_Ek9, C.PropDescriptor_PVK, C.PropDescriptor_IbN]), type$.JSArray_legacy_PropDescriptor); - C.List_qNf = H.setRuntimeTypeInfo(makeConstList([string$.DesignSR, "DesignSideRotationArrowProps.radius", "DesignSideRotationArrowProps.color", "DesignSideRotationArrowProps.invert_y"]), type$.JSArray_legacy_String); - C.PropsMeta_sx4 = new S.PropsMeta(C.List_irL, C.List_qNf); - C.Map_OPgUw = new H.GeneralConstantMap([C.Type_DesignSideRotationArrowProps_bVZ, C.PropsMeta_sx4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.List_Ogi = H.setRuntimeTypeInfo(makeConstList(["filter", "stroke-width"]), type$.JSArray_legacy_String); - C.Map_OgmUV = new H.ConstantStringMap(2, {filter: 'url("#shadow")', "stroke-width": "5pt"}, C.List_Ogi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); - C.Type_DesignMainSliceBarProps_2fK = H.typeLiteral("DesignMainSliceBarProps"); - C.PropDescriptor_coJ = new S.PropDescriptor("DesignMainSliceBarProps.slice_bar_offset"); - C.PropDescriptor_YyH0 = new S.PropDescriptor(string$.DesignMSld); - C.PropDescriptor_wEo0 = new S.PropDescriptor(string$.DesignMSls); - C.PropDescriptor_fsw = new S.PropDescriptor("DesignMainSliceBarProps.groups"); - C.PropDescriptor_UIv = new S.PropDescriptor(string$.DesignMSlhs); - C.PropDescriptor_02 = new S.PropDescriptor("DesignMainSliceBarProps.helices"); - C.PropDescriptor_oyn = new S.PropDescriptor(string$.DesignMSlo); - C.PropDescriptor_43h = new S.PropDescriptor("DesignMainSliceBarProps.geometry"); - C.PropDescriptor_UsI = new S.PropDescriptor(string$.DesignMSlh_); - C.List_49I = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_coJ, C.PropDescriptor_YyH0, C.PropDescriptor_wEo0, C.PropDescriptor_fsw, C.PropDescriptor_UIv, C.PropDescriptor_02, C.PropDescriptor_oyn, C.PropDescriptor_43h, C.PropDescriptor_UsI]), type$.JSArray_legacy_PropDescriptor); - C.List_Djg = H.setRuntimeTypeInfo(makeConstList(["DesignMainSliceBarProps.slice_bar_offset", string$.DesignMSld, string$.DesignMSls, "DesignMainSliceBarProps.groups", string$.DesignMSlhs, "DesignMainSliceBarProps.helices", string$.DesignMSlo, "DesignMainSliceBarProps.geometry", string$.DesignMSlh_]), type$.JSArray_legacy_String); - C.PropsMeta_Exl = new S.PropsMeta(C.List_49I, C.List_Djg); - C.Map_Okkyu = new H.GeneralConstantMap([C.Type_DesignMainSliceBarProps_2fK, C.PropsMeta_Exl], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_MenuBooleanPropsMixin_mqK = H.typeLiteral("MenuBooleanPropsMixin"); - C.PropDescriptor_kGg = new S.PropDescriptor("MenuBooleanPropsMixin.value"); - C.PropDescriptor_kvp = new S.PropDescriptor("MenuBooleanPropsMixin.tooltip"); - C.PropDescriptor_IE7 = new S.PropDescriptor("MenuBooleanPropsMixin.display"); - C.PropDescriptor_jR6 = new S.PropDescriptor("MenuBooleanPropsMixin.onChange"); - C.PropDescriptor_IuH1 = new S.PropDescriptor("MenuBooleanPropsMixin.name"); - C.PropDescriptor_yLs = new S.PropDescriptor("MenuBooleanPropsMixin.hide"); - C.List_gUa = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_kGg, C.PropDescriptor_kvp, C.PropDescriptor_IE7, C.PropDescriptor_jR6, C.PropDescriptor_IuH1, C.PropDescriptor_yLs]), type$.JSArray_legacy_PropDescriptor); - C.List_ivD = H.setRuntimeTypeInfo(makeConstList(["MenuBooleanPropsMixin.value", "MenuBooleanPropsMixin.tooltip", "MenuBooleanPropsMixin.display", "MenuBooleanPropsMixin.onChange", "MenuBooleanPropsMixin.name", "MenuBooleanPropsMixin.hide"]), type$.JSArray_legacy_String); - C.PropsMeta_Aec = new S.PropsMeta(C.List_gUa, C.List_ivD); - C.Map_PES8J = new H.GeneralConstantMap([C.Type_MenuBooleanPropsMixin_mqK, C.PropsMeta_Aec], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_GC7 = H.typeLiteral("DesignMainDomainMovingPropsMixin"); - C.PropDescriptor_Drw = new S.PropDescriptor(string$.DesignMDoMdom); - C.PropDescriptor_EYt = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.color"); - C.PropDescriptor_29X = new S.PropDescriptor(string$.DesignMDoMo); - C.PropDescriptor_ODT = new S.PropDescriptor(string$.DesignMDoMc); - C.PropDescriptor_wMy = new S.PropDescriptor(string$.DesignMDoMs); - C.PropDescriptor_WQ8 = new S.PropDescriptor(string$.DesignMDoMdev); - C.PropDescriptor_slV = new S.PropDescriptor(string$.DesignMDoMdeo); - C.PropDescriptor_Snq = new S.PropDescriptor(string$.DesignMDoMdef); - C.PropDescriptor_AmY = new S.PropDescriptor(string$.DesignMDoMa); - C.PropDescriptor_GIS = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.helices"); - C.PropDescriptor_efV = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.groups"); - C.PropDescriptor_M9d = new S.PropDescriptor(string$.DesignMDoMg); - C.PropDescriptor_03 = new S.PropDescriptor(string$.DesignMDoMdoh); - C.List_q71 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Drw, C.PropDescriptor_EYt, C.PropDescriptor_29X, C.PropDescriptor_ODT, C.PropDescriptor_wMy, C.PropDescriptor_WQ8, C.PropDescriptor_slV, C.PropDescriptor_Snq, C.PropDescriptor_AmY, C.PropDescriptor_GIS, C.PropDescriptor_efV, C.PropDescriptor_M9d, C.PropDescriptor_03]), type$.JSArray_legacy_PropDescriptor); - C.List_w7k = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDoMdom, "DesignMainDomainMovingPropsMixin.color", string$.DesignMDoMo, string$.DesignMDoMc, string$.DesignMDoMs, string$.DesignMDoMdev, string$.DesignMDoMdeo, string$.DesignMDoMdef, string$.DesignMDoMa, "DesignMainDomainMovingPropsMixin.helices", "DesignMainDomainMovingPropsMixin.groups", string$.DesignMDoMg, string$.DesignMDoMdoh]), type$.JSArray_legacy_String); - C.PropsMeta_EoM = new S.PropsMeta(C.List_q71, C.List_w7k); - C.Map_QLeii = new H.GeneralConstantMap([C.Type_GC7, C.PropsMeta_EoM, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainStrandsProps_yEF = H.typeLiteral("DesignMainStrandsProps"); - C.PropDescriptor_0Ci = new S.PropDescriptor("DesignMainStrandsProps.strands"); - C.PropDescriptor_Vul = new S.PropDescriptor("DesignMainStrandsProps.helices"); - C.PropDescriptor_Cjg = new S.PropDescriptor("DesignMainStrandsProps.groups"); - C.PropDescriptor_yvr = new S.PropDescriptor(string$.DesignMStsPsi); - C.PropDescriptor_oGx = new S.PropDescriptor("DesignMainStrandsProps.selectables_store"); - C.PropDescriptor_OG5 = new S.PropDescriptor("DesignMainStrandsProps.show_dna"); - C.PropDescriptor_IMQ = new S.PropDescriptor(string$.DesignMStsPshm); - C.PropDescriptor_w3P = new S.PropDescriptor("DesignMainStrandsProps.show_strand_names"); - C.PropDescriptor_1Cr0 = new S.PropDescriptor(string$.DesignMStsPshs); - C.PropDescriptor_oyU = new S.PropDescriptor("DesignMainStrandsProps.show_domain_names"); - C.PropDescriptor_Jik = new S.PropDescriptor(string$.DesignMStsPshd); - C.PropDescriptor_AWu = new S.PropDescriptor(string$.DesignMStsPstn); - C.PropDescriptor_04 = new S.PropDescriptor(string$.DesignMStsPstl); - C.PropDescriptor_IqZ = new S.PropDescriptor(string$.DesignMStsPdon); - C.PropDescriptor_wEo1 = new S.PropDescriptor(string$.DesignMStsPdol); - C.PropDescriptor_8aB = new S.PropDescriptor(string$.DesignMStsPmf); - C.PropDescriptor_m1I = new S.PropDescriptor(string$.DesignMStsPdr); - C.PropDescriptor_Art = new S.PropDescriptor("DesignMainStrandsProps.moving_dna_ends"); - C.PropDescriptor_TzM = new S.PropDescriptor(string$.DesignMStsPdn); - C.PropDescriptor_UaF = new S.PropDescriptor(string$.DesignMStsPo); - C.PropDescriptor_wgt = new S.PropDescriptor(string$.DesignMStsPmd); - C.PropDescriptor_k0I = new S.PropDescriptor(string$.DesignMStsPdi); - C.PropDescriptor_9xB = new S.PropDescriptor("DesignMainStrandsProps.geometry"); - C.PropDescriptor_ASA0 = new S.PropDescriptor(string$.DesignMStsPh); - C.PropDescriptor_jvN = new S.PropDescriptor(string$.DesignMStsPr); - C.List_WjT = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_0Ci, C.PropDescriptor_Vul, C.PropDescriptor_Cjg, C.PropDescriptor_yvr, C.PropDescriptor_oGx, C.PropDescriptor_OG5, C.PropDescriptor_IMQ, C.PropDescriptor_w3P, C.PropDescriptor_1Cr0, C.PropDescriptor_oyU, C.PropDescriptor_Jik, C.PropDescriptor_AWu, C.PropDescriptor_04, C.PropDescriptor_IqZ, C.PropDescriptor_wEo1, C.PropDescriptor_8aB, C.PropDescriptor_m1I, C.PropDescriptor_Art, C.PropDescriptor_TzM, C.PropDescriptor_UaF, C.PropDescriptor_wgt, C.PropDescriptor_k0I, C.PropDescriptor_9xB, C.PropDescriptor_ASA0, C.PropDescriptor_jvN]), type$.JSArray_legacy_PropDescriptor); - C.List_B8J0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandsProps.strands", "DesignMainStrandsProps.helices", "DesignMainStrandsProps.groups", string$.DesignMStsPsi, "DesignMainStrandsProps.selectables_store", "DesignMainStrandsProps.show_dna", string$.DesignMStsPshm, "DesignMainStrandsProps.show_strand_names", string$.DesignMStsPshs, "DesignMainStrandsProps.show_domain_names", string$.DesignMStsPshd, string$.DesignMStsPstn, string$.DesignMStsPstl, string$.DesignMStsPdon, string$.DesignMStsPdol, string$.DesignMStsPmf, string$.DesignMStsPdr, "DesignMainStrandsProps.moving_dna_ends", string$.DesignMStsPdn, string$.DesignMStsPo, string$.DesignMStsPmd, string$.DesignMStsPdi, "DesignMainStrandsProps.geometry", string$.DesignMStsPh, string$.DesignMStsPr]), type$.JSArray_legacy_String); - C.PropsMeta_ciW = new S.PropsMeta(C.List_WjT, C.List_B8J0); - C.Map_S7AjA = new H.GeneralConstantMap([C.Type_DesignMainStrandsProps_yEF, C.PropsMeta_ciW], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainPropsMixin_8aB = H.typeLiteral("DesignMainPropsMixin"); - C.PropDescriptor_j7z = new S.PropDescriptor("DesignMainPropsMixin.design"); - C.PropDescriptor_kWj = new S.PropDescriptor(string$.DesignMPrp); - C.PropDescriptor_woc = new S.PropDescriptor(string$.DesignMPrsi); - C.PropDescriptor_EWB = new S.PropDescriptor("DesignMainPropsMixin.edit_modes"); - C.PropDescriptor_yT3 = new S.PropDescriptor("DesignMainPropsMixin.strands_move"); - C.PropDescriptor_y5u = new S.PropDescriptor("DesignMainPropsMixin.strand_creation"); - C.PropDescriptor_qNW = new S.PropDescriptor("DesignMainPropsMixin.has_error"); - C.PropDescriptor_c9P = new S.PropDescriptor("DesignMainPropsMixin.show_mismatches"); - C.PropDescriptor_qx4 = new S.PropDescriptor(string$.DesignMPrshd); - C.PropDescriptor_QW6 = new S.PropDescriptor(string$.DesignMPrshu); - C.PropDescriptor_W3K = new S.PropDescriptor("DesignMainPropsMixin.show_dna"); - C.PropDescriptor_U43 = new S.PropDescriptor(string$.DesignMPrb); - C.PropDescriptor_M2b = new S.PropDescriptor(string$.DesignMPrshb); - C.PropDescriptor_2fE = new S.PropDescriptor(string$.DesignMPrshb_); - C.PropDescriptor_L1t = new S.PropDescriptor("DesignMainPropsMixin.show_domain_names"); - C.PropDescriptor_L1t0 = new S.PropDescriptor("DesignMainPropsMixin.show_strand_names"); - C.PropDescriptor_qFu = new S.PropDescriptor(string$.DesignMPrdo); - C.PropDescriptor_NO4 = new S.PropDescriptor(string$.DesignMPrmo); - C.PropDescriptor_yv8 = new S.PropDescriptor(string$.DesignMPrmw); - C.PropDescriptor_KA9 = new S.PropDescriptor(string$.DesignMPrdr); - C.PropDescriptor_evJ = new S.PropDescriptor(string$.DesignMPrdnu); - C.PropDescriptor_YAS = new S.PropDescriptor(string$.DesignMPrdnh); - C.PropDescriptor_eDD = new S.PropDescriptor(string$.DesignMPrdnv); - C.PropDescriptor_u88 = new S.PropDescriptor(string$.DesignMPre); - C.PropDescriptor_sid = new S.PropDescriptor(string$.DesignMPri); - C.PropDescriptor_Art0 = new S.PropDescriptor(string$.DesignMPro); - C.PropDescriptor_QqF = new S.PropDescriptor(string$.DesignMPrhc); - C.PropDescriptor_oyU0 = new S.PropDescriptor(string$.DesignMPrdip_b); - C.PropDescriptor_u5W = new S.PropDescriptor(string$.DesignMPrdip_b_); - C.PropDescriptor_q96 = new S.PropDescriptor(string$.DesignMPrdip_m); - C.PropDescriptor_Gn1 = new S.PropDescriptor(string$.DesignMPrdip_m_); - C.PropDescriptor_FuN = new S.PropDescriptor("DesignMainPropsMixin.show_helix_circles"); - C.PropDescriptor_ebT = new S.PropDescriptor(string$.DesignMPrshh); - C.PropDescriptor_YyH1 = new S.PropDescriptor(string$.DesignMPrhg); - C.PropDescriptor_qd4 = new S.PropDescriptor(string$.DesignMPrshl); - C.PropDescriptor_an4 = new S.PropDescriptor("DesignMainPropsMixin.show_slice_bar"); - C.PropDescriptor_etK = new S.PropDescriptor("DesignMainPropsMixin.slice_bar_offset"); - C.PropDescriptor_uz7 = new S.PropDescriptor(string$.DesignMPrdipe); - C.PropDescriptor_AVc = new S.PropDescriptor("DesignMainPropsMixin.selection_rope"); - C.PropDescriptor_chs = new S.PropDescriptor(string$.DesignMPrdia); - C.PropDescriptor_Iex = new S.PropDescriptor(string$.DesignMPrr); - C.PropDescriptor_u880 = new S.PropDescriptor(string$.DesignMPrdip_r); - C.PropDescriptor_qVS = new S.PropDescriptor(string$.DesignMPrhi); - C.PropDescriptor_wXI = new S.PropDescriptor("DesignMainPropsMixin.invert_y"); - C.List_ftt = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_j7z, C.PropDescriptor_kWj, C.PropDescriptor_woc, C.PropDescriptor_EWB, C.PropDescriptor_yT3, C.PropDescriptor_y5u, C.PropDescriptor_qNW, C.PropDescriptor_c9P, C.PropDescriptor_qx4, C.PropDescriptor_QW6, C.PropDescriptor_W3K, C.PropDescriptor_U43, C.PropDescriptor_M2b, C.PropDescriptor_2fE, C.PropDescriptor_L1t, C.PropDescriptor_L1t0, C.PropDescriptor_qFu, C.PropDescriptor_NO4, C.PropDescriptor_yv8, C.PropDescriptor_KA9, C.PropDescriptor_evJ, C.PropDescriptor_YAS, C.PropDescriptor_eDD, C.PropDescriptor_u88, C.PropDescriptor_sid, C.PropDescriptor_Art0, C.PropDescriptor_QqF, C.PropDescriptor_oyU0, C.PropDescriptor_u5W, C.PropDescriptor_q96, C.PropDescriptor_Gn1, C.PropDescriptor_FuN, C.PropDescriptor_ebT, C.PropDescriptor_YyH1, C.PropDescriptor_qd4, C.PropDescriptor_an4, C.PropDescriptor_etK, C.PropDescriptor_uz7, C.PropDescriptor_AVc, C.PropDescriptor_chs, C.PropDescriptor_Iex, C.PropDescriptor_u880, C.PropDescriptor_qVS, C.PropDescriptor_wXI]), type$.JSArray_legacy_PropDescriptor); - C.List_fDQ = H.setRuntimeTypeInfo(makeConstList(["DesignMainPropsMixin.design", string$.DesignMPrp, string$.DesignMPrsi, "DesignMainPropsMixin.edit_modes", "DesignMainPropsMixin.strands_move", "DesignMainPropsMixin.strand_creation", "DesignMainPropsMixin.has_error", "DesignMainPropsMixin.show_mismatches", string$.DesignMPrshd, string$.DesignMPrshu, "DesignMainPropsMixin.show_dna", string$.DesignMPrb, string$.DesignMPrshb, string$.DesignMPrshb_, "DesignMainPropsMixin.show_domain_names", "DesignMainPropsMixin.show_strand_names", string$.DesignMPrdo, string$.DesignMPrmo, string$.DesignMPrmw, string$.DesignMPrdr, string$.DesignMPrdnu, string$.DesignMPrdnh, string$.DesignMPrdnv, string$.DesignMPre, string$.DesignMPri, string$.DesignMPro, string$.DesignMPrhc, string$.DesignMPrdip_b, string$.DesignMPrdip_b_, string$.DesignMPrdip_m, string$.DesignMPrdip_m_, "DesignMainPropsMixin.show_helix_circles", string$.DesignMPrshh, string$.DesignMPrhg, string$.DesignMPrshl, "DesignMainPropsMixin.show_slice_bar", "DesignMainPropsMixin.slice_bar_offset", string$.DesignMPrdipe, "DesignMainPropsMixin.selection_rope", string$.DesignMPrdia, string$.DesignMPrr, string$.DesignMPrdip_r, string$.DesignMPrhi, "DesignMainPropsMixin.invert_y"]), type$.JSArray_legacy_String); - C.PropsMeta_acO = new S.PropsMeta(C.List_ftt, C.List_fDQ); - C.Map_SCwEo = new H.GeneralConstantMap([C.Type_DesignMainPropsMixin_8aB, C.PropsMeta_acO], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_MenuNumberPropsMixin_gYy = H.typeLiteral("MenuNumberPropsMixin"); - C.PropDescriptor_C0t = new S.PropDescriptor("MenuNumberPropsMixin.display"); - C.PropDescriptor_2QU = new S.PropDescriptor("MenuNumberPropsMixin.default_value"); - C.PropDescriptor_uk0 = new S.PropDescriptor("MenuNumberPropsMixin.on_new_value"); - C.PropDescriptor_Q0M = new S.PropDescriptor("MenuNumberPropsMixin.min_value"); - C.PropDescriptor_Mi2 = new S.PropDescriptor("MenuNumberPropsMixin.hide"); - C.PropDescriptor_aDD = new S.PropDescriptor("MenuNumberPropsMixin.tooltip"); - C.PropDescriptor_zvr = new S.PropDescriptor("MenuNumberPropsMixin.input_elt_id"); - C.PropDescriptor_OLP = new S.PropDescriptor("MenuNumberPropsMixin.step"); - C.List_B8J1 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_C0t, C.PropDescriptor_2QU, C.PropDescriptor_uk0, C.PropDescriptor_Q0M, C.PropDescriptor_Mi2, C.PropDescriptor_aDD, C.PropDescriptor_zvr, C.PropDescriptor_OLP]), type$.JSArray_legacy_PropDescriptor); - C.List_EOZ = H.setRuntimeTypeInfo(makeConstList(["MenuNumberPropsMixin.display", "MenuNumberPropsMixin.default_value", "MenuNumberPropsMixin.on_new_value", "MenuNumberPropsMixin.min_value", "MenuNumberPropsMixin.hide", "MenuNumberPropsMixin.tooltip", "MenuNumberPropsMixin.input_elt_id", "MenuNumberPropsMixin.step"]), type$.JSArray_legacy_String); - C.PropsMeta_NYu = new S.PropsMeta(C.List_B8J1, C.List_EOZ); - C.Map_Uc9nB = new H.GeneralConstantMap([C.Type_MenuNumberPropsMixin_gYy, C.PropsMeta_NYu], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_2jN = H.typeLiteral("DesignMainStrandLoopoutTextPropsMixin"); - C.PropDescriptor_OTG = new S.PropDescriptor(string$.DesignMStLl); - C.PropDescriptor_spY = new S.PropDescriptor(string$.DesignMStLg); - C.PropDescriptor_wKi = new S.PropDescriptor(string$.DesignMStLp); - C.PropDescriptor_wKi0 = new S.PropDescriptor(string$.DesignMStLne); - C.PropDescriptor_9XU = new S.PropDescriptor(string$.DesignMStLt); - C.PropDescriptor_JMh = new S.PropDescriptor(string$.DesignMStLc); - C.PropDescriptor_ORf = new S.PropDescriptor(string$.DesignMStLnu); - C.PropDescriptor_ytB = new S.PropDescriptor(string$.DesignMStLf); - C.List_ufO = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_OTG, C.PropDescriptor_spY, C.PropDescriptor_wKi, C.PropDescriptor_wKi0, C.PropDescriptor_9XU, C.PropDescriptor_JMh, C.PropDescriptor_ORf, C.PropDescriptor_ytB]), type$.JSArray_legacy_PropDescriptor); - C.List_wIq = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStLl, string$.DesignMStLg, string$.DesignMStLp, string$.DesignMStLne, string$.DesignMStLt, string$.DesignMStLc, string$.DesignMStLnu, string$.DesignMStLf]), type$.JSArray_legacy_String); - C.PropsMeta_EOZ = new S.PropsMeta(C.List_ufO, C.List_wIq); - C.Map_Vyq82 = new H.GeneralConstantMap([C.Type_2jN, C.PropsMeta_EOZ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_End5PrimeProps_n3g = H.typeLiteral("End5PrimeProps"); - C.PropDescriptor_EOZ1 = new S.PropDescriptor("End5PrimeProps.on_pointer_down"); - C.PropDescriptor_7xV = new S.PropDescriptor("End5PrimeProps.on_pointer_up"); - C.PropDescriptor_Wvs = new S.PropDescriptor("End5PrimeProps.on_mouse_up"); - C.PropDescriptor_R8h = new S.PropDescriptor("End5PrimeProps.on_mouse_move"); - C.PropDescriptor_YQd = new S.PropDescriptor("End5PrimeProps.on_mouse_enter"); - C.PropDescriptor_YQd0 = new S.PropDescriptor("End5PrimeProps.on_mouse_leave"); - C.PropDescriptor_TBl = new S.PropDescriptor("End5PrimeProps.classname"); - C.PropDescriptor_05 = new S.PropDescriptor("End5PrimeProps.pos"); - C.PropDescriptor_A0t = new S.PropDescriptor("End5PrimeProps.color"); - C.PropDescriptor_wz6 = new S.PropDescriptor("End5PrimeProps.forward"); - C.PropDescriptor_ImU = new S.PropDescriptor("End5PrimeProps.id"); - C.PropDescriptor_2No1 = new S.PropDescriptor("End5PrimeProps.transform"); - C.List_61m = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EOZ1, C.PropDescriptor_7xV, C.PropDescriptor_Wvs, C.PropDescriptor_R8h, C.PropDescriptor_YQd, C.PropDescriptor_YQd0, C.PropDescriptor_TBl, C.PropDescriptor_05, C.PropDescriptor_A0t, C.PropDescriptor_wz6, C.PropDescriptor_ImU, C.PropDescriptor_2No1]), type$.JSArray_legacy_PropDescriptor); - C.List_fXI0 = H.setRuntimeTypeInfo(makeConstList(["End5PrimeProps.on_pointer_down", "End5PrimeProps.on_pointer_up", "End5PrimeProps.on_mouse_up", "End5PrimeProps.on_mouse_move", "End5PrimeProps.on_mouse_enter", "End5PrimeProps.on_mouse_leave", "End5PrimeProps.classname", "End5PrimeProps.pos", "End5PrimeProps.color", "End5PrimeProps.forward", "End5PrimeProps.id", "End5PrimeProps.transform"]), type$.JSArray_legacy_String); - C.PropsMeta_NcA = new S.PropsMeta(C.List_61m, C.List_fXI0); - C.Map_Wbc8n = new H.GeneralConstantMap([C.Type_End5PrimeProps_n3g, C.PropsMeta_NcA], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_kMT = H.typeLiteral("DesignMainUnpairedInsertionDeletionsProps"); - C.PropDescriptor_3Zi = new S.PropDescriptor(string$.DesignMUd); - C.PropDescriptor_bHr = new S.PropDescriptor(string$.DesignMUo); - C.PropDescriptor_Isw = new S.PropDescriptor(string$.DesignMUs); - C.PropDescriptor_gc61 = new S.PropDescriptor(string$.DesignMUh); - C.List_kUw = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_3Zi, C.PropDescriptor_bHr, C.PropDescriptor_Isw, C.PropDescriptor_gc61]), type$.JSArray_legacy_PropDescriptor); - C.List_C1h = H.setRuntimeTypeInfo(makeConstList([string$.DesignMUd, string$.DesignMUo, string$.DesignMUs, string$.DesignMUh]), type$.JSArray_legacy_String); - C.PropsMeta_a33 = new S.PropsMeta(C.List_kUw, C.List_C1h); - C.Map_Yqc7R = new H.GeneralConstantMap([C.Type_kMT, C.PropsMeta_a33], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_0zK = H.typeLiteral("DesignMainBasePairRectangleProps"); - C.PropDescriptor_w3P0 = new S.PropDescriptor(string$.DesignMBRw); - C.PropDescriptor_COe = new S.PropDescriptor("DesignMainBasePairRectangleProps.design"); - C.PropDescriptor_kEm1 = new S.PropDescriptor(string$.DesignMBRo); - C.PropDescriptor_gkc1 = new S.PropDescriptor(string$.DesignMBRs); - C.PropDescriptor_RtW = new S.PropDescriptor(string$.DesignMBRh); - C.List_U48 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_w3P0, C.PropDescriptor_COe, C.PropDescriptor_kEm1, C.PropDescriptor_gkc1, C.PropDescriptor_RtW]), type$.JSArray_legacy_PropDescriptor); - C.List_yT3 = H.setRuntimeTypeInfo(makeConstList([string$.DesignMBRw, "DesignMainBasePairRectangleProps.design", string$.DesignMBRo, string$.DesignMBRs, string$.DesignMBRh]), type$.JSArray_legacy_String); - C.PropsMeta_00 = new S.PropsMeta(C.List_U48, C.List_yT3); - C.Map_ZRMrB = new H.GeneralConstantMap([C.Type_0zK, C.PropsMeta_00], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_EditModeProps_kxj = H.typeLiteral("EditModeProps"); - C.PropDescriptor_ePs = new S.PropDescriptor("EditModeProps.modes"); - C.List_Aec = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_ePs]), type$.JSArray_legacy_PropDescriptor); - C.List_iZu = H.setRuntimeTypeInfo(makeConstList(["EditModeProps.modes"]), type$.JSArray_legacy_String); - C.PropsMeta_SjW = new S.PropsMeta(C.List_Aec, C.List_iZu); - C.Map_bdWrY = new H.GeneralConstantMap([C.Type_EditModeProps_kxj, C.PropsMeta_SjW], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Map_bv0 = new H.GeneralConstantMap([C.ExportDNAFormat_csv, "CSV (.csv)", C.ExportDNAFormat_idt_bulk, "IDT Bulk (.txt)", C.ExportDNAFormat_idt_plates96, "IDT 96-well plate(s) (.xlsx)", C.ExportDNAFormat_idt_plates384, "IDT 384-well plate(s) (.xlsx)"], H.findType("GeneralConstantMap")); - C.Type_HelixGroupMovingProps_ivX = H.typeLiteral("HelixGroupMovingProps"); - C.PropDescriptor_yXb0 = new S.PropDescriptor("HelixGroupMovingProps.helix_group_move"); - C.PropDescriptor_vjC = new S.PropDescriptor(string$.HelixGs); - C.PropDescriptor_TCG = new S.PropDescriptor(string$.HelixGo); - C.PropDescriptor_h4d = new S.PropDescriptor("HelixGroupMovingProps.show_helix_circles"); - C.PropDescriptor_EyN = new S.PropDescriptor(string$.HelixGh); - C.List_0zQ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_yXb0, C.PropDescriptor_vjC, C.PropDescriptor_TCG, C.PropDescriptor_h4d, C.PropDescriptor_EyN]), type$.JSArray_legacy_PropDescriptor); - C.List_maS = H.setRuntimeTypeInfo(makeConstList(["HelixGroupMovingProps.helix_group_move", string$.HelixGs, string$.HelixGo, "HelixGroupMovingProps.show_helix_circles", string$.HelixGh]), type$.JSArray_legacy_String); - C.PropsMeta_ACQ = new S.PropsMeta(C.List_0zQ, C.List_maS); - C.Map_cKPcW = new H.GeneralConstantMap([C.Type_HelixGroupMovingProps_ivX, C.PropsMeta_ACQ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainDomainPropsMixin_Gh9 = H.typeLiteral("DesignMainDomainPropsMixin"); - C.PropDescriptor_GF2 = new S.PropDescriptor("DesignMainDomainPropsMixin.domain"); - C.PropDescriptor_qVS0 = new S.PropDescriptor("DesignMainDomainPropsMixin.strand_color"); - C.PropDescriptor_Q1p = new S.PropDescriptor("DesignMainDomainPropsMixin.helix"); - C.PropDescriptor_e96 = new S.PropDescriptor(string$.DesignMDoPs); - C.PropDescriptor_iZu0 = new S.PropDescriptor("DesignMainDomainPropsMixin.strand"); - C.PropDescriptor_q5u = new S.PropDescriptor("DesignMainDomainPropsMixin.transform"); - C.PropDescriptor_qd9 = new S.PropDescriptor(string$.DesignMDoPh); - C.PropDescriptor_1OK = new S.PropDescriptor(string$.DesignMDoPc); - C.PropDescriptor_H1k = new S.PropDescriptor("DesignMainDomainPropsMixin.selected"); - C.PropDescriptor_A2Y = new S.PropDescriptor("DesignMainDomainPropsMixin.helices"); - C.PropDescriptor_JQR = new S.PropDescriptor("DesignMainDomainPropsMixin.groups"); - C.PropDescriptor_M2b0 = new S.PropDescriptor("DesignMainDomainPropsMixin.geometry"); - C.PropDescriptor_oCX = new S.PropDescriptor(string$.DesignMDoPr); - C.List_CFv = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_GF2, C.PropDescriptor_qVS0, C.PropDescriptor_Q1p, C.PropDescriptor_e96, C.PropDescriptor_iZu0, C.PropDescriptor_q5u, C.PropDescriptor_qd9, C.PropDescriptor_1OK, C.PropDescriptor_H1k, C.PropDescriptor_A2Y, C.PropDescriptor_JQR, C.PropDescriptor_M2b0, C.PropDescriptor_oCX]), type$.JSArray_legacy_PropDescriptor); - C.List_8aB = H.setRuntimeTypeInfo(makeConstList(["DesignMainDomainPropsMixin.domain", "DesignMainDomainPropsMixin.strand_color", "DesignMainDomainPropsMixin.helix", string$.DesignMDoPs, "DesignMainDomainPropsMixin.strand", "DesignMainDomainPropsMixin.transform", string$.DesignMDoPh, string$.DesignMDoPc, "DesignMainDomainPropsMixin.selected", "DesignMainDomainPropsMixin.helices", "DesignMainDomainPropsMixin.groups", "DesignMainDomainPropsMixin.geometry", string$.DesignMDoPr]), type$.JSArray_legacy_String); - C.PropsMeta_eHO = new S.PropsMeta(C.List_CFv, C.List_8aB); - C.Map_cKYuU = new H.GeneralConstantMap([C.Type_DesignMainDomainPropsMixin_Gh9, C.PropsMeta_eHO, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_MenuFormFileProps_afF = H.typeLiteral("MenuFormFileProps"); - C.PropDescriptor_a9w = new S.PropDescriptor("MenuFormFileProps.id"); - C.PropDescriptor_cwZ = new S.PropDescriptor("MenuFormFileProps.accept"); - C.PropDescriptor_mfA0 = new S.PropDescriptor("MenuFormFileProps.onChange"); - C.PropDescriptor_6Db = new S.PropDescriptor("MenuFormFileProps.display"); - C.PropDescriptor_3NO = new S.PropDescriptor("MenuFormFileProps.keyboard_shortcut"); - C.List_MIo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_a9w, C.PropDescriptor_cwZ, C.PropDescriptor_mfA0, C.PropDescriptor_6Db, C.PropDescriptor_3NO]), type$.JSArray_legacy_PropDescriptor); - C.List_2No = H.setRuntimeTypeInfo(makeConstList(["MenuFormFileProps.id", "MenuFormFileProps.accept", "MenuFormFileProps.onChange", "MenuFormFileProps.display", "MenuFormFileProps.keyboard_shortcut"]), type$.JSArray_legacy_String); - C.PropsMeta_uQo = new S.PropsMeta(C.List_MIo, C.List_2No); - C.Map_caa5W = new H.GeneralConstantMap([C.Type_MenuFormFileProps_afF, C.PropsMeta_uQo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_Zma = H.typeLiteral("StrandOrSubstrandColorPickerProps"); - C.PropDescriptor_27z = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.color"); - C.PropDescriptor_Dfi0 = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.show"); - C.PropDescriptor_A66 = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.strand"); - C.PropDescriptor_qlj = new S.PropDescriptor(string$.Strand); - C.List_qxo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_27z, C.PropDescriptor_Dfi0, C.PropDescriptor_A66, C.PropDescriptor_qlj]), type$.JSArray_legacy_PropDescriptor); - C.List_dy4 = H.setRuntimeTypeInfo(makeConstList(["StrandOrSubstrandColorPickerProps.color", "StrandOrSubstrandColorPickerProps.show", "StrandOrSubstrandColorPickerProps.strand", string$.Strand]), type$.JSArray_legacy_String); - C.PropsMeta_Iyu = new S.PropsMeta(C.List_qxo, C.List_dy4); - C.Map_cskMT = new H.GeneralConstantMap([C.Type_Zma, C.PropsMeta_Iyu], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_qVI = H.typeLiteral("DesignMainDomainNameMismatchesProps"); - C.PropDescriptor_H1k0 = new S.PropDescriptor(string$.DesignMDoNd); - C.PropDescriptor_ml5 = new S.PropDescriptor(string$.DesignMDoNo); - C.PropDescriptor_Tvc = new S.PropDescriptor(string$.DesignMDoNs); - C.PropDescriptor_06 = new S.PropDescriptor(string$.DesignMDoNh); - C.List_Vuq = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_H1k0, C.PropDescriptor_ml5, C.PropDescriptor_Tvc, C.PropDescriptor_06]), type$.JSArray_legacy_PropDescriptor); - C.List_rxd = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDoNd, string$.DesignMDoNo, string$.DesignMDoNs, string$.DesignMDoNh]), type$.JSArray_legacy_String); - C.PropsMeta_yXb = new S.PropsMeta(C.List_Vuq, C.List_rxd); - C.Map_cwekJ = new H.GeneralConstantMap([C.Type_qVI, C.PropsMeta_yXb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_IUx = H.typeLiteral("DesignMainLoopoutExtensionLengthPropsMixin"); - C.PropDescriptor_EO3 = new S.PropDescriptor(string$.DesignMLEPg); - C.PropDescriptor_y0E = new S.PropDescriptor(string$.DesignMLEPs); - C.List_xw80 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EO3, C.PropDescriptor_y0E]), type$.JSArray_legacy_PropDescriptor); - C.List_CVg = H.setRuntimeTypeInfo(makeConstList([string$.DesignMLEPg, string$.DesignMLEPs]), type$.JSArray_legacy_String); - C.PropsMeta_nlo = new S.PropsMeta(C.List_xw80, C.List_CVg); - C.Map_dMfrF = new H.GeneralConstantMap([C.Type_IUx, C.PropsMeta_nlo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_PotentialExtensionsViewProps_cQL = H.typeLiteral("PotentialExtensionsViewProps"); - C.PropDescriptor_08U = new S.PropDescriptor(string$.PotentE); - C.PropDescriptor_YuC = new S.PropDescriptor("PotentialExtensionsViewProps.id"); - C.List_ebN = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_08U, C.PropDescriptor_YuC]), type$.JSArray_legacy_PropDescriptor); - C.List_MAi = H.setRuntimeTypeInfo(makeConstList([string$.PotentE, "PotentialExtensionsViewProps.id"]), type$.JSArray_legacy_String); - C.PropsMeta_edb = new S.PropsMeta(C.List_ebN, C.List_MAi); - C.Map_dyoqK = new H.GeneralConstantMap([C.Type_PotentialExtensionsViewProps_cQL, C.PropsMeta_edb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Map_empty = new H.ConstantStringMap(0, {}, C.List_empty, H.findType("ConstantStringMap<@,@>")); - C.Map_empty1 = new H.ConstantStringMap(0, {}, C.List_empty0, H.findType("ConstantStringMap")); - C.Map_empty5 = new H.ConstantStringMap(0, {}, C.List_empty0, type$.ConstantStringMap_of_legacy_String_and_legacy_String); - C.List_empty8 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); - C.Map_empty4 = new H.ConstantStringMap(0, {}, C.List_empty8, H.findType("ConstantStringMap")); - C.List_empty9 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_int); - C.Map_empty2 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap*>")); - C.Map_empty3 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap*>*>")); - C.Map_empty0 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap")); - C.Type_AiQ = H.typeLiteral("DesignMainStrandCrossoverPropsMixin"); - C.PropDescriptor_GF20 = new S.PropDescriptor(string$.DesignMStCoc); - C.PropDescriptor_izR = new S.PropDescriptor(string$.DesignMStCost); - C.PropDescriptor_ECL = new S.PropDescriptor(string$.DesignMStCop); - C.PropDescriptor_ivu = new S.PropDescriptor(string$.DesignMStCon); - C.PropDescriptor_kWg = new S.PropDescriptor(string$.DesignMStCose); - C.PropDescriptor_Lpb = new S.PropDescriptor(string$.DesignMStCoh); - C.PropDescriptor_cz1 = new S.PropDescriptor(string$.DesignMStCogr); - C.PropDescriptor_kWg0 = new S.PropDescriptor(string$.DesignMStCoge); - C.PropDescriptor_ntV = new S.PropDescriptor(string$.DesignMStCop_); - C.PropDescriptor_Sjg = new S.PropDescriptor(string$.DesignMStCon_); - C.PropDescriptor_LVz = new S.PropDescriptor(string$.DesignMStCor); - C.List_Qew = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_GF20, C.PropDescriptor_izR, C.PropDescriptor_ECL, C.PropDescriptor_ivu, C.PropDescriptor_kWg, C.PropDescriptor_Lpb, C.PropDescriptor_cz1, C.PropDescriptor_kWg0, C.PropDescriptor_ntV, C.PropDescriptor_Sjg, C.PropDescriptor_LVz]), type$.JSArray_legacy_PropDescriptor); - C.List_1GN = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStCoc, string$.DesignMStCost, string$.DesignMStCop, string$.DesignMStCon, string$.DesignMStCose, string$.DesignMStCoh, string$.DesignMStCogr, string$.DesignMStCoge, string$.DesignMStCop_, string$.DesignMStCon_, string$.DesignMStCor]), type$.JSArray_legacy_String); - C.PropsMeta_FPr = new S.PropsMeta(C.List_Qew, C.List_1GN); - C.Map_g8IUw = new H.GeneralConstantMap([C.Type_AiQ, C.PropsMeta_FPr, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignSideProps_ifx = H.typeLiteral("DesignSideProps"); - C.PropDescriptor_mfA1 = new S.PropDescriptor("DesignSideProps.helices"); - C.PropDescriptor_yoW = new S.PropDescriptor("DesignSideProps.helix_idxs_selected"); - C.PropDescriptor_W5k = new S.PropDescriptor("DesignSideProps.rotation_datas"); - C.PropDescriptor_3dk = new S.PropDescriptor("DesignSideProps.edit_modes"); - C.PropDescriptor_Met = new S.PropDescriptor("DesignSideProps.geometry"); - C.PropDescriptor_kWj0 = new S.PropDescriptor("DesignSideProps.slice_bar_offset"); - C.PropDescriptor_M9F = new S.PropDescriptor("DesignSideProps.mouse_svg_pos"); - C.PropDescriptor_O7y = new S.PropDescriptor(string$.DesignSPrg); - C.PropDescriptor_oXg = new S.PropDescriptor("DesignSideProps.invert_y"); - C.PropDescriptor_IMB = new S.PropDescriptor(string$.DesignSPrh); - C.PropDescriptor_LIV = new S.PropDescriptor("DesignSideProps.show_grid_coordinates"); - C.PropDescriptor_K1g = new S.PropDescriptor("DesignSideProps.displayed_group"); - C.List_yCL = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_mfA1, C.PropDescriptor_yoW, C.PropDescriptor_W5k, C.PropDescriptor_3dk, C.PropDescriptor_Met, C.PropDescriptor_kWj0, C.PropDescriptor_M9F, C.PropDescriptor_O7y, C.PropDescriptor_oXg, C.PropDescriptor_IMB, C.PropDescriptor_LIV, C.PropDescriptor_K1g]), type$.JSArray_legacy_PropDescriptor); - C.List_MMm = H.setRuntimeTypeInfo(makeConstList(["DesignSideProps.helices", "DesignSideProps.helix_idxs_selected", "DesignSideProps.rotation_datas", "DesignSideProps.edit_modes", "DesignSideProps.geometry", "DesignSideProps.slice_bar_offset", "DesignSideProps.mouse_svg_pos", string$.DesignSPrg, "DesignSideProps.invert_y", string$.DesignSPrh, "DesignSideProps.show_grid_coordinates", "DesignSideProps.displayed_group"]), type$.JSArray_legacy_String); - C.PropsMeta_whb = new S.PropsMeta(C.List_yCL, C.List_MMm); - C.Map_gGYZj = new H.GeneralConstantMap([C.Type_DesignSideProps_ifx, C.PropsMeta_whb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_8YY = H.typeLiteral("DesignMainDNASequencePropsMixin"); - C.PropDescriptor_gkJ = new S.PropDescriptor("DesignMainDNASequencePropsMixin.strand"); - C.PropDescriptor_kKA = new S.PropDescriptor(string$.DesignMDNSPs); - C.PropDescriptor_gc62 = new S.PropDescriptor(string$.DesignMDNSPo); - C.PropDescriptor_ivT0 = new S.PropDescriptor(string$.DesignMDNSPd); - C.PropDescriptor_jvD = new S.PropDescriptor("DesignMainDNASequencePropsMixin.helices"); - C.PropDescriptor_AgZ1 = new S.PropDescriptor("DesignMainDNASequencePropsMixin.groups"); - C.PropDescriptor_WTG = new S.PropDescriptor("DesignMainDNASequencePropsMixin.geometry"); - C.PropDescriptor_cje = new S.PropDescriptor(string$.DesignMDNSPh); - C.List_8Bb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_gkJ, C.PropDescriptor_kKA, C.PropDescriptor_gc62, C.PropDescriptor_ivT0, C.PropDescriptor_jvD, C.PropDescriptor_AgZ1, C.PropDescriptor_WTG, C.PropDescriptor_cje]), type$.JSArray_legacy_PropDescriptor); - C.List_gT2 = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNASequencePropsMixin.strand", string$.DesignMDNSPs, string$.DesignMDNSPo, string$.DesignMDNSPd, "DesignMainDNASequencePropsMixin.helices", "DesignMainDNASequencePropsMixin.groups", "DesignMainDNASequencePropsMixin.geometry", string$.DesignMDNSPh]), type$.JSArray_legacy_String); - C.PropsMeta_ZGG = new S.PropsMeta(C.List_8Bb, C.List_gT2); - C.Map_gRswd = new H.GeneralConstantMap([C.Type_8YY, C.PropsMeta_ZGG, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_sED = H.typeLiteral("DesignMainStrandMovingPropsMixin"); - C.PropDescriptor_mfA2 = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.strand"); - C.PropDescriptor_Gxg = new S.PropDescriptor(string$.DesignMStMvo); - C.PropDescriptor_GDx = new S.PropDescriptor(string$.DesignMStMvc); - C.PropDescriptor_UnH = new S.PropDescriptor(string$.DesignMStMvs); - C.PropDescriptor_uP5 = new S.PropDescriptor(string$.DesignMStMvdv); - C.PropDescriptor_GFE = new S.PropDescriptor(string$.DesignMStMvdo); - C.PropDescriptor_cua = new S.PropDescriptor(string$.DesignMStMvdf); - C.PropDescriptor_gZu = new S.PropDescriptor(string$.DesignMStMva); - C.PropDescriptor_kiE = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.helices"); - C.PropDescriptor_i1E = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.groups"); - C.PropDescriptor_xbF = new S.PropDescriptor(string$.DesignMStMvg); - C.PropDescriptor_03m = new S.PropDescriptor(string$.DesignMStMvh); - C.List_QPV = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_mfA2, C.PropDescriptor_Gxg, C.PropDescriptor_GDx, C.PropDescriptor_UnH, C.PropDescriptor_uP5, C.PropDescriptor_GFE, C.PropDescriptor_cua, C.PropDescriptor_gZu, C.PropDescriptor_kiE, C.PropDescriptor_i1E, C.PropDescriptor_xbF, C.PropDescriptor_03m]), type$.JSArray_legacy_PropDescriptor); - C.List_3CF = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandMovingPropsMixin.strand", string$.DesignMStMvo, string$.DesignMStMvc, string$.DesignMStMvs, string$.DesignMStMvdv, string$.DesignMStMvdo, string$.DesignMStMvdf, string$.DesignMStMva, "DesignMainStrandMovingPropsMixin.helices", "DesignMainStrandMovingPropsMixin.groups", string$.DesignMStMvg, string$.DesignMStMvh]), type$.JSArray_legacy_String); - C.PropsMeta_ibu = new S.PropsMeta(C.List_QPV, C.List_3CF); - C.Map_gaMMc = new H.GeneralConstantMap([C.Type_sED, C.PropsMeta_ibu, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainArrowsProps_6TA = H.typeLiteral("DesignMainArrowsProps"); - C.PropDescriptor_kaN = new S.PropDescriptor("DesignMainArrowsProps.invert_y"); - C.PropDescriptor_Au4 = new S.PropDescriptor(string$.DesignMA); - C.List_W5l = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_kaN, C.PropDescriptor_Au4]), type$.JSArray_legacy_PropDescriptor); - C.List_bwO = H.setRuntimeTypeInfo(makeConstList(["DesignMainArrowsProps.invert_y", string$.DesignMA]), type$.JSArray_legacy_String); - C.PropsMeta_9Fi = new S.PropsMeta(C.List_W5l, C.List_bwO); - C.Map_gk6D9 = new H.GeneralConstantMap([C.Type_DesignMainArrowsProps_6TA, C.PropsMeta_9Fi], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DZ5 = H.typeLiteral("DesignMainExtensionPropsMixin"); - C.PropDescriptor_Q0M0 = new S.PropDescriptor("DesignMainExtensionPropsMixin.ext"); - C.PropDescriptor_gg40 = new S.PropDescriptor(string$.DesignMEad); - C.PropDescriptor_IuH2 = new S.PropDescriptor(string$.DesignMEah); - C.PropDescriptor_wMy0 = new S.PropDescriptor(string$.DesignMEsc); - C.PropDescriptor_m4s = new S.PropDescriptor("DesignMainExtensionPropsMixin.strand"); - C.PropDescriptor_IuH3 = new S.PropDescriptor(string$.DesignMEst); - C.PropDescriptor_rtW = new S.PropDescriptor("DesignMainExtensionPropsMixin.transform"); - C.PropDescriptor_CRT = new S.PropDescriptor(string$.DesignMEah_); - C.PropDescriptor_4qq = new S.PropDescriptor("DesignMainExtensionPropsMixin.selected"); - C.PropDescriptor_Eb00 = new S.PropDescriptor("DesignMainExtensionPropsMixin.helices"); - C.PropDescriptor_m4s0 = new S.PropDescriptor("DesignMainExtensionPropsMixin.groups"); - C.PropDescriptor_rH7 = new S.PropDescriptor("DesignMainExtensionPropsMixin.geometry"); - C.PropDescriptor_ssz = new S.PropDescriptor(string$.DesignMEr); - C.List_hCr = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Q0M0, C.PropDescriptor_gg40, C.PropDescriptor_IuH2, C.PropDescriptor_wMy0, C.PropDescriptor_m4s, C.PropDescriptor_IuH3, C.PropDescriptor_rtW, C.PropDescriptor_CRT, C.PropDescriptor_4qq, C.PropDescriptor_Eb00, C.PropDescriptor_m4s0, C.PropDescriptor_rH7, C.PropDescriptor_ssz]), type$.JSArray_legacy_PropDescriptor); - C.List_MMc = H.setRuntimeTypeInfo(makeConstList(["DesignMainExtensionPropsMixin.ext", string$.DesignMEad, string$.DesignMEah, string$.DesignMEsc, "DesignMainExtensionPropsMixin.strand", string$.DesignMEst, "DesignMainExtensionPropsMixin.transform", string$.DesignMEah_, "DesignMainExtensionPropsMixin.selected", "DesignMainExtensionPropsMixin.helices", "DesignMainExtensionPropsMixin.groups", "DesignMainExtensionPropsMixin.geometry", string$.DesignMEr]), type$.JSArray_legacy_String); - C.PropsMeta_kqo = new S.PropsMeta(C.List_hCr, C.List_MMc); - C.Map_gkibp = new H.GeneralConstantMap([C.Type_DZ5, C.PropsMeta_kqo, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_RSK = H.typeLiteral("DesignMainStrandDomainTextPropsMixin"); - C.PropDescriptor_vTu = new S.PropDescriptor(string$.DesignMStDos); - C.PropDescriptor_69t = new S.PropDescriptor(string$.DesignMStDod); - C.PropDescriptor_GFE0 = new S.PropDescriptor(string$.DesignMStDoh); - C.PropDescriptor_cAS = new S.PropDescriptor(string$.DesignMStDog); - C.PropDescriptor_jBe = new S.PropDescriptor(string$.DesignMStDoh_g); - C.PropDescriptor_07 = new S.PropDescriptor(string$.DesignMStDote); - C.PropDescriptor_w7S = new S.PropDescriptor(string$.DesignMStDocs); - C.PropDescriptor_s0y = new S.PropDescriptor(string$.DesignMStDof); - C.PropDescriptor_gkc2 = new S.PropDescriptor(string$.DesignMStDon); - C.PropDescriptor_3Lo = new S.PropDescriptor(string$.DesignMStDotr); - C.PropDescriptor_qfi = new S.PropDescriptor(string$.DesignMStDoh_s); - C.PropDescriptor_6xG = new S.PropDescriptor(string$.DesignMStDoco); - C.List_a9P = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_vTu, C.PropDescriptor_69t, C.PropDescriptor_GFE0, C.PropDescriptor_cAS, C.PropDescriptor_jBe, C.PropDescriptor_07, C.PropDescriptor_w7S, C.PropDescriptor_s0y, C.PropDescriptor_gkc2, C.PropDescriptor_3Lo, C.PropDescriptor_qfi, C.PropDescriptor_6xG]), type$.JSArray_legacy_PropDescriptor); - C.List_U0y = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStDos, string$.DesignMStDod, string$.DesignMStDoh, string$.DesignMStDog, string$.DesignMStDoh_g, string$.DesignMStDote, string$.DesignMStDocs, string$.DesignMStDof, string$.DesignMStDon, string$.DesignMStDotr, string$.DesignMStDoh_s, string$.DesignMStDoco]), type$.JSArray_legacy_String); - C.PropsMeta_Go2 = new S.PropsMeta(C.List_a9P, C.List_U0y); - C.Map_gv9c8 = new H.GeneralConstantMap([C.Type_RSK, C.PropsMeta_Go2], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_MenuPropsMixin_yrN = H.typeLiteral("MenuPropsMixin"); - C.Type_ConnectPropsMixin_gkc = H.typeLiteral("ConnectPropsMixin"); - C.PropDescriptor_IuH4 = new S.PropDescriptor("MenuPropsMixin.selected_ends"); - C.PropDescriptor_kS6 = new S.PropDescriptor(string$.MenuPrse); - C.PropDescriptor_kEm2 = new S.PropDescriptor("MenuPropsMixin.no_grid_is_none"); - C.PropDescriptor_h4d0 = new S.PropDescriptor("MenuPropsMixin.show_oxview"); - C.PropDescriptor_izW = new S.PropDescriptor("MenuPropsMixin.show_dna"); - C.PropDescriptor_Gw8 = new S.PropDescriptor("MenuPropsMixin.show_strand_names"); - C.PropDescriptor_2Vk0 = new S.PropDescriptor("MenuPropsMixin.show_strand_labels"); - C.PropDescriptor_Gw80 = new S.PropDescriptor("MenuPropsMixin.show_domain_names"); - C.PropDescriptor_2Vk1 = new S.PropDescriptor("MenuPropsMixin.show_domain_labels"); - C.PropDescriptor_SnW = new S.PropDescriptor("MenuPropsMixin.strand_name_font_size"); - C.PropDescriptor_gc63 = new S.PropDescriptor("MenuPropsMixin.strand_label_font_size"); - C.PropDescriptor_SnW0 = new S.PropDescriptor("MenuPropsMixin.domain_name_font_size"); - C.PropDescriptor_gc64 = new S.PropDescriptor("MenuPropsMixin.domain_label_font_size"); - C.PropDescriptor_KQb = new S.PropDescriptor("MenuPropsMixin.zoom_speed"); - C.PropDescriptor_Y8h = new S.PropDescriptor("MenuPropsMixin.show_modifications"); - C.PropDescriptor_qoL = new S.PropDescriptor("MenuPropsMixin.modification_font_size"); - C.PropDescriptor_kjq = new S.PropDescriptor(string$.MenuPrmao); - C.PropDescriptor_ekJ = new S.PropDescriptor(string$.MenuPrmaw); - C.PropDescriptor_swd = new S.PropDescriptor(string$.MenuPrmo); - C.PropDescriptor_oyn0 = new S.PropDescriptor("MenuPropsMixin.show_mismatches"); - C.PropDescriptor_WV2 = new S.PropDescriptor(string$.MenuPrshd); - C.PropDescriptor_Iwp1 = new S.PropDescriptor(string$.MenuPrshu); - C.PropDescriptor_W7l = new S.PropDescriptor("MenuPropsMixin.strand_paste_keep_color"); - C.PropDescriptor_2vz = new S.PropDescriptor("MenuPropsMixin.autofit"); - C.PropDescriptor_Qs5 = new S.PropDescriptor(string$.MenuPron); - C.PropDescriptor_699 = new S.PropDescriptor("MenuPropsMixin.example_designs"); - C.PropDescriptor_2jN1 = new S.PropDescriptor("MenuPropsMixin.base_pair_display_type"); - C.PropDescriptor_UAO = new S.PropDescriptor(string$.MenuPrdes); - C.PropDescriptor_PTV = new S.PropDescriptor("MenuPropsMixin.undo_stack_empty"); - C.PropDescriptor_PTV0 = new S.PropDescriptor("MenuPropsMixin.redo_stack_empty"); - C.PropDescriptor_opF = new S.PropDescriptor("MenuPropsMixin.enable_copy"); - C.PropDescriptor_D34 = new S.PropDescriptor(string$.MenuPrdy); - C.PropDescriptor_gkc3 = new S.PropDescriptor("MenuPropsMixin.show_base_pair_lines"); - C.PropDescriptor_ep7 = new S.PropDescriptor(string$.MenuPrshb); - C.PropDescriptor_wCJ = new S.PropDescriptor(string$.MenuPrdipo); - C.PropDescriptor_I2a = new S.PropDescriptor(string$.MenuPrdipb); - C.PropDescriptor_CqR = new S.PropDescriptor("MenuPropsMixin.display_major_tick_widths"); - C.PropDescriptor_cA6 = new S.PropDescriptor(string$.MenuPrdipm); - C.PropDescriptor_kEm3 = new S.PropDescriptor("MenuPropsMixin.invert_y"); - C.PropDescriptor_u8x = new S.PropDescriptor("MenuPropsMixin.warn_on_exit_if_unsaved"); - C.PropDescriptor_ilz = new S.PropDescriptor(string$.MenuPrshhi); - C.PropDescriptor_M6L = new S.PropDescriptor(string$.MenuPrshho); - C.PropDescriptor_MvI = new S.PropDescriptor(string$.MenuPrshg); - C.PropDescriptor_08 = new S.PropDescriptor("MenuPropsMixin.show_helices_axis_arrows"); - C.PropDescriptor_Tre = new S.PropDescriptor(string$.MenuPrshl); - C.PropDescriptor_Wmw = new S.PropDescriptor("MenuPropsMixin.show_mouseover_data"); - C.PropDescriptor_EKW0 = new S.PropDescriptor(string$.MenuPrdia); - C.PropDescriptor_woc0 = new S.PropDescriptor(string$.MenuPrr); - C.PropDescriptor_iil = new S.PropDescriptor(string$.MenuPrdipr); - C.PropDescriptor_oqF = new S.PropDescriptor(string$.MenuPrdefc); - C.PropDescriptor_PHH = new S.PropDescriptor(string$.MenuPrdeft); - C.PropDescriptor_8aB0 = new S.PropDescriptor(string$.MenuPre); - C.PropDescriptor_cGl0 = new S.PropDescriptor(string$.MenuProx); - C.PropDescriptor_uva = new S.PropDescriptor(string$.MenuPrl); - C.PropDescriptor_IEl = new S.PropDescriptor(string$.MenuPrc); - C.PropDescriptor_hce = new S.PropDescriptor("MenuPropsMixin.show_slice_bar"); - C.PropDescriptor_ura = new S.PropDescriptor("MenuPropsMixin.geometry"); - C.PropDescriptor_gg41 = new S.PropDescriptor("MenuPropsMixin.undo_redo"); - C.List_sCc = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH4, C.PropDescriptor_kS6, C.PropDescriptor_kEm2, C.PropDescriptor_h4d0, C.PropDescriptor_izW, C.PropDescriptor_Gw8, C.PropDescriptor_2Vk0, C.PropDescriptor_Gw80, C.PropDescriptor_2Vk1, C.PropDescriptor_SnW, C.PropDescriptor_gc63, C.PropDescriptor_SnW0, C.PropDescriptor_gc64, C.PropDescriptor_KQb, C.PropDescriptor_Y8h, C.PropDescriptor_qoL, C.PropDescriptor_kjq, C.PropDescriptor_ekJ, C.PropDescriptor_swd, C.PropDescriptor_oyn0, C.PropDescriptor_WV2, C.PropDescriptor_Iwp1, C.PropDescriptor_W7l, C.PropDescriptor_2vz, C.PropDescriptor_Qs5, C.PropDescriptor_699, C.PropDescriptor_2jN1, C.PropDescriptor_UAO, C.PropDescriptor_PTV, C.PropDescriptor_PTV0, C.PropDescriptor_opF, C.PropDescriptor_D34, C.PropDescriptor_gkc3, C.PropDescriptor_ep7, C.PropDescriptor_wCJ, C.PropDescriptor_I2a, C.PropDescriptor_CqR, C.PropDescriptor_cA6, C.PropDescriptor_kEm3, C.PropDescriptor_u8x, C.PropDescriptor_ilz, C.PropDescriptor_M6L, C.PropDescriptor_MvI, C.PropDescriptor_08, C.PropDescriptor_Tre, C.PropDescriptor_Wmw, C.PropDescriptor_EKW0, C.PropDescriptor_woc0, C.PropDescriptor_iil, C.PropDescriptor_oqF, C.PropDescriptor_PHH, C.PropDescriptor_8aB0, C.PropDescriptor_cGl0, C.PropDescriptor_uva, C.PropDescriptor_IEl, C.PropDescriptor_hce, C.PropDescriptor_ura, C.PropDescriptor_gg41]), type$.JSArray_legacy_PropDescriptor); - C.List_sBb = H.setRuntimeTypeInfo(makeConstList(["MenuPropsMixin.selected_ends", string$.MenuPrse, "MenuPropsMixin.no_grid_is_none", "MenuPropsMixin.show_oxview", "MenuPropsMixin.show_dna", "MenuPropsMixin.show_strand_names", "MenuPropsMixin.show_strand_labels", "MenuPropsMixin.show_domain_names", "MenuPropsMixin.show_domain_labels", "MenuPropsMixin.strand_name_font_size", "MenuPropsMixin.strand_label_font_size", "MenuPropsMixin.domain_name_font_size", "MenuPropsMixin.domain_label_font_size", "MenuPropsMixin.zoom_speed", "MenuPropsMixin.show_modifications", "MenuPropsMixin.modification_font_size", string$.MenuPrmao, string$.MenuPrmaw, string$.MenuPrmo, "MenuPropsMixin.show_mismatches", string$.MenuPrshd, string$.MenuPrshu, "MenuPropsMixin.strand_paste_keep_color", "MenuPropsMixin.autofit", string$.MenuPron, "MenuPropsMixin.example_designs", "MenuPropsMixin.base_pair_display_type", string$.MenuPrdes, "MenuPropsMixin.undo_stack_empty", "MenuPropsMixin.redo_stack_empty", "MenuPropsMixin.enable_copy", string$.MenuPrdy, "MenuPropsMixin.show_base_pair_lines", string$.MenuPrshb, string$.MenuPrdipo, string$.MenuPrdipb, "MenuPropsMixin.display_major_tick_widths", string$.MenuPrdipm, "MenuPropsMixin.invert_y", "MenuPropsMixin.warn_on_exit_if_unsaved", string$.MenuPrshhi, string$.MenuPrshho, string$.MenuPrshg, "MenuPropsMixin.show_helices_axis_arrows", string$.MenuPrshl, "MenuPropsMixin.show_mouseover_data", string$.MenuPrdia, string$.MenuPrr, string$.MenuPrdipr, string$.MenuPrdefc, string$.MenuPrdeft, string$.MenuPre, string$.MenuProx, string$.MenuPrl, string$.MenuPrc, "MenuPropsMixin.show_slice_bar", "MenuPropsMixin.geometry", "MenuPropsMixin.undo_redo"]), type$.JSArray_legacy_String); - C.PropsMeta_mT8 = new S.PropsMeta(C.List_sCc, C.List_sBb); - C.PropDescriptor_dispatch = new S.PropDescriptor("dispatch"); - C.List_PropDescriptor_dispatch = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_dispatch]), type$.JSArray_legacy_PropDescriptor); - C.List_dispatch = H.setRuntimeTypeInfo(makeConstList(["dispatch"]), type$.JSArray_legacy_String); - C.PropsMeta_U7K = new S.PropsMeta(C.List_PropDescriptor_dispatch, C.List_dispatch); - C.Map_iSA0t = new H.GeneralConstantMap([C.Type_MenuPropsMixin_yrN, C.PropsMeta_mT8, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_Bzp = H.typeLiteral("DesignMainStrandAndDomainTextsPropsMixin"); - C.PropDescriptor_wW30 = new S.PropDescriptor(string$.DesignMStAst); - C.PropDescriptor_8e5 = new S.PropDescriptor(string$.DesignMStAhc); - C.PropDescriptor_wW31 = new S.PropDescriptor(string$.DesignMStAgr); - C.PropDescriptor_4QF = new S.PropDescriptor(string$.DesignMStAge); - C.PropDescriptor_gyR = new S.PropDescriptor(string$.DesignMStAsi); - C.PropDescriptor_4AN = new S.PropDescriptor(string$.DesignMStAo); - C.PropDescriptor_ino = new S.PropDescriptor(string$.DesignMStAshdn); - C.PropDescriptor_6nc = new S.PropDescriptor(string$.DesignMStAshsn); - C.PropDescriptor_E4S = new S.PropDescriptor(string$.DesignMStAshsl); - C.PropDescriptor_M1J = new S.PropDescriptor(string$.DesignMStAshdon); - C.PropDescriptor_2TY = new S.PropDescriptor(string$.DesignMStAshdol); - C.PropDescriptor_OX8 = new S.PropDescriptor(string$.DesignMStAst_n); - C.PropDescriptor_mt1 = new S.PropDescriptor(string$.DesignMStAst_l); - C.PropDescriptor_OX80 = new S.PropDescriptor(string$.DesignMStAdn); - C.PropDescriptor_mt10 = new S.PropDescriptor(string$.DesignMStAdl); - C.PropDescriptor_WX3 = new S.PropDescriptor(string$.DesignMStAhx); - C.PropDescriptor_BmO = new S.PropDescriptor(string$.DesignMStAc); - C.List_3Kn = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_wW30, C.PropDescriptor_8e5, C.PropDescriptor_wW31, C.PropDescriptor_4QF, C.PropDescriptor_gyR, C.PropDescriptor_4AN, C.PropDescriptor_ino, C.PropDescriptor_6nc, C.PropDescriptor_E4S, C.PropDescriptor_M1J, C.PropDescriptor_2TY, C.PropDescriptor_OX8, C.PropDescriptor_mt1, C.PropDescriptor_OX80, C.PropDescriptor_mt10, C.PropDescriptor_WX3, C.PropDescriptor_BmO]), type$.JSArray_legacy_PropDescriptor); - C.List_PHl = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStAst, string$.DesignMStAhc, string$.DesignMStAgr, string$.DesignMStAge, string$.DesignMStAsi, string$.DesignMStAo, string$.DesignMStAshdn, string$.DesignMStAshsn, string$.DesignMStAshsl, string$.DesignMStAshdon, string$.DesignMStAshdol, string$.DesignMStAst_n, string$.DesignMStAst_l, string$.DesignMStAdn, string$.DesignMStAdl, string$.DesignMStAhx, string$.DesignMStAc]), type$.JSArray_legacy_String); - C.PropsMeta_1AX = new S.PropsMeta(C.List_3Kn, C.List_PHl); - C.Map_k6K6o = new H.GeneralConstantMap([C.Type_Bzp, C.PropsMeta_1AX, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_mly = H.typeLiteral("DesignMainStrandModificationProps"); - C.PropDescriptor_Zq7 = new S.PropDescriptor(string$.DesignMStMdPdn); - C.PropDescriptor_Gxp = new S.PropDescriptor("DesignMainStrandModificationProps.helix"); - C.PropDescriptor_0O7 = new S.PropDescriptor(string$.DesignMStMdPdi); - C.PropDescriptor_hyT = new S.PropDescriptor(string$.DesignMStMdPf); - C.PropDescriptor_adc = new S.PropDescriptor(string$.DesignMStMdPi); - C.PropDescriptor_HbX = new S.PropDescriptor(string$.DesignMStMdPt); - C.PropDescriptor_LMA = new S.PropDescriptor(string$.DesignMStMdPg); - C.PropDescriptor_0vw = new S.PropDescriptor(string$.DesignMStMdPsa); - C.PropDescriptor_adc0 = new S.PropDescriptor(string$.DesignMStMdPse); - C.PropDescriptor_Qtf = new S.PropDescriptor(string$.DesignMStMdPh); - C.PropDescriptor_fN9 = new S.PropDescriptor("DesignMainStrandModificationProps.ext"); - C.PropDescriptor_IQp = new S.PropDescriptor(string$.DesignMStMdPr); - C.List_wwd = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Zq7, C.PropDescriptor_Gxp, C.PropDescriptor_0O7, C.PropDescriptor_hyT, C.PropDescriptor_adc, C.PropDescriptor_HbX, C.PropDescriptor_LMA, C.PropDescriptor_0vw, C.PropDescriptor_adc0, C.PropDescriptor_Qtf, C.PropDescriptor_fN9, C.PropDescriptor_IQp]), type$.JSArray_legacy_PropDescriptor); - C.List_OGl = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStMdPdn, "DesignMainStrandModificationProps.helix", string$.DesignMStMdPdi, string$.DesignMStMdPf, string$.DesignMStMdPi, string$.DesignMStMdPt, string$.DesignMStMdPg, string$.DesignMStMdPsa, string$.DesignMStMdPse, string$.DesignMStMdPh, "DesignMainStrandModificationProps.ext", string$.DesignMStMdPr]), type$.JSArray_legacy_String); - C.PropsMeta_V43 = new S.PropsMeta(C.List_wwd, C.List_OGl); - C.Map_l5Ymk = new H.GeneralConstantMap([C.Type_mly, C.PropsMeta_V43], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_7N7 = H.typeLiteral("DesignMainStrandInsertionPropsMixin"); - C.PropDescriptor_W3P = new S.PropDescriptor(string$.DesignMStIsea); - C.PropDescriptor_xw8 = new S.PropDescriptor(string$.DesignMStIh); - C.PropDescriptor_zHF = new S.PropDescriptor(string$.DesignMStIt); - C.PropDescriptor_Nd1 = new S.PropDescriptor(string$.DesignMStIc); - C.PropDescriptor_DV7 = new S.PropDescriptor(string$.DesignMStIsee); - C.PropDescriptor_yiu = new S.PropDescriptor(string$.DesignMStId); - C.PropDescriptor_m3D = new S.PropDescriptor(string$.DesignMStIsv); - C.PropDescriptor_Qgx = new S.PropDescriptor(string$.DesignMStIr); - C.List_MUs = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_W3P, C.PropDescriptor_xw8, C.PropDescriptor_zHF, C.PropDescriptor_Nd1, C.PropDescriptor_DV7, C.PropDescriptor_yiu, C.PropDescriptor_m3D, C.PropDescriptor_Qgx]), type$.JSArray_legacy_PropDescriptor); - C.List_4em = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStIsea, string$.DesignMStIh, string$.DesignMStIt, string$.DesignMStIc, string$.DesignMStIsee, string$.DesignMStId, string$.DesignMStIsv, string$.DesignMStIr]), type$.JSArray_legacy_String); - C.PropsMeta_a4k = new S.PropsMeta(C.List_MUs, C.List_4em); - C.Map_mu0ib = new H.GeneralConstantMap([C.Type_7N7, C.PropsMeta_a4k], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignFooterProps_qRH = H.typeLiteral("DesignFooterProps"); - C.PropDescriptor_2jR = new S.PropDescriptor("DesignFooterProps.mouseover_datas"); - C.PropDescriptor_chs0 = new S.PropDescriptor(string$.DesignF); - C.PropDescriptor_QAM = new S.PropDescriptor("DesignFooterProps.loaded_filename"); - C.List_ewF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2jR, C.PropDescriptor_chs0, C.PropDescriptor_QAM]), type$.JSArray_legacy_PropDescriptor); - C.List_uh9 = H.setRuntimeTypeInfo(makeConstList(["DesignFooterProps.mouseover_datas", string$.DesignF, "DesignFooterProps.loaded_filename"]), type$.JSArray_legacy_String); - C.PropsMeta_8GZ = new S.PropsMeta(C.List_ewF, C.List_uh9); - C.Map_np2PZ = new H.GeneralConstantMap([C.Type_DesignFooterProps_qRH, C.PropsMeta_8GZ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainHelicesProps_Jik = H.typeLiteral("DesignMainHelicesProps"); - C.PropDescriptor_Sk7 = new S.PropDescriptor("DesignMainHelicesProps.helices"); - C.PropDescriptor_kqK = new S.PropDescriptor(string$.DesignMHchis); - C.PropDescriptor_G3F = new S.PropDescriptor("DesignMainHelicesProps.groups"); - C.PropDescriptor_MyV1 = new S.PropDescriptor(string$.DesignMHcsi); - C.PropDescriptor_EuN = new S.PropDescriptor(string$.DesignMHcmo); - C.PropDescriptor_TOw = new S.PropDescriptor(string$.DesignMHcmw); - C.PropDescriptor_Kro = new S.PropDescriptor(string$.DesignMHco); - C.PropDescriptor_IoN = new S.PropDescriptor(string$.DesignMHchc); - C.PropDescriptor_2jM = new S.PropDescriptor("DesignMainHelicesProps.show_dna"); - C.PropDescriptor_a1A = new S.PropDescriptor(string$.DesignMHcshd); - C.PropDescriptor_k8l = new S.PropDescriptor(string$.DesignMHcdb); - C.PropDescriptor_Tbh = new S.PropDescriptor(string$.DesignMHcdb_); - C.PropDescriptor_gkJ0 = new S.PropDescriptor(string$.DesignMHcdm); - C.PropDescriptor_Wbs = new S.PropDescriptor(string$.DesignMHcdm_); - C.PropDescriptor_kB8 = new S.PropDescriptor("DesignMainHelicesProps.geometry"); - C.PropDescriptor_Xbg = new S.PropDescriptor(string$.DesignMHcshh); - C.PropDescriptor_mt11 = new S.PropDescriptor(string$.DesignMHchi_); - C.PropDescriptor_5m4 = new S.PropDescriptor("DesignMainHelicesProps.invert_y"); - C.List_4aQ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Sk7, C.PropDescriptor_kqK, C.PropDescriptor_G3F, C.PropDescriptor_MyV1, C.PropDescriptor_EuN, C.PropDescriptor_TOw, C.PropDescriptor_Kro, C.PropDescriptor_IoN, C.PropDescriptor_2jM, C.PropDescriptor_a1A, C.PropDescriptor_k8l, C.PropDescriptor_Tbh, C.PropDescriptor_gkJ0, C.PropDescriptor_Wbs, C.PropDescriptor_kB8, C.PropDescriptor_Xbg, C.PropDescriptor_mt11, C.PropDescriptor_5m4]), type$.JSArray_legacy_PropDescriptor); - C.List_AeS0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainHelicesProps.helices", string$.DesignMHchis, "DesignMainHelicesProps.groups", string$.DesignMHcsi, string$.DesignMHcmo, string$.DesignMHcmw, string$.DesignMHco, string$.DesignMHchc, "DesignMainHelicesProps.show_dna", string$.DesignMHcshd, string$.DesignMHcdb, string$.DesignMHcdb_, string$.DesignMHcdm, string$.DesignMHcdm_, "DesignMainHelicesProps.geometry", string$.DesignMHcshh, string$.DesignMHchi_, "DesignMainHelicesProps.invert_y"]), type$.JSArray_legacy_String); - C.PropsMeta_2Hq = new S.PropsMeta(C.List_4aQ, C.List_AeS0); - C.Map_qZ0 = new H.GeneralConstantMap([C.Type_DesignMainHelicesProps_Jik, C.PropsMeta_2Hq], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_v1a = H.typeLiteral("DesignSidePotentialHelixProps"); - C.PropDescriptor_U8c = new S.PropDescriptor("DesignSidePotentialHelixProps.grid"); - C.PropDescriptor_2Zs = new S.PropDescriptor(string$.DesignSPog); - C.PropDescriptor_EgC = new S.PropDescriptor(string$.DesignSPom); - C.PropDescriptor_NIe = new S.PropDescriptor("DesignSidePotentialHelixProps.invert_y"); - C.PropDescriptor_NIe0 = new S.PropDescriptor("DesignSidePotentialHelixProps.geometry"); - C.List_OnH = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_U8c, C.PropDescriptor_2Zs, C.PropDescriptor_EgC, C.PropDescriptor_NIe, C.PropDescriptor_NIe0]), type$.JSArray_legacy_PropDescriptor); - C.List_I2O = H.setRuntimeTypeInfo(makeConstList(["DesignSidePotentialHelixProps.grid", string$.DesignSPog, string$.DesignSPom, "DesignSidePotentialHelixProps.invert_y", "DesignSidePotentialHelixProps.geometry"]), type$.JSArray_legacy_String); - C.PropsMeta_UW6 = new S.PropsMeta(C.List_OnH, C.List_I2O); - C.Map_qpW5w = new H.GeneralConstantMap([C.Type_v1a, C.PropsMeta_UW6], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_FKj = H.typeLiteral("DesignMainStrandExtensionTextPropsMixin"); - C.PropDescriptor_enb = new S.PropDescriptor(string$.DesignMStEe); - C.PropDescriptor_fx3 = new S.PropDescriptor(string$.DesignMStEg); - C.PropDescriptor_4oR = new S.PropDescriptor(string$.DesignMStEt); - C.PropDescriptor_kUZ = new S.PropDescriptor(string$.DesignMStEc); - C.PropDescriptor_W6l = new S.PropDescriptor(string$.DesignMStEn); - C.PropDescriptor_Gxp0 = new S.PropDescriptor(string$.DesignMStEf); - C.List_RsV = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_enb, C.PropDescriptor_fx3, C.PropDescriptor_4oR, C.PropDescriptor_kUZ, C.PropDescriptor_W6l, C.PropDescriptor_Gxp0]), type$.JSArray_legacy_PropDescriptor); - C.List_VOd = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStEe, string$.DesignMStEg, string$.DesignMStEt, string$.DesignMStEc, string$.DesignMStEn, string$.DesignMStEf]), type$.JSArray_legacy_String); - C.PropsMeta_ubj = new S.PropsMeta(C.List_RsV, C.List_VOd); - C.Map_qrwEo = new H.GeneralConstantMap([C.Type_FKj, C.PropsMeta_ubj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_SideMenuPropsMixin_2jN = H.typeLiteral("SideMenuPropsMixin"); - C.PropDescriptor_ATp = new S.PropDescriptor("SideMenuPropsMixin.groups"); - C.PropDescriptor_yzJ = new S.PropDescriptor("SideMenuPropsMixin.displayed_group_name"); - C.List_jFK = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_ATp, C.PropDescriptor_yzJ]), type$.JSArray_legacy_PropDescriptor); - C.List_RA5 = H.setRuntimeTypeInfo(makeConstList(["SideMenuPropsMixin.groups", "SideMenuPropsMixin.displayed_group_name"]), type$.JSArray_legacy_String); - C.PropsMeta_DV7 = new S.PropsMeta(C.List_jFK, C.List_RA5); - C.Map_savdf = new H.GeneralConstantMap([C.Type_SideMenuPropsMixin_2jN, C.PropsMeta_DV7, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_SelectModePropsMixin_kqe = H.typeLiteral("SelectModePropsMixin"); - C.PropDescriptor_lG30 = new S.PropDescriptor("SelectModePropsMixin.select_mode_state"); - C.PropDescriptor_Sxd = new S.PropDescriptor("SelectModePropsMixin.is_origami"); - C.List_2ev = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_lG30, C.PropDescriptor_Sxd]), type$.JSArray_legacy_PropDescriptor); - C.List_wkm = H.setRuntimeTypeInfo(makeConstList(["SelectModePropsMixin.select_mode_state", "SelectModePropsMixin.is_origami"]), type$.JSArray_legacy_String); - C.PropsMeta_paF = new S.PropsMeta(C.List_2ev, C.List_wkm); - C.Map_scECG = new H.GeneralConstantMap([C.Type_SelectModePropsMixin_kqe, C.PropsMeta_paF, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_DesignMainDNAMismatchesProps_138 = H.typeLiteral("DesignMainDNAMismatchesProps"); - C.PropDescriptor_IuH5 = new S.PropDescriptor("DesignMainDNAMismatchesProps.design"); - C.PropDescriptor_2jN2 = new S.PropDescriptor(string$.DesignMDNMo); - C.PropDescriptor_Q4o3 = new S.PropDescriptor(string$.DesignMDNMs); - C.PropDescriptor_s0y0 = new S.PropDescriptor(string$.DesignMDNMh); - C.List_K7U = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH5, C.PropDescriptor_2jN2, C.PropDescriptor_Q4o3, C.PropDescriptor_s0y0]), type$.JSArray_legacy_PropDescriptor); - C.List_9Mg = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNAMismatchesProps.design", string$.DesignMDNMo, string$.DesignMDNMs, string$.DesignMDNMh]), type$.JSArray_legacy_String); - C.PropsMeta_cgN = new S.PropsMeta(C.List_K7U, C.List_9Mg); - C.Map_utYMy = new H.GeneralConstantMap([C.Type_DesignMainDNAMismatchesProps_138, C.PropsMeta_cgN], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_SelectionRopeViewProps_qMs = H.typeLiteral("SelectionRopeViewProps"); - C.PropDescriptor_BLu = new S.PropDescriptor("SelectionRopeViewProps.selection_rope"); - C.PropDescriptor_w6D = new S.PropDescriptor(string$.SelectR); - C.PropDescriptor_kEm4 = new S.PropDescriptor("SelectionRopeViewProps.id"); - C.PropDescriptor_ynF = new S.PropDescriptor("SelectionRopeViewProps.is_main"); - C.List_Ctj = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_BLu, C.PropDescriptor_w6D, C.PropDescriptor_kEm4, C.PropDescriptor_ynF]), type$.JSArray_legacy_PropDescriptor); - C.List_Sof = H.setRuntimeTypeInfo(makeConstList(["SelectionRopeViewProps.selection_rope", string$.SelectR, "SelectionRopeViewProps.id", "SelectionRopeViewProps.is_main"]), type$.JSArray_legacy_String); - C.PropsMeta_43h = new S.PropsMeta(C.List_Ctj, C.List_Sof); - C.Map_vS6pM = new H.GeneralConstantMap([C.Type_SelectionRopeViewProps_qMs, C.PropsMeta_43h], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_kOw = H.typeLiteral("DesignMainStrandPathsPropsMixin"); - C.PropDescriptor_IuH6 = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.strand"); - C.PropDescriptor_xnT = new S.PropDescriptor(string$.DesignMStPasi); - C.PropDescriptor_gkc4 = new S.PropDescriptor(string$.DesignMStPaseen); - C.PropDescriptor_IY7 = new S.PropDescriptor(string$.DesignMStPasec); - C.PropDescriptor_chs1 = new S.PropDescriptor(string$.DesignMStPasel); - C.PropDescriptor_cw1 = new S.PropDescriptor(string$.DesignMStPaseex); - C.PropDescriptor_2Vk2 = new S.PropDescriptor(string$.DesignMStPased); - C.PropDescriptor_7SI = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.helices"); - C.PropDescriptor_uAl = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.groups"); - C.PropDescriptor_Gfp = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.geometry"); - C.PropDescriptor_QAM0 = new S.PropDescriptor(string$.DesignMStPashd); - C.PropDescriptor_woc1 = new S.PropDescriptor(string$.DesignMStPashs); - C.PropDescriptor_kEm5 = new S.PropDescriptor(string$.DesignMStPad); - C.PropDescriptor_o8I = new S.PropDescriptor(string$.DesignMStPam); - C.PropDescriptor_xEb = new S.PropDescriptor(string$.DesignMStPaor); - C.PropDescriptor_kJI = new S.PropDescriptor(string$.DesignMStPast); - C.PropDescriptor_aTF = new S.PropDescriptor(string$.DesignMStPaon); - C.PropDescriptor_wEQ = new S.PropDescriptor(string$.DesignMStPac); - C.PropDescriptor_ExF = new S.PropDescriptor(string$.DesignMStPah); - C.PropDescriptor_fGP = new S.PropDescriptor(string$.DesignMStPar); - C.List_WzB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH6, C.PropDescriptor_xnT, C.PropDescriptor_gkc4, C.PropDescriptor_IY7, C.PropDescriptor_chs1, C.PropDescriptor_cw1, C.PropDescriptor_2Vk2, C.PropDescriptor_7SI, C.PropDescriptor_uAl, C.PropDescriptor_Gfp, C.PropDescriptor_QAM0, C.PropDescriptor_woc1, C.PropDescriptor_kEm5, C.PropDescriptor_o8I, C.PropDescriptor_xEb, C.PropDescriptor_kJI, C.PropDescriptor_aTF, C.PropDescriptor_wEQ, C.PropDescriptor_ExF, C.PropDescriptor_fGP]), type$.JSArray_legacy_PropDescriptor); - C.List_oyU0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandPathsPropsMixin.strand", string$.DesignMStPasi, string$.DesignMStPaseen, string$.DesignMStPasec, string$.DesignMStPasel, string$.DesignMStPaseex, string$.DesignMStPased, "DesignMainStrandPathsPropsMixin.helices", "DesignMainStrandPathsPropsMixin.groups", "DesignMainStrandPathsPropsMixin.geometry", string$.DesignMStPashd, string$.DesignMStPashs, string$.DesignMStPad, string$.DesignMStPam, string$.DesignMStPaor, string$.DesignMStPast, string$.DesignMStPaon, string$.DesignMStPac, string$.DesignMStPah, string$.DesignMStPar]), type$.JSArray_legacy_String); - C.PropsMeta_suM = new S.PropsMeta(C.List_WzB, C.List_oyU0); - C.Map_wo7xB = new H.GeneralConstantMap([C.Type_kOw, C.PropsMeta_suM, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Type_66y = H.typeLiteral("DesignMainPotentialVerticalCrossoverPropsMixin"); - C.PropDescriptor_aRc = new S.PropDescriptor(string$.DesignMPoPp); - C.PropDescriptor_kOw = new S.PropDescriptor(string$.DesignMPoPhc); - C.PropDescriptor_yPV = new S.PropDescriptor(string$.DesignMPoPgr); - C.PropDescriptor_yfz = new S.PropDescriptor(string$.DesignMPoPge); - C.PropDescriptor_gNF = new S.PropDescriptor(string$.DesignMPoPhx); - C.List_Q5Z = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_aRc, C.PropDescriptor_kOw, C.PropDescriptor_yPV, C.PropDescriptor_yfz, C.PropDescriptor_gNF]), type$.JSArray_legacy_PropDescriptor); - C.List_YBU = H.setRuntimeTypeInfo(makeConstList([string$.DesignMPoPp, string$.DesignMPoPhc, string$.DesignMPoPgr, string$.DesignMPoPge, string$.DesignMPoPhx]), type$.JSArray_legacy_String); - C.PropsMeta_5Ea = new S.PropsMeta(C.List_Q5Z, C.List_YBU); - C.Map_xiMwM = new H.GeneralConstantMap([C.Type_66y, C.PropsMeta_5Ea, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.Map_yHyvP = new H.GeneralConstantMap([C.StrandOrder_five_prime, "5'", C.StrandOrder_three_prime, "3'", C.StrandOrder_five_or_three_prime, "5' or 3'", C.StrandOrder_top_left_domain_start, "top left domain"], H.findType("GeneralConstantMap")); - C.Type_DesignMainLoopoutPropsMixin_QyV = H.typeLiteral("DesignMainLoopoutPropsMixin"); - C.PropDescriptor_iml = new S.PropDescriptor("DesignMainLoopoutPropsMixin.loopout"); - C.PropDescriptor_IuH7 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.strand"); - C.PropDescriptor_EK0 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.strand_color"); - C.PropDescriptor_MYA = new S.PropDescriptor("DesignMainLoopoutPropsMixin.prev_domain"); - C.PropDescriptor_sMl = new S.PropDescriptor("DesignMainLoopoutPropsMixin.next_domain"); - C.PropDescriptor_wAg = new S.PropDescriptor("DesignMainLoopoutPropsMixin.prev_helix"); - C.PropDescriptor_h4U = new S.PropDescriptor("DesignMainLoopoutPropsMixin.next_helix"); - C.PropDescriptor_m7u = new S.PropDescriptor("DesignMainLoopoutPropsMixin.selected"); - C.PropDescriptor_8fc = new S.PropDescriptor("DesignMainLoopoutPropsMixin.edit_modes"); - C.PropDescriptor_ChN = new S.PropDescriptor(string$.DesignMLPs); - C.PropDescriptor_O9i = new S.PropDescriptor("DesignMainLoopoutPropsMixin.helices"); - C.PropDescriptor_Mtn = new S.PropDescriptor("DesignMainLoopoutPropsMixin.groups"); - C.PropDescriptor_m7u0 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.geometry"); - C.PropDescriptor_mlC = new S.PropDescriptor(string$.DesignMLPp); - C.PropDescriptor_XHL = new S.PropDescriptor(string$.DesignMLPn); - C.PropDescriptor_Esr = new S.PropDescriptor(string$.DesignMLPr); - C.List_Y3m = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_iml, C.PropDescriptor_IuH7, C.PropDescriptor_EK0, C.PropDescriptor_MYA, C.PropDescriptor_sMl, C.PropDescriptor_wAg, C.PropDescriptor_h4U, C.PropDescriptor_m7u, C.PropDescriptor_8fc, C.PropDescriptor_ChN, C.PropDescriptor_O9i, C.PropDescriptor_Mtn, C.PropDescriptor_m7u0, C.PropDescriptor_mlC, C.PropDescriptor_XHL, C.PropDescriptor_Esr]), type$.JSArray_legacy_PropDescriptor); - C.List_ouf = H.setRuntimeTypeInfo(makeConstList(["DesignMainLoopoutPropsMixin.loopout", "DesignMainLoopoutPropsMixin.strand", "DesignMainLoopoutPropsMixin.strand_color", "DesignMainLoopoutPropsMixin.prev_domain", "DesignMainLoopoutPropsMixin.next_domain", "DesignMainLoopoutPropsMixin.prev_helix", "DesignMainLoopoutPropsMixin.next_helix", "DesignMainLoopoutPropsMixin.selected", "DesignMainLoopoutPropsMixin.edit_modes", string$.DesignMLPs, "DesignMainLoopoutPropsMixin.helices", "DesignMainLoopoutPropsMixin.groups", "DesignMainLoopoutPropsMixin.geometry", string$.DesignMLPp, string$.DesignMLPn, string$.DesignMLPr]), type$.JSArray_legacy_String); - C.PropsMeta_bRy = new S.PropsMeta(C.List_Y3m, C.List_ouf); - C.Map_zgaN4 = new H.GeneralConstantMap([C.Type_DesignMainLoopoutPropsMixin_QyV, C.PropsMeta_bRy, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); - C.ModificationType_five_prime = new Y.ModificationType("five_prime"); - C.ModificationType_internal = new Y.ModificationType("internal"); - C.ModificationType_three_prime = new Y.ModificationType("three_prime"); - C.Orientation_0 = new F.Orientation("Orientation.collinear"); - C.Orientation_1 = new F.Orientation("Orientation.counterclockwise"); - C.Orientation_2 = new F.Orientation("Orientation.clockwise"); - C.PlateType_0 = new D.PlateType("PlateType.wells96"); - C.PlateType_1 = new D.PlateType("PlateType.wells384"); - C.PlateType_2 = new D.PlateType("PlateType.none"); - C.Point_0_0 = new P.Point(0, 0, type$.Point_legacy_num); - C.PropsMetaCollection_Map_SCwEo = new S.PropsMetaCollection(C.Map_SCwEo); - C.PropsMetaCollection_Map_iSA0t = new S.PropsMetaCollection(C.Map_iSA0t); - C.PropsMetaCollection_Map_savdf = new S.PropsMetaCollection(C.Map_savdf); - C.PropsMetaCollection_Map_scECG = new S.PropsMetaCollection(C.Map_scECG); - C.List_empty10 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_PropDescriptor); - C.PropsMeta_List_empty_List_empty = new S.PropsMeta(C.List_empty10, C.List_empty0); - C.SelectModeChoice_crossover = new D.SelectModeChoice("crossover"); - C.SelectModeChoice_deletion = new D.SelectModeChoice("deletion"); - C.SelectModeChoice_domain = new D.SelectModeChoice("domain"); - C.SelectModeChoice_end_3p_domain = new D.SelectModeChoice("end_3p_domain"); - C.SelectModeChoice_end_3p_strand = new D.SelectModeChoice("end_3p_strand"); - C.SelectModeChoice_end_5p_domain = new D.SelectModeChoice("end_5p_domain"); - C.SelectModeChoice_end_5p_strand = new D.SelectModeChoice("end_5p_strand"); - C.SelectModeChoice_extension_ = new D.SelectModeChoice("extension_"); - C.SelectModeChoice_insertion = new D.SelectModeChoice("insertion"); - C.SelectModeChoice_loopout = new D.SelectModeChoice("loopout"); - C.SelectModeChoice_modification = new D.SelectModeChoice("modification"); - C.SelectModeChoice_scaffold = new D.SelectModeChoice("scaffold"); - C.SelectModeChoice_staple = new D.SelectModeChoice("staple"); - C.SelectModeChoice_strand = new D.SelectModeChoice("strand"); - C.XmlNodeType_0 = new E.XmlNodeType("XmlNodeType.ATTRIBUTE"); - C.Map_EeEOF = new H.GeneralConstantMap([C.XmlNodeType_0, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); - C.Set_EeIxt = new P._UnmodifiableSet(C.Map_EeEOF, type$._UnmodifiableSet_legacy_XmlNodeType); - C.XmlNodeType_1 = new E.XmlNodeType("XmlNodeType.CDATA"); - C.XmlNodeType_2 = new E.XmlNodeType("XmlNodeType.COMMENT"); - C.XmlNodeType_3 = new E.XmlNodeType("XmlNodeType.DECLARATION"); - C.XmlNodeType_4 = new E.XmlNodeType("XmlNodeType.DOCUMENT_TYPE"); - C.XmlNodeType_7 = new E.XmlNodeType("XmlNodeType.ELEMENT"); - C.XmlNodeType_8 = new E.XmlNodeType("XmlNodeType.PROCESSING"); - C.XmlNodeType_9 = new E.XmlNodeType("XmlNodeType.TEXT"); - C.Map_QYoWp = new H.GeneralConstantMap([C.XmlNodeType_1, null, C.XmlNodeType_2, null, C.XmlNodeType_3, null, C.XmlNodeType_4, null, C.XmlNodeType_7, null, C.XmlNodeType_8, null, C.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); - C.Set_QYFY4 = new P._UnmodifiableSet(C.Map_QYoWp, type$._UnmodifiableSet_legacy_XmlNodeType); - C.Map_empty6 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap")); - C.Set_empty = new P._UnmodifiableSet(C.Map_empty6, H.findType("_UnmodifiableSet")); - C.Map_q8pX9 = new H.GeneralConstantMap([C.XmlNodeType_1, null, C.XmlNodeType_2, null, C.XmlNodeType_7, null, C.XmlNodeType_8, null, C.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); - C.Set_q81d9 = new P._UnmodifiableSet(C.Map_q8pX9, type$._UnmodifiableSet_legacy_XmlNodeType); - C.Symbol_$defaultConsumedProps = new H.Symbol("$defaultConsumedProps"); - C.Symbol_call = new H.Symbol("call"); - C.Symbol_props = new H.Symbol("props"); - C.Symbol_state = new H.Symbol("state"); - C.Type_23h = H.typeLiteral("DesignMainStrandsMovingComponent"); - C.Type_2bx = H.typeLiteral("DesignMainLoopoutExtensionLengthsComponent"); - C.Type_3dV = H.typeLiteral("DesignMainDomainMovingComponent"); - C.Type_6Lu = H.typeLiteral("StrandOrSubstrandColorPickerComponent"); - C.Type_6eO = H.typeLiteral("DesignMainStrandMovingComponent"); - C.Type_8sg = H.typeLiteral("DesignMainStrandDomainTextComponent"); - C.Type_AeS = H.typeLiteral("DesignMainBasePairRectangleComponent"); - C.Type_B8J = H.typeLiteral("PotentialCrossoverViewComponent"); - C.Type_BigInt_8OV = H.typeLiteral("BigInt"); - C.Type_BoolJsonObject_8HQ = H.typeLiteral("BoolJsonObject"); - C.Type_ByteBuffer_RkP = H.typeLiteral("ByteBuffer"); - C.Type_ByteData_zNC = H.typeLiteral("ByteData"); - C.Type_DNd = H.typeLiteral("DesignSideRotationArrowComponent"); - C.Type_DateTime_8AS = H.typeLiteral("DateTime"); - C.Type_DesignContextMenuComponent_CB6 = H.typeLiteral("DesignContextMenuComponent"); - C.Type_DesignDialogFormComponent_qsu = H.typeLiteral("DesignDialogFormComponent"); - C.Type_DesignFooterComponent_2jN = H.typeLiteral("DesignFooterComponent"); - C.Type_DesignLoadingDialogComponent_UAO = H.typeLiteral("DesignLoadingDialogComponent"); - C.Type_DesignMainArrowsComponent_Shv = H.typeLiteral("DesignMainArrowsComponent0"); - C.Type_DesignMainArrowsComponent_gsm = H.typeLiteral("DesignMainArrowsComponent"); - C.Type_DesignMainComponent_zC4 = H.typeLiteral("DesignMainComponent"); - C.Type_DesignMainDNAEndComponent_dcz = H.typeLiteral("DesignMainDNAEndComponent"); - C.Type_DesignMainDomainComponent_WvD = H.typeLiteral("DesignMainDomainComponent"); - C.Type_DesignMainExtensionComponent_aJt = H.typeLiteral("DesignMainExtensionComponent"); - C.Type_DesignMainHelicesComponent_m81 = H.typeLiteral("DesignMainHelicesComponent"); - C.Type_DesignMainHelixComponent_etC = H.typeLiteral("DesignMainHelixComponent"); - C.Type_DesignMainLoopoutComponent_Tng = H.typeLiteral("DesignMainLoopoutComponent"); - C.Type_DesignMainSliceBarComponent_E8w = H.typeLiteral("DesignMainSliceBarComponent"); - C.Type_DesignMainStrandComponent_Met = H.typeLiteral("DesignMainStrandComponent"); - C.Type_DesignMainStrandsComponent_qBX = H.typeLiteral("DesignMainStrandsComponent"); - C.Type_DesignSideComponent_G7N = H.typeLiteral("DesignSideComponent"); - C.Type_DesignSideHelixComponent_Uq5 = H.typeLiteral("DesignSideHelixComponent"); - C.Type_DesignSideRotationComponent_I27 = H.typeLiteral("DesignSideRotationComponent"); - C.Type_Duration_SnA = H.typeLiteral("Duration"); - C.Type_EditAndSelectModesComponent_yz6 = H.typeLiteral("EditAndSelectModesComponent"); - C.Type_EditModeComponent_sLD = H.typeLiteral("EditModeComponent"); - C.Type_End3PrimeComponent_Eo2 = H.typeLiteral("End3PrimeComponent"); - C.Type_End5PrimeComponent_E4y = H.typeLiteral("End5PrimeComponent"); - C.Type_EndMovingComponent_wbZ = H.typeLiteral("EndMovingComponent"); - C.Type_ErrorBoundaryComponent_uYe = H.typeLiteral("ErrorBoundaryComponent"); - C.Type_ExtensionEndMovingComponent_wIq = H.typeLiteral("ExtensionEndMovingComponent"); - C.Type_F7U = H.typeLiteral("DesignMainDNASequenceComponent"); - C.Type_Float32List_LB7 = H.typeLiteral("Float32List"); - C.Type_Float64List_LB7 = H.typeLiteral("Float64List"); - C.Type_HelixGroupMovingComponent_ahM = H.typeLiteral("HelixGroupMovingComponent"); - C.Type_IJa = H.typeLiteral("DesignMainPotentialVerticalCrossoversComponent"); - C.Type_Int16List_uXf = H.typeLiteral("Int16List"); - C.Type_Int32List_O50 = H.typeLiteral("Int32List"); - C.Type_Int32_MYA = H.typeLiteral("Int32"); - C.Type_Int64_gc6 = H.typeLiteral("Int64"); - C.Type_Int8List_ekJ = H.typeLiteral("Int8List"); - C.Type_JSObject_8k0 = H.typeLiteral("JSObject"); - C.Type_JsonObject_gyf = H.typeLiteral("JsonObject"); - C.Type_L5J = H.typeLiteral("PotentialExtensionsViewComponent"); - C.Type_ListJsonObject_yPV = H.typeLiteral("ListJsonObject"); - C.Type_MapJsonObject_bBG = H.typeLiteral("MapJsonObject"); - C.Type_MenuBooleanComponent_2Lo = H.typeLiteral("MenuBooleanComponent"); - C.Type_MenuComponent_4CA = H.typeLiteral("MenuComponent"); - C.Type_MenuDropdownItemComponent_YEs = H.typeLiteral("MenuDropdownItemComponent"); - C.Type_MenuDropdownRightComponent_4QF = H.typeLiteral("MenuDropdownRightComponent"); - C.Type_MenuFormFileComponent_6TA = H.typeLiteral("MenuFormFileComponent"); - C.Type_MenuNumberComponent_qRH = H.typeLiteral("MenuNumberComponent"); - C.Type_NQk = H.typeLiteral("DesignMainStrandDeletionComponent"); - C.Type_Null_Yyn = H.typeLiteral("Null"); - C.Type_NumJsonObject_H9C = H.typeLiteral("NumJsonObject"); - C.Type_QfR = H.typeLiteral("DesignSidePotentialHelixComponent"); - C.Type_QtW = H.typeLiteral("DesignMainDNAMismatchesComponent"); - C.Type_RegExp_Eeh = H.typeLiteral("RegExp"); - C.Type_RoN = H.typeLiteral("DesignContextSubmenuComponent"); - C.Type_SelectModeComponent_uvy = H.typeLiteral("SelectModeComponent"); - C.Type_SelectionBoxViewComponent_Wzb = H.typeLiteral("SelectionBoxViewComponent"); - C.Type_SelectionRopeViewComponent_6D4 = H.typeLiteral("SelectionRopeViewComponent"); - C.Type_Sfe = H.typeLiteral("DesignMainDomainNameMismatchesComponent"); - C.Type_SideMenuComponent_oEK = H.typeLiteral("SideMenuComponent"); - C.Type_StringJsonObject_GAC = H.typeLiteral("StringJsonObject"); - C.Type_TRH = H.typeLiteral("DesignMainStrandInsertionComponent"); - C.Type_Ucj = H.typeLiteral("DesignMainDomainsMovingComponent"); - C.Type_Uint16List_2bx = H.typeLiteral("Uint16List"); - C.Type_Uint32List_2bx = H.typeLiteral("Uint32List"); - C.Type_Uint8ClampedList_Jik = H.typeLiteral("Uint8ClampedList"); - C.Type_Uint8List_WLA = H.typeLiteral("Uint8List"); - C.Type_Uri_EFX = H.typeLiteral("Uri"); - C.Type_Wbn = H.typeLiteral("DesignMainStrandModificationsComponent"); - C.Type_YX3 = H.typeLiteral("DesignMainLoopoutExtensionLengthComponent"); - C.Type_Ykb = H.typeLiteral("DesignMainStrandPathsComponent"); - C.Type_bbH = H.typeLiteral("DesignMainUnpairedInsertionDeletionsComponent"); - C.Type_eTF = H.typeLiteral("DesignMainStrandAndDomainTextsComponent"); - C.Type_ej4 = H.typeLiteral("DesignMainStrandCreatingComponent"); - C.Type_fVV = H.typeLiteral("DesignMainStrandLoopoutTextComponent"); - C.Type_gc6 = H.typeLiteral("RecoverableErrorBoundaryComponent"); - C.Type_gzy = H.typeLiteral("DesignMainErrorBoundaryComponent"); - C.Type_k1a = H.typeLiteral("DesignMainWarningStarComponent"); - C.Type_k2a = H.typeLiteral("DesignMainStrandCrossoverComponent"); - C.Type_o8I = H.typeLiteral("DesignMainStrandModificationComponent"); - C.Type_qJx = H.typeLiteral("DesignMainDNASequencesComponent"); - C.Type_qlj = H.typeLiteral("DesignMainPotentialVerticalCrossoverComponent"); - C.Type_qxd = H.typeLiteral("DesignMainStrandExtensionTextComponent"); - C.Type_y0U = H.typeLiteral("DesignMainBasePairLinesComponent"); - C.Utf8Decoder_false = new P.Utf8Decoder(false); - C.XmlNodeType_5 = new E.XmlNodeType("XmlNodeType.DOCUMENT"); - C.XmlNodeType_6 = new E.XmlNodeType("XmlNodeType.DOCUMENT_FRAGMENT"); - C._IterationMarker_null_2 = new P._IterationMarker(null, 2); - C.strand_bounds_status_0 = new A.strand_bounds_status("strand_bounds_status.helix_not_in_design"); - C.strand_bounds_status_1 = new A.strand_bounds_status("strand_bounds_status.helix_out_of_bounds"); - C.strand_bounds_status_2 = new A.strand_bounds_status("strand_bounds_status.min_offset_out_of_bounds"); - C.strand_bounds_status_3 = new A.strand_bounds_status("strand_bounds_status.max_offset_out_of_bounds"); - C.strand_bounds_status_4 = new A.strand_bounds_status("strand_bounds_status.in_bounds_with_min_offset_changes"); - C.strand_bounds_status_5 = new A.strand_bounds_status("strand_bounds_status.in_bounds_with_max_offset_changes"); - C.strand_bounds_status_6 = new A.strand_bounds_status("strand_bounds_status.in_bounds"); - })(); - (function staticFields() { - $._JS_INTEROP_INTERCEPTOR_TAG = null; - $.Closure_functionCounter = 0; - $.BoundClosure_selfFieldNameCache = null; - $.BoundClosure_receiverFieldNameCache = null; - $.getTagFunction = null; - $.alternateTagFunction = null; - $.prototypeForTagFunction = null; - $.dispatchRecordsForInstanceTags = null; - $.interceptorsForUncacheableTags = null; - $.initNativeDispatchFlag = null; - $._nextCallback = null; - $._lastCallback = null; - $._lastPriorityCallback = null; - $._isInCallbackLoop = false; - $.Zone__current = C.C__RootZone; - $._toStringVisiting = H.setRuntimeTypeInfo([], type$.JSArray_Object); - $.Encoding__nameToEncoding = P.LinkedHashMap_LinkedHashMap$_literal(["iso_8859-1:1987", C.C_Latin1Codec, "iso-ir-100", C.C_Latin1Codec, "iso_8859-1", C.C_Latin1Codec, "iso-8859-1", C.C_Latin1Codec, "latin1", C.C_Latin1Codec, "l1", C.C_Latin1Codec, "ibm819", C.C_Latin1Codec, "cp819", C.C_Latin1Codec, "csisolatin1", C.C_Latin1Codec, "iso-ir-6", C.C_AsciiCodec, "ansi_x3.4-1968", C.C_AsciiCodec, "ansi_x3.4-1986", C.C_AsciiCodec, "iso_646.irv:1991", C.C_AsciiCodec, "iso646-us", C.C_AsciiCodec, "us-ascii", C.C_AsciiCodec, "us", C.C_AsciiCodec, "ibm367", C.C_AsciiCodec, "cp367", C.C_AsciiCodec, "csascii", C.C_AsciiCodec, "ascii", C.C_AsciiCodec, "csutf8", C.C_Utf8Codec, "utf-8", C.C_Utf8Codec], type$.String, H.findType("Encoding")); - $.Expando__keyCount = 0; - $._BigIntImpl__lastDividendDigits = null; - $._BigIntImpl__lastDividendUsed = null; - $._BigIntImpl__lastDivisorDigits = null; - $._BigIntImpl__lastDivisorUsed = null; - $._BigIntImpl____lastQuoRemDigits = $; - $._BigIntImpl____lastQuoRemUsed = $; - $._BigIntImpl____lastRemUsed = $; - $._BigIntImpl____lastRem_nsh = $; - $.Element__parseDocument = null; - $.Element__parseRange = null; - $.Element__defaultValidator = null; - $.Element__defaultSanitizer = null; - $.ElementEvents_webkitEvents = function() { - var t1 = type$.String; - return P.LinkedHashMap_LinkedHashMap$_literal(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"], t1, t1); - }(); - $._Html5NodeValidator__attributeValidators = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Function); - $.Deflate____config = $; - $._indentingBuiltValueToStringHelperIndent = 0; - $._currentDrag = null; - $.Draggable_idCounter = 0; - $._DragEventDispatcher_previousTarget = null; - $.LogRecord__nextNumber = 0; - $.Logger__loggers = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); - $._currentUriBase = null; - $._current = null; - $.Browser_navigator = null; - $._browser = null; - $._operatingSystem = null; - $.OperatingSystem_navigator = null; - $._MASK32_HI_BITS = H.setRuntimeTypeInfo([4294967295, 2147483647, 1073741823, 536870911, 268435455, 134217727, 67108863, 33554431, 16777215, 8388607, 4194303, 2097151, 1048575, 524287, 262143, 131071, 65535, 32767, 16383, 8191, 4095, 2047, 1023, 511, 255, 127, 63, 31, 15, 7, 3, 1, 0], type$.JSArray_int); - $._isJsApiValid = false; - $.app = null; - $.scadnano_older_versions_to_link = H.setRuntimeTypeInfo(["0.19.4", "0.18.10", "0.17.14", "0.16.3", "0.15.3", "0.14.0", "0.13.4", "0.12.2"], type$.JSArray_legacy_String); - $.timer = null; - $._throttled_types = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Type, type$.legacy_int); - $._spreasheetExtensionMap = function() { - var t1 = type$.String; - return P.LinkedHashMap_LinkedHashMap$_literal(["ods", "application/vnd.oasis.opendocument.spreadsheet", "xlsx", string$.applic], t1, t1); - }(); - })(); - (function lazyInitializers() { - var _lazyFinal = hunkHelpers.lazyFinal, - _lazy = hunkHelpers.lazy, - _lazyOld = hunkHelpers.lazyOld; - _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", function() { - return H.getIsolateAffinityTag("_$dart_dartClosure"); - }); - _lazyFinal($, "nullFuture", "$get$nullFuture", function() { - return C.C__RootZone.run$1$1(new H.nullFuture_closure(), H.findType("Future")); - }); - _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ - toString: function() { - return "$receiver$"; - } - })); - }); - _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({$method$: null, - toString: function() { - return "$receiver$"; - } - })); - }); - _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null)); - }); - _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - var $argumentsExpr$ = "$arguments$"; - try { - null.$method$($argumentsExpr$); - } catch (e) { - return e.message; - } - }()); - }); - _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0)); - }); - _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - var $argumentsExpr$ = "$arguments$"; - try { - (void 0).$method$($argumentsExpr$); - } catch (e) { - return e.message; - } - }()); - }); - _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null)); - }); - _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - try { - null.$method$; - } catch (e) { - return e.message; - } - }()); - }); - _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0)); - }); - _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - try { - (void 0).$method$; - } catch (e) { - return e.message; - } - }()); - }); - _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", function() { - return P._AsyncRun__initializeScheduleImmediate(); - }); - _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", function() { - return type$._Future_Null._as($.$get$nullFuture()); - }); - _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", function() { - return new P.Utf8Decoder__decoder_closure().call$0(); - }); - _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", function() { - return new P.Utf8Decoder__decoderNonfatal_closure().call$0(); - }); - _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", function() { - return H.NativeInt8List__create1(H._ensureNativeList(H.setRuntimeTypeInfo([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int))); - }); - _lazy($, "_Base64Decoder__emptyBuffer", "$get$_Base64Decoder__emptyBuffer", function() { - return H.NativeUint8List_NativeUint8List(0); - }); - _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", function() { - return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; - }); - _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", function() { - return new Error().stack != void 0; - }); - _lazyFinal($, "_BigIntImpl_zero", "$get$_BigIntImpl_zero", function() { - return P._BigIntImpl__BigIntImpl$_fromInt(0); - }); - _lazyFinal($, "_BigIntImpl_one", "$get$_BigIntImpl_one", function() { - return P._BigIntImpl__BigIntImpl$_fromInt(1); - }); - _lazyFinal($, "_BigIntImpl__minusOne", "$get$_BigIntImpl__minusOne", function() { - return $.$get$_BigIntImpl_one().$negate(0); - }); - _lazyFinal($, "_BigIntImpl__bigInt10000", "$get$_BigIntImpl__bigInt10000", function() { - return P._BigIntImpl__BigIntImpl$_fromInt(10000); - }); - _lazy($, "_BigIntImpl__parseRE", "$get$_BigIntImpl__parseRE", function() { - return P.RegExp_RegExp("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", false); - }); - _lazyFinal($, "DateTime__parseFormat", "$get$DateTime__parseFormat", function() { - return P.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", true); - }); - _lazyFinal($, "_scannerTables", "$get$_scannerTables", function() { - return P._createTables(); - }); - _lazyFinal($, "CssStyleDeclaration__propertyCache", "$get$CssStyleDeclaration__propertyCache", function() { - return {}; - }); - _lazyFinal($, "_Html5NodeValidator__allowedElements", "$get$_Html5NodeValidator__allowedElements", function() { - return P.LinkedHashSet_LinkedHashSet$from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"], type$.String); - }); - _lazyFinal($, "KeyEvent__keyboardEventDispatchRecord", "$get$KeyEvent__keyboardEventDispatchRecord", function() { - return H.makeLeafDispatchRecord(C.KeyboardEvent_methods); - }); - _lazyFinal($, "CssClassSetImpl__validTokenRE", "$get$CssClassSetImpl__validTokenRE", function() { - return P.RegExp_RegExp("^\\S+$", true); - }); - _lazyFinal($, "Device_isOpera", "$get$Device_isOpera", function() { - return J.contains$2$asx(P.Device_userAgent(), "Opera", 0); - }); - _lazyFinal($, "Device_isIE", "$get$Device_isIE", function() { - return !H.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(P.Device_userAgent(), "Trident/", 0); - }); - _lazyFinal($, "Device_isFirefox", "$get$Device_isFirefox", function() { - return J.contains$2$asx(P.Device_userAgent(), "Firefox", 0); - }); - _lazyFinal($, "Device_isWebKit", "$get$Device_isWebKit", function() { - return !H.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(P.Device_userAgent(), "WebKit", 0); - }); - _lazyFinal($, "Device_cssPrefix", "$get$Device_cssPrefix", function() { - return "-" + $.$get$Device_propertyPrefix() + "-"; - }); - _lazyFinal($, "Device_propertyPrefix", "$get$Device_propertyPrefix", function() { - if (H.boolConversionCheck($.$get$Device_isFirefox())) - var t1 = "moz"; - else if ($.$get$Device_isIE()) - t1 = "ms"; - else - t1 = H.boolConversionCheck($.$get$Device_isOpera()) ? "o" : "webkit"; - return t1; - }); - _lazyFinal($, "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME", function() { - return H.getIsolateAffinityTag("_$dart_dartObject"); - }); - _lazyFinal($, "_dartProxyCtor", "$get$_dartProxyCtor", function() { - return function DartObject(o) { - this.o = o; - }; - }); - _lazyFinal($, "BZip2_emptyUint8List", "$get$BZip2_emptyUint8List", function() { - return P.UnmodifiableUint8ListView$(H.NativeUint8List_NativeUint8List(0)); - }); - _lazyFinal($, "BZip2_emptyInt32List", "$get$BZip2_emptyInt32List", function() { - return new P.UnmodifiableInt32ListView(H.NativeInt32List_NativeInt32List(0)); - }); - _lazyFinal($, "_StaticTree_staticLDesc", "$get$_StaticTree_staticLDesc", function() { - return T._StaticTree$(C.List_Xg4, C.List_qQn, 257, 286, 15); - }); - _lazyFinal($, "_StaticTree_staticDDesc", "$get$_StaticTree_staticDDesc", function() { - return T._StaticTree$(C.List_iYO, C.List_X3d, 0, 30, 15); - }); - _lazyFinal($, "_StaticTree_staticBlDesc", "$get$_StaticTree_staticBlDesc", function() { - return T._StaticTree$(null, C.List_uSC0, 0, 19, 7); - }); - _lazyFinal($, "isSoundMode", "$get$isSoundMode", function() { - return !type$.List_int._is(H.setRuntimeTypeInfo([], H.findType("JSArray"))); - }); - _lazy($, "newBuiltValueToStringHelper", "$get$newBuiltValueToStringHelper", function() { - return new Y.newBuiltValueToStringHelper_closure(); - }); - _lazyFinal($, "_runtimeType", "$get$_runtimeType", function() { - return H.getRuntimeType(P.RegExp_RegExp("", true)); - }); - _lazyFinal($, "StandardJsonPlugin__unsupportedTypes", "$get$StandardJsonPlugin__unsupportedTypes", function() { - return X.BuiltSet_BuiltSet([C.Type_BuiltListMultimap_2Mt, C.Type_BuiltSetMultimap_9Fi], type$.Type); - }); - _lazyOld($, "_escapedChar", "$get$_escapedChar", function() { - return P.RegExp_RegExp('["\\x00-\\x1F\\x7F]', true); - }); - _lazyOld($, "token", "$get$token", function() { - return P.RegExp_RegExp('[^()<>@,;:"\\\\/[\\]?={} \\t\\x00-\\x1F\\x7F]+', true); - }); - _lazyOld($, "_lws", "$get$_lws", function() { - return P.RegExp_RegExp("(?:\\r\\n)?[ \\t]+", true); - }); - _lazyOld($, "_quotedString", "$get$_quotedString", function() { - return P.RegExp_RegExp('"(?:[^"\\x00-\\x1F\\x7F]|\\\\.)*"', true); - }); - _lazyOld($, "_quotedPair", "$get$_quotedPair", function() { - return P.RegExp_RegExp("\\\\(.)", true); - }); - _lazyOld($, "nonToken", "$get$nonToken", function() { - return P.RegExp_RegExp('[()<>@,;:"\\\\/\\[\\]?={} \\t\\x00-\\x1F\\x7F]', true); - }); - _lazyOld($, "whitespace", "$get$whitespace", function() { - return P.RegExp_RegExp("(?:" + $.$get$_lws().pattern + ")*", true); - }); - _lazyFinal($, "Logger_root", "$get$Logger_root", function() { - return F.Logger_Logger(""); - }); - _lazyOld($, "ErrorBoundary", "$get$ErrorBoundary", function() { - return M.castUiFactory(Z.error_boundary___$ErrorBoundary$closure(), H.findType("ErrorBoundaryProps*")); - }); - _lazyOld($, "$ErrorBoundaryComponentFactory", "$get$$ErrorBoundaryComponentFactory", function() { - return Z.registerComponent2(new Z.$ErrorBoundaryComponentFactory_closure(), Z.error_boundary___$ErrorBoundary$closure(), C.Type_ErrorBoundaryComponent_uYe, true, null, C.List_empty0); - }); - _lazyOld($, "RecoverableErrorBoundary", "$get$RecoverableErrorBoundary", function() { - return M.castUiFactory(E.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), H.findType("RecoverableErrorBoundaryProps*")); - }); - _lazyOld($, "$RecoverableErrorBoundaryComponentFactory", "$get$$RecoverableErrorBoundaryComponentFactory", function() { - return Z.registerComponent2(new E.$RecoverableErrorBoundaryComponentFactory_closure(), E.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), C.Type_gc6, true, null, C.List_empty0); - }); - _lazyOld($, "_typeAliasToFactory", "$get$_typeAliasToFactory", function() { - return P.Expando$(null, type$.legacy_ReactComponentFactoryProxy); - }); - _lazyOld($, "ReduxProvider", "$get$ReduxProvider", function() { - return new X.ReduxProvider_closure(); - }); - _lazyOld($, "DartValueWrapper__functionWrapperCache", "$get$DartValueWrapper__functionWrapperCache", function() { - return P.Expando$("_functionWrapperCache", H.findType("DartValueWrapper0*")); - }); - _lazyFinal($, "context", "$get$context", function() { - return new M.Context0($.$get$Style_platform()); - }); - _lazyFinal($, "Style_posix", "$get$Style_posix", function() { - return new E.PosixStyle(P.RegExp_RegExp("/", true), P.RegExp_RegExp("[^/]$", true), P.RegExp_RegExp("^/", true)); - }); - _lazyFinal($, "Style_windows", "$get$Style_windows", function() { - return new L.WindowsStyle(P.RegExp_RegExp("[/\\\\]", true), P.RegExp_RegExp("[^/\\\\]$", true), P.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true), P.RegExp_RegExp("^[/\\\\](?![/\\\\])", true)); - }); - _lazyFinal($, "Style_url", "$get$Style_url", function() { - return new F.UrlStyle(P.RegExp_RegExp("/", true), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true), P.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true), P.RegExp_RegExp("^/", true)); - }); - _lazyFinal($, "Style_platform", "$get$Style_platform", function() { - return O.Style__getPlatformStyle(); - }); - _lazyFinal($, "Token__newlineParser", "$get$Token__newlineParser", function() { - return O.ChoiceParserExtension_or(G.char("\n", null), Q.SequenceParserExtension_seq(G.char("\r", null), M.OptionalParserExtension_optional(G.char("\n", null), type$.String))); - }); - _lazyFinal($, "_single", "$get$_single", function() { - return A.MapParserExtension_map(V.any(), new E._single_closure(), false, type$.String, type$.RangeCharPredicate); - }); - _lazyFinal($, "_range", "$get$_range", function() { - return A.MapParserExtension_map(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(V.any(), G.char("-", null)), V.any()), new E._range_closure(), false, type$.List_dynamic, type$.RangeCharPredicate); - }); - _lazyFinal($, "_sequence", "$get$_sequence", function() { - return A.MapParserExtension_map(Z.PossessiveRepeatingParserExtension_star(O.ChoiceParserExtension_or($.$get$_range(), $.$get$_single()), type$.dynamic), new E._sequence_closure(), false, type$.List_dynamic, type$.CharacterPredicate); - }); - _lazyFinal($, "_pattern", "$get$_pattern", function() { - return A.MapParserExtension_map(Q.SequenceParserExtension_seq(M.OptionalParserExtension_optional(G.char("^", null), type$.String), $.$get$_sequence()), new E._pattern_closure(), false, type$.List_dynamic, type$.CharacterPredicate); - }); - _lazyOld($, "Browser_UnknownBrowser", "$get$Browser_UnknownBrowser", function() { - return L.Browser$("Unknown", null, null, null); - }); - _lazyOld($, "Browser__knownBrowsers", "$get$Browser__knownBrowsers", function() { - return H.setRuntimeTypeInfo([$.$get$chrome(), $.$get$firefox(), $.$get$safari(), $.$get$internetExplorer(), $.$get$wkWebView()], H.findType("JSArray")); - }); - _lazyOld($, "chrome", "$get$chrome", function() { - return new L._Chrome("Chrome", L.browser__Chrome__isChrome$closure()); - }); - _lazyOld($, "firefox", "$get$firefox", function() { - return new L._Firefox("Firefox", L.browser__Firefox__isFirefox$closure()); - }); - _lazyOld($, "safari", "$get$safari", function() { - return new L._Safari("Safari", L.browser__Safari__isSafari$closure()); - }); - _lazyOld($, "internetExplorer", "$get$internetExplorer", function() { - return new L._InternetExplorer("Internet Explorer", L.browser__InternetExplorer__isInternetExplorer$closure()); - }); - _lazyOld($, "wkWebView", "$get$wkWebView", function() { - return new L._WKWebView("WKWebView", L.browser__WKWebView__isWKWebView$closure()); - }); - _lazyOld($, "OperatingSystem_UnknownOS", "$get$OperatingSystem_UnknownOS", function() { - return N.OperatingSystem$("Unknown", null); - }); - _lazyOld($, "OperatingSystem__knownSystems", "$get$OperatingSystem__knownSystems", function() { - return H.setRuntimeTypeInfo([$.$get$mac(), $.$get$windows(), $.$get$linux(), $.$get$unix()], H.findType("JSArray")); - }); - _lazyOld($, "linux", "$get$linux", function() { - return N.OperatingSystem$("Linux", new N.linux_closure()); - }); - _lazyOld($, "mac", "$get$mac", function() { - return N.OperatingSystem$("Mac", new N.mac_closure()); - }); - _lazyOld($, "unix", "$get$unix", function() { - return N.OperatingSystem$("Unix", new N.unix_closure()); - }); - _lazyOld($, "windows", "$get$windows", function() { - return N.OperatingSystem$("Windows", new N.windows_closure()); - }); - _lazyOld($, "registerComponent21", "$get$registerComponent2", function() { - return F.validateJsApiThenReturn(new V.registerComponent2_closure(), H.findType("ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})*")); - }); - _lazyOld($, "a", "$get$a", function() { - return F.validateJsApiThenReturn(new V.a_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "br", "$get$br", function() { - return F.validateJsApiThenReturn(new V.br_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "button", "$get$button", function() { - return F.validateJsApiThenReturn(new V.button_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "div", "$get$div", function() { - return F.validateJsApiThenReturn(new V.div_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "form", "$get$form", function() { - return F.validateJsApiThenReturn(new V.form_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "img", "$get$img", function() { - return F.validateJsApiThenReturn(new V.img_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "input", "$get$input", function() { - return F.validateJsApiThenReturn(new V.input_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "label", "$get$label", function() { - return F.validateJsApiThenReturn(new V.label_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "li", "$get$li", function() { - return F.validateJsApiThenReturn(new V.li_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "option", "$get$option", function() { - return F.validateJsApiThenReturn(new V.option_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "p", "$get$p", function() { - return F.validateJsApiThenReturn(new V.p_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "select", "$get$select", function() { - return F.validateJsApiThenReturn(new V.select_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "span", "$get$span", function() { - return F.validateJsApiThenReturn(new V.span_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "textarea", "$get$textarea", function() { - return F.validateJsApiThenReturn(new V.textarea_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "title", "$get$title", function() { - return F.validateJsApiThenReturn(new V.title_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "ul", "$get$ul", function() { - return F.validateJsApiThenReturn(new V.ul_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "circle", "$get$circle", function() { - return F.validateJsApiThenReturn(new V.circle_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "g", "$get$g", function() { - return F.validateJsApiThenReturn(new V.g_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "image", "$get$image", function() { - return F.validateJsApiThenReturn(new V.image_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "line", "$get$line", function() { - return F.validateJsApiThenReturn(new V.line_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "path", "$get$path", function() { - return F.validateJsApiThenReturn(new V.path_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "polygon", "$get$polygon", function() { - return F.validateJsApiThenReturn(new V.polygon_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "polyline", "$get$polyline", function() { - return F.validateJsApiThenReturn(new V.polyline_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "rect", "$get$rect", function() { - return F.validateJsApiThenReturn(new V.rect_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "text", "$get$text", function() { - return F.validateJsApiThenReturn(new V.text_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "textPath", "$get$textPath", function() { - return F.validateJsApiThenReturn(new V.textPath_closure(), type$.legacy_ReactDomComponentFactoryProxy); - }); - _lazyOld($, "Component2Bridge_bridgeForComponent", "$get$Component2Bridge_bridgeForComponent", function() { - return P.Expando$(null, H.findType("Component2Bridge*")); - }); - _lazyOld($, "render", "$get$render", function() { - return F.validateJsApiThenReturn(new R.render_closure(), type$.legacy_Function); - }); - _lazyOld($, "findDOMNode", "$get$findDOMNode", function() { - return F.validateJsApiThenReturn(new R.findDOMNode_closure(), type$.legacy_Function); - }); - _lazyOld($, "isBugPresent", "$get$isBugPresent", function() { - return new Z.isBugPresent_closure().call$0(); - }); - _lazyOld($, "ReactDartInteropStatics2_staticsForJs", "$get$ReactDartInteropStatics2_staticsForJs", function() { - return type$.legacy_JsMap._as(R.jsifyAndAllowInterop(P.LinkedHashMap_LinkedHashMap$_literal(["initComponent", Q.dart_interop_statics_ReactDartInteropStatics2_initComponent$closure(), "handleComponentDidMount", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure(), "handleGetDerivedStateFromProps", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure(), "handleShouldComponentUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure(), "handleGetSnapshotBeforeUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure(), "handleComponentDidUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure(), "handleComponentWillUnmount", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure(), "handleComponentDidCatch", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure(), "handleGetDerivedStateFromError", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure(), "handleRender", Q.dart_interop_statics_ReactDartInteropStatics2_handleRender$closure()], type$.legacy_String, type$.legacy_Function))); - }); - _lazyOld($, "_$undoSerializer", "$get$_$undoSerializer", function() { - return new U._$UndoSerializer(); - }); - _lazyOld($, "_$redoSerializer", "$get$_$redoSerializer", function() { - return new U._$RedoSerializer(); - }); - _lazyOld($, "_$undoRedoClearSerializer", "$get$_$undoRedoClearSerializer", function() { - return new U._$UndoRedoClearSerializer(); - }); - _lazyOld($, "_$batchActionSerializer", "$get$_$batchActionSerializer", function() { - return new U._$BatchActionSerializer(); - }); - _lazyOld($, "_$throttledActionFastSerializer", "$get$_$throttledActionFastSerializer", function() { - return new U._$ThrottledActionFastSerializer(); - }); - _lazyOld($, "_$throttledActionNonFastSerializer", "$get$_$throttledActionNonFastSerializer", function() { - return new U._$ThrottledActionNonFastSerializer(); - }); - _lazyOld($, "_$localStorageDesignChoiceSetSerializer", "$get$_$localStorageDesignChoiceSetSerializer", function() { - return new U._$LocalStorageDesignChoiceSetSerializer(); - }); - _lazyOld($, "_$resetLocalStorageSerializer", "$get$_$resetLocalStorageSerializer", function() { - return new U._$ResetLocalStorageSerializer(); - }); - _lazyOld($, "_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", "$get$_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", function() { - return new U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer(); - }); - _lazyOld($, "_$editModeToggleSerializer", "$get$_$editModeToggleSerializer", function() { - return new U._$EditModeToggleSerializer(); - }); - _lazyOld($, "_$editModesSetSerializer", "$get$_$editModesSetSerializer", function() { - return new U._$EditModesSetSerializer(); - }); - _lazyOld($, "_$selectModeToggleSerializer", "$get$_$selectModeToggleSerializer", function() { - return new U._$SelectModeToggleSerializer(); - }); - _lazyOld($, "_$selectModesAddSerializer", "$get$_$selectModesAddSerializer", function() { - return new U._$SelectModesAddSerializer(); - }); - _lazyOld($, "_$selectModesSetSerializer", "$get$_$selectModesSetSerializer", function() { - return new U._$SelectModesSetSerializer(); - }); - _lazyOld($, "_$strandNameSetSerializer", "$get$_$strandNameSetSerializer", function() { - return new U._$StrandNameSetSerializer(); - }); - _lazyOld($, "_$strandLabelSetSerializer", "$get$_$strandLabelSetSerializer", function() { - return new U._$StrandLabelSetSerializer(); - }); - _lazyOld($, "_$substrandNameSetSerializer", "$get$_$substrandNameSetSerializer", function() { - return new U._$SubstrandNameSetSerializer(); - }); - _lazyOld($, "_$substrandLabelSetSerializer", "$get$_$substrandLabelSetSerializer", function() { - return new U._$SubstrandLabelSetSerializer(); - }); - _lazyOld($, "_$setAppUIStateStorableSerializer", "$get$_$setAppUIStateStorableSerializer", function() { - return new U._$SetAppUIStateStorableSerializer(); - }); - _lazyOld($, "_$showDNASetSerializer", "$get$_$showDNASetSerializer", function() { - return new U._$ShowDNASetSerializer(); - }); - _lazyOld($, "_$showDomainNamesSetSerializer", "$get$_$showDomainNamesSetSerializer", function() { - return new U._$ShowDomainNamesSetSerializer(); - }); - _lazyOld($, "_$showStrandNamesSetSerializer", "$get$_$showStrandNamesSetSerializer", function() { - return new U._$ShowStrandNamesSetSerializer(); - }); - _lazyOld($, "_$showStrandLabelsSetSerializer", "$get$_$showStrandLabelsSetSerializer", function() { - return new U._$ShowStrandLabelsSetSerializer(); - }); - _lazyOld($, "_$showDomainLabelsSetSerializer", "$get$_$showDomainLabelsSetSerializer", function() { - return new U._$ShowDomainLabelsSetSerializer(); - }); - _lazyOld($, "_$showModificationsSetSerializer", "$get$_$showModificationsSetSerializer", function() { - return new U._$ShowModificationsSetSerializer(); - }); - _lazyOld($, "_$domainNameFontSizeSetSerializer", "$get$_$domainNameFontSizeSetSerializer", function() { - return new U._$DomainNameFontSizeSetSerializer(); - }); - _lazyOld($, "_$domainLabelFontSizeSetSerializer", "$get$_$domainLabelFontSizeSetSerializer", function() { - return new U._$DomainLabelFontSizeSetSerializer(); - }); - _lazyOld($, "_$strandNameFontSizeSetSerializer", "$get$_$strandNameFontSizeSetSerializer", function() { - return new U._$StrandNameFontSizeSetSerializer(); - }); - _lazyOld($, "_$strandLabelFontSizeSetSerializer", "$get$_$strandLabelFontSizeSetSerializer", function() { - return new U._$StrandLabelFontSizeSetSerializer(); - }); - _lazyOld($, "_$modificationFontSizeSetSerializer", "$get$_$modificationFontSizeSetSerializer", function() { - return new U._$ModificationFontSizeSetSerializer(); - }); - _lazyOld($, "_$majorTickOffsetFontSizeSetSerializer", "$get$_$majorTickOffsetFontSizeSetSerializer", function() { - return new U._$MajorTickOffsetFontSizeSetSerializer(); - }); - _lazyOld($, "_$majorTickWidthFontSizeSetSerializer", "$get$_$majorTickWidthFontSizeSetSerializer", function() { - return new U._$MajorTickWidthFontSizeSetSerializer(); - }); - _lazyOld($, "_$setModificationDisplayConnectorSerializer", "$get$_$setModificationDisplayConnectorSerializer", function() { - return new U._$SetModificationDisplayConnectorSerializer(); - }); - _lazyOld($, "_$showMismatchesSetSerializer", "$get$_$showMismatchesSetSerializer", function() { - return new U._$ShowMismatchesSetSerializer(); - }); - _lazyOld($, "_$showDomainNameMismatchesSetSerializer", "$get$_$showDomainNameMismatchesSetSerializer", function() { - return new U._$ShowDomainNameMismatchesSetSerializer(); - }); - _lazyOld($, "_$showUnpairedInsertionDeletionsSetSerializer", "$get$_$showUnpairedInsertionDeletionsSetSerializer", function() { - return new U._$ShowUnpairedInsertionDeletionsSetSerializer(); - }); - _lazyOld($, "_$oxviewShowSetSerializer", "$get$_$oxviewShowSetSerializer", function() { - return new U._$OxviewShowSetSerializer(); - }); - _lazyOld($, "_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", "$get$_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", function() { - return new U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer(); - }); - _lazyOld($, "_$displayMajorTicksOffsetsSetSerializer", "$get$_$displayMajorTicksOffsetsSetSerializer", function() { - return new U._$DisplayMajorTicksOffsetsSetSerializer(); - }); - _lazyOld($, "_$setDisplayMajorTickWidthsAllHelicesSerializer", "$get$_$setDisplayMajorTickWidthsAllHelicesSerializer", function() { - return new U._$SetDisplayMajorTickWidthsAllHelicesSerializer(); - }); - _lazyOld($, "_$setDisplayMajorTickWidthsSerializer", "$get$_$setDisplayMajorTickWidthsSerializer", function() { - return new U._$SetDisplayMajorTickWidthsSerializer(); - }); - _lazyOld($, "_$setOnlyDisplaySelectedHelicesSerializer", "$get$_$setOnlyDisplaySelectedHelicesSerializer", function() { - return new U._$SetOnlyDisplaySelectedHelicesSerializer(); - }); - _lazyOld($, "_$invertYSetSerializer", "$get$_$invertYSetSerializer", function() { - return new U._$InvertYSetSerializer(); - }); - _lazyOld($, "_$dynamicHelixUpdateSetSerializer", "$get$_$dynamicHelixUpdateSetSerializer", function() { - return new U._$DynamicHelixUpdateSetSerializer(); - }); - _lazyOld($, "_$warnOnExitIfUnsavedSetSerializer", "$get$_$warnOnExitIfUnsavedSetSerializer", function() { - return new U._$WarnOnExitIfUnsavedSetSerializer(); - }); - _lazyOld($, "_$loadingDialogShowSerializer", "$get$_$loadingDialogShowSerializer", function() { - return new U._$LoadingDialogShowSerializer(); - }); - _lazyOld($, "_$loadingDialogHideSerializer", "$get$_$loadingDialogHideSerializer", function() { - return new U._$LoadingDialogHideSerializer(); - }); - _lazyOld($, "_$copySelectedStandsToClipboardImageSerializer", "$get$_$copySelectedStandsToClipboardImageSerializer", function() { - return new U._$CopySelectedStandsToClipboardImageSerializer(); - }); - _lazyOld($, "_$saveDNAFileSerializer", "$get$_$saveDNAFileSerializer", function() { - return new U._$SaveDNAFileSerializer(); - }); - _lazyOld($, "_$loadDNAFileSerializer", "$get$_$loadDNAFileSerializer", function() { - return new U._$LoadDNAFileSerializer(); - }); - _lazyOld($, "_$prepareToLoadDNAFileSerializer", "$get$_$prepareToLoadDNAFileSerializer", function() { - return new U._$PrepareToLoadDNAFileSerializer(); - }); - _lazyOld($, "_$newDesignSetSerializer", "$get$_$newDesignSetSerializer", function() { - return new U._$NewDesignSetSerializer(); - }); - _lazyOld($, "_$exportCadnanoFileSerializer", "$get$_$exportCadnanoFileSerializer", function() { - return new U._$ExportCadnanoFileSerializer(); - }); - _lazyOld($, "_$exportCodenanoFileSerializer", "$get$_$exportCodenanoFileSerializer", function() { - return new U._$ExportCodenanoFileSerializer(); - }); - _lazyOld($, "_$showMouseoverDataSetSerializer", "$get$_$showMouseoverDataSetSerializer", function() { - return new U._$ShowMouseoverDataSetSerializer(); - }); - _lazyOld($, "_$mouseoverDataClearSerializer", "$get$_$mouseoverDataClearSerializer", function() { - return new U._$MouseoverDataClearSerializer(); - }); - _lazyOld($, "_$mouseoverDataUpdateSerializer", "$get$_$mouseoverDataUpdateSerializer", function() { - return new U._$MouseoverDataUpdateSerializer(); - }); - _lazyOld($, "_$helixRollSetSerializer", "$get$_$helixRollSetSerializer", function() { - return new U._$HelixRollSetSerializer(); - }); - _lazyOld($, "_$helixRollSetAtOtherSerializer", "$get$_$helixRollSetAtOtherSerializer", function() { - return new U._$HelixRollSetAtOtherSerializer(); - }); - _lazyOld($, "_$relaxHelixRollsSerializer", "$get$_$relaxHelixRollsSerializer", function() { - return new U._$RelaxHelixRollsSerializer(); - }); - _lazyOld($, "_$errorMessageSetSerializer", "$get$_$errorMessageSetSerializer", function() { - return new U._$ErrorMessageSetSerializer(); - }); - _lazyOld($, "_$selectionBoxCreateSerializer", "$get$_$selectionBoxCreateSerializer", function() { - return new U._$SelectionBoxCreateSerializer(); - }); - _lazyOld($, "_$selectionBoxSizeChangeSerializer", "$get$_$selectionBoxSizeChangeSerializer", function() { - return new U._$SelectionBoxSizeChangeSerializer(); - }); - _lazyOld($, "_$selectionBoxRemoveSerializer", "$get$_$selectionBoxRemoveSerializer", function() { - return new U._$SelectionBoxRemoveSerializer(); - }); - _lazyOld($, "_$selectionRopeCreateSerializer", "$get$_$selectionRopeCreateSerializer", function() { - return new U._$SelectionRopeCreateSerializer(); - }); - _lazyOld($, "_$selectionRopeMouseMoveSerializer", "$get$_$selectionRopeMouseMoveSerializer", function() { - return new U._$SelectionRopeMouseMoveSerializer(); - }); - _lazyOld($, "_$selectionRopeAddPointSerializer", "$get$_$selectionRopeAddPointSerializer", function() { - return new U._$SelectionRopeAddPointSerializer(); - }); - _lazyOld($, "_$selectionRopeRemoveSerializer", "$get$_$selectionRopeRemoveSerializer", function() { - return new U._$SelectionRopeRemoveSerializer(); - }); - _lazyOld($, "_$mouseGridPositionSideUpdateSerializer", "$get$_$mouseGridPositionSideUpdateSerializer", function() { - return new U._$MouseGridPositionSideUpdateSerializer(); - }); - _lazyOld($, "_$mouseGridPositionSideClearSerializer", "$get$_$mouseGridPositionSideClearSerializer", function() { - return new U._$MouseGridPositionSideClearSerializer(); - }); - _lazyOld($, "_$mousePositionSideUpdateSerializer", "$get$_$mousePositionSideUpdateSerializer", function() { - return new U._$MousePositionSideUpdateSerializer(); - }); - _lazyOld($, "_$mousePositionSideClearSerializer", "$get$_$mousePositionSideClearSerializer", function() { - return new U._$MousePositionSideClearSerializer(); - }); - _lazyOld($, "_$geometrySetSerializer", "$get$_$geometrySetSerializer", function() { - return new U._$GeometrySetSerializer(); - }); - _lazyOld($, "_$selectionBoxIntersectionRuleSetSerializer", "$get$_$selectionBoxIntersectionRuleSetSerializer", function() { - return new U._$SelectionBoxIntersectionRuleSetSerializer(); - }); - _lazyOld($, "_$selectSerializer", "$get$_$selectSerializer", function() { - return new U._$SelectSerializer(); - }); - _lazyOld($, "_$selectionsClearSerializer", "$get$_$selectionsClearSerializer", function() { - return new U._$SelectionsClearSerializer(); - }); - _lazyOld($, "_$selectionsAdjustMainViewSerializer", "$get$_$selectionsAdjustMainViewSerializer", function() { - return new U._$SelectionsAdjustMainViewSerializer(); - }); - _lazyOld($, "_$selectOrToggleItemsSerializer", "$get$_$selectOrToggleItemsSerializer", function() { - return new U._$SelectOrToggleItemsSerializer(); - }); - _lazyOld($, "_$selectAllSerializer", "$get$_$selectAllSerializer", function() { - return new U._$SelectAllSerializer(); - }); - _lazyOld($, "_$selectAllSelectableSerializer", "$get$_$selectAllSelectableSerializer", function() { - return new U._$SelectAllSelectableSerializer(); - }); - _lazyOld($, "_$selectAllWithSameAsSelectedSerializer", "$get$_$selectAllWithSameAsSelectedSerializer", function() { - return new U._$SelectAllWithSameAsSelectedSerializer(); - }); - _lazyOld($, "_$deleteAllSelectedSerializer", "$get$_$deleteAllSelectedSerializer", function() { - return new U._$DeleteAllSelectedSerializer(); - }); - _lazyOld($, "_$helixAddSerializer", "$get$_$helixAddSerializer", function() { - return new U._$HelixAddSerializer(); - }); - _lazyOld($, "_$helixRemoveSerializer", "$get$_$helixRemoveSerializer", function() { - return new U._$HelixRemoveSerializer(); - }); - _lazyOld($, "_$helixRemoveAllSelectedSerializer", "$get$_$helixRemoveAllSelectedSerializer", function() { - return new U._$HelixRemoveAllSelectedSerializer(); - }); - _lazyOld($, "_$helixSelectSerializer", "$get$_$helixSelectSerializer", function() { - return new U._$HelixSelectSerializer(); - }); - _lazyOld($, "_$helixSelectionsClearSerializer", "$get$_$helixSelectionsClearSerializer", function() { - return new U._$HelixSelectionsClearSerializer(); - }); - _lazyOld($, "_$helixSelectionsAdjustSerializer", "$get$_$helixSelectionsAdjustSerializer", function() { - return new U._$HelixSelectionsAdjustSerializer(); - }); - _lazyOld($, "_$helixMajorTickDistanceChangeSerializer", "$get$_$helixMajorTickDistanceChangeSerializer", function() { - return new U._$HelixMajorTickDistanceChangeSerializer(); - }); - _lazyOld($, "_$helixMajorTickDistanceChangeAllSerializer", "$get$_$helixMajorTickDistanceChangeAllSerializer", function() { - return new U._$HelixMajorTickDistanceChangeAllSerializer(); - }); - _lazyOld($, "_$helixMajorTickStartChangeSerializer", "$get$_$helixMajorTickStartChangeSerializer", function() { - return new U._$HelixMajorTickStartChangeSerializer(); - }); - _lazyOld($, "_$helixMajorTickStartChangeAllSerializer", "$get$_$helixMajorTickStartChangeAllSerializer", function() { - return new U._$HelixMajorTickStartChangeAllSerializer(); - }); - _lazyOld($, "_$helixMajorTicksChangeSerializer", "$get$_$helixMajorTicksChangeSerializer", function() { - return new U._$HelixMajorTicksChangeSerializer(); - }); - _lazyOld($, "_$helixMajorTicksChangeAllSerializer", "$get$_$helixMajorTicksChangeAllSerializer", function() { - return new U._$HelixMajorTicksChangeAllSerializer(); - }); - _lazyOld($, "_$helixMajorTickPeriodicDistancesChangeSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeSerializer", function() { - return new U._$HelixMajorTickPeriodicDistancesChangeSerializer(); - }); - _lazyOld($, "_$helixMajorTickPeriodicDistancesChangeAllSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeAllSerializer", function() { - return new U._$HelixMajorTickPeriodicDistancesChangeAllSerializer(); - }); - _lazyOld($, "_$helixIdxsChangeSerializer", "$get$_$helixIdxsChangeSerializer", function() { - return new U._$HelixIdxsChangeSerializer(); - }); - _lazyOld($, "_$helixOffsetChangeSerializer", "$get$_$helixOffsetChangeSerializer", function() { - return new U._$HelixOffsetChangeSerializer(); - }); - _lazyOld($, "_$helixMinOffsetSetByDomainsSerializer", "$get$_$helixMinOffsetSetByDomainsSerializer", function() { - return new U._$HelixMinOffsetSetByDomainsSerializer(); - }); - _lazyOld($, "_$helixMaxOffsetSetByDomainsSerializer", "$get$_$helixMaxOffsetSetByDomainsSerializer", function() { - return new U._$HelixMaxOffsetSetByDomainsSerializer(); - }); - _lazyOld($, "_$helixMinOffsetSetByDomainsAllSerializer", "$get$_$helixMinOffsetSetByDomainsAllSerializer", function() { - return new U._$HelixMinOffsetSetByDomainsAllSerializer(); - }); - _lazyOld($, "_$helixMaxOffsetSetByDomainsAllSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSerializer", function() { - return new U._$HelixMaxOffsetSetByDomainsAllSerializer(); - }); - _lazyOld($, "_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", function() { - return new U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer(); - }); - _lazyOld($, "_$helixOffsetChangeAllSerializer", "$get$_$helixOffsetChangeAllSerializer", function() { - return new U._$HelixOffsetChangeAllSerializer(); - }); - _lazyOld($, "_$showMouseoverRectSetSerializer", "$get$_$showMouseoverRectSetSerializer", function() { - return new U._$ShowMouseoverRectSetSerializer(); - }); - _lazyOld($, "_$showMouseoverRectToggleSerializer", "$get$_$showMouseoverRectToggleSerializer", function() { - return new U._$ShowMouseoverRectToggleSerializer(); - }); - _lazyOld($, "_$exportDNASerializer", "$get$_$exportDNASerializer", function() { - return new U._$ExportDNASerializer(); - }); - _lazyOld($, "_$exportSvgSerializer", "$get$_$exportSvgSerializer", function() { - return new U._$ExportSvgSerializer(); - }); - _lazyOld($, "_$exportSvgTextSeparatelySetSerializer", "$get$_$exportSvgTextSeparatelySetSerializer", function() { - return new U._$ExportSvgTextSeparatelySetSerializer(); - }); - _lazyOld($, "_$extensionDisplayLengthAngleSetSerializer", "$get$_$extensionDisplayLengthAngleSetSerializer", function() { - return new U._$ExtensionDisplayLengthAngleSetSerializer(); - }); - _lazyOld($, "_$extensionAddSerializer", "$get$_$extensionAddSerializer", function() { - return new U._$ExtensionAddSerializer(); - }); - _lazyOld($, "_$extensionNumBasesChangeSerializer", "$get$_$extensionNumBasesChangeSerializer", function() { - return new U._$ExtensionNumBasesChangeSerializer(); - }); - _lazyOld($, "_$extensionsNumBasesChangeSerializer", "$get$_$extensionsNumBasesChangeSerializer", function() { - return new U._$ExtensionsNumBasesChangeSerializer(); - }); - _lazyOld($, "_$loopoutLengthChangeSerializer", "$get$_$loopoutLengthChangeSerializer", function() { - return new U._$LoopoutLengthChangeSerializer(); - }); - _lazyOld($, "_$loopoutsLengthChangeSerializer", "$get$_$loopoutsLengthChangeSerializer", function() { - return new U._$LoopoutsLengthChangeSerializer(); - }); - _lazyOld($, "_$convertCrossoverToLoopoutSerializer", "$get$_$convertCrossoverToLoopoutSerializer", function() { - return new U._$ConvertCrossoverToLoopoutSerializer(); - }); - _lazyOld($, "_$convertCrossoversToLoopoutsSerializer", "$get$_$convertCrossoversToLoopoutsSerializer", function() { - return new U._$ConvertCrossoversToLoopoutsSerializer(); - }); - _lazyOld($, "_$nickSerializer", "$get$_$nickSerializer", function() { - return new U._$NickSerializer(); - }); - _lazyOld($, "_$ligateSerializer", "$get$_$ligateSerializer", function() { - return new U._$LigateSerializer(); - }); - _lazyOld($, "_$joinStrandsByCrossoverSerializer", "$get$_$joinStrandsByCrossoverSerializer", function() { - return new U._$JoinStrandsByCrossoverSerializer(); - }); - _lazyOld($, "_$moveLinkerSerializer", "$get$_$moveLinkerSerializer", function() { - return new U._$MoveLinkerSerializer(); - }); - _lazyOld($, "_$joinStrandsByMultipleCrossoversSerializer", "$get$_$joinStrandsByMultipleCrossoversSerializer", function() { - return new U._$JoinStrandsByMultipleCrossoversSerializer(); - }); - _lazyOld($, "_$strandsReflectSerializer", "$get$_$strandsReflectSerializer", function() { - return new U._$StrandsReflectSerializer(); - }); - _lazyOld($, "_$replaceStrandsSerializer", "$get$_$replaceStrandsSerializer", function() { - return new U._$ReplaceStrandsSerializer(); - }); - _lazyOld($, "_$strandCreateStartSerializer", "$get$_$strandCreateStartSerializer", function() { - return new U._$StrandCreateStartSerializer(); - }); - _lazyOld($, "_$strandCreateAdjustOffsetSerializer", "$get$_$strandCreateAdjustOffsetSerializer", function() { - return new U._$StrandCreateAdjustOffsetSerializer(); - }); - _lazyOld($, "_$strandCreateStopSerializer", "$get$_$strandCreateStopSerializer", function() { - return new U._$StrandCreateStopSerializer(); - }); - _lazyOld($, "_$strandCreateCommitSerializer", "$get$_$strandCreateCommitSerializer", function() { - return new U._$StrandCreateCommitSerializer(); - }); - _lazyOld($, "_$potentialCrossoverCreateSerializer", "$get$_$potentialCrossoverCreateSerializer", function() { - return new U._$PotentialCrossoverCreateSerializer(); - }); - _lazyOld($, "_$potentialCrossoverMoveSerializer", "$get$_$potentialCrossoverMoveSerializer", function() { - return new U._$PotentialCrossoverMoveSerializer(); - }); - _lazyOld($, "_$potentialCrossoverRemoveSerializer", "$get$_$potentialCrossoverRemoveSerializer", function() { - return new U._$PotentialCrossoverRemoveSerializer(); - }); - _lazyOld($, "_$manualPasteInitiateSerializer", "$get$_$manualPasteInitiateSerializer", function() { - return new U._$ManualPasteInitiateSerializer(); - }); - _lazyOld($, "_$autoPasteInitiateSerializer", "$get$_$autoPasteInitiateSerializer", function() { - return new U._$AutoPasteInitiateSerializer(); - }); - _lazyOld($, "_$copySelectedStrandsSerializer", "$get$_$copySelectedStrandsSerializer", function() { - return new U._$CopySelectedStrandsSerializer(); - }); - _lazyOld($, "_$strandsMoveStartSerializer", "$get$_$strandsMoveStartSerializer", function() { - return new U._$StrandsMoveStartSerializer(); - }); - _lazyOld($, "_$strandsMoveStartSelectedStrandsSerializer", "$get$_$strandsMoveStartSelectedStrandsSerializer", function() { - return new U._$StrandsMoveStartSelectedStrandsSerializer(); - }); - _lazyOld($, "_$strandsMoveStopSerializer", "$get$_$strandsMoveStopSerializer", function() { - return new U._$StrandsMoveStopSerializer(); - }); - _lazyOld($, "_$strandsMoveAdjustAddressSerializer", "$get$_$strandsMoveAdjustAddressSerializer", function() { - return new U._$StrandsMoveAdjustAddressSerializer(); - }); - _lazyOld($, "_$strandsMoveCommitSerializer", "$get$_$strandsMoveCommitSerializer", function() { - return new U._$StrandsMoveCommitSerializer(); - }); - _lazyOld($, "_$domainsMoveStartSelectedDomainsSerializer", "$get$_$domainsMoveStartSelectedDomainsSerializer", function() { - return new U._$DomainsMoveStartSelectedDomainsSerializer(); - }); - _lazyOld($, "_$domainsMoveStopSerializer", "$get$_$domainsMoveStopSerializer", function() { - return new U._$DomainsMoveStopSerializer(); - }); - _lazyOld($, "_$domainsMoveAdjustAddressSerializer", "$get$_$domainsMoveAdjustAddressSerializer", function() { - return new U._$DomainsMoveAdjustAddressSerializer(); - }); - _lazyOld($, "_$domainsMoveCommitSerializer", "$get$_$domainsMoveCommitSerializer", function() { - return new U._$DomainsMoveCommitSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveStartSerializer", "$get$_$dNAEndsMoveStartSerializer", function() { - return new U._$DNAEndsMoveStartSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveSetSelectedEndsSerializer", "$get$_$dNAEndsMoveSetSelectedEndsSerializer", function() { - return new U._$DNAEndsMoveSetSelectedEndsSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveAdjustOffsetSerializer", "$get$_$dNAEndsMoveAdjustOffsetSerializer", function() { - return new U._$DNAEndsMoveAdjustOffsetSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveStopSerializer", "$get$_$dNAEndsMoveStopSerializer", function() { - return new U._$DNAEndsMoveStopSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveCommitSerializer", "$get$_$dNAEndsMoveCommitSerializer", function() { - return new U._$DNAEndsMoveCommitSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveStartSerializer", "$get$_$dNAExtensionsMoveStartSerializer", function() { - return new U._$DNAExtensionsMoveStartSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", "$get$_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", function() { - return new U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveAdjustPositionSerializer", "$get$_$dNAExtensionsMoveAdjustPositionSerializer", function() { - return new U._$DNAExtensionsMoveAdjustPositionSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveStopSerializer", "$get$_$dNAExtensionsMoveStopSerializer", function() { - return new U._$DNAExtensionsMoveStopSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveCommitSerializer", "$get$_$dNAExtensionsMoveCommitSerializer", function() { - return new U._$DNAExtensionsMoveCommitSerializer(); - }); - _lazyOld($, "_$helixGroupMoveStartSerializer", "$get$_$helixGroupMoveStartSerializer", function() { - return new U._$HelixGroupMoveStartSerializer(); - }); - _lazyOld($, "_$helixGroupMoveCreateSerializer", "$get$_$helixGroupMoveCreateSerializer", function() { - return new U._$HelixGroupMoveCreateSerializer(); - }); - _lazyOld($, "_$helixGroupMoveAdjustTranslationSerializer", "$get$_$helixGroupMoveAdjustTranslationSerializer", function() { - return new U._$HelixGroupMoveAdjustTranslationSerializer(); - }); - _lazyOld($, "_$helixGroupMoveStopSerializer", "$get$_$helixGroupMoveStopSerializer", function() { - return new U._$HelixGroupMoveStopSerializer(); - }); - _lazyOld($, "_$helixGroupMoveCommitSerializer", "$get$_$helixGroupMoveCommitSerializer", function() { - return new U._$HelixGroupMoveCommitSerializer(); - }); - _lazyOld($, "_$assignDNASerializer", "$get$_$assignDNASerializer", function() { - return new U._$AssignDNASerializer(); - }); - _lazyOld($, "_$assignDNAComplementFromBoundStrandsSerializer", "$get$_$assignDNAComplementFromBoundStrandsSerializer", function() { - return new U._$AssignDNAComplementFromBoundStrandsSerializer(); - }); - _lazyOld($, "_$assignDomainNameComplementFromBoundStrandsSerializer", "$get$_$assignDomainNameComplementFromBoundStrandsSerializer", function() { - return new U._$AssignDomainNameComplementFromBoundStrandsSerializer(); - }); - _lazyOld($, "_$assignDomainNameComplementFromBoundDomainsSerializer", "$get$_$assignDomainNameComplementFromBoundDomainsSerializer", function() { - return new U._$AssignDomainNameComplementFromBoundDomainsSerializer(); - }); - _lazyOld($, "_$removeDNASerializer", "$get$_$removeDNASerializer", function() { - return new U._$RemoveDNASerializer(); - }); - _lazyOld($, "_$insertionAddSerializer", "$get$_$insertionAddSerializer", function() { - return new U._$InsertionAddSerializer(); - }); - _lazyOld($, "_$insertionLengthChangeSerializer", "$get$_$insertionLengthChangeSerializer", function() { - return new U._$InsertionLengthChangeSerializer(); - }); - _lazyOld($, "_$insertionsLengthChangeSerializer", "$get$_$insertionsLengthChangeSerializer", function() { - return new U._$InsertionsLengthChangeSerializer(); - }); - _lazyOld($, "_$deletionAddSerializer", "$get$_$deletionAddSerializer", function() { - return new U._$DeletionAddSerializer(); - }); - _lazyOld($, "_$insertionRemoveSerializer", "$get$_$insertionRemoveSerializer", function() { - return new U._$InsertionRemoveSerializer(); - }); - _lazyOld($, "_$deletionRemoveSerializer", "$get$_$deletionRemoveSerializer", function() { - return new U._$DeletionRemoveSerializer(); - }); - _lazyOld($, "_$scalePurificationVendorFieldsAssignSerializer", "$get$_$scalePurificationVendorFieldsAssignSerializer", function() { - return new U._$ScalePurificationVendorFieldsAssignSerializer(); - }); - _lazyOld($, "_$plateWellVendorFieldsAssignSerializer", "$get$_$plateWellVendorFieldsAssignSerializer", function() { - return new U._$PlateWellVendorFieldsAssignSerializer(); - }); - _lazyOld($, "_$plateWellVendorFieldsRemoveSerializer", "$get$_$plateWellVendorFieldsRemoveSerializer", function() { - return new U._$PlateWellVendorFieldsRemoveSerializer(); - }); - _lazyOld($, "_$vendorFieldsRemoveSerializer", "$get$_$vendorFieldsRemoveSerializer", function() { - return new U._$VendorFieldsRemoveSerializer(); - }); - _lazyOld($, "_$modificationAddSerializer", "$get$_$modificationAddSerializer", function() { - return new U._$ModificationAddSerializer(); - }); - _lazyOld($, "_$modificationRemoveSerializer", "$get$_$modificationRemoveSerializer", function() { - return new U._$ModificationRemoveSerializer(); - }); - _lazyOld($, "_$modificationConnectorLengthSetSerializer", "$get$_$modificationConnectorLengthSetSerializer", function() { - return new U._$ModificationConnectorLengthSetSerializer(); - }); - _lazyOld($, "_$modificationEditSerializer", "$get$_$modificationEditSerializer", function() { - return new U._$ModificationEditSerializer(); - }); - _lazyOld($, "_$modifications5PrimeEditSerializer", "$get$_$modifications5PrimeEditSerializer", function() { - return new U._$Modifications5PrimeEditSerializer(); - }); - _lazyOld($, "_$modifications3PrimeEditSerializer", "$get$_$modifications3PrimeEditSerializer", function() { - return new U._$Modifications3PrimeEditSerializer(); - }); - _lazyOld($, "_$modificationsInternalEditSerializer", "$get$_$modificationsInternalEditSerializer", function() { - return new U._$ModificationsInternalEditSerializer(); - }); - _lazyOld($, "_$gridChangeSerializer", "$get$_$gridChangeSerializer", function() { - return new U._$GridChangeSerializer(); - }); - _lazyOld($, "_$groupDisplayedChangeSerializer", "$get$_$groupDisplayedChangeSerializer", function() { - return new U._$GroupDisplayedChangeSerializer(); - }); - _lazyOld($, "_$groupAddSerializer", "$get$_$groupAddSerializer", function() { - return new U._$GroupAddSerializer(); - }); - _lazyOld($, "_$groupRemoveSerializer", "$get$_$groupRemoveSerializer", function() { - return new U._$GroupRemoveSerializer(); - }); - _lazyOld($, "_$groupChangeSerializer", "$get$_$groupChangeSerializer", function() { - return new U._$GroupChangeSerializer(); - }); - _lazyOld($, "_$moveHelicesToGroupSerializer", "$get$_$moveHelicesToGroupSerializer", function() { - return new U._$MoveHelicesToGroupSerializer(); - }); - _lazyOld($, "_$dialogShowSerializer", "$get$_$dialogShowSerializer", function() { - return new U._$DialogShowSerializer(); - }); - _lazyOld($, "_$dialogHideSerializer", "$get$_$dialogHideSerializer", function() { - return new U._$DialogHideSerializer(); - }); - _lazyOld($, "_$contextMenuShowSerializer", "$get$_$contextMenuShowSerializer", function() { - return new U._$ContextMenuShowSerializer(); - }); - _lazyOld($, "_$contextMenuHideSerializer", "$get$_$contextMenuHideSerializer", function() { - return new U._$ContextMenuHideSerializer(); - }); - _lazyOld($, "_$strandOrSubstrandColorPickerShowSerializer", "$get$_$strandOrSubstrandColorPickerShowSerializer", function() { - return new U._$StrandOrSubstrandColorPickerShowSerializer(); - }); - _lazyOld($, "_$strandOrSubstrandColorPickerHideSerializer", "$get$_$strandOrSubstrandColorPickerHideSerializer", function() { - return new U._$StrandOrSubstrandColorPickerHideSerializer(); - }); - _lazyOld($, "_$scaffoldSetSerializer", "$get$_$scaffoldSetSerializer", function() { - return new U._$ScaffoldSetSerializer(); - }); - _lazyOld($, "_$strandOrSubstrandColorSetSerializer", "$get$_$strandOrSubstrandColorSetSerializer", function() { - return new U._$StrandOrSubstrandColorSetSerializer(); - }); - _lazyOld($, "_$strandPasteKeepColorSetSerializer", "$get$_$strandPasteKeepColorSetSerializer", function() { - return new U._$StrandPasteKeepColorSetSerializer(); - }); - _lazyOld($, "_$exampleDesignsLoadSerializer", "$get$_$exampleDesignsLoadSerializer", function() { - return new U._$ExampleDesignsLoadSerializer(); - }); - _lazyOld($, "_$basePairTypeSetSerializer", "$get$_$basePairTypeSetSerializer", function() { - return new U._$BasePairTypeSetSerializer(); - }); - _lazyOld($, "_$helixPositionSetSerializer", "$get$_$helixPositionSetSerializer", function() { - return new U._$HelixPositionSetSerializer(); - }); - _lazyOld($, "_$helixGridPositionSetSerializer", "$get$_$helixGridPositionSetSerializer", function() { - return new U._$HelixGridPositionSetSerializer(); - }); - _lazyOld($, "_$helicesPositionsSetBasedOnCrossoversSerializer", "$get$_$helicesPositionsSetBasedOnCrossoversSerializer", function() { - return new U._$HelicesPositionsSetBasedOnCrossoversSerializer(); - }); - _lazyOld($, "_$inlineInsertionsDeletionsSerializer", "$get$_$inlineInsertionsDeletionsSerializer", function() { - return new U._$InlineInsertionsDeletionsSerializer(); - }); - _lazyOld($, "_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", "$get$_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", function() { - return new U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer(); - }); - _lazyOld($, "_$autofitSetSerializer", "$get$_$autofitSetSerializer", function() { - return new U._$AutofitSetSerializer(); - }); - _lazyOld($, "_$showHelixCirclesMainViewSetSerializer", "$get$_$showHelixCirclesMainViewSetSerializer", function() { - return new U._$ShowHelixCirclesMainViewSetSerializer(); - }); - _lazyOld($, "_$showHelixComponentsMainViewSetSerializer", "$get$_$showHelixComponentsMainViewSetSerializer", function() { - return new U._$ShowHelixComponentsMainViewSetSerializer(); - }); - _lazyOld($, "_$showEditMenuToggleSerializer", "$get$_$showEditMenuToggleSerializer", function() { - return new U._$ShowEditMenuToggleSerializer(); - }); - _lazyOld($, "_$showGridCoordinatesSideViewSetSerializer", "$get$_$showGridCoordinatesSideViewSetSerializer", function() { - return new U._$ShowGridCoordinatesSideViewSetSerializer(); - }); - _lazyOld($, "_$showAxisArrowsSetSerializer", "$get$_$showAxisArrowsSetSerializer", function() { - return new U._$ShowAxisArrowsSetSerializer(); - }); - _lazyOld($, "_$showLoopoutExtensionLengthSetSerializer", "$get$_$showLoopoutExtensionLengthSetSerializer", function() { - return new U._$ShowLoopoutExtensionLengthSetSerializer(); - }); - _lazyOld($, "_$loadDnaSequenceImageUriSerializer", "$get$_$loadDnaSequenceImageUriSerializer", function() { - return new U._$LoadDnaSequenceImageUriSerializer(); - }); - _lazyOld($, "_$setIsZoomAboveThresholdSerializer", "$get$_$setIsZoomAboveThresholdSerializer", function() { - return new U._$SetIsZoomAboveThresholdSerializer(); - }); - _lazyOld($, "_$setExportSvgActionDelayedForPngCacheSerializer", "$get$_$setExportSvgActionDelayedForPngCacheSerializer", function() { - return new U._$SetExportSvgActionDelayedForPngCacheSerializer(); - }); - _lazyOld($, "_$showBasePairLinesSetSerializer", "$get$_$showBasePairLinesSetSerializer", function() { - return new U._$ShowBasePairLinesSetSerializer(); - }); - _lazyOld($, "_$showBasePairLinesWithMismatchesSetSerializer", "$get$_$showBasePairLinesWithMismatchesSetSerializer", function() { - return new U._$ShowBasePairLinesWithMismatchesSetSerializer(); - }); - _lazyOld($, "_$showSliceBarSetSerializer", "$get$_$showSliceBarSetSerializer", function() { - return new U._$ShowSliceBarSetSerializer(); - }); - _lazyOld($, "_$sliceBarOffsetSetSerializer", "$get$_$sliceBarOffsetSetSerializer", function() { - return new U._$SliceBarOffsetSetSerializer(); - }); - _lazyOld($, "_$disablePngCachingDnaSequencesSetSerializer", "$get$_$disablePngCachingDnaSequencesSetSerializer", function() { - return new U._$DisablePngCachingDnaSequencesSetSerializer(); - }); - _lazyOld($, "_$retainStrandColorOnSelectionSetSerializer", "$get$_$retainStrandColorOnSelectionSetSerializer", function() { - return new U._$RetainStrandColorOnSelectionSetSerializer(); - }); - _lazyOld($, "_$displayReverseDNARightSideUpSetSerializer", "$get$_$displayReverseDNARightSideUpSetSerializer", function() { - return new U._$DisplayReverseDNARightSideUpSetSerializer(); - }); - _lazyOld($, "_$sliceBarMoveStartSerializer", "$get$_$sliceBarMoveStartSerializer", function() { - return new U._$SliceBarMoveStartSerializer(); - }); - _lazyOld($, "_$sliceBarMoveStopSerializer", "$get$_$sliceBarMoveStopSerializer", function() { - return new U._$SliceBarMoveStopSerializer(); - }); - _lazyOld($, "_$autostapleSerializer", "$get$_$autostapleSerializer", function() { - return new U._$AutostapleSerializer(); - }); - _lazyOld($, "_$autobreakSerializer", "$get$_$autobreakSerializer", function() { - return new U._$AutobreakSerializer(); - }); - _lazyOld($, "_$zoomSpeedSetSerializer", "$get$_$zoomSpeedSetSerializer", function() { - return new U._$ZoomSpeedSetSerializer(); - }); - _lazyOld($, "_$oxdnaExportSerializer", "$get$_$oxdnaExportSerializer", function() { - return new U._$OxdnaExportSerializer(); - }); - _lazyOld($, "_$oxviewExportSerializer", "$get$_$oxviewExportSerializer", function() { - return new U._$OxviewExportSerializer(); - }); - _lazyOld($, "_$oxExportOnlySelectedStrandsSetSerializer", "$get$_$oxExportOnlySelectedStrandsSetSerializer", function() { - return new U._$OxExportOnlySelectedStrandsSetSerializer(); - }); - _lazyOld($, "scadnano_versions_to_link", "$get$scadnano_versions_to_link", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["0.19.5"], type$.JSArray_legacy_String), $.scadnano_older_versions_to_link); - }); - _lazyOld($, "KEY_CODE_COMMAND_MAC", "$get$KEY_CODE_COMMAND_MAC", function() { - return G.browser().get$isFirefox() ? 224 : 91; - }); - _lazyOld($, "KEY_CODE_TOGGLE_SELECT_MAC", "$get$KEY_CODE_TOGGLE_SELECT_MAC", function() { - return $.$get$KEY_CODE_COMMAND_MAC(); - }); - _lazyOld($, "default_geometry", "$get$default_geometry", function() { - return N.Geometry_Geometry(10.5, 1, 1, 150, 0.332); - }); - _lazyOld($, "all_scadnano_file_extensions", "$get$all_scadnano_file_extensions", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["sc"], type$.JSArray_legacy_String), C.List_dna_json); - }); - _lazyOld($, "color_forward_rotation_arrow_no_strand", "$get$color_forward_rotation_arrow_no_strand", function() { - return S.RgbColor$(0, 0, 0); - }); - _lazyOld($, "default_scaffold_color", "$get$default_scaffold_color", function() { - return S.RgbColor$(0, 102, 204); - }); - _lazyOld($, "default_cadnano_strand_color", "$get$default_cadnano_strand_color", function() { - return S.HexColor_HexColor("#BFBFBF"); - }); - _lazyOld($, "design_keys", "$get$design_keys", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["version", "grid", "helices", "helices_view_order", "potential_helices", "strands", "modifications_in_design", "modifications_5p_in_design", "modifications_3p_in_design", "modifications_int_in_design", "groups"], type$.JSArray_legacy_String), C.List_parameters); - }); - _lazyOld($, "geometry_keys", "$get$geometry_keys", function() { - return C.JSArray_methods.$add(C.JSArray_methods.$add(H.setRuntimeTypeInfo(["rise_per_base_pair", "helix_radius", "bases_per_turn", "minor_groove_angle", "inter_helix_gap"], type$.JSArray_legacy_String), C.List_groove_angle), C.List_z_step); - }); - _lazyOld($, "helix_keys", "$get$helix_keys", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["idx", "max_offset", "min_offset", "roll", "pitch", "yaw", "grid_position", "svg_position", "position", "major_ticks", "major_tick_distance", "major_tick_start", "major_tick_periodic_distances", "group"], type$.JSArray_legacy_String), C.List_origin); - }); - _lazyOld($, "strand_keys", "$get$strand_keys", function() { - return C.JSArray_methods.$add(C.JSArray_methods.$add(C.JSArray_methods.$add(H.setRuntimeTypeInfo(["color", "sequence", "vendor_fields", "is_scaffold", "domains", "5prime_modification", "3prime_modification", "internal_modifications", "label", "name"], type$.JSArray_legacy_String), C.List_dna_sequence), C.List_idt), C.List_substrands); - }); - _lazyOld($, "modification_keys", "$get$modification_keys", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["location", "display_text", "vendor_code", "allowed_bases", "connector_length"], type$.JSArray_legacy_String), C.List_idt_text); - }); - _lazyOld($, "domain_keys", "$get$domain_keys", function() { - return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["helix", "forward", "start", "end", "deletions", "insertions", "label", "name", "color"], type$.JSArray_legacy_String), C.List_right); - }); - _lazyOld($, "_$dNAFileTypeSerializer", "$get$_$dNAFileTypeSerializer", function() { - return new F._$DNAFileTypeSerializer(); - }); - _lazyOld($, "_m13_p7249", "$get$_m13_p7249", function() { - return C.JSString_methods.replaceAll$2("AATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTA\nATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGT\nTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTG\nTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCT\nTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAA\nTATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTT\nGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTG\nGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTG\nGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTT\nCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCA\nGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCT\nAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGT\nCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTC\nATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCT\nTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAA\nATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAAT\nTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGAC\nGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACAT\nGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCC\nTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCT\nTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTC\nAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTT\nCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGT\nGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTG\nATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTC\nTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAAT\nTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTT\nTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTT\nTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTT\nTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGG\nGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTT\nCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCT\nGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATC\nTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGC\nTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAG\nGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGC\nGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAAT\nGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAAC\nGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAA\nATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTA\nTATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTAT\nCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCA\nTTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATA\nATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATC\nTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTAT\nAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAA\nATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTC\nAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCA\nACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAG\nGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATT\nAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATT\nACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAA\nTGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGC\nTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAA\nATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGC\nGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTC\nTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGA\nTTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAA\nACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGG\nGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTG\nGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAAC\nGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTC\nACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCACTGGCCGTCG\nTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCG\nCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGC\nGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCA\nATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTT\nTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATA\nCAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTC\nCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATT\nGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATT\nTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATT\nGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTT\n", P.RegExp_RegExp("\\s", true), ""); - }); - _lazyOld($, "_m13_p7560", "$get$_m13_p7560", function() { - return C.JSString_methods.replaceAll$2("AGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGC\nGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCC\nGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTG\nACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAG\nGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACA\nATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCA\nTCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAG\nAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATA\nTATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTT\nTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCAC\nCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAAT\nTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCT\nCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGA\nAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGAC\nCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTA\nTCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTA\nTGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCT\nACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAG\nGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAG\nCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTC\nATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACA\nCAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCC\nTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGT\nAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATAT\nATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATA\nCAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCG\nCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGA\nGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAAT\nGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATA\nCTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTT\nCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAG\nTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTT\nGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAAT\nAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATG\nGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAA\nTTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTT\nTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATAC\nTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTT\nACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTG\nATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGC\nTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGG\nAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTC\nGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAA\nATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACA\nTGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGT\nCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTA\nAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAA\nTTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATA\nTATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGG\nTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATT\nAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAA\nTGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTAT\nTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCT\nTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATT\nGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAAT\nAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTAT\nTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATT\nTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTT\nTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTG\nTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGT\nAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACC\nAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTC\nTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCG\nCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTAC\nGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCT\nCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGC\nCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTA\nTTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCT\nCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGC\nGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGC\nACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAA\nTTCGAGCTCGGTACCCGGGGATCCTCCGTCTTTATCGAGGTAACAAGCACCACGTAGCTTAAGCCCTGTTTACTCATTACACCAACCAGGAGGTCAGAGT\nTCGGAGAAATGATTTATGTGAAATGCGTCAGCCGATTCAAGGCCCCTATATTCGTGCCCACCGACGAGTTGCTTACAGATGGCAGGGCCGCACTGTCGGT\nATCATAGAGTCACTCCAGGGCGAGCGTAAATAGATTAGAAGCGGGGTTATTTTGGCGGGACATTGTCATAAGGTTGACAATTCAGCACTAAGGACACTTA\nAGTCGTGCGCATGAATTCACAACCACTTAGAAGAACATCCACCCTGGCTTCTCCTGAGAA\n", P.RegExp_RegExp("\\s", true), ""); - }); - _lazyOld($, "_m13_p8064", "$get$_m13_p8064", function() { - return C.JSString_methods.replaceAll$2("GGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATTGATGGTGATT\nTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATTTTTATCCTTG\nCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATTGCTTAATTTT\nGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATA\nTAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAAC\nTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTAT\nCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGT\nCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTT\nTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCC\nTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTA\nATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCG\nTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTA\nAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGA\nATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTC\nGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCC\nGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAG\nTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGT\nCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGT\nCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTT\nTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAA\nTCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTG\nTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTAT\nCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATA\nGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTA\nTGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTG\nCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCT\nCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGA\nAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCT\nAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAAT\nATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATT\nCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAG\nTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGAT\nAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTT\nGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAA\nAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTC\nAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCT\nTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAG\nTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTT\nTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTT\nTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACT\nGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAA\nCGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTG\nTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAA\nTTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAG\nGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTG\nTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGT\nTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTT\nGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATG\nATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGT\nTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTA\nGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATT\nTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTAT\nTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAG\nAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTC\nAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTAC\nTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAA\nAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTAT\nACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCG\nCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCG\nATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACG\nTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGA\nTTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAG\nCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCAC\nGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGG\nCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCAAC\nTGTGAGGAGGCTCACGGACGCGAAGAACAGGCACGCGTGCTGGCAGAAACCCCCGGTATGACCGTGAAAACGGCCCGCCGCATTCTGGCCGCAGCACCAC\nAGAGTGCACAGGCGCGCAGTGACACTGCGCTGGATCGTCTGATGCAGGGGGCACCGGCACCGCTGGCTGCAGGTAACCCGGCATCTGATGCCGTTAACGA\nTTTGCTGAACACACCAGTGTAAGGGATGTTTATGACGAGCAAAGAAACCTTTACCCATTACCAGCCGCAGGGCAACAGTGACCCGGCTCATACCGCAACC\nGCGCCCGGCGGATTGAGTGCGAAAGCGCCTGCAATGACCCCGCTGATGCTGGACACCTCCAGCCGTAAGCTGGTTGCGTGGGATGGCACCACCGACGGTG\nCTGCCGTTGGCATTCTTGCGGTTGCTGCTGACCAGACCAGCACCACGCTGACGTTCTACAAGTCCGGCACGTTCCGTTATGAGGATGTGCTCTGGCCGGA\nGGCTGCCAGCGACGAGACGAAAAAACGGACCGCGTTTGCCGGAACGGCAATCAGCATCGTTTAACTTTACCCTTCATCACTAAAGGCCGCCTGTGCGGCT\nTTTTTTACGGGATTTTTTTATGTCGATGTACACAACCGCCCAACTGCTGGCGGCAAATGAGCAGAAATTTAAGTTTGATCCGCTGTTTCTGCGTCTCTTT\nTTCCGTGAGAGCTATCCCTTCACCACGGAGAAAGTCTATCTCTCACAAATTCCGGGACTGGTAAACATGGCGCTGTACGTTTCGCCGATTGTTTCCGGTG\nAGGTTATCCGTTCCCGTGGCGGCTCCACCTCTGAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAA\nTCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGG\nCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGA\nTGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCT\nCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAAT\nTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACA\nTATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTCCAGACTCTCA\n", P.RegExp_RegExp("\\s", true), ""); - }); - _lazyOld($, "_m13_p8634", "$get$_m13_p8634", function() { - return C.JSString_methods.replaceAll$2("GAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTT\nCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTG\nTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGAC\nAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTC\nGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCATTCTCCT\nGTGACTCGGAAGTGCATTTATCATCTCCATAAAACAAAACCCGCCGTAGCGAGTTCAGATAAAATAAATCCCCGCGAGTGCGAGGATTGTTATGTAATAT\nTGGGTTTAATCATCTATATGTTTTGTACAGAGAGGGCAAGTATCGTTTCCACCGTACTCGTGATAATAATTTTGCACGGTATCAGTCATTTCTCGCACAT\nTGCAGAATGGGGATTTGTCTTCATTAGACTTATAAACCTTCATGGAATATTTGTATGCCGACTCTATATCTATACCTTCATCTACATAAACACCTTCGTG\nATGTCTGCATGGAGACAAGACACCGGATCTGCACAACATTGATAACGCCCAATCTTTTTGCTCAGACTCTAACTCATTGATACTCATTTATAAACTCCTT\nGCAATGTATGTCGTTTCAGCTAAACGGTATCAGCAATGTTTATGTAAAGAAACAGTAAGATAATACTCAACCCGATGTTTGAGTACGGTCATCATCTGAC\nACTACAGACTCTGGCATCGCTGTGAAGACGACGCGAAATTCAGCATTTTCACAAGCGTTATCTTTTACAAAACCGATCTCACTCTCCTTTGATGCGAATG\nCCAGCGTCAGACATCATATGCAGATACTCACCTGCATCCTGAACCCATTGACCTCCAACCCCGTAATAGCGATGCGTAATGATGTCGATAGTTACTAACG\nGGTCTTGTTCGATTAACTGCCGCAGAAACTCTTCCAGGTCACCAGTGCAGTGCTTGATAACAGGAGTCTTCCCAGGATGGCGAACAACAAGAAACTGGTT\nTCCGTCTTCACGGACTTCGTTGCTTTCCAGTTTAGCAATACGCTTACTCCCATCCGAGATAACACCTTCGTAATACTCACGCTGCTCGTTGAGTTTTGAT\nTTTGCTGTTTCAAGCTCAACACGCAGTTTCCCTACTGTTAGCGCAATATCCTCGTTCTCCTGGTCGCGGCGTTTGATGTATTGCTGGTTTCTTTCCCGTT\nCATCCAGCAGTTCCAGCACAATCGATGGTGTTACCAATTCATGGAAAAGGTCTGCGTCAAATCCCCAGTCGTCATGCATTGCCTGCTCTGCCGCTTCACG\nCAGTGCCTGAGAGTTAATTTCGCTCACTTCGAACCTCTCTGTTTACTGATAAGTTCCAGATCCTCCTGGCAACTTGCACAAGTCCGACAACCCTGAACGA\nCCAGGCGTCTTCGTTCATCTATCGGATCGCCACACTCACAACAATGAGTGGCAGATATAGCCTGGTGGTTCAGGCGGCGCATTTTTATTGCTGTGTTGCG\nCTGTAATTCTTCTATTTCTGATGCTGAATCAATGATGTCTGCCATCTTTCATTAATCCCTGAACTGTTGGTTAATACGCATGAGGGTGAATGCGAATAAT\nAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTG\nGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTG\nCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACG\nTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGA\nAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTA\nCAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTT\nCATCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCT\nAGAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAA\nTATATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGC\nTTTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCC\nACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGA\nATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAG\nCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTT\nGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAG\nACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGC\nTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGT\nTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTT\nCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATA\nAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATG\nAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGT\nTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGA\nCACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTG\nCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCT\nGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAAT\nATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGA\nTACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTC\nCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTAT\nGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAA\nATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTA\nTACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACT\nTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACC\nAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGT\nTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGC\nTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTA\nATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGA\nTGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGAT\nAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAAT\nTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACAT\nACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGC\nTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTC\nTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAG\nGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCT\nGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAG\nTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGA\nAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTA\nCATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATT\nGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGT\nTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGT\nAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAA\nTATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAA\nGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAA\nTTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTA\nAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGT\nATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTT\nCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAA\nTTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTA\nATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCT\nATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATA\nTTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTG\nTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTC\nTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAAT\nGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTA\nCCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGAC\nTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCC\nCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTT\nACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAG\nCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATC\nGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTG\n", P.RegExp_RegExp("\\s", true), ""); - }); - _lazyOld($, "_$values", "$get$_$values0", function() { - return X.BuiltSet_BuiltSet(C.List_Tzo, type$.legacy_DNASequencePredefined); - }); - _lazyOld($, "_$dNASequencePredefinedSerializer", "$get$_$dNASequencePredefinedSerializer", function() { - return new E._$DNASequencePredefinedSerializer(); - }); - _lazyOld($, "all_middleware", "$get$all_middleware", function() { - return P.List_List$unmodifiable([A.reset_local_storage__reset_local_storage_middleware$closure(), S.local_storage__local_storage_middleware$closure(), B.move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure(), X.forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure(), V.export_svg__export_svg_middleware$closure(), T.save_file__save_file_middleware$closure(), K.load_file__load_file_middleware$closure(), A.export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure(), O.example_design_selected__example_design_selected_middleware$closure(), Z.throttle__throttle_middleware$closure(), X.assign_dna__assign_dna_middleware$closure(), U.strand_create__strand_create_middleware$closure(), L.helix_remove__helix_remove_middleware$closure(), F.group_remove__group_remove_middleware$closure(), M.helix_group_move_start__helix_group_move_start_middleware$closure(), R.helix_offsets_change__helix_change_offsets_middleware$closure(), R.helix_idxs_change__helix_idxs_change_middleware$closure(), X.helix_grid_change__helix_grid_offsets_middleware$closure(), G.helix_hide_all__helix_hide_all_middleware$closure(), B.helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure(), E.dna_ends_move_start__dna_ends_move_start_middleware$closure(), T.dna_extensions_move_start__dna_extensions_move_start_middleware$closure(), F.export_dna_sequences__export_dna_sequences_middleware$closure(), D.reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure(), A.reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure(), A.reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure(), T.reselect_moved_domains__reselect_moved_domains_middleware$closure(), Q.selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure(), S.insertion_deletion_batching__insertion_deletion_batching_middleware$closure(), O.adjust_grid_position__adjust_grid_position_middleware$closure(), V.invalidate_png__invalidate_png_middleware$closure(), Z.check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure(), D.edit_select_mode_change__edit_select_mode_change_middleware$closure(), F.periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure(), U.autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure(), G.system_clipboard__system_clipboard_middleware$closure(), X.zoom_speed__zoom_speed_middleware$closure(), N.oxdna_export__oxdna_export_middleware$closure(), N.oxview_update_view__oxview_update_view_middleware$closure()], H.findType("@(Store*,@,@(@)*)*")); - }); - _lazyOld($, "relevant_styles", "$get$relevant_styles", function() { - return P.LinkedHashMap_LinkedHashMap$_literal(["rect", C.List_8RB, "polygon", C.List_8RB, "path", C.List_8RB, "circle", C.List_8RB, "line", C.List_8RB, "text", C.List_in0, "textPath", C.JSArray_methods.$add(C.List_in0, C.List_empty0)], type$.legacy_String, type$.legacy_List_legacy_String); - }); - _lazyOld($, "_$values0", "$get$_$values5", function() { - return X.BuiltSet_BuiltSet(C.List_948, H.findType("Storable*")); - }); - _lazyOld($, "_OXDNA_ORIGIN", "$get$_OXDNA_ORIGIN", function() { - return N.OxdnaVector$(0, 0, 0); - }); - _lazyOld($, "clipboard", "$get$clipboard", function() { - return new T.BrowserClipboard(); - }); - _lazyOld($, "drawing_potential_crossover_reducer", "$get$drawing_potential_crossover_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure(), t1, type$.legacy_PotentialCrossoverCreate), - t3 = B.TypedReducer$(K.app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure(), t1, type$.legacy_PotentialCrossoverRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "moving_dna_ends_reducer", "$get$moving_dna_ends_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_DNAEndsMoveStart), - t3 = B.TypedReducer$(K.app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_DNAEndsMoveStop), - t4 = B.TypedReducer$(K.app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStart), - t5 = B.TypedReducer$(K.app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "slice_bar_is_moving_reducer", "$get$slice_bar_is_moving_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_SliceBarMoveStart), - t3 = B.TypedReducer$(K.app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_SliceBarMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "helix_group_is_moving_reducer", "$get$helix_group_is_moving_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_HelixGroupMoveStart), - t3 = B.TypedReducer$(K.app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_HelixGroupMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "load_dialog_reducer", "$get$load_dialog_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure(), t1, type$.legacy_LoadingDialogShow), - t3 = B.TypedReducer$(K.app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure(), t1, type$.legacy_LoadingDialogHide); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "changed_since_last_save_reducer", "$get$changed_since_last_save_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure(), t1, type$.legacy_UndoableAction), - t3 = B.TypedReducer$(K.app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure(), t1, type$.legacy_SaveDNAFile); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "mouseover_data_reducer", "$get$mouseover_data_reducer", function() { - var t1 = type$.legacy_BuiltList_legacy_MouseoverData, - t2 = B.TypedReducer$(U.mouseover_datas_reducer__mouseover_data_clear_reducer$closure(), t1, type$.legacy_MouseoverDataClear); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray*(BuiltList*,@)*>")), t1); - }); - _lazyOld($, "slice_bar_offset_global_reducer", "$get$slice_bar_offset_global_reducer", function() { - var t1 = type$.legacy_int, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure(), t1, t2, type$.legacy_ShowSliceBarSet), - t4 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure(), t1, t2, type$.legacy_GroupDisplayedChange), - t5 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure(), t1, t2, type$.legacy_GroupRemove), - t6 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChange), - t7 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChangeAll); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "displayed_group_name_reducer", "$get$displayed_group_name_reducer", function() { - var t1 = type$.legacy_String, - t2 = B.TypedReducer$(K.app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure(), t1, type$.legacy_GroupDisplayedChange), - t3 = B.TypedReducer$(K.app_ui_state_reducer__displayed_group_name_change_name_reducer$closure(), t1, type$.legacy_GroupChange); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "dna_sequence_png_uri_reducer", "$get$dna_sequence_png_uri_reducer", function() { - var t1 = type$.legacy_String, - t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_image_uri$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "dna_sequence_horizontal_offset_reducer", "$get$dna_sequence_horizontal_offset_reducer", function() { - var t1 = type$.legacy_num, - t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "dna_sequence_vertical_offset_reducer", "$get$dna_sequence_vertical_offset_reducer", function() { - var t1 = type$.legacy_num, - t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "export_svg_action_delayed_for_png_cache_reducer", "$get$export_svg_action_delayed_for_png_cache_reducer", function() { - var t1 = type$.legacy_ExportSvg, - t2 = B.TypedReducer$(K.app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure(), t1, type$.legacy_SetExportSvgActionDelayedForPngCache); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "is_zoom_above_threshold_reducer", "$get$is_zoom_above_threshold_reducer", function() { - var t1 = type$.legacy_bool, - t2 = B.TypedReducer$(K.app_ui_state_reducer__set_is_zoom_above_threshold$closure(), t1, type$.legacy_SetIsZoomAboveThreshold); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); - }); - _lazyOld($, "side_view_mouse_grid_pos_reducer", "$get$side_view_mouse_grid_pos_reducer", function() { - var t1 = type$.legacy_GridPosition, - t2 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure(), t1, type$.legacy_MouseGridPositionSideUpdate), - t3 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure(), t1, type$.legacy_MouseGridPositionSideClear); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "side_view_position_mouse_cursor_reducer", "$get$side_view_position_mouse_cursor_reducer", function() { - var t1 = type$.legacy_Point_legacy_num, - t2 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure(), t1, type$.legacy_MousePositionSideUpdate), - t3 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure(), t1, type$.legacy_MousePositionSideClear); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray*(Point*,@)*>")), t1); - }); - _lazyOld($, "color_picker_strand_reducer", "$get$color_picker_strand_reducer", function() { - var t1 = type$.legacy_Strand, - t2 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_strand_show_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerShow), - t3 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_strand_hide_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerHide); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "color_picker_substrand_reducer", "$get$color_picker_substrand_reducer", function() { - var t1 = type$.legacy_Substrand, - t2 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_substrand_show_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerShow), - t3 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_substrand_hide_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerHide); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "mouseover_datas_global_reducer", "$get$mouseover_datas_global_reducer", function() { - var t1 = type$.legacy_BuiltList_legacy_MouseoverData, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(U.mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure(), t1, t2, type$.legacy_HelixRollSetAtOther), - t4 = X.TypedGlobalReducer$(U.mouseover_datas_reducer__mouseover_data_update_reducer$closure(), t1, t2, type$.legacy_MouseoverDataUpdate); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call()], H.findType("JSArray*(BuiltList*,AppState*,@)*>")), t1, t2); - }); - _lazyOld($, "context_menu_reducer", "$get$context_menu_reducer", function() { - var t1 = type$.legacy_ContextMenu, - t2 = B.TypedReducer$(N.context_menu_reducer__context_menu_show_reducer$closure(), t1, type$.legacy_ContextMenuShow), - t3 = B.TypedReducer$(N.context_menu_reducer__context_menu_hide_reducer$closure(), t1, type$.legacy_ContextMenuHide); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "design_whole_local_reducer", "$get$design_whole_local_reducer", function() { - var t1 = type$.legacy_Design, - t2 = B.TypedReducer$(U.design_reducer__design_error_message_set_reducer$closure(), t1, type$.legacy_ErrorMessageSet), - t3 = B.TypedReducer$(R.inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure(), t1, type$.legacy_InlineInsertionsDeletions), - t4 = B.TypedReducer$(U.design_reducer__new_design_set_reducer$closure(), t1, type$.legacy_NewDesignSet); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "design_whole_global_reducer", "$get$design_whole_global_reducer", function() { - var t1 = type$.legacy_Design, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(U.design_reducer__design_geometry_set_reducer$closure(), t1, t2, type$.legacy_GeometrySet), - t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_idx_change_reducer$closure(), t1, t2, type$.legacy_HelixIdxsChange), - t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_add_design_reducer$closure(), t1, t2, type$.legacy_HelixAdd), - t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_remove_design_global_reducer$closure(), t1, t2, type$.legacy_HelixRemove), - t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_remove_all_selected_design_global_reducer$closure(), t1, t2, type$.legacy_HelixRemoveAllSelected), - t8 = X.TypedGlobalReducer$(Z.helix_group_move_reducer__helix_group_move_commit_global_reducer$closure(), t1, t2, type$.legacy_HelixGroupMoveCommit); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "dialog_reducer", "$get$dialog_reducer", function() { - var t1 = type$.legacy_Dialog, - t2 = B.TypedReducer$(A.dialog_reducer__dialog_show_reducer$closure(), t1, type$.legacy_DialogShow), - t3 = B.TypedReducer$(A.dialog_reducer__dialog_hide_reducer$closure(), t1, type$.legacy_DialogHide); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "optimized_dna_ends_move_reducer", "$get$optimized_dna_ends_move_reducer", function() { - return B.combineReducers(H.setRuntimeTypeInfo([$.$get$dna_ends_move_reducer()], H.findType("JSArray")), type$.legacy_DNAEndsMove); - }); - _lazyOld($, "dna_ends_move_reducer", "$get$dna_ends_move_reducer", function() { - var t1 = type$.legacy_DNAEndsMove, - t2 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure(), t1, type$.legacy_DNAEndsMoveSetSelectedEnds), - t3 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure(), t1, type$.legacy_DNAEndsMoveAdjustOffset), - t4 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_stop_reducer$closure(), t1, type$.legacy_DNAEndsMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "optimized_dna_extensions_move_reducer", "$get$optimized_dna_extensions_move_reducer", function() { - return B.combineReducers(H.setRuntimeTypeInfo([$.$get$dna_extensions_move_reducer()], H.findType("JSArray")), type$.legacy_DNAExtensionsMove); - }); - _lazyOld($, "dna_extensions_move_reducer", "$get$dna_extensions_move_reducer", function() { - var t1 = type$.legacy_DNAExtensionsMove, - t2 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds), - t3 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveAdjustPosition), - t4 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "domains_move_global_reducer", "$get$domains_move_global_reducer", function() { - var t1 = type$.legacy_DomainsMove, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(Q.domains_move_reducer__domains_move_start_selected_domains_reducer$closure(), t1, t2, type$.legacy_DomainsMoveStartSelectedDomains), - t4 = X.TypedGlobalReducer$(Q.domains_move_reducer__domains_adjust_address_reducer$closure(), t1, t2, type$.legacy_DomainsMoveAdjustAddress); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "domains_move_local_reducer", "$get$domains_move_local_reducer", function() { - var t1 = type$.legacy_DomainsMove, - t2 = B.TypedReducer$(Q.domains_move_reducer__domains_move_stop_reducer$closure(), t1, type$.legacy_DomainsMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "edit_modes_reducer", "$get$edit_modes_reducer", function() { - var t1 = type$.legacy_BuiltSet_legacy_EditModeChoice, - t2 = B.TypedReducer$(B.edit_modes_reducer__toggle_edit_mode_reducer$closure(), t1, type$.legacy_EditModeToggle), - t3 = B.TypedReducer$(B.edit_modes_reducer__set_edit_modes_reducer$closure(), t1, type$.legacy_EditModesSet); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray*(BuiltSet*,@)*>")), t1); - }); - _lazyOld($, "groups_local_reducer", "$get$groups_local_reducer", function() { - var t1 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, - t2 = B.TypedReducer$(O.groups_reducer__group_add_reducer$closure(), t1, type$.legacy_GroupAdd), - t3 = B.TypedReducer$(O.groups_reducer__group_remove_reducer$closure(), t1, type$.legacy_GroupRemove), - t4 = B.TypedReducer$(O.groups_reducer__group_change_reducer$closure(), t1, type$.legacy_GroupChange), - t5 = B.TypedReducer$(O.groups_reducer__grid_change_reducer$closure(), t1, type$.legacy_GridChange); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray*(BuiltMap*,@)*>")), t1); - }); - _lazyOld($, "groups_global_reducer", "$get$groups_global_reducer", function() { - var t1 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(O.groups_reducer__move_helices_to_group_groups_reducer$closure(), t1, t2, type$.legacy_MoveHelicesToGroup); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call()], H.findType("JSArray*(BuiltMap*,AppState*,@)*>")), t1, t2); - }); - _lazyOld($, "helices_local_reducer", "$get$helices_local_reducer", function() { - var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, - t2 = B.TypedReducer$(V.helices_reducer__move_helices_to_group_helices_reducer$closure(), t1, type$.legacy_MoveHelicesToGroup), - t3 = B.TypedReducer$(V.helices_reducer__helix_major_tick_distance_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickDistanceChangeAll), - t4 = B.TypedReducer$(V.helices_reducer__helix_major_ticks_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTicksChangeAll), - t5 = B.TypedReducer$(V.helices_reducer__helix_major_tick_start_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickStartChangeAll), - t6 = B.TypedReducer$(V.helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickPeriodicDistancesChangeAll); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray*(BuiltMap*,@)*>")), t1); - }); - _lazyOld($, "helices_global_reducer", "$get$helices_global_reducer", function() { - var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(V.helices_reducer__relax_helix_rolls_reducer$closure(), t1, t2, type$.legacy_RelaxHelixRolls), - t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_group_change_reducer$closure(), t1, t2, type$.legacy_GroupChange), - t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_grid_change_reducer$closure(), t1, t2, type$.legacy_GridChange), - t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_grid_position_set_reducer$closure(), t1, t2, type$.legacy_HelixGridPositionSet), - t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_position_set_reducer$closure(), t1, t2, type$.legacy_HelixPositionSet), - t8 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChangeAll), - t9 = X.TypedGlobalReducer$(V.helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.legacy_HelixMinOffsetSetByDomainsAll), - t10 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomainsAll), - t11 = X.TypedGlobalReducer$(V.helices_reducer__helix_individual_reducer$closure(), t1, t2, type$.legacy_HelixIndividualAction), - t12 = X.TypedGlobalReducer$(V.helices_reducer__helix_roll_set_at_other_reducer$closure(), t1, t2, type$.legacy_HelixRollSetAtOther), - t13 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax), - t14 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure(), t1, t2, type$.legacy_StrandsMoveAdjustAddress), - t15 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure(), t1, t2, type$.legacy_StrandCreateAdjustOffset), - t16 = X.TypedGlobalReducer$(V.helices_reducer__first_replace_strands_reducer$closure(), t1, t2, type$.legacy_ReplaceStrands), - t17 = X.TypedGlobalReducer$(V.helices_reducer__reset_helices_offsets_after_selections_clear$closure(), t1, t2, type$.legacy_SelectionsClear); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call()], H.findType("JSArray*(BuiltMap*,AppState*,@)*>")), t1, t2); - }); - _lazyOld($, "_helix_individual_reducers", "$get$_helix_individual_reducers", function() { - var t1 = type$.legacy_Helix, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChange), - t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_min_offset_set_by_domains_reducer$closure(), t1, t2, type$.legacy_HelixMinOffsetSetByDomains), - t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomains), - t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_distance_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickDistanceChange), - t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickPeriodicDistancesChange), - t8 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_start_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickStartChange), - t9 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_ticks_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTicksChange), - t10 = X.TypedGlobalReducer$(V.helices_reducer__helix_roll_set_reducer$closure(), t1, t2, type$.legacy_HelixRollSet); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "optimized_helix_group_move_reducer", "$get$optimized_helix_group_move_reducer", function() { - var t1 = type$.legacy_HelixGroupMove, - t2 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_create_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveCreate), - t3 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveAdjustTranslation), - t4 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "insertion_deletion_domain_reducer", "$get$insertion_deletion_domain_reducer", function() { - var t1 = type$.legacy_Domain, - t2 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_add_reducer$closure(), t1, type$.legacy_InsertionAdd), - t3 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_remove_reducer$closure(), t1, type$.legacy_InsertionRemove), - t4 = B.TypedReducer$(D.insertion_deletion_reducer__deletion_add_reducer$closure(), t1, type$.legacy_DeletionAdd), - t5 = B.TypedReducer$(D.insertion_deletion_reducer__deletion_remove_reducer$closure(), t1, type$.legacy_DeletionRemove), - t6 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_length_change_reducer$closure(), t1, type$.legacy_InsertionLengthChange); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "hline", "$get$hline", function() { - return C.JSString_methods.$mul("*", 100); - }); - _lazyOld($, "optimized_potential_crossover_reducer", "$get$optimized_potential_crossover_reducer", function() { - return B.combineReducers(H.setRuntimeTypeInfo([$.$get$potential_crossover_reducer()], H.findType("JSArray")), type$.legacy_PotentialCrossover); - }); - _lazyOld($, "potential_crossover_reducer", "$get$potential_crossover_reducer", function() { - var t1 = type$.legacy_PotentialCrossover, - t2 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_create_reducer$closure(), t1, type$.legacy_PotentialCrossoverCreate), - t3 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_move_reducer$closure(), t1, type$.legacy_PotentialCrossoverMove), - t4 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_remove_reducer$closure(), t1, type$.legacy_PotentialCrossoverRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "select_mode_state_reducer", "$get$select_mode_state_reducer", function() { - var t1 = type$.legacy_SelectModeState, - t2 = B.TypedReducer$(Q.select_mode_state_reducer__toggle_select_mode_reducer$closure(), t1, type$.legacy_SelectModeToggle), - t3 = B.TypedReducer$(Q.select_mode_state_reducer__set_select_modes_reducer$closure(), t1, type$.legacy_SelectModesSet), - t4 = B.TypedReducer$(Q.select_mode_state_reducer__add_select_modes_reducer$closure(), t1, type$.legacy_SelectModesAdd); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "selectables_store_global_reducer", "$get$selectables_store_global_reducer", function() { - var t1 = type$.legacy_SelectablesStore, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(D.selection_reducer__select_reducer$closure(), t1, t2, type$.legacy_Select), - t4 = X.TypedGlobalReducer$(D.selection_reducer__select_or_toggle_items_reducer$closure(), t1, t2, type$.legacy_SelectOrToggleItems), - t5 = X.TypedGlobalReducer$(D.selection_reducer__select_all_selectables_reducer$closure(), t1, t2, type$.legacy_SelectAllSelectable), - t6 = X.TypedGlobalReducer$(D.selection_reducer__select_all_with_same_reducer$closure(), t1, t2, type$.legacy_SelectAllWithSameAsSelected); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "selectables_store_local_reducer", "$get$selectables_store_local_reducer", function() { - var t1 = type$.legacy_SelectablesStore, - t2 = B.TypedReducer$(D.selection_reducer__select_all_reducer$closure(), t1, type$.legacy_SelectAll), - t3 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectionsClear), - t4 = B.TypedReducer$(D.selection_reducer__design_changing_action_reducer$closure(), t1, type$.legacy_DesignChangingAction), - t5 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModeToggle), - t6 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModesSet), - t7 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModesAdd); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "side_selected_helices_global_reducer", "$get$side_selected_helices_global_reducer", function() { - var t1 = type$.legacy_BuiltSet_legacy_int, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(D.selection_reducer__helix_selections_adjust_reducer$closure(), t1, t2, type$.legacy_HelixSelectionsAdjust); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call()], H.findType("JSArray*(BuiltSet*,AppState*,@)*>")), t1, t2); - }); - _lazyOld($, "side_selected_helices_reducer", "$get$side_selected_helices_reducer", function() { - var t1 = type$.legacy_BuiltSet_legacy_int, - t2 = B.TypedReducer$(D.selection_reducer__helix_select_reducer$closure(), t1, type$.legacy_HelixSelect), - t3 = B.TypedReducer$(D.selection_reducer__helices_selected_clear_reducer$closure(), t1, type$.legacy_HelixSelectionsClear), - t4 = B.TypedReducer$(D.selection_reducer__helices_remove_all_selected_reducer$closure(), t1, type$.legacy_HelixRemoveAllSelected), - t5 = B.TypedReducer$(D.selection_reducer__helix_remove_selected_reducer$closure(), t1, type$.legacy_HelixRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray*(BuiltSet*,@)*>")), t1); - }); - _lazyOld($, "optimized_selection_box_reducer", "$get$optimized_selection_box_reducer", function() { - return B.combineReducers(H.setRuntimeTypeInfo([$.$get$selection_box_reducer()], H.findType("JSArray")), type$.legacy_SelectionBox); - }); - _lazyOld($, "selection_box_reducer", "$get$selection_box_reducer", function() { - var t1 = type$.legacy_SelectionBox, - t2 = B.TypedReducer$(D.selection_reducer__selection_box_create_reducer$closure(), t1, type$.legacy_SelectionBoxCreate), - t3 = B.TypedReducer$(D.selection_reducer__selection_box_size_changed_reducer$closure(), t1, type$.legacy_SelectionBoxSizeChange), - t4 = B.TypedReducer$(D.selection_reducer__selection_box_remove_reducer$closure(), t1, type$.legacy_SelectionBoxRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "optimized_selection_rope_reducer", "$get$optimized_selection_rope_reducer", function() { - return B.combineReducers(H.setRuntimeTypeInfo([$.$get$selection_rope_reducer()], H.findType("JSArray")), type$.legacy_SelectionRope); - }); - _lazyOld($, "selection_rope_reducer", "$get$selection_rope_reducer", function() { - var t1 = type$.legacy_SelectionRope, - t2 = B.TypedReducer$(D.selection_reducer__selection_rope_create_reducer$closure(), t1, type$.legacy_SelectionRopeCreate), - t3 = B.TypedReducer$(D.selection_reducer__selection_rope_mouse_move_reducer$closure(), t1, type$.legacy_SelectionRopeMouseMove), - t4 = B.TypedReducer$(D.selection_reducer__selection_rope_add_point_reducer$closure(), t1, type$.legacy_SelectionRopeAddPoint), - t5 = B.TypedReducer$(D.selection_reducer__selection_rope_remove_reducer$closure(), t1, type$.legacy_SelectionRopeRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "strand_creation_global_reducer", "$get$strand_creation_global_reducer", function() { - var t1 = type$.legacy_StrandCreation, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_start_reducer$closure(), t1, t2, type$.legacy_StrandCreateStart), - t4 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_adjust_offset_reducer$closure(), t1, t2, type$.legacy_StrandCreateAdjustOffset), - t5 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_stop_reducer$closure(), t1, t2, type$.legacy_StrandCreateStop); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "copy_info_global_reducer", "$get$copy_info_global_reducer", function() { - var t1 = type$.legacy_CopyInfo, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__copy_selected_strands_reducer$closure(), t1, t2, type$.legacy_CopySelectedStrands), - t4 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__manual_paste_initiate_reducer$closure(), t1, t2, type$.legacy_ManualPasteInitiate), - t5 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__autopaste_initiate_reducer$closure(), t1, t2, type$.legacy_AutoPasteInitiate), - t6 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__manual_paste_copy_info_reducer$closure(), t1, t2, type$.legacy_StrandsMoveCommit); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "strands_move_global_reducer", "$get$strands_move_global_reducer", function() { - var t1 = type$.legacy_StrandsMove, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_move_start_reducer$closure(), t1, t2, type$.legacy_StrandsMoveStart), - t4 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_move_start_selected_strands_reducer$closure(), t1, t2, type$.legacy_StrandsMoveStartSelectedStrands), - t5 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_adjust_address_reducer$closure(), t1, t2, type$.legacy_StrandsMoveAdjustAddress); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1, t2); - }); - _lazyOld($, "strands_move_local_reducer", "$get$strands_move_local_reducer", function() { - var t1 = type$.legacy_StrandsMove, - t2 = B.TypedReducer$(D.strands_move_reducer__strands_move_stop_reducer$closure(), t1, type$.legacy_StrandsMoveStop); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "strands_local_reducer", "$get$strands_local_reducer", function() { - var t1 = type$.legacy_BuiltList_legacy_Strand, - t2 = B.TypedReducer$(R.assign_or_remove_dna_reducer__remove_dna_reducer$closure(), t1, type$.legacy_RemoveDNA), - t3 = B.TypedReducer$(E.strands_reducer__replace_strands_reducer$closure(), t1, type$.legacy_ReplaceStrands), - t4 = B.TypedReducer$(E.strands_reducer__strands_single_strand_reducer$closure(), t1, type$.legacy_SingleStrandAction); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray*(BuiltList*,@)*>")), t1); - }); - _lazyOld($, "strands_global_reducer", "$get$strands_global_reducer", function() { - var t1 = type$.legacy_BuiltList_legacy_Strand, - t2 = type$.legacy_AppState, - t3 = X.TypedGlobalReducer$(R.assign_or_remove_dna_reducer__assign_dna_reducer$closure(), t1, t2, type$.legacy_AssignDNA), - t4 = X.TypedGlobalReducer$(M.assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure(), t1, t2, type$.legacy_AssignDomainNameComplementFromBoundStrands), - t5 = X.TypedGlobalReducer$(M.assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure(), t1, t2, type$.legacy_AssignDomainNameComplementFromBoundDomains), - t6 = X.TypedGlobalReducer$(R.assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure(), t1, t2, type$.legacy_AssignDNAComplementFromBoundStrands), - t7 = X.TypedGlobalReducer$(E.strands_reducer__strands_move_commit_reducer$closure(), t1, t2, type$.legacy_StrandsMoveCommit), - t8 = X.TypedGlobalReducer$(E.strands_reducer__domains_move_commit_reducer$closure(), t1, t2, type$.legacy_DomainsMoveCommit), - t9 = X.TypedGlobalReducer$(E.strands_reducer__strands_dna_ends_move_commit_reducer$closure(), t1, t2, type$.legacy_DNAEndsMoveCommit), - t10 = X.TypedGlobalReducer$(E.strands_reducer__strands_dna_extensions_move_commit_reducer$closure(), t1, t2, type$.legacy_DNAExtensionsMoveCommit), - t11 = X.TypedGlobalReducer$(E.strands_reducer__strands_part_reducer$closure(), t1, t2, type$.legacy_StrandPartAction), - t12 = X.TypedGlobalReducer$(E.strands_reducer__strand_create$closure(), t1, t2, type$.legacy_StrandCreateCommit), - t13 = X.TypedGlobalReducer$(G.delete_reducer__delete_all_reducer$closure(), t1, t2, type$.legacy_DeleteAllSelected), - t14 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure(), t1, t2, type$.legacy_MoveLinker), - t15 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__nick_reducer$closure(), t1, t2, type$.legacy_Nick), - t16 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__ligate_reducer$closure(), t1, t2, type$.legacy_Ligate), - t17 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure(), t1, t2, type$.legacy_JoinStrandsByCrossover), - t18 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure(), t1, t2, type$.legacy_JoinStrandsByMultipleCrossovers), - t19 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure(), t1, t2, type$.legacy_ConvertCrossoversToLoopouts), - t20 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__loopouts_length_change_reducer$closure(), t1, t2, type$.legacy_LoopoutsLengthChange), - t21 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__extensions_num_bases_change_reducer$closure(), t1, t2, type$.legacy_ExtensionsNumBasesChange), - t22 = X.TypedGlobalReducer$(D.insertion_deletion_reducer__insertions_length_change_reducer$closure(), t1, t2, type$.legacy_InsertionsLengthChange), - t23 = X.TypedGlobalReducer$(E.strands_reducer__modifications_5p_edit_reducer$closure(), t1, t2, type$.legacy_Modifications5PrimeEdit), - t24 = X.TypedGlobalReducer$(E.strands_reducer__modifications_3p_edit_reducer$closure(), t1, t2, type$.legacy_Modifications3PrimeEdit), - t25 = X.TypedGlobalReducer$(E.strands_reducer__modifications_int_edit_reducer$closure(), t1, t2, type$.legacy_ModificationsInternalEdit); - return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call(), t18.get$$call(), t19.get$$call(), t20.get$$call(), t21.get$$call(), t22.get$$call(), t23.get$$call(), t24.get$$call(), t25.get$$call()], H.findType("JSArray*(BuiltList*,AppState*,@)*>")), t1, t2); - }); - _lazyOld($, "strand_part_reducer", "$get$strand_part_reducer", function() { - var t1 = type$.legacy_Strand, - t2 = B.TypedReducer$(X.change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure(), t1, type$.legacy_ConvertCrossoverToLoopout), - t3 = B.TypedReducer$(X.change_loopout_ext_properties__loopout_length_change_reducer$closure(), t1, type$.legacy_LoopoutLengthChange), - t4 = B.TypedReducer$(X.change_loopout_ext_properties__extension_num_bases_change_reducer$closure(), t1, type$.legacy_ExtensionNumBasesChange), - t5 = B.TypedReducer$(X.change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure(), t1, type$.legacy_ExtensionDisplayLengthAngleSet), - t6 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_deletion_reducer$closure(), t1, type$.legacy_InsertionOrDeletionAction), - t7 = B.TypedReducer$(E.strands_reducer__substrand_name_set_reducer$closure(), t1, type$.legacy_SubstrandNameSet), - t8 = B.TypedReducer$(E.strands_reducer__substrand_label_set_reducer$closure(), t1, type$.legacy_SubstrandLabelSet); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "single_strand_reducer", "$get$single_strand_reducer", function() { - var t1 = type$.legacy_Strand, - t2 = B.TypedReducer$(E.strands_reducer__scaffold_set_reducer$closure(), t1, type$.legacy_ScaffoldSet), - t3 = B.TypedReducer$(E.strands_reducer__strand_or_substrand_color_set_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorSet), - t4 = B.TypedReducer$(E.strands_reducer__modification_add_reducer$closure(), t1, type$.legacy_ModificationAdd), - t5 = B.TypedReducer$(E.strands_reducer__extension_add_reducer$closure(), t1, type$.legacy_ExtensionAdd), - t6 = B.TypedReducer$(E.strands_reducer__modification_remove_reducer$closure(), t1, type$.legacy_ModificationRemove), - t7 = B.TypedReducer$(E.strands_reducer__modification_edit_reducer$closure(), t1, type$.legacy_ModificationEdit), - t8 = B.TypedReducer$(E.strands_reducer__strand_name_set_reducer$closure(), t1, type$.legacy_StrandNameSet), - t9 = B.TypedReducer$(E.strands_reducer__strand_label_set_reducer$closure(), t1, type$.legacy_StrandLabelSet), - t10 = B.TypedReducer$(E.strands_reducer__scale_purification_vendor_fields_assign_reducer$closure(), t1, type$.legacy_ScalePurificationVendorFieldsAssign), - t11 = B.TypedReducer$(E.strands_reducer__plate_well_vendor_fields_assign_reducer$closure(), t1, type$.legacy_PlateWellVendorFieldsAssign), - t12 = B.TypedReducer$(E.strands_reducer__plate_well_vendor_fields_remove_reducer$closure(), t1, type$.legacy_PlateWellVendorFieldsRemove), - t13 = B.TypedReducer$(E.strands_reducer__vendor_fields_remove_reducer$closure(), t1, type$.legacy_VendorFieldsRemove); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "undo_redo_reducer", "$get$undo_redo_reducer", function() { - var t1 = type$.legacy_AppState, - t2 = B.TypedReducer$(S.undo_redo_reducer__undo_reducer$closure(), t1, type$.legacy_Undo), - t3 = B.TypedReducer$(S.undo_redo_reducer__redo_reducer$closure(), t1, type$.legacy_Redo), - t4 = B.TypedReducer$(S.undo_redo_reducer__undo_redo_clear_reducer$closure(), t1, type$.legacy_UndoRedoClear); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "undoable_action_reducer", "$get$undoable_action_reducer", function() { - var t1 = type$.legacy_AppState, - t2 = B.TypedReducer$(S.undo_redo_reducer__undoable_action_typed_reducer$closure(), t1, type$.legacy_UndoableAction); - return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); - }); - _lazyOld($, "serializers", "$get$serializers", function() { - return $.$get$_$serializers(); - }); - _lazyOld($, "standard_serializers", "$get$standard_serializers", function() { + SourceSpanWithContext: findType("SourceSpanWithContext"), + SpeechGrammar: findType("SpeechGrammar"), + SpeechRecognitionResult: findType("SpeechRecognitionResult"), + SpreadsheetTable: findType("SpreadsheetTable"), + StackTrace: findType("StackTrace"), + Store_AppState: findType("Store"), + Store_dynamic: findType("Store<@>"), + Store_nullable_DNAEndsMove: findType("Store"), + Store_nullable_DNAExtensionsMove: findType("Store"), + Store_nullable_HelixGroupMove: findType("Store"), + Store_nullable_PotentialCrossover: findType("Store"), + Store_nullable_SelectionBox: findType("Store"), + Store_nullable_SelectionRope: findType("Store"), + Strand: findType("Strand"), + StrandBuilder: findType("StrandBuilder"), + StrandCreateAdjustOffset: findType("StrandCreateAdjustOffset"), + StrandCreateCommit: findType("StrandCreateCommit"), + StrandCreateStart: findType("StrandCreateStart"), + StrandCreateStop: findType("StrandCreateStop"), + StrandCreation: findType("StrandCreation"), + StrandLabelFontSizeSet: findType("StrandLabelFontSizeSet"), + StrandLabelSet: findType("StrandLabelSet"), + StrandNameFontSizeSet: findType("StrandNameFontSizeSet"), + StrandNameSet: findType("StrandNameSet"), + StrandOrSubstrandColorPickerHide: findType("StrandOrSubstrandColorPickerHide"), + StrandOrSubstrandColorPickerShow: findType("StrandOrSubstrandColorPickerShow"), + StrandOrSubstrandColorSet: findType("StrandOrSubstrandColorSet"), + StrandOrder: findType("StrandOrder"), + StrandPartAction: findType("StrandPartAction"), + StrandPasteKeepColorSet: findType("StrandPasteKeepColorSet"), + StrandsMove: findType("StrandsMove"), + StrandsMoveAdjustAddress: findType("StrandsMoveAdjustAddress"), + StrandsMoveCommit: findType("StrandsMoveCommit"), + StrandsMoveStart: findType("StrandsMoveStart"), + StrandsMoveStartSelectedStrands: findType("StrandsMoveStartSelectedStrands"), + StrandsMoveStop: findType("StrandsMoveStop"), + StrandsReflect: findType("StrandsReflect"), + StreamSubscription_dynamic: findType("StreamSubscription<@>"), + StreamedResponse: findType("StreamedResponse"), + String: findType("String"), + String_Function_Match: findType("String(Match)"), + String_Function_String: findType("String(String)"), + String_Function_legacy_String: findType("String(String*)"), + StructuredSerializer_dynamic: findType("StructuredSerializer<@>"), + StyleSheet: findType("StyleSheet"), + Substrand: findType("Substrand"), + SubstrandLabelSet: findType("SubstrandLabelSet"), + SubstrandNameSet: findType("SubstrandNameSet"), + Success_String: findType("Success"), + SvgElement: findType("SvgElement"), + SvgPngCacheInvalidatingAction: findType("SvgPngCacheInvalidatingAction"), + SvgSvgElement: findType("SvgSvgElement"), + Symbol: findType("Symbol0"), + SyntheticFormEvent: findType("SyntheticFormEvent"), + SyntheticMouseEvent: findType("SyntheticMouseEvent"), + SyntheticPointerEvent: findType("SyntheticPointerEvent"), + TemplateElement: findType("TemplateElement"), + TextAreaElement: findType("TextAreaElement"), + TextContentElement: findType("TextContentElement"), + TextElement: findType("TextElement"), + TextPathElement: findType("TextPathElement"), + TextTrack: findType("TextTrack"), + TextTrackCue: findType("TextTrackCue"), + ThrottledAction: findType("ThrottledAction"), + ThrottledActionFast: findType("ThrottledActionFast"), + ThrottledActionNonFast: findType("ThrottledActionNonFast"), + Timer: findType("Timer"), + TokenParser_String: findType("TokenParser"), + Touch: findType("Touch"), + TouchEvent: findType("TouchEvent"), + Transform: findType("Transform"), + Tuple2_Address_Address: findType("Tuple2"), + Tuple2_Address_Crossover: findType("Tuple2"), + Tuple2_DNAEnd_DNAEnd: findType("Tuple2"), + Tuple2_Domain_Domain: findType("Tuple2"), + Tuple2_OxdnaStrand_bool: findType("Tuple2"), + Tuple2_String_String: findType("Tuple2"), + Tuple2_Substrand_int: findType("Tuple2"), + Tuple2_double_double: findType("Tuple2"), + Tuple2_double_int: findType("Tuple2"), + Tuple2_int_int: findType("Tuple2"), + Tuple2_of_List_Strand_and_nullable_List_int: findType("Tuple2,List?>"), + Tuple2_of_List_double_and_List_double: findType("Tuple2,List>"), + Tuple2_of_Map_int_HelixBuilder_and_Map_String_HelixGroupBuilder: findType("Tuple2,Map>"), + Tuple2_of_Strand_and_List_InsertionDeletionRecord: findType("Tuple2>"), + Tuple2_of_String_and_Map_String_Modification3Prime: findType("Tuple2>"), + Tuple2_of_String_and_Map_String_Modification5Prime: findType("Tuple2>"), + Tuple2_of_String_and_Map_String_ModificationInternal: findType("Tuple2>"), + Tuple2_of_Tuple2_int_int_and_Domain: findType("Tuple2,Domain>"), + Tuple2_of_nullable_double_and_int: findType("Tuple2"), + Tuple3_OxdnaVector_OxdnaVector_OxdnaVector: findType("Tuple3"), + Tuple3_int_bool_Domain: findType("Tuple3"), + Tuple3_int_int_bool: findType("Tuple3"), + Tuple3_of_Map_int_HelixBuilder_and_Map_String_HelixPitchYaw_and_Map_of_HelixPitchYaw_and_List_HelixBuilder: findType("Tuple3,Map,Map>>"), + Tuple5_int_Domain_Domain_Strand_Strand: findType("Tuple5"), + Type: findType("Type"), + TypeError: findType("TypeError"), + TypedData: findType("TypedData"), + TypedGlobalReducer_String_AppState_GroupRemove: findType("TypedGlobalReducer"), + TypedReducer_BasePairDisplayType_BasePairTypeSet: findType("TypedReducer"), + TypedReducer_DNAAssignOptions_AssignDNA: findType("TypedReducer"), + TypedReducer_ExampleDesigns_ExampleDesignsLoad: findType("TypedReducer"), + TypedReducer_LocalStorageDesignChoice_LocalStorageDesignChoiceSet: findType("TypedReducer"), + TypedReducer_bool_AutofitSet: findType("TypedReducer"), + TypedReducer_bool_ClearHelixSelectionWhenLoadingNewDesignSet: findType("TypedReducer"), + TypedReducer_bool_DefaultCrossoverTypeForSettingHelixRollsSet: findType("TypedReducer"), + TypedReducer_bool_DisablePngCachingDnaSequencesSet: findType("TypedReducer"), + TypedReducer_bool_DisplayMajorTicksOffsetsSet: findType("TypedReducer"), + TypedReducer_bool_DisplayReverseDNARightSideUpSet: findType("TypedReducer"), + TypedReducer_bool_DynamicHelixUpdateSet: findType("TypedReducer"), + TypedReducer_bool_ExportSvgTextSeparatelySet: findType("TypedReducer"), + TypedReducer_bool_InvertYSet: findType("TypedReducer"), + TypedReducer_bool_OxExportOnlySelectedStrandsSet: findType("TypedReducer"), + TypedReducer_bool_OxviewShowSet: findType("TypedReducer"), + TypedReducer_bool_RetainStrandColorOnSelectionSet: findType("TypedReducer"), + TypedReducer_bool_SelectionBoxIntersectionRuleSet: findType("TypedReducer"), + TypedReducer_bool_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("TypedReducer"), + TypedReducer_bool_SetDisplayMajorTickWidths: findType("TypedReducer"), + TypedReducer_bool_SetDisplayMajorTickWidthsAllHelices: findType("TypedReducer"), + TypedReducer_bool_SetModificationDisplayConnector: findType("TypedReducer"), + TypedReducer_bool_SetOnlyDisplaySelectedHelices: findType("TypedReducer"), + TypedReducer_bool_ShowAxisArrowsSet: findType("TypedReducer"), + TypedReducer_bool_ShowBasePairLinesSet: findType("TypedReducer"), + TypedReducer_bool_ShowBasePairLinesWithMismatchesSet: findType("TypedReducer"), + TypedReducer_bool_ShowDNASet: findType("TypedReducer"), + TypedReducer_bool_ShowDomainLabelsSet: findType("TypedReducer"), + TypedReducer_bool_ShowDomainNameMismatchesSet: findType("TypedReducer"), + TypedReducer_bool_ShowDomainNamesSet: findType("TypedReducer"), + TypedReducer_bool_ShowEditMenuToggle: findType("TypedReducer"), + TypedReducer_bool_ShowGridCoordinatesSideViewSet: findType("TypedReducer"), + TypedReducer_bool_ShowHelixCirclesMainViewSet: findType("TypedReducer"), + TypedReducer_bool_ShowHelixComponentsMainViewSet: findType("TypedReducer"), + TypedReducer_bool_ShowLoopoutExtensionLengthSet: findType("TypedReducer"), + TypedReducer_bool_ShowMismatchesSet: findType("TypedReducer"), + TypedReducer_bool_ShowModificationsSet: findType("TypedReducer"), + TypedReducer_bool_ShowMouseoverDataSet: findType("TypedReducer"), + TypedReducer_bool_ShowSliceBarSet: findType("TypedReducer"), + TypedReducer_bool_ShowStrandLabelsSet: findType("TypedReducer"), + TypedReducer_bool_ShowStrandNamesSet: findType("TypedReducer"), + TypedReducer_bool_ShowUnpairedInsertionDeletionsSet: findType("TypedReducer"), + TypedReducer_bool_StrandPasteKeepColorSet: findType("TypedReducer"), + TypedReducer_bool_WarnOnExitIfUnsavedSet: findType("TypedReducer"), + TypedReducer_double_DomainLabelFontSizeSet: findType("TypedReducer"), + TypedReducer_double_DomainNameFontSizeSet: findType("TypedReducer"), + TypedReducer_double_MajorTickOffsetFontSizeSet: findType("TypedReducer"), + TypedReducer_double_MajorTickWidthFontSizeSet: findType("TypedReducer"), + TypedReducer_double_ModificationFontSizeSet: findType("TypedReducer"), + TypedReducer_double_StrandLabelFontSizeSet: findType("TypedReducer"), + TypedReducer_double_StrandNameFontSizeSet: findType("TypedReducer"), + TypedReducer_double_ZoomSpeedSet: findType("TypedReducer"), + TypedReducer_of_nullable_Modification3Prime_and_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_nullable_Modification5Prime_and_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_nullable_ModificationInternal_and_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_nullable_String_and_ErrorMessageSet: findType("TypedReducer"), + TypedReducer_of_nullable_int_and_SliceBarOffsetSet: findType("TypedReducer"), + Uint8List: findType("Uint8List"), + Undo: findType("Undo"), + UndoRedo: findType("UndoRedo"), + UndoRedoClear: findType("UndoRedoClear"), + UndoRedoItem: findType("UndoRedoItem"), + UndoableAction: findType("UndoableAction"), + UndoableAction_Function_Strand: findType("UndoableAction(Strand)"), + UndoableAction_Function_Strand_Substrand: findType("UndoableAction(Strand,Substrand)"), + UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), + UnmodifiableListView_ArchiveFile: findType("UnmodifiableListView"), + UnmodifiableListView_nullable_Object: findType("UnmodifiableListView"), + UnmodifiableMapView_String_Logger: findType("UnmodifiableMapView"), + UnmodifiableMapView_String_String: findType("UnmodifiableMapView"), + UnmodifiableMapView_of_String_and_nullable_Object: findType("UnmodifiableMapView"), + Uri: findType("Uri"), + Utf8Codec: findType("Utf8Codec"), + VendorFields: findType("VendorFields"), + VendorFieldsRemove: findType("VendorFieldsRemove"), + VersionRange: findType("VersionRange"), + WarnOnExitIfUnsavedSet: findType("WarnOnExitIfUnsavedSet"), + WhereIterable_String: findType("WhereIterable"), + WhereIterable_int: findType("WhereIterable"), + WhereTypeIterable_String: findType("WhereTypeIterable"), + WhereTypeIterable_XmlDeclarationEvent: findType("WhereTypeIterable"), + WhereTypeIterable_XmlDoctypeEvent: findType("WhereTypeIterable"), + WhereTypeIterable_XmlElement: findType("WhereTypeIterable"), + WhereTypeIterable_XmlStartElementEvent: findType("WhereTypeIterable"), + Window: findType("Window"), + WindowBase: findType("WindowBase"), + WorkerGlobalScope: findType("WorkerGlobalScope"), + XmlAttribute: findType("XmlAttribute"), + XmlCDATAEvent: findType("XmlCDATAEvent"), + XmlCommentEvent: findType("XmlCommentEvent"), + XmlDeclarationEvent: findType("XmlDeclarationEvent"), + XmlDoctypeEvent: findType("XmlDoctypeEvent"), + XmlDocument: findType("XmlDocument"), + XmlElement: findType("XmlElement"), + XmlEndElementEvent: findType("XmlEndElementEvent"), + XmlEntityMapping: findType("XmlEntityMapping"), + XmlEvent: findType("XmlEvent"), + XmlEventAttribute: findType("XmlEventAttribute"), + XmlHasName: findType("XmlHasName"), + XmlHasVisitor: findType("XmlHasVisitor"), + XmlNode: findType("XmlNode"), + XmlProcessingEvent: findType("XmlProcessingEvent"), + XmlStartElementEvent: findType("XmlStartElementEvent"), + XmlTextEvent: findType("XmlTextEvent"), + ZoomSpeedSet: findType("ZoomSpeedSet"), + _AsyncCompleter_Blob: findType("_AsyncCompleter"), + _AsyncCompleter_HttpRequest: findType("_AsyncCompleter"), + _AsyncCompleter_List_DialogItem: findType("_AsyncCompleter>"), + _AsyncCompleter_Null: findType("_AsyncCompleter"), + _AsyncCompleter_StreamedResponse: findType("_AsyncCompleter"), + _AsyncCompleter_Uint8List: findType("_AsyncCompleter"), + _AsyncCompleter_int: findType("_AsyncCompleter"), + _Attr: findType("_Attr"), + _BigIntImpl: findType("_BigIntImpl"), + _BuiltList_Address: findType("_BuiltList
"), + _BuiltList_DialogItem: findType("_BuiltList"), + _BuiltList_Domain: findType("_BuiltList"), + _BuiltList_DomainNameMismatch: findType("_BuiltList"), + _BuiltList_Tuple5_int_Domain_Domain_Strand_Strand: findType("_BuiltList>"), + _BuiltList_int: findType("_BuiltList"), + _ChildNodeListLazy: findType("_ChildNodeListLazy"), + _DelayedEvent_dynamic: findType("_DelayedEvent<@>"), + _Disposable: findType("_Disposable"), + _ElementEventStreamImpl_Event: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_Event: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_MouseEvent: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_TouchEvent: findType("_ElementEventStreamImpl"), + _EventManager: findType("_EventManager"), + _EventStream_Event: findType("_EventStream"), + _EventStream_legacy_ProgressEvent: findType("_EventStream"), + _FixedListIterator_Map_int_ModificationInternal: findType("_FixedListIterator>"), + _FrozenElementList_Element: findType("_FrozenElementList"), + _FrozenElementList_GraphicsElement: findType("_FrozenElementList"), + _Future_Blob: findType("_Future"), + _Future_HttpRequest: findType("_Future"), + _Future_List_DialogItem: findType("_Future>"), + _Future_Null: findType("_Future"), + _Future_StreamedResponse: findType("_Future"), + _Future_Uint8List: findType("_Future"), + _Future_dynamic: findType("_Future<@>"), + _Future_int: findType("_Future"), + _Future_void: findType("_Future<~>"), + _Highlight: findType("_Highlight"), + _Html5NodeValidator: findType("_Html5NodeValidator"), + _Line: findType("_Line"), + _MapEntry: findType("_MapEntry"), + _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), + _UnmodifiableSet_legacy_XmlNodeType: findType("_UnmodifiableSet"), + bool: findType("bool"), + bool_Function_2_nullable_List_dynamic_and_nullable_List_dynamic: findType("bool(List<@>?,List<@>?)"), + bool_Function_JsMap_JsMap: findType("bool(JsMap,JsMap)"), + bool_Function_Node: findType("bool(Node)"), + bool_Function_Object: findType("bool(Object)"), + bool_Function_String: findType("bool(String)"), + bool_Function__Highlight: findType("bool(_Highlight)"), + bool_Function_int: findType("bool(int)"), + double: findType("double"), + dynamic: findType("@"), + dynamic_Function: findType("@()"), + dynamic_Function_Never: findType("@(0&)"), + dynamic_Function_Object: findType("@(Object)"), + dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), + dynamic_Function_Set_String: findType("@(Set)"), + dynamic_Function_String: findType("@(String)"), + dynamic_Function_SyntheticFormEvent: findType("@(SyntheticFormEvent)"), + dynamic_Function_SyntheticMouseEvent: findType("@(SyntheticMouseEvent)"), + dynamic_Function_dynamic: findType("@(@)"), + dynamic_Function_dynamic_dynamic: findType("@(@,@)"), + dynamic_Function_num: findType("@(num)"), + int: findType("int"), + int_Function_dynamic_dynamic: findType("int(@,@)"), + legacy_BeforeUnloadEvent: findType("BeforeUnloadEvent*"), + legacy_Event: findType("Event*"), + legacy_KeyboardEvent: findType("KeyboardEvent*"), + legacy_MouseEvent: findType("MouseEvent*"), + legacy_Never: findType("0&*"), + legacy_Object: findType("Object*"), + legacy_ProgressEvent: findType("ProgressEvent*"), + legacy_TouchEvent: findType("TouchEvent*"), + nullable_BasePairDisplayType: findType("BasePairDisplayType?"), + nullable_Blob: findType("Blob?"), + nullable_BuiltList_BuiltMap_int_ModificationInternal: findType("BuiltList>?"), + nullable_BuiltList_Crossover: findType("BuiltList?"), + nullable_BuiltList_DNAEnd: findType("BuiltList?"), + nullable_BuiltList_DialogItem: findType("BuiltList?"), + nullable_BuiltList_Domain: findType("BuiltList?"), + nullable_BuiltList_Extension: findType("BuiltList?"), + nullable_BuiltList_Line: findType("BuiltList?"), + nullable_BuiltList_Linker: findType("BuiltList?"), + nullable_BuiltList_Loopout: findType("BuiltList?"), + nullable_BuiltList_PotentialVerticalCrossover: findType("BuiltList?"), + nullable_BuiltList_SelectableDeletion: findType("BuiltList?"), + nullable_BuiltList_SelectableInsertion: findType("BuiltList?"), + nullable_BuiltList_SelectableModification: findType("BuiltList?"), + nullable_BuiltList_int: findType("BuiltList?"), + nullable_BuiltMap_Address_DNAEnd: findType("BuiltMap?"), + nullable_BuiltMap_Address_Domain: findType("BuiltMap?"), + nullable_BuiltMap_Address_Strand: findType("BuiltMap?"), + nullable_BuiltMap_Crossover_Strand: findType("BuiltMap?"), + nullable_BuiltMap_DNAEnd_Address: findType("BuiltMap?"), + nullable_BuiltMap_DNAEnd_Domain: findType("BuiltMap?"), + nullable_BuiltMap_DNAEnd_Extension: findType("BuiltMap?"), + nullable_BuiltMap_Domain_Color: findType("BuiltMap?"), + nullable_BuiltMap_Linker_Strand: findType("BuiltMap?"), + nullable_BuiltMap_Strand_int: findType("BuiltMap?"), + nullable_BuiltMap_String_Crossover: findType("BuiltMap?"), + nullable_BuiltMap_String_DNAEnd: findType("BuiltMap?"), + nullable_BuiltMap_String_Domain: findType("BuiltMap?"), + nullable_BuiltMap_String_Extension: findType("BuiltMap?"), + nullable_BuiltMap_String_HelixGroup: findType("BuiltMap?"), + nullable_BuiltMap_String_Loopout: findType("BuiltMap?"), + nullable_BuiltMap_String_Selectable: findType("BuiltMap?"), + nullable_BuiltMap_String_SelectableDeletion: findType("BuiltMap?"), + nullable_BuiltMap_String_SelectableInsertion: findType("BuiltMap?"), + nullable_BuiltMap_String_SelectableModification: findType("BuiltMap?"), + nullable_BuiltMap_String_Strand: findType("BuiltMap?"), + nullable_BuiltMap_Substrand_Strand: findType("BuiltMap?"), + nullable_BuiltMap_int_SelectableModificationInternal: findType("BuiltMap?"), + nullable_BuiltMap_int_int: findType("BuiltMap?"), + nullable_BuiltMap_of_Domain_and_BuiltList_Address: findType("BuiltMap>?"), + nullable_BuiltMap_of_Domain_and_BuiltList_Mismatch: findType("BuiltMap>?"), + nullable_BuiltMap_of_Strand_and_BuiltList_Strand: findType("BuiltMap>?"), + nullable_BuiltMap_of_String_and_BuiltList_int: findType("BuiltMap>?"), + nullable_BuiltMap_of_Substrand_and_BuiltMap_int_ModificationInternal: findType("BuiltMap>?"), + nullable_BuiltMap_of_int_and_BuiltList_Address: findType("BuiltMap>?"), + nullable_BuiltMap_of_int_and_BuiltList_Domain: findType("BuiltMap>?"), + nullable_BuiltMap_of_int_and_BuiltList_DomainNameMismatch: findType("BuiltMap>?"), + nullable_BuiltMap_of_int_and_BuiltList_Tuple2_Address_Crossover: findType("BuiltMap>>?"), + nullable_BuiltMap_of_int_and_Point_double: findType("BuiltMap>?"), + nullable_BuiltSet_Crossover: findType("BuiltSet?"), + nullable_BuiltSet_DNAEnd: findType("BuiltSet?"), + nullable_BuiltSet_Domain: findType("BuiltSet?"), + nullable_BuiltSet_Extension: findType("BuiltSet?"), + nullable_BuiltSet_Loopout: findType("BuiltSet?"), + nullable_BuiltSet_SelectableDeletion: findType("BuiltSet?"), + nullable_BuiltSet_SelectableInsertion: findType("BuiltSet?"), + nullable_BuiltSet_SelectableModification: findType("BuiltSet?"), + nullable_BuiltSet_Strand: findType("BuiltSet?"), + nullable_BuiltSet_String: findType("BuiltSet?"), + nullable_BuiltSet_int: findType("BuiltSet?"), + nullable_Color: findType("Color?"), + nullable_Component2Bridge_Function_Component2: findType("Component2Bridge(Component2)?"), + nullable_ContextMenu: findType("ContextMenu?"), + nullable_CopyInfo: findType("CopyInfo?"), + nullable_DNAEnd: findType("DNAEnd?"), + nullable_DNAEndsMove: findType("DNAEndsMove?"), + nullable_DNAExtensionsMove: findType("DNAExtensionsMove?"), + nullable_Design: findType("Design?"), + nullable_DesignSideRotationData: findType("DesignSideRotationData?"), + nullable_Dialog: findType("Dialog?"), + nullable_DialogItem: findType("DialogItem?"), + nullable_DialogType: findType("DialogType?"), + nullable_Domain: findType("Domain?"), + nullable_DomainsMove: findType("DomainsMove?"), + nullable_Draggable: findType("Draggable?"), + nullable_DtdExternalId: findType("DtdExternalId?"), + nullable_Duration: findType("Duration?"), + nullable_Element: findType("Element?"), + nullable_EventTarget: findType("EventTarget?"), + nullable_ExportSvg: findType("ExportSvg?"), + nullable_Extension: findType("Extension?"), + nullable_Future_Null: findType("Future?"), + nullable_Gamepad: findType("Gamepad?"), + nullable_Geometry: findType("Geometry?"), + nullable_GridPosition: findType("GridPosition?"), + nullable_Helix: findType("Helix?"), + nullable_HelixGroup: findType("HelixGroup?"), + nullable_HelixGroupMove: findType("HelixGroupMove?"), + nullable_JsBackedMap: findType("JsBackedMap?"), + nullable_JsMap: findType("JsMap?"), + nullable_Linker: findType("Linker?"), + nullable_ListBuilder_BuiltList_int: findType("ListBuilder>?"), + nullable_ListBuilder_ContextMenuItem: findType("ListBuilder?"), + nullable_ListBuilder_Crossover: findType("ListBuilder?"), + nullable_ListBuilder_DNAEndMove: findType("ListBuilder?"), + nullable_ListBuilder_DNAExtensionMove: findType("ListBuilder?"), + nullable_ListBuilder_DialogItem: findType("ListBuilder?"), + nullable_ListBuilder_Domain: findType("ListBuilder?"), + nullable_ListBuilder_Extension: findType("ListBuilder?"), + nullable_ListBuilder_Insertion: findType("ListBuilder?"), + nullable_ListBuilder_Loopout: findType("ListBuilder?"), + nullable_ListBuilder_MouseoverData: findType("ListBuilder?"), + nullable_ListBuilder_MouseoverParams: findType("ListBuilder?"), + nullable_ListBuilder_Point_double: findType("ListBuilder>?"), + nullable_ListBuilder_SelectModeChoice: findType("ListBuilder?"), + nullable_ListBuilder_Selectable: findType("ListBuilder?"), + nullable_ListBuilder_SelectableModification3Prime: findType("ListBuilder?"), + nullable_ListBuilder_SelectableModification5Prime: findType("ListBuilder?"), + nullable_ListBuilder_SelectableModificationInternal: findType("ListBuilder?"), + nullable_ListBuilder_SelectableTrait: findType("ListBuilder?"), + nullable_ListBuilder_Strand: findType("ListBuilder?"), + nullable_ListBuilder_String: findType("ListBuilder?"), + nullable_ListBuilder_Substrand: findType("ListBuilder?"), + nullable_ListBuilder_UndoRedoItem: findType("ListBuilder?"), + nullable_ListBuilder_UndoableAction: findType("ListBuilder?"), + nullable_ListBuilder_int: findType("ListBuilder?"), + nullable_List_DialogItem: findType("List?"), + nullable_List_List_int: findType("List>?"), + nullable_List_dynamic: findType("List<@>?"), + nullable_List_int: findType("List?"), + nullable_Logger: findType("Logger?"), + nullable_MapBuilder_String_HelixGroup: findType("MapBuilder?"), + nullable_MapBuilder_String_dynamic: findType("MapBuilder?"), + nullable_MapBuilder_int_Helix: findType("MapBuilder?"), + nullable_MapBuilder_int_ModificationInternal: findType("MapBuilder?"), + nullable_MapBuilder_int_Strand: findType("MapBuilder?"), + nullable_MapBuilder_int_int: findType("MapBuilder?"), + nullable_MapBuilder_of_int_and_BuiltList_int: findType("MapBuilder>?"), + nullable_MapBuilder_of_int_and_BuiltMap_of_int_and_BuiltList_String: findType("MapBuilder>>?"), + nullable_Map_String_String: findType("Map?"), + nullable_Map_String_dynamic: findType("Map?"), + nullable_Map_dynamic_dynamic: findType("Map<@,@>?"), + nullable_Map_int_ModificationInternal: findType("Map?"), + nullable_Map_of_Strand_and_List_Domain: findType("Map>?"), + nullable_Map_of_int_and_List_Domain: findType("Map>?"), + nullable_Modification3Prime: findType("Modification3Prime?"), + nullable_Modification5Prime: findType("Modification5Prime?"), + nullable_ModificationInternal: findType("ModificationInternal?"), + nullable_Object: findType("Object?"), + nullable_Object_Function: findType("Object?()"), + nullable_Point_double: findType("Point?"), + nullable_Point_num: findType("Point?"), + nullable_PotentialCrossover: findType("PotentialCrossover?"), + nullable_ReactComponentFactoryProxy: findType("ReactComponentFactoryProxy?"), + nullable_RectElement: findType("RectElement?"), + nullable_Result_XmlEvent: findType("Result?"), + nullable_SelectionBox: findType("SelectionBox?"), + nullable_SelectionRope: findType("SelectionRope?"), + nullable_SetBuilder_EditModeChoice: findType("SetBuilder?"), + nullable_SetBuilder_SelectModeChoice: findType("SetBuilder?"), + nullable_SetBuilder_Selectable: findType("SetBuilder?"), + nullable_SetBuilder_Strand: findType("SetBuilder?"), + nullable_SetBuilder_String: findType("SetBuilder?"), + nullable_SetBuilder_int: findType("SetBuilder?"), + nullable_StackTrace: findType("StackTrace?"), + nullable_Strand: findType("Strand?"), + nullable_StrandCreation: findType("StrandCreation?"), + nullable_StrandOrder: findType("StrandOrder?"), + nullable_StrandsMove: findType("StrandsMove?"), + nullable_StreamController_DraggableEvent: findType("StreamController?"), + nullable_String: findType("String?"), + nullable_String_Function_Match: findType("String(Match)?"), + nullable_String_Function_String: findType("String(String)?"), + nullable_Substrand: findType("Substrand?"), + nullable_XmlEvent: findType("XmlEvent?"), + nullable__DelayedEvent_dynamic: findType("_DelayedEvent<@>?"), + nullable__FutureListener_dynamic_dynamic: findType("_FutureListener<@,@>?"), + nullable__Highlight: findType("_Highlight?"), + nullable__LinkedHashSetCell: findType("_LinkedHashSetCell?"), + nullable_bool_Function_Object: findType("bool(Object)?"), + nullable_double: findType("double?"), + nullable_dynamic_Function: findType("@()?"), + nullable_dynamic_Function_BuiltList_DialogItem: findType("@(BuiltList)?"), + nullable_dynamic_Function_Event: findType("@(Event)?"), + nullable_dynamic_Function_Map_dynamic_dynamic: findType("@(Map<@,@>)?"), + nullable_dynamic_Function_SyntheticFormEvent: findType("@(SyntheticFormEvent)?"), + nullable_dynamic_Function_SyntheticMouseEvent: findType("@(SyntheticMouseEvent)?"), + nullable_dynamic_Function_SyntheticPointerEvent: findType("@(SyntheticPointerEvent)?"), + nullable_dynamic_Function_dynamic_ReactErrorInfo: findType("@(@,ReactErrorInfo)?"), + nullable_int_Function_Element_Element: findType("int(Element,Element)?"), + nullable_int_Function_Node_Node: findType("int(Node,Node)?"), + nullable_nullable_Future_dynamic_Function: findType("Future<@>?()?"), + nullable_nullable_Object_Function_2_dynamic_and_nullable_ReactErrorInfo: findType("Object?(@,ReactErrorInfo?)?"), + nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object: findType("Object?(Object?,Object?)?"), + nullable_nullable_Object_Function_dynamic: findType("Object?(@)?"), + nullable_num_Function: findType("num()?"), + nullable_void_Function: findType("~()?"), + nullable_void_Function_AddressBuilder: findType("~(AddressBuilder)?"), + nullable_void_Function_AppStateBuilder: findType("~(AppStateBuilder)?"), + nullable_void_Function_AppUIStateBuilder: findType("~(AppUIStateBuilder)?"), + nullable_void_Function_AppUIStateStorablesBuilder: findType("~(AppUIStateStorablesBuilder)?"), + nullable_void_Function_AssignDNAComplementFromBoundStrandsBuilder: findType("~(AssignDNAComplementFromBoundStrandsBuilder)?"), + nullable_void_Function_AssignDomainNameComplementFromBoundDomainsBuilder: findType("~(AssignDomainNameComplementFromBoundDomainsBuilder)?"), + nullable_void_Function_AssignDomainNameComplementFromBoundStrandsBuilder: findType("~(AssignDomainNameComplementFromBoundStrandsBuilder)?"), + nullable_void_Function_AutoPasteInitiateBuilder: findType("~(AutoPasteInitiateBuilder)?"), + nullable_void_Function_AutobreakBuilder: findType("~(AutobreakBuilder)?"), + nullable_void_Function_AutostapleBuilder: findType("~(AutostapleBuilder)?"), + nullable_void_Function_BatchActionBuilder: findType("~(BatchActionBuilder)?"), + nullable_void_Function_ContextMenuHideBuilder: findType("~(ContextMenuHideBuilder)?"), + nullable_void_Function_ContextMenuItemBuilder: findType("~(ContextMenuItemBuilder)?"), + nullable_void_Function_ConvertCrossoverToLoopoutBuilder: findType("~(ConvertCrossoverToLoopoutBuilder)?"), + nullable_void_Function_ConvertCrossoversToLoopoutsBuilder: findType("~(ConvertCrossoversToLoopoutsBuilder)?"), + nullable_void_Function_CopyInfoBuilder: findType("~(CopyInfoBuilder)?"), + nullable_void_Function_CopySelectedStandsToClipboardImageBuilder: findType("~(CopySelectedStandsToClipboardImageBuilder)?"), + nullable_void_Function_CopySelectedStrandsBuilder: findType("~(CopySelectedStrandsBuilder)?"), + nullable_void_Function_CrossoverBuilder: findType("~(CrossoverBuilder)?"), + nullable_void_Function_DNAAssignOptionsBuilder: findType("~(DNAAssignOptionsBuilder)?"), + nullable_void_Function_DNAEndBuilder: findType("~(DNAEndBuilder)?"), + nullable_void_Function_DNAEndsMoveBuilder: findType("~(DNAEndsMoveBuilder)?"), + nullable_void_Function_DNAExtensionsMoveBuilder: findType("~(DNAExtensionsMoveBuilder)?"), + nullable_void_Function_DeleteAllSelectedBuilder: findType("~(DeleteAllSelectedBuilder)?"), + nullable_void_Function_DeletionAddBuilder: findType("~(DeletionAddBuilder)?"), + nullable_void_Function_DeletionRemoveBuilder: findType("~(DeletionRemoveBuilder)?"), + nullable_void_Function_DesignBuilder: findType("~(DesignBuilder)?"), + nullable_void_Function_DesignSideRotationDataBuilder: findType("~(DesignSideRotationDataBuilder)?"), + nullable_void_Function_DesignSideRotationParamsBuilder: findType("~(DesignSideRotationParamsBuilder)?"), + nullable_void_Function_DialogBuilder: findType("~(DialogBuilder)?"), + nullable_void_Function_DialogCheckboxBuilder: findType("~(DialogCheckboxBuilder)?"), + nullable_void_Function_DialogFloatBuilder: findType("~(DialogFloatBuilder)?"), + nullable_void_Function_DialogHideBuilder: findType("~(DialogHideBuilder)?"), + nullable_void_Function_DialogIntegerBuilder: findType("~(DialogIntegerBuilder)?"), + nullable_void_Function_DialogLabelBuilder: findType("~(DialogLabelBuilder)?"), + nullable_void_Function_DialogLinkBuilder: findType("~(DialogLinkBuilder)?"), + nullable_void_Function_DialogRadioBuilder: findType("~(DialogRadioBuilder)?"), + nullable_void_Function_DialogTextAreaBuilder: findType("~(DialogTextAreaBuilder)?"), + nullable_void_Function_DialogTextBuilder: findType("~(DialogTextBuilder)?"), + nullable_void_Function_DisablePngCachingDnaSequencesSetBuilder: findType("~(DisablePngCachingDnaSequencesSetBuilder)?"), + nullable_void_Function_DisplayMajorTicksOffsetsSetBuilder: findType("~(DisplayMajorTicksOffsetsSetBuilder)?"), + nullable_void_Function_DisplayReverseDNARightSideUpSetBuilder: findType("~(DisplayReverseDNARightSideUpSetBuilder)?"), + nullable_void_Function_DomainBuilder: findType("~(DomainBuilder)?"), + nullable_void_Function_DomainsMoveBuilder: findType("~(DomainsMoveBuilder)?"), + nullable_void_Function_DomainsMoveStopBuilder: findType("~(DomainsMoveStopBuilder)?"), + nullable_void_Function_EditModeToggleBuilder: findType("~(EditModeToggleBuilder)?"), + nullable_void_Function_ErrorMessageSetBuilder: findType("~(ErrorMessageSetBuilder)?"), + nullable_void_Function_Event: findType("~(Event)?"), + nullable_void_Function_ExampleDesignsBuilder: findType("~(ExampleDesignsBuilder)?"), + nullable_void_Function_ExportCanDoDNABuilder: findType("~(ExportCanDoDNABuilder)?"), + nullable_void_Function_ExportDNABuilder: findType("~(ExportDNABuilder)?"), + nullable_void_Function_ExportSvgTextSeparatelySetBuilder: findType("~(ExportSvgTextSeparatelySetBuilder)?"), + nullable_void_Function_ExtensionAddBuilder: findType("~(ExtensionAddBuilder)?"), + nullable_void_Function_ExtensionBuilder: findType("~(ExtensionBuilder)?"), + nullable_void_Function_ExtensionDisplayLengthAngleSetBuilder: findType("~(ExtensionDisplayLengthAngleSetBuilder)?"), + nullable_void_Function_ExtensionNumBasesChangeBuilder: findType("~(ExtensionNumBasesChangeBuilder)?"), + nullable_void_Function_ExtensionsNumBasesChangeBuilder: findType("~(ExtensionsNumBasesChangeBuilder)?"), + nullable_void_Function_GeometryBuilder: findType("~(GeometryBuilder)?"), + nullable_void_Function_GridPositionBuilder: findType("~(GridPositionBuilder)?"), + nullable_void_Function_HelicesPositionsSetBasedOnCrossoversBuilder: findType("~(HelicesPositionsSetBasedOnCrossoversBuilder)?"), + nullable_void_Function_HelixAddBuilder: findType("~(HelixAddBuilder)?"), + nullable_void_Function_HelixBuilder: findType("~(HelixBuilder)?"), + nullable_void_Function_HelixGroupBuilder: findType("~(HelixGroupBuilder)?"), + nullable_void_Function_HelixGroupMoveBuilder: findType("~(HelixGroupMoveBuilder)?"), + nullable_void_Function_HelixGroupMoveStopBuilder: findType("~(HelixGroupMoveStopBuilder)?"), + nullable_void_Function_HelixIdxsChangeBuilder: findType("~(HelixIdxsChangeBuilder)?"), + nullable_void_Function_HelixMaxOffsetSetByDomainsAllBuilder: findType("~(HelixMaxOffsetSetByDomainsAllBuilder)?"), + nullable_void_Function_HelixMaxOffsetSetByDomainsAllSameMaxBuilder: findType("~(HelixMaxOffsetSetByDomainsAllSameMaxBuilder)?"), + nullable_void_Function_HelixMinOffsetSetByDomainsAllBuilder: findType("~(HelixMinOffsetSetByDomainsAllBuilder)?"), + nullable_void_Function_HelixRemoveAllSelectedBuilder: findType("~(HelixRemoveAllSelectedBuilder)?"), + nullable_void_Function_HelixRemoveBuilder: findType("~(HelixRemoveBuilder)?"), + nullable_void_Function_HelixRollSetAtOtherBuilder: findType("~(HelixRollSetAtOtherBuilder)?"), + nullable_void_Function_HelixSelectBuilder: findType("~(HelixSelectBuilder)?"), + nullable_void_Function_HelixSelectionsAdjustBuilder: findType("~(HelixSelectionsAdjustBuilder)?"), + nullable_void_Function_HelixSelectionsClearBuilder: findType("~(HelixSelectionsClearBuilder)?"), + nullable_void_Function_InlineInsertionsDeletionsBuilder: findType("~(InlineInsertionsDeletionsBuilder)?"), + nullable_void_Function_InsertionAddBuilder: findType("~(InsertionAddBuilder)?"), + nullable_void_Function_InsertionBuilder: findType("~(InsertionBuilder)?"), + nullable_void_Function_InsertionLengthChangeBuilder: findType("~(InsertionLengthChangeBuilder)?"), + nullable_void_Function_InsertionRemoveBuilder: findType("~(InsertionRemoveBuilder)?"), + nullable_void_Function_InsertionsLengthChangeBuilder: findType("~(InsertionsLengthChangeBuilder)?"), + nullable_void_Function_JoinStrandsByMultipleCrossoversBuilder: findType("~(JoinStrandsByMultipleCrossoversBuilder)?"), + nullable_void_Function_LineBuilder: findType("~(LineBuilder)?"), + nullable_void_Function_LoadDNAFileBuilder: findType("~(LoadDNAFileBuilder)?"), + nullable_void_Function_LoadDnaSequenceImageUriBuilder: findType("~(LoadDnaSequenceImageUriBuilder)?"), + nullable_void_Function_LocalStorageDesignChoiceBuilder: findType("~(LocalStorageDesignChoiceBuilder)?"), + nullable_void_Function_LoopoutBuilder: findType("~(LoopoutBuilder)?"), + nullable_void_Function_LoopoutLengthChangeBuilder: findType("~(LoopoutLengthChangeBuilder)?"), + nullable_void_Function_LoopoutsLengthChangeBuilder: findType("~(LoopoutsLengthChangeBuilder)?"), + nullable_void_Function_MajorTickOffsetFontSizeSetBuilder: findType("~(MajorTickOffsetFontSizeSetBuilder)?"), + nullable_void_Function_MajorTickWidthFontSizeSetBuilder: findType("~(MajorTickWidthFontSizeSetBuilder)?"), + nullable_void_Function_ManualPasteInitiateBuilder: findType("~(ManualPasteInitiateBuilder)?"), + nullable_void_Function_Modification3PrimeBuilder: findType("~(Modification3PrimeBuilder)?"), + nullable_void_Function_Modification5PrimeBuilder: findType("~(Modification5PrimeBuilder)?"), + nullable_void_Function_ModificationFontSizeSetBuilder: findType("~(ModificationFontSizeSetBuilder)?"), + nullable_void_Function_ModificationInternalBuilder: findType("~(ModificationInternalBuilder)?"), + nullable_void_Function_Modifications3PrimeEditBuilder: findType("~(Modifications3PrimeEditBuilder)?"), + nullable_void_Function_Modifications5PrimeEditBuilder: findType("~(Modifications5PrimeEditBuilder)?"), + nullable_void_Function_ModificationsInternalEditBuilder: findType("~(ModificationsInternalEditBuilder)?"), + nullable_void_Function_MouseGridPositionSideClearBuilder: findType("~(MouseGridPositionSideClearBuilder)?"), + nullable_void_Function_MouseGridPositionSideUpdateBuilder: findType("~(MouseGridPositionSideUpdateBuilder)?"), + nullable_void_Function_MousePositionSideClearBuilder: findType("~(MousePositionSideClearBuilder)?"), + nullable_void_Function_MouseoverDataBuilder: findType("~(MouseoverDataBuilder)?"), + nullable_void_Function_MouseoverDataClearBuilder: findType("~(MouseoverDataClearBuilder)?"), + nullable_void_Function_MouseoverParamsBuilder: findType("~(MouseoverParamsBuilder)?"), + nullable_void_Function_NewDesignSetBuilder: findType("~(NewDesignSetBuilder)?"), + nullable_void_Function_OxdnaExportBuilder: findType("~(OxdnaExportBuilder)?"), + nullable_void_Function_OxviewExportBuilder: findType("~(OxviewExportBuilder)?"), + nullable_void_Function_OxviewShowSetBuilder: findType("~(OxviewShowSetBuilder)?"), + nullable_void_Function_Position3DBuilder: findType("~(Position3DBuilder)?"), + nullable_void_Function_PotentialCrossoverBuilder: findType("~(PotentialCrossoverBuilder)?"), + nullable_void_Function_PotentialCrossoverRemoveBuilder: findType("~(PotentialCrossoverRemoveBuilder)?"), + nullable_void_Function_PrepareToLoadDNAFileBuilder: findType("~(PrepareToLoadDNAFileBuilder)?"), + nullable_void_Function_RedoBuilder: findType("~(RedoBuilder)?"), + nullable_void_Function_RetainStrandColorOnSelectionSetBuilder: findType("~(RetainStrandColorOnSelectionSetBuilder)?"), + nullable_void_Function_SaveDNAFileBuilder: findType("~(SaveDNAFileBuilder)?"), + nullable_void_Function_SelectAllSelectableBuilder: findType("~(SelectAllSelectableBuilder)?"), + nullable_void_Function_SelectBuilder: findType("~(SelectBuilder)?"), + nullable_void_Function_SelectModeStateBuilder: findType("~(SelectModeStateBuilder)?"), + nullable_void_Function_SelectModeToggleBuilder: findType("~(SelectModeToggleBuilder)?"), + nullable_void_Function_SelectablesStoreBuilder: findType("~(SelectablesStoreBuilder)?"), + nullable_void_Function_SelectionBoxBuilder: findType("~(SelectionBoxBuilder)?"), + nullable_void_Function_SelectionBoxCreateBuilder: findType("~(SelectionBoxCreateBuilder)?"), + nullable_void_Function_SelectionBoxRemoveBuilder: findType("~(SelectionBoxRemoveBuilder)?"), + nullable_void_Function_SelectionBoxSizeChangeBuilder: findType("~(SelectionBoxSizeChangeBuilder)?"), + nullable_void_Function_SelectionRopeBuilder: findType("~(SelectionRopeBuilder)?"), + nullable_void_Function_SelectionsClearBuilder: findType("~(SelectionsClearBuilder)?"), + nullable_void_Function_SetAppUIStateStorableBuilder: findType("~(SetAppUIStateStorableBuilder)?"), + nullable_void_Function_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: findType("~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder)?"), + nullable_void_Function_SetDisplayMajorTickWidthsAllHelicesBuilder: findType("~(SetDisplayMajorTickWidthsAllHelicesBuilder)?"), + nullable_void_Function_SetDisplayMajorTickWidthsBuilder: findType("~(SetDisplayMajorTickWidthsBuilder)?"), + nullable_void_Function_SetExportSvgActionDelayedForPngCacheBuilder: findType("~(SetExportSvgActionDelayedForPngCacheBuilder)?"), + nullable_void_Function_SetIsZoomAboveThresholdBuilder: findType("~(SetIsZoomAboveThresholdBuilder)?"), + nullable_void_Function_SetModificationDisplayConnectorBuilder: findType("~(SetModificationDisplayConnectorBuilder)?"), + nullable_void_Function_SetOnlyDisplaySelectedHelicesBuilder: findType("~(SetOnlyDisplaySelectedHelicesBuilder)?"), + nullable_void_Function_ShowDNASetBuilder: findType("~(ShowDNASetBuilder)?"), + nullable_void_Function_ShowDomainLabelsSetBuilder: findType("~(ShowDomainLabelsSetBuilder)?"), + nullable_void_Function_ShowDomainNameMismatchesSetBuilder: findType("~(ShowDomainNameMismatchesSetBuilder)?"), + nullable_void_Function_ShowDomainNamesSetBuilder: findType("~(ShowDomainNamesSetBuilder)?"), + nullable_void_Function_ShowMismatchesSetBuilder: findType("~(ShowMismatchesSetBuilder)?"), + nullable_void_Function_ShowModificationsSetBuilder: findType("~(ShowModificationsSetBuilder)?"), + nullable_void_Function_ShowMouseoverDataSetBuilder: findType("~(ShowMouseoverDataSetBuilder)?"), + nullable_void_Function_ShowSliceBarSetBuilder: findType("~(ShowSliceBarSetBuilder)?"), + nullable_void_Function_ShowStrandLabelsSetBuilder: findType("~(ShowStrandLabelsSetBuilder)?"), + nullable_void_Function_ShowStrandNamesSetBuilder: findType("~(ShowStrandNamesSetBuilder)?"), + nullable_void_Function_ShowUnpairedInsertionDeletionsSetBuilder: findType("~(ShowUnpairedInsertionDeletionsSetBuilder)?"), + nullable_void_Function_SkipUndoBuilder: findType("~(SkipUndoBuilder)?"), + nullable_void_Function_SliceBarMoveStartBuilder: findType("~(SliceBarMoveStartBuilder)?"), + nullable_void_Function_SliceBarMoveStopBuilder: findType("~(SliceBarMoveStopBuilder)?"), + nullable_void_Function_SliceBarOffsetSetBuilder: findType("~(SliceBarOffsetSetBuilder)?"), + nullable_void_Function_StrandBuilder: findType("~(StrandBuilder)?"), + nullable_void_Function_StrandCreateStopBuilder: findType("~(StrandCreateStopBuilder)?"), + nullable_void_Function_StrandCreationBuilder: findType("~(StrandCreationBuilder)?"), + nullable_void_Function_StrandOrSubstrandColorPickerHideBuilder: findType("~(StrandOrSubstrandColorPickerHideBuilder)?"), + nullable_void_Function_StrandsMoveBuilder: findType("~(StrandsMoveBuilder)?"), + nullable_void_Function_StrandsMoveStopBuilder: findType("~(StrandsMoveStopBuilder)?"), + nullable_void_Function_SyntheticMouseEvent: findType("~(SyntheticMouseEvent)?"), + nullable_void_Function_SyntheticPointerEvent: findType("~(SyntheticPointerEvent)?"), + nullable_void_Function_ThrottledActionFastBuilder: findType("~(ThrottledActionFastBuilder)?"), + nullable_void_Function_ThrottledActionNonFastBuilder: findType("~(ThrottledActionNonFastBuilder)?"), + nullable_void_Function_UndoBuilder: findType("~(UndoBuilder)?"), + nullable_void_Function_UndoRedoBuilder: findType("~(UndoRedoBuilder)?"), + nullable_void_Function_UndoRedoItemBuilder: findType("~(UndoRedoItemBuilder)?"), + nullable_void_Function_VendorFieldsBuilder: findType("~(VendorFieldsBuilder)?"), + nullable_void_Function_legacy_BeforeUnloadEvent: findType("~(BeforeUnloadEvent*)?"), + nullable_void_Function_legacy_Event: findType("~(Event*)?"), + nullable_void_Function_legacy_KeyboardEvent: findType("~(KeyboardEvent*)?"), + nullable_void_Function_legacy_MouseEvent: findType("~(MouseEvent*)?"), + nullable_void_Function_legacy_ProgressEvent: findType("~(ProgressEvent*)?"), + nullable_void_Function_legacy_TouchEvent: findType("~(TouchEvent*)?"), + nullable_void_Function_nullable_List_DialogItem: findType("~(List?)?"), + num: findType("num"), + strand_bounds_status: findType("strand_bounds_status"), + void: findType("~"), + void_Function: findType("~()"), + void_Function_AddressBuilder: findType("~(AddressBuilder)"), + void_Function_AppStateBuilder: findType("~(AppStateBuilder)"), + void_Function_AppUIStateBuilder: findType("~(AppUIStateBuilder)"), + void_Function_AppUIStateStorablesBuilder: findType("~(AppUIStateStorablesBuilder)"), + void_Function_CopyInfoBuilder: findType("~(CopyInfoBuilder)"), + void_Function_DNAEndsMoveBuilder: findType("~(DNAEndsMoveBuilder)"), + void_Function_DNAExtensionsMoveBuilder: findType("~(DNAExtensionsMoveBuilder)"), + void_Function_DeletionAddBuilder: findType("~(DeletionAddBuilder)"), + void_Function_DesignBuilder: findType("~(DesignBuilder)"), + void_Function_DialogBuilder: findType("~(DialogBuilder)"), + void_Function_DialogCheckboxBuilder: findType("~(DialogCheckboxBuilder)"), + void_Function_DialogFloatBuilder: findType("~(DialogFloatBuilder)"), + void_Function_DialogIntegerBuilder: findType("~(DialogIntegerBuilder)"), + void_Function_DialogRadioBuilder: findType("~(DialogRadioBuilder)"), + void_Function_DialogTextAreaBuilder: findType("~(DialogTextAreaBuilder)"), + void_Function_DialogTextBuilder: findType("~(DialogTextBuilder)"), + void_Function_DomainBuilder: findType("~(DomainBuilder)"), + void_Function_DomainsMoveBuilder: findType("~(DomainsMoveBuilder)"), + void_Function_Element: findType("~(Element)"), + void_Function_ExampleDesignsBuilder: findType("~(ExampleDesignsBuilder)"), + void_Function_ExtensionBuilder: findType("~(ExtensionBuilder)"), + void_Function_GeometryBuilder: findType("~(GeometryBuilder)"), + void_Function_HelixBuilder: findType("~(HelixBuilder)"), + void_Function_HelixGroupBuilder: findType("~(HelixGroupBuilder)"), + void_Function_HelixGroupMoveBuilder: findType("~(HelixGroupMoveBuilder)"), + void_Function_InsertionAddBuilder: findType("~(InsertionAddBuilder)"), + void_Function_InsertionBuilder: findType("~(InsertionBuilder)"), + void_Function_Iterable_XmlNode: findType("~(Iterable)"), + void_Function_List_int: findType("~(List)"), + void_Function_LocalStorageDesignChoiceBuilder: findType("~(LocalStorageDesignChoiceBuilder)"), + void_Function_LoopoutBuilder: findType("~(LoopoutBuilder)"), + void_Function_Modification3PrimeBuilder: findType("~(Modification3PrimeBuilder)"), + void_Function_Modification5PrimeBuilder: findType("~(Modification5PrimeBuilder)"), + void_Function_ModificationInternalBuilder: findType("~(ModificationInternalBuilder)"), + void_Function_MouseoverDataBuilder: findType("~(MouseoverDataBuilder)"), + void_Function_Object: findType("~(Object)"), + void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), + void_Function_Position3DBuilder: findType("~(Position3DBuilder)"), + void_Function_PotentialCrossoverBuilder: findType("~(PotentialCrossoverBuilder)"), + void_Function_SelectModeStateBuilder: findType("~(SelectModeStateBuilder)"), + void_Function_SelectablesStoreBuilder: findType("~(SelectablesStoreBuilder)"), + void_Function_SelectionBoxBuilder: findType("~(SelectionBoxBuilder)"), + void_Function_SelectionRopeBuilder: findType("~(SelectionRopeBuilder)"), + void_Function_StrandBuilder: findType("~(StrandBuilder)"), + void_Function_StrandCreationBuilder: findType("~(StrandCreationBuilder)"), + void_Function_StrandsMoveBuilder: findType("~(StrandsMoveBuilder)"), + void_Function_String: findType("~(String)"), + void_Function_String_String: findType("~(String,String)"), + void_Function_String_dynamic: findType("~(String,@)"), + void_Function_Timer: findType("~(Timer)"), + void_Function_UndoRedoBuilder: findType("~(UndoRedoBuilder)"), + void_Function_VendorFieldsBuilder: findType("~(VendorFieldsBuilder)"), + void_Function_bool: findType("~(bool)"), + void_Function_nullable_Blob: findType("~(Blob?)") + }; + })(); + (function constants() { + var makeConstList = hunkHelpers.makeConstList; + B.AnchorElement_methods = A.AnchorElement.prototype; + B.BeforeUnloadEvent_methods = A.BeforeUnloadEvent.prototype; + B.BodyElement_methods = A.BodyElement.prototype; + B.CanvasElement_methods = A.CanvasElement.prototype; + B.CircleElement_methods = A.CircleElement.prototype; + B.CssStyleDeclaration_methods = A.CssStyleDeclaration.prototype; + B.CssStyleSheet_methods = A.CssStyleSheet.prototype; + B.DataTransfer_methods = A.DataTransfer.prototype; + B.DefsElement_methods = A.DefsElement.prototype; + B.DivElement_methods = A.DivElement.prototype; + B.DomImplementation_methods = A.DomImplementation.prototype; + B.DomPoint_methods = A.DomPoint.prototype; + B.FEGaussianBlurElement_methods = A.FEGaussianBlurElement.prototype; + B.FEMergeElement_methods = A.FEMergeElement.prototype; + B.FEMergeNodeElement_methods = A.FEMergeNodeElement.prototype; + B.FileList_methods = A.FileList.prototype; + B.FileReader_methods = A.FileReader.prototype; + B.FilterElement_methods = A.FilterElement.prototype; + B.GElement_methods = A.GElement.prototype; + B.HtmlDocument_methods = A.HtmlDocument.prototype; + B.HttpRequest_methods = A.HttpRequest.prototype; + B.IFrameElement_methods = A.IFrameElement.prototype; + B.ImageElement_methods = A.ImageElement.prototype; + B.Interceptor_methods = J.Interceptor.prototype; + B.JSArray_methods = J.JSArray.prototype; + B.JSBool_methods = J.JSBool.prototype; + B.JSInt_methods = J.JSInt.prototype; + B.JSNull_methods = J.JSNull.prototype; + B.JSNumber_methods = J.JSNumber.prototype; + B.JSString_methods = J.JSString.prototype; + B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; + B.JavaScriptObject_methods = J.JavaScriptObject.prototype; + B.KeyboardEvent_methods = A.KeyboardEvent.prototype; + B.NativeByteBuffer_methods = A.NativeByteBuffer.prototype; + B.NativeByteData_methods = A.NativeByteData.prototype; + B.NativeUint32List_methods = A.NativeUint32List.prototype; + B.NativeUint8List_methods = A.NativeUint8List.prototype; + B.NodeList_methods = A.NodeList.prototype; + B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; + B.Point_methods = A.Point0.prototype; + B.PreElement_methods = A.PreElement.prototype; + B.Storage_methods = A.Storage.prototype; + B.SvgSvgElement_methods = A.SvgSvgElement.prototype; + B.TextElement_methods = A.TextElement.prototype; + B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; + B.Window_methods = A.Window.prototype; + B._CssRuleList_methods = A._CssRuleList.prototype; + B.AsciiDecoder_false_127 = new A.AsciiDecoder(false, 127); + B.AsciiEncoder_127 = new A.AsciiEncoder(127); + B.BasePairDisplayType_lines = new A.BasePairDisplayType("lines"); + B.BasePairDisplayType_none = new A.BasePairDisplayType("none"); + B.BasePairDisplayType_rectangle = new A.BasePairDisplayType("rectangle"); + B.BlobType_0 = new A.BlobType("text"); + B.BlobType_1 = new A.BlobType("binary"); + B.BlobType_2 = new A.BlobType("image"); + B.BlobType_3 = new A.BlobType("excel"); + B.C__EmptyStream = new A._EmptyStream(A.findType("_EmptyStream*>")); + B.ByteStream__EmptyStream = new A.ByteStream(B.C__EmptyStream); + B.CONSTANT = new A.Instantiation1(A.math__max$closure(), type$.Instantiation1_legacy_int); + B.CONSTANT2 = new A.Instantiation1(A.math__min$closure(), type$.Instantiation1_legacy_int); + B.CONSTANT0 = new A.Instantiation1(A.failure_joiner__selectFarthest$closure(), A.findType("Instantiation1")); + B.CONSTANT1 = new A.Instantiation1(A.failure_joiner__selectFirst$closure(), A.findType("Instantiation1")); + B.C_AsciiCodec = new A.AsciiCodec(); + B.C_Base64Encoder = new A.Base64Encoder(); + B.C_Base64Codec = new A.Base64Codec(); + B.C_Base64Decoder = new A.Base64Decoder(); + B.C_Component2BridgeImpl = new A.Component2BridgeImpl(); + B.C_DefaultEquality = new A.DefaultEquality(A.findType("DefaultEquality<0&*>")); + B.C_DeepCollectionEquality = new A.DeepCollectionEquality(); + B.C_EmptyIterator = new A.EmptyIterator(A.findType("EmptyIterator<0&*>")); + B.C_Endian0 = new A.Endian(); + B.C_Endian = new A.Endian(); + B.C_HtmlEscapeMode = new A.HtmlEscapeMode(); + B.C_IntegerDivisionByZeroException = new A.IntegerDivisionByZeroException(); + B.C_JS_CONST = function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +}; + B.C_JS_CONST0 = function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +}; + B.C_JS_CONST6 = function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +}; + B.C_JS_CONST1 = function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +}; + B.C_JS_CONST2 = function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +}; + B.C_JS_CONST5 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +}; + B.C_JS_CONST4 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +}; + B.C_JS_CONST3 = function(hooks) { return hooks; } +; + B.C_JsonCodec = new A.JsonCodec(); + B.C_Latin1Codec = new A.Latin1Codec(); + B.C_NotSpecified = new A.NotSpecified(); + B.C_NotSpecified0 = new A.NotSpecified0(); + B.C_OutOfMemoryError = new A.OutOfMemoryError(); + B.C_SentinelValue = new A.SentinelValue(); + B.C_UiComponent2BridgeImpl = new A.UiComponent2BridgeImpl(); + B.C_Utf8Codec = new A.Utf8Codec(); + B.C_Utf8Encoder = new A.Utf8Encoder(); + B.C_WhitespaceCharPredicate = new A.WhitespaceCharPredicate(); + B.List_2EQ = A._setArrayType(makeConstList(["amp", "apos", "gt", "lt", "quot"]), type$.JSArray_legacy_String); + B.Map_2EUwe = new A.ConstantStringMap(5, {amp: "&", apos: "'", gt: ">", lt: "<", quot: '"'}, B.List_2EQ, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + B.C_XmlDefaultEntityMapping = new A.XmlDefaultEntityMapping(); + B.C__DelayedDone = new A._DelayedDone(); + B.C__Required = new A._Required(); + B.C__RootZone = new A._RootZone(); + B.C__StringStackTrace = new A._StringStackTrace(); + B.C__TrustedHtmlTreeSanitizer = new A._TrustedHtmlTreeSanitizer(); + B.ConstantCharPredicate_false = new A.ConstantCharPredicate(false); + B.ConstantCharPredicate_true = new A.ConstantCharPredicate(true); + B.DNAFileType_cadnano_file = new A.DNAFileType("cadnano_file"); + B.DNAFileType_scadnano_file = new A.DNAFileType("scadnano_file"); + B.DNASequencePredefined_M13p7249 = new A.DNASequencePredefined("M13p7249"); + B.DNASequencePredefined_M13p7560 = new A.DNASequencePredefined("M13p7560"); + B.DNASequencePredefined_M13p8064 = new A.DNASequencePredefined("M13p8064"); + B.DNASequencePredefined_M13p8634 = new A.DNASequencePredefined("M13p8634"); + B.DialogType_0i1 = new A.DialogType("select_all_with_same_as_selected"); + B.DialogType_2jN = new A.DialogType("set_extension_display_length_angle"); + B.DialogType_add_extension = new A.DialogType("add_extension"); + B.DialogType_add_modification = new A.DialogType("add_modification"); + B.DialogType_adjust_current_helix_group = new A.DialogType("adjust_current_helix_group"); + B.DialogType_adjust_geometric_parameters = new A.DialogType("adjust_geometric_parameters"); + B.DialogType_adjust_helix_indices = new A.DialogType("adjust_helix_indices"); + B.DialogType_assign_dna_sequence = new A.DialogType("assign_dna_sequence"); + B.DialogType_assign_plate_well = new A.DialogType("assign_plate_well"); + B.DialogType_assign_scale_purification = new A.DialogType("assign_scale_purification"); + B.DialogType_base_pair_display = new A.DialogType("base_pair_display"); + B.DialogType_choose_autobreak_parameters = new A.DialogType("choose_autobreak_parameters"); + B.DialogType_create_new_helix_group = new A.DialogType("create_new_helix_group"); + B.DialogType_edit_modification = new A.DialogType("edit_modification"); + B.DialogType_export_dna_sequences = new A.DialogType("export_dna_sequences"); + B.DialogType_load_example_dna_design = new A.DialogType("load_example_dna_design"); + B.DialogType_move_selected_helices_to_group = new A.DialogType("move_selected_helices_to_group"); + B.DialogType_remove_dna_sequence = new A.DialogType("remove_dna_sequence"); + B.DialogType_set_color = new A.DialogType("set_color"); + B.DialogType_set_domain_name = new A.DialogType("set_domain_name"); + B.DialogType_set_extension_name = new A.DialogType("set_extension_name"); + B.DialogType_set_extension_num_bases = new A.DialogType("set_extension_num_bases"); + B.DialogType_set_helix_grid_position = new A.DialogType("set_helix_grid_position"); + B.DialogType_set_helix_index = new A.DialogType("set_helix_index"); + B.DialogType_set_helix_maximum_offset = new A.DialogType("set_helix_maximum_offset"); + B.DialogType_set_helix_minimum_offset = new A.DialogType("set_helix_minimum_offset"); + B.DialogType_set_helix_position = new A.DialogType("set_helix_position"); + B.DialogType_set_helix_roll_degrees = new A.DialogType("set_helix_roll_degrees"); + B.DialogType_set_helix_tick_marks = new A.DialogType("set_helix_tick_marks"); + B.DialogType_set_insertion_length = new A.DialogType("set_insertion_length"); + B.DialogType_set_loopout_length = new A.DialogType("set_loopout_length"); + B.DialogType_set_loopout_name = new A.DialogType("set_loopout_name"); + B.DialogType_set_strand_label = new A.DialogType("set_strand_label"); + B.DialogType_set_strand_name = new A.DialogType("set_strand_name"); + B.DialogType_set_substrand_label = new A.DialogType("set_substrand_label"); + B.DisposableState_0 = new A.DisposableState("initialized"); + B.DisposableState_1 = new A.DisposableState("awaitingDisposal"); + B.DisposableState_2 = new A.DisposableState("disposing"); + B.DisposableState_3 = new A.DisposableState("disposed"); + B.DraggableComponent_0 = new A.DraggableComponent("main"); + B.DraggableComponent_1 = new A.DraggableComponent("side"); + B.Duration_0 = new A.Duration(0); + B.Duration_50000 = new A.Duration(50000); + B.EditModeChoice_deletion = new A.EditModeChoice("deletion"); + B.EditModeChoice_insertion = new A.EditModeChoice("insertion"); + B.EditModeChoice_ligate = new A.EditModeChoice("ligate"); + B.EditModeChoice_move_group = new A.EditModeChoice("move_group"); + B.EditModeChoice_nick = new A.EditModeChoice("nick"); + B.EditModeChoice_pencil = new A.EditModeChoice("pencil"); + B.EditModeChoice_rope_select = new A.EditModeChoice("rope_select"); + B.EditModeChoice_select = new A.EditModeChoice("select"); + B.ExportDNAFormat_csv = new A.ExportDNAFormat("csv"); + B.ExportDNAFormat_idt_bulk = new A.ExportDNAFormat("idt_bulk"); + B.ExportDNAFormat_idt_plates384 = new A.ExportDNAFormat("idt_plates384"); + B.ExportDNAFormat_idt_plates96 = new A.ExportDNAFormat("idt_plates96"); + B.ExportSvgType_0 = new A.ExportSvgType("main"); + B.ExportSvgType_1 = new A.ExportSvgType("side"); + B.ExportSvgType_2 = new A.ExportSvgType("both"); + B.ExportSvgType_3 = new A.ExportSvgType("selected"); + B.Type_BuiltList_iTR = A.typeLiteral("BuiltList<@>"); + B.Type_Strand_CKH = A.typeLiteral("Strand"); + B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_legacy_FullType); + B.FullType_w0x = new A.FullType(B.Type_Strand_CKH, B.List_empty5, false); + B.List_AyI0 = A._setArrayType(makeConstList([B.FullType_w0x]), type$.JSArray_legacy_FullType); + B.FullType_2No = new A.FullType(B.Type_BuiltList_iTR, B.List_AyI0, false); + B.Type_BuiltSet_fcN = A.typeLiteral("BuiltSet<@>"); + B.Type_SelectModeChoice_a75 = A.typeLiteral("SelectModeChoice"); + B.FullType_gg40 = new A.FullType(B.Type_SelectModeChoice_a75, B.List_empty5, false); + B.List_dEZ = A._setArrayType(makeConstList([B.FullType_gg40]), type$.JSArray_legacy_FullType); + B.FullType_2aQ = new A.FullType(B.Type_BuiltSet_fcN, B.List_dEZ, false); + B.Type_Substrand_wOi = A.typeLiteral("Substrand"); + B.FullType_S4t = new A.FullType(B.Type_Substrand_wOi, B.List_empty5, false); + B.List_wsa = A._setArrayType(makeConstList([B.FullType_S4t]), type$.JSArray_legacy_FullType); + B.FullType_3HJ = new A.FullType(B.Type_BuiltList_iTR, B.List_wsa, false); + B.Type_Action_omH = A.typeLiteral("Action"); + B.FullType_3lI = new A.FullType(B.Type_Action_omH, B.List_empty5, false); + B.Type_int_tHn = A.typeLiteral("int"); + B.FullType_kjq = new A.FullType(B.Type_int_tHn, B.List_empty5, false); + B.List_omH = A._setArrayType(makeConstList([B.FullType_kjq]), type$.JSArray_legacy_FullType); + B.FullType_4QF0 = new A.FullType(B.Type_BuiltList_iTR, B.List_omH, false); + B.Type_BuiltMap_qd4 = A.typeLiteral("BuiltMap<@,@>"); + B.Type_String_k8F = A.typeLiteral("String"); + B.FullType_h8g = new A.FullType(B.Type_String_k8F, B.List_empty5, false); + B.List_CVN = A._setArrayType(makeConstList([B.FullType_h8g]), type$.JSArray_legacy_FullType); + B.FullType_6m4 = new A.FullType(B.Type_BuiltList_iTR, B.List_CVN, false); + B.List_YaH = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_6m4]), type$.JSArray_legacy_FullType); + B.FullType_vFp = new A.FullType(B.Type_BuiltMap_qd4, B.List_YaH, false); + B.List_yhx = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_vFp]), type$.JSArray_legacy_FullType); + B.FullType_4QF = new A.FullType(B.Type_BuiltMap_qd4, B.List_yhx, false); + B.Type_BuiltListMultimap_2Mt = A.typeLiteral("BuiltListMultimap<@,@>"); + B.Type_Object_xQ6 = A.typeLiteral("Object"); + B.FullType_1MH = new A.FullType(B.Type_Object_xQ6, B.List_empty5, false); + B.List_a1A = A._setArrayType(makeConstList([B.FullType_1MH, B.FullType_1MH]), type$.JSArray_legacy_FullType); + B.FullType_4Wf = new A.FullType(B.Type_BuiltListMultimap_2Mt, B.List_a1A, false); + B.List_yym = A._setArrayType(makeConstList([B.FullType_1MH]), type$.JSArray_legacy_FullType); + B.FullType_4e8 = new A.FullType(B.Type_BuiltSet_fcN, B.List_yym, false); + B.Type_SelectModeState_qx4 = A.typeLiteral("SelectModeState"); + B.FullType_6ha = new A.FullType(B.Type_SelectModeState_qx4, B.List_empty5, false); + B.Type_DNAFileType_bQh = A.typeLiteral("DNAFileType"); + B.FullType_8L0 = new A.FullType(B.Type_DNAFileType_bQh, B.List_empty5, false); + B.Type_ContextMenuItem_c0h = A.typeLiteral("ContextMenuItem"); + B.FullType_gQA = new A.FullType(B.Type_ContextMenuItem_c0h, B.List_empty5, false); + B.List_qYY = A._setArrayType(makeConstList([B.FullType_gQA]), type$.JSArray_legacy_FullType); + B.FullType_91n = new A.FullType(B.Type_BuiltList_iTR, B.List_qYY, false); + B.Type_ExportSvgType_QBc = A.typeLiteral("ExportSvgType"); + B.FullType_A0M = new A.FullType(B.Type_ExportSvgType_QBc, B.List_empty5, false); + B.Type_MouseoverParams_ArU = A.typeLiteral("MouseoverParams"); + B.FullType_YCE = new A.FullType(B.Type_MouseoverParams_ArU, B.List_empty5, false); + B.List_AJU = A._setArrayType(makeConstList([B.FullType_YCE]), type$.JSArray_legacy_FullType); + B.FullType_AFm = new A.FullType(B.Type_BuiltList_iTR, B.List_AJU, false); + B.FullType_AgZ = new A.FullType(B.Type_BuiltList_iTR, B.List_dEZ, false); + B.Type_ExportSvg_Gt8 = A.typeLiteral("ExportSvg"); + B.FullType_AqW = new A.FullType(B.Type_ExportSvg_Gt8, B.List_empty5, false); + B.Type_ExampleDesigns_cWU = A.typeLiteral("ExampleDesigns"); + B.FullType_Auo = new A.FullType(B.Type_ExampleDesigns_cWU, B.List_empty5, false); + B.Type_Dialog_eAf = A.typeLiteral("Dialog"); + B.FullType_Azp = new A.FullType(B.Type_Dialog_eAf, B.List_empty5, false); + B.Type_Insertion_Gxl = A.typeLiteral("Insertion"); + B.FullType_EKW = new A.FullType(B.Type_Insertion_Gxl, B.List_empty5, false); + B.Type_Crossover_w3m = A.typeLiteral("Crossover"); + B.FullType_jPf = new A.FullType(B.Type_Crossover_w3m, B.List_empty5, false); + B.List_vry = A._setArrayType(makeConstList([B.FullType_jPf]), type$.JSArray_legacy_FullType); + B.FullType_EOY = new A.FullType(B.Type_BuiltList_iTR, B.List_vry, false); + B.Type_MEg = A.typeLiteral("SelectableModificationInternal"); + B.FullType_MYu = new A.FullType(B.Type_MEg, B.List_empty5, false); + B.List_79j = A._setArrayType(makeConstList([B.FullType_MYu]), type$.JSArray_legacy_FullType); + B.FullType_Gat = new A.FullType(B.Type_BuiltList_iTR, B.List_79j, false); + B.Type_SelectionRope_0Rd = A.typeLiteral("SelectionRope"); + B.FullType_H1G = new A.FullType(B.Type_SelectionRope_0Rd, B.List_empty5, false); + B.Type_Loopout_AQw = A.typeLiteral("Loopout"); + B.FullType_Ttf = new A.FullType(B.Type_Loopout_AQw, B.List_empty5, false); + B.List_gzi = A._setArrayType(makeConstList([B.FullType_Ttf]), type$.JSArray_legacy_FullType); + B.FullType_H9I = new A.FullType(B.Type_BuiltList_iTR, B.List_gzi, false); + B.Type_Modification_WlM = A.typeLiteral("Modification"); + B.FullType_IvI = new A.FullType(B.Type_Modification_WlM, B.List_empty5, false); + B.Type_BasePairDisplayType_hjk = A.typeLiteral("BasePairDisplayType"); + B.FullType_K2v = new A.FullType(B.Type_BasePairDisplayType_hjk, B.List_empty5, false); + B.Type_DomainsMove_Js5 = A.typeLiteral("DomainsMove"); + B.FullType_KIf = new A.FullType(B.Type_DomainsMove_Js5, B.List_empty5, false); + B.Type_Address_WHr = A.typeLiteral("Address"); + B.FullType_KlG = new A.FullType(B.Type_Address_WHr, B.List_empty5, false); + B.Type_AddressDifference_p4P = A.typeLiteral("AddressDifference"); + B.FullType_KlG0 = new A.FullType(B.Type_AddressDifference_p4P, B.List_empty5, false); + B.Type_double_K1J = A.typeLiteral("double"); + B.FullType_MME = new A.FullType(B.Type_double_K1J, B.List_empty5, false); + B.FullType_MQk = new A.FullType(B.Type_BuiltSet_fcN, B.List_omH, false); + B.FullType_Mnt = new A.FullType(B.Type_BuiltSet_fcN, B.List_CVN, false); + B.Type_bool_lhE = A.typeLiteral("bool"); + B.FullType_MtR = new A.FullType(B.Type_bool_lhE, B.List_empty5, false); + B.Type_DialogType_Zuq = A.typeLiteral("DialogType"); + B.FullType_Npb = new A.FullType(B.Type_DialogType_Zuq, B.List_empty5, false); + B.Type_StrandCreation_A2Y = A.typeLiteral("StrandCreation"); + B.FullType_O92 = new A.FullType(B.Type_StrandCreation_A2Y, B.List_empty5, false); + B.Type_BuiltSetMultimap_9Fi = A.typeLiteral("BuiltSetMultimap<@,@>"); + B.FullType_Ofx = new A.FullType(B.Type_BuiltSetMultimap_9Fi, B.List_a1A, false); + B.Type_ExportDNAFormat_QK8 = A.typeLiteral("ExportDNAFormat"); + B.FullType_Otz = new A.FullType(B.Type_ExportDNAFormat_QK8, B.List_empty5, false); + B.Type_Modification3Prime_wsa = A.typeLiteral("Modification3Prime"); + B.FullType_Q1p0 = new A.FullType(B.Type_Modification3Prime_wsa, B.List_empty5, false); + B.Type_Modification5Prime_wsa = A.typeLiteral("Modification5Prime"); + B.FullType_Q1p = new A.FullType(B.Type_Modification5Prime_wsa, B.List_empty5, false); + B.Type_DNAEnd_s8p = A.typeLiteral("DNAEnd"); + B.FullType_QR4 = new A.FullType(B.Type_DNAEnd_s8p, B.List_empty5, false); + B.Type_Helix_cIf = A.typeLiteral("Helix"); + B.FullType_wEV = new A.FullType(B.Type_Helix_cIf, B.List_empty5, false); + B.List_Guj = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_wEV]), type$.JSArray_legacy_FullType); + B.FullType_Qc0 = new A.FullType(B.Type_BuiltMap_qd4, B.List_Guj, false); + B.Type_SelectableModification3Prime_sBE = A.typeLiteral("SelectableModification3Prime"); + B.FullType_chs = new A.FullType(B.Type_SelectableModification3Prime_sBE, B.List_empty5, false); + B.List_RHh = A._setArrayType(makeConstList([B.FullType_chs]), type$.JSArray_legacy_FullType); + B.FullType_SGU = new A.FullType(B.Type_BuiltList_iTR, B.List_RHh, false); + B.Type_SelectableModification5Prime_sBE = A.typeLiteral("SelectableModification5Prime"); + B.FullType_chs0 = new A.FullType(B.Type_SelectableModification5Prime_sBE, B.List_empty5, false); + B.List_RHh0 = A._setArrayType(makeConstList([B.FullType_chs0]), type$.JSArray_legacy_FullType); + B.FullType_SGU0 = new A.FullType(B.Type_BuiltList_iTR, B.List_RHh0, false); + B.Type_DNAEndMove_brX = A.typeLiteral("DNAEndMove"); + B.FullType_omH = new A.FullType(B.Type_DNAEndMove_brX, B.List_empty5, false); + B.List_HYo = A._setArrayType(makeConstList([B.FullType_omH]), type$.JSArray_legacy_FullType); + B.FullType_TgZ = new A.FullType(B.Type_BuiltList_iTR, B.List_HYo, false); + B.Type_DialogItem_qpY = A.typeLiteral("DialogItem"); + B.FullType_LtR = new A.FullType(B.Type_DialogItem_qpY, B.List_empty5, false); + B.List_oGx = A._setArrayType(makeConstList([B.FullType_LtR]), type$.JSArray_legacy_FullType); + B.FullType_UGn = new A.FullType(B.Type_BuiltList_iTR, B.List_oGx, false); + B.List_IoD = A._setArrayType(makeConstList([B.FullType_4QF0]), type$.JSArray_legacy_FullType); + B.FullType_UWS = new A.FullType(B.Type_BuiltList_iTR, B.List_IoD, false); + B.Type_LocalStorageDesignChoice_wMy = A.typeLiteral("LocalStorageDesignChoice"); + B.FullType_UeR = new A.FullType(B.Type_LocalStorageDesignChoice_wMy, B.List_empty5, false); + B.Type_DNAExtensionsMove_0My = A.typeLiteral("DNAExtensionsMove"); + B.FullType_Ugm = new A.FullType(B.Type_DNAExtensionsMove_0My, B.List_empty5, false); + B.Type_VendorFields_9Ml = A.typeLiteral("VendorFields"); + B.FullType_Unx = new A.FullType(B.Type_VendorFields_9Ml, B.List_empty5, false); + B.Type_StrandsMove_Icb = A.typeLiteral("StrandsMove"); + B.FullType_VSS = new A.FullType(B.Type_StrandsMove_Icb, B.List_empty5, false); + B.Type_Design_GVQ = A.typeLiteral("Design"); + B.FullType_WnR = new A.FullType(B.Type_Design_GVQ, B.List_empty5, false); + B.FullType_Y8O = new A.FullType(B.Type_BuiltSet_fcN, B.List_AyI0, false); + B.Type_UndoableAction_2n3 = A.typeLiteral("UndoableAction"); + B.FullType_fny = new A.FullType(B.Type_UndoableAction_2n3, B.List_empty5, false); + B.List_EEn = A._setArrayType(makeConstList([B.FullType_fny]), type$.JSArray_legacy_FullType); + B.FullType_YGD = new A.FullType(B.Type_BuiltList_iTR, B.List_EEn, false); + B.Type_ContextMenu_u5x = A.typeLiteral("ContextMenu"); + B.FullType_Z6u = new A.FullType(B.Type_ContextMenu_u5x, B.List_empty5, false); + B.Type_Point_Yua = A.typeLiteral("Point"); + B.List_6aG = A._setArrayType(makeConstList([B.FullType_MME]), type$.JSArray_legacy_FullType); + B.FullType_laS = new A.FullType(B.Type_Point_Yua, B.List_6aG, false); + B.List_IFE = A._setArrayType(makeConstList([B.FullType_laS]), type$.JSArray_legacy_FullType); + B.FullType_cGo = new A.FullType(B.Type_BuiltList_iTR, B.List_IFE, false); + B.Type_Position3D_kqK = A.typeLiteral("Position3D"); + B.FullType_cgM = new A.FullType(B.Type_Position3D_kqK, B.List_empty5, false); + B.Type_ModificationInternal_7vk = A.typeLiteral("ModificationInternal"); + B.FullType_eR6 = new A.FullType(B.Type_ModificationInternal_7vk, B.List_empty5, false); + B.List_qg40 = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_eR6]), type$.JSArray_legacy_FullType); + B.FullType_d1y = new A.FullType(B.Type_BuiltMap_qd4, B.List_qg40, false); + B.Type_Domain_ECn = A.typeLiteral("Domain"); + B.FullType_fnc = new A.FullType(B.Type_Domain_ECn, B.List_empty5, false); + B.List_8cK = A._setArrayType(makeConstList([B.FullType_fnc]), type$.JSArray_legacy_FullType); + B.FullType_dli = new A.FullType(B.Type_BuiltList_iTR, B.List_8cK, false); + B.FullType_eLJ = new A.FullType(B.Type_BuiltList_iTR, B.List_yym, false); + B.Type_DNAAssignOptions_Ub0 = A.typeLiteral("DNAAssignOptions"); + B.FullType_eRS = new A.FullType(B.Type_DNAAssignOptions_Ub0, B.List_empty5, false); + B.Type_EditModeChoice_hod = A.typeLiteral("EditModeChoice"); + B.FullType_eX4 = new A.FullType(B.Type_EditModeChoice_hod, B.List_empty5, false); + B.Type_Extension_dwE = A.typeLiteral("Extension"); + B.FullType_gT2 = new A.FullType(B.Type_Extension_dwE, B.List_empty5, false); + B.List_kyy = A._setArrayType(makeConstList([B.FullType_gT2]), type$.JSArray_legacy_FullType); + B.FullType_gg4 = new A.FullType(B.Type_BuiltList_iTR, B.List_kyy, false); + B.Type_DNAEndsMove_AKW = A.typeLiteral("DNAEndsMove"); + B.FullType_gg9 = new A.FullType(B.Type_DNAEndsMove_AKW, B.List_empty5, false); + B.Type_PotentialCrossover_RkP = A.typeLiteral("PotentialCrossover"); + B.FullType_gkc = new A.FullType(B.Type_PotentialCrossover_RkP, B.List_empty5, false); + B.List_izV = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_4QF0]), type$.JSArray_legacy_FullType); + B.FullType_i3t = new A.FullType(B.Type_BuiltMap_qd4, B.List_izV, false); + B.List_gkJ = A._setArrayType(makeConstList([B.FullType_EKW]), type$.JSArray_legacy_FullType); + B.FullType_i7r = new A.FullType(B.Type_BuiltList_iTR, B.List_gkJ, false); + B.Type_DNAExtensionMove_iVD = A.typeLiteral("DNAExtensionMove"); + B.FullType_GRA = new A.FullType(B.Type_DNAExtensionMove_iVD, B.List_empty5, false); + B.List_TLI = A._setArrayType(makeConstList([B.FullType_GRA]), type$.JSArray_legacy_FullType); + B.FullType_j5B = new A.FullType(B.Type_BuiltList_iTR, B.List_TLI, false); + B.Type_LocalStorageDesignOption_xgQ = A.typeLiteral("LocalStorageDesignOption"); + B.FullType_kOK = new A.FullType(B.Type_LocalStorageDesignOption_xgQ, B.List_empty5, false); + B.Type_StrandOrder_Jrj = A.typeLiteral("StrandOrder"); + B.FullType_kaS = new A.FullType(B.Type_StrandOrder_Jrj, B.List_empty5, false); + B.List_aLp = A._setArrayType(makeConstList([B.FullType_eX4]), type$.JSArray_legacy_FullType); + B.FullType_kiE = new A.FullType(B.Type_BuiltSet_fcN, B.List_aLp, false); + B.Type_Selectable_4i6 = A.typeLiteral("Selectable"); + B.FullType_kn0 = new A.FullType(B.Type_Selectable_4i6, B.List_empty5, false); + B.Type_HelixGroup_tsp = A.typeLiteral("HelixGroup"); + B.FullType_yfz = new A.FullType(B.Type_HelixGroup_tsp, B.List_empty5, false); + B.List_IQI = A._setArrayType(makeConstList([B.FullType_h8g, B.FullType_yfz]), type$.JSArray_legacy_FullType); + B.FullType_m48 = new A.FullType(B.Type_BuiltMap_qd4, B.List_IQI, false); + B.Type_SelectableTrait_SXj = A.typeLiteral("SelectableTrait"); + B.FullType_61T = new A.FullType(B.Type_SelectableTrait_SXj, B.List_empty5, false); + B.List_Eit = A._setArrayType(makeConstList([B.FullType_61T]), type$.JSArray_legacy_FullType); + B.FullType_mPa = new A.FullType(B.Type_BuiltList_iTR, B.List_Eit, false); + B.Type_CopyInfo_aTW = A.typeLiteral("CopyInfo"); + B.FullType_miO = new A.FullType(B.Type_CopyInfo_aTW, B.List_empty5, false); + B.FullType_null_List_empty_false = new A.FullType(null, B.List_empty5, false); + B.Type_HelixGroupMove_sE6 = A.typeLiteral("HelixGroupMove"); + B.FullType_oKF = new A.FullType(B.Type_HelixGroupMove_sE6, B.List_empty5, false); + B.List_kS5 = A._setArrayType(makeConstList([B.FullType_kn0]), type$.JSArray_legacy_FullType); + B.FullType_ox4 = new A.FullType(B.Type_BuiltList_iTR, B.List_kS5, false); + B.List_CyS = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_kjq]), type$.JSArray_legacy_FullType); + B.FullType_oyU = new A.FullType(B.Type_BuiltMap_qd4, B.List_CyS, false); + B.Type_GridPosition_IuH = A.typeLiteral("GridPosition"); + B.FullType_q96 = new A.FullType(B.Type_GridPosition_IuH, B.List_empty5, false); + B.Type_Geometry_CC0 = A.typeLiteral("Geometry"); + B.FullType_qNW = new A.FullType(B.Type_Geometry_CC0, B.List_empty5, false); + B.Type_Color_w6F = A.typeLiteral("Color"); + B.FullType_uHx = new A.FullType(B.Type_Color_w6F, B.List_empty5, false); + B.Type_SelectionBox_cdS = A.typeLiteral("SelectionBox"); + B.FullType_vfJ = new A.FullType(B.Type_SelectionBox_cdS, B.List_empty5, false); + B.List_MEl = A._setArrayType(makeConstList([B.FullType_kjq, B.FullType_w0x]), type$.JSArray_legacy_FullType); + B.FullType_vpC = new A.FullType(B.Type_BuiltMap_qd4, B.List_MEl, false); + B.Type_AppUIStateStorables_AS6 = A.typeLiteral("AppUIStateStorables"); + B.FullType_wEo = new A.FullType(B.Type_AppUIStateStorables_AS6, B.List_empty5, false); + B.FullType_wIv = new A.FullType(B.Type_BuiltMap_qd4, B.List_a1A, false); + B.Type_SelectablesStore_xd9 = A.typeLiteral("SelectablesStore"); + B.FullType_y5f = new A.FullType(B.Type_SelectablesStore_xd9, B.List_empty5, false); + B.Type_Linker_ypq = A.typeLiteral("Linker"); + B.FullType_yCn = new A.FullType(B.Type_Linker_ypq, B.List_empty5, false); + B.Type_MouseoverData_qTC = A.typeLiteral("MouseoverData"); + B.FullType_FKj = new A.FullType(B.Type_MouseoverData_qTC, B.List_empty5, false); + B.List_qrv = A._setArrayType(makeConstList([B.FullType_FKj]), type$.JSArray_legacy_FullType); + B.FullType_yLX = new A.FullType(B.Type_BuiltList_iTR, B.List_qrv, false); + B.Type_Grid_zSh = A.typeLiteral("Grid"); + B.FullType_yXb = new A.FullType(B.Type_Grid_zSh, B.List_empty5, false); + B.FullType_zrt = new A.FullType(B.Type_BuiltSet_fcN, B.List_kS5, false); + B.Grid_hex = new A.Grid("hex"); + B.Grid_honeycomb = new A.Grid("honeycomb"); + B.Grid_none = new A.Grid("none"); + B.Grid_square = new A.Grid("square"); + B.HexGridCoordinateSystem_0 = new A.HexGridCoordinateSystem("odd_r"); + B.HexGridCoordinateSystem_2 = new A.HexGridCoordinateSystem("odd_q"); + B.HexGridCoordinateSystem_3 = new A.HexGridCoordinateSystem("even_q"); + B.IterableEquality_DefaultEquality = new A.IterableEquality(B.C_DefaultEquality, A.findType("IterableEquality")); + B.JsonDecoder_null = new A.JsonDecoder(null); + B.JsonEncoder_null_null = new A.JsonEncoder(null, null); + B.Latin1Decoder_false_255 = new A.Latin1Decoder(false, 255); + B.Latin1Encoder_255 = new A.Latin1Encoder(255); + B.Level_INFO_800 = new A.Level("INFO", 800); + B.Level_SEVERE_1000 = new A.Level("SEVERE", 1000); + B.ListEquality_DefaultEquality = new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic); + B.ListEquality_DefaultEquality0 = new A.ListEquality(B.C_DefaultEquality, A.findType("ListEquality")); + B.Type_DomainsMoveCommit_IVQ = A.typeLiteral("DomainsMoveCommit"); + B.Type__$DomainsMoveCommit_46y = A.typeLiteral("_$DomainsMoveCommit"); + B.List_0 = A._setArrayType(makeConstList([B.Type_DomainsMoveCommit_IVQ, B.Type__$DomainsMoveCommit_46y]), type$.JSArray_legacy_Type); + B.Type_SelectAll_613 = A.typeLiteral("SelectAll"); + B.Type__$SelectAll_rJr = A.typeLiteral("_$SelectAll"); + B.List_00 = A._setArrayType(makeConstList([B.Type_SelectAll_613, B.Type__$SelectAll_rJr]), type$.JSArray_legacy_Type); + B.Type_InlineInsertionsDeletions_Pog = A.typeLiteral("InlineInsertionsDeletions"); + B.Type__$InlineInsertionsDeletions_oCX = A.typeLiteral("_$InlineInsertionsDeletions"); + B.List_07S = A._setArrayType(makeConstList([B.Type_InlineInsertionsDeletions_Pog, B.Type__$InlineInsertionsDeletions_oCX]), type$.JSArray_legacy_Type); + B.Type_MouseoverDataClear_YSW = A.typeLiteral("MouseoverDataClear"); + B.Type__$MouseoverDataClear_nuW = A.typeLiteral("_$MouseoverDataClear"); + B.List_07o = A._setArrayType(makeConstList([B.Type_MouseoverDataClear_YSW, B.Type__$MouseoverDataClear_nuW]), type$.JSArray_legacy_Type); + B.Type_gDL = A.typeLiteral("ExtensionDisplayLengthAngleSet"); + B.Type_TPi = A.typeLiteral("_$ExtensionDisplayLengthAngleSet"); + B.List_0RG = A._setArrayType(makeConstList([B.Type_gDL, B.Type_TPi]), type$.JSArray_legacy_Type); + B.List_0_0 = A._setArrayType(makeConstList([0, 0]), type$.JSArray_legacy_int); + B.Type_FGJ = A.typeLiteral("AssignDNAComplementFromBoundStrands"); + B.Type_PLc = A.typeLiteral("_$AssignDNAComplementFromBoundStrands"); + B.List_1YD = A._setArrayType(makeConstList([B.Type_FGJ, B.Type_PLc]), type$.JSArray_legacy_Type); + B.Type_HelixGroupMoveCreate_8eb = A.typeLiteral("HelixGroupMoveCreate"); + B.Type__$HelixGroupMoveCreate_sJO = A.typeLiteral("_$HelixGroupMoveCreate"); + B.List_1nx = A._setArrayType(makeConstList([B.Type_HelixGroupMoveCreate_8eb, B.Type__$HelixGroupMoveCreate_sJO]), type$.JSArray_legacy_Type); + B.Type_AutoPasteInitiate_cEX = A.typeLiteral("AutoPasteInitiate"); + B.Type__$AutoPasteInitiate_alm = A.typeLiteral("_$AutoPasteInitiate"); + B.List_1yH = A._setArrayType(makeConstList([B.Type_AutoPasteInitiate_cEX, B.Type__$AutoPasteInitiate_alm]), type$.JSArray_legacy_Type); + B.Type_ModificationsInternalEdit_M80 = A.typeLiteral("ModificationsInternalEdit"); + B.Type__$ModificationsInternalEdit_axI = A.typeLiteral("_$ModificationsInternalEdit"); + B.List_2BF = A._setArrayType(makeConstList([B.Type_ModificationsInternalEdit_M80, B.Type__$ModificationsInternalEdit_axI]), type$.JSArray_legacy_Type); + B.List_2Bc = A._setArrayType(makeConstList([8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8]), type$.JSArray_legacy_int); + B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_legacy_int); + B.Type_U05 = A.typeLiteral("HelixMaxOffsetSetByDomainsAll"); + B.Type_RkP = A.typeLiteral("_$HelixMaxOffsetSetByDomainsAll"); + B.List_2Vu = A._setArrayType(makeConstList([B.Type_U05, B.Type_RkP]), type$.JSArray_legacy_Type); + B.Type_Modifications5PrimeEdit_iag = A.typeLiteral("Modifications5PrimeEdit"); + B.Type__$Modifications5PrimeEdit_QGy = A.typeLiteral("_$Modifications5PrimeEdit"); + B.List_2Zi0 = A._setArrayType(makeConstList([B.Type_Modifications5PrimeEdit_iag, B.Type__$Modifications5PrimeEdit_QGy]), type$.JSArray_legacy_Type); + B.List_2Zi = A._setArrayType(makeConstList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"]), type$.JSArray_legacy_String); + B.Type__$Loopout_5Rp = A.typeLiteral("_$Loopout"); + B.List_2ad = A._setArrayType(makeConstList([B.Type_Loopout_AQw, B.Type__$Loopout_5Rp]), type$.JSArray_legacy_Type); + B.Type_ContextMenuHide_MQy = A.typeLiteral("ContextMenuHide"); + B.Type__$ContextMenuHide_4CA = A.typeLiteral("_$ContextMenuHide"); + B.List_2jN = A._setArrayType(makeConstList([B.Type_ContextMenuHide_MQy, B.Type__$ContextMenuHide_4CA]), type$.JSArray_legacy_Type); + B.Type_oqh = A.typeLiteral("RetainStrandColorOnSelectionSet"); + B.Type_C9B = A.typeLiteral("_$RetainStrandColorOnSelectionSet"); + B.List_3Qm = A._setArrayType(makeConstList([B.Type_oqh, B.Type_C9B]), type$.JSArray_legacy_Type); + B.Type_I6i = A.typeLiteral("DNAExtensionsMoveSetSelectedExtensionEnds"); + B.Type_OVZ = A.typeLiteral("_$DNAExtensionsMoveSetSelectedExtensionEnds"); + B.List_43h = A._setArrayType(makeConstList([B.Type_I6i, B.Type_OVZ]), type$.JSArray_legacy_Type); + B.Type_zPV = A.typeLiteral("JoinStrandsByMultipleCrossovers"); + B.Type_qEO = A.typeLiteral("_$JoinStrandsByMultipleCrossovers"); + B.List_43h0 = A._setArrayType(makeConstList([B.Type_zPV, B.Type_qEO]), type$.JSArray_legacy_Type); + B.Type_SelectableDeletion_eNF = A.typeLiteral("SelectableDeletion"); + B.Type__$SelectableDeletion_QHC = A.typeLiteral("_$SelectableDeletion"); + B.List_43h1 = A._setArrayType(makeConstList([B.Type_SelectableDeletion_eNF, B.Type__$SelectableDeletion_QHC]), type$.JSArray_legacy_Type); + B.Type_DialogRadio_oSr = A.typeLiteral("DialogRadio"); + B.Type__$DialogRadio_wy4 = A.typeLiteral("_$DialogRadio"); + B.List_4AN = A._setArrayType(makeConstList([B.Type_DialogRadio_oSr, B.Type__$DialogRadio_wy4]), type$.JSArray_legacy_Type); + B.Type_HelixRollSet_Sfm = A.typeLiteral("HelixRollSet"); + B.Type__$HelixRollSet_McD = A.typeLiteral("_$HelixRollSet"); + B.List_4QF = A._setArrayType(makeConstList([B.Type_HelixRollSet_Sfm, B.Type__$HelixRollSet_McD]), type$.JSArray_legacy_Type); + B.Type_anB = A.typeLiteral("ShowBasePairLinesWithMismatchesSet"); + B.Type_4uu = A.typeLiteral("_$ShowBasePairLinesWithMismatchesSet"); + B.List_4QF0 = A._setArrayType(makeConstList([B.Type_anB, B.Type_4uu]), type$.JSArray_legacy_Type); + B.List_4m4 = A._setArrayType(makeConstList(["", "", "Whichever of 5' or 3' appears first is used", "The \"top-left-most\" (smallest helix/smallest offset) domain is used for sorting,\nregardless of whether it is 5', 3', or internal."]), type$.JSArray_legacy_String); + B.Type_StrandCreateAdjustOffset_MWH = A.typeLiteral("StrandCreateAdjustOffset"); + B.Type__$StrandCreateAdjustOffset_EsU = A.typeLiteral("_$StrandCreateAdjustOffset"); + B.List_5Bm = A._setArrayType(makeConstList([B.Type_StrandCreateAdjustOffset_MWH, B.Type__$StrandCreateAdjustOffset_EsU]), type$.JSArray_legacy_Type); + B.Type_ShowMouseoverDataSet_IYl = A.typeLiteral("ShowMouseoverDataSet"); + B.Type__$ShowMouseoverDataSet_5YJ = A.typeLiteral("_$ShowMouseoverDataSet"); + B.List_5HG = A._setArrayType(makeConstList([B.Type_ShowMouseoverDataSet_IYl, B.Type__$ShowMouseoverDataSet_5YJ]), type$.JSArray_legacy_Type); + B.Type_Autobreak_kOG = A.typeLiteral("Autobreak"); + B.Type__$Autobreak_4UN = A.typeLiteral("_$Autobreak"); + B.List_5Q6 = A._setArrayType(makeConstList([B.Type_Autobreak_kOG, B.Type__$Autobreak_4UN]), type$.JSArray_legacy_Type); + B.Type_Nick_a4f = A.typeLiteral("Nick"); + B.Type__$Nick_KRx = A.typeLiteral("_$Nick"); + B.List_5sE = A._setArrayType(makeConstList([B.Type_Nick_a4f, B.Type__$Nick_KRx]), type$.JSArray_legacy_Type); + B.Type_InsertionsLengthChange_iD3 = A.typeLiteral("InsertionsLengthChange"); + B.Type__$InsertionsLengthChange_rfj = A.typeLiteral("_$InsertionsLengthChange"); + B.List_5uk = A._setArrayType(makeConstList([B.Type_InsertionsLengthChange_iD3, B.Type__$InsertionsLengthChange_rfj]), type$.JSArray_legacy_Type); + B.Type_StrandLabelSet_9Ea = A.typeLiteral("StrandLabelSet"); + B.Type__$StrandLabelSet_ww8 = A.typeLiteral("_$StrandLabelSet"); + B.List_69P = A._setArrayType(makeConstList([B.Type_StrandLabelSet_9Ea, B.Type__$StrandLabelSet_ww8]), type$.JSArray_legacy_Type); + B.List_69n = A._setArrayType(makeConstList(['Format for IDT\'s "bulk input" webpage when specifying strands\nin individual test tubes.\n', "Excel file formatted for IDT's plate upload webpage for 96-well plates.\n", "Excel file formatted for IDT's plate upload webpage for 384-well plates.\n", "Simple CSV (comma-separated value) format. Not a format used by any biotech company."]), type$.JSArray_legacy_String); + B.Type_DNAEndsMoveSetSelectedEnds_dmU = A.typeLiteral("DNAEndsMoveSetSelectedEnds"); + B.Type__$DNAEndsMoveSetSelectedEnds_RsV = A.typeLiteral("_$DNAEndsMoveSetSelectedEnds"); + B.List_6Hc = A._setArrayType(makeConstList([B.Type_DNAEndsMoveSetSelectedEnds_dmU, B.Type__$DNAEndsMoveSetSelectedEnds_RsV]), type$.JSArray_legacy_Type); + B.Type__$DNAAssignOptions_oqK = A.typeLiteral("_$DNAAssignOptions"); + B.List_6hp = A._setArrayType(makeConstList([B.Type_DNAAssignOptions_Ub0, B.Type__$DNAAssignOptions_oqK]), type$.JSArray_legacy_Type); + B.Type__$DNAEnd_UWS = A.typeLiteral("_$DNAEnd"); + B.List_6iC = A._setArrayType(makeConstList([B.Type_DNAEnd_s8p, B.Type__$DNAEnd_UWS]), type$.JSArray_legacy_Type); + B.Type_ShowHelixCirclesMainViewSet_MUU = A.typeLiteral("ShowHelixCirclesMainViewSet"); + B.Type_mtf = A.typeLiteral("_$ShowHelixCirclesMainViewSet"); + B.List_6iW = A._setArrayType(makeConstList([B.Type_ShowHelixCirclesMainViewSet_MUU, B.Type_mtf]), type$.JSArray_legacy_Type); + B.Type__$DNAEndsMove_MYz = A.typeLiteral("_$DNAEndsMove"); + B.List_6pZ = A._setArrayType(makeConstList([B.Type_DNAEndsMove_AKW, B.Type__$DNAEndsMove_MYz]), type$.JSArray_legacy_Type); + B.Type_MsJ = A.typeLiteral("SelectionBoxIntersectionRuleSet"); + B.Type_wca = A.typeLiteral("_$SelectionBoxIntersectionRuleSet"); + B.List_7Ah = A._setArrayType(makeConstList([B.Type_MsJ, B.Type_wca]), type$.JSArray_legacy_Type); + B.Type_Ligate_A5k = A.typeLiteral("Ligate"); + B.Type__$Ligate_wDR = A.typeLiteral("_$Ligate"); + B.List_7BT = A._setArrayType(makeConstList([B.Type_Ligate_A5k, B.Type__$Ligate_wDR]), type$.JSArray_legacy_Type); + B.Type_G9g = A.typeLiteral("ShowUnpairedInsertionDeletionsSet"); + B.Type_gsm = A.typeLiteral("_$ShowUnpairedInsertionDeletionsSet"); + B.List_7Re = A._setArrayType(makeConstList([B.Type_G9g, B.Type_gsm]), type$.JSArray_legacy_Type); + B.Type_ShowBasePairLinesSet_SnW = A.typeLiteral("ShowBasePairLinesSet"); + B.Type__$ShowBasePairLinesSet_uzu = A.typeLiteral("_$ShowBasePairLinesSet"); + B.List_7YB = A._setArrayType(makeConstList([B.Type_ShowBasePairLinesSet_SnW, B.Type__$ShowBasePairLinesSet_uzu]), type$.JSArray_legacy_Type); + B.Type_InsertionLengthChange_eIg = A.typeLiteral("InsertionLengthChange"); + B.Type__$InsertionLengthChange_Ifo = A.typeLiteral("_$InsertionLengthChange"); + B.List_86y = A._setArrayType(makeConstList([B.Type_InsertionLengthChange_eIg, B.Type__$InsertionLengthChange_Ifo]), type$.JSArray_legacy_Type); + B.List_8RB = A._setArrayType(makeConstList(["fill", "stroke", "stroke-width", "stroke-linecap", "stroke-opacity", "visibility", "transform-box", "transform-origin"]), type$.JSArray_legacy_String); + B.Storable_design = new A.Storable("design"); + B.Storable_app_ui_state_storables = new A.Storable("app_ui_state_storables"); + B.List_948 = A._setArrayType(makeConstList([B.Storable_design, B.Storable_app_ui_state_storables]), A.findType("JSArray")); + B.Type_HelixPositionSet_14u = A.typeLiteral("HelixPositionSet"); + B.Type__$HelixPositionSet_MSI = A.typeLiteral("_$HelixPositionSet"); + B.List_9Aw = A._setArrayType(makeConstList([B.Type_HelixPositionSet_14u, B.Type__$HelixPositionSet_MSI]), type$.JSArray_legacy_Type); + B.Type_SelectAllSelectable_mnK = A.typeLiteral("SelectAllSelectable"); + B.Type__$SelectAllSelectable_uva = A.typeLiteral("_$SelectAllSelectable"); + B.List_9ED = A._setArrayType(makeConstList([B.Type_SelectAllSelectable_mnK, B.Type__$SelectAllSelectable_uva]), type$.JSArray_legacy_Type); + B.Type__$Domain_QAb = A.typeLiteral("_$Domain"); + B.List_9YS = A._setArrayType(makeConstList([B.Type_Domain_ECn, B.Type__$Domain_QAb]), type$.JSArray_legacy_Type); + B.Type_DNAEndsMoveCommit_Z6B = A.typeLiteral("DNAEndsMoveCommit"); + B.Type__$DNAEndsMoveCommit_2rX = A.typeLiteral("_$DNAEndsMoveCommit"); + B.List_9pj = A._setArrayType(makeConstList([B.Type_DNAEndsMoveCommit_Z6B, B.Type__$DNAEndsMoveCommit_2rX]), type$.JSArray_legacy_Type); + B.Type__$DNAEndMove_5Qm = A.typeLiteral("_$DNAEndMove"); + B.List_A2Y = A._setArrayType(makeConstList([B.Type_DNAEndMove_brX, B.Type__$DNAEndMove_5Qm]), type$.JSArray_legacy_Type); + B.Type_SelectionRopeAddPoint_4eX = A.typeLiteral("SelectionRopeAddPoint"); + B.Type__$SelectionRopeAddPoint_ajn = A.typeLiteral("_$SelectionRopeAddPoint"); + B.List_A2g = A._setArrayType(makeConstList([B.Type_SelectionRopeAddPoint_4eX, B.Type__$SelectionRopeAddPoint_ajn]), type$.JSArray_legacy_Type); + B.Type_SelectionsAdjustMainView_Qw3 = A.typeLiteral("SelectionsAdjustMainView"); + B.Type__$SelectionsAdjustMainView_vH3 = A.typeLiteral("_$SelectionsAdjustMainView"); + B.List_A9i = A._setArrayType(makeConstList([B.Type_SelectionsAdjustMainView_Qw3, B.Type__$SelectionsAdjustMainView_vH3]), type$.JSArray_legacy_Type); + B.Type_MajorTickOffsetFontSizeSet_yhk = A.typeLiteral("MajorTickOffsetFontSizeSet"); + B.Type__$MajorTickOffsetFontSizeSet_OkG = A.typeLiteral("_$MajorTickOffsetFontSizeSet"); + B.List_AW6 = A._setArrayType(makeConstList([B.Type_MajorTickOffsetFontSizeSet_yhk, B.Type__$MajorTickOffsetFontSizeSet_OkG]), type$.JSArray_legacy_Type); + B.Type_yL6 = A.typeLiteral("ScalePurificationVendorFieldsAssign"); + B.Type_1mI = A.typeLiteral("_$ScalePurificationVendorFieldsAssign"); + B.List_AeS = A._setArrayType(makeConstList([B.Type_yL6, B.Type_1mI]), type$.JSArray_legacy_Type); + B.Type_44Q = A.typeLiteral("DisablePngCachingDnaSequencesSet"); + B.Type_wST = A.typeLiteral("_$DisablePngCachingDnaSequencesSet"); + B.List_AiQ = A._setArrayType(makeConstList([B.Type_44Q, B.Type_wST]), type$.JSArray_legacy_Type); + B.Type_ShowDomainNamesSet_ke4 = A.typeLiteral("ShowDomainNamesSet"); + B.Type__$ShowDomainNamesSet_0 = A.typeLiteral("_$ShowDomainNamesSet"); + B.List_Au4 = A._setArrayType(makeConstList([B.Type_ShowDomainNamesSet_ke4, B.Type__$ShowDomainNamesSet_0]), type$.JSArray_legacy_Type); + B.Type_BatchAction_aJC = A.typeLiteral("BatchAction"); + B.Type__$BatchAction_jvJ = A.typeLiteral("_$BatchAction"); + B.List_AuK = A._setArrayType(makeConstList([B.Type_BatchAction_aJC, B.Type__$BatchAction_jvJ]), type$.JSArray_legacy_Type); + B.Type_ShowAxisArrowsSet_g2D = A.typeLiteral("ShowAxisArrowsSet"); + B.Type__$ShowAxisArrowsSet_I4V = A.typeLiteral("_$ShowAxisArrowsSet"); + B.List_AuK0 = A._setArrayType(makeConstList([B.Type_ShowAxisArrowsSet_g2D, B.Type__$ShowAxisArrowsSet_I4V]), type$.JSArray_legacy_Type); + B.Type_HelixRollSetAtOther_699 = A.typeLiteral("HelixRollSetAtOther"); + B.Type__$HelixRollSetAtOther_7FR = A.typeLiteral("_$HelixRollSetAtOther"); + B.List_AyI1 = A._setArrayType(makeConstList([B.Type_HelixRollSetAtOther_699, B.Type__$HelixRollSetAtOther_7FR]), type$.JSArray_legacy_Type); + B.List_AyI = A._setArrayType(makeConstList([0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 16, 17, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29]), type$.JSArray_legacy_int); + B.List_B8J = A._setArrayType(makeConstList([0, 1996959894, 3993919788, 2567524794, 124634137, 1886057615, 3915621685, 2657392035, 249268274, 2044508324, 3772115230, 2547177864, 162941995, 2125561021, 3887607047, 2428444049, 498536548, 1789927666, 4089016648, 2227061214, 450548861, 1843258603, 4107580753, 2211677639, 325883990, 1684777152, 4251122042, 2321926636, 335633487, 1661365465, 4195302755, 2366115317, 997073096, 1281953886, 3579855332, 2724688242, 1006888145, 1258607687, 3524101629, 2768942443, 901097722, 1119000684, 3686517206, 2898065728, 853044451, 1172266101, 3705015759, 2882616665, 651767980, 1373503546, 3369554304, 3218104598, 565507253, 1454621731, 3485111705, 3099436303, 671266974, 1594198024, 3322730930, 2970347812, 795835527, 1483230225, 3244367275, 3060149565, 1994146192, 31158534, 2563907772, 4023717930, 1907459465, 112637215, 2680153253, 3904427059, 2013776290, 251722036, 2517215374, 3775830040, 2137656763, 141376813, 2439277719, 3865271297, 1802195444, 476864866, 2238001368, 4066508878, 1812370925, 453092731, 2181625025, 4111451223, 1706088902, 314042704, 2344532202, 4240017532, 1658658271, 366619977, 2362670323, 4224994405, 1303535960, 984961486, 2747007092, 3569037538, 1256170817, 1037604311, 2765210733, 3554079995, 1131014506, 879679996, 2909243462, 3663771856, 1141124467, 855842277, 2852801631, 3708648649, 1342533948, 654459306, 3188396048, 3373015174, 1466479909, 544179635, 3110523913, 3462522015, 1591671054, 702138776, 2966460450, 3352799412, 1504918807, 783551873, 3082640443, 3233442989, 3988292384, 2596254646, 62317068, 1957810842, 3939845945, 2647816111, 81470997, 1943803523, 3814918930, 2489596804, 225274430, 2053790376, 3826175755, 2466906013, 167816743, 2097651377, 4027552580, 2265490386, 503444072, 1762050814, 4150417245, 2154129355, 426522225, 1852507879, 4275313526, 2312317920, 282753626, 1742555852, 4189708143, 2394877945, 397917763, 1622183637, 3604390888, 2714866558, 953729732, 1340076626, 3518719985, 2797360999, 1068828381, 1219638859, 3624741850, 2936675148, 906185462, 1090812512, 3747672003, 2825379669, 829329135, 1181335161, 3412177804, 3160834842, 628085408, 1382605366, 3423369109, 3138078467, 570562233, 1426400815, 3317316542, 2998733608, 733239954, 1555261956, 3268935591, 3050360625, 752459403, 1541320221, 2607071920, 3965973030, 1969922972, 40735498, 2617837225, 3943577151, 1913087877, 83908371, 2512341634, 3803740692, 2075208622, 213261112, 2463272603, 3855990285, 2094854071, 198958881, 2262029012, 4057260610, 1759359992, 534414190, 2176718541, 4139329115, 1873836001, 414664567, 2282248934, 4279200368, 1711684554, 285281116, 2405801727, 4167216745, 1634467795, 376229701, 2685067896, 3608007406, 1308918612, 956543938, 2808555105, 3495958263, 1231636301, 1047427035, 2932959818, 3654703836, 1088359270, 936918000, 2847714899, 3736837829, 1202900863, 817233897, 3183342108, 3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614, 3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117]), type$.JSArray_legacy_int); + B.Type__$Strand_UaF = A.typeLiteral("_$Strand"); + B.List_CC0 = A._setArrayType(makeConstList([B.Type_Strand_CKH, B.Type__$Strand_UaF]), type$.JSArray_legacy_Type); + B.Type__$Insertion_8bg = A.typeLiteral("_$Insertion"); + B.List_CJJ = A._setArrayType(makeConstList([B.Type_Insertion_Gxl, B.Type__$Insertion_8bg]), type$.JSArray_legacy_Type); + B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.Type_DNAEndsMoveAdjustOffset_Hi7 = A.typeLiteral("DNAEndsMoveAdjustOffset"); + B.Type__$DNAEndsMoveAdjustOffset_MUB = A.typeLiteral("_$DNAEndsMoveAdjustOffset"); + B.List_CZB = A._setArrayType(makeConstList([B.Type_DNAEndsMoveAdjustOffset_Hi7, B.Type__$DNAEndsMoveAdjustOffset_MUB]), type$.JSArray_legacy_Type); + B.Type_HelixIdxsChange_fld = A.typeLiteral("HelixIdxsChange"); + B.Type__$HelixIdxsChange_CHy = A.typeLiteral("_$HelixIdxsChange"); + B.List_CrS = A._setArrayType(makeConstList([B.Type_HelixIdxsChange_fld, B.Type__$HelixIdxsChange_CHy]), type$.JSArray_legacy_Type); + B.Type_Line_UGn = A.typeLiteral("Line"); + B.Type__$Line_xYO = A.typeLiteral("_$Line"); + B.List_Cu4 = A._setArrayType(makeConstList([B.Type_Line_UGn, B.Type__$Line_xYO]), type$.JSArray_legacy_Type); + B.Type_DeleteAllSelected_vEy = A.typeLiteral("DeleteAllSelected"); + B.Type__$DeleteAllSelected_ah5 = A.typeLiteral("_$DeleteAllSelected"); + B.List_D7h = A._setArrayType(makeConstList([B.Type_DeleteAllSelected_vEy, B.Type__$DeleteAllSelected_ah5]), type$.JSArray_legacy_Type); + B.Type_InvertYSet_23B = A.typeLiteral("InvertYSet"); + B.Type__$InvertYSet_4QF = A.typeLiteral("_$InvertYSet"); + B.List_Db0 = A._setArrayType(makeConstList([B.Type_InvertYSet_23B, B.Type__$InvertYSet_4QF]), type$.JSArray_legacy_Type); + B.Type_MouseGridPositionSideClear_wu8 = A.typeLiteral("MouseGridPositionSideClear"); + B.Type__$MouseGridPositionSideClear_g3y = A.typeLiteral("_$MouseGridPositionSideClear"); + B.List_Dn0 = A._setArrayType(makeConstList([B.Type_MouseGridPositionSideClear_wu8, B.Type__$MouseGridPositionSideClear_g3y]), type$.JSArray_legacy_Type); + B.List_E4S = A._setArrayType(makeConstList([0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, 1889500026, 1952343757, 2552477408, 2632100695, 2443283854, 2506133561, 2334638140, 2414271883, 2191915858, 2254759653, 3190512472, 3135915759, 3081330742, 3009969537, 2905550212, 2850959411, 2762807018, 2691435357, 3560074640, 3505614887, 3719321342, 3648080713, 3342211916, 3287746299, 3467911202, 3396681109, 4063920168, 4143685023, 4223187782, 4286162673, 3779000052, 3858754371, 3904687514, 3967668269, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, 2896545431, 2825181984, 2770861561, 2716262478, 3215044683, 3143675388, 3055782693, 3001194130, 2326604591, 2389456536, 2200899649, 2280525302, 2578013683, 2640855108, 2418763421, 2498394922, 3769900519, 3832873040, 3912640137, 3992402750, 4088425275, 4151408268, 4197601365, 4277358050, 3334271071, 3263032808, 3476998961, 3422541446, 3585640067, 3514407732, 3694837229, 3640369242, 1762451694, 1842216281, 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, 4046411278, 4126034873, 4172115296, 4234965207, 3794477266, 3874110821, 3953728444, 4016571915, 3609705398, 3555108353, 3735388376, 3664026991, 3290680682, 3236090077, 3449943556, 3378572211, 3174993278, 3120533705, 3032266256, 2961025959, 2923101090, 2868635157, 2813903052, 2742672763, 2604032198, 2683796849, 2461293480, 2524268063, 2284983834, 2364738477, 2175806836, 2238787779, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, 613929101, 542559546, 756411363, 701822548, 3316196985, 3244833742, 3425377559, 3370778784, 3601682597, 3530312978, 3744426955, 3689838204, 3819031489, 3881883254, 3928223919, 4007849240, 4037393693, 4100235434, 4180117107, 4259748804, 2310601993, 2373574846, 2151335527, 2231098320, 2596047829, 2659030626, 2470359227, 2550115596, 2947551409, 2876312838, 2788305887, 2733848168, 3165939309, 3094707162, 3040238851, 2985771188]), type$.JSArray_legacy_int); + B.Type_Modifications3PrimeEdit_iag = A.typeLiteral("Modifications3PrimeEdit"); + B.Type__$Modifications3PrimeEdit_wrR = A.typeLiteral("_$Modifications3PrimeEdit"); + B.List_ECG = A._setArrayType(makeConstList([B.Type_Modifications3PrimeEdit_iag, B.Type__$Modifications3PrimeEdit_wrR]), type$.JSArray_legacy_Type); + B.Type__$StrandsMove_knt = A.typeLiteral("_$StrandsMove"); + B.List_ECG0 = A._setArrayType(makeConstList([B.Type_StrandsMove_Icb, B.Type__$StrandsMove_knt]), type$.JSArray_legacy_Type); + B.Type_HelixOffsetChange_QuS = A.typeLiteral("HelixOffsetChange"); + B.Type__$HelixOffsetChange_76O = A.typeLiteral("_$HelixOffsetChange"); + B.List_EIw = A._setArrayType(makeConstList([B.Type_HelixOffsetChange_QuS, B.Type__$HelixOffsetChange_76O]), type$.JSArray_legacy_Type); + B.Type_ExportDNA_kfn = A.typeLiteral("ExportDNA"); + B.Type__$ExportDNA_wsa = A.typeLiteral("_$ExportDNA"); + B.List_EVy = A._setArrayType(makeConstList([B.Type_ExportDNA_kfn, B.Type__$ExportDNA_wsa]), type$.JSArray_legacy_Type); + B.Type_HelixRemove_Iq6 = A.typeLiteral("HelixRemove"); + B.Type__$HelixRemove_Yqr = A.typeLiteral("_$HelixRemove"); + B.List_Esr = A._setArrayType(makeConstList([B.Type_HelixRemove_Iq6, B.Type__$HelixRemove_Yqr]), type$.JSArray_legacy_Type); + B.List_Ewu = A._setArrayType(makeConstList([619, 720, 127, 481, 931, 816, 813, 233, 566, 247, 985, 724, 205, 454, 863, 491, 741, 242, 949, 214, 733, 859, 335, 708, 621, 574, 73, 654, 730, 472, 419, 436, 278, 496, 867, 210, 399, 680, 480, 51, 878, 465, 811, 169, 869, 675, 611, 697, 867, 561, 862, 687, 507, 283, 482, 129, 807, 591, 733, 623, 150, 238, 59, 379, 684, 877, 625, 169, 643, 105, 170, 607, 520, 932, 727, 476, 693, 425, 174, 647, 73, 122, 335, 530, 442, 853, 695, 249, 445, 515, 909, 545, 703, 919, 874, 474, 882, 500, 594, 612, 641, 801, 220, 162, 819, 984, 589, 513, 495, 799, 161, 604, 958, 533, 221, 400, 386, 867, 600, 782, 382, 596, 414, 171, 516, 375, 682, 485, 911, 276, 98, 553, 163, 354, 666, 933, 424, 341, 533, 870, 227, 730, 475, 186, 263, 647, 537, 686, 600, 224, 469, 68, 770, 919, 190, 373, 294, 822, 808, 206, 184, 943, 795, 384, 383, 461, 404, 758, 839, 887, 715, 67, 618, 276, 204, 918, 873, 777, 604, 560, 951, 160, 578, 722, 79, 804, 96, 409, 713, 940, 652, 934, 970, 447, 318, 353, 859, 672, 112, 785, 645, 863, 803, 350, 139, 93, 354, 99, 820, 908, 609, 772, 154, 274, 580, 184, 79, 626, 630, 742, 653, 282, 762, 623, 680, 81, 927, 626, 789, 125, 411, 521, 938, 300, 821, 78, 343, 175, 128, 250, 170, 774, 972, 275, 999, 639, 495, 78, 352, 126, 857, 956, 358, 619, 580, 124, 737, 594, 701, 612, 669, 112, 134, 694, 363, 992, 809, 743, 168, 974, 944, 375, 748, 52, 600, 747, 642, 182, 862, 81, 344, 805, 988, 739, 511, 655, 814, 334, 249, 515, 897, 955, 664, 981, 649, 113, 974, 459, 893, 228, 433, 837, 553, 268, 926, 240, 102, 654, 459, 51, 686, 754, 806, 760, 493, 403, 415, 394, 687, 700, 946, 670, 656, 610, 738, 392, 760, 799, 887, 653, 978, 321, 576, 617, 626, 502, 894, 679, 243, 440, 680, 879, 194, 572, 640, 724, 926, 56, 204, 700, 707, 151, 457, 449, 797, 195, 791, 558, 945, 679, 297, 59, 87, 824, 713, 663, 412, 693, 342, 606, 134, 108, 571, 364, 631, 212, 174, 643, 304, 329, 343, 97, 430, 751, 497, 314, 983, 374, 822, 928, 140, 206, 73, 263, 980, 736, 876, 478, 430, 305, 170, 514, 364, 692, 829, 82, 855, 953, 676, 246, 369, 970, 294, 750, 807, 827, 150, 790, 288, 923, 804, 378, 215, 828, 592, 281, 565, 555, 710, 82, 896, 831, 547, 261, 524, 462, 293, 465, 502, 56, 661, 821, 976, 991, 658, 869, 905, 758, 745, 193, 768, 550, 608, 933, 378, 286, 215, 979, 792, 961, 61, 688, 793, 644, 986, 403, 106, 366, 905, 644, 372, 567, 466, 434, 645, 210, 389, 550, 919, 135, 780, 773, 635, 389, 707, 100, 626, 958, 165, 504, 920, 176, 193, 713, 857, 265, 203, 50, 668, 108, 645, 990, 626, 197, 510, 357, 358, 850, 858, 364, 936, 638]), type$.JSArray_legacy_int); + B.Type__$Dialog_rJT = A.typeLiteral("_$Dialog"); + B.List_FCG = A._setArrayType(makeConstList([B.Type_Dialog_eAf, B.Type__$Dialog_rJT]), type$.JSArray_legacy_Type); + B.Type_PotentialCrossoverMove_Ekc = A.typeLiteral("PotentialCrossoverMove"); + B.Type__$PotentialCrossoverMove_pkN = A.typeLiteral("_$PotentialCrossoverMove"); + B.List_FIw = A._setArrayType(makeConstList([B.Type_PotentialCrossoverMove_Ekc, B.Type__$PotentialCrossoverMove_pkN]), type$.JSArray_legacy_Type); + B.List_FYo = A._setArrayType(makeConstList([B.ExportDNAFormat_idt_bulk, B.ExportDNAFormat_idt_plates96, B.ExportDNAFormat_idt_plates384, B.ExportDNAFormat_csv]), A.findType("JSArray")); + B.Type_Dba = A.typeLiteral("_$SelectableModification3Prime"); + B.List_Fy5 = A._setArrayType(makeConstList([B.Type_SelectableModification3Prime_sBE, B.Type_Dba]), type$.JSArray_legacy_Type); + B.Type_Dba0 = A.typeLiteral("_$SelectableModification5Prime"); + B.List_Fy50 = A._setArrayType(makeConstList([B.Type_SelectableModification5Prime_sBE, B.Type_Dba0]), type$.JSArray_legacy_Type); + B.Type_MoveHelicesToGroup_gjq = A.typeLiteral("MoveHelicesToGroup"); + B.Type__$MoveHelicesToGroup_EIc = A.typeLiteral("_$MoveHelicesToGroup"); + B.List_G31 = A._setArrayType(makeConstList([B.Type_MoveHelicesToGroup_gjq, B.Type__$MoveHelicesToGroup_EIc]), type$.JSArray_legacy_Type); + B.Type_StrandsMoveAdjustAddress_fgL = A.typeLiteral("StrandsMoveAdjustAddress"); + B.Type__$StrandsMoveAdjustAddress_9FL = A.typeLiteral("_$StrandsMoveAdjustAddress"); + B.List_G7M = A._setArrayType(makeConstList([B.Type_StrandsMoveAdjustAddress_fgL, B.Type__$StrandsMoveAdjustAddress_9FL]), type$.JSArray_legacy_Type); + B.Type_QPD = A.typeLiteral("HelixMajorTickPeriodicDistancesChange"); + B.Type_kqK = A.typeLiteral("_$HelixMajorTickPeriodicDistancesChange"); + B.List_GQ1 = A._setArrayType(makeConstList([B.Type_QPD, B.Type_kqK]), type$.JSArray_legacy_Type); + B.Type_MouseoverDataUpdate_UcM = A.typeLiteral("MouseoverDataUpdate"); + B.Type__$MouseoverDataUpdate_8hR = A.typeLiteral("_$MouseoverDataUpdate"); + B.List_GVa = A._setArrayType(makeConstList([B.Type_MouseoverDataUpdate_UcM, B.Type__$MouseoverDataUpdate_8hR]), type$.JSArray_legacy_Type); + B.Type_HelixMajorTicksChangeAll_ato = A.typeLiteral("HelixMajorTicksChangeAll"); + B.Type__$HelixMajorTicksChangeAll_Yf3 = A.typeLiteral("_$HelixMajorTicksChangeAll"); + B.List_GxI = A._setArrayType(makeConstList([B.Type_HelixMajorTicksChangeAll_ato, B.Type__$HelixMajorTicksChangeAll_Yf3]), type$.JSArray_legacy_Type); + B.Type_IAG = A.typeLiteral("SetOnlyDisplaySelectedHelices"); + B.Type_cop = A.typeLiteral("_$SetOnlyDisplaySelectedHelices"); + B.List_HFe = A._setArrayType(makeConstList([B.Type_IAG, B.Type_cop]), type$.JSArray_legacy_Type); + B.Type_CopySelectedStrands_kWQ = A.typeLiteral("CopySelectedStrands"); + B.Type__$CopySelectedStrands_mFb = A.typeLiteral("_$CopySelectedStrands"); + B.List_HJj = A._setArrayType(makeConstList([B.Type_CopySelectedStrands_kWQ, B.Type__$CopySelectedStrands_mFb]), type$.JSArray_legacy_Type); + B.Type_VuJ = A.typeLiteral("ModificationConnectorLengthSet"); + B.Type_Heh = A.typeLiteral("_$ModificationConnectorLengthSet"); + B.List_HVo = A._setArrayType(makeConstList([B.Type_VuJ, B.Type_Heh]), type$.JSArray_legacy_Type); + B.Type_StrandCreateCommit_P7e = A.typeLiteral("StrandCreateCommit"); + B.Type__$StrandCreateCommit_k02 = A.typeLiteral("_$StrandCreateCommit"); + B.List_HYb = A._setArrayType(makeConstList([B.Type_StrandCreateCommit_P7e, B.Type__$StrandCreateCommit_k02]), type$.JSArray_legacy_Type); + B.Type__$ContextMenu_ouN = A.typeLiteral("_$ContextMenu"); + B.List_IAF = A._setArrayType(makeConstList([B.Type_ContextMenu_u5x, B.Type__$ContextMenu_ouN]), type$.JSArray_legacy_Type); + B.Type_LoopoutLengthChange_Khy = A.typeLiteral("LoopoutLengthChange"); + B.Type__$LoopoutLengthChange_zkE = A.typeLiteral("_$LoopoutLengthChange"); + B.List_IFE0 = A._setArrayType(makeConstList([B.Type_LoopoutLengthChange_Khy, B.Type__$LoopoutLengthChange_zkE]), type$.JSArray_legacy_Type); + B.Type_ExportCadnanoFile_yzl = A.typeLiteral("ExportCadnanoFile"); + B.Type__$ExportCadnanoFile_h8q = A.typeLiteral("_$ExportCadnanoFile"); + B.List_IGS = A._setArrayType(makeConstList([B.Type_ExportCadnanoFile_yzl, B.Type__$ExportCadnanoFile_h8q]), type$.JSArray_legacy_Type); + B.Type_j7j = A.typeLiteral("CopySelectedStandsToClipboardImage"); + B.Type_6TW = A.typeLiteral("_$CopySelectedStandsToClipboardImage"); + B.List_IIj = A._setArrayType(makeConstList([B.Type_j7j, B.Type_6TW]), type$.JSArray_legacy_Type); + B.Type_SetIsZoomAboveThreshold_2bx = A.typeLiteral("SetIsZoomAboveThreshold"); + B.Type__$SetIsZoomAboveThreshold_2jN = A.typeLiteral("_$SetIsZoomAboveThreshold"); + B.List_IO4 = A._setArrayType(makeConstList([B.Type_SetIsZoomAboveThreshold_2bx, B.Type__$SetIsZoomAboveThreshold_2jN]), type$.JSArray_legacy_Type); + B.Type_RelaxHelixRolls_7dz = A.typeLiteral("RelaxHelixRolls"); + B.Type__$RelaxHelixRolls_omH = A.typeLiteral("_$RelaxHelixRolls"); + B.List_IYw = A._setArrayType(makeConstList([B.Type_RelaxHelixRolls_7dz, B.Type__$RelaxHelixRolls_omH]), type$.JSArray_legacy_Type); + B.Type_StrandCreateStart_23B = A.typeLiteral("StrandCreateStart"); + B.Type__$StrandCreateStart_yXb = A.typeLiteral("_$StrandCreateStart"); + B.List_IbS = A._setArrayType(makeConstList([B.Type_StrandCreateStart_23B, B.Type__$StrandCreateStart_yXb]), type$.JSArray_legacy_Type); + B.Type_Redo_Ual = A.typeLiteral("Redo"); + B.Type__$Redo_y1j = A.typeLiteral("_$Redo"); + B.List_Isn = A._setArrayType(makeConstList([B.Type_Redo_Ual, B.Type__$Redo_y1j]), type$.JSArray_legacy_Type); + B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_legacy_int); + B.Type__$Geometry_YZL = A.typeLiteral("_$Geometry"); + B.List_JYK = A._setArrayType(makeConstList([B.Type_Geometry_CC0, B.Type__$Geometry_YZL]), type$.JSArray_legacy_Type); + B.Type_46y = A.typeLiteral("ShowGridCoordinatesSideViewSet"); + B.Type_fXI = A.typeLiteral("_$ShowGridCoordinatesSideViewSet"); + B.List_Jik = A._setArrayType(makeConstList([B.Type_46y, B.Type_fXI]), type$.JSArray_legacy_Type); + B.Type_ContextMenuShow_MQy = A.typeLiteral("ContextMenuShow"); + B.Type__$ContextMenuShow_Crw = A.typeLiteral("_$ContextMenuShow"); + B.List_KdY = A._setArrayType(makeConstList([B.Type_ContextMenuShow_MQy, B.Type__$ContextMenuShow_Crw]), type$.JSArray_legacy_Type); + B.Type_ConvertCrossoverToLoopout_mC8 = A.typeLiteral("ConvertCrossoverToLoopout"); + B.Type__$ConvertCrossoverToLoopout_Y3F = A.typeLiteral("_$ConvertCrossoverToLoopout"); + B.List_KeE = A._setArrayType(makeConstList([B.Type_ConvertCrossoverToLoopout_mC8, B.Type__$ConvertCrossoverToLoopout_Y3F]), type$.JSArray_legacy_Type); + B.List_KxA = A._setArrayType(makeConstList([B.BasePairDisplayType_none, B.BasePairDisplayType_lines, B.BasePairDisplayType_rectangle]), A.findType("JSArray")); + B.Type_MousePositionSideUpdate_gml = A.typeLiteral("MousePositionSideUpdate"); + B.Type__$MousePositionSideUpdate_Qgv = A.typeLiteral("_$MousePositionSideUpdate"); + B.List_L2O = A._setArrayType(makeConstList([B.Type_MousePositionSideUpdate_gml, B.Type__$MousePositionSideUpdate_Qgv]), type$.JSArray_legacy_Type); + B.Type_ShowEditMenuToggle_GZS = A.typeLiteral("ShowEditMenuToggle"); + B.Type__$ShowEditMenuToggle_epE = A.typeLiteral("_$ShowEditMenuToggle"); + B.List_LJp = A._setArrayType(makeConstList([B.Type_ShowEditMenuToggle_GZS, B.Type__$ShowEditMenuToggle_epE]), type$.JSArray_legacy_Type); + B.Type_PotentialVerticalCrossover_ifn = A.typeLiteral("PotentialVerticalCrossover"); + B.Type__$PotentialVerticalCrossover_q0I = A.typeLiteral("_$PotentialVerticalCrossover"); + B.List_LQu = A._setArrayType(makeConstList([B.Type_PotentialVerticalCrossover_ifn, B.Type__$PotentialVerticalCrossover_q0I]), type$.JSArray_legacy_Type); + B.Type__$CopyInfo_ruJ = A.typeLiteral("_$CopyInfo"); + B.List_LU9 = A._setArrayType(makeConstList([B.Type_CopyInfo_aTW, B.Type__$CopyInfo_ruJ]), type$.JSArray_legacy_Type); + B.Type__$StrandCreation_cGl = A.typeLiteral("_$StrandCreation"); + B.List_Ltx = A._setArrayType(makeConstList([B.Type_StrandCreation_A2Y, B.Type__$StrandCreation_cGl]), type$.JSArray_legacy_Type); + B.Type_DomainLabelFontSizeSet_fsZ = A.typeLiteral("DomainLabelFontSizeSet"); + B.Type__$DomainLabelFontSizeSet_q0y = A.typeLiteral("_$DomainLabelFontSizeSet"); + B.List_M8C = A._setArrayType(makeConstList([B.Type_DomainLabelFontSizeSet_fsZ, B.Type__$DomainLabelFontSizeSet_q0y]), type$.JSArray_legacy_Type); + B.Type_MousePositionSideClear_ebu = A.typeLiteral("MousePositionSideClear"); + B.Type__$MousePositionSideClear_c0h = A.typeLiteral("_$MousePositionSideClear"); + B.List_MCX = A._setArrayType(makeConstList([B.Type_MousePositionSideClear_ebu, B.Type__$MousePositionSideClear_c0h]), type$.JSArray_legacy_Type); + B.Type_Qat = A.typeLiteral("StrandOrSubstrandColorPickerHide"); + B.Type_lq4 = A.typeLiteral("_$StrandOrSubstrandColorPickerHide"); + B.List_MCv = A._setArrayType(makeConstList([B.Type_Qat, B.Type_lq4]), type$.JSArray_legacy_Type); + B.Type_LoadDNAFile_tXF = A.typeLiteral("LoadDNAFile"); + B.Type__$LoadDNAFile_oSC = A.typeLiteral("_$LoadDNAFile"); + B.List_MIe = A._setArrayType(makeConstList([B.Type_LoadDNAFile_tXF, B.Type__$LoadDNAFile_oSC]), type$.JSArray_legacy_Type); + B.Type_HelixSelect_kUZ = A.typeLiteral("HelixSelect"); + B.Type__$HelixSelect_eBn = A.typeLiteral("_$HelixSelect"); + B.List_MQk = A._setArrayType(makeConstList([B.Type_HelixSelect_kUZ, B.Type__$HelixSelect_eBn]), type$.JSArray_legacy_Type); + B.Type_HelixGridPositionSet_uMl = A.typeLiteral("HelixGridPositionSet"); + B.Type__$HelixGridPositionSet_7L0 = A.typeLiteral("_$HelixGridPositionSet"); + B.List_MUw = A._setArrayType(makeConstList([B.Type_HelixGridPositionSet_uMl, B.Type__$HelixGridPositionSet_7L0]), type$.JSArray_legacy_Type); + B.Type_GroupRemove_fTF = A.typeLiteral("GroupRemove"); + B.Type__$GroupRemove_WwU = A.typeLiteral("_$GroupRemove"); + B.List_Mbm = A._setArrayType(makeConstList([B.Type_GroupRemove_fTF, B.Type__$GroupRemove_WwU]), type$.JSArray_legacy_Type); + B.Type_TUj = A.typeLiteral("DNAExtensionsMoveAdjustPosition"); + B.Type_Tvq = A.typeLiteral("_$DNAExtensionsMoveAdjustPosition"); + B.List_Mhf = A._setArrayType(makeConstList([B.Type_TUj, B.Type_Tvq]), type$.JSArray_legacy_Type); + B.Type__$PotentialCrossover_66S = A.typeLiteral("_$PotentialCrossover"); + B.List_Mli = A._setArrayType(makeConstList([B.Type_PotentialCrossover_RkP, B.Type__$PotentialCrossover_66S]), type$.JSArray_legacy_Type); + B.List_MmH = A._setArrayType(makeConstList([1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648]), type$.JSArray_legacy_int); + B.Type_OxviewExport_oWu = A.typeLiteral("OxviewExport"); + B.Type__$OxviewExport_2jN = A.typeLiteral("_$OxviewExport"); + B.List_N9s = A._setArrayType(makeConstList([B.Type_OxviewExport_oWu, B.Type__$OxviewExport_2jN]), type$.JSArray_legacy_Type); + B.Type__$DNAExtensionMove_kaS = A.typeLiteral("_$DNAExtensionMove"); + B.List_NDM = A._setArrayType(makeConstList([B.Type_DNAExtensionMove_iVD, B.Type__$DNAExtensionMove_kaS]), type$.JSArray_legacy_Type); + B.Type_DialogShow_oSb = A.typeLiteral("DialogShow"); + B.Type__$DialogShow_yVV = A.typeLiteral("_$DialogShow"); + B.List_NO4 = A._setArrayType(makeConstList([B.Type_DialogShow_oSb, B.Type__$DialogShow_yVV]), type$.JSArray_legacy_Type); + B.List_NUU = A._setArrayType(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28]), type$.JSArray_legacy_int); + B.Type_StrandPasteKeepColorSet_8FR = A.typeLiteral("StrandPasteKeepColorSet"); + B.Type__$StrandPasteKeepColorSet_86y = A.typeLiteral("_$StrandPasteKeepColorSet"); + B.List_NYu = A._setArrayType(makeConstList([B.Type_StrandPasteKeepColorSet_8FR, B.Type__$StrandPasteKeepColorSet_86y]), type$.JSArray_legacy_Type); + B.Type__$Position3D_8o7 = A.typeLiteral("_$Position3D"); + B.List_Ns6 = A._setArrayType(makeConstList([B.Type_Position3D_kqK, B.Type__$Position3D_8o7]), type$.JSArray_legacy_Type); + B.Type_ShowStrandLabelsSet_WPt = A.typeLiteral("ShowStrandLabelsSet"); + B.Type__$ShowStrandLabelsSet_H37 = A.typeLiteral("_$ShowStrandLabelsSet"); + B.List_Nw8 = A._setArrayType(makeConstList([B.Type_ShowStrandLabelsSet_WPt, B.Type__$ShowStrandLabelsSet_H37]), type$.JSArray_legacy_Type); + B.Type_axY = A.typeLiteral("HelixMajorTickDistanceChangeAll"); + B.Type_CyI = A.typeLiteral("_$HelixMajorTickDistanceChangeAll"); + B.List_Nws = A._setArrayType(makeConstList([B.Type_axY, B.Type_CyI]), type$.JSArray_legacy_Type); + B.Type_UndoRedoClear_wsa = A.typeLiteral("UndoRedoClear"); + B.Type__$UndoRedoClear_D1h = A.typeLiteral("_$UndoRedoClear"); + B.List_O5Z = A._setArrayType(makeConstList([B.Type_UndoRedoClear_wsa, B.Type__$UndoRedoClear_D1h]), type$.JSArray_legacy_Type); + B.Type_DialogCheckbox_Uj8 = A.typeLiteral("DialogCheckbox"); + B.Type__$DialogCheckbox_ASw = A.typeLiteral("_$DialogCheckbox"); + B.List_OPy = A._setArrayType(makeConstList([B.Type_DialogCheckbox_Uj8, B.Type__$DialogCheckbox_ASw]), type$.JSArray_legacy_Type); + B.Type_DNAExtensionsMoveCommit_gkc = A.typeLiteral("DNAExtensionsMoveCommit"); + B.Type__$DNAExtensionsMoveCommit_R4i = A.typeLiteral("_$DNAExtensionsMoveCommit"); + B.List_OPz = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveCommit_gkc, B.Type__$DNAExtensionsMoveCommit_R4i]), type$.JSArray_legacy_Type); + B.Type_SubstrandNameSet_6Vr = A.typeLiteral("SubstrandNameSet"); + B.Type__$SubstrandNameSet_xw8 = A.typeLiteral("_$SubstrandNameSet"); + B.List_Ol2 = A._setArrayType(makeConstList([B.Type_SubstrandNameSet_6Vr, B.Type__$SubstrandNameSet_xw8]), type$.JSArray_legacy_Type); + B.Type_DialogText_gkJ = A.typeLiteral("DialogText"); + B.Type__$DialogText_yPV = A.typeLiteral("_$DialogText"); + B.List_Opk = A._setArrayType(makeConstList([B.Type_DialogText_gkJ, B.Type__$DialogText_yPV]), type$.JSArray_legacy_Type); + B.Type__$LocalStorageDesignChoice_cOY = A.typeLiteral("_$LocalStorageDesignChoice"); + B.List_OzL = A._setArrayType(makeConstList([B.Type_LocalStorageDesignChoice_wMy, B.Type__$LocalStorageDesignChoice_cOY]), type$.JSArray_legacy_Type); + B.Type_ShowMismatchesSet_2ix = A.typeLiteral("ShowMismatchesSet"); + B.Type__$ShowMismatchesSet_9IG = A.typeLiteral("_$ShowMismatchesSet"); + B.List_P2J = A._setArrayType(makeConstList([B.Type_ShowMismatchesSet_2ix, B.Type__$ShowMismatchesSet_9IG]), type$.JSArray_legacy_Type); + B.Type_HelixOffsetChangeAll_wsa = A.typeLiteral("HelixOffsetChangeAll"); + B.Type__$HelixOffsetChangeAll_B8J = A.typeLiteral("_$HelixOffsetChangeAll"); + B.List_P50 = A._setArrayType(makeConstList([B.Type_HelixOffsetChangeAll_wsa, B.Type__$HelixOffsetChangeAll_B8J]), type$.JSArray_legacy_Type); + B.Type_HelixGroupMoveStop_ACp = A.typeLiteral("HelixGroupMoveStop"); + B.Type__$HelixGroupMoveStop_kyU = A.typeLiteral("_$HelixGroupMoveStop"); + B.List_PcW = A._setArrayType(makeConstList([B.Type_HelixGroupMoveStop_ACp, B.Type__$HelixGroupMoveStop_kyU]), type$.JSArray_legacy_Type); + B.SelectableTrait_strand_name = new A.SelectableTrait("strand_name"); + B.SelectableTrait_strand_label = new A.SelectableTrait("strand_label"); + B.SelectableTrait_color = new A.SelectableTrait("color"); + B.SelectableTrait_modification_5p = new A.SelectableTrait("modification_5p"); + B.SelectableTrait_modification_3p = new A.SelectableTrait("modification_3p"); + B.SelectableTrait_modification_int = new A.SelectableTrait("modification_int"); + B.SelectableTrait_dna_sequence = new A.SelectableTrait("dna_sequence"); + B.SelectableTrait_vendor_fields = new A.SelectableTrait("vendor_fields"); + B.SelectableTrait_circular = new A.SelectableTrait("circular"); + B.SelectableTrait_helices = new A.SelectableTrait("helices"); + B.List_Q8F = A._setArrayType(makeConstList([B.SelectableTrait_strand_name, B.SelectableTrait_strand_label, B.SelectableTrait_color, B.SelectableTrait_modification_5p, B.SelectableTrait_modification_3p, B.SelectableTrait_modification_int, B.SelectableTrait_dna_sequence, B.SelectableTrait_vendor_fields, B.SelectableTrait_circular, B.SelectableTrait_helices]), A.findType("JSArray")); + B.Type_HelixMinOffsetSetByDomains_MIw = A.typeLiteral("HelixMinOffsetSetByDomains"); + B.Type__$HelixMinOffsetSetByDomains_MDT = A.typeLiteral("_$HelixMinOffsetSetByDomains"); + B.List_QG0 = A._setArrayType(makeConstList([B.Type_HelixMinOffsetSetByDomains_MIw, B.Type__$HelixMinOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); + B.Type_guV = A.typeLiteral("HelixMajorTickPeriodicDistancesChangeAll"); + B.Type_zPV0 = A.typeLiteral("_$HelixMajorTickPeriodicDistancesChangeAll"); + B.List_QVp = A._setArrayType(makeConstList([B.Type_guV, B.Type_zPV0]), type$.JSArray_legacy_Type); + B.Type__$Modification3Prime_EyN = A.typeLiteral("_$Modification3Prime"); + B.List_Qkz = A._setArrayType(makeConstList([B.Type_Modification3Prime_wsa, B.Type__$Modification3Prime_EyN]), type$.JSArray_legacy_Type); + B.Type__$Modification5Prime_EyN = A.typeLiteral("_$Modification5Prime"); + B.List_Qkz0 = A._setArrayType(makeConstList([B.Type_Modification5Prime_wsa, B.Type__$Modification5Prime_EyN]), type$.JSArray_legacy_Type); + B.Type__$MouseoverData_g78 = A.typeLiteral("_$MouseoverData"); + B.List_Qw7 = A._setArrayType(makeConstList([B.Type_MouseoverData_qTC, B.Type__$MouseoverData_g78]), type$.JSArray_legacy_Type); + B.Type_NewDesignSet_yT7 = A.typeLiteral("NewDesignSet"); + B.Type__$NewDesignSet_6L0 = A.typeLiteral("_$NewDesignSet"); + B.List_RyU = A._setArrayType(makeConstList([B.Type_NewDesignSet_yT7, B.Type__$NewDesignSet_6L0]), type$.JSArray_legacy_Type); + B.Type_ConvertCrossoversToLoopouts_qFy = A.typeLiteral("ConvertCrossoversToLoopouts"); + B.Type_Sg2 = A.typeLiteral("_$ConvertCrossoversToLoopouts"); + B.List_SLS = A._setArrayType(makeConstList([B.Type_ConvertCrossoversToLoopouts_qFy, B.Type_Sg2]), type$.JSArray_legacy_Type); + B.Type_WarnOnExitIfUnsavedSet_LFH = A.typeLiteral("WarnOnExitIfUnsavedSet"); + B.Type__$WarnOnExitIfUnsavedSet_v9O = A.typeLiteral("_$WarnOnExitIfUnsavedSet"); + B.List_SQp = A._setArrayType(makeConstList([B.Type_WarnOnExitIfUnsavedSet_LFH, B.Type__$WarnOnExitIfUnsavedSet_v9O]), type$.JSArray_legacy_Type); + B.Type_ahs = A.typeLiteral("HelixMaxOffsetSetByDomainsAllSameMax"); + B.Type_2fh = A.typeLiteral("_$HelixMaxOffsetSetByDomainsAllSameMax"); + B.List_SRR = A._setArrayType(makeConstList([B.Type_ahs, B.Type_2fh]), type$.JSArray_legacy_Type); + B.Type_DNAExtensionsMoveStart_sC8 = A.typeLiteral("DNAExtensionsMoveStart"); + B.Type__$DNAExtensionsMoveStart_UkW = A.typeLiteral("_$DNAExtensionsMoveStart"); + B.List_SbI = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveStart_sC8, B.Type__$DNAExtensionsMoveStart_UkW]), type$.JSArray_legacy_Type); + B.Type_DisplayMajorTicksOffsetsSet_kqK = A.typeLiteral("DisplayMajorTicksOffsetsSet"); + B.Type_Yhr = A.typeLiteral("_$DisplayMajorTicksOffsetsSet"); + B.List_TfG = A._setArrayType(makeConstList([B.Type_DisplayMajorTicksOffsetsSet_kqK, B.Type_Yhr]), type$.JSArray_legacy_Type); + B.Type_HelixSelectionsClear_Ka6 = A.typeLiteral("HelixSelectionsClear"); + B.Type__$HelixSelectionsClear_g4I = A.typeLiteral("_$HelixSelectionsClear"); + B.List_TfU = A._setArrayType(makeConstList([B.Type_HelixSelectionsClear_Ka6, B.Type__$HelixSelectionsClear_g4I]), type$.JSArray_legacy_Type); + B.List_Type_BasePairDisplayType_hjk = A._setArrayType(makeConstList([B.Type_BasePairDisplayType_hjk]), type$.JSArray_legacy_Type); + B.List_Type_DNAFileType_bQh = A._setArrayType(makeConstList([B.Type_DNAFileType_bQh]), type$.JSArray_legacy_Type); + B.Type_DNASequencePredefined_1Sb = A.typeLiteral("DNASequencePredefined"); + B.List_Type_DNASequencePredefined_1Sb = A._setArrayType(makeConstList([B.Type_DNASequencePredefined_1Sb]), type$.JSArray_legacy_Type); + B.List_Type_DialogType_Zuq = A._setArrayType(makeConstList([B.Type_DialogType_Zuq]), type$.JSArray_legacy_Type); + B.List_Type_EditModeChoice_hod = A._setArrayType(makeConstList([B.Type_EditModeChoice_hod]), type$.JSArray_legacy_Type); + B.List_Type_ExportDNAFormat_QK8 = A._setArrayType(makeConstList([B.Type_ExportDNAFormat_QK8]), type$.JSArray_legacy_Type); + B.List_Type_Grid_zSh = A._setArrayType(makeConstList([B.Type_Grid_zSh]), type$.JSArray_legacy_Type); + B.List_Type_LocalStorageDesignOption_xgQ = A._setArrayType(makeConstList([B.Type_LocalStorageDesignOption_xgQ]), type$.JSArray_legacy_Type); + B.Type_ModificationType_EWG = A.typeLiteral("ModificationType"); + B.List_Type_ModificationType_EWG = A._setArrayType(makeConstList([B.Type_ModificationType_EWG]), type$.JSArray_legacy_Type); + B.List_Type_SelectModeChoice_a75 = A._setArrayType(makeConstList([B.Type_SelectModeChoice_a75]), type$.JSArray_legacy_Type); + B.List_Type_SelectableTrait_SXj = A._setArrayType(makeConstList([B.Type_SelectableTrait_SXj]), type$.JSArray_legacy_Type); + B.List_Type_StrandOrder_Jrj = A._setArrayType(makeConstList([B.Type_StrandOrder_Jrj]), type$.JSArray_legacy_Type); + B.List_Tzo = A._setArrayType(makeConstList([B.DNASequencePredefined_M13p7249, B.DNASequencePredefined_M13p7560, B.DNASequencePredefined_M13p8064, B.DNASequencePredefined_M13p8634]), A.findType("JSArray")); + B.Type_sKC = A.typeLiteral("ClearHelixSelectionWhenLoadingNewDesignSet"); + B.Type_0 = A.typeLiteral("_$ClearHelixSelectionWhenLoadingNewDesignSet"); + B.List_U05 = A._setArrayType(makeConstList([B.Type_sKC, B.Type_0]), type$.JSArray_legacy_Type); + B.Type_5eO = A.typeLiteral("DisplayReverseDNARightSideUpSet"); + B.Type_kUw = A.typeLiteral("_$DisplayReverseDNARightSideUpSet"); + B.List_U050 = A._setArrayType(makeConstList([B.Type_5eO, B.Type_kUw]), type$.JSArray_legacy_Type); + B.Type_SetDisplayMajorTickWidths_wIv = A.typeLiteral("SetDisplayMajorTickWidths"); + B.Type__$SetDisplayMajorTickWidths_Bzt = A.typeLiteral("_$SetDisplayMajorTickWidths"); + B.List_U7q = A._setArrayType(makeConstList([B.Type_SetDisplayMajorTickWidths_wIv, B.Type__$SetDisplayMajorTickWidths_Bzt]), type$.JSArray_legacy_Type); + B.Type__$SelectablesStore_mdj = A.typeLiteral("_$SelectablesStore"); + B.List_U8I = A._setArrayType(makeConstList([B.Type_SelectablesStore_xd9, B.Type__$SelectablesStore_mdj]), type$.JSArray_legacy_Type); + B.Type_RemoveDNA_izW = A.typeLiteral("RemoveDNA"); + B.Type__$RemoveDNA_uuM = A.typeLiteral("_$RemoveDNA"); + B.List_URr = A._setArrayType(makeConstList([B.Type_RemoveDNA_izW, B.Type__$RemoveDNA_uuM]), type$.JSArray_legacy_Type); + B.Type_SliceBarOffsetSet_kyu = A.typeLiteral("SliceBarOffsetSet"); + B.Type__$SliceBarOffsetSet_uIL = A.typeLiteral("_$SliceBarOffsetSet"); + B.List_UgE = A._setArrayType(makeConstList([B.Type_SliceBarOffsetSet_kyu, B.Type__$SliceBarOffsetSet_uIL]), type$.JSArray_legacy_Type); + B.Type_PotentialCrossoverCreate_AGY = A.typeLiteral("PotentialCrossoverCreate"); + B.Type__$PotentialCrossoverCreate_EmC = A.typeLiteral("_$PotentialCrossoverCreate"); + B.List_Uxx = A._setArrayType(makeConstList([B.Type_PotentialCrossoverCreate_AGY, B.Type__$PotentialCrossoverCreate_EmC]), type$.JSArray_legacy_Type); + B.Type_StrandNameFontSizeSet_qHn = A.typeLiteral("StrandNameFontSizeSet"); + B.Type__$StrandNameFontSizeSet_e7Z = A.typeLiteral("_$StrandNameFontSizeSet"); + B.List_V0W = A._setArrayType(makeConstList([B.Type_StrandNameFontSizeSet_qHn, B.Type__$StrandNameFontSizeSet_e7Z]), type$.JSArray_legacy_Type); + B.Type_AutofitSet_X7A = A.typeLiteral("AutofitSet"); + B.Type__$AutofitSet_i7r = A.typeLiteral("_$AutofitSet"); + B.List_V5x = A._setArrayType(makeConstList([B.Type_AutofitSet_X7A, B.Type__$AutofitSet_i7r]), type$.JSArray_legacy_Type); + B.Type__$SelectionRope_2No = A.typeLiteral("_$SelectionRope"); + B.List_VQM = A._setArrayType(makeConstList([B.Type_SelectionRope_0Rd, B.Type__$SelectionRope_2No]), type$.JSArray_legacy_Type); + B.Type_MoveLinker_4m4 = A.typeLiteral("MoveLinker"); + B.Type__$MoveLinker_O0I = A.typeLiteral("_$MoveLinker"); + B.List_W34 = A._setArrayType(makeConstList([B.Type_MoveLinker_4m4, B.Type__$MoveLinker_O0I]), type$.JSArray_legacy_Type); + B.Type_OxviewShowSet_FKj = A.typeLiteral("OxviewShowSet"); + B.Type__$OxviewShowSet_FGJ = A.typeLiteral("_$OxviewShowSet"); + B.List_W7l = A._setArrayType(makeConstList([B.Type_OxviewShowSet_FKj, B.Type__$OxviewShowSet_FGJ]), type$.JSArray_legacy_Type); + B.Type_ExampleDesignsLoad_TT0 = A.typeLiteral("ExampleDesignsLoad"); + B.Type__$ExampleDesignsLoad_zzp = A.typeLiteral("_$ExampleDesignsLoad"); + B.List_WMt = A._setArrayType(makeConstList([B.Type_ExampleDesignsLoad_TT0, B.Type__$ExampleDesignsLoad_zzp]), type$.JSArray_legacy_Type); + B.Type_SelectionRopeCreate_FC3 = A.typeLiteral("SelectionRopeCreate"); + B.Type__$SelectionRopeCreate_atQ = A.typeLiteral("_$SelectionRopeCreate"); + B.List_WfA = A._setArrayType(makeConstList([B.Type_SelectionRopeCreate_FC3, B.Type__$SelectionRopeCreate_atQ]), type$.JSArray_legacy_Type); + B.Type_ExtensionNumBasesChange_wzu = A.typeLiteral("ExtensionNumBasesChange"); + B.Type__$ExtensionNumBasesChange_aBG = A.typeLiteral("_$ExtensionNumBasesChange"); + B.List_WjS = A._setArrayType(makeConstList([B.Type_ExtensionNumBasesChange_wzu, B.Type__$ExtensionNumBasesChange_aBG]), type$.JSArray_legacy_Type); + B.List_WrN = A._setArrayType(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_legacy_int); + B.Type_ShowMouseoverRectToggle_iL9 = A.typeLiteral("ShowMouseoverRectToggle"); + B.Type__$ShowMouseoverRectToggle_MuN = A.typeLiteral("_$ShowMouseoverRectToggle"); + B.List_Wvz = A._setArrayType(makeConstList([B.Type_ShowMouseoverRectToggle_iL9, B.Type__$ShowMouseoverRectToggle_MuN]), type$.JSArray_legacy_Type); + B.List_X3d = A._setArrayType(makeConstList([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]), type$.JSArray_legacy_int); + B.List_X3d0 = A._setArrayType(makeConstList([0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576]), type$.JSArray_legacy_int); + B.List_X3d1 = A._setArrayType(makeConstList([5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]), type$.JSArray_legacy_int); + B.List_Xg4 = A._setArrayType(makeConstList([12, 8, 140, 8, 76, 8, 204, 8, 44, 8, 172, 8, 108, 8, 236, 8, 28, 8, 156, 8, 92, 8, 220, 8, 60, 8, 188, 8, 124, 8, 252, 8, 2, 8, 130, 8, 66, 8, 194, 8, 34, 8, 162, 8, 98, 8, 226, 8, 18, 8, 146, 8, 82, 8, 210, 8, 50, 8, 178, 8, 114, 8, 242, 8, 10, 8, 138, 8, 74, 8, 202, 8, 42, 8, 170, 8, 106, 8, 234, 8, 26, 8, 154, 8, 90, 8, 218, 8, 58, 8, 186, 8, 122, 8, 250, 8, 6, 8, 134, 8, 70, 8, 198, 8, 38, 8, 166, 8, 102, 8, 230, 8, 22, 8, 150, 8, 86, 8, 214, 8, 54, 8, 182, 8, 118, 8, 246, 8, 14, 8, 142, 8, 78, 8, 206, 8, 46, 8, 174, 8, 110, 8, 238, 8, 30, 8, 158, 8, 94, 8, 222, 8, 62, 8, 190, 8, 126, 8, 254, 8, 1, 8, 129, 8, 65, 8, 193, 8, 33, 8, 161, 8, 97, 8, 225, 8, 17, 8, 145, 8, 81, 8, 209, 8, 49, 8, 177, 8, 113, 8, 241, 8, 9, 8, 137, 8, 73, 8, 201, 8, 41, 8, 169, 8, 105, 8, 233, 8, 25, 8, 153, 8, 89, 8, 217, 8, 57, 8, 185, 8, 121, 8, 249, 8, 5, 8, 133, 8, 69, 8, 197, 8, 37, 8, 165, 8, 101, 8, 229, 8, 21, 8, 149, 8, 85, 8, 213, 8, 53, 8, 181, 8, 117, 8, 245, 8, 13, 8, 141, 8, 77, 8, 205, 8, 45, 8, 173, 8, 109, 8, 237, 8, 29, 8, 157, 8, 93, 8, 221, 8, 61, 8, 189, 8, 125, 8, 253, 8, 19, 9, 275, 9, 147, 9, 403, 9, 83, 9, 339, 9, 211, 9, 467, 9, 51, 9, 307, 9, 179, 9, 435, 9, 115, 9, 371, 9, 243, 9, 499, 9, 11, 9, 267, 9, 139, 9, 395, 9, 75, 9, 331, 9, 203, 9, 459, 9, 43, 9, 299, 9, 171, 9, 427, 9, 107, 9, 363, 9, 235, 9, 491, 9, 27, 9, 283, 9, 155, 9, 411, 9, 91, 9, 347, 9, 219, 9, 475, 9, 59, 9, 315, 9, 187, 9, 443, 9, 123, 9, 379, 9, 251, 9, 507, 9, 7, 9, 263, 9, 135, 9, 391, 9, 71, 9, 327, 9, 199, 9, 455, 9, 39, 9, 295, 9, 167, 9, 423, 9, 103, 9, 359, 9, 231, 9, 487, 9, 23, 9, 279, 9, 151, 9, 407, 9, 87, 9, 343, 9, 215, 9, 471, 9, 55, 9, 311, 9, 183, 9, 439, 9, 119, 9, 375, 9, 247, 9, 503, 9, 15, 9, 271, 9, 143, 9, 399, 9, 79, 9, 335, 9, 207, 9, 463, 9, 47, 9, 303, 9, 175, 9, 431, 9, 111, 9, 367, 9, 239, 9, 495, 9, 31, 9, 287, 9, 159, 9, 415, 9, 95, 9, 351, 9, 223, 9, 479, 9, 63, 9, 319, 9, 191, 9, 447, 9, 127, 9, 383, 9, 255, 9, 511, 9, 0, 7, 64, 7, 32, 7, 96, 7, 16, 7, 80, 7, 48, 7, 112, 7, 8, 7, 72, 7, 40, 7, 104, 7, 24, 7, 88, 7, 56, 7, 120, 7, 4, 7, 68, 7, 36, 7, 100, 7, 20, 7, 84, 7, 52, 7, 116, 7, 3, 8, 131, 8, 67, 8, 195, 8, 35, 8, 163, 8, 99, 8, 227, 8]), type$.JSArray_legacy_int); + B.Type_ThrottledActionFast_tax = A.typeLiteral("ThrottledActionFast"); + B.Type__$ThrottledActionFast_nyx = A.typeLiteral("_$ThrottledActionFast"); + B.List_YLN = A._setArrayType(makeConstList([B.Type_ThrottledActionFast_tax, B.Type__$ThrottledActionFast_nyx]), type$.JSArray_legacy_Type); + B.Type_HelixMajorTickStartChangeAll_e1W = A.typeLiteral("HelixMajorTickStartChangeAll"); + B.Type_iNt = A.typeLiteral("_$HelixMajorTickStartChangeAll"); + B.List_YNa = A._setArrayType(makeConstList([B.Type_HelixMajorTickStartChangeAll_e1W, B.Type_iNt]), type$.JSArray_legacy_Type); + B.Type_StrandsMoveCommit_mV5 = A.typeLiteral("StrandsMoveCommit"); + B.Type__$StrandsMoveCommit_3KU = A.typeLiteral("_$StrandsMoveCommit"); + B.List_YZn = A._setArrayType(makeConstList([B.Type_StrandsMoveCommit_mV5, B.Type__$StrandsMoveCommit_3KU]), type$.JSArray_legacy_Type); + B.Type_ShowDNASet_iXr = A.typeLiteral("ShowDNASet"); + B.Type__$ShowDNASet_WJv = A.typeLiteral("_$ShowDNASet"); + B.List_Yap = A._setArrayType(makeConstList([B.Type_ShowDNASet_iXr, B.Type__$ShowDNASet_WJv]), type$.JSArray_legacy_Type); + B.Type_n9b = A.typeLiteral("ShowHelixComponentsMainViewSet"); + B.Type_AyI = A.typeLiteral("_$ShowHelixComponentsMainViewSet"); + B.List_ZGD = A._setArrayType(makeConstList([B.Type_n9b, B.Type_AyI]), type$.JSArray_legacy_Type); + B.Type_StrandNameSet_Tvy = A.typeLiteral("StrandNameSet"); + B.Type__$StrandNameSet_EJD = A.typeLiteral("_$StrandNameSet"); + B.List_ZYL = A._setArrayType(makeConstList([B.Type_StrandNameSet_Tvy, B.Type__$StrandNameSet_EJD]), type$.JSArray_legacy_Type); + B.Type_ResetLocalStorage_Fcu = A.typeLiteral("ResetLocalStorage"); + B.Type__$ResetLocalStorage_akw = A.typeLiteral("_$ResetLocalStorage"); + B.List_Zuu = A._setArrayType(makeConstList([B.Type_ResetLocalStorage_Fcu, B.Type__$ResetLocalStorage_akw]), type$.JSArray_legacy_Type); + B.List_Zyt = A._setArrayType(makeConstList(["getDerivedStateFromError", "componentDidCatch"]), type$.JSArray_legacy_String); + B.Type_SelectionBoxCreate_2No = A.typeLiteral("SelectionBoxCreate"); + B.Type__$SelectionBoxCreate_Qgx = A.typeLiteral("_$SelectionBoxCreate"); + B.List_a0G = A._setArrayType(makeConstList([B.Type_SelectionBoxCreate_2No, B.Type__$SelectionBoxCreate_Qgx]), type$.JSArray_legacy_Type); + B.Type_ErrorMessageSet_MEo = A.typeLiteral("ErrorMessageSet"); + B.Type__$ErrorMessageSet_Drw = A.typeLiteral("_$ErrorMessageSet"); + B.List_a3r = A._setArrayType(makeConstList([B.Type_ErrorMessageSet_MEo, B.Type__$ErrorMessageSet_Drw]), type$.JSArray_legacy_Type); + B.Type_dGP = A.typeLiteral("StrandsMoveStartSelectedStrands"); + B.Type_QAb = A.typeLiteral("_$StrandsMoveStartSelectedStrands"); + B.List_aJC = A._setArrayType(makeConstList([B.Type_dGP, B.Type_QAb]), type$.JSArray_legacy_Type); + B.Type_HelixRemoveAllSelected_8Gl = A.typeLiteral("HelixRemoveAllSelected"); + B.Type__$HelixRemoveAllSelected_46y = A.typeLiteral("_$HelixRemoveAllSelected"); + B.List_aTx = A._setArrayType(makeConstList([B.Type_HelixRemoveAllSelected_8Gl, B.Type__$HelixRemoveAllSelected_46y]), type$.JSArray_legacy_Type); + B.Type_ShowDomainNameMismatchesSet_yXb = A.typeLiteral("ShowDomainNameMismatchesSet"); + B.Type_br2 = A.typeLiteral("_$ShowDomainNameMismatchesSet"); + B.List_aZ8 = A._setArrayType(makeConstList([B.Type_ShowDomainNameMismatchesSet_yXb, B.Type_br2]), type$.JSArray_legacy_Type); + B.Type_Undo_spY = A.typeLiteral("Undo"); + B.Type__$Undo_b5x = A.typeLiteral("_$Undo"); + B.List_ab8 = A._setArrayType(makeConstList([B.Type_Undo_spY, B.Type__$Undo_b5x]), type$.JSArray_legacy_Type); + B.Type_DialogLink_8Gl = A.typeLiteral("DialogLink"); + B.Type__$DialogLink_W3x = A.typeLiteral("_$DialogLink"); + B.List_app = A._setArrayType(makeConstList([B.Type_DialogLink_8Gl, B.Type__$DialogLink_W3x]), type$.JSArray_legacy_Type); + B.Type_ExportCodenanoFile_7R9 = A.typeLiteral("ExportCodenanoFile"); + B.Type__$ExportCodenanoFile_OLT = A.typeLiteral("_$ExportCodenanoFile"); + B.List_avb = A._setArrayType(makeConstList([B.Type_ExportCodenanoFile_7R9, B.Type__$ExportCodenanoFile_OLT]), type$.JSArray_legacy_Type); + B.Type_DynamicHelixUpdateSet_y5I = A.typeLiteral("DynamicHelixUpdateSet"); + B.Type__$DynamicHelixUpdateSet_5dd = A.typeLiteral("_$DynamicHelixUpdateSet"); + B.List_bD1 = A._setArrayType(makeConstList([B.Type_DynamicHelixUpdateSet_y5I, B.Type__$DynamicHelixUpdateSet_5dd]), type$.JSArray_legacy_Type); + B.Type_ModificationEdit_KP7 = A.typeLiteral("ModificationEdit"); + B.Type__$ModificationEdit_61T = A.typeLiteral("_$ModificationEdit"); + B.List_bpf = A._setArrayType(makeConstList([B.Type_ModificationEdit_KP7, B.Type__$ModificationEdit_61T]), type$.JSArray_legacy_Type); + B.Type_ExportSvgTextSeparatelySet_jRE = A.typeLiteral("ExportSvgTextSeparatelySet"); + B.Type__$ExportSvgTextSeparatelySet_mBr = A.typeLiteral("_$ExportSvgTextSeparatelySet"); + B.List_cIc = A._setArrayType(makeConstList([B.Type_ExportSvgTextSeparatelySet_jRE, B.Type__$ExportSvgTextSeparatelySet_mBr]), type$.JSArray_legacy_Type); + B.Type_DomainNameFontSizeSet_8YE = A.typeLiteral("DomainNameFontSizeSet"); + B.Type__$DomainNameFontSizeSet_15V = A.typeLiteral("_$DomainNameFontSizeSet"); + B.List_cIf = A._setArrayType(makeConstList([B.Type_DomainNameFontSizeSet_8YE, B.Type__$DomainNameFontSizeSet_15V]), type$.JSArray_legacy_Type); + B.Type_LocalStorageDesignChoiceSet_kmH = A.typeLiteral("LocalStorageDesignChoiceSet"); + B.Type_WNy = A.typeLiteral("_$LocalStorageDesignChoiceSet"); + B.List_cKo = A._setArrayType(makeConstList([B.Type_LocalStorageDesignChoiceSet_kmH, B.Type_WNy]), type$.JSArray_legacy_Type); + B.Type_AppUIState_KY7 = A.typeLiteral("AppUIState"); + B.Type__$AppUIState_wMy = A.typeLiteral("_$AppUIState"); + B.List_cMx = A._setArrayType(makeConstList([B.Type_AppUIState_KY7, B.Type__$AppUIState_wMy]), type$.JSArray_legacy_Type); + B.Type_SelectionsClear_yrN = A.typeLiteral("SelectionsClear"); + B.Type__$SelectionsClear_u2C = A.typeLiteral("_$SelectionsClear"); + B.List_cQL = A._setArrayType(makeConstList([B.Type_SelectionsClear_yrN, B.Type__$SelectionsClear_u2C]), type$.JSArray_legacy_Type); + B.Type_ScaffoldSet_kSJ = A.typeLiteral("ScaffoldSet"); + B.Type__$ScaffoldSet_8Tq = A.typeLiteral("_$ScaffoldSet"); + B.List_cdS = A._setArrayType(makeConstList([B.Type_ScaffoldSet_kSJ, B.Type__$ScaffoldSet_8Tq]), type$.JSArray_legacy_Type); + B.Type_HelixMajorTicksChange_gg4 = A.typeLiteral("HelixMajorTicksChange"); + B.Type__$HelixMajorTicksChange_Uo4 = A.typeLiteral("_$HelixMajorTicksChange"); + B.List_ciW = A._setArrayType(makeConstList([B.Type_HelixMajorTicksChange_gg4, B.Type__$HelixMajorTicksChange_Uo4]), type$.JSArray_legacy_Type); + B.Type_SaveDNAFile_maS = A.typeLiteral("SaveDNAFile"); + B.Type__$SaveDNAFile_uGT = A.typeLiteral("_$SaveDNAFile"); + B.List_dDf = A._setArrayType(makeConstList([B.Type_SaveDNAFile_maS, B.Type__$SaveDNAFile_uGT]), type$.JSArray_legacy_Type); + B.Type_ShowStrandNamesSet_Yuq = A.typeLiteral("ShowStrandNamesSet"); + B.Type__$ShowStrandNamesSet_O1M = A.typeLiteral("_$ShowStrandNamesSet"); + B.List_dmq = A._setArrayType(makeConstList([B.Type_ShowStrandNamesSet_Yuq, B.Type__$ShowStrandNamesSet_O1M]), type$.JSArray_legacy_Type); + B.List_dna_json = A._setArrayType(makeConstList(["dna", "json"]), type$.JSArray_legacy_String); + B.List_dna_sequence = A._setArrayType(makeConstList(["dna_sequence"]), type$.JSArray_legacy_String); + B.Type_EO3 = A.typeLiteral("SetModificationDisplayConnector"); + B.Type_6xV = A.typeLiteral("_$SetModificationDisplayConnector"); + B.List_e1J = A._setArrayType(makeConstList([B.Type_EO3, B.Type_6xV]), type$.JSArray_legacy_Type); + B.Type__$Extension_oMs = A.typeLiteral("_$Extension"); + B.List_eAf = A._setArrayType(makeConstList([B.Type_Extension_dwE, B.Type__$Extension_oMs]), type$.JSArray_legacy_Type); + B.Type_SelectionRopeRemove_EIc = A.typeLiteral("SelectionRopeRemove"); + B.Type__$SelectionRopeRemove_APm = A.typeLiteral("_$SelectionRopeRemove"); + B.List_eDH = A._setArrayType(makeConstList([B.Type_SelectionRopeRemove_EIc, B.Type__$SelectionRopeRemove_APm]), type$.JSArray_legacy_Type); + B.Type_nVn = A.typeLiteral("AssignDomainNameComplementFromBoundStrands"); + B.Type_25d = A.typeLiteral("_$AssignDomainNameComplementFromBoundStrands"); + B.List_eZu = A._setArrayType(makeConstList([B.Type_nVn, B.Type_25d]), type$.JSArray_legacy_Type); + B.List_eea = A._setArrayType(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0]), type$.JSArray_legacy_int); + B.Type_O96 = A.typeLiteral("SelectAllStrandsWithSameAsSelected"); + B.Type_cwZ = A.typeLiteral("_$SelectAllStrandsWithSameAsSelected"); + B.List_egL = A._setArrayType(makeConstList([B.Type_O96, B.Type_cwZ]), type$.JSArray_legacy_Type); + B.Type_StrandsMoveStop_iGN = A.typeLiteral("StrandsMoveStop"); + B.Type__$StrandsMoveStop_ckK = A.typeLiteral("_$StrandsMoveStop"); + B.List_egL0 = A._setArrayType(makeConstList([B.Type_StrandsMoveStop_iGN, B.Type__$StrandsMoveStop_ckK]), type$.JSArray_legacy_Type); + B.List_ego = A._setArrayType(makeConstList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"]), type$.JSArray_legacy_String); + B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_dynamic); + B.List_empty6 = A._setArrayType(makeConstList([]), A.findType("JSArray<@(Store*,@,@(@)*)*>")); + B.List_empty1 = A._setArrayType(makeConstList([]), A.findType("JSArray*>")); + B.List_empty4 = A._setArrayType(makeConstList([]), A.findType("JSArray*>")); + B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_legacy_String); + B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.List_empty2 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.Type_DNAExtensionsMoveStop_ww8 = A.typeLiteral("DNAExtensionsMoveStop"); + B.Type__$DNAExtensionsMoveStop_oSr = A.typeLiteral("_$DNAExtensionsMoveStop"); + B.List_etd = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveStop_ww8, B.Type__$DNAExtensionsMoveStop_oSr]), type$.JSArray_legacy_Type); + B.Type_VendorFieldsRemove_bDN = A.typeLiteral("VendorFieldsRemove"); + B.Type__$VendorFieldsRemove_jfn = A.typeLiteral("_$VendorFieldsRemove"); + B.List_ezA = A._setArrayType(makeConstList([B.Type_VendorFieldsRemove_bDN, B.Type__$VendorFieldsRemove_jfn]), type$.JSArray_legacy_Type); + B.Type_ManualPasteInitiate_S8r = A.typeLiteral("ManualPasteInitiate"); + B.Type__$ManualPasteInitiate_UW6 = A.typeLiteral("_$ManualPasteInitiate"); + B.List_fXI = A._setArrayType(makeConstList([B.Type_ManualPasteInitiate_S8r, B.Type__$ManualPasteInitiate_UW6]), type$.JSArray_legacy_Type); + B.Type_AssignDNA_Mi7 = A.typeLiteral("AssignDNA"); + B.Type__$AssignDNA_OBE = A.typeLiteral("_$AssignDNA"); + B.List_fvk = A._setArrayType(makeConstList([B.Type_AssignDNA_Mi7, B.Type__$AssignDNA_OBE]), type$.JSArray_legacy_Type); + B.Type_DomainsMoveStop_a5W = A.typeLiteral("DomainsMoveStop"); + B.Type__$DomainsMoveStop_QTd = A.typeLiteral("_$DomainsMoveStop"); + B.List_gDw = A._setArrayType(makeConstList([B.Type_DomainsMoveStop_a5W, B.Type__$DomainsMoveStop_QTd]), type$.JSArray_legacy_Type); + B.Type_lub = A.typeLiteral("SetDisplayMajorTickWidthsAllHelices"); + B.Type_eAf = A.typeLiteral("_$SetDisplayMajorTickWidthsAllHelices"); + B.List_gJ1 = A._setArrayType(makeConstList([B.Type_lub, B.Type_eAf]), type$.JSArray_legacy_Type); + B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.Type_DomainNameMismatch_8Gl = A.typeLiteral("DomainNameMismatch"); + B.Type__$DomainNameMismatch_uEV = A.typeLiteral("_$DomainNameMismatch"); + B.List_gUw = A._setArrayType(makeConstList([B.Type_DomainNameMismatch_8Gl, B.Type__$DomainNameMismatch_uEV]), type$.JSArray_legacy_Type); + B.Type_SliceBarMoveStop_Zlp = A.typeLiteral("SliceBarMoveStop"); + B.Type__$SliceBarMoveStop_t6A = A.typeLiteral("_$SliceBarMoveStop"); + B.List_gaI = A._setArrayType(makeConstList([B.Type_SliceBarMoveStop_Zlp, B.Type__$SliceBarMoveStop_t6A]), type$.JSArray_legacy_Type); + B.Type_ekJ = A.typeLiteral("AssignDomainNameComplementFromBoundDomains"); + B.Type_OvP = A.typeLiteral("_$AssignDomainNameComplementFromBoundDomains"); + B.List_gc6 = A._setArrayType(makeConstList([B.Type_ekJ, B.Type_OvP]), type$.JSArray_legacy_Type); + B.Type_43h = A.typeLiteral("OxExportOnlySelectedStrandsSet"); + B.Type_VQ4 = A.typeLiteral("_$OxExportOnlySelectedStrandsSet"); + B.List_ggc = A._setArrayType(makeConstList([B.Type_43h, B.Type_VQ4]), type$.JSArray_legacy_Type); + B.Type_DesignSideRotationParams_EQs = A.typeLiteral("DesignSideRotationParams"); + B.Type__$DesignSideRotationParams_T3V = A.typeLiteral("_$DesignSideRotationParams"); + B.List_gn0 = A._setArrayType(makeConstList([B.Type_DesignSideRotationParams_EQs, B.Type__$DesignSideRotationParams_T3V]), type$.JSArray_legacy_Type); + B.Type__$Crossover_mpd = A.typeLiteral("_$Crossover"); + B.List_go8 = A._setArrayType(makeConstList([B.Type_Crossover_w3m, B.Type__$Crossover_mpd]), type$.JSArray_legacy_Type); + B.Type_StrandCreateStop_Ak6 = A.typeLiteral("StrandCreateStop"); + B.Type__$StrandCreateStop_89t = A.typeLiteral("_$StrandCreateStop"); + B.List_goM = A._setArrayType(makeConstList([B.Type_StrandCreateStop_Ak6, B.Type__$StrandCreateStop_89t]), type$.JSArray_legacy_Type); + B.Type__$DNAExtensionsMove_ES1 = A.typeLiteral("_$DNAExtensionsMove"); + B.List_grL = A._setArrayType(makeConstList([B.Type_DNAExtensionsMove_0My, B.Type__$DNAExtensionsMove_ES1]), type$.JSArray_legacy_Type); + B.List_groove_angle = A._setArrayType(makeConstList(["groove_angle"]), type$.JSArray_legacy_String); + B.Type_PlateWellVendorFieldsAssign_d1W = A.typeLiteral("PlateWellVendorFieldsAssign"); + B.Type_NME = A.typeLiteral("_$PlateWellVendorFieldsAssign"); + B.List_gsm = A._setArrayType(makeConstList([B.Type_PlateWellVendorFieldsAssign_d1W, B.Type_NME]), type$.JSArray_legacy_Type); + B.Type_SelectModesSet_erW = A.typeLiteral("SelectModesSet"); + B.Type__$SelectModesSet_P5Z = A.typeLiteral("_$SelectModesSet"); + B.List_gsm0 = A._setArrayType(makeConstList([B.Type_SelectModesSet_erW, B.Type__$SelectModesSet_P5Z]), type$.JSArray_legacy_Type); + B.List_hLM = A._setArrayType(makeConstList([B.Grid_square, B.Grid_hex, B.Grid_honeycomb, B.Grid_none]), A.findType("JSArray")); + B.Type_HelixGroupMoveStart_RyU = A.typeLiteral("HelixGroupMoveStart"); + B.Type__$HelixGroupMoveStart_0 = A.typeLiteral("_$HelixGroupMoveStart"); + B.List_hkU = A._setArrayType(makeConstList([B.Type_HelixGroupMoveStart_RyU, B.Type__$HelixGroupMoveStart_0]), type$.JSArray_legacy_Type); + B.List_i3t = A._setArrayType(makeConstList([1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577]), type$.JSArray_legacy_int); + B.Type_Autostaple_aZ8 = A.typeLiteral("Autostaple"); + B.Type__$Autostaple_EyI = A.typeLiteral("_$Autostaple"); + B.List_i9o = A._setArrayType(makeConstList([B.Type_Autostaple_aZ8, B.Type__$Autostaple_EyI]), type$.JSArray_legacy_Type); + B.Type_uUr = A.typeLiteral("HelixGroupMoveAdjustTranslation"); + B.Type_irK = A.typeLiteral("_$HelixGroupMoveAdjustTranslation"); + B.List_iHz = A._setArrayType(makeConstList([B.Type_uUr, B.Type_irK]), type$.JSArray_legacy_Type); + B.List_iYO = A._setArrayType(makeConstList([0, 5, 16, 5, 8, 5, 24, 5, 4, 5, 20, 5, 12, 5, 28, 5, 2, 5, 18, 5, 10, 5, 26, 5, 6, 5, 22, 5, 14, 5, 30, 5, 1, 5, 17, 5, 9, 5, 25, 5, 5, 5, 21, 5, 13, 5, 29, 5, 3, 5, 19, 5, 11, 5, 27, 5, 7, 5, 23, 5]), type$.JSArray_legacy_int); + B.Type__$GridPosition_aU7 = A.typeLiteral("_$GridPosition"); + B.List_ibp = A._setArrayType(makeConstList([B.Type_GridPosition_IuH, B.Type__$GridPosition_aU7]), type$.JSArray_legacy_Type); + B.List_idt = A._setArrayType(makeConstList(["idt"]), type$.JSArray_legacy_String); + B.List_idt_text = A._setArrayType(makeConstList(["idt_text"]), type$.JSArray_legacy_String); + B.Type_DNAEndsMoveStart_J4X = A.typeLiteral("DNAEndsMoveStart"); + B.Type__$DNAEndsMoveStart_8I8 = A.typeLiteral("_$DNAEndsMoveStart"); + B.List_ifL = A._setArrayType(makeConstList([B.Type_DNAEndsMoveStart_J4X, B.Type__$DNAEndsMoveStart_8I8]), type$.JSArray_legacy_Type); + B.Type_SelectModeToggle_2Hm = A.typeLiteral("SelectModeToggle"); + B.Type__$SelectModeToggle_RWp = A.typeLiteral("_$SelectModeToggle"); + B.List_ifn = A._setArrayType(makeConstList([B.Type_SelectModeToggle_2Hm, B.Type__$SelectModeToggle_RWp]), type$.JSArray_legacy_Type); + B.Type_DialogFloat_cQL = A.typeLiteral("DialogFloat"); + B.Type__$DialogFloat_EOY = A.typeLiteral("_$DialogFloat"); + B.List_ijl = A._setArrayType(makeConstList([B.Type_DialogFloat_cQL, B.Type__$DialogFloat_EOY]), type$.JSArray_legacy_Type); + B.List_in0 = A._setArrayType(makeConstList(["font-size", "font-family", "font-weight", "text-anchor", "dominant-baseline", "fill", "letter-spacing"]), type$.JSArray_legacy_String); + B.Type_SelectModesAdd_erW = A.typeLiteral("SelectModesAdd"); + B.Type__$SelectModesAdd_cgC = A.typeLiteral("_$SelectModesAdd"); + B.List_ivT = A._setArrayType(makeConstList([B.Type_SelectModesAdd_erW, B.Type__$SelectModesAdd_cgC]), type$.JSArray_legacy_Type); + B.Type_SliceBarMoveStart_3p4 = A.typeLiteral("SliceBarMoveStart"); + B.Type__$SliceBarMoveStart_yd2 = A.typeLiteral("_$SliceBarMoveStart"); + B.List_izV0 = A._setArrayType(makeConstList([B.Type_SliceBarMoveStart_3p4, B.Type__$SliceBarMoveStart_yd2]), type$.JSArray_legacy_Type); + B.Type_GroupDisplayedChange_RtW = A.typeLiteral("GroupDisplayedChange"); + B.Type__$GroupDisplayedChange_4aQ = A.typeLiteral("_$GroupDisplayedChange"); + B.List_j6U = A._setArrayType(makeConstList([B.Type_GroupDisplayedChange_RtW, B.Type__$GroupDisplayedChange_4aQ]), type$.JSArray_legacy_Type); + B.Type_ModificationAdd_zkc = A.typeLiteral("ModificationAdd"); + B.Type__$ModificationAdd_YfA = A.typeLiteral("_$ModificationAdd"); + B.List_jDT = A._setArrayType(makeConstList([B.Type_ModificationAdd_zkc, B.Type__$ModificationAdd_YfA]), type$.JSArray_legacy_Type); + B.Type_SelectionBoxRemove_WXD = A.typeLiteral("SelectionBoxRemove"); + B.Type__$SelectionBoxRemove_6Ps = A.typeLiteral("_$SelectionBoxRemove"); + B.List_jYc = A._setArrayType(makeConstList([B.Type_SelectionBoxRemove_WXD, B.Type__$SelectionBoxRemove_6Ps]), type$.JSArray_legacy_Type); + B.Type__$MouseoverParams_3GN = A.typeLiteral("_$MouseoverParams"); + B.List_jlU = A._setArrayType(makeConstList([B.Type_MouseoverParams_ArU, B.Type__$MouseoverParams_3GN]), type$.JSArray_legacy_Type); + B.Type_ZoomSpeedSet_429 = A.typeLiteral("ZoomSpeedSet"); + B.Type__$ZoomSpeedSet_4CA = A.typeLiteral("_$ZoomSpeedSet"); + B.List_joV = A._setArrayType(makeConstList([B.Type_ZoomSpeedSet_429, B.Type__$ZoomSpeedSet_4CA]), type$.JSArray_legacy_Type); + B.Type_LoopoutsLengthChange_sDv = A.typeLiteral("LoopoutsLengthChange"); + B.Type__$LoopoutsLengthChange_Odg = A.typeLiteral("_$LoopoutsLengthChange"); + B.List_kTd = A._setArrayType(makeConstList([B.Type_LoopoutsLengthChange_sDv, B.Type__$LoopoutsLengthChange_Odg]), type$.JSArray_legacy_Type); + B.Type_GroupAdd_0 = A.typeLiteral("GroupAdd"); + B.Type__$GroupAdd_33h = A.typeLiteral("_$GroupAdd"); + B.List_kWG = A._setArrayType(makeConstList([B.Type_GroupAdd_0, B.Type__$GroupAdd_33h]), type$.JSArray_legacy_Type); + B.Type_OxdnaExport_fsZ = A.typeLiteral("OxdnaExport"); + B.Type__$OxdnaExport_Lln = A.typeLiteral("_$OxdnaExport"); + B.List_kaS = A._setArrayType(makeConstList([B.Type_OxdnaExport_fsZ, B.Type__$OxdnaExport_Lln]), type$.JSArray_legacy_Type); + B.List_key_ref_children = A._setArrayType(makeConstList(["key", "ref", "children"]), type$.JSArray_legacy_String); + B.Type_DeletionAdd_66k = A.typeLiteral("DeletionAdd"); + B.Type__$DeletionAdd_6hp = A.typeLiteral("_$DeletionAdd"); + B.List_kjq = A._setArrayType(makeConstList([B.Type_DeletionAdd_66k, B.Type__$DeletionAdd_6hp]), type$.JSArray_legacy_Type); + B.Type_DNAEndsMoveStop_0 = A.typeLiteral("DNAEndsMoveStop"); + B.Type__$DNAEndsMoveStop_oTd = A.typeLiteral("_$DNAEndsMoveStop"); + B.List_kmC = A._setArrayType(makeConstList([B.Type_DNAEndsMoveStop_0, B.Type__$DNAEndsMoveStop_oTd]), type$.JSArray_legacy_Type); + B.Type_HelixMaxOffsetSetByDomains_6i0 = A.typeLiteral("HelixMaxOffsetSetByDomains"); + B.Type__$HelixMaxOffsetSetByDomains_MDT = A.typeLiteral("_$HelixMaxOffsetSetByDomains"); + B.List_kmC0 = A._setArrayType(makeConstList([B.Type_HelixMaxOffsetSetByDomains_6i0, B.Type__$HelixMaxOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); + B.Type_idv = A.typeLiteral("ShowLoopoutExtensionLengthSet"); + B.Type_1Ch = A.typeLiteral("_$ShowLoopoutExtensionLengthSet"); + B.List_knt0 = A._setArrayType(makeConstList([B.Type_idv, B.Type_1Ch]), type$.JSArray_legacy_Type); + B.Type_ShowSliceBarSet_wo4 = A.typeLiteral("ShowSliceBarSet"); + B.Type__$ShowSliceBarSet_EyI = A.typeLiteral("_$ShowSliceBarSet"); + B.List_knt1 = A._setArrayType(makeConstList([B.Type_ShowSliceBarSet_wo4, B.Type__$ShowSliceBarSet_EyI]), type$.JSArray_legacy_Type); + B.List_knt = A._setArrayType(makeConstList([0, 1, 3, 7, 15, 31, 63, 127, 255]), type$.JSArray_legacy_int); + B.Type_cFY = A.typeLiteral("StrandOrSubstrandColorPickerShow"); + B.Type_lq40 = A.typeLiteral("_$StrandOrSubstrandColorPickerShow"); + B.List_ky0 = A._setArrayType(makeConstList([B.Type_cFY, B.Type_lq40]), type$.JSArray_legacy_Type); + B.Type_oKc = A.typeLiteral("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + B.Type_uMb = A.typeLiteral("_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + B.List_kzZ = A._setArrayType(makeConstList([B.Type_oKc, B.Type_uMb]), type$.JSArray_legacy_Type); + B.Type__$Address_wPM = A.typeLiteral("_$Address"); + B.List_liY = A._setArrayType(makeConstList([B.Type_Address_WHr, B.Type__$Address_wPM]), type$.JSArray_legacy_Type); + B.List_loopout_label_name_color = A._setArrayType(makeConstList(["loopout", "label", "name", "color"]), type$.JSArray_legacy_String); + B.Type_StrandOrSubstrandColorSet_uSA = A.typeLiteral("StrandOrSubstrandColorSet"); + B.Type__$StrandOrSubstrandColorSet_UAS = A.typeLiteral("_$StrandOrSubstrandColorSet"); + B.List_m1u = A._setArrayType(makeConstList([B.Type_StrandOrSubstrandColorSet_uSA, B.Type__$StrandOrSubstrandColorSet_UAS]), type$.JSArray_legacy_Type); + B.Type__$SelectionBox_i7R = A.typeLiteral("_$SelectionBox"); + B.List_mHo = A._setArrayType(makeConstList([B.Type_SelectionBox_cdS, B.Type__$SelectionBox_i7R]), type$.JSArray_legacy_Type); + B.Type_SetAppUIStateStorable_yFU = A.typeLiteral("SetAppUIStateStorable"); + B.Type__$SetAppUIStateStorable_SvO = A.typeLiteral("_$SetAppUIStateStorable"); + B.List_mOq = A._setArrayType(makeConstList([B.Type_SetAppUIStateStorable_yFU, B.Type__$SetAppUIStateStorable_SvO]), type$.JSArray_legacy_Type); + B.Type_5qD = A.typeLiteral("HelicesPositionsSetBasedOnCrossovers"); + B.Type_xeg = A.typeLiteral("_$HelicesPositionsSetBasedOnCrossovers"); + B.List_mio = A._setArrayType(makeConstList([B.Type_5qD, B.Type_xeg]), type$.JSArray_legacy_Type); + B.Type_JoinStrandsByCrossover_AKW = A.typeLiteral("JoinStrandsByCrossover"); + B.Type__$JoinStrandsByCrossover_wZL = A.typeLiteral("_$JoinStrandsByCrossover"); + B.List_mq4 = A._setArrayType(makeConstList([B.Type_JoinStrandsByCrossover_AKW, B.Type__$JoinStrandsByCrossover_wZL]), type$.JSArray_legacy_Type); + B.Type_ExtensionsNumBasesChange_uww = A.typeLiteral("ExtensionsNumBasesChange"); + B.Type__$ExtensionsNumBasesChange_69t = A.typeLiteral("_$ExtensionsNumBasesChange"); + B.List_mtF = A._setArrayType(makeConstList([B.Type_ExtensionsNumBasesChange_uww, B.Type__$ExtensionsNumBasesChange_69t]), type$.JSArray_legacy_Type); + B.Type__$HelixGroup_8aB = A.typeLiteral("_$HelixGroup"); + B.List_n7k = A._setArrayType(makeConstList([B.Type_HelixGroup_tsp, B.Type__$HelixGroup_8aB]), type$.JSArray_legacy_Type); + B.Type_PrepareToLoadDNAFile_0qq = A.typeLiteral("PrepareToLoadDNAFile"); + B.Type__$PrepareToLoadDNAFile_mdk = A.typeLiteral("_$PrepareToLoadDNAFile"); + B.List_nFv = A._setArrayType(makeConstList([B.Type_PrepareToLoadDNAFile_0qq, B.Type__$PrepareToLoadDNAFile_mdk]), type$.JSArray_legacy_Type); + B.Type_DialogInteger_gsm = A.typeLiteral("DialogInteger"); + B.Type__$DialogInteger_q4m = A.typeLiteral("_$DialogInteger"); + B.List_nKT = A._setArrayType(makeConstList([B.Type_DialogInteger_gsm, B.Type__$DialogInteger_q4m]), type$.JSArray_legacy_Type); + B.Type_GridChange_3ad = A.typeLiteral("GridChange"); + B.Type__$GridChange_Ohn = A.typeLiteral("_$GridChange"); + B.List_nNZ = A._setArrayType(makeConstList([B.Type_GridChange_3ad, B.Type__$GridChange_Ohn]), type$.JSArray_legacy_Type); + B.Type_PlateWellVendorFieldsRemove_ZKs = A.typeLiteral("PlateWellVendorFieldsRemove"); + B.Type_NME0 = A.typeLiteral("_$PlateWellVendorFieldsRemove"); + B.List_nXg = A._setArrayType(makeConstList([B.Type_PlateWellVendorFieldsRemove_ZKs, B.Type_NME0]), type$.JSArray_legacy_Type); + B.Type__$ModificationInternal_cUt = A.typeLiteral("_$ModificationInternal"); + B.List_neG = A._setArrayType(makeConstList([B.Type_ModificationInternal_7vk, B.Type__$ModificationInternal_cUt]), type$.JSArray_legacy_Type); + B.Type_SelectOrToggleItems_iDZ = A.typeLiteral("SelectOrToggleItems"); + B.Type__$SelectOrToggleItems_Guu = A.typeLiteral("_$SelectOrToggleItems"); + B.List_ntz = A._setArrayType(makeConstList([B.Type_SelectOrToggleItems_iDZ, B.Type__$SelectOrToggleItems_Guu]), type$.JSArray_legacy_Type); + B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.Type_StrandsMoveStart_6rf = A.typeLiteral("StrandsMoveStart"); + B.Type__$StrandsMoveStart_2rX = A.typeLiteral("_$StrandsMoveStart"); + B.List_nz1 = A._setArrayType(makeConstList([B.Type_StrandsMoveStart_6rf, B.Type__$StrandsMoveStart_2rX]), type$.JSArray_legacy_Type); + B.Type__$ExportSvg_bFE = A.typeLiteral("_$ExportSvg"); + B.List_oBb = A._setArrayType(makeConstList([B.Type_ExportSvg_Gt8, B.Type__$ExportSvg_bFE]), type$.JSArray_legacy_Type); + B.Type_8eb = A.typeLiteral("DefaultCrossoverTypeForSettingHelixRollsSet"); + B.Type_JfL = A.typeLiteral("_$DefaultCrossoverTypeForSettingHelixRollsSet"); + B.List_oXN = A._setArrayType(makeConstList([B.Type_8eb, B.Type_JfL]), type$.JSArray_legacy_Type); + B.Type_GeometrySet_GR2 = A.typeLiteral("GeometrySet"); + B.Type__$GeometrySet_xHw = A.typeLiteral("_$GeometrySet"); + B.List_olV = A._setArrayType(makeConstList([B.Type_GeometrySet_GR2, B.Type__$GeometrySet_xHw]), type$.JSArray_legacy_Type); + B.List_origin = A._setArrayType(makeConstList(["origin"]), type$.JSArray_legacy_String); + B.Type__$ExampleDesigns_Am8 = A.typeLiteral("_$ExampleDesigns"); + B.List_ouD = A._setArrayType(makeConstList([B.Type_ExampleDesigns_cWU, B.Type__$ExampleDesigns_Am8]), type$.JSArray_legacy_Type); + B.Type_InsertionAdd_bXX = A.typeLiteral("InsertionAdd"); + B.Type__$InsertionAdd_cJC = A.typeLiteral("_$InsertionAdd"); + B.List_oyU = A._setArrayType(makeConstList([B.Type_InsertionAdd_bXX, B.Type__$InsertionAdd_cJC]), type$.JSArray_legacy_Type); + B.Type_StrandLabelFontSizeSet_EjN = A.typeLiteral("StrandLabelFontSizeSet"); + B.Type__$StrandLabelFontSizeSet_YKi = A.typeLiteral("_$StrandLabelFontSizeSet"); + B.List_oyn = A._setArrayType(makeConstList([B.Type_StrandLabelFontSizeSet_EjN, B.Type__$StrandLabelFontSizeSet_YKi]), type$.JSArray_legacy_Type); + B.Type__$ContextMenuItem_aOd = A.typeLiteral("_$ContextMenuItem"); + B.List_pU4 = A._setArrayType(makeConstList([B.Type_ContextMenuItem_c0h, B.Type__$ContextMenuItem_aOd]), type$.JSArray_legacy_Type); + B.Type_GroupChange_6pr = A.typeLiteral("GroupChange"); + B.Type__$GroupChange_Wnx = A.typeLiteral("_$GroupChange"); + B.List_pUC = A._setArrayType(makeConstList([B.Type_GroupChange_6pr, B.Type__$GroupChange_Wnx]), type$.JSArray_legacy_Type); + B.List_parameters = A._setArrayType(makeConstList(["parameters"]), type$.JSArray_legacy_String); + B.Type_EditModeToggle_gsM = A.typeLiteral("EditModeToggle"); + B.Type__$EditModeToggle_ef1 = A.typeLiteral("_$EditModeToggle"); + B.List_q7D = A._setArrayType(makeConstList([B.Type_EditModeToggle_gsM, B.Type__$EditModeToggle_ef1]), type$.JSArray_legacy_Type); + B.Type_WVp = A.typeLiteral("HelixMinOffsetSetByDomainsAll"); + B.Type_RkP0 = A.typeLiteral("_$HelixMinOffsetSetByDomainsAll"); + B.List_q96 = A._setArrayType(makeConstList([B.Type_WVp, B.Type_RkP0]), type$.JSArray_legacy_Type); + B.Type_ShowMouseoverRectSet_9we = A.typeLiteral("ShowMouseoverRectSet"); + B.Type__$ShowMouseoverRectSet_G3z = A.typeLiteral("_$ShowMouseoverRectSet"); + B.List_qKv = A._setArrayType(makeConstList([B.Type_ShowMouseoverRectSet_9we, B.Type__$ShowMouseoverRectSet_G3z]), type$.JSArray_legacy_Type); + B.Type__$SelectModeState_uYn = A.typeLiteral("_$SelectModeState"); + B.List_qLL = A._setArrayType(makeConstList([B.Type_SelectModeState_qx4, B.Type__$SelectModeState_uYn]), type$.JSArray_legacy_Type); + B.Type_DeletionRemove_6PY = A.typeLiteral("DeletionRemove"); + B.Type__$DeletionRemove_Vyt = A.typeLiteral("_$DeletionRemove"); + B.List_qNA0 = A._setArrayType(makeConstList([B.Type_DeletionRemove_6PY, B.Type__$DeletionRemove_Vyt]), type$.JSArray_legacy_Type); + B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.List_qQn = A._setArrayType(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]), type$.JSArray_legacy_int); + B.List_qQn0 = A._setArrayType(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0]), type$.JSArray_legacy_int); + B.List_qQn1 = A._setArrayType(makeConstList([3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258]), type$.JSArray_legacy_int); + B.Type_LoadDnaSequenceImageUri_DtQ = A.typeLiteral("LoadDnaSequenceImageUri"); + B.Type__$LoadDnaSequenceImageUri_L1G = A.typeLiteral("_$LoadDnaSequenceImageUri"); + B.List_qbL = A._setArrayType(makeConstList([B.Type_LoadDnaSequenceImageUri_DtQ, B.Type__$LoadDnaSequenceImageUri_L1G]), type$.JSArray_legacy_Type); + B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.Type_HelixSelectionsAdjust_Gx1 = A.typeLiteral("HelixSelectionsAdjust"); + B.Type__$HelixSelectionsAdjust_iV0 = A.typeLiteral("_$HelixSelectionsAdjust"); + B.List_qr1 = A._setArrayType(makeConstList([B.Type_HelixSelectionsAdjust_Gx1, B.Type__$HelixSelectionsAdjust_iV0]), type$.JSArray_legacy_Type); + B.List_right = A._setArrayType(makeConstList(["right"]), type$.JSArray_legacy_String); + B.Type_DialogHide_0a1 = A.typeLiteral("DialogHide"); + B.Type__$DialogHide_at4 = A.typeLiteral("_$DialogHide"); + B.List_ro0 = A._setArrayType(makeConstList([B.Type_DialogHide_0a1, B.Type__$DialogHide_at4]), type$.JSArray_legacy_Type); + B.Type_PotentialCrossoverRemove_wsa = A.typeLiteral("PotentialCrossoverRemove"); + B.Type__$PotentialCrossoverRemove_7BT = A.typeLiteral("_$PotentialCrossoverRemove"); + B.List_rv4 = A._setArrayType(makeConstList([B.Type_PotentialCrossoverRemove_wsa, B.Type__$PotentialCrossoverRemove_7BT]), type$.JSArray_legacy_Type); + B.Type__$AppUIStateStorables_fqj = A.typeLiteral("_$AppUIStateStorables"); + B.List_s9c = A._setArrayType(makeConstList([B.Type_AppUIStateStorables_AS6, B.Type__$AppUIStateStorables_fqj]), type$.JSArray_legacy_Type); + B.List_sEI = A._setArrayType(makeConstList(["name", "scale", "purification", "plate", "well"]), type$.JSArray_legacy_String); + B.Type_EditModesSet_u3m = A.typeLiteral("EditModesSet"); + B.Type__$EditModesSet_fTF = A.typeLiteral("_$EditModesSet"); + B.List_sI7 = A._setArrayType(makeConstList([B.Type_EditModesSet_u3m, B.Type__$EditModesSet_fTF]), type$.JSArray_legacy_Type); + B.Type_BasePairTypeSet_Fcu = A.typeLiteral("BasePairTypeSet"); + B.Type__$BasePairTypeSet_ES6 = A.typeLiteral("_$BasePairTypeSet"); + B.List_sNW = A._setArrayType(makeConstList([B.Type_BasePairTypeSet_Fcu, B.Type__$BasePairTypeSet_ES6]), type$.JSArray_legacy_Type); + B.Type_DomainsMoveAdjustAddress_woc = A.typeLiteral("DomainsMoveAdjustAddress"); + B.Type__$DomainsMoveAdjustAddress_8FR = A.typeLiteral("_$DomainsMoveAdjustAddress"); + B.List_ssD = A._setArrayType(makeConstList([B.Type_DomainsMoveAdjustAddress_woc, B.Type__$DomainsMoveAdjustAddress_8FR]), type$.JSArray_legacy_Type); + B.List_substrands = A._setArrayType(makeConstList(["substrands"]), type$.JSArray_legacy_String); + B.Type__$HelixGroupMove_gcy = A.typeLiteral("_$HelixGroupMove"); + B.List_sxw = A._setArrayType(makeConstList([B.Type_HelixGroupMove_sE6, B.Type__$HelixGroupMove_gcy]), type$.JSArray_legacy_Type); + B.Type_LoadingDialogShow_X3n = A.typeLiteral("LoadingDialogShow"); + B.Type__$LoadingDialogShow_mqK = A.typeLiteral("_$LoadingDialogShow"); + B.List_t3J = A._setArrayType(makeConstList([B.Type_LoadingDialogShow_X3n, B.Type__$LoadingDialogShow_mqK]), type$.JSArray_legacy_Type); + B.Type_ExtensionAdd_6eX = A.typeLiteral("ExtensionAdd"); + B.Type__$ExtensionAdd_qns = A.typeLiteral("_$ExtensionAdd"); + B.List_tI7 = A._setArrayType(makeConstList([B.Type_ExtensionAdd_6eX, B.Type__$ExtensionAdd_qns]), type$.JSArray_legacy_Type); + B.Type_EmR = A.typeLiteral("SetExportSvgActionDelayedForPngCache"); + B.Type_ia7 = A.typeLiteral("_$SetExportSvgActionDelayedForPngCache"); + B.List_tqs = A._setArrayType(makeConstList([B.Type_EmR, B.Type_ia7]), type$.JSArray_legacy_Type); + B.Type__$DomainsMove_4QF = A.typeLiteral("_$DomainsMove"); + B.List_u2S = A._setArrayType(makeConstList([B.Type_DomainsMove_Js5, B.Type__$DomainsMove_4QF]), type$.JSArray_legacy_Type); + B.Type_MouseGridPositionSideUpdate_fvk = A.typeLiteral("MouseGridPositionSideUpdate"); + B.Type_Lpb = A.typeLiteral("_$MouseGridPositionSideUpdate"); + B.List_u77 = A._setArrayType(makeConstList([B.Type_MouseGridPositionSideUpdate_fvk, B.Type_Lpb]), type$.JSArray_legacy_Type); + B.Type_MajorTickWidthFontSizeSet_ORm = A.typeLiteral("MajorTickWidthFontSizeSet"); + B.Type__$MajorTickWidthFontSizeSet_h2N = A.typeLiteral("_$MajorTickWidthFontSizeSet"); + B.List_u9T = A._setArrayType(makeConstList([B.Type_MajorTickWidthFontSizeSet_ORm, B.Type__$MajorTickWidthFontSizeSet_h2N]), type$.JSArray_legacy_Type); + B.Type__$Helix_gkc = A.typeLiteral("_$Helix"); + B.List_uHJ = A._setArrayType(makeConstList([B.Type_Helix_cIf, B.Type__$Helix_gkc]), type$.JSArray_legacy_Type); + B.List_uSC0 = A._setArrayType(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]), type$.JSArray_legacy_int); + B.List_uSC = A._setArrayType(makeConstList([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), type$.JSArray_legacy_int); + B.Type_SubstrandLabelSet_hid = A.typeLiteral("SubstrandLabelSet"); + B.Type__$SubstrandLabelSet_0Iu = A.typeLiteral("_$SubstrandLabelSet"); + B.List_ucM = A._setArrayType(makeConstList([B.Type_SubstrandLabelSet_hid, B.Type__$SubstrandLabelSet_0Iu]), type$.JSArray_legacy_Type); + B.Type_ShowModificationsSet_ouN = A.typeLiteral("ShowModificationsSet"); + B.Type__$ShowModificationsSet_H6l = A.typeLiteral("_$ShowModificationsSet"); + B.List_urY = A._setArrayType(makeConstList([B.Type_ShowModificationsSet_ouN, B.Type__$ShowModificationsSet_H6l]), type$.JSArray_legacy_Type); + B.Type_DialogTextArea_fPs = A.typeLiteral("DialogTextArea"); + B.Type__$DialogTextArea_8kG = A.typeLiteral("_$DialogTextArea"); + B.List_uwZ = A._setArrayType(makeConstList([B.Type_DialogTextArea_fPs, B.Type__$DialogTextArea_8kG]), type$.JSArray_legacy_Type); + B.Type_893 = A.typeLiteral("_$SelectableModificationInternal"); + B.List_v3C = A._setArrayType(makeConstList([B.Type_MEg, B.Type_893]), type$.JSArray_legacy_Type); + B.Type_DesignSideRotationData_EGJ = A.typeLiteral("DesignSideRotationData"); + B.Type__$DesignSideRotationData_6Tu = A.typeLiteral("_$DesignSideRotationData"); + B.List_vEs = A._setArrayType(makeConstList([B.Type_DesignSideRotationData_EGJ, B.Type__$DesignSideRotationData_6Tu]), type$.JSArray_legacy_Type); + B.Type_LoadingDialogHide_eHy = A.typeLiteral("LoadingDialogHide"); + B.Type__$LoadingDialogHide_wk6 = A.typeLiteral("_$LoadingDialogHide"); + B.List_wEo = A._setArrayType(makeConstList([B.Type_LoadingDialogHide_eHy, B.Type__$LoadingDialogHide_wk6]), type$.JSArray_legacy_Type); + B.Type_Select_eR6 = A.typeLiteral("Select"); + B.Type__$Select_WQs = A.typeLiteral("_$Select"); + B.List_wEo0 = A._setArrayType(makeConstList([B.Type_Select_eR6, B.Type__$Select_WQs]), type$.JSArray_legacy_Type); + B.Type_SelectionRopeMouseMove_Hx1 = A.typeLiteral("SelectionRopeMouseMove"); + B.Type__$SelectionRopeMouseMove_8I8 = A.typeLiteral("_$SelectionRopeMouseMove"); + B.List_wEo1 = A._setArrayType(makeConstList([B.Type_SelectionRopeMouseMove_Hx1, B.Type__$SelectionRopeMouseMove_8I8]), type$.JSArray_legacy_Type); + B.Type_SelectionBoxSizeChange_kWM = A.typeLiteral("SelectionBoxSizeChange"); + B.Type__$SelectionBoxSizeChange_uDM = A.typeLiteral("_$SelectionBoxSizeChange"); + B.List_wEs = A._setArrayType(makeConstList([B.Type_SelectionBoxSizeChange_kWM, B.Type__$SelectionBoxSizeChange_uDM]), type$.JSArray_legacy_Type); + B.List_wSV = A._setArrayType(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_legacy_String); + B.Type_ModificationFontSizeSet_H3E = A.typeLiteral("ModificationFontSizeSet"); + B.Type__$ModificationFontSizeSet_eZY = A.typeLiteral("_$ModificationFontSizeSet"); + B.List_wbQ = A._setArrayType(makeConstList([B.Type_ModificationFontSizeSet_H3E, B.Type__$ModificationFontSizeSet_eZY]), type$.JSArray_legacy_Type); + B.Type_aPH = A.typeLiteral("DomainsMoveStartSelectedDomains"); + B.Type_gg9 = A.typeLiteral("_$DomainsMoveStartSelectedDomains"); + B.List_wsf = A._setArrayType(makeConstList([B.Type_aPH, B.Type_gg9]), type$.JSArray_legacy_Type); + B.List_ww80 = A._setArrayType(makeConstList([23, 114, 69, 56, 80, 144]), type$.JSArray_legacy_int); + B.List_ww8 = A._setArrayType(makeConstList([49, 65, 89, 38, 83, 89]), type$.JSArray_legacy_int); + B.Type_StrandsReflect_8qt = A.typeLiteral("StrandsReflect"); + B.Type__$StrandsReflect_h00 = A.typeLiteral("_$StrandsReflect"); + B.List_wwi = A._setArrayType(makeConstList([B.Type_StrandsReflect_8qt, B.Type__$StrandsReflect_h00]), type$.JSArray_legacy_Type); + B.Type__$AddressDifference_IXT = A.typeLiteral("_$AddressDifference"); + B.List_xTK = A._setArrayType(makeConstList([B.Type_AddressDifference_p4P, B.Type__$AddressDifference_IXT]), type$.JSArray_legacy_Type); + B.Type_ShowDomainLabelsSet_GbU = A.typeLiteral("ShowDomainLabelsSet"); + B.Type__$ShowDomainLabelsSet_oKF = A.typeLiteral("_$ShowDomainLabelsSet"); + B.List_xTV = A._setArrayType(makeConstList([B.Type_ShowDomainLabelsSet_GbU, B.Type__$ShowDomainLabelsSet_oKF]), type$.JSArray_legacy_Type); + B.Type_HelixAdd_yzz = A.typeLiteral("HelixAdd"); + B.Type__$HelixAdd_690 = A.typeLiteral("_$HelixAdd"); + B.List_xw8 = A._setArrayType(makeConstList([B.Type_HelixAdd_yzz, B.Type__$HelixAdd_690]), type$.JSArray_legacy_Type); + B.Type_UndoRedoItem_upI = A.typeLiteral("UndoRedoItem"); + B.Type__$UndoRedoItem_Aec = A.typeLiteral("_$UndoRedoItem"); + B.List_y1j = A._setArrayType(makeConstList([B.Type_UndoRedoItem_upI, B.Type__$UndoRedoItem_Aec]), type$.JSArray_legacy_Type); + B.StrandOrder_five_prime = new A.StrandOrder("five_prime"); + B.StrandOrder_three_prime = new A.StrandOrder("three_prime"); + B.StrandOrder_five_or_three_prime = new A.StrandOrder("five_or_three_prime"); + B.StrandOrder_top_left_domain_start = new A.StrandOrder("top_left_domain_start"); + B.List_yHF = A._setArrayType(makeConstList([B.StrandOrder_five_prime, B.StrandOrder_three_prime, B.StrandOrder_five_or_three_prime, B.StrandOrder_top_left_domain_start]), A.findType("JSArray")); + B.Type_ThrottledActionNonFast_mpZ = A.typeLiteral("ThrottledActionNonFast"); + B.Type__$ThrottledActionNonFast_UEW = A.typeLiteral("_$ThrottledActionNonFast"); + B.List_yJg = A._setArrayType(makeConstList([B.Type_ThrottledActionNonFast_mpZ, B.Type__$ThrottledActionNonFast_UEW]), type$.JSArray_legacy_Type); + B.Type_HelixMajorTickDistanceChange_yTb = A.typeLiteral("HelixMajorTickDistanceChange"); + B.Type_G3O = A.typeLiteral("_$HelixMajorTickDistanceChange"); + B.List_yP5 = A._setArrayType(makeConstList([B.Type_HelixMajorTickDistanceChange_yTb, B.Type_G3O]), type$.JSArray_legacy_Type); + B.Type_ReplaceStrands_aoE = A.typeLiteral("ReplaceStrands"); + B.Type__$ReplaceStrands_yTp = A.typeLiteral("_$ReplaceStrands"); + B.List_yS0 = A._setArrayType(makeConstList([B.Type_ReplaceStrands_aoE, B.Type__$ReplaceStrands_yTp]), type$.JSArray_legacy_Type); + B.Type_InsertionRemove_KKi = A.typeLiteral("InsertionRemove"); + B.Type__$InsertionRemove_irL = A.typeLiteral("_$InsertionRemove"); + B.List_yXb = A._setArrayType(makeConstList([B.Type_InsertionRemove_KKi, B.Type__$InsertionRemove_irL]), type$.JSArray_legacy_Type); + B.Type_HelixMajorTickStartChange_4QF = A.typeLiteral("HelixMajorTickStartChange"); + B.Type__$HelixMajorTickStartChange_uPC = A.typeLiteral("_$HelixMajorTickStartChange"); + B.List_ygQ = A._setArrayType(makeConstList([B.Type_HelixMajorTickStartChange_4QF, B.Type__$HelixMajorTickStartChange_uPC]), type$.JSArray_legacy_Type); + B.List_yjH = A._setArrayType(makeConstList([B.EditModeChoice_select, B.EditModeChoice_rope_select, B.EditModeChoice_pencil, B.EditModeChoice_nick, B.EditModeChoice_ligate, B.EditModeChoice_insertion, B.EditModeChoice_deletion, B.EditModeChoice_move_group]), A.findType("JSArray")); + B.List_yrN = A._setArrayType(makeConstList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), type$.JSArray_legacy_String); + B.Type__$VendorFields_MEg = A.typeLiteral("_$VendorFields"); + B.List_zLk = A._setArrayType(makeConstList([B.Type_VendorFields_9Ml, B.Type__$VendorFields_MEg]), type$.JSArray_legacy_Type); + B.List_zNb = A._setArrayType(makeConstList(["extension_num_bases", "is_5p", "display_length", "display_angle", "label", "name", "color"]), type$.JSArray_legacy_String); + B.List_z_step = A._setArrayType(makeConstList(["z_step"]), type$.JSArray_legacy_String); + B.Type_SelectableInsertion_omH = A.typeLiteral("SelectableInsertion"); + B.Type__$SelectableInsertion_8RJ = A.typeLiteral("_$SelectableInsertion"); + B.List_zc5 = A._setArrayType(makeConstList([B.Type_SelectableInsertion_omH, B.Type__$SelectableInsertion_8RJ]), type$.JSArray_legacy_Type); + B.Type_HelixGroupMoveCommit_gc6 = A.typeLiteral("HelixGroupMoveCommit"); + B.Type__$HelixGroupMoveCommit_cKo = A.typeLiteral("_$HelixGroupMoveCommit"); + B.List_ziQ = A._setArrayType(makeConstList([B.Type_HelixGroupMoveCommit_gc6, B.Type__$HelixGroupMoveCommit_cKo]), type$.JSArray_legacy_Type); + B.Type_ModificationRemove_1Te = A.typeLiteral("ModificationRemove"); + B.Type__$ModificationRemove_yry = A.typeLiteral("_$ModificationRemove"); + B.List_zrt = A._setArrayType(makeConstList([B.Type_ModificationRemove_1Te, B.Type__$ModificationRemove_yry]), type$.JSArray_legacy_Type); + B.LocalStorageDesignOption_never = new A.LocalStorageDesignOption("never"); + B.LocalStorageDesignOption_on_edit = new A.LocalStorageDesignOption("on_edit"); + B.LocalStorageDesignOption_on_exit = new A.LocalStorageDesignOption("on_exit"); + B.LocalStorageDesignOption_periodic = new A.LocalStorageDesignOption("periodic"); + B.Type_End3PrimeProps_sDv = A.typeLiteral("End3PrimeProps"); + B.PropDescriptor_CZF = new A.PropDescriptor("End3PrimeProps.classname", true, true, true); + B.PropDescriptor_w23 = new A.PropDescriptor("End3PrimeProps.pos", true, true, true); + B.PropDescriptor_Imx = new A.PropDescriptor("End3PrimeProps.color", true, true, true); + B.PropDescriptor_WRr = new A.PropDescriptor("End3PrimeProps.forward", true, true, true); + B.PropDescriptor_j7r = new A.PropDescriptor("End3PrimeProps.on_pointer_down", false, false, false); + B.PropDescriptor_yL6 = new A.PropDescriptor("End3PrimeProps.on_pointer_up", false, false, false); + B.PropDescriptor_LFH = new A.PropDescriptor("End3PrimeProps.on_mouse_up", false, false, false); + B.PropDescriptor_52k = new A.PropDescriptor("End3PrimeProps.on_mouse_move", false, false, false); + B.PropDescriptor_IY7 = new A.PropDescriptor("End3PrimeProps.on_mouse_enter", false, false, false); + B.PropDescriptor_IY70 = new A.PropDescriptor("End3PrimeProps.on_mouse_leave", false, false, false); + B.PropDescriptor_w230 = new A.PropDescriptor("End3PrimeProps.id_", false, false, false); + B.PropDescriptor_pi1 = new A.PropDescriptor("End3PrimeProps.transform", false, false, false); + B.List_7N7 = A._setArrayType(makeConstList([B.PropDescriptor_CZF, B.PropDescriptor_w23, B.PropDescriptor_Imx, B.PropDescriptor_WRr, B.PropDescriptor_j7r, B.PropDescriptor_yL6, B.PropDescriptor_LFH, B.PropDescriptor_52k, B.PropDescriptor_IY7, B.PropDescriptor_IY70, B.PropDescriptor_w230, B.PropDescriptor_pi1]), type$.JSArray_legacy_PropDescriptor); + B.List_Quk = A._setArrayType(makeConstList(["End3PrimeProps.classname", "End3PrimeProps.pos", "End3PrimeProps.color", "End3PrimeProps.forward", "End3PrimeProps.on_pointer_down", "End3PrimeProps.on_pointer_up", "End3PrimeProps.on_mouse_up", "End3PrimeProps.on_mouse_move", "End3PrimeProps.on_mouse_enter", "End3PrimeProps.on_mouse_leave", "End3PrimeProps.id_", "End3PrimeProps.transform"]), type$.JSArray_legacy_String); + B.PropsMeta_89P = new A.PropsMeta(B.List_7N7, B.List_Quk); + B.Map_0Ecu = new A.GeneralConstantMap([B.Type_End3PrimeProps_sDv, B.PropsMeta_89P], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_23h0 = A.typeLiteral("DesignMainStrandDomainTextProps"); + B.PropDescriptor_Ubu = new A.PropDescriptor("DesignMainStrandDomainTextProps.strand", true, true, true); + B.PropDescriptor_csR = new A.PropDescriptor("DesignMainStrandDomainTextProps.domain", true, true, true); + B.PropDescriptor_q8E = new A.PropDescriptor("DesignMainStrandDomainTextProps.helix", true, true, true); + B.PropDescriptor_8IE = new A.PropDescriptor("DesignMainStrandDomainTextProps.geometry", true, true, true); + B.PropDescriptor_mLV = new A.PropDescriptor(string$.DesignMStDohg, true, true, true); + B.PropDescriptor_DFX = new A.PropDescriptor("DesignMainStrandDomainTextProps.text", true, true, true); + B.PropDescriptor_o0y = new A.PropDescriptor(string$.DesignMStDocs, true, true, true); + B.PropDescriptor_EUM = new A.PropDescriptor(string$.DesignMStDof, true, true, true); + B.PropDescriptor_AgZ = new A.PropDescriptor(string$.DesignMStDon, true, true, true); + B.PropDescriptor_aTW = new A.PropDescriptor(string$.DesignMStDot, true, true, true); + B.PropDescriptor_m9F = new A.PropDescriptor(string$.DesignMStDohs, true, true, true); + B.PropDescriptor_qlj = new A.PropDescriptor(string$.DesignMStDoco, true, true, true); + B.List_A8J = A._setArrayType(makeConstList([B.PropDescriptor_Ubu, B.PropDescriptor_csR, B.PropDescriptor_q8E, B.PropDescriptor_8IE, B.PropDescriptor_mLV, B.PropDescriptor_DFX, B.PropDescriptor_o0y, B.PropDescriptor_EUM, B.PropDescriptor_AgZ, B.PropDescriptor_aTW, B.PropDescriptor_m9F, B.PropDescriptor_qlj]), type$.JSArray_legacy_PropDescriptor); + B.List_MYA = A._setArrayType(makeConstList(["DesignMainStrandDomainTextProps.strand", "DesignMainStrandDomainTextProps.domain", "DesignMainStrandDomainTextProps.helix", "DesignMainStrandDomainTextProps.geometry", string$.DesignMStDohg, "DesignMainStrandDomainTextProps.text", string$.DesignMStDocs, string$.DesignMStDof, string$.DesignMStDon, string$.DesignMStDot, string$.DesignMStDohs, string$.DesignMStDoco]), type$.JSArray_legacy_String); + B.PropsMeta_e0c = new A.PropsMeta(B.List_A8J, B.List_MYA); + B.Map_0Hqc = new A.GeneralConstantMap([B.Type_23h0, B.PropsMeta_e0c], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_EndMovingProps_idk = A.typeLiteral("EndMovingProps"); + B.PropDescriptor_gkc = new A.PropDescriptor("EndMovingProps.dna_end", false, false, false); + B.PropDescriptor_8Gl = new A.PropDescriptor("EndMovingProps.helix", false, false, false); + B.PropDescriptor_d4f = new A.PropDescriptor("EndMovingProps.color", false, false, false); + B.PropDescriptor_wgK = new A.PropDescriptor("EndMovingProps.forward", false, false, false); + B.PropDescriptor_0 = new A.PropDescriptor("EndMovingProps.is_5p", false, false, false); + B.PropDescriptor_2yK = new A.PropDescriptor("EndMovingProps.current_offset", false, false, false); + B.PropDescriptor_4QF = new A.PropDescriptor("EndMovingProps.svg_position_y", false, false, false); + B.PropDescriptor_cw1 = new A.PropDescriptor("EndMovingProps.transform", false, false, false); + B.PropDescriptor_RHl = new A.PropDescriptor("EndMovingProps.render", true, true, true); + B.PropDescriptor_o0y0 = new A.PropDescriptor("EndMovingProps.allowable", true, true, true); + B.List_Z49 = A._setArrayType(makeConstList([B.PropDescriptor_gkc, B.PropDescriptor_8Gl, B.PropDescriptor_d4f, B.PropDescriptor_wgK, B.PropDescriptor_0, B.PropDescriptor_2yK, B.PropDescriptor_4QF, B.PropDescriptor_cw1, B.PropDescriptor_RHl, B.PropDescriptor_o0y0]), type$.JSArray_legacy_PropDescriptor); + B.List_2jN0 = A._setArrayType(makeConstList(["EndMovingProps.dna_end", "EndMovingProps.helix", "EndMovingProps.color", "EndMovingProps.forward", "EndMovingProps.is_5p", "EndMovingProps.current_offset", "EndMovingProps.svg_position_y", "EndMovingProps.transform", "EndMovingProps.render", "EndMovingProps.allowable"]), type$.JSArray_legacy_String); + B.PropsMeta_NMc = new A.PropsMeta(B.List_Z49, B.List_2jN0); + B.Map_2Nrz1 = new A.GeneralConstantMap([B.Type_EndMovingProps_idk, B.PropsMeta_NMc], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainWarningStarProps_lCo = A.typeLiteral("DesignMainWarningStarProps"); + B.PropDescriptor_Wzh = new A.PropDescriptor("DesignMainWarningStarProps.base_svg_pos", true, true, true); + B.PropDescriptor_YKM = new A.PropDescriptor("DesignMainWarningStarProps.forward", true, true, true); + B.PropDescriptor_EWB = new A.PropDescriptor("DesignMainWarningStarProps.geometry", true, true, true); + B.PropDescriptor_EyI = new A.PropDescriptor("DesignMainWarningStarProps.color", true, true, true); + B.List_aXZ = A._setArrayType(makeConstList([B.PropDescriptor_Wzh, B.PropDescriptor_YKM, B.PropDescriptor_EWB, B.PropDescriptor_EyI]), type$.JSArray_legacy_PropDescriptor); + B.List_43h2 = A._setArrayType(makeConstList(["DesignMainWarningStarProps.base_svg_pos", "DesignMainWarningStarProps.forward", "DesignMainWarningStarProps.geometry", "DesignMainWarningStarProps.color"]), type$.JSArray_legacy_String); + B.PropsMeta_cI2 = new A.PropsMeta(B.List_aXZ, B.List_43h2); + B.Map_2R4e8 = new A.GeneralConstantMap([B.Type_DesignMainWarningStarProps_lCo, B.PropsMeta_cI2], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Map_2Vy1w = new A.GeneralConstantMap([83, B.EditModeChoice_select, 82, B.EditModeChoice_rope_select, 80, B.EditModeChoice_pencil, 78, B.EditModeChoice_nick, 76, B.EditModeChoice_ligate, 73, B.EditModeChoice_insertion, 68, B.EditModeChoice_deletion, 77, B.EditModeChoice_move_group], A.findType("GeneralConstantMap")); + B.Type_EditAndSelectModesProps_Y2Z = A.typeLiteral("EditAndSelectModesProps"); + B.PropDescriptor_rLL = new A.PropDescriptor("EditAndSelectModesProps.edit_modes", true, true, true); + B.PropDescriptor_0YI = new A.PropDescriptor(string$.EditAns, true, true, true); + B.PropDescriptor_Avr = new A.PropDescriptor("EditAndSelectModesProps.is_origami", true, true, true); + B.PropDescriptor_EGO = new A.PropDescriptor(string$.EditAne, true, true, true); + B.List_adS = A._setArrayType(makeConstList([B.PropDescriptor_rLL, B.PropDescriptor_0YI, B.PropDescriptor_Avr, B.PropDescriptor_EGO]), type$.JSArray_legacy_PropDescriptor); + B.List_w23 = A._setArrayType(makeConstList(["EditAndSelectModesProps.edit_modes", string$.EditAns, "EditAndSelectModesProps.is_origami", string$.EditAne]), type$.JSArray_legacy_String); + B.PropsMeta_Am8 = new A.PropsMeta(B.List_adS, B.List_w23); + B.Map_2fHFO = new A.GeneralConstantMap([B.Type_EditAndSelectModesProps_Y2Z, B.PropsMeta_Am8], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_PotentialCrossoverViewProps_ytr = A.typeLiteral("PotentialCrossoverViewProps"); + B.PropDescriptor_gsm = new A.PropDescriptor(string$.PotentC, false, false, false); + B.PropDescriptor_NKR = new A.PropDescriptor("PotentialCrossoverViewProps.id_", true, true, true); + B.List_sAZ = A._setArrayType(makeConstList([B.PropDescriptor_gsm, B.PropDescriptor_NKR]), type$.JSArray_legacy_PropDescriptor); + B.List_utl = A._setArrayType(makeConstList([string$.PotentC, "PotentialCrossoverViewProps.id_"]), type$.JSArray_legacy_String); + B.PropsMeta_yMg = new A.PropsMeta(B.List_sAZ, B.List_utl); + B.Map_2jwEs = new A.GeneralConstantMap([B.Type_PotentialCrossoverViewProps_ytr, B.PropsMeta_yMg], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignSideRotationProps_oqF = A.typeLiteral("DesignSideRotationProps"); + B.PropDescriptor_2fF = new A.PropDescriptor("DesignSideRotationProps.radius", true, true, true); + B.PropDescriptor_gkc0 = new A.PropDescriptor("DesignSideRotationProps.data", true, true, true); + B.PropDescriptor_rbj = new A.PropDescriptor("DesignSideRotationProps.invert_y", true, true, true); + B.List_6hT = A._setArrayType(makeConstList([B.PropDescriptor_2fF, B.PropDescriptor_gkc0, B.PropDescriptor_rbj]), type$.JSArray_legacy_PropDescriptor); + B.List_ejq = A._setArrayType(makeConstList(["DesignSideRotationProps.radius", "DesignSideRotationProps.data", "DesignSideRotationProps.invert_y"]), type$.JSArray_legacy_String); + B.PropsMeta_qlj = new A.PropsMeta(B.List_6hT, B.List_ejq); + B.Map_365me = new A.GeneralConstantMap([B.Type_DesignSideRotationProps_oqF, B.PropsMeta_qlj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_yfE = A.typeLiteral("DesignMainStrandModificationsProps"); + B.PropDescriptor_8Fn = new A.PropDescriptor(string$.DesignMStMdsst, true, true, true); + B.PropDescriptor_ew1 = new A.PropDescriptor(string$.DesignMStMdshc, true, true, true); + B.PropDescriptor_FGJ = new A.PropDescriptor(string$.DesignMStMdsgr, true, true, true); + B.PropDescriptor_qRH = new A.PropDescriptor(string$.DesignMStMdsge, true, true, true); + B.PropDescriptor_sUe = new A.PropDescriptor(string$.DesignMStMdssi, true, true, true); + B.PropDescriptor_mH2 = new A.PropDescriptor(string$.DesignMStMdso, true, true, true); + B.PropDescriptor_2No = new A.PropDescriptor(string$.DesignMStMdsse, true, true, true); + B.PropDescriptor_yPV = new A.PropDescriptor(string$.DesignMStMdsf, true, true, true); + B.PropDescriptor_Gh9 = new A.PropDescriptor(string$.DesignMStMdsd, true, true, true); + B.PropDescriptor_iZT = new A.PropDescriptor(string$.DesignMStMdshx, true, true, true); + B.PropDescriptor_2fy = new A.PropDescriptor(string$.DesignMStMdsr, true, true, true); + B.List_ww81 = A._setArrayType(makeConstList([B.PropDescriptor_8Fn, B.PropDescriptor_ew1, B.PropDescriptor_FGJ, B.PropDescriptor_qRH, B.PropDescriptor_sUe, B.PropDescriptor_mH2, B.PropDescriptor_2No, B.PropDescriptor_yPV, B.PropDescriptor_Gh9, B.PropDescriptor_iZT, B.PropDescriptor_2fy]), type$.JSArray_legacy_PropDescriptor); + B.List_KY7 = A._setArrayType(makeConstList([string$.DesignMStMdsst, string$.DesignMStMdshc, string$.DesignMStMdsgr, string$.DesignMStMdsge, string$.DesignMStMdssi, string$.DesignMStMdso, string$.DesignMStMdsse, string$.DesignMStMdsf, string$.DesignMStMdsd, string$.DesignMStMdshx, string$.DesignMStMdsr]), type$.JSArray_legacy_String); + B.PropsMeta_2rX = new A.PropsMeta(B.List_ww81, B.List_KY7); + B.Map_3Va8y = new A.GeneralConstantMap([B.Type_yfE, B.PropsMeta_2rX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_jzp = A.typeLiteral("DesignMainLoopoutExtensionLengthsProps"); + B.PropDescriptor_ckJ = new A.PropDescriptor(string$.DesignMLEsg, true, true, true); + B.PropDescriptor_Mzs = new A.PropDescriptor(string$.DesignMLEsst, true, true, true); + B.PropDescriptor_kvD = new A.PropDescriptor(string$.DesignMLEssh, true, true, true); + B.List_yXI = A._setArrayType(makeConstList([B.PropDescriptor_ckJ, B.PropDescriptor_Mzs, B.PropDescriptor_kvD]), type$.JSArray_legacy_PropDescriptor); + B.List_gkc = A._setArrayType(makeConstList([string$.DesignMLEsg, string$.DesignMLEsst, string$.DesignMLEssh]), type$.JSArray_legacy_String); + B.PropsMeta_6mw = new A.PropsMeta(B.List_yXI, B.List_gkc); + B.Map_46dDt = new A.GeneralConstantMap([B.Type_jzp, B.PropsMeta_6mw], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainHelixProps_Q06 = A.typeLiteral("DesignMainHelixProps"); + B.PropDescriptor_JiG = new A.PropDescriptor("DesignMainHelixProps.helix", true, true, true); + B.PropDescriptor_dUG = new A.PropDescriptor("DesignMainHelixProps.selected", true, true, true); + B.PropDescriptor_gkc1 = new A.PropDescriptor(string$.DesignMHxmo, true, true, true); + B.PropDescriptor_mxj = new A.PropDescriptor(string$.DesignMHxmw, true, true, true); + B.PropDescriptor_8kG = new A.PropDescriptor(string$.DesignMHxh, true, true, true); + B.PropDescriptor_dkr = new A.PropDescriptor("DesignMainHelixProps.show_dna", true, true, true); + B.PropDescriptor_tjz = new A.PropDescriptor("DesignMainHelixProps.show_domain_labels", true, true, true); + B.PropDescriptor_qhc = new A.PropDescriptor(string$.DesignMHxdb, true, true, true); + B.PropDescriptor_Kfj = new A.PropDescriptor(string$.DesignMHxdm, true, true, true); + B.PropDescriptor_GRq = new A.PropDescriptor("DesignMainHelixProps.show_helix_circles", true, true, true); + B.PropDescriptor_pav = new A.PropDescriptor("DesignMainHelixProps.helix_svg_position", true, true, true); + B.List_WJb = A._setArrayType(makeConstList([B.PropDescriptor_JiG, B.PropDescriptor_dUG, B.PropDescriptor_gkc1, B.PropDescriptor_mxj, B.PropDescriptor_8kG, B.PropDescriptor_dkr, B.PropDescriptor_tjz, B.PropDescriptor_qhc, B.PropDescriptor_Kfj, B.PropDescriptor_GRq, B.PropDescriptor_pav]), type$.JSArray_legacy_PropDescriptor); + B.List_kqK = A._setArrayType(makeConstList(["DesignMainHelixProps.helix", "DesignMainHelixProps.selected", string$.DesignMHxmo, string$.DesignMHxmw, string$.DesignMHxh, "DesignMainHelixProps.show_dna", "DesignMainHelixProps.show_domain_labels", string$.DesignMHxdb, string$.DesignMHxdm, "DesignMainHelixProps.show_helix_circles", "DesignMainHelixProps.helix_svg_position"]), type$.JSArray_legacy_String); + B.PropsMeta_aJA = new A.PropsMeta(B.List_WJb, B.List_kqK); + B.Map_4qS83 = new A.GeneralConstantMap([B.Type_DesignMainHelixProps_Q06, B.PropsMeta_aJA], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignContextSubmenuProps_sxB = A.typeLiteral("DesignContextSubmenuProps"); + B.PropDescriptor_EQO = new A.PropDescriptor("DesignContextSubmenuProps.context_menu", true, true, true); + B.List_J66 = A._setArrayType(makeConstList([B.PropDescriptor_EQO]), type$.JSArray_legacy_PropDescriptor); + B.List_iDY = A._setArrayType(makeConstList(["DesignContextSubmenuProps.context_menu"]), type$.JSArray_legacy_String); + B.PropsMeta_Au4 = new A.PropsMeta(B.List_J66, B.List_iDY); + B.Map_5a6FR = new A.GeneralConstantMap([B.Type_DesignContextSubmenuProps_sxB, B.PropsMeta_Au4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainBasePairLinesProps_1O8 = A.typeLiteral("DesignMainBasePairLinesProps"); + B.PropDescriptor_dSs = new A.PropDescriptor(string$.DesignMBLw, true, true, true); + B.PropDescriptor_Vph = new A.PropDescriptor("DesignMainBasePairLinesProps.design", true, true, true); + B.PropDescriptor_kRY = new A.PropDescriptor(string$.DesignMBLo, true, true, true); + B.PropDescriptor_GRq0 = new A.PropDescriptor(string$.DesignMBLs, true, true, true); + B.PropDescriptor_ICK = new A.PropDescriptor(string$.DesignMBLh, true, true, true); + B.List_TQJ = A._setArrayType(makeConstList([B.PropDescriptor_dSs, B.PropDescriptor_Vph, B.PropDescriptor_kRY, B.PropDescriptor_GRq0, B.PropDescriptor_ICK]), type$.JSArray_legacy_PropDescriptor); + B.List_YIF = A._setArrayType(makeConstList([string$.DesignMBLw, "DesignMainBasePairLinesProps.design", string$.DesignMBLo, string$.DesignMBLs, string$.DesignMBLh]), type$.JSArray_legacy_String); + B.PropsMeta_8aB = new A.PropsMeta(B.List_TQJ, B.List_YIF); + B.Map_67KTj = new A.GeneralConstantMap([B.Type_DesignMainBasePairLinesProps_1O8, B.PropsMeta_8aB], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainStrandsMovingProps_MCv = A.typeLiteral("DesignMainStrandsMovingProps"); + B.PropDescriptor_0zc = new A.PropDescriptor(string$.DesignMStsMst, false, false, false); + B.PropDescriptor_5Th = new A.PropDescriptor(string$.DesignMStsMo, false, false, false); + B.PropDescriptor_aXZ = new A.PropDescriptor(string$.DesignMStsMc, false, false, false); + B.PropDescriptor_QAb = new A.PropDescriptor("DesignMainStrandsMovingProps.helices", true, true, true); + B.PropDescriptor_i9K = new A.PropDescriptor("DesignMainStrandsMovingProps.groups", true, true, true); + B.PropDescriptor_6Vr = new A.PropDescriptor(string$.DesignMStsMsi, true, true, true); + B.PropDescriptor_U43 = new A.PropDescriptor("DesignMainStrandsMovingProps.geometry", true, true, true); + B.PropDescriptor_CWL = new A.PropDescriptor(string$.DesignMStsMh, true, true, true); + B.List_jDT0 = A._setArrayType(makeConstList([B.PropDescriptor_0zc, B.PropDescriptor_5Th, B.PropDescriptor_aXZ, B.PropDescriptor_QAb, B.PropDescriptor_i9K, B.PropDescriptor_6Vr, B.PropDescriptor_U43, B.PropDescriptor_CWL]), type$.JSArray_legacy_PropDescriptor); + B.List_8Aq = A._setArrayType(makeConstList([string$.DesignMStsMst, string$.DesignMStsMo, string$.DesignMStsMc, "DesignMainStrandsMovingProps.helices", "DesignMainStrandsMovingProps.groups", string$.DesignMStsMsi, "DesignMainStrandsMovingProps.geometry", string$.DesignMStsMh]), type$.JSArray_legacy_String); + B.PropsMeta_Awc = new A.PropsMeta(B.List_jDT0, B.List_8Aq); + B.Map_6V6J9 = new A.GeneralConstantMap([B.Type_DesignMainStrandsMovingProps_MCv, B.PropsMeta_Awc], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_SOI = A.typeLiteral("DesignMainStrandExtensionTextProps"); + B.PropDescriptor_oOf = new A.PropDescriptor("DesignMainStrandExtensionTextProps.ext", true, true, true); + B.PropDescriptor_43h = new A.PropDescriptor(string$.DesignMStEg, true, true, true); + B.PropDescriptor_sC8 = new A.PropDescriptor("DesignMainStrandExtensionTextProps.text", true, true, true); + B.PropDescriptor_MQk = new A.PropDescriptor(string$.DesignMStEc, true, true, true); + B.PropDescriptor_vUl = new A.PropDescriptor(string$.DesignMStEn, true, true, true); + B.PropDescriptor_wUo = new A.PropDescriptor(string$.DesignMStEf, true, true, true); + B.List_kKs = A._setArrayType(makeConstList([B.PropDescriptor_oOf, B.PropDescriptor_43h, B.PropDescriptor_sC8, B.PropDescriptor_MQk, B.PropDescriptor_vUl, B.PropDescriptor_wUo]), type$.JSArray_legacy_PropDescriptor); + B.List_RTv = A._setArrayType(makeConstList(["DesignMainStrandExtensionTextProps.ext", string$.DesignMStEg, "DesignMainStrandExtensionTextProps.text", string$.DesignMStEc, string$.DesignMStEn, string$.DesignMStEf]), type$.JSArray_legacy_String); + B.PropsMeta_eQb = new A.PropsMeta(B.List_kKs, B.List_RTv); + B.Map_9wJO4 = new A.GeneralConstantMap([B.Type_SOI, B.PropsMeta_eQb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_AxisArrowsMainProps_q5Q = A.typeLiteral("AxisArrowsMainProps"); + B.PropDescriptor_4Wo = new A.PropDescriptor("AxisArrowsMainProps.invert_y", true, true, true); + B.PropDescriptor_aFE = new A.PropDescriptor(string$.AxisArM, true, true, true); + B.List_aAc = A._setArrayType(makeConstList([B.PropDescriptor_4Wo, B.PropDescriptor_aFE]), type$.JSArray_legacy_PropDescriptor); + B.List_IJ0 = A._setArrayType(makeConstList(["AxisArrowsMainProps.invert_y", string$.AxisArM]), type$.JSArray_legacy_String); + B.PropsMeta_4YB = new A.PropsMeta(B.List_aAc, B.List_IJ0); + B.Map_ACAVR = new A.GeneralConstantMap([B.Type_AxisArrowsMainProps_q5Q, B.PropsMeta_4YB], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.List_ACQ = A._setArrayType(makeConstList(["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", "darkgreen", "darkgrey", "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", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "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", "rebeccapurple", "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"]), type$.JSArray_legacy_String); + B.RgbColor_240_248_255 = new A.RgbColor(240, 248, 255); + B.RgbColor_250_235_215 = new A.RgbColor(250, 235, 215); + B.RgbColor_0_255_255 = new A.RgbColor(0, 255, 255); + B.RgbColor_127_255_212 = new A.RgbColor(127, 255, 212); + B.RgbColor_240_255_255 = new A.RgbColor(240, 255, 255); + B.RgbColor_245_245_220 = new A.RgbColor(245, 245, 220); + B.RgbColor_255_228_196 = new A.RgbColor(255, 228, 196); + B.RgbColor_0_0_0 = new A.RgbColor(0, 0, 0); + B.RgbColor_255_235_205 = new A.RgbColor(255, 235, 205); + B.RgbColor_0_0_255 = new A.RgbColor(0, 0, 255); + B.RgbColor_138_43_226 = new A.RgbColor(138, 43, 226); + B.RgbColor_165_42_42 = new A.RgbColor(165, 42, 42); + B.RgbColor_222_184_135 = new A.RgbColor(222, 184, 135); + B.RgbColor_95_158_160 = new A.RgbColor(95, 158, 160); + B.RgbColor_127_255_0 = new A.RgbColor(127, 255, 0); + B.RgbColor_210_105_30 = new A.RgbColor(210, 105, 30); + B.RgbColor_255_127_80 = new A.RgbColor(255, 127, 80); + B.RgbColor_100_149_237 = new A.RgbColor(100, 149, 237); + B.RgbColor_255_248_220 = new A.RgbColor(255, 248, 220); + B.RgbColor_220_20_60 = new A.RgbColor(220, 20, 60); + B.RgbColor_0_0_139 = new A.RgbColor(0, 0, 139); + B.RgbColor_0_139_139 = new A.RgbColor(0, 139, 139); + B.RgbColor_184_134_11 = new A.RgbColor(184, 134, 11); + B.RgbColor_169_169_169 = new A.RgbColor(169, 169, 169); + B.RgbColor_0_100_0 = new A.RgbColor(0, 100, 0); + B.RgbColor_189_183_107 = new A.RgbColor(189, 183, 107); + B.RgbColor_139_0_139 = new A.RgbColor(139, 0, 139); + B.RgbColor_85_107_47 = new A.RgbColor(85, 107, 47); + B.RgbColor_255_140_0 = new A.RgbColor(255, 140, 0); + B.RgbColor_153_50_204 = new A.RgbColor(153, 50, 204); + B.RgbColor_139_0_0 = new A.RgbColor(139, 0, 0); + B.RgbColor_233_150_122 = new A.RgbColor(233, 150, 122); + B.RgbColor_143_188_143 = new A.RgbColor(143, 188, 143); + B.RgbColor_72_61_139 = new A.RgbColor(72, 61, 139); + B.RgbColor_47_79_79 = new A.RgbColor(47, 79, 79); + B.RgbColor_0_206_209 = new A.RgbColor(0, 206, 209); + B.RgbColor_148_0_211 = new A.RgbColor(148, 0, 211); + B.RgbColor_255_20_147 = new A.RgbColor(255, 20, 147); + B.RgbColor_0_191_255 = new A.RgbColor(0, 191, 255); + B.RgbColor_105_105_105 = new A.RgbColor(105, 105, 105); + B.RgbColor_30_144_255 = new A.RgbColor(30, 144, 255); + B.RgbColor_178_34_34 = new A.RgbColor(178, 34, 34); + B.RgbColor_255_250_240 = new A.RgbColor(255, 250, 240); + B.RgbColor_34_139_34 = new A.RgbColor(34, 139, 34); + B.RgbColor_255_0_255 = new A.RgbColor(255, 0, 255); + B.RgbColor_220_220_220 = new A.RgbColor(220, 220, 220); + B.RgbColor_248_248_255 = new A.RgbColor(248, 248, 255); + B.RgbColor_255_215_0 = new A.RgbColor(255, 215, 0); + B.RgbColor_218_165_32 = new A.RgbColor(218, 165, 32); + B.RgbColor_128_128_128 = new A.RgbColor(128, 128, 128); + B.RgbColor_0_128_0 = new A.RgbColor(0, 128, 0); + B.RgbColor_173_255_47 = new A.RgbColor(173, 255, 47); + B.RgbColor_240_255_240 = new A.RgbColor(240, 255, 240); + B.RgbColor_255_105_180 = new A.RgbColor(255, 105, 180); + B.RgbColor_205_92_92 = new A.RgbColor(205, 92, 92); + B.RgbColor_75_0_130 = new A.RgbColor(75, 0, 130); + B.RgbColor_255_255_240 = new A.RgbColor(255, 255, 240); + B.RgbColor_240_230_140 = new A.RgbColor(240, 230, 140); + B.RgbColor_230_230_250 = new A.RgbColor(230, 230, 250); + B.RgbColor_255_240_245 = new A.RgbColor(255, 240, 245); + B.RgbColor_124_252_0 = new A.RgbColor(124, 252, 0); + B.RgbColor_255_250_205 = new A.RgbColor(255, 250, 205); + B.RgbColor_173_216_230 = new A.RgbColor(173, 216, 230); + B.RgbColor_240_128_128 = new A.RgbColor(240, 128, 128); + B.RgbColor_224_255_255 = new A.RgbColor(224, 255, 255); + B.RgbColor_250_250_210 = new A.RgbColor(250, 250, 210); + B.RgbColor_211_211_211 = new A.RgbColor(211, 211, 211); + B.RgbColor_144_238_144 = new A.RgbColor(144, 238, 144); + B.RgbColor_255_182_193 = new A.RgbColor(255, 182, 193); + B.RgbColor_255_160_122 = new A.RgbColor(255, 160, 122); + B.RgbColor_32_178_170 = new A.RgbColor(32, 178, 170); + B.RgbColor_135_206_250 = new A.RgbColor(135, 206, 250); + B.RgbColor_119_136_153 = new A.RgbColor(119, 136, 153); + B.RgbColor_176_196_222 = new A.RgbColor(176, 196, 222); + B.RgbColor_255_255_224 = new A.RgbColor(255, 255, 224); + B.RgbColor_0_255_0 = new A.RgbColor(0, 255, 0); + B.RgbColor_50_205_50 = new A.RgbColor(50, 205, 50); + B.RgbColor_250_240_230 = new A.RgbColor(250, 240, 230); + B.RgbColor_128_0_0 = new A.RgbColor(128, 0, 0); + B.RgbColor_102_205_170 = new A.RgbColor(102, 205, 170); + B.RgbColor_0_0_205 = new A.RgbColor(0, 0, 205); + B.RgbColor_186_85_211 = new A.RgbColor(186, 85, 211); + B.RgbColor_147_112_219 = new A.RgbColor(147, 112, 219); + B.RgbColor_60_179_113 = new A.RgbColor(60, 179, 113); + B.RgbColor_123_104_238 = new A.RgbColor(123, 104, 238); + B.RgbColor_0_250_154 = new A.RgbColor(0, 250, 154); + B.RgbColor_72_209_204 = new A.RgbColor(72, 209, 204); + B.RgbColor_199_21_133 = new A.RgbColor(199, 21, 133); + B.RgbColor_25_25_112 = new A.RgbColor(25, 25, 112); + B.RgbColor_245_255_250 = new A.RgbColor(245, 255, 250); + B.RgbColor_255_228_225 = new A.RgbColor(255, 228, 225); + B.RgbColor_255_228_181 = new A.RgbColor(255, 228, 181); + B.RgbColor_255_222_173 = new A.RgbColor(255, 222, 173); + B.RgbColor_0_0_128 = new A.RgbColor(0, 0, 128); + B.RgbColor_253_245_230 = new A.RgbColor(253, 245, 230); + B.RgbColor_128_128_0 = new A.RgbColor(128, 128, 0); + B.RgbColor_107_142_35 = new A.RgbColor(107, 142, 35); + B.RgbColor_255_165_0 = new A.RgbColor(255, 165, 0); + B.RgbColor_255_69_0 = new A.RgbColor(255, 69, 0); + B.RgbColor_218_112_214 = new A.RgbColor(218, 112, 214); + B.RgbColor_238_232_170 = new A.RgbColor(238, 232, 170); + B.RgbColor_152_251_152 = new A.RgbColor(152, 251, 152); + B.RgbColor_175_238_238 = new A.RgbColor(175, 238, 238); + B.RgbColor_219_112_147 = new A.RgbColor(219, 112, 147); + B.RgbColor_255_239_213 = new A.RgbColor(255, 239, 213); + B.RgbColor_255_218_185 = new A.RgbColor(255, 218, 185); + B.RgbColor_205_133_63 = new A.RgbColor(205, 133, 63); + B.RgbColor_255_192_203 = new A.RgbColor(255, 192, 203); + B.RgbColor_221_160_221 = new A.RgbColor(221, 160, 221); + B.RgbColor_176_224_230 = new A.RgbColor(176, 224, 230); + B.RgbColor_128_0_128 = new A.RgbColor(128, 0, 128); + B.RgbColor_102_51_153 = new A.RgbColor(102, 51, 153); + B.RgbColor_255_0_0 = new A.RgbColor(255, 0, 0); + B.RgbColor_188_143_143 = new A.RgbColor(188, 143, 143); + B.RgbColor_65_105_225 = new A.RgbColor(65, 105, 225); + B.RgbColor_139_69_19 = new A.RgbColor(139, 69, 19); + B.RgbColor_250_128_114 = new A.RgbColor(250, 128, 114); + B.RgbColor_244_164_96 = new A.RgbColor(244, 164, 96); + B.RgbColor_46_139_87 = new A.RgbColor(46, 139, 87); + B.RgbColor_255_245_238 = new A.RgbColor(255, 245, 238); + B.RgbColor_160_82_45 = new A.RgbColor(160, 82, 45); + B.RgbColor_192_192_192 = new A.RgbColor(192, 192, 192); + B.RgbColor_135_206_235 = new A.RgbColor(135, 206, 235); + B.RgbColor_106_90_205 = new A.RgbColor(106, 90, 205); + B.RgbColor_112_128_144 = new A.RgbColor(112, 128, 144); + B.RgbColor_255_250_250 = new A.RgbColor(255, 250, 250); + B.RgbColor_0_255_127 = new A.RgbColor(0, 255, 127); + B.RgbColor_70_130_180 = new A.RgbColor(70, 130, 180); + B.RgbColor_210_180_140 = new A.RgbColor(210, 180, 140); + B.RgbColor_0_128_128 = new A.RgbColor(0, 128, 128); + B.RgbColor_216_191_216 = new A.RgbColor(216, 191, 216); + B.RgbColor_255_99_71 = new A.RgbColor(255, 99, 71); + B.RgbColor_64_224_208 = new A.RgbColor(64, 224, 208); + B.RgbColor_238_130_238 = new A.RgbColor(238, 130, 238); + B.RgbColor_245_222_179 = new A.RgbColor(245, 222, 179); + B.RgbColor_255_255_255 = new A.RgbColor(255, 255, 255); + B.RgbColor_245_245_245 = new A.RgbColor(245, 245, 245); + B.RgbColor_255_255_0 = new A.RgbColor(255, 255, 0); + B.RgbColor_154_205_50 = new A.RgbColor(154, 205, 50); + B.Map_ACwDL = new A.ConstantStringMap(148, {aliceblue: B.RgbColor_240_248_255, antiquewhite: B.RgbColor_250_235_215, aqua: B.RgbColor_0_255_255, aquamarine: B.RgbColor_127_255_212, azure: B.RgbColor_240_255_255, beige: B.RgbColor_245_245_220, bisque: B.RgbColor_255_228_196, black: B.RgbColor_0_0_0, blanchedalmond: B.RgbColor_255_235_205, blue: B.RgbColor_0_0_255, blueviolet: B.RgbColor_138_43_226, brown: B.RgbColor_165_42_42, burlywood: B.RgbColor_222_184_135, cadetblue: B.RgbColor_95_158_160, chartreuse: B.RgbColor_127_255_0, chocolate: B.RgbColor_210_105_30, coral: B.RgbColor_255_127_80, cornflowerblue: B.RgbColor_100_149_237, cornsilk: B.RgbColor_255_248_220, crimson: B.RgbColor_220_20_60, cyan: B.RgbColor_0_255_255, darkblue: B.RgbColor_0_0_139, darkcyan: B.RgbColor_0_139_139, darkgoldenrod: B.RgbColor_184_134_11, darkgray: B.RgbColor_169_169_169, darkgreen: B.RgbColor_0_100_0, darkgrey: B.RgbColor_169_169_169, darkkhaki: B.RgbColor_189_183_107, darkmagenta: B.RgbColor_139_0_139, darkolivegreen: B.RgbColor_85_107_47, darkorange: B.RgbColor_255_140_0, darkorchid: B.RgbColor_153_50_204, darkred: B.RgbColor_139_0_0, darksalmon: B.RgbColor_233_150_122, darkseagreen: B.RgbColor_143_188_143, darkslateblue: B.RgbColor_72_61_139, darkslategray: B.RgbColor_47_79_79, darkslategrey: B.RgbColor_47_79_79, darkturquoise: B.RgbColor_0_206_209, darkviolet: B.RgbColor_148_0_211, deeppink: B.RgbColor_255_20_147, deepskyblue: B.RgbColor_0_191_255, dimgray: B.RgbColor_105_105_105, dimgrey: B.RgbColor_105_105_105, dodgerblue: B.RgbColor_30_144_255, firebrick: B.RgbColor_178_34_34, floralwhite: B.RgbColor_255_250_240, forestgreen: B.RgbColor_34_139_34, fuchsia: B.RgbColor_255_0_255, gainsboro: B.RgbColor_220_220_220, ghostwhite: B.RgbColor_248_248_255, gold: B.RgbColor_255_215_0, goldenrod: B.RgbColor_218_165_32, gray: B.RgbColor_128_128_128, green: B.RgbColor_0_128_0, greenyellow: B.RgbColor_173_255_47, grey: B.RgbColor_128_128_128, honeydew: B.RgbColor_240_255_240, hotpink: B.RgbColor_255_105_180, indianred: B.RgbColor_205_92_92, indigo: B.RgbColor_75_0_130, ivory: B.RgbColor_255_255_240, khaki: B.RgbColor_240_230_140, lavender: B.RgbColor_230_230_250, lavenderblush: B.RgbColor_255_240_245, lawngreen: B.RgbColor_124_252_0, lemonchiffon: B.RgbColor_255_250_205, lightblue: B.RgbColor_173_216_230, lightcoral: B.RgbColor_240_128_128, lightcyan: B.RgbColor_224_255_255, lightgoldenrodyellow: B.RgbColor_250_250_210, lightgray: B.RgbColor_211_211_211, lightgreen: B.RgbColor_144_238_144, lightgrey: B.RgbColor_211_211_211, lightpink: B.RgbColor_255_182_193, lightsalmon: B.RgbColor_255_160_122, lightseagreen: B.RgbColor_32_178_170, lightskyblue: B.RgbColor_135_206_250, lightslategray: B.RgbColor_119_136_153, lightslategrey: B.RgbColor_119_136_153, lightsteelblue: B.RgbColor_176_196_222, lightyellow: B.RgbColor_255_255_224, lime: B.RgbColor_0_255_0, limegreen: B.RgbColor_50_205_50, linen: B.RgbColor_250_240_230, magenta: B.RgbColor_255_0_255, maroon: B.RgbColor_128_0_0, mediumaquamarine: B.RgbColor_102_205_170, mediumblue: B.RgbColor_0_0_205, mediumorchid: B.RgbColor_186_85_211, mediumpurple: B.RgbColor_147_112_219, mediumseagreen: B.RgbColor_60_179_113, mediumslateblue: B.RgbColor_123_104_238, mediumspringgreen: B.RgbColor_0_250_154, mediumturquoise: B.RgbColor_72_209_204, mediumvioletred: B.RgbColor_199_21_133, midnightblue: B.RgbColor_25_25_112, mintcream: B.RgbColor_245_255_250, mistyrose: B.RgbColor_255_228_225, moccasin: B.RgbColor_255_228_181, navajowhite: B.RgbColor_255_222_173, navy: B.RgbColor_0_0_128, oldlace: B.RgbColor_253_245_230, olive: B.RgbColor_128_128_0, olivedrab: B.RgbColor_107_142_35, orange: B.RgbColor_255_165_0, orangered: B.RgbColor_255_69_0, orchid: B.RgbColor_218_112_214, palegoldenrod: B.RgbColor_238_232_170, palegreen: B.RgbColor_152_251_152, paleturquoise: B.RgbColor_175_238_238, palevioletred: B.RgbColor_219_112_147, papayawhip: B.RgbColor_255_239_213, peachpuff: B.RgbColor_255_218_185, peru: B.RgbColor_205_133_63, pink: B.RgbColor_255_192_203, plum: B.RgbColor_221_160_221, powderblue: B.RgbColor_176_224_230, purple: B.RgbColor_128_0_128, rebeccapurple: B.RgbColor_102_51_153, red: B.RgbColor_255_0_0, rosybrown: B.RgbColor_188_143_143, royalblue: B.RgbColor_65_105_225, saddlebrown: B.RgbColor_139_69_19, salmon: B.RgbColor_250_128_114, sandybrown: B.RgbColor_244_164_96, seagreen: B.RgbColor_46_139_87, seashell: B.RgbColor_255_245_238, sienna: B.RgbColor_160_82_45, silver: B.RgbColor_192_192_192, skyblue: B.RgbColor_135_206_235, slateblue: B.RgbColor_106_90_205, slategray: B.RgbColor_112_128_144, slategrey: B.RgbColor_112_128_144, snow: B.RgbColor_255_250_250, springgreen: B.RgbColor_0_255_127, steelblue: B.RgbColor_70_130_180, tan: B.RgbColor_210_180_140, teal: B.RgbColor_0_128_128, thistle: B.RgbColor_216_191_216, tomato: B.RgbColor_255_99_71, turquoise: B.RgbColor_64_224_208, violet: B.RgbColor_238_130_238, wheat: B.RgbColor_245_222_179, white: B.RgbColor_255_255_255, whitesmoke: B.RgbColor_245_245_245, yellow: B.RgbColor_255_255_0, yellowgreen: B.RgbColor_154_205_50}, B.List_ACQ, A.findType("ConstantStringMap")); + B.Type_nuu = A.typeLiteral("DesignMainStrandDeletionPropsMixin"); + B.PropDescriptor_JFX = new A.PropDescriptor(string$.DesignMStDesea, true, true, true); + B.PropDescriptor_hky = new A.PropDescriptor("DesignMainStrandDeletionPropsMixin.helix", true, true, true); + B.PropDescriptor_IG8 = new A.PropDescriptor(string$.DesignMStDesee, true, true, true); + B.PropDescriptor_Rmd = new A.PropDescriptor(string$.DesignMStDet, true, true, true); + B.PropDescriptor_mfA = new A.PropDescriptor(string$.DesignMStDesv, true, true, true); + B.PropDescriptor_s0y = new A.PropDescriptor(string$.DesignMStDer, true, true, true); + B.List_xw80 = A._setArrayType(makeConstList([B.PropDescriptor_JFX, B.PropDescriptor_hky, B.PropDescriptor_IG8, B.PropDescriptor_Rmd, B.PropDescriptor_mfA, B.PropDescriptor_s0y]), type$.JSArray_legacy_PropDescriptor); + B.List_gjq = A._setArrayType(makeConstList([string$.DesignMStDesea, "DesignMainStrandDeletionPropsMixin.helix", string$.DesignMStDesee, string$.DesignMStDet, string$.DesignMStDesv, string$.DesignMStDer]), type$.JSArray_legacy_String); + B.PropsMeta_urv = new A.PropsMeta(B.List_xw80, B.List_gjq); + B.Map_Asds9 = new A.GeneralConstantMap([B.Type_nuu, B.PropsMeta_urv], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_vdM = A.typeLiteral("DesignMainPotentialVerticalCrossoversProps"); + B.PropDescriptor_E4W = new A.PropDescriptor(string$.DesignMPsp, true, true, true); + B.PropDescriptor_gc6 = new A.PropDescriptor(string$.DesignMPshc, true, true, true); + B.PropDescriptor_5me = new A.PropDescriptor(string$.DesignMPsgr, true, true, true); + B.PropDescriptor_ibp = new A.PropDescriptor(string$.DesignMPsge, true, true, true); + B.PropDescriptor_SSP = new A.PropDescriptor(string$.DesignMPso, true, true, true); + B.PropDescriptor_AcR = new A.PropDescriptor(string$.DesignMPss, true, true, true); + B.PropDescriptor_86y = new A.PropDescriptor(string$.DesignMPshx, true, true, true); + B.List_Ahu = A._setArrayType(makeConstList([B.PropDescriptor_E4W, B.PropDescriptor_gc6, B.PropDescriptor_5me, B.PropDescriptor_ibp, B.PropDescriptor_SSP, B.PropDescriptor_AcR, B.PropDescriptor_86y]), type$.JSArray_legacy_PropDescriptor); + B.List_qJs = A._setArrayType(makeConstList([string$.DesignMPsp, string$.DesignMPshc, string$.DesignMPsgr, string$.DesignMPsge, string$.DesignMPso, string$.DesignMPss, string$.DesignMPshx]), type$.JSArray_legacy_String); + B.PropsMeta_1Ch = new A.PropsMeta(B.List_Ahu, B.List_qJs); + B.Map_C8f7G = new A.GeneralConstantMap([B.Type_vdM, B.PropsMeta_1Ch], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.List_CNb = A._setArrayType(makeConstList(["filter", "stroke", "stroke-width", "visibility"]), type$.JSArray_legacy_String); + B.Map_CNaF8 = new A.ConstantStringMap(4, {filter: 'url("#shadow")', stroke: "black", "stroke-width": "1pt", visibility: "visible"}, B.List_CNb, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + B.Type_DesignMainDNASequenceProps_w6D = A.typeLiteral("DesignMainDNASequenceProps"); + B.PropDescriptor_MAF = new A.PropDescriptor("DesignMainDNASequenceProps.strand", true, true, true); + B.PropDescriptor_eiH = new A.PropDescriptor(string$.DesignMDNSPs, true, true, true); + B.PropDescriptor_hHE = new A.PropDescriptor(string$.DesignMDNSPo, true, true, true); + B.PropDescriptor_cdS = new A.PropDescriptor(string$.DesignMDNSPd, true, true, true); + B.PropDescriptor_27z = new A.PropDescriptor("DesignMainDNASequenceProps.helices", true, true, true); + B.PropDescriptor_oAP = new A.PropDescriptor("DesignMainDNASequenceProps.groups", true, true, true); + B.PropDescriptor_G37 = new A.PropDescriptor("DesignMainDNASequenceProps.geometry", true, true, true); + B.PropDescriptor_6x5 = new A.PropDescriptor(string$.DesignMDNSPh, true, true, true); + B.List_kr3 = A._setArrayType(makeConstList([B.PropDescriptor_MAF, B.PropDescriptor_eiH, B.PropDescriptor_hHE, B.PropDescriptor_cdS, B.PropDescriptor_27z, B.PropDescriptor_oAP, B.PropDescriptor_G37, B.PropDescriptor_6x5]), type$.JSArray_legacy_PropDescriptor); + B.List_8aB = A._setArrayType(makeConstList(["DesignMainDNASequenceProps.strand", string$.DesignMDNSPs, string$.DesignMDNSPo, string$.DesignMDNSPd, "DesignMainDNASequenceProps.helices", "DesignMainDNASequenceProps.groups", "DesignMainDNASequenceProps.geometry", string$.DesignMDNSPh]), type$.JSArray_legacy_String); + B.PropsMeta_ZfX = new A.PropsMeta(B.List_kr3, B.List_8aB); + B.Map_CdXnL = new A.GeneralConstantMap([B.Type_DesignMainDNASequenceProps_w6D, B.PropsMeta_ZfX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDNAEndPropsMixin_xHq = A.typeLiteral("DesignMainDNAEndPropsMixin"); + B.PropDescriptor_UaV = new A.PropDescriptor("DesignMainDNAEndPropsMixin.strand", true, true, true); + B.PropDescriptor_lm4 = new A.PropDescriptor("DesignMainDNAEndPropsMixin.domain", false, false, false); + B.PropDescriptor_xw8 = new A.PropDescriptor("DesignMainDNAEndPropsMixin.ext", false, false, false); + B.PropDescriptor_dES = new A.PropDescriptor("DesignMainDNAEndPropsMixin.strand_color", true, true, true); + B.PropDescriptor_zDj = new A.PropDescriptor("DesignMainDNAEndPropsMixin.is_5p", true, true, true); + B.PropDescriptor_wDN = new A.PropDescriptor("DesignMainDNAEndPropsMixin.is_scaffold", true, true, true); + B.PropDescriptor_SUZ = new A.PropDescriptor("DesignMainDNAEndPropsMixin.transform", true, true, true); + B.PropDescriptor_uK2 = new A.PropDescriptor("DesignMainDNAEndPropsMixin.helix", true, true, true); + B.PropDescriptor_kWG = new A.PropDescriptor("DesignMainDNAEndPropsMixin.group", true, true, true); + B.PropDescriptor_FHZ = new A.PropDescriptor("DesignMainDNAEndPropsMixin.geometry", true, true, true); + B.PropDescriptor_QaY = new A.PropDescriptor("DesignMainDNAEndPropsMixin.selected", true, true, true); + B.PropDescriptor_NAq = new A.PropDescriptor(string$.DesignMDNEc, true, true, true); + B.PropDescriptor_a1A = new A.PropDescriptor(string$.DesignMDNEd, true, true, true); + B.PropDescriptor_c8Z = new A.PropDescriptor(string$.DesignMDNEm, true, true, true); + B.PropDescriptor_EMQ = new A.PropDescriptor(string$.DesignMDNEh, true, true, true); + B.PropDescriptor_66k = new A.PropDescriptor(string$.DesignMDNEr, true, true, true); + B.List_EKW = A._setArrayType(makeConstList([B.PropDescriptor_UaV, B.PropDescriptor_lm4, B.PropDescriptor_xw8, B.PropDescriptor_dES, B.PropDescriptor_zDj, B.PropDescriptor_wDN, B.PropDescriptor_SUZ, B.PropDescriptor_uK2, B.PropDescriptor_kWG, B.PropDescriptor_FHZ, B.PropDescriptor_QaY, B.PropDescriptor_NAq, B.PropDescriptor_a1A, B.PropDescriptor_c8Z, B.PropDescriptor_EMQ, B.PropDescriptor_66k]), type$.JSArray_legacy_PropDescriptor); + B.List_01 = A._setArrayType(makeConstList(["DesignMainDNAEndPropsMixin.strand", "DesignMainDNAEndPropsMixin.domain", "DesignMainDNAEndPropsMixin.ext", "DesignMainDNAEndPropsMixin.strand_color", "DesignMainDNAEndPropsMixin.is_5p", "DesignMainDNAEndPropsMixin.is_scaffold", "DesignMainDNAEndPropsMixin.transform", "DesignMainDNAEndPropsMixin.helix", "DesignMainDNAEndPropsMixin.group", "DesignMainDNAEndPropsMixin.geometry", "DesignMainDNAEndPropsMixin.selected", string$.DesignMDNEc, string$.DesignMDNEd, string$.DesignMDNEm, string$.DesignMDNEh, string$.DesignMDNEr]), type$.JSArray_legacy_String); + B.PropsMeta_4OG = new A.PropsMeta(B.List_EKW, B.List_01); + B.Map_EQcin = new A.GeneralConstantMap([B.Type_DesignMainDNAEndPropsMixin_xHq, B.PropsMeta_4OG], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_ErrorBoundaryProps_LAZ = A.typeLiteral("ErrorBoundaryProps"); + B.PropDescriptor_rdS = new A.PropDescriptor("ErrorBoundaryProps.onComponentDidCatch", false, false, false); + B.PropDescriptor_pyO = new A.PropDescriptor(string$.ErrorBPo, false, false, false); + B.PropDescriptor_9em = new A.PropDescriptor("ErrorBoundaryProps.fallbackUIRenderer", false, false, false); + B.PropDescriptor_TJh = new A.PropDescriptor(string$.ErrorBPi, false, false, false); + B.PropDescriptor_sC80 = new A.PropDescriptor("ErrorBoundaryProps.loggerName", false, false, false); + B.PropDescriptor_f1j = new A.PropDescriptor("ErrorBoundaryProps.shouldLogErrors", false, false, false); + B.PropDescriptor_VzM = new A.PropDescriptor("ErrorBoundaryProps.logger", false, false, false); + B.List_tAA = A._setArrayType(makeConstList([B.PropDescriptor_rdS, B.PropDescriptor_pyO, B.PropDescriptor_9em, B.PropDescriptor_TJh, B.PropDescriptor_sC80, B.PropDescriptor_f1j, B.PropDescriptor_VzM]), type$.JSArray_legacy_PropDescriptor); + B.List_gw4 = A._setArrayType(makeConstList(["ErrorBoundaryProps.onComponentDidCatch", string$.ErrorBPo, "ErrorBoundaryProps.fallbackUIRenderer", string$.ErrorBPi, "ErrorBoundaryProps.loggerName", "ErrorBoundaryProps.shouldLogErrors", "ErrorBoundaryProps.logger"]), type$.JSArray_legacy_String); + B.PropsMeta_oJ4 = new A.PropsMeta(B.List_tAA, B.List_gw4); + B.Map_EUkaS = new A.GeneralConstantMap([B.Type_ErrorBoundaryProps_LAZ, B.PropsMeta_oJ4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_SelectionBoxViewProps_kWM = A.typeLiteral("SelectionBoxViewProps"); + B.PropDescriptor_5E3 = new A.PropDescriptor("SelectionBoxViewProps.selection_box", false, false, false); + B.PropDescriptor_IWp = new A.PropDescriptor(string$.SelectB, false, false, false); + B.PropDescriptor_XNd = new A.PropDescriptor("SelectionBoxViewProps.id_", false, false, false); + B.PropDescriptor_tGu = new A.PropDescriptor("SelectionBoxViewProps.is_main", false, false, false); + B.List_w1z = A._setArrayType(makeConstList([B.PropDescriptor_5E3, B.PropDescriptor_IWp, B.PropDescriptor_XNd, B.PropDescriptor_tGu]), type$.JSArray_legacy_PropDescriptor); + B.List_QXg = A._setArrayType(makeConstList(["SelectionBoxViewProps.selection_box", string$.SelectB, "SelectionBoxViewProps.id_", "SelectionBoxViewProps.is_main"]), type$.JSArray_legacy_String); + B.PropsMeta_PTB = new A.PropsMeta(B.List_w1z, B.List_QXg); + B.Map_EkiDg = new A.GeneralConstantMap([B.Type_SelectionBoxViewProps_kWM, B.PropsMeta_PTB], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_MenuBooleanProps_Igx = A.typeLiteral("MenuBooleanProps"); + B.PropDescriptor_4C2 = new A.PropDescriptor("MenuBooleanProps.value", true, true, true); + B.PropDescriptor_Xqx = new A.PropDescriptor("MenuBooleanProps.display", true, true, true); + B.PropDescriptor_COe = new A.PropDescriptor("MenuBooleanProps.on_change", true, true, true); + B.PropDescriptor_Zab = new A.PropDescriptor("MenuBooleanProps.name", false, false, false); + B.PropDescriptor_3NP = new A.PropDescriptor("MenuBooleanProps.hide", true, true, true); + B.PropDescriptor_o0y1 = new A.PropDescriptor("MenuBooleanProps.tooltip", true, true, true); + B.List_z4s = A._setArrayType(makeConstList([B.PropDescriptor_4C2, B.PropDescriptor_Xqx, B.PropDescriptor_COe, B.PropDescriptor_Zab, B.PropDescriptor_3NP, B.PropDescriptor_o0y1]), type$.JSArray_legacy_PropDescriptor); + B.List_T5x = A._setArrayType(makeConstList(["MenuBooleanProps.value", "MenuBooleanProps.display", "MenuBooleanProps.on_change", "MenuBooleanProps.name", "MenuBooleanProps.hide", "MenuBooleanProps.tooltip"]), type$.JSArray_legacy_String); + B.PropsMeta_Wz2 = new A.PropsMeta(B.List_z4s, B.List_T5x); + B.Map_EsMQR = new A.GeneralConstantMap([B.Type_MenuBooleanProps_Igx, B.PropsMeta_Wz2], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_ZqA = A.typeLiteral("DesignMainStrandAndDomainTextsProps"); + B.PropDescriptor_dUG0 = new A.PropDescriptor(string$.DesignMStAst, true, true, true); + B.PropDescriptor_GBo = new A.PropDescriptor(string$.DesignMStAhc, true, true, true); + B.PropDescriptor_fkm = new A.PropDescriptor(string$.DesignMStAgr, true, true, true); + B.PropDescriptor_n9b = new A.PropDescriptor(string$.DesignMStAge, true, true, true); + B.PropDescriptor_9WR = new A.PropDescriptor(string$.DesignMStAsi, false, false, false); + B.PropDescriptor_AId = new A.PropDescriptor(string$.DesignMStAo, true, true, true); + B.PropDescriptor_TWS = new A.PropDescriptor(string$.DesignMStAshdn, true, true, true); + B.PropDescriptor_lqi = new A.PropDescriptor(string$.DesignMStAshsn, true, true, true); + B.PropDescriptor_gHZ = new A.PropDescriptor(string$.DesignMStAshsl, true, true, true); + B.PropDescriptor_lqi0 = new A.PropDescriptor(string$.DesignMStAshdon, true, true, true); + B.PropDescriptor_gHZ0 = new A.PropDescriptor(string$.DesignMStAshdol, true, true, true); + B.PropDescriptor_Ia4 = new A.PropDescriptor(string$.DesignMStAst_n, true, true, true); + B.PropDescriptor_ESz = new A.PropDescriptor(string$.DesignMStAst_l, true, true, true); + B.PropDescriptor_Eo2 = new A.PropDescriptor(string$.DesignMStAdn, true, true, true); + B.PropDescriptor_2No0 = new A.PropDescriptor(string$.DesignMStAdl, true, true, true); + B.PropDescriptor_uIv = new A.PropDescriptor(string$.DesignMStAhx, true, true, true); + B.PropDescriptor_AxQ = new A.PropDescriptor(string$.DesignMStAc, true, true, true); + B.List_DP5 = A._setArrayType(makeConstList([B.PropDescriptor_dUG0, B.PropDescriptor_GBo, B.PropDescriptor_fkm, B.PropDescriptor_n9b, B.PropDescriptor_9WR, B.PropDescriptor_AId, B.PropDescriptor_TWS, B.PropDescriptor_lqi, B.PropDescriptor_gHZ, B.PropDescriptor_lqi0, B.PropDescriptor_gHZ0, B.PropDescriptor_Ia4, B.PropDescriptor_ESz, B.PropDescriptor_Eo2, B.PropDescriptor_2No0, B.PropDescriptor_uIv, B.PropDescriptor_AxQ]), type$.JSArray_legacy_PropDescriptor); + B.List_LlB = A._setArrayType(makeConstList([string$.DesignMStAst, string$.DesignMStAhc, string$.DesignMStAgr, string$.DesignMStAge, string$.DesignMStAsi, string$.DesignMStAo, string$.DesignMStAshdn, string$.DesignMStAshsn, string$.DesignMStAshsl, string$.DesignMStAshdon, string$.DesignMStAshdol, string$.DesignMStAst_n, string$.DesignMStAst_l, string$.DesignMStAdn, string$.DesignMStAdl, string$.DesignMStAhx, string$.DesignMStAc]), type$.JSArray_legacy_String); + B.PropsMeta_jZ4 = new A.PropsMeta(B.List_DP5, B.List_LlB); + B.Map_GFJAZ = new A.GeneralConstantMap([B.Type_ZqA, B.PropsMeta_jZ4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.List_GNi = A._setArrayType(makeConstList(["stroke", "stroke-width"]), type$.JSArray_legacy_String); + B.Map_GN46y = new A.ConstantStringMap(2, {stroke: "hotpink", "stroke-width": "5pt"}, B.List_GNi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + B.Type_MenuDropdownRightProps_APm = A.typeLiteral("MenuDropdownRightProps"); + B.PropDescriptor_H1k = new A.PropDescriptor("MenuDropdownRightProps.title_", true, true, true); + B.PropDescriptor_qN1 = new A.PropDescriptor("MenuDropdownRightProps.id_", true, true, true); + B.PropDescriptor_8Ii = new A.PropDescriptor("MenuDropdownRightProps.keyboard_shortcut", false, false, false); + B.PropDescriptor_uzz = new A.PropDescriptor("MenuDropdownRightProps.tooltip", true, true, true); + B.PropDescriptor_B8J = new A.PropDescriptor("MenuDropdownRightProps.disabled", true, true, true); + B.PropDescriptor_0y0 = new A.PropDescriptor("MenuDropdownRightProps.disallow_overflow", true, true, true); + B.List_4y8 = A._setArrayType(makeConstList([B.PropDescriptor_H1k, B.PropDescriptor_qN1, B.PropDescriptor_8Ii, B.PropDescriptor_uzz, B.PropDescriptor_B8J, B.PropDescriptor_0y0]), type$.JSArray_legacy_PropDescriptor); + B.List_GNU = A._setArrayType(makeConstList(["MenuDropdownRightProps.title_", "MenuDropdownRightProps.id_", "MenuDropdownRightProps.keyboard_shortcut", "MenuDropdownRightProps.tooltip", "MenuDropdownRightProps.disabled", "MenuDropdownRightProps.disallow_overflow"]), type$.JSArray_legacy_String); + B.PropsMeta_ww8 = new A.PropsMeta(B.List_4y8, B.List_GNU); + B.Map_HP2jN = new A.GeneralConstantMap([B.Type_MenuDropdownRightProps_APm, B.PropsMeta_ww8], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_ExtensionEndMovingProps_omH = A.typeLiteral("ExtensionEndMovingProps"); + B.PropDescriptor_ent = new A.PropDescriptor("ExtensionEndMovingProps.dna_end", false, false, false); + B.PropDescriptor_mRX = new A.PropDescriptor("ExtensionEndMovingProps.ext", false, false, false); + B.PropDescriptor_MMm = new A.PropDescriptor("ExtensionEndMovingProps.geometry", false, false, false); + B.PropDescriptor_1i1 = new A.PropDescriptor("ExtensionEndMovingProps.attached_end_svg", false, false, false); + B.PropDescriptor_mFV = new A.PropDescriptor("ExtensionEndMovingProps.helix", false, false, false); + B.PropDescriptor_mFV0 = new A.PropDescriptor("ExtensionEndMovingProps.group", false, false, false); + B.PropDescriptor_mFV1 = new A.PropDescriptor("ExtensionEndMovingProps.color", false, false, false); + B.PropDescriptor_nAo = new A.PropDescriptor("ExtensionEndMovingProps.forward", false, false, false); + B.PropDescriptor_mFV2 = new A.PropDescriptor("ExtensionEndMovingProps.is_5p", false, false, false); + B.PropDescriptor_Isn = new A.PropDescriptor("ExtensionEndMovingProps.current_point", false, false, false); + B.PropDescriptor_6ch = new A.PropDescriptor("ExtensionEndMovingProps.render", true, true, true); + B.PropDescriptor_WRr0 = new A.PropDescriptor("ExtensionEndMovingProps.allowable", true, true, true); + B.List_5Wf = A._setArrayType(makeConstList([B.PropDescriptor_ent, B.PropDescriptor_mRX, B.PropDescriptor_MMm, B.PropDescriptor_1i1, B.PropDescriptor_mFV, B.PropDescriptor_mFV0, B.PropDescriptor_mFV1, B.PropDescriptor_nAo, B.PropDescriptor_mFV2, B.PropDescriptor_Isn, B.PropDescriptor_6ch, B.PropDescriptor_WRr0]), type$.JSArray_legacy_PropDescriptor); + B.List_kyU = A._setArrayType(makeConstList(["ExtensionEndMovingProps.dna_end", "ExtensionEndMovingProps.ext", "ExtensionEndMovingProps.geometry", "ExtensionEndMovingProps.attached_end_svg", "ExtensionEndMovingProps.helix", "ExtensionEndMovingProps.group", "ExtensionEndMovingProps.color", "ExtensionEndMovingProps.forward", "ExtensionEndMovingProps.is_5p", "ExtensionEndMovingProps.current_point", "ExtensionEndMovingProps.render", "ExtensionEndMovingProps.allowable"]), type$.JSArray_legacy_String); + B.PropsMeta_cg9 = new A.PropsMeta(B.List_5Wf, B.List_kyU); + B.Map_HYJmU = new A.GeneralConstantMap([B.Type_ExtensionEndMovingProps_omH, B.PropsMeta_cg9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignSideHelixProps_kSE = A.typeLiteral("DesignSideHelixProps"); + B.PropDescriptor_0by = new A.PropDescriptor("DesignSideHelixProps.helix", true, true, true); + B.PropDescriptor_GBn = new A.PropDescriptor("DesignSideHelixProps.slice_bar_offset", false, false, false); + B.PropDescriptor_QJM = new A.PropDescriptor("DesignSideHelixProps.selected", true, true, true); + B.PropDescriptor_46y = new A.PropDescriptor("DesignSideHelixProps.mouse_is_over", true, true, true); + B.PropDescriptor_2jH = new A.PropDescriptor(string$.DesignSHh, true, true, true); + B.PropDescriptor_ifL = new A.PropDescriptor(string$.DesignSHs, true, true, true); + B.PropDescriptor_2eT = new A.PropDescriptor("DesignSideHelixProps.invert_y", true, true, true); + B.PropDescriptor_8eb = new A.PropDescriptor("DesignSideHelixProps.grid", true, true, true); + B.PropDescriptor_In5 = new A.PropDescriptor("DesignSideHelixProps.rotation_data", false, false, false); + B.PropDescriptor_Zr2 = new A.PropDescriptor("DesignSideHelixProps.edit_modes", true, true, true); + B.List_puH = A._setArrayType(makeConstList([B.PropDescriptor_0by, B.PropDescriptor_GBn, B.PropDescriptor_QJM, B.PropDescriptor_46y, B.PropDescriptor_2jH, B.PropDescriptor_ifL, B.PropDescriptor_2eT, B.PropDescriptor_8eb, B.PropDescriptor_In5, B.PropDescriptor_Zr2]), type$.JSArray_legacy_PropDescriptor); + B.List_69P0 = A._setArrayType(makeConstList(["DesignSideHelixProps.helix", "DesignSideHelixProps.slice_bar_offset", "DesignSideHelixProps.selected", "DesignSideHelixProps.mouse_is_over", string$.DesignSHh, string$.DesignSHs, "DesignSideHelixProps.invert_y", "DesignSideHelixProps.grid", "DesignSideHelixProps.rotation_data", "DesignSideHelixProps.edit_modes"]), type$.JSArray_legacy_String); + B.PropsMeta_E3y = new A.PropsMeta(B.List_puH, B.List_69P0); + B.Map_IIql5 = new A.GeneralConstantMap([B.Type_DesignSideHelixProps_kSE, B.PropsMeta_E3y], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainStrandMovingProps_oyn = A.typeLiteral("DesignMainStrandMovingProps"); + B.PropDescriptor_gkc2 = new A.PropDescriptor("DesignMainStrandMovingProps.strand", true, true, true); + B.PropDescriptor_O98 = new A.PropDescriptor(string$.DesignMStMvo, true, true, true); + B.PropDescriptor_0by0 = new A.PropDescriptor(string$.DesignMStMvc, true, true, true); + B.PropDescriptor_A8J = new A.PropDescriptor(string$.DesignMStMvs, true, true, true); + B.PropDescriptor_ckJ0 = new A.PropDescriptor(string$.DesignMStMvdv, true, true, true); + B.PropDescriptor_ifn = new A.PropDescriptor("DesignMainStrandMovingProps.delta_offset", true, true, true); + B.PropDescriptor_o0y2 = new A.PropDescriptor(string$.DesignMStMvdf, true, true, true); + B.PropDescriptor_exN = new A.PropDescriptor("DesignMainStrandMovingProps.allowable", true, true, true); + B.PropDescriptor_v9h = new A.PropDescriptor("DesignMainStrandMovingProps.helices", true, true, true); + B.PropDescriptor_qV6 = new A.PropDescriptor("DesignMainStrandMovingProps.groups", true, true, true); + B.PropDescriptor_GVH = new A.PropDescriptor("DesignMainStrandMovingProps.geometry", true, true, true); + B.PropDescriptor_yHF = new A.PropDescriptor(string$.DesignMStMvh, true, true, true); + B.List_sEs = A._setArrayType(makeConstList([B.PropDescriptor_gkc2, B.PropDescriptor_O98, B.PropDescriptor_0by0, B.PropDescriptor_A8J, B.PropDescriptor_ckJ0, B.PropDescriptor_ifn, B.PropDescriptor_o0y2, B.PropDescriptor_exN, B.PropDescriptor_v9h, B.PropDescriptor_qV6, B.PropDescriptor_GVH, B.PropDescriptor_yHF]), type$.JSArray_legacy_PropDescriptor); + B.List_7Id = A._setArrayType(makeConstList(["DesignMainStrandMovingProps.strand", string$.DesignMStMvo, string$.DesignMStMvc, string$.DesignMStMvs, string$.DesignMStMvdv, "DesignMainStrandMovingProps.delta_offset", string$.DesignMStMvdf, "DesignMainStrandMovingProps.allowable", "DesignMainStrandMovingProps.helices", "DesignMainStrandMovingProps.groups", "DesignMainStrandMovingProps.geometry", string$.DesignMStMvh]), type$.JSArray_legacy_String); + B.PropsMeta_AD9 = new A.PropsMeta(B.List_sEs, B.List_7Id); + B.Map_Jeg27 = new A.GeneralConstantMap([B.Type_DesignMainStrandMovingProps_oyn, B.PropsMeta_AD9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignLoadingDialogProps_rSH = A.typeLiteral("DesignLoadingDialogProps"); + B.PropDescriptor_Che = new A.PropDescriptor("DesignLoadingDialogProps.show", true, true, true); + B.List_GBZ = A._setArrayType(makeConstList([B.PropDescriptor_Che]), type$.JSArray_legacy_PropDescriptor); + B.List_Gn1 = A._setArrayType(makeConstList(["DesignLoadingDialogProps.show"]), type$.JSArray_legacy_String); + B.PropsMeta_VWN = new A.PropsMeta(B.List_GBZ, B.List_Gn1); + B.Map_KF6q6 = new A.GeneralConstantMap([B.Type_DesignLoadingDialogProps_rSH, B.PropsMeta_VWN], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDNASequencesProps_MXq = A.typeLiteral("DesignMainDNASequencesProps"); + B.PropDescriptor_EKj = new A.PropDescriptor("DesignMainDNASequencesProps.helices", true, true, true); + B.PropDescriptor_cGl = new A.PropDescriptor("DesignMainDNASequencesProps.groups", true, true, true); + B.PropDescriptor_G7N = new A.PropDescriptor("DesignMainDNASequencesProps.geometry", true, true, true); + B.PropDescriptor_ybo = new A.PropDescriptor("DesignMainDNASequencesProps.strands", true, true, true); + B.PropDescriptor_I2a = new A.PropDescriptor(string$.DesignMDNSss, true, true, true); + B.PropDescriptor_cjK = new A.PropDescriptor(string$.DesignMDNSsdnu, false, false, false); + B.PropDescriptor_6uw = new A.PropDescriptor(string$.DesignMDNSsdnh, true, true, true); + B.PropDescriptor_mhG = new A.PropDescriptor(string$.DesignMDNSsdnv, true, true, true); + B.PropDescriptor_eMR = new A.PropDescriptor(string$.DesignMDNSsi, true, true, true); + B.PropDescriptor_o0y3 = new A.PropDescriptor(string$.DesignMDNSse, false, false, false); + B.PropDescriptor_kyk = new A.PropDescriptor(string$.DesignMDNSso, true, true, true); + B.PropDescriptor_o0y4 = new A.PropDescriptor(string$.DesignMDNSsh, true, true, true); + B.PropDescriptor_MQk0 = new A.PropDescriptor(string$.DesignMDNSsdia, true, true, true); + B.PropDescriptor_IYq = new A.PropDescriptor(string$.DesignMDNSsr, true, true, true); + B.PropDescriptor_kQR = new A.PropDescriptor(string$.DesignMDNSsdip, true, true, true); + B.List_cgN = A._setArrayType(makeConstList([B.PropDescriptor_EKj, B.PropDescriptor_cGl, B.PropDescriptor_G7N, B.PropDescriptor_ybo, B.PropDescriptor_I2a, B.PropDescriptor_cjK, B.PropDescriptor_6uw, B.PropDescriptor_mhG, B.PropDescriptor_eMR, B.PropDescriptor_o0y3, B.PropDescriptor_kyk, B.PropDescriptor_o0y4, B.PropDescriptor_MQk0, B.PropDescriptor_IYq, B.PropDescriptor_kQR]), type$.JSArray_legacy_PropDescriptor); + B.List_chs = A._setArrayType(makeConstList(["DesignMainDNASequencesProps.helices", "DesignMainDNASequencesProps.groups", "DesignMainDNASequencesProps.geometry", "DesignMainDNASequencesProps.strands", string$.DesignMDNSss, string$.DesignMDNSsdnu, string$.DesignMDNSsdnh, string$.DesignMDNSsdnv, string$.DesignMDNSsi, string$.DesignMDNSse, string$.DesignMDNSso, string$.DesignMDNSsh, string$.DesignMDNSsdia, string$.DesignMDNSsr, string$.DesignMDNSsdip]), type$.JSArray_legacy_String); + B.PropsMeta_70H = new A.PropsMeta(B.List_cgN, B.List_chs); + B.Map_KYw97 = new A.GeneralConstantMap([B.Type_DesignMainDNASequencesProps_MXq, B.PropsMeta_70H], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainExtensionProps_flW = A.typeLiteral("DesignMainExtensionProps"); + B.PropDescriptor_ACu = new A.PropDescriptor("DesignMainExtensionProps.ext", true, true, true); + B.PropDescriptor_LxZ = new A.PropDescriptor("DesignMainExtensionProps.adjacent_domain", true, true, true); + B.PropDescriptor_8eb0 = new A.PropDescriptor("DesignMainExtensionProps.adjacent_helix", true, true, true); + B.PropDescriptor_INd = new A.PropDescriptor("DesignMainExtensionProps.strand_color", true, true, true); + B.PropDescriptor_842 = new A.PropDescriptor("DesignMainExtensionProps.strand", true, true, true); + B.PropDescriptor_8aB = new A.PropDescriptor("DesignMainExtensionProps.strand_tooltip", true, true, true); + B.PropDescriptor_Gbn = new A.PropDescriptor("DesignMainExtensionProps.transform", true, true, true); + B.PropDescriptor_5US = new A.PropDescriptor(string$.DesignMEa, true, true, true); + B.PropDescriptor_96V = new A.PropDescriptor("DesignMainExtensionProps.selected", true, true, true); + B.PropDescriptor_U8c = new A.PropDescriptor("DesignMainExtensionProps.helices", true, true, true); + B.PropDescriptor_IVQ = new A.PropDescriptor("DesignMainExtensionProps.groups", true, true, true); + B.PropDescriptor_6U3 = new A.PropDescriptor("DesignMainExtensionProps.geometry", true, true, true); + B.PropDescriptor_MMY = new A.PropDescriptor(string$.DesignMEr, true, true, true); + B.List_Mul = A._setArrayType(makeConstList([B.PropDescriptor_ACu, B.PropDescriptor_LxZ, B.PropDescriptor_8eb0, B.PropDescriptor_INd, B.PropDescriptor_842, B.PropDescriptor_8aB, B.PropDescriptor_Gbn, B.PropDescriptor_5US, B.PropDescriptor_96V, B.PropDescriptor_U8c, B.PropDescriptor_IVQ, B.PropDescriptor_6U3, B.PropDescriptor_MMY]), type$.JSArray_legacy_PropDescriptor); + B.List_02 = A._setArrayType(makeConstList(["DesignMainExtensionProps.ext", "DesignMainExtensionProps.adjacent_domain", "DesignMainExtensionProps.adjacent_helix", "DesignMainExtensionProps.strand_color", "DesignMainExtensionProps.strand", "DesignMainExtensionProps.strand_tooltip", "DesignMainExtensionProps.transform", string$.DesignMEa, "DesignMainExtensionProps.selected", "DesignMainExtensionProps.helices", "DesignMainExtensionProps.groups", "DesignMainExtensionProps.geometry", string$.DesignMEr]), type$.JSArray_legacy_String); + B.PropsMeta_oyU = new A.PropsMeta(B.List_Mul, B.List_02); + B.Map_L9AYZ = new A.GeneralConstantMap([B.Type_DesignMainExtensionProps_flW, B.PropsMeta_oyU], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDomainsMovingProps_U06 = A.typeLiteral("DesignMainDomainsMovingProps"); + B.PropDescriptor_ssD = new A.PropDescriptor(string$.DesignMDosd, false, false, false); + B.PropDescriptor_mpx = new A.PropDescriptor(string$.DesignMDosco, true, true, true); + B.PropDescriptor_IFE = new A.PropDescriptor(string$.DesignMDoso, true, true, true); + B.PropDescriptor_eQb = new A.PropDescriptor(string$.DesignMDoscu, true, true, true); + B.PropDescriptor_s87 = new A.PropDescriptor("DesignMainDomainsMovingProps.helices", true, true, true); + B.PropDescriptor_jvJ = new A.PropDescriptor("DesignMainDomainsMovingProps.groups", true, true, true); + B.PropDescriptor_eDF = new A.PropDescriptor(string$.DesignMDoss, true, true, true); + B.PropDescriptor_2No1 = new A.PropDescriptor("DesignMainDomainsMovingProps.geometry", true, true, true); + B.PropDescriptor_zBm = new A.PropDescriptor(string$.DesignMDosh, true, true, true); + B.List_MGu = A._setArrayType(makeConstList([B.PropDescriptor_ssD, B.PropDescriptor_mpx, B.PropDescriptor_IFE, B.PropDescriptor_eQb, B.PropDescriptor_s87, B.PropDescriptor_jvJ, B.PropDescriptor_eDF, B.PropDescriptor_2No1, B.PropDescriptor_zBm]), type$.JSArray_legacy_PropDescriptor); + B.List_ArU = A._setArrayType(makeConstList([string$.DesignMDosd, string$.DesignMDosco, string$.DesignMDoso, string$.DesignMDoscu, "DesignMainDomainsMovingProps.helices", "DesignMainDomainsMovingProps.groups", string$.DesignMDoss, "DesignMainDomainsMovingProps.geometry", string$.DesignMDosh]), type$.JSArray_legacy_String); + B.PropsMeta_1uJ = new A.PropsMeta(B.List_MGu, B.List_ArU); + B.Map_LBiKm = new A.GeneralConstantMap([B.Type_DesignMainDomainsMovingProps_U06, B.PropsMeta_1uJ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignContextMenuProps_W5U = A.typeLiteral("DesignContextMenuProps"); + B.PropDescriptor_Yjj = new A.PropDescriptor("DesignContextMenuProps.context_menu", false, false, false); + B.List_ivD = A._setArrayType(makeConstList([B.PropDescriptor_Yjj]), type$.JSArray_legacy_PropDescriptor); + B.List_yXb0 = A._setArrayType(makeConstList(["DesignContextMenuProps.context_menu"]), type$.JSArray_legacy_String); + B.PropsMeta_kiE = new A.PropsMeta(B.List_ivD, B.List_yXb0); + B.Map_MCk2a = new A.GeneralConstantMap([B.Type_DesignContextMenuProps_W5U, B.PropsMeta_kiE], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignDialogFormProps_gkJ = A.typeLiteral("DesignDialogFormProps"); + B.PropDescriptor_Dil = new A.PropDescriptor("DesignDialogFormProps.dialog", false, false, false); + B.List_Oda = A._setArrayType(makeConstList([B.PropDescriptor_Dil]), type$.JSArray_legacy_PropDescriptor); + B.List_RYF = A._setArrayType(makeConstList(["DesignDialogFormProps.dialog"]), type$.JSArray_legacy_String); + B.PropsMeta_ek3 = new A.PropsMeta(B.List_Oda, B.List_RYF); + B.Map_MIUSr = new A.GeneralConstantMap([B.Type_DesignDialogFormProps_gkJ, B.PropsMeta_ek3], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignSideRotationArrowProps_bVZ = A.typeLiteral("DesignSideRotationArrowProps"); + B.PropDescriptor_le5 = new A.PropDescriptor(string$.DesignSR, true, true, true); + B.PropDescriptor_cdS0 = new A.PropDescriptor("DesignSideRotationArrowProps.radius", true, true, true); + B.PropDescriptor_sBE = new A.PropDescriptor("DesignSideRotationArrowProps.color", true, true, true); + B.PropDescriptor_iL9 = new A.PropDescriptor("DesignSideRotationArrowProps.invert_y", true, true, true); + B.List_qNu = A._setArrayType(makeConstList([B.PropDescriptor_le5, B.PropDescriptor_cdS0, B.PropDescriptor_sBE, B.PropDescriptor_iL9]), type$.JSArray_legacy_PropDescriptor); + B.List_qNf = A._setArrayType(makeConstList([string$.DesignSR, "DesignSideRotationArrowProps.radius", "DesignSideRotationArrowProps.color", "DesignSideRotationArrowProps.invert_y"]), type$.JSArray_legacy_String); + B.PropsMeta_JLN = new A.PropsMeta(B.List_qNu, B.List_qNf); + B.Map_OPVIs = new A.GeneralConstantMap([B.Type_DesignSideRotationArrowProps_bVZ, B.PropsMeta_JLN], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_SideMenuProps_FIw = A.typeLiteral("SideMenuProps"); + B.PropDescriptor_uti = new A.PropDescriptor("SideMenuProps.groups", false, false, false); + B.PropDescriptor_jjl = new A.PropDescriptor("SideMenuProps.displayed_group_name", true, true, true); + B.List_F3U = A._setArrayType(makeConstList([B.PropDescriptor_uti, B.PropDescriptor_jjl]), type$.JSArray_legacy_PropDescriptor); + B.List_P1S = A._setArrayType(makeConstList(["SideMenuProps.groups", "SideMenuProps.displayed_group_name"]), type$.JSArray_legacy_String); + B.PropsMeta_yDx = new A.PropsMeta(B.List_F3U, B.List_P1S); + B.Map_OTv4L = new A.GeneralConstantMap([B.Type_SideMenuProps_FIw, B.PropsMeta_yDx], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.List_Ogi = A._setArrayType(makeConstList(["filter", "stroke-width"]), type$.JSArray_legacy_String); + B.Map_OgmUV = new A.ConstantStringMap(2, {filter: 'url("#shadow")', "stroke-width": "5pt"}, B.List_Ogi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + B.Type_DesignMainSliceBarProps_2fK = A.typeLiteral("DesignMainSliceBarProps"); + B.PropDescriptor_8E0 = new A.PropDescriptor("DesignMainSliceBarProps.slice_bar_offset", true, true, true); + B.PropDescriptor_AK0 = new A.PropDescriptor("DesignMainSliceBarProps.helices", true, true, true); + B.PropDescriptor_glK = new A.PropDescriptor("DesignMainSliceBarProps.groups", true, true, true); + B.PropDescriptor_X3x = new A.PropDescriptor("DesignMainSliceBarProps.geometry", true, true, true); + B.PropDescriptor_sty = new A.PropDescriptor(string$.DesignMSld, true, true, true); + B.PropDescriptor_GAn = new A.PropDescriptor(string$.DesignMSlhs, true, true, true); + B.PropDescriptor_4AN = new A.PropDescriptor(string$.DesignMSls, true, true, true); + B.PropDescriptor_c9P = new A.PropDescriptor(string$.DesignMSlo, true, true, true); + B.PropDescriptor_yzp = new A.PropDescriptor(string$.DesignMSlh_, true, true, true); + B.List_yct = A._setArrayType(makeConstList([B.PropDescriptor_8E0, B.PropDescriptor_AK0, B.PropDescriptor_glK, B.PropDescriptor_X3x, B.PropDescriptor_sty, B.PropDescriptor_GAn, B.PropDescriptor_4AN, B.PropDescriptor_c9P, B.PropDescriptor_yzp]), type$.JSArray_legacy_PropDescriptor); + B.List_ejq0 = A._setArrayType(makeConstList(["DesignMainSliceBarProps.slice_bar_offset", "DesignMainSliceBarProps.helices", "DesignMainSliceBarProps.groups", "DesignMainSliceBarProps.geometry", string$.DesignMSld, string$.DesignMSlhs, string$.DesignMSls, string$.DesignMSlo, string$.DesignMSlh_]), type$.JSArray_legacy_String); + B.PropsMeta_gkc = new A.PropsMeta(B.List_yct, B.List_ejq0); + B.Map_OkS19 = new A.GeneralConstantMap([B.Type_DesignMainSliceBarProps_2fK, B.PropsMeta_gkc], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_8eb0 = A.typeLiteral("DesignMainStrandCreatingProps"); + B.PropDescriptor_TH1 = new A.PropDescriptor("DesignMainStrandCreatingProps.helix", true, true, true); + B.PropDescriptor_XZn = new A.PropDescriptor("DesignMainStrandCreatingProps.forward", true, true, true); + B.PropDescriptor_TH10 = new A.PropDescriptor("DesignMainStrandCreatingProps.start", true, true, true); + B.PropDescriptor_WfU = new A.PropDescriptor("DesignMainStrandCreatingProps.end", true, true, true); + B.PropDescriptor_TH11 = new A.PropDescriptor("DesignMainStrandCreatingProps.color", true, true, true); + B.PropDescriptor_XZn0 = new A.PropDescriptor("DesignMainStrandCreatingProps.helices", true, true, true); + B.PropDescriptor_KYK = new A.PropDescriptor("DesignMainStrandCreatingProps.groups", true, true, true); + B.PropDescriptor_sUT = new A.PropDescriptor("DesignMainStrandCreatingProps.geometry", true, true, true); + B.PropDescriptor_S38 = new A.PropDescriptor(string$.DesignMStCe, true, true, true); + B.List_wHJ = A._setArrayType(makeConstList([B.PropDescriptor_TH1, B.PropDescriptor_XZn, B.PropDescriptor_TH10, B.PropDescriptor_WfU, B.PropDescriptor_TH11, B.PropDescriptor_XZn0, B.PropDescriptor_KYK, B.PropDescriptor_sUT, B.PropDescriptor_S38]), type$.JSArray_legacy_PropDescriptor); + B.List_ivS = A._setArrayType(makeConstList(["DesignMainStrandCreatingProps.helix", "DesignMainStrandCreatingProps.forward", "DesignMainStrandCreatingProps.start", "DesignMainStrandCreatingProps.end", "DesignMainStrandCreatingProps.color", "DesignMainStrandCreatingProps.helices", "DesignMainStrandCreatingProps.groups", "DesignMainStrandCreatingProps.geometry", string$.DesignMStCe]), type$.JSArray_legacy_String); + B.PropsMeta_Ucj = new A.PropsMeta(B.List_wHJ, B.List_ivS); + B.Map_Qcsav = new A.GeneralConstantMap([B.Type_8eb0, B.PropsMeta_Ucj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_vXF = A.typeLiteral("DesignMainStrandCrossoverProps"); + B.PropDescriptor_0e8 = new A.PropDescriptor("DesignMainStrandCrossoverProps.crossover", true, true, true); + B.PropDescriptor_uXM = new A.PropDescriptor("DesignMainStrandCrossoverProps.strand", true, true, true); + B.PropDescriptor_zt1 = new A.PropDescriptor("DesignMainStrandCrossoverProps.helices", true, true, true); + B.PropDescriptor_uXM0 = new A.PropDescriptor("DesignMainStrandCrossoverProps.groups", true, true, true); + B.PropDescriptor_9PC = new A.PropDescriptor("DesignMainStrandCrossoverProps.selected", true, true, true); + B.PropDescriptor_O1J = new A.PropDescriptor(string$.DesignMStCop, true, true, true); + B.PropDescriptor_O1J0 = new A.PropDescriptor(string$.DesignMStCon, true, true, true); + B.PropDescriptor_23h = new A.PropDescriptor("DesignMainStrandCrossoverProps.geometry", true, true, true); + B.PropDescriptor_IKb = new A.PropDescriptor(string$.DesignMStCop_, true, true, true); + B.PropDescriptor_IKb0 = new A.PropDescriptor(string$.DesignMStCon_, true, true, true); + B.PropDescriptor_nt1 = new A.PropDescriptor(string$.DesignMStCor, true, true, true); + B.List_5Gq = A._setArrayType(makeConstList([B.PropDescriptor_0e8, B.PropDescriptor_uXM, B.PropDescriptor_zt1, B.PropDescriptor_uXM0, B.PropDescriptor_9PC, B.PropDescriptor_O1J, B.PropDescriptor_O1J0, B.PropDescriptor_23h, B.PropDescriptor_IKb, B.PropDescriptor_IKb0, B.PropDescriptor_nt1]), type$.JSArray_legacy_PropDescriptor); + B.List_1CK = A._setArrayType(makeConstList(["DesignMainStrandCrossoverProps.crossover", "DesignMainStrandCrossoverProps.strand", "DesignMainStrandCrossoverProps.helices", "DesignMainStrandCrossoverProps.groups", "DesignMainStrandCrossoverProps.selected", string$.DesignMStCop, string$.DesignMStCon, "DesignMainStrandCrossoverProps.geometry", string$.DesignMStCop_, string$.DesignMStCon_, string$.DesignMStCor]), type$.JSArray_legacy_String); + B.PropsMeta_y9W = new A.PropsMeta(B.List_5Gq, B.List_1CK); + B.Map_QcwHn = new A.GeneralConstantMap([B.Type_vXF, B.PropsMeta_y9W], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_AxisArrowsSideProps_mkN = A.typeLiteral("AxisArrowsSideProps"); + B.PropDescriptor_00 = new A.PropDescriptor("AxisArrowsSideProps.invert_y", true, true, true); + B.PropDescriptor_ZoM = new A.PropDescriptor(string$.AxisArS, true, true, true); + B.List_4if = A._setArrayType(makeConstList([B.PropDescriptor_00, B.PropDescriptor_ZoM]), type$.JSArray_legacy_PropDescriptor); + B.List_yHZ = A._setArrayType(makeConstList(["AxisArrowsSideProps.invert_y", string$.AxisArS]), type$.JSArray_legacy_String); + B.PropsMeta_69t = new A.PropsMeta(B.List_4if, B.List_yHZ); + B.Map_RGnlV = new A.GeneralConstantMap([B.Type_AxisArrowsSideProps_mkN, B.PropsMeta_69t], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainStrandsProps_yEF = A.typeLiteral("DesignMainStrandsProps"); + B.PropDescriptor_XFm = new A.PropDescriptor("DesignMainStrandsProps.strands", true, true, true); + B.PropDescriptor_cwF = new A.PropDescriptor("DesignMainStrandsProps.helices", true, true, true); + B.PropDescriptor_2Vk = new A.PropDescriptor("DesignMainStrandsProps.groups", true, true, true); + B.PropDescriptor_omv = new A.PropDescriptor(string$.DesignMStsPsi, true, true, true); + B.PropDescriptor_0Nb = new A.PropDescriptor("DesignMainStrandsProps.selectables_store", true, true, true); + B.PropDescriptor_sAz = new A.PropDescriptor("DesignMainStrandsProps.show_dna", true, true, true); + B.PropDescriptor_exN0 = new A.PropDescriptor(string$.DesignMStsPshm, true, true, true); + B.PropDescriptor_5YB = new A.PropDescriptor("DesignMainStrandsProps.show_strand_names", true, true, true); + B.PropDescriptor_O9i = new A.PropDescriptor(string$.DesignMStsPshs, true, true, true); + B.PropDescriptor_KGj = new A.PropDescriptor("DesignMainStrandsProps.show_domain_names", true, true, true); + B.PropDescriptor_uPo = new A.PropDescriptor(string$.DesignMStsPshd, true, true, true); + B.PropDescriptor_7bL = new A.PropDescriptor(string$.DesignMStsPstn, true, true, true); + B.PropDescriptor_gUw = new A.PropDescriptor(string$.DesignMStsPstl, true, true, true); + B.PropDescriptor_ArU = new A.PropDescriptor(string$.DesignMStsPdon, true, true, true); + B.PropDescriptor_IKb1 = new A.PropDescriptor(string$.DesignMStsPdol, true, true, true); + B.PropDescriptor_L7P = new A.PropDescriptor(string$.DesignMStsPmf, true, true, true); + B.PropDescriptor_YmG = new A.PropDescriptor(string$.DesignMStsPdr, true, true, true); + B.PropDescriptor_p0I = new A.PropDescriptor("DesignMainStrandsProps.moving_dna_ends", true, true, true); + B.PropDescriptor_kaS = new A.PropDescriptor(string$.DesignMStsPdn, true, true, true); + B.PropDescriptor_EOZ = new A.PropDescriptor(string$.DesignMStsPo, true, true, true); + B.PropDescriptor_LHx = new A.PropDescriptor(string$.DesignMStsPmd, true, true, true); + B.PropDescriptor_gWk = new A.PropDescriptor(string$.DesignMStsPdi, true, true, true); + B.PropDescriptor_Tvc = new A.PropDescriptor("DesignMainStrandsProps.geometry", true, true, true); + B.PropDescriptor_mhG0 = new A.PropDescriptor(string$.DesignMStsPh, true, true, true); + B.PropDescriptor_IF2 = new A.PropDescriptor(string$.DesignMStsPr, true, true, true); + B.List_yDs = A._setArrayType(makeConstList([B.PropDescriptor_XFm, B.PropDescriptor_cwF, B.PropDescriptor_2Vk, B.PropDescriptor_omv, B.PropDescriptor_0Nb, B.PropDescriptor_sAz, B.PropDescriptor_exN0, B.PropDescriptor_5YB, B.PropDescriptor_O9i, B.PropDescriptor_KGj, B.PropDescriptor_uPo, B.PropDescriptor_7bL, B.PropDescriptor_gUw, B.PropDescriptor_ArU, B.PropDescriptor_IKb1, B.PropDescriptor_L7P, B.PropDescriptor_YmG, B.PropDescriptor_p0I, B.PropDescriptor_kaS, B.PropDescriptor_EOZ, B.PropDescriptor_LHx, B.PropDescriptor_gWk, B.PropDescriptor_Tvc, B.PropDescriptor_mhG0, B.PropDescriptor_IF2]), type$.JSArray_legacy_PropDescriptor); + B.List_B8J0 = A._setArrayType(makeConstList(["DesignMainStrandsProps.strands", "DesignMainStrandsProps.helices", "DesignMainStrandsProps.groups", string$.DesignMStsPsi, "DesignMainStrandsProps.selectables_store", "DesignMainStrandsProps.show_dna", string$.DesignMStsPshm, "DesignMainStrandsProps.show_strand_names", string$.DesignMStsPshs, "DesignMainStrandsProps.show_domain_names", string$.DesignMStsPshd, string$.DesignMStsPstn, string$.DesignMStsPstl, string$.DesignMStsPdon, string$.DesignMStsPdol, string$.DesignMStsPmf, string$.DesignMStsPdr, "DesignMainStrandsProps.moving_dna_ends", string$.DesignMStsPdn, string$.DesignMStsPo, string$.DesignMStsPmd, string$.DesignMStsPdi, "DesignMainStrandsProps.geometry", string$.DesignMStsPh, string$.DesignMStsPr]), type$.JSArray_legacy_String); + B.PropsMeta_Mzi = new A.PropsMeta(B.List_yDs, B.List_B8J0); + B.Map_S7wAg = new A.GeneralConstantMap([B.Type_DesignMainStrandsProps_yEF, B.PropsMeta_Mzi], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_MenuNumberPropsMixin_gYy = A.typeLiteral("MenuNumberPropsMixin"); + B.PropDescriptor_wAl = new A.PropDescriptor("MenuNumberPropsMixin.display", true, true, true); + B.PropDescriptor_AHF = new A.PropDescriptor("MenuNumberPropsMixin.default_value", true, true, true); + B.PropDescriptor_Nq6 = new A.PropDescriptor("MenuNumberPropsMixin.on_new_value", true, true, true); + B.PropDescriptor_gkc3 = new A.PropDescriptor("MenuNumberPropsMixin.input_elt_id", false, false, false); + B.PropDescriptor_yfz = new A.PropDescriptor("MenuNumberPropsMixin.min_value", true, true, true); + B.PropDescriptor_jUw = new A.PropDescriptor("MenuNumberPropsMixin.hide", true, true, true); + B.PropDescriptor_gOv = new A.PropDescriptor("MenuNumberPropsMixin.tooltip", true, true, true); + B.PropDescriptor_8qt = new A.PropDescriptor("MenuNumberPropsMixin.step", true, true, true); + B.List_YUI = A._setArrayType(makeConstList([B.PropDescriptor_wAl, B.PropDescriptor_AHF, B.PropDescriptor_Nq6, B.PropDescriptor_gkc3, B.PropDescriptor_yfz, B.PropDescriptor_jUw, B.PropDescriptor_gOv, B.PropDescriptor_8qt]), type$.JSArray_legacy_PropDescriptor); + B.List_OlX = A._setArrayType(makeConstList(["MenuNumberPropsMixin.display", "MenuNumberPropsMixin.default_value", "MenuNumberPropsMixin.on_new_value", "MenuNumberPropsMixin.input_elt_id", "MenuNumberPropsMixin.min_value", "MenuNumberPropsMixin.hide", "MenuNumberPropsMixin.tooltip", "MenuNumberPropsMixin.step"]), type$.JSArray_legacy_String); + B.PropsMeta_IK6 = new A.PropsMeta(B.List_YUI, B.List_OlX); + B.Map_Uc7Gq = new A.GeneralConstantMap([B.Type_MenuNumberPropsMixin_gYy, B.PropsMeta_IK6], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_End5PrimeProps_n3g = A.typeLiteral("End5PrimeProps"); + B.PropDescriptor_23h0 = new A.PropDescriptor("End5PrimeProps.classname", true, true, true); + B.PropDescriptor_nN4 = new A.PropDescriptor("End5PrimeProps.pos", true, true, true); + B.PropDescriptor_2No2 = new A.PropDescriptor("End5PrimeProps.color", true, true, true); + B.PropDescriptor_nV5 = new A.PropDescriptor("End5PrimeProps.forward", true, true, true); + B.PropDescriptor_hgv = new A.PropDescriptor("End5PrimeProps.on_pointer_down", false, false, false); + B.PropDescriptor_AWW = new A.PropDescriptor("End5PrimeProps.on_pointer_up", false, false, false); + B.PropDescriptor_uEV = new A.PropDescriptor("End5PrimeProps.on_mouse_up", false, false, false); + B.PropDescriptor_sYE = new A.PropDescriptor("End5PrimeProps.on_mouse_move", false, false, false); + B.PropDescriptor_3Ex = new A.PropDescriptor("End5PrimeProps.on_mouse_enter", false, false, false); + B.PropDescriptor_3Ex0 = new A.PropDescriptor("End5PrimeProps.on_mouse_leave", false, false, false); + B.PropDescriptor_nN40 = new A.PropDescriptor("End5PrimeProps.id_", false, false, false); + B.PropDescriptor_Mqd = new A.PropDescriptor("End5PrimeProps.transform", false, false, false); + B.List_CxF = A._setArrayType(makeConstList([B.PropDescriptor_23h0, B.PropDescriptor_nN4, B.PropDescriptor_2No2, B.PropDescriptor_nV5, B.PropDescriptor_hgv, B.PropDescriptor_AWW, B.PropDescriptor_uEV, B.PropDescriptor_sYE, B.PropDescriptor_3Ex, B.PropDescriptor_3Ex0, B.PropDescriptor_nN40, B.PropDescriptor_Mqd]), type$.JSArray_legacy_PropDescriptor); + B.List_s2g = A._setArrayType(makeConstList(["End5PrimeProps.classname", "End5PrimeProps.pos", "End5PrimeProps.color", "End5PrimeProps.forward", "End5PrimeProps.on_pointer_down", "End5PrimeProps.on_pointer_up", "End5PrimeProps.on_mouse_up", "End5PrimeProps.on_mouse_move", "End5PrimeProps.on_mouse_enter", "End5PrimeProps.on_mouse_leave", "End5PrimeProps.id_", "End5PrimeProps.transform"]), type$.JSArray_legacy_String); + B.PropsMeta_6m4 = new A.PropsMeta(B.List_CxF, B.List_s2g); + B.Map_Wb23h = new A.GeneralConstantMap([B.Type_End5PrimeProps_n3g, B.PropsMeta_6m4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_kMT = A.typeLiteral("DesignMainUnpairedInsertionDeletionsProps"); + B.PropDescriptor_CqM = new A.PropDescriptor(string$.DesignMUd, true, true, true); + B.PropDescriptor_s4w = new A.PropDescriptor(string$.DesignMUo, true, true, true); + B.PropDescriptor_Oge = new A.PropDescriptor(string$.DesignMUs, true, true, true); + B.PropDescriptor_Yrv = new A.PropDescriptor(string$.DesignMUh, true, true, true); + B.List_OlD = A._setArrayType(makeConstList([B.PropDescriptor_CqM, B.PropDescriptor_s4w, B.PropDescriptor_Oge, B.PropDescriptor_Yrv]), type$.JSArray_legacy_PropDescriptor); + B.List_C1h = A._setArrayType(makeConstList([string$.DesignMUd, string$.DesignMUo, string$.DesignMUs, string$.DesignMUh]), type$.JSArray_legacy_String); + B.PropsMeta_6ra = new A.PropsMeta(B.List_OlD, B.List_C1h); + B.Map_YqOzp = new A.GeneralConstantMap([B.Type_kMT, B.PropsMeta_6ra], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_0zK = A.typeLiteral("DesignMainBasePairRectangleProps"); + B.PropDescriptor_5YB0 = new A.PropDescriptor(string$.DesignMBRw, true, true, true); + B.PropDescriptor_mye = new A.PropDescriptor("DesignMainBasePairRectangleProps.design", true, true, true); + B.PropDescriptor_WRr1 = new A.PropDescriptor(string$.DesignMBRo, true, true, true); + B.PropDescriptor_GJr = new A.PropDescriptor(string$.DesignMBRs, true, true, true); + B.PropDescriptor_e5Z = new A.PropDescriptor(string$.DesignMBRh, true, true, true); + B.List_h4d = A._setArrayType(makeConstList([B.PropDescriptor_5YB0, B.PropDescriptor_mye, B.PropDescriptor_WRr1, B.PropDescriptor_GJr, B.PropDescriptor_e5Z]), type$.JSArray_legacy_PropDescriptor); + B.List_yT3 = A._setArrayType(makeConstList([string$.DesignMBRw, "DesignMainBasePairRectangleProps.design", string$.DesignMBRo, string$.DesignMBRs, string$.DesignMBRh]), type$.JSArray_legacy_String); + B.PropsMeta_wEo = new A.PropsMeta(B.List_h4d, B.List_yT3); + B.Map_ZR52A = new A.GeneralConstantMap([B.Type_0zK, B.PropsMeta_wEo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_EditModeProps_kxj = A.typeLiteral("EditModeProps"); + B.PropDescriptor_m53 = new A.PropDescriptor("EditModeProps.modes", true, true, true); + B.List_K55 = A._setArrayType(makeConstList([B.PropDescriptor_m53]), type$.JSArray_legacy_PropDescriptor); + B.List_iZu = A._setArrayType(makeConstList(["EditModeProps.modes"]), type$.JSArray_legacy_String); + B.PropsMeta_cTZ = new A.PropsMeta(B.List_K55, B.List_iZu); + B.Map_bdfHw = new A.GeneralConstantMap([B.Type_EditModeProps_kxj, B.PropsMeta_cTZ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Map_bv0 = new A.GeneralConstantMap([B.ExportDNAFormat_csv, "CSV (.csv)", B.ExportDNAFormat_idt_bulk, "IDT Bulk (.txt)", B.ExportDNAFormat_idt_plates96, "IDT 96-well plate(s) (.xlsx)", B.ExportDNAFormat_idt_plates384, "IDT 384-well plate(s) (.xlsx)"], A.findType("GeneralConstantMap")); + B.Type_HelixGroupMovingProps_ivX = A.typeLiteral("HelixGroupMovingProps"); + B.PropDescriptor_Svw = new A.PropDescriptor("HelixGroupMovingProps.helix_group_move", false, false, false); + B.PropDescriptor_2Vk0 = new A.PropDescriptor(string$.HelixGs, true, true, true); + B.PropDescriptor_idh = new A.PropDescriptor(string$.HelixGo, true, true, true); + B.PropDescriptor_oo3 = new A.PropDescriptor("HelixGroupMovingProps.show_helix_circles", true, true, true); + B.PropDescriptor_WlI = new A.PropDescriptor(string$.HelixGh, true, true, true); + B.PropDescriptor_XtE = new A.PropDescriptor(string$.HelixGmo, true, true, true); + B.PropDescriptor_j7r0 = new A.PropDescriptor(string$.HelixGmw, true, true, true); + B.PropDescriptor_A4U = new A.PropDescriptor("HelixGroupMovingProps.show_domain_labels", true, true, true); + B.List_zrt0 = A._setArrayType(makeConstList([B.PropDescriptor_Svw, B.PropDescriptor_2Vk0, B.PropDescriptor_idh, B.PropDescriptor_oo3, B.PropDescriptor_WlI, B.PropDescriptor_XtE, B.PropDescriptor_j7r0, B.PropDescriptor_A4U]), type$.JSArray_legacy_PropDescriptor); + B.List_5Vs = A._setArrayType(makeConstList(["HelixGroupMovingProps.helix_group_move", string$.HelixGs, string$.HelixGo, "HelixGroupMovingProps.show_helix_circles", string$.HelixGh, string$.HelixGmo, string$.HelixGmw, "HelixGroupMovingProps.show_domain_labels"]), type$.JSArray_legacy_String); + B.PropsMeta_HVK = new A.PropsMeta(B.List_zrt0, B.List_5Vs); + B.Map_cKej4 = new A.GeneralConstantMap([B.Type_HelixGroupMovingProps_ivX, B.PropsMeta_HVK], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_MenuFormFileProps_afF = A.typeLiteral("MenuFormFileProps"); + B.PropDescriptor_wEs = new A.PropDescriptor("MenuFormFileProps.id_", true, true, true); + B.PropDescriptor_6ai = new A.PropDescriptor("MenuFormFileProps.accept", true, true, true); + B.PropDescriptor_aXZ0 = new A.PropDescriptor("MenuFormFileProps.on_change", true, true, true); + B.PropDescriptor_ESz0 = new A.PropDescriptor("MenuFormFileProps.display", true, true, true); + B.PropDescriptor_9Ya = new A.PropDescriptor("MenuFormFileProps.keyboard_shortcut", false, false, false); + B.List_sM8 = A._setArrayType(makeConstList([B.PropDescriptor_wEs, B.PropDescriptor_6ai, B.PropDescriptor_aXZ0, B.PropDescriptor_ESz0, B.PropDescriptor_9Ya]), type$.JSArray_legacy_PropDescriptor); + B.List_wEo2 = A._setArrayType(makeConstList(["MenuFormFileProps.id_", "MenuFormFileProps.accept", "MenuFormFileProps.on_change", "MenuFormFileProps.display", "MenuFormFileProps.keyboard_shortcut"]), type$.JSArray_legacy_String); + B.PropsMeta_JCw = new A.PropsMeta(B.List_sM8, B.List_wEo2); + B.Map_ca8ix = new A.GeneralConstantMap([B.Type_MenuFormFileProps_afF, B.PropsMeta_JCw], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_Zma = A.typeLiteral("StrandOrSubstrandColorPickerProps"); + B.PropDescriptor_sZG = new A.PropDescriptor("StrandOrSubstrandColorPickerProps.color", false, false, false); + B.PropDescriptor_d4f0 = new A.PropDescriptor("StrandOrSubstrandColorPickerProps.show", true, true, true); + B.PropDescriptor_U430 = new A.PropDescriptor("StrandOrSubstrandColorPickerProps.strand", false, false, false); + B.PropDescriptor_yrt = new A.PropDescriptor(string$.Strand, false, false, false); + B.List_aBG = A._setArrayType(makeConstList([B.PropDescriptor_sZG, B.PropDescriptor_d4f0, B.PropDescriptor_U430, B.PropDescriptor_yrt]), type$.JSArray_legacy_PropDescriptor); + B.List_dy4 = A._setArrayType(makeConstList(["StrandOrSubstrandColorPickerProps.color", "StrandOrSubstrandColorPickerProps.show", "StrandOrSubstrandColorPickerProps.strand", string$.Strand]), type$.JSArray_legacy_String); + B.PropsMeta_GSD = new A.PropsMeta(B.List_aBG, B.List_dy4); + B.Map_csgs8 = new A.GeneralConstantMap([B.Type_Zma, B.PropsMeta_GSD], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_qVI = A.typeLiteral("DesignMainDomainNameMismatchesProps"); + B.PropDescriptor_KMB = new A.PropDescriptor(string$.DesignMDoNd, true, true, true); + B.PropDescriptor_avf = new A.PropDescriptor(string$.DesignMDoNo, true, true, true); + B.PropDescriptor_H1k0 = new A.PropDescriptor(string$.DesignMDoNs, true, true, true); + B.PropDescriptor_4AN0 = new A.PropDescriptor(string$.DesignMDoNh, true, true, true); + B.List_1qJ = A._setArrayType(makeConstList([B.PropDescriptor_KMB, B.PropDescriptor_avf, B.PropDescriptor_H1k0, B.PropDescriptor_4AN0]), type$.JSArray_legacy_PropDescriptor); + B.List_rxd = A._setArrayType(makeConstList([string$.DesignMDoNd, string$.DesignMDoNo, string$.DesignMDoNs, string$.DesignMDoNh]), type$.JSArray_legacy_String); + B.PropsMeta_z3s = new A.PropsMeta(B.List_1qJ, B.List_rxd); + B.Map_cwodG = new A.GeneralConstantMap([B.Type_qVI, B.PropsMeta_z3s], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainProps_cQL = A.typeLiteral("DesignMainProps"); + B.PropDescriptor_inH = new A.PropDescriptor("DesignMainProps.state", true, true, true); + B.List_O1S = A._setArrayType(makeConstList([B.PropDescriptor_inH]), type$.JSArray_legacy_PropDescriptor); + B.List_a9P = A._setArrayType(makeConstList(["DesignMainProps.state"]), type$.JSArray_legacy_String); + B.PropsMeta_omC = new A.PropsMeta(B.List_O1S, B.List_a9P); + B.Map_dyUgo = new A.GeneralConstantMap([B.Type_DesignMainProps_cQL, B.PropsMeta_omC], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_PotentialExtensionsViewProps_cQL = A.typeLiteral("PotentialExtensionsViewProps"); + B.PropDescriptor_0Mq = new A.PropDescriptor(string$.PotentE, false, false, false); + B.PropDescriptor_yLX = new A.PropDescriptor("PotentialExtensionsViewProps.id_", false, false, false); + B.List_Xbn = A._setArrayType(makeConstList([B.PropDescriptor_0Mq, B.PropDescriptor_yLX]), type$.JSArray_legacy_PropDescriptor); + B.List_enE = A._setArrayType(makeConstList([string$.PotentE, "PotentialExtensionsViewProps.id_"]), type$.JSArray_legacy_String); + B.PropsMeta_d88 = new A.PropsMeta(B.List_Xbn, B.List_enE); + B.Map_dywEo = new A.GeneralConstantMap([B.Type_PotentialExtensionsViewProps_cQL, B.PropsMeta_d88], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainLoopoutProps_2Lu = A.typeLiteral("DesignMainLoopoutProps"); + B.PropDescriptor_23h1 = new A.PropDescriptor("DesignMainLoopoutProps.loopout", true, true, true); + B.PropDescriptor_tUb = new A.PropDescriptor("DesignMainLoopoutProps.strand", true, true, true); + B.PropDescriptor_LdX = new A.PropDescriptor("DesignMainLoopoutProps.strand_color", true, true, true); + B.PropDescriptor_Ucj = new A.PropDescriptor("DesignMainLoopoutProps.prev_domain", true, true, true); + B.PropDescriptor_axY = new A.PropDescriptor("DesignMainLoopoutProps.next_domain", true, true, true); + B.PropDescriptor_UIY = new A.PropDescriptor("DesignMainLoopoutProps.prev_helix", true, true, true); + B.PropDescriptor_QI8 = new A.PropDescriptor("DesignMainLoopoutProps.next_helix", true, true, true); + B.PropDescriptor_hky0 = new A.PropDescriptor("DesignMainLoopoutProps.selected", true, true, true); + B.PropDescriptor_A4L = new A.PropDescriptor("DesignMainLoopoutProps.show_domain_names", true, true, true); + B.PropDescriptor_MXK = new A.PropDescriptor("DesignMainLoopoutProps.helices", true, true, true); + B.PropDescriptor_1uz = new A.PropDescriptor("DesignMainLoopoutProps.groups", true, true, true); + B.PropDescriptor_Eo20 = new A.PropDescriptor("DesignMainLoopoutProps.geometry", true, true, true); + B.PropDescriptor_lQA = new A.PropDescriptor(string$.DesignMLPp, true, true, true); + B.PropDescriptor_M2I = new A.PropDescriptor(string$.DesignMLPn, true, true, true); + B.PropDescriptor_IbN = new A.PropDescriptor(string$.DesignMLPr, true, true, true); + B.List_Zyt0 = A._setArrayType(makeConstList([B.PropDescriptor_23h1, B.PropDescriptor_tUb, B.PropDescriptor_LdX, B.PropDescriptor_Ucj, B.PropDescriptor_axY, B.PropDescriptor_UIY, B.PropDescriptor_QI8, B.PropDescriptor_hky0, B.PropDescriptor_A4L, B.PropDescriptor_MXK, B.PropDescriptor_1uz, B.PropDescriptor_Eo20, B.PropDescriptor_lQA, B.PropDescriptor_M2I, B.PropDescriptor_IbN]), type$.JSArray_legacy_PropDescriptor); + B.List_EuK = A._setArrayType(makeConstList(["DesignMainLoopoutProps.loopout", "DesignMainLoopoutProps.strand", "DesignMainLoopoutProps.strand_color", "DesignMainLoopoutProps.prev_domain", "DesignMainLoopoutProps.next_domain", "DesignMainLoopoutProps.prev_helix", "DesignMainLoopoutProps.next_helix", "DesignMainLoopoutProps.selected", "DesignMainLoopoutProps.show_domain_names", "DesignMainLoopoutProps.helices", "DesignMainLoopoutProps.groups", "DesignMainLoopoutProps.geometry", string$.DesignMLPp, string$.DesignMLPn, string$.DesignMLPr]), type$.JSArray_legacy_String); + B.PropsMeta_6Yf = new A.PropsMeta(B.List_Zyt0, B.List_EuK); + B.Map_e3e5Z = new A.GeneralConstantMap([B.Type_DesignMainLoopoutProps_2Lu, B.PropsMeta_6Yf], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<@,@>")); + B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty0, A.findType("ConstantStringMap")); + B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty0, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + B.List_empty8 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty8, A.findType("ConstantStringMap")); + B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_legacy_int); + B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap*>")); + B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap*>*>")); + B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap")); + B.Type_DesignSideProps_ifx = A.typeLiteral("DesignSideProps"); + B.PropDescriptor_0NM = new A.PropDescriptor("DesignSideProps.helices", true, true, true); + B.PropDescriptor_GRg = new A.PropDescriptor("DesignSideProps.helix_idxs_selected", true, true, true); + B.PropDescriptor_qpm = new A.PropDescriptor("DesignSideProps.rotation_datas", true, true, true); + B.PropDescriptor_8xm = new A.PropDescriptor("DesignSideProps.edit_modes", true, true, true); + B.PropDescriptor_1U6 = new A.PropDescriptor("DesignSideProps.geometry", true, true, true); + B.PropDescriptor_HzV = new A.PropDescriptor("DesignSideProps.slice_bar_offset", false, false, false); + B.PropDescriptor_Jd1 = new A.PropDescriptor("DesignSideProps.mouse_svg_pos", false, false, false); + B.PropDescriptor_MQu = new A.PropDescriptor(string$.DesignSPrg, false, false, false); + B.PropDescriptor_mXg = new A.PropDescriptor("DesignSideProps.invert_y", true, true, true); + B.PropDescriptor_yrN = new A.PropDescriptor(string$.DesignSPrh, true, true, true); + B.PropDescriptor_KVt = new A.PropDescriptor("DesignSideProps.show_grid_coordinates", true, true, true); + B.PropDescriptor_U0v = new A.PropDescriptor("DesignSideProps.displayed_group", true, true, true); + B.List_9J1 = A._setArrayType(makeConstList([B.PropDescriptor_0NM, B.PropDescriptor_GRg, B.PropDescriptor_qpm, B.PropDescriptor_8xm, B.PropDescriptor_1U6, B.PropDescriptor_HzV, B.PropDescriptor_Jd1, B.PropDescriptor_MQu, B.PropDescriptor_mXg, B.PropDescriptor_yrN, B.PropDescriptor_KVt, B.PropDescriptor_U0v]), type$.JSArray_legacy_PropDescriptor); + B.List_MMm = A._setArrayType(makeConstList(["DesignSideProps.helices", "DesignSideProps.helix_idxs_selected", "DesignSideProps.rotation_datas", "DesignSideProps.edit_modes", "DesignSideProps.geometry", "DesignSideProps.slice_bar_offset", "DesignSideProps.mouse_svg_pos", string$.DesignSPrg, "DesignSideProps.invert_y", string$.DesignSPrh, "DesignSideProps.show_grid_coordinates", "DesignSideProps.displayed_group"]), type$.JSArray_legacy_String); + B.PropsMeta_ibp = new A.PropsMeta(B.List_9J1, B.List_MMm); + B.Map_gGnZA = new A.GeneralConstantMap([B.Type_DesignSideProps_ifx, B.PropsMeta_ibp], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDomainProps_wIv = A.typeLiteral("DesignMainDomainProps"); + B.PropDescriptor_CnH = new A.PropDescriptor("DesignMainDomainProps.domain", true, true, true); + B.PropDescriptor_ali = new A.PropDescriptor("DesignMainDomainProps.strand_color", true, true, true); + B.PropDescriptor_lqU = new A.PropDescriptor("DesignMainDomainProps.helix", true, true, true); + B.PropDescriptor_B3s = new A.PropDescriptor("DesignMainDomainProps.strand_tooltip", true, true, true); + B.PropDescriptor_S0t = new A.PropDescriptor("DesignMainDomainProps.strand", true, true, true); + B.PropDescriptor_UgE = new A.PropDescriptor("DesignMainDomainProps.transform", true, true, true); + B.PropDescriptor_qp8 = new A.PropDescriptor("DesignMainDomainProps.helix_svg_position", true, true, true); + B.PropDescriptor_hCt = new A.PropDescriptor(string$.DesignMDoPc, true, true, true); + B.PropDescriptor_e3y = new A.PropDescriptor("DesignMainDomainProps.selected", true, true, true); + B.PropDescriptor_gg4 = new A.PropDescriptor("DesignMainDomainProps.helices", true, true, true); + B.PropDescriptor_qhE = new A.PropDescriptor("DesignMainDomainProps.groups", true, true, true); + B.PropDescriptor_I31 = new A.PropDescriptor("DesignMainDomainProps.geometry", true, true, true); + B.PropDescriptor_gkJ = new A.PropDescriptor(string$.DesignMDoPr, true, true, true); + B.List_A4W = A._setArrayType(makeConstList([B.PropDescriptor_CnH, B.PropDescriptor_ali, B.PropDescriptor_lqU, B.PropDescriptor_B3s, B.PropDescriptor_S0t, B.PropDescriptor_UgE, B.PropDescriptor_qp8, B.PropDescriptor_hCt, B.PropDescriptor_e3y, B.PropDescriptor_gg4, B.PropDescriptor_qhE, B.PropDescriptor_I31, B.PropDescriptor_gkJ]), type$.JSArray_legacy_PropDescriptor); + B.List_IO40 = A._setArrayType(makeConstList(["DesignMainDomainProps.domain", "DesignMainDomainProps.strand_color", "DesignMainDomainProps.helix", "DesignMainDomainProps.strand_tooltip", "DesignMainDomainProps.strand", "DesignMainDomainProps.transform", "DesignMainDomainProps.helix_svg_position", string$.DesignMDoPc, "DesignMainDomainProps.selected", "DesignMainDomainProps.helices", "DesignMainDomainProps.groups", "DesignMainDomainProps.geometry", string$.DesignMDoPr]), type$.JSArray_legacy_String); + B.PropsMeta_zjx = new A.PropsMeta(B.List_A4W, B.List_IO40); + B.Map_ivM4y = new A.GeneralConstantMap([B.Type_DesignMainDomainProps_wIv, B.PropsMeta_zjx], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_86y = A.typeLiteral("DesignMainPotentialVerticalCrossoverProps"); + B.PropDescriptor_wmn = new A.PropDescriptor(string$.DesignMPPp, true, true, true); + B.PropDescriptor_iL90 = new A.PropDescriptor(string$.DesignMPPhc, true, true, true); + B.PropDescriptor_XNd0 = new A.PropDescriptor(string$.DesignMPPgr, true, true, true); + B.PropDescriptor_kUZ = new A.PropDescriptor(string$.DesignMPPge, true, true, true); + B.PropDescriptor_EKW = new A.PropDescriptor(string$.DesignMPPhx, true, true, true); + B.List_tGs = A._setArrayType(makeConstList([B.PropDescriptor_wmn, B.PropDescriptor_iL90, B.PropDescriptor_XNd0, B.PropDescriptor_kUZ, B.PropDescriptor_EKW]), type$.JSArray_legacy_PropDescriptor); + B.List_Pdf = A._setArrayType(makeConstList([string$.DesignMPPp, string$.DesignMPPhc, string$.DesignMPPgr, string$.DesignMPPge, string$.DesignMPPhx]), type$.JSArray_legacy_String); + B.PropsMeta_wIq = new A.PropsMeta(B.List_tGs, B.List_Pdf); + B.Map_jdsUL = new A.GeneralConstantMap([B.Type_86y, B.PropsMeta_wIq], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_Scz = A.typeLiteral("DesignMainStrandInsertionProps"); + B.PropDescriptor_EOZ0 = new A.PropDescriptor(string$.DesignMStIse, true, true, true); + B.PropDescriptor_IQp = new A.PropDescriptor("DesignMainStrandInsertionProps.helix", true, true, true); + B.PropDescriptor_aTW0 = new A.PropDescriptor("DesignMainStrandInsertionProps.transform", true, true, true); + B.PropDescriptor_IQp0 = new A.PropDescriptor("DesignMainStrandInsertionProps.color", true, true, true); + B.PropDescriptor_wDC = new A.PropDescriptor("DesignMainStrandInsertionProps.selected", true, true, true); + B.PropDescriptor_wIt = new A.PropDescriptor(string$.DesignMStId, true, true, true); + B.PropDescriptor_01 = new A.PropDescriptor(string$.DesignMStIsv, true, true, true); + B.PropDescriptor_VSK = new A.PropDescriptor(string$.DesignMStIr, true, true, true); + B.List_ijJ = A._setArrayType(makeConstList([B.PropDescriptor_EOZ0, B.PropDescriptor_IQp, B.PropDescriptor_aTW0, B.PropDescriptor_IQp0, B.PropDescriptor_wDC, B.PropDescriptor_wIt, B.PropDescriptor_01, B.PropDescriptor_VSK]), type$.JSArray_legacy_PropDescriptor); + B.List_A8D = A._setArrayType(makeConstList([string$.DesignMStIse, "DesignMainStrandInsertionProps.helix", "DesignMainStrandInsertionProps.transform", "DesignMainStrandInsertionProps.color", "DesignMainStrandInsertionProps.selected", string$.DesignMStId, string$.DesignMStIsv, string$.DesignMStIr]), type$.JSArray_legacy_String); + B.PropsMeta_XZn = new A.PropsMeta(B.List_ijJ, B.List_A8D); + B.Map_jwkc1 = new A.GeneralConstantMap([B.Type_Scz, B.PropsMeta_XZn], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDomainMovingProps_YIZ = A.typeLiteral("DesignMainDomainMovingProps"); + B.PropDescriptor_rAq = new A.PropDescriptor("DesignMainDomainMovingProps.domain_moved", true, true, true); + B.PropDescriptor_StX = new A.PropDescriptor("DesignMainDomainMovingProps.color", true, true, true); + B.PropDescriptor_02 = new A.PropDescriptor(string$.DesignMDoMo, true, true, true); + B.PropDescriptor_iNI = new A.PropDescriptor(string$.DesignMDoMc, true, true, true); + B.PropDescriptor_23B = new A.PropDescriptor(string$.DesignMDoMs, true, true, true); + B.PropDescriptor_C9i = new A.PropDescriptor(string$.DesignMDoMdev, true, true, true); + B.PropDescriptor_uzN = new A.PropDescriptor("DesignMainDomainMovingProps.delta_offset", true, true, true); + B.PropDescriptor_IFE0 = new A.PropDescriptor(string$.DesignMDoMdef, true, true, true); + B.PropDescriptor_gn0 = new A.PropDescriptor("DesignMainDomainMovingProps.allowable", true, true, true); + B.PropDescriptor_IIy = new A.PropDescriptor("DesignMainDomainMovingProps.helices", true, true, true); + B.PropDescriptor_zDH = new A.PropDescriptor("DesignMainDomainMovingProps.groups", true, true, true); + B.PropDescriptor_QJM0 = new A.PropDescriptor("DesignMainDomainMovingProps.geometry", true, true, true); + B.PropDescriptor_Tvq = new A.PropDescriptor(string$.DesignMDoMdo, true, true, true); + B.List_2Vk0 = A._setArrayType(makeConstList([B.PropDescriptor_rAq, B.PropDescriptor_StX, B.PropDescriptor_02, B.PropDescriptor_iNI, B.PropDescriptor_23B, B.PropDescriptor_C9i, B.PropDescriptor_uzN, B.PropDescriptor_IFE0, B.PropDescriptor_gn0, B.PropDescriptor_IIy, B.PropDescriptor_zDH, B.PropDescriptor_QJM0, B.PropDescriptor_Tvq]), type$.JSArray_legacy_PropDescriptor); + B.List_Ql2 = A._setArrayType(makeConstList(["DesignMainDomainMovingProps.domain_moved", "DesignMainDomainMovingProps.color", string$.DesignMDoMo, string$.DesignMDoMc, string$.DesignMDoMs, string$.DesignMDoMdev, "DesignMainDomainMovingProps.delta_offset", string$.DesignMDoMdef, "DesignMainDomainMovingProps.allowable", "DesignMainDomainMovingProps.helices", "DesignMainDomainMovingProps.groups", "DesignMainDomainMovingProps.geometry", string$.DesignMDoMdo]), type$.JSArray_legacy_String); + B.PropsMeta_3bx = new A.PropsMeta(B.List_2Vk0, B.List_Ql2); + B.Map_kTckn = new A.GeneralConstantMap([B.Type_DesignMainDomainMovingProps_YIZ, B.PropsMeta_3bx], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainStrandPathsProps_IEJ = A.typeLiteral("DesignMainStrandPathsProps"); + B.PropDescriptor_42Z = new A.PropDescriptor("DesignMainStrandPathsProps.strand", true, true, true); + B.PropDescriptor_33h = new A.PropDescriptor(string$.DesignMStPasi, false, false, false); + B.PropDescriptor_Opy = new A.PropDescriptor(string$.DesignMStPao, true, true, true); + B.PropDescriptor_T7A = new A.PropDescriptor(string$.DesignMStPaseen, true, true, true); + B.PropDescriptor_zrt = new A.PropDescriptor(string$.DesignMStPasec, true, true, true); + B.PropDescriptor_2b9 = new A.PropDescriptor(string$.DesignMStPasel, true, true, true); + B.PropDescriptor_WvV = new A.PropDescriptor(string$.DesignMStPaseex, true, true, true); + B.PropDescriptor_MQk1 = new A.PropDescriptor(string$.DesignMStPased, true, true, true); + B.PropDescriptor_0vI = new A.PropDescriptor("DesignMainStrandPathsProps.helices", true, true, true); + B.PropDescriptor_Qfy = new A.PropDescriptor("DesignMainStrandPathsProps.groups", true, true, true); + B.PropDescriptor_WHr = new A.PropDescriptor("DesignMainStrandPathsProps.geometry", true, true, true); + B.PropDescriptor_kGu = new A.PropDescriptor(string$.DesignMStPash, true, true, true); + B.PropDescriptor_7VO = new A.PropDescriptor(string$.DesignMStPad, true, true, true); + B.PropDescriptor_LFH0 = new A.PropDescriptor(string$.DesignMStPam, true, true, true); + B.PropDescriptor_3ZW = new A.PropDescriptor(string$.DesignMStPast, true, true, true); + B.PropDescriptor_LdX0 = new A.PropDescriptor(string$.DesignMStPac, true, true, true); + B.PropDescriptor_mRX0 = new A.PropDescriptor(string$.DesignMStPah, true, true, true); + B.PropDescriptor_Djg = new A.PropDescriptor(string$.DesignMStPar, true, true, true); + B.List_I6i = A._setArrayType(makeConstList([B.PropDescriptor_42Z, B.PropDescriptor_33h, B.PropDescriptor_Opy, B.PropDescriptor_T7A, B.PropDescriptor_zrt, B.PropDescriptor_2b9, B.PropDescriptor_WvV, B.PropDescriptor_MQk1, B.PropDescriptor_0vI, B.PropDescriptor_Qfy, B.PropDescriptor_WHr, B.PropDescriptor_kGu, B.PropDescriptor_7VO, B.PropDescriptor_LFH0, B.PropDescriptor_3ZW, B.PropDescriptor_LdX0, B.PropDescriptor_mRX0, B.PropDescriptor_Djg]), type$.JSArray_legacy_PropDescriptor); + B.List_Isn0 = A._setArrayType(makeConstList(["DesignMainStrandPathsProps.strand", string$.DesignMStPasi, string$.DesignMStPao, string$.DesignMStPaseen, string$.DesignMStPasec, string$.DesignMStPasel, string$.DesignMStPaseex, string$.DesignMStPased, "DesignMainStrandPathsProps.helices", "DesignMainStrandPathsProps.groups", "DesignMainStrandPathsProps.geometry", string$.DesignMStPash, string$.DesignMStPad, string$.DesignMStPam, string$.DesignMStPast, string$.DesignMStPac, string$.DesignMStPah, string$.DesignMStPar]), type$.JSArray_legacy_String); + B.PropsMeta_qR4 = new A.PropsMeta(B.List_I6i, B.List_Isn0); + B.Map_l36TA = new A.GeneralConstantMap([B.Type_DesignMainStrandPathsProps_IEJ, B.PropsMeta_qR4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_mly = A.typeLiteral("DesignMainStrandModificationProps"); + B.PropDescriptor_CLX = new A.PropDescriptor(string$.DesignMStMdPsa, true, true, true); + B.PropDescriptor_OVI = new A.PropDescriptor("DesignMainStrandModificationProps.helix", true, true, true); + B.PropDescriptor_MQk2 = new A.PropDescriptor("DesignMainStrandModificationProps.ext", false, false, false); + B.PropDescriptor_JmU = new A.PropDescriptor(string$.DesignMStMdPt, true, true, true); + B.PropDescriptor_8eb1 = new A.PropDescriptor(string$.DesignMStMdPf, true, true, true); + B.PropDescriptor_b1W = new A.PropDescriptor(string$.DesignMStMdPdi, true, true, true); + B.PropDescriptor_yT2 = new A.PropDescriptor(string$.DesignMStMdPse, true, true, true); + B.PropDescriptor_Es0 = new A.PropDescriptor(string$.DesignMStMdPg, true, true, true); + B.PropDescriptor_69P = new A.PropDescriptor(string$.DesignMStMdPh, true, true, true); + B.PropDescriptor_GVy = new A.PropDescriptor(string$.DesignMStMdPr, true, true, true); + B.PropDescriptor_Az6 = new A.PropDescriptor(string$.DesignMStMdPdn, false, false, false); + B.List_FYo0 = A._setArrayType(makeConstList([B.PropDescriptor_CLX, B.PropDescriptor_OVI, B.PropDescriptor_MQk2, B.PropDescriptor_JmU, B.PropDescriptor_8eb1, B.PropDescriptor_b1W, B.PropDescriptor_yT2, B.PropDescriptor_Es0, B.PropDescriptor_69P, B.PropDescriptor_GVy, B.PropDescriptor_Az6]), type$.JSArray_legacy_PropDescriptor); + B.List_alm = A._setArrayType(makeConstList([string$.DesignMStMdPsa, "DesignMainStrandModificationProps.helix", "DesignMainStrandModificationProps.ext", string$.DesignMStMdPt, string$.DesignMStMdPf, string$.DesignMStMdPdi, string$.DesignMStMdPse, string$.DesignMStMdPg, string$.DesignMStMdPh, string$.DesignMStMdPr, string$.DesignMStMdPdn]), type$.JSArray_legacy_String); + B.PropsMeta_2Hr = new A.PropsMeta(B.List_FYo0, B.List_alm); + B.Map_l5Opy = new A.GeneralConstantMap([B.Type_mly, B.PropsMeta_2Hr], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_c4a = A.typeLiteral("DesignMainStrandLoopoutTextProps"); + B.PropDescriptor_3Vk = new A.PropDescriptor("DesignMainStrandLoopoutTextProps.loopout", true, true, true); + B.PropDescriptor_yHO = new A.PropDescriptor(string$.DesignMStLg, true, true, true); + B.PropDescriptor_qiR = new A.PropDescriptor(string$.DesignMStLp, true, true, true); + B.PropDescriptor_qiR0 = new A.PropDescriptor(string$.DesignMStLne, true, true, true); + B.PropDescriptor_dUG1 = new A.PropDescriptor("DesignMainStrandLoopoutTextProps.text", true, true, true); + B.PropDescriptor_Stp = new A.PropDescriptor(string$.DesignMStLc, true, true, true); + B.PropDescriptor_oyU = new A.PropDescriptor(string$.DesignMStLnu, true, true, true); + B.PropDescriptor_gkc4 = new A.PropDescriptor(string$.DesignMStLf, true, true, true); + B.List_c8x = A._setArrayType(makeConstList([B.PropDescriptor_3Vk, B.PropDescriptor_yHO, B.PropDescriptor_qiR, B.PropDescriptor_qiR0, B.PropDescriptor_dUG1, B.PropDescriptor_Stp, B.PropDescriptor_oyU, B.PropDescriptor_gkc4]), type$.JSArray_legacy_PropDescriptor); + B.List_IFo = A._setArrayType(makeConstList(["DesignMainStrandLoopoutTextProps.loopout", string$.DesignMStLg, string$.DesignMStLp, string$.DesignMStLne, "DesignMainStrandLoopoutTextProps.text", string$.DesignMStLc, string$.DesignMStLnu, string$.DesignMStLf]), type$.JSArray_legacy_String); + B.PropsMeta_U06 = new A.PropsMeta(B.List_c8x, B.List_IFo); + B.Map_mJkdI = new A.GeneralConstantMap([B.Type_c4a, B.PropsMeta_U06], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignFooterProps_qRH = A.typeLiteral("DesignFooterProps"); + B.PropDescriptor_Wht = new A.PropDescriptor("DesignFooterProps.mouseover_datas", true, true, true); + B.PropDescriptor_gsm0 = new A.PropDescriptor(string$.DesignF, false, false, false); + B.PropDescriptor_IZX = new A.PropDescriptor("DesignFooterProps.loaded_filename", false, false, false); + B.List_mqP = A._setArrayType(makeConstList([B.PropDescriptor_Wht, B.PropDescriptor_gsm0, B.PropDescriptor_IZX]), type$.JSArray_legacy_PropDescriptor); + B.List_uh9 = A._setArrayType(makeConstList(["DesignFooterProps.mouseover_datas", string$.DesignF, "DesignFooterProps.loaded_filename"]), type$.JSArray_legacy_String); + B.PropsMeta_Npb = new A.PropsMeta(B.List_mqP, B.List_uh9); + B.Map_np43h = new A.GeneralConstantMap([B.Type_DesignFooterProps_qRH, B.PropsMeta_Npb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainHelicesProps_Jik = A.typeLiteral("DesignMainHelicesProps"); + B.PropDescriptor_2bx = new A.PropDescriptor("DesignMainHelicesProps.helices", true, true, true); + B.PropDescriptor_iNn = new A.PropDescriptor(string$.DesignMHchis, true, true, true); + B.PropDescriptor_86y0 = new A.PropDescriptor("DesignMainHelicesProps.groups", true, true, true); + B.PropDescriptor_f1j0 = new A.PropDescriptor(string$.DesignMHcsi, true, true, true); + B.PropDescriptor_Qs5 = new A.PropDescriptor(string$.DesignMHcmo, true, true, true); + B.PropDescriptor_fTc = new A.PropDescriptor(string$.DesignMHcmw, true, true, true); + B.PropDescriptor_FWl = new A.PropDescriptor(string$.DesignMHco, true, true, true); + B.PropDescriptor_Ieh = new A.PropDescriptor(string$.DesignMHchc, true, true, true); + B.PropDescriptor_DV7 = new A.PropDescriptor("DesignMainHelicesProps.show_dna", true, true, true); + B.PropDescriptor_7JZ = new A.PropDescriptor(string$.DesignMHcshd, true, true, true); + B.PropDescriptor_F6l = new A.PropDescriptor(string$.DesignMHcdb, true, true, true); + B.PropDescriptor_jCP = new A.PropDescriptor(string$.DesignMHcdb_, true, true, true); + B.PropDescriptor_i3J = new A.PropDescriptor(string$.DesignMHcdm, true, true, true); + B.PropDescriptor_wD4 = new A.PropDescriptor(string$.DesignMHcdm_, true, true, true); + B.PropDescriptor_3lu = new A.PropDescriptor("DesignMainHelicesProps.geometry", true, true, true); + B.PropDescriptor_myx = new A.PropDescriptor(string$.DesignMHcshh, true, true, true); + B.PropDescriptor_YMD = new A.PropDescriptor(string$.DesignMHchi_, true, true, true); + B.PropDescriptor_wY9 = new A.PropDescriptor("DesignMainHelicesProps.invert_y", true, true, true); + B.List_Qw70 = A._setArrayType(makeConstList([B.PropDescriptor_2bx, B.PropDescriptor_iNn, B.PropDescriptor_86y0, B.PropDescriptor_f1j0, B.PropDescriptor_Qs5, B.PropDescriptor_fTc, B.PropDescriptor_FWl, B.PropDescriptor_Ieh, B.PropDescriptor_DV7, B.PropDescriptor_7JZ, B.PropDescriptor_F6l, B.PropDescriptor_jCP, B.PropDescriptor_i3J, B.PropDescriptor_wD4, B.PropDescriptor_3lu, B.PropDescriptor_myx, B.PropDescriptor_YMD, B.PropDescriptor_wY9]), type$.JSArray_legacy_PropDescriptor); + B.List_AeS0 = A._setArrayType(makeConstList(["DesignMainHelicesProps.helices", string$.DesignMHchis, "DesignMainHelicesProps.groups", string$.DesignMHcsi, string$.DesignMHcmo, string$.DesignMHcmw, string$.DesignMHco, string$.DesignMHchc, "DesignMainHelicesProps.show_dna", string$.DesignMHcshd, string$.DesignMHcdb, string$.DesignMHcdb_, string$.DesignMHcdm, string$.DesignMHcdm_, "DesignMainHelicesProps.geometry", string$.DesignMHcshh, string$.DesignMHchi_, "DesignMainHelicesProps.invert_y"]), type$.JSArray_legacy_String); + B.PropsMeta_DV7 = new A.PropsMeta(B.List_Qw70, B.List_AeS0); + B.Map_qZkMT = new A.GeneralConstantMap([B.Type_DesignMainHelicesProps_Jik, B.PropsMeta_DV7], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_v1a = A.typeLiteral("DesignSidePotentialHelixProps"); + B.PropDescriptor_e26 = new A.PropDescriptor("DesignSidePotentialHelixProps.grid", true, true, true); + B.PropDescriptor_kr3 = new A.PropDescriptor(string$.DesignSPog, false, false, false); + B.PropDescriptor_oou = new A.PropDescriptor(string$.DesignSPom, false, false, false); + B.PropDescriptor_Aie = new A.PropDescriptor("DesignSidePotentialHelixProps.invert_y", true, true, true); + B.PropDescriptor_Aie0 = new A.PropDescriptor("DesignSidePotentialHelixProps.geometry", true, true, true); + B.List_eXI = A._setArrayType(makeConstList([B.PropDescriptor_e26, B.PropDescriptor_kr3, B.PropDescriptor_oou, B.PropDescriptor_Aie, B.PropDescriptor_Aie0]), type$.JSArray_legacy_PropDescriptor); + B.List_I2O = A._setArrayType(makeConstList(["DesignSidePotentialHelixProps.grid", string$.DesignSPog, string$.DesignSPom, "DesignSidePotentialHelixProps.invert_y", "DesignSidePotentialHelixProps.geometry"]), type$.JSArray_legacy_String); + B.PropsMeta_Q5s = new A.PropsMeta(B.List_eXI, B.List_I2O); + B.Map_qp0eX = new A.GeneralConstantMap([B.Type_v1a, B.PropsMeta_Q5s], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_SelectModePropsMixin_kqe = A.typeLiteral("SelectModePropsMixin"); + B.Type_ConnectPropsMixin_gkc = A.typeLiteral("ConnectPropsMixin"); + B.PropDescriptor_CWL0 = new A.PropDescriptor("SelectModePropsMixin.select_mode_state", true, true, true); + B.PropDescriptor_odG = new A.PropDescriptor("SelectModePropsMixin.is_origami", true, true, true); + B.List_sty = A._setArrayType(makeConstList([B.PropDescriptor_CWL0, B.PropDescriptor_odG]), type$.JSArray_legacy_PropDescriptor); + B.List_wkm = A._setArrayType(makeConstList(["SelectModePropsMixin.select_mode_state", "SelectModePropsMixin.is_origami"]), type$.JSArray_legacy_String); + B.PropsMeta_KLc = new A.PropsMeta(B.List_sty, B.List_wkm); + B.PropDescriptor_dispatch_true_true_true = new A.PropDescriptor("dispatch", true, true, true); + B.List_ByI = A._setArrayType(makeConstList([B.PropDescriptor_dispatch_true_true_true]), type$.JSArray_legacy_PropDescriptor); + B.List_dispatch = A._setArrayType(makeConstList(["dispatch"]), type$.JSArray_legacy_String); + B.PropsMeta_EGl = new A.PropsMeta(B.List_ByI, B.List_dispatch); + B.Map_scU05 = new A.GeneralConstantMap([B.Type_SelectModePropsMixin_kqe, B.PropsMeta_KLc, B.Type_ConnectPropsMixin_gkc, B.PropsMeta_EGl], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_Ojb = A.typeLiteral("DesignMainLoopoutExtensionLengthProps"); + B.PropDescriptor_xWT = new A.PropDescriptor(string$.DesignMLEPg, true, true, true); + B.PropDescriptor_5sg = new A.PropDescriptor(string$.DesignMLEPs, true, true, true); + B.List_t5a = A._setArrayType(makeConstList([B.PropDescriptor_xWT, B.PropDescriptor_5sg]), type$.JSArray_legacy_PropDescriptor); + B.List_iRE = A._setArrayType(makeConstList([string$.DesignMLEPg, string$.DesignMLEPs]), type$.JSArray_legacy_String); + B.PropsMeta_3tc = new A.PropsMeta(B.List_t5a, B.List_iRE); + B.Map_uQOHx = new A.GeneralConstantMap([B.Type_Ojb, B.PropsMeta_3tc], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainStrandProps_MqP = A.typeLiteral("DesignMainStrandProps"); + B.PropDescriptor_yDH = new A.PropDescriptor("DesignMainStrandProps.strand", true, true, true); + B.PropDescriptor_UEx = new A.PropDescriptor(string$.DesignMStPrsi, false, false, false); + B.PropDescriptor_LCF = new A.PropDescriptor(string$.DesignMStPro, true, true, true); + B.PropDescriptor_4CA = new A.PropDescriptor(string$.DesignMStPrseen, true, true, true); + B.PropDescriptor_G3O = new A.PropDescriptor(string$.DesignMStPrsec, true, true, true); + B.PropDescriptor_tsJ = new A.PropDescriptor(string$.DesignMStPrsel, true, true, true); + B.PropDescriptor_8co = new A.PropDescriptor(string$.DesignMStPrseex, true, true, true); + B.PropDescriptor_4qc = new A.PropDescriptor(string$.DesignMStPrsedo, true, true, true); + B.PropDescriptor_WfU0 = new A.PropDescriptor(string$.DesignMStPrsede, true, true, true); + B.PropDescriptor_8co0 = new A.PropDescriptor(string$.DesignMStPrsei, true, true, true); + B.PropDescriptor_JO4 = new A.PropDescriptor(string$.DesignMStPrsem, true, true, true); + B.PropDescriptor_xw80 = new A.PropDescriptor("DesignMainStrandProps.helices", true, true, true); + B.PropDescriptor_GVQ = new A.PropDescriptor("DesignMainStrandProps.groups", true, true, true); + B.PropDescriptor_gkc5 = new A.PropDescriptor("DesignMainStrandProps.geometry", true, true, true); + B.PropDescriptor_bTF = new A.PropDescriptor("DesignMainStrandProps.selected", true, true, true); + B.PropDescriptor_MMm0 = new A.PropDescriptor(string$.DesignMStPrdr, true, true, true); + B.PropDescriptor_4m4 = new A.PropDescriptor("DesignMainStrandProps.moving_dna_ends", true, true, true); + B.PropDescriptor_o0y5 = new A.PropDescriptor("DesignMainStrandProps.dna_assign_options", true, true, true); + B.PropDescriptor_vHo = new A.PropDescriptor(string$.DesignMStPrmd, true, true, true); + B.PropDescriptor_IZS = new A.PropDescriptor("DesignMainStrandProps.show_dna", true, true, true); + B.PropDescriptor_cg9 = new A.PropDescriptor("DesignMainStrandProps.show_modifications", true, true, true); + B.PropDescriptor_rwn = new A.PropDescriptor(string$.DesignMStPrdi, true, true, true); + B.PropDescriptor_OKv = new A.PropDescriptor("DesignMainStrandProps.show_strand_names", true, true, true); + B.PropDescriptor_V43 = new A.PropDescriptor("DesignMainStrandProps.show_strand_labels", true, true, true); + B.PropDescriptor_Xti = new A.PropDescriptor("DesignMainStrandProps.show_domain_names", true, true, true); + B.PropDescriptor_K61 = new A.PropDescriptor("DesignMainStrandProps.show_domain_labels", true, true, true); + B.PropDescriptor_cgt = new A.PropDescriptor(string$.DesignMStPrstn, true, true, true); + B.PropDescriptor_AvJ = new A.PropDescriptor(string$.DesignMStPrstl, true, true, true); + B.PropDescriptor_gMT = new A.PropDescriptor(string$.DesignMStPrdon, true, true, true); + B.PropDescriptor_mu2 = new A.PropDescriptor(string$.DesignMStPrdol, true, true, true); + B.PropDescriptor_BlY = new A.PropDescriptor(string$.DesignMStPrmf, true, true, true); + B.PropDescriptor_mgM = new A.PropDescriptor(string$.DesignMStPrh, true, true, true); + B.PropDescriptor_GVn = new A.PropDescriptor(string$.DesignMStPrr, true, true, true); + B.List_Ofa = A._setArrayType(makeConstList([B.PropDescriptor_yDH, B.PropDescriptor_UEx, B.PropDescriptor_LCF, B.PropDescriptor_4CA, B.PropDescriptor_G3O, B.PropDescriptor_tsJ, B.PropDescriptor_8co, B.PropDescriptor_4qc, B.PropDescriptor_WfU0, B.PropDescriptor_8co0, B.PropDescriptor_JO4, B.PropDescriptor_xw80, B.PropDescriptor_GVQ, B.PropDescriptor_gkc5, B.PropDescriptor_bTF, B.PropDescriptor_MMm0, B.PropDescriptor_4m4, B.PropDescriptor_o0y5, B.PropDescriptor_vHo, B.PropDescriptor_IZS, B.PropDescriptor_cg9, B.PropDescriptor_rwn, B.PropDescriptor_OKv, B.PropDescriptor_V43, B.PropDescriptor_Xti, B.PropDescriptor_K61, B.PropDescriptor_cgt, B.PropDescriptor_AvJ, B.PropDescriptor_gMT, B.PropDescriptor_mu2, B.PropDescriptor_BlY, B.PropDescriptor_mgM, B.PropDescriptor_GVn]), type$.JSArray_legacy_PropDescriptor); + B.List_LPc = A._setArrayType(makeConstList(["DesignMainStrandProps.strand", string$.DesignMStPrsi, string$.DesignMStPro, string$.DesignMStPrseen, string$.DesignMStPrsec, string$.DesignMStPrsel, string$.DesignMStPrseex, string$.DesignMStPrsedo, string$.DesignMStPrsede, string$.DesignMStPrsei, string$.DesignMStPrsem, "DesignMainStrandProps.helices", "DesignMainStrandProps.groups", "DesignMainStrandProps.geometry", "DesignMainStrandProps.selected", string$.DesignMStPrdr, "DesignMainStrandProps.moving_dna_ends", "DesignMainStrandProps.dna_assign_options", string$.DesignMStPrmd, "DesignMainStrandProps.show_dna", "DesignMainStrandProps.show_modifications", string$.DesignMStPrdi, "DesignMainStrandProps.show_strand_names", "DesignMainStrandProps.show_strand_labels", "DesignMainStrandProps.show_domain_names", "DesignMainStrandProps.show_domain_labels", string$.DesignMStPrstn, string$.DesignMStPrstl, string$.DesignMStPrdon, string$.DesignMStPrdol, string$.DesignMStPrmf, string$.DesignMStPrh, string$.DesignMStPrr]), type$.JSArray_legacy_String); + B.PropsMeta_1kY = new A.PropsMeta(B.List_Ofa, B.List_LPc); + B.Map_urwdf = new A.GeneralConstantMap([B.Type_DesignMainStrandProps_MqP, B.PropsMeta_1kY], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_DesignMainDNAMismatchesProps_138 = A.typeLiteral("DesignMainDNAMismatchesProps"); + B.PropDescriptor_LxZ0 = new A.PropDescriptor("DesignMainDNAMismatchesProps.design", true, true, true); + B.PropDescriptor_oSr = new A.PropDescriptor(string$.DesignMDNMo, true, true, true); + B.PropDescriptor_o0y6 = new A.PropDescriptor(string$.DesignMDNMs, true, true, true); + B.PropDescriptor_03 = new A.PropDescriptor(string$.DesignMDNMh, true, true, true); + B.List_Qug = A._setArrayType(makeConstList([B.PropDescriptor_LxZ0, B.PropDescriptor_oSr, B.PropDescriptor_o0y6, B.PropDescriptor_03]), type$.JSArray_legacy_PropDescriptor); + B.List_9Mg = A._setArrayType(makeConstList(["DesignMainDNAMismatchesProps.design", string$.DesignMDNMo, string$.DesignMDNMs, string$.DesignMDNMh]), type$.JSArray_legacy_String); + B.PropsMeta_qp8 = new A.PropsMeta(B.List_Qug, B.List_9Mg); + B.Map_utWfX = new A.GeneralConstantMap([B.Type_DesignMainDNAMismatchesProps_138, B.PropsMeta_qp8], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_SelectionRopeViewProps_qMs = A.typeLiteral("SelectionRopeViewProps"); + B.PropDescriptor_NQk = new A.PropDescriptor("SelectionRopeViewProps.selection_rope", false, false, false); + B.PropDescriptor_AqW = new A.PropDescriptor(string$.SelectR, false, false, false); + B.PropDescriptor_lMa = new A.PropDescriptor("SelectionRopeViewProps.id_", false, false, false); + B.PropDescriptor_Gxl = new A.PropDescriptor("SelectionRopeViewProps.is_main", false, false, false); + B.List_ivD0 = A._setArrayType(makeConstList([B.PropDescriptor_NQk, B.PropDescriptor_AqW, B.PropDescriptor_lMa, B.PropDescriptor_Gxl]), type$.JSArray_legacy_PropDescriptor); + B.List_0F9 = A._setArrayType(makeConstList(["SelectionRopeViewProps.selection_rope", string$.SelectR, "SelectionRopeViewProps.id_", "SelectionRopeViewProps.is_main"]), type$.JSArray_legacy_String); + B.PropsMeta_Qk0 = new A.PropsMeta(B.List_ivD0, B.List_0F9); + B.Map_vSouM = new A.GeneralConstantMap([B.Type_SelectionRopeViewProps_qMs, B.PropsMeta_Qk0], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_MenuDropdownItemProps_EMw = A.typeLiteral("MenuDropdownItemProps"); + B.PropDescriptor_omH = new A.PropDescriptor("MenuDropdownItemProps.display", true, true, true); + B.PropDescriptor_woc = new A.PropDescriptor("MenuDropdownItemProps.on_click", true, true, true); + B.PropDescriptor_maS = new A.PropDescriptor("MenuDropdownItemProps.keyboard_shortcut", false, false, false); + B.PropDescriptor_Tng = new A.PropDescriptor("MenuDropdownItemProps.disabled", true, true, true); + B.PropDescriptor_UW6 = new A.PropDescriptor("MenuDropdownItemProps.active", true, true, true); + B.PropDescriptor_xxL = new A.PropDescriptor("MenuDropdownItemProps.tooltip", true, true, true); + B.List_LRl = A._setArrayType(makeConstList([B.PropDescriptor_omH, B.PropDescriptor_woc, B.PropDescriptor_maS, B.PropDescriptor_Tng, B.PropDescriptor_UW6, B.PropDescriptor_xxL]), type$.JSArray_legacy_PropDescriptor); + B.List_gkc0 = A._setArrayType(makeConstList(["MenuDropdownItemProps.display", "MenuDropdownItemProps.on_click", "MenuDropdownItemProps.keyboard_shortcut", "MenuDropdownItemProps.disabled", "MenuDropdownItemProps.active", "MenuDropdownItemProps.tooltip"]), type$.JSArray_legacy_String); + B.PropsMeta_0 = new A.PropsMeta(B.List_LRl, B.List_gkc0); + B.Map_woiCG = new A.GeneralConstantMap([B.Type_MenuDropdownItemProps_EMw, B.PropsMeta_0], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Type_MenuProps_A0N = A.typeLiteral("MenuProps"); + B.PropDescriptor_CvD = new A.PropDescriptor("MenuProps.state", true, true, true); + B.List_oFQ = A._setArrayType(makeConstList([B.PropDescriptor_CvD]), type$.JSArray_legacy_PropDescriptor); + B.List_G2S = A._setArrayType(makeConstList(["MenuProps.state"]), type$.JSArray_legacy_String); + B.PropsMeta_yLX = new A.PropsMeta(B.List_oFQ, B.List_G2S); + B.Map_wsU01 = new A.GeneralConstantMap([B.Type_MenuProps_A0N, B.PropsMeta_yLX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + B.Map_yHyvP = new A.GeneralConstantMap([B.StrandOrder_five_prime, "5'", B.StrandOrder_three_prime, "3'", B.StrandOrder_five_or_three_prime, "5' or 3'", B.StrandOrder_top_left_domain_start, "top left domain"], A.findType("GeneralConstantMap")); + B.ModificationType_five_prime = new A.ModificationType("five_prime"); + B.ModificationType_internal = new A.ModificationType("internal"); + B.ModificationType_three_prime = new A.ModificationType("three_prime"); + B.Orientation_0 = new A.Orientation("collinear"); + B.Orientation_1 = new A.Orientation("counterclockwise"); + B.Orientation_2 = new A.Orientation("clockwise"); + B.PlateType_0 = new A.PlateType("wells96"); + B.PlateType_1 = new A.PlateType("wells384"); + B.PlateType_2 = new A.PlateType("none"); + B.Point_0_0 = new A.Point(0, 0, A.findType("Point")); + B.PropsMetaCollection_Map_scU05 = new A.PropsMetaCollection(B.Map_scU05); + B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_legacy_PropDescriptor); + B.PropsMeta_List_empty_List_empty = new A.PropsMeta(B.List_empty10, B.List_empty0); + B.SelectModeChoice_crossover = new A.SelectModeChoice("crossover"); + B.SelectModeChoice_deletion = new A.SelectModeChoice("deletion"); + B.SelectModeChoice_domain = new A.SelectModeChoice("domain"); + B.SelectModeChoice_end_3p_domain = new A.SelectModeChoice("end_3p_domain"); + B.SelectModeChoice_end_3p_strand = new A.SelectModeChoice("end_3p_strand"); + B.SelectModeChoice_end_5p_domain = new A.SelectModeChoice("end_5p_domain"); + B.SelectModeChoice_end_5p_strand = new A.SelectModeChoice("end_5p_strand"); + B.SelectModeChoice_extension_ = new A.SelectModeChoice("extension_"); + B.SelectModeChoice_insertion = new A.SelectModeChoice("insertion"); + B.SelectModeChoice_loopout = new A.SelectModeChoice("loopout"); + B.SelectModeChoice_modification = new A.SelectModeChoice("modification"); + B.SelectModeChoice_scaffold = new A.SelectModeChoice("scaffold"); + B.SelectModeChoice_staple = new A.SelectModeChoice("staple"); + B.SelectModeChoice_strand = new A.SelectModeChoice("strand"); + B.XmlAttributeType_PIp = new A.XmlAttributeType('"', "DOUBLE_QUOTE"); + B.Sequence2_su6 = new A.Sequence2("", B.XmlAttributeType_PIp, A.findType("Sequence2")); + B.XmlNodeType_1 = new A.XmlNodeType("CDATA"); + B.XmlNodeType_2 = new A.XmlNodeType("COMMENT"); + B.XmlNodeType_7 = new A.XmlNodeType("ELEMENT"); + B.XmlNodeType_8 = new A.XmlNodeType("PROCESSING"); + B.XmlNodeType_9 = new A.XmlNodeType("TEXT"); + B.Map_EyMBF = new A.GeneralConstantMap([B.XmlNodeType_1, null, B.XmlNodeType_2, null, B.XmlNodeType_7, null, B.XmlNodeType_8, null, B.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + B.Set_EyI1 = new A._UnmodifiableSet(B.Map_EyMBF, type$._UnmodifiableSet_legacy_XmlNodeType); + B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap")); + B.Set_empty = new A._UnmodifiableSet(B.Map_empty6, A.findType("_UnmodifiableSet")); + B.XmlNodeType_0 = new A.XmlNodeType("ATTRIBUTE"); + B.Map_r7O98 = new A.GeneralConstantMap([B.XmlNodeType_0, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + B.Set_r7Xh1 = new A._UnmodifiableSet(B.Map_r7O98, type$._UnmodifiableSet_legacy_XmlNodeType); + B.XmlNodeType_3 = new A.XmlNodeType("DECLARATION"); + B.XmlNodeType_4 = new A.XmlNodeType("DOCUMENT_TYPE"); + B.Map_wEIik = new A.GeneralConstantMap([B.XmlNodeType_1, null, B.XmlNodeType_2, null, B.XmlNodeType_3, null, B.XmlNodeType_4, null, B.XmlNodeType_7, null, B.XmlNodeType_8, null, B.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + B.Set_wEo81 = new A._UnmodifiableSet(B.Map_wEIik, type$._UnmodifiableSet_legacy_XmlNodeType); + B.Symbol_$defaultConsumedProps = new A.Symbol("$defaultConsumedProps"); + B.Symbol_call = new A.Symbol("call"); + B.Symbol_props = new A.Symbol("props"); + B.Symbol_state = new A.Symbol("state"); + B.Type_23h = A.typeLiteral("DesignMainStrandsMovingComponent"); + B.Type_2bx = A.typeLiteral("DesignMainLoopoutExtensionLengthsComponent"); + B.Type_3dV = A.typeLiteral("DesignMainDomainMovingComponent"); + B.Type_6Lu = A.typeLiteral("StrandOrSubstrandColorPickerComponent"); + B.Type_6eO = A.typeLiteral("DesignMainStrandMovingComponent"); + B.Type_8sg = A.typeLiteral("DesignMainStrandDomainTextComponent"); + B.Type_AeS = A.typeLiteral("DesignMainBasePairRectangleComponent"); + B.Type_AxisArrowsComponent_2jN = A.typeLiteral("AxisArrowsComponent"); + B.Type_B8J = A.typeLiteral("PotentialCrossoverViewComponent"); + B.Type_BigInt_8OV = A.typeLiteral("BigInt"); + B.Type_BoolJsonObject_8HQ = A.typeLiteral("BoolJsonObject"); + B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer"); + B.Type_ByteData_zNC = A.typeLiteral("ByteData"); + B.Type_DNd = A.typeLiteral("DesignSideRotationArrowComponent"); + B.Type_DateTime_8AS = A.typeLiteral("DateTime"); + B.Type_DesignContextMenuComponent_CB6 = A.typeLiteral("DesignContextMenuComponent"); + B.Type_DesignDialogFormComponent_qsu = A.typeLiteral("DesignDialogFormComponent"); + B.Type_DesignFooterComponent_2jN = A.typeLiteral("DesignFooterComponent"); + B.Type_DesignLoadingDialogComponent_UAO = A.typeLiteral("DesignLoadingDialogComponent"); + B.Type_DesignMainArrowsComponent_u3m = A.typeLiteral("DesignMainArrowsComponent"); + B.Type_DesignMainComponent_zC4 = A.typeLiteral("DesignMainComponent"); + B.Type_DesignMainDNAEndComponent_dcz = A.typeLiteral("DesignMainDNAEndComponent"); + B.Type_DesignMainDomainComponent_WvD = A.typeLiteral("DesignMainDomainComponent"); + B.Type_DesignMainExtensionComponent_aJt = A.typeLiteral("DesignMainExtensionComponent"); + B.Type_DesignMainHelicesComponent_m81 = A.typeLiteral("DesignMainHelicesComponent"); + B.Type_DesignMainHelixComponent_etC = A.typeLiteral("DesignMainHelixComponent"); + B.Type_DesignMainLoopoutComponent_Tng = A.typeLiteral("DesignMainLoopoutComponent"); + B.Type_DesignMainSliceBarComponent_E8w = A.typeLiteral("DesignMainSliceBarComponent"); + B.Type_DesignMainStrandComponent_Met = A.typeLiteral("DesignMainStrandComponent"); + B.Type_DesignMainStrandsComponent_qBX = A.typeLiteral("DesignMainStrandsComponent"); + B.Type_DesignSideComponent_G7N = A.typeLiteral("DesignSideComponent"); + B.Type_DesignSideHelixComponent_Uq5 = A.typeLiteral("DesignSideHelixComponent"); + B.Type_DesignSideRotationComponent_I27 = A.typeLiteral("DesignSideRotationComponent"); + B.Type_Duration_SnA = A.typeLiteral("Duration"); + B.Type_EditAndSelectModesComponent_yz6 = A.typeLiteral("EditAndSelectModesComponent"); + B.Type_EditModeComponent_sLD = A.typeLiteral("EditModeComponent"); + B.Type_End3PrimeComponent_Eo2 = A.typeLiteral("End3PrimeComponent"); + B.Type_End5PrimeComponent_E4y = A.typeLiteral("End5PrimeComponent"); + B.Type_EndMovingComponent_wbZ = A.typeLiteral("EndMovingComponent"); + B.Type_ErrorBoundaryComponent_uYe = A.typeLiteral("ErrorBoundaryComponent"); + B.Type_ExtensionEndMovingComponent_wIq = A.typeLiteral("ExtensionEndMovingComponent"); + B.Type_F7U = A.typeLiteral("DesignMainDNASequenceComponent"); + B.Type_Float32List_LB7 = A.typeLiteral("Float32List"); + B.Type_Float64List_LB7 = A.typeLiteral("Float64List"); + B.Type_HelixGroupMovingComponent_ahM = A.typeLiteral("HelixGroupMovingComponent"); + B.Type_IJa = A.typeLiteral("DesignMainPotentialVerticalCrossoversComponent"); + B.Type_Int16List_uXf = A.typeLiteral("Int16List"); + B.Type_Int32List_O50 = A.typeLiteral("Int32List"); + B.Type_Int64_ww8 = A.typeLiteral("Int64"); + B.Type_Int8List_ekJ = A.typeLiteral("Int8List"); + B.Type_JSObject_8k0 = A.typeLiteral("JSObject"); + B.Type_JsonObject_gyf = A.typeLiteral("JsonObject"); + B.Type_L5J = A.typeLiteral("PotentialExtensionsViewComponent"); + B.Type_ListJsonObject_yPV = A.typeLiteral("ListJsonObject"); + B.Type_MapJsonObject_bBG = A.typeLiteral("MapJsonObject"); + B.Type_MenuBooleanComponent_2Lo = A.typeLiteral("MenuBooleanComponent"); + B.Type_MenuComponent_4CA = A.typeLiteral("MenuComponent"); + B.Type_MenuDropdownItemComponent_YEs = A.typeLiteral("MenuDropdownItemComponent"); + B.Type_MenuDropdownRightComponent_4QF = A.typeLiteral("MenuDropdownRightComponent"); + B.Type_MenuFormFileComponent_6TA = A.typeLiteral("MenuFormFileComponent"); + B.Type_MenuNumberComponent_qRH = A.typeLiteral("MenuNumberComponent"); + B.Type_NQk = A.typeLiteral("DesignMainStrandDeletionComponent"); + B.Type_Null_Yyn = A.typeLiteral("Null"); + B.Type_NumJsonObject_H9C = A.typeLiteral("NumJsonObject"); + B.Type_QfR = A.typeLiteral("DesignSidePotentialHelixComponent"); + B.Type_QtW = A.typeLiteral("DesignMainDNAMismatchesComponent"); + B.Type_RegExp_Eeh = A.typeLiteral("RegExp"); + B.Type_RoN = A.typeLiteral("DesignContextSubmenuComponent"); + B.Type_SelectModeComponent_uvy = A.typeLiteral("SelectModeComponent"); + B.Type_SelectionBoxViewComponent_Wzb = A.typeLiteral("SelectionBoxViewComponent"); + B.Type_SelectionRopeViewComponent_6D4 = A.typeLiteral("SelectionRopeViewComponent"); + B.Type_Sfe = A.typeLiteral("DesignMainDomainNameMismatchesComponent"); + B.Type_SideMenuComponent_oEK = A.typeLiteral("SideMenuComponent"); + B.Type_StringJsonObject_GAC = A.typeLiteral("StringJsonObject"); + B.Type_TRH = A.typeLiteral("DesignMainStrandInsertionComponent"); + B.Type_Ucj = A.typeLiteral("DesignMainDomainsMovingComponent"); + B.Type_Uint16List_2bx = A.typeLiteral("Uint16List"); + B.Type_Uint32List_2bx = A.typeLiteral("Uint32List"); + B.Type_Uint8ClampedList_Jik = A.typeLiteral("Uint8ClampedList"); + B.Type_Uint8List_WLA = A.typeLiteral("Uint8List"); + B.Type_Uri_EFX = A.typeLiteral("Uri"); + B.Type_Wbn = A.typeLiteral("DesignMainStrandModificationsComponent"); + B.Type_YX3 = A.typeLiteral("DesignMainLoopoutExtensionLengthComponent"); + B.Type_Ykb = A.typeLiteral("DesignMainStrandPathsComponent"); + B.Type_bbH = A.typeLiteral("DesignMainUnpairedInsertionDeletionsComponent"); + B.Type_eTF = A.typeLiteral("DesignMainStrandAndDomainTextsComponent"); + B.Type_ej4 = A.typeLiteral("DesignMainStrandCreatingComponent"); + B.Type_fVV = A.typeLiteral("DesignMainStrandLoopoutTextComponent"); + B.Type_gc6 = A.typeLiteral("RecoverableErrorBoundaryComponent"); + B.Type_gzy = A.typeLiteral("DesignMainErrorBoundaryComponent"); + B.Type_k1a = A.typeLiteral("DesignMainWarningStarComponent"); + B.Type_k2a = A.typeLiteral("DesignMainStrandCrossoverComponent"); + B.Type_num_cv7 = A.typeLiteral("num"); + B.Type_o8I = A.typeLiteral("DesignMainStrandModificationComponent"); + B.Type_qJx = A.typeLiteral("DesignMainDNASequencesComponent"); + B.Type_qlj = A.typeLiteral("DesignMainPotentialVerticalCrossoverComponent"); + B.Type_qxd = A.typeLiteral("DesignMainStrandExtensionTextComponent"); + B.Type_y0U = A.typeLiteral("DesignMainBasePairLinesComponent"); + B.Utf8Decoder_false = new A.Utf8Decoder(false); + B.XmlAttributeType_fgL = new A.XmlAttributeType("'", "SINGLE_QUOTE"); + B.XmlNodeType_5 = new A.XmlNodeType("DOCUMENT"); + B.XmlNodeType_6 = new A.XmlNodeType("DOCUMENT_FRAGMENT"); + B._IterationMarker_null_2 = new A._IterationMarker(null, 2); + B.strand_bounds_status_0 = new A.strand_bounds_status("helix_not_in_design"); + B.strand_bounds_status_1 = new A.strand_bounds_status("helix_out_of_bounds"); + B.strand_bounds_status_2 = new A.strand_bounds_status("min_offset_out_of_bounds"); + B.strand_bounds_status_3 = new A.strand_bounds_status("max_offset_out_of_bounds"); + B.strand_bounds_status_4 = new A.strand_bounds_status("in_bounds_with_min_offset_changes"); + B.strand_bounds_status_5 = new A.strand_bounds_status("in_bounds_with_max_offset_changes"); + B.strand_bounds_status_6 = new A.strand_bounds_status("in_bounds"); + })(); + (function staticFields() { + $._JS_INTEROP_INTERCEPTOR_TAG = null; + $.Primitives__identityHashCodeProperty = null; + $.BoundClosure__receiverFieldNameCache = null; + $.BoundClosure__interceptorFieldNameCache = null; + $.getTagFunction = null; + $.alternateTagFunction = null; + $.prototypeForTagFunction = null; + $.dispatchRecordsForInstanceTags = null; + $.interceptorsForUncacheableTags = null; + $.initNativeDispatchFlag = null; + $._nextCallback = null; + $._lastCallback = null; + $._lastPriorityCallback = null; + $._isInCallbackLoop = false; + $.Zone__current = B.C__RootZone; + $._toStringVisiting = A._setArrayType([], type$.JSArray_Object); + $._BigIntImpl__lastDividendDigits = null; + $._BigIntImpl__lastDividendUsed = null; + $._BigIntImpl__lastDivisorDigits = null; + $._BigIntImpl__lastDivisorUsed = null; + $._BigIntImpl____lastQuoRemDigits = A._Cell$named("_lastQuoRemDigits"); + $._BigIntImpl____lastQuoRemUsed = A._Cell$named("_lastQuoRemUsed"); + $._BigIntImpl____lastRemUsed = A._Cell$named("_lastRemUsed"); + $._BigIntImpl____lastRem_nsh = A._Cell$named("_lastRem_nsh"); + $.Element__parseDocument = null; + $.Element__parseRange = null; + $.Element__defaultValidator = null; + $.Element__defaultSanitizer = null; + $._Html5NodeValidator__attributeValidators = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Function); + $.Deflate____config = A._Cell$named("_config"); + $._indentingBuiltValueToStringHelperIndent = 0; + $._currentDrag = null; + $.Draggable_idCounter = 0; + $._DragEventDispatcher_previousTarget = null; + $.LogRecord__nextNumber = 0; + $.Logger__loggers = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); + $._currentUriBase = null; + $._current = null; + $.Browser_navigator = null; + $._browser = null; + $._operatingSystem = null; + $.OperatingSystem_navigator = null; + $._MASK32_HI_BITS = A._setArrayType([4294967295, 2147483647, 1073741823, 536870911, 268435455, 134217727, 67108863, 33554431, 16777215, 8388607, 4194303, 2097151, 1048575, 524287, 262143, 131071, 65535, 32767, 16383, 8191, 4095, 2047, 1023, 511, 255, 127, 63, 31, 15, 7, 3, 1, 0], type$.JSArray_int); + $._isJsApiValid = false; + $.__app = A._Cell$named("app"); + $.scadnano_older_versions_to_link = A._setArrayType(["0.19.4", "0.18.10", "0.17.14", "0.16.3", "0.15.3", "0.14.0", "0.13.4", "0.12.2"], type$.JSArray_String); + $.timer = null; + $._throttled_types = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.int); + $._spreasheetExtensionMap = function() { + var t1 = type$.String; + return A.LinkedHashMap_LinkedHashMap$_literal(["ods", "application/vnd.oasis.opendocument.spreadsheet", "xlsx", string$.applic], t1, t1); + }(); + })(); + (function lazyInitializers() { + var _lazyFinal = hunkHelpers.lazyFinal, + _lazy = hunkHelpers.lazy; + _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure")); + _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(new A.nullFuture_closure(), A.findType("Future"))); + _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({ + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null, + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + null.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + (void 0).$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + null.$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + (void 0).$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate()); + _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => type$._Future_Null._as($.$get$nullFuture())); + _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0()); + _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0()); + _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int)))); + _lazy($, "_Base64Decoder__emptyBuffer", "$get$_Base64Decoder__emptyBuffer", () => A.NativeUint8List_NativeUint8List(0)); + _lazyFinal($, "Encoding__nameToEncoding", "$get$Encoding__nameToEncoding", () => A.LinkedHashMap_LinkedHashMap$_literal(["iso_8859-1:1987", B.C_Latin1Codec, "iso-ir-100", B.C_Latin1Codec, "iso_8859-1", B.C_Latin1Codec, "iso-8859-1", B.C_Latin1Codec, "latin1", B.C_Latin1Codec, "l1", B.C_Latin1Codec, "ibm819", B.C_Latin1Codec, "cp819", B.C_Latin1Codec, "csisolatin1", B.C_Latin1Codec, "iso-ir-6", B.C_AsciiCodec, "ansi_x3.4-1968", B.C_AsciiCodec, "ansi_x3.4-1986", B.C_AsciiCodec, "iso_646.irv:1991", B.C_AsciiCodec, "iso646-us", B.C_AsciiCodec, "us-ascii", B.C_AsciiCodec, "us", B.C_AsciiCodec, "ibm367", B.C_AsciiCodec, "cp367", B.C_AsciiCodec, "csascii", B.C_AsciiCodec, "ascii", B.C_AsciiCodec, "csutf8", B.C_Utf8Codec, "utf-8", B.C_Utf8Codec], type$.String, A.findType("Encoding"))); + _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"); + _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0); + _lazyFinal($, "_BigIntImpl_zero", "$get$_BigIntImpl_zero", () => A._BigIntImpl__BigIntImpl$_fromInt(0)); + _lazyFinal($, "_BigIntImpl_one", "$get$_BigIntImpl_one", () => A._BigIntImpl__BigIntImpl$_fromInt(1)); + _lazyFinal($, "_BigIntImpl__minusOne", "$get$_BigIntImpl__minusOne", () => $.$get$_BigIntImpl_one().$negate(0)); + _lazyFinal($, "_BigIntImpl__bigInt10000", "$get$_BigIntImpl__bigInt10000", () => A._BigIntImpl__BigIntImpl$_fromInt(10000)); + _lazy($, "_BigIntImpl__parseRE", "$get$_BigIntImpl__parseRE", () => A.RegExp_RegExp("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", false)); + _lazyFinal($, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => A.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", true)); + _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6)); + _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables()); + _lazyFinal($, "CssStyleDeclaration__propertyCache", "$get$CssStyleDeclaration__propertyCache", () => ({})); + _lazyFinal($, "ElementEvents_webkitEvents", "$get$ElementEvents_webkitEvents", () => { + var t1 = type$.String; + return A.LinkedHashMap_LinkedHashMap$_literal(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"], t1, t1); + }); + _lazyFinal($, "_Html5NodeValidator__allowedElements", "$get$_Html5NodeValidator__allowedElements", () => A.LinkedHashSet_LinkedHashSet$from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"], type$.String)); + _lazyFinal($, "KeyEvent__keyboardEventDispatchRecord", "$get$KeyEvent__keyboardEventDispatchRecord", () => A.makeLeafDispatchRecord(B.KeyboardEvent_methods)); + _lazyFinal($, "CssClassSetImpl__validTokenRE", "$get$CssClassSetImpl__validTokenRE", () => A.RegExp_RegExp("^\\S+$", true)); + _lazyFinal($, "Device_isOpera", "$get$Device_isOpera", () => J.contains$2$asx(A.Device_userAgent(), "Opera", 0)); + _lazyFinal($, "Device_isIE", "$get$Device_isIE", () => !A.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(A.Device_userAgent(), "Trident/", 0)); + _lazyFinal($, "Device_isFirefox", "$get$Device_isFirefox", () => J.contains$2$asx(A.Device_userAgent(), "Firefox", 0)); + _lazyFinal($, "Device_isWebKit", "$get$Device_isWebKit", () => !A.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(A.Device_userAgent(), "WebKit", 0)); + _lazyFinal($, "Device_cssPrefix", "$get$Device_cssPrefix", () => "-" + $.$get$Device_propertyPrefix() + "-"); + _lazyFinal($, "Device_propertyPrefix", "$get$Device_propertyPrefix", () => { + if (A.boolConversionCheck($.$get$Device_isFirefox())) + var t1 = "moz"; + else if ($.$get$Device_isIE()) + t1 = "ms"; + else + t1 = A.boolConversionCheck($.$get$Device_isOpera()) ? "o" : "webkit"; + return t1; + }); + _lazyFinal($, "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartObject")); + _lazyFinal($, "_dartProxyCtor", "$get$_dartProxyCtor", () => function DartObject(o) { + this.o = o; + }); + _lazyFinal($, "Random__secureRandom", "$get$Random__secureRandom", () => { + var t1 = new A._JSSecureRandom(new DataView(new ArrayBuffer(A._checkLength(8)))); + t1._JSSecureRandom$0(); + return t1; + }); + _lazyFinal($, "BZip2_emptyUint8List", "$get$BZip2_emptyUint8List", () => A._UnmodifiableUint8ListView$(A.NativeUint8List_NativeUint8List(0))); + _lazyFinal($, "BZip2_emptyInt32List", "$get$BZip2_emptyInt32List", () => new A._UnmodifiableInt32ListView(A.NativeInt32List_NativeInt32List(0))); + _lazyFinal($, "_StaticTree_staticLDesc", "$get$_StaticTree_staticLDesc", () => A._StaticTree$(B.List_Xg4, B.List_qQn, 257, 286, 15)); + _lazyFinal($, "_StaticTree_staticDDesc", "$get$_StaticTree_staticDDesc", () => A._StaticTree$(B.List_iYO, B.List_X3d, 0, 30, 15)); + _lazyFinal($, "_StaticTree_staticBlDesc", "$get$_StaticTree_staticBlDesc", () => A._StaticTree$(null, B.List_uSC0, 0, 19, 7)); + _lazyFinal($, "isSoundMode", "$get$isSoundMode", () => !type$.List_int._is(A._setArrayType([], A.findType("JSArray")))); + _lazy($, "newBuiltValueToStringHelper", "$get$newBuiltValueToStringHelper", () => new A.newBuiltValueToStringHelper_closure()); + _lazyFinal($, "_runtimeType", "$get$_runtimeType", () => A.getRuntimeType(A.RegExp_RegExp("", true))); + _lazyFinal($, "StandardJsonPlugin__unsupportedTypes", "$get$StandardJsonPlugin__unsupportedTypes", () => A.BuiltSet_BuiltSet([B.Type_BuiltListMultimap_2Mt, B.Type_BuiltSetMultimap_9Fi], type$.Type)); + _lazyFinal($, "BaseRequest__tokenRE", "$get$BaseRequest__tokenRE", () => A.RegExp_RegExp("^[\\w!#%&'*+\\-.^`|~]+$", true)); + _lazyFinal($, "_escapedChar", "$get$_escapedChar", () => A.RegExp_RegExp('["\\x00-\\x1F\\x7F]', true)); + _lazyFinal($, "token", "$get$token", () => A.RegExp_RegExp('[^()<>@,;:"\\\\/[\\]?={} \\t\\x00-\\x1F\\x7F]+', true)); + _lazyFinal($, "_lws", "$get$_lws", () => A.RegExp_RegExp("(?:\\r\\n)?[ \\t]+", true)); + _lazyFinal($, "_quotedString", "$get$_quotedString", () => A.RegExp_RegExp('"(?:[^"\\x00-\\x1F\\x7F]|\\\\.)*"', true)); + _lazyFinal($, "_quotedPair", "$get$_quotedPair", () => A.RegExp_RegExp("\\\\(.)", true)); + _lazyFinal($, "nonToken", "$get$nonToken", () => A.RegExp_RegExp('[()<>@,;:"\\\\/\\[\\]?={} \\t\\x00-\\x1F\\x7F]', true)); + _lazyFinal($, "whitespace", "$get$whitespace", () => A.RegExp_RegExp("(?:" + $.$get$_lws().pattern + ")*", true)); + _lazyFinal($, "Logger_root", "$get$Logger_root", () => A.Logger_Logger("")); + _lazy($, "ErrorBoundary", "$get$ErrorBoundary", () => A.castUiFactory(A.error_boundary___$ErrorBoundary$closure(), A.findType("ErrorBoundaryProps"))); + _lazyFinal($, "$ErrorBoundaryComponentFactory", "$get$$ErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$ErrorBoundaryComponentFactory_closure(), A.error_boundary___$ErrorBoundary$closure(), B.Type_ErrorBoundaryComponent_uYe, true, null, B.List_empty0)); + _lazy($, "RecoverableErrorBoundary", "$get$RecoverableErrorBoundary", () => A.castUiFactory(A.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), A.findType("RecoverableErrorBoundaryProps"))); + _lazyFinal($, "$RecoverableErrorBoundaryComponentFactory", "$get$$RecoverableErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$RecoverableErrorBoundaryComponentFactory_closure(), A.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), B.Type_gc6, true, null, B.List_empty0)); + _lazy($, "_typeAliasToFactory", "$get$_typeAliasToFactory", () => A.Expando$(null, A.findType("ReactComponentFactoryProxy"))); + _lazy($, "ReduxProvider", "$get$ReduxProvider", () => { + var t1 = self.ReactRedux.Provider, + t2 = new A.ReactJsReactReduxComponentFactoryProxy(t1, false, true, t1); + t2.ReactJsComponentFactoryProxy$4$additionalRefPropKeys$alwaysReturnChildrenAsList$shouldConvertDomProps(t1, B.List_empty0, false, true); + return A.uiJsComponent(t2, $.$get$_$ReduxProviderConfig(), A.findType("ReduxProviderProps")); + }); + _lazyFinal($, "_$ReduxProviderConfig", "$get$_$ReduxProviderConfig", () => new A.UiFactoryConfig(new A.PropsFactory(new A._$ReduxProviderConfig_closure(), new A._$ReduxProviderConfig_closure0(), A.findType("PropsFactory<_$$ReduxProviderProps>")), A.findType("UiFactoryConfig<_$$ReduxProviderProps>"))); + _lazyFinal($, "DartValueWrapper__functionWrapperCache", "$get$DartValueWrapper__functionWrapperCache", () => A.Expando$("_functionWrapperCache", A.findType("DartValueWrapper0"))); + _lazyFinal($, "context", "$get$context", () => new A.Context0($.$get$Style_platform())); + _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", true), A.RegExp_RegExp("[^/]$", true), A.RegExp_RegExp("^/", true))); + _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", true), A.RegExp_RegExp("[^/\\\\]$", true), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", true))); + _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", true), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true), A.RegExp_RegExp("^/", true))); + _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle()); + _lazyFinal($, "Token__newlineParser", "$get$Token__newlineParser", () => new A.NewlineParser("newline expected")); + _lazyFinal($, "_single", "$get$_single", () => A.MapParserExtension_map(A.any(), new A._single_closure(), type$.String, type$.RangeCharPredicate)); + _lazyFinal($, "_range", "$get$_range", () => { + var t1 = type$.String; + return A.ParserSequenceExtension3_map3(A.seq3(A.any(), A.char("-", null), A.any(), t1, t1, t1), new A._range_closure(), t1, t1, t1, type$.RangeCharPredicate); + }); + _lazyFinal($, "_sequence", "$get$_sequence", () => { + var t1 = type$.dynamic, + t2 = A.ChoiceParser$(A._setArrayType([$.$get$_range(), $.$get$_single()], type$.JSArray_Parser_dynamic), null, t1); + return A.MapParserExtension_map(A.PossessiveRepeatingParserExtension_star(t2, t1), new A._sequence_closure(), type$.List_dynamic, type$.CharacterPredicate); + }); + _lazyFinal($, "_pattern", "$get$_pattern", () => { + var t1 = type$.nullable_String, + t2 = type$.CharacterPredicate; + return A.ParserSequenceExtension2_map2(A.seq2(A.OptionalParserExtension_optional(A.char("^", null), type$.String), $.$get$_sequence(), t1, t2), new A._pattern_closure(), t1, t2, t2); + }); + _lazy($, "Browser_UnknownBrowser", "$get$Browser_UnknownBrowser", () => A.Browser$("Unknown", new A.Browser_UnknownBrowser_closure(), new A.Browser_UnknownBrowser_closure0(), "")); + _lazy($, "Browser__knownBrowsers", "$get$Browser__knownBrowsers", () => A._setArrayType([$.$get$internetExplorer(), $.$get$firefox(), $.$get$safari(), $.$get$wkWebView(), $.$get$edgeChrome(), $.$get$chrome()], A.findType("JSArray"))); + _lazy($, "chrome", "$get$chrome", () => new A._Chrome("Chrome", A.browser__Chrome__isChrome$closure())); + _lazy($, "firefox", "$get$firefox", () => new A._Firefox("Firefox", A.browser__Firefox__isFirefox$closure())); + _lazy($, "safari", "$get$safari", () => new A._Safari("Safari", A.browser__Safari__isSafari$closure())); + _lazy($, "internetExplorer", "$get$internetExplorer", () => new A._InternetExplorer("Internet Explorer", A.browser__InternetExplorer__isInternetExplorer$closure())); + _lazy($, "wkWebView", "$get$wkWebView", () => new A._WKWebView("WKWebView", A.browser__WKWebView__isWKWebView$closure())); + _lazy($, "edgeChrome", "$get$edgeChrome", () => new A.EdgeChrome("Edge", A.browser_EdgeChrome__isEdge$closure())); + _lazy($, "OperatingSystem_UnknownOS", "$get$OperatingSystem_UnknownOS", () => A.OperatingSystem$("Unknown", new A.OperatingSystem_UnknownOS_closure())); + _lazy($, "OperatingSystem__knownSystems", "$get$OperatingSystem__knownSystems", () => A._setArrayType([$.$get$chrome0(), $.$get$mac(), $.$get$windows(), $.$get$linux(), $.$get$unix()], A.findType("JSArray"))); + _lazy($, "linux", "$get$linux", () => A.OperatingSystem$("Linux", new A.linux_closure())); + _lazy($, "mac", "$get$mac", () => A.OperatingSystem$("Mac", new A.mac_closure())); + _lazy($, "unix", "$get$unix", () => A.OperatingSystem$("Unix", new A.unix_closure())); + _lazy($, "windows", "$get$windows", () => A.OperatingSystem$("Windows", new A.windows_closure())); + _lazy($, "chrome0", "$get$chrome0", () => A.OperatingSystem$("ChromeOS", new A.chrome_closure())); + _lazy($, "registerComponent21", "$get$registerComponent2", () => A.validateJsApiThenReturn(new A.registerComponent2_closure(), A.findType("ReactDartComponentFactoryProxy2(Component2(){bridgeFactory:Component2Bridge(Component2)?,skipMethods:Iterable})"))); + _lazy($, "a", "$get$a", () => A._createDomFactory("a")); + _lazy($, "br", "$get$br", () => A._createDomFactory("br")); + _lazy($, "button", "$get$button", () => A._createDomFactory("button")); + _lazy($, "div", "$get$div", () => A._createDomFactory("div")); + _lazy($, "form", "$get$form", () => A._createDomFactory("form")); + _lazy($, "img", "$get$img", () => A._createDomFactory("img")); + _lazy($, "input", "$get$input", () => A._createDomFactory("input")); + _lazy($, "label", "$get$label", () => A._createDomFactory("label")); + _lazy($, "li", "$get$li", () => A._createDomFactory("li")); + _lazy($, "option", "$get$option", () => A._createDomFactory("option")); + _lazy($, "p", "$get$p", () => A._createDomFactory("p")); + _lazy($, "select", "$get$select", () => A._createDomFactory("select")); + _lazy($, "span", "$get$span", () => A._createDomFactory("span")); + _lazy($, "textarea", "$get$textarea", () => A._createDomFactory("textarea")); + _lazy($, "title", "$get$title", () => A._createDomFactory("title")); + _lazy($, "ul", "$get$ul", () => A._createDomFactory("ul")); + _lazy($, "circle", "$get$circle", () => A._createDomFactory("circle")); + _lazy($, "g", "$get$g", () => A._createDomFactory("g")); + _lazy($, "image", "$get$image", () => A._createDomFactory("image")); + _lazy($, "line", "$get$line", () => A._createDomFactory("line")); + _lazy($, "path", "$get$path", () => A._createDomFactory("path")); + _lazy($, "polygon", "$get$polygon", () => A._createDomFactory("polygon")); + _lazy($, "polyline", "$get$polyline", () => A._createDomFactory("polyline")); + _lazy($, "rect", "$get$rect", () => A._createDomFactory("rect")); + _lazy($, "text", "$get$text", () => A._createDomFactory("text")); + _lazy($, "textPath", "$get$textPath", () => A._createDomFactory("textPath")); + _lazyFinal($, "Component2Bridge_bridgeForComponent", "$get$Component2Bridge_bridgeForComponent", () => A.Expando$(null, A.findType("Component2Bridge"))); + _lazy($, "render", "$get$render", () => A.validateJsApiThenReturn(new A.render_closure(), type$.Function)); + _lazy($, "findDOMNode", "$get$findDOMNode", () => A.validateJsApiThenReturn(new A.findDOMNode_closure(), type$.Function)); + _lazyFinal($, "ReactDartInteropStatics2_staticsForJs", "$get$ReactDartInteropStatics2_staticsForJs", () => type$.JsMap._as(A.jsifyAndAllowInterop(A.LinkedHashMap_LinkedHashMap$_literal(["initComponent", A.dart_interop_statics_ReactDartInteropStatics2_initComponent$closure(), "handleComponentDidMount", A.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure(), "handleGetDerivedStateFromProps", A.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure(), "handleShouldComponentUpdate", A.dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure(), "handleGetSnapshotBeforeUpdate", A.dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure(), "handleComponentDidUpdate", A.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure(), "handleComponentWillUnmount", A.dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure(), "handleComponentDidCatch", A.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure(), "handleGetDerivedStateFromError", A.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure(), "handleRender", A.dart_interop_statics_ReactDartInteropStatics2_handleRender$closure()], type$.String, type$.Function)))); + _lazy($, "_$undoSerializer", "$get$_$undoSerializer", () => new A._$UndoSerializer()); + _lazy($, "_$redoSerializer", "$get$_$redoSerializer", () => new A._$RedoSerializer()); + _lazy($, "_$undoRedoClearSerializer", "$get$_$undoRedoClearSerializer", () => new A._$UndoRedoClearSerializer()); + _lazy($, "_$batchActionSerializer", "$get$_$batchActionSerializer", () => new A._$BatchActionSerializer()); + _lazy($, "_$throttledActionFastSerializer", "$get$_$throttledActionFastSerializer", () => new A._$ThrottledActionFastSerializer()); + _lazy($, "_$throttledActionNonFastSerializer", "$get$_$throttledActionNonFastSerializer", () => new A._$ThrottledActionNonFastSerializer()); + _lazy($, "_$localStorageDesignChoiceSetSerializer", "$get$_$localStorageDesignChoiceSetSerializer", () => new A._$LocalStorageDesignChoiceSetSerializer()); + _lazy($, "_$resetLocalStorageSerializer", "$get$_$resetLocalStorageSerializer", () => new A._$ResetLocalStorageSerializer()); + _lazy($, "_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", "$get$_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", () => new A._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer()); + _lazy($, "_$editModeToggleSerializer", "$get$_$editModeToggleSerializer", () => new A._$EditModeToggleSerializer()); + _lazy($, "_$editModesSetSerializer", "$get$_$editModesSetSerializer", () => new A._$EditModesSetSerializer()); + _lazy($, "_$selectModeToggleSerializer", "$get$_$selectModeToggleSerializer", () => new A._$SelectModeToggleSerializer()); + _lazy($, "_$selectModesAddSerializer", "$get$_$selectModesAddSerializer", () => new A._$SelectModesAddSerializer()); + _lazy($, "_$selectModesSetSerializer", "$get$_$selectModesSetSerializer", () => new A._$SelectModesSetSerializer()); + _lazy($, "_$strandNameSetSerializer", "$get$_$strandNameSetSerializer", () => new A._$StrandNameSetSerializer()); + _lazy($, "_$strandLabelSetSerializer", "$get$_$strandLabelSetSerializer", () => new A._$StrandLabelSetSerializer()); + _lazy($, "_$substrandNameSetSerializer", "$get$_$substrandNameSetSerializer", () => new A._$SubstrandNameSetSerializer()); + _lazy($, "_$substrandLabelSetSerializer", "$get$_$substrandLabelSetSerializer", () => new A._$SubstrandLabelSetSerializer()); + _lazy($, "_$setAppUIStateStorableSerializer", "$get$_$setAppUIStateStorableSerializer", () => new A._$SetAppUIStateStorableSerializer()); + _lazy($, "_$showDNASetSerializer", "$get$_$showDNASetSerializer", () => new A._$ShowDNASetSerializer()); + _lazy($, "_$showDomainNamesSetSerializer", "$get$_$showDomainNamesSetSerializer", () => new A._$ShowDomainNamesSetSerializer()); + _lazy($, "_$showStrandNamesSetSerializer", "$get$_$showStrandNamesSetSerializer", () => new A._$ShowStrandNamesSetSerializer()); + _lazy($, "_$showStrandLabelsSetSerializer", "$get$_$showStrandLabelsSetSerializer", () => new A._$ShowStrandLabelsSetSerializer()); + _lazy($, "_$showDomainLabelsSetSerializer", "$get$_$showDomainLabelsSetSerializer", () => new A._$ShowDomainLabelsSetSerializer()); + _lazy($, "_$showModificationsSetSerializer", "$get$_$showModificationsSetSerializer", () => new A._$ShowModificationsSetSerializer()); + _lazy($, "_$domainNameFontSizeSetSerializer", "$get$_$domainNameFontSizeSetSerializer", () => new A._$DomainNameFontSizeSetSerializer()); + _lazy($, "_$domainLabelFontSizeSetSerializer", "$get$_$domainLabelFontSizeSetSerializer", () => new A._$DomainLabelFontSizeSetSerializer()); + _lazy($, "_$strandNameFontSizeSetSerializer", "$get$_$strandNameFontSizeSetSerializer", () => new A._$StrandNameFontSizeSetSerializer()); + _lazy($, "_$strandLabelFontSizeSetSerializer", "$get$_$strandLabelFontSizeSetSerializer", () => new A._$StrandLabelFontSizeSetSerializer()); + _lazy($, "_$modificationFontSizeSetSerializer", "$get$_$modificationFontSizeSetSerializer", () => new A._$ModificationFontSizeSetSerializer()); + _lazy($, "_$majorTickOffsetFontSizeSetSerializer", "$get$_$majorTickOffsetFontSizeSetSerializer", () => new A._$MajorTickOffsetFontSizeSetSerializer()); + _lazy($, "_$majorTickWidthFontSizeSetSerializer", "$get$_$majorTickWidthFontSizeSetSerializer", () => new A._$MajorTickWidthFontSizeSetSerializer()); + _lazy($, "_$setModificationDisplayConnectorSerializer", "$get$_$setModificationDisplayConnectorSerializer", () => new A._$SetModificationDisplayConnectorSerializer()); + _lazy($, "_$showMismatchesSetSerializer", "$get$_$showMismatchesSetSerializer", () => new A._$ShowMismatchesSetSerializer()); + _lazy($, "_$showDomainNameMismatchesSetSerializer", "$get$_$showDomainNameMismatchesSetSerializer", () => new A._$ShowDomainNameMismatchesSetSerializer()); + _lazy($, "_$showUnpairedInsertionDeletionsSetSerializer", "$get$_$showUnpairedInsertionDeletionsSetSerializer", () => new A._$ShowUnpairedInsertionDeletionsSetSerializer()); + _lazy($, "_$oxviewShowSetSerializer", "$get$_$oxviewShowSetSerializer", () => new A._$OxviewShowSetSerializer()); + _lazy($, "_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", "$get$_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", () => new A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer()); + _lazy($, "_$displayMajorTicksOffsetsSetSerializer", "$get$_$displayMajorTicksOffsetsSetSerializer", () => new A._$DisplayMajorTicksOffsetsSetSerializer()); + _lazy($, "_$setDisplayMajorTickWidthsAllHelicesSerializer", "$get$_$setDisplayMajorTickWidthsAllHelicesSerializer", () => new A._$SetDisplayMajorTickWidthsAllHelicesSerializer()); + _lazy($, "_$setDisplayMajorTickWidthsSerializer", "$get$_$setDisplayMajorTickWidthsSerializer", () => new A._$SetDisplayMajorTickWidthsSerializer()); + _lazy($, "_$setOnlyDisplaySelectedHelicesSerializer", "$get$_$setOnlyDisplaySelectedHelicesSerializer", () => new A._$SetOnlyDisplaySelectedHelicesSerializer()); + _lazy($, "_$invertYSetSerializer", "$get$_$invertYSetSerializer", () => new A._$InvertYSetSerializer()); + _lazy($, "_$dynamicHelixUpdateSetSerializer", "$get$_$dynamicHelixUpdateSetSerializer", () => new A._$DynamicHelixUpdateSetSerializer()); + _lazy($, "_$warnOnExitIfUnsavedSetSerializer", "$get$_$warnOnExitIfUnsavedSetSerializer", () => new A._$WarnOnExitIfUnsavedSetSerializer()); + _lazy($, "_$loadingDialogShowSerializer", "$get$_$loadingDialogShowSerializer", () => new A._$LoadingDialogShowSerializer()); + _lazy($, "_$loadingDialogHideSerializer", "$get$_$loadingDialogHideSerializer", () => new A._$LoadingDialogHideSerializer()); + _lazy($, "_$copySelectedStandsToClipboardImageSerializer", "$get$_$copySelectedStandsToClipboardImageSerializer", () => new A._$CopySelectedStandsToClipboardImageSerializer()); + _lazy($, "_$saveDNAFileSerializer", "$get$_$saveDNAFileSerializer", () => new A._$SaveDNAFileSerializer()); + _lazy($, "_$loadDNAFileSerializer", "$get$_$loadDNAFileSerializer", () => new A._$LoadDNAFileSerializer()); + _lazy($, "_$prepareToLoadDNAFileSerializer", "$get$_$prepareToLoadDNAFileSerializer", () => new A._$PrepareToLoadDNAFileSerializer()); + _lazy($, "_$newDesignSetSerializer", "$get$_$newDesignSetSerializer", () => new A._$NewDesignSetSerializer()); + _lazy($, "_$exportCadnanoFileSerializer", "$get$_$exportCadnanoFileSerializer", () => new A._$ExportCadnanoFileSerializer()); + _lazy($, "_$exportCodenanoFileSerializer", "$get$_$exportCodenanoFileSerializer", () => new A._$ExportCodenanoFileSerializer()); + _lazy($, "_$showMouseoverDataSetSerializer", "$get$_$showMouseoverDataSetSerializer", () => new A._$ShowMouseoverDataSetSerializer()); + _lazy($, "_$mouseoverDataClearSerializer", "$get$_$mouseoverDataClearSerializer", () => new A._$MouseoverDataClearSerializer()); + _lazy($, "_$mouseoverDataUpdateSerializer", "$get$_$mouseoverDataUpdateSerializer", () => new A._$MouseoverDataUpdateSerializer()); + _lazy($, "_$helixRollSetSerializer", "$get$_$helixRollSetSerializer", () => new A._$HelixRollSetSerializer()); + _lazy($, "_$helixRollSetAtOtherSerializer", "$get$_$helixRollSetAtOtherSerializer", () => new A._$HelixRollSetAtOtherSerializer()); + _lazy($, "_$relaxHelixRollsSerializer", "$get$_$relaxHelixRollsSerializer", () => new A._$RelaxHelixRollsSerializer()); + _lazy($, "_$errorMessageSetSerializer", "$get$_$errorMessageSetSerializer", () => new A._$ErrorMessageSetSerializer()); + _lazy($, "_$selectionBoxCreateSerializer", "$get$_$selectionBoxCreateSerializer", () => new A._$SelectionBoxCreateSerializer()); + _lazy($, "_$selectionBoxSizeChangeSerializer", "$get$_$selectionBoxSizeChangeSerializer", () => new A._$SelectionBoxSizeChangeSerializer()); + _lazy($, "_$selectionBoxRemoveSerializer", "$get$_$selectionBoxRemoveSerializer", () => new A._$SelectionBoxRemoveSerializer()); + _lazy($, "_$selectionRopeCreateSerializer", "$get$_$selectionRopeCreateSerializer", () => new A._$SelectionRopeCreateSerializer()); + _lazy($, "_$selectionRopeMouseMoveSerializer", "$get$_$selectionRopeMouseMoveSerializer", () => new A._$SelectionRopeMouseMoveSerializer()); + _lazy($, "_$selectionRopeAddPointSerializer", "$get$_$selectionRopeAddPointSerializer", () => new A._$SelectionRopeAddPointSerializer()); + _lazy($, "_$selectionRopeRemoveSerializer", "$get$_$selectionRopeRemoveSerializer", () => new A._$SelectionRopeRemoveSerializer()); + _lazy($, "_$mouseGridPositionSideUpdateSerializer", "$get$_$mouseGridPositionSideUpdateSerializer", () => new A._$MouseGridPositionSideUpdateSerializer()); + _lazy($, "_$mouseGridPositionSideClearSerializer", "$get$_$mouseGridPositionSideClearSerializer", () => new A._$MouseGridPositionSideClearSerializer()); + _lazy($, "_$mousePositionSideUpdateSerializer", "$get$_$mousePositionSideUpdateSerializer", () => new A._$MousePositionSideUpdateSerializer()); + _lazy($, "_$mousePositionSideClearSerializer", "$get$_$mousePositionSideClearSerializer", () => new A._$MousePositionSideClearSerializer()); + _lazy($, "_$geometrySetSerializer", "$get$_$geometrySetSerializer", () => new A._$GeometrySetSerializer()); + _lazy($, "_$selectionBoxIntersectionRuleSetSerializer", "$get$_$selectionBoxIntersectionRuleSetSerializer", () => new A._$SelectionBoxIntersectionRuleSetSerializer()); + _lazy($, "_$selectSerializer", "$get$_$selectSerializer", () => new A._$SelectSerializer()); + _lazy($, "_$selectionsClearSerializer", "$get$_$selectionsClearSerializer", () => new A._$SelectionsClearSerializer()); + _lazy($, "_$selectionsAdjustMainViewSerializer", "$get$_$selectionsAdjustMainViewSerializer", () => new A._$SelectionsAdjustMainViewSerializer()); + _lazy($, "_$selectOrToggleItemsSerializer", "$get$_$selectOrToggleItemsSerializer", () => new A._$SelectOrToggleItemsSerializer()); + _lazy($, "_$selectAllSerializer", "$get$_$selectAllSerializer", () => new A._$SelectAllSerializer()); + _lazy($, "_$selectAllSelectableSerializer", "$get$_$selectAllSelectableSerializer", () => new A._$SelectAllSelectableSerializer()); + _lazy($, "_$selectAllStrandsWithSameAsSelectedSerializer", "$get$_$selectAllStrandsWithSameAsSelectedSerializer", () => new A._$SelectAllStrandsWithSameAsSelectedSerializer()); + _lazy($, "_$deleteAllSelectedSerializer", "$get$_$deleteAllSelectedSerializer", () => new A._$DeleteAllSelectedSerializer()); + _lazy($, "_$helixAddSerializer", "$get$_$helixAddSerializer", () => new A._$HelixAddSerializer()); + _lazy($, "_$helixRemoveSerializer", "$get$_$helixRemoveSerializer", () => new A._$HelixRemoveSerializer()); + _lazy($, "_$helixRemoveAllSelectedSerializer", "$get$_$helixRemoveAllSelectedSerializer", () => new A._$HelixRemoveAllSelectedSerializer()); + _lazy($, "_$helixSelectSerializer", "$get$_$helixSelectSerializer", () => new A._$HelixSelectSerializer()); + _lazy($, "_$helixSelectionsClearSerializer", "$get$_$helixSelectionsClearSerializer", () => new A._$HelixSelectionsClearSerializer()); + _lazy($, "_$helixSelectionsAdjustSerializer", "$get$_$helixSelectionsAdjustSerializer", () => new A._$HelixSelectionsAdjustSerializer()); + _lazy($, "_$helixMajorTickDistanceChangeSerializer", "$get$_$helixMajorTickDistanceChangeSerializer", () => new A._$HelixMajorTickDistanceChangeSerializer()); + _lazy($, "_$helixMajorTickDistanceChangeAllSerializer", "$get$_$helixMajorTickDistanceChangeAllSerializer", () => new A._$HelixMajorTickDistanceChangeAllSerializer()); + _lazy($, "_$helixMajorTickStartChangeSerializer", "$get$_$helixMajorTickStartChangeSerializer", () => new A._$HelixMajorTickStartChangeSerializer()); + _lazy($, "_$helixMajorTickStartChangeAllSerializer", "$get$_$helixMajorTickStartChangeAllSerializer", () => new A._$HelixMajorTickStartChangeAllSerializer()); + _lazy($, "_$helixMajorTicksChangeSerializer", "$get$_$helixMajorTicksChangeSerializer", () => new A._$HelixMajorTicksChangeSerializer()); + _lazy($, "_$helixMajorTicksChangeAllSerializer", "$get$_$helixMajorTicksChangeAllSerializer", () => new A._$HelixMajorTicksChangeAllSerializer()); + _lazy($, "_$helixMajorTickPeriodicDistancesChangeSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeSerializer", () => new A._$HelixMajorTickPeriodicDistancesChangeSerializer()); + _lazy($, "_$helixMajorTickPeriodicDistancesChangeAllSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeAllSerializer", () => new A._$HelixMajorTickPeriodicDistancesChangeAllSerializer()); + _lazy($, "_$helixIdxsChangeSerializer", "$get$_$helixIdxsChangeSerializer", () => new A._$HelixIdxsChangeSerializer()); + _lazy($, "_$helixOffsetChangeSerializer", "$get$_$helixOffsetChangeSerializer", () => new A._$HelixOffsetChangeSerializer()); + _lazy($, "_$helixMinOffsetSetByDomainsSerializer", "$get$_$helixMinOffsetSetByDomainsSerializer", () => new A._$HelixMinOffsetSetByDomainsSerializer()); + _lazy($, "_$helixMaxOffsetSetByDomainsSerializer", "$get$_$helixMaxOffsetSetByDomainsSerializer", () => new A._$HelixMaxOffsetSetByDomainsSerializer()); + _lazy($, "_$helixMinOffsetSetByDomainsAllSerializer", "$get$_$helixMinOffsetSetByDomainsAllSerializer", () => new A._$HelixMinOffsetSetByDomainsAllSerializer()); + _lazy($, "_$helixMaxOffsetSetByDomainsAllSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSerializer", () => new A._$HelixMaxOffsetSetByDomainsAllSerializer()); + _lazy($, "_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", () => new A._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer()); + _lazy($, "_$helixOffsetChangeAllSerializer", "$get$_$helixOffsetChangeAllSerializer", () => new A._$HelixOffsetChangeAllSerializer()); + _lazy($, "_$showMouseoverRectSetSerializer", "$get$_$showMouseoverRectSetSerializer", () => new A._$ShowMouseoverRectSetSerializer()); + _lazy($, "_$showMouseoverRectToggleSerializer", "$get$_$showMouseoverRectToggleSerializer", () => new A._$ShowMouseoverRectToggleSerializer()); + _lazy($, "_$exportDNASerializer", "$get$_$exportDNASerializer", () => new A._$ExportDNASerializer()); + _lazy($, "_$exportSvgSerializer", "$get$_$exportSvgSerializer", () => new A._$ExportSvgSerializer()); + _lazy($, "_$exportSvgTextSeparatelySetSerializer", "$get$_$exportSvgTextSeparatelySetSerializer", () => new A._$ExportSvgTextSeparatelySetSerializer()); + _lazy($, "_$extensionDisplayLengthAngleSetSerializer", "$get$_$extensionDisplayLengthAngleSetSerializer", () => new A._$ExtensionDisplayLengthAngleSetSerializer()); + _lazy($, "_$extensionAddSerializer", "$get$_$extensionAddSerializer", () => new A._$ExtensionAddSerializer()); + _lazy($, "_$extensionNumBasesChangeSerializer", "$get$_$extensionNumBasesChangeSerializer", () => new A._$ExtensionNumBasesChangeSerializer()); + _lazy($, "_$extensionsNumBasesChangeSerializer", "$get$_$extensionsNumBasesChangeSerializer", () => new A._$ExtensionsNumBasesChangeSerializer()); + _lazy($, "_$loopoutLengthChangeSerializer", "$get$_$loopoutLengthChangeSerializer", () => new A._$LoopoutLengthChangeSerializer()); + _lazy($, "_$loopoutsLengthChangeSerializer", "$get$_$loopoutsLengthChangeSerializer", () => new A._$LoopoutsLengthChangeSerializer()); + _lazy($, "_$convertCrossoverToLoopoutSerializer", "$get$_$convertCrossoverToLoopoutSerializer", () => new A._$ConvertCrossoverToLoopoutSerializer()); + _lazy($, "_$convertCrossoversToLoopoutsSerializer", "$get$_$convertCrossoversToLoopoutsSerializer", () => new A._$ConvertCrossoversToLoopoutsSerializer()); + _lazy($, "_$nickSerializer", "$get$_$nickSerializer", () => new A._$NickSerializer()); + _lazy($, "_$ligateSerializer", "$get$_$ligateSerializer", () => new A._$LigateSerializer()); + _lazy($, "_$joinStrandsByCrossoverSerializer", "$get$_$joinStrandsByCrossoverSerializer", () => new A._$JoinStrandsByCrossoverSerializer()); + _lazy($, "_$moveLinkerSerializer", "$get$_$moveLinkerSerializer", () => new A._$MoveLinkerSerializer()); + _lazy($, "_$joinStrandsByMultipleCrossoversSerializer", "$get$_$joinStrandsByMultipleCrossoversSerializer", () => new A._$JoinStrandsByMultipleCrossoversSerializer()); + _lazy($, "_$strandsReflectSerializer", "$get$_$strandsReflectSerializer", () => new A._$StrandsReflectSerializer()); + _lazy($, "_$replaceStrandsSerializer", "$get$_$replaceStrandsSerializer", () => new A._$ReplaceStrandsSerializer()); + _lazy($, "_$strandCreateStartSerializer", "$get$_$strandCreateStartSerializer", () => new A._$StrandCreateStartSerializer()); + _lazy($, "_$strandCreateAdjustOffsetSerializer", "$get$_$strandCreateAdjustOffsetSerializer", () => new A._$StrandCreateAdjustOffsetSerializer()); + _lazy($, "_$strandCreateStopSerializer", "$get$_$strandCreateStopSerializer", () => new A._$StrandCreateStopSerializer()); + _lazy($, "_$strandCreateCommitSerializer", "$get$_$strandCreateCommitSerializer", () => new A._$StrandCreateCommitSerializer()); + _lazy($, "_$potentialCrossoverCreateSerializer", "$get$_$potentialCrossoverCreateSerializer", () => new A._$PotentialCrossoverCreateSerializer()); + _lazy($, "_$potentialCrossoverMoveSerializer", "$get$_$potentialCrossoverMoveSerializer", () => new A._$PotentialCrossoverMoveSerializer()); + _lazy($, "_$potentialCrossoverRemoveSerializer", "$get$_$potentialCrossoverRemoveSerializer", () => new A._$PotentialCrossoverRemoveSerializer()); + _lazy($, "_$manualPasteInitiateSerializer", "$get$_$manualPasteInitiateSerializer", () => new A._$ManualPasteInitiateSerializer()); + _lazy($, "_$autoPasteInitiateSerializer", "$get$_$autoPasteInitiateSerializer", () => new A._$AutoPasteInitiateSerializer()); + _lazy($, "_$copySelectedStrandsSerializer", "$get$_$copySelectedStrandsSerializer", () => new A._$CopySelectedStrandsSerializer()); + _lazy($, "_$strandsMoveStartSerializer", "$get$_$strandsMoveStartSerializer", () => new A._$StrandsMoveStartSerializer()); + _lazy($, "_$strandsMoveStartSelectedStrandsSerializer", "$get$_$strandsMoveStartSelectedStrandsSerializer", () => new A._$StrandsMoveStartSelectedStrandsSerializer()); + _lazy($, "_$strandsMoveStopSerializer", "$get$_$strandsMoveStopSerializer", () => new A._$StrandsMoveStopSerializer()); + _lazy($, "_$strandsMoveAdjustAddressSerializer", "$get$_$strandsMoveAdjustAddressSerializer", () => new A._$StrandsMoveAdjustAddressSerializer()); + _lazy($, "_$strandsMoveCommitSerializer", "$get$_$strandsMoveCommitSerializer", () => new A._$StrandsMoveCommitSerializer()); + _lazy($, "_$domainsMoveStartSelectedDomainsSerializer", "$get$_$domainsMoveStartSelectedDomainsSerializer", () => new A._$DomainsMoveStartSelectedDomainsSerializer()); + _lazy($, "_$domainsMoveStopSerializer", "$get$_$domainsMoveStopSerializer", () => new A._$DomainsMoveStopSerializer()); + _lazy($, "_$domainsMoveAdjustAddressSerializer", "$get$_$domainsMoveAdjustAddressSerializer", () => new A._$DomainsMoveAdjustAddressSerializer()); + _lazy($, "_$domainsMoveCommitSerializer", "$get$_$domainsMoveCommitSerializer", () => new A._$DomainsMoveCommitSerializer()); + _lazy($, "_$dNAEndsMoveStartSerializer", "$get$_$dNAEndsMoveStartSerializer", () => new A._$DNAEndsMoveStartSerializer()); + _lazy($, "_$dNAEndsMoveSetSelectedEndsSerializer", "$get$_$dNAEndsMoveSetSelectedEndsSerializer", () => new A._$DNAEndsMoveSetSelectedEndsSerializer()); + _lazy($, "_$dNAEndsMoveAdjustOffsetSerializer", "$get$_$dNAEndsMoveAdjustOffsetSerializer", () => new A._$DNAEndsMoveAdjustOffsetSerializer()); + _lazy($, "_$dNAEndsMoveStopSerializer", "$get$_$dNAEndsMoveStopSerializer", () => new A._$DNAEndsMoveStopSerializer()); + _lazy($, "_$dNAEndsMoveCommitSerializer", "$get$_$dNAEndsMoveCommitSerializer", () => new A._$DNAEndsMoveCommitSerializer()); + _lazy($, "_$dNAExtensionsMoveStartSerializer", "$get$_$dNAExtensionsMoveStartSerializer", () => new A._$DNAExtensionsMoveStartSerializer()); + _lazy($, "_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", "$get$_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", () => new A._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer()); + _lazy($, "_$dNAExtensionsMoveAdjustPositionSerializer", "$get$_$dNAExtensionsMoveAdjustPositionSerializer", () => new A._$DNAExtensionsMoveAdjustPositionSerializer()); + _lazy($, "_$dNAExtensionsMoveStopSerializer", "$get$_$dNAExtensionsMoveStopSerializer", () => new A._$DNAExtensionsMoveStopSerializer()); + _lazy($, "_$dNAExtensionsMoveCommitSerializer", "$get$_$dNAExtensionsMoveCommitSerializer", () => new A._$DNAExtensionsMoveCommitSerializer()); + _lazy($, "_$helixGroupMoveStartSerializer", "$get$_$helixGroupMoveStartSerializer", () => new A._$HelixGroupMoveStartSerializer()); + _lazy($, "_$helixGroupMoveCreateSerializer", "$get$_$helixGroupMoveCreateSerializer", () => new A._$HelixGroupMoveCreateSerializer()); + _lazy($, "_$helixGroupMoveAdjustTranslationSerializer", "$get$_$helixGroupMoveAdjustTranslationSerializer", () => new A._$HelixGroupMoveAdjustTranslationSerializer()); + _lazy($, "_$helixGroupMoveStopSerializer", "$get$_$helixGroupMoveStopSerializer", () => new A._$HelixGroupMoveStopSerializer()); + _lazy($, "_$helixGroupMoveCommitSerializer", "$get$_$helixGroupMoveCommitSerializer", () => new A._$HelixGroupMoveCommitSerializer()); + _lazy($, "_$assignDNASerializer", "$get$_$assignDNASerializer", () => new A._$AssignDNASerializer()); + _lazy($, "_$assignDNAComplementFromBoundStrandsSerializer", "$get$_$assignDNAComplementFromBoundStrandsSerializer", () => new A._$AssignDNAComplementFromBoundStrandsSerializer()); + _lazy($, "_$assignDomainNameComplementFromBoundStrandsSerializer", "$get$_$assignDomainNameComplementFromBoundStrandsSerializer", () => new A._$AssignDomainNameComplementFromBoundStrandsSerializer()); + _lazy($, "_$assignDomainNameComplementFromBoundDomainsSerializer", "$get$_$assignDomainNameComplementFromBoundDomainsSerializer", () => new A._$AssignDomainNameComplementFromBoundDomainsSerializer()); + _lazy($, "_$removeDNASerializer", "$get$_$removeDNASerializer", () => new A._$RemoveDNASerializer()); + _lazy($, "_$insertionAddSerializer", "$get$_$insertionAddSerializer", () => new A._$InsertionAddSerializer()); + _lazy($, "_$insertionLengthChangeSerializer", "$get$_$insertionLengthChangeSerializer", () => new A._$InsertionLengthChangeSerializer()); + _lazy($, "_$insertionsLengthChangeSerializer", "$get$_$insertionsLengthChangeSerializer", () => new A._$InsertionsLengthChangeSerializer()); + _lazy($, "_$deletionAddSerializer", "$get$_$deletionAddSerializer", () => new A._$DeletionAddSerializer()); + _lazy($, "_$insertionRemoveSerializer", "$get$_$insertionRemoveSerializer", () => new A._$InsertionRemoveSerializer()); + _lazy($, "_$deletionRemoveSerializer", "$get$_$deletionRemoveSerializer", () => new A._$DeletionRemoveSerializer()); + _lazy($, "_$scalePurificationVendorFieldsAssignSerializer", "$get$_$scalePurificationVendorFieldsAssignSerializer", () => new A._$ScalePurificationVendorFieldsAssignSerializer()); + _lazy($, "_$plateWellVendorFieldsAssignSerializer", "$get$_$plateWellVendorFieldsAssignSerializer", () => new A._$PlateWellVendorFieldsAssignSerializer()); + _lazy($, "_$plateWellVendorFieldsRemoveSerializer", "$get$_$plateWellVendorFieldsRemoveSerializer", () => new A._$PlateWellVendorFieldsRemoveSerializer()); + _lazy($, "_$vendorFieldsRemoveSerializer", "$get$_$vendorFieldsRemoveSerializer", () => new A._$VendorFieldsRemoveSerializer()); + _lazy($, "_$modificationAddSerializer", "$get$_$modificationAddSerializer", () => new A._$ModificationAddSerializer()); + _lazy($, "_$modificationRemoveSerializer", "$get$_$modificationRemoveSerializer", () => new A._$ModificationRemoveSerializer()); + _lazy($, "_$modificationConnectorLengthSetSerializer", "$get$_$modificationConnectorLengthSetSerializer", () => new A._$ModificationConnectorLengthSetSerializer()); + _lazy($, "_$modificationEditSerializer", "$get$_$modificationEditSerializer", () => new A._$ModificationEditSerializer()); + _lazy($, "_$modifications5PrimeEditSerializer", "$get$_$modifications5PrimeEditSerializer", () => new A._$Modifications5PrimeEditSerializer()); + _lazy($, "_$modifications3PrimeEditSerializer", "$get$_$modifications3PrimeEditSerializer", () => new A._$Modifications3PrimeEditSerializer()); + _lazy($, "_$modificationsInternalEditSerializer", "$get$_$modificationsInternalEditSerializer", () => new A._$ModificationsInternalEditSerializer()); + _lazy($, "_$gridChangeSerializer", "$get$_$gridChangeSerializer", () => new A._$GridChangeSerializer()); + _lazy($, "_$groupDisplayedChangeSerializer", "$get$_$groupDisplayedChangeSerializer", () => new A._$GroupDisplayedChangeSerializer()); + _lazy($, "_$groupAddSerializer", "$get$_$groupAddSerializer", () => new A._$GroupAddSerializer()); + _lazy($, "_$groupRemoveSerializer", "$get$_$groupRemoveSerializer", () => new A._$GroupRemoveSerializer()); + _lazy($, "_$groupChangeSerializer", "$get$_$groupChangeSerializer", () => new A._$GroupChangeSerializer()); + _lazy($, "_$moveHelicesToGroupSerializer", "$get$_$moveHelicesToGroupSerializer", () => new A._$MoveHelicesToGroupSerializer()); + _lazy($, "_$dialogShowSerializer", "$get$_$dialogShowSerializer", () => new A._$DialogShowSerializer()); + _lazy($, "_$dialogHideSerializer", "$get$_$dialogHideSerializer", () => new A._$DialogHideSerializer()); + _lazy($, "_$contextMenuShowSerializer", "$get$_$contextMenuShowSerializer", () => new A._$ContextMenuShowSerializer()); + _lazy($, "_$contextMenuHideSerializer", "$get$_$contextMenuHideSerializer", () => new A._$ContextMenuHideSerializer()); + _lazy($, "_$strandOrSubstrandColorPickerShowSerializer", "$get$_$strandOrSubstrandColorPickerShowSerializer", () => new A._$StrandOrSubstrandColorPickerShowSerializer()); + _lazy($, "_$strandOrSubstrandColorPickerHideSerializer", "$get$_$strandOrSubstrandColorPickerHideSerializer", () => new A._$StrandOrSubstrandColorPickerHideSerializer()); + _lazy($, "_$scaffoldSetSerializer", "$get$_$scaffoldSetSerializer", () => new A._$ScaffoldSetSerializer()); + _lazy($, "_$strandOrSubstrandColorSetSerializer", "$get$_$strandOrSubstrandColorSetSerializer", () => new A._$StrandOrSubstrandColorSetSerializer()); + _lazy($, "_$strandPasteKeepColorSetSerializer", "$get$_$strandPasteKeepColorSetSerializer", () => new A._$StrandPasteKeepColorSetSerializer()); + _lazy($, "_$exampleDesignsLoadSerializer", "$get$_$exampleDesignsLoadSerializer", () => new A._$ExampleDesignsLoadSerializer()); + _lazy($, "_$basePairTypeSetSerializer", "$get$_$basePairTypeSetSerializer", () => new A._$BasePairTypeSetSerializer()); + _lazy($, "_$helixPositionSetSerializer", "$get$_$helixPositionSetSerializer", () => new A._$HelixPositionSetSerializer()); + _lazy($, "_$helixGridPositionSetSerializer", "$get$_$helixGridPositionSetSerializer", () => new A._$HelixGridPositionSetSerializer()); + _lazy($, "_$helicesPositionsSetBasedOnCrossoversSerializer", "$get$_$helicesPositionsSetBasedOnCrossoversSerializer", () => new A._$HelicesPositionsSetBasedOnCrossoversSerializer()); + _lazy($, "_$inlineInsertionsDeletionsSerializer", "$get$_$inlineInsertionsDeletionsSerializer", () => new A._$InlineInsertionsDeletionsSerializer()); + _lazy($, "_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", "$get$_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", () => new A._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer()); + _lazy($, "_$autofitSetSerializer", "$get$_$autofitSetSerializer", () => new A._$AutofitSetSerializer()); + _lazy($, "_$showHelixCirclesMainViewSetSerializer", "$get$_$showHelixCirclesMainViewSetSerializer", () => new A._$ShowHelixCirclesMainViewSetSerializer()); + _lazy($, "_$showHelixComponentsMainViewSetSerializer", "$get$_$showHelixComponentsMainViewSetSerializer", () => new A._$ShowHelixComponentsMainViewSetSerializer()); + _lazy($, "_$showEditMenuToggleSerializer", "$get$_$showEditMenuToggleSerializer", () => new A._$ShowEditMenuToggleSerializer()); + _lazy($, "_$showGridCoordinatesSideViewSetSerializer", "$get$_$showGridCoordinatesSideViewSetSerializer", () => new A._$ShowGridCoordinatesSideViewSetSerializer()); + _lazy($, "_$showAxisArrowsSetSerializer", "$get$_$showAxisArrowsSetSerializer", () => new A._$ShowAxisArrowsSetSerializer()); + _lazy($, "_$showLoopoutExtensionLengthSetSerializer", "$get$_$showLoopoutExtensionLengthSetSerializer", () => new A._$ShowLoopoutExtensionLengthSetSerializer()); + _lazy($, "_$loadDnaSequenceImageUriSerializer", "$get$_$loadDnaSequenceImageUriSerializer", () => new A._$LoadDnaSequenceImageUriSerializer()); + _lazy($, "_$setIsZoomAboveThresholdSerializer", "$get$_$setIsZoomAboveThresholdSerializer", () => new A._$SetIsZoomAboveThresholdSerializer()); + _lazy($, "_$setExportSvgActionDelayedForPngCacheSerializer", "$get$_$setExportSvgActionDelayedForPngCacheSerializer", () => new A._$SetExportSvgActionDelayedForPngCacheSerializer()); + _lazy($, "_$showBasePairLinesSetSerializer", "$get$_$showBasePairLinesSetSerializer", () => new A._$ShowBasePairLinesSetSerializer()); + _lazy($, "_$showBasePairLinesWithMismatchesSetSerializer", "$get$_$showBasePairLinesWithMismatchesSetSerializer", () => new A._$ShowBasePairLinesWithMismatchesSetSerializer()); + _lazy($, "_$showSliceBarSetSerializer", "$get$_$showSliceBarSetSerializer", () => new A._$ShowSliceBarSetSerializer()); + _lazy($, "_$sliceBarOffsetSetSerializer", "$get$_$sliceBarOffsetSetSerializer", () => new A._$SliceBarOffsetSetSerializer()); + _lazy($, "_$disablePngCachingDnaSequencesSetSerializer", "$get$_$disablePngCachingDnaSequencesSetSerializer", () => new A._$DisablePngCachingDnaSequencesSetSerializer()); + _lazy($, "_$retainStrandColorOnSelectionSetSerializer", "$get$_$retainStrandColorOnSelectionSetSerializer", () => new A._$RetainStrandColorOnSelectionSetSerializer()); + _lazy($, "_$displayReverseDNARightSideUpSetSerializer", "$get$_$displayReverseDNARightSideUpSetSerializer", () => new A._$DisplayReverseDNARightSideUpSetSerializer()); + _lazy($, "_$sliceBarMoveStartSerializer", "$get$_$sliceBarMoveStartSerializer", () => new A._$SliceBarMoveStartSerializer()); + _lazy($, "_$sliceBarMoveStopSerializer", "$get$_$sliceBarMoveStopSerializer", () => new A._$SliceBarMoveStopSerializer()); + _lazy($, "_$autostapleSerializer", "$get$_$autostapleSerializer", () => new A._$AutostapleSerializer()); + _lazy($, "_$autobreakSerializer", "$get$_$autobreakSerializer", () => new A._$AutobreakSerializer()); + _lazy($, "_$zoomSpeedSetSerializer", "$get$_$zoomSpeedSetSerializer", () => new A._$ZoomSpeedSetSerializer()); + _lazy($, "_$oxdnaExportSerializer", "$get$_$oxdnaExportSerializer", () => new A._$OxdnaExportSerializer()); + _lazy($, "_$oxviewExportSerializer", "$get$_$oxviewExportSerializer", () => new A._$OxviewExportSerializer()); + _lazy($, "_$oxExportOnlySelectedStrandsSetSerializer", "$get$_$oxExportOnlySelectedStrandsSetSerializer", () => new A._$OxExportOnlySelectedStrandsSetSerializer()); + _lazyFinal($, "scadnano_versions_to_link", "$get$scadnano_versions_to_link", () => B.JSArray_methods.$add(A._setArrayType(["0.19.5"], type$.JSArray_String), $.scadnano_older_versions_to_link)); + _lazyFinal($, "KEY_CODE_COMMAND_MAC", "$get$KEY_CODE_COMMAND_MAC", () => A.browser().get$isFirefox() ? 224 : 91); + _lazyFinal($, "KEY_CODE_TOGGLE_SELECT_MAC", "$get$KEY_CODE_TOGGLE_SELECT_MAC", () => $.$get$KEY_CODE_COMMAND_MAC()); + _lazyFinal($, "default_geometry", "$get$default_geometry", () => A.Geometry_Geometry(10.5, 1, 1, 150, 0.332)); + _lazyFinal($, "all_scadnano_file_extensions", "$get$all_scadnano_file_extensions", () => B.JSArray_methods.$add(A._setArrayType(["sc"], type$.JSArray_String), B.List_dna_json)); + _lazyFinal($, "color_forward_rotation_arrow_no_strand", "$get$color_forward_rotation_arrow_no_strand", () => A.RgbColor$(0, 0, 0)); + _lazyFinal($, "default_scaffold_color", "$get$default_scaffold_color", () => A.RgbColor$(0, 102, 204)); + _lazyFinal($, "default_cadnano_strand_color", "$get$default_cadnano_strand_color", () => A.HexColor_HexColor("#BFBFBF")); + _lazyFinal($, "design_keys", "$get$design_keys", () => B.JSArray_methods.$add(A._setArrayType(["version", "grid", "helices", "helices_view_order", "potential_helices", "strands", "modifications_in_design", "modifications_5p_in_design", "modifications_3p_in_design", "modifications_int_in_design", "groups"], type$.JSArray_String), B.List_parameters)); + _lazyFinal($, "geometry_keys", "$get$geometry_keys", () => B.JSArray_methods.$add(B.JSArray_methods.$add(A._setArrayType(["rise_per_base_pair", "helix_radius", "bases_per_turn", "minor_groove_angle", "inter_helix_gap"], type$.JSArray_String), B.List_groove_angle), B.List_z_step)); + _lazyFinal($, "helix_keys", "$get$helix_keys", () => B.JSArray_methods.$add(A._setArrayType(["idx", "max_offset", "min_offset", "roll", "pitch", "yaw", "grid_position", "svg_position", "position", "major_ticks", "major_tick_distance", "major_tick_start", "major_tick_periodic_distances", "group"], type$.JSArray_String), B.List_origin)); + _lazyFinal($, "strand_keys", "$get$strand_keys", () => B.JSArray_methods.$add(B.JSArray_methods.$add(B.JSArray_methods.$add(A._setArrayType(["color", "sequence", "vendor_fields", "is_scaffold", "domains", "5prime_modification", "3prime_modification", "internal_modifications", "label", "name"], type$.JSArray_String), B.List_dna_sequence), B.List_idt), B.List_substrands)); + _lazyFinal($, "modification_keys", "$get$modification_keys", () => B.JSArray_methods.$add(A._setArrayType(["location", "display_text", "vendor_code", "allowed_bases", "connector_length"], type$.JSArray_String), B.List_idt_text)); + _lazyFinal($, "domain_keys", "$get$domain_keys", () => B.JSArray_methods.$add(A._setArrayType(["helix", "forward", "start", "end", "deletions", "insertions", "label", "name", "color"], type$.JSArray_String), B.List_right)); + _lazy($, "_$dNAFileTypeSerializer", "$get$_$dNAFileTypeSerializer", () => new A._$DNAFileTypeSerializer()); + _lazyFinal($, "_m13_p7249", "$get$_m13_p7249", () => B.JSString_methods.replaceAll$2("AATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTA\nATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGT\nTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTG\nTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCT\nTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAA\nTATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTT\nGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTG\nGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTG\nGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTT\nCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCA\nGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCT\nAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGT\nCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTC\nATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCT\nTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAA\nATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAAT\nTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGAC\nGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACAT\nGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCC\nTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCT\nTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTC\nAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTT\nCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGT\nGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTG\nATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTC\nTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAAT\nTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTT\nTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTT\nTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTT\nTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGG\nGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTT\nCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCT\nGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATC\nTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGC\nTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAG\nGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGC\nGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAAT\nGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAAC\nGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAA\nATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTA\nTATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTAT\nCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCA\nTTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATA\nATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATC\nTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTAT\nAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAA\nATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTC\nAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCA\nACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAG\nGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATT\nAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATT\nACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAA\nTGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGC\nTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAA\nATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGC\nGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTC\nTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGA\nTTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAA\nACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGG\nGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTG\nGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAAC\nGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTC\nACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCACTGGCCGTCG\nTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCG\nCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGC\nGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCA\nATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTT\nTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATA\nCAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTC\nCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATT\nGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATT\nTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATT\nGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTT\n", A.RegExp_RegExp("\\s", true), "")); + _lazyFinal($, "_m13_p7560", "$get$_m13_p7560", () => B.JSString_methods.replaceAll$2("AGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGC\nGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCC\nGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTG\nACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAG\nGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACA\nATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCA\nTCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAG\nAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATA\nTATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTT\nTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCAC\nCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAAT\nTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCT\nCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGA\nAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGAC\nCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTA\nTCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTA\nTGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCT\nACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAG\nGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAG\nCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTC\nATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACA\nCAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCC\nTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGT\nAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATAT\nATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATA\nCAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCG\nCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGA\nGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAAT\nGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATA\nCTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTT\nCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAG\nTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTT\nGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAAT\nAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATG\nGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAA\nTTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTT\nTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATAC\nTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTT\nACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTG\nATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGC\nTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGG\nAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTC\nGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAA\nATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACA\nTGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGT\nCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTA\nAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAA\nTTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATA\nTATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGG\nTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATT\nAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAA\nTGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTAT\nTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCT\nTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATT\nGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAAT\nAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTAT\nTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATT\nTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTT\nTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTG\nTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGT\nAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACC\nAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTC\nTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCG\nCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTAC\nGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCT\nCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGC\nCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTA\nTTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCT\nCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGC\nGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGC\nACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAA\nTTCGAGCTCGGTACCCGGGGATCCTCCGTCTTTATCGAGGTAACAAGCACCACGTAGCTTAAGCCCTGTTTACTCATTACACCAACCAGGAGGTCAGAGT\nTCGGAGAAATGATTTATGTGAAATGCGTCAGCCGATTCAAGGCCCCTATATTCGTGCCCACCGACGAGTTGCTTACAGATGGCAGGGCCGCACTGTCGGT\nATCATAGAGTCACTCCAGGGCGAGCGTAAATAGATTAGAAGCGGGGTTATTTTGGCGGGACATTGTCATAAGGTTGACAATTCAGCACTAAGGACACTTA\nAGTCGTGCGCATGAATTCACAACCACTTAGAAGAACATCCACCCTGGCTTCTCCTGAGAA\n", A.RegExp_RegExp("\\s", true), "")); + _lazyFinal($, "_m13_p8064", "$get$_m13_p8064", () => B.JSString_methods.replaceAll$2("GGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATTGATGGTGATT\nTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATTTTTATCCTTG\nCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATTGCTTAATTTT\nGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATA\nTAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAAC\nTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTAT\nCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGT\nCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTT\nTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCC\nTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTA\nATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCG\nTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTA\nAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGA\nATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTC\nGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCC\nGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAG\nTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGT\nCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGT\nCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTT\nTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAA\nTCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTG\nTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTAT\nCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATA\nGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTA\nTGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTG\nCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCT\nCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGA\nAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCT\nAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAAT\nATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATT\nCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAG\nTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGAT\nAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTT\nGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAA\nAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTC\nAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCT\nTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAG\nTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTT\nTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTT\nTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACT\nGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAA\nCGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTG\nTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAA\nTTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAG\nGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTG\nTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGT\nTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTT\nGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATG\nATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGT\nTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTA\nGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATT\nTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTAT\nTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAG\nAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTC\nAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTAC\nTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAA\nAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTAT\nACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCG\nCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCG\nATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACG\nTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGA\nTTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAG\nCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCAC\nGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGG\nCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCAAC\nTGTGAGGAGGCTCACGGACGCGAAGAACAGGCACGCGTGCTGGCAGAAACCCCCGGTATGACCGTGAAAACGGCCCGCCGCATTCTGGCCGCAGCACCAC\nAGAGTGCACAGGCGCGCAGTGACACTGCGCTGGATCGTCTGATGCAGGGGGCACCGGCACCGCTGGCTGCAGGTAACCCGGCATCTGATGCCGTTAACGA\nTTTGCTGAACACACCAGTGTAAGGGATGTTTATGACGAGCAAAGAAACCTTTACCCATTACCAGCCGCAGGGCAACAGTGACCCGGCTCATACCGCAACC\nGCGCCCGGCGGATTGAGTGCGAAAGCGCCTGCAATGACCCCGCTGATGCTGGACACCTCCAGCCGTAAGCTGGTTGCGTGGGATGGCACCACCGACGGTG\nCTGCCGTTGGCATTCTTGCGGTTGCTGCTGACCAGACCAGCACCACGCTGACGTTCTACAAGTCCGGCACGTTCCGTTATGAGGATGTGCTCTGGCCGGA\nGGCTGCCAGCGACGAGACGAAAAAACGGACCGCGTTTGCCGGAACGGCAATCAGCATCGTTTAACTTTACCCTTCATCACTAAAGGCCGCCTGTGCGGCT\nTTTTTTACGGGATTTTTTTATGTCGATGTACACAACCGCCCAACTGCTGGCGGCAAATGAGCAGAAATTTAAGTTTGATCCGCTGTTTCTGCGTCTCTTT\nTTCCGTGAGAGCTATCCCTTCACCACGGAGAAAGTCTATCTCTCACAAATTCCGGGACTGGTAAACATGGCGCTGTACGTTTCGCCGATTGTTTCCGGTG\nAGGTTATCCGTTCCCGTGGCGGCTCCACCTCTGAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAA\nTCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGG\nCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGA\nTGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCT\nCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAAT\nTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACA\nTATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTCCAGACTCTCA\n", A.RegExp_RegExp("\\s", true), "")); + _lazyFinal($, "_m13_p8634", "$get$_m13_p8634", () => B.JSString_methods.replaceAll$2("GAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTT\nCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTG\nTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGAC\nAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTC\nGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCATTCTCCT\nGTGACTCGGAAGTGCATTTATCATCTCCATAAAACAAAACCCGCCGTAGCGAGTTCAGATAAAATAAATCCCCGCGAGTGCGAGGATTGTTATGTAATAT\nTGGGTTTAATCATCTATATGTTTTGTACAGAGAGGGCAAGTATCGTTTCCACCGTACTCGTGATAATAATTTTGCACGGTATCAGTCATTTCTCGCACAT\nTGCAGAATGGGGATTTGTCTTCATTAGACTTATAAACCTTCATGGAATATTTGTATGCCGACTCTATATCTATACCTTCATCTACATAAACACCTTCGTG\nATGTCTGCATGGAGACAAGACACCGGATCTGCACAACATTGATAACGCCCAATCTTTTTGCTCAGACTCTAACTCATTGATACTCATTTATAAACTCCTT\nGCAATGTATGTCGTTTCAGCTAAACGGTATCAGCAATGTTTATGTAAAGAAACAGTAAGATAATACTCAACCCGATGTTTGAGTACGGTCATCATCTGAC\nACTACAGACTCTGGCATCGCTGTGAAGACGACGCGAAATTCAGCATTTTCACAAGCGTTATCTTTTACAAAACCGATCTCACTCTCCTTTGATGCGAATG\nCCAGCGTCAGACATCATATGCAGATACTCACCTGCATCCTGAACCCATTGACCTCCAACCCCGTAATAGCGATGCGTAATGATGTCGATAGTTACTAACG\nGGTCTTGTTCGATTAACTGCCGCAGAAACTCTTCCAGGTCACCAGTGCAGTGCTTGATAACAGGAGTCTTCCCAGGATGGCGAACAACAAGAAACTGGTT\nTCCGTCTTCACGGACTTCGTTGCTTTCCAGTTTAGCAATACGCTTACTCCCATCCGAGATAACACCTTCGTAATACTCACGCTGCTCGTTGAGTTTTGAT\nTTTGCTGTTTCAAGCTCAACACGCAGTTTCCCTACTGTTAGCGCAATATCCTCGTTCTCCTGGTCGCGGCGTTTGATGTATTGCTGGTTTCTTTCCCGTT\nCATCCAGCAGTTCCAGCACAATCGATGGTGTTACCAATTCATGGAAAAGGTCTGCGTCAAATCCCCAGTCGTCATGCATTGCCTGCTCTGCCGCTTCACG\nCAGTGCCTGAGAGTTAATTTCGCTCACTTCGAACCTCTCTGTTTACTGATAAGTTCCAGATCCTCCTGGCAACTTGCACAAGTCCGACAACCCTGAACGA\nCCAGGCGTCTTCGTTCATCTATCGGATCGCCACACTCACAACAATGAGTGGCAGATATAGCCTGGTGGTTCAGGCGGCGCATTTTTATTGCTGTGTTGCG\nCTGTAATTCTTCTATTTCTGATGCTGAATCAATGATGTCTGCCATCTTTCATTAATCCCTGAACTGTTGGTTAATACGCATGAGGGTGAATGCGAATAAT\nAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTG\nGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTG\nCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACG\nTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGA\nAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTA\nCAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTT\nCATCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCT\nAGAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAA\nTATATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGC\nTTTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCC\nACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGA\nATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAG\nCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTT\nGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAG\nACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGC\nTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGT\nTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTT\nCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATA\nAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATG\nAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGT\nTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGA\nCACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTG\nCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCT\nGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAAT\nATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGA\nTACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTC\nCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTAT\nGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAA\nATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTA\nTACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACT\nTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACC\nAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGT\nTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGC\nTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTA\nATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGA\nTGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGAT\nAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAAT\nTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACAT\nACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGC\nTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTC\nTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAG\nGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCT\nGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAG\nTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGA\nAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTA\nCATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATT\nGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGT\nTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGT\nAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAA\nTATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAA\nGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAA\nTTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTA\nAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGT\nATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTT\nCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAA\nTTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTA\nATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCT\nATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATA\nTTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTG\nTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTC\nTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAAT\nGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTA\nCCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGAC\nTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCC\nCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTT\nACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAG\nCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATC\nGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTG\n", A.RegExp_RegExp("\\s", true), "")); + _lazyFinal($, "_$values", "$get$_$values0", () => A.BuiltSet_BuiltSet(B.List_Tzo, type$.DNASequencePredefined)); + _lazy($, "_$dNASequencePredefinedSerializer", "$get$_$dNASequencePredefinedSerializer", () => new A._$DNASequencePredefinedSerializer()); + _lazyFinal($, "all_middleware", "$get$all_middleware", () => A.List_List$unmodifiable([A.reset_local_storage__reset_local_storage_middleware$closure(), A.local_storage__local_storage_middleware$closure(), A.move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure(), A.forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure(), A.export_svg__export_svg_middleware$closure(), A.save_file__save_file_middleware$closure(), A.load_file__load_file_middleware$closure(), A.export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure(), A.example_design_selected__example_design_selected_middleware$closure(), A.throttle__throttle_middleware$closure(), A.assign_dna__assign_dna_middleware$closure(), A.strand_create__strand_create_middleware$closure(), A.helix_remove__helix_remove_middleware$closure(), A.group_remove__group_remove_middleware$closure(), A.helix_group_move_start__helix_group_move_start_middleware$closure(), A.helix_offsets_change__helix_change_offsets_middleware$closure(), A.helix_idxs_change__helix_idxs_change_middleware$closure(), A.helix_grid_change__helix_grid_offsets_middleware$closure(), A.helix_hide_all__helix_hide_all_middleware$closure(), A.helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure(), A.dna_ends_move_start__dna_ends_move_start_middleware$closure(), A.dna_extensions_move_start__dna_extensions_move_start_middleware$closure(), A.export_dna_sequences__export_dna_sequences_middleware$closure(), A.reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure(), A.reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure(), A.reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure(), A.reselect_moved_domains__reselect_moved_domains_middleware$closure(), A.selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure(), A.insertion_deletion_batching__insertion_deletion_batching_middleware$closure(), A.adjust_grid_position__adjust_grid_position_middleware$closure(), A.invalidate_png__invalidate_png_middleware$closure(), A.check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure(), A.edit_select_mode_change__edit_select_mode_change_middleware$closure(), A.periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure(), A.autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure(), A.system_clipboard__system_clipboard_middleware$closure(), A.zoom_speed__zoom_speed_middleware$closure(), A.oxdna_export__oxdna_export_middleware$closure(), A.oxview_update_view__oxview_update_view_middleware$closure()], A.findType("@(Store,@,@(@))"))); + _lazyFinal($, "relevant_styles", "$get$relevant_styles", () => A.LinkedHashMap_LinkedHashMap$_literal(["rect", B.List_8RB, "polygon", B.List_8RB, "path", B.List_8RB, "circle", B.List_8RB, "line", B.List_8RB, "text", B.List_in0, "textPath", B.JSArray_methods.$add(B.List_in0, B.List_empty0)], type$.String, type$.List_String)); + _lazyFinal($, "_$values0", "$get$_$values5", () => A.BuiltSet_BuiltSet(B.List_948, A.findType("Storable"))); + _lazyFinal($, "_OXDNA_ORIGIN", "$get$_OXDNA_ORIGIN", () => A.OxdnaVector$(0, 0, 0)); + _lazy($, "clipboard", "$get$clipboard", () => new A.BrowserClipboard()); + _lazy($, "drawing_potential_crossover_reducer", "$get$drawing_potential_crossover_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure(), t1, type$.PotentialCrossoverCreate), + t3 = A.TypedReducer$(A.app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure(), t1, type$.PotentialCrossoverRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "moving_dna_ends_reducer", "$get$moving_dna_ends_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure(), t1, type$.DNAEndsMoveStart), + t3 = A.TypedReducer$(A.app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure(), t1, type$.DNAEndsMoveStop), + t4 = A.TypedReducer$(A.app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure(), t1, type$.DNAExtensionsMoveStart), + t5 = A.TypedReducer$(A.app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure(), t1, type$.DNAExtensionsMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "slice_bar_is_moving_reducer", "$get$slice_bar_is_moving_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure(), t1, type$.SliceBarMoveStart), + t3 = A.TypedReducer$(A.app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure(), t1, type$.SliceBarMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "helix_group_is_moving_reducer", "$get$helix_group_is_moving_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure(), t1, type$.HelixGroupMoveStart), + t3 = A.TypedReducer$(A.app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure(), t1, type$.HelixGroupMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "load_dialog_reducer", "$get$load_dialog_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure(), t1, type$.LoadingDialogShow), + t3 = A.TypedReducer$(A.app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure(), t1, type$.LoadingDialogHide); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "changed_since_last_save_reducer", "$get$changed_since_last_save_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure(), t1, type$.UndoableAction), + t3 = A.TypedReducer$(A.app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure(), t1, type$.SaveDNAFile); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "mouseover_data_reducer", "$get$mouseover_data_reducer", () => { + var t1 = type$.BuiltList_MouseoverData, + t2 = A.TypedReducer$(A.mouseover_datas_reducer__mouseover_data_clear_reducer$closure(), t1, type$.MouseoverDataClear); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray(BuiltList,@)>")), t1); + }); + _lazy($, "slice_bar_offset_global_reducer", "$get$slice_bar_offset_global_reducer", () => { + var t1 = A.findType("int?"), + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure(), t1, t2, type$.ShowSliceBarSet), + t4 = A.TypedGlobalReducer$(A.app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure(), t1, t2, type$.GroupDisplayedChange), + t5 = A.TypedGlobalReducer$(A.app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure(), t1, t2, type$.GroupRemove), + t6 = A.TypedGlobalReducer$(A.app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure(), t1, t2, type$.HelixOffsetChange), + t7 = A.TypedGlobalReducer$(A.app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure(), t1, t2, type$.HelixOffsetChangeAll); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "displayed_group_name_reducer", "$get$displayed_group_name_reducer", () => { + var t1 = type$.String, + t2 = A.TypedReducer$(A.app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure(), t1, type$.GroupDisplayedChange), + t3 = A.TypedReducer$(A.app_ui_state_reducer__displayed_group_name_change_name_reducer$closure(), t1, type$.GroupChange); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "dna_sequence_png_uri_reducer", "$get$dna_sequence_png_uri_reducer", () => { + var t1 = type$.nullable_String, + t2 = A.TypedReducer$(A.app_ui_state_reducer__load_dna_sequence_image_uri$closure(), t1, type$.LoadDnaSequenceImageUri); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "dna_sequence_horizontal_offset_reducer", "$get$dna_sequence_horizontal_offset_reducer", () => { + var t1 = type$.double, + t2 = A.TypedReducer$(A.app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure(), t1, type$.LoadDnaSequenceImageUri); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "dna_sequence_vertical_offset_reducer", "$get$dna_sequence_vertical_offset_reducer", () => { + var t1 = type$.double, + t2 = A.TypedReducer$(A.app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure(), t1, type$.LoadDnaSequenceImageUri); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "export_svg_action_delayed_for_png_cache_reducer", "$get$export_svg_action_delayed_for_png_cache_reducer", () => { + var t1 = A.TypedReducer$(A.app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure(), type$.nullable_ExportSvg, type$.SetExportSvgActionDelayedForPngCache); + return t1.get$$call(); + }); + _lazy($, "is_zoom_above_threshold_reducer", "$get$is_zoom_above_threshold_reducer", () => { + var t1 = type$.bool, + t2 = A.TypedReducer$(A.app_ui_state_reducer__set_is_zoom_above_threshold$closure(), t1, type$.SetIsZoomAboveThreshold); + return A.combineReducers(A._setArrayType([t2.get$$call()], type$.JSArray_of_bool_Function_bool_dynamic), t1); + }); + _lazy($, "side_view_mouse_grid_pos_reducer", "$get$side_view_mouse_grid_pos_reducer", () => { + var t1 = type$.nullable_GridPosition, + t2 = A.TypedReducer$(A.app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure(), t1, type$.MouseGridPositionSideUpdate), + t3 = A.TypedReducer$(A.app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure(), t1, type$.MouseGridPositionSideClear); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "side_view_position_mouse_cursor_reducer", "$get$side_view_position_mouse_cursor_reducer", () => { + var t1 = type$.nullable_Point_double, + t2 = A.TypedReducer$(A.app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure(), t1, type$.MousePositionSideUpdate), + t3 = A.TypedReducer$(A.app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure(), t1, type$.MousePositionSideClear); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray?(Point?,@)>")), t1); + }); + _lazy($, "color_picker_strand_reducer", "$get$color_picker_strand_reducer", () => { + var t1 = type$.nullable_Strand, + t2 = A.TypedReducer$(A.app_ui_state_reducer__color_picker_strand_show_reducer$closure(), t1, type$.StrandOrSubstrandColorPickerShow), + t3 = A.TypedReducer$(A.app_ui_state_reducer__color_picker_strand_hide_reducer$closure(), t1, type$.StrandOrSubstrandColorPickerHide); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "color_picker_substrand_reducer", "$get$color_picker_substrand_reducer", () => { + var t1 = type$.nullable_Substrand, + t2 = A.TypedReducer$(A.app_ui_state_reducer__color_picker_substrand_show_reducer$closure(), t1, type$.StrandOrSubstrandColorPickerShow), + t3 = A.TypedReducer$(A.app_ui_state_reducer__color_picker_substrand_hide_reducer$closure(), t1, type$.StrandOrSubstrandColorPickerHide); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "mouseover_datas_global_reducer", "$get$mouseover_datas_global_reducer", () => { + var t1 = type$.BuiltList_MouseoverData, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure(), t1, t2, type$.HelixRollSetAtOther), + t4 = A.TypedGlobalReducer$(A.mouseover_datas_reducer__mouseover_data_update_reducer$closure(), t1, t2, type$.MouseoverDataUpdate); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call()], A.findType("JSArray(BuiltList,AppState,@)>")), t1, t2); + }); + _lazy($, "context_menu_reducer", "$get$context_menu_reducer", () => { + var t1 = type$.nullable_ContextMenu, + t2 = A.TypedReducer$(A.context_menu_reducer__context_menu_show_reducer$closure(), t1, type$.ContextMenuShow), + t3 = A.TypedReducer$(A.context_menu_reducer__context_menu_hide_reducer$closure(), t1, type$.ContextMenuHide); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "design_whole_local_reducer", "$get$design_whole_local_reducer", () => { + var t1 = type$.nullable_Design, + t2 = A.TypedReducer$(A.design_reducer__design_error_message_set_reducer$closure(), t1, type$.ErrorMessageSet), + t3 = A.TypedReducer$(A.inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure(), t1, type$.InlineInsertionsDeletions), + t4 = A.TypedReducer$(A.design_reducer__new_design_set_reducer$closure(), t1, type$.NewDesignSet); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "design_whole_global_reducer", "$get$design_whole_global_reducer", () => { + var t1 = type$.nullable_Design, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.design_reducer__design_geometry_set_reducer$closure(), t1, t2, type$.GeometrySet), + t4 = A.TypedGlobalReducer$(A.helices_reducer__helix_idx_change_reducer$closure(), t1, t2, type$.HelixIdxsChange), + t5 = A.TypedGlobalReducer$(A.helices_reducer__helix_add_design_reducer$closure(), t1, t2, type$.HelixAdd), + t6 = A.TypedGlobalReducer$(A.helices_reducer__helix_remove_design_global_reducer$closure(), t1, t2, type$.HelixRemove), + t7 = A.TypedGlobalReducer$(A.helices_reducer__helix_remove_all_selected_design_global_reducer$closure(), t1, t2, type$.HelixRemoveAllSelected), + t8 = A.TypedGlobalReducer$(A.helix_group_move_reducer__helix_group_move_commit_global_reducer$closure(), t1, t2, type$.HelixGroupMoveCommit); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "dialog_reducer", "$get$dialog_reducer", () => { + var t1 = type$.nullable_Dialog, + t2 = A.TypedReducer$(A.dialog_reducer__dialog_show_reducer$closure(), t1, type$.DialogShow), + t3 = A.TypedReducer$(A.dialog_reducer__dialog_hide_reducer$closure(), t1, type$.DialogHide); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "optimized_dna_ends_move_reducer", "$get$optimized_dna_ends_move_reducer", () => A.combineReducers(A._setArrayType([$.$get$dna_ends_move_reducer()], A.findType("JSArray")), type$.nullable_DNAEndsMove)); + _lazy($, "dna_ends_move_reducer", "$get$dna_ends_move_reducer", () => { + var t1 = type$.nullable_DNAEndsMove, + t2 = A.TypedReducer$(A.dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure(), t1, type$.DNAEndsMoveSetSelectedEnds), + t3 = A.TypedReducer$(A.dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure(), t1, type$.DNAEndsMoveAdjustOffset), + t4 = A.TypedReducer$(A.dna_ends_move_reducer__dna_ends_move_stop_reducer$closure(), t1, type$.DNAEndsMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "optimized_dna_extensions_move_reducer", "$get$optimized_dna_extensions_move_reducer", () => A.combineReducers(A._setArrayType([$.$get$dna_extensions_move_reducer()], A.findType("JSArray")), type$.nullable_DNAExtensionsMove)); + _lazy($, "dna_extensions_move_reducer", "$get$dna_extensions_move_reducer", () => { + var t1 = type$.nullable_DNAExtensionsMove, + t2 = A.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure(), t1, type$.DNAExtensionsMoveSetSelectedExtensionEnds), + t3 = A.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure(), t1, type$.DNAExtensionsMoveAdjustPosition), + t4 = A.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure(), t1, type$.DNAExtensionsMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "domains_move_global_reducer", "$get$domains_move_global_reducer", () => { + var t1 = type$.nullable_DomainsMove, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.domains_move_reducer__domains_move_start_selected_domains_reducer$closure(), t1, t2, type$.DomainsMoveStartSelectedDomains), + t4 = A.TypedGlobalReducer$(A.domains_move_reducer__domains_adjust_address_reducer$closure(), t1, t2, type$.DomainsMoveAdjustAddress); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "domains_move_local_reducer", "$get$domains_move_local_reducer", () => { + var t1 = type$.nullable_DomainsMove, + t2 = A.TypedReducer$(A.domains_move_reducer__domains_move_stop_reducer$closure(), t1, type$.DomainsMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "edit_modes_reducer", "$get$edit_modes_reducer", () => { + var t1 = type$.BuiltSet_EditModeChoice, + t2 = A.TypedReducer$(A.edit_modes_reducer__toggle_edit_mode_reducer$closure(), t1, type$.EditModeToggle), + t3 = A.TypedReducer$(A.edit_modes_reducer__set_edit_modes_reducer$closure(), t1, type$.EditModesSet); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call()], A.findType("JSArray(BuiltSet,@)>")), t1); + }); + _lazy($, "groups_local_reducer", "$get$groups_local_reducer", () => { + var t1 = type$.BuiltMap_String_HelixGroup, + t2 = A.TypedReducer$(A.groups_reducer__group_add_reducer$closure(), t1, type$.GroupAdd), + t3 = A.TypedReducer$(A.groups_reducer__group_remove_reducer$closure(), t1, type$.GroupRemove), + t4 = A.TypedReducer$(A.groups_reducer__group_change_reducer$closure(), t1, type$.GroupChange), + t5 = A.TypedReducer$(A.groups_reducer__grid_change_reducer$closure(), t1, type$.GridChange); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], A.findType("JSArray(BuiltMap,@)>")), t1); + }); + _lazy($, "groups_global_reducer", "$get$groups_global_reducer", () => { + var t1 = type$.BuiltMap_String_HelixGroup, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.groups_reducer__move_helices_to_group_groups_reducer$closure(), t1, t2, type$.MoveHelicesToGroup); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call()], A.findType("JSArray(BuiltMap,AppState,@)>")), t1, t2); + }); + _lazy($, "helices_local_reducer", "$get$helices_local_reducer", () => { + var t1 = type$.BuiltMap_int_Helix, + t2 = A.TypedReducer$(A.helices_reducer__move_helices_to_group_helices_reducer$closure(), t1, type$.MoveHelicesToGroup), + t3 = A.TypedReducer$(A.helices_reducer__helix_major_tick_distance_change_all_reducer$closure(), t1, type$.HelixMajorTickDistanceChangeAll), + t4 = A.TypedReducer$(A.helices_reducer__helix_major_ticks_change_all_reducer$closure(), t1, type$.HelixMajorTicksChangeAll), + t5 = A.TypedReducer$(A.helices_reducer__helix_major_tick_start_change_all_reducer$closure(), t1, type$.HelixMajorTickStartChangeAll), + t6 = A.TypedReducer$(A.helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure(), t1, type$.HelixMajorTickPeriodicDistancesChangeAll); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], A.findType("JSArray(BuiltMap,@)>")), t1); + }); + _lazy($, "helices_global_reducer", "$get$helices_global_reducer", () => { + var t1 = type$.BuiltMap_int_Helix, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.helices_reducer__relax_helix_rolls_reducer$closure(), t1, t2, type$.RelaxHelixRolls), + t4 = A.TypedGlobalReducer$(A.helices_reducer__helix_group_change_reducer$closure(), t1, t2, type$.GroupChange), + t5 = A.TypedGlobalReducer$(A.helices_reducer__helix_grid_change_reducer$closure(), t1, t2, type$.GridChange), + t6 = A.TypedGlobalReducer$(A.helices_reducer__helix_grid_position_set_reducer$closure(), t1, t2, type$.HelixGridPositionSet), + t7 = A.TypedGlobalReducer$(A.helices_reducer__helix_position_set_reducer$closure(), t1, t2, type$.HelixPositionSet), + t8 = A.TypedGlobalReducer$(A.helices_reducer__helix_offset_change_all_reducer$closure(), t1, t2, type$.HelixOffsetChangeAll), + t9 = A.TypedGlobalReducer$(A.helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.HelixMinOffsetSetByDomainsAll), + t10 = A.TypedGlobalReducer$(A.helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.HelixMaxOffsetSetByDomainsAll), + t11 = A.TypedGlobalReducer$(A.helices_reducer__helix_individual_reducer$closure(), t1, t2, type$.HelixIndividualAction), + t12 = A.TypedGlobalReducer$(A.helices_reducer__helix_roll_set_at_other_reducer$closure(), t1, t2, type$.HelixRollSetAtOther), + t13 = A.TypedGlobalReducer$(A.helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure(), t1, t2, type$.HelixMaxOffsetSetByDomainsAllSameMax), + t14 = A.TypedGlobalReducer$(A.helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure(), t1, t2, type$.StrandsMoveAdjustAddress), + t15 = A.TypedGlobalReducer$(A.helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure(), t1, t2, type$.StrandCreateAdjustOffset), + t16 = A.TypedGlobalReducer$(A.helices_reducer__first_replace_strands_reducer$closure(), t1, t2, type$.ReplaceStrands), + t17 = A.TypedGlobalReducer$(A.helices_reducer__reset_helices_offsets_after_selections_clear$closure(), t1, t2, type$.SelectionsClear); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call()], A.findType("JSArray(BuiltMap,AppState,@)>")), t1, t2); + }); + _lazy($, "_helix_individual_reducers", "$get$_helix_individual_reducers", () => { + var t1 = type$.Helix, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.helices_reducer__helix_offset_change_reducer$closure(), t1, t2, type$.HelixOffsetChange), + t4 = A.TypedGlobalReducer$(A.helices_reducer__helix_min_offset_set_by_domains_reducer$closure(), t1, t2, type$.HelixMinOffsetSetByDomains), + t5 = A.TypedGlobalReducer$(A.helices_reducer__helix_max_offset_set_by_domains_reducer$closure(), t1, t2, type$.HelixMaxOffsetSetByDomains), + t6 = A.TypedGlobalReducer$(A.helices_reducer__helix_major_tick_distance_change_reducer$closure(), t1, t2, type$.HelixMajorTickDistanceChange), + t7 = A.TypedGlobalReducer$(A.helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure(), t1, t2, type$.HelixMajorTickPeriodicDistancesChange), + t8 = A.TypedGlobalReducer$(A.helices_reducer__helix_major_tick_start_change_reducer$closure(), t1, t2, type$.HelixMajorTickStartChange), + t9 = A.TypedGlobalReducer$(A.helices_reducer__helix_major_ticks_change_reducer$closure(), t1, t2, type$.HelixMajorTicksChange), + t10 = A.TypedGlobalReducer$(A.helices_reducer__helix_roll_set_reducer$closure(), t1, t2, type$.HelixRollSet); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "optimized_helix_group_move_reducer", "$get$optimized_helix_group_move_reducer", () => { + var t1 = type$.nullable_HelixGroupMove, + t2 = A.TypedReducer$(A.helix_group_move_reducer__helix_group_move_create_translation_reducer$closure(), t1, type$.HelixGroupMoveCreate), + t3 = A.TypedReducer$(A.helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure(), t1, type$.HelixGroupMoveAdjustTranslation), + t4 = A.TypedReducer$(A.helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure(), t1, type$.HelixGroupMoveStop); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "insertion_deletion_domain_reducer", "$get$insertion_deletion_domain_reducer", () => { + var t1 = type$.Domain, + t2 = A.TypedReducer$(A.insertion_deletion_reducer__insertion_add_reducer$closure(), t1, type$.InsertionAdd), + t3 = A.TypedReducer$(A.insertion_deletion_reducer__insertion_remove_reducer$closure(), t1, type$.InsertionRemove), + t4 = A.TypedReducer$(A.insertion_deletion_reducer__deletion_add_reducer$closure(), t1, type$.DeletionAdd), + t5 = A.TypedReducer$(A.insertion_deletion_reducer__deletion_remove_reducer$closure(), t1, type$.DeletionRemove), + t6 = A.TypedReducer$(A.insertion_deletion_reducer__insertion_length_change_reducer$closure(), t1, type$.InsertionLengthChange); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "hline", "$get$hline", () => B.JSString_methods.$mul("*", 100)); + _lazy($, "optimized_potential_crossover_reducer", "$get$optimized_potential_crossover_reducer", () => $.$get$potential_crossover_reducer()); + _lazy($, "potential_crossover_reducer", "$get$potential_crossover_reducer", () => { + var t1 = type$.nullable_PotentialCrossover, + t2 = A.TypedReducer$(A.potential_crossover_reducer__potential_crossover_create_reducer$closure(), t1, type$.PotentialCrossoverCreate), + t3 = A.TypedReducer$(A.potential_crossover_reducer__potential_crossover_move_reducer$closure(), t1, type$.PotentialCrossoverMove), + t4 = A.TypedReducer$(A.potential_crossover_reducer__potential_crossover_remove_reducer$closure(), t1, type$.PotentialCrossoverRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "select_mode_state_reducer", "$get$select_mode_state_reducer", () => { + var t1 = type$.SelectModeState, + t2 = A.TypedReducer$(A.select_mode_state_reducer__toggle_select_mode_reducer$closure(), t1, type$.SelectModeToggle), + t3 = A.TypedReducer$(A.select_mode_state_reducer__set_select_modes_reducer$closure(), t1, type$.SelectModesSet), + t4 = A.TypedReducer$(A.select_mode_state_reducer__add_select_modes_reducer$closure(), t1, type$.SelectModesAdd); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "selectables_store_global_reducer", "$get$selectables_store_global_reducer", () => { + var t1 = type$.SelectablesStore, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.selection_reducer__select_reducer$closure(), t1, t2, type$.Select), + t4 = A.TypedGlobalReducer$(A.selection_reducer__select_or_toggle_items_reducer$closure(), t1, t2, type$.SelectOrToggleItems), + t5 = A.TypedGlobalReducer$(A.selection_reducer__select_all_selectables_reducer$closure(), t1, t2, type$.SelectAllSelectable), + t6 = A.TypedGlobalReducer$(A.selection_reducer__select_all_with_same_reducer$closure(), t1, t2, type$.SelectAllStrandsWithSameAsSelected); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "selectables_store_local_reducer", "$get$selectables_store_local_reducer", () => { + var t1 = type$.SelectablesStore, + t2 = A.TypedReducer$(A.selection_reducer__select_all_reducer$closure(), t1, type$.SelectAll), + t3 = A.TypedReducer$(A.selection_reducer__selections_clear_reducer$closure(), t1, type$.SelectionsClear), + t4 = A.TypedReducer$(A.selection_reducer__design_changing_action_reducer$closure(), t1, type$.DesignChangingAction), + t5 = A.TypedReducer$(A.selection_reducer__selections_clear_reducer$closure(), t1, type$.SelectModeToggle), + t6 = A.TypedReducer$(A.selection_reducer__selections_clear_reducer$closure(), t1, type$.SelectModesSet), + t7 = A.TypedReducer$(A.selection_reducer__selections_clear_reducer$closure(), t1, type$.SelectModesAdd); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "side_selected_helices_global_reducer", "$get$side_selected_helices_global_reducer", () => { + var t1 = type$.BuiltSet_int, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.selection_reducer__helix_selections_adjust_reducer$closure(), t1, t2, type$.HelixSelectionsAdjust); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call()], A.findType("JSArray(BuiltSet,AppState,@)>")), t1, t2); + }); + _lazy($, "side_selected_helices_reducer", "$get$side_selected_helices_reducer", () => { + var t1 = type$.BuiltSet_int, + t2 = A.TypedReducer$(A.selection_reducer__helix_select_reducer$closure(), t1, type$.HelixSelect), + t3 = A.TypedReducer$(A.selection_reducer__helices_selected_clear_reducer$closure(), t1, type$.HelixSelectionsClear), + t4 = A.TypedReducer$(A.selection_reducer__helices_remove_all_selected_reducer$closure(), t1, type$.HelixRemoveAllSelected), + t5 = A.TypedReducer$(A.selection_reducer__helix_remove_selected_reducer$closure(), t1, type$.HelixRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], A.findType("JSArray(BuiltSet,@)>")), t1); + }); + _lazy($, "optimized_selection_box_reducer", "$get$optimized_selection_box_reducer", () => $.$get$selection_box_reducer()); + _lazy($, "selection_box_reducer", "$get$selection_box_reducer", () => { + var t1 = type$.nullable_SelectionBox, + t2 = A.TypedReducer$(A.selection_reducer__selection_box_create_reducer$closure(), t1, type$.SelectionBoxCreate), + t3 = A.TypedReducer$(A.selection_reducer__selection_box_size_changed_reducer$closure(), t1, type$.SelectionBoxSizeChange), + t4 = A.TypedReducer$(A.selection_reducer__selection_box_remove_reducer$closure(), t1, type$.SelectionBoxRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "optimized_selection_rope_reducer", "$get$optimized_selection_rope_reducer", () => $.$get$selection_rope_reducer()); + _lazy($, "selection_rope_reducer", "$get$selection_rope_reducer", () => { + var t1 = type$.nullable_SelectionRope, + t2 = A.TypedReducer$(A.selection_reducer__selection_rope_create_reducer$closure(), t1, type$.SelectionRopeCreate), + t3 = A.TypedReducer$(A.selection_reducer__selection_rope_mouse_move_reducer$closure(), t1, type$.SelectionRopeMouseMove), + t4 = A.TypedReducer$(A.selection_reducer__selection_rope_add_point_reducer$closure(), t1, type$.SelectionRopeAddPoint), + t5 = A.TypedReducer$(A.selection_reducer__selection_rope_remove_reducer$closure(), t1, type$.SelectionRopeRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "strand_creation_global_reducer", "$get$strand_creation_global_reducer", () => { + var t1 = type$.nullable_StrandCreation, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.strand_creation_reducer__strand_create_start_reducer$closure(), t1, t2, type$.StrandCreateStart), + t4 = A.TypedGlobalReducer$(A.strand_creation_reducer__strand_create_adjust_offset_reducer$closure(), t1, t2, type$.StrandCreateAdjustOffset), + t5 = A.TypedGlobalReducer$(A.strand_creation_reducer__strand_create_stop_reducer$closure(), t1, t2, type$.StrandCreateStop); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "copy_info_global_reducer", "$get$copy_info_global_reducer", () => { + var t1 = type$.nullable_CopyInfo, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.strands_copy_info_reducer__copy_selected_strands_reducer$closure(), t1, t2, type$.CopySelectedStrands), + t4 = A.TypedGlobalReducer$(A.strands_copy_info_reducer__manual_paste_initiate_reducer$closure(), t1, t2, type$.ManualPasteInitiate), + t5 = A.TypedGlobalReducer$(A.strands_copy_info_reducer__autopaste_initiate_reducer$closure(), t1, t2, type$.AutoPasteInitiate), + t6 = A.TypedGlobalReducer$(A.strands_copy_info_reducer__manual_paste_copy_info_reducer$closure(), t1, t2, type$.StrandsMoveCommit); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "strands_move_global_reducer", "$get$strands_move_global_reducer", () => { + var t1 = type$.nullable_StrandsMove, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.strands_move_reducer__strands_move_start_reducer$closure(), t1, t2, type$.StrandsMoveStart), + t4 = A.TypedGlobalReducer$(A.strands_move_reducer__strands_move_start_selected_strands_reducer$closure(), t1, t2, type$.StrandsMoveStartSelectedStrands), + t5 = A.TypedGlobalReducer$(A.strands_move_reducer__strands_adjust_address_reducer$closure(), t1, t2, type$.StrandsMoveAdjustAddress); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call()], A.findType("JSArray")), t1, t2); + }); + _lazy($, "strands_move_local_reducer", "$get$strands_move_local_reducer", () => { + var t1 = A.TypedReducer$(A.strands_move_reducer__strands_move_stop_reducer$closure(), type$.nullable_StrandsMove, type$.StrandsMoveStop); + return t1.get$$call(); + }); + _lazy($, "strands_local_reducer", "$get$strands_local_reducer", () => { + var t1 = type$.BuiltList_Strand, + t2 = A.TypedReducer$(A.assign_or_remove_dna_reducer__remove_dna_reducer$closure(), t1, type$.RemoveDNA), + t3 = A.TypedReducer$(A.strands_reducer__replace_strands_reducer$closure(), t1, type$.ReplaceStrands), + t4 = A.TypedReducer$(A.strands_reducer__strands_single_strand_reducer$closure(), t1, type$.SingleStrandAction); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray(BuiltList,@)>")), t1); + }); + _lazy($, "strands_global_reducer", "$get$strands_global_reducer", () => { + var t1 = type$.BuiltList_Strand, + t2 = type$.AppState, + t3 = A.TypedGlobalReducer$(A.assign_or_remove_dna_reducer__assign_dna_reducer$closure(), t1, t2, type$.AssignDNA), + t4 = A.TypedGlobalReducer$(A.assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure(), t1, t2, type$.AssignDomainNameComplementFromBoundStrands), + t5 = A.TypedGlobalReducer$(A.assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure(), t1, t2, type$.AssignDomainNameComplementFromBoundDomains), + t6 = A.TypedGlobalReducer$(A.assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure(), t1, t2, type$.AssignDNAComplementFromBoundStrands), + t7 = A.TypedGlobalReducer$(A.strands_reducer__strands_move_commit_reducer$closure(), t1, t2, type$.StrandsMoveCommit), + t8 = A.TypedGlobalReducer$(A.strands_reducer__domains_move_commit_reducer$closure(), t1, t2, type$.DomainsMoveCommit), + t9 = A.TypedGlobalReducer$(A.strands_reducer__strands_dna_ends_move_commit_reducer$closure(), t1, t2, type$.DNAEndsMoveCommit), + t10 = A.TypedGlobalReducer$(A.strands_reducer__strands_dna_extensions_move_commit_reducer$closure(), t1, t2, type$.DNAExtensionsMoveCommit), + t11 = A.TypedGlobalReducer$(A.strands_reducer__strands_part_reducer$closure(), t1, t2, type$.StrandPartAction), + t12 = A.TypedGlobalReducer$(A.strands_reducer__strand_create$closure(), t1, t2, type$.StrandCreateCommit), + t13 = A.TypedGlobalReducer$(A.delete_reducer__delete_all_reducer$closure(), t1, t2, type$.DeleteAllSelected), + t14 = A.TypedGlobalReducer$(A.nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure(), t1, t2, type$.MoveLinker), + t15 = A.TypedGlobalReducer$(A.nick_ligate_join_by_crossover_reducers__nick_reducer$closure(), t1, t2, type$.Nick), + t16 = A.TypedGlobalReducer$(A.nick_ligate_join_by_crossover_reducers__ligate_reducer$closure(), t1, t2, type$.Ligate), + t17 = A.TypedGlobalReducer$(A.nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure(), t1, t2, type$.JoinStrandsByCrossover), + t18 = A.TypedGlobalReducer$(A.nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure(), t1, t2, type$.JoinStrandsByMultipleCrossovers), + t19 = A.TypedGlobalReducer$(A.change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure(), t1, t2, type$.ConvertCrossoversToLoopouts), + t20 = A.TypedGlobalReducer$(A.change_loopout_ext_properties__loopouts_length_change_reducer$closure(), t1, t2, type$.LoopoutsLengthChange), + t21 = A.TypedGlobalReducer$(A.change_loopout_ext_properties__extensions_num_bases_change_reducer$closure(), t1, t2, type$.ExtensionsNumBasesChange), + t22 = A.TypedGlobalReducer$(A.insertion_deletion_reducer__insertions_length_change_reducer$closure(), t1, t2, type$.InsertionsLengthChange), + t23 = A.TypedGlobalReducer$(A.strands_reducer__modifications_5p_edit_reducer$closure(), t1, t2, type$.Modifications5PrimeEdit), + t24 = A.TypedGlobalReducer$(A.strands_reducer__modifications_3p_edit_reducer$closure(), t1, t2, type$.Modifications3PrimeEdit), + t25 = A.TypedGlobalReducer$(A.strands_reducer__modifications_int_edit_reducer$closure(), t1, t2, type$.ModificationsInternalEdit); + return A.combineGlobalReducers(A._setArrayType([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call(), t18.get$$call(), t19.get$$call(), t20.get$$call(), t21.get$$call(), t22.get$$call(), t23.get$$call(), t24.get$$call(), t25.get$$call()], A.findType("JSArray(BuiltList,AppState,@)>")), t1, t2); + }); + _lazy($, "strand_part_reducer", "$get$strand_part_reducer", () => { + var t1 = type$.Strand, + t2 = A.TypedReducer$(A.change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure(), t1, type$.ConvertCrossoverToLoopout), + t3 = A.TypedReducer$(A.change_loopout_ext_properties__loopout_length_change_reducer$closure(), t1, type$.LoopoutLengthChange), + t4 = A.TypedReducer$(A.change_loopout_ext_properties__extension_num_bases_change_reducer$closure(), t1, type$.ExtensionNumBasesChange), + t5 = A.TypedReducer$(A.change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure(), t1, type$.ExtensionDisplayLengthAngleSet), + t6 = A.TypedReducer$(A.insertion_deletion_reducer__insertion_deletion_reducer$closure(), t1, type$.InsertionOrDeletionAction), + t7 = A.TypedReducer$(A.strands_reducer__substrand_name_set_reducer$closure(), t1, type$.SubstrandNameSet), + t8 = A.TypedReducer$(A.strands_reducer__substrand_label_set_reducer$closure(), t1, type$.SubstrandLabelSet); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "single_strand_reducer", "$get$single_strand_reducer", () => { + var t1 = type$.Strand, + t2 = A.TypedReducer$(A.strands_reducer__scaffold_set_reducer$closure(), t1, type$.ScaffoldSet), + t3 = A.TypedReducer$(A.strands_reducer__strand_or_substrand_color_set_reducer$closure(), t1, type$.StrandOrSubstrandColorSet), + t4 = A.TypedReducer$(A.strands_reducer__modification_add_reducer$closure(), t1, type$.ModificationAdd), + t5 = A.TypedReducer$(A.strands_reducer__extension_add_reducer$closure(), t1, type$.ExtensionAdd), + t6 = A.TypedReducer$(A.strands_reducer__modification_remove_reducer$closure(), t1, type$.ModificationRemove), + t7 = A.TypedReducer$(A.strands_reducer__modification_edit_reducer$closure(), t1, type$.ModificationEdit), + t8 = A.TypedReducer$(A.strands_reducer__strand_name_set_reducer$closure(), t1, type$.StrandNameSet), + t9 = A.TypedReducer$(A.strands_reducer__strand_label_set_reducer$closure(), t1, type$.StrandLabelSet), + t10 = A.TypedReducer$(A.strands_reducer__scale_purification_vendor_fields_assign_reducer$closure(), t1, type$.ScalePurificationVendorFieldsAssign), + t11 = A.TypedReducer$(A.strands_reducer__plate_well_vendor_fields_assign_reducer$closure(), t1, type$.PlateWellVendorFieldsAssign), + t12 = A.TypedReducer$(A.strands_reducer__plate_well_vendor_fields_remove_reducer$closure(), t1, type$.PlateWellVendorFieldsRemove), + t13 = A.TypedReducer$(A.strands_reducer__vendor_fields_remove_reducer$closure(), t1, type$.VendorFieldsRemove); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "undo_redo_reducer", "$get$undo_redo_reducer", () => { + var t1 = type$.AppState, + t2 = A.TypedReducer$(A.undo_redo_reducer__undo_reducer$closure(), t1, type$.Undo), + t3 = A.TypedReducer$(A.undo_redo_reducer__redo_reducer$closure(), t1, type$.Redo), + t4 = A.TypedReducer$(A.undo_redo_reducer__undo_redo_clear_reducer$closure(), t1, type$.UndoRedoClear); + return A.combineReducers(A._setArrayType([t2.get$$call(), t3.get$$call(), t4.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "undoable_action_reducer", "$get$undoable_action_reducer", () => { + var t1 = type$.AppState, + t2 = A.TypedReducer$(A.undo_redo_reducer__undoable_action_typed_reducer$closure(), t1, type$.UndoableAction); + return A.combineReducers(A._setArrayType([t2.get$$call()], A.findType("JSArray")), t1); + }); + _lazy($, "serializers", "$get$serializers", () => $.$get$_$serializers()); + _lazy($, "standard_serializers", "$get$standard_serializers", () => { var t1 = $.$get$serializers().toBuilder$0(), - t2 = type$.legacy_Type; - t1.add$1(0, new K.PointSerializer(D.BuiltList_BuiltList([C.Type_Point_Yua], t2), H.findType("PointSerializer"))); - t1.add$1(0, new K.ColorSerializer(D.BuiltList_BuiltList([C.Type_Color_w6F], t2))); - t1._plugins.add$1(0, new T.StandardJsonPlugin()); - t1.addBuilderFactory$2(C.FullType_vFp, new K.standard_serializers_closure()); + t2 = type$.Type; + t1.add$1(0, new A.PointSerializer(A.BuiltList_BuiltList([B.Type_Point_Yua], t2), A.findType("PointSerializer"))); + t1.add$1(0, new A.ColorSerializer(A.BuiltList_BuiltList([B.Type_Color_w6F], t2))); + t1._plugins.add$1(0, new A.StandardJsonPlugin()); + t1.addBuilderFactory$2(B.FullType_vFp, new A.standard_serializers_closure()); return t1.build$0(); }); - _lazyOld($, "_$serializers", "$get$_$serializers", function() { - var t1 = U.Serializers_Serializers().toBuilder$0(); + _lazy($, "_$serializers", "$get$_$serializers", () => { + var t1 = A.Serializers_Serializers().toBuilder$0(); t1.add$1(0, $.$get$_$addressSerializer()); t1.add$1(0, $.$get$_$addressDifferenceSerializer()); t1.add$1(0, $.$get$_$appUIStateSerializer()); @@ -161614,7 +162619,7 @@ t1.add$1(0, $.$get$_$selectSerializer()); t1.add$1(0, $.$get$_$selectAllSerializer()); t1.add$1(0, $.$get$_$selectAllSelectableSerializer()); - t1.add$1(0, $.$get$_$selectAllWithSameAsSelectedSerializer()); + t1.add$1(0, $.$get$_$selectAllStrandsWithSameAsSelectedSerializer()); t1.add$1(0, $.$get$_$selectModeChoiceSerializer()); t1.add$1(0, $.$get$_$selectModeStateSerializer()); t1.add$1(0, $.$get$_$selectModeToggleSerializer()); @@ -161705,694 +162710,291 @@ t1.add$1(0, $.$get$_$vendorFieldsRemoveSerializer()); t1.add$1(0, $.$get$_$warnOnExitIfUnsavedSetSerializer()); t1.add$1(0, $.$get$_$zoomSpeedSetSerializer()); - t1.addBuilderFactory$2(C.FullType_91n, new K._$serializers_closure()); - t1.addBuilderFactory$2(C.FullType_91n, new K._$serializers_closure0()); - t1.addBuilderFactory$2(C.FullType_EOY, new K._$serializers_closure1()); - t1.addBuilderFactory$2(C.FullType_TgZ, new K._$serializers_closure2()); - t1.addBuilderFactory$2(C.FullType_TgZ, new K._$serializers_closure3()); - t1.addBuilderFactory$2(C.FullType_Y8O, new K._$serializers_closure4()); - t1.addBuilderFactory$2(C.FullType_j5B, new K._$serializers_closure5()); - t1.addBuilderFactory$2(C.FullType_j5B, new K._$serializers_closure6()); - t1.addBuilderFactory$2(C.FullType_Y8O, new K._$serializers_closure7()); - t1.addBuilderFactory$2(C.FullType_UGn, new K._$serializers_closure8()); - t1.addBuilderFactory$2(C.FullType_UWS, new K._$serializers_closure9()); - t1.addBuilderFactory$2(C.FullType_4QF, new K._$serializers_closure10()); - t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure11()); - t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure12()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure13()); - t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure14()); - t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure15()); - t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure16()); - t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure17()); - t1.addBuilderFactory$2(C.FullType_m48, new K._$serializers_closure18()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure19()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure20()); - t1.addBuilderFactory$2(C.FullType_gg4, new K._$serializers_closure21()); - t1.addBuilderFactory$2(C.FullType_i7r, new K._$serializers_closure22()); - t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure23()); - t1.addBuilderFactory$2(C.FullType_H9I, new K._$serializers_closure24()); - t1.addBuilderFactory$2(C.FullType_yLX, new K._$serializers_closure25()); - t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure26()); - t1.addBuilderFactory$2(C.FullType_AFm, new K._$serializers_closure27()); - t1.addBuilderFactory$2(C.FullType_EyI, new K._$serializers_closure28()); - t1.addBuilderFactory$2(C.FullType_AgZ, new K._$serializers_closure29()); - t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure30()); - t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure31()); - t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure32()); - t1.addBuilderFactory$2(C.FullType_mPa, new K._$serializers_closure33()); - t1.addBuilderFactory$2(C.FullType_SGU, new K._$serializers_closure34()); - t1.addBuilderFactory$2(C.FullType_SGU0, new K._$serializers_closure35()); - t1.addBuilderFactory$2(C.FullType_Gat, new K._$serializers_closure36()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure37()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure38()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure39()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure40()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure41()); - t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure42()); - t1.addBuilderFactory$2(C.FullType_m48, new K._$serializers_closure43()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure44()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure45()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure46()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure47()); - t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure48()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure49()); - t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure50()); - t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure51()); - t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure52()); - t1.addBuilderFactory$2(C.FullType_3HJ, new K._$serializers_closure53()); - t1.addBuilderFactory$2(C.FullType_d1y, new K._$serializers_closure54()); - t1.addBuilderFactory$2(C.FullType_YGD, new K._$serializers_closure55()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure56()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure57()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure58()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure59()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure60()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure61()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure62()); - t1.addBuilderFactory$2(C.FullType_i7r, new K._$serializers_closure63()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure64()); - t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure65()); - t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure66()); - t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure67()); - t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure68()); - t1.addBuilderFactory$2(C.FullType_vpC, new K._$serializers_closure69()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure70()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure71()); - t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure72()); - t1.addBuilderFactory$2(C.FullType_kiE, new K._$serializers_closure73()); - t1.addBuilderFactory$2(C.FullType_kiE, new K._$serializers_closure74()); - t1.addBuilderFactory$2(C.FullType_MQk, new K._$serializers_closure75()); - t1.addBuilderFactory$2(C.FullType_2aQ, new K._$serializers_closure76()); - t1.addBuilderFactory$2(C.FullType_2aQ, new K._$serializers_closure77()); - t1.addBuilderFactory$2(C.FullType_zrt, new K._$serializers_closure78()); - t1.addBuilderFactory$2(C.FullType_Mnt, new K._$serializers_closure79()); - t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure80()); + t1.addBuilderFactory$2(B.FullType_91n, new A._$serializers_closure()); + t1.addBuilderFactory$2(B.FullType_91n, new A._$serializers_closure0()); + t1.addBuilderFactory$2(B.FullType_EOY, new A._$serializers_closure1()); + t1.addBuilderFactory$2(B.FullType_TgZ, new A._$serializers_closure2()); + t1.addBuilderFactory$2(B.FullType_TgZ, new A._$serializers_closure3()); + t1.addBuilderFactory$2(B.FullType_Y8O, new A._$serializers_closure4()); + t1.addBuilderFactory$2(B.FullType_j5B, new A._$serializers_closure5()); + t1.addBuilderFactory$2(B.FullType_j5B, new A._$serializers_closure6()); + t1.addBuilderFactory$2(B.FullType_Y8O, new A._$serializers_closure7()); + t1.addBuilderFactory$2(B.FullType_UGn, new A._$serializers_closure8()); + t1.addBuilderFactory$2(B.FullType_UWS, new A._$serializers_closure9()); + t1.addBuilderFactory$2(B.FullType_4QF, new A._$serializers_closure10()); + t1.addBuilderFactory$2(B.FullType_i3t, new A._$serializers_closure11()); + t1.addBuilderFactory$2(B.FullType_i3t, new A._$serializers_closure12()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure13()); + t1.addBuilderFactory$2(B.FullType_dli, new A._$serializers_closure14()); + t1.addBuilderFactory$2(B.FullType_dli, new A._$serializers_closure15()); + t1.addBuilderFactory$2(B.FullType_dli, new A._$serializers_closure16()); + t1.addBuilderFactory$2(B.FullType_Qc0, new A._$serializers_closure17()); + t1.addBuilderFactory$2(B.FullType_m48, new A._$serializers_closure18()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure19()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure20()); + t1.addBuilderFactory$2(B.FullType_gg4, new A._$serializers_closure21()); + t1.addBuilderFactory$2(B.FullType_i7r, new A._$serializers_closure22()); + t1.addBuilderFactory$2(B.FullType_dli, new A._$serializers_closure23()); + t1.addBuilderFactory$2(B.FullType_H9I, new A._$serializers_closure24()); + t1.addBuilderFactory$2(B.FullType_yLX, new A._$serializers_closure25()); + t1.addBuilderFactory$2(B.FullType_i3t, new A._$serializers_closure26()); + t1.addBuilderFactory$2(B.FullType_AFm, new A._$serializers_closure27()); + t1.addBuilderFactory$2(B.FullType_cGo, new A._$serializers_closure28()); + t1.addBuilderFactory$2(B.FullType_AgZ, new A._$serializers_closure29()); + t1.addBuilderFactory$2(B.FullType_ox4, new A._$serializers_closure30()); + t1.addBuilderFactory$2(B.FullType_ox4, new A._$serializers_closure31()); + t1.addBuilderFactory$2(B.FullType_SGU, new A._$serializers_closure32()); + t1.addBuilderFactory$2(B.FullType_SGU0, new A._$serializers_closure33()); + t1.addBuilderFactory$2(B.FullType_Gat, new A._$serializers_closure34()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure35()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure36()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure37()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure38()); + t1.addBuilderFactory$2(B.FullType_mPa, new A._$serializers_closure39()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure40()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure41()); + t1.addBuilderFactory$2(B.FullType_Qc0, new A._$serializers_closure42()); + t1.addBuilderFactory$2(B.FullType_m48, new A._$serializers_closure43()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure44()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure45()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure46()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure47()); + t1.addBuilderFactory$2(B.FullType_2No, new A._$serializers_closure48()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure49()); + t1.addBuilderFactory$2(B.FullType_6m4, new A._$serializers_closure50()); + t1.addBuilderFactory$2(B.FullType_6m4, new A._$serializers_closure51()); + t1.addBuilderFactory$2(B.FullType_6m4, new A._$serializers_closure52()); + t1.addBuilderFactory$2(B.FullType_3HJ, new A._$serializers_closure53()); + t1.addBuilderFactory$2(B.FullType_d1y, new A._$serializers_closure54()); + t1.addBuilderFactory$2(B.FullType_YGD, new A._$serializers_closure55()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure56()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure57()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure58()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure59()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure60()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure61()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure62()); + t1.addBuilderFactory$2(B.FullType_i7r, new A._$serializers_closure63()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure64()); + t1.addBuilderFactory$2(B.FullType_4QF0, new A._$serializers_closure65()); + t1.addBuilderFactory$2(B.FullType_Qc0, new A._$serializers_closure66()); + t1.addBuilderFactory$2(B.FullType_vpC, new A._$serializers_closure67()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure68()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure69()); + t1.addBuilderFactory$2(B.FullType_oyU, new A._$serializers_closure70()); + t1.addBuilderFactory$2(B.FullType_kiE, new A._$serializers_closure71()); + t1.addBuilderFactory$2(B.FullType_kiE, new A._$serializers_closure72()); + t1.addBuilderFactory$2(B.FullType_MQk, new A._$serializers_closure73()); + t1.addBuilderFactory$2(B.FullType_2aQ, new A._$serializers_closure74()); + t1.addBuilderFactory$2(B.FullType_2aQ, new A._$serializers_closure75()); + t1.addBuilderFactory$2(B.FullType_zrt, new A._$serializers_closure76()); + t1.addBuilderFactory$2(B.FullType_Mnt, new A._$serializers_closure77()); return t1.build$0(); }); - _lazyOld($, "_$addressSerializer", "$get$_$addressSerializer", function() { - return new Z._$AddressSerializer(); - }); - _lazyOld($, "_$addressDifferenceSerializer", "$get$_$addressDifferenceSerializer", function() { - return new Z._$AddressDifferenceSerializer(); - }); - _lazyOld($, "DEFAULT_AppState", "$get$DEFAULT_AppState", function() { - return T.AppStateBuilder$().build$0(); - }); - _lazyOld($, "DEFAULT_AppUIState", "$get$DEFAULT_AppUIState", function() { - return Q.AppUIStateBuilder$().build$0(); - }); - _lazyOld($, "_$appUIStateSerializer", "$get$_$appUIStateSerializer", function() { - return new Q._$AppUIStateSerializer(); - }); - _lazyOld($, "DEFAULT_AppUIStateStorable", "$get$DEFAULT_AppUIStateStorable", function() { - return B.AppUIStateStorablesBuilder$().build$0(); - }); - _lazyOld($, "_$appUIStateStorablesSerializer", "$get$_$appUIStateStorablesSerializer", function() { - return new B._$AppUIStateStorablesSerializer(); - }); - _lazyOld($, "BasePairDisplayType_types", "$get$BasePairDisplayType_types", function() { - return D.BuiltListIterableExtension_toBuiltList(C.List_KxA, type$.legacy_BasePairDisplayType); - }); - _lazyOld($, "_$basePairDisplayTypeSerializer", "$get$_$basePairDisplayTypeSerializer", function() { - return new L._$BasePairDisplayTypeSerializer(); - }); - _lazyOld($, "_$contextMenuSerializer", "$get$_$contextMenuSerializer", function() { - return new B._$ContextMenuSerializer(); - }); - _lazyOld($, "_$contextMenuItemSerializer", "$get$_$contextMenuItemSerializer", function() { - return new B._$ContextMenuItemSerializer(); - }); - _lazyOld($, "_$copyInfoSerializer", "$get$_$copyInfoSerializer", function() { - return new B._$CopyInfoSerializer(); - }); - _lazyOld($, "_$crossoverSerializer", "$get$_$crossoverSerializer", function() { - return new T._$CrossoverSerializer(); - }); - _lazyOld($, "_wc_table", "$get$_wc_table", function() { - var t1 = type$.legacy_int; - return P.LinkedHashMap_LinkedHashMap$_literal([65, 84, 84, 65, 71, 67, 67, 71, 97, 116, 116, 97, 103, 99, 99, 103], t1, t1); - }); - _lazyOld($, "_$designSideRotationParamsSerializer", "$get$_$designSideRotationParamsSerializer", function() { - return new V._$DesignSideRotationParamsSerializer(); - }); - _lazyOld($, "_$designSideRotationDataSerializer", "$get$_$designSideRotationDataSerializer", function() { - return new V._$DesignSideRotationDataSerializer(); - }); - _lazyOld($, "_$dialogTypeSerializer", "$get$_$dialogTypeSerializer", function() { - return new E._$DialogTypeSerializer(); - }); - _lazyOld($, "_$dialogSerializer", "$get$_$dialogSerializer", function() { - return new E._$DialogSerializer(); - }); - _lazyOld($, "_$dialogIntegerSerializer", "$get$_$dialogIntegerSerializer", function() { - return new E._$DialogIntegerSerializer(); - }); - _lazyOld($, "_$dialogFloatSerializer", "$get$_$dialogFloatSerializer", function() { - return new E._$DialogFloatSerializer(); - }); - _lazyOld($, "_$dialogTextSerializer", "$get$_$dialogTextSerializer", function() { - return new E._$DialogTextSerializer(); - }); - _lazyOld($, "_$dialogTextAreaSerializer", "$get$_$dialogTextAreaSerializer", function() { - return new E._$DialogTextAreaSerializer(); - }); - _lazyOld($, "_$dialogCheckboxSerializer", "$get$_$dialogCheckboxSerializer", function() { - return new E._$DialogCheckboxSerializer(); - }); - _lazyOld($, "_$dialogRadioSerializer", "$get$_$dialogRadioSerializer", function() { - return new E._$DialogRadioSerializer(); - }); - _lazyOld($, "_$dialogLinkSerializer", "$get$_$dialogLinkSerializer", function() { - return new E._$DialogLinkSerializer(); - }); - _lazyOld($, "DEFAULT_dna_assign_options_builder", "$get$DEFAULT_dna_assign_options_builder", function() { - return X.DNAAssignOptionsBuilder$(); - }); - _lazyOld($, "_$dNAAssignOptionsSerializer", "$get$_$dNAAssignOptionsSerializer", function() { - return new X._$DNAAssignOptionsSerializer(); - }); - _lazyOld($, "_$dNAEndSerializer", "$get$_$dNAEndSerializer", function() { - return new Z._$DNAEndSerializer(); - }); - _lazyOld($, "_$dNAEndsMoveSerializer", "$get$_$dNAEndsMoveSerializer", function() { - return new B._$DNAEndsMoveSerializer(); - }); - _lazyOld($, "_$dNAEndMoveSerializer", "$get$_$dNAEndMoveSerializer", function() { - return new B._$DNAEndMoveSerializer(); - }); - _lazyOld($, "_$dNAExtensionsMoveSerializer", "$get$_$dNAExtensionsMoveSerializer", function() { - return new K._$DNAExtensionsMoveSerializer(); - }); - _lazyOld($, "_$dNAExtensionMoveSerializer", "$get$_$dNAExtensionMoveSerializer", function() { - return new K._$DNAExtensionMoveSerializer(); - }); - _lazyOld($, "_$insertionSerializer", "$get$_$insertionSerializer", function() { - return new G._$InsertionSerializer(); - }); - _lazyOld($, "_$domainSerializer", "$get$_$domainSerializer", function() { - return new G._$DomainSerializer(); - }); - _lazyOld($, "_$domainNameMismatchSerializer", "$get$_$domainNameMismatchSerializer", function() { - return new B._$DomainNameMismatchSerializer(); - }); - _lazyOld($, "_$domainsMoveSerializer", "$get$_$domainsMoveSerializer", function() { - return new V._$DomainsMoveSerializer(); - }); - _lazyOld($, "_$values1", "$get$_$values", function() { - return X.BuiltSet_BuiltSet(C.List_yjH, type$.legacy_EditModeChoice); - }); - _lazyOld($, "_$editModeChoiceSerializer", "$get$_$editModeChoiceSerializer", function() { - return new M._$EditModeChoiceSerializer(); - }); - _lazyOld($, "DEFAULT_example_designs_builder", "$get$DEFAULT_example_designs_builder", function() { - return K.ExampleDesignsBuilder$(); - }); - _lazyOld($, "_$exampleDesignsSerializer", "$get$_$exampleDesignsSerializer", function() { - return new K._$ExampleDesignsSerializer(); - }); - _lazyOld($, "_$values2", "$get$_$values2", function() { - return X.BuiltSet_BuiltSet(C.List_FYo, type$.legacy_ExportDNAFormat); - }); - _lazyOld($, "_$exportDNAFormatSerializer", "$get$_$exportDNAFormatSerializer", function() { - return new D._$ExportDNAFormatSerializer(); - }); - _lazyOld($, "_$values3", "$get$_$values3", function() { - return X.BuiltSet_BuiltSet(C.List_yHF, type$.legacy_StrandOrder); - }); - _lazyOld($, "_$strandOrderSerializer", "$get$_$strandOrderSerializer", function() { - return new O._$StrandOrderSerializer(); - }); - _lazyOld($, "_$extensionSerializer", "$get$_$extensionSerializer", function() { - return new S._$ExtensionSerializer(); - }); - _lazyOld($, "_$geometrySerializer", "$get$_$geometrySerializer", function() { - return new N._$GeometrySerializer(); - }); - _lazyOld($, "_$values4", "$get$_$values1", function() { - return X.BuiltSet_BuiltSet(C.List_hLM, type$.legacy_Grid); - }); - _lazyOld($, "_$gridSerializer", "$get$_$gridSerializer", function() { - return new S._$GridSerializer(); - }); - _lazyOld($, "_$gridPositionSerializer", "$get$_$gridPositionSerializer", function() { - return new D._$GridPositionSerializer(); - }); - _lazyOld($, "DEFAULT_HelixGroup", "$get$DEFAULT_HelixGroup", function() { - return O.HelixGroupBuilder$().build$0(); - }); - _lazyOld($, "_$helixGroupSerializer", "$get$_$helixGroupSerializer", function() { - return new O._$HelixGroupSerializer(); - }); - _lazyOld($, "_$helixSerializer", "$get$_$helixSerializer", function() { - return new O._$HelixSerializer(); - }); - _lazyOld($, "_$helixGroupMoveSerializer", "$get$_$helixGroupMoveSerializer", function() { - return new G._$HelixGroupMoveSerializer(); - }); - _lazyOld($, "_$localStorageDesignOptionSerializer", "$get$_$localStorageDesignOptionSerializer", function() { - return new Y._$LocalStorageDesignOptionSerializer(); - }); - _lazyOld($, "_$localStorageDesignChoiceSerializer", "$get$_$localStorageDesignChoiceSerializer", function() { - return new Y._$LocalStorageDesignChoiceSerializer(); - }); - _lazyOld($, "_$loopoutSerializer", "$get$_$loopoutSerializer", function() { - return new G._$LoopoutSerializer(); - }); - _lazyOld($, "_$modification5PrimeSerializer", "$get$_$modification5PrimeSerializer", function() { - return new Z._$Modification5PrimeSerializer(); - }); - _lazyOld($, "_$modification3PrimeSerializer", "$get$_$modification3PrimeSerializer", function() { - return new Z._$Modification3PrimeSerializer(); - }); - _lazyOld($, "_$modificationInternalSerializer", "$get$_$modificationInternalSerializer", function() { - return new Z._$ModificationInternalSerializer(); - }); - _lazyOld($, "_$modificationTypeSerializer", "$get$_$modificationTypeSerializer", function() { - return new Y._$ModificationTypeSerializer(); - }); - _lazyOld($, "_$mouseoverParamsSerializer", "$get$_$mouseoverParamsSerializer", function() { - return new K._$MouseoverParamsSerializer(); - }); - _lazyOld($, "_$mouseoverDataSerializer", "$get$_$mouseoverDataSerializer", function() { - return new K._$MouseoverDataSerializer(); - }); - _lazyOld($, "Position3D_origin", "$get$Position3D_origin", function() { - return X.Position3D_Position3D(0, 0, 0); - }); - _lazyOld($, "_$position3DSerializer", "$get$_$position3DSerializer", function() { - return new X._$Position3DSerializer(); - }); - _lazyOld($, "_$potentialCrossoverSerializer", "$get$_$potentialCrossoverSerializer", function() { - return new S._$PotentialCrossoverSerializer(); - }); - _lazyOld($, "_$potentialVerticalCrossoverSerializer", "$get$_$potentialVerticalCrossoverSerializer", function() { - return new Z._$PotentialVerticalCrossoverSerializer(); - }); - _lazyOld($, "SelectModeChoice_all_choices", "$get$SelectModeChoice_all_choices", function() { - return D.BuiltList_BuiltList($.$get$SelectModeChoice_non_origami_choices().toList$0(0).$add(0, H.setRuntimeTypeInfo([C.SelectModeChoice_scaffold, C.SelectModeChoice_staple], type$.JSArray_legacy_SelectModeChoice)), type$.legacy_SelectModeChoice); - }); - _lazyOld($, "SelectModeChoice_non_origami_choices", "$get$SelectModeChoice_non_origami_choices", function() { - return D.BuiltList_BuiltList(C.JSArray_methods.$add(H.setRuntimeTypeInfo([C.SelectModeChoice_strand], type$.JSArray_legacy_SelectModeChoice), $.$get$SelectModeChoice_strand_parts().toList$0(0)), type$.legacy_SelectModeChoice); - }); - _lazyOld($, "SelectModeChoice_strand_parts", "$get$SelectModeChoice_strand_parts", function() { - return D.BuiltList_BuiltList([C.SelectModeChoice_domain, C.SelectModeChoice_end_5p_strand, C.SelectModeChoice_end_3p_strand, C.SelectModeChoice_end_5p_domain, C.SelectModeChoice_end_3p_domain, C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_insertion, C.SelectModeChoice_deletion, C.SelectModeChoice_modification], type$.legacy_SelectModeChoice); - }); - _lazyOld($, "SelectModeChoice_ends", "$get$SelectModeChoice_ends", function() { - return D.BuiltList_BuiltList([C.SelectModeChoice_end_5p_strand, C.SelectModeChoice_end_3p_strand, C.SelectModeChoice_end_5p_domain, C.SelectModeChoice_end_3p_domain], type$.legacy_SelectModeChoice); - }); - _lazyOld($, "_$selectModeChoiceSerializer", "$get$_$selectModeChoiceSerializer", function() { - return new D._$SelectModeChoiceSerializer(); - }); - _lazyOld($, "DEFAULT_SelectModeStateBuilder", "$get$DEFAULT_SelectModeStateBuilder", function() { - return N.SelectModeStateBuilder$(); - }); - _lazyOld($, "_$selectModeStateSerializer", "$get$_$selectModeStateSerializer", function() { - return new N._$SelectModeStateSerializer(); - }); - _lazyOld($, "_$values5", "$get$_$values4", function() { - return X.BuiltSet_BuiltSet(C.List_Q8F, type$.legacy_SelectableTrait); - }); - _lazyOld($, "_$selectablesStoreSerializer", "$get$_$selectablesStoreSerializer", function() { - return new E._$SelectablesStoreSerializer(); - }); - _lazyOld($, "_$selectableDeletionSerializer", "$get$_$selectableDeletionSerializer", function() { - return new E._$SelectableDeletionSerializer(); - }); - _lazyOld($, "_$selectableInsertionSerializer", "$get$_$selectableInsertionSerializer", function() { - return new E._$SelectableInsertionSerializer(); - }); - _lazyOld($, "_$selectableModification5PrimeSerializer", "$get$_$selectableModification5PrimeSerializer", function() { - return new E._$SelectableModification5PrimeSerializer(); - }); - _lazyOld($, "_$selectableModification3PrimeSerializer", "$get$_$selectableModification3PrimeSerializer", function() { - return new E._$SelectableModification3PrimeSerializer(); - }); - _lazyOld($, "_$selectableModificationInternalSerializer", "$get$_$selectableModificationInternalSerializer", function() { - return new E._$SelectableModificationInternalSerializer(); - }); - _lazyOld($, "_$selectableTraitSerializer", "$get$_$selectableTraitSerializer", function() { - return new E._$SelectableTraitSerializer(); - }); - _lazyOld($, "_$selectionBoxSerializer", "$get$_$selectionBoxSerializer", function() { - return new E._$SelectionBoxSerializer(); - }); - _lazyOld($, "_$selectionRopeSerializer", "$get$_$selectionRopeSerializer", function() { - return new F._$SelectionRopeSerializer(); - }); - _lazyOld($, "_$lineSerializer", "$get$_$lineSerializer", function() { - return new F._$LineSerializer(); - }); - _lazyOld($, "Strand_DEFAULT_STRAND_COLOR", "$get$Strand_DEFAULT_STRAND_COLOR", function() { - return S.RgbColor_RgbColor$name("black"); - }); - _lazyOld($, "_$strandSerializer", "$get$_$strandSerializer", function() { - return new E._$StrandSerializer(); - }); - _lazyOld($, "_$strandCreationSerializer", "$get$_$strandCreationSerializer", function() { - return new U._$StrandCreationSerializer(); - }); - _lazyOld($, "_$strandsMoveSerializer", "$get$_$strandsMoveSerializer", function() { - return new U._$StrandsMoveSerializer(); - }); - _lazyOld($, "DEFAULT_UndoRedoBuilder", "$get$DEFAULT_UndoRedoBuilder", function() { - return T.UndoRedoBuilder$(); - }); - _lazyOld($, "DEFAULT_UndoRedo", "$get$DEFAULT_UndoRedo", function() { - return $.$get$DEFAULT_UndoRedoBuilder().build$0(); - }); - _lazyOld($, "_$undoRedoItemSerializer", "$get$_$undoRedoItemSerializer", function() { - return new T._$UndoRedoItemSerializer(); - }); - _lazyOld($, "_$vendorFieldsSerializer", "$get$_$vendorFieldsSerializer", function() { - return new T._$VendorFieldsSerializer(); - }); - _lazyOld($, "color_cycler", "$get$color_cycler", function() { - return new E.ColorCycler(); - }); - _lazyOld($, "ColorCycler_colors", "$get$ColorCycler_colors", function() { - return H.setRuntimeTypeInfo([S.RgbColor$(204, 0, 0), S.RgbColor$(50, 184, 108), S.RgbColor$(247, 67, 8), S.RgbColor$(87, 187, 0), S.RgbColor$(0, 114, 0), S.RgbColor$(170, 170, 0), S.RgbColor$(3, 182, 162), S.RgbColor$(247, 147, 30), S.RgbColor$(50, 0, 150), S.RgbColor$(184, 5, 108), S.RgbColor$(51, 51, 51), S.RgbColor$(115, 0, 222), S.RgbColor$(136, 136, 136)], H.findType("JSArray")); - }); - _lazyOld($, "ColorCycler_scaffold_color", "$get$ColorCycler_scaffold_color", function() { - return $.$get$default_scaffold_color(); - }); - _lazyOld($, "scaffold_color", "$get$scaffold_color", function() { - return $.$get$ColorCycler_scaffold_color(); - }); - _lazyOld($, "set_equality", "$get$set_equality", function() { - return U.SetEquality$(C.C_DefaultEquality, type$.dynamic); - }); - _lazyOld($, "$End3PrimeComponentFactory", "$get$$End3PrimeComponentFactory", function() { - return Z.registerComponent2(new B.$End3PrimeComponentFactory_closure(), B.lib_3p_end___$End3Prime$closure(), C.Type_End3PrimeComponent_Eo2, false, null, C.List_Zyt); - }); - _lazyOld($, "$End5PrimeComponentFactory", "$get$$End5PrimeComponentFactory", function() { - return Z.registerComponent2(new A.$End5PrimeComponentFactory_closure(), A.lib_5p_end___$End5Prime$closure(), C.Type_End5PrimeComponent_E4y, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignContextMenu", "$get$ConnectedDesignContextMenu", function() { - return X.connect(null, false, new S.ConnectedDesignContextMenu_closure(), null, type$.legacy_AppState, H.findType("DesignContextMenuProps*")).call$1(S.design_context_menu___$DesignContextMenu$closure()); - }); - _lazyOld($, "$DesignContextMenuComponentFactory", "$get$$DesignContextMenuComponentFactory", function() { - return Z.registerComponent2(new S.$DesignContextMenuComponentFactory_closure(), S.design_context_menu___$DesignContextMenu$closure(), C.Type_DesignContextMenuComponent_CB6, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignContextSubmenuComponentFactory", "$get$$DesignContextSubmenuComponentFactory", function() { - return Z.registerComponent2(new S.$DesignContextSubmenuComponentFactory_closure(), S.design_context_menu___$DesignContextSubmenu$closure(), C.Type_RoN, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignDialogForm", "$get$ConnectedDesignDialogForm", function() { - return X.connect(null, false, new S.ConnectedDesignDialogForm_closure(), null, type$.legacy_AppState, H.findType("DesignDialogFormProps*")).call$1(S.design_dialog_form___$DesignDialogForm$closure()); - }); - _lazyOld($, "$DesignDialogFormComponentFactory", "$get$$DesignDialogFormComponentFactory", function() { - return Z.registerComponent2(new S.$DesignDialogFormComponentFactory_closure(), S.design_dialog_form___$DesignDialogForm$closure(), C.Type_DesignDialogFormComponent_qsu, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignFooter", "$get$ConnectedDesignFooter", function() { - return X.connect(null, false, null, new V.ConnectedDesignFooter_closure(), type$.legacy_AppState, type$.legacy_DesignFooterProps).call$1(V.design_footer___$DesignFooter$closure()); - }); - _lazyOld($, "$DesignFooterComponentFactory", "$get$$DesignFooterComponentFactory", function() { - return Z.registerComponent2(new V.$DesignFooterComponentFactory_closure(), V.design_footer___$DesignFooter$closure(), C.Type_DesignFooterComponent_2jN, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedLoadingDialog", "$get$ConnectedLoadingDialog", function() { - return X.connect(null, false, new Q.ConnectedLoadingDialog_closure(), null, type$.legacy_AppState, H.findType("DesignLoadingDialogProps*")).call$1(Q.design_loading_dialog___$DesignLoadingDialog$closure()); - }); - _lazyOld($, "$DesignLoadingDialogComponentFactory", "$get$$DesignLoadingDialogComponentFactory", function() { - return Z.registerComponent2(new Q.$DesignLoadingDialogComponentFactory_closure(), Q.design_loading_dialog___$DesignLoadingDialog$closure(), C.Type_DesignLoadingDialogComponent_UAO, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignMain", "$get$ConnectedDesignMain", function() { - return X.connect(null, false, new V.ConnectedDesignMain_closure(), null, type$.legacy_AppState, H.findType("DesignMainProps*")).call$1(V.design_main___$DesignMain$closure()); - }); - _lazyOld($, "$DesignMainComponentFactory", "$get$$DesignMainComponentFactory", function() { - return Z.registerComponent2(new V.$DesignMainComponentFactory_closure(), V.design_main___$DesignMain$closure(), C.Type_DesignMainComponent_zC4, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignMainArrows", "$get$ConnectedDesignMainArrows", function() { - return X.connect(null, false, new Q.ConnectedDesignMainArrows_closure(), null, type$.legacy_AppState, H.findType("DesignMainArrowsProps*")).call$1(Q.design_main_arrows___$DesignMainArrows$closure()); - }); - _lazyOld($, "$DesignMainArrowsComponentFactory", "$get$$DesignMainArrowsComponentFactory0", function() { - return Z.registerComponent2(new Q.$DesignMainArrowsComponentFactory_closure0(), Q.design_main_arrows___$DesignMainArrows$closure(), C.Type_DesignMainArrowsComponent_gsm, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainBasePairLinesComponentFactory", "$get$$DesignMainBasePairLinesComponentFactory", function() { - return Z.registerComponent2(new Z.$DesignMainBasePairLinesComponentFactory_closure(), Z.design_main_base_pair_lines___$DesignMainBasePairLines$closure(), C.Type_y0U, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainBasePairRectangleComponentFactory", "$get$$DesignMainBasePairRectangleComponentFactory", function() { - return Z.registerComponent2(new V.$DesignMainBasePairRectangleComponentFactory_closure(), V.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure(), C.Type_AeS, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDNAMismatchesComponentFactory", "$get$$DesignMainDNAMismatchesComponentFactory", function() { - return Z.registerComponent2(new O.$DesignMainDNAMismatchesComponentFactory_closure(), O.design_main_dna_mismatches___$DesignMainDNAMismatches$closure(), C.Type_QtW, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDNASequenceComponentFactory", "$get$$DesignMainDNASequenceComponentFactory", function() { - return Z.registerComponent2(new U.$DesignMainDNASequenceComponentFactory_closure(), U.design_main_dna_sequence___$DesignMainDNASequence$closure(), C.Type_F7U, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDNASequencesComponentFactory", "$get$$DesignMainDNASequencesComponentFactory", function() { - return Z.registerComponent2(new M.$DesignMainDNASequencesComponentFactory_closure(), M.design_main_dna_sequences___$DesignMainDNASequences$closure(), C.Type_qJx, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDomainMovingComponentFactory", "$get$$DesignMainDomainMovingComponentFactory", function() { - return Z.registerComponent2(new T.$DesignMainDomainMovingComponentFactory_closure(), T.design_main_domain_moving___$DesignMainDomainMoving$closure(), C.Type_3dV, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDomainNameMismatchesComponentFactory", "$get$$DesignMainDomainNameMismatchesComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainDomainNameMismatchesComponentFactory_closure(), R.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure(), C.Type_Sfe, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignMainDomainsMoving", "$get$ConnectedDesignMainDomainsMoving", function() { - return X.connect(null, false, new Y.ConnectedDesignMainDomainsMoving_closure(), null, type$.legacy_AppState, H.findType("DesignMainDomainsMovingProps*")).call$1(Y.design_main_domains_moving___$DesignMainDomainsMoving$closure()); - }); - _lazyOld($, "$DesignMainDomainsMovingComponentFactory", "$get$$DesignMainDomainsMovingComponentFactory", function() { - return Z.registerComponent2(new Y.$DesignMainDomainsMovingComponentFactory_closure(), Y.design_main_domains_moving___$DesignMainDomainsMoving$closure(), C.Type_Ucj, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainErrorBoundaryComponentFactory", "$get$$DesignMainErrorBoundaryComponentFactory", function() { - return Z.registerComponent2(new X.$DesignMainErrorBoundaryComponentFactory_closure(), X.design_main_error_boundary___$DesignMainErrorBoundary$closure(), C.Type_gzy, true, null, C.List_empty0); - }); - _lazyOld($, "$DesignMainHelicesComponentFactory", "$get$$DesignMainHelicesComponentFactory", function() { - return Z.registerComponent2(new V.$DesignMainHelicesComponentFactory_closure(), V.design_main_helices___$DesignMainHelices$closure(), C.Type_DesignMainHelicesComponent_m81, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainHelixComponentFactory", "$get$$DesignMainHelixComponentFactory", function() { - return Z.registerComponent2(new T.$DesignMainHelixComponentFactory_closure(), T.design_main_helix___$DesignMainHelix$closure(), C.Type_DesignMainHelixComponent_etC, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainLoopoutExtensionLengthComponentFactory", "$get$$DesignMainLoopoutExtensionLengthComponentFactory", function() { - return Z.registerComponent2(new K.$DesignMainLoopoutExtensionLengthComponentFactory_closure(), K.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure(), C.Type_YX3, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainLoopoutExtensionLengthsComponentFactory", "$get$$DesignMainLoopoutExtensionLengthsComponentFactory", function() { - return Z.registerComponent2(new Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure(), Z.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure(), C.Type_2bx, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainPotentialVerticalCrossoverComponentFactory", "$get$$DesignMainPotentialVerticalCrossoverComponentFactory", function() { - return Z.registerComponent2(new K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure(), K.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure(), C.Type_qlj, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainPotentialVerticalCrossoversComponentFactory", "$get$$DesignMainPotentialVerticalCrossoversComponentFactory", function() { - return Z.registerComponent2(new S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure(), S.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure(), C.Type_IJa, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainSliceBarComponentFactory", "$get$$DesignMainSliceBarComponentFactory", function() { - return Z.registerComponent2(new M.$DesignMainSliceBarComponentFactory_closure(), M.design_main_slice_bar___$DesignMainSliceBar$closure(), C.Type_DesignMainSliceBarComponent_E8w, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandComponentFactory", "$get$$DesignMainStrandComponentFactory", function() { - return Z.registerComponent2(new M.$DesignMainStrandComponentFactory_closure(), M.design_main_strand___$DesignMainStrand$closure(), C.Type_DesignMainStrandComponent_Met, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandAndDomainTextsComponentFactory", "$get$$DesignMainStrandAndDomainTextsComponentFactory", function() { - return Z.registerComponent2(new S.$DesignMainStrandAndDomainTextsComponentFactory_closure(), S.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure(), C.Type_eTF, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandCreatingComponentFactory", "$get$$DesignMainStrandCreatingComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainStrandCreatingComponentFactory_closure(), R.design_main_strand_creating___$DesignMainStrandCreating$closure(), C.Type_ej4, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandCrossoverComponentFactory", "$get$$DesignMainStrandCrossoverComponentFactory", function() { - return Z.registerComponent2(new Q.$DesignMainStrandCrossoverComponentFactory_closure(), Q.design_main_strand_crossover___$DesignMainStrandCrossover$closure(), C.Type_k2a, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandDeletionComponentFactory", "$get$$DesignMainStrandDeletionComponentFactory", function() { - return Z.registerComponent2(new A.$DesignMainStrandDeletionComponentFactory_closure(), A.design_main_strand_deletion___$DesignMainStrandDeletion$closure(), C.Type_NQk, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDNAEndComponentFactory", "$get$$DesignMainDNAEndComponentFactory", function() { - return Z.registerComponent2(new S.$DesignMainDNAEndComponentFactory_closure(), S.design_main_strand_dna_end___$DesignMainDNAEnd$closure(), C.Type_DesignMainDNAEndComponent_dcz, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedEndMoving", "$get$ConnectedEndMoving", function() { - return X.connect($.app.context_dna_ends_move, false, null, new F.ConnectedEndMoving_closure(), type$.legacy_DNAEndsMove, type$.legacy_EndMovingProps).call$1(F.design_main_strand_dna_end_moving___$EndMoving$closure()); - }); - _lazyOld($, "$EndMovingComponentFactory", "$get$$EndMovingComponentFactory", function() { - return Z.registerComponent2(new F.$EndMovingComponentFactory_closure(), F.design_main_strand_dna_end_moving___$EndMoving$closure(), C.Type_EndMovingComponent_wbZ, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedExtensionEndMoving", "$get$ConnectedExtensionEndMoving", function() { - return X.connect($.app.context_extensions_move, false, null, new T.ConnectedExtensionEndMoving_closure(), type$.legacy_DNAExtensionsMove, type$.legacy_ExtensionEndMovingProps).call$1(T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure()); - }); - _lazyOld($, "$ExtensionEndMovingComponentFactory", "$get$$ExtensionEndMovingComponentFactory", function() { - return Z.registerComponent2(new T.$ExtensionEndMovingComponentFactory_closure(), T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure(), C.Type_ExtensionEndMovingComponent_wIq, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainDomainComponentFactory", "$get$$DesignMainDomainComponentFactory", function() { - return Z.registerComponent2(new T.$DesignMainDomainComponentFactory_closure(), T.design_main_strand_domain___$DesignMainDomain$closure(), C.Type_DesignMainDomainComponent_WvD, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandDomainTextComponentFactory", "$get$$DesignMainStrandDomainTextComponentFactory", function() { - return Z.registerComponent2(new B.$DesignMainStrandDomainTextComponentFactory_closure(), B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure(), C.Type_8sg, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainExtensionComponentFactory", "$get$$DesignMainExtensionComponentFactory", function() { - return Z.registerComponent2(new Q.$DesignMainExtensionComponentFactory_closure(), Q.design_main_strand_extension___$DesignMainExtension$closure(), C.Type_DesignMainExtensionComponent_aJt, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandExtensionTextComponentFactory", "$get$$DesignMainStrandExtensionTextComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainStrandExtensionTextComponentFactory_closure(), R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure(), C.Type_qxd, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandInsertionComponentFactory", "$get$$DesignMainStrandInsertionComponentFactory", function() { - return Z.registerComponent2(new A.$DesignMainStrandInsertionComponentFactory_closure(), A.design_main_strand_insertion___$DesignMainStrandInsertion$closure(), C.Type_TRH, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainLoopoutComponentFactory", "$get$$DesignMainLoopoutComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainLoopoutComponentFactory_closure(), R.design_main_strand_loopout___$DesignMainLoopout$closure(), C.Type_DesignMainLoopoutComponent_Tng, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandLoopoutTextComponentFactory", "$get$$DesignMainStrandLoopoutTextComponentFactory", function() { - return Z.registerComponent2(new S.$DesignMainStrandLoopoutTextComponentFactory_closure(), S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure(), C.Type_fVV, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandModificationComponentFactory", "$get$$DesignMainStrandModificationComponentFactory", function() { - return Z.registerComponent2(new X.$DesignMainStrandModificationComponentFactory_closure(), X.design_main_strand_modification___$DesignMainStrandModification$closure(), C.Type_o8I, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandModificationsComponentFactory", "$get$$DesignMainStrandModificationsComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainStrandModificationsComponentFactory_closure(), R.design_main_strand_modifications___$DesignMainStrandModifications$closure(), C.Type_Wbn, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandMovingComponentFactory", "$get$$DesignMainStrandMovingComponentFactory", function() { - return Z.registerComponent2(new T.$DesignMainStrandMovingComponentFactory_closure(), T.design_main_strand_moving___$DesignMainStrandMoving$closure(), C.Type_6eO, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainStrandPathsComponentFactory", "$get$$DesignMainStrandPathsComponentFactory", function() { - return Z.registerComponent2(new B.$DesignMainStrandPathsComponentFactory_closure(), B.design_main_strand_paths___$DesignMainStrandPaths$closure(), C.Type_Ykb, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignMainStrands", "$get$ConnectedDesignMainStrands", function() { - return X.connect(null, false, new E.ConnectedDesignMainStrands_closure(), null, type$.legacy_AppState, H.findType("DesignMainStrandsProps*")).call$1(E.design_main_strands___$DesignMainStrands$closure()); - }); - _lazyOld($, "$DesignMainStrandsComponentFactory", "$get$$DesignMainStrandsComponentFactory", function() { - return Z.registerComponent2(new E.$DesignMainStrandsComponentFactory_closure(), E.design_main_strands___$DesignMainStrands$closure(), C.Type_DesignMainStrandsComponent_qBX, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignMainStrandsMoving", "$get$ConnectedDesignMainStrandsMoving", function() { - return X.connect(null, false, new F.ConnectedDesignMainStrandsMoving_closure(), null, type$.legacy_AppState, H.findType("DesignMainStrandsMovingProps*")).call$1(F.design_main_strands_moving___$DesignMainStrandsMoving$closure()); - }); - _lazyOld($, "$DesignMainStrandsMovingComponentFactory", "$get$$DesignMainStrandsMovingComponentFactory", function() { - return Z.registerComponent2(new F.$DesignMainStrandsMovingComponentFactory_closure(), F.design_main_strands_moving___$DesignMainStrandsMoving$closure(), C.Type_23h, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainUnpairedInsertionDeletionsComponentFactory", "$get$$DesignMainUnpairedInsertionDeletionsComponentFactory", function() { - return Z.registerComponent2(new B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure(), B.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure(), C.Type_bbH, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignMainWarningStarComponentFactory", "$get$$DesignMainWarningStarComponentFactory", function() { - return Z.registerComponent2(new R.$DesignMainWarningStarComponentFactory_closure(), R.design_main_warning_star___$DesignMainWarningStar$closure(), C.Type_k1a, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignSide", "$get$ConnectedDesignSide", function() { - return X.connect(null, false, new U.ConnectedDesignSide_closure(), null, type$.legacy_AppState, H.findType("DesignSideProps*")).call$1(U.design_side___$DesignSide$closure()); - }); - _lazyOld($, "$DesignSideComponentFactory", "$get$$DesignSideComponentFactory", function() { - return Z.registerComponent2(new U.$DesignSideComponentFactory_closure(), U.design_side___$DesignSide$closure(), C.Type_DesignSideComponent_G7N, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedDesignSideArrows", "$get$ConnectedDesignSideArrows", function() { - return X.connect(null, false, new S.ConnectedDesignSideArrows_closure(), null, type$.legacy_AppState, H.findType("DesignSideArrowsProps*")).call$1(S.design_side_arrows___$DesignSideArrows$closure()); - }); - _lazyOld($, "$DesignMainArrowsComponentFactory0", "$get$$DesignMainArrowsComponentFactory", function() { - return Z.registerComponent2(new S.$DesignMainArrowsComponentFactory_closure(), S.design_side_arrows___$DesignSideArrows$closure(), C.Type_DesignMainArrowsComponent_Shv, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignSideHelixComponentFactory", "$get$$DesignSideHelixComponentFactory", function() { - return Z.registerComponent2(new B.$DesignSideHelixComponentFactory_closure(), B.design_side_helix___$DesignSideHelix$closure(), C.Type_DesignSideHelixComponent_Uq5, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignSidePotentialHelixComponentFactory", "$get$$DesignSidePotentialHelixComponentFactory", function() { - return Z.registerComponent2(new Y.$DesignSidePotentialHelixComponentFactory_closure(), Y.design_side_potential_helix___$DesignSidePotentialHelix$closure(), C.Type_QfR, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignSideRotationComponentFactory", "$get$$DesignSideRotationComponentFactory", function() { - return Z.registerComponent2(new O.$DesignSideRotationComponentFactory_closure(), O.design_side_rotation___$DesignSideRotation$closure(), C.Type_DesignSideRotationComponent_I27, false, null, C.List_Zyt); - }); - _lazyOld($, "$DesignSideRotationArrowComponentFactory", "$get$$DesignSideRotationArrowComponentFactory", function() { - return Z.registerComponent2(new E.$DesignSideRotationArrowComponentFactory_closure(), E.design_side_rotation_arrow___$DesignSideRotationArrow$closure(), C.Type_DNd, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedEditAndSelectModes", "$get$ConnectedEditAndSelectModes", function() { - return X.connect(null, true, new Z.ConnectedEditAndSelectModes_closure(), null, type$.legacy_AppState, H.findType("EditAndSelectModesProps*")).call$1(Z.edit_and_select_modes___$EditAndSelectModes$closure()); - }); - _lazyOld($, "$EditAndSelectModesComponentFactory", "$get$$EditAndSelectModesComponentFactory", function() { - return Z.registerComponent2(new Z.$EditAndSelectModesComponentFactory_closure(), Z.edit_and_select_modes___$EditAndSelectModes$closure(), C.Type_EditAndSelectModesComponent_yz6, false, null, C.List_Zyt); - }); - _lazyOld($, "$EditModeComponentFactory", "$get$$EditModeComponentFactory", function() { - return Z.registerComponent2(new M.$EditModeComponentFactory_closure(), M.edit_mode___$EditMode$closure(), C.Type_EditModeComponent_sLD, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedHelixGroupMoving", "$get$ConnectedHelixGroupMoving", function() { - return X.connect($.app.context_helix_group_move, false, null, new O.ConnectedHelixGroupMoving_closure(), type$.legacy_HelixGroupMove, type$.legacy_HelixGroupMovingProps).call$1(O.helix_group_moving___$HelixGroupMoving$closure()); - }); - _lazyOld($, "$HelixGroupMovingComponentFactory", "$get$$HelixGroupMovingComponentFactory", function() { - return Z.registerComponent2(new O.$HelixGroupMovingComponentFactory_closure(), O.helix_group_moving___$HelixGroupMoving$closure(), C.Type_HelixGroupMovingComponent_ahM, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedMenu", "$get$ConnectedMenu", function() { - return X.connect(null, true, new D.ConnectedMenu_closure(), null, type$.legacy_AppState, H.findType("MenuProps*")).call$1(D.menu___$Menu$closure()); - }); - _lazyOld($, "$MenuComponentFactory", "$get$$MenuComponentFactory", function() { - return Z.registerComponent2(new D.$MenuComponentFactory_closure(), D.menu___$Menu$closure(), C.Type_MenuComponent_4CA, false, null, C.List_Zyt); - }); - _lazyOld($, "$MenuBooleanComponentFactory", "$get$$MenuBooleanComponentFactory", function() { - return Z.registerComponent2(new Z.$MenuBooleanComponentFactory_closure(), Z.menu_boolean___$MenuBoolean$closure(), C.Type_MenuBooleanComponent_2Lo, false, null, C.List_Zyt); - }); - _lazyOld($, "$MenuDropdownItemComponentFactory", "$get$$MenuDropdownItemComponentFactory", function() { - return Z.registerComponent2(new N.$MenuDropdownItemComponentFactory_closure(), N.menu_dropdown_item___$MenuDropdownItem$closure(), C.Type_MenuDropdownItemComponent_YEs, false, null, C.List_Zyt); - }); - _lazyOld($, "$MenuDropdownRightComponentFactory", "$get$$MenuDropdownRightComponentFactory", function() { - return Z.registerComponent2(new M.$MenuDropdownRightComponentFactory_closure(), M.menu_dropdown_right___$MenuDropdownRight$closure(), C.Type_MenuDropdownRightComponent_4QF, false, null, C.List_Zyt); - }); - _lazyOld($, "$MenuFormFileComponentFactory", "$get$$MenuFormFileComponentFactory", function() { - return Z.registerComponent2(new O.$MenuFormFileComponentFactory_closure(), O.menu_form_file___$MenuFormFile$closure(), C.Type_MenuFormFileComponent_6TA, false, null, C.List_Zyt); - }); - _lazyOld($, "$MenuNumberComponentFactory", "$get$$MenuNumberComponentFactory", function() { - return Z.registerComponent2(new M.$MenuNumberComponentFactory_closure(), M.menu_number___$MenuNumber$closure(), C.Type_MenuNumberComponent_qRH, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedSideMenu", "$get$ConnectedSideMenu", function() { - return X.connect(null, true, new Q.ConnectedSideMenu_closure(), null, type$.legacy_AppState, H.findType("SideMenuProps*")).call$1(Q.menu_side___$SideMenu$closure()); - }); - _lazyOld($, "$SideMenuComponentFactory", "$get$$SideMenuComponentFactory", function() { - return Z.registerComponent2(new Q.$SideMenuComponentFactory_closure(), Q.menu_side___$SideMenu$closure(), C.Type_SideMenuComponent_oEK, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedPotentialCrossoverView", "$get$ConnectedPotentialCrossoverView", function() { - return X.connect($.app.context_potential_crossover, false, new M.ConnectedPotentialCrossoverView_closure(), null, type$.legacy_PotentialCrossover, H.findType("PotentialCrossoverViewProps*")).call$1(M.potential_crossover_view___$PotentialCrossoverView$closure()); - }); - _lazyOld($, "$PotentialCrossoverViewComponentFactory", "$get$$PotentialCrossoverViewComponentFactory", function() { - return Z.registerComponent2(new M.$PotentialCrossoverViewComponentFactory_closure(), M.potential_crossover_view___$PotentialCrossoverView$closure(), C.Type_B8J, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedPotentialExtensionsView", "$get$ConnectedPotentialExtensionsView", function() { - return X.connect($.app.context_extensions_move, false, new R.ConnectedPotentialExtensionsView_closure(), null, type$.legacy_DNAExtensionsMove, H.findType("PotentialExtensionsViewProps*")).call$1(R.potential_extensions_view___$PotentialExtensionsView$closure()); - }); - _lazyOld($, "$PotentialExtensionsViewComponentFactory", "$get$$PotentialExtensionsViewComponentFactory", function() { - return Z.registerComponent2(new R.$PotentialExtensionsViewComponentFactory_closure(), R.potential_extensions_view___$PotentialExtensionsView$closure(), C.Type_L5J, false, null, C.List_Zyt); - }); - _lazyOld($, "DropdownButton", "$get$DropdownButton", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownButton, true); - }); - _lazyOld($, "DropdownDivider", "$get$DropdownDivider", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownDivider, true); - }); - _lazyOld($, "DropdownItem", "$get$DropdownItem", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownItem, true); - }); - _lazyOld($, "Navbar", "$get$Navbar", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.Navbar, true); - }); - _lazyOld($, "NavbarBrand", "$get$NavbarBrand", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavbarBrand, true); - }); - _lazyOld($, "NavDropdown", "$get$NavDropdown", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavDropdown, true); - }); - _lazyOld($, "FormFile", "$get$FormFile", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.FormFile, true); - }); - _lazyOld($, "SketchPicker", "$get$SketchPicker", function() { - return A.ReactJsComponentFactoryProxy$(self.ReactColor.SketchPicker, true); - }); - _lazyOld($, "$SelectModeComponentFactory", "$get$$SelectModeComponentFactory", function() { - return Z.registerComponent2(new D.$SelectModeComponentFactory_closure(), D.select_mode___$SelectMode$closure(), C.Type_SelectModeComponent_uvy, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedSelectionBoxView", "$get$ConnectedSelectionBoxView", function() { - return X.connect($.app.context_selection_box, false, new Y.ConnectedSelectionBoxView_closure(), null, type$.legacy_SelectionBox, H.findType("SelectionBoxViewProps*")).call$1(Y.selection_box_view___$SelectionBoxView$closure()); - }); - _lazyOld($, "$SelectionBoxViewComponentFactory", "$get$$SelectionBoxViewComponentFactory", function() { - return Z.registerComponent2(new Y.$SelectionBoxViewComponentFactory_closure(), Y.selection_box_view___$SelectionBoxView$closure(), C.Type_SelectionBoxViewComponent_Wzb, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedSelectionRopeView", "$get$ConnectedSelectionRopeView", function() { - return X.connect($.app.context_selection_rope, false, new A.ConnectedSelectionRopeView_closure(), null, type$.legacy_SelectionRope, H.findType("SelectionRopeViewProps*")).call$1(A.selection_rope_view___$SelectionRopeView$closure()); - }); - _lazyOld($, "$SelectionRopeViewComponentFactory", "$get$$SelectionRopeViewComponentFactory", function() { - return Z.registerComponent2(new A.$SelectionRopeViewComponentFactory_closure(), A.selection_rope_view___$SelectionRopeView$closure(), C.Type_SelectionRopeViewComponent_6D4, false, null, C.List_Zyt); - }); - _lazyOld($, "ConnectedStrandOrSubstrandColorPicker", "$get$ConnectedStrandOrSubstrandColorPicker", function() { - return X.connect(null, false, new A.ConnectedStrandOrSubstrandColorPicker_closure(), null, type$.legacy_AppState, H.findType("StrandOrSubstrandColorPickerProps*")).call$1(A.strand_color_picker___$StrandOrSubstrandColorPicker$closure()); - }); - _lazyOld($, "$StrandOrSubstrandColorPickerComponentFactory", "$get$$StrandOrSubstrandColorPickerComponentFactory", function() { - return Z.registerComponent2(new A.$StrandOrSubstrandColorPickerComponentFactory_closure(), A.strand_color_picker___$StrandOrSubstrandColorPicker$closure(), C.Type_6Lu, false, null, C.List_Zyt); - }); - _lazyFinal($, "_textPattern", "$get$_textPattern", function() { - return P.RegExp_RegExp("[&<]|]]>", true); - }); - _lazyFinal($, "_singeQuoteAttributePattern", "$get$_singeQuoteAttributePattern", function() { - return P.RegExp_RegExp("['&<\\n\\r\\t]", true); - }); - _lazyFinal($, "_doubleQuoteAttributePattern", "$get$_doubleQuoteAttributePattern", function() { - return P.RegExp_RegExp('["&<\\n\\r\\t]', true); - }); - _lazyFinal($, "documentParserCache", "$get$documentParserCache", function() { - return new B.XmlCache(new S.documentParserCache_closure(), 5, P.LinkedHashMap_LinkedHashMap$_empty(type$.XmlEntityMapping, type$.Parser_dynamic), H.findType("XmlCache>")); - }); + _lazy($, "_$addressSerializer", "$get$_$addressSerializer", () => new A._$AddressSerializer()); + _lazy($, "_$addressDifferenceSerializer", "$get$_$addressDifferenceSerializer", () => new A._$AddressDifferenceSerializer()); + _lazyFinal($, "DEFAULT_AppState", "$get$DEFAULT_AppState", () => A.AppStateBuilder$()._app_state$_build$0()); + _lazyFinal($, "DEFAULT_AppUIState", "$get$DEFAULT_AppUIState", () => A.AppUIStateBuilder$()._app_ui_state$_build$0()); + _lazy($, "_$appUIStateSerializer", "$get$_$appUIStateSerializer", () => new A._$AppUIStateSerializer()); + _lazyFinal($, "DEFAULT_AppUIStateStorable", "$get$DEFAULT_AppUIStateStorable", () => A.AppUIStateStorablesBuilder$()._app_ui_state_storables$_build$0()); + _lazy($, "_$appUIStateStorablesSerializer", "$get$_$appUIStateStorablesSerializer", () => new A._$AppUIStateStorablesSerializer()); + _lazy($, "BasePairDisplayType_types", "$get$BasePairDisplayType_types", () => A.BuiltListIterableExtension_toBuiltList(B.List_KxA, type$.BasePairDisplayType)); + _lazy($, "_$basePairDisplayTypeSerializer", "$get$_$basePairDisplayTypeSerializer", () => new A._$BasePairDisplayTypeSerializer()); + _lazy($, "_$contextMenuSerializer", "$get$_$contextMenuSerializer", () => new A._$ContextMenuSerializer()); + _lazy($, "_$contextMenuItemSerializer", "$get$_$contextMenuItemSerializer", () => new A._$ContextMenuItemSerializer()); + _lazy($, "_$copyInfoSerializer", "$get$_$copyInfoSerializer", () => new A._$CopyInfoSerializer()); + _lazy($, "_$crossoverSerializer", "$get$_$crossoverSerializer", () => new A._$CrossoverSerializer()); + _lazyFinal($, "_wc_table", "$get$_wc_table", () => { + var t1 = type$.int; + return A.LinkedHashMap_LinkedHashMap$_literal([65, 84, 84, 65, 71, 67, 67, 71, 97, 116, 116, 97, 103, 99, 99, 103], t1, t1); + }); + _lazy($, "_$designSideRotationParamsSerializer", "$get$_$designSideRotationParamsSerializer", () => new A._$DesignSideRotationParamsSerializer()); + _lazy($, "_$designSideRotationDataSerializer", "$get$_$designSideRotationDataSerializer", () => new A._$DesignSideRotationDataSerializer()); + _lazy($, "_$dialogTypeSerializer", "$get$_$dialogTypeSerializer", () => new A._$DialogTypeSerializer()); + _lazy($, "_$dialogSerializer", "$get$_$dialogSerializer", () => new A._$DialogSerializer()); + _lazy($, "_$dialogIntegerSerializer", "$get$_$dialogIntegerSerializer", () => new A._$DialogIntegerSerializer()); + _lazy($, "_$dialogFloatSerializer", "$get$_$dialogFloatSerializer", () => new A._$DialogFloatSerializer()); + _lazy($, "_$dialogTextSerializer", "$get$_$dialogTextSerializer", () => new A._$DialogTextSerializer()); + _lazy($, "_$dialogTextAreaSerializer", "$get$_$dialogTextAreaSerializer", () => new A._$DialogTextAreaSerializer()); + _lazy($, "_$dialogCheckboxSerializer", "$get$_$dialogCheckboxSerializer", () => new A._$DialogCheckboxSerializer()); + _lazy($, "_$dialogRadioSerializer", "$get$_$dialogRadioSerializer", () => new A._$DialogRadioSerializer()); + _lazy($, "_$dialogLinkSerializer", "$get$_$dialogLinkSerializer", () => new A._$DialogLinkSerializer()); + _lazyFinal($, "DEFAULT_dna_assign_options_builder", "$get$DEFAULT_dna_assign_options_builder", () => A.DNAAssignOptionsBuilder$()); + _lazy($, "_$dNAAssignOptionsSerializer", "$get$_$dNAAssignOptionsSerializer", () => new A._$DNAAssignOptionsSerializer()); + _lazy($, "_$dNAEndSerializer", "$get$_$dNAEndSerializer", () => new A._$DNAEndSerializer()); + _lazy($, "_$dNAEndsMoveSerializer", "$get$_$dNAEndsMoveSerializer", () => new A._$DNAEndsMoveSerializer()); + _lazy($, "_$dNAEndMoveSerializer", "$get$_$dNAEndMoveSerializer", () => new A._$DNAEndMoveSerializer()); + _lazy($, "_$dNAExtensionsMoveSerializer", "$get$_$dNAExtensionsMoveSerializer", () => new A._$DNAExtensionsMoveSerializer()); + _lazy($, "_$dNAExtensionMoveSerializer", "$get$_$dNAExtensionMoveSerializer", () => new A._$DNAExtensionMoveSerializer()); + _lazy($, "_$insertionSerializer", "$get$_$insertionSerializer", () => new A._$InsertionSerializer()); + _lazy($, "_$domainSerializer", "$get$_$domainSerializer", () => new A._$DomainSerializer()); + _lazy($, "_$domainNameMismatchSerializer", "$get$_$domainNameMismatchSerializer", () => new A._$DomainNameMismatchSerializer()); + _lazy($, "_$domainsMoveSerializer", "$get$_$domainsMoveSerializer", () => new A._$DomainsMoveSerializer()); + _lazyFinal($, "_$values1", "$get$_$values", () => A.BuiltSet_BuiltSet(B.List_yjH, type$.EditModeChoice)); + _lazy($, "_$editModeChoiceSerializer", "$get$_$editModeChoiceSerializer", () => new A._$EditModeChoiceSerializer()); + _lazyFinal($, "DEFAULT_example_designs_builder", "$get$DEFAULT_example_designs_builder", () => A.ExampleDesignsBuilder$()); + _lazy($, "_$exampleDesignsSerializer", "$get$_$exampleDesignsSerializer", () => new A._$ExampleDesignsSerializer()); + _lazyFinal($, "_$values2", "$get$_$values2", () => A.BuiltSet_BuiltSet(B.List_FYo, type$.ExportDNAFormat)); + _lazy($, "_$exportDNAFormatSerializer", "$get$_$exportDNAFormatSerializer", () => new A._$ExportDNAFormatSerializer()); + _lazyFinal($, "_$values3", "$get$_$values3", () => A.BuiltSet_BuiltSet(B.List_yHF, type$.StrandOrder)); + _lazy($, "_$strandOrderSerializer", "$get$_$strandOrderSerializer", () => new A._$StrandOrderSerializer()); + _lazy($, "_$extensionSerializer", "$get$_$extensionSerializer", () => new A._$ExtensionSerializer()); + _lazy($, "_$geometrySerializer", "$get$_$geometrySerializer", () => new A._$GeometrySerializer()); + _lazyFinal($, "_$values4", "$get$_$values1", () => A.BuiltSet_BuiltSet(B.List_hLM, type$.Grid)); + _lazy($, "_$gridSerializer", "$get$_$gridSerializer", () => new A._$GridSerializer()); + _lazy($, "_$gridPositionSerializer", "$get$_$gridPositionSerializer", () => new A._$GridPositionSerializer()); + _lazyFinal($, "DEFAULT_HelixGroup", "$get$DEFAULT_HelixGroup", () => A.HelixGroupBuilder$()._group$_build$0()); + _lazy($, "_$helixGroupSerializer", "$get$_$helixGroupSerializer", () => new A._$HelixGroupSerializer()); + _lazy($, "_$helixSerializer", "$get$_$helixSerializer", () => new A._$HelixSerializer()); + _lazy($, "_$helixGroupMoveSerializer", "$get$_$helixGroupMoveSerializer", () => new A._$HelixGroupMoveSerializer()); + _lazy($, "_$localStorageDesignOptionSerializer", "$get$_$localStorageDesignOptionSerializer", () => new A._$LocalStorageDesignOptionSerializer()); + _lazy($, "_$localStorageDesignChoiceSerializer", "$get$_$localStorageDesignChoiceSerializer", () => new A._$LocalStorageDesignChoiceSerializer()); + _lazy($, "_$loopoutSerializer", "$get$_$loopoutSerializer", () => new A._$LoopoutSerializer()); + _lazy($, "_$modification5PrimeSerializer", "$get$_$modification5PrimeSerializer", () => new A._$Modification5PrimeSerializer()); + _lazy($, "_$modification3PrimeSerializer", "$get$_$modification3PrimeSerializer", () => new A._$Modification3PrimeSerializer()); + _lazy($, "_$modificationInternalSerializer", "$get$_$modificationInternalSerializer", () => new A._$ModificationInternalSerializer()); + _lazy($, "_$modificationTypeSerializer", "$get$_$modificationTypeSerializer", () => new A._$ModificationTypeSerializer()); + _lazy($, "_$mouseoverParamsSerializer", "$get$_$mouseoverParamsSerializer", () => new A._$MouseoverParamsSerializer()); + _lazy($, "_$mouseoverDataSerializer", "$get$_$mouseoverDataSerializer", () => new A._$MouseoverDataSerializer()); + _lazy($, "Position3D_origin", "$get$Position3D_origin", () => A.Position3D_Position3D(0, 0, 0)); + _lazy($, "_$position3DSerializer", "$get$_$position3DSerializer", () => new A._$Position3DSerializer()); + _lazy($, "_$potentialCrossoverSerializer", "$get$_$potentialCrossoverSerializer", () => new A._$PotentialCrossoverSerializer()); + _lazy($, "_$potentialVerticalCrossoverSerializer", "$get$_$potentialVerticalCrossoverSerializer", () => new A._$PotentialVerticalCrossoverSerializer()); + _lazyFinal($, "SelectModeChoice_all_choices", "$get$SelectModeChoice_all_choices", () => A.BuiltList_BuiltList($.$get$SelectModeChoice_non_origami_choices().toList$0(0).$add(0, A._setArrayType([B.SelectModeChoice_scaffold, B.SelectModeChoice_staple], type$.JSArray_SelectModeChoice)), type$.SelectModeChoice)); + _lazyFinal($, "SelectModeChoice_non_origami_choices", "$get$SelectModeChoice_non_origami_choices", () => A.BuiltList_BuiltList(B.JSArray_methods.$add(A._setArrayType([B.SelectModeChoice_strand], type$.JSArray_SelectModeChoice), $.$get$SelectModeChoice_strand_parts().toList$0(0)), type$.SelectModeChoice)); + _lazyFinal($, "SelectModeChoice_strand_parts", "$get$SelectModeChoice_strand_parts", () => A.BuiltList_BuiltList([B.SelectModeChoice_domain, B.SelectModeChoice_end_5p_strand, B.SelectModeChoice_end_3p_strand, B.SelectModeChoice_end_5p_domain, B.SelectModeChoice_end_3p_domain, B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_extension_, B.SelectModeChoice_insertion, B.SelectModeChoice_deletion, B.SelectModeChoice_modification], type$.SelectModeChoice)); + _lazyFinal($, "SelectModeChoice_ends", "$get$SelectModeChoice_ends", () => A.BuiltList_BuiltList([B.SelectModeChoice_end_5p_strand, B.SelectModeChoice_end_3p_strand, B.SelectModeChoice_end_5p_domain, B.SelectModeChoice_end_3p_domain], type$.SelectModeChoice)); + _lazy($, "_$selectModeChoiceSerializer", "$get$_$selectModeChoiceSerializer", () => new A._$SelectModeChoiceSerializer()); + _lazyFinal($, "DEFAULT_SelectModeStateBuilder", "$get$DEFAULT_SelectModeStateBuilder", () => A.SelectModeStateBuilder$()); + _lazy($, "_$selectModeStateSerializer", "$get$_$selectModeStateSerializer", () => new A._$SelectModeStateSerializer()); + _lazyFinal($, "_$values5", "$get$_$values4", () => A.BuiltSet_BuiltSet(B.List_Q8F, type$.SelectableTrait)); + _lazy($, "_$selectablesStoreSerializer", "$get$_$selectablesStoreSerializer", () => new A._$SelectablesStoreSerializer()); + _lazy($, "_$selectableDeletionSerializer", "$get$_$selectableDeletionSerializer", () => new A._$SelectableDeletionSerializer()); + _lazy($, "_$selectableInsertionSerializer", "$get$_$selectableInsertionSerializer", () => new A._$SelectableInsertionSerializer()); + _lazy($, "_$selectableModification5PrimeSerializer", "$get$_$selectableModification5PrimeSerializer", () => new A._$SelectableModification5PrimeSerializer()); + _lazy($, "_$selectableModification3PrimeSerializer", "$get$_$selectableModification3PrimeSerializer", () => new A._$SelectableModification3PrimeSerializer()); + _lazy($, "_$selectableModificationInternalSerializer", "$get$_$selectableModificationInternalSerializer", () => new A._$SelectableModificationInternalSerializer()); + _lazy($, "_$selectableTraitSerializer", "$get$_$selectableTraitSerializer", () => new A._$SelectableTraitSerializer()); + _lazy($, "_$selectionBoxSerializer", "$get$_$selectionBoxSerializer", () => new A._$SelectionBoxSerializer()); + _lazy($, "_$selectionRopeSerializer", "$get$_$selectionRopeSerializer", () => new A._$SelectionRopeSerializer()); + _lazy($, "_$lineSerializer", "$get$_$lineSerializer", () => new A._$LineSerializer()); + _lazy($, "Strand_DEFAULT_STRAND_COLOR", "$get$Strand_DEFAULT_STRAND_COLOR", () => A.RgbColor_RgbColor$name("black")); + _lazy($, "_$strandSerializer", "$get$_$strandSerializer", () => new A._$StrandSerializer()); + _lazy($, "_$strandCreationSerializer", "$get$_$strandCreationSerializer", () => new A._$StrandCreationSerializer()); + _lazy($, "_$strandsMoveSerializer", "$get$_$strandsMoveSerializer", () => new A._$StrandsMoveSerializer()); + _lazyFinal($, "DEFAULT_UndoRedoBuilder", "$get$DEFAULT_UndoRedoBuilder", () => A.UndoRedoBuilder$()); + _lazyFinal($, "DEFAULT_UndoRedo", "$get$DEFAULT_UndoRedo", () => $.$get$DEFAULT_UndoRedoBuilder()._undo_redo$_build$0()); + _lazy($, "_$undoRedoItemSerializer", "$get$_$undoRedoItemSerializer", () => new A._$UndoRedoItemSerializer()); + _lazy($, "_$vendorFieldsSerializer", "$get$_$vendorFieldsSerializer", () => new A._$VendorFieldsSerializer()); + _lazyFinal($, "color_cycler", "$get$color_cycler", () => new A.ColorCycler()); + _lazy($, "ColorCycler_colors", "$get$ColorCycler_colors", () => A._setArrayType([A.RgbColor$(204, 0, 0), A.RgbColor$(50, 184, 108), A.RgbColor$(247, 67, 8), A.RgbColor$(87, 187, 0), A.RgbColor$(0, 114, 0), A.RgbColor$(170, 170, 0), A.RgbColor$(3, 182, 162), A.RgbColor$(247, 147, 30), A.RgbColor$(50, 0, 150), A.RgbColor$(184, 5, 108), A.RgbColor$(51, 51, 51), A.RgbColor$(115, 0, 222), A.RgbColor$(136, 136, 136)], A.findType("JSArray"))); + _lazyFinal($, "ColorCycler_scaffold_color", "$get$ColorCycler_scaffold_color", () => $.$get$default_scaffold_color()); + _lazyFinal($, "scaffold_color", "$get$scaffold_color", () => $.$get$ColorCycler_scaffold_color()); + _lazy($, "set_equality", "$get$set_equality", () => A.SetEquality$(B.C_DefaultEquality, type$.dynamic)); + _lazyFinal($, "$End3PrimeComponentFactory", "$get$$End3PrimeComponentFactory", () => A.registerComponent2(new A.$End3PrimeComponentFactory_closure(), A.lib_3p_end___$End3Prime$closure(), B.Type_End3PrimeComponent_Eo2, false, null, B.List_Zyt)); + _lazyFinal($, "$End5PrimeComponentFactory", "$get$$End5PrimeComponentFactory", () => A.registerComponent2(new A.$End5PrimeComponentFactory_closure(), A.lib_5p_end___$End5Prime$closure(), B.Type_End5PrimeComponent_E4y, false, null, B.List_Zyt)); + _lazy($, "ConnectedAxisArrowsMain", "$get$ConnectedAxisArrowsMain", () => A.connect(null, false, new A.ConnectedAxisArrowsMain_closure(), null, type$.AppState, A.findType("AxisArrowsMainProps")).call$1(A.axis_arrows_main___$AxisArrowsMain$closure())); + _lazyFinal($, "$DesignMainArrowsComponentFactory", "$get$$DesignMainArrowsComponentFactory", () => A.registerComponent2(new A.$DesignMainArrowsComponentFactory_closure(), A.axis_arrows_main___$AxisArrowsMain$closure(), B.Type_DesignMainArrowsComponent_u3m, false, null, B.List_Zyt)); + _lazy($, "ConnectedAxisArrowsSide", "$get$ConnectedAxisArrowsSide", () => A.connect(null, false, new A.ConnectedAxisArrowsSide_closure(), null, type$.AppState, A.findType("AxisArrowsSideProps")).call$1(A.axis_arrows_side___$AxisArrowsSide$closure())); + _lazyFinal($, "$AxisArrowsComponentFactory", "$get$$AxisArrowsComponentFactory", () => A.registerComponent2(new A.$AxisArrowsComponentFactory_closure(), A.axis_arrows_side___$AxisArrowsSide$closure(), B.Type_AxisArrowsComponent_2jN, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignContextMenu", "$get$ConnectedDesignContextMenu", () => A.connect(null, false, new A.ConnectedDesignContextMenu_closure(), null, type$.AppState, A.findType("DesignContextMenuProps")).call$1(A.design_context_menu___$DesignContextMenu$closure())); + _lazyFinal($, "$DesignContextMenuComponentFactory", "$get$$DesignContextMenuComponentFactory", () => A.registerComponent2(new A.$DesignContextMenuComponentFactory_closure(), A.design_context_menu___$DesignContextMenu$closure(), B.Type_DesignContextMenuComponent_CB6, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignContextSubmenuComponentFactory", "$get$$DesignContextSubmenuComponentFactory", () => A.registerComponent2(new A.$DesignContextSubmenuComponentFactory_closure(), A.design_context_menu___$DesignContextSubmenu$closure(), B.Type_RoN, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignDialogForm", "$get$ConnectedDesignDialogForm", () => A.connect(null, false, new A.ConnectedDesignDialogForm_closure(), null, type$.AppState, A.findType("DesignDialogFormProps")).call$1(A.design_dialog_form___$DesignDialogForm$closure())); + _lazyFinal($, "$DesignDialogFormComponentFactory", "$get$$DesignDialogFormComponentFactory", () => A.registerComponent2(new A.$DesignDialogFormComponentFactory_closure(), A.design_dialog_form___$DesignDialogForm$closure(), B.Type_DesignDialogFormComponent_qsu, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignFooter", "$get$ConnectedDesignFooter", () => A.connect(null, false, new A.ConnectedDesignFooter_closure(), null, type$.AppState, A.findType("DesignFooterProps")).call$1(A.design_footer___$DesignFooter$closure())); + _lazyFinal($, "$DesignFooterComponentFactory", "$get$$DesignFooterComponentFactory", () => A.registerComponent2(new A.$DesignFooterComponentFactory_closure(), A.design_footer___$DesignFooter$closure(), B.Type_DesignFooterComponent_2jN, false, null, B.List_Zyt)); + _lazy($, "ConnectedLoadingDialog", "$get$ConnectedLoadingDialog", () => A.connect(null, false, new A.ConnectedLoadingDialog_closure(), null, type$.AppState, A.findType("DesignLoadingDialogProps")).call$1(A.design_loading_dialog___$DesignLoadingDialog$closure())); + _lazyFinal($, "$DesignLoadingDialogComponentFactory", "$get$$DesignLoadingDialogComponentFactory", () => A.registerComponent2(new A.$DesignLoadingDialogComponentFactory_closure(), A.design_loading_dialog___$DesignLoadingDialog$closure(), B.Type_DesignLoadingDialogComponent_UAO, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignMain", "$get$ConnectedDesignMain", () => A.connect(null, false, new A.ConnectedDesignMain_closure(), null, type$.AppState, A.findType("DesignMainProps")).call$1(A.design_main___$DesignMain$closure())); + _lazyFinal($, "$DesignMainComponentFactory", "$get$$DesignMainComponentFactory", () => A.registerComponent2(new A.$DesignMainComponentFactory_closure(), A.design_main___$DesignMain$closure(), B.Type_DesignMainComponent_zC4, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainBasePairLinesComponentFactory", "$get$$DesignMainBasePairLinesComponentFactory", () => A.registerComponent2(new A.$DesignMainBasePairLinesComponentFactory_closure(), A.design_main_base_pair_lines___$DesignMainBasePairLines$closure(), B.Type_y0U, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainBasePairRectangleComponentFactory", "$get$$DesignMainBasePairRectangleComponentFactory", () => A.registerComponent2(new A.$DesignMainBasePairRectangleComponentFactory_closure(), A.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure(), B.Type_AeS, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDNAMismatchesComponentFactory", "$get$$DesignMainDNAMismatchesComponentFactory", () => A.registerComponent2(new A.$DesignMainDNAMismatchesComponentFactory_closure(), A.design_main_dna_mismatches___$DesignMainDNAMismatches$closure(), B.Type_QtW, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDNASequenceComponentFactory", "$get$$DesignMainDNASequenceComponentFactory", () => A.registerComponent2(new A.$DesignMainDNASequenceComponentFactory_closure(), A.design_main_dna_sequence___$DesignMainDNASequence$closure(), B.Type_F7U, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDNASequencesComponentFactory", "$get$$DesignMainDNASequencesComponentFactory", () => A.registerComponent2(new A.$DesignMainDNASequencesComponentFactory_closure(), A.design_main_dna_sequences___$DesignMainDNASequences$closure(), B.Type_qJx, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDomainMovingComponentFactory", "$get$$DesignMainDomainMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainMovingComponentFactory_closure(), A.design_main_domain_moving___$DesignMainDomainMoving$closure(), B.Type_3dV, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDomainNameMismatchesComponentFactory", "$get$$DesignMainDomainNameMismatchesComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainNameMismatchesComponentFactory_closure(), A.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure(), B.Type_Sfe, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignMainDomainsMoving", "$get$ConnectedDesignMainDomainsMoving", () => A.connect(null, false, new A.ConnectedDesignMainDomainsMoving_closure(), null, type$.AppState, A.findType("DesignMainDomainsMovingProps")).call$1(A.design_main_domains_moving___$DesignMainDomainsMoving$closure())); + _lazyFinal($, "$DesignMainDomainsMovingComponentFactory", "$get$$DesignMainDomainsMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainsMovingComponentFactory_closure(), A.design_main_domains_moving___$DesignMainDomainsMoving$closure(), B.Type_Ucj, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainErrorBoundaryComponentFactory", "$get$$DesignMainErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$DesignMainErrorBoundaryComponentFactory_closure(), A.design_main_error_boundary___$DesignMainErrorBoundary$closure(), B.Type_gzy, true, null, B.List_empty0)); + _lazyFinal($, "$DesignMainHelicesComponentFactory", "$get$$DesignMainHelicesComponentFactory", () => A.registerComponent2(new A.$DesignMainHelicesComponentFactory_closure(), A.design_main_helices___$DesignMainHelices$closure(), B.Type_DesignMainHelicesComponent_m81, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainHelixComponentFactory", "$get$$DesignMainHelixComponentFactory", () => A.registerComponent2(new A.$DesignMainHelixComponentFactory_closure(), A.design_main_helix___$DesignMainHelix$closure(), B.Type_DesignMainHelixComponent_etC, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainLoopoutExtensionLengthComponentFactory", "$get$$DesignMainLoopoutExtensionLengthComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutExtensionLengthComponentFactory_closure(), A.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure(), B.Type_YX3, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainLoopoutExtensionLengthsComponentFactory", "$get$$DesignMainLoopoutExtensionLengthsComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutExtensionLengthsComponentFactory_closure(), A.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure(), B.Type_2bx, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainPotentialVerticalCrossoverComponentFactory", "$get$$DesignMainPotentialVerticalCrossoverComponentFactory", () => A.registerComponent2(new A.$DesignMainPotentialVerticalCrossoverComponentFactory_closure(), A.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure(), B.Type_qlj, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainPotentialVerticalCrossoversComponentFactory", "$get$$DesignMainPotentialVerticalCrossoversComponentFactory", () => A.registerComponent2(new A.$DesignMainPotentialVerticalCrossoversComponentFactory_closure(), A.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure(), B.Type_IJa, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainSliceBarComponentFactory", "$get$$DesignMainSliceBarComponentFactory", () => A.registerComponent2(new A.$DesignMainSliceBarComponentFactory_closure(), A.design_main_slice_bar___$DesignMainSliceBar$closure(), B.Type_DesignMainSliceBarComponent_E8w, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandComponentFactory", "$get$$DesignMainStrandComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandComponentFactory_closure(), A.design_main_strand___$DesignMainStrand$closure(), B.Type_DesignMainStrandComponent_Met, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandAndDomainTextsComponentFactory", "$get$$DesignMainStrandAndDomainTextsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandAndDomainTextsComponentFactory_closure(), A.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure(), B.Type_eTF, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandCreatingComponentFactory", "$get$$DesignMainStrandCreatingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandCreatingComponentFactory_closure(), A.design_main_strand_creating___$DesignMainStrandCreating$closure(), B.Type_ej4, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandCrossoverComponentFactory", "$get$$DesignMainStrandCrossoverComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandCrossoverComponentFactory_closure(), A.design_main_strand_crossover___$DesignMainStrandCrossover$closure(), B.Type_k2a, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandDeletionComponentFactory", "$get$$DesignMainStrandDeletionComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandDeletionComponentFactory_closure(), A.design_main_strand_deletion___$DesignMainStrandDeletion$closure(), B.Type_NQk, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDNAEndComponentFactory", "$get$$DesignMainDNAEndComponentFactory", () => A.registerComponent2(new A.$DesignMainDNAEndComponentFactory_closure(), A.design_main_strand_dna_end___$DesignMainDNAEnd$closure(), B.Type_DesignMainDNAEndComponent_dcz, false, null, B.List_Zyt)); + _lazy($, "ConnectedEndMoving", "$get$ConnectedEndMoving", () => A.connect(A.app().context_dna_ends_move, false, null, new A.ConnectedEndMoving_closure(), type$.nullable_DNAEndsMove, type$.EndMovingProps).call$1(A.design_main_strand_dna_end_moving___$EndMoving$closure())); + _lazyFinal($, "$EndMovingComponentFactory", "$get$$EndMovingComponentFactory", () => A.registerComponent2(new A.$EndMovingComponentFactory_closure(), A.design_main_strand_dna_end_moving___$EndMoving$closure(), B.Type_EndMovingComponent_wbZ, false, null, B.List_Zyt)); + _lazy($, "ConnectedExtensionEndMoving", "$get$ConnectedExtensionEndMoving", () => A.connect(A.app().context_extensions_move, false, null, new A.ConnectedExtensionEndMoving_closure(), type$.DNAExtensionsMove, type$.ExtensionEndMovingProps).call$1(A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure())); + _lazyFinal($, "$ExtensionEndMovingComponentFactory", "$get$$ExtensionEndMovingComponentFactory", () => A.registerComponent2(new A.$ExtensionEndMovingComponentFactory_closure(), A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure(), B.Type_ExtensionEndMovingComponent_wIq, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainDomainComponentFactory", "$get$$DesignMainDomainComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainComponentFactory_closure(), A.design_main_strand_domain___$DesignMainDomain$closure(), B.Type_DesignMainDomainComponent_WvD, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandDomainTextComponentFactory", "$get$$DesignMainStrandDomainTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandDomainTextComponentFactory_closure(), A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure(), B.Type_8sg, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainExtensionComponentFactory", "$get$$DesignMainExtensionComponentFactory", () => A.registerComponent2(new A.$DesignMainExtensionComponentFactory_closure(), A.design_main_strand_extension___$DesignMainExtension$closure(), B.Type_DesignMainExtensionComponent_aJt, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandExtensionTextComponentFactory", "$get$$DesignMainStrandExtensionTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandExtensionTextComponentFactory_closure(), A.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure(), B.Type_qxd, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandInsertionComponentFactory", "$get$$DesignMainStrandInsertionComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandInsertionComponentFactory_closure(), A.design_main_strand_insertion___$DesignMainStrandInsertion$closure(), B.Type_TRH, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainLoopoutComponentFactory", "$get$$DesignMainLoopoutComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutComponentFactory_closure(), A.design_main_strand_loopout___$DesignMainLoopout$closure(), B.Type_DesignMainLoopoutComponent_Tng, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandLoopoutTextComponentFactory", "$get$$DesignMainStrandLoopoutTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandLoopoutTextComponentFactory_closure(), A.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure(), B.Type_fVV, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandModificationComponentFactory", "$get$$DesignMainStrandModificationComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandModificationComponentFactory_closure(), A.design_main_strand_modification___$DesignMainStrandModification$closure(), B.Type_o8I, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandModificationsComponentFactory", "$get$$DesignMainStrandModificationsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandModificationsComponentFactory_closure(), A.design_main_strand_modifications___$DesignMainStrandModifications$closure(), B.Type_Wbn, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandMovingComponentFactory", "$get$$DesignMainStrandMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandMovingComponentFactory_closure(), A.design_main_strand_moving___$DesignMainStrandMoving$closure(), B.Type_6eO, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainStrandPathsComponentFactory", "$get$$DesignMainStrandPathsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandPathsComponentFactory_closure(), A.design_main_strand_paths___$DesignMainStrandPaths$closure(), B.Type_Ykb, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignMainStrands", "$get$ConnectedDesignMainStrands", () => A.connect(null, false, new A.ConnectedDesignMainStrands_closure(), null, type$.AppState, A.findType("DesignMainStrandsProps")).call$1(A.design_main_strands___$DesignMainStrands$closure())); + _lazyFinal($, "$DesignMainStrandsComponentFactory", "$get$$DesignMainStrandsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandsComponentFactory_closure(), A.design_main_strands___$DesignMainStrands$closure(), B.Type_DesignMainStrandsComponent_qBX, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignMainStrandsMoving", "$get$ConnectedDesignMainStrandsMoving", () => A.connect(null, false, new A.ConnectedDesignMainStrandsMoving_closure(), null, type$.AppState, A.findType("DesignMainStrandsMovingProps")).call$1(A.design_main_strands_moving___$DesignMainStrandsMoving$closure())); + _lazyFinal($, "$DesignMainStrandsMovingComponentFactory", "$get$$DesignMainStrandsMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandsMovingComponentFactory_closure(), A.design_main_strands_moving___$DesignMainStrandsMoving$closure(), B.Type_23h, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainUnpairedInsertionDeletionsComponentFactory", "$get$$DesignMainUnpairedInsertionDeletionsComponentFactory", () => A.registerComponent2(new A.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure(), A.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure(), B.Type_bbH, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignMainWarningStarComponentFactory", "$get$$DesignMainWarningStarComponentFactory", () => A.registerComponent2(new A.$DesignMainWarningStarComponentFactory_closure(), A.design_main_warning_star___$DesignMainWarningStar$closure(), B.Type_k1a, false, null, B.List_Zyt)); + _lazy($, "ConnectedDesignSide", "$get$ConnectedDesignSide", () => A.connect(null, false, new A.ConnectedDesignSide_closure(), null, type$.AppState, A.findType("DesignSideProps")).call$1(A.design_side___$DesignSide$closure())); + _lazyFinal($, "$DesignSideComponentFactory", "$get$$DesignSideComponentFactory", () => A.registerComponent2(new A.$DesignSideComponentFactory_closure(), A.design_side___$DesignSide$closure(), B.Type_DesignSideComponent_G7N, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignSideHelixComponentFactory", "$get$$DesignSideHelixComponentFactory", () => A.registerComponent2(new A.$DesignSideHelixComponentFactory_closure(), A.design_side_helix___$DesignSideHelix$closure(), B.Type_DesignSideHelixComponent_Uq5, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignSidePotentialHelixComponentFactory", "$get$$DesignSidePotentialHelixComponentFactory", () => A.registerComponent2(new A.$DesignSidePotentialHelixComponentFactory_closure(), A.design_side_potential_helix___$DesignSidePotentialHelix$closure(), B.Type_QfR, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignSideRotationComponentFactory", "$get$$DesignSideRotationComponentFactory", () => A.registerComponent2(new A.$DesignSideRotationComponentFactory_closure(), A.design_side_rotation___$DesignSideRotation$closure(), B.Type_DesignSideRotationComponent_I27, false, null, B.List_Zyt)); + _lazyFinal($, "$DesignSideRotationArrowComponentFactory", "$get$$DesignSideRotationArrowComponentFactory", () => A.registerComponent2(new A.$DesignSideRotationArrowComponentFactory_closure(), A.design_side_rotation_arrow___$DesignSideRotationArrow$closure(), B.Type_DNd, false, null, B.List_Zyt)); + _lazy($, "ConnectedEditAndSelectModes", "$get$ConnectedEditAndSelectModes", () => A.connect(null, true, new A.ConnectedEditAndSelectModes_closure(), null, type$.AppState, A.findType("EditAndSelectModesProps")).call$1(A.edit_and_select_modes___$EditAndSelectModes$closure())); + _lazyFinal($, "$EditAndSelectModesComponentFactory", "$get$$EditAndSelectModesComponentFactory", () => A.registerComponent2(new A.$EditAndSelectModesComponentFactory_closure(), A.edit_and_select_modes___$EditAndSelectModes$closure(), B.Type_EditAndSelectModesComponent_yz6, false, null, B.List_Zyt)); + _lazyFinal($, "$EditModeComponentFactory", "$get$$EditModeComponentFactory", () => A.registerComponent2(new A.$EditModeComponentFactory_closure(), A.edit_mode___$EditMode$closure(), B.Type_EditModeComponent_sLD, false, null, B.List_Zyt)); + _lazy($, "ConnectedHelixGroupMoving", "$get$ConnectedHelixGroupMoving", () => A.connect(A.app().context_helix_group_move, false, new A.ConnectedHelixGroupMoving_closure(), null, type$.nullable_HelixGroupMove, A.findType("HelixGroupMovingProps")).call$1(A.helix_group_moving___$HelixGroupMoving$closure())); + _lazyFinal($, "$HelixGroupMovingComponentFactory", "$get$$HelixGroupMovingComponentFactory", () => A.registerComponent2(new A.$HelixGroupMovingComponentFactory_closure(), A.helix_group_moving___$HelixGroupMoving$closure(), B.Type_HelixGroupMovingComponent_ahM, false, null, B.List_Zyt)); + _lazy($, "ConnectedMenu", "$get$ConnectedMenu", () => A.connect(null, true, new A.ConnectedMenu_closure(), null, type$.AppState, A.findType("MenuProps")).call$1(A.menu___$Menu$closure())); + _lazyFinal($, "$MenuComponentFactory", "$get$$MenuComponentFactory", () => A.registerComponent2(new A.$MenuComponentFactory_closure(), A.menu___$Menu$closure(), B.Type_MenuComponent_4CA, false, null, B.List_Zyt)); + _lazyFinal($, "$MenuBooleanComponentFactory", "$get$$MenuBooleanComponentFactory", () => A.registerComponent2(new A.$MenuBooleanComponentFactory_closure(), A.menu_boolean___$MenuBoolean$closure(), B.Type_MenuBooleanComponent_2Lo, false, null, B.List_Zyt)); + _lazyFinal($, "$MenuDropdownItemComponentFactory", "$get$$MenuDropdownItemComponentFactory", () => A.registerComponent2(new A.$MenuDropdownItemComponentFactory_closure(), A.menu_dropdown_item___$MenuDropdownItem$closure(), B.Type_MenuDropdownItemComponent_YEs, false, null, B.List_Zyt)); + _lazyFinal($, "$MenuDropdownRightComponentFactory", "$get$$MenuDropdownRightComponentFactory", () => A.registerComponent2(new A.$MenuDropdownRightComponentFactory_closure(), A.menu_dropdown_right___$MenuDropdownRight$closure(), B.Type_MenuDropdownRightComponent_4QF, false, null, B.List_Zyt)); + _lazyFinal($, "$MenuFormFileComponentFactory", "$get$$MenuFormFileComponentFactory", () => A.registerComponent2(new A.$MenuFormFileComponentFactory_closure(), A.menu_form_file___$MenuFormFile$closure(), B.Type_MenuFormFileComponent_6TA, false, null, B.List_Zyt)); + _lazyFinal($, "$MenuNumberComponentFactory", "$get$$MenuNumberComponentFactory", () => A.registerComponent2(new A.$MenuNumberComponentFactory_closure(), A.menu_number___$MenuNumber$closure(), B.Type_MenuNumberComponent_qRH, false, null, B.List_Zyt)); + _lazy($, "ConnectedSideMenu", "$get$ConnectedSideMenu", () => A.connect(null, true, new A.ConnectedSideMenu_closure(), null, type$.AppState, A.findType("SideMenuProps")).call$1(A.menu_side___$SideMenu$closure())); + _lazyFinal($, "$SideMenuComponentFactory", "$get$$SideMenuComponentFactory", () => A.registerComponent2(new A.$SideMenuComponentFactory_closure(), A.menu_side___$SideMenu$closure(), B.Type_SideMenuComponent_oEK, false, null, B.List_Zyt)); + _lazy($, "ConnectedPotentialCrossoverView", "$get$ConnectedPotentialCrossoverView", () => A.connect(A.app().context_potential_crossover, false, new A.ConnectedPotentialCrossoverView_closure(), null, type$.PotentialCrossover, A.findType("PotentialCrossoverViewProps")).call$1(A.potential_crossover_view___$PotentialCrossoverView$closure())); + _lazyFinal($, "$PotentialCrossoverViewComponentFactory", "$get$$PotentialCrossoverViewComponentFactory", () => A.registerComponent2(new A.$PotentialCrossoverViewComponentFactory_closure(), A.potential_crossover_view___$PotentialCrossoverView$closure(), B.Type_B8J, false, null, B.List_Zyt)); + _lazy($, "ConnectedPotentialExtensionsView", "$get$ConnectedPotentialExtensionsView", () => A.connect(A.app().context_extensions_move, false, null, new A.ConnectedPotentialExtensionsView_closure(), type$.DNAExtensionsMove, type$.PotentialExtensionsViewProps).call$1(A.potential_extensions_view___$PotentialExtensionsView$closure())); + _lazyFinal($, "$PotentialExtensionsViewComponentFactory", "$get$$PotentialExtensionsViewComponentFactory", () => A.registerComponent2(new A.$PotentialExtensionsViewComponentFactory_closure(), A.potential_extensions_view___$PotentialExtensionsView$closure(), B.Type_L5J, false, null, B.List_Zyt)); + _lazyFinal($, "DropdownButton", "$get$DropdownButton", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownButton, true)); + _lazyFinal($, "DropdownDivider", "$get$DropdownDivider", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownDivider, true)); + _lazyFinal($, "DropdownItem", "$get$DropdownItem", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownItem, true)); + _lazyFinal($, "Navbar", "$get$Navbar", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.Navbar, true)); + _lazyFinal($, "NavbarBrand", "$get$NavbarBrand", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavbarBrand, true)); + _lazyFinal($, "NavDropdown", "$get$NavDropdown", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavDropdown, true)); + _lazyFinal($, "FormFile", "$get$FormFile", () => A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.FormFile, true)); + _lazyFinal($, "SketchPicker", "$get$SketchPicker", () => A.ReactJsComponentFactoryProxy$(self.ReactColor.SketchPicker, true)); + _lazyFinal($, "$SelectModeComponentFactory", "$get$$SelectModeComponentFactory", () => A.registerComponent2(new A.$SelectModeComponentFactory_closure(), A.select_mode___$SelectMode$closure(), B.Type_SelectModeComponent_uvy, false, null, B.List_Zyt)); + _lazy($, "ConnectedSelectionBoxView", "$get$ConnectedSelectionBoxView", () => A.connect(A.app().context_selection_box, false, null, new A.ConnectedSelectionBoxView_closure(), type$.SelectionBox, type$.SelectionBoxViewProps).call$1(A.selection_box_view___$SelectionBoxView$closure())); + _lazyFinal($, "$SelectionBoxViewComponentFactory", "$get$$SelectionBoxViewComponentFactory", () => A.registerComponent2(new A.$SelectionBoxViewComponentFactory_closure(), A.selection_box_view___$SelectionBoxView$closure(), B.Type_SelectionBoxViewComponent_Wzb, false, null, B.List_Zyt)); + _lazy($, "ConnectedSelectionRopeView", "$get$ConnectedSelectionRopeView", () => A.connect(A.app().context_selection_rope, false, null, new A.ConnectedSelectionRopeView_closure(), type$.SelectionRope, type$.SelectionRopeViewProps).call$1(A.selection_rope_view___$SelectionRopeView$closure())); + _lazyFinal($, "$SelectionRopeViewComponentFactory", "$get$$SelectionRopeViewComponentFactory", () => A.registerComponent2(new A.$SelectionRopeViewComponentFactory_closure(), A.selection_rope_view___$SelectionRopeView$closure(), B.Type_SelectionRopeViewComponent_6D4, false, null, B.List_Zyt)); + _lazy($, "ConnectedStrandOrSubstrandColorPicker", "$get$ConnectedStrandOrSubstrandColorPicker", () => A.connect(null, false, new A.ConnectedStrandOrSubstrandColorPicker_closure(), null, type$.AppState, A.findType("StrandOrSubstrandColorPickerProps")).call$1(A.strand_color_picker___$StrandOrSubstrandColorPicker$closure())); + _lazyFinal($, "$StrandOrSubstrandColorPickerComponentFactory", "$get$$StrandOrSubstrandColorPickerComponentFactory", () => A.registerComponent2(new A.$StrandOrSubstrandColorPickerComponentFactory_closure(), A.strand_color_picker___$StrandOrSubstrandColorPicker$closure(), B.Type_6Lu, false, null, B.List_Zyt)); + _lazyFinal($, "_textPattern", "$get$_textPattern", () => A.RegExp_RegExp("[&<\\u0001-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f-\\u0084\\u0086-\\u009f]|]]>", true)); + _lazyFinal($, "_singeQuoteAttributePattern", "$get$_singeQuoteAttributePattern", () => A.RegExp_RegExp("['&<\\n\\r\\t\\u0001-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f-\\u0084\\u0086-\\u009f]", true)); + _lazyFinal($, "_doubleQuoteAttributePattern", "$get$_doubleQuoteAttributePattern", () => A.RegExp_RegExp('["&<\\n\\r\\t\\u0001-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f-\\u0084\\u0086-\\u009f]', true)); + _lazyFinal($, "eventParserCache", "$get$eventParserCache", () => new A.XmlCache(new A.eventParserCache_closure(), 5, A.LinkedHashMap_LinkedHashMap$_empty(type$.XmlEntityMapping, A.findType("Parser")), A.findType("XmlCache>"))); })(); (function nativeSupport() { !function() { @@ -162417,19 +163019,19 @@ } init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); }(); - hunkHelpers.setOrUpdateInterceptorsByTag({AnimationEffectReadOnly: J.Interceptor, AnimationEffectTiming: J.Interceptor, AnimationEffectTimingReadOnly: J.Interceptor, AnimationTimeline: J.Interceptor, AnimationWorkletGlobalScope: J.Interceptor, AuthenticatorAssertionResponse: J.Interceptor, AuthenticatorAttestationResponse: J.Interceptor, AuthenticatorResponse: J.Interceptor, BackgroundFetchFetch: J.Interceptor, BackgroundFetchManager: J.Interceptor, BackgroundFetchSettledFetch: J.Interceptor, BarProp: J.Interceptor, BarcodeDetector: J.Interceptor, Body: J.Interceptor, BudgetState: J.Interceptor, CanvasGradient: J.Interceptor, CanvasPattern: J.Interceptor, Client: J.Interceptor, Clients: J.Interceptor, CookieStore: J.Interceptor, Coordinates: J.Interceptor, Credential: J.Interceptor, CredentialUserData: J.Interceptor, CredentialsContainer: J.Interceptor, Crypto: J.Interceptor, CryptoKey: J.Interceptor, CSS: J.Interceptor, CSSVariableReferenceValue: J.Interceptor, CustomElementRegistry: J.Interceptor, DataTransferItem: J.Interceptor, DeprecatedStorageInfo: J.Interceptor, DeprecatedStorageQuota: J.Interceptor, DetectedBarcode: J.Interceptor, DetectedFace: J.Interceptor, DetectedText: J.Interceptor, DeviceAcceleration: J.Interceptor, DeviceRotationRate: J.Interceptor, DirectoryReader: J.Interceptor, DocumentOrShadowRoot: J.Interceptor, DocumentTimeline: J.Interceptor, Iterator: J.Interceptor, DOMMatrix: J.Interceptor, DOMMatrixReadOnly: J.Interceptor, DOMParser: J.Interceptor, DOMQuad: J.Interceptor, DOMStringMap: J.Interceptor, External: J.Interceptor, FaceDetector: J.Interceptor, FederatedCredential: J.Interceptor, DOMFileSystem: J.Interceptor, FontFaceSource: J.Interceptor, FormData: J.Interceptor, GamepadPose: J.Interceptor, Geolocation: J.Interceptor, Position: J.Interceptor, Headers: J.Interceptor, HTMLHyperlinkElementUtils: J.Interceptor, IdleDeadline: J.Interceptor, ImageBitmap: J.Interceptor, ImageBitmapRenderingContext: J.Interceptor, ImageCapture: J.Interceptor, InputDeviceCapabilities: J.Interceptor, IntersectionObserver: J.Interceptor, KeyframeEffect: J.Interceptor, KeyframeEffectReadOnly: J.Interceptor, MediaCapabilities: J.Interceptor, MediaCapabilitiesInfo: J.Interceptor, MediaDeviceInfo: J.Interceptor, MediaKeyStatusMap: J.Interceptor, MediaKeySystemAccess: J.Interceptor, MediaKeys: J.Interceptor, MediaKeysPolicy: J.Interceptor, MediaMetadata: J.Interceptor, MediaSession: J.Interceptor, MediaSettingsRange: J.Interceptor, MemoryInfo: J.Interceptor, MessageChannel: J.Interceptor, Metadata: J.Interceptor, MutationObserver: J.Interceptor, WebKitMutationObserver: J.Interceptor, NavigationPreloadManager: J.Interceptor, Navigator: J.Interceptor, NavigatorAutomationInformation: J.Interceptor, NavigatorConcurrentHardware: J.Interceptor, NavigatorCookies: J.Interceptor, NodeFilter: J.Interceptor, NodeIterator: J.Interceptor, NonDocumentTypeChildNode: J.Interceptor, NonElementParentNode: J.Interceptor, NoncedElement: J.Interceptor, OffscreenCanvasRenderingContext2D: J.Interceptor, PaintRenderingContext2D: J.Interceptor, PaintSize: J.Interceptor, PaintWorkletGlobalScope: J.Interceptor, PasswordCredential: J.Interceptor, Path2D: J.Interceptor, PaymentAddress: J.Interceptor, PaymentManager: J.Interceptor, PaymentResponse: J.Interceptor, PerformanceEntry: J.Interceptor, PerformanceLongTaskTiming: J.Interceptor, PerformanceMark: J.Interceptor, PerformanceMeasure: J.Interceptor, PerformanceNavigation: J.Interceptor, PerformanceNavigationTiming: J.Interceptor, PerformanceObserver: J.Interceptor, PerformanceObserverEntryList: J.Interceptor, PerformancePaintTiming: J.Interceptor, PerformanceResourceTiming: J.Interceptor, PerformanceServerTiming: J.Interceptor, PerformanceTiming: J.Interceptor, Permissions: J.Interceptor, PhotoCapabilities: J.Interceptor, Presentation: J.Interceptor, PresentationReceiver: J.Interceptor, PublicKeyCredential: J.Interceptor, PushManager: J.Interceptor, PushMessageData: J.Interceptor, PushSubscription: J.Interceptor, PushSubscriptionOptions: J.Interceptor, Range: J.Interceptor, RelatedApplication: J.Interceptor, ReportingObserver: J.Interceptor, ResizeObserver: J.Interceptor, RTCCertificate: J.Interceptor, RTCIceCandidate: J.Interceptor, mozRTCIceCandidate: J.Interceptor, RTCLegacyStatsReport: J.Interceptor, RTCRtpContributingSource: J.Interceptor, RTCRtpReceiver: J.Interceptor, RTCRtpSender: J.Interceptor, RTCSessionDescription: J.Interceptor, mozRTCSessionDescription: J.Interceptor, RTCStatsResponse: J.Interceptor, Screen: J.Interceptor, ScrollState: J.Interceptor, ScrollTimeline: J.Interceptor, Selection: J.Interceptor, SharedArrayBuffer: J.Interceptor, SpeechRecognitionAlternative: J.Interceptor, SpeechSynthesisVoice: J.Interceptor, StaticRange: J.Interceptor, StorageManager: J.Interceptor, StyleMedia: J.Interceptor, StylePropertyMap: J.Interceptor, StylePropertyMapReadonly: J.Interceptor, SyncManager: J.Interceptor, TaskAttributionTiming: J.Interceptor, TextDetector: J.Interceptor, TextMetrics: J.Interceptor, TrackDefault: J.Interceptor, TreeWalker: J.Interceptor, TrustedHTML: J.Interceptor, TrustedScriptURL: J.Interceptor, TrustedURL: J.Interceptor, UnderlyingSourceBase: J.Interceptor, URLSearchParams: J.Interceptor, VRCoordinateSystem: J.Interceptor, VRDisplayCapabilities: J.Interceptor, VRFrameData: J.Interceptor, VRFrameOfReference: J.Interceptor, VRPose: J.Interceptor, VRStageBounds: J.Interceptor, VRStageBoundsPoint: J.Interceptor, VRStageParameters: J.Interceptor, ValidityState: J.Interceptor, VideoPlaybackQuality: J.Interceptor, VideoTrack: J.Interceptor, VTTRegion: J.Interceptor, WindowClient: J.Interceptor, WorkletAnimation: J.Interceptor, WorkletGlobalScope: J.Interceptor, XPathEvaluator: J.Interceptor, XPathExpression: J.Interceptor, XPathNSResolver: J.Interceptor, XPathResult: J.Interceptor, XSLTProcessor: J.Interceptor, Bluetooth: J.Interceptor, BluetoothCharacteristicProperties: J.Interceptor, BluetoothRemoteGATTServer: J.Interceptor, BluetoothRemoteGATTService: J.Interceptor, BluetoothUUID: J.Interceptor, BudgetService: J.Interceptor, Cache: J.Interceptor, DOMFileSystemSync: J.Interceptor, DirectoryEntrySync: J.Interceptor, DirectoryReaderSync: J.Interceptor, EntrySync: J.Interceptor, FileEntrySync: J.Interceptor, FileReaderSync: J.Interceptor, FileWriterSync: J.Interceptor, HTMLAllCollection: J.Interceptor, Mojo: J.Interceptor, MojoHandle: J.Interceptor, MojoWatcher: J.Interceptor, NFC: J.Interceptor, PagePopupController: J.Interceptor, Report: J.Interceptor, Request: J.Interceptor, Response: J.Interceptor, SubtleCrypto: J.Interceptor, USBAlternateInterface: J.Interceptor, USBConfiguration: J.Interceptor, USBDevice: J.Interceptor, USBEndpoint: J.Interceptor, USBInTransferResult: J.Interceptor, USBInterface: J.Interceptor, USBIsochronousInTransferPacket: J.Interceptor, USBIsochronousInTransferResult: J.Interceptor, USBIsochronousOutTransferPacket: J.Interceptor, USBIsochronousOutTransferResult: J.Interceptor, USBOutTransferResult: J.Interceptor, WorkerLocation: J.Interceptor, WorkerNavigator: J.Interceptor, Worklet: J.Interceptor, IDBFactory: J.Interceptor, IDBIndex: J.Interceptor, IDBObserver: J.Interceptor, IDBObserverChanges: J.Interceptor, SVGAnimatedAngle: J.Interceptor, SVGAnimatedBoolean: J.Interceptor, SVGAnimatedEnumeration: J.Interceptor, SVGAnimatedInteger: J.Interceptor, SVGAnimatedLength: J.Interceptor, SVGAnimatedLengthList: J.Interceptor, SVGAnimatedNumber: J.Interceptor, SVGAnimatedNumberList: J.Interceptor, SVGAnimatedPreserveAspectRatio: J.Interceptor, SVGAnimatedRect: J.Interceptor, SVGAnimatedString: J.Interceptor, SVGAnimatedTransformList: J.Interceptor, SVGMatrix: J.Interceptor, SVGPreserveAspectRatio: J.Interceptor, SVGRect: J.Interceptor, SVGUnitTypes: J.Interceptor, AudioListener: J.Interceptor, AudioTrack: J.Interceptor, AudioWorkletGlobalScope: J.Interceptor, AudioWorkletProcessor: J.Interceptor, PeriodicWave: J.Interceptor, WebGLActiveInfo: J.Interceptor, ANGLEInstancedArrays: J.Interceptor, ANGLE_instanced_arrays: J.Interceptor, WebGLBuffer: J.Interceptor, WebGLCanvas: J.Interceptor, WebGLColorBufferFloat: J.Interceptor, WebGLCompressedTextureASTC: J.Interceptor, WebGLCompressedTextureATC: J.Interceptor, WEBGL_compressed_texture_atc: J.Interceptor, WebGLCompressedTextureETC1: J.Interceptor, WEBGL_compressed_texture_etc1: J.Interceptor, WebGLCompressedTextureETC: J.Interceptor, WebGLCompressedTexturePVRTC: J.Interceptor, WEBGL_compressed_texture_pvrtc: J.Interceptor, WebGLCompressedTextureS3TC: J.Interceptor, WEBGL_compressed_texture_s3tc: J.Interceptor, WebGLCompressedTextureS3TCsRGB: J.Interceptor, WebGLDebugRendererInfo: J.Interceptor, WEBGL_debug_renderer_info: J.Interceptor, WebGLDebugShaders: J.Interceptor, WEBGL_debug_shaders: J.Interceptor, WebGLDepthTexture: J.Interceptor, WEBGL_depth_texture: J.Interceptor, WebGLDrawBuffers: J.Interceptor, WEBGL_draw_buffers: J.Interceptor, EXTsRGB: J.Interceptor, EXT_sRGB: J.Interceptor, EXTBlendMinMax: J.Interceptor, EXT_blend_minmax: J.Interceptor, EXTColorBufferFloat: J.Interceptor, EXTColorBufferHalfFloat: J.Interceptor, EXTDisjointTimerQuery: J.Interceptor, EXTDisjointTimerQueryWebGL2: J.Interceptor, EXTFragDepth: J.Interceptor, EXT_frag_depth: J.Interceptor, EXTShaderTextureLOD: J.Interceptor, EXT_shader_texture_lod: J.Interceptor, EXTTextureFilterAnisotropic: J.Interceptor, EXT_texture_filter_anisotropic: J.Interceptor, WebGLFramebuffer: J.Interceptor, WebGLGetBufferSubDataAsync: J.Interceptor, WebGLLoseContext: J.Interceptor, WebGLExtensionLoseContext: J.Interceptor, WEBGL_lose_context: J.Interceptor, OESElementIndexUint: J.Interceptor, OES_element_index_uint: J.Interceptor, OESStandardDerivatives: J.Interceptor, OES_standard_derivatives: J.Interceptor, OESTextureFloat: J.Interceptor, OES_texture_float: J.Interceptor, OESTextureFloatLinear: J.Interceptor, OES_texture_float_linear: J.Interceptor, OESTextureHalfFloat: J.Interceptor, OES_texture_half_float: J.Interceptor, OESTextureHalfFloatLinear: J.Interceptor, OES_texture_half_float_linear: J.Interceptor, OESVertexArrayObject: J.Interceptor, OES_vertex_array_object: J.Interceptor, WebGLProgram: J.Interceptor, WebGLQuery: J.Interceptor, WebGLRenderbuffer: J.Interceptor, WebGLRenderingContext: J.Interceptor, WebGL2RenderingContext: J.Interceptor, WebGLSampler: J.Interceptor, WebGLShader: J.Interceptor, WebGLShaderPrecisionFormat: J.Interceptor, WebGLSync: J.Interceptor, WebGLTexture: J.Interceptor, WebGLTimerQueryEXT: J.Interceptor, WebGLTransformFeedback: J.Interceptor, WebGLUniformLocation: J.Interceptor, WebGLVertexArrayObject: J.Interceptor, WebGLVertexArrayObjectOES: J.Interceptor, WebGL: J.Interceptor, WebGL2RenderingContextBase: J.Interceptor, Database: J.Interceptor, SQLResultSet: J.Interceptor, SQLTransaction: J.Interceptor, ArrayBuffer: H.NativeByteBuffer, ArrayBufferView: H.NativeTypedData, DataView: H.NativeByteData, Float32Array: H.NativeFloat32List, Float64Array: H.NativeFloat64List, Int16Array: H.NativeInt16List, Int32Array: H.NativeInt32List, Int8Array: H.NativeInt8List, Uint16Array: H.NativeUint16List, Uint32Array: H.NativeUint32List, Uint8ClampedArray: H.NativeUint8ClampedList, CanvasPixelArray: H.NativeUint8ClampedList, Uint8Array: H.NativeUint8List, HTMLBRElement: W.HtmlElement, HTMLContentElement: W.HtmlElement, HTMLDListElement: W.HtmlElement, HTMLDataListElement: W.HtmlElement, HTMLDetailsElement: W.HtmlElement, HTMLDialogElement: W.HtmlElement, HTMLEmbedElement: W.HtmlElement, HTMLFieldSetElement: W.HtmlElement, HTMLHRElement: W.HtmlElement, HTMLHeadElement: W.HtmlElement, HTMLHeadingElement: W.HtmlElement, HTMLHtmlElement: W.HtmlElement, HTMLLabelElement: W.HtmlElement, HTMLLegendElement: W.HtmlElement, HTMLLinkElement: W.HtmlElement, HTMLMapElement: W.HtmlElement, HTMLMenuElement: W.HtmlElement, HTMLMetaElement: W.HtmlElement, HTMLModElement: W.HtmlElement, HTMLOListElement: W.HtmlElement, HTMLObjectElement: W.HtmlElement, HTMLOptGroupElement: W.HtmlElement, HTMLParagraphElement: W.HtmlElement, HTMLPictureElement: W.HtmlElement, HTMLQuoteElement: W.HtmlElement, HTMLScriptElement: W.HtmlElement, HTMLShadowElement: W.HtmlElement, HTMLSlotElement: W.HtmlElement, HTMLSourceElement: W.HtmlElement, HTMLSpanElement: W.HtmlElement, HTMLStyleElement: W.HtmlElement, HTMLTableCaptionElement: W.HtmlElement, HTMLTableCellElement: W.HtmlElement, HTMLTableDataCellElement: W.HtmlElement, HTMLTableHeaderCellElement: W.HtmlElement, HTMLTableColElement: W.HtmlElement, HTMLTableElement: W.HtmlElement, HTMLTableRowElement: W.HtmlElement, HTMLTableSectionElement: W.HtmlElement, HTMLTimeElement: W.HtmlElement, HTMLTitleElement: W.HtmlElement, HTMLTrackElement: W.HtmlElement, HTMLUListElement: W.HtmlElement, HTMLUnknownElement: W.HtmlElement, HTMLDirectoryElement: W.HtmlElement, HTMLFontElement: W.HtmlElement, HTMLFrameElement: W.HtmlElement, HTMLFrameSetElement: W.HtmlElement, HTMLMarqueeElement: W.HtmlElement, HTMLElement: W.HtmlElement, AccessibleNode: W.AccessibleNode, AccessibleNodeList: W.AccessibleNodeList, HTMLAnchorElement: W.AnchorElement, ApplicationCacheErrorEvent: W.ApplicationCacheErrorEvent, HTMLAreaElement: W.AreaElement, HTMLBaseElement: W.BaseElement, BeforeUnloadEvent: W.BeforeUnloadEvent, Blob: W.Blob, BluetoothRemoteGATTDescriptor: W.BluetoothRemoteGattDescriptor, HTMLBodyElement: W.BodyElement, HTMLButtonElement: W.ButtonElement, CacheStorage: W.CacheStorage, HTMLCanvasElement: W.CanvasElement, CanvasRenderingContext2D: W.CanvasRenderingContext2D, CDATASection: W.CharacterData, Comment: W.CharacterData, Text: W.CharacterData, CharacterData: W.CharacterData, CSSKeywordValue: W.CssKeywordValue, CSSNumericValue: W.CssNumericValue, CSSPerspective: W.CssPerspective, CSSCharsetRule: W.CssRule, CSSConditionRule: W.CssRule, CSSFontFaceRule: W.CssRule, CSSGroupingRule: W.CssRule, CSSImportRule: W.CssRule, CSSKeyframeRule: W.CssRule, MozCSSKeyframeRule: W.CssRule, WebKitCSSKeyframeRule: W.CssRule, CSSKeyframesRule: W.CssRule, MozCSSKeyframesRule: W.CssRule, WebKitCSSKeyframesRule: W.CssRule, CSSMediaRule: W.CssRule, CSSNamespaceRule: W.CssRule, CSSPageRule: W.CssRule, CSSSupportsRule: W.CssRule, CSSViewportRule: W.CssRule, CSSRule: W.CssRule, CSSStyleDeclaration: W.CssStyleDeclaration, MSStyleCSSProperties: W.CssStyleDeclaration, CSS2Properties: W.CssStyleDeclaration, CSSStyleRule: W.CssStyleRule, CSSStyleSheet: W.CssStyleSheet, CSSImageValue: W.CssStyleValue, CSSPositionValue: W.CssStyleValue, CSSResourceValue: W.CssStyleValue, CSSURLImageValue: W.CssStyleValue, CSSStyleValue: W.CssStyleValue, CSSMatrixComponent: W.CssTransformComponent, CSSRotation: W.CssTransformComponent, CSSScale: W.CssTransformComponent, CSSSkew: W.CssTransformComponent, CSSTranslation: W.CssTransformComponent, CSSTransformComponent: W.CssTransformComponent, CSSTransformValue: W.CssTransformValue, CSSUnitValue: W.CssUnitValue, CSSUnparsedValue: W.CssUnparsedValue, HTMLDataElement: W.DataElement, DataTransfer: W.DataTransfer, DataTransferItemList: W.DataTransferItemList, DeprecationReport: W.DeprecationReport, HTMLDivElement: W.DivElement, XMLDocument: W.Document, Document: W.Document, DOMError: W.DomError, DOMException: W.DomException, DOMImplementation: W.DomImplementation, DOMPoint: W.DomPoint, DOMPointReadOnly: W.DomPointReadOnly, ClientRectList: W.DomRectList, DOMRectList: W.DomRectList, DOMRectReadOnly: W.DomRectReadOnly, DOMStringList: W.DomStringList, DOMTokenList: W.DomTokenList, Element: W.Element, DirectoryEntry: W.Entry, Entry: W.Entry, FileEntry: W.Entry, ErrorEvent: W.ErrorEvent, AbortPaymentEvent: W.Event, AnimationEvent: W.Event, AnimationPlaybackEvent: W.Event, BackgroundFetchClickEvent: W.Event, BackgroundFetchEvent: W.Event, BackgroundFetchFailEvent: W.Event, BackgroundFetchedEvent: W.Event, BeforeInstallPromptEvent: W.Event, BlobEvent: W.Event, CanMakePaymentEvent: W.Event, ClipboardEvent: W.Event, CloseEvent: W.Event, CustomEvent: W.Event, DeviceMotionEvent: W.Event, DeviceOrientationEvent: W.Event, ExtendableEvent: W.Event, ExtendableMessageEvent: W.Event, FetchEvent: W.Event, FontFaceSetLoadEvent: W.Event, ForeignFetchEvent: W.Event, GamepadEvent: W.Event, HashChangeEvent: W.Event, InstallEvent: W.Event, MediaEncryptedEvent: W.Event, MediaQueryListEvent: W.Event, MediaStreamEvent: W.Event, MediaStreamTrackEvent: W.Event, MessageEvent: W.Event, MIDIConnectionEvent: W.Event, MIDIMessageEvent: W.Event, MutationEvent: W.Event, NotificationEvent: W.Event, PageTransitionEvent: W.Event, PaymentRequestEvent: W.Event, PaymentRequestUpdateEvent: W.Event, PopStateEvent: W.Event, PresentationConnectionAvailableEvent: W.Event, PromiseRejectionEvent: W.Event, PushEvent: W.Event, RTCDataChannelEvent: W.Event, RTCDTMFToneChangeEvent: W.Event, RTCPeerConnectionIceEvent: W.Event, RTCTrackEvent: W.Event, SecurityPolicyViolationEvent: W.Event, SensorErrorEvent: W.Event, SpeechRecognitionEvent: W.Event, SpeechSynthesisEvent: W.Event, StorageEvent: W.Event, SyncEvent: W.Event, TrackEvent: W.Event, TransitionEvent: W.Event, WebKitTransitionEvent: W.Event, VRDeviceEvent: W.Event, VRDisplayEvent: W.Event, VRSessionEvent: W.Event, MojoInterfaceRequestEvent: W.Event, USBConnectionEvent: W.Event, AudioProcessingEvent: W.Event, OfflineAudioCompletionEvent: W.Event, WebGLContextEvent: W.Event, Event: W.Event, InputEvent: W.Event, SubmitEvent: W.Event, AbsoluteOrientationSensor: W.EventTarget, Accelerometer: W.EventTarget, AmbientLightSensor: W.EventTarget, Animation: W.EventTarget, ApplicationCache: W.EventTarget, DOMApplicationCache: W.EventTarget, OfflineResourceList: W.EventTarget, BackgroundFetchRegistration: W.EventTarget, BatteryManager: W.EventTarget, BroadcastChannel: W.EventTarget, CanvasCaptureMediaStreamTrack: W.EventTarget, EventSource: W.EventTarget, Gyroscope: W.EventTarget, LinearAccelerationSensor: W.EventTarget, Magnetometer: W.EventTarget, MediaDevices: W.EventTarget, MediaQueryList: W.EventTarget, MediaRecorder: W.EventTarget, MediaSource: W.EventTarget, MediaStream: W.EventTarget, MediaStreamTrack: W.EventTarget, MIDIAccess: W.EventTarget, MIDIInput: W.EventTarget, MIDIOutput: W.EventTarget, MIDIPort: W.EventTarget, NetworkInformation: W.EventTarget, Notification: W.EventTarget, OffscreenCanvas: W.EventTarget, OrientationSensor: W.EventTarget, PaymentRequest: W.EventTarget, Performance: W.EventTarget, PermissionStatus: W.EventTarget, PresentationConnection: W.EventTarget, PresentationConnectionList: W.EventTarget, PresentationRequest: W.EventTarget, RelativeOrientationSensor: W.EventTarget, RemotePlayback: W.EventTarget, RTCDataChannel: W.EventTarget, DataChannel: W.EventTarget, RTCDTMFSender: W.EventTarget, RTCPeerConnection: W.EventTarget, webkitRTCPeerConnection: W.EventTarget, mozRTCPeerConnection: W.EventTarget, ScreenOrientation: W.EventTarget, Sensor: W.EventTarget, ServiceWorker: W.EventTarget, ServiceWorkerContainer: W.EventTarget, ServiceWorkerRegistration: W.EventTarget, SharedWorker: W.EventTarget, SpeechRecognition: W.EventTarget, SpeechSynthesis: W.EventTarget, SpeechSynthesisUtterance: W.EventTarget, VR: W.EventTarget, VRDevice: W.EventTarget, VRDisplay: W.EventTarget, VRSession: W.EventTarget, VisualViewport: W.EventTarget, WebSocket: W.EventTarget, Worker: W.EventTarget, WorkerPerformance: W.EventTarget, BluetoothDevice: W.EventTarget, BluetoothRemoteGATTCharacteristic: W.EventTarget, Clipboard: W.EventTarget, MojoInterfaceInterceptor: W.EventTarget, USB: W.EventTarget, IDBDatabase: W.EventTarget, IDBTransaction: W.EventTarget, EventTarget: W.EventTarget, File: W.File, FileList: W.FileList, FileReader: W.FileReader, FileWriter: W.FileWriter, FontFace: W.FontFace, FontFaceSet: W.FontFaceSet, HTMLFormElement: W.FormElement, Gamepad: W.Gamepad, GamepadButton: W.GamepadButton, History: W.History, HTMLCollection: W.HtmlCollection, HTMLFormControlsCollection: W.HtmlCollection, HTMLOptionsCollection: W.HtmlCollection, HTMLDocument: W.HtmlDocument, XMLHttpRequest: W.HttpRequest, XMLHttpRequestUpload: W.HttpRequestEventTarget, XMLHttpRequestEventTarget: W.HttpRequestEventTarget, HTMLIFrameElement: W.IFrameElement, ImageData: W.ImageData, HTMLImageElement: W.ImageElement, HTMLInputElement: W.InputElement, IntersectionObserverEntry: W.IntersectionObserverEntry, InterventionReport: W.InterventionReport, KeyboardEvent: W.KeyboardEvent, HTMLLIElement: W.LIElement, Location: W.Location, HTMLAudioElement: W.MediaElement, HTMLMediaElement: W.MediaElement, MediaError: W.MediaError, MediaKeyMessageEvent: W.MediaKeyMessageEvent, MediaKeySession: W.MediaKeySession, MediaList: W.MediaList, MessagePort: W.MessagePort, HTMLMeterElement: W.MeterElement, MIDIInputMap: W.MidiInputMap, MIDIOutputMap: W.MidiOutputMap, MimeType: W.MimeType, MimeTypeArray: W.MimeTypeArray, WheelEvent: W.MouseEvent, MouseEvent: W.MouseEvent, DragEvent: W.MouseEvent, MutationRecord: W.MutationRecord, NavigatorUserMediaError: W.NavigatorUserMediaError, DocumentFragment: W.Node, ShadowRoot: W.Node, DocumentType: W.Node, Node: W.Node, NodeList: W.NodeList, RadioNodeList: W.NodeList, HTMLOptionElement: W.OptionElement, HTMLOutputElement: W.OutputElement, OverconstrainedError: W.OverconstrainedError, HTMLParamElement: W.ParamElement, PaymentInstruments: W.PaymentInstruments, Plugin: W.Plugin, PluginArray: W.PluginArray, PointerEvent: W.PointerEvent, PositionError: W.PositionError, HTMLPreElement: W.PreElement, PresentationAvailability: W.PresentationAvailability, PresentationConnectionCloseEvent: W.PresentationConnectionCloseEvent, ProcessingInstruction: W.ProcessingInstruction, HTMLProgressElement: W.ProgressElement, ProgressEvent: W.ProgressEvent, ResourceProgressEvent: W.ProgressEvent, ReportBody: W.ReportBody, ResizeObserverEntry: W.ResizeObserverEntry, RTCStatsReport: W.RtcStatsReport, HTMLSelectElement: W.SelectElement, SourceBuffer: W.SourceBuffer, SourceBufferList: W.SourceBufferList, SpeechGrammar: W.SpeechGrammar, SpeechGrammarList: W.SpeechGrammarList, SpeechRecognitionError: W.SpeechRecognitionError, SpeechRecognitionResult: W.SpeechRecognitionResult, Storage: W.Storage, StyleSheet: W.StyleSheet, HTMLTemplateElement: W.TemplateElement, HTMLTextAreaElement: W.TextAreaElement, TextTrack: W.TextTrack, TextTrackCue: W.TextTrackCue, VTTCue: W.TextTrackCue, TextTrackCueList: W.TextTrackCueList, TextTrackList: W.TextTrackList, TimeRanges: W.TimeRanges, Touch: W.Touch, TouchEvent: W.TouchEvent, TouchList: W.TouchList, TrackDefaultList: W.TrackDefaultList, CompositionEvent: W.UIEvent, FocusEvent: W.UIEvent, TextEvent: W.UIEvent, UIEvent: W.UIEvent, URL: W.Url, VREyeParameters: W.VREyeParameters, HTMLVideoElement: W.VideoElement, VideoTrackList: W.VideoTrackList, Window: W.Window, DOMWindow: W.Window, DedicatedWorkerGlobalScope: W.WorkerGlobalScope, ServiceWorkerGlobalScope: W.WorkerGlobalScope, SharedWorkerGlobalScope: W.WorkerGlobalScope, WorkerGlobalScope: W.WorkerGlobalScope, XMLSerializer: W.XmlSerializer, Attr: W._Attr, CSSRuleList: W._CssRuleList, ClientRect: W._DomRect, DOMRect: W._DomRect, GamepadList: W._GamepadList, NamedNodeMap: W._NamedNodeMap, MozNamedAttrMap: W._NamedNodeMap, SpeechRecognitionResultList: W._SpeechRecognitionResultList, StyleSheetList: W._StyleSheetList, IDBCursor: P.Cursor, IDBCursorWithValue: P.CursorWithValue, IDBKeyRange: P.KeyRange, IDBObjectStore: P.ObjectStore, IDBObservation: P.Observation, IDBOpenDBRequest: P.Request0, IDBVersionChangeRequest: P.Request0, IDBRequest: P.Request0, IDBVersionChangeEvent: P.VersionChangeEvent, SVGAElement: P.AElement, SVGAngle: P.Angle, SVGCircleElement: P.CircleElement, SVGDefsElement: P.DefsElement, SVGFEGaussianBlurElement: P.FEGaussianBlurElement, SVGFEMergeElement: P.FEMergeElement, SVGFEMergeNodeElement: P.FEMergeNodeElement, SVGFilterElement: P.FilterElement, SVGGElement: P.GElement, SVGEllipseElement: P.GeometryElement, SVGLineElement: P.GeometryElement, SVGPathElement: P.GeometryElement, SVGPolylineElement: P.GeometryElement, SVGGeometryElement: P.GeometryElement, SVGClipPathElement: P.GraphicsElement, SVGForeignObjectElement: P.GraphicsElement, SVGImageElement: P.GraphicsElement, SVGSwitchElement: P.GraphicsElement, SVGUseElement: P.GraphicsElement, SVGGraphicsElement: P.GraphicsElement, SVGLength: P.Length, SVGLengthList: P.LengthList, SVGNumber: P.Number, SVGNumberList: P.NumberList, SVGPoint: P.Point0, SVGPointList: P.PointList, SVGPolygonElement: P.PolygonElement, SVGRectElement: P.RectElement, SVGStringList: P.StringList, SVGAnimateElement: P.SvgElement, SVGAnimateMotionElement: P.SvgElement, SVGAnimateTransformElement: P.SvgElement, SVGAnimationElement: P.SvgElement, SVGDescElement: P.SvgElement, SVGDiscardElement: P.SvgElement, SVGFEBlendElement: P.SvgElement, SVGFEColorMatrixElement: P.SvgElement, SVGFEComponentTransferElement: P.SvgElement, SVGFECompositeElement: P.SvgElement, SVGFEConvolveMatrixElement: P.SvgElement, SVGFEDiffuseLightingElement: P.SvgElement, SVGFEDisplacementMapElement: P.SvgElement, SVGFEDistantLightElement: P.SvgElement, SVGFEFloodElement: P.SvgElement, SVGFEFuncAElement: P.SvgElement, SVGFEFuncBElement: P.SvgElement, SVGFEFuncGElement: P.SvgElement, SVGFEFuncRElement: P.SvgElement, SVGFEImageElement: P.SvgElement, SVGFEMorphologyElement: P.SvgElement, SVGFEOffsetElement: P.SvgElement, SVGFEPointLightElement: P.SvgElement, SVGFESpecularLightingElement: P.SvgElement, SVGFESpotLightElement: P.SvgElement, SVGFETileElement: P.SvgElement, SVGFETurbulenceElement: P.SvgElement, SVGLinearGradientElement: P.SvgElement, SVGMarkerElement: P.SvgElement, SVGMaskElement: P.SvgElement, SVGMetadataElement: P.SvgElement, SVGPatternElement: P.SvgElement, SVGRadialGradientElement: P.SvgElement, SVGScriptElement: P.SvgElement, SVGSetElement: P.SvgElement, SVGStopElement: P.SvgElement, SVGStyleElement: P.SvgElement, SVGSymbolElement: P.SvgElement, SVGTitleElement: P.SvgElement, SVGViewElement: P.SvgElement, SVGGradientElement: P.SvgElement, SVGComponentTransferFunctionElement: P.SvgElement, SVGFEDropShadowElement: P.SvgElement, SVGMPathElement: P.SvgElement, SVGElement: P.SvgElement, SVGSVGElement: P.SvgSvgElement, SVGTextContentElement: P.TextContentElement, SVGTextElement: P.TextElement, SVGTextPathElement: P.TextPathElement, SVGTSpanElement: P.TextPositioningElement, SVGTextPositioningElement: P.TextPositioningElement, SVGTransform: P.Transform, SVGTransformList: P.TransformList, AudioBuffer: P.AudioBuffer, AnalyserNode: P.AudioNode, RealtimeAnalyserNode: P.AudioNode, AudioDestinationNode: P.AudioNode, AudioWorkletNode: P.AudioNode, BiquadFilterNode: P.AudioNode, ChannelMergerNode: P.AudioNode, AudioChannelMerger: P.AudioNode, ChannelSplitterNode: P.AudioNode, AudioChannelSplitter: P.AudioNode, ConvolverNode: P.AudioNode, DelayNode: P.AudioNode, DynamicsCompressorNode: P.AudioNode, GainNode: P.AudioNode, AudioGainNode: P.AudioNode, IIRFilterNode: P.AudioNode, MediaElementAudioSourceNode: P.AudioNode, MediaStreamAudioDestinationNode: P.AudioNode, MediaStreamAudioSourceNode: P.AudioNode, PannerNode: P.AudioNode, AudioPannerNode: P.AudioNode, webkitAudioPannerNode: P.AudioNode, ScriptProcessorNode: P.AudioNode, JavaScriptAudioNode: P.AudioNode, StereoPannerNode: P.AudioNode, WaveShaperNode: P.AudioNode, AudioNode: P.AudioNode, AudioParam: P.AudioParam, AudioParamMap: P.AudioParamMap, AudioBufferSourceNode: P.AudioScheduledSourceNode, OscillatorNode: P.AudioScheduledSourceNode, Oscillator: P.AudioScheduledSourceNode, AudioScheduledSourceNode: P.AudioScheduledSourceNode, AudioTrackList: P.AudioTrackList, AudioContext: P.BaseAudioContext, webkitAudioContext: P.BaseAudioContext, BaseAudioContext: P.BaseAudioContext, ConstantSourceNode: P.ConstantSourceNode, OfflineAudioContext: P.OfflineAudioContext, SQLError: P.SqlError, SQLResultSetRowList: P.SqlResultSetRowList}); - hunkHelpers.setOrUpdateLeafTags({AnimationEffectReadOnly: true, AnimationEffectTiming: true, AnimationEffectTimingReadOnly: true, AnimationTimeline: true, AnimationWorkletGlobalScope: true, AuthenticatorAssertionResponse: true, AuthenticatorAttestationResponse: true, AuthenticatorResponse: true, BackgroundFetchFetch: true, BackgroundFetchManager: true, BackgroundFetchSettledFetch: true, BarProp: true, BarcodeDetector: true, Body: true, BudgetState: true, CanvasGradient: true, CanvasPattern: true, Client: true, Clients: true, CookieStore: true, Coordinates: true, Credential: true, CredentialUserData: true, CredentialsContainer: true, Crypto: true, CryptoKey: true, CSS: true, CSSVariableReferenceValue: true, CustomElementRegistry: true, DataTransferItem: true, DeprecatedStorageInfo: true, DeprecatedStorageQuota: true, DetectedBarcode: true, DetectedFace: true, DetectedText: true, DeviceAcceleration: true, DeviceRotationRate: true, DirectoryReader: true, DocumentOrShadowRoot: true, DocumentTimeline: true, Iterator: true, DOMMatrix: true, DOMMatrixReadOnly: true, DOMParser: true, DOMQuad: true, DOMStringMap: true, External: true, FaceDetector: true, FederatedCredential: true, DOMFileSystem: true, FontFaceSource: true, FormData: true, GamepadPose: true, Geolocation: true, Position: true, Headers: true, HTMLHyperlinkElementUtils: true, IdleDeadline: true, ImageBitmap: true, ImageBitmapRenderingContext: true, ImageCapture: true, InputDeviceCapabilities: true, IntersectionObserver: true, KeyframeEffect: true, KeyframeEffectReadOnly: true, MediaCapabilities: true, MediaCapabilitiesInfo: true, MediaDeviceInfo: true, MediaKeyStatusMap: true, MediaKeySystemAccess: true, MediaKeys: true, MediaKeysPolicy: true, MediaMetadata: true, MediaSession: true, MediaSettingsRange: true, MemoryInfo: true, MessageChannel: true, Metadata: true, MutationObserver: true, WebKitMutationObserver: true, NavigationPreloadManager: true, Navigator: true, NavigatorAutomationInformation: true, NavigatorConcurrentHardware: true, NavigatorCookies: true, NodeFilter: true, NodeIterator: true, NonDocumentTypeChildNode: true, NonElementParentNode: true, NoncedElement: true, OffscreenCanvasRenderingContext2D: true, PaintRenderingContext2D: true, PaintSize: true, PaintWorkletGlobalScope: true, PasswordCredential: true, Path2D: true, PaymentAddress: true, PaymentManager: true, PaymentResponse: true, PerformanceEntry: true, PerformanceLongTaskTiming: true, PerformanceMark: true, PerformanceMeasure: true, PerformanceNavigation: true, PerformanceNavigationTiming: true, PerformanceObserver: true, PerformanceObserverEntryList: true, PerformancePaintTiming: true, PerformanceResourceTiming: true, PerformanceServerTiming: true, PerformanceTiming: true, Permissions: true, PhotoCapabilities: true, Presentation: true, PresentationReceiver: true, PublicKeyCredential: true, PushManager: true, PushMessageData: true, PushSubscription: true, PushSubscriptionOptions: true, Range: true, RelatedApplication: true, ReportingObserver: true, ResizeObserver: true, RTCCertificate: true, RTCIceCandidate: true, mozRTCIceCandidate: true, RTCLegacyStatsReport: true, RTCRtpContributingSource: true, RTCRtpReceiver: true, RTCRtpSender: true, RTCSessionDescription: true, mozRTCSessionDescription: true, RTCStatsResponse: true, Screen: true, ScrollState: true, ScrollTimeline: true, Selection: true, SharedArrayBuffer: true, SpeechRecognitionAlternative: true, SpeechSynthesisVoice: true, StaticRange: true, StorageManager: true, StyleMedia: true, StylePropertyMap: true, StylePropertyMapReadonly: true, SyncManager: true, TaskAttributionTiming: true, TextDetector: true, TextMetrics: true, TrackDefault: true, TreeWalker: true, TrustedHTML: true, TrustedScriptURL: true, TrustedURL: true, UnderlyingSourceBase: true, URLSearchParams: true, VRCoordinateSystem: true, VRDisplayCapabilities: true, VRFrameData: true, VRFrameOfReference: true, VRPose: true, VRStageBounds: true, VRStageBoundsPoint: true, VRStageParameters: true, ValidityState: true, VideoPlaybackQuality: true, VideoTrack: true, VTTRegion: true, WindowClient: true, WorkletAnimation: true, WorkletGlobalScope: true, XPathEvaluator: true, XPathExpression: true, XPathNSResolver: true, XPathResult: true, XSLTProcessor: true, Bluetooth: true, BluetoothCharacteristicProperties: true, BluetoothRemoteGATTServer: true, BluetoothRemoteGATTService: true, BluetoothUUID: true, BudgetService: true, Cache: true, DOMFileSystemSync: true, DirectoryEntrySync: true, DirectoryReaderSync: true, EntrySync: true, FileEntrySync: true, FileReaderSync: true, FileWriterSync: true, HTMLAllCollection: true, Mojo: true, MojoHandle: true, MojoWatcher: true, NFC: true, PagePopupController: true, Report: true, Request: true, Response: true, SubtleCrypto: true, USBAlternateInterface: true, USBConfiguration: true, USBDevice: true, USBEndpoint: true, USBInTransferResult: true, USBInterface: true, USBIsochronousInTransferPacket: true, USBIsochronousInTransferResult: true, USBIsochronousOutTransferPacket: true, USBIsochronousOutTransferResult: true, USBOutTransferResult: true, WorkerLocation: true, WorkerNavigator: true, Worklet: true, IDBFactory: true, IDBIndex: true, IDBObserver: true, IDBObserverChanges: true, SVGAnimatedAngle: true, SVGAnimatedBoolean: true, SVGAnimatedEnumeration: true, SVGAnimatedInteger: true, SVGAnimatedLength: true, SVGAnimatedLengthList: true, SVGAnimatedNumber: true, SVGAnimatedNumberList: true, SVGAnimatedPreserveAspectRatio: true, SVGAnimatedRect: true, SVGAnimatedString: true, SVGAnimatedTransformList: true, SVGMatrix: true, SVGPreserveAspectRatio: true, SVGRect: true, SVGUnitTypes: true, AudioListener: true, AudioTrack: true, AudioWorkletGlobalScope: true, AudioWorkletProcessor: true, PeriodicWave: true, WebGLActiveInfo: true, ANGLEInstancedArrays: true, ANGLE_instanced_arrays: true, WebGLBuffer: true, WebGLCanvas: true, WebGLColorBufferFloat: true, WebGLCompressedTextureASTC: true, WebGLCompressedTextureATC: true, WEBGL_compressed_texture_atc: true, WebGLCompressedTextureETC1: true, WEBGL_compressed_texture_etc1: true, WebGLCompressedTextureETC: true, WebGLCompressedTexturePVRTC: true, WEBGL_compressed_texture_pvrtc: true, WebGLCompressedTextureS3TC: true, WEBGL_compressed_texture_s3tc: true, WebGLCompressedTextureS3TCsRGB: true, WebGLDebugRendererInfo: true, WEBGL_debug_renderer_info: true, WebGLDebugShaders: true, WEBGL_debug_shaders: true, WebGLDepthTexture: true, WEBGL_depth_texture: true, WebGLDrawBuffers: true, WEBGL_draw_buffers: true, EXTsRGB: true, EXT_sRGB: true, EXTBlendMinMax: true, EXT_blend_minmax: true, EXTColorBufferFloat: true, EXTColorBufferHalfFloat: true, EXTDisjointTimerQuery: true, EXTDisjointTimerQueryWebGL2: true, EXTFragDepth: true, EXT_frag_depth: true, EXTShaderTextureLOD: true, EXT_shader_texture_lod: true, EXTTextureFilterAnisotropic: true, EXT_texture_filter_anisotropic: true, WebGLFramebuffer: true, WebGLGetBufferSubDataAsync: true, WebGLLoseContext: true, WebGLExtensionLoseContext: true, WEBGL_lose_context: true, OESElementIndexUint: true, OES_element_index_uint: true, OESStandardDerivatives: true, OES_standard_derivatives: true, OESTextureFloat: true, OES_texture_float: true, OESTextureFloatLinear: true, OES_texture_float_linear: true, OESTextureHalfFloat: true, OES_texture_half_float: true, OESTextureHalfFloatLinear: true, OES_texture_half_float_linear: true, OESVertexArrayObject: true, OES_vertex_array_object: true, WebGLProgram: true, WebGLQuery: true, WebGLRenderbuffer: true, WebGLRenderingContext: true, WebGL2RenderingContext: true, WebGLSampler: true, WebGLShader: true, WebGLShaderPrecisionFormat: true, WebGLSync: true, WebGLTexture: true, WebGLTimerQueryEXT: true, WebGLTransformFeedback: true, WebGLUniformLocation: true, WebGLVertexArrayObject: true, WebGLVertexArrayObjectOES: true, WebGL: true, WebGL2RenderingContextBase: true, Database: true, SQLResultSet: true, SQLTransaction: true, ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLBRElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLParagraphElement: true, HTMLPictureElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, AccessibleNode: true, AccessibleNodeList: true, HTMLAnchorElement: true, ApplicationCacheErrorEvent: true, HTMLAreaElement: true, HTMLBaseElement: true, BeforeUnloadEvent: true, Blob: false, BluetoothRemoteGATTDescriptor: true, HTMLBodyElement: true, HTMLButtonElement: true, CacheStorage: true, HTMLCanvasElement: true, CanvasRenderingContext2D: true, CDATASection: true, Comment: true, Text: true, CharacterData: false, CSSKeywordValue: true, CSSNumericValue: false, CSSPerspective: true, CSSCharsetRule: true, CSSConditionRule: true, CSSFontFaceRule: true, CSSGroupingRule: true, CSSImportRule: true, CSSKeyframeRule: true, MozCSSKeyframeRule: true, WebKitCSSKeyframeRule: true, CSSKeyframesRule: true, MozCSSKeyframesRule: true, WebKitCSSKeyframesRule: true, CSSMediaRule: true, CSSNamespaceRule: true, CSSPageRule: true, CSSSupportsRule: true, CSSViewportRule: true, CSSRule: false, CSSStyleDeclaration: true, MSStyleCSSProperties: true, CSS2Properties: true, CSSStyleRule: true, CSSStyleSheet: true, CSSImageValue: true, CSSPositionValue: true, CSSResourceValue: true, CSSURLImageValue: true, CSSStyleValue: false, CSSMatrixComponent: true, CSSRotation: true, CSSScale: true, CSSSkew: true, CSSTranslation: true, CSSTransformComponent: false, CSSTransformValue: true, CSSUnitValue: true, CSSUnparsedValue: true, HTMLDataElement: true, DataTransfer: true, DataTransferItemList: true, DeprecationReport: true, HTMLDivElement: true, XMLDocument: true, Document: false, DOMError: true, DOMException: true, DOMImplementation: true, DOMPoint: true, DOMPointReadOnly: false, ClientRectList: true, DOMRectList: true, DOMRectReadOnly: false, DOMStringList: true, DOMTokenList: true, Element: false, DirectoryEntry: true, Entry: true, FileEntry: true, ErrorEvent: true, AbortPaymentEvent: true, AnimationEvent: true, AnimationPlaybackEvent: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchedEvent: true, BeforeInstallPromptEvent: true, BlobEvent: true, CanMakePaymentEvent: true, ClipboardEvent: true, CloseEvent: true, CustomEvent: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, FetchEvent: true, FontFaceSetLoadEvent: true, ForeignFetchEvent: true, GamepadEvent: true, HashChangeEvent: true, InstallEvent: true, MediaEncryptedEvent: true, MediaQueryListEvent: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MessageEvent: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MutationEvent: true, NotificationEvent: true, PageTransitionEvent: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PopStateEvent: true, PresentationConnectionAvailableEvent: true, PromiseRejectionEvent: true, PushEvent: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCPeerConnectionIceEvent: true, RTCTrackEvent: true, SecurityPolicyViolationEvent: true, SensorErrorEvent: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, StorageEvent: true, SyncEvent: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, VRDeviceEvent: true, VRDisplayEvent: true, VRSessionEvent: true, MojoInterfaceRequestEvent: true, USBConnectionEvent: true, AudioProcessingEvent: true, OfflineAudioCompletionEvent: true, WebGLContextEvent: true, Event: false, InputEvent: false, SubmitEvent: false, AbsoluteOrientationSensor: true, Accelerometer: true, AmbientLightSensor: true, Animation: true, ApplicationCache: true, DOMApplicationCache: true, OfflineResourceList: true, BackgroundFetchRegistration: true, BatteryManager: true, BroadcastChannel: true, CanvasCaptureMediaStreamTrack: true, EventSource: true, Gyroscope: true, LinearAccelerationSensor: true, Magnetometer: true, MediaDevices: true, MediaQueryList: true, MediaRecorder: true, MediaSource: true, MediaStream: true, MediaStreamTrack: true, MIDIAccess: true, MIDIInput: true, MIDIOutput: true, MIDIPort: true, NetworkInformation: true, Notification: true, OffscreenCanvas: true, OrientationSensor: true, PaymentRequest: true, Performance: true, PermissionStatus: true, PresentationConnection: true, PresentationConnectionList: true, PresentationRequest: true, RelativeOrientationSensor: true, RemotePlayback: true, RTCDataChannel: true, DataChannel: true, RTCDTMFSender: true, RTCPeerConnection: true, webkitRTCPeerConnection: true, mozRTCPeerConnection: true, ScreenOrientation: true, Sensor: true, ServiceWorker: true, ServiceWorkerContainer: true, ServiceWorkerRegistration: true, SharedWorker: true, SpeechRecognition: true, SpeechSynthesis: true, SpeechSynthesisUtterance: true, VR: true, VRDevice: true, VRDisplay: true, VRSession: true, VisualViewport: true, WebSocket: true, Worker: true, WorkerPerformance: true, BluetoothDevice: true, BluetoothRemoteGATTCharacteristic: true, Clipboard: true, MojoInterfaceInterceptor: true, USB: true, IDBDatabase: true, IDBTransaction: true, EventTarget: false, File: true, FileList: true, FileReader: true, FileWriter: true, FontFace: true, FontFaceSet: true, HTMLFormElement: true, Gamepad: true, GamepadButton: true, History: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, HTMLDocument: true, XMLHttpRequest: true, XMLHttpRequestUpload: true, XMLHttpRequestEventTarget: false, HTMLIFrameElement: true, ImageData: true, HTMLImageElement: true, HTMLInputElement: true, IntersectionObserverEntry: true, InterventionReport: true, KeyboardEvent: true, HTMLLIElement: true, Location: true, HTMLAudioElement: true, HTMLMediaElement: false, MediaError: true, MediaKeyMessageEvent: true, MediaKeySession: true, MediaList: true, MessagePort: true, HTMLMeterElement: true, MIDIInputMap: true, MIDIOutputMap: true, MimeType: true, MimeTypeArray: true, WheelEvent: true, MouseEvent: false, DragEvent: false, MutationRecord: true, NavigatorUserMediaError: true, DocumentFragment: true, ShadowRoot: true, DocumentType: true, Node: false, NodeList: true, RadioNodeList: true, HTMLOptionElement: true, HTMLOutputElement: true, OverconstrainedError: true, HTMLParamElement: true, PaymentInstruments: true, Plugin: true, PluginArray: true, PointerEvent: true, PositionError: true, HTMLPreElement: true, PresentationAvailability: true, PresentationConnectionCloseEvent: true, ProcessingInstruction: true, HTMLProgressElement: true, ProgressEvent: true, ResourceProgressEvent: true, ReportBody: false, ResizeObserverEntry: true, RTCStatsReport: true, HTMLSelectElement: true, SourceBuffer: true, SourceBufferList: true, SpeechGrammar: true, SpeechGrammarList: true, SpeechRecognitionError: true, SpeechRecognitionResult: true, Storage: true, StyleSheet: false, HTMLTemplateElement: true, HTMLTextAreaElement: true, TextTrack: true, TextTrackCue: true, VTTCue: true, TextTrackCueList: true, TextTrackList: true, TimeRanges: true, Touch: true, TouchEvent: true, TouchList: true, TrackDefaultList: true, CompositionEvent: true, FocusEvent: true, TextEvent: true, UIEvent: false, URL: true, VREyeParameters: true, HTMLVideoElement: true, VideoTrackList: true, Window: true, DOMWindow: true, DedicatedWorkerGlobalScope: true, ServiceWorkerGlobalScope: true, SharedWorkerGlobalScope: true, WorkerGlobalScope: true, XMLSerializer: true, Attr: true, CSSRuleList: true, ClientRect: true, DOMRect: true, GamepadList: true, NamedNodeMap: true, MozNamedAttrMap: true, SpeechRecognitionResultList: true, StyleSheetList: true, IDBCursor: false, IDBCursorWithValue: true, IDBKeyRange: true, IDBObjectStore: true, IDBObservation: true, IDBOpenDBRequest: true, IDBVersionChangeRequest: true, IDBRequest: true, IDBVersionChangeEvent: true, SVGAElement: true, SVGAngle: true, SVGCircleElement: true, SVGDefsElement: true, SVGFEGaussianBlurElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFilterElement: true, SVGGElement: true, SVGEllipseElement: true, SVGLineElement: true, SVGPathElement: true, SVGPolylineElement: true, SVGGeometryElement: false, SVGClipPathElement: true, SVGForeignObjectElement: true, SVGImageElement: true, SVGSwitchElement: true, SVGUseElement: true, SVGGraphicsElement: false, SVGLength: true, SVGLengthList: true, SVGNumber: true, SVGNumberList: true, SVGPoint: true, SVGPointList: true, SVGPolygonElement: true, SVGRectElement: true, SVGStringList: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEImageElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPatternElement: true, SVGRadialGradientElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGSymbolElement: true, SVGTitleElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true, SVGElement: false, SVGSVGElement: true, SVGTextContentElement: false, SVGTextElement: true, SVGTextPathElement: true, SVGTSpanElement: true, SVGTextPositioningElement: false, SVGTransform: true, SVGTransformList: true, AudioBuffer: true, AnalyserNode: true, RealtimeAnalyserNode: true, AudioDestinationNode: true, AudioWorkletNode: true, BiquadFilterNode: true, ChannelMergerNode: true, AudioChannelMerger: true, ChannelSplitterNode: true, AudioChannelSplitter: true, ConvolverNode: true, DelayNode: true, DynamicsCompressorNode: true, GainNode: true, AudioGainNode: true, IIRFilterNode: true, MediaElementAudioSourceNode: true, MediaStreamAudioDestinationNode: true, MediaStreamAudioSourceNode: true, PannerNode: true, AudioPannerNode: true, webkitAudioPannerNode: true, ScriptProcessorNode: true, JavaScriptAudioNode: true, StereoPannerNode: true, WaveShaperNode: true, AudioNode: false, AudioParam: true, AudioParamMap: true, AudioBufferSourceNode: true, OscillatorNode: true, Oscillator: true, AudioScheduledSourceNode: false, AudioTrackList: true, AudioContext: true, webkitAudioContext: true, BaseAudioContext: false, ConstantSourceNode: true, OfflineAudioContext: true, SQLError: true, SQLResultSetRowList: true}); - H.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; - W._SourceBufferList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; - W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; - W._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; - W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + hunkHelpers.setOrUpdateInterceptorsByTag({WebGL: J.Interceptor, AnimationEffectReadOnly: J.JavaScriptObject, AnimationEffectTiming: J.JavaScriptObject, AnimationEffectTimingReadOnly: J.JavaScriptObject, AnimationTimeline: J.JavaScriptObject, AnimationWorkletGlobalScope: J.JavaScriptObject, AuthenticatorAssertionResponse: J.JavaScriptObject, AuthenticatorAttestationResponse: J.JavaScriptObject, AuthenticatorResponse: J.JavaScriptObject, BackgroundFetchFetch: J.JavaScriptObject, BackgroundFetchManager: J.JavaScriptObject, BackgroundFetchSettledFetch: J.JavaScriptObject, BarProp: J.JavaScriptObject, BarcodeDetector: J.JavaScriptObject, Body: J.JavaScriptObject, BudgetState: J.JavaScriptObject, CanvasGradient: J.JavaScriptObject, CanvasPattern: J.JavaScriptObject, Client: J.JavaScriptObject, Clients: J.JavaScriptObject, CookieStore: J.JavaScriptObject, Coordinates: J.JavaScriptObject, Credential: J.JavaScriptObject, CredentialUserData: J.JavaScriptObject, CredentialsContainer: J.JavaScriptObject, Crypto: J.JavaScriptObject, CryptoKey: J.JavaScriptObject, CSS: J.JavaScriptObject, CSSVariableReferenceValue: J.JavaScriptObject, CustomElementRegistry: J.JavaScriptObject, DataTransferItem: J.JavaScriptObject, DeprecatedStorageInfo: J.JavaScriptObject, DeprecatedStorageQuota: J.JavaScriptObject, DetectedBarcode: J.JavaScriptObject, DetectedFace: J.JavaScriptObject, DetectedText: J.JavaScriptObject, DeviceAcceleration: J.JavaScriptObject, DeviceRotationRate: J.JavaScriptObject, DirectoryEntry: J.JavaScriptObject, webkitFileSystemDirectoryEntry: J.JavaScriptObject, FileSystemDirectoryEntry: J.JavaScriptObject, DirectoryReader: J.JavaScriptObject, WebKitDirectoryReader: J.JavaScriptObject, webkitFileSystemDirectoryReader: J.JavaScriptObject, FileSystemDirectoryReader: J.JavaScriptObject, DocumentOrShadowRoot: J.JavaScriptObject, DocumentTimeline: J.JavaScriptObject, Iterator: J.JavaScriptObject, DOMMatrix: J.JavaScriptObject, DOMMatrixReadOnly: J.JavaScriptObject, DOMParser: J.JavaScriptObject, DOMQuad: J.JavaScriptObject, DOMStringMap: J.JavaScriptObject, Entry: J.JavaScriptObject, webkitFileSystemEntry: J.JavaScriptObject, FileSystemEntry: J.JavaScriptObject, External: J.JavaScriptObject, FaceDetector: J.JavaScriptObject, FederatedCredential: J.JavaScriptObject, FileEntry: J.JavaScriptObject, webkitFileSystemFileEntry: J.JavaScriptObject, FileSystemFileEntry: J.JavaScriptObject, DOMFileSystem: J.JavaScriptObject, WebKitFileSystem: J.JavaScriptObject, webkitFileSystem: J.JavaScriptObject, FileSystem: J.JavaScriptObject, FontFaceSource: J.JavaScriptObject, FormData: J.JavaScriptObject, GamepadPose: J.JavaScriptObject, Geolocation: J.JavaScriptObject, Position: J.JavaScriptObject, GeolocationPosition: J.JavaScriptObject, Headers: J.JavaScriptObject, HTMLHyperlinkElementUtils: J.JavaScriptObject, IdleDeadline: J.JavaScriptObject, ImageBitmap: J.JavaScriptObject, ImageBitmapRenderingContext: J.JavaScriptObject, ImageCapture: J.JavaScriptObject, InputDeviceCapabilities: J.JavaScriptObject, IntersectionObserver: J.JavaScriptObject, KeyframeEffect: J.JavaScriptObject, KeyframeEffectReadOnly: J.JavaScriptObject, MediaCapabilities: J.JavaScriptObject, MediaCapabilitiesInfo: J.JavaScriptObject, MediaDeviceInfo: J.JavaScriptObject, MediaKeyStatusMap: J.JavaScriptObject, MediaKeySystemAccess: J.JavaScriptObject, MediaKeys: J.JavaScriptObject, MediaKeysPolicy: J.JavaScriptObject, MediaMetadata: J.JavaScriptObject, MediaSession: J.JavaScriptObject, MediaSettingsRange: J.JavaScriptObject, MemoryInfo: J.JavaScriptObject, MessageChannel: J.JavaScriptObject, Metadata: J.JavaScriptObject, MutationObserver: J.JavaScriptObject, WebKitMutationObserver: J.JavaScriptObject, NavigationPreloadManager: J.JavaScriptObject, Navigator: J.JavaScriptObject, NavigatorAutomationInformation: J.JavaScriptObject, NavigatorConcurrentHardware: J.JavaScriptObject, NavigatorCookies: J.JavaScriptObject, NodeFilter: J.JavaScriptObject, NodeIterator: J.JavaScriptObject, NonDocumentTypeChildNode: J.JavaScriptObject, NonElementParentNode: J.JavaScriptObject, NoncedElement: J.JavaScriptObject, OffscreenCanvasRenderingContext2D: J.JavaScriptObject, PaintRenderingContext2D: J.JavaScriptObject, PaintSize: J.JavaScriptObject, PaintWorkletGlobalScope: J.JavaScriptObject, PasswordCredential: J.JavaScriptObject, Path2D: J.JavaScriptObject, PaymentAddress: J.JavaScriptObject, PaymentManager: J.JavaScriptObject, PaymentResponse: J.JavaScriptObject, PerformanceEntry: J.JavaScriptObject, PerformanceLongTaskTiming: J.JavaScriptObject, PerformanceMark: J.JavaScriptObject, PerformanceMeasure: J.JavaScriptObject, PerformanceNavigation: J.JavaScriptObject, PerformanceNavigationTiming: J.JavaScriptObject, PerformanceObserver: J.JavaScriptObject, PerformanceObserverEntryList: J.JavaScriptObject, PerformancePaintTiming: J.JavaScriptObject, PerformanceResourceTiming: J.JavaScriptObject, PerformanceServerTiming: J.JavaScriptObject, PerformanceTiming: J.JavaScriptObject, Permissions: J.JavaScriptObject, PhotoCapabilities: J.JavaScriptObject, Presentation: J.JavaScriptObject, PresentationReceiver: J.JavaScriptObject, PublicKeyCredential: J.JavaScriptObject, PushManager: J.JavaScriptObject, PushMessageData: J.JavaScriptObject, PushSubscription: J.JavaScriptObject, PushSubscriptionOptions: J.JavaScriptObject, Range: J.JavaScriptObject, RelatedApplication: J.JavaScriptObject, ReportingObserver: J.JavaScriptObject, ResizeObserver: J.JavaScriptObject, RTCCertificate: J.JavaScriptObject, RTCIceCandidate: J.JavaScriptObject, mozRTCIceCandidate: J.JavaScriptObject, RTCLegacyStatsReport: J.JavaScriptObject, RTCRtpContributingSource: J.JavaScriptObject, RTCRtpReceiver: J.JavaScriptObject, RTCRtpSender: J.JavaScriptObject, RTCSessionDescription: J.JavaScriptObject, mozRTCSessionDescription: J.JavaScriptObject, RTCStatsResponse: J.JavaScriptObject, Screen: J.JavaScriptObject, ScrollState: J.JavaScriptObject, ScrollTimeline: J.JavaScriptObject, Selection: J.JavaScriptObject, SpeechRecognitionAlternative: J.JavaScriptObject, SpeechSynthesisVoice: J.JavaScriptObject, StaticRange: J.JavaScriptObject, StorageManager: J.JavaScriptObject, StyleMedia: J.JavaScriptObject, StylePropertyMap: J.JavaScriptObject, StylePropertyMapReadonly: J.JavaScriptObject, SyncManager: J.JavaScriptObject, TaskAttributionTiming: J.JavaScriptObject, TextDetector: J.JavaScriptObject, TextMetrics: J.JavaScriptObject, TrackDefault: J.JavaScriptObject, TreeWalker: J.JavaScriptObject, TrustedHTML: J.JavaScriptObject, TrustedScriptURL: J.JavaScriptObject, TrustedURL: J.JavaScriptObject, UnderlyingSourceBase: J.JavaScriptObject, URLSearchParams: J.JavaScriptObject, VRCoordinateSystem: J.JavaScriptObject, VRDisplayCapabilities: J.JavaScriptObject, VRFrameData: J.JavaScriptObject, VRFrameOfReference: J.JavaScriptObject, VRPose: J.JavaScriptObject, VRStageBounds: J.JavaScriptObject, VRStageBoundsPoint: J.JavaScriptObject, VRStageParameters: J.JavaScriptObject, ValidityState: J.JavaScriptObject, VideoPlaybackQuality: J.JavaScriptObject, VideoTrack: J.JavaScriptObject, VTTRegion: J.JavaScriptObject, WindowClient: J.JavaScriptObject, WorkletAnimation: J.JavaScriptObject, WorkletGlobalScope: J.JavaScriptObject, XPathEvaluator: J.JavaScriptObject, XPathExpression: J.JavaScriptObject, XPathNSResolver: J.JavaScriptObject, XPathResult: J.JavaScriptObject, XSLTProcessor: J.JavaScriptObject, Bluetooth: J.JavaScriptObject, BluetoothCharacteristicProperties: J.JavaScriptObject, BluetoothRemoteGATTServer: J.JavaScriptObject, BluetoothRemoteGATTService: J.JavaScriptObject, BluetoothUUID: J.JavaScriptObject, BudgetService: J.JavaScriptObject, Cache: J.JavaScriptObject, DOMFileSystemSync: J.JavaScriptObject, DirectoryEntrySync: J.JavaScriptObject, DirectoryReaderSync: J.JavaScriptObject, EntrySync: J.JavaScriptObject, FileEntrySync: J.JavaScriptObject, FileReaderSync: J.JavaScriptObject, FileWriterSync: J.JavaScriptObject, HTMLAllCollection: J.JavaScriptObject, Mojo: J.JavaScriptObject, MojoHandle: J.JavaScriptObject, MojoWatcher: J.JavaScriptObject, NFC: J.JavaScriptObject, PagePopupController: J.JavaScriptObject, Report: J.JavaScriptObject, Request: J.JavaScriptObject, Response: J.JavaScriptObject, SubtleCrypto: J.JavaScriptObject, USBAlternateInterface: J.JavaScriptObject, USBConfiguration: J.JavaScriptObject, USBDevice: J.JavaScriptObject, USBEndpoint: J.JavaScriptObject, USBInTransferResult: J.JavaScriptObject, USBInterface: J.JavaScriptObject, USBIsochronousInTransferPacket: J.JavaScriptObject, USBIsochronousInTransferResult: J.JavaScriptObject, USBIsochronousOutTransferPacket: J.JavaScriptObject, USBIsochronousOutTransferResult: J.JavaScriptObject, USBOutTransferResult: J.JavaScriptObject, WorkerLocation: J.JavaScriptObject, WorkerNavigator: J.JavaScriptObject, Worklet: J.JavaScriptObject, IDBFactory: J.JavaScriptObject, IDBIndex: J.JavaScriptObject, IDBObserver: J.JavaScriptObject, IDBObserverChanges: J.JavaScriptObject, SVGAnimatedAngle: J.JavaScriptObject, SVGAnimatedBoolean: J.JavaScriptObject, SVGAnimatedEnumeration: J.JavaScriptObject, SVGAnimatedInteger: J.JavaScriptObject, SVGAnimatedLength: J.JavaScriptObject, SVGAnimatedLengthList: J.JavaScriptObject, SVGAnimatedNumber: J.JavaScriptObject, SVGAnimatedNumberList: J.JavaScriptObject, SVGAnimatedPreserveAspectRatio: J.JavaScriptObject, SVGAnimatedRect: J.JavaScriptObject, SVGAnimatedString: J.JavaScriptObject, SVGAnimatedTransformList: J.JavaScriptObject, SVGMatrix: J.JavaScriptObject, SVGPreserveAspectRatio: J.JavaScriptObject, SVGRect: J.JavaScriptObject, SVGUnitTypes: J.JavaScriptObject, AudioListener: J.JavaScriptObject, AudioTrack: J.JavaScriptObject, AudioWorkletGlobalScope: J.JavaScriptObject, AudioWorkletProcessor: J.JavaScriptObject, PeriodicWave: J.JavaScriptObject, WebGLActiveInfo: J.JavaScriptObject, ANGLEInstancedArrays: J.JavaScriptObject, ANGLE_instanced_arrays: J.JavaScriptObject, WebGLBuffer: J.JavaScriptObject, WebGLCanvas: J.JavaScriptObject, WebGLColorBufferFloat: J.JavaScriptObject, WebGLCompressedTextureASTC: J.JavaScriptObject, WebGLCompressedTextureATC: J.JavaScriptObject, WEBGL_compressed_texture_atc: J.JavaScriptObject, WebGLCompressedTextureETC1: J.JavaScriptObject, WEBGL_compressed_texture_etc1: J.JavaScriptObject, WebGLCompressedTextureETC: J.JavaScriptObject, WebGLCompressedTexturePVRTC: J.JavaScriptObject, WEBGL_compressed_texture_pvrtc: J.JavaScriptObject, WebGLCompressedTextureS3TC: J.JavaScriptObject, WEBGL_compressed_texture_s3tc: J.JavaScriptObject, WebGLCompressedTextureS3TCsRGB: J.JavaScriptObject, WebGLDebugRendererInfo: J.JavaScriptObject, WEBGL_debug_renderer_info: J.JavaScriptObject, WebGLDebugShaders: J.JavaScriptObject, WEBGL_debug_shaders: J.JavaScriptObject, WebGLDepthTexture: J.JavaScriptObject, WEBGL_depth_texture: J.JavaScriptObject, WebGLDrawBuffers: J.JavaScriptObject, WEBGL_draw_buffers: J.JavaScriptObject, EXTsRGB: J.JavaScriptObject, EXT_sRGB: J.JavaScriptObject, EXTBlendMinMax: J.JavaScriptObject, EXT_blend_minmax: J.JavaScriptObject, EXTColorBufferFloat: J.JavaScriptObject, EXTColorBufferHalfFloat: J.JavaScriptObject, EXTDisjointTimerQuery: J.JavaScriptObject, EXTDisjointTimerQueryWebGL2: J.JavaScriptObject, EXTFragDepth: J.JavaScriptObject, EXT_frag_depth: J.JavaScriptObject, EXTShaderTextureLOD: J.JavaScriptObject, EXT_shader_texture_lod: J.JavaScriptObject, EXTTextureFilterAnisotropic: J.JavaScriptObject, EXT_texture_filter_anisotropic: J.JavaScriptObject, WebGLFramebuffer: J.JavaScriptObject, WebGLGetBufferSubDataAsync: J.JavaScriptObject, WebGLLoseContext: J.JavaScriptObject, WebGLExtensionLoseContext: J.JavaScriptObject, WEBGL_lose_context: J.JavaScriptObject, OESElementIndexUint: J.JavaScriptObject, OES_element_index_uint: J.JavaScriptObject, OESStandardDerivatives: J.JavaScriptObject, OES_standard_derivatives: J.JavaScriptObject, OESTextureFloat: J.JavaScriptObject, OES_texture_float: J.JavaScriptObject, OESTextureFloatLinear: J.JavaScriptObject, OES_texture_float_linear: J.JavaScriptObject, OESTextureHalfFloat: J.JavaScriptObject, OES_texture_half_float: J.JavaScriptObject, OESTextureHalfFloatLinear: J.JavaScriptObject, OES_texture_half_float_linear: J.JavaScriptObject, OESVertexArrayObject: J.JavaScriptObject, OES_vertex_array_object: J.JavaScriptObject, WebGLProgram: J.JavaScriptObject, WebGLQuery: J.JavaScriptObject, WebGLRenderbuffer: J.JavaScriptObject, WebGLRenderingContext: J.JavaScriptObject, WebGL2RenderingContext: J.JavaScriptObject, WebGLSampler: J.JavaScriptObject, WebGLShader: J.JavaScriptObject, WebGLShaderPrecisionFormat: J.JavaScriptObject, WebGLSync: J.JavaScriptObject, WebGLTexture: J.JavaScriptObject, WebGLTimerQueryEXT: J.JavaScriptObject, WebGLTransformFeedback: J.JavaScriptObject, WebGLUniformLocation: J.JavaScriptObject, WebGLVertexArrayObject: J.JavaScriptObject, WebGLVertexArrayObjectOES: J.JavaScriptObject, WebGL2RenderingContextBase: J.JavaScriptObject, ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List, HTMLBRElement: A.HtmlElement, HTMLContentElement: A.HtmlElement, HTMLDListElement: A.HtmlElement, HTMLDataListElement: A.HtmlElement, HTMLDetailsElement: A.HtmlElement, HTMLDialogElement: A.HtmlElement, HTMLEmbedElement: A.HtmlElement, HTMLFieldSetElement: A.HtmlElement, HTMLHRElement: A.HtmlElement, HTMLHeadElement: A.HtmlElement, HTMLHeadingElement: A.HtmlElement, HTMLHtmlElement: A.HtmlElement, HTMLLabelElement: A.HtmlElement, HTMLLegendElement: A.HtmlElement, HTMLLinkElement: A.HtmlElement, HTMLMapElement: A.HtmlElement, HTMLMenuElement: A.HtmlElement, HTMLMetaElement: A.HtmlElement, HTMLModElement: A.HtmlElement, HTMLOListElement: A.HtmlElement, HTMLObjectElement: A.HtmlElement, HTMLOptGroupElement: A.HtmlElement, HTMLParagraphElement: A.HtmlElement, HTMLPictureElement: A.HtmlElement, HTMLQuoteElement: A.HtmlElement, HTMLScriptElement: A.HtmlElement, HTMLShadowElement: A.HtmlElement, HTMLSlotElement: A.HtmlElement, HTMLSourceElement: A.HtmlElement, HTMLSpanElement: A.HtmlElement, HTMLStyleElement: A.HtmlElement, HTMLTableCaptionElement: A.HtmlElement, HTMLTableCellElement: A.HtmlElement, HTMLTableDataCellElement: A.HtmlElement, HTMLTableHeaderCellElement: A.HtmlElement, HTMLTableColElement: A.HtmlElement, HTMLTableElement: A.HtmlElement, HTMLTableRowElement: A.HtmlElement, HTMLTableSectionElement: A.HtmlElement, HTMLTimeElement: A.HtmlElement, HTMLTitleElement: A.HtmlElement, HTMLTrackElement: A.HtmlElement, HTMLUListElement: A.HtmlElement, HTMLUnknownElement: A.HtmlElement, HTMLDirectoryElement: A.HtmlElement, HTMLFontElement: A.HtmlElement, HTMLFrameElement: A.HtmlElement, HTMLFrameSetElement: A.HtmlElement, HTMLMarqueeElement: A.HtmlElement, HTMLElement: A.HtmlElement, AccessibleNode: A.AccessibleNode, AccessibleNodeList: A.AccessibleNodeList, HTMLAnchorElement: A.AnchorElement, ApplicationCacheErrorEvent: A.ApplicationCacheErrorEvent, HTMLAreaElement: A.AreaElement, HTMLBaseElement: A.BaseElement, BeforeUnloadEvent: A.BeforeUnloadEvent, Blob: A.Blob, BluetoothRemoteGATTDescriptor: A.BluetoothRemoteGattDescriptor, HTMLBodyElement: A.BodyElement, HTMLButtonElement: A.ButtonElement, CacheStorage: A.CacheStorage, HTMLCanvasElement: A.CanvasElement, CanvasRenderingContext2D: A.CanvasRenderingContext2D, CDATASection: A.CharacterData, Comment: A.CharacterData, Text: A.CharacterData, CharacterData: A.CharacterData, CSSKeywordValue: A.CssKeywordValue, CSSNumericValue: A.CssNumericValue, CSSPerspective: A.CssPerspective, CSSCharsetRule: A.CssRule, CSSConditionRule: A.CssRule, CSSFontFaceRule: A.CssRule, CSSGroupingRule: A.CssRule, CSSImportRule: A.CssRule, CSSKeyframeRule: A.CssRule, MozCSSKeyframeRule: A.CssRule, WebKitCSSKeyframeRule: A.CssRule, CSSKeyframesRule: A.CssRule, MozCSSKeyframesRule: A.CssRule, WebKitCSSKeyframesRule: A.CssRule, CSSMediaRule: A.CssRule, CSSNamespaceRule: A.CssRule, CSSPageRule: A.CssRule, CSSSupportsRule: A.CssRule, CSSViewportRule: A.CssRule, CSSRule: A.CssRule, CSSStyleDeclaration: A.CssStyleDeclaration, MSStyleCSSProperties: A.CssStyleDeclaration, CSS2Properties: A.CssStyleDeclaration, CSSStyleRule: A.CssStyleRule, CSSStyleSheet: A.CssStyleSheet, CSSImageValue: A.CssStyleValue, CSSPositionValue: A.CssStyleValue, CSSResourceValue: A.CssStyleValue, CSSURLImageValue: A.CssStyleValue, CSSStyleValue: A.CssStyleValue, CSSMatrixComponent: A.CssTransformComponent, CSSRotation: A.CssTransformComponent, CSSScale: A.CssTransformComponent, CSSSkew: A.CssTransformComponent, CSSTranslation: A.CssTransformComponent, CSSTransformComponent: A.CssTransformComponent, CSSTransformValue: A.CssTransformValue, CSSUnitValue: A.CssUnitValue, CSSUnparsedValue: A.CssUnparsedValue, HTMLDataElement: A.DataElement, DataTransfer: A.DataTransfer, DataTransferItemList: A.DataTransferItemList, DeprecationReport: A.DeprecationReport, HTMLDivElement: A.DivElement, XMLDocument: A.Document, Document: A.Document, DOMError: A.DomError, DOMException: A.DomException, DOMImplementation: A.DomImplementation, DOMPoint: A.DomPoint, DOMPointReadOnly: A.DomPointReadOnly, ClientRectList: A.DomRectList, DOMRectList: A.DomRectList, DOMRectReadOnly: A.DomRectReadOnly, DOMStringList: A.DomStringList, DOMTokenList: A.DomTokenList, MathMLElement: A.Element, Element: A.Element, ErrorEvent: A.ErrorEvent, AbortPaymentEvent: A.Event, AnimationEvent: A.Event, AnimationPlaybackEvent: A.Event, BackgroundFetchClickEvent: A.Event, BackgroundFetchEvent: A.Event, BackgroundFetchFailEvent: A.Event, BackgroundFetchedEvent: A.Event, BeforeInstallPromptEvent: A.Event, BlobEvent: A.Event, CanMakePaymentEvent: A.Event, ClipboardEvent: A.Event, CloseEvent: A.Event, CustomEvent: A.Event, DeviceMotionEvent: A.Event, DeviceOrientationEvent: A.Event, ExtendableEvent: A.Event, ExtendableMessageEvent: A.Event, FetchEvent: A.Event, FontFaceSetLoadEvent: A.Event, ForeignFetchEvent: A.Event, GamepadEvent: A.Event, HashChangeEvent: A.Event, InstallEvent: A.Event, MediaEncryptedEvent: A.Event, MediaQueryListEvent: A.Event, MediaStreamEvent: A.Event, MediaStreamTrackEvent: A.Event, MessageEvent: A.Event, MIDIConnectionEvent: A.Event, MIDIMessageEvent: A.Event, MutationEvent: A.Event, NotificationEvent: A.Event, PageTransitionEvent: A.Event, PaymentRequestEvent: A.Event, PaymentRequestUpdateEvent: A.Event, PopStateEvent: A.Event, PresentationConnectionAvailableEvent: A.Event, PromiseRejectionEvent: A.Event, PushEvent: A.Event, RTCDataChannelEvent: A.Event, RTCDTMFToneChangeEvent: A.Event, RTCPeerConnectionIceEvent: A.Event, RTCTrackEvent: A.Event, SecurityPolicyViolationEvent: A.Event, SensorErrorEvent: A.Event, SpeechRecognitionEvent: A.Event, SpeechSynthesisEvent: A.Event, StorageEvent: A.Event, SyncEvent: A.Event, TrackEvent: A.Event, TransitionEvent: A.Event, WebKitTransitionEvent: A.Event, VRDeviceEvent: A.Event, VRDisplayEvent: A.Event, VRSessionEvent: A.Event, MojoInterfaceRequestEvent: A.Event, USBConnectionEvent: A.Event, AudioProcessingEvent: A.Event, OfflineAudioCompletionEvent: A.Event, WebGLContextEvent: A.Event, Event: A.Event, InputEvent: A.Event, SubmitEvent: A.Event, AbsoluteOrientationSensor: A.EventTarget, Accelerometer: A.EventTarget, AmbientLightSensor: A.EventTarget, Animation: A.EventTarget, ApplicationCache: A.EventTarget, DOMApplicationCache: A.EventTarget, OfflineResourceList: A.EventTarget, BackgroundFetchRegistration: A.EventTarget, BatteryManager: A.EventTarget, BroadcastChannel: A.EventTarget, CanvasCaptureMediaStreamTrack: A.EventTarget, EventSource: A.EventTarget, Gyroscope: A.EventTarget, LinearAccelerationSensor: A.EventTarget, Magnetometer: A.EventTarget, MediaDevices: A.EventTarget, MediaKeySession: A.EventTarget, MediaQueryList: A.EventTarget, MediaRecorder: A.EventTarget, MediaSource: A.EventTarget, MediaStream: A.EventTarget, MediaStreamTrack: A.EventTarget, MIDIAccess: A.EventTarget, MIDIInput: A.EventTarget, MIDIOutput: A.EventTarget, MIDIPort: A.EventTarget, NetworkInformation: A.EventTarget, Notification: A.EventTarget, OffscreenCanvas: A.EventTarget, OrientationSensor: A.EventTarget, PaymentRequest: A.EventTarget, Performance: A.EventTarget, PermissionStatus: A.EventTarget, PresentationConnection: A.EventTarget, PresentationConnectionList: A.EventTarget, PresentationRequest: A.EventTarget, RelativeOrientationSensor: A.EventTarget, RemotePlayback: A.EventTarget, RTCDataChannel: A.EventTarget, DataChannel: A.EventTarget, RTCDTMFSender: A.EventTarget, RTCPeerConnection: A.EventTarget, webkitRTCPeerConnection: A.EventTarget, mozRTCPeerConnection: A.EventTarget, ScreenOrientation: A.EventTarget, Sensor: A.EventTarget, ServiceWorker: A.EventTarget, ServiceWorkerContainer: A.EventTarget, ServiceWorkerRegistration: A.EventTarget, SharedWorker: A.EventTarget, SpeechRecognition: A.EventTarget, SpeechSynthesis: A.EventTarget, SpeechSynthesisUtterance: A.EventTarget, VR: A.EventTarget, VRDevice: A.EventTarget, VRDisplay: A.EventTarget, VRSession: A.EventTarget, VisualViewport: A.EventTarget, WebSocket: A.EventTarget, Worker: A.EventTarget, WorkerPerformance: A.EventTarget, BluetoothDevice: A.EventTarget, BluetoothRemoteGATTCharacteristic: A.EventTarget, Clipboard: A.EventTarget, MojoInterfaceInterceptor: A.EventTarget, USB: A.EventTarget, IDBDatabase: A.EventTarget, IDBTransaction: A.EventTarget, EventTarget: A.EventTarget, File: A.File, FileList: A.FileList, FileReader: A.FileReader, FileWriter: A.FileWriter, FontFace: A.FontFace, FontFaceSet: A.FontFaceSet, HTMLFormElement: A.FormElement, Gamepad: A.Gamepad, GamepadButton: A.GamepadButton, History: A.History, HTMLCollection: A.HtmlCollection, HTMLFormControlsCollection: A.HtmlCollection, HTMLOptionsCollection: A.HtmlCollection, HTMLDocument: A.HtmlDocument, XMLHttpRequest: A.HttpRequest, XMLHttpRequestUpload: A.HttpRequestEventTarget, XMLHttpRequestEventTarget: A.HttpRequestEventTarget, HTMLIFrameElement: A.IFrameElement, ImageData: A.ImageData, HTMLImageElement: A.ImageElement, HTMLInputElement: A.InputElement, IntersectionObserverEntry: A.IntersectionObserverEntry, InterventionReport: A.InterventionReport, KeyboardEvent: A.KeyboardEvent, HTMLLIElement: A.LIElement, Location: A.Location, HTMLAudioElement: A.MediaElement, HTMLMediaElement: A.MediaElement, MediaError: A.MediaError, MediaKeyMessageEvent: A.MediaKeyMessageEvent, MediaList: A.MediaList, MessagePort: A.MessagePort, HTMLMeterElement: A.MeterElement, MIDIInputMap: A.MidiInputMap, MIDIOutputMap: A.MidiOutputMap, MimeType: A.MimeType, MimeTypeArray: A.MimeTypeArray, WheelEvent: A.MouseEvent, MouseEvent: A.MouseEvent, DragEvent: A.MouseEvent, MutationRecord: A.MutationRecord, NavigatorUserMediaError: A.NavigatorUserMediaError, DocumentFragment: A.Node, ShadowRoot: A.Node, DocumentType: A.Node, Node: A.Node, NodeList: A.NodeList, RadioNodeList: A.NodeList, HTMLOptionElement: A.OptionElement, HTMLOutputElement: A.OutputElement, OverconstrainedError: A.OverconstrainedError, HTMLParamElement: A.ParamElement, PaymentInstruments: A.PaymentInstruments, Plugin: A.Plugin, PluginArray: A.PluginArray, PointerEvent: A.PointerEvent, PositionError: A.PositionError, GeolocationPositionError: A.PositionError, HTMLPreElement: A.PreElement, PresentationAvailability: A.PresentationAvailability, PresentationConnectionCloseEvent: A.PresentationConnectionCloseEvent, ProcessingInstruction: A.ProcessingInstruction, HTMLProgressElement: A.ProgressElement, ProgressEvent: A.ProgressEvent, ResourceProgressEvent: A.ProgressEvent, ReportBody: A.ReportBody, ResizeObserverEntry: A.ResizeObserverEntry, RTCStatsReport: A.RtcStatsReport, HTMLSelectElement: A.SelectElement, SharedArrayBuffer: A.SharedArrayBuffer, SourceBuffer: A.SourceBuffer, SourceBufferList: A.SourceBufferList, SpeechGrammar: A.SpeechGrammar, SpeechGrammarList: A.SpeechGrammarList, SpeechRecognitionError: A.SpeechRecognitionError, SpeechRecognitionResult: A.SpeechRecognitionResult, Storage: A.Storage, StyleSheet: A.StyleSheet, HTMLTemplateElement: A.TemplateElement, HTMLTextAreaElement: A.TextAreaElement, TextTrack: A.TextTrack, TextTrackCue: A.TextTrackCue, VTTCue: A.TextTrackCue, TextTrackCueList: A.TextTrackCueList, TextTrackList: A.TextTrackList, TimeRanges: A.TimeRanges, Touch: A.Touch, TouchEvent: A.TouchEvent, TouchList: A.TouchList, TrackDefaultList: A.TrackDefaultList, CompositionEvent: A.UIEvent, FocusEvent: A.UIEvent, TextEvent: A.UIEvent, UIEvent: A.UIEvent, URL: A.Url, VREyeParameters: A.VREyeParameters, HTMLVideoElement: A.VideoElement, VideoTrackList: A.VideoTrackList, Window: A.Window, DOMWindow: A.Window, DedicatedWorkerGlobalScope: A.WorkerGlobalScope, ServiceWorkerGlobalScope: A.WorkerGlobalScope, SharedWorkerGlobalScope: A.WorkerGlobalScope, WorkerGlobalScope: A.WorkerGlobalScope, XMLSerializer: A.XmlSerializer, Attr: A._Attr, CSSRuleList: A._CssRuleList, ClientRect: A._DomRect, DOMRect: A._DomRect, GamepadList: A._GamepadList, NamedNodeMap: A._NamedNodeMap, MozNamedAttrMap: A._NamedNodeMap, SpeechRecognitionResultList: A._SpeechRecognitionResultList, StyleSheetList: A._StyleSheetList, IDBCursor: A.Cursor, IDBCursorWithValue: A.CursorWithValue, IDBKeyRange: A.KeyRange, IDBObjectStore: A.ObjectStore, IDBObservation: A.Observation, IDBOpenDBRequest: A.Request0, IDBVersionChangeRequest: A.Request0, IDBRequest: A.Request0, IDBVersionChangeEvent: A.VersionChangeEvent, SVGAElement: A.AElement, SVGAngle: A.Angle, SVGCircleElement: A.CircleElement, SVGDefsElement: A.DefsElement, SVGFEGaussianBlurElement: A.FEGaussianBlurElement, SVGFEMergeElement: A.FEMergeElement, SVGFEMergeNodeElement: A.FEMergeNodeElement, SVGFilterElement: A.FilterElement, SVGGElement: A.GElement, SVGEllipseElement: A.GeometryElement, SVGLineElement: A.GeometryElement, SVGPathElement: A.GeometryElement, SVGPolylineElement: A.GeometryElement, SVGGeometryElement: A.GeometryElement, SVGClipPathElement: A.GraphicsElement, SVGForeignObjectElement: A.GraphicsElement, SVGImageElement: A.GraphicsElement, SVGSwitchElement: A.GraphicsElement, SVGUseElement: A.GraphicsElement, SVGGraphicsElement: A.GraphicsElement, SVGLength: A.Length, SVGLengthList: A.LengthList, SVGNumber: A.Number, SVGNumberList: A.NumberList, SVGPoint: A.Point0, SVGPointList: A.PointList, SVGPolygonElement: A.PolygonElement, SVGRectElement: A.RectElement, SVGStringList: A.StringList, SVGAnimateElement: A.SvgElement, SVGAnimateMotionElement: A.SvgElement, SVGAnimateTransformElement: A.SvgElement, SVGAnimationElement: A.SvgElement, SVGDescElement: A.SvgElement, SVGDiscardElement: A.SvgElement, SVGFEBlendElement: A.SvgElement, SVGFEColorMatrixElement: A.SvgElement, SVGFEComponentTransferElement: A.SvgElement, SVGFECompositeElement: A.SvgElement, SVGFEConvolveMatrixElement: A.SvgElement, SVGFEDiffuseLightingElement: A.SvgElement, SVGFEDisplacementMapElement: A.SvgElement, SVGFEDistantLightElement: A.SvgElement, SVGFEFloodElement: A.SvgElement, SVGFEFuncAElement: A.SvgElement, SVGFEFuncBElement: A.SvgElement, SVGFEFuncGElement: A.SvgElement, SVGFEFuncRElement: A.SvgElement, SVGFEImageElement: A.SvgElement, SVGFEMorphologyElement: A.SvgElement, SVGFEOffsetElement: A.SvgElement, SVGFEPointLightElement: A.SvgElement, SVGFESpecularLightingElement: A.SvgElement, SVGFESpotLightElement: A.SvgElement, SVGFETileElement: A.SvgElement, SVGFETurbulenceElement: A.SvgElement, SVGLinearGradientElement: A.SvgElement, SVGMarkerElement: A.SvgElement, SVGMaskElement: A.SvgElement, SVGMetadataElement: A.SvgElement, SVGPatternElement: A.SvgElement, SVGRadialGradientElement: A.SvgElement, SVGScriptElement: A.SvgElement, SVGSetElement: A.SvgElement, SVGStopElement: A.SvgElement, SVGStyleElement: A.SvgElement, SVGSymbolElement: A.SvgElement, SVGTitleElement: A.SvgElement, SVGViewElement: A.SvgElement, SVGGradientElement: A.SvgElement, SVGComponentTransferFunctionElement: A.SvgElement, SVGFEDropShadowElement: A.SvgElement, SVGMPathElement: A.SvgElement, SVGElement: A.SvgElement, SVGSVGElement: A.SvgSvgElement, SVGTextContentElement: A.TextContentElement, SVGTextElement: A.TextElement, SVGTextPathElement: A.TextPathElement, SVGTSpanElement: A.TextPositioningElement, SVGTextPositioningElement: A.TextPositioningElement, SVGTransform: A.Transform, SVGTransformList: A.TransformList, AudioBuffer: A.AudioBuffer, AnalyserNode: A.AudioNode, RealtimeAnalyserNode: A.AudioNode, AudioDestinationNode: A.AudioNode, AudioWorkletNode: A.AudioNode, BiquadFilterNode: A.AudioNode, ChannelMergerNode: A.AudioNode, AudioChannelMerger: A.AudioNode, ChannelSplitterNode: A.AudioNode, AudioChannelSplitter: A.AudioNode, ConvolverNode: A.AudioNode, DelayNode: A.AudioNode, DynamicsCompressorNode: A.AudioNode, GainNode: A.AudioNode, AudioGainNode: A.AudioNode, IIRFilterNode: A.AudioNode, MediaElementAudioSourceNode: A.AudioNode, MediaStreamAudioDestinationNode: A.AudioNode, MediaStreamAudioSourceNode: A.AudioNode, PannerNode: A.AudioNode, AudioPannerNode: A.AudioNode, webkitAudioPannerNode: A.AudioNode, ScriptProcessorNode: A.AudioNode, JavaScriptAudioNode: A.AudioNode, StereoPannerNode: A.AudioNode, WaveShaperNode: A.AudioNode, AudioNode: A.AudioNode, AudioParam: A.AudioParam, AudioParamMap: A.AudioParamMap, AudioBufferSourceNode: A.AudioScheduledSourceNode, OscillatorNode: A.AudioScheduledSourceNode, Oscillator: A.AudioScheduledSourceNode, AudioScheduledSourceNode: A.AudioScheduledSourceNode, AudioTrackList: A.AudioTrackList, AudioContext: A.BaseAudioContext, webkitAudioContext: A.BaseAudioContext, BaseAudioContext: A.BaseAudioContext, ConstantSourceNode: A.ConstantSourceNode, OfflineAudioContext: A.OfflineAudioContext}); + hunkHelpers.setOrUpdateLeafTags({WebGL: true, AnimationEffectReadOnly: true, AnimationEffectTiming: true, AnimationEffectTimingReadOnly: true, AnimationTimeline: true, AnimationWorkletGlobalScope: true, AuthenticatorAssertionResponse: true, AuthenticatorAttestationResponse: true, AuthenticatorResponse: true, BackgroundFetchFetch: true, BackgroundFetchManager: true, BackgroundFetchSettledFetch: true, BarProp: true, BarcodeDetector: true, Body: true, BudgetState: true, CanvasGradient: true, CanvasPattern: true, Client: true, Clients: true, CookieStore: true, Coordinates: true, Credential: true, CredentialUserData: true, CredentialsContainer: true, Crypto: true, CryptoKey: true, CSS: true, CSSVariableReferenceValue: true, CustomElementRegistry: true, DataTransferItem: true, DeprecatedStorageInfo: true, DeprecatedStorageQuota: true, DetectedBarcode: true, DetectedFace: true, DetectedText: true, DeviceAcceleration: true, DeviceRotationRate: true, DirectoryEntry: true, webkitFileSystemDirectoryEntry: true, FileSystemDirectoryEntry: true, DirectoryReader: true, WebKitDirectoryReader: true, webkitFileSystemDirectoryReader: true, FileSystemDirectoryReader: true, DocumentOrShadowRoot: true, DocumentTimeline: true, Iterator: true, DOMMatrix: true, DOMMatrixReadOnly: true, DOMParser: true, DOMQuad: true, DOMStringMap: true, Entry: true, webkitFileSystemEntry: true, FileSystemEntry: true, External: true, FaceDetector: true, FederatedCredential: true, FileEntry: true, webkitFileSystemFileEntry: true, FileSystemFileEntry: true, DOMFileSystem: true, WebKitFileSystem: true, webkitFileSystem: true, FileSystem: true, FontFaceSource: true, FormData: true, GamepadPose: true, Geolocation: true, Position: true, GeolocationPosition: true, Headers: true, HTMLHyperlinkElementUtils: true, IdleDeadline: true, ImageBitmap: true, ImageBitmapRenderingContext: true, ImageCapture: true, InputDeviceCapabilities: true, IntersectionObserver: true, KeyframeEffect: true, KeyframeEffectReadOnly: true, MediaCapabilities: true, MediaCapabilitiesInfo: true, MediaDeviceInfo: true, MediaKeyStatusMap: true, MediaKeySystemAccess: true, MediaKeys: true, MediaKeysPolicy: true, MediaMetadata: true, MediaSession: true, MediaSettingsRange: true, MemoryInfo: true, MessageChannel: true, Metadata: true, MutationObserver: true, WebKitMutationObserver: true, NavigationPreloadManager: true, Navigator: true, NavigatorAutomationInformation: true, NavigatorConcurrentHardware: true, NavigatorCookies: true, NodeFilter: true, NodeIterator: true, NonDocumentTypeChildNode: true, NonElementParentNode: true, NoncedElement: true, OffscreenCanvasRenderingContext2D: true, PaintRenderingContext2D: true, PaintSize: true, PaintWorkletGlobalScope: true, PasswordCredential: true, Path2D: true, PaymentAddress: true, PaymentManager: true, PaymentResponse: true, PerformanceEntry: true, PerformanceLongTaskTiming: true, PerformanceMark: true, PerformanceMeasure: true, PerformanceNavigation: true, PerformanceNavigationTiming: true, PerformanceObserver: true, PerformanceObserverEntryList: true, PerformancePaintTiming: true, PerformanceResourceTiming: true, PerformanceServerTiming: true, PerformanceTiming: true, Permissions: true, PhotoCapabilities: true, Presentation: true, PresentationReceiver: true, PublicKeyCredential: true, PushManager: true, PushMessageData: true, PushSubscription: true, PushSubscriptionOptions: true, Range: true, RelatedApplication: true, ReportingObserver: true, ResizeObserver: true, RTCCertificate: true, RTCIceCandidate: true, mozRTCIceCandidate: true, RTCLegacyStatsReport: true, RTCRtpContributingSource: true, RTCRtpReceiver: true, RTCRtpSender: true, RTCSessionDescription: true, mozRTCSessionDescription: true, RTCStatsResponse: true, Screen: true, ScrollState: true, ScrollTimeline: true, Selection: true, SpeechRecognitionAlternative: true, SpeechSynthesisVoice: true, StaticRange: true, StorageManager: true, StyleMedia: true, StylePropertyMap: true, StylePropertyMapReadonly: true, SyncManager: true, TaskAttributionTiming: true, TextDetector: true, TextMetrics: true, TrackDefault: true, TreeWalker: true, TrustedHTML: true, TrustedScriptURL: true, TrustedURL: true, UnderlyingSourceBase: true, URLSearchParams: true, VRCoordinateSystem: true, VRDisplayCapabilities: true, VRFrameData: true, VRFrameOfReference: true, VRPose: true, VRStageBounds: true, VRStageBoundsPoint: true, VRStageParameters: true, ValidityState: true, VideoPlaybackQuality: true, VideoTrack: true, VTTRegion: true, WindowClient: true, WorkletAnimation: true, WorkletGlobalScope: true, XPathEvaluator: true, XPathExpression: true, XPathNSResolver: true, XPathResult: true, XSLTProcessor: true, Bluetooth: true, BluetoothCharacteristicProperties: true, BluetoothRemoteGATTServer: true, BluetoothRemoteGATTService: true, BluetoothUUID: true, BudgetService: true, Cache: true, DOMFileSystemSync: true, DirectoryEntrySync: true, DirectoryReaderSync: true, EntrySync: true, FileEntrySync: true, FileReaderSync: true, FileWriterSync: true, HTMLAllCollection: true, Mojo: true, MojoHandle: true, MojoWatcher: true, NFC: true, PagePopupController: true, Report: true, Request: true, Response: true, SubtleCrypto: true, USBAlternateInterface: true, USBConfiguration: true, USBDevice: true, USBEndpoint: true, USBInTransferResult: true, USBInterface: true, USBIsochronousInTransferPacket: true, USBIsochronousInTransferResult: true, USBIsochronousOutTransferPacket: true, USBIsochronousOutTransferResult: true, USBOutTransferResult: true, WorkerLocation: true, WorkerNavigator: true, Worklet: true, IDBFactory: true, IDBIndex: true, IDBObserver: true, IDBObserverChanges: true, SVGAnimatedAngle: true, SVGAnimatedBoolean: true, SVGAnimatedEnumeration: true, SVGAnimatedInteger: true, SVGAnimatedLength: true, SVGAnimatedLengthList: true, SVGAnimatedNumber: true, SVGAnimatedNumberList: true, SVGAnimatedPreserveAspectRatio: true, SVGAnimatedRect: true, SVGAnimatedString: true, SVGAnimatedTransformList: true, SVGMatrix: true, SVGPreserveAspectRatio: true, SVGRect: true, SVGUnitTypes: true, AudioListener: true, AudioTrack: true, AudioWorkletGlobalScope: true, AudioWorkletProcessor: true, PeriodicWave: true, WebGLActiveInfo: true, ANGLEInstancedArrays: true, ANGLE_instanced_arrays: true, WebGLBuffer: true, WebGLCanvas: true, WebGLColorBufferFloat: true, WebGLCompressedTextureASTC: true, WebGLCompressedTextureATC: true, WEBGL_compressed_texture_atc: true, WebGLCompressedTextureETC1: true, WEBGL_compressed_texture_etc1: true, WebGLCompressedTextureETC: true, WebGLCompressedTexturePVRTC: true, WEBGL_compressed_texture_pvrtc: true, WebGLCompressedTextureS3TC: true, WEBGL_compressed_texture_s3tc: true, WebGLCompressedTextureS3TCsRGB: true, WebGLDebugRendererInfo: true, WEBGL_debug_renderer_info: true, WebGLDebugShaders: true, WEBGL_debug_shaders: true, WebGLDepthTexture: true, WEBGL_depth_texture: true, WebGLDrawBuffers: true, WEBGL_draw_buffers: true, EXTsRGB: true, EXT_sRGB: true, EXTBlendMinMax: true, EXT_blend_minmax: true, EXTColorBufferFloat: true, EXTColorBufferHalfFloat: true, EXTDisjointTimerQuery: true, EXTDisjointTimerQueryWebGL2: true, EXTFragDepth: true, EXT_frag_depth: true, EXTShaderTextureLOD: true, EXT_shader_texture_lod: true, EXTTextureFilterAnisotropic: true, EXT_texture_filter_anisotropic: true, WebGLFramebuffer: true, WebGLGetBufferSubDataAsync: true, WebGLLoseContext: true, WebGLExtensionLoseContext: true, WEBGL_lose_context: true, OESElementIndexUint: true, OES_element_index_uint: true, OESStandardDerivatives: true, OES_standard_derivatives: true, OESTextureFloat: true, OES_texture_float: true, OESTextureFloatLinear: true, OES_texture_float_linear: true, OESTextureHalfFloat: true, OES_texture_half_float: true, OESTextureHalfFloatLinear: true, OES_texture_half_float_linear: true, OESVertexArrayObject: true, OES_vertex_array_object: true, WebGLProgram: true, WebGLQuery: true, WebGLRenderbuffer: true, WebGLRenderingContext: true, WebGL2RenderingContext: true, WebGLSampler: true, WebGLShader: true, WebGLShaderPrecisionFormat: true, WebGLSync: true, WebGLTexture: true, WebGLTimerQueryEXT: true, WebGLTransformFeedback: true, WebGLUniformLocation: true, WebGLVertexArrayObject: true, WebGLVertexArrayObjectOES: true, WebGL2RenderingContextBase: true, ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLBRElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLParagraphElement: true, HTMLPictureElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, AccessibleNode: true, AccessibleNodeList: true, HTMLAnchorElement: true, ApplicationCacheErrorEvent: true, HTMLAreaElement: true, HTMLBaseElement: true, BeforeUnloadEvent: true, Blob: false, BluetoothRemoteGATTDescriptor: true, HTMLBodyElement: true, HTMLButtonElement: true, CacheStorage: true, HTMLCanvasElement: true, CanvasRenderingContext2D: true, CDATASection: true, Comment: true, Text: true, CharacterData: false, CSSKeywordValue: true, CSSNumericValue: false, CSSPerspective: true, CSSCharsetRule: true, CSSConditionRule: true, CSSFontFaceRule: true, CSSGroupingRule: true, CSSImportRule: true, CSSKeyframeRule: true, MozCSSKeyframeRule: true, WebKitCSSKeyframeRule: true, CSSKeyframesRule: true, MozCSSKeyframesRule: true, WebKitCSSKeyframesRule: true, CSSMediaRule: true, CSSNamespaceRule: true, CSSPageRule: true, CSSSupportsRule: true, CSSViewportRule: true, CSSRule: false, CSSStyleDeclaration: true, MSStyleCSSProperties: true, CSS2Properties: true, CSSStyleRule: true, CSSStyleSheet: true, CSSImageValue: true, CSSPositionValue: true, CSSResourceValue: true, CSSURLImageValue: true, CSSStyleValue: false, CSSMatrixComponent: true, CSSRotation: true, CSSScale: true, CSSSkew: true, CSSTranslation: true, CSSTransformComponent: false, CSSTransformValue: true, CSSUnitValue: true, CSSUnparsedValue: true, HTMLDataElement: true, DataTransfer: true, DataTransferItemList: true, DeprecationReport: true, HTMLDivElement: true, XMLDocument: true, Document: false, DOMError: true, DOMException: true, DOMImplementation: true, DOMPoint: true, DOMPointReadOnly: false, ClientRectList: true, DOMRectList: true, DOMRectReadOnly: false, DOMStringList: true, DOMTokenList: true, MathMLElement: true, Element: false, ErrorEvent: true, AbortPaymentEvent: true, AnimationEvent: true, AnimationPlaybackEvent: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchedEvent: true, BeforeInstallPromptEvent: true, BlobEvent: true, CanMakePaymentEvent: true, ClipboardEvent: true, CloseEvent: true, CustomEvent: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, FetchEvent: true, FontFaceSetLoadEvent: true, ForeignFetchEvent: true, GamepadEvent: true, HashChangeEvent: true, InstallEvent: true, MediaEncryptedEvent: true, MediaQueryListEvent: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MessageEvent: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MutationEvent: true, NotificationEvent: true, PageTransitionEvent: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PopStateEvent: true, PresentationConnectionAvailableEvent: true, PromiseRejectionEvent: true, PushEvent: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCPeerConnectionIceEvent: true, RTCTrackEvent: true, SecurityPolicyViolationEvent: true, SensorErrorEvent: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, StorageEvent: true, SyncEvent: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, VRDeviceEvent: true, VRDisplayEvent: true, VRSessionEvent: true, MojoInterfaceRequestEvent: true, USBConnectionEvent: true, AudioProcessingEvent: true, OfflineAudioCompletionEvent: true, WebGLContextEvent: true, Event: false, InputEvent: false, SubmitEvent: false, AbsoluteOrientationSensor: true, Accelerometer: true, AmbientLightSensor: true, Animation: true, ApplicationCache: true, DOMApplicationCache: true, OfflineResourceList: true, BackgroundFetchRegistration: true, BatteryManager: true, BroadcastChannel: true, CanvasCaptureMediaStreamTrack: true, EventSource: true, Gyroscope: true, LinearAccelerationSensor: true, Magnetometer: true, MediaDevices: true, MediaKeySession: true, MediaQueryList: true, MediaRecorder: true, MediaSource: true, MediaStream: true, MediaStreamTrack: true, MIDIAccess: true, MIDIInput: true, MIDIOutput: true, MIDIPort: true, NetworkInformation: true, Notification: true, OffscreenCanvas: true, OrientationSensor: true, PaymentRequest: true, Performance: true, PermissionStatus: true, PresentationConnection: true, PresentationConnectionList: true, PresentationRequest: true, RelativeOrientationSensor: true, RemotePlayback: true, RTCDataChannel: true, DataChannel: true, RTCDTMFSender: true, RTCPeerConnection: true, webkitRTCPeerConnection: true, mozRTCPeerConnection: true, ScreenOrientation: true, Sensor: true, ServiceWorker: true, ServiceWorkerContainer: true, ServiceWorkerRegistration: true, SharedWorker: true, SpeechRecognition: true, SpeechSynthesis: true, SpeechSynthesisUtterance: true, VR: true, VRDevice: true, VRDisplay: true, VRSession: true, VisualViewport: true, WebSocket: true, Worker: true, WorkerPerformance: true, BluetoothDevice: true, BluetoothRemoteGATTCharacteristic: true, Clipboard: true, MojoInterfaceInterceptor: true, USB: true, IDBDatabase: true, IDBTransaction: true, EventTarget: false, File: true, FileList: true, FileReader: true, FileWriter: true, FontFace: true, FontFaceSet: true, HTMLFormElement: true, Gamepad: true, GamepadButton: true, History: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, HTMLDocument: true, XMLHttpRequest: true, XMLHttpRequestUpload: true, XMLHttpRequestEventTarget: false, HTMLIFrameElement: true, ImageData: true, HTMLImageElement: true, HTMLInputElement: true, IntersectionObserverEntry: true, InterventionReport: true, KeyboardEvent: true, HTMLLIElement: true, Location: true, HTMLAudioElement: true, HTMLMediaElement: false, MediaError: true, MediaKeyMessageEvent: true, MediaList: true, MessagePort: true, HTMLMeterElement: true, MIDIInputMap: true, MIDIOutputMap: true, MimeType: true, MimeTypeArray: true, WheelEvent: true, MouseEvent: false, DragEvent: false, MutationRecord: true, NavigatorUserMediaError: true, DocumentFragment: true, ShadowRoot: true, DocumentType: true, Node: false, NodeList: true, RadioNodeList: true, HTMLOptionElement: true, HTMLOutputElement: true, OverconstrainedError: true, HTMLParamElement: true, PaymentInstruments: true, Plugin: true, PluginArray: true, PointerEvent: true, PositionError: true, GeolocationPositionError: true, HTMLPreElement: true, PresentationAvailability: true, PresentationConnectionCloseEvent: true, ProcessingInstruction: true, HTMLProgressElement: true, ProgressEvent: true, ResourceProgressEvent: true, ReportBody: false, ResizeObserverEntry: true, RTCStatsReport: true, HTMLSelectElement: true, SharedArrayBuffer: true, SourceBuffer: true, SourceBufferList: true, SpeechGrammar: true, SpeechGrammarList: true, SpeechRecognitionError: true, SpeechRecognitionResult: true, Storage: true, StyleSheet: false, HTMLTemplateElement: true, HTMLTextAreaElement: true, TextTrack: true, TextTrackCue: true, VTTCue: true, TextTrackCueList: true, TextTrackList: true, TimeRanges: true, Touch: true, TouchEvent: true, TouchList: true, TrackDefaultList: true, CompositionEvent: true, FocusEvent: true, TextEvent: true, UIEvent: false, URL: true, VREyeParameters: true, HTMLVideoElement: true, VideoTrackList: true, Window: true, DOMWindow: true, DedicatedWorkerGlobalScope: true, ServiceWorkerGlobalScope: true, SharedWorkerGlobalScope: true, WorkerGlobalScope: true, XMLSerializer: true, Attr: true, CSSRuleList: true, ClientRect: true, DOMRect: true, GamepadList: true, NamedNodeMap: true, MozNamedAttrMap: true, SpeechRecognitionResultList: true, StyleSheetList: true, IDBCursor: false, IDBCursorWithValue: true, IDBKeyRange: true, IDBObjectStore: true, IDBObservation: true, IDBOpenDBRequest: true, IDBVersionChangeRequest: true, IDBRequest: true, IDBVersionChangeEvent: true, SVGAElement: true, SVGAngle: true, SVGCircleElement: true, SVGDefsElement: true, SVGFEGaussianBlurElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFilterElement: true, SVGGElement: true, SVGEllipseElement: true, SVGLineElement: true, SVGPathElement: true, SVGPolylineElement: true, SVGGeometryElement: false, SVGClipPathElement: true, SVGForeignObjectElement: true, SVGImageElement: true, SVGSwitchElement: true, SVGUseElement: true, SVGGraphicsElement: false, SVGLength: true, SVGLengthList: true, SVGNumber: true, SVGNumberList: true, SVGPoint: true, SVGPointList: true, SVGPolygonElement: true, SVGRectElement: true, SVGStringList: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEImageElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPatternElement: true, SVGRadialGradientElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGSymbolElement: true, SVGTitleElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true, SVGElement: false, SVGSVGElement: true, SVGTextContentElement: false, SVGTextElement: true, SVGTextPathElement: true, SVGTSpanElement: true, SVGTextPositioningElement: false, SVGTransform: true, SVGTransformList: true, AudioBuffer: true, AnalyserNode: true, RealtimeAnalyserNode: true, AudioDestinationNode: true, AudioWorkletNode: true, BiquadFilterNode: true, ChannelMergerNode: true, AudioChannelMerger: true, ChannelSplitterNode: true, AudioChannelSplitter: true, ConvolverNode: true, DelayNode: true, DynamicsCompressorNode: true, GainNode: true, AudioGainNode: true, IIRFilterNode: true, MediaElementAudioSourceNode: true, MediaStreamAudioDestinationNode: true, MediaStreamAudioSourceNode: true, PannerNode: true, AudioPannerNode: true, webkitAudioPannerNode: true, ScriptProcessorNode: true, JavaScriptAudioNode: true, StereoPannerNode: true, WaveShaperNode: true, AudioNode: false, AudioParam: true, AudioParamMap: true, AudioBufferSourceNode: true, OscillatorNode: true, Oscillator: true, AudioScheduledSourceNode: false, AudioTrackList: true, AudioContext: true, webkitAudioContext: true, BaseAudioContext: false, ConstantSourceNode: true, OfflineAudioContext: true}); + A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; + A._SourceBufferList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; })(); Function.prototype.call$1 = function(a) { return this(a); @@ -162446,15 +163048,15 @@ Function.prototype.call$1$1 = function(a) { return this(a); }; - Function.prototype.call$1$2 = function(a, b) { - return this(a, b); - }; Function.prototype.call$4 = function(a, b, c, d) { return this(a, b, c, d); }; Function.prototype.call$2$1 = function(a) { return this(a); }; + Function.prototype.call$1$2 = function(a, b) { + return this(a, b); + }; Function.prototype.call$8 = function(a, b, c, d, e, f, g, h) { return this(a, b, c, d, e, f, g, h); }; @@ -162482,6 +163084,9 @@ Function.prototype.call$1$0 = function() { return this(); }; + Function.prototype.call$5 = function(a, b, c, d, e) { + return this(a, b, c, d, e); + }; convertAllToFastObject(holders); convertToFastObject($); (function(callback) { @@ -162503,7 +163108,7 @@ scripts[i].addEventListener("load", onLoad, false); })(function(currentScript) { init.currentScript = currentScript; - var callMain = F.main; + var callMain = A.main; if (typeof dartMainRunner === "function") dartMainRunner(callMain, []); else diff --git a/dev/packages/$sdk/_internal/strong.sum b/dev/packages/$sdk/_internal/strong.sum index 5622a3dfd..4b7b0d954 100644 --- a/dev/packages/$sdk/_internal/strong.sum +++ b/dev/packages/$sdk/_internal/strong.sum @@ -1,9 +1,8 @@ - { +O{ "version": 1, "experimentSets": { "sdkExperiments": [ - "non-nullable", - "triple-shift" + "records" ], "nullSafety": [ "non-nullable" @@ -29,9 +28,6 @@ "characters": { "experimentSet": "nullSafety" }, - "charcode": { - "experimentSet": "nullSafety" - }, "clock": { "experimentSet": "nullSafety" }, @@ -202,3029 +198,2480 @@ } } } -%dart:typed_datadart:typed_data,dart:typed_data/unmodifiable_typed_data.dart dart:convert dart:convertdart:convert/ascii.dartdart:convert/base64.dart!dart:convert/byte_conversion.dart$dart:convert/chunked_conversion.dartdart:convert/codec.dartdart:convert/converter.dartdart:convert/encoding.dartdart:convert/html_escape.dartdart:convert/json.dartdart:convert/latin1.dartdart:convert/line_splitter.dart#dart:convert/string_conversion.dartdart:convert/utf.dart dart:math dart:mathdart:math/point.dartdart:math/random.dartdart:math/rectangle.dart dart:core# dart:coredart:core/annotations.dartdart:core/bigint.dartdart:core/bool.dartdart:core/comparable.dartdart:core/date_time.dartdart:core/double.dartdart:core/duration.dartdart:core/errors.dartdart:core/exceptions.dartdart:core/expando.dartdart:core/function.dartdart:core/identical.dartdart:core/int.dartdart:core/invocation.dartdart:core/iterable.dartdart:core/iterator.dartdart:core/list.dartdart:core/map.dartdart:core/null.dartdart:core/num.dartdart:core/object.dartdart:core/pattern.dartdart:core/print.dartdart:core/regexp.dartdart:core/set.dartdart:core/sink.dartdart:core/stacktrace.dartdart:core/stopwatch.dartdart:core/string.dartdart:core/string_buffer.dartdart:core/string_sink.dartdart:core/symbol.dartdart:core/type.dartdart:core/uri.dartdart:_internal dart:_internaldart:_internal/async_cast.dart!dart:_internal/bytes_builder.dartdart:_internal/cast.dartdart:_internal/errors.dartdart:_internal/iterable.dartdart:_internal/list.dartdart:_internal/linked_list.dartdart:_internal/print.dartdart:_internal/sort.dartdart:_internal/symbol.dartdart:collectiondart:collection dart:collection/collections.dartdart:collection/hash_map.dartdart:collection/hash_set.dartdart:collection/iterable.dartdart:collection/iterator.dart$dart:collection/linked_hash_map.dart$dart:collection/linked_hash_set.dart dart:collection/linked_list.dartdart:collection/list.dartdart:collection/maps.dartdart:collection/queue.dartdart:collection/set.dartdart:collection/splay_tree.dart -dart:async -dart:asyncdart:async/async_error.dart+dart:async/broadcast_stream_controller.dartdart:async/deferred_load.dartdart:async/future.dartdart:async/future_impl.dart"dart:async/schedule_microtask.dartdart:async/stream.dart!dart:async/stream_controller.dartdart:async/stream_impl.dartdart:async/stream_pipe.dart#dart:async/stream_transformers.dartdart:async/timer.dartdart:async/zone.dart dart:isolate dart:isolatedart:isolate/capability.dartdart:developerdart:developerdart:developer/extension.dartdart:developer/profiler.dartdart:developer/service.dartdart:developer/timeline.dartdart:ffidart:ffidart:ffi/native_type.dartdart:ffi/allocation.dartdart:ffi/annotations.dartdart:ffi/dynamic_library.dartdart:ffi/struct.dartdart:_js_embedded_namesdart:_js_embedded_namesdart:_js_namesdart:_js_namesdart:_recipe_syntaxdart:_recipe_syntax dart:_rti dart:_rtidart:_foreign_helperdart:_foreign_helperdart:_js_helperdart:_js_helper dart:_js_helper/annotations.dart!dart:_js_helper/constant_map.dart"dart:_js_helper/instantiation.dart"dart:_js_helper/native_helper.dart"dart:_js_helper/regexp_helper.dart"dart:_js_helper/string_helper.dart$dart:_js_helper/linked_hash_map.dartdart:_interceptorsdart:_interceptors dart:_interceptors/js_array.dart!dart:_interceptors/js_number.dart!dart:_interceptors/js_string.dartdart:_native_typed_datadart:_native_typed_data dart:web_gl dart:web_gl dart:js_util dart:js_utildart:_metadatadart:_metadatadart:html_commondart:html_common#dart:html_common/css_class_set.dart!dart:html_common/conversions.dart)dart:html_common/conversions_dart2js.dartdart:html_common/device.dart+dart:html_common/filtered_element_list.dartdart:html_common/lists.dartdart:indexed_dbdart:indexed_dbdart:svgdart:svgdart:web_audiodart:web_audio dart:web_sql dart:web_sql dart:html dart:htmldart:iodart:iodart:io/common.dartdart:io/data_transformer.dartdart:io/directory.dartdart:io/directory_impl.dartdart:io/embedder_config.dartdart:io/eventhandler.dartdart:io/file.dartdart:io/file_impl.dartdart:io/file_system_entity.dartdart:io/io_resource_info.dartdart:io/io_sink.dartdart:io/io_service.dartdart:io/link.dartdart:io/namespace_impl.dartdart:io/network_policy.dartdart:io/network_profiling.dartdart:io/overrides.dartdart:io/platform.dartdart:io/platform_impl.dartdart:io/process.dart!dart:io/secure_server_socket.dartdart:io/secure_socket.dartdart:io/security_context.dartdart:io/service_object.dartdart:io/socket.dartdart:io/stdio.dartdart:io/string_transformer.dartdart:io/sync_socket.dart -dart:_http - -dart:_httpdart:_http/crypto.dartdart:_http/http_date.dartdart:_http/http_headers.dartdart:_http/http_impl.dartdart:_http/http_parser.dartdart:_http/http_session.dartdart:_http/overrides.dartdart:_http/websocket.dartdart:_http/websocket_impl.dartdart:jsdart:jsdart:_jsdart:_js dart:mirrors dart:mirrorsdart:nativewrappersdart:nativewrappersdart:clidart:clidart:cli/wait_for.dartdart:_js_primitivesdart:_js_primitivesdart:_async_await_error_codesdart:_async_await_error_codesdart:_js_annotationsdart:_js_annotations!v  @##!##$ !#$$# # -'# # '# "'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# # #'#"'# #"'# # -#'#"'# #"'# # #'#"'# #"'# # # '#!"'# #"'# # #"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #IU -X Hx 8"h$&(*#,#-'# #'# # -'# #.'# tU-UU -U. '#,#/#0'#1&'# "'#1&'# #20 '#,#3#0'#1&'#4"'#1&'#4 #20#5+'#6*#7*#5#8 #7@+'#5*#9' #5#8@+'#5*#:' #5#8 @+'#5*#;!T7h8~9:;'#,#+"#+"'# ##<$=>#0#+#?"'# #."'# #"'# #$0#+#@"'#, #A"'# #B"'# #C#$DE%#F'# "'# #G&#H'#I"'# #G"'# #J'#K'# "'# #G(#L'#I"'# #G"'# #J)#M'# "'# #G"'#5 #N #5#9*#O'#I"'# #G"'# #J"'#5 #N #5#9+#P'# "'# #G"'#5 #N #5#9,#Q'#I"'# #G"'# #J"'#5 #N #5#9-#R'# "'# #G"'#5 #N #5#9.#S'#I"'# #G"'# #J"'#5 #N #5#9/#T'# "'# #G"'#5 #N #5#90#U'#I"'# #G"'# #J"'#5 #N #5#91#V'# "'# #G"'#5 #N #5#92#W'#I"'# #G"'# #J"'#5 #N #5#93#X'# "'# #G"'#5 #N #5#94#Y'#I"'# #G"'# #J"'#5 #N #5#95#Z'#4"'# #G"'#5 #N #5#96#['#I"'# #G"'#4 #J"'#5 #N #5#97#\'#4"'# #G"'#5 #N #5#98#]'#I"'# #G"'#4 #J"'#5 #N #5#99^)?`@FHKL,M\OPQR2SmTUVWCXsYZ[\I]'#1&'# '#/#:#"'# #;##_"'#1&'# #`<0##?"'# #."'# #"'# #=0##@"'#, #A"'# #B"'# #C#$DE>#a'#"'# #B"'# #C?@+'# *#b@^_8?o@ab'#1&'# '#/# A# "'# #B# #_"'#1&'# #`C0# #?"'# #."'# #"'# #D0# #@"'#, #A"'# #B"'# #C#$DEE#0'#1&'# "'#1&'# #2F#a'# "'# #B"'# #CG@+'# *#bH,^C_c?@0a2b'#1&'# '#/#I#"'# #J##_"'#1&'# #`K0##?"'# #."'# #"'# #L0##@"'#, #A"'# #B"'# #C#$DEM#a'#"'# #B"'# #CN@+'# *#bO^_?@6aab'#1&'# '#/#P#"'# #Q##_"'#1&'# #`R0##?"'# #."'# #"'# #S0##@"'#, #A"'# #B"'# #C#$DET#a'#"'# #B"'# #CU@+'# *#bV^_?@aab'#1&'# '#/#W#"'# #X##_"'#1&'# #`Y0##?"'# #."'# #"'# #Z0##@"'#, #A"'# #B"'# #C#$DE[#a'#"'# #B"'# #C\@+'# *#b]^_?J@ab'#1&'# '#/#^#"'# #_##_"'#1&'# #``0##?"'# #."'# #"'# #a0##@"'#, #A"'# #B"'# #C#$DEb#a'#"'# #B"'# #Cc@+'# *#bd^_>?u@ab'#1&'# '#/#e#"'# #f##_"'#1&'# #`g0##?"'# #."'# #"'# #h0##@"'#, #A"'# #B"'# #C#$DEi#a'#"'# #B"'# #Cj@+'# *#bk2^I_i?@a b'#1&'# '#/#l#"'# #m##_"'#1&'# #`n0##?"'# #."'# #"'# #o0##@"'#, #A"'# #B"'# #C#$DEp#a'#"'# #B"'# #Cq@+'# *#br]^t_?@ a8b'#1&'# '#/#s#"'# #t##_"'#1&'# #`u0##?"'# #."'# #"'# #v0##@"'#, #A"'# #B"'# #C#$DEw#a'#"'# #B"'# #Cx@+'# *#by^_?@8acb'#1&'#4'#3##z##"'# #{###_"'#1&'#4 #`|0###?"'# #."'# #"'# #}0###@"'#, #A"'# #B"'# #C#$DE~#a'##"'# #B"'# #C@+'# *#b^_?!@cab'#1&'#4'#3#%#%"'# ##%#_"'#1&'#4 #`0#%#?"'# #."'# #"'# #0#%#@"'#, #A"'# #B"'# #C#$DE#a'#%"'# #B"'# #C@+'# *#b^_?Q@ab'#1&'#c'#,#'#'"'# ##'#_"'#1&'#c #`0#'#?"'# #."'# #"'# #0#'#@"'#, #A"'# #B"'# #C#$DE#0'#1&'#c"'#1&'#c #2#a'#'"'# #B"'# #C@+'# *#b^*_K?@0ab'#1&'#d'#,#!#!"'# ##!#_"'#1&'#d #`0#!#?"'# #."'# #"'# #0#!#@"'#, #A"'# #B"'# #C#$DE#0'#1&'#d"'#1&'#d #2#a'#!"'# #B"'# #C@+'# *#bt^_?@(0Tab'#1&'#e'#,#)#)"'# ##)#_"'#1&'#e #`#0'#1&'#e"'#1&'#e #20#)#?"'# #."'# #"'# #0#)#@"'#, #A"'# #B"'# #C#$DE#a'#)"'# #B"'# #C@+'# *#b^_0;?s@ab#c##c"'#4 #f"'#4 #g"'#4 #h"'#4 #i#c#j"'#4 #k#c#l#c#m"'#d #f#c#n"'#e #k#0'#c"'#c #2#o'#c#o'#c"'#c #2#p'#c"'#c #2#q'#c"'#c #2#r'#d"'#c #2#s'#d"'#c #2#t'#d"'#c #2#u'#d"'#c #2#v'#d"'#c #2#w'#d"'#c #2#x'#c"'#4 #y#z'#c#{'#c"'#c #|"'#c #}#f'#4#g'#4#h'#4#i'#4#~'# @+'# *#@+'# *#@@+'# *#@+'# *#@+'# *#@+'# *#P@+'# *#@+'# *#@+'# *# @+'# *#`@+'# *#@+'# *#@+'# *#0@+'# *#p@+'# *#@+'# *#@+'# *#@+'# *#D@+'# *#@+'# *#@+'# *#@+'# *#T@+'# *#@+'# *#@+'# *#$@+'# *#d@+'# *#@+'# *#@+'# *#4@+'# *#t@+'# *#@+'# *#@+'# *#@+'# *#H@+'# *#@+'# *#@+'# *#@+'# *#X@+'# *#@+'# *#@+'# *#(@+'# *#h@+'# *#@+'# *#@+'# *#8@+'# *#x@+'# *#@+'# *#@+'# *# @+'# *#L@+'# *#@+'# *#@+'# *#@+'# *#\@+'# *#@+'# *#@+'# *#,@+'# *#l@+'# *#@+'# *#@+'# *#<@+'# *#|@+'# *#@+'# *#@+'# *#@+'# *#A@+'# *#@+'# *#@+'# *#@+'# *#Q@+'# *#@+'# *#@+'# *#!@+'# *#a@+'# *#@+'# *#@+'# *#1@+'# *#q@+'# *#@+'# *#@+'# *# @+'# *#E -@+'# *# @+'# *# @+'# *# @+'# *#U@+'# *#@+'# *#@+'# *#%@+'# *#e@+'# *#@+'# *#@+'# *#5@+'# *#u@+'# *#@+'# *#@+'# *# @+'# *#I@+'# *#@+'# *#@+'# *#@+'# *#Y@+'# *#@+'# *# @+'# *#)!@+'# *#i"@+'# *##@+'# *#$@+'# *#9%@+'# *#y&@+'# *#'@+'# *#(@+'# *# )@+'# *#M*@+'# *#+@+'# *#,@+'# *#-@+'# *#].@+'# *#/@+'# *#0@+'# *#-1@+'# *#m2@+'# *#3@+'# *#4@+'# *#=5@+'# *#}6@+'# *#7@+'# *#8@+'# *#9@+'# *#B:@+'# *#;@+'# *#<@+'# *#=@+'# *#R>@+'# *#?@+'# *#@@+'# *#"A@+'# *#bB@+'# *# C@+'# *# -D@+'# *# 2E@+'# *# rF@+'# *# G@+'# *#H@+'# *#I@+'# *#FJ@+'# *#K@+'# *#L@+'# *#M@+'# *#VN@+'# *#O@+'# *#P@+'# *#&Q@+'# *#fR@+'# *#S@+'# *#T@+'# *#6U@+'# *#vV@+'# *#W@+'# *#X@+'# *# -Y@+'# *# JZ@+'# *#![@+'# *#"\@+'# *##]@+'# *#$Z^@+'# *#%_@+'# *#&`@+'# *#'*a@+'# *#(jb@+'# *#)c@+'# *#*d@+'# *#+:e@+'# *#,zf@+'# *#-g@+'# *#.h@+'# *#/i@+'# *#0Nj@+'# *#1k@+'# *#2l@+'# *#3m@+'# *#4^n@+'# *#5o@+'# *#6p@+'# *#7.q@+'# *#8nr@+'# *#9s@+'# *#:t@+'# *#;>u@+'# *#<~v@+'# *#=w@+'# *#>x@+'# *#?y@+'# *#@Cz@+'# *#A{@+'# *#B|@+'# *#C}@+'# *#DS~@+'# *#E@+'# *#F@+'# *#G#@+'# *#Hc@+'# *#I@+'# *#J@+'# *#K3@+'# *#Ls@+'# *#M@+'# *#N@+'# *#O@+'# *#PG@+'# *#Q@+'# *#R@+'# *#S@+'# *#TW@+'# *#U@+'# *#V@+'# *#W'@+'# *#Xg@+'# *#Y@+'# *#Z@+'# *#[7@+'# *#\w@+'# *#]@+'# *#^@+'# *#_ @+'# *#`K@+'# *#a@+'# *#b@+'# *#c@+'# *#d[@+'# *#e@+'# *#f@+'# *#g+@+'# *#hk@+'# *#i@+'# *#j@+'# *#k;@+'# *#l{@+'# *#m@+'# *#n@+'# *#o@+'# *#pO@+'# *#q@+'# *#r@+'# *#s@+'# *#t_@+'# *#u@+'# *#v@+'# *#w/@+'# *#xo@+'# *#y@+'# *#z@+'# *#{?@+'# *#|@+'# *#}@+'# *#~#'#c"'# ##'#c"'#c #2"'# ##'#c"'#4 #f#'#c"'#4 #g#'#c"'#4 #h#'#c"'#4 #i#'#c"'#c #2#'#c"'#c #2#'#c#'#c#'#cÁ#&^_jylmn0oo p)qGrestuvwxz,{UUfeUguUhUiU~4Ld| $<Tl,D\t4Ld| $<Tl,D\t¤äĤ4ŤLƤdǤ|Ȥɤʤˤ̤ͥ Υ$ϥ<ХTѥlҥӥԥե֥ץئ٦,ڦDۦ\ܦtݦަߦ4Ld|觔駬 $<Tl,D\t4Ld|  -   $<Tl,D\t !"#$4%L&d'|()*+,- .$/<0T1l23456789,:D;\?@ABCD4ELFdG|HIJKLM N$O<PTQlRSTUVWXY,ZD[\\t]^_`abcd4eLfdg|hijklm n$o<pTqlrstuvwxy,zD{\|t}~-Lk#dā#d"'# #f"'# #g"'# #h"'# #i#d#6"'#6 #f"'#6 #g"'#6 #h"'#6 #i#d#"'#c #f#'#d"'#d #2#'#d"'#d #2#'#d"'#d #2#0'#d"'#d #2#o'#d"'#d #2#f'# #g'# #h'# #i'# #~'# @+'# *#@+'# *#@@+'# *#@+'# *#@+'# *#@+'# *#P@+'# *#@+'# *#@+'# *# @+'# *#`@+'# *#@+'# *#@+'# *#0@+'# *#p@+'# *#@+'# *#@+'# *#@+'# *#D@+'# *#@+'# *#@+'# *#@+'# *#T@+'# *#@+'# *#@+'# *#$@+'# *#d@+'# *#@+'# *#@+'# *#4@+'# *#t@+'# *#@+'# *#@+'# *#@+'# *#H@+'# *#@+'# *#@+'# *#@+'# *#X@+'# *#@+'# *#@+'# *#(@+'# *#h@+'# *#@+'# *#@+'# *#8@+'# *#x@+'# *#@+'# *#@+'# *# @+'# *#L@+'# *#@+'# *#@+'# *#@+'# *#\@+'# *#@+'# *# @+'# *#, -@+'# *#l @+'# *# @+'# *# @+'# *#<@+'# *#|@+'# *#@+'# *#@+'# *#@+'# *#A@+'# *#@+'# *#@+'# *#@+'# *#Q@+'# *#@+'# *#@+'# *#!@+'# *#a@+'# *#@+'# *#@+'# *#1@+'# *#q@+'# *# @+'# *#!@+'# *#"@+'# *#E#@+'# *#$@+'# *#%@+'# *#&@+'# *#U'@+'# *#(@+'# *#)@+'# *#%*@+'# *#e+@+'# *#,@+'# *#-@+'# *#5.@+'# *#u/@+'# *#0@+'# *#1@+'# *# 2@+'# *#I3@+'# *#4@+'# *#5@+'# *#6@+'# *#Y7@+'# *#8@+'# *#9@+'# *#):@+'# *#i;@+'# *#<@+'# *#=@+'# *#9>@+'# *#y?@+'# *#@@+'# *#A@+'# *# B@+'# *#MC@+'# *#D@+'# *#E@+'# *#F@+'# *#]G@+'# *#H@+'# *#I@+'# *#-J@+'# *#mK@+'# *#L@+'# *#M@+'# *#=N@+'# *#}O@+'# *#P@+'# *#Q@+'# *#R@+'# *#BS@+'# *#T@+'# *#U@+'# *#V@+'# *#RW@+'# *#X@+'# *#Y@+'# *#"Z@+'# *#b[@+'# *# \@+'# *# -]@+'# *# 2^@+'# *# r_@+'# *# `@+'# *#a@+'# *#b@+'# *#Fc@+'# *#d@+'# *#e@+'# *#f@+'# *#Vg@+'# *#h@+'# *#i@+'# *#&j@+'# *#fk@+'# *#l@+'# *#m@+'# *#6n@+'# *#vo@+'# *#p@+'# *#q@+'# *# -r@+'# *# Js@+'# *#!t@+'# *#"u@+'# *##v@+'# *#$Zw@+'# *#%x@+'# *#&y@+'# *#'*z@+'# *#(j{@+'# *#)|@+'# *#*}@+'# *#+:~@+'# *#,z@+'# *#-@+'# *#.@+'# *#/@+'# *#0N@+'# *#1@+'# *#2@+'# *#3@+'# *#4^@+'# *#5@+'# *#6@+'# *#7.@+'# *#8n@+'# *#9@+'# *#:@+'# *#;>@+'# *#<~@+'# *#=@+'# *#>@+'# *#?@+'# *#@C@+'# *#A@+'# *#B@+'# *#C@+'# *#DS@+'# *#E@+'# *#F@+'# *#G#@+'# *#Hc@+'# *#I@+'# *#J@+'# *#K3@+'# *#Ls@+'# *#M@+'# *#N@+'# *#O@+'# *#PG@+'# *#Q@+'# *#R@+'# *#S@+'# *#TW@+'# *#U@+'# *#V@+'# *#W'@+'# *#Xg@+'# *#Y@+'# *#Z@+'# *#[7@+'# *#\w@+'# *#]@+'# *#^@+'# *#_ @+'# *#`K@+'# *#a@+'# *#b@+'# *#c@+'# *#d[@+'# *#e@+'# *#f@+'# *#g+@+'# *#hk@+'# *#i@+'# *#j@+'# *#k;@+'# *#l{@+'# *#m@+'# *#n@+'# *#o@+'# *#pO@+'# *#q@+'# *#r@+'# *#s@+'# *#t_@+'# *#u@+'# *#v@+'# *#w/@+'# *#xo@+'# *#y@+'# *#z@+'# *#{?@+'# *#|@+'# *#}@+'# *#~#'#d"'# ##'#d"'#d #2"'# ##'#d"'# #f#'#d"'# #g#'#d"'# #h#'#d"'# #i#'#6#'#6#'#6#'#6#'#d"'#6 #f#'#d"'#6 #g#'#d"'#6 #h#'#d"'#6 #i#'#c"'#c #"'#c #^6:Yx0oUfUgUhUiU~3Kc{@ @#@;@S@k@@@@@@AA+ACA[AsAAAAABBB3BKBcB{BBBBBC C#C;CSCkCCCCCCDD+DCD[DsDDDDDEEE3EKEcE{EEEEEF F#F;FSFkFFFFFFGG+GCG[GsGGGGGHHH3HKHcH{HHHHHI I#I;ISIkIIIIIIJJ+JCJ[JsJJJJJKKK3KKKcK{KKKKK L  -L# L; LS LkLLLLLLMM+MCM[MsMMMMMNN N3!NK"Nc#N{$N%N&N'N(N)O *O#+O;,OS-Ok.O/O0O1O2O3O4P5P+6PC7P[8Ps9P:P;P<P=P>Q?Q@Q3AQKBQcCQ{DQEQFQGQHQIR JR#KR;LRSMRkNRORPRQRRRSRTSUS+VSCWS[XSsYSZS[S\S]S^T_T`T3aTKbTccT{dTeTfTgThTiU jU#kU;lUSmUknUoUpUqUrUsUtVuV+vVCwV[xVsyVzV{V|V}V~WW#WNWmWWWUWUWUWUXX-XLXkX#e#e"'#4 #f"'#4 #g#e#j"'#4 #k#e#l#e#"'#c #k#0'#e"'#e #2#o'#e#o'#e"'#e #2#p'#e"'#e #2#q'#e"'#e #2#x'#e"'#4 #y#z'#e#{'#e"'#e #|"'#e #}#f'#4#g'#4#~'# #'#e"'#4 #f#'#e"'#4 #g#'#e"'#e #2#'#e"'#e #2#'#eaP^asjalaa0aoaobpb$qbBxb`zbs{bUfbUgbU~bbc -c)cH< (g,/3BG5ڄ+  Hfw͏#=Nhy#%ז'5S!)c}dXaBec\  @##'# #+'# *##"'# #A# -'# # '# "'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# # #'#"'# #"'# # -#'#"'# #"'# # #'#"'# #"'# # # '#!"'# #"'# # #"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #dd^dU -d e e9eieeef)fYf f"f$g&gI(gy*'#+#+'#+*##"'#+ #A#F'# "'# #G#H'#I"'# #G"'# #J#K'# "'# #G#L'#I"'# #G"'# #J#M'# "'# #G"'#5 #N #5#9#O'#I"'# #G"'# #J"'#5 #N #5#9#P'# "'# #G"'#5 #N #5#9#Q'#I"'# #G"'# #J"'#5 #N #5#9#R'# "'# #G"'#5 #N #5#9#S'#I"'# #G"'# #J"'#5 #N #5#9#T'# "'# #G"'#5 #N #5#9 #U'#I"'# #G"'# #J"'#5 #N #5#9!#V'# "'# #G"'#5 #N #5#9"#W'#I"'# #G"'# #J"'#5 #N #5#9##X'# "'# #G"'#5 #N #5#9$#Y'#I"'# #G"'# #J"'#5 #N #5#9%#Z'#4"'# #G"'#5 #N #5#9&#['#I"'# #G"'#4 #J"'#5 #N #5#9'#\'#4"'# #G"'#5 #N #5#9(#]'#I"'# #G"'#4 #J"'#5 #N #5#9)#-'# *#'# +# -'# ,#.'# -#'#I.h-hB^hZFhwHhKhLhMiOiOPiQiRiSj%TjUUjVjWjXk+YkfZk[k\l]l+'#*#?#"'# #@#'#"'# #AoVok^o '#&'# -'#&'# '#'#'##B+'#*#C#"'# #D#'#"'# #Eop^p! '#&'# -'#&'# '#'#'##F+'#*#G#"'# #H#'#"'# #Ipp^p '#&'# -'#&'# '#'#'##J+'#*#K#"'# #L#'#"'# #Mq-qB^q[ '#&'# -'#&'# '#'#'##N+'#*#O#"'# #P#'#"'# #Qqq^q '#&'# -'#&'# '#'#'##R+'#*#S#"'# #T#'#"'# #Urgr|^r '#&'# -'#&'# '#'#'##V+'#*#W#"'# #X#'#"'# #Yss^s2 '#&'# -'#&'# '#'#'##Z+'#*#[#"'# #\#'#"'# #]ss^s '#&'#d-'#&'#d'#!'#!'#!#^+'#!*#_#"'#! #`#'#!"'# #at>tS^tl '#&'#c-'#&'#c'#''#''#'#b+'#'*#c#"'#' #d#'#'"'# #ett^u  '#&'#e-'#&'#e'#)'#)'#)#f+'#)*#g#"'#) #h#'#)"'# #iuxu^u '#&'#4-'#&'#4'##'##'###j+'##*#k#"'## #l#'##"'# #mvv*^vC '#&'#4-'#&'#4'#%'#%'#%#n+'#%*#o#"'#% #p#'#%"'# #qvv^vdldghlm1n=n~oooop?pUppqyqrr,rrsPsfstttu'u=uuvavwvcw  @##$$!###$$$$ā$Ɓ$ȁ$ʁ$́$΁$Ё$ҁ$ԁ$ց$؁w  @##%+'#*#;#%+'# *# '##+'#6*# #"'#6 #2###'##'# "'# ##'#"'#1&'# #"'#6 ##'##'# xy^y-Uy>y^yUyU '#&'#'#1&'# # -+'# *#  -# # #'# "'# #"'# #B"'# #C #'#"'#&'#1&'# ##'#&'#1&'# "'#&'# #zz&^z<zzz '## #E#{^ '##+'#*#+'# *## # ##'#I#'#I"'# #"'# #B"'# #C"'#6 #{I{_{t^{{ '#&'#1&'# '##+'#6*#+'# *# -# # ##'#"'#1&'# #"'# #B"'# #C#'#"'#1&'# #"'# #B"'# #C#'#"'#&'# ##'#&'#"'#&'#1&'# #|6|K|`^||}}* '##  #"'#6 #E##!#'#"'#&'# #"}^} '###+'#*#$# #%#'#I&#'#I"'#1&'# #'#'#I"'#1&'# #"'# #B"'# #C"'#6 #(~~3^~I~\~ '##)+'#*#*# #+#'#I,#'#I"'#1&'# #-#'#I"'#1&'# #"'# #B"'# #C"'#6 #.^/Bhx -x%x%xyyz{{-{4{| }a}}~~~  @##%+'#*#;#%+'#*#;##"'#1&'# #'##"'#1&'# #'##"'# #'# # %+'# *# -= '# &'#1&'# '##+'# *#  #2# '# +##2# ' # # #'# -#'# #'# "'# # #'#"'# #"'# #B"'# #C @#'#I"'# #"'# #"'# #"'# #"'# #"'# #S i^UU- '#&'#1&'# '## +'#6*# # 2#+# #2##'#"'#1&'# ##'#"'#&'# #^*Q#@+'#*#$@+'#*#$@+'# *#@+'# *# @+'# *#!?+'# *#"+'#*###"'#6 #@#$'# "'# #%"'# #&@#''# "'# #(@#)'# "'# #( #*'# "'# #+!#'# "'#1&'# #"'# #B"'# #C"'#6 #"@#,'# "'# #-"'#1&'# #"'# #B"'# #C"'#6 #"'# #."'# #/"'# #(#@#0'#I"'# #-"'# #."'# #/"'# #%"'# #&$ !'"<#R^k$')*;,0 '##1%+'# *#2&#1"'#6 #'#*'# "'# #+(2^* '##3)#'#I"'#1&'# #*#'#I+#'#I"'#1&'# #"'# #B"'# #C"'#6 #,#4'#I"'#1&'# #"'# #B"'# #C"'#6 #-':4 '#3#5.+'#&'#*#/+'#*# 0#5 #"'#6 #1#4'#I"'#1&'# #"'# #B"'# #C"'#6 #2 0^R4 '#3#63+'#*#4+'#*# 5#6 #"'#6 #6#4'#I"'#1&'# #"'# #B"'# #C"'#6 #7 ^4 '#&'#'#1&'# #8 -#9#'# "'# #"'# #B"'# #C:#'#"'#&'#1&'# #;^#7<@+'# *#=@+'# *# >@+'# *#8OO?@+'# *#9OO@@+'# *#:#8A@+'# *#;#9B@+'#1&'# *#<C@+'# *#=%D@+'# *#>3E@+'# *#?dF+'# *#"G@#@'# "'# #%"'# #&H@#)'# "'# #(I@#''# "'# #(J@#A'# "'# #BK@#C'# "'# #(L@#D'#6"'# #(M#'# "'# #"'# #B"'# #CN#'#I"'# #"'# #CO@#E'# "'# #"'# #B"'# #C"'# #."'# #F"'# #(P@+'# *#GQ@#H'# "'# #"'# #B"'# #C"'# #(R@#I'# "'# #"'# #B"'# #CS@#'# "'# #"'# #B"'# #C"'# #(TG^ u89:;<= ->!?8"M@x)'ACDItEGH%I[ '##JU+'#&'#1&'# *#V+'#7*#KW#J #X#'#I"'# #Y#'#IZ#'#I"'# #"'# #B"'# #C"'#6 #[gK^A^%}% % -* zt1356c$97RJ,  @## '#L&'#1&'# ##6##M'#I"'#1&'# #N #O'#P6##Q"'#&'#1&'# #'#R#'#I"'#1&'# #S"'# #B"'# #C"'#6 #8^EMQ '###'#I"'#1&'# #S#'#I#'#I"'#1&'# #S"'# #B"'# #C"'#6 #,Re '##R +'#&'#1&'# *# -#R # #'#I"'#1&'# #S #'#I ^8 '##P@+*#TH+'#I"'#1&'# *#U+'#1&'# *#V+'# *#W#P'#I"'#1&'# #N #O#'#I"'#X&'# #S@#Y'# "'# #k#'#I}TUVW^#JYhRKhP{  @##)(#Z'#&'#Z#L#L6#L#M'#I"'#1&'#Z #N #O'#[&'#Z#'#I"'#Z #S#'#I+^8M|)(#Z '#L&'#Z#[+'#I"'#1&'#Z*#U+'#1&'#Z*#\#[ #U#'#I"'#Z #S #'#I -U\:^Pp)(#](#Z'#^&'#]#_ +'#^&'#Z*#` +'#&'#]*#a #_"'#&'#]'#Z #b"'#^&'#Z ##'#I"'#] #c#d'#I"'#e #f"'#g #h#'#I`a^MmdL[_  @##)(#](#Z#  -# #'#Z"'#] ##'#]"'#Z ##'#&'#]'#Z#'#&'#Z'#]#i)(#j'# &'#]'#j"'# &'#Z'#j #2#k'# &'#Z'#];^HiUUi Uk)(#](#l(#Z '# &'#]'#Z#m+'# &'#]'#l*#n +'# &'#l'#Z*#o -#'#&'#]'#Z #'#&'#Z'#] #m #n #o noUU^)(#Z(#] '# &'#Z'#]#p+'# &'#]'#Z*#q#p"'# &'#]'#Z #r#'#&'#Z'#]#'#&'#]'#Z#k'# &'#]'#Zq^UUUk +\m8]p7  @##)(#](#Z '#s&'#]'#Z# -#@#t)(#u(#v(#w(#x'#&'#w'#x"'#&'#u'#v ##'#Z"'#] ##i)(#x'#&'#]'#x"'#&'#Z'#x #2#'#&'#]"'#&'#Z ##'#&'#Z"'#&'#] ##y)(#z(#{'#&'#z'#{^t3Tiy)(#](#l(#Z '#&'#]'#Z#|+'#&'#]'#l*#n +'#&'#l'#Z*#o -#| #n #o #'#Z"'#] # #'#&'#]"'#&'#Z # no^*[|K  @## '# &'#'#1&'# # -##'#&'#'#1&'# #'#&'#1&'# '##}'#~&'#"'#&'#1&'# ##'#@+'#&'#'#*#@#'#"'# #^UU(}_Up  @##%+'#*#;## +'#*#+'#6*#+'#6*#+'#6*#+'#6*#@+'#*#;##8$@+'#*#;##8$@+'#*#;##8$ @+'#*#;##8$ -*##8 # # # # #  #"'# #$ # # # #2## #'# AWl5c8^ '#&'#'##+'#*# -# # ###'#"'# ##'#"'# #"'# #B"'# #C#'#"'#&'# #^" '##+'#*#+'#*## # ##'#I"'# #S"'# #B"'# #C"'#6 ##'#I^%3qKo$  @## '##+'#e*#+'#e*#+'#*## # # ##'#^ '###"'#e ##'#h^%+'#*#;# "'#e #'#e"'#e # #'## -"'# #'#e"'#e #"'#e #J #'##  '# &'#e'## +'#e"'#e #"'#e #J*# +'#e"'#*# #'#e"'#e #"'#e #J #'#e"'# # #2##2#####'#"'#e #"'#e #J ##'#"'# #'#e"'#e #"'#e #J ##'#"'#e #J'#e"'# # ##'##'#z^B| UU '#&'#e'##+'#*#+'#e"'#*# #'#e"'# # #2#12##+## #'#e"'# # #2###'#"'#e ##'#L&'#e"'#&'# ##'#&'#"'#&'#e ##i)(#Z'#&'#e'#Z"'#&'#'#Z #2^Efi '#&'#e'#1&'# # -@+'# *#H@+'# *### +'#1&'# *#!+'#e"'#*#"+'# *###"'# #'#"'# # #"'# #$@#'#1&'# "'# #%#'#1&'# "'#e #&#'#L&'#e"'#&'#1&'# #'#'#&'#1&'# "'#&'#e #( -o^Qx '#L&'#e#)+'#*#*+'#e"'#*#++'#*#,+'#6*#-# # # #.#'#I"'#e #c/#'#I0u^% '#L&'#e#1 +'#*#2+'#1&'# *#3+'#e"'#*#4+'# *#5+'#6*#6# # # # #7#'#I"'# #S"'# #B"'# #C8#'#I"'#e #9#'#I:  ^>s '#&'#'#e#;+'#e"'#e #"'#e #J*#< #'#e"'#e #"'#e #J #2##=#'#"'# #>#'#"'#&'#e #?#'#&'#e"'#&'# #@ C^"'# #" #" #J #'##A"'# #'##B#C#@+'# *#D@+'# *# E@+'# *# -F@+'# *# G@+'# *# H@+'# *#"I@+'# *#0J@+'# *#\K@+'# *#bL@+'# *#dM@+'# *#fN@+'# *#nO@+'# *#rP@+'# *#tQ@+'# *#uR@+'# *#HS@+'# *#HT@+'# *#HU@+'# *#HV+'#1*#W+"'#*#X#'#"'# #c #Y#'#Z#'#I"'# #[#'#I"'# #"'# #B"'# #C\#'#I"'# #]#'#I"'# #^@#'# "'# #f_#'#I"'# #y`#'#I"'#e #a#'#I"'#e #b#'#I"'#e #c#'#6"'#e #d#'#I"'#1&'#e #e#'#6"'#&'#e'#e #f#2I`w&Dbw^U*Ii&M'##g+'# *#h#'#I"'# #i#'#I"'#1&'#e #j#'#6"'#&'#e'#e #k '##l +'#*#m# #"'#"'# # #n@#'#"'#e #'#"'# # #"'# #o@#'#I"'#e #"'# #.'#"'# #c #"'# #p#'#q#'#I"'# #r#'#I"'# #s#'#I"'# #"'# #B"'# #Ct#'#I"'# #u Wm^HUYy '#-'##v+'#*#w#"'# #'#"'# #c # #x#'#I"'# #%yKa^ '##z+'# *#{+'#I"'# #"'# #B"'# #C*#|+'# *#.}+'# *#~#'#"'# #c # # #@#'#I"'#e #"'#1&'# #'#"'# #c #"'# #'#I"'# #S"'# #B"'# #C ##'#I#'##'#I"'# ##'#I"'# ##'#I"'# ##'#I"'# #"'# #B"'# #C#'#I"'# ##'#I"'# ##'#I"'# ##'#I"'# #?.Sh^5IU[|5U '#-'##+'#1&'# *##'#"'# #c # #"'# #'#I"'# #."'# #B"'# #C ##'#I"'# #%#^w-S%W-g F X8m%`{$B.u  @##%+'#*#;#%+'# *# '##+'#6*# #"'#6 #2###'##'# "'# ##'#"'#1&'# #"'#6 ##'##'#  ^1UBbUU '## - #E# ^ '##  #"'#6 #E## #'#"'#&'# #1^Y '##+'#*## ##'#I#'#I"'#1&'# ##'#I"'#1&'# #"'# #B"'# #C"'#6 ##'#I"'#1&'# #"'# #B"'# #C"'#6 #@#'#I"'#1&'# #"'# #B"'# #C@#'#I"'#1&'# #"'# #B"'# #C^ -R '###"'# ##'#I"'#1&'# #"'# #B"'# #C"'#6 #`^z%%K  @##%+'# *# -%+'# *#  '#s&'#'## -#H#'#X&'#"'# #"'# #B"'# #C#'#1&'#"'# #A#'#"'#&'# ##'#&'#"'#&'# #^. '##+'#*# +'#*# -+'#6*# # # #'#I"'# #S"'# #B"'# #C"'#6 # #'#I# -'#I"'# #"'# #B"'# #C—­ ^0C - '#'#^&'## +'#^&'#*#`# "'#^&'# # #d'#I"'#e #c"'#g #h`^d9%P%g_‚yí B  @## '#L&'###6##M'#I"'# #N #O'# 6##Q"'#&'# #'#6##"'# #'#&'##'#I"'# #S"'# #B"'# #C"'#6 ##'#"'#6 ##'#^M -Q7dŦ '##6##"'# #'#I #'# #'#I - U'## +'#I*#U +'#*# # # #U#'#I#'#I"'# ##'#I"'#e #c#'#I"'#e #c$^#'#I"'#X #"'# #$^ƍUƩƿ^0W'## -@+*#+'#*#V+'#*#a# #a#'#I#'#I"'# ##'#I"'#e #c#'#I"'#e #c$^#'#I"'#X #"'# #$^# '#I -Va^/BaȁȨ  '#!#'##! #'#I"'# #""'# #B"'# #C"'#6 #!#'#I"#'#I"'# #"##'#"'#6 #$#'#%dɦɹ)(##'# '##&+'##*#$'# #$(#'#I)#'#I"'# #""'# #B"'# #C"'#6 #*#'#I"'# #"+#'#"'#6 #,#'#-T$j^ʀʓ '#&'## .+'#I"'#*#U/#  #U0#'#I1#'#"'#6 #2xU˞^˴ '##3+'#&'#*#4# #5#'#I"'# #"6#'#I"'# #""'# #B"'# #C"'#6 #7#'#I87^Mm̯ '##%9+'#&*#K:+'#&'#e*#;+'#*#$<#% # #$"'#6 #=#'#I>#'#I"'#1&'# #S?#'#I"'#1&'# #'"'# #("'# #)"'#6 #@K/$E^p̓ͩ '##*A+'#&*#KB+'#*#aC+'#*#VD#*"'# #"'#6 #E##*#8 #a"'# #+"'#6 #F#'#IG#'#I"'#1&'# #SH#'#I"'#1&'# #S"'# #("'# #)"'#6 #I<KRahV~^Τ8Ď ī hwNj8MN! 1)[ %'*X  @##%+'# *#,H%+'# *#-H%+'#.*#/;#. '##.+'#6*#0 #."'#6 #2#0##'##'#"'#1&'# #'"'#6 ##'#1#'#2 Н0в^UU0U '#&'#'#1&'# #1 - -#1 #'# "'# #"'# #B"'# #C #'#"'#&'#1&'# # #'#&'#1&'# "'#&'# #ѕ^Ѣ#3 -+'# *#+'# *#W+'# *#V@+*#4H#3##3#5"'# #@#6'# "'# #7#8'#I#9'#6"'# #:"'# #;#<'# "'# #""'# #B"'# #C -p҅WҚVү4^568#9N< '#3-'#!#=+'#*##= ##'#I#'#I"'# #""'# #B"'# #C"'#6 #^* '#&'#1&'# '##2+'#6*#0  #2"'#6 #2#0#!#'#"'#1&'# #'"'# #B"'# #C"#'#"'#&'# ###'#&'#"'#&'#1&'# #$#i)(#Z'#&'#1&'# '#Z"'#&'#'#Z #>%#?'#"'#6 #"'#1&'# #'"'# #B"'# #C&Բ0^2[Ւi?%+'# *#@'%+'# *#AH(%+'# *#BH)%+'# *#CH*%+'# *#DH+%+'# *#EH,%+'# *#FH-%+'# *#GH."'# #H'#6#I/"'# #H'#6#J0"'# #K"'# #L'# #M1#&2B+'#6*#3+'# *#"4+'# *#N5@+'# *#O6@+'# *#PH7@+'#*#QK $^$RS$RS$RS$RS$TU$VW$XY$Z[8@+'# *#\9@+'# *#]:@+'# *#^ ;@+'# *#_0<@+'# *#`:=@+'# *#aD>@+'# *#bN?@+'# *#wX@@+'# *#cbA@+'# *#dlB@+'# *#evC@+'# *#fD@+'# *#gAE@+'# *#hCF@+'# *#iEG@+'# *#jGH@+'# *#kII@+'# *#lKJ@+'# *#mMK@+'#*#n$opL@+'#*#q$rsM@+'#*#t$uvN@+'#*#w$xyO@+'#*#z${|P@+'#*#}$~Q@+'#*#$R@+'#*#$S@+'#*#$T@+'#*#$U@+'#*#$kV@+'#*#$W@+'#*#$X@+'#*#$Y@+'#*#$Z@+'#*#$[@+'#*#$\@+'#*#$]@+'#*#$l^@+'#*#K $vLN^M#nN^M#wN^M#zN^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#zN^M#N^M#}N^M#NvLN^M#nN^M#wN^M#zN^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#}N^M#NvLN^M#nN^M#wN^M#zN^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#zN^M#N^M#}N^M#NvLN^M#N^M#N^M#N^M#N^M#N^M#nN^M#nN^M#nN^M#nN^M#nN^LN^M#N^M#N^M#N^M#N^M#N^M#wN^M#wN^M#wN^M#wN^M#wN^LN^M#N^M#N^M#N^M#N^M#N^M#zN^M#zN^M#zN^M#zN^M#zN^LN^M#N^M#N^M#N^M#N^M#N^M#N^M#N^M#wN^M#wN^M#wN^LN^M#N^M#N^M#N^M#N^M#N^M#wN^M#wN^M#N^M#N^M#N^LN^M#N^M#N^M#N^M#N^M#N^M#N^M#zN^M#zN^M#zN^M#zN^LN^M#N^M#N^M#N^M#N^M#N^M#zN^M#N^M#N^M#N^M#N^LN^M#N^M#N^M#N^M#N^M#N^M#wN^M#wN^M#wN^M#N^M#wN^LN^M#N^M#N^M#N^M#N^M#N^M#nN^M#nN^M#nN^M#nN^M#tN^M#N^M#N^M#N^M#N^M#N^_@+'# *##\`@+'# *##\a@+'# *##]b@+'# *##^c@+'# *##gd@+'# *##he@+'# *##if@+'# *##jg@+'# *##kh@+'# *##li@+'# *##mj@#'#6"'# #(#<$k@#'#"'# #(l#&"'#6 #m#'#"'#1&'# #'"'# #B"'# #n#'#"'#1&'# #'"'# #B"'# #o#'#"'#1&'# #'"'# #B"'# #"'#6 #p#'#"'# #"'# #B"'# #C"'#6 #q#'#I"'# #r#'#"'# #"'# #B"'# #C"'#6 #s@#'# "'#1&'# #'"'# #B"'# #CtB"NOP4Qx\؏]ئ^ؽ_`abw0cGd^eufٌg٣hٺijklm-nHqct~wڙzڴ} ;Upۋۦ-Qi)AY^<*-%,K%-i%/Ј.Al1Fb3ӄ=lԉ2(Z%@q%A֏%B֭%C%D%E%F%%GCIdJׅMײ&f xX[pIXϒl  @##!#$$$ƒ$ă%+'#4*# iW -@%+'#4*# Uk@%+'#4*# 9B.?%+'#4*# +eG?%+'#4*# &{?%+'#4*# -DT! @%+'#4*# ;f?%+'#4*# ;f?)(#Z'#"'#Z #"'#Z #'#Z# )(#Z'#"'#Z #"'#Z #'#Z# -"'# #"'# #'#4# "'# #f"'# #'## "'# #'#4# "'# #'#4#"'# #'#4#"'# #f'#4#"'# #f'#4#"'# #f'#4#"'# #f'#4#"'# #f'#4#"'# #f'#4#_%%%%%4%R%p% -9h1Rs  @##)(#Z'## +'#Z*#f+'#Z*#g #"'#Z #f"'#Z #g2#f#f2#g#g#'##'#6"'#e #2#'# #0'#&'#Z"'#&'#Z #2#o'#&'#Z"'#&'#Z #2#p'#&'#Z"'# # #'#4 -#'#4"'#&'#Z #2 #'#Z"'#&'#Z #2 mfg^U 0:oipU4Q  @####"'# ####'# "'# ##'#4#'#6|^Qn  @##)(#Z'## -##'#Z#'#Z#'#Z#'#Z#'#Z#'#Z#'##'#6"'#e #2 #'# -#'#&'#Z"'#&'#Z #2 #'#6"'#&'# #2 #'#&'#Z"'#&'#Z #2 #'#6"'#&'# ##'#6"'#&'# ##'#&'#Z#'#&'#Z#'#&'#Z#'#&'#ZY^fUwUUUUUU?fUUU1U)(#Z'# '#&'#Z#+'#Z*#+'#Z*#+'#Z*#+'#Z*# # # #"'#Z #"'#Z #2#354#KT54OO#w'##2#354#KT54OO#w'##0##"'#&'#Z #"'#&'#Z #&<R^)(#Z'# '#&'#Z'#&'#Z# -+'#Z*#+'#Z*#+'#Z*#+'#Z*## # #"'#Z #"'#Z # 0##"'#&'#Z #"'#&'#Z #!#'#Z" #"'#Z ###'#Z$ #"'#Z #% -r^=UNViUzV)(#Z'#"'#Z #J'#Z#& =J 7 A  @+##$0###$!#$!#######/$!#$ -!# $  !#~#$ #$  !#$ #$$$$$$$$$ !$"#$$%$&'$()$*+$,-$./$01$23$45$67$89$:;$<=$>?$@A$BC$DE$FG$HI$JK$LM$NO$PQ$RS$TUS  @###V+'#*#W -#V #W#X'##V$YZ#'#8WN^dUX%+'#V*#;#V$[\#] -#]^%+'#e*#^;#]#_# #W'# - -#_"'# #W .UW?^%+'#`*#a1# %+'#`*#b1# #<#<$c>+'#*#+'#e*#d#<"'# #"'#e #d' #<#8*#<#8 # #dd^8 *V%]%^_\j%a%b<A  @##'#e&'#f#f*#l'#f#g'#f#h'#f#i'#f"'# #"'# #j#k'#f"'# #"'# #j#f#Q"'# #J#z'#f#o'#f#0'#f"'#f #2 #o'#f"'#f #2 -#p'#f"'#f #2 #q'#4"'#f #2 #l'#f"'#f #2 #m'#f"'#f #2#n'#f"'#f #2#o'#f"'# #p#q'#f"'# #p#'#f"'#f #2#'#f"'#f #2#'#f"'#f #2#r'#f#s'#6"'#f #2#t'#6"'#f #2#u'#6"'#f #2#v'#6"'#f #2#w'# "'#f #2#x'# #y'# #z'#6#{'#6#|'#6#'#f"'# # #}'#f"'#f #"'#f #~!#'#f"'#f #~"#'#f"'#f #2##'#f"'# #$#'#f"'# #%#'#6&#'# '#'#4(#'#)#'#"'# #j**UlUg UhiOkQzo0opq=l]m}noq=rQsptuvwUxUy UzU{,U|<\} U.AUfu  @###6#<$=>#6#"'# #"'#6 ##6#"'# ##'# #'#6"'#6 #2#$ #'#6"'#6 #2#$ #'#6"'#6 #2#$ #'##U4_6  @##)(#Z'# "'#Z #"'#Z ##)(#Z#e#w'# "'#Z #2@#'# "'#e #"'#e #sw -']e  @##'#e&'##B@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# @+'# *# -@+'# *# @+'# *# @+'# *# @+'# *#@+'# *#@+'# *#@+'# *# @+'# *# -@+'# *# @+'# *# @+'# *# +'# *#+'#6*##"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# ####"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# ####@#i'#"'# #@#k'#"'# #@+'# *#H##"'# #"'#6 ###"'# #"'#6 # ## #!# #'#6"'#e #2!#'#6"'# #2"#'#6"'# #2##'#6"'# #2$#w'# "'# #2%#'# &#'#'#'#(@#'#"'# #)@#'#"'# #*@#'#"'# #+@#'#"'# #,#'#-#'#.#'#"'# #/#'#"'# #0#'#"'# #21## "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#6 #2##3#'#  "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#6 #4#'# 5#'# 6#'#7#'#8#'# 9#'# :#'# ;#'# <#'# =#'# >#'# ?#'# @#'# A@+'#*#BB 7Ne|4Kby-^P`ik?_wU7Ww$0UAURUdUvUUUUUUUUU%  @## '##4@+'#4*#4 t@+'#4*#4 ? t@+'#4*#OO#@+'#4*# @+'#4*# #n'#4"'# #2#0'#4"'# #2#o'#4"'# #2#p'#4"'# #2 #m'#4"'# #2 -#q'#4"'# #2 #l'# "'# #2 #o'#4 #z'#4#y'#4#'# #'# #'# #'# #'#4#'#4#'#4#'#4#'##i'#4"'# #'#4"'# # ###k'#4"'# # -M -v - - - -n 0 2o Pp nm q l o z Uy   $ 7 J ] p   i k - -94   @##'#e&'##(@+'# *#H@+'# *#H@+'# *#<@+'# *#<@+'# *#@+'# *#4##w@+'# *#4##w@+'# *#4##w@+'# *#4##w @+'# *#4##w -@+'# *#4##w @+'# *#4##w @+'# *#4##w @+'# *#4##w@+'# *#4##w@+'#*#l;#<+'# *# #"'# #"'# #"'# #"'# #"'# #"'# #6#444444##w4##we4##we4##we4##we#e*## ##0'#"'# #2#o'#"'# #2#p'#"'# ##l'#"'# ##s'#6"'# #2#u'#6"'# #2#t'#6"'# #2#v'#6"'# #2#'# #'# #'# #'# #'# #'# !#'#6"'#e #2"#'# ##w'# "'# #2$#'#%#|'#6&#z'#'#o'#((1Of}%B_|l^0opl4sSurtvUUUUUU/U?w^rU|zo    @####@#'#"'#e ##'#"'# ##'#"'#e ##h'#g^4VxUh '##+'#e*#W# #W#'# W^ '## - '###V$  '## ##<$=> #'#j^ '## +'#6*#+'#*#+'#*#+'#*#W# #W#<$=>###J" #J # #W#<$=>### #@#)(#Z#$DE'#Z"'#Z #"'# ##$ #'##'##'# W^4JlUU '##  +'#*#B+'#*#C# ""#W#<$=>## #J"'# #J"'# #"'# #W## # -"'# #"'# # "'# # "'# #"'# #W#<$=> 6# #"'# #"'# # "'# #"'# #W"'# #'#!@#'# "'# #J"'# # "'# # "'# #"'# #W"@#'# "'# #"'# # "'# #"'# #"'# #W#@#'# "'# #B"'# #C"'# #"'# #"'# #"'# #W$@#'# "'# #J"'# #"'# #W%#'#&#'#' tBC^J -X g UU '#'# #(+*# )+'# *#*#"'# #"'# # "'# #"'# #W"'# #+#B'# ,#C'# -#'#.#'#/ ^UB"UC1UBU '##0#1##"'# #"'# ##<$=>2#'#3^ '##4+'#*#5#"'# #6#'#7.^H '##8##"'#e #"'# # 9#"'#e #"'# #!"'#1 #""'#&'#'# ###V$$%:#'#;^ '##&#<$=><+'#*#W=#&'# #W#<$=>>#'#?XWn^ '#'#&#'@+'#*#WA#' #WB#'#CW^  '##(D+'#*#WE#( #WF#'#GJW`^v '##)H+'#e*#*I#) #*J#'#K*^'##+L -#+#<$=>M#'#N#h'#gO$^<PUh'##,P -#,#<$=>Q#'#R#h'#gS^Uh '##-T+'#*#.U#- #.#<$=>V#'#W. ^ -01TU_ +~S]s#8&'5()+av,- A  @###/#/""#W!M^'#/#0+'#*#W#0 #W#'#!W!^!'#/#1+'#*#W+'#*#+'# *#2  -#1 #W$^ # #2#<$=> -#'# !W""2"1^"q'#/#3  -#3#<$=> #'#"^"!"!?/!d!k0!!1""3"  @##)(#Z'#e#4+'#*##4"'# ##'##'#Z"'#e ##5'#I"'#e #"'#Z #J#e#{^###5#,#I4#  @###6#7"'#6 #8"'#1&'# #""'#&'#'# ###'# #'#6"'#e #2$Z7$U$$/$L6$  @##"'#e #"'#e #'#6#9"'#e #'# #:#<$=>$%9%I:  @## '## # #"'# #"'# ##'# "'# #2#'# "'# #2#'# "'# #2#r'# #o'# "'# #p#q'# "'# #p#;'# "'# #p#}'# "'# #"'# #~ #'# "'# #~ -#'# "'# #2 #z'#6 #{'#6 #x'# #'# "'# ##'# "'# ##o'# #z'# #y'# #'# #'# #'# #'# #'#4#'#4#'#4#'#4#'##'#"'# #j#i'# "'# #"'# #j'# "'# # ###k'# "'# #"'# #j%%&&#&Ar&To&sq&;&}&&'Uz')U{'9Ux'I'h'o'z'Uy''''(((-(@(S(g(i(k%% )  @### #0##<"'# #!"'#X&'#e #""'#&'#'#e ##0##="'# #!"'#X&'#> #?"'#X&'#e #""'#&'#'#e ##6##@"'# #' #A#@6##B"'# #!"'#e #' #A#B#!'##?'#1&'#>#"'#1&'###'#&'#'# #C'#6 -#D'#6 #E'#6 #F'#6 * ^*-<*}=*@+ B+AU!+RU?+jU"+U#+UC+UD+UE+UF'##A+'#*#!+'#1&'#>*#?+'#1&'#e*#G+'#&'#'#e*#H##A#< #!"'#X&'#> #I"'#X&'#e #J"'#&'#'#e #K##A#@ #!##A#B #!"'#e ##"'#1&'###'#&'#'##C'#6#D'#6#E'#6#F'#6@#L'#1&'#>"'#X&'#> #I,R!,h?,G,H,<-$@-=B-cU"-{U#-UC-UD-UE-UF-L)*+,<A. -  @##)(##X# -#X0#X#M"'# #%'#"'# # #N>#X#O'#P&'#@#t)(#](#Z'#X&'#Z"'#X&'#] ##Q'#R&'##y)(#j'#X&'#j#S'#X&'#"'#X&'# #2#)(#Z'#X&'#Z'#Z"'# # #T#U'#X&'#'#6"'# # #V #W)(#Z'#X&'#Z -#X)(#Z'#X&'#Z'#X&'#Z"'# # #T #Y'#6"'#e # #Z'#I'#I"'# # #T #['#'#"'# #J"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#`'#6'#6"'# # #V#a'#"'# #$^#b'#6'#6"'# # #V#c'#1&'#"'#6 #d#e'#f&'##'# #g'#6#h'#6#i'#X&'#"'# #%#j'#X&'#'#6"'# #J #V#k'#X&'#"'# #%#l'#X&'#'#6"'# #J #V#m'##n'##'##o'#'#6"'# # #V'# #p#q'#'#6"'# # #V'# #p #r'#'#6"'# # #V'# #p!#s'#"'# #"#'###.^.M/O/(t/gUQ/y/S/0U0OW0sX0Y0Z1 [1K]1`1a1b2'c2Se2oU2~Ug2Uh2i2j2k3&l3^Um3oUn3U3o3q4r4`s4)(# '#t&'##u$+'# *#%+'#"'# *#v&#u #'#"'# # #N'#s'#"'# #(@#w'# "'# #)55v5^6s69w)(#'#R&'##x*#y'#6+6y..X45u6X6|x6  @##)(##R#z'#6#{'#7z7)U{67R7:  @##)(#'#|&'##1,#1"'# ##V$}~#1#"'# #"'# #"'#6 #d#1#O"'#6 #d#$#1#Q"'#X #`"'#6 #d#1#"'#X&'# #`"'#6 #d#1#M"'# #'#"'# # #N"'#6 #d#1#"'#X #`@#t)(#](#Z'#1&'#Z"'#1&'#] #@#)(#Z'#I"'#1&'#Z #"'# #"'#1&'#Z #"'# #B"'# #C @#)(#Z'#I"'#1&'#Z #"'# #"'#X&'#Z # -#y)(#j'#1&'#j #'#"'# # #5'#I"'# #"'# #J "#m'#I"'# #J"#n'#I"'# #J#'# "#"'# ##'#I"'# #J#'#I"'#X&'# ##'#X&'##'#I'# "'# #"'# # ##'#I"'# ##'# "'# #"'# #B#'# '#6"'# # #V"'# #B#'# '#6"'# # #V"'# #B#'# "'# #"'# #B#'#I#'#I"'# #"'# ##'#I"'# #"'#X&'# ##'#I"'# #"'#X&'# ##'#6"'#e #J#'#"'# # #'#!#'#I'#6"'# # #V"#'#I'#6"'# # #V##0'#1&'#"'#1&'# #2$#a'#1&'#"'# #B"'# #C%#'#X&'#"'# #B"'# #C&#'#I"'# #B"'# #C"'#X&'# #"'# #'#'#I"'# #B"'# #C(#'#I"'# #B"'# #C"'# #)#'#I"'# #B"'# #C"'#X&'# #*#'#&'# '#+#'#6"'#e #2,,7^77O8(Q8T8M88t9(99y::&5:QVm:pVn:U:V:::U;;W;z;;<(>B>>>?1?R7Y7v1?q  @##)(#(###6##Q"'# #2'#&'#'##Q6##"'#&'#'# #2'#&'#'####"'#&'#'# #26##'#&'#'##6##"'#X #'#"'# # #'#"'# # #J'#&'#'##6##"'#X&'# #"'#X&'# #'#&'#'##@#t)(#(#(#(#'#&'#'#"'#&'#'# #0##"'#X&'#&'#'# # #y)(#(#'#&'#'# -#'#6"'#e #J #'#6"'#e # #'#"'#e # #5'#I"'# #"'# #J#'#X&'#&'#'##)(#(#'#&'#'#'#&'#'#"'# #"'# #J ##'#I"'#X&'#&'#'# ##'#"'# #'#"'# #J #'# ##'#I'#"'# #"'# #J ##'#I'#6"'# #"'# #J #V#'#"'# #'# ##'#I"'#&'#'# #2#'#"'#e ##'#I#Z'#I'#I"'# #"'# #J ##'#X&'##'#X&'##'# #g'#6#h'#6@^@QA+AnAAB8BtBCyCECdCC5CUCD`DDE%EaEEEEZF0UFIUFbUFqUgFUh)(#(##+'#*# +'#*#J!#"'# #"'# #J'#&'#'##8"*##8 # #J##'#$G~GJG^G8H@@FGbH  @###`#<$=>0#`##'# #'#HHUHHYHv`H  @##'#e&'##&#'#6"'#e #2#'# #w'# "'# #2#0'#"'# #2#o'#"'# #2#p'#"'# #2#m'#"'# #2#q'#4"'# #2#l'# "'# #2 #o'# -#n'#"'# #2 #s'#6"'# #2 #t'#6"'# #2 #u'#6"'# #2#v'#6"'# #2#'#6#|'#6#'#6#'#6#z'##y'##'# #'# #'# #'# #'#4#'#4#'#4#'#4#{'#"'# #|"'# #}#'# #'#4 #'#"'# #!#'#"'# #"#'#"'# ###'#$@#i'#"'# #'#"'# # ##%@#k'#"'# #&&I%IDUITwIs0IoIpImIqJlJ-oJ@nJ`sJtJuJvJUJU|JUK UKzK/UyK@KSKfKyKKKKK{LLL)LILlLLiLkHIM -  @###e#<$=> -#e#<$Ņ$2#'#6"'#e #2#'# #'##'#"'# # #<$=>#'#>NT^NrNUNNNUNN;eN  @####'#X&'#"'# #"'# #B#'#"'# #"'# #BO\O##B'# #C'# #'#"'# ##'#"'# ##'#1&'#"'#1&'# ##'# #'# -#'# OUBOUCPP!PAPoUPUPUO1ONOOP  @##"'#e #'#I#PQ  @##'## #"'# #"'#6 #"'#6 #"'#6 #$օ#"'#6 #$օ##'#"'# ##'#"'# ##'#X&'#"'# #"'# #B#'#6"'# ##'#"'# ##'##'#6#'#6 #'#6#$օ -#'#6#$օ Qq^QR R,ReRRURURURURU'###$ #'#"'# # #'#X&'#SSUQ>Q[SS^S  @##)(# '#|&'##f#f'#&'#6#f#'#&'##6#f#Q"'#X #`'#&'##Q6#f#"'#X&'# #`'#&'##0#f#"'#X&'# #`#$@#t)(#](#Z'#f&'#Z"'#f&'#] #")(#j'#f&'#j ##y)(#j'#f&'#j#Q'#R&'##Y'#6"'#e #J #'#6"'# #J -#'#I"'#X&'# #` #'#6"'#e #J #'#"'#e # #'#I"'#X&'#e #`#'#I"'#X&'#e #`#'#I'#6"'# # #V#'#I'#6"'# # #V#'#6"'#X&'#e #2#'#f&'#"'#f&'#e #2#'#f&'#"'#f&'# #2#'#f&'#"'#f&'#e #2#'#I#e'#f&'#T'^TDTgQTTTtUdyUUQUYUUVV%VFVmVVVWWKW{WWeSTfW  @##)(#Z##'#I"'#Z #A#'#IXXXXX  @###g@+*#O'#$^#$DE#g6#g#"'# #'##{'#g#'#Y:OYe^YrYU{Y'#g#+'#*# -# ##'# YZ ^Z#YY,gYYZ7  @###@+'# *#+'# *#+'# *###'# #B'#I#'#I#'#I#'# #'# -#'# #'# #'#6 #'# #'# ZZZZ^ZUZB[[['U[7U[HU[YU[jU[z[ZhZ[  @##'#e&'#'###<$c>###"'#X&'# #"'# #B"'# #C##"'# ###"'# #"'# #$^#'#"'# ##'# "'# ##'# #'# #'#6"'#e #2#w'# "'# #2 #'#6"'# #2 -#'#6"'# #"'# # #'# "'# #"'# #B #'# "'# #"'# #B #g'#6#h'#6#0'#"'# #2#'#"'# #B"'# #C#'##'##'##p'#"'# # # -'#"'# #"'# # $ v# '#"'# #"'# # $ v#Y'#6"'# #2"'# #(#'#"'# #Q"'# #"'# #(#'#"'# #Q'#"'# # #"'# #(#'#"'# #Q"'# ##'#"'# #Q"'#"'# # ##'#"'# #B"'# #C"'# ##'#1&'#"'# ##'#"'# #"'#"'# #"'#"'# ##''#1&'# #'#!#'#"#'###\j\\\]]8U]GU]W]vw]]]^^CUg^SUh^c0^^^^^p_ - -_? _tY__`3`a``aaeU'a|Uaa '#X&'# #$+'#*#%# #&#Q'#'#n'# (bb^bUQcUn"'# #'#6#I)"'# #'#6#*"'# #B"'# #C'# #M+'#x&'# #,+'#*#-+'# *# .+'# *#!/+'# *#"0#"'# #1!##"'# #"'# #2##'#I"'# #3#$'# 4 #$'#I"'# #$5#'#I"'# #$6#{'# 7#%'# 8#&'#9#z'#6:#y'#6;cc c!c"d ^d'dP#doU$dV$ddU{dU%dU&dzey\\:abcc.IcOcpMce  @##'## -#"'#e #'$^#'# #g'#6#h'#6#'#I"'#e ##'#I"'# ##'#I"'#X&'# #"'# #$^#'#I"'#e #($^#'#I #'# - -e^fUf%Ugf5UhfEffffffeeg  @####'#I"'#e ##'#I"'#X&'# #"'# #$^#'#I"'#e #$^#'#I"'# #ggghgigh6  @###@+'#*#);#$*+@+'#*#O;#$^#"'# #' ###'# #'#6"'#e #2h)hOh^hUi hchi*  @###>#'# #'#6"'#e #2#'#iUiii_i|>i  @##%+'# *#, %+'# *#-%%+'# *#.&%+'# *#/+%+'# *#0.%+'# *#1/%+'# *#2:%+'# *#3=%+'# *#4A%+'# *#5Z %+'# *#6[ -%+'# *#7\ %+'# *#8] %+'# *#9a %+'# *#:f%+'# *#;z%+'#*#<$=>#?3#@'#?#? "'# #A"'# #B"'# #;"'# #C"'# #D"'#X&'# #E"'# #F"'#&'#'# #G"'# #H'#I6#?#J"'# #K"'# #L"'#&'#'# #G' #I#J6#?#M"'# #K"'# #L"'#&'#'# #G' #I#M6#?#N"'# #D"'#6 #O' #I#N6#?#P"'# #D"'#6 #O' #I#P0#?#Q"'# #'"'# #R"'# #S"'#&'#'# #T"'#6 #0#?#U"'#1&'# #"'# #R$VW"'#&'#'# #T"'#6 #X#A'##K'##B'##;'##C'# #D'##F'# #H'#!#E'#1&'#"#G'#&'#'###Y'#&'#'#1&'#$#Z'#6%#['#6&#\'#6'#]'#6(#^'#6)#_'#6*#`'#6+#a'#6,#b'#-#c'#6"'# #A.#d'#"'#6 #O/#A'#e0#'# 1#'#6"'#e #22#'#3#'#? "'# #A"'# #B"'# #;"'# #C"'# #D"'#X&'# #E"'# #F"'#&'#'# #G"'# #H4#f'#?5#g'#?"'# #h6#i'#?"'#? #h7#j'#?8@#i'#?"'# #k"'# #B"'# #C9@#k'#?"'# #k"'# #B"'# #C:@#l'#"'# #m;@#n'#"'# #m"'# #S#/<@#o'#"'# #p=@#q'#"'# #p"'# #S#/>@#r'#"'# #k?@#s'#"'# #k@@#t'#&'#'#"'# #F"'# #S#/A@#u'#1&'# "'# #;B@#v'#1&'# "'# #;"'# #B"'# #CC@#w'#1&'# "'# #;"'# #B"'# #CD3kU@k^ltJlMmNmTPmQmUn_UAnpUKnUBnU;nUCnUDnUFnUHnUEnUGoUYoBUZoRU[obU\orU]oU^oU_oU`oUaoUbocodpUAp&Up6pUpiq!fq5gqViqwjqiqkr lr*nr^orqrrrsrts7us]vsw'#?#IEh+'#*#AF+'#*#xG+'#*#yH+'# *#zI+'#*#DJ+'#*#{K+'#*#|L+'#*#}M+'#1&'#*#EN+'# *#O+'#&'#'#*#GP+'#&'#'#1&'#*#YQ"#I# #A #x #y #z #D #{ #|R0#I#~ -"'# #k"'# #B"'# #C"'# #"'# #"'# #"'# #"'# #"'# #"'# #AS#I "'# #A"'# #B"'# #;"'# #C"'# #D"'#X&'# #E"'# #F"'#&'#'# #G"'# #HT0#I#J"'# #K"'# #L"'#&'#'# #GU0#I#M"'# #K"'# #L"'#&'#'# #GV#K'#W#B'#X#;'#Y#C'# Z@#'# "'# #A[#F'#\#H'#]#c'#6"'# #A^@#'#6"'# #A"'# #k_@#'#"'# #k"'# #"'# #W`@#'#I"'# #A"'# #K"'# #L"'#&'#'# #Ga0#I#N"'# #D"'#6 #Ob0#I#P"'# #D"'#6 #Oc#'#6d@#'#I"'#1&'# #"'#6 #e@#'#I"'#1&'# #"'#6 #"'# #f@#'#I"'# #"'#6 #g@#'#?"'# #D"'#6 #h@#"'# #D"'#6 #i#'#? "'# #A"'# #B"'# #;"'# #C"'# #D"'#X&'# #E"'# #F"'#&'#'# #G"'# #Hj#f'#?k@#'#1&'#"'# #l@#'#&'#'#1&'#"'# #Fm#j'#?n@#'# "'# #C"'# #Ao@#'#"'# #;"'# #B"'# #C"'#6 #p@#'# "'# #;"'# #B"'# #Cq@#'#6"'# #r@#'#"'# #;"'# #B"'# #C"'# #$^s@#'#6"'# #t@#'#"'# #;"'# #B"'# #Cu@#'#"'# #A"'# #B"'# #Cv@#'#"'# #Aw@#'#"'# #B"'# #B"'# #Cx@#'#"'# #D"'# #B"'# #C"'#X&'# #E"'# #A"'#6 #\y@#'#"'# #D"'# #A"'#6 #\z@#'#"'# #F"'# #B"'# #C"'#&'#'# #G{@#'#"'# #H"'# #B"'# #C|@#'#"'# #"'# #"'#6 #}@#'#"'# #~@#'#"'# #m"'# #B"'# #C"'#1&'# #"'#6 #@#'#"'# #m"'# #B"'# #C"'#1&'# #"'#6 #@#'#6"'# #@#'#6"'# ##Z'#6#'#"'# #@"'# #h@#'#6"'# #D@#'#"'# #D@#'#"'# #D"'#6 #@#'#"'# #D#g'#?"'# #h@#'# "'#? #k"'# #D#i'#?"'#? #h#['#6#\'#6#]'#6#^'#6#_'#6#`'#6#a'#6#b'##d'#"'#6 #O#'#@#'#"'#? #k#'#I"'# ##A'#e#'##'##'#6"'#e #2@#'#1&'#@#'#&'#'#1&'#"'# #F"'# #S#/#'#"'#1&'# #"'# #"'# #S"'#6 #@#'# "'# #y"'# #@#'#"'# #"'# #B"'# #C"'# #S"'#6 #@#'#6"'# #H@#'#6"'# #@+*#8&'# H`HHHHHG@+*#8&'# HgHHHHHG@+*#8&'# HHHHHHG@+*#8&'# HhHHHHH@+*#8&'# HHH(@+*#8&'# HH/HHHHG@+*#8&'# HH+HHHHG@+*#8&'# HH/HHHHG@+*#8HH/HHHHG@+*#8HHHHHHG@+*#8&'# H`HHHHHGhuVAulxuyuzuDu{u|u}vEv"v7Gv[Yvv~w]^xJxVMxUKxUBxU;xUCxyUFyUHy"cyByoyyNz+PzWUzhzz{ -{7{^|f|*|R|j||} -}?}^}}}~4~U~~+} hUZDeg'iIU[ZU\kU]|U^U_U`UaUbd -NUA_t^qs -`T#e@+'# *#OO+'#*#}+'#1&'# *#+'#?*#"#e#8 #} # #@+'#*##0#e#"'# #'"'# #R"'# #S"'#&'#'# #T"'#6 #0#e#"'#1&'# #"'# #R$VW"'#&'#'# #T"'#6 #X0#e#"'#? #k@#'#I"'# #R"'# #"'#&'#'# #T"'# #."'#1&'# #@#'# "'# #R@#i'#e"'# #k#k'#?#'#?#R'##'##'#6#'##'# #'#"'# #S#T'#&'#'#@#'#e"'# #"'# #B"'#? #@#'#I"'#1&'# #"'#1&'# #"'# #.#'#@+*#8HlHHHHH@+*# #I#} 86P%CiUkUR'U9UJU\pUT5J%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'#1&'# *#'#1&'# #"'# #k"'# #B"'# #C"'# #("'#1&'# #'# #'#?#5+'#*#+'# *#+'# *#+'# *#+'# *#+'# *#+'# *#+'#*#+'# *## # # # # # # # ##['#6#\'#6#'#6#]'#6#^'#6#_'#6#'#6#'#6#'#6#'#6#'#6"'# #A#a'#6#`'#6#Z'#6#c'#6"'# #A#A'##'##K'##B'##;'##C'# #D'##F'##H'##b'##E'#1&'##G'#&'#'##Y'#&'#'#1&'##'#6"'# #C#j'#?#f'#?#'#? "'# #A"'# #B"'# #;"'# #C"'# #D"'#X&'# #E"'# #F"'#&'#'# #G"'# #H#g'#?"'# #h#i'#?"'#? #h@#'# "'# #k#'#?"'# #@"'# # #d'#"'#6 #O#'##A'#e#'# #'#6"'#e #2 # -'#? -#'# 54J`v^%U[6U\GUXU]iU^zU_UUUUUaU`UZ#cDUAVkUK}UBU;UCUDUFUHUbUEUG2UYYzjf]gid*UA;ULl - '#I# +'#e*# #  #"'# #D"'# #F#A'#e&=^nUA"'# #"'# #B'# # "'# #y'# # "'# #"'#1&'# #'#1&'##"'# #"'# #B"'# #C'# #i'j%,j'%-j>%.jU%/jl%0j%1j%2j%3j%4j%5j%6k %7k$%8k;%9kR%:ki%;k%<k?su@Ien%%%%%%%%.%F%^%{   #& #^ -   W"$$%v).q67I@H>HNO!PQ2SX{XZM\ egYhSiOi\  @##$!#~####s#$!#$0#$!#$!#$ -!# $$$$$!$ /$!3$"#$$?$%&$'Q)(#Z'#6#(%+*#)8 ? $@ Y@ @@ @ j@ .A cA חA eA _B vH7B mB @0B ļB 4&k C 7yAC ؅W4vC NgmC =`XC @xD PKD MD '#&'# #* +'#*#+ -#* #+ #'# #'# "'# #, @#-'#"'#* #.-+C^YUh-#/+'#*# -#/ #^"'# #'# #0"'# #"'# #'# #%+'#~&'#`*#1##$23 @#\'# "'# #4"'# #J@#5'# "'# #4@#6'# "'# #7"'# #8@#9'# "'# #7"'# #8"'# #:@#;'# "'# #7"'# #8"'# #:"'# #<@#='# "'# #7"'# #8"'# #:"'# #<"'# #>@#?'# "'# #7"'# #8"'# #:"'# #<"'# #>"'# #@@#A'# "'# #7"'# #8"'# #:"'# #<"'# #>"'# #@"'# #B@#C'# "'# #7"'# #8"'# #:"'# #<"'# #>"'# #@"'# #B"'# #D@#E'#  "'# #7"'# #8"'# #:"'# #<"'# #>"'# #@"'# #B"'# #D"'# #F@#G'#  -"'# #7"'# #8"'# #:"'# #<"'# #>"'# #@"'# #B"'# #D"'# #F"'# #H @#I'# "'# #f! \569G;=?4ACEGI)(#Z"'#Z #J"'#6 #K'#e#L"##$MN#+'#*#O$ -# #O%O^)(#Z'#e"'#Z #J"'# #'#Z#&)(#Z '#'##P'+'#*#(#P #)#'#*y^)(#Z'#e"'#Z #J"'#Z #Q'#Z#R+#S,j@+'# *#Td-@+'# *#Ue.@+'# *#Vf#$ /@+'# *#W0@+'# *#X1@+'# *#Y2@+'# *#Z3@+'# *#[4@+'# *#\5@+'# *#]6@+'# *#^#$ 7@+'# *#_#$ 8@+'# *#`#$ 9@+'# *#aH,:@+'# *#bH-;@+'# *#cH.<@+'# *#dH.=@+'# *#eH/>@+'# *#fH0?@+'# *#gH1@@+'# *#hH3A@+'# *#iH4#$ B@+'# *#jHC@+'# *#kHD@+'# *#lHE@+'# *#mHF@+'# *#nHG@+'# *#oHH@+'# *#pHI@+'# *#qHJ@+'# *#rHK@+'# *#sHL@+'# *#tHM@+'# *#uHN@+'# *#vHO@+'# *#wHP@+'# *#xHQ@+'# *#yHR@+'# *#zHS@+'# *#{HT@+'# *#|H#$ U@+'# *#}H#$ V@+'# *#~H#$ W@+'# *#H#$ X@+'# *#HY@+'# *#H#$ Z@+'# *#H#$ [@+'# *#H#$ \@+'# *#H#$ ]@+'# *#H#$ ^@+'# *#H#$ _@+'# *#H`@+'# *#Ha@+'# *#Hb@+'# *#Hc@+'# *#Hd@+'# *#He@+'# *#H#$ f@+'# *#H#$ g@+'# *#H#$ h@+'# *#H#$ i@+'# *#H#$ j@+'# *#HWk@+'# *##T#V$l@+'# *##U#V$m@+'# *##W#V$n@+'# *##X#V$o@+'# *##Y#V$p@+'# *##Z#V$q@+'# *##[#V$r@+'# *##\#V$s@+'# *##]#V$t@+'# *##a#V$u@+'# *##b#V$v@+'# *##c#V$w@+'# *##d#V$x@+'# *##e#V$y@+'# *##f#V$z@+'# *##g#V${@+'# *##h#V$ć|@+'# *##j#V$LJ}@+'# *##k#V$ʇ~@+'# *##l#V$͇@+'# *##m#V$Їр@+'# *##n#V$ӇԀ@+'# *##o#V$և׀@+'# *##p#V$هڀ@+'# *##q#V$܇݀@+'# *##r#V$߇@+'# *##s#V$〆@+'# *##t#V$怇@+'# *##u#V$逈@+'# *##v#V$쀉@+'# *##w#V$@+'# *##x#V$@+'# *##y#V$@+'# *##z#V$@+'# *##{#V$@+'# *###V$@+'# *###V$@+'# *###V$@+'# *###V$@+'# *###V$ -@+'# *# ##V$ @+'# *###V$@+'# *###V$jT1UHVlWXYZ[\] ^1_U`yabcdef-gKhiijklm n*oHpfqrstuvw8xVytz{|}~1\z&Q|0[%Kq /U{9_Dk.U|?f) Pw5(/%)*/05c%16LTPR S  @##)(#](#Z '#&'#Z#+'#&'#]*## ##'#6#'#&'#Z"'#I"'#Z #A #"'#6 #"'#I #"'#6 ##y)(#j'#&'#j^Uky)(#](#Z'#&'#Z#+'#&'#]*#+'#*#+'#I"'#Z*# +'#6*# -# # #'#~ #'#I"'#I"'#Z #A # #'#I"'#6 #!#'#I'#I #"##'#I"'#] #A#$'#I"'#~ #%#&'#I#''#6#()(#'#~&'#"'# #)9O^ey# $0&CU'S()(#u(#v(#w(#x '#s&'#w'#x#*+'#&'#u'#v*##* ##y)(#z(#{'#&'#z'#{#'#&'#x"'#&'#w #*N^dy)(#u(#v(#w(#x '#&'#w'#x#+'#&'#u'#v*## ##'#x"'#w ##'#&'#x"'#&'#w ##y)(#z(#{'#&'#z'#{C^Yzyo*  @### #"'#6 #+#'#I"'#1&'# ##,'#I"'# ##-'# #.'# #'# #g'#6#h'#6#'#I Z^w,-.UUgUh'##/ -@+'# *#0H @+*#1 +'# *#2 +'# *#V#/#'#I"'#1&'# ##,'#I"'# ##3'#I"'# #4#-'# #.'# #'# #g'#6#h'#6#'#I#5'#I@#6'# "'# #fw012V^,!3@-S.fUuUgUh56'##7 +'# *#2+'#1&'# *#8#'#I"'#1&'# ##,'#I"'# ##-'#  #.'# !#'# "#g'#6##h'#6$#'#I%#5'#I& a2v8,-.U UgUh,?50M$b/L7R  @##)(#](#Z '#X&'#Z#9#'#X&'#]#Q'#R&'#Z#'# #g'#6#h'#6#k'#X&'#Z"'# #%#i'#X&'#Z"'# #%#s'#Z"'# ##m'#Z #n'#Z -#'#Z #Y'#6"'#e #2 #q'#Z'#6"'#Z # #V"'#Z #p #'#U'UQ@UOUg_Uhok—i¿sUmUnUY1qy)(#](#Z'#R&'#Z#:+'#R&'#]*##: ##z'#6#{'#Z9^OzbU{)(#](#Z '#9&'#]'#Z#;+'#X&'#]*#"#;#8 ##;"'#X&'#] ##y)(#j'#X&'#j8^y)(#](#Z '#;&'#]'#Z'#|&'#Z#<#<"'#|&'#] #Ś^)(#](#Z '#9&'#]'#Z-'#=&'#Z#>#'#1&'#]#'#Z"'# ##5'#I"'# #"'#Z #J #'#I"'# ##'#I"'#Z #J #'#I"'#X&'#Z #!#'#I"'# "'#Z #7"'#Z #8 #"#'#I"'# ###'#I"'# #"'#Z #$#'#I"'# #"'#X&'#Z #`%#'#I"'# #"'#X&'#Z #`&#'#6"'#e #J'#'#Z"'# #(#'#Z)#'#I'#6"'#Z # #V*#'#I'#6"'#Z # #V+#'#X&'#Z"'# #B"'# #C,#'#I"'# #B"'# #C"'#X&'#Z #"'# #-#'#I"'# #B"'# #C.#'#I"'# #B"'# #C"'#Z #/#'#I"'# #B"'# #C"'#X&'#Z #0U<5gVƄƣ1]ǐFvȨ Y)(#](#Z '#>&'#]'#Z#?1+'#1&'#]*#2#? #3#y)(#j'#1&'#j4[x^ʎy)(#](#Z '#9&'#]'#Z'#f&'#Z#@5+'#f&'#]*#6+)(#j'#f&'#j*#A7#@ # #A8@#B)(#j'#f&'#j9#y)(#j'#f&'#j:#'#6"'#Z #J;#'#I"'#X&'#Z #`<#'#6"'#e #=#'#I"'#X&'#e #>#'#I"'#X&'#e #?#'#I'#6"'#Z # #V@#'#I'#6"'#Z # #VA#'#6"'#X&'#e #B#'#f&'#Z"'#f&'#e #2C#'#f&'#Z"'#f&'#e #2D#C'#f&'#Z"'#f&'#e #2"'#6 #DE#'#f&'#Z"'#f&'#Z #2F#'#IG#E'#f&'#ZH#e'#f&'#ZI#'#Z"'#e #J&AS^rB˖y˺ Hp̠(XC͔Ee)(#F(#G(#(# '#H&'#'##IK+'#&'#F'#G*#L#I #M#y)(#(#'#&'#'#N#'#6"'#e #JO#'#6"'#e #P#'#"'#e #Q#5'#I"'# #"'# #JR#'#"'# #"'# #S#'#I"'#&'#'# #2T#'#"'#e #U#'#IV#Z'#I'#I"'# #"'# #J #TW#'#X&'#X#'#X&'#Y#'# Z#g'#6[#h'#6\#'#"'# #'#"'# #J #"'# #]#'#I'#"'# #"'# #J #^#'#X&'#&'#'#_#'#I"'#X&'#&'#'# #`#'#I'#6"'# #"'# #J #Va&^<ylϋϫ5-Z{ЎZUUU UgUh+рѽU)(#](#Z '#9&'#]'#Z'#J&'#Z#Kb +'#J&'#]*#c#K #d#y)(#j'#J&'#je#L'#Zf#'#Zg#'#I"'#Z #Jh#M'#I"'#Z #Ji#N'#I"'#Z #Jj#'#6"'#e #2k#'#I"'#X&'#Z #`l#'#I'#6"'#Z # #Vm#'#I'#6"'#Z # #Vn#'#Io 1O^eyӉLӝӱMN-TԄԴ 9Í:sĐ;=Y<ż>ɗ*?ʱ@0IVK  @## '##O +'#*#P#O #P##O#Q"'# #R#<$=>##O#S"'# #T##O#U"'# #R#<$=>##O#V"'# #T##O#W"'# #R##O#X"'# #T#'# սP^QS1UYVvW֓Xְ '##Y -+'#*#P #Y #P #'# P/^HՋըOY\  @##)(#Z '#X&'#Z#| -#|#'# ^U)(# '#|&'##t#'# #s'#"'# #, -#t#Q'#R&'##Z'#I'#I"'# # ##g'#6 #m'# -#n'# #'# #Y'#6"'#e # #`'#6'#6"'# # #V#b'#6'#6"'# # #V#o'#'#6"'# # #V"'# #p#q'#'#6"'# # #V"'# #p#r'#'#6"'# # #V"'# #p#a'#"'# #$^#U'#X&'#'#6"'# # #V#)(#Z'#X&'#Z'#Z"'# # #T#['#'#"'# #J"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#k'#X&'#"'# #%#l'#X&'#'#6"'# # #V#i'#X&'#"'# #%#j'#X&'#'#6"'# # #V#c'#1&'#"'#6 #d#e'#f&'#U,sL^YUQrZآUgزUmUnUY`5beo٭qr=aeUڞ[]rkۚlij4c`e)(# '#t&'##Z +'#X&'#*#[+'# *# +'# *#\!#Z #[ # #\"#]'# ##^'# $#'# %#s'#"'# #&#k'#X&'#"'# #%'#i'#X&'#"'# #%(#c'#1&'#"'#6 #d) V[t݉\ݞ^U]U^Usk=iec)(#'#R&'##_*+'#X&'#*#[++'# *#2,+'# *#`-+'#*#a.#_"'#X&'# #/#{'#0#z'#6#<$1[$29`Nad^߆U{ߗz7)(#](#Z'#Z"'#] #J#b2)(#](#Z '#X&'#Z#c3 +'#X&'#]*#[4+'#b&'#]'#Z*#d5#c"'#X&'#] #'#Z"'#] #J #86"#c#8 #[ #d7#Q'#R&'#Z8#'# 9#g'#6:#m'#Z;#n'#Z<#'#Z=#s'#Z"'# #> C[ad^8UQU UgUm.Un?UPs)(#](#Z '#c&'#]'#Z'#|&'#Z#e?#e"'#X&'#] #'#Z"'#] #J #8@^)(#](#Z '#R&'#Z#fA+'#Z*#aB+'#R&'#]*#gC+'#b&'#]'#Z*#dD#f #g #dE#z'#6F#{'#ZGoagd^zU{)(#](#Z '#t&'#Z#hH+'#X&'#]*#I+'#b&'#]'#Z*#dJ#h # #dK#'# L#s'#Z"'# #Mbd^Us7)(#'#6"'# ##iN)(# '#X&'##jO+'#X&'#*#[P+'#i&'#*#dQ#j #[ #dR#Q'#R&'#S#)(#Z'#X&'#Z'#Z"'# # #TTa[d^UQ)(# '#R&'##kU+'#R&'#*#gV+'#i&'#*#dW#k #g #dX#z'#6Y#{'#Zagd^zU{7)(#](#Z'#X&'#Z"'#] #l#m[)(#](#Z '#X&'#Z#n\+'#X&'#]*#[]+'#m&'#]'#Z*#d^#n #[ #d_#Q'#R&'#Z`e[d^UQ)(#](#Z'#R&'#Z#oa+'#R&'#]*#gb+'#m&'#]'#Z*#dc+'#R&'#Z*#pd+'#Z*#ae#o #g #df#{'#Zg#z'#6h)gGdkpa^U{z)(# '#X&'##qi+'#X&'#*#[j+'# *#rk#q"'#X&'# #"'# #sl"#q#8 #[ #rm#Q'#R&'#n<[Zro^8UQ)(# '#q&'#'#|&'##to#t"'#X&'# #"'# #sp#'# q0^^U)(# '#R&'##ur+'#R&'#*#gs+'# *#vt#u #g #vu#z'#6v#{'#wgv^zU{)(# '#X&'##wx+'#X&'#*#[y+'#i&'#*#dz#w #[ #d{#Q'#R&'#|_[}d^UQ)(# '#R&'##x}+'#R&'#*#g~+'#i&'#*#d+'#6*#y#x #g #d#z'#6#{'#g4dRyh^zU{)(# '#X&'##z+'#X&'#*#[+'# *#{#z"'#X&'# #"'# #%"#z#8 #[ #{#k'#X&'#"'# #%#Q'#R&'#[ {6^e8kUQ)(# '#z&'#'#|&'##|#|"'#X&'# #"'# #%##|#8"'#X&'# #"'# #%#'# #k'#X&'#"'# #%+^Z8Uk"'# #%'# #})(# '#R&'##~+'#R&'#*#g+'# *#{#~ #g #{#z'#6#{'#&gE{[^{zU{)(# '#X&'##+'#X&'#*#[+'#i&'#*#d# #[ #d#Q'#R&'#[ d*^JUQ)(# '#R&'##+'#R&'#*#g+'#i&'#*#d+'#6*## #g #d#z'#6#{'#gd^z0U{)(# '#|&'##P -#P#Q'#R&'##Z'#I'#I"'# # ##g'#6#'# #m'##n'##'##s'#"'# ##Y'#6"'#e ##`'#6'#6"'# # #V#b'#6'#6"'# # #V#o'#'#6"'# # #V"'# #p#q'#'#6"'# # #V"'# #p#r'#'#6"'# # #V"'# #p#a'#"'# #$^#U'#X&'#'#6"'# # #V#)(#Z'#X&'#Z'#Z"'# # #T#['#'#"'# #J"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#k'#X&'#"'# #%#l'#X&'#'#6"'# # #V#i'#X&'#"'# #%#j'#X&'#'#6"'# # #V#c'#1&'#"'#6 #d#e'#f&'#^UQZUgUUm!Un3UEsfY`bo2q{raU'j[]k'laijce)(#'#R&'## -##z'#6#{'#^z U{)(# '#X&'## +'#X&'#*#n+'#X&'#*#o# #n #o0##"'#|&'# #m"'#X&'# ##Q'#R&'##'# #g'#6#h'#6#Y'#6"'#e #J#m'##n'# Ynxo^UQ UUg-Uh>Y^UmpUn)(# '#&'#'#|&'###"'#|&'# #m"'#|&'# ##s'#"'# ##m'##n'#^>s_UmqUn)(#'#R&'##+'#R&'#*#+'#X&'#*##"'#X&'# #m ##z'#6#{'#^0zDU{)(#Z '#X&'#Z#+'#X&'#e*## ##Q'#R&'#Z^UQ)(#Z'#R&'#Z#+'#R&'#e*## ##z'#6#{'#Z.M^dzxU{#@#'#(@#'#(@#'#(׍"ת|t|1Zޑ_߷7bcpe=Df -7h7i<j<k7m:noqtmzu:wxz|}~dBoP3V{  @##)(##  #"'# ##'#I"'# #J#'#I"'# #"'# #J#'#I"'# #"'#X&'# ##'#I"'#X&'# ##'#6"'#e ##'#I'#6"'# # #V#'#I'#6"'# # #V#'#I #'#"'# # -#'# #'#I"'# #B"'# #C #'#I"'# #B"'# #C"'#X&'# # V @h/X)(#'#1&'###5'#I"'# #"'# #J #"'# # #m"'# # #n"'# ##'#I"'# #"'#X&'# ##'#I"'# #J#'#I"'# #"'# ##'#I"'# #"'#X&'# ##'#I"'#X&'# ##'#6"'#e ##'#I'#6"'# # #V#'#I'#6"'# # #V#'#I"'#&'# ##'#I"'# ##'#I#'#"'# ##'##'#I"'# #B"'# #C"'#X&'# #"'# # #'#I"'# #B"'# #C!#'#I"'# #B"'# #C"'#X&'# #"#'#I"'# #B"'# #C"'# ##5AVZVmuVnCk9Ll6,)(#'#&'#-'#&'##$,)(#'#&'#-'#&'##% '#t&'# #&+'#1*#'# #(#'# )#s'# "'# #*}^Us)(# '#&'# '##+ +'#1&'#*#,# #-#'#"'#e #.#'# /#'#X&'#0#'#X&'# 1#g'#62#h'#63#'#6"'#e #J4#'#6"'#e #5#Z'#I'#I"'# #"'# #J #T6 9^OpUUUUgUhZ)(# '#t&'##7+'#X&'#*#8# #9#'# :#s'#"'# #;^Us#<@#'#&=@#'#&>@#'#&?@#'#&@I]q#A@#'#&B@#'#&C@#'#&D)(#Z"'#1&'#Z #'#1&'#Z#E)(#Z"'#1&'#Z #'#1&'#Z#Fv o,2,aJ;K  @##)(#Z'#&'#Z '#&'#Z# -#m'#Z+'#Z*#n#n'#Z+'#Z*#+'# *##g'#6#'#I"'#Z ##M'#I"'#Z ##'#I"'#Z # #Q'#R&'#Z - -AUmRnhUnyUgM UQ)(#Z'#&'#Z# +'#Z*# +'#Z*# +'#&'#Z*##'#I    )(#Z'#&'#Z'#R&'#Z#+'#Z*#a#{'#Z+'#&'#Z*##"'#&'#Z ##z'#6 -Ja -`U{ -q -^ -z , u  - -  @##%+'#I"'#*#"'# #'#I#  ,% R  @###@+'# *# @#)(#'#I"'#1&'# #'# "'# #"'# # #@#)(#'#I"'#1&'# #"'# #Q"'# #'# "'# #"'# # #@#)(#'#I"'#1&'# #"'# #"'# #'# "'# #"'# # #@#)(#'#I"'#1&'# #"'# #"'# #'# "'# #"'# # #@#)(#'#I"'#1&'# #"'# #"'# #'# "'# #"'# # #   #   v     @##' ###+'#*#@+'#*#K$$$$@+'#*#K$LN^M#N^$@+'#*#K$LN^M#N^$@+'#*#$È@+'#*#@+'#*##"'# #*## # ###"'# # -#'#6"'#e #2 #'# # @#'#"'# #@#'#"'# #@#'#6"'# ##'#"'# #Zp'=^WpU.#@P΀ #r  - t  @##0#$!#$ -$Ј$҈$Ԉ$ /$ք1$׈$و$"#$!3$ۈ$݈$߄C$  @##)(# '#&'##+'#X&'#*##"'#X&'# ##y)(#j'#1&'#j#'# #'#"'# # ^-yPU_  @##"'#e #"'#e #'#6#"'#e #'# #)(#'#6"'# #"'# ##)(#'# "'# ##)(#(#'#&'#'###"'#6"'#"'# #"'# "'# #"'#6"'# ###0##Q"'#&'#'# #20##"'#&'#'# #20##"'#X #"'#"'# # #"'#"'# # #J 0##"'#X&'# #"'#X&'# # -0##"'#X&'#&'#'# ##$  ^(8Qb* Vj  @##)(#'#f&'###"'#6"'#"'# #"'# "'# #"'#6"'# ###0##Q"'#X&'# #`0##"'#X&'# #`#Q'#R&'# -^QUQ  @##)(#'#X&'###y)(#j'#X&'#j#)(#Z'#X&'#Z'#Z"'# # #T#U'#X&'#'#6"'# # #T#W)(#Z'#X&'#Z#X)(#Z'#X&'#Z'#X&'#Z"'# # #T#S'#X&'#"'#X&'# #2#Y'#6"'#e ##Z'#I'#I"'# # #T#['#'#"'# #J"'# # #\ #])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\ -#`'#6'#6"'# # #T #a'#"'# #$^ #b'#6'#6"'# # #V #c'#1&'#"'#6 #d#e'#f&'##'# #g'#6#h'#6#i'#X&'#"'# #%#j'#X&'#'#6"'# #J #V#k'#X&'#"'# #%#l'#X&'#'#6"'# #J #V#m'##n'##'##o'#'#6"'# #J #V"'# #p#q'#'#6"'# #J #V"'# #p#r'#'#6"'# # #V"'# #p#s'#"'# ##'#hyUW+XuSYZ[3]`abc;eWUfUgvUhijklFUmWUnhUyoqrOso)(# '#X&'## -# @#'#"'#X #"'# #$"'# #$!@#'#"'#X #"'# #$"'# #$"z^%+'#1&'#e*##"'#e #c'#6#$"'#X&'#e #"'#1&'# #'#I#%%BU2%Oq  @##)(## @+'# *#@+'# *#@+'# *#+'#R&'#*#g+'# *#"# #g#'#6#>'##'#I *AXgv"^U>  @##)(#(#'#&'#'###"'#6"'#"'# #"'# "'# #"'#6"'# ###0##Q"'#&'#'# #20##"'#&'#'# #20##"'#X #"'#"'# # #"'#"'# # #J0##"'#X&'# #"'#X&'# #0##"'#X&'#&'#'# ##$  {^ !Q!,!V!! , I"4  @##)(#'#f&'###"'#6"'#"'# #"'# "'# #"'#6"'# ###0##Q"'#X&'# #`0##"'#X&'# #`#Z'#I'#I"'# # ##Q'#R&'#"^#/#?Q#c#Z#UQ"u"#  @##)(#'#&'# '#X&'##+'# *#+'# *#2+'#*#n##M'#I"'# ##'#I"'# ##'#I"'#X&'# ##'#6"'# ##Y'#6"'#e # #Q'#R&'# -#'# #'#I #m'# #n'##'##Z'#I'#I"'# # ##g'#6#'#I"'# #"'# #"'#6!##'#I"'# #$Z$o2$n$^$M$$%%/Y%OUQ%hU%w%Um%Un%U%Z%Ug%&9)(#'#&'#'#R&'##+'#&'#*#+'# *#+'#*#a+'#*#+'#6*##"'#&'# ##{'##z'#6''2'Ga']'s'^'U{'z)(#'#&'## +'#&'#*#+'#*#+'#*# #'#&'#!#'#I"#>'###'#$#'#I"'# #%#'#I"'# #& (/(M(c(yU((U>(U(($ -$'&Y&'( )  @##)(# '#e-'#=&'##@#'#"'#1 #))(#'#1&'##==#Q'#R&'##s'#"'# ##S'#X&'#"'#X&'# #2#Z'#I'#I"'# # ##g'#6#<$#h'#6#m'#  #m'#I"'# #J -#n'#  #n'#I"'# #J #'# #Y'#6"'#e ##`'#6'#6"'# # #V#b'#6'#6"'# # #V#o'#'#6"'# # #V"'# #p#q'#'#6"'# # #V"'# #p#r'#'#6"'# # #V"'# #p#a'#"'# #$^#U'#X&'#'#6"'# # #V#W)(#Z'#X&'#Z#)(#Z'#X&'#Z'#Z"'# # #T#X)(#Z'#X&'#Z'#X&'#Z"'# # #T#['#'#"'# #_"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#k'#X&'#"'# #%#l'#X&'#'#6"'# # #V#i'#X&'#"'# #%#j'#X&'#'#6"'# # #V#c'#1&'#"'#6 #d#e'#f&'# #'#I"'# #!#'#I"'#X&'# #"#'#6"'#e ### '#I"'# #B"'# #C$#'#I'#6"'# # #V%#'#I'#6"'# # #V&# -'#I'#6"'# # #V"'#6 # '#'#I(#y)(#j'#1&'#j)#'#*#'#I"'# "'# #"'# # #+@# '# "'# #"'# #,#'#I"'# #-#'#&'# '#.#0'#1&'#"'#1&'# #2/#a'#1&'#"'# #B"'# #C0#'#X&'#"'# #B"'# #C1#'#I"'# #B"'# #C2#'#I"'# #B"'# #C"'# #3#'#I"'# #B"'# #C"'#X&'# #"'# #4#'#I"'# #B"'# #C"'#X&'# # 5#'# "'#e #"'# #B6#'# '#6"'# # #V"'# #B7#'# "'#e #"'# #B8#'# '#6"'# # #V"'# #B9#'#I"'# #"'# #:#'#"'# #;#'#I"'# #"'#X&'# #<#'#I"'# #"'#X&'# #=#'#X&'#>#'#?=*UQ* s*@S*pZ*Ug*Uh*Um*Vm*Un+Vn+-U+>Y+^`+b+o,q,Nr,a,U,W--]X-[-].:k.bl.i.j.c/(e/D/d// /005 -0q0y000 1+1N1o01a122*2c223 3`33344L4U4)p)))=4  @##)(#(# '#&'#'##H@#'#"'#&'#e'#e #@#w'#e"'#e #f@#'#I"'#&'#e'#e #"'#X&'#e #"'#e"'#e # #"'#e"'#e # #J@#'#I"'#&'#e'#e #"'#X&'#e #"'#X&'#e #66w77)(#(#'#&'#'###'#X&'##'#"'#e ##5"'# #"'# #J#'#"'#e # #'#I -#y)(#(#'#&'#'# #Z'#I'#I"'# #"'# #J # #'#I"'#&'#'# #2 #'#6"'#e #J#'#"'# #'# ##'#"'# #'#"'# #J #"'# ##'#I'#"'# #"'# #J ##'#X&'#&'#'##)(#(#'#&'#'#'#&'#'#"'# #"'# #J ##'#I"'#X&'#&'#'# ##'#I'#6"'# #"'# #J #V#'#6"'#e ##'# #g'#6#h'#6#'#X&'##'#8:U8S8t5888y8Z9;9h99::KU:r:;;L;lU;{Ug;Uh;U;,)(#(#'#H&'#'#-'#&'#'##)(#(# '#|&'## +'#&'#'#*## ##'# #g'#6!#h'#6"#m'###'#$#n'#%#Q'#R&'#& <<^= U=Ug=(Uh=8Um=IU=ZUn=kUQ)(#(#'#R&'##'+'#R&'#*#(+'#&'#'#*#)+'#*#a*#"'#&'#'# #+#z'#6,#{'#-=> >1a>G^>oz>U{)(#(#'#&'#'##. #5'#I"'# #"'# #J/#'#I"'#&'#'# #20#'#I"'#X&'#&'#'# #1#'#I2#'#"'#e #3#'#I'#6"'# #"'# #J #V4#'#"'# #'# #5#'#"'# #'#"'# #J #"'# #6#'#I'#"'# #"'# #J #7 >5??K????@#@x)(#(#'#&'#'##8+'#&'#'#*#9 #"'#&'#'# #2##:#y)(#(#'#&'#'#;#'#"'#e #<#5'#I"'# #"'# #J=#'#I"'#&'#'# #2>#'#I?#'#"'# #'# #@#'#6"'#e #A#'#6"'#e #JB#Z'#I'#I"'# #"'# #J #C#g'#6D#h'#6E#'# F#'#X&'#G#'#"'#e #H#'#I#'#X&'#J#'#X&'#&'#'#K#'#I"'#X&'#&'#'# #L#)(#(#'#&'#'#'#&'#'#"'# #"'# #J #M#'#"'# #'#"'# #J #"'# #N#'#I'#"'# #"'# #J #O#'#I'#6"'# #"'# #J #VPA'AK^A{yAA5AB%B8BjBBZBUgBUhCUCUC-CNCbUC{UCCD@DD)(#(# '#&'#'#-'#&'#'##Q#"'#&'#'# #R#y)(#(#'#&'#'#SE^F%y6r6H78;>@@EEFU  @##)(#'#|&'##J#J'#&'#6#J#Q"'#X #`'#&'##Q6#J#"'#X&'# #`'#&'##@#t)(#](#Z'#J&'#Z"'#J&'#] ##y)(#j'#J&'#j#L'##'##M'#I"'# #J#N'#I"'# #J #'#I"'# #J -#'#6"'#e #J #'#I"'#X&'# # #'#I'#6"'# # #V #'#I'#6"'# # #V#'#IF^GQGKGtGyGLGH MH,NHKHjHHHI)(#'#&'##+'#*#+'#*## '#I"'# #"'# #>#'#IIII J -)(# '#&'#!&'##! +'#*#"#'# #"'# ##! #"##'#I"'# ##$'#I"'# ##'##%'#!&'##&'#!&'# Ji"JUJVJ^J#J$KK%K1&)(# '#!&'##' +'#(&'#*#) #'"'# # #)!#*'#!&'#"#+'#I"'# ###,'#I"'# #$#-'#%#"'#&#&'#!&'#'#%'#!&'#( K)K^K*L+L/,LO-LcU"Lt&L%)(# '#'&'##.)#."'# #"'#(&'# #/*##'#I"'# #+#$'#I"'# #,#-'#-#'#.#*'#.&'#/M^M@#M`$M-MM*)(# '#'&'##00#0"'#(&'# #/1#*'#!&'#2#-'#3#"'#4N^N5*NQ-NeU")(# '#X&'#'#J&'##(5+'#0&'#*#16+'# *#27#(80#(#Q"'#X&'# #`90#(#"'#X&'# #`:#y)(#j'#J&'#j;#'# <#N'#I"'# #J=#M'#I"'# #J>#'#I"'# #J?#'#I"'#X&'# #@#'#A#L'#B#'#6"'#e #cC# -'#I'#6"'# # #V"'#6 #3D#'#I'#6"'# # #VE#'#I'#6"'# # #VF#m'#G#n'#H#'#I#4'#!&'#J#5'#!&'#K#g'#6L#'#IM#6'#I'#I"'#!&'# # #N#Q'#7&'#O#'#PN1N2N^OQO+OOyOsUONOMOOPPLP/PO -PPPUmPUnQ UQ4Q:5QVUgQfQy6QUQQ)(#'#R&'##7Q+'#0&'#*#1R+'#!&'#*#8S+'#*#aT#7"'#0&'# #9U#z'#6V#{'#WR1R8RaS^S6zSIU{)(# '#t&'#'#J&'##X'@+'# *#:Y+'#1&'#*#;Z+'# *#<[+'# *#=\+'# *#]#"'# #>^@#?'# "'# #>_0##Q"'#X&'# #``0##"'#X&'# #`a#y)(#j'#J&'#jb#Q'#R&'#c#Z'#I'#I"'# # #Td#g'#6e#'# f#m'#g#n'#h#'#i#s'#"'# #j#c'#1&'#"'#6 #dk#'#I"'# #Jl#'#I"'#X&'# #`m#'#6"'#e #Jn#@'#I'#6"'# # #V"'#6 #3o#'#I'#6"'# # #Vp#'#I'#6"'# # #Vq#'#Ir#'#s#N'#I"'# #Jt#M'#I"'# #Ju#L'#v#'#w@#A'#6"'# #x@#B'# "'# #y#C'#I"'# #Dz#4'#I"'# #{#-'# "'# #2|#3'#I}#E'# "'#1&'# #~#F'#I"'# #G'S:S;S<T=TT/^TK?TjQTTyTUQTZUUgU/UU>UmUOUnU`UUqsUcUUVV"@V^VVVVNWMW#LW7WKAWjBWCW4W-W3WEX!F)(#'#R&'##H+'#&'#*#)+'# *#I+'# *#+'# *# +'#*#a#H"'#&'# #/#{'##z'#6Y|)YIYY YaY^ZU{Z)zF -FJI$IJJ<!KMK'LL.MM0NvN(QR7SZSX@YUHZ=  @##)(#'#f&'##J,#'#6"'# #J#Y'#6"'#e ##'#"'#e ##'#6"'#e #J#Q'#R&'##e'#f&'##'# #g'#6#h'#6 #y)(#j'#f&'#j -#S'#X&'#"'#X&'# #2 #W)(#Z'#X&'#Z #'#I #'#I"'#X&'# #`#'#I"'#X&'#e #`#'#I"'#X&'#e #`#'#I'#6"'# # #V#'#I'#6"'# # #V#'#6"'#X&'#e #2#'#f&'#"'#f&'# #2#'#f&'#"'#f&'#e #2#'#f&'#"'#f&'#e #2#c'#1&'#"'#6 #d#)(#Z'#X&'#Z'#Z"'# # #T#'##'##U'#X&'#'#6"'# # #T#X)(#Z'#X&'#Z'#X&'#Z"'# # #T#Z'#I'#I"'# # #T#['#'#"'# #J"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#`'#6'#6"'# # #T #a'#"'# #$^!#b'#6'#6"'# # #V"#i'#X&'#"'# ###j'#X&'#'#6"'# #J #V$#k'#X&'#"'# #%#l'#X&'#'#6"'# #J #V&#m'#'#n'#(#o'#'#6"'# #J #V"'# #p)#q'#'#6"'# #J #V"'# #p*#r'#'#6"'# #J #V"'# #p+#s'#"'# #,,[0[OY[o[[UQ[e[U[Ug\Uh\y\7S\gW\\\\]]C]s]]]^*c^V^U^^U^X_@Z_p[_]```2a`Zb`i`j`kalaJUma[UnaloaqarbAs)(#-'#J&'##K-@#L'#"'#f #M.cL)(#-'#J&'##N/ -#N0#O'#f&'#1#P)(#j'#f&'#j2#y)(#j'#f&'#j3#'#f&'#"'#f&'#e #24#'#f&'#"'#f&'#e #25#e'#f&'#6d -^dOd3PdWyd{dde)(#'#f&'##Q7 @#R'#8#'#6"'# #J9#'#I:#'#I"'#X&'# #`;#'#I"'#X&'#e #`<#'#I"'#X&'#e #`=#'#I'#6"'# # #V>#'#I'#6"'# # #V?#'#6"'#e #J@ eNRebeeeef f9fi)(# '#N&'#-'#Q&'##SA+'#&'#'#`*#B -#S #C#O'#f&'#D#P)(#j'#f&'#jE#Y'#6"'#e #F#Q'#R&'#G#'# H#'#"'#e #Ifg!^g7OgSPgwYgUQgUg)(# '#K&'#-'#Q&'##T#$J+'#f&'#*#K#T"'#f&'# #L#Y'#6"'#e #M#'#"'#e #N#'# O#Q'#R&'#P#e'#f&'#QhZhx^hYhhUhUQieZ[ -JbacKccNde(QffSghTi  @##)(#Z'#6"'#Z #J#U)(#(#V'#W&'#'#V#W+'#*#+'#V*#X+'#V*#Y#W #j j"Xj8YjN^)(# '#W&'#'#Z&'##Z#Z"'# #j^)(#(# '#W&'#'#[&'#'#'#&'#'##[+'#*#J #["'# # #J -#\'#[&'#'#"'# #J #'# k,JkA^kc\k)(#(#V'#W&'#'#V#] #^'#V"#^"'#V #_+'# *#`+'# *#+'# *#a#b'#&'##c'#U#d'# "'# ##e'#V"'#V ##f'#V"'#V ##-'#V"'# ##g'#I"'#V #"'# #h#n'#V#'#V#5'#I#i'#6"'#e #kU^lV^l`l2lGal\UbluUcldlelfl-m gm5UnmFUmW5mji"'# #"'# #'# #j)(#'#&'##k)(#(# '#]&'#'#[&'#'#-'#&'#'##l +'#[&'#'#*#^!+'#&'#*#b"+'#U*#c##l"'# "'# #m"'# #n #"'#6"'# #o #$0#l#Q"'#&'#'# #2"'# "'# #m"'# #n #"'#6"'# #o #%0#l#"'#&'#'# #2"'# "'# #m"'# #n #"'#6"'# #o #&0#l#"'#X #"'#"'# # #"'#"'# # #J"'# "'# #m"'# #n #"'#6"'# #o #'0#l#"'#X&'# #"'#X&'# #"'# "'# #m"'# #n #"'#6"'# #o #(#'#"'#e #)#'#"'#e #*#5'#I"'# #"'# #J+#'#"'# #'# #,#'#"'# #'#"'# #J #"'# #-#'#I'#"'# #"'# #J #.#'#I"'#&'#'# #2/#g'#60#h'#61#Z'#I'#I"'# #"'# #J #T2#'# 3#'#I4#'#6"'#e #5#'#6"'#e #J6#'#X&'#7#'#X&'#8#'#X&'#&'#'#9#p'#:#q'#;#r'#"'# #<#s'#"'# #=n^nbnco^o`QopZqqqq5r r>rrrUgs UhsZsYUshs{ssUsUsUtpt'qt;rt\s)(#(#V'#W&'#'#V(#Z'#R&'#Z#t> -+'#]&'#'#V*#u?+'#1&'#V*#v@+'# *#A+'# *#aB#t"'#]&'#'#V #wC#{'#ZD#x'#I"'# #E#y'#I"'#V #F#z'#6G#z'#Z"'#V #H -uuuvuuau^v#U{v4xvTyvtzvz)(#(#V'#W&'#'#V '#|&'##{I+'#]&'#'#V*#uJ#{ #uK#'# L#g'#6M#Q'#R&'#N#Y'#6"'#e #cO#e'#f&'#Pw1uwU^wkUwzUgwUQwYwe)(#(# '#|&'##|Q+'#l&'#'#*#R#| #S#'# T#g'#6U#Q'#R&'#Vx;x_^xuUxUgxUQ)(#(# '#|&'#&'#'##}W+'#l&'#'#*#X#} #Y#'# Z#g'#6[#Q'#R&'#&'#'#\y y-^yCUyRUgybUQ)(#(#V'#W&'#'#V '#t&'#'#V'##~]#~"'#]&'#'#V #^#z'#"'#V #_y^zz)(#(# '#t&'#'#[&'#'#'##`#"'#l&'#'# #a#z'#"'#[&'#'# #bz^zz)(#(# '#t&'#'#[&'#'#'#&'#'##c#"'#l&'#'# #wd#z'#&'#'#"'#[&'#'# #e#\'#I"'# #Jf{K^{sz{\)(# '#]&'#'#Z&'#-'#&'#'#J&'##g+'#Z&'#*#^h+'#&'#*#bi+'#U*#cj#"'# "'# #m"'# #n #"'#6"'# #o #k0##Q"'#X #`"'# "'# #m"'# #n #"'#6"'# #o #l0##"'#X&'# #`"'# "'# #m"'# #n #"'#6"'# #o #m#O)(#Z'#f&'#Zn#y)(#j'#f&'#jo#Q'#R&'#p#'# q#g'#6r#h'#6s#m'#t#n'#u#'#v#Y'#6"'#e #w#'#6"'# #x#4'#6"'# #y#'#6"'#e #z#'#I"'#X&'# #`{#'#I"'#X&'#e #`|#'#I"'#X&'#e #`}#'#"'#e #~#'#f&'#"'#f&'#e #2#'#f&'#"'#f&'#e #2#'#f&'#"'#f&'# #2#E'#&'##)(#V'#W&'#'#V'#Z&'#"'#V ##'#I#e'#f&'##'#|5^|Sb|qc|^|Q}V}O}y~UQ~.U~=Ug~MUh~]Um~nUn~U~Y~~4~7^8EUeiiUiWjdjZjj[kk]mmjn-knSlt}uJtvv{wx|xx}yy~z@zNzz{{ቃ "e#)J6WFcZziP  @##!#$! -##*####1####($$$$$$$$$$$$$$  @##'##+'#e*#f+'#g*#h#"'#e #f"'#g #h@#'#g"'#e #f#'#fh^"'#6 #"'#e #f"'#g #h#Xu8  @##)(#Z '#&'#Z##"'#&'#Z ##'#6^U)(#Z '#&'#Z#@+'# *#@+'# *#@+'# *#+'# *#+'#&'#Z*#+'#&'#Z*# #"'#&'#Z #'#I"'#Z #A #"'#6 #'#I #"'#6 # -#'#6"'# # #'#I #'#6 #'#I#'#6#'#I#'#I-D[r^*I\UlU)(#Z'#&'#Z#-@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#+'#I*#+'#&'#I*#+'# *#"+'#&'#Z*#+'#&'#Z*#+'#&'#Z*#+'#&'#I*## # ##'#I  #'#I'#I #!#'#I" #'#I'#I ###'#&'#Z$#'#&'#Z%#'#6&#''#6'#'#6(#'#6)#'#6*#'#6+#'#6,#'#&'#I-#'#6.#'#I"'#&'#Z #/#'#I"'#&'#Z #0#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #1#'#~&'#I"'#&'#Z #2#'#I"'#&'#Z #3#'#I"'#&'#Z #4#'#5#'#I"'#Z #A6#d'#I"'#e #f"'#g #h7#'#~8#'#~&'#I9#'#~"'#&'#Z #"'#6 #:#4'#I"'#Z #A;#'#I"'#e #f"'#g #h<#'#I=#'#I'#I"'#&'#Z # #>#'#I?-CZq" )Ge^UVUVU.UGUWU'gUwUUUUU -2'FdvU4&9q)(#Z '#&'#Z'#&'#Z#@#'#I #'#I #A#'#6B#C#'#I"'#Z #AD#'#I"'#e #f"'#g #hE#'#IF^-U=Kj)(#Z '#&'#Z#G#'#I #'#I #H#'#I"'#Z #AI#'#I"'#e #f"'#g #hJ#'#IK^&Er)(#Z '#&'#Z'#&'#Z#L +'#&'#Z*#M#'#I #'#I #N#'#6O#'#I"'# #P#'#I"'#Z #AQ#d'#I"'#e #f"'#g #hR#'#IS#'#~T#'#IU ^!U1Qpd  @####V$+'#*#+'#*#k -# # #k#'#~&'#`k^'#/##"'# #W#'#+'#*#9^Sga~#}  @##)(#Z##<$=> ##88)(#Z#~@+'#&'#`*#@+'#&'#6*##~'#&'#Z #0#~#'#&'#Z #0#~#'#&'#Z #0#~#J"'#&'#Z #J#<$=>#<$0#~#f"'#e #f"'#g #h 0#~#"'# #'#&'#Z # -@#)(#Z'#~&'#1&'#Z"'#X&'#~&'#Z #"'#6 #'#I"'#Z # ##<$Ņ$2 @#b)(#Z'#~&'#Z"'#X&'#~&'#Z # @#Z)(#Z'#~"'#X&'#Z #`'#"'#Z # # @#'#6"'#e #8@#'#~'#&'#6 ##)(#j'#~&'#j'#&'#j"'#Z #J #"'#6 ##'#~&'#Z"'#6 #'#6"'#e #f #V#'#~&'#Z'#&'#I ##'#&'#Z#'#~&'#Z"'# #'#&'#Z # 6S^yJ f6ob:Z,u)(#Z'#~&'#Z##$#)(#'#e'#~&'#Z'#&'#Z"'# #f"'#g #h #!'#6"'# #f #V'#/# -+'#*#W+'#*## - #W ##'#QWg}^)(#Z# # 0# ## '#~&'#Z# '#I"'#&'#Z #J #'#I"'#e #f"'#g #h!#'#6"^U  GwU"'# #"'#e #f"'#g #h'#I##"'# #"'#e #f"'#g #h'#I#$~ -3; -   @##7)(#](#Z'#&'#Z"'#] #J#7'#6"'#e #f#7'##)(#Z'# &'#Z#+'#&'#Z*# # '#I"'#&'#Z #J#'#I"'#e #f"'#g #h#'#I"'#e #f"'#g #h#'#6 8 bU)(#Z '#&'#Z# # '#I"'#&'#Z #J -#'#I"'#e #f"'#g #h  C)(#Z '#&'#Z# # '#I"'#&'#Z #J #'#I"'#e #f"'#g #h )(#](#Z#%@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# #@+'# *#!4##@+'# *#"#@+'# *##4##@+'# *#$#@+'# *#%444####@+'# *#&+'#*#'+'#&'#Z*##<$=>+'# *#(#<$=>+'#6*#O#<$=>+'#6*#( ### #"'#&'#Z"'#] #"'#6 #(!###) #"'#&'#]'#Z #"'#6 #("### # #( #O#### # #O$#'#*%#+'#6&#,'#6'#-'#6(#.'#6)#/'#6*#0'#&'#Z"'#]+#1'#6,#2'#-#3'#.#4'#6/#5'#&'#Z"'#] #6#<$Ņ$2#<$780#9'#6"'# #:1#!'#&'#Z"'# #:2#;'#3#<'#6"'#~&'# #J4%&=Tk !"#$%B&Y'o(O(;)|UU+U,U- -U.U/*U0TU1eU2vU3U459!';;<)(#Z'#~&'#Z#51@+'# *#=6@+'# *#>7@+'# *#?8@+'# *#@9@+'# *#A:+'# *#";+'#**#<+*#B#<$=>=#>!##C"'#&'#Z #? ##D"'#Z #J #@!##E""#f"'#g #hA###J"'#Z #JB#F'#6C#G'#6D#H'#6E#I'#6F#J'#6G#K'#6H@#L'#1&'#6"'#&'#e # I#M'#I"'# #J#)(#j'#~&'#j'#&'#j"'#Z #J #T"'#6 #K#N)(#'#~&'#'#&'#"'#Z #J #T"'#6 #L#'#~&'#Z"'#6 #'#6"'#e #f #VM#'#~&'#Z'# #N#'#&'#ZO#O'#IP#P'#IQ#Q'#R#R'#S#S'#I"'#Z #JT#T'#I"'# #fU#U'#I"'#e #f"'#g #hV#V'#I"'# #W#'#I"'# #WX#X'#I"'# #YY#Z'#Z#['#"'# #Y[#\'#I"'#~ #\@#]'#I"'# #"'# #]#^'#I"'#&'#Z #J^#_'#I"'#Z #J_#'#I"'#e #f"'#g #h`#`'#I"'#&'#Z #Ja#a'#I"'#Z #Jb#b'#I"'#~&'#Z #Jc#c'#I"'#e #f"'#g #hd@#d'#I"'# #"'# #Ye#'#~&'#Z"'# #'#&'#Z # #<$Ņ$2#<$=>f1=>?@A"%;BV^cCDEJUFUG UHUI,UJ#h #O0OF>\^%+'#h*#i%+'#h*#j%+'#h*#k%+'#6*#l'#I#m '#I#n -"'#g #O'#I#o "'#g #O'#I#p "'#I #O'#I#q#<$c>$rs #t#u'#I"'#I #Ou 7g"hr%i%j%k%lmn -o,pNqt  @##7'#I#v)(#Z#1#*##>##O'#w&'#Z0##J"'#Z #J#$xy0##f"'#e #f"'#g #h#$xy0##z"'#~&'#Z # 0##{"'#X&'#~&'#Z #0##"'#X&'#Z #` 0##|"'#I"'#}&'#Z #"'#6 ##$ -0##~"'# #'#Z"'# # # 0##"'#&'# #'#^&'#"'#^&'#Z # # @#t)(#](#Z'#&'#Z"'#&'#] # #'#6#'#&'#Z'#I"'#&'#Z # #'#I"'#&'#Z # ##'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 ##U'#&'#Z'#6"'#Z # #V#)(#]'#&'#]'#]"'#Z # ##)(#'#&'#'#&'#"'#Z # ##)(#'#&'#'#&'#"'#Z # ##!'#&'#Z"'#6 #'#6" #f #V#X)(#]'#&'#]'#X&'#]"'#Z # ##'#~"'#&'#Z ##)(#]'#&'#]"'#&'#Z'#] ##['#~&'#Z'#Z"'#Z #"'#Z # #\#])(#]'#~&'#]"'#] #^'#]"'#] #"'#Z # #\#a'#~&'#"'# #$^#Y'#~&'#6"'#e ##Z'#~'#I"'#Z # ##`'#~&'#6'#6"'#Z # #V#b'#~&'#6'#6"'#Z # #V#'#~&'# #g'#~&'#6!#y)(#j'#&'#j"#c'#~&'#1&'#Z##e'#~&'#f&'#Z$#)(#'#~&'#"'# #)%#i'#&'#Z"'# #%&#j'#&'#Z'#6"'#Z # #V'#k'#&'#Z"'# #%(#l'#&'#Z'#6"'#Z # #V)#'#&'#Z'#6"'#Z #"'#Z #> #*#m'#~&'#Z+#n'#~&'#Z,#'#~&'#Z-#o'#~&'#Z'#6"'#Z # #V'#Z #p.#q'#~&'#Z'#6"'#Z # #V'#Z #p/#r'#~&'#Z'#6"'#Z # #V'#Z #p0#s'#~&'#Z"'# #1#'#&'#Z"'# #'#I"'#^&'#Z # # 21m^zOJf z1{^|~etU UP!X'P[]2abYZ`b+UBUgZy~cei!jZklUmUn6UOoqr6s^)(#Z#3#'#~&'#I4#'#I'#I"'#Z #A # 5#'#I"'#6 #!6#'#I'#I #"7#$'#I"'#~&'#I #%8#&'#I9#''#6:#()(#'#~&'#"'# #);5d$&U'()(#Z'#&'#Z#^<#'#I"'#Z #=#d'#I"'#e #f"'#g #h>#'#I?d)(#Z '#&'#Z#@+'#&'#Z*#A #"'#&'#Z #2##E#B#'#6C#'#&'#Z'#I"'#&'#Z # #'#I"'#&'#Z # #D#'#&'#Z'#I"'#Z #J #"'#6 #'#I #"'#6 #E%C^tU)(#]#F#'#~"'#&'#] #G#'#~H)(#]'#^&'#]'#&'#]#I#'#~J#'#~K(U)(#](#Z#L#'#&'#Z"'#&'#] #"'#6 # #'#&'#]'#ZM6##'#I"'#] #A"'#^&'#Z # # '#I"'#e #f"'#g #h"'#^&'#Z # #!'#I"'#^&'#Z # #"'#&'#]'#ZN6##"'#&'#Z"'#&'#] #'#&'#]'#Z#$ O@#t)(#u(#v(#w(#x'#&'#w'#x"'#&'#u'#v #P#'#&'#Z"'#&'#] #Q#y)(#z(#{'#&'#z'#{Rd^t=ny)(#](#Z'#&'#]'#Z#sS -#sT#y)(#z(#{'#&'#z'#{U^y)(#Z#V#"'#&'#Z #W#z'#~&'#6X#{'#ZY#'#~Z[^}zU{)(#Z'#^&'#Z#[+'#^*#\# #]#'#^^#'#I"'#Z #A_#d'#I" #f"'#g #h`#'#Ia^+?^d)(#Z'#&'#Z#}#$b#'#I"'#Z #Jc#'#I"'#e #f"'#g #hd#'#IeH) F7vW(a^Z~9Hs7E}[  @##7'#I#7'#&'#I#)(#Z'#&'#Z##'#&'#Z#'#I #'#I #'#I #'#&'#I #"'#6 #0##'#I #'#I #"'#6 #+'#I*#+'#I*#+'#I*#+'#&'#I*# #'#&'#Z -#'#6 #''#6 #'#6 #'#I"'#Z ##d'#I"'#e #f"'#g #h#'#~#'#~#'#~"'#&'#Z #"'#6 #cU|^5QmĉĭUUU'UdFZUk)(#Z'#&'#Z##'#I"'#Z #A#d'#I"'#e #f"'#g #h#'#~=\dƌ)(#Z##'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 ##'#I"'#&'#Z ##'#I"'#&'#Z ##'#~&'#I"'#&'#Z #-U})(#Z'#&'#Z'#&'#Z'#&'#Z'#&'#Z#)(#Z'#&'#Z#)@+'# *#@+'# *#@+'# *# @+'# *#!@+'# *#"@+'# *##+'#e*##<$=>$+'# *#"#<$=>%+'#&'#I*#&+'#I*#'+'#I*#(+'#I*#)+'#&'#I*#*# # # # #+#'#&'#Z,#'#&'#Z-#'#6.#'#6/#'#60#'#61#''#62#'#63#'#64#'#&'#Z5#'#&'#Z6#'#&'#Z7#'#8#'#~"'#&'#Z #"'#6 #9#'#~&'#I:#'#~&'#I;#'#I"'#Z #J<#d'#I"'#e #f"'#g #h=#'#~>#'#I?#4'#I"'#Z #J@#'#I"'#e #f"'#g #hA#'#IB#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #C#'#~&'#I"'#&'#Z #D#'#I"'#&'#Z #E#'#I"'#&'#Z #F)AXoȆȝȴ" )Ea}ɡ^UUUU$U4UDU'TUdUtUʍʩUU&A`dːˤ˷4w̧)(#Z'#&'#Z'#&'#Z#G#'#I"'#Z #AH#'#I"'#e #f"'#g #hI#'#IJWvΣ)(#Z'#&'#Z#K#'#I"'#Z #AL#'#I"'#e #f"'#g #hM#'#IN>,)(#Z'#&'#Z-'#&'#Z##<$=>O,)(#Z'#&'#Z-'#&'#Z#P"'#I #'#I#Q)(#Z '#&'#Z#R+'#&'#Z*#S# #T#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #U#'# V#'#6"'#e #2W=^SдU)(#Z '#&'#Z#X+'#&'#Z*#Y# #'#I"'#Z #A #"'#6 #'#I #"'#6 #Z#'#~&'#I[#'#I\#'#I],J^ѥ)(#Z'#&'#Z#^+'#*#_# #`#'#I"'#Z #Aa#d'#I"'#e #f"'#g #hb#'#~c#'#~"'#&'#Z #d#'#~e0F^\{dҫҿU)(#Z#f+'#*#g+'#*#h#"'#&'#Z #"'#&'#Z #"'#6 #i@#"'# #j#$'#Ik#&'#Il#'#~&'#Im# '#InAWm^Ӱ$&  )(#Z '#&'#Z#o+*#p#"'#&'#Z # #"'#&'#Z #"'#6 #q~Ԏ^7$7=ţƠƶǭ#ζQg,Ϣ, -+Y  @##)(#Z##4'#I"'#Z #A#'#I"'#e #f"'#g #h#'#I4)(#Z##'#I"'#Z #A#'#I"'#e #f"'#g #h#'#ISr֟)(#Z'#&'#Z'#&'#Z'#&'#Z#5@+'# *# @+'# *# -@+'# *# @+'# *# @+'# *# @+'# *# @+'# *#@@+'# *#+'#&'#Z*###<$=>+'#6*#1+'#*#+'#*#+'# *#"+'#~*#+'#&'#Z*##'#I"'#Z #A #"'#6 #'#I #"'#6 #### #'#I"'#Z #A #"'#6 #'#I #"'#6 ##'#I"'#&'#Z ##'#I'#I"'#Z # # @#)(#Z'#I"'#Z"'# #e"'#I"'#Z # #'#I"'#6 #!@#f'#6"'# #e"'#6 #!#'#I'#I #"@#'#I"'# #e"'#I #" #$'#I"'#~&'#I #%!#&'#I"#'#~##()(#'#~&'#"'# #)$#'#6%#'#6&#'#6'#'#6(#'#6)#'#6*#'#6+#'#6,#'#6-#'#6.#''#6/#'#I0#'#I1#4'#I"'#Z #A2#'#I"'#e #f"'#g #h3#'#I4#'#I5#'#I6#'#~&'#I7#'#I"'# #8#'#I"'#Z #A9#'#I"'#e #f"'#g #h:#'#I;#'#I"'#I #O<#'#I"'#6 #=5 -!8Of}ה׫#1-"BXv^&N~f"E$ک&ڼ(UU$U4UDUTUdUtUۄU۔UۤU'۴4&9L_zܚܹ)(#Z '#&'#Z#>#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #?#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #@#'#I"'# #AO߰7)(#Z'#&'#Z#B)(#Z '#&'#Z#C+'#&'#Z*#D+'#6*#E# #F#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #G-K`^v)(#Z '#&'#Z#H+'#R&'#Z*#gI#"'#X&'#Z #AJ#g'#6K#'#I"'#&'#Z #L#'#IMg8^YUgi7)(#Z'#I"'#Z #J#N7'#I#O"'# #J'#I#P"'#e #f"'#g #h'#I#Q'#I#R)(#Z#S+'#*#>T#'#I"'#&'#Z #Uy>)(#Z '#&'#Z#V+'#Z*#JW# #JX#'#I"'#&'#Z #YJ^ '##Z+'#e*#f[+'#g*#h\# #f #h]#'#I"'# #^hf~h^'##_ -#`#'#I"'# #a#>'#b #>'#I"'# #8c^4U>EV>)(#Z#d @+'# *#e@+'# *#f@+'# *#g+'# *#"h#g'#6i#'#6j#'#6k#'#I"'#&'#Z #l#'#Im#'#I"'#&'#Z #n#'#Io "UgUU H[)(#Z '#&'#Z#p+'#*#q+'#*#r#g'#6s#'#I"'# #t#'#I"'#&'#Z #u#'#Iv #9UgIi7)(#Z'#I"'#&'#Z ##w)(#Z'#&'#Z#x@+'# *#y@+'# *#z@+'# *#{+'#*#|+'# *#"}+'#*#~# ##'#6#'#6#''#6#'#I#'#I'#I"'#Z #A # #'#I"'#6 #!#'#I'#I #"#$'#I"'#~&'#I #%#&'#I#'#~#()(#'#~&'#"'# #)#'#I%<Sj"^UUU'8Y}$&()(#Z '#&'#Z#+'#&'#Z*#+'#&'#Z*#+'#&'#Z*#+'#*#+'#&'#Z*#+'#&'#Z*## #'#I"'#&'#Z # #'#I"'#&'#Z # ##'#6#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 ##'#I#'#I#'#I#'#I"'#~&'#I #%#'#I#'#6 (?^}^UZnU)(#Z'#&'#Z# -+'#*## ##'#I'#I"'#Z #A # #'#I"'#6 #!#'#I'#I #"#$'#I"'#~&'#I #%#&'#I#'#~#''#6#()(#'#~&'#"'# #) -y^$G&[pU'()(#Z'#&'#Z# +'#&'#Z*#+'#e*##<$=>+'#6*##"'#&'#Z0##{'#Z#z'#~&'#6#'#~&'#6#'#~##'#I"'#Z #A#1'#I"'#e #f"'#g #h#'#I $Ce{^U{z#1K)(#Z '#&'#Z#w #wE##'#6#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #^U)(#Z '#&'#Z#+'#6*#+'#I"'#}&'#Z*## # ##'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 #^)(#Z '#&'#Z'#}&'#Z###'#I"'#Z #A#'#I"'#e #f"'#g #h#'#I#'#&'#Z^%9UՕղ'=ֲ>777Nc>Sd7R_wf{rS  @##)(#Z'#Z #"'#Z #J #"'#e #f"'#g #h ## "'# #"'# # "'#e #f"'#g #h'#I# -"'# #"'# # "'#e #f"'#g #h'#I# "'# #"'# # '#I"'#e #f"'#g #h# "'# #"'# # " #J'#I# )(#](#Z '#&'#Z#+'#&'#]*## ##'#6#'#&'#Z'#I"'#Z #J #"'#6 #'#I #"'#6 # #'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 # -#'#I"'#] #A"'#&'#Z # #'#I"'#e #f"'#g #h"'#&'#Z # #'#I"'#&'#Z # A_^uUP)(#](#Z '#&'#Z# +'#&'#]'#Z*#+'#&'#]*## #'#I"'#Z #A #"'#6 #'#I #"'#6 ##4'#I"'#Z #A#'#I"'#e #f"'#g #h#'#I#'#I#'#~&'#I#'#I"'#] #A#'#I" #f"'#g #h#'#I Rv^4;Na|"'# #"'#e #f"'#g #h'#I#)(#Z '#&'#Z'#Z#+'#6"'#Z*##"'#&'#Z #'#6"'#Z #J #V#'#I"'#Z #"'#&'#Z #^7)(#](#Z'#Z"'#] #J#b)(#](#Z '#&'#]'#Z# +'#b&'#]'#Z*#!#"'#&'#] #'#Z"'#] # #"#'#I"'#] #"'#&'#Z ##^)(#](#Z '#&'#]'#Z#$+'#b&'#]'#X&'#Z*#%#"'#&'#] #'#X&'#Z"'#] # #X&#'#I"'#] #"'#&'#Z #'w^)(#Z '#&'#Z'#Z#(+'#6*#)+'#6"'#e*#*#"'#&'#Z #"'#6 #'#6"'#e #f #V+#'#I"'#Z #A"'#&'#Z #,#'#I"'#e #f"'#g #h"'#&'#Z #-aw^)(#Z '#&'#Z'#Z#.+'# *#`/#"'#&'#Z #"'# #%0#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #1#'#I"'#Z #"'#&'#Z #2`^S)(#](#Z '#&'#Z'#Z#3+'#]*#4#"'#&'#Z'#Z #'#I"'#Z #A #"'#6 #'#I #"'#6 # #5^)(#Z '#&'#Z'#Z#6+'#6"'#Z*#7#"'#&'#Z #'#6"'#Z #J #V8#'#I"'#Z #"'#&'#Z #9^)(#Z '#&'#Z'#Z#:+'# *#`;#"'#&'#Z #"'# #%<#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #=#'#I"'#Z #"'#&'#Z #>v`^)(#Z '#&'#Z'#Z#?+'#6"'#Z*#@#"'#&'#Z #'#6"'#Z #J #VA#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #B#'#I"'#Z #"'#&'#Z #C^\)(#Z '#&'#Z'#Z# D@+*#!E+'#6"'#Z"'#Z*#"F# "'#&'#Z #'#6"'#Z #"'#Z # #G#'#&'#Z'#I"'#Z #A #"'#6 #'#I #"'#6 #H#'#I"'#Z #"'#&'#Z #I!"^e}  -H   '$`$:7bf0F 6_bq5KOl   @##)(#Z'#^&'#Z##+'#&'#Z*### ##'#I"'#Z #A#d'#I"'#e #f"'#g #h#'#I;^Qpd)(#](#Z '#&'#Z#$ +'#^&'#]*#%+'#&'#]*##$"'#&'#] #"'#&&'#]'#Z #''#I"'#Z #A #"'#6 #'#I #"'#6 # #4'#I"'#Z #A -#'#I"'#e #f"'#g #h #'#I #'#I #'#I#'#~&'#I#'#I"'#] #A#'#I"'#e #f"'#g #h#'#I % >^4 2E`7)(#](#Z'#^&'#]"'#^&'#Z #.#&)(#](#Z '#s&'#]'#Z#(+'#&&'#]'#Z*#) -#( #)#'#&'#Z"'#&'#] #)^)(#](#Z '#&'#Z#*+'#&&'#]'#Z*#)+'#&'#]*##'#6#* # #)#'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 # /) S qU ^ 7)(#](#Z'#I"'#] #A"'#^&'#Z ##+7)(#Z'#I"'#e #f"'#g #h"'#^&'#Z ##,7)(#Z'#I"'#^&'#Z ##- )(#](#Z'#^&'#]#.!+'#+&'#]'#Z*#"+'#,&'#Z*##+'#-&'#Z*#$+'#^&'#Z*#%#. # # #'#^&'#Z #&#'#I"'#] #A'#d'#I"'#e #f"'#g #h(#'#I)  6 T r ^  d )(#](#Z '#(&'#]'#Z#*#'#I"'#] #A"'#^&'#Z # # '#I"'#e #f"'#g #h"'#^&'#Z # #!'#I"'#^&'#Z # #"+#'#&'#Z"'#&'#] #, ^ I)(#](#Z '#s&'#]'#Z#-+'#&'#Z"'#&'#]*#/.# #//#'#&'#Z"'#&'#] #0 / ^7)(#](#Z'#&'#Z"'#&'#] #"'#6 ##01)(#](#Z '#s&'#]'#Z#2+'#0&'#]'#Z*#3 -# #4#'#&'#Z"'#&'#] #5^)(#](#Z '#&'#Z#16+'#0&'#]'#Z*#7+'#&'#]*#8#'#69#1 # #:#'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 #;sU^#$7&R( * -  -07+ -p7, -7- -. 1 m z 7M702H1O  @###2#2"'# #"'#I #O0#2#~"'# #'#I"'#2 #3 #O@#4'#I"'#I #O#'#I#5'# #6'#6#7'#2"'# #"'#I #O#8'#2"'# #'#I"'#2 #3 #O*^W~4U5U6782^  @##7)(#j'#j#97)(#j(#Z'#j"'#Z #:#;7)(#j(#<(#='#j"'#< #>"'#= #?#@'#I"'# #A"'#B #C"'# #e"'#e #f"'#g #h#D)(#j'#j"'# #A"'#B #C"'# #e"'#j #T#E)(#j(#Z'#j"'# #A"'#B #C"'# #e"'#j"'#Z #: #T"'#Z #:#F)(#j(#<(#='#j"'# #A"'#B #C"'# #e"'#j"'#< #>"'#= #? #T"'#< #>"'#= #?#G)(#j'#9&'#j"'# #A"'#B #C"'# #e"'#j #T#H)(#j(#Z'#;&'#j'#Z"'# #A"'#B #C"'# #e"'#j"'#Z #: #T#I)(#j(#<(#='#@&'#j'#<'#="'# #A"'#B #C"'# #e"'#j"'#< #>"'#= #? #T#J 7'#"'# #A"'#B #C"'# #e"'#e #f"'#g #h#K -7'#I"'# #A"'#B #C"'# #e'#I #T#L 7'#2"'# #A"'#B #C"'# #e"'# #'#I #T#M 7'#2"'# #A"'#B #C"'# #e"'# #'#I"'#2 #3 #T#N 7'#I"'# #A"'#B #C"'# #e"'# ##O7'#"'# #A"'#B #C"'# #e"'#P #Q"'#&'#e'#e #R#S)(#Z'#6#T+'#**#e+'#Z*#8 -#T #e #8e8^#U+'#**#e+'#E*#8 -#U #e #8e8$^#V+'#**#e+'#F*#8 -#V #e #8he~8^#W+'#**#e+'#G*#8 -#W #e #8e8^#X +'#**#e!+'#H*#8" -#X #e #8#He^8t^#Y$+'#**#e%+'#I*#8& -#Y #e #8'e8^#Z(+'#**#e)+'#J*#8* -#Z #e #8+(e>8T^#P,#P "'#D #["'#E #4"'#F #\"'#G #]"'#H #^"'#I #_"'#J #`"'#K #("'#L #q"'#M #a"'#N #b"'#O #"'#S #c'#d-0#P#Q"'#P #2"'#D #["'#E #4"'#F #\"'#G #]"'#H #^"'#I #_"'#J #`"'#K #("'#L #q"'#M #a"'#N #b"'#O #"'#S #c.#['#D/#4'#E0#\'#F1#]'#G2#^'#H3#_'#I4#`'#J5#('#K6#q'#L7#a'#M8#b'#N9#'#O:#c'#S;^}QiU[zU4U\U]U^U_U`U(UqUaUb$U5Uc'#P#d< -#d  #[ #4 #\ #] #^ #_ #` #( #q #a #b # #c=+'#D*#[>+'#E*#4?+'#F*#\@+'#G*#]A+'#H*#^B+'#I*#_C+'#J*#`D+'#K*#(E+'#L*#qF+'#M*#aG+'#N*#bH+'#O*#I+'#S*#cJ^n[4\]^_` ( q 4a Jb ` vc#BK #['#I"'# #e"'#e #f"'#g #hL#4)(#j'#j"'# #e'#j #TM#\)(#j(#Z'#j"'# #e'#j"'#Z #: #T"'#Z #:N#])(#j(#<(#='#j"'# #e'#j"'#< #>"'#= #? #T"'#< #>"'#= #?O#^)(#j'#9&'#j"'# #e'#j #TP#_)(#j(#Z'#;&'#j'#Z"'# #e'#j"'#Z #: #TQ#`)(#j(#<(#='#@&'#j'#<'#="'# #e'#j"'#< #>"'#= #? #TR#('#"'# #e"'#e #f"'#g #hS#q'#I"'# #e'#I #TT#a'#2"'# #e"'# #'#I #TU#b'#2"'# #e"'# #'#I"'#2 #3 #TV#'#I"'# #e"'# #W#c'#"'# #e"'#P #Q"'# #RX ! [!C4!}\!]"Q^"_"`#b(#q#a$ b$V$c#Y "##8Z@+'#*#e#f[@+'#**#a\P#{'#]#['#I"'#e #f"'#g #h^#C'#_#g'#`#h'#6"'# #ia#c'#"'#P #Q"'#&'#e'#e #Rb#4)(#j'#j'#j #c#\)(#j(#Z'#j'#j"'#Z # #"'#Z #d#])(#j(#<(#='#j'#j"'#< #j"'#= #k #"'#< #j"'#= #ke#l'#I'#I #f#m)(#Z'#I'#I"'#Z # #"'#Z #g#n)(#<(#='#I'#I"'#< #j"'#= #k #"'#< #j"'#= #kh#^)(#j'#9&'#j'#j #Oi#_)(#j(#Z'#;&'#j'#Z'#j"'#Z #: #Oj#`)(#j(#<(#='#@&'#j'#<'#='#j"'#< #>"'#= #? #Ok#o)(#j'#9&'#j'#j #Ol#p)(#j(#Z'#;&'#j'#Z'#j"'#Z # #Om#q)(#j(#<(#='#@&'#j'#<'#='#j"'#< #j"'#= #k #On#r'#I"'#I #Oo#s)(#Z'#I"'#Z'#I"'#Z # #Op#t)(#<(#='#I"'#<"'#='#I"'#< #j"'#= #k #Oq#('#"'#e #f"'#g #hr#q'#I"'#I #Os#a'#2"'# #"'#I #Ot#b'#2"'# #'#I"'#2 #3 #Ou#'#I"'# #v@#u'#*"'#* #ew@#v'#I"'#* #x#'#"'#e #y %(8%7e%Pa%fU{%w[%UC%Ug%h%c&(4&U\&]'l'2m'wn'^(_(_`(o(p)Iq)r)s*&t*(*q*a+b+R+ru+v+'#B#wz+'#**#x{#w #x|#['#I"'# #e"'#e #f"'#g #h}#4)(#j'#j"'# #e'#j #T~#\)(#j(#Z'#j"'# #e'#j"'#Z #: #T"'#Z #:#])(#j(#<(#='#j"'# #e'#j"'#< #>"'#= #? #T"'#< #>"'#= #?#^)(#j'#9&'#j"'# #e'#j #T#_)(#j(#Z'#;&'#j'#Z"'# #e'#j"'#Z #: #T#`)(#j(#<(#='#@&'#j'#<'#="'# #e'#j"'#< #>"'#= #? #T#('#"'# #e"'#e #f"'#g #h#q'#I"'# #e #T#a'#2"'# #e"'# #'#I #T#b'#2"'# #e"'# #'#I"'#2 #3 #T#'#I"'# #e"'# ##c'#"'# #e"'#P #Q"'#&'#e'#e #R,x,^,[-24-l\-].A^._.`/U(/q/a/b0H0vc'##* -#*#y'#U#z'#V#{'#W#|'#X#}'#Y#~'#Z#'#T&'#K#'#T&'#L#7'#T&'#M#8'#T&'#N#'#T&'#O#'#T&'#S#'#T&'#D#C'#*#'#B#'#B#'#&'#e'#e#h'#6"'# #i1A^1OUy1aUz1sU{1U|1U}1U~1U1U1U72 U82#U2=U2WU2qUC2U2U2U2h '#*#++'#U*#y+'#V*#z+'#W*#{+'#X*#|+'#Y*#}+'#Z*#~+'#T&'#K*#+'#T&'#L*#+'#T&'#M*#7+'#T&'#N*#8+'#T&'#O*#+'#T&'#S*#+'#T&'#D*#+'#B*#+'#**#C+'#&'#e'#e*##'#B#'#B# #C"'#P #Q ##g'##l'#I'#I #T#m)(#Z'#I'#I"'#Z #: #T"'#Z #:#n)(#<(#='#I'#I"'#< #>"'#= #? #T"'#< #>"'#= #?#o)(#j'#9&'#j'#j #T#p)(#j(#Z'#;&'#j'#Z'#j"'#Z #: #T#q)(#j(#<(#='#@&'#j'#<'#='#j"'#< #>"'#= #? #T#r'#I'#I #T#s)(#Z'#I"'#Z'#I"'#Z #: #T#t)(#<(#='#I"'#<"'#='#I"'#< #>"'#= #? #T#'#"'#e ##['#I"'#e #f"'#g #h#c'#"'#P #Q"'#&'#e'#e #R#4)(#j'#j'#j #T#\)(#j(#Z'#j'#j"'#Z #: #T"'#Z #:#])(#j(#<(#='#j'#j"'#< #>"'#= #? #T"'#< #>"'#= #?#^)(#j'#9&'#j'#j #O#_)(#j(#Z'#;&'#j'#Z'#j"'#Z #: #O#`)(#j(#<(#='#@&'#j'#<'#='#j"'#< #>"'#= #? #O#('#"'#e #f"'#g #h#q'#I'#I #T#a'#2"'# #'#I #T#b'#2"'# #'#I"'#2 #3 #T#'#I"'# #+3y3z3{3|3}3~4 4,4K74j844444C559U5KU5]^5Ug5l5m6n6lo6p6q7Yr7s7t858W[8c848\9D]9^9_:7`:(:q:a;$b;c"'# #A"'#B #C"'# #e"'#e #f"'#g #h'#I#"'#e #f"'#g #h'#I#)(#j"'# #A"'#B #C"'# #e'#j #T'#j#)(#j(#Z"'# #A"'#B #C"'# #e'#j"'#Z #: #T"'#Z #:'#j#)(#j(#<(#="'# #A"'#B #C"'# #e'#j"'#< #>"'#= #? #T"'#< #>"'#= #?'#j#)(#j"'# #A"'#B #C"'# #e'#j #T'#9&'#j#)(#j(#Z"'# #A"'#B #C"'# #e'#j"'#Z #: #T'#;&'#j'#Z#)(#j(#<(#="'# #A"'#B #C"'# #e'#j"'#< #>"'#= #? #T'#@&'#j'#<'#=#"'# #A"'#B #C"'# #e"'#e #f"'#g #h'##"'# #A"'#B #C"'# #e'#I #T'#I#"'# #A"'#B #C"'# #e"'# #"'#I #O'#2#"'# #A"'#B #C"'# #e"'# #'#I"'#2 #3 #O'#2#"'# #A"'#B #C"'# #e"'# #'#I#"'# #'#I#"'# #A"'#B #C"'# #e"'#P #Q"'#&'#e'#e #R'## '#*#, -##y'#U#z'#V#{'#W#|'#X#}'#Y#~'#Z#'#T&'#K#'#T&'#L#7'#T&'#M#8'#T&'#N#'#T&'#O#'#T&'#S#'#T&'#D#C'#*#'#&'#e'#e@+*#@+'#B*##'#B#'#B#g'##l'#I'#I #T#m)(#Z'#I'#I"'#Z #: #T"'#Z #:#n)(#<(#='#I'#I"'#< #>"'#= #? #T"'#< #>"'#= #?#o)(#j'#9&'#j'#j #T#p)(#j(#Z'#;&'#j'#Z'#j"'#Z #: #T#q)(#j(#<(#='#@&'#j'#<'#='#j"'#< #>"'#= #? #T#r'#I'#I #T#s)(#Z'#I"'#Z'#I"'#Z #: #T#t)(#<(#='#I"'#<"'#='#I"'#< #>"'#= #? #T#'#"'#e ##['#I"'#e #f"'#g #h#c'#"'#P #Q"'#&'#e'#e #R#4)(#j'#j'#j #T#\)(#j(#Z'#j'#j"'#Z #: #T"'#Z #:#<$Ņ$2#])(#j(#<(#='#j'#j"'#< #>"'#= #? #T"'#< #>"'#= #?#^)(#j'#9&'#j'#j #T#_)(#j(#Z'#;&'#j'#Z'#j"'#Z #: #T#`)(#j(#<(#='#@&'#j'#<'#='#j"'#< #>"'#= #? #T#('#"'#e #f"'#g #h#q'#I'#I #T#a'#2"'# #'#I #T#b'#2"'# #'#I"'#2 #3 #T#'#I"'# #,Bi^BwUyBUzBU{BU|BU}BU~BUBUCU7C1U8CKUCeUCUCUCCUCCCUDUDUgD)lDMmDnDoE/pE~qErFsF[tFF[GcGU4G\G]HP^H_H`I=(IlqIaIbJ%+'#**#f'#)(#j'#j #"'#&'#e'#e #R"'#P #"'#6 #V$#'#j#)(#j'#j #'#I"'#e #f"'#g # #"'#&'#e'#e #R"'#P #'#j##$DE)(#j'#j #"'#&'#e'#e #R"'#P #Q'#j# 2797; -7@JDEFoGHgIJr7K7L 7Mc7N7O 7SlTUCZVW#:XYZsPFd  B$%+,w01**23m;<==H=>>? ?@@m@AAAABSJ"KX%fK{KL -So)qv tL  @##$ !#$!# #,# $ $'#/#+'#*#W# #W#<$=>#'#O%WO;^O\#@+'# *#C@+'# *# +'#*# -+'#*# +'#*# #'##$ # # # ##{'##'#~&'#?#V$#'#~&'#?#'#~&'#?"'#? ##)(#Z'#~&'#'#I"'#Z #W #"'#Z #W"'#6 #"'#6 #"'# #"'# #"'# #$##'#~&'# "'#? #k"'#1&'# #""#W"'#6 #"'# #"'# #"'#6 #"'#6 #"'#&'#'# #"'#? #V$#"'#? #"'#6 #"'# #$##$'#"'# ##'#I"'# ##&'#I"'# ##'#I"'# #"'#e ##'#I"'# ##'#I"'#6 ##'#I"'# ###'#I"'# #"'#e #"'# ##C#'#I"'# #C#'#I"'# #C#'#OCOOOOPUP#^PQU{PcUPUPPQ}R$RR&RS$SESeSSSTU'## #'#I"'#e #W!#'#6""#2"#'# #TUUU'#&'##$#"'# #$^%##"'# #&#'#&'#'#I""#W #"'#6 #'#I #"'#6 #'#'#I(#'#)Ua^UUVVU#*#"'#6 #"'# #$^+"#'#I"'#6 #,#'#I-#'#.VY^VVVVU'##/+'#*#0+'#g*#h1#"'# #"'# #2#'#3WWhW,^WS##$ۋ4##_"'#1&'#, #5#'# 6W_WNOOpOT!TU-UCV(VKVVWgWW  @####X`^X5XRXmށ WXt  @##$$!###$$$$$"'#6 #"'# #W'#6#"'#e #'#e#"'# #W"'# #"'# #"'# #"'# #$^"'# #e"'#e #f"'#g #h'#I#XXY-YP  @###+'#*#+'# *#+'#*#!##"'# #!##f"'# #"'# #@+*###@+*###@+*###@+*### @+*#OOHZ -@+*#OOH} @+*#OOH} @+*#OOH} @#'#"'# #@#"'# ##'#6#'#Z+ZAZVZlZfZZZ[[[5[P[k[[[[7'#~&'#"'# #<"'#&'#'# #T#"'# #<"'# #'#I#"'# #"'# #'#I#"'# #"'# #'#I#"'# #<'##"'# #<"'# ##ZZ[\j7\\] -]9]\  @###@+*#@#"'# # # '## -'## '#]]^^U ^( -^O ' #6#$@#'##<$=>O ' #6#$``a a-ao]]^N^r ^ ^__` ``a  @###+'# *#+'# *#+'#?*## ##'#b7bLbabw^b#D# '#~&'#D#!'#~&'#"'#6 #""'#6 ##@#$'#"'# # b b!c-$"'# #'#I#% -"'# #"'#6 #""'#6 ##'#I#& '# #' '# #( "'# #'##)b b)bbcNcd%c&c'c(c)  @##%+'#6*#*' #6#$+,<)(#Z'#Z#-7'#~#.#/ @+'# *#0 @+'# *#1 -@+'# *#I +'# *#2+'# *#"#/#8 #2 # @#3'#/"'# # -@#4'#/"'# # @#C'#/"'# # d0d1eIe2e-eB8ec3e4eC#5 @#6'#I"'# #"'# #7"'#/ #8@#9'#I@#:'#I"'# #"'# #7@#;)(#Z'#Z"'# #"'#-&'#Z #8"'# #7"'#/ #8P#'# @+'#1&'#<*#=f6fV9fi:f;fUg=#> #>"'#> #C"'# #?!#>#@"'# #A"'# #?#B'#I"'# #"'# #7#B'#I"'# #"'# #7#5'#I"'# #7#C'# @+'#*#D$E?+'#>*#F+'#*#G+'# *#H+'#1&'#I*#= g^^g@gBgBh5h9ChLDhgFh}GhHh=#I +'#*#J!+'#*#"+'# *#H#"#I#8 # #H$#'#I"'# #7%#K'#I"'# #7&i$Ji:iPHie8iiK#<'+'#*#J(+'#*#)+'#*#L*+'#/*#M+"#<#8 #,#N'#I-#5'#I. #8'#I"'#/ #T/jJjj-LjCMjY8jqNj5jV8"'# #7'##O0'#6#P#<$Ņ$QR1'# #S2'# #T3"'# #A"'# #U"'# #J"'# #"'# #V'#I#W4"'# #J"'# #"'# #X"'# #"'# #V'#I#Y5"'# #J"'# #"'# #V'#I#Z6dKdh%*d-d7.d/ef5g$gP>hiIii<jjOkPk=SkRTkgWkYlZ[6Y]ad lL  @##\$$$]^$_`$$ab$cd)(#Z'#e'# #f%+'#g&'#*#h)(#Z'#e '#e#g#<$=>#g#i"'# #j#k)(#Z'#6'#g&'#l&'#Z"'#6 #m$nZ#T"'#e #o#p'# #s'#g&'#Z"'# ##y)(#q'#e'#g&'#q #'#6"'#e #2 -#'# mimkn(Upn9snbynnU)(#Z'#e '#e#r #r"'# #s"'# #t"'# #u"'# #v"'# #w'#x&'#Z >#r#|"'#1&'# #y'#x&'#Z#|o^ov|)(#Z'#e'#r&'#Z#x+'# *#s+'# *#t+'# *#u+'# *#v+'# *#w+'#1&'# *#y #x #s #t #u #v #w2#y1+#x#| #y2#s12#t12#u12#v12#w1osotpup%vp:wpOypk^p|)(#z'#6'#g&'#l&'#z#{#|)(#}'#6#m$~z'#}qZ|'#g&'###J'# #J'#I"'# #J#'# "'# ##5'#I"'# #"'# #J#'#"'# #qUJqVJqq5r$'#g&'## #J'# !#J'#I"'# #J"#'# "'# ###5'#I"'# #"'# #J$#'#"'# #%r}UJrVJrr5r'#g&'##&#J'# '#J'#I"'# #J(#'# "'# #)#5'#I"'# #"'# #J*#'#"'# #+sOUJs_VJs}s5s'#g&'##,#J'# -#J'#I"'# #J.#'# "'# #/#5'#I"'# #"'# #J0#'#"'# #1t!UJt1VJtOto5t'#g&'##2#J'# 3#J'#I"'# #J4#'# "'# #5#5'#I"'# #"'# #J6#'# "'# #7tUJuVJu!uA5ul'#g&'##8#J'# 9#J'#I"'# #J:#'# "'# #;#5'#I"'# #"'# #J<#'#"'# #=uUJuVJuv5v>'#g&'##>#J'# ?#J'#I"'# #J@#'# "'# #A#5'#I"'# #"'# #JB#'#"'# #CvUJvVJvv5w'#g&'##D#J'# E#J'#I"'# #JF#'# "'# #G#5'#I"'# #"'# #JH#'#"'# #IwiUJwyVJww5w'#g&'##J#J'# K#J'#I"'# #JL#'# "'# #M#5'#I"'# #"'# #JNx;UJxKVJxix5'#g&'##O#J'#4P#J'#I"'#4 #JQ#'#4"'# #R#5'#I"'# #"'#4 #JS#'##"'# #TxUJxVJyy55y`'#g&'##U#J'#4V#J'#I"'#4 #JW#'#4"'# #X#5'#I"'# #"'#4 #JY#'#%"'# #ZyUJyVJyz5z2'#r&'##[#'# "'# #\#5'#I"'# #"'# #J]zz5'#r&'##^#'# "'# #_#5'#I"'# #"'# #J`z{5'#r&'##a#'# "'# #b#5'#I"'# #"'# #Jc{o{5'#r&'##d#'# "'# #e#5'#I"'# #"'# #Jf{|5'#r&'##g#'# "'# #h#5'#I"'# #"'# #Ji|S|s5'#r&'##j#'# "'# #k#5'#I"'# #"'# #Jl||5'#r&'##m#'# "'# #n#5'#I"'# #"'# #Jo}7}W5'#r&'##p#'# "'# #q#5'#I"'# #"'# #Jr}}5'#r&'##s#'# "'# #t#5'#I"'# #"'# #Ju~~;5'#r&'##v#'#4"'# #w#5'#I"'# #"'#4 #Jx~~5'#r&'##y#'#4"'# #z#5'#I"'# #"'#4 #J{~5)(#Z'#e'#g&'#g&'#Z#|#J'#g&'#Z}#J'#I"'#g&'#Z #J~#'#g&'#Z"'# ##5'#I"'# #"'#g&'#Z #JUJVJ5)(#Z'#'#g&'#Z## '#Z#'#Z"'# #gU z)(#Z'#e'#r&'#g&'#Z##'#g&'#Z"'# ##5'#I"'# #"'#g&'#Z #J5)(#Z'#'#r&'#Z##'#Z"'# #o)(#Z'#e'#r&'#r&'#Z##'#r&'#Z"'# ##5'#I"'# #"'#r&'#Z #J5'###'# GU '##'#"'#"'#g&'####'# #'# #'#g&'#l&'#"'#"'#g&'##'#g&'#l&'#"'#g&'#"'#g&'#l&'#"'##'#g&'#l&'#"'##'#g&'#UUU#UUUl%m?fmb%hmgnnrooxpq,{qqrCress7st ttuuv]vw/wQxx#xxyyzQzszz{H{W{{|,|;||}}}}}~~f~u~~JY%@9H'6Yawx  @##\#e -#e^ '#e# '#e# -#^ '#e# -#!^ '## -#J^ '##  -# -s^ '##  -# ^ '##  -#^ '## -#^ '## -#^ '## -#@^ '## -#i^ '## -#^ '## -#^ '## -#^ '#e## '#e#)(#Z'#6 '#e#l#e .5W^$+MTv}*+lU  @##\# ##8#)(#Z'#e'#g&'#Z"'# #"'# ##'#I"'#g #L8['###s)(#Z'#e'#g&'#Z"'# #%s!>!  @##\#m -#m"'# #o^# -#^%+*#'#Dam%  @##\#######"'# #D#)(#Z'#e'#g&'#Z"'# ##'#6"'#e #2#'# #'#g&'#,<YUU'###)(#Z'#6(#'#6'#"'# # Z  @##\ '#e#+'#e*##<$=>#"## #^#+'# *# -# #/^} ÉV)bT  @##%+*#$Ќ%+*#$ӌ%+*#$֌%+*#$ٌ%+*#$܅I%+*#$ތ%+*#$%+*#$%+*#$%+*#$ %+*#$ -%+*#$ %+*#$ %+*#$ %+*#$%+*#$%+*#$%+*#$%+*#$%+*#$ %+*# -$ %+*# $%+*#$%+*#$  -# -# -# -# -# -# -# -# -#! -#" -# # -#!$ -#"% -##& -#$' -#%( -#&) -#'* -#(+ -#), -#*- -#+. -#,/ -#-0#.  -#/2 -#03 -#14 -#25 -#36#41#57@+'#*#68@+'#*#79@+'#*#8:@+'#*#9;@+'#*#:<6789:%%%%%%)%>%S%h%}%%%%%%%%%%:%O% -d% y%% .S 4~5;#  @##<!#.##$=>!#?#@#A$BC!#D#E$FG!#H$IJ#K%+'#L*#%+'#M*#N%+'#L*#%+'#M*#O#L +*#P -#L #P #'#"'# # P^ '#L#Q #Q" #P#'#"'# #_^s#M+*#P+'#6*#R+'# *#S+'#&'#'#*#T#M #P #R#U'#&'#'##V'# #'#"'# #PRST^-UOUV_" #W'#1#X#<$YZ"'# #'##["'# #"'##\ wK%%N%%OL4JQMX[\]+  @##^#_z"#_#8@+'# *##`@+'#*#a#b@+'# *#c#d@+'#*#e#f@+'# *#g#h@+'#*#i#j@+'# *#k#l@+'#*#m#n @+'# *#o#p -@+'#*#q#r @+'# *#s#t @+'#*#u#v @+'# *#w#x@+'#*#y#z@+'# *#{#|@+'#*#}#~@+'# *##@+'#*##@+'# *##@+'#*##@+'# *##@+'#*##@+'# *##@+'#*##@+'# *##@+'#*##@+'# *##@+'#*##@+'# *##@+'#*##@+'# *## @+'#*##!@+'# *##"@+'#*###@+'# *##$@+'#*##%@+'# *##&@+'#*##'@+'# *##(@+'#*##)@+'# *#*@+'#*#LN^M#N^+@+'# *#,@+'#*#LN^M#N^-@#'#6"'# #.@#'# "'# #/@#'#6"'# #0@+'# *##1@+'# *# 2@+'#*#$3@+'# *# 4@+'#*#$ v5@+'# *#!6@+'#*#$7@+'# *#h#8@+'#*#j$9@+'# *#$:@+'#*#$Í;@+'# *#%<@+'#*#$DŽm=@+'# *#&>@+'#*#$ȁ?@+'# *#'@@+'#*#$ˍA@+'# *#(B@+'#*#$C@+'# *#)D@+'#*#$E@+'# *#t*F@+'#*#v$pG@+'# *#+H@+'#*#$0I@+'# *#`,J@+'#*#b$эK@+'# *#-L@+'#*#$oM@+'# *#.N@+'#*#$׍O@+'# *#|/P@+'#*#~$qQ@+'# *#0R@+'# *#9S@+'# *#:T@+'#*#$܃|U@+'# *#d;V@+'#*#f$ݍW@+'# *#<X@+'#*#$߄sY@+'# *#"=Z@+'#*#$[@+'# *#>\@+'#*#$u]@+'# *#x?^@+'#*#z$_@+'# *#l@`@+'#*#n$a@+'# *#Ab@+'# *#Zc@+'# *#[d@+'#*#$e@+'# *#\f@+'#*#$g@+'# *#]h@+'#*#$i@+'# *#^j@+'#*#$k@+'# *#_l@+'#*#$8m@+'# *#`n@+'#*#$o@+'# *#ap@+'# *#zq@+'# *#{r@+'#*#$s@+'# *#|t@+'#*#$u@+'# *#}v@+'#*#$w@+'# *#p~x@+'#*#r$ry@#'#Izz8ace4gLiek}moqsuwy){A}Zr6Og+D\u5Ts!h8jSj2Mdtv`b*D[v|~df9Pk"xzln3Jax)@Zq5Ppgr_x`  @#! ###?# #@# -#A# # # #$BC!##H##$IJ!#[$!#4#.#5####$=>$#D+'#e*##<$+'#e*##<$@#'#I"'# #"'#e #@#'#I"'# #"'#e # @#'#6"'# #"'#e ##<$ -@#!'#6"'# #"'#e ##<$ #"'#"'#e ## #/'#"'#e #$ #%'#"'#e #$+'#e*#&#<$@#''#e"'# #@#('#I"'# #"'#e #)@#*'#"'#e #+"'# #@#,'#"'#e #+"'# #+'#e*#-+'#e*#.+'#e*#/+'#e*#0#<$@#1'#e"'# #@#2'#I"'# #"'#e #J+'#e*#3@#4'#5"'# #@#6'#I"'# #"'#5 #X+'#e*#7@#8'# "'# #@#9'#I"'# #"'# #:@+'# *#; @+'# *#<!@+'# *#="@+'# *#>#@+'# *#?$@+'# *#@%@+'# *#A&@+'# *#B'@+'# *#C (@+'# *#D -)@+'# *#E *@+'# *#F +@+'# *#G ,@#H'#6"'# #-+'#e*#I.@#J'#e"'# #/@#K'#I"'# #"'#e #J0+'#e*#L1@#M'#e"'# #2@#N'#I"'# #"'#e #J3@#O'#"'# #4@#P'#H"'# #5@#Q'#"'# #6@#R'#H"'# #7@#S'#"'# #8@#T'#"'# #9@#U'#"'# #:@#V'#"'# #;@#W'#X"'# #<@#Y'#"'# #=@#Z'#H"'# #>@#['# "'# #?+'#e*#\@@#]'#e"'# #A@#^'#I"'# #"'#e #JB+'#e*#_C@#`'#e"'# #D@#a'#I"'# #"'#e #JE@#'#F+'#e*#bG@#c'#"'# #H@#d'#I"'# #"'# #yID'Jm!;"\/}%&'(*=,k-./012334T6789;<=(>??V@mABCDEFGH.IDJeKLMNOP6QWRxSTUVWY>Z_[\]^_`aEYbocd#XJ -@#'#XK+'#e*#eL@#f'#H"'#X #TM@#g'#I"'#X #T"'#e #hN+'#e*#iO@#j'#H"'#X #TP@#k'#I"'#X #T"'#e #lQ+'#e*#HR@#m'#H"'#X #TS@#n'#I"'#X #T"'#e #KT -ef g:iPjqkHmn'#e#oU"'# #"'# ##'##pV"'# #"'# #I'##qW"'# #"'# #I'##rX"'# ##'##sY"'#e #J"'# ##'##tZ"'# #u"'# #v'##w#<$YZ["'#e #+"'# #"'#e #?"'# #x'##y\"'#e #+"'#e #z"'#e #?"'# #x'#e#{]"'#e #+"'#e #|"'#e #?"'# #x'#e#}^"'#e #+"'#X #~"'#e #?"'# #x'#X#_"'#e #'#6#`"'#e #'#6#a"'#e #"'#e #'#e##<$YZb"'#e #'##c"'#e #"'# #'##d"'#e #'##e"'#e #'##f"'#e #'##g"'#e #'##h"'#e #J'##i"'#e #J"'#e #'###<$YZj"'#e #'##k"'# #'##l"'#e #'#>#m"'# #'#>#n"'# ##'#>#o'#>#5p+'#*#q#5 #r#'##^s*@^V"'#e #'#6#t"'# #"'#e #"'#e #'#6##<$YZu"'# #'#e#v"'#e #'#6#w"'# #'#6#x"'#e #'#6#y"'#e #'#6#z"'#e #'#6#{"'#e #'#e#|"'#e #'#e#}"'#e #"'# #'#I#~"'# #X"'# #"'# #"'# #'##"'# #W# '##+'#*#P# #P@#'#"'#e #"'# #"'# ##'##^P^ '#'#'#####"'# #W0##" #"'# #X#W'##^yUW"'#e #'#6#"'#e #'#e#"'#e #'#6#"'#e #'#e#"'#e #'#6#"'#e #'#6#"'# #'#6#"'# #'#6#"'#e #'#4#"'# #'#4#"'# #'#4#"'#e #'#6#"'#e #'# #"'# #'# #"'# #'# #"'#e #'#6#"'#e #'##"'# #'##"'# #'##"'#e #'#6#"'#e #'##"'# #'##"'# #'##"'#e #"'#1&'# #'##"'# #"'#1&'# #"'#e #1'##"'# #"'#1&'# #'##"'# #'##"'#e #'##"'#X #T'##"'# #'###B ##8@#'#e#<$YZ@#6'#e"'#e #+@#7'#e"'#e #+@#8'#e"'#e #+@#9'#e"'#e #+@#'#e"'#e #+"'# #@#'#e"'#e #+"'# #@#'#"'#e #+"'# #@#'#e"'#e #+"'# #@#'#I"'#e #+"'#e #@#'#I"'#e #+"'#e #I@#'#I"'#e #+"'#e #@#:'#H"'#e #+@#'#"'#e #+"'# ##"'#6 #@#'#"'#e #+"'# #"'# ##@#'#"'#e #+"'# #"'# #@#'#"'#e #+"'# #"'# #@#'#"'#e #+"'# #"'# #@#'#"'#e #+"'#e #"'# ##"'#6 #@#'#"'#e #+"'# #@#'#"'#e #+"'# #"'# #@#'#"'# #"'# #@#'#"'# #"'# #"'# #@#'#"'# #"'# #"'# #"'# #@#'#"'# #"'# #"'# #"'# #"'# #@#'#@#'#@#'#@#'#@#'#@#'#"'# #@#'#"'# #@#'#"'# #@#'#"'# #@#'#"'#e #+@#'#"'#e #+@#'#"'#e #+@#'#"'#e #+@#'#"'#e #+@#'#"'#e #+"'# #:"'# #@#'#"'#e #+"'# #:"'# #@#'#"'#e #+"'# #"'#6 #@#'#"'#e #+"'# #"'# #"'#6 #@#'#"'#e #+"'# #"'#6 #@#'#"'#e #+"'# #"'# #"'#6 #@#'#"'#e #+"'# #"'#6 #@#'#"'#e #+"'# #"'# #"'#6 #@#'#"'#e #+"'# #@#'#"'#e #+"'# #"'# #@#'#"'#e #7@#'#"'#e #7@#'#"'# #"'#e #7@# '#"'#e #+"'# #"'#e #7@# -'#"'#e #+"'# #"'#e #?"'# #@# '#"'#e #+"'# #@@# '#"'# #@"'#e #7@# '#"'#e #+"'# #@"'#e #7@#'#"'#e #+"'# #@"'#e #7"'# #@#'#"'# #"'#X #T@#'#"'#X #T@#'#"'#e #+"'# #"'#X #T@#'#"'#e #+"'# #"'#X #T"'# #@#'#"'# #"'#e #@#'#"'#e #+"'# #"'#e #"'#6 #@#'#"'#e #+"'# #"'#e #"'# #"'#6 #Bp86789*YBp: E½4pß$zďĤĹ'IjŌŮOƊ HǐA|Ȟ + -t ɣ  Wʆʨ-\ˤ# ##8@#'#e"'#e #+"'#e #"'# ##"'#6 ##<$YZ@#+'#e"'#e #@#'#"'#e #@##'#"'#e #@#'#e"'#e #@#'# "'#e #@#'#I"'#e #"'# #@#'#6"'#e #@#'# "'# #y"'# #,@#'#I"'#e #"'#e #J@#'#e"'#e #@#i'#"'#e #@# '#I"'#e #"'#e #@#!'# "'# #,"'# #""'# #"'#e #@##'# "'#e #"'# #B"'# #"'#e #"'#6 #$@#%'#I"'#e #"'#e #@+'# *#&OO@+'# *#'OO@#('#I"'#e #"'#e #@#)'#I"'#e #"'#e #@#*'#I"'#e #"'#e #@#+'#I"'#e #"'#e #@#,'#H"'#e #"'#e #@#-'#H"'#e #"'#e #@#c'#"'#e #+"'# #"'#e #.@#/'#I"'#e #+"'# #"'#e #0@#1'#I"'#e #+"'# #"'#e #0@#2'#"'#e #+"'# #"'# #@#3'#"'#e #+"'#e #. 8;+]#Ρ2^ϋϭi !C#Е%&'(%)S*с+ѯ,- cI/҄1ҿ23#4 - #4#8 @#5'#"'#e #6"'# #7 @#8'#H"'#e #6"'# #9  85K8#:@+'# *#;@+'# *#<@+'# *#=@+'# *#>Ԟ;Զ<=>"'#e #+"'# #y"'# #?'#6#@"'#e #+"'# #y"'#e #A"'# #?"'#e #B'#6#C"'#e #+"'# #y"'#e #A"'# #?"'#e #B'#6#D"'#e #+"'# #y"'#e #A"'# #?"'#e #B'#6#E"'# #?'#6#F"'# #?'#6#G#<$HI"'# #?'#6#J"'# #?'#6#K"'# #?'#6#L"'# #?'#6#M"'# #?'#6#N"'# #?'#6#O"'# #?'#6#P"'# #?'#6#Q #R!@#S'#6"'#e #c"@#T'#4"'#e #c#@#U'# "'#e #c$@#V'#"'#e #c%@#W'#"'#e #c&@#X'#"'#e #y'@#Y'#"'#e #y(@#Z'#6"'#e #c)@#['#6"'#e #c*@#\'#6"'#e #c"'#e #+@#]'#6"'#e #y"'#e #?,@#^'#6"'#e #y"'#e #?-@#_'#6"'# #"'# #`.@#a'#H"'#e #c/@#b'#I"'#e #c"'#e #20@#c'#6"'#e #c1@#d'# "'#e #2@#e'#e"'#e #"'# #,3@#f'#I"'#e #"'# #,"'#e #J4@#g'#H"'#e #5@#h'#H"'#e #"'# #6@#i'#H"'#e #j"'#e #k7@#l'#I"'#e #"'#e #J8@#'#"'# #y"'# #B"'# #C9@#m'#6"'# #"'# #:@#n'#e"'#e #o"'#e #;@#p'#I"'#e #o"'#e #"'#e #J<STU:V\W~X؟YZ[\0]]^ي_ٶabc&dGeufڮghi-lZۑmۿnp"'# #'##q="'# #'##r>"'# #'##s?'#e#t@"'#e #+"'#e #'#I#uA"'#e #+"'#e #'#I#vB"'#e #+"'# #w"'# #x'#6#yC"'#e #+"'# ##'##zD"'#e #+"'# ##"'# #'#I#{E"'#e #+"'# #"'# ##'##|F"'#e #+"'# #"'# #7'##}G{iXLobpqrstEwy{}]'Jz)f5q7Y{4~8U2Uy(KnAeP=a)4zԏ:@[CձDE]FրGְJKLM<N_OׂPץQR(q -r.sRtiuݙvyz7{t|޲}"  @#~!#.#4$=>!#$)(#Z"'# #"'# #" #" #>" #?" #" #" #" #" #" #" #" #" #" #" #" #" #" #" #" #" #'#Z#?"'#6 #8#"'#6 #8# " #'#I#"'#> #X#" ##'#e## "'#. #'##A -"'# #"'# ##@ "'# #"'#4 #" #" #>" #?" #" #" #" #" #" #" #" #" ## "'# #'#6# - )(#Z'## )(#Z'##"'#6 #'#I##+'#*# -# #q^"'# #"'# #'## )(#Z'#Z#"'# #J'#6#D?Da ~A@A  - #Ac ~  @#!########### -# #4#.###$=>$!# ##~$! ###?# ###@# -#A## # $BC$IJ$!#|#O#c##Z$$!#X#[#\$!##t####w#$ $$$$$$$׈# -"'# #'## "'# ##2#<$ "'# ##3#<$ #""#""#'#6#" #J'##]"'# #" #" #:" #7" #" #I#"'# #" #" #:" #7" #" #I#"'# #!'#I#"'# #"'# #'#I##<$YZ'##@+*#@+*#@+*#+*#+'#*#+'# *#7+'#1*#L+'#1*#+'# *## # # #7 #L # ##!'# #C'#6!#D'#6"#E'#6##F'#6$#?'#1&'#>%#"'#1&##'#&'#'#'+7@LUj^U!UCUDUEUFU?+U";U##('@#'# " #)@#'# "'# #"'# #j*@#'#4"'# #+@+'# *#$,@#'#"'#e ##<$YZ-@#'#"'#e #.@#'#6" #/@#'#"'#e #0@#'# 1@#'#I2@+'# *#3@+'# *#4@#'#5@#'#"'#1 #6@#'#" #7@#'#" #8@#'#"'# #"'# #B"'# #C9@#'#" #:@#'#"'# #"'# #;@#'#"'# #"<@#'#"'# #=@#'# "'# #>@#'# " #" #" #" #" #" #" #" #?@#"'# #@@#"'# ##<$#<$#<$YZA@#"'# ##<$#<$#<$YZB@#"'# ##<$#<$#<$YZC@#"'# ##<$#<$#<$YZD@#"'# ##<$#<$#<$YZE@#"'# ##<$#<$#<$YZF@#"'# ##<$#<$#<$YZG@#"'# ##<$#<$#<$YZH@#" #"I@#" #" #J@#'#I" #" #" #JK@#" #8"'#1 #""'#&'#'# ##L@#"'#6 #8"'#1 #""'#&'#'# ##M@#"'#6 #8"'#1 #""'#&'#'# ##N@#'#g"'# #fO' 5Ul 1Ma 7XyAI$@g'#DP@#Q@#" #o"'# #R@#'#I" #o"'# #" #JSky" ###<$YZT" #" ###<$YZU" # " #'###<$YZV" #B" #C" #'###<$YZW" #" #" #B#X" #'###<$YZY" ##Z" #J'###<$YZ[" #J'# #\" #J'#6#]" #J'##^" ###<$YZ_#`" ##a" #W#b" #" ###<$YZc" ###<$YZd# e+'#*# -f+'# *#Lg+'# *# h+'# *# i+'# *# j+'# *#k@+'# *#l@+'# *#m@+'# *#n@+'# *#o@+'# *#p@+'# *#q@+'# *#r@+'# *#s@+'# *#t@+'# *#u#  #L #  #  #  # # -v#" #Ww@#x@#y@#"'# #Wz@#'#" #{@#'#|@# '#}@#!'#" #~@#"'#@##'#2 -HL] r   5Kaw^7K _!z"# '#'##$+'#*#P+'#*# #$ #P" ##'#P ^ '#'##%+'#*#P+'#*# +'#*##% #P" ##'#+PB Yp^ '##&+'#*#P#& #P#'#P^ '#/#'+'#*#(#' #(#'##^O(f^}#)+'#*#*+'#g*#h#) #* #h*h^"'#e #'#e#+"'#e #"'#e #f'#e#,"'#e #'#e#-" #'##." #/'#g#0'#g#1+*#2+'#*#3#1 #2#'#23^.""#'# #" #4"'# ##5" #"'#f ##6""#"'# ##7""#'# #8"'#6 #"'# #9""#>""#?""#""##:" #"'# #;#<'#6#=@+*#>@+*#?@+*#@@+*#A@+*#B@+*#C@+'# *#D#=@#E" #"'#1 #F"'# #G""#H"'#6 #I"'#6 #J"'# #K@#L"'#e #"'#6 #I"'#6 #J@#M"'# #;"'#6 #N"'# #O" #8P#P'#6@#Q" #" #8"'#6 #J@#R"'# #;"'#6 #N"'# #" #8@#S" #" #8#'#>?@ABCD^ EzLMUPQ#R^S{" #" #F" #G" #H" #I" #J" ##T '#=#U '#U#V#'#v '#U#W+*#X+*#+*#+'#*##W #X # # ##'#6" #2#'# #@#Y"'#W #"'# ###<$HI@#Z"'#W #"'# ###<$HI@#["'#W ##<$YZ#<$HI@#\"'#W ##<$HI@#]"'#W ##<$YZ#<$HI@#^"'#W ##<$HI@+'#*#_@#`'#@+'#*#a@#b'#@#c'#"'# #R#<$YZ#<$X^%?UP_YZ[\*]`^_`abc""#d"'# #e'#6#f""#d"'# #e#g#h#i+'#*#I -#i #II.^#j+'#*#I -#j #IcIz^#k+'#*# -#k #^" #J'#6#l"'# #m'#I#n#<$YZ)(# '#o&'##p '##q#q#'#u^" #r'#6#s"'#e #W'#I#t" #r'#I#u#<$YZ" #(" #" #7" #v'#I#w"'# #x'#I#y '##z+*#W#z #W#'#{W^ '#'##{+'#*##{ ##'#^ '#'##|+'#*#P#| #P#'#cPz^'# #}"'# #'##~"'# #'##7'#~&'#`#"'# #m'##%+'#&'#'#~&'#`*#%+'#f&'#*#%+'#1&'#*#7'#I#%+'#*#"'# #m'#~&'#`#%+'#*#'##%+'#*#'##'#6#%+'#*#'##'##"'# #'#~&'#`#"'#e #'#1&'##  '## -#"'#e #W #'#  <^ W '## ##'# ^ '###<$YZ" #'#I#" #" #'#I#"'#1&'# #'#I#%+'#*#;##$<$'### -# ^%+*#'#"'#e #J'#6#"'# #'#I#"'#6 #T'#6##<$ "'#e #J'#I#"'#1&'#e #'#I#m:2c3][}ZH]D-^!<Ws$ p$ %&"8') #+G,x-.01Ca~5678 :O<s=TIU_`VWfghiETjkln8p^_qstuwByez{/E|}~ 7 5 Y% % % 7 %  -% -/ -F% -] -t -% - - - - & l z     & P%    %    M o  @##+'#*# -# #3I^# -#|^%+'#*#'# -%_n%  @#)(#(# '#&'#'#'#&'#'###"'#&'#'# #@7^)(#(#'#&'#'##0##Q"'# #2*##8#y)(#(#'#&'#'##g'#6#h'#6#'#@#R'# #5'#I"'# #"'# # -#'#"'# #'# # #'#"'#e # #'#I #'#I"'#&'#'# #2#'#X&'#&'#'##'#I"'#X&'#&'#'# ##)(#(#'#&'#'#'#&'#'#"'# #"'# #J ##'#"'# #'#"'# #J #'# ##'#I'#"'# #"'# #J ##'#I'#6"'# #"'# #J #VQ8yUgUh'R;5hU"XO)(#(# '#&'#'## +##8 #2 # #E#8+'# *#2+*#+'#1&'#*##'# #'#1&'##'#6"'#e ##'#6"'#e ##'#"'#e ##" ##Z'#I'#I"'# #"'# #J #T #'#X&'#!#'#X&'#" :8j2UU4IZUU)(#(# '#&'#'######8" #" #d" # #$+'#*#%#'#6"'#e #&#" #'E8q)(# '#X&'##(+'#&'#'#*#)# #*#Q'#R&'#+#'# ,"^8UQQU)(#(# '#&'#'##- -# #.+*#/#'#&'#'#0#'#6"'#e #1#'#6"'#e #2#'#"'#e #3#Z'#I'#I"'# #"'# #J #T4#'#X&'#5#'#X&'#6#'# 7 -^5VZUUU_f `|  @# '#=#+'#=*## ##'#1#'#^U)(#< '###"'#= #T#'#1^4U)(#<(#= '###"'#= #T #'#1 -u^U)(#<(#=(# '## #"'#= #T #'#1 ^U)(#<(#=(#(# '###"'#= #T#'#1=^WU)(#<(#=(#(#(# '###"'#= #T#'#1^U)(#<(#=(#(#(#(# '###"'#= #T#'#1^7U)(#<(#=(#(#(#(#(# '###"'#= #T#'#1^U)(#<(#=(#(#(#(#(#(# '###"'#= #T#'#1^/U) (#<(#=(#(#(#(#(#(#(# '###"'#= #T#'#1^U) -(#<(#=(#(#(#(#(#(#(#(# '## #"'#= #T!#'#1" %^ ?U) (#<(#=(#(#(#(#(#(#(#(#(# '####"'#= #T$#'#1% ^ U) (#<(#=(#(#(#(#(#(#(#(#(#(# '##&#"'#= #T'#'#1(!M^!gU) (#<(#=(#(#(#(#(#(#(#(#(#(#(# '##)#"'#= #T*#'#1+!^"U)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(# '##,#"'#= #T-#'#1."^"U)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(# '##/#"'#= #T0#'#11#6^#PU)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(# '##2#"'#= #T3#'#14#^#U)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# '##5#"'#= #T6#'#17$^$U)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# '##8#"'#= #T9#'#1:%U^%oU)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# '##;#"'#= #T<#'#1=&^&0U)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# '##>#"'#= #T?#'#1@&^&U)(#<"'#= #T'##A)(#<(#="'#= #T'##B)(#<(#=(#"'#= #T'##C)(#<(#=(#(#"'#= #T'##D)(#<(#=(#(#(#"'#= #T'##E)(#<(#=(#(#(#(#"'#= #T'##F)(#<(#=(#(#(#(#(#"'#= #T'##G)(#<(#=(#(#(#(#(#(#"'#= #T'##H) (#<(#=(#(#(#(#(#(#(#"'#= #T'##I) -(#<(#=(#(#(#(#(#(#(#(#"'#= #T'##J) (#<(#=(#(#(#(#(#(#(#(#(#"'#= #T'##K) (#<(#=(#(#(#(#(#(#(#(#(#(#"'#= #T'##L) (#<(#=(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##M)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##N)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##O)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##P)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##Q)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##R)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##S)(#<(#=(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#"'#= #T'##T`){DRguGU?M O ]  !w!"""""#`#n$$$$%%&@&N'''@'q''(((q())p)*8*++,,- -.H  @#"'# #"'# #'#6#Y"'#1 #'# #d"'#1 #"'# ##"'#1 #"'# #""#J'#I#""#"'# #e#""#8""#"'# #e'#6#""#"'# #e""#J'#I#""#"'# ##%+'#6*#%+'#6*# %+'#6*# -""#('## " #'# # ""#("'# #e""#J'#I# " #('#6###" #'##%+*#%+*#"'# ##%+*# $r%+*# -$%+*# $o%+*# $0%+*# $p" #(##<$YZ" #(" ##" #(" ##" #(" ##" ##" #" #" ##" #" ## " #'##!%+*#"'#I##<$YZ#'#I##<$YZ$'#I#%" #" ##&%+*# '#$!"'%+*##'#$$%(%+*#&'#$'()%+*#)'#$*+*%+*#,'#$-.+%+*#/'#$01,%+*#2'#$34-%+*#5'#$34.%+*#6'#$78/0]00xY0d001#1G1w11%1%1%2 2)2E2t292922%2%23% 3% -3.% 3B% 3V% 3j333334$4B4_%4o4444% 5%#5(%&5I%)5j%,5%/5%25%55%6  @#"'#9 #:#;"'#9 #:#<"'#9 #:'# #='##9+'#*#+*#>+*#?+*#@#'##9"'# #"'#6 #"'#6 #"'#6 #"'#6 # #A -#B #C'#6 #D'#6 #E'#6#F'#6@#G"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'#6 #H#'#"'# ##'#6"'# ##'#"'# ##'#X&'#"'# #"'# #B#I'#"'# #"'# #B#J'#"'# #"'# #B#'#"'# #"'# #B#'#6#'#6#'#6#'#688>8+?8;@8K8_^8UA8UB8UC8UD8UE9UF9G9j999:I:1J:]:U:U:U:U'##K +'#*#+'#H*#L#K # #L#'# #B'# !#C'# "#'#"'# ###'#"'# #$#'# %#'#1&'#"'#1&'# #&#'#"'# #'#'#X&'#( ;;L;^;U;UB;UC< -<*+>%Q>:a>P^>xU{>I>>z"'#9 #S"'# #"'# #B'##T97x7;7<7=79:;zK<=M==O>?T  @#" #" #2" #(#U" #" #(#V" #" #(" #)#W" #" #2" #(#X"'# #" #'#1&'##Y'##Z  -#Z'# #B'# #'# ##C'# #'#"'# #[#'# #'#"'# #\ -#'#1&'#"'#1&'# #] +'# *#B +'#*# +'#*# @^@UC@@UA A)AWBAkA"'# #"'# #"'# #('#X&'##^ '#X&'##_+'#*#`+'#*# -+'# *#`#_ #` # - #`#Q'#R&'##m'#B8`BN -Bd`By^BUQBUm'#R&'##a+'#*#`+'#*# -+'# *#`+'#*#a#a #` # - #`#z'#6#{'#C`C, -CB`CWaCm^CzCU{" #" #2" #(#b"'# #" #c"'# #'##d "'# #'##e!" #" #:" #" #(#f"" ##g#" #" #" ##h$"'# #"'# #"'# #'##i%" #" #" #'##j&"'# #'##k'"'# #'##l(" #" #" #" ##m)" #" #" ##n*" #" #" #" ##o+" #" #" #"'# #(#p," #" #" #"'# #(#q-" #" ##r."'# #"'# #B"'# #C"'# #'##s/??U?V@W@'X@KY@|ZAA^B_BBaCCbDdDIeDlfDgDhDiEjE<kE_lEmEnEoEpF0qFarFs  @#%+*#t' #6#$uv)(#(# '#H&'#'#'#&'#'#'##w-+'# *#2+*#x+*#y+*#L+'#z*#n+'#z*#+'# *#{P#|'#6 #w -0#w#}#<$ #'# #g'#6 #h'#6#'#X&'##'#X&'##'#6"'#e ##~'#6"'#e ##'#6"'#e #J#'#I"'#&'#'# #2#'#"'#e ##'#"'#e ##5'#I"'# #"'# #J#'#I"'# #"'# #J#'#"'# #'# ##'#"'#e ##'#"'#e ##'#I#Z'#I'#I"'# #"'# #J ##'#I""#"'# #"'# #J#'#""#"'#e ##'#I #'#z"'# #"'# #J!#'#I"'#z #"@#'#6""##@#'#6""#$#'# ""#%#'#1&'#z""#""#&#'# ""#""#'#'#(#'#z""#""#)#'#1&'#z""#""#*#'#I""#""#""#J+#'#I""#""#,#'#6""#""#-#.-H2H-xH=yHMLH]nHsH{HU|H^H}HUHUgHUhIUI UI9IY~IyIIIJ5J3J_JJJJZK"KUK}KKKKLL+LTLuLLLLMM=)(#(# '#w&'#'##/#'#z""#""##^0#'#1&'#z""#""##^1#'#I""#""#""#J#^2#'#I""#""##^3#'#6""#""##^4##^5NNOODOlO#z6+'#*#7+'#*#8+'#z*#9+'#z*#:#z # #;OOPP$P:^)(# '#|&'##<+'#*#=# #>#'# ?#g'#6@#Q'#R&'#A#Y'#6"'#e #B#Z'#I'#I"'# # #TCPP^PUPUgPUQQ YQ)Z)(#'#R&'##D+'#*#E+'# *#{F+'#z*#G+'#*#aH# # #{I#{'#J#z'#6KQQ{QQaR^R&U{R7zGG%tGwMKNOOzPYPQYQRJ - .6?XFR  @ #!##$=>0##$0#$!#$!#^#9#############;#=#b#U##m#h#p#q#s#Y###Z#T#E$FG!##?##@## $BC!#$!##$ -$$$%+'#*#" ## " #" #J# -" #" #" #" ###<$YZ " ## " ## " ##" #'#6#" ##%+'#*##" ##" #" #'#I#%+*#" ##" #" #'#I##"'#> #X'# #"'#> #X#"'#> #X"'# ##"'#> #X## -##'#6" #2#'# #'#!#'#"'# # "#'#>#VJ^VWVpUVVVU '#'#6#$ -#%#'#&#'#6"'#6 #2'#'#6"'#6 #2(#'#6"'#6 #2)#'# *#'#>+W ^WW-WKWiWUWU '#'#`#, -#-#'#6" #2.#'#/#'# 0#'#>1#'#"'# # 2W^XXX0UX@UXQ)(##3#'# 4#'#"'# #5XUX)(# '#&'##o6#5"'# #"'# #J7Y5#8 '#'##9 -#:#'# ;#'#><#'#=Yn^Y{UYUY '##> -#?Y^ '##@ -#AZ -^ '#'#6#B -#C#'#DZ;^ZHRT%TT4TQTTTTTU%U9U%U<U_%UoUU9UUUVV<VVWWXrXXXoY:YBYPYQYYYYZZZ\  @## -#[^%+*#'#)(# '#'#1&'#'#&'##HW -#H0#H#" ##0#H#"'# #0#H#"'# #0#H#0#H#d"'# # 0#H#"'# # -0#H#" # 0#H#" # 0#H#" # @#)(#Z'#1&'#Z"'#1&'#Z #@#)(#Z'#1&'#Z"'#1 #@#'#6"'#H #@#'#6"'#H #@#'#6"'#H #@#'#6"'#H ##"'# ##"'# ##y)(#j'#1&'#j#'#I"'# #J#'#"'# ##'#I"'# #"'# #J#'#I"'# #"'#X&'# ##'#I"'# #"'#X&'# ##'##'#6"'#e ##'#I'#6"'# # #V#'#I'#6"'# # #V#'#I'#6"'# # #V"'#6 #3 #U'#X&'#'#6"'# # #T!#X)(#Z'#X&'#Z'#X&'#Z"'# # #T"#'#I"'#X&'# ###'#I"'#H #$#'#I%#Z'#I'#I"'# # #T&#)(#Z'#X&'#Z'#Z"'# # #T'#a'#"'# #$^(#i'#X&'#"'# #)#j'#X&'#'#6"'# #J #V*#k'#X&'#"'# #+#l'#X&'#'#6"'# #J #V,#['#'#"'# #_"'# # #\-#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\.#o'#"'#6"'# #V"'# #p/#q'#"'#6"'# #V"'# #p0#r'#"'#6"'# #V"'# #p1#s'#"'# #2#a'#1&'#"'# #B"'# #C3#'#X&'#"'# #B"'# #C4#m'#5#n'#6#'#7#'#I"'# #B"'# #C8#'#I"'# #B"'# #C"'#X&'# #"'# #9#'#I"'# #B"'# #C"'# #:#'#I"'# #B"'# #C"'#X&'# #;#b'#6'#6"'# # #V<#`'#6'#6"'# # #V=#'#X&'#>#'#I"'# "'#"'# #?@# '# " #" #@#'#I"'# #A#'# "'#e #"'# #BB#'# "'#e #"'# #(C#Y'#6"'#e #2D#g'#6E#h'#6F#'#G#c'#1&'#"'#6 #dH#'#1&'#I#'#1&'#J#e'#f&'#K#Q'#R&'#L#'# M#'# N #"'# #O#'#I"'# #P#'#"'# #Q#5'#I"'# #"'# #JR#'#&'# '#S#S'#X&'#"'#X&'# #2T#W)(#Z'#X&'#ZU#0'#1&'#"'#1&'# #2V#'# '#6"'# # #V"'# #BW#'# '#6"'# # #V"'# #BX #m'#I"'# #Y #n'#I"'# #ZW\^\\/\J\e\ud\\\\\]']V]v]]]]^ y^/^N^n^^___5_e__U` -X`T`|``Z`a!aaIiaqjakalb [bH]bobqc,rctscaccUmd -UndUd,dUddebeK`e{Uee effEftYfUgfUhffcfgg)egEUQg^UgnUg}Vggg5hh!ShQWhu0hhi Vmi@Vn)(# '#H&'#'#o&'##[)(# '#&'##\)(# '#&'##])(# '#H&'##^)(#'#R&'##_+'#H&'#*#[`+'# *#2a+'# *#`b+'#*#ac#"'#H&'# #d#{'#e#z'#6fl[l2l`lal^m U{mz[s[[[%[Hi`kkklll>l?ldlem/  @# '#'#4#7 -##w'# "'# ##|'#6#'#6#'#6#'#6#n'#"'# ##z'##<$YZ#y'# @+'# *#OOH -@+'# *#H #'#  #'#  #'# #'# #'# #'#4#'#4#'#4#'#4#{'#" #|" #}##'#"'# ##'#"'# ##'#"'# ##'#"'# #j@#'#"'# ##'##'# #o'##0'#"'# #2#o'#"'# #2 #q'#4"'# #2!#p'#"'# #2"#m'#"'# #2##'#6" #J$#l'# "'# #2%#'# "'# #2&#'# "'# #2'#o'#"'# #2(#'#"'# #2)#q'#"'# #2*#'#"'# #2+#'#"'# #2,#'#"'# #2-#;'#"'# #2.#'#"'# #2/#'#"'# #20#'#"'# #21#'#"'# #22#s'#6"'# #23#u'#6"'# #24#t'#6"'# #25#v'#6"'# #26#'#>77m^nwn"U|n2UnBUnRUnbnnznUynnnooo+o>oQodowoo{ooop p-pMpnpUpop0popqqpq mq@qYlqxqqoqqqrr6rVrv;rrrrsss5usTtssvsU '#'# #8 -#9#z'##^#<$YZ:#y'##^;#o'##^<#z'#6=#{'#6>#'# "'# #?#'# "'# #@#x'# A@#'# "'# #B#}'# "'# #"'# #C@#'# "'# #f"'# #g"'#6 #D#'# "'# #E#'# "'# #2F@#'# "'# #,G@#'# "'# #J"'# #H@#'# "'# #J"'# #I@#'# "'# #"'# #J@#'# "'# #,K#'#>L#r'# Mu;^uHzuoUyuouUzuU{uuuUxvv.}vYvvvvww>wiwUwr '#'#4#N -#O#'#>PxY^xfU '##Q '##R '##Smmsuwx=xwxxxxxx  @# '#'#'##) -##'# "'# ##<$YZ#'# "'# ##'#X&'#"'# #"'# #B#'#"'# #"'# #B#0'#"'# #2#'#6"'# #2#'#"'# #Q"'# ##'#"'# #Q"'#"'# # #'#"'# #Q"'#"'# #"'#"'# # -#'#"'# #Q"'# #"'# #( #'#"'# #Q'#"'# # #"'# #( #'#1&'#"'# # #'#"'# #B"'# #C"'# ##'#1&'#"'# ##'#6"'# #"'# ##'#"'# #("'# #)#'##'#@#'#6"'# #H@#'# "'# #"'# #@#'# "'# #"'# ##'##'##'##p'#"'# # # -'#"'# #"'# # $ v# '#"'# #"'# # $ v#''#1&'# #'##'# "'# #"'# #B#'# "'# #"'# #B #Y'#6"'# #2"'# #(!#g'#6"#h'#6##w'# "'# #2$#'#%#'# &#'#>'#'# (#'#"'# #))yL^yYyyyz0z-zLzzz{{[{{| -|2|c||||}}1}E}Y}mp} -} }U'~ U~~N~|Y~Ug~Uh~w~~UU U/yy)O Zjmdxk  @###!#=$!#0#$!###$IJ!##i#p#k##j##$FG!#?$BC$ -$'# ##$# -'# #k$#'#> # '# "'# #"'# # -#'#"'# #"'# # #'#"'# #"'# # #'#"'# #"'# # #'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ## '#!"'# #"'# ##"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #ZU -xU Iy 9 i"$&()* '#e-'#=&'#c'#&'#c'#'#+'##*##"'# #"## #!##"'#1&'#c ##'#>0##_"'#1&'#c ##.'# # -'# !#'# "#-'# ##'# $#'#c"'# #%#5'#I"'# #"'#c #J&#a'#'"'# #B"'# #C'^&?bUs_U.U -UU-U5)a '#e-'#=&'#d'#&'#d'#!#(+'#*#)#"'# #*###"'# #+!##"'#1&'#d #,#'#>-0##_"'#1&'#d #.#.'# /# -'# 0#'# 1#-'# 2#'# 3#'#d"'# #4#5'#I"'# #"'#d #J5#a'#!"'# #B"'# #C6^1TUe_U.U -UU-U5a '#e-'#=&'#e'#&'#e'#)# 7+'#%*#8# "'# #9"# # #:!# #"'#1&'#e #;0# #_"'#1&'#e #<#'#>=#.'# ># -'# ?#'# @#-'# A#'# B#'#e"'# #C#5'#I"'# #"'#e #JD#a'#)"'# #B"'# #CE^ C_eUvU.U -UU-U5 -a'#,# -#$ F#.'# #i$ #j$ G# -'# #k$H#'# #k$GI#-'# #k$J#'#I"'# #"'# #"'# #K#'#I"'# #"'# #"'# #LU.U -UU-9p" #'# #M" #." #" #'#I#N"'#1 #'#1#O '# -'#+##$P'#"'# #Q0##?"'# #."'# #"'# #R#'#>S#-'# T#Z'#4"'# #G"'#5 #N #5#9U#'#4"'# #G"'#6 ##k$Z#j$4V#\'#4"'# #G"'#5 #N #5#9W#'#4"'# #G"'#6 ##k$\#j$4X#M'# "'# #G"'#5 #N #5#9Y#'# "'# #G"'#6 ##k$ M#j$! Z#R'# "'# #G"'#5 #N #5#9[#"'# "'# #G"'#6 ##k$#R#j$! \#V'# "'# #G"'#5 #N #5#9]#F'# "'# #G^#P'# "'# #G"'#5 #N #5#9_#$'# "'# #G"'#6 ##k$%P#j$&`#T'# "'# #G"'#5 #N #5#9a#''# "'# #G"'#6 ##k$(T#j$)b#X'# "'# #G"'#5 #N #5#9c#K'# "'# #Gd#['#I"'# #G"'# #J"'#5 #N #5#9e#*'#I"'# #G"'# #J"'#6 ##k$+[f#]'#I"'# #G"'# #J"'#5 #N #5#9g#,'#I"'# #G"'# #J"'#6 ##k$-]h#O'#I"'# #G"'# #J"'#5 #N #5#9i#.'#I"'# #G"'# #J"'#6 ##k$/Oj#S'#I"'# #G"'# #J"'#5 #N #5#9k#0'#I"'# #G"'# #J"'#6 ##k$1Sl#W'#I"'# #G"'# #J"'#5 #N #5#9m#H'#I"'# #G"'# #Jn#Q'#I"'# #G"'# #J"'#5 #N #5#9o#2'#I"'# #G"'# #J"'#6 ##k$3Qp#U'#I"'# #G"'# #J"'#5 #N #5#9q#4'#I"'# #G"'# #J"'#6 ##k$5Ur#Y'#I"'# #G"'# #J"'#5 #N #5#9s#L'#I"'# #G"'# #Jt@#6'#" #:u@#7'#" #>" #?v@#8'#" #>" #?" #w'[^s?UU-Z;\kM+R["VFP!$jT'XK1[m*],7Or.S09WtHQ2UY4YL67@8)(# '# -'#p&'##9x#'# y#:'#I"'# #B"'# #C"'#9 #"'# #zU: '#9&'#4-'#=&'#4'#&'#4#;{#'#4"'# #|#5'#I"'# #"'#4 #J}#'#I"'# #B"'# #C"'#X&'#4 #"'# #~(G5q '#9&'# -'#=&'# '#&'# '#1&'# #<#5'#I"'# #"'# #J#'#I"'# #B"'# #C"'#X&'# #"'# #5F '#;'###=#$>?#="'# #0#=#_"'#1&'#4 #`0#=#?"'# #."'# #"'# ##'#>#a'##"'# #B"'# #C@#@'#="'# #:@#6'#=" #:@#8'#=" #>" #?" #^_ -?;UMay@68 '#;'#%#A#$BC#A"'# #0#A#_"'#1&'#4 #`0#A#?"'# #."'# #"'# ##'#>#a'#%"'# #B"'# #C@#@'#A"'# #:@#6'#A" #:@#8'#A" #>" #?" #@^Y_{?Ua@ 6'8 '#<'##D#$E #D"'# #0#D#_"'#1&'# #`0#D#?"'# #."'# #"'# ##'#>#'# "'# ##a'#"'# #B"'# #C@#@'#D"'# #:@#6'#D" #:@#8'#D" #>" #?" # ^_?U0Pa|@68 '#<'##F#$G #F"'# #0#F#_"'#1&'# #`0#F#?"'# #."'# #"'# ##'#>#'# "'# ##a'#"'# #B"'# #C@#@'#F"'# #:@#6'#F" #:@#8'#F" #>" #?" # J^c_?Ua@56Q8 '#<'##H#$I -#H"'# #0#H#_"'#1&'# #`0#H#?"'# #."'# #"'# ##'#>#'# "'# ##a'#"'# #B"'# #C@#@'#H"'# #:@#6'#H" #:@#7'#H" #>" #?@#8'#H" #>" #?" # -^_?NU`a@67 8 '#<'##J#$K #J"'# #0#J#_"'#1&'# #0#J#?"'# #."'# #"'# ##'#>#'# "'# ##a'#"'# #B"'# #C@#@'#J"'# #:@#6'#J" #:@#8'#J" #>" #?" # ^_?U#Cao@68 '#<'##L#$M #L"'# #0#L#_"'#1&'# #`0#L#?"'# #."'# #"'# ##'#>#'# "'# ##a'#"'# #B"'# #C@#@'#L"'# #:@#6'#L" #:@#8'#L" #>" #?" # =^V_x?Ua@(6D8 '#<'##N#$OP #N"'# #0#N#_"'#1&'# #`0#N#?"'# #."'# #"'# ##'#>#'# #'# "'# ##a'#"'# #B"'# #C@#@'#N"'# #:@#6'#N" #:@#7'#N" #>" #?@#8'#N" #>" #?" # ^_?AUSUca@678 '#<'# ##$QR #"'# #0##_"'#1&'# #`0##?"'# #."'# #"'# ##'#>#'# #'# "'# ##a'# "'# #B"'# #C@#@'#"'# #:@#6'#" #:@#7'#" #>" #?@#8'#" #>" #?" # ^_?U+U;[a@678'#c#S)+'#4*#f+'#4*#g+'#4*#h+'#4*#i@+'#=*#@+'#*#T@#U" #f#S"'#4 #f"'#4 #g"'#4 #h"'#4 #i##S#j"'#4 #k##S#l0#S#m"'#d #,##S#n"'#e #k##S#V"'#4 #f"'#4 #g"'#4 #h"'#4 #i"#S#W #f #g #h #i#'##0'#c"'#c #2#o'#c#o'#c"'#c #2#p'#c"'#c #2#q'#c"'#c #2#r'#d"'#c #2#s'#d"'#c #2#t'#d"'#c #2#u'#d"'#c #2#v'#d"'#c #2#w'#d"'#c #2#x'#c"'#4 #y#z'#c#{'#c"'#c #|"'#c #}#~'# #'#c"'# ##'#c"'#c #2"'# ##'#c"'#4 #X#'#c"'#4 #Y#'#c"'#4 #Z#'#c"'#4 #[#'#c"'#c #2#'#c"'#c #2#'#c#'#c#'#c)pfghiTU^@j[lkmnVW%0CoVotpqrst -u(vFwdxz{U~9Yy'#d#\ !+'# *#f -+'# *#g +'# *#h +'# *#i @+*#@#U" #f#\"'# #f"'# #g"'# #h"'# #i##\#6"'#6 #f"'#6 #g"'#6 #h"'#6 #i0#\#"'#c #T"#\#W #f #g #h #i#'##'#d"'#d #2#'#d"'#d #2#'#d"'#d #2#0'#d"'#d #2#o'#d"'#d #2#o'#d#~'# #'#d"'# ##'#d"'#d #2"'# ##'#d"'# #f#'#d"'# #g#'#d"'# #h #'#d"'# #i!#'#6"#'#6##'#6$#'#6%#'#d"'#6 #&#'#d"'#6 #'#'#d"'#6 #(#'#d"'#6 #)#'#c"'#c #"'#c #*!7fLgahviU^6'DWu0o#o6U~Ff UU/U@UQq'#e#]++'#4*#f,+'#4*#g-@+'#A*#.@+'#*#^/#] #f #g0##]#j"'#4 #k1##]#l2##]#"'#c #k3"#]#V #f #g4#'#5#0'#e"'#e #26#o'#e7#o'#e"'#e #28#p'#e"'#e #29#q'#e"'#e #2:#x'#e"'#4 #y;#z'#e<#{'#e"'#e #|"'#e #}=#~'# >#'#e"'#4 #f?#'#e"'#4 #g@#'#e"'#e #2A#'#e"'#e #2B#'#eCf g 7^M^kjlV0oo7pUqsxz{U~:Y"'# #'#6#_D"'# #"'#1 #"'# #'#I#`E"'# #B"'# #C"'# #'# #aF7YTF 5 -1id9;<=AQDF{H6yJLnN9ZS!\]m _.`gabB  @ ##c#d$0##$!#$$ef$gh$$!#i#k##j#<$FG!#?$BC!##$IJ  '##i#j#$kl -0#i#8 #'# #7'# #X'# 8UU7UX '##m#$no0#m#8@+'# *#pH#q'#I"'# #"'# #m"'# #%"'# #r#k$st#u'#I"'# #"'# #%"'# #X"'# #2"'# #r#k$vw#x'#I"'# #"'# #y#k$z{$83pQqux '##|#j#$}~0#|#88 '###$0##8#'##k$#'##k$8UU '###$0##8K8 '###$0##8@+'# *#H@+'# *#H @+'# *#H!@+'# *#H"@+'# *#H#@+'# *#H$@+'# *#H%@+'# *#H&@+'# *#H'@+'# *#H(@+'# *#H)@+'# *#H*@+'# *#H+@+'# *#H,@+'# *#H-@+'# *#H.@+'# *#H/@+'# *#H0@+'# *#H1@+'# *#H2@+'# *#H3@+'# *#H4@+'# *#H5@+'# *#H6@+'# *#H7@+'# *#H8@+'# *#H9@+'# *#H:8 )Ge7Us 'Ec '###$;0##8<@+'# *#H=@+'# *#H>@+'# *#H?80 '###$@0##8A@+'# *#HdB8 '###$C 0##8D@+'# *#HpE@+'# *#HrF@+'# *#HtG@+'# *#HvH@+'# *#HxI@+'# *#HqJ@+'# *#HsK@+'# *#HyL@+'# *#HuM@+'# *#HwN 8:Xv  '###$O0##8P@+'# *#HQ@+'# *#HR@+'# *#HS@+'# *#HT8  '###$ȒU0##8V@+'# *#HW@+'# *#HX@+'# *#HY@+'# *#HZu8 '###$ϒ[0##8\@+'# *#HM]@+'# *#HN^@+'# *#HO_@+'# *#HL`F8Us‘¯ '###j#$גa0##8b#"'# #X"'# #c@#'#" #X" #d@#'#" #Xe#'#f 8/^Y{ÖU '###$ޒg0##8h@+'# *#HFi@+'# *#HEj8 '###$k0##8l#'#"'# #mr8ā '###$n0##8o@+'# *#Hp8 '###$q0##8r#'#I"'#1&'# ##k$s38B '###$t0##8u@+'# *#Hv@+'# *#HCw@+'# *#HBx@+'# *#H@yŨ8ŷ '###$z0##8{@+'# *#H|@+'# *#H}y8ƈƦ '###$~0##88 '###$0##888 '###$0##8@+'# *#He@+'# *# H@+'# *# -Hd@+'# *# Hg@+'# *# Hf@+'# *# H(@+'# *#H#'#I"'# #"'# #F#k$#'##k$#'#I"'# #F#k$#'#I"'# ##k$#'#e"'# #"'# ##k$# '#e"'# #F"'# ##k$!"##'#6"'# #F#k$$%#&'#I"'# #F"'# ##k$'(s8ǃǢ  -   =\ȘȼW ɔ#& '##)#$*+0#)#8@+'# *# H@+'# *# -Hd@+'# *# H(@+'# *#H#&'#I"'#, #F"'# ##k$'(ʛ8ʫ  - '& '##-#$./0#-#8˵8 '##0#$120#0#88 '##3#$450#3#8@+'# *#6H@+'# *#7H+8;6Z7 '##8#j#$9:0#8#8̽8 '##;#$<=0#;#8#>'#~"'# #"'# #?"'#, #@"'# #A"'# #8> '##B#$CD0#B#8#E'#I#F'#I͐8͠E͵F '##G#$HI0#G#88 '##J#$KL0#J#8@+'# *#MH>8NM '##N#$OP0#N#8Π8 '##Q#$RS0#Q#88 '##T#$UV0#T#8@+'# *#WHa8&W '##X#$YZ0#X#8x8 '##[#$\]0#[#8@+'# *#^H#_'#I"'#` #a#k$bc#d'#`#k$ef#g'#I"'#` #a#k$hi#j'#6"'#` #a#k$klϳ8^_d6gfj '##m#j#$no0#m#88 '##,#$pq0#,#8)8 '##r#j#$st0#r#8m8 '#'#u#v#w #w#x#w #w#y#j#$z{ƀ0#v#8P#|'#6#'##}'# #~'# #'#I"'# ##'#I"'#m #"'# ##'#I"'#m #"'# #"'# ##'#I"'# #"'#| #.#'#I"'# #"'#8 ##'#I"'# #"'#r ##'#I"'# #"'# ##'#I"'# #"'# #"'# #"'# ##'#I"'# ##'#I"'# #"'# ##'#I"'# #"'# ##'#I"'# #"'# #"'# #"'# ##'#I"'# #" #"'# ##'#I"'# #"'# #2" #A#'# "'# ##'#I"'# ##'#I"'# #"'# #"'# #"'# ##'#I"'# #x#'#I"'# #y#'#I"'#6 #"'#6 #"'#6 #"'#6 ##'#~#'#I"'# ##'#I"'# #"'# #"'# #"'# #"'# #"'# #"'#, #A#'#I"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#, #A#'#I"'# #"'# #"'# #"'# #f"'# #g"'# #"'# #"'# ##'#I"'# #"'# #"'# #"'# #"'# #f"'# #g"'# #"'# ##*'#|#'#8#'#m#'#r#'#"'# #X#'##'#I"'# ##'#I"'#| #.#'#I"'#8 ##'#I"'#m ##'#I"'#r ##'#I"'# ##'#I"'# ##'#I"'# ##'#I"'#6 ##'#I"'# #"'# ##'#I"'#m #"'# ##'#I"'# ##'#I"'# ##'#I"'# #"'# #m"'# #%#'#I"'# #"'# #%"'# #X"'# #2#"'#I"'# ##'#I"'# ##5'#I#'#I#'#I"'# #"'# #"'# #"'#r ##'#I"'# #"'# #"'# #"'# #"'# ##'#I"'# ##'#I"'# ##'#i"'#m #"'# ##'#i"'#m #"'# ##'#1&'#"'#m ##'# "'#m #"'# ##'#e"'# #"'# ##i$֓#j$ׁ֓#'##i$ٓځ##k$ܓ#i$ٓځ #'#  -#'#e"'# # #'#e"'# #"'# #"'# ##i$#j$ #'#e"'# ##i$#j$ #'#"'#m ##'#e"'#m #"'# ##i$#j$#'#e"'# #"'# ##i$֓#j$ׁ֓#'#"'# ##'#e"'# #"'# ##i$#j$#'#"'# #"'# ##'#"'# ##'#1&'##'#e"'# #"'# ##i$֓#j$ׁ֓#'#e"'#m #"'# ##i$#j$#'#"'#m #"'# ##'#e"'# #"'# ##i$#j$#'# "'# #"'# ##'#I"'# #"'# ##'#6"'#| #.#'#6#'#6"'# ##'#6"'#8 ##'#6"'#m # #'#6"'#r #!#'#6"'# #"#'#6"'# ###'#I"'# #$#'#I"'#m #%#'#I"'# #"'# # &# -'#I"'# #"'# # '# '#I"'# #f"'# #g"'# #"'# #"'# #"'# #X"'#, # #k$(#'#I"'# #"'# #"'# #"'# #)#'#I"'# #J"'#6 #*#'#I"'# #f"'# #g"'# #"'# #+#'#I"'# #"'# #,#'#I"'# #"'# # "'# #-#'#I"'# #"'# #"'# # "'# #.#'#I"'# #/#'#I"'# #"'# #0#'#I"'# #"'# #"'# #1#'#I"'# #"'# #"'# #"'# #2#'#I "'# #"'# #"'# #"'# # "'# #!" #""'# #"'# #X"'#, # 3##'#I " #" #" #" #" #"'# #" #" #X"'#, # #k$$4#%'#I" #" #" #" #" #X" # #k$$5#&'#I" #" #" #" #" #X"'#' #(#k$$6#)'#I" #" #" #" #" #X"'# ##k$$7#*'#I" #" #" #" #" #X"'#+ #,#k$$8#-'#I" #" #" #" #" #X"'#. #/#k$$9#0'#I"'# #"'# #"'# # :#1'#I"'# #"'# #"'# # ;#2'#I "'# #"'# #"'# #"'# #"'# # "'# #!" #3"'# #X"'#, # <#4'#I " #" #" #" #" #" #"'# #" #X"'#, # #k$52=#6'#I" #" #" #" #" #" #X" # #k$52>#7'#I" #" #" #" #" #" #X"'#' #(#k$52?#8'#I" #" #" #" #" #" #X"'# ##k$52@#9'#I" #" #" #" #" #" #X"'#+ #,#k$52A#:'#I" #" #" #" #" #" #X"'#. #/#k$52B#;'#I"'# #"'# #fC#<'#I"'# #" #kD#='#I"'# #"'# #fE#>'#I"'# #" #kF#?'#I"'# #"'# #f"'# #gG#@'#I"'# #" #kH#A'#I"'# #"'# #f"'# #gI#B'#I"'# #" #kJ#C'#I"'# #"'# #f"'# #g"'# #hK#D'#I"'# #" #kL#E'#I"'# #"'# #f"'# #g"'# #hM#F'#I"'# #" #kN#G'#I"'# #"'# #f"'# #g"'# #h"'# #iO#H'#I"'# #" #kP#I'#I"'# #"'# #f"'# #g"'# #h"'# #iQ#J'#I"'# #" #kR#K'#I"'# #"'#6 #L" #S#M'#I"'# #"'#6 #L" #T#N'#I"'# #"'#6 #L" #U#O'#I"'#m #V#P'#I"'#m #W#Q'#I"'# #R"'# #fX#S'#I"'# #R" #Y#T'#I"'# #R"'# #f"'# #gZ#U'#I"'# #R" #[#V'#I"'# #R"'# #f"'# #g"'# #h\#W'#I"'# #R" #]#X'#I"'# #R"'# #f"'# #g"'# #h"'# #i^#Y'#I"'# #R" #_#Z'#I"'# #R"'# #7"'# #X"'#6 #["'# #\"'# #2`#]'#I"'# #f"'# #g"'# #"'# #a#'#I"'# #f"'# #g"'# #"'# #"'# #"'# #X"'#, # b#^'#I"'# #_"'# #`"'# #a"'# #"'# #X" #A#V$bcc#d'#I "'# #_"'# #`"'# #a"'# #"'# #"'# #"'# #"'# #X"'#, #A#V$bcd#e'#I"'# #_"'# #`"'# #f"'# #g"'# #"'# #X" #A#V$hie#j'#I -"'# #_"'# #`"'# #f"'# #g"'# #"'# #"'# #"'# #"'# #X"'#, #A#V$hif#k'#I"'# #"'#, #A"'# ##V$lmg#n'#I"'# #"'# #2"'#, #A#V$oph8U|UU} U~2S҂ҽFtӽ 8}Ա&oՑձ -֕ |*1Giؠ'Ikٌ٭ ,Mچ" 5"7}@oܙ5avݙ-PޛS߁ߤ W+La -,Np - A%^*o#_%&)R*-021k24X678`9:;B<j=>?@!AYBCDE2FZGHI"JJKMNO P-QZSTUV(WPXYZ&]i^3de0jkn '#'#q'#r#s#$tui)0#s#8j#'#k#v'#I"'# #"'#, #Fl#w'#I"'# #xm#y'#I"'# #"'# #"'#| #.n#z'#I"'# #"'# #"'#| #."'# #2"'# #7o#{'#I"'# #|"'#} #~p#'#I"'# #"'# #q#_'#I"'# #r#'#I -"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #s#'#I"'# #"'#, #"'# #"'# #"'# ##k$t#'#I"'# #"'# #"'#, #"'# #"'# ##k$u#'#I"'# #."'# #"'# #x"'# #v#'#I"'# #."'# #" #J"'# #w#'#I"'# #."'# #" #J"'# #x#'#I"'# #."'# #" #J"'# #y#'# "'# #"'# #"'# #z#'#I "'# #"'# #"'# #"'# #"'# #"'# #"'#, #A"'# #"'# ##k${#'#I"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #2#k$|#'#I -"'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'#, #A"'# #"'# #}#'#I "'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'# #"'# #2#k$~#'#I -"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#, #A"'# #"'# ##k$#'#I "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #2#k$#'#I "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'#, #A"'# #"'# ##'#I "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'# #"'# #2#k$#'#I"'# #"'# #"'# #"'# #"'# #7#'#I "'# #"'# #"'# #"'# #"'# #"'# #f"'# #g"'# #"'# ##'#,#'#}#'##d'##'#I"'#, #F#'#I"'#} #~#'#I"'# ##'#I"'# ##g'#I"'# ##'#I"'# #"'# #m"'# #%"'# ##'#I"'#1&'# ##'#I"'# #"'# #%"'# #X"'# #2"'# ##'#I"'# #"'# #B"'# #C"'# #%"'# #X"'# #2#'#I"'# ##'#I#'#"'# #r"'# ##'#I"'# #"'# #"'# #"'# #"'# ##'#"'#m #"'# ##'#e"'#m #"'# #"'# ##'#e"'#m #"'#1&'# #"'# ##'#I"'# #"'# #?"'#, #@"'# #A"'# ##'# "'#m #"'# ##'#e"'# #"'# ##'#e"'# #"'# #"'# ##'#e"'# #"'# ##'#e"'#, #F"'# ##'#e"'#} #~"'# ##'#e"'# #"'# ##'#i"'#m #"'# ##'# "'#m #"'# ##'#1&'# "'#m #"'#1&'# ##'#1&'# "'#m #"'#1 ##k$הԁ#'#I"'# #"'#1&'# ##'#I"'# #"'#1&'# #"'# #f"'# #g"'# #"'# ##'#6"'#, #F#'#6"'#} #~#'#6"'# ##'#6"'# ##j'#6"'# ##'#I#'#I"'# ##'#I"'# #f"'# #g"'# #"'# #"'# #"'# #X" #"'# #2#k$#'#I"'# #"'# #"'# #"'# #"'# ##'#I#'#I"'#} #~"'# #"'# # #'#I"'#} #~"'# #"'# # #'#I -"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #X" #"'# ##'#I " #" #" #" #" #" #" #" #X"'# #2#k$$#'#I " #" #" #" #" #" #" #" #X" #A#k$$#'#I " #" #" #" #" #" #" #" #X"'#' #(#k$$#'#I " #" #" #" #" #" #" #" #X"'# ##k$$#'#I " #" #" #" #" #" #" #" #X"'#+ #,#k$$#'#I " #" #" #" #" #" #" #" #X"'#. #/#k$$#'#I -" #" #" #" #" #" #" #" #X"'#, #" ##k$$#'#I "'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'# #"'# #X" #"'# ##'#I -" #" #" #" #" #" #x" #" #" #X"'# #2#k$#'#I -" #" #" #" #" #" #x" #" #" #X" #A#k$#'#I -" #" #" #" #" #" #x" #" #" #X"'#' #(#k$#'#I -" #" #" #" #" #" #x" #" #" #X"'# ##k$#'#I -" #" #" #" #" #" #x" #" #" #X"'#+ #,#k$#'#I -" #" #" #" #" #" #x" #" #" #X"'#. #/#k$#'#I -" #" #" #" #" #" #x" #" #" #X"'#, # #k$#'#I " #" #" #" #" #" #x" #" #" #X"'#, # " ##k$#'#I"'# #"'# #"'# #"'# #"'# ##'#I"'# #"'# #"'# #"'# #"'# #"'# #x#'#I -"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #X" #"'# ##'#I " #" #" #" #" #" #" #" #X"'# #2#k$52#'#I " #" #" #" #" #" #" #" #X" #A#k$52#'#I " #" #" #" #" #" #" #" #X"'#' #(#k$52#'#I " #" #" #" #" #" #" #" #X"'# ##k$52#'#I " #" #" #" #" #" #" #" #X"'#+ #,#k$52#'#I " #" #" #" #" #" #" #" #X"'#. #/#k$52#'#I -" #" #" #" #" #" #" #" #X"'#, #" ##k$52#'#I "'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #x"'# #"'# #X" #"'# ##'#I " #" #" #" #" #" #" #" #x" #" #X"'# #2#k$ # -'#I " #" #" #" #" #" #" #" #x" #" #X" #A#k$ # '#I " #" #" #" #" #" #" #" #x" #" #X"'#' #(#k$ # '#I " #" #" #" #" #" #" #" #x" #" #X"'# ##k$ # '#I " #" #" #" #" #" #" #" #x" #" #X"'#+ #,#k$ #'#I " #" #" #" #" #" #" #" #x" #" #X"'#. #/#k$ #'#I " #" #" #" #" #" #" #" #x" #" #X"'#, # #k$ #'#I " #" #" #" #" #" #" #" #x" #" #X"'#, # " ##k$ #'#I"'#m #"'#1&'# #"'# ##'#I"'#m #"'#1 #" ##k$#'#I"'# #" #k"'# #"'# ##k$<#'#I"'# #" #k"'# #"'# ##k$>#'#I"'# #"'# ##'#I"'# #" #k"'# #"'# ##'#I"'# #" #k"'# #"'# ##k$@# '#I"'# #" #k"'# #"'# ##k$!B#"'#I"'# #"'# #"'# #7##'#I"'# #" #k"'# #"'# ##$'#I"'# #" #k"'# #"'# ##k$%D#&'#I"'# #" #k"'# #"'# ##k$'F#('#I"'# #"'# #"'# #7"'# #8#)'#I"'# #" #k"'# #"'# ##*'#I"'# #" #k"'# #"'# ##k$+H#,'#I"'# #" #k"'# #"'# ##k$-J#.'#I"'# #"'# #"'# #7"'# #8"'# #:#/'#I"'# #" #k"'# #"'# ##0'#I"'#m #"'# #"'# #0#1'#I"'# #"'#6 #L" #"'# #"'# ##k$2K#3'#I"'# #"'#6 #L" #J"'# #"'# ##4'#I"'# #"'#6 #L" #J"'# #"'# ##5'#I"'# #"'#6 #L" #"'# #"'# ##k$6M#7'#I"'# #"'#6 #L" #J"'# #"'# ##8'#I"'# #"'#6 #L" #J"'# #"'# ##9'#I"'# #"'#6 #L" #"'# #"'# ##k$:N#;'#I"'# #"'#6 #L" #J"'# #"'# ##<'#I"'# #"'#6 #L" #J"'# #"'# ##='#I"'# #"'# #y#>'#I"'# #"'# #f"'# #g"'# #h"'# #i#?'#I"'# #" #k#@'#I"'# #"'# #f"'# #g"'# #h"'# #i#A'#I"'# #" #k#B'#I"'# #"'# #7"'# #X"'# #\"'# #2#C'#I"'# #"'# #"'# ##}'# #~'# #'#I"'# ##'#I"'#m #"'# ##'#I"'#m #"'# #"'# ##'#I"'# #"'#| #.#'#I"'# #"'#8 ##'#I"'# #"'#r ##'#I"'# #"'# ##'#I"'# #"'# #"'# #"'# ##'#I"'# ##'#I"'# #"'# ##'#I"'# #"'# ##'#I"'# #"'# #"'# #"'# ##'#I"'# #" #"'# ##'#I"'# #"'# #2" #A #'# "'# # -#'#I"'# # #'#I"'# #"'# #"'# #"'# # #'#I"'# #x #'#I"'# #y#'#I"'#6 #"'#6 #"'#6 #"'#6 ##'#~#'#I"'# ##'#I"'# #"'# #"'# #"'# #"'# #"'# #"'#, #A#'#I"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#, #A#'#I"'# #"'# #"'# #"'# #f"'# #g"'# #"'# #"'# ##'#I"'# #"'# #"'# #"'# #"'# #f"'# #g"'# #"'# ##*'#|#'#8#'#m#'#r#'#"'# #X#'##'#I"'# ##'#I"'#| #.#'#I"'#8 ##'#I"'#m ##'#I"'#r # #'#I"'# #!#'#I"'# #"#'#I"'# ###'#I"'#6 #$#'#I"'# #"'# #%#'#I"'#m #"'# #&#'#I"'# #'#'#I"'# #(#'#I"'# #"'# #m"'# #%)#'#I"'# #"'# #%"'# #X"'# #2*#"'#I"'# #+#'#I"'# #,#5'#I-#'#I.#'#I"'# #"'# #"'# #"'#r #/#'#I"'# #"'# #"'# #"'# #"'# #0#'#I"'# #1#'#I"'# #2#'#i"'#m #"'# #3#'#i"'#m #"'# #4#'#1&'#"'#m #5#'# "'#m #"'# #6#'#e"'# #"'# #7#'#8##k$ܓ؂9#'# :#'#e"'# #;#'#e"'# #"'# #"'# #<#'#e"'# #=#'#"'#m #>#'#e"'#m #"'# #?#'#e"'# #"'# #@#'#"'# #A#'#e"'# #"'# #B#'#"'# #"'# #C#'#"'# #D#'#1&'#E#'#e"'# #"'# #F#'#e"'#m #"'# #G#'#"'#m #"'# #H#'#e"'# #"'# #I#'# "'# #"'# #J#'#I"'# #"'# #K#'#6"'#| #.L#'#6M#'#6"'# #N#'#6"'#8 #O#'#6"'#m #P#'#6"'#r #Q#'#6"'# #R#'#6"'# #S#'#I"'# #T#'#I"'#m #U#'#I"'# #"'# # V# -'#I"'# #"'# # W# '#I"'# #f"'# #g"'# #"'# #"'# #"'# #X"'#, # #k$X#'#I"'# #"'# #"'# #"'# #Y#'#I"'# #J"'#6 #Z#'#I"'# #f"'# #g"'# #"'# #[#'#I"'# #"'# #\#'#I"'# #"'# # "'# #]#'#I"'# #"'# #"'# # "'# #^#'#I"'# #_#'#I"'# #"'# #`#'#I"'# #"'# #"'# #a#'#I"'# #"'# #"'# #"'# #b#'#I "'# #"'# #"'# #"'# # "'# #!" #""'# #"'# #X"'#, # c##'#I " #" #" #" #" #"'# #" #" #X"'#, # #k$$d#%'#I" #" #" #" #" #X" # #k$$e#&'#I" #" #" #" #" #X"'#' #(#k$$f#)'#I" #" #" #" #" #X"'# ##k$$g#*'#I" #" #" #" #" #X"'#+ #,#k$$h#-'#I" #" #" #" #" #X"'#. #/#k$$i#0'#I"'# #"'# #"'# # j#1'#I"'# #"'# #"'# # k#2'#I "'# #"'# #"'# #"'# #"'# # "'# #!" #3"'# #X"'#, # l#4'#I " #" #" #" #" #" #"'# #" #X"'#, # #k$52m#6'#I" #" #" #" #" #" #X" # #k$52n#7'#I" #" #" #" #" #" #X"'#' #(#k$52o#8'#I" #" #" #" #" #" #X"'# ##k$52p#9'#I" #" #" #" #" #" #X"'#+ #,#k$52q#:'#I" #" #" #" #" #" #X"'#. #/#k$52r#;'#I"'# #"'# #fs#<'#I"'# #" #kt#='#I"'# #"'# #fu#>'#I"'# #" #kv#?'#I"'# #"'# #f"'# #gw#@'#I"'# #" #kx#A'#I"'# #"'# #f"'# #gy#B'#I"'# #" #kz#C'#I"'# #"'# #f"'# #g"'# #h{#D'#I"'# #" #k|#E'#I"'# #"'# #f"'# #g"'# #h}#F'#I"'# #" #k~#G'#I"'# #"'# #f"'# #g"'# #h"'# #i#H'#I"'# #" #k#I'#I"'# #"'# #f"'# #g"'# #h"'# #i#J'#I"'# #" #k#K'#I"'# #"'#6 #L" ##M'#I"'# #"'#6 #L" ##N'#I"'# #"'#6 #L" ##O'#I"'#m ##P'#I"'#m ##Q'#I"'# #R"'# #f#S'#I"'# #R" ##T'#I"'# #R"'# #f"'# #g#U'#I"'# #R" ##V'#I"'# #R"'# #f"'# #g"'# #h#W'#I"'# #R" ##X'#I"'# #R"'# #f"'# #g"'# #h"'# #i#Y'#I"'# #R" ##Z'#I"'# #R"'# #7"'# #X"'#6 #["'# #\"'# #2#]'#I"'# #f"'# #g"'# #"'# ##'#I"'# #f"'# #g"'# #"'# #"'# #"'# #X"'#, # )8UvFwgyz{M_o]D5a d@bgBSUIxA  < ^  j    -y - -  T  E   v FJ mJm^'_o -S  ? +]Bp X"#$)&z()*W,./ @0 z1 3!*4!|5!7",8"~9";#.<#=#>#?$!@$nA$B$C% U}%2U~%D%e%%%&*&X&&&''J'''((8((()))?)**+*++-+C+Y+{++++,,9,[,},,,-->-_--"-.5.4.I..//#/R///000;0P0s0001!1O1r11122=2m2223%3F3[3|33344&4H4j4 -4 5;55566X6667$7i7#8Y%8&8)9L*9-90:,1:e2:4;R6;7<8=?=@>A>SB>{C>D>E?,F?TG?H?I@J@DK@yM@N@OAPA'QATSA|TAUAVB"WBJXBYBZC ]Cc '##}#$DE0#}#8L 8 '###$FG0##8LH8 '###$HI0##8#'# #J'# #K'# L8LULUJLUK '###$LM0##8M 8 '###$NO0##8#P'#6#Q'# #R'##S'# MD8MTUPMfUQMxURMUS '###$TU0##8M8 '###$VW0##8N8 '###$XY0##8NZ8 '###$Z[0##8N8 '##`#$\]0#`#8N8#^#$_^R0#^#8@+'# *#`H@+'# *#aH@+'# *#bH@+'# *#cH6@+'# *#dHn@+'# *#eHm@+'# *#fH@+'# *#gH U@+'# *#hH@+'# *#iH@+'# *#jH/@+'# *#kHj@+'# *#lH@+'# *#mH@+'# *#nH@+'# *#oH@+'# *#pH @+'# *#qH@+'# *#rH@+'# *#sH@+'# *#tH @+'# *#uH=@+'# *#vH @+'# *#wH@+'# *#xH@+'# *#yH T@+'# *#zHV@+'# *#{HW@+'# *#|HX@+'# *#}HY@+'# *#~HD@+'# *#Hd@+'# *#He@+'# *#H@+'# *#H @+'# *#H/@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@@+'# *#H "@+'# *#H #@+'# *#HN@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#HB@+'# *#H6@+'# *#H6@+'# *#H7@+'# *#H7@+'# *#H D@+'# *#H E@+'# *#H@+'# *#He@+'# *#H&@+'# *#H @+'# *#H @+'# *#H -@+'# *#H @+'# *#H @+'# *#H @+'# *#H@+'# *#H@+'# *#H V@+'# *#H@+'# *#H s@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H t@+'# *#H p@+'# *#H@+'# *#H@+'# *#H q@+'# *#H r@+'# *#H @+'# *#H@+'# *#H%@+'# *#H% @+'# *#H&!@+'# *#H/"@+'# *#H/#@+'# *#H0$@+'# *#H0%@+'# *#H1&@+'# *#H1'@+'# *#H2(@+'# *#H2)@+'# *#H3*@+'# *#H3+@+'# *#H4,@+'# *#H4-@+'# *#H&.@+'# *#H'/@+'# *#H'0@+'# *#H(1@+'# *#H(2@+'# *#H)3@+'# *#H)4@+'# *#H*5@+'# *#H*6@+'# *#H+7@+'# *#H+8@+'# *#H,9@+'# *#H,:@+'# *#H-;@+'# *#H-<@+'# *#H.=@+'# *#H.>@+'# *#H?@+'# *#H@@+'# *#HA@+'# *#HB@+'# *#HC@+'# *#HD@+'# *#HE@+'# *#HF@+'# *#HG@+'# *#HH@+'# *#HI@+'# *#HJ@+'# *#HK@+'# *#HZL@+'# *#HeM@+'# *#HfN@+'# *#H[O@+'# *#HgP@+'# *#HhQ@+'# *#H\R@+'# *#HiS@+'# *#HjT@+'# *#HPU@+'# *#HQV@+'# *#HRW@+'# *#H0X@+'# *# HY@+'# *# -H@Z@+'# *# H[@+'# *# H\@+'# *# H]@+'# *#H^@+'# *#H_@+'# *#H`@+'# *#Ha@+'# *#Hb@+'# *#Hc@+'# *#Hd@+'# *#He@+'# *#Hf@+'# *#Hg@+'# *#Hh@+'# *#Hi@+'# *#Hj@+'# *#Hk@+'# *#Hl@+'# *#Hm@+'# *#HVn@+'# *#Ho@+'# *# Hp@+'# *#!Hq@+'# *#"H Fr@+'# *##Hs@+'# *#$H t@+'# *#%H -u@+'# *#&Hv@+'# *#'Hw@+'# *#(Hx@+'# *#)H Sy@+'# *#*H z@+'# *#+H{@+'# *#,H|@+'# *#-H}@+'# *#.H~@+'# *#/H@+'# *#0H@+'# *#1H@+'# *#2H@+'# *#3H@+'# *#4H@+'# *#5H@+'# *#6H@+'# *#7H@+'# *#8HS@+'# *#9HT@+'# *#:HU@+'# *#;H@+'# *#<H@+'# *#=H@+'# *#>H@+'# *#?H@+'# *#@H -@+'# *#AH@+'# *#BH@+'# *#CH@+'# *#DH&@+'# *#EH'@+'# *#FH'@+'# *#G@+'# *#H@+'# *#I@+'# *#JH !@+'# *#KH@+'# *#LH@+'# *#MH@+'# *#NH @+'# *#OH -@+'# *#PH@+'# *#QHs@+'# *#RH@+'# *#SHG@+'# *#TH@+'# *#UH@+'# *#VH3@+'# *#WHM@+'# *#XH.@+'# *#YH1@+'# *#ZH@+'# *#[H$@+'# *#\H$@+'# *#]H@+'# *#^H@+'# *#_Hk@+'# *#`H%@+'# *#aH-@+'# *#bHI@+'# *#cH@+'# *#dH@+'# *#eH@+'# *#fHW@+'# *#gH@+'# *#hHr@+'# *#iH@+'# *#jH 3@+'# *#kH@+'# *#lH@+'# *#mH@+'# *#nH0@+'# *#oH/@+'# *#pHK@+'# *#qH@+'# *#rHi@+'# *#sH"@+'# *#tHL@+'# *#uH+@+'# *#vHJ@+'# *#wH@+'# *#xH :@+'# *#yH@+'# *#zH@+'# *#{H@+'# *#|H@+'# *#}Hp@+'# *#~H&@+'# *#H'@+'# *#H'@+'# *#H@+'# *#H@+'# *#@+'# *#H@+'# *#@+'# *#H@+'# *#@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H @+'# *#H @+'# *#H @+'# *#H @+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#@+'# *#H8@+'# *#H7@+'# *#H*@+'# *#Hf@+'# *#Hg@+'# *#H:@+'# *#H-@+'# *#H3@+'# *#H4@+'# *#H.@+'# *#H5@+'# *#H6@+'# *#H)@+'# *#H1@+'# *#H2@+'# *#H@+'# *#H@+'# *#H @+'# *#H@+'# *#H@+'# *#H@+'# *#H R@+'# *#H@+'# *#HA@+'# *#HS@+'# *#H@+'# *#HR@+'# *#HT@+'# *#HQ@+'# *#HC@+'# *#HD@+'# *#HP@+'# *#H@+'# *#HU @+'# *#HB -@+'# *#H @+'# *#H) @+'# *#H @+'# *#H'@+'# *#H/@+'# *#H9@+'# *#H:@+'# *#H0@+'# *#H;@+'# *#H<@+'# *#H+@+'# *#H7@+'# *#H8@+'# *#H@+'# *#H@+'# *#HY@+'# *#Ho@+'# *#H@+'# *#H@+'# *#Hw@+'# *#H@+'# *#H @+'# *#Hq!@+'# *#Hb"@+'# *#HW#@+'# *#HQ$@+'# *#H%@+'# *#H}&@+'# *#H'@+'# *#H=(@+'# *#H)@+'# *#H*@+'# *#H+@+'# *#Hv,@+'# *#H-@+'# *#H.@+'# *#Hp/@+'# *#HV0@+'# *#HX1@+'# *#H2@+'# *#H|3@+'# *#H4@+'# *#H5@+'# *#H6@+'# *#H(7@+'# *#H^8@+'# *#H9@+'# *#H:@+'# *#Hb;@+'# *#H_<@+'# *#H=@+'# *#H`>@+'# *#H?@+'# *#H@@+'# *#HA@+'# *#HB@+'# *#HC@+'# *#HD@+'# *#HE@+'# *#H F@+'# *#H G@+'# *#HH@+'# *#HOI@+'# *#HJ@+'# *#HK@+'# *#HL@+'# *#HM@+'# *#HN@+'# *#HO@+'# *#HP@+'# *#H@Q@+'# *#HAR@+'# *#HCS@+'# *#HT@+'# *#HU@+'# *#HV@+'# *#HW@+'# *#H X@+'# *# HY@+'# *# -HZ@+'# *# H[@+'# *# H\@+'# *# H]@+'# *#H^@+'# *#H_@+'# *#H W`@+'# *#Ha@+'# *#H b@+'# *#H c@+'# *#H d@+'# *#HHe@+'# *#H f@+'# *#H g@+'# *#H h@+'# *#H i@+'# *#H j@+'# *#H k@+'# *#Hl@+'# *#Hm@+'# *#Hn@+'# *#H Po@+'# *# Hp@+'# *#!Hq@+'# *#"Hr@+'# *##s@+'# *#$Ht@+'# *#%Hu@+'# *#&Hv@+'# *#'Hw@+'# *#(Hx@+'# *#)Hy@+'# *#*Hz@+'# *#+H{@+'# *#,H|@+'# *#-H}@+'# *#.H~@+'# *#/H@+'# *#0H@+'# *#1H@+'# *#2H@+'# *#3H@+'# *#4H@+'# *#5H@+'# *#6H@+'# *#7H@+'# *#8H@+'# *#9H@+'# *#:H@+'# *#;H@+'# *#<H@+'# *#=H@+'# *#>H@+'# *#?H@+'# *#@H@+'# *#AH@+'# *#BH@+'# *#CH@+'# *#DH@+'# *#EH@+'# *#FH@+'# *#GH @+'# *#HH@+'# *#IHo@+'# *#JH<@+'# *#KHi@+'# *#LH@+'# *#MHj@+'# *#NH@+'# *#OHM@+'# *#PHL@+'# *#QH@+'# *#RH@+'# *#SH@+'# *#TH@+'# *#UH@+'# *#VH@+'# *#WH@+'# *#XH/@+'# *#YH@+'# *#ZH(@+'# *#[H=@+'# *#\H;@+'# *#]H(@+'# *#^H:@+'# *#_Hr@+'# *#`H(@+'# *#aH(@+'# *#bH@+'# *#cOO@+'# *#dH"@+'# *#eH$@+'# *#fH%@+'# *#gH@+'# *#hH@+'# *#iH@+'# *#jH@+'# *#kH@+'# *#lH#@+'# *#mH@+'# *#nH@+'# *#o@+'# *#p@+'# *#q@+'# *#rH<@+'# *#sHB@+'# *#tHC@+'# *#uH?@+'# *#vH@@+'# *#wH:@+'# *#xHF@+'# *#yHD@+'# *#zH@+'# *#{H(@+'# *#|H4@+'# *#}H*@+'# *#~H)@+'# *#H>@+'# *#H=@+'# *#H;@+'# *#H8@+'# *#H7@+'# *#H @+'# *#HC@+'# *#H@@+'# *#Hn@+'# *#HA@+'# *#H @+'# *#Hm@+'# *#H @+'# *#H @+'# *#H@+'# *#H@+'# *#H@+'# *#H;@+'# *#H@+'# *#Hh@+'# *#H>@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H3@+'# *#H4@+'# *#Hc@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H"@+'# *#H@+'# *#Hj@+'# *#HE@+'# *#H#@+'# *#H$@+'# *#H%@+'# *#H1@+'# *#H @+'# *#H@+'# *#RO8O`O4aOSbOrcOdOeOfOgP hP,iPKjPjkPlPmPnPoQpQ$qQCrQbsQtQuQvQwQxRyR;zRZ{Ry|R}R~RRSS3SRSqSSSST T+TJTiTTTTUU#UBUaUUUUUVV:VYVxVVVVWW2WQWpWWWWX X*XIXhXXXXYY"YAY`YYYYYZZ9ZXZwZZZZ[[1[P[o[[[[\ -\)\H\g\\\\]]!]@]_]~]]]]^^8^W^v^^^^__0_O_n____` `(`G`f````aa a?a^a}aaaabb7bVbubbbbcc/cNcmc c -c c d d'dFdeddddeee>e]e|eeeeff6fU ft!f"f#f$f%g&g.'gM(gl)g*g+g,g-h.h&/hE0hd1h2h3h4h5h6i7i=8i\9i{:i;i<i=i>j?j5@jTAjsBjCjDjEjFkGk&Hk>IkVJkuKkLkMkNkOlPl/QlNRlmSlTlUlVlWmXm'YmFZme[m\m]m^m_n`nan>bn]cn|dnenfngnhoio6joUkotlomonoooppqp.rpMspltpupvpwpxqyq&zqE{qd|q}q~qqqrr=rUrtrrrrss s?s^s}sssstt7tVtuttttu u(uGufuuuuvv v?v^v}vvvvww7wVwuwwwwxx/xNxmxxxxyy'yFyeyyyyzzz>z]z|zzzz{{6{U{t{{{{||.|M|l||||}}&}E}d}}}}}~~=~\~{~~~~5Ts-Lk%Dc<[ z -   4Sr ,Kj$ C!b"#$%&'(4)S*r+,-./ 0,1K2j345678$9C:b;<=>?@A;BZCyDEFGHI3JRKqLMNOP Q+RJSiTUVWXY#ZB[a\]^_`ab:cTdsefghij-kLlkmnopqrs/tNumvwxyz{'|F}e~>]|6Ut.Ml&Ed=\{5Ts '#'#r#q#$0#q#8G8 '##r0#r#8t86vim;_|(ZaNm*+R#è8OģıwŅ/V HOw)cˑ-03y̐8;^lBGJm|NΰηQTETXψϏ[Жm,9@r}фvSsCK}LL$LXL_LLMM MMMMN/N6NjNqNN`NN^qW^rI  @##!#?$BC!#$!# $!#<##$FG"'#e #'##"'#e #A'#e#'##"'#e #c"'#e #'#6#"'#e #c"'#e #'##"'#e #c"'#e #"'#e #J'## "'#e #c"'# #<"'#1&'#e #'## -"'#e #c"'#e #X'#6# "'#e #"'#1&'#e #7'## '#/# +'#6*#"##8 ##'##^81)(#Z"'#e #'#~&'#Z# NqDLb   @##w@+'#*#x$—@+'#*#y$ė@+'#*#$Ǘ@+'#*#$ʗ@+'#*#$͗+'#*#+'#*# -#w # #x9yTo^#  -# -@^# +'#*#  -# # bx^# -#^#j -#j^w2MTjڌڀ  @#$$$ef!#j$$֗$$!#i#j#<$FG!#?$BC!###$IJ !#$ؗ - !#$ؗ $ڗ $ڗ $ܗ$ޗ$$$$(  @# '#K&'#'##1@+'#*##'#"'# #J#'##'#6"'# #J"'#6 ##'#6#Q'#R&'##Z'#I'#I"'# # #T#a'#"'# #$^#)(#Z'#X&'#Z'#Z"'# # #T #U'#X&'#'#6"'# # #T -#X)(#Z'#X&'#Z'#X&'#Z"'# # #T #`'#6'#6"'# # #T #b'#6'#6"'# # #T #g'#6#h'#6#'# #['#'#"'# #J"'# # #\#])(#Z'#Z"'#Z #^'#Z"'#Z #_"'# # #\#Y'#6"'#e #J#'#"'#e #J#'#6"'# #J#'#6"'#e #J#'#I"'#X&'# ##'#I"'#X&'#e ##'#I"'#X&'# #"'#6 ##'#I"'#X&'#e ##'#I'#6"'# # #V#'#I'#6"'# # #V#'#6"'#X&'#e ##'#f&'#"'#f&'#e #2#'#f&'#"'#f&'# #2#'#f&'#"'#f&'#e #2 #m'#!#n'#"#'###c'#1&'#"'#6 #d$#e'#f&'#%#i'#X&'#"'# #&#j'#X&'#'#6"'# #J #V'#k'#X&'#"'# #(#l'#X&'#'#6"'# #J #V)#o'#'#6"'# #J #V'# #p*#q'#'#6"'# #J #V'# #p+#r'#'#6"'# #J #V'# #p,#s'#"'# #-#'#I.#"'#f&'# #y #T/#'#f&'#0#'#I"'#f&'# #y11tUUQZEamUX2`bbUgUhU[]SYr W7gUmUnUcei:jrkloqZrs4OA  @#" #J#" ###+*#+*##'# " #J#"'# #,#"'# #," #f##'#6" # #'# -#'#I" #" #" #J # #'#I" #" #" #J # #'#1" ##'#I" #" #" #J#" ##'#1"'#1 #"'# ##" #J8Rr.Uj# +*#+*#+'#6*##'# " #J#'#6" #" ##"'# #,#"'# #," #f# " #" #" #J ## -'#1" ##" ## " #" # *:J_x  -. # +'#6*# +'#6*# !+'#6*#x"+'#6*##+'#6*#$+'#6*#%+'#6*#&#  # #  #x # # # #' x,A^" ##('##)+'#*#A*+'# *#++'# *#,# #A # #-A "7^" #'##."'# ##/ O ^|  @#" #'#&'#'##"'#e #J#"'# #'#I"'#e #T ##"'#1&'# #'#1#" #'## "'# ##!" #J#" #" ##  '##"#'# #'#I" #" #" #J # -#'#I" #" #" #J # #" #" #" #J #" ##" #Znà  '####'#1" ## -'#1" ##'#6" #" ## '#I" #" #" #J #gĀ -ęĺ " #J'#6#$" #J'#6#%" #J'#6#&" #J'#6#'" #J'#6#(" #J'#6#)%+'#*#*K$+,$-.$/0%+*#1'#i#*%+*#2'#j#* -%Pl© ! " E" R# $$%?&Z'u(Ő)ū%*%1%2  @##3P#'#@+'#6*#4@+'#6*#5@+'#6*#6@+'#6*#7@+'#*#8@+'#*#9@#:'#6"'# #;U45 6738I9_:ƥ3  @# '#&'#<'#=#>+'#V*#?+'#1&'#V*#@#>"'#V ##['#X&'#<#A'#1&'#<#Z'#I'#I"'#< # #T#5'#I"'# #"'#< #J #"'# ##'#I"'#< #J #'#I"'#X&'#< # -#Y'#6"'#e # #'#X&'#< #'#I'# "'#< #"'#< # # #'#I"'# #B"'# #C"'#X&'#< #"'# ##'#I"'# #B"'# #C"'#< ##'#I"'# #B"'# #C"'#X&'#< ##'#I"'# #B"'# #C#'#I#'#<#'#I"'# #"'#< #J#'#I"'# #"'#X&'#< ##'#<"'# ##'#6"'#e ##'# #'#<"'# ##Q'#R&'#<#B'#1&'#V?$@A^[U[tUAȌZȼ5VGYgUɀHʆʯ5UuU˄ˤUQ˽UB>  @##C@#'# "'#1 #"'#e #"'# #("'# #)@#'# "'#1 #"'#e #"'# #(@#'#1"'#1 #"'# #B"'# #C"'#1 #DG#=#B'#1&'#VͬUB̢̽C͈͞=ėԀ /Ǿ̒  @ -##c#E$$ef$gh$$!#i#j#k#$FG!#?$BC!##$IJ!#<$FG#F @#G'#H" #J -@#I'#H" #"'#6 # @#J'#H" #"'#6 # @#K'#H" #L" #M"'#6 #N"'#6 #O @+*#P@#Q@#R@#S" #T@#U'#H" #" #J@#V'#H" #" #" #@#W'#H" #" #" #@#X'#H" #" #L" #M" #N" #O κGIJ,KpPπQώRϜSϱUVW$X" #Y#Z" #[#\" ##]%+'#*#^$_`%+*#a'#i#^%+*#b'#j#^ '##c#j#$de #f'#~#'#~" #J#>'#I"'#e ##k$gh0#c#8 #i'#!#'#e#a#b"#j'#e#a#b##'#e#i$k`#j$lm$#n'#I"'# #%%#o'#I"'#e #"'#e #j&#p'#q#k$rf'#s'#q" #J(#t'#q" #J#k$u) {fяѩ>8UiUUj;Uin҉oҷpst '#c#v#j#$wx*0#v#8+#J'#,#y'##k$zJ#1#2-Ӥ8ӳUJUy '#{#|#w #w#x#w #w#y$}~#w #w#$#j#$.#'#"'# #" #"'#6 #/#'#" #"'# #0#'#"'# #"'# #1#'#"'#1&'# #"'# #2#'#"'# #"'# #3#'#" #" ##k$40#|#85@+'#&'#*#'#&'#$6@+'#&'#*#'#&'#$7@+'#&'#*#'#&'#$f8@+'#&'#*#'#&'#$9#'#:#'#1&'##j$#i$;#O'# #i$#j$<#'#I=#'#"'# #"'# #d>#'#" #" #d#k$?#'#" ##k$@#'#I"'# #A#'#&'#B#'#&'#C#'#&'#D#'#&'#EjԤ/]Վ8՝ ByU֋UUO2c׍׮UUUU7'#I"'# ##F '###w #w#x#w #w#y$}~#w #w#$#j#$GP#|'#6H#'#~&'#|"'# #"'# #O'#I"'# # #'#I"'# # #I#'#~&'#"'# #'#I"'# # #J#'#6K0##8L#'# "'#e #m"'#e #M#'#"'# ##k$N#'#"'# #"'# #O#k$#j$q#i$q#i$|O;U|K U8+Yډ)(#Z"'#q #'#~&'#Z#P '###j#$Q#%'#~&'# " #R#'#~" #S#'#~" #T#'#&'#v" #"'#H # -"'# #i"'#6 #U#'#&'#c" #"'#H # -"'# #i"'#6 #V0##8W#'#e#1X#'#6Y#'#Z #"'# #J[#'#\#'#6]#`'#q"'#e ##k$ʂ%^#'#q"'#e ##k$̘#j$q#i$q#1_#'#q"'#e #F"'# #%`#'#q"'#e #F"'# #%a#'#q"'#e ##k$И#j$q#i$q#1#i$јb#'#q"'#e # -"'# #i#k$Ә#j$q#i$q#i$Ԙcc#'#q"'#e # -"'# #i#k$֘#j$q#i$q#i$Ԙcdۉ%ۮ9܎8ܝUܶUUVUU`Gݚ] '##H#j#$טe0#H#" #Jf0#H#" #"'#6 #g0#H#" #"'#6 #h0#H#" #L" #M"'#6 #N"'#6 #Oi0#H#8j#L'#e#1k#N'#6l#M'#e#1m#O'#6n@#'#H"'#e #L"'#e #M"'#6 #N"'#6 #O#k$ݎo#'#6"'#e #p@#'#H"'#e #"'#6 ##k$q@#'#H"'#e #J#k$r@#'#H"'#e #"'#6 ##k$s H8ULUNUMUOFg '###j#$t$#'#~" #J" #u#'#~v#f'#~" #w#%'#~&'# " #x#'#~" #J" #y#'#~" #z#'#&'#v" #"'#H # -"'# #i"'#6 #{#'#"'# #" #"'#6 #"'#6 #|0##8}#'#6~#'#1&'##j$#i$#'#e#1#'# #"'# #J#'##4'#q" #J" ##j$q#i$q#a#'#q" #J" ##k$#j$q#i$q#a#'#q" #J#k$#j$q#i$q#a#5'#q#k$#`'#q"'#e ##k$ʂ%#'#"'# #"'#e #"'# #d#'#" #" #" #d#k$ꀊ#'#" #" ##k$ꀋ#p'#q"'#e ##k$rf#'#I"'# ##'#q"'#e ##k$̘#j$q#i$q#1#'#q"'#e #F"'# #%#'#q"'#e #F"'# #%#'#q"'#e ##'#"'# ##'#q"'#e # -"'# #i#k$Ә#j$q#i$q#i$Ԙc#'#q"'#e # -"'# #i#'#q" #J" ##j$q#i$q#a#'#q" #J" ##k$#j$q#i$q#a#'#q" #J#k$#j$q#i$q#a@#)(#Z'#c'#&'#Z"'#q #"'#6 #$f%>Y8UUIUcUvVU4A5`"[p4fI|e '###$0##8#'#e#X'##J'#e8UUXUJ '###$0##8#"'# #O@#'#" #O#'#I"'#| #"'# #"'# #d#'#I"'#| #"'# #" #d#k$#'#I"'#| #P8`^{ '###$0##8#'#|# '#e#'#8UU U '#q##j#$ - 0##8@+'#&'#*# '#&'#$ @+'#&'#*#'#&'#$#'#&'##'#&'#8' _UU '#{#q#j#$ 0#q#8@+'#&'#*#'#&'#$f@+'#&'#*#'#&'#$#f'##'##'##'##k$#i$k`#'#e#i$k`#'##'#&'##'#&'# 8-eUfUUUU%U8URU '#{##j#$#'#~&'#|0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$f#'#|#f'##'##'#1&'##j$#i$#'#I#'#"'# ##'#&'## '#&'##'#&'#U8JUUfUU)>aU{U U '###j#$!" 0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#$'##%'##&'# #i$#j$#''# #i$#j$#'##k$( A8Q^|U$U%U&U'=U -άF[бZ\]%^%a0%bOcxv|ط7*]1߶Hv,8aql^)  @ ##c#*$0##$!#$$ef$gh!#i#j#k#$FG!#?$BC!#$IJ#+@#,'#-"'# # 5, '#.'#/#0#j#$12 -0#0#8 #0 ##0#X #'#3#4'#38^XUU4 '##5#j#$670#5#8@+'# *#8@+'# *#9@+'# *#:@+'# *#;@+'# *#<#='# #J'# #J"'# #J#>'# #>"'# #J#?'# #?"'# #J#@'#I"'# #=#A'#I"'# #="'# #?08?8V9m:;<U=UJVJU>V>U?-V?H@hA '#B#C#w #w#x#w #w#y#w #w##j#$DE 0#C#8!#C"##C#X#P#|'#6$]8l^yXU| '#B#F#w #w#x#w #w#y#w #w##j#$GH%0#F#8&#F'##F#X(P#|'#6)8^,X#O'# ?#P'# @ #P"'# #JA8UOUPVP '##Z#j#$[\B0#Z#8C#O'#]D#P'#]Es8UOUP '##^#j#$_`F0#^#8G#O'#aH#P'#aI8UOUP '##b#j#$cdJ0#b#8K#O'#L#P'#M #P"'# #JN[8jUO|UPVP '##e#j#$fgO0#e#8P#O'#hQ#P'#hR8UOUP '##i#j#$jkS0#i#8T#O'#lU#P'#lVe8tUOUP '##m#j#$noW0#m#8X#O'#pY#P'#pZ8UOUP '##3#j#$qr[0#3#8\#O'#]#P'#^ #P"'# #J_M8\UOnUPVP '##s#j#$tu`0#s#8a#O'#vb#P'#vc8UOUP '#-'#w#B#j#$xyd 0#B#8e#Bf##B#Xg#z'#-h#{'#Ii#|'#I"'# #2j#}'#Ik#~'#I"'# #2l#'#4m#'#4n#'#4o#'#p#'#q _8n^{XUz{|}~/CUUU '###j#$r0##8s#t###Xu#'#Zv#'#Zw#'#Zx8^ XU+U=U '#.##j#$y0##8z#{###X|#'#T}8^XU '#.##j#$~0##8####X)88^FX '#-##j#$0##8####X8^X '#-##$0##8###X8X '###j#$0##8####X#'#Z#'#Z#'#Z#'#Z[8k^yXUUUU '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$0##8####XP#|'#6@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'#3#'#3#'#T#'#Z#'#3#'#Z#f'#Z#g'#Z8^XU| 8PUcUvUUUUUfUg '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$0##8####XP#|'#6@+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'#3#X'#T#'#e#'#Z#'#3#'#Z#f'#Z#g'#Z8^XU|!9QiUUXUUUU Uf Ug '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$ -0##8####XP#|'#6#'#3#'#Z#'#3#'#Z#f'#Z#g'#Z - -"8 -2^ -@X -QU| -bU -uU -U -U -Uf -Ug '#-'###j#$0##8###X@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'#3#'#3#'#b#'#b#'#b#'#b#'#T#'#Z#'#3#'#Z#f'#Z#g'#Z J8 ZX k       U &U 9U LU _U rU U U U U Uf Ug '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$řƀ0##8####XP#|'#6@+'# *#@+'# *#@+'# *#@+'# *##'#b#y'#b#'#T#'#3#'#e#'#b#'#b#'#W#'#W#'#Q#'#W#'#W#'#Z#'#3#'#Z#f'#Z#g'#Z8^%X6U|G_wUUyUUUUU,U?URUeUxUUUUUfUg '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$֙׀0##8####XP#|'#6#'#b#'#3#'#b#'#b#'#b#'#Z#'#3#'#Z#f'#Z#g'#Z8"^0XAU|RUeUxUUUUUUUfUg '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$ۙ܁0##8####XP#|'#6@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# #'#3 -#'#3 #x'#b #'#T #'#T#'#Z#'#3#'#Z#f'#Z#g'#Z8^XU|'?WoUUUxUUUU#U6UfHUg '#-##w #w#x#w #w#y#w #w#$#w #w##j#$0##8####XP#|'#6#'#b#'#bR8b^pXU|UU '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$ 0##8####XP#|'#6#'#Z #'#3!#'#Z"#f'#Z##g'#Z$ [8k^yXU|UUUUfUg '###w #w#x#w #w#y#w #w#$#w #w##j#$%0##8&#'###X(P#|'#6)8^XU| '###w #w#x#w #w#y#w #w#$#w #w##j#$*0##8+#,###X-P#|'#6.s8^XU| '###w #w#x#w #w#y#w #w#$#w #w##j#$/0##80#1###X2P#|'#63@8P^^XoU| '###w #w#x#w #w#y#w #w#$#w #w##j#$40##85#6###X7P#|'#68 8^+X#'#b?#'#b@#'#I"'# #"'# #A#'#ZB#'#3C#'#ZD#f'#ZE#g'#ZF 8^XU|"U5UHU[UUUUfUg '#-'#'#/##w #w#x#w #w#y#w #w#$#w #w##j#$G 0##8H#I###XJP#|'#6K#'#iL#'#ZM#'#3N#'#ZO#f'#ZP#g'#ZQ#4'#3R 8^XU|UU%U8UKUf]UgoU4 '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$S 0##8T#U###XVP#|'#6W#'#ZX#'#3Y#'#ZZ#f'#Z[#g'#Z\ F8V^dXuU|UUUUfUg '#-##w #w#x#w #w#y#w #w#$#w #w##j#$]0##8^#_###X`P#|'#6a#'#3b8^XU|U '#-'## #w #w#x#w #w#y#w #w#$#w #w##j#$ - c0# #8d## #Xe@+'# *# f@+'# *# g@+'# *#h#'#3i#'#Tj#'#bk#'#bl#'#Zm#'#3n#'#Zo#f'#Zp#g'#Zq 8 X      U U!U!"U!5U!HU![U!nUf!Ug '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$r 0##8s#t###XuP#|'#6v#'#bw#'#bx#'#3y#'#Zz#'#3{#'#Z|#f'#Z}#g'#Z~ "o8"^"X"U|"U"U"U"U"U#U#!Uf#3Ug '#-##w #w#x#w #w#y#w #w#$#w #w##j#$0##8####XP#|'#6#f'#b#g'#b#h'#b$8$^$&X$7U|$HUf$ZUg$lUh '#-'###w #w#x#w #w#y#w #w#$#w #w##j#$0##8####XP#|'#6#'#3#'#b#'#b#'#b#'#b#'#b#'#Z#'#3#'#Z#f'#Z#g'#Z%%8%5^%CX%TU|%eU%xU%U%U%U%U%U%U%U&Uf&"Ug '#-##w #w#x#w #w#y#w #w#$#w #w##j#$ 0##8####XP#|'#6#!'#b#"'#b##'#b#$'#b#'#b#f'#b#g'#b#h'#b ' 8'^'*X';U|'LU!'_U"'rU#'U$'U'Uf'Ug'Uh '#-'##%#w #w#x#w #w#y#w #w#$#w #w##j#$&' -0#%#8#%##%#XP#|'#6#'#3#'#Z#'#3#'#Z#f'#Z#g'#Z -(8(^(X(U|(U(U)U)$U)7Uf)IUg '#-'##(#w #w#x#w #w#y#w #w#$#w #w##j#$)*0#(#8#(##(#XP#|'#6@+'# *#+@+'# *#,@+'# *#-@+'# *#.@+'# *#/@+'# *#0#1'#b#2'#b#3'#W#'#b#4'#T#X'#T#'#Z#'#3#'#Z#f'#Z#g'#Z*8*(^*6X*GU|*X+*p,*-*.*/*0*U1*U2+U3+!U+4U4+GUX+ZU+mU+U+Uf+Ug '#-'#/#5#w #w#x#w #w#y#w #w#$#w #w##j#$67 0#5#8#5##5#XP#|'#6#8'#T#'#Z#9'#T#'#Z#f'#Z#g'#Z#4'#3 ,8,^,X,U|-U8-U--U9-@U-SUf-eUg-wU4 '###j0##8#'#Z#'#3#'#Z#f'#Z#g'#Z-8.U.U.)U.0#<#8#<##<#XP#|'#6#'#Z#'#Z#f'#Z#g'#Z/O8/_^/mX/~U|/U/U/Uf/Ug '#.#?#j#$@A0#?#8#?##?#X0;80K^0YX '#.##$BC0##8###X#D'#b#E'#"'# #F#G'#4#H'#6"'# #I#J'#6"'# #I080X0UD0E0G1H10J '#-'#w#.#$KL -0#.#8##.#X#M'#-#N'#-#'#s#O'#p#P'#Q#k$RS#T'#Q#k$UV#'##'# -181X1UM1UN1U2 O2P2CT2gU2zU '#.'#/#'#j#$WX 0#'#8#'##'#X#'# #"'# #J#'#Z#'#i#'#Z#f'#Z#g'#Z#'#~#4'#3 383^3&X37U3JV3fU3yU3U3Uf3Ug33U4 '##]#j#$YZ 0#]#8 -@+'# *#[ @+'# *#\ @+'# *#] @+'# *#^@+'# *#_@+'# *#`@+'# *#a -@+'# *#b@+'# *#c @+'# *#d@+'# *#e#='# #J'# #J"'# #J#>'# #>"'# #J#?'# #?"'# #J#@'#I"'# #=#A'#I"'# #="'# #?4i84y[4\4]4^4_4`5 a5!b59c5Qd5ie5U=5UJ5VJ5U>5V>5U?6V?6@6?A '#-'#=&'#]'#f&'#]'#1&'#]#a#j#$gh0#a#8 #'# !#i'# "#'#]"'# ###5'#I"'# #"'#] #J$ #"'# #J%#m'#]&#n'#]'#'#](#s'#]"'# #)#j'#I"'# #"'#] #k*#l'#]"'#] #k+#'#I,#m'#]"'# #-#n'#]"'#] #k.#o'#]"'#] #k"'# #/#p'#]"'# #0#q'#]"'#] #k"'# #17c87sU7Ui7757V7Um8 Un8U81s8Rj8l88m8n8o9,p9Nq '##r#j#$st20#r#83#r4##r#X5#u'#Z6#v'#Z7#w'#Z8#x'#Z9:&8:6^:DX:UUu:hUv:{Uw:Ux '#y#z#j#${|:0#z#8;#z<##z#X=#u'#Z>#v'#Z?#w'#Z@#x'#ZA:8;^;X;-Uu;@Uv;SUw;fUx '#-'#:#}#j#$~B0#}#8C#}D##}#XE@+'# *#F@+'# *#G@+'# *#H@+'# *#I@+'# *#J@+'# *#K#'#ZL#'#TM#'#ZN#'#LO#'#TP#'#ZQ#'#ZR#'#I"'#5 #S#'#IT#'#iU#;'#mV;8;^;X< <%<=E8>U^>cX>tU>U>U>U>Uf>Ug>U>U '##Q#j#$c0#Q#8d#'#e #"'# #Jf#'#g #"'# #Jh#R'#i #R"'# #Jj#`'#k #`"'# #Jl#'#m #"'# #Jn#T'#o #T"'# #Jp#'#Qq#'#Qr#'#Qs#'#Q"'#Q #t#'#Q"'# #u#'#Q"'# #f"'# #gv#x'#Q"'# #w#'#Q"'# #"'# #x#'#Q"'# #y#'#Q"'# #z#'#Q"'# #f"'# #g{?8?U?V?U?V?UR@VR@U`@1V`@MU@`V@|UT@VT@@@@AA3AaxAAAA '#-##j#$|0##8}###X~B8C X '###j#$0##8#J'# #J"'# #JCW8CgUJCyVJ '#-'#=&'#'#f&'#'#1&'##h#j#$0#h#8#'# #i'# #'#"'# ##5'#I"'# #"'# #J #"'# #J#m'##n'##'##s'#"'# ##j'#I"'# #"'# #k#l'#"'# #k#'#I#m'#"'# ##n'#"'# #k#o'#"'# #k"'# ##p'#"'# ##q'#"'# #k"'# #D8DUD!UiD3DT5DVDUmDUnDUDsDjElEAEVmExnEoEpEq '###j#$0##8####XF8F^FX '#-'#:'#/'#w##j#$0##8####X#'#Z#'#T#'#s#'#T#'#Z#f'#Z#g'#Z#'#i#;'#m#'##'##4'#3GH8GX^GfXGwUGUGUGUGUGUfGUgGUH U;H UH3UHFU4 '###j#$0##8#f'# #f"'# #J#g'# #g"'# #J#'#"'#Q #H8HUfIVfI)UgI;VgIV '###j#$ 0##8#'# #i'# #j'#I"'# #"'# #k#l'#"'# #k#'#I#m'#"'# ##n'#"'# #k#o'#"'# #k"'# ##p'#"'# ##q'#"'# #k"'# # I8IUIUiIjJ-lJPJemJnJoJpJq '###j#$0##8####X#'##'#K8K^KXKUKU '###j#$ÚĂ0##8####X#'##'#LG8LW^LeXLvULU '##l#j#$ŚƂ0#l#8@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# -@+'# *#@+'# *#@+'# *# @+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'#  #"'# #J#'#  #"'# #JL8LMM+MCM[MsMMMMMNNN3NKUN]VNxUNV '#y##j#$ؚق 0##8####X#'#Z#'#Z#'#Z#'#Z#'#Z#'#Z Oe8Ou^OXOUOUOUOUOUOU '##p#j#$ݚނ 0#p#8#'# #"'# #J#'# #"'# #J#f'# #f"'# #J#g'# #g"'# #J Pq8PUPVPUPVPUfPVfQ UgQVg '###j#$ 0##8####X#'#Z#'#Z#'#Z#'#Z#f'#Z#g'#Z Q8Q^QXQUQUQUR URUfR.Ug '#-'#/##j#$0##8####X#X'# #X"'# #J#4'#3R8R^RXRUXRVXSU4 '#B##w #w#x#w #w#y#w #w##j#$0##8####XP#|'#6S8S^SXSU| '#-##j#$0##8# ###X -#'#b#k$2 T08T@^TNXT_U '#-'#=&'#'#f&'#'#1&'###j#$ 0##8 #'# #i'# #'#"'# ##5'#I"'# #"'# #J #"'# #J#m'##n'##'##s'#"'# ##j'#I"'# #"'# #k#l'#"'# #k#'#I#m'#"'# ##n'#"'# #k#o'#"'# #."'# ##p'#"'# ##q'#"'# #k"'# #T8UUUUiU'UH5UtVUUmUUnUUUsUjVlV5VJmVlnVoVpVq '#-##$ -0##8 #!###X"#'#6# #"'#6 #J$#'#% #"'# #J&#'#'#X'#( #X"'# #J) -W8W^WXWUWVX UXVX:UXMUXX`VX '##*+'#<*#"+# #",#'#f&'#-#'#I"'#f #y.X"X^YY" '#<'#'##-#j#$/@+*#00#-#"'# #10#-#*"'# #*"'# #"'# #2#'#3#'#1&'#<4 #"'#1&'#< #J5#'#6#'#7 #"'# #J8#'#"'# #*"'# #"'# #9#'#I"'# #U"'# #:#'#I"'# #U"'# #"'# #"'# #;#'#<"'# #U"'#< #<# '# -=# '#6># '#I?@# '#6"'# #@0#-#8A@+'#&'#*#'#&'#$B@+'#&'#*#'#&'#$C@+'#&'#*#'#&'#$D@+'#&'#*#'#&'#$E@+'#&'#*#'#&'#$F@+'#&'#*#'#&'#$ G@+'#&'#*#'#&'#$H@+'#&'#*#'#&'#$ !#$"#I@+'#&'#*#$'#&'#$%&J@+'#&'#*#''#&'#$()K@+'#&'#*#*'#&'#$+,L@+'#&'#*#-'#&'#$./M@+'#&'#*#0'#&'#$12N@+'#&'#*#3'#&'#$45O@+'#&'#*#6'#&'#$78P@+'#&'#*#9'#&'#$:;Q@+'#&'#*#<'#&'#$=>R@+'#&'#*#?'#&'#$@AS@+'#&'#*#'#&'#$fT@+'#&'#*#B'#&'#$CDU@+'#&'#*#'#&'#$EV@+'#&'#*#F'#&'#$GHW@+'#&'#I*#J'#&'#I$KLX@+'#&'#I*#M'#&'#I$NOY@+'#&'#I*#P'#&'#I$QRZ@+'#&'#*#S'#&'#$T[@+'#&'#*#U'#&'#$VW\@+'#&'#*#X'#&'#$YZ]@+'#&'#*#['#&'#$\]^@+'#&'#*#^'#&'#$_`_@+'#&'#*#a'#&'#$bc`@+'#&'#*#d'#&'#$efa@+'#&'#*#g'#&'#$hib@+'#&'#*#j'#&'#$klc@+'#&'#*#m'#&'#$nod@+'#&'#p*#q'#&'#p$rse@+'#&'#*#t'#&'#$u$f@+'#&'#*#v'#&'#$wxg@+'#&'#*#y'#&'#$z{h@+'#&'#*#|'#&'#$}~i@+'#&'#*#'#&'#$j@+'#&'#*#'#&'#$k@+'#&'#*#'#&'#$l@+'#&'#*#'#&'#$m@+'#&'#*#'#&'#$n@+'#&'#*#'#&'#$o@+'#&'#*#'#&'#$p@+'#&'#*#'#&'#$q@+'#&'#*#'#&'#$r@+'#&'#*#'#&'#$s@+'#&'#*#'#&'#$t@+'#&'#*#'#&'#$u@+'#&'#*#'#&'#$v@+'#&'#*#'#&'#$w@+'#&'#*#'#&'#$x@+'#&'#*#'#&'#$y@+'#&'#p*#'#&'#p$z##-#X{#'#3#k$|#'##k$}#'#-~#'#I#D'#I#'# #"'# #J#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##$ƒ#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#p#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#pYYY*ZUZUZ3VZUUZgUZyVZZ[[R[U [U [ [ [8[\!\Y\\]]9]q]$]'^'*^_-^0^3_6_?9_w<_?_`B`W`F`J`Ma7PaoSaUaXb[bO^babdbgc/jcgmcqctdvdGyd|dde'e_eeff?fwffggWgggh7hoXhUhUhUhhDhUiVi.UiHUibUi|UiUiUiUiUj Uj&Uj@UjZUjtUjUjUjUjUjUkUk*UkDUk^UkxUkUkUkUkUkUlUl.UlHUlbUl|UlUlUlUlUlUmUm2UmLUmfUmUmUmUmUmUnUnUn6UnPUnjUnUnUnUnUnU '#.'#:'###j#$%#0##8###X#'# #"'# #J#'##'#Z#'#Z#f'#Z#g'#Z#'#6#'#6"'#- #"'#p ##'#6"'#- #"'#p ##'#5#k$#'#]#k$#'#Q#k$#'##k$#'##k$ # -'#p#k$ # '##k$#'#"'#Q ##k$#'#I#'#I#'#4#'#<"'# ##'#1&'#V"'#p #"'#- ##j$#i$#'#1&'#V"'#p #"'#- ##j$#i$#'#I#'#I"'# ##'# "'# # #!'#I#"'#I"'# ###$'#I#'#i#;'#m#%'#  #%"'# #J%sP^s^8snXsUsVsUsUsUsUfsUgt t tOt~tttuu2 -uV uzuuuuv v`vvvw !w "wA$wVUwiU;w|U%wV% '#.#&#j#$'(0##&##&#Xx8x^xX '#-'#:#)#j#$*+0#)#8#)##)#X#'#i#;'#myN8y^^ylXy}UyU; '#,#-#j#$./0#-#8#-##-#Xy8z^zX '##w#j0#w#8#'##'#zT8zdUzwU '#.#0#j#$120#0#8##0#X@+'# *#3@+'# *#4@+'# *#5#6'#T#7'#Z#8'# "'# #I#9'#4#:'#"'# #;#<'#p"'# #;#='# #>'#4"'# #;#?'#"'# #;#@'#4"'# #;"'# #A#B'#I"'# #;"'# #Az8zXz3{4{5{5U6{HU7{[8{}9{:{<{={>| ?|.@|[B '#,#C#j#$DE0#C#8#C##C#X}(8}8^}FX '#0'#/#F#j#$GH 0#F#8 -##F#X @+'# *#I @+'# *#J @+'# *#K@+'# *#L@+'# *#M@+'# *#N#<'#T#O'#T#P'#Z#4'#3 }8}X}I}J}K~ L~!M~9N~QU<~dUO~wUP~U4 '#0#,#j#$QR0#,#8##,#X#'#^#'#^#'#e#f'#^#g'#^$84XEUXUkU~UfUg '#-#S#j#$TU0#S#8#S ##S#X!8^X '###j#$VW"0##8#@+'# *#X$@+'# *#Y%@+'# *#Z&@+'# *#['@+'# *#\(@+'# *#])@+'# *#^*#'#+#'#Q,#X'# -#_'#I"'#Q #.#`'#I"'# #"'# #"'# #/#a'#I"'# #b"'# #c0#d'#I"'# #1#e'#I"'# #2#f'#I"'# #"'# #g3n8~XYZ[\]^&U9ULUX^_`ad e/f '#-'#=&'#'#f&'#'#1&'##v#j#$hi40#v#85#'# 6#i'# 7#'#"'# #8#5'#I"'# #"'# #J9 #"'# #J:#m'#;#n'#<#'#=#s'#"'# #>#j'#I"'# #"'# #k?#l'#"'# #k@#'#IA#j'#B#'#"'#Q ##k$C#m'#"'# #D#n'#"'# #kE#o'#"'# #k"'# #F#p'#"'# #G#q'#"'# #k"'# #H68FUVUih5VUmUnUs%jSlvjmnoFphq '##k#j#$lmI0#k#8J@+'# *#nK@+'# *#oL@+'# *#pMN8^nvop '##/#jN0#/#8O#4'#3P8U4 '#.'#/#q#j#$rsQ0#q#8R#qS##q#XT#'#ZU#'#ZV#f'#ZW#g'#ZX#4'#3YJ8Z^hXyUUUfUgU4 '#-'#:'##t#j#$uvZ0#t#8[#t\##t#X]#'#i^#;'#m_#%'# ` #%"'# #JaF8V^dXuUU;U%V% '###jb0##8c@+'# *#wd@+'# *#xe@+'# *#yf#%'# g #%"'# #Jh8'w?xWyoU%V% '#-'#/#y#j#$z{i -0#y#8j##y#Xk@+'# *#|l@+'# *#}m@+'# *#~n@+'# *#o#'#sp#'#Tq#'#Tr#4'#3s -8X|7}O~gUUUU4 '#-##j#$t0##8u###XvB8RX '#-'###$w0##8x###Xy8X '#-'#/##$z0##8{#|###X}8^Xi'+V^05CFLgILyQ!TW+GZ^/be$9im !3s+BgOxWk .g /  -   mZ4Mh?  !!#E#$~$&4&'(1%)[)(+,M5--.`.:..</0?0j0~1R1.22'34<]6m7 a9}9r::z;y;}=>? -?TQB'BCC*CChFFFGHYHIyIK*KvKLLLlNO8PPDpQ9QtR@R|S"SKSTTTWWX|XYBY_-oswx&yy)yy-z!z5wzz0||C}W}kF~~,S-A^v!k/q tycq'. ;  @ ##c#$0##$!#$$ef$gh$$!#?$BC!#$IJ!#i#p#k##j#<$FG  '###$ -0##8 #"'# #"'# #d @#'#" #" #d @#'#" ##'#  #"'# #J#'# #'# #"'# #J#'# #"'# #J#'# #"'# #J#'#I"'# ##'#I"'# ##'#I"'## ##'#I"'## #8^U/VIUZUlVUVUV!A '###$ -0##8#"'# #d@#'#" #d#'# #'# !#'# "#'###'#I"'## #"'# #"'# #$#'#I"'## #"'# #"'# #%#'##"'# #& -8 ^#>UPU`UqU '###w #w#x#w #w#y#$'0##8(#"'# #"'# #d)@#'#" #" #d*@#'#" #+#.'#, #."'# #J-#'#.#'#6/ #"'#6 #J0#'#1 #"'# #J2#'#3 #"'# #J4#'#5#B'#I"'# #"'# #"'# #68^U.'V.AUSUdV~UVUVUB '###w #w#x#w #w#y#$7 0##88P#|'#69#'#:#'#~;#'#<##k$=#'#~>#?#'#@#'#"'# #"'# #"'# #A#'#~&'#"'# #"'# #"'# #(#k$ĜB#'#~&'#"'# #"'# #"'# #(C 8U|U.K_^l '###$ǜD0##8E#'# F8U '###$ʜG 0##8H#'#I#'#J#'#K#'#L#'#M#'#N#'#O#'#P#'#Q#'#I"'# #f"'# #g"'# #h"'# #"'# #"'# #R#'#I"'# #f"'# #g"'# #hS '86UHUZUlU~UUUUU7 '#{##$؜T0##8U#'# V #"'# #JW#'#X #"'# #JY#'#Z #"'# #J[#'#\#'# ]#'# ^#'#" #"'# #."'# ##k$ߜ_#'#I" #"'# #."'# #`#'#I"'# #"'# #."'# #a#'#I"'# #"'# #.b8UV U2VMU_VzUUU2t '###$圫c 0##8d#'#e# '#f# '#g#J'#h #J"'# #Ji#'#"'# #j#'#"'# #k#'#"'# #J"'# #l#'#"'# #J"'# #m#'#"'# #"'# #"'# #n#'#"'# #J"'# #o#'#"'#1&'# #"'# #"'# #p *89UKU ]U oUJVJ :v '#-'#&'#'###$q0##8r#'#"'# #s#'#I"'#&'#'# #2t#'#6"'# #Ju#'#6"'# #v#'#"'# #w#Z'#I'#I"'# #"'# #J #Tx#'#X&'#y#'#X&'#z#'# {#g'#6|#h'#6}#5'#I"'# #"'# #J~#'#"'# #'# ##'#"'# ##'#Iy86ZrUUUUgUh51S '###$0##8#"'# #X"'# ##@#'#" #X" ###'##'##'#8 -^2UUhU{U '###$0##8@+'#&'#*#?'#&'#$@A#'#I"'# ##k$B#'#I"'# ##'#&'#8?#UzU '###$0##8#'#6 #"'#6 #J#'##:'## '##'##'#8UVU,U:?U RUeU '#{##$0##8@+'#&'#*#'#&'#$#'# #'#"'# ##'#"'# ##'#&'#8U-OrU '###$0##8#'##'##'#I"'# #"'#e # 8UU '## -#$ -0# -#8# -"'# #"'# #"'# #d@#'# -" #" #" #d@#'# -" #" ##T'#8^UT '## #$ 0# #8m8 '#{##$0##8#'##'##W'##'##('##'##'##*'#"'# #"'# #"'# ##'##'#"'# ##'#"'# ##'##'##'#"'# ##'# #'##!'#""'#1&'# ##"'#1&'# #$#k$%&#''#("'#) #*#+'#,#-'#."'#/ #0#1'#2#3'#4#5'#6"'#1&'# #7"'#1&'# #8"'# #d#9'#6"'#1&'# #7"'#1&'# #8" #d#k$:5#;'#6"'#1&'# #7"'#1&'# #8#k$:5#'#"'# #"'# #"'# ##<'#=#>'#?#'#~&'#"'# #"'# #"'# #(#&'#~8UUUWUU(-C*~ -0F\!'+-1305}9;_<u>& '###$@ 0##8#"'# #"'# #d@#'#" #" #d@#'#" ##A'##'##'##B'##X'# #X"'# #J#C'#I"'## #D"'## #E"'## #F 8^!D`UAsUUUBUXVXC '###$GH0##8#"'# #"'# #d@#'#" #" #d@#'#" #8^ '###$IJ0##8#"'# #"'# #d@#'#" #" #d@#'#" #=8M^x '###$K0##8#"'# #"'# #d@#'#" #" #d@#'#" ##2'#8^1TpU2 '###$L0##8#"'# #"'# #d@#'#" #" #d@#'#" ##.'# #."'# #J#'#6 #"'#6 #J8^'CU.UV.pUV '###$M0##8#"'# #"'# #d@#'#" #" #d@#'#" ##N'#8^1TpUN '## #$O -0# #8# "'# #"'# #d@#'# " #" #d@#'# " ##P'##Q'##R'##S'##T'##U'# -8^'CUPVUQiUR|USUTUU '###$VW0##8#"'# #"'# #d@#'#" #" #d@#'#" ##B'#8.^Y|UB '##"#$XY0#"#8 #""'# #"'# #d -@#'#"" #" #d #C'#I"'## #D"'## #E"'## #F 8^)LC '##(#$Z( 0#(#8#("'# #"'# #d@#'#(" #" #d#*'#)8^U* '##,#$[,0#,#8#,"'# #"'# #d@#'#," #" #d@#'#," ##'#/q8^U '##.#$\.0#.#8#."'# #"'# #d@#'#." #" #d#0'#/D8T^|U0 '##]#$^]0#]#8#]"'# #X"'# ##@#'#]" #X" ## #_'#!8^)LU_ '##`#$a`"0#`#8##`" #b"'# #"'# #$@#'#`" #b" #" #%@#'#`" #b&#'# '#c'#~&'#(#d'#~"'# #e#k$)8^ (U9cVd '##2#$fg* 0#2#8+#2"'# #"'# #d,@#'#2" #" #d-@#'#2" #.#'#/#'#0#X'#1 #X"'# #J2#h'#I"'#6 #i3 8^7SUfUyUXVXh '##4#$jk40#4#85#4"'# #"'# #d6@#'#4" #" #d7@#'#4" #8#l'#9 #l"'# #J:#m'#; #m"'# #J<#n'#= #n"'# #J>#o'#? #o"'# #J@#p'#A #p"'# #JB#q'#C#r'#D#s'#E#t'#F #t"'# #JG#'#H#'#I#'#J#u'#K #u"'# #JL#v'#M #v"'# #JN#'#I"'# #f"'# #g"'# #hO#'#I"'# #f"'# #g"'# #hP,8<^gUlVlUmVmUnVn3UoFVobUpuVpUqUrUsUtVtU UU2UuEVuaUvtVv '##6#$w6Q0#6#8R#6"'# #"'# #dS@#'#6" #" #dT@#'#6" #U8^$G '###$xyV0##8W@+'#&'#*#z'#&'#${|X#'# Y#}'#I"'#~ #Z#'#&'#[8zU}U '##=#$=\0#=#8]#="'# #"'# #d^@#'#=" #" #d_@#'#=" #`#'#a8^U '##?#$?b0#?#8c#?"'# #"'# #dd@#'#?" #" #de@#'#?" #f#'##g #"'## #Jh#'#i #"'# #JjS8c^Ž±UVU V%a]-`o@gx?[ -'I }` "(2M, .]_z`246c~8\= /?)Z`  @ ##c#$0##$!#$$ef$gh!#?$BC!#$IJ!##<#i#k##p#j$FG7'#I"'# #"'# ##7'#I"'# #"'# #f# 7'#I"'# ## -7'#I"'# #f#  '###w #w#x#w #w##$| 0##8 P#|'#6#O'##'#I"'# #'"'# #&"'# #O"'# #("'# ##k$#'#~&'#"'# #'"'# #&#k$#'#I"'# #O"'# #("'# ##k$#'#~&'##k$#'#I"'# #O"'# #("'# ##'#~&'##k$ 8ƎU|ƞUOư`ǯ '###$ 0##8@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'# #W'#! Ȧ8ȵ(?VmU~UW '###$"0##8##'# $#'#%#'# &8U(U:U '#-'#=&'#'#f&'#'#1&'###$' 0##8(#'# )#'#"'# #*#5'#I"'# #"'# #J+ #"'# #J,#m'#-#n'#.#'#/#s'#"'# #0#.'#"'# #1#" ##k$.2 ʷ8U5 V8UmIUnZUksˋ.˫ '###w #w#x#w #w###$30##84#'#I"'# #"'#1 #7"'# #O"'# #(#k$5#'#~&'#"'# #"'#1 #7#k$6d8s Ū7777<DȃɐKg,  @##c#$0##$0#$$gh$$$ -$$*$ !#Q$ -!#$ $ !###$ $֗!#v#s$֗$!#?#$BC! #<#i#p#k##j######$FG!########$IJ !#S$ !#$gh !##$ -'##'##" #'#~&'#&'#'## '#<'###$ŝ####X#'# #"'# #Jϴ^XUV7'#I"'# #"'# #"'# #M#'##  '###$Н!0##8"#"'# #X"'# ###@#'#" #X" ##$#'#I"'#~ #%Ј8З^о '###$՝&0##8'#"'# #(@#'#" #)@#'#*?8N^kц '#'#{#+0##8,@+'#&'#*#'#&'#$f-#'#&'#.8U '###$ڝ/0##80#"'# #1@#'#" #2@#'#3#f'#4#g'#5#h'#6j8y^ҖұUfUgUh '#{##$ܝ7n0##88@+'#&'#*#'#&'#$ޝ9@+'#&'#*#'#&'#$:@+'#&'#*#'#&'#$;@+'#&'#*#'#&'#$<@+'#&'#*#'#&'#$=@+'#&'#*#'#&'#$>#?@#'#@#'#A #"'# #JB#'#6C #"'#6 #JD#'#E #"'# #JF#'#6G #"'#6 #JH#'#I #"'# #JJ#'# K #"'# #JL#'# M #"'# #JN#'# O #"'# #JP#'#Q #"'# #JR#{'#S #{"'# #JT#'#U #"'# #JV#'#W #"'# #JX#'#6Y #"'#6 #JZ#'#[ #"'# #J\#'#6] #"'#6 #J^#'#_ #"'# #J`#'#a #"'# #Jb#'#6c #"'#6 #Jd#H'#e #H"'# #Jf#'#g #"'# #Jh# '#i # "'# #Jj#'#k #"'# #Jl#'# m #"'# #Jn#'#o #"'# #Jp#'#6q #"'#6 #Jr#'#6s #"'#6 #Jt#'#6u #"'#6 #Jv#'#w #"'# #Jx#'#y #"'# #Jz#'#{ #"'# #J|#'# } #"'# #J~# '# # "'# #J# -'#6 # -"'#6 #J# '# # "'# #J#4'#6 #4"'#6 #J# '# # "'# #J# '# # "'# #J#'#  #"'# #J#'#  #"'# #J#'#  #"'# #J#'#6 #"'#6 #J#'#  #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'#I"'# ##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#nH8Wӎ3jԡ^ԮUVUVU,VGUXVrUՄV՟UհVUVUV U2VMU{_V{zU֌V֧UֹVUVUV,U=VWUiVׄUזVױUVUHVH UV6U HV cUuVؐUءVػUVUVU$V>UOViU{VٖU٨VUVUVU -V IU -[V -vU ډV ڥU4ڷV4U V U V 0UBV]UoVۊUۜV۷UVUVU$V@USVoU܂VܞUܱVUVU8URUlU݆UݠU '###$ -0##8#"'#1&'# # @#'#" # @#'##'#  #"'# #J#j'#I"'# #"'# ##'#I"'# #"'# #!#.'#"'# ##'#I"'# # -8^6KU\Vvj. '##"#$#"0#"#8#""'# #@#'#"" #@#'#"#$'#}8^U$ '#'#%#&#$'(%0##&"'# #4##&#X#)'# #)"'# #J#*'# #*"'# #J#+'# #+"'# #J#,'# #,"'# #J#'# #"'# #J#X'# #X"'# #J#4'# #4"'# #J#;'# #;"'# #J#-'# #-"'# #J#4'# #4"'# #J#b'##.'# #."'# #J#/'# #/"'# #J#C'# #C"'# #J#0'# #0"'# #J#1'# #1"'# #J#2'# #2"'# #J#'#%=8M^kX|U)V)U*V*U+V+ U,V,8UKVgUXzVXU4V4U;V;U-V-!U44V4PUbcU.vV.U/V/UCVCU0V0U12V1NU2aV2} '#{#3#$430#3#8@+'#&'#*#5'#&'#$6@+'#&'#*#7'#&'#$85#3"'#9 #:"'#; #<@#'#3" #:" #<@#'#3" #:@#='#3P#|'#6#'# #"'# #J#:'#9 #:"'#9 #J#>'#~&'#3#'# #"'# #J#?'##'# #"'# #J#@'#~&'#3#'# #"'# #J#<'#;#'#I#5'#I#$'#I#x'#I#A'#I#'#&'##B'#&'#8576^d=U|UVU: V:'U>AUTVpU?UVU@UVU<#58$MxbAwUUB '##9#$C90#9#8#D'#E#F'##G#k$HF8UDFG '#E#I#$JI0#I#8#K'# #K"'# #J#i'# #i"'# #J#'#e#j$LM #"'#e #J#N'# #N"'# #J #O'# - #O"'# #J #'#  #"'# #J #P'# #P"'# #J#Q'# #Q"'# #J18AUKTVKpUiViUVUNVN UOVO:UMViUP|VPUQVQ '##E#$RE 0#E#8#K'##i'##'#e#N'##O'##'##P'##Q'# b8rUKUiUUNUOUUPUQ '##S#$TS0#S#8#S"'# #X"'# ##@#'#S" #X" ##@#'#S" #X #U'#!#V'#"m8}^UUUV '##W#$XW#0#W#8$#W"'# #X"'# ##%@#'#W" #X" ##&@#'#W" #X'#'#(#Y'#)Z8j^UUY '##;#$Z;*0#;#8+#'#,G8WU '##[#$\[-0#[#8.#]'#I"'# #"'#e #^/8] '#{#_#w #w#x#w #w#y#w #w#$#w #w##w #w##j#$`a00#_#81@+'#&'#*#b'#&'#$cd2@+'#&'#*#e'#&'#$fg3@+'#&'#*#h'#&'#$ij4@+'#&'#*#'#&'#$f5@+'#&'#*#k'#&'#$lm6@+'#&'#*#n'#&'#$op7@+'#&'#q*#r'#&'#q$st8@+'#&'#*#u'#&'#$vw9P#|'#6:@+'# *#x;@+'# *#y<@+'# *#z=@+'# *#{>@+'# *#|?@+'# *#}@#~'# A#'#IB#'#IC#'#ID#'#&'#E#'#&'#F#'#&'#G#'#&'#H#'#&'#I#'#&'#J#'#&'#qK#'#&'#Lk8{beh#[knru;U|Lxdy|z{|}U~-UGUaU{UUUUU '###$M0##8N#"'# #X"'# ##O@#'#" #X" ##P@#'#" #XQ#W'#R#'#S#~'# T#'#U8^.QmUWUU~U '#'#%##$V'0##8W#X###XY#'#Z #"'# #J[#'#\ #"'# #J]#)'#^ #)"'# #J_#+'#` #+"'# #Ja#,'#b #,"'# #Jc#'#d #"'# #Je#'#f #"'# #Jg#4'#h #4"'# #Ji#;'#j #;"'# #Jk#-'#l #-"'# #Jm#4'#n #4"'# #Jo#b'#p#.'#q #."'# #Jr#/'#s #/"'# #Jt#C'#u #C"'# #Jv#0'#w #0"'# #Jx#1'#y #1"'# #Jz#2'#{ #2"'# #J|#'#}'8+^9XJU]VyUVU)V)U+V+U,V,5UHVdUwVU4V4U;V;U-V-U41V4MUb`U.sV.U/V/UCVCU0V0U1/V1KU2^V2z '#)##$~0##8"'# #@#'#" #@#'####X#"'# #8X#^ '###$0##8#'# #'# 8UU '###$0##8#'# 8U '###$0##8#'# #k$H8XU '###$0##8####X8^X '###$0##8#"'# #X"'# #@#'#" #X" ##('#8!^IlU( '###$0##8#"'# #X"'# #@#'#" #X" ##'#8^U '###$0##8#"'# #X"'# #@#'#" #X" ##'#1&'#k8{^U '###$0##8#'#8/U '###$0##8#'#~&'#"'# #"'#e #"'# #d#'#~&'#"'# ##'#~&'#1&'#t8 '#{##$ 0##8#'# #'# #'##'##'# #'# #'# #'#~&'#6 Y8iU{UUUUUU '###$0##8#"'# #"'# #@#'#" #" ##'#h8x^U '###$0##8#"'# #X"'# #@#'#" #X" ##'#1&'##'#~"'# #8%^MpU '####$0##8#'#68 U '###$ށ0##8#@#'##'#~&'#1&'#" #(M8]^k '###$ƞǁ0##8####X#4'# #4"'# #J#'# #"'# #J8^XU4,V4HU[V '#{##$ɞȁ0##8#'#6#'##'##'#8UUUU '###$Ξ́0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#'#1&'##'#~&'#&'#'##'#~m8}^UU) '###$Ӟҁ0##8#'# #"'# #J8UV '###$֞Ձ 0##8#7'# #X'##'#"'# #B"'# #C"'# ##"'#1 #"'# #X"'# #@#" #@#" #" #@#@#" #" #" #J  -8 U7 ,UX ? ^    7'#I"'# ## '###$0##8#"'# #X"'# ##@#'#" #X" ###A'##'# -8 -^ - -UA U '###$0##8#'##'##J'#+#'#~#'#~" #J f8 vU U UJ   '###$0##8#'#6#'#~#'#~&'##'#~&'##'#~#'#~&'# *8 :U L a ~   '#'###$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$f@+'#&'#*#B'#&'#$CD@+'#&'#*#'#&'#$@+'#&'#*#S'#&'#$T@+'#&'#*#'#&'#$W@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$ -@+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$ -####X#'#&'##'#&'##'#&'## '#&'##'#&'## '#&'## '#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'# *8 : r B SR2j^ X1UKUeUU UU U UUU5UOUiU '#{##$0##8@+'#&'#*#'#&'#$W #"'# #!@#'#" #"#'###'#I$#'#I"'#e #W%# '#&'#&~8^U%GU  '###$'0##8(#'#)#'# *8UU '###$+0##8,#-###X.#'#6/ #"'#6 #J0#'#61 #"'#6 #J2#'#3#'#4 #"'# #J5#'#6 #"'# #J7# '#8 # "'# #J9#!'#6: #!"'#6 #J;#"'#< #""'# #J=##'#1&'#V#j#j$#i$>#'#? #"'# #J@#X'#A #X"'# #JB#$'#C#%'#&D#J'#E #J"'# #JF#''#6G#('#6H#)'#6I#*'#I"'# #fJ+8;^IXZUlVUVUUVU V%U 8V TU!fV!U"V"U#UVUX1VXMU$`U%sUJVJU'()* '#+#,##$-.K0#,#8L8 '##/#$0/M0#/#8N#f'#~"'# #1O#2'#~"'# #1P#'#~Q#'#~" #"'# #dR#'#~"'# #1S:8Jfl2 '##3#$43T0#3#8U#3"'# #X"'# ##V@#'#3" #X" ##W#5'#1X#6'#1Y#7'#Z#8'#[#'#I"'#~ #9\?8O^wU5U6U7U8 '#:#;#$<;]0#;#8^#'#_#='#I`a8qU= '#'#>##$?@a0##8b@+'#&' ##*#A'#&' ##$BCc@+'#&' ##*#D'#&' ##$EFd#"'# #"'# #e###Xf#'# g #"'# #Jh#'# i #"'# #Jj#G'#/"'# #Hk#I'#e"'# #J"'# #K#i$LM#j$NOl#P'#e" #J" #K#k$QI#i$LM#j$NOm#R'#e" #J#k$QI#i$LM#j$NOn#S'#"'# #X" #T#k$UVo#W'#p#X'#&' ##q#Y'#&' ##r#Z'#[s#\' ##v" #" #x" #" # " #" ##w #w#x#w #w#yt#]'#"'# #X$^_"'# #`u#a'#I"'# #O"'# #X"'#e #7#k$bcv#c'#~&'#"'# #X"'#e #7w8A*Dj^XUVUVG'IuPR -SEW[UXyUYUZ\*]dac '##d#$edx0#d#8y#f'#I"'# #2"'# #gz8f '##h#$ih{0#h#8|#j'#I"'#Q #} !8 1j#u~#'# pU '#'#u#[#$k[p0#[#8#'##l'#Q #l"'#Q #J#i'# #i"'# #J#m'#e#i$no#j$no #m"'#e #J#'# #"'# #J#p'# #p"'# #J#q'# #q"'# #J#r'# #r"'# #J#s'#6 #s"'#6 #J#t'# #t"'# #J#u'# #u"'# #J#v'# #v"'# #J#'# #"'# #J#w'# #w"'# #J#x'# #x"'# #J#y'# #y"'# #J#z'# #z"'# #J#{'# #{"'# #J#|'#e#i$no#j$no #|"'#e #J#}'# #}"'# #J#~'# #~"'# #J#'#I"'# #d#'#I" #d#k$#'#I#k$#'#I#'#I#'#I"'# #f"'# #g"'# #"'# ##'#I" #"'# ##'#" #"'# #" #"'# ##i$#" ##k$#i$#"'# #" ##k$#i$#"'# #" #" ##k$#i$#" #A" #"'# ##k$#i$#" #A" #"'# #" ##k$#i$#'#d"'# #"'# #"'# #u"'# #w#'#h"'#e #("'# ##'#d"'# #"'# #"'# #"'# #u"'# #w"'# ##'#I" #"'#< ##'#I" #"'# ##'#I"'# #f"'# #g"'# #"'# ##'###k$ܓ؂#'#"'# #b"'# #c"'# #"'# ##i$#" #b" #c" #" ##k$#i$#'#1&'##k$#'#6#'#6" #"'# #" #"'# ##J'#6" #"'# #"'# #g#'#"'# ##'#I"'# #"'# #"'# #"'# #"'# #"'# #"'# ##'#I" #" #" ##k$#'#I" #" #" #" #" #" #" ##k$#'#I"'# ##'#I#'#I#'#I"'# ##'#I#x'#I"'# #f"'# #g#'#I"'# #D#j'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T#'#I"'# #D#'#I"'# #f"'# #g"'# #"'# ##'#I"'# #"'# #f"'# #g"'# ##'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T#'#I"'# #f"'# #g#'#I"'# #f"'# #g"'# #"'# #"'# #"'#6 ##k$ǟȂ#'#I"'# #u"'# #w"'# #v"'# #x"'# ##'#I"'# #"'# #"'# #"'# #"'# #f"'# #g#'#I#'#I"'# #f"'# #g"'# #"'# #"'# #"'# #"'# #"'#6 ##'#I"'# #f"'# #g#'#I"'# #f"'# #g#'#I"'# #"'# #"'# #f"'# #g#'#I"'# #f"'# #g"'# #"'# ##'#"'# ##'#I"'# #"'# #["'# #"'# ##'#I"'# #"'# #y"'# #"'# ##'#I"'# #"'# #["'# #"'# ##'#I"'# #"'# #y"'# #"'# ##'#I"'# #f"'# #g"'# #"'# #"'# #"'#6 ##'#h"'#' #("'# ##'#I"'#> #"'# #"'# ##'#I"'#> #"'# #"'# ##k$#'#I"'#> #"'# #"'# #"'# #"'# ##k$#'#I "'#> #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# ##k$#'##w #w#x#w #w##w #w#$#j #"'# #J#w #w#x#w #w##w #w#$#j#'#1&'##w #w#x#w #w##w #w#$#j#'#I"'#1&'# ##w #w#x#w #w##w #w#$#j#'#I"'# #"'# #f"'# #g"'# ##'#4#p 8 U Ul Vl!Ui!Vi!7Um!fVm!U!V!Up!Vp!Uq!Vq"Ur""Vr">Us"PVs"kUt"~Vt"Uu"Vu"Uv"Vv"U# V#'Uw#:Vw#VUx#iVx#Uy#Vy#Uz#Vz#U{#V{$U|$AV|$]U}$pV}$U~$V~$$% %,%A%V%%&&R&&''h''(F(r((())n)))*9J*q*+ +A++++,,x,D,ij,,-8--.../7/L//0 0g0011e112^2233y4U4aV455z5U '#V'#'###$ 0##8#A'# #A"'# #J#'# #'#I"'# #A#'#I"'# #2"'# #%#'#I"'# #2"'# #A#'#I"'# #2"'# #%"'# #A#'#"'# #2"'# #%#'#I"'#e # #!'#I"'#e # #'#<#'#< 989,UA9>VA9YU9j999::L:n!:U:U '##0##8#'#I"'#e # #!'#I"'#e # #'#I;$8;4;U!;v '###$0##8#'##'##X'##'# #'#I"'#e #W"'#1&'#e # -;8;U;U<UX<U<& '###$ 0##8 #'#~ #'#~"'# ##'#~&'#1&'#"'# #d#'#~&'# "'# #<8<<<=( '## -#$ -0# -#8# -"'# #X"'# ##@#'# -" #X" ##@#'# -" #X# '# =8=^==>U  '###$0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#'# #'##'#6>l8>|^>>>U>U? U '###$#"'# #A 0##8!?q^?8 '###$"#"'# #X"'#6 #"'#6 #"'# #?"'# #A"'# ##0##8"'# #X"'# ##$@#'#" #X" ##%@#'#" #X&#A'#'#'#I"'# #X"'#6 #"'#6 #"'# #?"'# #A#k$(?^@:8@g@@UA@ '###w #w#x$#$ !)0##8*#+###X,P#|'#6-#'#. #"'# #J/#"'#1&'#V#j$#i$0Ay8A^AXAU|AUAVA" '####$$#10###82#'#~"'# #d3#M'#~"'# #"'# #J"'# #d4Bu8BBM '##%#$&%50#%#86#''#7#('#8#)'#9#*'#:#+'#;#,'#<#-'#=C!8C1U'CDU(CWU)CjU*C}U+CU,CU- '##.#$/.>0#.#8?#'#@#X'#AD8D"UD5UX '##0#$10B0#0#8C#2'##k$34D#'#ED8DU2DU '##5#$65F0#5#8G#'#~"'# #dH#'#~"'# #dI#7'#~J#8'#~K#9'#~"'#. #:LD8EE3EX7Em8E9 '##;#w #w#x#w #w##$<;M#='#,"'#, #N0#;#8OP#|'#6P#>'#?Q#@'#,"'#, ##k$A=#i$B,#j$CDRF=F28FBU|FSU>Ff@ '##E#$FES0#E#8T#G'#e#i$k`U#H'#6V#X'#W#I'#eXF8GUGG(UHG:UXGMUI '##J#$KLY#0#J#8ZP#M'#N[@#O'#P"'# #J\@#'#P"'# #J]@#Q'#P"'# #J^@#R'#P"'# #J_@#S'#P"'# #J`@#T'#P"'# #Ja@#U'#P"'# #Jb@#V'#P"'# #Jc@#'#"'# #Wd@#'#P"'# #Je@#'#P"'# #Jf@#X'#P"'# #Jg@#Y'#P"'# #J#k$Z[h@#\'#P"'# #Ji@#]'#P"'# #Jj@#^'#P"'# #Jk@#'#P"'# #Jl@#_'#P"'# #Jm@#`'#P"'# #Jn@#a'#P"'# #Jo@#b'#P"'# #Jp@#c'#P"'# #Jq@#d'#I"'# #er@#f'#I" #e#k$gds@#h'#P"'# #Jt@#y'#P"'# #Ju@#i'#6"'# #e"'# #Jv@#j'#6"'# #k#k$liw@#m'#P"'# #Jx@#n'#P"'# #Jy@#o'#P"'# #Jz@#p'#P"'# #J{@#q'#P"'# #J|#G8GUMGOGHQH0RHRSHtTHUHVHHIIAXIcYI\I]I^IJ_J=`J_aJbJcJdJfKhK2yKSiKjKmKnKoLpL9q '#r#s#$tu}0#s#8~#S'# #S"'# #JMs8MUSMVS '#v#w#$xy0#w#8#k'#M8MUk '#r#z#${|0#z#8#}'#~N@8NPU} '#r#v#$0#v#8#'#1&'#r#j$#i$#'#I"'# ##'# "'# #6"'# #N8NUNN '###$0##8#'##'##'#Oj8OzUOUOU '#r##$0##8#4'##'##'#O8PU4PUP)U '#r##$0##8#'# #"'# #J#}'#~P|8PUPVPU} '#r##$0##8#'#1&'#r#j$#i$#'# #"'# #J#'#"'# ##'#I"'# #6#'#I"'# ##'#"'# #Q8QUQTUQgVQQQQ '###$0##8#"'# #@#'#" ##J'# #J"'# #JRh8Rx^RRUJRVJ '###$0##8#"'# #"'# #d@#'#" #" #d@#'#" ##'# #"'# #JS 8S0^S[S~SUSV '#w##$0##8#'#T8T&U '#r##$0##8#'##k$#'#Tk8T{UTU '###$0##8#'#"'# #J#'#"'# #J#'#"'# #J@#i'#"'# ##'#"'# #J#'#"'# #|T8TUU<U^iUU '#r##$0##8#'# #"'# #J#}'#~V8V+UV>VVZU} '###$0##8#"'# #@#'#" ##'# #"'# #JV8V^VVUWV '###$0##8#"'# #f"'# #g@#'#" #f" #g#f'# #f"'# #J#g'# #g"'# #JWc8Ws^WWUfWVfWUgWVg '###$0##8#('#Xd8XtU( '###$ Ã 0##8#" #"'# #g"'# #h"'# #@#'#" #@#'#" #" #g" #h" ##'# #"'# #J#f'# #f"'# #J#g'# #g"'# #J#h'# #h"'# #J X8X^Y Y(YWUYjVYUfYVfYUgYVgYUhYVh '##r#$Šƃ0#r#8@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# -@+'# *#@+'# *#@+'# *# @+'# *##'# #"'# #J#'#r#'##X'# Z~8ZZZZZ[[[6[N[f[~[U[V[U[U[UX '###$ՠփ -0##8#"'# #f"'# #g"'# #h@#'#" #f" #g@#'#" #f" #g" #h#f'# #f"'# #J#g'# #g"'# #J#h'# #h"'# #J -\8\^\] ]0Uf]BVf]]Ug]oVg]Uh]Vh '###$ؠل0##8#"'# #"'# #@#'#" #" ##'# #"'# #J#'# #"'# #J^8^*^^R^uU^V^U^V '#-'##~#$ݠބ#~ 0#~#"'# # -#'#"'# #K #'#"'# #K #'#6"'# #K #'#6"'# #K#'#I"'# #K"'# #J"'# ##'#"'# #K#'#"'# #K@+*#@#'#"'# #@#'#I"'# #"'# #J@#'#"'# ##'#I"'# #K"'# #J"'# #P#'#60#~#8#'# #"'# #J#'# #"'# #J#'# #'#r#'#"'# #e#'#"'# #e#k$ #.'#"'# #!#'#"'# #e"#'## #"'# #J$#'##j$#k$% #"'# #J#k$&#'#' #"'# #J(#'##j$#k$) #"'# #J#k$*#'#+ #"'# #J,#'##j$#k$- #"'# #J#k$.#'#/ #"'# #J0#'##j$#k$1 #"'# #J#k$2#'#3 #"'# #J4#'##j$#k$5 #"'# #J#k$6#'#7 #"'# #J8#'##j$#k$9 #"'# #J#k$:#'#; #"'# #J<#'##j$#k$= #"'# #J#k$>#'#? #"'# #J@#'##j$#k$ A #"'# #J#k$ B# -'#C # -"'# #JD# '##j$#k$ -E # "'# #J#k$ -F# '#G # "'# #JH#'##j$#k$ I #"'# #J#k$ J#'#K #"'# #JL#'##j$#k$M #"'# #J#k$N#'#O #"'# #JP#'##j$#k$Q #"'# #J#k$R#'#S #"'# #JT#'##j$#k$U #"'# #J#k$V#'#W #"'# #JX#'##j$#k$Y #"'# #J#k$Z#'#[ #"'# #J\#'##j$#k$] #"'# #J#k$^#'#_ #"'# #J`# '##j$#k$!a # "'# #J#k$!b#"'#c #""'# #Jd##'##j$#k$$"e ##"'# #J#k$$"f#%'#g #%"'# #Jh#&'##j$#k$'%i #&"'# #J#k$'%j#('#k #("'# #Jl#)'##j$#k$*(m #)"'# #J#k$*(n#+'#o #+"'# #Jp#,'##j$#k$-+q #,"'# #J#k$-+r#.'#s #."'# #Jt#/'##j$#k$0.u #/"'# #J#k$0.v#1'#w #1"'# #Jx#2'##j$#k$31y #2"'# #J#k$31z#4'#{ #4"'# #J|#5'##j$#k$64} #5"'# #J#k$64~#7'# #7"'# #J#8'##j$#k$97 #8"'# #J#k$97#:'# #:"'# #J#;'##j$#k$<: #;"'# #J#k$<:#='# #="'# #J#>'##j$#k$?= #>"'# #J#k$?=#@'# #@"'# #J#A'##j$#k$B@ #A"'# #J#k$B@#C'# #C"'# #J#D'##j$#k$EC #D"'# #J#k$EC#'# #"'# #J#F'##j$#k$G #F"'# #J#k$G#H'# #H"'# #J#I'##j$#k$JH #I"'# #J#k$JH#'# #"'# #J#5'##j$#k$ #5"'# #J#k$#'# #"'# #J#K'##j$#k$L #K"'# #J#k$L#g'# #g"'# #J#M'##j$#k$Ng #M"'# #J#k$Ng#''# #'"'# #J#O'##j$#k$P' #O"'# #J#k$P'#Q'# #Q"'# #J#R'##j$#k$SQ #R"'# #J#k$SQ#i'# #i"'# #J#T'##j$#k$Ui #T"'# #J#k$Ui#V'# #V"'# #J#W'##j$#k$XV #W"'# #J#k$XV#Y'# #Y"'# #J#Z'##j$#k$[Y #Z"'# #J#k$[Y#p'# #p"'# #J#\'##j$#k$]p #\"'# #J#k$]p#^'# #^"'# #J#_'##j$#k$`^ #_"'# #J#k$`^#a'# #a"'# #J#b'##j$#k$ca #b"'# #J#k$ca#d'# #d"'# #J#e'##j$#k$fd #e"'# #J#k$fd#g'# #g"'# #J#h'##j$#k$ig #h"'# #J#k$ig#j'# #j"'# #J#k'##j$#k$lj #k"'# #J#k$lj#'# #"'# #J#'##j$#k$m #"'# #J#k$m#'# #"'# #J#X'##j$#k$n #X"'# #J#k$n#o'# #o"'# #J#p'##j$#k$qo #p"'# #J#k$qo#r'# #r"'# #J#s'##j$#k$tr #s"'# #J#k$tr#u'# #u"'# #J#v'##j$#k$wu #v"'# #J#k$wu#x'# #x"'# #J#y'##j$#k$zx #y"'# #J#k$zx#{'# #{"'# #J#|'##j$#k$}{ #|"'# #J#k$}{#~'# #~"'# #J#'##j$#k$~ #"'# #J#k$~#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$  #"'# #J#k$ -#'#  #"'# #J #'##j$#k$  #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J#'##j$#k$ #"'# #J#k$#'# #"'# #J #'##j$#k$! #"'# #J#k$"#'## #"'# #J$#'##j$#k$% #"'# #J#k$&#'#' #"'# #J(#'##j$#k$) #"'# #J#k$*# '#+ # "'# #J,#9'##j$#k$ - #9"'# #J#k$ .#'#/ #"'# #J0#'##j$#k$1 #"'# #J#k$2#'#3 #"'# #J4#'##j$#k$5 #"'# #J#k$6#'#7 #"'# #J8#'##j$#k$9 #"'# #J#k$:#'#; #"'# #J<#'##j$#k$= #"'# #J#k$>#'#? #"'# #J@#'##j$#k$A #"'# #J#k$B#'#C #"'# #JD#'##j$#k$E #"'# #J#k$F#'#G #"'# #JH#'##j$#k$I #"'# #J#k$J#'#K #"'# #JL# '##j$#k$M # "'# #J#k$N#'#O #"'# #JP#'##j$#k$áQ #"'# #J#k$áR#'#S #"'# #JT#Y'##j$#k$ăU #Y"'# #J#k$ăV#'#W #"'# #JX#'##j$#k$ǡŅY #"'# #J#k$ǡŅZ#}'#[ #}"'# #J\#'##j$#k$ɟ}] #"'# #J#k$ɟ}^#'#_ #"'# #J`#'##j$#k$̡ʅa #"'# #J#k$̡ʅb#'#c #"'# #Jd#'##j$#k$ϡͅe #"'# #J#k$ϡͅf#'#g #"'# #Jh#'##j$#k$ҡЅi #"'# #J#k$ҡЅj#'#k #"'# #Jl#'##j$#k$ԃm #"'# #J#k$ԃn#'#o #"'# #Jp#'##j$#k$סՅq #"'# #J#k$סՅr#'#s #"'# #Jt#'##j$#k$ڡ؅u #"'# #J#k$ڡ؅v#'#w #"'# #Jx#'##j$#k$ݡۅy #"'# #J#k$ݡۅz#'#{ #"'# #J|#'##j$#k$ޅ} #"'# #J#k$ޅ~#'# #"'# #J#'##j$#k$녁 #"'# #J#k$녂#'# #"'# #J#'##j$#k$ⅅ #"'# #J#k$ⅆ#'# #"'# #J#'##j$#k$光 #"'# #J#k$兊_0^_>_\_~___``A`c`t```a"Ua38aCUaVVarUaVaUaUaab.b;b^UbpVbUbVbUbVcUc@VcjUc|VcUcVcUdVdUdLVdvUdVdUdVdUeVe)UeXVeUeVeUeVfUfVf5UfdVfU -fV -fU fV gU g&V gAUgpVgUgVgUgVh Uh2VhMUh|VhUhVhUiVi,Ui>ViYUiViUiViUjVj8UjJVjeU jV jU"jV"jU#kV#kDU%kVV%kqU&kV&kU(kV(kU)l&V)lPU+lbV+l}U,lV,lU.lV.mU/m2V/m\U1mnV1mU2mV2mU4mV4nU5n>V5nhU7nzV7nU8nV8nU:oV:oU;oJV;otU=oV=oU>oV>oU@p V@p'UApVVApUCpVCpUDpVDqUqVq3UFqbVFqUHqVHqUIqVIrUr$Vr?U5rnV5rUrVrUKrVKsUgs0VgsKUMszVMsU'sV'sUOtVOt*UQtUPVkUVUVU VJU\VwUVUVU,VVUhVUVUV U8VbUtVUVUVUDVnUVUVUV!UPV '#e-'##`+'#X&'#<*#+'#X&'#~*## ##'#"'# #K#'#I"'# #K"'# #J"'# ##'#I"'# #K"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J # -"'# #J # "'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #""'# #J #%"'# #J #("'# #J #+"'# #J #."'# #J #1"'# #J #4"'# #J #7"'# #J #:"'# #J #="'# #J #@"'# #J #C"'# #J #"'# #J #H"'# #J #"'# #J #"'# #J #g"'# #J #'"'# #J #Q"'# #J #i"'# #J #V"'# #J #Y"'# #J #p"'# #J #^"'# #J #a"'# #J #d"'# #J #g"'# #J #j"'# #J #"'# #J #"'# #J #o"'# #J #r"'# #J #u"'# #J #x"'# #J #{"'# #J #~"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J # "'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #}"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J #"'# #J`&Ed^{V"V=VXVsVVVVV -V V0VKVfVVVV"V%V(V+#V.>V1YV4tV7V:V=V@VCVVH1VLVgVgV'VQViVVVY Vp$V^?VaZVduVgVjVVVoVrVu2VxMV{hV~VVVVV -V%V@V[VvVVVVVV V3VNViVVVVVV V&VAV}\VwVVVVVVV4VOVjV#삮#'#"'# #K#'#I"'# #K"'# #J"'# ##'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#U'# #U"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'#  #"'# #J -#'#  #"'# #J #'#  #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J #'#! #"'# #J"#'## #"'# #J$#'#% #"'# #J&#'#' #"'# #J(#'#) #"'# #J*#'#+ #"'# #J,#'#- #"'# #J.#'#/ #"'# #J0#'#1 #"'# #J2#'#3 #"'# #J4#'#5 #"'# #J6#'#7 #"'# #J8# '#9 # "'# #J:# -'#; # -"'# #J<# '#= # "'# #J>#'#? #"'# #J@# -'#A # -"'# #JB# '#C # "'# #JD# '#E # "'# #JF# '#G # "'# #JH#'#I #"'# #JJ#'#K #"'# #JL#'#M #"'# #JN#'#O #"'# #JP#'#Q #"'# #JR#'#S #"'# #JT#'#U #"'# #JV#'#W #"'# #JX#'#Y #"'# #JZ#'#[ #"'# #J\#'#] #"'# #J^#'#_ #"'# #J`#'#a #"'# #Jb#'#c #"'# #Jd#'#e #"'# #Jf#'#g #"'# #Jh#'#i #"'# #Jj#'#k #"'# #Jl#"'#m #""'# #Jn#'#o #"'# #Jp#%'#q #%"'# #Jr#('#s #("'# #Jt#+'#u #+"'# #Jv#.'#w #."'# #Jx#1'#y #1"'# #Jz#'#{ #"'# #J|#'#} #"'# #J~#'# #"'# #J#'# #"'# #J#4'# #4"'# #J#7'# #7"'# #J#:'# #:"'# #J#'# #"'# #J# '# # "'# #J#='# #="'# #J#@'# #@"'# #J#!'# #!"'# #J#C'# #C"'# #J#'# #"'# #J#"'# #""'# #J##'# ##"'# #J#$'# #$"'# #J#%'# #%"'# #J#&'# #&"'# #J#''# #'"'# #J#('# #("'# #J#)'# #)"'# #J#*'# #*"'# #J#+'# #+"'# #J#,'# #,"'# #J#-'# #-"'# #J#H'# #H"'# #J#'# #"'# #J#'# #"'# #J#.'# #."'# #J#g'# #g"'# #J#/'# #/"'# #J#0'# #0"'# #J#1'# #1"'# #J#2'# #2"'# #J#3'# #3"'# #J#4'# #4"'# #J#5'# #5"'# #J#6'# #6"'# #J#7'# #7"'# #J#8'# #8"'# #J#9'# #9"'# #J#:'# #:"'# #J#;'# #;"'# #J#''# #'"'# #J#<'# #<"'# #J#='# #="'# #J#Q'# #Q"'# #J#i'# #i"'# #J#V'# #V"'# #J#Y'# #Y"'# #J#'# #"'# #J#>'# #>"'# #J#?'# #?"'# #J#@'# #@"'# #J#A'# #A"'# #J#B'# #B"'# #J#C'# #C"'# #J#D'# #D"'# #J#E'# #E"'# #J#p'# #p"'# #J#^'# #^"'# #J#F'# #F"'# #J#G'# #G"'# #J#a'# #a"'# #J#H'# #H"'# #J#I'# #I"'# #J#J'# #J"'# #J#d'# #d"'# #J#g'# #g"'# #J#K'# #K"'# #J#j'#  #j"'# #J -#L'#  #L"'# #J #M'#  #M"'# #J#N'# #N"'# #J#O'# #O"'# #J#P'# #P"'# #J#Q'# #Q"'# #J#R'# #R"'# #J#S'# #S"'# #J#T'# #T"'# #J#U'# #U"'# #J#V'# #V"'# #J #W'#! #W"'# #J"#X'## #X"'# #J$#Y'#% #Y"'# #J&#Z'#' #Z"'# #J(#'#) #"'# #J*#['#+ #["'# #J,#\'#- #\"'# #J.#]'#/ #]"'# #J0#^'#1 #^"'# #J2#_'#3 #_"'# #J4#`'#5 #`"'# #J6#'#7 #"'# #J8#o'#9 #o"'# #J:#a'#; #a"'# #J<#b'#= #b"'# #J>#c'#? #c"'# #J@#r'#A #r"'# #JB#u'#C #u"'# #JD#x'#E #x"'# #JF#{'#G #{"'# #JH#~'#I #~"'# #JJ#'#K #"'# #JL#d'#M #d"'# #JN#e'#O #e"'# #JP#'#Q #"'# #JR#f'#S #f"'# #JT#g'#U #g"'# #JV#h'#W #h"'# #JX#i'#Y #i"'# #JZ#'#[ #"'# #J\#j'#] #j"'# #J^#k'#_ #k"'# #J`#l'#a #l"'# #Jb#'#c #"'# #Jd#'#e #"'# #Jf#m'#g #m"'# #Jh#'#i #"'# #Jj#n'#k #n"'# #Jl#'#m #"'# #Jn#o'#o #o"'# #Jp#p'#q #p"'# #Jr#q'#s #q"'# #Jt#r'#u #r"'# #Jv#s'#w #s"'# #Jx#t'#y #t"'# #Jz#u'#{ #u"'# #J|#v'#} #v"'# #J~#w'# #w"'# #J#x'# #x"'# #J#y'# #y"'# #J#z'# #z"'# #J#{'# #{"'# #J#|'# #|"'# #J#}'# #}"'# #J#~'# #~"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J# '# # "'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#7'# #7"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'#  #"'# #J -#'#  #"'# #J #}'#  #}"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J #'#! #"'# #J"#'## #"'# #J$#'#% #"'# #J&#'#' #"'# #J(#'#) #"'# #J*#'#+ #"'# #J,#'#- #"'# #J.#'#/ #"'# #J0#'#1 #"'# #J2#'#3 #"'# #J4#'#5 #"'# #J6#'#7 #"'# #J8#'#9 #"'# #J:#'#; #"'# #J<#'#= #"'# #J>#'#? #"'# #J@#'#A #"'# #JB#'#C #"'# #JD#'#E #"'# #JF#'#G #"'# #JH#'#I #"'# #JJ#'#K #"'# #JL#'#M #"'# #JN#'#O #"'# #JP#'#Q #"'# #JR#'#S #"'# #JT#'#U #"'# #JV#'#W #"'# #JX#'#Y #"'# #JZ#'#[ #"'# #J\#'#] #"'# #J^#'#_ #"'# #J`#'#a #"'# #Jb#'#c #"'# #Jd#'#e #"'# #Jf#'#g #"'# #Jh#'##w #w#x#w #w#y#w #w#$#w #w#̈i #"'# #J#w #w#x#w #w#y#w #w#$#w #w#̈j#'#k #"'# #Jl#'#m #"'# #Jn#'#o #"'# #Jp#'#q #"'# #Jr#'#s #"'# #Jt#'#u #"'# #Jv#'#w #"'# #Jx#'#y #"'# #Jz#'#{ #"'# #J|#'#} #"'# #J~#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J7YUVUVUVU/VJU\VwUVUVUVUV+UU=VUXUjVUVUVUV UV9UKVfUxVUVUVUVU,VGUYVtUVUVUVU V(U:VUUgVUVUVUV UV6UHVcUuVUVUVUVU )V DU -VV -qU V UVU -V -U  -V %U 7V RU dV UVUVUVUV3UEV`UrVUVUVUVU&VAUSVnUVUVUVUV"U4VOUaV|UVU"V"UVU%V%0U(BV(]U+oV+U.V.U1V1UVU#V>UPVkU}VU4V4U7V7U:V:U1VLU ^V yU=V=U@V@U!V!UCVC-U?VZU"lV"U#V#U$V$U%V%U& V&;U'MV'hU(zV(U)V)U*V*U+V+U,.V,IU-[V-vUHVHUVUVU.V.*UgV>5U?GV?bU@tV@UAVAUBVBUCVCUD(VDCUEUVEpUpVpU^V^UFVFUG VG$Ua6VaQUHcVH~UIVIUJVJUdVdUgVg2UKDVK_UjqVjŒULžVL¹UMVMUNVNUO%VO@UPRVPmUQVQÚURìVRUSVSUTVT!UU3VUNUV`VV{UWčVWĨUXĺVXUYVYUZVZ/UAV\U[nV[ʼnU\śV\ŶU]V]U^V^U_"V_=U`OV`jU|VƗUoƩVoUaVaUbVbUc0VcKUr]VrxUuNJVuǥUxǷVxU{V{U~V~,U>VYUdkVdȆUeȘVeȳUVUfVf UgVg:UhLVhgUiyViɔUɦVUjVjUkVkUl-VlHUZVuUʇVʢUmʴVmUVUnVn)U;VVUohVo˃Up˕Vp˰UqVqUrVr -UsVs7UtIVtdUuvVȗUṿVv̾UwVwUxVxUy*VyEUzWVzrU{̈́V{͟U|ͱV|U}V}U~ V~&U8VSUeV΀UΒVέUοVUVUV4UFVaUsVώUϠVϻUVUVU'VBUTVoUЁVМUЮVUVUV#U5VPUbV}UяVѪUѼVUVUV1UCV^UpVҋUҝVҸUVUVU $V ?UQVlU~VәUӫVUVUV U2VMU_VzUԌVԧUԹVUVUV.U@V[UmVՈU՚VյUVUVU!V#" '##?#$@?#0#?#8$@+'#&'#*#'#&'#$W%@+'# *#A&@+'# *#B'#'#I(#'#I" #W"'#1&'#e #)#C'#I" #W"'#1&'#e ##k$D*#E'#I" #W#k$D+#F'#I"'# #X"'# #7"'#G #"'#H #(#k$IJ#w #w#x#w #w#̉,#K'#L"'# #X"'# #7#k$MN#w #w#x#w #w#̉-#O'#P"'# ##k$QR#w #w#x#w #w#̉.#S'#I"'# #"'#T #"'#H #(#k$UV#w #w#x#w #w#̉/# '#&'#0P#J'#?1 M8 ] A B   C JE tF KKOS U #UJ '##W#$XW20#W#83@+'# *#A4@+'# *#B5#Y'#I"'# #Z"'#[ #\"'#] #(6#^'#I"'# #Z"'# #_"'#` #a"'#] #(78ABY?^ '##b#$cb80#b#89#Y'#I"'#[ #\"'#] #(:#^'#I"'# #_"'#` #a"'#] #(;8Y^ '#d#e#$fe<0#e#8=#g'# >#W'#?#h'#@8UgUWUh '##i#w #w#x#w #w##$jkA0#i#8B#iC##i#XDP#|'#6E#'#6F #"'#6 #JG98I^WXhU|yUV '##l#$mlH0#l#8I#lJ@#'#lK#'#L#n'#1M#o'#N8^&U9UnKUo '##p#$qpO0#p#8P#pQ@#'#pR#'#S#r'#1T8^UUr '##s#$tsU0#s#8V#sW@#'#sX#'#Y#n'#1Z#o'#[I8Y^g|UUnUo '##u#$vu\0#u#8]#f'#^#g'#_#h'#`8Uf#Ug5Uh '##w#$xwa0#w#8b#w"'# #X"'# ##c@#'#w" #X" ##d@#'#w" #Xe#y'#uf#z'#ug#{'#h#|'#}i8^UyUz$U{7U| '##~#$~j0#~#8k#~"'# #X"'# ##l@#'#~" #X" ##m@#'#~" #Xn#'#6o#'#p#'#q#'#r8^U1UDUWU '##}#$}s0#}#8t#'#u#'#v#'#w8UUU '###j#$x 0##8y###Xz#'#6{ #"'#6 #J|#'#} #"'# #J~#'#I"'# ##'#I#'#I W8gXxUVUV '#4##$#'#~&'#4"'# #D"'#6 ##'##'#~&'#4"'# #D#'#~&'#4"'# #D"'#6 ##'#~&'#4"'# #D0##8#'##k$#'#I"'# #D"'# #d"'#T #"'#H #(#'#I" #D" #d"'#T #"'#H #(#k$#'#I" #D" #d"'#T ##k$#'#I" #D" #d#k$#'#I" #D#k$#'#~&'#4"'# #D"'# #d#k$#'#I"'# #D"'# #d"'#T #"'#H #(#'#I" #D" #d"'#T #"'#H #(#k$#'#I" #D" #d"'#T ##k$#'#I" #D" #d#k$#'#I" #D#k$#'#~&'#4"'# #D"'# #d#k$#'#I"'# #"'#H #(#k$#'#~#k$;e8u5sg!K '###$0##8#'#I"'# #"'#H #(#k$#'#~&'#1&'#48 '###$0##8####XZ8j^xX '#V##$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$#@#'##'##'##k$ #"'# #J#k$#'##'# #"'# #J#'##'##'##k$ţ#i$ǣ#j$ǣ#i$ɣ#j$ɣʉ#'#<#'##'#6#<'##k$ϣЉ#'#6#'##'##k$ӣԉ#b'##'##k$֣׉#'##'##k$٣ډ#'##'#< #"'#< #J#'#<#'##k$ߣ #"'# #J#k$ߣ#'##<'##'##k$䞶 #"'# #J#k$䞶#'##k$#'#<#k$#w #w#x#w #w#̉#'#6#k$#w #w#x#w #w#̉#'#6#k$#w #w#x#w #w#̉#'##k$#w #w#x#w #w#̉#'#V"'#V ##'#"'# #f"'# #g#k$#'##'#<"'# #" ##k$#'#<"'# #"'# #" ##k$#'#"'# #;#k$#'##'#+"'# #A#k$# '# - "'# #?"'#{ #"'# # "'# # "'# # "'# #"'# #"'# #"'# #"'# #"'# ##'# - "'# #?" #" # " # " # " #" #" #" #" #" ##k$#'# - -"'# #?" #" # " # " # " #" #" #" #" ##k$#'# - "'# #?" #" # " # " # " #" #" #" ##k$#'# -"'# #?" #" # " # " # " #" #" ##k$#'# -"'# #?" #" # " # " # " #" ##k$#'#"'# - ##k$#'#6"'# #"'#6 # "'# #J#!'#I#"'#I##'#1&'#3#$'#1&'#V"'# #%#i$&'#j$&'#('#1&'#V"'# #)#i$&'#j$&'#*'#1&'#V"'# #T#i$&'#j$&'#+'#V"'#V #"'#6 #,#-'#6"'# ##.'#6"'# ##/'#6"'# ##0'#6"'# ##1'#"'# ##2'#6"'# #X"'# #d#3'#6" #X" #d#k$45#6'#6" #X#k$45#7'#I#k$89#w #w#x#w #w#̉#'#<"'# ##:'#<#;'#<#<'#<#='#1&'##k$>?#j$@A#i$@A#B'#<"'# #f"'# #g#k$CD#E'#1&'#<"'# #f"'# #g#F'##G'# #k$HI# '#1&'#V#k$J#j$$ -#i$$ -#K'#<#k$LM#N'#<#k$OP#Q'#<"'# #R#S'#1&'#V"'# #R#k$TU#i$#j$#'#&'##V'#&'##W'#&'##X'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##Y'#&'# -#Z'#&'# -#'#&'##$[\#'#&'##'#&'##'#&'# #'#&'# -#'#&'# #'#&'# #'#&'# #'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'# #'#&'#!#'#&'#p"#]'#&'# -##'#&'#$#'#&'#%#'#&'#&#^'#&'#'#_'#&'#(#'#&'#)#`'#&'#*#'#&'#+#'#&'#,#'#&'#-#a'#&'#.#b'#&'#/#'#&'#0#'#&'#1#'#&'#2#c'#&'#3#d'#&'#4#'#&'#5#'#&'#6#'#&'#7#'#&'#8#'#&'#9#'#&'#:#'#&'#;#'#&'#<#'#&'#=#'#&'#>#e'#&'#?#f'#&'#@#U)(#Z'#<'#g&'#Z"'# #RA#h'#6B#i'#6#C#5'#I"'# #"'#> #j"'# #kD#'#<"'# #l"'# #m#<$ E#n"'# #lF#o"'# #"'# #G#'#<"'# #"'# #"'# #mH#p'#q"'#V #e"'# #r"'#s #I#t'#u"'#V #e"'# #r"'#s #J#'##w #w#x#w #w#y#w #w#$K8 - B z  ^ ! U! U!AV!kU!~U!V!U!U!U"+U">U"QU"cU<"U"U"U"Ub"U"U#U#2U#EU#XV#tU#U#V#U#U<#U$V$CU$dU$U$U%%U%f%%%&&\&&& ''(f()/)))!*"*$#*A$*(**+++E-+g.+/+0+1+2,"3,T6,7,,U:,U;- U<-U=-bB-E-UF-UG.U .FUK.gUN.Q.S.U/UV/3UW/MUX/gU/U/U/U/U/U0UY0UZ07U0_U0yU0U0U0U0U0U1U1/U1IU1cU1}U1U1U1U1U1U2U23U2MU2gU2U2U2U2U2U3U3U37U]3QU3kU3U3U^3U_3U3U`4U4!U4;U4UUa4oUb4U4U4U4Uc4Ud5 U5%U5?U5YU5sU5U5U5U5U5U6Ue6)Uf6CU6{Uh6Ui6567!n7=o7f7p7t8'U '#V'#v'#w##$xL#M0##"'# #"'# #"'# #N0##*"'# #y"'# #"'# #O# '# -P+'#1&'#<*#z#i$k`Q#'#1&'#<R #"'#1&'#< #JS#U)(#Z'#<'#g&'#Z"'# #RT#'#U #"'# #JV#{'#I"'# #"'# #"'# #W#|'#I"'# #X#}'#I"'# #"'# #"'# #Y0##8Z#'#<"'# #[#G'# #k$HI\#K'#<#k$LM]#N'#<#k$OP^#Q'#<"'# #R_#S'#1&'#V"'# #R#k$TU#i$#j$`=R^=`=*=U =z>U>3V>UU>U>V>{>|?}?]8?m?UG?UK?UN?Q@S '##~#$~a0#~#8b#:'#<c#;'#<d#<'#<e#?'#1&'##j$@A#i$@Af#D'#<"'# #f"'# #gg#E'#1&'#<"'# #f"'# #gh#'#iA8A)U:A'#e"'#e #JI8J > '###$E0##8#"'#e #@#'#" #@#'##'# #"'# #J#'# #"'# #J#R'# #R"'# #J#`'# #`"'# #J#'# #"'# #J#T'# #T"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J@#'#"'## #@#'#"'#% #@#'#"'# #2@#'#" #2#k$ @# -'##k$ # '## '#"'# #2# '#" #2#k$ #'##k$ #'#"'# #2#'#" #2#k$#'##k$#'#"'# #f"'# #g"'# #h"'# ##'#"'# #f"'# #g#'#"'# #"'# #"'# ##'#"'# #x"'# #"'# #"'# ##'#"'# #"'# # "'# #!"'# #"'# #"'# ##"'#"'# ###$'#"'# #b#%'#"'# #c#&'#"'# #"'# #g"'# #'EJd8Jt^JJJUJVJUKVK!URK4VRKPU`KcV`KUKVKUTKVTKUKVL ULVL;ULNVLjUL}VLULVLULVLUM -VM&UM9VMUUMhVMUMVMUMVMUMVNUN$VN@UNSVNoUNVNUNVNNOO5O_ -O O O OP P/PYP}PQQJQR"R8$R^%R& '###$()40##8#"'#e #@#'#" #@#'##'##'##R'##`'##'##T'##'#6#*'#6#'##'##'##'##'##'##'##'##'##'##'##'##'##'##'##'##'##'#@#'#"'## #@#'#"'#% # @#'#"'# #2 -@#'#" #2#k$  @# -'##k$  #'# #'#"'# #2#+'#" #2#k$,#-'##k$,#'#"'# #"'# #"'# ##.'#"'# #f"'# #g"'# #h"'# ##'#"'# #f"'# #g#x'#"'# #"'# # "'# #!"'# #"'# #"'# ##/'#"'# #x"'# #"'# #"'# ##'#"'# #b#'#"'# #c#0'###1'#%#2'#3"'# #I#4'#3" #I#k$52#6'#3#k$52#'#"'# #"'# #g"'# #'4T8T^TUU/UUBUUUURUhU`U{UUUTUUUU*UUUUUUUUVUV$UV7UVJUV]UVpUVUVUVUVUVUVUVW W!WCWeWW -WWX+X;-X_X.XY,xY/YZZB0ZW1Zl2Z4Z6Z '##7#$890#7#8#7 @#'#7!#:'#"'# #""'# #X"\8\^\\: '#;#3#$<=#0#3#8$#3"'# #f"'# #g"'# #h"'# #i%@#'#3" #f" #g" #h" #i&@#'#3" #f" #g" #h'@#='#3" #f" #g(@#>'#3" #f)@#?'#3*P#|'#6+#i'#, #i"'# #J-#f'#. #f"'# #J/#g'#0 #g"'# #J1#h'#2 #h"'# #J3@#@'#3"'# #24@#A'#3" #2#k$B@5@#C'#3#k$B@6]V8]f^]]^=^%>^@?^UU|^fUi^xVi^Uf^Vf^Ug^Vg^Uh^Vh_@_>A_hC '##;#$DE70#;#88#;"'# #f"'# #g"'# #h"'# #i9@#'#;" #f" #g" #h" #i:@#'#;" #f" #g" #h;@#='#;" #f" #g<@#>'#;" #f=@#?'#;>#i'#?#f'#@#g'#A#h'#B@#@'#;"'# #2C@#A'#;" #2#k$B@D@#C'#;#k$B@E#'#3"'# #F#F'#3" ##k$GG#H'#3#k$GH`,8`<^```=`>a?a+Uia=UfaOUgaaUhas@aAaCab -Fb5H '##I#$JKI0#I#8J#I"'# #L"'# #M"'# #N"'# #OK@#'#I" #L" #M" #N" #OL@#'#I" #L" #M" #NM@#='#I" #L" #MN@#>'#I" #LO@#?'#IP#L'#3Q#M'#3R#N'#3S#O'#3T@#P'#I"'# #2U@#Q'#I" #2#k$RPV@#S'#I#k$RPW@#T'#I"'# #2X@#U'#I" #2#k$VTY@#W'#I#k$VTZ#X'#[b8b^cMc~c=c>c?cULdUMd"UNd5UOdHPdlQdSdTdUeWe,X '#-'#=&'#'#f&'#'#1&'#'#p&'##Y#$Z[\ -0#Y#8]#'# ^#'#"'# #_#5'#I"'# #"'# #J` #"'# #Ja#m'#b#n'#c#'#d#s'#"'# #e#.'#"'# #f -f8f.Uf>f_5fVfUmfUnfUfsf. '#'##\#$]^g$#'#h#'#6" #2i#'# j#'#"'# #2k#'#6"'#&'# #2l#'#"'# #2m#'#6"'#&'# #n#'#6"'#&'# #o#'#p#'#q#'#r#'#s0#\#8t#\"'# #f"'# #g"'# #"'# #u@#'#\" #f" #g" #" #v@#'#\" #f" #g" #w@#='#\" #f" #gx@#>'#\" #fy@#?'#\z#F'##k$G{#'#|#'##k$m}#'#~#X'##k$n#'##Y'##k$ă틁#'##'##k$ԃꋃ#'##'##k$닅#'##f'##g'#@#T'#\"'# #2@#U'#\" #2#k$VT@#W'#\#k$VT$gggUgghh7h`hUhUhUhUh8h^i-i\i=i>i?iUFiUjUj)Uj;UXj\UjnUYjUjUjUjUjUkUfkUgk+TkOUkyW '#-'#=&'#'#f&'#'#p&'#'#1&'###$_` -0##8#'# #'#"'# ##5'#I"'# #"'# #J #"'# #J#m'##n'##'##s'#"'# ##.'#"'# # -l8mUmm65mbVm{UmmUnmUmsm. '##a#$bc0#a#8#d'#I"'# ##j'#I"'# #"'# #J#.'#"'# #n\8nldnjn. '##e#$fg 0#e#8#'# #J'# #J"'# #J#'#I"'# #h#Y'#6"'# #i#.'#"'# ##'#I"'# #h#'#I"'# #i"'# #j#i'#6"'# #i#'#6"'# #i"'#6 # o8o/Uo@UJoRVJomoYo.oop$ipF '#&'#<'#=#k#+'#<*#"+'# -*#l##k#m"'#< ##Y'#6"'#e ##g'#6#'# #'#<"'# ##5'#I"'# #"'#< #J #"'# ##'#<"'#< #J#Q'#R&'#<#'#I"'#X&'#< #@#n'#I"'#< #""'#X&'#< ##'#I'# "'#< #"'#< # ##'#I"'# ##'#I'#6"'#< # #V#'#I'#6"'#< # #V# -'#I'#6"'#< # #V"'#6 # #'#I"'# #B"'# #C"'#< ##'#I"'# #B"'# #C"'#X&'#< ##'#I"'# #B"'# #C#'#I"'# #B"'# #C"'#X&'#< #"'# ##'#6"'#e #@#-'#6"'#< #""'#e ##'#I"'# #"'#< ##'#I"'# #"'#X&'#< ##'#I"'# #"'#X&'#< ##'#I#'#<"'# ##'#<#m'#<@#n'#<"'#< #"#<$YZ#n'#<#'#<#B'#1&'#V#p"plqmq3YqTUgqeUquq5qVqqUQrr@nrvrrs s= -szssttmt-ttuuSuguuUmunuUnuUvUB)(#Z'#< '#&'#Z#gM#'#"#"'#X&'# #J#}'##o'#p#q'#p#r'#p#s'#p#'#&'##V'#&'##W'#&'##X'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##Y'#&'# -#Z'#&'# -#'#&'##$tu#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#p#]'#&'# -#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##a'#&'##'#&'##'#&'##'#&'##d'#&'# #'#&'# -#'#&'# #'#&'# #'#&'# #'#&'##'#&'##v'#&'##w'#&'##'#&'##'#&'##x'#&'#y#w #w#x#w #w#y#w #w#$#w #w#̌#'#&'##'#&'##e'#&'##f'#&'##'#&'#pMw=UwOVwrU}wUowUqwUrwUswUwUVxUWxUXx4UxNUxhUxUxUxUxUYxUZyUy,UyFUy`UyzUyUyUyUyUyUzUz0UzJUzdUz~UzUzUzUzU{U{U{4U{NU{hU{U{U{U{U{U|U]|U|8U|RU|lU|U|U|U|Ua|U}U}"U}#'#&'#?#'#&'#@#'#&'#A#'#&'#B#'#&'#C#'#&'#D#'#&'#E#'#&'#F#'#&'#G#'#&'#H#'#&'#II#'#&'#IJ#'#&'#IK#'#&'#L#'#&'#M#'#&'#N#'#&'#O#'#&'#P#'#&'#Q#'#&'#R#'#&'#S#'#&'#T#'#&'#U#'#&'#pV#]'#&'# -W#'#&'#X#'#&'#Y#'#&'#Z#'#&'#[#'#&'#\#'#&'#]#'#&'#^#a'#&'#_#'#&'#`#'#&'#a#'#&'#b#d'#&'#c#'#&'#d#'#&'#e#'#&'#f#'#&'#g#'#&'#h#'#&'#i#v'#&'#j#w'#&'#k#'#&'#l#'#&'#m#x'#&'#y#w #w#x#w #w#y#w #w#$#w #w#̌n#'#&'#o#'#&'#p#e'#&'#q#f'#&'#r#'#&'#psY{mU5.VHtUmUnUUU}VUo'Uq9UrKUs]UBvUUVUWUXUUU,UFU`UzUYUZUUU -U$U>UXUrUUUUUUU(UBU\UvUUUUUUU,UFU`UzUUU]UUUU0UJUdU~UaUUUUdUU4UNUhUUUvUwUUUxcU}UUeUfU '#V'#'#'#w'##<#$|@+'#&'#*#?'#&'#$@A@+'#&'#*#'#&'#$f@+'#&'#*#B'#&'#$CD @+'#&'#*#'#&'#$E -@+'#&'#*#F'#&'#$GH @+'#&'#I*#J'#&'#I$KL @+'#&'#I*#M'#&'#I$NO @+'#&'#I*#P'#&'#I$QR@+'#&'#*#S'#&'#$T@+'#&'#*#U'#&'#$VW@+'#&'#*#X'#&'#$YZ@+'#&'#*#['#&'#$\]@+'#&'#*#^'#&'#$_`@+'#&'#*#a'#&'#$bc@+'#&'#*#d'#&'#$ef@+'#&'#*#g'#&'#$hi@+'#&'#*#j'#&'#$kl@+'#&'#*#m'#&'#$no@+'#&'# -*#$'#&'# -$%&@+'#&'#*#t'#&'#$u$@+'#&'#*#v'#&'#$wx@+'#&'#*#y'#&'#$z{@+'#&'#*#|'#&'#$}~@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ @+'#&'#*#''#&'#$(1!@+'#&'#*#'#&'#$"@+'#&'#*#'#&'#$#@+'#&'#*#'#&'#$$@+'#&'#*#)'#&'#$*+%@+'#&'#*#'#&'#$&@+'#&'#*#'#&'#$'@+'#&'#*#'#&'#$(@+'#&'#*#'#&'#$)@+'#&'#*#'#&'#$*@+'#&'#*#'#&'#$+@+'#&'#*#,'#&'#$-.,@+'#&'#*#/'#&'#$01-@+'#&'#*#'#&'#$.@+'#&'#*#'#&'#$/@+'#&'#*#'#&'#$0@+'#&'#*#'#&'#$1@+'#&'#*#2'#&'#$34#w #w#x#w #w#̍2@+'#&'#*#5'#&'#$67#w #w#x#w #w#̍3@+'#&'#p*#'#&'#p$4#8'#5 #8"'# #J6#9'#7 #9"'# #J8#:'#69 #:"'#6 #J:#'#6; #"'#6 #J<#;'#6= #;"'#6 #J>#<'#? #<"'# #J@# '#6A#='#B #="'# #JC#>'#6D #>"'#6 #JE#}'#~F#?'# G #?"'# #JH#'#I #"'# #JJ#'#6K #"'#6 #JL#'#IM# '#IN#D'#IO#@'#P#A'#BQ#C'#D#k$EKR#'#S #"'# #JT#F'# U#G'# V#H'# W#I'# X#J'#Y#K'#Z#'#[ #"'# #J\#L'##k$MN] #L"'# #J#k$MN^#O'##k$PT_#Q'##k$`#'##k$RSa#T'# #k$Ub#V'##k$Wc #V"'# #J#k$Wd#X'##k$Ye #X"'# #J#k$Yf#Z'# #k$[g#'#h #"'# #Ji#\'#]j#l'#k#^'#"'# #_l#`'#" #_#k$a^m#b'#<"'# #Rn##'#1&'#3o#c'#"'# ##k$dp#e'#"'# #"'# #T#k$fq#g'#1&'#r#h'##i$ij#j$kls#m'#1&'##k$n#i$oY#j$pqt#r'#1&'#V#j$#i$u#$'#1&'#V"'# #%#i$&'#j$&'v#s'#1&'#V"'# #T#k$t*#i$&'#j$&'w#u'#6"'# ##k$vx#w'#6"'# #"'# #T#k$xy#y'#6"'# #zz#{'#I"'# #z{#|'#I"'# ##k$}|#~'#I"'# #"'# #T#k$}#'#I~#'#I" #"'# #g#'#I#k$#'#I" #d#k$#'#I"'# #f" #g#k$#'#I" #"'# #g#'#I#k$#'#I" #d#k$#'#I"'# #f" #g#k$#'#I"'#e #:#k$#'#I"'#6 ##k$#'#I" #"'# #g#'#I#k$#'#I" #d#k$#'#I"'# #f" #g#k$#'#I"'# #"'# #J#k$#'#I"'# #"'# #"'# #J#k$#'#I"'# #z#'#I#k$#w #w#x#w #w#̍#'#I"'#e # #!'#I"'#e # #'#<#'#<#G'# #k$HI#K'#<#k$LM#N'#<#k$OP#Q'#<"'# #R#S'#1&'#V"'# #R#k$TU#i$#j$#'#&'##V'#&'##W'#&'##X'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##Y'#&'# -#Z'#&'# -#'#&'##$tu#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#p#]'#&'# -#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##a'#&'##'#&'##'#&'##'#&'##d'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##v'#&'##w'#&'##'#&'##'#&'##x'#&'#y#w #w#x#w #w#y#w #w#$#w #w#̍#'#&'##'#&'##e'#&'##f'#&'##'#&'#p߁kX!}2~CTev 1BSdu*,UKVKFuHUU 6VXU4^UpVUV 1UCU2U|v} 7RUT?UQfq Bp8g>UeUowUqUrUsU'>UlUUSVo{UUVU2 S -oU U U UUUUVUV-U>8N.fF~4$l'*-0L369<,?dB FDJ|MPS$U\X[^a<dtgjm$Ttvy|4l'L),d D,|/$\25D|U8V8U9V9U:V:UV4U;FV;aU<tV<U U=V=U>V>U}U?#V?>UQVmUV DU@UAUC U3VOUFaUGsUHUIUJUKUVUL VL7UOXUQyUUTUVVVUX&VXPUZpUVU\Ul^`b5#RceghmWr$s*uZwy{| ~F[ -7ZKn Rs!U U UG@UKaUNQSUUV-UWGUXaU{UUUUUUYUZ1UYUsUUUUUUU)UCU]UwUUUUUUU-UGUaU{UUUUUUU1U]KUeUUUUUUUaU5UOUiUdUUUUUUUv9UwSUmUUxUUUe4UfNU#@#'#"'# #"'# #m˰#+*#*## ##@+*#' ##$@+*#' ##$@+*#' ##$!0V| '###w #w#x#w #w##w #w##j#$0##8####XP#|'#6#'# #"'# #J#'# #"'# #J#'# #"'# #J#X'# #X"'# #J#'# #"'# #J#'#V"'# ##j'#I"'# #"'#V #J.8>^LX]U|nÚV͝UͰVUVUXVX*U=VY|j7'#I"'#1 ## '##4#$40#4#8#'##'##'#6#'#6#'##'#I"'# #C"'# #"'#T #"'#H #(#k$#'#~&'#4"'# #C"'# ##k$#'#I"'# #"'#H #(#k$2#2'#~&'##k$2#'#I"'#T #"'#H #(#k$#'#~&'#4#k$#'#I"'# #C"'# #"'#T #"'#H #(#k$ӎ#'#~&'#4"'# #C"'# ##k$ӎ #-'#I"'# #"'#H #(#k$ -#'#~#k$ #'##k$ [8kU~UϑUϣUϵU(pа2Iѩ-1T7'#I"'#4 ##T 7'#I"'# #f#H '###j#$ 0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#'# #f'#e#i$k`#'##'# #W'# Z8j^ӕӸUUfUU,UW '###$æĎ#"'# #X"'#6 #"'#6 #0##;"'# #X"'# #"'#6 #"'#6 ##'# #"'# #J#'#<#D'#1&'#{0##8"'# #X"'# ## @#'#" #X" ##!@#'#" #X"@+'# *##@+'# *#$@+'# *#%#'#6&#'#6'#'#6(#'#{)#'##k$ͦ#i$k`#j$Φώ*#'#6+#'# ,#'#6-#'#{.#'##k$(#i$ԉV#j$զ֎/#'#0#X'#1#'#1&'#{2#'#I"'# #X"'#6 #"'#6 ##k$ڦێ3#'#I4#'#I5#'#I6ԡ^;+U>VZUlUDՅ8ղ !9UKU]UoUցU־UUUUUCUVUXi׆ '#{##$ߎ7#"'# #" #80##89@+'#&'#*#'#&'#$f:@+'#&'#*#'#&'#$W;@+'#&'#*#'#&'#$<@#'#"'# #"'# #=@#'#" #" #>@#'#" #?@+'# *#@@+'# *#A@+'# *#B#'# C#'#D#'#6E#'#IF#'#&'#G# '#&'#H#'#&'#I^+8;s٫8TlڄڜUڮUUUU U#J+'#{*#K# #L#'#&'#"'# #XM^ '##N@+*#O#"'#< #jP#'#&'#"'# #XQL]^x '##{#${R"#{#S#'#T#'#I"'# #X"'#~ #W"'#6 #U#'#I"'# #X"'#~ #W"'#6 #V0#{#8W#'#I"'# #X"'#~ #W"'#6 #d#k$X#'#6"'# #Y#'#I"'# #X"'#~ #W"'#6 #d#k$ZU<y8݉ '###$Ύ[0##8\#"'# #X"'# ##]@#'#" #X" ##^@#'#" #X_#'#I"'#~ #T`ޟ8ޯ^ '###$a0##8b#A'#e#1#2c#'#d#b'#e#'#1&'#f#'#e#i$#j$g߁8ߑUA߱UUbUU '###$h0##8i#'#Ij#'#Ikm8} '###$l0##8m#"'# #n@#'#" #o@#'#p#'#~&'#1&'#" #(q8^*? '#.'#0##$ r0##8s#"'# #At@#'#" #Au#0'#v# -'#w#2'##k$34x#'#y8^U0U -#U2DU '## #$ z0# #8{# "'# #X"'# ##|@#'# " #X" ##}# '#~#'#6#'#~#'##'#I"'#~ #8^U U+U=UP '###j#$0##8####X#'#6 #"'#6 #J#`'#1&'#V#j$$ -#i$$ -#'##'# #"'# #J#X'##$'##%'#&#''#6#('#6#)'#6#*'#I"'# #f8^XUV2U`gUzUVUXU$U%U'( )* '##)#$) 0#)#8#)"'#1&'#e #"'# #"'# #d@#'#)" #" #" #d@#'#)" #" ##'# #'##'##k$#i$k`#'##'##k$#w #w#x#w #w#̎ 8^!KnUUUUU7'#I"'#) #N# '#4##$0##8#'#I"'# #"'#H #(#k$!"#"'#~&'###k$!"#$'#I"'# #"'#H #(#k$%N#N'#~&'#)#k$%N8"$QN '#-'#=&'#)'#f&'#)'#1&'#)'#p&'#)#+#$&+ -0#+#8#'# #'#)"'# ##5'#I"'# #"'#) #J #"'# #J#m'#)#n'#)#'#)#s'#)"'# ##.'#)"'# # -8U?5kVUmUnUs. '#{#'#$('#'#e0#'#8@+'#&'#q*#'#&'#q$@+'#&'#q*#'#&'#q$f@+'#&'#q*#S'#&'#q$T@+'#&'#q*#)'#&'#q$*+@+'#&'#q*#,'#&'#q$-.@+'#&'#q*#r'#&'#q$st#'@#'#'@+'# *#/@+'# *#0@+'# *#1#f'##'# #'#I#2'#I"'# ##3'#I"'# ##k$45#6'#I"'# #"'# # #'#&'#q#'#&'#q#'#&'#q#7'#&'#q#8'#&'#q#'#&'#qeUw8S/)g,r^/0*1BUfUUg|236UU4UNU7hU8U '###w #w#x#$9:0##8P#|'#6#'##e'#8U|UUe7'#I"'# #;#G '#{###$<#0###8@+'#&'#q*#'#&'#q$@+'#&'#*#'#&'#$f@+'#&'#q*#r'#&'#q$st@+'#&'#q*#='#&'#q$>@+'#&'#q*#?'#&'#q$@A@+'#&'#q*#B'#&'#q$CD@+'# *#/@+'# *#E@+'# *#F#f'##'# #'# #'# #'#I#G'#I"'# ##'#I"'# #7#'#I"'# #A#'#&'#q#'#&'##'#&'#q#H'#&'#q#I'#&'#q#J'#&'#q-8=ur=?UB/EFUfUU U2GStUUUUHUIUJ7'#I"'## #K#  '##L#$ML0#L#8#L"'# #X"'# ##@#'#L" #X" ##@#'#L" #X#N'#{#O'##k$PN#i$k`$84^_UNUO '###$Qǎ0##8#"'# #R"'#e #"'# #S@#'#" #R" #" #S@#'#" #R" ##V'# #V"'# #J#R'# #R"'# #J#T'# #T"'# #J#U'#~&'##~'##V'# #V"'# #J#}'# #}"'# #J#'# #"'# #J#W'# #W"'# #J#X'# #X"'# #J#'#~&'#,8<^tUVVVURVRUT2VTNUUhU~{UVVVU}V}UVUWVW7UXJVXf '#{##$Yʏ 0##8 -@+'#&'#Z*#['#&'#Z$\] @+'#&'#Z*#^'#&'#Z$_` @+'#&'#Z*#a'#&'#Z$bc #~'##'#"'# #:#d'#6"'# #p"'# ##'#I#f'#6"'# #:#Z'#I"'# #O"'#e #e#2'#6"'# #:#f'#&'#Z#g'#&'#Z#h'#&'#ZG8W[^aU~5dg|fZ2Uf Ug&Uh '##Z#$iZ0#Z#8#Z"'# #X"'# ##@#'#Z" #X" ##@#'#Z" #X#j'#1&'#8^'CUj '##k#$lk0#k#8#F'# 8UF '##m#$nm!0#m#8"#m"'# #X"'# ###@#'#m" #X" ##$#b'#%#'#&#'#I"'#~ #'8^0SUbfUy '###w #w#x#w #w#y#w #w#$#w #w##$o( 0##8)#"'# #*@#'#" #+@#'#,P#|'#6-##'#I"'# #"'# #J.#p'#I"'# #"'# #J"'# ##k$q#/#f'#I"'# #0#'#e"'# #1#'#1&'#e"'# #2#2'#6"'# #3#M'#I"'# #" #J"'# #4 -8=^[wU|#pf9\2M '###$rs50##86#7###X8#t'#9 #t"'# #J:#'#; #"'# #J<#'#= #"'# #J>#S'#? #S"'# #J@#u'#A #u"'# #JB#'# C#<'#D #<"'# #JE#'#F #"'# #JG#v'#6H #v"'#6 #JI#'#J #"'# #JK#'#e"'# #L#('#6M#.'#<"'# #N#)'#6O#w'#I"'# #P#x'#I" ##k$ywQ#'#IR#'#ISW8g^uXUtVtUVUVUS&VSBUuUVuqUU<V<UVUvVv U V < _( t. ) w x   7'#I"'# #z#{T7'#I"'# #A#|U '##}#$~}V 0#}#8W#'#1&'#X#'#1&'##i$#j$ُY#'#6Z#'# [#'#\#'#]#'# ^#'#_#'#`#'# a Q8 aU {U U U U U U  U  U 3U '###$b0##8c# '#6d#'#6e#J'#f 8 U U UJ '###$g0##8h#"'# #X"'# ##i@#'#" #X" ##j@#'#" #Xk#'#}l ;8 K^ v  U '###$m 0##8n#'##o#'##p#'#6q#'#6r#'##s#'##t#'##u#'##v 8 U 0U BU TU fU xU U U '###j#$w #'#~&'#"'#6 #"'# #"'# #x#'#&'#"'#6 #"'# #"'# #y#'#" #z0##8{#'#I"'# ##k$|#'#I"'# #"'# #("'# #d}#'#I" #"'# #(" #d#k$~#'#I" #"'# #(#k$#'#I" ##k$#'# "'# #"'# #("'# #d#'# " #"'# #(" #d#k$#'# " #"'# #(#k$#'# " ##k$  f  8    N    . l '##+*## ##'#%#'#  ? P^ gU yU '###$0##8#'#%#'#  8 U U'#{#w#'#I"'# #X'#"'# # #W"'#6 ##'#6"'# ##'#I"'# #X'#"'# # #W"'#6 ##'#0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ @+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ !#$@+'#&'#*#$'#&'#$%&@+'#&'#*#''#&'#$()@+'#&'#*#*'#&'#$+,@+'#&'#*#-'#&'#$./@+'#&'#*#0'#&'#$12@+'#&'#*#3'#&'#$45@+'#&'#*#6'#&'#$78@+'#&'#*#9'#&'#$:;@+'#&'#*#<'#&'#$=>@+'#&'#*#?'#&'#$@A@+'#&'#*#'#&'#$f@+'#&'#*#B'#&'#$CD@+'#&'#*#'#&'#$E@+'#&'#*#F'#&'#$GH@+'#&'#I*#J'#&'#I$KL@+'#&'#I*#M'#&'#I$NO@+'#&'#I*#P'#&'#I$QR@+'#&'#*#S'#&'#$T@+'#&'#*#U'#&'#$VW@+'#&'#*#X'#&'#$YZ@+'#&'#*#['#&'#$\]@+'#&'#*#^'#&'#$_`@+'#&'#*#a'#&'#$bc@+'#&'#*#d'#&'#$ef@+'#&'#*#g'#&'#$hi@+'#&'#*#j'#&'#$kl@+'#&'#*#m'#&'#$no@+'#&'#p*#q'#&'#p$rs@+'#&'#*#t'#&'#$u$@+'#&'#*#v'#&'#$wx@+'#&'#*#y'#&'#$z{@+'#&'#*#|'#&'#$}~@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#p*#'#&'#p$#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##$#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#p#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#pw -, -z - -U -8  C {   # [  $ ' I* - 0 3 )6 a9 < ?   AB y F J !M YP S U X 9[ q^ a d g Qj m q t 1v iy |   I    ) a     A y   ! Y U U U U U U -U GU oU U U U U U  U %U ?U YU sU U U U U U U )U CU ]U wU U U U U U U -U GU aU {U U U U U U U 1U KU eU U U U U U U U 5U OU '###$0##8#"'# #@#'#" # @#'# -#f'# #g'# #h'#  !8 !^ !5 !Q !fUf !xUg !Uh '###$0##8####X#g'# #g"'# #J !8 !^ " X "Ug "/Vg '###w #w#x#w #w#y#w #w##j#$#"'# #X"'#6 #"'#6 #"'# #"'# #0##8"'# #X"'# ##@#'#" #X" ##@#'#" #XP#|'#6#'##k$#'##k$çĐ "^ #'8 #T #w #U| #U #U '###$ŧƐ0##8####X $:8 $J^ $XX '###$ȧǐ 0##8!#"'#e #"@#'#" ##@#'#$ $8 $^ $ $ '###$ʧː%0##8&0##'0##(0##)0##*0##+0##,###X- %?8 %O %` %q % % % %X '#'###$ԧӐ.P#'#6/0##80#'# 1#'#2 #"'# #J3#('#4#'##k$؂(#1#25#'#I6#'#I7#'#I"'# #8#'#I" #A"'# #"'# ##w #w#x#w #w#y#w #w#$#w #w#̐9#'#I" #A" #" ##k$ߧ#w #w#x#w #w#y#w #w#$#w #w#̐:#'#I" #A"'# #"'# ##w #w#x#w #w#y#w #w#$#w #w#̐;#'#I" #A" #" ##k$#w #w#x#w #w#y#w #w#$#w #w#̐< &*U &;8 &KU &\U &oV &U( &U & & & ' ' ( ( '#-'#=&'#V'#f&'#V'#p&'#V'#1&'#V# -#$= 0# -#8>#'# ?#'#V"'# #@#5'#I"'# #"'#V #JA #"'# #JB#m'#VC#n'#VD#'#VE#s'#V"'# #F#.'#V"'# #G#'#e"'# #H )8 )U ) *5 *1V *JUm *\Un *nU *s *. * '###$I0##8J#'#K #"'# #JL#'#"'# #f"'# #g#jM#D'#<"'# #f"'# #gN#'#O#'#P#'#Q#'#R#'#S #"'# #JT#?'#1&'#U#'#V #"'# #JW#!'#I#w #w#x#w #w#̐X#2'#6"'# #"'# #dY#'#I"'# #"'#> #j"'# #k#Z@+'#&'#*#'#&'###w #w#x#w #w#y#w #w#$[@#'#"'#{ #\#'#&'##w #w#x#w #w#y#w #w#$]#'#"'#> #X"'# #k^ +U8 +eU +xV + +D +U ,U ,U ,)U ,;U ,MV ,hU? ,U ,V ,! ,2 - -Y - -U .5 '# -##$_0##8`#'#e"'# #a /8 // '###$b0##8c#d###Xe /8 /^ /X '##%#$f0#%#8g#4'#h #4"'# #Ji#;'#j #;"'# #Jk#-'#l #-"'# #Jm#4'#n #4"'# #Jo#b'#p#.'#q #."'# #Jr#/'#s #/"'# #Jt#C'#u #C"'# #Jv#0'#w #0"'# #Jx#1'#y #1"'# #Jz#2'#{ #2"'# #J| /8 /U4 0V4 0*U; 0s8 '##&#$'(0##&##&#X#)'# #)"'# #J#*'#6 #*"'#6 #J#+'#6 #+"'#6 #J#,'##-'##k$.,#i$ǣ#j$ǣȐ#/'# #/"'# #J#'# #"'# #J#'# #"'# #J#+'# #+"'# #J#0'#e#'# #"'# #J#1'# #1"'# #J#'# #"'# #J >8 >^ >X >U) >V) ? U* ?V* ?9U+ ?KV+ ?fU, ?xU- ?U/ ?V/ ?U ?V @U @&V @BU+ @UV+ @qU0 @U @V @U1 @V1 @U @V '##2#$320#2#8#4'#6#5'#4 A8 AU4 B 57'#I"'#2 #6#7 '##.#$8.0#.#8#'# #'# #'#I By8 BU BU B '##9#$:90#9#8#'##;'#I"'#. #/ C8 CU C%; '##<#$=< 0#<#8#<"'#: #>@#'#<" #>#>'#:#?'#~&'#@#A'#~&'#&'#'##B'#~&'#.#C'#~"'# #D#E'#~&'#"'# #D C8 C^ C CU> C? CA D"B D?C DaE '###$F0##8#" #G"'# #"'# #@#'#" #G" #@#'#" #G" #@#='#" #G" #" ##A'##i$HN#j$HN#'# #'#  D8 E^ E0 ES Ev= EUA EU EU '#'#>#'#$IJ0#'#8#'"'# #"'# #"'# ###'#X#'# #"'# #J#'# #"'# #J# '#6#K'# #K"'# #J#L'##'#  #"'# #J#M'#6 #M"'#6 #J#N'# #O'# #+'# - #+"'# #J #P'#  #P"'# #J #'# #"'# #J#Q'# #Q"'# #J#R'# #R"'# #J#'#  #"'# #J#'#~ FS8 Fc^ FX FU FV FU FV GU G UK G3VK GOUL GbU GtV GUM GVM GUN GUO GU+ GV+ HUP H"VP H>U HQV HmUQ HVQ HUR HVR HU HV H '##S#$TS0#S#8#S"'# #U@#'#S" #U@#'#S#V'#6 J8 J^ J0 JL JaUV '#'#W'#X'#Y'#Z'#['#\'#]'#^'#_'#`'#a'#b'#c'#d'#e'#f'#g'#h'#i'#j'#k#l#$mnh#l"'# #X0#l#8##l#X #'#! #"'# #J"#'## #"'# #J$#o'#% #o"'# #J&#'#' #"'# #J(#'#6) #"'#6 #J*#p'#+ #p"'# #J,#'#6- #"'#6 #J.#q'#6/ #q"'#6 #J0#'#1 #"'# #J2#r'#3 #r"'# #J4#'#65 #"'#6 #J6#('#1&'#)#j$st#i$*+7 #("'#1&'#) #J8#'#9#'#: #"'# #J;#'#< #"'# #J=# '#> # "'# #J?#!'#6@ #!"'#6 #JA#"'#B #""'# #JC#'# D #"'# #JE#u'#6F #u"'#6 #JG#v'#6H #v"'#6 #JI##'#1&'#V#j$#i$J#'#K#'#L #"'# #JM#w'# N #w"'# #JO#'#P #"'# #JQ#x'# R #x"'# #JS#y'#6T #y"'#6 #JU#'#V #"'# #JW#'#X #"'# #JY#'#Z #"'# #J[# -'#6\ # -"'#6 #J]#4'#6^ #4"'#6 #J_#z'#` #z"'# #Ja#{'# b #{"'# #Jc#|'# d #|"'# #Je#7'# f #7"'# #Jg#'#h #"'# #Ji#4'#j #4"'# #Jk#X'#l #X"'# #Jm#$'#n#%'#&o#J'#p #J"'# #Jq#}'#r#~'##k$}#i$k`s #}"'# #Jt #" #Ju#'#v #"'# #Jw#'#1&'#4#k$#w #w#x#w #w#̑x#P'#6#k$#w #w#x#w #w#̑y #P"'#6 #J#k$z#'# { #"'# #J|#''#6}#('#6~#)'#6#'#I#*'#I"'# #f#'#I"'# #"'# #B"'# #C"'# ##'#I"'# #B"'# #C"'# #i#'#I"'# ##'#I"'# #h K9^ KW8 KgX KxU KV KU KV KUo KVo LU LV L4U LFV LaUp LtVp LU LV LUq LVq LU LV MUr M,Vr MHU MZV MuU( MV( MU MU MV NU N#V N?U NRV NnU! NV! NU" NV" NU NV NUu O Vu O$Uv O6Vv OQU# OU OU OV OUw OVw OU P V P%Ux P7Vx PRUy PdVy PU PV PU PV PU PV Q U - QV - Q9U4 QKV4 QfUz QyVz QU{ QV{ QU| QV| QU7 RV7 RU R/V RKU4 R^V4 RzUX RVX RU$ RU% RUJ RVJ RU} SU~ S=V} SXV SmU SV SU SUP T$VP TMU T_V TzU' T( T) T T* T U; Uv U'#<##'#6"#"'#6 #J#'#6"#"'#6 #J#u'#6"#u"'#6 #J#v'#6"#v"'#6 #J#'#"#"'# #J#J'#"#J"'# #J##'#1&'#V#$'##%'#&#''#6#('#6#*'#I"'# #f XU XV XU XV YUu YVu Y+Uv Y#"'#?"#""'# #J@ m1^ m?U mQV mlU m~V mU mV mU! mV! mU" nV"'##iA#iB#'#C"#"'# #JD#'#E"#"'# #JF#'#G"#"'# #JH# '#I"# "'# #JJ#!'#6K"#!"'#6 #JL#"'#M"#""'# #JN#'# O"#"'# #JP#'#Q"#"'# #JR#'# S"#"'# #JT n^ nU nV nU nV nU nV oU o)V oDU! oUV! ooU" oV" oU oV oU oV oU pV'##jU#jV p^'##kW#kX p^ '###$Y0##8Z#"'# #X"'# ##[@#'#" #X" ##\@#'#" #X]#'#I"'# #d^#'#I" #d#k$_ q 8 q0^ q[ q~ q q '###$` 0##8a#"'# #O"'# #db@#'#" #O" #dc@#'#" #Od#e'#<e#'#f#'#1&'#g#'#Ih#'#I"'#< #i#'#1&'#j#'#I"'#< #k r28 rB^ rm r rUe rU rU r s s# s@7'#I"'#1 #"'# ##l '###$m0##8n#'#\o#'#p#'#\q#'#6r#'#\s#'#<t#'#u s8 t U t U t3U tFU tXU tkU t~U '#d##$v0##8w#g'# x#W'#y#h'#z t8 tUg uUW u"Uh '##I#$I{#I -"'# #X"'# #?"'#6 #"'#6 #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #|#'#I -"'# #X"'#6 #"'#6 #"'# #?"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #}#'# ~#'# #'# 0#I#8"'# #X"'# ##@#'#I" #X" ##@#'#I" #X@+'# *#@+'# *#@+'# *#@+'# *##'#6#'# #k$ْ#'##'#6#'#6#'##'# #k$#'# #'#6#'#6#'#6#'#6"'# # uu^ v# vU vU vU v8 w w6 wR wj w w wU wU wU wU x U xU x.U xNU x`U xrU xU x '###$0##8#"'#< #"'#e #:"'#e #d@#'#" #" #:" #d@#'#" #" #: y8 y^ y y '#9##$0##8#"'#< #"'#e #:"'#e #d@#'#" #" #:" #d@#'#" #" #: z[8 zk^ z z '###$0##8####X#J'#  #J"'# #J {/8 {?^ {MX {^UJ {oVJ '###$’0##8####X#'##'##'# #"'# #J {8 {^ {X {U |U |"U |5V '###$ƨǒ0##8####X#'# |8 |^ |X |U '###$ɨȒ0##8#"'# #@#'#" #@#'# }&8 }6^ }T }p '###$˨̒0##8####X#'# #"'# #J#K'# #K"'# #J#'#6 #"'#6 #J#4'# #4"'# #J#*'# #*"'# #J#'##'# #"'# #J#'# #"'# #J#+'# #+"'# #J#,'# #,"'# #J#'#e#'# #"'# #J#'##P'#e#X'# #X"'# #J#'#6 }8 }^ }X }U ~V ~"UK ~5VK ~QU ~cV ~~U4 ~V4 ~U* ~V* ~U ~U V U 1V MU+ `V+ |U, V, U U V U UP UX &VX BU '#'###$ըԒ0##8#'#1&'##j$#i$#4'# #4"'# #J#;'# #;"'# #J#-'# #-"'# #J#4'# #4"'# #J#/'# #/"'# #J#C'# #C"'# #J#0'# #0"'# #J#1'# #1"'# #J#'# #"'# #J#'#I"'# ##'#I#'#I"'# ##b'##'# P8 `U U4 V4 U; V; U- V- !U4 4V4 PU/ cV/ UC VC U0 V0 U1 V1 U V ; ` u Ub  '###$ܨے0##8#"'# #@#'#" #@#'##f'##g'##h'# 8 ^   Uf Ug Uh '###$ިߒ0##8####X#'#1&'#V#j$$ -#i$$ -#'# #"'# #J u8 ^ X U U V '###$0##8#'#~&'#"'# ##'#~&'#"'# # V8 f  '###$0##8#'#6#'#6#|'#6 8 U U 'U| '###$0##8#'# #'# -#:'# # '#  y8 U U U: U  '#{##$ 0##8#'#~&'#1&'##'###k$#'#~&'#/"'# # 8 , P e  '##)#j#$C0#)#8##)#X@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *##'##'#6  #"'#6 #J!#'#"#'#6# #"'#6 #J$#'#e%#K'#& #K"'# #J'#L'#(#'#) #"'# #J*#'#6+ #"'#6 #J,#'#- #"'# #J.#'#6/ #"'#6 #J0#'#1#A'#62#f'# 3#'#64 #"'#6 #J5# -'# 6# '#67 # "'#6 #J8# '# 9#'#6:#'#; #"'# #J<#'#=#'#> #"'# #J?#'# @#'#A#'#B#'#6C#'#D#'#E #"'# #JF#'#/G #"'#/ #JH#'#I#'#J#'#K #"'# #JL#'# #k$#w #w#x#w #w#̓M#'# #k$#w #w#x#w #w#̓N# '#!"'# #:"'# # "'# #O#"'#"'# #X"'# ###jP#G'#/Q#'#IR#$'#IS#x'#~T#$'#~"'# # -U#%'#~"'# #VC 8 X ! 9 Q i      U U V 9U LU ^V yU UK VK UL U V U V *U =V YU kV U UA Uf U V U - U V +U =U OU bV ~U U V U U U U -U U 0V LU _V {U U U V U U P " G  $ x $$ F% '##&#$'&W0#X#&"'# #X"'# ##Y@#'#&" #X" ##Z@#'#&" #X[#('# \#)'#] j8 z^   U( U) '## #j#$* ^0# #8_@+'# *#+`@+'# *#,a@+'# *#-b@+'# *#.c#'# d#W'#e _8 o+ , - . U UW '##/#$0/f0#/#8g#/"'# #X"'# ##h@#'#/" #X" ##i#W'# j#1'#k M8 ]^  UW U1 '#{#2#$32l 0#2#8m@+'#&'#*#'#&'#$Wn#4'#~&'#Io#5'#p#6'#7q#8'#r#'#~s#9'#~"'# #)" #(t#'#~"'# #8u#'#~v#s'#~" ##k$uw# '#&'#x 8 # [U4 tU5 U6 U8  9   "s MU  '##7#$:7y0#7#8z#7'# {#'#e" #;|#2'#6" #;} 8 U7  2 '##<#$=<~0#<#8##'##>'#~#?'##@#k$A? {8 U# > ? @ '## #$B 0# #8#C'#2"'# #D#k$EF#G'#~"'#H #I#J'#~" #K -8 =C qG J '##H#$LH0#H#8#H"'# #@#'#H" ##M'# 8 ^  6UM '###j#$N0##8#'# #O'# #O"'# #J#P'#I"'# #Q#R'#I"'# #Q#.'#"'# # 8 U UO VO P R %. '##S#$TS 0#S#8#S"'# #@#'#S" #@#'#S#U'# #U"'# #J#V'# #V"'# #J#W'#1 #W"'#1 #J#'# #"'# #J 8 ^   UU VU )UV #'#/#'#1&'#:#i$#j$ٓ#'#:"'# ##'#1&'#:#'#1&'#:#i$#j$ٓ#'#I"'#: #>#'#&'##'#&'#P#|'#6 8 w z >^ V k = U~ U    9 \ y  U U U| '###w #w#x#$0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #XP#|'#6#'#/ 8 ^  1 MU| ^U '#{#:#w #w#x#$:0#:#8@+'#&'#*#?'#&'#$@A@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$#'# #"'# #J#'#6 #"'#6 #J#'##:'## '# # '#6 -#'# #'#~"'# # #'#: #'###k$#'###k$#'###k$#'#I#'#&'##'#&'##'#&'# 8 ?  N U V U V U U: U U -U @ e {       )U CU ]U '###w #w#x#$0##8#"'# #X"'# ##@#'#" #X" ##P#|'#6#>'#: ]8 m^  U| U> '###$0##8#'# #'# !#'# " "8 2U DU VU '###$#0##8$#%###X& 8 ^ X7'#I"'# #W#' '###j#$(0##8)#*@#'#+#'#,#'#- 78 G^ U jU }U '###$.#"'# #X"'#6 #"'#6 #"'#e #A"'# #b"'# #"'# #"'#1&'# #8/#A'#0#'##k$A#1#210##8"'# #X"'# ##2@#'#" #X" ##3@#'#" #X4#'##j5#b'#6#'#1&'##j#i$ٔ7#'#{8#'##k$#i$k`#j$զ֔9#'#:#'#I"'# #"'#6 #"'#6 #"'#e #"'# #"'# #"'#{ #"'#1&'# #;#'#I" #" #" #" #" #" #" #"'#1&'# ##k$< ^ mUA ~U 8   U 4Ub GU xU U U  [ '#{##j#$= #'#I"'# #X"'#~ #W"'#6 #>0##8?@+'#&'#*#'#&'#$W@#'#IA#'#I" #W"'#1&'#e #B#C'#I" #W"'#1&'#e ##k$DC#E'#I" #W#k$DD#'#I#k$BE# '#&'#F P 8    C ZE  U  '###$éĔG 0##8H#I###XJ#''#K #'"'# #JL#'#M #"'# #JN#'#O #"'# #JP $8 4^ BX SU' fV' U V U V '###$ƦQ0##8R#'#S#'##k$ɩ#i$k`T#7'# U B8 RU dU U77'#I"'# ##V '###w #w#x#w #w#y#w #w##j#$˩̔W0##8X#Y###XZP#|'#6[#'#\ #"'# #J]##'#1&'#V#j#j$#i$^#'#_ #"'# #J`#'#a #"'# #Jb#'#c #"'# #Jd#'#e #"'# #Jf#J'#g #J"'# #Jh =8 M^ [X lU| }U V U# U V U -V IU \V xU V UJ VJ '#{##$ѩҔi0##8j#'#k#'#l#'#6m l8 |U U U '###$٩ڔn0##8o#"'# #X"'# ##p@#'#" #X" ##q@#'#" #Xr#C'#s 8 ^ / R nUC '###$ݩޔt0##8u@+'#&'#*#'#&'#$v#'#&'#w 8  U '#-'#&'#'###$x0##8y#'#"'# #z#'#I"'#&'#'# #2{#'#6"'# #J|#'#6"'# #}#'#"'# #~#Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##'# #g'#6#h'#6#5'#I"'# #"'# #J#'#"'# #'# ##'#"'# ##'#I y8      <Z yU U U Ug Uh 5  ? a '###$甉0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#A'#  8 ^ C f UA '###$ꔏ0##8#'#I"'# #A"'# # 8  '#-'#&'#'###$씒0##8#'#"'# ##'#I"'#&'#'# #2#'#6"'# #J#'#6"'# ##'#"'# ##Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##'# #g'#6#h'#6#5'#I"'# #"'# #J#'#"'# #'# ##'#"'# ##'#I `8 p     #Z `U zU U Ug Uh 5  & H '#{##$ -0##8#'##'##'##'##('##X'##O'##'#~#'#~ - 8 U U %U 8U KU( ^UX qUO   '###$0##8#'##'##'##X'# 8 (U ;U NU aUX '#-'#=&'#'#f&'#'#1&'#'#p&'###$ 0##8#'# #'#"'# ##5'#I"'# #"'# #J #"'# #J#m'##n'##'##s'#"'# ##.'#"'# ##'#"'# # 8 U  75 cV |Um ŽUn  U ²s .  '###j#$0##8###X#'# #"'# #J#'# #"'# #J Ð8 àX ñU V U V7'#I"'# ## '###$##"'# #X"'# #?"'# #"'# #"'# #"'# #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'#6 #"'#6 #"'#{ #N0##8"'# #X"'# ##@#'#" #X" ##@#'#" #X#'#6#'# #'# #'##k$#'##k$#'#6#'#V##'# #k$ -# '# #k$ #'#6#'# #k$#'# #k$#'##k$ #'##k$ #'##N'#{#O'##k$PN#i$ԉV#j$Φϔ#'##k$#'##k$#'#6#'#V##'#6"'# ##'#I"'# #X"'#6 #"'#6 #"'# #?"'# #"'# #"'# #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'# #"'#{ #N#'#I" #X" #" #"'# #?" #" #" #" #" #" #" #" #" #" #" #N#k$ !#'##"'##w #w#x#w #w#y#2'###'##'##'##$'# # {^ Ł8 Ů  U U U #U DU eU wU ƑU ƱU U U U #U DU eU xUN NJUO U U U U 5 W ! ɲU U" U2 U# U ,U >U$7'#I"'#1 #%"'#& ##' '##(##$)( -0#(#8@+'# *#*@+'# *#+@+'# *#,#-'# #.'##_'##/'##0'#V#1'#I"'# #X"'#6 #"'#6 #"'#V #0"'# #/"'# #_"'# #."'# #- - ˚8 ˪* + , U- U. U_ *U/ =U0 P1 '##&#w #w#x#w #w#y#w #w##$23 #'#I#4'#I"'#V #"'# #d#'#I"'#V #" #d#k$#5'#I"'#V ##k$#'#1&'#6P#|'#6#'#I"'#V #"'#6 #7"'#6 #K"'#6 #8"'#6 #9"'#6 #:"'#6 #;"'#1&'# #<@+*#=@#>@#4" #"'# #" #J@#?" ##@'#I" #" #d#k$#&"'#' #O g |4 ͭ 5  1U| B = > 4 ? 3@ d^ '##6#$A6 -0#6#8#B'#1&'#V#j$#i$#C'# #D'# -#E'#V #'# #F'#V #G'#1&'#V#j$#i$#'#V#X'# - 8 UB EUC XUD kUE ~U БUF ФUG U UX '##H#$IH0#H#8#'#~#"'#~#J'#~&'#&'#'# j8 z я" ѤJ '#K'#L'#M'#N'#O'#P#Q#$RQ5#S'#1&'#}#'##'#~&'#/" #" #,#w #w#x#T#U'#I" #d"'#V #"'#W #f#k$X0#Q#8#Y'#Z#['#\#'#]#^'#5 #_'#!#`'#"#a'##j##b'# $#c'#%#d'#&#e'#e'#f'#(#g'#h)#i'#j*#k'#l+#m'##j,#n'#o-#'#p.#q'##j/#r'##j0#s'#t1#u'#b#k$vw#w #w#x#w #w#̕2#x'#b#k$yz#w #w#x#w #w#̕3#{'#I4#|'#~5#}'#1&'#}#k$~S#j$#i$6#'#~&'#7#'#~8#'#I"'# #A"'# #"'# ##j9#'#~"'#1&'# #:#'#~"'#1 ##k$;#'#~#k$<#'#~"'# #d#k$=#'#~"'# ##"'#1&'# #>#'#6"'# #"'#e #A?#'#~"'# #A@#'#6A#'#6#jB#'#C#'#D#'#E#'#6F#'#G#'##jH#'#I#'#1&'#J#'#6#jK5 /S KU ] ҢT ұU 8 UY U[ +U >U^ QU_ dU` wUa ӓUb ӥUc ӸUd Ue Uf Ug Ui Uk *Um FUn YU lUq ԈUr ԤUs ԷUu Ux 9{ N| c} ժ   ! M | ֟   6 ZU lU ׇU ךU ׭U U U U U U .U '##O#$OL0#O#8M#'#6N 8 U '##K#$KO0#K#8P#'# Q 48 DU '##L#$LR0#L#8S#'#6T ڈ8 ژU '##PU0#P#8V#'#W#'#X#'#Y#'#6Z#'#[#'#\#'#] 8 U U U U )U  R8 b^ pX U| U, U- UA VA U !U 4V PU cV UX VX UR VR U$ U% U V 2U' D gj ( ) * '#{##$? 0##8@#"'# #"'# #A@#'#" #" #B#'# C #"'# #JD#'# E #"'# #JF#'#~&'#"'# #dG#I'#e"'# #"'# #KH#P'#e" #" #K#k$QII#R'#e" ##k$QIJ#'#.K 8 ^  U *V EU WV r I P R . '#'###$LX0##8M#'#N#i'#O #i"'# #JP#m'#eQ #m"'#e #JR#'#S #"'# #JT#p'#U #p"'# #JV#q'#W #q"'# #JX#r'#Y #r"'# #JZ#s'#6[ #s"'#6 #J\#t'#] #t"'# #J^#u'#_ #u"'# #J`#'#a #"'# #Jb#v'#c #v"'# #Jd#'#e #"'# #Jf#w'#g #w"'# #Jh#x'#i #x"'# #Jj#y'#k #y"'# #Jl#z'#m #z"'# #Jn#{'#o #{"'# #Jp#|'#eq #|"'#e #Jr#}'#s #}"'# #Jt#~'#u #~"'# #Jv#'#Iw#'#I"'# #f"'# #g"'# #"'# #x#'#I"'# #Dy#'#~z#'#" #"'# #" #"'# #{#" ##k$|#"'# #" ##k$}#"'# #" #" ##k$~#" #A" #"'# #" ##k$#'#d"'# #"'# #"'# #u"'# #w#'#h" #("'# ##'#d"'# #"'# #"'# #"'# #u"'# #w"'# ##'#I " #("'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# ##'#I" #"'# ##'#I"'# #f"'# #g"'# #"'# ##'#I"'# #"'# #f"'# #g"'# ##'#"'# #b"'# #c"'# #"'# ##" #b" #c" #" ##k$#'#1&'##'#6" #"'# #" #"'# ##J'#6" #"'# #"'# #g#'#"'# ##'#I"'# #"'# #"'# #"'# #"'# #"'# #"'# ##'#I" #" #" ##k$#'#I" #" #" #" #" #" #" ##k$#'#I#'#I#'#I"'# ##'#I#x'#I"'# #f"'# #g#'#I"'#1&'# ##j'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T#'#I"'# #D#'#I"'# #f"'# #g"'# #"'# ##'#I"'# #"'# #f"'# #g"'# ##'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T#'#I"'# #f"'# #g#'#I"'# #f"'# #g"'# #"'# #"'# #"'#6 ##'#I"'# #u"'# #w"'# #v"'# #x"'# ##'#I"'# #"'# #"'# #"'# #"'# #f"'# #g#'#I#'#I"'# #f"'# #g"'# #"'# #"'# #"'# #"'# #"'#6 ##'#I"'# #f"'# #g#'#I"'# #f"'# #g#'#I"'# #"'# #"'# #f"'# #g#'#I"'# #f"'# #g"'# #"'# #X 8 U Ui Vi Um (Vm DU WV sUp Vp Uq Vq Ur Vr Us Vs -Ut @Vt \Uu oVu U V Uv Vv U V Uw +Vw GUx ZVx vUy Vy Uz Vz U{ V{ -U| -V| -2U} -EV} -aU~ -tV~ - - - - -& -k - - - -7 - - - - - - -e - - - -DJ -| - - -L - - - - -x -- -Vj - - -% -o - - - _ -  - - - -+ - - - - - - - F '###$ 0##8####X#'#6 #"'#6 #J# '# # "'# #J -8 -(^ -6X -GU -YV -tU -V  '##!#$"##!"'# #A$^"'# #J$^"'#6 #0#!#8"'# #A"'# #J"'#6 #$"'#6 #@#'#!" #A" #J" #$" #@#'#!" #A" #J" #$@#='#!" #A" #J@#>'#!" #A@#?'#!##!#X#$'#6 #$"'#6 #J#'#6 #"'#6 #J#'##'# # '# # "'# #J#'#6 #"'#6 #J#J'# #J"'# #J -^ -<8 - - -= -> -? -0X -AU$ -SV$ -nU -V -U -U -U -V -U -V -UJ -.VJ '###$%Ӗ0##8#&'#1&'##''#I"'#e #( -8 -U& - ' '##)#w #w#x#w #w#y#w #w##$*+0#)#8#)##)#XP#|'#6#'# #"'# #J#'##'#e##'#1&'#V#j#j$#i$#'# #"'# #J#X'##$'##%'#&#J'# #J"'# #J#''#6#('#6#)'#6#*'#I"'# #f -8 -^ -X -U| -U -V -U --U -@U# -U -V -UX -U$ -U% -UJ -VJ -U' -&( -;) -P* '##,#$-,0#,#8#,"'# #."'# #W@#'#," #." #W#.'##W'##'# -8 -/^ -W -zU. -UW -U '##/#$0/0#/#8#/"'# #X"'# ##@#'#/" #X" ##@#'#/" #X#1'#6 -8 -^ -; -^ -zU1 '#'##2#$32C0#2#8#l'#Q #l"'#Q #J#m'#e #m"'#e #J#'# #"'# #J#q'# #q"'# #J#r'# #r"'# #J#s'#6 #s"'#6 #J#t'# #t"'# #J#u'# #u"'# #J#'# #"'# #J#v'# #v"'# #J#'# #"'# #J#w'# #w"'# #J#x'# #x"'# #J#y'# #y"'# #J#z'# #z"'# #J#{'# #{"'# #J #|'#e - #|"'#e #J #'#I #'#I"'# #f"'# #g"'# #"'# # #'#I" #"'# ##'#d"'# #"'# #"'# #u"'# #w#'#h" #("'# ##'#d"'# #"'# #"'# #"'# #u"'# #w"'# ##'#I " #("'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# ##'#I" #"'# ##'#I"'# #f"'# #g"'# #"'# ##'#1&'##'#6" #"'# #" #"'# ##J'#6" #"'# #"'# #g#'#I#'#I#'#I"'# ##'#I#x'#I"'# #f"'# #g#'#I"'#1&'# ##j'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T#'#I"'# #D#'#I"'# #f"'# #g"'# #"'# # #'#I"'# #"'# #"'# #R"'# #`"'# #"'# #T!#'#I"'# #f"'# #g"#'#I"'# #f"'# #g"'# #"'# #"'# #"'#6 ###'#I"'# #u"'# #w"'# #v"'# #x"'# #$#'#I"'# #"'# #"'# #"'# #"'# #f"'# #g%#'#I&#'#I"'# #f"'# #g"'# #"'# #"'# #"'# #"'# #"'#6 #'#'#I"'# #f"'# #g(#'#I"'# #f"'# #g)#'#I"'# #"'# #"'# #f"'# #g*#'#I"'# #f"'# #g"'# #"'# #+C -8 -Ul -Vl -Um -,Vm -HU -[V -wUq -Vq -Ur -Vr -Us -Vs -Ut -Vt -1Uu -DVu -`U -sV -Uv -Vv -U -V -Uw -Vw -Ux -/Vx -KUy -^Vy -zUz -Vz -U{ -V{ -U| -V| - - -c - - - -j - -/ -v - -J - -# -8 -Z -ox - -j -' -L - - -# - - - : - O -  -  -!# -!j '##4#$54,0#4#8-#'#.#'#/ -#8 -#U -#U '##6#$7600#6#81#8'#2#9'#I"'# #"'#e #:3 -$8 -$(U8 -$;9 '##;#$<=40#;#85#;6##;#X7 -$8 -$^ -$X '##>#j#$?@80#>#89#>:##>#X;#'#< #"'# #J=#J'#> #J"'# #J? -%8 -%#^ -%1X -%BU -%UV -%qUJ -%VJ '##w@0#w#8A#G'# B# '#1&'#VC#K'#<D#N'#<E#Q'#<"'# #RF#S'#1&'#V"'# #RG -%8 -%UG -&U -&UK -&1UN -&DQ -&fS '#.'#0#A#$BAH 0#A#8I#A" #CJ@#'#A" #CK@#'#A" #CL#D'#eM #D"'#e #JN#E'#O #E"'# #JP#.'#Q#F'#R #F"'# #JS#2'##k$34T#'#U -&8 -&^ -' -'- -'IUD -'\VD -'xUE -'VE -'U. -'UF -'VF -'U2 ( -U '#'###$GV0##8W#" #HX@#'#Y@#'#" #HZ@#='#" #H[#I'#I"'# #D"'#Q #\#'#I"'# #f"'# #g"'# #"'# #"'# #"'#6 #]#'#I"'# #u"'# #w"'# #v"'# #x"'# #^#'#I"'# #"'# #"'# #"'# #"'# #f"'# #g_#'#I`#'#I"'# #f"'# #g"'# #"'# #"'# #"'# #"'# #"'#6 #a#'#I"'# #f"'# #gb#'#I"'# #f"'# #gc#'#I"'# #"'# #"'# #f"'# #gd#'#I"'# #f"'# #g"'# #"'# #e -(8 -(^ -( -( -(= -)I -)J -) -* -*a -*v -* -+ -+J -+ '##J#$KJf 0#J#8g#L'#1&'#h#M'#i#N'#j#O'#k#P'#l#Q'#m#R'#n#S'#o#T'#p#'#q#U'#r -,d8 -,tUL -,UM -,UN -,UO -,UP -,UQ -,UR --US --UT --&U --9UU '##V#$WVs0#V#8t#'#~u#f'#~&'#6"'# #Xv#'#~&'#&'#'#"'# #Xw#2'#~"'# #Xx#'#~&'#1&'#y#M'#~"'# #X"'# #z --8 -- --f -. -.J2 -.l -.M '##Y#$ZY{0#Y#8|#['#V}#\'#~ #\"'# #J -/8 -/$U[ -/7U\ -/JV\ '#{#]#$^] #]"'#1&'# #5"'# #"'# #d@#'#]" #5" #" #d@#'#]" #5" #0#]#8#'##_'#J#`'##a'##'#~#b'#~&'#6#'#~&'#c -/^ -/ -0 -028 -0BU -0UU_ -0hU` -0{Ua -0 -0b -0 '##d#$ed 0#d#8#d"'# #X"'# ##@#'#d" #X" ###X'##5'#1#6'#1#f'##7'##8'##g'#e#'#~&'# "'# ##'#I"'#~ # -1L8 -1\^ -1 -1UX -1U5 -1U6 -1Uf -1U7 -2U8 -2Ug -2* -2T '##h#$ih0#h#8#h"'# #X"'# ##@#'#h" #X" ##@#'#h" #X#j'#I"'#~ #k -28 -2^ -3( -3K -3gj '##c#$lc -0#c#8#'#e#'##m'##n'##o'##p'##_'#J#`'## '#~"'# #q - -38 -3U -3U -4Um -4Un -4+Uo -4>Up -4QU_ -4dU` -4w  '#{#r#w #w#x#w #w#y#w #w##$sr0#r#8P#|'#6#t'##u'#v#w'##D'#x#y'#I"'# #z#{'#I"'# #|#}'#I#~'#1&'##'#1&'#"'# #"'# ##'#1&'#"'# ##'#I"'# #z#'#I"'# #|"'# #"'# ##'#4#'#I"'# # -568 -5FU| -5WUt -5jUu -5}Uw -5UD -5y -5{ -5} -5~ -6 -6P -6z -6 -6 -6 '###$0##8#'##'##'##'# -78 -7U -7U -7U -7U '###$0##8#'#1&'# -8E8 -8UU '###$0##8 -88 '###$0##8 -88 '##v#j#$v0#v#8@+'# *#@+'# *#@+'# *#@+'# *##'# #X'#  -9 8 -90 -9H -9` -9x -9U -9UX '###$ 0##8#'##'##'##'##'##'##'# #X'##'##'# -: 8 -:U -:0U -:CU -:VU -:iU -:|U -:U -:UX -:U -:U '###$0##8#"'# #O@#'#" #O#'#I#'#I"'# #d#'#I" #d#k$ -;K8 -;[^ -;v -; -; -;7'#I"'# #"'# ## '###$0##8#~'#1&'##'#1&'#"'# #"'# ##'#1&'#"'# # -U ->U ->-U ->@U ->SU ->fU ->yU ->U ->U ->U ->U '###$0##8#'##'##'# -?8 -?U -?U -?U '##x#j#$x0#x#8#'# #'# #'# #'# #'# -#'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'# #'#  -@8 -@)U -@;U -@MU -@_U -@qU -@U -@U -@U -@U -@U -@U -@U -AU -AU -A%U -A7U -AIU -A[U -AmU -AU -AU '#{##$ë˜0##8@+'#&'#*#'#&'#$#('##'#&'# -Ba8 -Bq -BU( -BU '##j#$Īj 0#j#8!#F'#~&'#"'# #"#'#~&'#"'# #i##'#~&'#"'#1&'# #i$#'#~&'#"'# #% -C8 -C'F -CQ -C{ -C '##@#$Ǩ@&0#@#8'#'#1(#'#j)#'#j*#'#+ -D8 -D-U -D?U -DRU -DeU '###$ͫΘ,0##8-###X. -D8 -DX '###$ϩ/0##80#'#1#'#2#'# 3#'#4#.'#"'# #5#'#"'# #6 -E8 -E"U -E5U -EHU -EYU -El. -E '#-'#=&'#'#f&'#'#p&'#'#1&'###$ѫИ7 0##88#'# 9#'#"'# #:#5'#I"'# #"'# #J; #"'# #J<#m'#=#n'#>#'#?#s'#"'# #@#.'#"'# #A#'#"'# #B#'#I"'#6 #C -F@8 -FPU -F` -F5 -FV -FUm -FUn -FU -Fs -G. -G? -Gb '###$ԫӘD0##8E#"'# #X"'# ##F@#'#" #X" ##G@#'#" #XH#'#I#'#6J#z'# K#'#L#'#M#'#N#'# O#'# P#'# Q#'#R#'#1&'#SP#|'#6T -G8 -H ^ -H4 -HW -HsU -HU -HUz -HU -HU -HU -HU -HU -IU -IU -I, -IIU| '###w #w#x#w #w#y#w #w#$#w #w##$ݟU0##8V#"'# #X"'# ##W@#'#" #X" ##X@#'#" #XY#('#Z#'##k$؂(#1#2[ -J28 -JB^ -Jm -J -JU( -JU7'#I"'# ###j\ '###j#$߫ޘ]0##8^@+'# *#_@+'# *#`@+'# *#a#'# b#W'#c -Kk8 -K{ -K -K -KU -KUW7'#I"'# #f##jd '###$e0##8f#g###Xh -La8 -Lq^ -LX '##l#$li0#l#8j#'#k #"'# #Jl#'#m -L8 -LU -LV -MU '#{##$n0##8o@+'#&'#*#'#&'#$p#J'#6q#'#&'#r -MZ8 -Mj -MUJ -MU '#{##$s 0##8t@+'#&'#*#'#&'#$Wu#'#v #"'# #Jw#'#x#('#y#'#z#'#I{#'#I" #|#'#I}# '#&'#~ -N 8 -N -NUU -NhV -NU -NU( -NU -N -N -N -OU  '###$0##8#"'# #X"'# ##@#'#" #X" ###'# -O8 -O^ -O -OU '###$0##8#"'# #X"'# ##@#'#" #X" ###W'##'# -P<8 -PL^ -Pt -PUW -PU '#{##$0##8#'#1&'# -Q8 -QU '###$蘍0##8#'#~&'# -Q_8 -QoU '#{##$瘐0##8#" #@#'#" #@#'#" ##'#~&'##'#~&'#"'# ##B'#~&'# -Q8 -Q^ -Q -Q -R -R5 -R_B '###j#$0##8#'##'# -R8 -RU -RU '###w #w#x#w #w#y#w #w#$#w #w##$ -0##8####XP#|'#6##'#1&'#V#j#j$#i$#'# #"'# #J#'##J'# #J"'# #J - -S8 -S^ -SX -SU| -SU# -T -U -TV -T9U -TLUJ -T^VJ '##q#$q0#q#8#q"'# #X"'# ##@#'#q" #X" ##@#'#q" #X#'#6#U'# #g'#  -T8 -T^ -U -U> -UZU -UlUU -U~Ug '###$0##8#"'# #X"'# ##@#'#" #X" ###'#~#'#e -U8 -U^ -V -V?U -VQU '#.##$0##8# '# #'# -V8 -VU -VU '## -#$ -0# -#8# -"'# #X"'# ##@#'# -" #X" ##@#'# -" #X#A'#  -W8 -W(^ -WS -Wv -WUA '## #$ 0# #8P#'#1&'##'#~&'##'#~"'# #d#'#~&'#"'# #d -W8 -WU -X -X0 -XU '## #$ 0# #8#'# #'##'#e#'# -X8 -X -X -Y -Y '###$0##8#'##'# #d'##'# "'# ##'#~&'#6 -Yw8 -YU -YU -YUd -Y -Y '###$0##8#'# #'#6 -ZK8 -Z[U -ZmU '###$0##8####X#'# #"'# #J -Z8 -Z^ -ZX -ZU -ZV7'#I"'# #/# 7'#I"'#! #"##7'#I"'#$ ##% '###j#$&&#0##@"'# #I0##8@+'# *#'@+'# *#(@+'# *#)@+'# *#*#+'#6#,'#V#-'#V#.'# #/'#V#P'# #0'##1'##2'#I"'#6 #3#4'# "'# #5"'# #6#7'# "'#V #"'# #2#8'#"'# #H#9'#I#'#I#X'#I"'# #|#:'##h'##m'#1&'##k$n#j$oY#i$oY#;'#I"'#V ##<'#6"'#V #"'# #2#='#I"'#V ##>'#I"'#V ##?'#I"'#V #"'# #2#@'#I"'#V ##A'#I"'#V ##B'#I"'#V #"'# #2#C'#I"'#V ##D'#I"'#V ##E'#I"'#V #F#'#1&'#P#G'#6& -[^ -[@ -[8 -[' -\( -\.) -\F* -\^U+ -\pU, -\U- -\U. -\U/ -\UP -\0 -\1 -\2 -]4 -]K7 -]y8 -]9 -] -]X -]: -]h -^m -^[; -^}< -^= -^> -^? -_@ -_?A -_aB -_C -_D -_E -_ -`UG '###$H0##8#'##'# #'# - -aS8 -acU -avU -aU '##I#$JI 0#I#8 #I"'# # @#'#I" #@#'#I -a8 -a^ -b - -b& '#{##$K0##8#('##L'#~"'# ##'#~#M'#~&'# "'#N #O -bz8 -bU( -bL -b -bM7'#I"'#6 #O#N '##d#$Pd0#d#8 -cd8 '##Q#$RQ0#Q#8#Q"'#S #O@#'#Q" #O#'#I#'#I -c8 -c^ -c -c -c7'#I"'#1 #T"'#Q ##S7'#I"'# #z#U  '##V#$WV!0#V#8"#V"'#X #O#@#'#V" #O$#'#I%#'#I"'#< #&#'#I"'#< #' -d8 -d^ -d -d -d -e7'#I"'#1 #"'#V ##X( '##Y#$ZY)0#Y#8*#['#\+#'#<, -e8 -eU[ -eU '##\#$]^-0#\#8.#X'# /#_'#1&'#0 -f'8 -f7UX -fI_ '#{#`#$ab10#`#82@+'#&'#*#'#&'#$3@+'#&'#*#'#&'#$f4@+'#&'#*#'#&'#$W5@+'#&'#*#'#&'#$6#'#7 #"'# #J8#c'# 9#d'# : #d"'# #J;#'# <# '#=#e'# >#f'# ?#g'#6@#h'#6A#0'#B#'#C#i'#6D#'#IE#'#I" #AF#j'#I"'# #A#k$kΙG#l'#I"'# #A#k$kΙH#m'#I"'# #A#k$kΙI#n'#I"'#, #A#k$kΙJ#'#&'#K#'#&'#L# '#&'#M#'#&'#N -f8 -f -f -g -gW -gU -gV -gUc -gUd -gVd -gU -hU -h"Ue -h4Uf -hFUg -hXUh -hjU0 -h}U -hUi -h -h -hj -il -i/m -i^n -iU -iU -iU -iU '##o#$pqO0#o#8P#o"'# #X"'# ##Q@#'#o" #X" ##R#r'#`S -j8 -j^ -k -kBUr '#{#s#$tuT 0#s#8U@+'#&'#v*#w'#&'#v$xyV#z'#6#k${|W#'# X#}'# Y#~'#Z#>'#:[#'#I"'# #"'# #"'# #}#k$\#'#&'#v] -k8 -kw -kUz -kU -lU} -l U~ -l3U> -lF -lU '##v#$^0#v#8_#v"'# #X"'# ##`@#'#v" #X" ##a#'#b -m8 -m"^ -mJ -mmU '###w #w#x#$c#"'# #d0##8e#'#f #"'# #Jg#'# h #"'# #Ji#'#j #"'# #Jk -m^ -m8 -mU -n V -n)U -n;V -nVU -niV '###$l0##8m#'#n#'#o#'##k$p#X'#q#'#1&'#r#'#"'# #s -n8 -nU -oU -oU -o6UX -oI -of '#{##w #w#x#$t2#"'# #"'# #uP#|'#6v#'#~&'#$"'#: #w#'#~"'#% #"'#: ##k$x@#'#~" #y0##8z@+'#&'#*#'#&'#${@+'#&'#o*#'#&'#o$|@+'#&'#*#'#&'#$}@+'#&'#*#'#&'#$~@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$>#'##'##'#!#'#!#'##'#~"'#e #"'# #"'# ##'#I"'#/ #"'# ##'#I"'#/ #" ##k$ٙ#'#I"'#/ ##k$ٙ#'#"'#: #>"'#/ ##'#I#'#~&'#!"'# #d#'#s"'#: #>#k$ƬǙ#'#`"'# # "'# ##'#`" # " ##k$ˬș#'#`" # #k$ˬș#'#~&'#!"'# #d#'#1&'#/#'#1&'##'#1&'#/#'#1&'##'#~&'##'#I"'#/ ##'#I"'# ##'#I"'# ##'#I" ##k$ج֙#'#~"'# ##'#~"'# ##'#&'##'#&'#o#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#2 -o^ -pU| -p* -pW -p -p8 -p -p -q7 -qo -q -q -r -rO -rU -rU -rU -rU -rU -r -s( -sY -s -s -s -t -t2 -tc -t -t -t -u -u< -uY -uv -u -u -u -u -v -v? -va -vU -vU -vU -vU -vU -wU -wU -w9U '###$䙧0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X#'# -x8 -x^ -y -y: -yVU '###$癭0##8#'# #'# -y8 -yU -yU '###$陱0##8#>'#:#'#1&'# -z8 -z-U> -z@ '###$왵0##8#>'#: -z8 -zU> '##!#w #w#x#$#!"'# #0#!#8#"'# #""'# #J#X'# #X"'# #J -z^ -{8 -{&U" -{9V" -{UUX -{hVX '#-'#&'#'###$0##8#'#"'# ##'#I"'#&'#'# #2#'#6"'# #J#'#6"'# ##'#"'# ##Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##'# #g'#6#h'#6#5'#I"'# #"'# #J#'#"'# #'# ##'#"'# ##'#I -{8 -{ -| -|G -|g -| -|Z -|U -}U -}U -}+Ug -}'#: -~8 -^ -7 -ZU -mU -U> '###$ #O'#0##8#'# #k$#'# #k$#'# #k$#'# #k$#'# #'# #'#6 #"'#6 #J#'##'# #'# -UO -8 - U -)U -IU -iU -U -U -U -V -U -U -U '#{##$0##8@+'#&'#*#'#&'#$#'# #X'##'#~"'# ## '#I#'#&'# -8 - -U -UX - - -4U '###$ - 0##8####X#'#6 #"'#6 #J#'# #"'# #J#K'# #K"'# #J# '#6 # "'#6 #J#'# #"'# #J# '#6 # "'#6 #J#'# #"'# #J#X'# #X"'# #J -8 -^ -X -U -V -U -V -/UK -BVK -^U -pV -U -V -U -V -U -V -UX -)VX '###$0##8#"'# #@#'#" #@#'# #'# -#'# #'# #'#6 #'#6#'#6#'#6#'#6#'# #'# #'##'##'#I"'# #f"'# #g#'#I -8 -^ - -7 -LU -_U -rU -U -U -U -U -U -U -U -U -U -) -V7'#I"'# ## '#;##$0##8#"'# #d@#'#" #d@#'##'##'#<# '#e  -+8 -;^ -Y -u -U -U -U  '###$!!0##8"#"'# #X"'# ###@#'#" #X" ##$@#'#" #X%#"'##k$#$&#%'# '#&'#(#''##k$())#*'#*#g'# +#+'#,#'#-#,'#.#h'#/#-'# 0#.'#1 -8 -'^ -R -u -U" -U% -U& -U' -U* - Ug -U+ -0U -CU, -VUh -iU- -{U. '##/#$012$0#/#83#/4##/#X5#'#66 #"'#6 #J7#'#68 #"'#6 #J9#'#:##'#1&'#V#j#j$#i$;#'# < #"'# #J=#y'#6> #y"'#6 #J?#'#@ #"'# #JA#4'#6B #4"'#6 #JC#2'# D #2"'# #JE#7'# F #7"'# #JG#X'#H#$'#I#%'#&J#J'#K #J"'# #JL#''#6M#j'#I"'# #"'#! #N#'#I"'#e #"'#e #!O#('#6P#.'#<"'# #Q#'#!"'# #R#)'#6S#*'#I"'# #fT#d'#1&'#!U#3'#1&'#!V$ -!8 -1^ -?X -PU -bV -}U -V -U -U# -U - V -'Uy -9Vy -TU -gV -U4 -V4 -U2 -V2 -U7 -V7 - -UX -U$ -0U% -CUJ -UVJ -pU' -j - -( -. - -9) -N* -pUd -U3 '###$4W0##8X#5'#VY#6'# Z#7'#V[#8'# \#9'#V]#:'# ^#;'#V_#<'# `#='#6a#>'# b#X'#c#?'#I"'# # -d#2'#I"'#V #"'# #2e#@'#If#A'#Ig#B'#6"'#V #"'#6 #Ch#D'#Ii#O'#Ij#E'#I"'#V #"'# #2k#F'#"'# #l#'#I"'# #G"'# #i"'# #Hm#I'#In#'#I"'# # -o#J'#I"'#V #p#K'#I"'#V #7"'# #8"'#V #9"'# #:q#'#I"'#V #"'# #2r -8 -U5 -U6 -U7 -U8 -U9 -*U: - -UX -? -2 -@ -A -B -FD -[O -pE -F - -I - -6J -XK - '#{##$Lؚs0##8t@+'#&'#*#'#&'#$fu#M'#6v#N'#6w#'#x#B'#Iy#'#Iz#'#&'#{ -8 - -UM - UN -U -0B -D -YU '##O#$PO|0#O#8}#O"'# #X"'# ##~@#'#O" #X" ###f'# -8 -^ - -*Uf '#{'##Q#$RQ0#Q#8@+'#&'#*#'#&'#$f#S'##k$TU#('##'#I" #W"'#1&'#e ##C'#I" #W"'#1&'#e ##k$D#E'#I" #W#k$D#'#&'# -8 - -US -U( - -2C -pE -U '#{#o#$Vo0#o#8@+'#&'#*#'#&'#$W#'#Q#@'#~&'#W#X'#~&'#W"'# #Y#Z'#~&'#1&'##'#~&'#W"'# #"'# #d# '#&'# -8 -! -YU -lU@ -X -Z - -U  '##[#$\[0#[#8@+'#&'#*#]'#&'#$^_@+'#&'#*#`'#&'#$a@+'#&'#m*#b'#&'#m$cd@+'#&'#*#e'#&'#$fg@+'#&'#*#'#&'#$W#h'##i'#W#j'#~#k'#&'##l'#&'##m'#&'#m#n'#&'## '#&'#P#J'#[ -8 -] -` -b -@e -x -Uh -Ui -j -Uk -Ul -Um -9Un -SU -mUJ '#{#W#$oW0#W#8#~'#Q#p'##q'#Q#r'#H#s'#Y#t'# #'##'#u#'#Q#v'#~&'#1&'#"'# ##w'#~"'# #"'# #d#x'#~&'#6#'#~ -8 -!U~ -4Up -GUq -ZUr -mUs -Ut -U -U -U -v -w -2x -N '##y#w #w#x$#$z{0#y#8#y##y#XP#|'#6#"'#1&'#V#j$#i$ -8 -^ -X --U| ->" '#'#~##w #w#x$#$|Ț0##8#}'#6#;'#<#'##k$MN #"'# #J#k$MN#'##~'##:'#<#;'#<#<'#<#?'#1&'##j$@A#i$@A#D'#<"'# #f"'# #g#E'#1&'#<"'# #f"'# #g#'#P#|'#6@+'#6*#@#'#I#'#6# #"'#6 #J##'#6# #"'#6 #J# -8 -U} -U; -U -/V -YU -lU~ -U: -U; -U< -U? -D -E -M -cU| -t - -U -V -U -V '###$0##8#'#  -8 -U '#{'###$0##8@+'#&'#*#'#&'#$f#"'# #U"'# #@#'#" #U" #@#'#" #U#C'##'#&'# -#8 -3 -k^ - - -UC -U '###$ 0##8@+'#&'#*#'#&'#$ߜ@+'# *#A@+'# *#B#'##'#I#F'#I"'# #X"'# #7"'#G #"'#H #(#k$IJ#w #w#x#w #w#̚#K'#L"'# #X"'# #7#k$MN#w #w#x#w #w#̚#O'#P"'# ##k$QR#w #w#x#w #w#̚#S'#I"'# #"'#T #"'#H #(#k$UV#w #w#x#w #w#̚#'#&'#P#J'# -W8 -g -A -B -U - -F -rK -O -S -U -UJ '##B#$0#B#8##B#X#'# #"'# #J#'#1&'#V"'# #d#'#1&'#V" #d#k$#'#1&'#V#k$ -38 -CX -TU -gV - - - '#{##$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$f#'# #"'# #J#'# #"'# #J#'##'##'# #"'# #J#'# #"'# #J#'# #"'# #J#'#6#'##'#I#'#I"'# #A#'#I"'#, #A#k$#'#I"'# #B"'# #C#'#&'##'#&'# -a8 -q - -U -V -U -#V -?U -RU -eU -xV -U -V -U -V -U -U - -, -L -z -U -U '#{-'#=&'#'#f&'#'#p&'#'#1&'##o#$o -0#o#8#'# #'#"'# # #5'#I"'# #"'# #J - #"'# #J #m'# #n'# #'##s'#"'# ##.'#"'# # - -8 -U - -5 -JV -cUm -uUn -U -s -. '###$ 0##8####X#'# #"'# #J#P'# #P"'# #J#'# #"'# #J#Q'# #Q"'# #J#X'# #X"'# #J -D8 -T^ -bX -sU -V -UP -VP -U -V -UQ -VQ -/UX -BVX '###$0##8 #!###X" -8 -^ -X '###$#0##8$#%@#'#&#'#' #"'# #J(#X'#) #X"'# #J* -C8 -S^ -a -vU -V -UX -VX '#-'#=&'#'#f&'#'#p&'#'#1&'###$+0##8,#-@#'#.#'# /#'#"'# #0#5'#I"'# #"'# #J1 #"'# #J2#m'#3#n'#4#'#5#s'#"'# #6#'#I"'# #"'# #X7#'#I"'# #"'# #X8#.'#"'# #9 -c8 -s^ - -U - -5 -V - Um -Un -0U -Bs -c - -. '#{##w #w#x$ɥ#$:(0##8;@+'#&'#*#'#&'#$<@+'#&'#*#'#&'#$=@+'#&'#*#'#&'#$C>@+'#&'#*#'#&'#$f?@+'#&'#*#'#&'#$@@+'#&'#*#'#&'#$A@+'#&'#*#'#&'#$B@+'#&'#*#'#&'#$C@+'#&'#*#'#&'#$D@+'#&'#*#'#&'#$­E@+'#&'#*#'#&'#$BFP#|'#6G#'#:H #"'#: #JI#'#6J #"'#6 #JK#'#L #"'# #JM#'#6N #"'#6 #JO#='#P #="'# #JQ#'# R #"'# #JS#'#IT#B'#IU#'#IV#'#&'#W#'#&'#X#'#&'#Y#'#&'#Z#'#&'#[#'#&'#\#'#&'#]#'#&'#^#'#&'#_#'#&'#`#'#&'#a#b( -8 - - - -8 -p - - - -P - - -U| -U -V -7U -IV -dU -wV -U -V -U= -V= -U -V - -1B -E -ZU -tU -U -U -U -U -U -U -*U -DU -^U -x^ '###w #w#x$ɥ#$խԛc0##8d#'#e#'#f -8 -U -U '###w #w#x$ɥ#$حg0##8h#"'# #X"'# #i@#'#" #X" #j@#'#" #Xk#f'#l#W'#m -d8 -t^ - - -Uf -UW '###w #w#x$ɥ#$ڭn0##8o#"'# #X"'# #p@#'#" #X" #q@#'#" #Xr#'#s#'#t#'# u#'#1&'##j$#i$v -f8 -v^ - - -U -U -U -U '###w #w#x$ɥ#$ߛw0##8x#'#6y#'# z#.'#"'# #{ -8 -U -U -. '#{##$| -#'#1&'#}0##8~#'#6#'#6#'#6#'#I#'#1&'##k$蛃#$'#I#&'#I#'#I"'# # - -R -n8 -~U -U -U - - -$ - & - '###$0##8#'# #V'##'##'# -8 -U -UV -U -U '#{##$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$C@+'#&'#*#'#&'#$f@+'#&'#*#'#&'#$@+'#&'#*#t'#&'#$u$@+'#&'#*#'#&'#$&@+'#&'#*#'#&'#$B#"'# #@#'#" #@#'##='# #="'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'# #"'# #J#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'# -L8 -\ - - - -;t -s - -^ - - -1U= -DV= -`U -sV -U -V -U -V -U -V -U -/V -KU -eU -U -U -U -U -U '###$雬0##8#'#6#k$#='##'#6#'##'##k$ -8 - U --U= -@U -RU -eU '###$0##8#+'#6#-'#V#.'# #/'#V#P'#  -8 -U+ -U- - U. -U/ -.UP '#-'#&'#'## #j#$ - #'#I"'#&'#'# #2#'#6"'#e #J#'#6"'#e ##'#"'#e ##5'#I"'# #"'# #J#'#"'# #'# ##'#"'#e ##'#I#Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##'# #g'#6#h'#60# #8#2'# #k$ #5'#I#k$#'#"'# ##k$ m# '#"'# ##k$#'#I"'# ##k$p#'#I"'# #"'# #J#k$ - - - - ->5 -k -ž - -Z -U -+U -EU -UUg -fUh -w8 -ÇU2 -æ5 - - -* -Z7'#I"'# #f#] '###j#$ -#"'# #X"'#6 #"'#6 #"'# #"'# #"'# #_"'# #"'# #0##8"'# #X"'# ##@#'#" #X" ##@#'#" #X#'##_'##'##'# #'##'#I"'# #"'#6 #"'#6 #"'# #"'# #"'# #"'# #"'# ##k$ - -t^ -8 -. -Q -mU -ƀU_ -ƓU -ƦU -ƹU - '##p#$p0#p#8#'#~&'#&'#'##'#~&'#6#1'#~&'#6 -Ǿ8 - - -17'#I"'# # #`7'#I"'# #!"'# #"#[ '###$#$ -0##8####X#'#6 #"'#6 #J#'# #"'# #J#'##X'# #X"'# #J - -ȹ8 -^ -X -U -V -U -(V -DU -WUX -jVX '##%#$&%0#%#8#X'##''#6"'# #( -8 -UX -' '#)#]#$*]0#]#8##'#I"'# #e"'#e #J#f'#I"'# #e#M'#I"'# #e"'#e #J -m8 -}# -ʫf -M '##)#$+)0#)#8#'#"'# #e#'#1&'#"'# #e#,'#1&'##2'#6"'# #e -;8 -K -n -˘, -˵2 '###$- 0##8#'#6 #"'#6 #J#4'##'##.'#V#'##'##X'# -8 -.U -@V -[U4 -nU -́U. -̔U -̧U -̺UX '##/#$0/0#/#8#/"'# #X"'# # @#'#/" #X" # -#1'#6 #'#  -08 -@^ -h -͋U1 -͝U '##u#$2u 0#u#8#3'#~&'#1&'##'#~"'# # -8 -3 -* '##4#$560#4#8#4##4#X -΅8 -Ε^ -ΣX '##7#$89 -0#7#8#7##7#X#:'# #'#  #"'# #J#;'# #;"'# #J#'#  #"'# #J - -8 -^ - -X -U: --U -?V -ZU; -mV; -ωU -ϛV '##<#$=> 0#<#8!#<"##<#X##'# $ #"'# #J% -8 -/^ -=X -NU -`V '##?#$@A&#B'#1&'#C'#'#1&'#D(#E'#D)#F'#4*#G'#C+#H'#C,#I'#C-#J'#D"'# #.#K'#C/#L'#C#k$MG0#'#"'# #"'# #"'# #10#?#82#?3##?#X4#N'#45 #N"'#4 #J6#O'#1&'#V#k$P#j$$ -#i$$ -7#Q'#1&'#V#k$RB#j$$ -#i$$ -8#S'#C9 #S"'#C #J:#T'#C; #T"'#C #J<#U'#4#k$VF=#W'#C#k$XH>#Y'#C#k$ZI?#['#I@#\'#I"'# #A#]'#IB#^'#IC#_'#D"'# ##k$`JD -UB -U -E -F -G -2H -GI -\J -}K -ђL -Ѷ -8 -^ -X -'UN -:VN -VUO -ҚUQ -US -VS - UT - VT -<U -`W -ӄY -Ө[ -ӽ\ -] -^ -_ '##D#$abE #c'#1&'#7F#d'#7G#e'#7"'# #H#'#"'# #"'# #"'# #I0#D#8J#DK##D#XL#f'#1&'#V#k$gc#j$$ -#i$$ -M#'# N#h'# O#i'#I"'# #P#j'#"'# ##k$keQ -0Uc -Id -^e - -8 -^ -X -Uf -4U -FUh -Xi -yj '##C#$lmR #'#1&'#DS#E'#DT#J'#D"'# #U#'#"'# #"'# #"'# #V0#C#8W##C#XX#O'#1&'#V#k$P#j$$ -#i$$ -Y#\'#I"'# #Z#_'#"'# ##k$`J[ -#U -<E -QJ -r -״8 -X -UO -\ -:_ '###$n\0##8]#o'#^#p'#_#q'#`#r'#a#S'##k$TUb -8 -Uo -Up -Uq -Ur -,US '##s#w #w#x#$tuc0#s#8d#se##s#XfP#|'#6g#''#h#{'#I"'# #"'# #"'# #i -٫8 -ٻ^ -X -U| -U' -{ '##+#$v+j#+"'# #Ak0#+#8l#A'#Bm#w'#n#r'#1&'#V#j$#i$o#x'#+"'# #2p -ڌ^ -ڦ8 -ڶUA -Uw -r -x '##y#$z{q40#y#8r#ys##y#Xt#o'#u #o"'# #Jv#'#6w #"'#6 #Jx#|'# y #|"'# #Jz#'#{ #"'# #J|#r'#} #r"'# #J~#'#6 #"'#6 #J#'###'#1&'#V#j#j$#i$#w'#  #w"'# #J#x'#  #x"'# #J#'# #"'# #J#'# #"'# #J# -'#6 # -"'#6 #J#4'#6 #4"'#6 #J#'#  #"'# #J#z'# #z"'# #J#{'#  #{"'# #J#|'#  #|"'# #J#7'# #X'##$'##%'#&#J'# #J"'# #J#''#6#}'# #}"'# #J#('#6#)'#6#'#I#*'#I"'# #f#'#I"'# #"'# #B"'# #C"'# ##'#I"'# #B"'# #C"'# #i4 -ۄ8 -۔^ -ۢX -۳Uo -Vo -U -V -U| -!V| -VJ -YU' -kU} -~V} -ߚ( -߯) - -* - -I '##~#$~0#~#8#~@#'#~#'#~&'#1&'#" #( -8 -!^ -/ -D '###j#$#"'# #X"'#6 #"'#6 #"'# #?"'# #A0##8#A'##'#I"'# #X"'#6 #"'#6 #"'# #?"'# #A#k$ -^ -8 -"UA -4 '###$ 0##8#'##'##'##'##'##'##'##'##'##'##'##'# -8 -U -U -U -U -.U -AU -TU -gU -zU -U -U -U '#{#!#$! 0#!#8@+'#&'#*#'#&'#$#'##'##'##:'## '##'##'# #"'# #J#'#I"'# ##'#I"'# ##'#&'# -E8 -U -U -U -U -U: -U -U -U -V -. -P -rU '#{##$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$#'# #"'# #J#'# #"'# #J#'#6 #"'#6 #J#'# #"'# #J#>'#!#'#&'##'#&'# - 8 - -T -U -V -U -V -U -V -U -*V -FU> -YU -sU '#-'#=&'#'#f&'#'#1&'#'#p&'###$ 0##8#'# #'#"'# ##5'#I"'# #"'# #J #"'# #J#m'##n'##'##s'#"'# ##'#"'# ##'#"'# # -P8 -`U -p -5 -V -Um -Un -U - s -- -O '#{-'#=&'#!'#f&'#!'#1&'#!'#p&'#!##$0##8@+'#&'#*#w'#&'#$xy@+'#&'#*#'#&'#$#'# #'#!"'# ##5'#I"'# #"'#! #J #"'# #J#m'#!#n'#!#'#!#s'#!"'# ##'#!"'# ##'#!"'# ##'#&'##'#&'# -8 -,w -d -U - -5 -V -Um -$Un -6U -Hs -i - -U -U '###$0##8###X#'# #"'# #J -o8 -X -U -V '###j#$0##8#'# #C'#4"'# ##B'#4"'# # -8 -U -)C -IB7'#I# '##S#$0#S#8#S##S#X -8 -^ -X '## -#$ -0# -#8# -"'# #@#'# -" # #'##k$ -#'##k$ #'# # '# #'##k$ #'##k$ #'##k$#'##k$#'##'##'##k$#'##k$#'#{#'##k$(#i$#j$#'# #'# #'# #'# #'# #'# #'# #'# #'# #'#!##'#"#'# #w #w#x#w #w#̝##'# #w #w#x#w #w#̝$ -8 -/^ -J -fU -U -U -U -U -U -U -0U -QU -dU -wU -U -U -U -U -U -*U -;U -LU -]U -nU -U -U -U -U# -U -U '###$% 0##8&#"'# #X"'# ##'@#'#" #X" ##(@#'#" #X)#'#6*#'#+#'#6,#'#6-#'#6.#'#/#'#0P#|'#61 -8 --^ -X -{ -U -U -U -U -U -U -U -U| '#-'#=&'# -'#f&'# -'#p&'# -'#1&'# -##$Ĥ2 0##83P#|'#64#'# 5#'# -"'# #6#5'#I"'# #"'# - #J7 #"'# #J8#m'# -9#n'# -:#'# -;#s'# -"'# #<#.'# -"'# #= -8 -U| -U -  --5 -YV -rUm -Un -U -s -. '###$Ʈŝ> 0##8?#"'# #X"'# #"'# # "'#1&'# #"'# #@@#'#" #X" #" # " #" #A@#'#" #X" #" # " #B#'#C#'#eD# '#E#'#F#X'#G -Z8 -j^ - - -,U -?U -RU -eU -xUX '###$ɭH0##8I#"'#1&'# #J@#'#" #K@#'#L#'# M#.'#"'# #N -8 -^ -" -> -SU -d. '###w #w#x#w #w#$#w #w##$ˮ̝O0##8P#Q###XRP#|'#6S@+'# *#T@+'# *#U@+'# *#1V@+'# *#W#'#6#k$X #"'#6 #J#k$Y#:'#Z #:"'# #J[# '#\ # "'# #J]#'# ^#'#_ #"'# #J`#'#a #"'# #Jb#>'#!c -8 -^ -%X -6U| -G -_ -w1 - -U -V -U: -V: -U -2V -NU -`U -sV -U -V -U> '###j#$Юd0##8e#"'# #X"'# ##f@#'#" #X" ##g@#'#" #Xh#>'#e#i$k`i -8 -^ - - -U> '##y#$Ѯҝj0#y#8k#y"'# #X"'# ##l@#'#y" #X" ##m@#'#y" #Xn#V'#o#K'#p#'#q -n8 -~^ - - -UV -UK -U '##u#j#$Ӥur#u"'#V #e"'# #rs0#u#8t#'#Vu #"'#V #Jv#'#sw#e'#Vx#r'# y#'#Vz#'#V{#'#V|#E'#V}#'#V~#'#V#F'#V -~^ -8 -U -V -U -Ue - -Ur - -2 -H -^E -t - -F '###$֮ם0##8@#'#"'# #@#'#"'# # -;8 -K -n '###$ڮ۝0##8@#'#"'# # -8 - '###$ܮݝ0##8@#'#"'# #@#'#"'# # /8 ? b '###$ޠ -#"'# #X"'# #?"'# #"'#6 #"'#6 #0##8"'# #X"'# ##@#'#" #X" ##@#'#" #X#'# #'#S#?'##'##k$?#i$ǣ#j$ǣȝ#'# #k$㨬#j#'#I"'# #X"'#6 #"'#6 #"'# #?"'# ##k$杖 - ^ 8 H k U U U? U U " '###$靗0##8####X 8 ^ X '###$ꝛ0##8#'#~"'#e ##'#I#'#I#'#~#B'#~"'#e # Q8 a    B '###$0##8###X 08 @X '###$@#'#" #@#'#"'#l #@#'#"'#/ #@#'#"'# #@#'#I"'# ##'#0##8#4'# #4"'# #J#;'# #;"'# #J#-'# #-"'# #J#4'# #4"'# #J#b'##.'# #."'# #J#/'# #/"'# #J#C'# #C"'# #J#0'# #0"'# #J#1'# #1"'# #J#'##2'# #2"'# #J      & ;8 KU4 ^V4 zU; V; U- V- U4 V4 Ub U. +V. GU/ ZV/ vUC VC U0 V0 U1 V1 U U2 )V2 '###$ 0##8#"'#e #@#'#" #@#'###'#I"'# #"'# #J#f'#I"'# ##'#"'# ##'#1&'#"'# ##2'#6"'# ##M'#I"'# #"'# #J#'#I 28 B^ ` | # f   .2 PM ~ '## -0##8#4'##;'##-'##4'##b'##/'##C'##0'##1'# - 8 -U4 -U; -*U- -=U4 -PUb -cU/ -vUC -U0 -U1 '#{#t#$t0#t#8#'#~ 8 ( '###$0##8#'##"'# #2 o8  '#{##$0##8#'##'#6# '#~"'# #d# -'#~"'# #d 8 U U  , - '## #$ 0# #8# "'# #X"'# ##@#'# " #X" ### '# 8 ^  U  '#{##$0##8#'##'# #"'# #J#'# #"'# #J#'# #'##'#6#'##'#I"'# ##'#~#'#"'# ##'#6"'# ## '#1&'##!'# "'#{ #O#"'#~"'#1&'# ###$'#I E8 UU hU {V U V U U U U  1 F i  ! " $ '###$%0##8#&'#6#''#6#'#6#('#  8 U& U' U U( '##)#$*)0#)#8#)"'# #X"'# ##@#'#)" #X" ##@#'#)" #X#V'# #'# - I8 Y^   UV U '###$+ 0##8 #2'## #,'# #-'#  68 FU2 XU, jU- '###$.0##8#@#'##/'###0'###'#1#2'###3'## 8 ^  U/ U0 U &U2 8U3 '##4#$540#4#8#'#6#7'# 8 U U7 '##1#$810#1#8#'###'## #'##!#'##"#'####'##$ 8 $U 6U HU ZU lU ~U '#{#9#$:9% 0#9#8&@+'#&'#*#'#&'#$'@+'#&'#*#B'#&'#$CD(#'#) #"'# #J*#'#+ #"'# #J,# '#-#'#6.#C'#~/#;'#~"'# #X"'# #d0#'#&'#1#'#&'#2 8  -B eU xV U V U U C ; .U HU '##<#$=<30#<#84#<"'# #X"'# ##5@#'#<" #X" ##6#>'#97 8 ^  =U> '##6#$?680#6#89#@'#1&'#A: 8 U@ '##A#$BA;0#A#8<#f'#=#h'#> 8 Uf  Uh '###$C?0##8@#D'##A#E'#B#F'#C V8 fUD xUE UF '##&#$G&D 0#E#H'#6F#I'#6G#J'#6H#K'#6I#L'#6J#M'#6K#N'#6L#O'#6M#P'#6N#Q'#6O#R'#6P 8 UH UI UJ $UK 6UL HUM ZUN lUO ~UP UQ UR '#)'#>#+#$STQ0#+#8R#+S##+#XT#'# U #"'# #JV#U'#W #U"'# #JX#V'# Y#W'# Z#X'# #k$YZ#w #w#x#w #w#̞[#['# #k$\]#w #w#x#w #w#̞\#'# ] #"'# #J^#^'#__#`'#I#k$ab#w #w#x#w #w#̞`#!'#I#k$89#w #w#x#w #w#̞a 48 D^ RX cU uV UU VU UV UW UX #U[ cU uV ^ ` ! '##_#$c_b0#_#8c#d'# d#e'#e#f'# f#g'# g 8 Ud Ue Uf Ug '##h#$ihh0#h#8i#'#j#:'#k# '#l#'#m#'#6n #"'#6 #Jo#'#p _8 oU U: U U U V U '#{##$jq0##8r@+'#&'#*#'#&'#$s#'# t#2'# u#'#h"'# #v#'#h"'# #w#'#&'#x W8 g U U2   U '#{#k#$lky 0#k#8z@+'#&'#*#'#&'#${@+'#&'#*#'#&'#$|#'#}# '#~#'##m'##n'##x'##'##'#&'##'#&'# v8   U  U U /Um BUn UUx gU zU U7'#I# '##o#$pq0#o#8#o"'# #"'# #"'# #@#'#o" #" #" ##'# #"'# #J#'#e#i$k`#j$rs #"'#e #J#'#e#i$k`#j$rs #"'#e #J#'#t #"'#t #J#7'# #7"'# #J#u'#6 #u"'#6 #J#'# #"'# #J#v'# #v"'# #J#w'##k$xy 98 I^ ~ U V U !V !"U !QV !mU !V !U7 !V7 !Uu !Vu !U " V "'Uv ":Vv "Vw '##t#$z{0#t#8#t@#'#t#'# #"'# #J#'#  #"'# #J#|'# #|"'# #J#}'# #}"'# #J#'# #"'# #J#~'# #~"'# #J#'# #"'# #J#'# #"'# #J #)8 #9^ #G #\U #oV #U #V #U| #V| #U} #V} $U $)V $EU~ $XV~ $tU $V $U $V '#{##w #w#x#w #w#y#w #w#$#w #w##j#$0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$f@+'#&'#*#'#&'#$W@+'#&'#*#'#&'#$#"'# #"'#e #@#'#" #" #@#'#" #P#|'#6@+'# *#@+'# *#@+'# *#@+'# *##'# #"'# #J#c'# #'##0'##'# #'##'#I"'# #"'# ##'#I" #A#j'#I"'# #A#k$kΞ#l'#I"'# #A#k$kΞ#m'#I"'# #A#k$kΞ#n'#I"'#, #A#k$kΞ#'#&'##'#&'## '#&'##'#&'# %8 % & &H & &^ & ' '"U| '3 'K 'c '{ 'U 'V 'Uc 'U 'U0 'U ( U ( (S (nj (l (m (n )(U )BU )\U )vU '##p#$p#p"'# #X"'# #?"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'#6 #"'#6 #"'#{ #N0#p#8"'# #X"'# ##@#'#p" #X" ##@#'#p" #X@+'# *#@+'# *#@+'# *##'##k$#'##k$#'##'##'##'# #'##'##'##'#6#'#I"'# #X"'#6 #"'#6 #"'# #?"'# #"'# #"'# #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'# #"'#{ #N"'# ##k$#'#6#'#I"'# #;"'#6 #"'#6 #"'# #?"'# #"'# #"'# #"'# #"'# #"'# #"'#{ #N"'# #"'# #"'# #"'# #"'# ##k$ *^ +8 , ,* ,F ,^ ,v ,U ,U ,U ,U ,U -U -U -*U -#'#?#'##k$ԃ#i$ǣ#j$ǣȟ@#'#kA#'#B#'##k$#i$ǣ#j$ǣȟC#'#" ##i$ǣ#j$ǣȟD#"'# ##k$#i$ǣ#j$ǣȟE#"'# ##k$#i$ǣ#j$ǣȟF#'#I"'# #WG#'#I"'# #H#'#II#'#6"'# #WJ#'#~" #"'# #K#'#6"'# #"'#6 #"'#6 #"'#6 #}"'#6 #"'#6 #"'#6 #L#'#~"'#< #"'# ##k$ M# -'#)"'#< #"'# #N# '#1&'#r"'#< #"'# ##k$ #j$#i$O#'#P#'#X"'# #FQ#'#I"'# #f"'# #gR#'#I"'# #f"'# #g#k$ӟS#'#"'# #"'# #O"'# #"'# #"'#= ##k$#w #w#x#w #w##i$T#'#I" #W"'# #"'#1&'#e #U#C'#I" #W" #"'#1&'#e ##k$DV#E'#I" #W" ##k$DW#'#IX#'# "'#7 #O"'# #dY#'# " #O" #d#k$Z#'# " #O#k$[#'#I"'# #f"'# #g\#'#I"'# #f"'# #g]#'#I" #" #g"'# #^#'#I#k$_#'#I" #d#k$`#'#I"'# #f"'# #g#k$a#'#I"'# #f"'# #g#k$b#'#I"'# #f"'# #g" ##k$c#'#I" #" #g"'# #d#'#I#k$e#'#I" #d#k$f#'#I"'# #f"'# #g#k$g# '#I"'# #f"'# #g#k$h#!'#I"'# #f"'# #g" ##k$i#'#I" #" #g"'# #j#'#I#k$k#'#I" #d#k$l#'#I"'# #f"'# #g#k$m#"'#I"'# #f"'# #g#k$n##'#I"'# #f"'# #g" ##k$o#'#Ip#$'#I"'# #X"'# #7"'#G #"'#H #(#k$IJ#w #w#xq#%'#~&'#"'# #X"'# #7#k$IJ#w #w#xr#&'#I"'# #"'#T #"'#H #(#k$UV#w #w#xs#''#~&'#4"'# ##k$UV#w #w#xt#('#"'# #(u#)'#"'# #)v#*'# "'# #"'# #"'#e #7#k$+,w#-'# "'# #"'# #"'#e #7#k$./x#0'#I"'# ##k$12y#3'#I"'# ##k$45z#6'# "'#e #"'# ##k$+,{#7'# "'#e #"'# ##k$./|#8'#&'#}#'#&'#~#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##$9:#;'#&'#w#<'#&'#~#'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'## '#&'##'#&'##'#&'##'#&'#I#'#&'#I#'#&'#I#'#&'##'#&'##'#&'##8'#&'## '#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'#p# '#&'##'#&'##='#&'##>'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##a'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##'#&'##x'#&'#y#'#&'##'#&'##'#&'##?'#&'#S#@'#&'#S#A'#&'#S@+'#&'#*#B'#C$DE#F'#&'##'#&'#p#'#I"'# ##'#"'# #"'# #O"'# #"'# #"'#= ##k$#w #w#x#w #w##i$#'# #'# #G'# #H'# Ѐ 0U 0(U 0: 0] 0 0U 0V 0U 0V 1! 15 1U 1 1 1U 2U 2& 2`U 2q8 2 2 2 3) 3a, 3 3 4  4A 4y 4 4r 5! 5Y 5 5 6A 6A 6B 6U 6U 6U 7U 7U4 7'U 7:U 7MU 7`U 7sV 7U 7V 7U8 7U 7U 7U 8 U 8U 8-U 8@U 8SU 8fU 8yV 8U 8U 8U 8U 9 V 9%U 97Ub 9JU 9\U 9nU 9U 9UC 9U 9U :BU# :UU :gU :yU :U :U :UA :U :U ;U ;%U~ ;8V~ ;TU ;gU ;zU ;U ;U ;U ;U <U <>  >Z - > > ? ?$ ?O ? @ @\C @E @ @ A AI As A A B B# BM B B C C8 C[ C C C! D9 Dp D D D" E1# Eq E$ E% FA& F' F( G ) G,* G{- G0 G3 H.6 Hm7 HU8 HU HU HU IU I.U IHU IbU I|U IU; IU< IU IU J U J&U J@U JZU JtU JU JU JU JU JU KU K*U KDU K^U KxU KU KU KU KU KU8 LU L.U LHU LbU L|U LU LU LU LU LU MU M2U= MLU> MfU MU MU MU MU MU NU NU N6U NPUa NjU NU NU NU NU NU OU O U O:U OTU OnU OU OUx OU OU OU P -U? P$U@ P>UA PXB PUF PU P P QqU QU QUG QUH '#I'##J+'#*#K#J"'# #@#'# #"'# #J X\K Xs^ XU XV'#&'##C+'#*#L -#C #L#M'#&'#"'#{ #"'#6 ##N'#"'#{ ##O'#&'#"'#< #"'#6 ##P'#&'#"'#g&'#< #"'#6 # XL Y^ Y%M Y`N YO YP '##0##8#('#"'# #(#)'#"'# #) ZA8 ZQ( Zs) '## #$Q 0# #8#R'#6#'##D'#~&'# #S'#~&'# "'# # Z8 ZUR ZU [D [ S '#{#0##8@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$W@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$@+'#&'#*#'#&'#$ -# '#&'## '#&'## '#&'##'#&'##'#&'##'#&'##'#&'# [8 [ [ \ \; \s \ \ ]U ]5U ]OU ]iU ]U ]U ]U '#{'##T#w #w#x#w #w#y#w #w#$#w #w##$UT 0#T#8@+'#&'#*#'#&'#$f@+'#&'#*#'#&'#$W#T"'# #S@#'#T" #SP#|'#6#'#I" #W"'#1&'#e ##C'#I" #W"'#1&'#e ##k$D#E'#I" #W#k$D#'#I#'#&'## '#&'# ^8 ^ ^ _2^ _M _iU| _z _C _E ` `)U `CU  '#{'#'###$V̠0##8@+'#&'#*#'#&'#$f#'##'#/#'#; #'# -#'#6 #'#W #'#X #b'##'#Y#A'##'#~" #"'# ##Z'#I"'# #[#('#"'# #(#)'#"'# #)#*'# "'# #"'# #"'#e #7#k$+,#-'# "'# #"'# #"'#e #7#k$./#0'#I"'# ##k$12#3'#I"'# ##k$45#6'# "'#e #"'# ##k$+,#7'# "'#e #"'# ##k$./#'#&'#P#J'# `8 ` a,U a?U aRU aeU axU aU aU aUb aU aUA a bZ b7( bZ) b}* b- c0 cM3 c6 c7 cU dUJ '#{#Y#$\Y 0#Y#8#t'##w'# #y'#I"'# #z!#{'#I"'# #|"#}'#I##~'#1&'#$#'#1&'#"'# #"'# #%#'#1&'#"'# #&#'#I"'# #z'#'#I"'# #|"'# #"'# #(#'#4)#'#I"'# #* d8 eUt eUw e,y eN{ ep} e~ e e f f% fa fv '##]#$^]+0#]#8,#]"'# #_"'#1&'# #`"'#1&'#e #a" #d-@#'#]" #_" #`" #a" #d.#?'#/#'#I0#x'#I1 g8 g&^ gp gU? g gx '###$b20##83 h+8 '##c##$dc40#c#85#c6@#'#c7#e'#f"'# #"'#g #h8#i'#g"'#V #j9#k'#l"'# #"'#V #m"'#g #h"'# #X"'#e #n: hm8 h}^ h he hi hk '##f##$of;0#f#8<#k'#l"'#V #m"'# #X"'#e #n= i8 ik '##g##$pg>0#g#8?#q'#"'# ##k$rs@ j.8 j>q '##l##$tlA0#l#8B@+'# *#uC@+'# *#vD@+'# *#wE@+'# *#x F@+'# *#yG@+'# *#zH@+'# *#{I@+'# *#|J@+'# *#}K@+'# *#~L#'#6M#'#6N#'#O#'# P#'#VQ#'# R#'#S#'#VT#'#V"'# #U j8 ju jv jw kx ky k0z kH{ k`| kx} k~ kU kU kU kU kU lU lU l) l? '###$V0##8W m8 '####$X0##8Y#Z@#'#[#'#"'#V #e\ m]8 mm^ m{ m '###w #w#x#w #w#y#w #w###$] 0##8^#_@#'#`P#|'#6a#'#Ib#'#"'# #"'# #Tc#'#I"'#V #}d#'#I"'# #"'# #Te#'#If#'#I"'# #"'# #T"'# #Jg#'#"'#V #h#'#"'#V #"'# #.i n)8 n9^ nG n\U| nm n n n o o oS ov '#V##$j0##8k#O'##k$PTl#'#m#Q'##k$n#J'#o #J"'# #Jp p8 p-UO pNU paUQ pUJ pVJ '###$q0##8r p8 '###$s0##8t q68 '#{##$u0##8v qq8 '#{##$w0##8x q8 '###$y0##8z q8 '###${0##8| r"8 '###$}0##8~ r]8 '##Z#$0#Z#8#'#~&'##'#~&'#4"'# ##'#~&'#6"'# # r8 r r r '###$0##8 sW8 '##0##8 s8 '#{#\#$0#\#8#'#~&'# #'#~&'##'#~"'# #A#'#~"'# #A s8 s s t  t* '#-'#=&'#r'#f&'#r'#p&'#r'#1&'#r##$ -0##8#'# #'#r"'# ##5'#I"'# #"'#r #J #"'# #J#m'#r#n'#r#'#r#s'#r"'# ##.'#r"'# # - t8 tU t u5 u:V uSUm ueUn uwU us u. '##L#w #w#x#$0#L#8 vD8 '#P##$ 0##8 v8 '###$İŠ0##8 v8 '#V'####$ưǠ0##8 w8 '#\'##j#$Ȱɠ#'##'#6" #2#'# #'#"'# #2#'#6"'#&'# #2#'#"'# #2#'#6"'#&'# ##'#6"'#&'# ##'##'##'##'#0#j#8#j"'# #f"'# #g"'# #"'# #@#'#j" #f" #g" #" #@#'#j" #f" #g" #@#='#j" #f" #g@#>'#j" #f@#?'#j#'##k$m젵#'# #"'# #J#'##k$렸#'# #"'# #J#f'# #f"'# #J#g'# #g"'# #J wG w\ wvU w w w w x xCU xUU xgU xyU x8 x^ x y y>= y_> yz? yU yU yV yU yU zV z-Uf z?Vf zZUg zlVg#@#\'# "'# #4"'# #J@#5'# "'# #4@#6'# " #" #@#;'# " #" #" #R" #` {\\ {5 {6 {; '##P#$˰̠0#P#8 |:8 '#P##$ΰϠ0##8 |u8 '###$ѰҠ0##8#@#'# |8 |^ | '###$԰ՠ0##8 }8 '#-'#=&'#}'#f&'#}'#1&'#}'#p&'#}##$ְנ -0##8#'# #'#}"'# ##5'#I"'# #"'#} #J #"'# #J#m'#}#n'#}#'#}#s'#}"'# ##.'#}"'# # - }8 }U } }5 }V ~Um ~)Un ~;U ~Ms ~n. '####$ٰڠ0##8#'#<"'# ##k$. ~8  '####$ܰݠ0##8###X x8 X '####$߰0##8###X 8 X '####$0##8###X ,8 <X '#'####$0##8###X 8 X '####$0##8###X 8 X '###$0##8 ;8 '###$0##8 v8 '#{##$0##8#"'# #"'# #@#'#" #" #@#'#" # 8 ^   '###$0##8#"'# #X"'# ##@#'#" #X" ##@#'#" #X j8 z^   '###$0##8 #8 '##h#$0#h#8 ^8 '#-'#=&'#V'#f&'#V'#p&'#V'#1&'#V#D##$0#D#8#'# #'#V"'# ##5'#I"'# #"'#V #J #"'# #J#m'#V#n'#V#'#V#s'#V"'# ##'#"'# ##'#"'# #"'# #T#.'#"'# # #'#"'# # -#'#"'# #"'# #T #'#"'# # #'#"'# #  8 U  5 HV aUm sUn U s   . - P   '####$0##8 _8 '###$ -0##8#'#d#X'##'# 8 U UX U '###$ q0##8#"'#e #"'# # @#'#" #" # @#'#" ##o'##^'##;'##'##'## '##'# #+'#!#'#"#'## #8 3^ ^  Uo U^ U; U U U U "U+ 5U H '#q###$$0##8% 8 '###$&0##8'#"'#e #"'# #(@#'#" #" #)@#'#" #*@#='#+ %8 5^ c  = '#-'#=&'#'#f&'#'#p&'#'#1&'###$, -0##8-#'# .#'#"'# #/#5'#I"'# #"'# #J0 #"'# #J1#m'#2#n'#3#'#4#s'#"'# #5#.'#"'# #6 - 88 HU X y5 V Um Un U s . '#-'#=&'#'#f&'#'#1&'#'#p&'##A#$7 0#A#88#'# 9#'#"'# #:#5'#I"'# #"'# #J; #"'# #J<#m'#=#n'#>#'#?#s'#"'# #@#'#"'# #A#.'#"'# #B 8 U  5 GV `Um rUn U s  . '##?#$C0#?#8D k8 '#{##$E0##8F 8 '###$G0##8H#"'# # "'# #!I@#'#" # " #!J 8 ^  '##"#$#$K0#"#8L#""'#% # "'# #&M@#'#"" # " #&N s8 ^  '##'#$()O0#'#8P#'"'# #X"'# ##Q@#'#'" #X" ##R 8 ^ = '##%#$*+S0#%#8T 8 '##,#$-.U0#,#8V#,"'# #/"'# #0"'# #iW@#'#," #/" #0" #iX 8 ^  '##1#$23Y0#1#8Z#1"'# #~"'#+ #A[@#'#1" #~" #A\@#'#1" #~] y8 ^   '###$45^0##8_#"'#" #"'# #6`@#'#" #" #6a /8 ?^ f '##7#$89b0#7#8c#7"'# #~"'#+ #Ad@#'#7" #~" #Ae@#'#7" #~f 8 ^   '##:#$;#$?@l0#>#8m#>"'# #~"'# #An@#'#>" #~" #Ao@#'#>" #~p 48 D^ n  '##B#$CDq0#B#8r#B"'#1&'#> #=s@#'#B" #=t 8 ^  '##E#$FGu0#E#8v#E"'# #~"'# #Aw@#'#E" #~" #Ax@#'#E" #~y r8 ^   '##z0##8{#*'# "'# #"'# #"'#e #7|#-'# "'# #"'# #"'#e #7}#0'#I"'# #~#3'#I"'# ##6'# "'#e #"'# ##7'# "'#e #"'# # 8 ,* l- 0 3 6 "7 '#'##W#$HI0#W#8 8 '#K'#N'#P#X#$JK0#X#8 8 '##N#$LM0#N#8 38 '#H&'#'##N +'#<*#"#N #"#'#I"'#&'#'# #2#y)(#(#'#&'#'##'#6"'#e #J#'#"'# #'# ##'#I#Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##g'#6#h'#6#O'#6"'# # n" ^  y   N bZ U U Ug Uh O '#N#P#P"'#< ##'#6"'#e ##'#"'#e ##5'#I"'# #"'# #J#'#"'#e ##<$ #'# #O'#6"'# #@#-'#"'#< #"'# ##<$  ^   5  BU RO s- '#N#Q +'#*#R#Q"'#< # #R#'#6"'#e ##'#"'#e ##5'#I"'# #"'# #J#'#"'#e ##<$ #'# #O'#6"'# #@#-'#"'# #"'#< #"'# ##<$ R ^ 7 X z5  U O - '#H&'#'##S+'#&'#'#*#C#S #C#'#I"'#&'#'# #2#y)(#(#'#&'#'##'#6"'#e #J#'#6"'#e ##'#"'#e ##5'#I"'# #"'# #J#'#"'# #'# ##'#"'#e ##'#I#Z'#I'#I"'# #"'# #J #T#'#X&'##'#X&'##'# #g'#6#h'#6#T'#"'# ##O'#6"'# ##U'#"'# ##V'#"'# #W"'#6 #X#Y'#"'# #Z C ^  y N n  5   3 GZ U U U Ug Uh T O -U OV Y#>'#{##'##'##4'#6#'##C'##'##'#I#'#I""#W"'# #"'#1&'# # eU wU U4 U UC U  #"#4'#I"'# # kV4##'#I#'#I#'#I"'# #F   '#f&'###'#6"'# #J"'#6 ##'#6#Y'#6"'#e #J#'#6"'# #J#'#6"'#e #J#'#I"'#X&'# ##'#I"'#X&'#e ##'#I"'#X&'# #"'#6 #  OU `Y      '#p#[#["'#< ##'##'# #"'# #\ #"'# #]#'##'# ^ U U V V U "U '#[#^+'#1&'#<*#_#^"'#1&'#< #` #" #\ #" #] {_ ^ V V '#p#a#a" ##'##'##'##'# ^ /U AU SU eU '#p#b#b" ##'##'##'##'# ^ U U U U '#p#c#c" ##'##'##'##'# F^ [U mU U U'#&'##p+'#<*#"#p #"#'##'##'##'# #"'# #\ #"'# #]#d'#"'#1&'# #y"'# #e#'##'##'##'#6" #2#'# #'#&'#"'#&'# #2#'#6"'#&'# #2#'#&'#"'#&'# #2 #'#6"'#&'# # -#'#6"'#&'# # #'#&'# #'#&'# #'#&'##'#&'# " ^ U %U 7U IU [V wV d U U   U - ^    U #U =U WU%+*#f%+*#g%+*#h%+*#i%+*#j '##k +'#X&'#<*#+'#1&'#*#l#k"'#X&'#< #`"#k#8 # #l#'#f&'##'#I"'#f&'# #y#"'#f&'# #y #T#'#6"'# #J"'#6 ##'#6"'#e #J ~ l ^ 8   D r  '##m"+'#<*#" #m #"!#'#f&'#"#'#I"'#f&'# #y##'# $#g'#6%#h'#6&#'#I'#Y'#6"'#e #J(#'#6"'# #J)#'#6"'#e #J*#'#6"'# #J"'#6 #+#'#I"'#X&'# #,#'#I"'#X&'#e #-#'#I"'#X&'#e #.#'#I'#6"'# # #V/#'#I'#6"'# # #V0@#n'#6"'#< #""'#e #J1@#4'#6"'#< #""'# #J#<$ 2@#-'#6"'#< #""'# #J#<$ 3@#o'#6"'#< #""'# #J"'#6 #4@#p'#6"'#< #""'# #J5@#q'#6"'#< #""'# #J"'#6 #6@#n'#I"'#< #""'#X&'# #7@#r'#I"'#< #""'#X&'#e #8@#'#I"'#< #"'#6"'# # #V"'#6 #s9@#t'#e"'#< #:@#u'# "'#e #;@#v'#6"'#e #"'# #J<@#w'#6"'#e #"'# #J=@#x'#I"'#e #"'# #J>@#y'#I"'#e #"'# #J?@#z'#6"'#e #"'# #J@@#{'#6"'#e #"'# #J"'#6 #A" " .^ E b U Ug Uh  Y   0 _     <n i4 - o p Cq |n r  2t Tu uv w x y )z V{#|B+'#*#C+'#*#}D##|#` #E##|#b #F##|#_ #G##|#a #H##|#Y #I##|#Q #J##|#] #K##|#V #L##|# #M!#|#"'# #~N#'#O#J'#P  } ` b _ a "Y <Q V] pV    UJ7"'# ##~Q)(#Z'##R+'#*#LS -# #LT#M'#&'#Z"'#{ #"'#6 #U#O'#&'#Z"'#< #"'#6 #V#P'#&'#Z"'#g&'#< #"'#6 #W#N'#"'#{ #X L ^ M O 'P jN)(#Z'#'#&'#Z#Y#'#&'#Z"'# #Z#p'#&'#Z'#I"'#Z # #[  p)(#Z'# '#&'#Z#\+'#{*#]+'#*#L^+'#6*#_# # #L #`#'#&'#Z'#I"'#&'#Z # #'#I"'#&'#Z # #a#'#6b#'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 ##<$ c  L  ^  ]U n"'# #"'# #'#6#d)(#Z'# '#&'#Z'#&'#Z#e#" #" #;" #f#'#&'#Z"'# #g#p'#&'#Z'#I"'#Z # #h ^  p)(#Z'# '#&'#Z'#&'#Z#i +'#X&'#<*#j+'#6*#k+'#*#Ll# # #L #m#'#&'#Z"'# #n#'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 #o#p'#&'#Z'#I"'#Z # #p#'#&'#Z'#I"'#&'#Z # #'#I"'#&'#Z # #q#'#6r _ ~ L ^   jp  U7)(#Z'#"'#Z ##s)(#Z'# '#&'#Z#t+'# *#u+'#{*#v+'#*#Lw+'#~*##x+'#6*#y# # #L'#I"'#Z # # #z#'#~{#'#6|#'#I'#I"'#Z # # }#'#I"'#6 #!~#'#I'#I #"#$'#I"'#~ #%#''#6#&'#I#'#I#'#I#()(#'#~&'#"'# #)   L #  )^ o U    $ /U' @& T h |()(#Z'#'#&'#Z##'#I"'#Z # Z)(#Z'# '#&'#Z'#&'#Z#+'#&'#Z*#+'#*#2#"'# #X#'#&'#Z'#I"'#Z # #"'#6 #'#I #"'#6 ##'#&'#Z'#I"'#&'#Z # #'#I"'#&'#Z # ##'#6#'#I"'#Z #  2 ^  | U  '#&'#'#&'###"'# #X#'#I"'# # |^ )(#Z#+'#&'#Z*#+*# ###'#&'#Z#'#I"'#&'#Z ##'#I"'#&'#Z ##'#I    U 8 a )(#Z'#'#&'#Z#+*# -# ##M'#&'#Z"'#{ #"'#6 ##O'#&'#Z"'#< #"'#6 ##P'#&'#Z"'#g&'#< #"'#6 ##N'#"'#{ ##L'#  ^ 'M bO P N UL'## -@+'#f&'#*#@+*#8&'#$$$$$$$$$$$$$$$$$$$$$$$±$ı$Ʊ$ȱ$ʱ$̱$α$б$ұ$Ա$ֱ$ر$ڱ$ܱ$ޱ$$$$$$$$$$$$$$$$$$$$$ $ - $ $$$$$$$$$$ !$"#$$%$&'$()$*+$,-$./$01$23$45$67$89$:;$<=$>?$@A$BC$DE$FG$HI$JK$LM$NO$PQ$RS$TU$VW$XY$Z[$\]$^_$`a$bc$de$fg$hi$jk$lm$no$pq$rs$tu$vw$xy$z{$|}$~$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$²$IJ$Ʋ$Ȳ$ʲ$̲$β$в$Ҳ$Բ$ֲ$ز$ڲ$ܲ$޲$$$$$$$$$$$$$$$$$$$$$ $ - $ $$$$$$$$$$ !$"#$$%$&'$()$*+$,-$./$01$23$45$67$89$:;$<=$>?$@A$BC$DE$FG$HI$JK$LM$NO$PQ$RS$TU$VW$XY$Z[$\]$^_$`a$bc$de$fg$hi$jk$lm$no$pq$rs$tu$vw$xy$z{$|}$~$$$$$$$$$$$$$$$$$@+*#8&'# $$$$$$$$$$$$+'#*#@+'#&'#'#6*##"'# ##'#6"'#< ##'#6"'#< #"'# #C"'# #J@#'#6"'#< #"'# #C"'# #J"'# #@#'#6"'#< #"'# #C"'# #J"'# # - ] | ȸ  ( M^ k Ɍ  )(#'#1&'##f#Q'#R&'##'#I"'# #J#'#I"'#X&'# ##'#I'# "'# #"'# # ##'#I"'# ##'#I"'# #"'# ##'#I"'# #"'#X&'# ##'#I"'# #"'#X&'# ##'#"'# ##'##'#6"'#e ##'#I'#6"'# # #V#'#I'#6"'# # #V#'#I"'# #B"'# #C"'#X&'# #"'# ##'#I"'# #B"'# #C#'#I"'# #B"'# #C"'#X&'# ##'#I"'# #B"'# #C"'# # UQ   ( i ˍ ˺  $ E Z { ̬  - W ͖#~@+'# *#@+'# *#@+'# *#@+'# *# @+'# *# @+'# *# @+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *# @+'# *#!@+'# *#"@+'# *##@+'# *#$@+'# *#%@+'# *#&@+'# *#'@+'# *#(@+'# *#!@+'# *#"@+'# *##@+'# *#$@+'# *#%@+'# *#&@+'# *#'@+'# *#(@+'# *#,@+'# *#-@+'# *#-@+'# *#.@+'# *#.@+'# *#0@+'# *#1@+'# *#2@+'# *#3@+'# *#4@+'# *#5@+'# *#6@+'# *#7@+'# *#8@+'# *#9@+'# *#;@+'# *#=@+'# *#?@+'# *#A@+'# *#B@+'# *#C@+'# *#D@+'# *#E@+'# *#F@+'# *#G@+'# *#H@+'# *#I@+'# *#J@+'# *#K@+'# *#L@+'# *#lM@+'# *#N@+'# *#O@+'# *#P@+'# *#AQ@+'# *#jR@+'# *#]S@+'# *#ZT@+'# *#qU@+'# *#V@+'# *#W@+'# *#X@+'# *#Y@+'# *#Z @+'# *#[ -@+'# *#[ @+'# *#\ @+'# *#] @+'# *#`@+'# *#a@+'# *#b@+'# *#c@+'# *#d@+'# *#e@+'# *#f@+'# *#g@+'# *#h@+'# *#i@+'# *#j@+'# *#k@+'# *#m@+'# *#n@+'# *# o@+'# *# -p@+'# *# q@+'# *# r@+'# *# s @+'# *#t!@+'# *#u"@+'# *#v#@+'# *#w$@+'# *#x%@+'# *#y&@+'# *#z'@+'# *#{(@+'# *#)@+'# *#*@+'# *#+@+'# *#,@+'# *#-@+'# *#.@+'# *#/@+'# *#0@+'# *#1@+'# *#2@+'# *# 3@+'# *#!4@+'# *#"5@+'# *##6@+'# *#$7@+'# *#%8@+'# *#&9@+'# *#':@+'# *#(;@+'# *#OO<@#)'#6"'# #=@#*'#"'# #>~ W o · Ο η     / G _ w Ϗ ϧ Ͽ     7 O g  З Я     ' ? W o ч џ ѷ     / G _ w ҏ ҧ ҿ     7 O g  ӗ ӯ  l   ' ?A Wj o] ԇZ ԟq Է     / G _ w Տ է տ     7 O g  ֗ ֯    -  ' ? W o ׇ ן ׷     / G _ w ؏ ا ؿ    ! 7" O# g$ % ٗ& ٯ' (  ) *#+?@+'# *#,@@+'# *#A@+'# *#B@+'# *#-C@+'# *#.D@+'# *#/E 8, P h ހ- ޘ. ް/#0F@+'#*#1$23G@+'#*#4$56H@+'#*#7$89I@+'#*#:$;<J@+'#*#=$>?K@+'#*#$@AL@+'#*#B$CDM@+'#*#E$FGN@+'#*#H$IJO@+'#*#K$LMP@+'#*#N$OPQ@+'#*#Q$RSR@+'#*#T$UVS@+'#*#W$XYT@+'#*#Z$[\U@+'#*#]$^_V@+'#*#`$abW@+'#*#$cdX@+'#*#e$fgY@+'#*#h$ijZ@+'#*#k$lm[@+'#*#n$op\@+'#*#q$rs]@+'#*#t$uv^@+'#*#w$xy_@+'#*#z${|`@+'#*#}$~a@+'#*#$b@+'#*#$c@+'#*#$d@+'#*#$e@+'#*#$f@+'#*#$g@+'#*#$h@+'#*#$i@+'#*#$j@+'#*#$k@+'#*#$l@+'#*# -$ -m@+'#*# $ n@+'#*# $ o@+'#*# $ p@+'#*#$q@+'#*#$r@+'#*#$s@+'#*#$t@+'#*#$u@+'#*#$v@+'#*#$w@+'#*#$x@+'#*#$y@+'#*#$z@+'#*#${@+'#*#$|@+'#*#$}@+'#*#$~@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$ô@+'#*#$ƴ@+'#*#$ɴ@+'#*#$̴@+'#*#$ϴ@+'#*#$Ҵ@+'#*#$մ@+'#*#$ش@+'#*#$ڴ@+'#*#$ܴ@+'#*#$ߴ@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*# $ - @+'#*# $ @+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$ !@+'#*#$"#@+'#*#$$%&@+'#*#'$()@+'#*#*$+,@+'#*#$-.@+'#*#/$01@+'#*#2$34@+'#*#$56@+'#*#7$89@+'#*#:$;<@+'#*#=$>?@+'#*#@$AB@+'#*#C$DE@+'#*#$FG@+'#*#H$IJ@+'#*#K$LM@+'#*#N$OP@+'#*#Q$RS@+'#*#T$UV@+'#*#W$XY@+'#*#Z$[\@+'#*#$]^@+'#*#_$`a@+'#*#b$cd@+'#*#e$fg@+'#*#h$ij@+'#*#k$lm@+'#*#n$op@+'#*#q$rs@+'#*#t$uv@+'#*#$wx@+'#*#$yz@+'#*#{$|}@+'#*#$~@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$@+'#*#$ۀ 1 %4 A7 ]: y= ߕ ߱B E H K !N =Q YT uW Z ] `  e h 9k Un qq t w z }   5 Q m       1 - M i       - I e       ) E a }      % A ] y      ! = Y u       9 U q       5 Q m  $ ' *  / 12 M i7 : = @ C  H -K IN eQ T W Z  _ b )e Eh ak }n q t   { % A ] y      ! = Y u       9 '#&'##+'#1&'#*#+'#*#2+'#{*#@+'# *#+'#*#@+*#$@+'#&'#'# *#AB$^ ##B$ ##B$ ##B$µ6 ##B$ô ##B$Ĵ - ## -B$Ŵ ## B$ƴ ## B$Ǵ ## B$ȴ ##B$ɴ ##B$ʴ ##B$˴ ##B$̴ ##B$ʹ ##B$δ ##B$ϴ ##B$е ##B$Ҵ ##B$Ӵ ##B$Ե ##B$յ ##B$ִ ###M'#&'#"'#{ #"'#6 ## #2!## #2 ##'#6#'# "'#I ##'# "'#I ##'#6"'# ##'# "'#I ##'#I"'#I ##'#I"'#I ##'#I"'#I #  ;2 R i    M :^ Q tU      * K#@#'#&'#"'#{ #@#'#&'#"'#{ #@#'#&'#"'#{ #  * T'##+'#1&'#*## ###'#I"'# ##'#I"'# ##'#I#'#I"'# #l#'#I"'# ##'#I#'#I"'# #l"'# #"'#X&'# #K"'#X&'# ##'#I"'# #l"'# #"'# #"'#X&'# #K"'#X&'# ##'#I"'# #l"'# #"'#X&'# #K"'#X&'# ##'#I#'#I"'# ##'#6"'#< ##'#6"'#< #"'# #C"'# #J  ^    0 D h    o    &'## -+'#f&'#*#+'#f&'#*#+'#f&'#*#+'#*#0##"'# # 0##"'# # -0## # #"'#X&'# #"'#X&'# #"'#X&'# # #'#6"'#< # #'#6"'#< #"'# #C"'# #J -   & E \ z  ^  ) '##+'#6*#+'#6*##"'# #"'#X&'# #"'#X&'# #"'#X&'# #"'#6 #"'#6 ##'#6"'#< ##'#6"'#< #"'# #C"'# #J   ^ a  '##@+*#8&'#$$$ $$+'#f&'#*###'#6"'#< #"'# #C"'# #J  - L^ Z'###'#6"'#< ##'#6"'#< #"'# #C"'# #J  #@+'#*#1$]@+'#*#$@+'#*#$  B1 ^ z)(#'#V '#&'#'#=#!+'#1&'#V*#"# ###Q'#R&'#$#'# %#'#I"'# #&#'#6"'#e #'#'#I(#'#"'# #)#5'#I"'# #"'# #J* #"'# #+#'#I'# "'# #"'# # #,#'# "'#e #"'# #B-#'# "'#e #"'# #B.#'#I"'# #"'# #/#'#"'# #0#'#I"'# #B"'# #C"'#X&'# #"'# #1#'#I"'# #B"'# #C2#'#I"'# #B"'# #C"'#X&'# #3#'#I"'# #B"'# #C"'# #4#B'#1&'#V5  ^ UQ 2U B c   5 V  @ q    > h  UB)(#'#V'#R&'## 6+'#R&'#V*#g7#  #g8#z'#69#{'#: g ^ z U{# -;@#'#"'# #"'# # # "'#6 #< :)(#Z'#R&'#Z# =+'#1&'#Z*# >+'# *#2?+'# *# @+'#Z*#aA# "'#1&'#Z #B#z'#6C#{'#ZD  2  a ^ 2z FU{)(#Z'#R&'#Z# E+'#1&'#Z*# F+'# *# G+'#Z*#aH# "'#1&'#Z #I#z'#6J#{'#ZK   a ^ !z 5U{#L*##M@+'#*#' ##N#'#6O#t'#P#'#I"'#6 #r"'#e #:Q#'#I"'#e #:R#%'#I"'#e #:S#'#I"'# #:T#'#I"'#e #:U#9'#I"'#e #."'#e #dV#'#I"'#e #:W#f'#I"'#e #:X#'#I"'#e #:Y#'#I"'#e #:Z#'#I[#'#I"'#e #:\#'#I"'#e #:]#'#I"'#e #"'#1&'# #^#'#I"'# # _#'#I"'# # `#'#I"'# # "'#e #:a#'#I"'#e #:b#'#I"'#e #:c#'#I"'# #d#'#I"'# #e#'#I"'#e #:f# '#I"'#e #:g   U Ut   5% Y } 9  f  5 V j    -  -/ -c - - - -  " #!'##"h" #'#{##i" #'#{#$j" #c#%k" #" ##&l" ##'m" ##(n" #" #" #" #_#)o" #O#*p" #O#+q"'#< #"'# #k"'# #,'#I#-r" #" #"'# #"'# #d'#6#.s"'#< #'#I#/t'##0u+*#1v+*#2w+*#3x#0"'# #"'#> #X"'# #ky#4'#<"'#< #z 1 2 3 ^ 04'##5{+*#6|#'#}#'#~#4'#6#'##C'##'##'#I#'#I""#W"'# #"'#1 ##5 #6@#7'#" #i#'##'#I"'# #X"'#~ #W"'#6 ##'#I"'# #X"'#~ #W"'#6 ##'#6"'# ##'#I"'# #X"'#~ #W"'#6 ##'#I"'# #X"'#~ #W"'#6 # 6 U U U4 U UC U    V^ m7 U    5 r'##8+*# #4"'# #@#9'#I" #" ##8 #@#7'#" # > OV4 k9 ^ 7'##:+*#;#'#I#'#I#'#I"'# #F#: #;@#7'#" # ;     4 T^ k7 '#I'#I#++'#I*#F+'#6*#<+'# *#=+'# *#>#'# #'# #'#6#'# #?'# #@'# #A'#6+'#{*#B#'#S@+*#C@#D!##}"'#I #C# "'# #X"'# #?"'#6 #"'#6 #"'# #"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 #"'#{ #P#E'#6#'#{@#F'#"'# #"'# #@+'#&'#*#J@+'#&'#*#P@+'#&'#*#M#'##'#6#'# #'#6#'##'# #'#6#'#6#?'##'#I"'# #X"'#6 #"'#6 #"'# #?"'# ##G'##'# #'# #'# #'##'#I -"'# #X"'#6 #"'#6 #"'# #?"'# #"'# #"'#6 #"'#6 #"'#6 #"'#6 ##'#6"'# #H#'#6#I'#6#'#+ F < = > )U :U KU \U mU? ~U@ UA B U C D } ^ UE U F *J IP hM U U U U U U U U U? " sUG U U U U  X yU UI U#J@+'#6*#K@+*#L K L'##I+'#*#M+'#*##I #M#'#6#'#6#'#6#'#{#'#6#'# #'#6#'#{#'#4#X'##'#I"'# #X"'#6 #"'#6 ##'#I#'#I#'#I#'#1&'#{#'#<#D'#1&'#V#'##'# @M W n^ U U U U U U U U U  UX 2 q    U UD U U)(#Z"'#I"'#Z #O'#I"'#Z#N)(#<(#="'#I"'#<"'#= #O'#I"'#<"'#=#O"'# #R'#<#Q)(#Z'#<"'# #R'#g&'#Z#U##4'#<"'#< # 4##"'# #0##P"'# #@#'#6"'#< ##'#6"'#< #"'# #C"'# #J  ^ *P H i##"'# ##Q'#I"'#V #@+*#R'#S ^ Q  -R'##S -#S#Q"'#V # T^ bQ###T'#6"'# #k ^ T'##U+'#&*#V+'#*#W#T'#6"'# #k V W T'##X+'#*##X ##'#6"'#< ##'#6"'#< #"'# #C"'# #J m ^  '##+'#*#+'# *#Y# ##Q'#I"'#V ##Z'#I"'#V #"'#V #C#['#I" #"'#V #C#\'#I"'#< #"'#V #C"'#6 #]"'# #"'# #"'# #^"'# #_#`'#I"'#V #"'#V #C * AY W^ nQ Z [ \ !S`͏09C9Vω7R9eњѵ1G%ݺY"&3w9 I>E -IS 6W#;jx[_Ac$x,GBP5D)w&I>n -  -^7 -} ! B    Za,/3=;dh S au  [58:;;;<_<=R=u ->&>H??M??AA@B!BQ#BB%CC.DHD]0DD5EE;FFEG`GJL[MOsMMwNNzNcNqvO*OFOOP<PXPPR RDRRSST9TGTTUUVmVWW?XX@XXZ ZZr[\]]^_~z'>x0>S8nPm7E7  -A'z!  B1 -  -5,  7= 7 -7 )?5WbXmeil^p%suG`wJ~j}*#b!68n= @i@~B BEBBCCGHIIJ2J@RT[&\7]]23_`;bYbIeBeYgga\klmn8annepwpkvwg;WzT<hˡ̢Ϊ774x7T7H-?}6۹ 6ܢܸ{C{;] IjW r@)S7r|+A'S7G #17 L#@Z]km3  7{ 7| -} E         (  - - i  ! ! "K "m # $ $i $} % % % % ) )e - * +1 .g . /R /` / /% 1 2z 2 2 9 : = >O > >& A A2 B! B677 BU. B B9 CG C\< D D E F'' I IS Js Jl U X Z1 ZW Z Z \ ]X ^J ^mY ^ ^Z _z _[ ` `1\ bG b] b c d) dw^ eE e}_ fK f` gQ ga hR hb i+ iUc j> jvd j je kZ k}f k lg l mh n nki p pj p pk p p q r sb s7 s t t u5 uQI x yc z z7 z {  { { |Q | | } } } S $ k $ Q 2  9 U  ) h F& 2 )/ 2 g 7 ; W<  H I d G wS X 1\ ^ U e 7i j D `l " /   q : w )  h  7 -  #   7  H   ) ? u    & \   t   c  97 W P D7' o( &  6 FH Q I ټO  K V dL ڪ ڸP b ۚM N : H ܵ 7W 7V ] , M V s : q  2 v v < J   7    D  - -  - -! -I - -B -W) -r -, - -/ - -2 -! -#4 -# -#6 -$j -$; -$ -$> -% -%w -& -&A -( -(w -+ -,@J --L --V -. -.Y -/f -/] -0 -1(d -2v -2h -3 -3c -4 -4r -7 -7~ -7 -8! -8o -8} -8 -8 -8 -8v -9 -9 -: -;' -; -<7 - -?c -? -?x -A -B= -B -Bj -C -C@ -Dx -D -D -D -E -E -G -G -IZ -I -J -K7 -K> -K -L7 -L= -L -Ll -M -M6 -M -M -O -Ok -O -P -P -P -Q- -Q; -Q -Q -R{ -R -S -S" -Ty -Tq -U -U -Vd -V -V -V - -W -W -X -X -Y0 -YS -Y -Z' -Z -Z -[ -[87 -[W7# -[v7% -[ -`" -a/ -a -aI -b; -bV -b -c"7N -c@d -ct -c{Q -d -d27S -d]7U -d|V -e@ -ei7X -eY -e -f\ -ff -f{` -i -jo -kU -kps -l -lv -m -m -n -n -o -o -wS -x -yi -y -y -y -z] -zr -z -z! -{ -{ -} -~R$ -~ -~ - - - -l -N - -E - -k -7 - - - - -/ - - - - -s -O -= -XQ - -o -+ -d[ - -W -c -y -w - - - - - - -3 - -B - -= - -~o - -  -^ - - - - - - -H - - - -+ - -- -N - - -. -@ - - -( - - - - -@ -j -Ė -(7] -G -U -ǚp -1 -M7` -k7[ -ȕ -Ɇ -% -4 -I] - -) - - - - / -Ͱ -u -L -a4 -δ -7 -϶ -< -{ -Н? -; - D -֬ -C -m -ج -M -ws -? -h+ -7 -`y - -~ -o - - - - -!! - - - - -r - - -K - - -i -7 -S - - - -( - -) -| - -6 - - - - - -` -( -Jy -! -Qu - - - - -      -    Q _ E   - -t = K  Q t  !    %)   |  J 4  1  9 b < P k6  A  2  &  + , _  ;h  3 ! Rk  7 o "z #t $ %V ) *ip /; / Q X>J X XC Z Z+ Z Z [J [m ] ^AT `] ` d) dY f f] g h h; hBc iO ixf i jg jo j}l la l m+ m2 m m o o p p q q qF qM q q q q q q r2 r9 rm rtZ s s3 sg sn s s\ tK tn u vL vT v[ v v v v w wj z {M { |P |J |Q | | | | }+ }2 ~ ~ ? M     M [   K R  + F  3 :h n uD 4 o v  ^    7 {A G? {   ; O" ' ` t% , A U1  7 8 S: > B : NE  R W X  N C JN  rP Q P S >> M N # \   J [ 4 e^ a w b 0c p q %f $%g 5%h F%i W%j hk m }| L7~ f  H W  K  # " d7  - {   N    F T ʟf H : )+ 0 U  l  ~  `  c    $ 3     + -   X  G t 2 " # -$ K% c& ' ( ) * + - L. / 0 R x5  '8  :    J  )I  N O fQ U      ' =S ~   U > VX   !a  !  @)##b$0#$!###J##H#$$0#$cd!#e#f$gh$$ -$ 0#f$gh !#$#V$ij - !#S$ $kl$mn$op$qr$st$uv$wx$yz${|$}~$$$$$$$$$$$$$$$$$$ @  @##b%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#" #'#6#" #"'# #W"'# #D#'#/# #'# - CZ'#/##<$=> @+'# *#OO +'#*#W +'# *# -# #W$^ ###<$=>#'# C CW C C^ D#+'#1&'# *#.+'# *#B# #. #B DZ. DuB D^"'#1&'# #."'# #B"'# #C'##"'#1&'# #.'#6###'# "'# #% E. B9 BV% Bm% B% B% B% B% B% B C CD Cn Cv D& DL D D D E  EN  @##b#@+'# *#@+'# *##V$@+'# *#@+'# *##V$@+'# *#@+'# *##V$@+'# *#OO@+'# *#OO#V$ö@+'# *# @+'# *# #V$Ƕ -@+'# *# @+'# *##V$˶ @+'# *# @+'# *##V$϶@+'# *# @+'# *# #V$Ӷ@+'# *#@+'# *##V$׶@+'# *#@+'# *##V$۶@+'# *#@+'# *##V$߶@+'# *#@+'# *##V$@+'# *#@+'# *##V$@+'# *#@+'# *##V$ F F FB FY F~ F F F F G G6 GM Gr G G G G H H& H= Hb Hy H H H H I I-%+'#*#' ##%+'#*###V$ '# &'#1&'# '#1&'# # +'#6*# +'# *#!+'# *#"+'# *##+'# *#$+'#6*#%+'#1&'# *#&# # ## # ## # ## # ## # # #'+##2# ##2# ##2# ##2# ##2#2#2#1(#'#)#'#* J J J J K K K- KI^ K LU L/U%+'#*#' ##+%+'#*###V$, '# &'#1&'# '#1&'# #- +'#6*#.+'# *#/+'# *#0+'# *#1+'# *#2+'#1&'# *#3+'#6*#4# # ## # ## # ## # ## # # #5+##2# ##2# ##2# ##2# ##2#2#2#16#'#7#'#8 M M% M: MO Md My M M^ N+ NU NU '#&'#1&'# '#1&'# #9 -+'#6*#:+'# *#;+'# *#<+'# *#=+'# *#>+'#1&'# *#?+'#6*#@# # # ## # ## # ## # ## # #A#'#1&'# "'#1&'# #B#'#"'#&'#1&'# #C - O$ O9 ON Oc Ox O O O^ P? Pl '#&'#1&'# '#1&'# #D+'# *#E+'#1&'# *#F+'#6*#G# # ## # #H#'#1&'# "'#1&'# #I#'#"'#&'#1&'# #J Q Q, QH Q]^ Q Q#K0##"'#6 #"'# # ##"'# # ##"'# # ##"'# # ##"'#1&'# #"'#6 #L0##"'# # ##"'#1&'# #"'#6 #M#'#I"'#1&'# #A"'# #B"'# #CN#'#1&'# "'#6 #"'#6 #CO#'#"'#6 #"'# #"'# #"'# #"'# #"'#1&'# #"'#6 #P#'#"'# #"'#1&'# #"'#6 #Q R. R S SV S T '##R+'#*#S#'#I"'#1&'# #ST#'#I"'#1&'# #S"'# #B"'# #C"'#6 #U#'#IV T T T U '##W###8"'# #"'#6 #"'# #"'# #"'# #"'# #"'#1&'# #"'#6 #X UJ8 '##Y###8"'# #"'# #"'#1&'# #"'#6 #Z U8 '##[+'#*# -\+'#*#]+'#6*# ^+'#6*# -_# # # -`#'#I"'#1&'# #Aa#'#I"'#1&'# #A"'# #B"'# #C"'#6 #b#'#Ic V@ - VV Vl V - V^ V V W!"'# #'#I# d"'# #'#I# e"'# #'#I# f"'# #'#I#g E E IR J3% JY% J L@ L% L% L N N P P Q R  TA Tl U U5 U U V$ V+ W4 Wp W W W  @##b'###<$=>#D'##"'# #D#<$=>0##"'# #D#<$=>0##"'#? #kP#{'##k'#?`#{'#I" #D#'#~&'#"'#6 ##'#I"'#6 # P#'# -#'#~&'#"'# # #'#"'# # #'#~&'# #'##'#~&'#"'# ##'#"'# ##'##'#&'#"'#6 #"'#6 ##'#1&'#"'#6 #"'#6 ##'# XUD X^ Y Y> Y[U{ YlUk Y}V{ Y Y YU Y Z% ZI Ze Zy Z ZU Z [ [O X X [c  @##b '#'###+'#*#v+'# *##"'# #D###"'# # #D'##a"'#! ##""'#! #"'# # ##"'#! #"'# # #$'#"'#! # #%"'#! #"'# # -#"'#! #"'# # #&"'#! #"'# # "'#6 # #'"'#! #"'# # "'# # #('#I"'#! #"'#1&'# #"'# # "'#6 #"'#6 #P#{'#`#{'#I" #D#k'#?#)'#~&'#6#*'#6#'##'#~&'#"'#6 ##'#I"'#6 #P#'##'#~&'#"'# ##'#"'# ##p'#~&'#"'#6 ##+'#I"'#6 ##'#~&'#"'# ##'#"'# ##'#&'#"'#6 #"'#6 ##'#1&'#"'#6 #"'#6 ##'# #'#6" #!#," #"'# #W"@#-)(#Z'#Z"'#Z #?"'# ### \9v \O \d^ \~ \UD \a \" \# ]$ ]9% ]a ]& ]' ]( ^KU{ ^\V{ ^vUk ^) ^* ^U ^ ^ _U _( _T _xp _+ _ _ ` `Q ` ` `, `-#.$#."'# #%#/'# & b^ b2/#0'@+'# *#1(@+'# *#2)@+'# *#3*@+'# *#4+@+'# *#5,@+'# *#-@+'# *#6.@+'# *#7/@+'# *#80+'# *# 1+'#6*#2+'#6*#3+*#4+'#6*#95+'#6*#:6+'#6*#47+'#.*#;8+'# *#<9#0 #  # #:#='# ;#'#&'#<#'#I=#'#I>#'#~?#>'#I@#>'#IA#'#IB#f'#I" #WC ba1 bx2 b3 b4 b5 b b6 c7 c8 c0 cE cZ co c9 c: c4 c; c< c^ d= d%U d> dQ dd dx> d> d df [ \ a b . bE bS0 d  @##b#?#<$c>@+'#6*#@@+'#6*#A#<$=>@+'#6*#B#<$c>@+'#6*#C#<$c>@+'#6*#D#<$c>@+'#6*#E#<$c>@#F'#I"'# #G#<$c> e@ fA f3B fTC fuD fE fF e e? f  @##b#H#'#I"'#e #"'# #"'# #A gV g+ gHH g  @##b#I @+*#' #I#@+*#J##V$KL@+*#' #I#@+*#M##V$NO@+*##' #I#@+*#P###V$QR@+*#S' #I#@+*#T#S#V$UV@+*#W' #I# @+*#X#W#V$YZ -+'# *#[ *#I# #[ g gJ h h7M hX# hzP hS hT hW iX i![ i6%+*#J #I##V$\] %+*#M #I##V$^_%+*#P #I###V$`a%+*#T #I#S#V$bc%+*#X #I#W#V$de#f -@+*#g' #f#@+*#h#g#V$ij@+*#' #f#@+*#k##V$lm@+*#n' #f#@+*#o#n#V$pq@+*#r' #f#@+*#s#r#V$tu+'# *#2*#f# #2 - jvg jh j jk jn ko k?r kas k2 k'##)#<$=>##)"'# #D#<$=>0#)#"'#? #k0#)#"'# # #<$=> #'#~&'#)"'#6 #!#'#I"'#6 #"#'#~&'#)"'# ###'#)"'# #$#+'#~&'#)"'# #%#v'#)"'# #&#'#~&'# '#w'# (#'#))#x'#~&'#*#y'#+#z'#~"'# #,#{'#I"'# #-#'#~&'#.#|'#/#}'#~"'# #0#~'#I"'# #1#'#~&'#"'#I # #I#2#'#"'#I # #I#3#'#&'#1&'# "'# #B"'# #C4#'#"'#I # #I#"'# #S#/5#'#~&'# 6#'# 7#'#~&'#"'# #S#/8#'#"'# #S#/9#'#~&'#1&'#"'# #S#/:#'#1&'#"'# #S#/;#'#~&'#)"'#1&'# #"'#I # #I#"'#6 #<#'#I"'#1&'# #"'#I # #I#"'#6 #=#'#~&'#)"'# #"'#I # #I#"'# #S#/"'#6 #>#'#I"'# #"'#I # #I#"'# #S#/"'#6 #?#D'#@# l!^ lF lc l l l m m%+ mNv mo mw mU mx my mz m{ n n:| nN} no~ n n n o+ oi o o o o p# pQ p p qZ qUD#A#'#~&'#IB#'#IC#'#~&'# D#'# E#'#~&'# "'# #%F#'# "'# #%G#'#~&'# "'#1&'# #."'# #B"'# #CH#'# "'#1&'# #."'# #B"'# #CI#'#~&'#"'# #JJ#'# "'# #JK#'#~&'#"'#1&'# #."'# #B"'# #CL#'#I"'#1&'# #."'# #B"'# #CM#'#~&'#"'# #"'# #S#/N#'#I"'# #"'# #S#/O#'#~&'# P#'# Q#'#~&'#"'# #R#'#I"'# #S#'#~&'#"'# #T#'#I"'# #U#'#~&'# V#w'# W#'#~&'#X#'#IY#'#~&'#"'#f # #f#"'# #B"'# #COOZ#'#I"'#f # #f#"'# #B"'# #COO[# '#~&'#"'# #B"'# #COO\#'#I"'# #B"'# #COO]#'#^#D'#_ r r r s s$ sK sj s s t t= t t u u; uV ui u u u u vw v" v> vQ v v w0 we wyUD'###<$=>`+'#*#Wa+'#*#Db+'#*#c -# #W$^ #D$^ ##<$=>d#'#e x}W xD x x^ y g - gI iO i%J i%M i%P j%T jC%X jhf k l) q r w x\ y  @##b%+'# *#4@Hw '#&'#1&'# #+'#&'# *#+'#*#v+'#*#+'# *# +'# *#I+'# *#+'#6*#+'#6*# +'#6*# -+'#6*# # #v"'# # #I ### #'#&'# '#I"'# # #"'#6 #'#I #"'#6 ##'#~#'#I#'#I z z v z6 zL zaI zv z z z z z^ {  { { { { '#&'#1&'# #+'#)*#$+'#~&'#*##"'#) #N"'#I ####"'# ##'#~&'#)"'#&'#1&'# ##'#~&'#) |[$ |q |^ | | }  '#'#)#?+'#*#v+'# *##"'# #D###"'# # #D'#@#'# @#'#~"'# #"'#1 #A #)'#~&'#6!#%"'#! #"'# # "#*'#6##'#)$#'#~&'#)"'#6 #%#"'#! #"'# # &#"'#! #"'# # "'# #'#"'#! #"'# # (#'#I"'#6 #)#p'#~&'#)"'#6 #*#&"'#! #"'# # +#"'#! #"'# # ,#+'#I"'#6 #-#'#~&'#)"'# #.#'"'#! #"'# #"'# #/#"'#! #"'# #"'# #0#'#)"'# #1#+'#~&'#)"'# #2#"'#! #"'# #"'# #3#v'#)"'# #4#'#~&'#"'#I # #I#5#'#~&'# 6#"'#! #"'# # 7#w'# 8#x'#~&'#9#"'#! #"'# # :#y'#;#z'#~"'# #<#"'#! #"'# # "'# #=#{'#I"'# #>#'#~&'#?#"'#! #"'# # @#|'#A#}'#~"'# #B#"'#! #"'# # "'# #C#~'#I"'# #D#"'#! #"'# # "'# #E#'#"'#I # #I#F#'# "'# #G@#'#"'# #H#'#&'#1&'# "'# #B"'# #CI#'#"'#I # #I#"'# #S#/J#'#~&'# K#'# L#'#"'#1&'# #"'# #SM#'#~&'#"'# #S#/N#'#"'# #S#/O#'#~&'#1&'#"'# #S#/P#'#1&'#"'# #S#/Q#'#~&'#)"'#1&'# #"'#I # #I#"'#6 #R#'#I"'#1&'# #"'#I # #I#"'#6 #S#'#~&'#)"'# #"'#I # #I#"'# #S#/"'#6 #T#'#I"'# #"'#I # #I#"'# #S#/"'#6 #U#'#V@#"'#e #"'# #"'# #DW@#-)(#Z'#Z"'#Z #?"'# #X? }nv } }^ } }UD } } ~) ~9% ~a* ~tU ~ ~ ~  7 [p &  +  %' Z  +  v / b | w x  y z 0 d{   | }  1~ Q     . l     $ Z   -    5-#Y#"'# #Z#/'# [#'# \#]#"'# #^#"'#1&'# #."'# #B"'# #C_#"'# #J`#"'#1&'# #."'# #B"'# #Ca#b#"'# #c#"'# #d#e#f#"'# #"'# #B"'# #Cg 3^ L/ _ r      - G ` m {'##h*@+'#6*#i+'#*#Dj+'#6*#k+'#*#l+'#*#;m#"'# # #Dn#'#Io#p#'#~&'#Iq#'#Ir#'#~&'# s#'# t#'#~&'# "'# #u#'# "'# #v#'#~&'# "'#1&'# #."'# #B"'# #Cw#'# "'#1&'# #."'# #B"'# #Cx#'#~&'#"'# #Jy#'# "'# #Jz#'#~&'#"'#1&'# #."'# #B"'# #C{#'#I"'#1&'# #."'# #B"'# #C|#'#~&'#"'# #"'# #S#/}#'#I"'# #"'# #S#/~#'#~&'# #'# #'#~&'#"'# ##'#I"'# ##'#~&'#"'# ##'#I"'# ##'#~&'# #w'# #'#~&'##'#I@+'# *##'# "'#f ##'#~&'#"'#f # #f#"'# #B"'# #COO# '#~&'#"'# #B"'# #COO#'#I"'#f # #f#"'# #B"'# #COO#'#I"'# #B"'# #COO+'#6*#4#='# #'#~"'# #"'#1 #A"'#6 ##'#I* " 7D M b x; ^       - T s   ( F    D _ s     w 2 O c {   1 ~ 4 =   y y% y { |8 }% }Q k %  /  @##b# @+*#N' ##@+*##N#V$ѷ@+*#P' ##@+*##P#V$Է@+*#' ##@+*###V$׷@+*#n' ##@+*##n#V$Ӈ@+*#8 ##N ##P ## ##n +'# *#2 -*## #2 @#'#"'# #X #'# N  P / P r n   2  4 T#@+*#2@+*#@+*#@+*#@+*#[@+*#@+*#@+*#+'#*#+'#*#+'#*#+'#*#X+'# *#+'# *#7"## # # # #X # #7#"'#! #"'# #D@#'#"'# #D@#'#"'# #D @#'#~&'#"'# #D!@#'#~&'#"'# #D"#'###'#$ 2    $[ 6 H X h ~  X  7  0 Y z    #%:@+*#\&@+*#/'@+*#:(#v'#)#'# *#D'#+#k'#?,#)'#~&'#6-#*'#6.#'#~&'#"'# #/#'#"'# #0#'#~&'#1#'#2#'#~&'#3#'#4#f'#~&'#"'#6 #5#'#I"'#6 #6#'#&'#"'# # ##"'#6 #7#p'#~&'#"'#6 #8#+'#I"'#6 #9@#'#~&'#6"'# #"'# #:@#9'#~&'#6"'# #"'# #;@+'#*#<#Z'#6=@#'#6"'# #D>#'#?#'#@@#'# "'# #DA@#'#"'# #DB@#'#6"'# #"'# #C@#'#6"'# #"'# #DP#'#6E@#'# "'# #yF@#'# "'# #G@#'#"'# #H@#X'#~&'#"'# #D"'#6 #I@#'#"'# #D"'#6 #J@#'#~&'#6"'# #DK@#'#~&'#6"'# # L@#'#~&'#6"'# #DM@#'#~&'#6"'# #DN@#'#6"'# #DO@#'#6" # P@#'#6"'# #DQ@#'#6"'# #DR#"'#! #"'# # "'#6 #S#"'#! #"'# #"'# #T#"'#! #"'# #DU@+'#*# V@# -'#"'# #DW#C'#X@# '#"'# # "'#6 #Y@# '#"'# # "'#6 #Z@# '#~&'#"'# # "'#6 #[@#'#~&'#"'# # "'#6 #\@#"'#e #"'# #"'# #D]@#'#"'# #D^@#'#"'# #D_:    Uv U #UD 4Uk E) `* s      f J n p +  79 l UZ  U U    B oU    X  I q     " B b    - - +UC < h    4 U#`@+'# *#4Ma@+'# *#4M#V$b@+'# *#4Mc@+'# *#4M#V$d@+'# *#f4Me@+'# *#4M#V$f@+'# *#4Mg@+'# *#4M#V$h@+'# *#444###f#i@+'# *#444###f##V$ j@+'# *#!4Mk@+'# *#"4Ml@+'# *##4Mm+'# *#Xn+'#*#Do+'#6*#p"##8 #X #D #q  ; d  f    0 W ! " # X D  8 '##$r##$#8" #D" #s#'#t 8  '##%u+'#6*#&v##%#8" #D" # #&w#'#x 7& L8 r '##'y##'#8" #D" #z#'#{ 8  '##(|+'#*#}##(#8" #D" # #~#'#  8 A#)#*'#&'#"'# #D"'# #"'#6 ##+'#6 z* U+  h    v  G $  "% ' ( U k)   @##b#, +'#*#X+'# *##'#@+'# *#`@+'#*#-@+*#.P#'# #, #X#/'#&'#'# #0'#&'#'# -@#1'#  qX  U ` - . U ^ U/ -U0 L1 '#,#2 +'# *#3 +'# *#4+'# *#5+'# *#6+'# *#7+'# *#8#9'#I"'# ##:'#I#;'#I"'# ##2"'# #X#/'#&'#'# 3 4 5 6 7 /8 D9 c: v; ^ U/ '#2# @+'#*#2$<=+*#N@+'#&'# '#*#># #N@#?"'# #@#@"'# #@#A'#X&'#&'#'#@#B'#~&'#" #8" #C #D'#&'#'#!@#E'#~&'#" #8" #C"#'## 62 QN a> ^ ? @ A B $UD CE mU '#,#F$ @+'#*#2$GH%+*#&+'# *#I'@+'#&'# '#F*#J(#F #)#'#*#K'#I+#/'#&'#'#,@#L"'#F #-@#M"'#F #.@#N'#X&'#&'#'#/@#O'#~&'#"'# #8"'#&'#'# #C0@#P'#~&'#"'# #8"'#&'#'# #C1 2  I #J F^ \U mK U/ L M N O CP F c, _ 2 ! ~ F   @##b'#&'#1&'# '## #"'#&'#1&'# #"'# #S#/+'#*#S#'#I"'#1&'# #A#'#I"'#e ##'#I"'#X #"'# #$^#'#I"'#e #$^#'#I"'# ##d'#I" #f"'#g #h#'#~"'#&'#1&'# # #'#~ -#'#~ #'#~ ^^ S    ( O nd    U)(#Z'#&'#Z#Q +'#&'#Z*#+'# *#R+'#&'#Z*#S+'# *#T+'#6*#+'#6*#U+'#6*#K#Q ##'#I"'#Z #A#d'#I" #f"'#g #h#'#~"'#&'#Z ##'#~#'#~#V'#I#'#~#W'#I" #J#X'#I" #f"'#g #h#'#&'#Z { R S T  U K "^ 8 Wd    V U W X 6U '#Q&'#1&'# '##Y +'#*#Z!+'#6*#["#Y"'#&'#1&'# # #Z##S'#$ #S'#I"'# #J%#'#I"'#e #(&#'#I"'#X #"'# #$^'#'#I"'#e #$^(#'#I"'# #) Z [ *^ [US lVS      4 UQ O Y %  @##b#\,@+'# *#]@+'# *#^@+'# *#_@+'# *#`@+'# *#a@+'# *#b@+'# *#c@+'# *#d@+'# *#e @+'# *#f -@+'# *#g - @+'# *#h @+'# *#i @+'# *#j @+'# *#k@+'# *#l@+'# *#m@+'# *#n@+'# *#o@+'# *#p@+'# *#q@+'# *#r@+'# *#s@+'# *#t@+'# *#u@+'# *#v@+'# *#w@+'# *#x@+'# *#y@+'# *#z@+'# *#{@+'# *#| @+'# *#} !@+'# *#~!"@+'# *#"#@+'# *##$@+'# *#$%@+'# *#%&@+'# *#&'@+'# *#'(@+'# *#()@+'# *#)*@+'# *#*+#'#~"'# #"'#1 #A,, ] ^ _ ` a *b Ac Xd oe f g h i j k l 'm >n Uo lp q r s t u v w $x ;y Rz i{ | } ~    - ! 8 O f }   \   @##b'###<$=>#"'# #D#<$=>0##"'# # #<$=>0##"'#? #k#'#~&'#"'# #"'#6 ##'#I"'# #"'#6 ##'#I"'# ##'#~&'#"'# ##'#~&'##'# #'#~&'#"'# # -#'#"'# # #'# #'#~&'# #'# n^     B b     U  2 '#'##+'#*#v+'# *##"'# #D###"'# # #D'##'##)'#~&'#6#*'#6#'##'#~&'#"'# #"'#6 ##'#I"'# #"'#6 ##'#I"'# ##'#~&'#"'# ##p'#~&'#"'#6 ##+'#I"'#6 ##'#~&'#"'# ##'#"'# # #'#~&'#!#'#"@#"'#e #"'# #"'# #D$^##'#6" #$#" #"'# #W"'# #D% v  ^ - &UD 7 K) f* yU     >p k+      E _ 0 M F    @##b#!#R'#!#'# #'#I""##<$=> pUR U  E b!   @##b"'# #;'#6##@+*#+'#*#+'#6*#+'#6*## # # ##'# "'# #;#'#6"'#1&'# ##'##^  + ; Q f {^   "'# #'## -%+'#1&'#*# "'# #'#1&'##     J m%   @##b%+'# *#%+'# *#%+'#*#$%+'#*#$##<$c>O ' #6#$@+*#$#V$@+*#$#V$@+*#$@+*#$@+*#$ @+*#$ -@+*#$ @+*#$ @+*#$ @+*#$#V$@+*#$ĸ#V$@+*#$Ǹ@#'#I#<$c>@#'#~&'#"'# #<"'#&'#'# #T@#'# ’ µ     , A V k Î ñ   )'##"'# #"'# #J'##"'# #'##'##"'#&'#'# #T'##"'#&'#'# #T'##"'#&'#'# #T'### @+*#$ո`#"'#6 #P#'#6@+'#6*#@+'#&'# '#*# @#'#!@#'#I"'# #"'# #X"'# #"'# #C"@#'#I"'# #"'# #X"'# ##@#B'#$@#$'#%@#'#&  V U  & I ] Ƣ B $   -#( -#) -#p* -#C+ -#, -#3- -#4.#'#/ +'# *#0+'# *#1+'# *#2+'#*#p3+'# *#C4+'#*#5+'# *#36+'# *#47+'# *#88+'# *#79# #:#'#&'#'#;#'#I"'#&'#'# #"'# #"'#e #J< ǰ   p C  03 E4 Z8 o7 Ȅ^ Ț ȼ  % % ,% G% b = ij    1 b œ   i Ǣ   @##b%+*#%+*###@+'#*#P#{'#`#H"'# #@#)(#j'#j'#j #"'#"'# #"'# #"'#I"'# #"'# #"'#)"'# #"'#~&'#"'# #"'#"'# #"'#~&'#6"'#"'# #"'#6"'#"'# #"'#~&'#"'#"'#6 #"'#"'#"'#6 #"'#&'#"'#"'# "'#6 #"'#6 #"'#"'# #"'#~&'#"'#"'# "'# #"'# # #"'#~&'#&'#"'#"'# "'# # #"'#~&'#"'#"'# "'# #"'#6 #"'#6 #g #@#)(#j'#j'#j #"'# ##'#"'# #D#'# #'#I"'# #D -#'# #'#)"'# #D #'#~&'#"'# #D #'#"'# #D#'#~&'#6"'# #"'# ##'#6"'# #"'# ##'#~&'#"'# #D"'#6 ##'#"'# #D"'#6 ##'#&'#"'# #D"'# #"'#6 ##'#6#'#"'# #D#'#~&'#" #;"'# #C" #"'# ##'#~&'#&'#" #;"'# #C" ##'#~&'#" #p"'# #C"'# #"'#6 #"'#6 #g 4 JU{ [VH v ͢    1 E f Ώ ΰ   G t ϵ   1 q '##$+'#*#+'#"'#*#+'#*#+'#I"'#*#+'#*#+'#)"'#*#+'#~&'#"'#*# +'#"'#*#!+'#~&'#6"'#"'#*#"+'#6"'#"'#*##+'#~&'#"'#"'#6*#$+'#"'#"'#6*#%+'#&'#"'#"'# "'#6*#&+'#6*#'+'#"'#*#(+'#~&'#"'#"'# "'# #"'# #*# )+'#~&'#&'#"'#"'# "'# #*# -*+'#~&'#"'#"'# "'# #"'#6 #"'#6 #g*# +# # # # # # # # # # # # # # # #  # - # ,#'#"'# #D#^-#'##^.#'#I"'# #D#^/#'##^0#'#)"'# #D#^1#'#~&'#"'# #D#^2#'#"'# #D#^3#'#~&'#6"'# #"'# ##^4#'#6"'# #"'# ##^5#'#~&'#"'# #D"'#6 ##^6#'#"'# #D"'#6 ##^7#'#&'#"'# #D"'# #"'#6 ##^8#'#6#^9#'#"'# #D#^:#'#~&'#" #;"'# #C" #"'# ##^;#'#~&'#&'#" #;"'# #C" ##^<#'#~&'#" #p"'# #C"'# #"'#6 #"'#6 #g#^=$ ф њ    ! H w Ҟ   > n ӯ   J - Ԛ ^ ե    * R ւ ֪   V ׊    c ت  % % & o   @##b#J@+*# @+*# @+*#@+*#@+*#@+*#P#'# P#'#P#'# P#'# -P#'# P#'# @+'#6*# @+'#6*#@+'#6*#@+'#6*#@+'#6*#@+'#6*#P#'#&'#'#P#'#P#'#P#'#?P# '#1&'#P#'##V$!"P#'#P#O'# w ڇ ڗ ڧ ڷ  U U U U U +U < Q f { ې ۥ ۺU U U U U $U CU TUO L iJ e  @##b### '# # '##'####$#%#&#''#1&'# #('# -#'# #)'# #*'#? @+'#*#@+'#*#@+'#*#@+'#*#+#<$=>@#'#@+*#,P#'# P#'#P#'#P#'#?@+'#*#-P#'#P#'#P# '#1&'#P#'#&'#'#P#O'# c w ݌ ݡ ݰ ݿ$ % & ' (  2) G* \ r ވ ޞ+  , U U U U -- CU TU eU }U ߜUO)(# '#H&'#'##.+'#&'#'#*##'#6"'#e # #'#6"'#e #J!#'#"'#e #"#5'#I"'# #"'# #J##'#"'# #'# #$#'#I"'#&'#'# #2%#'#"'#e #&#'#I'#Z'#I'#I"'# #"'# #J #T(#'#X&'#)#'#X&'#*#'# +#g'#6,#h'#6-#'#X&'#&'#'#.#)(#(#'#&'#'#'#&'#'#"'# #"'# #J #/#'#"'# #'#"'# #J #'# #0#'#I'#"'# #"'# #J #1#'#I'#6"'# #"'# #J #V2#'#3     .5 Z    Z )U BU [U jUg zUh U   k   8 U# ߭ .   @##b#/#0'#"'# #~#1'#I"'# #~#2'# #3'#I"'# ##4'# "'#1 ##5'#&'#6"'#6 #7 0 1 2 '3 G4 h5"'# #'## "'# #'#I#8'# #8 "'# #'#I#9 -'# #: #; #<'# #='#  TU< eU=#> @+*#?' #>#@+*#@#?#V$AB@+*#C' #>#@+*#D#C#V$EF@+*#' #>#@+*#G##V$HI@+*#J' #>#@+*#K#J#V$LMP#'#1&'#>#'#+'# *#[*#># #[ ? @ C D  ;G \J ~K U  [ #1 -#8'#~&'# #B'#~&'#1"'# #"'#1&'# #7"'# #N"'#&'#'# #"'#6 #O"'#6 #P"'#> # #>#?#4'#~&'#Q"'# #"'#1&'# #7"'# #N"'#&'#'# #"'#6 #O"'#6 #P"'# #R#S"'# #T#S#U'#Q"'# #"'#1&'# #7"'# #N"'#&'#'# #"'#6 #O"'#6 #P"'# #R#S"'# #T#S #V'#6"'# #:"'#6 #7 #6#W!#X'#&'#1&'# "#Y'#&'#1&'# ##Z'#$#:'# %#'#6"'#6 #7 #6#W& - eU8 }B !4 U V UX UY UZ U: #Q'+'# *#8(+*#X)+*#Y*+'# *#:+#Q #: #8 #X #Y, 8 X Y : ^#6-?@+'#6*#[' #6#8$\].@+'#6*#^' #6#8$_`/@+'#6*#a' #6#8$bc0@+'#6*#d' #6#8$ef1@+'#6*#g' #6#8$hi2@+'#6*#j' #6#8$kl3@+'#6*#m' #6#8$no4@+'#6*#p' #6#8$qr5@+'#6*#s' #6#8 $tu6@+'#6*#v' #6#8 -$wx7@+'#6*#y' #6#8 $z{8@+'#6*#|' #6#8 $}~9@+'#6*#' #6#8 $:@+'#6*#' #6#8$;@+'#6*#W' #6#8$<@+'#6*#' #6#8$=@+'#6*#' #6#8$>@+'#6*#' #6#8$?@+'#6*#' #6#8$@@+'#6*#' #6#8$A@+'#6*#' #6#8$B@+'#6*#' #6#8$C@+'#6*#' #6#8$D@+'#6*#' #6#8$E@+'#6*#' #6#8$F@+'#6*#' #6#8$G@+'#6*#' #6#8$H@+'#6*#' #6#8$I@+'#6*#' #6#8$J@+'#6*#]#[#V$K@+'#6*#`#^#V$L@+'#6*#c#a#V$M@+'#6*#f#d#V$N@+'#6*#i#g#V$O@+'#6*#l#j#V$P@+'#6*#o#m#V$Q@+'#6*#r#p#V$R@+'#6*#u#s#V$S@+'#6*#x#v#V$ùT@+'#6*#{#y#V$ŹU@+'#6*#~#|#V$ǹV@+'#6*###V$ɹW@+'#6*###V$˹X@+'#6*##W#V$͹Y@+'#6*###V$ϹZ@+'#6*###V$ѹ[@+'#6*###V$ӹ\@+'#6*###V$չ]@+'#6*###V$׹^@+'#6*###V$ٹ_@+'#6*###V$۹`@+'#6*###V$ݹa@+'#6*###V$߹b@+'#6*###V$c@+'#6*###V$d@+'#6*###V$e@+'#6*###V$f@+'#6*###V$g+'# *#h+'#*#i*#6#8 # #j#'#k#'#&'#6l? E[ q^ a d g !j Mm yp s v y )| U  W   1 ]     9 e     A] h` c f i l +o Rr yu x { ~  < c     & M t     7 ^    8  '##m+'#*#Wn+*#o -# #W #p#'#q 3W I Y^ {'##r+'#*#s+'#1&'#*#7t+'#*#Wu+'# *#v -# # #7 #W$^ #w#'#x  7 W  !^ ^ /  :8 98 9 49: F; v > W1 A Q  76 (   r  @##b '#&'##+'#*#"##8 #@#'#~&'# " #p"'# #C"'# #"'# #"'#6 #"'#6 #"'#6 #"'#1&'# #"'#6 #g#'#&'#'#I"'# # #"'#6 #'#I #"'#6 ##C'# #p'##'#~&'# #'#I" # Z p8  0 UC Up  V '#&'## +'#*# -+'#&'#*# +'#&'#*# +'#*# +'#6*#+'#6*#+'#1&'#*#+'#6*#  ##8 # # # # #@#'#~&'# " #p"'# #C"'# #"'# #"'#6 #"'#6 #"'#6 #"'#1&'# #"'#6 #g#'#&'#'#I"'# #y #"'#6 #'#I #"'#6 ##C'# #p'##'#~&'###'#I"'# ##'#I#'#I #'#I" # H ^ |      8 H  ZUC jUp { #   V  = +   @##b'####8"'# #@#'#~&'#" #;"'# #C"'# #'#6"'# # #"'#1&'# #"'# #@#'#~&'#&'#" #;"'# #C"'# #'#6"'# # #"'#1&'# #@#'#~&'#"'# #" #;"'# #'#6"'# # #"'#1&'# #$#@#'#~&'#"'# #"'# #"'#1&'# #"'#6 #"'#6 #"'#1&'# ##'## '## -'#I"'#6 # "'#6 #"'#6 # 8  l  o U U  -'## @#'#~&'#" #;"'# #C"'# #'#6"'# # #"'#1&'# #"'# # -@#'#~&'#&'#" #;"'# #C"'# #'#6"'# # #"'#1&'# # @#'#~&'#"'# #"'#&'# #" #;"'# #'#6"'# # #"'#1&'# # @#'#~&'#"'# #"'# #"'#&'# #"'#1&'# #"'#6 #"'#6 #"'#1&'# # # -'#I"'#6 # "'#6 #"'#6 ##'## '#  /  =  -  U 1U ##<$=>##8#<$=># '# #'##'# #'##'##'##'# 8 U U U U U U  U#+'#6*#t+'#6*#+'#6*#+'#6*#+'#6*#+'#6*# +'#6*#!#" bt w      ^ '#&'# '###S@+'# *#$@+'# *#%@+'# *#&@+'# *#'@+'# *# (@+'# *#!)@+'# *#"*@+'# *##+@#$'#6"'# # ,+'#*#-+'# &'#*#%.+*#/+'#&'# *#&0+'#1&'# *#'1+'# *#(2+'#*#p3+'#6*#)4+'#*#5+'#6*#6+'#6*#7+'#6"'# #*#8+*#*9+'#6*#+:+'#6*#,;+'# *#<+'#6*#-=+'#6*#.>+'#6*#/?+'#6*#0@+'#6*#1A+'# &'#*#B+'#*#2C+'#6*#3D+'#6*#4E+'#6*#5F+'#6*#7G+'#*#8H@#'#~&'# "'# #;"'# #9"'#6 #)"'# #"'# #"'#&'# #"'#1&'# #"'#6 #"'#6 #'#6"'# # #"'#1&'# #I#  #p"'# #9 #) # #"'#&'# # #' # # #"'#1&'# #J#'#&'# '#I"'# #A #"'#6 #'#I #"'#6 #K@#:'#I" #;"'# #9"'#6 #"'#6 #L#C'# M#;'#N#<'# O #'#I" #P#O'# Q#'#~&'#R#='#I"'# #>S#'#IT#?'#I"'#@ #iU#A'#6V #A'#I"'#6 #JW#B'#6X #B'#I"'#6 #JY#'# "'# #Z@#C'# "'# #2[#'# "'#1&'# #A"'# #2"'# #\#'#]# '#^#D'#6"'# #_#E'#6"'#F #"'#6 #`#G'# "'#H #a#I'#I"'#H #b#J'#I"'# #c#K'#Id#L'#Ie#M'#If#N'#I" #"'#g #hg#O'#Ih#P'#~&'#Ii# -'#I"'#6 # "'#6 #"'#6 #j#Q'#Ik#'#Il#'#Im#R'#~&'#In#S'#~&'#Io#T'#1&'# "'# #p#U'#Iq#V'#Ir#Ws#Xt#Yu#Z'#~&'#vS f }    ! " # $ = S% q & ' ( p )   & ; d* t+ ,  - . / 0 -1 - -:2 -P3 -e4 -z5 -7 -8 - ^ ) : UC U; U< V O . J= m ? UA VA UB VB  C < U U D E G I /J OK bL uM N O P  - &Q 9 L _R zS T U V W X Y  Z#[w+'#1&'# *#A#<$=>$\Mx+'# *#B#<$=>y+'# *#C#<$=>z+'# *#7{#["'# #7|#]'#I"'# #}#^'#I"'# #~#g'#6#'# #_'# #'# #`'# #'# "'# ##'# "'#1&'# #a"'# #2"'# ##b'# '#1&'# "'# #c #.#d'#6"'# # A B C 7 ^ 5] T^ sUg U U_ U U`   %b \d#6#6#8#'#I"'# #e"'# #"'#6 #)"'#6 #"'#6 #"'# ##f'#I#g'#~&'#6# '##h'#I# -'#I"'#6 # "'#6 #"'#6 ##'#I#'##i'# "'# #j#k'#I"'#6 #O#l'#I"'#6 #m#='# #'#1&'#[ 8   jf ~g  h  -  U !i Ak bl = U'##n+'#*#X+'#*#W+'#*# #n"'# #W$^"'# #6#8$on#W##<$=>*#n#8 #X #W ##'# )X @W W n^ 8  '#n#p#<$=> #p"'# #W$^"'# #E#8$qp#W##<$=> I^ '#n#r #r"'# #W$^"'# #E#8$sr#W##<$=> ^ -  \  B t  T  A ' [ } 6  n  (p  r   @##b##"'#6 #t#u'##v'#I"'# #N"'# #.#w'#I"'#1&'# #x"'# #.#y'#I"'# #N"'# #.#z'#I"'#1&'# #{"'# #.#|'#I"'# #N"'# #.#}'#I"'#1&'# #~"'# #.#'#I"'# #N"'# #. #'#I"'#1&'# #"'# #. -#'#6# #'#I"'#1&'# #"'#6 #) @#'# "'#1&'# # @#'# "'#1&'# # ^ Uu v w =y mz | }   9 oU    |    @##b%+'# *##+'# *##'# #'#"'#6 # #'##'##'##'#"'#6 #   U  U U !U 2 z %  R  @##b# @+'#*#' ##8@+'#*#' ##8@+'#*#' ##8#$DE@+'#*#b' ##8OO@+'#*###V$@+'#*###V$@+'#*##b#V$+'# *#*##8 # 0##"'# #J -#'# #'#    Hb q    8  .U ?# P#'##'##V$P#'##'##V$P#'##'##V$P#'##'##V$#X'##p'##;'##'# #'#6#'#6#'#6#"'# #p"'# #$DE#X##"'# #"'# #$DE#X#A'#~&'##'#~&'#1&'#"'# #;"'# #X ##b #'#"'# #p"'# #;!#k'#"'# #p" U U U U !U !0U !PU !aU !UX !Up !U; !U !U !U !U !^ "( "_A "{ " "k###'#$#'# %#'#1&'#&#'#6'#'#~&'#1&'#"'#6 #"'#6 #"'# #X ##b( #U #U #U #U #'#&'##)#'#~&'#" #p"'# #C"'# #"'#6 #"'#6 #g*#C'# +#p'#,#'#~&'#- $ $UC %Up %'#&'##.@#'#~&'#" #p"'# #C"'# #"'#6 #"'#6 #g/#/'#~&'#" #p"'# #C"'# #"'#6 #"'#6 #g0#C'# 1#p'#2#'#~&'#3 %v %/ &;UC &KUp &\#@4@+'#@*#' #@#85@+'#@*#' #@#86@+'#@*#' #@#87@+'#@*###V$8@+'#@*###V$9@+'#@*###V$:+*#;*#@#8 #< & & & ' 'F 'm ' '8#F=@+'#F*#' #F#8>@+'#F*###V$ĺ?@+'#F*#' #F#8@@+'#F*#' #F#8A@+'#F*#' #F#8B@+'#F*#' #F#8C+*#D*#F#8 #E (  (0 (W (~ ( ( ( )8  -#G -#H -#I -#J -#K -#L -#M#F#H#$MNN -#H # # #JO0#H#"'# #"'# #"'# #JP0#H#"'# #"'# #"'#6 #JQ+'# *#R+'# *#S+'# *#JTP#'# UP#'# VP#'# WP#'# XP#'# YP#'# ZP#'# [#'# "'# #\ )^ ) * *; *P *eJ *yU *U *U *U *U *U *U *# ] @+'# *#' # #8^@+'# *#' # #8_@+'# *#' # #8`@+'# *#4' # #8a@+'# *#J##V$KLb@+'# *#M##V$NOc@+'# *###V$޺d@+'# *##4#V$e+'# *#f*# #8 #g#'#h +{ + + +4 ,J ,>M ,e , , ,8 ,)(#]#i+'#~&'#]*#j+'#I*#k###8'#~&'#] #"'#I #l#'#Im -` -~ -8 -'#&'# #n+'#6*#Bo+'#6*#Ap#'#~&'#" #;"'# #C" #"'# #q#'#~&'#&'#" #;"'# #C" #r#O'# s#'# "'# #t#'# "'#1&'# #."'# #2"'# #%u#C'# v#<'# w#p'#x#;'#y#'#~&'#z#?'#I"'#@ #i{#E'#6"'#F #"'#6 #|#G'# "'#H ##$MN}#I'#I"'#H ##$MN~ ."B .7A .L . .O . /  /PUC /`U< /pUp /U; / /? /E /G 0'I'#&'# '##@#'#~&'#" #;"'# #C" #"'# #@#'#~&'#&'#" #;"'# #C" ##'#~&'#" #;"'# #C" #"'# ##'#~&'#&'#" #;"'# #C" ##f'#I#E'#6"'#F #"'#6 ##G'# "'#H ##I'#I"'#H ##C'# #<'# #p'##;'##'#~#'#~ 0 13 1t 1 2f 2E 2AG 2bI 2UC 2U< 2Up 2U; 2 2U#+'# *#A+'#*#p+'# *#C# #A #p #C 3bA 3wp 3C 3^ '#&'# #+'#6*#B+'#6*#A+'#6*#+'# *#+'#*##VK$$쀘+'#6*##'#~&'#" #;"'# #C"'#6 #"'#6 #"'# ##C'# #p'##'#I#'# "'#1&'# #."'# #p"'# #C#'##'#I"'# #"'# ##'#I"'# #"'# ##G'# "'#H ##I'#I"'#H # 4B 4A 44 4J 4` 4 4 5UC 5Up 5( 5< 5{ 5 5 5G 6I'##+'#*#W+'#*#+'#*#p+'# *#C -# #W # #p #C+##42#W$2#12#p12#C1#'# 6W 6 6p 7C 7^ 7X4 7   S  # # $Y $} %; %X &x &@ ' 'F ) )Z )H + +m , -J - . 0T 0 2 3S 3 3 64 6 7  @##b%+'# *#%+'# *#%+'# *#%+'# *#%+'# *#%+'# *# '#&'#1&'# #+'#&'#1&'# *## ##'#&'#1&'# '#I"'#1&'# # #"'#6 #'#I #"'#6 #  9J 9n^ 9 '#'#&'#1&'# # - -+'# *# ###8"'#&'#1&'# # # #'#"'# #S#S"'#6 # #'#6#"'#6 ##'#6#"'#6 ##'#6#'# #'#6 - :< :Q8 : :U :V :U :V ;U ;% ;9U '#'## +'# *#+'#*####8"'# # ##'#6# '# # -'# #'#6# '#6"'# ## '# "'# ## '# "'# ##'#6"'# # #'#! ; ; ;8 ;U < U <U - <-U <= <] <} < '#&'#1&'# #,+*#$-#"'# #.#'#~"'#&'#1&'# #/#'#~0 >t$ >^ > >'##1+'#*#2# #3#S'#4 #S'#I"'# #S5#'#I"'#e #6#'#I"'#e #$^7#'#I"'#X #"'# #$^8#'#I"'#1&'# #A9#d'#I" #f"'#g #h:#'#I"'# #;#'#~"'#&'#1&'# #<#'#~=#'#~>#'#~? ? ?)^ ??US ?PVS ?p ? ? ? @d @: @Y @ @ @U#@ @+'#*#' ##8$A@+'#*#' ##8$B@+'#*#N' ##8$NC@+'#*#2' ##8$2D@+'#*###V$E@+'#*###V$F@+'#*##N#V$ѷG@+'#*##2#V$ !H+'#*#I*##8 #J#'#K A2 A\ AN A2 A A B& BM Bs B8 B%+'#*#"L%+'#*##M%+'#*#$N%+'# *#%O%+'# *#&P%+'# *#'Q"'# #Z"'# #X"'# #Y'#I#(#<$c>$rsR'##ZS'##XT'##YU" #'##)V#*W#+"'# #X#,'#"'# #Y#-'# "'# #Z#."'# #[ D9+ DT, Du- D. 8 8% 8% 8% 8% 8% 9% 9' 9 : ;I ; < =$ = = >2 >P > > @ A$ B C -%" C %# C6%$ CL%% Ca%& Cv%' C( C9Z C9X C9Y D) D+* D  @##b%+'#/*#S'#/%+'#/*#0'#/#V$12 '##/ -#/#'##'#1&'# "'# ##'#"'#1&'# ##'#&'#'#1&'# #'#&'#1&'# '# F=^ FJU F[ F FU FU '#&'#'#1&'# #3  -#3 -#'#1&'# "'# # #'#"'#&'#1&'# # #4'#1&'# "'# #  GF^ GS Gz G4 '##5+'#&'#1&'# *##5 ##'#I#'#I"'# ##'#I"'# #"'# #B"'# #C"'#6 # H H&^ H< HO Ho '#&'#1&'# '##6 -#6#'#"'#1&'# ##'#"'#&'# ##7'#"'#1&'# # H^ I  I2 I[7 '##8+'#&'#*##8 ##'#I#'#I"'#1&'# # I I^ I I E E%S E%0 F(/ F G3 G G5 H H6 I I8 J!  @##b#9 #:'#9" #;"'# #C#O'# #'#I#'# "'#1&'# #."'# #B"'# #C#'#1&'# "'# ##?'#I"'#@ #i#'#I"'#1&'# #."'# #B"'# #C#C'# #<'# #p'# -#;'# J: JO J K KE Kk? K KUC KU< KUp KU; J J9 L;o B4 EV W [ e g g y= [ f * h ! ( }  j  7 D J> L^  @##<$!###J####$$0#$cd!##R#S$!#$$ -$=>$$?@$AB$CD$EF$GH$IJ$$KL$MN'#&'##O +'#*#P -#Q'#R +'#6*#S +'#*#T @#'#~&'#O" #p"'# #C"'# #"'#6 #"'#6 #g@#U'#~&'#O" #p"'# #C"'# #"'# #"'#6 #"'#6 #"'#6 #g0#O#V"'# #W#'#~"'#6 ##C'# #p'#"#X"'# ##Y'#Z MP NUQ NS N+T NA NU O#V O@ OeUC OuUp OVX OY#Z+'# *#g+'# *#~+'# *#[+'# *#\ Pg P/~ PD[ PY\#R|@+*#]$^@+*#_$`a@+*#b$cd@+*#e$fg@+*#h$ij @+*#k$lm!@+*#n$o)"@+*#p$qr#@+*#s$tu$@+*#v$w%@+*#x$yz&@+*#{$|}'@+*#~$(@+*#$)@+*#$*@+*#$+@+*#$,@+*#$-@+*#$.@+*#$/@+*#$X0@+*#$Q1@+*#$;2@+*#$3@+*#$4@+*#$5@+*#$6@+*#$7@+*#$8@+*#$9@+*#$:@+*#$<;@+*#$<@+*#$=@+*#$ ->@+*#$?@+*#$@@+*#P$»A@+*#$ŻB@+*#$ȻC@+*#$˻D@+*#$ζ4E@+*#$лF@+*#$ӻG@+*#$ֻH@+*#$ٻI@+*#$ܻJ@+*#1#]#V$޻K@+*##_#V$L@+*##b#V$M@+*##e#V$N@+*##h#V$O@+*##k#V$P@+*##n#V$Q@+*##p#V$R@+*##s#V$S@+*##v#V$T@+*##x#V$U@+*##{#V$V@+*##~#V$W@+*###V$X@+*###V$ Y@+*# -##V$ Z@+*# ##V$[@+*###V$\@+*###V$]@+*###V$^@+*###V$_@+*###V$`@+*###V$ !a@+*#"##V$#$b@+*#%##V$&'c@+*#(##V$)*d@+*#+##V$,-e@+*#.##V$/0f@+*#1##V$23g@+*#4##V$56h@+*#7##V$89i@+*#:##V$;?k@+*#@##V$ABl@+*#C##V$DEm@+*#F##V$GHn@+*#I##V$JKo@+*#L#P#V$MNp@+*#O##V$PQq@+*#R##V$STr@+*#U##V$VWs@+*#X##V$YZt@+*#[##V$\]u@+*#^##V$_`v@+*#a##V$bcw@+*#d##V$efx@+*#g##V$hiy@+*#j$kz@+*#l$mn{@+*#o#j#V$pq|@+*#r#l#V$st}@+*#u8 #s#v#######~@+*#v#u#V$wx@+*#y8 -#n#x#{#~######@+*#z#y#V${|@+*#8 #h#k#####P##@+*#}##V$~@+*#8#]#_#b#e#p##############@+*###V$+'#*#+'#*#X+'#*#+'#*#;+'# *#C+'#*#+'# *#+'#6*#+'#6*##'#1&'#"'# ##J'#"'# ##'#I"'# #"'#e #J"'#6 #$DE##M'#I"'# #"'#e #J"'#6 #$DE##'#I"'# #"'#e #J#'#I"'# ##Z'#I'#I"'# #"'#1&'# # ##'#I"'# ##'#I| P] P_ Pb Pe Ph Qk Qn Q0p QEs QZv Qox Q{ Q~ Q Q Q Q R R R, RA RV Rk R R R R R R R S S' S; SP Se Sz S SP S S S S T  T" T7 TL Ta Tv1 T T T T U U< U] U~ U U U V V# VD Ve - V V V V W - W+ WL Wm" W% W( W+ W. X1 X34 XT7 Xu: X= X@ XC XF YI Y;L Y\O Y}R YU YX Y[ Z^ Z"a ZCd Zdg Zj Zl Zo Zr Zu [ v [Ay [tz [ [} [ \6 \X \oX \ \; \C \ \ \ ]  ]" ]KJ ]l ]M ] ^+ ^LZ ^ ^##"'# #J$^"'#&'#'# #TA@#i'#"'# #J"'# #$"'# #"'#6 ##J'##T'#&'#'##'# b^ bi cEUJ cVUT cv'###'##f'#I"# '#I'#I #O#'#6 cU cf cV dU'##@+*#@+*##V$@+*#@+*##V$@+*#@+*##V$@+*#@+*##V$#"'# #"'# #"'# #"'#&'#'# #TA@#i'#"'# #J#R'##'##'##'# dS dd d d d d d d e^ emi eUR eU eU eU# +'#*#+'#*#J+'#*#X+'# *#+'#*#+'#*#D+'#6*#+'#6*##"'# #"'# #J0##"'# #J#'# fO ffJ f|X f f fD f f g^ g* gG'#&'# # #'# #<'##k'#?#'#?#;'#R#'#1&'##'#6#'##>'##'##'##'# gU gU< gUk hU hU; h'U h@U hQU hcU> huU hU hU'## +'# *#+'# *#-+'#*#+'#6*#+'#*#6+'#6*##;'#R#'#1&'## '#~"'#? #"'# #~ #S#d#'#~&'#"'#6 ##'# i i-- iC iZ ip6 i iU; iU i j j.U#e#@+'# *#P@+'# *###V$@+'# *#H@+'# *###V$`#"'#6 #JP#'#6@+'#6*#+'#*#T+'#*#+'# *#+'#6*#+'#*##e"'# ##'#~&'#"'# #<"'# #;"'# #C"'# #D#'#~&'#"'# #<"'#? ##'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? ##'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? ##'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? ##f'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? ##'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? ##'#~&'#"'# #;"'# #C"'# #D#'#~&'#"'#? #"#'#I'#~&'#6"'#? #"'# #A"'# # #T#'#I"'#? #"'# #"'# #^"#'#I'#"'#? # #T@#'#"'#? #"'#&'#'# #"#'#I'#~&'#6"'# #;"'# #C"'# #A"'# # #T#'#I"'# #;"'# #C"'# #"'# #^"#'#I'#6"'# #"'# #;"'# #C #O#'#I"'#6 ## j j j k k(V kBU kS kiT k k k k k^ k lG l~ l l m, mV m mf n n. np n n oV oY oV o pV pd pV p'## +'#6*#+'#6*#+'# *##<'##k'#?+'# *#+'#6*##;'#R#'#1&'##'#~&'##'#~&'##'##'#I"'#e #/"'#g #h#$Ѽҁ r. rD rZ rpU< rUk r r rU; rU rU s s"U s4'#&'#1&'# # #-'# -#'# #'# #'##$օׁ #'#6#'#6#'#1&'## '#~&'#"'# #<"'#? #"'#6 ##;'#R#'#~&'##'#1&'##'##'# sU- t U tU t/U tNU t_U tpU t tU; t uU uU u/U  -# -# -###$օׁ# '###"'# #2"'# #. u^ '###"'# #2"'# #. v6^# #;'#!#<'# "#'# # vtU; vU< vU#$#-'# %#<'#&#'#?' vU- vU< vU#(#'#)#'#1&'# * w'U w9U'##++'#*#W,+'#?*#k- -# #W #k.#'#/ wwW wk w^ w'##0+'#*#W1+'#1&'#*#2 -# #W #3#'#4#k'#?5 xW x) xG^ xg x|Uk L MO O P Z Pn PR ^ b c c d d< e f@ g\ g h i j@ je q r su s uA u u u u v v  v^ ve v v w w wQ w` w w x  @##<# @+'# *#=@+'# *# @+'# *# -@+'# *#L@+'#*#$@+'#*#$@+'#1&'# *#8OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO>OO>OO?456789:;<=OOOOOOOOOOOO  -   OOOOOOOO?OO !"#$%&'()*+,-./0123OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO@+'#*#@#'# "'# #% @#'#"'#1&'# # -@#'#"'#1&'# #"'#6 #"'#6 # @#'#1&'# "'# #"'#6 # y y y z  z" z= zX } ~  ~( ~O ~%+*# %+*#H%+*#%+*##+'# *#+'#6*#+'# *#+'#1&'# *#+'#1&'# *#+'#1&'# *#+'#6*## #"'# # ##"'#1&'# #A#'#1&'# #'# ##"'#1&'# ##" #f" #g#" #" # #'# "'# #"'# #!#'#1&'# "#"'#1&'# #A"'# ###'#1&'# "'# #Z$#%# &        2^ ] } U      7 Q }    '## -'# -(#'# -)@+*# 8@HjxHǷVH$ pHH|HG*H0FHFHiHDH[H\׾Hk"HqHyCHI!H%bH@@H&^ZQHǪH/]HDSHءHH!H7H HEZHHHgoH*LH9BHqHma"H8 HDHKϩHK`HpH(~H'H0HH9HۙH|HĬVeH)"DHC*H#H9He[YH ̒H}H]Ho~OH,HCHNHS~H:5H*һHӑ*@+*# 8@             - - - -+#'#I"'#1&'# #, n^ {   w '## -+'#1&'# *#.# /#'# 0#'#I"'#1&'# #1  ^   y y ~ -% ?% X% j% | Y -  :  @##<#@#'#"'# #@#i'#"'# #@#'#"'# #  i    6  @##<'#R#>+'#&'#'#1&'#*#+'#&'#'#*#+'#*#+'#6*#+'#1&'#*#+'# *#+'#6*#+'#6*#+'#*#y +'# *#z -+'# *# # #"'# # #e#"'# # #'#1&'#"'# # #J'#"'# ##'#I"'# #" #J"'#6 ##n'#I"'# #" #J#M'#I"'# #"'#e #J"'#6 ##'#I"'# #"'#e #J#'#I"'# ##Z'#I'#I"'# #"'#1&'# # ##'#I"'# ##'#6 #'#I"'#6 ##'#  #'#I"'# ##'#6 #'#I"'#6 ##;'# #;'#I"'# #;#C'#  #C'#I"'# #C#'#  #'#I"'# #!#'#" #'#I"'# ###X'#$ #X'#I"'# #X%#'#& #'#I"'# #'#'#I(#4'#I"'# #" #J)#'#I"'# #" #J*#'#I"'# #" #J+#'#I"'# #" #J,#'#I"'# #" #J-# '#I"'# #" #J.#!'#I"'# #" #J/#"'#I"'# #" #J0##'#I"'# #" #J1#$'#I"'# #"'#e #J2#%'#"'#e #J3#&'#I"'# #"'# #J4#''#I5#('#I6#)'#6"'# #7#*'#I8#+'#I"'# #9#'#:#,'#1&'#;@#-'#"'# #.<@#/'#e"'#e #J=#0'#"'# #>>      & ; P ey {z  ^  J ) `n M   Z S sU V U V U V U; V; .UC >VC ]U nV U V UX VX U V ! 44 Z     ! >" d# $ % & ' ( () H* [+ z , - / 0'##1? +'#*#@+'#&'#'#*#2A+'#&'#'#*#3B#1 #$^"'#&'#'# #TAC@#i'#1"'# #J"'# #$"'# #"'#6 #D#J'#E#4'#&'#'#F#T'#&'#'#G@#5'#6"'# #iH#'#I#'#I"'# #y"'# #"'# #"'#6 #J  2 3 9^ xi UJ 4 UT 5 ? S '#1'##6K +'#*#7L+'#*#8M#6"'# #"'# #"'# #"'#&'#'# #TN"#6#8O@#i'#6"'# #JP#R'#Q#'#R#'#S#'#T 7 8 0^ 8 i UR U U U'##9U+'#*#V+'#*#W+'#*#XX+'# *#Y+'#*#Z+'#*#v[+'#6*#\+'#6*#]#9"'# #"'# #J^#'#_#J'#`#D'#a #D"'# #b #"'# #:c #J"'# #_d!#9#"'# #Je#;'#I"'# #yf#'#g@#<'#"'# #:h@#/'#"'# #_i@#='#I"'# #Dj H ^ tX   v   ^ U ,UJ ?@+'#&'# '#@*#A@#B'#@"'# #<"'#? #k"'#@ #C@#D'#@"'# #@#'#I@#'#"'# #E C XA {B D  #F#F # #7+'# *# +'#*# -+'#*#7 #'#&'#'#  G^ f { 7 #@ $#@"'# #< #k"'#> #C#G'#I"'# #"'# #7#H'#I"'#I #b#J'#I"'# #A#K'#" ##L'#" ##M'#I"'#!##N'#I"'#!##O'#I"'# #f#P'#I#Q'#I"'# #f#R'#I"'# #A#'#&'#'#"'#6 # #S'#I@+'#*#T+'#6*#U+'#6*#V+'# *#+'#*#< +'#?*#k!+'# *#W"+'# *#X#+'#&'#'#*#Y$+'#&'#'#*#Z%+*#[&+'#*#\'+*#](+'# *#^)+'# *#_*+'#&'#'#*#`++*#a,+'#*#8-#b'# .+'# *#c/+'#>*#d0+'#>*#e1$ ^ -G ]H }J K L M N O 7P JQ jR  S T U V  #< 9k OW dX yY Z [ \ ] ^ _ !` Ea U8 kUb {c d e%+'# *#2#3+'# *#4#'# 5#'#"'#6 # 6#'#7#'#8#'#9#'#"'#6 # :  U  5U FU WU h'##/;@+'# *#fH<@+*#1=+'# *#2>+'# *#V?#/"'# #>@#'#I"'#1&'# #A#,'#I"'# #B#3'#I"'# #4C#-'# D#.'# E#'# F#g'#6G#h'#6H#'#II@#6'# "'# #fJ f 1 2 V (^ F l, 3 - . U Ug Uh  6%+'# *#g4HwK7'#I"'#1&'# ##hL '#&'# #iM+'# *#jN+'# *#kO+'#&'# *#P+'#6*#lQ+'#*#;R+'#6*#mS+'# *#-T+'#*#U+'#*#<V+'#?*#kW+'#6*#nX#o'# Y#i #; #j #Z#'#&'# '#I"'# # #"'#6 #'#I #"'#6 #[#p'#~\#'#I"'#6 #\] j k ) Fl [; qm -  < k n Uo ^ * Up  '#&'#1&'# #q^+'#i*#r_+'#1&'#*#s`#q #ra#'#1&'#b#;'#c#'#d#'# e#'#6f ar ws ^ U U; U U U '#&'# #tg+'#i*#rh+'#1&'#*#si#t #rj#'#1&'#k#;'#l#'#m#'# n#'#6o Zr ps ^ U U; U U U '#t'##up +'#*#q+'#v*#wr+'#x*#ys+'#z*#{t+'#?*#|u#u #"'#i #r #w #yv#'#&'# '#I"'# # #"'#6 #'#I #"'#6 #w#k'#?x#'#?y#<'#z#>'#{#'#|#'#} T jw y { | ^  `Uk qU U< U> U U '#q'##}~#'#1&'#+'#~*#+'#*#+'#*#+'#@*##}"'#i #r # # #@#'#"'#~ #"'# #;#-'# #'##'##'#1&'##'#6# '#~&'#"'# #<"'#? #"'#6 ##'#&'# '#I"'# # #"'#6 #'#I #"'#6 ##'#~&'##'##'#6#'#6#'#~&'#"'#6 # CU [ r   ^  U- -U ?U QU jU {  1 NU `U qU  '#&'#1&'# '# # -##'# "'#1&'# ##'#&'#1&'# "'#&'# # ]^ k '#&'#1&'# # -# #+'#&'# *##'#I"'#1&'# #A#'#I ^  8 ^)(#Z'#&'#Z#Q+'#&'#Z*#+*#R+'#&'#Z*#S+'# *#T+'#6*#+'#6*#U+'#6*#K#Q ##'#I"'#Z #A#d'#I"'#e #f"'#g #h#'#~"'#&'#Z ##'#~#'#~#V'#I#'#~#W'#I" #J#X'#I"'#e #f"'#g #h#'#&'#Z  R S T  2U HK ^^ u d    V .U @W ZX U '#Q&'#1&'# '##Y -+'#*#Z+'#6*#[+'#@*##Y"'#&'#1&'# # #Z ##S'# #S'#I"'# #J#'#I"'#e #(#'#I"'#X #"'# #$^#'#I"'#e #$^#'#I"'# # - SZ j[  ^ US VS  % Z )(#Z '#Y#+'#6*#+'#6*#+'#?*#+'#*#+'#*#;#"'#? #k"'# #"'# #"'#@ #"'# ##'#  #'#I"'# ##'#6 #'#I"'#6 ##'#6 #'#I"'#6 ##S'##'#I"'#1&'# #A#'#~"'#&'#1&'# #y#'#I"'#e #(#'#I#'#6   5 L c; z^ U V U V .U ?V _US q    U '#&'#'##+'# *#+'#*#+'#1&'#*#s+'#u*#+'#*#+'#2*##"'#? #k"'# #"'# #"'#R #"'# #P#'#6#'#1&'##-'#  #-'#I"'# #-#'# #'#I"'# ## '#~"'#? #"'# #~ #S#d#'#~&'#"'#6 ##'##6'# #6'#I"'# #`#'#I#'#"'# #-   s   . E^ U U U- V- U V " Z U U6 V6   '#&'#'##+'#*#<+'#?*#k+'#1&'#*#+'#~*#+'#*#+'#@*#+'# &'#*#+'#I*#+'#~&'#*#+'#6*#+'# *#+'#1&'#*#+'#6*##"'# #"'#? #k #< # # # ##'#~&'##'#~&'##'#  #'#I"'# ##'#6 #'#I"'#6 ##'##'#I"'#i ##1'#I" #f"'#g #h#'##'#I"'#1&'# #A#'#I"'#e #(#'#I#'#I"'#e #/"'#g #h < k    4 K j      ^ UU o U V U V U  !1 I ^    '##+'#h*## ##'#I"'#1&'# #S#'#I"'#1&'# #S"'# #B"'# #C"'#6 ##'#I  ^  ) r'#&'#1&'# #@+'#1&'# *#8 ## ##0 ## ## ## ##@+'#1&'# *#80 ## ## ## ##+'# &'#*#R+'#*#+'#6*# +'#6*# -+'# *#V +'# *#2 +'#~*# +'#6*#+'# *#+'# *#+'# *#+'#6*#+'#*#+'#h*#+'# *#+'# *#+'#6*#+'#*## ##'#~&'#I"'#6 #"'#6 ##'#~"'#&'#1&'# ##'#~#'#~&'##'#I"'#1&'# #A"'# # #'#I"'#6 #J#'#6" #f #'#I"'#1&'# #S'#I"'#1&'# #A #!#'#I"'#1&'# #S'#I"'#1&'# #A #"#'#1&'# "'# ##   [R z   V 2    , B X n      ^  J z U  V   ] #$+'#*#%+'#*#&+'#6*#'+'#*#(+'#*#)+'#*#*+'#~*#++'#6*#,+'#2*#-+'#6*#4.+'#?*#/+'# &'#i*#0+'#~&'#*#1# # # # # #2#'#"'#? #k"'# #C"'# #<"'#I #b"'#@ #3#'#~&'#4#f'#I5#'#I6#'#I7#'#I8#'#~&'#"'# #;"'# #C"'#I #b'#6"'# # #O"'#@ #9#'#:@#"'#6 #"'# #;"'# #C;#'#I<#'#I=     # : Q h ~ 4    ^ C  f     qU ƒ ¶ #>+'#*#?+'#I*#b@# # #bA é b ^#B+'#*#C+'#*#;D+'# *#CE+'#6*#F+'#*#G+'#f&'#*#H+'#f&'#*#I+'#f&'#*#J+'#J*#K+'# *#L# # #; #C # #M#g'#6N#'#6O#'#6P#'#Q#R#'#I"'# #S#'#I"'# #T#'#I"'# #U#'#I"'#6 #V#'#~&'#"'# #"'# #"'#I #b"'#~ #"'#@ #W  4; JC ` v č Ĭ    ^ QUg bU sU ń ř Ũ    +7'#6"'# #"'# #;"'# #C#X'#e#~Y6+'#6*#Z+'#6*#[+'#&'#'#*#\+'#1&'#*#]+'#1&'#*#^+'#*#_+'#6*#`+'#6*#a+'#6*#b+'#*#c+'#*#d#T'#e+'#*#f+'# *#g+'#6*#h+'#*#i#~ #j #T'#I"'# #k #'#6"'# #"'# #;"'# #C #Ol#'#~&'#"'# #<"'# #;"'# #C"'# #Dm#'#~&'#"'# #<"'#? #n#'#~&'#"'# #;"'# #C"'# #Do#'#~&'#"'#? #p#'#~&'#"'# #;"'# #C"'# #Dq#'#~&'#"'#? #r#'#~&'#"'# #;"'# #C"'# #Ds#'#~&'#"'#? #t#f'#~&'#"'# #;"'# #C"'# #Du#'#~&'#"'#? #v#'#~&'#"'# #;"'# #C"'# #Dw#'#~&'#"'#? #x#'#~&'#"'# #;"'# #C"'# #Dy#'#~&'#"'#? #z#'#I"'#6 #{ #'#~&'#6"'#? #"'# #A"'# # #T|#'#I"'#? #"'# #"'# #} #'#~&'#6"'# #;"'# #C"'# #A"'# # #T~#'#I"'# #;"'# #C"'# #"'# # #'#"'#? #k #T#'#~&'#"'# #<"'#? #k#'#~&'#"'# #<"'#? #k"'# ##'#I"'# ##'#I"'# ##'#I"'# ##'#I#'#I"'#6 ##'#"'# #;"'# #C"'#6 ##'#~&'#"'# #"'# #"'# #"'#6 #"'#@ ##'#"'#? #"'# #A#'#"'#I #b"'# #A#'#I"'# ##'#I"'# #@#'#"'#? #"'#&'#'# #@+'#&'#'#*#6 r Lj Ǟ     - D [ r ȉUT ț Ȳ   ^ VT -V q   9 c ʥ   ;f } ˧   U  ̤V  -V ͆ V  0 t Ε ζ    D Ϡ   % F Ѓ '#&'#x-'##x@+*#@+*#@+*#@+*#@+'#&'# '#x*#+*#+'#v*#w+'#*#+'# *#"+'#*#+'#6*#+'#~*##x # #w#'#I#'#6#f'#I#'#~&'##'##'#6#'#6#'#6#'#6#'##'##'#"'#6 #  X k ~ ґ Ҥ  w  "  4 J a^ Ӂ ӕU Ӧf Ӻ U U U U U -U ?U Q '#&'#-'#'#O#v#@+'#&'# '#v*# +'#*#P+'#R*#Q+'#6*#S+'#*#+'#2*#@#'#~&'#O" #p"'# #C"'# #"'#6 #"'#6 #g@#U'#~&'#O" #p"'# #C"'# #"'# #"'#6 #"'#6 #"'#6 #g!#v#8 # - # !#v#V # -@# '#R#T'# #T'#I"'# ##'#&'#'#I"'# # #"'#6 #'#I #"'#6 ##'#~"'#6 ##'#I#C'# #p'# #X"'# ## '#I"'#u ##'#I"'#x ##'#I"'#x ##'#I"'#x ##'##Y'#Z#'##'##'#&'#'#"'#6 # +'#*#+'#6*#4+'#*# -+'#6*# +'#&'#x*#+'#&'#x*#+'#&'#*## [ P ՖQ խS    EU ֲ8 V  UT VT 6 ע  UC Up VX  ; \ } ؞U ذY U U   /4 E - \ r ّ ٰ#@+'#*#$@+'#*#$#"'# #+##2#8' #I#+'#1&'#I*#   ^ 3 ]#I+'#*#;+'# *#C+'#*#2+'#*#.+'#6*# #I'# #;'# #C #2 #.2#+#I#2#;12#C12#212#.12##'#6 ۰; C 2 . - ^ c ܒU'##+'#*#;+'# *#<+'# *## #; #< #@#'#"'# # ; < # 9^ b '#&'# '## +'#&'# *#r+'#*##  # #r#'#&'# '#I"'# # #"'#6 #'#I #"'#6 ##S'# #S'#I"'# #J#'#I"'#e #(#'#I"'#e #($^#'#I"'# ##'#I"'#X #"'# #$^#'#I"'#1&'# ##d'#I"'#e #f"'#g #h#'#~"'#&'#1&'# ##f'#I#'#~#'#~#'#~#C'# #p'##;'##<'# #E'#6"'#F #"'#6 ##G'# "'#H ##I'#I"'#H ##'#"'#6 #  r  ^ $ ގUS ޠVS    ) ^ ߅d ߶ f   $U 6UC GUp YU; kU< |E G I #+'# *#!@+*#'#OO@+*#"'#@+*##'# -# #!0##"'# #A#'# !  " "# A^ X v# +'#$*#^+'#*#+'#6*#%+'#*#& +'#*# -+'#*#G +'#*#' +'# *#( # #^ ##A'##)'#I"'# # ^  % & * AG X' o( ^ UA ) '##+'#?*#k# #k" #"'#$ #*#+'#6"'#? #k"'# #A#)'#I"'# # Ck Z^ + ) '##+'#*#;+'# *#C# #; #C" #"'#$ #*#+'#6"'#I #b"'# #A#)'#I"'# # ; C 3^ f+ )'##$#A'##)'#I"'# #^"'# ##,'#I"'# #^"'# # UA ) 0, '#$'##- +'#*#2!+'#*#."#- #2 #.##A'#$#r'#%#)'#I"'# #8"'# #&#,'#I"'# #8"'# #' 2 . ^ UA r ) 4, '#$'##.(+'#*#2)+'#*#.*#. #2 #.+#A'#,#r'#"'# #^"'# #-#)'#I"'# #^"'# #.#,'#I"'# #^"'# #/ 2 . ^ UA r A) o,'##/0+'# *#-1+'#*#<2+'#?*#3 -#/ #- #< #4 - <  +^'##05 * 5f 9F @ %  / 0 %g 7h i >q  >t 7u &} 4  r Q 'Y        Ú  ƈ $7 [~ Ш 2x r -v  { ۡI ܣ  ݄ ݪ   -  $ ^ t- a . / T s0  @##<#1@+*#28HTTP@+*#38HTTP/1.@+*#48HTTP/1.0@+*#58HTTP/1.1@+'#6*#Z@+'#6*#@+*#68##########Z#######################Z##Z######Z#Z###Z###Z###########Z#Z#Z#Z#Z#Z#Z###########################Z#Z#Z##############################Z##Z################################################################################################################################## v2 3 4 5 Z  *6# @+'# *#7 @+'# *# - -@+'# *# @+'# *#8 @+'# *#9& @+'# *#,@+'# *#-@+'# *#/@+'# *#0@+'# *#1@+'# *#::@+'# *#;;@+'# *#= 7   8 9   ' > U l: ; #<@+'# *#=@+'# *#>@+'# *#?@+'# *#@@+'# *#A@+'# *#B@+'# *#C@+'# *#D@+'# *#E@+'# *#F @+'# *#G -!@+'# *#H "@+'# *#I #@+'# *#J $@+'# *#K%@+'# *#L&@+'# *#M'@+'# *#N(@+'# *#O)@+'# *#P*@+'# *#Q+@+'# *#R,@+'# *#S-@+'# *#T.@+'# *#U/@+'# *#0@+'# *#V1@+'# *#W2@+'# *#X#N3 (= ?> V? m@ A B C D E F G %H <I SJ jK L M N O P Q R "S 9T PU g ~V W X#Y4@+'# *#Z5@+'# *#46@+'# *#57 Z 4 5#[8@+'# *#Z9@+'# *#\:@+'# *#]; 'Z >\ U]'#&'# #^<+'#&'# *#=+'# *#_>+'#6*#`?+'#6*#@+'#6*#aA+'# *#B#^ # #_ #`C#''#6D#()(#Z'#~&'#Z"'#Z #)E#'#~F#'#I'#I"'# #A # G#'#I'#I #"H#'#I"'#6 #!I#$'#I"'#~ #%J#&'#IK#b'#IL  _ `  a  )^ QU' a(     $ =& Pb '#&'# #cM+'#&'# *#N+'# *#O#c # #P#'#&'# '#I"'# # #"'#6 #'#I #"'#6 #Q   '^ F '#&'#i#RC+'#6*#dS+'# *#VT+'# *#`U+'#6*#eV+'# *#"W+'# *#fX+'# *#gY+'# *#Z+'# *#h[+'#1&'# *# \+'#1&'# *#i]+'#1&'# *#j^+'#1&'# *#k_@+*#l4HHw`+'# *#ma+'# *#nb+'# *#jc+'#6*#d+'#6*#oe+'#6*#pf+'#6*#qg+'# *#rh+'#6*#i+'#6*#sj+'#6*#tk+'#*#l+'# *#um+'#i*#rn+'#&'# *#&o+'#6*#vp+'#6*#wq+'#&'#i*#r+'#&'# *#xs0##yt0##zu!##8 #ev#'#&'#i'#I"'#i # #"'#6 #'#I #"'#6 #w#{'#I"'#&'# #x#'#Iy#|'#6z#}'#I{##'#I"'# #.|#'#I}#O'#~#1'# #o'# #4'#6#'#6 #~'#I"'#6 #J#'#c#'# #'#I#'#I@#'#6"'# #@#'#6"'# #@#'#1&'#"'# #@#'# "'# #f@#'#6"'#1&'# #"'#1&'# #J#'#I"'# #"'# ##'# "'# ##'#I"'#1&'# #"'# ##'#I#'#i"'# #o#'#I"'#6 #\#'#I#'#I" #f" #h#'#I" #f" #hC d V ` )e >" Sf hg } h  i j k l ;m Pn ej z o p q r  s t " 8u Mr c& v w  x y z 8  {  | } #  UO *U1 :Uo KU4 \U mV~        F e     1 R w   K h1 ? x < Y [ l ^ c c    @##<%+'#*#$'##z%+'#6*#+'#6*#+'#*#+'#6*#+'#*#+'#z*#+'#z*#+'#*# +'#*# -#z # # #f'#I #'#I #'##'#6 # '#I'#I #O#'#6" #J#'#6" ##" ##5'#I" #" #J#" #" ##"'# #2#" ##'#I#Z'#I'#I" #" #J #T#'#X&'##'#I"'#X&'# ##)(#(#'#&'#'#'#&'#'#" #" #J ##'#I'#6" #" #J #V#y)(#(#'#&'#'##" #" #J # ##'#I" #" #J # #'#X!#'#X"#'# ##g'#6$#h'#6%#'#&%v$:^YflUUV  5+GavZUVyU&U7UFUgVUhf#'+'#&'#'#z*#(+'# *#)+'#z*#<*+'#z*#=++'#2*#,#-#'#.#'#z"'# #/#F'#z0 #X'#I"'# #1#'#I2#'#I"'#z #>3#'#I"'#z #>4#'#I"'#z #>5#'#I6#'#I7#'#I8<=^/PFdVX  (E%`zz /  @##<%+*#%+*###@+'#*#P#{'#`#H"'# #@#)(#j'#j'#j #"'#e"'# #"'#"'#? #k"'#&'#'# # #@#)(#j'#j'#j #"'# ##'#e"'# ##'#"'#? #"'#&'#'# #  - -2U{ -CVH -^ - % F '## -+'#*# +'#e"'#*# +'#"'#? #k"'#&'#'# #*# # # ##'#e"'# ##^#'#"'#? #"'#&'#'# ##^    L^ k   % % -     @##<#@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H@+'# *#H @+'# *#H -@+'# *#H @+'# *#H @+'# *#H @+'# *###V$@+'# *###V$@+'# *###V$ľ@+'# *###V$Ǿ@+'# *###V$ʾ@+'# *###V$;@+'# *###V$о@+'# *###V$Ӿ@+'# *###V$־@+'# *###V$پ@+'# *###V$ܾ@+'# *###V$@+'# *###V$߾ Y w     +Ig+Qw5[# @+'#*#'#@+'#*###V$@+'#*#'#<@+'#*###V$+'#6*# +'#6*#!+'# *#"+'# *##+'#6*#$ -# # # # # #%#'#"'# #c&#'#"'# #c"'# #7'#'#"'# #c( CXm^I'#&'#'##)#"'#1&'# # #"'# # ##*@#4'#~&'#"'# #"'#1&'# # #"'# # ##+@#'#6"'# #,^;4'#&'#'#&'##-@+'# *#.@+'# *#/@+'# *#\0@+'# *#41@+'# *###V$2@+'# *###V$3@+'# *##\#V$4@+'# *##4#V$5+'#*#6@#'#~&'#"'# #"'#X&'# #"'#&'#'# #;"'# # ##7##VK$$80##"'# #"'# #0"'#6 #"'# # ##9#'# :#'#;#0'#<#'# =#'#>#'#~"'# #"'# #?#'#I" #A@#'#~"'# #A#'#I"'#1&'# #BP#'#C`#"'# #D,\C4Z~^UUU0%U5UFyUV'##E+'#*#WF -# #W$^G#'#HW^ . Km   @##<%+'#*#$ -%+'#*# $ %+'#*#$%+'#*#$%+'#*#$#@+'# *#@+'# *#@+'# *#'># @+'# *# -@+'# *# @+'# *# @+'# *# @+'# *#@+'# *#@+'# *#@+'# *#@+'# *#@+'# *#  @+'# *#! -@+'# *#" @+'# *## @+'# *#$ @+'# *#%@+'# *#&|4K b!y"#$%&#'+'#1&'# *##' #{^#+'#*#+'# *## # # #'#!^ '#s&'#1&'# '#'#^&'#1&'# #("+@+'# *#=#@+'# *#)$@+'# *#*%@+'# *#+&@+'# *#,'@+'# *#(@+'# *#W)@+'# *#-*@+'# *#.@+@+'# *#/ ,@+'# *#0-@+'# *#1.+'# *#"/+'#6*#20+'#6*#31+'# *#42+'# *#53+'#6*#64+'# *#75+'# *#86+'# *#97+'# *#:8+'# *#;9+'# *#:+'#*#;+'#^&'#*#`<+'#6*#<=+'# *#=>+'#*#>?+'#?*#@@#( #< #@A#'#&'#"'#&'#1&'# #B#d'#I"'#e #f"'#g #hC#'#ID#'#I"'#1&'# #E#A'#I"'# #"'# #"'# #.F#B'#IG#C'#IH#D'#II#E'#IJ#F'#IK#G'#6L#H'#IM+=)*+,W&-=.T/k01"234567,8A9V:k;`<=> @ ^ E |d   A!B!-C!@D!SE!fF!yG!H#IN+'#1&'# *#JO#I #J1P"J#^#KQ+'#1&'# *#JR#K #J1S#KJ#g^7"'#1&'# ##LT '#s&'#'#'##MU +'#&'#*#V+'#L*#NW+'#*#OX#M #N #OY#'#&'#"'#&'# #Z@#'#1&'#"'# #[@#P'#~&'#"'# #"'#L #"'# #\@#Q'#?"'# #"'# #"'# #]@#R'#6"'# #^ ##N$O$%^$D$u$P$Q%R#?_ +'#6*#`+'#6*#a+'# *#b+'# *#c+'#6*#d+'#*#e+'#*#f#? # #S# # #S# # # #g#T'#h#U'#i#V'# "'#1&'# #j#W'#1&'# "'#1&'# #k %%%%%%& -& ^&}T&U&V&W '#s&'#'#1&'# '#^#Xl -+'#S*#Ym+'#^&'#1&'# *#`n+'#?*#Zo#X #Yp#'#&'#1&'# "'# #q#'#I" #Wr#d'#I"'#e #f"'#g #hs#'#It#['#I"'# #\"'#1&'# #Au@#]'#X&'#1&'# "'# #\"'#1&'# #A"'#6 #"'#6 #v -'Y'`'Z'^'((3d(c(v[(]'##^w+'#S*#Yx+'#*#y+'#*#z+'#*#{+'#6*#_|+'#6*# }+'# *#~+'# *#`#^ #Y ##'#I#'#I#'#I#'#I#a'##b'#6"'#e #f"'#g #h#'#~"'# ##'#~#'#I" #A#c'#I)^Y)t)))_) ))`* ^*,*@*T*h*|a*b***+c '#-'#'##S,@+'#&'# '#S*#d@+'# *#@+'#*#e$fg+'#*#0+'#*#+'#*#+'#*#+'#*#+'#6*#<+'# *#h+'#6*#i+'# *#j+'#*#k+'#*#l+'#2*#m+'#^*#n+'# *#o+'#*#p+'#2*#q+'#?*#@@+'#e*#@#'#~&'#"'# #"'#X&'# #"'#&'#'# #;"'# # ##@#r'#?"'# #"'# #!#S#s # #0"'# # #<"'#? #t#'#'#I" #W #"'#6 #'#I #"'#6 ##'# #'#I"'# #{#'# #'##'# #'##'#I" #A#'#I"'#1&'# ##d'#I"'#e #f"'#g #h#'#~"'# ##'#~#'#~"'# #"'# #P#'#`#"'# ##'#I"'# #"'# ##'##'##'#&'#'#"'#6 # @#u'#6"'# #,+d,,e,50,L,c,z,,<,h,i,j-k-l-.m-En-\o-rp-q-@--.?r.ns./U/,V/MU/^U/pU/U///d00'U090mU0V00U0U01!u^{%% %%%Unm'(F(!"I#.#=K##7L#M%;%}?&'SX()H^+*+S1Av - - x W L   "2  @##w!#=$'#x##x #x"'#y #"'#1 #7#x#z"'#e ##x#"'#e ##'#"'#e #e#5'#I"'#e #e"'#e #J#'# #'#6"'#e #2 #'#6"'#e #e -#{'#I"'#e #e #'#6"'#y #X #'# #'#"'#e #<"'#1 # 3^3z44"4D54qU444{455 '#x#y#y#|"'#6 #T#7'#"'#1 #" #e5|57)(# '#x-'#=&'##}#}#}#Q"'#X&'# #2#'#"'#e ##5'#I"'#e #"'# #J#'# #'#I"'# ##'#I"'# #J#'#I"'#X&'# ##'#I"'# #"'# ##'#"'# ##'##'#I"'# #B"'# #C#'#I"'# #B"'# #C"'#X&'# #"'# ##'#I'# "'# #"'# # # 67^6DQ6h656U6V677.7[7|778 )(#'#6"'# #T'##~!"'#6 #T'#6#"3r393x5J5y56 -}8L8~8Z9  @##"'# #c'#6#"'# #c'#e#9F9b99  @##!#~$!#$##'#&'#?'##'#"'# ##'##'##'##'##$DE#'#"'# # #'#"'# #"'# # -: U:+:MU:^U:oU:U::'## "'# #'## "'#> #'## "'#> #"'#1&'#> #?'###'###'##'#6#'##'#6"'#e #2#'#~&'#"'#? #k;U;U<U<<5'###'##'##'##'#6#'#6#'##'#1&'#'####X'#$#'#6%#'#&#'#6"'#e #2'>]UX>nU>~U>'##(#8'#)#7'#"'#1&'# #""'#&'#'# ##A&'#'#*>U8>7'#'##+#k'#?,#'#&'#'#-#'#6"'#e #2.#'#1&'#/?uUk?U??U'##0 -#'#61#'#62#'#63#'#4#'#5#'#6#'#1&'#7#'#8#'#1&'#9#'#~&'#: -@U@U@/U@?U@PU@aU@rU@U@U@'##;#'#1&'#<#'#6=#'#6>A,UADUATU'##?#'#6@#'#>A#'#1&'#B#?'#1&'#C#'#6D#'#E#'#6"'# #2F#'#6"'# #2GAUAUAUAU?AUAUBB!'#'##H #'#I#'#1&'#J#'#6K#'#6L#'#&'#'#M#'#&'#'#N#'#&'#'#O#'#P#'#"'# #"'#1&'# #""'#&'#'# ##A&'#'#Q#'#6"'#e #2R#'#6"'# #2S BUBUBUBUBUBUCUC;UCLCC'##T#'#U#T'#1&'#V#'#WDSUDdUTD|U '##X#'#Y#I'#6Z#'#6"'#e #2[DUDUID'##\#'#]E$U'##^#'#_#'#`#T'#1&'#a#I'#6b#'#6c#'#6d#'#6e#'#6f#D'#6g#E'#6h#'#6i#'#j#'#6k#'#6l#'#6m#'#6n#'#6o#'#6"'#e #2pESUEdUEuUTEUIEUEUEUEUEUDEUEEUF UFUF.UF>UFNUF^UFn'##q#X'#r#I'#6s#'#6t#'#6u#'#6v#'#6"'#e #2wG"UXG3UIGCUGSUGcUGs'##x#X'#y#'#6z#'#6{#'#6|#'#}GUXGUGUHUHU#~#'# #'# #'#?HWUHgUHxU#+'#*#+'#*#+'#6*# -# # # #HHHH^##V$޿߀+*#+*#+*#+*#^ -# # # # #^IXIiIzI^I^99:;);?;b;;;;<^<==F>*>G>>?J?Y??@AAdAzB@ByCD=DDDEE5E=FG GGH%HIHHII;Iڿq J  @#####KK.K<K=KKKLKZK[KiKj  @##$$ -$K  @##"'# #'#I#'#I"'# ##<$=>%+'#I"'# *##<$=>#@#'#I"'# #L)(#Z"'#~&'#Z # "'# #'#Z#KLL"LR%LLLKL  @##!#?$BC"'# #'#I#M:MgTM  @%+'# *#%+'# *#%+'# *#MM%M%M%^M  @# !#~#$#?+'#*# -#? #NWNm^# -#N^%+'#*#'#NNI?NNNN%N%w <eNXlopR{̈́ @ Ln3C9;9K KM+MNNdarttyped_dataSinceUnmodifiableListBase"dart:_internal"dart:_internalBytesBuilder"unmodifiable_typed_data.dart"unmodifiable_typed_data.dartByteBufferlengthInBytesintasUint8ListUint8ListoffsetInByteslengthasInt8ListInt8ListasUint8ClampedListUint8ClampedListasUint16ListUint16ListasInt16ListInt16ListasUint32ListUint32ListasInt32ListInt32ListasUint64ListUint64ListasInt64ListInt64ListasInt32x4ListInt32x4ListasFloat32ListFloat32ListasFloat64ListFloat64ListasFloat32x4ListFloat32x4ListasFloat64x2ListFloat64x2ListasByteDataByteDataTypedDataelementSizeInBytesbuffer_TypedIntList+Listother_TypedFloatListdoubleEndianbool_littleEndian_biglittlehostpragma"vm:entry-point"vm:entry-pointviewsublistViewdatastartend"2.8"2.8getInt8byteOffsetsetInt8voidvaluegetUint8setUint8getInt16endiansetInt16getUint16setUint16getInt32setInt32getUint32setUint32getInt64setInt64getUint64setUint64getFloat32setFloat32getFloat64setFloat64fromListelementssublistbytesPerElementFloat32x4Int32x4Float64x2xyzwsplatvzerofromInt32x4BitsfromFloat64x2-*/lessThanlessThanOrEqualgreaterThangreaterThanOrEqualequalnotEqualscalesabsclamplowerLimitupperLimitsignMaskxxxxxxxyxxxzxxxwxxyxxxyyxxyzxxywxxzxxxzyxxzzxxzwxxwxxxwyxxwzxxwwxyxxxyxyxyxzxyxwxyyxxyyyxyyzxyywxyzxxyzyxyzzxyzwxywxxywyxywzxywwxzxxxzxyxzxzxzxwxzyxxzyyxzyzxzywxzzxxzzyxzzzxzzwxzwxxzwyxzwzxzwwxwxxxwxyxwxzxwxwxwyxxwyyxwyzxwywxwzxxwzyxwzzxwzwxwwxxwwyxwwzxwwwyxxxyxxyyxxzyxxwyxyxyxyyyxyzyxywyxzxyxzyyxzzyxzwyxwxyxwyyxwzyxwwyyxxyyxyyyxzyyxwyyyxyyyyyyyzyyywyyzxyyzyyyzzyyzwyywxyywyyywzyywwyzxxyzxyyzxzyzxwyzyxyzyyyzyzyzywyzzxyzzyyzzzyzzwyzwxyzwyyzwzyzwwywxxywxyywxzywxwywyxywyyywyzywywywzxywzyywzzywzwywwxywwyywwzywwwzxxxzxxyzxxzzxxwzxyxzxyyzxyzzxywzxzxzxzyzxzzzxzwzxwxzxwyzxwzzxwwzyxxzyxyzyxzzyxwzyyxzyyyzyyzzyywzyzxzyzyzyzzzyzwzywxzywyzywzzywwzzxxzzxyzzxzzzxwzzyxzzyyzzyzzzywzzzxzzzyzzzzzzzwzzwxzzwyzzwzzzwwzwxxzwxyzwxzzwxwzwyxzwyyzwyzzwywzwzxzwzyzwzzzwzwzwwxzwwyzwwzzwwwwxxxwxxywxxzwxxwwxyxwxyywxyzwxywwxzxwxzywxzzwxzwwxwxwxwywxwzwxwwwyxxwyxywyxzwyxwwyyxwyyywyyzwyywwyzxwyzywyzzwyzwwywxwywywywzwywwwzxxwzxywzxzwzxwwzyxwzyywzyzwzywwzzxwzzywzzzwzzwwzwxwzwywzwzwzwwwwxxwwxywwxzwwxwwwyxwwyywwyzwwywwwzxwwzywwzzwwzwwwwxwwwywwwzwwwwshufflemaskshuffleMixwithXwithYwithZwithWminmaxsqrtreciprocalreciprocalSqrtfromFloat32x4Bits|&^flagXflagYflagZflagWwithFlagXwithFlagYwithFlagZwithFlagWselecttrueValuefalseValuefromFloat32x4UnmodifiableByteBufferView_dataUnmodifiableByteDataView_unsupportedNLTD_UnmodifiableListMixin_list[]index_createListUnmodifiableUint8ListViewlistUnmodifiableInt8ListViewUnmodifiableUint8ClampedListViewUnmodifiableUint16ListViewUnmodifiableInt16ListViewUnmodifiableUint32ListViewUnmodifiableInt32ListViewUnmodifiableUint64ListViewUnmodifiableInt64ListViewUnmodifiableInt32x4ListViewUnmodifiableFloat32x4ListViewUnmodifiableFloat64x2ListViewUnmodifiableFloat32ListViewUnmodifiableFloat64ListViewdart.typed_dataconvert'dart:async'dart:async'dart:typed_data'dart:typed_dataCastConvertercheckNotNullableparseHexByte'dart:_internal''ascii.dart'ascii.dart'base64.dart'base64.dart'byte_conversion.dart'byte_conversion.dart'chunked_conversion.dart'chunked_conversion.dart'codec.dart'codec.dart'converter.dart'converter.dart'encoding.dart'encoding.dart'html_escape.dart'html_escape.dart'json.dart'json.dart'latin1.dart'latin1.dart'line_splitter.dart'line_splitter.dart'string_conversion.dart'string_conversion.dart'utf.dart'utf.dartAsciiCodecascii_asciiMaskEncoding_allowInvalidallowInvalidnameStringencodesourcedecodebytesencoderAsciiEncoderdecoderAsciiDecoderConverter_UnicodeSubsetEncoder_subsetMaskstringstartChunkedConversionStringConversionSinkSinksinkbindStreamstreamStringConversionSinkBase_UnicodeSubsetEncoderSinkByteConversionSink_sinkcloseaddSliceisLast_UnicodeSubsetDecoder_convertInvalidByteConversionSinkBase_ErrorHandlingAsciiDecoderSink_utf8Sinkadd_SimpleAsciiDecoderSinkBase64Codecbase64base64UrlurlSafebase64Encodebase64UrlEncodebase64Decode_paddingCharCodecBase64Encoder_encoderBase64Decoderencodednormalize_checkPaddingsourceIndexsourceEndfirstPaddingpaddingCount_urlSafeinput_Base64Encoder_base64Alphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/_base64UrlAlphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-__valueShift_countMask_sixBitMask_state_alphabet_encodeStatecountbits_stateBitsstate_stateCountcreateBufferbufferLengthencodeChunkalphabetoutputoutputIndexwriteFinalChunk_BufferCachingBase64EncoderbufferCache_Base64EncoderSink_add_AsciiBase64EncoderSink_Utf8Base64EncoderSink_Base64Decoder_invalid_padding___p_inverseAlphabet_char_percent_char_3_char_d_encodeCharacterState_encodePaddingStateexpectedPadding_statePadding_hasSeenPaddingdecodeChunkoutIndex_emptyBuffer_allocateBuffer_trimPaddingChars_Base64DecoderSink_decoderChunkedConversionSinkwithCallbackaccumulatedcallback_ByteCallbackSinkfrom_ByteAdapterSinkchunk_INITIAL_BUFFER_SIZE_callback_buffer_bufferIndexIterable_roundToPowerOf2T_SimpleCallbackSink_accumulatedSEventSink_ConverterStreamEventSink_eventSink_chunkedSinkconverteroaddErrorObjecterrorStackTracestackTracefuseRinvertedM_FusedCodec_first_second_InvertedCodec_codeccodecStreamTransformerBasecastFromSSSTTSTTcastRSRT_FusedConverterdecodeStreamFuturebyteStreamMap_nameToEncodinggetByNameHtmlEscapehtmlEscapeHtmlEscapeMode_nameescapeLtGtescapeQuotescapeAposescapeSlashunknown'unknown'attribute'attribute'sqAttributeelement'element'"custom"customtoStringmodetext_convert_HtmlEscapeSink_escapeErrorJsonUnsupportedObjectErrorunsupportedObjectcausepartialResultJsonCyclicErrorobjectJsonCodecjsonnonEncodabletoEncodablejsonEncodekeyreviverdynamicjsonDecode_reviver_toEncodablewithReviverJsonEncoderJsonDecoderindentwithIndentJsonUtf8Encoder_defaultBufferSizeDEFAULT_BUFFER_SIZEdeprecated_indent_bufferSizebufferSize_utf8Encode_JsonEncoderSink_isDone_JsonUtf8EncoderSink_addChunk_parseJson_defaultToEncodable_JsonStringifierbackspacetabnewlinecarriageReturnformFeedquotechar_0backslashchar_bchar_dchar_fchar_nchar_rchar_tchar_usurrogateMinsurrogateMasksurrogateLeadsurrogateTrail_seen_partialResultwriteStringcharacterswriteStringSlicewriteCharCodecharCodewriteNumbernumnumberhexDigitwriteStringContent_checkCycle_removeSeenwriteObjectwriteJsonValuewriteListwriteMapmap_JsonPrettyPrintMixin_indentLevelwriteIndentationindentLevel_JsonStringStringifierStringSinkstringifyprintOn_JsonStringStringifierPretty_JsonUtf8StringifieraddChunkflushwriteAsciiStringwriteMultiByteCharCodewriteFourByteCharCodewriteBytebyte_JsonUtf8StringifierPrettyLatin1Codeclatin1_latin1MaskLatin1EncoderLatin1Decoder_Latin1DecoderSink_addSliceToSink_checkValidLatin1_reportInvalidLatin1_Latin1AllowInvalidDecoderSink_LF_CRLineSplittersplitlines_LineSplitterSink_carry_skipLeadingLF_addLines_LineSplitterEventSinkeventSink_StringCallbackSink_StringAdapterSinkfromStringSink_StringSinkConversionSinkasUtf8SinkallowMalformedasStringSinkClosableStringSinkonClose_ClosableStringSinkwritewriteln""writeAllobjectsseparator_StringConversionSinkAsStringSinkAdapter_MIN_STRING_SIZEStringBuffer_flushStringConversionSinkMixinstrTStringSink_stringSink_Utf8StringSinkAdapter_Utf8DecodercodeUnitsstartIndexendIndex_Utf8ConversionSinkstringBufferunicodeReplacementCharacterRuneunicodeBomCharacterRuneUtf8Codecutf8_allowMalformedUtf8EncoderUtf8Decoder_Utf8Encoder_DEFAULT_BYTE_BUFFER_SIZEwithBufferSize_createBuffersize_writeReplacementCharacter_writeSurrogateleadingSurrogatenextCodeUnit_fillBuffer_Utf8EncoderSinknext_convertIntercepted_ONE_BYTE_LIMIT_TWO_BYTE_LIMIT_THREE_BYTE_LIMIT_FOUR_BYTE_LIMIT_SURROGATE_TAG_MASK_SURROGATE_VALUE_MASK_LEAD_SURROGATE_MIN_TAIL_SURROGATE_MINcodeUnit_isLeadSurrogate_isTailSurrogateleadtail_combineSurrogatePair_charOrIndextypeMaskshiftedByteMasktypeTable"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEEIABBABX1X2X3TOQOQRB1B2E1E2E3E4E5E6E7_IA'\u0000'_BB'\u0010'_AB'\u0020' _X1'\u0030'0_X2'\u003A':_X3'\u0044'D_TO'\u004E'_TS'\u0058'X_QO'\u0062'b_QR'\u006C'l_B1'\u0076'_B2'\u0080'€_E1'\u0041'A_E2'\u0043'C_E3'\u0045'E_E4'\u0047'G_E5'\u0049'I_E6'\u004B'K_E7'\u004D'transitionTable" "initialacceptbeforeBomafterBomerrorMissingExtensionerrorUnexpectedExtensionerrorInvaliderrorOverlongerrorOutOfRangeerrorSurrogateerrorUnfinishedisErrorState"vm:prefer-inline"vm:prefer-inlineerrorDescriptionconvertSinglemaybeEndconvertChunkedconvertGeneralsingle_convertRecursivedecodeGeneral_makeUint8Listdart.convertmathSystemHash"point.dart"point.dart"random.dart"random.dart"rectangle.dart"rectangle.darteln10ln2log2elog10episqrt1_2sqrt2aatan2exponentpowradianssincostanacosasinatanexplogPoint==hashCodefactormagnitudedistanceTosquaredDistanceToRandomseedsecurenextIntnextDoublenextBool_RectangleBaselefttopwidthheightrightbottomintersectionRectangleintersectsboundingBoxcontainsRectangleanothercontainsPointtopLefttopRightbottomRightbottomLeftfromPointsMutableRectangle_width_height_clampToZerodart.mathcore"dart:collection"dart:collectionSymbolLinkedListLinkedListEntryinternal"dart:convert"dart:convert"dart:math"dart:math"dart:typed_data""dart:async""2.1"2.1FutureExtensions"2.12"2.12"annotations.dart"annotations.dart"bigint.dart"bigint.dart"bool.dart"bool.dart"comparable.dart"comparable.dart"date_time.dart"date_time.dart"double.dart"double.dart"duration.dart"duration.dart"errors.dart"errors.dart"exceptions.dart"exceptions.dart"expando.dart"expando.dart"function.dart"function.dart"identical.dart"identical.dart"int.dart"int.dart"invocation.dart"invocation.dart"iterable.dart"iterable.dart"iterator.dart"iterator.dart"list.dart"list.dart"map.dart"map.dart"null.dart"null.dart"num.dart"num.dart"object.dart"object.dart"pattern.dart"pattern.dart"print.dart"print.dart"regexp.dart"regexp.dart"set.dart"set.dart"sink.dart"sink.dart"stacktrace.dart"stacktrace.dart"stopwatch.dart"stopwatch.dart"string.dart"string.dart"string_buffer.dart"string_buffer.dart"string_sink.dart"string_sink.dart"symbol.dart"symbol.dart"type.dart"type.dart"uri.dart"uri.dartDeprecatedmessageexpires'Use `message` instead. Will be removed in Dart 3.0.0'Use `message` instead. Will be removed in Dart 3.0.0"next release"next release_OverrideoverrideProvisionalNullprovisionalproxy'vm:entry-point'optionsComparableBigIntonetwoparseradixtryParse~/%remainder<>~<<=>>=compareTobitLengthsignisEvenisOddisNegativemodPowmodulusmodInversegcdtoUnsignedtoSignedisValidInttoInttoDoubletoRadixStringfromEnvironmentdefaultValuehasEnvironmentComparatorcompareDateTimemondaytuesdaywednesdaythursdayfridaysaturdaysundaydaysPerWeekjanuaryfebruarymarchaprilmayjunejulyaugustseptemberoctobernovemberdecembermonthsPerYear_valueisUtcyearmonthdayhourminutesecondmillisecondmicrosecondutcnowformattedString_maxMillisecondsSinceEpochfromMillisecondsSinceEpochmillisecondsSinceEpochfromMicrosecondsSinceEpochmicrosecondsSinceEpoch_withValueisBeforeisAfterisAtSameMomentAstoLocaltoUtc_fourDigitsn_sixDigits_threeDigits_twoDigitstoIso8601StringDurationdurationsubtractdifference_internal_now_brokenDownDateToValuetimeZoneNametimeZoneOffsetweekdayRegExp_parseFormatnaninfinitynegativeInfinityminPositivemaxFiniteroundfloorceiltruncateroundToDoublefloorToDoubleceilToDoubletruncateToDoubleonErrormicrosecondsPerMillisecondmillisecondsPerSecondsecondsPerMinuteminutesPerHourhoursPerDaymicrosecondsPerSecondmicrosecondsPerMinutemicrosecondsPerHourmicrosecondsPerDaymillisecondsPerMinutemillisecondsPerHourmillisecondsPerDaysecondsPerHoursecondsPerDayminutesPerDayseconds_durationdayshoursminutesmillisecondsmicroseconds_microsecondsquotientinDaysinHoursinMinutesinSecondsinMillisecondsinMicrosecondssafeToString_stringToSafeString_objectToStringAssertionErrorTypeErrorCastError"Use TypeError instead"Use TypeError insteadNullThrownErrorArgumentError_hasValueinvalidValuenotNullcheckNotNullargument_errorName_errorExplanationRangeErrorrangeminValuemaxValueindexableIndexErrorcheckValueInIntervalcheckValidIndexcheckValidRangestartNameendNamecheckNotNegativeFallThroughError_createurllineAbstractClassInstantiationError_classNameclassNameNoSuchMethodErrorwithInvocationreceiverInvocationinvocationmemberNamepositionalArgumentsnamedArguments"Use NoSuchMethod.withInvocation instead"Use NoSuchMethod.withInvocation insteadUnsupportedErrorUnimplementedErrorStateErrorConcurrentModificationErrormodifiedObjectOutOfMemoryErrorStackOverflowErrorCyclicInitializationErrorvariableNameException_ExceptionFormatExceptionoffsetIntegerDivisionByZeroExceptionExpando[]=FunctionapplyfunctionidenticalidentityHashCode>>>methodgenericMethodTypetypeArgumentsgetter_InvocationsetterisMethodisGetterisSetterisAccessor_positional_namedtypespositionalnamed_ensureNonNullTypesgenerategeneratoremptyEmptyIterableiteratorIteratorfollowedByfwheretestwhereTypeexpandcontainsforEachreducecombinefoldinitialValuepreviousValueeveryjoinanytoListgrowabletoSetSetisEmptyisNotEmptytaketakeWhileskipskipWhilefirstlastfirstWhereorElselastWheresingleWhereelementAtListIterable_GeneratorIterable_generator_idBidirectionalIteratormovePreviousmoveNextcurrentEfficientLengthIterable"Use a list literal, [], or the List.filled constructor instead"Use a list literal, [], or the List.filled constructor insteadfilledfill"2.9"2.9ofunmodifiablecopyRangetargetatwriteIterablenewLengthaddAlliterablereversedsortrandomindexOfindexWherelastIndexWherelastIndexOfclearinsertinsertAllsetAllremoveremoveAtremoveLastremoveWhereretainWheregetRangesetRangeskipCountremoveRangefillRangefillValuereplaceRangereplacementsasMapVLinkedHashMapidentityfromIterablefromIterableskeysvaluesK2V2fromEntriesMapEntryentriesRKRVcontainsValuecontainsKeyaddEntriesnewEntriesupdateifAbsentupdateAllputIfAbsentaction_uninstantiableisNaNisInfiniteisFinitetoStringAsFixedfractionDigitstoStringAsExponentialtoStringAsPrecisionprecision"vm:recognized"vm:recognized"other"noSuchMethodruntimeTypePatternallMatchesMatchmatchAsPrefixgroupgroupsgroupIndicesgroupCountpatternprintmultiLinecaseSensitive"2.4"2.4unicodedotAllescapefirstMatchRegExpMatchhasMatchstringMatchisMultiLineisCaseSensitiveisUnicodeisDotAll"2.3"2.3namedGroupgroupNamesLinkedHashSetnewSetlookupremoveAllretainAllcontainsAllunion_StringStackTracefromStringstackTraceString_stackTraceStopwatch_frequency_start_stopfrequencystopresetelapsedTickselapsedelapsedMicrosecondselapsedMillisecondsisRunning_initTickerfromCharCodescharCodesfromCharCodecodeUnitAtendsWithstartsWithsubstringtrimtrimLefttrimRighttimespadLeftpadding' 'padRightreplaceFirsttoreplaceFirstMappedmatchreplacereplaceAllreplaceAllMappedreplacementsplitMapJoinonMatchonNonMatchrunesRunestoLowerCasetoUpperCaseRuneIteratorcode_isTrailSurrogate_position_nextPosition_currentCodePoint_checkSplitSurrogaterawIndexcurrentSizecurrentAsStringcontentobjunaryMinus"unary-"unary-_SPACE_PERCENT_AMPERSAND_PLUS_DOT_SLASH_COLON_EQUALS_UPPER_CASE_A_UPPER_CASE_Z_LEFT_BRACKET_BACKSLASH_RIGHT_BRACKET_LOWER_CASE_A_LOWER_CASE_F_LOWER_CASE_Z_hexDigits"0123456789ABCDEF"0123456789ABCDEFUribaseschemeuserInfoportpathpathSegmentsqueryqueryParametersfragment_UrihttpauthorityunencodedPathhttpsfilewindowsdirectorydataFromStringmimeTypeencodingparametersdataFromBytes"application/octet-stream"application/octet-streampercentEncodedqueryParametersAllisAbsolutehasSchemehasAuthorityhasPorthasQueryhasFragmenthasEmptyPathhasAbsolutePathoriginisSchemetoFilePathUriDataremoveFragmentresolvereferenceresolveUrinormalizePathuriencodeComponentcomponentencodeQueryComponentdecodeComponentencodedComponentdecodeQueryComponentencodeFulldecodeFullsplitQueryStringparseIPv4Address_parseIPv4AddressparseIPv6Address_userInfo_host_port_query_fragment_textnotSimpleschemeEndhostStartportStartpathStartqueryStartfragmentStart_defaultPort_compareScheme_failNever_makeHttpUri_isWindows_checkNonWindowsPathReservedCharacterssegmentsargumentError_checkWindowsPathReservedCharactersfirstSegment_checkWindowsDriveLetter_makeFileUrislashTerminated_makeWindowsFileUrl_computePathSegmentspathToSplit_computeQueryParametersAll_makePort_makeHoststrictIPv6_checkZoneID_isZoneIDCharchar_normalizeZoneIDprefix''_isRegNameChar_normalizeRegName_makeScheme_canonicalizeScheme_makeUserInfo_makePath_normalizePath_makeQuery_makeFragment_normalizeEscapelowerCase_escapeChar_normalizeOrSubstringcharTableescapeDelimiters_normalize_isSchemeCharacterch_isGeneralDelimiter_mergePaths_mayContainDotSegments_removeDotSegments_normalizeRelativePathallowScheme_escapeScheme_packageNameEnd_toFilePath_toWindowsFilePath_writeAuthorityss_initializeText_splitQueryStringAll_uriEncodecanonicalTablespaceToPlus_hexCharPairToBytepos_uriDecodeplusToSpace_isAlphabeticCharacter_isUnreservedChar_unreservedTable_unreserved2396Table_encodeFullTable_schemeTable_genDelimitersTable_userinfoTable_regNameTable_pathCharTable_pathCharOrSlashTable_queryCharTable_zoneIDTable_noScheme_separatorIndices_uriCache_base64fromBytesfromUri_writeUricharsetNameindices_validateMimeType_computeUricharsetisBase64contentTextcontentAsBytescontentAsString_parsesourceUri_uriEncodeBytes_tokenCharTable_uricTable_schemeEndIndex_hostStartIndex_portStartIndex_pathStartIndex_queryStartIndex_fragmentStartIndex_notSimpleIndex_uriStart_nonSimpleEndStates_schemeStart_scannerTables_createTables_scan_SimpleUri_uri_schemeEnd_hostStart_portStart_pathStart_queryStart_fragmentStart_schemeCache_hashCodeCachehasUserInfo_isFile_isHttp_isHttps_isPackage_isScheme_computeScheme_isPort_simpleMergeref_toNonSimple_DataUri_startsWithData_stringOrNullLength_toUnmodifiableStringList_skipPackageNameCharsdart.core'dart:collection'StreamSubscriptionStreamTransformerZone'dart:convert''dart:core'dart:core'dart:math''async_cast.dart'async_cast.dart'bytes_builder.dart'bytes_builder.dart'cast.dart'cast.dart'errors.dart''iterable.dart''list.dart''linked_list.dart'linked_list.dart'print.dart''sort.dart'sort.dart'symbol.dart'typeAcceptsNullPOWERS_OF_TENCodeUnits_stringistringOfuExternalNamehexDigitValuenullFuture"2.11"2.11hashfinishhash2v1v2hash3v3hash4v4hash5v5hash6v6hash7v7hash8v8hash9v9hash10v10smearinstanceextractextractTypeArguments"2.2"2.2versionNotNullableErrordefaultValvalueOfNonNullableParamWithDefaultHttpStatuscontinue_switchingProtocolsprocessingokcreatedacceptednonAuthoritativeInformationnoContentresetContentpartialContentmultiStatusalreadyReportedimUsedmultipleChoicesmovedPermanentlyfoundmovedTemporarilyseeOthernotModifieduseProxytemporaryRedirectpermanentRedirectbadRequestunauthorizedpaymentRequiredforbiddennotFoundmethodNotAllowednotAcceptableproxyAuthenticationRequiredrequestTimeoutconflictgonelengthRequiredpreconditionFailedrequestEntityTooLargerequestUriTooLongunsupportedMediaTyperequestedRangeNotSatisfiableexpectationFailedmisdirectedRequestunprocessableEntitylockedfailedDependencyupgradeRequiredpreconditionRequiredtooManyRequestsrequestHeaderFieldsTooLargeconnectionClosedWithoutResponseunavailableForLegalReasonsclientClosedRequestinternalServerErrornotImplementedbadGatewayserviceUnavailablegatewayTimeouthttpVersionNotSupportedvariantAlsoNegotiatesinsufficientStorageloopDetectednotExtendednetworkAuthenticationRequirednetworkConnectTimeoutErrorCONTINUE"Use continue_ instead"Use continue_ insteadSWITCHING_PROTOCOLS"Use switchingProtocols instead"Use switchingProtocols insteadOK"Use ok instead"Use ok insteadCREATED"Use created instead"Use created insteadACCEPTED"Use accepted instead"Use accepted insteadNON_AUTHORITATIVE_INFORMATION"Use nonAuthoritativeInformation instead"Use nonAuthoritativeInformation insteadNO_CONTENT"Use noContent instead"Use noContent insteadRESET_CONTENT"Use resetContent instead"Use resetContent insteadPARTIAL_CONTENT"Use partialContent instead"Use partialContent insteadMULTIPLE_CHOICES"Use multipleChoices instead"Use multipleChoices insteadMOVED_PERMANENTLY"Use movedPermanently instead"Use movedPermanently insteadFOUND"Use found instead"Use found insteadMOVED_TEMPORARILY"Use movedTemporarily instead"Use movedTemporarily insteadSEE_OTHER"Use seeOther instead"Use seeOther insteadNOT_MODIFIED"Use notModified instead"Use notModified insteadUSE_PROXY"Use useProxy instead"Use useProxy insteadTEMPORARY_REDIRECT"Use temporaryRedirect instead"Use temporaryRedirect insteadBAD_REQUEST"Use badRequest instead"Use badRequest insteadUNAUTHORIZED"Use unauthorized instead"Use unauthorized insteadPAYMENT_REQUIRED"Use paymentRequired instead"Use paymentRequired insteadFORBIDDEN"Use forbidden instead"Use forbidden insteadNOT_FOUND"Use notFound instead"Use notFound insteadMETHOD_NOT_ALLOWED"Use methodNotAllowed instead"Use methodNotAllowed insteadNOT_ACCEPTABLE"Use notAcceptable instead"Use notAcceptable insteadPROXY_AUTHENTICATION_REQUIRED"Use proxyAuthenticationRequired instead"Use proxyAuthenticationRequired insteadREQUEST_TIMEOUT"Use requestTimeout instead"Use requestTimeout insteadCONFLICT"Use conflict instead"Use conflict insteadGONE"Use gone instead"Use gone insteadLENGTH_REQUIRED"Use lengthRequired instead"Use lengthRequired insteadPRECONDITION_FAILED"Use preconditionFailed instead"Use preconditionFailed insteadREQUEST_ENTITY_TOO_LARGE"Use requestEntityTooLarge instead"Use requestEntityTooLarge insteadREQUEST_URI_TOO_LONG"Use requestUriTooLong instead"Use requestUriTooLong insteadUNSUPPORTED_MEDIA_TYPE"Use unsupportedMediaType instead"Use unsupportedMediaType insteadREQUESTED_RANGE_NOT_SATISFIABLE"Use requestedRangeNotSatisfiable instead"Use requestedRangeNotSatisfiable insteadEXPECTATION_FAILED"Use expectationFailed instead"Use expectationFailed insteadUPGRADE_REQUIRED"Use upgradeRequired instead"Use upgradeRequired insteadINTERNAL_SERVER_ERROR"Use internalServerError instead"Use internalServerError insteadNOT_IMPLEMENTED"Use notImplemented instead"Use notImplemented insteadBAD_GATEWAY"Use badGateway instead"Use badGateway insteadSERVICE_UNAVAILABLE"Use serviceUnavailable instead"Use serviceUnavailable insteadGATEWAY_TIMEOUT"Use gatewayTimeout instead"Use gatewayTimeout insteadHTTP_VERSION_NOT_SUPPORTED"Use httpVersionNotSupported instead"Use httpVersionNotSupported insteadNETWORK_CONNECT_TIMEOUT_ERROR"Use networkConnectTimeoutError instead"Use networkConnectTimeoutError insteadCastStream_sourceisBroadcastlistenonDataonDonecancelOnErrorCastStreamSubscription_zone_handleData_handleErrorcancelhandleDatahandleErrorhandleDone_onDatapauseresumeSignalresumeisPausedasFuturefutureValueCastStreamTransformercopyaddBytetakeBytestoBytes_CopyingBytesBuilder_initSize_emptyList_length_growrequired_clear_pow2roundup_BytesBuilder_chunks_CastIterableBaseCastIteratorCastIterable_EfficientLengthCastIterableListMixin_CastListBaseCastListCastSet_emptySet_defaultEmptySet_conditionalAddotherContains_cloneSKSVMapBaseCastMapQueueCastQueueremoveFirstaddFirstaddLastLateError_messagefieldADIfieldNamelocalADIlocalNamefieldNIlocalNIfieldAIlocalAIReachabilityErrorSubListIterable_iterable_endOrLength_endIndex_startIndexListIterator_index_current_TransformationMappedIterable_fEfficientLengthMappedIterableMappedIterator_iteratorMappedListIterable_ElementPredicateWhereIterableWhereIteratorsourceElement_ExpandFunctionExpandIterableExpandIterator_currentExpansionTakeIterable_takeCounttakeCountEfficientLengthTakeIterableTakeIterator_remainingTakeWhileIterableTakeWhileIterator_isFinishedSkipIterable_skipCountEfficientLengthSkipIterable_checkCountSkipIteratorSkipWhileIterableSkipWhileIterator_hasSkippedEmptyIteratorFollowedByIterablefirstEfficientEfficientLengthFollowedByIterableFollowedByIterator_currentIterator_nextIterableWhereTypeIterableWhereTypeIteratorIterableElementErrornoElementtooManytooFewFixedLengthListMixinUnmodifiableListMixinListBaseFixedLengthListBase_ListIndicesIterable_backedListUnmodifiableMapBaseListMapView_valuesReversedListIterableUnmodifiableListErrorchangeNonGrowableListErrorgrowableListmakeListFixedLengthfixedLengthListmakeFixedListUnmodifiableIterableBase_lastnewLastnewFirstnode_next_previousunlink_LinkedListIteratorprintToZoneprintToConsoleSort_INSERTION_SORT_THRESHOLDsortRange_doSort_insertionSort_dualPivotQuicksortreservedWordREr'(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|'(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|r'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|r'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|r'v(?:ar|oid)|w(?:hile|ith))'v(?:ar|oid)|w(?:hile|ith))publicIdentifierREr'(?!'(?!r'\b(?!\$))[a-zA-Z$][\w$]*'\b(?!\$))[a-zA-Z$][\w$]*identifierREr'\b(?!\$))[a-zA-Z$_][\w$]*'\b(?!\$))[a-zA-Z$_][\w$]*operatorREr'(?:[\-+*/%&|^]|\[\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)'(?:[\-+*/%&|^]|\[\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)publicSymbolPatternsymbolPatternunvalidatedvalidatedgetNamesymbolvalidatePublicSymbolisValidSymbolcomputeUnmangledNamedart._internalcollection'collections.dart'collections.dart'hash_map.dart'hash_map.dart'hash_set.dart'hash_set.dart'iterator.dart''linked_hash_map.dart'linked_hash_map.dart'linked_hash_set.dart'linked_hash_set.dart'maps.dart'maps.dart'queue.dart'queue.dart'set.dart''splay_tree.dart'splay_tree.dartUnmodifiableListView_defaultEquals_defaultHashCode_Equality_HasherHashMapequalsisValidKeyHashSetIterableMixiniterableToShortStringleftDelimiter'('(rightDelimiter')')iterableToFullString_toStringVisiting_isToStringVisitingparts_iterablePartsToStringsHasNextIterator_HAS_NEXT_AND_NEXT_IN_CURRENT_NO_NEXT_NOT_MOVED_YEThasNext_move_modificationCountentry_insertBeforenewEntryupdateFirst_unlink_visitedFirstpreviousinsertAfterinsertBeforelistToString_closeGap_filterretainMatching_compareAnynewContentsMapMixinmapToStringm_fillMapWithMappedIterable_fillMapWithIterablestransform_UnmodifiableMapMixin_MapBaseValueIterable_map_MapBaseValueIterator_keysMapViewUnmodifiableMapViewListQueueLink_DoubleLink_previousLink_nextLink_linkDoubleLinkedQueueEntry_elementappendprependpreviousEntrynextEntry_DoubleLinkedQueueEntryDoubleLinkedQueue_queue_asNonSentinelEntry_append_prepend_remove_DoubleLinkedQueueElementqueue_DoubleLinkedQueueSentinel_sentinel_elementCountremoveMatchingfirstEntrylastEntryforEachEntry_DoubleLinkedQueueIterator_nextEntrysentinel_INITIAL_CAPACITY_table_head_tailinitialCapacity_calculateCapacity_filterWhere_isPowerOf2_nextPowerOf2_checkModificationexpectedModificationCount_writeToList_preGrownewElementCount_ListQueueIterator_endSetMixinSetBasesetToStringset_SetBase_newSet_newSimilarSet_UnmodifiableSetMixin_throwUnmodifiable_UnmodifiableSetUnmodifiableSetView_PredicateNode_SplayTreeNode_left_right_SplayTreeSetNode_SplayTreeMapNode_replaceValue_SplayTree_rootnewValue_count_splayCount_compare_validKey_splay_splayMin_splayMax_addNewRootcomp_containsKey_dynamicCompare_defaultCompareSplayTreeMapkey1key2potentialKeyfirstKeylastKeylastKeyBeforefirstKeyAfter_SplayTreeIterator_tree_pathtree_rebuildPath_findLeftMostDescendent_getValue_SplayTreeKeyIterable_SplayTreeValueIterable_SplayTreeMapEntryIterable_SplayTreeKeyIterator_SplayTreeValueIterator_SplayTreeMapEntryIteratorSplayTreeSet_copyNodedart.collectionasync'async_error.dart'async_error.dart'broadcast_stream_controller.dart'broadcast_stream_controller.dart'deferred_load.dart'deferred_load.dart'future.dart'future.dart'future_impl.dart'future_impl.dart'schedule_microtask.dart'schedule_microtask.dart'stream.dart'stream.dart'stream_controller.dart'stream_controller.dart'stream_impl.dart'stream_impl.dart'stream_pipe.dart'stream_pipe.dart'stream_transformers.dart'stream_transformers.dart'timer.dart'timer.dart'zone.dart'zone.dartAsyncErrordefaultStackTraceerrorHandler_invokeErrorHandler_ControllerStream_BroadcastStream_StreamControllerLifecyclecontroller_ControllerSubscription_BroadcastSubscription_STATE_EVENT_ID_STATE_FIRING_STATE_REMOVE_AFTER_FIRING_eventState_expectsEventeventId_toggleEventId_isFiring_setRemoveAfterFiring_removeAfterFiring_onPause_onResume_StreamControllerBase_BroadcastStreamController_STATE_INITIAL_STATE_CLOSED_STATE_ADDSTREAMonListenFutureOronCancel_firstSubscription_lastSubscription_AddStreamState_addStreamState_Future_doneFutureonPauseonPauseHandleronResumeonResumeHandlerStreamSinkisClosedhasListener_hasOneListener_isAddingStream_mayAddEvent_ensureDoneFuture_isEmpty_addListenersubscription_removeListener_subscribe_recordCancelsub_recordPause_recordResume_addEventErrordoneaddStream_addError_close_forEachListener_BufferingStreamSubscription_callOnCancelSynchronousStreamController_SyncBroadcastStreamController_sendData_sendError_sendDone_AsyncBroadcastStreamController_EventDispatch_AsBroadcastStreamController_StreamImplEvents_pending_hasPending_addPendingEvent_DelayedEventevent_flushPendingDeferredLibrary"Dart sdk v. 1.8"Dart sdk v. 1.8libraryNameloadDeferredLoadException_s_nullFuture_falseFuturecomputationmicrotasksyncdelayedwaitfutureseagerErrorsuccessValuecleanUp_kTruedoWhilethenonValuecatchErrorwhenCompleteasStreamtimeouttimeLimitonTimeoutTimeoutExceptionCompleterfuturecompletecompleteErrorisCompletedresult_completeWithErrorCallback_asyncCompleteWithErrorCallback_FutureOnValue_FutureErrorTest_FutureAction_Completer_completeError_AsyncCompleter_SyncCompleter_FutureListenermaskValuemaskErrormaskTestErrormaskWhenCompletestateChainstateThenstateThenOnerrorstateCatchErrorstateCatchErrorTeststateWhenCompletemaskTypestateIsAwait_nextListenererrorCallbackthenAwait_ZonehandlesValuehandlesErrorhasErrorTesthandlesCompleteisAwait_onValue_onError_errorTest_whenCompleteActionhasErrorCallbackhandleValuesourceResult"vm:never-inline"vm:never-inlinematchesErrorTestasyncErrorhandleWhenCompleteshouldChain_stateIncomplete_statePendingComplete_stateChained_stateValue_stateError_resultOrListenersimmediatezoneValueimmediateError_mayComplete_isPendingComplete_mayAddListener_isChained_isComplete_hasError_continuationFunctions_setChained_thenAwait_setPendingComplete_clearPendingComplete_error_chainSource_setValue_setErrorObject_setError_cloneResultlistener_prependListenerslisteners_removeListeners_reverseListeners_chainForeignFuture_chainCoreFuture_complete_completeWithValue_asyncComplete_asyncCompleteWithValue_chainFuture_asyncCompleteError_propagateToListenerszone_registerErrorHandler_AsyncCallback_AsyncCallbackEntry_nextCallback_lastCallback_lastPriorityCallback_isInCallbackLoop_microtaskLoop_startMicrotaskLoop_scheduleAsyncCallback_schedulePriorityAsyncCallbackscheduleMicrotask'call'call_AsyncRun_scheduleImmediate_TimerCallback_EmptyStream"2.5"2.5fromFuturefromFuturesmultiMultiStreamControllerperiodicperiodcomputationCounteventTransformedmapSinkasBroadcastStreamasyncMapasyncExpandpipeStreamConsumerstreamConsumerstreamTransformerneedledraindistinctStreamView_stream_StreamSubscriptionTransformerfromHandlers_StreamHandlerTransformerfromBind_StreamBindTransformerStreamIterator_ControllerEventSinkWrapper_ensureSinkStreamControlleraddSyncaddErrorSynccloseSyncControllerCallbackControllerCancelCallbackbroadcast_EventSink_StreamController_STATE_SUBSCRIBED_STATE_CANCELED_STATE_SUBSCRIPTION_MASK_varData_isCanceled_isInitialState_pendingEvents_PendingEvents_ensurePendingEvents_subscription_badEventState_closeUnchecked_SyncStreamControllerDispatch_AsyncStreamControllerDispatch_AsyncStreamController_SyncStreamControllernotificationHandler_runGuarded_StreamImpl_controller_createSubscription_onCancel_StreamSinkWrapper_targetaddStreamFutureaddSubscriptionmakeErrorHandler_StreamControllerAddStreamStatevarData_STATE_CANCEL_ON_ERROR_STATE_INPUT_PAUSED_STATE_WAIT_FOR_CANCEL_STATE_IN_CALLBACK_STATE_HAS_PENDING_STATE_PAUSE_COUNT_DataHandler_DoneHandler_onDone_cancelFuturezoned_setPendingEventspendingEvents_registerDataHandler_registerDoneHandler_isInputPaused_isClosed_waitsForCancel_inCallback_isPaused_canFire_mayResumeInput_cancelOnError_cancel_decrementPauseCount_addPending_guardCallback_checkStatewasInputPaused_onListen_EventGenerator_GeneratedStreamImpl_isUsed_IterablePendingEventshandleNextdispatch_nullDataHandler_nullErrorHandler_nullDoneHandlerperform_DelayedData_DelayedError_DelayedDone_STATE_UNSCHEDULED_STATE_SCHEDULEDisScheduled_eventScheduledschedulecancelSchedulefirstPendingEventlastPendingEvent_BroadcastCallback_DoneStreamSubscription_DONE_SENT_SCHEDULED_PAUSED_isSent_isScheduled_schedule_AsBroadcastStream_onListenHandler_onCancelHandleronListenHandleronCancelHandler_cancelSubscription_pauseSubscription_resumeSubscription_isSubscriptionPaused_BroadcastSubscriptionWrapper_StreamIterator_stateData_initializeOrDone_MultiStream_MultiStreamControlleruserCodeonSuccess_runUserCode_cancelAndError_cancelAndErrorWithReplacement_cancelAndErrorClosure_cancelAndValue_ForwardingStream_handleDone_ForwardingStreamSubscription_addErrorWithReplacement_WhereStream_testinputEvent_MapStream_transform_ExpandStream_expand_HandleErrorStream_TakeStream_StateStreamSubscription_subState_TakeWhileStream_SkipStream_SkipWhileStream_DistinctStream_SENTINEL_equals_EventSinkWrapper_SinkTransformerStreamSubscription_transformerSink_SinkMappermapper_StreamSinkTransformer_sinkMapper_BoundSinkStream_TransformDataHandler_TransformErrorHandler_TransformDoneHandler_HandlerEventSink_bind_SubscriptionTransformer_BoundSubscriptionStreamTimertimerruntickisActive_createTimer_createPeriodicTimerZoneCallbackargZoneUnaryCallbackT1T2arg1arg2ZoneBinaryCallbackselfZoneDelegateparentHandleUncaughtErrorHandlerRunHandlerRunUnaryHandlerRunBinaryHandlerRegisterCallbackHandlerRegisterUnaryCallbackHandlerRegisterBinaryCallbackHandlerErrorCallbackHandlerScheduleMicrotaskHandlerCreateTimerHandlerCreatePeriodicTimerHandlerPrintHandlerZoneSpecificationspecificationzoneValuesForkHandler_ZoneFunction_RunNullaryZoneFunction_RunUnaryZoneFunction_RunBinaryZoneFunction_RegisterNullaryZoneFunction_RegisterUnaryZoneFunction_RegisterBinaryZoneFunctionhandleUncaughtErrorrunUnaryrunBinaryregisterCallbackregisterUnaryCallbackregisterBinaryCallbackcreateTimercreatePeriodicTimerfork_ZoneSpecificationroot_rootZoneerrorZoneinSameErrorZoneotherZoneargument1argument2runGuardedrunUnaryGuardedrunBinaryGuardedbindCallbackbindUnaryCallbackbindBinaryCallbackbindCallbackGuardedbindUnaryCallbackGuardedbindBinaryCallbackGuarded_enter_leave_ZoneDelegate_delegationTarget_run_runUnary_runBinary_registerCallback_registerUnaryCallback_registerBinaryCallback_errorCallback_scheduleMicrotask_print_fork_handleUncaughtError_delegate_parentDelegate_CustomZone_delegateCache_rootHandleUncaughtError_rethrow_rootRun_rootRunUnary_rootRunBinary_rootRegisterCallback_rootRegisterUnaryCallback_rootRegisterBinaryCallback_rootErrorCallback_rootScheduleMicrotask_rootCreateTimer_rootCreatePeriodicTimer_rootPrint_printToZone_rootFork_RootZone_rootMap_rootDelegatebodyzoneSpecification"Use runZonedGuarded instead"Use runZonedGuarded insteadrunZonedstackrunZonedGuarded_runZoneddart.asyncisolate"capability.dart"capability.dartIsolateSpawnExceptionIsolatebeforeNextEventSendPortcontrolPortCapabilitypauseCapabilityterminateCapabilitydebugNamepackageRoot'packages/ directory resolution is not supported in Dart 2.'packages/ directory resolution is not supported in Dart 2.packageConfigresolvePackageUripackageUrispawnentryPointpausederrorsAreFatalonExitspawnUriargscheckedenvironment'The packages/ dir is not supported in Dart 2'The packages/ dir is not supported in Dart 2automaticPackageResolutionresumeCapability_pauseaddOnExitListenerresponsePortresponseremoveOnExitListenersetErrorsFatalkillprioritypingaddErrorListenerremoveErrorListenererrorssendReceivePortfromRawReceivePortRawReceivePortrawPortsendPorthandlernewHandlerRemoteError_descriptiondescriptionstackDescriptionTransferableTypedData"2.3.2"2.3.2materializedart.isolatedeveloper'dart:isolate'dart:isolate'extension.dart'extension.dart'profiler.dart'profiler.dart'service.dart'service.dart'timeline.dart'timeline.dartwhendebuggerinspecttimesequenceNumberlevelServiceExtensionResponseerrorCodeerrorDetailkInvalidParamsinvalidParamskExtensionErrorextensionErrorkExtensionErrorMaxextensionErrorMaxkExtensionErrorMinextensionErrorMin_errorCodeMessage_validateErrorCodeisError_toStringServiceExtensionHandlerregisterExtensioneventKindeventDatapostEvent_postEvent_lookupExtension_registerExtensionUserTagMAX_USER_TAGSlabelmakeCurrentdefaultTaggetCurrentTagMetric_toJSONGaugeCounterMetrics_metricsregistermetricderegister_printMetricid"dart.vm.product"dart.vm.product_printMetricsServiceProtocolInfomajorVersionminorVersionserverUriServicegetInfocontrolWebServerenablesilenceOutputgetIsolateID_getServerInfo_webServerControl_getServiceMajorVersion_getServiceMinorVersion_getIsolateIDFromSendPort_hasTimeline"dart.developer.timeline"dart.developer.timelineTimelineSyncFunctionTimelineAsyncFunctionFlow_begin_step_typebeginstepTimelinestartSyncargumentsflowfinishSyncinstantSynctimeSync_SyncBlock_stackTimelineTaskfilterKeywithTaskIdtaskIdinstantpass_kFilterKey'filterKey'_parent_filterKey_taskId_AsyncBlockcategory_finish_arguments_flow_startSync_argumentsAsJson_isDartStreamEnabled"asm-intrinsic"asm-intrinsic_getNextAsyncId_getTraceClockphaseargumentsAsJson_reportTaskEventtype_reportFlowEvent_reportInstantEventdart.developerffi"native_type.dart"native_type.dart"allocation.dart"allocation.dart"dynamic_library.dart"dynamic_library.dart"struct.dart"struct.dartNativeTypesizeOfPointernullptrfromAddressptrfromFunctionNativeFunctionDartRepresentationOf"T"exceptionalReturnaddressUArraydimension1dimension2dimension3dimension4dimension5_ArraySizedimensionsNFNativeFunctionPointerasFunctionDF"NF"Int8Int8PointerasTypedListInt16Int16PointerInt32Int32PointerInt64Int64PointerUint8Uint8PointerUint16Uint16PointerUint32Uint32PointerUint64Uint64PointerIntPtrIntPtrPointerFloatFloatPointerDoubleDoublePointerInt8ArrayInt16ArrayInt32ArrayInt64ArrayUint8ArrayUint16ArrayUint32ArrayUint64ArrayIntPtrArrayFloatArrayDoubleArrayPointerPointerStructStructPointerPointerArrayStructArrayArrayArrayNativePortnativePortOpaqueDart_CObjectVoidDart_NativeMessageHandlerNativeApipostCObjectnewNativePortcloseNativePortinitializeApiDLData_NativeInteger_NativeDoubleunsizedHandleAllocatorallocatebyteCountalignmentfreepointerAllocatorAllocnativeTypeUnsizedDynamicLibraryprocessexecutableopensymbolNamehandleDynamicLibraryExtensionlookupFunctionF_addressOf_fromPointerPackedmemberAlignmentdart.ffidart2js_embedded_namesNATIVE_SUPERCLASS_TAG_NAMEr"$nativeSuperclassTag"$nativeSuperclassTagSTATIC_FUNCTION_NAME_PROPERTY_NAMEr'$static_name'$static_nameCONSTRUCTOR_RTI_CACHE_PROPERTY_NAMEr'$ccache'$ccacheMETADATA'metadata'metadataTYPES'types'GET_TYPE_FROM_NAME'getTypeFromName'getTypeFromNameMANGLED_GLOBAL_NAMES'mangledGlobalNames'mangledGlobalNamesMANGLED_NAMES'mangledNames'mangledNamesINTERCEPTORS_BY_TAG'interceptorsByTag'interceptorsByTagLEAF_TAGS'leafTags'leafTagsGET_ISOLATE_TAG'getIsolateTag'getIsolateTagISOLATE_TAG'isolateTag'isolateTagARRAY_RTI_PROPERTY'arrayRti'arrayRtiDISPATCH_PROPERTY_NAME"dispatchPropertyName"dispatchPropertyNameTYPE_TO_INTERCEPTOR_MAP"typeToInterceptorMap"typeToInterceptorMapCURRENT_SCRIPT'currentScript'currentScriptDEFERRED_LIBRARY_PARTS'deferredLibraryParts'deferredLibraryPartsDEFERRED_PART_URIS'deferredPartUris'deferredPartUrisDEFERRED_PART_HASHES'deferredPartHashes'deferredPartHashesINITIALIZE_LOADED_HUNK'initializeLoadedHunk'initializeLoadedHunkIS_HUNK_LOADED'isHunkLoaded'isHunkLoadedIS_HUNK_INITIALIZED'isHunkInitialized'isHunkInitializedDEFERRED_INITIALIZED'deferredInitialized'deferredInitializedRTI_UNIVERSE'typeUniverse'typeUniverseGETTER_PREFIXSETTER_PREFIXCALL_PREFIXCALL_PREFIX0CALL_PREFIX1CALL_PREFIX2CALL_PREFIX3CALL_PREFIX4CALL_PREFIX5CALL_CATCH_ALLREQUIRED_PARAMETER_PROPERTYDEFAULT_VALUES_PROPERTYCALL_NAME_PROPERTYDEFERRED_ACTION_PROPERTYOPERATOR_AS_PREFIXOPERATOR_IS_PREFIXSIGNATURE_NAMERTI_NAMEFUTURE_CLASS_TYPE_NAMEIS_INDEXABLE_FIELD_NAMENULL_CLASS_TYPE_NAMEOBJECT_CLASS_TYPE_NAMERTI_FIELD_ASRTI_FIELD_ISJsGetNamedartObjectConstructordartClosureConstructorisJsInteropTypeArgumentgetMetadatagetTypeJsBuiltinRtiUniverseFieldNamesevalCachetypeRuleserasedTypestypeParameterVariancessharedEmptyArraydart2js._embedded_names_js_names'dart:_js_embedded_names'dart:_js_embedded_namesJSJS_EMBEDDED_GLOBALJS_GET_NAME'dart:_foreign_helper'dart:_foreign_helperJsCacheNoInline'dart:_js_helper'dart:_js_helperJSArray'dart:_interceptors'dart:_interceptorspreserveNames_LazyMangledNamesMap_LazyReflectiveNamesMapreflectiveNamesreflectiveGlobalNames_jsMangledNames_LazyMangledInstanceNamesMap_isInstance_cacheLength_cache_updateReflectiveNames_jsMangledNamesLengthvictimextractKeys'dart2js:noInline'dart2js:noInlineunmangleGlobalNameIfPreservedAnywaysunmangleAllIdentifiersIfPreservedAnywaysdart._js_names_recipe_syntaxRecipe_commaseparatorString_commaStringtoType_semicolontoTypeString_semicolonStringpushErased_hashpushErasedString_hashStringpushDynamic_atpushDynamicString_atStringpushVoid_tildepushVoidString_tildeStringwrapStar_asteriskwrapStarString_asteriskStringwrapQuestion_questionwrapQuestionString_questionStringwrapFutureOr_slashwrapFutureOrString_slashStringstartTypeArguments_lessThanstartTypeArgumentsString_lessThanStringendTypeArguments_greaterThanendTypeArgumentsString_greaterThanStringstartFunctionArguments_leftParenstartFunctionArgumentsString_leftParenStringendFunctionArguments_rightParenendFunctionArgumentsString_rightParenStringstartOptionalGroup_leftBracketstartOptionalGroupString_leftBracketStringendOptionalGroup_rightBracketendOptionalGroupString_rightBracketStringstartNamedGroup_leftBracestartNamedGroupString_leftBraceStringendNamedGroup_rightBraceendNamedGroupString_rightBraceStringnameSeparator_colonnameSeparatorString_colonStringrequiredNameSeparator_exclamationrequiredNameSeparatorString_exclamationStringgenericFunctionTypeParameterIndex_circumflexgenericFunctionTypeParameterIndexString_circumflexStringextensionOp_ampersandextensionOpString_ampersandStringpushNeverExtensionpushNeverExtensionStringpushAnyExtensionpushAnyExtensionStringisDigitdigitValueisIdentifierStart_period_formfeed_formfeedString'\f' _space_spaceString'!'!'#'#_dollar_dollarStringr'$'$_percent_percentString'%''&'_apostrophe_apostropheString"'"''*'_plus_plusString'+'',',_minus_minusString'-'_periodString'.'.'/'_digit0_digit9':'';';'<'_equalsString'='='>''?'?'@'@_uppercaseA_uppercaseZ'['[_backslash_backslashStringr'\'\']']'^'_underscore_underscoreString'_'_backtick_backtickString'`'`_lowercaseA_lowercaseZ'{'{_vertical_verticalString'|''}'}'~'testEquivalencedart2js._recipe_syntaxrtigetInterceptorgetJSArrayInteropRtiJS_BUILTINJS_GET_FLAGJS_STRING_CONCATRAW_DART_FUNCTION_REFTYPE_REFLEGACY_TYPE_REFJavaScriptFunctionJSNullJSUnmodifiableArray'dart:_js_names'dart:_js_names'dart:_recipe_syntax'dart:_recipe_syntaxRti_as'dart2js:noElision'dart2js:noElision_is_setAsCheckFunctionfn_setIsTestFunction_asCheck'dart2js:tryInline'dart2js:tryInline_isCheck_evalrecipetypeOrTuple_bind1_precomputed1_getPrecomputed1_setPrecomputed1precomputed_getQuestionFromStaruniverse_getFutureFromFutureOr_precomputed2_precomputed3_precomputed4_specializedTestResource_getSpecializedTestResource_setSpecializedTestResource_cachedRuntimeType_getCachedRuntimeType_Type_setCachedRuntimeType_kind_getKind_setKindkindkindNeverkindDynamickindVoidkindAnykindErasedkindStarkindQuestionkindFutureOrkindInterfacekindBindingkindFunctionkindGenericFunctionkindGenericFunctionParameter_isUnionOfFunctionType_primary_getPrimary_setPrimary_rest_getRest_setRest_getInterfaceName_getInterfaceTypeArguments_getBindingBase_getBindingArguments_getStarArgument_getQuestionArgument_getFutureOrArgument_getReturnType_getFunctionParameters_FunctionParameters_getGenericFunctionBase_getGenericFunctionBounds_getGenericFunctionParameterIndex_evalCache_getEvalCache_setEvalCache_bindCache_getBindCache_setBindCache_canonicalRecipe_getCanonicalRecipe_setCanonicalRecipe_requiredPositional_getRequiredPositional_setRequiredPositionalrequiredPositional_optionalPositional_getOptionalPositional_setOptionalPositionaloptionalPositional_getNamed_setNamed_theUniverse_rtiEval_rtiBind1_rtiBindfindTypeevalInInstancegenericFunctionRtiinstantiationRtiinstantiatedGenericFunctionTypedepth_substitutertiArray_substituteArraynamedArray_substituteNamedfunctionParameters_substituteFunctionParameters_isDartObject_isClosuresetRuntimeTypeInfoclosureclosureFunctionTypetestRtiinstanceOrFunctionTypeinstanceType_arrayInstanceType_instanceTypeinstanceTypeName_instanceTypeFromConstructorconstructor_instanceTypeFromConstructorMiss_instanceFunctionTypegetTypeFromTypesTablegetRuntimeTypecreateRuntimeTypetypeLiteral_rti_installSpecializedIsTestisFn_finishIsFn_simpleSpecializedIsTest_installSpecializedAsCheck_nullIs_generalIsTestImplementation_generalNullableIsTestImplementation_isTestViaProperty_generalAsCheckImplementation_generalNullableAsCheckImplementation_failedAsCheckboundvariablemethodNamecheckTypeBoundthrowTypeError_ErrorcomposeobjectRticheckedTypeDescription_TypeErrorfromMessageforType_isObject_asObject_isTop_asTop_isBool_asBool_asBoolS_asBoolQ_asDouble_asDoubleS_asDoubleQ_isInt_asInt_asIntS_asIntQ_isNum_asNum_asNumS_asNumQ_isString_asString_asStringS_asStringQarraygenericContext_rtiArrayToStringfunctionTypebounds_functionRtiToString_rtiToStringrawClassName_unminifyOrTag_rtiArrayToDebugStringfunctionParametersToString_rtiToDebugString_Universecreate_findRuletargetTypefindRulefindErasedTypeclsfindTypeParameterVariancesaddRulesrulesaddErasedTypesaddTypeParameterVariancesvariancesevalevalInEnvironmentargumentsRtibind1evalTypeVariable_parseRecipe_installTypeTests_installRti_recipeJoins1s2_recipeJoin3s3_recipeJoin4s4_recipeJoin5s5_canonicalRecipeOfErased_canonicalRecipeOfDynamic_canonicalRecipeOfVoid_canonicalRecipeOfNever_canonicalRecipeOfAny_canonicalRecipeOfStarbaseType_canonicalRecipeOfQuestion_canonicalRecipeOfFutureOr_canonicalRecipeOfGenericFunctionParameter_lookupErasedRti_lookupDynamicRti_lookupVoidRti_lookupNeverRti_lookupAnyRti_lookupTerminalRti_createTerminalRti_lookupStarRti_createStarRti_lookupQuestionRti_createQuestionRti_lookupFutureOrRti_createFutureOrRti_lookupGenericFunctionParameterRti_createGenericFunctionParameterRti_canonicalRecipeJoin_canonicalRecipeJoinNamed_canonicalRecipeOfInterface_lookupInterfaceRti_createInterfaceRti_lookupFutureRti_canonicalRecipeOfBinding_lookupBindingRti_createBindingRti_canonicalRecipeOfFunctionreturnType_canonicalRecipeOfFunctionParameters_lookupFunctionRti_createFunctionRti_canonicalRecipeOfGenericFunctionbaseFunctionType_lookupGenericFunctionRti_createGenericFunctionRti_ParserparserpositionsetPositionpcharCodeAtpushpoppushStackFramehandleDigitdigithandleIdentifierhasPeriodhandleTypeArgumentsoptionalPositionalSentinelnamedSentinelhandleFunctionArgumentshandleOptionalGrouphandleNamedGrouphandleExtendedOperationscollectArraycollectNameditemtoTypesitemstoTypesNamedindexToTypetoGenericFunctionParameterTypeRulelookupTypeVariableruletypeVariablelookupSupertypesupertypeVariancelegacyCovariantcovariantcontravariantinvarianttisSubtypesEnvtEnv_isSubtype_isFunctionSubtype_isInterfaceSubtypeisNullableisTopType'dart2js:parameter:trust'dart2js:parameter:trustisStrongTopTypeisBottomTypeisObjectTypeisLegacyObjectTypeisNullableObjectTypeisNullTypeisFunctionTypeisJsFunctionType_UtilsasBoolasDoubleasIntasNumasStringasRtiasRtiOrNullisStringisNuminstanceOfisIdenticalisNotIdenticalisMultipleOfdobjectKeysobjectAssignisArrayarrayLengtharrayAtarraySetAtarrayShallowCopyarraySplicearrayConcata1a2arrayPushstringLessThanmapGetcachemapSettestingCanonicalRecipetestingRtiToStringtestingRtiToDebugStringtestingCreateUniversetestingAddRulestestingAddTypeParameterVariancesrti1rti2testingIsSubtypetestingUniverseEvaltestingUniverseEvalOverridetestingEnvironmentEvaltestingEnvironmentBind_foreign_helper'dart:_rti'dart:_rtitypeDescriptioncodeTemplatearg0arg3arg4arg5arg6arg7arg8arg9arg10arg11arg12arg13arg14arg51arg16arg17arg18arg19DART_CLOSURE_TO_JSstaticStateJS_SET_STATIC_STATEJS_INTERCEPTOR_CONSTANTJS_GET_STATIC_STATEbuiltinJS_EFFECTJS_CONSTcreateJsSentinelisJsSentinel_js_helperINTERCEPTED_NAMES_symbol_dev'dart:_native_typed_data'dart:_native_typed_datanewRti'annotations.dart''constant_map.dart'constant_map.dart'instantiation.dart'instantiation.dart'native_helper.dart'native_helper.dart'regexp_helper.dart'regexp_helper.dart'string_helper.dart'string_helper.dartInternalMapunminifyOrTagrequiresPreamblerecordisJsIndexableinternalNameargumentNamescreateInvocationMirrorcreateUnmangledInvocationMirrorthrowInvalidReflectionErrorqualifiedNametraceHelperJSInvocationMirrorMETHODGETTERSETTER_memberName_internalName_namedArgumentNames_typeArgumentCountPrimitivesobjectHashCodeparseIntparseDoubleDOLLAR_CHAR_VALUEobjectTypeName_objectTypeNameNewRti_saneNativeClassNameobjectToHumanReadableStringdateNowinitTickertimerFrequencytimerTickscurrentUri_fromCharCodeApplystringFromCodePointscodePointsstringFromCharCodesstringFromNativeUint8ListNativeUint8ListstringFromCharCodestringConcatUncheckedstring1string2flattenStringgetTimeZoneNamegetTimeZoneOffsetInMinutesvalueFromDecomposedDateyearslazyAsJsDategetYear'dart2js:noSideEffects'dart2js:noSideEffects'dart2js:noThrows'dart2js:noThrowsgetMonthgetDaygetHoursgetMinutesgetSecondsgetMillisecondsgetWeekdayvalueFromDateStringgetPropertysetPropertyfunctionNoSuchMethodapplyFunction_genericApplyFunction2extractStackTracefetchiaeioorediagnoseIndexErrordiagnoseRangeErrorstringLastIndexOfUncheckedargumentErrorValuecheckNullcheckNumcheckIntcheckBoolcheckStringexwrapExceptiontoStringWrapperthrowExpressionthrowUnsupportedErrorsameLengthcheckConcurrentModificationErrorthrowConcurrentModificationErrorTypeErrorDecoder_pattern_argumentsExpr_expr_method_receivernoSuchMethodPatternnotClosurePatternnullCallPatternnullLiteralCallPatternundefinedCallPatternundefinedLiteralCallPatternnullPropertyPatternnullLiteralPropertyPatternundefinedPropertyPatternundefinedLiteralPropertyPatternmatchTypeErrorbuildJavaScriptObjectbuildJavaScriptObjectWithNonClosureextractPatternprovokeCallErrorOnexpressionprovokeCallErrorOnNullprovokeCallErrorOnUndefinedprovokePropertyErrorOnprovokePropertyErrorOnNullprovokePropertyErrorOnUndefinedNullErrorJsNoSuchMethodErrorUnknownJsTypeErrorNullThrownFromJavaScriptException_irritantExceptionAndStackTracedartExceptionunwrapExceptionsaveStackTrace_unwrapNonDartExceptiontryStringifyExceptionexceptiongetTraceFromException_StackTrace_exception_tracekeyValuePairsfillLiteralMapfillLiteralSetgetIndexgetLengthnumberOfArgumentsinvokeClosurearityconvertDartClosureToJSClosureFUNCTION_INDEXNAME_INDEXCALL_NAME_INDEXREQUIRED_PARAMETER_INDEXOPTIONAL_PARAMETER_INDEXDEFAULT_ARGUMENTS_INDEXfunctionCounterfromTearOfffunctionsapplyTrampolineIndexreflectionInfoisStaticisInterceptedpropertyName_computeSignatureFunctionNewRticspForwardCallisSuperCallstubNameisCspforwardCallTocspForwardInterceptedCallforwardInterceptedCallToclosureFromTearOffTearOffClosureStaticClosureBoundClosure_selfevalRecipeevalRecipeInterceptedselfOftargetOfreceiverOfnameOfselfFieldNameCacheselfFieldNamereceiverFieldNameCachereceiverFieldNamecomputeFieldNamedjsObjectpropertyjsHasOwnPropertyjsPropertyAccessgetFallThroughErrorCreatesReturnsJSNameboolConversionCheckloadIdcheckDeferredIsLoadedJSMutableIndexableJavaScriptIndexingBehaviorFallThroughErrorImplementationconditionassertTestassertThrowassertHelperexpectedArgumentNamesthrowNoSuchMethodstaticNamethrowCyclicInitRuntimeErrorDeferredNotLoadedErrorUnimplementedNoSuchMethodErrorrandom64jsonEncodeNativegetIsolateAffinityTagLoadLibraryFunctionType_loadLibraryWrapper_loadingLibraries_loadedLibraries_eventLogDeferredLoadCallbackdeferredLoadHookloadDeferredLibrary_cspNonce_computeCspNonce_crossOrigin_computeCrossOrigin_isWorkerthisScript_computeThisScript_computeThisScriptFromTracehunkName_loadHunkconvertMainArgumentList_AssertionError_UnreachableErrorassertUnreachableregisterGlobalObjectnativeObjectapplyExtensionnamesapplyTestExtensionstestPlatformEnvironmentVariableValue'dart2js.test.platform.environment.variable'dart2js.test.platform.environment.variable'not-specified'not-specifiedtestingGetPlatformEnvironmentVariable_RequiredkRequiredSentinelisRequiredthrowLateInitializationErrorisJSFunctionassertInteropassertInteropArgsNative_PatchpatchConstantMapConstantMapViewvalConstantStringMap_jsObject_keysArray_fetchConstantProtoMap_protoValue_ConstantMapKeyIterableGeneralConstantMap_jsData_getMapInstantiation_genericClosure_typesInstantiation1Instantiation2T3Instantiation3T4Instantiation4T5Instantiation5T6Instantiation6T7Instantiation7T8Instantiation8T9Instantiation9T10Instantiation10T11Instantiation11T12Instantiation12T13Instantiation13T14Instantiation14T15Instantiation15T16Instantiation16T17Instantiation17T18Instantiation18T19Instantiation19T20Instantiation20instantiate1instantiate2instantiate3instantiate4instantiate5instantiate6instantiate7instantiate8instantiate9instantiate10instantiate11instantiate12instantiate13instantiate14instantiate15instantiate16instantiate17instantiate18instantiate19instantiate20userAgentarrayGetarraySetpropertyGetcallHasOwnPropertypropertySetgetPropertyFromPrototypegetTagFunctionalternateTagFunctionprototypeForTagFunctiontoStringForNativeObjecthashCodeForNativeObjectdefinePropertyisDartObjectinterceptorClassConstructorfindDispatchTagForInterceptorClassdispatchRecordsForInstanceTagsinterceptorsForUncacheableTagstaglookupInterceptorUNCACHED_MARKINSTANCE_CACHED_MARKLEAF_MARKINTERIOR_MARKDISCRIMINATED_MARKlookupAndCacheInterceptorpatchInstancepatchProtointerceptorpatchInteriorProtomakeLeafDispatchRecordinterceptorClassprotomakeDefaultDispatchRecordsetNativeSubclassDispatchRecordconstructorNameFallbackinitNativeDispatchFlaginitNativeDispatchinitNativeDispatchContinueinitHookstransformerhooksapplyHooksTransformer_baseHooksr''' +dart:async +dart:asyncdart:async/async_error.dart+dart:async/broadcast_stream_controller.dartdart:async/deferred_load.dartdart:async/future.dartdart:async/future_impl.dart"dart:async/schedule_microtask.dartdart:async/stream.dart!dart:async/stream_controller.dartdart:async/stream_impl.dartdart:async/stream_pipe.dart#dart:async/stream_transformers.dartdart:async/timer.dartdart:async/zone.dartdart:collectiondart:collection dart:collection/collections.dartdart:collection/hash_map.dartdart:collection/hash_set.dartdart:collection/iterable.dartdart:collection/iterator.dart$dart:collection/linked_hash_map.dart$dart:collection/linked_hash_set.dart dart:collection/linked_list.dartdart:collection/list.dartdart:collection/maps.dartdart:collection/queue.dartdart:collection/set.dartdart:collection/splay_tree.dart dart:convert dart:convertdart:convert/ascii.dartdart:convert/base64.dart!dart:convert/byte_conversion.dart$dart:convert/chunked_conversion.dartdart:convert/codec.dartdart:convert/converter.dartdart:convert/encoding.dartdart:convert/html_escape.dartdart:convert/json.dartdart:convert/latin1.dartdart:convert/line_splitter.dart#dart:convert/string_conversion.dartdart:convert/utf.dart dart:core% dart:coredart:core/annotations.dartdart:core/bigint.dartdart:core/bool.dartdart:core/comparable.dartdart:core/date_time.dartdart:core/double.dartdart:core/duration.dartdart:core/enum.dartdart:core/errors.dartdart:core/exceptions.dartdart:core/function.dartdart:core/identical.dartdart:core/int.dartdart:core/invocation.dartdart:core/iterable.dartdart:core/iterator.dartdart:core/list.dartdart:core/map.dartdart:core/null.dartdart:core/num.dartdart:core/object.dartdart:core/pattern.dartdart:core/print.dartdart:core/record.dartdart:core/regexp.dartdart:core/set.dartdart:core/sink.dartdart:core/stacktrace.dartdart:core/stopwatch.dartdart:core/string.dartdart:core/string_buffer.dartdart:core/string_sink.dartdart:core/symbol.dartdart:core/type.dartdart:core/uri.dartdart:core/weak.dartdart:developerdart:developerdart:developer/extension.dartdart:developer/profiler.dartdart:developer/service.dartdart:developer/timeline.dartdart:ffi dart:ffidart:ffi/abi.dartdart:ffi/abi_specific.dartdart:ffi/native_type.dartdart:ffi/native_finalizer.dartdart:ffi/allocation.dartdart:ffi/annotations.dartdart:ffi/c_type.dartdart:ffi/dynamic_library.dartdart:ffi/struct.dartdart:ffi/union.dart dart:html dart:htmldart:html_commondart:html_common#dart:html_common/css_class_set.dart!dart:html_common/conversions.dart)dart:html_common/conversions_dart2js.dartdart:html_common/device.dart+dart:html_common/filtered_element_list.dartdart:html_common/lists.dartdart:indexed_dbdart:indexed_db +dart:_http +dart:_httpdart:_http/crypto.dartdart:_http/embedder_config.dartdart:_http/http_date.dartdart:_http/http_headers.dartdart:_http/http_impl.dartdart:_http/http_parser.dartdart:_http/http_session.dartdart:_http/http_testing.dartdart:_http/overrides.dartdart:_http/websocket.dartdart:_http/websocket_impl.dartdart:iodart:iodart:io/common.dartdart:io/data_transformer.dartdart:io/directory.dartdart:io/directory_impl.dartdart:io/embedder_config.dartdart:io/eventhandler.dartdart:io/file.dartdart:io/file_impl.dartdart:io/file_system_entity.dartdart:io/io_resource_info.dartdart:io/io_sink.dartdart:io/io_service.dartdart:io/link.dartdart:io/namespace_impl.dartdart:io/network_profiling.dartdart:io/overrides.dartdart:io/platform.dartdart:io/platform_impl.dartdart:io/process.dart!dart:io/secure_server_socket.dartdart:io/secure_socket.dartdart:io/security_context.dartdart:io/service_object.dartdart:io/socket.dartdart:io/stdio.dartdart:io/string_transformer.dartdart:io/sync_socket.dart dart:isolate dart:isolatedart:isolate/capability.dartdart:jsdart:jsdart:_jsdart:_js dart:js_util dart:js_util dart:math dart:mathdart:math/point.dartdart:math/random.dartdart:math/rectangle.dart dart:mirrors dart:mirrorsdart:nativewrappersdart:nativewrappersdart:typed_datadart:typed_data,dart:typed_data/unmodifiable_typed_data.dartdart:_native_typed_datadart:_native_typed_datadart:clidart:clidart:cli/wait_for.dartdart:svgdart:svgdart:web_audiodart:web_audio dart:web_gl dart:web_gldart:_internal dart:_internaldart:_internal/async_cast.dart!dart:_internal/bytes_builder.dartdart:_internal/cast.dartdart:_internal/errors.dartdart:_internal/iterable.dartdart:_internal/list.dartdart:_internal/linked_list.dartdart:_internal/patch.dartdart:_internal/print.dartdart:_internal/sort.dartdart:_internal/symbol.dartdart:_js_helperdart:_js_helper(dart:_native_typed_data/annotations.dart)dart:_native_typed_data/constant_map.dart*dart:_native_typed_data/instantiation.dart*dart:_native_typed_data/native_helper.dart*dart:_native_typed_data/regexp_helper.dart*dart:_native_typed_data/string_helper.dart,dart:_native_typed_data/linked_hash_map.dartdart:_late_helperdart:_late_helper dart:_rti dart:_rtidart:_dart2js_runtime_metricsdart:_dart2js_runtime_metricsdart:_interceptorsdart:_interceptors%dart:_native_typed_data/js_array.dart&dart:_native_typed_data/js_number.dart&dart:_native_typed_data/js_string.dartdart:_foreign_helperdart:_foreign_helperdart:_js_namesdart:_js_namesdart:_js_primitivesdart:_js_primitivesdart:_js_embedded_namesdart:_js_embedded_namesdart:_js_shared_embedded_namesdart:_js_shared_embedded_namesdart:_async_await_error_codesdart:_async_await_error_codesdart:_recipe_syntaxdart:_recipe_syntaxdart:_load_library_prioritydart:_load_library_prioritydart:_metadatadart:_metadatadart:_js_annotationsdart:_js_annotationsn!!  +  $*:@DII[`x!#%&'()*+,-./0(1+2.31445  J6Wd!q8~9;<=>?@ABBCDDEF GHI"J'K,(1L6M;N@OI; < iPrQRSRT*+,-.UVWRXRYZ+[\]F.:^+C_P`SabR{c~dM;<Ye+fgh;<e+fg!i@jNkS;<plm}Z+[n\cooppquvu v wxyz {{||} 5; _lx +0@@Ā@b@@b ,X,b̀z߀z   %+;Iq,Ѐ쀶@5KK botzŀՀ.;HUboʀπ +!&+GL`hm  ـ     hs +ŀҀ߀"=(/ KPUZ_dint} ŀр, ,@C,nbQ ΁ + ݁   @"1:GV\bkz@    & 9!@F"PQ#T$W%d&q'+,-./0011 Ɓ2 ց34567 89)Nx<=>?;BCD#EFG `G@~H;R<RցI*m,-.Jm7KLmbMLmNLmĀ,OLPQ4RSUTUVWXUVԁYZ\]b ^Gn_}`abcdeʁfgeh+ijV fklml΁nlopGMq XI]crl*s+,-tuvwxcy Zm[\z +{FjH;R<RI*,-.| ]F#\,} OOX^\g~ v;F.Łs+GGtG~ˁG@F_+ KQ_i tzFr ՁZ+[\ )/8FIVV l;uB~D<FGHIJO;BD<;<&Zm/[=\F].a x~Z+[\ T*+,-.WRXRUR SY  o6|89=A; BD< .F:GFKJPUHZI_LdMivO; B D < ÁЁ].PZ[\^%_2`5T*+,-.lURWRXR e+fg e+fg M l *+,-.䁲  *+,-.T]3`4cyO Z+[\]Ձꁹ.A%u(w+r47IM .~¤ ^+_`ف e+fg1>8KXesɀρ؀=j  k %*/I4*+,-.f *+,-.*sḿ@s,@-t@t4uvAwDrMxccfi^+r_`34me+fgʁ I*+,-.#*+,-.ZRf q | ҁ  ! + 8>KVcp~=4Zmρ߁&=,5:?ID UX*s+t,|-tuvwrxcg˂؂!/<AF RRI*+,-.恴v +{I${ 7*s+S,[-tfuvswvrxc  ׂ F #r,+5BEW\I*+,-.ց  #I*m,-.]|F+‚ł  ! =I*,-.x*+,-.+GłG߂G{%{ *+,-.r^+{_34+ƂG, H!lRmG"؂# +OmKGa$y  +GG/%G&Mep*+,-.G'ق(F*+,-.( 8)PfG*΂&e*+,-..GD+\r*+,-.G,-.8j/0*+,-.Gт123,"4RA5R`6R7R8G9::;; < ,Z+5[C\F=\>jw?*+,-. ^+_`34 +*-AIB{B FقCB!{.3{ B I*m,-.D؂ +@bp   Z+[-\0ELs+GGtGFF9G\G FHǁ MFeI{{{  I*m,-.WJKL@XM@NOOP@P@Q @R@S@ABTA8U@ACrAFVPAZWPTXXYAY AZAA[A [ A\ A]AUBD`BbCgCohCނiDmD'DjE9kElEɂnF ]U`bghi'jklnJq]U`bghi'jklnOr O]OVUO`ObPxgPʂhQ:iQʀR'RMjRkRlS+nS ] U ` b g h i  ' j k l n Xs X X%]X8UXR`aaXbcdefefXׂgXhaYHicdefYY΁'Y߂jYkCTZ%lmZ3nopZQt ZXuZkwZrZx_Z~xZZ]ZyzZnopZUbZԂ`b{{[bcdb|}|}[M~b[Xb{{[~cdb|}|}[g[߂ha\$icdef\\{\cd|}]]]m{]cd|}]]'^j^kCT^Blm^J@^V@V^_^g^s^z ^]^U^`aa^bcdefef_;g_aha_icdef``2'`Cj`]kCT`lm`nop` `łaawabQbǂc]ccVd>Wdd܂e6e_eeeeeyzeełe͂ffgg]gԂhkhhViOWiijJjj_jjjjxj_ o j~jaakcdefefk`kakłcdefl/l?alocdefllǂ]lԂnoplUm`aam5bcdefefmgmhamicdefnNn^'nijn}kTnlmnnnnǂooyopSpɂq_qqVr@Wrrނs8s_ssssxss~saasႀcdefeft"tBatcdeftuau1cdefuu]unopuUuȂ`aavbcdefefvcgvhavȂicdefw2wB'wMjwakTwlmw^_ww^_wႥ^_aax"cd^_efefx~^_x^_aycd^_efy^_y^_y‚^_y肭^_Tz ^_mz:mzB^_opzpp,z,p{'po{Q{h{cd{炾|i|}~G$Bʂ?ӂv.Me+4gicnk293mn=&135-./0246789:;@<+pqn0!΂΂! ЂЂ˂ނ3 _pӂӂ&& FjqƁ> X/0g/q  +jZ`qp 34567_сKJ'7Ok\bTUWXU^@YZSt`adefՁgehkl>mllnlop ʂ@@$.I +VVan{=   + +   j06qH`>   jflq|bу׃݃35674  #Z,<G\QTbqƃ̂w&ڃ !")&0'7!D JVPV#Y$b%&&'k'k( )@!*  4قށ55667+4op :bW\a^klсmlnl-YZ@JiyKOځTUWXUMge_hdefÁ`܁aZ ,-./80W12{~_3456@/0Ń78σ9:;-.<-.)=-.6>-.?J@-.AqB-.CD-E-ЃF-G-HpIp Jp5KpJLLMOMON k}O@PQ@RS@KT@KU 0=V3[4`erxV_WXbYZ[\\[R]\K^_R׃`a/$b.3c `dw34576 ڃefw#K;@g ` fVu`/Z[\\[1]\ch43K_WX)4VCX[Z[rb|YbŃ`K^_R4\\[i]\/̃iK_WXjjk5k5l LYqp G@_m3ƃσnZ/0955V(Z[?\\[t]\bY %]p~˃34% G\Qa^u34 䂛34 HKK1jσ؃G_l3q4v{5675݂q5$5n~_\Z^ȃ׃惡 +#=Jpsa/0an!  EPg L-.ÃG܁F")/  G\J-.a z  L-.ф-.GF#SGemt \Z-. \Z-. 0> +> W +^dj  -.@39 RX LGɄЄ߄ =!# ."@e#=$@G%@Q&'\-.}(@)-.@*+@)@*e#τ,ׄ- &'. Z\-.4^-.R/Zg +n ^-.0 + ^-.1  L-.>GW2 ^ky345DŽ6Ԅ79;==  >@e# %@*$@4?@@>A@HB@R-.g\.tC@-.@DE@-.F@-.Ƅ@-.߄G灏H Z'\*-.AIRJcKnLMNPPQQ΄R ST#qG=U-.[V cjZUy\|U-.W ZU\XY[\)]/T\ZUk^@_u\``axaxb •STZU\քc[d[ DJR!aKv~҅Ҋ ҫ@΄@@-. -3G \edlrӝӤpӪӯ  +@U-.firzԂ-.ԔԜԤԬԴ -.7e?d՗տń 1<S[t|֬G־Ɓ \Z-. -.+@-.D @-.] +eGr-.א ׵ Å@-. L+G,FBJQW] mU-.؄\؇-.ؙجfع[څ   *<BHNTZw`e   كوٖ!!"٤" ٤# ٲپST݂qG$GU-.%&%'+( 3$G)H\K*W[`g [ ځ\ڄڌ+ڔ,ڥ-.Z/̅0ڄ\gg \+ +,-.Z6192 AH3 TZ4-.q\tZ4|%&ۇ'ۍ56۠7ۧ7 ۷\ۺ4-.Z4م%&'8[ [ .\1%&<9DQ gZ4o4-.܆\܉:ܑHܘܥ7ܬ 7 &\ZU;<=>Hg\G&/g ?&J\MZU\U<=@@AzAzB݂C݈ݍݓݙ&;&؅DL-.&G?F\Eci]o\vFދޒGޝH@IިJޫKLM޺N4-.΅Oہ \4-. P%C+&cL;-.߇GߙF߶m QP&;-.R8 &=ST)V>Xcਅeඅgąi҅jln +qr&t4vBxPz^|l~zህᖅᤅ᳅…х߅ *9HWfu℅Ⓟ⢅ⱅ->O`q삅쓅줅쵅ƅ& @@;-*;-E;-7e-.7G툅-.7@;-.ȅ҅  0>Sh}-lnoqrsHDE%6iAuwxz{|}~"%<:;хn0̃"!!L z #!΂΂!!2!2$22r9z?]z kpw}zz~ăʅ   &Jf BBB łq ц +P  P  : #/;GS^iu ʆ!"Ն#"$%$&'( +)(*+ %, --././/NBS01j2u33445  5@/06778_8_9r:;<=>@ÆBцD߆EFGHI"J0K>LKMYOgPuRTUVWYZBÆ[BȆ\B͆]Bӆ^B؆_B݆`BaBbBcBdBeBfB^_`abcdegg^_`abcdeΆhՆiZVj[VkU V 8 ^_`abcdeVMlS +@m^ @misn~op qrs@t@u@Ɇv@؆wZxyP ^_`abcdeV3zzR} ^_`abcdeV~~ ن9Ncip|:ÆɆ φԆنކㆊ醋 +P,6 PAATi~㆚Yφ +E%+05:?DINSf t:Ćρن   p%@V@ pp   8CTTtBy@PP@ĆP҆zz ")Nmry zz  ߀ z  !@{hmu-|.zzΆz ppz3*@zJ@p3zi@-.3z@z3Ã-ȃ.͆҆z33  zS@p3zm 1uzzzˆzz zz   05@Echsx  z$z(z 5:FzLPVz    z   Q[%///0>`` hmrw|01ˇՆ#"$%$&'( )(       % * 0 6 < B G,  Q +P , P         · Ӈ ؇ ݇   ++! +{" +#{ +̇$ +؆ +߇ +% +&   % * / 4 9  '() r"  # { *@'+ + ,   ǁ3 ́4 т ց5 ܁6 7  -e.p 9 "G@ B_ R lK{ J ‚ ҁO \ b -TU bWXU ^ YZ Ԁ `ade-fVgehhklmlnlop&+/>3D0Z3 .popQ@1 Շ455ڇ6 偌&&778  563$39,+93^<3?{9q‚-3.p= #G@C>@?-.t@@?_pVpZ˃ۃ45/0 78D-/E-]G-F-HpJpKpЃڃIp3/ +0):C;-.[<-.r@-.A=-.>-.AB-.Bԃ9偲CCDDE $1364;@Fqd=>$CG@^_s_WXYbVK^_L `a(\\[]]\/Z[׃b)F8?Fd  |GGHHIBJKKLLM ÁȇN͆҇OׇP܆ 聲 : !-9DJValw QRSƆ*ˆ+чTUۇVUWX +@,+ @YYZ6Z6[RBW\B]]·^@_`acdefghijklmnopqrs(t@.Ru@.|v +wwxxy z-{-Ƈ| ̓-҃.ׇ}܄~l!! (.. :~?DIgPz-&0: _kq{{ q̂=G@H_X\bZm}/σ02KNa[[ flZ+u\xx 9ŁBЇᇦ쇩         # ( .B 3B 8 = C- F I LP QlP V V  3  4  ;  -. ч ܆01 p p! ! !!'~p!?D~-!WF~-!h:!r-.!!!!!(!(!́\<!q<"q<"6q"Fq"gB-."{~"~"Ç"ȇ"͇"ۃ""6" #####$#*#/#7#<#A#F#Q?p#ap#i#y#~4###-.###3B#4###Յ+#݄#-.Z$,$$$$ $ $&+$.-.Z$I,$Z$b$b $i$9$ā$$Ձ$$߇ $恰$$$%% %B% %%%%!%&%+%0%5%A%Q%h%m%r%w%|%%%%%+%% %  +&  +&/  &A &SL&&ƈ&Ј &ہ&& '6'<'G'S'Y +@v-.'w @v-.'@' @'!@"'ƈ#@"'$@v'%@v'&@('@(0(@-.(K)@-.(o*({(+(,(-((.(/(0((((χ(1)}8*:*=+?@+E,VH,K-L.N.O/$/)/./3/8/=/BPB/G/L/Q/V/[/`/e/j/o/t+/z8 + , -  . / /Q +v-.RSTUVW/ 0<  +0d  +0  0 80Y@00ˆZ@vpz0Ո[@ +0\@]^1 _@]^`1-a@^1:b@c1JdAc1W 11e@f1g@1ֈ1܈h@1i@-.j2k@-.2l@m2"n@-.o2Dp@m2Nq@-.2br@-.2vs@2t@-.2u@-.2v@2҈w@-.2x@-.3y@pz3{@m3&|@-.}~3^@-.}~3@3@33@3È@3͈@3܈@33@v44  44@v4(41464;4E@4Q@4P4@4@-.4ψ@4و@m4㈛4ꈜ505555-55v5555660   66L6k6v 6@6䈭@6 +@v667"7'7J7n7t7@-7@77 7Ȉ7Έ7Ԉ7ڈ777777888 8888!8&8+80858:8?8D8I8N8S8X8]8b8g8l8x88+88        8899 999 9k9v9@v99 99999Ĉ9̈9+9  9:v-.:%-:4:>!:[-.:oo-:o-::::ˆ:Ј:ވ::;;;$;2;@;N;\;j;x;;;;;;ʈ;؈;;<<< +<,<, <<> >"(@>,)A>4*>9+>>, ->z./0>1/0>2 >ԉ3 -?4?s5B667?7?8 ?9?ȉ:?=?>B?=@?@@ @.@4C@: C @PD@\E@}F@G@U@@ _@CF G @ĉD@ЉH@U@@ _ACADA$IADJAVAgAmK@LAvM@LAN@QAՉR@B&STTUB,UB,VB3WB9XB?YBFZBLY B[B`[BgBm\HBy]H^_B`@aBbcBdc^_BeBÉfBȉgchhiBiBӉjBډkBQB态k Q Bl@QCm@QC.@QCnC%oC3hC8C>p@qrCZs@C]t@qCru@[qrCvCwCzCÉ{Cɉ|CωoC_yC}~yD-qDqD+qD;D@DGDM|DS | DiqDxqDDD~DqDrDD ~ q r D䉆D牀DꉇqDE"EIEN~EeE| +EEЉE݃EꉖEFFF!F/F=FKn! FuFuFBFFĉFωPG opG_G3G=GiG?GGʉGЉG։G܉G≰G艱G     H7? HHHĉ HWBIXBI BIVBIɉBI퉺BJJJ=JCJI  !JfJJĉJBJĀDĴpJփVpJ3JƉJBKDKpKVpK3K*ljK7BKVpLK3LV̉LcBLhDLppLzVpL3L͉LBLDLpLVpLlj3LΉL߀BL倊DLpLVpM3MωM8BM=DMEpMOVpM\щMpMVpM҉MpMɃVpMӉMpNVpNԉN9pNCVpNPՉNvpNVpN։NpNVpN׉NpNVpO؉O-pO7VpODىOjpOuVpOډOpOVpOۉO肉pOVpO܉PBP'DP7pPIVpP^݉PBPLPpPVpP߉PBPLPpPVpQQ5BQ:DQBpQLVpQYQpQVpQQႉpQRpR$RXpRjVpRRpRVpRRۉBRRSUS +S +SS+TT%T8TKT^TqTTTT TЊ T TU UU/UBUUUhU{UVV VW WlW͉X.XXYQYZ +Zt ZՊ[6[[\Y\]]|]݊^>^D   ^\^p!^x"S^%S^Š&S^'S_ +S_1,S_V_ _Š#_ʊ$S_(S`)S`9*S`^-S` S`a ../a/a0a5a<1a\2ao2 334a4a5 aa6 aa7aaΊ8aa݊9aa:aa;bb +<bb=b!b(>b0b7?b?bF@bNbUAb]bdBblbsCbbD bbF bbG cHHIcIcJ c(c.L cNc MNccOPPQcQcҊR ccSTUdVWd'XXdF*eYdgYdgdnZdy[ddE\\]d]d^igin_n*n1`rrawwb|s|zc6=deÊfgBIh ijryk5BDBJPrBx~BƋ老B"(?@KmQBrx@›½Bʀ犼@B!CIQlQ}ÍïBôBùQBþBËBȋB͋BҀ؋B #@/QB^d{@ćĕƋBˀы@:$B?$LGBLLTZ`gʼnBŎBŔBŚBŠŦȋBԋ老@@$FBKLSY{IBƀBƅƋƧ-.ƿAŊA΋AыA݋+BB (@4VB\BaBgmvǂǤBǩǯǸċЄل  fvЌ* ʅ ;˖L ̧ ̴,!Ό"ی#$%&'())6*C+PV\c,ͅ߃B$@ +\ .z/71B=BBH2j5Bo5LwB|L΄6BΊ7BΏ7LΗ8BΜ8LΤ9BΩ9Lα:Bζ:Lξ;BÌ;LˌBCLKBQWyB뺃B뿃Lǀ͍p؍YYBL"(3@<^BdLms쌊@옊@졍ÍBɀύBoB=CZO[g +PrV~퉍BLBč3B3L3@32RB8RLABGLPVRh@RtBÌBɌL҃RB؃RLBLBL#@,@> `m{癩ﱎ ᅫ +͎ ڎ  BLB BBq> y?B?LԎAَA BBBL& H' R(@\)@i*@+s, %-.p0ȏ1ԏ23Z # & ) , /  2 (5 08 8; @> HA PD XG `J hM pP xS V Y \ _ b e h k n Ȏq Ўt ؎w  茮    F    ( 0 8 @ H Pb X ` h p x          Ȏ Ў ؎          ( 0 8 @ H P X ` h p x   +    (   2 ֏ $ %4 5 6 6 77 !8&8 .939 ;:@: H;M; U<Z< b=g= o>t> |QQ ?? @@ AA BB CC ʏDϏD ׎܎ ## EE FF  && GG %)*) 2H7H ?,D, LIQI YJ^J f/k/ sKxK LL MM 22 NN OO PƏP ΏQӏQ ۏRR SS TT UU 55 8!8 )V.V 6W;W C;H; P>U> ]AbA jDoD wX|X YY ZZ [[ \\ ]] ŏ^ʏ^ ҏ_׏_ ߏ`` aa bb c c GG  J%J -M2M :P?P GdLd TSYS aVfV nYsY {\\ __ ee ff gg hh ɎbΎb ֎eێe hh ii jj  +kk nn $k)k 1q6q >tCt KlPl Xm]m enjn rowo pp qq rr ss tt uŏu ͏vҏv ڏwߏw ww   xx  (y-y 5z:z B{G{ O|T| \}a} i~n~ v{      ďɏ чև ޏ㏆ 돇   F +F      $  , 1  9 >  F K  S X  ` e  m r  z             ȏ ͏  Վ ڎ  ⏒ 珒    ! ! ! !! !#!( !0!5 !=!B !J!O !W!\ !d!i !q!v !~! !! !! !! !! !!ď !̏!я !ُ!ޏ !揣!돣 !! "" " b"b "" "'", "4"9 "A"F "N"S "["` "h"m "u"z "" "" "" "" "" "Î"Ȏ "Ў"Վ "ݎ"⎰ "O"O "" ## ## ### #+#0 #8#= #E#J #R#W #_#d #l#q #y#~ ## ## ## ## ## #Ǐ#̏ #ԏ#ُ #ᏼ#揼 ## #$ $$ $$ $"$' $/$4 $<$A $I$N $V$[ $c$h $p$u $}$ $$ $$ $$ $$ $$Î $ˏ$Џ $؏$ݏ $$ $$ $% % % %% %&%+ %3%8 %@%E %M%R %Z%_ %g%l %t%y %% %% %% %% %% %Ž%ǎ %ώ%Ԏ %܎% %% %% && && &&" &*&/ &7&< &D&I &Q&V &^&c &k&p &x&} && && && && && &Ə&ˏ &ӏ&؏ && && && '' '' '!'& '.'3 ';'@ 'H'M 'U'Z 'b'g 'o't '|' '' 'I'I '' '' '' 'ʎ'ώ '׏'܏ '䌢'錢 '' '( ( ( (( (%(* (2(7 (?(D (L(Q (Y(^ (f(k (s(x (( (( (( (( (( ((Ɛ (ΐ(Ӑ (ې( (( (( )) )) ))! ))). )6 ); )C +)H + )P )U )] )b )j )o )w)| )) )) )) )) )) )ŏ)ʏ )Ґ)א )ߐ) )R)R )) **  ** * *% *-*2 *:* ++ ++ ++ +Ȑ+͐ +Տ ++ڏ + ++ + + +!,! , "," ,#,# ,# ,( ,0,5 ,=,B ,J$,O$ ,W(,\( ,d%,i% ,q&,v& ,~, ,',' ,(,( ,),) ,*,* ,,ď ,̐+,ѐ+ ,,ߏ ,$ %,,-B-#L-+B-1-7/-YB-2B-3B-ခ-45p-p.p.6p.7.>.D +P.S:.u.{=.@B.@L..A.Ґ@B.ׁ3B.܀.D.@.@D/Ep/F/G/8RB/>RL/GB/ML/VB/\L/e/kR/@R/@R/J/B/ƍB/ˍL/ӀB/ـL/ //@0M0'3B0,02Pp0#sB>(sL>0B>5L>=>C>J\>S>V>Y>{>>>>>Ґ>??E??̐?@@G@@אAA3ASAAȐAB BB`BsBBBBBʑC%C Cۑ D6vDBDBDLDًBDޑBDLDBDDBE| BE!BE"BEBEBE%BE&BEֈBEۑ)BE,BE-BF0BF$1BF*1LF32BF93BFX3LFz6BF8BF7BF7LFƑ9BFNDNmNNNƑ+N둸 N + O6 N + Oz +N + O N + ON +P4NPlPPPPPQQGQQQQQQǑQёQR+R\RˑRRRS SS"SSSSSSTuT,uTETqTTTVTV TT TɑQBTWBUZBU(U.UGU`UfUUU UUUɑV) +VKHBVQIBVWJBV]MBVVRVRV˒ Vђ VVW @W@WW=zBWBBWGWMzW^@zWj@WsWWWĒWӒW!W$X'X*X-X-0X<3XK6XZ9Xi<Xx?XBXEXHXKXÒNXҒQXTXWXZY]Y`Y,cY;fYJiYYlYhoYwY|zBYYYqYYtuYʒvwxYߒyZ|Z +}Z,Z2 Z=,Z_/BZe/LZn0BZt0LZ}BZLZBZLZ{BZ{LZBZLZBZLZȒBZΒLZגBZݒLZ撅BZ쒅LZBZL[B[ +L[B[L["B[(L[1B[7L[@B[FL[OB[UL[^B[dL[mB[sL[|B[L[B[L[B[L[[[@[Ċ@[ʒP[֒P[⒖@[P\P\8\>\Q\t\\\ʒ\꒣R] R] ];]]]]]]]͒]/B]0B]B^B^{B^ B^@B^B^B^#B^)B^/B^5B^;B^AB^GB^MB^SB^YB^_B^eB^kB^qB^wB^}^^@^@^^^P^P^’@^ՒP^P___1_T_t_R_R_Ō_``$`1`7`=`P`s```Ѐ``܊@`4` a0aBaLa(RBa.RLa7Ba=LaFBaLLaUa[Ra}@Ra@Ra:@Ra@Ra@a@a̒PaPbb1Bb7RBb=BbCBbIbOR bq@Rb@Rb:@Rb@Rb@b@bPbPccc9cYc{BcBcBcBcc cӊ@c@c:@d@d @d@d"PdEPde@dxPdPddȒe63e;3 eC5eP6e]7ejeppeVpeopepee遰eefff"uBfBtfHBfhbfnBffBffBfڏfBg(gRBg BggR(bg:g?gIgcguggg@R(bgŊ@R(gԋ:@Rg@Rg@g@hPh%PhEh3h3 h5h6h7hhphVph́oph֋phii iii' +iI3BiNBiSLi[iaZ ii\Mispi} iMiMiMiiiǓi΁4iӁ3i؁3 9ii5i6i7ij j\j)pj4VpjBZjNj^@jt45/0j78j/jσ0j12k>-.Ak&B-.k@=-.kM@-.Aktk~w@kHpkJpkKpkƁkɃIpkԃ3kڃ@k Mlll.l4l:l@lFlL]lY^lf_ls`l lalblcldlelΑflۑglhmlmmm)nm6omCpmPqm]rmjsmwtmum,m!mvmwmőxmґymߑzm#m{n|n}n ~n-n:nGnTnannn{nBnnnnnɌ(n֌)n㑍nno +oo$o1o>oKoXoeor o!ooo"p`pmpzpp#pp$pٓ%Sp3p3 9p5p6q7qq q q!q'q-q3q9qF]qS^q`_qm`qz qaqbqcqdqeqȑfqՑgqhr lrmr#nr0or=prJqrWrrdsrqtr~ur,r!rvrwrxȓyrّzr#r{s|s }s~s's4sAsNs[shsusBsssssÌ(sЌ)sݑsꑏstttt+t8tEtRt_tl ty!ttt"uZugutuu#u% upuÃVpuу45u78v&Kv>(vʓ,wV/w]0wd1wk2wr3xT`xby +eyehyzkzvnzѓq{,t{x{{|=~|} }h}Ó~~y~ԓ/哞@Paq̓'ݓ8IZkƌ!|ד2CT +evє, + 41BC1LKBQ2BV2L^BcLkBpLx3B~4B5BBL7B8B9B:BŔ;BʔNBCNLKOBQBV0B\1BbQBWBZB]Α^ۑ_` abc)d6eCfPg]hlmnopőqґrߑstu,! v-w:xGyTza#n{{|}~ɑ֑㑄B +$1>(K)Xer͑ڑ !"Ց⑝ #!/6G/MPSQYR_SeVkqTwU}VWXYZ[\]^_Y`Ŋ˔aєbהcݔdefg[hiFjiklmؔno)BpsuzruvsuÔxuԔyz{| }@~ #5I[?2?Ք씋U+@{.@{ JJ@J[JJJJɔӔݔ_(@_AZp@{@@"%w(+=`kxŔєt[ܔ1QRw”Ra "?_Rؔ7[bh@u|U"8U .3 0bBbLBLBL BL(B(L'-3:ESuB{BBBB __f֔_R_w6B;BZB_BdzBio@@˕ٕBL SB MB +B  BlBqBvB{BҕB؉BLMLM(@@L@UbSM o"ʕ$ו%&,BB'B, $($'9?)@*W@*c@l\o+v,}, -.Âԕ/ 1 2 3,4 3O5 7m8 ԕ:@ @)<5=W+BzABBBBBʀЕGIJK &M9@MB@H[N'BPBkBB+Ȋ@+ѕQSBTBUB )@5AV +tByLBŒ6BȃB̓LՉBڌ?Bߌ@BABꀁBCDY1(B6[<\BsBx^B送ab@ab"@ab.cPVfhŕj 433 567pVpāopϋpڕm `W ofrvu)v6w CHBN,BS]_,k#wxy@z{ܕ~=60;B@uBFL n`Ɋ#v~ٕ4u +B3BBƑ,Bˑ],㋉$I,++5W]B@@Ǖ鎆BLBLBLB!B&L.B3L;B@LHBMLUBZLbh@@wΕ)ߋB䕬Za*-Ja8oLazBNJ@ӊ@ܕPB +,B1B7=T@`l;0@F6 S@6\@bzoJ]LʃەBL +bBbLBL$B)L1B6L>3BC BH LPBUL]BbLjBoLw}ƒŠ”B™p¤C©¸؇ۓޕ +B BNBSBXB]QBbpBg2BlBrBw}ßBäBéBïõוB݀@@2B8B>BCBHBNBTBZB`fę ğĿߕ +wLƠ}>J,NTY, eȇBȍBȒȘ 9Ȥ`ZkɵnqktƓx!˖Ļ]͸nɓ$~ق4ЏꓫEѠUҰ fwғ-(Ո>֙Oת`ػq̓'ڂݓ8ۓI +ܤ: ] a)b5cAdMeYhl݋mݗnݣoݯpݻqǑrӑsߑtu,!vw'x3y?zK#W{c|o}{~އޓޟޫ޷ÑBۑ瑇 ()#/;GS_kw߃ߏߛߧ߳߿#ˀѕ2 m37m4 m3*LRBRBXB^dw@@਌BୌLീȖv0{ +Bᚖ BLM  +老@ @7=CJlr~@⇊@⍖⯀ⵖ⻖ǖ͖Ӗي  3B!B!L!"B\b$e%h&'q(+.)+++徖,+摐x33 567pVp!op,p70A1c4 UB[Ld$j(o+t/y5~5 膑M蓋蘋 蠖606RWRg鼑K5@{7"8DJ0T;v|ꂊꉖ>꫇^B갇^L긇B꽇Lŋ#Bʋ#Lҋ$B׋$L߈B%B%L&B&LBL 'B'L(B(L%)B*)L28AZ`Dp녖F맑 uIw*J7KDLIMNNSOXPh,BmQBUBVB VLWB2ZBRBW]B\BaLi^B'B'L _@'{֖`@+'Va{/@ 'Vab{c@ b金s de%Ê@ɋ̖fghijklm`kŕo r{v֖p1]=,I#UxyӀ߀r u/xB4xL1BC1LKBPLXB]Le}B}L6B7B7LɌ8BΌ8L֌9Bی9L:B:L;B;LbBbL +BLBL$B CL K Q W ^ 6B       Ԋ@ ݊@ !$B +$LBLB$L,$B1$L9 B> LF%BL&BQ&LYB^Lf!Bk!Ls"Bx"L'B(B(L)BBBL*ė+-B+^B0^L8B=LE#BJ#LR$BW$L_&Bd&LlBqLy'B~'L(B(L/B/L01Ɨ2RBBB@@"4D7BBL8ǀ͊ԗ:<=>=,?NABSBBX0B]cCEBFBB=BGǗIחJKMNO LRYSfTtUVWXYZ0×[Bɗ\BΗ\L֗]B܊BL^BBLB1B1L_B_L`B#`L,aB1aL9B?BDBJbBObLWcB]dBbdLjeBofBt5Bz5LgBhBhL,BiBjBBkBBLlBėlL͗mBӗnBٗoBߗoLpBYsBʀЊחv=wxyfwu;$zc3{kA|c~BiBnt@@ԗᗃ BzB;zBABFLc@o뗋BBB$\ ~1w?HnIBL͗yBҀؗᗘ헙 +,2XgsB@3BBLp BBGLOBTL\BfLsBxL@@ۓq6B;B@cLR j BB̊@؊@ᗹ]BB€BFB͗B,BꀁF @F@FP(u+.w1-:=_BeLnBsL{b-GBFBmBǀ͗J0OBUB[Ld,BiBou{@P-.`BQBŗї݋0  +@@:@ +Zer 0 FB   0@ <@ E  !F !B!L!B!L!QB!B!ʼn=B!ʗdB!ϑ,B!ԑu!!! !N"""&"C"O"l"x"""0"薍B""# @##9B#>B#CB#H#N#p#v#|## B# +B#€##Ί@#Ԍ#+# B$3AB$IB$NBB$$B$ݑ6B$LM+A%<%T@%`@%i%%ܘ&&i$&u&{2 3&\&.z<&z<&z'' '?B'DL'L#B'Q#L'YB'^L'f'l'r'y$'&''B'؅IB'݀')(0(,B(,L(B8CB8HB8MB8RB8WB8mB8rB8~B888MRg889=9@9I9999ܘ9::B:ry:+:+::ژB:߀:;B; ;;4B;9;? ;GB;LB;QB;VB;[B;`B;eB;j;p ;xwB;}B;; ;B;;;ĘB;zB;΃B;Ӏ;٘;q3=DIp=O=Y1=}/=0==Vp=̃45=78>@-.A>*>-.?>>=-.>Kp>V >x>>>>>>ə>֙ > +> ? ? ??) ?9B?zB?B?B?B?B?ʙB?ϙB?ԙB?ٙB?߂_B?B@B@%B@DL@f1@m@s@v"#@$%@&@@z@Ɨ@\@*A +A,-AL.AQ%Ac/A2A5 A7A8B9B:B%<B3=BH?B]ABrCBEBGBBIBՙKBBڙLBBuBBBBuBCCC C>Cc3Ch3 Cp5Cv6C|7CCpCVpCopCDpCљOC0BC1BCDQD'D-D8SDZBD_LDgDmUDtDWEDEYE0E[BF\BF BF+BF5+BF:]BF?BFD0BFI^BFN_BFS`BFXaBF]bBFbBFgBFlBFqcBF}dF)F,FdF+0]FրFܙe@F@G@G \G fPiGEh@GjjGbBGlBGmBGGG@GřnG+BG+LG-BG-LHBHLHHHH!qHϋ0HԖ{Hږ|BI++BI0+LI86BI>bBICbLIKBIPLIXBI]LIeBIjLIr?BIw@BI}(BI(LIABIIIIIIBICIŌDI͙tIbBIbLI(BJ(LJ J(bJ@(bJ+vJDhwnJ[ownJqwJxJy)JόVBJՋFBJڋFLJ⌐BJ猐LJBJLJBKLK BKLKBKLK%BK*LK2BK7LK?BKDLKLBKRLK[BK`LKhBKnLKwBK}LKBKLKBKLKBKLKBKLKBKŌLK͌BKҌLKڌBKߌLK瀁.K팫KR(bL L{LL>L^LL+L֌LMM, |}~Mh?MuR(bM-RMMŌMMNN(N3N^NNNNNŌNȌRN׍+,N猋/0{OOR(bO3RONR/0{OuROROOˍROO R +  P' RP6RPERP`R(bP{PBPLP=BP=LPPPÊPʙ P왈BPLPBPLQ6BQ pBQ=BQ=LQBQ#LQ+BQ0LQ8+Qf+QQ@+Q@+Q:@+Q@+Q@QǙQ陋BQQRR0R1BR1LR6BRBRPB]HB]MQB]RRB]WB]\]b]y@]A]]]Ā]]⊼@]@]^^%B^*B^/B^4B^9B^>B^CB^IB^N^T^c_0_B_ B_B_?B__#_+_3_6_C_Z_l___͙_``-`X`~h```B`B`B`7B`Ā`ʙ`B``a!a'aIaOaaaaa BaBaaǚ + +a Ba BaBaBbBbBb BbBbBbBb#b)bKbQby@bbbbbրbܙbccc4c:c\BcbBchBcmBcs Bcy!Bc~"Bc#Bc$Bc%Bc&Bc'Bc(Bc)Bc*Bc+Bc,BcĚ-BcʀcК.cCBcBcBdd0d;Bd@BdE BdJ BdOBdTBdY2Bd^Bdc Bdh"BdmBdrBdw3Bd|%Bd&Bd'Bd(Bd)Bd*BdBdBdd4d̓qe'Be,ce8e>6e`ef_e~e8e9_e͚:eBf?Bf +f@f2f8f?CfaCBffBfk3BfpBfuf{pf0fEf3f3 f5f6f7ggpgVpg!opg,pg70gBG1gJH glbBgrJBgwBg|KBgLBgMBgNBgOBgPBg(Bg0gggŊ@gъ@gښQghh"Bhhi@i@i'iZUigVitKiBizBiiWiiiiǚZi\Bi\LiBij]j&qjBjcjj_jkaBkaLk!QBk&Bk+Bk0$k<kB\kEjbkKckNdkpOBkvk|k@kfkzBkƋBkˀkk芼@khljBl#l)klKmlWl]nllpl@pl@plqlrQl-lɚsl)BmBmm um܋0mxDx[@xgxxByByBy ByByy$y*yXyzByyy@yyByLzBzLz BzLzz,z2zTQBzYz_Bz|Bzzzz z +{C {{|T|} +}e }#~0~ &B~%'B~*(B~/)B~5*B~;+B~@,~L-~X.~d/~p0~|1~2~3~4~56~ˀ~ћ75~85%;@<1=>a]F6w@F6BFC\ӛDEH=I*J=IPL=sMNOPQ:̛RF՗SޛT=U= WC"XC7YB_e}@@[BBś^疍B퀁ab"B(.eyhB~hLBLiڂ34 +C0Y8b@OvVZ[lĖ0πܛ$BCBB4@@q bosBvByB̛|BBbBBLBB (B:qBBc›dBdLBLBL BL&B&L%B*L2B7L?BDLLRX_ BBBBBBBBBBBB€ۊ@@ꛚRB#B)B.4G@P@V  xBBBBBŐBʛBϑ/BԛBِBޛB㛭B老@@=5BB5LJBOLW6B]YuxɚBɟBɤBɩBɮɴ֎B܋Bခ@ @6BMsc~Qꆞ껞QݞI:p됞枲zp\zFr|샞| RR..z<Fz<uz혂l훞Þ +RR$<YyRRɞR (HRqRR”ڔR@RgR𑇵IIi4>H-qx-qp˞p--B]R Z`jtB;B󠀁Þ ˌ& ی 6G"S$_%k&w'*+uό)0.,:$FLW@`.z<sz<zcž HBMmBSoBYaB_wBdBj{BpBuB{^B, +ĞΞ-q-q.pQpt--ȞBB + 3EM_hem4B@Ӂr֋;ٞ#)/@5FRu׀ݟ +o  +#0=KYftBBBBBşBʟBπ՟ ۟!p"%?EK@Q(u\)0  @,"-1.:/GJ0\1h2@z3@BBBB߀B䀊L쀁6 9 <B< dj? B E ܀H  +K,2N>OPOQP_R U VYɟZԅ++[+C3H3 P5V6\7bhpsVpopp^  a  +d 28g ntΒێBbbL +B*(0(L9RB?RLHBNLW]R(b ԓ@R(b +@R(:@R%@R.@4l V\o ~r @u ڀ2373 ?5E6K7QWpbVppop{pz Dp}  QW^  Ҁ؊ߟ  ?E gm (@(@ ݀@ @   2 8  Z ` 3 Ɓ3  ΁5 ԁ6 ځ7  + 悉p Vp op + + + +%p +0 +; +K +W +c  + + +B +‰B +džB +̀ +ҟ  +B +B +B &B B B /B !B B " ( @@ L@ U [      ӊ@ ߊ@ :@ l @3 E3  M5 S6 Y7 _ ep pVp ~op p O 3 3  5 6 7  p Vp $op / :p E  g m      Ί@ ڟ  @ AG^@j  FЊ@Fߟ +@+%@. PV=g@=s +@+@Ÿ 䀁+@+@ ;AR@^@g @ ̀䊼@@ -q-q3p<pE-U-e  ğ 态 4"' @S_kYuZ[Ÿʁ3܃b悉V +w@T\b3g |bV˃w@z 5(4394>C5 fy_YbVZ[Ѓځ݀&<F MS _etkp}v_|\.z + $  Ɩ$ɖ%̖& Ԡ \ Z.=RZb`(fb l( rx~b ( Ɍbφ(Վۏb( b#()/5? R Y_ebk(qb w( }t Ѡ큲#=Oai2w2   ˠ!ڛ"%,3146; K W!fi\sZ}ă/0#@^@7w@`$@u%@&@@'@Ġ(@)*@{+@!,@!-@!#.@!1/@!?0@!O1@!d2kUr3x +~U U U U U ɍU ؍U 獐U U 4'5-5 ;6{3Y7{3x8{39: ̔5ݖ*m;"5(<.3 5 < YH;R<RI*m,-.=*3@5Q*mv>?<5? 5 < 甗5I*m,-.2*mWH;R<R@ȠA΁ՠ5ہ<BI  5 *m<  @r I*sm e, m-t xuv w C D xc E   Zm РF G!k! !! I*m,-.!ZH;R<R!Zm!H!!Zm!I!" +J")F"5";ZF"JF"Y\"\)"zK"~5"K "6{3"7{3"̠8{3"9"L# M#N,y[-t-u-)t-6v-Aw-Vx@y-qz@y-{ ---Z--σ45/0.78. Hp.Jp..Kp.CI.N3.T.^/.}0.@-.A.Ã=-..ЃB-..>-.A.| |/}/~/ /-/;/I/W/e/s//////Ǣ/բ/㢔//0 00)070E0S0a0o0}00000â0Ѣ0ߢ001 11%131A1O1]1k1y111111̀1ۊx1酱1222!2/2=o2K2Y2g2u222222ɢ2ׅ223U333+393G3U3c3q333333ţ3ӣ3 3 3 4 44'454C4Q4_4m4{4!4#4%4'4)4ϣ+4ݣ-4/4153555#75195?;5M=5[>5i@5wB5D5F5H5I5Z55٣K@5L@5M 5N666O6)P66Q6D6JR 6QS6`V6oY6~\6_66d6g6ɣj6أm6p6s7v7y7#|727A7P7_7n7}77777ȣ7ף7棢7888"818@8O8^8m8|88888ǣ8֣8899!9!#90%9?9N9]9l9{99999ƣ9գ99::: :/:>:M:\:k:z:::: :Ť :Ԥ::;;;;. ;=U;L%;[(;j+;y.;1;4;7;:;Ģ;Ӣ;A;<F<I<L<-< >>+>:>I>X>g>v>>>>>>Ф>ߤ>>? ??!?/k?5?<?B{?I?XBBk Bk  Bà6{3BmBmBmCmC{CmC mC)C0C6y@CIz@C\x@CoC{CC CtCtC C +C tC C¥ tnCtnDtnDBDEZDNvDYwDnDzDDDtDtDtD Dt DvEwEE$E*E0tEkvEvwEEE#EFwF$F!F'vF2wFG% FNwF]'Fl*F{F,FFF3F3 9FȓF FZFGGpGVpG!45/0GSD-GjF-GzHpGIpG@-.AG=-.GǃB-.G>-.AG-HH!H' H=HB.HIHO@/'Hy0H1HHHwHHyHʁHϥ2H1HHwIIyII3I&4IS6IXI^5Id78aIsaI|eaI9aI:aI+I;aIaIaI<aIť=Iȥ>aIЉaIؔa?@I=IA=JB=aJCaJDaJEJ(FJ1aJ:GaJBHJNIJRJJVKJZ_JqLJ}MJNJtJJJ}J_JJ JN J\JŌ.zJۥO@J5 3K2 3K*7mK58 3KX4 3K{PK`K$  K` KQ@ KO@KRKSKS K͖$KЖ%KӖ& KۥO@K KzKTKULVL +WLXLL#L1L?LDLILNLSYLXZL][Lb|Lh\Lm LsLxL}gLLLLL +LNL]LLLLL L^Lĝ}Lǝ_L NLM + M\_AM_`@MnLMNgM +LMN  +MaM˥bMҥcMإdMMeMfMMSNMN +N NNNN!N'N-N2 N8NE NHNKf NZSMNnNqNtNwNg NNLNh NtNiNvNȢwNݥj NkO OmOlO*O0mO9n O@OFovOPpO\qOcrOjOpovOzsOO OvOwOtOȒOϥuO OmOv_Ow_Px_yz{P7|_PF}~P]m5PmPv{P{PP_PPPPPǥPͥPॎy_Q{Q Q2cdQtQ(QQRR2RVR|RRХRSS@SfSSSԥTT(TXT~TT饧U U1UUUUťUV VFVlVVץVWDWjWWWWXX+ X8 XE XK XQ XWX]_XcY  ?4'./1GHE:UO"STXYuk_zdfjlmnao^pq`rcegwx]y{|R~hi}!(  +v  ! FK#9$:%&'()*;+,-./012345678<=>?A@B +E +wF x SMTVU NWbXYZy[];_0` a#ebfcdhzjikqlmnopt,P< !J"#$%|!&g'$ (})* ++,O-./01~2^\3456%7v89:.;<IRP=L>?@DVABCDAE-FQWQ"#&'(*)+,-2Cb&zGHIJ|KLMNNSXin ¥¥!!!!Ċ!ƥƥ!ƥƥXǥǥXX XXXX4XX3X5X6XŁ7X(X֥XXXYYZY#K{YNJYtOY^YŀYTUZWXUZO\ZYZcZZmZwZZZZ/Zփ0Z[[[4[L`[da[pd[f[g[h[ށkl\ml\2nl\\op\f\i\ \!ͥͥ\\ \\\\Х\إ\R\\\\b]"].]13]>K]J{]P{N]i]o ]v]]]]]/0]]R]b]3]{]^^x^{^y^ |^&}^,z^2^8x { y  | } z ^v^+^b^(^+ b ( ^^^^ƥ^ϥ^^إ^^^b___"K_.3_;{_C_K_R3__3_l/0_wb______`` ``"`*`2`:`B`J`R`y?`@ ` `٦``````aρa a@aaa-a4aBaOa\3 9ad+aq3avaaaaVpaZa׃a\]a45/0b#@-.AbJ>-.Ab^B-.bx=-.bb3bHpbJpbIpbbƂpbbѦbbރD@/<=bF@/<c<@/-. c=! cDcQ XmnWopqstuvwxyz{|}~ScW"n +¥¥!!!!cdcd#ck$co cu%@c~&@'sc(@'sc)@*+,-c̦.AcϦ/AcҦ0A1cئ2@3c4@3'sc5@3'sd6@3*+,-d7dJFBdOBdr=M@\BkEzHJLNQŧTԧWZ]`be-g\E3J4OTgZv~@R {ͨӜڨ槶 v  { ?@OO  ܩA り=y:BHCVDkj{E4FG   = y  HIJO KOLO\%vMNSO_PeQkR}ST2Uب +VGW]XdY[\Ѧצ % Z ֧ 2 $s  4Oa|J֧$0B\QZeZ}]@8 v^_M` va@b!ͩc@defg vVhOiOjO!k$l,m=AnvMNo=npqrZsZt@u թvwxy +z0#*31=7A{G8Q|V\}a~fkpuz0   ȇ͉\⩃  X&5-4:HN\jx~   Ϧ 쁃@@y=@CI*,-.w\iOOOϩީ==DJP)V%\bg) %     1p@=P]0djsO|0  I*,-.+, -.Z'Z6[D]F_bk\t\\\Z۩3 ALQ X_ekqw}  vv שv詪  %6? KQWfu)%) % %Ωۋ)%) % %$3?E KR   qvAAHة4xDzǸ +ǿͩ۩59!/=KQXerȍȚȨȶĩѩߩ %3AO]kyɇɕɣɱ$ɿͩ۩ &-:GTZlyʀʔʚʠAʦIʫ   ߁xcr*s-t,'uv4w7:HRU\R  ˁI*,-.˵!éɄ\Щ֩=!.qw}̃j̡̛̉̏̕i̧̭̳e̺Ϩ֪  QL$ +, 2 8 MI*,-.́ F͓͐͛ͤͧͭ͘ͳͶ͹@ê@ͪ@ު@R@!0 3!>"M#P$Z%&&'d'd( p)v*|+΃,ΌΓ-Κ&ΡQΧ δ.κοʂ݂34 Q /Y'b19VBZ[P_gjύ`ϣKR/_'\\[J]\mr0y1Ћ2БИП3ЦЮ +д4й5Qė\ͪ6֪7ߪ89:;<??@@AAB@CCD E-FF3G8H?IFJMKTLMMN[N[O bPioQ Rx~@SժT@RSyU'%V = ; <  > ) ?ū@);<=>" = ; <  > ) ?ȫA);<=>)  = ; <  > LGB:=@M>S=  > 걁LɃGC D)=;<>댫E=>Ɋq+-.F.GP)=;<>6HP=>RIZahZUwU-.\옫J저G)=;<>׫K߀G=>L +1M$ 1 =Z+L+-.j\mN=uO}P;텫Q<퍫R)SSTTU  v"V(.QWuv pXYXZo[oƫ\ѫ]֫^_!X`aX`;bbc@c@dMSeZ_ekvqwV}WfwQzgQzfﮫhQzfォiPzȫjQzf׆QzfkQzfXlQzfmPz!fX`4n?oDpX\YXkZo}[oCXpX^_̃!X`aX`q@r.s 5W@tEuLvYwfxsyzV{|񵨱«fɫXϫ`}~Ff X ` 27;:D=<F IL\Oz[[^^ ~򄫆򢫇ૉ$$+1ePSc+D DKY+z竑PV8 dkӫI3TYekz(sګ-.Yekƫ嫩*f  \(-Ye>eI-.s-.-.ݫ-.#>IN_g3x33-.﫼-.6-.e-.zz   z'16>z   Yƅ+̫Yҍp@ǫǫޫ + $*06<  dwI*m,-.ʫӫօ٫j !9R]Fp\|eWf:@@+٫njQzfopXQzf0QzfDPzTQzfcYX~CXkQzfQzfpXë^ԫlQzQz_}Qz,7sd3oQzf~QzfQzfǫБ(ܑ&Qzf뫝QzfuQzf1XPb@m-.ūѫ׫ $Ih髫:Aq@r W īt\ΫџY٫-.-.3&3),-.>bhnt{W "ũȫ\ԁ׫⫰Y-.--.Qbl-.-.ݫ!323:3EJVYd-.-.㫼-.*-.PU+{~ j «ɫПYօ+  Yp@B B I } P N $  +ik +o8k  +}@ + + +k + + +  +ɫ +֬ + +  +  +  +    I 8      I  TQz b@ m@ x@ @       Ǭ լ ܬ   e  v     _ , n %o *^ ;_ F\ Q] V b hJX X !X ŦCX ݫpX $@%& @%& '@ (@ *)@ 4*@%& C+@%& R,@ ]-@ i.@ t@` /@` 0@ 1@f ɔ@ ٔ@ 2@ 3@f 4@5@6Qzf`#7Qz%&68QzE9@O:@f``;@f`q<@f`=@f`>A?@@@Ƭ" ͍p/J`A#BLC~D€   E老FGG "H*7^A_I`Qk` gcyd  eA>fA>g@ìh@[ij@[ik l$m*0n8kGqNqTrfkSyq stA>uA>v@w@[iԬx@[iyyzz{ O" NZ+]+e-.Z,[]F„\Ԩꁶ"(.O7D ZZ+c[q]F\ƨͨӈو +-.Z4,E||}M}M~,Tan{ͬ۬鬊!/=KYguɬ׬嬝+9GUcqP+׬ $WfHv +TpXqYX\\]^_ʁլڬe Wfn(o-pXJYX^f\wCXpX^_ŬʫA嬹 B؁BPz oάݬ +(Px@@ ʬ@Ϭ ֨  +@@Q-@Q?-@Du@I@N +UQ[7a6gmsyWX\[Q ȬЋ7S6SS?SdSWSXSӂE KP{]{glƭխMM P򁌁Q R    +  @     +"}@R"" " " """Ҭ"ݭ%&"%&#`#`#'!X#B#G#R#~###'#$$$'$3 $I$e${!$"$#$$%%%5&%@%V'%(%٭)&*&*+&6,&B&W &l +&       ! " # $ % &  ' ( ) * + , )) )/ )F )[)u))%&)ӭ%&)`*`*5!X*_*s**ȭ++K- +QX../+/+b +0+1,2,3, 4,5,6,7,%8,+9,1:,7; ,=<,B=,G>,L?,Q@,VA,[ف,kr,pB,uC,{D,E,Q,FFG,G,H,r,B,E,I,ӭJ,׭K ,ݭ<,=,?,C,@,A,D-ف-Q--#0P-(1P--2P-23Q-54Q-8LQ-;MQ->NQ-AOP-MPP-R5P-WQP-\RP-b>@-gS-~---3-4----b-Y-.V.Z[.$.8.C.F.sK^_R.ă\\[.]\/(//WTTU/\U/\V/c/iWP/rXP/zYP/ZP/[Pq/\P]/^/_B/`B//a/­b/c0*0^d00݁08 00S 0e0˭ 0ݭ +00f01-Prqghi1mUPrqghijl1߭mPrqghijl2KnPf]2vq]2r2e2 2 +2f2f e  + 2٭o2s3v3Zy3|3խ44Q44̭5 +5H55ĭ66@p6~66787v77808n88ꭽ9(9f999脂9  :: ::!z:':+z  :@:E:Qr:Wq:dz:j:pr q z  ::5::ŭe:ͭe:ҭfͭͭ::׭:0::;; 0 ;@ y;I*,-.;\;ʭ;ة0;߁;큦;2<<< << <%<+<10 2    @ym>@y>٭? ?%?+?0?6@ym?@ym@@Rym@m@yR@ĭA A#A)A.A4A9A>ADAJAhAoyAuA{AAAAAA AAAA&AʭAحAABBBB)B60B=BKBYBfBsByBByBBBBBĮBˮBѮ B׮ +BݠAB B B BBCCCCC"C(C/ +C5C:C@CECKCPCXC]CeCkCp   y 0 R     &D @D@ yRmDI*+,-.D@DE\EE`EFE&Y3E2eE>@EH++El !+eE"E\E\Eĩ\Eͮ#mE֮$Eٮ%Eܮ&E߮'{E(E)EF7*F:F=F@+FI,FR-Fc.Ff/Fi0Fl1Fo2Fr3F~4F+F-Fу.FIF4F3F6GVG 7GIG8G!9G)YG4+:GO;}Gu<G= GG>G G?y)GçGƮ@GѭG֮AGًGܮBCGDGEFHGHHHH H&zH,H3zH z  HHJHzI;LICzNNOIOIP IQIRBISBIT IޮU %IVW%JX %JYZ%J$[ %J2\]%JG^ %JU_`%Jja)J~b@)Jc@)ddeJeJ JJJJJJJɨJөffgJgJٮhJiKjKHkKK҆UK؃K݀U KlKKm LnBLoBLpBLqBLL L%L*rL0sL5tL:uL?LjvrL<LPLۮwPL PLx LMpMyMzBMM !P{|Ml} M~MMMPM\MԮ~ MM쉡MM@N1GPNj\NvN}NjN宁OUOU O)O0OdOO̮PP5UP9U PEPePk\PqPxP}PPPPPP \  P\PϮ\P䮔PPPYQ)+Q]QQƆUQ̀U QQ߮QQR<RrR R2R8R>RCRHRNRT RZPRPRRYRîeR+eS !+eSV\SbFSk\S{\S\S® SهSާS㉡SSOS +S@T*@TVPTPTTTé\Tө\Tߩ\T\TT+TUU +   U, U3 U?UKUWUcUo U{PUPUUUUUUU UUÉU+UήU᮱UU+U!V ++ ! V) V7V=VCVIVOV~VVVVPV\VؖjVVW +W\W&\W/W;zWAWHWOWUz    WWWͮWծSWSXSXDSXiSXSXSX؂YJ ͮͮYP YPYd{Yw{ YI*m,-.YZZ +BZLZBZ5LZVBZ[LZcBZhZmF ZZZZĮZʮZѮZ֮ZۮZZZ뀁G [[ +[[P[([4z[:[Az  [Y[^[jz[p[wz  [[[j[[]F[\[[[[\O\ \+\%,\6-.\QZ+\`[\n\v]F\\\\\\P] ]L]] ]]]]Q]P]P]ƮQ]ή  +^ ^ ^^%^2^@^M^[* +^b+ +^i, +^p^v^|^^ ^ +^^^^^^^փ^ ^__(L_9G_RP_c_k_ _\_Z_-.___L_G`P`"`*`7 `M\`PZ`_k`` `````` +P```-.`᫱`F`-.q;GJVEFzw6B5OS]\Y`|axibzy?AN:a n! ! }a%a% a1za7z a]abaiavaaaaBaBaEBaȯa   aU@b3PbEPzzf9,bP vzf9,Echucu c~wc!"c#"c$cq%c%"%cۯ&c'c5P(zc d"d'd-jzd5d?) dNcdTdh*+dtI*z,-.d\d d-,dcd-d\dگ-d.ddC/ee0 e&3!e94e?5eJe\6ec 6 e7@8ee9@e:@;;<e<e=ek e̯>n!*eeѯ?e؁e_qe@eAf +fVff)Bf3Cf;DfFfKE f^FffGfqfHf3Bf3D3ffq +fpf˃VpfZffHpgIpg 3g=-.g@-.AgE45/0gwIxgJgyB!"$%gKnggLgM*+gNnggOgPgÀP g gAgQgBhRh$h1E hPDh_STqhyZ5chx5ch5chU5chůV5chدW5chX5chY5ciZ5ci![5ci3\5ciE]5ciW^5cii_5ci{~i`aibcidieiæi˦iӯfiݯghijjkjlBjmB"023456789:;<=>?@ABCDEFG-SHIJKLMNOPjnn!oj$ j$F/0j=G/0jVp/0jh!R"jzqrjsrjtrjuRjvRjwRj¯xRjίyRjډRj{jzk{k%|k:}kO~kdkykkkRkkkkRkkl:ll8lKl^lqlq lxllGllll  lll(lÌblɎlώtlՁlڒllmmmmm#m=mOmim{mmmm(mbm  (bpX/0pxppppp(p( (pɌbpόb bp  (bq/0q#fghijklmopqrstuvwxyz{N`q6n!! !q=q= qDqVaq\qbqhqquqPqPq qqï qϯqԯqٯqq偲qﯢvr r rrrr$r)r/r<rB rNrTrrrǯrЯ r܉r⯮r篯rrr s[s ssd suvs{ssss ssssůs˯sшosׯsssst tt"t't,t2 t>tCtItVtcthtntttt ttttttʯtܯtttauRu\ug usuyuEuu uuuuu u¯uuί uگuuuuuvvv vvvav v%v*v/v4v9v?vI vUv[v`ovevjvovuv vvvvv1vv vmvvvvɯvϯvدvevnwww wwww&w-w5w<wn! !ww www3w֯3w3x3x!3x:3xS3xl3x3x3x3xа3x3y3y 3y4} y; +y@yEyJyPyV y^ye:y} yy:y yyyzz  z. z:3z]N3z|+-.zzz˰zհz{ {;{f{{{| |F!|q"|#|ʰ$|%}$&}S'}(}) }Ű*}3}ݯ3}N3~+-.~F;-.~W ~n*~{3~3~N3~+-.~:;-.+ /*<3G3YN3x+-.;-., ذ*33N3!+-.Y;-.j- *33N3ʰ+-.;-.. **73B3TN3s+-.;-./ Ӱ*33N3+-.T;-.e0 |*33N3Ű+-.;-.1 %*23=3ON3n+-.;-.2 ϰ*33N3+-.Q;-.b3 z*33N3İ+-.;-. 4 %*33>3QN3p+-.:ƒ;-.Ӱ5 *33N36+-.n:;-.6 *3ʯ3ݍN3+-.4:N;-._7 f8t:;<>?AȰCְEFHJLM*O8QFSTTbUpW~Y[]_aİcҰdfhj +km&o4qBsPu^wlyzz|~ΰܰ갊"0>LZhvʰذ氬,:HVdrư԰ (6DR`n|°аް$2@N\jx + ̱ڱ .<JX!f#t%')+-/ȱ1ֱ34579;*<8>F@TBbDpF~HJLNPıQұRTVX +Y[&]4_BaPc^elgzhjlnprαtܱuvxz|"}0>LZhvʱر汘,:HVdrƱԱⱹ (6DR`n|±бޱ$2@N\jx̱ڱ .<J X fRlrx~ R _R_˃:׆݆^ _\%]1X=ZIU [QRSm7xRFʼnGѯxײݲ 8:;<">0?>ALCZEhFvHJLMOQʰSذTUWY[],_:aHcVddfrhjkmoqưs԰uwyz |~(6DR`n|°аް찛$2@N\jx̰ڰ谼 .<JXftȰְ*8FTbp~İҰ +&4 +B P^lzαܱ!#%')"+0->/L1Z3h4v579;<>ʱ@رBDFHJL,N:PHQVRdTrVXY[]_ƱaԱcegh jl(n6pDrRt`unv|xz|}±бޱ챇$2@N\jx̱ڱ豩 .<JXftȱֱ*8FTbp~ıұ +&4BP^lzβ ܲ  R  R1/RKRWco{:7RŲв۲R Y!"#  R&, 1RC _OU$_ a:ms QRSRDzӉF߉Gx%%&&' + ( +!) -!9* E!Q+ ]!i, u!- !. !/ !ɲ0 !1 !2 !3 !)4 5!A5 M!Y6 e!&[ "q7n!*!80!9:!;<=!>΂΂||?B\ͯ333313J3c3|333ǰ3333+ 3DChDo\u{ +33ED F!3!ςpڃVp;-.GD$\*05: +?3D3OE[F!n3!pVp;-.HϲDև\܄ +33ED F!#3!6pAVpO;-.`IBB߯B +B#P35Q3GRn\t +y3N3#%ƲUX '7YX|[X^XZ!`X)cXm#&ѲfX(.hX\jXlX"@M{nX ֲpX$1>r@aGs@efSt@efubv z3w-.Ax ւpVp@-.Ay EQVp^@-.Az\33ύN3;-.}@ar@a +t@efu~@\F3Q3dN3z;-.}@ar@at@efuՇ\33N3p;-.)}@a4r@a=t@efuLs\y33N3p;-.Dz}@aҲr@a۲t@efu겅\3"34N3JpT;-.e}@apr@ays@eft@efu\3̯3!ލN3p;-.}@ar@a#t@efu2Y\_3j3|N3p;-.}@ar@at@efuЖ\33 3N35p?;-.P}@a[r@ads@efpt@efu\333΍N3䂉p;-.}@a +r@as@eft@efu.:RAHOV]d iR __RҲR    @R +:(4@^L_X\d]pX|Z QRS7ȲԲFGx".R4:@FM RW\afR/RR    ̲@Rن: 7&7RBMXcny Y!"R²ɲ R   _$_R  $:06BNZf lQRS~RFGx33Ȳ!ܲp沠p!3-.3n΂΂1118>@HPzڲn 0"!8¥¥!!!i沱@6B<$BBHNUʲBπBՀL޲B㲿LBLċ0ɀՊܲŠ0•›¢P0U[ahÛBáBçíBBL+B0B5L=CvB{BĀLĈĎBDzB̀ӲB BKBQBWL`fřBşBťū޲BBꀁ#B)B/5hBmBrLzƀƳBƹBƿŲBB B"%.1:@FLBDžBNjBǑǗǝǤ׳B݀銸#)/6 iou|ȞȤȫ޳BBBB  #1 >0CBI BOBUbB[Ba(BgRBmBsyʆ!k$y%ˆ&˓'ˠ( ˭0˲B˸B˾BČbBʀBІ(BփRB܊B )ڋ0߳BbB뀼B(BRBB ,N/\0i1v2̈́3͑4͞5 ͬBͲ B͸6B;7Bij8Bʳ9Bг:B֌bB܀B(BRBB;>?@A0 BB&CB,DB2B8EB>FBDGBJHBPIBVJB\KBbLBhbBnBt(BzRBπBφόϒϙM ~0ЃPBЉBЏFBЕGBЛQBСbBЧBЭ(BгRBйBпˊҳRѷUijVҳW߳XY 0B B +BZB[BbB"B((B.RB4B:@FM\-02_B8`B>DJQa60;bBABG(BMRBSBY_eldL0QW]dgD0IOU\j<0AGMTm409?ELp 106B?@."!< &') ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_-`abcdefDg/hi(0jklmnopq1rst9uv6w5xyz4Hn 0"!8¥¥!!!V%V xB}LBBLBLBLy֊@y@yyyyy1B73B<BABGM_@hJ|  +BL B$bB)bL1 B7 L@ BF LO5BU[yt@y@y-0B &,\5A^gmĵB뀁   "B #B $B %B +B 1%B 7&B ='B C(B I O)R*+, vR -  /B /L 0B 0L ǵ1B ̵1L ԢyB ڵ2B ߵ3B 䀁 ꮛJ@!4@!,5J@!O6J@!e7!1B!B!B!B!L!!97!:7!Ƶ;!ص<!=>"?"@"3A"b"n"3"4"" +"C""Y"b"Ȃ"׀"V# Z[##!#$C#FEB#LFB#RGB#X#^#u@#H##u$ +$J$4$>$`B$eL$mQB$rB$w=B$|wB$ B$$$q% +3B%c%%!p%,Q%7M%Y1B%_B%e%kOP%xQ%B%%y%Ċ@y%ӊ@y%ߵS&&U&)1B&/JB&5 B&;B&AB&F&LW&RX&X&Y&nZ&t[2&\3&]&^&_`&a&&bef&gh&i&jk' l'm'nop'Bqop'sop''ѵt'׵u'ݵ(w(%v(GB(M B(SB(YxB(_B(dL(l(ry(@y(@y(yz{|(}(׀(y(@y)@y) )-)3y)L@y)X@y)a)B))y)@y)@y))߄B)L)B)L)*y*@y*&@y*/*QB*W*]y*v@y*@y**B*B*B*B*ŵB*˵B*р*y*@y*@y++'xB+-+3y+L@y+X@y+a++y+@y+yz{|+µ+hB+ꀁ+y,@y,,6FB,<,By,[@y,g@y,p,kB,,y,@y,µ,䵠B,ꀁ,-@--53B-:-@Y-V@Y-e@-n-z--ŵ B-ˇB-щB-։L-ހ-y-@y. @y...=B.CL.LB.RL.[B.aL.jB.oL.wB.}L.B.B.B.B.L.B.B.%B.B.L.ƵB.̵L.Հ.y.@y/@y/ )R/R/3/U/[y/t@y/@y//0B0 00050WB0]0cy0|@y0@y00B0L0µB0ǵL0π0y0@y0@y%}{~K|1n 0"!8¥¥!!!1611DB1IIB1NB1S1Y1{115e1ǵe1pC2$2W2]2VB2B22ŵ2瀁233$393N3c3x3333̵334 4 45 4J 4_ 4t4444ȶ4ݶ45551!5F#5[5a%5(5*5,5€5ȶ.51563 +6'66<86Q:6f<6{>6@6B6D6϶F6H66J7!M76O7KQ7`S7u7{U7X7Z7Ƕ\7ܶ^77`8c8.e8Cg8Xi8m8s\8mB88n8Ɋ@n8Պ@8޶o9r9t9*90v9R9Xyz9c{9~999€9ȶ>9::(:=:R:g:m:::::ခ:続; ;;1;F;[;p;;;;Ā;ʶ;<<5 >">7>=>p>v>>3>ö>倁>>>???;?P?V?x?~???ȶ?݀?@@ @-@B@H@k@@ @ӷAA A.A4AgAmA0AVBBBBBB BBzB)pB< BJ!"BX#$Bf%Bt&'()xB*B+,-B./0B12345Bȷ678Bط9+B:BB;'()xC<yC=C&>'()xC={CF?zCO@A(b2+CvBCD(b+CEAR(b2CͷFCDR(bC&CGDHD +IDJDKD!LD)MD2N"D;ODDP$DMQzDVRD_STDgUVDoWXYD~ZzD[D\pD]5eD^eDƉ^[Dη_pD։DلDܷ`ab$DcadEeEfE!gpE2hpECiEVjEfkEEόFpF qFraF]-FwFxF{G-|zG8}zG|~GzGGG淄H+H<pHpHHHH[H"HH˷$HַzHᷓH쌛(HHI IR(bI[A(bIrIR(bIzITITIηIַI㷧IJ AJ> A(b2J{AJAJܷAVKAgK@AKrKK CDKȷ CD(bLCDL7CDLlCDVLCDgLַCDM RM_M&RM4_M@RMU_MaRMt_MRM_MRM_M˷RM_MRN_N!yN2yNCyNTN]NfRNtNRNNRNN÷RNNIOR(bO&R(bOM+O (b2+OϷ+P +(b2+P[+8P+PPߌVBPBPBP%PQQ pQpIQ;QIQWQ` +  +  Q 83Q͸3RyzRR3RIR_Rt A(b2+RA(b2S  +A(by2+S=! A(by2S# +CD(b+Sظ% CD(bT"& CD'(by+Td( CD'(byT*+,-.ITԸ/ CD'R(bU0U +1U2UU3U%4U.U75U@UI65e7U`8>Uo9e7U:-.eU;U<U=8UǸ>a~U?@UA@V BCV%D3VDEVTFpVcGAVwHVIVJVKVLpVǸMNV׸OPVQPW+STW?UTR(bWgVWrWW}XWYW WZW[W\R(b]W^_A(bX `X aX bX3c +A(b2dXge A(b2Xf A(b2+Xٸg A(b2Yh A(b2VYOi A(b2gYj A(b2YŸk +A(b2Zl A(by2mZbV_bn_b_bиb_c@cycNckcycc۸cyd.dKdhpCdupRdp_dpRdp_døpId߸ddze pe e*!"e8#$eF%eT&'()xeo*ew+,-e./0e12345e678e9+eȷ:eҁeڷ;'()xe<ye=f>'()xf{f&?zf/@A(b2+fVBCD(b+fEAR(b2fFCDR(bf؄&f޷GfHfIfJfKgLg MgN"gOg$P$g-Qzg6Rg?STgGUVgOWXYg^Zzgm[gu\pg}]5eg^eg^[g_pggg`ab$gԷcadgegfhgphhph#ih6jhFkhUhah~phqhrah-hwhxhƷ{hշ|zh}zh~izi ii&i7iHpiWpifisi~i[i"ii$iziiČ(iͷiַi㷗iR(bj3A(bjJjXR(bjozj}TjTjjjjͷj䷬ Ak A(b2kSAkAkAVk淵AglAlJl]lo CDl CD(blݷCDmCDmDCDVmyCDgmCDmRm_mRn _nRn-_n9RnL_nXRns_nRn_nRnķ_nзRn_nyo +yoyo,o5o>RoLoWRokovRooRooƷIoR(boR(bp%pGpMpopupXBpBpBppp΀pԸpBpBqBqBq qq3q9q[qaqqqqqӀqٸ Qqrr$r9rNrcrxrrrr̸rrs s s5sJs_ +st ssssȹsݹsttt1tFt[!tp#t%t't)tĹ+tٹ-t/u1u3u-4uB6uW8ul9u;u<u>u?uչAuBuDvEv)Gv>HvSIvhKv}LvNvOvQvѹRvTvUwWw%Xw:ZwO[wd]wy^w`wawcw͹ewgwix kx!mx6oxKqx`sxuuxwxxxzxɹ{x޹}xyyy2yGy\yqyyyyŹyڹy﹖zzz.zCzXzmzzzzzֹz빮{{{*{?{T{i{~{{{{ҹ{{||&|;|P|e|z||||ι||} }"}7}L}a}v}}}}ʹ}߹}~ ~~3~H~]~r~~~~ƹ~۹~/DY +n º׺+@U j"$&(*Ӻ,.02'3<5Q7f9{;=?AϺCEGI#K8MMObQwSUWY˺[]_ +ac4eIg^iskmoqǺsܺuwy{0|E~Zoúغ ,AVkԺ麦(=Rg|к庼$9Ncx̺  5J_tȺݺ1F[pĝhѻ*? +T i~һ& ;"P$^%s')+,ǻ-ܻ/13507E9Z;o=?ACûEػGIKM,OAQVSkUWY[]Ի_ace(g=iRkgm|oqsuлwy{}$9Ncx̻ố  5J_tȻݻ1F[pĻٻ-BWlջ)>Sh}ѻ%:Odyͼ   !6K`uɼ޼!#%'2)G+\-q/135ż7Ӽ9;=?'ASh}Ѽ %:Odyͼ !6K`uɼ޼2G\ q  Žڽ.CX m"$&(*ֽ,.0f*3?4T6i7~9;=?ҽACEG&I;HNK u{N 47=On!2q~t!v0!P!΂΂!QR3R ˂սS@TU o!U@^0@^:X@oY@Z@[\@[],^@[]_u`@[]_aýb@ []_acd@ +[]_acenf@ []_aceg˽h@ []_acegi-j@ []_acegikl@[]_acegikmn@[]_acegikmoqp@[]_acegikmoqr@[]_acegikmoqsbt@[]_acegikmoqsuv@[]_acegikmoqsuwgx@[]_acegikmoqsuwyz@[]_acegikmoqsuwy{|@R}QQ  ޘQQ ~  j#1?ftȽm=Rg|н彟(=Rg|н彴$9NcxEZ@nq½׽Hvҽ;e 7 a ߾ 3]!$۾'*/-Y$03׾69+<U?BEӾHK'NQQ{TWϾZ]#`Mcwfi˾lpq") 8rV Uz{^|{gm}z~  omppqަrsV +cb ttuu I*,-._.vHU\pvI{ r*s,-t+ˁuv؁wہxc( O_gF ݁L遃F_wwxx  3%4*/}AZPX^dgsy\34ZȃШ֨܁߃@Rz{ 34!Z08>DG||}J} J~ an{34567gedéop؁\ml0>D Z_{ _ξ =J33RdpoVp}Z4578ƃHpԃJpKpIp3/80W<-.n@-.A•=-.¢>-.A¶B-.о _,Tbx  ò_Z̓݃烢../$0C.TmĆĤľ΁aۃ澈 +*73<4AF_ ņ_WXŞYŨbŲŽṼZ[5\\[j]\Ɯ`Ƹ/龋 A_QmW3]Zfonxǂǒ/DZ0ЁӾھ  DP\hmtz Ȋ龖ȏȏ Ȣ3ȧȴ ǁ3̂ف4ށ567ob%\/^PqklɟmĺnlYZJ7KdTUʙWXUׁgehde$fM`fasˆ˔˚ˠ˥˪3˯   ܁opgede `$;IOUw\bu̸̪̓܂34567[5  xop̓ͫ[羡w7=  ΀΅ΜΪ΁3  op!4B`m  ϪK׾  Y^uЃЮл   .Ygwnt  ѷѼϦݾ  -L3Qp҃ґҗҝ  Ǿڦ辟  Pcqӏӕӛ  ؁ݾe)  Nge`3ԄeԜeԻge;  $7Ecp  խξ쾷  5:MZ4_3d5j6p7vփb֠op֫\ֵ^րkl%mlSnlׁYZהJ׽KTUWXU]geohؘdeتfӁ`a!4BpP]3b4gl5r6x p ٥5cŁ\Ͼ565c!op,CQ_e5 ڈڍڠڭں ־  !'@-@3@9eC9wۥ&& 8 3 9 Z HpJ?,<F/e0܄܇Ipܒ3ܘ=-.ܥB-.ܿ ց3 9ށ5 6 VpK?Z"Hp0J?EU_/~0ݝ45ʃ78ԁ׃Ip3@-.A=-.B-.6>-.AJ i ވޖޡ3ަ ޿opɾ3 4 7BYLbV߃ߖߤ3ߩ ƁopѾ Z@s@3@@ Z@ 3@@2OOt{3564Z༃Ń΃"&' #9w@NT!gؾؾllsy +m ܾܾṾԃ4@/5/0@/q5/0`@/5/0⫾@/5/0@/5/0AAfㅁB㕾 㣁㲯@㽾POkN"*/36;>AHNTY]bfjptx|t0Ⱦn!!!!xt! !!! +    $*0l;FLRW\afs}   l   ʿѿ׿ %!@"@ #@ $@#%@F&@P'@X(@b)@g*@j+@o,@y~-@.冿/@县0@-.壿1@孿2@弿3@4ƿ4@ѿ5@ܿ6@7_`V 8A9Af>A溿?A@AbAA綿BA +CA^DA貿E@4軯RAď$@пFA[GA[HA[.I@8J?KElKLQMW]NcOjPqQxRS醿T鍿U锿V雿W颿Xl L M  N K +߿YzZA[A\Az]@^@_@`@ a@b@c$*0 BGdSY_Ne w|eꃾ ꝿfꩿgg ͿhԿii  jklk m n%o*0pA8qArsJtAuvw[_xAw[svtyAuvw[뉿zAw[v랿{ 뭿| 뼿} ˿~߿NI￀ #7N I JcwA잿AٿA@@@Za'g' u|'' 퐊헃  ˿߿zz uu ".4 CHPz\aipu|Mppοѿ܀俟q'q'Q={\p~<p=-.3ɿ-տ;'/7VY_ze𦿴𰿵𿿶ɿѿ?ٿ!Όqyp y(efuAuLR_jr8z8¿ʿϿٿ% &05:Pa~򄊥οֿ % += +J +Wbhn +t +z +Ϳ   @:^@ ~4߀q _WXփ@ڃV Z[ #`?K^_R\\[ǃ]\/*@FL@Pf^3c@p} @ f ߃Y]b@3@FVc3h @@3@ @ @ +@@ @Y]b%0@ @ @ _@ _@ g@ns@}@ @c@@cd@@cd@@@cd@@)@3@@cd@@@\@fs@cd@@@@@@cd@@@@@@@cd@@@@@@ @$@ cd@@@@@@@ P@Zg@! +cd@@@@@@@ @"@@# cd@@@@@@@ @"@$@@% cd@@@@@@@ @"@$@&1@;H@' cd@@@@@@@ @"@$@&@(@@)cd@@@@@@@ @"@$@&@(@*@@+cd@@@@@@@ @"@$@&@(@*@,6@@M@-cd@@@@@@@ @"@$@&@(@*@,@.@@/cd@@@@@@@ @"@$@&@(@*@,@.@0@@1cd@@@@@@@ @"@$@&@(@*@,@.@0@2_@iv@3cd@@@@@@@ @"@$@&@(@*@,@.@0@2@4@@5cd@@@@@@@ @"@$@&@(@*@,@.@0@2@4@69@CP@7c_@8cdq@9cd@@:cd@@@;cd@@@@<cd@@@@@=cd@@@@@@>cd@@@@@@@? cd@@@@@@@ C@@ +cd@@@@@@@ @"m@A cd@@@@@@@ @"@$@B cd@@@@@@@ @"@$@&@C cd@@@@@@@ @"@$@&@(@Dcd@@@@@@@ @"@$@&@(@*3@Ecd@@@@@@@ @"@$@&@(@*@,l@Fcd@@@@@@@ @"@$@&@(@*@,@.@Gcd@@@@@@@ @"@$@&@(@*@,@.@0@Hcd@@@@@@@ @"@$@&@(@*@,@.@0@2)@Icd@@@@@@@ @"@$@&@(@*@,@.@0@2@4n@Jcd@@@@@@@ @"@$@&@(@*@,@.@0@2@4@6@K@K@L@L\@My@Nyp@Oyp@P@Q[@R$@S/@T7@U?@VM@WU@X]@Ye@Z@[@\@]@^@_ii@`@a@b@c@d@e@f@g @h@i@j@k @l1@nD@qU@sf@uw@w{@x@{@~@C@u@@@ @=@ +@@ +@@@C@C@O~U@Y@]@ +a@ +d@ +g@l@q@v@{ @AQz-.@->@-N{-f@r~y@-.}~ @ pʂpԇ쇜@@ R%@ R  K@^@eRk@qwx~@ R @ @@@@@@@@@@-@@@@@-~. }-~/9@C@[@j@pKv|5@ K  @@ͿKөقw@ K    @< @< ,@<= @@< T@~ h@~< @< @@ @ @@< @ @~ @~ @~ +@~ +'@ +2@ +<@~ +u@ +@~ +@~< +@~< $@-. + +@ =@ =@ o u@ y@ }@   @ 3 4     Ѓb @ Y   @ V (@ 7Z[ N Y@ d gb @a @a @ @ @@ @@ @@ @ @a @@ + @a @a .@a :@a C@a N@ Q@ X@ \@ `& g' n@ @  @  3 4    Ӂ\ ݀ @@$@+w2U @ r}m) *-7< +  !"#$%'()Q*,-./0^123456789:;<=>?@tpuxw@n!@@||@U_@_@_Ƈ) @,@k@p@u@|U@_@_@ χ) @ YBAAA AAAA +A&ABA UA +bA MNOPQRoA n! A AA!AAA!AAAAx +xAAAAAAAAA#)A 6A!CA"QA#^A$lA%zA&A'A(A)A*A+A,A-A.@A/A0A1, A2@A A3A4@A A3)A5@A RA6@A {A7GA8A9A8A:@A A;@A A<A=@A>A A?@A>A A@@A AA@A AB@A AC@A  AD@A AE@A $AF@A /AG@A :AH@A HAI@A SAJ@A aAK@A lAL@A |AM@A AN@A AO@A AP@A AQ@A AR@A AS@A AT@A AU@A AV@A AW@A  AX@A AY@A !AZ@A /A[@A :A\@A HS@NA]@A YA^@A gA_@A rA`yAaAb&S@Ac@Ad@AeAf@Ag@AhAi@Aj@)AkAlAl 'Am.4 CAn@AoApXlAq~zArzAsAtDp@Au@A>Av@A>Aw@A>Ax@A>Ay@A>Az@A>AzA{@A>3-A|@A>3<A}@A>3IA~@A>'VA@A>AcA@A>rA@A>A@A>@A>AA@A>AA@A>A@A>A@A>A  A@A>A "A@AA1A@AAAEA@AAAA^A@AAAAA|A@A@A@A@A@A@AA@AA@AA@pA@A>A@A>A@A>A@A>A@A>A@A> A@A>!A@A>A7A@A>ARA@A>AhA@A>AA@A>AA@A>AA@A>pA@A>pA@qA@qA@qA@A>qA@A>+A@A><A@qLA@A>qbA@A>q}A@AAA@A>AAA@A>AAA@A@A@A>A@A> +A@AA@A>A5A@A>AUA\ArAAAp@A>A>@A@A@A @A@A @A]-@A7A@FA@SA@] +@AhA@AuA@AA@A-AA@AA@AA@AA@AA@A-A@AA@AA@A.A@A>DA@A>WA@A>jA@A>pA@A>AA@AA@AAAAAAA A@A@$A@.A@9A@CA@NA@YA@cA@mA@_|A@rA@rA@e@A@A@3A@@M@yA@yA@yA@yA@y'A@AA;A@~O@-.cB@~-wB@AAB@B@dBBB'B'B  B B + 'B A>A y BB A>B y [BA>By tBA>By B B BA  B BB B B B! !B!B_!FB!Q p!\ +!gA !sB!~B!B BB!!B"B!B#!B$B!B%!B&!B'!B(!B)"B*"B+B" B,'U"<z"DB-"NB."XB/"bB0"lB1"vB2"B3"B4"B5"B6"B7"B8"B9"B:"B;"B<"B="B>"B?"B@#BA# BB#BC#BDyBE#2BFBGBE#IBHrBE#lBIA BE#BJ#BKy#BL#BMA #BNA>r#BOA>BPrBQ#BRA>BPrBQ$BSA>BPrBQ$#BTA>BUBVBPBWBQ$FBXA>BPrBQ$fBYr$qBZr$B[r$B\r$B]r$B^r$B_r$B`r$Bar$Bbr$Bcr$BdA %BeA %BfA %Bg%BhA>3%+BiA>A%8BjA>BkBl%NBmA>%^BnA>A %qBoA>%BpA>q%Bq%Bt*bcWefghijklmnopqrstuvwxyz{|}~%Bwn!%%Bx%By%Bzn !B{B|0"0!!@@;@V<@a@w@@@@@@@@@@@Z@@!! +!ͯ{΂΂% % %&\& +&&&]&(B}&4&9\&?&F&K&U&_&iA&q&v\&|&&&]&9 &3&&p&B~ &&܃Vp& &&&'B''\''%'*B'2'9B'A'H'P'W'\B'b'kBiBB'B'B'B'B''B_'B_'B_'B_'B'܊'劬'B'B +(B(B( +B +( B +BBB(B(B((A (A5(G6(M7(S+(`4(e(j(w(|3(3 9(5(6 +((!3(B3(B3(B(ւ3(B3(BB(BB(BBB)B@!)$B@!)>B@/)MB@/)\B@/)kB@/)zB)B)_)Z)Ip)Hp)Jp)уKp)3))/*0*4(*XJ*O**By*ҁ**+K+;YZ+Nd+`f+g+h+āTU+WXU,7kl,^ml,nl,op,;-.,σ<-.,=-.,@-.A->-.A-.B-.-H-i^-45-6@/0-78-ÃD--ڃF<-\--`.B.B.,a.9B9.Ap.LVp.Z9.k..:.E-.݃G-/B/#/0B/C/P/c/pA//B////w/ȁ//၍/BBBB0 B0 B0B0:B0O0TN0YO0^P0c0i0n\0t-0{ 0000 0*0000ņ0ʆ0І0ֆ0܆0QRS0+0TU1VU1WX1, 1#B@1-1218:1D1P1\1h1tB1|1B1B11B11B1B1B11B12 22!2,272B2MB2Y2n2s2x2}\2 +2 22͆'(2׆)(2B@B2#{P2B@RB3%P3&3"3'B34\3:3AB3I3P:3X3_3gBBB3nB3nB3;334333\333!3p3Bp3z-4{-4:4$4.q4>qL4^q4q<4q<4~4B-.5 B~5~p55-.5^5c5hB@5rB@p5B@p55555(5‡(5ۃD~-5F~-6\<6 6&6+p-TJ65Bn!!A6;6;6B6H 6VBBBefuBBBBBBBBBBBBBBB6[6[6Ɋ6Ҿ6A 6ݿ6B6BBBefuBBBBBBB737=A7FA7O7W/07fB7oBE7wBn!B!7}7}7A7Bn!77B7Bn77 +7B77Ͽs7B7B8B8B8.B8AB8Tv8g8m88C8B8C 8ʾ8ݾ89C9B{9)B|9<9M9`9s9999C&9Ҿ9C+9 + : n::C/:Au:Av:"Aw:(Ax:.A:4:::BC0S:gC1S:C2S:C3S:C4S:C5S; C6S;EC7S;jC8S;C9S;C:S;C;S;C<S<#C=SS?A@n@@CS@f@CTFGH@CUn@@CV y@CW@CY@Z@C\AAA!C_A4CaAGCcAZCeAmCgACiACkACmACoACqACsACuBCwBCyB+C{B>C}BQCBdCBwCBCBCBCBCBCBCBCCCC"CC5CCHCC[CCnCCCCCCCCCCCCCCCDCDCD:CDGCDnCDCDCDCDCDCDCDCbDCdECECE$CE2CECCEQCEbCEpCECECECECECnECpECECEC[F C]FCF*CF;CFICF\CvFjCxF{CFCFCFCFC^FC`FCzFC|F.GCGC~G#CG4CrGBCtGUCfGcChGvCGCGCGCGCGCGCGCGCHCHCH"CH3CHACHTCHbCHpCH~CHCXHCZHCHCHCjHClHHC@IC@I +C@IC@MInIICI#bSIJ,SIqI InII]I^Iˋ_Iދ`IbJcJDJDJ#D D J:DJAJGiJNJT JbDJiJodJvJ|Dn!IJD D D JJJJ JD +JJD JJD JJ JD KD$% + + + + * 02 6 8 > >>">>$>>D D 002    +J 0N >0  +P >7>> >>">>$>>:> V >D D X ^       d f 00000000h  nV p^ D  D    +J 0r r h r  r     + hd 0h   + x  x R j z 0  ~    + j   ~    +    0      + h #r$st  +    h +   #~$  +#~$  +^^0V V V #~$ #~$ V  +V #~$ $ h 00   h h h   V h +0V0h V  Jh J +0 +h V h d V h  +    +h 0V   + # $ h  + V   0 h # $  + + # $ h ^ + ^ + + ^ 0V   +  +   V   +   V   +  +> >>">>$>>:>>7>>#>>4#>#>>>>>#>>4#>#>>>>>#>>444#>#>>>>#>>>>#>>>>#~$ ^ #~$ >#~$ JJ0000V  J0 +0^ V  J^ V  J^ JJ^ J#~$ $ #~$ V 0V h0#~$  +h >7>> >>">>$>>:>>>>>>#~$ 0000000^V   + ^  V  Jh  V  Jh  J +0 +h h d     + ^   h ^^ V    + V     h   + ^ #~$ $ #~$ V h JJ +   +     #~$( $)*    0 +0h>h0h h h $ # $:; # $:;  +h h  # $@A  & 00> >Dd( (( Gd d r  r Rr  r Rd    mJ 0r  0 md    md  V  md  d  md J0d    d * h,  d     V h      V h  $[ h  +h0   h 0 h0 0 h0d h h2  h >d  0 d >d  0 d   0 V  d  0  h  0  h  0  h >h (  ( Gd  +0h    + J  h  h  +8    + d d 0d < 2#{B#Fd E#8< < r  r Rr  r Rd    J 0r  +d hh +( * hh +d 0r d F0.L   (   +( G +(   +( G(  ( GR  # $ d d X  ,  ,  d d ,   +,  ,   + d h0h +( ((^(   + # $@A  +`    +    +f    V d f 000h   V 00  00   + hd 0h +`    + h +   +J 0r r  r  r h  +` 2 b   +P >7>> >>">>>>$>>:>#~$  +#~$ >^    V d f 0000000 8 h  h j lV n d 0hh    + h   +   +J 0r r h r  r   +d z    +  +d    + #~$ d p d r t 2 >2 x|    +J 0r  +0x 2 2    +J 0 h  +f `h`   + hd h +^rb d 0b h  X d d 0     V V  +   +  +   +  +r b  > >>">>$>>:>>>> >>@>>΀>#~$   J >h 00000000000   +J 0   +J 0    m     J JJ   h h h    + h    +   0 d     +J 0r    +J 0r r  +         + +  +   +>7>> >>>>000      +r > >>">>$>> 000    + J  h h h  d d  r R  r R  r 00d r  r Rr  r R    +J 0r  h  +r 0   + J  h h h  + r #~$  +#~$ 0 d h0h0h   + d 0< E#8< <    +J 0r d 0 &  & 0    mJ 0r  & d     +   + r R  r Rd d 0d     J 0r    +J 0r  b   +b  b  x   r      +J 0    + h     0 d  0    b        d    m   b        d    m   b      +0 +d   +0 +   b   +b    >d >     +J 0r  b          +J 0     0 d  0    b    >d >     +J 0r  b    0 d  0      +J 0r  b     +0  d   0 / 0     +J 0r  b      + + r^ + r^ +  +r^ r^ b +     +( b b    + x ( r d ( ( @ +     +J 0    + h   +    ( ( @ +  ( ( @ +    d d d ( ( @ +  d 0d ( ( @ +      mJ 0r  +(   +( G     +( G"  ( G$ (   +( G   *  +( G" , ( G$ .( 0   +    (   +( G +(   +( G(  ( G4  d d    d d d d 8  d d    r d F0.:  r d F0.:  >  d d d r d F0.:  d 0d Dr d F0.:  F    mJ 0r ( @( ( ( @ +( G   +( G +( G   +( G( G  ( Gd F0.r r d F0. +>0 L LT   LL LTLJJ + R T + ^V_ +Z ^V_ \ ^V_  a a^cd ^V_  e f e f` b ^V_ d  f  ^V_  ahcd   j   ^V_  e fl^V_ +n ^V_ pL^V_ rL^V_C LTt ^V_ mv^V_xo~ + +p ^V_ +Z ^V_ \ ^V_  a a^cd ^V_  e f e f` b ^V_ d  f  ^V_  ahcd   j   ^V_  e fl^V_ +n ^V_ pL^V_ rL^V_C LTt ^V_ mv^V_xo~ + +px ^V_ +Z ^V_ \ ^V_  a a^cd ^V_  e !f e !f` b ^V_ d  f  ^V_  ahcd   !j   !^V_  e !fl^V_ +n ^V_ pL^V_ rL^V_C LTt ^V_ mv^V_xo~ + +p +x ^V_ +Z ^V_ \ ^V_  a a^cd ^V_  e f e f` b ^V_ d  f  ^V_  ahcd   j   ^V_  e fl^V_ +n ^V_ pL^V_ rL^V_C LTt ^V_ mv^V_xo~ + +p ^V_ +Z ^V_ \ ^V_  a a^cd ^V_  e f e f` b ^V_ d  f  ^V_  ahcd   j   ^V_  e fl^V_ +n ^V_ pL^V_ rL^V_C LTt ^V_ mv^V_xo~ + +p + +      a      e f     b    a  f      e f   j    +   LL LTL x~ +#v + 0x~ + +     {      | }        {      | }     b    a  f      e f   j     b    {  f      | }   j        {      | }    +   LL LTL   + +V +      a      e f     b    a  f      e f   j    +  LL LTL x~ + + +N ^V_ \N ^V_  a a^Ncd ^V_  e f e f`N b ^V_ dN  f  ^V_  ahNcd   j   ^V_  e flN^V_ +nN ^V_ pNL^V_ rNL^V_C LTtN ^V_ mvN^V_xo~ + +pN ^V_ +ZVV~ + +0 + N ^V_ \N ^V_  a a^Ncd ^V_  e f e f`N b ^V_ dN  f  ^V_  ahNcd   j   ^V_  e flN^V_ +nN ^V_ pNL^V_ rNL^V_C LTtN ^V_ mvN^V_xo~ + +pN ^V_ +ZV~ + +VVx~ + +     a      e f     b    a  f      e f   j        a      e f    + + x~ + +     a      e f     b    a  f      e f   j    +   LL LTL VN ^V_ \N ^V_  a a^Ncd ^V_  e f e f`N b ^V_ dN  f  ^V_  ahNcd   j   ^V_  e flN^V_ +nN ^V_ pNL^V_ rNL^V_C LTtN ^V_ mvN^V_xo~ + +pN ^V_ +Z~ + +VV     a      e f     b    a  f      e f   j        a      e f    + + x~ + +  #~$ $    a      e f     b    a  f      e f   j    +   LL LTL V +  + V  V   a  V    e f   b V   f  V   a   j   V    e fV + V LV LVL LT V  Vx~ + +  ~ + +x#r$ J# $    +  +~ + +x  ~ + +x            ^V_ +  ^V_ +^V_   ^V_ ^V_  a a  ^V_  a acd^V_  e f e f cd ^V_  e f e f^V_  b  b ^V_ ^V_  a  f    f  ^V_  acd^V_  e f   j   cd   j   ^V_  e f^V_ +^V_ +^V_   ^V_ ^V_ LL^V_ ^V_C LTLL^V_C LT^V_ m  ^V_ m^V_xo~ + +p^V_xo~ + +p'#  >   >  +~  0  > 0~~      # $   0 + +> + / 000 / 0 >>  +2  0  > 0  + >00         0          +0                 0 0 $[  0 000 2 >  0  >  0   0    0    0   >     $  $   $  $  0 +  +  + +>7>> >>"> >0    +~  0  > 0~~      # $    +2  0  > 0       >>  >   0      0 +0     0    +  + >  0  + 0  + +    +       +   +  #~$ 00      >        +0 0 0 0 0 0    0    0    $[  0                        >  0  >  0  00 2      +0>> 0  0  0 0   > / 0 > ~>   >> >> >> >>  >> >7> >>   +>7>> 0 >7>> +>> 0 >>>  > >  >      $  ~ + +  + +~ + + + + + + + ~ + + + +  +~     >00  +     +  ~        ~    +0                     ~      0    +0 &  (  . ~  >00    ~  48  +  ~    ~  0 +~     ~       +   0                  +~  ~  00>    ~  2#>#K~  ~   +    ~      +0 +0       +           ~               0   :  (  ~  B  ~   +. L N  P R R R        +0  0  0   +T T  T T  V  X  X  T Z X   ^X `d     V Z Z T  d   R f >>   0h   R         +0 0 0 0  0  Z Z  Z  Z    + X T   X l0n R >:> >>> 0>   >r  >>R     > 00      +0 0 0 0  0      >0>>>  >>  >>  + H >>>  H 0 +2  >00    0 +0 +  +02 2        +  + 0  0   +02 2 2 +2 2 +2 00      0                       0 0 $[  0 0>  0  >  0   0    0    0   >  +x 2  +x 2 2 2 2 +2 2 +2 2  +2  0    +  + 0  0   +0z | ~  >~  2 2  +0 + # $  | 2 > 2   +0 + 2    +                           +>>>  > / 0 0   >       >  +0        > / 0 000>    >  0   ~>  0~  >  0  >  0  >  0 +  +                  ~         +0 +0         +    >>      0    .   >0   8  +02 .   >0   8 .    >0    8                                                x  > / 0 0 >00   >  0  >  0 >  02 2  +0 0 0 +0   +  +  + 2 +2 2 +2 2 2       2  >> / 0  00 0 00 2##0 $>0 * >>>04 > >7>>$8>:d d>,>E#B>>DJ>>PJRV  >>0 *> 0>0\>^4> >>7>> >>> 8 Jd>d X00bE#j0#B>b8 JlJJrv > >>>0 l88|v > >>>0 '#>>> > 2# +'# > 2# +'# #  $ >7>>  >>>>> *> 04> 2#04> 2#0> 8 J + $  $ >">>>> ?>> 0>>>>>>>>$>>>0$ >>>0$>>> $>>> $0>$lv> >>>0 >>>0 8 8 0>>>0 JJ0>>>0 * >4 > >7>>$8>: +>">>>>OO">>>OO >>>#3>>#4>>>8%>>:3>>>$>>>>>>>>>>>>0 >>$ >  >>$>>> >>>$ >>> >>>>D8>8>V  >>0  > >$ '# '# # >O=>>>> >T8>>>>0 J> >>>0 l8>8>v> l>HZ> >>>> >Tv> >>  +8    T             +( ( 8 *  (    +  +*  *                  *  *            *  *             *  *    *  *  8 8 d d *  *  *  *  *  *  4    8 8  >~ * >*>   >d>h   + 0000 +'# + +#$ 0000 + +'# + +#$ 0000 + +'# + +#$ 0000 + +'# + +#$ 0000 + 0000 $ 000000002##   *   + + # +#$ + +*4     >> 8 :D&:&0:2V >>0 &'#&&6& + +  +@ +B DH < +L  +  + + + +NP + + + + + + + 2#V#^ + + +2#`#b + + + + +Z  + + + + + + + * +   + +4 + 2#f12#h#p + f +4 + 2#h#v + + 8  +d +d * * + * +>>H>> +> >4 +> > +>8> +d +d> +  +:0:| +~  + +  +J> +>0J +>> +$>>  + *  + + + + + + + + +4  +2## + + + 8 +:d d + +>>> >> +>> >> >>">>0>>\>>b>>>f>>n>>r>>t>>u>>H>>H>>H>>H>   >> >  >>  +  +  +  +0 + ~ + +0 +>>  + ~ + +0  +   +    >> >   > > $!>->.$> > $!>->. +>>$>> $U>->.     >> > > > > >>>$>> $>->.>   + + + +  + + + + + R'#RRZR0 00 2##0 $>0 ,>E#>>X00bE#0#>b8 Jl::v > >>>0 >>>0 >>> >>> :>>>0 '#> >      >7>>   8 :d d D: 0:V >>0  >> ( ( (  +   >>  >>  +  >>>>   >>0> +>> >     T"8 (. >>0 0J0 6  +0 : < >  +  +$[  $[  +0>>B::H >  +  +$[  $[ JN +: >>0  0J0D  RV  >>0  0J0*B    V.B 0JD8 8 ZV  >>0 J`8 +8 +fh0 > >>>0 J`:B:0n:rB0 > >>>0 0 tv00 2#C|#&0>0 * >4 > >7>>$8>:d d> +>>$>HZ>>>$ >>0 >>>JJJ  >>0 *> 0004> 2#C#&0>>7>> 8 Jd>d * *> 0>>>  +0>>>U>>HW> K $[ $YZ $YZ $YZ $YZ $[\ $]^ $_` $ab  >d>>f>>h >>0>>k:>>mD>>oN>>pX>>b>>sl>>uv>>w>>yA>>{C>>}E>>G>>I>>K>>M> $  $  $  $7  $  $  $  $  $0  $  $_  $  $  $  $  $  $  $  $o  K $ LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N LNM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# NM# N  >#c>>#c>>#e>>#g>>#x>>#z>>#|>>#~>>#>>#>>#>0#~$ >0> >>> >>> >>>0 $>>0  $>>0 >>>$0>0>>>>>H>>H>x'#Bxxx>>>H>>H>>H>>H>>H>>H>>H># $ # $  + #r$     +#   +  #~$(  +  +  +  +'#r$  +'##  1#  1 +$$$$>>0000 >$ >$$$$$$$$$$*$$$$$$>$>$$$$$$$$$0$0$0$0$>>$$$$$$$$>$>$>* > #~$  +> 00 # $ 00# $ 00# $ 00  + >> / 0>> / 0 +0> >>">>>>$>>?>>A>>C>>C>> >>">>>>$>>?>>A>>C>>:>>N >> +>>Q >>S >>S >>0>HX>6>>> >>>>>>>>>>> >> >>7>>7>>7>>7>>7>:>> >> >>7>>7>>7>>7>>7>:<>00>00>@0B>>>>>>>>0 0 0 +00000000>00> > > >   000>>>>>>>>0># ${| 0>>>>>>>>00*4 * *tF***4 ?* *tF***OO#J*L** ** **P******>**>>>>****  #   * * * +>H>>H>><>><>>>>4#T>#V>wZ>>4#\>#^>wZ>>4#`>#b>wZ>>4#d>#f>wZ>>4#V>#^>wZ>>4#h>#b>wZ>>4#j>#f>wZ>>4#^>#b>wZ>>4#l>#f>wZ>>4#b>#f>wZ>'#p<7>>>>>>>>>0>7>>7>>7>>7>>7>>7>r6#r44444#v>4#T>#x>wZ>ez>4#\>#|>wZ>ez>4#`>#~>wZ>ez>4#d>#>wZ>ez>4#>#>wZ>ez>r>>0000 +0> # $  +> # $   ># $   > +> > # ${|  # # $  # $   ~ #~$Æ  + +    + # $Ɇ  + + + +H H#r$φ H#r$φ #~$ H 0   #~$ # $  H#~$  H H# $ # $      #~$   #~$ >>  >  >>>>  >> > >>>>   >>  > +>>>>  #r$ >  ># ${| >> +  # ${| >> +  >#r$ H#~$  >H #r$   H  +#r$  +~H #~$  #~$  H   H   H  + +H  +#~$   +#~$  #r$  #~$  H #~$Æ  + +  + >#~$  $[ > #r$ +   + #~$   +>J~ +00 + +#~$ > +00>> >7>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>**** >  >#   > > >> +~0000#~$  +~ +#~$  +~ +#~$ #~$  + + +~ +~0000 +~ + + + >00   >> >p         {  0        +0                 0 0 $[  0 000 2 >  0  >  0   0    0    0   >  n > >>> >pr > >>#r$23  + 0 + 0 +.   > > #r$:; >> 00# $@A 0000 00>> >p00   > >>  >   > >      > / 0  >7>> 0 >7>> 0 >> >> >  >  >   +0>   0  0    >> >> >> >7> >> >>  >>  ~>  +0 +    >00~  ~    ~             ~  ~  ~   +0 +0 +          ~                 0     ~    +        +    $   ( * #~$  +>  +>0000 +0>*>0000>>>>****>*> > >   #     #~$ >#~$ $  +0 #~$ #~$ # $  + + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. + +#b. +># $  +># $  +>> + >7>4 >7>4 +>>> 6> > >   + + +6 00# $ 0# $ 0 0000# $ 00# $ 00   8 >7>8 0  # $  +4   .  < > @  B # $  2 2 2 2  +0 0   +0 +  +  + 0  0   +02 +2 2 2 2 +2  2  +   +# $ D'#DDH$[ D H  +  L  +>>>>>>>0 >>#~$(  + 6>>00>N>>7>>>  $[ > >> +0 > 06>7>06>7>>6>>  >>    > > $Ʌ  > $Ʌ  6>7>06 >7> 64 4>7> 6  6 4 >>  6 6 4     > P> T> +V> >>>> >>>   >> >7> 000>0>>>> +>00 +$[  + >  $[  +$[   + +  $[  +$[ >  +'#Z$ '#Z$[ > d +0 +> +0  +j    >    ~  ~  00000000 l>   >   ~  r  ~ t  ~ v 0x 0z  ~  00> $ ~  00 00  +0    >   ~  jj jjjj >7>>j >7>>j   #x    #x      #x~   > >>> >7>>> +j   >     >~  ~  >8&'#>>2>2>H3`>H4>H5>H6>H5>H7G>>>8&'#>>2>2>H9g>H4>H5>H6>H5>H7G>>>8&'#>>2>2>H;>H<>H>H6>H5>H7G>>>8&'#>>2>2>H>h>H4>H5>H?>H5>H?>>>8&'#>>2>2>HA>HB>C>HD(>2>2>>>8&'#>>2>2>HF>HG/>H5>H6>H5>H7G>>>8&'#>>2>2>HI>HJ+>H5>H6>H5>H7G>>>8&'#>>2>2>HF>HG/>H>H6>H5>H7G>>>82>2>HM>HG/>H>H6>H5>H7G>>>82>2>HM>H<>H>H6>H5>H7G>>>8&'#>>2>2>H3`>H4>H5>H6>H5>H7G>>   >  000000000 l ~  >    >>>>>>>>    >   ~    $X ~   $X ~  0 0 > 0 >    ~ n 0  0>7> >0  0j 0   >   ~  jj   ~  j> > >>0  >>>>0 >> $X  >0 >>  >>    >>  >>  0   0  >>~   >>  >0 >  >>>0000  >>>0000 >0>0    0   0    jj >jj0  j     +0  #x~  > 0  >> >>0 >0>0 +>OO >> >j#L>82>2>Hl>H4>H5>H>H>H>>> #*n#N>>j  0 ~   >j  ~  00> $ ~  00j  ~  B>  > lj# $  0># $  0# $ 0$  >jl>>   +j >>>>>> >0000000000000    >     ~  ~  l> >>>>>>  0 0  0jj   >   ~  j jjj>j0   +0j nlll  $> >>>>> >>    > >>0  >>  >0  >h >>8%>>&>>+>>.>>/>>k:>>O=>>yA>>Z>>[>>\>>]>>a>>f>>z> $ > >>">>>>$>>?>>A>>C>>>>>>>$ + + +    +  +  # $  + + +  # $  +   +  +  + 000  + +  0>>7> $X  +> + > >OOH"Z>>>OOH$}>>>OOH$}>>>OOH'}>> > > >0  h ~    ~   h ~    h ~   ~  hh ~  #~$ $ #~$ 0 +>@>#r$;< >#9>  #r$AB  +    ~#r$AB **** *  * *"&~#r$AB ** *  &~#r$AB  +~    #~$ O '#/00#0**$OP 00  #~$ O '#/00#0**$OP 00  +>>jjj4  +h0000h0> @ @00>> @ +>>>J>L>F>F>F +N> ~F  ~   R ~F  + $xy T >VT >  ~  ~ ~ > + > Z>\~ ~  + >~F  `>b~dFf  ~#~$ $ 0#~$ $ >> >>    hh0'#/00#0**$ <100> >>">>$>>?>>A>>C>>N >> +>>Q ># $ #~$( #~$ >>>J#$ J + >   +0# $ >>>>> >  + >>>>>>>>>>>2#1>2#12#12#12#12#1# $ # $  +# $A ># $A ># $A # $  + 0 00J #$É J00 > >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >$> >>>>> >> >>>>> >> >>>>> >* *>*>* >* *>*>* ># $Ѐ 0 0>0>0 # $ >>>> # $ >>>> # $ >>>> # $ >>>> # $ >>>> # $ >>>> # $ >>>> # $ >>>> # $ >*>* # $ >*>* # $Ѐ >0>0     > >  # $ހ    > >  # $  +   > >  # $  > >>>>> # $  > >  # $  > # $  + > # $  > >  # $ >>>> # $ @>>#~$ $ J#~$( > + +># $  +#"#$#&#(#*#,#.#0#2# +4# 6#8#:#<#>#@#B#D#F#H8#J#L#N#P#R#T#V#X#Z# \# ^# `#b#d#f#h#j#l#n#ptv'##zz #!v#"~vv ##t#$tt'##zz #!v#%vv ##t#$tt'##zz #!v#&vv ##t#$tt'##zz #!v#'vv ##t#$tt'##zz #!v#%vv ##t#(tt'##zz #!v#'vv ##t#(tt'##zz #!v#"~vv ##t#)tt'##zz #!v#%vv ##t#)tt'##zz #!v#'vv ##t#)tt'##zz #!v#"~vv ##t#*tt'##zz #!v#%vv ##t#*tt'##zz #!v#&vv ##t#*tt'##zz #!v#'vv ##t#*tt'##zz #!v#+vv ##t#*tt'##zz #!v#,vv ##t#*tt'##zz #!v#%vv ##t#-tt'##zz #!v#'vv ##t#-tt'##zz #!v#%vv ##t# tt'##zz #!v#&vv ##t# tt'##zz #!v#'vv ##t# ttvt# v'#!vvvv'#!vvvv'#!vvvv'#!vvvv'#!vvvv'#!vvvv8#"~v#%v#&v#'v#+v#,vvt'##tttt'##tttt'##tttt'##tttt'##tttt'##tttt8#$t#(t#)t#*t#-t# tt# $ # $  +~~ +# $ހ # $Ѐ #E# $A #EJJ# $K  +# $K  +M +>  + M# $ހ  +>>  # $ހ > >  +  +'#[# $K #1AB ##J'#=B ##L'#=B ##N'#9B ##P'#9B ##R'#=B ##T'#9B ##V'#9B ##X'#9B ##Z'#9B ## \'#=B ## ^'#=B ## `'#9B ##b'#9B ##d'#=B ##f'#=B ##h'#9B ##j'#9B ##l'#9B ##n'#9B ##p'#9~# $K #1AB ##J'#9B ##L'#9B ##N'#9B ##P'#9B ##R'#9B ##T'#9B ##V'#9B ##X'#9B ##Z'#9B ## \'#9B ## ^'#9B ## `'#9B ##b'#9B ##d'#9B ##f'#9B ##h'#9B ##j'#9B ##l'#9B ##n'#9B ##p'#9~# $K #1AB ##J'#=B ##L'#=B ##N'#=B ##P'#=B ##R'#=B ##T'#=B ##V'#=B ##X'#=B ##Z'#=B ## \'#=B ## ^'#=B ## `'#=B ##b'#=B ##d'#=B ##f'#=B ##h'#=B ##j'#=B ##l'#=B ##n'#=B ##p'#=~# $K #1AB ##J'#:B ##L'#:B ##N'#:B ##P'#:B ##R'#:B ##T'#:B ##V'#:B ##X'#:B ##Z'#:B ## \'#:B ## ^'#:B ## `'#:B ##b'#:B ##d'#:B ##f'#:B ##h'#:B ##j'#:B ##l'#:B ##n'#:B ##p'#:~# $K #1AB ##J'#>B ##L'#>B ##N'#>B ##P'#>B ##R'#>B ##T'#>B ##V'#>B ##X'#>B ##Z'#>B ## \'#>B ## ^'#>B ## `'#>B ##b'#>B ##d'#>B ##f'#>B ##h'#>B ##j'#>B ##l'#>B ##n'#>B ##p'#>~# $K #1AB ##J'#;B ##L'#;B ##N'#;B ##P'#;B ##R'#;B ##T'#;B ##V'#;B ##X'#;B ##Z'#;B ## \'#;B ## ^'#;B ## `'#;B ##b'#;B ##d'#;B ##f'#;B ##h'#;B ##j'#;B ##l'#;B ##n'#;B ##p'#;~# $K #1AB ##J'#?B ##L'#?B ##N'#?B ##P'#?B ##R'#?B ##T'#?B ##V'#?B ##X'#?B ##Z'#?B ## \'#?B ## ^'#?B ## `'#?B ##b'#?B ##d'#?B ##f'#?B ##h'#?B ##j'#?B ##l'#?B ##n'#?B ##p'#?~# $K #1AB ##J'#;B ##L'#<B ##N'#;B ##P'#<B ##R'#<B ##T'#<B ##V'#;B ##X'#<B ##Z'#<B ## \'#;B ## ^'#<B ## `'#;B ##b'#<B ##d'#;B ##f'#<B ##h'#<B ##j'#<B ##l'#;B ##n'#;B ##p'#;~# $K #1AB ##J'#?B ##L'#@B ##N'#?B ##P'#@B ##R'#@B ##T'#@B ##V'#?B ##X'#@B ##Z'#@B ## \'#?B ## ^'#@B ## `'#?B ##b'#@B ##d'#?B ##f'#@B ##h'#@B ##j'#@B ##l'#?B ##n'#?B ##p'#?~# $K #1AB ##J'#<B ##L'#<B ##N'#<B ##P'#<B ##R'#<B ##T'#<B ##V'#<B ##X'#<B ##Z'#<B ## \'#<B ## ^'#<B ## `'#<B ##b'#<B ##d'#<B ##f'#<B ##h'#<B ##j'#<B ##l'#<B ##n'#<B ##p'#<~# $K #1AB ##J'#@B ##L'#@B ##N'#@B ##P'#@B ##R'#@B ##T'#@B ##V'#@B ##X'#@B ##Z'#@B ## \'#@B ## ^'#@B ## `'#@B ##b'#@B ##d'#@B ##f'#@B ##h'#@B ##j'#@B ##l'#@B ##n'#@B ##p'#@~#1AB ##J'#;B ##L'#<B ##N'#;B ##P'#<B ##R'#<B ##T'#<B ##V'#;B ##X'#<B ##Z'#<B ## \'#;B ## ^'#<B ## `'#;B ##b'#<B ##d'#;B ##f'#<B ##h'#<B ##j'#<B ##l'#<B ##n'#;B ##p'#<~# $K #1AB ##J'#?B ##L'#@B ##N'#?B ##P'#@B ##R'#@B ##T'#@B ##V'#?B ##X'#@B ##Z'#@B ## \'#?B ## ^'#@B ## `'#?B ##b'#@B ##d'#?B ##f'#@B ##h'#@B ##j'#@B ##l'#@B ##n'#?B ##p'#@~# $K #1AB ##J'#?B ##L'#@B ##N'#?B ##P'#@B ##R'#@B ##T'#@B ##V'#?B ##X'#@B ##Z'#@B ## \'#?B ## ^'#@B ## `'#?B ##b'#@B ##d'#?B ##f'#@B ##h'#@B ##j'#@B ##l'#@B ##n'#?B ##p'#@~# $K #1AB ##J'#?B ##L'#?B ##N'#?B ##P'#?B ##R'#?B ##T'#;B ##V'#;B ##X'#;B ##Z'#;B ## \'#?B ## ^'#?B ## `'#;B ##b'#;B ##d'#;B ##f'#;B ##h'#;B ##j'#;B ##l'#>B ##n'#>B ##p'#>~ +>   # $  0 +0JJ 00 #~$ #~$  + +# $ހ   +# $  +>># $   +#$   #$  ~h #$ ~'#&'#$ d#$Ɋ ~#$͊ '#&'#$ϊ '#&'#$Ҋ '#&'#$Պ '#&'#$؊ '#&'#$ۊ '#&'#$ފ  0 0  0 0  > >> >> >     0 0 0 0   0 0       > >  0 00 00 0     > >  0 0  0 0    > >> >> >0 0> >       dddddd #$ > >>  >> #$ ~#$                                    #$+* '#&'#$-r '#&'#$/ 0  h    h dd #$>= ~#$B@ #$DC    #$GH  +  +       #$NM   +  #$PO   ~#$TS  ~#$WV #$YX   + #] #]#^  #] #]#_  #] #]#`  $a #] #]#b +  #] #]#c   #d#$ef '#&'#$hi '#&'#$kl '#&'#$no '#&'#$ '#&'#$qr '#&'#$tu '#&'#w$xy '#&'#${| >">>>> >>?>>7>>$>0>dddddddd #$   >  ~#$                                     #$   #$  ""#$  "#$ #$ "#$ #$ $  ~&#$   ~$#$ $( ~*#$ ,#$   +~h. h.h#$ >>  >>>h0#$Ë 02,2(#$Ƌ $( ~4 h#  #$ɋ 0#$̋ 6h#$Ћ     #$Ӌ 0#$؋  h~  ~88h#$݋   #$ >   >> :#$ : ~<#$ > @hh#$ 0hh:hBhh #$ D'#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$w F'#&'#FFFF$z F'#&'#$ +  '#&'#$  H'#&'#HHHH$ H'#&'#$ '#&'#$ J'#&'#JJJJ$ J'#&'#$ LLLLLLFLLLHLLLJL#$-, F'#&'#FFFF$z F dF N  + #$0/ >#$34 0 00 0P      0 0  #d#$=> #R$=> VX     Z  000 #  #$FG \#$IH  h hh~h h#$NM    ~^h #$UT `b #$YZ dn'#&' #r#\nnnn$]^ nn'#&' #r#\nnnn$`a n> >> >LnLnt>>v#R$ij V#$kl  ~ +#$ph #R$ij V#$kl  +#$ph #R$ij V#$kl  +#$st   x#] #]#^  #] #]#_  000000z $  #$  :~  +   +h:#$  #$   +b#$ b   #R$ V#$  +  +       0 0             #R$ V#$  +  +    #] #]#^  #] #]#c   #] #]#`  $Q #d#] #]#^  #] #]#c   #] #]#`  $Q #d #  *~ #$  #$   #R$ V>~#$ #R$ V#$ #R$ V>#$ #R$ V>#$ #R$ V>#$ #R$ V> +    ~#$Ќ #R$ V>>>>#$Ռ #R$ V#$׌ 0 00 >>>>>> #$  #$             #$ 0   0     >>> > > > >>> > > > 00  d #$  d #$  d #$  d #] #]#^  #] #]#c   #] #]#`  $Q #d#] #]#^  #] #]#c   #] #]#`  $Q #d   #$/. X  > >> > >> >>  +  +  +  + #$:9      + + #$>= h h~h h#$CB  ~#$FE > 0 ~#$IH  #$KJ   0000   ~#$QR  00 #] #]#^  $UV #$WX 0  #$=> #R$=> VX#$\[ ~h  ~h#$_^ #$hg   #$ji #$lm   #$on ~h~hhhh#] #]#^  #] #]#c   #$vu 0#${x #R$|} V#$~ #$ #R$I V +0  +#$   #$ ~ #$    0#$  0#$   #$  #$ #$ #$ #R$ V>  >>#$Í #$ɍ  #$΍   #$ҍ #$ #R$ V  >   #$؍    #$܍  ~#$ #$ #$   #$   #$   #$  #$   #$  #$     #$ >">>?>>>>C>>:>>$>> +>>A>> >>S >>>  >#$    #$   #$ 0    >  #$! #$"  #$"    #$! #$%#  #$%#    #$! #$(&  #$(&    #$! #$+)  #$+)    #$! #$.,  #$.,    #$! #$1/  #$1/    #$! #$42  #$42    #$! #$75  #$75    #$! #$:8  #$:8    #$! #$=;  #$=;    #$! #$@>  #$@>    #$! #$CA  #$CA    #$! #$FD  #$FD    #$! #$IG  #$IG    #$! #$LJ  #$LJ    #$! #$OM  #$OM    #$! #$RP  #$RP    #$! #$US  #$US    #$! #$XV  #$XV    #$! #$[Y  #$[Y    #$! #$^\  #$^\    #$! #$a_  #$a_    #$! #$db  #$db    #$! #$ge  #$ge    #$! #$jh  #$jh    #$! #$mk  #$mk    #$! #$pn  #$pn    #$! #$sq  #$sq    #$! #$vt  #$vt    #$! #$yw  #$yw    #$! #$z  #$z    #$! #$|  #$|    #$! #$~  #$~    #$! #$  #$    #$! #$  #$    #$! #$F  #$F    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$b  #$b    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$Ď  #$Ď    #$! #$ƌ  #$ƌ    #$! #$Ɏ  #$Ɏ    #$! #$̎  #$̎    #$! #$ώ  #$ώ    #$! #$Ҏ  #$Ҏ    #$! #$Վ  #$Վ    #$! #$؎  #$؎    #$! #$ێ  #$ێ    #$! #$܇  #$܇    #$! #$ߎ  #$ߎ    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$  #$    #$! #$   #$     #$! #$ +  #$ +    #$! #$   #$     #$! #$  #$    #$! #$  #$    #$! #$(  #$(    #$! #$  #$    #$! #$  #$        0 0                  #$/   >    +                                                                                                   +                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              #] #]#^  #] #]#_  #] #]#`  $a #] #]#c    #] #]#^  #] #]#_  #] #]#`  $a #] #]#c                                                          #$-.   #$01 #$ #R$ V#$ #R$ V  >>>  >>> #$89    +#$;< #$>? 0 0#$BC 0>>#$HI    #$KL      #$NO >> +#$RS  #$WX #$Z[   #$]\   +~ #$a^  #$a^    + h#$ed #R$I V#$jg #R$I V 0000 + ~#$lm  00 + #$op #$rs   #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$uv 0#$wx #R$wx VX#$zy     #$~ #R$~ V      >> #$   #$ #] #]#^  #] #]#c   #$ > #$Z   #$Z  >> >#$ F'#&'#FFFF$z F> >>7>dF  + #$.  + #$.  #$ #] #]#^  #] #]#c   >>   + #$ #] #]#^  #] #]#c   >>#$ #] #]#^  #] #]#c    #$ #] #]#^  #] #]#c       + #$ > >>7>> >>  >> >  #$  >>  > >  #$ >  #] #]#^  #] #]#c   #$ 00 0#$  #$Đ  #$ǐ  "#$ɐ #$ː $$& ~((#$ѐ 0 ~**#$֐ #d#$ؐ 0 0   #$ݐ  00h, h 00h h#$ , ~   + #$    + #$   #$  #$  #$  ~h ~   + #$    + #$   #$  #$  #$  ~h#$  .  + #$ h#$ #$  0  + h#$ #$ X'#&'#$ '#&'#$ '#&'#$ +  2'#&'# 2222$ 2'#&'#$  #$ #$    46#$ #R$ V#$ #R$ V#$  0#$#$ 80:#$'(   #$*+   #$./  < #$45  #$45   >#$8  #$8  #$:;  #$=> #] #]#^  #] #]#c   #$@A #] #]#^  #] #]#c   0#$CD #] #]#^  #] #]#c   0#$FG #] #]#^  #] #]#c    #$LM #$NO #R$NO V@#$RS >#$UV #$wx #R$wx VX#$XY #$[\ dddddddddBdBdd#iD$jk HddBdBdBdBdBdBdBddddddddJdJdJddddBdBdBdBdBdBdBdLddddddddddddd2ddddddddddNdNdNdNdddd#  0#  0#] #]#^  #] #]#_  #] #]#`  $a  PXX#$ >>RT#$  #$   #$  R#$  \>V#$ V#$ V#$ V#$ V#$ V#$ȑ VX 0 0 #R$ґ V#$ґ  X#R$ґ V#$ґ  X#R$ґ V#$ґ  XX0X 0 0 0 0  #   ~J#$ #  J#$ #  J#$ #] #]#^  #] #]#c    #$ >>>>  #$ #R$=> V#$=>  X Z #    #~$         X>\^X>\`#$ Xbd#R$I Vf   #$RS >#$XY #$[\  hj hj Z  hj   hj   #$ #R$=> V#$=>  X#$ + #$NO #R$NO V>>>>l#$  ~>>#$     #d#$  $  $  $  $   $"#  $%&  $()  $+,  $./  $12  $45  $78  $:;  $=>  $@A  $CD  $FG  $IJ  $LM  $OP  $RS  $UV  $XY  $[\  $^_  $ab  $de  $gh  $jk  $mn  $p    #$rs   np   n#$z{  r0#$~6  + +#$                        +~#$ #$ ~#$ #$ ~#$ #$  #$ 00 +~#$ #$ ~#$’ #$’ ~t#$Β t#$Β t#$ђ v  P#$Ւ x0    ttttt~t#$ܒ t#$ܒ t#$ߒ xxxxx~x#$ܒ x#$ܒ x~t#$ t#$ t#$ tttt~~~~zzzzz~z#$ z#$ z~z#$ z#$ z#$ |~> >>> >>#$ >#$vt #$b #$ #$ #$  #$(   +0000~#$ #$ #$  |  ~ > >   > > > > #$      #$  >    0>     0 00f0> >X +0>>   >/0  0 0 00 >> >> >> >>>7>  +0 +0> > > >#~$    LLLLLLLLLBLBLL#iD$ HLLBLBLBLBLBLBLBLLLLLLLLJLJLJLLLLBLBLBLBLBLBLBLLLLLLLLLLLLLLLLLLLLNLNLNLNLNLN#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   LLLLLLL  Z X> >     XLLLLLLLLLBLBLL#iD$ HLLBLBLBLBLBLBLBLLLLLLLLJLJLJLLLLBLBLBLBLBLBLBLLLLLLLLLLLLLLLLLLLLNLNLNLNLNLN#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   LLLLLLLX > >  > / 0   #$'& XbL'#)&'#*LLLL #&#+ { {L'#)&'#- #&#. { {rR 8$45 $67 $89 $:; $<= $>? $@A $BC $DE $FG $HI $JK $LM $NO $PQ $RS $TU $VW $XY $Z[ $\] $^_  '#&'#$a '#&'#$cd '#&'#$fg '#&'#$ij '#&'#$ '#&'#$lm '#&'#$op '#&'#$rs B'#&'#uBBBB$vw BB'#&'#uBBBB$yz B'#&'#B$|} '#&'#B$ #iD$ H'#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ B'#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ J'#&'#JJJJ$ JJ'#&'#JJJJ$ JJ'#&'#JJJJ$ J'#&'#$w '#&'#$ '#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ē BB'#&'#uBBBB$Ǔ BB'#&'#uBBBB$ʓ B'#&'#B$͓ '#&'#$Ёu '#&'#$ҋ; '#&'#$ԓ '#&'#$ד '#&'#$ڇ '#&'#$ '#&'#$ '#&'#$܋( '#&'#$ޓ '#&'#$ '#&'#$Y '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ N'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ N'#&'#$  '#&'#$  #] #]#^  #] #]#c   '#&'#$ #] #]#^  #] #]#c   '#&'#$ L'#&'#*LLLL$ L~   ~  X   ~   ~  #$!   #] #]#^  $ 00   #$   >>>>>> >> >>    0 00 00 0  0  0 0> >  0 0#$6n   >>>>    #$>?  #$>?  #$A  #$  #$DE  #$G& >#$I' #$I' #$K( #$K( #$M) >   #$RS >#$XY #$[\ LLLLLLLLLBLBLL#iD$ HLLBLBLBLBLBLBLBLLLLLLLLJLJLJLLLLBLBLBLBLBLBLBLLLLLLLLLLLLLLLLLLLLNLNLNLNLNLN#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   LLLLLLL hj  #~$   #~$    #~$  0#~$   0#~$  #~$   #~$   + #~$    +  Z #$qr  t  h#$wx  t  h ~     hj  0 #  #  #] #]#^  $ ~ #$  +         #$     hj #$    #$    X  0 0#] #]#^  $  hjT hj 00 #] #]#^  #] #]#_  #] #]#c   ~h  ~#$  #$h   #$i     #R$ V#$ #$ #R$ V#$ #$=> #R$=> VX#R$ґ V#$ґ  X#$ #R$ґ V#$ґ  X#$j  0#$k   0>0> #$l  #$”m    #$ #$  #$   #$ʔ #$ʔ  #$ʔ  #$Δ  + 0  #$Ӕ #$Ӕ  #$Ӕ  #$הn   + #$ٔo    + >  +  +  #$ #R$=> V#$=>  X +   +'##8$ߔ '##8$ '##8$  #] #]#^  #] #]#`  #] #]#c   #d#$ 0           X X #$  00 #$     + #$  h#$    + #$ h#$    + #$ h#$     + #$  h#$  .  + #$ h#$  #d#$ >#R$I V + >  ~#$ >">>>> >  000#$  #R$I V#$ 0>0#$ #R$ V#$   0000  0000 ~#$  00 #$!  '#&'#$ F'#&'#FFFF$z F'#&'#$#s >">>7>> >> 0ddFd 0 ~  + d~   d#$0/  m0  m0 #$62  m0 0#$94  m0 #$;:  ~h #$>= #?#@ +  #R$CD V#$EF  +#$HG  #$LK ~h#$ON   #$lm   ~#$RQ  0h, ~h #d#$WX 0 0#$wx #R$wx VXP    Z000 #$ZY :>0#$][ #R$I V #$_` #] #]#^  #] #]#c     + ~#$de #$gh  i  + #$gh h#$k      + #$k  h#$l |~> >>> >>#$nm '#&'#w$a '#&'#w$ '#&'#w$w '#&'#w$pq '#&'#w$st '#&'#w$xy >">>7>> > + +>dddddd : #$|} : : #] #]#^  #$ 0 #$ '#&'#w$a '#&'#$ '#&'#w$xy '#&'#w$+ '#&'#w$ '#&'#w$ >">>7>> > +>>>dddddd > > : #$ #$ #R$I V ~#$       h             +~h#$ '#&'#$ '#&'#$ '#&'#$  ddd@  0 0 @ + + 0#$  ~#$ @#$  , ~ h #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$ 0PBB  #$z  :    +  + 0  #$           >    0 0    +0>0~ #$ĕ  #$ƕ #R$ɕ V#$ˊ 0>  > >#$ҕ 00#$Օ  ~#$ؕ 00#d#$ 0h0d#$ > #R$ V#R$ V  ~ #$ #R$ V#R$ V  #$ #R$ V#R$ V  #$ #R$ V#R$ V #R$ V#R$ V  ~>#$ #R$ V#R$ V >#$ #R$ V#R$ V >#$ #R$ V#R$ V> +>$#$ > +'#&'#$a '#&'#$ '#&'#$lm '#&'#$op '#&'#$rs B'#&'#uBBBB$vw BB'#&'#uBBBB$yz B#iD$ H'#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ B'#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ J'#&'#JJJJ$ JJ'#&'#JJJJ$ JJ'#&'#JJJJ$ J'#&'#$w '#&'#$ '#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ē BB'#&'#uBBBB$Ǔ BB'#&'#uBBBB$ʓ BL'#&'#*LLLL$ L'#&'#$Ёu '#&'#$ҋ; '#&'#$ԓ '#&'#$ד '#&'#$ڇ '#&'#$ '#&'#$ '#&'#$ޓ '#&'#$ '#&'#$Y '#&'#$ '#&'#$ '#&'#$ '#&'#$ N'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ N'#&'#$  '#&'#$  L'#&'#*LLLL$ LddddddBdB#iD$ HddBdBdBdBdBdBdBddddddddJdJdJddddBdBdBdBdBdBdBdLdddddddddddddddNdNdNdNdddL m0 0 m0 #$ ~&&#$   #] #]#^  #] #]#_  #] #]#c   #d#$  0#$   #$   0000   ~((#$ #$  +**#$ #$ ,0>  #$# #?#@ > #] #]#^  #] #]#_  #] #]#`  $a #] #]#c     #$*( #] #]#^  #] #]#_  #] #]#`  $a #] #]#c    #] #]#^  #] #]#_  #] #]#`  $a #] #]#c     #$-+ #] #]#^  #] #]#_  #] #]#`  $a #] #]#c    #$./ X|XX~X> >XXX>X>X >X>X  +#$23 P#] #]#^  #] #]#_  #] #]#`  $a '#)&'##50 {2 28       #] #]#^  #] #]#_  #] #]#`  $a d#d>>R>>#] #]#^  #] #]#c    #   ~J#      4#$9: f  +#$<= #$?@                      #$BC f#$E >#$GH 6'#&'#$ +  >$>>">>>> >>7>0000~  >#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$R #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #R$ST V   #$XY  #$[\ P> > >#d80 0d 0 {h  ~  0 ~   {h:  0  ~   {h:   h   0  : #d #d  #] #]#^  #] #]#_  #] #]#c       #$no '#&'#w$a '#&'#w$ '#&'#w$w '#&'#w$pq '#&'#w$st '#&'#w$xy '#&'#w$q ddd#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   dd#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   dd#$st 6#$vw   0 00 06#$}{ #R$ V#$         <      #$ 0*#$ >> #$ b> #$ ``@hBh~ h>~h~h:#$ #R$ V#$ D>>>>#$ d    0   > >0 0>>          > > >>h#$ 0~FF#$ HJLNPRTVXZ\^`bdfhjlnp        0 0  0 00 0    0 0#$ #R$~ V P      0 0  > >0 00 0#$=> #R$=> VX  > >  > >0 0      0 00 0  > >> >> >       Z  0#$ #R$I V 0  #$ #] #]#^  #] #]#c   #$ #] #]#^  #] #]#c   0#$ 0> >0 00   >> >> > >  +0 00 00 00 0    X Z00  +r +r  > >    0 00 0> >  > >> > >> #] #]#^  #] #]#_  #] #]#`  $a #] #]#c    +t  0 +t  #] #]#^  #] #]#_  #] #]#`  $a #] #]#c    +t0#] #]#^  #] #]#_  #] #]#`  $a #] #]#c    +t0#] #]#^  #] #]#_  #] #]#`  $a #] #]#c    +t  0 0> >0 0    0 00 0> >0 +t +r       > > #] #]#^  $  +v0 00 00 00#] #]#^  $  +v0 00 00 00#] #]#^  $  +v0 00 00 00#] #]#^   +v0 00 00 00#] #]#^  $  +v0 00 00#] #]#^  #] #]#`  #] #]#c    +v  0 00 00#] #]#^  #] #]#`  $a  +v0 +r0 00 0 +r0 00 0 +r  0 00 0 +r      0 0   +r        0 0  > >  > > +r +r#$  ~xx~ #$  #$   z|~zz  ~ #$ 0#$ >  #$ >>>>>>>d>>>>0#$ > 00 #$ >>000 0000>>00000000 ~ 00 >0000 JJ 0#$  + +#$  + +#$ > >#$ P  #$ P#$  ~#$"#     0 0    P        <  <  0#$,+ #$. #R$. V                      #$32 ~#$56 #$wx #R$wx VX  #$98 #$;: ~h~h#$@? 000#$DC     #$HG h~#$LJ ~hv#d#$PQ >">>$>>>> >>7>>7>> >>">>>0 00 0<    0 0 0 000 00 0>0   >0   v v #$qr #] #]#^  #] #]#c   >#$tu #] #]#^  #] #]#c   >   #d   v hh h#$}| "  ~#d#$ > >>>>">>$>> #$ "  ~#$ F'#&'#FFFF$z Fh  dFh h hh#$\ h#$ > +0#$  h~#$ #$ #$  hh#$  ~#d#$ >    > #$        ~#d#$ '#&'#$rs 0 dm m #$ 0  ~#$ '#&'#$ '#&'#$Ёu >  v>ddv~ 0 > #$      #$ŗ #] #]#^  #] #]#`  $Q #$Ǘ 0      0  #] #]#^  #$З '#&'#$җ '#&'#$՗ 0 dd0vvv` v#R$ޗ V#$ˊ ` ``#R$ޗ V#$ˊ `` #] #]#^  #$ 0v ~#] #]#^  #$ '#&'#$ '#&'#$ '#&'#$   0 0   0 ddd~h`~#$ ~#$ ~#$  #] #]#^  #$ 0` ~#$ >>>#$ #d#$ #$  #$ + #?#@#d  #d#R$ˊ V#$ #R$I V#$   0000 +  8 ~FF 00 +   #$  #d#$ F'#&'#FFFF$z FdF m0  + #$.  + #$.  #$- #$!"       #$%$ 0#$(& #R$I V>#] #]#^  #] #]#_  #] #]#c   #d#$*+ 0 #d#$=> #R$=> VX     #$01 0#$67  ~#$9: '#&'#<$=> d#$AB    ~>00 ~~  00~        #$DE $ ~#$GH $ #$JK    ~>00 ~~  00~        #$MN        hh#$SR    #$WV |~> >>> >> #d#$YZ     #$]^ 0>>#$ab #$de 0#  X#$hi >#$kl >0#$no >#$qr >#$t #$v  #$ #R$ V#$ #$y #${ 0#  X#] #]#^  #] #]#_   >7>>7>>7>>7>>7>>7>000000000000 ~BB 0 00>>>>>0000> #$  #  #$ >">> >>>>   X 00X   > #] #]#^  #] #]#_  #] #]#c   #$ ~ 00  X~ #$ X #$ X X000000  #$  #$ #$=> #R$=> VX  X X#$=> #R$=> VXX #$ hhh~ #$   #d>#d #d #d #$˜ #] #]#^  #] #]#c   #$Ř #] #]#^  #] #]#c   0#d0   0 #d   #d0#] #]#^  00hv#$՗M  vF  h#$ژ #$ۘ #R$ۘ Vh +h#d    h#$ h#$ h#$ ~h ~h  +0~h#$ 0#$ >#$ 0   0     0#$    #$ '#&'#$rs  > dXXXXXX> >XXXX X >X >X >X X>X +0X0X0 X0X X0X >X >X/X0X  >>X>7> >>X >> >X#$ >">>$>>:>>Q >>N >> +>> >>A>>?>>S >>C>>>X X#$=> #R$=> VX#$  X0X#$ X > P#$ X#$ X#$ !  #$ !   XXXX  #$' XX#$() 0XX0~X#$,* X#$,* X0XXX#$01 XX#$34 XXX#d#$65 > >>">>>>H;>>w>>H>>>H@>>HB>>D>>F@>>H>#d#$JI 0XX>X> XX#$MN X|XX~X> >XXX>X>X >X#$E >X#$PO #$RQ  #$TS   #$VU '#&'#$vw '#&'#$X\ '#&'#$ '#&'#$Z 0  #?#@ +    > 000 > >dddd       ~ #$gh   _h#$gh h #$kj    ~#$op 0 0> >  #] #]#^  #] #]#`  #] #]#c   #d#$rs 06#$}{ #R$ V#$   P         Z  0 X X 00 #$ut > >> >>>x~h: ~ +#$ph  +#$ph  +>#$zy x   +  +       0 0               +  +      h>~#$ #$ >#$ >#$ >      >>>>#$Ռ  00 >>>>>> #$  #$            0   0     #$ 0 0  #$ 0 00 0P>  0 0   $X  $X 00  00#$  + #] #]#^  #] #]#_  #] #]#c   #$ 0  P<#d#$=> #R$=> VX    Z  000 #$       #$ 0 ~""#$   +  +     0 0               +  +        00         0   0     #$ #$   + #$ #d#$     >X  X#$  +  +     #$lm   $$#$  0   0     #$            #$ h h0 h~  hh ~h#$ &  #$ř  (  ~~~**hh0h,#$˙      + ~. hh #$ϙ  ~00h #$ә  +     (  h#] #]#^  #] #]#_  #] #]#`  #$ۙ 0246  8  8 8 ~8#$ 8#$ 8  :#$ :#$  :#$  :#$ :*> #$   #$ 8<#$ 8#$ 8#d#$ >">>7>> >>>>>#$ + >> #$  @BDB ~ #$  #$ 8  8 8#$ 8#$ 8>>  F>#$/.   #d#$10 >>>>>>>>>>>>>>>>>>>>>#$54 '#&'#$rs  d#$76 ~hH~hH~hH~hH#$;: JJ #$AB #$DC   > > #$FE |~> >>> >> 0 #$IH B0> >>>0 ~LLL#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$R #$# #?#@ ~HH#d#$ST > >>">>>> #$XY #$[Z N NP#$^] '#&'#$rs 0d#$`_ F'#&'#FFFF$z F     dF  #$ed R ~T#$gf    ~V#$ih R#$lk hX#$on NNhZ hRhR#d#$ts  #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$vw 0#d#$=> #R$=> VX  #$xw 0>> ~#${z h + ~\#$~} " #$ ^ ~``#$  hb~h~hb#$ ": + #$  >d "h0#$ "0#$   #d#$ >">>>> >>7>0XX>X>0TR0 >R>X>> T  T#$ #$ #R$ VX X>0X X X> X X X> X X X #$    #$ ~ff#$  >hh 0hh>#$Ś #$ǚ  jlj #$ʚ  npn   #$̚ #$Ϛ >~#$Ӛ '#&'#$X\ '#&'#$ F'#&'#FFFF$z F'#&'#$#s   >> >> >>00  0dddFd  #$ݖj : #$ݖj " #$ݖj  #$ݖj  #$ r ~t#$ v'#&'#vvvv$ v#$ 0>> `dv#$  >> #$   ~v#] #]#^  #$   > >  ~#$  0#$     #] #]#^  #$  '#&'#$  '#&'#$ t'#&'#tttt$ tx'#&'#xxxx$ x'#&'#$ '#&'#$ '#&'#$ '#&'#$!" z'#&'#$zzzz$% z0   || dddtdxdddddz~~`h~#$9:  ~`hh + .  +?hv~ #$A] v #$A] v `v ~h|#$FG ` ~r#$KH r#$KH r~h|vvhv  ~ #$VT  ~h~h#$YZ  ~xx#$\] >#$_` `#$cd `#] #]#^  #$fg     ~#$jk    ~>00 ~~  00~        #$mn  #$op v` ~z#$rq #$tu >#$wx >#$z{ >#$}~ >>>0 0>>#$ '#&'#$rs > d h #$ 0 0    0 0  0 0    #$ 00000>>~ #$   +~#$  #$  > #$   >    >  ~22#$ 0 00 0P#d#$=> #R$=> VX> >0 0  0 0> >> >  Z  0>  + + 0> 0 #$ X>X>X>X>0> R X> X00 X> >R   R X X>X> X> #$ϛ '#&'#$ 00d #$ӛ  + ~#$՛ '#&'#$ #$כ   d + #$.  + #$.  #$ڛ F'#&'#FFFF$z FhdF hh ~h#$ߛ '#&'#$ '#&'#$䋶  '#&'#    $  '#&'#$ F'#&'#FFFF$z Fddd ddFh#$  ~h ~hh0h#] #]#^  $UV #$ 0#$=> #R$=> VX#] #]#^  $UV #$ T00#$>?  #$>?   #$NO #R$NO V0#  0#  0#  0#  0>>>>l #$ >>>>#$ + '#&'#$ d  #$  '#&'#$ > >>7> d #$ #] #]#^  #] #]#c   >>   + #$ #] #]#^  #] #]#c   >>#$ #] #]#^  #] #]#c    #$ #] #]#^  #] #]#c       + #$   ~X#$ X#$ X#$ '#&'#$a '#&'#$       0dd " #$"    #$$# |~> >>> >>#$&'           #$)* #$,+    #$.- |~> >>> >    >#] #]#^  $ #$21 '#&'#$45 '#&'#$78 '#&'#$:. '#&'#;$ '#&'#=$>? '#&'#=$A '#&'#$CD '#&'#$FG '#&'#$IJ '#&'#$LM '#&'#$- 0` `0 0 0 0  > >ddddddddddd #] #]#^  $ #$_^  #] #]#^  $ #$b;    ~#] #]#^  $ #$d= PP>#$ij #R$kl V ~#] #]#^  $ #$nm 0>>#$qp 000 #$vt   #$yx > #$|{ '#&'#x$~ '#&'#x$:. '#&'#$ '#&'#x$ '#&'#$Ёu '#&'#x$w '#&'#x$-         ddddddd #$ #$ 0 0 #$  #$ 0X>X>#d#$      >00#$3 >~    +0 +0 +       +       #$z #$   #$ > #$  #$   #d#$      0000     ~JJ#$  00     #$ h~ h0h0#$ 0 0    #$   0#$   +    + #$     0#$ 0 0 X  #$ 0  ~#$ h h#$œ #$Ŝ >> >  > >#$ʜ > >#$͜  #$Ӝ #$wx #R$wx VX#$՜ #$wx #R$wx VX  >#$  hjT#$ #$ #$  > #$ >#$ #$ #$wx #R$wx VX>>> hjT> #$ >#$ #$Ӝ #$wx #R$wx VX> hjT> #$ >#$ 8    #$כ  #] #]#^  #$ 0T hj #$   #$=> #R$=> VX>\#$ +    0 0> >    0 0P#d#$=> #R$=> VX> >> >    0 00 0> >  > >> >>  Z  0  00   >> >> #$ h#d#$   0000 #$  00 #$ #$$# '#&'#$&'       d  #$/. '#&'#$12 '#&'#$45    0 0 dd#$;: |~> >>> >> #$>= |~'#&'#?$җ '#&'#$rs > >dd>> >> #$AB   #d#$DC >>*>*#$FG #$IH #$ab #$de >#$t #$v #$K + #$M   #$y #${ #$ #R$NO V#$NO >>>>>>>>#] #]#^  #] #]#c   >#] #]#^  #] #]#c   >~V#$X 0X000XX0 ~NN#$\[ V|VV~V0> >VVV>V>V >V>V#$^]   +        #$ba >>#] #]#^  #] #]#`  $a #] #]#c   #$de >>>">> >>7>0#$ 0#$ 0    >    #d#$j? #R$I V + ~#$kl    ~#d#$nm X X\X>X>XXXXXXX#$qr   #$uv  #$xy   #${z >F6#$~N #R$ V#$ #$ #d> >7>0000 ~#$  00> #$ #$  +h h +h#$ #$                        v :   #$  +        0           #$ h#$ #$  0~h~h#$  ~#$   > 0> h 0~ >~h #$ 000>#$Ɲ   ~#$ȝ >>#$̝ #$ҝ #$֝ #$؝ '#&'#$ '#&'#$   0ddh ~h#$۝  ~#$ޝ #$ #$ #$ 00000000000#$ d> >  >>#$ #] #]#^  #] #]#c   >#$ #] #]#^  #] #]#c   >> >#$ #] #]#^  #] #]#c    #$ #] #]#^  #] #]#c    #$ >>>#$ +     0 0#$  '#&'#$rs >>d> #$ '#&'#$ '#&'#$ dd#$   #R$I V#$  +  +#R$I V#$  +  +  0 0      +#$ T#$    > >       #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$&% '#&'#E$X\ '#&'#$ F'#&'#FFFF$z F'#&'#$#s >>>">>7>> >0  >  > dddFd  +  >  #$ݖj : #$ݖj " #$ݖj  #$ݖj  #$** B>>>>>d>#$/ #$1 >00 7>7>7>>7>>7>>7>>7>>7>>7>>7>000000000000 ~LL#$9:  00>>>>>0000>> #$=>  00>>>>>> >>>> #$AB D6'#&'#$DE ('#&'#(((($GH (*'#&'#****$JK *'#&'#$ '#&'#$st F'#&'#FFFF$z F'#&'#$ +  '#&'#$  '#&'#$MN '#&'#$PQ H'#&'#HHHH$ H'#&'#$xy J'#&'#JJJJ$ J'#&'#$ #] #]#^  #] #]#c   '#&'#O$ST #] #]#^  #] #]#c   '#&'#O$VW #] #]#^  #] #]#c   '#&'#O$YZ > >>7>'#$\] hP  #] #]#^  $bc #] #]#_  $de #] #]#`  $fg  0"$0&(*    ,.>>000  206#$} #R$ V#$  6> >>#$ #$ 6#$_ #R$ V#$ #] #]#^  #] #]#_  #] #]#`  46>>>>06#$^ #R$ V#$ 8  0:06#$  #R$ V#$ <6#$ #R$ V#$ dddddddBdB#iD$ Hdd(d*dBdBdBdBdBdBdBdddddddddJdJdJdddddFdBdBdBdBdBdBdBdLddddddddHdddddddddddJddddNdNdNdNdddddddddL>>>>66   6 >> #$  >#$ > >00h#R$ V#$ 6#$ #R$ V#$ >#$ #R$ V#$   >  0~h 0000000#${   #$ #$ #R$ V l >>> #$ >>   + #$.  + #$.   @B~>#$Ȟ >#$Ȟ >>> >> ~ #$ #$  #$  #$ >> #$ >> ~ #$ʔ #$ʔ  #$ʔ  #$ʔ >> #$ʔ >> ~ #$Ӕ #$Ӕ  #$Ӕ  #$Ӕ >> #$Ӕ >> #$ #] #]#^  >>   + #$ #] #]#^  >>h#$ #] #]#^      + #$ #] #]#^   h    #$ڞ  > +>#$ݞ  > +>#$ > #$ > #$ڞ  +>>#$ݞ  +>>     #$ D0 h h'#&'#$ F'#&'#FFFF$z F'#&'#$ +  '#&'#$  H'#&'#HHHH$ HJ'#&'#JJJJ$ J'#&'#$ ddFdddHdJd#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #$ '#&'#$ F'#&'#FFFF$z F0ddF F + #$.  + #$.  #$ '#&'#$  $(0HJ Ld~h     #$ڞ  > +>#$ݞ  > +>#$ > #$ > #$ڞ  +>>#$ݞ  +>>#$ 2  8  8 8    *> #$    +N #$ #$ P RTXR XR> +V#$ X> +V#$  #$    #$  >7>>:>>>>N >> >>?>>C>>">>$>>A>00>X> X>X#$#$ P#  #$&' XX #] #]#^  #] #]#_  #] #]#c   #  #$*+ 0Z    X      XPXPT#$45 X#$A   #$    #$78 #$:; #$=> #$@A #$CD #$FG #$IJ #$LM h\ h* h0#$ST #$WX hh h h#$\] |~> >>> >>#] #]#^  #$_` #$bc #$ef #  #$hi X#$jk >#$b  #$(      +0000^^^^^#$mn #$pq #$st `#$vw #$xy |~> >>> >>#  #${| #$E >#  #$~ #  #$ #  #$ #  #$ D#  #$ #$ #$ #$   bb#$  ~dd#$ #$ #  #$ X|XX~X> >XXX>X>X >X f  f>f f  fffff#  #$ #$   #$ h  *       +~,,,#  #$ #$ h +~222#$ |~> >>> >>#$ |~> >>> > >#$ #$ß #$Ɵ j>l#$˟ n>p#$ϟ  ~r#$ҟ #$՟ l> t#$ڟ  @vv#$ݟ p>j#$  @xx#$ x@zz#$  >||#$ |~#$  > > +> > +>> >  +>> +>>#$ #$ #$ &    00  ~   ~   +0         f0> +0 +   #~$  + f0#~$    >  +0 +   #~$  + f0#~$    &  ~    >00~    ~   ~   +0 +0 +       +          0   00    + +,0666    +   + >  +2 0 00 +0 0 +0   +  0      +  >    +00002 2  2 2  00 +0>002 2   +0 0 +0 00   +  +  0   0   +0#~$  0#~$  0 00 0 00   +  0 0 <<>< 0< 0< < < 0< 00 +    +  00d 00L Z00L   +d  d    mr d  00 0 r  r Rr  r Rd #~$   mJ 0r  L   d    mr d L 0 0 0  d    mJ 0r    mr r  r Rr  r Rd r > m000   m0 h   m J  h  h  +d   d  `  0     mJ 0r r  r Rr  r Rd      +` ~d r d d  d   +  00d 00L Z00L   +h2  8&'#  $OP $QR $ST $UV $WX $YZ $[\ $]^ $_` $ab $cd $ef $gh $ij $kl $mn $op $qr $st $uv $wx $yz ${| $}~ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $à $Š $Ǡ $ɠ $ˠ $͠ $Ϡ $Ѡ $Ӡ $ՠ $נ $٠ $۠ $ݠ $ߠ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ + $  $  $ $ $ $ $ $ $ $ $  $!" $#$ $%& $'( $)* $+, $-. $/0 $12 $34 $56 $78 $9: $;< $=> $?@ $AB $CD $EF $GH $IJ $KL $MN $OP $QR $ST $UV $WX $YZ $[\ $]^ $_` $ab $cd $ef $gh $ij $kl $mn $op $qr $st $uv $wx $yz ${| $}~ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $á $š $ǡ $ɡ $ˡ $͡ $ϡ $ѡ $ӡ $ա $ס $١ $ۡ $ݡ $ߡ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ + $  $  $ $ $ $ $ $ $ $ $  $!" $#$ $%& $'( $)* $+, $-. $/0 $12 $34 $56 $78 $9: $;< $=> $?@ $AB $CD $EF $GH $IJ $KL $MN $OP $QR $ST $UV $WX $YZ   8&'#  $\] $^_ $`a $bc $de $fg $hi $jk $lm $no $pq $rs  ~ J0  0  0  0 +       > / 0  >  >  >  >   +0 0  0  >> >7> >> >>  >>   +>7>>>>:>>N >>S >> >>>>>>>>>>>>>> >>!>>">>#>>$>>%>>&>>'>>(>>!>>">>#>>$>>%>>&>>'>>(>>,>>->>->>.>>.>>0>>1>>2>>3>>4>>5>>6>>7>>8>>9>>;>>=>>?>>A>>B>>C>>D>>E>>F>>G>>H>>I>>J>>K>>L>>M>>N>>O>>P>>Q>>R>>S>>T>>U>>V>>W>>X>>Y>>Z>>[>>[>>\>>]>>`>>a>>b>>c>>d>>e>>f>>g>>h>>i>>j>>k>> +m>> n>>o>>p>>q>>r>>s>>t>>u>>v>>w>> x>>"y>>$z>>&{>>(>>*>>,>>.>>0>>2>>4>>6>>8>>:>><>><>>?>>A>>C>>E>>G>>G>>J>>OO >>>0>  +>7>> >>">>>>$>>?> + $TU  $WX  $Z[  $]^  $`a  $bc  $ef  $hi  $kl  $no  $qr  $tu  $wx  $z{  $}~  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $£  $ã  $ģ  $ţ  $ƣ  $ǣ  $ȣ  $ɣ!  $ʣ#  $ˣ%  $ͣ  $ϣ  $ѣ  $ӣ  $գ  $ף  $٣  $ۣ  $ݣ  $ߣ  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $ +   $   $  $  $  $  $  $  $!"  $#$  $&'  $)*  $,-  $/0  $23  $56  $89  $;<  $=>  $?@  $BC  $DE  $GH  $JK  $MN  $OP  $RS  $UV  $WX  $Z[  $]^  $`a  $cd  $fg  $hi  $kl  $no  $qr  $tu  $wx  $z{  $}~  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $  $Ĥ  $Ǥ  $ʤ  $ͤ  $Ф  $Ӥ  $֤  $٤  > $ߤ ~ >AB$⤀ #|# >>B$㣦 #|#>>B$ #|#>>B$X #|#>>B$棳 #|#>>B$ #|#>>B$ #|#>>B$ #|#>>B$ #|#>>B$ #|#>>B$ #|# >>B$ #|#">>B$ #|#$>>B$ #|#&>>B$! #|#!(>>B$# #|##*>>B$% #|#%,>>B$ #|#.>>B$ #|#0>>B$ #|#2>>B$@ #|#4>>B$> #|#6>>B$ #|#8>>~ >0 > >@00J>J>0J>J J J  + +hh              h 0  0 +h2 2 2 F   0  0B00   00J0  0B 8&'#  $ $ $ $  $!"  2 J  0 +h0  0 + $&  $()  $+ XX X > >XXP    +0 > >   > / 0  +>7>> +>>>  > >> >7> >> >>  >>  XX + X XV0 + ::0: +  >>   0 +  >   0 + '#3  #5ZZ 020 +  +  +   +  + +  +  +  +  +  +  +  +     +  +  +    +  +  +4P  +6,0666`   6 m0  m0 0 m0  m0  +  f  +,l > ,nJJ0>>>>0>>>0F0 0>0 >006 >>> 00Jr 0000>7>>7>> >00000000>>  00>  00 >0000  0 +00 + 0000>0* Xv 00  + +h0  0 +x'#lxx|xhX  +jX  + 0 +~ 0 +hhh0  0 +jh>hX XX X X0  ~ XX h~ 0 6      JP ~            Z  @  @:  :#     +   +       +   +     i  i   +   +@  @z  z  ~z  ~z  >  >    vF  vF _   _@B  @B#d  #d   +?   +?|h  |h~  ~0  0j  j  n  nt  t  >  >>>  >>    mm     r 60 00>        00     $[     {  0       0 0 0 0              +0 +  0 +0   +  0  +  0   0   +02 +2 2 2 2 +2 00 2 >  0  >  0   0    0    0   > 2 2 2 2   +>>>0   > +0>0>>0 +00000000000000 +D>>D>>   00 ~  +~ +  + 000000000 K$ $  $ +   R'#RRV# R'##  +0000    0XX >>XX  >    +0>/0 >>>7> >> >> >> > > > +0> + +>>> +>>>> +X +00000000#d#$89  #:#; +#:#; +#R$I V#$=>  +hh#$?@  + >  + + #$DJ #$\ #d#$GH #$J #?#@#] #]#^  #] #]#_  $L #] #]#`  $a #d#$MN '#&'#$a '#&'#$X\ '#&'#$ '#&'#P$QR  #$. #R$. V #R$TU V#$TU >dddd 0  "  "  " "#$bZ "  ~ #$fW  #$fW   #] #]#^  #] #]#_  $L #] #]#`  $a #d#$jk 0#r$mn 0 > m mh$  {h + +>#$tq  &#$#s #$v #R$v V#R$wK V >&#d#$yz #? +0   0h>hh 0d( 0d#$e  +#$ #$v #R$v V#? + +> +>#$ #$v #R$v V#?#R$ V +#$ #$v #R$v V#R$7 V + #$ #$v #R$v V#R$7 V + #d#$ #? +0#? +000000000#$'  + +00 +0#$  +0#$  +#$  +0#d#$ 0#$. #R$. V #? +  "hhhh>hh 0d( 00*#$v #R$v V#:#$Z #$v #R$v V#:#$Z #$v #R$v V#:#$z #$e  +  +~*#$ *#$ *#$DJ  + #$ #$v #R$v V#? + +> +> + *#$ #$v #R$v V#R$7 V +  + #$v #R$v V#:#$ #$v #R$v V#:#$ #$v #R$v V#:0d #$  +  +#$  ,02$"~ #$ $" $ #$ $ +"#d#$ '#&'#$¦ '#&'#P$Ŧ dd#d#$Ǧ '#&'#$ '#&'#$ʘ  + #$A #R$I V#R$I V +"dd#d#$ͦ '#&'#$a '#&'#$Ѐ '#&'#$ h$$ + #$. #R$. V ddd   #d#$Ҧ   #R$TU V#$TU >#R$TU V#$TU >#$ & ~h ,  , $ R'#RRV#4 R'##4  +d@ 0B>L >N>>7>0000hP>V>7>000000hP00hX +>>>> + $  $  $  $  $ # $  $ # $  $ +  # $  $  # $  $ # $  $ # $  $ # $  $ # $  $  $   $"x  $$%  $'(  $*O  $,-  $/0  $23  $56  $89  $;<  $>?  $A  $CD  $FG  $I  $Kq  $M  $OP  $RS  $UV  $XY  $[\  $^_  $a  $cd  $f~  $hi  $kl  $n  $pq  $st  $uv  $xy  ${|  $~  $L  $  $  $  $  $  $  $  8 #&\ #)^ #@` #eb #zd #}f #h #j #l   8 +#!n #+p #.r #1t #4v #7x #:z #=| #H~ #]   8 # # #B #` #g #r # # #   8# # # # ## #E #J #L #N #Q #T #W #Z #b #j #m #o #w #  000 >>00      +# $ 00   +# $ 00   +        + ~   $[ ~  A~    $  00  +~  0  +       ~  A~    +  0>  00     +d$> jjB0  +>> 00Bj> ##>>h00h +>P>>H>0>0 00 h0j  hj >  j h0 >  0 >  mV  > h jh > hjh > hjh > hjh > hjh > hjh > hjhj  j~    >  00  +00>>0 jBhh# $ާ  +  +d>> ># $ 00B j0hh +     +L>> +> j + j j  + j  # $ '#'#'#8### +>$>  +>0>>0>>>0> >>>>>>>>>>>>> >>  >8@Hjx>HǷV>H$ p>H>H|>HG*>H0F>HF>Hi>HD>H[>H\׾>Hk">Hq>HyC>HI!>H%b>H @@>H!&^ZQ>H"Ǫ>H#/]>H$DS>H%ء>H&>H'!>H(7>H) >H*EZ>H+>H,>H-go>H.*L>H/9B>H0q>H1ma">H28 >H3D>H4Kϩ>H5K`>H6p>H7(~>H8'>H90>H:>H;9>H<ۙ>H=|>H>ĬVe>H?)"D>H@C*>HA#>HB9>HCe[Y>HD ̒>HE}>HF]>HGo~O>HH,>HIC>HJN>HKS~>HL:5>HM*һ>HNӑ>>>8@C>S >>P>C>S >>P>C>S >>P>C>S >>P>?>N >>>?>N >>>?>N >>>?>N >>>$>Q >>Q>$>Q >>Q>$>Q >>Q>$>Q >>Q>A> +>>R>A> +>>R>A> +>>R>A> +>>R>>  > >V>>HX>>:>>$>#~$(  j +0  0 0 +B~  ~   0 >00 >>0 0> >0 0  > >0 00 00 0  > #"#&>>      +00     +00   +                           +  +    0 ,00     + +   + ~  ~   ~   $[ 2~  A~    $  00.~   0    0 .         ~  66 8 +  0>  00                6 + $ ~>> j>>>> >  +> ~ D~F~  + 00> j>>~ ~ > @>>~ > >TT> jJT ~ L $ B~~    $ 00~   +>>   0  +,>HZ>$>$>00>7>> > > $$ >>d$>0d$00>  j0>h0R>Td$V$ $mJ 0r$0 d>N >0N\>d$N >0Nb$^@dfljjj rNdtfvz $mJ 0r$X|~>> 000N~|>| j0h $mJ 0r$h0h*>$4>$>$8$8> +8>8$8$>  +f *  ` 000h` *    + d hhh   + >0> *>>> +  $[  +$[ > 00j> >0 00 00j >> d>h + > nL0> >   j B j> ##>>h00h >  j|Lh0>0h> >0 0j L|>hN   >  +  + J > >> >>>0  +*>>8 ##>> ##>>0> ##>> ##>> ##>> ##>>>>80> ##>> ##>> ##>> ##>>>00$>h0>>>0J >$>0h 00000h d>hh>> 0> >+ > >+ >> + 0Vr|0L0jNh |00Vj> L>~h  >L0>h0 >  +LL +  >0Vhj >222H >000  >0Vhj >   0 j >L|>h +"00~ Vhj >h0j  h0 >   j0Z > m>0 ~    0 >  m h0j  h0 >  hj >  jvV  > h jh > hjh > hjh > hjh > hjh > hjh > hjh00 j   >  T j  0 0 jh~jj0 jj0 j~0h~   0  >0j > +0>hj L   j~   f>7>> >>">>>~>fd>r0h00000  df h +d >Lh d@P~>d B0L00 +f +f`@ >L >  "0$@"@>>00hP>V>000hPB @mJ 0r@00h n f f f X + $  $ L 2#(8'#LL#,,LL + >  00 0>2 4 62#802#012#212#)412#%612#80 +L>>L>>@>B:d$d$ h>LL>Hd$J$ $mJ 0r$ +  +$[ >  $[ >  + d>h hhL00N$N  +> '#  ROO >>  '#  R7>  '#  R > >V   +X 0    > X\ ^ jjbXfj 0  > j>lXfL 0  + ~  Xn    t vz   X|     z~    +> j> j >  >Z >00Z >>>4:>HZ>wZ> +>8H>T>T>P>>>8H>T>T>P>/>1>.>>>8H>T>T>P>/>1>.>0>>>8H>T>T>P>/>1>.>1>>000008#x0#x0#x0#x0#x0#x0#x0#x0#x0#0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#0#x0#0#x0#x0#x0#x0#x0#0#0#x0#x0#0#x0#x0#0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#0#0#0#0#0#0#0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#0#0#0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#0#x0#0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x0#x00 +>N >> +>> >> >>,>>/>>0>>1>>:>>;> +>7>> >>">>>>$>>?>>A>>C>>:>>N >> +>>Q >>S >> >>>>>>>>>>>>>>>>R>>P>>Q>>>>>>V>>>>#> +>7>> >>"> +>7>> >>7> +r$r$$ $+00>0r$$ $+ h h $+  J h d$r$$r$$$ $mJ 0r$dN0$>0>>>>>>>>>>4HZ>HZ>wZ>>>>0000>000>H>Nr$00`N`$ >>00 00N NmJ 0rNd$ 0 $ $ >0>0  >>>>0>> >>>> >N00    +000 ll ~00  >00   +0 +0 + ~  +      ~  0 ~     +~ l>llL >  ll l l l  $=>  0, > +  "V jv~    V"j~   "V jv~  "V jv~  #V"#j~    +  J,x~ + +p#  J,x~ + +p +>H>>H^>>H`>>Hb>>Hd>>Hf>>Hh>>Hj>>Hl>>Hn>>Hp>>Hr>>Ht> +'#u'#u<000>>00000>>00>  +,@ ) #u#v@ ) #u#vh@0 +df>7>> >>">>>>  >   #rK$ $   0 #u#v  ~  #u#v"h> h dh>  +  $[   +>7>> >>"> +>7>> >>">>>>$>>?>>A>>C>>:>>N >> +>>Q >>S >> >>>>> +>> + > > +  >(>>7>> >>">>>>$>>?>>A>>w>>F@>>h >>f>>>>00>>0>>>>>> (0$, 00 >d>d + > >>$ 0  +>> +>> @ ` )$ )$*,@d@d  @ )$h@ @0 +00>>022> #4#8>><> #4#8>>>00@00B00D22>$>> >(4(> 4J>dd>  + >> >>00> +*4`r004PR ` +0dhh d~>4>> $  `rf0>0> LL> L " > > h    V X00Z   ~  #u#v"h  zJ 0r >  + dh> h> >0 ) ) $  $  $  $  $  #r$   + #~$  +>OO >> >#~$  $[ z>#~>  +>>>> +>$  +  >>>>7>> >>">>>>7>> >>">>">>">>>>>>>>5>>C>>'>>)> +>:>>>>>>OO >>>N >>A>> >>N >>:>> >>">>>>$>>7>>>0>>>>0>> #,#1>>> #,#.>>> #,#4>>> #,#9>>>0000>>>>2# #,#1>>2#= #,#.>>2#; #,#4>>2#< #,#9>>2#>02#)02#1>>0>>>>>0> #,#1>>> #,#.>>> #,#4>>> #,#9>>>0000>>>>2# #,#1>>2#= #,#.>>2#; #,#4>>2#< #,#9>>2#>02#)02#1*>>0>>>>>000> #,#1>>> #,#.>>> #,#4>>> #,#9>>>004>>>>8>J*>>>>0> #,#.>>>004>>>>8>J +00> #,#1>>> #,#.>>> #,#4>>> #,#9>>>00> #,#.>>>00>>> 0000>0>>>>>02>>02J,> >>>0 J0>>>>>0J>>0J2J00J2> >>>0 > > > >'#:#?'#@#?#~$  + j #~$  #~$ $j00h00  h h   h 0000d0000  $  j $$$ $$$0$ $00 h0000h00  h 00h00  h 0000d0000    +>> +>7>> >>">>>>$>>7>> >> >>">$00`000d$ +0 0> h  + #~$(  +0#~$ 0#~$( 0#~$( 0#~$( 0#~$( 0 + +@>  +'##87>'##8 >'##8">'##8>'##8$>>> +'##8"" >'##8""">'##8"">'##8""$>>>&#~$  +( #~$  j#~$ $0000h(0000  h( ( h( (h>>h000h0 h000h0  ##Y,h. ##Y,.>>d> ##+0#xh$$#xh #x #xh #x > ##+000h(> ##+000   ##+0#x00h(  ##+0#x00  + h  h>>>h$>$>>7>>h>>>7>>>>h.>>>>7>>h.>>7>>  #xh. #x h>>>h.> >h.> h>>h.  ##4>7>>OO >>h. ##4>7>>OO >> >7>>OO >>h.>7>>OO >>  #~$  +  v $[ : $[ <v>#~$ v     6 v $[ BE#zL # #vB  +d> + +NPhRd>`$ .>>0000 \>>^>>.>$ $mJ 0r$h *>(h.(b>>b>.b>d>h(h(( $ ( $>>h +h0$00000h($0$ $0000 00h($$00  h($ $  ( h($  ( ##Y,h.h>$>h0$00h$>0 h0$00h$>0 $> ##Y,.>>>.>>d> ##+0#xh$$> #xh #x #xh #x > ##+000h(> ##+000   ##+0#x00h(  ##+0#x00   +     +>>>>>>>>>>>>>>>>>#~$  +.0 0hj>7>0>#~$ > p h  h>>>h$>$>>7>>h>>>7>>>>h.>>>>7>>h.>>7>>  #xh. #x h>>>h.> >h.> h>>h. > ##4>7>>OO >>h.>7>>OO >>h. ##4>7>>OO >> >7>>OO >> >>00h + XN.tvP.z +RNPNPNPh|>4@>HZ>wZ> +'##87>'##8 >'##8">'##8>'##8$>'##8?>#r$ #8 ##  ## ## ## ##P ##>>>  +>7>> >>">>>>$>>?>0000>>000>>    h h   +>\>>/>>:>66 $ j0 0h00 h h  h00h00 > #"##>>00d00h00   h0  h0 0 >    0  0 $$$$  00h 00 h0$h0 h0 h0 00 0 0$0  $  $0$0$0h$0h +       +>4 >7>M>>>>4 > >M>>>>4 >">M>>>>4 >>M>>>>444#p>#>>>>#J>>>>#A>>>>>4 >$>M>>>>4 >?>M>>>>4 >A>M>>>> 0> 0 00      +0 >0d + >>> >~ ~  >>>>>>>~  > >  $ab .~>h~  .hh~  ~  h ~  h +    $op >~> ~  ~  ~  h ~  h +f>h*>#x>  +  $[  +$[ >  + d>hhh +f * ` 000h` *    + d hhh   >0 *>> +  $[  +$[ >  +>7>> >>">>>>$>>?>>A>>C>>:>>N >> +>>Q >>S >> >>>>>>>>>>>>>>>>R>>P>>Q>>>>>>V>>>>>>>>>>>> >>!>>">>#>>$>>%>>&>>'>>(>>)>>*>>+>>h +#~$  +#~$  #~$ $j 00h 00   hh   h h   $  $ h00 00h 00   h00h00  h h   +  $[  +>#~$  #~$( O '#/00#0**$OP 00 +#r$  $ #r$  $Ĭ  $Ǭ  $ʬ  $ͬ  $Ь  $Ӭ  $֬  $٬ #r$ܬ  $ެ #r$ܬ  $  $ #~$(  ~  h  + $ 0~> 00 > L> >     +>>> > >>>>>~ ~   + '#'#'#'#'#'#'#8#7#6 #"#$#&#W(#X*       ~   ~   ~  > >>A> $  $  +00 0688    ( h  h0  0  h 0 0d >00 h>>h>>hN>>00688  0    ( h   h0  0 0h 0 >0d0 >>7>h>>7>h>>7>0000hN00   ( h  h0  0  h 0 0d >00 h>>h>>hN>>00688#6#8#8 >@  BD( Fh H Jh0  L0  Nh 0P 0Rd >0T0V Xh>>Zh>>\hN>>00^6`8b8dh# ## ## (# h# #  h0#  0# 0h# 0# >0d#0# #>>7>h#>>7>h#>>7>0000hN +  J,x~ + +p#  J,x~ + +p +>     000000>     ~    j    +   #~$   >  j   ~   >      j & ~   >00   +0 +0 +      ~   +            ~             0     +>> >> >jdj +>> +l'#all#8pp7>ll'#all#8pp >ll'#all#8pp">ll'#all#8pp>l>l>t  +h>d>d>>   ~  0000l #al#bxllh   ~  0000#k~#k~h   ~  0000#k~#k~>j #oj#pjj0j #oj#pjj0 +>>>> +j'#ojj# >$tu jj'#ojj#">$wx jj'#ojj#>$z{ jj'#ojj#$>$}~ jj'#ojj#?>$ jj'#ojj#A>$ jj'#ojj#C>$ jj'#ojj#:>$ jj'#ojj#N >$ jj'#ojj# +>$ jj'#ojj#Q >$ jj'#ojj#S >$ jj'#ojj# >$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#R>$ jj'#ojj#P>$ jj'#ojj#Q>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#V>$ jj'#ojj#>$ jj'#ojj#>$ jj'#ojj#>$ĭ jj'#ojj#>$ǭ j> >  dj +    +   >   $[ >7> >  >>>d>L >V>7>000000 00h J 0rhd`rV00 0>L V00 >V>7>000000 00h J 0rh  + >V0   m h>V0   m hV0   m# $߉  hV>0000 h#r$ 000000  + >V0   m h>V0   m hrV0   m hVr>0000 h#r$ 000000 #~$  +$ $  00#~$  +0000000 +0 d>>>>>>>7>> >>">>>>$>`r>>L0V000  m>00>00000000 >L> 0 00 0 L>0Vr>000  m >0>0Vr>00000   m h +J 0r>00 >h  >$>>>>>7>>>>>7>>>0L00N$N   h #r$ 000000 h h >> h +#~$ $5 >#~$ >#~$ >>0>>>>>> > >$>>>>>>>}>0 + V000$ h0 >>0 J @ > +  v#~$  $[ v6#$IH #z #v  +v  #~$ #~$  $[ vE#$KJ #z #v#~$  $[ vE#$ML #z" #$v +0V#  000  >   >   >   >  0  $ $ +>>   0 > +&'#h&&#**7>&&'#h&&#** >&# $ &'#h&&#**">&&'#h&&#**OO >>&> >.>  +LLLL&  $000 # $ &$# $ &hL & #h&#2&&hLL L L + >L00000& #h&#2&&h4 +d>L>>7>0000hh +>L>>7>0000hN>>7>0000hNhN +'##887>'##88 >'##88">< +L'#LL#@@7>LL'#LL#@@ >LL'#LL#@@">LL'#LL#@@>LL'#LL#@@$>LD# $  +>>$>>>>>>>>H>J$L>>>>>0>> +'##PP7>'##PP >'##PP">'##PP>>>T  +h  h X   +d00>>LL>>7>h>>7>h>>$# $ >>>7>>># $ >>7>>>h L00# $ N$# $ N  +d$>>LLh>>7>h>>7>h>>7>h>>7>hh + L00N$N h +$L>$^L`>b +.d68NP.dNP +>>$ff +$$jld000>#rK$ $  40>L>0000> >hd >L>>ZL4 L4 N$N  + vL> rvtLv>x2#zr$î 2#t12#v12#x1 |'#||||'#||||'#||||'#||||'#||||'#||||'#||||8#|#|#|#|#|#|#||d>d>d>>> >mJ 0r>d>>0 0# $Ԯ 0# $Ԯ 00 000d>>#k~00 >>0>>0>>0>>>>>0 + v v  + v v  +*>.>d>hh + h +  +$[  $[ >  + > d>hhh +'##$ '##$P '##$  '##$     +>>6>>#~$( $)* >>>>7>> >>">>>>$>>?>688>>>688 * >*>   >> * >4 > >8>: >D8>8>V   >>0 *> 4> > 8 J> l8 8 v > '# +>>LL>> >>7>>>>> >>7>>  + #~$    +>7>> >@# $  >hjd@# ${| V  h jhj   z 0000@@# $  h>j 00@@000~  #r$ jj00# $  h>  @ + @ 0 >#"> @ +>#$> @ @ @ +#~$  +> +  +0 +d@ $X & zJ 0r  + J@J $X  +    # $12  +" +V @V ,@.( +  + + + + + + +>< + + + + +  +0 +0 + <0  +>J> > >  +  +     >  >  >> >> >7>  > / 0 J  JJ>0 + +00^#  + 0 + +  + +  + +   +  +0 + +  + +  + +  + +  + +  + +  + +  + +0 + +0 + +0 + +0 + +0 + +0 + +0 + +0 + +h  + + 0 +  + + + +00 + + + +   +1 + +  + +      *********** iW +@** Uk@** 9B.?** +eG?** &{?** -DT! @** ;f?** ;f?* +  >*  2#R#R 2##   +0      *   +>>>*0 +      >      +0  0  00          2#(354#( 7>K000T534#(  #*#**)0 +0 *54OO#( 7>wZ'#5T4#( 7>ez'#2#b354#b 7>K000T534#b  #*#**)0 +0 *54OO#b 7>wZ'#5T4#b 7>ez'#                      +~j# $    + + 0 +0jh +00 +  +~A&'#'#~    +0 +0 + ~A&'#'#~  +j~ +0 +000 + h +00 +0000 +00~~~~A&'#'#~  +00 +0 +0 +  + 0000000000000 +0 +0000 +0 +"000  +>>j$  +<@BFHL#~$ $ #~$ $ ><# $ާ  +>>7>>$>7>>>7>>D>7>>>7>>>7>>>7>>>7>>>7>>>7>>P>7>>>7>>>7>>R>7>>T>7>>@ +>>>"X>>X** +0Z'# ZZ#^^0ZZ'# ZZ#^^0ZZ0b +#~$ >">7>># $ >7>>>>>> >>>> >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ>>>Z # Z#fZZ >Z # Z#fZZ*>*Z # Z#fZZ >Z # Z#fZZ*>*Z # Z#fZZ  +>h> >>>">7>># $ >7>>>> +>h> >>>">7>># $ >7>>>>>>$ +>h> >>>">7>># $ >7>>>>D +>h>">>>">7>># $ >7>>>> +>h>">>>">7>># $ >7>>>> +>h>$>>>">7>># $ >7>>>> +>h>$>>>">7>># $ >7>>>> +>h>:>>>">7>># $ >7>>>> +>h>:>>>">7>># $ >7>>>> +*j>$>>*">7>># $ >7>>>> +*j>:>>*">7>># $ >7>>>> +l>>>l">7>># $ >7>>ll>>R +n>>>n">7>># $ >7>>nn>>P +p>>>p">7>># $ >7>>pp>>T +>9>>F@>>w>>=>>f>>@P>>B>>D>>h >>G`>>I>>K>>0>>Np>>P>>R>>H>>mD>>V>>X>>Z>>\T>>^>>`>>b$>>>e>>g>>i4>>t>>l>>n>>p>>rH>>t>>v>>x>>pX>>{>>}>>(>>h>>>>>>8>>x>>>>>> >>L>>>>>>>>\>>>>>>,>>sl>>>>>><>>|>>>>>>D>>yA>>>>>>>>Q>>>>>>!>>a>>>>>>1>>q>>Ʊ>>>>>>}E>>ͅ>>>>>>U>>Օ>>>>8%>>e>>ܥ>>>>5>>u>>>>>> >>I>>>>>>>>Y>>>>>>)>>i>>>>>>9>>y>>>>>> >>M>> >> >> >>]>>>>>>->>m>>>>>>=>>}>> >>">>$>>&B>>(>>*>>,>>.R>>0>>2>>">>b>>6>>8>>:2>>r>>=>>?>>A>>CF>>E>>G>>I>>KV>>M>>O>>&>>f>>S>>U>>W6>>uv>>Z>>\>>^ +>>`J>>b>>d>>f>>Z>>i>>k>>m*>>oj>>q>>s>>k:>>z>>w>>y>>{>>oN>>~>>>>>>^>>>>>>.>>n>>>>>>>>>~>>>>>>>>{C>>>>>>>>S>>>>>>#>>c>>>>>>:3>>s>>>>>>>>G>>>>>>>>W>>—>>>>'>>g>>ʧ>>>>7>>w>>ҷ>>>> >>K>>ً>>>>>>[>>>>>>+>>k>>>>>>;>>{>>>>>>>>O>>>>>>U>>_>>>>>>/>>o>>>>>> ?>>>> +>> >****>*****npllllllllllnlnlnlnlnln*lllll>ll>l*l*l*l*llllllll +>9>>F@>>w>>=>>f>>@P>>B>>D>>h >>G`>>I>>K>>0>>Np>>P>>R>>H>>mD>>V>>X>>Z>>\T>>^>>`>>b$>>>e>>g>>i4>>t>>l>>n>>p>>rH>>t>>v>>x>>pX>>{>>}>>(>>h>>>>>>8>>x>>>>>> >>L>>>>>>>>\>>>>>>,>>sl>>>>>><>>|>>>>>>D>>yA>>>>>>>>Q>>>>>>!>>a>>>>>>1>>q>>Ʊ>>>>>>}E>>ͅ>>>>>>U>>Օ>>>>8%>>e>>ܥ>>>>5>>u>>>>>> >>I>>>>>>>>Y>>>>>>)>>i>>>>>>9>>y>>>>>> >>M>> >> >> >>]>>>>>>->>m>>>>>>=>>}>> >>">>$>>&B>>(>>*>>,>>.R>>0>>2>>">>b>>6>>8>>:2>>r>>=>>?>>A>>CF>>E>>G>>I>>KV>>M>>O>>&>>f>>S>>U>>W6>>uv>>Z>>\>>^ +>>`J>>b>>d>>f>>Z>>i>>k>>m*>>oj>>q>>s>>k:>>z>>w>>y>>{>>oN>>~>>>>>>^>>>>>>.>>n>>>>>>>>>~>>>>>>>>{C>>>>>>>>S>>>>>>#>>c>>>>>>:3>>s>>>>>>>>G>>>>>>>>W>>—>>>>'>>g>>ʧ>>>>7>>w>>ҷ>>>> >>K>>ً>>>>>>[>>>>>>+>>k>>>>>>;>>{>>>>>>>>O>>>>>>U>>_>>>>>>/>>o>>>>>> ?>>>> +>> >>>>>>0000>>>>0000lnnnnnnnnnn>nn>n>n>n>n>n0n0n0n0nlll +**>***lppppppppp*ppppp*p*pppppp +"" +@@ +$$ + +DD + + + + + + +PP +RR +TT + +#$@A  +"#$B  >>7>>$>7>>>7>>D>7>>>7>>>7>>>7>>>7>>>7>>>7>>P>7>>>7>>>7>>R>7>>T>7>>@ +llR">>>>>ll>l>l >>R +nnP">>>>>nn>n>n >>P +ppT">>>>>pp>p>p >>T#$JK  +#R$L? V#$L? "#$B  >#$M >#$NO >>> >> #$ST @>>">>>Z # Z#fZZ*#$V% #$W >0*>Z # Z#fZZ*#$Z' #$W >0*>Z # Z#fZZ>#$\ #$] >0>>Z # Z#fZZ>#$_ #$] >0>>Z # Z#fZZ>>>>Z # Z#fZZ>#$a #$b >0>>Z # Z#fZZ>#$d #$e: >0>>Z # Z#fZZ>>>>Z # Z#fZZ #$g& >0 >Z # Z#fZZ #$i( >0 >>Z # Z#fZZ #$k >>0 >>Z # Z#fZZ #$m >>0 >>Z # Z#fZZ >> >>Z # Z#fZZ #$o >>0 >>Z # Z#fZZ #$q  >>0 >>Z # Z#fZZ >> ~ >>>> ****>*>* >>*>7> >>>>>>> >>>>7> #${| >*">>>>>#$ >*">>>>>#$ >>>>>>>>>#$ >>">>>>>>>#$ >>">>>>>>>#$ >>">>>>>>>#$ >>">>>>>>>#$ D>>>">>>>>>D>#$ $>>>">>>>>>$> +l****>*****np********* llllllllllnlnlnlnlnln*lllll>ll>l*l*l*l*llllllll +n>>>>>0000>>>>0000l>>>>> nnnnnnnnnnn>nn>n>n>n>n>n0n0n0n0nlll +p**>***l** ppppppppp*ppppp*p*pppppp> 0> >>>>>>#r$  + >#~$  >#r$  h #~$  > +  +#d#$  #d#$ >">>$>>>>7>> >>    > > #] #]#^  #] #]#_  #] #]#c   #d#$IJ 0#] #]#^  #] #]#_  #] #]#c   #d#$Dz 0#] #]#^  #] #]#_  #] #]#c   #d#$ʲ 0#d#$Ͳ #d#$Ҳ 00 0#d#$ղ >> >#d#$ز >> >#d#$۲ #d#$޲   #d#$  #d#$ ""#d#$ $$#d#$ &&#d#$    #d#$ ((#d#$  +* +,,0   ***#d#$ 24448#d#$  :#d#$ +  #d#$   +0#$  +0#d#$ 244448#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<>$>>?>>">> >>>>7>0:44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$"#  +<>>>$>> >>">>7>0:>44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$*+  +<044440#d#$-.  +<>A>>$>>">>>> >>7>>?>@@@@:44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$<=  +<> >>>>7>>">0@@:>@@BBDBB44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$NO  +<0@@@@44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$ST  +<>$>>>>">> >>7>0@::44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$]^  +0@@0#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$bc  +<044440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$ef F0J#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$hi F0J#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$kl F0J#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$no F0J#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$qr  +<0@@44440 #] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$wx  +<0L44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#${|  +<044440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$~  +00#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<>">> >>7>:@@44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<0@@44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +0@@@0#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<0@@@@@44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +0@@@@@@@@0#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<044440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +<>">> >>7>> >>">>7>0@@B@::44440#] #]#^  #] #]#_  #] #]#`  $a #] #]#c   #d#$  +0:4:4440#d4444#dLN#] #]#^  #] #]#_  #] #]#c   #d#$  04444#d#$  #$  @P*P0P0#$  +* + +R,,0&#$ij #$dz #d#$ɳ    4L444h#d#$̳ >A>>>>$>>:>>C>> >> +>>">>N >>?>>7>>    > > #d#$ڳ |>> >>> >>  >>>>#d#$ 244448#d#$ T4444X#d#$  +Z>">>7>> >>">> >>7>4:4\:44LN0 #d#$  +*4::444,,0#d#$       #d#$  +0#d#$ +   #d#$  ^|^^>> >^^^>^>^ >^>^ ^^ >^^^^>^>^^>^#d#$ 28#d#$  +Z*4:R:444LN,,0#d#$   P#d#$ >>>P PP >PPPP>P>PP>P#d#$ 2``8#d#$#$ 2``8#d#$&' > >>">>7>> >>7>> +>>C>>$>>N >>A>>>>:>>?>>">> >> >#d#$89 T444444X#d#$=>     #d#$@A 24444448#d#$BC  +  0#] #]#^  #] #]#_  #] #]#c   #d#$EF 0#d#$HI  +#$K @0#d#$MN  |  >> >   > > > >   >    > >  > #$OP  +0 0    0f2 2 #d#$ST 6'#&'#$a '#&'#$ '#&'#$lm '#&'#$op '#&'#$rs B'#&'#uBBBB$vw BB'#&'#uBBBB$yz B#iD$VW H'#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ B'#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ '#&'#$ J'#&'#JJJJ$ JJ'#&'#JJJJ$ JJ'#&'#JJJJ$ J'#&'#$w '#&'#$ '#&'#$ B'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ BB'#&'#uBBBB$ē BB'#&'#uBBBB$Ǔ BB'#&'#uBBBB$ʓ BL'#&'#*LLLL$ L'#&'#$Ёu '#&'#$ҋ; '#&'#$ԓ '#&'#$ד '#&'#$ڇ '#&'#$ '#&'#$ '#&'#$ޓ '#&'#$ '#&'#$Y '#&'#$ '#&'#$ '#&'#$ '#&'#$ N'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ NN'#&'#NNNN$ N'#&'#$  '#&'#$  L'#&'#*LLLL$ L    f0#$Y #$[\ < +  LLLLLLBLB#iD$^_ HLLBLBLBLBLBLBLBLLLLLLLLJLJLJLLLLBLBLBLBLBLBLBLLLLLLLLLLLLLLLLLNLNLNLNLLLL  hj hjT    hj    0 #d#$`a  Zh P4444LN> >0 +&0 +&0#$ij #$lm #$op #$rs ^#$uv P#$xy &#${| j#$~ j * #$=> #R$=> V& +X#$=> #R$=> V& +X  >> > #d#$  #d#$  +ZLN0#d#$ lp#d,,#d#$  > >>">>7>:4P>*>P>&>>*>P>>*>> #d#$ lp#d#$ r> >>">>7>> >>">>7>::4v#d#$ rxx>xxv#d#$  +0#d#$ > >>$>>>>?>>A>>">>7>>      #d#$̴ j|jj>> >jjj>j>j >j>j jj j#$~ j>jjjj>j>jj>j#d#$д >">>7>> >#d#d#$״  4444#d#$ڴ  +ZhLN> >0#d> >>">>7>> >#d#$  +> >>">>>>7>R::0#d#$  +0#$  +<0#$  +0#$ > >>   ~$ $   #$ >>~>> >> >#] #]#^  #] #]#_  #$ +   0 0  ~ #] #]#^  #] #]#_  #$ 0h~#$ h>>>"   +h#$ >#$!    #$.- > >    >>#$ >>>> >7>>7> >7> #$87  #$BA    ~>00 ~~  00~        #$DC  ~#$IH '#&'#$ d#$-   #$K 0 0    #$L '#&'#$rs >d> #$NM   + #$RQ  + ~  #$TS #$VU  >>>>#$cd  "$v&(*~,#$rn ,#$rn ,>>>.0"   +hh#$wv   ~ #$~ ~#$ ~#$ ~#$  0 0~#$ ~#$ ~#$ ~#$ ~  #$ ~"#$ v~$$#$ v~&#$  ~2#$ >>44h#$ h#$   ~((, #$           ~**  #$ ~,,#$ '#&'#C$ >dm #$Ƶ ~..#$ɵ    ~00#d#$ε  >>#$ѵ >H>#$ֵ >>>> #$ڵ >>>>> #$ݵ >> #d#$ #$ #$V b#$V x#$ #$ >H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H +>>H >>H>>H>>H>>H>>H>>H>>H>>H>>H>>H >>H">>H$>#$&' >H)>>H+>>H->#$/0 >H2d>#$45 >H7p>>H9r>>H;t>>H=v>>H?x>>HAq>>HCs>>HEy>>HGu>>HIw>#$KL >HN>>HP>>HR>>HT>#$VW >HY>>H[>>H]>>H_>#$ab >HdM>>HfN>>HhO>>HjL>#d#$kl   ~nn#$pq >HsF>>HuE>#$wx < #$|} >H>#$ #$ > #$ >H>>HC>>HB>>H@>#$ >HA>>H>#$ #$ #$ >He>>H>>Hd>>Hg>>Hf>>H(>>H>#$ >> #$ >#$ > #$ > #$ >> +#$ >> +#$¶ >0#$Ŷ >> #$ȶ >H>>Hd>>H(>>H>#$Ŷ @> #$˶ #$ζ #$Ѷ >H>>H>#d#$ض #$۶ >>>>h#$  #$ #$ >H>#$ #$ #$ >Ha>#$ #$ >H>#$ B #$ B#$ + B #$  B0#d#$ #$ #d#$ #] #]#^  #] #]#_  #d#$ 0b>>> D< D> >F >H >J >L  > >> >> >>>> >> >> >>>   > 0000 h< >>>>>> >>>>>>> >>>>>>>> >>>>>>>> FHDJ><L> F H D J < L > 0  D< > > >>> >>>> > > >>>J >>>L> > > D>ND>ND<D >#R$lm V#$lm >> +#R$no V~#$Ќ #R$no V>  +#R$st V#$st >>> +#R$uv V#$uv > +D #R$yz V#$yz D> +#R$lm V#$lm >> +< #R$yz V#$yz <> +>>P<  #R$lm V#$lm >> +#R$ V#$ DR +D R#R$ V#$ >> +>>>>> F00>0H0D0J0<0L0 D >>  #$ >>>>>> >>>> 0 >>>> < >>> >>>> > >> >>> >>>> >>>>>>> #$ > #$  #$  #$ b #$  #$ > >> >>> >>>>>>> #$ > #$  #$  #$ b #$  #$ > R R R> R R R R>> R R R R>>> R R R R>>>> R R0 R0 R0 D D > > > > > > > > >>>0>> >>>> >>>>>> #r$ >>>>> #r$ >>>>>>>> #r$ >>>>>> #r$ >>>>>>>>> #r$ >> #r$ >> #$ TVX>>>@ > >>F >>F>> >Z >\ ^ >>>>>>>>>> #$6 >>>> #$9 >>>> >>> >>> >>> >>> `>>>#$@ >>>>>>>> #$@ >>>>>>>> >>>>>>>>> #$"  >>>>>>>>> #$$B >>>>>>>>> #$$B >>>>>>>>> >>>>>>>>>>> #$)& >>>>>>>>>>> >>>>> >>>>>>>>> @Z\^@ Z ` \ ^ >>>> > >>>>> >>>>>> > >>`>>L>> D> D>> +D>> +>>>> D >>> +>>> +>> +@> +Z> +`> +D>ND >D >#$RO D>>> >>>>>> @0Z0`0\0^0 > #$ >>>>>>> >>>>> Z> Z>> >>>>>>>>> #$ > #$  #$  #$ b #$  #$ > #$  >>>>>>>>>> #$ol > #$ol  #$ol  #$ol b #$ol  #$ol > #$ol  #$ol  >>>>> >>>>>> >>>>>>>>> #$ > #$  #$  #$ b #$  #$ > #$  >>>>>>>>>>> #$ > #$  #$  #$ b #$  #$ > #$  #$  D > #$ D #$ R>> #$ R>> R> R>> #$ R>> #$ R>> R>> R>> #$ R>> #$ R>> R>>> R>> #$ R>> #$ R>> R>>>> R>> D>> #$ R0>> R0>> R0>> #$ R0>> R0>> R0>> #$ R0>> R0>> R0>> >> >>>>> > >>>>> > >>>>> `>> > D< D> >F >H >J >L  > >> >> >>>> >> >> >>>   > 0000 h< >>>>>> >>>>>>> >>>>>>>> >>>>>>>> FHDJ><L> F H D J < L > 0  D< > > >>> >>>> > > >>>J >>>L> > > D>ND>ND<D >>> +~#$Ќ >  +>>> +> +D D> +>> +< <> +>>P<  >> +DR +D R>> +>>>>> F00>0H0D0J0<0L0 D >>  #$ >>>>>> >>>> 0 >>>> < >>> >>>> > >> >>> >>>> >>>>>>> #$ > #$  #$  #$ b #$  #$ > >> >>> >>>>>>> #$ > #$  #$  #$ b #$  #$ > R R R> R R R R>> R R R R>>> R R R R>>>> R R0 R0 R0 D D > > > > > > > > >>>0>> >>>> >>>>>> #$ø #$Ƹ #$ɸ >>>#$θ #$Ѹ 0>>#$ظ #$۸ #$޸ #$ #$ #$  +>H>>H>>H>>H6>>Hn>>Hm>>H>>H U>>H>>H>>H/>>Hj>>H>>H>>H>>H>>H >>H >>H >>H>>H >>H=>>H >>H>>H>>H T>>HV>>HW>>H X>>H"Y>>H$D>>H&d>>H(e>>H*>>H, >>H./>>H0>>H2>>H2>>H5>>H7>>H7>>H:>>H:>>H=>>H=>>H@>>H@>>HC>>HC>>HF>>HF>>H5>>HJ>>HJ>>HM>>HM>>HP>>HP>>HS>>HS>>HV>>HV>>HY>>HY>>H\>>H\>>H_>>H_>>Hb@>>Hd ">>Hf #>>HhN>>Hj>>Hl>>Hn>>Hp>>Hr>>HtB>>Hv6>>Hv6>>Hy7>>Hy7>>H| D>>H~ E>>H>>He>>H&>>H >>H>>H>>H>>H>>H>>H>>H>>H V>>H>>H s>>H>>H>>H>>H>>H t>>H p>>H>>H>>H q>>H r>>H >>H>>H%>>H%>>H&>>H/>>H/>>H0>>H0>>H1>>H1>>H2>>H2>>H3>>H3>>H4>>H4>>H&>>H'>>H'>>H(>>H(>>H)>>H)>>H*>>H*>>H+>>H+>>H,>>H,>>H->>H->>H.>>H.>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>HZ>>He>>Hf>>H[>>Hg>>Hh>>H \>>H i>>H j>>HP>>HQ>>HR>>H0>>H>>H@>>H>>H>>H>>H>>H!>>H#>>H%>>H'>>H)>>H+>>H->>H/>>H1>>H>>H4>>H6>>H8>>H:>>H<>>H>V>>H@>>HB>>HD>>HF F>>HH>>HJ >>HL +>>HN>>HP>>HR>>HT S>>HV >>HX>>HZ>>H\>>H^>>H`>>Hb>>Hd>>Hf>>Hh>>Hj>>Hl>>Hn>>Hp>>HrS>>HtT>>HvU>>Hx>>Hz>>H;>>H}>>H>>H +>>H>>H>>H>>H&>>H'>>H'>>C>>>>>>H !>>H>>H>>H>>H >>H +>>HA>>Hs>>H>>HG>>H>>H>>H3>>HM>>H.>>H1>>H>>H$>>H$>>H>>H>>Hk>>H%>>H->>HI>>H>>H>>H>>HW>>H>>Hr>>H>>H 3>>H>>H>>H>>H0>>H/>>HK>>H>>Hi>>H">>HL>>H+>>HJ>>H>>H :>>H>>H>>H>>H>>Hp>>H&>>H'>>H'>>H>>H>>7>>H>>7>>H>> >>H>>H >>H >>H >>H>>H>>H>>H >>H >>H >>H >>H>>H>>H!>>H#>>2>>H&8>>H(7>>H**>>Hf>>Hg>>H.:>>H0->>H23>>H44>>H6.>>H85>>H:6>>H<)>>H>1>>H@2>>HB>>HD>>HF >>HH>>HJ>>HL>>HN R>>HP>>HRA>>HTS>>HV>>HXR>>HZT>>H\Q>>H^C>>H`D>>HbP>>Hd>>HfU>>HhB>>Hj>>Hl)>>Hn>>Hp'>>Hr/>>Ht9>>Hv:>>Hx0>>Hz;>>H|<>>H~+>>H7>>H8>>H>>H>>HY>>Ho>>H>>H>>Hw>>H>>H>>Hq>>Hb>>HW>>HQ>>H>>H}>>H>>H=>>H>>H>>H>>Hv>>H>>H>>Hp>>HV>>HX>>H>>H|>>H>>H>>H>>H(>>H^>>H>>H>>Hb>>H_>>H>>H`>>H>>H>>H>>H>>H>>H>>H>>H >>H >>H>>HO>>H>>H>>H>>H>>H>>H>>H>>H@>>HA>>HC>>H>>H>>H>>H>>H >>H>>H>>H>>H +>>H >>H>>H>>H W>>H>>H >>H >>H >>HH>>H >>H >>H" >>H$ >>H& >>H( >>H*>>H,>>H.>>H0 P>>H2>>H4>>H6>>8>>H:>>H<>>H>>>H@>>HB>>HD>>HF>>HH>>HJ>>HL>>HN>>HP>>HR>>HT>>HV>>HX>>HZ>>H\>>H^>>H`>>Hb>>Hd>>Hf>>Hh>>Hj>>Hl>>Hn>>Hp>>Hr>>Ht>>Hv>>Hx>>Hz>>H|>>H~>>H >>H>>Ho>>H<>>Hi>>H>>Hj>>H>>HM>>HL>>H>>H>>H>>H>>H>>H>>H>>H/>>H>>HD(>>H=>>H;>>H(>>H:>>Hr>>H(>>H(>>H>>OO >>>H">>H$>>H%>>H>>H>>H>>H>>H>>H#>>H>>H>>>>>>>>H<>>HB>>HC>>H?>>H@>>H:>>HF>>HD>>H>>H(>>H4>>H*>>H)>>H>>>H=>>H;>>H8>>H7>>H >>HC>>H@>>Hn>>HA>>H >>Hm>>H >>H >>H +>>H >>H>>H;>>H>>Hh>>H>>>H>>H>>H>>H>>H>>H!>>H#>>H%>>H'>>H)3>>H+4>>H-c>>H/>>H1>>H2>>H>>H5>>H>>H8">>H:>>H<j>>H>E>>H@#>>HB$>>HD%>>HF1>>HH >>HJ>>7>#$LM V> > >>>  +  # $VW  +>>>>>>># $ >7>>>>># $ >7>>>>>># $ >7>>>>>>># $ >7>>>>>>>># $ >7>>>>>>>>># $ >7>>>>>>>>>># $ >7>>>>>>>>>>># $ >7>>>>>>>>>>>># $ >7>># $ >>>>>>>>>>>>7>># $ >>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>>>>>7>># $ >>>>>>>>>>>>>>>>>>>>>7>>>># $  +>># $  +    H  +>d>>e># $ >f>>>>>>>>>>>>>>)># $ >># $ >># $ >>>H,>>H->>H.>>H.>>H/>>H0>>H1>>H3># $ >H4>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H>>H># $ >H># $ >H># $ >H># $ >H>>H># $ >H># $ >H># $ >H># $ >H># $ >H># $ >H>>H>>H>>H>>H>>H>>H># $ >H># $ >H># $ >H># $ >H># $ >H>>HW>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ +  >#>#r$  >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$ >#>#r$  >#>#r$"# >#>#r$%& >#>#r$() >#>#r$+, >#>#r$./ >#>#r$ >#>#r$12 >#>#r$45 >#>#r$78 >#>#r$:; >#>#r$=> >#>#r$@A >#>#r$CD >#>#r$FG >#>#r$IJ >#>#r$LM >#>#r$OP >#>#r$RS >#>#r$UV >#>#r$XY >#>#r$[\ >#q>#r$^_ >#>#r$ab ># +>#r$de ># >#r$gh >#>#r$jk >#>#r$mn >#> +Z Z   Z Z    Z Z 0 >>> > + J +    +   *8 ?* $@* Y@* @@* @* j@* .A* cA* חA* eA* _B* vH7B* mB* @0B* ļB* 4&k C* 7yAC* ؅W4vC* NgmC* =`XC* @xD* PKD* MD**h# $  +'#}7>d d 0d $   +J 0r d  +r r   J0r *h  + J   h  h    ,  ,  0  ,  d d *  *  *  64    d d *   +>0000> > $$  +,>HZ>$>$>00> > > $$ >> +,>$>00> > $$    >00    > > >  +0 0     +    @0B    HL    D  . . P  B     >L  > >     >    >  >  >   +0>   0  0  >> >> >7> >> >>  >>  R    X\   B  2 2 2 2 b2 dL  2  0   +0 +  + 0  0   +02 +2 2 +2 2 +02 2 2  2 2  + &  ~    >00  ~  j  ~   +0 +0 +      ~    +                      0   B  R R R pL  R        +0  0  0    zH#~$  H H#~$  H H H H   H  > . > 0   8 >      +0 0 0 0 0 0    0    0    $[  0                   >  0  >  0  00 2 n  >>>>> >>r > > > 00  +  >>   #~$ 0       >0             >   .                     0n      >     r >   0    0         0    0   0              +              0  >  > >  . > >   >  > 0  0    0     0  0  0   0  >  > > >  . > > > >   >  > + 0  0    0     0  0  0   0.  0>   8     >  +0 0 0 0 0 0    0    0    $[  0                   >  0  >  0  00 2  +  0    >00     " .   +0 .   . . & >  +      ,0  +  +2  +  +  +80 +>>     00      + >  >  >     +0 0  0  >  >> >>   +  >  >  >   >  >     +0 0  0  > / 0   >  >> >7> >> >>  >>     : n>>@r>>>>  > >00 FJ>  +  +0 +0>  >  n  > Pr >  + +    V V   >  0 Z     V V +  \  V V +  \  \ 0 +b'#bbfb     +> >   > / 0  >>  > / 0  >>  > / 0  >>  > / 0  >>  > / 0 #~$(  +#~$(  >  j +0 ` `  + +>7>> >>"> >>0000~ >> + +>$>>>> + >> *#~$  +  + 0 + >     >> >      0 0>>>>>>>>0>0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0#~$:; #~$<= #~$ 0 ~ J~ J~  + >>>>>>>>>>                H   H  +#  + +   +>0 + +00>0  00>0  0   $  $     +#># +0# #~$  + #~$ #~$  +#~$ #~$  +  #~$ #~$:;    +   +   +   " & ,H   2H   8H  +< <  +  #~$ >#~$ >0    #~$ #~$ #~$ #~$ #~$ #~$ #~$ >0 #~$ #~$ #~$  + + + + + + + >~2~>>J>>0  0#~$  0  +#~$   >    h >  0  + +  +     h    +#~$      0 +#~$ 0J  +  + + +      ~ h2   @     + $  '#  #0DD$ <1$  F'#FFJF +  N  T  ~  X   +~  00  ~~         +  ~            ~               0   T  > >   >^` bf  E#f  f   +0 +0 +        Z  >Z l T    >rf  ~   +>0 + +0 +0 +       >| +0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0  >> > 0    >  0  #~$  #~$ #~$ JJJ $@m  $@o@p  $@r  $@t:  $@v '#$@y@z '#$@|@} '#$@@ '#$@@ '#$@@ '#$@@ '#$@@ '#$@@ '#$@@  +6 00000000 00000000  00000 8 0   >7>8 >8 >8 >7>8 +86 >>> 6> > >   8 >8 >Z8 +8 >88 >>0>00>8 > +4>  >>>  > > > 4  >44  >4 +4  >44  >0>  >  >  >>0  >  4  >0 6>        >  6   6          4    6 4     4      4    6 >  6 4>  >> &    >>>00     +0 +0 +0~    +  +         +  +           +    00>>   0 +. >0 8  +0     + > #~$@@ >0 +  +  +  +  +#~$ #~$  #~$ #~$@@  #~$ #~$@@   + + +  + +  +  +#~$  +#~$   +#~$ #~$@@  #~$ #~$@@   + +#~$  #~$  #~$  #~$ #~$ #~$   +  +  +  +#~$AA  +#~$AA  +#~$AA  + + + +#~$AA  + + +> >>">>>>$>>?>>A>>C>>:>>N >> +>>Q >>S >> >>> + + + + + +  + #~$  + +#~$  +0 + + + + +  + + + +  >> 0 + +  + +   > + +  + +     + + + + +  +  +  +#   H +  # #    +#~$  + + + + + + + + + +  + +  + +  +  + + +  + +  + +  + + 0 +  + + +  + + 0 + +                           >  + + + + + +>  +>  +0 + 0 +0 + 0 +0 + 0 +> +>  +  +   +  +  + +  +  + +  + + + +   +  +  + +  +    + +  +  + +0 + + 0 +>OO >>>OO">>>OO>>>OO$>>#~$  + + 0 + + + + +  + + +> +>  +0 >> + +  + + + + + >>  +> +>  +0> + +  + +  + +  + +  +>  +> + +  + + + + + + + +  + +  +> + + + +   +  +>7>> >>">>> + +0 +* +> + +  + + +0 +0 + +0 + +0 + +0>>0 + + + > + +0 +> +> + +> +  + +> + +   >>   >>  0 + + + + + +  +   + #~$  + +> + + + +> + + + +> + +>0 +0 +#~$  + + + + + + + +  + +#~$  + + +> + 0 +#~$ 0 + + + + +00 +0 +0 +0 + + + + +  +   0 + + +0 + + +0 +0 +00* +**0 +> +>>0 + +0 +  +    +      +1      +  0 +0 + + +0 + + +0 + + +0 + + + + + +0 + + +0#~$ 0000000000    +  + +  + +0 + +  +  +  + $BrBs  $BuBv ~  +~  + +> +0 $0>( 000000$>( +0  +>> * . >   +$(> 040404 #~$ 0  >   +$ *     00 >> >  (#B8:>>>>   0000     > >  >  >   +0 0  0  0 0 0         #~$         $X  >  0  >  0               0   0   0   > >> >> >> >> >7> >>  >>  0 0 0 0>   >  +>7>> +>> +0 00   2 > > >  ~>       0 >7>> 0 >>  > @ D @ D  >  +  >>   0:'#B::H:$*>OOHB>>>H>0000N>(>N#~$ N>>>>>*****> > > >    NNN*NN0>>>0000N>#P00>T##~$ P#P>>>>>>>>>>>0>>>>>>N*TPXZ^`d$ *>N00>>(#~$ >>>> >7>4 >7>4   06  6 4 6 4   6 >7> 64 4>7> 6 >>  6 6>7>0#~$ >>   >0 >> >>   > > $Ʌ  > $Ʌ  6>7>>6>>6>7>0 > >  +     JJ +    0  J    0   +   + $BB  $BB  $BB  $BB  $BB  $BB  $BB  $BB  $CC  $CC  $CC  $CC  $C   $C +C   $C C  $C@  $C@  $CC  $CC  $CC  $CB  $C  $CC  $CC  $CC  $C C!  $C"C#  $C$C%  $C'C(  $C)C*  $C,By  $C-C.  +     '#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#4'#48#C08#C1:#C2<#C3>#C4@#C5B#C6D#C7F#C8H#C9J#C:L#C;N#C<P#C=R#C>T#C?V#C@X#CAZ#CB\#CC^#CD`#CEb#CFd#CGf'#j'#j'#j'#j'#j8#CHn#CIp#CJr#t#v $CLCM  $COCP  $CR' >7>> >>"> +>#CX> #CZ >#C[> #C] >#C^> #C` >#Cb> #Cd >#Cf> #Ch >#Cj> #Cl >#Cn> #Cp >#Cr> #Ct >#Cv> #Cx >#Cz> #C| >#C~> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >#C> #C >7> LNCM#C>NC > > LNCM#C>NC >#C>>C > $CC >h > $Ʌ >!> $@o@p >#> $CC >b$> $CC >8%> $C† >&> $CÆ >'> $CC >(> $ >)> $ >m*> $@v >+> $@t: >,> $CC >-> $@r >.> $CC >/> $CΆ >0>>9>>k:> $Cх >;> $Cҧ ><> $Cӆ >=> $CC >>> $C׆ > ?> $CC >F@> $CC >yA>>Z>>[> $CC >\> $CC >]> $CC >^> $C >_> $C送 >G`> $CC >a>>z>>{> $CC >|> $C >}> $CC >~> $@m >0>>>0 '#C'#C8#b #, + $CC  $CC  $CC  $DD  $DD      + +   + + +  & + + +  $X ,.'#D +..2.4'#D 4484(Z5MAh, +_.AS//w u3m&J73] 33YRW^.33vn )5-ŀÀp9R;@??dcB@ck{B(YrZ((Y/SŃdCI/DSlO^lSj;{UB#'~@KUf]h[/@܂k\O7m=A_\?5RQbbJÀdaJFUga $<`5Im$ k}8aOOPY*CCB\I%မUBLJ6o OOWWW_EVEEO8W_6$  $*p444W 4 N >   V  $ , 7 #EI'&/W>Pl.:*[Հ&K#JISA7SO#@7JaM@7J=?%/)662({.7 6tA ԃL]8B&&+.  $#& b,NMU_(FaYD-/l +*N6H;DQlQHZH%% $  K6 fjDjj}lGDnAoXuui  Dw  +  !#$&)*-.011*!5661:;5>!;;@C;FGHIKLMNNQRTUGWXZ[]^`a*cddghijkl*.op.rssvssz{r}}}//{;1111211;;<Àƀ,ɀ<̀;πE;ԀՀ;؀:!;ހ;1;1 +  !!$%{'(({z,,,,,,,,,,,,,,,{=>,{ABADDDDDDDDDDDDDzR{TU{WXX|[]^_`{bcL)f)hjllzoohrstu>xy_{^}~^^^h^j^āŁ^ǁȁɁʁȁɁ́ȁρҁӁǁՁȁׁ؁ȁځہȁȁށ߁ȁȁ^ȁ^^^^ +  #$&''"*,--,0234$786:<=?@BCCAFCHIDKKDNCPQCCTUSWCYZvC]^^CabHddghij$lm$op%rothvwvy@{||‚‚‚‚ǂɂʂ͂΂т҂ԂՂЂׂڂۂԂ݂߂߂ +  "#%&(*,./1225658///<=>>>>>>7F6HHH4LMMMMMMMM4VW8G]ń__Ujkknoqrtuwxxx~DŽȄɄʄȄ̄̈́΄τȄф҄ʄ҄Մքք҄Մڄڄڄڄڄڄʄʄʄ҄ʄʄф҄ʂʂʂʂʂʂʂʄȅȅȅȅ +ʄȅ  99<;>:@>>>@@@>>@@LL;O:Q˅SUVʅXYʅ[\̅^ȅ`a`cȅefͅhikmUoqsuwy{}ȅххх҅ce + + + + + + + + + + + + + +ŅƅDžȅɅ̅ͅ΅υυЅ҅υυυ؅مڅۅυυυޅυυυυυυυυυυυƅυυυυφ υςυυυυυυυυυυυυυςυυυυυυυυ)*υυυυυυ3456̆8υυφ6Ά>@ABCυυυυυυρLMυυυυυυυυυυυςυυυυυυυυυυυυυυυυυυυυυυυφstυυυυυυυυυυυυυφ>φ>υφ>>φ>>υυυυυυυυφ>>υυυυφCυυυυυυυυυυυυυυυυυυυυυυυυυυυυυĆņƆǁɅυυυφΆυυφ҆ӅІՆՅυυυυυυφ,߅φ>φυφ>υυφ܆>ņυυυυυφ>>υυυφ>υυυυυφ>φ>υχυυυφυυυυυυυυςυυυυυυυυυυυυυυυυυυυυυυυυυυφ>υυυυυυυGHIJυυυυυυυυυυυυυυφ>υυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυυυυυυυυφ>φ>υχ݇φ>υυυυυυυυυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυυφ>φ>φ>υυυυυυφ>>υυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυ υυυυυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυυψBCEBGψIJψLM̈OψQR̈TňVWψYZZX]ψ_`ψbcވeψghhhglψnoooψsttt9xυυψ{}҈υυυψψψψψψψψψψυψوÇJΈƈƅΈɅυυυυυυυυυυυυυυυυυυυυυυυυυυφ>υυφ>>υυυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυυυφ>υυυυυφ>υυυυυυυυυυυυυυυυυυυυυυφ>υυυυυυυυυυυυυυυφ>υυυυυυυυυυυυψɈjOPQRۆʼnUVWXXXXXXXV`aaaVefVhiUlllllrrrrrrrrrrrrrʼnʼnDž  ቟N鉥􉟉 + h   !!$'(((,-/0457888/<@AAA,EGHJKMNNJQMTVW?ZZZZZ`bcefghhSkfYnnnnntuuxyyyyyy`>352&&ÊĊĊĊfȊɊɊf̊͊fϊЊЊЊfԊՊՊm؊6ڊډ݊މ 쉝 + #$&''***/00000/666;<;>=@5CBEEEE5J5LLOPPSTTTTባZ[[]^ብ\cccccᄞjnnnnnnnnn|}}|ጇግxxii쌫yɌʌ̌ɌΌьЌӌՌ֌֌ٌڌڌЌ݌ߌߌ@@Aꉣvv +  ##&'())Q,-.RQ1RRRRRRRRRRRRRRRRRRRRRRR1RRRRRRQQMNUUTXUUM`aadeeeeeeeednnnnnnnnnnnnn|}~~[s͍̍΍ύЍэύӍԍύύ֍؍ύڍۍύύύύύύύύύύύύύύύCCCC C CCCCCCCCCCCCCCCCCC#$CCCCC*+CCCCC12CCC67C9:CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ6666666666666666666666666666666666666666666666666666jҎjՎj؎kjݎމ遭 +؏ hh"#!%"'*+)-/003467h9:;<:>?ABBBFHIIHLNOOzRTUUFYZZ]^^Fbccfggjkkjnpqqtuuxyy|}}|ssssh񏬏h0ijsssrˏˏhЏяЏӏЏh׏؅ڏۏۏۏۏۏۅЏ) ېd͐!#$ɐ&Ɛ()+)-...*2)45)78Ɛ:;<=DDgDPBDCDDD#&EDGODDDCDDD#&Dcegxz|~DLMD!IJKDDD! DׅمDzDDDDD5DD8D9DD8lDUVDDDDDDDDD#:DDDpDz͆DzDDDDD3܇DD̆DzDzDzDDDzDzD$D"#DDD/D3Dqق؁>DDDbxD|yDD؂qهDDD؇D1DDDDDD󈛈*DD D+,-./DND0DˆDЁ8D"zD"Άц D!D!lDDD + D$DDD 47D8D9@DCEDFGDDD0UDVDYDDiDjDkQD vD|D~qrD!DD!,D5.D!SHI[nDD4D5YDDDDDGDD?D6DD9<=DD D):,;.0>-?/@1A2B3CzD~D/D0]DiFDD +  D%#!DD"D$%&'()*+,- D DDDDDD1D27DD8DDDEID ODJQDR[DDDDDDDDDDDDDDDDDDDDDDnDo{D|D}DDD!D"ĉƉljȉɉʉˉ͉̉Ήωщ҉ӉԉՉ։׉؉ىډۉ܉݉߉牵LD"X^_`abcdefghjklD"vDDDDDD&SD:DD/ŊDDΊȊ̋>D=*VMDDDDDOSDD]D^DD_`bcdDDwOD ‹ŋˋ׋ߋ?:,DDMXDD\D&ϙtD DDD8OyBE.z@Jg}J/͐7א=ۍ51D2AGMYdY理^lĐÐƐȐՐʐА q uiDD*H[5ImQxhjg"1ԒВޒ{DDD!DD-$D%)DDD+.t-D1D8DUܘ$ +D,DDDDD?@KiNQmѕוŕԕ塞^D, D5gmrF +:+Ȗʖ˖̖͖ΖϖіҖӖԖՖ֖זٖؖږۖܖݖޖǖɖЖߖ䥡 +w2?DDC= #|#Ɯ@IL5D?5<@D5<DDEFDDDKnLH|D!#%DkDtDD,D-DD5MDNPD`RDSeDDDflDDsDDD_D!}CXϋҋ2ETHTȍэߍ,:QVnqtא}=Vc8;Au!48C )/8FX>nqy +@EWsu}˚Λ%(1ɜ̝ @EcѝM%0b򊰊DD!ťDDx{y|}zD+b(DDDDD!D!ߥ DDDDD:;7P̦KFxD ަߦ D DFDgDm~ODPD&)@ez}!+.147:=H]B`gr秅#EJLNQTWZbjmowD槤觵zD{DۧD%DDzvDzDDDDDDDcDdDDxDDUDDDDqDvDȨс{D٨D٩u'D(DĨݨDDODDDDDDDDDDDD/Dv +D DDDDD012@DOAD=yƩD2D0DD0DDDD)%D멝D0ٮDDDDDvDDD橱D)%DD穲D)%D DxD٩DDRDDQ_D`DSNDOUDVtDDZDuDDDxyz{𪦞%DvDzDDDDʪDʪD DͪΫ+DCDDz{yxD۪D۩D0'@D HIJKLD"ACF[DzDD-AB,D1:D.=4;9<>)@D=;<>)D)=;<>D=>LDDD1D?D?DTDUDDDcDsuDfX`DD8DD8DkYDY+D૾DzDDDDD#zīūƫDDՃDDOD`DDϨDDDD8D PDkD I"D#pnjJADDFDGIDJPDDDVD DDUDSknDqDDDDDDD%DQDDD76WXDDЮۭD !"#$%&ڭ'()*+,DDoaD8DDbDkDrDpDfe +DDɄDzDrqz٭DԭD0}D02ҭӮ)=Dy0ҭݧͮ4HDDD#zDzJDDD#zLDDD#zhDDUDxDDUDDUD\DDUDD+D+!DzD%DDDƮǮȮɮʮˮ̮D{DDDDDDDzDzDDDDDDDD DR)EH/DbD!5D'eDḙf^D +D! Dz<D=DD5D6-0D DD DF?DyHD!IJDDDD!LMDODPADlQBR$EDSZxUVWXYZ[\]^_bdmefgjDRʯDDD(bDD{z{|}~D!FGp!qstuvwxyDDDD语ȯدԯDDү⯔D!DDDDDDDDDD546DD DDD 7#&D'()*+,-./01234568DDCDDHDDIRDDvDDxz~y?DDDRʊ˒ײDRʊ˒ײDRDD GDDD!RղDD˳ٴ %<˴LDDԳײѴD銳D̴ QDܴDDݲòƲɲ !),;MR\adgjmpvz}"7?DGEϴִٵ-UH7 CAQ v}ŵȵMSŸ׷߶׷е͸ȸݽKN¸ڸ͵е%.3JU`ov{ǶʶͶжڶQDRUD}DQDQ~D½̪q۽ݽ߽DDDuDDvDDD}DD~DDDDDDDDDDDDDDD 9DDDDDDťDDƾDDDDDDDDDDDDDpDDDDDȾD˾DDDDD"DDDDDDsD! oop㾝ɾϾD!ѾDԾD D' D! +D޿DlJDlLMNKcDDDdDeDfDghDijDkmDD}DDDNID'D'DB~DDDDDzDuDDDD D0DDDD@DD@D@fD@D@D@@ D@D@DDDDDDBDA@D@D~@@@D@R@D@R@@D@D-~@D@K@D@K@D@D@@@@D@D@DD'D!󿛿ſ<=;!¿{|~ÿſƿǿɿʿ˿̿οϿпѿؿ޿ߊ@@@@@@@@@@@!@#@%@'@)@+@-@/@1@3@5D!@7@8@9@:@;@<@=@>@?@@@A@B@C@D@E@F@G@H@I@J@LD@gD'@g@h@h@i@i@j@j@k@k@l@n@q@s@u@w@wD!\@M@N@O@P@Q@R@S@T@U@V@W@@@Y@Z@[@\@]@^@`@a@b@c@dD!@@@@D!@@@@@@@@@@@@@@@@@@@@@DDDD@D@D@D!AAAAAADDAAkA`DAlAmDDDDBqBtD!B BBB +BB,BLAABNBYBZB[B\B]B^B_B`BaBbBcBdBeBfBgBhBiBjBmBnBoBpDDDDBxByDD9DDBDDDBBDDBDDDDBDBBDDDDBDD:DDDBBD'BD!BBBBBBBBBBBBBBB}ABBBABBĊBDBDDD%D!A AABBDD!ADDDD!BDDCBC CB{B|C&C+DDDDC0C1C2C3C4C5C6C7C8C9C:C;C<C=C>C?C@CACBCCCDCECFCGDDDCHCICJDCKCNCQDC/DDDDCSfCTADADCVDCXCZC[C]C^C`CbCdCfChCjClCnCpCrCtCvCxCzC|C~CCCCCCCCCCCCCCCCCCCCCCCCCCDD%CDDDb,DDDDDDDDDD DD +DDD DDDD Ddart.asyncHashMapdart:collectionCastStreamCastStreamTransformercheckNotNullableEmptyIteratorIterableElementErrornullFutureprintToZoneprintToConsoleSincetypeAcceptsNullunsafeCastdart:_internaldart:coreasync_error.dartdart:async/async_error.dartAsyncErrorerrorstackTracedefaultStackTracetoStringbroadcast_stream_controller.dartdart:async/broadcast_stream_controller.dart_BroadcastStreamTisBroadcastcontroller_BroadcastSubscription_STATE_EVENT_ID1_STATE_FIRING2_STATE_REMOVE_AFTER_FIRING4_eventState_next_previous_isFiring_removeAfterFiringonDatadataonErroronDonecancelOnError_expectsEventeventId_toggleEventId_setRemoveAfterFiring_onPause_onResume_BroadcastStreamController_STATE_INITIAL0_STATE_CLOSED_STATE_ADDSTREAM8onListenonCancel_state_firstSubscription_lastSubscription_addStreamState_doneFutureonPauseonPauseHandleronResumeonResumeHandlerstreamsinkisClosedisPausedhasListener_hasOneListener_isAddingStream_mayAddEvent_isEmptydone_ensureDoneFuture_addListenersubscription_removeListener_subscribe_recordCancelsub_recordPause_recordResume_addEventErroraddaddErrorcloseaddStream_add_addError_close_forEachListeneraction_callOnCancel_SyncBroadcastStreamController_sendData_sendError_sendDone_AsyncBroadcastStreamController_AsBroadcastStreamController_pending_hasPending_addPendingEventevent_flushPendingdeferred_load.dartdart:async/deferred_load.dartDeferredLibraryDeprecated"Dart sdk v. 1.8"Dart sdk v. 1.8libraryNameuriloadDeferredLoadException_smessagefuture.dartdart:async/future.dartFutureOrpragma"vm:entry-point"vm:entry-point_Future"wasm:entry-point"wasm:entry-point_nullFuture_falseFuturecomputationmicrotasksyncvalue"vm:prefer-inline"vm:prefer-inlinedelayeddurationwait"vm:recognized"vm:recognized"other"otherfutureseagerErrorcleanUpsuccessValueanyforEachelementselement_kTruedoWhilethenRonValuecatchErrortestwhenCompleteasStreamtimeouttimeLimitonTimeoutTimeoutExceptionCompleterfutureisCompletedcompletecompleteErrorFutureExtensions"2.12"2.12EhandleErrorignore"2.14"2.14_ignore__unawaited"2.15"2.15_completeWithErrorCallbackresult_asyncCompleteWithErrorCallbackfuture_impl.dartdart:async/future_impl.dart_Completer_completeError_AsyncCompleter_SyncCompleter_FutureListenerSmaskValuemaskErrormaskTestErrormaskWhenCompletestateChainstateThenstateThenOnerrorstateCatchErrorstateCatchErrorTeststateWhenCompletemaskType_nextListenerstatecallbackerrorCallback_zonehandlesValuehandlesErrorhasErrorTesthandlesComplete_onValue_onError_errorTest_whenCompleteActionhasErrorCallbackthenAwaithandleValue"vm:never-inline"vm:never-inlinesourceResultmatchesErrorTestasyncErrorhandleWhenCompleteshouldChain_Future_stateIncomplete_stateIgnoreError_statePendingComplete_stateChained_stateValue_stateError16_completionStateMask30_resultOrListeners_mayComplete_isPendingComplete_mayAddListener_isChained_isComplete_hasError_ignoreError_error_chainSourceimmediatezoneValueimmediateError_setChainedsourcef_thenAwait_setPendingComplete_clearPendingComplete_setValue_setErrorObject_setError_cloneResultlistener_prependListenerslisteners_removeListeners_reverseListeners_chainForeignFuture_chainCoreFuturetarget_complete_completeWithValue_asyncComplete_asyncCompleteUnchecked_asyncCompleteUncheckedNoFuture_asyncCompleteWithValue_chainFuture_asyncCompleteError_propagateToListeners_registerErrorHandlererrorHandlerzoneschedule_microtask.dartdart:async/schedule_microtask.dart_AsyncCallbackEntrynext_AsyncRun_scheduleImmediate_microtaskLoop_startMicrotaskLoop_scheduleAsyncCallback_schedulePriorityAsyncCallbackscheduleMicrotask'vm:entry-point''call'call_AsyncCallback_nextCallback_lastCallback_lastPriorityCallback_isInCallbackLoopstream.dartdart:async/stream.dartStreamlengthisEmptyfirstlastsingle_internalempty"2.5"2.5fromFuturefromFuturesfromIterablemulti"2.9"2.9periodicperiodcomputationCounteventTransformedmapSinkcastFromasBroadcastStreamlistenwheremapconvertasyncMapasyncExpandexpandpipestreamConsumertransformstreamTransformerreducecombinepreviousfoldinitialValuejoinseparator""containsneedleeverycasttoListtoSetdrainfutureValuetakecounttakeWhileskipskipWhiledistinctequalsfirstWhereorElselastWheresingleWhereelementAtindexStreamSubscriptioncancelhandleDatahandleDonepauseresumeSignalresumeasFutureEventSinkStreamView_streamStreamConsumerStreamSinkStreamTransformerfromHandlersfromBind"2.1"2.1bindSSSTTSTTRSRTStreamTransformerBaseStreamIteratorcurrentmoveNext_ControllerEventSinkWrapper_sink_ensureSinkMultiStreamControlleraddSyncaddErrorSynccloseSync_TimerCallbackstream_controller.dartdart:async/stream_controller.dartStreamControllerbroadcastSynchronousStreamController_StreamControllerLifecycle_StreamControllerBase_StreamController_STATE_SUBSCRIBED_STATE_CANCELED_STATE_SUBSCRIPTION_MASK3_varData_isCanceled_isInitialState_pendingEvents_subscription_ensurePendingEvents_badEventState_closeUnchecked_SyncStreamControllerDispatch_AsyncStreamControllerDispatch_AsyncStreamController_SyncStreamController_ControllerStream_controllerhashCode_createSubscription==_ControllerSubscription_onCancel_StreamSinkWrapper_target_AddStreamStateaddStreamFutureaddSubscriptionmakeErrorHandler_StreamControllerAddStreamStatevarData_runGuardednotificationHandlerControllerCallbackControllerCancelCallbackstream_impl.dartdart:async/stream_impl.dart_EventSink_EventDispatch_BufferingStreamSubscription_STATE_CANCEL_ON_ERROR_STATE_INPUT_PAUSED_STATE_WAIT_FOR_CANCEL_STATE_IN_CALLBACK32_STATE_HAS_PENDING64_STATE_PAUSE_COUNT128_onData_onDone_cancelFuture_isInputPaused_isClosed_waitsForCancel_inCallback_isPaused_canFire_mayResumeInput_cancelOnErrorzoned_setPendingEventspendingEvents_registerDataHandler_registerDoneHandler_cancel_decrementPauseCount_addPending_guardCallback_checkStatewasInputPaused_StreamImpl_onListen_DelayedEventperformdispatch_DelayedData_DelayedError_DelayedDone_PendingEventsstateUnscheduledstateScheduledstateCanceledfirstPendingEventlastPendingEventisScheduled_eventScheduledschedulecancelSchedulehandleNextclear_DoneStreamSubscription_DONE_SENT_SCHEDULED_PAUSED_isSent_isScheduled_schedule_AsBroadcastStream_source_onListenHandler_onCancelHandler_isSubscriptionPausedonListenHandleronCancelHandler_cancelSubscription_pauseSubscription_resumeSubscription_BroadcastSubscriptionWrapper_StreamIterator_stateData_hasValue_initializeOrDone_EmptyStream_MultiStream_MultiStreamController_nullDataHandler_nullErrorHandler_nullDoneHandler_BroadcastCallbackstream_pipe.dartdart:async/stream_pipe.dart_ForwardingStream_handleData_handleError_handleDone_ForwardingStreamSubscription_WhereStream_testinputEvent_MapStream_transform_ExpandStream_expand_HandleErrorStream_TakeStream_count_StateStreamSubscription_subState_TakeWhileStream_SkipStream_SkipWhileStream_DistinctStream_SENTINEL_equalsab_runUserCodeuserCodeonSuccess_cancelAndError_cancelAndErrorWithReplacement_cancelAndErrorClosure_cancelAndValue_addErrorWithReplacement_Transformationstream_transformers.dartdart:async/stream_transformers.dart_EventSinkWrapper_SinkTransformerStreamSubscription_transformerSinkmapperoutput_StreamSinkTransformer_sinkMapper_BoundSinkStream_HandlerEventSink_StreamHandlerTransformer_StreamBindTransformer_bind_StreamSubscriptionTransformer_BoundSubscriptionStream_SinkMapper_TransformDataHandler_TransformErrorHandler_TransformDoneHandler_SubscriptionTransformertimer.dartdart:async/timer.dartTimertickisActivetimerrun_createTimer_createPeriodicTimerzone.dartdart:async/zone.dart_ZoneFunctionfunctionZoneSpecificationhandleUncaughtErrorselfparentrunUnaryargrunBinaryT1T2arg1arg2registerCallbackregisterUnaryCallbackregisterBinaryCallbackcreateTimercreatePeriodicTimerprintlineforkspecificationzoneValuesfrom_ZoneSpecificationZoneDelegateZoneroot_rootZone_currenterrorZoneinSameErrorZoneotherZoneargumentargument1argument2runGuardedrunUnaryGuardedrunBinaryGuardedbindCallbackbindUnaryCallbackbindBinaryCallbackbindCallbackGuardedbindUnaryCallbackGuardedbindBinaryCallbackGuarded_enter_leave[]key_ZoneDelegate_delegationTarget_Zone_run_runUnary_runBinary_registerCallback_registerUnaryCallback_registerBinaryCallback_errorCallback_scheduleMicrotask_print_fork_handleUncaughtError_delegate_parentDelegate_map_processUncaughtError_CustomZone_delegateCache_RootZone_rootMap_rootDelegate_rootHandleUncaughtError_rootHandleError_rootRun_rootRunUnary_rootRunBinary_rootRegisterCallback_rootRegisterUnaryCallback_rootRegisterBinaryCallback_rootErrorCallback_rootScheduleMicrotask_rootCreateTimer_rootCreatePeriodicTimer_rootPrint_printToZone_rootForkrunZonedbodyzoneSpecification"Use runZonedGuarded instead"Use runZonedGuarded insteadrunZonedGuarded"2.8"2.8stack_runZonedZoneCallbackZoneUnaryCallbackZoneBinaryCallbackHandleUncaughtErrorHandlerRunHandlerRunUnaryHandlerRunBinaryHandlerRegisterCallbackHandlerRegisterUnaryCallbackHandlerRegisterBinaryCallbackHandlerErrorCallbackHandlerScheduleMicrotaskHandlerCreateTimerHandlerCreatePeriodicTimerHandlerPrintHandlerForkHandlerdart.collectionSymbolRandomdart:mathDoubleLinkedQueueEntrycollections.dartdart:collection/collections.dartUnmodifiableListViewhash_map.dartdart:collection/hash_map.dartKVisValidKeyidentityofiterablefromIterableskeysvaluesfromEntriesentries_defaultEquals_defaultHashCode_Equality_Hasherobjecthash_set.dartdart:collection/hash_set.dartHashSetiteratoriterable.dartdart:collection/iterable.dartIterableMixinisNotEmptytoElementwhereTypetoElementsfollowedBypreviousValuegrowableIterableBaseiterableToShortStringleftDelimiter'('(rightDelimiter')')iterableToFullString_isToStringVisitingo_iterablePartsToStringsparts_toStringVisitingiterator.dartdart:collection/iterator.dartHasNextIterator_HAS_NEXT_AND_NEXT_IN_CURRENT_NO_NEXT_NOT_MOVED_YET_iteratorhasNext_movelinked_hash_map.dartdart:collection/linked_hash_map.dartLinkedHashMaplinked_hash_set.dartdart:collection/linked_hash_set.dartLinkedHashSetlinked_list.dartdart:collection/linked_list.dartLinkedList_modificationCount_length_firstaddFirstentryaddAllremove_insertBeforenewEntryupdateFirst_unlink_LinkedListIterator_list_visitedFirstlistLinkedListEntryunlinkinsertAfterinsertBeforelist.dartdart:collection/list.dartListBaselistToStringListMixinreversed_closeGapstartendremoveWhereretainWhere_filterretainMatchingremoveLastsortcompare_compareAnyshufflerandomasMap+sublistgetRangeremoveRangefillRangefillsetRangeskipCountreplaceRangenewContentsindexOfindexWherelastIndexOflastIndexWhereinsertremoveAtinsertAllsetAllmaps.dartdart:collection/maps.dartMapBasemapToStringm_idx_fillMapWithMappedIterable_fillMapWithIterablesMapMixin[]=RKRVcontainsValueputIfAbsentifAbsentupdateupdateAllK2V2addEntriesnewEntriescontainsKeyUnmodifiableMapBase_MapBaseValueIterable_MapBaseValueIterator_keys_UnmodifiableMapMixinMapViewUnmodifiableMapViewqueue.dartdart:collection/queue.dartQueueremoveFirstaddLast_DoubleLinkedQueueEntry_previousLink_nextLink_link_asNonSentinelEntry_appendqueue_prepend_remove_DoubleLinkedQueueElement_queueappendeprependpreviousEntrynextEntry_DoubleLinkedQueueSentinelDoubleLinkedQueue_sentinel_elementCountremoveMatchingfirstEntrylastEntryforEachEntry_DoubleLinkedQueueIterator_nextEntryListQueue_INITIAL_CAPACITY_table_head_tailinitialCapacity_calculateCapacity_filterWhere_isPowerOf2number_nextPowerOf2_checkModificationexpectedModificationCountoffset_grow_writeToList_preGrownewElementCount_ListQueueIterator_end_positionset.dartdart:collection/set.dartSetMixinlookupremoveAllretainAllcontainsAllunionintersectiondifferencenSetBasesetToStringset_SetBase_newSet_newSimilarSet_UnmodifiableSetMixin_throwUnmodifiable_UnmodifiableSetUnmodifiableSetViewsplay_tree.dartdart:collection/splay_tree.dart_SplayTreeNodeNode_left_right_SplayTreeSetNode_SplayTreeMapNode_replaceValue_SplayTree_splayCount_rootnewValue_compare_validKey_last_splay_splayMinnode_splayMax_addNewRootcomp_clear_containsKeySplayTreeMapkey1key2potentialKeyfirstKeylastKeylastKeyBeforefirstKeyAfter_SplayTreeIterator_tree_pathtree_rebuildPath_findLeftMostDescendent_getValue_SplayTreeKeyIterable_SplayTreeValueIterable_SplayTreeMapEntryIterable_SplayTreeKeyIterator_SplayTreeValueIterator_SplayTreeMapEntryIteratorSplayTreeSet_clone_copyNode_dynamicCompare_defaultCompare_Predicatedart.convertdart:asyncdart:typed_dataCastConverterparseHexByteascii.dartdart:convert/ascii.dartAsciiCodec_allowInvalidnameencoderdecoderallowInvalidencodedecodebytes_UnicodeSubsetEncoder_subsetMaskstringstartChunkedConversionAsciiEncoder_asciiMask_UnicodeSubsetEncoderSinkaddSliceisLast_UnicodeSubsetDecoder_convertInvalidAsciiDecoder_ErrorHandlingAsciiDecoderSink_utf8Sink_SimpleAsciiDecoderSinkascii0x7Fbase64.dartdart:convert/base64.dartBase64Codec_encoderBase64EncoderurlSafeencodednormalize_checkPaddingsourceIndexsourceEndfirstPaddingpaddingCount_urlSafeinput_Base64Encoder_base64Alphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/_base64UrlAlphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-__valueShift_countMask_sixBitMask0x3F_alphabet_encodeStatebits_stateBits_stateCountcreateBufferbufferLengthencodeChunkalphabetoutputIndexwriteFinalChunk_BufferCachingBase64EncoderbufferCache_Base64EncoderSink_AsciiBase64EncoderSink_Utf8Base64EncoderSinkBase64Decoder_Base64Decoder_invalid_padding_p_inverseAlphabet_char_percent0x25_char_30x33_char_d0x64_emptyBuffer_encodeCharacterState_encodePaddingStateexpectedPadding_statePadding_hasSeenPaddingdecodeChunkoutIndex_allocateBuffer_trimPaddingChars_Base64DecoderSink_decoderbase64Encodebase64UrlEncodebase64Decodebase64base64Url_paddingChar0x3dbyte_conversion.dartdart:convert/byte_conversion.dartByteConversionSinkwithCallbackaccumulatedchunkByteConversionSinkBase_ByteAdapterSink_ByteCallbackSink_INITIAL_BUFFER_SIZE1024_callback_buffer_bufferIndex_roundToPowerOf2vchunked_conversion.dartdart:convert/chunked_conversion.dartChunkedConversionSink_SimpleCallbackSink_accumulated_ConverterStreamEventSink_eventSink_chunkedSinkconvertercodec.dartdart:convert/codec.dartCodecinvertedfuse_FusedCodecM_second_InvertedCodec_codeccodecconverter.dartdart:convert/converter.dartConverter_FusedConverterencoding.dartdart:convert/encoding.dartEncoding_nameToEncodingdecodeStreambyteStreamgetByNamehtml_escape.dartdart:convert/html_escape.dartHtmlEscapeMode_nameescapeLtGtescapeQuotescapeAposescapeSlashunknown'unknown'attribute'attribute'sqAttribute'element'"custom"customHtmlEscapemodetext_convert_HtmlEscapeSink_escapehtmlEscapejson.dartdart:convert/json.dartJsonUnsupportedObjectErrorunsupportedObjectcausepartialResultJsonCyclicErrorJsonCodec_reviver_toEncodablerevivertoEncodablewithReviverJsonEncoderindentwithIndentJsonUtf8Encoder_defaultBufferSize256_indent_bufferSizebufferSize_utf8Encode_JsonEncoderSink_isDone_JsonUtf8EncoderSink_addChunkJsonDecoder_JsonStringifierbackspace0x08tab0x09newline0x0acarriageReturn0x0dformFeed0x0cquote0x22char_00x30backslash0x5cchar_b0x62char_dchar_f0x66char_n0x6echar_r0x72char_t0x74char_u0x75surrogateMin0xd800surrogateMask0xfc00surrogateLeadsurrogateTrail0xdc00_seen_partialResultwriteStringcharacterswriteStringSlicewriteCharCodecharCodewriteNumberhexDigitwriteStringContents_checkCycle_removeSeenwriteObjectwriteJsonValuewriteListwriteMap_JsonPrettyPrintMixin_indentLevelwriteIndentationindentLevel_JsonStringStringifierstringifyprintOn_JsonStringStringifierPretty_JsonUtf8StringifieraddChunkbufferflushwriteAsciiStringwriteMultiByteCharCodewriteFourByteCharCodewriteBytebyte_JsonUtf8StringifierPrettyjsonEncodenonEncodablejsonDecode_parseJson_defaultToEncodablejsonlatin1.dartdart:convert/latin1.dartLatin1CodecLatin1Encoder_latin1MaskLatin1Decoder_Latin1DecoderSink_addSliceToSink_checkValidLatin1_reportInvalidLatin1_Latin1AllowInvalidDecoderSinklatin10xFFline_splitter.dartdart:convert/line_splitter.dartLineSplittersplitlines_LineSplitterSink_carry_skipLeadingLF_addLines_LineSplitterEventSinkeventSink_LineSplitIterable_start_LineSplitIterator_lineStart_lineEnd_LF10_CR13string_conversion.dartdart:convert/string_conversion.dartStringConversionSinkfromStringSinkasUtf8SinkallowMalformedasStringSinkClosableStringSinkonClose_ClosableStringSinkwritewritelnwriteAllobjects_StringConversionSinkAsStringSinkAdapter_MIN_STRING_SIZE_flushStringConversionSinkBaseStringConversionSinkMixinstr_StringSinkConversionSinkTStringSink_stringSink_StringCallbackSink_StringAdapterSink_Utf8StringSinkAdaptercodeUnitsstartIndexendIndex_Utf8ConversionSinkstringBufferutf.dartdart:convert/utf.dartUtf8Codec_allowMalformedUtf8Encoder_Utf8Encoder_DEFAULT_BYTE_BUFFER_SIZEwithBufferSize_createBuffersize_writeReplacementCharacter_writeSurrogateleadingSurrogatenextCodeUnit_fillBuffer_Utf8EncoderSinkUtf8Decoder_convertIntercepted_Utf8Decoder_charOrIndextypeMask0x1FshiftedByteMask0xF0FEtypeTable"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEEIA0x00BB0x10AB0x20X1X20x3AX30x44TO0x4E0x58QOQR0x6CB10x76B20x80E10x41E20x43E30x45E40x47E50x49E60x4BE70x4D_IA'\u0000'_BB'\u0010'_AB'\u0020' _X1'\u0030'_X2'\u003A':_X3'\u0044'D_TO'\u004E'N_TS'\u0058'X_QO'\u0062'_QR'\u006C'l_B1'\u0076'_B2'\u0080'€_E1'\u0041'A_E2'\u0043'C_E3'\u0045'_E4'\u0047'G_E5'\u0049'I_E6'\u004B'_E7'\u004D'transitionTable" "" "initialacceptbeforeBomafterBomerrorMissingExtensionerrorUnexpectedExtensionerrorInvaliderrorOverlongerrorOutOfRangeerrorSurrogateerrorUnfinishedisErrorStateerrorDescriptionconvertSinglemaybeEndconvertChunkedconvertGeneral_convertRecursivedecodeGeneral_makeUint8List_isLeadSurrogatecodeUnit_isTailSurrogate_combineSurrogatePairleadtailunicodeReplacementCharacterRune0xFFFDunicodeBomCharacterRune0xFEFFutf8_ONE_BYTE_LIMIT0x7f_TWO_BYTE_LIMIT0x7ff_THREE_BYTE_LIMIT0xffff_FOUR_BYTE_LIMIT0x10ffff_SURROGATE_TAG_MASK0xFC00_SURROGATE_VALUE_MASK0x3FF_LEAD_SURROGATE_MIN0xD800_TAIL_SURROGATE_MIN0xDC00dart.coreinternaldart:convertUint8Listannotations.dartdart:core/annotations.dartexpires'Use `message` instead. Will be removed in Dart 3.0.0'Use `message` instead. Will be removed in Dart 3.0.0_OverrideProvisionaldeprecatedoptions"next release"next releaseoverrideprovisionalproxybigint.dartdart:core/bigint.dartBigIntzeroonetwobitLengthsignisEvenisOddisNegativeisValidIntparseradixtryParseabsunary--*/~/%remainder<>&|^~<<=>>=compareTopowexponentmodPowmodulusmodInversegcdtoUnsignedwidthtoSignedtoInttoDoubletoRadixStringbool.dartdart:core/bool.dartboolfromEnvironmentdefaultValuehasEnvironmentcomparable.dartdart:core/comparable.dartComparableComparatordate_time.dartdart:core/date_time.dartDateTimemondaytuesdaywednesdaythursdayfriday5saturday6sunday7daysPerWeekjanuaryfebruarymarchaprilmayjunejulyaugustseptember9octobernovember11december12monthsPerYear_valueisUtc_maxMillisecondsSinceEpoch8640000000000000_parseFormatmillisecondsSinceEpochmicrosecondsSinceEpochtimeZoneNametimeZoneOffsetyearmonthdayhourminutesecondmillisecondmicrosecondweekdayutcnowfromMillisecondsSinceEpochfromMicrosecondsSinceEpoch_withValue_nowformattedStringisBeforeisAfterisAtSameMomentAstoLocaltoUtc_fourDigits_sixDigits_threeDigits_twoDigitstoIso8601Stringsubtract_brokenDownDateToValueDateTimeCopyWith"2.19"2.19copyWithdouble.dartdart:core/double.dartdoublenaninfinitynegativeInfinityminPositivemaxFiniteroundfloorceiltruncateroundToDoublefloorToDoubleceilToDoubletruncateToDoubleduration.dartdart:core/duration.dartDurationmicrosecondsPerMillisecond1000millisecondsPerSecondsecondsPerMinute60minutesPerHourhoursPerDay24microsecondsPerSecondmicrosecondsPerMinutemicrosecondsPerHourmicrosecondsPerDaymillisecondsPerMinutemillisecondsPerHourmillisecondsPerDaysecondsPerHoursecondsPerDayminutesPerDayseconds_durationinDaysinHoursinMinutesinSecondsinMillisecondsinMicrosecondsdayshoursminutesmillisecondsmicroseconds_microsecondsfactorquotientenum.dartdart:core/enum.dartEnumcompareByIndexvalue1value2compareByName_Enum_enumToStringEnumNameEnumByNamebyNameasNameMaperrors.dartdart:core/errors.dartError'flutter:keep-to-string-in-subtypes'flutter:keep-to-string-in-subtypessafeToString_stringToSafeString_objectToStringthrowWithStackTrace"2.16"2.16_throwAssertionErrorTypeErrorCastError"Use TypeError instead"Use TypeError insteadNullThrownErrorArgumentErrorinvalidValue_errorName_errorExplanationnotNullcheckNotNullRangeErrorrangeminValuemaxValueindexablecheckValueInIntervalcheckValidIndexcheckValidRangestartNameendNamecheckNotNegativeIndexError"Use IndexError.withLength instead."Use IndexError.withLength instead.withLengthcheckFallThroughError"No longer relevant in Dart 2.0"No longer relevant in Dart 2.0_createurlAbstractClassInstantiationError_classNameclassNameNoSuchMethodErrorwithInvocationreceiverinvocation"Use NoSuchMethod.withInvocation instead"Use NoSuchMethod.withInvocation insteadmemberNamepositionalArgumentsnamedArgumentsUnsupportedErrorUnimplementedErrorStateErrorConcurrentModificationErrormodifiedObjectOutOfMemoryErrorStackOverflowErrorCyclicInitializationError"Use Error instead"Use Error insteadvariableNameexceptions.dartdart:core/exceptions.dartException_ExceptionFormatExceptionIntegerDivisionByZeroException"Use UnsupportedError instead"Use UnsupportedError insteadfunction.dartdart:core/function.dartFunctionapplyidentical.dartdart:core/identical.dartidenticalidentityHashCodeint.dartdart:core/int.dartint>>>invocation.dartdart:core/invocation.dartInvocationtypeArgumentsisMethodisGetterisSetterisAccessormethodgenericMethodgettersetter_Invocation_positional_namedtypespositionalnamed_ensureNonNullTypesdart:core/iterable.dartIterablegenerategenerator_GeneratorIterable_generatorBidirectionalIterator"Use the implementing class directly"Use the implementing class directlymovePreviousdart:core/iterator.dartIteratordart:core/list.dartListnewLength"Use a list literal, [], or the List.filled constructor instead"Use a list literal, [], or the List.filled constructor insteadfilledunmodifiablecopyRangeatwriteIterablefillValuereplacementsmap.dartdart:core/map.dartMapMapEntrynull.dartdart:core/null.dartNull_uninstantiablenum.dartdart:core/num.dartnumisNaNisInfiniteisFiniteclamplowerLimitupperLimittoStringAsFixedfractionDigitstoStringAsExponentialtoStringAsPrecisionprecisionobject.dartdart:core/object.dartObjectruntimeTypenoSuchMethodhashobject1object2object3sentinelValueobject4object5object6object7object8object9object10object11object12object13object14object15object16object17object18object19object20hashAllhashAllUnordered_hashSeedpattern.dartdart:core/pattern.dartPatternallMatchesmatchAsPrefixMatchgroupCountpatterngroupgroupsgroupIndicesprint.dartdart:core/print.dartrecord.dartdart:core/record.dartRecordregexp.dartdart:core/regexp.dartRegExpisMultiLineisCaseSensitiveisUnicode"2.4"2.4isDotAllmultiLinecaseSensitiveunicodedotAllescapefirstMatchhasMatchstringMatchRegExpMatch"2.3"2.3groupNamesnamedGroupdart:core/set.dartSetnewSetsink.dartdart:core/sink.dartSinkstacktrace.dartdart:core/stacktrace.dartStackTrace_StringStackTracefromStringstackTraceString_stackTracestopwatch.dartdart:core/stopwatch.dartStopwatch_frequency_stopfrequencyelapsedTickselapsedelapsedMicrosecondselapsedMillisecondsisRunningstopreset_initTickerstring.dartdart:core/string.dartStringrunesfromCharCodescharCodesfromCharCodecodeUnitAtendsWithstartsWithsubstringtrimtrimLefttrimRighttimespadLeftpadding' 'padRightreplaceFirsttoreplaceFirstMappedreplacematchreplaceAllreplaceAllMappedreplacementsplitMapJoinonMatchonNonMatchtoLowerCasetoUpperCaseRunesRuneIterator_nextPosition_currentCodePointrawIndexcurrentSizecurrentAsString_checkSplitSurrogatecode_isTrailSurrogatestring_buffer.dartdart:core/string_buffer.dartStringBuffercontentobjstring_sink.dartdart:core/string_sink.dartStringSinksymbol.dartdart:core/symbol.dartunaryMinus"unary-"type.dartdart:core/type.dartTypeuri.dartdart:core/uri.dartUribaseschemeauthorityuserInfohostportpathqueryfragmentpathSegmentsqueryParametersqueryParametersAllisAbsolutehasSchemehasAuthorityhasPorthasQueryhasFragmenthasEmptyPathhasAbsolutePathoriginhttpunencodedPathhttpsfilewindowsdirectorydataFromStringmimeTypeencodingparametersdataFromBytes"application/octet-stream"application/octet-streampercentEncodedisSchemetoFilePathremoveFragmentresolvereferenceresolveUrinormalizePathencodeComponentcomponentencodeQueryComponentdecodeComponentencodedComponentdecodeQueryComponentencodeFulldecodeFullsplitQueryStringparseIPv4Address_parseIPv4AddressparseIPv6Address_Uri_userInfo_host_port_query_fragment_text_unreservedTable0x00000x60000x03ff0xfffe0x87ff0x47ff_unreserved2396Table0x6782_encodeFullTable0xffda0xafff_schemeTable0x68000x07ff_genDelimitersTable0x80080x84000x00010x2800_userinfoTable0x7fd20x2fff_regNameTable0x7ff20x2bff_pathCharTable_pathCharOrSlashTable0xffd2_queryCharTable_zoneIDTable_isWindowsnotSimpleschemeEndhostStartportStartpathStartqueryStartfragmentStart''_defaultPort_fail_makeHttpUri_checkNonWindowsPathReservedCharacterssegmentsargumentError_checkWindowsPathReservedCharactersfirstSegment_checkWindowsDriveLetter_makeFileUrislashTerminated_makeWindowsFileUrl_computePathSegmentspathToSplit_computeQueryParametersAll_makePort_makeHoststrictIPv6_checkZoneID_isZoneIDCharchar_normalizeZoneIDprefix_isRegNameChar_normalizeRegName_makeScheme_canonicalizeScheme_makeUserInfo_makePath_normalizePath_makeQuery_makeFragment_normalizeEscapelowerCase_escapeChar_normalizeOrSubstringcharTableescapeDelimitersreplaceBackslash_normalize_isSchemeCharacterch_isGeneralDelimiter_mergePaths_mayContainDotSegments_removeDotSegments_normalizeRelativePathallowScheme_escapeScheme_packageNameEnd_toFilePath_toWindowsFilePath_writeAuthorityss_initializeText_createList_splitQueryStringAll_uriEncodecanonicalTablespaceToPlus_hexCharPairToBytepos_uriDecodeplusToSpace_isAlphabeticCharacter_isUnreservedCharUriData_noScheme_separatorIndices_uriCache_base64_tokenCharTable0x6cd20xc7ff0x7fff_uricTablecharsetisBase64contentTextfromBytesfromUri_writeUricharsetNameindices_validateMimeType_computeUriisMimeType"2.17"2.17_findCharsetIndexisCharsetisEncodingcontentAsBytescontentAsString_parsesourceUri_uriEncodeBytes_SimpleUri_uri_schemeEnd_hostStart_portStart_pathStart_queryStart_fragmentStart_schemeCache_hashCodeCachehasUserInfo_isFile_isHttp_isHttps_isPackage_isScheme_computeScheme_isPort_simpleMergeref_toNonSimple_DataUri_data_createTables_scan_startsWithData_stringOrNullLength_toUnmodifiableStringList_skipPackageNameChars_caseInsensitiveStartsWith_caseInsensitiveCompareStart_caseInsensitiveEqualsstring1string2_SPACE_PERCENT_AMPERSAND0x26_PLUS0x2B_DOT0x2E_SLASH0x2F_COLON_EQUALS_UPPER_CASE_A_UPPER_CASE_Z0x5A_LEFT_BRACKET0x5B_BACKSLASH0x5C_RIGHT_BRACKET0x5D_LOWER_CASE_A0x61_LOWER_CASE_F_LOWER_CASE_Z0x7A_hexDigits"0123456789ABCDEF"0123456789ABCDEF_schemeEndIndex_hostStartIndex_portStartIndex_pathStartIndex_queryStartIndex_fragmentStartIndex_notSimpleIndex_uriStart00_nonSimpleEndStates14_schemeStart20_scannerTablesweak.dartdart:core/weak.dartExpandoWeakReferenceFinalizerattachfinalizationTokendetachdart.developerIsolateRawReceivePortSendPortdart:isolatedebuggerwheninspectlogtimesequenceNumberlevelreachabilityBarrierextension.dartdart:developer/extension.dartServiceExtensionResponseerrorCodeerrorDetailinvalidParams32602extensionError32000extensionErrorMaxextensionErrorMin32016_errorCodeMessage_validateErrorCodeisError_toStringregisterExtensionhandlerpostEventeventKindeventData_postEvent_lookupExtension_registerExtensionServiceExtensionHandlerextensionStreamHasListenerprofiler.dartdart:developer/profiler.dartUserTagmaxUserTagsMAX_USER_TAGS"Use 'maxUserTags' instead. Will be removed in Dart 3.0."Use 'maxUserTags' instead. Will be removed in Dart 3.0.labeldefaultTagmakeCurrentMetric'Metrics are deprecated and will be removed in Dart 3.0'Metrics are deprecated and will be removed in Dart 3.0description_toJSONGaugeminmaxCounterMetrics_metricsregistermetricderegister_printMetric"dart.vm.product"dart.vm.productid_printMetricsgetCurrentTagservice.dartdart:developer/service.dartServiceProtocolInfomajorVersionminorVersionserverUriserverWebSocketUriServicegetInfocontrolWebServerenablesilenceOutputgetIsolateIDisolate_getServerInfosendPort_webServerControl_getServiceMajorVersion_getServiceMinorVersion_getIsolateIDFromSendPorttimeline.dartdart:developer/timeline.dartFlow_typebeginstepTimeline_stackstartSyncargumentsflowfinishSyncinstantSynctimeSyncTimelineTask_kFilterKey'filterKey'filterKey_parent_filterKey_taskIdwithTaskIdtaskIdinstantfinishpass_AsyncBlock_finish_SyncBlock_jsonArguments_startSync_argumentsAsJson_isDartStreamEnabled"asm-intrinsic"asm-intrinsic_getNextTaskId_getTraceClock_reportTaskEventtypeargumentsAsJsonTimelineSyncFunctionTimelineAsyncFunction_hasTimeline"dart.developer.timeline"dart.developer.timeline_begin_instant_asyncBegin_asyncInstant_asyncEnd_flowBegin_flowStep_flowEnddart.ffi'2.6'2.6PointeraddressfromAddressptrfromFunctionDartRepresentationOf'T'exceptionalReturnUArray'2.13'2.13dimension1dimension2dimension3dimension4dimension5dimensions_ArraySizeDart_CObject'2.8'NativeApi'2.9'postCObjectnewNativePortcloseNativePortinitializeApiDLDataFfiNative'2.14'nativeNameisLeafNativeFunctionPointerNFasFunctionDF'NF'Int8PointerasTypedListInt16PointerInt32PointerInt64PointerUint8PointerUint16PointerUint32PointerUint64PointerFloatPointerDoublePointerBoolPointer'2.15'Int8ArrayInt16ArrayInt32ArrayInt64ArrayUint8ArrayUint16ArrayUint32ArrayUint64ArrayFloatArrayDoubleArrayBoolArrayPointerPointerStructPointer'2.12'UnionPointerAbiSpecificIntegerPointer'2.16'PointerArrayStructArrayUnionArrayArrayArrayAbiSpecificIntegerArrayNativePort'2.7'2.7nativePortsizeOf_get_ffi_native_resolver'vm:external-name'vm:external-name'Ffi_GetFfiNativeResolver'Ffi_GetFfiNativeResolverDart_NativeMessageHandlernullptr_ffi_resolverabi.dartdart:ffi/abi.dartAbiandroidArm_androidArmandroidArm64_androidArm64androidIA32_androidIA32androidX64_androidX64fuchsiaArm64_fuchsiaArm64fuchsiaX64_fuchsiaX64iosArm_iosArmiosArm64_iosArm64iosX64_iosX64linuxArm_linuxArmlinuxArm64_linuxArm64linuxIA32_linuxIA32linuxX64_linuxX64linuxRiscv32_linuxRiscv32linuxRiscv64_linuxRiscv64macosArm64_macosArm64macosX64_macosX64windowsArm64_windowsArm64windowsIA32_windowsIA32windowsX64_windowsX64_os_architecture_Architecturearm_OSandroidarm64ia32x64fuchsiaioslinuxriscv32riscv64macosabi_specific.dartdart:ffi/abi_specific.dartAbiSpecificIntegerAbiSpecificIntegerMappingmappingnative_type.dartdart:ffi/native_type.dartNativeTypeOpaque_NativeInteger_NativeDoubleInt8Int16Int32Int64Uint8Uint16Uint32Uint64FloatDoubleBoolVoidunsizedHandleNativeFunctionnative_finalizer.dartdart:ffi/native_finalizer.dartFinalizable'2.17'NativeFinalizertokenexternalSizeNativeFinalizerFunctionallocation.dartdart:ffi/allocation.dartAllocatorallocatebyteCountalignmentfreepointerAllocatorAllocdart:ffi/annotations.dartnativeTypeUnsizedc_type.dartdart:ffi/c_type.dartCharSignedCharUnsignedCharShortUnsignedShortIntUnsignedIntLongUnsignedLongLongLongUnsignedLongLongIntPtrUintPtrSizeWChardynamic_library.dartdart:ffi/dynamic_library.dartDynamicLibraryhandleprocessexecutableopensymbolNameprovidesSymbolDynamicLibraryExtensionlookupFunctionFstruct.dartdart:ffi/struct.dart_Compound_typedDataBase_fromTypedDataBaseStructtypedDataBasePackedmemberAlignmentunion.dartdart:ffi/union.dartUniondart.dom.htmldart:html_commondart:indexed_dbdart:_native_typed_datasvgdart:svgMatrixSvgSvgElementweb_audiodart:web_audioAudioBufferAudioTrackAudioTrackListgldart:web_glRenderingContextRenderingContext2JSJS_INTERCEPTOR_CONSTANTdart:_foreign_helperjs_utildart:js_utilconvertDartClosureToJSCreatesJavaScriptIndexingBehaviorJSNameNativeReturnsfindDispatchTagForInterceptorClasssetNativeSubclassDispatchRecordmakeLeafDispatchRecordregisterGlobalObjectapplyExtensiondart:_js_helperJavaScriptObjectJavaScriptFunctionJSExtendableArrayJSUInt31findInterceptorConstructorForTypefindConstructorForNativeSubclassTypegetNativeInterceptorsetDispatchPropertydart:_interceptorsHttpStatuspromiseToFutureRectanglePointHtmlElement"HTMLElement"HTMLElementnoncecreatedAbortPaymentEvent"AbortPaymentEvent"eventInitDict_create_1respondWithpaymentAbortedResponseAbsoluteOrientationSensor"AbsoluteOrientationSensor"sensorOptions_create_2AbstractWorkererrorEventEventStreamProviderEvent'error'Accelerometer"Accelerometer"yzAccessibleNode"AccessibleNode"accessibleClickEvent'accessibleclick'accessibleclickaccessibleContextMenuEvent'accessiblecontextmenu'accessiblecontextmenuaccessibleDecrementEvent'accessibledecrement'accessibledecrementaccessibleFocusEvent'accessiblefocus'accessiblefocusaccessibleIncrementEvent'accessibleincrement'accessibleincrementaccessibleScrollIntoViewEvent'accessiblescrollintoview'accessiblescrollintoviewactiveDescendantatomicautocompletebusycheckedcolCountcolIndexcolSpancontrolsdescribedBydetailsdisablederrorMessageexpandedflowTohasPopUphiddeninvalidkeyShortcutslabeledBylivemodalmultilinemultiselectableorientationownsplaceholderposInSetpressedreadOnlyrelevantrequiredroleroleDescriptionrowCountrowIndexrowSpanselectedsetSizevalueMaxvalueMinvalueNowvalueTextonAccessibleClickonAccessibleContextMenuonAccessibleDecrementonAccessibleFocusonAccessibleIncrementonAccessibleScrollIntoViewappendChildchildAccessibleNodeList"AccessibleNodeList"nodes__setter__beforeitemAmbientLightSensor"AmbientLightSensor"illuminanceAnchorElement"HTMLAnchorElement"HTMLAnchorElementdownloadhreflangreferrerPolicyrelhostnamehrefpasswordpathnameprotocolsearchusernameAnimation"Animation"cancelEvent'cancel'finishEvent'finish'supportedcurrentTimeeffectfinishedplayStateplaybackRatereadystartTimetimelineonFinish_create_3playreverseAnimationEffectReadOnly"AnimationEffectReadOnly"timinggetComputedTiming_getComputedTiming_1'getComputedTiming'AnimationEffectTiming"AnimationEffectTiming"delaydirection'num|String|Null'num|String|NulleasingendDelayiterationStartiterationsAnimationEffectTimingReadOnly"AnimationEffectTimingReadOnly"AnimationEvent"AnimationEvent"animationNameelapsedTimeAnimationPlaybackEvent"AnimationPlaybackEvent"timelineTimeAnimationTimeline"AnimationTimeline"AnimationWorkletGlobalScope"AnimationWorkletGlobalScope"registerAnimatoranimatorConstructorApplicationCacheSupportedBrowserCHROMEFIREFOXIE'10'OPERASAFARIUnstable"ApplicationCache,DOMApplicationCache,OfflineResourceList"ApplicationCache,DOMApplicationCache,OfflineResourceListcachedEvent'cached'cachedcheckingEvent'checking'checkingdownloadingEvent'downloading'downloadingnoUpdateEvent'noupdate'noupdateobsoleteEvent'obsolete'obsoleteprogressEventProgressEvent'progress'progressupdateReadyEvent'updateready'updatereadyCHECKINGDOWNLOADINGIDLEOBSOLETEUNCACHEDUPDATEREADYstatusonCachedonCheckingonDownloadingonNoUpdateonObsoleteonProgressonUpdateReadyabortswapCacheApplicationCacheErrorEvent"ApplicationCacheErrorEvent"reasonAreaElement"HTMLAreaElement"HTMLAreaElementaltcoordsshapeAudioElement"HTMLAudioElement"HTMLAudioElementsrcAuthenticatorAssertionResponse"AuthenticatorAssertionResponse"authenticatorDatasignatureAuthenticatorAttestationResponse"AuthenticatorAttestationResponse"attestationObjectAuthenticatorResponse"AuthenticatorResponse"clientDataJson'clientDataJSON'clientDataJSONBRElement"HTMLBRElement"HTMLBRElementBackgroundFetchClickEvent"BackgroundFetchClickEvent"initBackgroundFetchEvent"BackgroundFetchEvent"BackgroundFetchFailEvent"BackgroundFetchFailEvent"fetchesBackgroundFetchFetch"BackgroundFetchFetch"requestBackgroundFetchManager"BackgroundFetchManager"fetchrequestsgetgetIdsBackgroundFetchRegistration"BackgroundFetchRegistration"downloadTotaldownloadedtitletotalDownloadSizeuploadTotaluploadedBackgroundFetchSettledFetch"BackgroundFetchSettledFetch"responseBackgroundFetchedEvent"BackgroundFetchedEvent"updateUIBarProp"BarProp"visibleBarcodeDetector"BarcodeDetector"detectimageBaseElement"HTMLBaseElement"HTMLBaseElementBatteryManager"BatteryManager"chargingchargingTimedischargingTimeBeforeInstallPromptEvent"BeforeInstallPromptEvent"platformsuserChoicepromptBeforeUnloadEvent"BeforeUnloadEvent"returnValueBlob"Blob"blobPartsendingsslicecontentTypebag_create_bag_bag_setBlobEvent"BlobEvent"timecodeBluetoothRemoteGattDescriptor"BluetoothRemoteGATTDescriptor"BluetoothRemoteGATTDescriptorcharacteristicuuidreadValuewriteValueBody"Body"bodyUsedarrayBufferblobformDataBodyElement"HTMLBodyElement"HTMLBodyElementblurEvent'blur'blurfocusEvent'focus'focushashChangeEvent'hashchange'hashchangeloadEvent'load'messageEventMessageEvent'message'offlineEvent'offline'offlineonlineEvent'online'onlinepopStateEventPopStateEvent'popstate'popstateresizeEvent'resize'resizescrollEvent'scroll'scrollstorageEventStorageEvent'storage'storageunloadEvent'unload'unloadonBluronFocusonHashChangeonLoadonMessageonOfflineonOnlineonPopStateonResizeonScrollonStorageonUnloadBroadcastChannel"BroadcastChannel"postMessageBudgetState"BudgetState"budgetAtButtonElement"HTMLButtonElement"HTMLButtonElementautofocusformformActionformEnctypeformMethodformNoValidateformTargetlabels'NodeList'NodeListvalidationMessagevaliditywillValidatecheckValidityreportValiditysetCustomValidityCDataSection"CDATASection"CDATASectionCacheStorage"CacheStorage"deletecacheNamehasCanMakePaymentEvent"CanMakePaymentEvent"methodDatamodifierspaymentRequestOrigintopLevelOrigincanMakePaymentResponseCanvasCaptureMediaStreamTrack"CanvasCaptureMediaStreamTrack"canvasrequestFrameCanvasElement"HTMLCanvasElement"HTMLCanvasElementwebGlContextLostEventContextEvent'webglcontextlost'webglcontextlostwebGlContextRestoredEvent'webglcontextrestored'webglcontextrestoredheightonWebGlContextLostonWebGlContextRestoredcontext2DcaptureStreamframeRategetContext'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null'CanvasRenderingContext2D|RenderingContext|RenderingContext2|NullcontextIdattributes_getContext_1'getContext'_getContext_2_toDataUrl'toDataURL'toDataURLarguments_OR_qualitytransferControlToOffscreengetContext3dalphadepthstencilantialiaspremultipliedAlphapreserveDrawingBuffertoDataUrl'image/png'image/pngquality_toBlob'toBlob'toBlobCanvasGradient"CanvasGradient"addColorStopcolorCanvasPattern"CanvasPattern"setTransformCanvasRenderingContextCanvasRenderingContext2D"CanvasRenderingContext2D"currentTransformfillStyle'String|CanvasGradient|CanvasPattern'String|CanvasGradient|CanvasPatternfilterfontglobalAlphaglobalCompositeOperationimageSmoothingEnabledimageSmoothingQualitylineCaplineJoinlineWidthmiterLimitshadowBlurshadowColorshadowOffsetXshadowOffsetYstrokeStyletextAligntextBaselinelineDashOffset'11'backingStorePixelRatioaddHitRegion_addHitRegion_1'addHitRegion'_addHitRegion_2beginPathclearHitRegionsclearRectclippath_OR_windingwindingcreateImageData'ImageData|=Object'ImageData|=Objectdata_OR_imagedata_OR_swsh_OR_swimageDataColorSettings_OR_shimageDataColorSettings_createImageData_1'createImageData'imagedata_createImageData_2swsh_createImageData_3_createImageData_4_createImageData_5createLinearGradientx0y0x1y1createPatternrepetitionTypecreateRadialGradientr0r1drawFocusIfNeededelement_OR_pathfillRectgetContextAttributes_getContextAttributes_1'getContextAttributes'getImageDatasxsy_getImageData_1'getImageData'_getLineDash'getLineDash'getLineDashisContextLostisPointInPathpath_OR_xx_OR_ywinding_OR_yisPointInStrokemeasureTextputImageDatadxdydirtyXdirtyYdirtyWidthdirtyHeight_putImageData_1'putImageData'_putImageData_2removeHitRegionresetTransformrestorerotateanglesavescalescrollPathIntoViewcdstrokestrokeRectstrokeTextmaxWidthtranslate_arc'arc'arcradiusstartAngleendAngleanticlockwisearcTox2y2bezierCurveTocp1xcp1ycp2xcp2yclosePathellipseradiusXradiusYrotationlineTomoveToquadraticCurveTocpxcpyrectcreateImageDataFromImageDatasetFillColorRgbrgsetFillColorHslhsetStrokeColorRgbsetStrokeColorHslcreatePatternFromImagedrawImageToRectdestRectsourceRectdrawImage'drawImage'destXdestYdrawImageScaleddestWidthdestHeightdrawImageScaledFromSourcesourceXsourceYsourceWidthsourceHeightsetLineDashdashfillTextCharacterData"CharacterData"nextElementSiblingpreviousElementSiblingappendDatadeleteDatainsertDatareplaceDatasubstringDataafterChildNodeClient"Client"frameTypetransferClients"Clients"claimmatchAllopenWindowClipboardEvent"ClipboardEvent"clipboardDataCloseEvent"CloseEvent"wasCleanComment"Comment"CompositionEvent"CompositionEvent"canBubblecancelableviewlocale_initCompositionEvent'initCompositionEvent'initCompositionEventbubblesContentElement'26'26"HTMLContentElement"HTMLContentElementselectgetDistributedNodesCookieStore"CookieStore"getAllCoordinates"Coordinates"accuracyaltitudealtitudeAccuracyheadinglatitudelongitudespeedCredential"Credential"CredentialUserData"CredentialUserData"iconUrl'iconURL'iconURLCredentialsContainer"CredentialsContainer"createpreventSilentAccessrequireUserMediationstorecredentialCrypto"Crypto"subtlegetRandomValuesarray_getRandomValues'getRandomValues''TypedData'TypedData'TypedData|Null'TypedData|NullCryptoKey"CryptoKey"algorithm'Null'extractableusagesCss"CSS"CSSpaintWorkletHzcmdegdpcmdpidppxemidentexfrgradinch'in'inkHzmmmspcpercentptpxradregisterPropertydescriptor_registerProperty_1'registerProperty'remsupportspropertysupportsCondition'supports'conditionTextturnvhvmaxvminvwCssCharsetRule"CSSCharsetRule"CSSCharsetRuleCssConditionRule"CSSConditionRule"CSSConditionRuleCssFontFaceRule"CSSFontFaceRule"CSSFontFaceRulestyleCssGroupingRule"CSSGroupingRule"CSSGroupingRulecssRules'_CssRuleList'_CssRuleListdeleteRuleinsertRuleruleCssImageValue"CSSImageValue"CSSImageValueintrinsicHeightintrinsicRatiointrinsicWidthCssImportRule"CSSImportRule"CSSImportRulemediastyleSheetCssKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRulekeyTextCssKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule__getter__appendRulefindRuleCssKeywordValue"CSSKeywordValue"CSSKeywordValuekeywordCssMatrixComponent"CSSMatrixComponent"CSSMatrixComponentmatrixCssMediaRule"CSSMediaRule"CSSMediaRuleCssNamespaceRule"CSSNamespaceRule"CSSNamespaceRulenamespaceUri'namespaceURI'namespaceURICssNumericValue"CSSNumericValue"CSSNumericValuedivmulcssTextunitCssPageRule"CSSPageRule"CSSPageRuleselectorTextCssPerspective"CSSPerspective"CSSPerspectiveCssPositionValue"CSSPositionValue"CSSPositionValueCssResourceValue"CSSResourceValue"CSSResourceValueCssRotation"CSSRotation"CSSRotationangleValue_OR_xCssRule"CSSRule"CSSRuleCHARSET_RULEFONT_FACE_RULEIMPORT_RULEKEYFRAMES_RULEKEYFRAME_RULEMEDIA_RULENAMESPACE_RULEPAGE_RULESTYLE_RULESUPPORTS_RULEVIEWPORT_RULE15parentRuleparentStyleSheetCssScale"CSSScale"CSSScaleCssSkew"CSSSkew"CSSSkewaxayCssStyleDeclaration"CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties"CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties_propertyCachesupportsTransitionscssFloatbackground_background'String''background'backgroundAttachment_backgroundAttachment'backgroundAttachment'backgroundColor_backgroundColor'backgroundColor'backgroundImage_backgroundImage'backgroundImage'backgroundPosition_backgroundPosition'backgroundPosition'backgroundRepeat_backgroundRepeat'backgroundRepeat'border_border'border'borderBottom_borderBottom'borderBottom'borderBottomColor_borderBottomColor'borderBottomColor'borderBottomStyle_borderBottomStyle'borderBottomStyle'borderBottomWidth_borderBottomWidth'borderBottomWidth'borderCollapse_borderCollapse'borderCollapse'borderColor_borderColor'borderColor'borderLeft_borderLeft'borderLeft'borderLeftColor_borderLeftColor'borderLeftColor'borderLeftStyle_borderLeftStyle'borderLeftStyle'borderLeftWidth_borderLeftWidth'borderLeftWidth'borderRight_borderRight'borderRight'borderRightColor_borderRightColor'borderRightColor'borderRightStyle_borderRightStyle'borderRightStyle'borderRightWidth_borderRightWidth'borderRightWidth'borderSpacing_borderSpacing'borderSpacing'borderStyle_borderStyle'borderStyle'borderTop_borderTop'borderTop'borderTopColor_borderTopColor'borderTopColor'borderTopStyle_borderTopStyle'borderTopStyle'borderTopWidth_borderTopWidth'borderTopWidth'borderWidth_borderWidth'borderWidth'bottom_bottom'bottom'captionSide_captionSide'captionSide''clear'_clip'clip'_color'color'_content'content'cursor_cursor'cursor'_direction'direction'display_display'display'emptyCells_emptyCells'emptyCells'_font'font'fontFamily_fontFamily'fontFamily'fontSize_fontSize'fontSize'fontStyle_fontStyle'fontStyle'fontVariant_fontVariant'fontVariant'fontWeight_fontWeight'fontWeight'_height'height'left'left'letterSpacing_letterSpacing'letterSpacing'lineHeight_lineHeight'lineHeight'listStyle_listStyle'listStyle'listStyleImage_listStyleImage'listStyleImage'listStylePosition_listStylePosition'listStylePosition'listStyleType_listStyleType'listStyleType'margin_margin'margin'marginBottom_marginBottom'marginBottom'marginLeft_marginLeft'marginLeft'marginRight_marginRight'marginRight'marginTop_marginTop'marginTop'maxHeight_maxHeight'maxHeight'_maxWidth'maxWidth'minHeight_minHeight'minHeight'minWidth_minWidth'minWidth'outline_outline'outline'outlineColor_outlineColor'outlineColor'outlineStyle_outlineStyle'outlineStyle'outlineWidth_outlineWidth'outlineWidth'overflow_overflow'overflow''padding'paddingBottom_paddingBottom'paddingBottom'paddingLeft_paddingLeft'paddingLeft'paddingRight_paddingRight'paddingRight'paddingTop_paddingTop'paddingTop'pageBreakAfter_pageBreakAfter'pageBreakAfter'pageBreakBefore_pageBreakBefore'pageBreakBefore'pageBreakInside_pageBreakInside'pageBreakInside'position'position'quotes_quotes'quotes'right'right'tableLayout_tableLayout'tableLayout'_textAlign'textAlign'textDecoration_textDecoration'textDecoration'textIndent_textIndent'textIndent'textTransform_textTransform'textTransform'top_top'top'unicodeBidi_unicodeBidi'unicodeBidi'verticalAlign_verticalAlign'verticalAlign'visibility_visibility'visibility'whiteSpace_whiteSpace'whiteSpace'_width'width'wordSpacing_wordSpacing'wordSpacing'zIndex_zIndex'zIndex'cssgetPropertyValuepropertyName_getPropertyValueHelpersupportsProperty_supportsPropertysetPropertypriority_browserPropertyName_supportedBrowserPropertyName_readCache_writeCache_camelCasehyphenated_setPropertyHelpergetPropertyPriority_getPropertyValue'getPropertyValue'removeProperty_CssStyleDeclarationSet_elementIterable_elementCssStyleDeclarationSetIterable_setAllCssStyleDeclarationBasealignContentalignItemsalignSelfanimationanimationDelayanimationDirectionanimationDurationanimationFillModeanimationIterationCountanimationPlayStateanimationTimingFunctionappRegionappearanceaspectRatiobackfaceVisibilitybackgroundBlendModebackgroundClipbackgroundCompositebackgroundOriginbackgroundPositionXbackgroundPositionYbackgroundRepeatXbackgroundRepeatYbackgroundSizeborderAfterborderAfterColorborderAfterStyleborderAfterWidthborderBeforeborderBeforeColorborderBeforeStyleborderBeforeWidthborderBottomLeftRadiusborderBottomRightRadiusborderEndborderEndColorborderEndStyleborderEndWidthborderFitborderHorizontalSpacingborderImageborderImageOutsetborderImageRepeatborderImageSliceborderImageSourceborderImageWidthborderRadiusborderStartborderStartColorborderStartStyleborderStartWidthborderTopLeftRadiusborderTopRightRadiusborderVerticalSpacingboxAlignboxDecorationBreakboxDirectionboxFlexboxFlexGroupboxLinesboxOrdinalGroupboxOrientboxPackboxReflectboxShadowboxSizingclipPathcolumnBreakAftercolumnBreakBeforecolumnBreakInsidecolumnCountcolumnFillcolumnGapcolumnRulecolumnRuleColorcolumnRuleStylecolumnRuleWidthcolumnSpancolumnWidthcolumnscounterIncrementcounterResetflexflexBasisflexDirectionflexFlowflexGrowflexShrinkflexWrapfloatfontFeatureSettingsfontKerningfontSizeDeltafontSmoothingfontStretchfontVariantLigaturesgapgridgridAreagridAutoColumnsgridAutoFlowgridAutoRowsgridColumngridColumnEndgridColumnStartgridRowgridRowEndgridRowStartgridTemplategridTemplateAreasgridTemplateColumnsgridTemplateRowshighlighthyphenateCharacterimageRenderingisolationjustifyContentjustifySelflineBoxContainlineBreaklineClamplogicalHeightlogicalWidthmarginAftermarginAfterCollapsemarginBeforemarginBeforeCollapsemarginBottomCollapsemarginCollapsemarginEndmarginStartmarginTopCollapsemaskmaskBoxImagemaskBoxImageOutsetmaskBoxImageRepeatmaskBoxImageSlicemaskBoxImageSourcemaskBoxImageWidthmaskClipmaskCompositemaskImagemaskOriginmaskPositionmaskPositionXmaskPositionYmaskRepeatmaskRepeatXmaskRepeatYmaskSizemaskSourceTypemaxLogicalHeightmaxLogicalWidthmaxZoomminLogicalHeightminLogicalWidthminZoommixBlendModeobjectFitobjectPositionopacityorderorphansoutlineOffsetoverflowWrapoverflowXoverflowYpaddingAfterpaddingBeforepaddingEndpaddingStartpageperspectiveperspectiveOriginperspectiveOriginXperspectiveOriginYpointerEventsprintColorAdjustrowGaprtlOrderingrubyPositionscrollBehaviorshapeImageThresholdshapeMarginshapeOutsidespeaktabSizetapHighlightColortextAlignLasttextCombinetextDecorationColortextDecorationLinetextDecorationStyletextDecorationsInEffecttextEmphasistextEmphasisColortextEmphasisPositiontextEmphasisStyletextFillColortextJustifytextLineThroughColortextLineThroughModetextLineThroughStyletextLineThroughWidthtextOrientationtextOverflowtextOverlineColortextOverlineModetextOverlineStyletextOverlineWidthtextRenderingtextSecuritytextShadowtextStroketextStrokeColortextStrokeWidthtextUnderlineColortextUnderlineModetextUnderlinePositiontextUnderlineStyletextUnderlineWidthtouchActiontouchActionDelaytransformOrigintransformOriginXtransformOriginYtransformOriginZtransformStyletransitiontransitionDelaytransitionDurationtransitionPropertytransitionTimingFunctionunicodeRangeuserDraguserModifyuserSelectuserZoomwidowswillChangewordBreakwordWrapwrapFlowwrapThroughwritingModezoomCssStyleRule"CSSStyleRule"CSSStyleRuleCssStyleSheet"CSSStyleSheet"CSSStyleSheetownerRulerulesaddRuleselectorremoveRuleCssStyleValue"CSSStyleValue"CSSStyleValueCssSupportsRule"CSSSupportsRule"CSSSupportsRuleCssTransformComponent"CSSTransformComponent"CSSTransformComponentis2DCssTransformValue"CSSTransformValue"CSSTransformValuetransformComponentscomponentAtIndextoMatrixCssTranslation"CSSTranslation"CSSTranslationCssUnitValue"CSSUnitValue"CSSUnitValueCssUnparsedValue"CSSUnparsedValue"CSSUnparsedValuefragmentAtIndexCssVariableReferenceValue"CSSVariableReferenceValue"CSSVariableReferenceValuefallbackvariableCssViewportRule"CSSViewportRule"CSSViewportRuleCssurlImageValue"CSSURLImageValue"CSSURLImageValueCustomElementRegistry"CustomElementRegistry"defineconstructor_define_1'define'_define_2whenDefinedCustomEvent"CustomEvent"_dartDetaildetail_detail_get__detail'detail'_initCustomEvent'initCustomEvent'initCustomEventDListElement"HTMLDListElement"HTMLDListElementDataElement"HTMLDataElement"HTMLDataElementDataListElement"HTMLDataListElement"HTMLDataListElement'HtmlCollection'HtmlCollectionDataTransfer"DataTransfer"dropEffecteffectAllowedfiles'FileList'FileListitemsclearDataformatgetDatasetDatasetDragImageDataTransferItem"DataTransferItem"kindgetAsEntrygetAsFile_webkitGetAsEntry'webkitGetAsEntry'webkitGetAsEntryDataTransferItemList"DataTransferItemList"data_OR_fileaddData'add'addFileDedicatedWorkerGlobalScope"DedicatedWorkerGlobalScope"PERSISTENTTEMPORARYinstance_postMessage_1'postMessage'_postMessage_2_webkitRequestFileSystem'webkitRequestFileSystem'webkitRequestFileSystemsuccessCallbackfileSystemrequestFileSystemSync'webkitRequestFileSystemSync'webkitRequestFileSystemSyncresolveLocalFileSystemSyncUrl'webkitResolveLocalFileSystemSyncURL'webkitResolveLocalFileSystemSyncURL_webkitResolveLocalFileSystemUrl'webkitResolveLocalFileSystemURL'webkitResolveLocalFileSystemURLDeprecatedStorageInfo"DeprecatedStorageInfo"queryUsageAndQuotastorageTypeusageCallbackcurrentUsageInBytescurrentQuotaInBytesrequestQuotanewQuotaInBytesquotaCallbackgrantedQuotaInBytesDeprecatedStorageQuota"DeprecatedStorageQuota"DeprecationReport"DeprecationReport"lineNumbersourceFileDetailsElement"HTMLDetailsElement"HTMLDetailsElementDetectedBarcode"DetectedBarcode"boundingBoxcornerPointsrawValueDetectedFace"DetectedFace"landmarksDetectedText"DetectedText"DeviceAcceleration"DeviceAcceleration"DeviceMotionEvent"DeviceMotionEvent"accelerationaccelerationIncludingGravityintervalrotationRateDeviceOrientationEvent"DeviceOrientationEvent"absolutebetagammaDeviceRotationRate"DeviceRotationRate"DialogElement"HTMLDialogElement"HTMLDialogElementshowshowModalDirectoryEntry"DirectoryEntry,webkitFileSystemDirectoryEntry,FileSystemDirectoryEntry"DirectoryEntry,webkitFileSystemDirectoryEntry,FileSystemDirectoryEntrycreateDirectoryexclusivecreateReadergetDirectorycreateFilegetFile_createReader'createReader'__getDirectory__getDirectory_1'getDirectory'__getDirectory_2__getDirectory_3__getDirectory_4_getDirectory__getFile__getFile_1'getFile'__getFile_2__getFile_3__getFile_4_getFile_removeRecursively'removeRecursively'removeRecursivelyDirectoryReader"DirectoryReader,WebKitDirectoryReader,webkitFileSystemDirectoryReader,FileSystemDirectoryReader"DirectoryReader,WebKitDirectoryReader,webkitFileSystemDirectoryReader,FileSystemDirectoryReader_readEntries'readEntries'readEntriesDivElement"HTMLDivElement"HTMLDivElementDocument"Document"pointerLockChangeEvent'pointerlockchange'pointerlockchangepointerLockErrorEvent'pointerlockerror'pointerlockerrorreadyStateChangeEvent'readystatechange'readystatechangesecurityPolicyViolationEventSecurityPolicyViolationEvent'securitypolicyviolation'securitypolicyviolationselectionChangeEvent'selectionchange'selectionchangeaddressSpace_body'body'cookiecurrentScriptwindow_get_window'defaultView'defaultView'Window|=Object'Window|=Object'Window|=Object|Null'Window|=Object|NulldocumentElementdomainfullscreenEnabled'head'headimplementation_lastModified'lastModified'lastModified_preferredStylesheetSet'preferredStylesheetSet'preferredStylesheetSetreadyState_referrer'referrer'referrerrootElementrootScrollerscrollingElement_selectedStylesheetSet'selectedStylesheetSet'selectedStylesheetSetsuborigin_title'title'_visibilityState'visibilityState'visibilityState_webkitFullscreenElement'webkitFullscreenElement'webkitFullscreenElement_webkitFullscreenEnabled'webkitFullscreenEnabled'webkitFullscreenEnabled_webkitHidden'webkitHidden'webkitHidden_webkitVisibilityState'webkitVisibilityState'webkitVisibilityStateactiveElementfullscreenElementpointerLockElement_styleSheets'styleSheets'styleSheets'_StyleSheetList'_StyleSheetListfonts_childElementCount'childElementCount'childElementCount_children'children'children_firstElementChild'firstElementChild'firstElementChild_lastElementChild'lastElementChild'lastElementChildonAbortonBeforeCopyonBeforeCutonBeforePasteonCanPlayonCanPlayThroughonChangeonClickonContextMenuonCopyonCutonDoubleClickDomName'Document.ondblclick'Document.ondblclickonDragonDragEndonDragEnteronDragLeaveonDragOveronDragStartonDroponDurationChangeonEmptiedonEndedonInputonInvalidonKeyDownonKeyPressonKeyUponLoadedDataonLoadedMetadataonMouseDownonMouseEnteronMouseLeaveonMouseMoveonMouseOutonMouseOveronMouseUponMouseWheelonPasteonPlayonPlayingonPointerLockChangeonPointerLockErroronRateChangeonReadyStateChangeonResetonSearchonSecurityPolicyViolationonSeekedonSeekingonSelectonSelectionChangeonSelectStartonStalledonSubmitonSuspendonTimeUpdateonTouchCancelonTouchEndonTouchMoveonTouchStartonVolumeChangeonWaitingonFullscreenChangeonFullscreenErrorsupportsRegisterElementsupportsRegisteradoptNode_caretRangeFromPoint'caretRangeFromPoint'caretRangeFromPointcreateDocumentFragment_createElement'createElement'createElementlocalName_OR_tagNameoptions_OR_typeExtension_createElementNS'createElementNS'createElementNSqualifiedName_createEvent'createEvent'createEventeventTypecreateRange_createTextNode'createTextNode'createTextNode_createTouchidentifierpageXpageYscreenXscreenYrotationAngleforce_createTouch_1'createTouch'createTouch_createTouch_2_createTouch_3_createTouch_4_createTouch_5_createTouchList'createTouchList'createTouchListtouchesexecCommandcommandIdshowUIexitFullscreenexitPointerLockgetAnimationsgetElementsByClassName'NodeList|HtmlCollection'NodeList|HtmlCollectionclassNamesgetElementsByNameelementNamegetElementsByTagNamelocalNameimportNodedeepqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValueregisterElement2_registerElement2_1'registerElement'registerElement_registerElement2_2_webkitExitFullscreen'webkitExitFullscreen'webkitExitFullscreen_elementFromPoint'elementFromPoint'elementFromPointelementsFromPointgetElementByIdelementIdquerySelectorselectors_querySelectorAll'querySelectorAll'querySelectorAlltagcustomElementClassextendsTag'dart2js:tryInline'dart2js:tryInlinetagNametypeExtension_createElement_2_createElementNS_2_createNodeIteratorwhatToShow_createTreeWalkerDocumentFragment"DocumentFragment"_docChildreninnerHtmlhtmlvalidatortreeSanitizersvgContentsetInnerHtmlappendTextappendHtmlDocumentOrShadowRoot"DocumentOrShadowRoot"getSelectionDocumentTimeline"DocumentTimeline"DomError"DOMError"DOMErrorDomException"DOMException"DOMExceptionINDEX_SIZE'IndexSizeError'IndexSizeErrorHIERARCHY_REQUEST'HierarchyRequestError'HierarchyRequestErrorWRONG_DOCUMENT'WrongDocumentError'WrongDocumentErrorINVALID_CHARACTER'InvalidCharacterError'InvalidCharacterErrorNO_MODIFICATION_ALLOWED'NoModificationAllowedError'NoModificationAllowedErrorNOT_FOUND'NotFoundError'NotFoundErrorNOT_SUPPORTED'NotSupportedError'NotSupportedErrorINVALID_STATE'InvalidStateError'InvalidStateErrorSYNTAX'SyntaxError'SyntaxErrorINVALID_MODIFICATION'InvalidModificationError'InvalidModificationErrorNAMESPACE'NamespaceError'NamespaceErrorINVALID_ACCESS'InvalidAccessError'InvalidAccessErrorTYPE_MISMATCH'TypeMismatchError'TypeMismatchErrorSECURITY'SecurityError'SecurityErrorNETWORK'NetworkError'NetworkErrorABORT'AbortError'AbortErrorURL_MISMATCH'URLMismatchError'URLMismatchErrorQUOTA_EXCEEDED'QuotaExceededError'QuotaExceededErrorTIMEOUT'TimeoutError'TimeoutErrorINVALID_NODE_TYPE'InvalidNodeTypeError'InvalidNodeTypeErrorDATA_CLONE'DataCloneError'DataCloneErrorENCODING'EncodingError'EncodingErrorNOT_READABLE'NotReadableError'NotReadableErrorUNKNOWN'UnknownError'UnknownErrorCONSTRAINT'ConstraintError'ConstraintErrorTRANSACTION_INACTIVE'TransactionInactiveError'TransactionInactiveErrorREAD_ONLY'ReadOnlyError'ReadOnlyErrorVERSION'VersionError'VersionErrorOPERATION'OperationError'OperationErrorNOT_ALLOWED'NotAllowedError'NotAllowedErrorTYPE_ERROR'TypeError'DomImplementation"DOMImplementation"DOMImplementationcreateDocumentdoctypecreateDocumentTypepublicIdsystemIdcreateHtmlDocument'createHTMLDocument'createHTMLDocumenthasFeatureDomIterator"Iterator"DomMatrix"DOMMatrix"DOMMatrixm11m12m13m14m21m22m23m24m31m32m33m34m41m42m43m44fromFloat32Arrayarray32fromFloat64Arrayarray64fromMatrix_fromMatrix_1'fromMatrix'_fromMatrix_2invertSelfmultiplySelf_multiplySelf_1'multiplySelf'_multiplySelf_2preMultiplySelf_preMultiplySelf_1'preMultiplySelf'_preMultiplySelf_2rotateAxisAngleSelfrotateFromVectorSelfrotateSelfrotXrotYrotZscale3dSelforiginXoriginYoriginZscaleSelfscaleXscaleYscaleZsetMatrixValuetransformListskewXSelfskewYSelftranslateSelftxtytzDomMatrixReadOnly"DOMMatrixReadOnly"DOMMatrixReadOnlyisIdentityflipXflipYinversemultiply_multiply_1'multiply'_multiply_2rotateAxisAnglerotateFromVectorscale3dskewXskewYtoFloat32ArraytoFloat64ArraytransformPointpoint_transformPoint_1'transformPoint'_transformPoint_2DomParser"DOMParser"DOMParserparseFromStringDomPoint"DOMPoint"DOMPointw_create_4_create_5fromPoint_fromPoint_1'fromPoint'_fromPoint_2DomPointReadOnly"DOMPointReadOnly"DOMPointReadOnlymatrixTransform_matrixTransform_1'matrixTransform'_matrixTransform_2DomQuad"DOMQuad"DOMQuadp1p2p3p4fromQuad_fromQuad_1'fromQuad'_fromQuad_2fromRect_fromRect_1'fromRect'_fromRect_2getBoundsDomRectList"ClientRectList,DOMRectList"ClientRectList,DOMRectListDomRectReadOnly"DOMRectReadOnly"DOMRectReadOnlytopLefttopRightbottomRightbottomLeftintersectscontainsRectangleanothercontainsPointDomStringList"DOMStringList"DOMStringListDomStringMap"DOMStringMap"DOMStringMap__delete__DomTokenList"DOMTokenList"DOMTokenListtokensnewTokentoggle_ChildrenElementList_element_childElementsrawList_wrap_addAll'dart2js:noInline'dart2js:noInlineElementListclassescontentEdgepaddingEdgeborderEdgemarginEdge'Element.ondblclick'Element.ondblclickonTouchEnteronTouchLeaveonTransitionEndonWheel_FrozenElementList_nodeListElement"Element"mouseWheelEvent_CustomEventStreamProviderWheelEvent_determineMouseWheelEventTypetransitionEndEventTransitionEvent_determineTransitionEventType_parseDocument_parseRange_defaultValidator_defaultSanitizer_tagsForWhichCreateContextualFragmentIsNotSupported'HEAD'HEAD'AREA'AREA'BASE'BASE'BASEFONT'BASEFONT'BR'BR'COL'COL'COLGROUP'COLGROUP'EMBED'EMBED'FRAME'FRAME'FRAMESET'FRAMESET'HR'HR'IMAGE'IMAGE'IMG'IMG'INPUT'INPUT'ISINDEX'ISINDEX'LINK'LINK'META'META'PARAM'PARAM'SOURCE'SOURCE'STYLE'STYLE'TITLE'TITLE'WBR'WBRabortEvent'abort'beforeCopyEvent'beforecopy'beforecopybeforeCutEvent'beforecut'beforecutbeforePasteEvent'beforepaste'beforepastecanPlayEvent'canplay'canplaycanPlayThroughEvent'canplaythrough'canplaythroughchangeEvent'change'changeclickEventMouseEvent'click'clickcontextMenuEvent'contextmenu'contextmenucopyEvent'copy'copycutEvent'cut'cutdoubleClickEvent'Element.dblclickEvent'Element.dblclickEvent'dblclick'dblclickdragEvent'drag'dragdragEndEvent'dragend'dragenddragEnterEvent'dragenter'dragenterdragLeaveEvent'dragleave'dragleavedragOverEvent'dragover'dragoverdragStartEvent'dragstart'dragstartdropEvent'drop'dropdurationChangeEvent'durationchange'durationchangeemptiedEvent'emptied'emptiedendedEvent'ended'ended'input'invalidEvent'invalid'keyDownEventKeyboardEvent'keydown'keydownkeyPressEvent'keypress'keypresskeyUpEvent'keyup'keyuploadedDataEvent'loadeddata'loadeddataloadedMetadataEvent'loadedmetadata'loadedmetadatamouseDownEvent'mousedown'mousedownmouseEnterEvent'mouseenter'mouseentermouseLeaveEvent'mouseleave'mouseleavemouseMoveEvent'mousemove'mousemovemouseOutEvent'mouseout'mouseoutmouseOverEvent'mouseover'mouseovermouseUpEvent'mouseup'mouseuppasteEvent'paste'pastepauseEvent'pause'playEvent'play'playingEvent'playing'playingrateChangeEvent'ratechange'ratechangeresetEvent'reset'searchEvent'search'seekedEvent'seeked'seekedseekingEvent'seeking'seekingselectEvent'select'selectStartEvent'selectstart'selectstartstalledEvent'stalled'stalledsubmitEvent'submit'submitsuspendEvent'suspend'suspendtimeUpdateEvent'timeupdate'timeupdatetouchCancelEventTouchEvent'touchcancel'touchcanceltouchEndEvent'touchend'touchendtouchEnterEvent'touchenter'touchentertouchLeaveEvent'touchleave'touchleavetouchMoveEvent'touchmove'touchmovetouchStartEvent'touchstart'touchstartvolumeChangeEvent'volumechange'volumechangewaitingEvent'waiting'waitingfullscreenChangeEvent'webkitfullscreenchange'webkitfullscreenchangefullscreenErrorEvent'webkitfullscreenerror'webkitfullscreenerrorwheelEvent'wheel'wheeldatasetclientshadowRoot'25'25documentOffset_canBeUsedToCreateContextualFragment_cannotBeUsedToCreateContextualFragmentinnerText'innerText'onoffsetParentoffsetHeightoffsetLeftoffsetTopoffsetWidthscrollHeightscrollLeftscrollTopscrollWidthcontentEditabledirdraggableinertinputModeisContentEditablelangspellchecktabIndexaccessibleNodeassignedSlot_attributes'attributes'clientHeightclientLeftclientTopclientWidthcomputedNamecomputedRole_innerHtml'innerHTML'innerHTML_localName'localName'_namespaceUriouterHtml'outerHTML'outerHTML_scrollHeight'scrollHeight'_scrollLeft'scrollLeft'_scrollTop'scrollTop'_scrollWidth'scrollWidth'slotstyleMaparticleasideaudiobrfooterheaderhriframeimglinavoloptionppresectionspantabletdtextareathtrulvideogetAttributegetAttributeNShasAttributehasAttributeNSremoveAttributeremoveAttributeNSsetAttributesetAttributeNS_setApplyScroll'setApplyScroll'setApplyScrollscrollStateCallbackscrollStatenativeScrollBehavior_setDistributeScroll'setDistributeScroll'setDistributeScrollgetNamespacedAttributesnamespacegetComputedStylepseudoElementisTagSupportedattacheddetachedenteredViewgetClientRectsleftViewanimate'36'36frames_animate'animate'attributeChangedoldValuescrollIntoViewinsertAdjacentText_insertAdjacentText'insertAdjacentText'insertAdjacentHtml_insertAdjacentHtml'insertAdjacentHTML'insertAdjacentHTMLinsertAdjacentElement_insertAdjacentElement'insertAdjacentElement'_insertAdjacentNodematchesmatchesWithAncestorscreateShadowRootoffsetTo_offsetToHelpercreateFragment_hasCorruptedAttributes_hasCorruptedAttributesAdditionalCheck_safeTagNamerequestFullscreenattachShadowshadowRootInitDict_attachShadow_1'attachShadow'closest_getAttribute'getAttribute'_getAttributeNS'getAttributeNS'getAttributeNamesgetBoundingClientRect'_DomRect'_DomRect'_DomRect|Null'_DomRect|Null_getClientRects'getClientRects''DomRectList''DomRectList|Null'DomRectList|NullgetDestinationInsertionPoints_getElementsByTagName'getElementsByTagName'_hasAttribute'hasAttribute'_hasAttributeNS'hasAttributeNS'hasPointerCapturepointerIdreleasePointerCapture_removeAttribute'removeAttribute'_removeAttributeNS'removeAttributeNS'requestPointerLockoptions_OR_x_scroll_1_scroll_2_scroll_3scrollBy_scrollBy_1'scrollBy'_scrollBy_2_scrollBy_3_scrollIntoView'scrollIntoView'scrollIntoViewIfNeededcenterIfNeededscrollTo_scrollTo_1'scrollTo'_scrollTo_2_scrollTo_3_setAttribute'setAttribute'_setAttributeNS'setAttributeNS'setPointerCapture_ElementFactoryProvidercreateElement_tagScrollAlignmentTOP'TOP'CENTER'CENTER'BOTTOM'BOTTOM'EmbedElement"HTMLEmbedElement"HTMLEmbedElementEntry"Entry,webkitFileSystemEntry,FileSystemEntry"Entry,webkitFileSystemEntry,FileSystemEntryfilesystemfullPathisDirectoryisFile_copyTo'copyTo'copyTo_getMetadata'getMetadata'getMetadatametadata_getParent'getParent'getParent_moveTo'moveTo''remove'toUrl'toURL'toURLErrorEvent"ErrorEvent"colnofilenamelineno"Event,InputEvent,SubmitEvent"Event,InputEvent,SubmitEventAT_TARGETBUBBLING_PHASECAPTURING_PHASE_selectormatchingTargetcomposedcurrentTarget_get_currentTarget'currentTarget''EventTarget|=Object|Null'EventTarget|=Object|NulldefaultPreventedeventPhaseisTrusted_get_target'target''Node''EventTarget|=Object'EventTarget|=ObjecttimeStampcomposedPath_initEvent'initEvent'initEventpreventDefaultstopImmediatePropagationstopPropagationEventSource"EventSource"openEvent'open'CLOSEDCONNECTINGOPENwithCredentialsonOpen_factoryEventSourceeventSourceInitDictEvents_ptrElementEventswebkitEventsEventTarget"EventTarget"_createdaddEventListeneruseCaptureremoveEventListener_addEventListener'addEventListener'dispatchEvent_removeEventListener'removeEventListener'ExtendableEvent"ExtendableEvent"waitUntilExtendableMessageEvent"ExtendableMessageEvent"annotation_Creates_SerializedScriptValueannotation_Returns_SerializedScriptValuelastEventIdports'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort|Null'Client|ServiceWorker|MessagePort|NullExternal"External"AddSearchProviderIsSearchProviderInstalledFaceDetector"FaceDetector"faceDetectorOptionsFederatedCredential"FederatedCredential"providerFetchEvent"FetchEvent"clientIdisReloadpreloadResponseFieldSetElement"HTMLFieldSetElement"HTMLFieldSetElementFile"File"lastModifiedDate_get_lastModifiedDate'lastModifiedDate'relativePath'webkitRelativePath'webkitRelativePathfileBitsfileNameFileEntry"FileEntry,webkitFileSystemFileEntry,FileSystemFileEntry"FileEntry,webkitFileSystemFileEntry,FileSystemFileEntry_createWriter'createWriter'createWriterfileWriter_file'file'"FileList"FileReader"FileReader"loadEndEvent'loadend'loadendloadStartEvent'loadstart'loadstartDONEEMPTYLOADINGonLoadEndonLoadStartreadAsArrayBufferreadAsDataUrl'readAsDataURL'readAsDataURLreadAsTextFileSystem"DOMFileSystem,WebKitFileSystem,webkitFileSystem,FileSystem"DOMFileSystem,WebKitFileSystem,webkitFileSystem,FileSystemFileWriter"FileWriter"writeEvent'write'writeEndEvent'writeend'writeendwriteStartEvent'writestart'writestartINITWRITINGonWriteonWriteEndonWriteStartseekFocusEvent"FocusEvent"relatedTarget_get_relatedTarget'relatedTarget'FontFace"FontFace"familyfeatureSettingsloadedstretchvariantweightdescriptorsFontFaceSet"FontFaceSet"loadingEventFontFaceSetLoadEvent'loading'loadingloadingDoneEvent'loadingdone'loadingdoneloadingErrorEvent'loadingerror'loadingerroronLoadingonLoadingDoneonLoadingErrorfontFacefontFaceAgainthisArg"FontFaceSetLoadEvent"fontfacesFontFaceSource"FontFaceSource"ForeignFetchEvent"ForeignFetchEvent"FormData"FormData"appendBlob'append'FormElement"HTMLFormElement"HTMLFormElementacceptCharsetenctypenoValidaterequestAutocomplete_requestAutocomplete_1'requestAutocomplete'Gamepad"Gamepad"axesbuttons'JSExtendableArray|GamepadButton'JSExtendableArray|GamepadButton'JSExtendableArray'connecteddisplayIdhandposetimestampGamepadButton"GamepadButton"touchedGamepadEvent"GamepadEvent"gamepadGamepadPose"GamepadPose"angularAccelerationangularVelocityhasOrientationhasPositionlinearAccelerationlinearVelocityGeolocation"Geolocation"getCurrentPositionenableHighAccuracymaximumAgewatchPosition_ensurePositiondomPosition_clearWatch'clearWatch'clearWatchwatchID_getCurrentPosition'Geoposition'Geoposition'PositionError'PositionError_getCurrentPosition_1'getCurrentPosition'_getCurrentPosition_2_getCurrentPosition_3_watchPosition_watchPosition_1'watchPosition'_watchPosition_2_watchPosition_3_GeopositionWrapper"Position,GeolocationPosition"Position,GeolocationPositionGlobalEventHandlers'GlobalEventHandlers.dblclickEvent'GlobalEventHandlers.dblclickEvent'mousewheel'mousewheel'GlobalEventHandlers.ondblclick'GlobalEventHandlers.ondblclickGyroscope"Gyroscope"HRElement"HTMLHRElement"HTMLHRElementHashChangeEvent"HashChangeEvent"newUrl'newURL'newURLoldUrl'oldURL'oldURLHeadElement"HTMLHeadElement"HTMLHeadElementHeaders"Headers"HeadingElement"HTMLHeadingElement"HTMLHeadingElementh1h2h3h4h5h6History"History"supportsStatescrollRestoration_get_state'state'backforwardgodeltapushState_pushState_1'pushState'replaceState_replaceState_1'replaceState'"HTMLCollection"HTMLCollectionnamedItemHtmlDocument"HTMLDocument"HTMLDocumentvisibilityChangeEvent_determineVisibilityChangeEventTypeonVisibilityChangecreateElementUpgraderHtmlFormControlsCollection"HTMLFormControlsCollection"HTMLFormControlsCollectionHtmlHtmlElement"HTMLHtmlElement"HTMLHtmlElementHtmlHyperlinkElementUtils"HTMLHyperlinkElementUtils"HTMLHyperlinkElementUtilsHtmlOptionsCollection"HTMLOptionsCollection"HTMLOptionsCollection_item'item'HttpRequest"XMLHttpRequest"XMLHttpRequestHEADERS_RECEIVEDOPENEDUNSENTsupportsProgressEventsupportsCrossOriginsupportsLoadEndEventsupportsOverrideMimeTyperesponseHeaders_get_response'response''NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|num'NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|numresponseTextresponseTyperesponseUrl'responseURL'responseURLresponseXml'responseXML'responseXMLstatusTextuploadgetStringpostFormDatarequestHeaderssendDatarequestCrossOriginasyncusergetAllResponseHeadersgetResponseHeaderoverrideMimeTypemimesendbody_OR_datasetRequestHeaderHttpRequestEventTarget"XMLHttpRequestEventTarget"XMLHttpRequestEventTargettimeoutEvent'timeout'HttpRequestUpload"XMLHttpRequestUpload"XMLHttpRequestUploadIFrameElement"HTMLIFrameElement"HTMLIFrameElementallowallowFullscreenallowPaymentRequestcontentWindow_get_contentWindow'contentWindow'cspsandboxsrcdocIdleDeadline"IdleDeadline"didTimeouttimeRemainingImageBitmap"ImageBitmap"ImageBitmapRenderingContext"ImageBitmapRenderingContext"transferFromImageBitmapbitmapImageCapture"ImageCapture"trackgetPhotoCapabilitiesgetPhotoSettingsgrabFramesetOptionsphotoSettingstakePhotoImageData"ImageData"'NativeUint8ClampedList'NativeUint8ClampedListdata_OR_swImageElement"HTMLImageElement"HTMLImageElementcrossOrigincurrentSrcisMapnaturalHeightnaturalWidthsizessrcsetuseMapInputDeviceCapabilities"InputDeviceCapabilities"firesTouchEventsdeviceInitDictInputElement"HTMLInputElement"HTMLInputElementautocapitalizecapturedefaultCheckeddirName'FileList|Null'FileList|NullincrementalindeterminatemaxLengthminLengthmultipleselectionDirectionselectionEndselectionStartvalueAsDate_get_valueAsDate'valueAsDate'_set_valueAsDatevalueAsNumber'webkitEntries'webkitEntries'webkitdirectory'webkitdirectorysetRangeTextselectionModesetSelectionRangestepDownstepUpInputElementBaseHiddenInputElementTextInputElementBaseSearchInputElementTextInputElementUrlInputElementTelephoneInputElementEmailInputElementPasswordInputElementRangeInputElementBaseDateInputElementMonthInputElementWeekInputElementTimeInputElementLocalDateTimeInputElementNumberInputElementRangeInputElementCheckboxInputElementRadioButtonInputElementFileUploadInputElementSubmitButtonInputElementImageButtonInputElementResetButtonInputElementButtonInputElementInstallEvent"InstallEvent"registerForeignFetch_registerForeignFetch_1'registerForeignFetch'IntersectionObserver"IntersectionObserver"rootMarginthresholdsobserverdisconnectobservetakeRecordsunobserveIntersectionObserverEntry"IntersectionObserverEntry"boundingClientRectintersectionRatiointersectionRectisIntersectingrootBoundsInterventionReport"InterventionReport""KeyboardEvent"DOM_KEY_LOCATION_LEFT0x01DOM_KEY_LOCATION_NUMPAD0x03DOM_KEY_LOCATION_RIGHT0x02DOM_KEY_LOCATION_STANDARDkeyCodewhichaltKey_charCode'charCode'ctrlKeyisComposing_keyCode'keyCode'locationmetaKeyrepeatshiftKeykeyLocation_initKeyboardEventkeyIdentifiergetModifierStatekeyArgKeyframeEffect"KeyframeEffect"KeyframeEffectReadOnly"KeyframeEffectReadOnly"LIElement"HTMLLIElement"HTMLLIElementLabelElement"HTMLLabelElement"HTMLLabelElementcontrolhtmlForLegendElement"HTMLLegendElement"HTMLLegendElementLinearAccelerationSensor"LinearAccelerationSensor"LinkElement"HTMLLinkElement"HTMLLinkElementasimportintegrityrelListscopesheetsupportsImportLocation"Location"ancestorOrigins'DomStringList'trustedHrefassignreloadMagnetometer"Magnetometer"MapElement"HTMLMapElement"HTMLMapElementareasMathMLElement"MathMLElement"MediaCapabilities"MediaCapabilities"decodingInfoconfigurationencodingInfoMediaCapabilitiesInfo"MediaCapabilitiesInfo"powerEfficientsmoothMediaDeviceInfo"MediaDeviceInfo"deviceIdgroupIdMediaDevices"MediaDevices"enumerateDevicesgetSupportedConstraints_getSupportedConstraints_1'getSupportedConstraints'getUserMediaconstraintsMediaElement"HTMLMediaElement"HTMLMediaElementHAVE_CURRENT_DATAHAVE_ENOUGH_DATAHAVE_FUTURE_DATAHAVE_METADATAHAVE_NOTHINGNETWORK_EMPTYNETWORK_IDLENETWORK_LOADINGNETWORK_NO_SOURCEaudioTracksautoplaybufferedcontrolsListdefaultMuteddefaultPlaybackRatedisableRemotePlaybackloopmediaKeysmutednetworkStatepausedplayedpreloadremoteseekablesinkIdsrcObjecttextTracksvideoTracksvolumeaudioDecodedByteCount'webkitAudioDecodedByteCount'webkitAudioDecodedByteCountvideoDecodedByteCount'webkitVideoDecodedByteCount'webkitVideoDecodedByteCountaddTextTracklanguagecanPlayTypekeySystemsetMediaKeyssetSinkIdMediaEncryptedEvent"MediaEncryptedEvent"initDatainitDataTypeMediaError"MediaError"MEDIA_ERR_ABORTEDMEDIA_ERR_DECODEMEDIA_ERR_NETWORKMEDIA_ERR_SRC_NOT_SUPPORTEDMediaKeyMessageEvent"MediaKeyMessageEvent"messageTypeMediaKeySession"MediaKeySession"closedexpirationkeyStatusessessionIdgenerateRequest_update'update'MediaKeyStatusMap"MediaKeyStatusMap"keyIdMediaKeySystemAccess"MediaKeySystemAccess"createMediaKeysgetConfiguration_getConfiguration_1'getConfiguration'MediaKeys"MediaKeys"_createSession'createSession'createSessionsessionTypegetStatusForPolicypolicysetServerCertificateserverCertificateMediaKeysPolicy"MediaKeysPolicy"minHdcpVersionMediaList"MediaList"mediaTextappendMediummediumdeleteMediumMediaMetadata"MediaMetadata"albumartistartworkMediaQueryList"MediaQueryList"addListenerremoveListenerMediaQueryListEvent"MediaQueryListEvent"MediaRecorder"MediaRecorder"audioBitsPerSecondvideoBitsPerSecondisTypeSupportedrequestDatatimesliceMediaSession"MediaSession"playbackStatesetActionHandlerMediaSettingsRange"MediaSettingsRange"MediaSource"MediaSource"activeSourceBufferssourceBuffersaddSourceBufferclearLiveSeekableRangeendOfStreamremoveSourceBuffersetLiveSeekableRangeMediaStream"MediaStream"addTrackEvent'addtrack'addtrackremoveTrackEvent'removetrack'removetrackactiveonAddTrackonRemoveTrackstream_OR_tracksaddTrackclonegetAudioTracks'JSExtendableArray|MediaStreamTrack'JSExtendableArray|MediaStreamTrackgetTrackByIdtrackIdgetTracksgetVideoTracksremoveTrackMediaStreamEvent"MediaStreamEvent"MediaStreamTrack"MediaStreamTrack"muteEvent'mute'muteunmuteEvent'unmute'unmutecontentHintenabledonMuteonUnmuteapplyConstraintsgetCapabilities_getCapabilities_1'getCapabilities'getConstraints_getConstraints_1'getConstraints'getSettings_getSettings_1'getSettings'MediaStreamTrackEvent"MediaStreamTrackEvent"MemoryInfo"MemoryInfo"jsHeapSizeLimittotalJSHeapSizeusedJSHeapSizeMenuElement"HTMLMenuElement"HTMLMenuElementMessageChannel"MessageChannel"port1port2"MessageEvent"_get_data'data'_get_source'source'messagePorts_initMessageEventtypeArgcanBubbleArgcancelableArgdataArgoriginArglastEventIdArgsourceArgportsArg_initMessageEvent_1'initMessageEvent'initMessageEventMessagePort"MessagePort"'start'MetaElement"HTMLMetaElement"HTMLMetaElementhttpEquivMetadata"Metadata"modificationTime_get_modificationTime'modificationTime'MeterElement"HTMLMeterElement"HTMLMeterElementhighlowoptimumMidiAccess"MIDIAccess"MIDIAccessinputsoutputssysexEnabledMidiConnectionEvent"MIDIConnectionEvent"MIDIConnectionEventMidiInput"MIDIInput"MIDIInputmidiMessageEventMidiMessageEvent'midimessage'midimessageonMidiMessageMidiInputMap"MIDIInputMap"MIDIInputMap_getItem"MIDIMessageEvent"MIDIMessageEventMidiOutput"MIDIOutput"MIDIOutputMidiOutputMap"MIDIOutputMap"MIDIOutputMapMidiPort"MIDIPort"MIDIPortconnectionmanufacturerversionMimeType"MimeType"enabledPluginsuffixesMimeTypeArray"MimeTypeArray"ModElement"HTMLModElement"HTMLModElementcitedateTime"MouseEvent,DragEvent"MouseEvent,DragEventbutton_clientX'clientX'clientX_clientY'clientY'clientYfromElement_layerX'layerX'layerX_layerY'layerY'layerY_movementX'movementX'movementX_movementY'movementY'movementY_pageX'pageX'_pageY'pageY'region_screenX'screenX'_screenY'screenY'movementscreenlayerdataTransfer_initMouseEvent_initMouseEvent_1'initMouseEvent'initMouseEventMutationEvent"MutationEvent"ADDITIONMODIFICATIONREMOVALattrChangeattrNameprevValuerelatedNodeinitMutationEventMutationObserver"MutationObserver,WebKitMutationObserver"MutationObserver,WebKitMutationObserver_boolKeysmutations_observe_observe_1'observe'_observe_2childListcharacterDatasubtreeattributeOldValuecharacterDataOldValueattributeFilter_createDict_fixupList_callMutationRecord"MutationRecord"addedNodesattributeNameattributeNamespacenextSiblingpreviousSiblingremovedNodesNavigationPreloadManager"NavigationPreloadManager"disablegetStateNavigator"Navigator"budgetclipboardcredentialsdeviceMemorydoNotTrackgeolocationmaxTouchPointsmediaCapabilitiesmediaDevicesmediaSessionmimeTypesnfcpermissionspresentationproductSubserviceWorkervendorvendorSubvrpersistentStorage'webkitPersistentStorage'webkitPersistentStoragetemporaryStorage'webkitTemporaryStorage'webkitTemporaryStoragewebdrivercookieEnabledappCodeNameappNameappVersiondartEnabledplatformproductuserAgentlanguagesonLinegetGamepads_ensureGetUserMedia_getUserMedia'getUserMedia'successcancelKeyboardLockgetBattery_getGamepads'getGamepads''_GamepadList'_GamepadListgetInstalledRelatedAppsgetVRDisplaysregisterProtocolHandlerrequestKeyboardLockkeyCodes_requestKeyboardLock_1'requestKeyboardLock'_requestKeyboardLock_2requestMidiAccess'requestMIDIAccess'requestMIDIAccessrequestMediaKeySystemAccesssupportedConfigurationssendBeaconshareNavigatorAutomationInformation"NavigatorAutomationInformation"NavigatorConcurrentHardware"NavigatorConcurrentHardware"hardwareConcurrencyNavigatorCookies"NavigatorCookies"NavigatorIDNavigatorLanguageNavigatorOnLineNavigatorUserMediaError"NavigatorUserMediaError"constraintNameNetworkInformation"NetworkInformation"downlinkdownlinkMaxeffectiveTypertt_ChildNodeListLazy_this"Node"ATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODEchildNodesbaseUri'baseURI'baseURIfirstChildisConnectedlastChildnextNode'nextSibling'nodeNamenodeTypenodeValueownerDocument'parentElement'parentElementparentNodepreviousNode'previousSibling''textContent'textContentreplaceWithotherNodeinsertAllBeforenewNodes_clearChildren'appendChild''cloneNode'cloneNodegetRootNode_getRootNode_1'getRootNode'_getRootNode_2hasChildNodes_removeChild'removeChild'removeChild_replaceChild'replaceChild'replaceChildNodeFilter"NodeFilter"FILTER_ACCEPTFILTER_REJECTFILTER_SKIPSHOW_ALL0xFFFFFFFFSHOW_COMMENTSHOW_DOCUMENT0x100SHOW_DOCUMENT_FRAGMENT0x400SHOW_DOCUMENT_TYPE0x200SHOW_ELEMENT0x1SHOW_PROCESSING_INSTRUCTION0x40SHOW_TEXT0x4NodeIterator"NodeIterator"pointerBeforeReferenceNodereferenceNode"NodeList,RadioNodeList"NodeList,RadioNodeListNonDocumentTypeChildNode"NonDocumentTypeChildNode"NonElementParentNode"NonElementParentNode"NoncedElement"NoncedElement"Notification"Notification"closeEvent'close'showEvent'show'actionsbadgeiconmaxActionspermissionrenotifyrequireInteractionsilentvibrateonShow_factoryNotification_requestPermission'requestPermission'requestPermissiondeprecatedCallbackNotificationEvent"NotificationEvent"notificationreplyOListElement"HTMLOListElement"HTMLOListElementObjectElement"HTMLObjectElement"HTMLObjectElementOffscreenCanvas"OffscreenCanvas"convertToBlobcontextTypetransferToImageBitmapOffscreenCanvasRenderingContext2D"OffscreenCanvasRenderingContext2D"commitsx_OR_xsy_OR_ysw_OR_widthheight_OR_shdwdhOptGroupElement"HTMLOptGroupElement"HTMLOptGroupElementOptionElement"HTMLOptionElement"HTMLOptionElementdefaultSelectedOrientationSensor"OrientationSensor"quaternionpopulateMatrixtargetBufferOutputElement"HTMLOutputElement"HTMLOutputElementOverconstrainedError"OverconstrainedError"constraintPageTransitionEvent"PageTransitionEvent"persistedPaintRenderingContext2D"PaintRenderingContext2D"PaintSize"PaintSize"PaintWorkletGlobalScope"PaintWorkletGlobalScope"devicePixelRatioregisterPaintpaintCtorParagraphElement"HTMLParagraphElement"HTMLParagraphElementParamElement"HTMLParamElement"HTMLParamElementParentNodePasswordCredential"PasswordCredential"additionalDataidNamepasswordNamedata_OR_formPath2D"Path2D"path_OR_textaddPathPaymentAddress"PaymentAddress"addressLinecitycountrydependentLocalitylanguageCodeorganizationphonepostalCoderecipientsortingCodePaymentInstruments"PaymentInstruments"instrumentKeyPaymentManager"PaymentManager"instrumentsuserHintPaymentRequest"PaymentRequest"shippingAddressshippingOptionshippingTypecanMakePaymentPaymentRequestEvent"PaymentRequestEvent"paymentRequestIdtotalPaymentRequestUpdateEvent"PaymentRequestUpdateEvent"updateWithdetailsPromisePaymentResponse"PaymentResponse"methodNamepayerEmailpayerNamepayerPhonerequestIdpaymentResultPerformance"Performance"memorynavigationtimeOriginclearMarksmarkNameclearMeasuresmeasureNameclearResourceTimingsgetEntriesgetEntriesByNameentryTypegetEntriesByTypemarkmarkOptions_mark_1'mark'_mark_2measuremeasureOptions_OR_startMarkendMark_measure_1'measure'_measure_2startMark_measure_3_measure_4measureOptionssetResourceTimingBufferSizemaxSizePerformanceEntry"PerformanceEntry"PerformanceLongTaskTiming"PerformanceLongTaskTiming"attributionPerformanceMark"PerformanceMark"PerformanceMeasure"PerformanceMeasure"PerformanceNavigation"PerformanceNavigation"TYPE_BACK_FORWARDTYPE_NAVIGATETYPE_RELOADTYPE_RESERVED255redirectCountPerformanceNavigationTiming"PerformanceNavigationTiming"domCompletedomContentLoadedEventEnddomContentLoadedEventStartdomInteractiveloadEventEndloadEventStartunloadEventEndunloadEventStartPerformanceObserver"PerformanceObserver"PerformanceObserverEntryList"PerformanceObserverEntryList"PerformancePaintTiming"PerformancePaintTiming"PerformanceResourceTiming"PerformanceResourceTiming"connectEndconnectStartdecodedBodySizedomainLookupEnddomainLookupStartencodedBodySizefetchStartinitiatorTypenextHopProtocolredirectEndredirectStartrequestStartresponseEndresponseStartsecureConnectionStartserverTimingtransferSizeworkerStartPerformanceServerTiming"PerformanceServerTiming"PerformanceTiming"PerformanceTiming"domLoadingnavigationStartPermissionStatus"PermissionStatus"Permissions"Permissions"requestAllrevokePhotoCapabilities"PhotoCapabilities"fillLightModeimageHeightimageWidthredEyeReductionPictureElement"HTMLPictureElement"HTMLPictureElementPlugin"Plugin"PluginArray"PluginArray"refreshPointerEvent"PointerEvent"isPrimarypointerTypepressuretangentialPressuretiltXtiltYtwistgetCoalescedEvents"PopStateEvent""PositionError,GeolocationPositionError"PositionError,GeolocationPositionErrorPERMISSION_DENIEDPOSITION_UNAVAILABLEPreElement"HTMLPreElement"HTMLPreElementPresentation"Presentation"defaultRequestPresentationAvailability"PresentationAvailability"PresentationConnection"PresentationConnection"binaryTypedata_OR_messageterminatePresentationConnectionAvailableEvent"PresentationConnectionAvailableEvent"PresentationConnectionCloseEvent"PresentationConnectionCloseEvent"PresentationConnectionList"PresentationConnectionList"connectionsPresentationReceiver"PresentationReceiver"connectionListPresentationRequest"PresentationRequest"url_OR_urlsgetAvailabilityreconnectProcessingInstruction"ProcessingInstruction"ProgressElement"HTMLProgressElement"HTMLProgressElement"ProgressEvent"lengthComputablePromiseRejectionEvent"PromiseRejectionEvent"promisePublicKeyCredential"PublicKeyCredential"rawIdPushEvent"PushEvent"PushManager"PushManager"supportedContentEncodingsgetSubscriptionpermissionStatesubscribePushMessageData"PushMessageData"PushSubscription"PushSubscription"endpointexpirationTimegetKeyunsubscribePushSubscriptionOptions"PushSubscriptionOptions"applicationServerKeyuserVisibleOnlyQuoteElement"HTMLQuoteElement"HTMLQuoteElementRange"Range"END_TO_ENDEND_TO_STARTSTART_TO_ENDSTART_TO_STARTcollapsedcommonAncestorContainerendContainerendOffsetstartContainerstartOffsetsupportsCreateContextualFragmentcloneContentscloneRangecollapsetoStartcompareBoundaryPointshowsourceRangecomparePointcreateContextualFragmentdeleteContentsextractContentsinsertNodeisPointInRangeselectNodeselectNodeContentssetEndsetEndAftersetEndBeforesetStartsetStartAftersetStartBeforesurroundContentsnewParentRelatedApplication"RelatedApplication"RelativeOrientationSensor"RelativeOrientationSensor"RemotePlayback"RemotePlayback"cancelWatchAvailabilitywatchAvailabilityavailableReportBody"ReportBody"ReportingObserver"ReportingObserver"reportsResizeObserver"ResizeObserver"ResizeObserverEntry"ResizeObserverEntry"contentRectRtcCertificate"RTCCertificate"RTCCertificategetFingerprintsRtcDataChannel"RTCDataChannel,DataChannel"RTCDataChannel,DataChannelbufferedAmountbufferedAmountLowThresholdmaxRetransmitTimemaxRetransmitsnegotiatedorderedreliablesendBlob'send'sendByteBuffersendStringsendTypedDataRtcDataChannelEvent"RTCDataChannelEvent"RTCDataChannelEventchannelRtcDtmfSender"RTCDTMFSender"RTCDTMFSendertoneChangeEventRtcDtmfToneChangeEvent'tonechange'tonechangecanInsertDtmf'canInsertDTMF'canInsertDTMFinterToneGaptoneBufferonToneChangeinsertDtmf'insertDTMF'insertDTMFtones"RTCDTMFToneChangeEvent"RTCDTMFToneChangeEventtoneRtcIceCandidate"RTCIceCandidate,mozRTCIceCandidate"RTCIceCandidate,mozRTCIceCandidatecandidatesdpMLineIndexsdpMiddictionaryRtcLegacyStatsReport"RTCLegacyStatsReport"RTCLegacyStatsReport_get_timestamp'timestamp'namesstatRtcPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnectionaddStreamEvent'addstream'addstreamconnectionStateChangeEvent'connectionstatechange'connectionstatechangedataChannelEvent'datachannel'datachanneliceCandidateEventRtcPeerConnectionIceEvent'icecandidate'icecandidateiceConnectionStateChangeEvent'iceconnectionstatechange'iceconnectionstatechangenegotiationNeededEvent'negotiationneeded'negotiationneededremoveStreamEvent'removestream'removestreamsignalingStateChangeEvent'signalingstatechange'signalingstatechangetrackEventRtcTrackEvent'track'connectionStateiceConnectionStateiceGatheringStatelocalDescriptionremoteDescriptionsignalingStateonAddStreamonConnectionStateChangeonDataChannelonIceCandidateonIceConnectionStateChangeonNegotiationNeededonRemoveStreamonSignalingStateChangeonTrackrtcIceServersmediaConstraintsgetLegacyStats_getStats'getStats'getStatsgenerateCertificatekeygenAlgorithmaddIceCandidatefailureCallbackexception_addStream_1'addStream'_addStream_2streamscreateAnswercreateDtmfSender'createDTMFSender'createDTMFSendercreateDataChanneldataChannelDict_createDataChannel_1'createDataChannel'_createDataChannel_2createOffergetLocalStreamsgetReceiversgetRemoteStreamsgetSendersremoveStreamsendersetConfiguration_setConfiguration_1'setConfiguration'setLocalDescriptionsetRemoteDescription"RTCPeerConnectionIceEvent"RTCPeerConnectionIceEventRtcRtpContributingSource"RTCRtpContributingSource"RTCRtpContributingSourceRtcRtpReceiver"RTCRtpReceiver"RTCRtpReceivergetContributingSourcesRtcRtpSender"RTCRtpSender"RTCRtpSenderRtcSessionDescription"RTCSessionDescription,mozRTCSessionDescription"RTCSessionDescription,mozRTCSessionDescriptionsdpRtcStatsReport"RTCStatsReport"RTCStatsReportRtcStatsResponse"RTCStatsResponse"RTCStatsResponse"RTCTrackEvent"RTCTrackEventScreen"Screen"_availHeight'availHeight'availHeight_availLeft'availLeft'availLeft_availTop'availTop'availTop_availWidth'availWidth'availWidthcolorDepthkeepAwakepixelDepthScreenOrientation"ScreenOrientation"lockunlockScriptElement"HTMLScriptElement"HTMLScriptElementdefernoModuleScrollState"ScrollState"deltaGranularitydeltaXdeltaYfromUserInputinInertialPhaseisBeginningisDirectManipulationisEndingpositionXpositionYvelocityXvelocityYscrollStateInitconsumeDeltadistributeToScrollChainDescendantScrollTimeline"ScrollTimeline"scrollSourcetimeRange"SecurityPolicyViolationEvent"blockedUri'blockedURI'blockedURIcolumnNumberdispositiondocumentUri'documentURI'documentURIeffectiveDirectiveoriginalPolicysamplestatusCodeviolatedDirectiveSelectElement"HTMLSelectElement"HTMLSelectElementselectedIndexselectedOptionsSelection"Selection"anchorNodeanchorOffsetbaseNodebaseOffsetextentNodeextentOffsetfocusNodefocusOffsetisCollapsedrangeCountaddRangecollapseToEndcollapseToStartcontainsNodeallowPartialContainmentdeleteFromDocumentextendgetRangeAtmodifyaltergranularityremoveAllRangesselectAllChildrensetBaseAndExtentsetPositionSensor"Sensor"activatedhasReadingSensorErrorEvent"SensorErrorEvent"ServiceWorker"ServiceWorker"scriptUrl'scriptURL'scriptURLServiceWorkerContainer"ServiceWorkerContainer"getRegistrationdocumentURLgetRegistrationsServiceWorkerGlobalScope"ServiceWorkerGlobalScope"activateEvent'activate'activatefetchEvent'fetch'foreignfetchEvent'foreignfetch'foreignfetchinstallEvent'install'installclientsregistrationonActivateonFetchonForeignfetchonInstallskipWaitingServiceWorkerRegistration"ServiceWorkerRegistration"backgroundFetchinstallingnavigationPreloadpaymentManagerpushManagergetNotificationsshowNotificationunregisterShadowElement"HTMLShadowElement"HTMLShadowElementShadowRoot"ShadowRoot"_shadowRootDeprecationReporteddelegatesFocusolderShadowRootresetStyleInheritanceapplyAuthorStyles_shadowRootDeprecationReportSharedArrayBuffer"SharedArrayBuffer"byteLengthSharedWorker"SharedWorker"SharedWorkerGlobalScope"SharedWorkerGlobalScope"connectEvent'connect'connectonConnectSlotElement"HTMLSlotElement"HTMLSlotElementassignedNodes_assignedNodes_1'assignedNodes'_assignedNodes_2SourceBuffer"SourceBuffer"appendWindowEndappendWindowStarttimestampOffsettrackDefaultsupdatingappendBufferappendTypedData'appendBuffer'SourceBufferList"SourceBufferList"SourceElement"HTMLSourceElement"HTMLSourceElementSpanElement"HTMLSpanElement"HTMLSpanElementSpeechGrammar"SpeechGrammar"SpeechGrammarList"SpeechGrammarList"addFromStringaddFromUriSpeechRecognition"SpeechRecognition"audioEndEvent'audioend'audioendaudioStartEvent'audiostart'audiostartendEvent'end'SpeechRecognitionErrornoMatchEventSpeechRecognitionEvent'nomatch'nomatchresultEvent'result'soundEndEvent'soundend'soundendsoundStartEvent'soundstart'soundstartspeechEndEvent'speechend'speechendspeechStartEvent'speechstart'speechstartstartEventaudioTrackcontinuousgrammarsinterimResultsmaxAlternativesonAudioEndonAudioStartonEndonNoMatchonResultonSoundEndonSoundStartonSpeechEndonSpeechStartonStartSpeechRecognitionAlternative"SpeechRecognitionAlternative"confidencetranscript"SpeechRecognitionError"initDict"SpeechRecognitionEvent"emmainterpretationresultIndexresults'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList'_SpeechRecognitionResultListSpeechRecognitionResult"SpeechRecognitionResult"isFinalSpeechSynthesis"SpeechSynthesis"pendingspeakinggetVoices_getVoices'getVoices'utteranceSpeechSynthesisEvent"SpeechSynthesisEvent"charIndexSpeechSynthesisUtterance"SpeechSynthesisUtterance"boundaryEvent'boundary'boundarymarkEventresumeEvent'resume'pitchratevoiceonBoundaryonMarkSpeechSynthesisVoice"SpeechSynthesisVoice"'default'defaultlocalServicevoiceUri'voiceURI'voiceURIStaticRange"StaticRange"Storage"Storage"'length''getItem'getItem_key'key'_removeItem'removeItem'removeItem_setItem'setItem'setItem"StorageEvent"storageArea_initStorageEvent'initStorageEvent'initStorageEventoldValueArgnewValueArgurlArgstorageAreaArgStorageManager"StorageManager"estimatepersistStyleElement"HTMLStyleElement"HTMLStyleElementStyleMedia"StyleMedia"matchMediummediaqueryStylePropertyMap"StylePropertyMap"StylePropertyMapReadonly"StylePropertyMapReadonly"getPropertiesStyleSheet"StyleSheet"ownerNodeSyncEvent"SyncEvent"lastChanceSyncManager"SyncManager"getTagsTableCaptionElement"HTMLTableCaptionElement"HTMLTableCaptionElementTableCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElementcellIndexheadersTableColElement"HTMLTableColElement"HTMLTableColElementTableElement"HTMLTableElement"HTMLTableElementtBodiesrowscaption_rows'rows'_tBodies'tBodies'tFoottHeadaddRowcreateCaptioncreateTBodycreateTFootcreateTHeadinsertRow_createTBody_nativeCreateTBody'createTBody'_createCaption'createCaption'_createTFoot'createTFoot'_createTHead'createTHead'deleteCaptiondeleteRowdeleteTFootdeleteTHead_insertRow'insertRow'TableRowElement"HTMLTableRowElement"HTMLTableRowElementcells_cells'cells'sectionRowIndexaddCellinsertCelldeleteCell_insertCell'insertCell'TableSectionElement"HTMLTableSectionElement"HTMLTableSectionElementTaskAttributionTiming"TaskAttributionTiming"containerIdcontainerNamecontainerSrccontainerTypeTemplateElement"HTMLTemplateElement"HTMLTemplateElementText"Text"wholeTextsplitTextTextAreaElement"HTMLTextAreaElement"HTMLTextAreaElementcolstextLengthwrapTextDetector"TextDetector"TextEvent"TextEvent"_initTextEvent'initTextEvent'initTextEventTextMetrics"TextMetrics"actualBoundingBoxAscentactualBoundingBoxDescentactualBoundingBoxLeftactualBoundingBoxRightalphabeticBaselineemHeightAscentemHeightDescentfontBoundingBoxAscentfontBoundingBoxDescenthangingBaselineideographicBaselineTextTrack"TextTrack"cueChangeEvent'cuechange'cuechangeactiveCuescuesonCueChangeaddCuecueremoveCueTextTrackCue"TextTrackCue"enterEvent'enter'enterexitEvent'exit'exitendTimepauseOnExitonEnteronExitTextTrackCueList"TextTrackCueList"getCueByIdTextTrackList"TextTrackList"TrackEventTimeElement"HTMLTimeElement"HTMLTimeElementTimeRanges"TimeRanges"TitleElement"HTMLTitleElement"HTMLTitleElementTouch"Touch"_radiusX'radiusX'_radiusY'radiusY''Element|Document'Element|Document__clientX__clientY__screenX__screenY__pageX__pageY__radiusX__radiusY"TouchEvent"changedTouchestargetTouchesTouchList"TouchList"TrackDefault"TrackDefault"byteStreamTrackIDkindsTrackDefaultList"TrackDefaultList"TrackElement"HTMLTrackElement"HTMLTrackElementERRORLOADEDNONEsrclang"TrackEvent""TransitionEvent,WebKitTransitionEvent"TransitionEvent,WebKitTransitionEventTreeWalker"TreeWalker"currentNodeTrustedHtml"TrustedHTML"TrustedHTMLunsafelyCreateTrustedScriptUrl"TrustedScriptURL"TrustedScriptURLTrustedUrl"TrustedURL"TrustedURLUIEvent"UIEvent"sourceCapabilities_get_view'view'_which'which'_initUIEvent'initUIEvent'initUIEventUListElement"HTMLUListElement"HTMLUListElementUnderlyingSourceBase"UnderlyingSourceBase"notifyLockAcquirednotifyLockReleasedpullUnknownElement"HTMLUnknownElement"HTMLUnknownElementUrl"URL"URLsearchParamscreateObjectUrlblob_OR_source_OR_streamcreateObjectUrlFromSourcecreateObjectUrlFromStreamcreateObjectUrlFromBlobrevokeObjectUrlUrlSearchParams"URLSearchParams"URLSearchParamsUrlUtilsReadOnlyVR"VR"getDevicesVRCoordinateSystem"VRCoordinateSystem"getTransformToVRDevice"VRDevice"deviceNameisExternalrequestSessionsupportsSessionVRDeviceEvent"VRDeviceEvent"deviceVRDisplay"VRDisplay"capabilitiesdepthFardepthNeardisplayNameisPresentingstageParameterscancelAnimationFrameexitPresentgetEyeParameterswhichEyegetFrameDataframeDatagetLayersrequestAnimationFramehighResTimerequestPresentlayerssubmitFrameVRDisplayCapabilities"VRDisplayCapabilities"canPresenthasExternalDisplaymaxLayersVRDisplayEvent"VRDisplayEvent"VREyeParameters"VREyeParameters"renderHeightrenderWidthVRFrameData"VRFrameData"leftProjectionMatrixleftViewMatrixrightProjectionMatrixrightViewMatrixVRFrameOfReference"VRFrameOfReference"boundsemulatedHeightVRPose"VRPose"VRSession"VRSession"requestFrameOfReferenceVRSessionEvent"VRSessionEvent"sessionVRStageBounds"VRStageBounds"geometryVRStageBoundsPoint"VRStageBoundsPoint"VRStageParameters"VRStageParameters"sittingToStandingTransformsizeXsizeZValidityState"ValidityState"badInputcustomErrorpatternMismatchrangeOverflowrangeUnderflowstepMismatchtooLongtooShorttypeMismatchvalidvalueMissingVideoElement"HTMLVideoElement"HTMLVideoElementpostervideoHeightvideoWidthdecodedFrameCount'webkitDecodedFrameCount'webkitDecodedFrameCountdroppedFrameCount'webkitDroppedFrameCount'webkitDroppedFrameCountgetVideoPlaybackQualityenterFullscreen'webkitEnterFullscreen'webkitEnterFullscreenVideoPlaybackQuality"VideoPlaybackQuality"corruptedVideoFramescreationTimedroppedVideoFramestotalVideoFramesVideoTrack"VideoTrack"sourceBufferVideoTrackList"VideoTrackList"VisualViewport"VisualViewport"pageLeftpageTopVttCue"VTTCue"VTTCuealign'num|String'num|StringsnapToLinesverticalgetCueAsHtml'getCueAsHTML'getCueAsHTMLVttRegion"VTTRegion"VTTRegionregionAnchorXregionAnchorYviewportAnchorXviewportAnchorYWebSocket"WebSocket"CLOSINGextensionsprotocols"WheelEvent"DOM_DELTA_LINEDOM_DELTA_PAGEDOM_DELTA_PIXEL_deltaX'deltaX'_deltaY'deltaY'deltaZdeltaMode_wheelDelta_wheelDeltaX_hasInitMouseScrollEvent_hasInitWheelEvent_initMouseScrollEvent'initMouseScrollEvent'initMouseScrollEventaxis_initWheelEvent'initWheelEvent'initWheelEventmodifiersListWindow"Window,DOMWindow"Window,DOMWindowcontentLoadedEvent'DOMContentLoaded'DOMContentLoadeddeviceMotionEvent'devicemotion'devicemotiondeviceOrientationEvent'deviceorientation'deviceorientationpageHideEvent'pagehide'pagehidepageShowEvent'pageshow'pageshowanimationEndEvent'webkitAnimationEnd'webkitAnimationEndanimationIterationEvent'webkitAnimationIteration'webkitAnimationIterationanimationStartEvent'webkitAnimationStart'webkitAnimationStartbeforeUnloadEvent'beforeunload'beforeunloadanimationFramedocument_locationindexedDB'23.0'23.0'15.0'15.0'10.0'10.0consolesupportsPointConversionsanimationWorkletapplicationCacheaudioWorkletcachescookieStorecryptocustomElementsdefaultStatusdefaultstatusexternalhistoryinnerHeightinnerWidthisSecureContextlocalStoragelocationbarmenubarnavigatoroffscreenBufferingopener_get_opener'opener'outerHeightouterWidth_pageXOffset'pageXOffset'pageXOffset_pageYOffset'pageYOffset'pageYOffset_get_parent'parent'performancescreenLeftscreenTopscrollbars_get_self'self'sessionStoragespeechSynthesisstatusbarstyleMediatoolbar_get_topvisualViewport'window'onContentLoaded'Window.ondblclick'Window.ondblclickonDeviceMotiononDeviceOrientationonPageHideonPageShowonAnimationEndonAnimationIterationonAnimationStartonBeforeUnloadscrollXscrollY_open2_open3_requestAnimationFrame'requestAnimationFrame'_cancelAnimationFrame'cancelAnimationFrame'_ensureRequestAnimationFramerequestFileSystempersistentindex_OR_name__getter___1'__getter__'__getter___2alertcancelIdleCallbackconfirmfindbackwardswholeWordsearchInFramesshowDialog_getComputedStyle'getComputedStyle'eltpseudoEltgetComputedStyleMapgetMatchedCssRules'getMatchedCSSRules'getMatchedCSSRulesmatchMediamoveBytargetOriginrequestIdleCallbackdeadline_requestIdleCallback_1'requestIdleCallback'_requestIdleCallback_2resizeByresizeToscrollOptions_scroll_4_scroll_5_scrollBy_4_scrollBy_5_scrollTo_4_scrollTo_5__requestFileSystem_requestFileSystem_resolveLocalFileSystemUrlresolveLocalFileSystemUrlatobbtoa_setInterval_String'setInterval'setInterval_setTimeout_String'setTimeout'setTimeout_clearInterval'clearInterval'clearInterval_clearTimeout'clearTimeout'clearTimeout_setInterval_setTimeoutWindowBase64WindowClient"WindowClient"focusednavigateWindowEventHandlersWorker"Worker"WorkerGlobalScope"WorkerGlobalScope"importScriptsurlsWorkerPerformance"WorkerPerformance"WorkletAnimation"WorkletAnimation"animatorNameeffectstimelinesWorkletGlobalScope"WorkletGlobalScope"XPathEvaluator"XPathEvaluator"createExpressionexpressionresolvercreateNSResolvernodeResolverevaluatecontextNodeinResultXPathExpression"XPathExpression"XPathNSResolver"XPathNSResolver"lookupNamespaceUri'lookupNamespaceURI'lookupNamespaceURIXPathResult"XPathResult"ANY_TYPEANY_UNORDERED_NODE_TYPEBOOLEAN_TYPEFIRST_ORDERED_NODE_TYPENUMBER_TYPEORDERED_NODE_ITERATOR_TYPEORDERED_NODE_SNAPSHOT_TYPESTRING_TYPEUNORDERED_NODE_ITERATOR_TYPEUNORDERED_NODE_SNAPSHOT_TYPEbooleanValueinvalidIteratorStatenumberValueresultTypesingleNodeValuesnapshotLengthstringValueiterateNextsnapshotItemXmlDocument"XMLDocument"XMLDocumentXmlSerializer"XMLSerializer"XMLSerializerserializeToStringXsltProcessor"XSLTProcessor"XSLTProcessorclearParametersgetParameterimportStylesheetremoveParametersetParametertransformToDocumenttransformToFragment_Attr"Attr"Attr_Bluetooth"Bluetooth"Bluetooth_BluetoothCharacteristicProperties"BluetoothCharacteristicProperties"BluetoothCharacteristicProperties_BluetoothDevice"BluetoothDevice"BluetoothDevice_BluetoothRemoteGATTCharacteristic"BluetoothRemoteGATTCharacteristic"BluetoothRemoteGATTCharacteristic_BluetoothRemoteGATTServer"BluetoothRemoteGATTServer"BluetoothRemoteGATTServer_BluetoothRemoteGATTService"BluetoothRemoteGATTService"BluetoothRemoteGATTService_BluetoothUUID"BluetoothUUID"BluetoothUUID_BudgetService"BudgetService"BudgetServicegetBudgetgetCostoperationreserve_Cache"Cache"Cache_CanvasPath_Clipboard"Clipboard"ClipboardreadreadTextwriteText"CSSRuleList"CSSRuleList_DOMFileSystemSync"DOMFileSystemSync"DOMFileSystemSync_DirectoryEntrySync"DirectoryEntrySync"DirectoryEntrySync_DirectoryReaderSync"DirectoryReaderSync"DirectoryReaderSync_DocumentType"DocumentType"DocumentType"ClientRect,DOMRect"ClientRect,DOMRect_EntrySync"EntrySync"EntrySync_FileEntrySync"FileEntrySync"FileEntrySync_FileReaderSync"FileReaderSync"FileReaderSync_FileWriterSync"FileWriterSync"FileWriterSync"GamepadList"GamepadList_HTMLAllCollection"HTMLAllCollection"HTMLAllCollection_HTMLDirectoryElement"HTMLDirectoryElement"HTMLDirectoryElement_HTMLFontElement"HTMLFontElement"HTMLFontElement_HTMLFrameElement"HTMLFrameElement"HTMLFrameElement_HTMLFrameSetElement"HTMLFrameSetElement"HTMLFrameSetElement_HTMLMarqueeElement"HTMLMarqueeElement"HTMLMarqueeElement_Mojo"Mojo"Mojo_MojoHandle"MojoHandle"MojoHandle_MojoInterfaceInterceptor"MojoInterfaceInterceptor"MojoInterfaceInterceptorinterfaceName_MojoInterfaceRequestEvent"MojoInterfaceRequestEvent"MojoInterfaceRequestEvent_MojoWatcher"MojoWatcher"MojoWatcher_NFC"NFC"NFC_NamedNodeMap"NamedNodeMap,MozNamedAttrMap"NamedNodeMap,MozNamedAttrMapgetNamedItemgetNamedItemNSremoveNamedItemremoveNamedItemNSsetNamedItemattrsetNamedItemNS_PagePopupController"PagePopupController"PagePopupController_Report"Report"Report_Request"Request"RequestcacheredirectrequestInitDict_ResourceProgressEvent"ResourceProgressEvent"ResourceProgressEvent_Response"Response"Response"SpeechRecognitionResultList"SpeechRecognitionResultList"StyleSheetList"StyleSheetList_SubtleCrypto"SubtleCrypto"SubtleCrypto_USB"USB"USB_USBAlternateInterface"USBAlternateInterface"USBAlternateInterfacedeviceInterfacealternateSetting_USBConfiguration"USBConfiguration"USBConfigurationconfigurationValue_USBConnectionEvent"USBConnectionEvent"USBConnectionEvent_USBDevice"USBDevice"USBDevice_USBEndpoint"USBEndpoint"USBEndpointalternateendpointNumber_USBInTransferResult"USBInTransferResult"USBInTransferResult_USBInterface"USBInterface"USBInterfaceinterfaceNumber_USBIsochronousInTransferPacket"USBIsochronousInTransferPacket"USBIsochronousInTransferPacket_USBIsochronousInTransferResult"USBIsochronousInTransferResult"USBIsochronousInTransferResultpackets_USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacketbytesWritten_USBIsochronousOutTransferResult"USBIsochronousOutTransferResult"USBIsochronousOutTransferResult_USBOutTransferResult"USBOutTransferResult"USBOutTransferResult_WindowTimers_WorkerLocation"WorkerLocation"WorkerLocation_WorkerNavigator"WorkerNavigator"WorkerNavigator_Worklet"Worklet"Worklet_AttributeMap_matches_ElementAttributeMap_NamespacedAttributeMap_namespace_DataAttributeMap_attr_strip_toCamelCasehyphenedNamestartUppercase_toHyphenedNamewordCanvasImageSourceWindowBaseLocationBasevalHistoryBasedistanceCssClassSetfrozenshouldAddtoggleAll_ContentCssRectnewHeightnewWidth_ContentCssListRect_elementListelementList_PaddingCssRect_BorderCssRect_MarginCssRectCssRect_addOrSubtractToBoxModelaugmentingMeasurement_MultiElementCssClassSet_setsreadClasseswriteClasses_ElementCssClassSet_contains_toggle_toggleDefault_toggleOnOff_removeAll_removeWheredoRemove_classListOf_classListLength_classListContains_classListContainsBeforeAddOrRemove_classListAdd_classListRemove_classListToggle1_classListToggle2Dimension_unitcssValue_eventTypeforTargetforElement_forElementListgetEventTypeElementStream_EventStream_useCapture_ElementEventStreamImpl_ElementListEventStreamImpl_targetList_EventStreamSubscription_pauseCount_canceled_tryResume_unlistenCustomStream_CustomEventStreamImpl_streamController_CustomKeyEventStreamImpl_StreamPool_subscriptions_eventTypeGetter_Html5NodeValidator_allowedElements_standardAttributes'*::class'*::class'*::dir'*::dir'*::draggable'*::draggable'*::hidden'*::hidden'*::id'*::id'*::inert'*::inert'*::itemprop'*::itemprop'*::itemref'*::itemref'*::itemscope'*::itemscope'*::lang'*::lang'*::spellcheck'*::spellcheck'*::title'*::title'*::translate'*::translate'A::accesskey'A::accesskey'A::coords'A::coords'A::hreflang'A::hreflang'A::name'A::name'A::shape'A::shape'A::tabindex'A::tabindex'A::target'A::target'A::type'A::type'AREA::accesskey'AREA::accesskey'AREA::alt'AREA::alt'AREA::coords'AREA::coords'AREA::nohref'AREA::nohref'AREA::shape'AREA::shape'AREA::tabindex'AREA::tabindex'AREA::target'AREA::target'AUDIO::controls'AUDIO::controls'AUDIO::loop'AUDIO::loop'AUDIO::mediagroup'AUDIO::mediagroup'AUDIO::muted'AUDIO::muted'AUDIO::preload'AUDIO::preload'BDO::dir'BDO::dir'BODY::alink'BODY::alink'BODY::bgcolor'BODY::bgcolor'BODY::link'BODY::link'BODY::text'BODY::text'BODY::vlink'BODY::vlink'BR::clear'BR::clear'BUTTON::accesskey'BUTTON::accesskey'BUTTON::disabled'BUTTON::disabled'BUTTON::name'BUTTON::name'BUTTON::tabindex'BUTTON::tabindex'BUTTON::type'BUTTON::type'BUTTON::value'BUTTON::value'CANVAS::height'CANVAS::height'CANVAS::width'CANVAS::width'CAPTION::align'CAPTION::align'COL::align'COL::align'COL::char'COL::char'COL::charoff'COL::charoff'COL::span'COL::span'COL::valign'COL::valign'COL::width'COL::width'COLGROUP::align'COLGROUP::align'COLGROUP::char'COLGROUP::char'COLGROUP::charoff'COLGROUP::charoff'COLGROUP::span'COLGROUP::span'COLGROUP::valign'COLGROUP::valign'COLGROUP::width'COLGROUP::width'COMMAND::checked'COMMAND::checked'COMMAND::command'COMMAND::command'COMMAND::disabled'COMMAND::disabled'COMMAND::label'COMMAND::label'COMMAND::radiogroup'COMMAND::radiogroup'COMMAND::type'COMMAND::type'DATA::value'DATA::value'DEL::datetime'DEL::datetime'DETAILS::open'DETAILS::open'DIR::compact'DIR::compact'DIV::align'DIV::align'DL::compact'DL::compact'FIELDSET::disabled'FIELDSET::disabled'FONT::color'FONT::color'FONT::face'FONT::face'FONT::size'FONT::size'FORM::accept'FORM::accept'FORM::autocomplete'FORM::autocomplete'FORM::enctype'FORM::enctype'FORM::method'FORM::method'FORM::name'FORM::name'FORM::novalidate'FORM::novalidate'FORM::target'FORM::target'FRAME::name'FRAME::name'H1::align'H1::align'H2::align'H2::align'H3::align'H3::align'H4::align'H4::align'H5::align'H5::align'H6::align'H6::align'HR::align'HR::align'HR::noshade'HR::noshade'HR::size'HR::size'HR::width'HR::width'HTML::version'HTML::version'IFRAME::align'IFRAME::align'IFRAME::frameborder'IFRAME::frameborder'IFRAME::height'IFRAME::height'IFRAME::marginheight'IFRAME::marginheight'IFRAME::marginwidth'IFRAME::marginwidth'IFRAME::width'IFRAME::width'IMG::align'IMG::align'IMG::alt'IMG::alt'IMG::border'IMG::border'IMG::height'IMG::height'IMG::hspace'IMG::hspace'IMG::ismap'IMG::ismap'IMG::name'IMG::name'IMG::usemap'IMG::usemap'IMG::vspace'IMG::vspace'IMG::width'IMG::width'INPUT::accept'INPUT::accept'INPUT::accesskey'INPUT::accesskey'INPUT::align'INPUT::align'INPUT::alt'INPUT::alt'INPUT::autocomplete'INPUT::autocomplete'INPUT::autofocus'INPUT::autofocus'INPUT::checked'INPUT::checked'INPUT::disabled'INPUT::disabled'INPUT::inputmode'INPUT::inputmode'INPUT::ismap'INPUT::ismap'INPUT::list'INPUT::list'INPUT::max'INPUT::max'INPUT::maxlength'INPUT::maxlength'INPUT::min'INPUT::min'INPUT::multiple'INPUT::multiple'INPUT::name'INPUT::name'INPUT::placeholder'INPUT::placeholder'INPUT::readonly'INPUT::readonly'INPUT::required'INPUT::required'INPUT::size'INPUT::size'INPUT::step'INPUT::step'INPUT::tabindex'INPUT::tabindex'INPUT::type'INPUT::type'INPUT::usemap'INPUT::usemap'INPUT::value'INPUT::value'INS::datetime'INS::datetime'KEYGEN::disabled'KEYGEN::disabled'KEYGEN::keytype'KEYGEN::keytype'KEYGEN::name'KEYGEN::name'LABEL::accesskey'LABEL::accesskey'LABEL::for'LABEL::for'LEGEND::accesskey'LEGEND::accesskey'LEGEND::align'LEGEND::align'LI::type'LI::type'LI::value'LI::value'LINK::sizes'LINK::sizes'MAP::name'MAP::name'MENU::compact'MENU::compact'MENU::label'MENU::label'MENU::type'MENU::type'METER::high'METER::high'METER::low'METER::low'METER::max'METER::max'METER::min'METER::min'METER::value'METER::value'OBJECT::typemustmatch'OBJECT::typemustmatch'OL::compact'OL::compact'OL::reversed'OL::reversed'OL::start'OL::start'OL::type'OL::type'OPTGROUP::disabled'OPTGROUP::disabled'OPTGROUP::label'OPTGROUP::label'OPTION::disabled'OPTION::disabled'OPTION::label'OPTION::label'OPTION::selected'OPTION::selected'OPTION::value'OPTION::value'OUTPUT::for'OUTPUT::for'OUTPUT::name'OUTPUT::name'P::align'P::align'PRE::width'PRE::width'PROGRESS::max'PROGRESS::max'PROGRESS::min'PROGRESS::min'PROGRESS::value'PROGRESS::value'SELECT::autocomplete'SELECT::autocomplete'SELECT::disabled'SELECT::disabled'SELECT::multiple'SELECT::multiple'SELECT::name'SELECT::name'SELECT::required'SELECT::required'SELECT::size'SELECT::size'SELECT::tabindex'SELECT::tabindex'SOURCE::type'SOURCE::type'TABLE::align'TABLE::align'TABLE::bgcolor'TABLE::bgcolor'TABLE::border'TABLE::border'TABLE::cellpadding'TABLE::cellpadding'TABLE::cellspacing'TABLE::cellspacing'TABLE::frame'TABLE::frame'TABLE::rules'TABLE::rules'TABLE::summary'TABLE::summary'TABLE::width'TABLE::width'TBODY::align'TBODY::align'TBODY::char'TBODY::char'TBODY::charoff'TBODY::charoff'TBODY::valign'TBODY::valign'TD::abbr'TD::abbr'TD::align'TD::align'TD::axis'TD::axis'TD::bgcolor'TD::bgcolor'TD::char'TD::char'TD::charoff'TD::charoff'TD::colspan'TD::colspan'TD::headers'TD::headers'TD::height'TD::height'TD::nowrap'TD::nowrap'TD::rowspan'TD::rowspan'TD::scope'TD::scope'TD::valign'TD::valign'TD::width'TD::width'TEXTAREA::accesskey'TEXTAREA::accesskey'TEXTAREA::autocomplete'TEXTAREA::autocomplete'TEXTAREA::cols'TEXTAREA::cols'TEXTAREA::disabled'TEXTAREA::disabled'TEXTAREA::inputmode'TEXTAREA::inputmode'TEXTAREA::name'TEXTAREA::name'TEXTAREA::placeholder'TEXTAREA::placeholder'TEXTAREA::readonly'TEXTAREA::readonly'TEXTAREA::required'TEXTAREA::required'TEXTAREA::rows'TEXTAREA::rows'TEXTAREA::tabindex'TEXTAREA::tabindex'TEXTAREA::wrap'TEXTAREA::wrap'TFOOT::align'TFOOT::align'TFOOT::char'TFOOT::char'TFOOT::charoff'TFOOT::charoff'TFOOT::valign'TFOOT::valign'TH::abbr'TH::abbr'TH::align'TH::align'TH::axis'TH::axis'TH::bgcolor'TH::bgcolor'TH::char'TH::char'TH::charoff'TH::charoff'TH::colspan'TH::colspan'TH::headers'TH::headers'TH::height'TH::height'TH::nowrap'TH::nowrap'TH::rowspan'TH::rowspan'TH::scope'TH::scope'TH::valign'TH::valign'TH::width'TH::width'THEAD::align'THEAD::align'THEAD::char'THEAD::char'THEAD::charoff'THEAD::charoff'THEAD::valign'THEAD::valign'TR::align'TR::align'TR::bgcolor'TR::bgcolor'TR::char'TR::char'TR::charoff'TR::charoff'TR::valign'TR::valign'TRACK::default'TRACK::default'TRACK::kind'TRACK::kind'TRACK::label'TRACK::label'TRACK::srclang'TRACK::srclang'UL::compact'UL::compact'UL::type'UL::type'VIDEO::controls'VIDEO::controls'VIDEO::height'VIDEO::height'VIDEO::loop'VIDEO::loop'VIDEO::mediagroup'VIDEO::mediagroup'VIDEO::muted'VIDEO::muted'VIDEO::preload'VIDEO::preload'VIDEO::width'VIDEO::width_uriAttributes'A::href'A::href'AREA::href'AREA::href'BLOCKQUOTE::cite'BLOCKQUOTE::cite'BODY::background'BODY::background'COMMAND::icon'COMMAND::icon'DEL::cite'DEL::cite'FORM::action'FORM::action'IMG::src'IMG::src'INPUT::src'INPUT::src'INS::cite'INS::cite'Q::cite'Q::cite'VIDEO::poster'VIDEO::posteruriPolicy_attributeValidatorsallowsElementallowsAttribute_standardAttributeValidatorcontext_uriAttributeValidatorImmutableListMixinKeyCodeWIN_KEY_FF_LINUXMAC_ENTERBACKSPACETABNUM_CENTERENTERSHIFTCTRL17ALT18PAUSE19CAPS_LOCKESC27SPACEPAGE_UP33PAGE_DOWN34END35HOMELEFT37UP38RIGHT39DOWN40NUM_NORTH_EASTNUM_SOUTH_EASTNUM_SOUTH_WESTNUM_NORTH_WESTNUM_WESTNUM_NORTHNUM_EASTNUM_SOUTHPRINT_SCREEN44INSERT45NUM_INSERTDELETE46NUM_DELETEZERO48ONE49TWO50THREE51FOUR52FIVE53SIX54SEVEN55EIGHT56NINE57FF_SEMICOLON59FF_EQUALS61QUESTION_MARK6365B666768697071H7273J7475L767778O79P80Q818283848586W8788Y89Z9091WIN_KEY_LEFTWIN_KEY_RIGHT92CONTEXT_MENU93NUM_ZERO96NUM_ONE97NUM_TWO98NUM_THREE99NUM_FOUR100NUM_FIVE101NUM_SIX102NUM_SEVEN103NUM_EIGHT104NUM_NINE105NUM_MULTIPLY106NUM_PLUS107NUM_MINUS109NUM_PERIOD110NUM_DIVISION111F1112F2113F3114F4115F5116F6117F7118F8119F9120F10121F11122F12123NUMLOCK144SCROLL_LOCK145FIRST_MEDIA_KEY166LAST_MEDIA_KEY183SEMICOLON186DASH189EQUALS187COMMA188PERIOD190SLASH191APOSTROPHE192TILDESINGLE_QUOTE222OPEN_SQUARE_BRACKET219BACKSLASH220CLOSE_SQUARE_BRACKET221WIN_KEY224MAC_FF_METAWIN_IME229isCharacterKey_convertKeyCodeToKeyNameKeyLocationSTANDARDNUMPADMOBILEJOYSTICK_KeyNameACCEPT"Accept"AcceptADD"Add"AddAGAIN"Again"AgainALL_CANDIDATES"AllCandidates"AllCandidatesALPHANUMERIC"Alphanumeric"Alphanumeric"Alt"AltALT_GRAPH"AltGraph"AltGraphAPPS"Apps"AppsATTN"Attn"AttnBROWSER_BACK"BrowserBack"BrowserBackBROWSER_FAVORTIES"BrowserFavorites"BrowserFavoritesBROWSER_FORWARD"BrowserForward"BrowserForwardBROWSER_NAME"BrowserHome"BrowserHomeBROWSER_REFRESH"BrowserRefresh"BrowserRefreshBROWSER_SEARCH"BrowserSearch"BrowserSearchBROWSER_STOP"BrowserStop"BrowserStopCAMERA"Camera"Camera"CapsLock"CapsLockCLEAR"Clear"ClearCODE_INPUT"CodeInput"CodeInputCOMPOSE"Compose"ComposeCONTROL"Control"ControlCRSEL"Crsel"CrselCONVERT"Convert"ConvertCOPY"Copy"CopyCUT"Cut"CutDECIMAL"Decimal"DecimalDIVIDE"Divide"Divide"Down"DownDOWN_LEFT"DownLeft"DownLeftDOWN_RIGHT"DownRight"DownRightEJECT"Eject"Eject"End"End"Enter"EnterERASE_EOF"EraseEof"EraseEofEXECUTE"Execute"ExecuteEXSEL"Exsel"ExselFN"Fn"Fn"F1""F2""F3""F4""F5""F6""F7""F8""F9""F10""F11""F12"F13"F13"F14"F14"F15"F15"F16"F16"F17"F17"F18"F18"F19"F19"F20"F20"F21"F21"F22"F22"F23"F23"F24"F24"FINAL_MODE"FinalMode"FinalModeFIND"Find"FindFULL_WIDTH"FullWidth"FullWidthHALF_WIDTH"HalfWidth"HalfWidthHANGUL_MODE"HangulMode"HangulModeHANJA_MODE"HanjaMode"HanjaModeHELP"Help"HelpHIRAGANA"Hiragana"Hiragana"Home"Home"Insert"InsertJAPANESE_HIRAGANA"JapaneseHiragana"JapaneseHiraganaJAPANESE_KATAKANA"JapaneseKatakana"JapaneseKatakanaJAPANESE_ROMAJI"JapaneseRomaji"JapaneseRomajiJUNJA_MODE"JunjaMode"JunjaModeKANA_MODE"KanaMode"KanaModeKANJI_MODE"KanjiMode"KanjiModeKATAKANA"Katakana"KatakanaLAUNCH_APPLICATION_1"LaunchApplication1"LaunchApplication1LAUNCH_APPLICATION_2"LaunchApplication2"LaunchApplication2LAUNCH_MAIL"LaunchMail"LaunchMail"Left"LeftMENU"Menu"Menu"Meta"MetaMEDIA_NEXT_TRACK"MediaNextTrack"MediaNextTrackMEDIA_PAUSE_PLAY"MediaPlayPause"MediaPlayPauseMEDIA_PREVIOUS_TRACK"MediaPreviousTrack"MediaPreviousTrackMEDIA_STOP"MediaStop"MediaStopMODE_CHANGE"ModeChange"ModeChangeNEXT_CANDIDATE"NextCandidate"NextCandidateNON_CONVERT"Nonconvert"NonconvertNUM_LOCK"NumLock"NumLock"PageDown"PageDown"PageUp"PageUpPASTE"Paste"Paste"Pause"PausePLAY"Play"PlayPOWER"Power"PowerPREVIOUS_CANDIDATE"PreviousCandidate"PreviousCandidate"PrintScreen"PrintScreenPROCESS"Process"ProcessPROPS"Props"Props"Right"RightROMAN_CHARACTERS"RomanCharacters"RomanCharactersSCROLL"Scroll"ScrollSELECT"Select"SelectSELECT_MEDIA"SelectMedia"SelectMediaSEPARATOR"Separator"Separator"Shift"ShiftSOFT_1"Soft1"Soft1SOFT_2"Soft2"Soft2SOFT_3"Soft3"Soft3SOFT_4"Soft4"Soft4STOP"Stop"StopSUBTRACT"Subtract"SubtractSYMBOL_LOCK"SymbolLock"SymbolLock"Up"UpUP_LEFT"UpLeft"UpLeftUP_RIGHT"UpRight"UpRightUNDO"Undo"UndoVOLUME_DOWN"VolumeDown"VolumeDownVOLUMN_MUTE"VolumeMute"VolumeMuteVOLUMN_UP"VolumeUp"VolumeUpWIN"Win"WinZOOM"Zoom"Zoom"Backspace"Backspace"Tab"TabCANCEL"Cancel"Cancel"Esc"EscSPACEBAR"Spacebar"SpacebarDEL"Del"DelDEAD_GRAVE"DeadGrave"DeadGraveDEAD_EACUTE"DeadEacute"DeadEacuteDEAD_CIRCUMFLEX"DeadCircumflex"DeadCircumflexDEAD_TILDE"DeadTilde"DeadTildeDEAD_MACRON"DeadMacron"DeadMacronDEAD_BREVE"DeadBreve"DeadBreveDEAD_ABOVE_DOT"DeadAboveDot"DeadAboveDotDEAD_UMLAUT"DeadUmlaut"DeadUmlautDEAD_ABOVE_RING"DeadAboveRing"DeadAboveRingDEAD_DOUBLEACUTE"DeadDoubleacute"DeadDoubleacuteDEAD_CARON"DeadCaron"DeadCaronDEAD_CEDILLA"DeadCedilla"DeadCedillaDEAD_OGONEK"DeadOgonek"DeadOgonekDEAD_IOTA"DeadIota"DeadIotaDEAD_VOICED_SOUND"DeadVoicedSound"DeadVoicedSoundDEC_SEMIVOICED_SOUND"DeadSemivoicedSound"DeadSemivoicedSoundUNIDENTIFIED"Unidentified"Unidentified_KeyboardEventHandler_keyDownList_ROMAN_ALPHABET_OFFSET_EVENT_TYPE'KeyEvent'KeyEvent_keyIdentifier'Up''Down''Left''Right''Enter''F1''F2''F3''F4''F5''F6''F7''F8''F9''F10''F11''F12''U+007F'U+007F'Home''End''PageUp''PageDown''Insert'_capsLockOninitializeAllEventListeners_determineKeyCodeForKeypress_findCharCodeKeyDown_firesKeyPressEvent_normalizeKeyCodesprocessKeyDownprocessKeyPressprocessKeyUpKeyboardEventStreamNodeValidatorBuilder_validatorscommonallowNavigationallowImagesallowTextElementsallowInlineStylesallowHtml5allowSvgallowCustomElementuriAttributesallowTagExtensionbaseNameallowElementallowTemplating_SimpleNodeValidatorallowedElementsallowedAttributesallowedUriAttributes_CustomElementNodeValidatorallowTypeExtensionallowCustomTag_TemplatingNodeValidator_TEMPLATE_ATTRS'bind''if'if'ref''repeat''syntax'syntax_templateAttrs_SvgNodeValidatorReadyState"loading"INTERACTIVE"interactive"interactiveCOMPLETE"complete"_WrappedList_WrappedIterator_HttpRequestUtilsonCompleteFixedSizeListIterator_array_VariableSizeListIteratorConsole_safeConsole_safe_isConsoleDefinedassertConditionconditioncountResetdebugdirxmlgroupCollapsedgroupEndinfotabularDatapropertiestimeEndtimeLogtracewarnprofileprofileEndmarkTimeline_JSElementUpgrader_interceptor_constructor_nativeTypeupgrade_DOMWindowCrossFrame_window_createSafe_LocationCrossFrame_setHref_HistoryCrossFrame_history_shadowAltKey_shadowCharCode_shadowKeyCode_currentTarget_keyboardEventDispatchRecord_realKeyCode_realCharCode_realAltKeycanUseDispatchEvent_shadowKeyIdentifierisComposed_makeRecord_convertToHexStringkeyArgumentPlatformsupportsTypedDatasupportsSimd_WrappedEventwrappedElementUpgraderNodeValidatorthrowsNodeTreeSanitizertrusted_TrustedHtmlTreeSanitizersanitizeTreeUriPolicyallowsUri_SameOriginUriPolicy_hiddenAnchor_loc_ThrowsNodeValidator_ValidatingTreeSanitizernumTreeModifications_removeNode_sanitizeUntrustedElement_sanitizeElementcorruptedattrsisAttrsanitizeNodepromiseToFutureAsMapjsPromise_matchesWithAncestors_convertNativeToDart_Windowwin_convertNativeToDart_EventTarget_convertDartToNative_EventTarget_convertNativeToDart_XHR_Response_callConstructorinterceptor_callAttached_callDetached_callAttributeChanged_makeCallbackMethod_makeCallbackMethod3_checkExtendsNativeClassOrTemplatebaseClassName_registerCustomElement_initializeCustomElement_wrapZone_wrapBinaryZoneFontFaceSetForEachCallbackBlobCallbackCustomElementConstructorDecodeErrorCallbackDecodeSuccessCallbackdecodedData_EntriesCallback_EntryCallback_ErrorCallback_FileCallback_FileSystemCallback_FileWriterCallbackFrameRequestCallbackFunctionStringCallbackIdleRequestCallbackIntersectionObserverCallbackMediaSessionActionHandlerMessageCallbackMetadataCallbackMojoWatchCallbackMutationCallback_NavigatorUserMediaErrorCallback_NavigatorUserMediaSuccessCallback_NotificationPermissionCallbackPerformanceObserverCallback_PositionCallback_PositionErrorCallbackRtcPeerConnectionErrorCallback_RtcSessionDescriptionCallbackRtcStatsCallbackRemotePlaybackAvailabilityCallbackReportingObserverCallbackRequestAnimationFrameCallbackResizeObserverCallbackScrollStateCallbackStorageErrorCallbackStorageQuotaCallbackStorageUsageCallbackTimeoutHandlerVoidCallbackEventListener_HEIGHT_WIDTH_CONTENT_PADDING_MARGIN_workerSelfhtml_commondart:htmlWhereIterableInterceptorJSObjectdart:_metadatacss_class_set.dartdart:html_common/css_class_set.dartCssClassSetImpl_validTokenRE_validateTokencollectionconversions.dartdart:html_common/conversions.dart_StructuredClonecopiesfindSlotreadSlotiwriteSlotcleanupSlotscloneNotRequirednewJsObjectforEachObjectKeyputIntoObjectnewJsMapnewJsListputIntoMapwalkcopyListconvertDartToNative_PrepareForStructuredClone_AcceptStructuredClonemustCopyidenticalInJsforEachJsFieldnewDartListconvertNativeToDart_AcceptStructuredCloneContextAttributesfailIfMajorPerformanceCaveat_TypedImageDataconvertDartToNative_SerializedScriptValueconvertNativeToDart_SerializedScriptValueconvertNativeToDart_ContextAttributesnativeContextAttributesconvertNativeToDart_ImageDatanativeImageDataconvertDartToNative_ImageDataimageDataconversions_dart2js.dartdart:html_common/conversions_dart2js.dart_StructuredCloneDart2Js_AcceptStructuredCloneDart2Js_convertNativeToDart_ValueconvertNativeToDart_Dictionary_convertDartToNative_ValueconvertDartToNative_DictionarydictpostCreateconvertDartToNative_StringArrayconvertNativeToDart_DateTimedateconvertDartToNative_DateTimeisJavaScriptDateisJavaScriptRegExpisJavaScriptArrayisJavaScriptSimpleObjectisImmutableJavaScriptArrayisJavaScriptPromise_serializedScriptValue'num|String|bool|'num|String|bool|'JSExtendableArray|=Object|'JSExtendableArray|=Object|'Blob|File|NativeByteBuffer|NativeTypedData|MessagePort'Blob|File|NativeByteBuffer|NativeTypedData|MessagePortdevice.dartdart:html_common/device.dartDeviceisOperaisIEisFirefoxisWebKitcssPrefixpropertyPrefixisEventTypeSupportedfiltered_element_list.dartdart:html_common/filtered_element_list.dartFilteredElementList_node_childNodes_iterable_filteredlists.dartdart:html_common/lists.dartListsaccumulatorNodeListWrapperdart.dom.indexed_db_KeyRangeFactoryProvider_cachedClasscreateKeyRange_onlycreateKeyRange_lowerBoundboundcreateKeyRange_upperBoundcreateKeyRange_boundlowerupperlowerOpenupperOpen_class_uncachedClass_translateKeyidbkey_onlycls_lowerBound_upperBound_boundCursor"IDBCursor"IDBCursor_annotation_Creates_IDBKey_annotation_Returns_IDBKeyprimaryKey'ObjectStore|Index|Null'ObjectStore|Index|Null'continue'continueadvancecontinuePrimaryKey_delete'delete'_update_1CursorWithValue"IDBCursorWithValue"IDBCursorWithValue_get_value'value'Database'15'"IDBDatabase"IDBDatabaseversionChangeEventVersionChangeEvent'versionchange'versionchangeobjectStoreNames'int|String|Null'int|String|NullonVersionChangecreateObjectStorekeyPathautoIncrementtransactionstoreName_OR_storeNamestransactionStorestoreNametransactionListstoreNamestransactionStores_transaction'transaction'stores_createObjectStore_createObjectStore_1'createObjectStore'_createObjectStore_2deleteObjectStoreIdbFactory"IDBFactory"IDBFactorysupportsDatabaseNames'No longer supported on modern browsers. Always returns false.'No longer supported on modern browsers. Always returns false.onUpgradeNeededonBlockeddeleteDatabasecmp_deleteDatabase'deleteDatabase'_open'Request''Database'Index"IDBIndex"IDBIndexmultiEntryobjectStoreuniquekey_OR_rangeopenCursorautoAdvanceopenKeyCursor'count'_get'get'getAllKeys_getKey'getKey''ObjectStore'ObjectStore_openCursor'openCursor''Cursor'_openKeyCursor'openKeyCursor'KeyRange"IDBKeyRange"IDBKeyRangeonlylowerBoundupperBoundbound_'bound'includeslowerBound_'lowerBound'only_'only'upperBound_'upperBound'"IDBObjectStore"IDBObjectStoreindexNameskey_OR_keyRangeputgetObjectcreateIndex_add_1_add_2_createIndex_createIndex_1'createIndex'_createIndex_2deleteIndex_put_put_1'put'_put_2_cursorStreamFromResultObservation"IDBObservation"IDBObservationObserver"IDBObserver"IDBObserverchangesdbObserverChanges"IDBObserverChanges"IDBObserverChangesdatabaserecordsOpenDBRequest"IDBOpenDBRequest,IDBVersionChangeRequest"IDBOpenDBRequest,IDBVersionChangeRequestblockedEvent'blocked'blockedupgradeNeededEvent'upgradeneeded'upgradeneeded"IDBRequest"IDBRequestsuccessEvent'success'_get_resultTransaction"IDBTransaction"IDBTransactioncompleteEvent'complete'completed"IDBVersionChangeEvent"IDBVersionChangeEventdataLossdataLossMessagenewVersionoldVersion_convertNativeToDart_IDBKeynativeKey_convertDartToNative_IDBKeydartKey_convertNativeToDart_IDBAny_completeRequestObserverCallback_idbKey'JSExtendableArray|=Object|num|String'JSExtendableArray|=Object|num|Stringdart._httpvalueOfNonNullableParamWithDefaultdart:developerdart:ioHttpServerserverHeaderautoCompressidleTimeoutdefaultResponseHeaderssessionTimeoutlistenOnserverSocketbacklogv6OnlysharedbindSecurerequestClientCertificateconnectionsInfoHttpConnectionsInfoidleclosingHttpHeadersacceptHeader"accept"acceptCharsetHeader"accept-charset"accept-charsetacceptEncodingHeader"accept-encoding"accept-encodingacceptLanguageHeader"accept-language"accept-languageacceptRangesHeader"accept-ranges"accept-rangesaccessControlAllowCredentialsHeader'access-control-allow-credentials'access-control-allow-credentialsaccessControlAllowHeadersHeader'access-control-allow-headers'access-control-allow-headersaccessControlAllowMethodsHeader'access-control-allow-methods'access-control-allow-methodsaccessControlAllowOriginHeader'access-control-allow-origin'access-control-allow-originaccessControlExposeHeadersHeader'access-control-expose-headers'access-control-expose-headersaccessControlMaxAgeHeader'access-control-max-age'access-control-max-ageaccessControlRequestHeadersHeader'access-control-request-headers'access-control-request-headersaccessControlRequestMethodHeader'access-control-request-method'access-control-request-methodageHeader"age"ageallowHeader"allow"authorizationHeader"authorization"authorizationcacheControlHeader"cache-control"cache-controlconnectionHeader"connection"contentEncodingHeader"content-encoding"content-encodingcontentLanguageHeader"content-language"content-languagecontentLengthHeader"content-length"content-lengthcontentLocationHeader"content-location"content-locationcontentMD5Header"content-md5"content-md5contentRangeHeader"content-range"content-rangecontentTypeHeader"content-type"content-typedateHeader"date"etagHeader"etag"etagexpectHeader"expect"expectexpiresHeader"expires"fromHeader"from"hostHeader"host"ifMatchHeader"if-match"if-matchifModifiedSinceHeader"if-modified-since"if-modified-sinceifNoneMatchHeader"if-none-match"if-none-matchifRangeHeader"if-range"if-rangeifUnmodifiedSinceHeader"if-unmodified-since"if-unmodified-sincelastModifiedHeader"last-modified"last-modifiedlocationHeader"location"maxForwardsHeader"max-forwards"max-forwardspragmaHeader"pragma"proxyAuthenticateHeader"proxy-authenticate"proxy-authenticateproxyAuthorizationHeader"proxy-authorization"proxy-authorizationrangeHeader"range"refererHeader"referer"refererretryAfterHeader"retry-after"retry-after"server"serverteHeader"te"tetrailerHeader"trailer"trailertransferEncodingHeader"transfer-encoding"transfer-encodingupgradeHeader"upgrade"userAgentHeader"user-agent"user-agentvaryHeader"vary"varyviaHeader"via"viawarningHeader"warning"warningwwwAuthenticateHeader"www-authenticate"www-authenticatecookieHeader"cookie"setCookieHeader"set-cookie"set-cookiegeneralHeadersentityHeadersifModifiedSincecontentLengthpersistentConnectionchunkedTransferEncodingpreserveHeaderCasenoFoldingHeaderValueparameterSeparator";";valueSeparatorpreserveBackslashHttpSessionisNewdestroyContentTypebinaryprimaryTypesubTypeCookiemaxAgesecurehttpOnlyfromSetCookieValuerequestedUricookiescertificateprotocolVersionconnectionInfoHttpResponsereasonPhrasebufferOutputmovedTemporarilydetachSocketwriteHeadersHttpClientdefaultHttpPortdefaultHttpsPort443_enableTimelineLoggingconnectionTimeoutmaxConnectionsPerHostautoUncompressenableTimelineLoggingauthenticaterealmconnectionFactoryproxyHostproxyPortfindProxyauthenticateProxybadCertificateCallbackcertkeyLogopenUrlgetUrlpostpostUrlputUrldeleteUrlpatchpatchUrlheadUrladdCredentialsfindProxyFromEnvironmentenvironmentaddProxyCredentialsHttpClientRequestfollowRedirectsmaxRedirects"2.10"2.10HttpClientResponsecompressionStateisRedirectredirectsfollowLoopsHttpClientCredentialsHttpClientBasicCredentialsHttpClientDigestCredentialsHttpConnectionInforemoteAddressremotePortlocalPortRedirectInfoHttpExceptionRedirectExceptionHttpClientResponseCompressionStatenotCompresseddecompressedcompressedcrypto.dartdart:_http/crypto.dart_CryptoUtilsgetRandomBytesbytesToHex_HashBase_chunkSizeInWords_bigEndianWords_lengthInBytes_pendingData_currentChunk_h_digestCalledblockSizedigestSizeInWords_updateHash_add32_roundUp_rotl32shift_resultAsBytes_bytesToChunkdataIndex_wordToBytes_iterate_finalizeData_MD5_k0xd76aa4780xe8c7b7560x242070db0xc1bdceee0xf57c0faf0x4787c62a0xa83046130xfd4695010x698098d80x8b44f7af0xffff5bb10x895cd7be0x6b9011220xfd9871930xa679438e0x49b408210xf61e25620xc040b3400x265e5a510xe9b6c7aa0xd62f105d0x024414530xd8a1e6810xe7d3fbc80x21e1cde60xc33707d60xf4d50d870x455a14ed0xa9e3e9050xfcefa3f80x676f02d90x8d2a4c8a0xfffa39420x8771f6810x6d9d61220xfde5380c0xa4beea440x4bdecfa90xf6bb4b600xbebfbc700x289b7ec60xeaa127fa0xd4ef30850x04881d050xd9d4d0390xe6db99e50x1fa27cf80xc4ac56650xf42922440x432aff970xab9423a70xfc93a0390x655b59c30x8f0ccc920xffeff47d0x85845dd10x6fa87e4f0xfe2ce6e00xa30143140x4e0811a10xf7537e820xbd3af2350x2ad7d2bb0xeb86d391_r222321_SHA1_w_MASK_80xff_MASK_320xffffffff_BITS_PER_BYTE_BYTES_PER_WORDembedder_config.dartdart:_http/embedder_config.dart_httpConnectionHookhttp_date.dartdart:_http/http_date.dartHttpDate_parseCookieDatehttp_headers.dartdart:_http/http_headers.dart_HttpHeaders_headers_originalHeaderNames_mutable_noFoldingHeaders_contentLength_persistentConnection_chunkedTransferEncoding_defaultPortForSchemedefaultPortForSchemeinitialHeaders_addContentLength_addTransferEncoding_addDate_addExpires_addIfModifiedSince_addHost_addConnection_addContentType_addValue_valueToString_set_checkMutable_updateHostHeader_foldHeader_finalize_buildbuilderskipZeroContentLength_parseCookies_validateFieldfield_validateValue_originalHeaderName_HeaderValue_parameters_unmodifiableParameters_ensureParameters_isToken_ContentType_primaryType_subType_CookienewPathnewName_parseSetCookieValue_validateName_validatePath_digitsValidatorhttp_impl.dartdart:_http/http_impl.dartHttpProfiler_kType'HttpProfile'HttpProfile_profilestartRequestparentRequestgetHttpProfileRequesttoJsonupdatedSince_HttpProfileEvent_HttpProfileDataisolateIdrequestInProgressresponseInProgressrequestStartTimestamprequestEndTimestamprequestDetailsproxyDetailsrequestBodyrequestErrorrequestEventsresponseStartTimestampresponseEndTimestampresponseDetailsresponseBodyresponseError_lastUpdateTime_timeline_responseTimelinelastUpdateTimerequestEventproxyEventappendRequestDataformatHeadersformatConnectionInfofinishRequeststartResponsefinishRequestWithErrorfinishResponsefinishResponseWithErrorappendResponseData_updated_ServiceObject__serviceId_serviceId_servicePath_serviceTypePath_serviceTypeName_serviceType_CopyingBytesBuilder_INIT_SIZE_emptyListaddBytetakeBytestoBytes_pow2roundup_HttpIncoming_transferLength_dataCompleterfullBodyReadupgradedhasSubscribertransferLengthdataDone_HttpInboundMessageListInt_incoming_cookies_HttpInboundMessage_HttpRequest_httpServer_httpConnection_session_requestedUri_HttpClientResponse_httpClient_httpRequest_profileData_shouldAuthenticateProxy_shouldAuthenticate_getCompressionStatehttpClient_authenticateproxyAuth_ToUint8List_Uint8ListConversionSink_StreamSinkImpl_doneCompleter_controllerInstance_controllerCompleter_isBound_closeTarget_completeDoneValue_completeDoneError_IOSinkImpl_encoding_encodingMutable_HttpOutboundMessage_encodingSet_bufferOutput_outgoing_isConnectionClosedoutgoingprofileData_writeHeader_HttpResponse_statusCode_reasonPhrase_deadline_deadlineTimerdefaultHeaders_findReasonPhrase_HttpClientRequest_httpClientConnection_responseCompleter_proxy_response_followRedirects_maxRedirects_responseRedirects_aborted_onIncomingincoming_requestUri_HttpGZipSink_consume_HttpOutgoing_footerAndChunk0Length_CharCodeCRLF_chunk0LengthsocketignoreBodyheadersWritten_closeFuturechunked_pendingChunkedFooter_bytesWritten_gzip_gzipSink_gzipAdd_gzipBuffer_gzipBufferLength_socketErroroutboundgzipdrainRequestsetOutgoingsetHeader_addGZipChunk_chunkHeader_HttpClientConnection_socket_proxyTunnel_context_httpParser_dispose_idleTimer_currentUri_nextResponseCompleter_streamFuturedestroyFromExternalcloseFromExternalcreateProxyTunnelmakeKeyisSecurestopTimerstartTimer_ConnectionInfo_ConnectionTarget_idle_active_socketTasks_connectinghasIdlehasActivetakeIdle_checkPendingaddNewActivereturnConnectionconnectionCloseduriHosturiPort_HttpClient_closing_closingForcefully_connectionTargets_credentials_proxyCredentials_connectionFactory_authenticateProxy_findProxy_idleTimeout_badCertificateCallbackcr_keyLog_platformEnvironmentCache_startRequestTimelineEvent_isLoopback_isValidToken_openUrl_isSubdomainsubdomainshouldCopyHeaderOnRedirectheaderKeyoriginalUrlredirectUri_openUrlFromRequest_returnConnection_connectionClosed_connectionClosedNoFurtherClosing_connectionsChanged_closeConnections_getConnectionTarget_getConnectionproxyConf_findCredentials_findProxyCredentials_removeCredentials_removeProxyCredentials_findProxyFromEnvironment_HttpConnection_ACTIVE_IDLE_CLOSING_DETACHED_connections_idleMarkisMarkedIdle_isActive_isIdle_isClosing_isDetachedmarkIdleServerSocketBase_HttpServer_servers_sessionManagerInstance_serverSocket_closeServer_activeConnections_idleConnections_sessionManager_initDefaultResponseHeaders_maybePerformCleanup_handleRequest_markIdle_markActive_ProxyConfigurationPROXY_PREFIX"PROXY "PROXY DIRECT_PREFIX"DIRECT"DIRECTproxiesdirect_ProxyisDirectisAuthenticated_HttpConnectionInfo_DetachedSocketsetOptiongetRawOptionsetRawOption_AuthenticationScheme_schemeBASICDIGEST_Credentialsusedha1qopnonceCountauthorize_SiteCredentialscredsapplies_ProxyCredentials_HttpClientCredentialsauthorizeProxy_HttpClientBasicCredentials_HttpClientDigestCredentials_RedirectInfo_getHttpVersion_BytesConsumerBadCertificateCallback_nextServiceId_OUTGOING_BUFFER_SIZEhttp_parser.dartdart:_http/http_parser.dart_ConstHTTPHTTP1DOT47HTTP10HTTP11SEPARATOR_MAPHTSPCOLON58SEMI_COLON_StateSTARTMETHOD_OR_RESPONSE_HTTP_VERSIONRESPONSE_HTTP_VERSIONREQUEST_LINE_METHODREQUEST_LINE_URIREQUEST_LINE_HTTP_VERSIONREQUEST_LINE_ENDINGRESPONSE_LINE_STATUS_CODERESPONSE_LINE_REASON_PHRASERESPONSE_LINE_ENDINGHEADER_STARTHEADER_FIELDHEADER_VALUE_STARTHEADER_VALUEHEADER_VALUE_FOLD_OR_END_CRHEADER_VALUE_FOLD_OR_ENDHEADER_ENDINGCHUNK_SIZE_STARTING_CRCHUNK_SIZE_STARTINGCHUNK_SIZECHUNK_SIZE_EXTENSIONCHUNK_SIZE_ENDINGCHUNKED_BODY_DONE_CRCHUNKED_BODY_DONEBODYUPGRADEDFAILUREFIRST_BODY_STATE_HttpVersionUNDETERMINED_MessageTypeREQUESTRESPONSE_HttpDetachedStreamSubscription_injectData_userOnData_scheduled_maybeScheduleData_HttpDetachedIncomingbufferedData_HttpParser_parserCalled_index_requestParser_httpVersionIndex_messageType_statusCodeLength_method_uriOrReasonPhrase_headerField_headerValue_headerTotalSizeLimit_headersReceivedSize_httpVersion_connectionUpgrade_chunked_noMessageBody_remainingContent_transferEncodingconnectMethod_chunkSizeLimit0x7FFFFFFF_socketSubscription_paused_bodyPaused_bodyControllerisHeadrequestParserresponseParserlistenToStream_headersEnd_doParsedetachIncomingreadUnparsedData_reset_releaseBuffer_isTokenChar_isValueChar_tokenizeFieldValueheaderValue_toLowerCaseByte_caseInsensitiveCompareexpected_expectval1val2_expectHexDigit_addWithValidation_reportSizeLimitError_createIncoming_closeIncoming_pauseStateChanged_reportHttpError_reportBodyErrorhttp_session.dartdart:_http/http_session.dart_HttpSession_destroyed_isNew_lastSeen_timeoutCallback_prevlastSeen_markSeen_HttpSessionManager_sessions_sessionTimeout_timercreateSessionIdgetSession_bumpToEnd_addToTimeoutQueue_removeFromTimeoutQueue_timerTimeout_startTimer_stopTimer_DART_SESSION_ID"DARTSESSID"DARTSESSIDhttp_testing.dartdart:_http/http_testing.dartTesting$HttpDatetest$_parseCookieDateTesting$_HttpHeaderstest$_buildtest$_parseCookiesTesting$_WebSocketProtocolTransformertest$_stateTestingClass$_CookieTestingClass$_HttpHeadersTestingClass$_HttpParserTestingClass$_SHA1TestingClass$_WebSocketProtocolTransformeroverrides.dartdart:_http/overrides.dartHttpOverrides_globalglobaloverridescreateHttpClientrunWithHttpOverrides_HttpOverridesScope_createHttpClient_httpOverridesToken_asyncRunZonedwebsocket.dartdart:_http/websocket.dartWebSocketStatusnormalClosuregoingAway1001protocolError1002unsupportedData1003reserved10041004noStatusReceived1005abnormalClosure1006invalidFramePayloadData1007policyViolation1008messageTooBig1009missingMandatoryExtension1010internalServerError1011reserved10151015CompressionOptionscompressionDefaultcompressionOffclientNoContextTakeoverserverNoContextTakeoverclientMaxWindowBitsserverMaxWindowBits_createServerResponseHeaderrequested_createClientRequestHeader_createHeaderWebSocketTransformerprotocolSelectorcompressionisUpgradeRequestconnectingpingIntervalcloseCodecloseReason'This constructor will be removed in Dart 2.0. Use `implements`'This constructor will be removed in Dart 2.0. Use `implements`' instead of `extends` if implementing this abstract class.' instead of `extends` if implementing this abstract class.fromUpgradedSocketserverSidecustomClientaddUtf8TextWebSocketExceptionwebsocket_impl.dartdart:_http/websocket_impl.dart_WebSocketMessageTypeTEXTBINARY_WebSocketOpcodeCONTINUATIONRESERVED_3RESERVED_4RESERVED_5RESERVED_6RESERVED_7CLOSEPINGPONGRESERVED_BRESERVED_CRESERVED_DRESERVED_ERESERVED_F_EncodedString_CompressionMaxWindowBitsmaxWindowBits_WebSocketProtocolTransformerLEN_FIRSTLEN_RESTMASKPAYLOADFINRSV1RSV2RSV3OPCODE0xF_fin_compressed_opcode_len_masked_remainingLenBytes_remainingMaskingKeyBytes_remainingPayloadBytes_unmaskingIndex_currentMessageType_serverSide_maskingBytes_payload_deflate_unmask_lengthDone_maskDone_startPayload_messageFrameEnd_controlFrameEnd_isControlFrame_prepareForNextFrame_WebSocketPingpayload_WebSocketPong_WebSocketTransformerImpl_protocolSelector_compression_upgrade_negotiateCompression_isUpgradeRequest_WebSocketPerMessageDeflate_WebSocketImplDEFAULT_WINDOW_BITS_ensureDecoder_ensureEncoderprocessIncomingMessagemsgprocessOutgoingMessage_WebSocketOutgoingTransformerwebSocket_deflateHelperaddFrameopcodecreateFrame_WebSocketConsumer_issuedPause_closed_closeCompleter_completer_ensureController_donecloseSocket_webSocketsPER_MESSAGE_DEFLATE"permessage-deflate"permessage-deflate_readyState_writeClosed_closeCode_closeReason_pingInterval_pingTimer_consumer_outCloseCode_outCloseReason_closeTimer_fromSocketdeflatenegotiateClientCompression_isReservedStatusCode_ProtocolSelector_webSocketGUID"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"258EAFA5-E914-47DA-95CA-C5AB0DC85B11_clientNoContextTakeover"client_no_context_takeover"client_no_context_takeover_serverNoContextTakeover"server_no_context_takeover"server_no_context_takeover_clientMaxWindowBits"client_max_window_bits"client_max_window_bits_serverMaxWindowBits"server_max_window_bits"server_max_window_bitsdart.iodart:_http"Import BytesBuilder from dart:typed_data instead"Import BytesBuilder from dart:typed_data insteadBytesBuildercommon.dartdart:io/common.dartIOExceptionOSErrornoErrorCode_BufferAndStart_IOCrypto_checkForErrorResponse_ensureFastAndSerializableByteData_successResponse_illegalArgumentResponse_osErrorResponse_fileClosedResponse_errorResponseErrorType_osErrorResponseErrorCode_osErrorResponseMessage_eNoEnt_errorFileNotFound_errorPathNotFound_errorInvalidDrive_errorNoMoreFiles_errorBadNetpath_errorBadNetName_errorBadPathName161_errorFilenameExedRange206data_transformer.dartdart:io/data_transformer.dartZLibOptionminWindowBitsdefaultWindowBitsminLevelmaxLeveldefaultLevelminMemLevelmaxMemLeveldefaultMemLevelstrategyFilteredstrategyHuffmanOnlystrategyRlestrategyFixedstrategyDefaultZLibCodecmemLevelstrategywindowBitsraw_defaultGZipCodecZLibEncoderZLibDecoderRawZLibFilterdeflateFilterinflateFilterprocessed_makeZLibDeflateFilter_makeZLibInflateFilter_BufferSink_ZLibEncoderSink_ZLibDecoderSink_FilterSink_empty_validateZLibWindowBits_validateZLibeLevel_validateZLibMemLevel_validateZLibStrategyzlibdirectory.dartdart:io/directory.dartDirectorysystemTempfromRawPathrecursivecreateSynccreateTempcreateTempSyncresolveSymbolicLinksresolveSymbolicLinksSyncrenamerenameSyncfollowLinkslistSyncdirectory_impl.dartdart:io/directory_impl.dart_Directory_rawPathrawPath_setCurrent_createTemp_systemTemp_exists_deleteNative_rename_fillWithDirectoryListingexistsexistsSync_deleteSync_checkNotNullt_AsyncDirectoryListerOpsgetPointer_AsyncDirectoryListerlistFilelistDirectorylistLinklistErrorlistDoneresponsePathresponseCompletecancelednextRunning_opscloseCompleter_pointer_cleanupdart:io/embedder_config.dart_EmbedderConfig_mayChdir_mayExit_maySetEchoMode_maySetEchoNewlineMode_maySetLineMode_maySleepeventhandler.dartdart:io/eventhandler.dart_EventHandlerfile.dartdart:io/file.dartFileModewriteOnlywriteOnlyAppend_modeFileLockblockingSharedblockingExclusivecopySynclengthSynclastAccessedlastAccessedSyncsetLastAccessedsetLastAccessedSynclastModifiedSyncsetLastModifiedsetLastModifiedSyncopenSyncopenReadopenWritereadAsBytesreadAsBytesSyncreadAsStringreadAsStringSyncreadAsLinesreadAsLinesSyncwriteAsByteswriteAsBytesSyncwriteAsStringcontentswriteAsStringSyncRandomAccessFilereadBytereadByteSyncreadSyncreadIntoreadIntoSyncwriteByteSyncwriteFromwriteFromSyncwriteStringSyncpositionSyncsetPositionSynctruncateSyncflushSynclockSyncunlockSyncFileSystemExceptionosError_fromOSErrorerr_toStringHelperPathNotFoundExceptionReadPipeWritePipePipefile_impl.dartdart:io/file_impl.dart_FileStream_openedFile_unsubscribed_readInProgress_atEndforStdinforRandomAccessFile_closeFile_readBlock_FileStreamConsumer_openFuturefromStdiofdfromRandomAccessFile_File_namespacePointer_dispatchWithNamespace_createLink_createPipe_linkTarget_deleteLinkNativeoldPath_renameLink_copy_lengthFromPath_lastAccessed_setLastAccessedmillis_setLastModified_openStdio_openStdioSync_tryDecodethrowIfError_RandomAccessFileOps_RandomAccessFile_connectedResourceHandler_asyncDispatched_resourceInfolockUnlock_maybeConnectHandler_fileLockValuefl_dispatchmarkClosed_checkAvailable_ReadPipe_WritePipe_Pipe_readPipe_writePipe_blockSizefile_system_entity.dartdart:io/file_system_entity.dartFileSystemEntityTypelinkunixDomainSocknotFound"Use notFound instead"Use notFound instead_typeList_lookupFileStat_changedTime_modifiedTime_accessedTime_size_epoch_notFoundchangedmodifiedaccessed_statSyncstatSync_statSyncInternal_statmodeStringFileSystemEntity_backslashChar_slashChar0x2f_colonChar0x3a_absoluteWindowsPathPattern_parentRegExp_absolutePathisWatchSupporteddeleteSyncwatcheventsFileSystemEventall_identicalpath1path2_isAbsolute_windowsDriveLetter_absoluteWindowsPath_identicalSyncidenticalSync_toUtf8Array_toNullTerminatedUtf8Array_toStringFromUtf8ArraytypeSyncisLink_isLinkRawisLinkSync_isLinkRawSyncisFileSyncisDirectorySync_getTypeNative_identicalNative_resolveSymbolicLinksparentOf_getTypeSyncHelper_getTypeSync_getTypeRequest_getType_throwIfError_trimTrailingPathSeparators_ensureTrailingPathSeparatorsmove_modifyAttributes_deleteSelf_isDirFileSystemCreateEventFileSystemModifyEventcontentChangedFileSystemDeleteEventFileSystemMoveEventdestination_FileSystemWatcherisSupported_watchio_resource_info.dartdart:io/io_resource_info.dart_IOResourceInfo_sw_startTimefullValueMapreferenceValueMapgetNextID_ReadWriteResourceInforeadByteswriteBytesreadCountwriteCountlastReadTimelastWriteTimeaddReaddidReadaddWrite_FileResourceInfo'OpenFile'OpenFileopenFilesfileInfoMapfileOpenedfileClosedgetOpenFilesListgetOpenFilesparamsgetOpenFileInfoMapByID_Process_arguments_workingDirectory_SpawnedProcessResourceInfo'SpawnedProcess'SpawnedProcessstartedAtstartedProcessesstoppedprocessStartedprocessStoppedgetStartedProcessesListgetStartedProcessesgetProcessInfoMapByIdio_sink.dartdart:io/io_sink.dartIOSinkio_service.dartdart:io/io_service.dart_IOServicefileExistsfileCreatefileDeletefileRenamefileCopyfileOpenfileResolveSymbolicLinksfileClosefilePositionfileSetPositionfileTruncatefileLengthfileLengthFromPathfileLastAccessedfileSetLastAccessedfileLastModifiedfileSetLastModifiedfileFlushfileReadBytefileWriteBytefileReadfileReadIntofileWriteFromfileCreateLinkfileDeleteLinkfileRenameLinkfileLinkTargetfileTypefileIdentical28fileStat29fileLockfileCreatePipe31socketLookupsocketListInterfacessocketReverseLookupdirectoryCreatedirectoryDeletedirectoryExistsdirectoryCreateTempdirectoryListStartdirectoryListNextdirectoryListStop41directoryRename42sslProcessFilter43link.dartdart:io/link.dartLinkupdateSynctargetSync_Linknamespace_impl.dartdart:io/namespace_impl.dart_Namespace_setupNamespacenetwork_profiling.dartdart:io/network_profiling.dart_NetworkProfiling_kGetHttpEnableTimelineLogging'Use httpEnableTimelineLogging instead'Use httpEnableTimelineLogging instead'ext.dart.io.getHttpEnableTimelineLogging'ext.dart.io.getHttpEnableTimelineLogging_kSetHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging_kHttpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging_kGetHttpProfileRPC'ext.dart.io.getHttpProfile'ext.dart.io.getHttpProfile_kGetHttpProfileRequestRPC'ext.dart.io.getHttpProfileRequest'ext.dart.io.getHttpProfileRequest_kClearHttpProfileRPC'ext.dart.io.clearHttpProfile'ext.dart.io.clearHttpProfile_kClearSocketProfileRPC'ext.dart.io.clearSocketProfile'ext.dart.io.clearSocketProfile_kGetSocketProfileRPC'ext.dart.io.getSocketProfile'ext.dart.io.getSocketProfile_kSocketProfilingEnabledRPC'ext.dart.io.socketProfilingEnabled'ext.dart.io.socketProfilingEnabled_kPauseSocketProfilingRPC'Use socketProfilingEnabled instead'Use socketProfilingEnabled instead'ext.dart.io.pauseSocketProfiling'ext.dart.io.pauseSocketProfiling_kStartSocketProfilingRPC'ext.dart.io.startSocketProfiling'ext.dart.io.startSocketProfiling_kGetVersionRPC'ext.dart.io.getVersion'ext.dart.io.getVersion_registerServiceExtension_serviceExtensionHandlergetVersion_SocketProfile'SocketProfile'SocketProfile_enableSocketProfiling_idToSocketStatisticenableSocketProfilingcollectNewSocketaddrcollectStatistic_SocketStatisticsocketTypetoMap_setIfNotNull_SocketProfileType_success_invalidArgument_missingArgument_getHttpEnableTimelineLogging_setHttpEnableTimelineLogging_getHttpProfileRequest_socketProfilingEnabled_versionMajor_versionMinor_tcpSocket'tcp'tcp_udpSocket'udp'udpdart:io/overrides.dartIOOverridesstdinstdoutstderrgetCurrentDirectorysetCurrentDirectorygetSystemTempDirectoryfseIdenticalfseIdenticalSyncfseGetTypefseGetTypeSyncfsWatchfsWatchIsSupportedcreateLinksocketConnectsourceAddresssourcePortsocketStartConnectserverSocketBindrunWithIOOverrides_IOOverridesScope_createDirectory_getCurrentDirectory_setCurrentDirectory_getSystemTempDirectory_createFile_fseIdentical_fseIdenticalSync_fseGetType_fseGetTypeSync_fsWatch_fsWatchIsSupported_socketConnect_socketStartConnect_serverSocketBind_stdin_stdout_stderr_ioOverridesTokenplatform.dartdart:io/platform.dart_numberOfProcessors_pathSeparator_operatingSystem_operatingSystemVersion_localHostname_versionisLinuxisMacOSisWindowsisAndroidisIOSisFuchsianumberOfProcessorspathSeparatorlocaleNameoperatingSystemoperatingSystemVersionlocalHostnameresolvedExecutablescriptexecutableArgumentspackageConfigplatform_impl.dartdart:io/platform_impl.dart_Platform_localeClosure_environmentCache_cachedOSVersion_executable_resolvedExecutable_environment_executableArguments_packageConfig_localeName_script_CaseInsensitiveStringMapprocess.dartdart:io/process.dart_ProcessUtils_exit_setExitCode_getExitCode_sleep_pid_watchSignalsignalProcessInfocurrentRssmaxRssProcessStartModenormalinheritStdiodetachedWithStdioexitCodepidworkingDirectoryincludeParentEnvironmentrunInShellstdoutEncodingsystemEncodingstderrEncodingrunSynckillPidProcessSignalsigtermkillProcessResultsighup"SIGHUP"SIGHUPsigint"SIGINT"SIGINTsigquit"SIGQUIT"SIGQUITsigill"SIGILL"SIGILLsigtrap"SIGTRAP"SIGTRAPsigabrt"SIGABRT"SIGABRTsigbus"SIGBUS"SIGBUSsigfpe"SIGFPE"SIGFPEsigkill"SIGKILL"SIGKILLsigusr1"SIGUSR1"SIGUSR1sigsegv"SIGSEGV"SIGSEGVsigusr2"SIGUSR2"SIGUSR2sigpipe"SIGPIPE"SIGPIPEsigalrm"SIGALRM"SIGALRM"SIGTERM"SIGTERMsigchld"SIGCHLD"SIGCHLDsigcont"SIGCONT"SIGCONTsigstop"SIGSTOP"SIGSTOPsigtstp"SIGTSTP"SIGTSTPsigttin"SIGTTIN"SIGTTINsigttou"SIGTTOU"SIGTTOUsigurg"SIGURG"SIGURGsigxcpu"SIGXCPU"SIGXCPUsigxfsz"SIGXFSZ"SIGXFSZsigvtalrm"SIGVTALRM"SIGVTALRMsigprof"SIGPROF"SIGPROFsigwinch"SIGWINCH"SIGWINCHsigpoll"SIGPOLL"SIGPOLLsigsys"SIGSYS"SIGSYS_signalNumberSignalExceptionProcessExceptionsleepsecure_server_socket.dartdart:io/secure_server_socket.dartSecureServerSocket_ownerownerrequireClientCertificatesupportedProtocolsRawSecureServerSocket_onPauseStateChange_onSubscriptionStateChangesecure_socket.dartdart:io/secure_socket.dartSecureSocketpeerCertificateselectedProtocolrawSocketonBadCertificatestartConnect"2.6"secureServerrenegotiate"Not implemented"Not implementeduseSessionCacheRawSecureSocketX509Certificatederpemsha1subjectissuerstartValidityendValidity_FilterStatusreadEmptywriteEmptyreadPlaintextNoLongerEmptywritePlaintextNoLongerFullreadEncryptedNoLongerFullwriteEncryptedNoLongerEmpty_RawSocketBase_closedReadEventSent_RawSecureSockethandshakeStatus201connectedStatus202closedStatus203readPlaintextIdwritePlaintextIdreadEncryptedIdwriteEncryptedIdbufferCount_handshakeComplete_bufferedData_bufferedDataIndexisServerkeyLogPort_status_writeEventsEnabled_readEventsEnabled_pendingReadEvent_socketClosedRead_socketClosedWrite_closedRead_closedWrite_filterStatus_connectPending_filterPending_filterActive_secureFilter_selectedProtocolwriteEventsEnabledreadEventsEnabledrequestedPort_isBufferEncrypted_verifyFields_completeCloseCompleterdummyshutdownreadMessage_fixOffsetsendMessagecontrolMessages_onBadCertificateWrapper_eventDispatcher_readHandler_writeHandler_doneHandler_reportError_closeHandler_secureHandshake_secureHandshakeCompleteHandler_scheduleFilter_tryFilter_readSocketOrBufferedData_readSocket_writeSocket_scheduleReadEvent_sendReadEvent_sendWriteEvent_pushAllFilterStages_ExternalBuffer"set"linearLengthlinearFreeadvanceStartadvanceEndinputDatawriteFromSourcereadToSocket_SecureFilterbuffershostNamehandshakerehandshakeprocessBufferbufferIndexregisterBadCertificateCallbackregisterHandshakeCompleteCallbackhandshakeCompleteHandlerregisterKeyLogPortTlsException"TlsException"HandshakeException"HandshakeException"CertificateException"CertificateException"security_context.dartdart:io/security_context.dartSecurityContextallowLegacyUnsafeRenegotiationdefaultContextalpnSupportedwithTrustedRootsusePrivateKeyusePrivateKeyByteskeyBytessetTrustedCertificatessetTrustedCertificatesBytescertBytesuseCertificateChainuseCertificateChainByteschainBytessetClientAuthoritiessetClientAuthoritiesBytesauthCertBytessetAlpnProtocols_protocolsToLengthEncoding_protocolsToLengthEncodingNonAsciiBailoutservice_object.dartdart:io/service_object.dartsocket.dartdart:io/socket.dartInternetAddressTypeIPv4IPv6unix_fromInternetAddressloopbackIPv4loopbackIPv6anyIPv4anyIPv6rawAddressisLoopbackisLinkLocalisMulticastfromRawAddress_cloneWithNewHostNetworkInterfaceaddresseslistSupportedincludeLoopbackincludeLinkLocalRawServerSocketServerSocketSocketDirectionreceivebothSocketOptiontcpNoDelay_ipMulticastLoop_ipMulticastHops_ipMulticastIf_ipBroadcastRawSocketOption"2.2"2.2levelSocketlevelIPv4IPv4MulticastInterfacelevelIPv6IPv6MulticastInterfacelevelTcplevelUdpfromIntfromBool_getOptionValueRawSocketEventreadClosedConnectionTaskRawSocketlenSocket_connect_startConnect_detachRawDatagramResourceHandlefromFilefromSocketfromRawSocketfromRawDatagramSocketfromStdinfromStdoutfromReadPipefromWritePipetoFiletoSockettoRawSockettoRawDatagramSockettoReadPipetoWritePipeSocketControlMessagefromHandleshandlesextractHandlesSocketMessageRawDatagramSocketmulticastLoopbackmulticastHopsmulticastInterface"This property is not implemented. Use getRawOption and "This property is not implemented. Use getRawOption and "setRawOption instead."setRawOption instead.broadcastEnabledreuseAddressreusePortttljoinMulticastinterfaceleaveMulticastSocketException'Socket has been closed'Socket has been closed_RawSocketOptionsSOL_SOCKETIPPROTO_IPIP_MULTICAST_IFIPPROTO_IPV6IPV6_MULTICAST_IFIPPROTO_TCPIPPROTO_UDPstdio.dartdart:io/stdio.dart_StdStreamStdin_fdechoModeechoNewlineMode"2.18"2.18lineModesupportsAnsiEscapeshasTerminalreadLineSyncretainNewlinesStdout_nonBlockingterminalColumnsterminalLinesnonBlocking_hasTerminal_terminalColumns_terminalLines_supportsAnsiEscapesStdoutExceptionStdinException_StdConsumer_StdSinksepStdioTypeterminal"terminal""pipe""file"_StdIOUtils_getStdioOutputStream_getStdioInputStream_socketType_getStdioHandleType_setStdioFDsstdioType_stdioHandleTypeTerminal_stdioHandleTypePipe_stdioHandleTypeFile_stdioHandleTypeSocket_stdioHandleTypeOther_stdioHandleTypeError_stdinFD_stdoutFD_stderrFDstring_transformer.dartdart:io/string_transformer.dartSystemEncoding_WindowsCodePageEncoder_encodeString_WindowsCodePageEncoderSink_WindowsCodePageDecoder_decodeBytes_WindowsCodePageDecoderSinksync_socket.dartdart:io/sync_socket.dartRawSynchronousSocketconnectSyncdart.isolateByteBufferIsolateSpawnExceptionbeforeNextEventcontrolPortpauseCapabilityterminateCapabilitydebugNameerrorsresolvePackageUripackageUrispawnentryPointerrorsAreFatalspawnUriargspackageRoot'The packages/ dir is not supported in Dart 2'The packages/ dir is not supported in Dart 2automaticPackageResolutionresumeCapability_pauseaddOnExitListenerresponsePortremoveOnExitListenersetErrorsFatalpingaddErrorListenerremoveErrorListenerfinalMessagePortReceivePortfromRawReceivePortrawPortnewHandlerRemoteError_descriptionstackDescriptionTransferableTypedData"2.3.2"2.3.2fromListmaterialize_RemoteRunnerresultPort_remoteExecuterunner_list1_list2capability.dartdart:isolate/capability.dartCapabilitydart.jsJsObjectfromBrowserObjectjsifyhasPropertydeletePropertyinstanceofcallMethodJsFunctionwithThisJsArrayallowInteropallowInteropCaptureThisdart._jsisBrowserObjectconvertFromBrowserObjectdart.js_utilNullRejectionExceptionisUndefinednewObjectgetPropertycallConstructorconstrdivideexponentiatemoduloequalstrictEqualnotEqualstrictNotEqualgreaterThangreaterThanOrEquallessThanlessThanOrEqual_getConstructorconstructorNameinstanceOfStringobjectTypeobjectGetPrototypeOfobjectKeysdartifycreateStaticInteropMockdartMockprotocreateDartExportdartObjectglobalThisobjectPrototypedart.mathSystemHashatan2sinradianscostanacosasinatansqrtexpln10ln2log2elog10episqrt1_2sqrt2point.dartdart:math/point.dartmagnitudedistanceTosquaredDistanceTorandom.dartdart:math/random.dartseednextIntnextDoublenextBoolrectangle.dartdart:math/rectangle.dart_RectangleBasedynamicfromPointsMutableRectangle_clampToZerodart.mirrorsMirrorSystemlibrariesdynamicTypevoidTypeneverTypefindLibrarygetNamesymbolgetSymbollibraryMirrorIsolateMirrorisCurrentrootLibraryloadUriDeclarationMirrorsimpleNameisPrivateisTopLevelObjectMirrorinvokegetFieldfieldNamesetFielddelegateInstanceMirrorhasReflecteereflecteeClosureMirrorLibraryMirrordeclarationslibraryDependenciesLibraryDependencyMirrorisImportisExportisDeferredsourceLibrarytargetLibrarycombinatorsloadLibraryCombinatorMirroridentifiersisShowisHideTypeMirrorhasReflectedTypereflectedTypetypeVariablesisOriginalDeclarationoriginalDeclarationisSubtypeOfisAssignableToClassMirrorsuperclasssuperinterfacesisAbstractisEnuminstanceMembersstaticMembersmixinnewInstanceisSubclassOfFunctionTypeMirrorreturnTypeTypeVariableMirrorisStaticTypedefMirrorreferentMethodMirrorisSyntheticisRegularMethodisOperatorisConstructorisConstConstructorisGenerativeConstructorisRedirectingConstructorisFactoryConstructorisExtensionMemberVariableMirrorisConstParameterMirrorisOptionalisNamedhasDefaultValueSourceLocationcolumncurrentMirrorSystemreflectreflectClassreflectTypenativewrappersNativeFieldWrapperClass1NativeFieldWrapperClass2NativeFieldWrapperClass3NativeFieldWrapperClass4_getNativeField"vm:external-name""FullyRecognizedMethod_NoNative"FullyRecognizedMethod_NoNativedart.typed_dataUnmodifiableListBaselengthInBytesasUint8ListoffsetInBytesasInt8ListasUint8ClampedListasUint16ListasInt16ListasUint32ListasInt32ListasUint64ListasInt64ListasInt32x4ListasFloat32ListasFloat64ListasFloat32x4ListasFloat64x2ListasByteDataelementSizeInBytes_TypedIntList_TypedFloatListEndian_littleEndianbiglittleByteDatasublistViewgetInt8byteOffsetsetInt8getUint8setUint8getInt16endiansetInt16getUint16setUint16getInt32setInt32getUint32setUint32getInt64setInt64getUint64setUint64getFloat32setFloat32getFloat64setFloat64Int8ListbytesPerElementUint8ClampedListInt16ListUint16ListInt32ListUint32ListInt64ListUint64ListFloat32ListFloat64ListFloat32x4ListInt32x4ListFloat64x2ListFloat32x4xxxx0x0xxxyxxxzxxxw0xC0xxyxxxyy0x50xxyz0x90xxyw0xD0xxzxxxzy0x60xxzz0xA0xxzw0xE0xxwxxxwy0x70xxwz0xB0xxww0xF0xyxxxyxyxyxz0x84xyxw0xC4xyyx0x14xyyy0x54xyyz0x94xyyw0xD4xyzx0x24xyzyxyzz0xA4xyzw0xE4xywx0x34xywyxywz0xB4xyww0xF4xzxx0x8xzxy0x48xzxz0x88xzxw0xC8xzyx0x18xzyyxzyz0x98xzyw0xD8xzzx0x28xzzy0x68xzzz0xA8xzzw0xE8xzwx0x38xzwy0x78xzwz0xB8xzww0xF8xwxx0xCxwxy0x4Cxwxz0x8Cxwxw0xCCxwyx0x1Cxwyyxwyz0x9Cxwyw0xDCxwzx0x2Cxwzyxwzz0xACxwzw0xECxwwx0x3Cxwwy0x7Cxwwz0xBCxwww0xFCyxxxyxxyyxxz0x81yxxw0xC1yxyx0x11yxyy0x51yxyz0x91yxyw0xD1yxzx0x21yxzyyxzz0xA1yxzw0xE1yxwx0x31yxwy0x71yxwz0xB1yxww0xF1yyxx0x5yyxyyyxz0x85yyxw0xC5yyyx0x15yyyy0x55yyyz0x95yyyw0xD5yyzxyyzy0x65yyzz0xA5yyzw0xE5yywx0x35yywyyywz0xB5yyww0xF5yzxx0x9yzxyyzxz0x89yzxw0xC9yzyx0x19yzyy0x59yzyz0x99yzyw0xD9yzzx0x29yzzy0x69yzzz0xA9yzzw0xE9yzwx0x39yzwy0x79yzwz0xB9yzww0xF9ywxx0xDywxyywxz0x8Dywxw0xCDywyx0x1Dywyyywyz0x9Dywyw0xDDywzx0x2Dywzy0x6Dywzz0xADywzw0xEDywwx0x3Dywwy0x7Dywwz0xBDywww0xFDzxxx0x2zxxy0x42zxxz0x82zxxw0xC2zxyx0x12zxyy0x52zxyz0x92zxyw0xD2zxzxzxzyzxzz0xA2zxzw0xE2zxwx0x32zxwyzxwz0xB2zxww0xF2zyxx0x6zyxy0x46zyxz0x86zyxw0xC6zyyx0x16zyyy0x56zyyz0x96zyyw0xD6zyzxzyzyzyzz0xA6zyzw0xE6zywx0x36zywyzywz0xB6zyww0xF6zzxx0xAzzxy0x4Azzxz0x8Azzxw0xCAzzyx0x1Azzyyzzyz0x9Azzyw0xDAzzzx0x2Azzzy0x6Azzzz0xAAzzzw0xEAzzwxzzwyzzwz0xBAzzww0xFAzwxx0xEzwxyzwxz0x8Ezwxw0xCEzwyx0x1Ezwyy0x5Ezwyz0x9Ezwyw0xDEzwzxzwzy0x6Ezwzz0xAEzwzw0xEEzwwx0x3Ezwwy0x7Ezwwz0xBEzwww0xFEwxxx0x3wxxywxxz0x83wxxw0xC3wxyx0x13wxyy0x53wxyz0x93wxyw0xD3wxzx0x23wxzy0x63wxzz0xA3wxzw0xE3wxwxwxwy0x73wxwz0xB3wxww0xF3wyxx0x7wyxywyxz0x87wyxw0xC7wyyx0x17wyyy0x57wyyz0x97wyyw0xD7wyzx0x27wyzy0x67wyzz0xA7wyzw0xE7wywx0x37wywy0x77wywz0xB7wyww0xF7wzxx0xBwzxywzxz0x8Bwzxw0xCBwzyx0x1Bwzyywzyz0x9Bwzyw0xDBwzzxwzzy0x6Bwzzz0xABwzzw0xEBwzwx0x3Bwzwy0x7Bwzwz0xBBwzww0xFBwwxxwwxy0x4Fwwxz0x8Fwwxw0xCFwwyxwwyy0x5Fwwyz0x9Fwwyw0xDFwwzxwwzy0x6Fwwzz0xAFwwzw0xEFwwwxwwwywwwz0xBFwwwwsignMasksplatfromInt32x4BitsfromFloat64x2shuffleMixwithXwithYwithZwithWreciprocalreciprocalSqrtInt32x4flagXflagYflagZflagWfromFloat32x4BitswithFlagXwithFlagYwithFlagZwithFlagWtrueValuefalseValueFloat64x2fromFloat32x4unmodifiable_typed_data.dartdart:typed_data/unmodifiable_typed_data.dartUnmodifiableByteBufferViewUnmodifiableByteDataViewUnmodifiableUint8ListViewUnmodifiableInt8ListViewUnmodifiableUint8ClampedListViewUnmodifiableUint16ListViewUnmodifiableInt16ListViewUnmodifiableUint32ListViewUnmodifiableInt32ListViewUnmodifiableUint64ListViewUnmodifiableInt64ListViewUnmodifiableInt32x4ListViewUnmodifiableFloat32x4ListViewUnmodifiableFloat64x2ListViewUnmodifiableFloat32ListViewUnmodifiableFloat64ListViewdart.typed_data.implementationFixedLengthListMixinJSIndexableJSUInt32checkNumdiagnoseIndexErrordiagnoseRangeErrorMathNativeByteBuffer'ArrayBuffer'ArrayBuffer'byteLength'NativeFloat32x4List_storage_externalStorage_slowFromListNativeInt32x4ListNativeFloat64x2ListNativeTypedData'ArrayBufferView'ArrayBufferView'NativeByteBuffer''byteOffset''BYTES_PER_ELEMENT'BYTES_PER_ELEMENT_invalidPosition_checkPositionNativeByteData'DataView'DataView_getFloat32'getFloat32''double'littleEndian_getFloat64'getFloat64'_getInt16'getInt16''int'_getInt32'getInt32'_getUint16'getUint16''JSUInt31'_getUint32'getUint32''JSUInt32'_setFloat32'setFloat32'_setFloat64'setFloat64'_setInt16'setInt16'_setInt32'setInt32'_setUint16'setUint16'_setUint32'setUint32'_create1_create2_create3arg3NativeTypedArray_setRangeFastNativeTypedArrayOfDoubleNativeTypedArrayOfIntNativeFloat32List'Float32Array'Float32Array_createLengthNativeFloat64List'Float64Array'Float64ArrayNativeInt16List'Int16Array'NativeInt32List'Int32Array'NativeInt8List'Int8Array'NativeUint16List'Uint16Array'NativeUint32List'Uint32Array''Uint8ClampedArray,CanvasPixelArray'Uint8ClampedArray,CanvasPixelArrayNativeUint8List'Uint8Array,!nonleaf'Uint8Array,!nonleafNativeFloat32x4_uint32view_doubles_truncated_truncatenewXnewYnewZnewWNativeInt32x4NativeFloat64x2_uint32View_checkLength_checkViewArguments_ensureNativeList_isInvalidArrayIndex_checkValidIndex_checkValidRangedart.cli"The functionality of this library is incomplete and may be removed in a later version"The functionality of this library is incomplete and may be removed in a later versionwait_for.dartdart:cli/wait_for.dart_WaitForUtilswaitForEvent_waitForEventtimeoutMillis_getWaitForEventwaitFor"This functionality is incomplete and may be removed in a later version"This functionality is incomplete and may be removed in a later version_waitForEventClosuredart.dom.svg_SvgElementFactoryProvidercreateSvgElement_tagAElement"SVGAElement"SVGAElementAngle"SVGAngle"SVGAngleSVG_ANGLETYPE_DEGSVG_ANGLETYPE_GRADSVG_ANGLETYPE_RADSVG_ANGLETYPE_UNKNOWNSVG_ANGLETYPE_UNSPECIFIEDunitTypevalueAsStringvalueInSpecifiedUnitsconvertToSpecifiedUnitsnewValueSpecifiedUnitsAnimateElement"SVGAnimateElement"SVGAnimateElementAnimateMotionElement"SVGAnimateMotionElement"SVGAnimateMotionElementAnimateTransformElement"SVGAnimateTransformElement"SVGAnimateTransformElementAnimatedAngle"SVGAnimatedAngle"SVGAnimatedAngleanimValbaseValAnimatedBoolean"SVGAnimatedBoolean"SVGAnimatedBooleanAnimatedEnumeration"SVGAnimatedEnumeration"SVGAnimatedEnumerationAnimatedInteger"SVGAnimatedInteger"SVGAnimatedIntegerAnimatedLength"SVGAnimatedLength"SVGAnimatedLengthAnimatedLengthList"SVGAnimatedLengthList"SVGAnimatedLengthListAnimatedNumber"SVGAnimatedNumber"SVGAnimatedNumberAnimatedNumberList"SVGAnimatedNumberList"SVGAnimatedNumberListAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatioAnimatedRect"SVGAnimatedRect"SVGAnimatedRectAnimatedString"SVGAnimatedString"SVGAnimatedStringAnimatedTransformList"SVGAnimatedTransformList"SVGAnimatedTransformListAnimationElement"SVGAnimationElement"SVGAnimationElementtargetElementrequiredExtensionssystemLanguagebeginElementbeginElementAtendElementendElementAtgetCurrentTimegetSimpleDurationgetStartTimeCircleElement"SVGCircleElement"SVGCircleElementcxcyClipPathElement"SVGClipPathElement"SVGClipPathElementclipPathUnitsDefsElement"SVGDefsElement"SVGDefsElementDescElement"SVGDescElement"SVGDescElementDiscardElement"SVGDiscardElement"SVGDiscardElementEllipseElement"SVGEllipseElement"SVGEllipseElementrxryFEBlendElement"SVGFEBlendElement"SVGFEBlendElementSVG_FEBLEND_MODE_DARKENSVG_FEBLEND_MODE_LIGHTENSVG_FEBLEND_MODE_MULTIPLYSVG_FEBLEND_MODE_NORMALSVG_FEBLEND_MODE_SCREENSVG_FEBLEND_MODE_UNKNOWNin1in2FEColorMatrixElement"SVGFEColorMatrixElement"SVGFEColorMatrixElementSVG_FECOLORMATRIX_TYPE_HUEROTATESVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHASVG_FECOLORMATRIX_TYPE_MATRIXSVG_FECOLORMATRIX_TYPE_SATURATESVG_FECOLORMATRIX_TYPE_UNKNOWNFEComponentTransferElement"SVGFEComponentTransferElement"SVGFEComponentTransferElementFECompositeElement"SVGFECompositeElement"SVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ARITHMETICSVG_FECOMPOSITE_OPERATOR_ATOPSVG_FECOMPOSITE_OPERATOR_INSVG_FECOMPOSITE_OPERATOR_OUTSVG_FECOMPOSITE_OPERATOR_OVERSVG_FECOMPOSITE_OPERATOR_UNKNOWNSVG_FECOMPOSITE_OPERATOR_XORk1k2k3k4operatorFEConvolveMatrixElement"SVGFEConvolveMatrixElement"SVGFEConvolveMatrixElementSVG_EDGEMODE_DUPLICATESVG_EDGEMODE_NONESVG_EDGEMODE_UNKNOWNSVG_EDGEMODE_WRAPbiasdivisoredgeModekernelMatrixkernelUnitLengthXkernelUnitLengthYorderXorderYpreserveAlphatargetXtargetYFEDiffuseLightingElement"SVGFEDiffuseLightingElement"SVGFEDiffuseLightingElementdiffuseConstantsurfaceScaleFEDisplacementMapElement"SVGFEDisplacementMapElement"SVGFEDisplacementMapElementSVG_CHANNEL_ASVG_CHANNEL_BSVG_CHANNEL_GSVG_CHANNEL_RSVG_CHANNEL_UNKNOWNxChannelSelectoryChannelSelectorFEDistantLightElement"SVGFEDistantLightElement"SVGFEDistantLightElementazimuthelevationFEFloodElement"SVGFEFloodElement"SVGFEFloodElementFEFuncAElement"SVGFEFuncAElement"SVGFEFuncAElementFEFuncBElement"SVGFEFuncBElement"SVGFEFuncBElementFEFuncGElement"SVGFEFuncGElement"SVGFEFuncGElementFEFuncRElement"SVGFEFuncRElement"SVGFEFuncRElementFEGaussianBlurElement"SVGFEGaussianBlurElement"SVGFEGaussianBlurElementstdDeviationXstdDeviationYsetStdDeviationFEImageElement"SVGFEImageElement"SVGFEImageElementpreserveAspectRatioFEMergeElement"SVGFEMergeElement"SVGFEMergeElementFEMergeNodeElement"SVGFEMergeNodeElement"SVGFEMergeNodeElementFEMorphologyElement"SVGFEMorphologyElement"SVGFEMorphologyElementSVG_MORPHOLOGY_OPERATOR_DILATESVG_MORPHOLOGY_OPERATOR_ERODESVG_MORPHOLOGY_OPERATOR_UNKNOWNFEOffsetElement"SVGFEOffsetElement"SVGFEOffsetElementFEPointLightElement"SVGFEPointLightElement"SVGFEPointLightElementFESpecularLightingElement"SVGFESpecularLightingElement"SVGFESpecularLightingElementspecularConstantspecularExponentFESpotLightElement"SVGFESpotLightElement"SVGFESpotLightElementlimitingConeAnglepointsAtXpointsAtYpointsAtZFETileElement"SVGFETileElement"SVGFETileElementFETurbulenceElement"SVGFETurbulenceElement"SVGFETurbulenceElementSVG_STITCHTYPE_NOSTITCHSVG_STITCHTYPE_STITCHSVG_STITCHTYPE_UNKNOWNSVG_TURBULENCE_TYPE_FRACTALNOISESVG_TURBULENCE_TYPE_TURBULENCESVG_TURBULENCE_TYPE_UNKNOWNbaseFrequencyXbaseFrequencyYnumOctavesstitchTilesFilterElement"SVGFilterElement"SVGFilterElementfilterUnitsprimitiveUnitsFilterPrimitiveStandardAttributesFitToViewBoxviewBoxForeignObjectElement"SVGForeignObjectElement"SVGForeignObjectElementGElement"SVGGElement"SVGGElementGeometryElement"SVGGeometryElement"SVGGeometryElementpathLengthgetPointAtLengthgetTotalLengthisPointInFillGraphicsElement"SVGGraphicsElement"SVGGraphicsElementfarthestViewportElementnearestViewportElementgetBBoxgetCtm'getCTM'getCTMgetScreenCtm'getScreenCTM'getScreenCTM"SVGImageElement"SVGImageElementLength"SVGLength"SVGLengthSVG_LENGTHTYPE_CMSVG_LENGTHTYPE_EMSSVG_LENGTHTYPE_EXSSVG_LENGTHTYPE_INSVG_LENGTHTYPE_MMSVG_LENGTHTYPE_NUMBERSVG_LENGTHTYPE_PCSVG_LENGTHTYPE_PERCENTAGESVG_LENGTHTYPE_PTSVG_LENGTHTYPE_PXSVG_LENGTHTYPE_UNKNOWNLengthList"SVGLengthList"SVGLengthListnumberOfItemsnewItemappendIteminitializeinsertItemBeforereplaceItemLineElement"SVGLineElement"SVGLineElementLinearGradientElement"SVGLinearGradientElement"SVGLinearGradientElementMarkerElement"SVGMarkerElement"SVGMarkerElementSVG_MARKERUNITS_STROKEWIDTHSVG_MARKERUNITS_UNKNOWNSVG_MARKERUNITS_USERSPACEONUSESVG_MARKER_ORIENT_ANGLESVG_MARKER_ORIENT_AUTOSVG_MARKER_ORIENT_UNKNOWNmarkerHeightmarkerUnitsmarkerWidthorientAngleorientTyperefXrefYsetOrientToAnglesetOrientToAutoMaskElement"SVGMaskElement"SVGMaskElementmaskContentUnitsmaskUnits"SVGMatrix"SVGMatrixsecondMatrixscaleFactorscaleNonUniformscaleFactorXscaleFactorYMetadataElement"SVGMetadataElement"SVGMetadataElementNumber"SVGNumber"SVGNumberNumberList"SVGNumberList"SVGNumberListPathElement"SVGPathElement"SVGPathElementPatternElement"SVGPatternElement"SVGPatternElementpatternContentUnitspatternTransformpatternUnits"SVGPoint"SVGPointPointList"SVGPointList"SVGPointListPolygonElement"SVGPolygonElement"SVGPolygonElementanimatedPointspointsPolylineElement"SVGPolylineElement"SVGPolylineElementPreserveAspectRatio"SVGPreserveAspectRatio"SVGPreserveAspectRatioSVG_MEETORSLICE_MEETSVG_MEETORSLICE_SLICESVG_MEETORSLICE_UNKNOWNSVG_PRESERVEASPECTRATIO_NONESVG_PRESERVEASPECTRATIO_UNKNOWNSVG_PRESERVEASPECTRATIO_XMAXYMAXSVG_PRESERVEASPECTRATIO_XMAXYMIDSVG_PRESERVEASPECTRATIO_XMAXYMINSVG_PRESERVEASPECTRATIO_XMIDYMAXSVG_PRESERVEASPECTRATIO_XMIDYMIDSVG_PRESERVEASPECTRATIO_XMIDYMINSVG_PRESERVEASPECTRATIO_XMINYMAXSVG_PRESERVEASPECTRATIO_XMINYMIDSVG_PRESERVEASPECTRATIO_XMINYMINmeetOrSliceRadialGradientElement"SVGRadialGradientElement"SVGRadialGradientElementfxfyRect"SVGRect"SVGRectRectElement"SVGRectElement"SVGRectElement"SVGScriptElement"SVGScriptElementSetElement"SVGSetElement"SVGSetElementStopElement"SVGStopElement"SVGStopElementgradientOffset'offset'StringList"SVGStringList"SVGStringList"SVGStyleElement"SVGStyleElementAttributeClassSetSvgElement"SVGElement"SVGElement_START_TAG_REGEXP'SVGElement.dblclickEvent'SVGElement.dblclickEvent_svgClassName'className'ownerSvgElement'ownerSVGElement'ownerSVGElementviewportElement'SVGElement.ondblclick'SVGElement.ondblclick"SVGSVGElement"SVGSVGElementcurrentScalecurrentTranslatezoomAndPananimationsPausedcheckEnclosurecheckIntersectioncreateSvgAngle'createSVGAngle'createSVGAnglecreateSvgLength'createSVGLength'createSVGLengthcreateSvgMatrix'createSVGMatrix'createSVGMatrixcreateSvgNumber'createSVGNumber'createSVGNumbercreateSvgPoint'createSVGPoint'createSVGPointcreateSvgRect'createSVGRect'createSVGRectcreateSvgTransform'createSVGTransform'createSVGTransformcreateSvgTransformFromMatrix'createSVGTransformFromMatrix'createSVGTransformFromMatrixdeselectAllforceRedrawgetEnclosureListreferenceElementgetIntersectionListpauseAnimationssetCurrentTimesuspendRedrawmaxWaitMillisecondsunpauseAnimationsunsuspendRedrawsuspendHandleIdunsuspendRedrawAllSwitchElement"SVGSwitchElement"SVGSwitchElementSymbolElement"SVGSymbolElement"SVGSymbolElementTSpanElement"SVGTSpanElement"SVGTSpanElementTestsTextContentElement"SVGTextContentElement"SVGTextContentElementLENGTHADJUST_SPACINGLENGTHADJUST_SPACINGANDGLYPHSLENGTHADJUST_UNKNOWNlengthAdjustgetCharNumAtPositiongetComputedTextLengthgetEndPositionOfCharcharnumgetExtentOfChargetNumberOfCharsgetRotationOfChargetStartPositionOfChargetSubStringLengthncharsselectSubStringTextElement"SVGTextElement"SVGTextElementTextPathElement"SVGTextPathElement"SVGTextPathElementTEXTPATH_METHODTYPE_ALIGNTEXTPATH_METHODTYPE_STRETCHTEXTPATH_METHODTYPE_UNKNOWNTEXTPATH_SPACINGTYPE_AUTOTEXTPATH_SPACINGTYPE_EXACTTEXTPATH_SPACINGTYPE_UNKNOWNspacingTextPositioningElement"SVGTextPositioningElement"SVGTextPositioningElement"SVGTitleElement"SVGTitleElementTransform"SVGTransform"SVGTransformSVG_TRANSFORM_MATRIXSVG_TRANSFORM_ROTATESVG_TRANSFORM_SCALESVG_TRANSFORM_SKEWXSVG_TRANSFORM_SKEWYSVG_TRANSFORM_TRANSLATESVG_TRANSFORM_UNKNOWNsetMatrixsetRotatesetScalesetSkewXsetSkewYsetTranslateTransformList"SVGTransformList"SVGTransformListconsolidateUnitTypes"SVGUnitTypes"SVGUnitTypesSVG_UNIT_TYPE_OBJECTBOUNDINGBOXSVG_UNIT_TYPE_UNKNOWNSVG_UNIT_TYPE_USERSPACEONUSEUriReferenceUseElement"SVGUseElement"SVGUseElementViewElement"SVGViewElement"SVGViewElementZoomAndPanSVG_ZOOMANDPAN_DISABLESVG_ZOOMANDPAN_MAGNIFYSVG_ZOOMANDPAN_UNKNOWN_GradientElement"SVGGradientElement"SVGGradientElementSVG_SPREADMETHOD_PADSVG_SPREADMETHOD_REFLECTSVG_SPREADMETHOD_REPEATSVG_SPREADMETHOD_UNKNOWNgradientTransformgradientUnitsspreadMethod_SVGComponentTransferFunctionElement"SVGComponentTransferFunctionElement"SVGComponentTransferFunctionElement_SVGFEDropShadowElement"SVGFEDropShadowElement"SVGFEDropShadowElement_SVGMPathElement"SVGMPathElement"SVGMPathElementdart.dom.web_audioAnalyserNode"AnalyserNode,RealtimeAnalyserNode"AnalyserNode,RealtimeAnalyserNodefftSizefrequencyBinCountmaxDecibelsminDecibelssmoothingTimeConstantgetByteFrequencyDatagetByteTimeDomainDatagetFloatFrequencyDatagetFloatTimeDomainData"AudioBuffer"numberOfChannelssampleRatecopyFromChannelchannelNumberstartInChannelcopyToChannelgetChannelDatachannelIndexAudioBufferSourceNode"AudioBufferSourceNode"detuneloopEndloopStartgrainOffsetgrainDurationAudioContext"AudioContext,webkitAudioContext"AudioContext,webkitAudioContextbaseLatencygetOutputTimestamp_getOutputTimestamp_1'getOutputTimestamp'createGaincreateScriptProcessornumberOfInputChannelsnumberOfOutputChannelsdecodeAudioDataaudioDataAudioDestinationNode"AudioDestinationNode"maxChannelCountAudioListener"AudioListener"forwardXforwardYforwardZpositionZupXupYupZsetOrientationxUpyUpzUpAudioNode"AudioNode"channelCountchannelCountModechannelInterpretationnumberOfInputsnumberOfOutputsdestination_OR_outputconnectNodeconnectParamAudioParam"AudioParam"cancelAndHoldAtTimecancelScheduledValuesexponentialRampToValueAtTimelinearRampToValueAtTimesetTargetAtTimetimeConstantsetValueAtTimesetValueCurveAtTimeAudioParamMap"AudioParamMap"AudioProcessingEvent"AudioProcessingEvent"inputBufferoutputBufferplaybackTimeAudioScheduledSourceNode"AudioScheduledSourceNode"start2"AudioTrack""AudioTrackList"AudioWorkletGlobalScope"AudioWorkletGlobalScope"registerProcessorprocessorConstructorAudioWorkletNode"AudioWorkletNode"AudioWorkletProcessor"AudioWorkletProcessor"BaseAudioContext"BaseAudioContext"createAnalysercreateBiquadFilternumberOfFramescreateBufferSourcecreateChannelMergercreateChannelSplittercreateConstantSourcecreateConvolvercreateDelaymaxDelayTimecreateDynamicsCompressorcreateIirFilter'createIIRFilter'createIIRFilterfeedForwardfeedBackcreateMediaElementSourcemediaElementcreateMediaStreamDestinationcreateMediaStreamSourcemediaStreamcreateOscillatorcreatePannercreatePeriodicWaverealimag_createPeriodicWave_1'createPeriodicWave'_createPeriodicWave_2createStereoPannercreateWaveShaperBiquadFilterNode"BiquadFilterNode"gaingetFrequencyResponsefrequencyHzmagResponsephaseResponseChannelMergerNode"ChannelMergerNode,AudioChannelMerger"ChannelMergerNode,AudioChannelMergerChannelSplitterNode"ChannelSplitterNode,AudioChannelSplitter"ChannelSplitterNode,AudioChannelSplitterConstantSourceNode"ConstantSourceNode"ConvolverNode"ConvolverNode"DelayNode"DelayNode"delayTimeDynamicsCompressorNode"DynamicsCompressorNode"attackkneeratioreductionreleasethresholdGainNode"GainNode,AudioGainNode"GainNode,AudioGainNodeIirFilterNode"IIRFilterNode"IIRFilterNodeMediaElementAudioSourceNode"MediaElementAudioSourceNode"MediaStreamAudioDestinationNode"MediaStreamAudioDestinationNode"MediaStreamAudioSourceNode"MediaStreamAudioSourceNode"OfflineAudioCompletionEvent"OfflineAudioCompletionEvent"renderedBufferOfflineAudioContext"OfflineAudioContext"numberOfChannels_OR_optionsstartRenderingsuspendForsuspendTimeOscillatorNode"OscillatorNode,Oscillator"OscillatorNode,OscillatorsetPeriodicWaveperiodicWavePannerNode"PannerNode,AudioPannerNode,webkitAudioPannerNode"PannerNode,AudioPannerNode,webkitAudioPannerNodeconeInnerAngleconeOuterAngleconeOuterGaindistanceModelmaxDistanceorientationXorientationYorientationZpanningModelrefDistancerolloffFactorPeriodicWave"PeriodicWave"ScriptProcessorNode"ScriptProcessorNode,JavaScriptAudioNode"ScriptProcessorNode,JavaScriptAudioNodeaudioProcessEvent'audioprocess'audioprocessonAudioProcesssetEventListenereventListenerStereoPannerNode"StereoPannerNode"panWaveShaperNode"WaveShaperNode"curveoversampledart.dom.web_glActiveInfo"WebGLActiveInfo"WebGLActiveInfoAngleInstancedArrays"ANGLEInstancedArrays,ANGLE_instanced_arrays"ANGLEInstancedArrays,ANGLE_instanced_arraysVERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE0x88FEdrawArraysInstancedAngle'drawArraysInstancedANGLE'drawArraysInstancedANGLEprimcountdrawElementsInstancedAngle'drawElementsInstancedANGLE'drawElementsInstancedANGLEvertexAttribDivisorAngle'vertexAttribDivisorANGLE'vertexAttribDivisorANGLEBuffer"WebGLBuffer"WebGLBufferCanvas"WebGLCanvas"WebGLCanvas'canvas'offscreenCanvasColorBufferFloat"WebGLColorBufferFloat"WebGLColorBufferFloatCompressedTextureAstc"WebGLCompressedTextureASTC"WebGLCompressedTextureASTCCOMPRESSED_RGBA_ASTC_10x10_KHR0x93BBCOMPRESSED_RGBA_ASTC_10x5_KHR0x93B8COMPRESSED_RGBA_ASTC_10x6_KHR0x93B9COMPRESSED_RGBA_ASTC_10x8_KHR0x93BACOMPRESSED_RGBA_ASTC_12x10_KHR0x93BCCOMPRESSED_RGBA_ASTC_12x12_KHR0x93BDCOMPRESSED_RGBA_ASTC_4x4_KHR0x93B0COMPRESSED_RGBA_ASTC_5x4_KHR0x93B1COMPRESSED_RGBA_ASTC_5x5_KHR0x93B2COMPRESSED_RGBA_ASTC_6x5_KHR0x93B3COMPRESSED_RGBA_ASTC_6x6_KHR0x93B4COMPRESSED_RGBA_ASTC_8x5_KHR0x93B5COMPRESSED_RGBA_ASTC_8x6_KHR0x93B6COMPRESSED_RGBA_ASTC_8x8_KHR0x93B7COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR0x93DBCOMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR0x93D8COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR0x93D9COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR0x93DACOMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR0x93DCCOMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR0x93DDCOMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR0x93D0COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR0x93D1COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR0x93D2COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR0x93D3COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR0x93D4COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR0x93D5COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR0x93D6COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR0x93D7CompressedTextureAtc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atcCOMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL0x8C93COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL0x87EECOMPRESSED_RGB_ATC_WEBGL0x8C92CompressedTextureETC1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1COMPRESSED_RGB_ETC1_WEBGL0x8D64CompressedTextureEtc"WebGLCompressedTextureETC"WebGLCompressedTextureETCCOMPRESSED_R11_EAC0x9270COMPRESSED_RG11_EAC0x9272COMPRESSED_RGB8_ETC20x9274COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC20x9276COMPRESSED_RGBA8_ETC2_EAC0x9278COMPRESSED_SIGNED_R11_EAC0x9271COMPRESSED_SIGNED_RG11_EAC0x9273COMPRESSED_SRGB8_ALPHA8_ETC2_EAC0x9279COMPRESSED_SRGB8_ETC20x9275COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC20x9277CompressedTexturePvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtcCOMPRESSED_RGBA_PVRTC_2BPPV1_IMG0x8C03COMPRESSED_RGBA_PVRTC_4BPPV1_IMG0x8C02COMPRESSED_RGB_PVRTC_2BPPV1_IMG0x8C01COMPRESSED_RGB_PVRTC_4BPPV1_IMG0x8C00CompressedTextureS3TC"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tcCOMPRESSED_RGBA_S3TC_DXT1_EXT0x83F1COMPRESSED_RGBA_S3TC_DXT3_EXT0x83F2COMPRESSED_RGBA_S3TC_DXT5_EXT0x83F3COMPRESSED_RGB_S3TC_DXT1_EXT0x83F0CompressedTextureS3TCsRgb"WebGLCompressedTextureS3TCsRGB"WebGLCompressedTextureS3TCsRGBCOMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT0x8C4DCOMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT0x8C4ECOMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT0x8C4FCOMPRESSED_SRGB_S3TC_DXT1_EXT0x8C4C"WebGLContextEvent"WebGLContextEventstatusMessageeventInitDebugRendererInfo"WebGLDebugRendererInfo,WEBGL_debug_renderer_info"WebGLDebugRendererInfo,WEBGL_debug_renderer_infoUNMASKED_RENDERER_WEBGL0x9246UNMASKED_VENDOR_WEBGL0x9245DebugShaders"WebGLDebugShaders,WEBGL_debug_shaders"WebGLDebugShaders,WEBGL_debug_shadersgetTranslatedShaderSourceshaderDepthTexture"WebGLDepthTexture,WEBGL_depth_texture"WebGLDepthTexture,WEBGL_depth_textureUNSIGNED_INT_24_8_WEBGL0x84FADrawBuffers"WebGLDrawBuffers,WEBGL_draw_buffers"WebGLDrawBuffers,WEBGL_draw_buffersdrawBuffersWebgl'drawBuffersWEBGL'drawBuffersWEBGLEXTsRgb"EXTsRGB,EXT_sRGB"EXTsRGB,EXT_sRGBFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT0x8210SRGB8_ALPHA8_EXT0x8C43SRGB_ALPHA_EXT0x8C42SRGB_EXT0x8C40ExtBlendMinMax"EXTBlendMinMax,EXT_blend_minmax"EXTBlendMinMax,EXT_blend_minmaxMAX_EXTMIN_EXT0x8007ExtColorBufferFloat"EXTColorBufferFloat"EXTColorBufferFloatExtColorBufferHalfFloat"EXTColorBufferHalfFloat"EXTColorBufferHalfFloatExtDisjointTimerQuery"EXTDisjointTimerQuery"EXTDisjointTimerQueryCURRENT_QUERY_EXT0x8865GPU_DISJOINT_EXT0x8FBBQUERY_COUNTER_BITS_EXT0x8864QUERY_RESULT_AVAILABLE_EXT0x8867QUERY_RESULT_EXT0x8866TIMESTAMP_EXT0x8E28TIME_ELAPSED_EXT0x88BFbeginQueryExt'beginQueryEXT'beginQueryEXTcreateQueryExt'createQueryEXT'createQueryEXTdeleteQueryExt'deleteQueryEXT'deleteQueryEXTendQueryExt'endQueryEXT'endQueryEXTgetQueryExt'getQueryEXT'getQueryEXTpnamegetQueryObjectExt'getQueryObjectEXT'getQueryObjectEXTisQueryExt'isQueryEXT'isQueryEXTqueryCounterExt'queryCounterEXT'queryCounterEXTExtDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2ExtFragDepth"EXTFragDepth,EXT_frag_depth"EXTFragDepth,EXT_frag_depthExtShaderTextureLod"EXTShaderTextureLOD,EXT_shader_texture_lod"EXTShaderTextureLOD,EXT_shader_texture_lodExtTextureFilterAnisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropicMAX_TEXTURE_MAX_ANISOTROPY_EXT0x84FFTEXTURE_MAX_ANISOTROPY_EXT0x84FEFramebuffer"WebGLFramebuffer"WebGLFramebufferGetBufferSubDataAsync"WebGLGetBufferSubDataAsync"WebGLGetBufferSubDataAsyncgetBufferSubDataAsyncsrcByteOffsetdstDatadstOffsetLoseContext"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_contextloseContextrestoreContextOesElementIndexUint"OESElementIndexUint,OES_element_index_uint"OESElementIndexUint,OES_element_index_uintOesStandardDerivatives"OESStandardDerivatives,OES_standard_derivatives"OESStandardDerivatives,OES_standard_derivativesFRAGMENT_SHADER_DERIVATIVE_HINT_OES0x8B8BOesTextureFloat"OESTextureFloat,OES_texture_float"OESTextureFloat,OES_texture_floatOesTextureFloatLinear"OESTextureFloatLinear,OES_texture_float_linear"OESTextureFloatLinear,OES_texture_float_linearOesTextureHalfFloat"OESTextureHalfFloat,OES_texture_half_float"OESTextureHalfFloat,OES_texture_half_floatHALF_FLOAT_OES0x8D61OesTextureHalfFloatLinear"OESTextureHalfFloatLinear,OES_texture_half_float_linear"OESTextureHalfFloatLinear,OES_texture_half_float_linearOesVertexArrayObject"OESVertexArrayObject,OES_vertex_array_object"OESVertexArrayObject,OES_vertex_array_objectVERTEX_ARRAY_BINDING_OES0x85B5bindVertexArray'bindVertexArrayOES'bindVertexArrayOESarrayObjectcreateVertexArray'createVertexArrayOES'createVertexArrayOESdeleteVertexArray'deleteVertexArrayOES'deleteVertexArrayOESisVertexArray'isVertexArrayOES'isVertexArrayOESProgram"WebGLProgram"WebGLProgramQuery"WebGLQuery"WebGLQueryRenderbuffer"WebGLRenderbuffer"WebGLRenderbuffer"WebGLRenderingContext"WebGLRenderingContextdrawingBufferHeightdrawingBufferWidthactiveTexturetextureattachShaderprogrambindAttribLocationbindBufferbindFramebufferframebufferbindRenderbufferrenderbufferbindTextureblendColorredgreenblueblendEquationblendEquationSeparatemodeRGBmodeAlphablendFuncsfactordfactorblendFuncSeparatesrcRGBdstRGBsrcAlphadstAlphabufferDatadata_OR_sizeusagebufferSubDatacheckFramebufferStatusclearColorclearDepthclearStencilcolorMaskcompileShadercompressedTexImage2DinternalformatcompressedTexSubImage2DxoffsetyoffsetcopyTexImage2DcopyTexSubImage2DcreateFramebuffercreateProgramcreateRenderbuffercreateShadercreateTexturecullFacedeleteBufferdeleteFramebufferdeleteProgramdeleteRenderbufferdeleteShaderdeleteTexturedepthFuncfuncdepthMaskflagdepthRangezNearzFardetachShadercapdisableVertexAttribArraydrawArraysdrawElementsenableVertexAttribArrayframebufferRenderbufferattachmentrenderbuffertargetframebufferTexture2DtextargetfrontFacegenerateMipmapgetActiveAttribgetActiveUniformgetAttachedShadersgetAttribLocationgetBufferParameter'int|Null'int|Null'ContextAttributes|Null'ContextAttributes|NullgetErrorgetExtensiongetFramebufferAttachmentParameter'int|Renderbuffer|Texture|Null'int|Renderbuffer|Texture|Null'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|TexturegetProgramInfoLoggetProgramParameter'int|bool|Null'int|bool|NullgetRenderbufferParametergetShaderInfoLoggetShaderParametergetShaderPrecisionFormatshadertypeprecisiontypegetShaderSourcegetSupportedExtensionsgetTexParametergetUniform'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32ListgetUniformLocationgetVertexAttrib'Null|num|bool|NativeFloat32List|Buffer'Null|num|bool|NativeFloat32List|BuffergetVertexAttribOffsethintisBufferisEnabledisFramebufferisProgramisRenderbufferisShaderisTexturelinkProgrampixelStoreiparampolygonOffsetunits_readPixels'readPixels'readPixelspixelsrenderbufferStoragesampleCoverageinvertscissorshaderSourcestencilFuncstencilFuncSeparatefacestencilMaskstencilMaskSeparatestencilOpfailzfailzpassstencilOpSeparatetexImage2Dformat_OR_widthheight_OR_typebitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video_texImage2D_1'texImage2D'_texImage2D_2_texImage2D_3_texImage2D_4_texImage2D_5_texImage2D_6texParameterftexParameteritexSubImage2Dbitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video_texSubImage2D_1'texSubImage2D'_texSubImage2D_2_texSubImage2D_3_texSubImage2D_4_texSubImage2D_5_texSubImage2D_6uniform1funiform1fvuniform1iuniform1ivuniform2funiform2fvuniform2iuniform2ivuniform3funiform3fvuniform3iuniform3ivuniform4funiform4fvuniform4iuniform4ivuniformMatrix2fvtransposeuniformMatrix3fvuniformMatrix4fvuseProgramvalidateProgramvertexAttrib1findxvertexAttrib1fvvertexAttrib2fvertexAttrib2fvvertexAttrib3fvertexAttrib3fvvertexAttrib4fvertexAttrib4fvvertexAttribPointernormalizedstrideviewporttexImage2DUntyped"Use texImage2D"Use texImage2DtargetTexturelevelOfDetailinternalFormattexImage2DTypedtexSubImage2DUntyped"Use texSubImage2D"Use texSubImage2DxOffsetyOffsettexSubImage2DTypedbufferDataTyped"Use bufferData"Use bufferDatabufferSubDataTyped"Use bufferSubData"Use bufferSubData"WebGL2RenderingContext"WebGL2RenderingContextbeginQuerybeginTransformFeedbackprimitiveModebindBufferBasebindBufferRangebindSamplersamplerbindTransformFeedbackfeedbackvertexArrayblitFramebuffersrcX0srcY0srcX1srcY1dstX0dstY0dstX1dstY1bufferData2'bufferData'srcDatasrcOffsetbufferSubData2'bufferSubData'dstByteOffsetclearBufferfidrawbufferclearBufferfvclearBufferivclearBufferuivclientWaitSyncflagscompressedTexImage2D2'compressedTexImage2D'srcLengthOverridecompressedTexImage2D3imageSizecompressedTexImage3DcompressedTexImage3D2'compressedTexImage3D'compressedTexSubImage2D2'compressedTexSubImage2D'compressedTexSubImage2D3compressedTexSubImage3DzoffsetcompressedTexSubImage3D2'compressedTexSubImage3D'copyBufferSubDatareadTargetwriteTargetreadOffsetwriteOffsetcopyTexSubImage3DcreateQuerycreateSamplercreateTransformFeedbackdeleteQuerydeleteSamplerdeleteTransformFeedbackdrawArraysInstancedinstanceCountdrawBuffersdrawElementsInstanceddrawRangeElementsendQueryendTransformFeedbackfenceSyncframebufferTextureLayergetActiveUniformBlockNameuniformBlockIndexgetActiveUniformBlockParametergetActiveUniformsuniformIndicesgetBufferSubDatagetFragDataLocationgetIndexedParametergetInternalformatParametergetQuerygetQueryParametergetSamplerParametergetSyncParametergetTransformFeedbackVaryinggetUniformBlockIndexuniformBlockNamegetUniformIndicesuniformNames_getUniformIndices_1'getUniformIndices'invalidateFramebufferattachmentsinvalidateSubFramebufferisQueryisSamplerisSyncisTransformFeedbackpauseTransformFeedbackreadBufferreadPixels2dstData_OR_offsetrenderbufferStorageMultisamplesamplesresumeTransformFeedbacksamplerParameterfsamplerParameteritexImage2D2bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video_texImage2D2_1_texImage2D2_2_texImage2D2_3_texImage2D2_4_texImage2D2_5_texImage2D2_6_texImage2D2_7texImage3Dbitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video_texImage3D_1'texImage3D'_texImage3D_2_texImage3D_3_texImage3D_4_texImage3D_5_texImage3D_6_texImage3D_7_texImage3D_8texStorage2DlevelstexStorage3DtexSubImage2D2_texSubImage2D2_1_texSubImage2D2_2_texSubImage2D2_3_texSubImage2D2_4_texSubImage2D2_5_texSubImage2D2_6_texSubImage2D2_7texSubImage3D_texSubImage3D_1'texSubImage3D'_texSubImage3D_2_texSubImage3D_3_texSubImage3D_4_texSubImage3D_5_texSubImage3D_6_texSubImage3D_7_texSubImage3D_8transformFeedbackVaryingsvaryingsbufferMode_transformFeedbackVaryings_1'transformFeedbackVaryings'uniform1fv2'uniform1fv'srcLengthuniform1iv2'uniform1iv'uniform1uiv0uniform1uivuniform2fv2'uniform2fv'uniform2iv2'uniform2iv'uniform2uiv1uniform2uivuniform3fv2'uniform3fv'uniform3iv2'uniform3iv'uniform3uiv2uniform3uivuniform4fv2'uniform4fv'uniform4iv2'uniform4iv'uniform4uiv3uniform4uivuniformBlockBindinguniformMatrix2fv2'uniformMatrix2fv'uniformMatrix2x3fvuniformMatrix2x4fvuniformMatrix3fv2'uniformMatrix3fv'uniformMatrix3x2fvuniformMatrix3x4fvuniformMatrix4fv2'uniformMatrix4fv'uniformMatrix4x2fvuniformMatrix4x3fvvertexAttribDivisorvertexAttribI4ivertexAttribI4ivvertexAttribI4uivertexAttribI4uivvertexAttribIPointerwaitSyncSampler"WebGLSampler"WebGLSamplerShader"WebGLShader"WebGLShaderShaderPrecisionFormat"WebGLShaderPrecisionFormat"WebGLShaderPrecisionFormatrangeMaxrangeMinSync"WebGLSync"WebGLSyncTexture"WebGLTexture"WebGLTexturelastUploadedVideoFrameWasSkippedlastUploadedVideoHeightlastUploadedVideoTimestamplastUploadedVideoWidthTimerQueryExt"WebGLTimerQueryEXT"WebGLTimerQueryEXTTransformFeedback"WebGLTransformFeedback"WebGLTransformFeedbackUniformLocation"WebGLUniformLocation"WebGLUniformLocationVertexArrayObject"WebGLVertexArrayObject"WebGLVertexArrayObjectVertexArrayObjectOes"WebGLVertexArrayObjectOES"WebGLVertexArrayObjectOESWebGL"WebGL"ACTIVE_ATTRIBUTES0x8B89ACTIVE_TEXTURE0x84E0ACTIVE_UNIFORMS0x8B86ACTIVE_UNIFORM_BLOCKS0x8A36ALIASED_LINE_WIDTH_RANGE0x846EALIASED_POINT_SIZE_RANGE0x846DALPHA0x1906ALPHA_BITS0x0D55ALREADY_SIGNALED0x911AALWAYS0x0207ANY_SAMPLES_PASSED0x8C2FANY_SAMPLES_PASSED_CONSERVATIVE0x8D6AARRAY_BUFFER0x8892ARRAY_BUFFER_BINDING0x8894ATTACHED_SHADERS0x8B85BACK0x0405BLEND0x0BE2BLEND_COLOR0x8005BLEND_DST_ALPHA0x80CABLEND_DST_RGB0x80C8BLEND_EQUATION0x8009BLEND_EQUATION_ALPHA0x883DBLEND_EQUATION_RGBBLEND_SRC_ALPHA0x80CBBLEND_SRC_RGB0x80C9BLUE_BITS0x0D54BOOL0x8B56BOOL_VEC20x8B57BOOL_VEC30x8B58BOOL_VEC40x8B59BROWSER_DEFAULT_WEBGL0x9244BUFFER_SIZE0x8764BUFFER_USAGE0x8765BYTE0x1400CCW0x0901CLAMP_TO_EDGE0x812FCOLOR0x1800COLOR_ATTACHMENT00x8CE0COLOR_ATTACHMENT0_WEBGLCOLOR_ATTACHMENT10x8CE1COLOR_ATTACHMENT100x8CEACOLOR_ATTACHMENT10_WEBGLCOLOR_ATTACHMENT110x8CEBCOLOR_ATTACHMENT11_WEBGLCOLOR_ATTACHMENT120x8CECCOLOR_ATTACHMENT12_WEBGLCOLOR_ATTACHMENT130x8CEDCOLOR_ATTACHMENT13_WEBGLCOLOR_ATTACHMENT140x8CEECOLOR_ATTACHMENT14_WEBGLCOLOR_ATTACHMENT150x8CEFCOLOR_ATTACHMENT15_WEBGLCOLOR_ATTACHMENT1_WEBGLCOLOR_ATTACHMENT20x8CE2COLOR_ATTACHMENT2_WEBGLCOLOR_ATTACHMENT30x8CE3COLOR_ATTACHMENT3_WEBGLCOLOR_ATTACHMENT40x8CE4COLOR_ATTACHMENT4_WEBGLCOLOR_ATTACHMENT50x8CE5COLOR_ATTACHMENT5_WEBGLCOLOR_ATTACHMENT60x8CE6COLOR_ATTACHMENT6_WEBGLCOLOR_ATTACHMENT70x8CE7COLOR_ATTACHMENT7_WEBGLCOLOR_ATTACHMENT80x8CE8COLOR_ATTACHMENT8_WEBGLCOLOR_ATTACHMENT90x8CE9COLOR_ATTACHMENT9_WEBGLCOLOR_BUFFER_BIT0x00004000COLOR_CLEAR_VALUE0x0C22COLOR_WRITEMASK0x0C23COMPARE_REF_TO_TEXTURE0x884ECOMPILE_STATUS0x8B81COMPRESSED_TEXTURE_FORMATS0x86A3CONDITION_SATISFIED0x911CCONSTANT_ALPHA0x8003CONSTANT_COLOR0x8001CONTEXT_LOST_WEBGL0x9242COPY_READ_BUFFER0x8F36COPY_READ_BUFFER_BINDINGCOPY_WRITE_BUFFER0x8F37COPY_WRITE_BUFFER_BINDINGCULL_FACE0x0B44CULL_FACE_MODE0x0B45CURRENT_PROGRAM0x8B8DCURRENT_QUERYCURRENT_VERTEX_ATTRIB0x8626CW0x0900DECR0x1E03DECR_WRAP0x8508DELETE_STATUS0x8B80DEPTH0x1801DEPTH24_STENCIL80x88F0DEPTH32F_STENCIL80x8CADDEPTH_ATTACHMENT0x8D00DEPTH_BITS0x0D56DEPTH_BUFFER_BIT0x00000100DEPTH_CLEAR_VALUE0x0B73DEPTH_COMPONENT0x1902DEPTH_COMPONENT160x81A5DEPTH_COMPONENT240x81A6DEPTH_COMPONENT32F0x8CACDEPTH_FUNC0x0B74DEPTH_RANGE0x0B70DEPTH_STENCIL0x84F9DEPTH_STENCIL_ATTACHMENT0x821ADEPTH_TEST0x0B71DEPTH_WRITEMASK0x0B72DITHER0x0BD0DONT_CARE0x1100DRAW_BUFFER00x8825DRAW_BUFFER0_WEBGLDRAW_BUFFER10x8826DRAW_BUFFER100x882FDRAW_BUFFER10_WEBGLDRAW_BUFFER110x8830DRAW_BUFFER11_WEBGLDRAW_BUFFER120x8831DRAW_BUFFER12_WEBGLDRAW_BUFFER130x8832DRAW_BUFFER13_WEBGLDRAW_BUFFER140x8833DRAW_BUFFER14_WEBGLDRAW_BUFFER150x8834DRAW_BUFFER15_WEBGLDRAW_BUFFER1_WEBGLDRAW_BUFFER20x8827DRAW_BUFFER2_WEBGLDRAW_BUFFER30x8828DRAW_BUFFER3_WEBGLDRAW_BUFFER40x8829DRAW_BUFFER4_WEBGLDRAW_BUFFER50x882ADRAW_BUFFER5_WEBGLDRAW_BUFFER60x882BDRAW_BUFFER6_WEBGLDRAW_BUFFER70x882CDRAW_BUFFER7_WEBGLDRAW_BUFFER80x882DDRAW_BUFFER8_WEBGLDRAW_BUFFER90x882EDRAW_BUFFER9_WEBGLDRAW_FRAMEBUFFER0x8CA9DRAW_FRAMEBUFFER_BINDING0x8CA6DST_ALPHA0x0304DST_COLOR0x0306DYNAMIC_COPY0x88EADYNAMIC_DRAW0x88E8DYNAMIC_READ0x88E9ELEMENT_ARRAY_BUFFER0x8893ELEMENT_ARRAY_BUFFER_BINDING0x8895EQUAL0x0202FASTEST0x1101FLOAT0x1406FLOAT_32_UNSIGNED_INT_24_8_REV0x8DADFLOAT_MAT20x8B5AFLOAT_MAT2x30x8B65FLOAT_MAT2x40x8B66FLOAT_MAT30x8B5BFLOAT_MAT3x20x8B67FLOAT_MAT3x40x8B68FLOAT_MAT40x8B5CFLOAT_MAT4x20x8B69FLOAT_MAT4x30x8B6AFLOAT_VEC20x8B50FLOAT_VEC30x8B51FLOAT_VEC40x8B52FRAGMENT_SHADER0x8B30FRAGMENT_SHADER_DERIVATIVE_HINTFRAMEBUFFER0x8D40FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE0x8215FRAMEBUFFER_ATTACHMENT_BLUE_SIZE0x8214FRAMEBUFFER_ATTACHMENT_COLOR_ENCODINGFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE0x8211FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE0x8216FRAMEBUFFER_ATTACHMENT_GREEN_SIZE0x8213FRAMEBUFFER_ATTACHMENT_OBJECT_NAME0x8CD1FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE0x8CD0FRAMEBUFFER_ATTACHMENT_RED_SIZE0x8212FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE0x8217FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE0x8CD3FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER0x8CD4FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL0x8CD2FRAMEBUFFER_BINDINGFRAMEBUFFER_COMPLETE0x8CD5FRAMEBUFFER_DEFAULT0x8218FRAMEBUFFER_INCOMPLETE_ATTACHMENT0x8CD6FRAMEBUFFER_INCOMPLETE_DIMENSIONS0x8CD9FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT0x8CD7FRAMEBUFFER_INCOMPLETE_MULTISAMPLE0x8D56FRAMEBUFFER_UNSUPPORTED0x8CDDFRONT0x0404FRONT_AND_BACK0x0408FRONT_FACE0x0B46FUNC_ADD0x8006FUNC_REVERSE_SUBTRACT0x800BFUNC_SUBTRACT0x800AGENERATE_MIPMAP_HINT0x8192GEQUAL0x0206GREATER0x0204GREEN_BITS0x0D53HALF_FLOAT0x140BHIGH_FLOAT0x8DF2HIGH_INT0x8DF5IMPLEMENTATION_COLOR_READ_FORMAT0x8B9BIMPLEMENTATION_COLOR_READ_TYPE0x8B9AINCR0x1E02INCR_WRAP0x8507INT0x1404INTERLEAVED_ATTRIBS0x8C8CINT_2_10_10_10_REV0x8D9FINT_SAMPLER_2D0x8DCAINT_SAMPLER_2D_ARRAY0x8DCFINT_SAMPLER_3D0x8DCBINT_SAMPLER_CUBE0x8DCCINT_VEC20x8B53INT_VEC30x8B54INT_VEC40x8B55INVALID_ENUM0x0500INVALID_FRAMEBUFFER_OPERATION0x0506INVALID_INDEXINVALID_OPERATION0x0502INVALID_VALUE0x0501INVERT0x150AKEEP0x1E00LEQUAL0x0203LESS0x0201LINEAR0x2601LINEAR_MIPMAP_LINEAR0x2703LINEAR_MIPMAP_NEAREST0x2701LINESLINE_LOOP0x0002LINE_STRIP0x0003LINE_WIDTH0x0B21LINK_STATUS0x8B82LOW_FLOAT0x8DF0LOW_INT0x8DF3LUMINANCE0x1909LUMINANCE_ALPHA0x190AMAXMAX_3D_TEXTURE_SIZE0x8073MAX_ARRAY_TEXTURE_LAYERS0x88FFMAX_CLIENT_WAIT_TIMEOUT_WEBGL0x9247MAX_COLOR_ATTACHMENTS0x8CDFMAX_COLOR_ATTACHMENTS_WEBGLMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS0x8A33MAX_COMBINED_TEXTURE_IMAGE_UNITS0x8B4DMAX_COMBINED_UNIFORM_BLOCKS0x8A2EMAX_COMBINED_VERTEX_UNIFORM_COMPONENTS0x8A31MAX_CUBE_MAP_TEXTURE_SIZE0x851CMAX_DRAW_BUFFERS0x8824MAX_DRAW_BUFFERS_WEBGLMAX_ELEMENTS_INDICES0x80E9MAX_ELEMENTS_VERTICES0x80E8MAX_ELEMENT_INDEX0x8D6BMAX_FRAGMENT_INPUT_COMPONENTS0x9125MAX_FRAGMENT_UNIFORM_BLOCKS0x8A2DMAX_FRAGMENT_UNIFORM_COMPONENTS0x8B49MAX_FRAGMENT_UNIFORM_VECTORS0x8DFDMAX_PROGRAM_TEXEL_OFFSET0x8905MAX_RENDERBUFFER_SIZE0x84E8MAX_SAMPLES0x8D57MAX_SERVER_WAIT_TIMEOUT0x9111MAX_TEXTURE_IMAGE_UNITS0x8872MAX_TEXTURE_LOD_BIAS0x84FDMAX_TEXTURE_SIZE0x0D33MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS0x8C8AMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS0x8C8BMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS0x8C80MAX_UNIFORM_BLOCK_SIZE0x8A30MAX_UNIFORM_BUFFER_BINDINGS0x8A2FMAX_VARYING_COMPONENTS0x8B4BMAX_VARYING_VECTORS0x8DFCMAX_VERTEX_ATTRIBS0x8869MAX_VERTEX_OUTPUT_COMPONENTS0x9122MAX_VERTEX_TEXTURE_IMAGE_UNITS0x8B4CMAX_VERTEX_UNIFORM_BLOCKS0x8A2BMAX_VERTEX_UNIFORM_COMPONENTS0x8B4AMAX_VERTEX_UNIFORM_VECTORS0x8DFBMAX_VIEWPORT_DIMS0x0D3AMEDIUM_FLOAT0x8DF1MEDIUM_INT0x8DF4MINMIN_PROGRAM_TEXEL_OFFSET0x8904MIRRORED_REPEAT0x8370NEAREST0x2600NEAREST_MIPMAP_LINEAR0x2702NEAREST_MIPMAP_NEAREST0x2700NEVER0x0200NICEST0x1102NOTEQUAL0x0205NO_ERROROBJECT_TYPE0x9112ONE_MINUS_CONSTANT_ALPHA0x8004ONE_MINUS_CONSTANT_COLOR0x8002ONE_MINUS_DST_ALPHA0x0305ONE_MINUS_DST_COLOR0x0307ONE_MINUS_SRC_ALPHA0x0303ONE_MINUS_SRC_COLOR0x0301OUT_OF_MEMORY0x0505PACK_ALIGNMENT0x0D05PACK_ROW_LENGTH0x0D02PACK_SKIP_PIXELS0x0D04PACK_SKIP_ROWS0x0D03PIXEL_PACK_BUFFER0x88EBPIXEL_PACK_BUFFER_BINDING0x88EDPIXEL_UNPACK_BUFFER0x88ECPIXEL_UNPACK_BUFFER_BINDING0x88EFPOINTSPOLYGON_OFFSET_FACTOR0x8038POLYGON_OFFSET_FILL0x8037POLYGON_OFFSET_UNITS0x2A00QUERY_RESULTQUERY_RESULT_AVAILABLER11F_G11F_B10F0x8C3AR16F0x822DR16I0x8233R16UI0x8234R32F0x822ER32I0x8235R32UI0x8236R80x8229R8I0x8231R8UI0x8232R8_SNORM0x8F94RASTERIZER_DISCARD0x8C89READ_BUFFER0x0C02READ_FRAMEBUFFER0x8CA8READ_FRAMEBUFFER_BINDING0x8CAARED0x1903RED_BITS0x0D52RED_INTEGER0x8D94RENDERBUFFER0x8D41RENDERBUFFER_ALPHA_SIZE0x8D53RENDERBUFFER_BINDING0x8CA7RENDERBUFFER_BLUE_SIZE0x8D52RENDERBUFFER_DEPTH_SIZE0x8D54RENDERBUFFER_GREEN_SIZE0x8D51RENDERBUFFER_HEIGHT0x8D43RENDERBUFFER_INTERNAL_FORMAT0x8D44RENDERBUFFER_RED_SIZE0x8D50RENDERBUFFER_SAMPLES0x8CABRENDERBUFFER_STENCIL_SIZE0x8D55RENDERBUFFER_WIDTH0x8D42RENDERER0x1F01REPEAT0x2901REPLACE0x1E01RG0x8227RG16F0x822FRG16I0x8239RG16UI0x823ARG32F0x8230RG32I0x823BRG32UI0x823CRG80x822BRG8I0x8237RG8UI0x8238RG8_SNORM0x8F95RGB0x1907RGB10_A20x8059RGB10_A2UI0x906FRGB16F0x881BRGB16I0x8D89RGB16UI0x8D77RGB32F0x8815RGB32I0x8D83RGB32UI0x8D71RGB5650x8D62RGB5_A10x8057RGB80x8051RGB8I0x8D8FRGB8UI0x8D7DRGB8_SNORM0x8F96RGB9_E50x8C3DRGBA0x1908RGBA16F0x881ARGBA16I0x8D88RGBA16UI0x8D76RGBA32F0x8814RGBA32I0x8D82RGBA32UI0x8D70RGBA40x8056RGBA80x8058RGBA8I0x8D8ERGBA8UI0x8D7CRGBA8_SNORM0x8F97RGBA_INTEGER0x8D99RGB_INTEGER0x8D98RG_INTEGER0x8228SAMPLER_2D0x8B5ESAMPLER_2D_ARRAY0x8DC1SAMPLER_2D_ARRAY_SHADOW0x8DC4SAMPLER_2D_SHADOW0x8B62SAMPLER_3D0x8B5FSAMPLER_BINDING0x8919SAMPLER_CUBE0x8B60SAMPLER_CUBE_SHADOW0x8DC5SAMPLES0x80A9SAMPLE_ALPHA_TO_COVERAGE0x809ESAMPLE_BUFFERS0x80A8SAMPLE_COVERAGE0x80A0SAMPLE_COVERAGE_INVERT0x80ABSAMPLE_COVERAGE_VALUE0x80AASCISSOR_BOX0x0C10SCISSOR_TEST0x0C11SEPARATE_ATTRIBS0x8C8DSHADER_TYPE0x8B4FSHADING_LANGUAGE_VERSION0x8B8CSHORT0x1402SIGNALED0x9119SIGNED_NORMALIZED0x8F9CSRC_ALPHA0x0302SRC_ALPHA_SATURATE0x0308SRC_COLOR0x0300SRGBSRGB80x8C41SRGB8_ALPHA8STATIC_COPY0x88E6STATIC_DRAW0x88E4STATIC_READ0x88E5STENCIL0x1802STENCIL_ATTACHMENT0x8D20STENCIL_BACK_FAIL0x8801STENCIL_BACK_FUNC0x8800STENCIL_BACK_PASS_DEPTH_FAIL0x8802STENCIL_BACK_PASS_DEPTH_PASS0x8803STENCIL_BACK_REF0x8CA3STENCIL_BACK_VALUE_MASK0x8CA4STENCIL_BACK_WRITEMASK0x8CA5STENCIL_BITS0x0D57STENCIL_BUFFER_BIT0x00000400STENCIL_CLEAR_VALUE0x0B91STENCIL_FAIL0x0B94STENCIL_FUNC0x0B92STENCIL_INDEX80x8D48STENCIL_PASS_DEPTH_FAIL0x0B95STENCIL_PASS_DEPTH_PASS0x0B96STENCIL_REF0x0B97STENCIL_TEST0x0B90STENCIL_VALUE_MASK0x0B93STENCIL_WRITEMASK0x0B98STREAM_COPY0x88E2STREAM_DRAW0x88E0STREAM_READ0x88E1SUBPIXEL_BITS0x0D50SYNC_CONDITION0x9113SYNC_FENCE0x9116SYNC_FLAGS0x9115SYNC_FLUSH_COMMANDS_BIT0x00000001SYNC_GPU_COMMANDS_COMPLETE0x9117SYNC_STATUS0x9114TEXTURE0x1702TEXTURE00x84C0TEXTURE10x84C1TEXTURE100x84CATEXTURE110x84CBTEXTURE120x84CCTEXTURE130x84CDTEXTURE140x84CETEXTURE150x84CFTEXTURE160x84D0TEXTURE170x84D1TEXTURE180x84D2TEXTURE190x84D3TEXTURE20x84C2TEXTURE200x84D4TEXTURE210x84D5TEXTURE220x84D6TEXTURE230x84D7TEXTURE240x84D8TEXTURE250x84D9TEXTURE260x84DATEXTURE270x84DBTEXTURE280x84DCTEXTURE290x84DDTEXTURE30x84C3TEXTURE300x84DETEXTURE310x84DFTEXTURE40x84C4TEXTURE50x84C5TEXTURE60x84C6TEXTURE70x84C7TEXTURE80x84C8TEXTURE90x84C9TEXTURE_2D0x0DE1TEXTURE_2D_ARRAY0x8C1ATEXTURE_3D0x806FTEXTURE_BASE_LEVEL0x813CTEXTURE_BINDING_2D0x8069TEXTURE_BINDING_2D_ARRAY0x8C1DTEXTURE_BINDING_3D0x806ATEXTURE_BINDING_CUBE_MAP0x8514TEXTURE_COMPARE_FUNC0x884DTEXTURE_COMPARE_MODE0x884CTEXTURE_CUBE_MAP0x8513TEXTURE_CUBE_MAP_NEGATIVE_X0x8516TEXTURE_CUBE_MAP_NEGATIVE_Y0x8518TEXTURE_CUBE_MAP_NEGATIVE_Z0x851ATEXTURE_CUBE_MAP_POSITIVE_X0x8515TEXTURE_CUBE_MAP_POSITIVE_Y0x8517TEXTURE_CUBE_MAP_POSITIVE_Z0x8519TEXTURE_IMMUTABLE_FORMAT0x912FTEXTURE_IMMUTABLE_LEVELS0x82DFTEXTURE_MAG_FILTERTEXTURE_MAX_LEVEL0x813DTEXTURE_MAX_LOD0x813BTEXTURE_MIN_FILTER0x2801TEXTURE_MIN_LOD0x813ATEXTURE_WRAP_R0x8072TEXTURE_WRAP_S0x2802TEXTURE_WRAP_T0x2803TIMEOUT_EXPIRED0x911BTIMEOUT_IGNOREDTRANSFORM_FEEDBACK0x8E22TRANSFORM_FEEDBACK_ACTIVE0x8E24TRANSFORM_FEEDBACK_BINDING0x8E25TRANSFORM_FEEDBACK_BUFFER0x8C8ETRANSFORM_FEEDBACK_BUFFER_BINDING0x8C8FTRANSFORM_FEEDBACK_BUFFER_MODE0x8C7FTRANSFORM_FEEDBACK_BUFFER_SIZE0x8C85TRANSFORM_FEEDBACK_BUFFER_START0x8C84TRANSFORM_FEEDBACK_PAUSED0x8E23TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN0x8C88TRANSFORM_FEEDBACK_VARYINGS0x8C83TRIANGLES0x0004TRIANGLE_FAN0x0006TRIANGLE_STRIP0x0005UNIFORM_ARRAY_STRIDE0x8A3CUNIFORM_BLOCK_ACTIVE_UNIFORMS0x8A42UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES0x8A43UNIFORM_BLOCK_BINDING0x8A3FUNIFORM_BLOCK_DATA_SIZE0x8A40UNIFORM_BLOCK_INDEX0x8A3AUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER0x8A46UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER0x8A44UNIFORM_BUFFER0x8A11UNIFORM_BUFFER_BINDING0x8A28UNIFORM_BUFFER_OFFSET_ALIGNMENT0x8A34UNIFORM_BUFFER_SIZE0x8A2AUNIFORM_BUFFER_START0x8A29UNIFORM_IS_ROW_MAJOR0x8A3EUNIFORM_MATRIX_STRIDE0x8A3DUNIFORM_OFFSET0x8A3BUNIFORM_SIZE0x8A38UNIFORM_TYPE0x8A37UNPACK_ALIGNMENT0x0CF5UNPACK_COLORSPACE_CONVERSION_WEBGL0x9243UNPACK_FLIP_Y_WEBGL0x9240UNPACK_IMAGE_HEIGHT0x806EUNPACK_PREMULTIPLY_ALPHA_WEBGL0x9241UNPACK_ROW_LENGTH0x0CF2UNPACK_SKIP_IMAGES0x806DUNPACK_SKIP_PIXELS0x0CF4UNPACK_SKIP_ROWS0x0CF3UNSIGNALED0x9118UNSIGNED_BYTE0x1401UNSIGNED_INT0x1405UNSIGNED_INT_10F_11F_11F_REV0x8C3BUNSIGNED_INT_24_8UNSIGNED_INT_2_10_10_10_REV0x8368UNSIGNED_INT_5_9_9_9_REV0x8C3EUNSIGNED_INT_SAMPLER_2D0x8DD2UNSIGNED_INT_SAMPLER_2D_ARRAY0x8DD7UNSIGNED_INT_SAMPLER_3D0x8DD3UNSIGNED_INT_SAMPLER_CUBE0x8DD4UNSIGNED_INT_VEC20x8DC6UNSIGNED_INT_VEC30x8DC7UNSIGNED_INT_VEC40x8DC8UNSIGNED_NORMALIZED0x8C17UNSIGNED_SHORT0x1403UNSIGNED_SHORT_4_4_4_40x8033UNSIGNED_SHORT_5_5_5_10x8034UNSIGNED_SHORT_5_6_50x8363VALIDATE_STATUS0x8B83VENDOR0x1F000x1F02VERTEX_ARRAY_BINDINGVERTEX_ATTRIB_ARRAY_BUFFER_BINDING0x889FVERTEX_ATTRIB_ARRAY_DIVISORVERTEX_ATTRIB_ARRAY_ENABLED0x8622VERTEX_ATTRIB_ARRAY_INTEGER0x88FDVERTEX_ATTRIB_ARRAY_NORMALIZED0x886AVERTEX_ATTRIB_ARRAY_POINTER0x8645VERTEX_ATTRIB_ARRAY_SIZE0x8623VERTEX_ATTRIB_ARRAY_STRIDE0x8624VERTEX_ATTRIB_ARRAY_TYPE0x8625VERTEX_SHADER0x8B31VIEWPORT0x0BA2WAIT_FAILED0x911D_WebGL2RenderingContextBase"WebGL2RenderingContextBase"WebGL2RenderingContextBase_WebGLRenderingContextBasedart._internalcoreCodeUnits_stringstringOfuExternalName"2.11"2.11hash2hash3hash4v4hash5v5hash6v6hash7v7hash8v8hash9v9hash10v10hash11v11hash12v12hash13v13hash14v14hash15v15hash16v16hash17v17hash18v18hash19v19hash20v20smearSentinelValueNotNullableErrorcontinue_switchingProtocolsprocessingok200acceptednonAuthoritativeInformationnoContent204resetContent205partialContentmultiStatus207alreadyReported208imUsed226multipleChoices300movedPermanently301found302seeOther303notModified304useProxy305temporaryRedirect307permanentRedirect308badRequest400unauthorized401paymentRequired402forbidden403404methodNotAllowed405notAcceptable406proxyAuthenticationRequired407requestTimeout408conflict409gone410lengthRequired411preconditionFailed412requestEntityTooLarge413requestUriTooLong414unsupportedMediaType415requestedRangeNotSatisfiable416expectationFailed417misdirectedRequest421unprocessableEntity422locked423failedDependency424upgradeRequired426preconditionRequired428tooManyRequests429requestHeaderFieldsTooLarge431connectionClosedWithoutResponse444unavailableForLegalReasons451clientClosedRequest499500notImplemented501badGateway502serviceUnavailable503gatewayTimeout504httpVersionNotSupported505variantAlsoNegotiates506insufficientStorage507loopDetected508notExtended510networkAuthenticationRequired511networkConnectTimeoutError599CONTINUE"Use continue_ instead"Use continue_ insteadSWITCHING_PROTOCOLS"Use switchingProtocols instead"Use switchingProtocols insteadOK"Use ok instead"Use ok insteadCREATED"Use created instead"Use created insteadACCEPTED"Use accepted instead"Use accepted insteadNON_AUTHORITATIVE_INFORMATION"Use nonAuthoritativeInformation instead"Use nonAuthoritativeInformation insteadNO_CONTENT"Use noContent instead"Use noContent insteadRESET_CONTENT"Use resetContent instead"Use resetContent insteadPARTIAL_CONTENT"Use partialContent instead"Use partialContent insteadMULTIPLE_CHOICES"Use multipleChoices instead"Use multipleChoices insteadMOVED_PERMANENTLY"Use movedPermanently instead"Use movedPermanently insteadFOUND"Use found instead"Use found insteadMOVED_TEMPORARILY"Use movedTemporarily instead"Use movedTemporarily insteadSEE_OTHER"Use seeOther instead"Use seeOther insteadNOT_MODIFIED"Use notModified instead"Use notModified insteadUSE_PROXY"Use useProxy instead"Use useProxy insteadTEMPORARY_REDIRECT"Use temporaryRedirect instead"Use temporaryRedirect insteadBAD_REQUEST"Use badRequest instead"Use badRequest insteadUNAUTHORIZED"Use unauthorized instead"Use unauthorized insteadPAYMENT_REQUIRED"Use paymentRequired instead"Use paymentRequired insteadFORBIDDEN"Use forbidden instead"Use forbidden insteadMETHOD_NOT_ALLOWED"Use methodNotAllowed instead"Use methodNotAllowed insteadNOT_ACCEPTABLE"Use notAcceptable instead"Use notAcceptable insteadPROXY_AUTHENTICATION_REQUIRED"Use proxyAuthenticationRequired instead"Use proxyAuthenticationRequired insteadREQUEST_TIMEOUT"Use requestTimeout instead"Use requestTimeout insteadCONFLICT"Use conflict instead"Use conflict insteadGONE"Use gone instead"Use gone insteadLENGTH_REQUIRED"Use lengthRequired instead"Use lengthRequired insteadPRECONDITION_FAILED"Use preconditionFailed instead"Use preconditionFailed insteadREQUEST_ENTITY_TOO_LARGE"Use requestEntityTooLarge instead"Use requestEntityTooLarge insteadREQUEST_URI_TOO_LONG"Use requestUriTooLong instead"Use requestUriTooLong insteadUNSUPPORTED_MEDIA_TYPE"Use unsupportedMediaType instead"Use unsupportedMediaType insteadREQUESTED_RANGE_NOT_SATISFIABLE"Use requestedRangeNotSatisfiable instead"Use requestedRangeNotSatisfiable insteadEXPECTATION_FAILED"Use expectationFailed instead"Use expectationFailed insteadUPGRADE_REQUIRED"Use upgradeRequired instead"Use upgradeRequired insteadINTERNAL_SERVER_ERROR"Use internalServerError instead"Use internalServerError insteadNOT_IMPLEMENTED"Use notImplemented instead"Use notImplemented insteadBAD_GATEWAY"Use badGateway instead"Use badGateway insteadSERVICE_UNAVAILABLE"Use serviceUnavailable instead"Use serviceUnavailable insteadGATEWAY_TIMEOUT"Use gatewayTimeout instead"Use gatewayTimeout insteadHTTP_VERSION_NOT_SUPPORTED"Use httpVersionNotSupported instead"Use httpVersionNotSupported insteadNETWORK_CONNECT_TIMEOUT_ERROR"Use networkConnectTimeoutError instead"Use networkConnectTimeoutError insteadhexDigitValueextractTypeArgumentsextractdefaultValPOWERS_OF_TENasync_cast.dartdart:_internal/async_cast.dartCastStreamSubscriptionbytes_builder.dartdart:_internal/bytes_builder.dart_initSize_BytesBuilder_chunkscast.dartdart:_internal/cast.dart_CastIterableBaseCastIteratorCastIterable_EfficientLengthCastIterable_CastListBaseCastListCastSet_emptySet_conditionalAddotherContainsCastMapSKSVCastQueuedart:_internal/errors.dartLateError_messagefieldADIlocalADIfieldNIlocalNIfieldAIlocalAIReachabilityErrordart:_internal/iterable.dartEfficientLengthIterableListIterableSubListIterable_endOrLength_endIndex_startIndexListIteratorMappedIterable_fEfficientLengthMappedIterableMappedIteratorMappedListIterableWhereIteratorExpandIterablesourceElementExpandIterator_currentExpansionTakeIterable_takeCounttakeCountEfficientLengthTakeIterableTakeIterator_remainingTakeWhileIterableTakeWhileIterator_isFinishedSkipIterable_skipCountEfficientLengthSkipIterableSkipIteratorSkipWhileIterableSkipWhileIterator_hasSkippedEmptyIterableFollowedByIterablefirstEfficientEfficientLengthFollowedByIterableFollowedByIterator_currentIterator_nextIterableWhereTypeIterableWhereTypeIteratornoElementtooManytooFew_checkCount_ElementPredicate_ExpandFunctiondart:_internal/list.dartUnmodifiableListMixinFixedLengthListBase_ListIndicesIterable_backedListListMapView_valuesReversedListIterableUnmodifiableListErrorNonGrowableListErrormakeListFixedLengthgrowableListmakeFixedListUnmodifiablefixedLengthListdart:_internal/linked_list.dartnewLastnewFirstpatch.dartdart:_internal/patch.dart_Patchdart:_internal/print.dartsort.dartdart:_internal/sort.dartSort_INSERTION_SORT_THRESHOLDsortRange_doSort_insertionSort_dualPivotQuicksortdart:_internal/symbol.dartunvalidatedcomputeUnmangledName_js_helperCURRENT_SCRIPTDEFERRED_LIBRARY_PARTSDEFERRED_PART_URISDEFERRED_PART_HASHESGET_ISOLATE_TAGINITIALIZE_LOADED_HUNKINTERCEPTORS_BY_TAGIS_HUNK_LOADEDIS_HUNK_INITIALIZEDLEAF_TAGSNATIVE_SUPERCLASS_TAG_NAMERUNTIME_METRICSSTARTUP_METRICSSTATIC_FUNCTION_NAME_PROPERTY_NAMETearOffParametersPropertyNamesdart:_js_embedded_namesJsBuiltinJsGetNamedart:_js_shared_embedded_namesDART_CLOSURE_TO_JSgetInterceptorJS_BUILTINJS_CONSTJS_EFFECTJS_EMBEDDED_GLOBALJS_GET_FLAGJS_GET_NAMEJS_STRING_CONCATRAW_DART_FUNCTION_REF_symbol_devunmangleGlobalNameIfPreservedAnywaysdart:_js_namescreateRuntimeTypeevalInInstancegetRuntimeTypegetTypeFromTypesTableinstanceTypeNameinstantiatedGenericFunctionTypethrowTypeErrornewRtidart:_rtidart:_load_library_priorityInternalMapJSInvocationMirrorMETHODGETTERSETTER_memberName_internalName_kind_namedArgumentNames_typeArgumentCountPrimitives_identityHashCodePropertyDOLLAR_CHAR_VALUEtimerFrequencytimerTicksobjectHashCode_computeIdentityHashCodePropertyparseIntparseDoubleobjectTypeName_objectTypeNameNewRti_saneNativeClassNameobjectToHumanReadableStringdateNowinitTickercurrentUri_fromCharCodeApplystringFromCodePointscodePointsstringFromCharCodesstringFromNativeUint8ListstringFromCharCodestringConcatUncheckedflattenStringgetTimeZoneNamegetTimeZoneOffsetInMinutesvalueFromDecomposedDateyearslazyAsJsDategetYear'dart2js:noSideEffects'dart2js:noSideEffects'dart2js:noThrows'dart2js:noThrowsgetMonthgetDaygetHoursgetMinutesgetSecondsgetMillisecondsgetWeekdayvalueFromDateStringfunctionNoSuchMethodapplyFunction_generalApplyFunctionextractStackTraceTypeErrorDecoder_pattern_argumentsExpr_expr_receivernoSuchMethodPatternnotClosurePatternnullCallPatternnullLiteralCallPatternundefinedCallPatternundefinedLiteralCallPatternnullPropertyPatternnullLiteralPropertyPatternundefinedPropertyPatternundefinedLiteralPropertyPatternmatchTypeErrorbuildJavaScriptObjectbuildJavaScriptObjectWithNonClosureextractPatternprovokeCallErrorOnprovokeCallErrorOnNullprovokeCallErrorOnUndefinedprovokePropertyErrorOnprovokePropertyErrorOnNullprovokePropertyErrorOnUndefinedNullErrorJsNoSuchMethodErrorUnknownJsTypeErrorNullThrownFromJavaScriptException_irritantExceptionAndStackTracedartException_StackTrace_exception_traceClosurefunctionCounterisCspfromTearOff_computeSignatureFunctionNewRtifunctionTypeisInterceptedcspForwardCallarityneedsDirectAccessstubNameforwardCallTocspForwardInterceptedCallforwardInterceptedCallToClosure0ArgsClosure2ArgsTearOffClosureStaticClosureBoundClosurenamePropertyr'$_name'$_nametargetPropertyr'$_target'$_target_receiverFieldNameCache_interceptorFieldNameCacheevalRecipe'dart2js:parameter:trust'dart2js:parameter:trustclosurerecipereceiverOfinterceptorOfreceiverFieldNameinterceptorFieldName_computeFieldNamedFallThroughErrorImplementationRuntimeErrorDeferredNotLoadedErrorUnimplementedNoSuchMethodError_AssertionError_UnreachableError_RequiredunminifyOrTagrawClassNamegetTyperequiresPreambleisJsIndexablerecordcreateInvocationMirrorinternalNameargumentNamescreateUnmangledInvocationMirrorthrowInvalidReflectionErrortraceHelperiaeioorestringLastIndexOfUncheckedargumentErrorValuecheckNullcheckIntcheckBoolcheckStringwrapExceptiontoStringWrapperthrowExpressionthrowUnsupportedErrorcheckConcurrentModificationErrorsameLengththrowConcurrentModificationErrorunwrapExceptionsaveStackTrace_unwrapNonDartExceptiontryStringifyExceptiongetTraceFromExceptionfillLiteralMapkeyValuePairsfillLiteralSetcopyAndJsonifyPropertiesgetIndexgetLengthinvokeClosurenumberOfArgumentsarg4closureFromTearOffjsHasOwnPropertyjsObjectjsPropertyAccessboolConversionCheckcheckDeferredIsLoadedloadIdassertTestassertThrowassertHelperthrowCyclicInitstaticNamerandom64jsonEncodeNativegetIsolateAffinityTagloadDeferredLibrary_computeCspNonce_computeCrossOrigin_isWorker_computeBaseUrl_computePolicy_getBasedScriptUrlgetBasedScriptUrlForTesting_encodeURIComponent_computeThisScript_computeThisScriptFromTrace_loadHunkhunkNameconvertMainArgumentListassertUnreachablenativeObjectapplyTestExtensionstestingGetPlatformEnvironmentVariableisRequiredisJSFunctionassertInteropassertInteropArgsrawStartupMetricsrawRuntimeMetricswrapZoneUnaryCallbackDeferredLoadCallback_loadingLibraries_loadedLibraries_eventLogdeferredLoadHook_cspNonce_crossOriginthisScript_thisScriptBaseUrl_deferredLoadingTrustedTypesPolicy_deferredLoadingTrustedTypesPolicyName'dart:deferred-loading'dart:deferred-loadingtestPlatformEnvironmentVariableValue'dart2js.test.platform.environment.variable'dart2js.test.platform.environment.variable'not-specified'not-specifiedkRequiredSentineldart:_native_typed_data/annotations.dartconstant_map.dartdart:_native_typed_data/constant_map.dartConstantMapViewConstantMapConstantStringMap_jsObject_keysArray_fetch_ConstantMapKeyIterableGeneralConstantMap_jsData_getMap_constantMapHashCode_typeTestinstantiation.dartdart:_native_typed_data/instantiation.dartInstantiation_genericClosure_typesInstantiation1Instantiation2Instantiation3T3Instantiation4T4Instantiation5T5Instantiation6T6Instantiation7T7Instantiation8T8Instantiation9T9Instantiation10T10Instantiation11T11Instantiation12T12Instantiation13T13Instantiation14T14Instantiation15T15Instantiation16T16Instantiation17T17Instantiation18T18Instantiation19T19Instantiation20T20instantiate1instantiate2instantiate3instantiate4instantiate5instantiate6instantiate7instantiate8instantiate9instantiate10instantiate11instantiate12instantiate13instantiate14instantiate15instantiate16instantiate17instantiate18instantiate19instantiate20native_helper.dartdart:_native_typed_data/native_helper.dartarrayLengtharrayGetarraySetpropertyGetcallHasOwnPropertypropertySetgetPropertyFromPrototypetoStringForNativeObjecthashCodeForNativeObjectdefinePropertyisDartObjectinterceptorClassConstructorlookupInterceptorlookupAndCacheInterceptorpatchInstancepatchProtopatchInteriorProtomakeDefaultDispatchRecordinterceptorClassconstructorNameFallbackinitNativeDispatchinitNativeDispatchContinueinitHooksapplyHooksTransformertransformerhooksgetTagFunctionalternateTagFunctionprototypeForTagFunctiondispatchRecordsForInstanceTagsinterceptorsForUncacheableTagsUNCACHED_MARK'~'INSTANCE_CACHED_MARK'!'!LEAF_MARK'-'INTERIOR_MARK'+'DISCRIMINATED_MARK'*'initNativeDispatchFlag_baseHooksr''' function() { var toStringFunction = Object.prototype.toString; function getTag(o) { @@ -3512,513 +2959,254 @@ function(hooks) { }'''function(hooks) { if (typeof dartExperimentalFixupGetTag != "function") return hooks; hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -}JSSyntaxRegExpregexpregExpGetNativeregExpGetGlobalNativeregExpCaptureCount_nativeRegExp_nativeGlobalRegExp_nativeAnchoredRegExp_nativeGlobalVersion_nativeAnchoredVersion_isMultiLine_isCaseSensitive_isUnicode_isDotAllmakeNativeglobal_execGlobal_execAnchored_MatchImplementation_match_AllMatchesIterable_re_AllMatchesIterator_regExp_nextIndexcregExpfirstMatchAfterstringIndexOfStringUncheckedsubstring1Uncheckedsubstring2UncheckedstringContainsStringUncheckedstringSplitUncheckedStringMatchggroup_groups_allMatchesInStringUnchecked_StringAllMatchesIterable_input_StringAllMatchesIteratorstringContainsUncheckedjsRegExpstringReplaceJSescapeReplacementstringReplaceFirstREquoteStringForRegExpstringReplaceAllUncheckedstringReplaceAllUncheckedStringstringReplaceAllUsingSplitJoin_matchString_stringIdentitystringReplaceAllFuncUncheckedstringReplaceAllEmptyFuncUncheckedstringReplaceAllStringFuncUncheckedstringReplaceFirstUncheckedstringReplaceFirstMappedUncheckedstringJoinUncheckedstringReplaceRangeUnchecked_USE_ES6_MAPS"dart2js.use.es6.maps"dart2js.use.es6.mapsJsLinkedHashMap_strings_numsLinkedHashMapCell_modifications_supportsEs6Mapses6internalContainsKeyinternalGetinternalSetinternalRemove_addHashTableEntrytable_removeHashTableEntry_modified_newLinkedCell_unlinkCellcell_isStringKey_isNumericKeyinternalComputeHashCode_getBucketinternalFindBucketIndexbucket_getTableCell_getTableBucket_setTableEntry_deleteTableEntry_containsTableEntry_newHashTableEs6LinkedHashMaphashMapCellKeyhashMapCellValueLinkedHashMapKeyIterableLinkedHashMapKeyIterator_cell_interceptors'js_array.dart'js_array.dart'js_number.dart'js_number.dart'js_string.dart'js_string.dartDART_CLOSURE_PROPERTY_NAMEgetDispatchPropertysetDispatchPropertyextensionindexabilitymakeDispatchRecorddispatchRecordInterceptordispatchRecordProtodispatchRecordExtensiondispatchRecordIndexabilitygetNativeInterceptor_JS_INTEROP_INTERCEPTOR_TAGJS_INTEROP_INTERCEPTOR_TAGlookupInterceptorByConstructorcacheInterceptorOnConstructorconstructorToInterceptorXlookupInterceptorByConstructorXcacheInterceptorOnConstructorfindIndexForNativeSubclassTypefindInterceptorConstructorForTypefindConstructorForNativeSubclassTypefindInterceptorForTypeInterceptorJSBoolJSIndexableJSObjectJavaScriptObjectPlainJavaScriptObjectUnknownJavaScriptObject_Growable_ListConstructorSentinelfixedallocateFixedemptyGrowableallocateGrowabletypedallocationmarkFixedmarkGrowablemarkFixedListmarkUnmodifiableListisFixedLengthisUnmodifiableisGrowableisMutablecheckMutablereasoncheckGrowable_removeWhere_addAllFromArray_toListGrowable_toListFixed_setLengthUnsafeJSMutableArrayJSFixedArrayJSExtendableArrayArrayIteratorJSNumber_MIN_INT32_MAX_INT32_handleIEtoString_isInt32_tdivFast_tdivSlow_shlPositive_shrOtherPositive_shrReceiverPositive_shrBothPositive_shruOtherPositiveJSInt_clz32uint32_binaryGcdinv_bitCount_shrushift_shrs_ors_spreadJSNumNotIntJSPositiveIntJSUInt32JSUInt31JSString_codeUnitAt_defaultSplit_isWhitespace_skipLeadingWhitespace_skipTrailingWhitespaceimplementationMathNativeByteBuffer'ArrayBuffer'ArrayBuffer'byteLength'byteLengthNativeFloat32x4List_storage_externalStorage_slowFromListNativeInt32x4ListstorageNativeFloat64x2ListNativeTypedData'ArrayBufferView'ArrayBufferView'NativeByteBuffer''byteOffset''BYTES_PER_ELEMENT'BYTES_PER_ELEMENT_invalidPosition_checkPosition_checkLength_checkViewArguments_ensureNativeListNativeByteData'DataView'DataView_getFloat32littleEndian'getFloat32''double'_getFloat64'getFloat64'_getInt16'getInt16''int'_getInt32'getInt32'_getUint16'getUint16''JSUInt31'_getUint32'getUint32''JSUInt32'_setFloat32'setFloat32'_setFloat64'setFloat64'_setInt16'setInt16'_setInt32'setInt32'_setUint16'setUint16'_setUint32'setUint32'_create1_create2_create3NativeTypedArray_setRangeFastNativeTypedArrayOfDoubleNativeTypedArrayOfIntNativeFloat32List'Float32Array'Float32Array_createLengthNativeFloat64List'Float64Array'Float64ArrayNativeInt16List'Int16Array'NativeInt32List'Int32Array'NativeInt8List'Int8Array'NativeUint16List'Uint16Array'NativeUint32List'Uint32Array'NativeUint8ClampedList'Uint8ClampedArray,CanvasPixelArray'Uint8ClampedArray,CanvasPixelArray'Uint8Array,!nonleaf'Uint8Array,!nonleafNativeFloat32x4_uint32view_truncate_doubles_truncatednewXnewYnewZnewWNativeInt32x4NativeFloat64x2_uint32View_isInvalidArrayIndex_checkValidIndex_checkValidRangedart.typed_data.implementationdomweb_gl'dart:html'dart:html'dart:html_common'dart:html_commonActiveInfoUnstable"WebGLActiveInfo"WebGLActiveInfoAngleInstancedArrays"ANGLEInstancedArrays,ANGLE_instanced_arrays"ANGLEInstancedArrays,ANGLE_instanced_arraysVERTEX_ATTRIB_ARRAY_DIVISOR_ANGLEdrawArraysInstancedAngleprimcount'drawArraysInstancedANGLE'drawArraysInstancedANGLEdrawElementsInstancedAngle'drawElementsInstancedANGLE'drawElementsInstancedANGLEvertexAttribDivisorAngledivisor'vertexAttribDivisorANGLE'vertexAttribDivisorANGLEBuffer"WebGLBuffer"WebGLBufferCanvas"WebGLCanvas"WebGLCanvascanvasCanvasElement'canvas'offscreenCanvasOffscreenCanvasColorBufferFloat"WebGLColorBufferFloat"WebGLColorBufferFloatCompressedTextureAstc"WebGLCompressedTextureASTC"WebGLCompressedTextureASTCCOMPRESSED_RGBA_ASTC_10x10_KHRCOMPRESSED_RGBA_ASTC_10x5_KHRCOMPRESSED_RGBA_ASTC_10x6_KHRCOMPRESSED_RGBA_ASTC_10x8_KHRCOMPRESSED_RGBA_ASTC_12x10_KHRCOMPRESSED_RGBA_ASTC_12x12_KHRCOMPRESSED_RGBA_ASTC_4x4_KHRCOMPRESSED_RGBA_ASTC_5x4_KHRCOMPRESSED_RGBA_ASTC_5x5_KHRCOMPRESSED_RGBA_ASTC_6x5_KHRCOMPRESSED_RGBA_ASTC_6x6_KHRCOMPRESSED_RGBA_ASTC_8x5_KHRCOMPRESSED_RGBA_ASTC_8x6_KHRCOMPRESSED_RGBA_ASTC_8x8_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHRCompressedTextureAtc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atcCOMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGLCOMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGLCOMPRESSED_RGB_ATC_WEBGLCompressedTextureETC1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1COMPRESSED_RGB_ETC1_WEBGLCompressedTextureEtc"WebGLCompressedTextureETC"WebGLCompressedTextureETCCOMPRESSED_R11_EACCOMPRESSED_RG11_EACCOMPRESSED_RGB8_ETC2COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2COMPRESSED_RGBA8_ETC2_EACCOMPRESSED_SIGNED_R11_EACCOMPRESSED_SIGNED_RG11_EACCOMPRESSED_SRGB8_ALPHA8_ETC2_EACCOMPRESSED_SRGB8_ETC2COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2CompressedTexturePvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtcCOMPRESSED_RGBA_PVRTC_2BPPV1_IMGCOMPRESSED_RGBA_PVRTC_4BPPV1_IMGCOMPRESSED_RGB_PVRTC_2BPPV1_IMGCOMPRESSED_RGB_PVRTC_4BPPV1_IMGCompressedTextureS3TC"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tcCOMPRESSED_RGBA_S3TC_DXT1_EXTCOMPRESSED_RGBA_S3TC_DXT3_EXTCOMPRESSED_RGBA_S3TC_DXT5_EXTCOMPRESSED_RGB_S3TC_DXT1_EXTCompressedTextureS3TCsRgb"WebGLCompressedTextureS3TCsRGB"WebGLCompressedTextureS3TCsRGBCOMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXTCOMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXTCOMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXTCOMPRESSED_SRGB_S3TC_DXT1_EXTEventContextEvent"WebGLContextEvent"WebGLContextEventeventInit_create_1_create_2statusMessageDebugRendererInfo"WebGLDebugRendererInfo,WEBGL_debug_renderer_info"WebGLDebugRendererInfo,WEBGL_debug_renderer_infoUNMASKED_RENDERER_WEBGLUNMASKED_VENDOR_WEBGLDebugShaders"WebGLDebugShaders,WEBGL_debug_shaders"WebGLDebugShaders,WEBGL_debug_shadersgetTranslatedShaderSourceShadershaderDepthTexture"WebGLDepthTexture,WEBGL_depth_texture"WebGLDepthTexture,WEBGL_depth_textureUNSIGNED_INT_24_8_WEBGLDrawBuffers"WebGLDrawBuffers,WEBGL_draw_buffers"WebGLDrawBuffers,WEBGL_draw_buffersdrawBuffersWebglbuffers'drawBuffersWEBGL'drawBuffersWEBGLEXTsRgb"EXTsRGB,EXT_sRGB"EXTsRGB,EXT_sRGBFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXTSRGB8_ALPHA8_EXTSRGB_ALPHA_EXTSRGB_EXTExtBlendMinMax"EXTBlendMinMax,EXT_blend_minmax"EXTBlendMinMax,EXT_blend_minmaxMAX_EXTMIN_EXTExtColorBufferFloat"EXTColorBufferFloat"EXTColorBufferFloatExtColorBufferHalfFloat"EXTColorBufferHalfFloat"EXTColorBufferHalfFloatExtDisjointTimerQuery"EXTDisjointTimerQuery"EXTDisjointTimerQueryCURRENT_QUERY_EXTGPU_DISJOINT_EXTQUERY_COUNTER_BITS_EXTQUERY_RESULT_AVAILABLE_EXTQUERY_RESULT_EXTTIMESTAMP_EXTTIME_ELAPSED_EXTbeginQueryExtTimerQueryExt'beginQueryEXT'beginQueryEXTcreateQueryExt'createQueryEXT'createQueryEXTdeleteQueryExt'deleteQueryEXT'deleteQueryEXTendQueryExt'endQueryEXT'endQueryEXTgetQueryExtpname'getQueryEXT'getQueryEXTgetQueryObjectExt'getQueryObjectEXT'getQueryObjectEXTisQueryExt'isQueryEXT'isQueryEXTqueryCounterExt'queryCounterEXT'queryCounterEXTExtDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2QueryExtFragDepth"EXTFragDepth,EXT_frag_depth"EXTFragDepth,EXT_frag_depthExtShaderTextureLod"EXTShaderTextureLOD,EXT_shader_texture_lod"EXTShaderTextureLOD,EXT_shader_texture_lodExtTextureFilterAnisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropicMAX_TEXTURE_MAX_ANISOTROPY_EXTTEXTURE_MAX_ANISOTROPY_EXTFramebuffer"WebGLFramebuffer"WebGLFramebufferGetBufferSubDataAsync"WebGLGetBufferSubDataAsync"WebGLGetBufferSubDataAsyncgetBufferSubDataAsyncsrcByteOffsetdstDatadstOffsetLoseContext"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_contextloseContextrestoreContextOesElementIndexUint"OESElementIndexUint,OES_element_index_uint"OESElementIndexUint,OES_element_index_uintOesStandardDerivatives"OESStandardDerivatives,OES_standard_derivatives"OESStandardDerivatives,OES_standard_derivativesFRAGMENT_SHADER_DERIVATIVE_HINT_OESOesTextureFloat"OESTextureFloat,OES_texture_float"OESTextureFloat,OES_texture_floatOesTextureFloatLinear"OESTextureFloatLinear,OES_texture_float_linear"OESTextureFloatLinear,OES_texture_float_linearOesTextureHalfFloat"OESTextureHalfFloat,OES_texture_half_float"OESTextureHalfFloat,OES_texture_half_floatHALF_FLOAT_OESOesTextureHalfFloatLinear"OESTextureHalfFloatLinear,OES_texture_half_float_linear"OESTextureHalfFloatLinear,OES_texture_half_float_linearOesVertexArrayObject"OESVertexArrayObject,OES_vertex_array_object"OESVertexArrayObject,OES_vertex_array_objectVERTEX_ARRAY_BINDING_OESbindVertexArrayVertexArrayObjectOesarrayObject'bindVertexArrayOES'bindVertexArrayOEScreateVertexArray'createVertexArrayOES'createVertexArrayOESdeleteVertexArray'deleteVertexArrayOES'deleteVertexArrayOESisVertexArray'isVertexArrayOES'isVertexArrayOESProgram"WebGLProgram"WebGLProgram"WebGLQuery"WebGLQueryRenderbuffer"WebGLRenderbuffer"WebGLRenderbufferCanvasRenderingContextRenderingContextSupportedBrowserCHROMEFIREFOX"WebGLRenderingContext"WebGLRenderingContextsupporteddrawingBufferHeightdrawingBufferWidthactiveTexturetextureattachShaderprogrambindAttribLocationbindBufferbindFramebufferframebufferbindRenderbufferrenderbufferbindTextureTextureblendColorredgreenbluealphablendEquationblendEquationSeparatemodeRGBmodeAlphablendFuncsfactordfactorblendFuncSeparatesrcRGBdstRGBsrcAlphadstAlphabufferDatadata_OR_sizeusagebufferSubDatacheckFramebufferStatusclearColorclearDepthclearStencilcolorMaskcommitcompileShadercompressedTexImage2DinternalformatbordercompressedTexSubImage2DxoffsetyoffsetformatcopyTexImage2DcopyTexSubImage2DcreateFramebuffercreateProgramcreateRenderbuffercreateShadercreateTexturecullFacedeleteBufferdeleteFramebufferdeleteProgramdeleteRenderbufferdeleteShaderdeleteTexturedepthFuncfuncdepthMaskflagdepthRangezNearzFardetachShaderdisablecapdisableVertexAttribArraydrawArraysdrawElementsenableVertexAttribArrayframebufferRenderbufferattachmentrenderbuffertargetframebufferTexture2DtextargetfrontFacegenerateMipmapgetActiveAttribgetActiveUniformgetAttachedShadersgetAttribLocationgetBufferParameter'int|Null'int|NullgetContextAttributes'ContextAttributes|Null'ContextAttributes|Null_getContextAttributes_1'getContextAttributes'getErrorgetExtensiongetFramebufferAttachmentParameter'int|Renderbuffer|Texture|Null'int|Renderbuffer|Texture|NullgetParameter'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|TexturegetProgramInfoLoggetProgramParameter'int|bool|Null'int|bool|NullgetRenderbufferParametergetShaderInfoLoggetShaderParametergetShaderPrecisionFormatShaderPrecisionFormatshadertypeprecisiontypegetShaderSourcegetSupportedExtensionsgetTexParametergetUniformUniformLocationlocation'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32ListgetUniformLocationgetVertexAttrib'Null|num|bool|NativeFloat32List|Buffer'Null|num|bool|NativeFloat32List|BuffergetVertexAttribOffsethintisBufferisContextLostisEnabledisFramebufferisProgramisRenderbufferisShaderisTexturelineWidthlinkProgrampixelStoreiparampolygonOffsetunits_readPixelspixels'readPixels'readPixelsrenderbufferStoragesampleCoverageinvertscissorshaderSourcestencilFuncstencilFuncSeparatefacestencilMaskstencilMaskSeparatestencilOpfailzfailzpassstencilOpSeparatetexImage2Dformat_OR_widthheight_OR_typebitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video_texImage2D_1'texImage2D'_texImage2D_2_texImage2D_3ImageElementimage_texImage2D_4_texImage2D_5VideoElementvideo_texImage2D_6ImageBitmapbitmaptexParameterftexParameteritexSubImage2Dbitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video_texSubImage2D_1'texSubImage2D'_texSubImage2D_2_texSubImage2D_3_texSubImage2D_4_texSubImage2D_5_texSubImage2D_6uniform1funiform1fvuniform1iuniform1ivuniform2funiform2fvuniform2iuniform2ivuniform3funiform3fvuniform3iuniform3ivuniform4funiform4fvuniform4iuniform4ivuniformMatrix2fvtransposeuniformMatrix3fvuniformMatrix4fvuseProgramvalidateProgramvertexAttrib1findxvertexAttrib1fvvertexAttrib2fvertexAttrib2fvvertexAttrib3fvertexAttrib3fvvertexAttrib4fvertexAttrib4fvvertexAttribPointernormalizedstrideviewporttexImage2DUntypedtargetTexturelevelOfDetailinternalFormat"Use texImage2D"Use texImage2DtexImage2DTypedtexSubImage2DUntypedxOffsetyOffset"Use texSubImage2D"Use texSubImage2DtexSubImage2DTypedbufferDataTyped"Use bufferData"Use bufferDatabufferSubDataTyped"Use bufferSubData"Use bufferSubData_WebGL2RenderingContextBase_WebGLRenderingContextBaseRenderingContext2"WebGL2RenderingContext"WebGL2RenderingContextbeginQuerybeginTransformFeedbackprimitiveModebindBufferBasebindBufferRangebindSamplerunitSamplersamplerbindTransformFeedbackTransformFeedbackfeedbackVertexArrayObjectvertexArrayblitFramebuffersrcX0srcY0srcX1srcY1dstX0dstY0dstX1dstY1filterbufferData2srcDatasrcOffset'bufferData'bufferSubData2dstByteOffset'bufferSubData'clearBufferfidrawbufferstencilclearBufferfvclearBufferivclearBufferuivclientWaitSyncSyncflagscompressedTexImage2D2srcLengthOverride'compressedTexImage2D'compressedTexImage2D3imageSizecompressedTexImage3DcompressedTexImage3D2'compressedTexImage3D'compressedTexSubImage2D2'compressedTexSubImage2D'compressedTexSubImage2D3compressedTexSubImage3DzoffsetcompressedTexSubImage3D2'compressedTexSubImage3D'copyBufferSubDatareadTargetwriteTargetreadOffsetwriteOffsetcopyTexSubImage3DcreateQuerycreateSamplercreateTransformFeedbackdeleteQuerydeleteSamplerdeleteSyncdeleteTransformFeedbackdrawArraysInstancedinstanceCountdrawBuffersdrawElementsInstanceddrawRangeElementsendQueryendTransformFeedbackfenceSyncframebufferTextureLayerlayergetActiveUniformBlockNameuniformBlockIndexgetActiveUniformBlockParametergetActiveUniformsuniformIndicesgetBufferSubDatagetFragDataLocationgetIndexedParametergetInternalformatParametergetQuerygetQueryParametergetSamplerParametergetSyncParametergetTransformFeedbackVaryinggetUniformBlockIndexuniformBlockNamegetUniformIndicesuniformNames_getUniformIndices_1'getUniformIndices'invalidateFramebufferattachmentsinvalidateSubFramebufferisQueryisSamplerisSyncisTransformFeedbackpauseTransformFeedbackreadBufferreadPixels2dstData_OR_offsetrenderbufferStorageMultisamplesamplesresumeTransformFeedbacksamplerParameterfsamplerParameteritexImage2D2bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video_texImage2D2_1_texImage2D2_2_texImage2D2_3_texImage2D2_4_texImage2D2_5_texImage2D2_6_texImage2D2_7texImage3Dbitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video_texImage3D_1'texImage3D'_texImage3D_2_texImage3D_3_texImage3D_4_texImage3D_5_texImage3D_6_texImage3D_7_texImage3D_8texStorage2DlevelstexStorage3DtexSubImage2D2_texSubImage2D2_1_texSubImage2D2_2_texSubImage2D2_3_texSubImage2D2_4_texSubImage2D2_5_texSubImage2D2_6_texSubImage2D2_7texSubImage3D_texSubImage3D_1'texSubImage3D'_texSubImage3D_2_texSubImage3D_3_texSubImage3D_4_texSubImage3D_5_texSubImage3D_6_texSubImage3D_7_texSubImage3D_8transformFeedbackVaryingsvaryingsbufferMode_transformFeedbackVaryings_1'transformFeedbackVaryings'uniform1fv2srcLength'uniform1fv'uniform1iv2'uniform1iv'uniform1uiv0uniform1uivuniform2fv2'uniform2fv'uniform2iv2'uniform2iv'uniform2uiuniform2uivuniform3fv2'uniform3fv'uniform3iv2'uniform3iv'uniform3uiuniform3uivuniform4fv2'uniform4fv'uniform4iv2'uniform4iv'uniform4uiuniform4uivuniformBlockBindinguniformMatrix2fv2'uniformMatrix2fv'uniformMatrix2x3fvuniformMatrix2x4fvuniformMatrix3fv2'uniformMatrix3fv'uniformMatrix3x2fvuniformMatrix3x4fvuniformMatrix4fv2'uniformMatrix4fv'uniformMatrix4x2fvuniformMatrix4x3fvvertexAttribDivisorvertexAttribI4ivertexAttribI4ivvertexAttribI4uivertexAttribI4uivvertexAttribIPointerwaitSync"WebGLSampler"WebGLSampler"WebGLShader"WebGLShader"WebGLShaderPrecisionFormat"WebGLShaderPrecisionFormatrangeMaxrangeMin"WebGLSync"WebGLSync"WebGLTexture"WebGLTexturelastUploadedVideoFrameWasSkippedlastUploadedVideoHeightlastUploadedVideoTimestamplastUploadedVideoWidth"WebGLTimerQueryEXT"WebGLTimerQueryEXT"WebGLTransformFeedback"WebGLTransformFeedback"WebGLUniformLocation"WebGLUniformLocation"WebGLVertexArrayObject"WebGLVertexArrayObject"WebGLVertexArrayObjectOES"WebGLVertexArrayObjectOESWebGL"WebGL"ACTIVE_ATTRIBUTESACTIVE_TEXTUREACTIVE_UNIFORMSACTIVE_UNIFORM_BLOCKSALIASED_LINE_WIDTH_RANGEALIASED_POINT_SIZE_RANGEALPHAALPHA_BITSALREADY_SIGNALEDALWAYSANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEARRAY_BUFFERARRAY_BUFFER_BINDINGATTACHED_SHADERSBACKBLENDBLEND_COLORBLEND_DST_ALPHABLEND_DST_RGBBLEND_EQUATIONBLEND_EQUATION_ALPHABLEND_EQUATION_RGBBLEND_SRC_ALPHABLEND_SRC_RGBBLUE_BITSBOOLBOOL_VEC2BOOL_VEC3BOOL_VEC4BROWSER_DEFAULT_WEBGLBUFFER_SIZEBUFFER_USAGEBYTECCWCLAMP_TO_EDGECOLORCOLOR_ATTACHMENT0COLOR_ATTACHMENT0_WEBGLCOLOR_ATTACHMENT1COLOR_ATTACHMENT10COLOR_ATTACHMENT10_WEBGLCOLOR_ATTACHMENT11COLOR_ATTACHMENT11_WEBGLCOLOR_ATTACHMENT12COLOR_ATTACHMENT12_WEBGLCOLOR_ATTACHMENT13COLOR_ATTACHMENT13_WEBGLCOLOR_ATTACHMENT14COLOR_ATTACHMENT14_WEBGLCOLOR_ATTACHMENT15COLOR_ATTACHMENT15_WEBGLCOLOR_ATTACHMENT1_WEBGLCOLOR_ATTACHMENT2COLOR_ATTACHMENT2_WEBGLCOLOR_ATTACHMENT3COLOR_ATTACHMENT3_WEBGLCOLOR_ATTACHMENT4COLOR_ATTACHMENT4_WEBGLCOLOR_ATTACHMENT5COLOR_ATTACHMENT5_WEBGLCOLOR_ATTACHMENT6COLOR_ATTACHMENT6_WEBGLCOLOR_ATTACHMENT7COLOR_ATTACHMENT7_WEBGLCOLOR_ATTACHMENT8COLOR_ATTACHMENT8_WEBGLCOLOR_ATTACHMENT9COLOR_ATTACHMENT9_WEBGLCOLOR_BUFFER_BITCOLOR_CLEAR_VALUECOLOR_WRITEMASKCOMPARE_REF_TO_TEXTURECOMPILE_STATUSCOMPRESSED_TEXTURE_FORMATSCONDITION_SATISFIEDCONSTANT_ALPHACONSTANT_COLORCONTEXT_LOST_WEBGLCOPY_READ_BUFFERCOPY_READ_BUFFER_BINDINGCOPY_WRITE_BUFFERCOPY_WRITE_BUFFER_BINDINGCULL_FACECULL_FACE_MODECURRENT_PROGRAMCURRENT_QUERYCURRENT_VERTEX_ATTRIBCWDECRDECR_WRAPDELETE_STATUSDEPTHDEPTH24_STENCIL8DEPTH32F_STENCIL8DEPTH_ATTACHMENTDEPTH_BITSDEPTH_BUFFER_BITDEPTH_CLEAR_VALUEDEPTH_COMPONENTDEPTH_COMPONENT16DEPTH_COMPONENT24DEPTH_COMPONENT32FDEPTH_FUNCDEPTH_RANGEDEPTH_STENCILDEPTH_STENCIL_ATTACHMENTDEPTH_TESTDEPTH_WRITEMASKDITHERDONT_CAREDRAW_BUFFER0DRAW_BUFFER0_WEBGLDRAW_BUFFER1DRAW_BUFFER10DRAW_BUFFER10_WEBGLDRAW_BUFFER11DRAW_BUFFER11_WEBGLDRAW_BUFFER12DRAW_BUFFER12_WEBGLDRAW_BUFFER13DRAW_BUFFER13_WEBGLDRAW_BUFFER14DRAW_BUFFER14_WEBGLDRAW_BUFFER15DRAW_BUFFER15_WEBGLDRAW_BUFFER1_WEBGLDRAW_BUFFER2DRAW_BUFFER2_WEBGLDRAW_BUFFER3DRAW_BUFFER3_WEBGLDRAW_BUFFER4DRAW_BUFFER4_WEBGLDRAW_BUFFER5DRAW_BUFFER5_WEBGLDRAW_BUFFER6DRAW_BUFFER6_WEBGLDRAW_BUFFER7DRAW_BUFFER7_WEBGLDRAW_BUFFER8DRAW_BUFFER8_WEBGLDRAW_BUFFER9DRAW_BUFFER9_WEBGLDRAW_FRAMEBUFFERDRAW_FRAMEBUFFER_BINDINGDST_ALPHADST_COLORDYNAMIC_COPYDYNAMIC_DRAWDYNAMIC_READELEMENT_ARRAY_BUFFERELEMENT_ARRAY_BUFFER_BINDINGEQUALFASTESTFLOATFLOAT_32_UNSIGNED_INT_24_8_REVFLOAT_MAT2FLOAT_MAT2x3FLOAT_MAT2x4FLOAT_MAT3FLOAT_MAT3x2FLOAT_MAT3x4FLOAT_MAT4FLOAT_MAT4x2FLOAT_MAT4x3FLOAT_VEC2FLOAT_VEC3FLOAT_VEC4FRAGMENT_SHADERFRAGMENT_SHADER_DERIVATIVE_HINTFRAMEBUFFERFRAMEBUFFER_ATTACHMENT_ALPHA_SIZEFRAMEBUFFER_ATTACHMENT_BLUE_SIZEFRAMEBUFFER_ATTACHMENT_COLOR_ENCODINGFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPEFRAMEBUFFER_ATTACHMENT_DEPTH_SIZEFRAMEBUFFER_ATTACHMENT_GREEN_SIZEFRAMEBUFFER_ATTACHMENT_OBJECT_NAMEFRAMEBUFFER_ATTACHMENT_OBJECT_TYPEFRAMEBUFFER_ATTACHMENT_RED_SIZEFRAMEBUFFER_ATTACHMENT_STENCIL_SIZEFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACEFRAMEBUFFER_ATTACHMENT_TEXTURE_LAYERFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVELFRAMEBUFFER_BINDINGFRAMEBUFFER_COMPLETEFRAMEBUFFER_DEFAULTFRAMEBUFFER_INCOMPLETE_ATTACHMENTFRAMEBUFFER_INCOMPLETE_DIMENSIONSFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENTFRAMEBUFFER_INCOMPLETE_MULTISAMPLEFRAMEBUFFER_UNSUPPORTEDFRONTFRONT_AND_BACKFRONT_FACEFUNC_ADDFUNC_REVERSE_SUBTRACTFUNC_SUBTRACTGENERATE_MIPMAP_HINTGEQUALGREATERGREEN_BITSHALF_FLOATHIGH_FLOATHIGH_INTIMPLEMENTATION_COLOR_READ_FORMATIMPLEMENTATION_COLOR_READ_TYPEINCRINCR_WRAPINTINTERLEAVED_ATTRIBSINT_2_10_10_10_REVINT_SAMPLER_2DINT_SAMPLER_2D_ARRAYINT_SAMPLER_3DINT_SAMPLER_CUBEINT_VEC2INT_VEC3INT_VEC4INVALID_ENUMINVALID_FRAMEBUFFER_OPERATIONINVALID_INDEXINVALID_OPERATIONINVALID_VALUEINVERTKEEPLEQUALLESSLINEARLINEAR_MIPMAP_LINEARLINEAR_MIPMAP_NEARESTLINESLINE_LOOPLINE_STRIPLINE_WIDTHLINK_STATUSLOW_FLOATLOW_INTLUMINANCELUMINANCE_ALPHAMAXMAX_3D_TEXTURE_SIZEMAX_ARRAY_TEXTURE_LAYERSMAX_CLIENT_WAIT_TIMEOUT_WEBGLMAX_COLOR_ATTACHMENTSMAX_COLOR_ATTACHMENTS_WEBGLMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTSMAX_COMBINED_TEXTURE_IMAGE_UNITSMAX_COMBINED_UNIFORM_BLOCKSMAX_COMBINED_VERTEX_UNIFORM_COMPONENTSMAX_CUBE_MAP_TEXTURE_SIZEMAX_DRAW_BUFFERSMAX_DRAW_BUFFERS_WEBGLMAX_ELEMENTS_INDICESMAX_ELEMENTS_VERTICESMAX_ELEMENT_INDEXMAX_FRAGMENT_INPUT_COMPONENTSMAX_FRAGMENT_UNIFORM_BLOCKSMAX_FRAGMENT_UNIFORM_COMPONENTSMAX_FRAGMENT_UNIFORM_VECTORSMAX_PROGRAM_TEXEL_OFFSETMAX_RENDERBUFFER_SIZEMAX_SAMPLESMAX_SERVER_WAIT_TIMEOUTMAX_TEXTURE_IMAGE_UNITSMAX_TEXTURE_LOD_BIASMAX_TEXTURE_SIZEMAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTSMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBSMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTSMAX_UNIFORM_BLOCK_SIZEMAX_UNIFORM_BUFFER_BINDINGSMAX_VARYING_COMPONENTSMAX_VARYING_VECTORSMAX_VERTEX_ATTRIBSMAX_VERTEX_OUTPUT_COMPONENTSMAX_VERTEX_TEXTURE_IMAGE_UNITSMAX_VERTEX_UNIFORM_BLOCKSMAX_VERTEX_UNIFORM_COMPONENTSMAX_VERTEX_UNIFORM_VECTORSMAX_VIEWPORT_DIMSMEDIUM_FLOATMEDIUM_INTMINMIN_PROGRAM_TEXEL_OFFSETMIRRORED_REPEATNEARESTNEAREST_MIPMAP_LINEARNEAREST_MIPMAP_NEARESTNEVERNICESTNONENOTEQUALNO_ERROROBJECT_TYPEONEONE_MINUS_CONSTANT_ALPHAONE_MINUS_CONSTANT_COLORONE_MINUS_DST_ALPHAONE_MINUS_DST_COLORONE_MINUS_SRC_ALPHAONE_MINUS_SRC_COLOROUT_OF_MEMORYPACK_ALIGNMENTPACK_ROW_LENGTHPACK_SKIP_PIXELSPACK_SKIP_ROWSPIXEL_PACK_BUFFERPIXEL_PACK_BUFFER_BINDINGPIXEL_UNPACK_BUFFERPIXEL_UNPACK_BUFFER_BINDINGPOINTSPOLYGON_OFFSET_FACTORPOLYGON_OFFSET_FILLPOLYGON_OFFSET_UNITSQUERY_RESULTQUERY_RESULT_AVAILABLER11F_G11F_B10FR16FR16IR16UIR32FR32IR32UIR8R8IR8UIR8_SNORMRASTERIZER_DISCARDREAD_BUFFERREAD_FRAMEBUFFERREAD_FRAMEBUFFER_BINDINGREDRED_BITSRED_INTEGERRENDERBUFFERRENDERBUFFER_ALPHA_SIZERENDERBUFFER_BINDINGRENDERBUFFER_BLUE_SIZERENDERBUFFER_DEPTH_SIZERENDERBUFFER_GREEN_SIZERENDERBUFFER_HEIGHTRENDERBUFFER_INTERNAL_FORMATRENDERBUFFER_RED_SIZERENDERBUFFER_SAMPLESRENDERBUFFER_STENCIL_SIZERENDERBUFFER_WIDTHRENDERERREPEATREPLACERGRG16FRG16IRG16UIRG32FRG32IRG32UIRG8RG8IRG8UIRG8_SNORMRGBRGB10_A2RGB10_A2UIRGB16FRGB16IRGB16UIRGB32FRGB32IRGB32UIRGB565RGB5_A1RGB8RGB8IRGB8UIRGB8_SNORMRGB9_E5RGBARGBA16FRGBA16IRGBA16UIRGBA32FRGBA32IRGBA32UIRGBA4RGBA8RGBA8IRGBA8UIRGBA8_SNORMRGBA_INTEGERRGB_INTEGERRG_INTEGERSAMPLER_2DSAMPLER_2D_ARRAYSAMPLER_2D_ARRAY_SHADOWSAMPLER_2D_SHADOWSAMPLER_3DSAMPLER_BINDINGSAMPLER_CUBESAMPLER_CUBE_SHADOWSAMPLESSAMPLE_ALPHA_TO_COVERAGESAMPLE_BUFFERSSAMPLE_COVERAGESAMPLE_COVERAGE_INVERTSAMPLE_COVERAGE_VALUESCISSOR_BOXSCISSOR_TESTSEPARATE_ATTRIBSSHADER_TYPESHADING_LANGUAGE_VERSIONSHORTSIGNALEDSIGNED_NORMALIZEDSRC_ALPHASRC_ALPHA_SATURATESRC_COLORSRGBSRGB8SRGB8_ALPHA8STATIC_COPYSTATIC_DRAWSTATIC_READSTENCILSTENCIL_ATTACHMENTSTENCIL_BACK_FAILSTENCIL_BACK_FUNCSTENCIL_BACK_PASS_DEPTH_FAILSTENCIL_BACK_PASS_DEPTH_PASSSTENCIL_BACK_REFSTENCIL_BACK_VALUE_MASKSTENCIL_BACK_WRITEMASKSTENCIL_BITSSTENCIL_BUFFER_BITSTENCIL_CLEAR_VALUESTENCIL_FAILSTENCIL_FUNCSTENCIL_INDEX8STENCIL_PASS_DEPTH_FAILSTENCIL_PASS_DEPTH_PASSSTENCIL_REFSTENCIL_TESTSTENCIL_VALUE_MASKSTENCIL_WRITEMASKSTREAM_COPYSTREAM_DRAWSTREAM_READSUBPIXEL_BITSSYNC_CONDITIONSYNC_FENCESYNC_FLAGSSYNC_FLUSH_COMMANDS_BITSYNC_GPU_COMMANDS_COMPLETESYNC_STATUSTEXTURETEXTURE0TEXTURE1TEXTURE10TEXTURE11TEXTURE12TEXTURE13TEXTURE14TEXTURE15TEXTURE16TEXTURE17TEXTURE18TEXTURE19TEXTURE2TEXTURE20TEXTURE21TEXTURE22TEXTURE23TEXTURE24TEXTURE25TEXTURE26TEXTURE27TEXTURE28TEXTURE29TEXTURE3TEXTURE30TEXTURE31TEXTURE4TEXTURE5TEXTURE6TEXTURE7TEXTURE8TEXTURE9TEXTURE_2DTEXTURE_2D_ARRAYTEXTURE_3DTEXTURE_BASE_LEVELTEXTURE_BINDING_2DTEXTURE_BINDING_2D_ARRAYTEXTURE_BINDING_3DTEXTURE_BINDING_CUBE_MAPTEXTURE_COMPARE_FUNCTEXTURE_COMPARE_MODETEXTURE_CUBE_MAPTEXTURE_CUBE_MAP_NEGATIVE_XTEXTURE_CUBE_MAP_NEGATIVE_YTEXTURE_CUBE_MAP_NEGATIVE_ZTEXTURE_CUBE_MAP_POSITIVE_XTEXTURE_CUBE_MAP_POSITIVE_YTEXTURE_CUBE_MAP_POSITIVE_ZTEXTURE_IMMUTABLE_FORMATTEXTURE_IMMUTABLE_LEVELSTEXTURE_MAG_FILTERTEXTURE_MAX_LEVELTEXTURE_MAX_LODTEXTURE_MIN_FILTERTEXTURE_MIN_LODTEXTURE_WRAP_RTEXTURE_WRAP_STEXTURE_WRAP_TTIMEOUT_EXPIREDTIMEOUT_IGNOREDTRANSFORM_FEEDBACKTRANSFORM_FEEDBACK_ACTIVETRANSFORM_FEEDBACK_BINDINGTRANSFORM_FEEDBACK_BUFFERTRANSFORM_FEEDBACK_BUFFER_BINDINGTRANSFORM_FEEDBACK_BUFFER_MODETRANSFORM_FEEDBACK_BUFFER_SIZETRANSFORM_FEEDBACK_BUFFER_STARTTRANSFORM_FEEDBACK_PAUSEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTRANSFORM_FEEDBACK_VARYINGSTRIANGLESTRIANGLE_FANTRIANGLE_STRIPUNIFORM_ARRAY_STRIDEUNIFORM_BLOCK_ACTIVE_UNIFORMSUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICESUNIFORM_BLOCK_BINDINGUNIFORM_BLOCK_DATA_SIZEUNIFORM_BLOCK_INDEXUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADERUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADERUNIFORM_BUFFERUNIFORM_BUFFER_BINDINGUNIFORM_BUFFER_OFFSET_ALIGNMENTUNIFORM_BUFFER_SIZEUNIFORM_BUFFER_STARTUNIFORM_IS_ROW_MAJORUNIFORM_MATRIX_STRIDEUNIFORM_OFFSETUNIFORM_SIZEUNIFORM_TYPEUNPACK_ALIGNMENTUNPACK_COLORSPACE_CONVERSION_WEBGLUNPACK_FLIP_Y_WEBGLUNPACK_IMAGE_HEIGHTUNPACK_PREMULTIPLY_ALPHA_WEBGLUNPACK_ROW_LENGTHUNPACK_SKIP_IMAGESUNPACK_SKIP_PIXELSUNPACK_SKIP_ROWSUNSIGNALEDUNSIGNED_BYTEUNSIGNED_INTUNSIGNED_INT_10F_11F_11F_REVUNSIGNED_INT_24_8UNSIGNED_INT_2_10_10_10_REVUNSIGNED_INT_5_9_9_9_REVUNSIGNED_INT_SAMPLER_2DUNSIGNED_INT_SAMPLER_2D_ARRAYUNSIGNED_INT_SAMPLER_3DUNSIGNED_INT_SAMPLER_CUBEUNSIGNED_INT_VEC2UNSIGNED_INT_VEC3UNSIGNED_INT_VEC4UNSIGNED_NORMALIZEDUNSIGNED_SHORTUNSIGNED_SHORT_4_4_4_4UNSIGNED_SHORT_5_5_5_1UNSIGNED_SHORT_5_6_5VALIDATE_STATUSVENDORVERSIONVERTEX_ARRAY_BINDINGVERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_DIVISORVERTEX_ATTRIB_ARRAY_ENABLEDVERTEX_ATTRIB_ARRAY_INTEGERVERTEX_ATTRIB_ARRAY_NORMALIZEDVERTEX_ATTRIB_ARRAY_POINTERVERTEX_ATTRIB_ARRAY_SIZEVERTEX_ATTRIB_ARRAY_STRIDEVERTEX_ATTRIB_ARRAY_TYPEVERTEX_SHADERVIEWPORTWAIT_FAILEDZERO"WebGL2RenderingContextBase"WebGL2RenderingContextBasedart.dom.web_gljs_utiljsify_convertDataTreenewObjecthasPropertycallMethodinstanceofconstrcallConstructorNullRejectionExceptionisUndefinedjsPromisepromiseToFuturedart.js_util"Chrome"Chrome"Firefox"FirefoxIE"Internet Explorer"Internet ExplorerOPERA"Opera"OperaSAFARI"Safari"SafaribrowserNameminimumVersionExperimentalDomNameDocsEditablehtml_commongl'dart:web_gl'dart:web_gl'dart:js_util'dart:js_util'dart:_metadata'dart:_metadata'css_class_set.dart'css_class_set.dart'conversions.dart'conversions.dart'conversions_dart2js.dart'conversions_dart2js.dart'device.dart'device.dart'filtered_element_list.dart'filtered_element_list.dart'lists.dart'lists.dartCssClassSetCssClassSetImpl_validTokenRE_validateTokentoggleshouldAddfrozentoggleAllmodifyreadClasseswriteClassesconvertDartToNative_SerializedScriptValueconvertNativeToDart_SerializedScriptValue_StructuredClonecopiesfindSlotreadSlotwriteSlotcleanupSlotscloneNotRequirednewJsObjectforEachObjectKeyputIntoObjectnewJsMapnewJsListputIntoMapwalkcopyListslotconvertDartToNative_PrepareForStructuredClone_AcceptStructuredClonemustCopyidenticalInJsforEachJsFieldnewDartListconvertNativeToDart_AcceptStructuredCloneContextAttributesantialiaspremultipliedAlphapreserveDrawingBufferfailIfMajorPerformanceCaveatnativeContextAttributesconvertNativeToDart_ContextAttributesImageData_TypedImageDatanativeImageDataconvertNativeToDart_ImageDataimageDataconvertDartToNative_ImageDataconvertNativeToDart_Dictionary_convertDartToNative_ValuedictpostCreateconvertDartToNative_DictionaryconvertDartToNative_StringArraydateconvertNativeToDart_DateTimeconvertDartToNative_DateTime_StructuredCloneDart2Js_AcceptStructuredCloneDart2JsisJavaScriptDateisJavaScriptRegExpisJavaScriptArrayisJavaScriptSimpleObjectisImmutableJavaScriptArrayisJavaScriptPromise_serializedScriptValue'num|String|bool|'num|String|bool|'JSExtendableArray|=Object|'JSExtendableArray|=Object|'Blob|File|NativeByteBuffer|NativeTypedData|MessagePort'Blob|File|NativeByteBuffer|NativeTypedData|MessagePortannotation_Creates_SerializedScriptValueannotation_Returns_SerializedScriptValueDeviceisOperaisIEisFirefoxisWebKitcssPrefixpropertyPrefixisEventTypeSupportedeventTypeElementNodeListWrapperFilteredElementList_node_childNodes_filteredrawListListsaccumulatorindexed_db_KeyRangeFactoryProvidercreateKeyRange_onlyKeyRangecreateKeyRange_lowerBoundcreateKeyRange_upperBoundcreateKeyRange_boundlowerupperlowerOpenupperOpen_cachedClass_class_uncachedClass_translateKeyidbkey_only_lowerBound_upperBound_boundnativeKey_convertNativeToDart_IDBKeydartKey_convertDartToNative_IDBKey_convertNativeToDart_IDBAny_idbKey'JSExtendableArray|=Object|num|String'JSExtendableArray|=Object|num|String_annotation_Creates_IDBKey_annotation_Returns_IDBKeyCursor"IDBCursor"IDBCursordelete'continue'continuedirectionprimaryKey'Null''ObjectStore|Index|Null'ObjectStore|Index|NulladvancecontinuePrimaryKey_deleteRequest'delete'_update_update_1'update'CursorWithValue"IDBCursorWithValue"IDBCursorWithValue_get_value'value'EventTargetDatabase'15'15'10'10"IDBDatabase"IDBDatabasecreateObjectStoreObjectStorekeyPathautoIncrementtransactionTransactionstoreName_OR_storeNamestransactionStorestoreNametransactionListstoreNamestransactionStoresDomStringList_transactionstores'transaction'EventStreamProviderabortEvent'abort'abortcloseEvent'close'errorEvent'error'VersionChangeEventversionChangeEvent'versionchange'versionchangeobjectStoreNames'DomStringList''int|String|Null'int|String|Null_createObjectStore_createObjectStore_1'createObjectStore'_createObjectStore_2deleteObjectStoreonAbortonVersionChangeObserverChangeschangesObserverCallbackIdbFactory"IDBFactory"IDBFactoryonUpgradeNeededonBlockeddeleteDatabasesupportsDatabaseNamescmp_deleteDatabaseOpenDBRequest'deleteDatabase'_open'open''Request''Database'request_completeRequestIndex"IDBIndex"IDBIndexkey_OR_rangegetgetKeyopenCursorautoAdvanceopenKeyCursormultiEntryobjectStoreunique'count'_get'get'getAllgetAllKeys_getKey'getKey''ObjectStore'_openCursor'openCursor''Cursor'_openKeyCursor'openKeyCursor'"IDBKeyRange"IDBKeyRangeonlylowerBoundupperBoundbound_'bound'includeslowerBound_'lowerBound'only_'only'upperBound_'upperBound'"IDBObjectStore"IDBObjectStorekey_OR_keyRangeputgetObjectcreateIndexindexNames_add_1'add'_add_2'clear'_createIndex_createIndex_1'createIndex'_createIndex_2deleteIndex_put_put_1'put'_put_2_cursorStreamFromResultObservation"IDBObservation"IDBObservationObserver"IDBObserver"IDBObserverobservedbtx_observe_1'observe'unobserve"IDBObserverChanges"IDBObserverChangesdatabaserecords"IDBOpenDBRequest,IDBVersionChangeRequest"IDBOpenDBRequest,IDBVersionChangeRequestblockedEvent'blocked'blockedupgradeNeededEvent'upgradeneeded'upgradeneeded"IDBRequest"IDBRequestsuccessEvent'success'successDomExceptionreadyState_get_result'result'"IDBTransaction"IDBTransactioncompletedcompleteEvent'complete'onComplete"IDBVersionChangeEvent"IDBVersionChangeEventeventInitDictdataLossdataLossMessagenewVersionoldVersion'target'dart.dom.indexed_dbsvg_SvgElementFactoryProvidercreateSvgElement_tagSvgElementGraphicsElementUriReferenceAElement"SVGAElement"SVGAElementAnimatedStringhrefAngle"SVGAngle"SVGAngleSVG_ANGLETYPE_DEGSVG_ANGLETYPE_GRADSVG_ANGLETYPE_RADSVG_ANGLETYPE_UNKNOWNSVG_ANGLETYPE_UNSPECIFIEDunitTypevalueAsStringvalueInSpecifiedUnitsconvertToSpecifiedUnitsnewValueSpecifiedUnitsAnimationElementAnimateElement"SVGAnimateElement"SVGAnimateElementAnimateMotionElement"SVGAnimateMotionElement"SVGAnimateMotionElementAnimateTransformElement"SVGAnimateTransformElement"SVGAnimateTransformElementAnimatedAngle"SVGAnimatedAngle"SVGAnimatedAngleanimValbaseValAnimatedBoolean"SVGAnimatedBoolean"SVGAnimatedBooleanAnimatedEnumeration"SVGAnimatedEnumeration"SVGAnimatedEnumerationAnimatedInteger"SVGAnimatedInteger"SVGAnimatedIntegerAnimatedLength"SVGAnimatedLength"SVGAnimatedLengthLengthAnimatedLengthList"SVGAnimatedLengthList"SVGAnimatedLengthListLengthListAnimatedNumber"SVGAnimatedNumber"SVGAnimatedNumberAnimatedNumberList"SVGAnimatedNumberList"SVGAnimatedNumberListNumberListAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatioPreserveAspectRatioAnimatedRect"SVGAnimatedRect"SVGAnimatedRectRect"SVGAnimatedString"SVGAnimatedStringAnimatedTransformList"SVGAnimatedTransformList"SVGAnimatedTransformListTransformListTests"SVGAnimationElement"SVGAnimationElementtargetElementbeginElementbeginElementAtendElementendElementAtgetCurrentTimegetSimpleDurationgetStartTimerequiredExtensionsStringListsystemLanguageGeometryElementCircleElement"SVGCircleElement"SVGCircleElementcxcyrClipPathElement"SVGClipPathElement"SVGClipPathElementclipPathUnitsDefsElement"SVGDefsElement"SVGDefsElementDescElement"SVGDescElement"SVGDescElementDiscardElement"SVGDiscardElement"SVGDiscardElementEllipseElement"SVGEllipseElement"SVGEllipseElementrxryFilterPrimitiveStandardAttributesFEBlendElement"SVGFEBlendElement"SVGFEBlendElementSVG_FEBLEND_MODE_DARKENSVG_FEBLEND_MODE_LIGHTENSVG_FEBLEND_MODE_MULTIPLYSVG_FEBLEND_MODE_NORMALSVG_FEBLEND_MODE_SCREENSVG_FEBLEND_MODE_UNKNOWNin1in2FEColorMatrixElement"SVGFEColorMatrixElement"SVGFEColorMatrixElementSVG_FECOLORMATRIX_TYPE_HUEROTATESVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHASVG_FECOLORMATRIX_TYPE_MATRIXSVG_FECOLORMATRIX_TYPE_SATURATESVG_FECOLORMATRIX_TYPE_UNKNOWNFEComponentTransferElement"SVGFEComponentTransferElement"SVGFEComponentTransferElementFECompositeElement"SVGFECompositeElement"SVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ARITHMETICSVG_FECOMPOSITE_OPERATOR_ATOPSVG_FECOMPOSITE_OPERATOR_INSVG_FECOMPOSITE_OPERATOR_OUTSVG_FECOMPOSITE_OPERATOR_OVERSVG_FECOMPOSITE_OPERATOR_UNKNOWNSVG_FECOMPOSITE_OPERATOR_XORk1k2k3k4operatorFEConvolveMatrixElement"SVGFEConvolveMatrixElement"SVGFEConvolveMatrixElementSVG_EDGEMODE_DUPLICATESVG_EDGEMODE_NONESVG_EDGEMODE_UNKNOWNSVG_EDGEMODE_WRAPbiasedgeModekernelMatrixkernelUnitLengthXkernelUnitLengthYorderXorderYpreserveAlphatargetXtargetYFEDiffuseLightingElement"SVGFEDiffuseLightingElement"SVGFEDiffuseLightingElementdiffuseConstantsurfaceScaleFEDisplacementMapElement"SVGFEDisplacementMapElement"SVGFEDisplacementMapElementSVG_CHANNEL_ASVG_CHANNEL_BSVG_CHANNEL_GSVG_CHANNEL_RSVG_CHANNEL_UNKNOWNxChannelSelectoryChannelSelectorFEDistantLightElement"SVGFEDistantLightElement"SVGFEDistantLightElementazimuthelevationFEFloodElement"SVGFEFloodElement"SVGFEFloodElement_SVGComponentTransferFunctionElementFEFuncAElement"SVGFEFuncAElement"SVGFEFuncAElementFEFuncBElement"SVGFEFuncBElement"SVGFEFuncBElementFEFuncGElement"SVGFEFuncGElement"SVGFEFuncGElementFEFuncRElement"SVGFEFuncRElement"SVGFEFuncRElementFEGaussianBlurElement"SVGFEGaussianBlurElement"SVGFEGaussianBlurElementstdDeviationXstdDeviationYsetStdDeviationFEImageElement"SVGFEImageElement"SVGFEImageElementpreserveAspectRatioFEMergeElement"SVGFEMergeElement"SVGFEMergeElementFEMergeNodeElement"SVGFEMergeNodeElement"SVGFEMergeNodeElementFEMorphologyElement"SVGFEMorphologyElement"SVGFEMorphologyElementSVG_MORPHOLOGY_OPERATOR_DILATESVG_MORPHOLOGY_OPERATOR_ERODESVG_MORPHOLOGY_OPERATOR_UNKNOWNradiusXradiusYFEOffsetElement"SVGFEOffsetElement"SVGFEOffsetElementdxdyFEPointLightElement"SVGFEPointLightElement"SVGFEPointLightElementFESpecularLightingElement"SVGFESpecularLightingElement"SVGFESpecularLightingElementspecularConstantspecularExponentFESpotLightElement"SVGFESpotLightElement"SVGFESpotLightElementlimitingConeAnglepointsAtXpointsAtYpointsAtZFETileElement"SVGFETileElement"SVGFETileElementFETurbulenceElement"SVGFETurbulenceElement"SVGFETurbulenceElementSVG_STITCHTYPE_NOSTITCHSVG_STITCHTYPE_STITCHSVG_STITCHTYPE_UNKNOWNSVG_TURBULENCE_TYPE_FRACTALNOISESVG_TURBULENCE_TYPE_TURBULENCESVG_TURBULENCE_TYPE_UNKNOWNbaseFrequencyXbaseFrequencyYnumOctavesstitchTilesFilterElement"SVGFilterElement"SVGFilterElementfilterUnitsprimitiveUnitsFitToViewBoxviewBoxForeignObjectElement"SVGForeignObjectElement"SVGForeignObjectElementGElement"SVGGElement"SVGGElement"SVGGeometryElement"SVGGeometryElementpathLengthgetPointAtLengthdistancegetTotalLengthisPointInFillpointisPointInStroke"SVGGraphicsElement"SVGGraphicsElementfarthestViewportElementnearestViewportElementgetBBoxgetCtmMatrix'getCTM'getCTMgetScreenCtm'getScreenCTM'getScreenCTM"SVGImageElement"SVGImageElement"SVGLength"SVGLengthSVG_LENGTHTYPE_CMSVG_LENGTHTYPE_EMSSVG_LENGTHTYPE_EXSSVG_LENGTHTYPE_INSVG_LENGTHTYPE_MMSVG_LENGTHTYPE_NUMBERSVG_LENGTHTYPE_PCSVG_LENGTHTYPE_PERCENTAGESVG_LENGTHTYPE_PTSVG_LENGTHTYPE_PXSVG_LENGTHTYPE_UNKNOWNImmutableListMixin"SVGLengthList"SVGLengthListnumberOfItems__setter__newItemappendItemgetIteminitializeinsertItemBeforeremoveItemreplaceItemLineElement"SVGLineElement"SVGLineElementx1x2y1y2_GradientElementLinearGradientElement"SVGLinearGradientElement"SVGLinearGradientElementMarkerElement"SVGMarkerElement"SVGMarkerElementSVG_MARKERUNITS_STROKEWIDTHSVG_MARKERUNITS_UNKNOWNSVG_MARKERUNITS_USERSPACEONUSESVG_MARKER_ORIENT_ANGLESVG_MARKER_ORIENT_AUTOSVG_MARKER_ORIENT_UNKNOWNmarkerHeightmarkerUnitsmarkerWidthorientAngleorientTyperefXrefYsetOrientToAngleanglesetOrientToAutoMaskElement"SVGMaskElement"SVGMaskElementmaskContentUnitsmaskUnits"SVGMatrix"SVGMatrixflipXflipYinversemultiplysecondMatrixrotaterotateFromVectorscaleFactorscaleNonUniformscaleFactorXscaleFactorYskewXskewYtranslateMetadataElement"SVGMetadataElement"SVGMetadataElementNumber"SVGNumber"SVGNumber"SVGNumberList"SVGNumberListPathElement"SVGPathElement"SVGPathElementPatternElement"SVGPatternElement"SVGPatternElementpatternContentUnitspatternTransformpatternUnits"SVGPoint"SVGPointmatrixTransformmatrixPointList"SVGPointList"SVGPointListPolygonElement"SVGPolygonElement"SVGPolygonElementanimatedPointspointsPolylineElement"SVGPolylineElement"SVGPolylineElement"SVGPreserveAspectRatio"SVGPreserveAspectRatioSVG_MEETORSLICE_MEETSVG_MEETORSLICE_SLICESVG_MEETORSLICE_UNKNOWNSVG_PRESERVEASPECTRATIO_NONESVG_PRESERVEASPECTRATIO_UNKNOWNSVG_PRESERVEASPECTRATIO_XMAXYMAXSVG_PRESERVEASPECTRATIO_XMAXYMIDSVG_PRESERVEASPECTRATIO_XMAXYMINSVG_PRESERVEASPECTRATIO_XMIDYMAXSVG_PRESERVEASPECTRATIO_XMIDYMIDSVG_PRESERVEASPECTRATIO_XMIDYMINSVG_PRESERVEASPECTRATIO_XMINYMAXSVG_PRESERVEASPECTRATIO_XMINYMIDSVG_PRESERVEASPECTRATIO_XMINYMINalignmeetOrSliceRadialGradientElement"SVGRadialGradientElement"SVGRadialGradientElementfrfxfy"SVGRect"SVGRectRectElement"SVGRectElement"SVGRectElementScriptElement"SVGScriptElement"SVGScriptElementSetElement"SVGSetElement"SVGSetElementStopElement"SVGStopElement"SVGStopElementgradientOffset'offset'"SVGStringList"SVGStringListStyleElement"SVGStyleElement"SVGStyleElementdisabledmediasheetStyleSheetAttributeClassSetGlobalEventHandlersNoncedElement"SVGElement"SVGElement_START_TAG_REGEXPNodeValidatorvalidatorNodeTreeSanitizertreeSanitizerclasseschildrenouterHtmlinnerHtmlcreateFragmentDocumentFragmentinsertAdjacentTextinsertAdjacentHtmlinsertAdjacentElement_childrenHtmlCollectionisContentEditableclickisTagSupportedblurEvent'blur'blurcanPlayEvent'canplay'canplaycanPlayThroughEvent'canplaythrough'canplaythroughchangeEvent'change'MouseEventclickEvent'click'contextMenuEvent'contextmenu'contextmenudoubleClickEvent'dblclick'dblclick'SVGElement.dblclickEvent'SVGElement.dblclickEventdragEvent'drag'dragdragEndEvent'dragend'dragenddragEnterEvent'dragenter'dragenterdragLeaveEvent'dragleave'dragleavedragOverEvent'dragover'dragoverdragStartEvent'dragstart'dragstartdropEvent'drop'dropdurationChangeEvent'durationchange'durationchangeemptiedEvent'emptied'emptiedendedEvent'ended'endedfocusEvent'focus'focus'input'invalidEvent'invalid'invalidKeyboardEventkeyDownEvent'keydown'keydownkeyPressEvent'keypress'keypresskeyUpEvent'keyup'keyuploadEvent'load'loadedDataEvent'loadeddata'loadeddataloadedMetadataEvent'loadedmetadata'loadedmetadatamouseDownEvent'mousedown'mousedownmouseEnterEvent'mouseenter'mouseentermouseLeaveEvent'mouseleave'mouseleavemouseMoveEvent'mousemove'mousemovemouseOutEvent'mouseout'mouseoutmouseOverEvent'mouseover'mouseovermouseUpEvent'mouseup'mouseupWheelEventmouseWheelEvent'mousewheel'mousewheelpauseEvent'pause'playEvent'play'playplayingEvent'playing'playingrateChangeEvent'ratechange'ratechangeresetEvent'reset'resizeEvent'resize'resizescrollEvent'scroll'scrollseekedEvent'seeked'seekedseekingEvent'seeking'seekingselectEvent'select'stalledEvent'stalled'stalledsubmitEvent'submit'submitsuspendEvent'suspend'suspendtimeUpdateEvent'timeupdate'timeupdateTouchEventtouchCancelEvent'touchcancel'touchcanceltouchEndEvent'touchend'touchendtouchMoveEvent'touchmove'touchmovetouchStartEvent'touchstart'touchstartvolumeChangeEvent'volumechange'volumechangewaitingEvent'waiting'waitingwheelEvent'wheel'wheel_svgClassName'className'ownerSvgElementSvgSvgElement'ownerSVGElement'ownerSVGElementviewportElementnonceElementStreamonBluronCanPlayonCanPlayThroughonChangeonClickonContextMenuonDoubleClick'SVGElement.ondblclick'SVGElement.ondblclickonDragonDragEndonDragEnteronDragLeaveonDragOveronDragStartonDroponDurationChangeonEmptiedonEndedonFocusonInputonInvalidonKeyDownonKeyPressonKeyUponLoadonLoadedDataonLoadedMetadataonMouseDownonMouseEnteronMouseLeaveonMouseMoveonMouseOutonMouseOveronMouseUponMouseWheelonPlayonPlayingonRateChangeonResetonResizeonScrollonSeekedonSeekingonSelectonStalledonSubmitonSuspendonTimeUpdateonTouchCancelonTouchEndonTouchMoveonTouchStartonVolumeChangeonWaitingonWheelZoomAndPan"SVGSVGElement"SVGSVGElementcurrentScalecurrentTranslateanimationsPausedcheckEnclosurerectcheckIntersectioncreateSvgAngle'createSVGAngle'createSVGAnglecreateSvgLength'createSVGLength'createSVGLengthcreateSvgMatrix'createSVGMatrix'createSVGMatrixcreateSvgNumber'createSVGNumber'createSVGNumbercreateSvgPoint'createSVGPoint'createSVGPointcreateSvgRect'createSVGRect'createSVGRectcreateSvgTransformTransform'createSVGTransform'createSVGTransformcreateSvgTransformFromMatrix'createSVGTransformFromMatrix'createSVGTransformFromMatrixdeselectAllforceRedrawgetElementByIdelementIdgetEnclosureListreferenceElement'NodeList'NodeListgetIntersectionListpauseAnimationssetCurrentTimesuspendRedrawmaxWaitMillisecondsunpauseAnimationsunsuspendRedrawsuspendHandleIdunsuspendRedrawAllzoomAndPanSwitchElement"SVGSwitchElement"SVGSwitchElementSymbolElement"SVGSymbolElement"SVGSymbolElementTextPositioningElementTSpanElement"SVGTSpanElement"SVGTSpanElementTextContentElement"SVGTextContentElement"SVGTextContentElementLENGTHADJUST_SPACINGLENGTHADJUST_SPACINGANDGLYPHSLENGTHADJUST_UNKNOWNlengthAdjusttextLengthgetCharNumAtPositiongetComputedTextLengthgetEndPositionOfCharcharnumgetExtentOfChargetNumberOfCharsgetRotationOfChargetStartPositionOfChargetSubStringLengthncharsselectSubStringTextElement"SVGTextElement"SVGTextElementTextPathElement"SVGTextPathElement"SVGTextPathElementTEXTPATH_METHODTYPE_ALIGNTEXTPATH_METHODTYPE_STRETCHTEXTPATH_METHODTYPE_UNKNOWNTEXTPATH_SPACINGTYPE_AUTOTEXTPATH_SPACINGTYPE_EXACTTEXTPATH_SPACINGTYPE_UNKNOWNspacingstartOffset"SVGTextPositioningElement"SVGTextPositioningElementTitleElement"SVGTitleElement"SVGTitleElement"SVGTransform"SVGTransformSVG_TRANSFORM_MATRIXSVG_TRANSFORM_ROTATESVG_TRANSFORM_SCALESVG_TRANSFORM_SKEWXSVG_TRANSFORM_SKEWYSVG_TRANSFORM_TRANSLATESVG_TRANSFORM_UNKNOWNsetMatrixsetRotatesetScalesxsysetSkewXsetSkewYsetTranslatety"SVGTransformList"SVGTransformListconsolidateUnitTypes"SVGUnitTypes"SVGUnitTypesSVG_UNIT_TYPE_OBJECTBOUNDINGBOXSVG_UNIT_TYPE_UNKNOWNSVG_UNIT_TYPE_USERSPACEONUSEUseElement"SVGUseElement"SVGUseElementViewElement"SVGViewElement"SVGViewElementSVG_ZOOMANDPAN_DISABLESVG_ZOOMANDPAN_MAGNIFYSVG_ZOOMANDPAN_UNKNOWN"SVGGradientElement"SVGGradientElementSVG_SPREADMETHOD_PADSVG_SPREADMETHOD_REFLECTSVG_SPREADMETHOD_REPEATSVG_SPREADMETHOD_UNKNOWNgradientTransformgradientUnitsspreadMethod"SVGComponentTransferFunctionElement"SVGComponentTransferFunctionElement_SVGFEDropShadowElement"SVGFEDropShadowElement"SVGFEDropShadowElement_SVGMPathElement"SVGMPathElement"SVGMPathElementdart.dom.svgweb_audioAudioNodeAnalyserNode"AnalyserNode,RealtimeAnalyserNode"AnalyserNode,RealtimeAnalyserNodeBaseAudioContextcontextfftSizefrequencyBinCountmaxDecibelsminDecibelssmoothingTimeConstantgetByteFrequencyDatagetByteTimeDomainDatagetFloatFrequencyDatagetFloatTimeDomainDataAudioBuffer"AudioBuffer"numberOfChannelssampleRatecopyFromChanneldestinationchannelNumberstartInChannelcopyToChannelgetChannelDatachannelIndexAudioScheduledSourceNodeAudioBufferSourceNode"AudioBufferSourceNode"detuneAudioParamlooploopEndloopStartplaybackRategrainOffsetgrainDurationAudioContext"AudioContext,webkitAudioContext"AudioContext,webkitAudioContextbaseLatencygetOutputTimestamp_getOutputTimestamp_1'getOutputTimestamp'createGainGainNodecreateScriptProcessorScriptProcessorNodenumberOfInputChannelsnumberOfOutputChannels_decodeAudioDataaudioDataDecodeSuccessCallbacksuccessCallbackDecodeErrorCallback'decodeAudioData'decodeAudioDataAudioDestinationNode"AudioDestinationNode"maxChannelCountAudioListener"AudioListener"forwardXforwardYforwardZpositionXpositionYpositionZupXupYupZsetOrientationxUpyUpzUp"AudioNode"channelCountchannelCountModechannelInterpretationnumberOfInputsnumberOfOutputs_connect'connect'connectdisconnectdestination_OR_outputconnectNodeconnectParam"AudioParam"cancelAndHoldAtTimestartTimecancelScheduledValuesexponentialRampToValueAtTimelinearRampToValueAtTimesetTargetAtTimetimeConstantsetValueAtTimesetValueCurveAtTimeAudioParamMap"AudioParamMap"_getItemAudioProcessingEvent"AudioProcessingEvent"inputBufferoutputBufferplaybackTime"AudioScheduledSourceNode"start2'start'AudioTrack"AudioTrack"enabledlanguagesourceBufferSourceBufferAudioTrackList"AudioTrackList"__getter__getTrackByIdWorkletGlobalScopeAudioWorkletGlobalScope"AudioWorkletGlobalScope"currentTimeregisterProcessorprocessorConstructorAudioWorkletNode"AudioWorkletNode"AudioWorkletProcessor"AudioWorkletProcessor""BaseAudioContext"createAnalysercreateBiquadFilterBiquadFilterNodenumberOfFramescreateBufferSourcecreateChannelMergerChannelMergerNodecreateChannelSplitterChannelSplitterNodecreateConstantSourceConstantSourceNodecreateConvolverConvolverNodecreateDelayDelayNodemaxDelayTimecreateDynamicsCompressorDynamicsCompressorNodecreateIirFilterIirFilterNodefeedForwardfeedBack'createIIRFilter'createIIRFiltercreateMediaElementSourceMediaElementAudioSourceNodeMediaElementmediaElementcreateMediaStreamDestinationMediaStreamAudioDestinationNodecreateMediaStreamSourceMediaStreamAudioSourceNodeMediaStreammediaStreamcreateOscillatorOscillatorNodecreatePannerPannerNodecreatePeriodicWavePeriodicWaverealimag_createPeriodicWave_1'createPeriodicWave'_createPeriodicWave_2createStereoPannerStereoPannerNodecreateWaveShaperWaveShaperNode"BiquadFilterNode"QgaingetFrequencyResponsefrequencyHzmagResponsephaseResponse"ChannelMergerNode,AudioChannelMerger"ChannelMergerNode,AudioChannelMerger"ChannelSplitterNode,AudioChannelSplitter"ChannelSplitterNode,AudioChannelSplitter"ConstantSourceNode""ConvolverNode""DelayNode"delayTime"DynamicsCompressorNode"attackkneeratioreductionreleasethreshold"GainNode,AudioGainNode"GainNode,AudioGainNode"IIRFilterNode"IIRFilterNode"MediaElementAudioSourceNode""MediaStreamAudioDestinationNode""MediaStreamAudioSourceNode"OfflineAudioCompletionEvent"OfflineAudioCompletionEvent"renderedBufferOfflineAudioContext"OfflineAudioContext"numberOfChannels_OR_optionsstartRenderingsuspendForsuspendTime"OscillatorNode,Oscillator"OscillatorNode,OscillatorsetPeriodicWaveperiodicWave"PannerNode,AudioPannerNode,webkitAudioPannerNode"PannerNode,AudioPannerNode,webkitAudioPannerNodeconeInnerAngleconeOuterAngleconeOuterGaindistanceModelmaxDistanceorientationXorientationYorientationZpanningModelrefDistancerolloffFactor"PeriodicWave""ScriptProcessorNode,JavaScriptAudioNode"ScriptProcessorNode,JavaScriptAudioNodeaudioProcessEvent'audioprocess'audioprocesssetEventListenerEventListenereventListeneronAudioProcess"StereoPannerNode"pan"WaveShaperNode"curveoversampledart.dom.web_audioweb_sqlSqlTransactionSqlResultSetresultSetSqlStatementCallbackSqlErrorSqlStatementErrorCallbackSqlTransactionCallbackSqlTransactionErrorCallbackSqlDatabase"Database"_changeVersionVoidCallback'changeVersion'changeVersion_readTransaction'readTransaction'readTransactiontransaction_future"SQLError"SQLErrorCONSTRAINT_ERRDATABASE_ERRQUOTA_ERRSYNTAX_ERRTIMEOUT_ERRTOO_LARGE_ERRUNKNOWN_ERRVERSION_ERR"SQLResultSet"SQLResultSetinsertIdrowsSqlResultSetRowListrowsAffected"SQLResultSetRowList"SQLResultSetRowList_item_1'item'"SQLTransaction"SQLTransaction_executeSqlsqlStatement'executeSql'executeSqldart.dom.web_sqlhtml'dart:indexed_db'dart:indexed_db'dart:svg'dart:svg'dart:web_audio'dart:web_audio'dart:web_sql'dart:web_sqlForceInlineWindowwindowHtmlDocumentdocumentpromiseToFutureAsMapHtmlElement"HTMLElement"HTMLElementFontFacefontFacefontFaceAgainFontFaceSetFontFaceSetForEachCallbackWorkerGlobalScope_workerSelfExtendableEventAbortPaymentEvent"AbortPaymentEvent"respondWithpaymentAbortedResponseOrientationSensorAbsoluteOrientationSensor"AbsoluteOrientationSensor"sensorOptionsAbstractWorkerSensorAccelerometer"Accelerometer"AccessibleNode"AccessibleNode"accessibleClickEvent'accessibleclick'accessibleclickaccessibleContextMenuEvent'accessiblecontextmenu'accessiblecontextmenuaccessibleDecrementEvent'accessibledecrement'accessibledecrementaccessibleFocusEvent'accessiblefocus'accessiblefocusaccessibleIncrementEvent'accessibleincrement'accessibleincrementaccessibleScrollIntoViewEvent'accessiblescrollintoview'accessiblescrollintoviewactiveDescendantatomicautocompletebusycolCountcolIndexcolSpancontrolsAccessibleNodeListdescribedBydetailserrorMessageexpandedflowTohasPopUphiddenkeyShortcutslabeledBylivemodalmultilinemultiselectableorientationownsplaceholderposInSetpressedreadOnlyrelevantroleroleDescriptionrowCountrowIndexrowSpanselectedsetSizevalueMaxvalueMinvalueNowvalueTextappendChildchildonAccessibleClickonAccessibleContextMenuonAccessibleDecrementonAccessibleFocusonAccessibleIncrementonAccessibleScrollIntoView"AccessibleNodeList"nodesbeforeAmbientLightSensor"AmbientLightSensor"illuminanceHtmlHyperlinkElementUtilsAnchorElement"HTMLAnchorElement"HTMLAnchorElementdownloadhreflangreferrerPolicyrelhostnamepasswordpathnameprotocolsearchusernameAnimation"Animation"cancelEvent'cancel'finishEvent'finish'AnimationEffectReadOnlyeffectAnimationTimelinetimeline_create_3finishedplayStatereadyreverseonFinish"AnimationEffectReadOnly"timingAnimationEffectTimingReadOnlygetComputedTiming_getComputedTiming_1'getComputedTiming'AnimationEffectTiming"AnimationEffectTiming"delay'num|String|Null'num|String|NulleasingendDelayiterationStartiterations"AnimationEffectTimingReadOnly"AnimationEvent"AnimationEvent"animationNameelapsedTimeAnimationPlaybackEvent"AnimationPlaybackEvent"timelineTime"AnimationTimeline"AnimationWorkletGlobalScope"AnimationWorkletGlobalScope"registerAnimatoranimatorConstructorApplicationCache"ApplicationCache,DOMApplicationCache,OfflineResourceList"ApplicationCache,DOMApplicationCache,OfflineResourceListcachedEvent'cached'cachedcheckingEvent'checking'checkingdownloadingEvent'downloading'downloadingnoUpdateEvent'noupdate'noupdateobsoleteEvent'obsolete'obsoleteProgressEventprogressEvent'progress'progressupdateReadyEvent'updateready'updatereadyCHECKINGDOWNLOADINGIDLEOBSOLETEUNCACHEDUPDATEREADYstatusswapCacheonCachedonCheckingonDownloadingonNoUpdateonObsoleteonProgressonUpdateReadyApplicationCacheErrorEvent"ApplicationCacheErrorEvent"AreaElement"HTMLAreaElement"HTMLAreaElementaltcoordsshapeAudioElement"HTMLAudioElement"HTMLAudioElementsrcAuthenticatorResponseAuthenticatorAssertionResponse"AuthenticatorAssertionResponse"authenticatorDatasignatureAuthenticatorAttestationResponse"AuthenticatorAttestationResponse"attestationObject"AuthenticatorResponse"clientDataJson'clientDataJSON'clientDataJSONBRElement"HTMLBRElement"HTMLBRElementBackgroundFetchEventBackgroundFetchClickEvent"BackgroundFetchClickEvent"init"BackgroundFetchEvent"BackgroundFetchFailEvent"BackgroundFetchFailEvent"fetchesBackgroundFetchSettledFetchBackgroundFetchFetch"BackgroundFetchFetch"_RequestBackgroundFetchManager"BackgroundFetchManager"BackgroundFetchRegistrationrequestsgetIds"BackgroundFetchRegistration"downloadTotaldownloadedtitletotalDownloadSizeuploadTotaluploaded"BackgroundFetchSettledFetch"_ResponseBackgroundFetchedEvent"BackgroundFetchedEvent"updateUIBarProp"BarProp"visibleBarcodeDetector"BarcodeDetector"detectBaseElement"HTMLBaseElement"HTMLBaseElementBatteryManager"BatteryManager"chargingchargingTimedischargingTimeBeforeInstallPromptEvent"BeforeInstallPromptEvent"platformsuserChoicepromptBeforeUnloadEvent"BeforeUnloadEvent"returnValueBlob"Blob"slicecontentTypeblobPartsendingsbag_create_bag_bag_setblobBlobCallbackBlobEvent"BlobEvent"timecodeBluetoothRemoteGattDescriptor"BluetoothRemoteGATTDescriptor"BluetoothRemoteGATTDescriptorcharacteristic_BluetoothRemoteGATTCharacteristicuuidreadValuewriteValueBody"Body"bodyUsedarrayBufferformDataFormDataWindowEventHandlersBodyElement"HTMLBodyElement"HTMLBodyElementhashChangeEvent'hashchange'hashchangeMessageEventmessageEvent'message'offlineEvent'offline'offlineonlineEvent'online'onlinePopStateEventpopStateEvent'popstate'popstateStorageEventstorageEvent'storage'unloadEvent'unload'unloadonHashChangeonMessageonOfflineonOnlineonPopStateonStorageonUnloadBroadcastChannel"BroadcastChannel"postMessageBudgetState"BudgetState"budgetAtButtonElement"HTMLButtonElement"HTMLButtonElementautofocusformFormElementformActionformEnctypeformMethodformNoValidateformTargetlabelsvalidationMessagevalidityValidityStatewillValidatecheckValidityreportValiditysetCustomValidityTextCDataSection"CDATASection"CDATASectionCacheStorage"CacheStorage"cacheNamehasCanMakePaymentEvent"CanMakePaymentEvent"methodDatamodifierspaymentRequestOrigintopLevelOrigincanMakePaymentResponseMediaStreamTrackCanvasCaptureMediaStreamTrack"CanvasCaptureMediaStreamTrack"requestFrameCanvasImageSource"HTMLCanvasElement"HTMLCanvasElementwebGlContextLostEvent'webglcontextlost'webglcontextlostwebGlContextRestoredEvent'webglcontextrestored'webglcontextrestoredcaptureStreamframeRategetContextcontextIdattributes'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null'CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null_getContext_1'getContext'_getContext_2_toDataUrlarguments_OR_quality'toDataURL'toDataURLtransferControlToOffscreenonWebGlContextLostonWebGlContextRestoredcontext2DCanvasRenderingContext2DgetContext3dtoDataUrl'image/png'image/pngquality_toBlob'toBlob'toBlobCanvasGradient"CanvasGradient"addColorStopcolorCanvasPattern"CanvasPattern"setTransform"CanvasRenderingContext2D"currentTransformfillStyle'String|CanvasGradient|CanvasPattern'String|CanvasGradient|CanvasPatternfontglobalAlphaglobalCompositeOperationimageSmoothingEnabledimageSmoothingQualitylineCaplineJoinmiterLimitshadowBlurshadowColorshadowOffsetXshadowOffsetYstrokeStyletextAligntextBaselineaddHitRegion_addHitRegion_1'addHitRegion'_addHitRegion_2beginPathclearHitRegionsclearRectclippath_OR_windingwindingcreateImageDatadata_OR_imagedata_OR_swsh_OR_swimageDataColorSettings_OR_shimageDataColorSettings'ImageData|=Object'ImageData|=Object_createImageData_1imagedata'createImageData'_createImageData_2swsh_createImageData_3_createImageData_4_createImageData_5createLinearGradientx0y0createPatternrepetitionTypecreateRadialGradientr0r1drawFocusIfNeededelement_OR_pathfillRectgetImageData_getImageData_1'getImageData'_getLineDash'getLineDash'getLineDashisPointInPathpath_OR_xx_OR_ywinding_OR_ymeasureTextTextMetricsputImageDatadirtyXdirtyYdirtyWidthdirtyHeight_putImageData_1'putImageData'_putImageData_2removeHitRegionresetTransformrestoresavescrollPathIntoViewPath2DstrokestrokeRectstrokeTextmaxWidth_arcradiusstartAngleendAngleanticlockwise'arc'arcarcTobezierCurveTocp1xcp1ycp2xcp2yclosePathellipserotationlineTomoveToquadraticCurveTocpxcpycreateImageDataFromImageDatasetFillColorRgbsetFillColorHslhsetStrokeColorRgbsetStrokeColorHslcreatePatternFromImagedrawImageToRectdestRectsourceRectdrawImagedestXdestY'drawImage'drawImageScaleddestWidthdestHeightdrawImageScaledFromSourcesourceXsourceYsourceWidthsourceHeightlineDashOffset'11'11setLineDashdashfillTextbackingStorePixelRatioNonDocumentTypeChildNodeChildNodeCharacterData"CharacterData"appendDatadeleteDatainsertDatareplaceDatasubstringDataafternextElementSiblingpreviousElementSiblingClient"Client"frameTypetransferClients"Clients"claimmatchAllopenWindowWindowClientClipboardEvent"ClipboardEvent"clipboardDataDataTransferCloseEvent"CloseEvent"wasCleanComment"Comment"UIEventCompositionEvent"CompositionEvent"canBubblecancelablelocale_initCompositionEventbubbles'initCompositionEvent'initCompositionEventContentElement'26'26"HTMLContentElement"HTMLContentElementgetDistributedNodesCookieStore"CookieStore"Coordinates"Coordinates"accuracyaltitudealtitudeAccuracyheadinglatitudelongitudespeedCredential"Credential"CredentialUserData"CredentialUserData"iconUrl'iconURL'iconURLCredentialsContainer"CredentialsContainer"preventSilentAccessrequireUserMediationstorecredentialCrypto"Crypto"getRandomValuessubtle_SubtleCrypto_getRandomValues'getRandomValues''TypedData''TypedData|Null'TypedData|NullCryptoKey"CryptoKey"algorithmextractableusagesCss"CSS"CSSpaintWorklet_WorkletHzCssUnitValuecmdegdpcmdpidppxemidentgradinch'in'inkHzmmmspcpercentptpxradregisterPropertydescriptor_registerProperty_1'registerProperty'remsupportssupportsConditionconditionText'supports'turnvhvmaxvminvwCssRuleCssCharsetRule"CSSCharsetRule"CSSCharsetRuleCssGroupingRuleCssConditionRule"CSSConditionRule"CSSConditionRuleCssFontFaceRule"CSSFontFaceRule"CSSFontFaceRulestyleCssStyleDeclaration"CSSGroupingRule"CSSGroupingRulecssRules'_CssRuleList'_CssRuleListdeleteRuleinsertRuleCssResourceValueCssImageValue"CSSImageValue"CSSImageValueintrinsicHeightintrinsicRatiointrinsicWidthCssImportRule"CSSImportRule"CSSImportRuleMediaListstyleSheetCssStyleSheetCssKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRulekeyTextCssKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRuleappendRuleCssStyleValueCssKeywordValue"CSSKeywordValue"CSSKeywordValuekeywordCssTransformComponentCssMatrixComponent"CSSMatrixComponent"CSSMatrixComponentDomMatrixReadOnlyDomMatrixCssMediaRule"CSSMediaRule"CSSMediaRuleCssNamespaceRule"CSSNamespaceRule"CSSNamespaceRulenamespaceUri'namespaceURI'namespaceURICssNumericValue"CSSNumericValue"CSSNumericValuedivmulcssTextCssPageRule"CSSPageRule"CSSPageRuleselectorTextCssPerspective"CSSPerspective"CSSPerspectiveCssPositionValue"CSSPositionValue"CSSPositionValue"CSSResourceValue"CSSResourceValueCssRotation"CSSRotation"CSSRotationangleValue_OR_x"CSSRule"CSSRuleCHARSET_RULEFONT_FACE_RULEIMPORT_RULEKEYFRAMES_RULEKEYFRAME_RULEMEDIA_RULENAMESPACE_RULEPAGE_RULESTYLE_RULESUPPORTS_RULEVIEWPORT_RULEparentRuleparentStyleSheetCssScale"CSSScale"CSSScaleCssSkew"CSSSkew"CSSSkewaxayCssStyleDeclarationBase"CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties"CSSStyleDeclaration,MSStyleCSSProperties,CSS2PropertiescssgetPropertyValue_getPropertyValueHelpersupportsProperty_supportsProperty_browserPropertyName_supportedBrowserPropertyName_propertyCache_readCache_writeCache_camelCasehyphenated_setPropertyHelpersupportsTransitionscssFloatgetPropertyPriority_getPropertyValue'getPropertyValue'removePropertybackground_background'String''background'backgroundAttachment_backgroundAttachment'backgroundAttachment'backgroundColor_backgroundColor'backgroundColor'backgroundImage_backgroundImage'backgroundImage'backgroundPosition_backgroundPosition'backgroundPosition'backgroundRepeat_backgroundRepeat'backgroundRepeat'_border'border'borderBottom_borderBottom'borderBottom'borderBottomColor_borderBottomColor'borderBottomColor'borderBottomStyle_borderBottomStyle'borderBottomStyle'borderBottomWidth_borderBottomWidth'borderBottomWidth'borderCollapse_borderCollapse'borderCollapse'borderColor_borderColor'borderColor'borderLeft_borderLeft'borderLeft'borderLeftColor_borderLeftColor'borderLeftColor'borderLeftStyle_borderLeftStyle'borderLeftStyle'borderLeftWidth_borderLeftWidth'borderLeftWidth'borderRight_borderRight'borderRight'borderRightColor_borderRightColor'borderRightColor'borderRightStyle_borderRightStyle'borderRightStyle'borderRightWidth_borderRightWidth'borderRightWidth'borderSpacing_borderSpacing'borderSpacing'borderStyle_borderStyle'borderStyle'borderTop_borderTop'borderTop'borderTopColor_borderTopColor'borderTopColor'borderTopStyle_borderTopStyle'borderTopStyle'borderTopWidth_borderTopWidth'borderTopWidth'borderWidth_borderWidth'borderWidth'_bottom'bottom'captionSide_captionSide'captionSide'_clip'clip'_color'color'_content'content'cursor_cursor'cursor'_direction'direction'display_display'display'emptyCells_emptyCells'emptyCells'_font'font'fontFamily_fontFamily'fontFamily'fontSize_fontSize'fontSize'fontStyle_fontStyle'fontStyle'fontVariant_fontVariant'fontVariant'fontWeight_fontWeight'fontWeight''height''left'letterSpacing_letterSpacing'letterSpacing'lineHeight_lineHeight'lineHeight'listStyle_listStyle'listStyle'listStyleImage_listStyleImage'listStyleImage'listStylePosition_listStylePosition'listStylePosition'listStyleType_listStyleType'listStyleType'margin_margin'margin'marginBottom_marginBottom'marginBottom'marginLeft_marginLeft'marginLeft'marginRight_marginRight'marginRight'marginTop_marginTop'marginTop'maxHeight_maxHeight'maxHeight'_maxWidth'maxWidth'minHeight_minHeight'minHeight'minWidth_minWidth'minWidth'outline_outline'outline'outlineColor_outlineColor'outlineColor'outlineStyle_outlineStyle'outlineStyle'outlineWidth_outlineWidth'outlineWidth'overflow_overflow'overflow''padding'paddingBottom_paddingBottom'paddingBottom'paddingLeft_paddingLeft'paddingLeft'paddingRight_paddingRight'paddingRight'paddingTop_paddingTop'paddingTop'pageBreakAfter_pageBreakAfter'pageBreakAfter'pageBreakBefore_pageBreakBefore'pageBreakBefore'pageBreakInside_pageBreakInside'pageBreakInside''position'quotes_quotes'quotes''right'tableLayout_tableLayout'tableLayout'_textAlign'textAlign'textDecoration_textDecoration'textDecoration'textIndent_textIndent'textIndent'textTransform_textTransform'textTransform'_top'top'unicodeBidi_unicodeBidi'unicodeBidi'verticalAlign_verticalAlign'verticalAlign'visibility_visibility'visibility'whiteSpace_whiteSpace'whiteSpace''width'wordSpacing_wordSpacing'wordSpacing'zIndex_zIndex'zIndex'_CssStyleDeclarationSet_elementIterable_elementCssStyleDeclarationSetIterable_setAllalignContentalignItemsalignSelfanimationanimationDelayanimationDirectionanimationDurationanimationFillModeanimationIterationCountanimationPlayStateanimationTimingFunctionappRegionappearanceaspectRatiobackfaceVisibilitybackgroundBlendModebackgroundClipbackgroundCompositebackgroundOriginbackgroundPositionXbackgroundPositionYbackgroundRepeatXbackgroundRepeatYbackgroundSizeborderAfterborderAfterColorborderAfterStyleborderAfterWidthborderBeforeborderBeforeColorborderBeforeStyleborderBeforeWidthborderBottomLeftRadiusborderBottomRightRadiusborderEndborderEndColorborderEndStyleborderEndWidthborderFitborderHorizontalSpacingborderImageborderImageOutsetborderImageRepeatborderImageSliceborderImageSourceborderImageWidthborderRadiusborderStartborderStartColorborderStartStyleborderStartWidthborderTopLeftRadiusborderTopRightRadiusborderVerticalSpacingboxAlignboxDecorationBreakboxDirectionboxFlexboxFlexGroupboxLinesboxOrdinalGroupboxOrientboxPackboxReflectboxShadowboxSizingclipPathcolumnBreakAftercolumnBreakBeforecolumnBreakInsidecolumnCountcolumnFillcolumnGapcolumnRulecolumnRuleColorcolumnRuleStylecolumnRuleWidthcolumnSpancolumnWidthcolumnscounterIncrementcounterResetflexflexBasisflexDirectionflexFlowflexGrowflexShrinkflexWrapfloatfontFeatureSettingsfontKerningfontSizeDeltafontSmoothingfontStretchfontVariantLigaturesgridgridAreagridAutoColumnsgridAutoFlowgridAutoRowsgridColumngridColumnEndgridColumnStartgridRowgridRowEndgridRowStartgridTemplategridTemplateAreasgridTemplateColumnsgridTemplateRowshighlighthyphenateCharacterimageRenderingisolationjustifyContentjustifySelflineBoxContainlineBreaklineClamplogicalHeightlogicalWidthmarginAftermarginAfterCollapsemarginBeforemarginBeforeCollapsemarginBottomCollapsemarginCollapsemarginEndmarginStartmarginTopCollapsemaskBoxImagemaskBoxImageOutsetmaskBoxImageRepeatmaskBoxImageSlicemaskBoxImageSourcemaskBoxImageWidthmaskClipmaskCompositemaskImagemaskOriginmaskPositionmaskPositionXmaskPositionYmaskRepeatmaskRepeatXmaskRepeatYmaskSizemaskSourceTypemaxLogicalHeightmaxLogicalWidthmaxZoomminLogicalHeightminLogicalWidthminZoommixBlendModeobjectFitobjectPositionopacityorderorphansoutlineOffsetoverflowWrapoverflowXoverflowYpaddingAfterpaddingBeforepaddingEndpaddingStartpageperspectiveperspectiveOriginperspectiveOriginXperspectiveOriginYpointerEventsprintColorAdjustrtlOrderingrubyPositionscrollBehaviorshapeImageThresholdshapeMarginshapeOutsidespeaktabSizetapHighlightColortextAlignLasttextCombinetextDecorationColortextDecorationLinetextDecorationStyletextDecorationsInEffecttextEmphasistextEmphasisColortextEmphasisPositiontextEmphasisStyletextFillColortextJustifytextLineThroughColortextLineThroughModetextLineThroughStyletextLineThroughWidthtextOrientationtextOverflowtextOverlineColortextOverlineModetextOverlineStyletextOverlineWidthtextRenderingtextSecuritytextShadowtextStroketextStrokeColortextStrokeWidthtextUnderlineColortextUnderlineModetextUnderlinePositiontextUnderlineStyletextUnderlineWidthtouchActiontouchActionDelaytransformOrigintransformOriginXtransformOriginYtransformOriginZtransformStyletransitiontransitionDelaytransitionDurationtransitionPropertytransitionTimingFunctionunicodeRangeuserDraguserModifyuserSelectuserZoomwidowswillChangewordBreakwordWrapwrapFlowwrapThroughwritingModezoomCssStyleRule"CSSStyleRule"CSSStyleRule"CSSStyleSheet"CSSStyleSheetownerRuleaddRuleselectorremoveRule"CSSStyleValue"CSSStyleValueCssSupportsRule"CSSSupportsRule"CSSSupportsRule"CSSTransformComponent"CSSTransformComponentis2DCssTransformValue"CSSTransformValue"CSSTransformValuetransformComponentscomponentAtIndextoMatrixCssTranslation"CSSTranslation"CSSTranslation"CSSUnitValue"CSSUnitValueCssUnparsedValue"CSSUnparsedValue"CSSUnparsedValuefragmentAtIndexCssVariableReferenceValue"CSSVariableReferenceValue"CSSVariableReferenceValuefallbackCssViewportRule"CSSViewportRule"CSSViewportRuleCssurlImageValue"CSSURLImageValue"CSSURLImageValueCustomElementConstructorCustomElementRegistry"CustomElementRegistry"define_define_1'define'_define_2whenDefinedCustomEvent"CustomEvent"_dartDetaildetail_detail_get__detail'detail'_initCustomEvent'initCustomEvent'initCustomEventDListElement"HTMLDListElement"HTMLDListElementDataElement"HTMLDataElement"HTMLDataElementDataListElement"HTMLDataListElement"HTMLDataListElement'HtmlCollection'"DataTransfer"dropEffecteffectAllowedfilesFile'FileList'FileListDataTransferItemListclearDatagetDatasetDatasetDragImageDataTransferItem"DataTransferItem"getAsEntryEntrygetAsFile_webkitGetAsEntry'webkitGetAsEntry'webkitGetAsEntry"DataTransferItemList"data_OR_fileaddDataaddFileDatabaseCallbackdecodedDataDedicatedWorkerGlobalScope"DedicatedWorkerGlobalScope"PERSISTENTTEMPORARY_postMessage_1'postMessage'_postMessage_2_webkitRequestFileSystem_FileSystemCallback_ErrorCallback'webkitRequestFileSystem'webkitRequestFileSystemrequestFileSystemSync_DOMFileSystemSync'webkitRequestFileSystemSync'webkitRequestFileSystemSyncresolveLocalFileSystemSyncUrl_EntrySync'webkitResolveLocalFileSystemSyncURL'webkitResolveLocalFileSystemSyncURL_webkitResolveLocalFileSystemUrl_EntryCallback'webkitResolveLocalFileSystemURL'webkitResolveLocalFileSystemURLDeprecatedStorageInfo"DeprecatedStorageInfo"queryUsageAndQuotastorageTypeStorageUsageCallbackusageCallbackStorageErrorCallbackrequestQuotanewQuotaInBytesStorageQuotaCallbackquotaCallbackDeprecatedStorageQuota"DeprecatedStorageQuota"ReportBodyDeprecationReport"DeprecationReport"lineNumbersourceFileDetailsElement"HTMLDetailsElement"HTMLDetailsElementDetectedBarcode"DetectedBarcode"cornerPointsrawValueDetectedFace"DetectedFace"landmarksDetectedText"DetectedText"DeviceAcceleration"DeviceAcceleration"DeviceMotionEvent"DeviceMotionEvent"accelerationaccelerationIncludingGravityintervalrotationRateDeviceRotationRateDeviceOrientationEvent"DeviceOrientationEvent"absolutebetagamma"DeviceRotationRate"DialogElement"HTMLDialogElement"HTMLDialogElementshowshowModalDirectoryEntry"DirectoryEntry"createDirectoryexclusivecreateReaderDirectoryReadergetDirectorycreateFilegetFile_createReader'createReader'__getDirectory__getDirectory_1'getDirectory'__getDirectory_2__getDirectory_3__getDirectory_4_getDirectory__getFile__getFile_1'getFile'__getFile_2__getFile_3__getFile_4_getFile_removeRecursively'removeRecursively'removeRecursively"DirectoryReader"_readEntries_EntriesCallback'readEntries'readEntriesDivElement"HTMLDivElement"HTMLDivElementDocument"Document"pointerLockChangeEvent'pointerlockchange'pointerlockchangepointerLockErrorEvent'pointerlockerror'pointerlockerrorreadyStateChangeEvent'readystatechange'readystatechangeSecurityPolicyViolationEventsecurityPolicyViolationEvent'securitypolicyviolation'securitypolicyviolationselectionChangeEvent'selectionchange'selectionchangeaddressSpace_body'body'cookieWindowBase_get_window'defaultView'defaultView'Window|=Object'Window|=Object'Window|=Object|Null'Window|=Object|NulldocumentElementdomainfullscreenEnabledHeadElement'head'headDomImplementation_lastModified'lastModified'lastModified_preferredStylesheetSet'preferredStylesheetSet'preferredStylesheetSet_referrer'referrer'referrerrootElementrootScrollerscrollingElement_selectedStylesheetSet'selectedStylesheetSet'selectedStylesheetSetsuboriginDocumentTimeline_title'title'_visibilityState'visibilityState'visibilityState_webkitFullscreenElement'webkitFullscreenElement'webkitFullscreenElement_webkitFullscreenEnabled'webkitFullscreenEnabled'webkitFullscreenEnabled_webkitHidden'webkitHidden'webkitHidden_webkitVisibilityState'webkitVisibilityState'webkitVisibilityStateadoptNode_caretRangeFromPointRange'caretRangeFromPoint'caretRangeFromPointcreateDocumentFragment_createElementlocalName_OR_tagNameoptions_OR_typeExtension'createElement'createElement_createElementNS'createElementNS'createElementNS_createEvent'createEvent'createEventcreateRange_createTextNode'createTextNode'createTextNode_createTouchTouchidentifierpageXpageYscreenXscreenYrotationAngleforce_createTouch_1'createTouch'createTouch_createTouch_2_createTouch_3_createTouch_4_createTouch_5_createTouchListTouchListtouches'createTouchList'createTouchListexecCommandcommandIdshowUIexitFullscreenexitPointerLockgetAnimationsgetElementsByClassNameclassNames'NodeList|HtmlCollection'NodeList|HtmlCollectiongetElementsByNameelementNamegetElementsByTagNameimportNodedeepqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValueregisterElement2_registerElement2_1'registerElement'registerElement_registerElement2_2_webkitExitFullscreen'webkitExitFullscreen'webkitExitFullscreenactiveElementfullscreenElementpointerLockElement_styleSheets'styleSheets'styleSheets'_StyleSheetList'_StyleSheetList_elementFromPoint'elementFromPoint'elementFromPointelementsFromPointfonts_childElementCount'childElementCount'childElementCount'children'_firstElementChild'firstElementChild'firstElementChild_lastElementChild'lastElementChild'lastElementChildquerySelectorselectors_querySelectorAll'querySelectorAll'querySelectorAllonBeforeCopyonBeforeCutonBeforePasteonCopyonCut'Document.ondblclick'Document.ondblclickonPasteonPointerLockChangeonPointerLockErroronReadyStateChangeonSearchonSecurityPolicyViolationonSelectionChangeonSelectStartonFullscreenChangeonFullscreenErrorElementListsupportsRegisterElementsupportsRegistercustomElementClassextendsTagtagNametypeExtension_createElement_2_createElementNS_2_createNodeIteratorNodeIteratorwhatToShowNodeFilter_createTreeWalkerTreeWalkerNonElementParentNodeParentNode"DocumentFragment"svgContent_docChildrensetInnerHtmlappendTextappendHtmlDocumentOrShadowRoot"DocumentOrShadowRoot"getSelectionSelection"DocumentTimeline"DomError"DOMError"DOMError"DOMException"DOMExceptionINDEX_SIZE'IndexSizeError'IndexSizeErrorHIERARCHY_REQUEST'HierarchyRequestError'HierarchyRequestErrorWRONG_DOCUMENT'WrongDocumentError'WrongDocumentErrorINVALID_CHARACTER'InvalidCharacterError'InvalidCharacterErrorNO_MODIFICATION_ALLOWED'NoModificationAllowedError'NoModificationAllowedError'NotFoundError'NotFoundErrorNOT_SUPPORTED'NotSupportedError'NotSupportedErrorINVALID_STATE'InvalidStateError'InvalidStateErrorSYNTAX'SyntaxError'SyntaxErrorINVALID_MODIFICATION'InvalidModificationError'InvalidModificationErrorNAMESPACE'NamespaceError'NamespaceErrorINVALID_ACCESS'InvalidAccessError'InvalidAccessErrorTYPE_MISMATCH'TypeMismatchError'TypeMismatchErrorSECURITY'SecurityError'SecurityErrorNETWORK'NetworkError'NetworkErrorABORT'AbortError'AbortErrorURL_MISMATCH'URLMismatchError'URLMismatchErrorQUOTA_EXCEEDED'QuotaExceededError'QuotaExceededErrorTIMEOUT'TimeoutError'TimeoutErrorINVALID_NODE_TYPE'InvalidNodeTypeError'InvalidNodeTypeErrorDATA_CLONE'DataCloneError'DataCloneErrorENCODING'EncodingError'EncodingErrorNOT_READABLE'NotReadableError'NotReadableErrorUNKNOWN'UnknownError'UnknownErrorCONSTRAINT'ConstraintError'ConstraintErrorTRANSACTION_INACTIVE'TransactionInactiveError'TransactionInactiveErrorREAD_ONLY'ReadOnlyError'ReadOnlyError'VersionError'VersionErrorOPERATION'OperationError'OperationErrorNOT_ALLOWED'NotAllowedError'NotAllowedErrorTYPE_ERROR'TypeError'"DOMImplementation"DOMImplementationcreateDocumentXmlDocument_DocumentTypedoctypecreateDocumentTypepublicIdsystemIdcreateHtmlDocument'createHTMLDocument'createHTMLDocumenthasFeatureDomIterator"Iterator""DOMMatrix"DOMMatrixm11m12m13m14m21m22m23m24m31m32m33m34m41m42m43m44fromFloat32Arrayarray32fromFloat64Arrayarray64fromMatrix_fromMatrix_1'fromMatrix'_fromMatrix_2invertSelfmultiplySelf_multiplySelf_1'multiplySelf'_multiplySelf_2preMultiplySelf_preMultiplySelf_1'preMultiplySelf'_preMultiplySelf_2rotateAxisAngleSelfrotateFromVectorSelfrotateSelfrotXrotYrotZscale3dSelforiginXoriginYoriginZscaleSelfscaleXscaleYscaleZsetMatrixValuetransformListskewXSelfskewYSelftranslateSelftz"DOMMatrixReadOnly"DOMMatrixReadOnlyisIdentity_multiply_1'multiply'_multiply_2rotateAxisAnglescale3dtoFloat32ArraytoFloat64ArraytransformPointDomPoint_transformPoint_1'transformPoint'_transformPoint_2DomParser"DOMParser"DOMParserparseFromStringDomPointReadOnly"DOMPoint"DOMPoint_create_4_create_5fromPoint_fromPoint_1'fromPoint'_fromPoint_2"DOMPointReadOnly"DOMPointReadOnly_matrixTransform_1'matrixTransform'_matrixTransform_2DomQuad"DOMQuad"DOMQuadp1p2p3p4fromQuad_fromQuad_1'fromQuad'_fromQuad_2fromRect_fromRect_1'fromRect'_fromRect_2getBoundsDomRectList"ClientRectList,DOMRectList"ClientRectList,DOMRectListDomRectReadOnly"DOMRectReadOnly"DOMRectReadOnly"DOMStringList"DOMStringListDomStringMap"DOMStringMap"DOMStringMap__delete__DomTokenList"DOMTokenList"DOMTokenListtokenstokennewToken_ChildrenElementList_childElements_wrap_addAllcontentEdgeCssRectpaddingEdgeborderEdgemarginEdge'Element.ondblclick'Element.ondblclickonTouchEnteronTouchLeaveonTransitionEndTransitionEvent_FrozenElementList_nodeList"Element"articleasideaudiobrfooterheaderhriframeimglinavoloptionpresectionspantdtextareathtrulgetAttributegetAttributeNShasAttributehasAttributeNSremoveAttributeremoveAttributeNSsetAttributesetAttributeNS_setApplyScrollScrollStateCallbackscrollStateCallbacknativeScrollBehavior'setApplyScroll'setApplyScrollScrollState_setDistributeScroll'setDistributeScroll'setDistributeScrolldatasetgetNamespacedAttributesnamespacegetComputedStylepseudoElementclientattacheddetachedenteredViewgetClientRectsleftViewanimateframes'36'36_animate'animate'attributeChangedoldValuescrollIntoViewScrollAlignment_CustomEventStreamProvider_determineMouseWheelEventTypetransitionEndEvent_determineTransitionEventType_insertAdjacentText'insertAdjacentText'_insertAdjacentHtml'insertAdjacentHTML'insertAdjacentHTML_insertAdjacentElement'insertAdjacentElement'_insertAdjacentNodematchesmatchesWithAncestorscreateShadowRootShadowRoot'25'25shadowRootdocumentOffsetoffsetTo_offsetToHelper_parseDocument_parseRangeNodeValidatorBuilder_defaultValidator_ValidatingTreeSanitizer_defaultSanitizer_canBeUsedToCreateContextualFragment_cannotBeUsedToCreateContextualFragment_tagsForWhichCreateContextualFragmentIsNotSupported'HEAD'HEAD'AREA'AREA'BASE'BASE'BASEFONT'BASEFONT'BR'BR'COL'COL'COLGROUP'COLGROUP'EMBED'EMBED'FRAME'FRAME'FRAMESET'FRAMESET'HR'HR'IMAGE'IMAGE'IMG'IMG'INPUT'INPUT'ISINDEX'ISINDEX'LINK'LINK'META'META'PARAM'PARAM'SOURCE'SOURCE'STYLE'STYLE'TITLE'TITLE'WBR'WBRinnerText'innerText'onElementEvents_hasCorruptedAttributes_hasCorruptedAttributesAdditionalCheck_safeTagNameoffsetParentoffsetHeightoffsetLeftoffsetTopoffsetWidthscrollHeightscrollLeftscrollTopscrollWidthbeforeCopyEvent'beforecopy'beforecopybeforeCutEvent'beforecut'beforecutbeforePasteEvent'beforepaste'beforepastecopyEvent'copy'cutEvent'cut'cut'Element.dblclickEvent'Element.dblclickEventpasteEvent'paste'pastesearchEvent'search'selectStartEvent'selectstart'selectstarttouchEnterEvent'touchenter'touchentertouchLeaveEvent'touchleave'touchleavefullscreenChangeEvent'webkitfullscreenchange'webkitfullscreenchangefullscreenErrorEvent'webkitfullscreenerror'webkitfullscreenerrorcontentEditabledirdraggableinertinputModelangspellchecktabIndexaccessibleNodeassignedSlotSlotElement_attributes_NamedNodeMap'attributes'clientHeightclientLeftclientTopclientWidthcomputedNamecomputedRole_innerHtml'innerHTML'innerHTML_localName'localName'_namespaceUri'outerHTML'outerHTML_scrollHeight'scrollHeight'_scrollLeft'scrollLeft'_scrollTop'scrollTop'_scrollWidth'scrollWidth'styleMapStylePropertyMapattachShadowshadowRootInitDict_attachShadow_1'attachShadow'closest_getAttribute'getAttribute'_getAttributeNS'getAttributeNS'getAttributeNamesgetBoundingClientRect'_DomRect'_DomRect'_DomRect|Null'_DomRect|Null_getClientRects'getClientRects''DomRectList''DomRectList|Null'DomRectList|NullgetDestinationInsertionPoints_getElementsByTagName'getElementsByTagName'_hasAttribute'hasAttribute'_hasAttributeNS'hasAttributeNS'hasPointerCapturepointerIdreleasePointerCapture_removeAttribute'removeAttribute'_removeAttributeNS'removeAttributeNS'requestPointerLockoptions_OR_x_scroll_1_scroll_2_scroll_3scrollBy_scrollBy_1'scrollBy'_scrollBy_2_scrollBy_3_scrollIntoView'scrollIntoView'_scrollIntoViewIfNeededcenterIfNeeded'scrollIntoViewIfNeeded'scrollIntoViewIfNeededscrollTo_scrollTo_1'scrollTo'_scrollTo_2_scrollTo_3_setAttribute'setAttribute'_setAttributeNS'setAttributeNS'setPointerCapturerequestFullscreen'webkitRequestFullscreen'webkitRequestFullscreen_ElementFactoryProvidercreateElement_tagTOP'TOP'CENTER'CENTER'BOTTOM'BOTTOM'EmbedElement"HTMLEmbedElement"HTMLEmbedElement"Entry"filesystemFileSystemfullPathisDirectoryisFile_copyTo'copyTo'copyTo_getMetadataMetadataCallback'getMetadata'Metadata_getParent'getParent'getParent_moveTo'moveTo''remove'toUrl'toURL'toURLErrorEvent"ErrorEvent"colnofilenamelineno"Event,InputEvent,SubmitEvent"Event,InputEvent,SubmitEvent_selectormatchingTargetAT_TARGETBUBBLING_PHASECAPTURING_PHASEcomposedcurrentTarget_get_currentTarget'currentTarget''EventTarget|=Object|Null'EventTarget|=Object|NulldefaultPreventedeventPhaseisTrusted_get_target'Node''EventTarget|=Object'EventTarget|=ObjecttimeStampcomposedPath_initEvent'initEvent'initEventpreventDefaultstopImmediatePropagationstopPropagationEventSource"EventSource"withCredentialsopenEvent_factoryEventSourceeventSourceInitDictCLOSEDCONNECTINGOPENonOpenEvents_ptrwebkitEvents"EventTarget"_createdaddEventListeneruseCaptureremoveEventListener_addEventListener'addEventListener'dispatchEvent_removeEventListener'removeEventListener'"ExtendableEvent"waitUntilExtendableMessageEvent"ExtendableMessageEvent"lastEventIdportsMessagePort'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort|Null'Client|ServiceWorker|MessagePort|NullExternal"External"AddSearchProviderIsSearchProviderInstalledFaceDetector"FaceDetector"faceDetectorOptionsFederatedCredential"FederatedCredential"providerFetchEvent"FetchEvent"clientIdisReloadpreloadResponseFieldSetElement"HTMLFieldSetElement"HTMLFieldSetElement"File"fileBitsfileNamelastModifiedDate_get_lastModifiedDate'lastModifiedDate'relativePath'webkitRelativePath'webkitRelativePath_FileCallbackFileEntry"FileEntry"_createWriter_FileWriterCallback'createWriter'createWriterFileWriter_file'file'"FileList"FileReader"FileReader"loadEndEvent'loadend'loadendloadStartEvent'loadstart'loadstartDONEEMPTYLOADINGreadAsArrayBufferreadAsDataUrl'readAsDataURL'readAsDataURLreadAsTextonLoadEndonLoadStart"DOMFileSystem"DOMFileSystemfileSystem"FileWriter"writeEvent'write'writeEndEvent'writeend'writeendwriteStartEvent'writestart'writestartINITWRITINGseekonWriteonWriteEndonWriteStartfileWriterFocusEvent"FocusEvent"relatedTarget_get_relatedTarget'relatedTarget'"FontFace"familydescriptorsfeatureSettingsloadedstretchvariantweight"FontFaceSet"FontFaceSetLoadEventloadingEvent'loading'loadingloadingDoneEvent'loadingdone'loadingdoneloadingErrorEvent'loadingerror'loadingerrorcheckthisArgonLoadingonLoadingDoneonLoadingError"FontFaceSetLoadEvent"fontfacesFontFaceSource"FontFaceSource"ForeignFetchEvent"ForeignFetchEvent""FormData"appendBlob'append'"HTMLFormElement"HTMLFormElementacceptCharsetenctypenoValidaterequestAutocomplete_requestAutocomplete_1'requestAutocomplete'highResTimeFrameRequestCallbackFunctionStringCallbackGamepad"Gamepad"axesbuttonsGamepadButton'JSExtendableArray|GamepadButton'JSExtendableArray|GamepadButton'JSExtendableArray'connecteddisplayIdhandmappingposeGamepadPosetimestamp"GamepadButton"touchedGamepadEvent"GamepadEvent"gamepad"GamepadPose"angularAccelerationangularVelocityhasOrientationhasPositionlinearAccelerationlinearVelocityGeolocation"Geolocation"getCurrentPositionGeopositionenableHighAccuracymaximumAgewatchPosition_ensurePositiondomPosition_clearWatchwatchID'clearWatch'clearWatch_getCurrentPosition_PositionCallback_PositionErrorCallback_getCurrentPosition_1'getCurrentPosition'_getCurrentPosition_2_getCurrentPosition_3_watchPosition_watchPosition_1'watchPosition'_watchPosition_2_watchPosition_3_GeopositionWrapper"Position"Position'GlobalEventHandlers.dblclickEvent'GlobalEventHandlers.dblclickEvent'GlobalEventHandlers.ondblclick'GlobalEventHandlers.ondblclickGyroscope"Gyroscope"HRElement"HTMLHRElement"HTMLHRElementHashChangeEvent"HashChangeEvent"oldUrlnewUrl'newURL'newURL'oldURL'oldURL"HTMLHeadElement"HTMLHeadElementHeaders"Headers"HeadingElement"HTMLHeadingElement"HTMLHeadingElementh1h2h3h4h5h6HistoryBaseHistory"History"supportsStatescrollRestoration_get_state'state'backforwardgodeltapushState_pushState_1'pushState'replaceState_replaceState_1'replaceState'"HTMLCollection"HTMLCollectionnamedItem"HTMLDocument"HTMLDocumentvisibilityChangeEvent_determineVisibilityChangeEventTypeonVisibilityChangecreateElementUpgraderElementUpgraderHtmlFormControlsCollection"HTMLFormControlsCollection"HTMLFormControlsCollectionHtmlHtmlElement"HTMLHtmlElement"HTMLHtmlElement"HTMLHyperlinkElementUtils"HTMLHyperlinkElementUtilsHtmlOptionsCollection"HTMLOptionsCollection"HTMLOptionsCollection_itemHttpRequestEventTargetHttpRequest"XMLHttpRequest"XMLHttpRequestgetStringpostFormDataresponseTyperequestHeaderssendDatasupportsProgressEventsupportsCrossOriginsupportsLoadEndEventsupportsOverrideMimeTyperequestCrossOriginresponseHeadersuserHEADERS_RECEIVEDOPENEDUNSENT_get_response'response''NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|num'NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|numresponseTextresponseUrl'responseURL'responseURLresponseXml'responseXML'responseXMLstatusTextuploadHttpRequestUploadgetAllResponseHeadersgetResponseHeaderoverrideMimeTypemimebody_OR_datasetRequestHeader"XMLHttpRequestEventTarget"XMLHttpRequestEventTargettimeoutEvent'timeout'"XMLHttpRequestUpload"XMLHttpRequestUploadIFrameElement"HTMLIFrameElement"HTMLIFrameElementallowallowFullscreenallowPaymentRequestcontentWindow_get_contentWindow'contentWindow'cspsandboxsrcdocIdleDeadline"IdleDeadline"didTimeouttimeRemainingdeadlineIdleRequestCallback"ImageBitmap"ImageBitmapRenderingContext"ImageBitmapRenderingContext"transferFromImageBitmapImageCapture"ImageCapture"trackgetPhotoCapabilitiesPhotoCapabilitiesgetPhotoSettingsgrabFramesetOptionsphotoSettingstakePhoto"ImageData"data_OR_sw'NativeUint8ClampedList'"HTMLImageElement"HTMLImageElementcrossOrigincurrentSrcisMapnaturalHeightnaturalWidthsizessrcsetuseMapInputDeviceCapabilities"InputDeviceCapabilities"deviceInitDictfiresTouchEventsHiddenInputElementSearchInputElementTextInputElementUrlInputElementTelephoneInputElementEmailInputElementPasswordInputElementDateInputElementMonthInputElementWeekInputElementTimeInputElementLocalDateTimeInputElementNumberInputElementRangeInputElementCheckboxInputElementRadioButtonInputElementFileUploadInputElementSubmitButtonInputElementImageButtonInputElementResetButtonInputElementButtonInputElementInputElement"HTMLInputElement"HTMLInputElementautocapitalizecapturedefaultCheckeddirName'FileList|Null'FileList|NullincrementalindeterminatemaxLengthminLengthmultipleselectionDirectionselectionEndselectionStartvalueAsDate_get_valueAsDate'valueAsDate'_set_valueAsDatevalueAsNumber'webkitEntries'webkitEntries'webkitdirectory'webkitdirectorysetRangeTextselectionModesetSelectionRangestepDownstepUpInputElementBaseTextInputElementBaseRangeInputElementBaseInstallEvent"InstallEvent"registerForeignFetch_registerForeignFetch_1'registerForeignFetch'IntersectionObserver"IntersectionObserver"IntersectionObserverCallbackrootMarginthresholdstakeRecordsIntersectionObserverEntryobserver"IntersectionObserverEntry"boundingClientRectintersectionRatiointersectionRectisIntersectingrootBoundsInterventionReport"InterventionReport""KeyboardEvent"keyLocationctrlKeyaltKeyshiftKeymetaKey_initKeyboardEventkeyIdentifierkeyCodewhichDOM_KEY_LOCATION_LEFTDOM_KEY_LOCATION_NUMPADDOM_KEY_LOCATION_RIGHTDOM_KEY_LOCATION_STANDARD_charCode'charCode'isComposing_keyCode'keyCode'repeatgetModifierStatekeyArgKeyframeEffectReadOnlyKeyframeEffect"KeyframeEffect""KeyframeEffectReadOnly"LIElement"HTMLLIElement"HTMLLIElementLabelElement"HTMLLabelElement"HTMLLabelElementcontrolhtmlForLegendElement"HTMLLegendElement"HTMLLegendElementLinearAccelerationSensor"LinearAccelerationSensor"LinkElement"HTMLLinkElement"HTMLLinkElementasimportintegrityrelListscopesupportsImportLocationBaseLocation"Location"ancestorOriginstrustedHrefTrustedUrlassignreloadMagnetometer"Magnetometer"MapElement"HTMLMapElement"HTMLMapElementareasMediaCapabilities"MediaCapabilities"decodingInfoMediaCapabilitiesInfoconfigurationencodingInfo"MediaCapabilitiesInfo"powerEfficientsmoothMediaDeviceInfo"MediaDeviceInfo"deviceIdgroupIdMediaDevices"MediaDevices"enumerateDevicesgetSupportedConstraints_getSupportedConstraints_1'getSupportedConstraints'getUserMediaconstraints"HTMLMediaElement"HTMLMediaElementHAVE_CURRENT_DATAHAVE_ENOUGH_DATAHAVE_FUTURE_DATAHAVE_METADATAHAVE_NOTHINGNETWORK_EMPTYNETWORK_IDLENETWORK_LOADINGNETWORK_NO_SOURCEaudioTracksautoplaybufferedTimeRangescontrolsListdefaultMuteddefaultPlaybackRatedisableRemotePlaybackMediaErrormediaKeysMediaKeysmutednetworkStateplayedpreloadremoteRemotePlaybackseekablesinkIdsrcObjecttextTracksTextTrackListvideoTracksVideoTrackListvolumeaudioDecodedByteCount'webkitAudioDecodedByteCount'webkitAudioDecodedByteCountvideoDecodedByteCount'webkitVideoDecodedByteCount'webkitVideoDecodedByteCountaddTextTrackTextTrackcanPlayTypekeySystemsetMediaKeyssetSinkIdMediaEncryptedEvent"MediaEncryptedEvent"initDatainitDataType"MediaError"MEDIA_ERR_ABORTEDMEDIA_ERR_DECODEMEDIA_ERR_NETWORKMEDIA_ERR_SRC_NOT_SUPPORTEDMediaKeyMessageEvent"MediaKeyMessageEvent"messageTypeMediaKeySession"MediaKeySession"closedexpirationkeyStatusesMediaKeyStatusMapsessionIdgenerateRequest"MediaKeyStatusMap"keyIdMediaKeySystemAccess"MediaKeySystemAccess"createMediaKeysgetConfiguration_getConfiguration_1'getConfiguration'"MediaKeys"_createSessionsessionType'createSession'createSessiongetStatusForPolicyMediaKeysPolicypolicysetServerCertificateserverCertificate"MediaKeysPolicy"minHdcpVersion"MediaList"mediaTextappendMediummediumdeleteMediumMediaMetadata"MediaMetadata"albumartistartworkMediaQueryList"MediaQueryList"addListenerremoveListenerMediaQueryListEvent"MediaQueryListEvent"MediaRecorder"MediaRecorder"audioBitsPerSecondvideoBitsPerSecondisTypeSupportedrequestDatatimesliceMediaSession"MediaSession"playbackStatesetActionHandlerMediaSessionActionHandlerMediaSettingsRange"MediaSettingsRange"MediaSource"MediaSource"activeSourceBuffersSourceBufferListsourceBuffersaddSourceBufferclearLiveSeekableRangeendOfStreamremoveSourceBuffersetLiveSeekableRange"MediaStream"addTrackEvent'addtrack'addtrackremoveTrackEvent'removetrack'removetrackstream_OR_tracksactiveaddTrackclonegetAudioTracks'JSExtendableArray|MediaStreamTrack'JSExtendableArray|MediaStreamTracktrackIdgetTracksgetVideoTracksremoveTrackonAddTrackonRemoveTrackMediaStreamEvent"MediaStreamEvent""MediaStreamTrack"muteEvent'mute'muteunmuteEvent'unmute'unmutecontentHintapplyConstraintsgetCapabilities_getCapabilities_1'getCapabilities'getConstraints_getConstraints_1'getConstraints'getSettings_getSettings_1'getSettings'onMuteonUnmuteMediaStreamTrackEvent"MediaStreamTrackEvent"MemoryInfo"MemoryInfo"jsHeapSizeLimittotalJSHeapSizeusedJSHeapSizeMenuElement"HTMLMenuElement"HTMLMenuElementMessageCallbackMessageChannel"MessageChannel"port1port2"MessageEvent"messagePorts_get_data'data'_get_source'source'_initMessageEventtypeArgcanBubbleArgcancelableArgdataArgoriginArglastEventIdArgsourceArgportsArg_initMessageEvent_1'initMessageEvent'initMessageEvent"MessagePort"MetaElement"HTMLMetaElement"HTMLMetaElementhttpEquiv"Metadata"modificationTime_get_modificationTime'modificationTime'MeterElement"HTMLMeterElement"HTMLMeterElementhighlowoptimumMidiAccess"MIDIAccess"MIDIAccessinputsMidiInputMapoutputsMidiOutputMapsysexEnabledMidiConnectionEvent"MIDIConnectionEvent"MIDIConnectionEventMidiPortMidiInput"MIDIInput"MIDIInputMidiMessageEventmidiMessageEvent'midimessage'midimessageonMidiMessage"MIDIInputMap"MIDIInputMap"MIDIMessageEvent"MIDIMessageEventMidiOutput"MIDIOutput"MIDIOutput"MIDIOutputMap"MIDIOutputMap"MIDIPort"MIDIPortconnectionmanufacturerMimeType"MimeType"enabledPluginPluginsuffixesMimeTypeArray"MimeTypeArray"ModElement"HTMLModElement"HTMLModElementcitedateTimeMojoWatchCallback"MouseEvent,DragEvent"MouseEvent,DragEventclientXclientYbutton_clientX'clientX'_clientY'clientY'fromElement_layerX'layerX'layerX_layerY'layerY'layerY_movementX'movementX'movementX_movementY'movementY'movementY_pageX'pageX'_pageY'pageY'region_screenX'screenX'_screenY'screenY'toElement_initMouseEvent_initMouseEvent_1'initMouseEvent'initMouseEventmovementscreendataTransfermutationsMutationObserverMutationCallbackMutationEvent"MutationEvent"ADDITIONMODIFICATIONREMOVALattrChangeattrNameprevValuerelatedNodeinitMutationEvent"MutationObserver,WebKitMutationObserver"MutationObserver,WebKitMutationObserver_observe_observe_2MutationRecordchildListcharacterDatasubtreeattributeOldValuecharacterDataOldValueattributeFilter_boolKeys_createDict_fixupList_call"MutationRecord"addedNodesattributeNameattributeNamespacenextSiblingpreviousSiblingremovedNodesNavigationPreloadManager"NavigationPreloadManager"getStateNavigatorConcurrentHardwareNavigatorCookiesNavigatorLanguageNavigatorOnLineNavigatorAutomationInformationNavigatorIDNavigator"Navigator"getGamepads_ensureGetUserMedia_getUserMedia_NavigatorUserMediaSuccessCallback_NavigatorUserMediaErrorCallback'getUserMedia'budget_BudgetServiceclipboard_ClipboardNetworkInformationcredentialsdeviceMemorydoNotTrackgeolocationmaxTouchPointsmediaCapabilitiesmediaDevicesmediaSessionmimeTypesnfc_NFCpermissionsPermissionspresentationPresentationproductSubserviceWorkerServiceWorkerContainerStorageManagervendorvendorSubvrVRpersistentStorage'webkitPersistentStorage'webkitPersistentStoragetemporaryStorage'webkitTemporaryStorage'webkitTemporaryStoragecancelKeyboardLockgetBattery_getGamepads'getGamepads''_GamepadList'_GamepadListgetInstalledRelatedAppsRelatedApplicationgetVRDisplaysregisterProtocolHandlerrequestKeyboardLockkeyCodes_requestKeyboardLock_1'requestKeyboardLock'_requestKeyboardLock_2requestMidiAccess'requestMIDIAccess'requestMIDIAccessrequestMediaKeySystemAccesssupportedConfigurationssendBeaconsharewebdrivercookieEnabledappCodeNameappNameappVersiondartEnabledplatformproductlanguagesonLine"NavigatorAutomationInformation""NavigatorConcurrentHardware"hardwareConcurrency"NavigatorCookies"NavigatorUserMediaError"NavigatorUserMediaError"constraintName"NetworkInformation"downlinkdownlinkMaxeffectiveTypertt_ChildNodeListLazy_this"Node"replaceWithotherNodeinsertAllBeforenewNodesrefChild_clearChildrenchildNodesATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODEbaseUri'baseURI'baseURIfirstChildisConnectedlastChildnextNode'nextSibling'nodeNamenodeTypenodeValueownerDocument'parentElement'parentElementparentNodepreviousNode'previousSibling''textContent'textContent'appendChild''cloneNode'cloneNodegetRootNode_getRootNode_1'getRootNode'_getRootNode_2hasChildNodes_removeChild'removeChild'removeChild_replaceChild'replaceChild'replaceChild"NodeFilter"FILTER_ACCEPTFILTER_REJECTFILTER_SKIPSHOW_ALLSHOW_COMMENTSHOW_DOCUMENTSHOW_DOCUMENT_FRAGMENTSHOW_DOCUMENT_TYPESHOW_ELEMENTSHOW_PROCESSING_INSTRUCTIONSHOW_TEXT"NodeIterator"pointerBeforeReferenceNodereferenceNodedetach"NodeList,RadioNodeList"NodeList,RadioNodeList"NonDocumentTypeChildNode""NonElementParentNode""NoncedElement"Notification"Notification"iconshowEvent'show'_factoryNotificationactionsbadgemaxActionspermissionrenotifyrequireInteractionsilentvibrate_requestPermission_NotificationPermissionCallbackdeprecatedCallback'requestPermission'requestPermissiononShowNotificationEvent"NotificationEvent"notificationreplyOListElement"HTMLOListElement"HTMLOListElementObjectElement"HTMLObjectElement"HTMLObjectElement"OffscreenCanvas"convertToBlobcontextTypetransferToImageBitmap_CanvasPathOffscreenCanvasRenderingContext2D"OffscreenCanvasRenderingContext2D"sx_OR_xsy_OR_ysw_OR_widthheight_OR_shdwdhOptGroupElement"HTMLOptGroupElement"HTMLOptGroupElementOptionElement"HTMLOptionElement"HTMLOptionElementdefaultSelected"OrientationSensor"quaternionpopulateMatrixtargetBufferOutputElement"HTMLOutputElement"HTMLOutputElementOverconstrainedError"OverconstrainedError"constraintPageTransitionEvent"PageTransitionEvent"persistedPaintRenderingContext2D"PaintRenderingContext2D"PaintSize"PaintSize"PaintWorkletGlobalScope"PaintWorkletGlobalScope"devicePixelRatioregisterPaintpaintCtorParagraphElement"HTMLParagraphElement"HTMLParagraphElementParamElement"HTMLParamElement"HTMLParamElementPasswordCredential"PasswordCredential"data_OR_formadditionalDataidNamepasswordName"Path2D"path_OR_textaddPathPaymentAddress"PaymentAddress"addressLinecitycountrydependentLocalitylanguageCodeorganizationphonepostalCoderecipientsortingCodePaymentInstruments"PaymentInstruments"instrumentKeyPaymentManager"PaymentManager"instrumentsuserHintPaymentRequest"PaymentRequest"shippingAddressshippingOptionshippingTypecanMakePaymentPaymentResponsePaymentRequestEvent"PaymentRequestEvent"paymentRequestIdtotalPaymentRequestUpdateEvent"PaymentRequestUpdateEvent"updateWithdetailsPromise"PaymentResponse"payerEmailpayerNamepayerPhonerequestIdpaymentResultPerformance"Performance"memorynavigationPerformanceNavigationtimeOriginPerformanceTimingclearMarksmarkNameclearMeasuresmeasureNameclearResourceTimingsgetEntriesPerformanceEntrygetEntriesByNameentryTypegetEntriesByTypemarkmeasurestartMarkendMarksetResourceTimingBufferSizemaxSize"PerformanceEntry"PerformanceLongTaskTiming"PerformanceLongTaskTiming"attributionTaskAttributionTimingPerformanceMark"PerformanceMark"PerformanceMeasure"PerformanceMeasure""PerformanceNavigation"TYPE_BACK_FORWARDTYPE_NAVIGATETYPE_RELOADTYPE_RESERVEDredirectCountPerformanceResourceTimingPerformanceNavigationTiming"PerformanceNavigationTiming"domCompletedomContentLoadedEventEnddomContentLoadedEventStartdomInteractiveloadEventEndloadEventStartunloadEventEndunloadEventStartPerformanceObserver"PerformanceObserver"PerformanceObserverCallbackPerformanceObserverEntryList"PerformanceObserverEntryList"PerformancePaintTiming"PerformancePaintTiming""PerformanceResourceTiming"connectEndconnectStartdecodedBodySizedomainLookupEnddomainLookupStartencodedBodySizefetchStartinitiatorTypenextHopProtocolredirectEndredirectStartrequestStartresponseEndresponseStartsecureConnectionStartserverTimingPerformanceServerTimingtransferSizeworkerStart"PerformanceServerTiming""PerformanceTiming"domLoadingnavigationStartPermissionStatus"PermissionStatus""Permissions"requestAllrevoke"PhotoCapabilities"fillLightModeimageHeightimageWidthredEyeReductionPictureElement"HTMLPictureElement"HTMLPictureElement"Plugin"PluginArray"PluginArray"refreshPointerEvent"PointerEvent"isPrimarypointerTypepressuretangentialPressuretiltXtiltYtwistgetCoalescedEvents"PopStateEvent"PositionError"PositionError"PERMISSION_DENIEDPOSITION_UNAVAILABLEPreElement"HTMLPreElement"HTMLPreElement"Presentation"defaultRequestPresentationRequestPresentationReceiverPresentationAvailability"PresentationAvailability"PresentationConnection"PresentationConnection"binaryTypedata_OR_messageterminatePresentationConnectionAvailableEvent"PresentationConnectionAvailableEvent"PresentationConnectionCloseEvent"PresentationConnectionCloseEvent"PresentationConnectionList"PresentationConnectionList"connections"PresentationReceiver"connectionList"PresentationRequest"url_OR_urlsgetAvailabilityreconnectProcessingInstruction"ProcessingInstruction"ProgressElement"HTMLProgressElement"HTMLProgressElement"ProgressEvent"lengthComputablePromiseRejectionEvent"PromiseRejectionEvent"promisePublicKeyCredential"PublicKeyCredential"rawIdPushEvent"PushEvent"PushMessageDataPushManager"PushManager"supportedContentEncodingsgetSubscriptionPushSubscriptionpermissionStatesubscribe"PushMessageData""PushSubscription"endpointexpirationTimePushSubscriptionOptionsunsubscribe"PushSubscriptionOptions"applicationServerKeyuserVisibleOnlyQuoteElement"HTMLQuoteElement"HTMLQuoteElementRtcPeerConnectionErrorCallbackRtcSessionDescriptionsdp_RtcSessionDescriptionCallbackRtcStatsResponseRtcStatsCallback"Range"END_TO_ENDEND_TO_STARTSTART_TO_ENDSTART_TO_STARTcollapsedcommonAncestorContainerendContainerendOffsetstartContainercloneContentscloneRangecollapsetoStartcompareBoundaryPointshowsourceRangecomparePointcreateContextualFragmentdeleteContentsextractContentsinsertNodeisPointInRangeselectNodeselectNodeContentssetEndsetEndAftersetEndBeforesetStartsetStartAftersetStartBeforesurroundContentsnewParentsupportsCreateContextualFragment"RelatedApplication"RelativeOrientationSensor"RelativeOrientationSensor""RemotePlayback"cancelWatchAvailabilitywatchAvailabilityRemotePlaybackAvailabilityCallbackavailable"ReportBody"ReportingObserver"ReportingObserver"ReportingObserverCallbackreportsRequestAnimationFrameCallbackResizeObserver"ResizeObserver"ResizeObserverCallbackResizeObserverEntry"ResizeObserverEntry"contentRectRtcCertificate"RTCCertificate"RTCCertificategetFingerprintsRtcDataChannel"RTCDataChannel,DataChannel"RTCDataChannel,DataChannelbufferedAmountbufferedAmountLowThresholdmaxRetransmitTimemaxRetransmitsnegotiatedorderedreliablesendBlob'send'sendByteBuffersendStringsendTypedDataRtcDataChannelEvent"RTCDataChannelEvent"RTCDataChannelEventchannelRtcDtmfSender"RTCDTMFSender"RTCDTMFSenderRtcDtmfToneChangeEventtoneChangeEvent'tonechange'tonechangecanInsertDtmf'canInsertDTMF'canInsertDTMFinterToneGaptoneBufferinsertDtmftones'insertDTMF'insertDTMFonToneChange"RTCDTMFToneChangeEvent"RTCDTMFToneChangeEventtoneRtcIceCandidate"RTCIceCandidate,mozRTCIceCandidate"RTCIceCandidate,mozRTCIceCandidatedictionarycandidatesdpMLineIndexsdpMidRtcLegacyStatsReport"RTCLegacyStatsReport"RTCLegacyStatsReport_get_timestamp'timestamp'statRtcPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnectionrtcIceServersmediaConstraintsgetLegacyStats_getStats'getStats'getStatsgenerateCertificatekeygenAlgorithmaddStreamEvent'addstream'addstreamdataChannelEvent'datachannel'datachannelRtcPeerConnectionIceEventiceCandidateEvent'icecandidate'icecandidateiceConnectionStateChangeEvent'iceconnectionstatechange'iceconnectionstatechangenegotiationNeededEvent'negotiationneeded'negotiationneededremoveStreamEvent'removestream'removestreamsignalingStateChangeEvent'signalingstatechange'signalingstatechangeRtcTrackEventtrackEvent'track'iceConnectionStateiceGatheringStatelocalDescriptionremoteDescriptionsignalingStateaddIceCandidatefailureCallback_addStream_1'addStream'_addStream_2RtcRtpSenderstreamscreateAnswercreateDtmfSender'createDTMFSender'createDTMFSendercreateDataChanneldataChannelDict_createDataChannel_1'createDataChannel'_createDataChannel_2createOffergetLocalStreamsgetReceiversRtcRtpReceivergetRemoteStreamsgetSendersRtcStatsReportremoveStreamsendersetConfiguration_setConfiguration_1'setConfiguration'setLocalDescriptionsetRemoteDescriptiononAddStreamonDataChannelonIceCandidateonIceConnectionStateChangeonNegotiationNeededonRemoveStreamonSignalingStateChangeonTrack"RTCPeerConnectionIceEvent"RTCPeerConnectionIceEventRtcRtpContributingSource"RTCRtpContributingSource"RTCRtpContributingSource"RTCRtpReceiver"RTCRtpReceivergetContributingSources"RTCRtpSender"RTCRtpSender"RTCSessionDescription,mozRTCSessionDescription"RTCSessionDescription,mozRTCSessionDescription"RTCStatsReport"RTCStatsReport"RTCStatsResponse"RTCStatsResponse"RTCTrackEvent"RTCTrackEventScreen"Screen"_availHeight'availHeight'availHeight_availLeft'availLeft'availLeft_availTop'availTop'availTop_availWidth'availWidth'availWidthcolorDepthkeepAwakeScreenOrientationpixelDepth"ScreenOrientation"lockunlock"HTMLScriptElement"HTMLScriptElementdefernoModule"ScrollState"scrollStateInitdeltaGranularitydeltaXdeltaYfromUserInputinInertialPhaseisBeginningisDirectManipulationisEndingvelocityXvelocityYconsumeDeltadistributeToScrollChainDescendantscrollStateScrollTimeline"ScrollTimeline"scrollSourcetimeRange"SecurityPolicyViolationEvent"blockedUri'blockedURI'blockedURIcolumnNumberdispositiondocumentUri'documentURI'documentURIeffectiveDirectiveoriginalPolicysamplestatusCodeviolatedDirectiveSelectElement"HTMLSelectElement"HTMLSelectElementselectedIndexselectedOptions"Selection"anchorNodeanchorOffsetbaseNodebaseOffsetextentNodeextentOffsetfocusNodefocusOffsetisCollapsedrangeCountaddRangecollapseToEndcollapseToStartcontainsNodeallowPartialContainmentdeleteFromDocumentextendgetRangeAtaltergranularityremoveAllRangesselectAllChildrensetBaseAndExtent"Sensor"activatedhasReadingSensorErrorEvent"SensorErrorEvent"ServiceWorker"ServiceWorker"scriptUrl'scriptURL'scriptURL"ServiceWorkerContainer"ServiceWorkerRegistrationgetRegistrationdocumentURLgetRegistrationsServiceWorkerGlobalScope"ServiceWorkerGlobalScope"activateEvent'activate'activatefetchEvent'fetch'foreignfetchEvent'foreignfetch'foreignfetchinstallEvent'install'installclientsregistrationskipWaitingonActivateonFetchonForeignfetchonInstall"ServiceWorkerRegistration"backgroundFetchinstallingnavigationPreloadpaymentManagerpushManagerSyncManagergetNotificationsshowNotificationunregisterShadowElement"HTMLShadowElement"HTMLShadowElement"ShadowRoot"delegatesFocusolderShadowRoot_shadowRootDeprecationReported_shadowRootDeprecationReportresetStyleInheritanceapplyAuthorStylesSharedArrayBuffer"SharedArrayBuffer"SharedWorker"SharedWorker"SharedWorkerGlobalScope"SharedWorkerGlobalScope"connectEventonConnect"HTMLSlotElement"HTMLSlotElementassignedNodes_assignedNodes_1'assignedNodes'_assignedNodes_2"SourceBuffer"appendWindowEndappendWindowStarttimestampOffsettrackDefaultsTrackDefaultListupdatingappendBufferappendTypedData'appendBuffer'"SourceBufferList"SourceElement"HTMLSourceElement"HTMLSourceElementSpanElement"HTMLSpanElement"HTMLSpanElementSpeechGrammar"SpeechGrammar"SpeechGrammarList"SpeechGrammarList"addFromStringaddFromUriSpeechRecognition"SpeechRecognition"audioEndEvent'audioend'audioendaudioStartEvent'audiostart'audiostartendEvent'end'SpeechRecognitionErrorSpeechRecognitionEventnoMatchEvent'nomatch'nomatchresultEventsoundEndEvent'soundend'soundendsoundStartEvent'soundstart'soundstartspeechEndEvent'speechend'speechendspeechStartEvent'speechstart'speechstartstartEventaudioTrackcontinuousgrammarsinterimResultsmaxAlternativesonAudioEndonAudioStartonEndonNoMatchonResultonSoundEndonSoundStartonSpeechEndonSpeechStartonStartSpeechRecognitionAlternative"SpeechRecognitionAlternative"confidencetranscript"SpeechRecognitionError"initDict"SpeechRecognitionEvent"emmainterpretationresultIndexresultsSpeechRecognitionResult'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList'_SpeechRecognitionResultList"SpeechRecognitionResult"isFinalSpeechSynthesis"SpeechSynthesis"getVoicesSpeechSynthesisVoicependingspeaking_getVoices'getVoices'SpeechSynthesisUtteranceutteranceSpeechSynthesisEvent"SpeechSynthesisEvent"charIndex"SpeechSynthesisUtterance"boundaryEvent'boundary'boundarymarkEvent'mark'resumeEvent'resume'pitchratevoiceonBoundaryonMark"SpeechSynthesisVoice"'default'defaultlocalServicevoiceUri'voiceURI'voiceURIStaticRange"StaticRange"Storage"Storage"'length''getItem'_key'key'_removeItem'removeItem'_setItem'setItem'setItem"StorageEvent"storageArea_initStorageEventoldValueArgnewValueArgurlArgstorageAreaArg'initStorageEvent'initStorageEvent"StorageManager"estimatepersistgrantedQuotaInBytescurrentUsageInBytescurrentQuotaInBytes"HTMLStyleElement"HTMLStyleElementStyleMedia"StyleMedia"matchMediummediaqueryStylePropertyMapReadonly"StylePropertyMap""StylePropertyMapReadonly"getProperties"StyleSheet"ownerNodeSyncEvent"SyncEvent"lastChance"SyncManager"getTagsTableCaptionElement"HTMLTableCaptionElement"HTMLTableCaptionElementTableCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElementcellIndexheadersTableColElement"HTMLTableColElement"HTMLTableColElementTableElement"HTMLTableElement"HTMLTableElementtBodiesTableSectionElementTableRowElementaddRowcreateCaptioncreateTBodycreateTFootcreateTHeadinsertRow_createTBody_nativeCreateTBody'createTBody'caption_rows'rows'_tBodies'tBodies'tFoottHead_createCaption'createCaption'_createTFoot'createTFoot'_createTHead'createTHead'deleteCaptiondeleteRowdeleteTFootdeleteTHead_insertRow'insertRow'"HTMLTableRowElement"HTMLTableRowElementcellsaddCellinsertCell_cells'cells'sectionRowIndexdeleteCell_insertCell'insertCell'"HTMLTableSectionElement"HTMLTableSectionElement"TaskAttributionTiming"containerIdcontainerNamecontainerSrccontainerTypeTemplateElement"HTMLTemplateElement"HTMLTemplateElement"Text"wholeTextsplitTextTextAreaElement"HTMLTextAreaElement"HTMLTextAreaElementcolswrapTextDetector"TextDetector"TextEvent"TextEvent"_initTextEvent'initTextEvent'initTextEvent"TextMetrics"actualBoundingBoxAscentactualBoundingBoxDescentactualBoundingBoxLeftactualBoundingBoxRightalphabeticBaselineemHeightAscentemHeightDescentfontBoundingBoxAscentfontBoundingBoxDescenthangingBaselineideographicBaseline"TextTrack"cueChangeEvent'cuechange'cuechangeactiveCuesTextTrackCueListcuesaddCueTextTrackCuecueremoveCueonCueChange"TextTrackCue"enterEvent'enter'enterexitEvent'exit'exitendTimepauseOnExitonEnter"TextTrackCueList"getCueById"TextTrackList"TrackEventTimeElement"HTMLTimeElement"HTMLTimeElement"TimeRanges"TimeoutHandler"HTMLTitleElement"HTMLTitleElement"Touch"_radiusX'radiusX'_radiusY'radiusY''Element|Document'Element|Document__clientX__clientY__screenX__screenY__pageX__pageY__radiusX__radiusY"TouchEvent"changedTouchestargetTouches"TouchList"TrackDefault"TrackDefault"kindsbyteStreamTrackID"TrackDefaultList"TrackElement"HTMLTrackElement"HTMLTrackElementERRORLOADEDsrclang"TrackEvent""TransitionEvent,WebKitTransitionEvent"TransitionEvent,WebKitTransitionEvent"TreeWalker"currentNodeTrustedHtml"TrustedHTML"TrustedHTMLunsafelyCreateTrustedScriptUrl"TrustedScriptURL"TrustedScriptURL"TrustedURL"TrustedURL"UIEvent"sourceCapabilities_get_view'view'_which'which'_initUIEvent'initUIEvent'initUIEventUListElement"HTMLUListElement"HTMLUListElementUnderlyingSourceBase"UnderlyingSourceBase"notifyLockAcquirednotifyLockReleasedpullUnknownElement"HTMLUnknownElement"HTMLUnknownElementUrl"URL"URLcreateObjectUrlblob_OR_source_OR_streamcreateObjectUrlFromSourcecreateObjectUrlFromStreamcreateObjectUrlFromBlobrevokeObjectUrlsearchParamsUrlSearchParams"URLSearchParams"URLSearchParamsUrlUtilsReadOnly"VR"getDevicesVRCoordinateSystem"VRCoordinateSystem"getTransformToVRDevice"VRDevice"deviceNameisExternalrequestSessionsupportsSessionVRDeviceEvent"VRDeviceEvent"deviceVRDisplay"VRDisplay"capabilitiesVRDisplayCapabilitiesdepthFardepthNeardisplayNameisPresentingstageParametersVRStageParameterscancelAnimationFrameexitPresentgetEyeParametersVREyeParameterswhichEyegetFrameDataVRFrameDataframeDatagetLayersrequestAnimationFramerequestPresentlayerssubmitFrame"VRDisplayCapabilities"canPresenthasExternalDisplaymaxLayersVRDisplayEvent"VRDisplayEvent""VREyeParameters"renderHeightrenderWidth"VRFrameData"leftProjectionMatrixleftViewMatrixVRPoserightProjectionMatrixrightViewMatrixVRFrameOfReference"VRFrameOfReference"VRStageBoundsemulatedHeight"VRPose"VRSession"VRSession"requestFrameOfReferenceVRSessionEvent"VRSessionEvent"session"VRStageBounds"geometryVRStageBoundsPoint"VRStageBoundsPoint""VRStageParameters"sittingToStandingTransformsizeXsizeZ"ValidityState"badInputcustomErrorpatternMismatchrangeOverflowrangeUnderflowstepMismatchtooLongtooShorttypeMismatchvalidvalueMissing"HTMLVideoElement"HTMLVideoElementpostervideoHeightvideoWidthdecodedFrameCount'webkitDecodedFrameCount'webkitDecodedFrameCountdroppedFrameCount'webkitDroppedFrameCount'webkitDroppedFrameCountgetVideoPlaybackQualityVideoPlaybackQualityenterFullscreen'webkitEnterFullscreen'webkitEnterFullscreen"VideoPlaybackQuality"corruptedVideoFramescreationTimedroppedVideoFramestotalVideoFramesVideoTrack"VideoTrack""VideoTrackList"VisualViewport"VisualViewport"pageLeftpageTopVttCue"VTTCue"VTTCue'num|String'num|StringVttRegionsnapToLinesverticalgetCueAsHtml'getCueAsHTML'getCueAsHTML"VTTRegion"VTTRegionregionAnchorXregionAnchorYviewportAnchorXviewportAnchorYWebSocket"WebSocket"protocolsCLOSINGextensions"WheelEvent"deltaZdeltaModeDOM_DELTA_LINEDOM_DELTA_PAGEDOM_DELTA_PIXEL_deltaX'deltaX'_deltaY'deltaY'_wheelDelta_wheelDeltaX_hasInitMouseScrollEvent_initMouseScrollEventaxis'initMouseScrollEvent'initMouseScrollEvent_hasInitWheelEvent_initWheelEventmodifiersList'initWheelEvent'initWheelEvent_WindowTimersWindowBase64"Window,DOMWindow"Window,DOMWindowanimationFrame_open2_open3_location_requestAnimationFrame'requestAnimationFrame'_cancelAnimationFrame'cancelAnimationFrame'_ensureRequestAnimationFrameindexedDB'23.0'23.0'15.0'15.0'10.0'10.0consoleConsolerequestFileSystempersistentsupportsPointConversionscontentLoadedEvent'DOMContentLoaded'DOMContentLoadeddeviceMotionEvent'devicemotion'devicemotiondeviceOrientationEvent'deviceorientation'deviceorientationpageHideEvent'pagehide'pagehidepageShowEvent'pageshow'pageshowanimationEndEvent'webkitAnimationEnd'webkitAnimationEndanimationIterationEvent'webkitAnimationIteration'webkitAnimationIterationanimationStartEvent'webkitAnimationStart'webkitAnimationStartanimationWorkletapplicationCacheaudioWorkletcachescookieStorecryptocustomElementsdefaultStatusdefaultstatusexternalhistoryinnerHeightinnerWidthisSecureContextlocalStoragelocationbarmenubarnavigatoroffscreenBufferingopener_get_opener'opener'outerHeightouterWidth_pageXOffset'pageXOffset'pageXOffset_pageYOffset'pageYOffset'pageYOffset_get_parent'parent'performancescreenLeftscreenTopscrollbars_get_self'self'sessionStoragespeechSynthesisstatusbarstyleMediatoolbar_get_topvisualViewport'window'index_OR_name__getter___1'__getter__'__getter___2alertcancelIdleCallbackconfirmfindbackwardswholeWordsearchInFramesshowDialog_getComputedStyleeltpseudoElt'getComputedStyle'getComputedStyleMapgetMatchedCssRules'getMatchedCSSRules'getMatchedCSSRulesmatchMediamoveBy_openDatabaseestimatedSizecreationCallback'openDatabase'openDatabase'SqlDatabase'targetOriginrequestIdleCallback_requestIdleCallback_1'requestIdleCallback'_requestIdleCallback_2resizeByresizeToscrollOptions_scroll_4_scroll_5_scrollBy_4_scrollBy_5_scrollTo_4_scrollTo_5__requestFileSystem_requestFileSystem_resolveLocalFileSystemUrlresolveLocalFileSystemUrlatobbtoa_setInterval_String'setInterval'setInterval_setTimeout_String'setTimeout'setTimeout_clearInterval'clearInterval'clearInterval_clearTimeout'clearTimeout'clearTimeout_setInterval_setTimeoutonContentLoaded'Window.ondblclick'Window.ondblclickonDeviceMotiononDeviceOrientationonPageHideonPageShowonAnimationEndonAnimationIterationonAnimationStartbeforeUnloadEvent_BeforeUnloadEventStreamProvider'beforeunload'beforeunloadonBeforeUnloadscrollXscrollY_WrappedEvent_BeforeUnloadEvent_returnValue_eventTypeforTargetgetEventTypeforElement_forElementList"WindowClient"focusednavigateWorker"Worker""WorkerGlobalScope"_WorkerLocation_WorkerNavigatorWorkerPerformanceimportScriptsurls"WorkerPerformance"WorkletAnimation"WorkletAnimation"animatorNameeffectstimelines"WorkletGlobalScope"XPathEvaluator"XPathEvaluator"createExpressionXPathExpressionXPathNSResolverresolvercreateNSResolvernodeResolverevaluateXPathResultcontextNodeinResult"XPathExpression""XPathNSResolver"lookupNamespaceUri'lookupNamespaceURI'lookupNamespaceURI"XPathResult"ANY_TYPEANY_UNORDERED_NODE_TYPEBOOLEAN_TYPEFIRST_ORDERED_NODE_TYPENUMBER_TYPEORDERED_NODE_ITERATOR_TYPEORDERED_NODE_SNAPSHOT_TYPESTRING_TYPEUNORDERED_NODE_ITERATOR_TYPEUNORDERED_NODE_SNAPSHOT_TYPEbooleanValueinvalidIteratorStatenumberValueresultTypesingleNodeValuesnapshotLengthstringValueiterateNextsnapshotItem"XMLDocument"XMLDocumentXmlSerializer"XMLSerializer"XMLSerializerserializeToStringXsltProcessor"XSLTProcessor"XSLTProcessorclearParametersimportStylesheetremoveParametersetParametertransformToDocumenttransformToFragment_Attr"Attr"Attr_Bluetooth"Bluetooth"Bluetooth_BluetoothCharacteristicProperties"BluetoothCharacteristicProperties"BluetoothCharacteristicProperties_BluetoothDevice"BluetoothDevice"BluetoothDevice"BluetoothRemoteGATTCharacteristic"BluetoothRemoteGATTCharacteristic_BluetoothRemoteGATTServer"BluetoothRemoteGATTServer"BluetoothRemoteGATTServer_BluetoothRemoteGATTService"BluetoothRemoteGATTService"BluetoothRemoteGATTService_BluetoothUUID"BluetoothUUID"BluetoothUUID"BudgetService"BudgetServicegetBudgetgetCostoperationreserve_Cache"Cache"Cache"Clipboard"ClipboardreadreadTextwriteText"CSSRuleList"CSSRuleList"DOMFileSystemSync"DOMFileSystemSync_DirectoryEntrySync"DirectoryEntrySync"DirectoryEntrySync_DirectoryReaderSync"DirectoryReaderSync"DirectoryReaderSync"DocumentType"DocumentType"ClientRect,DOMRect"ClientRect,DOMRect_JenkinsSmiHash"EntrySync"EntrySync_FileEntrySync"FileEntrySync"FileEntrySync_FileReaderSync"FileReaderSync"FileReaderSync_FileWriterSync"FileWriterSync"FileWriterSync"GamepadList"GamepadList_HTMLAllCollection"HTMLAllCollection"HTMLAllCollection_HTMLDirectoryElement"HTMLDirectoryElement"HTMLDirectoryElement_HTMLFontElement"HTMLFontElement"HTMLFontElement_HTMLFrameElement"HTMLFrameElement"HTMLFrameElement_HTMLFrameSetElement"HTMLFrameSetElement"HTMLFrameSetElement_HTMLMarqueeElement"HTMLMarqueeElement"HTMLMarqueeElement_Mojo"Mojo"Mojo_MojoHandle"MojoHandle"MojoHandle_MojoInterfaceInterceptor"MojoInterfaceInterceptor"MojoInterfaceInterceptorinterfaceName_MojoInterfaceRequestEvent"MojoInterfaceRequestEvent"MojoInterfaceRequestEvent_MojoWatcher"MojoWatcher"MojoWatcher"NFC"NFC"NamedNodeMap,MozNamedAttrMap"NamedNodeMap,MozNamedAttrMapgetNamedItemgetNamedItemNSremoveNamedItemremoveNamedItemNSsetNamedItemattrsetNamedItemNS_PagePopupController"PagePopupController"PagePopupController_Report"Report"Report"Request"requestInitDictredirect_ResourceProgressEvent"ResourceProgressEvent"ResourceProgressEvent"Response"Response"SpeechRecognitionResultList"SpeechRecognitionResultList"StyleSheetList"StyleSheetList"SubtleCrypto"SubtleCrypto_USB"USB"USB_USBAlternateInterface"USBAlternateInterface"USBAlternateInterface_USBInterfacedeviceInterfacealternateSetting_USBConfiguration"USBConfiguration"USBConfiguration_USBDeviceconfigurationValue_USBConnectionEvent"USBConnectionEvent"USBConnectionEvent"USBDevice"USBDevice_USBEndpoint"USBEndpoint"USBEndpointalternateendpointNumber_USBInTransferResult"USBInTransferResult"USBInTransferResult"USBInterface"USBInterfaceinterfaceNumber_USBIsochronousInTransferPacket"USBIsochronousInTransferPacket"USBIsochronousInTransferPacket_USBIsochronousInTransferResult"USBIsochronousInTransferResult"USBIsochronousInTransferResultpackets_USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacketbytesWritten_USBIsochronousOutTransferResult"USBIsochronousOutTransferResult"USBIsochronousOutTransferResult_USBOutTransferResult"USBOutTransferResult"USBOutTransferResult"WorkerLocation"WorkerLocation"WorkerNavigator"WorkerNavigator"Worklet"Worklet_AttributeMap_matches_ElementAttributeMap_NamespacedAttributeMap_namespace_DataAttributeMap_attr_strip_toCamelCasehyphenedNamestartUppercase_toHyphenedNameword_ContentCssRectnewHeightnewWidth_ContentCssListRect_elementListelementList_PaddingCssRect_BorderCssRect_MarginCssRect_addOrSubtractToBoxModelaugmentingMeasurement_HEIGHT_WIDTH_CONTENT_PADDING_MARGIN_MultiElementCssClassSet_sets_ElementCssClassSet_contains_toggle_toggleDefault_toggleOnOff_removeAlldoRemove_classListOf_classListLength_classListContains_classListContainsBeforeAddOrRemove_classListAdd_classListRemove_classListToggle1_classListToggle2Dimension_unitcssValue_EventStream_useCapture_matchesWithAncestors_ElementEventStreamImpl_ElementListEventStreamImpl_targetList_EventListener_EventStreamSubscription_pauseCount_canceled_tryResume_unlistenCustomStream_CustomEventStreamImpl_streamControllerKeyEvent_CustomKeyEventStreamImpl_StreamPool_subscriptions_eventTypeGetter_Html5NodeValidator_allowedElements_standardAttributes'*::class'*::class'*::dir'*::dir'*::draggable'*::draggable'*::hidden'*::hidden'*::id'*::id'*::inert'*::inert'*::itemprop'*::itemprop'*::itemref'*::itemref'*::itemscope'*::itemscope'*::lang'*::lang'*::spellcheck'*::spellcheck'*::title'*::title'*::translate'*::translate'A::accesskey'A::accesskey'A::coords'A::coords'A::hreflang'A::hreflang'A::name'A::name'A::shape'A::shape'A::tabindex'A::tabindex'A::target'A::target'A::type'A::type'AREA::accesskey'AREA::accesskey'AREA::alt'AREA::alt'AREA::coords'AREA::coords'AREA::nohref'AREA::nohref'AREA::shape'AREA::shape'AREA::tabindex'AREA::tabindex'AREA::target'AREA::target'AUDIO::controls'AUDIO::controls'AUDIO::loop'AUDIO::loop'AUDIO::mediagroup'AUDIO::mediagroup'AUDIO::muted'AUDIO::muted'AUDIO::preload'AUDIO::preload'BDO::dir'BDO::dir'BODY::alink'BODY::alink'BODY::bgcolor'BODY::bgcolor'BODY::link'BODY::link'BODY::text'BODY::text'BODY::vlink'BODY::vlink'BR::clear'BR::clear'BUTTON::accesskey'BUTTON::accesskey'BUTTON::disabled'BUTTON::disabled'BUTTON::name'BUTTON::name'BUTTON::tabindex'BUTTON::tabindex'BUTTON::type'BUTTON::type'BUTTON::value'BUTTON::value'CANVAS::height'CANVAS::height'CANVAS::width'CANVAS::width'CAPTION::align'CAPTION::align'COL::align'COL::align'COL::char'COL::char'COL::charoff'COL::charoff'COL::span'COL::span'COL::valign'COL::valign'COL::width'COL::width'COLGROUP::align'COLGROUP::align'COLGROUP::char'COLGROUP::char'COLGROUP::charoff'COLGROUP::charoff'COLGROUP::span'COLGROUP::span'COLGROUP::valign'COLGROUP::valign'COLGROUP::width'COLGROUP::width'COMMAND::checked'COMMAND::checked'COMMAND::command'COMMAND::command'COMMAND::disabled'COMMAND::disabled'COMMAND::label'COMMAND::label'COMMAND::radiogroup'COMMAND::radiogroup'COMMAND::type'COMMAND::type'DATA::value'DATA::value'DEL::datetime'DEL::datetime'DETAILS::open'DETAILS::open'DIR::compact'DIR::compact'DIV::align'DIV::align'DL::compact'DL::compact'FIELDSET::disabled'FIELDSET::disabled'FONT::color'FONT::color'FONT::face'FONT::face'FONT::size'FONT::size'FORM::accept'FORM::accept'FORM::autocomplete'FORM::autocomplete'FORM::enctype'FORM::enctype'FORM::method'FORM::method'FORM::name'FORM::name'FORM::novalidate'FORM::novalidate'FORM::target'FORM::target'FRAME::name'FRAME::name'H1::align'H1::align'H2::align'H2::align'H3::align'H3::align'H4::align'H4::align'H5::align'H5::align'H6::align'H6::align'HR::align'HR::align'HR::noshade'HR::noshade'HR::size'HR::size'HR::width'HR::width'HTML::version'HTML::version'IFRAME::align'IFRAME::align'IFRAME::frameborder'IFRAME::frameborder'IFRAME::height'IFRAME::height'IFRAME::marginheight'IFRAME::marginheight'IFRAME::marginwidth'IFRAME::marginwidth'IFRAME::width'IFRAME::width'IMG::align'IMG::align'IMG::alt'IMG::alt'IMG::border'IMG::border'IMG::height'IMG::height'IMG::hspace'IMG::hspace'IMG::ismap'IMG::ismap'IMG::name'IMG::name'IMG::usemap'IMG::usemap'IMG::vspace'IMG::vspace'IMG::width'IMG::width'INPUT::accept'INPUT::accept'INPUT::accesskey'INPUT::accesskey'INPUT::align'INPUT::align'INPUT::alt'INPUT::alt'INPUT::autocomplete'INPUT::autocomplete'INPUT::autofocus'INPUT::autofocus'INPUT::checked'INPUT::checked'INPUT::disabled'INPUT::disabled'INPUT::inputmode'INPUT::inputmode'INPUT::ismap'INPUT::ismap'INPUT::list'INPUT::list'INPUT::max'INPUT::max'INPUT::maxlength'INPUT::maxlength'INPUT::min'INPUT::min'INPUT::multiple'INPUT::multiple'INPUT::name'INPUT::name'INPUT::placeholder'INPUT::placeholder'INPUT::readonly'INPUT::readonly'INPUT::required'INPUT::required'INPUT::size'INPUT::size'INPUT::step'INPUT::step'INPUT::tabindex'INPUT::tabindex'INPUT::type'INPUT::type'INPUT::usemap'INPUT::usemap'INPUT::value'INPUT::value'INS::datetime'INS::datetime'KEYGEN::disabled'KEYGEN::disabled'KEYGEN::keytype'KEYGEN::keytype'KEYGEN::name'KEYGEN::name'LABEL::accesskey'LABEL::accesskey'LABEL::for'LABEL::for'LEGEND::accesskey'LEGEND::accesskey'LEGEND::align'LEGEND::align'LI::type'LI::type'LI::value'LI::value'LINK::sizes'LINK::sizes'MAP::name'MAP::name'MENU::compact'MENU::compact'MENU::label'MENU::label'MENU::type'MENU::type'METER::high'METER::high'METER::low'METER::low'METER::max'METER::max'METER::min'METER::min'METER::value'METER::value'OBJECT::typemustmatch'OBJECT::typemustmatch'OL::compact'OL::compact'OL::reversed'OL::reversed'OL::start'OL::start'OL::type'OL::type'OPTGROUP::disabled'OPTGROUP::disabled'OPTGROUP::label'OPTGROUP::label'OPTION::disabled'OPTION::disabled'OPTION::label'OPTION::label'OPTION::selected'OPTION::selected'OPTION::value'OPTION::value'OUTPUT::for'OUTPUT::for'OUTPUT::name'OUTPUT::name'P::align'P::align'PRE::width'PRE::width'PROGRESS::max'PROGRESS::max'PROGRESS::min'PROGRESS::min'PROGRESS::value'PROGRESS::value'SELECT::autocomplete'SELECT::autocomplete'SELECT::disabled'SELECT::disabled'SELECT::multiple'SELECT::multiple'SELECT::name'SELECT::name'SELECT::required'SELECT::required'SELECT::size'SELECT::size'SELECT::tabindex'SELECT::tabindex'SOURCE::type'SOURCE::type'TABLE::align'TABLE::align'TABLE::bgcolor'TABLE::bgcolor'TABLE::border'TABLE::border'TABLE::cellpadding'TABLE::cellpadding'TABLE::cellspacing'TABLE::cellspacing'TABLE::frame'TABLE::frame'TABLE::rules'TABLE::rules'TABLE::summary'TABLE::summary'TABLE::width'TABLE::width'TBODY::align'TBODY::align'TBODY::char'TBODY::char'TBODY::charoff'TBODY::charoff'TBODY::valign'TBODY::valign'TD::abbr'TD::abbr'TD::align'TD::align'TD::axis'TD::axis'TD::bgcolor'TD::bgcolor'TD::char'TD::char'TD::charoff'TD::charoff'TD::colspan'TD::colspan'TD::headers'TD::headers'TD::height'TD::height'TD::nowrap'TD::nowrap'TD::rowspan'TD::rowspan'TD::scope'TD::scope'TD::valign'TD::valign'TD::width'TD::width'TEXTAREA::accesskey'TEXTAREA::accesskey'TEXTAREA::autocomplete'TEXTAREA::autocomplete'TEXTAREA::cols'TEXTAREA::cols'TEXTAREA::disabled'TEXTAREA::disabled'TEXTAREA::inputmode'TEXTAREA::inputmode'TEXTAREA::name'TEXTAREA::name'TEXTAREA::placeholder'TEXTAREA::placeholder'TEXTAREA::readonly'TEXTAREA::readonly'TEXTAREA::required'TEXTAREA::required'TEXTAREA::rows'TEXTAREA::rows'TEXTAREA::tabindex'TEXTAREA::tabindex'TEXTAREA::wrap'TEXTAREA::wrap'TFOOT::align'TFOOT::align'TFOOT::char'TFOOT::char'TFOOT::charoff'TFOOT::charoff'TFOOT::valign'TFOOT::valign'TH::abbr'TH::abbr'TH::align'TH::align'TH::axis'TH::axis'TH::bgcolor'TH::bgcolor'TH::char'TH::char'TH::charoff'TH::charoff'TH::colspan'TH::colspan'TH::headers'TH::headers'TH::height'TH::height'TH::nowrap'TH::nowrap'TH::rowspan'TH::rowspan'TH::scope'TH::scope'TH::valign'TH::valign'TH::width'TH::width'THEAD::align'THEAD::align'THEAD::char'THEAD::char'THEAD::charoff'THEAD::charoff'THEAD::valign'THEAD::valign'TR::align'TR::align'TR::bgcolor'TR::bgcolor'TR::char'TR::char'TR::charoff'TR::charoff'TR::valign'TR::valign'TRACK::default'TRACK::default'TRACK::kind'TRACK::kind'TRACK::label'TRACK::label'TRACK::srclang'TRACK::srclang'UL::compact'UL::compact'UL::type'UL::type'VIDEO::controls'VIDEO::controls'VIDEO::height'VIDEO::height'VIDEO::loop'VIDEO::loop'VIDEO::mediagroup'VIDEO::mediagroup'VIDEO::muted'VIDEO::muted'VIDEO::preload'VIDEO::preload'VIDEO::width'VIDEO::width_uriAttributes'A::href'A::href'AREA::href'AREA::href'BLOCKQUOTE::cite'BLOCKQUOTE::cite'BODY::background'BODY::background'COMMAND::icon'COMMAND::icon'DEL::cite'DEL::cite'FORM::action'FORM::action'IMG::src'IMG::src'INPUT::src'INPUT::src'INS::cite'INS::cite'Q::cite'Q::cite'VIDEO::poster'VIDEO::posterUriPolicyuriPolicy_attributeValidatorsallowsElementallowsAttribute_standardAttributeValidator_uriAttributeValidatorKeyCodeWIN_KEY_FF_LINUXMAC_ENTERBACKSPACETABNUM_CENTERENTERSHIFTCTRLALTPAUSECAPS_LOCKESCSPACEPAGE_UPPAGE_DOWNENDHOMELEFTUPRIGHTDOWNNUM_NORTH_EASTNUM_SOUTH_EASTNUM_SOUTH_WESTNUM_NORTH_WESTNUM_WESTNUM_NORTHNUM_EASTNUM_SOUTHPRINT_SCREENINSERTNUM_INSERTDELETENUM_DELETETWOTHREEFOURFIVESIXSEVENEIGHTNINEFF_SEMICOLONFF_EQUALSQUESTION_MARKBHJOPWYZWIN_KEY_LEFTWIN_KEY_RIGHTCONTEXT_MENUNUM_ZERONUM_ONENUM_TWONUM_THREENUM_FOURNUM_FIVENUM_SIXNUM_SEVENNUM_EIGHTNUM_NINENUM_MULTIPLYNUM_PLUSNUM_MINUSNUM_PERIODNUM_DIVISIONF1F2F3F4F5F6F7F8F9F10F11F12NUMLOCKSCROLL_LOCKFIRST_MEDIA_KEYLAST_MEDIA_KEYSEMICOLONDASHEQUALSCOMMAPERIODSLASHAPOSTROPHETILDESINGLE_QUOTEOPEN_SQUARE_BRACKETBACKSLASHCLOSE_SQUARE_BRACKETWIN_KEYMAC_FF_METAWIN_IMEisCharacterKey_convertKeyCodeToKeyNameKeyLocationSTANDARDNUMPADMOBILEJOYSTICK_KeyNameACCEPT"Accept"AcceptADD"Add"AddAGAIN"Again"AgainALL_CANDIDATES"AllCandidates"AllCandidatesALPHANUMERIC"Alphanumeric"Alphanumeric"Alt"AltALT_GRAPH"AltGraph"AltGraphAPPS"Apps"AppsATTN"Attn"AttnBROWSER_BACK"BrowserBack"BrowserBackBROWSER_FAVORTIES"BrowserFavorites"BrowserFavoritesBROWSER_FORWARD"BrowserForward"BrowserForwardBROWSER_NAME"BrowserHome"BrowserHomeBROWSER_REFRESH"BrowserRefresh"BrowserRefreshBROWSER_SEARCH"BrowserSearch"BrowserSearchBROWSER_STOP"BrowserStop"BrowserStopCAMERA"Camera"Camera"CapsLock"CapsLockCLEAR"Clear"ClearCODE_INPUT"CodeInput"CodeInputCOMPOSE"Compose"ComposeCONTROL"Control"ControlCRSEL"Crsel"CrselCONVERT"Convert"ConvertCOPY"Copy"CopyCUT"Cut"CutDECIMAL"Decimal"DecimalDIVIDE"Divide"Divide"Down"DownDOWN_LEFT"DownLeft"DownLeftDOWN_RIGHT"DownRight"DownRightEJECT"Eject"Eject"End"End"Enter"EnterERASE_EOF"EraseEof"EraseEofEXECUTE"Execute"ExecuteEXSEL"Exsel"ExselFN"Fn"Fn"F1""F2""F3""F4""F5""F6""F7""F8""F9""F10""F11""F12"F13"F13"F14"F14"F15"F15"F16"F16"F17"F17"F18"F18"F19"F19"F20"F20"F21"F21"F22"F22"F23"F23"F24"F24"FINAL_MODE"FinalMode"FinalModeFIND"Find"FindFULL_WIDTH"FullWidth"FullWidthHALF_WIDTH"HalfWidth"HalfWidthHANGUL_MODE"HangulMode"HangulModeHANJA_MODE"HanjaMode"HanjaModeHELP"Help"HelpHIRAGANA"Hiragana"Hiragana"Home"Home"Insert"InsertJAPANESE_HIRAGANA"JapaneseHiragana"JapaneseHiraganaJAPANESE_KATAKANA"JapaneseKatakana"JapaneseKatakanaJAPANESE_ROMAJI"JapaneseRomaji"JapaneseRomajiJUNJA_MODE"JunjaMode"JunjaModeKANA_MODE"KanaMode"KanaModeKANJI_MODE"KanjiMode"KanjiModeKATAKANA"Katakana"KatakanaLAUNCH_APPLICATION_1"LaunchApplication1"LaunchApplication1LAUNCH_APPLICATION_2"LaunchApplication2"LaunchApplication2LAUNCH_MAIL"LaunchMail"LaunchMail"Left"LeftMENU"Menu"Menu"Meta"MetaMEDIA_NEXT_TRACK"MediaNextTrack"MediaNextTrackMEDIA_PAUSE_PLAY"MediaPlayPause"MediaPlayPauseMEDIA_PREVIOUS_TRACK"MediaPreviousTrack"MediaPreviousTrackMEDIA_STOP"MediaStop"MediaStopMODE_CHANGE"ModeChange"ModeChangeNEXT_CANDIDATE"NextCandidate"NextCandidateNON_CONVERT"Nonconvert"NonconvertNUM_LOCK"NumLock"NumLock"PageDown"PageDown"PageUp"PageUpPASTE"Paste"Paste"Pause"PausePLAY"Play"PlayPOWER"Power"PowerPREVIOUS_CANDIDATE"PreviousCandidate"PreviousCandidate"PrintScreen"PrintScreenPROCESS"Process"ProcessPROPS"Props"Props"Right"RightROMAN_CHARACTERS"RomanCharacters"RomanCharactersSCROLL"Scroll"ScrollSELECT"Select"SelectSELECT_MEDIA"SelectMedia"SelectMediaSEPARATOR"Separator"Separator"Shift"ShiftSOFT_1"Soft1"Soft1SOFT_2"Soft2"Soft2SOFT_3"Soft3"Soft3SOFT_4"Soft4"Soft4STOP"Stop"StopSUBTRACT"Subtract"SubtractSYMBOL_LOCK"SymbolLock"SymbolLock"Up"UpUP_LEFT"UpLeft"UpLeftUP_RIGHT"UpRight"UpRightUNDO"Undo"UndoVOLUME_DOWN"VolumeDown"VolumeDownVOLUMN_MUTE"VolumeMute"VolumeMuteVOLUMN_UP"VolumeUp"VolumeUpWIN"Win"WinZOOM"Zoom"Zoom"Backspace"Backspace"Tab"TabCANCEL"Cancel"Cancel"Esc"EscSPACEBAR"Spacebar"SpacebarDEL"Del"DelDEAD_GRAVE"DeadGrave"DeadGraveDEAD_EACUTE"DeadEacute"DeadEacuteDEAD_CIRCUMFLEX"DeadCircumflex"DeadCircumflexDEAD_TILDE"DeadTilde"DeadTildeDEAD_MACRON"DeadMacron"DeadMacronDEAD_BREVE"DeadBreve"DeadBreveDEAD_ABOVE_DOT"DeadAboveDot"DeadAboveDotDEAD_UMLAUT"DeadUmlaut"DeadUmlautDEAD_ABOVE_RING"DeadAboveRing"DeadAboveRingDEAD_DOUBLEACUTE"DeadDoubleacute"DeadDoubleacuteDEAD_CARON"DeadCaron"DeadCaronDEAD_CEDILLA"DeadCedilla"DeadCedillaDEAD_OGONEK"DeadOgonek"DeadOgonekDEAD_IOTA"DeadIota"DeadIotaDEAD_VOICED_SOUND"DeadVoicedSound"DeadVoicedSoundDEC_SEMIVOICED_SOUND"DeadSemivoicedSound"DeadSemivoicedSoundUNIDENTIFIED"Unidentified"Unidentified_KeyboardEventHandler_keyDownList_ROMAN_ALPHABET_OFFSET_EVENT_TYPE'KeyEvent'_keyIdentifier'Up''Down''Left''Right''Enter''F1''F2''F3''F4''F5''F6''F7''F8''F9''F10''F11''F12''U+007F'U+007F'Home''End''PageUp''PageDown''Insert'initializeAllEventListeners_capsLockOn_determineKeyCodeForKeypress_findCharCodeKeyDown_firesKeyPressEvent_normalizeKeyCodesprocessKeyDownprocessKeyPressprocessKeyUpKeyboardEventStream_validatorscommonallowNavigationallowImagesallowTextElementsallowInlineStylesallowHtml5allowSvgallowCustomElementuriAttributesallowTagExtensionbaseNameallowElementallowTemplating_SimpleNodeValidatorallowedElementsallowedAttributesallowedUriAttributes_CustomElementNodeValidatorallowTypeExtensionallowCustomTag_TemplatingNodeValidator_TEMPLATE_ATTRS'bind''if'if'ref''repeat''syntax'syntax_templateAttrs_SvgNodeValidatorReadyState"loading"INTERACTIVE"interactive"interactiveCOMPLETE"complete"_WrappedList_WrappedIterator_HttpRequestUtilsFixedSizeListIterator_array_VariableSizeListIterator_safe_safeConsole_isConsoleDefinedassertConditioncountResetdebugdirxmlgroupCollapsedgroupEndinfotabularDatapropertiestimeEndtimeLogtracewarnprofileprofileEndmarkTimelinewin_convertNativeToDart_Window_convertNativeToDart_EventTarget_convertDartToNative_EventTarget_convertNativeToDart_XHR_Response_callConstructor_callAttached_callDetached_callAttributeChanged_makeCallbackMethod_makeCallbackMethod3baseClassName_checkExtendsNativeClassOrTemplate_registerCustomElement_initializeCustomElement_JSElementUpgrader_interceptor_constructor_nativeTypeupgrade_DOMWindowCrossFrame_window_createSafe_LocationCrossFrame_setHref_HistoryCrossFrame_history_shadowAltKey_shadowCharCode_shadowKeyCode_realKeyCode_realCharCode_realAltKey_currentTarget_keyboardEventDispatchRecord_makeRecordcanUseDispatchEvent_convertToHexString_shadowKeyIdentifierkeyArgumentisComposedPlatformsupportsTypedDatasupportsSimdwrapped_wrapZone_wrapBinaryZonethrowssanitizeTreetrusted_TrustedHtmlTreeSanitizerallowsUri_SameOriginUriPolicy_hiddenAnchor_loc_ThrowsNodeValidatornumTreeModifications_removeNode_sanitizeUntrustedElement_sanitizeElementcorruptedattrsisAttrsanitizeNodedart.dom.htmlio'dart:developer'dart:developerHttpClientHttpProfiler'dart:_http'dart:_http"Import BytesBuilder from dart:typed_data instead"Import BytesBuilder from dart:typed_data instead'common.dart'common.dart'data_transformer.dart'data_transformer.dart'directory.dart'directory.dart'directory_impl.dart'directory_impl.dart'embedder_config.dart'embedder_config.dart'eventhandler.dart'eventhandler.dart'file.dart'file.dart'file_impl.dart'file_impl.dart'file_system_entity.dart'file_system_entity.dart'io_resource_info.dart'io_resource_info.dart'io_sink.dart'io_sink.dart'io_service.dart'io_service.dart'link.dart'link.dart'namespace_impl.dart'namespace_impl.dart'network_policy.dart'network_policy.dart'network_profiling.dart'network_profiling.dart'overrides.dart'overrides.dart'platform.dart'platform.dart'platform_impl.dart'platform_impl.dart'process.dart'process.dart'secure_server_socket.dart'secure_server_socket.dart'secure_socket.dart'secure_socket.dart'security_context.dart'security_context.dart'service_object.dart'service_object.dart'socket.dart'socket.dart'stdio.dart'stdio.dart'string_transformer.dart'string_transformer.dart'sync_socket.dart'sync_socket.dart_successResponse_illegalArgumentResponse_osErrorResponse_fileClosedResponse_errorResponseErrorType_osErrorResponseErrorCode_osErrorResponseMessage_isErrorResponse_exceptionFromResponseIOExceptionOSErrornoErrorCode_BufferAndStart_ensureFastAndSerializableByteData_isDirectIOCapableTypedList_IOCryptogetRandomBytesZLibOptionminWindowBitsMIN_WINDOW_BITS"Use minWindowBits instead"Use minWindowBits insteadmaxWindowBitsMAX_WINDOW_BITS"Use maxWindowBits instead"Use maxWindowBits insteaddefaultWindowBitsDEFAULT_WINDOW_BITS"Use defaultWindowBits instead"Use defaultWindowBits insteadminLevelMIN_LEVEL"Use minLevel instead"Use minLevel insteadmaxLevelMAX_LEVEL"Use maxLevel instead"Use maxLevel insteaddefaultLevelDEFAULT_LEVEL"Use defaultLevel instead"Use defaultLevel insteadminMemLevelMIN_MEM_LEVEL"Use minMemLevel instead"Use minMemLevel insteadmaxMemLevelMAX_MEM_LEVEL"Use maxMemLevel instead"Use maxMemLevel insteaddefaultMemLevelDEFAULT_MEM_LEVEL"Use defaultMemLevel instead"Use defaultMemLevel insteadstrategyFilteredSTRATEGY_FILTERED"Use strategyFiltered instead"Use strategyFiltered insteadstrategyHuffmanOnlySTRATEGY_HUFFMAN_ONLY"Use strategyHuffmanOnly instead"Use strategyHuffmanOnly insteadstrategyRleSTRATEGY_RLE"Use strategyRle instead"Use strategyRle insteadstrategyFixedSTRATEGY_FIXED"Use strategyFixed instead"Use strategyFixed insteadstrategyDefaultSTRATEGY_DEFAULT"Use strategyDefault instead"Use strategyDefault insteadZLibCodeczlib_defaultZLIB"Use zlib instead"Use zlib insteadgzipmemLevelstrategywindowBitsrawZLibEncoderZLibDecoderGZipCodecGZIP"Use gzip instead"Use gzip insteadRawZLibFilterdeflateFilterinflateFilterprocessed_makeZLibDeflateFilter_makeZLibInflateFilter_BufferSinkbuilder_FilterSink_ZLibEncoderSink_ZLibDecoderSink_closed_empty_validateZLibWindowBits_validateZLibeLevel_validateZLibMemLevel_validateZLibStrategyFileSystemEntityDirectoryfromRawPathrecursivecreateSyncsystemTempcreateTempcreateTempSyncresolveSymbolicLinksresolveSymbolicLinksSyncrenamenewPathrenameSyncfollowLinkslistSync_Directory_rawPathrawPath_Namespace_setCurrent_createTemp_systemTemp_exists_deleteNative_rename_fillWithDirectoryListingexistsexistsSync_deleteSync_exceptionOrErrorFromResponse_checkNotNull_AsyncDirectoryListerOpsgetPointer_AsyncDirectoryListerlistFilelistDirectorylistLinklistErrorlistDoneresponsePathresponseCompleteresponseErrorcancelednextRunning_opscloseCompleter_pointer_cleanup_EmbedderConfig_mayChdir_mayExit_maySetEchoMode_maySetLineMode_maySleep_mayInsecurelyConnectToAllDomains_setDomainPoliciesdomainNetworkPolicyJson_EventHandlerFileModeREAD"Use read instead"Use read insteadWRITE"Use write instead"Use write insteadAPPEND"Use append instead"Use append insteadwriteOnlyWRITE_ONLY"Use writeOnly instead"Use writeOnly insteadwriteOnlyAppendWRITE_ONLY_APPEND"Use writeOnlyAppend instead"Use writeOnlyAppend instead_mode"Use FileMode.read instead"Use FileMode.read instead"Use FileMode.write instead"Use FileMode.write instead"Use FileMode.append instead"Use FileMode.append instead"Use FileMode.writeOnly instead"Use FileMode.writeOnly instead"Use FileMode.writeOnlyAppend instead"Use FileMode.writeOnlyAppend insteadFileLocksharedSHARED"Use shared instead"Use shared insteadEXCLUSIVE"Use exclusive instead"Use exclusive insteadblockingSharedBLOCKING_SHARED"Use blockingShared instead"Use blockingShared insteadblockingExclusiveBLOCKING_EXCLUSIVE"Use blockingExclusive instead"Use blockingExclusive insteadcopySynclengthSynclastAccessedlastAccessedSyncsetLastAccessedsetLastAccessedSynclastModifiedSyncsetLastModifiedsetLastModifiedSyncRandomAccessFileopenSyncopenReadopenWriteIOSinkreadAsBytesreadAsBytesSyncreadAsStringreadAsStringSyncreadAsLinesreadAsLinesSyncwriteAsByteswriteAsBytesSyncwriteAsStringcontentswriteAsStringSyncreadBytereadByteSyncreadSyncreadIntoreadIntoSyncwriteByteSyncwriteFromwriteFromSyncwriteStringSyncpositionSyncsetPositionSynctruncateSyncflushSynclockSyncunlockSyncFileSystemExceptionosError_blockSize_FileStream_openedFile_closeCompleter_unsubscribed_readInProgress_atEndforStdin_closeFile_readBlock_FileStreamConsumer_openFuturefromStdiofd_File_namespacePointer_dispatchWithNamespace_createLink_linkTarget_deleteLinkNativeoldPath_renameLink_copy_lengthFromPath_lastAccessed_setLastAccessedmillis_setLastModified_openStdio_openStdioSync_tryDecodethrowIfErrormsg_RandomAccessFileOps_RandomAccessFile_connectedResourceHandler_asyncDispatched_FileResourceInfo_resourceInfo_maybePerformCleanup_maybeConnectHandlerlockUnlock_fileLockValuefl_dispatchmarkClosed_checkAvailableFileSystemEntityTypeFILE"Use file instead"Use file insteadDIRECTORY"Use directory instead"Use directory insteadlink"Use link instead"Use link instead_typeList_lookupFileStat_changedTime_modifiedTime_accessedTime_size_epoch_notFoundchangedmodifiedaccessed_statSyncstatSync_statSyncInternal_statmodeString_backslashChar_slashChar_colonCharwatchFileSystemEventeventsall_identicalpath1path2_absoluteWindowsPathPattern_isAbsolute_absolutePath_windowsDriveLetter_absoluteWindowsPath_identicalSyncidenticalSyncisWatchSupported_toUtf8Array_toNullTerminatedUtf8Array_toStringFromUtf8ArraytypeSyncisLink_isLinkRawisLinkSync_isLinkRawSyncisFileSyncisDirectorySync_getTypeNative_identicalNative_resolveSymbolicLinks_parentRegExpparentOf_getTypeSyncHelper_getTypeSync_getTypeRequest_getType_throwIfError_trimTrailingPathSeparators_ensureTrailingPathSeparatorsCREATE"Use create instead"Use create insteadMODIFY"Use modify instead"Use modify instead"Use delete instead"Use delete insteadmoveMOVE"Use move instead"Use move insteadALL"Use all instead"Use all instead_modifyAttributes_deleteSelf_isDirFileSystemCreateEventFileSystemModifyEventcontentChangedFileSystemDeleteEventFileSystemMoveEvent_FileSystemWatcher_watchisSupported_IOResourceInfo_sw_startTimefullValueMapreferenceValueMapgetNextID_ReadWriteResourceInforeadByteswriteBytesreadCountwriteCountlastReadTimelastWriteTimeaddReaddidReadaddWrite'OpenFile'OpenFileopenFilesfileOpenedfileClosedgetOpenFilesListgetOpenFilesparamsfileInfoMapgetOpenFileInfoMapByID_SpawnedProcessResourceInfo'SpawnedProcess'SpawnedProcessstartedAtstartedProcessesstoppedprocessStartedprocessStoppedgetStartedProcessesListgetStartedProcessesgetProcessInfoMapById_StreamSinkImpl_doneCompleter_controllerInstance_controllerCompleter_isBound_closeTarget_completeDoneValue_completeDoneError_IOSinkImpl_encoding_encodingMutable_IOServicefileExistsfileCreatefileDeletefileRenamefileCopyfileOpenfileResolveSymbolicLinksfileClosefilePositionfileSetPositionfileTruncatefileLengthfileLengthFromPathfileLastAccessedfileSetLastAccessedfileLastModifiedfileSetLastModifiedfileFlushfileReadBytefileWriteBytefileReadfileReadIntofileWriteFromfileCreateLinkfileDeleteLinkfileRenameLinkfileLinkTargetfileTypefileIdenticalfileStatfileLocksocketLookupsocketListInterfacessocketReverseLookupdirectoryCreatedirectoryDeletedirectoryExistsdirectoryCreateTempdirectoryListStartdirectoryListNextdirectoryListStopdirectoryRenamesslProcessFilterupdateSynctargetSync_Link_setupNamespaceisInsecureConnectionAllowed_DomainNetworkPolicy_domainMatcherallowInsecureConnectionsincludesSubDomainsmatchScorecheckConflictexistingPolicies_findBestDomainNetworkPolicy_domainPoliciesdomainPoliciesString_constructDomainPolicies_versionMajor_versionMinor_tcpSocket'tcp'tcp_udpSocket'udp'udp_NetworkProfiling_kGetHttpEnableTimelineLogging'ext.dart.io.getHttpEnableTimelineLogging'ext.dart.io.getHttpEnableTimelineLogging'Use httpEnableTimelineLogging instead'Use httpEnableTimelineLogging instead_kSetHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging_kHttpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging_kGetHttpProfileRPC'ext.dart.io.getHttpProfile'ext.dart.io.getHttpProfile_kGetHttpProfileRequestRPC'ext.dart.io.getHttpProfileRequest'ext.dart.io.getHttpProfileRequest_kClearHttpProfileRPC'ext.dart.io.clearHttpProfile'ext.dart.io.clearHttpProfile_kClearSocketProfileRPC'ext.dart.io.clearSocketProfile'ext.dart.io.clearSocketProfile_kGetSocketProfileRPC'ext.dart.io.getSocketProfile'ext.dart.io.getSocketProfile_kSocketProfilingEnabledRPC'ext.dart.io.socketProfilingEnabled'ext.dart.io.socketProfilingEnabled_kPauseSocketProfilingRPC'ext.dart.io.pauseSocketProfiling'ext.dart.io.pauseSocketProfiling'Use socketProfilingEnabled instead'Use socketProfilingEnabled instead_kStartSocketProfilingRPC'ext.dart.io.startSocketProfiling'ext.dart.io.startSocketProfiling_kGetVersionRPC'ext.dart.io.getVersion'ext.dart.io.getVersion_registerServiceExtension_serviceExtensionHandlergetVersion_success_invalidArgument_missingArgument_getHttpEnableTimelineLogging_setHttpEnableTimelineLogging_getHttpProfileRequest_socketProfilingEnabled_SocketProfile_kType'SocketProfile'SocketProfileenableSocketProfiling_enableSocketProfiling_SocketStatistic_idToSocketStatistictoJsoncollectNewSocketInternetAddressaddrcollectStatistic_SocketProfileTypesocketTypetoMap_setIfNotNull_ioOverridesToken_asyncRunZonedIOOverrides_globaloverridesgetCurrentDirectorysetCurrentDirectorygetSystemTempDirectoryfseIdenticalfseIdenticalSyncfseGetTypefseGetTypeSyncfsWatchfsWatchIsSupportedcreateLinkSocketsourceAddresssocketConnectConnectionTasksocketStartConnectServerSocketbacklogv6OnlyserverSocketBindrunWithIOOverrides_IOOverridesScope_createDirectory_getCurrentDirectory_setCurrentDirectory_getSystemTempDirectory_createFile_fseIdentical_fseIdenticalSync_fseGetType_fseGetTypeSync_fsWatch_fsWatchIsSupported_socketConnect_socketStartConnect_serverSocketBind_numberOfProcessors_pathSeparator_operatingSystem_operatingSystemVersion_localHostname_versionnumberOfProcessorspathSeparatorlocaleNameoperatingSystemoperatingSystemVersionlocalHostnameisLinuxisMacOSisWindowsisAndroidisIOSisFuchsiaresolvedExecutablescriptexecutableArguments'packages/ directory resolution is not supported in Dart 2'packages/ directory resolution is not supported in Dart 2_Platform_executable_resolvedExecutable_environment_executableArguments_packageConfig_localeName_script_localeClosure_environmentCache_cachedOSVersion_CaseInsensitiveStringMap_ProcessUtils_exit_setExitCode_getExitCode_sleep_pid_watchSignalProcessSignalsignalexitCodesleeppidProcessInfocurrentRssmaxRssProcessStartModenormalNORMAL"Use normal instead"Use normal insteadinheritStdioINHERIT_STDIO"Use inheritStdio instead"Use inheritStdio insteadDETACHED"Use detached instead"Use detached insteaddetachedWithStdioDETACHED_WITH_STDIO"Use detachedWithStdio instead"Use detachedWithStdio insteadworkingDirectoryincludeParentEnvironmentrunInShellProcessResultstdoutEncodingsystemEncodingstderrEncodingrunSynckillPidsigtermstdoutstderrstdinsighup"SIGHUP"SIGHUPsigint"SIGINT"SIGINTsigquit"SIGQUIT"SIGQUITsigill"SIGILL"SIGILLsigtrap"SIGTRAP"SIGTRAPsigabrt"SIGABRT"SIGABRTsigbus"SIGBUS"SIGBUSsigfpe"SIGFPE"SIGFPEsigkill"SIGKILL"SIGKILLsigusr1"SIGUSR1"SIGUSR1sigsegv"SIGSEGV"SIGSEGVsigusr2"SIGUSR2"SIGUSR2sigpipe"SIGPIPE"SIGPIPEsigalrm"SIGALRM"SIGALRM"SIGTERM"SIGTERMsigchld"SIGCHLD"SIGCHLDsigcont"SIGCONT"SIGCONTsigstop"SIGSTOP"SIGSTOPsigtstp"SIGTSTP"SIGTSTPsigttin"SIGTTIN"SIGTTINsigttou"SIGTTOU"SIGTTOUsigurg"SIGURG"SIGURGsigxcpu"SIGXCPU"SIGXCPUsigxfsz"SIGXFSZ"SIGXFSZsigvtalrm"SIGVTALRM"SIGVTALRMsigprof"SIGPROF"SIGPROFsigwinch"SIGWINCH"SIGWINCHsigpoll"SIGPOLL"SIGPOLLsigsys"SIGSYS"SIGSYS"Use sighup instead"Use sighup instead"Use sigint instead"Use sigint instead"Use sigquit instead"Use sigquit instead"Use sigill instead"Use sigill instead"Use sigtrap instead"Use sigtrap instead"Use sigabrt instead"Use sigabrt instead"Use sigbus instead"Use sigbus instead"Use sigfpe instead"Use sigfpe instead"Use sigkill instead"Use sigkill instead"Use sigusr1 instead"Use sigusr1 instead"Use sigsegv instead"Use sigsegv instead"Use sigusr2 instead"Use sigusr2 instead"Use sigpipe instead"Use sigpipe instead"Use sigalrm instead"Use sigalrm instead"Use sigterm instead"Use sigterm instead"Use sigchld instead"Use sigchld instead"Use sigcont instead"Use sigcont instead"Use sigstop instead"Use sigstop instead"Use sigtstp instead"Use sigtstp instead"Use sigttin instead"Use sigttin instead"Use sigttou instead"Use sigttou instead"Use sigurg instead"Use sigurg instead"Use sigxcpu instead"Use sigxcpu instead"Use sigxfsz instead"Use sigxfsz instead"Use sigvtalrm instead"Use sigvtalrm instead"Use sigprof instead"Use sigprof instead"Use sigwinch instead"Use sigwinch instead"Use sigpoll instead"Use sigpoll instead"Use sigsys instead"Use sigsys instead_signalNumberSignalExceptionProcessExceptionSecureSocketSecureServerSocketRawSecureServerSocket_socketSecurityContextrequestClientCertificaterequireClientCertificatesupportedProtocolssocket_ownerownerRawSecureSocketRawServerSocketRawSocket_context_onPauseStateChange_onSubscriptionStateChangerawSocketX509CertificatecertificateonBadCertificatestartConnect"2.6"2.6secureServerbufferedDatapeerCertificateselectedProtocolrenegotiateuseSessionCacheRawSocketEventderpemsha1subjectissuerstartValidityendValidity_FilterStatusreadEmptywriteEmptyreadPlaintextNoLongerEmptywritePlaintextNoLongerFullreadEncryptedNoLongerFullwriteEncryptedNoLongerEmpty_RawSecureSockethandshakeStatusconnectedStatusclosedStatusreadPlaintextIdwritePlaintextIdreadEncryptedIdwriteEncryptedIdbufferCount_isBufferEncrypted_handshakeComplete_socketSubscription_bufferedData_bufferedDataIndexisServer_status_writeEventsEnabled_readEventsEnabled_pendingReadEvent_socketClosedRead_socketClosedWrite_closedRead_closedWrite_filterStatus_connectPending_filterPending_filterActive_SecureFilter_secureFilter_selectedProtocolrequestedPort_verifyFieldsremoteAddressremotePort_completeCloseCompleterdummyshutdownSocketDirectionwriteEventsEnabledreadEventsEnabled_fixOffset_onBadCertificateWrappersetOptionSocketOptiongetRawOptionRawSocketOptionsetRawOption_eventDispatcher_readHandler_writeHandler_doneHandler_reportError_closeHandler_secureHandshake_secureHandshakeCompleteHandler_scheduleFilter_tryFilter_readSocketOrBufferedData_readSocket_writeSocket_scheduleReadEvent_sendReadEvent_sendWriteEvent_pushAllFilterStages_ExternalBuffer"set"advanceStartadvanceEndlinearLengthlinearFreeinputDatawriteFromSourcerequestedreadToSockethostNamedestroyhandshakerehandshakeprocessBufferbufferIndexregisterBadCertificateCallbackregisterHandshakeCompleteCallbackhandshakeCompleteHandlerTlsException"TlsException"HandshakeException"HandshakeException"CertificateException"CertificateException"withTrustedRootsdefaultContextusePrivateKeyusePrivateKeyByteskeyBytessetTrustedCertificatessetTrustedCertificatesBytescertBytesuseCertificateChainuseCertificateChainByteschainBytessetClientAuthoritiessetClientAuthoritiesBytesauthCertBytesalpnSupportedsetAlpnProtocols_protocolsToLengthEncoding_protocolsToLengthEncodingNonAsciiBailout_nextServiceId_ServiceObject__serviceId_serviceId_servicePath_serviceTypePath_serviceTypeName_serviceTypeInternetAddressTypeIPv4IPv6unixIP_V4"Use IPv4 instead"Use IPv4 insteadIP_V6"Use IPv6 instead"Use IPv6 insteadANY"Use any instead"Use any instead_fromloopbackIPv4LOOPBACK_IP_V4"Use loopbackIPv4 instead"Use loopbackIPv4 insteadloopbackIPv6LOOPBACK_IP_V6"Use loopbackIPv6 instead"Use loopbackIPv6 insteadanyIPv4ANY_IP_V4"Use anyIPv4 instead"Use anyIPv4 insteadanyIPv6ANY_IP_V6"Use anyIPv6 instead"Use anyIPv6 insteadrawAddressisLoopbackisLinkLocalisMulticastfromRawAddress_cloneWithNewHostNetworkInterfaceaddresseslistSupportedincludeLoopbackincludeLinkLocalreceivebothRECEIVE"Use receive instead"Use receive insteadSEND"Use send instead"Use send insteadBOTH"Use both instead"Use both insteadtcpNoDelayTCP_NODELAY"Use tcpNoDelay instead"Use tcpNoDelay instead_ipMulticastLoop_ipMulticastHops_ipMulticastIf_ipBroadcastSOL_SOCKETIPPROTO_IPIP_MULTICAST_IFIPPROTO_IPV6IPV6_MULTICAST_IFIPPROTO_TCPIPPROTO_UDP_RawSocketOptionsfromIntfromBoollevelSocketlevelIPv4IPv4MulticastInterfacelevelIPv6IPv6MulticastInterfacelevelTcplevelUdp_getOptionValuereadClosedREAD_CLOSED"Use readClosed instead"Use readClosed instead"Use closed instead"Use closed insteadlen_startConnectDatagramRawDatagramSocketmulticastLoopbackmulticastHopsmulticastInterface"This property is not implemented. Use getRawOption and "This property is not implemented. Use getRawOption and "setRawOption instead."setRawOption instead.broadcastEnabledreuseAddressreusePortttljoinMulticastinterfaceleaveMulticastSocketException'Socket has been closed'Socket has been closed_stdioHandleTypeTerminal_stdioHandleTypePipe_stdioHandleTypeFile_stdioHandleTypeSocket_stdioHandleTypeOther_stdioHandleTypeError_StdStreamStdin_fdreadLineSyncretainNewlinesechoModelineModesupportsAnsiEscapeshasTerminal_StdSinkStdout_nonBlockingterminalColumnsterminalLines_hasTerminal_terminalColumns_terminalLines_supportsAnsiEscapesnonBlockingStdoutExceptionStdinException_StdConsumersepStdioTypeterminal"terminal""pipe""file"TERMINAL"Use terminal instead"Use terminal insteadPIPE"Use pipe instead"Use pipe insteadOTHER"Use other instead"Use other instead_stdin_stdout_stderr_stdinFD_stdoutFD_stderrFD_setStdioFDsstdioType_StdIOUtils_getStdioOutputStream_getStdioInputStream_socketType_getStdioHandleTypeSystemEncodingSYSTEM_ENCODING"Use systemEncoding instead"Use systemEncoding instead_WindowsCodePageEncoder_encodeString_WindowsCodePageEncoderSink_WindowsCodePageDecoder_decodeBytes_WindowsCodePageDecoderSinkRawSynchronousSocketconnectSyncdart.io_http'dart:io'dart:io'crypto.dart'crypto.dart'http_date.dart'http_date.dart'http_headers.dart'http_headers.dart'http_impl.dart'http_impl.dart'http_parser.dart'http_parser.dart'http_session.dart'http_session.dart'websocket.dart'websocket.dart'websocket_impl.dart'websocket_impl.dartHttpServerserverHeaderdefaultResponseHeadersHttpHeadersautoCompressidleTimeoutbindSecurelistenOnserverSocketsessionTimeoutconnectionsInfoHttpConnectionsInfoidleclosingacceptHeader"accept"acceptCharsetHeader"accept-charset"accept-charsetacceptEncodingHeader"accept-encoding"accept-encodingacceptLanguageHeader"accept-language"accept-languageacceptRangesHeader"accept-ranges"accept-rangesageHeader"age"ageallowHeader"allow"authorizationHeader"authorization"authorizationcacheControlHeader"cache-control"cache-controlconnectionHeader"connection"contentEncodingHeader"content-encoding"content-encodingcontentLanguageHeader"content-language"content-languagecontentLengthHeader"content-length"content-lengthcontentLocationHeader"content-location"content-locationcontentMD5Header"content-md5"content-md5contentRangeHeader"content-range"content-rangecontentTypeHeader"content-type"content-typedateHeader"date"etagHeader"etag"etagexpectHeader"expect"expectexpiresHeader"expires"fromHeader"from"hostHeader"host"ifMatchHeader"if-match"if-matchifModifiedSinceHeader"if-modified-since"if-modified-sinceifNoneMatchHeader"if-none-match"if-none-matchifRangeHeader"if-range"if-rangeifUnmodifiedSinceHeader"if-unmodified-since"if-unmodified-sincelastModifiedHeader"last-modified"last-modifiedlocationHeader"location"maxForwardsHeader"max-forwards"max-forwardspragmaHeader"pragma"proxyAuthenticateHeader"proxy-authenticate"proxy-authenticateproxyAuthorizationHeader"proxy-authorization"proxy-authorizationrangeHeader"range"refererHeader"referer"refererretryAfterHeader"retry-after"retry-after"server"serverteHeader"te"tetrailerHeader"trailer"trailertransferEncodingHeader"transfer-encoding"transfer-encodingupgradeHeader"upgrade"userAgentHeader"user-agent"user-agentvaryHeader"vary"varyviaHeader"via"viawarningHeader"warning"warningwwwAuthenticateHeader"www-authenticate"www-authenticate"Use acceptHeader instead"Use acceptHeader insteadACCEPT_CHARSET"Use acceptCharsetHeader instead"Use acceptCharsetHeader insteadACCEPT_ENCODING"Use acceptEncodingHeader instead"Use acceptEncodingHeader insteadACCEPT_LANGUAGE"Use acceptLanguageHeader instead"Use acceptLanguageHeader insteadACCEPT_RANGES"Use acceptRangesHeader instead"Use acceptRangesHeader insteadAGE"Use ageHeader instead"Use ageHeader insteadALLOW"Use allowHeader instead"Use allowHeader insteadAUTHORIZATION"Use authorizationHeader instead"Use authorizationHeader insteadCACHE_CONTROL"Use cacheControlHeader instead"Use cacheControlHeader insteadCONNECTION"Use connectionHeader instead"Use connectionHeader insteadCONTENT_ENCODING"Use contentEncodingHeader instead"Use contentEncodingHeader insteadCONTENT_LANGUAGE"Use contentLanguageHeader instead"Use contentLanguageHeader insteadCONTENT_LENGTH"Use contentLengthHeader instead"Use contentLengthHeader insteadCONTENT_LOCATION"Use contentLocationHeader instead"Use contentLocationHeader insteadCONTENT_MD5"Use contentMD5Header instead"Use contentMD5Header insteadCONTENT_RANGE"Use contentRangeHeader instead"Use contentRangeHeader insteadCONTENT_TYPE"Use contentTypeHeader instead"Use contentTypeHeader insteadDATE"Use dateHeader instead"Use dateHeader insteadETAG"Use etagHeader instead"Use etagHeader insteadEXPECT"Use expectHeader instead"Use expectHeader insteadEXPIRES"Use expiresHeader instead"Use expiresHeader insteadFROM"Use fromHeader instead"Use fromHeader insteadHOST"Use hostHeader instead"Use hostHeader insteadIF_MATCH"Use ifMatchHeader instead"Use ifMatchHeader insteadIF_MODIFIED_SINCE"Use ifModifiedSinceHeader instead"Use ifModifiedSinceHeader insteadIF_NONE_MATCH"Use ifNoneMatchHeader instead"Use ifNoneMatchHeader insteadIF_RANGE"Use ifRangeHeader instead"Use ifRangeHeader insteadIF_UNMODIFIED_SINCE"Use ifUnmodifiedSinceHeader instead"Use ifUnmodifiedSinceHeader insteadLAST_MODIFIED"Use lastModifiedHeader instead"Use lastModifiedHeader insteadLOCATION"Use locationHeader instead"Use locationHeader insteadMAX_FORWARDS"Use maxForwardsHeader instead"Use maxForwardsHeader insteadPRAGMA"Use pragmaHeader instead"Use pragmaHeader insteadPROXY_AUTHENTICATE"Use proxyAuthenticateHeader instead"Use proxyAuthenticateHeader insteadPROXY_AUTHORIZATION"Use proxyAuthorizationHeader instead"Use proxyAuthorizationHeader insteadRANGE"Use rangeHeader instead"Use rangeHeader insteadREFERER"Use refererHeader instead"Use refererHeader insteadRETRY_AFTER"Use retryAfterHeader instead"Use retryAfterHeader insteadSERVER"Use serverHeader instead"Use serverHeader insteadTE"Use teHeader instead"Use teHeader insteadTRAILER"Use trailerHeader instead"Use trailerHeader insteadTRANSFER_ENCODING"Use transferEncodingHeader instead"Use transferEncodingHeader insteadUPGRADE"Use upgradeHeader instead"Use upgradeHeader insteadUSER_AGENT"Use userAgentHeader instead"Use userAgentHeader insteadVARY"Use varyHeader instead"Use varyHeader insteadVIA"Use viaHeader instead"Use viaHeader insteadWARNING"Use warningHeader instead"Use warningHeader insteadWWW_AUTHENTICATE"Use wwwAuthenticateHeader instead"Use wwwAuthenticateHeader insteadcookieHeader"cookie"setCookieHeader"set-cookie"set-cookieCOOKIE"Use cookieHeader instead"Use cookieHeader insteadSET_COOKIE"Use setCookieHeader instead"Use setCookieHeader insteadgeneralHeadersGENERAL_HEADERS"Use generalHeaders instead"Use generalHeaders insteadentityHeadersENTITY_HEADERS"Use entityHeaders instead"Use entityHeaders insteadRESPONSE_HEADERS"Use responseHeaders instead"Use responseHeaders insteadREQUEST_HEADERS"Use requestHeaders instead"Use requestHeaders insteadifModifiedSinceContentTypecontentLengthpersistentConnectionchunkedTransferEncodingpreserveHeaderCasenoFoldingHeaderValueparameterSeparator";"valueSeparatorpreserveBackslashHttpSessionisNewTEXT"Use text instead"Use text insteadHTML"Use html instead"Use html insteadJSON"Use json instead"Use json insteadbinaryBINARY"Use binary instead"Use binary insteadprimaryTypesubTypeCookiemaxAgehttpOnlyfromSetCookieValuerequestedUricookiesprotocolVersionconnectionInfoHttpConnectionInfoHttpResponsereasonPhrasebufferOutputdetachSocketwriteHeadersdefaultHttpPortDEFAULT_HTTP_PORT"Use defaultHttpPort instead"Use defaultHttpPort insteaddefaultHttpsPortDEFAULT_HTTPS_PORT"Use defaultHttpsPort instead"Use defaultHttpsPort insteadenableTimelineLogging_enableTimelineLoggingconnectionTimeoutmaxConnectionsPerHostautoUncompressHttpClientRequestopenUrlgetUrlpostpostUrlputUrldeleteUrlpatchUrlheadUrlauthenticaterealmaddCredentialsHttpClientCredentialsfindProxyfindProxyFromEnvironmentauthenticateProxyaddProxyCredentialsbadCertificateCallbackcertfollowRedirectsmaxRedirectsHttpClientResponse"2.10"2.10compressionStateHttpClientResponseCompressionStateisRedirectredirectsRedirectInfofollowLoopsnotCompresseddecompressedcompressedHttpClientBasicCredentialsHttpClientDigestCredentialslocalPortDetachedSocketunparsedDataHttpExceptionRedirectException_CryptoUtilsPADCRLFLINE_LENGTH_encodeTable_encodeTableUrlSafe_decodeTable_rngbytesToHexbytesToBase64addLineSeparatorbase64StringToBytesignoreInvalidCharacters_MASK_8_MASK_32_BITS_PER_BYTE_BYTES_PER_WORD_HashBase_chunkSizeInWords_bigEndianWords_lengthInBytes_pendingData_currentChunk_h_digestCalleddigestSizeInWordsblockSizenewInstance_updateHash_add32_roundUp_rotl32_resultAsBytes_bytesToChunkdataIndex_wordToBytes_iterate_finalizeData_MD5_k_r_SHA1_wHttpDate_parseCookieDate_HttpHeaders_headers_originalHeaderNames_mutable_noFoldingHeaders_contentLength_persistentConnection_chunkedTransferEncoding_defaultPortForSchemedefaultPortForSchemeinitialHeaders_addContentLength_addTransferEncoding_addDate_addExpires_addIfModifiedSince_addHost_addConnection_addContentType_addValue_valueToString_set_checkMutable_updateHostHeader_foldHeader_finalize_build_parseCookies_validateFieldfield_validateValue_originalHeaderName_HeaderValue_parameters_unmodifiableParameters_ensureParameters_isToken_ContentType_primaryType_subType_CookienewName_parseSetCookieValue_validateName_validatePath'HttpProfile'HttpProfile_HttpProfileData_profilestartRequestparentRequestgetHttpProfileRequestupdatedSince_HttpProfileEventrequestEventproxyEvent_ProxyappendRequestDataformatHeadersformatConnectionInfofinishRequeststartResponsefinishRequestWithErrorfinishResponsefinishResponseWithErrorappendResponseData_updatedisolateIdrequestInProgressresponseInProgressrequestStartTimestamprequestEndTimestamprequestDetailsproxyDetailsrequestBodyrequestErrorrequestEventsresponseStartTimestampresponseEndTimestampresponseDetailsresponseBodylastUpdateTime_lastUpdateTime_timeline_responseTimeline_INIT_SIZE_OUTGOING_BUFFER_SIZE_BytesConsumer_HttpIncoming_transferLength_dataCompleterfullBodyReadupgradedhasSubscribertransferLengthdataDone_HttpInboundMessageListInt_incoming_cookies_HttpInboundMessage_HttpRequest_HttpServer_httpServer_HttpConnection_httpConnection_HttpSession_session_requestedUri_HttpClientResponse_HttpClient_httpClient_HttpClientRequest_httpRequest_profileData_getCompressionStatehttpClient_shouldAuthenticateProxy_shouldAuthenticate_authenticateproxyAuth_ToUint8List_Uint8ListConversionSink_HttpOutboundMessage_encodingSet_bufferOutput_HttpOutgoing_outgoingoutgoingprofileData_writeHeader_isConnectionClosed_HttpResponse_statusCode_reasonPhrase_deadline_deadlineTimerdefaultHeaders_findReasonPhrase_HttpClientConnection_httpClientConnection_responseCompleter_proxy_response_followRedirects_maxRedirects_responseRedirects_aborted_onIncomingincoming_requestUri_HttpGZipSink_consume_footerAndChunk0Length_CharCode_chunk0LengthignoreBodyheadersWritten_closeFuturechunked_pendingChunkedFooter_bytesWritten_gzip_gzipSink_gzipAdd_gzipBuffer_gzipBufferLength_socketErroroutbounddrainRequestsetOutgoingsetHeader_ignoreError_addGZipChunk_chunkHeader_proxyTunnel_HttpParser_httpParser_dispose_idleTimer_currentUri_nextResponseCompleter_streamFuturedestroyFromExternalcloseFromExternalcreateProxyTunnelmakeKeyisSecurestopTimerstartTimer_ConnectionInfo_ConnectionTarget_idle_active_socketTasks_connectinghasIdlehasActivetakeIdle_checkPendingaddNewActivereturnConnectionconnectionCloseduriHosturiPortcrBadCertificateCallback_closing_closingForcefully_connectionTargets_Credentials_credentials_ProxyCredentials_proxyCredentials_authenticateProxy_findProxy_idleTimeout_badCertificateCallback_openUrl_openUrlFromRequest_returnConnection_connectionClosed_connectionClosedNoFurtherClosing_connectionsChanged_closeConnections_getConnectionTarget_getConnection_ProxyConfigurationproxyConf_findCredentials_SiteCredentials_AuthenticationScheme_findProxyCredentials_removeCredentials_removeProxyCredentials_findProxyFromEnvironment_platformEnvironmentCache_ACTIVE_IDLE_CLOSING_DETACHED_connections_idleMarkmarkIdleisMarkedIdle_isActive_isIdle_isClosing_isDetached_servers_serverSocket_closeServer_initDefaultResponseHeaders_handleRequest_markIdle_markActive_sessionManager_HttpSessionManager_sessionManagerInstance_activeConnections_idleConnectionsPROXY_PREFIX"PROXY "PROXY DIRECT_PREFIX"DIRECT"DIRECTdirectproxiesisDirectisAuthenticated_HttpConnectionInfo_DetachedSocket_schemeBASICDIGEST_HttpClientCredentialsusedha1qopnonceCountauthorizecredsappliesauthorizeProxy_HttpClientBasicCredentials_HttpClientDigestCredentials_RedirectInfo_getHttpVersion_ConstHTTPHTTP1DOTHTTP10HTTP11SEPARATOR_MAPHTSPAMPERSANDCOLONSEMI_COLON_StateSTARTMETHOD_OR_RESPONSE_HTTP_VERSIONRESPONSE_HTTP_VERSIONREQUEST_LINE_METHODREQUEST_LINE_URIREQUEST_LINE_HTTP_VERSIONREQUEST_LINE_ENDINGRESPONSE_LINE_STATUS_CODERESPONSE_LINE_REASON_PHRASERESPONSE_LINE_ENDINGHEADER_STARTHEADER_FIELDHEADER_VALUE_STARTHEADER_VALUEHEADER_VALUE_FOLD_OR_END_CRHEADER_VALUE_FOLD_OR_ENDHEADER_ENDINGCHUNK_SIZE_STARTING_CRCHUNK_SIZE_STARTINGCHUNK_SIZECHUNK_SIZE_EXTENSIONCHUNK_SIZE_ENDINGCHUNKED_BODY_DONE_CRCHUNKED_BODY_DONEBODYUPGRADEDFAILUREFIRST_BODY_STATE_HttpVersionUNDETERMINED_MessageTypeREQUESTRESPONSE_HttpDetachedStreamSubscription_injectData_userOnData_scheduled_maybeScheduleData_HttpDetachedIncoming_parserCalled_requestParser_httpVersionIndex_messageType_statusCodeLength_uriOrReasonPhrase_headerField_headerValue_headerTotalSizeLimit_headersReceivedSize_httpVersion_connectionUpgrade_chunked_noMessageBody_remainingContent_transferEncodingconnectMethod_chunkSizeLimit_paused_bodyPaused_bodyControllerrequestParserresponseParserlistenToStream_headersEnd_doParseisHeaddetachIncomingreadUnparsedData_reset_releaseBuffer_isTokenChar_isValueChar_tokenizeFieldValueheaderValue_toLowerCaseByte_caseInsensitiveCompareexpected_expectval1val2_expectHexDigit_addWithValidation_reportSizeLimitError_createIncoming_closeIncoming_pauseStateChanged_reportHttpError_reportBodyError_DART_SESSION_ID"DARTSESSID"DARTSESSID_destroyed_isNew_lastSeen_timeoutCallback_prev_markSeenlastSeen_sessions_sessionTimeout_timercreateSessionIdgetSession_bumpToEnd_addToTimeoutQueue_removeFromTimeoutQueue_timerTimeout_startTimer_stopTimer_httpOverridesTokenHttpOverridescreateHttpClientrunWithHttpOverrides_HttpOverridesScope_createHttpClientWebSocketStatusnormalClosuregoingAwayprotocolErrorunsupportedDatareserved1004noStatusReceivedabnormalClosureinvalidFramePayloadDatapolicyViolationmessageTooBigmissingMandatoryExtensionreserved1015NORMAL_CLOSURE"Use normalClosure instead"Use normalClosure insteadGOING_AWAY"Use goingAway instead"Use goingAway insteadPROTOCOL_ERROR"Use protocolError instead"Use protocolError insteadUNSUPPORTED_DATA"Use unsupportedData instead"Use unsupportedData insteadRESERVED_1004"Use reserved1004 instead"Use reserved1004 insteadNO_STATUS_RECEIVED"Use noStatusReceived instead"Use noStatusReceived insteadABNORMAL_CLOSURE"Use abnormalClosure instead"Use abnormalClosure insteadINVALID_FRAME_PAYLOAD_DATA"Use invalidFramePayloadData instead"Use invalidFramePayloadData insteadPOLICY_VIOLATION"Use policyViolation instead"Use policyViolation insteadMESSAGE_TOO_BIG"Use messageTooBig instead"Use messageTooBig insteadMISSING_MANDATORY_EXTENSION"Use missingMandatoryExtension instead"Use missingMandatoryExtension insteadRESERVED_1015"Use reserved1015 instead"Use reserved1015 insteadCompressionOptionscompressionDefaultDEFAULT"Use compressionDefault instead"Use compressionDefault insteadcompressionOffOFF"Use compressionOff instead"Use compressionOff insteadclientNoContextTakeoverserverNoContextTakeoverclientMaxWindowBitsserverMaxWindowBits_createServerResponseHeader_CompressionMaxWindowBits_createClientRequestHeader_createHeaderWebSocketTransformerprotocolSelectorcompressionisUpgradeRequestconnecting"Use connecting instead"Use connecting instead"Use open instead"Use open instead"Use closing instead"Use closing insteadpingInterval'This constructor will be removed in Dart 2.0. Use `implements`'This constructor will be removed in Dart 2.0. Use `implements`' instead of `extends` if implementing this abstract class.' instead of `extends` if implementing this abstract class.fromUpgradedSocketserverSidecloseCodecloseReasonaddUtf8TextWebSocketException_webSocketGUID"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"258EAFA5-E914-47DA-95CA-C5AB0DC85B11_clientNoContextTakeover"client_no_context_takeover"client_no_context_takeover_serverNoContextTakeover"server_no_context_takeover"server_no_context_takeover_clientMaxWindowBits"client_max_window_bits"client_max_window_bits_serverMaxWindowBits"server_max_window_bits"server_max_window_bits_WebSocketMessageType_WebSocketOpcodeCONTINUATIONRESERVED_3RESERVED_4RESERVED_5RESERVED_6RESERVED_7CLOSEPINGPONGRESERVED_BRESERVED_CRESERVED_DRESERVED_ERESERVED_F_EncodedString_WebSocketProtocolTransformerLEN_FIRSTLEN_RESTMASKPAYLOADFINRSV1RSV2RSV3OPCODE_fin_compressed_opcode_len_masked_remainingLenBytes_remainingMaskingKeyBytes_remainingPayloadBytes_unmaskingIndex_currentMessageType_serverSide_maskingBytes_payload_WebSocketPerMessageDeflate_deflate_unmask_lengthDone_maskDone_startPayload_messageFrameEnd_controlFrameEnd_isControlFrame_prepareForNextFrame_WebSocketPingpayload_WebSocketPong_ProtocolSelector_WebSocketTransformerImpl_protocolSelector_compression_upgrade_negotiateCompression_isUpgradeRequest_WebSocketImpl_ensureDecoder_ensureEncoderprocessIncomingMessageprocessOutgoingMessage_WebSocketOutgoingTransformerwebSocket_deflateHelperaddFrameopcodecreateFrame_WebSocketConsumer_issuedPause_completer_ensureController_donecloseSocket_webSocketsPER_MESSAGE_DEFLATE"permessage-deflate"permessage-deflate_readyState_writeClosed_closeCode_closeReason_pingInterval_pingTimer_consumer_outCloseCode_outCloseReason_closeTimernegotiateClientCompression_fromSocketdeflate_isReservedStatusCodedart._httpjsJsObjectJsFunctionfromBrowserObjectdeletePropertywithThisJsArrayallowInteropallowInteropCaptureThisdart.js_jsisBrowserObjectconvertFromBrowserObjectdart._jsmirrorsMirrorSystemlibrariesLibraryMirrorfindLibraryIsolateMirrordynamicTypeTypeMirrorvoidTypeneverTypegetSymbollibrarycurrentMirrorSystemreflecteeInstanceMirrorreflectClassMirrorreflectClassreflectTypeMirrorisCurrentrootLibraryloadUriDeclarationMirrorsimpleNameisPrivateisTopLevelSourceLocationObjectMirrorinvokegetFieldsetFielddelegatehasReflecteeClosureMirrorMethodMirrordeclarationslibraryDependenciesLibraryDependencyMirrorisImportisExportisDeferredsourceLibrarytargetLibrarycombinatorsCombinatorMirrorloadLibraryidentifiersisShowisHidehasReflectedTypereflectedTypetypeVariablesTypeVariableMirrorisOriginalDeclarationoriginalDeclarationisSubtypeOfisAssignableTosuperclasssuperinterfacesisAbstractisEnuminstanceMembersstaticMembersmixinconstructorNameisSubclassOfFunctionTypeMirrorParameterMirrorTypedefMirrorreferentisSyntheticisRegularMethodisOperatorisConstructorisConstConstructorisGenerativeConstructorisRedirectingConstructorisFactoryConstructorisExtensionMemberVariableMirrorisConstisOptionalisNamedhasDefaultValuecolumntrimmedTextisDocCommentMirrorsUsed"No longer has any effect. Will be removed in a later release."No longer has any effect. Will be removed in a later release.symbolstargetsmetaTargetsdart.mirrorsnativewrappersNativeFieldWrapperClass1NativeFieldWrapperClass2NativeFieldWrapperClass3NativeFieldWrapperClass4cli'wait_for.dart'wait_for.darttimeoutMillis_waitForEvent_getWaitForEvent_waitForEventClosure_WaitForUtilswaitForEventwaitFordart.cli_js_primitivesprintStringdart2js._js_primitivesSUCCESSSTREAM_WAS_CANCELED_js_annotations'dart:js'dart:js_Anonymousanonymous¿ -  -   - - - -   -     -   - - - -     - - - -  -     -   -  -   - +}interceptorsByTagleafTagsregexp_helper.dartdart:_native_typed_data/regexp_helper.dartJSSyntaxRegExp_nativeRegExp_nativeGlobalRegExp_nativeAnchoredRegExp_nativeGlobalVersion_nativeAnchoredVersion_isMultiLine_isCaseSensitive_isUnicode_isDotAllmakeNative_execGlobal_execAnchored_MatchImplementation_match_AllMatchesIterable_re_AllMatchesIterator_regExp_nextIndexregExpGetNativeregexpregExpGetGlobalNativeregExpCaptureCountfirstMatchAfterregExpstring_helper.dartdart:_native_typed_data/string_helper.dartStringMatchgroup_groups__StringAllMatchesIterable_input_StringAllMatchesIteratorstringIndexOfStringUncheckedsubstring1Uncheckedsubstring2UncheckedstringContainsStringUncheckedstringSplitUncheckedallMatchesInStringUncheckedstringContainsUncheckedstringReplaceJSjsRegExpescapeReplacementstringReplaceFirstREquoteStringForRegExpstringReplaceAllUncheckedstringReplaceAllGeneralstringReplaceAllUncheckedStringstringReplaceAllUsingSplitJoin_matchString_stringIdentitystringReplaceAllFuncUncheckedstringReplaceAllEmptyFuncUncheckedstringReplaceAllStringFuncUncheckedstringReplaceFirstUncheckedstringReplaceFirstMappedUncheckedstringReplaceRangeUncheckeddart:_native_typed_data/linked_hash_map.dartJsLinkedHashMap_strings_nums_rest_modificationsinternalContainsKeyinternalGetinternalSetinternalRemove_addHashTableEntry_removeHashTableEntry_modified_newLinkedCell_unlinkCellcell_isStringKey_isNumericKeyinternalComputeHashCode_getBucketinternalFindBucketIndexbucket_getTableCell_getTableBucket_setTableEntry_deleteTableEntry_containsTableEntry_newHashTableLinkedHashMapCellhashMapCellKeyhashMapCellValueLinkedHashMapKeyIterableLinkedHashMapKeyIterator_cell'dart2js:as:trust'dart2js:as:trust_late_helpercreateSentinelisSentinel_CellfinalLocalValuefinalFieldValuereadLocalreadField_readLocal_readField_InitializedCell_initializerfinalValuereadFinal_read_readFinalthrowLateFieldNIthrowLateFieldAIthrowLateFieldADIthrowUnnamedLateFieldNIthrowUnnamedLateFieldAIthrowUnnamedLateFieldADI_lateReadCheck_lateWriteOnceCheck_lateInitializeOnceCheckrtigetJSArrayInteropRtiTYPE_REFLEGACY_TYPE_REFJSArrayJSNullJSUnmodifiableArraygetSpecializedTestTagdart:_recipe_syntaxRti_as'dart2js:noElision'dart2js:noElision_is_precomputed1_precomputed2_precomputed3_precomputed4_specializedTestResource_cachedRuntimeTypekindNeverkindDynamickindVoidkindAnykindErasedkindStarkindQuestionkindFutureOrkindInterfacekindBindingkindRecordkindFunctionkindGenericFunctionkindGenericFunctionParameter_primary_evalCache_bindCache_canonicalRecipe_setAsCheckFunctionfn_setIsTestFunction_asCheck_isCheck_evaltypeOrTuple_bind1_getPrecomputed1_setPrecomputed1precomputed_getQuestionFromStaruniverse_getFutureFromFutureOr_getSpecializedTestResource_setSpecializedTestResource_getCachedRuntimeType_setCachedRuntimeType_getKind_setKind_isUnionOfFunctionType_getPrimary_setPrimary_getRest_setRest_getInterfaceName_getInterfaceTypeArguments_getBindingBase_getBindingArguments_getRecordPartialShapeTag_getRecordFields_getStarArgument_getQuestionArgument_getFutureOrArgument_getReturnType_getFunctionParameters_getGenericFunctionBase_getGenericFunctionBounds_getGenericFunctionParameterIndex_getEvalCache_setEvalCache_getBindCache_setBindCache_getCanonicalRecipe_setCanonicalRecipegetLegacyErasedRecipe_FunctionParameters_requiredPositional_optionalPositional_getRequiredPositional_setRequiredPositionalrequiredPositional_getOptionalPositional_setOptionalPositionaloptionalPositional_getNamed_setNamed_Type_rti_ErrorcomposeobjectRticheckedTypeDescription_TypeErrorfromMessageforType_UniverseevalCachetypeRuleserasedTypestypeParameterVariances_findRuletargetTypefindErasedTypefindTypeParameterVariancesaddRulesaddErasedTypesaddTypeParameterVariancesvariancessharedEmptyArrayevalevalInEnvironmentargumentsRtibind1evalTypeVariable_parseRecipe_installTypeTests_installRti_recipeJoins1s2_recipeJoin3s3_recipeJoin4s4_recipeJoin5s5_canonicalRecipeOfErased_canonicalRecipeOfDynamic_canonicalRecipeOfVoid_canonicalRecipeOfNever_canonicalRecipeOfAny_canonicalRecipeOfStarbaseType_canonicalRecipeOfQuestion_canonicalRecipeOfFutureOr_canonicalRecipeOfGenericFunctionParameter_lookupErasedRti_lookupDynamicRti_lookupVoidRti_lookupNeverRti_lookupAnyRti_lookupTerminalRti_createTerminalRti_lookupStarRti_createStarRti_lookupQuestionRti_createQuestionRti_lookupFutureOrRti_createFutureOrRti_lookupGenericFunctionParameterRti_createGenericFunctionParameterRti_canonicalRecipeJoin_canonicalRecipeJoinNamed_canonicalRecipeOfInterface_lookupInterfaceRti_createInterfaceRti_lookupFutureRti_canonicalRecipeOfBinding_lookupBindingRti_createBindingRti_canonicalRecipeOfRecordpartialShapeTagfields_lookupRecordRti_createRecordRti_canonicalRecipeOfFunction_canonicalRecipeOfFunctionParameters_lookupFunctionRti_createFunctionRti_canonicalRecipeOfGenericFunctionbaseFunctionType_lookupGenericFunctionRti_createGenericFunctionRti_ParseroptionalPositionalMarkernamedMarkergotoFunctiongotoRecordparsercharCodeAtpushpoppushStackFramehandleDigitdigithandleIdentifierhasPeriodhandleTypeArgumentshandleArgumentshandleOptionalGrouphandleNamedGrouphandleStartRecordhandleExtendedOperationscollectArraycollectNamedtoTypetoTypestoTypesNamedindexToTypetoGenericFunctionParameterTypeRulelookupTypeVariabletypeVariablelookupSupertypesupertypeVariancelegacyCovariantcovariantcontravariantinvariant_UtilsasBoolasDoubleasIntasNumasStringasRtiasRtiOrNullisStringisNuminstanceOfisIdenticalisNotIdenticalisMultipleOfobjectAssignnewArrayOrEmptyisArrayarrayAtarraySetAtarrayShallowCopyarraySplicearrayConcata1a2stringSplitstringIndexOfstringLessThanmapGetmapSet_theUniverse_rtiEval_rtiBind1_rtiBindfindTypegenericFunctionRtiinstantiationRti_substitute_substituteArrayrtiArray_substituteNamednamedArray_substituteFunctionParametersfunctionParameters_isDartObject_isClosure_setArrayTypeclosureFunctionTypeinstanceOrFunctionTypetestRtiinstanceType_arrayInstanceType_instanceType_instanceTypeFromConstructor_instanceTypeFromConstructorMiss_instanceFunctionTypetypeLiteral_installSpecializedIsTest_finishIsFnisFn_simpleSpecializedIsTest_installSpecializedAsCheck_nullIs_generalIsTestImplementation_generalNullableIsTestImplementation_isTestViaProperty_isListTestViaProperty_generalAsCheckImplementation_generalNullableAsCheckImplementation_failedAsCheckcheckTypeBound_isObject_asObject_isTop_asTop_isBool_asBool_asBoolS_asBoolQ_asDouble_asDoubleS_asDoubleQ_isInt_asInt_asIntS_asIntQ_isNum_asNum_asNumS_asNumQ_isString_asString_asStringS_asStringQ_rtiArrayToStringgenericContext_recordRtiToStringrecordType_functionRtiToString_rtiToString_unminifyOrTag_rtiArrayToDebugStringfunctionParametersToString_rtiToDebugStringisSubtype_isSubtypesEnvtEnv_isFunctionSubtype_isInterfaceSubtype_areArgumentsSubtypessArgssVariancestArgs_isRecordSubtypeisNullableisTopTypeisStrongTopTypeisBottomTypeisObjectTypeisLegacyObjectTypeisNullableObjectTypeisNullTypeisFunctionTypeisJsFunctionTypeisRecordInterfaceTypetestingCanonicalRecipetestingRtiToStringtestingRtiToDebugStringtestingCreateUniversetestingAddRulestestingAddTypeParameterVariancestestingIsSubtyperti1rti2testingUniverseEvaltestingUniverseEvalOverridetestingEnvironmentEvaltestingEnvironmentBindconstructorRtiCachePropertyNamer'$ccache'$ccacheinterfaceTypeRecipePropertyNamer'$interfaceRecipe'$interfaceRecipedart2js_runtime_metricsstartupMetricsruntimeMetrics_interceptorsDISPATCH_PROPERTY_NAMETYPE_TO_INTERCEPTOR_MAPJSBoolJSMutableIndexableLegacyJavaScriptObjectPlainJavaScriptObjectUnknownJavaScriptObjectgetDispatchPropertymakeDispatchRecordextensionindexabilitydispatchRecordInterceptordispatchRecordProtodispatchRecordExtensiondispatchRecordIndexabilitylookupInterceptorByConstructorcacheInterceptorOnConstructorXlookupInterceptorByConstructorXcacheInterceptorOnConstructorfindIndexForNativeSubclassTypefindInterceptorForTypeDART_CLOSURE_PROPERTY_NAME_JS_INTEROP_INTERCEPTOR_TAGconstructorToInterceptorJS_INTEROP_INTERCEPTOR_TAGtypeToInterceptorMapjs_array.dartdart:_native_typed_data/js_array.dart_Growable_ListConstructorSentinelfixedallocateFixedemptyGrowableallocateGrowabletypedallocationmarkFixedmarkGrowablemarkFixedListmarkUnmodifiableListisFixedLengthisUnmodifiableisGrowableisMutablecheckMutablecheckGrowable_addAllFromArray_toListGrowable_toListFixed_setLengthUnsafeJSMutableArrayJSFixedArrayArrayIteratorjs_number.dartdart:_native_typed_data/js_number.dartJSNumber_MIN_INT320x80000000_MAX_INT32_handleIEtoString_isInt32_tdivFast_tdivSlow_shlPositive_shrOtherPositive_shrReceiverPositive_shrBothPositive_shruOtherPositiveJSInt_clz32uint32_binaryGcdinvJSNumNotIntJSPositiveIntjs_string.dartdart:_native_typed_data/js_string.dartJSString_codeUnitAt_defaultSplit_isWhitespace_skipLeadingWhitespace_skipTrailingWhitespace_foreign_helpertypeDescriptioncodeTemplatearg0arg5arg6arg7arg8arg9arg10arg11arg12arg13arg14arg51arg16arg17arg18arg19builtincreateJsSentinelisJsSentineldart._js_namesMANGLED_GLOBAL_NAMESdart2js._js_primitivesprintStringdart2js._embedded_namescontainer'co'co'iS'iS'iI'iIrequiredParameterCount'rC'rCoptionalParameterDefaultValues'dV'dVcallNames'cs'csfunsOrNames'fs'fsfunType'fT'fTapplyIndex'aI'aI'nDA'nDAr"$nativeSuperclassTag"$nativeSuperclassTagr'$static_name'$static_nameMETADATA'metadata''mangledGlobalNames'mangledGlobalNamesMANGLED_NAMES'mangledNames'mangledNames'interceptorsByTag''leafTags''getIsolateTag'getIsolateTagISOLATE_TAG'isolateTag'isolateTag"dispatchPropertyName"dispatchPropertyName"typeToInterceptorMap"'currentScript''deferredLibraryParts'deferredLibraryParts'deferredPartUris'deferredPartUris'deferredPartHashes'deferredPartHashes'initializeLoadedHunk'initializeLoadedHunk'isHunkLoaded'isHunkLoaded'isHunkInitialized'isHunkInitializedDEFERRED_INITIALIZED'deferredInitialized'deferredInitialized'rm'rmRUNTIME_METRICS_CONTAINER'runtimeMetrics''sm'smRtiUniverseFieldNamesGETTER_PREFIXSETTER_PREFIXCALL_PREFIXCALL_PREFIX0CALL_PREFIX1CALL_PREFIX2CALL_PREFIX3CALL_PREFIX4CALL_PREFIX5CALL_CATCH_ALLREQUIRED_PARAMETER_PROPERTYDEFAULT_VALUES_PROPERTYCALL_NAME_PROPERTYDEFERRED_ACTION_PROPERTYOPERATOR_IS_PREFIXSIGNATURE_NAMERTI_NAMEFUTURE_CLASS_TYPE_NAMEIS_INDEXABLE_FIELD_NAMENULL_CLASS_TYPE_NAMEOBJECT_CLASS_TYPE_NAMELIST_CLASS_TYPE_NAMERTI_FIELD_ASRTI_FIELD_ISdartObjectConstructordartClosureConstructorisJsInteropTypeArgumentRTI_UNIVERSE'typeUniverse'typeUniverseARRAY_RTI_PROPERTY'arrayRti'arrayRtiTYPES'types'SUCCESSSTREAM_WAS_CANCELEDjs_shared._recipe_syntaxRecipelibrarySeparator_verticallibrarySeparatorString_verticalString_commaseparatorString_commaString_semicolontoTypeString_semicolonStringpushErased_hashpushErasedString_hashStringpushDynamic_atpushDynamicString_atStringpushVoid_tildepushVoidString_tildeStringwrapStar_asteriskwrapStarString_asteriskStringwrapQuestion_questionwrapQuestionString_questionStringwrapFutureOr_slashwrapFutureOrString_slashStringstartTypeArguments_lessThanstartTypeArgumentsString_lessThanStringendTypeArguments_greaterThanendTypeArgumentsString_greaterThanStringstartFunctionArguments_leftParenstartFunctionArgumentsString_leftParenStringendFunctionArguments_rightParenendFunctionArgumentsString_rightParenStringstartOptionalGroup_leftBracketstartOptionalGroupString_leftBracketStringendOptionalGroup_rightBracketendOptionalGroupString_rightBracketStringstartNamedGroup_leftBracestartNamedGroupString_leftBraceStringendNamedGroup_rightBraceendNamedGroupString_rightBraceStringnameSeparator_colonnameSeparatorString_colonStringrequiredNameSeparator_exclamationrequiredNameSeparatorString_exclamationStringgenericFunctionTypeParameterIndex_circumflexgenericFunctionTypeParameterIndexString_circumflexStringstartRecord_plusstartRecordString_plusStringextensionOp_ampersandextensionOpString_ampersandStringpushNeverExtensionpushNeverExtensionString'pushAnyExtensionpushAnyExtensionString_period_formfeed0x0C_formfeedString'\f' _space_spaceString'#'#_dollar_dollarStringr'$'$_percent_percentString'%''&'_apostrophe_apostropheString"'"',',_minus_minusString_periodString'.'.'/'_digit0_digit9':'';''<'_equalsString'='='>''?'?'@'@_uppercaseA_uppercaseZ'['[_backslash_backslashStringr'\'\']']'^'_underscore_underscoreString'_'_backtick_backtickString'`'`_lowercaseA_lowercaseZ'{'{'|''}'}isDigitdigitValueisIdentifierStarttestEquivalenceLoadLibraryPriority"Chrome"Chrome"Firefox"Firefox"Internet Explorer"Internet Explorer"Opera"Opera"Safari"SafaribrowserNameminimumVersionExperimentalDocsEditable_js_annotationsdart:js_Anonymous_StaticInteropJSExportanonymousstaticInteropdart:ffidart:_jsdart:mirrorsdart:nativewrappersdart:clidart:_late_helperdart:_dart2js_runtime_metricsdart:_js_primitivesdart:_async_await_error_codesdart:_js_annotations@unit@class@constructornew@field@getter@method@typeAlias@function@extension@parameterNever@enum@prefix@setterD( + +  +  +   -            B@B@ -   -             -  - -   - - - - - -      - -  - - -  -    -       -        -  (   -       " " " " "        + + +           +      +    +     +  +        +  +     +   +    +    +      "     +         +  + +  + +   !       +           + + +  +     + + +       #"   +      +     +   +      +   +     +      + + +     $ $  +        +    +       + +  +     +  +       +  +            -  - - -   - -  -        -  - -  - -   - -64    -    - - - -   -      -  + + +    +      B@B@ +   +           !   $  + +    +  + + +   + +      + +        +         - -               - - -  -  +      +# + (  +        " " " " "        64 +     -)' - -     -  -   -   -   -  - @>   -   -      - -  -    -  -  -    - -   - -   +    + +   + +        + + +             + $"   + +   +$" +  +  +)' + +  +   +  +   +  +%#  @>    + + +     +  + +      +  + +  + +  +     -    +      -    - - - -    -  -   - -   - -   -  -& #    -    -    -    +     +  +    +     +  + +   + +     + +   & #    +    +    +       -           -    +    +   + +      -          - -" -  -    -    -  )' -        )' #!" *(!  %#(& -    - -    -             -  - -  !         FCC@>;  -:7   -   - -  -              -  -    - -          "    - -  -       -    -     -       -  -     -  -    -  -     -  -         -   -    -             -   - -  -     - - -     "      -  -     -   -    -   - - <:  - - .,   -          -  -  -       -  - -  -  - -  -   - +     +   +   +        +  97 + 86  +       +   + +  + +   +    - -           +     + +  - -  + +    -      - + + +  + + +   + + +  +   +      +  +      - - " # - -   - - -             $(  -  -          -    -    ! ' - -          -     -       -  ! - -     - -     $% -  -   - - - -    -       * "" -$!  -          - -   -  -   -   -        -      -  - - - -   - - -      -  # - !    -    -      - -  -  -     -  $,* %  -   -      "   -   -%zr-XPA9*",   - -  -  "#!      -     !$     -   -      - -  -    -    -  - - - +    +   +  "!$ +     +           +         +  :8  + + + +    + - - - +      "   +     +      +    + +    +       +     -         $"  -    --+!    &%%%&&$$$$$$$$86(,:8( )<: :8 ###  20 '% '% %#)!      - - ,*<:   ?= ,*1/##!0.,*97.,   -     -   -   -   - -         -  -  -  - ! |z  -  -[Y(&     -    -6    6 - - - - - - - -  - -  -       -   - -   -      -  ? ->    - - - - -     -           - -  -                 - - - - - - ! %%!!""#,$$!!)" -  + + +     +    +=;B@ + +        %#  +           +  -      +  +    +  +   -  ( & -'* -       - - - -           +     + +   +    +   +     + +  -     - -!% $+) " - "   - -          -     ))    --  ) %   -86((     -    &$  - -  -      -   - - -  - -   - -  - -  -   - -   -      - *(  -  -  - -  - - -   -   - -     -   -   ! '#      $    -     -     - - - -   -         -        -   - -        - -  -    -   - -   - -  -  - - -  - +     +:8=; -   - -         - - -  -  -      -   -  -     -   -       -  -    -         -  %# #!   -    - !  -      -      -   -       -  &$*(    ! -  20 )'   -  -   - -    - -                       -  :8  - - - -     - - - -     "   -      -    " -   -   -   -     - - -     -   - -=;B@ -       %#  - -         -  - - -    -   -    - - -    -  -   -   -   -      - - - -    - :8=; -           +           - +   - 97 - - - -    + 97 +       -     +        -   +      @@ -4028,222 +3216,257 @@ $!         -  - +  +  -   +   -  & +     + + +&                 -  +   -         +           -          +               -      -        -  -   -    -   -%# !     - - -         -    +      +           +  +   +   +   +%# !    + +       HF +  a_  -  -     -         -      -  -   -     -  - - - - - +      + +       +    +   +  +      +      +     +  +  +  +  + -  - -        +  +  +             -     -   +     +  -  +   -    - -   -   +    + +   +    -   -    +  -           - - $'3 +   +    + +    + 3   -   & - -  -   -   +  + +    + +  +    +   +  + + +  + + +  + +   + +        + + +  -   - +  +  + +$'  + +    + -  -    +  +         &          -  -   - -    +  +  -+ +    -     -  -    -  -    " '% +     +  +   +  +  (( " '%   -    +   97   -    -  +     + +<:   - - + +  +  +       + +   + !       +  +  #! +       +   #  +EC +       +   +  +  +           -  -        - -  -   !        -   - -#!       -   #   -EC -      -    - - -           - -  -   -         - -  -       -  -   -     -               - $"  -       -         + +  + +          +   +          +    +   +             +  + $"         +              -      +     - +    -  -   -   +  +   +    -       - )' -  - -     "  - -   -   -    -  -      -       +       + )'  + +  + +     +   +    +     +    +        +     -            +      +  +        +  -     !#   +    !#     -          -     - +     +     +     + +  - - + +   -       +   + + + +       -     - - -     - - $& "         -    +    + + +   (& +  + $& "        +       -   "   +    +    -    +     - - - $" -  @>  -     -     -   0.  + + +$"  + @>     +     +     +   0.   -  -    !   + +      !   -   +       -  -    +   +     -  -  -  -           +  +  +  +  +  +             -  +       @@ -4252,54 +3475,64 @@ EC    - #!  -    -   -   -        + #! +   +  +   +    +     - - JH      -  - -        -   -   - -         '%  -     + + + JH      +  + +    +     +   +   +  +  +        '% +  + +      -       -          -  -  -     -        -  +        +           +  +  +     +      -    +            -   -  -     -   - -    - -           -      - "#!#!          -      -   -     ! !   -     - #     -   + + + +   +  +    +      +        +       + "#!"#!    +     +    +       +   +      ! !    +  +         +  #   + +   +        @@ -4348,12 +3581,12 @@ EC         -     -     - -      -    -       +     +     + +           +    +                 @@ -4390,88 +3623,41 @@ EC     - -     + +         -   +  +    -  !  "      -         - -20       -  "  -       !    -     - - - -  - -   -   -       !  - &$  -            - -   - -     - -   - -      - - - -    - - -      -   - -  - - -      - - - - -  -     - - -  - -*('%*('%#! $"" $""  -  -     - -     -   ;9       -  -                      -          -      - -    -  +      +           ! "      ""  #  +!    +-  )))% ) +86   + +       + +  +     +  -   !    - ) -       - -   -  - -     -   97   -        -        -  -          +?=  + + +  +  +   + +   +       *(  +  +  + + &$ +" +   +  #"  !              @@ -4480,34 +3666,100 @@ EC          -  !" "  !  -#!#!!#!   #! %#  %#&$ $" -#!  - -           " - -      -                   -       -          -         -       +    +          +      +  + " +   +       + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +                  +   +   + +         +             +           -     - !    -      -     +      +    !   +         +          -           - -    +      +      +     -      - %#'%     - @><: - &$ + + % *           + @><: +  @@ -4517,8528 +3769,310 @@ EC -        +            -    - -  -     - -   -     - -     -  - ?=      - O^ [                                         ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      2       44466<  < <  < < < 66<BB<B<BB<B<B<BHHHHJJJJJNNHJJJJJJNNHJJJJ66   TX444      666      `d                      JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d<  < <  < < <          <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d""     "    <  < jj   <  < < 444      666      `d          <  < jj   <  < < 444      666      `d&&     &    <  < jj   <  < < 444      666      `d$$     $    <BB<Bll   <BB<B<B444      666      `d**     *    <BB<Bll   <BB<B<B444      666      `d,,     ,    <nn<n66   <nn<n<n444      666      `d<nn<n<nn<n<n<n..     .    <pp<p66   <pp<p<p444      666      `d<pp<p<pp<p<p<p((     (    <rr<r66   <rr<r<r<rr<r<rr<r<r<r444      666      `d00     0    BBBBBBBBBBBBBBBppprrrnnnnnnnnnnnnnnnnnnnnnnnnnnnppnnnpppnnnpppnnnpppnnnpppnnnpppnnnpnnBBBnnnnnnnnnnnnnBBBBBBBBBBBB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   nn   nnnnnn   nnnBBBnnnBBBnnnBBBnnnBBBnnnnnnnnnnnnnnnnnnnnnn         HHHHHHHHHHHHnnnpppppppppppppppppppppppppppppp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           pp   pppppp   ppp   ppp   ppp   ppp   pHHHHHHHHHHHHppHHHpppHHHpppHHHpppHHHpnnnnnnnnnBBBBBBBBBnnnrrrrrrrrrrrrrrrrrrrrrrrrrrrrrBBBrrrrrrrrrrrrrBBBBBB   rrBBBrrrBBBrrrrrrrrrrrrrrrr44444444                                         ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      222222222                      JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ       444 < -< -<666 - - - -    -   -       444 -   - -     -x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~    ~              x  x ~  """"~ """"""""""""   "x  x ~  $$$$~ $$$$$$$$$$$$   $x  x ~  &&&&~ &&&&&&&&&&&&   &xppxp~pp((((~p((((((((((((   (xnnxn~nn....~n............   .xrrxr~rr0000~r000000000000   0xBBxB~BB****~B************   *xBBxB~BB,,,,~B,,,,,,,,,,,,   ,    HHHHHHHH<  < < HHH<  < <           <  < < < <  < < <             HHH <  < < HHH   H <  < <       <  < <      <  < < < HHHHH   <  < <   <  < <      HHH   <  < <   <  < <      HHH <  < < <  < <     <  < <                   <  < < HHHHH<  < <             HHH                  <  < <      HHH  <  < <      HHH              HHH    <  < <    <  < <      HHH  <  < <      HHH  - -HHH <  < <      HHH  - -HHH <  < <      HHH <  < <       <  < < <                      <  < <                                   HH   H                                             <  < < < <          HHH <  < <  <  < <  < "<  < < < $$( <  < <      HHH  <  < <    <  < <      HHH <  < < < <  <  < <      <  < <  <  < <  < <     <  < <  <  .  . .        - - < -< -< - < -0 -0 -4 -  - -   - - < -< -< - < - < -< -< -< - < -  - -  6 -6 -6 -6 -6 - - - - - - - - - -6 -6 -6 -  - -  <<<BBB   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -D - -D - -  -   -  -  -  - - - - - - -  -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<  < < <  < < < <  < < < JJ<  < < < JPPPVVVVVZVHHHHHHHHHHHH\\\\\``HHHH\\\\\\``HHHH\\\\\\``HHHH\\\\\\``HHHH\HHHHHHHHHHHHdj\\\\\n\\     VVVV      HHH  tt<<<<<<<<zz<<<||||||<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -< - - - -< -<<<  < <<        <  < < <<<<      <  < < <  < <<<< <<<<  < < < <<  < < <<<<< <<<<<<<HHH< <<<  <<<<  < < <<<<   HHH<<         <<<  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<                                                          <<<                    <<<  <<<  <<< HH<<<H <<<<<<< HHP<<<<P<<P<<H       <<<<<<< HHP<<<<P<<P<<H<<< <<<                                        <<<<  < <            -                            <  < < <                     HHHHHHHH<  < < HHH HHHHH   <  < <   <  < <      HHH  <  < <      HHH  <  < <       <  < <       <  < <      HHH        DD..      .<<<HHH      HHH        66666666 <<<BBB         HHH HHH            <<<  <<<  ...        <<<  <<<  ...        HHH    HHH - - -       HHH   HHH     HHH        HHH     <<<<<HHH  <  < <   <  < <      HHH    HHHHHH  <  < <   <  < <      HHH        HHHHHHHH<  < < HHH<  < <       <  < < < <  < < <               HH     H                 HHH <  < < HHHHHHH$,H<  < <       <  < < < <  <  -<  - - - -<  -HHH<  < <                                 HHH   HHH       HHH                                                                     02468:::::<4>@B02468:::::<D>@B02468:::::<4>@BFFFFF00000FFFFF22222FFFFF44444FFFFFHH222FFFFF22JJJFFFFFH4444FFFFF4LLLLFFFFF222N2FFFFF0000PFFFFF   R   R   T   V   X   Z   \   ^   `   b   d HH   TXH   HHH<  < <      <  < <      <  < <      HHH     HHH       HHH<  < <      BBBBBBBBBBBBBBBBBBBBBBBB - - - - - - - - - - - -BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - - - - - - - -r -t -HH<<<H   n -n -n -n -n -n -n -n -n -n -n -n -n -n -n -BBBBBn -n -n -B -n -n -n - -        BBBHHH - - - - - - - - - - - -HH<<<H   z -z -z -z -z -z -HHzzzHz -z -z -z -z -z -HHzzzHHHnnnHn -n -n -n -n -n -n -n -n -n -n -n -| -| - - - - - - - - - - - - - - - - HH -  - - HH -  -n -n -n -n -n -n -| -| -z -z - - - - - - - - - - - - - - -n -n -n -n -n -n - - - - -  - - - -  - - - -f`d`d<<<TX<<<<<<TT<      BBB      HHHHHHHHHHHH       HHHHHHHHH         HHH   BBB   TXHHHH   HHHHH`dHHHHHH`dHHHHHH`dH   - - - -  -  -    - -                                                                     HHH                                                       HHHH   HHHH HHH<<<HHHHHHHHHH                                  HHH                  HHH                        BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB   BBBBBBBBB         BBBBBBBBBBBBBBBBBBBBB                                                                                                                  HHHHHHHHHHHH             HH<<<H     HHH<<<<<<BBBtt<<<<ttttttTXttHHHTXTX`d - - -`d -TX     TX                                               tt   TXtttt<<<<<<<<<PPPttTXTXtttttt<<<<ttTXBBBttTXBBBttTX    TXTX<<< -<<< - <<< - - <<<PPP   HH<<<H<<<<<<HHH<<<  TX                                             HHHHHH                         BBBBBBBBBBBB                .<<.<.<P<<P<P<."".".".<<.<.<P<<P<P<$$((<<<$$**<""<"<"<<<PPPHHHHHHHHHHHH<""<"<"<<<<<<<P<<P<P<."".".".<<.<.<P<<P<P<<<<<<<PPPHHHHHHHHHHHH<""<".""."."<"    -    - 0 -0 -4 -. -. -. -. -. -. -: -: -: -. -. -. -. -. -. -. -. -. -. -. - - - - - -. -. -. -HH - -H -. -. -. -. -. -. -. -. - - -. - -. -HH<<<H   - -  -  - - - - - - - - - - - - - - - - - - - - - -HHHH - -H -HHHHH - -H -H< -< -HHHH< -@ -@ -@ -   HHHHHH. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. - - - - - - - -HH - -H - - - - -HH - -H - - - - -HH - -H - - - - -   -B -B -    -    -  -   -    -  -   -     : -: -HHHHHH - -D -D -       - -HHHHHHHH`d...HHHH. -. -. -HHHH    -    - HHHH...< -< -< -< -< -< - < -< -< -   < -< -< -      < -< -< -   . -. -. - < -< -< - -   -    - -   - -   - -       - -  . -. -. - . -. -. -   - - - -  -  -  JJJ   - -      HH - -H -      HH - -H -      - -         - -    . -. -. -    . -. -. - HH<<<H -   - - - HH - -H -  HH - -H - < -< -< -< -< -< -< -< -     < -. -. -     . -     . -. -. -               - -      . -. -. - P   -P -P -HH<<<HPPPR - -R - -V - -V - -P - -P - -P - -R - -R - -X - -X - -PPPR - -R - -Z - -Z - -... - - - -R - -R - -\ - -\ - -. -. -. -. -. -. -R - -R - -^ - -^ - -P  -   - P -  - P - -P - -P - -P -  - .` - -` - -.` - -.` - -P - -P - -P - -HH<<<HHH<<<H -<<< -  - - - - .` - -` - -.` - -.` - -P - -P - -` - -` - - - - - -` - - - -P - - .` - -` - -.` - -.` - -  - - - - - - - - - - -  - - - - - - - -  HH - - - -H - -  - - - - - - P - -P - -P - -  -<<< -    - - - -  - - . -. -. -. -. -. -   HHHHHH - - - - - - - -` - -` - -d - -d - - - -TX   HH<<<H     BBB   HHHHHHHHHHHHHHHHHHHHHHHH         BBBBBBBBBBBB   BBB         TXTXHH<<<H   TX""".jj.j    .jjj    j           <<<  < < <   lll<<< llHHHHHHHHHH`dHHHH`dHHnnn.nn.n    .nHHHHHHHHHHH`dHHH`dHjj`d...D -D -t -t -x -t -t -z -z -...t -t -| -| -. -. -. -t -t -~ -~ -. -. -. -`d@ -@ -@ -@ -@ -@ -@ -@ - @ -@ -@ -@ -@ -: -: -: -HH<<<HHH - -H . -. -. - HH<<<H -<<< - .<<.<.<  .<<.<.<  HH - -H -  HH - -H - HH.<<.<.<H@ -@ -@<<@<@<@ -@ -@ -@ -@ -@ -@ -@ -@ -@<<@<@<@ - @ -@ -@ -  - -  `dBBBBB                    HHH     llTX.  . .                      HH<<<H   HHHHHlll    H  lll      lll    HHHHHH              HHlll    Hlll    llljjjj    lllllljjjjj     <<lll<llljjjjj<  < < .  .      HHH   HHH                                    HHHHHH<<<   HHHHHH <<<     ...  <<<   <<<  ...  <<<       HH<<<H   HH<<<H                                                    ...PPPPPPPPPHHHHHHPPPHHHH<  < < PPPHHHH   <<<PPPP<<P<P<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH   HH<<<H   ...PPP            PPP<  < < <  <      < <  <       <    <<<   PPPP<<P<P<                     ...PPPPPPPPP     HHHHHH   PPPHHHHHHHHH <<<HHH  <<<HHH       HHH HHHHHH   ...PPP<<<P<<P<P<          HHH        HH   H     HH   H                    ...HHHHHH     PPP        HHH        <  < < HHHH     <  < < HHHHHH   HHH   HHHHHHHHHH   HHHHHHHHHHHHHHHHHHHHHHHH  HH<<<H<<<P<<P<P<<  < < HHH           HHHHH   HHH   H<           < <           < <           < <           < <           < <           < <           < <           < <         < <         < <           <      <  < < < PPPHHHH<  < < PPPHHHH PPP<  < <   HHHPPP    <  < < <  < <  <         < < < <                                <<<<<<       <  < <                          HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH   <<<PPPP<<P<P<HHH   ...PPP   HHH   HH<<<H        <<<<<<       fHHH<B<Bx  x                  JJJ`d                                                                                                                                              - -<<<`d<< - - - -tt<< - - - - - -          `d                         `d    `d    `d                            `d                                                          `d    `d    `d    `d       `d    `d    `d    `d    `d    `d                      `d    `d    `d    `d    `d                                                                                                                                      -                                          - - - - - -HHH  -  -  - -  -  -   HHH  - - - -  -  -  -  -  -&&&  - -  -  -  -JJJ   - -  -  -        - -  JJJ  HHHJ -J - - -J -D - -D - -( - -( - -( - -( - -(  -   - ( -  - ( -  -  - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -   -  -  -  -  - HHHH <  < <        HHHHHH ..        <  < <           HHHHHH      ..   <<< <  < <        HHHHHH  . -. -. -. -. -: -: -: -   HHHHHH. -. -   . -. -. -   . - -   - - - - - - -HH<<<H -HH - -H - - - - -: -: -: -: -: -: -HHH - -4 - -4 - -. -. -. -. -. -. -. -. -. -. -6 - -6 - -D -D -D -D -D -4 - -4 - -< -< -< -< -< - -   -    - -      - -  . -. -. -    - - - -  - -  - -  JJJ     - -    . -. -. -    . -. -. - HH<<<H -   - - - HH - -H -  HH - -H - . -. -     . -     . -. -. -               - -      . -. -. - > - -> - -< -< -< -< -< -< -< -4 - -4 - -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -HH - -H . -. -. - HH<<<H .<<.<.<  .<<.<.<  HH - -H -  HH - -H - HH.<<.<.<H@ -@ -@<<@<@<@ -@ -@ -@<<@<@<@ -@ -@ -@<<@<@<HHH@ -@ -@ -@ -@ -@ -@ - @ -@ -@ -@ -@ -@ - -<<< -D - -D - -P - -P - -P - -P - -P  -   - P -  - P -  - HH<<<HHH<<<H -<<< -  - - - -  - - - - - - - P - -P - -P - -  -<<< -    - - - -  - - . -. -. -. -. -. -   HHHHHH - - - - - - - - - - - -  - - - - - - - - .` - -` - -.` - -.` - - .` - -` - -.` - -.` - -  HH - - - -H - - 4 - -4 - -J -J -J -J -J -J -J -J -J - - - - -  - -   - -   - - HH<<<H . -. -. -  HH - -H -  HH - -H -  ttTXTXtt. -. -   D -D -    -   -: -: -: -   - -  - HHH - - - - - -HH<<<HHHHH - -H -HHHHH - -H -H -HH - -H - - - - - -HH - -H - - - - - -HH - -H - - - - -. -. -HH - -H -. -. -. - - - - - -. - - - - - - - - - - - - - - - - - - - - - - -. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. -< -< -HHHH< -@ -@ -@ -B -B -. -. -. -     . -         -   -. -. -   . -. -. -   . -< -< -HHHH< -: -: -. -. -. -      - -. -. -. - - -HHTXH - - - -. -. -. -. -. -N - - - -N - - - -N - -. -. -. - - - - - -. - - -N - -: -: -: -   HHH - - - - - - -   -P - -P - -D -D -. -. -. - - - - - -: -: - - -: -: -: -N - - - -N - - - -N - -: - - -N - -HHH - -B -B -. -. -. -N - - - -N - - - -N - -. - - -N - -    -   -HH - -H. -. -. -. -. -R -H -R -H -R -. -H -R -: -: -: -. -. - - - - - -. -: -: -: -: -: -R -H -R -H -R -: -H -R -HHH - -. -. - - -. -. -. -. -. -. -T - -. - -T - -. - -T - -. -. - -T - -: -: -: -: -: -: -: -: -T - -. - -T - -. - -T - -: -: -: - - -: -. - -T - - - -HHH. -. -. -. -. -   . -. -. -   . - : -: -: -V -V -D -D -. -. -. -     : -: -: -: -: -   : - HHH - -. -. -. -. -. -R -H -R -H -R -. -H -R -: -: -: -: -: -: -: -: -R -H -R -H -R -HHH: -H -R -HHH - -. -. -. -. -. -   . -. -. -   . - . -. -   . -: -: -: -X -X -D -D -. -. -. -   . -. -. -     . -. -   . -     : -: -: -: -: -   : - HHH - -. -. -. -. -. -R -H -R -H -R -. -H -R -: -: -: -: -: -: -: -: -R -H -R -H -R -HHH: -H -R -HHH - -D -D -: -: -: -   - -  - HHH    - - - - - - -   -HH<<<HHHHH - -H -HHHHH - -H -H -HH - -H - - - - - -HH - -H - - - - - -HH - -H - - - - -. -. -HH - -H -. -. -. - - - - - -. - - - - - - - - - - - - - - - - - - - - - - -. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. -< -< -HHHH< -@ -@ -@ -: -: -HHH - -. -. -. -. -. -. -. -. -. -. -D -D -D -. -. -. -: -: -: -   HHHHHHHH<<<H - - - -Z -Z -D -D -D -D -D -D -D -D - -   - - - - -: -: -: -: -: -. -. -. -. -. -. -. -HHH - -. -. -.<<.<.<.<: -: -: -: -: -:<<:<:<:<HHH - -\\\\\\\\\     - -     - -    . -. -. -  . -. -. - HH<<<H HH - -H -  HH - -H -   -   - - -          . -. -. - < -< -    - -    - -  - -    . -. -. -   - -     - -    . -. -. -  . -. -. - HH<<<H HH - -H -  HH - -H -  ` -  -  - ` -  -  - ` -  JJJ   -   - - -     . -. -. -              . -. -. -       - - b -b -d -d -b -b -f -f -B  B <<<<       h   -h -< -< -< -< - -<<< -   . -. -. -.  . . HHHHHHHH<<<HHH<<<H     - -   - B -B -. -. -. -. -    -   -< -< -< -< -< -< -< -< -< -< -< -< -n -n -nt -t - - - - - - - - -   HHH  - -   - -   - - : -: -: -n -n -n - - - -v -v -v - n -n -n: -: - - - - -v -v -v -v -v -v -HHH         < -< -< -   - - - -  -  -   < -< -< -       - - - -  -  -   < -< -< -       - - - -  -  -   < -< -< -       - - - -  -  -   < -< -< -       - - - -  -  -  z~~HH<<<H   HHHfx -x -. -. -. -. -. -. -< -< -< -    -   -<<<<<<HHH<<<   HH - - - -H -  -    - -  -P - -P - -HH - - - -H - -H - -   - -  -  -HHHHPPPP - -P - -P - -... - - - - - -. -. -. -. -. -. -.` - -` - -.` - -.` - -`d@ -@ -HH - - - -H - -H - -   - -  -  -HHHH.... -. -. -: -: -: -. -. -. -. -. -. -. - - - - - -. -. -. -HH - -H -. -. -. -. -. -. -. -. - - -. - -. -. -. -. -. -. -. -HH<<<H   - -  -  - - - - - - - - - - - - - - - - - - - - - -HHHH - -H -HHHHH - -H -H< -< -HHHH< -@ -@ -@ -   HHHHHH. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. - - - - - - - -HH - -H - - - - - -HH - -H - - - - - -HH - -H - - - - - -   -. -. -......<<<<<<<<<<HHH.<<.<.<<<<           : -: -: -   : -HHH - - P - -P - -HH - - - -H - -H - -   - -  -  -HHHHPPPP - -P - -P - -... - - - - - -. -. -. -. -. -. -.` - -` - -.` - -.` - -`d@ -@ -HH - - - -H - -H - -   - -  -  -HHHH.... -. -. -   - -  - : -: -: - - -. -. -      - -  - -   - -  . -. -. - HH - -HHH<<<H: -: -: -     - - - - - -   - -  - HHH  - - - -HHH   - -  - -: -: - - - -    - - - -HHH - - - - -HHH - - - - - - - - - - - -  - - - -  - -   - - <<< -< -<<<< -< -: -: -: - -   -. -. -. -. -. -. -   - -  - HHTXHHHH - -  - -  - -  - -  - -HH<<<HHHHH - -H -HHHHH - -H -H -HH - -H - - - - - -HH - -H - - - - - -HH - -H - - - - -. -. -HH - -H -. -. -. -. -. -. - - - - - -. -. -. -. -. - - -. - -. - - - - - - - - - - - - - - - - - - - - - - -. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. -< -< -HHHH< -@ -@ -@ -  - -  . -. -. - HH<<<H      HH - -H -  HH - -H -  HH - -H -HHH  < -< -< - - -   - - - -  -  -   -  -    JJJ P   -P -P -< -< -< -< -< -< -< -< -     < -. -. -     . -           - -      . -. -. -         . -. -. -  <<<      HH - -H -      <<<     HH - -H -        - -  -   -   . -. -. -    . -. -. - . -. -. - - - - -P<<<<P<<P<<<<<<<< P<<<<P<<P<<.<<.<.<<<<<<<<<<<<<<<<<<<  P<<<<P<<P<<.<<.<.<.<<.<.< P - -P - -. -. -. - -<<< - - - - -  -<<< - P - -P - -P - -   - - - -  - -  P - -P - -P - - HH<<<H - - - - - - - - - - - - - - - - - -  - - - - - - - - .` - -` - -.` - -.` - -P - -P - -` - -` - - - - - -` - - - -P - - .` - -` - -.` - -.` - -  HH - - - -H - - HH<<<H   HHHHHH. -. -. -D - -D - - - - - -D -D -P - -P - -P - -P - -   HHHHHH - - - - - -: -: -: -: -: -: -: -: -P - -P - -P - - - -P - -P - -P - -HHH - -P - -P - -  - - - -  P - -P - -P - -  .` - -` - -.` - -.` - -   -<<< - HH - - - -H - -  - - - - - - - - - - - - - - - - - -  - - - - - - - - P - -P - -P - -P - -P - -P - -P - -P - -P - -P - -P - -P - - -<<< -  - - - -  P - -P - -P - -   - - - - - -HH<<<HHH<<<H   - - - -  - - HHHHHH   . -. -. - -<<< -. -. -. -.` - -` - -.` - -.` - - .` - -` - -.` - -.` - - P - -P - -` - -` - - - - - -` - - - -P - - - - - - - - - - - - - -  - - - - - - - -  HH - - - -H - -  - - - - - - - -P - -P - -P - -P - -P - -P - -D -D - - - -... - - - -. -. -. - - - - -J -J -J -J -J -J -J -J -J - - - - -  - -   - -   - - HH<<<H . -. -. -  HH - -H -  HH - -H -   - - - - - -  - - - -   - - - - - - - - -  -  - -   - -  - - - - - - - - - - - - - - - - - - -  - -   - -  - - - - - - - - - - - - - - - - -  - -   - -  - - - - - - - - - - - - - - - - - - -. -. -J -J - - - -   .... -. -. -J -J -J -     - -   - -   - -  . -. -. -  - - - -HH<<<H HH - -H -HHH  HH - -H -  HH - -H -  - - - - - - - - - - - -HHH    - - -  -  - - -: -: - - - - - - - - - - - -HHH - -B -B -J -J -    < -< -< -              .... -. -. -J -J -J -: -: -: -   - -  - HHH    - - - - - - -   -< -< -HHHH< -  - -  . -. -. - HH<<<H HH - -H -HHH  HH - -H -  HH - -H -    - -   - -  - - - -HH   H          - -       < -< -< -    : -: - - - -        - - - - - - -HHH@ -@ -HH - -HHH<<<H -<<< -HH<<<H: -: -: -@ -@ -@ -   HHHHHH@ -@ -@ -. -. -. -. -. -. -. -. -. -  . -. -. -  .<<.<.<  .<<.<.<  HH - -H -  HH - -H - HH.<<.<.<H@ -@ -@ -@ -@ -@ -@ -@ -@<<@<@<@ -@ -@ -@<<@<@<@ -< -< -HHHH< -. -. - - - - - -. - - -. -. -HH - -H -. -. -. -. -. - - -. - -. -   - -  -  - - - - - - - - - - - - - - - - - - - - - -HHHH - -H -HHHHH - -H -H. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. - - - - - -HH - -H - - - - - -HH - -H - - - - - -HH - -H - - - - - -   - - -@@@ - -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@ -@<<@<@<@ -@ -@ -@<<@<@<@ -@ -@ -@ -@ -@ -HH - -H  . -. -. -  .<<.<.<  .<<.<.<  HH - -H -  HH - -H - HH<<<H - - - -P -P -P -P -@ -@ -@ -@ -@ -@ -HH<<<H: -: -: -    -<<< - - - - -`d@ -@ -@ -@ -@ -@ -HH<<<H -<<< -   : -: -: -@ -@ -@ -HH - -H - - - - - - - - - - - - - - - - - - - - - - - - - - -` - -` - - - - - - - - - - - - - - - - - - - - - - -       ` -  -  - ` -  -  - ` -HH   - -  - - - - - - - - - - - -  - -    - - - - HH<<<H   ` -  -  - ` -  -  - ` - - - - - - - - - - - - - - - - - - -` -  -  - ` -  -  - ` -HH   - - - -  - -  - -HHHHPPP   - - - -  - -  - -HHHHP - -P - -P - -   - - - -  - -  - -HHHH... - - - - - -   - - - -  - -  - -HHHH. -. -. -. -. -. -   - - - -  - -  - -HHHH -<<< - -<<< -  - - - -  - - - - - - - - - - - - - - - - - -  - - - - - - - -  P - -P - -P - - HHHHHH   - - - -  - -    HH<<<HHH<<<H. -. -. -. -. -. -.` - -` - -.` - -.` - - - - - - - - - - - - - - - - - -: -: - - - - - - -< -< -< -      - - - - - - - -  - -   - - HHH - - - - - - - -D -D - - - - - - - - -   HHH: -: -: -HH<<<H@ -@ -@ -D -D - - - - - - - - -   HHH: -: -: -D` - -` - -D` - - - - - - - - - -   HHH:` - -` - -:` - -:` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -` - -` - - - - -` - - - - - - - -` - -` - - - - - - - -` - -  - -  - - - - - - - - - - - -` -  -  - ` -  -  - ` -HH   - - - -  - -  - -HHHH...   - - - -  - -  - -HHHH. -. -. -   - - - -  - -  - -HHHH@ -@ -@ -@ -@ -@ -: -: -: -   HHHHHH - - - - - -HH<<<HHH - -HHH - -HHH<<<H . -. -. -  .<<.<.<  .<<.<.<  -<<< -@ -@ -@<<@<@<@ -@ -@ -@<<@<@<@ -@ -@ -@ -@ -@ -@ - - - - - - - - - - - - - @ -@ -@ -tt<<<BBB<<<BBBBB<<<B<<<BBB - - - - -HHH - -             - - - - - - - - -  - -  -  HHHHH   H HHH HHH   - -                           - - - - - - - - -                  - - - - - -HHHHHHHHHHHHHHHHHHHHH   HHH  - - -   - - -  -  -  - -  -  HHH  -J J  -  -  -J   -  -  -   -  -  - ttt  - -  <<<BBB JJJJ J J JJ - - -HHHJ  - -  <<<BBB     - - -  -   - - - -    HHHt  - -  <<<BBB   - -      - -  <<<BBB   - - - - - - -    HHH    - -  <<<BBB  JJJ JJJTXHHHH - - - - - - - - - - - -TXTX<<<BBB - - -J< -< -J< -.J -J -.J -.J -HHHH  - -  -TXJ< -J -J -.J -J -.J -.J -J -JJ. -. -. - - - -JHH<<<HJJHHHHJJ -J - - - - - - -J -J -J -HH<<<H< J -J -J -   J - - - -J -J - - - -J -J -J -`d<<J -J - - - - -BBB - - B!HH - -H - J -J -J -J -  - - -  <<<BBB HHH<<<BBB <<<BBB  - - - - -HH<<<H - - - - -  - - -  <<<BBB  <<<BBB HHH - -  - - -  <<<BBB  - -  - - -  <<<BBB                        -        -        -  -  -     - - -TX   TXTX - - - - - - - - - - - - - - - - - - - - - -HHHHHHHHHHHHHHH - - - - - - - -H< H< HHH - - - -TXTX -HHH - - -HHJJJHJ -J -                  TX - - - - -BBB - -HHHHHHHHHHHHHHHHHH<<<<<<<  J -J - - - - - - -J -J -J - - - - - - -J -J -J -HH<<<H< J -J -J -J - - - -    - -    <<<BBB        JJJ     - - -   - -  <<<BBB   - - -   - -  J -J -J -  <<<BBB   J -J - - - -TXTXJ -&&& $ $ $((( $(((((((((HHH  $ $ $ $ $ $     TX       * -* -. - - -`d<<<BBB`dJ -J -J -.J -J -.J -.J -. -. -. - 0 -0 -0 - 0 - 0 -HHHH`d -    - "666 -6 -6 -66 -# - - - - - -HHH - -  -  -  -   -  -  -  -   - -  -  -  - -  -$  HHH  - - -HH - -H -$ - - - - - - - -$ - - - - - - - - -$ - - - - - - - - -$ - - -HHH  - - -. -. - - -. - - -JJ2 -2 -2 -J - -( - -( - -( - - -J -J - - - - - - - -% -J -J -J - - - - - - - - - -% -J -JJJJHHJH<<<JHJJ  - -  -JJHHJHHH - -H -JHJHHJHHH - -H -JHJ  J J JHHJHJH - - -J< -< -J< -J< -J@ -@ -J@ -J@ -J -J - - -J - - -    - - -HH - -H - - - -    - - -HH - -H - - - -HH - - - -H -% -& -J -J -J -J -J -J -J -J -J -J -J -HH - -H - - -J -J -J -HH - -H - - -J -J -J -HH - -H - - -J -J -J -   J - - - 6 -6 -6 - 6 -# -J J J    - -  -       J J J  HHHJ -J - - -J - - -  - -  <<<BBB   - - - - - - - -8 -< -< -HHH - -  -  -  -   -  -  -  -   - -  -  -  - -  -  HHH  -JJ - - -JJJJ6 -6 -2 -2 -JJJJJJ  -  - - - -HHH  - -'H(B - -B - -F - -  - -6 -6 -6 -  -6 -# <<<BBB6 -6 -6 - < B!6 -# 6 -6 -6 - 6 -#H - -H - -L - - - - - - - - - - -N - -N - -R - -`d(  -   - ( -  - ( - -( - -( - -( -  -  - - - - - -( - -( - -( - -( - -( - -( - -( - -( - - - - -JHHJHJH - -JJJ6 -6 -6666666  - -  <BBB  T -T -`d  - -  <<<BBB       - - - - -         HHHH    HHHH              - - -HHHHHHHHH  - -  <<<BBB JJJJJJJJ - - -HHHJT -T -  - -  <<<BBB JJJ  -  -  - -  -  HHH  -  -  -  -   -  -  - J J  -  -  -J T -T - - -V -V - - - - -                   <<<TX   TX                     - - - - - -HHHHHHHHHHHHHHHHHHHHHX -X -X - - - - - - -tttJJ - - -HHHJJ J J J J J   - -  <<<BBB JJJ   - -  <<<BBB   -  -  - -  -  HHH  -J J  -  -  -J   -  -  -   -  -  - Z -Z - - -  - -  <<<BBB  Z -Z -  - -  <<<BBB  Z -Z -\ -\ -TXZ -Z -^ -^ -    ` -` - - - - -  -  -  - -  -  HHH  -   HH<<<H - - - - - -  - -  -  HHHJ J J    - -TTTT  - -  <<<BBB JJJJJ - - -JJJJ   V -V -V - - - -HHHVVV  J J J   - -Z -Z -Z - - - -HHH  - -  <<<BBB    - -  <<<BBB    -  -V -V - - -                         d -  -d -  -d -TXf f f&&&   JJJX -X -X -  - -  -  HHH&  - -  -  HHH X -X -X -    - -  -$   - -  -&&&  - -  -  -  -  &&&     &&&     J J J  JJJJ -J - - -J -HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH    - -  <<<BBB    J J J     - -  <<<BBB        HHH  - -  -  -  - -  -  HHH  -  -  -  - -  -  HHH  -    X -X -X -` -` -h -X -h -X -h -HHHX -h -  -  -  - -  -  HHH  -X -X -: -: -: -. -. -. -HHH  - - -    - -   <<<BBB    - - -  - - - - -  - - - <<<BBB<B                  HHHHHHHHH  - - -    - - -  X -X -HHH    - - -    -  -  -   -  -          &&&   f f f fHHHHHHHHH    - -  -       J J J  JJJJ -J - - -J -  - - - - -j -   -j -   -j -j -   -j -   -j -&&&l -l -l -  -  -  - -  -  -  -   -  -  -  -   -HHH  -  -  - -  -  HHH  -    J J J  HHH  -  -nnnn   - -  -       J J J  JJJHHHJ -J - - -J -p -p -  -  -  -<<<TXHHH - - - - -JHHJHJHJHHJHJHJJJ  - -  <<<BBB   - -< -< -HHH  -  -  - -  -  HHH  - - -HHH 0 -0 -0 - 0 - 0 - 0 -H  -  -  - -  -$  HHH  -r -r -0 -0 -  - -  <<<BBB   - - - - - - - -<<<BBB< B!   <<<BBB   <<<BBB    <<<BBB < B! < B!     - - - - - -HHH  -  -  - -  -  HHH  -  -  -  - -  -  HHH  -  - -V -V -V -  <<<BBBV -V -V -  V -V -V -  - -x - -x - -x - -  -  -  -x - -  - -  -  HHH  - -  <<<BBB   J J J   - -  BBB  VVV<<<BBB x - -x - -HH - -H -H - - - -HH - -H -  - -V -V -V -  - - - -x - -x - -| - - - -| - - - -| - - - - - - - - - -$  - -V -V -V - x - -x - -| -. -. -. - -| -. -. - -| -. - - - -. -. - - -. - -$  - -V -V -V - x - -x - -HH<<<H<H< - - -HH<<<H<   - -V -V -V -  <<<BBBV -V -V - x - -x - -    - - -    -  -  - -  -  HHH  -  - -V -V -V - ~ - -~ - - - -x - -x - -x - -  - -  -  HHH -x - -x - -HH - -H -H - - - -HH - -H -  - -V -V -V - x - -x - -    - - -    -  -  - -  -  HHH  -  - -V -V -V - x - -x - -HH - -H -H - - - -HH - -H -  -  -  - -  -  HHH  -  - -V -V -V - x - -x - -<HH - - - -H - -H - - - - -HH - - - -H -  -  -  -  - -  -  HHH  -  - -V -V -V - 6 -6 -V -V -V -V -  - -  <<<BBB   - -6 -6 -6 -  -  -  - - - - - -6 -6 -) - -6 -6 -) - -  - -  -  HHH  - -  <<<BBB    J J J   - -  <<<BBB  6 -6 -6 -6 -6 -6 -D - -D - - - -6 -6 -) - -6 -6 -) - -6 -6 -) - - - - - - - - - - - -6 -6 -) - -6 -6 -) - - - - -HHH -6 -6 -) - -  -  -  - -  -$  HHH  -  - -6 -6 -6 -  <<<BBB6 -6 -6 -  6 -6 -6 - 6 -6 - - -  -6 -# - -  -6 -# - - - < B!6 -# - < B!6 -# - - 6 -# - 6 -# -6 -6 -6 -  -6 -# - - < B!6 -# - 6 -# -6 -6 -6 -  - -  <<<BBB   - - - -  - -6 -6 -6 -  -6 -# <<<BBB6 -6 -6 - < B!6 -# 6 -6 -6 - 6 -# - - - - - -D - -D - - - - - - - - - - - - - - - - - - -  -  - - - -HHH  -D - -D - - - -  - -'H( - -  - -'H( - -  - -'H( - - - - - - - - - - - -  - -'H( - -  - -'H( - - - - -HHH -  - -'H( - -  -  -  - -  -$  HHH  -     *        HHH     * - - - - - - - - - - - - &&&&&&<<<BBB &+,&-< B! -&&&&&& - - - -&+,&- -. -&&&&&& - - - - -/ - -/ - -0 -&+,&- - -/. -/ -&&&&&& - - - - - - -1 -2 - -1 -2 - - - -34 -&+,&- - - 1 - 2. - 1 - 2 - - -&&&&&& - - - - -&+,&- -. - - - -/ - -&&&&&& - - - - -/ - -/0 - -/ - -&+,&- - -/. - - - - -1 -2 - - -&&&&&& - - - - - - -1 -2 - -1 -234 - - 1 - 2 - -  - &+,&- - - 1 - 2.&&&&&&<<<BBB &&&&&&   &&&&&&  &&&&&&  * &&&&&& &&&&&&&&P<<<<P<<P<<& - - - -&+,&- -. -&+,&- -. -&+,&- -.0 -&+,&- - -/. -/0 -&+,&- - -/. -/0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -2 - -&+,&- -. - -&+,&- -. - -&+,&- -.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2. &+,&-< B! &+,&-< B! -&+,&- -. -&+,&- -.0 -&+,&- - -/. -/0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -2 - -&+,&- -. - -&+,&- -.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2.&+,&-< B!&+,&-< B! &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! &+,&-< B! -&+,&- -. -&+,&- -.0 -&+,&- - -/. -/0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -2 - -&+,&- -. - -&+,&- -.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2.&+,&-< B!&+,&-< B! &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! &+,&-< B! -&+,&- -. -&+,&- -.0 -&+,&- - -/. -/0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -2 - -&+,&- -. - -&+,&- -.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2.&+,&-< B!&+,&-< B! &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! -&+,&- -.0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -2 - -&+,&- -.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.&+,&-< B! &+,&- .&+,&-5 .&+,&-6 *. &+,&-7&&+,&-8P<<9 &+,&-< B! &+,&-< B! -&+,&- -. -&+,&- -.0 -&+,&- - -/. -/0 -&+,&- - -/. -/34 -&+,&- - -1 -2. -1 -234 -&+,&- - -1 -2. -1 -2 - -&+,&- -. - -&+,&- -.0 - -/ - -&+,&- - -/.0 - -/ - -&+,&- - -/.34 - -1 -2 - - -&+,&- - -1 -2.34 - -1 -2 - - -&+,&- - -1 -2.&+,&-< B!&+,&-< B! &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9 &&&<<<BBB  -&&& - - - -&&& - - - - -/ - - - -&&& - - - - - - -1 -2 - - - - - - - -&&& - - - - - - - -/ - -&&& - - - - -/ - -/ - - - - - - -1 -2 - - -&&& - - - - - - -1 -2 - -1 -2 - - -&&&<<<BBB &&&   &&&  &&&  * &&& &&&&&PPP&&&&&&& <<<BBB &&&&&&HH&&&H&&P<<<<P<<P<<& - - - - - - - - - -: - - - - - - - - - - -; -< - - - - -       - -  -: - -    - - - -  -; -< - - - -  - - - - - - - - - - -/ - - - - - - -/ - -/ - - - - - - -1 -2 - - - - - - - - - -1 -2 - -1 -2 - - - - - - - - - - - - - -/ - - - - - - -: - -/ - - - - - - -1 -2 - - - - - - - - - -; -< - -1 -2 - - -        - -  -  - -  -:  -  - - - -  - -  - - - -  -; -<  - -<<<BBB          *    <<< &&&<<<BBB  -&&& - - - -&&& - - - - -/ - - - -&&& - - - - - - -1 -2 - - - - - - - -&&& - - - - - - - -/ - -&&& - - - - -/ - -/ - - - - - - -1 -2 - - -&&& - - - - - - -1 -2 - -1 -2 - - -&&&<<<BBB &&& &&&  &&&  * &&& &&&&&P<<<<P<<P<<&&&&+,&-< B!&+,&-< B!&+,&-< B! &+,&- . &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! &+,&-< B! &+,&-< B!P<<<<P<<P<<HH&&&H&+,&-< B!&+,&-< B!&+,&-< B! &+,&- . &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! &+,&-< B! &+,&-< B!P<<<<P<<P<<P<<&&&       - -  -/ - -    - - - -  -1 -2 - - - -  - - - - - - - - - - -/ - - - - - - -/ - -/ - - - - - - -1 -2 - - - - - - - - - -1 -2 - -1 -2 - - -       - -  -  - -  -/  -  - - - -  - -  - - - -  -1 -2  - -<<< <<<BBB &&P<<<<P<<P<<& - - - - - - - - - -/ - - - - - - - - - - -1 -2 - - - - - - - - - - - - - - - -/ - - - - - - -/ - -/ - - - - - - -1 -2 - - - - - - - - - -1 -2 - -1 -2 - - -<<<BBB        *  &&&&&&<<<BBB <<<BBB &&&&&& - - - -&&&&&& - - - - -/ - - - -&&&&&& - - - - - - -1 -2 - - - - - -&&&&&& - - - - - - -&&&&&& - - - - -/ - - - -/ - - - -/ - -&&&&&& - - - - - - -1 -2 - - - - -1 -2 - - - - -1 -2 - - -&&&&&&<<<BBB&&&&&&   &&&&&&   &&&&&&  *&&&&&&  &&&&&&P<<<<P<<P<<&&&&+,&-< B!&+,&-< B!&+,&-< B! &+,&- . &+,&- . &+,&- .&+,&-5 .&+,&-5 .&+,&-5 .&+,&-6 *.&+,&-6 *.&+,&-6 *. &+,&-7 &+,&-7 &+,&-7&&+,&-8P<<9&&+,&-8P<<9&&+,&-8P<<9 &+,&-< B! &+,&-< B! &+,&-< B!P<<<<P<<P<<&&&       - -  -/ - -    - - - -  -1 -2 - - - -  - - - - - - - - - - -/ - - - - - - -/ - -/ - - - - - - -1 -2 - - - - - - - - - -1 -2 - -1 -2 - - -       - -  -  - -  -/  -  - - - -  - -  - - - -  -1 -2  - -<<< <<<BBB &&P<<<<P<<P<<& - - - - - - - - - -/ - -TX - - - - - - - - -1 -2 - - - - - - - - - - - - - - - -/ - - - - - - -/ - -/ - - - - - - -1 -2 - - - - - - - - - -1 -2 - -1 -2 - - -<<<BBB        *   - -P<<<<P<<P<< - - - - <<<BBB < B=P<<<<P<<P<< -`d - - -P<<<<P<<P<< - -TX       `dJJJJJJJJJJJ  - -  -> - -HHHHHHHH`dJJJ<<<HHHHHHHHHHHPPPHHHH`dJ     <<<    HHH      <<<         <<< HH<H       >  HHH     ttBBB`d<66<6<6444HHHHHHH<<<<<<      &&&<<<BBB              -                   HHHJJPPPJJ?P@J?P@ PPP  J?P@J?P@J?P@J?P@  PPPBBBBBBBBBBBBBBB BBPPPBBBBBBBBB PPPPPP    THHHHXTHHHHX     J  J J J  J HHHHHHHJ  HHHHHH     HHHHHHH - -JJJ                &&   &&&   &&&   & PPP&&&   PPP  -* - -* - -* -PPP&&& -   <,,<,<,...    PPP  PPP  PPP   ...   <00<0<0     PPP  PPP PPP&&&   &&& PPPHHTXH               ::   @@@:::::TX   @B -B -@B -HL<<<@B -   @ -@ -   @ -::@ -@ -@ -HH<<<H   :::::           N -N -R -<  < < N -N -T -T -:::V -V -           <  < <      Z< \^`bd@B -B -@B -HL - -@ff@f                  @hh@h                  @jj@j               ""   "@ll@l               &&   &@nn@n                  @pp@p                  @rr@r                   @tt@t               $$   $@vv@v               @xx@xBBB BBB BB   B   BBB **   *@zz@zBBB BBB BB   B   BBB ,,   ,VffVf          VhhVh          VjjVj          VllVl          VnnVn          VppVp          VrrVr          VttVt          VvvVv          VxxVxBB   B   BBB VzzVzBB   B   BBB ::@@ -@ -@@ -@ -@ -@ - @ -@ -@ - @ -@ -   @ -   @ -@ -@ - @ -@ - - - -   -::V@ -@ -V@ -@ -@ -   @ -   @ -@ -@ - V -V - -   -::VV -V -VV -V -V -   V -   V -V -V -    lll@@@l@     @Bfflll@@@fl@Bfl@@Bfl@@Bfl@@Bll@nn@n@n@Bl@Bl@@Bl@@Bl@fffl@n@Bl@fBl@n@Bl@f@Bl@n@Bl@f@Bl@n@Bl@f@BfflllflBfl@Bfl@Bfl@@@::::::::::::::@ -@ -     @ - @@:@: ::@ -@ -    @ -::@ -@ -@ -HH<<<H   @@@ - -::<<<TX<    HHH   PPPHPPP   <<TX<                                                                       -                   HH   H     HH   H                                                                                                                                                          <<<TX<<<TX $$$<<<  $$$<<< HH$$$<<<TXHHH$$$<<<TXH$$<<<$$$<<<$$$<<<$<<<TX<<$$$< $$$<<< $$<<<$$$$$$<<<$$$$<<<<<<<<<<<<TX<<$$$< $$$<<< <<<&&$$$& $$$&&& <<<  $$$  $$$                                          HH$$$H<<<<<$$$< $$$<<< <<<<<$$$< $$$<<< $$$..$$$.$$$$$$..$$$.$$$$$$$$$$$$$$$$$$$$$$$$00$$$0$$$$$$..$$$.  $$$ <<<<<$$$< $$$<<< <<<<<$$$< $$$<<< $$$<<<$$$ $$$ 000<<<..000. 000<<< <<<..000. 000<<< <<<..000. 000<<< <<<$$$$$$$$$$$$$$$$$$$$$$$$$$$<<<$$$$$$$$$$$TX$<<<$$$<<<   $$$<<<<<<<<<   <<<<<<<<<<<<   <<<<<<000<<<   000<<<HHH<<<HHH<<<<<<<<TX<<<<$$$<<<$$$$$$<<<$$$<<<$$$<<<$$$<<<<<<$$$<<<<<<$$TX$<<<$$$   $$$<<<"""$$$""""""""$$$$22<<<HHH$$$<<<<<<HHTXH$$$<<<<<<HHH$$$HHH<<<HHH<<<HHH<<<HHH<<<<<<<<<<<<<<<$$$ $$$$$$$$$tt<<<$$$22446622<<<HHH<<<<<<<<<HHH<<<<<<<<<HHH<<<HHHHHHHHH<<<BBBBBBBBB<<<HHH<<<         <<<HHH<<<<<<HHH<<<<<<<<<$$$<<<<<<$$$<<<<<<000$$$<<TX<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<$$<<<$<<<<<< <<<<<<  <<<<<<  <<<<<< ..<<<.$$<<<HHH$$$<<<$$$$$$<<<$$$$$$$$$<<<$$$$$$$$$<<<$$$$$$<<<<<<HHH$$$<<<$$$$$$<<<$$$$$$$$$$$$$   $$<<<$$$<<<$$$<<<$$$<<<$$$<<<$$$<<<   $$$<<<   $$$<<<$$$HHH$$$<<<$$$HHH$$$<<<$$$HHH$$$<<<$$$HHH$$$<<<$$$HHH$$$<<<$$$HHH$$$<<<   $$$<<<   $<<<<<<<<<$$<<<<<<$$$<<<<<<$$$<<<$$$$$$$<<<$$<<<$$$<<<$$$<<<$$$<<<$$$$000000$$<<<$$$000$$$<<<$$$000$$$$<<<$$<<<$$$<<<HHH$$$<<<$$$<<<HHH$<<<<<<<<HHHTX<<<<<<<$$<<<$<<<<<<<<<  <<<  <<<   HH<<<H       <<<<<< <<<<<<$$<<<$ <<<<<<      <<<  <<<   <<<HHH  <<<<<<          <<<<<<  <<<<<<  <<<<<<  <<<<<< ..<<<<<<...<<<<<<.$$<<<$$$<<<$ <<<$$$<<<  <<<$$$<<< $$<<<$$$   $$$<<<<<<$<<<..<<<.             <<<$$$$$$HHH<<<$$$<<<$$$<<<HHH<<<$$$<<<$$$<<<HHH<<<$$$<<<$$$<<<HHH$$$HHH$$$HHTXH$$$HHH$$$HHH$$$HHH$$$HHH$$$HHH$$$HHH$$$HHH$$$HHHHH<<<HBB<<<B  <<< <<<<<<$$<<<$$$<<<$HH<<<HHH<<<HHH<<<<<<HHH<<<<<<HHH<<<<<<HHH     H..<<<. <<<<<< HH<<<H  <<< <<<<<   < <<<   <<< ..<<<...<<<   ...<<<<<<. <<<<<<      HHH<<<<<<<<< <<<<<<<<< $$$$$$$$$<<<<<<<<< <<<<<< <<<$$$$$$HHH<<<$$$<<<$$$ <<<$$$$$$<<<$$$$$$$$$ - - """<<<>>>@@@HHH$$$$$$  - -HHHB   TX   TXHHH  TX          <<<<<<    << HHHHHHHHHHHH<""<"<"<<<PPP        BBB    <<<TX<<<HHH<<<         <<<JJJ          TXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTXTX  <<<PPP<<<PPP<<<PPPBBtttB  TXTXttTXtttTXtTXTX   HHHTXTXTX           RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR     TTttTTtt22BBBB<<<<<<<<<<<<<<<<<<<<<BBBBB   PPP@@@                          <<<   HHHHHH<<<HHHHHH   HHHHHHHHH   HHHVVXXXXHH<H   ZZZTXZZZTXZZZTXTXZZZTXZZZTXTXZZZTXTXTXHHHHHH TX ` -` -bbHHH<<<  TX   ttttTTttTT   JJJfJfJfPJJPJPJ@@@<<< h h hJJJHHHJJJ<<<<<<jj<<<jjTX  <<< nnppptp<<<HHH HHTXH<<< <<<<<<< zzzzz~z - - - - - - - -P - -P - -P - -P - -P - -PPPP - -P - -P - -HHHHHH  - - - -  - - - - - - -<<< -  P - -P - -P - - .` - -` - -.` - -.` - - .` - -` - -.` - -.` - - P - -P - -` - -` - - - - - -` - - - -P - - - - - - - - - - - - -  - - - - - - - -  HH - - - -H - -  - - - - < - - - - -   < -< -< -   < -< -< -HH<<<HHH<<<H -<<< -   - - - -  - - . -. -. -. -. -. - - - - - - - -HH<<<H. -. - - - - -: -: -: -    - - - -P - -P - -P - -HH<<<HHH<<<H -<<< -   - - - -  - - . -. -. -. -. -. -   VVVVVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVV<<<VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVHHH<<<   <<<   <<<    HHH     HHHTX TX  TX     HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHnnnHHH.nn.n    .nnn   nnn   nnn    nHHHHHHHHHHHHnnlll...l.              <<<  < < <...tnntn    :nn:n:n:nn:n   nnn nnnHH   HHH   HHHH   nnn<<<jj               <<<  < < <      .jj.j.j.jj.j    :jj:j:jjjj:jj:j   jjj HHHjjjjjj           HHHHD - -D - -R - -R - -      HHHTX   HHHHHH. -. -. -. -. -. -HH<<<HHH<<<HHH<<<H P - -P - -P - -  -<<< - -<<< -  - - - -   - - - -  - - - - - - -<<< - -<<< -    - - - -  - -   - - - -  -<<< -  - - - -  HHHHHH   <<<   <<<    HHH - - - -22<<22< 22  22 HH22H22D -D -   HHH: -: -: -HH<<<H   - -  - : -: -    - -  - -HHHfTXHHH  """   """""""""HH<H   """HHHHHHHHHHHHHHHHHHHH   """HH<H   """    -   - - -    - -    """< -< - - -            < -< -< -< -< -< -< -< -<<<< -HH...HHH...HHH...HHH...H< -< -< -  - -  -   -    - -    . -. -. -    . -. -. -  - -HH<<<H HH - -H -  HH - -H -  HH - -H -HHH . -. -HH - -H -. -. -. -. -. - - -. - -. - . -. -. -  ...     - -  - . -. - - - - - -. -. -. -   . -. -. -HH - -H -. -. -. -   . -. -. -HH - -H -. - - - - - - - - - - - - - - - - - - - - - - - -HH - -H -H - - - - - -HH - -H -H - - - - - -HH - -H -H - - - - - -   -< -< -     < -. -. -     . - - - - - - -          . -. -. -          - -      . -. -. - HHHH - -H -HHHHH - -H -H. -. -. -   - - - -  - -  - -    JJJ  <<<      <<<    HH<<<HHHHHHH< -< -HHHH< -< -< -< -< -< -< -@ -@ -@ -: -: -: -           -   -    - - P   -P -P -. -. -. -. -. -. -. -. -. -< -< -< -< -< -< -  HH - -H -      HH - -H -      - -   - - . -. -` -` - - - - -. -. -: -: -. -. -. -      - -. -. -. - - -HHHBB   HHHHHHHHHHHHTX                  BBBBBBBBBBBBB               BBBHHH       HHHHHHHHHHHH"""  22TX2222HHHHHH                          HHH                                   """   BB"""    TX     .jj.j    .jjj    jHHHlllllljjjjjllljjjjjlll    llljjjj    <<lll<     <<lll<HHlll    H     HH   H                    <  < <   lll      lll    HHlll    HHHHHHH      """      f44   """                                      ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      2<<<nn<ndnndn..***   *<nn<n<n"""<nn<n<n444         nn   n   nnn ..     .<<<pp<pdppdp(("""   """<pp<p<p"""<pp<p<p444         pp   p   ppp ((     (<<<rr<rdrrdr00,,,   ,<rr<r<r<rr<r<r"""444         rr   r   rrr 00     066444                       <<<<<<22   444     """   BB   JJJJhJJBBB   HHHBBB   JJJJhJJBBB   HHHB    JJJJhJJ    HHH    JJJJhJJ    HHH    JJJJhJJ        JJJJhJJ    HHH    JJJJhJJ    HHH    JJJJhJJ        JJJJhJJ    HHH    JJJJhJJ    HHH      JJJJhJJ      HHH      JJJJhJJ      HHH      JJJJhJJ           JJJJhJJ      HHH      JJJJhJJ      HHH      JJJJhJJ       - -           BBB<BB<BdBBdBBB   B   BBB      .BB.B.B       <  < d  d <  <           .  . .     **   <BB<B<B444     """**     *   ,,   <BB<B<B444     """,,     ,      <  < <      """             ""   <  < < 444     """     ""     "      <  < < 444     """                <  < < 444     """                  <  < < 444     """                 <  < < 444     """                  <  < < 444     """            JJ   JJJJJJJJJJnnBBBBBBBBBBBB   BBBBBBBBBBBBBBBppprrrBBBBBBBBBBBBBBBBnnnnnnnnnnnnnnnnnnnnnnnnnnnppnnnpppnnnpppnnnpppnnnpppnnnpppnnnpnnBBBnnnnnnnnnnnnn   nn   nnnnnn   nnnBBBnnnBBBnnnBBBnnnBBBnnnnnnnnnnnnnnnnnnnnnnpp                  HHHHHHHHHHHHnnn    ppppppppppppppppppppppppppppppppp   pp   pppppp   ppp   ppp   ppp   ppp   pHHHHHHHHHHHHppHHHpppHHHpppHHHpppHHHpnnnnnnnnnrrBBBBBB   BBBBBnnnBBrrrrrrrrrrrrrrrrrrrrrrrrrrrrrBBBrrrrrrrrrrrrr   rrBBBrrrBBBrrrrrrrrrrrrrrrr   HHH   <<<            B                                                                                                                                                                                                                 ""PPP,,,,,,       ...     <  < <                                               000 000 000     <<     <<<000   <HH000H 000                  222           JJ     666     J               444 444 444 HH444H6688<@88B@HHH         DDD...  DDD       FFF    HHH    JJJ    LLL                                                    HHHHHHHHHHHH JJJ ...              666                666                                   FFFHHHDDDJJJ..   .LLL    FFF  HHH  DDD  JJJ  ...  LLL     HHH    DDD...                                      JJJ        LLL         NNDDD   NNNDDD   N<..<.DDD<.  DDD <<     <PPP   <<<<<       <<<   <DDD<<DDD   <<<     <...<<...   <PP     P...<<<<<     <<<DDDRRR<RRDDDR<<     <            HHFFFHHHHHH   HHHHHHHHHDDDHHHJJJHHH...HHHLLLH   DDD                     666           HHH           ...                                                         666     666    TTT    VVV  XXX                              666     666    TTT    VVV  XXX  RRR  RRR  RRR    RRR  RRR  RRR  RRR      RRR  RRR  RRR  RRR        RRR  RRR  RRR  RRR          RRR  RRRHHH  RRRHHH  RRRHHH  DDD  DDD                                        HHH                           666                              666                                  666    666         666 ZZ\\^^^   222         FFF      FFF        ```    bbb  ddd                         666             666                                       fff                   666                                       666                                        666                                             666                                                           222```bbbddd 222  ```  fff  bbb  ddd           <  < <                              ff     f     LLL     DDD   <<DDD     <<<DDD<  < <    <     666      DDD <<     <<<       <<<     <<<222   <<<```   <<<fff   <NNDDD   N  DDD <  < DDD<<<< <  < DDD<<<<    <  < <     <  < <          HH222HHH```HHHfffHHHbbbHHHdddH                                  ```     ```                                 TTT    VVV  XXX  666                               TTT    VVV  XXX  666  666                                                     TTT    VVV  XXX  666                                 TTT    VVV  XXX  666  666  DDD<<<    DDD<<<  RRR       RRR       RRR    RRR      RRR       RRR       RRR      RRR      RRR       RRR       RRR        RRR      RRR       RRR       RRR          RRR      DDD      RRRHHH       RRRHHH      RRRHHH      RRRHHH       RRRHHH      RRRHHH      RRRHHH       RRRHHH      RRRHHH                                                    fff             DDD...  DDD       FFF    HHH    JJJ    LLL                                                    HHHHHHHHHHHH JJJ ...              666                666                                   FFFHHHDDDJJJ..   .LLL    FFF  HHH  DDD  JJJ  ...  LLL     HHH    DDD...                                      JJJ        LLL         NNDDD   NNNDDD   N<..<.DDD<.  DDD <<     <PPP   <<<<<       <<<   <DDD<<DDD   <<<     <...<<...   <PP     P...<<<<<     <<<DDDRRR<RRDDDR<<     <            HHFFFHHHHHH   HHHHHHHHHDDDHHHJJJHHH...HHHLLLH   DDD                     666           HHH           ...                                                         666     666    TTT    VVV  XXX                              666     666    TTT    VVV  XXX  RRR  RRR  RRR    RRR  RRR  RRR  RRR      RRR  RRR  RRR  RRR        RRR  RRR  RRR  RRR          RRR  RRRHHH  RRRHHH  RRRHHH  DDD  DDD                                        HHH                           666        HHH                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           \\<<<<<<<<<<<<<<<HHH<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<HHH<<<<<<<<<<HHHH22<<<J -J -J -$Bhh - -jjHHHHHHHHH:::    . -. - - -. -..HHH.. -. -. -. -. -. -HHHHHHHHHHHHHHHHHH    - - - - - - - - -HH<<<H<<<HHHHH<<<H ...  .<<.<.<  ...HHH  .<<.<.<  HHHA  HHHA HH.<<.<.<H@@@<<@<@<@@@@@@@@@@<<@<@<@<<HHHH<@@@..   ...HHH...   ...HHH.HHHHHHHHH    @@@@B@@@ @@@ <<        HHH    <<<  <<<<<   <<<HHH   HHH      <<<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHll       llllllPPP<<<PPP <<< <.<<<<<<Htt     <Hvv<<<<<<HHH  HHHHHHHHHHHHHHHHHH||HHHHHHHHHHHHHHHb~~b~<<<.~~.~.~<~~<~<~  ~~~ ~    ~~~    ~~~  .~~.~.~ HH<<<H.~~.~.~  ~~~~~~ ~ ~      .~~.~.~         ~~~      .~~.~.~       ~~~   ~~~    .~~.~.~ ~~   ~HH<<<H   ~~   ~:~~:~:~<<<  <<<<<<       <<<<<<    <<<<<     <<<<<<<BHHHHHHHHHHHHHHHHJJJJJJ <<< <<<<<<<<<    <<<<<< 88<@88B@88@HHH<<<"""""""""""""""""""""""""""<<<    PPP  """"""""""""  88<@88B@88@HHHJJ     $ """ "$JJJ """ "JHHH  <<<<<<    J -J -J -J  J J JJJJJJHHHHHH<<<HHH HHH<<<<<<<<<   <<<   <<<<<<<<<HHHHHHHHHHHHHHHH<<<HHH<<<HHH<<<<<<HHHHHHHH<<<H<<<HHH<<<<<<HHHJJJJJJJJJJ  J J JJJJJJHHHHHHHHHHHH<<<<<< <<<<<<PPP<<<  <<<<<<   <<<   <<<<<<<<< - -HHH -<<<<<< C C PPP     <<<"""""""""""""""""""""""""""""""<<<""""""""JJJ"""""""""""""""""""""""""""<<< """"""""""""""PPP                                 88<@88B@88@HHH88<@88B@88@HHH88<@88B@88@HHHHHHHHHHHH                       BBBBBBBBB88<@88B@88@88@HHH                   88<@88B@88@88@HHH                88<@88B@88@88@HHH                      88<@88B@88@88@HHH             88<@88B@88@88@HHH88<@88B@88@88@HHH                88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH  88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@          88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH88<@88B@88@88@HHH                   88<@88B@88@88@HHH88<@88B@88@HHHBBBHHHHHH JJJ                                              << - -<<                                                                 << - -<<                                                                                                                    88<@88B@88@HHH<< - -<<                                  HHHHHH   ~~~~@@@ @@@ ~~  """$$$jjj<~~<~<~<~~<~<~  &&"""$$$&   """$$$ ~~~~~~(((HHH HHH"""""""""""""""""""""""""""""""""""""""""""""******************""""""""",0***************************************************************"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""222222222222222222222222222"""""""""""""""""""""""""""***************************************************************444444444""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""666666666666666666666666666666666666""""""""""""""""""444444444888   :"":":":"":":":"":":":"":":":"":":":**:*:*:**:*:*:"":",0:":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:"":":":"":":":"":":":"":":":"":":":"":":":"":":":22:2:2:22:2:2:22:2:2:"":":":"":":":"":":":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:44:4:4:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":66:6:6:66:6:6:66:6:6:66:6:6:"":":":"":":":44:4:4<< HHHHHHHHH>>>>>>  BBB~~~<<<<<<                 @@             BBB         BB   B   BB     B     @@BB                   BBDDDDDDDDDDDD                                     <>><> ->> -><>><>     >>   >   >>>   >>>>>>>>>>>   >   >>> >>>>>> >>>>>>>>   >>>>>>>>>>>>   >>>   >>>>>>   >          <<                                BNNPPPPPPRRRRRR               ***  *** PPPTTT      ***      ***     **   *VV88<@88B@PPPPPPXXXXXXTTTTTT ZZZHHHHHH   ZZZ  PP88<@88B@HHHJJJPPPJJJ\\\^^       ^JTTJT444b TDb TDbd  d  dJTJTTJT444b TDb TDbd  d  dJTNN   ZZZZZZZZZZZZZZZZZZZZZZZZZZZ           PPP     NN     N       NNN        ZZZ     ZZZZZZZZZZZZZZZZZZZZ<<<ZPPP PPP HHHHHHPPP    ....PP.P.P   HHHHHH   ""PPPfffTTTTTTNN"""""""""    """"HHHHHH hhh"""""""""   jj   jjjj""""ll <<< NNPPPPPPnnnnnnppprrrtttRRRvvvTT     TXXXxx   xzz   z|||~~~\\\<<<<<<<<<<<<PPP<<<<<<<<<<<<^^       ^JTTJT444b TDb TDbd  d  dJTJJJNNPPPPPPvvvvvvZZZZZZZZZZZZ  ********* NNPPPPPPxxxxxxNNPPPPPPzzzzzzVVPPPPPP||||||ZZZNNPPPPPP~~~~~~TTTTTT HHHHHH NNPPPPPPZZZNNPPPPPPZZZZZZZZZZZZZZZNNPPPPPP\\\\\\ZZZNNPPPPPP ********* NNPPPPPPNNPPPPPPNNPPPPPP""PPPTTTPP      JTTJTJTJJJVVPPPPPPZZZZZZ   NNPPPPPP     ZZZZZZZZZ ZZZZZZZZZ      PPPPPPNNfffffffff    "$"$ ffffNNPPPPPPZZZNNPPPPPP******          88<@88@HHH  E E       JJJ  E E       JJJ  E E      JJJ                                 <PP<P -PP -P<PP<P   PP   P   PPP   PPPPPPPPPPP   PPP   P88<@88@ <<< EF EF E  E  JJ<<<JfBFF$$fJPPJPJP~~     PPP JJJ PPP"""""""""""""PPP"""""""""""""""""""""""""""""""""""""""""""""""""""""" HHHHHH  HHHHHH                  HHHHHH  HHHHHH   HHHHHH          HHHHHH HHHHHH HHHHHH         HHHHHH  HHHHHH               HHHHHH            """"""""""""""""""""""""<<<                 PPP                """"""""""""""""""HHH  JJJ  JJJ      """"""""PPP  <<<<<<      <<<""PPP""PPPll <<< 88<@88B@88@88@88@"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""HHH                        """"""""""""""""""""""""""""""PPP                    444444444444PPPPPPPPP<<<JJ<<<PPPJJJJJ<<J<J<            JHHJHJHPPP<<<JJJHHHJ<<J<J<  HHH""PPP<<<JPPJPJPJJJ""         <<<  ""PPP - - -   222JJJJJJHHHJJJJJJJJJJJJJJJ"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""":"":":":"":":":"":":":"":":":"":":"::::"":":":"":":"::::"":":":"":":"::::"":":"  <<<    HHHHHH HHHHHH    HHHHHH  <<<   HHHHHHHHH  JJJJJJJJJJJPPPJJJJPPP   <<<<<< JJJ "" $$(,,,,(,,,,,(,,,,(,,,,,              <<PPP<<<<<<<   :(,,:,:,:(,,:,:,***(,,HHHHHH88<@88B@, . G. G.<<< JJ<<<J    66  <<<<<<     HHHHHH          <<<<<<    PPP           ll   PPPl            00022<<<2000 ~~~     PPPll         l<<<HHHHHHHHH444 lll                           666    666          HHH       HHH         llllll                         HHHH 22TTT2 $$$zzzzzz  $$$  $$$  $$$ 88<@88@88@88<@88@88@ <<88<@88@88@< <<<88<@88@88@   BBB88::                          <<<  <<< ~~~~~~ <<<  <<<   <<<<<<<<<< JJJJJJJ<<J<PPPJ<J<<J<J<""PPP>>>>>>@@@""PPPBBBBBB   HHHDDFFHHHHHHHHPPPHHHHHH HHHHHH 88<@HHH <<<JJPPPJJJPPPJJJPPPJJJPPPJJJJJJJJJJJJJ88<@88@666666HHHLLL666666<<<HHH<<<NNNPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP PPP   PPPPPPHHHHHHPPPPPPPPPPPPPPPRR TTRRVVVRR<RR<R<R        XXRRZZZ\\\RR VVVRR<RR<R<R ^^   ^    ^^^``bbb ddfffPPPhhhhhhjjjjjj llZZZRR``nnnnnnnnnnnnnnnnnnnnnnnnRR VVVddnnnpppnnnnnn ``nnnnnnrrrnnnnnn nnnnnn ``ddnnnttttttnnnnnn                                       RRR\\\   ddvvvvvv   ddnnnnnnxxxnnnnnn nnnnnn zzHHHHHH      HHH    RRR                                                                                                                                                                                       <<zz.~~.~.~.VV.V.V.~                                                                                                                                                                                                                                                                                                                                                                                                                             88<@88B@88@88@88<@88B@88@88@                         RR VVV<RR<R<RRRR<RR<R<R                 <<<llHHHHHH ``<dd<d<d||||||HHH   dd   djjjddnnnnnnnnn~~~~~~nnnnnn nnnnnn nnnnnn nnPPP  ``   <<   <RRVVV   <<<PPP     <<<JJJ""HHHHHHHH<<<PPP HHHHHH<<<  88<@88B@88@88@HHH<<<@@@  <<<<<<     ~~~     88<@88@                  TTT          <<<<<<<  <<<<<<<         H H    88<@88@      88<@88@88<@88@       88<@88@             I J  I J           K  K       I J  I J         K  K       88<@88@HHHHHHHHH zzz<<<zzz<<<zzz<<<""PPP""PPPHHHHHHHHH      JJHHHHJJJJJJHHHHJJJJ PPP                      JJPPPJ PPP                      JJPPPJ        JJJ  <L <L     J<<J<J<""""""""""""""""""""""""""""""""""""  ~~~HHHHHH888~~~~~~ ~~~  ~~88<@88@~HH88<@88@HHH88<@88@H88<@88@     &&&~~~~~~"""   HHHHHH  <<<<<<<<<<<<HHHHHHHHHHHHHHHPPP 88<@88@ ~~~~~~~~~~~~<<<~~     ~<~~<~     <~   <<<~~~~~~~~~<<<""""""""""""""""""""""""""""""""********>>>>>>>>""",0"****************************""""""""""""""""""""""""""""222222222222""""""""""""****************************4444>>>>""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""6666666666666666""""""""""""""""~~ - - -HHHHHH """ ~~TX~~~~      88<@88B@88@"""$$$"""$$$(((<~~<~<~<~~<~<~<~~<~<~ ~~ - - -  """$$$    """$$$ ~~~   ~~~~~~~~~<<<~~~~~~~~~<<<~~     ~<~~<~     <~PPPHHH<<<<<<ff<<<jjjjjj                      jj***jjj,,,jjjPPPjjjjjjjjjjjjPPPjjjjjjjjjPPPjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<<<ffffffHHHHHHjjjjjjff***fff,,,fffPPPfffffffjjjjjPPPjjjjjjjjjjjjjjjjjjjjjjjjjjjj***,,,PPPjjjHHH    PPPPPPPPPPPPPPPPPPPPPPPPPPPzzz<zz<z -zz -z<zz<zzzz   zz   z   zzz   zzzzzzzzzzz   zzz   zzzHH<H   zzzzzzHHzzzHzzzzzzHHzzzHHHnnnHnnnnnnnnnnnnPPP<< - -<<                            HHH       HHHHHHHHHb~~b~~~~(((~~~HH<<<HHHH   ~~   ~   ~~~   ~~~~~~:~~:~:~ .~~.~.~  ~~~.~~.~.~   ~~~~~~ ~ ~  JJJ  HH~~~H~  HH~~~H~  HH~~~H~HHH      ~~~      .~~.~.~           .~~.~.~    HH<<<HHH~~~<<<H   ~~~    .~~.~.~    .~~.~.~  ~~   ~~~~~~~~~~~~TX~~~~~~~<<<~~~b -b -jjj... zzz:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":**:*:*:**:*:*:>>:>:>:>>:>:>:"":",0:":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:"":":":"":":":"":":":"":":":"":":":"":":":"":":":22:2:2:22:2:2:22:2:2:"":":":"":":":"":":":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:44:4:4:>>:>:>:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":66:6:6:66:6:6:66:6:6:66:6:6:66:6:6:66:6:6::88<@88B@88@88@::"":":":"":":":"":":":"":":":44:4:4~~~b -b - - -<<<<    -   -    - -    ` -  -  - ` -  -  - ` -  JJJ  - - - - - -jjjzzz... <<<:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":**:*:*:**:*:*:>>:>:>:>>:>:>:"":",0:":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:"":":":"":":":"":":":"":":":"":":":"":":":"":":":22:2:2:22:2:2:22:2:2:"":":":"":":":"":":":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:44:4:4:>>:>:>:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":66:6:6:66:6:6:66:6:6:66:6:6:66:6:6:66:6:6::88<@88B@88@88@::"":":":"":":":"":":":"":":":44:4:488::"""$$$PPPPPP TXTXHHTXHHHTXH TX  TX  TX  TX <~~<~<~<<<<~~<~<~ ~~ - - -  M M JJJ  M M JJJjjj... PPPPPP PPPVVVzzzzzz   """$$$ HHH    <zz<z<z  .PP.P.P88<@<<<    44444444~4~     """$$$   ~~~~~~ ~~~   HHHHHH88<@88<@nnnnn~~~nnn~~~~~~n&&"""$$$&HHHHHH<<  """$$$  HH~~~HHH~~~H~~~                     """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""******************>>>>>>>>>>>>>>>>>>""""""""",0***************************************************************"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""222222222222222222222222222"""""""""""""""""""""""""""***************************************************************>>>>>>>>>""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""666666666666666666666666666666666666666666666666666666"""""""""""""""""""""""""""88<@88@"""""""""88<@88@444444444  HHHHHH HHHHHH HHHHHH  HHH HHHHHH VVV      HHHHHH     - - -                      PPP~~~<<<<<<zzz<zz<z<z<<<<<<<<<HHHHHHHH   H                         <<<  HHH                 88<@88@  <<<  <<< ~~~~~~   ~~~~~~~~~<<<:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":**:*:*:**:*:*:>>:>:>:>>:>:>:"":",0:":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:"":":":"":":":"":":":"":":":"":":":"":":":"":":":22:2:2:22:2:2:22:2:2:"":":":"":":":"":":":**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:**:*:*:44:4:4:>>:>:>:"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":"":":":66:6:6:66:6:6:66:6:6:66:6:6:66:6:6:66:6:6::88<@88B@88@88@::"":":":"":":":"":":":"":":":44:4:488<@88@88@HHH        <<< HHHHHH        JJJ  N N     JJJ        JJJ        JJJ        JJJ    ""PPP   <<<   HHHHHHHHHHHHHHHH ~~~<<<PPP""""""          HHHHHHHHHHHH   HHH<<< HHHHHH    H""""""""""""""""""PPP            HHH """"""""""""P~~~"""" "$"$HHH  "$"$HHH  "$"$HHH HH"""H "$"$HHH ""PPP JJJ <<<<  < < <<<  PPP""""""J<<J<J<JJ$$PPP&&&PPP(((HHHJJJ JJJ HHHHHH <<< HHHHHHHHH  <<<<<<<PPP   88<@88@   * ,O* ,O*     J,,J,J, . P. P.     JJJ<< - -<<                  <<<000                    88<@HHH  """""""""                          """" ,,, FFPPP222222<<<PPP   JJJ     JJJ444444444444444444444444444HHH HHH 6 QRS6 QRS6<<< HHH444444444444""PPP444444<<<PPP888 JJJ 88<@88B@88@88@HHH      <<<<<<<<<<HHH           HHHHHH  <<<HHH~~   ~HHH PPP         <<<<::<:<:HHH      <<<   HHHHHH""PPP>>>>>>@@@******HHHHHH************JBBJBHHHJBBBBHHHBBBB     D BTD BTDF H F H FPPP  F H F H F  F H F H F    D BTD BTDF H F H FPPP  F H F H F  F H F H F   BBJJJ   JJJ    """"$HHH HH"""H """"$HHH """""""""""""""""""""""""""""""""""""""""""""******************""""""""",0***************************************************************"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""222222222222222222222222222"""""""""""""""""""""""""""***************************************************************444444444""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""666666666666666666666666666666666666""""""""""""""""""444444444""""""""""""""""""""********""",0"****************************""""""""""""""""""""""""""""222222222222""""""""""""****************************4444""""""""""""""""""""""""""""""""""""""""""""""""""""""""6666666666666666""""""""4444PPPLLLLLL ""88<@88B@88@HHHHHHHHPPPNNNNNNHHH<<<PPPPPPRRHHH          88<@88B@88@88@  88<@88B@88@88@  88<@88B@88@88@  88<@88B@88@88@ << - -<<                  <<<TTTTTT      ~~     ~ <<<  88<@88@ PPP """ """"""""X"88<@88B@88@"""88<@88B@88@"ZZ"""Z((<<<          ((~~   ~\\JJHHH  JJ^^J^PPPHHHPPP  J^J^^J^HHHPPP  J^HHHHHHHHHHHHJJJPPP HHH """""""""^^^                  88<@88B@88@88@88<@88B@88@88@         ```HHHHHH   88<@88B@88@     """"88<@88B@88@88@88<@88B@88@88@\\ HHHHHH HHHHHH     bbb   HHHBBB ddd        XXX """fff"""JhhJhJhJPPJPJPJXXJXJXJJPPPJJJPPPJ     lllllllll     $$       HHH      HHHHHH              JJJPPPjjjjjjHHHllnnpprrttvvxxzz||~~    HHHHHH  HHHHHH HHHHHH   HHHHHH <<<<<<    HHHHHH      HHHHHH HHHHHH <<<          HHHHHH    HHHHHH HHHHHH                     <<88<@88@<HH88<@88@HHHH     HHHHHHHHH                      ~~HHHHHH HHHHHH HHHHHH HHHHHH   <<<HHHHHH         HHHHHH HHHHHH                     88<@88B@88@88@ ~~~HHH ~~~88<@88B@88@88@~~~HHH88<@88B@88@88@~~~HHH88<@88B@88@88@ HHHHHH ~~~     HHHHHH   HHHHHH HHHHHH     HHH~~~          88<@ HHHHHH HHHHHH HHH88<@ HHHHHH HHHHHH HHH88<@ HHHHHH HHHHHH HHH88<@ HHHHHH HHHHHH HHH88<@HHHHHH HHHHHH HHH88<@88@88@ HHHHHH HHHHHH HHH88<@88@HHHHHHHHH HHHHHH HHHHHH HHHHHH  HHHHHH HHHHHH <<<   HHHHHH      HHHHHH           PPP PPP    <LU <LUPPP~~~<<<  ~~~ <<< ~~~  <<< HHH~~~   FFHHHHHHHH     HHHHHHHHHHHHHHHH HHHHHH   HHHHHHHHHHHH       PPP222222             HHH   HHHHHH     HHHHHHHHHHHH~~~<<<<<<~~~<<<<<<      PPP  HHHHHH       bbb bbb HHH<<<              PPP<<< JJPPPJJJPPPJHHHHHHHHHJ<<J<J<PPPJJPPPJ                            HHHHHH HHHHHH bbb  HHHHHH  HHHHHH HHHHHHHHH HHHHHH   HHH    HHH    88<@88@  88<@88@   JJJJJJJJJ""PPP444               ""PPP444J J J JJJJJJJJJJJJJJJ   <<<HHHJJJPPPJJJJJJPPP           PPP  <<<<<<  """""""""HHH "$"$  "$"$ """"""PPPHHH""""""""""""""""""PPP      HHH       """"""""      88<@88@HHH hhh   HHH hhh   88<@""""""""""""""""""HHH """ <""<"<""""<""<"<"<""<"<" """ """"""""HHH""88<@PPPHHH88<@""""""""""""""""""""""""""" HHHHHH HHHJJPPPJ"""PPPPPPPPP """"""""""""""88<@PPPHHH"""        PPP      ""HHHHHHHH<<<<  < < < PPP<  < <  HHHHHH<<<<  < <  <  < <   "$"$HHH   <<<<<<<  <<<<<<<             88<@88B@88@HHH <<<     HHH""PPPPPP PPP HHHHHHPPP    ....PP.P.P   HHHHHH   ""PPP  PPP PPP HHHHHHPPP    ....PP.P.P   HHHHHH   JJJJJJ<< - -<<                       FF                   HHHHHHHHHHHHHHHHHHHHHHHHPPP******HHH     HHH     HHH     HHHHHH HHHHHH           HHHHHHHHHHHH      nnnnn88<@88B@nnnnnnnnnnnnn@@@ <<< ""             HHHHHH   88<@88B@88@  PPP     <<<HHH HHHHHHHHHHHHHHHHHH<<< PH   <VU <VU<<<<<<JJJJJJJPPJPJP<@@<@<@JJHH88<@J  ' '      - - -        ""88<@88@"""88<@88@" JJJ<@@<@<@J$$J$J$JJJ  JJ<<<JJJ<<<JJJJJJPPPJJJ<PP<P<PJHH<<<HJJPPPJHHHHHHHHH<<<HHHHHH   HHHHHH<<<HHH    """""""""   """"bb   ...        ...    ...    HH<<<H HHHWHHH  HHHW  HHHW      ::: `   `   `  JJJ      ...                      <<<<<<...   ...  <<<                                     HHH   ~~~ HHHHHHPPPHHH                                     HHH    << - -<<                  ~~~~~~~~~ """"""""""""""""""""""""""""""""""""&&PPP&&&&&&&HHH<<<<<<   HHHHHHHHH   <  < <  JJ( X( X(JJJJ""""""""""""""""PPP***&&&  HHHHHH      88<@88@88@HHH      HHH  HHHHHH                 JJPPPJ<<PPP<<<<<<<XXX,,    <<<<<<     HHHHHH           <<<<<<       666 JJJll   PPPl         000222000        ll         l<<<HHHHHH444 lll                         <<<    666          HHH       HHH         HHHHHH  HHHHHHHHHH...............HHHHHH HHHHHH     HHHHHH  <<< <<< 88<@88B@88@HHH bbb<<<  HHHHHHHHH  000""PPP222222HHH,, <<<<<<    HHHHHH           <<<<<<      000222000      <<<HHHHHH        <<<    666        HHH       HHH         ll <<<      <<<~~~~~~~~~<<<JJ$$444444<<<<<<   ,,666666666 666  HHH       HHH         <<<JJJJHHJHJHJPPJPJPJJJJ<<J<J<JJPPPJ666 <PP<P<PPPPPPP888888:::JJJJHHJHJHJ<<J<J<PPP>>><<<<<<<<<J<<J<J< JJJ ""PPP@@@@@@ JJJ <<<:::JJJ88<@88B@88@HHHBBBDDDFFF     <HH<H<H<HH<H<H<HH<H<H    BBB   HH<JJ<J<JHHHH                 LL   N PLRUN PLRUNRRR  PPP    PPPRRR <HH<H<H<HH<H<H<HH<H<HHHHH      <TT<T<T                                              """""""""""""JVVJVPPPJVJVVJVPPPJVJVVJV<PP<P<PJVJVVJVPPPJV<<<XXXXXX      << - -<<                   HHH **PPPZZZZZZHHH          <ZZ<Z<ZHHH""88<@88B@88@88@PPP BBB              HHH \\\\\\ ^^^"""""""""HHH""""     ""PPP```bbb""PPPddd<bb<b<bJffJfJf\\\\\\JhhJhJhJbbJbJbJbbJbJbDD88<@88B@88@88@HHH<<<  ""PPPHHH     ""PPPjjjJJJ<<<JJ444PPPllllllnnn<<<JppJpJpJJPPPJJppJpPPPJp444<<<   rrr444JHHJHJH444HHH    ttt  vvv nnn             HHH      &&& HHH          &&&    &&&zzz<zz<z<z  HH   H                      <zz<z<zHHHPPPxxxxxxJJ   JJJJJ  J z HYz HYzJ  HHH | <Z~U| <Z~U|~~~   <<<~~~    <LU <LU  ~~~  ~~~  <<< ~~~   <PP<P<P"""""""""""""""""""""""""""              HHHHHHHHH      444    666 """"""""""""""PPPHHH     """       ""PPP88<@PPP      <<<88<@PPPPPPHHHJvvJv"""JvJJ v[ v["""JJJJ"""""""""""""""""""""""""""ttttttJJ<<<   \ \J PPP     """ JttJtPPPJt"""PPPJttJtPPPJt<<<<<<<<<<<<JJJ     PPP   JJPPPJJJPPPJ""""""""""""""PPP   """<<<"""88<@PPP  PPP PPP HHHHHHPPP    ....PP.P.P   HHHHHH   <<<""PPP<<<"""zzz             HHHHHH      """""""""   JJJ """"HHHHHH   HHHHHH  HHHHHH   PPPHHHHHHHHHHHHHHH          PPP~~~<<<""PPP         HHHHHH HHHHHH <<<     HHHHHH  HHHHHH          HHH   ...  <<<<<< HHH~~   ~...HHH  <..<.<.<..<.<.            HHH           HHHHHH                           """""""""HHHHHH  """"""PPP""""""""" <<<<<<<  <<<<<<<   """"JJJJJJJ<<J<J<JJPPPJ""""""""""""""""""888888888"""""""""JJJ""""""""8888""""J<<J<PPPJ<JJPPPJJHHJHJHJJJ88<@HHH<<<&&88<@HHH~~~ ~~~~~~~~~<<<~~     ~<~~<~     <~HHHHHH HHHHHH HHHHHH    """""""""   """""""""""""              H H    88<@88@      88<@88@88<@88@       88<@88@ """" <<PPP<<<<<<<""""""""""""""""""     HHH  444  666   """"""""<hh<h -hh -hhhh<hh<h   hh   h   hhh   hhhhhhhhhhh   hhh   h       << - -<<                      88<@""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""HHH"""""" HHHHHH  HHHHHH         """"""""""""""""""""""""""""""""88<@""88<@PPP""88<@PPP   <<<88<@HHH      <<<HHHHHHHHH <<<    ""   """"""""""""""""""      """"""""HHHHHHHHH       PPP HH<<<HHH<<<H<<<  <<<     ......   HHHHHH              ""HHHHHHHHPPP HHHHHH JPPJPJPJHHJHJHJHHJHJH        HHHHHH   HHH <<<    <<< ```<``<`<`<<<HHHHHHHHH ZZZPPPHHHJ<<J<J<JJJ                 <<<<<<   &&"""$$$& <<<<<<           <<<   &&"""$$$&<<<           <<<   &&"""$$$&<<<      HH88<@HHH&&& """$$$ DD - - -<<<    HHHHHH       HHHHHH <<<           HHHHHH HHHHHH                 HHH HHHHHH                J<<J<J<FFHHHHHHHH HHHHHH """""""""     """"""""""""""""""""""  HHHHHH  """"""""<< - -<<                  << - -<<"""""""""                  """"    BB   BBB   B PPP                    nnnnnnnnn  88<@88@  88<@88@ FFPPP666666HHHHHHHHHHHHHHH<< - -<<HHH                  <<<<<<<<<      88<@88@88@HHH             HHHHHH       ""PPP<<<""PPP       ""    HHHHHHHHPPPFFFFFF   jjj    HHHHHH    JJ<<<J  JJJJJ<<<J            <<<    <<<HHH   JJJ***HHHJJPPPJJJPPPJ""PPP    HHH   JJJHHH<PP<P<P   ] ] JJ<PP<P<PJ HHHHHHHHH   ""PPP***     ******************************""""""""""""""""""  HHHJJJJJPPPJ""""""""""PPP - - -   <<<***HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH$$           88<@88@  88<@88@      88<@88@  88<@88@         HHHHHH hhh"""""""""        """"""""""""""""""""""""""""""  <<<<<< <<<<<<   HHHHHH   &&&           88<@88B@88@88@BBBBBBBBB""""""""""""""""""<<<HHH                            444    666 BBBB""""""""**                        HHHHHHHHHHHHHHHHHHHHHHHHPPP444444             HHH HHHHHH           HHHHHHHHHHHH       HHH HHHHHH                       JJJ    ] ]      ] ]     88<@88B@88@   JJ   HHHHJHHH"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""88<@88@88<@88@88<@88@       NNN"""NNN$$$HHH&&&(((***  ,,,...     HHH000000 222HHH        4488<@88B@88@4666         000888 000:::000<<<         HHHJJPPPJHHHHHHHHHHHHHHHHHHHHHVV~~~V~~~<RR<R~~~<R>>>              @ ^@ ^@88<@88@ <<<<<<<  <<<<<<<     B d_B d_BPPP                PPP                    PPP                    PPP                          H H    88<@ JJ     88<@J       88<@ JJ88<@J     <<<     <<<          <<<     <<<    """"""""""""""""""""""""********""",0"****************************""""""""""""""""""""""""""""""""222222222222""""""""""""""""****************************4444""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""6666666666666666""""""""""""DDDDFFJF""""4444 nnn    @ ^@ ^@88<@88@         LLDD""" DDDDDDHHHHD:DD:D~~~HHHH:D:DD:D~~~~HHHH:DNNHHHJ<<J<J<J<<J<J<""""""""""""""""""""""""""""""""""""""""""""""""""""88<@88B@88@88@"""""""""PPPHHH <<<<<<<  <<<<<<<    """""""""""""$$$(((HHHRRRTTTVVVJJPPPJ       <<<     <<<          <<<     <<<    """"BBB     <HH<H<H<HH<H<H<HH<H<H    BBB   <<<<<<<<<<XXX  ZZZ\\^^^\^^^``^^^   <<<```   <<<`                               HHHHHH         bbb88<@88B@88@dddHHH        &&& JffJfJfJBBJBJBJHHJHJHJ@@J@J@JJJJJ@@@JJJJ<RR<R -RR -RRRR<RR<R   RR   R   RRR   RRRRRRRRRRR   RRR   R88<@::zzHH<H   zzzzzzHHzzzHzzzzzzHHzzzHHHnnnHnnnnnnnnnnnnhhhhhhhhhhhhhhh                   jjj<@@<@ -@@ -@<@@<@@@@   @@   @   @@@   @@@@@@@@@@@   @@@   @~~   ~llllll""PPPnnnnnn<< - -<<               pppppppp   ppppppppppppppppppprr<<<PPPPPPrr<<<PPP<< - -<<                  << - -<<               \\\   ttt   vvvxxx   zzz""PPP|||vvv   ~~~222zzz   ttt222<<<222   <<<        <<<     <<<        <<<     <<<    DD~~~~ PPP P - -P - -P - -HH<<<H     ......HHHHHHHHpppH~~~HH<<<H<<<  <<<TX   HHpppH~~~TX~~~HH<<<H<<<  <<<TX   HHpppH~~~TXDDPPPP PPP P - -P - -P - -HH<<<HHH<<<H<<<  <<<     ......   HHHHHHHHHHHHHRRRHHH  <  < <        @@HHHHHHHHHHH<<<HHHHHH<<<H ...  .<<.<.<  ...HHH ~~~  <~~<~<~<~~<~<~  zz~~~~  <<<HH<H   zzzzzzHHzzzHzzzzzzHHzzzHHHnnnHnnnnnnnnnnnn<<.~~.~.~<<<.~~.~.~.~<@@@ @@@ @@@@BHHHHHHHH<<<H~~~~@@@ @@@   HHHHHH HH<<<HHHHHH<<<HHHHHHH ...  .<<.<.<  .<<.<.<  HHHA  HHHA HH~~~<<<HHH~~~TXHHH~~~TXHHH~~~HHHHHH~~~HHH~~~HHHH ~~~...  ~~~.<<.<.<  ~~~HHHAHHH bb~~~b  bbb HHbbbHHHbbbH bbb  bbb HHbbbHHHbbbHHHH"""""" - -HHHH -: -: -~~~HHHH: -: -: -~~~~HHHH: -""" - - - - -  -  -  - -  -$  -""" - -HHHH - -  -  -  -   -  -  -  -   - -HHH  -  -  - -  -$  HHHTX  -"""HHH""" - -: -: - - - -  -  -  - -  -$  -""" - -: -: -.~~.~.~HHH.~H - - -  -  -  - -  -$  HHH  -  -  -  - -  -$  - - -  -  -  -   -  -  -  -   - -HHH""" - -"""  -  -   "$"$HHH  - -  -$HJJJHHH   - -  -$       JJJ HHH   J -J - - -J -""" - -  - - """ - - - -T -T -T -  -  -  - -  -$  HHH  - - -  -  -  -   -  -  -  -   - -HHH  - -   T -T -T -P -  - - - -  - - -   - - -  """ - - - -HHHH -: -: -~~~HHHH: -: -: -~~~~HHHH: -""@@@<<<<PPPHH~~~HHH~~~HHH~~~HHH~~~H< -< -: -: -: -  - -  . -. -. -    - - - -  -  -  JJJ     - -    . -. -. -    . -. -. -  -   - - -HH<<<H HH - -H -  HH - -H -      . -. -. -              . -. -. -       - -                                                                                                                                                                                                                                                                                                                                                                                       HH   H                      <<<   P  P P                                               P HHHHHHH  222  222 HHH  222  222  222  222 ""<""<"<"           ......  ......  ......   """ HH~~~HHH~~~H""@@@@@@@@@.........HH~~~HHH~~~HHHHHHH.........HHHHHHHH~~~HHH~~~H<<@@@HH~~~H""HH~~~HHH~~~Hb -b -<<<<: -: -: -     - - HH<<<H  -   -    - -      - - - -  -  -  <<<      <<<        - -  -   -     . -. -. -              . -. -. -       - - <<<: -: -::::HHH - -^^^^^^`HHH^: -: -< -< -< -      - -< -< -< -HHH - -: -: -< -< -< -    - -< -< -< -HHH - -      HHHBBB HHH<<<  <<<  <<<    <<<  <<<<<<  <<<  <<<  <<<  <<<   <<<  <<<  <<<<<<      <<<  <<<  <<<      <<<  <<< ~~~ PPP~~~ ZZ"""~~~~~~RRRHHH  <<<  "$"$HHH  "$"$HHH HH"""H "$"$HHH  "$"$HHH    RR     RRRLL22222HHH         HHH       HHHjjj222HHHHHHHH          HHHHHHHHHHHHHHHHHHH     HHH   HHH   HHHHHH HHHHHH           HHHHHH   HHHHHHHHHHHH HHHHHHHHHHHHH""""""HHHHHHHHHHHH   HHHBBB HHHHHH    <<<~~~<<<  - -  -  -  - -  -  -  - - - -  - -  - -  - - - -  - -  - -~~~~~ - - -~~~~~~"""HH~~~HHH~~~H"""  $$ HHHHHH""""""HH~~~HHH~~~H$$"""   "       ~~~HHHPPP   f                      HHHTX          TX<  < <    <  <  < <      <  < < HHH                                                                                                       <  < <  < < < HHH         HHH<  < <            -  < HHHH       -  HH     $$   & <  < <  < < < HHH         <  < < HHH           -  < HHHH*  ,  .  0 -  2H4H6<  < <  < < < HHH         <  < < HHHHH           -  < HH<  < <  < < < <  < < < <  < <  < < <    <  < < HHH   < HH<  < <  < < < <  < < < HHHH                -  <  < < HHHH     <  < < HHHH <  < <      <  < HHHHHHHH< 88HHH         <  < < HHH888   <  < < HHH8... <  < <   <  < <      HHH  ::HHH         <  < < HHH::   <  < < HHH888HHHHHH8 <  < <   <  < <      HHH              @@TXTXTXFFF  JFFJFHHHHJF HHHH FFFJFFJFJFFFFJJJJFFJFJFFFFFFF@@@HHHHHHHH@<@@<@HHHHHHHH<@@@FFLLLLLLLLLLLLLLLLLLLLLHHHLLL LLL<@@<@<@HHHHHH FFF  JHHJHJHHHHFFFJFFJFHHHHJF HHHH FFFJFFJFJFFFFJFFJFHHHHJF HHHH JFFJFJFFFF@@@HHHHHHHH@<@@<@HHHHHHHH<@HHH - - - -                                 HHHHHHT@HHHHHHHHHRRRHH   @@@@  JJJ     TXHHHHHHTXHHHTXHHHTXHHHTXHHHTX TX  <<<   XXX\\ XX`XXXX\\ XXbXXXX\\ XXdXXXX\\ XXfXXXX\\ XXhX    XX`XXXXbXXXXdXXXXfXXXXhXXjjjnn jjrjjjjnn jjtjjjjnn jjvjjjjnn jjxj    @@TXTXTXJzzJzHHHHJz HHHH JzzJzJzzzzJzzJzJzzzzJ  J J    zzzJJJJJJ  JJJJJJ  J||J|XXXX`XXJ|||XXXX`XX|<  < <      < XXXXbXXJJJJJJJ<<J<J<<<<JzzJz<  < < XXXXbXXHHHHJz <  < < XXXXbXXHHHH JzzJzXXXXbXXHHHHJz XXXXbXXHHHH J J J  J  J J    JJ   J   J  J <  < <       J   <  < <        J||J|   J|     J||J|<  < <       J| <  < <       J||J|J|  J  J J    J||J|   J|   J||J|   J|   J  J J    J||J|J| J||J|jjjjtjj        J| jjjjtjj        J||J|        J|        TXTX      <  < < TTT|||     HHHHHHHHHHHH        $  HHH JJJ  2<  < 2< zzzJ||J|J|zzzXXX   JzzJz<  < < < JzJzzJzJz@@zz   JJ   <<<JJHHJHJHLLLHHHzzzJzzJzHHHHJzLLLLLLLLL HHHH JzzJzHHHHJzLLLLLL HHHH JzzJzJzLLLLLLzzzJzzJzJzLLLzzzJ||J|XXXX`XXJ|J  J J LLL   JJJLLLJJJLLL     JJJLLLJJJLLL     LLL   ||XXXX`XX|     ||   |<  < <      < XXXXbXXJJJ<  < < JJJJ<<J<J<<<<JzzJz<  < < XXXXbXXHHHHJz <  < < XXXXbXXHHHH JzzJzXXXXbXXHHHHJz XXXXbXXHHHH <<< - - - -          <  < <         <  < <                   ||HHHHHH    J J J  J  J J    JJ   J   J  J <  < <       J   <  < <        J||J|   J|     J||J|<  < <       J| <  < <       J||J|J|  J  J J    J||J|   J|   J||J|   J|   J  J J    J||J|J|     jjj J||J|jjjjtjj        J|J||J|        J| jjjjtjj                HHH   JJ   <<<HHHHJ     <<                          LLLJJJJJJ      JHHJHJHHHHJ@@J@J@@@@JJJJJJJ@@J@HHHHJ@ HHHH      HHHHJ@@J@HHHHJ@ HHHH JHHJHJHJHHJHJHHHHHHH@@@   HHHHHHHHHJJHHHHJHHHHJHHJHJHJHHJHJHJHHJHJHJHHJHJHHHHHHHHHHHHHLLLHHHLLLLLLFFFHHHHHHJJHHHJJJHHHJ<<<                                                 -  -  -     -  -  -                   HHH HHHHH   HHHHHH         PPPPPP                       PPPP  P P .PP.P.PJJJPPPJJJ   P  P P  PPP.PP.P.PJJPPPJJJPPPJ<  < < 2<  < 2< 2<  <  < <   <<<  ...  <<<     <BBB JJ<  < < < JJJJJJJJJJ - -2 -2 -2 -T -T -T -HHHHHHHHH2 -  - -  <BBB JJ - - -JJJJJJJ JJJ   BBB T -T -T -<  < < HHH2<  < 2< 2<    <<<  ...  <<<                                                                                                                                      JJ   <<<J@@TXTXTXJJHHHHJ HHHH   JJJJJJJJJJJJ@@JHHJHJHHHHJJHHHHJ HHHH   JJJJJHHHHJ HHHH JJJJJJ<<<HHHLLL    TX HHHHHHHHHHHHH   HH<<<H22<<<<<<       THHHHX TX JJPPPJPPPPPPPPPHHH HHHHHHP  P P                               PPP PPP<<< < - -abcP<<9 - -abcP<<9  - - -FFFFFFFF   FFFFzzzzJJJJJHHJHJHJHHHHHJJHHHJHJHHHHHH   HHH H HHHHHJJ   J deJ deJJ   J dJ dJJ     HHHHHHJ  fHgHhJ  fHgHh - - - - -FFFFFF  FFFzzzJJJJHHJHJHHHHJJHHHJHHH   HHHHHHJJ   JJJ   JJJ      HHHHHHHHJFFFFFFFF   FFFFzzzzJJJJJHHJHJHJHHHHHJJHHHJHJHHHHHH   HHH H HHHHHJJ   J deJ deJJ   J dJ dJJ     HHHHHHJ  fHgHhJ  fHgHhFF FzJJHHJHH HHJ deJ dJ  fHgHhFF22FFF22F 22 FF22Fzz22zJJ22J22JHHJH22JHHH22HJJHHH22JHHH22   HHH22HH22H22JJ   22JJJ   22JJJ      HHHHHHHH22J    HHHHHHHHHHHHHHHHHHPPP<<<   <<<TX   <<<PPPD -D -P -P -P -HH<<<HHH<<<H -<<< -  - -  - - - - P -P -P -  -<<< -    - -  - .... -. -. -   HHHHHH.` -` -.` -.` -P - -P - -` - -` - - - -` - - -P - - - - - - - - - - -  - - - - -  HH - -H -                                   <<<    J  J J JJ<<<PPPHHHHHHHHJJJ<<<PPPHHHHHHHH  J<<<PPPHHHHHHHH  HH   H<  < < < <  < < <    HHH                                      "$&(*,.02468:<>@BDFHJLNP    <<<   <  VVV\\\\J^^J^   ddd    HHHHHHHHHHHH<<<HHHHJ^ VV V VVV Vi  HHH V   J^^J^J^  fffhhhTffTfTf jj j jdddHHHHHH<<<HHHhdHH<J\\J\   ddd    HHHHHHHHHHHH<<<HHHHJ\ ff f fff fB  HHH f   J\\J\J\ jjj     fffJVVJV   dddHHlllHlj<<<JVJVVVJV   dddHHlllHlj<<<JVJVVJVdddHHlllHlj<<`d<JVJVVJVddd<  < < HHHHHHHH<<<JVlll HHHHHHHHHHHH jjJffJf   dddHHlllHlj<<<JfJfffJf   dddHHlllHlj<<<JfJffJfjjj nn n ndddHHlllHlj<<<JfJffJfjjjddd nn n n<  < < HHHHHHHH<<<Jf HHHHHHHHHHHH lllTXTXHHHHHHHHHHHHHHHHHHHHHnnnff                         HH   HjjjppppTn nn n n<  < <   HHHdddHHHHHHHHlllHljHlj HHHHHH   HHHHHHHHHHHHHHHffffrrrHHHHHHHHHtttJppJp   HHHjjjddd nn n n<  < < HHHHHHHHHHlllHlj<<<Jp   Hdj nn n n< HHHlj<<< nn n nnn n  HHH n    HHHHHH          JffJfJf jjj   vvv HHH HHH HHH HHH          <  < <        lllHHlllHHHxxxHHHHzzz zzz  nnn     BBB  J J J  HHHHHHHHHHHH    J J J J J J <  <   <   JrrJrJr<  < < TX   TX   TX            HHH              <  < <        <  <   <  k HHjjjH dddHHHHHHHHH  JHHJHJH  HHHHHHHHH  lll           <||<|<|TX~~TXTX~~TXHHHHddd   <  < <     <  < <     <  < <     <  < <  HHH <<<HHH <<<<<<        PPHHHPHHH   `d         HHHHHHHHH`d`dJJJJ<<J<J<   <<<HHHJ<<J<HHHHHHHHJ<jjjJhhJh      HHHHHHHHJh   JhhJhJhJJ      HHHHHHHHJJJ      HHHHHHHHJ   JJJvvvvv vvvvvv vvvvvv vvvvvvvvvvvvvxxxxx xxxxxxxxxx xxxxxx xxxxxx xxxxxx x`d              HHH                        nnnnn nnnnnn nnnnnn nnnnnn nnnnnnnnnnnnnnnnn    J -J -J -   J -J -J -    nnnHHHHHHJjjJj   JjJjjjJj   Jj        <  < <            JjjJjJj vvv HHxxxHHHHzzz`d zzz`d JJ   JJJ   JJJ   JJJ   J HHxxxHHHHzzz zzz     JJJJJJ    nnnHHHHHHHHH   HHHJJ   HHHHHHHH    J     <  < <         zzz zzz                        <  < < <  < < < <  <  <  <  <  < <  < $  HHH < <  < <    <  < < <   HHHHHHHHHH HHHHHH HHH   HHH    HHH     HHHHH   H         HH   H2<  < 2<    JJ<  < < < JJJJ   <<<  <<<  ...  <  < <   <BBB    JJ<  < < < JJJJJJJJJJ              TX            <  < < <  < < <  < < < <  < < < <  < < <  < < <  < < < <  < < <  < < < <          HHH <  < < <  < < <  < <   <  < <          <  < <        <  <   <  vvv  <  < <           fHHHJJ      HHHHHHHHJJJ   ddd    HHHHHHHHHHHHJJJHHHHJ                -  "$&(*,.02468:<>@BDFHJLNPRTVXZ\< :JLNTV<<^<<$4<<`<< 6<DFRX<<b<< -"&(*,.028>@BHP<<d<   fff   HHHHHH<<< <<<HH`dHH  <<<HH`dHH  <<<     <<< A<l    PPPPhhHHHHhPPPPP     HHHhhffffffffPPPPfff   HHHHHH   <jj<j<jHHHllllllnnnppp     HHHHHH<jj<j<jJJ     JJJHHHHJnnn      v       x HHH HHHHHH   HHHdddJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJz JHHJHJHmno  |||  m PPP JHHJH   JHp qno     |||  HHlll   Hlrp q  HHHH HHHHHH      HHH<jj<j<jJ~~J~J~J~~J~J~nnn <<<BBB`d <  < <       `dHHHHHH<<<J~~J~HHHJ~JJJ<jj<j<jlllnnn`d||||        <  < < <<<<             <  < <                                                                                                                                                                                                                                                                                                                                                                                                                                                              < JJJ   <  < < <  < < HHHHHHHH<  < HHHH<            HHH   <  < < <  < < <  < < HHH   H<  < < <  < <    <  < <        <  < < <  < <    <  <    < <                                                                 < <                                                                 <  <  < <  <  < <  <  < <  P<<P<P<PPPHHH<<<   HHHHHH        rv  <<< <HHHH    <<<HHHH  <<<     <<< A<l   HHH HHH      HHH HHH              fff fff                     <<< <<<    HHH  ... <jj<j<j<<<<<<hhPPPPPPPPPPHHHHPPPPPPHHH HHH ffPPPjj   HHHHHH       P  P P        P   PPPPPP... PPP     PPPPPP zzz  ~~~        PPHHHHP HHHHHH        PPPPPP< <     PPP<      ......        PPHHHPHHH..            <  < <           HHHHHH           <  < <     HHHHHH   HHH        $  HHH JJJ HHH <  < < <jj<j<j<jj<j<j   HHH<jj<j<j<jj<j<j   HHHpppp    $  HHH lllnnnlll~~<<<   lll<jj<j<jHHHJ~~J~HHHJ~    $  HHH JJJnnnHHHHHHJ~~J~HHHJ~<  < < <  < < <  < < < <  < <  <  < <    - -2 -2 -2 - T -T -T -HHHHHHHHH2 -  - -  <<<BBB JJ - - -JJJJJJJ JJJ   <<<BBB T -T -T -<  < < HHH2<  < 2< 2<    <<<  ...  <<<    HHHHHH      HHH HHH HHH HHH  <  < <  JJ<  < < < J <<<  HHHppppp   <jj<j<jHHH<jj<j<j        JJ     JJJHHHHJnnn      ~~~zz<jj<j<j~~~~J~~J~J~HHH   <<<HHHJ~~J~J~J~~J~J~      HHH HHH nnn   BBB  <  < <   <<<   <<<BBB  < s < s < s <  < <   <  < <      HHH  2<  < 2< <  < <              < <  < <          < HHHHHH   JJJHHH       HHH < s < s   HHHJ J HHHHHHHHJ JJ<  < < < JJJJJJJ <  < <     HHH HHH <  < <  <  < <  <   <  < <  <  < <  <  <  <    < HHHddd   HHHHHHJJJHHd   JJJ    JJ   HHlllHljJnnnHHH        HHHddd@@@@@@@@@JJJ    HdHHHHHHHHH       HHH JJ   JHHlll   HrrHHHHHHPPP<<<<<<dddHltp qHltp q   HHHd  HHlll   Hlrp q JzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJzJzzJz   JzJzzJzJz HHHH JHHJHJHmno  ||| JHHJH   JHp qno     ||| u JJJJJJ        HHH    HHHJJ   HHHJ    PPPPPP        P  P P      HHHJJJ HHH JJJnnnHHHHHHHHHHHHPPHHHPP  P P HHHJJ     HHHHHHJJJ   ddd   HHHHHHHHHJH     $  HHH JJHHHHJ              PPHHHPHHHHHHTTT<<<<   HHH   HHHHHnn           $  HHH    <<<  <<<     ...  <  < <   <<<BBB JJ<  < < < J JJJJJJJJJ      HHxxxHHHHzzz zzz PPHHHP        HHH    zzz HHH zzz     HHH zzz ||   zzz  zzz  zzz  - - zzz  zzz     <     < <        < <         < <         < HHHHHHHH<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH<H                                                                                                                                                         HHHHHH    HHHJ -J - - -J -JJJ          JJJ           $  HHH HHH   HHH           <  < < <  < < <  < < <  < <           HHHHHHHHHHHH   HHHHHHHHH      HHHHHHTTTTTTH    $  HHH    HHH         HHHHHH HHH   HH   HHH   H<<<     HH<  < < <  < < H          <  < <         HHHH      llHHHHHHPPP  HHH   HH<HHH<H<  PPP <     .``.`.` .``.`.` P - -P - -` - -` - -` - -P - - HHH P - -P - -P - -  ......   HHHHHHPPP                < - -abcP<<9 - -abcP<<9        - - -rrdddrdrdPPPuPvuPv - - - -   -rrdddrPPP    rrdddrdrdPPPuPvuPvrduPvrrddd22rPPP22                                          *    ,    .    0    2    4    6    8    :    <    >    @    B DDDDDHDDDDLDDDDDDHHDDDDNDHHHHHH     HHHHHHH  HHTThhhThhh   TThhhT(VV(V<<<<wDDDDLDDJVVJV<<<<wDDDDLDDJVHHH               Z    \    ^    ` JVVJV...PPPDDDDLDDJVHHHDDDDLDD      JJ   J  JJJ <  < <                                                              <  < < <     D<  < D< 6<  < 6<                                        HHHHHH     HHH             666HHH...bbbHHb<  < < <  <<<BBB   <  < <             HHH <  < < < <  < < < <<<DVVDVddTVVTVTVh<wh<whDDD<whDVVVV<<<JVVJVh<wh<whDDDJVbbpppDDDbHHHHHHHHH     HHH888888 jn   jn  HHHHHH888888<  < < <  < <  < < < D<  < D< 66jjj6<  < 6< 6< bbbj<  < < <    <<<BBB     <  < < .<  < .<    <  < < HHHHHH.< 22jjjTTT   HHHHHHj    TTTHH<<<BBBHJJJJJJ   VVP  jjP jP j    TTT   HHH   HHH   ppp   bbbrrrJVVJV...PPPDDDDLDDJVbb~~~DDDbDDDHHbbb    >  HHH           <  < <   <<<BBB JJJJJJJJ   J     PPHHHPHH   Hzzz|||<<<<<<<<<<<< <<<<<<   HH<<<HHH<<<H <<< HH|||H<<<<<<zz<<<zz< -< -. -. -. - -<<< - <<< - -        - -  . -. -. -     - -  -   - - -          . -. -. -       - - - -  -  -  - - - -HHH<<<PPP`d""""""<""<"<"HHHHH<<<HJJJHHHHHH<<<<<<PPPPHHHHH<<<H<<<PPPPPPPHH<<<H<<<HHHHHHHHH<<<<<<JJJ<<<HHHHHHHHH"""<<<<<<HHHHHHHHH<<<HHHHHHPPPPPPPPP<<<PPPPHH<<<HHHH<<<HHHHH<<<H<<<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH<<<HHHHHHHHHHHHHHH<<<HHHHHHHHHH     HHHHf         TX         TX  J -J -J - - -          rxHqÀ>g 4]ABOVyŃ 9Zsƅ2l؆ -DvNAl҈Jzމ O`qƞמ -,=N_pş֟ +O`qƴ״ -,=N_pŵֵ +IEx0?N]l+xjw - - - ' - J - 7=%&6>Sc%Ub+h$4Sr -&Ba;FQ\gr2=JWg -(8>}C*;L]n):K\ivtw+Gc6FVu"%(3CISg{ <XtZv)| /Qs?fspw (D`kv X&'*Ih%5?I[c,yc'+8z…ž¬¶¹(2Sÿ'7?OYiqāċěģijĽ-:JPQWakpŀŊŚŤű怰 .>\ƂƈƉ <[ akǍǦǿ0UnȇȒȝȨ &3@MZgwɓ耸ʋ"Ew˅˧%5Y}̷DLc|ͫͶ׀!,'+.aΆ!lϻ.Да%рѲ6\gr}ү,wӄӑӞ*pԋԛԷ%@YuՂՈՌՙզ-լ #Mօ+מ!<_t؉ؔآع Nfّ8AdڞLzۿ8܎ܯ$Yu%{݂݅cލnu*Fd<3QZ '喀' 3Rq2Nj+8fs3RX^f黀 EFQ\x * -&ES^iy췀#R,Zv Ndm -#-=EU[\iv<.o~">j+;Kg'>q$2BRiy,9Ki~  +6Nc5JPQtƀ &6FVfv&56Dr2%3AO]hv>IT_ju!;K5k 8!1AQu5u  % 3 A L h v    - -m - - - - 4 U   k {   ! I   8otLk<[z;Kjj=Vo&cW)IYp{7Vdt G -*:JZjzDN^kx%0;FQ\x$2@b   ( !!2!N!|!!!!!!!"""="K"q""߀# - 7 - a - -o - - - -C - -] - - - - - - - - - -/ -J - - -S -b - - -+ -^ - - - - - -8IGу*V$0SY!\⃛}~. !$'(ŁOր+_\\QÁāځсـ,`.####/#5#:#?#E#J#W#l#########$ $2$X$^$$$$%/%x%&.&'''''''(2(H(X(`(p((((((())!)2)C)T)j))))))))* **4*E*V*g*x*******+++"+3+D+U+f+|++++++,,',=,S,d,u,,,,,,,--'-8-S-n-----..+.F.a.|....///9/T/o/////00,0G0b0}0000111:1U1p111 112 22&22233(3Y3i3x33334 4-464A4w444515|55566b6'666667777%70797C7T7Z7g7t7w777777788 88/898F8f888888888p89999]9h9s9~999: -::$:@:::::;;;;;a;p;;<<,1>M>h>w>>??g???@)@L@Z@@@A+AMAuAAABB1B`BBBC;CCD*D3DYDDDEEEWEsEEEF FLFjFsFFFGGGG|GHH}HII*I9IaIpIIIIIJJ<JjJsJyJJJJJJJJKK!K+K;KCKSKYKuKxKKKKKKLL!L.L;LHLdLLMMjMMN%NtNOOLOOPPGPmPPPPPPPQQQNQQQQRRRRFRSReRRRSSlSSSSSSSTTXTTTTUKUwUUUUV&VRV]VxVVVWW:W^WWWX+XQX^XkXXXYHY{YYYZBZhZwZZZZ[[[G[Z[~[[[\ \3\@\S\`\m\\\]]5]Q]w]]]]^^^B^O^^^^_ _T_____``+`>`K`X`t```a a<abaaaaabb -b.bXbcbnb{bbbbbc0ccd#dBdde'eeef1f|ffffggg*gPgvgghh hh#h?hLhYhhhiii+iQiwiiiijjj;jWj~jjjjjjȀjGjjjkk*kdkkkl -ll.l=l^lllllmmIm`mmmnn5ncnnnnooVowoop pTpkppppppqq%q0qTquqqqqqrrArPr[rvrwrrrrrrrrs-srsxssssssttt1tHtltttttuu&u3uYuuuuŀuuuuvZvwXw׀xVx\xkx{xxxxxxxyyy3y>yEydyy - -" -" -#G -% -%U -( -* -* -* -*J0234567809:;>?@ABCDEFIJKL(MNOPQRS+TUVW,XYZ[\-]^_`a23bx/G|:[&R8rЁT[zX6TtVrGA$HX*5BO\ FS`T]{NH?[w)M  PZ`|;1_*3fu#?e>ZFl{:bmT#.7*R_l -#Ck9l5cl|&?Hw,9FRLh#.9DlEtNhu6`8W8? - 3[ƒA]hÃÌúFtĐ7_{şŪ'OkƉƔƸހCRapxǸCRhȮȾ*7ɥ:GT]yʖZ˒̄+ϟϽ/А +ju~њѶWfuҒү7ZgtӮӻ`ԘԬԷ(GՓ՞թMalw7q׎*p5٤ٻ+QڛCܧ !.;Wrݍݩ5Sޟ6\߷ -+ -+ -, -,B -,e -- --; --f -- -.4 -/? -0 -2 -4vye:|CB1"D4F%OPIWZ}cf  -"(2BRsࢁ  V&BSdu>W`ktGTz!4Gk2`>l|6Mt}(/Fmv(Nit   -*7^hzꊁ%&R~ 2p7^hx(3oh-S$Kg,Nb.@UeUn+Sit 7Sdu$5@KValwV&Y +OsKb#^Ɓ*6ETcov}ځf - 5Kqtmx$<>HzCd 1 g   - -a - -  -   D v    5 M b     +4Pvr!9mG|42^a-EQir;W{'<lfJxLhy'<Q&1<`;RyO!8_h  8 S o  !!!9!U!{!!!"""5"A"X"""""###w#######$E$K$O$f$$$$$$%-%>%O%`%q%%%%%&&&*&7&O&u&''>'h''( (5(m(((((() -)) )+)6)A)L)W)b)k)t))))))* -*!*H*Q*n**+ +{+++,,+,F,,,--)-W-`-z------. .%.4.<.j.x......./ /*/./?/P/a/n/y//////0010I0T0t00001 11+1;1H1`1l1w11111122232i2r2223@3P3v34)44444444455*565`5x555556606V6k6x66667 7"7I7R7n77788&8|899:9=9T9{99J9::f:;4;l;;;;<9<<=/=]=|==>6>M>t>}>>>>>??C?z?@@&@R@@A-AYAB;BwBBBCECCCDD7DDE EEEFFPFFFFGdGGHHMHHI I'IzIJJJ<JJJJJKK$KCKiKLjLLLLLLLMM'MxMNN>NNOO:OEOOP/P~PPQ4QQRRRRRS -T TVTTU!UlUUVmVVW WWWW Xb XhXiXXXXXXY2!"Ys -YyYYYZ^Z[\]?^*_\__`Q`aaaaaaaab:bqbrbccMcNc^ddYdZdjde)e*e:ef8f9fIgggmt tgtuKuvgw wx;xxygyz/z9}4}}~z@t0rs2L7^$@pbN)}2O+5EM e&c 3)v.>N^;KAO]A'Fib>V&;q{Wadr[M3Ayn-TsP/p)ρ -6 -6 -6 -8Q -8 -9 -: -; -< -> -A -B -C -C-p.`uzɂ̂͂΂ւЂт҂ӂԂՂׂ؂قڂۂ܂ςʂp#87>AFQ[kx:_?g -&`x v'7=_$%lrs# -H -I󉊂&v|Ձ'(RXYiv(9Jfvw¨:)*ê ðñû(5Q[huĂčě #1MNňŠŸ+,%+,9FV^noƖ<GR-.o7uǙǰ !=YuvȸmxɜɝɾBfsʃʓʣʰ2VWgw˓ˣ˫˴˽ "q̽& -I -I -Jg -J -K9 - /1O^@\g΀/Wdq~ϋϘϸ.OhsІП)Jc|чњѳ$=^wҐқҮ%8QrӋӤӯ.9LeԆԟԸ)4G`Ձ՚ճվ $=Vw֐֩6Op׉ע/Hi؂؛ؼ(Ab{ٔٵ?qګ0bۜۿF܀܉ܔܞ V݁01    #-0:=GJTWadnq{~ځ23Ms|4ځ56 -Rny㧁78  / -L` -N -OR -Ou -O -O= +CEA3456789:;<=B!Lƒ$MIRă@Ł9 =&,28>DJPV\bhntz9 -Pljȉɉʉˉ͉̉ΉωЉщ҉ӉԉՉ։׉؉ىډۉ܉݉ރ: %.46ETcrsw|#,fqȁ: -Q;{/G[s #7Oc{+?Wk3G_p/@Paq'7HXiy/@Qar'8IZj{ 1BRcs﵁; -RRa<チH+@g ,K`"2Gf3DUfw,<[=dEaq -Lst@Pw0My8+Ht6SmTq-R #?Qf{1E_s1Hb<| (Gf=dPP~&r <[z  1 k   -( -b - - . Y     <    ! m   Cqd <d3*Qx!W']^o0/Ic}:YxDoEx/f/LZ<w< -TR( - =->OYjo}*:PQai= -Y !"͊#$%>'*,=@Lde  " @ J T ^ h l |       !!!!>!Q!!!!!!" -")"9"X"e"n"{"""""#'#:#h#####$$>$`$$$$% -%%%-%x%&&&E&F&J&`&~&&&&&&&'''"'3'='?'D'I'V'`'a'q'~''''''''((("(2(B(R(n(u(y(}((((((() ))))4)D)W)g)w))))))))))*****)*F*r*********++.+?+M+v++++++++++,.,Y,,,,,,----+-5-9-=-A-Q-_-r-}----..$.<.L.\.l.|........// -/ //#/1/L/h/r/u/////////000'0/0?0R0b0j0z000011v111122"202?2M2X2g2u22223333!313?3I3V333333344 46?4`4c4d4t4|4}4@A4844505\5z5}5555566>6\6e667a88X889 9=9J9N9q9|99999:9:]::::::; ;<;M;q;|;;;;< >>1>M>_>r>>>>>>?"?4?G?o?????@@$@7@h@z@@@@AA/ABA|AAAABBCBUBhBBBCC(C;CZC{CCCDD>DkDDDE3EjEEFFZFFށDEG#0G&GOGnGGGGH -HH-H<HKH\HjHHHHHHHHHHHHHHHHIIIII)I,I8IDIKISIlIIIIIJJFGJ4:J7JHJYJsJ}JJJJJJJJK -KK K+KzKKKLLELpLLLLLLLLMMM'M2MNMjMuMMMNN&N6NCNTNyNNNNNNNOO!O.HIOf0OiOtO|OOOOOPP!P,PHPPPPQQ!Q1QAQNQ_QQQQQQQQRRR RORlRzRRRRRSS$S/S=STSkSsJSLSST-T:T>TBTFTVTfTsT~TTTTTTTUU*UFUUUUV V;VYVwVVVWWW=WUWeWuWWWWWXX$X3XFXJXvXXXXY YYY#Y-Y=YMYTYpYzYYYYYYZZ%Z2ZBZQZZZg> -Zi -^ -_ -_ -aY -b$ -c -cۃӊ'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgiklmnopqrstuvwxyz{}~ÃƊɊŠÊĊŊƊNJȊɊʊˊ̊͊ΊϊЊъҊӊԊՊ֊׊؊يڊ܊݊ރҊߊ׊֊KZtEZwZZZZZ[[ [[#[([0[C[H[M[R[`[e[n[p[u[[[[[[[[[[[\ \\'\@\N\_\b\r\\\\\\\\]]](]A]E]P]k]]]]]]]]]]]]^^LM^%g^(^)^,^E^^^^^^^^^^^_)_b____```=`T`o``aaa1a_aabbxbbbbcHcgccddadeeief-fHfffffg g_gghh8h\hhhii6iRi]ihixiiijj;jFjQj_jtjjjk2kZkkll4lIl}llllmm m-m<mdmqNOm~Tmmmmmmmmmnnn7nHnUnbnon|nnnnnnnnoo3oOono~ooooopp1pAp]pyppppqq0qOqnqqqqrr"r>rZrhryr|rrrrrrs ss0sUssssstt@tYtgtttttttPQt*ttttuuWuuuuvIvwwtwwxx=xexuxxxxxyyy:yeyyyyzz<zGzRznz~zzzK -f -h -i -k, - ؋كڃۋ!RzGzzzzz{{{{{({6{_{{{||,|U|~|||}"}K}t}}}}}~~-~O~Z~e~p~{~~~~"/>Mo}5r7X} ;IYL~H{+]O1k4h1DZs*Cd/%ATm,?Xp3F_w7Jc{;Nd}9Uh=Yl'Lh{(3Lq (/bqt'@Yr:E^&3@HUbo|";Tm'@Ydoz#0@MXgjy+P[tR -l7"#$%&'SENQZ_behj|/{ !$5FWhy#4EVgx%6GX[l}*;>O`q!2JMz+.?PS!$58IL]n$@o%6GrSdgpy$'8WnKNYgr}4X|Qu $9rh:JZjz3K`uSh}(=h'J\iL!E{@a}/G_ Dh.Cd6sM}Sx <c~>Yd 0WoPh"[¸ÃfĚ&;kųƔ,hǘ,Ȩəʝ˲F̋ 0@Xp͈͠͸^ί=hϟ.YЁе3^щѴP҄ <Xt}Ӓ>GzԪ"VՁո&]֔O}׷+e؜lCzڱV Q܎Eݼ9sޭ>xߨO2z#b&e)JIy"Fj *c6KzL\l|-E]r,ez%:Oz+GR_~@_Ky)Ea}-'N{PIw0/`(Cy$?{Mh 1I|?W>ORcfwz+.?BSV^ar ->O`q -,=N_p +<M^o*;L]n):K\m~(9J[l}'8IZk|&7HYj{%6GXiz$5FWhy   # 4 E V g x        - - -" -3 -D -U -f -w - - - - - - - -  ! 2 C T e v           1 B S d u           0 A R c t         /@Qbs .?Par ->O`q -,=N_p +<M^o*;L]n):K\m~(9J[l}'8IZk|&7HYj{%6GXiz$5FWhy#4EVgx"3DUfw!2CTev 1BSdu0ARct /@Qbs   . ? P a r       !!!#!4!E!V!g!x!!!!!!!"""""3"D"U"f"w""""""""##!#2#C#T#e#v########$$ $1$B$S$d$u$$$$$$$$%%%0%A%R%c%t%%%%%%%%S -q4'(#/)*+,-./0123456789:;<=$>?@ABCDEF"%G0(3&1)2HT%%%&& &&.&K&S&|&&' 'I'''''T - -LMNOPQRSUVU'''(((!(1(A(Q(a(n(o(r(s(((((U -WX V(((((((((((((((فWX(2()))1)A)i)t)))*3**++M+X+c+n+,,5,T,p,,,-%-T---.2...../*/Q//00Q001,1H1Q11YZ1011111222(2;2?2O2_222222233333%353H3X3k3333333333444/444>4K4X4e4t4[\444455Q5b5s5x55555555566626E6f6t6666666]^7 7777*777D7Q7a7q_`77777788@8k888899%9j99:8:Y:b:r:::; ;;0;Uab;w;z;{;;>4>L>g>>>>>>??'?>?Q?k????@ @9@[@@@AAApABBuBBBBCC,CFC^CCCCD -DjDuDESE^EaEEEF.FFFlFFFGJGMGbGmG{GGGGHH1H\HHI2IJIPIfI|IIIIIIJ5JQJJJJKK)KDKjKKKL1L4L?LoLLLLLMM=MTMzMMNN&N>NyNNNO OWOOOPP]PnPqPPPPPPPQ,Q]QuQQQQQQQR%R|RRRRS8SSSSSSSTT6TNTsTvTU$U{UUUUUUV"VGVlVVVVVVVWW+c -N^[a\_HSubZ]MTYdW@~WIWLWUWZW]W`WoWuW{W|WWWWWWWWWX XX/X@XQX\XjX{XXXXXXYRYUYXY[YfYYYYYZ:Z=Z@ZCZNZfZiZwZZZZZZZZZZ[[[[)[4[B[Z[][k[y[[[[[[[[[\\\!\/\G\J\X\f\~\\\\\\\\\]]]]=]@]C]F]T]]]u]~]]]]]]]]]]^^^$^<^?^B^E^S^k^n^q^t^^^^^^^^^^^^^^___________````*`8`F`T`b`p````aaa'a8aIaZahavaaaaaabKbNbQbTb_bmb{bbbbbbbbbc cc/c@cQc_cmc{cccccccccdzd}dddddddddde -ee&e4eBePe^elezeeeeefAfDfGfJfUfcfqffffffffgbgeghgkgvgggggggghhhh-h;hIhWhhhhhhhiiiiiiiiiijRjUjXj[jfjjjjjkjkmkpksk~kkkkl -llllllllllm mm(m6mmmmmmmmn nn(n6nnnnnnnnoooooooop,p/p2pCpTpepsppppppppqdqgqjqmqxqqqqqqqqr`rcrfrirtrrrss"s%s(s3sAsOs]sksysssssstEtHtKtNtYtgtuttttttuJuMuPuSu^uluzuuuuv3v6v9v<vGvXvivzvvvvvvvvwwww+w9wGwwwwwwwxxx"x0x>xOxRx`xnx|xxxxxxy(y+y.y1y<yJyXyfytyyyyyyyyyyzzz8z;z>zLzZzhzxzzzzzzzzz{ {{'{5{C{Q{i{w{{{{{{{{| ||+|<|M|X|f|w||||||}O}R}]}h}}}}}}}~ ~?~H~d~~~~ $2@Nfilo}&7ESao}*8FTbp&4EUeu.MlSVal$CLhMPSVdr'8FWv.Yu 25FWhy#.<GUmpsv#1BPay|-8;FQm (1Ml0>L]gw 9Gid*/4@EJOTY^ chmr w%|*/49<Qft}9^Ch!Fk$In'Lq*Ot-Rw 0Uz*;IWes)@Wn97:=@adgjx(6D`m -EHKNoru+.1?M[iw*8FQi~+Onw/Zru,:dgjm{#&):K\m{d -dvnwxy~y}x|{klz{|}~zwiopqrsvhutjek #&)+17L]`&7Lav/\u.<GUct&4LhsV"0>LZhv.1<JXiwˆ–¡¬:bsvÄÒàîÿ+YĖGJuŮ7\ƓƞƩƴ.1^tǂǐǞǯDz (@evyȄȒȠȮȼCNjɉɮɿUnʄʒʣʦʷʺ Wg˃˟˯˿[z̩̹̊:͚+;K!7JXftςϐϡ%8ILyЏТгж +.[qфђѣѮѼ&4EHuҋҞҬҺ3I\j{~ӫ/ESdgԔԪԽ "0ADqՇՕզթ(Vgj֭֗$'Tj}׋לת׻&4BPao}؋ؙتظ5FIvٌٰٟٳ -Chy|کڿ!7JUcqe -%ً„ÄńƄ̈́΄ȄɄʄ˄́fۂ7ۋێۗۜ۟ۢۨۮ,D܅܈ܓܡ0|ޅ޳ ->OZhy|߇ߕߠ!,T0>"f - ܄݄؄مHքՄۄԁgs|!*8F ,/\rTy  ch)7HSao"0AO`n'5FTes &4ESdr +9JUcn|$2CQbz3Xil5J[^| +<J[iz#1BPaoX "3ARw'09Bg'<M[lz -&4BP^l}3I\jxehmr +<M^o&Kp 6IWep~ +<J[iz#1BPao):=HSdgr (+Xn| (+ - .<GR]0Ry&7EVgju +z)^eos -;F^y  = W Z  - -_ -  d   i   n    :_=b)<JSk %6DUct!/=K\gt.d$DUXfoNilw0Xb(9<ctw#4BSar&4ESdr ,:KoH]~9gLhsAo  , D M V n w  !!1!v!""E"##c#l#$$8$}$$%!%g%%&Q&&''i((]()0))**%*(*6*G*R*j***+++7+E+S+]+`+x++++++++, ,1,4,L,s,,- -- -:-P-c-q--------..".%.6...../N/w/z/}///////0#0t000000000001 11+1.1C1Q1b1e11112"2c2|22222222333'3*383W3v33334404O4n444455/5N5m55556 6 6?6^66667 7(7G7X7[7i7z77777777888?8P8S8a8o8}88888888889 99@9N9_9{999999:::":3:6:c:y:::::::::;;;;7;V;u;;;;;;<<<$<'<9>>>->>>O>`>q>>>>>>>>????.?1?a?w????????@@"@8@F@W@e@v@@@@@@AAQApAAAAAB.B9B<BJB[BiBzBBBBBCC!C2CNCfCtCCCCCCD DD+DGD_DmD~DDDDDEEE$E@EXEfEwEEEEEEF FF9FQF_FpFFFFFFGGG2GJGXGiGGGGGGGHH+HCHQHbH~HHHHHHII$I<IJI[IwIIIIIIJJJ5JCJTJpJJJJJJJKK.K<KMKiKKKKKKKLL'L5LFLbLzLLLLLLMM M.M?M[MsMMMMMMNNN'N8NTNlNzNNNNNNOO O1OMOeOsOOOOOOP PP*PFP^PlP}PPPPPQQQ#Q?QWQeQvQQQQQQR RR8RPR^RoRRRRRRSSS1SISWShSSSSSSSTT*TBTPTaT}TTTTTTUU#U;UIUZUvUUUUUUVVV4VBVSVoVVVVVVVWW-W;WLWhWWWWWWWXX&X4XEXaXyXXXXXXYYY-Y>YZYrYYYYYYZZZ&Z7ZSZkZyZZZZZZ[[[0[L[d[r[[[[[[\ -\\)\E\]\k\|\\\\\]]]"]>]V]d]u]]]]]]^ -^^7^O^]^n^^^^^^___0_H_V_g_______` `)`A`T`{```aa-a>aOa`aqaaaaaaaab -bb,b=bNb_bpbbbbbbbbc cc+c<cMc^coccccccccddd*d;dLd]dnddddddddeee)e:eKe\eme~eeeeeeefff(f9fJf[flf}fffffffggg'g(gGg}gggggggghhh&h7hEhVhdhuhhhhhhhhhiii/i=iNi\imi{iiiiiiiijjj'j5jFjTjejsjjjjjjjjkkkk-k>kLk]kkk|kkkkkkkklll%l6lDlUlcltlllllllllmmm.m<mMm[mlmzmmmmmmmmnnn&n4nEnSndnrnnnnnnnnno oo,o=oKo\ojo{ooooooooppp$p5pCpTpbpspppppppppqqq-q;qLqZqkqyqqqqqqqqrrr%r3rDrRrcrqrrrrrrrrrs ss+s<sJs[siszssssssssttt#t4tBtStatrtttttttttu uu,u:uKuYujuxuuuuuuuuvvv$v2vCvQvbvpvvvvvvvvvw ww*w;wIwZwhwywwwwwwwwxxx"x3xAxRx`xqxxxxxxxxxy yy+y9yJyXyiywyyyyyyyyzzz#z1zBzPzazozzzzzzzzz{ -{{){:{H{Y{g{x{{{{{{{{|||!|2|@|Q|_|p|~||||||||} }}*}8}I}W}h}v}}}}}}}}~~~"~0~A~O~`~n~~~~~~~~~ (9GXfw 1?P^o} -)7HVgu!/@N_m~'8FWev0>O]n| (6GUft .?M^l}&7EVdu/=N\m{'5FTes->L]k|%6DUct.<M[lz&4ESdrN *;IZhy"3AR`q +9JXiw,:j5FIZ]hv&)Yo0>L]k| /BP`qt+<GDUX[^oru IZ]`p~&El3DGRt %=Um~2h{|k=t.14D`s-;LO]ky ,/\r!/=Nfox[(D!\r)HY\(+0,:HYgu --;P^l}[$Cr ?5v'M<}7q#1h*?Ts*Ot-Rw7\:_=b@eCh!Fk$In'LqEPb˜=wñ*-]čě M[lŢź$9NmƵ#KLJǗǨǫ!7JXf~ȎȞȮȾ.>N^n~Ɏɞɮɾ.>N^n|ʍʝʮʱ+Q^orˑˢ˥˷&7EVdũ̢̳̔/=N\m{͚͌ͫ͹'5FTes΄Πμ(Smτϯ,ZЗMlыѪ  0>LZhv҄ҏҚҨҶ -&4BP^lzӊӚӶ.>iԃԚ#Qջ&ER_֊ֻ֤  M^aנ׼'8FWev؄ؕD`yُ٢ٲ/Fqڋڢڳڶ%AZpۃۓۡۯ۽'Rl܃ܡLOZ݄ݶBlލޝް޻)dߗ:=| "0EShv4-Ievy-Ie} +=Ydo0n)dSo4=Yiw7ESao}6[9eCh!Fk$In'Lq*Ot-Rw 0UzInKo}&>KXes(Mr+Pu5Z8];`>cAfDi"Gl%J>c #&),/258;>ADGJMPSVY\_beh2S3Uw V>y1gi    -2 -Q -x - -  G u     " 0 > L Z v       \ g r     /K^lw:?DIUZ_ dins!x&}+05: ?  !D!!"I""#N##$S$%%&&f&t&&&&&&&&&&'''''8'C'Q'_'j'x''''''''''( -((&(1(<(G(U(c(q(((((()))-)B)Z)l)z)))))* */*U***+(+Z++,,8,Q,f,,,,,,--7-G-Z-|-----..E....///#/5/J/_/~//0050Z00001181]111122B2g22223 3E3j33334#4H4m44455&5K5p55566)6N6s66677,7Q7v7778 -8/8T8y8889 999::&:K:L:t:u:y:~::::;?;B;E;H;S;a;r;;;;;;;;< <4K>y>?=?????@@ -@7@M@`@k@@@@@@A+A9AJAXAzAAAAABBBB$B2BOBZBeBpB~BBBBCCC$C-C>CWCZCDD_DDDDDDEEEE"EGElEEEEEEEFFEFVFYFgFFFGLGhGGGGHH"HBHSHVHrHHHHHHHHIII$I7IGIIIIIIIIJ JJ JMJcJqJ|JJJJJJJJJK*K8KFKWKeKsKKKKKKKL"L;LQL\LjLLLLLLMYMMNNNNNNNNNOO$O@OQO_ObOPPgPQQlQoQQQQQQQQR R2RWR|RRRSS9S<SGSUScS{SSST=TTUBUUUUUUUUVVV.VFVkVVVVW$W<WMWPW}WWWWWWXX3XIXWXhXvXXXXXXXYYY%Y6YDYUYcYtYYYZZ]ZZZ[ [[1[[[[\\&\)\V\l\\\\\\\]]](]6]V]]]]]^ -^1^n^^^^__/_2_5_8_F_W_e_v_________` ``'`5`C`T`s```````a -a"a3a6aXaaaaaaaaaabb bb$b5b8beb{bbbbbbbbbbbcc cqccccdbdddeZeeeeeef ff)f,f:fEfOfffgg -gaghhfhiikij jwjk%k|kl*llm/mmn4nno9oop>ppqCqqrHrrsMsstRtuuWuvv\vw -wawxxfxyykyzzpzzz{{){N{s{{{||3|X|}|||}}6}[}}}}~~9~^~~~~<a?dBg Ej %3DGJM[lI_r} -!$'*-03MX[ft[^JMXt'8;IZ*8I8fwz$2CQ_p~ BSit!ru#4?+9J_tz=BGl;` -/258FWbp{0>L]k| #&4L]`r 2e7BMgj &1?JUct !25SfvOadgu -&4?M[lz&4ESdo}%3DO]k| $/=K\gu .?Mcty3HSaly+@JUcn|*5BZdgq $2;IZes~&)7HVakn|!"3>LZes~ *-7ESdr /:HSal 1<JUcn-8FQ<?JTWbp{ &JTWev&7EVdu ),Yo$:M[i%(6DR]kyl DZm~(3>Zkn*@QTWZes"5EVY\_m~!/@N_m~ >L]k|%6DUmv+<?BEu,=@KVaru_wz}$/=KVdr€‘Ÿ­¾(6AO]hvÁÌÚëù -&7EVdrĀđRŇŗŠũ #PfyƄƒƪƭƾ -KalzNjǎ*Blȓȫ$4EHVnɊɕɦɩ"%CVd|ʊʘʩ ':JXiwˈ˛˱˿BM[̷̉3FQ_ps!Ndw΂ΐΞάη 1VgjxωϗϨ_beuЀЎМЭл %=dэѐ>DTgz҅ғҫһ 0bzӟ(>Q\jԓԖD՛թպIYuր֧֜!Forן׵AY\_o}؋؜8@]ي٠ٳ1?.wz ?Rb܇ܘܛܞܡܯ 6AYݹݼݿ#1BPaoހގޟޭ޾ - :Pcq߂߅36a#H J`s~Oe{4?JUv -&4Ldux#&1Mq,=K\qr3EWbt3O^z6Dpy0Os~07MCQ_ps2Vd#1?M[i~1FT8_w"A{5@R`n| *;>ISVdr -,:H`x &Kn~VCr{/ .?Bd ;>O`q --8F[it>ZLdgx":X[ft),7Sw/2QbesLQ -&4BM[fq|<a  ' 5 C Q i z }         -4 -7 -: -= -H -V -s - - - - - - - - -   * 8 F W b          * 8 C Q      . 1 ? M ^ l }         1?P^o} -)7HVgu #`n3!<Ar8]foF^Kr&7^ ):K|#&1?JXfqorux"0>L]hu #Pfy +<GUct.<M[lz  _  !o!!!"$"R"["d"|"""#;#S##$"$$%9%B%%&&S&&&&&&&&''"'%'('+'C'F'I'L'Z'k'y''''''''(2(L(O(U(h({(((((((() )#)&),)<)O)b))*=**+'+N+u++,,,5,C,Q,_,m,{,,,,,,,,----....1.?.M.^.o../ ///+/9/G/_/////000!040B0P0^0l0000111,1L1]1`1n1|11111112P2S2^2l2z222222353h3333333444$45484Z4k4n444444444455 55'555C5Q5_5j5x55555556616X6i6l667777*7-7;7I7T7b7p7{77777777788&848E8H8V8d8r8888888888889999'929=9H9S9^9i9t9999::#:&:h:;;H;Y;\;o;};;;;;;;;;;;<<4<<<<<====-=I=e======>>>>'>5>C>Q>\>g>r>>>? ?#?P?f?y???????@ @@$@C@T@W@Z@]@n@q@@@@@A AA9AJAMAAAAAAABB B0BABDBqBBBBBBBCCCC>COCRCwCCCCCCDD;DSDVDdDrDDDDDE.E<EME[EiEzEEEEEEEFFFFFF\FrFFFFFFFFGGG%G6G9G[GGGHH HH(H8HHHYH\HjHuHHHHHHHHIIIII%I=IUImIIIIIIIIIJJJ!J/J:JJJZJoJJJJJKKK6KKKKKLL0LHLlLLLLLM M MM(M6MGMJMhM{MMMMMMN/NDNUNXNiNlNNNNNOO"O%OaOtO}OOOOOOP PPP(P^PoPrPQ QwQQQQRRRR*R5R@RKRVRdRrR}RRRRRSS-SRSwSSSSSTTTTlT~TTTTTU UU UMUcUqUUUUUUUVVV#V&V4VBVQV_VVVWWWEWWWX XdXYYiYZZnZ|ZZZZ[[J[l[[[\\*\d\\\]]%]I]m]]]]]^.^a^^^^__?_d______```` `.`?`B`P`t````````a aaPaSa~aaabb@bebbbbbccc&c7c:cYc}cccccddd#d?dBdTdfdxddddddddddeHeSeaeeeeeeeeeefff'f2f@fNf_fjfxffffffffg gg'g5g@gKgVgaglgwgggggggghh+h;hIhWhehvhyhhhhhhii i+i9iGiUicini|iiiiiiiiij jj&j1j?jMj^jijwjjjjjjjjjjk!kHkUkqkkkkkl -l ll&l4l?lMlXlflql|llllllm mmmAm]mmmmn n/n@nCnnnnnnnoo o6oLoZotowooop pVpippppqq,qbqqr rr!rxrs&s}ssstt-tRtwtttttttu uu)u7uEuSuauuvv.vWvZv]v`vkvvvvvwww&w4wBwPw^wwwxx xx#x5xJx\xqxxxxxyy%y;yNy\yyyyyzzz%z{&{|||:|H|Y|\|_|m|~||}}'}*}}}}~~~$~2~@~Q~_~p~~~~~~~~ .S"0>Lh (9JMPSdgjz+.1ALh.Jsv${).3>L]hv&Kp)Ns <Res*ZENWo#z(-?Rbp Af03ES^lSo"+l"Ed?l]nq>ORUXcq 6Nu,/:HVdr  U|  #&1?Pr'dgjm{'8Of}/loru -=Y -;IWl!/a}&1?M &1?M^iw(1I/#1?M[iw (6DR`n? ?d%3AO]y'*#1?M[w !2JMXq*5J_t&1<GRn-0]sZ]hs#47 +.Tgw ->Oav #&Si| %=[^l}%(GfwzMzRcfil}   3Rq&7ESdr !3FV}*3=@N\jx+.<Gz#&4BSar} Bt -Kat&7:HVgju€‹–¡¬½n|ÍÛìúDiz}Ī&4EHSaoŀŃŎřŤůź*8FWbmƯ -ZǚǫǮǹ )4BPadȻ 1BEɜ+9GUzʟʨʹʼ$@Qm~ˌ˝˫˼*;>AQ_p{̶̨̗̉$2Cͻ;l;QdoπϑϢϳ6Ba}Ми'L]Җ4IWes~ӌӚӨӳԌԗsձP^fnsֺ֥iw׺v${)ڀ.ۅ3܊ݘ0AO]kyބޒޠޮ޼!,7ESao߀ߎߙߧ.<Y"0>L]ky 1YqEz.Ow#a 7XyGq?ObvU&dDi"Ns,Qv -/Ty 2W|5Z8];`>cAfDi7\.9DOZm}&E3DGR`!x&}+Pu .Yk~ -/Twz "0>LZ$b~+<?M[s-E{ (6?HY\twz/GJ$5FWhy  8;>Nm % = d m    - - - -' -< -J -[ -l -o - - - - - - - - - - - - - - " T          0 W      & 4 B P l        !1DO+^z,E[n~$%Jcvehs#;>ay|%(9<]s -4S (@CTWes#1?M[iy#?*8Ts1GX[  >Tgx{ -Pfy!25Si|  ! I q       !!!J!!!!""C"h"s"~"""""##<#G#c#####$$)$M$X$t$$%%,%n%%%&&(&Z&y&&&' ''#'.'M'i'''''''((($(2(;(y(z((((((())!)=)Y))))*****5*@*N*\*f*********++ ++ +.+<+J+T+Z+h+v+++++++++,,,T,b,p,,,,--k---..@.e.q.}....../ /'/N/}//00 -00"0I0x000000011M1|112 242d2223-3k3344.4Y444454555E5U5]5e5m5u5}555555555666M667 757j77778888999b999:*:j:::::;i;0>X>o>>>>?e@ @@+@^@p@@@@@@A(AVA_AAAABBvBBBBBCC&C`CrCCDDZDtDDDE E8E[EEEEFFCFqFFG.G]G^GoGGGGGGGGHHH*H;HLH]HnHHHHHHHHIII)I:IKI\ImI~IIIIIIIJJJ(J9JJJ[JlJ}JJJJJJJKKK'K8KIKZKkK|KKKKKKKLLL&L7LHLYLjL{LLLLLLLMMM%M6MGMXMiMzMMMMMMMNNN$N5NFNWNhNyNNNNNNNOOO#O4OEOVOgOxOOOOOOOP -PP,P=P>PNP^PnP~PPPPPPPPQQQ.Q>QNQ^QnQ~QQQQQQQQRRR.R>RNR^RnR~RRRRRRRRSSS.S>SNS^SnS~SSSSSSSSTTT.T>TNT^TnT~TTTTTTTTUUU.U>UNU^UnU~UUUUUUUUVVV.V>VNV^VnV~VVVVVVVVWWW.W>WNW^WnW~WWWWWWWWXXX.X>XNX^XnX~XXXXXXXXYYY.Y>YNY^YnY~YYYYYYZ Z[[[\ \\2\N\j\\\\\]];]q]{]]]]]]]^^^_ _____``'`N`u````a&aBa|aaab<bXbbbbbc!c+cGccccccddd9dDd[dwddddee;eceeeff^ffffg gg'g(gpggggggh -hh3hVhchrhhhhhhhhii1iIiaiyiiiijj j!j9jtjjjjjkk+kCk[klk}kkkkkkkkkl/lElOlSlWl[lllllllllm mmAmFmYmgmmnn^nnnnnnnnnoo o"o'o:oMo]ojowoooooooooooop pppq -q1qXqqqqqqqqqqr6rDrOrZrersrss$s/s7s8sEsKsUsesus}sssssssssst$t-t6t?tctqtttuuuuuvvv-v?v[vvvvvvvvvvww$w4wDw`wjwzwwwwwwxxxFxax܁g -Y셛S„XËąņ ƋdžȄ"V!Ʌ$ʆ%ˋ̋ͅ6΅*Aυ/Ѕ14ы҅7Ӆ89,:);<+=ԅ.0Յ2>?(@֋ׅB؆Cًڋۅ GEO܆݋ޅUVWYX[Z߅\_]dRcc53rqstuUㅱh?zFQ冖D腘Jᅚ酜 ꅠ녧b솗ߋ,񅳄6*˅̅ͅ…ÅąŅƅDžȅɅʅ΅Ѕυы󄙅Ӆҋԋ׋؋ąۅ܅-憟 ,Dž!  -YCjil  - mZ $")'(&*#+ - - 41023/.56[789HEe<݆=T?>A@CBJDMOFNKI:L;GP`yxQ^ nRTWU!"^_#$ab%fcdeihg&jQ SP'kl\op()nm%*+q,srތ-ڌ./fgu`0twkvwօ#1234xƆy{z|~5}+߆چކ↫oaՅ5v6τVʄЌ789:̌;<=́7=Vhy y y yy&y)y/y8y;y>y@yFyRijyWy]ymy}yyyyyyyzzz'z?zOz\ztzzzzz{{2{3kl{Lh{R{S{d{|{{{{{|||.|?|W|h|||||||} }$}5}M}^}v}}}}~+~8~E~R~_~l~y~es '4ANn{GUc  Ta@A<|3z+8`mn$;Oao}:aq_opoDu%Dc:HR`2Q=%6GXiz /<ajsqr%stBHIuv|f+Mc 'EFh~&3:I`r +a4[k!u*QZ/";- Or2?fo-{wx/5Pz #;> -1Ra ,;IV"Ao5kJi&EU|<gcV}[)*9FSWgAKXhu ;T-F9h(KX#q Syz\bc -C#*:JZjw9oIh &x JZe.9Un1` (S0o:]yX+5>NXer‚Œ•¥¯¿,{|72=>N[ivÆÌ×ß -!.;HUbwĀĕħ*/BUŦ/=GW[hƞƣƱƺ`ρ}~>*DwKcxɖ/Kqʉʯ2oˇ˟˨˾ <LY̜̪4-:;L]n͐͡Ͳ):K\m~ΏΠα(9J[l}ώϟϰN&TczЎР&\уѓ-@P]o~ҌҜҿ H`Ӗ;brԣԳ #$+;HUmՉչA=GWgvօֳ֥#געװH؏:Jىٶ+;HUbovڧ> -ۀہۑ۟۰4j7b${7V=y@{V|,RG%  +9GUcq~!CXft4z{ 0@Pt CQ{ -0`-Q\grn O_yef}.9OZ[fqr<Rtb(UVcgkx 4_ 6a 8 c  : e     < g      ! @ _ ~      8 W v      0 O n        # J T d h r           - = E  m x       / ? L Y } -b - - -  * 3 < F L V h  G  - C M   M  S a o u }              ( 5 8 [ l }         3 A h          ' 4 A N [ h u            A L Z e o |         1 J       & > G P Y t }       ( T ] f j n r         ) 4 ? J U ` y      v         0 H U w         X b       # J     = O  ! ! !: !H !V !d ! ! ! ! ! " "? "^ "} " " " " " " " " # # #$ #2 #G #U #j #x # # # # # # # $ $0 $ $ $ $ $ % %) %4 % % &5 &@ &N &u & & '[ 'f 't ' ' ' ' ( (< ([ (z (~ ( ( ( ( ( )$ )O )z )~ ) ) ) ) ) ) ) ) ) ) ) ) ) ) * * * *# *. *9 *D *O *Z *s *t * * * + +? +^ +} + + + + + + + ,: ,C ,] ,j ,w , - -# -< - - - - - - - . .> .[ .{ . / /b / / / 0 0 0) 04 0B 0P 0h 0~ 0 0 0 0 0 0 0 0 0 1 1 1+ 1 1 1 1 1 2 - 21 2X 2t 2 2 2 2 2 2 2 2 3 \ 3 3" 32 3B 3R 3b 3r 3 3 3 4 4 4 5 5? 5J 5X 5c 5q 5| 5 5 5 5 5 5 5 5 5 6 6 68 6Q 6j 6x 6 6 6 6 6 6 6 6 6 7 70 74 7C 7 7 7 7 7 7 7 8 8$ 8S 8{ 8 8 9 9 91 9G 9H 9o 9 9 9 : :" :A :` :p :x : : : : : : : ; ; ;% ;3 ;D ;E ;U ;q ; ; ; ; ; ; ; < <8 + >? >H >` > > > ? ?< ?k ?u ? ? ? ? ? ? @ @ @ @` @ @ @ @ @ A h @ @ Am C Cw D D D Fs H J K Li M( M M N% O$ P' P Qy Sh S Vw V V Y [$ [tB>?#,ABCDE5=>FIQ RGHIJAcLsOQSUVWX{yzYZ[\‡lɇvut܇ۇ݇]^`abde463589=?A>7BfCgjpk A6 A A# A; A> AD AO AU AX A[ A] Aw A A A A B B B B B B B C C C C) C6 CC CD CK CR CY C` Cg Cn Cu C| C C C C C C C C C C C C C C C C C C D D D D D D$ D+ D2 D9 D@ DG DN DU D\ Dc Dj Dq Dx D D D D D D D D E E' E= ES Ei E E E E E E F F F/ FE F[ Fq F F F F F F G G! G7 GM Gc Gy G G G G G G H H) H? HU Hk H H H H H H I1 IS I I J= J_ K K1 KA KQ Ka Kq K~ K K K K K L LC L L L M M1 M: M; M M M N+ N; NK NY Nb Nu N N N N N N N N N N OY Ox O O O O O O O O O O P P P( PI P[ Pk P P P P P P P P Q Q Q Q* Q8 QB QO Q\ Ql Qy Q Q Q Q R R? RM RN R_ Rz R R R R R R R R S S S( S S T TT T T U, Ub U U V: Vp V V Wf W W X$ X X Y< YU Y_ Yl Yy Y Y Y Y Y Y Y Z Z8 ZF Zr Z Z Z Z Z Z Z [ [\ [j [ [ [ [ [ [ [ [ [ [ \ \ - \+ \, \: \E \P \Q \\ \j \x \y \ \ \ \ \ \ \ \ ] ]* ]= ]M ][2 ]a ]b ]s ] ] ] ] ] g g+ gD gs g h h - h h h% h& h3 h@ hM hm h h h h h i i i# iF iP iZ i i i i i j j j j k5 lK ls l} l l l l l l l m m x? xF x| x x x x x y y y+ yG yx yy y y y y z z= zU zm z z z z z { { {" {/ {< {L {\ {i {v { { { { | | | |L |X |h |s | | | | | | | | | } } }3 }= }N }T }a }n } } } } } } } ~ ~ ~ ~0 ~K ~s ~ ~ ~ ~ ~ ~ ~   ) 9 F Q h    % 5 Y a  * 8 F Q \ o  H V d r   2 ` k y  m # O  0 9 U {  8 u  N ^ k { . F [ h u  ) < G Z h   2 ? O s  ) < J `  0 S c s % 2 ? c p    2 @ X s - E m t   " / < I a n { ! ) f * = M 7 8 H X e u  5 T }   $ 1 A h   " 2 6 N f ~  9 C P ]   / s )  U - c ; q  { - o 3 K c { < j Z } $ 1 I S \ g p  A w  E m v  ) 7 t   . > P y  1 < F V c p  m {  - T    ( P l  " 4 D E U e r & Q i s 0 W j z   & 6 C Q    # ) * P  & ' 8 I Z k |    ' 8 I Z k |   & 7 H Y j {   ) * ; L ] t 3 K r  *   ! A a    + 8 E U b r • ¢ ¯  v á ê ÷   + ; H Q Z s Č Ŀ # D ] ő Ś Ŷ 灬 9  " / ? O _ o  Ə ƫ Ƹ  & 5 D c m v Ǚ  Ȗ Ƚ  3 I _ j u ɀ ɐ ɑ   : J ] f ~ ʖ ʮ ʷ   K L \ j { s ̥  & 6 r E k I   & 7 H Y j { ό ϝ Ϯ  5 P k І С м  1 P w і ѣ Ѱ ѽ  D c ҋ r ӎ ӵ  / J e u ! + x Ճ Ց ՟ ժ ո & N \ m w և ֏ ֟ ֥ ִ   $ % 6 G X i z ׋ ל ׭ ׾   $ 5 6 V c d t ؁ ؍ ؝  + < M ^ o ـ ّ ٢ ٳ    , 9 F S ` p ڎ ڛ ڨ ڸ 1 X a ۉ ۶ ۿ  ' ( H U | ܭ   4 ݁ ݴ * g ރ ބ ޑ ޞ ޫ ޸ & 6 F r ߱ < L T    & > K T ] f o   . d u   ! 1 A Q a n ~ Z  1 < J U c o  6 D U y ҁ - ]B b% b c d m p q qP r463589=?A>7BfCgjlpk #   , > P i   D N `  3 J x <  륁 unoqr  ܁ v}wx   = \ j x ( h i s   + 6 D f p  > Q [ i t | ( ; I   6 D f  6 A O k  P  9 U _ m  < G R ] h s ~  # . 9 U _ m x     vƌz{|}ɈĈʈ̈nj~ÈΈψňȈ҈Ќ͈ӈшˌ # & ' ( ) y * 0 3 6 < O  Ɂ y> yP    y . . > N y ^ a j k {  yqr% -F - - - - -+ -6E -H0 -I -L -O -Q -R: -TH -Y} -Z; -e -k -q^ - -q - -! - - - - < [ uk vi v x y. ys y y y猞 - - - - - - - - - - - - - - - - - "# -%&()*+-./01%3 - - - - --:;=>ABCDEFBHIEKGMOPDDBTUBWXZ[@]^_DCbadXBghDSklmjohBrstuuBxyst|{~~s{sssBhh__]BB€Ā€ĀȀʀʀ̀(ЀɀԀՀ؀ـBހ߀߀߀ހBXXXXXXB - 34567884;<<=?ցAAA?)GH)JKMN+QRTUWXZ[]^!`!b`\eeeeeeeeeee\qqeruuAuuuu~-4F^PP-ʁˁ́ρЁЁҁӁӁӁӁӁЁr܁ҁށ//_]_-- !#$&&&Q/;;!-56896<̂>@AA!!!FG$IJJJ$$$$$$$UVVVV[\\\[`\\\9\]ghhh]lmhh]rs_]vwmhmwwwssr]]w___`]hwwhhhwvmw_h]]ǂȂ˂˂˂˂˂˂˂˂˂˂˂˂˂˂˂˂݂ނ $ "#$%'((',,,,,,>?D"HJK#MNPQWXYZZ]^_`abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbVЃSUQ!ƒÃăƒǃȃTʃ˃̃̓΃ЃуԃՃՃ܃݃߃ー部샨򃤃 - 78997<=7@ADEFGFIIIGG==GGVWGGGGGGGF`Gdefggggggggggggggggggggggggggggggggg7gggggg Єф҄ӄӄӄ҄ׄׄӄׄׄӄ{|?~~z߅Іццццццццццццццццццццццф!"$%'(*+,-,/////+5658888++?@CDFGIJILLLLRSSSSSZ[DDD@abdeghjkgmoqrkkkwxxx{|{~~~~x򇄇zz򇩇򇬇򇰇kkkkkkk‡Ç‡ŇŇŇkʇ̇̇̇Ї҇ԇևևևևkkk݇އއއކ䇈9::@DEEEIJJJNOOOOOOOWXOOOOOOOOONcefghhfOOOOcOOOOXqvQxQzzzzzOsOfffˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆԈՈֈ׈؈>>>>>>>>>>>>>>>>br퀩񀼀􀻈ځځ4<)ЀЀ"#%&&)*-./.1///1/////-<====-GHH;;;;;:gg-jkjmjo-qrtuwxz{V]~go JPÃ?ƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƉƃ߃YYა냑ˊ&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&hj&hj&&&&&h&h&&&&&|ƒƒƒȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃȃNJЊۊۊۊۃՃՃՃ ピ 4IJKKKKKKKKJTK8YY9YYY<`````````````7no7qrAGggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg *@@@@@+dKMNwPwRwTPTxxx___chiOmppstuvvyyyyˆˆˆ׈֌”xxÁāŁƁǁȁɁʁˁ́́΁ρЀрҀӁԁՁրׁ⁾؁فځہ܁݁ށ߀끾y{|ցꀆ뀒Ё큽ف񀀁~قƁ ҁ -  ՁցAقققā !ځ"#$%&'(ق)*+,-./0؁12345678956ق:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`րabcd́efقgقhijklmnopqrstuvwxyz{|}~܁ށՂꁾ΁ՂՁրȁ񁾂Pقققق‚ÂĂłƂǂȂɂʂ˂̂͂΂ςЂт҂ӂԂՂւׁ!؂ـ偾ڀ灾ۂ܁݂ށ߁쁾񂝂ق -   ك !"#$%&'( )*+,-./0Ճ123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ك`abcdefghi##j$klكmno&'pكqrstu)vwՃx+y-z{|}~/0/4䃆7მك259=>K::;;كƒÃăŃƃǃȃɃʃ˃̃̓΃ρ<<ЃсL҃ӃԃՃց9׃؃فRRځ>ۃ܃݃ރ߁KՃx?@ՁփBꁽ=FJكN - gVUUgSSل !"#$%&'()*+,T-.Y/0[ل12a34cc5ل6789:;<=>?@ABCDEFGHIJKLddMNOPQRSTUVWXYZ[\]^_`abcdefUghijklmnoWpqrstuvwxyz{|}~eeᄌffᄮ„ÄĄńƄDŽȄɄʄ˄̄̈́΄τЄф҄ӄԄՄքׄ؄لڄۄ܄݄ބ߄肝 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYՃ1Z[\]^_`abcdefghijklmnopqrstuvwxyz{|}~…ÅąŅƅDžȅɅʅ˅̅ͅ΅υЅх҅ӅԅՅօׅ؅مڅۅ܅݅ޅ߅ -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~نՆhiنkՆنن†ÁĆņƆdžȆɆʆˆ̆́ՆɁĆņƆdžȆɆʆΆρyЁmсҁoӁuԁՃ1نՆֆ׆؆نځՃ1gۆ܆݅ށ}߆{wՃ1Pنԁ񁁁򁅁󁇁􁙁׆Ճ1هههՁև -  !"#$%&'()*+,-./01234Ձև5Ձցه6789Ձցه:;<Ձցه=ՁցنՆև>?@AB>CDqEFGՁցهHIPJKLM~NOPهQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~هׇ񇦇ᇫه䇺Շ䇼pq‡Áه0ŁهƇǁȁɁهʇˇ͇̇·χЇч҇ӇԂЇՇցهׇ؁ن[هڇۇ܇?݇ނ߇ه⁳䁵 - و و !"#$%&'()*+,-./012345678ʆ9:;<=و>?@ABCDEFGまHIJKLMNOP遾QRSTUVWXYZ[\]^_`abcdefghijklmnopوqrqst󁾈uvwx yz{|}~&(و;;;وˆÈĈňƈLjȈɈʁˆ́و͈ΈψЈш҈ӆԈՈֈ׈؈وڈۈ܈݈ވ߈ -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMىNrNOPPQRSTUVWXYZ[\]ى^_`abcdefghijklmnopqrstuvwxyz{|}~DىrH‰ÉĉʼnƉljȉɉʉˉ̉́ىΆωЉщ҉ӉԉՉ։׉؉ىڈrډۉ܉݉މ߉P - T !"#$%&'()*+,-./0123]4_56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\#]^_`abcdefg5hijklmnopqrstuvwيxyz{|}~ŠÊĊŊƊNJȊɊʊˊ̊͊ΊϊЊъҊӊԊՊ֊׊؊يڊۊ܊݊ފߊjqيrً - ًً !"#$%&'()*+,-.ً/01ً2accumulatednonEncodablekeyvalueobjectoliststartendchunkbufferabsourceindexeelementpreviousValueinputRmatchdatav1v2sourceElemententrykey1key2potentialKeysubscriptionsuccessValueerrorstackTracecomputationCountsinkeventpreviousnextstreamcancelOnErroroutputtimerselfparentzonefargTarg1arg2T1T2durationperiodlinespecificationzoneValuesargumentargument1argument2stackmessagemethodparametersnameschangesdecodedDatatransactionresultSetblobfileSystemcurrentUsageInBytescurrentQuotaInBytesgrantedQuotaInBytesentriesscrollStatemetadatafileWriterfilefontFacefontFaceAgainsetpositionobservermutationsnodepermissionavailablereportsresponseexceptionhighResTimedatabasedeadlinerequestbodyonErrorzoneSpecificationsourceAddresstimeoutbacklogsharedv6Onlysocketcertificaterequestedvaluesurlschemerealmhostportcertbytescrurienvironmentprotocolsdart:typed_datadart:typed_data/unmodifiable_typed_data.dartunmodifiable_typed_data.dartdart:convertdart:convert/ascii.dartascii.dartdart:convert/base64.dartbase64.dartdart:convert/byte_conversion.dartbyte_conversion.dartdart:convert/chunked_conversion.dartchunked_conversion.dartdart:convert/codec.dartcodec.dartdart:convert/converter.dartconverter.dartdart:convert/encoding.dartencoding.dartdart:convert/html_escape.darthtml_escape.dartdart:convert/json.dartjson.dartdart:convert/latin1.dartlatin1.dartdart:convert/line_splitter.dartline_splitter.dartdart:convert/string_conversion.dartstring_conversion.dartdart:convert/utf.dartutf.dartdart:mathdart:math/point.dartpoint.dartdart:math/random.dartrandom.dartdart:math/rectangle.dartrectangle.dartdart:coredart:core/annotations.dartannotations.dartdart:core/bigint.dartbigint.dartdart:core/bool.dartbool.dartdart:core/comparable.dartcomparable.dartdart:core/date_time.dartdate_time.dartdart:core/double.dartdouble.dartdart:core/duration.dartduration.dartdart:core/errors.darterrors.dartdart:core/exceptions.dartexceptions.dartdart:core/expando.dartexpando.dartdart:core/function.dartfunction.dartdart:core/identical.dartidentical.dartdart:core/int.dartint.dartdart:core/invocation.dartinvocation.dartdart:core/iterable.dartiterable.dartdart:core/iterator.dartiterator.dartdart:core/list.dartlist.dartdart:core/map.dartmap.dartdart:core/null.dartnull.dartdart:core/num.dartnum.dartdart:core/object.dartobject.dartdart:core/pattern.dartpattern.dartdart:core/print.dartprint.dartdart:core/regexp.dartregexp.dartdart:core/set.dartset.dartdart:core/sink.dartsink.dartdart:core/stacktrace.dartstacktrace.dartdart:core/stopwatch.dartstopwatch.dartdart:core/string.dartstring.dartdart:core/string_buffer.dartstring_buffer.dartdart:core/string_sink.dartstring_sink.dartdart:core/symbol.dartsymbol.dartdart:core/type.darttype.dartdart:core/uri.darturi.dartdart:_internaldart:_internal/async_cast.dartasync_cast.dartdart:_internal/bytes_builder.dartbytes_builder.dartdart:_internal/cast.dartcast.dartdart:_internal/errors.dartdart:_internal/iterable.dartdart:_internal/list.dartdart:_internal/linked_list.dartlinked_list.dartdart:_internal/print.dartdart:_internal/sort.dartsort.dartdart:_internal/symbol.dartdart:collectiondart:collection/collections.dartcollections.dartdart:collection/hash_map.darthash_map.dartdart:collection/hash_set.darthash_set.dartdart:collection/iterable.dartdart:collection/iterator.dartdart:collection/linked_hash_map.dartlinked_hash_map.dartdart:collection/linked_hash_set.dartlinked_hash_set.dartdart:collection/linked_list.dartdart:collection/list.dartdart:collection/maps.dartmaps.dartdart:collection/queue.dartqueue.dartdart:collection/set.dartdart:collection/splay_tree.dartsplay_tree.dartdart:asyncdart:async/async_error.dartasync_error.dartdart:async/broadcast_stream_controller.dartbroadcast_stream_controller.dartdart:async/deferred_load.dartdeferred_load.dartdart:async/future.dartfuture.dartdart:async/future_impl.dartfuture_impl.dartdart:async/schedule_microtask.dartschedule_microtask.dartdart:async/stream.dartstream.dartdart:async/stream_controller.dartstream_controller.dartdart:async/stream_impl.dartstream_impl.dartdart:async/stream_pipe.dartstream_pipe.dartdart:async/stream_transformers.dartstream_transformers.dartdart:async/timer.darttimer.dartdart:async/zone.dartzone.dartdart:isolatedart:isolate/capability.dartcapability.dartdart:developerdart:developer/extension.dartextension.dartdart:developer/profiler.dartprofiler.dartdart:developer/service.dartservice.dartdart:developer/timeline.darttimeline.dartdart:ffidart:ffi/native_type.dartnative_type.dartdart:ffi/allocation.dartallocation.dartdart:ffi/annotations.dartdart:ffi/dynamic_library.dartdynamic_library.dartdart:ffi/struct.dartstruct.dartdart:_js_embedded_namesdart:_js_namesdart:_recipe_syntaxdart:_rtidart:_foreign_helperdart:_js_helperdart:_js_helper/annotations.dartdart:_js_helper/constant_map.dartconstant_map.dartdart:_js_helper/instantiation.dartinstantiation.dartdart:_js_helper/native_helper.dartnative_helper.dartdart:_js_helper/regexp_helper.dartregexp_helper.dartdart:_js_helper/string_helper.dartstring_helper.dartdart:_js_helper/linked_hash_map.dartdart:_interceptorsdart:_interceptors/js_array.dartjs_array.dartdart:_interceptors/js_number.dartjs_number.dartdart:_interceptors/js_string.dartjs_string.dartdart:_native_typed_datadart:web_gldart:js_utildart:_metadatadart:html_commondart:html_common/css_class_set.dartcss_class_set.dartdart:html_common/conversions.dartconversions.dartdart:html_common/conversions_dart2js.dartconversions_dart2js.dartdart:html_common/device.dartdevice.dartdart:html_common/filtered_element_list.dartfiltered_element_list.dartdart:html_common/lists.dartlists.dartdart:indexed_dbdart:svgdart:web_audiodart:web_sqldart:htmldart:iodart:io/common.dartcommon.dartdart:io/data_transformer.dartdata_transformer.dartdart:io/directory.dartdirectory.dartdart:io/directory_impl.dartdirectory_impl.dartdart:io/embedder_config.dartembedder_config.dartdart:io/eventhandler.darteventhandler.dartdart:io/file.dartfile.dartdart:io/file_impl.dartfile_impl.dartdart:io/file_system_entity.dartfile_system_entity.dartdart:io/io_resource_info.dartio_resource_info.dartdart:io/io_sink.dartio_sink.dartdart:io/io_service.dartio_service.dartdart:io/link.dartlink.dartdart:io/namespace_impl.dartnamespace_impl.dartdart:io/network_policy.dartnetwork_policy.dartdart:io/network_profiling.dartnetwork_profiling.dartdart:io/overrides.dartoverrides.dartdart:io/platform.dartplatform.dartdart:io/platform_impl.dartplatform_impl.dartdart:io/process.dartprocess.dartdart:io/secure_server_socket.dartsecure_server_socket.dartdart:io/secure_socket.dartsecure_socket.dartdart:io/security_context.dartsecurity_context.dartdart:io/service_object.dartservice_object.dartdart:io/socket.dartsocket.dartdart:io/stdio.dartstdio.dartdart:io/string_transformer.dartstring_transformer.dartdart:io/sync_socket.dartsync_socket.dartdart:_httpdart:_http/crypto.dartcrypto.dartdart:_http/http_date.darthttp_date.dartdart:_http/http_headers.darthttp_headers.dartdart:_http/http_impl.darthttp_impl.dartdart:_http/http_parser.darthttp_parser.dartdart:_http/http_session.darthttp_session.dartdart:_http/overrides.dartdart:_http/websocket.dartwebsocket.dartdart:_http/websocket_impl.dartwebsocket_impl.dartdart:jsdart:_jsdart:mirrorsdart:nativewrappersdart:clidart:cli/wait_for.dartwait_for.dartdart:_js_primitivesdart:_async_await_error_codesdart:_js_annotations@unit@classintUint8ListInt8ListUint8ClampedListUint16ListInt16ListUint32ListInt32ListUint64ListInt64ListInt32x4ListFloat32ListFloat64ListFloat32x4ListFloat64x2ListByteDataByteBufferTypedDataListdoubleboolEndian@constructor_pragmaSince@getterbig_TypedIntList_TypedFloatListFloat32x4Int32x4Float64x2UnmodifiableListBase_UnmodifiableListMixinAsciiCodecEncoding@field_allowInvalid@parameterallowInvalidStringAsciiEncoderAsciiDecoderConverterStringConversionSinkSinkStream_UnicodeSubsetEncoder_asciiMaskStringConversionSinkBaseByteConversionSink_UnicodeSubsetDecoderByteConversionSinkBaseBase64CodecurlSafeCodecBase64Encoder_encoderBase64Decoder_urlSafe_Base64Encoder_Base64EncoderSink@method-_Base64Decoder_invalid_paddingChunkedConversionSink_ByteCallbackSink_ByteAdapterSinkIterable_SimpleCallbackSinkEventSinkObjectStackTraceStreamTransformerBaseFutureMapHtmlEscapeHtmlEscapeMode_nameunknownErrorJsonUnsupportedObjectErrorJsonCodecdynamic_reviverreviver_toEncodabletoEncodableJsonEncoderJsonDecoderindentJsonUtf8Encoder_defaultBufferSizedeprecatednum_JsonStringifierStringSink_JsonStringStringifier_JsonPrettyPrintMixin_JsonUtf8StringifierLatin1CodecLatin1EncoderLatin1Decoder_latin1Mask_Latin1DecoderSink_LineSplitterSink_StringCallbackSink_StringAdapterSink_StringSinkConversionSinkClosableStringSink_ClosableStringSinkStringBufferStringConversionSinkMixin_Utf8DecoderUtf8Codec_allowMalformedallowMalformedUtf8EncoderUtf8Decoder_Utf8Encoder_IA_X1_X2_TS_E3_E2_TO_QR_X3_QO_B1_E1_E4_E6_E5_B2_ABIABBABE1E2E3E4E5E6E7PointxyRectangle_RectangleBasewidth<*heightDeprecated_OverrideNullComparableBigIntDateTimeDurationRegExp/infinitymicrosecondsPerMillisecondmillisecondsPerSecondmicrosecondsPerSecondsecondsPerMinutemicrosecondsPerMinuteminutesPerHourmicrosecondsPerHourhoursPerDaymillisecondsPerMinutemillisecondsPerHoursecondsPerHour_microsecondsmicrosecondsPerDaydayshours+minutessecondsmillisecondsmicrosecondsArgumentErrorIndexErrorRangeErrorInvocationSymbolUnsupportedErrorExceptionFunctionType_InvocationgettersetterEmptyIterableIteratorSetListIterableEfficientLengthIterableRandomLinkedHashMapfromofidentityfromIterablefromIterablesMapEntryMatchPatternRegExpMatchLinkedHashSet_StringStackTraceRunesRuneIteratorBidirectionalIterator@prefixinternalUri_UrihttphttpsdirectoryUriDatautf8base64_queryCharTable_SimpleUriCodeUnitsTypeErrorHttpStatuscontinue_switchingProtocolsokcreatedacceptednonAuthoritativeInformationnoContentresetContentpartialContentmultipleChoicesmovedPermanentlyfoundmovedTemporarilyseeOthernotModifieduseProxytemporaryRedirectbadRequestunauthorizedpaymentRequiredforbiddennotFoundmethodNotAllowednotAcceptableproxyAuthenticationRequiredrequestTimeoutconflictgonelengthRequiredpreconditionFailedrequestEntityTooLargerequestUriTooLongunsupportedMediaTyperequestedRangeNotSatisfiableexpectationFailedupgradeRequiredinternalServerErrornotImplementedbadGatewayserviceUnavailablegatewayTimeouthttpVersionNotSupportednetworkConnectTimeoutErrorStreamSubscriptionZoneStreamTransformerBytesBuilder_CastIterableBaseCastIterableListMixin_CastListBaseMapBaseQueue@typeAlias_TransformationMappedIterable_ElementPredicate_ExpandFunctionTakeIterableSkipIterableFollowedByIterableStateErrorComparatorListBaseFixedLengthListMixinUnmodifiableListMixinUnmodifiableMapBaseLinkedListEntryIterableBaseLinkedListcorereservedWordREMapMixin_UnmodifiableMapMixinMapView_mapListQueue_DoubleLinkDoubleLinkedQueueEntryDoubleLinkedQueue_DoubleLinkedQueueEntry_DoubleLinkedQueueElement_DoubleLinkedQueueSentinel_DoubleLinkedQueueIteratorSetMixin_SetBase_UnmodifiableSetMixinSetBase_SplayTreeNode_SplayTreeSetNode_SplayTreeMapNode_Predicate_SplayTreeSplayTreeMap_SplayTreeIteratorIterableMixinSplayTreeSet_ControllerStream_StreamControllerLifecycle_ControllerSubscription_BroadcastSubscription_StreamControllerBaseFutureOr_AddStreamState_FutureStreamSink_BufferingStreamSubscription_BroadcastStreamControllerSynchronousStreamController_SyncBroadcastStreamController_EventDispatch_StreamImplEvents_DelayedEventCompleter_Completer_FutureListenermaskValuemaskError|maskTestErrormaskWhenComplete_FutureOnValue_Zone_FutureErrorTest_FutureActionAsyncError_AsyncCallback_AsyncCallbackEntry_EmptyStreamMultiStreamControllerStreamConsumerStreamView_stream_internal_StreamSubscriptionTransformer_StreamHandlerTransformer_StreamBindTransformerStreamController_EventSink_PendingEvents_StreamController_AsyncStreamControllerDispatch_SyncStreamControllerDispatch_StreamImpl_DataHandler_DoneHandler_EventGenerator_BroadcastCallback_AsBroadcastStreamController_AsBroadcastStreamStreamIterator_AsyncStreamController_ForwardingStream_ForwardingStreamSubscription_SinkMapper_TransformDataHandler_TransformErrorHandler_TransformDoneHandler_StreamSinkTransformer_SubscriptionTransformerTimerZoneDelegateZoneCallbackZoneUnaryCallbackZoneBinaryCallbackZoneSpecificationRunHandlerRunUnaryHandlerRunBinaryHandlerRegisterCallbackHandlerRegisterUnaryCallbackHandlerRegisterBinaryCallbackHandlerHandleUncaughtErrorHandlerErrorCallbackHandlerScheduleMicrotaskHandlerCreateTimerHandlerCreatePeriodicTimerHandlerPrintHandlerForkHandler_ZoneSpecification_rootZone_RunNullaryZoneFunction_RunUnaryZoneFunction_RunBinaryZoneFunction_RegisterNullaryZoneFunction_RegisterUnaryZoneFunction_RegisterBinaryZoneFunction_ZoneFunctionHashMap_RootZoneSendPortCapabilityIsolatebeforeNextEventimmediateRawReceivePortServiceExtensionResponseinvalidParamsextensionErrorextensionErrorMaxextensionErrorMinServiceExtensionHandlerUserTagMetricfromEnvironmentServiceProtocolInfoFlowTimelineSyncFunction_SyncBlockTimelineTask_AsyncBlockNativeTypePointerNativeFunctionDartRepresentationOf_ArraySizemultiArraydimensionsdimension1dimension2dimension3dimension4dimension5Int8Int16Int32Int64Uint8Uint16Uint32Uint64IntPtrFloatDoubleStructOpaqueVoidDart_CObjectDart_NativeMessageHandler_NativeInteger_NativeDoubleunsizedAllocatorUnsizedDynamicLibrary_LazyMangledNamesMap_LazyReflectiveNamesMapRecipe_comma_commaString_semicolon_semicolonString_hash_hashString_at_atString_tilde_tildeString_asterisk_asteriskString_question_questionString_slash_slashString_lessThan_lessThanString_greaterThan_greaterThanString_leftParen_leftParenString_rightParen_rightParenString_leftBracket_leftBracketString_rightBracket_rightBracketString_leftBrace_leftBraceString_rightBrace_rightBraceString_colon_colonString_exclamation_exclamationString_circumflex_circumflexString_ampersand_ampersandStringpushNeverExtensionpushAnyExtension_periodRti_TypeJSArray_FunctionParametersoverride_ErrorCastError@enumJsGetNameJsBuiltinNativeUint8ListTypeErrorDecoderNoSuchMethodErrorClosureTearOffClosureBoundClosureJSMutableIndexableFallThroughErrorLoadLibraryFunctionTypeDeferredLoadCallbackAssertionError_Required_PatchUnmodifiableMapViewConstantMapConstantStringMapInstantiationJS_CONSTJSSyntaxRegExpInternalMapLinkedHashMapCellJsLinkedHashMapInterceptorJSIndexableJSObjectJavaScriptObject_Growable_ListConstructorSentinelJSMutableArrayJSNumberJSIntJSPositiveIntJSUInt32NativeJSNameCreatesReturnsNativeTypedDataNativeByteDataJavaScriptIndexingBehaviorNativeTypedArrayNativeTypedArrayOfDoubleNativeFloat32ListNativeFloat64ListNativeTypedArrayOfIntNativeByteBufferNativeInt16ListNativeInt32ListNativeInt8ListNativeUint16ListNativeUint32ListNativeUint8ClampedListUnstableCanvasElementOffscreenCanvasEventContextEventShaderTimerQueryExtQueryVertexArrayObjectOesCanvasRenderingContextSupportedBrowserCHROMEFIREFOXProgramBufferFramebufferRenderbufferTextureActiveInfoShaderPrecisionFormatUniformLocationImageElementVideoElementImageBitmap_WebGL2RenderingContextBase_WebGLRenderingContextBaseCanvasSamplerTransformFeedbackVertexArrayObjectSyncCssClassSetImageData_StructuredClone_AcceptStructuredClone_serializedScriptValueElementNodeListWrapperNodeKeyRange_idbKey_annotation_Creates_IDBKey_annotation_Returns_IDBKeyRequestCursorannotation_Creates_SerializedScriptValueannotation_Returns_SerializedScriptValueEventTargetIEObjectStoreTransactionDomStringListEventStreamProviderVersionChangeEventObserverChangesDatabaseIdbFactoryOpenDBRequestCursorWithValueIndexObserverCallbackObserverDomExceptionSvgElementGraphicsElementUriReferenceAnimatedStringAnimationElementSAFARIAngleLengthLengthListNumberListPreserveAspectRatioRectTransformListTestsStringListGeometryElementAnimatedLengthAnimatedEnumerationFilterPrimitiveStandardAttributesAnimatedNumberListAnimatedNumberAnimatedIntegerAnimatedBoolean_SVGComponentTransferFunctionElementAnimatedPreserveAspectRatioAnimatedRectAnimatedTransformListMatrixImmutableListMixin_GradientElementFitToViewBoxAnimatedAngleNumberPointListStyleSheetCssClassSetImplGlobalEventHandlersNoncedElementNodeValidatorNodeTreeSanitizerDocumentFragmentHtmlCollectionMouseEventDomNameKeyboardEventWheelEventTouchEventSvgSvgElementElementStreamZoomAndPanTransformTextPositioningElementTextContentElementAnimatedLengthListAudioNodeBaseAudioContextAnalyserNodeAudioBufferAudioScheduledSourceNodeAudioBufferSourceNodeAudioParamGainNodeScriptProcessorNodeDecodeSuccessCallbackDecodeErrorCallbackAudioProcessingEventSourceBufferAudioTrackWorkletGlobalScopeAudioWorkletNodeAudioParamMapAudioDestinationNodeAudioListenerBiquadFilterNodeChannelMergerNodeChannelSplitterNodeConstantSourceNodeConvolverNodeDelayNodeDynamicsCompressorNodeIirFilterNodeMediaElementAudioSourceNodeMediaElementMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamOscillatorNodePannerNodePeriodicWaveStereoPannerNodeWaveShaperNodeOfflineAudioCompletionEventOfflineAudioContextEventListenerSqlTransactionSqlResultSetSqlErrorSqlTransactionCallbackSqlTransactionErrorCallbackVoidCallbackSqlResultSetRowListSqlStatementCallbackSqlStatementErrorCallbackWindowHtmlDocumentFontFaceFontFaceSetWorkerGlobalScopeExtendableEventAbortPaymentEventOrientationSensorAbsoluteOrientationSensorSensorAccelerometerAccessibleNodeAccessibleNodeListAmbientLightSensorHtmlElementHtmlHyperlinkElementUtilsAnimationEffectReadOnlyAnimationTimelineAnimationAnimationEffectTimingReadOnlyAnimationEventAnimationPlaybackEventOPERAProgressEventApplicationCacheErrorEventAudioElementAuthenticatorResponseBackgroundFetchEventBackgroundFetchClickEventBackgroundFetchFailEventBackgroundFetchSettledFetch_RequestBackgroundFetchRegistrationBackgroundFetchFetch_ResponseBackgroundFetchedEventBarcodeDetectorBeforeInstallPromptEventBlobBlobEvent_BluetoothRemoteGATTCharacteristicFormDataWindowEventHandlersMessageEventPopStateEventStorageEventBroadcastChannelFormElementValidityStateTextCanMakePaymentEventMediaStreamTrackCanvasImageSourceglCanvasRenderingContext2DRenderingContextBlobCallbackCanvasGradientCanvasPatternTextMetricsPath2DNonDocumentTypeChildNodeChildNodeWindowClientClipboardEventDataTransferCloseEventCharacterDataUIEventCompositionEventCredential_SubtleCrypto_WorkletCssUnitValueCssRuleCssGroupingRuleCssStyleDeclarationCssResourceValueMediaListCssStyleSheetCssKeyframeRuleCssStyleValueCssKeywordValueCssTransformComponentDomMatrixReadOnlyCssMatrixComponentDomMatrixCssConditionRuleCssNumericValueCssPerspectiveCssPositionValueCssRotationCssScaleCssSkewCssStyleDeclarationBaseCssTransformValueCssTranslationCssUnparsedValueCssImageValueCssurlImageValueCustomEventFileDataTransferItemListEntryDataTransferItemSqlDatabase_FileSystemCallbackFileSystem_ErrorCallback_DOMFileSystemSync_EntrySync_EntryCallbackDedicatedWorkerGlobalScopeStorageUsageCallbackStorageErrorCallbackDomErrorStorageQuotaCallbackReportBodyDetectedBarcodeDetectedFaceDetectedTextDeviceMotionEventDeviceAccelerationDeviceRotationRateDeviceOrientationEventDirectoryReader_EntriesCallbackSecurityPolicyViolationEventDocumentScriptElementWindowBaseHeadElementDomImplementationDocumentTimelineRangeTouchTouchListElementListNodeIteratorNodeFilterTreeWalkerNonElementParentNodeParentNodeSelectionXmlDocument_DocumentTypeDomPointDomParserDomPointReadOnlyDomQuadDomRectReadOnlyCssRectTransitionEventScrollStateCallbackScrollStateScrollAlignment_CustomEventStreamProvider_determineMouseWheelEventType_determineTransitionEventTypeShadowRootNodeValidatorBuilder_ValidatingTreeSanitizerElementEventsSlotElement_NamedNodeMapStylePropertyMapDirectoryEntryMetadataCallbackMetadataErrorEventEventSourceEventsMessagePortFaceDetectorCredentialUserDataFederatedCredentialFetchEvent_FileWriterCallbackFileWriter_FileCallbackFileReaderFocusEventFontFaceSetLoadEventFontFaceSetForEachCallbackForeignFetchEventGamepadButtonGamepadPoseGamepadEventGamepadGeoposition_PositionCallback_PositionErrorCallbackPositionErrorCoordinatesGyroscopeHashChangeEventHeadersHistoryBaseBodyElement_determineVisibilityChangeEventTypeElementUpgraderHttpRequestEventTargetHttpRequestHttpRequestUploadDomTokenListIdleDeadlineImageCapturePhotoCapabilitiesInputDeviceCapabilitiesHiddenInputElementSearchInputElementTextInputElementUrlInputElementTelephoneInputElementEmailInputElementPasswordInputElementDateInputElementMonthInputElementWeekInputElementTimeInputElementLocalDateTimeInputElementNumberInputElementRangeInputElementCheckboxInputElementRadioButtonInputElementFileUploadInputElementSubmitButtonInputElementImageButtonInputElementResetButtonInputElementButtonInputElementInputElementBaseTextInputElementBaseRangeInputElementBaseInstallEventIntersectionObserverCallbackIntersectionObserverIntersectionObserverEntryKeyframeEffectReadOnlyKeyframeEffectLinearAccelerationSensorLocationBaseTrustedUrlMagnetometerMediaCapabilitiesInfoAudioTrackListTimeRangesMediaErrorMediaKeysRemotePlaybackTextTrackListVideoTrackListTextTrackMediaEncryptedEventMediaKeyMessageEventMediaKeyStatusMapMediaKeySessionMediaKeysPolicyMediaMetadataMediaQueryListEventMediaRecorderMediaSessionActionHandlerMediaSourceSourceBufferListMediaStreamEventMediaStreamTrackEventMessageChannelMidiInputMapMidiOutputMapMidiConnectionEventMidiPortMidiMessageEventPluginMimeTypeMutationObserverMutationRecordMutationCallbackNavigatorConcurrentHardwareNavigatorCookiesNavigatorLanguageNavigatorOnLineNavigatorAutomationInformationNavigatorID_NavigatorUserMediaSuccessCallback_NavigatorUserMediaErrorCallbackNavigatorUserMediaError_BudgetService_ClipboardNetworkInformationCredentialsContainerGeolocationMediaCapabilitiesMediaDevicesMediaSessionMimeTypeArray_NFCPermissionsPresentationServiceWorkerContainerStorageManagerVRDeprecatedStorageQuotaRelatedApplicationNotification_NotificationPermissionCallbackNotificationEvent_CanvasPathOptionElementOverconstrainedErrorPageTransitionEventPasswordCredentialPaymentInstrumentsPaymentRequestPaymentAddressPaymentResponsePaymentRequestEventPaymentRequestUpdateEventMemoryInfoPerformanceNavigationPerformanceTimingPerformanceEntryTaskAttributionTimingPerformanceResourceTimingPerformanceObserverCallbackPerformanceObserverEntryListPerformanceObserverPerformanceServerTimingPermissionStatusMediaSettingsRangePointerEventPresentationRequestPresentationReceiverPresentationConnectionAvailableEventPresentationConnectionPresentationConnectionCloseEventPresentationConnectionListPresentationAvailabilityPromiseRejectionEventPushEventPushMessageDataPushSubscriptionPushSubscriptionOptionsRtcSessionDescriptionRtcStatsResponseRelativeOrientationSensorRemotePlaybackAvailabilityCallbackReportingObserverCallbackReportingObserverResizeObserverCallbackResizeObserverRtcDataChannelEventRtcDataChannelRtcDtmfToneChangeEventRtcStatsCallbackRtcPeerConnectionIceEventRtcTrackEventRtcPeerConnectionErrorCallbackRtcRtpSenderRtcDtmfSenderRtcRtpReceiverRtcStatsReportRtcIceCandidateRtcRtpContributingSourceRtcLegacyStatsReportScreenOrientationScrollTimelineSensorErrorEventAbstractWorkerServiceWorkerServiceWorkerRegistrationClientsServiceWorkerGlobalScopeBackgroundFetchManagerNavigationPreloadManagerPaymentManagerPushManagerSyncManagerDocumentOrShadowRootSharedWorkerSharedWorkerGlobalScopeTrackDefaultListSpeechGrammarSpeechGrammarListSpeechRecognitionErrorSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionAlternativeSpeechSynthesisVoiceSpeechSynthesisUtteranceSpeechSynthesisEventStorageStylePropertyMapReadonlySyncEventTableSectionElementTableRowElementTableCaptionElementTableCellElementTextDetectorTextTrackCueListTextTrackCueTrackEventTrackDefaultTrustedHtmlTrustedScriptUrlUrlSearchParamsVRCoordinateSystemVRDeviceEventVRDeviceVRDisplayCapabilitiesVRStageParametersVREyeParametersVRFrameDataFrameRequestCallbackVRDisplayEventVRDisplayVRPoseVRStageBoundsVRSessionEventVRSessionVRStageBoundsPointVideoPlaybackQualityVideoTrackVttCueVttRegionWebSocket_WindowTimersWindowBase64LocationConsoleApplicationCacheCacheStorageCookieStoreCryptoCustomElementRegistryExternalHistoryBarPropNavigatorPerformanceScreenSpeechSynthesisStyleMediaVisualViewportMediaQueryListDatabaseCallbackIdleRequestCallbackBeforeUnloadEvent_BeforeUnloadEventStreamProvider_WrappedEventClientWorker_WorkerLocation_WorkerNavigatorWorkerPerformanceWorkletAnimationXPathEvaluatorXPathExpressionXPathNSResolverXPathResultXmlSerializerXsltProcessorBudgetState_DomRect_FileReaderSync_MojoInterfaceInterceptor_MojoInterfaceRequestEvent_AttrBody_USBInterface_USBAlternateInterface_USBDevice_USBConfiguration_USBConnectionEvent_USBEndpoint_USBInTransferResult_USBIsochronousInTransferPacket_USBIsochronousInTransferResult_USBIsochronousOutTransferPacket_USBIsochronousOutTransferResult_USBOutTransferResultUrlUtilsReadOnly_AttributeMap_ContentCssRect_EventStreamCustomStream_CustomEventStreamImplKeyEventUriPolicy_Html5NodeValidator_CustomKeyEventStreamImplKeyCodeUPDOWNLEFTRIGHTENTERF1F2F3F4F5F6F7F8F9F10F11F12DELETEHOMEENDPAGE_UPPAGE_DOWNINSERT_SimpleNodeValidator_safe_TrustedHtmlTreeSanitizerAnchorElementOSErrornoErrorCode_BufferAndStartZLibCodec_defaultzlibZLibOptiondefaultLeveldefaultWindowBitsdefaultMemLevelstrategyDefaultlevelwindowBitsmemLevelstrategyrawgzipdictionaryZLibEncoderZLibDecoderGZipCodecRawZLibFilter_FilterSinkFileSystemEntityDirectory_Namespace_AsyncDirectoryListerOpsFileModereadwriteappendwriteOnlywriteOnlyAppendFileLockexclusiveblockingSharedblockingExclusiveRandomAccessFileIOSinkIOException_FileResourceInfo_RandomAccessFileOpsFileSystemEntityTypelinkFileStatFileSystemEventall<    + + + + +       +            +     + + +   +                       +   +   +   + + + ! %%!!""#,$$!!)" +  + + +       + +   ( & -'*  +        + +    + + +           +         + + +                        + +!%  $+)  " +  "       +     +    +   )' +       )' #!" *(!  %#(&  + !             +  + +  !      +    + "  +   $    + +   + + +   + + +  # !  +       + +         +    +  +   % +   +"&$,* ()  + *  *     +      +%zr-XPA9*",*   + +  +*  "#!,     +    + + + +  +   + +  + +   !    +   +       * ""$! + +         +   +      + +      $%  - -  + - "#      $(   + +  + +   -   -      -   !   -   -$% -      "   -  "#!!$       - - ))%-)         -   -          -      -  +  +   %   +   +   & + + +  + &        +  +   + +      +  +  +          +    +    ! '  +        +    +    +    -  !    -         -  -       y z O \ No newline at end of file +x 5 XO \ No newline at end of file diff --git a/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js index be95b70d9..57f180866 100644 --- a/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js +++ b/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js @@ -1,8 +1,13 @@ +// Generated by DDC, the Dart Development Compiler (to JavaScript). +// Version: 2.19.0-374.0.dev (dev) (Fri Nov 4 12:40:18 2022 -0700) on "linux_x64" +// Module: dart_sdk +// Flags: soundNullSafety(false), enableAsserts(true) define([], (function load__dart_sdk() { 'use strict'; const _library = Object.create(null); const dart = Object.create(_library); dart.library = _library; + var _dart2js_runtime_metrics = Object.create(dart.library); var _debugger = Object.create(dart.library); var _foreign_helper = Object.create(dart.library); var _interceptors = Object.create(dart.library); @@ -28,7 +33,6 @@ define([], (function load__dart_sdk() { var svg$ = Object.create(dart.library); var web_audio = Object.create(dart.library); var web_gl = Object.create(dart.library); - var web_sql = Object.create(dart.library); var core = Object.create(dart.library); var _http = Object.create(dart.library); var dartx = Object.create(dart.library); @@ -48,6 +52,7 @@ define([], (function load__dart_sdk() { var $_equals = dartx._equals = Symbol("dartx._equals"); var $toString = dartx.toString = Symbol("dartx.toString"); var $noSuchMethod = dartx.noSuchMethod = Symbol("dartx.noSuchMethod"); + var $add = dartx.add = Symbol("dartx.add"); var $cast = dartx.cast = Symbol("dartx.cast"); var $addAll = dartx.addAll = Symbol("dartx.addAll"); var $_set = dartx._set = Symbol("dartx._set"); @@ -55,7 +60,6 @@ define([], (function load__dart_sdk() { var $clear = dartx.clear = Symbol("dartx.clear"); var $contains = dartx.contains = Symbol("dartx.contains"); var $indexOf = dartx.indexOf = Symbol("dartx.indexOf"); - var $add = dartx.add = Symbol("dartx.add"); var $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); var $map = dartx.map = Symbol("dartx.map"); var $toList = dartx.toList = Symbol("dartx.toList"); @@ -69,7 +73,6 @@ define([], (function load__dart_sdk() { var $keys = dartx.keys = Symbol("dartx.keys"); var $remove = dartx.remove = Symbol("dartx.remove"); var $values = dartx.values = Symbol("dartx.values"); - var $entries = dartx.entries = Symbol("dartx.entries"); var $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); var $truncate = dartx.truncate = Symbol("dartx.truncate"); var $toInt = dartx.toInt = Symbol("dartx.toInt"); @@ -189,6 +192,7 @@ define([], (function load__dart_sdk() { var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); var $update = dartx.update = Symbol("dartx.update"); var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); + var $entries = dartx.entries = Symbol("dartx.entries"); var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); @@ -259,6 +263,8 @@ define([], (function load__dart_sdk() { IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + LinkedHashMapOfString$Object: () => (T$.LinkedHashMapOfString$Object = dart.constFn(collection.LinkedHashMap$(core.String, core.Object)))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), @@ -285,18 +291,15 @@ define([], (function load__dart_sdk() { StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), - ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), - InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), - MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), - ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), - VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), @@ -307,7 +310,6 @@ define([], (function load__dart_sdk() { ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), - ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), @@ -331,27 +333,65 @@ define([], (function load__dart_sdk() { _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), - VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), - ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), - VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), - StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), - FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), - VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), - _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), - JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + ZoneAndZoneDelegateAndZone__ToR: () => (T$.ZoneAndZoneDelegateAndZone__ToR = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR())))(), + ZoneAndZoneDelegateAndZone__ToR$1: () => (T$.ZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR(), T]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$1())))(), + ZoneAndZoneDelegateAndZone__ToR$2: () => (T$.ZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR(), T1, T2]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$2())))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [__t$VoidToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [__t$TToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR()]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [__t$T1AndT2ToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR()]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$2())))(), AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), @@ -372,16 +412,106 @@ define([], (function load__dart_sdk() { _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL())))(), ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL(), __t$TL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1())))(), ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL(), __t$T1L(), __t$T2L()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2())))(), ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), - ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$VoidToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$3: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$3 = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$TLToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$4: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$4 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$T1LAndT2LToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2())))(), + ZoneAndZoneDelegateAndZone__ToFn$5: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$5 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), @@ -414,21 +544,25 @@ define([], (function load__dart_sdk() { ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), - NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), - StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), - HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), - JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), - ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), - ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), - LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() + ObjectNTo_FutureOfObjectN: () => (T$.ObjectNTo_FutureOfObjectN = dart.constFn(dart.fnType(T$._FutureOfObjectN(), [T$.ObjectN()])))(), + ObjectAndStackTraceNToObject: () => (T$.ObjectAndStackTraceNToObject = dart.constFn(dart.fnType(core.Object, [core.Object, T$.StackTraceN()])))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + ObjectNAndObjectNTovoid$1: () => (T$.ObjectNAndObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()], [T$.ObjectN()])))() }; var T$0 = { + StringTovoid: () => (T$0.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$0.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + ObjectNToint: () => (T$0.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$0.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$0.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))(), dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), - ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + StringTodynamic: () => (T$0.StringTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.String])))(), MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + VoidTodynamic: () => (T$0.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ListN: () => (T$0.ListN = dart.constFn(dart.nullable(core.List)))(), IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), @@ -442,40 +576,36 @@ define([], (function load__dart_sdk() { StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), - SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), - LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), - UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), - CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), - UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), - CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), - UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + UnmodifiableMapViewOfString$Metric: () => (T$0.UnmodifiableMapViewOfString$Metric = dart.constFn(collection.UnmodifiableMapView$(core.String, developer.Metric)))(), + IdentityMapOfString$Metric: () => (T$0.IdentityMapOfString$Metric = dart.constFn(_js_helper.IdentityMap$(core.String, developer.Metric)))(), + CompleterOfStringN: () => (T$0.CompleterOfStringN = dart.constFn(async.Completer$(T$.StringN())))(), + StringNTovoid: () => (T$0.StringNTovoid = dart.constFn(dart.fnType(dart.void, [T$.StringN()])))(), _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), - JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + _AsyncBlockN: () => (T$0._AsyncBlockN = dart.constFn(dart.nullable(developer._AsyncBlock)))(), + JSArrayOf_AsyncBlockN: () => (T$0.JSArrayOf_AsyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._AsyncBlockN())))(), LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), - VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), - Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), - dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), - dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + ObjectNTo_Directory: () => (T$0.ObjectNTo_Directory = dart.constFn(dart.fnType(io._Directory, [T$.ObjectN()])))(), + ObjectNToDirectory: () => (T$0.ObjectNToDirectory = dart.constFn(dart.fnType(io.Directory, [T$.ObjectN()])))(), JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), - FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), - dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), - dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + ObjectNToFileSystemEntityType: () => (T$0.ObjectNToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [T$.ObjectN()])))(), StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + ObjectNToNull: () => (T$0.ObjectNToNull = dart.constFn(dart.fnType(core.Null, [T$.ObjectN()])))(), StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), @@ -483,54 +613,51 @@ define([], (function load__dart_sdk() { FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), - StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), - VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), - StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + FutureOfObjectN: () => (T$0.FutureOfObjectN = dart.constFn(async.Future$(T$.ObjectN())))(), DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), - DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), - dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + DirectoryNToFutureOfObjectN: () => (T$0.DirectoryNToFutureOfObjectN = dart.constFn(dart.fnType(T$0.FutureOfObjectN(), [T$0.DirectoryN()])))(), + ObjectNTo_File: () => (T$0.ObjectNTo_File = dart.constFn(dart.fnType(io._File, [T$.ObjectN()])))(), FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), - dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), - dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), - FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), - dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), - dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + ObjectNToFile: () => (T$0.ObjectNToFile = dart.constFn(dart.fnType(io.File, [T$.ObjectN()])))(), + ObjectNTo_RandomAccessFile: () => (T$0.ObjectNTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [T$.ObjectN()])))(), + ObjectNToDateTime: () => (T$0.ObjectNToDateTime = dart.constFn(dart.fnType(core.DateTime, [T$.ObjectN()])))(), CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), - dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), - dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ObjectNToFileStat: () => (T$0.ObjectNToFileStat = dart.constFn(dart.fnType(io.FileStat, [T$.ObjectN()])))(), ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), - dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + ObjectNTo_Link: () => (T$0.ObjectNTo_Link = dart.constFn(dart.fnType(io._Link, [T$.ObjectN()])))(), FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), - dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + ObjectNToLink: () => (T$0.ObjectNToLink = dart.constFn(dart.fnType(io.Link, [T$.ObjectN()])))(), _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + IterableOfObjectN: () => (T$0.IterableOfObjectN = dart.constFn(core.Iterable$(T$.ObjectN())))(), _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), @@ -543,7 +670,7 @@ define([], (function load__dart_sdk() { StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), - dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + ListOfObjectNToFutureOfRawSecureSocket: () => (T$0.ListOfObjectNToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [T$.ListOfObjectN()])))(), StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), @@ -556,9 +683,12 @@ define([], (function load__dart_sdk() { intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), - JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), - StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + FutureOrNTovoid: () => (T$0.FutureOrNTovoid = dart.constFn(dart.fnType(dart.void, [], [dart.dynamic])))(), Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + _RemoteRunnerOfObjectN: () => (T$0._RemoteRunnerOfObjectN = dart.constFn(isolate$._RemoteRunner$(T$.ObjectN())))(), + _RemoteRunnerOfObjectNTovoid: () => (T$0._RemoteRunnerOfObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$0._RemoteRunnerOfObjectN()])))(), + IsolateToNull: () => (T$0.IsolateToNull = dart.constFn(dart.fnType(core.Null, [isolate$.Isolate])))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), @@ -607,13 +737,15 @@ define([], (function load__dart_sdk() { EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + RenderingContextN: () => (T$0.RenderingContextN = dart.constFn(dart.nullable(web_gl.RenderingContext)))(), CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), - dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementToCssStyleDeclaration: () => (T$0.ElementToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [html$.Element])))(), CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), @@ -627,7 +759,6 @@ define([], (function load__dart_sdk() { SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), - ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), @@ -639,7 +770,6 @@ define([], (function load__dart_sdk() { FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), - GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), @@ -710,12 +840,8 @@ define([], (function load__dart_sdk() { EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), - ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), - _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), - StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), - BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), - _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), - _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventL: () => (T$0.BeforeUnloadEventL = dart.constFn(dart.legacy(html$.BeforeUnloadEvent)))(), + EventStreamProviderOfBeforeUnloadEventL: () => (T$0.EventStreamProviderOfBeforeUnloadEventL = dart.constFn(html$.EventStreamProvider$(T$0.BeforeUnloadEventL())))(), GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), @@ -730,6 +856,7 @@ define([], (function load__dart_sdk() { SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), @@ -744,25 +871,23 @@ define([], (function load__dart_sdk() { TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), - CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + CompleterOfObject: () => (T$0.CompleterOfObject = dart.constFn(async.Completer$(core.Object)))(), AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + DomExceptionN: () => (T$0.DomExceptionN = dart.constFn(dart.nullable(html$.DomException)))(), + DomExceptionNTovoid: () => (T$0.DomExceptionNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.DomExceptionN()])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + ObjectToAudioBuffer: () => (T$0.ObjectToAudioBuffer = dart.constFn(dart.fnType(web_audio.AudioBuffer, [core.Object])))(), AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), - CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), - SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), - SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), - CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), - SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), - SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), - intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + numN: () => (T$0.numN = dart.constFn(dart.nullable(core.num)))(), SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), - StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + StringAndintNTovoid: () => (T$0.StringAndintNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.intN()])))(), ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), @@ -771,7 +896,8 @@ define([], (function load__dart_sdk() { IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), - _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + intAndintAndint__ToDateTime: () => (T$0.intAndintAndint__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [core.int], [core.int, core.int, core.int, core.int, core.int, core.int, core.int])))(), + __ToDateTime: () => (T$0.__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [], {day: T$.intN(), hour: T$.intN(), isUtc: T$.boolN(), microsecond: T$.intN(), millisecond: T$.intN(), minute: T$.intN(), month: T$.intN(), second: T$.intN(), year: T$.intN()}, {})))(), ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), @@ -783,124 +909,127 @@ define([], (function load__dart_sdk() { JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), - UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), - StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), - JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), - _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), - IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), - JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), - VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), - dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), - CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), - CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), - FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), - _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), - _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), - Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), - dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), - VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), - VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), - _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), - _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), - _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), - _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), - FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), - boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), - SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), - CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), - EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), - ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), - CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), - CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), - JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), - HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), - JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), - ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), - CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), - StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), - voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), - voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), - StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), - _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), - dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), - dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), - dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() - }; - var T = { - dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), - dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), - _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), - CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), - _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), - SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), - SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), - FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), - SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), - SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), - FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), - HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), - SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), - _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), - _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), - FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), - CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), - X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), - _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), - FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), - dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), - ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), - IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), - JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), - JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), - MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), - Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), - _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), - _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), - FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), - _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), - FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), - _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), - _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), - VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), - dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), - _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), - _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), - StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), - StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), - SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), - dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), - IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), - LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), - StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), - ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), - SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), - _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), - _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), - LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), - JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), - StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), - IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), - VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), - IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), - HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), - EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), - StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), - StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), - WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), - HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), - FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), - SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), - StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), - VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), - EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), - EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), - CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), - dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), - HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), - StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), - HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), - dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), - LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))() + }; + var T$1 = { + StringNToString: () => (T$1.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$1.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$1._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$1.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$1.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$1.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + CompleterOfbool: () => (T$1.CompleterOfbool = dart.constFn(async.Completer$(core.bool)))(), + CookieTobool: () => (T$1.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$1.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$1.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$1._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$1._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$1.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$1.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$1.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$1.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$1._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$1._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$1._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$1._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$1._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$1.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$1.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$1.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$1.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + ListOfintToListOfint: () => (T$1.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$1.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$1.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$1.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$1.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$1.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$1.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$1.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$1.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$1.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$1.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$1.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$1._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$1.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$1.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessage: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T$1.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T$1._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T$1.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T$1._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T$1.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T$1.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T$1.FutureOfSocketN = dart.constFn(async.Future$(T$1.SocketN())))(), + SocketTo_DetachedSocket: () => (T$1.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T$1.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T$1.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T$1.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T$1.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T$1.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T$1._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + ConnectionTaskOfSocket: () => (T$1.ConnectionTaskOfSocket = dart.constFn(io.ConnectionTask$(io.Socket)))(), + _HashSetOfConnectionTaskOfSocket: () => (T$1._HashSetOfConnectionTaskOfSocket = dart.constFn(collection._HashSet$(T$1.ConnectionTaskOfSocket())))(), + ListQueueOfVoidTovoid: () => (T$1.ListQueueOfVoidTovoid = dart.constFn(collection.ListQueue$(T$.VoidTovoid())))(), + SocketToNull: () => (T$1.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + FutureOf_ConnectionInfo: () => (T$1.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T$1.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T$1.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T$1._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T$1.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + SocketToFutureOrOf_ConnectionInfo: () => (T$1.SocketToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOrOf_ConnectionInfo(), [io.Socket])))(), + ConnectionTaskOfSocketToFutureOf_ConnectionInfo: () => (T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [T$1.ConnectionTaskOfSocket()])))(), + IdentityMapOfString$_ConnectionTarget: () => (T$1.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T$1.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T$1.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T$1.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T$1.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T$1.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T$1._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T$1._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T$1.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T$1._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T$1.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T$1._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T$1.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T$1._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T$1.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicAnddynamicToFutureOf_ConnectionInfo: () => (T$1.dynamicAnddynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [dart.dynamic, dart.dynamic])))(), + _SiteCredentialsN: () => (T$1._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T$1._SiteCredentialsN(), [T$1._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T$1.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + dynamicTo_DetachedSocket: () => (T$1.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T$1.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T$1.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T$1.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T$1.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T$1.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + IdentityMapOfint$_HttpServer: () => (T$1.IdentityMapOfint$_HttpServer = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T$1.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamOfUint8List: () => (T$1.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + StreamControllerOf_HttpIncoming: () => (T$1.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T$1.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T$1.VoidToNdynamic = dart.constFn(dart.nullable(T$0.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T$1.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T$1.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T$1.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T$1.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T$1.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T$1.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T$1.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T$1.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T$1.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T$1.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T$1.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T$1.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T$1.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T$1.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T$1.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T$1.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToFutureOfWebSocket: () => (T$1.StringToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T$1.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T$1.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + IdentityMapOfint$_WebSocketImpl: () => (T$1.IdentityMapOfint$_WebSocketImpl = dart.constFn(_js_helper.IdentityMap$(core.int, _http._WebSocketImpl)))(), + BytesBuilderTovoid: () => (T$1.BytesBuilderTovoid = dart.constFn(dart.fnType(dart.void, [_internal.BytesBuilder])))(), + ListOfCookie: () => (T$1.ListOfCookie = dart.constFn(core.List$(_http.Cookie)))(), + VoidToListOfCookie: () => (T$1.VoidToListOfCookie = dart.constFn(dart.fnType(T$1.ListOfCookie(), [])))(), + UriTovoid: () => (T$1.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))() }; var S = { _delete$1: dart.privateName(indexed_db, "_delete"), @@ -1085,7 +1214,6 @@ define([], (function load__dart_sdk() { _namespaceUri: dart.privateName(html$, "_namespaceUri"), $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), @@ -1119,6 +1247,7 @@ define([], (function load__dart_sdk() { $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), $dir: dartx.dir = Symbol("dartx.dir"), $draggable: dartx.draggable = Symbol("dartx.draggable"), @@ -1174,12 +1303,12 @@ define([], (function load__dart_sdk() { _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + $scrollIntoViewIfNeeded: dartx.scrollIntoViewIfNeeded = Symbol("dartx.scrollIntoViewIfNeeded"), _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), - $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $after: dartx.after = Symbol("dartx.after"), $before: dartx.before = Symbol("dartx.before"), $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), @@ -1219,7 +1348,9 @@ define([], (function load__dart_sdk() { $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown") + }; + var S$ = { $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), @@ -1241,9 +1372,7 @@ define([], (function load__dart_sdk() { $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") - }; - var S$ = { + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), @@ -1721,7 +1850,9 @@ define([], (function load__dart_sdk() { $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle") + }; + var S$0 = { $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), @@ -1743,9 +1874,7 @@ define([], (function load__dart_sdk() { $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth") - }; - var S$0 = { + _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), _borderSpacing: dart.privateName(html$, "_borderSpacing"), $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), @@ -1970,6 +2099,7 @@ define([], (function load__dart_sdk() { $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $gap: dartx.gap = Symbol("dartx.gap"), $grid: dartx.grid = Symbol("dartx.grid"), $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), @@ -2053,6 +2183,7 @@ define([], (function load__dart_sdk() { $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), $resize: dartx.resize = Symbol("dartx.resize"), + $rowGap: dartx.rowGap = Symbol("dartx.rowGap"), $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), @@ -2120,8 +2251,8 @@ define([], (function load__dart_sdk() { $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), $zoom: dartx.zoom = Symbol("dartx.zoom"), - _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _elementIterable: dart.privateName(html$, "_elementIterable"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _setAll: dart.privateName(html$, "_setAll"), $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), $rules: dartx.rules = Symbol("dartx.rules"), @@ -2221,7 +2352,9 @@ define([], (function load__dart_sdk() { $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $isFile: dartx.isFile = Symbol("dartx.isFile"), + $isFile: dartx.isFile = Symbol("dartx.isFile") + }; + var S$1 = { _copyTo: dart.privateName(html$, "_copyTo"), $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), _getMetadata: dart.privateName(html$, "_getMetadata"), @@ -2245,9 +2378,7 @@ define([], (function load__dart_sdk() { _head$1: dart.privateName(html$, "_head"), $implementation: dartx.implementation = Symbol("dartx.implementation"), _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") - }; - var S$1 = { + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), _referrer: dart.privateName(html$, "_referrer"), $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), @@ -2289,7 +2420,6 @@ define([], (function load__dart_sdk() { _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), @@ -2297,6 +2427,7 @@ define([], (function load__dart_sdk() { _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), $fonts: dartx.fonts = Symbol("dartx.fonts"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), @@ -2388,7 +2519,7 @@ define([], (function load__dart_sdk() { $supports: dartx.supports = Symbol("dartx.supports"), $toggle: dartx.toggle = Symbol("dartx.toggle"), _childElements: dart.privateName(html$, "_childElements"), - _element$2: dart.privateName(html$, "_element"), + _element: dart.privateName(html$, "_element"), _filter$2: dart.privateName(html$, "_filter"), _nodeList: dart.privateName(html$, "_nodeList"), _forElementList: dart.privateName(html$, "_forElementList"), @@ -2678,7 +2809,7 @@ define([], (function load__dart_sdk() { _get_data: dart.privateName(html$, "_get_data"), _get_source: dart.privateName(html$, "_get_source"), _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _start$4: dart.privateName(html$, "_start"), + _start$5: dart.privateName(html$, "_start"), $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), @@ -2723,7 +2854,9 @@ define([], (function load__dart_sdk() { $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), - _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_1$1: dart.privateName(html$, "_observe_1") + }; + var S$2 = { _observe_2: dart.privateName(html$, "_observe_2"), _observe: dart.privateName(html$, "_observe"), _call: dart.privateName(html$, "_call"), @@ -2747,9 +2880,7 @@ define([], (function load__dart_sdk() { $credentials: dartx.credentials = Symbol("dartx.credentials"), $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation") - }; - var S$2 = { + $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), @@ -2857,7 +2988,13 @@ define([], (function load__dart_sdk() { $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + _mark_1: dart.privateName(html$, "_mark_1"), + _mark_2: dart.privateName(html$, "_mark_2"), $mark: dartx.mark = Symbol("dartx.mark"), + _measure_1: dart.privateName(html$, "_measure_1"), + _measure_2: dart.privateName(html$, "_measure_2"), + _measure_3: dart.privateName(html$, "_measure_3"), + _measure_4: dart.privateName(html$, "_measure_4"), $measure: dartx.measure = Symbol("dartx.measure"), $now: dartx.now = Symbol("dartx.now"), $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), @@ -2984,6 +3121,7 @@ define([], (function load__dart_sdk() { $stat: dartx.stat = Symbol("dartx.stat"), _getStats: dart.privateName(html$, "_getStats"), $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $connectionState: dartx.connectionState = Symbol("dartx.connectionState"), $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), @@ -3010,6 +3148,7 @@ define([], (function load__dart_sdk() { $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onConnectionStateChange: dartx.onConnectionStateChange = Symbol("dartx.onConnectionStateChange"), $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), @@ -3217,7 +3356,9 @@ define([], (function load__dart_sdk() { $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent") + }; + var S$3 = { $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), @@ -3249,9 +3390,7 @@ define([], (function load__dart_sdk() { __radiusY: dart.privateName(html$, "__radiusY"), $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") - }; - var S$3 = { + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), $touches: dartx.touches = Symbol("dartx.touches"), $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), @@ -3404,7 +3543,6 @@ define([], (function load__dart_sdk() { $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - _openDatabase: dart.privateName(html$, "_openDatabase"), $print: dartx.print = Symbol("dartx.print"), _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), @@ -3429,16 +3567,10 @@ define([], (function load__dart_sdk() { $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _returnValue: dart.privateName(html$, "_returnValue"), - wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), - _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _eventType$1: dart.privateName(html$, "_eventType"), $focused: dartx.focused = Symbol("dartx.focused"), $navigate: dartx.navigate = Symbol("dartx.navigate"), $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), @@ -3487,7 +3619,8 @@ define([], (function load__dart_sdk() { _sets: dart.privateName(html$, "_sets"), _validateToken: dart.privateName(html_common, "_validateToken"), _unit: dart.privateName(html$, "_unit"), - _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), _target$2: dart.privateName(html$, "_target"), _useCapture: dart.privateName(html$, "_useCapture"), _targetList: dart.privateName(html$, "_targetList"), @@ -3508,6 +3641,7 @@ define([], (function load__dart_sdk() { _realKeyCode: dart.privateName(html$, "_realKeyCode"), _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), _controller$2: dart.privateName(html$, "_controller"), _subscriptions: dart.privateName(html$, "_subscriptions"), _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), @@ -3522,8 +3656,8 @@ define([], (function load__dart_sdk() { _validators: dart.privateName(html$, "_validators"), _templateAttrs: dart.privateName(html$, "_templateAttrs"), _list$19: dart.privateName(html$, "_list"), - _iterator$3: dart.privateName(html$, "_iterator"), - _current$4: dart.privateName(html$, "_current"), + _iterator$2: dart.privateName(html$, "_iterator"), + _current$5: dart.privateName(html$, "_current"), _array: dart.privateName(html$, "_array"), _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), _interceptor: dart.privateName(html$, "_interceptor"), @@ -3543,7 +3677,7 @@ define([], (function load__dart_sdk() { preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), stencil: dart.privateName(html_common, "ContextAttributes.stencil"), failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - data$1: dart.privateName(html_common, "_TypedImageData.data"), + data$2: dart.privateName(html_common, "_TypedImageData.data"), height$1: dart.privateName(html_common, "_TypedImageData.height"), width$1: dart.privateName(html_common, "_TypedImageData.width"), _childNodes: dart.privateName(html_common, "_childNodes"), @@ -3667,7 +3801,7 @@ define([], (function load__dart_sdk() { $fx: dartx.fx = Symbol("dartx.fx"), $fy: dartx.fy = Symbol("dartx.fy"), $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$3: dart.privateName(svg$, "_element"), + _element$1: dart.privateName(svg$, "_element"), $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), @@ -3724,7 +3858,9 @@ define([], (function load__dart_sdk() { $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), $context: dartx.context = Symbol("dartx.context"), $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs") + }; + var S$4 = { _connect: dart.privateName(web_audio, "_connect"), $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), @@ -3743,7 +3879,6 @@ define([], (function load__dart_sdk() { $suspend: dartx.suspend = Symbol("dartx.suspend"), $createGain: dartx.createGain = Symbol("dartx.createGain"), $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), $destination: dartx.destination = Symbol("dartx.destination"), $listener: dartx.listener = Symbol("dartx.listener"), @@ -3751,9 +3886,7 @@ define([], (function load__dart_sdk() { $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") - }; - var S$4 = { + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), @@ -4145,22 +4278,12 @@ define([], (function load__dart_sdk() { $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), - _changeVersion: dart.privateName(web_sql, "_changeVersion"), - $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), - _readTransaction: dart.privateName(web_sql, "_readTransaction"), - $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), - $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), - $insertId: dartx.insertId = Symbol("dartx.insertId"), - $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), - _item_1: dart.privateName(web_sql, "_item_1"), - _executeSql: dart.privateName(web_sql, "_executeSql"), - $executeSql: dartx.executeSql = Symbol("dartx.executeSql") + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") }; const CT = Object.create({ _: () => (C, CT) }); - var C = Array(490).fill(void 0); + var C = Array(504).fill(void 0); var I = [ "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", @@ -4170,6 +4293,7 @@ define([], (function load__dart_sdk() { "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "org-dartlang-sdk:///lib/core/object.dart", "dart:core", "dart:_runtime", "org-dartlang-sdk:///lib/core/invocation.dart", @@ -4189,6 +4313,7 @@ define([], (function load__dart_sdk() { "dart:collection", "dart:_internal", "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/internal/async_cast.dart", "org-dartlang-sdk:///lib/async/stream.dart", "dart:async", @@ -4222,6 +4347,7 @@ define([], (function load__dart_sdk() { "dart:_metadata", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", "dart:_native_typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", "dart:typed_data", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", "org-dartlang-sdk:///lib/async/async_error.dart", @@ -4254,8 +4380,8 @@ define([], (function load__dart_sdk() { "org-dartlang-sdk:///lib/convert/codec.dart", "org-dartlang-sdk:///lib/core/list.dart", "org-dartlang-sdk:///lib/convert/byte_conversion.dart", - "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/html_escape.dart", "org-dartlang-sdk:///lib/convert/json.dart", "org-dartlang-sdk:///lib/convert/latin1.dart", @@ -4277,11 +4403,11 @@ define([], (function load__dart_sdk() { "org-dartlang-sdk:///lib/io/embedder_config.dart", "org-dartlang-sdk:///lib/io/file.dart", "org-dartlang-sdk:///lib/io/file_impl.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/link.dart", - "org-dartlang-sdk:///lib/io/network_policy.dart", "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/core/enum.dart", "org-dartlang-sdk:///lib/io/overrides.dart", "org-dartlang-sdk:///lib/io/platform_impl.dart", "org-dartlang-sdk:///lib/io/process.dart", @@ -4300,13 +4426,12 @@ define([], (function load__dart_sdk() { "org-dartlang-sdk:///lib/js/js.dart", "org-dartlang-sdk:///lib/js_util/js_util.dart", "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_shared/lib/js_util_patch.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", "dart:math", "org-dartlang-sdk:///lib/math/point.dart", "org-dartlang-sdk:///lib/math/rectangle.dart", "org-dartlang-sdk:///lib/typed_data/typed_data.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", - "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", "dart:indexed_db", "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", @@ -4324,19 +4449,17 @@ define([], (function load__dart_sdk() { "dart:web_audio", "dart:web_gl", "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", - "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", - "dart:web_sql", - "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/annotations.dart", "org-dartlang-sdk:///lib/core/bool.dart", "org-dartlang-sdk:///lib/core/comparable.dart", "org-dartlang-sdk:///lib/core/date_time.dart", "org-dartlang-sdk:///lib/core/duration.dart", - "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/set.dart", "org-dartlang-sdk:///lib/core/stacktrace.dart", "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/symbol.dart", "org-dartlang-sdk:///lib/core/uri.dart", "org-dartlang-sdk:///lib/_http/http.dart", "dart:_http", @@ -4348,7 +4471,9 @@ define([], (function load__dart_sdk() { "org-dartlang-sdk:///lib/_http/http_session.dart", "org-dartlang-sdk:///lib/_http/overrides.dart", "org-dartlang-sdk:///lib/_http/websocket.dart", - "org-dartlang-sdk:///lib/_http/websocket_impl.dart" + "org-dartlang-sdk:///lib/_http/websocket_impl.dart", + "org-dartlang-sdk:///lib/_http/http_testing.dart", + "org-dartlang-sdk:///lib/_http/embedder_config.dart" ]; var _jsError$ = dart.privateName(dart, "_jsError"); var _type$ = dart.privateName(dart, "_type"); @@ -4443,7 +4568,6 @@ define([], (function load__dart_sdk() { } let genericType = genericFutureOrType(typeArg); genericType[dart._originalDeclaration] = normalize; - dart.addTypeCaches(genericType); function is_FutureOr(obj) { return typeArg.is(obj) || async.Future$(typeArg).is(obj); } @@ -4500,7 +4624,6 @@ define([], (function load__dart_sdk() { return value; } makeGenericType[dart._genericTypeCtor] = typeConstructor; - dart.addTypeCaches(makeGenericType); return makeGenericType; }; dart.getGenericClass = function getGenericClass(type) { @@ -4571,6 +4694,7 @@ define([], (function load__dart_sdk() { } if (typeof obj !== "object") return false; if (obj[dart._extensionType] != null) return false; + if (obj instanceof dart._RecordImpl) return false; return !(obj instanceof core.Object); }; dart.getMethodType = function getMethodType(type, name) { @@ -4723,14 +4847,14 @@ define([], (function load__dart_sdk() { dart._applyExtension(jsType, dartExtType); }; dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 566, 39, "memberNames"); let proto = type.prototype; for (let name of memberNames) { proto[dartx[name]] = proto[name]; } }; dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 574, 46, "memberNames"); let proto = type.prototype; for (let name of memberNames) { let member = null; @@ -4765,12 +4889,31 @@ define([], (function load__dart_sdk() { return dart.as(obj, this); }; }; + dart.typeTagSymbol = function typeTagSymbol(recipe) { + if (recipe == null) dart.nullFailed(I[0], 648, 29, "recipe"); + let tag = dart.str("$is_") + dart.str(recipe); + let probe = dart._typeTagSymbols[tag]; + if (probe != null) return probe; + let tagSymbol = Symbol(tag); + dart._typeTagSymbols[tag] = tagSymbol; + return tagSymbol; + }; + dart.addRtiResources = function addRtiResources(classRef, recipe) { + if (classRef == null) dart.nullFailed(I[0], 664, 29, "classRef"); + if (recipe == null) dart.nullFailed(I[0], 664, 46, "recipe"); + classRef.$interfaceRecipe = recipe; + let prototype = classRef.prototype; + let tagSymbol = dart.typeTagSymbol(recipe); + prototype[tagSymbol] = true; + }; dart.addTypeCaches = function addTypeCaches(type) { - type[dart._cachedLegacy] = void 0; - type[dart._cachedNullable] = void 0; - let subtypeCacheMap = new Map(); - type[dart._subtypeCache] = subtypeCacheMap; - dart._cacheMaps.push(subtypeCacheMap); + { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); + } }; dart.argumentError = function argumentError(value) { dart.throw(new core.ArgumentError.value(value)); @@ -4787,11 +4930,18 @@ define([], (function load__dart_sdk() { }; dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { if (isModuleSound !== false) { - let sdkMode = false ? "sound" : "unsound"; + let sdkMode = "unsound"; let moduleMode = isModuleSound ? "sound" : "unsound"; dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); } }; + dart._checkModuleRuntimeTypes = function _checkModuleRuntimeTypes(useNewTypes) { + if (useNewTypes !== false) { + let sdkTypes = "old"; + let moduleTypes = useNewTypes ? "new" : "old"; + dart.throw(new core.AssertionError.new("The Dart SDK module is using the " + sdkTypes + " runtime " + "type representation and is incompatible with the " + moduleTypes + " " + "representation used in this module.")); + } + }; dart._nullFailedMessage = function _nullFailedMessage(variableName) { return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; }; @@ -4806,7 +4956,7 @@ define([], (function load__dart_sdk() { } }; dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + if (name == null) dart.nullFailed(I[1], 81, 37, "name"); dart.throw(new _internal.LateError.new(name)); }; dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { @@ -4821,7 +4971,21 @@ define([], (function load__dart_sdk() { dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart._castErrorMessage = function _castErrorMessage(from, to) { - return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; + let fromName = "'" + dart.typeName(from) + "'"; + let toName = "'" + dart.typeName(to) + "'"; + let toType = to; + if (to instanceof dart.NullableType || to instanceof dart.LegacyType) { + toType = dart.dload(to, 'type'); + } + let fromType = from; + if (from instanceof dart.NullableType || from instanceof dart.LegacyType) { + fromType = dart.dload(from, 'type'); + } + if (dart.typeName(fromType) === dart.typeName(toType)) { + fromName = fromName + (" (in " + dart.str(dart.getLibraryUri(fromType)) + ")"); + toName = toName + (" (in " + dart.str(dart.getLibraryUri(toType)) + ")"); + } + return "Expected a value of type " + toName + ", but got one of type " + fromName; }; dart.getThrown = function getThrown(error) { if (error != null) { @@ -4839,18 +5003,18 @@ define([], (function load__dart_sdk() { return error[dart._stackTrace] = new dart._StackTrace.new(error); }; dart.stackTraceForError = function stackTraceForError(error) { - if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + if (error == null) dart.nullFailed(I[1], 194, 37, "error"); return dart.stackTrace(error[dart._jsError]); }; dart.rethrow = function rethrow_(error) { - if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + if (error == null) dart.nullFailed(I[1], 203, 22, "error"); throw error; }; dart.throw = function throw_(exception) { throw new dart.DartError(exception); }; dart.createErrorWithStack = function createErrorWithStack(exception, trace) { - if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (exception == null) dart.nullFailed(I[1], 286, 37, "exception"); if (trace == null) { let error = exception[dart._jsError]; return error != null ? error : new dart.DartError(exception); @@ -4864,7 +5028,7 @@ define([], (function load__dart_sdk() { return new dart.RethrownDartError(exception, trace); }; dart.stackPrint = function stackPrint(error) { - if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + if (error == null) dart.nullFailed(I[1], 304, 24, "error"); console.log(error.stack ? error.stack : "No stack trace for: " + error); }; dart.bind = function bind(obj, name, method) { @@ -4888,10 +5052,12 @@ define([], (function load__dart_sdk() { return f; }; dart.gbind = function gbind(f, ...typeArgs) { - if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[2], 92, 29, "typeArgs"); let type = f[dart._runtimeType]; type.checkBounds(typeArgs); let result = (...args) => f.apply(null, typeArgs.concat(args)); + result._originalFn = f; + result._typeArgs = dart.constList(typeArgs, core.Object); return dart.fn(result, type.instantiate(typeArgs)); }; dart.dloadRepl = function dloadRepl(obj, field) { @@ -4907,6 +5073,10 @@ define([], (function load__dart_sdk() { let type = dart.getType(obj); if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (obj instanceof dart._RecordImpl && typeof f == 'string') { + let value = obj[f]; + if (value !== void 0) return value; + } if (dart.test(dart.isJsInterop(obj))) return obj[f]; } return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); @@ -4933,8 +5103,8 @@ define([], (function load__dart_sdk() { return value; }; dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - if (type == null) dart.nullFailed(I[2], 147, 38, "type"); - if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + if (type == null) dart.nullFailed(I[2], 166, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 166, 49, "actuals"); let actualsCount = actuals.length; let required = type.args; let requiredCount = required.length; @@ -4962,10 +5132,8 @@ define([], (function load__dart_sdk() { let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); if (dart.test(missingRequired[$isNotEmpty])) { let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; - if (!false) { + { dart._nullWarn(error); - } else { - return error; } } } @@ -4990,22 +5158,14 @@ define([], (function load__dart_sdk() { if (name[0] === '_') { switch (name) { case '_get': - { return '[]'; - } case '_set': - { return '[]='; - } case '_negate': - { return 'unary-'; - } case '_constructor': case '_prototype': - { return name.substring(1); - } } } return name; @@ -5022,7 +5182,7 @@ define([], (function load__dart_sdk() { function callNSM(errorMessage) { return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); } - if (f == null) return callNSM('Dynamic call of null.'); + if (f == null) return callNSM("Dynamic call of null."); if (!(f instanceof Function)) { if (f != null) { originalTarget = f; @@ -5030,12 +5190,14 @@ define([], (function load__dart_sdk() { ftype = null; displayName = "call"; } - if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + if (f == null) { + return callNSM("Dynamic call of object has no instance method 'call'."); + } } if (ftype == null) ftype = f[dart._runtimeType]; if (ftype == null) { if (typeArgs != null) { - dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + dart.throwTypeError("call to JS object `" + obj + "` with type arguments <" + typeArgs + "> is not supported."); } if (named != null) args.push(named); return f.apply(obj, args); @@ -5045,13 +5207,13 @@ define([], (function load__dart_sdk() { if (typeArgs == null) { typeArgs = ftype.instantiateDefaultBounds(); } else if (typeArgs.length != formalCount) { - return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + return callNSM("Dynamic call with incorrect number of type arguments. " + "Expected: " + formalCount + " Actual: " + typeArgs.length); } else { ftype.checkBounds(typeArgs); } ftype = ftype.instantiate(typeArgs); } else if (typeArgs != null) { - return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + return callNSM("Dynamic call with unexpected type arguments. " + "Expected: 0 Actual: " + typeArgs.length); } let errorMessage = dart._argumentErrors(ftype, args, named); if (errorMessage == null) { @@ -5127,7 +5289,7 @@ define([], (function load__dart_sdk() { return dart.isSubtypeOf(dart.getReifiedType(obj), type); }; dart.as = function cast(obj, type) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(type); return obj; } else { @@ -5142,7 +5304,7 @@ define([], (function load__dart_sdk() { }; dart.dtest = function dtest(obj) { if (!(typeof obj == 'boolean')) { - dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.booleanConversionFailed(dart.test(T$.boolN().as(obj))); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } return obj; @@ -5153,7 +5315,7 @@ define([], (function load__dart_sdk() { }; dart.asInt = function asInt(obj) { if (Math.floor(obj) != obj) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(core.int); return null; } else { @@ -5171,10 +5333,8 @@ define([], (function load__dart_sdk() { }; dart.nullCast = function nullCast(x, type) { if (x == null) { - if (!false) { + { dart._nullWarnOnType(type); - } else { - dart.castError(x, type); } } return x; @@ -5184,14 +5344,14 @@ define([], (function load__dart_sdk() { return x; }; dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + if (map == null) dart.nullFailed(I[2], 572, 34, "map"); let result = map.get(key); if (result != null) return result; map.set(key, result = new Map()); return dart.nullCheck(result); }; dart.constMap = function constMap(K, V, elements) { - if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + if (elements == null) dart.nullFailed(I[2], 579, 34, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantMaps, count); for (let i = 0; i < count; i = i + 1) { @@ -5205,12 +5365,12 @@ define([], (function load__dart_sdk() { return result; }; dart._createImmutableSet = function _createImmutableSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + if (elements == null) dart.nullFailed(I[2], 597, 42, "elements"); dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; return new (dart._immutableSetConstructor(E)).from(elements); }; dart.constSet = function constSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + if (elements == null) dart.nullFailed(I[2], 603, 31, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantSets, count); for (let i = 0; i < count; i = i + 1) { @@ -5266,7 +5426,7 @@ define([], (function load__dart_sdk() { return () => x; }; dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + if (name == null) dart.nullFailed(I[2], 721, 24, "name"); return dartx[name]; }; dart.equals = function equals(x, y) { @@ -5283,15 +5443,17 @@ define([], (function load__dart_sdk() { dart.str = function str(obj) { if (obj == null) return "null"; if (typeof obj == 'string') return obj; - return core.String.as(dart.notNull(obj[$toString]())); + let result = obj[$toString](); + if (typeof result == 'string') return result; + dart.throw(new core.ArgumentError.value(obj, "object", "toString method returned 'null'")); }; dart.noSuchMethod = function noSuchMethod(obj, invocation) { - if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (invocation == null) dart.nullFailed(I[2], 761, 30, "invocation"); if (obj == null) dart.defaultNoSuchMethod(obj, invocation); return obj[$noSuchMethod](invocation); }; dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { - if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + if (i == null) dart.nullFailed(I[2], 767, 37, "i"); dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); }; dart.runtimeType = function runtimeType(obj) { @@ -5322,7 +5484,7 @@ define([], (function load__dart_sdk() { } }; dart.defineLazy = function defineLazy(to, from, useOldSemantics) { - if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + if (useOldSemantics == null) dart.nullFailed(I[2], 842, 32, "useOldSemantics"); for (let name of dart.getOwnNamesAndSymbols(from)) { if (dart.test(useOldSemantics)) { dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); @@ -5342,7 +5504,7 @@ define([], (function load__dart_sdk() { if (init == null) return value; if (final && initialized) dart.throwLateInitializationError(name); if (!savedLocals) { - dart._resetFields.push(() => { + dart.resetFields.push(() => { init = initializer; value = null; savedLocals = false; @@ -5361,10 +5523,21 @@ define([], (function load__dart_sdk() { return value; }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5373,15 +5546,20 @@ define([], (function load__dart_sdk() { const initializer = desc.get; let init = initializer; let value = null; + let savedLocals = false; desc.get = function() { if (init == null) return value; let f = init; init = dart.throwCyclicInitializationError; if (f === init) f(name); - dart._resetFields.push(() => { - init = initializer; - value = null; - }); + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } try { value = f(); init = null; @@ -5393,10 +5571,20 @@ define([], (function load__dart_sdk() { } }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5408,11 +5596,13 @@ define([], (function load__dart_sdk() { return variable; }; dart.fn = function fn(closure, type) { - closure[dart._runtimeType] = type; + { + closure[dart._runtimeType] = type; + } return closure; }; dart.lazyFn = function lazyFn(closure, computeType) { - if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + if (computeType == null) dart.nullFailed(I[3], 67, 35, "computeType"); dart.defineAccessor(closure, dart._runtimeType, { get: () => dart.defineValue(closure, dart._runtimeType, computeType()), set: value => dart.defineValue(closure, dart._runtimeType, value), @@ -5424,73 +5614,104 @@ define([], (function load__dart_sdk() { let args = Array(obj.length).fill(dart.dynamic); return dart.fnType(dart.bottom, args, void 0); }; - dart.getReifiedType = function getReifiedType(obj) { - switch (typeof obj) { - case "object": - { - if (obj == null) return core.Null; - if (obj instanceof core.Object) { - return obj.constructor; - } - let result = obj[dart._extensionType]; - if (result == null) return dart.jsobject; - return result; - } - case "function": - { - let result = obj[dart._runtimeType]; - if (result != null) return result; - return dart.jsobject; - } - case "undefined": - { - return core.Null; - } - case "number": - { - return Math.floor(obj) == obj ? core.int : core.double; - } - case "boolean": - { - return core.bool; + dart.getRecordType = function getRecordType(obj) { + if (obj == null) dart.nullFailed(I[3], 87, 38, "obj"); + let type = obj[dart._runtimeType]; + if (type == null) { + let shape = obj.shape; + let named = shape.named; + let positionals = shape.positionals; + let types = []; + let count = 0; + while (count < dart.notNull(positionals)) { + let name = "$" + dart.str(count); + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + count = count + 1; } - case "string": - { - return core.String; + if (named != null) { + for (let name of named) { + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + } } - case "symbol": - default: - { - return dart.jsobject; + type = dart.recordType(shape, types); + obj[dart._runtimeType] = type; + } + return type; + }; + dart.getReifiedType = function getReifiedType(obj) { + { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof dart._RecordImpl) { + return dart.getRecordType(dart._RecordImpl.as(obj)); + } + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return _interceptors.LegacyJavaScriptObject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return _interceptors.LegacyJavaScriptObject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return _interceptors.LegacyJavaScriptObject; + } } } }; dart.getModuleName = function getModuleName(module) { - if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + if (module == null) dart.nullFailed(I[3], 184, 30, "module"); return module[dart._moduleName]; }; dart.getModuleNames = function getModuleNames() { return Array.from(dart._loadedModules.keys()); }; dart.getSourceMap = function getSourceMap(moduleName) { - if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + if (moduleName == null) dart.nullFailed(I[3], 194, 29, "moduleName"); return dart._loadedSourceMaps.get(moduleName); }; dart.getModuleLibraries = function getModuleLibraries(name) { - if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + if (name == null) dart.nullFailed(I[3], 199, 27, "name"); let module = dart._loadedModules.get(name); if (module == null) return null; module[dart._moduleName] = name; return module; }; dart.getModulePartMap = function getModulePartMap(name) { - if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + if (name == null) dart.nullFailed(I[3], 207, 25, "name"); return dart._loadedPartMaps.get(name); }; dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); - if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); - if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (moduleName == null) dart.nullFailed(I[3], 211, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 211, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 211, 49, "parts"); if (typeof parts == 'string') { sourceMap = parts; parts = {}; @@ -5522,7 +5743,7 @@ define([], (function load__dart_sdk() { } }; dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); if (dart._libraryObjects == null) { dart._computeLibraryMetadata(); } @@ -5536,7 +5757,7 @@ define([], (function load__dart_sdk() { }; dart.getParts = function getParts(libraryUri) { let t0; - if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); if (dart._parts == null) { dart._computeLibraryMetadata(); } @@ -5607,18 +5828,18 @@ define([], (function load__dart_sdk() { return true; }; dart.trackProfile = function trackProfile(flag) { - if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + if (flag == null) dart.nullFailed(I[4], 154, 24, "flag"); dart.__trackProfile = flag; }; dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { - if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + if (value == null) dart.nullFailed(I[4], 179, 39, "value"); dart.startAsyncSynchronously = value; }; dart.hotRestart = function hotRestart() { dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart._resetFields) + for (let f of dart.resetFields) f(); - dart._resetFields[$clear](); + dart.resetFields[$clear](); for (let m of dart._cacheMaps) m.clear(); dart._cacheMaps[$clear](); @@ -5627,18 +5848,18 @@ define([], (function load__dart_sdk() { dart.deferredImports.clear(); }; dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { - if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + if (message == null) dart.nullFailed(I[5], 16, 31, "message"); return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); }; dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { - if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (showWarnings == null) dart.nullFailed(I[5], 26, 34, "showWarnings"); if (dart.test(showWarnings) && false) { dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); } dart._weakNullSafetyWarnings = showWarnings; }; dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { - if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (showErrors == null) dart.nullFailed(I[5], 43, 32, "showErrors"); if (dart.test(showErrors) && false) { dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); } @@ -5648,19 +5869,18 @@ define([], (function load__dart_sdk() { dart._weakNullSafetyErrors = showErrors; }; dart.nonNullAsserts = function nonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + if (enable == null) dart.nullFailed(I[5], 67, 26, "enable"); dart._nonNullAsserts = enable; }; dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + if (enable == null) dart.nullFailed(I[5], 79, 32, "enable"); dart._nativeNonNullAsserts = enable; }; dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === dart.jsobject; + return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; }; dart.assertInterop = function assertInterop(f) { - if (f == null) dart.nullFailed(I[5], 164, 39, "f"); - if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 179, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); return f; }; dart.isDartFunction = function isDartFunction(obj) { @@ -5695,22 +5915,12 @@ define([], (function load__dart_sdk() { dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); } }; - dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { - if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); - if (name == null) dart.nullFailed(I[5], 304, 49, "name"); - let ret = dart._lazyJSTypes.get(name); - if (ret == null) { - ret = new dart.LazyJSType.new(getJSTypeCallback, name); - dart._lazyJSTypes.set(name, ret); - } - return ret; - }; - dart.anonymousJSType = function anonymousJSType(name) { - if (name == null) dart.nullFailed(I[5], 313, 24, "name"); - let ret = dart._anonymousJSTypes.get(name); + dart.packageJSType = function packageJSType(name, staticInterop) { + let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; + let ret = map.get(name); if (ret == null) { - ret = new dart.AnonymousJSType.new(name); - dart._anonymousJSTypes.set(name, ret); + ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); + map.set(name, ret); } return ret; }; @@ -5757,13 +5967,18 @@ define([], (function load__dart_sdk() { return result; }; dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 507, 10, "!_jsInstanceOf(type, LegacyType)"); function normalizeHelper(a) { return dart.unwrapType(dart.wrapType(a)); } if (type instanceof dart.GenericFunctionTypeIdentifier) { return dart.wrapType(type, true); } + if (type instanceof dart.RecordType) { + let normTypes = dart.dsend(dart.dsend(dart.dload(type, 'types'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.recordType(dart.Shape.as(dart.dload(type, 'shape')), core.List.as(normTypes)); + return dart.wrapType(normType, true); + } if (type instanceof dart.FunctionType) { let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); @@ -5821,17 +6036,17 @@ define([], (function load__dart_sdk() { return dart.wrapType(normType, true); }; dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { - if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + if (transform == null) dart.nullFailed(I[5], 594, 56, "transform"); for (let key of dart.global.Object.keys(srcObject)) { dstObject[key] = dart.dcall(transform, [srcObject[key]]); } }; dart.unwrapType = function unwrapType(obj) { - if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + if (obj == null) dart.nullFailed(I[5], 605, 24, "obj"); return obj[_type$]; }; dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + if (count == null) dart.nullFailed(I[5], 650, 49, "count"); while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { dart._fillTypeVariable(); } @@ -5845,7 +6060,7 @@ define([], (function load__dart_sdk() { } }; dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + if (create == null) dart.nullFailed(I[5], 672, 32, "create"); return (() => { let len = arr.length; map = dart._lookupNonTerminal(map, len); @@ -5859,7 +6074,7 @@ define([], (function load__dart_sdk() { })(); }; dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + if (array == null) dart.nullFailed(I[5], 684, 30, "array"); return dart._memoizeArray(map, array, () => array); }; dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { @@ -5874,7 +6089,7 @@ define([], (function load__dart_sdk() { return dart._memoizeArray(map, key, () => named); }; dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + if (required == null) dart.nullFailed(I[5], 704, 44, "required"); return (() => { let count = required.length; let map = dart._fnTypeSmallMap[count]; @@ -5894,7 +6109,7 @@ define([], (function load__dart_sdk() { let end = str[$indexOf](hasParens ? ")" : "=>"); if (hasParens) { return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); return new dart.TypeVariable.new(n[$trim]()); })[$toList](); } else { @@ -5902,7 +6117,7 @@ define([], (function load__dart_sdk() { } }; dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); return dart.FunctionType.create(returnType, args, optional, requiredNamed); }; dart.gFnType = function gFnType(instantiateFn, typeBounds) { @@ -5927,44 +6142,78 @@ define([], (function load__dart_sdk() { let name = type.name; let args = dart.getGenericArgs(type); if (args == null) return name; - if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; - let result = name; - result += '<'; - for (let i = 0; i < args.length; ++i) { - if (i > 0) result += ', '; - result += dart.typeName(args[i]); - } - result += '>'; + if (dart.getGenericClass(type) == _interceptors.JSArray$) { + name = "List"; + } + let result = name + "<"; + for (let i = 0; i < args.length; i = i + 1) { + if (i > 0) result = result + ", "; + result = result + dart.typeName(args[i]); + } + result = result + ">"; return result; } - if (tag) return "Not a type: " + tag.name; + if (!!tag) { + return "Not a type: " + tag.name; + } return "JSObject<" + type.name + ">"; }; + dart._isRecordSubtype = function _isRecordSubtype(t1, t2, strictMode) { + if (!dart.equals(t1.shape, t2.shape)) { + return false; + } + let positionals = t1.shape.positionals; + let types1 = t1.types; + let types2 = t2.types; + for (let i = 0; i < dart.notNull(positionals); i = i + 1) { + let type1 = types1[i]; + let type2 = types2[i]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + let named = t1.shape.named; + if (named != null) { + for (let i = 0; i < dart.notNull(named[$length]); i = i + 1) { + let index = dart.notNull(positionals) + i; + let type1 = types1[index]; + let type2 = types2[index]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + } + return true; + }; dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { let ret1 = ft1.returnType; let ret2 = ft2.returnType; let args1 = ft1.args; + let args1Length = args1.length; let args2 = ft2.args; - if (args1.length > args2.length) { + let args2Length = args2.length; + if (args1Length > args2Length) { return false; } - for (let i = 0; i < args1.length; ++i) { + for (let i = 0; i < args1Length; i = i + 1) { if (!dart._isSubtype(args2[i], args1[i], strictMode)) { return false; } } let optionals1 = ft1.optionals; + let optionals1Length = optionals1.length; let optionals2 = ft2.optionals; - if (args1.length + optionals1.length < args2.length + optionals2.length) { + let optionals2Length = optionals2.length; + if (args1Length + optionals1Length < args2Length + optionals2Length) { return false; } let j = 0; - for (let i = args1.length; i < args2.length; ++i, ++j) { + for (let i = args1Length; i < args2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { return false; } } - for (let i = 0; i < optionals2.length; ++i, ++j) { + for (let i = 0; i < optionals2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { return false; } @@ -5980,7 +6229,8 @@ define([], (function load__dart_sdk() { requiredNamed2 = {}; } let names = dart.getOwnPropertyNames(requiredNamed1); - for (let i = 0; i < names.length; ++i) { + let namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n2 = requiredNamed2[name]; if (n2 === void 0) { @@ -5988,7 +6238,8 @@ define([], (function load__dart_sdk() { } } names = dart.getOwnPropertyNames(named2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name]; let n2 = named2[name]; @@ -6000,7 +6251,8 @@ define([], (function load__dart_sdk() { } } names = dart.getOwnPropertyNames(requiredNamed2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name] || requiredNamed1[name]; let n2 = requiredNamed2[name]; @@ -6017,8 +6269,10 @@ define([], (function load__dart_sdk() { let map = t1[dart._subtypeCache]; let result = map.get(t2); if (result !== void 0) return result; + dart._typeVariableCount = 0; let validSubtype = dart._isSubtype(t1, t2, true); - if (!validSubtype && !false) { + if (!validSubtype && true) { + dart._typeVariableCount = 0; validSubtype = dart._isSubtype(t1, t2, false); if (validSubtype) { dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); @@ -6036,7 +6290,7 @@ define([], (function load__dart_sdk() { }; dart._isFutureOr = function _isFutureOr(type) { let genericClass = dart.getGenericClass(type); - return genericClass && genericClass === async.FutureOr$; + return !!genericClass && genericClass === async.FutureOr$; }; dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (!strictMode) { @@ -6054,7 +6308,7 @@ define([], (function load__dart_sdk() { return true; } if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + return dart._isSubtype(T$.ObjectN(), t2, strictMode); } if (t2 === core.Object) { if (dart._isFutureOr(t1)) { @@ -6104,11 +6358,29 @@ define([], (function load__dart_sdk() { if (t2 instanceof dart.NullableType) { return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); } + if (t2 === core.Record) { + return t1 === core.Record || t1 instanceof dart.RecordType; + } + if (t2 instanceof dart.RecordType) { + if (t1 instanceof dart.RecordType) { + return dart._isRecordSubtype(dart.RecordType.as(t1), dart.RecordType.as(t2), strictMode); + } + return false; + } if (!(t2 instanceof dart.AbstractFunctionType)) { if (t1 instanceof dart.AbstractFunctionType) { return t2 === core.Function; } - if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + if (dart._isInterfaceSubtype(t1, _interceptors.LegacyJavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._nonStaticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._nonStaticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.LegacyJavaScriptObject, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, _interceptors.JavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._staticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._staticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.JavaScriptObject, t2, strictMode)) { return true; } return dart._isInterfaceSubtype(t1, t2, strictMode); @@ -6124,28 +6396,40 @@ define([], (function load__dart_sdk() { if (formalCount !== t2.formalCount) { return false; } - let fresh = t2.typeFormals; + let fresh1 = null; + let fresh2 = null; if (t1.hasTypeBounds || t2.hasTypeBounds) { - let t1Bounds = t1.instantiateTypeBounds(fresh); - let t2Bounds = t2.instantiateTypeBounds(fresh); - for (let i = 0; i < formalCount; i++) { - if (t1Bounds[i] != t2Bounds[i]) { - if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + fresh1 = new Array(formalCount); + fresh2 = new Array(formalCount); + for (let i = 0; i < formalCount; i = i + 1, dart._typeVariableCount = dart._typeVariableCount + 1) { + fresh1[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + fresh2[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + } + let t1Bounds = t1.instantiateTypeBounds(fresh1); + let t2Bounds = t2.instantiateTypeBounds(fresh2); + for (let i = 0; i < formalCount; i = i + 1) { + let t1Bound = t1Bounds[i]; + let t2Bound = t2Bounds[i]; + if (t1Bound != t2Bound) { + if (!(dart._isSubtype(t1Bound, t2Bound, strictMode) && dart._isSubtype(t2Bound, t1Bound, strictMode))) { return false; } } + fresh1[i].bound = t1Bound; + fresh2[i].bound = t2Bound; } + } else { + fresh1 = t1.typeFormals; + fresh2 = fresh1; } - t1 = t1.instantiate(fresh); - t2 = t2.instantiate(fresh); + t1 = t1.instantiate(fresh1); + t2 = t2.instantiate(fresh2); } else if (t2 instanceof dart.GenericFunctionType) { return false; } return dart._isFunctionSubtype(t1, t2, strictMode); }; dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { - if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); - if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); if (t1 === t2) { return true; } @@ -6158,26 +6442,41 @@ define([], (function load__dart_sdk() { if (t1 == null) { return t2 === core.Object || t2 === dart.dynamic; } + if (t1 instanceof dart.TypeVariableForSubtype) { + if (t2 instanceof dart.TypeVariableForSubtype) { + return t1.index == t2.index; + } + return dart._isSubtype(t1.bound, t2, strictMode); + } + if ((t1 instanceof dart.NonStaticInteropType || t1 instanceof dart.StaticInteropType) && t2 instanceof dart.StaticInteropType) { + return true; + } + if (t1 instanceof dart.NonStaticInteropType && t2 instanceof dart.NonStaticInteropType) { + return true; + } let raw1 = dart.getGenericClass(t1); let raw2 = dart.getGenericClass(t2); if (raw1 != null && raw1 == raw2) { let typeArguments1 = dart.getGenericArgs(t1); let typeArguments2 = dart.getGenericArgs(t2); if (typeArguments1.length != typeArguments2.length) { - dart.assertFailed(); + dart.assertFailed("Internal type check failure."); } let variances = dart.getGenericArgVariances(t1); - for (let i = 0; i < typeArguments1.length; ++i) { - if (variances === void 0 || variances[i] == 1) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + for (let i = 0; i < typeArguments1.length; i = i + 1) { + let varianceType = variances && variances[i]; + let typeArg1 = typeArguments1[i]; + let typeArg2 = typeArguments2[i]; + if (varianceType === void 0 || varianceType == 1) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode)) { return false; } - } else if (variances[i] == 2) { - if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 2) { + if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } - } else if (variances[i] == 3) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 3) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } } @@ -6192,7 +6491,7 @@ define([], (function load__dart_sdk() { return true; } let getInterfaces = dart.getImplements(t1); - if (getInterfaces) { + if (getInterfaces != null) { for (let i1 of getInterfaces()) { if (dart._isInterfaceSubtype(i1, t2, strictMode)) { return true; @@ -6202,7 +6501,7 @@ define([], (function load__dart_sdk() { return false; }; dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { - if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (f == null) dart.nullFailed(I[5], 1842, 54, "f"); if (instance == null) { dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); } @@ -6216,13 +6515,13 @@ define([], (function load__dart_sdk() { dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); } let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); - if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1860, 10, "supertype != null"); let typeArgs = dart.getGenericArgs(supertype); - if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1862, 10, "typeArgs != null && typeArgs.isNotEmpty"); return dart.dgcall(f, typeArgs, []); }; dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { - if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (supertype == null) dart.nullFailed(I[5], 2223, 55, "supertype"); if (core.identical(subtype, supertype)) return supertype; if (subtype == null || subtype === core.Object) return null; let subclass = dart.getGenericClass(subtype); @@ -6246,16 +6545,68 @@ define([], (function load__dart_sdk() { } return null; }; + dart.registerShape = function registerShape(shapeRecipe, positionals, named) { + let cached = dart._shapes.get(shapeRecipe); + if (cached != null) { + return cached; + } + let shape = new dart.Shape.new(positionals, named); + dart._shapes.set(shapeRecipe, shape); + return shape; + }; + dart.registerRecord = function registerRecord(shapeRecipe, positionals, named) { + let cached = dart._records.get(shapeRecipe); + if (cached != null) { + return cached; + } + let recordClass = class _Record extends dart._RecordImpl {}; + let newRecord = recordClass.new = function(shape, values) { + recordClass.__proto__.new.call(this, shape, values); + }; + newRecord.prototype = recordClass.prototype; + let recordPrototype = recordClass.prototype; + const _recordGet = index => { + return function recordGet() { + return this.values[index]; + }; + }; + let count = 0; + while (count < positionals) { + let name = "$" + dart.str(count); + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + if (named != null) { + for (let name of named) { + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + } + dart._records.set(shapeRecipe, newRecord); + return newRecord; + }; + dart.recordType = function recordType(shape, types) { + return dart.RecordType.create(shape, types); + }; + dart.recordLiteral = function recordLiteral(shapeRecipe, positionals, named, values) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + let record = dart.registerRecord(shapeRecipe, positionals, named); + return new record(shape, values); + }; + dart.recordTypeLiteral = function recordTypeLiteral(shapeRecipe, positionals, named, types) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + return dart.recordType(shape, types); + }; dart.defineValue = function defineValue(obj, name, value) { dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); return value; }; dart.throwTypeError = function throwTypeError(message) { - if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + if (message == null) dart.nullFailed(I[6], 40, 28, "message"); dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + if (message == null) dart.nullFailed(I[6], 45, 32, "message"); throw Error(message); }; dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { @@ -6311,7 +6662,7 @@ define([], (function load__dart_sdk() { dart.libraryPrototype = dart.library; dart.startAsyncSynchronously = true; dart._cacheMaps = []; - dart._resetFields = []; + dart.resetFields = []; dart.hotRestartIteration = 0; dart.addAsyncCallback = function() { }; @@ -6344,6 +6695,7 @@ define([], (function load__dart_sdk() { dart._extensionType = Symbol("extensionType"); dart.dartx = dartx; dart._extensionMap = new Map(); + dart._typeTagSymbols = new Map(); dart.isFuture = Symbol("_is_Future"); dart.isIterable = Symbol("_is_Iterable"); dart.isList = Symbol("_is_List"); @@ -6364,12 +6716,14 @@ define([], (function load__dart_sdk() { dart._nonNullAsserts = false; dart._nativeNonNullAsserts = false; dart.metadata = Symbol("metadata"); - dart._nullComparisonSet = new Set(); - dart._lazyJSTypes = new Map(); - dart._anonymousJSTypes = new Map(); dart._cachedNullable = Symbol("cachedNullable"); dart._cachedLegacy = Symbol("cachedLegacy"); dart._subtypeCache = Symbol("_subtypeCache"); + dart._nullComparisonSet = new Set(); + dart._nonStaticInteropTypes = new Map(); + dart._staticInteropTypes = new Map(); + var _dartName$ = dart.privateName(dart, "_dartName"); + var SentinelValue_id = dart.privateName(_internal, "SentinelValue.id"); core.Object = class Object { constructor() { throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); @@ -6380,6 +6734,9 @@ define([], (function load__dart_sdk() { static as(o) { return o == null ? dart.as(o, core.Object) : o; } + static ['_#new#tearOff']() { + return new core.Object.new(); + } _equals(other) { if (other == null) return false; return this === other; @@ -6397,6 +6754,82 @@ define([], (function load__dart_sdk() { get runtimeType() { return dart.wrapType(dart.getReifiedType(this)); } + static hash(object1, object2, object3 = C[0] || CT.C0, object4 = C[0] || CT.C0, object5 = C[0] || CT.C0, object6 = C[0] || CT.C0, object7 = C[0] || CT.C0, object8 = C[0] || CT.C0, object9 = C[0] || CT.C0, object10 = C[0] || CT.C0, object11 = C[0] || CT.C0, object12 = C[0] || CT.C0, object13 = C[0] || CT.C0, object14 = C[0] || CT.C0, object15 = C[0] || CT.C0, object16 = C[0] || CT.C0, object17 = C[0] || CT.C0, object18 = C[0] || CT.C0, object19 = C[0] || CT.C0, object20 = C[0] || CT.C0) { + if (dart.equals(_internal.sentinelValue, object3)) { + return _internal.SystemHash.hash2(dart.hashCode(object1), dart.hashCode(object2), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object4)) { + return _internal.SystemHash.hash3(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object5)) { + return _internal.SystemHash.hash4(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object6)) { + return _internal.SystemHash.hash5(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object7)) { + return _internal.SystemHash.hash6(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object8)) { + return _internal.SystemHash.hash7(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object9)) { + return _internal.SystemHash.hash8(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object10)) { + return _internal.SystemHash.hash9(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object11)) { + return _internal.SystemHash.hash10(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object12)) { + return _internal.SystemHash.hash11(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object13)) { + return _internal.SystemHash.hash12(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object14)) { + return _internal.SystemHash.hash13(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object15)) { + return _internal.SystemHash.hash14(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object16)) { + return _internal.SystemHash.hash15(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object17)) { + return _internal.SystemHash.hash16(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object18)) { + return _internal.SystemHash.hash17(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object19)) { + return _internal.SystemHash.hash18(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object20)) { + return _internal.SystemHash.hash19(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), core._hashSeed); + } + return _internal.SystemHash.hash20(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), dart.hashCode(object20), core._hashSeed); + } + static hashAll(objects) { + if (objects == null) dart.nullFailed(I[8], 512, 40, "objects"); + let hash = core._hashSeed; + for (let object of objects) { + hash = _internal.SystemHash.combine(hash, dart.hashCode(object)); + } + return _internal.SystemHash.finish(hash); + } + static hashAllUnordered(objects) { + if (objects == null) dart.nullFailed(I[8], 550, 49, "objects"); + let sum = 0; + let count = 0; + for (let object of objects) { + let objectHash = _internal.SystemHash.smear(dart.hashCode(object)); + sum = (sum + dart.notNull(objectHash) & 1073741823) >>> 0; + count = count + 1; + } + return _internal.SystemHash.hash2(sum, count); + } }; (core.Object.new = function() { ; @@ -6411,6 +6844,7 @@ define([], (function load__dart_sdk() { noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) })); + dart.setStaticMethodSignature(core.Object, () => ['is', 'as', 'hash', 'hashAll', 'hashAllUnordered']); dart.setGetterSignature(core.Object, () => ({ __proto__: Object.create(null), hashCode: core.int, @@ -6418,7 +6852,7 @@ define([], (function load__dart_sdk() { runtimeType: core.Type, [$runtimeType]: core.Type })); - dart.setLibraryUri(core.Object, I[8]); + dart.setLibraryUri(core.Object, I[9]); dart.lazyFn(core.Object, () => core.Type); dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); @@ -6433,9 +6867,14 @@ define([], (function load__dart_sdk() { as(object) { return dart.as(object, this); } + static ['_#new#tearOff']() { + return new dart.DartType.new(); + } }; (dart.DartType.new = function() { - dart.addTypeCaches(this); + { + dart.addTypeCaches(this); + } }).prototype = dart.DartType.prototype; dart.addTypeTests(dart.DartType); dart.addTypeCaches(dart.DartType); @@ -6449,11 +6888,69 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(dart.DartType.__proto__), name: core.String })); - dart.setLibraryUri(dart.DartType, I[9]); + dart.setLibraryUri(dart.DartType, I[10]); + dart.PackageJSType = class PackageJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } + }; + (dart.PackageJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 215, 22, "_dartName"); + this[_dartName$] = _dartName; + dart.PackageJSType.__proto__.new.call(this); + ; + }).prototype = dart.PackageJSType.prototype; + dart.addTypeTests(dart.PackageJSType); + dart.addTypeCaches(dart.PackageJSType); + dart.setLibraryUri(dart.PackageJSType, I[10]); + dart.setFieldSignature(dart.PackageJSType, () => ({ + __proto__: dart.getFields(dart.PackageJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(dart.PackageJSType, ['toString']); + dart.NonStaticInteropType = class NonStaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + return new dart.NonStaticInteropType.new(_dartName); + } + }; + (dart.NonStaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + dart.NonStaticInteropType.__proto__.new.call(this, _dartName); + ; + }).prototype = dart.NonStaticInteropType.prototype; + dart.addTypeTests(dart.NonStaticInteropType); + dart.addTypeCaches(dart.NonStaticInteropType); + dart.setLibraryUri(dart.NonStaticInteropType, I[10]); + dart._nonStaticInteropTypeForSubtyping = new dart.NonStaticInteropType.new(""); + dart.StaticInteropType = class StaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + return new dart.StaticInteropType.new(_dartName); + } + }; + (dart.StaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + dart.StaticInteropType.__proto__.new.call(this, _dartName); + ; + }).prototype = dart.StaticInteropType.prototype; + dart.addTypeTests(dart.StaticInteropType); + dart.addTypeCaches(dart.StaticInteropType); + dart.setLibraryUri(dart.StaticInteropType, I[10]); + dart._staticInteropTypeForSubtyping = new dart.StaticInteropType.new(""); dart.NeverType = class NeverType extends dart.DartType { toString() { return "Never"; } + static ['_#new#tearOff']() { + return new dart.NeverType.new(); + } }; (dart.NeverType.new = function() { dart.NeverType.__proto__.new.call(this); @@ -6461,7 +6958,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.NeverType.prototype; dart.addTypeTests(dart.NeverType); dart.addTypeCaches(dart.NeverType); - dart.setLibraryUri(dart.NeverType, I[9]); + dart.setLibraryUri(dart.NeverType, I[10]); dart.defineExtensionMethods(dart.NeverType, ['toString']); dart.Never = new dart.NeverType.new(); dart.DynamicType = class DynamicType extends dart.DartType { @@ -6474,6 +6971,9 @@ define([], (function load__dart_sdk() { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.DynamicType.new(); + } }; (dart.DynamicType.new = function() { dart.DynamicType.__proto__.new.call(this); @@ -6485,7 +6985,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(dart.DynamicType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(dart.DynamicType, I[9]); + dart.setLibraryUri(dart.DynamicType, I[10]); dart.defineExtensionMethods(dart.DynamicType, ['toString']); dart.dynamic = new dart.DynamicType.new(); dart.VoidType = class VoidType extends dart.DartType { @@ -6498,6 +6998,9 @@ define([], (function load__dart_sdk() { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.VoidType.new(); + } }; (dart.VoidType.new = function() { dart.VoidType.__proto__.new.call(this); @@ -6509,29 +7012,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(dart.VoidType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(dart.VoidType, I[9]); + dart.setLibraryUri(dart.VoidType, I[10]); dart.defineExtensionMethods(dart.VoidType, ['toString']); dart.void = new dart.VoidType.new(); - dart.JSObjectType = class JSObjectType extends dart.DartType { - toString() { - return "NativeJavaScriptObject"; - } - }; - (dart.JSObjectType.new = function() { - dart.JSObjectType.__proto__.new.call(this); - ; - }).prototype = dart.JSObjectType.prototype; - dart.addTypeTests(dart.JSObjectType); - dart.addTypeCaches(dart.JSObjectType); - dart.setLibraryUri(dart.JSObjectType, I[9]); - dart.defineExtensionMethods(dart.JSObjectType, ['toString']); - dart.jsobject = new dart.JSObjectType.new(); dart._typeObject = Symbol("typeObject"); dart._fnTypeNamedArgMap = new Map(); dart._fnTypeArrayArgMap = new Map(); dart._fnTypeTypeMap = new Map(); dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; dart._gFnTypeTypeMap = new Map(); + dart._typeVariableCount = 0; + dart._shapes = new Map(); + dart._records = new Map(); + dart._recordTypeArrayFieldMap = new Map(); + dart._recordTypeTypeMap = new Map(); dart._nullFailedSet = new Set(); dart._thrownValue = Symbol("_thrownValue"); dart._jsError = Symbol("_jsError"); @@ -6580,7 +7074,9 @@ define([], (function load__dart_sdk() { /*dart._assertInteropExpando*/get _assertInteropExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _assertInteropExpando(_) {}, + set _assertInteropExpando(value) { + if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); + }, /*dart.bottom*/get bottom() { return core.Null; }, @@ -6588,95 +7084,6 @@ define([], (function load__dart_sdk() { return T$.JSArrayOfTypeVariable().of([]); } }, false); - var _rawJSType = dart.privateName(dart, "_rawJSType"); - var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); - var _dartName$ = dart.privateName(dart, "_dartName"); - var _getRawJSType = dart.privateName(dart, "_getRawJSType"); - dart.LazyJSType = class LazyJSType extends dart.DartType { - toString() { - let raw = this[_getRawJSType](); - return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; - } - [_getRawJSType]() { - let raw = this[_rawJSType]; - if (raw != null) return raw; - try { - raw = this[_getRawJSTypeFn$](); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - if (raw == null) { - dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); - } else { - this[_rawJSType] = raw; - dart._resetFields.push(() => this[_rawJSType] = null); - } - return raw; - } - rawJSTypeForCheck() { - let t1; - t1 = this[_getRawJSType](); - return t1 == null ? dart.jsobject : t1; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return this.is(obj) ? obj : dart.castError(obj, this); - } - }; - (dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { - if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); - if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); - this[_rawJSType] = null; - this[_getRawJSTypeFn$] = _getRawJSTypeFn; - this[_dartName$] = _dartName; - dart.LazyJSType.__proto__.new.call(this); - ; - }).prototype = dart.LazyJSType.prototype; - dart.addTypeTests(dart.LazyJSType); - dart.addTypeCaches(dart.LazyJSType); - dart.setMethodSignature(dart.LazyJSType, () => ({ - __proto__: dart.getMethods(dart.LazyJSType.__proto__), - [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), - rawJSTypeForCheck: dart.fnType(core.Object, []) - })); - dart.setLibraryUri(dart.LazyJSType, I[9]); - dart.setFieldSignature(dart.LazyJSType, () => ({ - __proto__: dart.getFields(dart.LazyJSType.__proto__), - [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), - [_dartName$]: dart.finalFieldType(core.String), - [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) - })); - dart.defineExtensionMethods(dart.LazyJSType, ['toString']); - dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { - toString() { - return this[_dartName$]; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); - } - }; - (dart.AnonymousJSType.new = function(_dartName) { - if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); - this[_dartName$] = _dartName; - dart.AnonymousJSType.__proto__.new.call(this); - ; - }).prototype = dart.AnonymousJSType.prototype; - dart.addTypeTests(dart.AnonymousJSType); - dart.addTypeCaches(dart.AnonymousJSType); - dart.setLibraryUri(dart.AnonymousJSType, I[9]); - dart.setFieldSignature(dart.AnonymousJSType, () => ({ - __proto__: dart.getFields(dart.AnonymousJSType.__proto__), - [_dartName$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); var type$ = dart.privateName(dart, "NullableType.type"); dart.NullableType = class NullableType extends dart.DartType { get type() { @@ -6685,6 +7092,10 @@ define([], (function load__dart_sdk() { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 385, 30, "type"); + return new dart.NullableType.new(type); + } get name() { return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; } @@ -6705,7 +7116,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.NullableType.prototype; dart.addTypeTests(dart.NullableType); dart.addTypeCaches(dart.NullableType); - dart.setLibraryUri(dart.NullableType, I[9]); + dart.setLibraryUri(dart.NullableType, I[10]); dart.setFieldSignature(dart.NullableType, () => ({ __proto__: dart.getFields(dart.NullableType.__proto__), type: dart.finalFieldType(core.Type) @@ -6719,6 +7130,10 @@ define([], (function load__dart_sdk() { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 406, 28, "type"); + return new dart.LegacyType.new(type); + } get name() { return dart.str(this.type); } @@ -6727,7 +7142,8 @@ define([], (function load__dart_sdk() { } is(obj) { if (obj == null) { - return this.type === core.Object || this.type === dart.Never; + if (this.type === core.Object || this.type === dart.Never) return true; + return dart._isFutureOr(this.type) && dart.getGenericArgs(this.type)[0].is(obj); } return this.type.is(obj); } @@ -6742,7 +7158,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.LegacyType.prototype; dart.addTypeTests(dart.LegacyType); dart.addTypeCaches(dart.LegacyType); - dart.setLibraryUri(dart.LegacyType, I[9]); + dart.setLibraryUri(dart.LegacyType, I[10]); dart.setFieldSignature(dart.LegacyType, () => ({ __proto__: dart.getFields(dart.LegacyType.__proto__), type: dart.finalFieldType(core.Type) @@ -6752,6 +7168,9 @@ define([], (function load__dart_sdk() { toString() { return "bottom"; } + static ['_#new#tearOff']() { + return new dart.BottomType.new(); + } }; (dart.BottomType.new = function() { dart.BottomType.__proto__.new.call(this); @@ -6759,7 +7178,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.BottomType.prototype; dart.addTypeTests(dart.BottomType); dart.addTypeCaches(dart.BottomType); - dart.setLibraryUri(dart.BottomType, I[9]); + dart.setLibraryUri(dart.BottomType, I[10]); dart.defineExtensionMethods(dart.BottomType, ['toString']); core.Type = class Type extends core.Object {}; (core.Type.new = function() { @@ -6767,8 +7186,12 @@ define([], (function load__dart_sdk() { }).prototype = core.Type.prototype; dart.addTypeTests(core.Type); dart.addTypeCaches(core.Type); - dart.setLibraryUri(core.Type, I[8]); + dart.setLibraryUri(core.Type, I[9]); dart._Type = class _Type extends core.Type { + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); + return new dart._Type.new(_type); + } toString() { return dart.typeName(this[_type$]); } @@ -6777,13 +7200,13 @@ define([], (function load__dart_sdk() { } }; (dart._Type.new = function(_type) { - if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); this[_type$] = _type; ; }).prototype = dart._Type.prototype; dart.addTypeTests(dart._Type); dart.addTypeCaches(dart._Type); - dart.setLibraryUri(dart._Type, I[9]); + dart.setLibraryUri(dart._Type, I[10]); dart.setFieldSignature(dart._Type, () => ({ __proto__: dart.getFields(dart._Type.__proto__), [_type$]: dart.finalFieldType(core.Object) @@ -6797,7 +7220,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.AbstractFunctionType.prototype; dart.addTypeTests(dart.AbstractFunctionType); dart.addTypeCaches(dart.AbstractFunctionType); - dart.setLibraryUri(dart.AbstractFunctionType, I[9]); + dart.setLibraryUri(dart.AbstractFunctionType, I[10]); var returnType$ = dart.privateName(dart, "FunctionType.returnType"); var args$ = dart.privateName(dart, "FunctionType.args"); var optionals$ = dart.privateName(dart, "FunctionType.optionals"); @@ -6837,7 +7260,7 @@ define([], (function load__dart_sdk() { super.requiredNamed = value; } static create(returnType, args, optionalArgs, requiredNamedArgs) { - if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + if (args == null) dart.nullFailed(I[5], 737, 24, "args"); let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; if (noOptionalArgs && args.length < 3) { return dart._createSmall(returnType, args); @@ -6860,6 +7283,12 @@ define([], (function load__dart_sdk() { } return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); } + static ['_#new#tearOff'](returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); + return new dart.FunctionType.new(returnType, args, optionals, named, requiredNamed); + } toString() { return this.name; } @@ -6870,12 +7299,12 @@ define([], (function load__dart_sdk() { return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); } getPositionalParameter(i) { - if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + if (i == null) dart.nullFailed(I[5], 776, 30, "i"); let n = this.args[$length]; return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); } [_createNameMap](names) { - if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + if (names == null) dart.nullFailed(I[5], 782, 52, "names"); let result = new (T$.IdentityMapOfString$Object()).new(); names.sort(); for (let i = 0; i < names.length; i = i + 1) { @@ -6951,9 +7380,9 @@ define([], (function load__dart_sdk() { } }; (dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { - if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); - if (args == null) dart.nullFailed(I[5], 784, 38, "args"); - if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); this[_stringValue] = null; this[returnType$] = returnType; this[args$] = args; @@ -6972,12 +7401,13 @@ define([], (function load__dart_sdk() { getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) })); + dart.setStaticMethodSignature(dart.FunctionType, () => ['create']); dart.setGetterSignature(dart.FunctionType, () => ({ __proto__: dart.getGetters(dart.FunctionType.__proto__), requiredParameterCount: core.int, positionalParameterCount: core.int })); - dart.setLibraryUri(dart.FunctionType, I[9]); + dart.setLibraryUri(dart.FunctionType, I[10]); dart.setFieldSignature(dart.FunctionType, () => ({ __proto__: dart.getFields(dart.FunctionType.__proto__), returnType: dart.finalFieldType(core.Type), @@ -6996,31 +7426,75 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); + return new dart.TypeVariable.new(name); + } toString() { return this.name; } }; (dart.TypeVariable.new = function(name) { - if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); this[name$] = name; dart.TypeVariable.__proto__.new.call(this); ; }).prototype = dart.TypeVariable.prototype; dart.addTypeTests(dart.TypeVariable); dart.addTypeCaches(dart.TypeVariable); - dart.setLibraryUri(dart.TypeVariable, I[9]); + dart.setLibraryUri(dart.TypeVariable, I[10]); dart.setFieldSignature(dart.TypeVariable, () => ({ __proto__: dart.getFields(dart.TypeVariable.__proto__), name: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(dart.TypeVariable, ['toString']); - dart.Variance = class Variance extends core.Object {}; + var index$ = dart.privateName(dart, "TypeVariableForSubtype.index"); + var bound = dart.privateName(dart, "TypeVariableForSubtype.bound"); + dart.TypeVariableForSubtype = class TypeVariableForSubtype extends dart.DartType { + get index() { + return this[index$]; + } + set index(value) { + super.index = value; + } + get bound() { + return this[bound]; + } + set bound(value) { + this[bound] = value; + } + static ['_#new#tearOff'](index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + return new dart.TypeVariableForSubtype.new(index); + } + }; + (dart.TypeVariableForSubtype.new = function(index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + this[bound] = null; + this[index$] = index; + dart.TypeVariableForSubtype.__proto__.new.call(this); + ; + }).prototype = dart.TypeVariableForSubtype.prototype; + dart.addTypeTests(dart.TypeVariableForSubtype); + dart.addTypeCaches(dart.TypeVariableForSubtype); + dart.setLibraryUri(dart.TypeVariableForSubtype, I[10]); + dart.setFieldSignature(dart.TypeVariableForSubtype, () => ({ + __proto__: dart.getFields(dart.TypeVariableForSubtype.__proto__), + index: dart.finalFieldType(core.int), + bound: dart.fieldType(dart.nullable(dart.DartType)) + })); + dart.Variance = class Variance extends core.Object { + static ['_#new#tearOff']() { + return new dart.Variance.new(); + } + }; (dart.Variance.new = function() { ; }).prototype = dart.Variance.prototype; dart.addTypeTests(dart.Variance); dart.addTypeCaches(dart.Variance); - dart.setLibraryUri(dart.Variance, I[9]); + dart.setLibraryUri(dart.Variance, I[10]); + dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); dart.defineLazy(dart.Variance, { /*dart.Variance.unrelated*/get unrelated() { return 0; @@ -7057,6 +7531,10 @@ define([], (function load__dart_sdk() { set function(value) { super.function = value; } + static ['_#new#tearOff'](typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); + return new dart.GenericFunctionTypeIdentifier.new(typeFormals, typeBounds, $function); + } toString() { if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); let s = "<"; @@ -7066,7 +7544,7 @@ define([], (function load__dart_sdk() { if (i !== 0) s = s + ", "; s = s + typeFormals[i].name; let bound = dart.dsend(typeBounds, '_get', [i]); - if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || true && bound === core.Object) { continue; } s = s + (" extends " + dart.str(bound)); @@ -7076,7 +7554,7 @@ define([], (function load__dart_sdk() { } }; (dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); this[_stringValue] = null; this[typeFormals$] = typeFormals; this[typeBounds$] = typeBounds; @@ -7086,7 +7564,7 @@ define([], (function load__dart_sdk() { }).prototype = dart.GenericFunctionTypeIdentifier.prototype; dart.addTypeTests(dart.GenericFunctionTypeIdentifier); dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); - dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); + dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), typeFormals: dart.finalFieldType(dart.dynamic), @@ -7106,6 +7584,9 @@ define([], (function load__dart_sdk() { set formalCount(value) { super.formalCount = value; } + static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { + return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); + } get typeFormals() { return this[_typeFormals]; } @@ -7113,7 +7594,7 @@ define([], (function load__dart_sdk() { return this[_instantiateTypeBounds$] != null; } checkBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 969, 33, "typeArgs"); if (!dart.test(this.hasTypeBounds)) return; let bounds = this.instantiateTypeBounds(typeArgs); let typeFormals = this.typeFormals; @@ -7126,7 +7607,7 @@ define([], (function load__dart_sdk() { return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); } instantiateTypeBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 987, 43, "typeArgs"); if (!dart.test(this.hasTypeBounds)) { return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); } @@ -7150,7 +7631,7 @@ define([], (function load__dart_sdk() { instantiateDefaultBounds() { function defaultsToDynamic(type) { if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { return type.type === core.Object; } return false; @@ -7239,7 +7720,7 @@ define([], (function load__dart_sdk() { typeFormals: core.List$(dart.TypeVariable), hasTypeBounds: core.bool })); - dart.setLibraryUri(dart.GenericFunctionType, I[9]); + dart.setLibraryUri(dart.GenericFunctionType, I[10]); dart.setFieldSignature(dart.GenericFunctionType, () => ({ __proto__: dart.getFields(dart.GenericFunctionType.__proto__), [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), @@ -7256,6 +7737,10 @@ define([], (function load__dart_sdk() { var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); var _isTop$ = dart.privateName(dart, "_isTop"); dart._TypeInferrer = class _TypeInferrer extends core.Object { + static ['_#new#tearOff'](typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); + return new dart._TypeInferrer.new(typeVariables); + } getInferredTypes() { let result = T$.JSArrayOfObject().of([]); for (let constraint of this[_typeVariables][$values]) { @@ -7270,24 +7755,24 @@ define([], (function load__dart_sdk() { return result; } trySubtypeMatch(subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1898, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1898, 47, "supertype"); return this[_isSubtypeMatch](subtype, supertype); } [_constrainLower](parameter, lower) { - if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); - if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + if (parameter == null) dart.nullFailed(I[5], 1901, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1901, 55, "lower"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); } [_constrainUpper](parameter, upper) { - if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); - if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + if (parameter == null) dart.nullFailed(I[5], 1905, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1905, 55, "upper"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); } [_isFunctionSubtypeMatch](subtype, supertype) { - let t7; - if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + let t2; + if (subtype == null) dart.nullFailed(I[5], 1909, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1909, 67, "supertype"); if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { return false; } @@ -7306,22 +7791,16 @@ define([], (function load__dart_sdk() { let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); let subtypeNamed = supertype.getNamedParameters(); let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - if (!false) { + { supertypeNamed = (() => { - let t1 = new (T$.IdentityMapOfString$Object()).new(); - for (let t2 of supertypeNamed[$entries]) - t1[$_set](t2.key, t2.value); - for (let t3 of supertypeRequiredNamed[$entries]) - t1[$_set](t3.key, t3.value); - return t1; + let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); + t0[$addAll](supertypeRequiredNamed); + return t0; })(); subtypeNamed = (() => { - let t4 = new (T$.IdentityMapOfString$Object()).new(); - for (let t5 of subtypeNamed[$entries]) - t4[$_set](t5.key, t5.value); - for (let t6 of subtypeRequiredNamed[$entries]) - t4[$_set](t6.key, t6.value); - return t4; + let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); + t1[$addAll](subtypeRequiredNamed); + return t1; })(); supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); @@ -7338,7 +7817,7 @@ define([], (function load__dart_sdk() { } } for (let name of supertypeRequiredNamed[$keys]) { - let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + let subtypeParamType = (t2 = subtypeRequiredNamed[$_get](name), t2 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t2); if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { return false; } @@ -7346,8 +7825,8 @@ define([], (function load__dart_sdk() { return true; } [_isInterfaceSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1985, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1985, 56, "supertype"); let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); if (matchingSupertype == null) return false; let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); @@ -7360,8 +7839,8 @@ define([], (function load__dart_sdk() { return true; } [_isSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 2029, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 2029, 47, "supertype"); if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { this[_constrainUpper](subtype, supertype); return true; @@ -7393,11 +7872,11 @@ define([], (function load__dart_sdk() { if (dart.GenericFunctionType.is(subtype)) { if (dart.GenericFunctionType.is(supertype)) { let formalCount = subtype.formalCount; - if (formalCount != supertype.formalCount) return false; + if (formalCount !== supertype.formalCount) return false; let fresh = supertype.typeFormals; let t1Bounds = subtype.instantiateTypeBounds(fresh); let t2Bounds = supertype.instantiateTypeBounds(fresh); - for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + for (let i = 0; i < formalCount; i = i + 1) { if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { return false; } @@ -7424,14 +7903,14 @@ define([], (function load__dart_sdk() { return this[_isInterfaceSubtypeMatch](subtype, supertype); } [_isTop$](type) { - if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + if (type == null) dart.nullFailed(I[5], 2172, 22, "type"); return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; } }; (dart._TypeInferrer.new = function(typeVariables) { - if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); return new dart.TypeConstraint.new(); })); ; @@ -7449,7 +7928,7 @@ define([], (function load__dart_sdk() { [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), [_isTop$]: dart.fnType(core.bool, [core.Object]) })); - dart.setLibraryUri(dart._TypeInferrer, I[9]); + dart.setLibraryUri(dart._TypeInferrer, I[10]); dart.setFieldSignature(dart._TypeInferrer, () => ({ __proto__: dart.getFields(dart._TypeInferrer.__proto__), [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) @@ -7470,7 +7949,7 @@ define([], (function load__dart_sdk() { this[upper] = value; } [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); let _lower = this.lower; if (_lower != null) { if (dart.isSubtypeOf(_lower, type)) { @@ -7483,7 +7962,7 @@ define([], (function load__dart_sdk() { this.lower = type; } [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); let _upper = this.upper; if (_upper != null) { if (dart.isSubtypeOf(type, _upper)) { @@ -7498,6 +7977,9 @@ define([], (function load__dart_sdk() { toString() { return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); } + static ['_#new#tearOff']() { + return new dart.TypeConstraint.new(); + } }; (dart.TypeConstraint.new = function() { this[lower] = null; @@ -7511,16 +7993,226 @@ define([], (function load__dart_sdk() { [_constrainLower]: dart.fnType(dart.void, [core.Object]), [_constrainUpper]: dart.fnType(dart.void, [core.Object]) })); - dart.setLibraryUri(dart.TypeConstraint, I[9]); + dart.setLibraryUri(dart.TypeConstraint, I[10]); dart.setFieldSignature(dart.TypeConstraint, () => ({ __proto__: dart.getFields(dart.TypeConstraint.__proto__), lower: dart.fieldType(dart.nullable(core.Object)), upper: dart.fieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); + var positionals$ = dart.privateName(dart, "Shape.positionals"); + var named$0 = dart.privateName(dart, "Shape.named"); + dart.Shape = class Shape extends core.Object { + get positionals() { + return this[positionals$]; + } + set positionals(value) { + if (value == null) dart.nullFailed(I[5], 2258, 7, "positionals"); + this[positionals$] = value; + } + get named() { + return this[named$0]; + } + set named(value) { + this[named$0] = value; + } + static ['_#new#tearOff'](positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + return new dart.Shape.new(positionals, named); + } + toString() { + let t2; + return "Shape(" + dart.str(this.positionals) + ", [" + dart.str((t2 = this.named, t2 == null ? null : t2[$join](", "))) + "])"; + } + }; + (dart.Shape.new = function(positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + this[positionals$] = positionals; + this[named$0] = named; + ; + }).prototype = dart.Shape.prototype; + dart.addTypeTests(dart.Shape); + dart.addTypeCaches(dart.Shape); + dart.setLibraryUri(dart.Shape, I[10]); + dart.setFieldSignature(dart.Shape, () => ({ + __proto__: dart.getFields(dart.Shape.__proto__), + positionals: dart.fieldType(core.int), + named: dart.fieldType(dart.nullable(core.List$(core.String))) + })); + dart.defineExtensionMethods(dart.Shape, ['toString']); + var _hashCode = dart.privateName(dart, "_hashCode"); + var _printed = dart.privateName(dart, "_printed"); + dart._RecordImpl = class _RecordImpl extends core.Object { + static ['_#new#tearOff'](shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + return new dart._RecordImpl.new(shape, values); + } + _equals(other) { + if (other == null) return false; + if (!dart._RecordImpl.is(other)) return false; + if (!dart.equals(this.shape, other.shape)) return false; + if (this.values[$length] != other.values[$length]) { + return false; + } + for (let i = 0; i < dart.notNull(this.values[$length]); i = i + 1) { + if (!dart.equals(this.values[$_get](i), other.values[$_get](i))) { + return false; + } + } + return true; + } + get hashCode() { + if (this[_hashCode] == null) { + this[_hashCode] = core.Object.hashAll((() => { + let t2 = T$.JSArrayOfObjectN().of([this.shape]); + t2[$addAll](this.values); + return t2; + })()); + } + return dart.nullCheck(this[_hashCode]); + } + toString() { + if (this[_printed] == null) { + let buffer = new core.StringBuffer.new(); + let posCount = this.shape.positionals; + let count = this.values[$length]; + buffer.write("("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i >= dart.notNull(posCount)) { + buffer.write(dart.str(dart.nullCheck(this.shape.named)[$_get](i - dart.notNull(posCount)))); + buffer.write(": "); + } + buffer.write(dart.str(this.values[$_get](i))); + if (i < dart.notNull(count) - 1) buffer.write(", "); + } + buffer.write(")"); + this[_printed] = buffer.toString(); + } + return dart.nullCheck(this[_printed]); + } + }; + (dart._RecordImpl.new = function(shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + this[_hashCode] = null; + this[_printed] = null; + this.shape = shape; + this.values = values; + ; + }).prototype = dart._RecordImpl.prototype; + dart.addTypeTests(dart._RecordImpl); + dart.addTypeCaches(dart._RecordImpl); + dart._RecordImpl[dart.implements] = () => [core.Record]; + dart.setMethodSignature(dart._RecordImpl, () => ({ + __proto__: dart.getMethods(dart._RecordImpl.__proto__), + _equals: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$_equals]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(dart._RecordImpl, I[10]); + dart.setFieldSignature(dart._RecordImpl, () => ({ + __proto__: dart.getFields(dart._RecordImpl.__proto__), + shape: dart.fieldType(dart.Shape), + values: dart.fieldType(core.List), + [_hashCode]: dart.fieldType(dart.nullable(core.int)), + [_printed]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(dart._RecordImpl, ['_equals', 'toString']); + dart.defineExtensionAccessors(dart._RecordImpl, ['hashCode']); + var shape$ = dart.privateName(dart, "RecordType.shape"); + var types$ = dart.privateName(dart, "RecordType.types"); + dart.RecordType = class RecordType extends dart.DartType { + get shape() { + return this[shape$]; + } + set shape(value) { + super.shape = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } + static ['_#_#tearOff'](shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + return new dart.RecordType.__(shape, types); + } + static create(shape, types) { + let canonicalized = dart._canonicalizeArray(types, dart._recordTypeArrayFieldMap); + let keys = [shape, canonicalized]; + let createType = () => new dart.RecordType.__(shape, canonicalized); + return dart._memoizeArray(dart._recordTypeTypeMap, keys, createType); + } + toString() { + if (this[_printed] != null) return dart.nullCheck(this[_printed]); + let named = this.shape.named; + let posCount = this.shape.positionals; + let count = this.types[$length]; + let buffer = new core.StringBuffer.new(); + buffer.write("RecordType("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i < dart.notNull(posCount)) { + buffer.write(dart.str(this.types[$_get](i))); + } else { + if (i === posCount) { + buffer.write("{"); + } + buffer.write(dart.str(this.types[$_get](i)) + " " + dart.str(dart.nullCheck(named)[$_get](i - dart.notNull(posCount)))); + if (i === dart.notNull(count) - 1) { + buffer.write("}"); + } + } + if (i < dart.notNull(count) - 1) { + buffer.write(", "); + } + } + buffer.write(")"); + this[_printed] = buffer.toString(); + return dart.nullCheck(this[_printed]); + } + is(obj) { + if (obj instanceof dart._RecordImpl) { + let actual = dart.getReifiedType(obj); + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } + }; + (dart.RecordType.__ = function(shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + this[_printed] = null; + this[shape$] = shape; + this[types$] = types; + dart.RecordType.__proto__.new.call(this); + ; + }).prototype = dart.RecordType.prototype; + dart.addTypeTests(dart.RecordType); + dart.addTypeCaches(dart.RecordType); + dart.setStaticMethodSignature(dart.RecordType, () => ['create']); + dart.setLibraryUri(dart.RecordType, I[10]); + dart.setFieldSignature(dart.RecordType, () => ({ + __proto__: dart.getFields(dart.RecordType.__proto__), + shape: dart.finalFieldType(dart.Shape), + types: dart.finalFieldType(core.List), + [_printed]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(dart.RecordType, ['toString']); var _trace = dart.privateName(dart, "_trace"); var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); dart._StackTrace = class _StackTrace extends core.Object { + static ['_#new#tearOff'](_jsError) { + return new dart._StackTrace.new(_jsError); + } + static ['_#missing#tearOff'](caughtObj) { + return new dart._StackTrace.missing(caughtObj); + } toString() { if (this[_trace] != null) return dart.nullCheck(this[_trace]); let e = this[_jsError$]; @@ -7563,7 +8255,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(dart._StackTrace); dart.addTypeCaches(dart._StackTrace); dart._StackTrace[dart.implements] = () => [core.StackTrace]; - dart.setLibraryUri(dart._StackTrace, I[9]); + dart.setLibraryUri(dart._StackTrace, I[10]); dart.setFieldSignature(dart._StackTrace, () => ({ __proto__: dart.getFields(dart._StackTrace.__proto__), [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -7583,317 +8275,326 @@ define([], (function load__dart_sdk() { let const$0; dart.defineLazy(CT, { get C0() { - return C[0] = dart.constList([], T$.TypeL()); + return C[0] = dart.const({ + __proto__: _internal.SentinelValue.prototype, + [SentinelValue_id]: 0 + }); }, get C1() { - return C[1] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); + return C[1] = dart.constList([], T$.TypeL()); }, get C2() { return C[2] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" + [name$0]: "none" }); }, get C3() { return C[3] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" + [name$0]: "skipDart" }); }, get C4() { return C[4] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" + [name$0]: "keyToString" }); }, get C5() { return C[5] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" + [name$0]: "asClass" }); }, get C6() { return C[6] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" + [name$0]: "asObject" }); }, get C7() { - return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + return C[7] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); }, get C8() { - return C[8] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); + return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); }, get C9() { - return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + return C[9] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); }, get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); }, get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); }, get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); }, get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); }, get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); }, get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); }, get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); }, get C17() { - return C[17] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); + return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); }, get C18() { - return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + return C[18] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); }, get C19() { - return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); }, get C20() { - return C[20] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); + return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); }, get C21() { - return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + return C[21] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); }, get C22() { - return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + return C[22] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); }, get C23() { - return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + return C[23] = dart.const({ + __proto__: _internal._Patch.prototype + }); }, get C24() { - return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); }, get C25() { - return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); }, get C26() { - return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); }, get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); }, get C28() { - return C[28] = dart.applyExtensionForTesting; + return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); }, get C29() { - return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); }, get C30() { - return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + return C[30] = dart.applyExtensionForTesting; }, get C31() { - return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); }, get C32() { - return C[32] = dart.const({ - __proto__: _js_helper._Patch.prototype - }); + return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); }, get C33() { - return C[33] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); + return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); }, get C34() { return C[34] = dart.const({ - __proto__: _js_helper._Undefined.prototype + __proto__: _js_helper._NotNull.prototype }); }, get C35() { return C[35] = dart.const({ - __proto__: _js_helper._NullCheck.prototype + __proto__: _js_helper._Undefined.prototype }); }, get C36() { return C[36] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false + __proto__: _js_helper._NullCheck.prototype }); }, get C37() { - return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + return C[37] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); }, get C38() { - return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); }, get C39() { - return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); }, get C40() { - return C[40] = dart.const({ - __proto__: async._DelayedDone.prototype - }); + return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); }, get C41() { - return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + return C[41] = dart.const({ + __proto__: async._DelayedDone.prototype + }); }, get C42() { - return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); }, get C43() { - return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + return C[43] = async._AsyncRun._scheduleImmediateJSOverride; }, get C44() { - return C[44] = dart.const({ + return C[44] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C45() { + return C[45] = dart.const({ __proto__: async._RootZone.prototype }); }, - get C46() { - return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + get C47() { + return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RunNullaryZoneFunction.prototype, - [$function$1]: C[46] || CT.C46, - [zone$0]: C[44] || CT.C44 + get C46() { + return C[46] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, + [$function$0]: C[47] || CT.C47, + [zone$]: C[45] || CT.C45 }); }, - get C48() { - return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + get C49() { + return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); }, - get C47() { - return C[47] = dart.const({ - __proto__: async._RunUnaryZoneFunction.prototype, - [$function$2]: C[48] || CT.C48, - [zone$1]: C[44] || CT.C44 + get C48() { + return C[48] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1().prototype, + [$function$0]: C[49] || CT.C49, + [zone$]: C[45] || CT.C45 }); }, - get C50() { - return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + get C51() { + return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); }, - get C49() { - return C[49] = dart.const({ - __proto__: async._RunBinaryZoneFunction.prototype, - [$function$3]: C[50] || CT.C50, - [zone$2]: C[44] || CT.C44 + get C50() { + return C[50] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2().prototype, + [$function$0]: C[51] || CT.C51, + [zone$]: C[45] || CT.C45 }); }, - get C52() { - return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + get C53() { + return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); }, - get C51() { - return C[51] = dart.const({ - __proto__: async._RegisterNullaryZoneFunction.prototype, - [$function$4]: C[52] || CT.C52, - [zone$3]: C[44] || CT.C44 + get C52() { + return C[52] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, + [$function$0]: C[53] || CT.C53, + [zone$]: C[45] || CT.C45 }); }, - get C54() { - return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + get C55() { + return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); }, - get C53() { - return C[53] = dart.const({ - __proto__: async._RegisterUnaryZoneFunction.prototype, - [$function$5]: C[54] || CT.C54, - [zone$4]: C[44] || CT.C44 + get C54() { + return C[54] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1().prototype, + [$function$0]: C[55] || CT.C55, + [zone$]: C[45] || CT.C45 }); }, - get C56() { - return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + get C57() { + return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); }, - get C55() { - return C[55] = dart.const({ - __proto__: async._RegisterBinaryZoneFunction.prototype, - [$function$6]: C[56] || CT.C56, - [zone$5]: C[44] || CT.C44 + get C56() { + return C[56] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2().prototype, + [$function$0]: C[57] || CT.C57, + [zone$]: C[45] || CT.C45 }); }, - get C58() { - return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + get C59() { + return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); }, - get C57() { - return C[57] = dart.const({ + get C58() { + return C[58] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[58] || CT.C58, - [zone$]: C[44] || CT.C44 + [$function$0]: C[59] || CT.C59, + [zone$]: C[45] || CT.C45 }); }, - get C60() { - return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + get C61() { + return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); }, - get C59() { - return C[59] = dart.const({ + get C60() { + return C[60] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[60] || CT.C60, - [zone$]: C[44] || CT.C44 + [$function$0]: C[61] || CT.C61, + [zone$]: C[45] || CT.C45 }); }, - get C62() { - return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + get C63() { + return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); }, - get C61() { - return C[61] = dart.const({ + get C62() { + return C[62] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[62] || CT.C62, - [zone$]: C[44] || CT.C44 + [$function$0]: C[63] || CT.C63, + [zone$]: C[45] || CT.C45 }); }, - get C64() { - return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + get C65() { + return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); }, - get C63() { - return C[63] = dart.const({ + get C64() { + return C[64] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[64] || CT.C64, - [zone$]: C[44] || CT.C44 + [$function$0]: C[65] || CT.C65, + [zone$]: C[45] || CT.C45 }); }, - get C66() { - return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + get C67() { + return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); }, - get C65() { - return C[65] = dart.const({ + get C66() { + return C[66] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[66] || CT.C66, - [zone$]: C[44] || CT.C44 + [$function$0]: C[67] || CT.C67, + [zone$]: C[45] || CT.C45 }); }, - get C68() { - return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + get C69() { + return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); }, - get C67() { - return C[67] = dart.const({ + get C68() { + return C[68] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[68] || CT.C68, - [zone$]: C[44] || CT.C44 + [$function$0]: C[69] || CT.C69, + [zone$]: C[45] || CT.C45 }); }, - get C70() { - return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + get C71() { + return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); }, - get C69() { - return C[69] = dart.const({ + get C70() { + return C[70] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[70] || CT.C70, - [zone$]: C[44] || CT.C44 + [$function$0]: C[71] || CT.C71, + [zone$]: C[45] || CT.C45 }); }, - get C71() { - return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); - }, get C72() { - return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); }, get C73() { - return C[73] = dart.const({ + return C[73] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C74() { + return C[74] = dart.fn(async._printToZone, T$0.StringTovoid()); + }, + get C75() { + return C[75] = dart.const({ __proto__: async._ZoneSpecification.prototype, [fork$]: null, [print$]: null, @@ -7910,69 +8611,84 @@ define([], (function load__dart_sdk() { [handleUncaughtError$]: null }); }, - get C74() { - return C[74] = dart.hashCode; - }, - get C75() { - return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); - }, get C76() { - return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + return C[76] = dart.hashCode; }, get C77() { - return C[77] = dart.equals; + return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); }, get C78() { - return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); }, get C79() { - return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + return C[79] = dart.equals; }, get C80() { - return C[80] = dart.const({ + return C[80] = dart.const(new _js_helper.PrivateSymbol.new('_link', _link$)); + }, + get C81() { + return C[81] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink', _nextLink$1)); + }, + get C82() { + return C[82] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink', _previousLink$1)); + }, + get C83() { + return C[83] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink=', _nextLink_)); + }, + get C84() { + return C[84] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink=', _previousLink_)); + }, + get C85() { + return C[85] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C86() { + return C[86] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C87() { + return C[87] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C81() { - return C[81] = dart.const({ + get C88() { + return C[88] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C82() { - return C[82] = dart.const({ + get C89() { + return C[89] = dart.const({ __proto__: convert.AsciiEncoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 127 }); }, - get C83() { - return C[83] = dart.constList([239, 191, 189], T$0.intL()); + get C90() { + return C[90] = dart.constList([239, 191, 189], T$0.intL()); }, - get C84() { - return C[84] = dart.const({ + get C91() { + return C[91] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: false }); }, - get C85() { - return C[85] = dart.const({ + get C92() { + return C[92] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: true }); }, - get C86() { - return C[86] = dart.const({ + get C93() { + return C[93] = dart.const({ __proto__: convert.Base64Decoder.prototype }); }, - get C87() { - return C[87] = dart.constList([], T$0.intL()); + get C94() { + return C[94] = dart.constList([], T$0.intL()); }, - get C88() { - return C[88] = dart.const({ + get C95() { + return C[95] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: true, [escapeApos$]: true, @@ -7981,8 +8697,8 @@ define([], (function load__dart_sdk() { [_name$2]: "unknown" }); }, - get C89() { - return C[89] = dart.const({ + get C96() { + return C[96] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -7991,8 +8707,8 @@ define([], (function load__dart_sdk() { [_name$2]: "attribute" }); }, - get C90() { - return C[90] = dart.const({ + get C97() { + return C[97] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: true, @@ -8001,8 +8717,8 @@ define([], (function load__dart_sdk() { [_name$2]: "attribute" }); }, - get C91() { - return C[91] = dart.const({ + get C98() { + return C[98] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -8011,689 +8727,701 @@ define([], (function load__dart_sdk() { [_name$2]: "element" }); }, - get C92() { - return C[92] = dart.const({ + get C99() { + return C[99] = dart.const({ __proto__: convert.JsonEncoder.prototype, [JsonEncoder__toEncodable]: null, [JsonEncoder_indent]: null }); }, - get C93() { - return C[93] = dart.const({ + get C100() { + return C[100] = dart.const({ __proto__: convert.JsonDecoder.prototype, [JsonDecoder__reviver]: null }); }, - get C94() { - return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + get C101() { + return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); }, - get C95() { - return C[95] = dart.const({ + get C102() { + return C[102] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C96() { - return C[96] = dart.const({ + get C103() { + return C[103] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C97() { - return C[97] = dart.const({ + get C104() { + return C[104] = dart.const({ __proto__: convert.Latin1Encoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 255 }); }, - get C98() { - return C[98] = dart.constList([65533], T$0.intL()); + get C105() { + return C[105] = dart.constList([65533], T$0.intL()); }, - get C99() { - return C[99] = dart.const({ + get C106() { + return C[106] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: true }); }, - get C100() { - return C[100] = dart.const({ + get C107() { + return C[107] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: false }); }, - get C101() { - return C[101] = dart.const({ + get C108() { + return C[108] = dart.const({ __proto__: convert.Utf8Encoder.prototype }); }, - get C102() { - return C[102] = dart.const({ + get C109() { + return C[109] = dart.const({ __proto__: convert.AsciiCodec.prototype, [_allowInvalid]: false }); }, - get C103() { - return C[103] = dart.const({ + get C110() { + return C[110] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[84] || CT.C84 + [_encoder]: C[91] || CT.C91 }); }, - get C104() { - return C[104] = dart.const({ + get C111() { + return C[111] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[85] || CT.C85 + [_encoder]: C[92] || CT.C92 }); }, - get C105() { - return C[105] = dart.const({ + get C112() { + return C[112] = dart.const({ __proto__: convert.HtmlEscape.prototype, - [mode$]: C[88] || CT.C88 + [mode$]: C[95] || CT.C95 }); }, - get C106() { - return C[106] = dart.const({ + get C113() { + return C[113] = dart.const({ __proto__: convert.JsonCodec.prototype, [_toEncodable]: null, [_reviver]: null }); }, - get C107() { - return C[107] = dart.const({ + get C114() { + return C[114] = dart.const({ __proto__: convert.Latin1Codec.prototype, [_allowInvalid$1]: false }); }, - get C108() { - return C[108] = dart.const({ + get C115() { + return C[115] = dart.const({ __proto__: convert.Utf8Codec.prototype, [_allowMalformed]: false }); }, - get C109() { - return C[109] = dart.const({ + get C116() { + return C[116] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 0 }); }, - get C110() { - return C[110] = dart.const({ + get C117() { + return C[117] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 1 }); }, - get C111() { - return C[111] = dart.const({ + get C118() { + return C[118] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 2 }); }, - get C112() { - return C[112] = dart.const({ + get C119() { + return C[119] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 3 }); }, - get C113() { - return C[113] = dart.const({ + get C120() { + return C[120] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 4 }); }, - get C114() { - return C[114] = dart.const({ + get C121() { + return C[121] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 1 }); }, - get C115() { - return C[115] = dart.const({ + get C122() { + return C[122] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 2 }); }, - get C116() { - return C[116] = dart.const({ + get C123() { + return C[123] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 3 }); }, - get C117() { - return C[117] = dart.const({ + get C124() { + return C[124] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 4 }); }, - get C118() { - return C[118] = dart.const({ + get C125() { + return C[125] = dart.const({ __proto__: convert.LineSplitter.prototype }); }, - get C119() { - return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C126() { + return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C120() { - return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C127() { + return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C121() { - return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + get C128() { + return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); }, - get C122() { - return C[122] = dart.const({ + get C129() { + return C[129] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 0 }); }, - get C123() { - return C[123] = dart.const({ + get C130() { + return C[130] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 1 }); }, - get C124() { - return C[124] = dart.const({ + get C131() { + return C[131] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 2 }); }, - get C125() { - return C[125] = dart.const({ + get C132() { + return C[132] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 3 }); }, - get C126() { - return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + get C133() { + return C[133] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 4 + }); }, - get C127() { - return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + get C134() { + return C[134] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 5 + }); }, - get C128() { - return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + get C135() { + return C[135] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134], T$0.FileSystemEntityTypeL()); }, - get C129() { - return C[129] = dart.const({ + get C136() { + return C[136] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C137() { + return C[137] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C138() { + return C[138] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.startTime", - index: 0 + [_Enum__name]: "startTime", + [_Enum_index]: 0 }); }, - get C130() { - return C[130] = dart.const({ + get C139() { + return C[139] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.endTime", - index: 1 + [_Enum__name]: "endTime", + [_Enum_index]: 1 }); }, - get C131() { - return C[131] = dart.const({ + get C140() { + return C[140] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.address", - index: 2 + [_Enum__name]: "address", + [_Enum_index]: 2 }); }, - get C132() { - return C[132] = dart.const({ + get C141() { + return C[141] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.port", - index: 3 + [_Enum__name]: "port", + [_Enum_index]: 3 }); }, - get C133() { - return C[133] = dart.const({ + get C142() { + return C[142] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.socketType", - index: 4 + [_Enum__name]: "socketType", + [_Enum_index]: 4 }); }, - get C134() { - return C[134] = dart.const({ + get C143() { + return C[143] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.readBytes", - index: 5 + [_Enum__name]: "readBytes", + [_Enum_index]: 5 }); }, - get C135() { - return C[135] = dart.const({ + get C144() { + return C[144] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.writeBytes", - index: 6 + [_Enum__name]: "writeBytes", + [_Enum_index]: 6 }); }, - get C136() { - return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + get C145() { + return C[145] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141, C[142] || CT.C142, C[143] || CT.C143, C[144] || CT.C144], T$0._SocketProfileTypeL()); }, - get C138() { - return C[138] = dart.const({ + get C147() { + return C[147] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 0 }); }, - get C139() { - return C[139] = dart.const({ + get C148() { + return C[148] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 1 }); }, - get C140() { - return C[140] = dart.const({ + get C149() { + return C[149] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 2 }); }, - get C141() { - return C[141] = dart.const({ + get C150() { + return C[150] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 3 }); }, - get C137() { - return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + get C146() { + return C[146] = dart.constList([C[147] || CT.C147, C[148] || CT.C148, C[149] || CT.C149, C[150] || CT.C150], T$0.ProcessStartModeL()); }, - get C142() { - return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + get C151() { + return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); }, - get C143() { - return C[143] = dart.const({ + get C152() { + return C[152] = dart.const({ __proto__: io.SystemEncoding.prototype }); }, - get C144() { - return C[144] = dart.const({ + get C153() { + return C[153] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTERM", [ProcessSignal__signalNumber]: 15 }); }, - get C145() { - return C[145] = dart.const({ + get C154() { + return C[154] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGHUP", [ProcessSignal__signalNumber]: 1 }); }, - get C146() { - return C[146] = dart.const({ + get C155() { + return C[155] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGINT", [ProcessSignal__signalNumber]: 2 }); }, - get C147() { - return C[147] = dart.const({ + get C156() { + return C[156] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGQUIT", [ProcessSignal__signalNumber]: 3 }); }, - get C148() { - return C[148] = dart.const({ + get C157() { + return C[157] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGILL", [ProcessSignal__signalNumber]: 4 }); }, - get C149() { - return C[149] = dart.const({ + get C158() { + return C[158] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTRAP", [ProcessSignal__signalNumber]: 5 }); }, - get C150() { - return C[150] = dart.const({ + get C159() { + return C[159] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGABRT", [ProcessSignal__signalNumber]: 6 }); }, - get C151() { - return C[151] = dart.const({ + get C160() { + return C[160] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGBUS", [ProcessSignal__signalNumber]: 7 }); }, - get C152() { - return C[152] = dart.const({ + get C161() { + return C[161] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGFPE", [ProcessSignal__signalNumber]: 8 }); }, - get C153() { - return C[153] = dart.const({ + get C162() { + return C[162] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGKILL", [ProcessSignal__signalNumber]: 9 }); }, - get C154() { - return C[154] = dart.const({ + get C163() { + return C[163] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR1", [ProcessSignal__signalNumber]: 10 }); }, - get C155() { - return C[155] = dart.const({ + get C164() { + return C[164] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSEGV", [ProcessSignal__signalNumber]: 11 }); }, - get C156() { - return C[156] = dart.const({ + get C165() { + return C[165] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR2", [ProcessSignal__signalNumber]: 12 }); }, - get C157() { - return C[157] = dart.const({ + get C166() { + return C[166] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPIPE", [ProcessSignal__signalNumber]: 13 }); }, - get C158() { - return C[158] = dart.const({ + get C167() { + return C[167] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGALRM", [ProcessSignal__signalNumber]: 14 }); }, - get C159() { - return C[159] = dart.const({ + get C168() { + return C[168] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCHLD", [ProcessSignal__signalNumber]: 17 }); }, - get C160() { - return C[160] = dart.const({ + get C169() { + return C[169] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCONT", [ProcessSignal__signalNumber]: 18 }); }, - get C161() { - return C[161] = dart.const({ + get C170() { + return C[170] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSTOP", [ProcessSignal__signalNumber]: 19 }); }, - get C162() { - return C[162] = dart.const({ + get C171() { + return C[171] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTSTP", [ProcessSignal__signalNumber]: 20 }); }, - get C163() { - return C[163] = dart.const({ + get C172() { + return C[172] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTIN", [ProcessSignal__signalNumber]: 21 }); }, - get C164() { - return C[164] = dart.const({ + get C173() { + return C[173] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTOU", [ProcessSignal__signalNumber]: 22 }); }, - get C165() { - return C[165] = dart.const({ + get C174() { + return C[174] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGURG", [ProcessSignal__signalNumber]: 23 }); }, - get C166() { - return C[166] = dart.const({ + get C175() { + return C[175] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXCPU", [ProcessSignal__signalNumber]: 24 }); }, - get C167() { - return C[167] = dart.const({ + get C176() { + return C[176] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXFSZ", [ProcessSignal__signalNumber]: 25 }); }, - get C168() { - return C[168] = dart.const({ + get C177() { + return C[177] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGVTALRM", [ProcessSignal__signalNumber]: 26 }); }, - get C169() { - return C[169] = dart.const({ + get C178() { + return C[178] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPROF", [ProcessSignal__signalNumber]: 27 }); }, - get C170() { - return C[170] = dart.const({ + get C179() { + return C[179] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGWINCH", [ProcessSignal__signalNumber]: 28 }); }, - get C171() { - return C[171] = dart.const({ + get C180() { + return C[180] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPOLL", [ProcessSignal__signalNumber]: 29 }); }, - get C172() { - return C[172] = dart.const({ + get C181() { + return C[181] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSYS", [ProcessSignal__signalNumber]: 31 }); }, - get C173() { - return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + get C182() { + return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); }, - get C174() { - return C[174] = dart.const({ + get C183() { + return C[183] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 0 }); }, - get C175() { - return C[175] = dart.const({ + get C184() { + return C[184] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 1 }); }, - get C176() { - return C[176] = dart.const({ + get C185() { + return C[185] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 2 }); }, - get C177() { - return C[177] = dart.const({ + get C186() { + return C[186] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 3 }); }, - get C178() { - return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + get C187() { + return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); }, - get C179() { - return C[179] = dart.const({ + get C188() { + return C[188] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 0 }); }, - get C180() { - return C[180] = dart.const({ + get C189() { + return C[189] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 1 }); }, - get C181() { - return C[181] = dart.const({ + get C190() { + return C[190] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 2 }); }, - get C182() { - return C[182] = dart.const({ + get C191() { + return C[191] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: -1 }); }, - get C183() { - return C[183] = dart.const({ + get C192() { + return C[192] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 0 }); }, - get C184() { - return C[184] = dart.const({ + get C193() { + return C[193] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 1 }); }, - get C185() { - return C[185] = dart.const({ + get C194() { + return C[194] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 2 }); }, - get C186() { - return C[186] = dart.const({ + get C195() { + return C[195] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 0 }); }, - get C187() { - return C[187] = dart.const({ + get C196() { + return C[196] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 1 }); }, - get C188() { - return C[188] = dart.const({ + get C197() { + return C[197] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 2 }); }, - get C189() { - return C[189] = dart.const({ + get C198() { + return C[198] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 3 }); }, - get C190() { - return C[190] = dart.const({ + get C199() { + return C[199] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 4 }); }, - get C191() { - return C[191] = dart.const({ + get C201() { + return C[201] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.SOL_SOCKET", - index: 0 + [_Enum__name]: "SOL_SOCKET", + [_Enum_index]: 0 }); }, - get C192() { - return C[192] = dart.const({ + get C202() { + return C[202] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IP", - index: 1 + [_Enum__name]: "IPPROTO_IP", + [_Enum_index]: 1 }); }, - get C193() { - return C[193] = dart.const({ + get C203() { + return C[203] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", - index: 2 + [_Enum__name]: "IP_MULTICAST_IF", + [_Enum_index]: 2 }); }, - get C194() { - return C[194] = dart.const({ + get C204() { + return C[204] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", - index: 3 + [_Enum__name]: "IPPROTO_IPV6", + [_Enum_index]: 3 }); }, - get C195() { - return C[195] = dart.const({ + get C205() { + return C[205] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", - index: 4 + [_Enum__name]: "IPV6_MULTICAST_IF", + [_Enum_index]: 4 }); }, - get C196() { - return C[196] = dart.const({ + get C206() { + return C[206] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_TCP", - index: 5 + [_Enum__name]: "IPPROTO_TCP", + [_Enum_index]: 5 }); }, - get C197() { - return C[197] = dart.const({ + get C207() { + return C[207] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_UDP", - index: 6 + [_Enum__name]: "IPPROTO_UDP", + [_Enum_index]: 6 }); }, - get C198() { - return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + get C200() { + return C[200] = dart.constList([C[201] || CT.C201, C[202] || CT.C202, C[203] || CT.C203, C[204] || CT.C204, C[205] || CT.C205, C[206] || CT.C206, C[207] || CT.C207], T$0._RawSocketOptionsL()); }, - get C199() { - return C[199] = dart.const({ + get C208() { + return C[208] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "terminal" }); }, - get C200() { - return C[200] = dart.const({ + get C209() { + return C[209] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "pipe" }); }, - get C201() { - return C[201] = dart.const({ + get C210() { + return C[210] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "file" }); }, - get C202() { - return C[202] = dart.const({ + get C211() { + return C[211] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "other" }); }, - get C203() { - return C[203] = dart.const({ + get C212() { + return C[212] = dart.const({ __proto__: io._WindowsCodePageEncoder.prototype }); }, - get C204() { - return C[204] = dart.const({ + get C213() { + return C[213] = dart.const({ __proto__: io._WindowsCodePageDecoder.prototype }); }, - get C205() { - return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + get C214() { + return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); }, - get C206() { - return C[206] = dart.const({ + get C215() { + return C[215] = dart.const({ __proto__: io.ZLibCodec.prototype, [dictionary$]: null, [raw$]: false, @@ -8704,8 +9432,8 @@ define([], (function load__dart_sdk() { [gzip$]: false }); }, - get C207() { - return C[207] = dart.const({ + get C216() { + return C[216] = dart.const({ __proto__: io.GZipCodec.prototype, [raw$0]: false, [dictionary$0]: null, @@ -8716,1394 +9444,1406 @@ define([], (function load__dart_sdk() { [gzip$0]: true }); }, - get C208() { - return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + get C217() { + return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); }, - get C209() { - return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + get C218() { + return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); }, - get C210() { - return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + get C219() { + return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); }, - get C211() { - return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + get C220() { + return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); }, - get C212() { - return C[212] = dart.const({ + get C221() { + return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C222() { + return C[222] = dart.const({ __proto__: math._JSRandom.prototype }); }, - get C213() { - return C[213] = dart.const({ + get C223() { + return C[223] = dart.const({ __proto__: typed_data.Endian.prototype, [Endian__littleEndian]: true }); }, - get C214() { - return C[214] = dart.const({ + get C224() { + return C[224] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "abort" }); }, - get C215() { - return C[215] = dart.const({ + get C225() { + return C[225] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "close" }); }, - get C216() { - return C[216] = dart.const({ + get C226() { + return C[226] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "error" }); }, - get C217() { - return C[217] = dart.const({ + get C227() { + return C[227] = dart.const({ __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, [S.EventStreamProvider__eventType]: "versionchange" }); }, - get C218() { - return C[218] = dart.const({ + get C228() { + return C[228] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "success" }); }, - get C219() { - return C[219] = dart.const({ + get C229() { + return C[229] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "blocked" }); }, - get C220() { - return C[220] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C221() { - return C[221] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C222() { - return C[222] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "JSExtendableArray|=Object|num|String" - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C224() { - return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); - }, - get C226() { - return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 - }); - }, - get C228() { - return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 - }); - }, - get C229() { - return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); - }, get C230() { return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" }); }, get C231() { return C[231] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" + [S.EventStreamProvider__eventType]: "complete" }); }, get C232() { return C[232] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" + __proto__: _js_helper.Creates.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" }); }, get C233() { return C[233] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" + __proto__: _js_helper.Returns.prototype, + [types$2]: "JSExtendableArray|=Object|num|String" }); }, get C234() { - return C[234] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); + return C[234] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C236() { + return C[236] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); }, get C235() { return C[235] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 }); }, - get C236() { - return C[236] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); + get C238() { + return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); }, get C237() { return C[237] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C238() { - return C[238] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 }); }, get C239() { - return C[239] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); + return C[239] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); }, get C240() { return C[240] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" }); }, get C241() { return C[241] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" + [S.EventStreamProvider__eventType]: "beforecut" }); }, get C242() { return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" }); }, get C243() { return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" }); }, get C244() { return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" }); }, get C245() { return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" }); }, get C246() { return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" }); }, get C247() { return C[247] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" + [S.EventStreamProvider__eventType]: "click" }); }, get C248() { return C[248] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" + [S.EventStreamProvider__eventType]: "contextmenu" }); }, get C249() { return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" }); }, get C250() { return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" }); }, get C251() { return C[251] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" + [S.EventStreamProvider__eventType]: "dblclick" }); }, get C252() { return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" }); }, get C253() { return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" }); }, get C254() { return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" }); }, get C255() { return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" }); }, get C256() { return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" }); }, get C257() { return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" }); }, get C258() { return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" }); }, get C259() { return C[259] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" + [S.EventStreamProvider__eventType]: "durationchange" }); }, get C260() { return C[260] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" + [S.EventStreamProvider__eventType]: "emptied" }); }, get C261() { return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" }); }, get C262() { return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" }); }, get C263() { return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" }); }, get C264() { return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" }); }, get C265() { return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" }); }, get C266() { return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" }); }, get C267() { return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" }); }, get C268() { return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" }); }, get C269() { return C[269] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" + [S.EventStreamProvider__eventType]: "loadeddata" }); }, get C270() { return C[270] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" + [S.EventStreamProvider__eventType]: "loadedmetadata" }); }, get C271() { return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" }); }, get C272() { return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" }); }, get C273() { return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" }); }, get C274() { return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" }); }, get C275() { return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" }); }, get C276() { return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" }); }, get C277() { return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" }); }, get C278() { return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" }); }, get C279() { return C[279] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" + [S.EventStreamProvider__eventType]: "pause" }); }, get C280() { return C[280] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" + [S.EventStreamProvider__eventType]: "play" }); }, get C281() { return C[281] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" + [S.EventStreamProvider__eventType]: "playing" }); }, get C282() { return C[282] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" + [S.EventStreamProvider__eventType]: "ratechange" }); }, get C283() { return C[283] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" + [S.EventStreamProvider__eventType]: "reset" }); }, get C284() { return C[284] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" + [S.EventStreamProvider__eventType]: "resize" }); }, get C285() { return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" }); }, get C286() { return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" }); }, get C287() { return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" }); }, get C288() { return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" }); }, get C289() { return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" }); }, get C290() { return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" }); }, get C291() { return C[291] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" + [S.EventStreamProvider__eventType]: "stalled" }); }, get C292() { return C[292] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" + [S.EventStreamProvider__eventType]: "submit" }); }, get C293() { return C[293] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + [S.EventStreamProvider__eventType]: "suspend" }); }, get C294() { return C[294] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + [S.EventStreamProvider__eventType]: "timeupdate" }); }, get C295() { return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" }); }, get C296() { return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" }); }, get C297() { return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" }); }, get C298() { return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" }); }, get C299() { return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" }); }, get C300() { return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" }); }, get C301() { return C[301] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + [S.EventStreamProvider__eventType]: "volumechange" }); }, get C302() { return C[302] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" + [S.EventStreamProvider__eventType]: "waiting" }); }, get C303() { return C[303] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" }); }, get C304() { return C[304] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" }); }, get C305() { return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" }); }, get C306() { return C[306] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" + [S.EventStreamProvider__eventType]: "accessibleclick" }); }, get C307() { return C[307] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" }); }, get C308() { return C[308] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" + [S.EventStreamProvider__eventType]: "accessibledecrement" }); }, get C309() { return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" }); }, get C310() { return C[310] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" + [S.EventStreamProvider__eventType]: "accessibleincrement" }); }, get C311() { return C[311] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" }); }, get C312() { return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" }); }, get C313() { return C[313] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" + [S.EventStreamProvider__eventType]: "finish" }); }, get C314() { return C[314] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" + [S.EventStreamProvider__eventType]: "cached" }); }, get C315() { return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" }); }, get C316() { return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" }); }, get C317() { return C[317] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" + [S.EventStreamProvider__eventType]: "noupdate" }); }, get C318() { return C[318] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" + [S.EventStreamProvider__eventType]: "obsolete" }); }, get C319() { return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" }); }, get C320() { return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" }); }, get C321() { return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" }); }, get C322() { return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" }); }, get C323() { return C[323] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" + [S.EventStreamProvider__eventType]: "offline" }); }, get C324() { return C[324] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" + [S.EventStreamProvider__eventType]: "online" }); }, get C325() { return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" }); }, get C326() { return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" }); }, get C327() { return C[327] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" }); }, get C328() { return C[328] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" }); }, get C329() { return C[329] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" }); }, get C330() { return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" }); }, get C331() { return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" }); }, get C332() { return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" }); }, get C333() { return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" }); }, get C334() { return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" }); }, get C335() { return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" }); }, get C336() { return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" }); }, get C337() { return C[337] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" }); }, get C338() { return C[338] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" }); }, get C339() { return C[339] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" }); }, get C340() { return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" }); }, get C341() { return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" }); }, get C342() { return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "mousewheel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, - get C344() { - return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); - }, get C343() { return C[343] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C344() { + return C[344] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" }); }, get C345() { return C[345] = dart.const({ __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" + [S.EventStreamProvider__eventType]: "loadstart" }); }, get C346() { return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" }); }, get C347() { return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" }); }, get C348() { - return C[348] = dart.constList([], T$0.MessagePortL()); + return C[348] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); }, get C349() { return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" }); }, get C350() { - return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + return C[350] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); }, get C351() { return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" }); }, get C352() { return C[352] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" }); }, + get C354() { + return C[354] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, get C353() { return C[353] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C354() { - return C[354] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 }); }, get C355() { return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" }); }, get C356() { return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C357() { return C[357] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + [S.EventStreamProvider__eventType]: "removetrack" }); }, get C358() { - return C[358] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); + return C[358] = dart.constList([], T$0.MessagePortL()); }, get C359() { return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" }); }, get C360() { - return C[360] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); + return C[360] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); }, get C361() { return C[361] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" }); }, get C362() { return C[362] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" + [S.EventStreamProvider__eventType]: "show" }); }, get C363() { return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" }); }, get C364() { return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" }); }, get C365() { return C[365] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" + [S.EventStreamProvider__eventType]: "connectionstatechange" }); }, get C366() { return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" }); }, get C367() { return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" }); }, get C368() { return C[368] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" }); }, get C369() { return C[369] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + [S.EventStreamProvider__eventType]: "negotiationneeded" }); }, get C370() { return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" }); }, get C371() { return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" }); }, get C372() { return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" }); }, get C373() { return C[373] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" + [S.EventStreamProvider__eventType]: "activate" }); }, get C374() { return C[374] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" + [S.EventStreamProvider__eventType]: "fetch" }); }, get C375() { return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" }); }, get C376() { return C[376] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" + [S.EventStreamProvider__eventType]: "install" }); }, get C377() { return C[377] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + [S.EventStreamProvider__eventType]: "connect" }); }, get C378() { return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" }); }, get C379() { return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" }); }, get C380() { return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C381() { return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, get C382() { return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" }); }, get C383() { return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" }); }, get C384() { return C[384] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" + [S.EventStreamProvider__eventType]: "soundend" }); }, get C385() { return C[385] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" + [S.EventStreamProvider__eventType]: "soundstart" }); }, get C386() { return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" }); }, get C387() { return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" }); }, get C388() { return C[388] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" + [S.EventStreamProvider__eventType]: "start" }); }, get C389() { return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" }); }, get C390() { return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C391() { return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" }); }, get C392() { return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" }); }, get C393() { return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" }); }, get C394() { return C[394] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + [S.EventStreamProvider__eventType]: "cuechange" }); }, get C395() { return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" }); }, get C396() { return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" }); }, get C397() { return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C398() { return C[398] = dart.const({ - __proto__: html$._BeforeUnloadEventStreamProvider.prototype, - [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" }); }, get C399() { - return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[399] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); }, get C400() { - return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[400] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); }, get C401() { - return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + return C[401] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); }, get C402() { - return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + return C[402] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); }, get C403() { - return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + return C[403] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); }, get C404() { - return C[404] = dart.constList([], T$.StringL()); + return C[404] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); }, get C405() { - return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + return C[405] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); }, get C406() { - return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + return C[406] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); }, get C407() { - return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + return C[407] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); }, get C408() { - return C[408] = dart.constList(["IMG"], T$.StringL()); + return C[408] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); }, get C409() { - return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + return C[409] = dart.const({ + __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, + [S.EventStreamProvider__eventType]: "beforeunload" + }); }, get C410() { - return C[410] = dart.constList(["IMG::src"], T$.StringL()); + return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C411() { - return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C412() { - return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + return C[412] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); }, get C413() { - return C[413] = dart.const({ - __proto__: html$.Console.prototype - }); + return C[413] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); }, get C414() { - return C[414] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); + return C[414] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); }, get C415() { - return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + return C[415] = dart.constList([], T$.StringL()); }, get C416() { - return C[416] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[416] = dart.constList(["A", "FORM"], T$.StringL()); }, get C417() { - return C[417] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[417] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); }, get C418() { - return C[418] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); + return C[418] = dart.constList(["A::href", "FORM::action"], T$.StringL()); }, get C419() { - return C[419] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); + return C[419] = dart.constList(["IMG"], T$.StringL()); }, get C420() { - return C[420] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); + return C[420] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); }, get C421() { - return C[421] = dart.constList([], T$.ObjectN()); + return C[421] = dart.constList(["IMG::src"], T$.StringL()); }, get C422() { - return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + return C[422] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); }, get C423() { - return C[423] = dart.constList([], T$.ObjectL()); + return C[423] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); }, get C424() { - return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + return C[424] = dart.const({ + __proto__: html$.Console.prototype + }); }, get C425() { - return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + return C[425] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); }, get C426() { - return C[426] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); + return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); }, get C427() { - return C[427] = dart.const(new _internal.Symbol.new('unary-')); + return C[427] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C428() { - return C[428] = dart.const(new _internal.Symbol.new('')); + return C[428] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C429() { - return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + return C[429] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); }, get C430() { - return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + return C[430] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); }, get C431() { - return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + return C[431] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); }, get C432() { - return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + return C[432] = dart.constList([], T$.ObjectN()); }, get C433() { - return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); }, get C434() { - return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[434] = dart.constList([], T$.ObjectL()); }, get C435() { - return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); }, get C436() { - return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); }, get C437() { - return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + return C[437] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); }, get C438() { - return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + return C[438] = dart.const(new _internal.Symbol.new('unary-')); }, get C439() { - return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + return C[439] = dart.const(new _internal.Symbol.new('')); }, get C440() { - return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); }, get C441() { - return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); }, get C442() { - return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); }, get C443() { - return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); }, get C444() { - return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C445() { - return C[445] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); + return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C446() { - return C[446] = dart.const({ - __proto__: core._Override.prototype - }); + return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C447() { - return C[447] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); + return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); }, get C448() { - return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); }, get C449() { - return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); }, get C450() { - return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); }, get C451() { - return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C452() { - return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C453() { - return C[453] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); + return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C454() { - return C[454] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.notCompressed", - index: 0 - }); + return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); }, get C455() { - return C[455] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.decompressed", - index: 1 - }); + return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); }, get C456() { - return C[456] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.compressed", - index: 2 - }); + return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C457() { - return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C458() { - return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + return C[458] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); }, get C459() { - return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + return C[459] = dart.const({ + __proto__: core._Override.prototype + }); }, get C460() { - return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + return C[460] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); }, get C461() { - return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + return C[461] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); }, get C462() { - return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + return C[462] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); }, get C463() { - return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + return C[463] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); }, get C464() { - return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + return C[464] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); }, get C465() { - return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + return C[465] = dart.constMap(T$.StringL(), T$.StringN(), []); }, get C466() { return C[466] = dart.const({ - __proto__: _http._ToUint8List.prototype + __proto__: core.Duration.prototype, + [_duration$]: 15000000 }); }, - get C467() { - return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); - }, get C468() { - return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + return C[468] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "notCompressed", + [_Enum_index]: 0 + }); }, get C469() { - return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + return C[469] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "decompressed", + [_Enum_index]: 1 + }); }, get C470() { - return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + return C[470] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "compressed", + [_Enum_index]: 2 + }); + }, + get C467() { + return C[467] = dart.constList([C[468] || CT.C468, C[469] || CT.C469, C[470] || CT.C470], T$0.HttpClientResponseCompressionStateL()); }, get C471() { - return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + return C[471] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); }, get C472() { - return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + return C[472] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); }, get C473() { - return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + return C[473] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); }, get C474() { - return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + return C[474] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C475() { + return C[475] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C476() { + return C[476] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); }, get C477() { - return C[477] = dart.const({ + return C[477] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C479() { + return C[479] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C480() { + return C[480] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C481() { + return C[481] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C482() { + return C[482] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C483() { + return C[483] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C486() { + return C[486] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T$1.Uri__ToString()); + }, + get C489() { + return C[489] = dart.const({ __proto__: _http._Proxy.prototype, [_Proxy_isDirect]: true, [_Proxy_password]: null, @@ -10112,50 +10852,56 @@ define([], (function load__dart_sdk() { [_Proxy_host]: null }); }, - get C476() { - return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + get C488() { + return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); }, - get C475() { - return C[475] = dart.const({ + get C487() { + return C[487] = dart.const({ __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[476] || CT.C476 + [_ProxyConfiguration_proxies]: C[488] || CT.C488 }); }, - get C478() { - return C[478] = dart.const({ + get C490() { + return C[490] = dart.constList(["authorization", "www-authenticate", "cookie", "cookie2"], T$.StringL()); + }, + get C491() { + return C[491] = dart.const(new _js_helper.PrivateSymbol.new('_detachRaw', _detachRaw$)); + }, + get C492() { + return C[492] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: -1 }); }, - get C479() { - return C[479] = dart.const({ + get C493() { + return C[493] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 0 }); }, - get C480() { - return C[480] = dart.const({ + get C494() { + return C[494] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 1 }); }, - get C481() { - return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + get C495() { + return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); }, - get C482() { - return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + get C496() { + return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); }, - get C483() { - return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + get C497() { + return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); }, - get C484() { - return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + get C498() { + return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); }, - get C485() { - return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + get C499() { + return C[499] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); }, - get C486() { - return C[486] = dart.const({ + get C500() { + return C[500] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: true, [serverMaxWindowBits$]: null, @@ -10164,8 +10910,8 @@ define([], (function load__dart_sdk() { [clientNoContextTakeover$]: false }); }, - get C487() { - return C[487] = dart.const({ + get C501() { + return C[501] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: false, [serverMaxWindowBits$]: null, @@ -10174,11 +10920,11 @@ define([], (function load__dart_sdk() { [clientNoContextTakeover$]: false }); }, - get C488() { - return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + get C502() { + return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); }, - get C489() { - return C[489] = dart.const({ + get C503() { + return C[503] = dart.const({ __proto__: core.Duration.prototype, [_duration$]: 5000000 }); @@ -10186,15 +10932,31 @@ define([], (function load__dart_sdk() { }, false); core.Invocation = class Invocation extends core.Object { static method(memberName, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); } + static ['_#method#tearOff'](memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); + return core.Invocation.method(memberName, positionalArguments, namedArguments); + } static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); } + static ['_#genericMethod#tearOff'](memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); + return core.Invocation.genericMethod(memberName, typeArguments, positionalArguments, namedArguments); + } + static ['_#getter#tearOff'](name) { + if (name == null) dart.nullFailed(I[11], 41, 36, "name"); + return new core._Invocation.getter(name); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 52, 36, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get typeArguments() { - return C[0] || CT.C0; + return C[1] || CT.C1; } get isAccessor() { return dart.test(this.isGetter) || dart.test(this.isSetter); @@ -10205,12 +10967,14 @@ define([], (function load__dart_sdk() { }).prototype = core.Invocation.prototype; dart.addTypeTests(core.Invocation); dart.addTypeCaches(core.Invocation); + dart.setStaticMethodSignature(core.Invocation, () => ['method', 'genericMethod', 'getter', 'setter']); dart.setGetterSignature(core.Invocation, () => ({ __proto__: dart.getGetters(core.Invocation.__proto__), typeArguments: core.List$(core.Type), isAccessor: core.bool })); - dart.setLibraryUri(core.Invocation, I[8]); + dart.setLibraryUri(core.Invocation, I[9]); + dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); dart.InvocationImpl = class InvocationImpl extends core.Invocation { get memberName() { return this[memberName$]; @@ -10260,6 +11024,21 @@ define([], (function load__dart_sdk() { set failureMessage(value) { super.failureMessage = value; } + static ['_#new#tearOff'](memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + return new dart.InvocationImpl.new(memberName, positionalArguments, {namedArguments: namedArguments, typeArguments: typeArguments, isMethod: isMethod, isGetter: isGetter, isSetter: isSetter, failureMessage: failureMessage}); + } static _namedArgsToSymbols(namedArgs) { if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { @@ -10294,7 +11073,8 @@ define([], (function load__dart_sdk() { }).prototype = dart.InvocationImpl.prototype; dart.addTypeTests(dart.InvocationImpl); dart.addTypeCaches(dart.InvocationImpl); - dart.setLibraryUri(dart.InvocationImpl, I[9]); + dart.setStaticMethodSignature(dart.InvocationImpl, () => ['_namedArgsToSymbols']); + dart.setLibraryUri(dart.InvocationImpl, I[10]); dart.setFieldSignature(dart.InvocationImpl, () => ({ __proto__: dart.getFields(dart.InvocationImpl.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -10306,6 +11086,14 @@ define([], (function load__dart_sdk() { isSetter: dart.finalFieldType(core.bool), failureMessage: dart.finalFieldType(core.String) })); + dart.copyProperties(_dart2js_runtime_metrics, { + get runtimeMetrics() { + return dart.throw(new core.UnimplementedError.new()); + }, + get startupMetrics() { + return dart.throw(new core.UnimplementedError.new()); + } + }); var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { get name() { @@ -10314,41 +11102,46 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); + return new _debugger.JsonMLConfig.new(name); + } toString() { return "JsonMLConfig(" + dart.str(this.name) + ")"; } }; (_debugger.JsonMLConfig.new = function(name) { - if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); this[name$0] = name; ; }).prototype = _debugger.JsonMLConfig.prototype; dart.addTypeTests(_debugger.JsonMLConfig); dart.addTypeCaches(_debugger.JsonMLConfig); - dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); + dart.setLibraryUri(_debugger.JsonMLConfig, I[13]); dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), name: dart.finalFieldType(core.String) })); + dart.setStaticFieldSignature(_debugger.JsonMLConfig, () => ['none', 'skipDart', 'keyToString', 'asClass', 'asObject', 'asMap']); dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); dart.defineLazy(_debugger.JsonMLConfig, { /*_debugger.JsonMLConfig.none*/get none() { - return C[1] || CT.C1; + return C[2] || CT.C2; }, /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[2] || CT.C2; + return C[3] || CT.C3; }, /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[3] || CT.C3; + return C[4] || CT.C4; }, /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[4] || CT.C4; + return C[5] || CT.C5; }, /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[5] || CT.C5; + return C[6] || CT.C6; }, /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[6] || CT.C6; + return C[7] || CT.C7; } }, false); _debugger.JSNative = class JSNative extends core.Object { @@ -10358,13 +11151,17 @@ define([], (function load__dart_sdk() { static setProperty(object, name, value) { return object[name] = value; } + static ['_#new#tearOff']() { + return new _debugger.JSNative.new(); + } }; (_debugger.JSNative.new = function() { ; }).prototype = _debugger.JSNative.prototype; dart.addTypeTests(_debugger.JSNative); dart.addTypeCaches(_debugger.JSNative); - dart.setLibraryUri(_debugger.JSNative, I[12]); + dart.setStaticMethodSignature(_debugger.JSNative, () => ['getProperty', 'setProperty']); + dart.setLibraryUri(_debugger.JSNative, I[13]); var name$1 = dart.privateName(_debugger, "NameValuePair.name"); var value$ = dart.privateName(_debugger, "NameValuePair.value"); var config$ = dart.privateName(_debugger, "NameValuePair.config"); @@ -10394,6 +11191,16 @@ define([], (function load__dart_sdk() { set hideName(value) { super.hideName = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); + return new _debugger.NameValuePair.new({name: name, value: value, config: config, hideName: hideName}); + } _equals(other) { if (other == null) return false; if (!_debugger.NameValuePair.is(other)) return false; @@ -10409,12 +11216,12 @@ define([], (function load__dart_sdk() { }; (_debugger.NameValuePair.new = function(opts) { let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); let value = opts && 'value' in opts ? opts.value : null; - let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; - if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); let hideName = opts && 'hideName' in opts ? opts.hideName : false; - if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); this[name$1] = name; this[value$] = value; this[config$] = config; @@ -10427,7 +11234,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), displayName: core.String })); - dart.setLibraryUri(_debugger.NameValuePair, I[12]); + dart.setLibraryUri(_debugger.NameValuePair, I[13]); dart.setFieldSignature(_debugger.NameValuePair, () => ({ __proto__: dart.getFields(_debugger.NameValuePair.__proto__), name: dart.finalFieldType(core.String), @@ -10452,6 +11259,11 @@ define([], (function load__dart_sdk() { set value(value) { super.value = value; } + static ['_#new#tearOff'](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return new _debugger.MapEntry.new({key: key, value: value}); + } }; (_debugger.MapEntry.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; @@ -10462,7 +11274,7 @@ define([], (function load__dart_sdk() { }).prototype = _debugger.MapEntry.prototype; dart.addTypeTests(_debugger.MapEntry); dart.addTypeCaches(_debugger.MapEntry); - dart.setLibraryUri(_debugger.MapEntry, I[12]); + dart.setLibraryUri(_debugger.MapEntry, I[13]); dart.setFieldSignature(_debugger.MapEntry, () => ({ __proto__: dart.getFields(_debugger.MapEntry.__proto__), key: dart.finalFieldType(dart.nullable(core.Object)), @@ -10490,6 +11302,12 @@ define([], (function load__dart_sdk() { set iterable(value) { super.iterable = value; } + static ['_#new#tearOff'](start, end, iterable) { + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); + return new _debugger.IterableSpan.new(start, end, iterable); + } get length() { return dart.notNull(this.end) - dart.notNull(this.start); } @@ -10506,7 +11324,7 @@ define([], (function load__dart_sdk() { let children = T$.JSArrayOfNameValuePair().of([]); if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { this.asMap()[$forEach](dart.fn((i, element) => { - if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + if (i == null) dart.nullFailed(I[12], 225, 24, "i"); children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); }, T$.intAnddynamicTovoid())); } else { @@ -10523,9 +11341,9 @@ define([], (function load__dart_sdk() { } }; (_debugger.IterableSpan.new = function(start, end, iterable) { - if (start == null) dart.nullFailed(I[11], 203, 21, "start"); - if (end == null) dart.nullFailed(I[11], 203, 33, "end"); - if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); this[start$] = start; this[end$] = end; this[iterable$] = iterable; @@ -10544,7 +11362,7 @@ define([], (function load__dart_sdk() { maxPowerOfSubsetSize: core.int, subsetSize: core.int })); - dart.setLibraryUri(_debugger.IterableSpan, I[12]); + dart.setLibraryUri(_debugger.IterableSpan, I[13]); dart.setFieldSignature(_debugger.IterableSpan, () => ({ __proto__: dart.getFields(_debugger.IterableSpan.__proto__), start: dart.finalFieldType(core.int), @@ -10566,17 +11384,22 @@ define([], (function load__dart_sdk() { set object(value) { super.object = value; } + static ['_#new#tearOff'](name, object) { + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); + return new _debugger.Library.new(name, object); + } }; (_debugger.Library.new = function(name, object) { - if (name == null) dart.nullFailed(I[11], 248, 16, "name"); - if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); this[name$2] = name; this[object$] = object; ; }).prototype = _debugger.Library.prototype; dart.addTypeTests(_debugger.Library); dart.addTypeCaches(_debugger.Library); - dart.setLibraryUri(_debugger.Library, I[12]); + dart.setLibraryUri(_debugger.Library, I[13]); dart.setFieldSignature(_debugger.Library, () => ({ __proto__: dart.getFields(_debugger.Library.__proto__), name: dart.finalFieldType(core.String), @@ -10590,21 +11413,25 @@ define([], (function load__dart_sdk() { set object(value) { super.object = value; } + static ['_#new#tearOff'](object) { + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); + return new _debugger.NamedConstructor.new(object); + } }; (_debugger.NamedConstructor.new = function(object) { - if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); this[object$0] = object; ; }).prototype = _debugger.NamedConstructor.prototype; dart.addTypeTests(_debugger.NamedConstructor); dart.addTypeCaches(_debugger.NamedConstructor); - dart.setLibraryUri(_debugger.NamedConstructor, I[12]); + dart.setLibraryUri(_debugger.NamedConstructor, I[13]); dart.setFieldSignature(_debugger.NamedConstructor, () => ({ __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), object: dart.finalFieldType(core.Object) })); var name$3 = dart.privateName(_debugger, "HeritageClause.name"); - var types$ = dart.privateName(_debugger, "HeritageClause.types"); + var types$0 = dart.privateName(_debugger, "HeritageClause.types"); _debugger.HeritageClause = class HeritageClause extends core.Object { get name() { return this[name$3]; @@ -10613,22 +11440,27 @@ define([], (function load__dart_sdk() { super.name = value; } get types() { - return this[types$]; + return this[types$0]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](name, types) { + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); + return new _debugger.HeritageClause.new(name, types); + } }; (_debugger.HeritageClause.new = function(name, types) { - if (name == null) dart.nullFailed(I[11], 261, 23, "name"); - if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); this[name$3] = name; - this[types$] = types; + this[types$0] = types; ; }).prototype = _debugger.HeritageClause.prototype; dart.addTypeTests(_debugger.HeritageClause); dart.addTypeCaches(_debugger.HeritageClause); - dart.setLibraryUri(_debugger.HeritageClause, I[12]); + dart.setLibraryUri(_debugger.HeritageClause, I[13]); dart.setFieldSignature(_debugger.HeritageClause, () => ({ __proto__: dart.getFields(_debugger.HeritageClause.__proto__), name: dart.finalFieldType(core.String), @@ -10640,50 +11472,53 @@ define([], (function load__dart_sdk() { var _jsonML = dart.privateName(_debugger, "_jsonML"); _debugger.JsonMLElement = class JsonMLElement extends core.Object { get [_jsonML]() { - let t8; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + let t4; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); } - set [_jsonML](t8) { - if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + set [_jsonML](_jsonML$35param) { + if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); this[__JsonMLElement__jsonML_isSet] = true; - this[__JsonMLElement__jsonML] = t8; + this[__JsonMLElement__jsonML] = _jsonML$35param; + } + static ['_#new#tearOff'](tagName) { + return new _debugger.JsonMLElement.new(tagName); } appendChild(element) { this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); } createChild(tagName) { - if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + if (tagName == null) dart.nullFailed(I[12], 296, 36, "tagName"); let c = new _debugger.JsonMLElement.new(tagName); this[_jsonML][$add](c.toJsonML()); return c; } createObjectTag(object) { - let t9; - t9 = this.createChild("object"); + let t4; + t4 = this.createChild("object"); return (() => { - t9.addAttribute("object", object); - return t9; + t4.addAttribute("object", object); + return t4; })(); } setStyle(style) { - if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + if (style == null) dart.nullFailed(I[12], 305, 24, "style"); dart.dput(this[_attributes], 'style', style); } addStyle(style) { - let t9; - if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + let t4; + if (style == null) dart.nullFailed(I[12], 309, 19, "style"); if (dart.dload(this[_attributes], 'style') == null) { dart.dput(this[_attributes], 'style', style); } else { - t9 = this[_attributes]; - dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + t4 = this[_attributes]; + dart.dput(t4, 'style', dart.dsend(dart.dload(t4, 'style'), '+', [style])); } } addAttribute(key, value) { _debugger.JSNative.setProperty(this[_attributes], key, value); } createTextChild(text) { - if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + if (text == null) dart.nullFailed(I[12], 321, 26, "text"); this[_jsonML][$add](text); } toJsonML() { @@ -10718,7 +11553,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), [_jsonML]: core.List })); - dart.setLibraryUri(_debugger.JsonMLElement, I[12]); + dart.setLibraryUri(_debugger.JsonMLElement, I[13]); dart.setFieldSignature(_debugger.JsonMLElement, () => ({ __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), [_attributes]: dart.fieldType(dart.dynamic), @@ -10732,14 +11567,19 @@ define([], (function load__dart_sdk() { return this[customFormattersOn]; } set customFormattersOn(value) { + if (value == null) dart.nullFailed(I[12], 359, 8, "customFormattersOn"); this[customFormattersOn] = value; } + static ['_#new#tearOff'](_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); + return new _debugger.JsonMLFormatter.new(_simpleFormatter); + } setMaxSpanLengthForTestingOnly(spanLength) { - if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + if (spanLength == null) dart.nullFailed(I[12], 363, 43, "spanLength"); _debugger._maxSpanLength = spanLength; } header(object, config) { - let t9; + let t4; this.customFormattersOn = true; if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { return null; @@ -10749,10 +11589,10 @@ define([], (function load__dart_sdk() { if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { c = dart.toString(object); } - let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { - t9.setStyle("background-color: #d9edf7;color: black"); - t9.createTextChild(c); - return t9; + let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { + t4.setStyle("background-color: #d9edf7;color: black"); + t4.createTextChild(c); + return t4; })()); return element.toJsonML(); } @@ -10760,10 +11600,10 @@ define([], (function load__dart_sdk() { return this[_simpleFormatter$].hasChildren(object, config); } body(object, config) { - let t9, t9$, t9$0, t9$1, t9$2; - let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { - t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); - return t9; + let t4, t4$, t4$0, t4$1, t4$2; + let body = (t4 = new _debugger.JsonMLElement.new("ol"), (() => { + t4.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t4; })()); if (core.StackTrace.is(object)) { body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); @@ -10776,22 +11616,22 @@ define([], (function load__dart_sdk() { let nameSpan = null; let valueStyle = ""; if (!dart.test(child.hideName)) { - nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { - t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); - t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); - return t9$; + nameSpan = (t4$ = new _debugger.JsonMLElement.new("span"), (() => { + t4$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t4$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t4$; })()); valueStyle = "margin-left: 13px"; } if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { - let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { - t9$0.setStyle(valueStyle); - return t9$0; + let valueSpan = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { + t4$0.setStyle(valueStyle); + return t4$0; })()); - t9$1 = valueSpan.createObjectTag(child.value); + t4$1 = valueSpan.createObjectTag(child.value); (() => { - t9$1.addAttribute("config", child.config); - return t9$1; + t4$1.addAttribute("config", child.config); + return t4$1; })(); if (nameSpan != null) { li.appendChild(nameSpan); @@ -10802,10 +11642,10 @@ define([], (function load__dart_sdk() { if (nameSpan != null) { line.appendChild(nameSpan); } - line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { - t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); - t9$2.setStyle(valueStyle); - return t9$2; + line.appendChild((t4$2 = new _debugger.JsonMLElement.new("span"), (() => { + t4$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t4$2.setStyle(valueStyle); + return t4$2; })())); } } @@ -10813,7 +11653,7 @@ define([], (function load__dart_sdk() { } }; (_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); this[customFormattersOn] = false; this[_simpleFormatter$] = _simpleFormatter; ; @@ -10827,7 +11667,7 @@ define([], (function load__dart_sdk() { hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) })); - dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); + dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), @@ -10839,10 +11679,13 @@ define([], (function load__dart_sdk() { }).prototype = _debugger.Formatter.prototype; dart.addTypeTests(_debugger.Formatter); dart.addTypeCaches(_debugger.Formatter); - dart.setLibraryUri(_debugger.Formatter, I[12]); + dart.setLibraryUri(_debugger.Formatter, I[13]); var _formatters = dart.privateName(_debugger, "_formatters"); var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); _debugger.DartFormatter = class DartFormatter extends core.Object { + static ['_#new#tearOff']() { + return new _debugger.DartFormatter.new(); + } preview(object, config) { try { if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { @@ -10895,7 +11738,7 @@ define([], (function load__dart_sdk() { return T$.JSArrayOfNameValuePair().of([]); } [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + if (message == null) dart.nullFailed(I[12], 523, 34, "message"); return window.console.error(message); } }; @@ -10912,7 +11755,7 @@ define([], (function load__dart_sdk() { children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), [_printConsoleError]: dart.fnType(dart.void, [core.String]) })); - dart.setLibraryUri(_debugger.DartFormatter, I[12]); + dart.setLibraryUri(_debugger.DartFormatter, I[13]); dart.setFieldSignature(_debugger.DartFormatter, () => ({ __proto__: dart.getFields(_debugger.DartFormatter.__proto__), [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) @@ -10956,6 +11799,9 @@ define([], (function load__dart_sdk() { _debugger.addMetadataChildren(object, ret); return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ObjectFormatter.new(); + } }; (_debugger.ObjectFormatter.new = function() { ; @@ -10969,7 +11815,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); + dart.setLibraryUri(_debugger.ObjectFormatter, I[13]); _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { accept(object, config) { return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); @@ -10977,13 +11823,16 @@ define([], (function load__dart_sdk() { preview(object) { return _debugger.getObjectTypeName(object); } + static ['_#new#tearOff']() { + return new _debugger.ObjectInternalsFormatter.new(); + } }; (_debugger.ObjectInternalsFormatter.new = function() { ; }).prototype = _debugger.ObjectInternalsFormatter.prototype; dart.addTypeTests(_debugger.ObjectInternalsFormatter); dart.addTypeCaches(_debugger.ObjectInternalsFormatter); - dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); + dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[13]); _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { accept(object, config) { return dart.getModuleName(core.Object.as(object)) != null; @@ -11006,6 +11855,9 @@ define([], (function load__dart_sdk() { } return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.LibraryModuleFormatter.new(); + } }; (_debugger.LibraryModuleFormatter.new = function() { ; @@ -11020,13 +11872,14 @@ define([], (function load__dart_sdk() { preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); + dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[13]); var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { get genericParameters() { return this[genericParameters]; } set genericParameters(value) { + if (value == null) dart.nullFailed(I[12], 619, 7, "genericParameters"); this[genericParameters] = value; } accept(object, config) { @@ -11048,11 +11901,14 @@ define([], (function load__dart_sdk() { return children[$toList](); } classChild(name, child) { - if (name == null) dart.nullFailed(I[11], 644, 21, "name"); - if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + if (name == null) dart.nullFailed(I[12], 644, 21, "name"); + if (child == null) dart.nullFailed(I[12], 644, 34, "child"); let typeName = _debugger.getTypeName(child); return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); } + static ['_#new#tearOff']() { + return new _debugger.LibraryFormatter.new(); + } }; (_debugger.LibraryFormatter.new = function() { this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); @@ -11069,7 +11925,7 @@ define([], (function load__dart_sdk() { children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) })); - dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); + dart.setLibraryUri(_debugger.LibraryFormatter, I[13]); dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) @@ -11096,6 +11952,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.FunctionFormatter.new(); + } }; (_debugger.FunctionFormatter.new = function() { ; @@ -11110,7 +11969,7 @@ define([], (function load__dart_sdk() { preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); + dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { accept(object, config) { return core.Map.is(object); @@ -11133,6 +11992,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); } + static ['_#new#tearOff']() { + return new _debugger.MapOverviewFormatter.new(); + } }; (_debugger.MapOverviewFormatter.new = function() { ; @@ -11147,7 +12009,7 @@ define([], (function load__dart_sdk() { preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); + dart.setLibraryUri(_debugger.MapOverviewFormatter, I[13]); _debugger.MapFormatter = class MapFormatter extends core.Object { accept(object, config) { return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); @@ -11177,6 +12039,9 @@ define([], (function load__dart_sdk() { _debugger.addMetadataChildren(object, entries); return entries[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.MapFormatter.new(); + } }; (_debugger.MapFormatter.new = function() { ; @@ -11191,7 +12056,7 @@ define([], (function load__dart_sdk() { preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.MapFormatter, I[12]); + dart.setLibraryUri(_debugger.MapFormatter, I[13]); _debugger.IterableFormatter = class IterableFormatter extends core.Object { accept(object, config) { return core.Iterable.is(object); @@ -11218,6 +12083,9 @@ define([], (function load__dart_sdk() { _debugger.addMetadataChildren(object, children); return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.IterableFormatter.new(); + } }; (_debugger.IterableFormatter.new = function() { ; @@ -11232,7 +12100,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.IterableFormatter, I[12]); + dart.setLibraryUri(_debugger.IterableFormatter, I[13]); _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { accept(object, config) { return _debugger.NamedConstructor.is(object); @@ -11246,6 +12114,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.NamedConstructorFormatter.new(); + } }; (_debugger.NamedConstructorFormatter.new = function() { ; @@ -11260,7 +12131,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); + dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { accept(object, config) { return _debugger.MapEntry.is(object); @@ -11275,6 +12146,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); } + static ['_#new#tearOff']() { + return new _debugger.MapEntryFormatter.new(); + } }; (_debugger.MapEntryFormatter.new = function() { ; @@ -11289,14 +12163,14 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); + dart.setLibraryUri(_debugger.MapEntryFormatter, I[13]); _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { accept(object, config) { return _debugger.HeritageClause.is(object); } preview(object) { let clause = _debugger.HeritageClause.as(object); - let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + let typeNames = clause.types[$map](core.String, C[8] || CT.C8); return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); } hasChildren(object) { @@ -11310,6 +12184,9 @@ define([], (function load__dart_sdk() { } return children; } + static ['_#new#tearOff']() { + return new _debugger.HeritageClauseFormatter.new(); + } }; (_debugger.HeritageClauseFormatter.new = function() { ; @@ -11324,7 +12201,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); + dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { accept(object, config) { return _debugger.IterableSpan.is(object); @@ -11338,6 +12215,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); } + static ['_#new#tearOff']() { + return new _debugger.IterableSpanFormatter.new(); + } }; (_debugger.IterableSpanFormatter.new = function() { ; @@ -11352,7 +12232,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); + dart.setLibraryUri(_debugger.IterableSpanFormatter, I[13]); _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { accept(object, config) { return core.Error.is(object) || core.Exception.is(object); @@ -11363,7 +12243,7 @@ define([], (function load__dart_sdk() { preview(object) { let trace = dart.stackTrace(object); let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { - if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + if (l == null) dart.nullFailed(I[12], 862, 10, "l"); return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); @@ -11377,9 +12257,12 @@ define([], (function load__dart_sdk() { return entries[$toList](); } addInstanceMembers(object, ret) { - if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + if (ret == null) dart.nullFailed(I[12], 880, 54, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); } + static ['_#new#tearOff']() { + return new _debugger.ErrorAndExceptionFormatter.new(); + } }; (_debugger.ErrorAndExceptionFormatter.new = function() { ; @@ -11391,7 +12274,8 @@ define([], (function load__dart_sdk() { children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) })); - dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); + dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[13]); + dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { return core.RegExp.new("\\d+\\:\\d+"); @@ -11409,10 +12293,13 @@ define([], (function load__dart_sdk() { } children(object) { return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { - if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + if (line == null) dart.nullFailed(I[12], 901, 13, "line"); return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); }, T$.StringToNameValuePair()))[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.StackTraceFormatter.new(); + } }; (_debugger.StackTraceFormatter.new = function() { ; @@ -11427,7 +12314,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); + dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); _debugger.ClassFormatter = class ClassFormatter extends core.Object { accept(object, config) { return dart.equals(config, _debugger.JsonMLConfig.asClass); @@ -11436,7 +12323,7 @@ define([], (function load__dart_sdk() { let $implements = dart.getImplements(type); let typeName = _debugger.getTypeName(type); if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + let typeNames = $implements()[$map](core.String, C[8] || CT.C8); return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); } else { return typeName; @@ -11446,30 +12333,16 @@ define([], (function load__dart_sdk() { return true; } children(type) { - let t17, t17$; + let t12; let ret = new (T$._HashSetOfNameValuePair()).new(); - let staticProperties = new (T$._HashSetOfNameValuePair()).new(); - let staticMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); - if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { - t17 = ret; - (() => { - t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); - t17.addAll(_debugger.sortProperties(staticProperties)); - t17.addAll(_debugger.sortProperties(staticMethods)); - return t17; - })(); - } let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); if (dart.test(instanceMethods[$isNotEmpty])) { - t17$ = ret; + t12 = ret; (() => { - t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t17$.addAll(_debugger.sortProperties(instanceMethods)); - return t17$; + t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t12.addAll(_debugger.sortProperties(instanceMethods)); + return t12; })(); } let mixin = dart.getMixin(type); @@ -11482,6 +12355,9 @@ define([], (function load__dart_sdk() { } return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ClassFormatter.new(); + } }; (_debugger.ClassFormatter.new = function() { ; @@ -11496,7 +12372,7 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.ClassFormatter, I[12]); + dart.setLibraryUri(_debugger.ClassFormatter, I[13]); _debugger.TypeFormatter = class TypeFormatter extends core.Object { accept(object, config) { return core.Type.is(object); @@ -11510,6 +12386,9 @@ define([], (function load__dart_sdk() { children(object) { return T$.JSArrayOfNameValuePair().of([]); } + static ['_#new#tearOff']() { + return new _debugger.TypeFormatter.new(); + } }; (_debugger.TypeFormatter.new = function() { ; @@ -11524,11 +12403,17 @@ define([], (function load__dart_sdk() { hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); - dart.setLibraryUri(_debugger.TypeFormatter, I[12]); - _debugger._MethodStats = class _MethodStats extends core.Object {}; + dart.setLibraryUri(_debugger.TypeFormatter, I[13]); + _debugger._MethodStats = class _MethodStats extends core.Object { + static ['_#new#tearOff'](typeName, frame) { + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); + return new _debugger._MethodStats.new(typeName, frame); + } + }; (_debugger._MethodStats.new = function(typeName, frame) { - if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); this.count = 0.0; this.typeName = typeName; this.frame = frame; @@ -11536,14 +12421,18 @@ define([], (function load__dart_sdk() { }).prototype = _debugger._MethodStats.prototype; dart.addTypeTests(_debugger._MethodStats); dart.addTypeCaches(_debugger._MethodStats); - dart.setLibraryUri(_debugger._MethodStats, I[12]); + dart.setLibraryUri(_debugger._MethodStats, I[13]); dart.setFieldSignature(_debugger._MethodStats, () => ({ __proto__: dart.getFields(_debugger._MethodStats.__proto__), typeName: dart.finalFieldType(core.String), frame: dart.finalFieldType(core.String), count: dart.fieldType(core.double) })); - _debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; + _debugger._CallMethodRecord = class _CallMethodRecord extends core.Object { + static ['_#new#tearOff'](jsError, type) { + return new _debugger._CallMethodRecord.new(jsError, type); + } + }; (_debugger._CallMethodRecord.new = function(jsError, type) { this.jsError = jsError; this.type = type; @@ -11551,7 +12440,7 @@ define([], (function load__dart_sdk() { }).prototype = _debugger._CallMethodRecord.prototype; dart.addTypeTests(_debugger._CallMethodRecord); dart.addTypeCaches(_debugger._CallMethodRecord); - dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); + dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), jsError: dart.fieldType(dart.dynamic), @@ -11567,17 +12456,17 @@ define([], (function load__dart_sdk() { return Object.getOwnPropertySymbols(object); }; _debugger.addMetadataChildren = function addMetadataChildren(object, ret) { - if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + if (ret == null) dart.nullFailed(I[12], 63, 53, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); }; _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { - let t17; - if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); - if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let t12; + if (properties == null) dart.nullFailed(I[12], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[12], 75, 54, "walkPrototypeChain"); let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; - let skippedNames = (t17 = new collection._HashSet.new(), (() => { - t17.add("hashCode"); - return t17; + let skippedNames = (t12 = new collection._HashSet.new(), (() => { + t12.add("hashCode"); + return t12; })()); let objectPrototype = Object.prototype; while (sig != null && !core.identical(sig, objectPrototype)) { @@ -11607,11 +12496,11 @@ define([], (function load__dart_sdk() { } }; _debugger.sortProperties = function sortProperties(properties) { - if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + if (properties == null) dart.nullFailed(I[12], 115, 60, "properties"); let sortedProperties = properties[$toList](); sortedProperties[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[11], 118, 26, "a"); - if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + if (a == null) dart.nullFailed(I[12], 118, 26, "a"); + if (b == null) dart.nullFailed(I[12], 118, 29, "b"); let aPrivate = a.name[$startsWith]("_"); let bPrivate = b.name[$startsWith]("_"); if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; @@ -11647,11 +12536,11 @@ define([], (function load__dart_sdk() { }; _debugger.symbolName = function symbolName(symbol) { let name = dart.toString(symbol); - if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[12], 157, 10, "name.startsWith('Symbol(')"); return name[$substring]("Symbol(".length, name.length - 1); }; _debugger.hasMethod = function hasMethod$(object, name) { - if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + if (name == null) dart.nullFailed(I[12], 161, 31, "name"); try { return dart.hasMethod(object, name); } catch (e$) { @@ -11663,8 +12552,8 @@ define([], (function load__dart_sdk() { } }; _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { - if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); - if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + if (protoChain == null) dart.nullFailed(I[12], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[12], 267, 51, "name"); try { return _debugger.JSNative.getProperty(protoChain, name); } catch (e$) { @@ -11677,7 +12566,7 @@ define([], (function load__dart_sdk() { }; _debugger.safeProperties = function safeProperties(object) { return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { - if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + if (each == null) dart.nullFailed(I[12], 277, 17, "each"); return _debugger.safeGetProperty(core.Object.as(object), each) != null; }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); }; @@ -11696,11 +12585,11 @@ define([], (function load__dart_sdk() { return dart.getModuleNames(); }; _debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); return dart.getModuleLibraries(name); }; _debugger.getDynamicStats = function getDynamicStats() { - let t20; + let t15; let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); @@ -11708,15 +12597,15 @@ define([], (function load__dart_sdk() { let stackStr = record.jsError.stack; let frames = stackStr[$split]("\n"); let src = frames[$skip](2)[$map](core.String, dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + if (f == null) dart.nullFailed(I[14], 66, 17, "f"); return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); }, T$.StringToString()))[$firstWhere](dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + if (f == null) dart.nullFailed(I[14], 68, 24, "f"); return !f[$startsWith]("dart:"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); let actualTypeName = dart.typeName(record.type); - t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); - t20.count = dart.notNull(t20.count) + recordRatio; + t15 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t15.count = dart.notNull(t15.count) + recordRatio; } if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { for (let k of callMethodStats[$keys][$toList]()) { @@ -11732,8 +12621,8 @@ define([], (function load__dart_sdk() { _debugger._totalCallRecords = 0; let keys = callMethodStats[$keys][$toList](); keys[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[13], 94, 8, "a"); - if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + if (a == null) dart.nullFailed(I[14], 94, 8, "a"); + if (b == null) dart.nullFailed(I[14], 94, 11, "b"); return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); }, T$.StringAndStringToint())); let ret = T$.JSArrayOfListOfObject().of([]); @@ -11774,35 +12663,51 @@ define([], (function load__dart_sdk() { /*_debugger._maxSpanLength*/get _maxSpanLength() { return 100; }, - set _maxSpanLength(_) {}, + set _maxSpanLength(value) { + if (value == null) dart.nullFailed(I[12], 40, 5, "_maxSpanLength"); + }, /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); }, - set _devtoolsFormatter(_) {}, + set _devtoolsFormatter(value) { + if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); + }, /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { return 100; }, - set maxFormatterStringLength(_) {}, + set maxFormatterStringLength(value) { + if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); + }, /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { return 5000; }, - set _callRecordSampleSize(_) {}, + set _callRecordSampleSize(value) { + if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); + }, /*_debugger._callMethodRecords*/get _callMethodRecords() { return T$.JSArrayOf_CallMethodRecord().of([]); }, - set _callMethodRecords(_) {}, + set _callMethodRecords(value) { + if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); + }, /*_debugger._totalCallRecords*/get _totalCallRecords() { return 0; }, - set _totalCallRecords(_) {}, + set _totalCallRecords(value) { + if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); + }, /*_debugger._minCount*/get _minCount() { return 2; }, - set _minCount(_) {}, + set _minCount(value) { + if (value == null) dart.nullFailed(I[14], 38, 5, "_minCount"); + }, /*_debugger._frameMappingCache*/get _frameMappingCache() { return new (T$.IdentityMapOfString$String()).new(); }, - set _frameMappingCache(_) {} + set _frameMappingCache(value) { + if (value == null) dart.nullFailed(I[14], 44, 5, "_frameMappingCache"); + } }, false); var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); _foreign_helper.JSExportName = class JSExportName extends core.Object { @@ -11812,15 +12717,19 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); + return new _foreign_helper.JSExportName.new(name); + } }; (_foreign_helper.JSExportName.new = function(name) { - if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); this[name$4] = name; ; }).prototype = _foreign_helper.JSExportName.prototype; dart.addTypeTests(_foreign_helper.JSExportName); dart.addTypeCaches(_foreign_helper.JSExportName); - dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); + dart.setLibraryUri(_foreign_helper.JSExportName, I[16]); dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), name: dart.finalFieldType(core.String) @@ -11833,41 +12742,63 @@ define([], (function load__dart_sdk() { set code(value) { super.code = value; } + static ['_#new#tearOff'](code) { + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); + return new _foreign_helper.JS_CONST.new(code); + } }; (_foreign_helper.JS_CONST.new = function(code) { - if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); this[code$] = code; ; }).prototype = _foreign_helper.JS_CONST.prototype; dart.addTypeTests(_foreign_helper.JS_CONST); dart.addTypeCaches(_foreign_helper.JS_CONST); - dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); + dart.setLibraryUri(_foreign_helper.JS_CONST, I[16]); dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), code: dart.finalFieldType(core.String) })); - _foreign_helper._Rest = class _Rest extends core.Object {}; + _foreign_helper._Rest = class _Rest extends core.Object { + static ['_#new#tearOff']() { + return new _foreign_helper._Rest.new(); + } + }; (_foreign_helper._Rest.new = function() { ; }).prototype = _foreign_helper._Rest.prototype; dart.addTypeTests(_foreign_helper._Rest); dart.addTypeCaches(_foreign_helper._Rest); - dart.setLibraryUri(_foreign_helper._Rest, I[15]); + dart.setLibraryUri(_foreign_helper._Rest, I[16]); _foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { }; _foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { - if (type == null) dart.nullFailed(I[14], 157, 30, "type"); + if (type == null) dart.nullFailed(I[15], 162, 30, "type"); }; _foreign_helper.JS_EFFECT = function JS_EFFECT(code) { - if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + if (code == null) dart.nullFailed(I[15], 250, 25, "code"); dart.dcall(code, [null]); }; _foreign_helper.spread = function spread(args) { dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); }; + _foreign_helper.getInterceptor = function getInterceptor(obj) { + let classRef = null; + if (obj == null) { + classRef = core.Null; + } else if (typeof obj === "function") { + let signature = obj.$signature; + if (signature != null) classRef = core.Function; + } + if (classRef == null) dart.throw("Unknown interceptor for object: (" + dart.str(obj) + ")"); + return classRef.prototype; + }; + _foreign_helper.getJSArrayInteropRti = function getJSArrayInteropRti() { + return _interceptors.JSArray; + }; dart.defineLazy(_foreign_helper, { /*_foreign_helper.rest*/get rest() { - return C[8] || CT.C8; + return C[9] || CT.C9; } }, false); _interceptors.Interceptor = class Interceptor extends core.Object { @@ -11880,9 +12811,12 @@ define([], (function load__dart_sdk() { }).prototype = _interceptors.Interceptor.prototype; dart.addTypeTests(_interceptors.Interceptor); dart.addTypeCaches(_interceptors.Interceptor); - dart.setLibraryUri(_interceptors.Interceptor, I[16]); + dart.setLibraryUri(_interceptors.Interceptor, I[17]); dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); _interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSBool.new(); + } [$toString]() { return String(this); } @@ -11918,7 +12852,7 @@ define([], (function load__dart_sdk() { [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); - dart.setLibraryUri(_interceptors.JSBool, I[16]); + dart.setLibraryUri(_interceptors.JSBool, I[17]); dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); dart.registerExtension("Boolean", _interceptors.JSBool); const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); @@ -11930,7 +12864,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JSIndexable); JSIndexable.prototype[_is_JSIndexable_default] = true; dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[16]); + dart.setLibraryUri(JSIndexable, I[17]); return JSIndexable; }); _interceptors.JSIndexable = _interceptors.JSIndexable$(); @@ -11944,7 +12878,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JSMutableIndexable); JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[16]); + dart.setLibraryUri(JSMutableIndexable, I[17]); return JSMutableIndexable; }); _interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); @@ -11955,13 +12889,10 @@ define([], (function load__dart_sdk() { }).prototype = _interceptors.JSObject.prototype; dart.addTypeTests(_interceptors.JSObject); dart.addTypeCaches(_interceptors.JSObject); - dart.setLibraryUri(_interceptors.JSObject, I[16]); + dart.setLibraryUri(_interceptors.JSObject, I[17]); _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - get hashCode() { - return 0; - } - get runtimeType() { - return dart.wrapType(_interceptors.JSObject); + static ['_#new#tearOff']() { + return new _interceptors.JavaScriptObject.new(); } }; (_interceptors.JavaScriptObject.new = function() { @@ -11970,20 +12901,35 @@ define([], (function load__dart_sdk() { }).prototype = _interceptors.JavaScriptObject.prototype; dart.addTypeTests(_interceptors.JavaScriptObject); dart.addTypeCaches(_interceptors.JavaScriptObject); - _interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; - dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); - dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); - _interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; + dart.setLibraryUri(_interceptors.JavaScriptObject, I[17]); + _interceptors.LegacyJavaScriptObject = class LegacyJavaScriptObject extends _interceptors.JavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.LegacyJavaScriptObject.new(); + } + }; + (_interceptors.LegacyJavaScriptObject.new = function() { + _interceptors.LegacyJavaScriptObject.__proto__.new.call(this); + ; + }).prototype = _interceptors.LegacyJavaScriptObject.prototype; + dart.addTypeTests(_interceptors.LegacyJavaScriptObject); + dart.addTypeCaches(_interceptors.LegacyJavaScriptObject); + _interceptors.LegacyJavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; + dart.setLibraryUri(_interceptors.LegacyJavaScriptObject, I[17]); + _interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.PlainJavaScriptObject.new(); + } + }; (_interceptors.PlainJavaScriptObject.new = function() { _interceptors.PlainJavaScriptObject.__proto__.new.call(this); ; }).prototype = _interceptors.PlainJavaScriptObject.prototype; dart.addTypeTests(_interceptors.PlainJavaScriptObject); dart.addTypeCaches(_interceptors.PlainJavaScriptObject); - dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); - _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { - toString() { - return String(this); + dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[17]); + _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.UnknownJavaScriptObject.new(); } }; (_interceptors.UnknownJavaScriptObject.new = function() { @@ -11992,12 +12938,14 @@ define([], (function load__dart_sdk() { }).prototype = _interceptors.UnknownJavaScriptObject.prototype; dart.addTypeTests(_interceptors.UnknownJavaScriptObject); dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); - dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); - dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); + dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[17]); _interceptors.NativeError = class NativeError extends _interceptors.Interceptor { dartStack() { return this.stack; } + static ['_#new#tearOff']() { + return new _interceptors.NativeError.new(); + } }; (_interceptors.NativeError.new = function() { _interceptors.NativeError.__proto__.new.call(this); @@ -12010,7 +12958,7 @@ define([], (function load__dart_sdk() { dartStack: dart.fnType(core.String, []), [$dartStack]: dart.fnType(core.String, []) })); - dart.setLibraryUri(_interceptors.NativeError, I[16]); + dart.setLibraryUri(_interceptors.NativeError, I[17]); dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); var _fieldName = dart.privateName(_interceptors, "_fieldName"); var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); @@ -12026,16 +12974,16 @@ define([], (function load__dart_sdk() { var _namedArguments$ = dart.privateName(core, "_namedArguments"); _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { [_fieldName](message) { - let t20; - if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let t15; + if (message == null) dart.nullFailed(I[18], 131, 29, "message"); let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); if (match == null) return null; let name = dart.nullCheck(match._get(1)); - match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + match = (t15 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t15 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t15); return match != null ? match._get(1) : name; } [_functionCallTarget](message) { - if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + if (message == null) dart.nullFailed(I[18], 139, 38, "message"); let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); return match != null ? match._get(1) : null; } @@ -12059,20 +13007,23 @@ define([], (function load__dart_sdk() { } return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; } + static ['_#new#tearOff']() { + return new _interceptors.JSNoSuchMethodError.new(); + } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); } }; (_interceptors.JSNoSuchMethodError.new = function() { @@ -12096,7 +13047,8 @@ define([], (function load__dart_sdk() { [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); - dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); + dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[17]); + dart.setStaticFieldSignature(_interceptors.JSNoSuchMethodError, () => ['_nullError', '_notAFunction', '_extensionName', '_privateName']); dart.defineLazy(_interceptors.JSNoSuchMethodError, { /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { return core.RegExp.new("^Cannot read property '(.+)' of null$"); @@ -12119,10 +13071,40 @@ define([], (function load__dart_sdk() { } [$_equals](other) { if (other == null) return false; - if (other == null) return false; - let boundObj = this._boundObject; - if (boundObj == null) return this === other; - return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + if (this === other) return true; + let boundObj = null; + let otherFn = null; + let originalFn = this._originalFn; + if (originalFn == null) { + boundObj = this._boundObject; + if (boundObj == null) return false; + originalFn = this; + otherFn = other; + } else { + let typeArgs = this._typeArgs; + let otherTypeArgs = other._typeArgs; + { + let typeArgCount = typeArgs.length; + if (!otherTypeArgs || typeArgCount !== otherTypeArgs.length) { + return false; + } + for (let i = 0; i < typeArgCount; i = i + 1) { + { + let typeArg = typeArgs[i]; + let otherTypeArg = otherTypeArgs[i]; + if (dart.wrapType(typeArg) !== dart.wrapType(otherTypeArg)) { + return false; + } + } + } + } + boundObj = originalFn._boundObject; + otherFn = other._originalFn; + if (boundObj == null) { + return originalFn === otherFn; + } + } + return boundObj === otherFn._boundObject && originalFn._boundMethod === otherFn._boundMethod; } get [$hashCode]() { let boundObj = this._boundObject; @@ -12134,6 +13116,9 @@ define([], (function load__dart_sdk() { get [$runtimeType]() { return dart.wrapType(dart.getReifiedType(this)); } + static ['_#new#tearOff']() { + return new _interceptors.JSFunction.new(); + } }; (_interceptors.JSFunction.new = function() { _interceptors.JSFunction.__proto__.new.call(this); @@ -12141,23 +13126,26 @@ define([], (function load__dart_sdk() { }).prototype = _interceptors.JSFunction.prototype; dart.addTypeTests(_interceptors.JSFunction); dart.addTypeCaches(_interceptors.JSFunction); - dart.setLibraryUri(_interceptors.JSFunction, I[16]); + dart.setLibraryUri(_interceptors.JSFunction, I[17]); dart.registerExtension("Function", _interceptors.JSFunction); _interceptors.JSNull = class JSNull extends core.Object { toString() { return "null"; } noSuchMethod(i) { - if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + if (i == null) dart.nullFailed(I[18], 280, 27, "i"); return dart.defaultNoSuchMethod(null, i); } + static ['_#new#tearOff']() { + return new _interceptors.JSNull.new(); + } }; (_interceptors.JSNull.new = function() { ; }).prototype = _interceptors.JSNull.prototype; dart.addTypeTests(_interceptors.JSNull); dart.addTypeCaches(_interceptors.JSNull); - dart.setLibraryUri(_interceptors.JSNull, I[16]); + dart.setLibraryUri(_interceptors.JSNull, I[17]); dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); var _hasValue = dart.privateName(_interceptors, "_hasValue"); var _hasValue$ = dart.privateName(core, "_hasValue"); @@ -12181,14 +13169,17 @@ define([], (function load__dart_sdk() { [$toString]() { return "Invalid argument: " + dart.str(this[$message]); } + static ['_#new#tearOff']() { + return new _interceptors.JSRangeError.new(); + } get [_hasValue$]() { - return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); } get [_errorExplanation$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); } get [_errorName$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); } }; (_interceptors.JSRangeError.new = function() { @@ -12208,41 +13199,54 @@ define([], (function load__dart_sdk() { [_errorExplanation$]: core.String, [_errorName$]: core.String })); - dart.setLibraryUri(_interceptors.JSRangeError, I[16]); + dart.setLibraryUri(_interceptors.JSRangeError, I[17]); dart.registerExtension("RangeError", _interceptors.JSRangeError); var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); const _is_JSArray_default = Symbol('_is_JSArray_default'); _interceptors.JSArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$EAndEToint = () => (__t$EAndEToint = dart.constFn(dart.fnType(core.int, [E, E])))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$ArrayIteratorOfE = () => (__t$ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); class JSArray extends core.Object { constructor() { return []; } + static ['_#new#tearOff'](E) { + return new (_interceptors.JSArray$(E)).new(); + } + static ['_#of#tearOff'](E, list) { + return _interceptors.JSArray$(E).of(list); + } static of(list) { list.__proto__ = JSArray.prototype; return list; } + static ['_#fixed#tearOff'](E, list) { + return _interceptors.JSArray$(E).fixed(list); + } static fixed(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; return list; } + static ['_#unmodifiable#tearOff'](E, list) { + return _interceptors.JSArray$(E).unmodifiable(list); + } static unmodifiable(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; @@ -12293,8 +13297,8 @@ define([], (function load__dart_sdk() { } [$insertAll](index, iterable) { if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 93, 52, "iterable"); this[$checkGrowable]("insertAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (!_internal.EfficientLengthIterable.is(iterable)) { @@ -12307,14 +13311,14 @@ define([], (function load__dart_sdk() { this[$setRange](index, end, iterable); } [$setAll](index, iterable) { - let t20; + let t15; if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 107, 49, "iterable"); this[$checkMutable]("setAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); for (let element of iterable) { - this[$_set]((t20 = index, index = t20 + 1, t20), element); + this[$_set]((t15 = index, index = t15 + 1, t15), element); } } [$removeLast]() { @@ -12334,18 +13338,18 @@ define([], (function load__dart_sdk() { return false; } [$removeWhere](test) { - if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + if (test == null) dart.nullFailed(I[19], 136, 37, "test"); this[$checkGrowable]("removeWhere"); this[_removeWhere](test, true); } [$retainWhere](test) { - if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + if (test == null) dart.nullFailed(I[19], 141, 37, "test"); this[$checkGrowable]("retainWhere"); this[_removeWhere](test, false); } [_removeWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[18], 146, 38, "test"); - if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + if (test == null) dart.nullFailed(I[19], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[19], 146, 49, "removeMatching"); let retained = []; let end = this[$length]; for (let i = 0; i < end; i = i + 1) { @@ -12363,20 +13367,20 @@ define([], (function load__dart_sdk() { } } [$where](f) { - if (f == null) dart.nullFailed(I[18], 175, 38, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[19], 175, 38, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } [$expand](T, f) { - if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + if (f == null) dart.nullFailed(I[19], 179, 49, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } [$addAll](collection) { - IterableOfE().as(collection); - if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + __t$IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[19], 183, 27, "collection"); let i = this[$length]; this[$checkGrowable]("addAll"); for (let e of collection) { - if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); i = i + 1; this.push(e); } @@ -12385,7 +13389,7 @@ define([], (function load__dart_sdk() { this[$length] = 0; } [$forEach](f) { - if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + if (f == null) dart.nullFailed(I[19], 197, 33, "f"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12394,11 +13398,11 @@ define([], (function load__dart_sdk() { } } [$map](T, f) { - if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + if (f == null) dart.nullFailed(I[19], 206, 36, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } [$join](separator = "") { - if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + if (separator == null) dart.nullFailed(I[19], 210, 23, "separator"); let length = this[$length]; let list = T$.ListOfString().filled(length, ""); for (let i = 0; i < length; i = i + 1) { @@ -12407,24 +13411,24 @@ define([], (function load__dart_sdk() { return list.join(separator); } [$take](n) { - if (n == null) dart.nullFailed(I[18], 219, 24, "n"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + if (n == null) dart.nullFailed(I[19], 219, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); } [$takeWhile](test) { - if (test == null) dart.nullFailed(I[18], 223, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 223, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } [$skip](n) { - if (n == null) dart.nullFailed(I[18], 227, 24, "n"); - return new (SubListIterableOfE()).new(this, n, null); + if (n == null) dart.nullFailed(I[19], 227, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, n, null); } [$skipWhile](test) { - if (test == null) dart.nullFailed(I[18], 231, 42, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 231, 42, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } [$reduce](combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[19], 235, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -12436,7 +13440,7 @@ define([], (function load__dart_sdk() { return value; } [$fold](T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + if (combine == null) dart.nullFailed(I[19], 247, 68, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < length; i = i + 1) { @@ -12447,9 +13451,9 @@ define([], (function load__dart_sdk() { return value; } [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + if (test == null) dart.nullFailed(I[19], 258, 33, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12460,9 +13464,9 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + if (test == null) dart.nullFailed(I[19], 269, 32, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = length - 1; i >= 0; i = i - 1) { let element = this[i]; @@ -12475,9 +13479,9 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + if (test == null) dart.nullFailed(I[19], 282, 34, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let matchFound = false; @@ -12499,7 +13503,7 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + if (index == null) dart.nullFailed(I[19], 304, 19, "index"); return this[$_get](index); } [$sublist](start, end = null) { @@ -12515,14 +13519,14 @@ define([], (function load__dart_sdk() { dart.throw(new core.RangeError.range(end, start, this[$length], "end")); } } - if (start === end) return JSArrayOfE().of([]); - return JSArrayOfE().of(this.slice(start, end)); + if (start === end) return __t$JSArrayOfE().of([]); + return __t$JSArrayOfE().of(this.slice(start, end)); } [$getRange](start, end) { - if (start == null) dart.nullFailed(I[18], 325, 28, "start"); - if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + if (start == null) dart.nullFailed(I[19], 325, 28, "start"); + if (end == null) dart.nullFailed(I[19], 325, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } get [$first]() { if (this[$length] > 0) return this[$_get](0); @@ -12548,17 +13552,17 @@ define([], (function load__dart_sdk() { [$setRange](start, end, iterable, skipCount = 0) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 353, 71, "iterable"); if (skipCount == null) dart.argumentError(skipCount); this[$checkMutable]("set range"); core.RangeError.checkValidRange(start, end, this[$length]); let length = end - start; if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); - let otherList = JSArrayOfE().of([]); + let otherList = __t$JSArrayOfE().of([]); let otherStart = 0; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -12583,7 +13587,7 @@ define([], (function load__dart_sdk() { [$fillRange](start, end, fillValue = null) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - EN().as(fillValue); + __t$EN().as(fillValue); this[$checkMutable]("fill range"); core.RangeError.checkValidRange(start, end, this[$length]); let checkedFillValue = E.as(fillValue); @@ -12594,8 +13598,8 @@ define([], (function load__dart_sdk() { [$replaceRange](start, end, replacement) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(replacement); - if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + __t$IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[19], 404, 61, "replacement"); this[$checkGrowable]("replace range"); core.RangeError.checkValidRange(start, end, this[$length]); if (!_internal.EfficientLengthIterable.is(replacement)) { @@ -12622,7 +13626,7 @@ define([], (function load__dart_sdk() { } } [$any](test) { - if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + if (test == null) dart.nullFailed(I[19], 432, 29, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12632,7 +13636,7 @@ define([], (function load__dart_sdk() { return false; } [$every](test) { - if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + if (test == null) dart.nullFailed(I[19], 442, 31, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12642,12 +13646,12 @@ define([], (function load__dart_sdk() { return true; } get [$reversed]() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } [$sort](compare = null) { this[$checkMutable]("sort"); if (compare == null) { - _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), __t$EAndEToint())); } else { _internal.Sort.sort(E, this, compare); } @@ -12681,8 +13685,8 @@ define([], (function load__dart_sdk() { return -1; } [$lastIndexOf](element, startIndex = null) { - let t20; - let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + let t15; + let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); if (start >= this[$length]) { start = this[$length] - 1; } else if (start < 0) { @@ -12717,13 +13721,13 @@ define([], (function load__dart_sdk() { if (growable == null) dart.argumentError(growable); let list = this.slice(); if (!growable) _interceptors.JSArray.markFixedList(list); - return JSArrayOfE().of(list); + return __t$JSArrayOfE().of(list); } [$toSet]() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get [$iterator]() { - return new (ArrayIteratorOfE()).new(this); + return new (__t$ArrayIteratorOfE()).new(this); } get [$hashCode]() { return core.identityHashCode(this); @@ -12745,56 +13749,56 @@ define([], (function load__dart_sdk() { this.length = newLength; } [_setLengthUnsafe](newLength) { - if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (newLength == null) dart.nullFailed(I[19], 566, 29, "newLength"); if (dart.notNull(newLength) < 0) { dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); } this.length = newLength; } [$_get](index) { - if (index == null) dart.nullFailed(I[18], 576, 21, "index"); - if (index == null || index >= this.length || index < 0) { + if (index == null) dart.nullFailed(I[19], 576, 21, "index"); + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + if (index == null) dart.nullFailed(I[19], 586, 25, "index"); E.as(value); this[$checkMutable]("indexed set"); - if (index == null || index >= this.length || index < 0) { + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } this[index] = value; return value$; } [$asMap]() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } get [$runtimeType]() { return dart.wrapType(core.List$(E)); } [$followedBy](other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[18], 603, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[19], 603, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } [$whereType](T) { return new (_internal.WhereTypeIterable$(T)).new(this); } [$plus](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[19], 608, 30, "other"); return (() => { - let t20 = ListOfE().of(this); - t20[$addAll](other); - return t20; + let t15 = __t$ListOfE().of(this); + t15[$addAll](other); + return t15; })(); } [$indexWhere](test, start = 0) { - if (test == null) dart.nullFailed(I[18], 610, 35, "test"); - if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (test == null) dart.nullFailed(I[19], 610, 35, "test"); + if (start == null) dart.nullFailed(I[19], 610, 46, "start"); if (dart.notNull(start) >= this[$length]) return -1; if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { @@ -12803,7 +13807,7 @@ define([], (function load__dart_sdk() { return -1; } [$lastIndexWhere](test, start = null) { - if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (test == null) dart.nullFailed(I[19], 619, 39, "test"); if (start == null) start = this[$length] - 1; if (dart.notNull(start) < 0) return -1; for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -12813,12 +13817,12 @@ define([], (function load__dart_sdk() { } set [$first](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](0, element); } set [$last](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](this[$length] - 1, element); } } @@ -12888,6 +13892,7 @@ define([], (function load__dart_sdk() { [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(JSArray, () => ['of', 'fixed', 'unmodifiable', 'markFixedList', 'markUnmodifiableList']); dart.setGetterSignature(JSArray, () => ({ __proto__: dart.getGetters(JSArray.__proto__), [$first]: E, @@ -12905,7 +13910,7 @@ define([], (function load__dart_sdk() { [$first]: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(JSArray, I[16]); + dart.setLibraryUri(JSArray, I[17]); return JSArray; }); _interceptors.JSArray = _interceptors.JSArray$(); @@ -12913,7 +13918,11 @@ define([], (function load__dart_sdk() { dart.registerExtension("Array", _interceptors.JSArray); const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); _interceptors.JSMutableArray$ = dart.generic(E => { - class JSMutableArray extends _interceptors.JSArray$(E) {} + class JSMutableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSMutableArray$(E)).new(); + } + } (JSMutableArray.new = function() { JSMutableArray.__proto__.new.call(this); ; @@ -12922,14 +13931,18 @@ define([], (function load__dart_sdk() { JSMutableArray.prototype[_is_JSMutableArray_default] = true; dart.addTypeCaches(JSMutableArray); JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - dart.setLibraryUri(JSMutableArray, I[16]); + dart.setLibraryUri(JSMutableArray, I[17]); return JSMutableArray; }); _interceptors.JSMutableArray = _interceptors.JSMutableArray$(); dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); _interceptors.JSFixedArray$ = dart.generic(E => { - class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + class JSFixedArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSFixedArray$(E)).new(); + } + } (JSFixedArray.new = function() { JSFixedArray.__proto__.new.call(this); ; @@ -12937,14 +13950,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JSFixedArray); JSFixedArray.prototype[_is_JSFixedArray_default] = true; dart.addTypeCaches(JSFixedArray); - dart.setLibraryUri(JSFixedArray, I[16]); + dart.setLibraryUri(JSFixedArray, I[17]); return JSFixedArray; }); _interceptors.JSFixedArray = _interceptors.JSFixedArray$(); dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); _interceptors.JSExtendableArray$ = dart.generic(E => { - class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + class JSExtendableArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSExtendableArray$(E)).new(); + } + } (JSExtendableArray.new = function() { JSExtendableArray.__proto__.new.call(this); ; @@ -12952,14 +13969,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JSExtendableArray); JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; dart.addTypeCaches(JSExtendableArray); - dart.setLibraryUri(JSExtendableArray, I[16]); + dart.setLibraryUri(JSExtendableArray, I[17]); return JSExtendableArray; }); _interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); _interceptors.JSUnmodifiableArray$ = dart.generic(E => { - class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + class JSUnmodifiableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSUnmodifiableArray$(E)).new(); + } + } (JSUnmodifiableArray.new = function() { JSUnmodifiableArray.__proto__.new.call(this); ; @@ -12967,7 +13988,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JSUnmodifiableArray); JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[16]); + dart.setLibraryUri(JSUnmodifiableArray, I[17]); return JSUnmodifiableArray; }); _interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); @@ -12979,6 +14000,10 @@ define([], (function load__dart_sdk() { const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); _interceptors.ArrayIterator$ = dart.generic(E => { class ArrayIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); + return new (_interceptors.ArrayIterator$(E)).new(iterable); + } get current() { return E.as(this[_current]); } @@ -12997,7 +14022,7 @@ define([], (function load__dart_sdk() { } } (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); this[_current] = null; this[_iterable] = iterable; this[_length] = iterable[$length]; @@ -13016,7 +14041,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(ArrayIterator.__proto__), current: E })); - dart.setLibraryUri(ArrayIterator, I[16]); + dart.setLibraryUri(ArrayIterator, I[17]); dart.setFieldSignature(ArrayIterator, () => ({ __proto__: dart.getFields(ArrayIterator.__proto__), [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), @@ -13034,6 +14059,9 @@ define([], (function load__dart_sdk() { var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSNumber.new(); + } [$compareTo](b) { core.num.as(b); if (b == null) dart.argumentError(b); @@ -13078,7 +14106,7 @@ define([], (function load__dart_sdk() { return Math.abs(this); } get [$sign]() { - return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + return this > 0 ? 1 : this < 0 ? -1 : this; } [$toInt]() { if (this >= -2147483648 && this <= 2147483647) { @@ -13181,7 +14209,7 @@ define([], (function load__dart_sdk() { return _interceptors.JSNumber._handleIEtoString(result); } static _handleIEtoString(result) { - if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + if (result == null) dart.nullFailed(I[20], 205, 42, "result"); let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); if (match == null) { dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); @@ -13240,7 +14268,9 @@ define([], (function load__dart_sdk() { [$modulo](other) { if (other == null) dart.argumentError(other); let result = this % other; - if (result === 0) return _interceptors.JSNumber.as(0); + if (result === 0) { + return 0; + } if (result > 0) return result; if (other < 0) { return result - other; @@ -13260,7 +14290,7 @@ define([], (function load__dart_sdk() { } } [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + if (other == null) dart.nullFailed(I[20], 321, 21, "other"); return (this / other)[$toInt](); } [$leftShift](other) { @@ -13340,11 +14370,12 @@ define([], (function load__dart_sdk() { return wordBits - _interceptors.JSNumber._clz32(nonneg); } static _clz32(uint32) { - return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + return Math.clz32(uint32); } [$modPow](e, m) { if (e == null) dart.argumentError(e); if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (e === 0) return 1; @@ -13445,6 +14476,7 @@ define([], (function load__dart_sdk() { } [$modInverse](m) { if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (m === 1) return 0; let t = this; @@ -13465,37 +14497,6 @@ define([], (function load__dart_sdk() { if (x === 1 || y === 1) return 1; return _interceptors.JSNumber._binaryGcd(x, y, false); } - static _bitCount(i) { - i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); - i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); - i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); - i = i + _interceptors.JSNumber._shru(i, 8); - i = i + _interceptors.JSNumber._shru(i, 16); - return i & 63; - } - static _shru(value, shift) { - if (value == null) dart.nullFailed(I[19], 613, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); - return value >>> shift; - } - static _shrs(value, shift) { - if (value == null) dart.nullFailed(I[19], 616, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); - return value >> shift; - } - static _ors(a, b) { - if (a == null) dart.nullFailed(I[19], 619, 23, "a"); - if (b == null) dart.nullFailed(I[19], 619, 30, "b"); - return a | b; - } - static _spread(i) { - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); - i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); - return i; - } [$bitNot]() { return ~this >>> 0; } @@ -13556,6 +14557,7 @@ define([], (function load__dart_sdk() { [$gcd]: dart.fnType(core.int, [core.int]), [$bitNot]: dart.fnType(core.int, []) })); + dart.setStaticMethodSignature(_interceptors.JSNumber, () => ['_handleIEtoString', '_clz32', '_binaryGcd']); dart.setGetterSignature(_interceptors.JSNumber, () => ({ __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), [$isNegative]: core.bool, @@ -13567,7 +14569,8 @@ define([], (function load__dart_sdk() { [$isOdd]: core.bool, [$bitLength]: core.int })); - dart.setLibraryUri(_interceptors.JSNumber, I[16]); + dart.setLibraryUri(_interceptors.JSNumber, I[17]); + dart.setStaticFieldSignature(_interceptors.JSNumber, () => ['_MIN_INT32', '_MAX_INT32']); dart.defineLazy(_interceptors.JSNumber, { /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { return -2147483648; @@ -13578,13 +14581,42 @@ define([], (function load__dart_sdk() { }, false); dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); dart.registerExtension("Number", _interceptors.JSNumber); + _interceptors.JSInt = class JSInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSInt.new(); + } + }; + (_interceptors.JSInt.new = function() { + _interceptors.JSInt.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSInt.prototype; + dart.addTypeTests(_interceptors.JSInt); + dart.addTypeCaches(_interceptors.JSInt); + _interceptors.JSInt[dart.implements] = () => [core.int]; + dart.setLibraryUri(_interceptors.JSInt, I[17]); + _interceptors.JSNumNotInt = class JSNumNotInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSNumNotInt.new(); + } + }; + (_interceptors.JSNumNotInt.new = function() { + _interceptors.JSNumNotInt.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSNumNotInt.prototype; + dart.addTypeTests(_interceptors.JSNumNotInt); + dart.addTypeCaches(_interceptors.JSNumNotInt); + _interceptors.JSNumNotInt[dart.implements] = () => [core.double]; + dart.setLibraryUri(_interceptors.JSNumNotInt, I[17]); var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); _interceptors.JSString = class JSString extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSString.new(); + } [$codeUnitAt](index) { if (index == null) dart.argumentError(index); let len = this.length; if (index < 0 || index >= len) { - dart.throw(new core.IndexError.new(index, this, "index", null, len)); + dart.throw(new core.IndexError.withLength(index, len, {indexable: this, name: "index"})); } return this.charCodeAt(index); } @@ -13625,30 +14657,30 @@ define([], (function load__dart_sdk() { return other === this[$substring](thisLength - otherLength); } [$replaceAll](from, to) { - if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (from == null) dart.nullFailed(I[21], 67, 29, "from"); if (to == null) dart.argumentError(to); return _js_helper.stringReplaceAllUnchecked(this, from, to); } [$replaceAllMapped](from, convert) { - if (from == null) dart.nullFailed(I[20], 72, 35, "from"); - if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + if (from == null) dart.nullFailed(I[21], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[21], 72, 64, "convert"); return this[$splitMapJoin](from, {onMatch: convert}); } [$splitMapJoin](from, opts) { - if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + if (from == null) dart.nullFailed(I[21], 77, 31, "from"); let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); } [$replaceFirst](from, to, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (from == null) dart.nullFailed(I[21], 83, 31, "from"); if (to == null) dart.argumentError(to); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); } [$replaceFirstMapped](from, replace, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (from == null) dart.nullFailed(I[21], 91, 15, "from"); if (replace == null) dart.argumentError(replace); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); @@ -13672,7 +14704,7 @@ define([], (function load__dart_sdk() { return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); } [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); let result = T$.JSArrayOfString().of([]); let start = 0; let length = 1; @@ -13693,7 +14725,7 @@ define([], (function load__dart_sdk() { return result; } [$startsWith](pattern, index = 0) { - if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 148, 27, "pattern"); if (index == null) dart.argumentError(index); let length = this.length; if (index < 0 || index > length) { @@ -13708,15 +14740,10 @@ define([], (function load__dart_sdk() { } return pattern[$matchAsPrefix](this, index) != null; } - [$substring](startIndex, _endIndex = null) { - let t21; - if (startIndex == null) dart.argumentError(startIndex); - let length = this.length; - let endIndex = (t21 = _endIndex, t21 == null ? length : t21); - if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); - if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); - if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); - return this.substring(startIndex, endIndex); + [$substring](start, end = null) { + if (start == null) dart.argumentError(start); + end = core.RangeError.checkValidRange(start, end, this.length); + return this.substring(start, end); } [$toLowerCase]() { return this.toLowerCase(); @@ -13735,13 +14762,13 @@ define([], (function load__dart_sdk() { case 32: case 133: case 160: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } switch (codeUnit) { @@ -13763,17 +14790,17 @@ define([], (function load__dart_sdk() { case 8287: case 12288: case 65279: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (string == null) dart.nullFailed(I[21], 243, 44, "string"); if (index == null) dart.argumentError(index); let stringLength = string.length; while (index < stringLength) { @@ -13786,7 +14813,7 @@ define([], (function load__dart_sdk() { return index; } static _skipTrailingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (string == null) dart.nullFailed(I[21], 262, 45, "string"); if (index == null) dart.argumentError(index); while (index > 0) { let codeUnit = string[$codeUnitAt](index - 1); @@ -13857,7 +14884,7 @@ define([], (function load__dart_sdk() { if (0 >= times) return ""; if (times === 1 || this.length === 0) return this; if (times !== times >>> 0) { - dart.throw(C[17] || CT.C17); + dart.throw(C[18] || CT.C18); } let result = ""; let s = this; @@ -13871,14 +14898,14 @@ define([], (function load__dart_sdk() { } [$padLeft](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + if (padding == null) dart.nullFailed(I[21], 386, 48, "padding"); let delta = width - this.length; if (delta <= 0) return this; return padding[$times](delta) + this; } [$padRight](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + if (padding == null) dart.nullFailed(I[21], 393, 49, "padding"); let delta = width - this.length; if (delta <= 0) return this; return this[$plus](padding[$times](delta)); @@ -13910,10 +14937,10 @@ define([], (function load__dart_sdk() { return -1; } [$lastIndexOf](pattern, _start = null) { - let t21; + let t16; if (pattern == null) dart.argumentError(pattern); let length = this.length; - let start = (t21 = _start, t21 == null ? length : t21); + let start = (t16 = _start, t16 == null ? length : t16); if (dart.notNull(start) < 0 || dart.notNull(start) > length) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -13971,7 +14998,7 @@ define([], (function load__dart_sdk() { } [$_get](index) { if (index == null) dart.argumentError(index); - if (index >= this.length || index < 0) { + if (!(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; @@ -14015,6 +15042,7 @@ define([], (function load__dart_sdk() { [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), [$_get]: dart.fnType(core.String, [core.int]) })); + dart.setStaticMethodSignature(_interceptors.JSString, () => ['_isWhitespace', '_skipLeadingWhitespace', '_skipTrailingWhitespace']); dart.setGetterSignature(_interceptors.JSString, () => ({ __proto__: dart.getGetters(_interceptors.JSString.__proto__), [$codeUnits]: core.List$(core.int), @@ -14023,16 +15051,13 @@ define([], (function load__dart_sdk() { [$isNotEmpty]: core.bool, [$length]: core.int })); - dart.setLibraryUri(_interceptors.JSString, I[16]); + dart.setLibraryUri(_interceptors.JSString, I[17]); dart.definePrimitiveHashCode(_interceptors.JSString.prototype); dart.registerExtension("String", _interceptors.JSString); - _interceptors.getInterceptor = function getInterceptor(obj) { - return obj; - }; _interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { }; _interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[17], 239, 57, "name"); + if (name == null) dart.nullFailed(I[18], 304, 57, "name"); }; _interceptors.getNativeInterceptor = function getNativeInterceptor(object) { }; @@ -14050,41 +15075,40 @@ define([], (function load__dart_sdk() { var _filter = dart.privateName(collection, "_filter"); const _is_ListMixin_default = Symbol('_is_ListMixin_default'); collection.ListMixin$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); class ListMixin extends core.Object { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } elementAt(index) { - if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + if (index == null) dart.nullFailed(I[24], 78, 19, "index"); return this[$_get](index); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[23], 80, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[24], 80, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } forEach(action) { - if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + if (action == null) dart.nullFailed(I[24], 83, 21, "action"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this[$_get](i)); @@ -14133,7 +15157,7 @@ define([], (function load__dart_sdk() { return false; } every(test) { - if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + if (test == null) dart.nullFailed(I[24], 135, 19, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this[$_get](i)))) return false; @@ -14144,7 +15168,7 @@ define([], (function load__dart_sdk() { return true; } any(test) { - if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + if (test == null) dart.nullFailed(I[24], 146, 17, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this[$_get](i)))) return true; @@ -14155,9 +15179,9 @@ define([], (function load__dart_sdk() { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + if (test == null) dart.nullFailed(I[24], 157, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14170,9 +15194,9 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + if (test == null) dart.nullFailed(I[24], 170, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this[$_get](i); @@ -14185,21 +15209,19 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + if (test == null) dart.nullFailed(I[24], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t24) { + function match$35set(match$35param) { match$35isSet = true; - return match = t24; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14219,33 +15241,33 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - let t26; - if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + let t20; + if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); if (this[$length] === 0) return ""; - let buffer = (t26 = new core.StringBuffer.new(), (() => { - t26.writeAll(this, separator); - return t26; + let buffer = (t20 = new core.StringBuffer.new(), (() => { + t20.writeAll(this, separator); + return t20; })()); return dart.toString(buffer); } where(test) { - if (test == null) dart.nullFailed(I[23], 211, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 211, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } map(T, f) { - if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + if (f == null) dart.nullFailed(I[24], 215, 24, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + if (f == null) dart.nullFailed(I[24], 217, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[24], 220, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -14258,7 +15280,7 @@ define([], (function load__dart_sdk() { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + if (combine == null) dart.nullFailed(I[24], 233, 31, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -14270,50 +15292,50 @@ define([], (function load__dart_sdk() { return value; } skip(count) { - if (count == null) dart.nullFailed(I[23], 245, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[24], 245, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[23], 247, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 247, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } take(count) { - if (count == null) dart.nullFailed(I[23], 251, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[24], 251, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[23], 254, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 254, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[24], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); let first = this[$_get](0); - let result = ListOfE().filled(this[$length], first, {growable: growable}); + let result = __t$ListOfE().filled(this[$length], first, {growable: growable}); for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { result[$_set](i, this[$_get](i)); } return result; } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { result.add(this[$_get](i)); } return result; } add(element) { - let t26; + let t20; E.as(element); - this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 282, 27, "iterable"); let i = this[$length]; for (let element of iterable) { - if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); this[$add](element); i = dart.notNull(i) + 1; } @@ -14328,12 +15350,12 @@ define([], (function load__dart_sdk() { return false; } [_closeGap](start, end) { - if (start == null) dart.nullFailed(I[23], 303, 22, "start"); - if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + if (start == null) dart.nullFailed(I[24], 303, 22, "start"); + if (end == null) dart.nullFailed(I[24], 303, 33, "end"); let length = this[$length]; - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); - if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); - if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[24], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[24], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[24], 307, 12, "end <= length"); let size = dart.notNull(end) - dart.notNull(start); for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { this[$_set](dart.notNull(i) - size, this[$_get](i)); @@ -14341,17 +15363,17 @@ define([], (function load__dart_sdk() { this[$length] = dart.notNull(length) - size; } removeWhere(test) { - if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + if (test == null) dart.nullFailed(I[24], 315, 25, "test"); this[_filter](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + if (test == null) dart.nullFailed(I[24], 319, 25, "test"); this[_filter](test, true); } [_filter](test, retainMatching) { - if (test == null) dart.nullFailed(I[23], 323, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); - let retained = JSArrayOfE().of([]); + if (test == null) dart.nullFailed(I[24], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[24], 323, 43, "retainMatching"); + let retained = __t$JSArrayOfE().of([]); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14382,8 +15404,8 @@ define([], (function load__dart_sdk() { return result; } sort(compare = null) { - let t26; - _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + let t20; + _internal.Sort.sort(E, this, (t20 = compare, t20 == null ? C[19] || CT.C19 : t20)); } static _compareAny(a, b) { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); @@ -14401,43 +15423,43 @@ define([], (function load__dart_sdk() { } } asMap() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } ['+'](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[24], 381, 30, "other"); return (() => { - let t26 = ListOfE().of(this); - t26[$addAll](other); - return t26; + let t20 = __t$ListOfE().of(this); + t20[$addAll](other); + return t20; })(); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + if (start == null) dart.nullFailed(I[24], 383, 23, "start"); let listLength = this[$length]; end == null ? end = listLength : null; if (end == null) dart.throw("!"); core.RangeError.checkValidRange(start, end, listLength); - return ListOfE().from(this[$getRange](start, end)); + return __t$ListOfE().from(this[$getRange](start, end)); } getRange(start, end) { - if (start == null) dart.nullFailed(I[23], 392, 28, "start"); - if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + if (start == null) dart.nullFailed(I[24], 392, 28, "start"); + if (end == null) dart.nullFailed(I[24], 392, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[23], 397, 24, "start"); - if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + if (start == null) dart.nullFailed(I[24], 397, 24, "start"); + if (end == null) dart.nullFailed(I[24], 397, 35, "end"); core.RangeError.checkValidRange(start, end, this[$length]); if (dart.notNull(end) > dart.notNull(start)) { this[_closeGap](start, end); } } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[23], 404, 22, "start"); - if (end == null) dart.nullFailed(I[23], 404, 33, "end"); - EN().as(fill); + if (start == null) dart.nullFailed(I[24], 404, 22, "start"); + if (end == null) dart.nullFailed(I[24], 404, 33, "end"); + __t$EN().as(fill); let value = E.as(fill); core.RangeError.checkValidRange(start, end, this[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -14445,18 +15467,18 @@ define([], (function load__dart_sdk() { } } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[23], 414, 21, "start"); - if (end == null) dart.nullFailed(I[23], 414, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + if (start == null) dart.nullFailed(I[24], 414, 21, "start"); + if (end == null) dart.nullFailed(I[24], 414, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[24], 414, 64, "skipCount"); core.RangeError.checkValidRange(start, end, this[$length]); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); let otherList = null; let otherStart = null; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -14477,10 +15499,10 @@ define([], (function load__dart_sdk() { } } replaceRange(start, end, newContents) { - if (start == null) dart.nullFailed(I[23], 445, 25, "start"); - if (end == null) dart.nullFailed(I[23], 445, 36, "end"); - IterableOfE().as(newContents); - if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + if (start == null) dart.nullFailed(I[24], 445, 25, "start"); + if (end == null) dart.nullFailed(I[24], 445, 36, "end"); + __t$IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[24], 445, 53, "newContents"); core.RangeError.checkValidRange(start, end, this[$length]); if (start == this[$length]) { this[$addAll](newContents); @@ -14521,7 +15543,7 @@ define([], (function load__dart_sdk() { } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (start == null) dart.nullFailed(I[24], 486, 37, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.equals(this[$_get](i), element)) return i; @@ -14529,8 +15551,8 @@ define([], (function load__dart_sdk() { return -1; } indexWhere(test, start = 0) { - if (test == null) dart.nullFailed(I[23], 494, 23, "test"); - if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (test == null) dart.nullFailed(I[24], 494, 23, "test"); + if (start == null) dart.nullFailed(I[24], 494, 45, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.test(test(this[$_get](i)))) return i; @@ -14546,7 +15568,7 @@ define([], (function load__dart_sdk() { return -1; } lastIndexWhere(test, start = null) { - if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (test == null) dart.nullFailed(I[24], 514, 27, "test"); if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; if (start == null) dart.throw("!"); for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -14555,7 +15577,7 @@ define([], (function load__dart_sdk() { return -1; } insert(index, element) { - if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + if (index == null) dart.nullFailed(I[24], 526, 19, "index"); E.as(element); _internal.checkNotNullable(core.int, index, "index"); let length = this[$length]; @@ -14567,15 +15589,15 @@ define([], (function load__dart_sdk() { } } removeAt(index) { - if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + if (index == null) dart.nullFailed(I[24], 537, 18, "index"); let result = this[$_get](index); this[_closeGap](index, dart.notNull(index) + 1); return result; } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[23], 543, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + if (index == null) dart.nullFailed(I[24], 543, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 543, 41, "iterable"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (index == this[$length]) { this[$addAll](iterable); @@ -14603,20 +15625,20 @@ define([], (function load__dart_sdk() { this[$setAll](index, iterable); } setAll(index, iterable) { - let t27; - if (index == null) dart.nullFailed(I[23], 576, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + let t21; + if (index == null) dart.nullFailed(I[24], 576, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 576, 38, "iterable"); if (core.List.is(iterable)) { this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); } else { for (let element of iterable) { - this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + this[$_set]((t21 = index, index = dart.notNull(t21) + 1, t21), element); } } } get reversed() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "[", "]"); @@ -14731,6 +15753,7 @@ define([], (function load__dart_sdk() { setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(ListMixin, () => ['_compareAny']); dart.setGetterSignature(ListMixin, () => ({ __proto__: dart.getGetters(ListMixin.__proto__), iterator: core.Iterator$(E), @@ -14755,7 +15778,7 @@ define([], (function load__dart_sdk() { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(ListMixin, I[24]); + dart.setLibraryUri(ListMixin, I[25]); dart.defineExtensionMethods(ListMixin, [ 'elementAt', 'followedBy', @@ -14828,7 +15851,7 @@ define([], (function load__dart_sdk() { dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); class ListBase extends Object_ListMixin$36 { static listToString(list) { - if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + if (list == null) dart.nullFailed(I[24], 42, 35, "list"); return collection.IterableBase.iterableToFullString(list, "[", "]"); } } @@ -14838,25 +15861,26 @@ define([], (function load__dart_sdk() { dart.addTypeTests(ListBase); ListBase.prototype[_is_ListBase_default] = true; dart.addTypeCaches(ListBase); - dart.setLibraryUri(ListBase, I[24]); + dart.setStaticMethodSignature(ListBase, () => ['listToString']); + dart.setLibraryUri(ListBase, I[25]); return ListBase; }); collection.ListBase = collection.ListBase$(); dart.addTypeTests(collection.ListBase, _is_ListBase_default); const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); _internal.UnmodifiableListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class UnmodifiableListMixin extends core.Object { _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + if (index == null) dart.nullFailed(I[23], 89, 25, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 94, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); } set first(element) { @@ -14868,9 +15892,9 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 108, 19, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + if (at == null) dart.nullFailed(I[23], 108, 19, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 108, 35, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } add(value) { @@ -14878,30 +15902,30 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + if (index == null) dart.nullFailed(I[23], 118, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 123, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 123, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 123, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 128, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + if (test == null) dart.nullFailed(I[23], 138, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + if (test == null) dart.nullFailed(I[23], 143, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } sort(compare = null) { @@ -14914,36 +15938,36 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + if (index == null) dart.nullFailed(I[23], 163, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 173, 21, "start"); - if (end == null) dart.nullFailed(I[22], 173, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + if (start == null) dart.nullFailed(I[23], 173, 21, "start"); + if (end == null) dart.nullFailed(I[23], 173, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 173, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 178, 24, "start"); - if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + if (start == null) dart.nullFailed(I[23], 178, 24, "start"); + if (end == null) dart.nullFailed(I[23], 178, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 183, 25, "start"); - if (end == null) dart.nullFailed(I[22], 183, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 183, 25, "start"); + if (end == null) dart.nullFailed(I[23], 183, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 183, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 188, 22, "start"); - if (end == null) dart.nullFailed(I[22], 188, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 188, 22, "start"); + if (end == null) dart.nullFailed(I[23], 188, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } [Symbol.iterator]() { @@ -15006,7 +16030,7 @@ define([], (function load__dart_sdk() { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.setLibraryUri(UnmodifiableListMixin, I[26]); dart.defineExtensionMethods(UnmodifiableListMixin, [ '_set', 'setAll', @@ -15034,15 +16058,15 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); _internal.UnmodifiableListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; (ListBase_UnmodifiableListMixin$36.new = function() { }).prototype = ListBase_UnmodifiableListMixin$36.prototype; dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 208, 16, "newLength"); return super.length = newLength; } set first(element) { @@ -15061,15 +16085,15 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(value); super._set(index, value); return value$; } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.setAll(at, iterable); } add(value) { @@ -15077,30 +16101,30 @@ define([], (function load__dart_sdk() { return super.add(value); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(element); return super.insert(index, element); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.insertAll(at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.addAll(iterable); } remove(element) { return super.remove(element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.removeWhere(test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.retainWhere(test); } sort(compare = null) { @@ -15113,36 +16137,36 @@ define([], (function load__dart_sdk() { return super.clear(); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); return super.removeAt(index); } removeLast() { return super.removeLast(); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 208, 16, "skipCount"); return super.setRange(start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); return super.removeRange(start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.replaceRange(start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$EN().as(fillValue); return super.fillRange(start, end, fillValue); } } @@ -15162,7 +16186,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.setLibraryUri(UnmodifiableListBase, I[26]); dart.defineExtensionMethods(UnmodifiableListBase, [ '_set', 'setAll', @@ -15197,18 +16221,18 @@ define([], (function load__dart_sdk() { return dart.as(o, core.num); } static parse(input, onError = null) { - if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + if (input == null) dart.nullFailed(I[27], 573, 27, "input"); let result = core.num.tryParse(input); if (result != null) return result; if (onError == null) dart.throw(new core.FormatException.new(input)); return onError(input); } static tryParse(input) { - let t27; - if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let t21; + if (input == null) dart.nullFailed(I[27], 600, 31, "input"); let source = input[$trim](); - t27 = core.int.tryParse(source); - return t27 == null ? core.double.tryParse(source) : t27; + t21 = core.int.tryParse(source); + return t21 == null ? core.double.tryParse(source) : t21; } }; (core.num.new = function() { @@ -15216,7 +16240,8 @@ define([], (function load__dart_sdk() { }).prototype = core.num.prototype; dart.addTypeCaches(core.num); core.num[dart.implements] = () => [core.Comparable$(core.num)]; - dart.setLibraryUri(core.num, I[8]); + dart.setStaticMethodSignature(core.num, () => ['is', 'as', 'parse', 'tryParse']); + dart.setLibraryUri(core.num, I[9]); core.int = class int extends core.num { static is(o) { return typeof o == "number" && Math.floor(o) == o; @@ -15228,13 +16253,19 @@ define([], (function load__dart_sdk() { return dart.as(o, core.int); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; - if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); + return core.int.fromEnvironment(name, {defaultValue: defaultValue}); + } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + if (source == null) dart.nullFailed(I[7], 238, 27, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let onError = opts && 'onError' in opts ? opts.onError : null; let value = core.int.tryParse(source, {radix: radix}); @@ -15243,14 +16274,19 @@ define([], (function load__dart_sdk() { dart.throw(new core.FormatException.new(source)); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + if (source == null) dart.nullFailed(I[7], 247, 31, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return _js_helper.Primitives.parseInt(source, radix); } }; dart.addTypeCaches(core.int); - dart.setLibraryUri(core.int, I[8]); + dart.setStaticMethodSignature(core.int, () => ['is', 'as', 'fromEnvironment', 'parse', 'tryParse']); + dart.setLibraryUri(core.int, I[9]); _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + static ['_#new#tearOff'](_string) { + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); + return new _internal.CodeUnits.new(_string); + } get length() { return this[_string$].length; } @@ -15258,16 +16294,16 @@ define([], (function load__dart_sdk() { super.length = value; } _get(i) { - if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + if (i == null) dart.nullFailed(I[22], 95, 23, "i"); return this[_string$][$codeUnitAt](i); } static stringOf(u) { - if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + if (u == null) dart.nullFailed(I[22], 97, 36, "u"); return u[_string$]; } }; (_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); this[_string$] = _string; ; }).prototype = _internal.CodeUnits.prototype; @@ -15278,12 +16314,13 @@ define([], (function load__dart_sdk() { _get: dart.fnType(core.int, [core.int]), [$_get]: dart.fnType(core.int, [core.int]) })); + dart.setStaticMethodSignature(_internal.CodeUnits, () => ['stringOf']); dart.setGetterSignature(_internal.CodeUnits, () => ({ __proto__: dart.getGetters(_internal.CodeUnits.__proto__), length: core.int, [$length]: core.int })); - dart.setLibraryUri(_internal.CodeUnits, I[25]); + dart.setLibraryUri(_internal.CodeUnits, I[26]); dart.setFieldSignature(_internal.CodeUnits, () => ({ __proto__: dart.getFields(_internal.CodeUnits.__proto__), [_string$]: dart.finalFieldType(core.String) @@ -15298,70 +16335,78 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); + return new _internal.ExternalName.new(name); + } }; (_internal.ExternalName.new = function(name) { - if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); this[name$5] = name; ; }).prototype = _internal.ExternalName.prototype; dart.addTypeTests(_internal.ExternalName); dart.addTypeCaches(_internal.ExternalName); - dart.setLibraryUri(_internal.ExternalName, I[25]); + dart.setLibraryUri(_internal.ExternalName, I[26]); dart.setFieldSignature(_internal.ExternalName, () => ({ __proto__: dart.getFields(_internal.ExternalName.__proto__), name: dart.finalFieldType(core.String) })); _internal.SystemHash = class SystemHash extends core.Object { static combine(hash, value) { - if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); - if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + if (hash == null) dart.nullFailed(I[22], 183, 26, "hash"); + if (value == null) dart.nullFailed(I[22], 183, 36, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } static finish(hash) { - if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + if (hash == null) dart.nullFailed(I[22], 189, 25, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); } - static hash2(v1, v2) { - if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); - let hash = 0; + static hash2(v1, v2, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 195, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 195, 32, "v2"); + if (seed == null) dart.nullFailed(I[22], 195, 56, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); return _internal.SystemHash.finish(hash); } - static hash3(v1, v2, v3) { - if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); - let hash = 0; + static hash3(v1, v2, v3, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 202, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 202, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 202, 40, "v3"); + if (seed == null) dart.nullFailed(I[22], 202, 64, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); return _internal.SystemHash.finish(hash); } - static hash4(v1, v2, v3, v4) { - if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); - let hash = 0; + static hash4(v1, v2, v3, v4, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 210, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 210, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 210, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 210, 48, "v4"); + if (seed == null) dart.nullFailed(I[22], 211, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); hash = _internal.SystemHash.combine(hash, v4); return _internal.SystemHash.finish(hash); } - static hash5(v1, v2, v3, v4, v5) { - if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); - let hash = 0; + static hash5(v1, v2, v3, v4, v5, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 220, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 220, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 220, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 220, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 220, 56, "v5"); + if (seed == null) dart.nullFailed(I[22], 221, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15369,14 +16414,15 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v5); return _internal.SystemHash.finish(hash); } - static hash6(v1, v2, v3, v4, v5, v6) { - if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); - let hash = 0; + static hash6(v1, v2, v3, v4, v5, v6, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 231, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 231, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 231, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 231, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 231, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 231, 64, "v6"); + if (seed == null) dart.nullFailed(I[22], 232, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15385,15 +16431,16 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v6); return _internal.SystemHash.finish(hash); } - static hash7(v1, v2, v3, v4, v5, v6, v7) { - if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); - if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); - let hash = 0; + static hash7(v1, v2, v3, v4, v5, v6, v7, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 243, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 243, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 243, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 243, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 243, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 243, 64, "v6"); + if (v7 == null) dart.nullFailed(I[22], 243, 72, "v7"); + if (seed == null) dart.nullFailed(I[22], 244, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15403,16 +16450,17 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v7); return _internal.SystemHash.finish(hash); } - static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { - if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); - let hash = 0; + static hash8(v1, v2, v3, v4, v5, v6, v7, v8, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 257, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 257, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 257, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 257, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 257, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 257, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 257, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 257, 67, "v8"); + if (seed == null) dart.nullFailed(I[22], 258, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15423,17 +16471,18 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v8); return _internal.SystemHash.finish(hash); } - static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); - if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); - let hash = 0; + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 272, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 272, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 272, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 272, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 272, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 272, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 272, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 272, 67, "v8"); + if (v9 == null) dart.nullFailed(I[22], 272, 75, "v9"); + if (seed == null) dart.nullFailed(I[22], 273, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15445,18 +16494,243 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v9); return _internal.SystemHash.finish(hash); } - static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { - if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); - if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); - if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); - if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); - if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); - if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); - if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); - if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); - if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); - if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); - let hash = 0; + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 287, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 287, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 287, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 287, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 287, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 287, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 287, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 288, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 288, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 288, 27, "v10"); + if (seed == null) dart.nullFailed(I[22], 289, 27, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static hash11(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 305, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 305, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 305, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 305, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 305, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 305, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 305, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 306, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 306, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 306, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 306, 36, "v11"); + if (seed == null) dart.nullFailed(I[22], 307, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + return _internal.SystemHash.finish(hash); + } + static hash12(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 324, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 324, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 324, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 324, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 324, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 324, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 324, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 325, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 325, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 325, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 325, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 325, 45, "v12"); + if (seed == null) dart.nullFailed(I[22], 326, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + return _internal.SystemHash.finish(hash); + } + static hash13(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 344, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 344, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 344, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 344, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 344, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 344, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 344, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 345, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 345, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 345, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 345, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 345, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 345, 54, "v13"); + if (seed == null) dart.nullFailed(I[22], 346, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + return _internal.SystemHash.finish(hash); + } + static hash14(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 365, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 365, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 365, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 365, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 365, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 365, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 365, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 366, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 366, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 366, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 366, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 366, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 366, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 366, 63, "v14"); + if (seed == null) dart.nullFailed(I[22], 367, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + return _internal.SystemHash.finish(hash); + } + static hash15(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 387, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 387, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 387, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 387, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 387, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 387, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 387, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 388, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 388, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 388, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 388, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 388, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 388, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 388, 63, "v14"); + if (v15 == null) dart.nullFailed(I[22], 388, 72, "v15"); + if (seed == null) dart.nullFailed(I[22], 389, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + return _internal.SystemHash.finish(hash); + } + static hash16(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 411, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 412, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 413, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 414, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 415, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 416, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 417, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 418, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 419, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 420, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 421, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 422, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 423, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 424, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 425, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 426, 11, "v16"); + if (seed == null) dart.nullFailed(I[22], 427, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + return _internal.SystemHash.finish(hash); + } + static hash17(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 450, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 451, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 452, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 453, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 454, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 455, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 456, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 457, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 458, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 459, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 460, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 461, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 462, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 463, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 464, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 465, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 466, 11, "v17"); + if (seed == null) dart.nullFailed(I[22], 467, 12, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15467,10 +16741,146 @@ define([], (function load__dart_sdk() { hash = _internal.SystemHash.combine(hash, v8); hash = _internal.SystemHash.combine(hash, v9); hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + return _internal.SystemHash.finish(hash); + } + static hash18(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 491, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 492, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 493, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 494, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 495, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 496, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 497, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 498, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 499, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 500, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 501, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 502, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 503, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 504, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 505, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 506, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 507, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 508, 11, "v18"); + if (seed == null) dart.nullFailed(I[22], 509, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + return _internal.SystemHash.finish(hash); + } + static hash19(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 534, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 535, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 536, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 537, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 538, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 539, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 540, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 541, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 542, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 543, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 544, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 545, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 546, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 547, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 548, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 549, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 550, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 551, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 552, 11, "v19"); + if (seed == null) dart.nullFailed(I[22], 553, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + return _internal.SystemHash.finish(hash); + } + static hash20(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 579, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 580, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 581, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 582, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 583, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 584, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 585, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 586, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 587, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 588, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 589, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 590, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 591, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 592, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 593, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 594, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 595, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 596, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 597, 11, "v19"); + if (v20 == null) dart.nullFailed(I[22], 598, 11, "v20"); + if (seed == null) dart.nullFailed(I[22], 599, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + hash = _internal.SystemHash.combine(hash, v20); return _internal.SystemHash.finish(hash); } static smear(x) { - if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + if (x == null) dart.nullFailed(I[22], 635, 24, "x"); x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; @@ -15478,13 +16888,42 @@ define([], (function load__dart_sdk() { x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; return x; } + static ['_#new#tearOff']() { + return new _internal.SystemHash.new(); + } }; (_internal.SystemHash.new = function() { ; }).prototype = _internal.SystemHash.prototype; dart.addTypeTests(_internal.SystemHash); dart.addTypeCaches(_internal.SystemHash); - dart.setLibraryUri(_internal.SystemHash, I[25]); + dart.setStaticMethodSignature(_internal.SystemHash, () => ['combine', 'finish', 'hash2', 'hash3', 'hash4', 'hash5', 'hash6', 'hash7', 'hash8', 'hash9', 'hash10', 'hash11', 'hash12', 'hash13', 'hash14', 'hash15', 'hash16', 'hash17', 'hash18', 'hash19', 'hash20', 'smear']); + dart.setLibraryUri(_internal.SystemHash, I[26]); + const id$ = SentinelValue_id; + _internal.SentinelValue = class SentinelValue extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + return new _internal.SentinelValue.new(id); + } + }; + (_internal.SentinelValue.new = function(id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + this[id$] = id; + ; + }).prototype = _internal.SentinelValue.prototype; + dart.addTypeTests(_internal.SentinelValue); + dart.addTypeCaches(_internal.SentinelValue); + dart.setLibraryUri(_internal.SentinelValue, I[26]); + dart.setFieldSignature(_internal.SentinelValue, () => ({ + __proto__: dart.getFields(_internal.SentinelValue.__proto__), + id: dart.finalFieldType(core.int) + })); var version$ = dart.privateName(_internal, "Since.version"); _internal.Since = class Since extends core.Object { get version() { @@ -15493,21 +16932,28 @@ define([], (function load__dart_sdk() { set version(value) { super.version = value; } + static ['_#new#tearOff'](version) { + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); + return new _internal.Since.new(version); + } }; (_internal.Since.new = function(version) { - if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); this[version$] = version; ; }).prototype = _internal.Since.prototype; dart.addTypeTests(_internal.Since); dart.addTypeCaches(_internal.Since); - dart.setLibraryUri(_internal.Since, I[25]); + dart.setLibraryUri(_internal.Since, I[26]); dart.setFieldSignature(_internal.Since, () => ({ __proto__: dart.getFields(_internal.Since.__proto__), version: dart.finalFieldType(core.String) })); var _name$ = dart.privateName(_internal, "_name"); core.Error = class Error extends core.Object { + static ['_#new#tearOff']() { + return new core.Error.new(); + } static safeToString(object) { if (typeof object == 'number' || typeof object == 'boolean' || object == null) { return dart.toString(object); @@ -15518,38 +16964,57 @@ define([], (function load__dart_sdk() { return core.Error._objectToString(object); } static _stringToSafeString(string) { - if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + if (string == null) dart.nullFailed(I[7], 346, 44, "string"); return JSON.stringify(string); } static _objectToString(object) { - if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + if (object == null) dart.nullFailed(I[7], 341, 40, "object"); return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; } get stackTrace() { return dart.stackTraceForError(this); } + static throwWithStackTrace(error, stackTrace) { + if (error == null) dart.nullFailed(I[28], 117, 43, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 117, 61, "stackTrace"); + _internal.checkNotNullable(core.Object, error, "error"); + _internal.checkNotNullable(core.StackTrace, stackTrace, "stackTrace"); + core.Error._throw(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + static _throw(error, stackTrace) { + if (error == null) dart.nullFailed(I[7], 354, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[7], 354, 48, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); + dart.throw("unreachable"); + } }; (core.Error.new = function() { ; }).prototype = core.Error.prototype; dart.addTypeTests(core.Error); dart.addTypeCaches(core.Error); + dart.setStaticMethodSignature(core.Error, () => ['safeToString', '_stringToSafeString', '_objectToString', 'throwWithStackTrace', '_throw']); dart.setGetterSignature(core.Error, () => ({ __proto__: dart.getGetters(core.Error.__proto__), stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); - dart.setLibraryUri(core.Error, I[8]); + dart.setLibraryUri(core.Error, I[9]); dart.defineExtensionAccessors(core.Error, ['stackTrace']); const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); _internal.NotNullableError$ = dart.generic(T => { class NotNullableError extends core.Error { + static ['_#new#tearOff'](T, _name) { + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); + return new (_internal.NotNullableError$(T)).new(_name); + } toString() { - return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + return "Null is not a valid value for '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; } } (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); this[_name$] = _name; NotNullableError.__proto__.new.call(this); ; @@ -15558,7 +17023,7 @@ define([], (function load__dart_sdk() { NotNullableError.prototype[_is_NotNullableError_default] = true; dart.addTypeCaches(NotNullableError); NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[25]); + dart.setLibraryUri(NotNullableError, I[26]); dart.setFieldSignature(NotNullableError, () => ({ __proto__: dart.getFields(NotNullableError.__proto__), [_name$]: dart.finalFieldType(core.String) @@ -15574,7 +17039,8 @@ define([], (function load__dart_sdk() { }).prototype = _internal.HttpStatus.prototype; dart.addTypeTests(_internal.HttpStatus); dart.addTypeCaches(_internal.HttpStatus); - dart.setLibraryUri(_internal.HttpStatus, I[25]); + dart.setLibraryUri(_internal.HttpStatus, I[26]); + dart.setStaticFieldSignature(_internal.HttpStatus, () => ['continue__', 'switchingProtocols', 'processing', 'ok', 'created', 'accepted', 'nonAuthoritativeInformation', 'noContent', 'resetContent', 'partialContent', 'multiStatus', 'alreadyReported', 'imUsed', 'multipleChoices', 'movedPermanently', 'found', 'movedTemporarily', 'seeOther', 'notModified', 'useProxy', 'temporaryRedirect', 'permanentRedirect', 'badRequest', 'unauthorized', 'paymentRequired', 'forbidden', 'notFound', 'methodNotAllowed', 'notAcceptable', 'proxyAuthenticationRequired', 'requestTimeout', 'conflict', 'gone', 'lengthRequired', 'preconditionFailed', 'requestEntityTooLarge', 'requestUriTooLong', 'unsupportedMediaType', 'requestedRangeNotSatisfiable', 'expectationFailed', 'misdirectedRequest', 'unprocessableEntity', 'locked', 'failedDependency', 'upgradeRequired', 'preconditionRequired', 'tooManyRequests', 'requestHeaderFieldsTooLarge', 'connectionClosedWithoutResponse', 'unavailableForLegalReasons', 'clientClosedRequest', 'internalServerError', 'notImplemented', 'badGateway', 'serviceUnavailable', 'gatewayTimeout', 'httpVersionNotSupported', 'variantAlsoNegotiates', 'insufficientStorage', 'loopDetected', 'notExtended', 'networkAuthenticationRequired', 'networkConnectTimeoutError', 'CONTINUE', 'SWITCHING_PROTOCOLS', 'OK', 'CREATED', 'ACCEPTED', 'NON_AUTHORITATIVE_INFORMATION', 'NO_CONTENT', 'RESET_CONTENT', 'PARTIAL_CONTENT', 'MULTIPLE_CHOICES', 'MOVED_PERMANENTLY', 'FOUND', 'MOVED_TEMPORARILY', 'SEE_OTHER', 'NOT_MODIFIED', 'USE_PROXY', 'TEMPORARY_REDIRECT', 'BAD_REQUEST', 'UNAUTHORIZED', 'PAYMENT_REQUIRED', 'FORBIDDEN', 'NOT_FOUND', 'METHOD_NOT_ALLOWED', 'NOT_ACCEPTABLE', 'PROXY_AUTHENTICATION_REQUIRED', 'REQUEST_TIMEOUT', 'CONFLICT', 'GONE', 'LENGTH_REQUIRED', 'PRECONDITION_FAILED', 'REQUEST_ENTITY_TOO_LARGE', 'REQUEST_URI_TOO_LONG', 'UNSUPPORTED_MEDIA_TYPE', 'REQUESTED_RANGE_NOT_SATISFIABLE', 'EXPECTATION_FAILED', 'UPGRADE_REQUIRED', 'INTERNAL_SERVER_ERROR', 'NOT_IMPLEMENTED', 'BAD_GATEWAY', 'SERVICE_UNAVAILABLE', 'GATEWAY_TIMEOUT', 'HTTP_VERSION_NOT_SUPPORTED', 'NETWORK_CONNECT_TIMEOUT_ERROR']); dart.defineLazy(_internal.HttpStatus, { /*_internal.HttpStatus.continue__*/get continue__() { return 100; @@ -15895,6 +17361,101 @@ define([], (function load__dart_sdk() { return 599; } }, false); + var _previousLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._previousLink"); + var _nextLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._nextLink"); + var element$ = dart.privateName(_internal, "DoubleLinkedQueueEntry.element"); + var _previousLink$ = dart.privateName(_internal, "_previousLink"); + var _nextLink$ = dart.privateName(_internal, "_nextLink"); + var _link = dart.privateName(_internal, "_link"); + const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); + _internal.DoubleLinkedQueueEntry$ = dart.generic(E => { + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); + class DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get element() { + return this[element$]; + } + set element(value) { + this[element$] = E.as(value); + } + static ['_#new#tearOff'](E, element) { + return new (_internal.DoubleLinkedQueueEntry$(E)).new(element); + } + [_link](previous, next) { + let t21, t21$; + this[_nextLink$] = next; + this[_previousLink$] = previous; + t21 = previous; + t21 == null ? null : t21[_nextLink$] = this; + t21$ = next; + t21$ == null ? null : t21$[_previousLink$] = this; + } + append(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + let t21, t21$; + t21 = this[_previousLink$]; + t21 == null ? null : t21[_nextLink$] = this[_nextLink$]; + t21$ = this[_nextLink$]; + t21$ == null ? null : t21$[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(element) { + this[_previousLink] = null; + this[_nextLink] = null; + this[element$] = element; + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), dart.nullable(_internal.DoubleLinkedQueueEntry$(E))]), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[26]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + [_nextLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + element: dart.fieldType(E) + })); + return DoubleLinkedQueueEntry; + }); + _internal.DoubleLinkedQueueEntry = _internal.DoubleLinkedQueueEntry$(); + dart.addTypeTests(_internal.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); var _source$ = dart.privateName(_internal, "_source"); var _add = dart.privateName(async, "_add"); var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); @@ -15903,53 +17464,64 @@ define([], (function load__dart_sdk() { var _complete = dart.privateName(async, "_complete"); var _sink$ = dart.privateName(async, "_sink"); async.Stream$ = dart.generic(T => { - var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); - var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); - var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); - var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); - var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); - var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); - var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); - var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); - var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); - var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); - var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); - var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); - var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); - var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); - var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); - var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); - var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + var __t$_AsBroadcastStreamOfT = () => (__t$_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var __t$_WhereStreamOfT = () => (__t$_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_HandleErrorStreamOfT = () => (__t$_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var __t$StreamConsumerOfT = () => (__t$StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var __t$TAndTToT = () => (__t$TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$ListOfT = () => (__t$ListOfT = dart.constFn(core.List$(T)))(); + var __t$_FutureOfListOfT = () => (__t$_FutureOfListOfT = dart.constFn(async._Future$(__t$ListOfT())))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); + var __t$_FutureOfSetOfT = () => (__t$_FutureOfSetOfT = dart.constFn(async._Future$(__t$SetOfT())))(); + var __t$_TakeStreamOfT = () => (__t$_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var __t$_TakeWhileStreamOfT = () => (__t$_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var __t$_SkipStreamOfT = () => (__t$_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var __t$_SkipWhileStreamOfT = () => (__t$_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var __t$_DistinctStreamOfT = () => (__t$_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrOfTTovoid = () => (__t$FutureOrOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$FutureOrOfT()])))(); + var __t$_SyncBroadcastStreamControllerOfT = () => (__t$_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var __t$_SyncStreamControllerOfT = () => (__t$_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_ControllerEventSinkWrapperOfT = () => (__t$_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); class Stream extends core.Object { + static ['_#empty#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } static value(value) { - let t27; - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_add](value); - t27[_closeUnchecked](); - return t27; + let t21; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_add](value); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#value#tearOff'](T, value) { + return async.Stream$(T).value(value); + } static error(error, stackTrace = null) { - let t28, t27; - if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + let t22, t21; + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); - t27[_closeUnchecked](); - return t27; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_addError](error, (t22 = stackTrace, t22 == null ? async.AsyncError.defaultStackTrace(error) : t22)); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); + return async.Stream$(T).error(error, stackTrace); + } static fromFuture(future) { - if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); future.then(core.Null, dart.fn(value => { controller[_add](value); @@ -15960,8 +17532,12 @@ define([], (function load__dart_sdk() { }, T$.dynamicAnddynamicToNull())}); return controller.stream; } + static ['_#fromFuture#tearOff'](T, future) { + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); + return async.Stream$(T).fromFuture(future); + } static fromFutures(futures) { - if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let count = 0; function onValue(value) { @@ -15972,8 +17548,8 @@ define([], (function load__dart_sdk() { } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[28], 199, 25, "error"); - if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (error == null) dart.nullFailed(I[30], 305, 25, "error"); + if (stack == null) dart.nullFailed(I[30], 305, 43, "stack"); if (!dart.test(controller.isClosed)) { controller[_addError](error, stack); if ((count = count - 1) === 0) controller[_closeUnchecked](); @@ -15987,33 +17563,114 @@ define([], (function load__dart_sdk() { if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); return controller.stream; } + static ['_#fromFutures#tearOff'](T, futures) { + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); + return async.Stream$(T).fromFutures(futures); + } + static ['_#fromIterable#tearOff'](T, elements) { + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).fromIterable(elements); + } static fromIterable(elements) { - if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); - return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).multi(dart.fn(controller => { + if (controller == null) dart.nullFailed(I[30], 345, 24, "controller"); + let iterator = null; + try { + iterator = elements[$iterator]; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + controller.close(); + return; + } else + throw e$; + } + let zone = async.Zone.current; + let isScheduled = true; + function next() { + if (!dart.test(controller.hasListener) || dart.test(controller.isPaused)) { + isScheduled = false; + return; + } + let hasNext = null; + try { + hasNext = iterator.moveNext(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + controller.closeSync(); + return; + } else + throw e$; + } + if (dart.test(hasNext)) { + try { + controller.addSync(iterator.current); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + } else + throw e$0; + } + if (dart.test(controller.hasListener) && !dart.test(controller.isPaused)) { + zone.scheduleMicrotask(next); + } else { + isScheduled = false; + } + } else { + controller.closeSync(); + } + } + dart.fn(next, T$.VoidTovoid()); + controller.onResume = dart.fn(() => { + if (!isScheduled) { + isScheduled = true; + zone.scheduleMicrotask(next); + } + }, T$.VoidTovoid()); + zone.scheduleMicrotask(next); + }, dart.fnType(dart.void, [async.MultiStreamController$(T)]))); + } + static ['_#multi#tearOff'](T, onListen, opts) { + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); + return async.Stream$(T).multi(onListen, {isBroadcast: isBroadcast}); } static multi(onListen, opts) { - if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); return new (async._MultiStream$(T)).new(onListen, isBroadcast); } + static ['_#periodic#tearOff'](T, period, computation = null) { + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); + return async.Stream$(T).periodic(period, computation); + } static periodic(period, computation = null) { - if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); } let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let watch = new core.Stopwatch.new(); controller.onListen = dart.fn(() => { - let t28; + let t25; let computationCount = 0; function sendEvent(_) { - let t27; + let t24; watch.reset(); if (computation != null) { let event = null; try { - event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -16030,17 +17687,17 @@ define([], (function load__dart_sdk() { } dart.fn(sendEvent, T$.dynamicTovoid()); let timer = async.Timer.periodic(period, sendEvent); - t28 = controller; + t25 = controller; (() => { - t28.onCancel = dart.fn(() => { + t25.onCancel = dart.fn(() => { timer.cancel(); return async.Future._nullFuture; }, T$.VoidTo_FutureOfNull()); - t28.onPause = dart.fn(() => { + t25.onPause = dart.fn(() => { watch.stop(); timer.cancel(); }, T$.VoidTovoid()); - t28.onResume = dart.fn(() => { + t25.onResume = dart.fn(() => { let elapsed = watch.elapsed; watch.start(); timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { @@ -16048,18 +17705,23 @@ define([], (function load__dart_sdk() { sendEvent(null); }, T$.VoidTovoid())); }, T$.VoidTovoid()); - return t28; + return t25; })(); }, T$.VoidTovoid()); return controller.stream; } static eventTransformed(source, mapSink) { - if (source == null) dart.nullFailed(I[28], 403, 23, "source"); - if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); } + static ['_#eventTransformed#tearOff'](T, source, mapSink) { + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); + return async.Stream$(T).eventTransformed(source, mapSink); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + if (source == null) dart.nullFailed(I[30], 585, 45, "source"); return new (_internal.CastStream$(S, T)).new(source); } get isBroadcast() { @@ -16068,18 +17730,18 @@ define([], (function load__dart_sdk() { asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); } where(test) { - if (test == null) dart.nullFailed(I[28], 493, 24, "test"); - return new (_WhereStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 725, 24, "test"); + return new (__t$_WhereStreamOfT()).new(this, test); } map(S, convert) { - if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + if (convert == null) dart.nullFailed(I[30], 769, 22, "convert"); return new (async._MapStream$(T, S)).new(this, convert); } asyncMap(E, convert) { - if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + if (convert == null) dart.nullFailed(I[30], 781, 37, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16087,7 +17749,7 @@ define([], (function load__dart_sdk() { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t29; + let t26; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); function add(value) { controller.add(value); @@ -16114,21 +17776,21 @@ define([], (function load__dart_sdk() { } else { controller.add(E.as(newValue)); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t29 = controller; + t26 = controller; (() => { - t29.onPause = dart.bind(subscription, 'pause'); - t29.onResume = resume; - return t29; + t26.onPause = dart.bind(subscription, 'pause'); + t26.onResume = resume; + return t26; })(); } }, T$.VoidTovoid()); return controller.stream; } asyncExpand(E, convert) { - if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + if (convert == null) dart.nullFailed(I[30], 841, 39, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16136,7 +17798,7 @@ define([], (function load__dart_sdk() { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t30; + let t27; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); subscription.onData(dart.fn(event => { let newStream = null; @@ -16155,54 +17817,64 @@ define([], (function load__dart_sdk() { subscription.pause(); controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t30 = controller; + t27 = controller; (() => { - t30.onPause = dart.bind(subscription, 'pause'); - t30.onResume = dart.bind(subscription, 'resume'); - return t30; + t27.onPause = dart.bind(subscription, 'pause'); + t27.onResume = dart.bind(subscription, 'resume'); + return t27; })(); } }, T$.VoidTovoid()); return controller.stream; } handleError(onError, opts) { - if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + if (onError == null) dart.nullFailed(I[30], 923, 34, "onError"); let test = opts && 'test' in opts ? opts.test : null; - return new (_HandleErrorStreamOfT()).new(this, onError, test); + let callback = null; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + callback = onError; + } else if (T$.ObjectTovoid().is(onError)) { + callback = dart.fn((error, _) => { + if (error == null) dart.nullFailed(I[30], 928, 26, "error"); + if (_ == null) dart.nullFailed(I[30], 928, 44, "_"); + onError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments.")); + } + return new (__t$_HandleErrorStreamOfT()).new(this, callback, test); } expand(S, convert) { - if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + if (convert == null) dart.nullFailed(I[30], 958, 35, "convert"); return new (async._ExpandStream$(T, S)).new(this, convert); } pipe(streamConsumer) { - StreamConsumerOfT().as(streamConsumer); - if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + __t$StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[30], 976, 33, "streamConsumer"); return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); } transform(S, streamTransformer) { async.StreamTransformer$(T, S).as(streamTransformer); - if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + if (streamTransformer == null) dart.nullFailed(I[30], 1005, 50, "streamTransformer"); return streamTransformer.bind(this); } reduce(combine) { - TAndTToT().as(combine); - if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); - let result = new (_FutureOfT()).new(); + __t$TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[30], 1033, 22, "combine"); + let result = new (__t$_FutureOfT()).new(); let seenFirst = false; let value = null; let value$35isSet = false; function value$35get() { return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); } - dart.fn(value$35get, VoidToT()); - function value$35set(t33) { + function value$35set(value$35param) { value$35isSet = true; - return value = t33; + return value = value$35param; } - dart.fn(value$35set, TTodynamic()); let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { if (!seenFirst) { try { @@ -16221,18 +17893,18 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { value$35set(newValue); - }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); } else { value$35set(element); seenFirst = true; } - }, TTovoid())); + }, __t$TTovoid())); return result; } fold(S, initialValue, combine) { - if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + if (combine == null) dart.nullFailed(I[30], 1087, 39, "combine"); let result = new (async._Future$(S)).new(); let value = initialValue; let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { @@ -16242,11 +17914,11 @@ define([], (function load__dart_sdk() { async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { value = newValue; }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); - }, TTovoid())); + }, __t$TTovoid())); return result; } join(separator = "") { - if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + if (separator == null) dart.nullFailed(I[30], 1121, 31, "separator"); let result = new (T$._FutureOfString()).new(); let buffer = new core.StringBuffer.new(); let first = true; @@ -16264,7 +17936,7 @@ define([], (function load__dart_sdk() { } else throw e$; } - }, TTovoid()) : dart.fn(element => { + }, __t$TTovoid()) : dart.fn(element => { if (!first) { buffer.write(separator); } @@ -16279,7 +17951,7 @@ define([], (function load__dart_sdk() { } else throw e$; } - }, TTovoid())); + }, __t$TTovoid())); return result; } contains(needle) { @@ -16289,16 +17961,16 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1175, 53, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } forEach(action) { - if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + if (action == null) dart.nullFailed(I[30], 1192, 23, "action"); let future = new async._Future.new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](null); @@ -16306,39 +17978,39 @@ define([], (function load__dart_sdk() { subscription.onData(dart.fn(element => { async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } every(test) { - if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + if (test == null) dart.nullFailed(I[30], 1226, 27, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](true); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1233, 47, "isMatch"); if (!dart.test(isMatch)) { async._cancelAndValue(subscription, future, false); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } any(test) { - if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + if (test == null) dart.nullFailed(I[30], 1264, 25, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](false); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1271, 47, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } get length() { @@ -16346,7 +18018,7 @@ define([], (function load__dart_sdk() { let count = 0; this.listen(dart.fn(_ => { count = count + 1; - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](count); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16358,28 +18030,28 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(_ => { async._cancelAndValue(subscription, future, false); - }, TTovoid())); + }, __t$TTovoid())); return future; } cast(R) { return async.Stream.castFrom(T, R, this); } toList() { - let result = JSArrayOfT().of([]); - let future = new (_FutureOfListOfT()).new(); + let result = __t$JSArrayOfT().of([]); + let future = new (__t$_FutureOfListOfT()).new(); this.listen(dart.fn(data => { result[$add](data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; } toSet() { - let result = new (_HashSetOfT()).new(); - let future = new (_FutureOfSetOfT()).new(); + let result = new (__t$_HashSetOfT()).new(); + let future = new (__t$_FutureOfSetOfT()).new(); this.listen(dart.fn(data => { result.add(data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16391,26 +18063,26 @@ define([], (function load__dart_sdk() { return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); } take(count) { - if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); - return new (_TakeStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1444, 22, "count"); + return new (__t$_TakeStreamOfT()).new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); - return new (_TakeWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1475, 28, "test"); + return new (__t$_TakeWhileStreamOfT()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); - return new (_SkipStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1499, 22, "count"); + return new (__t$_SkipStreamOfT()).new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); - return new (_SkipWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1527, 28, "test"); + return new (__t$_SkipWhileStreamOfT()).new(this, test); } distinct(equals = null) { - return new (_DistinctStreamOfT()).new(this, equals); + return new (__t$_DistinctStreamOfT()).new(this, equals); } get first() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { try { dart.throw(_internal.IterableElementError.noElement()); @@ -16425,27 +18097,25 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._cancelAndValue(subscription, future, value); - }, TTovoid())); + }, __t$TTovoid())); return future; } get last() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t42) { + function result$35set(result$35param) { result$35isSet = true; - return result = t42; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; this.listen(dart.fn(value => { foundResult = true; result$35set(value); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { future[_complete](result$35get()); return; @@ -16464,18 +18134,16 @@ define([], (function load__dart_sdk() { return future; } get single() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t48) { + function result$35set(result$35param) { result$35isSet = true; - return result = t48; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16509,17 +18177,17 @@ define([], (function load__dart_sdk() { } foundResult = true; result$35set(value); - }, TTovoid())); + }, __t$TTovoid())); return future; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16535,30 +18203,28 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1716, 45, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t56) { + function result$35set(result$35param) { result$35isSet = true; - return result = t56; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16566,7 +18232,7 @@ define([], (function load__dart_sdk() { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16582,31 +18248,29 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1767, 45, "isMatch"); if (dart.test(isMatch)) { foundResult = true; result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t62) { + function result$35set(result$35param) { result$35isSet = true; - return result = t62; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16614,7 +18278,7 @@ define([], (function load__dart_sdk() { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16630,7 +18294,7 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1818, 45, "isMatch"); if (dart.test(isMatch)) { if (foundResult) { try { @@ -16649,17 +18313,17 @@ define([], (function load__dart_sdk() { result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } elementAt(index) { - if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); core.RangeError.checkNotNegative(index, "index"); - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); let elementIndex = 0; let subscription = null; subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + result[_completeError](new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { if (index === elementIndex) { @@ -16667,17 +18331,17 @@ define([], (function load__dart_sdk() { return; } elementIndex = elementIndex + 1; - }, TTovoid())); + }, __t$TTovoid())); return result; } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[30], 1924, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; let controller = null; if (dart.test(this.isBroadcast)) { - controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + controller = new (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); } else { - controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); } let zone = async.Zone.current; let timeoutCallback = null; @@ -16686,54 +18350,54 @@ define([], (function load__dart_sdk() { controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); }, T$.VoidTovoid()); } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); - let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); + let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); timeoutCallback = dart.fn(() => { wrapper[_sink$] = controller; - zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); wrapper[_sink$] = null; }, T$.VoidTovoid()); } controller.onListen = dart.fn(() => { - let t66, t66$; + let t58, t58$; let timer = zone.createTimer(timeLimit, timeoutCallback); let subscription = this.listen(null); - t66 = subscription; + t58 = subscription; (() => { - t66.onData(dart.fn(event => { + t58.onData(dart.fn(event => { timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller.add(event); - }, TTovoid())); - t66.onError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + }, __t$TTovoid())); + t58.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[30], 1966, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[30], 1966, 45, "stackTrace"); timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller[_addError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())); - t66.onDone(dart.fn(() => { + t58.onDone(dart.fn(() => { timer.cancel(); controller.close(); }, T$.VoidTovoid())); - return t66; + return t58; })(); controller.onCancel = dart.fn(() => { timer.cancel(); return subscription.cancel(); }, T$.VoidToFutureOfvoid()); if (!dart.test(this.isBroadcast)) { - t66$ = controller; + t58$ = controller; (() => { - t66$.onPause = dart.fn(() => { + t58$.onPause = dart.fn(() => { timer.cancel(); subscription.pause(); }, T$.VoidTovoid()); - t66$.onResume = dart.fn(() => { + t58$.onResume = dart.fn(() => { subscription.resume(); timer = zone.createTimer(timeLimit, timeoutCallback); }, T$.VoidTovoid()); - return t66$; + return t58$; })(); } }, T$.VoidTovoid()); @@ -16782,6 +18446,7 @@ define([], (function load__dart_sdk() { elementAt: dart.fnType(async.Future$(T), [core.int]), timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) })); + dart.setStaticMethodSignature(Stream, () => ['empty', 'value', 'error', 'fromFuture', 'fromFutures', 'fromIterable', 'multi', 'periodic', 'eventTransformed', 'castFrom']); dart.setGetterSignature(Stream, () => ({ __proto__: dart.getGetters(Stream.__proto__), isBroadcast: core.bool, @@ -16791,28 +18456,33 @@ define([], (function load__dart_sdk() { last: async.Future$(T), single: async.Future$(T) })); - dart.setLibraryUri(Stream, I[29]); + dart.setLibraryUri(Stream, I[31]); + dart.setStaticFieldSignature(Stream, () => ['_redirecting#']); return Stream; }); async.Stream = async.Stream$(); dart.addTypeTests(async.Stream, dart.isStream); const _is_CastStream_default = Symbol('_is_CastStream_default'); _internal.CastStream$ = dart.generic((S, T) => { - var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + var __t$CastStreamSubscriptionOfS$T = () => (__t$CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); class CastStream extends async.Stream$(T) { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); + return new (_internal.CastStream$(S, T)).new(_source); + } get isBroadcast() { return this[_source$].isBroadcast; } listen(onData, opts) { - let t27; + let t21; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); return (() => { - t27.onData(onData); - t27.onError(onError); - return t27; + t21.onData(onData); + t21.onError(onError); + return t21; })(); } cast(R) { @@ -16820,7 +18490,7 @@ define([], (function load__dart_sdk() { } } (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); this[_source$] = _source; CastStream.__proto__.new.call(this); ; @@ -16833,7 +18503,7 @@ define([], (function load__dart_sdk() { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStream, I[25]); + dart.setLibraryUri(CastStream, I[26]); dart.setFieldSignature(CastStream, () => ({ __proto__: dart.getFields(CastStream.__proto__), [_source$]: dart.finalFieldType(async.Stream$(S)) @@ -16849,6 +18519,10 @@ define([], (function load__dart_sdk() { const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); _internal.CastStreamSubscription$ = dart.generic((S, T) => { class CastStreamSubscription extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); + return new (_internal.CastStreamSubscription$(S, T)).new(_source); + } cancel() { return this[_source$].cancel(); } @@ -16908,7 +18582,7 @@ define([], (function load__dart_sdk() { } } (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); this[_zone] = async.Zone.current; this[_handleData] = null; this[_handleError] = null; @@ -16935,7 +18609,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(CastStreamSubscription.__proto__), isPaused: core.bool })); - dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setLibraryUri(CastStreamSubscription, I[26]); dart.setFieldSignature(CastStreamSubscription, () => ({ __proto__: dart.getFields(CastStreamSubscription.__proto__), [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), @@ -16965,26 +18639,30 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(StreamTransformerBase.__proto__), cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(StreamTransformerBase, I[29]); + dart.setLibraryUri(StreamTransformerBase, I[31]); return StreamTransformerBase; }); async.StreamTransformerBase = async.StreamTransformerBase$(); dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(_source); + } cast(RS, RT) { return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 108, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } } (CastStreamTransformer.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); this[_source$] = _source; CastStreamTransformer.__proto__.new.call(this); ; @@ -16997,7 +18675,7 @@ define([], (function load__dart_sdk() { cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setLibraryUri(CastStreamTransformer, I[26]); dart.setFieldSignature(CastStreamTransformer, () => ({ __proto__: dart.getFields(CastStreamTransformer.__proto__), [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) @@ -17008,29 +18686,29 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); const _is_Converter_default = Symbol('_is_Converter_default'); convert.Converter$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class Converter extends async.StreamTransformerBase$(S, T) { static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + if (source == null) dart.nullFailed(I[32], 21, 71, "source"); return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); } fuse(TT, other) { convert.Converter$(T, TT).as(other); - if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + if (other == null) dart.nullFailed(I[32], 31, 46, "other"); return new (convert._FusedConverter$(S, T, TT)).new(this, other); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 39, 42, "sink"); dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); - return StreamOfT().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[32], 44, 28, "stream"); + return __t$StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[32], 46, 28, "sink"); return new convert._ConverterStreamEventSink.new(this, sink); }, T$.EventSinkTo_ConverterStreamEventSink())); } @@ -17052,22 +18730,27 @@ define([], (function load__dart_sdk() { bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(Converter, I[31]); + dart.setStaticMethodSignature(Converter, () => ['castFrom']); + dart.setLibraryUri(Converter, I[33]); return Converter; }); convert.Converter = convert.Converter$(); dart.addTypeTests(convert.Converter, _is_Converter_default); const _is_CastConverter_default = Symbol('_is_CastConverter_default'); _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastConverter extends convert.Converter$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(_source); + } convert(input) { TS.as(input); return TT.as(this[_source$].convert(SS.as(input))); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 120, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } cast(RS, RT) { @@ -17075,7 +18758,7 @@ define([], (function load__dart_sdk() { } } (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); this[_source$] = _source; CastConverter.__proto__.new.call(this); ; @@ -17088,7 +18771,7 @@ define([], (function load__dart_sdk() { convert: dart.fnType(TT, [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastConverter, I[25]); + dart.setLibraryUri(CastConverter, I[26]); dart.setFieldSignature(CastConverter, () => ({ __proto__: dart.getFields(CastConverter.__proto__), [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) @@ -17100,29 +18783,38 @@ define([], (function load__dart_sdk() { _internal.BytesBuilder = class BytesBuilder extends core.Object { static new(opts) { let copy = opts && 'copy' in opts ? opts.copy : true; - if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); } + static ['_#new#tearOff'](opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); + return _internal.BytesBuilder.new({copy: copy}); + } }; (_internal.BytesBuilder[dart.mixinNew] = function() { }).prototype = _internal.BytesBuilder.prototype; dart.addTypeTests(_internal.BytesBuilder); dart.addTypeCaches(_internal.BytesBuilder); - dart.setLibraryUri(_internal.BytesBuilder, I[25]); + dart.setStaticMethodSignature(_internal.BytesBuilder, () => ['new']); + dart.setLibraryUri(_internal.BytesBuilder, I[26]); var _length$ = dart.privateName(_internal, "_length"); var _buffer = dart.privateName(_internal, "_buffer"); var _grow = dart.privateName(_internal, "_grow"); var _clear = dart.privateName(_internal, "_clear"); _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff']() { + return new _internal._CopyingBytesBuilder.new(); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 89, 22, "bytes"); let byteCount = bytes[$length]; if (byteCount === 0) return; let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); if (dart.notNull(this[_buffer][$length]) < required) { this[_grow](required); } - if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[34], 96, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer][$setRange](this[_length$], required, bytes); } else { @@ -17133,16 +18825,16 @@ define([], (function load__dart_sdk() { this[_length$] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (byte == null) dart.nullFailed(I[34], 107, 20, "byte"); if (this[_buffer][$length] == this[_length$]) { this[_grow](this[_length$]); } - if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[34], 113, 12, "_buffer.length > _length"); this[_buffer][$_set](this[_length$], byte); this[_length$] = dart.notNull(this[_length$]) + 1; } [_grow](required) { - if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + if (required == null) dart.nullFailed(I[34], 118, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -17180,8 +18872,8 @@ define([], (function load__dart_sdk() { this[_buffer] = _internal._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[32], 161, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + if (x == null) dart.nullFailed(I[34], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[34], 162, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -17209,18 +18901,20 @@ define([], (function load__dart_sdk() { clear: dart.fnType(dart.void, []), [_clear]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(_internal._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); - dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); + dart.setLibraryUri(_internal._CopyingBytesBuilder, I[26]); dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_buffer]: dart.fieldType(typed_data.Uint8List) })); + dart.setStaticFieldSignature(_internal._CopyingBytesBuilder, () => ['_initSize', '_emptyList']); dart.defineLazy(_internal._CopyingBytesBuilder, { /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { return 1024; @@ -17232,7 +18926,7 @@ define([], (function load__dart_sdk() { var _chunks = dart.privateName(_internal, "_chunks"); _internal._BytesBuilder = class _BytesBuilder extends core.Object { add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); let typedBytes = null; if (typed_data.Uint8List.is(bytes)) { typedBytes = bytes; @@ -17243,11 +18937,11 @@ define([], (function load__dart_sdk() { this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); } addByte(byte) { - let t67; - if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); - this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { - t67[$_set](0, byte); - return t67; + let t59; + if (byte == null) dart.nullFailed(I[34], 192, 20, "byte"); + this[_chunks][$add]((t59 = _native_typed_data.NativeUint8List.new(1), (() => { + t59[$_set](0, byte); + return t59; })())); this[_length$] = dart.notNull(this[_length$]) + 1; } @@ -17293,6 +18987,9 @@ define([], (function load__dart_sdk() { this[_length$] = 0; this[_chunks][$clear](); } + static ['_#new#tearOff']() { + return new _internal._BytesBuilder.new(); + } }; (_internal._BytesBuilder.new = function() { this[_length$] = 0; @@ -17317,35 +19014,41 @@ define([], (function load__dart_sdk() { isEmpty: core.bool, isNotEmpty: core.bool })); - dart.setLibraryUri(_internal._BytesBuilder, I[25]); + dart.setLibraryUri(_internal._BytesBuilder, I[26]); dart.setFieldSignature(_internal._BytesBuilder, () => ({ __proto__: dart.getFields(_internal._BytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) })); core.Iterable$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class Iterable extends core.Object { static generate(count, generator = null) { - if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); return new (core._GeneratorIterable$(E)).new(count, generator); } + static ['_#generate#tearOff'](E, count, generator = null) { + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); + return core.Iterable$(E).generate(count, generator); + } + static ['_#empty#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + if (source == null) dart.nullFailed(I[36], 119, 49, "source"); return _internal.CastIterable$(S, T).new(source); } [Symbol.iterator]() { @@ -17355,28 +19058,28 @@ define([], (function load__dart_sdk() { return core.Iterable.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[36], 172, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } - map(T, f) { - if (f == null) dart.nullFailed(I[34], 185, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[36], 217, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } where(test) { - if (test == null) dart.nullFailed(I[34], 199, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 239, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[34], 230, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[36], 280, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } contains(element) { for (let e of this) { @@ -17384,14 +19087,14 @@ define([], (function load__dart_sdk() { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[36], 324, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[36], 350, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -17403,21 +19106,21 @@ define([], (function load__dart_sdk() { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + if (combine == null) dart.nullFailed(I[36], 383, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(test) { - if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + if (test == null) dart.nullFailed(I[36], 401, 19, "test"); for (let element of this) { if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + if (separator == null) dart.nullFailed(I[36], 421, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -17435,7 +19138,7 @@ define([], (function load__dart_sdk() { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + if (test == null) dart.nullFailed(I[36], 450, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -17443,14 +19146,14 @@ define([], (function load__dart_sdk() { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().of(this); + return __t$LinkedHashSetOfE().of(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[36], 494, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -17465,20 +19168,20 @@ define([], (function load__dart_sdk() { return !dart.test(this[$isEmpty]); } take(count) { - if (count == null) dart.nullFailed(I[34], 412, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 543, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[34], 424, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 564, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[34], 442, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 589, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[34], 456, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 612, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -17506,9 +19209,9 @@ define([], (function load__dart_sdk() { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + if (test == null) dart.nullFailed(I[36], 676, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -17516,20 +19219,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + if (test == null) dart.nullFailed(I[36], 705, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t70) { + function result$35set(result$35param) { result$35isSet = true; - return result = t70; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17542,20 +19243,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + if (test == null) dart.nullFailed(I[36], 742, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t75) { + function result$35set(result$35param) { result$35isSet = true; - return result = t75; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17571,14 +19270,14 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + if (index == null) dart.nullFailed(I[36], 774, 19, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; for (let element of this) { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -17639,6 +19338,7 @@ define([], (function load__dart_sdk() { elementAt: dart.fnType(E, [core.int]), [$elementAt]: dart.fnType(E, [core.int]) })); + dart.setStaticMethodSignature(Iterable, () => ['generate', 'empty', 'castFrom']); dart.setGetterSignature(Iterable, () => ({ __proto__: dart.getGetters(Iterable.__proto__), length: core.int, @@ -17654,7 +19354,8 @@ define([], (function load__dart_sdk() { single: E, [$single]: E })); - dart.setLibraryUri(Iterable, I[8]); + dart.setLibraryUri(Iterable, I[9]); + dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); dart.defineExtensionMethods(Iterable, [ 'cast', 'followedBy', @@ -17695,15 +19396,15 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.Iterable, dart.isIterable); const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); _internal._CastIterableBase$ = dart.generic((S, T) => { - var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var __t$CastIteratorOfS$T = () => (__t$CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$VoidToS = () => (__t$VoidToS = dart.constFn(dart.fnType(S, [])))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); class _CastIterableBase extends core.Iterable$(T) { get iterator() { - return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + return new (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); } get length() { return this[_source$][$length]; @@ -17715,15 +19416,15 @@ define([], (function load__dart_sdk() { return this[_source$][$isNotEmpty]; } skip(count) { - if (count == null) dart.nullFailed(I[33], 39, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$skip](count)); + if (count == null) dart.nullFailed(I[35], 39, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$skip](count)); } take(count) { - if (count == null) dart.nullFailed(I[33], 40, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$take](count)); + if (count == null) dart.nullFailed(I[35], 40, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$take](count)); } elementAt(index) { - if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + if (index == null) dart.nullFailed(I[35], 42, 19, "index"); return T.as(this[_source$][$elementAt](index)); } get first() { @@ -17739,10 +19440,10 @@ define([], (function load__dart_sdk() { return this[_source$][$contains](other); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + if (test == null) dart.nullFailed(I[35], 51, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + __t$VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), __t$STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), __t$VoidToS())})); } toString() { return dart.toString(this[_source$]); @@ -17760,7 +19461,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(_CastIterableBase, I[25]); + dart.setLibraryUri(_CastIterableBase, I[26]); dart.defineExtensionMethods(_CastIterableBase, [ 'skip', 'take', @@ -17785,6 +19486,10 @@ define([], (function load__dart_sdk() { const _is_CastIterator_default = Symbol('_is_CastIterator_default'); _internal.CastIterator$ = dart.generic((S, T) => { class CastIterator extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); + return new (_internal.CastIterator$(S, T)).new(_source); + } moveNext() { return this[_source$].moveNext(); } @@ -17793,7 +19498,7 @@ define([], (function load__dart_sdk() { } } (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); this[_source$] = _source; ; }).prototype = CastIterator.prototype; @@ -17809,7 +19514,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(CastIterator.__proto__), current: T })); - dart.setLibraryUri(CastIterator, I[25]); + dart.setLibraryUri(CastIterator, I[26]); dart.setFieldSignature(CastIterator, () => ({ __proto__: dart.getFields(CastIterator.__proto__), [_source$]: dart.fieldType(core.Iterator$(S)) @@ -17828,19 +19533,27 @@ define([], (function load__dart_sdk() { set [_source$](value) { super[_source$] = value; } + static ['_#_#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); + return new (_internal.CastIterable$(S, T)).__(_source); + } static new(source) { - if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); if (_internal.EfficientLengthIterable$(S).is(source)) { return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); } return new (_internal.CastIterable$(S, T)).__(source); } + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); + return _internal.CastIterable$(S, T).new(source); + } cast(R) { return _internal.CastIterable$(S, R).new(this[_source$]); } } (CastIterable.__ = function(_source) { - if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); this[_source$0] = _source; CastIterable.__proto__.new.call(this); ; @@ -17853,7 +19566,8 @@ define([], (function load__dart_sdk() { cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastIterable, I[25]); + dart.setStaticMethodSignature(CastIterable, () => ['new']); + dart.setLibraryUri(CastIterable, I[26]); dart.setFieldSignature(CastIterable, () => ({ __proto__: dart.getFields(CastIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)) @@ -17865,9 +19579,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { - class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) { + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + } (_EfficientLengthCastIterable.new = function(source) { - if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); _EfficientLengthCastIterable.__proto__.__.call(this, source); ; }).prototype = _EfficientLengthCastIterable.prototype; @@ -17875,19 +19594,19 @@ define([], (function load__dart_sdk() { _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; dart.addTypeCaches(_EfficientLengthCastIterable); _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + dart.setLibraryUri(_EfficientLengthCastIterable, I[26]); return _EfficientLengthCastIterable; }); _internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); const _is__CastListBase_default = Symbol('_is__CastListBase_default'); _internal._CastListBase$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$SAndSToint = () => (__t$SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; (_CastIterableBase_ListMixin$36.new = function() { _CastIterableBase_ListMixin$36.__proto__.new.call(this); @@ -17895,18 +19614,18 @@ define([], (function load__dart_sdk() { dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); class _CastListBase extends _CastIterableBase_ListMixin$36 { _get(index) { - if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + if (index == null) dart.nullFailed(I[35], 99, 21, "index"); return T.as(this[_source$][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + if (index == null) dart.nullFailed(I[35], 101, 25, "index"); T.as(value); this[_source$][$_set](index, S.as(value)); return value$; } set length(length) { - if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + if (length == null) dart.nullFailed(I[35], 105, 23, "length"); this[_source$][$length] = length; } get length() { @@ -17917,81 +19636,81 @@ define([], (function load__dart_sdk() { this[_source$][$add](S.as(value)); } addAll(values) { - IterableOfT().as(values); - if (values == null) dart.nullFailed(I[33], 113, 27, "values"); - this[_source$][$addAll](CastIterableOfT$S().new(values)); + __t$IterableOfT().as(values); + if (values == null) dart.nullFailed(I[35], 113, 27, "values"); + this[_source$][$addAll](__t$CastIterableOfT$S().new(values)); } sort(compare = null) { - this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), __t$SAndSToint())); } shuffle(random = null) { this[_source$][$shuffle](random); } insert(index, element) { - if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + if (index == null) dart.nullFailed(I[35], 126, 19, "index"); T.as(element); this[_source$][$insert](index, S.as(element)); } insertAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 130, 22, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); - this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 130, 22, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 130, 41, "elements"); + this[_source$][$insertAll](index, __t$CastIterableOfT$S().new(elements)); } setAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 134, 19, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); - this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 134, 19, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 134, 38, "elements"); + this[_source$][$setAll](index, __t$CastIterableOfT$S().new(elements)); } remove(value) { return this[_source$][$remove](value); } removeAt(index) { - if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + if (index == null) dart.nullFailed(I[35], 140, 18, "index"); return T.as(this[_source$][$removeAt](index)); } removeLast() { return T.as(this[_source$][$removeLast]()); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 148, 25, "test"); - this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } getRange(start, end) { - if (start == null) dart.nullFailed(I[33], 152, 28, "start"); - if (end == null) dart.nullFailed(I[33], 152, 39, "end"); - return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + if (start == null) dart.nullFailed(I[35], 152, 28, "start"); + if (end == null) dart.nullFailed(I[35], 152, 39, "end"); + return __t$CastIterableOfS$T().new(this[_source$][$getRange](start, end)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[33], 155, 21, "start"); - if (end == null) dart.nullFailed(I[33], 155, 32, "end"); - IterableOfT().as(iterable); - if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); - this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + if (start == null) dart.nullFailed(I[35], 155, 21, "start"); + if (end == null) dart.nullFailed(I[35], 155, 32, "end"); + __t$IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[35], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[35], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, __t$CastIterableOfT$S().new(iterable), skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[33], 159, 24, "start"); - if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + if (start == null) dart.nullFailed(I[35], 159, 24, "start"); + if (end == null) dart.nullFailed(I[35], 159, 35, "end"); this[_source$][$removeRange](start, end); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[33], 163, 22, "start"); - if (end == null) dart.nullFailed(I[33], 163, 33, "end"); - TN().as(fillValue); + if (start == null) dart.nullFailed(I[35], 163, 22, "start"); + if (end == null) dart.nullFailed(I[35], 163, 33, "end"); + __t$TN().as(fillValue); this[_source$][$fillRange](start, end, S.as(fillValue)); } replaceRange(start, end, replacement) { - if (start == null) dart.nullFailed(I[33], 167, 25, "start"); - if (end == null) dart.nullFailed(I[33], 167, 36, "end"); - IterableOfT().as(replacement); - if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); - this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + if (start == null) dart.nullFailed(I[35], 167, 25, "start"); + if (end == null) dart.nullFailed(I[35], 167, 36, "end"); + __t$IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[35], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, __t$CastIterableOfT$S().new(replacement)); } } (_CastListBase.new = function() { @@ -18013,7 +19732,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_CastListBase, I[25]); + dart.setLibraryUri(_CastListBase, I[26]); dart.defineExtensionMethods(_CastListBase, [ '_get', '_set', @@ -18050,12 +19769,16 @@ define([], (function load__dart_sdk() { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); + return new (_internal.CastList$(S, T)).new(_source); + } cast(R) { return new (_internal.CastList$(S, R)).new(this[_source$]); } } (CastList.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); this[_source$1] = _source; CastList.__proto__.new.call(this); ; @@ -18068,7 +19791,7 @@ define([], (function load__dart_sdk() { cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastList, I[25]); + dart.setLibraryUri(CastList, I[26]); dart.setFieldSignature(CastList, () => ({ __proto__: dart.getFields(CastList.__proto__), [_source$]: dart.finalFieldType(core.List$(S)) @@ -18084,12 +19807,12 @@ define([], (function load__dart_sdk() { var _clone = dart.privateName(_internal, "_clone"); const _is_CastSet_default = Symbol('_is_CastSet_default'); _internal.CastSet$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastSetOfS$T = () => (__t$CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); class CastSet extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$2]; @@ -18097,8 +19820,9 @@ define([], (function load__dart_sdk() { set [_source$](value) { super[_source$] = value; } - static _defaultEmptySet(R) { - return new (collection._HashSet$(R)).new(); + static ['_#new#tearOff'](S, T, _source, _emptySet) { + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); + return new (_internal.CastSet$(S, T)).new(_source, _emptySet); } cast(R) { return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); @@ -18108,48 +19832,48 @@ define([], (function load__dart_sdk() { return this[_source$].add(S.as(value)); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 192, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } remove(object) { return this[_source$].remove(object); } removeAll(objects) { - if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 198, 36, "objects"); this[_source$].removeAll(objects); } retainAll(objects) { - if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); this[_source$].retainAll(objects); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 208, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 206, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 212, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 210, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } containsAll(objects) { - if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); return this[_source$].containsAll(objects); } intersection(other) { - if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (other == null) dart.nullFailed(I[35], 216, 36, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); } difference(other) { - if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (other == null) dart.nullFailed(I[35], 221, 34, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); } [_conditionalAdd](other, otherContains) { - if (other == null) dart.nullFailed(I[33], 228, 39, "other"); - if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + if (other == null) dart.nullFailed(I[35], 226, 39, "other"); + if (otherContains == null) dart.nullFailed(I[35], 226, 51, "otherContains"); let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); for (let element of this[_source$]) { let castElement = T.as(element); if (otherContains == other.contains(castElement)) result.add(castElement); @@ -18157,13 +19881,13 @@ define([], (function load__dart_sdk() { return result; } union(other) { - let t77; - SetOfT().as(other); - if (other == null) dart.nullFailed(I[33], 238, 23, "other"); - t77 = this[_clone](); + let t67; + __t$SetOfT().as(other); + if (other == null) dart.nullFailed(I[35], 236, 23, "other"); + t67 = this[_clone](); return (() => { - t77.addAll(other); - return t77; + t67.addAll(other); + return t67; })(); } clear() { @@ -18171,7 +19895,7 @@ define([], (function load__dart_sdk() { } [_clone]() { let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); result.addAll(this); return result; } @@ -18183,7 +19907,7 @@ define([], (function load__dart_sdk() { } } (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); this[_source$2] = _source; this[_emptySet$] = _emptySet; CastSet.__proto__.new.call(this); @@ -18213,7 +19937,7 @@ define([], (function load__dart_sdk() { [_clone]: dart.fnType(core.Set$(T), []), lookup: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastSet, I[25]); + dart.setLibraryUri(CastSet, I[26]); dart.setFieldSignature(CastSet, () => ({ __proto__: dart.getFields(CastSet.__proto__), [_source$]: dart.finalFieldType(core.Set$(S)), @@ -18226,32 +19950,33 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.CastSet, _is_CastSet_default); const _is_MapMixin_default = Symbol('_is_MapMixin_default'); collection.MapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); - var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$KToMapEntryOfK$V = () => (__t$KToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [K])))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$JSArrayOfK = () => (__t$JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var __t$_MapBaseValueIterableOfK$V = () => (__t$_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapMixin extends core.Object { cast(RK, RV) { return core.Map.castFrom(K, V, RK, RV, this); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + if (action == null) dart.nullFailed(I[37], 121, 21, "action"); for (let key of this[$keys]) { action(key, V.as(this[$_get](key))); } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 127, 25, "other"); - for (let key of other[$keys]) { - this[$_set](key, V.as(other[$_get](key))); - } + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 127, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this[$_set](key, value); + }, __t$KAndVTovoid())); } containsValue(value) { for (let key of this[$keys]) { @@ -18260,51 +19985,51 @@ define([], (function load__dart_sdk() { return false; } putIfAbsent(key, ifAbsent) { - let t78, t77; + let t68, t67; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 140, 26, "ifAbsent"); if (dart.test(this[$containsKey](key))) { return V.as(this[$_get](key)); } - t77 = key; - t78 = ifAbsent(); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = ifAbsent(); + this[$_set](t67, t68); + return t68; } update(key, update, opts) { - let t78, t77, t78$, t77$; + let t68, t67, t68$, t67$; K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 147, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); if (dart.test(this[$containsKey](key))) { - t77 = key; - t78 = update(V.as(this[$_get](key))); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = update(V.as(this[$_get](key))); + this[$_set](t67, t68); + return t68; } if (ifAbsent != null) { - t77$ = key; - t78$ = ifAbsent(); - this[$_set](t77$, t78$); - return t78$; + t67$ = key; + t68$ = ifAbsent(); + this[$_set](t67$, t68$); + return t68$; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 157, 20, "update"); for (let key of this[$keys]) { this[$_set](key, update(key, V.as(this[$_get](key)))); } } get entries() { - return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + return this[$keys][$map](__t$MapEntryOfK$V(), dart.fn(key => new (__t$MapEntryOfK$V()).__(key, V.as(this[$_get](key))), __t$KToMapEntryOfK$V())); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 167, 44, "transform"); let result = new (_js_helper.LinkedMap$(K2, V2)).new(); for (let key of this[$keys]) { let entry = transform(key, V.as(this[$_get](key))); @@ -18313,15 +20038,15 @@ define([], (function load__dart_sdk() { return result; } addEntries(newEntries) { - IterableOfMapEntryOfK$V().as(newEntries); - if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + __t$IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[37], 176, 44, "newEntries"); for (let entry of newEntries) { this[$_set](entry.key, entry.value); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 182, 25, "test"); - let keysToRemove = JSArrayOfK().of([]); + if (test == null) dart.nullFailed(I[37], 182, 25, "test"); + let keysToRemove = __t$JSArrayOfK().of([]); for (let key of this[$keys]) { if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); } @@ -18342,7 +20067,7 @@ define([], (function load__dart_sdk() { return this[$keys][$isNotEmpty]; } get values() { - return new (_MapBaseValueIterableOfK$V()).new(this); + return new (__t$_MapBaseValueIterableOfK$V()).new(this); } toString() { return collection.MapBase.mapToString(this); @@ -18394,7 +20119,7 @@ define([], (function load__dart_sdk() { values: core.Iterable$(V), [$values]: core.Iterable$(V) })); - dart.setLibraryUri(MapMixin, I[24]); + dart.setLibraryUri(MapMixin, I[25]); dart.defineExtensionMethods(MapMixin, [ 'cast', 'forEach', @@ -18424,7 +20149,7 @@ define([], (function load__dart_sdk() { collection.MapBase$ = dart.generic((K, V) => { class MapBase extends collection.MapMixin$(K, V) { static mapToString(m) { - if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (m == null) dart.nullFailed(I[37], 22, 51, "m"); if (dart.test(collection._isToStringVisiting(m))) { return "{...}"; } @@ -18444,7 +20169,7 @@ define([], (function load__dart_sdk() { }, T$.ObjectNAndObjectNTovoid())); result.write("}"); } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); collection._toStringVisiting[$removeLast](); } return result.toString(); @@ -18453,10 +20178,10 @@ define([], (function load__dart_sdk() { return x; } static _fillMapWithMappedIterable(map, iterable, key, value) { - if (map == null) dart.nullFailed(I[35], 58, 29, "map"); - if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); - key == null ? key = C[19] || CT.C19 : null; - value == null ? value = C[19] || CT.C19 : null; + if (map == null) dart.nullFailed(I[37], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[37], 59, 25, "iterable"); + key == null ? key = C[20] || CT.C20 : null; + value == null ? value = C[20] || CT.C20 : null; if (key == null) dart.throw("!"); if (value == null) dart.throw("!"); for (let element of iterable) { @@ -18464,9 +20189,9 @@ define([], (function load__dart_sdk() { } } static _fillMapWithIterables(map, keys, values) { - if (map == null) dart.nullFailed(I[35], 77, 59, "map"); - if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); - if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + if (map == null) dart.nullFailed(I[37], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[37], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[37], 78, 49, "values"); let keyIterator = keys[$iterator]; let valueIterator = values[$iterator]; let hasNextKey = keyIterator.moveNext(); @@ -18487,32 +20212,37 @@ define([], (function load__dart_sdk() { dart.addTypeTests(MapBase); MapBase.prototype[_is_MapBase_default] = true; dart.addTypeCaches(MapBase); - dart.setLibraryUri(MapBase, I[24]); + dart.setStaticMethodSignature(MapBase, () => ['mapToString', '_id', '_fillMapWithMappedIterable', '_fillMapWithIterables']); + dart.setLibraryUri(MapBase, I[25]); return MapBase; }); collection.MapBase = collection.MapBase$(); dart.addTypeTests(collection.MapBase, _is_MapBase_default); const _is_CastMap_default = Symbol('_is_CastMap_default'); _internal.CastMap$ = dart.generic((SK, SV, K, V) => { - var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); - var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); - var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); - var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); - var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); - var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); - var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); - var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); - var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); - var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var VN = () => (VN = dart.constFn(dart.nullable(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$CastMapOfK$V$SK$SV = () => (__t$CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var __t$SKAndSVTovoid = () => (__t$SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var __t$CastIterableOfSK$K = () => (__t$CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var __t$SKAndSVToSV = () => (__t$SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var __t$MapEntryOfSK$SV = () => (__t$MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var __t$MapEntryOfSK$SVToMapEntryOfK$V = () => (__t$MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [__t$MapEntryOfSK$SV()])))(); + var __t$SKAndSVTobool = () => (__t$SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var __t$VoidToSV = () => (__t$VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var __t$CastIterableOfSV$V = () => (__t$CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var __t$SVToSV = () => (__t$SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$VN = () => (__t$VN = dart.constFn(dart.nullable(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class CastMap extends collection.MapBase$(K, V) { + static ['_#new#tearOff'](SK, SV, K, V, _source) { + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); + return new (_internal.CastMap$(SK, SV, K, V)).new(_source); + } cast(RK, RV) { return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); } @@ -18523,7 +20253,7 @@ define([], (function load__dart_sdk() { return this[_source$][$containsKey](key); } _get(key) { - return VN().as(this[_source$][$_get](key)); + return __t$VN().as(this[_source$][$_get](key)); } _set(key, value$) { let value = value$; @@ -18534,32 +20264,32 @@ define([], (function load__dart_sdk() { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); - return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 271, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV()))); } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[33], 276, 25, "other"); - this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 274, 25, "other"); + this[_source$][$addAll](new (__t$CastMapOfK$V$SK$SV()).new(other)); } remove(key) { - return VN().as(this[_source$][$remove](key)); + return __t$VN().as(this[_source$][$remove](key)); } clear() { this[_source$][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + if (f == null) dart.nullFailed(I[35], 284, 21, "f"); this[_source$][$forEach](dart.fn((key, value) => { f(K.as(key), V.as(value)); - }, SKAndSVTovoid())); + }, __t$SKAndSVTovoid())); } get keys() { - return CastIterableOfSK$K().new(this[_source$][$keys]); + return __t$CastIterableOfSK$K().new(this[_source$][$keys]); } get values() { - return CastIterableOfSV$V().new(this[_source$][$values]); + return __t$CastIterableOfSV$V().new(this[_source$][$values]); } get length() { return this[_source$][$length]; @@ -18572,37 +20302,37 @@ define([], (function load__dart_sdk() { } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[35], 300, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); - return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + __t$VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), __t$SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV())})); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[33], 307, 20, "update"); - this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 305, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), __t$SKAndSVToSV())); } get entries() { - return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { - if (e == null) dart.nullFailed(I[33], 313, 27, "e"); - return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); - }, MapEntryOfSK$SVToMapEntryOfK$V())); + return this[_source$][$entries][$map](__t$MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[35], 311, 27, "e"); + return new (__t$MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, __t$MapEntryOfSK$SVToMapEntryOfK$V())); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 314, 44, "entries"); for (let entry of entries) { this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 322, 25, "test"); - this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + if (test == null) dart.nullFailed(I[35], 320, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), __t$SKAndSVTobool())); } } (CastMap.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); this[_source$] = _source; ; }).prototype = CastMap.prototype; @@ -18627,7 +20357,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CastMap, I[25]); + dart.setLibraryUri(CastMap, I[26]); dart.setFieldSignature(CastMap, () => ({ __proto__: dart.getFields(CastMap.__proto__), [_source$]: dart.finalFieldType(core.Map$(SK, SV)) @@ -18663,9 +20393,9 @@ define([], (function load__dart_sdk() { var _source$3 = dart.privateName(_internal, "CastQueue._source"); const _is_CastQueue_default = Symbol('_is_CastQueue_default'); _internal.CastQueue$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); class CastQueue extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$3]; @@ -18673,6 +20403,10 @@ define([], (function load__dart_sdk() { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); + return new (_internal.CastQueue$(S, T)).new(_source); + } cast(R) { return new (_internal.CastQueue$(S, R)).new(this[_source$]); } @@ -18698,24 +20432,24 @@ define([], (function load__dart_sdk() { return this[_source$].remove(other); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 346, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 352, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 350, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 356, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 354, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } clear() { this[_source$].clear(); } } (CastQueue.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); this[_source$3] = _source; CastQueue.__proto__.new.call(this); ; @@ -18739,7 +20473,7 @@ define([], (function load__dart_sdk() { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), clear: dart.fnType(dart.void, []) })); - dart.setLibraryUri(CastQueue, I[25]); + dart.setLibraryUri(CastQueue, I[26]); dart.setFieldSignature(CastQueue, () => ({ __proto__: dart.getFields(CastQueue.__proto__), [_source$]: dart.finalFieldType(collection.Queue$(S)) @@ -18751,6 +20485,33 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); var _message$ = dart.privateName(_internal, "_message"); _internal.LateError = class LateError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.LateError.new(_message); + } + static ['_#fieldADI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); + return new _internal.LateError.fieldADI(fieldName); + } + static ['_#localADI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); + return new _internal.LateError.localADI(localName); + } + static ['_#fieldNI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); + return new _internal.LateError.fieldNI(fieldName); + } + static ['_#localNI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); + return new _internal.LateError.localNI(localName); + } + static ['_#fieldAI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); + return new _internal.LateError.fieldAI(fieldName); + } + static ['_#localAI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); + return new _internal.LateError.localAI(localName); + } toString() { let message = this[_message$]; return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; @@ -18762,50 +20523,53 @@ define([], (function load__dart_sdk() { ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldADI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localADI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldNI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localNI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldAI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localAI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; dart.addTypeTests(_internal.LateError); dart.addTypeCaches(_internal.LateError); - dart.setLibraryUri(_internal.LateError, I[25]); + dart.setLibraryUri(_internal.LateError, I[26]); dart.setFieldSignature(_internal.LateError, () => ({ __proto__: dart.getFields(_internal.LateError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) })); dart.defineExtensionMethods(_internal.LateError, ['toString']); _internal.ReachabilityError = class ReachabilityError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.ReachabilityError.new(_message); + } toString() { let message = this[_message$]; return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; @@ -18818,7 +20582,7 @@ define([], (function load__dart_sdk() { }).prototype = _internal.ReachabilityError.prototype; dart.addTypeTests(_internal.ReachabilityError); dart.addTypeCaches(_internal.ReachabilityError); - dart.setLibraryUri(_internal.ReachabilityError, I[25]); + dart.setLibraryUri(_internal.ReachabilityError, I[26]); dart.setFieldSignature(_internal.ReachabilityError, () => ({ __proto__: dart.getFields(_internal.ReachabilityError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) @@ -18834,27 +20598,26 @@ define([], (function load__dart_sdk() { dart.addTypeTests(EfficientLengthIterable); EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; dart.addTypeCaches(EfficientLengthIterable); - dart.setLibraryUri(EfficientLengthIterable, I[25]); + dart.setLibraryUri(EfficientLengthIterable, I[26]); return EfficientLengthIterable; }); _internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); const _is_ListIterable_default = Symbol('_is_ListIterable_default'); _internal.ListIterable$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class ListIterable extends _internal.EfficientLengthIterable$(E) { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } forEach(action) { - if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + if (action == null) dart.nullFailed(I[39], 36, 21, "action"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this.elementAt(i)); @@ -18890,7 +20653,7 @@ define([], (function load__dart_sdk() { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + if (test == null) dart.nullFailed(I[39], 75, 19, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this.elementAt(i)))) return false; @@ -18901,7 +20664,7 @@ define([], (function load__dart_sdk() { return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + if (test == null) dart.nullFailed(I[39], 86, 17, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this.elementAt(i)))) return true; @@ -18912,9 +20675,9 @@ define([], (function load__dart_sdk() { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + if (test == null) dart.nullFailed(I[39], 97, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18927,9 +20690,9 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + if (test == null) dart.nullFailed(I[39], 110, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this.elementAt(i); @@ -18942,21 +20705,19 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + if (test == null) dart.nullFailed(I[39], 123, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t80) { + function match$35set(match$35param) { match$35isSet = true; - return match = t80; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18976,7 +20737,7 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); let length = this.length; if (!separator[$isEmpty]) { if (length === 0) return ""; @@ -19005,16 +20766,16 @@ define([], (function load__dart_sdk() { } } where(test) { - if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + if (test == null) dart.nullFailed(I[39], 174, 26, "test"); return super[$where](test); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 176, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); + return new (_internal.MappedListIterable$(E, T)).new(this, toElement); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 179, 14, "combine"); let length = this.length; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this.elementAt(0); @@ -19027,7 +20788,7 @@ define([], (function load__dart_sdk() { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 192, 31, "combine"); let value = initialValue; let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -19039,28 +20800,28 @@ define([], (function load__dart_sdk() { return value; } skip(count) { - if (count == null) dart.nullFailed(I[37], 203, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[39], 204, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + if (test == null) dart.nullFailed(I[39], 206, 30, "test"); return super[$skipWhile](test); } take(count) { - if (count == null) dart.nullFailed(I[37], 207, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[39], 208, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + if (test == null) dart.nullFailed(I[39], 211, 30, "test"); return super[$takeWhile](test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[39], 213, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this.length); i = i + 1) { result.add(this.elementAt(i)); } @@ -19086,7 +20847,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ListIterable, I[25]); + dart.setLibraryUri(ListIterable, I[26]); dart.defineExtensionMethods(ListIterable, [ 'forEach', 'contains', @@ -19125,10 +20886,15 @@ define([], (function load__dart_sdk() { var _startIndex = dart.privateName(_internal, "_startIndex"); const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); _internal.SubListIterable$ = dart.generic(E => { - var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var __t$EmptyIterableOfE = () => (__t$EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); class SubListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); + return new (_internal.SubListIterable$(E)).new(_iterable, _start, _endOrLength); + } get [_endIndex]() { let length = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; @@ -19150,45 +20916,45 @@ define([], (function load__dart_sdk() { return dart.notNull(endOrLength) - dart.notNull(this[_start$]); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + if (index == null) dart.nullFailed(I[39], 265, 19, "index"); let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { - dart.throw(new core.IndexError.new(index, this, "index")); + dart.throw(new core.IndexError.withLength(index, this.length, {indexable: this, name: "index"})); } return this[_iterable$][$elementAt](realIndex); } skip(count) { - if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + if (count == null) dart.nullFailed(I[39], 274, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let newStart = dart.notNull(this[_start$]) + dart.notNull(count); let endOrLength = this[_endOrLength$]; if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { - return new (EmptyIterableOfE()).new(); + return new (__t$EmptyIterableOfE()).new(); } - return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); } take(count) { - if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + if (count == null) dart.nullFailed(I[39], 284, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let endOrLength = this[_endOrLength$]; if (endOrLength == null) { - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); } else { let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); if (dart.notNull(endOrLength) < newEnd) return this; - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); } } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + if (growable == null) dart.nullFailed(I[39], 296, 24, "growable"); let start = this[_start$]; let end = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; let length = dart.notNull(end) - dart.notNull(start); - if (length <= 0) return ListOfE().empty({growable: growable}); - let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + if (length <= 0) return __t$ListOfE().empty({growable: growable}); + let result = __t$ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); for (let i = 1; i < length; i = i + 1) { result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); @@ -19197,8 +20963,8 @@ define([], (function load__dart_sdk() { } } (SubListIterable.new = function(_iterable, _start, _endOrLength) { - if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); - if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); this[_iterable$] = _iterable; this[_start$] = _start; this[_endOrLength$] = _endOrLength; @@ -19220,7 +20986,7 @@ define([], (function load__dart_sdk() { [_endIndex]: core.int, [_startIndex]: core.int })); - dart.setLibraryUri(SubListIterable, I[25]); + dart.setLibraryUri(SubListIterable, I[26]); dart.setFieldSignature(SubListIterable, () => ({ __proto__: dart.getFields(SubListIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19238,6 +21004,10 @@ define([], (function load__dart_sdk() { const _is_ListIterator_default = Symbol('_is_ListIterator_default'); _internal.ListIterator$ = dart.generic(E => { class ListIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); + return new (_internal.ListIterator$(E)).new(iterable); + } get current() { return E.as(this[_current$]); } @@ -19256,7 +21026,7 @@ define([], (function load__dart_sdk() { } } (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); this[_current$] = null; this[_iterable$] = iterable; this[_length$] = iterable[$length]; @@ -19275,7 +21045,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(ListIterator.__proto__), current: E })); - dart.setLibraryUri(ListIterator, I[25]); + dart.setLibraryUri(ListIterator, I[26]); dart.setFieldSignature(ListIterator, () => ({ __proto__: dart.getFields(ListIterator.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19290,18 +21060,28 @@ define([], (function load__dart_sdk() { var _f$ = dart.privateName(_internal, "_f"); const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); _internal.MappedIterable$ = dart.generic((S, T) => { - var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + var __t$MappedIteratorOfS$T = () => (__t$MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); class MappedIterable extends core.Iterable$(T) { static new(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); - if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); if (_internal.EfficientLengthIterable.is(iterable)) { return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); } return new (_internal.MappedIterable$(S, T)).__(iterable, $function); } + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); + return _internal.MappedIterable$(S, T).new(iterable, $function); + } + static ['_#_#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); + return new (_internal.MappedIterable$(S, T)).__(_iterable, _f); + } get iterator() { - return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } get length() { return this[_iterable$][$length]; @@ -19310,30 +21090,30 @@ define([], (function load__dart_sdk() { return this[_iterable$][$isEmpty]; } get first() { - let t82; - t82 = this[_iterable$][$first]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$first]; + return this[_f$](t71); } get last() { - let t82; - t82 = this[_iterable$][$last]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$last]; + return this[_f$](t71); } get single() { - let t82; - t82 = this[_iterable$][$single]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$single]; + return this[_f$](t71); } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 372, 19, "index"); - t82 = this[_iterable$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 375, 19, "index"); + t71 = this[_iterable$][$elementAt](index); + return this[_f$](t71); } } (MappedIterable.__ = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; MappedIterable.__proto__.new.call(this); @@ -19342,12 +21122,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(MappedIterable); MappedIterable.prototype[_is_MappedIterable_default] = true; dart.addTypeCaches(MappedIterable); + dart.setStaticMethodSignature(MappedIterable, () => ['new']); dart.setGetterSignature(MappedIterable, () => ({ __proto__: dart.getGetters(MappedIterable.__proto__), iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(MappedIterable, I[25]); + dart.setLibraryUri(MappedIterable, I[26]); dart.setFieldSignature(MappedIterable, () => ({ __proto__: dart.getFields(MappedIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19368,10 +21149,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { - class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) { + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + } (EfficientLengthMappedIterable.new = function(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); - if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); ; }).prototype = EfficientLengthMappedIterable.prototype; @@ -19379,7 +21166,7 @@ define([], (function load__dart_sdk() { EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; dart.addTypeCaches(EfficientLengthMappedIterable); EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); return EfficientLengthMappedIterable; }); _internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); @@ -19394,7 +21181,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(Iterator); Iterator.prototype[_is_Iterator_default] = true; dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[8]); + dart.setLibraryUri(Iterator, I[9]); return Iterator; }); core.Iterator = core.Iterator$(); @@ -19402,10 +21189,15 @@ define([], (function load__dart_sdk() { const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); _internal.MappedIterator$ = dart.generic((S, T) => { class MappedIterator extends core.Iterator$(T) { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); + return new (_internal.MappedIterator$(S, T)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); return true; } this[_current$] = null; @@ -19416,8 +21208,8 @@ define([], (function load__dart_sdk() { } } (MappedIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19434,7 +21226,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(MappedIterator.__proto__), current: T })); - dart.setLibraryUri(MappedIterator, I[25]); + dart.setLibraryUri(MappedIterator, I[26]); dart.setFieldSignature(MappedIterator, () => ({ __proto__: dart.getFields(MappedIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -19448,19 +21240,24 @@ define([], (function load__dart_sdk() { const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); _internal.MappedListIterable$ = dart.generic((S, T) => { class MappedListIterable extends _internal.ListIterable$(T) { + static ['_#new#tearOff'](S, T, _source, _f) { + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); + return new (_internal.MappedListIterable$(S, T)).new(_source, _f); + } get length() { return this[_source$][$length]; } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 412, 19, "index"); - t82 = this[_source$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 415, 19, "index"); + t71 = this[_source$][$elementAt](index); + return this[_f$](t71); } } (MappedListIterable.new = function(_source, _f) { - if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); - if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); this[_source$] = _source; this[_f$] = _f; MappedListIterable.__proto__.new.call(this); @@ -19469,7 +21266,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(MappedListIterable); MappedListIterable.prototype[_is_MappedListIterable_default] = true; dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[25]); + dart.setLibraryUri(MappedListIterable, I[26]); dart.setFieldSignature(MappedListIterable, () => ({ __proto__: dart.getFields(MappedListIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)), @@ -19483,19 +21280,24 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); _internal.WhereIterable$ = dart.generic(E => { - var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + var __t$WhereIteratorOfE = () => (__t$WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); class WhereIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); + return new (_internal.WhereIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 426, 24, "f"); - return new (_internal.MappedIterable$(E, T)).__(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 429, 24, "toElement"); + return new (_internal.MappedIterable$(E, T)).__(this, toElement); } } (WhereIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; WhereIterable.__proto__.new.call(this); @@ -19514,7 +21316,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(WhereIterable, I[25]); + dart.setLibraryUri(WhereIterable, I[26]); dart.setFieldSignature(WhereIterable, () => ({ __proto__: dart.getFields(WhereIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19529,10 +21331,15 @@ define([], (function load__dart_sdk() { const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); _internal.WhereIterator$ = dart.generic(E => { class WhereIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); + return new (_internal.WhereIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { return true; } } @@ -19543,8 +21350,8 @@ define([], (function load__dart_sdk() { } } (WhereIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); this[_iterator$] = _iterator; this[_f$] = _f; ; @@ -19560,7 +21367,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(WhereIterator.__proto__), current: E })); - dart.setLibraryUri(WhereIterator, I[25]); + dart.setLibraryUri(WhereIterator, I[26]); dart.setFieldSignature(WhereIterator, () => ({ __proto__: dart.getFields(WhereIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19572,15 +21379,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); _internal.ExpandIterable$ = dart.generic((S, T) => { - var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + var __t$ExpandIteratorOfS$T = () => (__t$ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); class ExpandIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); + return new (_internal.ExpandIterable$(S, T)).new(_iterable, _f); + } get iterator() { - return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } } (ExpandIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; ExpandIterable.__proto__.new.call(this); @@ -19594,7 +21406,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(ExpandIterable, I[25]); + dart.setLibraryUri(ExpandIterable, I[26]); dart.setFieldSignature(ExpandIterable, () => ({ __proto__: dart.getFields(ExpandIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19609,17 +21421,22 @@ define([], (function load__dart_sdk() { const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); _internal.ExpandIterator$ = dart.generic((S, T) => { class ExpandIterator extends core.Object { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + return new (_internal.ExpandIterator$(S, T)).new(_iterator, _f); + } get current() { return T.as(this[_current$]); } moveNext() { - let t82; + let t71; if (this[_currentExpansion] == null) return false; while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { this[_current$] = null; if (dart.test(this[_iterator$].moveNext())) { this[_currentExpansion] = null; - this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + this[_currentExpansion] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; } else { return false; } @@ -19629,9 +21446,9 @@ define([], (function load__dart_sdk() { } } (ExpandIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); - this[_currentExpansion] = C[20] || CT.C20; + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + this[_currentExpansion] = C[21] || CT.C21; this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19649,7 +21466,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(ExpandIterator.__proto__), current: T })); - dart.setLibraryUri(ExpandIterator, I[25]); + dart.setLibraryUri(ExpandIterator, I[26]); dart.setFieldSignature(ExpandIterator, () => ({ __proto__: dart.getFields(ExpandIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(S)), @@ -19664,11 +21481,11 @@ define([], (function load__dart_sdk() { var _takeCount$ = dart.privateName(_internal, "_takeCount"); const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); _internal.TakeIterable$ = dart.generic(E => { - var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + var __t$TakeIteratorOfE = () => (__t$TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); class TakeIterable extends core.Iterable$(E) { static new(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); core.RangeError.checkNotNegative(takeCount, "takeCount"); if (_internal.EfficientLengthIterable.is(iterable)) { @@ -19676,13 +21493,23 @@ define([], (function load__dart_sdk() { } return new (_internal.TakeIterable$(E)).__(iterable, takeCount); } + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); + return _internal.TakeIterable$(E).new(iterable, takeCount); + } + static ['_#_#tearOff'](E, _iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); + return new (_internal.TakeIterable$(E)).__(_iterable, _takeCount); + } get iterator() { - return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + return new (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); } } (TakeIterable.__ = function(_iterable, _takeCount) { - if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); - if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); this[_iterable$] = _iterable; this[_takeCount$] = _takeCount; TakeIterable.__proto__.new.call(this); @@ -19691,12 +21518,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(TakeIterable); TakeIterable.prototype[_is_TakeIterable_default] = true; dart.addTypeCaches(TakeIterable); + dart.setStaticMethodSignature(TakeIterable, () => ['new']); dart.setGetterSignature(TakeIterable, () => ({ __proto__: dart.getGetters(TakeIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeIterable, I[25]); + dart.setLibraryUri(TakeIterable, I[26]); dart.setFieldSignature(TakeIterable, () => ({ __proto__: dart.getFields(TakeIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19710,6 +21538,11 @@ define([], (function load__dart_sdk() { const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); _internal.EfficientLengthTakeIterable$ = dart.generic(E => { class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } get length() { let iterableLength = this[_iterable$][$length]; if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; @@ -19717,8 +21550,8 @@ define([], (function load__dart_sdk() { } } (EfficientLengthTakeIterable.new = function(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); ; }).prototype = EfficientLengthTakeIterable.prototype; @@ -19726,7 +21559,7 @@ define([], (function load__dart_sdk() { EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; dart.addTypeCaches(EfficientLengthTakeIterable); EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); return EfficientLengthTakeIterable; }); @@ -19736,6 +21569,11 @@ define([], (function load__dart_sdk() { const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); _internal.TakeIterator$ = dart.generic(E => { class TakeIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); + return new (_internal.TakeIterator$(E)).new(_iterator, _remaining); + } moveNext() { this[_remaining$] = dart.notNull(this[_remaining$]) - 1; if (dart.notNull(this[_remaining$]) >= 0) { @@ -19750,11 +21588,11 @@ define([], (function load__dart_sdk() { } } (TakeIterator.new = function(_iterator, _remaining) { - if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); - if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); this[_iterator$] = _iterator; this[_remaining$] = _remaining; - if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[39], 530, 12, "_remaining >= 0"); }).prototype = TakeIterator.prototype; dart.addTypeTests(TakeIterator); TakeIterator.prototype[_is_TakeIterator_default] = true; @@ -19767,7 +21605,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(TakeIterator.__proto__), current: E })); - dart.setLibraryUri(TakeIterator, I[25]); + dart.setLibraryUri(TakeIterator, I[26]); dart.setFieldSignature(TakeIterator, () => ({ __proto__: dart.getFields(TakeIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19779,15 +21617,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); _internal.TakeWhileIterable$ = dart.generic(E => { - var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + var __t$TakeWhileIteratorOfE = () => (__t$TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); class TakeWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); + return new (_internal.TakeWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (TakeWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; TakeWhileIterable.__proto__.new.call(this); @@ -19801,7 +21644,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setLibraryUri(TakeWhileIterable, I[26]); dart.setFieldSignature(TakeWhileIterable, () => ({ __proto__: dart.getFields(TakeWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19816,10 +21659,15 @@ define([], (function load__dart_sdk() { const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); _internal.TakeWhileIterator$ = dart.generic(E => { class TakeWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); + return new (_internal.TakeWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { this[_isFinished] = true; return false; } @@ -19831,8 +21679,8 @@ define([], (function load__dart_sdk() { } } (TakeWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); this[_isFinished] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19849,7 +21697,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(TakeWhileIterator.__proto__), current: E })); - dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setLibraryUri(TakeWhileIterator, I[26]); dart.setFieldSignature(TakeWhileIterator, () => ({ __proto__: dart.getFields(TakeWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19863,28 +21711,38 @@ define([], (function load__dart_sdk() { var _skipCount$ = dart.privateName(_internal, "_skipCount"); const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); _internal.SkipIterable$ = dart.generic(E => { - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipIteratorOfE = () => (__t$SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); class SkipIterable extends core.Iterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); - if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); if (_internal.EfficientLengthIterable.is(iterable)) { return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); } return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); + return _internal.SkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, _iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); + return new (_internal.SkipIterable$(E)).__(_iterable, _skipCount); + } skip(count) { - if (count == null) dart.nullFailed(I[37], 594, 24, "count"); - return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 598, 24, "count"); + return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } get iterator() { - return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); } } (SkipIterable.__ = function(_iterable, _skipCount) { - if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); - if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); this[_iterable$] = _iterable; this[_skipCount$] = _skipCount; SkipIterable.__proto__.new.call(this); @@ -19893,12 +21751,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(SkipIterable); SkipIterable.prototype[_is_SkipIterable_default] = true; dart.addTypeCaches(SkipIterable); + dart.setStaticMethodSignature(SkipIterable, () => ['new']); dart.setGetterSignature(SkipIterable, () => ({ __proto__: dart.getGetters(SkipIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipIterable, I[25]); + dart.setLibraryUri(SkipIterable, I[26]); dart.setFieldSignature(SkipIterable, () => ({ __proto__: dart.getFields(SkipIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19912,26 +21771,36 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); _internal.EfficientLengthSkipIterable$ = dart.generic(E => { - var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + var __t$EfficientLengthSkipIterableOfE = () => (__t$EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); - if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, count); + } get length() { let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); if (length >= 0) return length; return 0; } skip(count) { - if (count == null) dart.nullFailed(I[37], 618, 24, "count"); - return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 622, 24, "count"); + return new (__t$EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } } (EfficientLengthSkipIterable.__ = function(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); - if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); ; }).prototype = EfficientLengthSkipIterable.prototype; @@ -19939,7 +21808,8 @@ define([], (function load__dart_sdk() { EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; dart.addTypeCaches(EfficientLengthSkipIterable); EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); + dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); return EfficientLengthSkipIterable; @@ -19949,6 +21819,11 @@ define([], (function load__dart_sdk() { const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); _internal.SkipIterator$ = dart.generic(E => { class SkipIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); + return new (_internal.SkipIterator$(E)).new(_iterator, _skipCount); + } moveNext() { for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) this[_iterator$].moveNext(); @@ -19960,11 +21835,11 @@ define([], (function load__dart_sdk() { } } (SkipIterator.new = function(_iterator, _skipCount) { - if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); - if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); this[_iterator$] = _iterator; this[_skipCount$] = _skipCount; - if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[39], 639, 12, "_skipCount >= 0"); }).prototype = SkipIterator.prototype; dart.addTypeTests(SkipIterator); SkipIterator.prototype[_is_SkipIterator_default] = true; @@ -19977,7 +21852,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(SkipIterator.__proto__), current: E })); - dart.setLibraryUri(SkipIterator, I[25]); + dart.setLibraryUri(SkipIterator, I[26]); dart.setFieldSignature(SkipIterator, () => ({ __proto__: dart.getFields(SkipIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19989,15 +21864,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); _internal.SkipWhileIterable$ = dart.generic(E => { - var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + var __t$SkipWhileIteratorOfE = () => (__t$SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); class SkipWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); + return new (_internal.SkipWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (SkipWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; SkipWhileIterable.__proto__.new.call(this); @@ -20011,7 +21891,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setLibraryUri(SkipWhileIterable, I[26]); dart.setFieldSignature(SkipWhileIterable, () => ({ __proto__: dart.getFields(SkipWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -20026,12 +21906,17 @@ define([], (function load__dart_sdk() { const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); _internal.SkipWhileIterator$ = dart.generic(E => { class SkipWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); + return new (_internal.SkipWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (!dart.test(this[_hasSkipped])) { this[_hasSkipped] = true; while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; } } return this[_iterator$].moveNext(); @@ -20041,8 +21926,8 @@ define([], (function load__dart_sdk() { } } (SkipWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); this[_hasSkipped] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -20059,7 +21944,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(SkipWhileIterator.__proto__), current: E })); - dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setLibraryUri(SkipWhileIterator, I[26]); dart.setFieldSignature(SkipWhileIterator, () => ({ __proto__: dart.getFields(SkipWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -20072,17 +21957,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); _internal.EmptyIterable$ = dart.generic(E => { - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } get iterator() { - return C[20] || CT.C20; + return C[21] || CT.C21; } forEach(action) { - if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + if (action == null) dart.nullFailed(I[39], 690, 21, "action"); } get isEmpty() { return true; @@ -20100,87 +21988,87 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + if (index == null) dart.nullFailed(I[39], 708, 19, "index"); dart.throw(new core.RangeError.range(index, 0, 0, "index")); } contains(element) { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + if (test == null) dart.nullFailed(I[39], 714, 19, "test"); return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + if (test == null) dart.nullFailed(I[39], 716, 17, "test"); return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + if (test == null) dart.nullFailed(I[39], 718, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + if (test == null) dart.nullFailed(I[39], 723, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + if (test == null) dart.nullFailed(I[39], 728, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); return ""; } where(test) { - if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + if (test == null) dart.nullFailed(I[39], 735, 26, "test"); return this; } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); return new (_internal.EmptyIterable$(T)).new(); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 739, 14, "combine"); dart.throw(_internal.IterableElementError.noElement()); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 743, 31, "combine"); return initialValue; } skip(count) { - if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + if (count == null) dart.nullFailed(I[39], 747, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + if (test == null) dart.nullFailed(I[39], 752, 30, "test"); return this; } take(count) { - if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + if (count == null) dart.nullFailed(I[39], 754, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + if (test == null) dart.nullFailed(I[39], 759, 30, "test"); return this; } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); - return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); + return __t$ListOfE().empty({growable: growable}); } toSet() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } } (EmptyIterable.new = function() { @@ -20202,7 +22090,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(EmptyIterable, I[25]); + dart.setLibraryUri(EmptyIterable, I[26]); dart.defineExtensionMethods(EmptyIterable, [ 'forEach', 'elementAt', @@ -20239,6 +22127,9 @@ define([], (function load__dart_sdk() { const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); _internal.EmptyIterator$ = dart.generic(E => { class EmptyIterator extends core.Object { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterator$(E)).new(); + } moveNext() { return false; } @@ -20261,7 +22152,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(EmptyIterator.__proto__), current: E })); - dart.setLibraryUri(EmptyIterator, I[25]); + dart.setLibraryUri(EmptyIterator, I[26]); return EmptyIterator; }); _internal.EmptyIterator = _internal.EmptyIterator$(); @@ -20270,18 +22161,28 @@ define([], (function load__dart_sdk() { var _second$ = dart.privateName(_internal, "_second"); const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); _internal.FollowedByIterable$ = dart.generic(E => { - var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + var __t$FollowedByIteratorOfE = () => (__t$FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); class FollowedByIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _first, _second) { + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); + return new (_internal.FollowedByIterable$(E)).new(_first, _second); + } static firstEfficient(first, second) { - if (first == null) dart.nullFailed(I[37], 777, 34, "first"); - if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); if (_internal.EfficientLengthIterable$(E).is(second)) { return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); } return new (_internal.FollowedByIterable$(E)).new(first, second); } + static ['_#firstEfficient#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); + return _internal.FollowedByIterable$(E).firstEfficient(first, second); + } get iterator() { - return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + return new (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); } get length() { return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); @@ -20312,8 +22213,8 @@ define([], (function load__dart_sdk() { } } (FollowedByIterable.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); - if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); this[_first$] = _first; this[_second$] = _second; FollowedByIterable.__proto__.new.call(this); @@ -20322,12 +22223,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(FollowedByIterable); FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; dart.addTypeCaches(FollowedByIterable); + dart.setStaticMethodSignature(FollowedByIterable, () => ['firstEfficient']); dart.setGetterSignature(FollowedByIterable, () => ({ __proto__: dart.getGetters(FollowedByIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setLibraryUri(FollowedByIterable, I[26]); dart.setFieldSignature(FollowedByIterable, () => ({ __proto__: dart.getFields(FollowedByIterable.__proto__), [_first$]: dart.finalFieldType(core.Iterable$(E)), @@ -20349,8 +22251,13 @@ define([], (function load__dart_sdk() { const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + static ['_#new#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + if (index == null) dart.nullFailed(I[39], 824, 19, "index"); let firstLength = this[_first$][$length]; if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); @@ -20365,8 +22272,8 @@ define([], (function load__dart_sdk() { } } (EfficientLengthFollowedByIterable.new = function(first, second) { - if (first == null) dart.nullFailed(I[37], 817, 34, "first"); - if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); ; }).prototype = EfficientLengthFollowedByIterable.prototype; @@ -20374,7 +22281,7 @@ define([], (function load__dart_sdk() { EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; dart.addTypeCaches(EfficientLengthFollowedByIterable); EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); return EfficientLengthFollowedByIterable; @@ -20386,6 +22293,10 @@ define([], (function load__dart_sdk() { const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); _internal.FollowedByIterator$ = dart.generic(E => { class FollowedByIterator extends core.Object { + static ['_#new#tearOff'](E, first, _nextIterable) { + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); + return new (_internal.FollowedByIterator$(E)).new(first, _nextIterable); + } moveNext() { if (dart.test(this[_currentIterator].moveNext())) return true; if (this[_nextIterable$] != null) { @@ -20400,7 +22311,7 @@ define([], (function load__dart_sdk() { } } (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); this[_nextIterable$] = _nextIterable; this[_currentIterator] = first[$iterator]; ; @@ -20417,7 +22328,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(FollowedByIterator.__proto__), current: E })); - dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setLibraryUri(FollowedByIterator, I[26]); dart.setFieldSignature(FollowedByIterator, () => ({ __proto__: dart.getFields(FollowedByIterator.__proto__), [_currentIterator]: dart.fieldType(core.Iterator$(E)), @@ -20429,14 +22340,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); _internal.WhereTypeIterable$ = dart.generic(T => { - var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + var __t$WhereTypeIteratorOfT = () => (__t$WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); class WhereTypeIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); + return new (_internal.WhereTypeIterable$(T)).new(_source); + } get iterator() { - return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + return new (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); } } (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); this[_source$] = _source; WhereTypeIterable.__proto__.new.call(this); ; @@ -20449,7 +22364,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setLibraryUri(WhereTypeIterable, I[26]); dart.setFieldSignature(WhereTypeIterable, () => ({ __proto__: dart.getFields(WhereTypeIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) @@ -20462,6 +22377,10 @@ define([], (function load__dart_sdk() { const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); _internal.WhereTypeIterator$ = dart.generic(T => { class WhereTypeIterator extends core.Object { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); + return new (_internal.WhereTypeIterator$(T)).new(_source); + } moveNext() { while (dart.test(this[_source$].moveNext())) { if (T.is(this[_source$].current)) return true; @@ -20473,7 +22392,7 @@ define([], (function load__dart_sdk() { } } (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); this[_source$] = _source; ; }).prototype = WhereTypeIterator.prototype; @@ -20489,7 +22408,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(WhereTypeIterator.__proto__), current: T })); - dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setLibraryUri(WhereTypeIterator, I[26]); dart.setFieldSignature(WhereTypeIterator, () => ({ __proto__: dart.getFields(WhereTypeIterator.__proto__), [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) @@ -20514,13 +22433,14 @@ define([], (function load__dart_sdk() { }).prototype = _internal.IterableElementError.prototype; dart.addTypeTests(_internal.IterableElementError); dart.addTypeCaches(_internal.IterableElementError); - dart.setLibraryUri(_internal.IterableElementError, I[25]); + dart.setStaticMethodSignature(_internal.IterableElementError, () => ['noElement', 'tooMany', 'tooFew']); + dart.setLibraryUri(_internal.IterableElementError, I[26]); const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); _internal.FixedLengthListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class FixedLengthListMixin extends core.Object { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 14, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); } add(value) { @@ -20528,52 +22448,52 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + if (index == null) dart.nullFailed(I[23], 25, 19, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 30, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 30, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 30, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 35, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + if (test == null) dart.nullFailed(I[23], 45, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + if (test == null) dart.nullFailed(I[23], 50, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } clear() { dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + if (index == null) dart.nullFailed(I[23], 60, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 70, 24, "start"); - if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + if (start == null) dart.nullFailed(I[23], 70, 24, "start"); + if (end == null) dart.nullFailed(I[23], 70, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 75, 25, "start"); - if (end == null) dart.nullFailed(I[22], 75, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 75, 25, "start"); + if (end == null) dart.nullFailed(I[23], 75, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 75, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } } @@ -20615,7 +22535,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.setLibraryUri(FixedLengthListMixin, I[26]); dart.defineExtensionMethods(FixedLengthListMixin, [ 'add', 'insert', @@ -20637,14 +22557,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); _internal.FixedLengthListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; (ListBase_FixedLengthListMixin$36.new = function() { }).prototype = ListBase_FixedLengthListMixin$36.prototype; dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 199, 16, "newLength"); return super[$length] = newLength; } add(value) { @@ -20652,52 +22572,52 @@ define([], (function load__dart_sdk() { return super[$add](value); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); E.as(value); return super[$insert](index, value); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 199, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 199, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$insertAll](at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$addAll](iterable); } remove(element) { return super[$remove](element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$removeWhere](test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$retainWhere](test); } clear() { return super[$clear](); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); return super[$removeAt](index); } removeLast() { return super[$removeLast](); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); return super[$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$replaceRange](start, end, iterable); } } @@ -20712,7 +22632,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.setLibraryUri(FixedLengthListBase, I[26]); dart.defineExtensionMethods(FixedLengthListBase, [ 'add', 'insert', @@ -20734,24 +22654,28 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); var _backedList$ = dart.privateName(_internal, "_backedList"); _internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + static ['_#new#tearOff'](_backedList) { + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); + return new _internal._ListIndicesIterable.new(_backedList); + } get length() { return this[_backedList$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 217, 21, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[23], 217, 21, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return index; } }; (_internal._ListIndicesIterable.new = function(_backedList) { - if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); this[_backedList$] = _backedList; _internal._ListIndicesIterable.__proto__.new.call(this); ; }).prototype = _internal._ListIndicesIterable.prototype; dart.addTypeTests(_internal._ListIndicesIterable); dart.addTypeCaches(_internal._ListIndicesIterable); - dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); + dart.setLibraryUri(_internal._ListIndicesIterable, I[26]); dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), [_backedList$]: dart.fieldType(core.List) @@ -20761,13 +22685,13 @@ define([], (function load__dart_sdk() { var _values$ = dart.privateName(_internal, "_values"); const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class _UnmodifiableMapMixin extends core.Object { _set(key, value$) { let value = value$; @@ -20777,13 +22701,13 @@ define([], (function load__dart_sdk() { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 273, 25, "other"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 278, 44, "entries"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } clear() { @@ -20793,26 +22717,26 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + if (test == null) dart.nullFailed(I[37], 293, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 298, 26, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 303, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 308, 20, "update"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } } @@ -20845,7 +22769,7 @@ define([], (function load__dart_sdk() { updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); dart.defineExtensionMethods(_UnmodifiableMapMixin, [ '_set', 'addAll', @@ -20863,13 +22787,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); collection.UnmodifiableMapBase$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; (MapBase__UnmodifiableMapMixin$36.new = function() { }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; @@ -20883,13 +22807,13 @@ define([], (function load__dart_sdk() { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 217, 16, "other"); return super.addAll(other); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); return super.addEntries(entries); } clear() { @@ -20899,26 +22823,26 @@ define([], (function load__dart_sdk() { return super.remove(key); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + if (test == null) dart.nullFailed(I[37], 217, 16, "test"); return super.removeWhere(test); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 217, 16, "ifAbsent"); return super.putIfAbsent(key, ifAbsent); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return super.update(key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); return super.updateAll(update); } } @@ -20937,7 +22861,7 @@ define([], (function load__dart_sdk() { remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.setLibraryUri(UnmodifiableMapBase, I[25]); dart.defineExtensionMethods(UnmodifiableMapBase, [ '_set', 'addAll', @@ -20955,8 +22879,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); const _is_ListMapView_default = Symbol('_is_ListMapView_default'); _internal.ListMapView$ = dart.generic(E => { - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + static ['_#new#tearOff'](E, _values) { + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); + return new (_internal.ListMapView$(E)).new(_values); + } _get(key) { return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; } @@ -20964,7 +22892,7 @@ define([], (function load__dart_sdk() { return this[_values$][$length]; } get values() { - return new (SubListIterableOfE()).new(this[_values$], 0, null); + return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); } get keys() { return new _internal._ListIndicesIterable.new(this[_values$]); @@ -20982,7 +22910,7 @@ define([], (function load__dart_sdk() { return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); } forEach(f) { - if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + if (f == null) dart.nullFailed(I[23], 239, 21, "f"); let length = this[_values$][$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { f(i, this[_values$][$_get](i)); @@ -20993,7 +22921,7 @@ define([], (function load__dart_sdk() { } } (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); this[_values$] = _values; ; }).prototype = ListMapView.prototype; @@ -21010,7 +22938,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(core.int), [$keys]: core.Iterable$(core.int) })); - dart.setLibraryUri(ListMapView, I[25]); + dart.setLibraryUri(ListMapView, I[26]); dart.setFieldSignature(ListMapView, () => ({ __proto__: dart.getFields(ListMapView.__proto__), [_values$]: dart.fieldType(core.List$(E)) @@ -21030,16 +22958,20 @@ define([], (function load__dart_sdk() { const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); _internal.ReversedListIterable$ = dart.generic(E => { class ReversedListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _source) { + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); + return new (_internal.ReversedListIterable$(E)).new(_source); + } get length() { return this[_source$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + if (index == null) dart.nullFailed(I[23], 256, 19, "index"); return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); } } (ReversedListIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); this[_source$] = _source; ReversedListIterable.__proto__.new.call(this); ; @@ -21047,7 +22979,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(ReversedListIterable); ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setLibraryUri(ReversedListIterable, I[26]); dart.setFieldSignature(ReversedListIterable, () => ({ __proto__: dart.getFields(ReversedListIterable.__proto__), [_source$]: dart.fieldType(core.Iterable$(E)) @@ -21077,7 +23009,8 @@ define([], (function load__dart_sdk() { }).prototype = _internal.UnmodifiableListError.prototype; dart.addTypeTests(_internal.UnmodifiableListError); dart.addTypeCaches(_internal.UnmodifiableListError); - dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); + dart.setStaticMethodSignature(_internal.UnmodifiableListError, () => ['add', 'change', 'length', 'remove']); + dart.setLibraryUri(_internal.UnmodifiableListError, I[26]); _internal.NonGrowableListError = class NonGrowableListError extends core.Object { static add() { return new core.UnsupportedError.new("Cannot add to non-growable List"); @@ -21094,7 +23027,8 @@ define([], (function load__dart_sdk() { }).prototype = _internal.NonGrowableListError.prototype; dart.addTypeTests(_internal.NonGrowableListError); dart.addTypeCaches(_internal.NonGrowableListError); - dart.setLibraryUri(_internal.NonGrowableListError, I[25]); + dart.setStaticMethodSignature(_internal.NonGrowableListError, () => ['add', 'length', 'remove']); + dart.setLibraryUri(_internal.NonGrowableListError, I[26]); var length = dart.privateName(_internal, "LinkedList.length"); var _last = dart.privateName(_internal, "_last"); var _next = dart.privateName(_internal, "_next"); @@ -21104,10 +23038,10 @@ define([], (function load__dart_sdk() { collection.IterableBase$ = dart.generic(E => { class IterableBase extends core.Iterable$(E) { static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - let t82; - if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + let t71; + if (iterable == null) dart.nullFailed(I[41], 228, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 229, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 229, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { if (leftDelimiter === "(" && rightDelimiter === ")") { return "(...)"; @@ -21119,19 +23053,19 @@ define([], (function load__dart_sdk() { try { collection._iterablePartsToStrings(iterable, parts); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } - return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { - t82.writeAll(parts, ", "); - t82.write(rightDelimiter); - return t82; + return (t71 = new core.StringBuffer.new(leftDelimiter), (() => { + t71.writeAll(parts, ", "); + t71.write(rightDelimiter); + return t71; })()).toString(); } static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (iterable == null) dart.nullFailed(I[41], 261, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 262, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 262, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); } @@ -21140,7 +23074,7 @@ define([], (function load__dart_sdk() { try { buffer.writeAll(iterable, ", "); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } buffer.write(rightDelimiter); @@ -21154,19 +23088,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(IterableBase); IterableBase.prototype[_is_IterableBase_default] = true; dart.addTypeCaches(IterableBase); - dart.setLibraryUri(IterableBase, I[24]); + dart.setStaticMethodSignature(IterableBase, () => ['iterableToShortString', 'iterableToFullString']); + dart.setLibraryUri(IterableBase, I[25]); return IterableBase; }); collection.IterableBase = collection.IterableBase$(); dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); const _is_LinkedList_default = Symbol('_is_LinkedList_default'); _internal.LinkedList$ = dart.generic(T => { - var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + var __t$_LinkedListIteratorOfT = () => (__t$_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); class LinkedList extends collection.IterableBase$(T) { get length() { return this[length]; } set length(value) { + if (value == null) dart.nullFailed(I[40], 15, 7, "length"); this[length] = value; } get first() { @@ -21180,10 +23116,10 @@ define([], (function load__dart_sdk() { } add(newLast) { T.as(newLast); - if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); - if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (newLast == null) dart.nullFailed(I[40], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[40], 23, 12, "newLast._next == null && newLast._previous == null"); if (this[_last] != null) { - if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[40], 25, 14, "_last!._next == null"); dart.nullCheck(this[_last])[_next] = newLast; } else { this[_first$] = newLast; @@ -21195,9 +23131,9 @@ define([], (function load__dart_sdk() { } addFirst(newFirst) { T.as(newFirst); - if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (newFirst == null) dart.nullFailed(I[40], 39, 19, "newFirst"); if (this[_first$] != null) { - if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[40], 41, 14, "_first!._previous == null"); dart.nullCheck(this[_first$])[_previous] = newFirst; } else { this[_last] = newFirst; @@ -21209,17 +23145,17 @@ define([], (function load__dart_sdk() { } remove(node) { T.as(node); - if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (node == null) dart.nullFailed(I[40], 59, 17, "node"); if (!dart.equals(node[_list], this)) return; this.length = dart.notNull(this.length) - 1; if (node[_previous] == null) { - if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + if (!(node == this[_first$])) dart.assertFailed(null, I[40], 63, 14, "identical(node, _first)"); this[_first$] = node[_next]; } else { dart.nullCheck(node[_previous])[_next] = node[_next]; } if (node[_next] == null) { - if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + if (!(node == this[_last])) dart.assertFailed(null, I[40], 69, 14, "identical(node, _last)"); this[_last] = node[_previous]; } else { dart.nullCheck(node[_next])[_previous] = node[_previous]; @@ -21228,7 +23164,10 @@ define([], (function load__dart_sdk() { node[_list] = null; } get iterator() { - return new (_LinkedListIteratorOfT()).new(this); + return new (__t$_LinkedListIteratorOfT()).new(this); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedList$(T)).new(); } } (LinkedList.new = function() { @@ -21252,7 +23191,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(LinkedList, I[25]); + dart.setLibraryUri(LinkedList, I[26]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_first$]: dart.fieldType(dart.nullable(T)), @@ -21275,32 +23214,35 @@ define([], (function load__dart_sdk() { var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); _internal.LinkedListEntry$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); - var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + var __t$LinkedListOfT = () => (__t$LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var __t$LinkedListNOfT = () => (__t$LinkedListNOfT = dart.constFn(dart.nullable(__t$LinkedListOfT())))(); class LinkedListEntry extends core.Object { get [_next]() { return this[_next$]; } set [_next](value) { - this[_next$] = TN().as(value); + this[_next$] = __t$TN().as(value); } get [_previous]() { return this[_previous$]; } set [_previous](value) { - this[_previous$] = TN().as(value); + this[_previous$] = __t$TN().as(value); } get [_list]() { return this[_list$]; } set [_list](value) { - this[_list$] = LinkedListNOfT().as(value); + this[_list$] = __t$LinkedListNOfT().as(value); } unlink() { - let t82; - t82 = this[_list]; - t82 == null ? null : t82.remove(T.as(this)); + let t71; + t71 = this[_list]; + t71 == null ? null : t71.remove(T.as(this)); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedListEntry$(T)).new(); } } (LinkedListEntry.new = function() { @@ -21316,7 +23258,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(LinkedListEntry.__proto__), unlink: dart.fnType(dart.void, []) })); - dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setLibraryUri(LinkedListEntry, I[26]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_next]: dart.fieldType(dart.nullable(T)), @@ -21333,11 +23275,15 @@ define([], (function load__dart_sdk() { get current() { return dart.nullCast(this[_current$], T); } + static ['_#new#tearOff'](T, list) { + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); + return new (_internal._LinkedListIterator$(T)).new(list); + } moveNext() { if (this[_current$] == null) { let list = this[_list]; if (list == null) return false; - if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[40], 123, 14, "list.length > 0"); this[_current$] = list.first; this[_list] = null; return true; @@ -21347,7 +23293,7 @@ define([], (function load__dart_sdk() { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); this[_current$] = null; this[_list] = list; if (list.length === 0) this[_list] = null; @@ -21364,7 +23310,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: T })); - dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setLibraryUri(_LinkedListIterator, I[26]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -21374,27 +23320,38 @@ define([], (function load__dart_sdk() { }); _internal._LinkedListIterator = _internal._LinkedListIterator$(); dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); + _internal._Patch = class _Patch extends core.Object { + static ['_#new#tearOff']() { + return new _internal._Patch.new(); + } + }; + (_internal._Patch.new = function() { + ; + }).prototype = _internal._Patch.prototype; + dart.addTypeTests(_internal._Patch); + dart.addTypeCaches(_internal._Patch); + dart.setLibraryUri(_internal._Patch, I[26]); _internal.Sort = class Sort extends core.Object { static sort(E, a, compare) { - if (a == null) dart.nullFailed(I[40], 32, 31, "a"); - if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + if (a == null) dart.nullFailed(I[42], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[42], 32, 38, "compare"); _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); } static sortRange(E, a, from, to, compare) { - if (a == null) dart.nullFailed(I[40], 45, 36, "a"); - if (from == null) dart.nullFailed(I[40], 45, 43, "from"); - if (to == null) dart.nullFailed(I[40], 45, 53, "to"); - if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (a == null) dart.nullFailed(I[42], 45, 36, "a"); + if (from == null) dart.nullFailed(I[42], 45, 43, "from"); + if (to == null) dart.nullFailed(I[42], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[42], 45, 61, "compare"); if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { dart.throw("OutOfRange"); } _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); } static _doSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 56, 15, "a"); - if (left == null) dart.nullFailed(I[40], 56, 22, "left"); - if (right == null) dart.nullFailed(I[40], 56, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 56, 15, "a"); + if (left == null) dart.nullFailed(I[42], 56, 22, "left"); + if (right == null) dart.nullFailed(I[42], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 56, 43, "compare"); if (dart.notNull(right) - dart.notNull(left) <= 32) { _internal.Sort._insertionSort(E, a, left, right, compare); } else { @@ -21402,10 +23359,10 @@ define([], (function load__dart_sdk() { } } static _insertionSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 65, 15, "a"); - if (left == null) dart.nullFailed(I[40], 65, 22, "left"); - if (right == null) dart.nullFailed(I[40], 65, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 65, 15, "a"); + if (left == null) dart.nullFailed(I[42], 65, 22, "left"); + if (right == null) dart.nullFailed(I[42], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 65, 43, "compare"); for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { let el = a[$_get](i); let j = i; @@ -21417,12 +23374,12 @@ define([], (function load__dart_sdk() { } } static _dualPivotQuicksort(E, a, left, right, compare) { - let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; - if (a == null) dart.nullFailed(I[40], 78, 15, "a"); - if (left == null) dart.nullFailed(I[40], 78, 22, "left"); - if (right == null) dart.nullFailed(I[40], 78, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); - if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let t71, t71$, t71$0, t71$1, t71$2, t71$3, t71$4, t71$5, t71$6; + if (a == null) dart.nullFailed(I[42], 78, 15, "a"); + if (left == null) dart.nullFailed(I[42], 78, 22, "left"); + if (right == null) dart.nullFailed(I[42], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[42], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); let index1 = dart.notNull(left) + sixth; let index5 = dart.notNull(right) - sixth; @@ -21509,12 +23466,12 @@ define([], (function load__dart_sdk() { continue; } else if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); - a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + a[$_set]((t71 = less, less = t71 + 1, t71), a[$_get](great)); + a[$_set]((t71$ = great, great = t71$ - 1, t71$), ak); break; } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + a[$_set]((t71$0 = great, great = t71$0 - 1, t71$0), ak); break; } } @@ -21543,11 +23500,11 @@ define([], (function load__dart_sdk() { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); - a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + a[$_set]((t71$1 = less, less = t71$1 + 1, t71$1), a[$_get](great)); + a[$_set]((t71$2 = great, great = t71$2 - 1, t71$2), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + a[$_set]((t71$3 = great, great = t71$3 - 1, t71$3), ak); } break; } @@ -21594,11 +23551,11 @@ define([], (function load__dart_sdk() { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); - a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + a[$_set]((t71$4 = less, less = t71$4 + 1, t71$4), a[$_get](great)); + a[$_set]((t71$5 = great, great = t71$5 - 1, t71$5), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + a[$_set]((t71$6 = great, great = t71$6 - 1, t71$6), ak); } break; } @@ -21611,13 +23568,18 @@ define([], (function load__dart_sdk() { _internal.Sort._doSort(E, a, less, great, compare); } } + static ['_#new#tearOff']() { + return new _internal.Sort.new(); + } }; (_internal.Sort.new = function() { ; }).prototype = _internal.Sort.prototype; dart.addTypeTests(_internal.Sort); dart.addTypeCaches(_internal.Sort); - dart.setLibraryUri(_internal.Sort, I[25]); + dart.setStaticMethodSignature(_internal.Sort, () => ['sort', 'sortRange', '_doSort', '_insertionSort', '_dualPivotQuicksort']); + dart.setLibraryUri(_internal.Sort, I[26]); + dart.setStaticFieldSignature(_internal.Sort, () => ['_INSERTION_SORT_THRESHOLD']); dart.defineLazy(_internal.Sort, { /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { return 32; @@ -21631,6 +23593,14 @@ define([], (function load__dart_sdk() { set [_name$](value) { super[_name$] = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); + return new _internal.Symbol.new(name); + } + static ['_#unvalidated#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); + return new _internal.Symbol.unvalidated(_name); + } _equals(other) { if (other == null) return false; return _internal.Symbol.is(other) && this[_name$] == other[_name$]; @@ -21646,41 +23616,24 @@ define([], (function load__dart_sdk() { return "Symbol(\"" + dart.str(this[_name$]) + "\")"; } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); return symbol[_name$]; } - static validatePublicSymbol(name) { - if (name == null) dart.nullFailed(I[42], 121, 45, "name"); - if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; - if (name[$startsWith]("_")) { - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); - } - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); - } - static isValidSymbol(name) { - if (name == null) dart.nullFailed(I[42], 137, 36, "name"); - return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); - } static computeUnmangledName(symbol) { - if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + if (symbol == null) dart.nullFailed(I[43], 36, 45, "symbol"); return symbol[_name$]; } }; (_internal.Symbol.new = function(name) { - if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); this[_name$0] = name; ; }).prototype = _internal.Symbol.prototype; (_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); this[_name$0] = _name; ; }).prototype = _internal.Symbol.prototype; - (_internal.Symbol.validated = function(name) { - if (name == null) dart.nullFailed(I[42], 110, 27, "name"); - this[_name$0] = _internal.Symbol.validatePublicSymbol(name); - ; - }).prototype = _internal.Symbol.prototype; dart.addTypeTests(_internal.Symbol); dart.addTypeCaches(_internal.Symbol); _internal.Symbol[dart.implements] = () => [core.Symbol]; @@ -21689,33 +23642,14 @@ define([], (function load__dart_sdk() { toString: dart.fnType(dart.dynamic, []), [$toString]: dart.fnType(dart.dynamic, []) })); - dart.setLibraryUri(_internal.Symbol, I[25]); + dart.setStaticMethodSignature(_internal.Symbol, () => ['getName', 'computeUnmangledName']); + dart.setLibraryUri(_internal.Symbol, I[26]); dart.setFieldSignature(_internal.Symbol, () => ({ __proto__: dart.getFields(_internal.Symbol.__proto__), [_name$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); - dart.defineLazy(_internal.Symbol, { - /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { - return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; - }, - /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; - }, - /*_internal.Symbol.identifierRE*/get identifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; - }, - /*_internal.Symbol.operatorRE*/get operatorRE() { - return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; - }, - /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); - }, - /*_internal.Symbol.symbolPattern*/get symbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); - } - }, false); _internal.createSentinel = function createSentinel(T) { return dart.throw(new core.UnsupportedError.new("createSentinel")); }; @@ -21723,11 +23657,14 @@ define([], (function load__dart_sdk() { return dart.throw(new core.UnsupportedError.new("isSentinel")); }; _internal.typeAcceptsNull = function typeAcceptsNull(T) { - return !false || T.is(null); + return true || T.is(null); + }; + _internal.unsafeCast = function unsafeCast(T, v) { + return T.as(v); }; _internal.hexDigitValue = function hexDigitValue(char) { - if (char == null) dart.nullFailed(I[21], 100, 23, "char"); - if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + if (char == null) dart.nullFailed(I[22], 117, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[22], 118, 10, "char >= 0 && char <= 0xFFFF"); let digit = (dart.notNull(char) ^ 48) >>> 0; if (digit <= 9) return digit; let letter = (dart.notNull(char) | 32) >>> 0; @@ -21735,28 +23672,28 @@ define([], (function load__dart_sdk() { return -1; }; _internal.parseHexByte = function parseHexByte(source, index) { - if (source == null) dart.nullFailed(I[21], 115, 25, "source"); - if (index == null) dart.nullFailed(I[21], 115, 37, "index"); - if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + if (source == null) dart.nullFailed(I[22], 132, 25, "source"); + if (index == null) dart.nullFailed(I[22], 132, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[22], 133, 10, "index + 2 <= source.length"); let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); }; _internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { - if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + if (extract == null) dart.nullFailed(I[43], 57, 54, "extract"); return dart.extractTypeArguments(T, instance, extract); }; _internal.checkNotNullable = function checkNotNullable(T, value, name) { - if (value == null) dart.nullFailed(I[21], 402, 40, "value"); - if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) dart.nullFailed(I[22], 758, 40, "value"); + if (name == null) dart.nullFailed(I[22], 758, 54, "name"); if (value == null) { dart.throw(new (_internal.NotNullableError$(T)).new(name)); } return value; }; _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { - if (value == null) dart.nullFailed(I[21], 427, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) dart.nullFailed(I[22], 782, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); if (value == null) { return defaultVal; } else { @@ -21764,41 +23701,57 @@ define([], (function load__dart_sdk() { } }; _internal._checkCount = function _checkCount(count) { - if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + if (count == null) dart.nullFailed(I[39], 628, 21, "count"); core.ArgumentError.checkNotNull(core.int, count, "count"); core.RangeError.checkNotNegative(count, "count"); return count; }; _internal.makeListFixedLength = function makeListFixedLength(T, growableList) { - if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + if (growableList == null) dart.nullFailed(I[43], 45, 40, "growableList"); _interceptors.JSArray.markFixedList(growableList); return growableList; }; _internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { - if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + if (fixedLengthList == null) dart.nullFailed(I[43], 51, 46, "fixedLengthList"); _interceptors.JSArray.markUnmodifiableList(fixedLengthList); return fixedLengthList; }; _internal.printToConsole = function printToConsole(line) { - if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + if (line == null) dart.nullFailed(I[43], 40, 28, "line"); _js_primitives.printString(dart.str(line)); }; dart.defineLazy(_internal, { /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - return C[21] || CT.C21; + return C[22] || CT.C22; }, /*_internal.nullFuture*/get nullFuture() { return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); }, + /*_internal.sentinelValue*/get sentinelValue() { + return C[0] || CT.C0; + }, + /*_internal.patch*/get patch() { + return C[23] || CT.C23; + }, /*_internal.printToZone*/get printToZone() { return null; }, - set printToZone(_) {} + set printToZone(value) {} }, false); var _handle = dart.privateName(_isolate_helper, "_handle"); var _tick = dart.privateName(_isolate_helper, "_tick"); var _once = dart.privateName(_isolate_helper, "_once"); _isolate_helper.TimerImpl = class TimerImpl extends core.Object { + static ['_#new#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static ['_#periodic#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } get tick() { return this[_tick]; } @@ -21821,8 +23774,8 @@ define([], (function load__dart_sdk() { } }; (_isolate_helper.TimerImpl.new = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = true; @@ -21844,8 +23797,8 @@ define([], (function load__dart_sdk() { } }).prototype = _isolate_helper.TimerImpl.prototype; (_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = false; @@ -21884,7 +23837,7 @@ define([], (function load__dart_sdk() { tick: core.int, isActive: core.bool })); - dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); + dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), [_once]: dart.finalFieldType(core.bool), @@ -21912,18 +23865,14 @@ define([], (function load__dart_sdk() { return dart.global; } }, false); - _js_helper._Patch = class _Patch extends core.Object {}; - (_js_helper._Patch.new = function() { - ; - }).prototype = _js_helper._Patch.prototype; - dart.addTypeTests(_js_helper._Patch); - dart.addTypeCaches(_js_helper._Patch); - dart.setLibraryUri(_js_helper._Patch, I[45]); var _current$0 = dart.privateName(_js_helper, "_current"); var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); const _is_DartIterator_default = Symbol('_is_DartIterator_default'); _js_helper.DartIterator$ = dart.generic(E => { class DartIterator extends core.Object { + static ['_#new#tearOff'](E, _jsIterator) { + return new (_js_helper.DartIterator$(E)).new(_jsIterator); + } get current() { return E.as(this[_current$0]); } @@ -21950,7 +23899,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(DartIterator.__proto__), current: E })); - dart.setLibraryUri(DartIterator, I[45]); + dart.setLibraryUri(DartIterator, I[47]); dart.setFieldSignature(DartIterator, () => ({ __proto__: dart.getFields(DartIterator.__proto__), [_jsIterator$]: dart.finalFieldType(dart.dynamic), @@ -21963,17 +23912,21 @@ define([], (function load__dart_sdk() { var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); _js_helper.SyncIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class SyncIterable extends collection.IterableBase$(E) { + static ['_#new#tearOff'](E, _initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); + return new (_js_helper.SyncIterable$(E)).new(_initGenerator); + } [Symbol.iterator]() { return this[_initGenerator$](); } get iterator() { - return new (DartIteratorOfE()).new(this[_initGenerator$]()); + return new (__t$DartIteratorOfE()).new(this[_initGenerator$]()); } } (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); this[_initGenerator$] = _initGenerator; SyncIterable.__proto__.new.call(this); ; @@ -21990,7 +23943,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SyncIterable, I[45]); + dart.setLibraryUri(SyncIterable, I[47]); dart.setFieldSignature(SyncIterable, () => ({ __proto__: dart.getFields(SyncIterable.__proto__), [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) @@ -22035,7 +23988,7 @@ define([], (function load__dart_sdk() { } else { maxCharCode = 97 - 10 - 1 + radix; } - if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[48], 123, 14, "match[digitsIndex] is String"); let digitsPart = match[digitsIndex]; for (let i = 0; i < digitsPart.length; i = i + 1) { let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; @@ -22089,7 +24042,7 @@ define([], (function load__dart_sdk() { return ""; } static _fromCharCodeApply(array) { - if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + if (array == null) dart.nullFailed(I[48], 210, 46, "array"); let end = dart.notNull(array[$length]); if (end <= 500) { return String.fromCharCode.apply(null, array); @@ -22102,7 +24055,7 @@ define([], (function load__dart_sdk() { return result; } static stringFromCodePoints(codePoints) { - if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + if (codePoints == null) dart.nullFailed(I[48], 232, 51, "codePoints"); let a = T$.JSArrayOfint().of([]); for (let i of codePoints) { if (i == null) dart.argumentError(i); @@ -22120,7 +24073,7 @@ define([], (function load__dart_sdk() { return _js_helper.Primitives._fromCharCodeApply(a); } static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); for (let i of charCodes) { if (i == null) dart.argumentError(i); { @@ -22131,7 +24084,7 @@ define([], (function load__dart_sdk() { return _js_helper.Primitives._fromCharCodeApply(charCodes); } static stringFromNativeUint8List(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 259, 23, "charCodes"); if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); if (end <= 500 && start === 0 && end === charCodes[$length]) { @@ -22160,11 +24113,11 @@ define([], (function load__dart_sdk() { dart.throw(new core.RangeError.range(charCode, 0, 1114111)); } static flattenString(str) { - if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + if (str == null) dart.nullFailed(I[48], 294, 38, "str"); return str.charCodeAt(0) == 0 ? str : str; } static getTimeZoneName(receiver) { - if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 298, 42, "receiver"); let d = _js_helper.Primitives.lazyAsJsDate(receiver); let match = /\((.*)\)/.exec(d.toString()); if (match != null) return match[$_get](1); @@ -22175,7 +24128,7 @@ define([], (function load__dart_sdk() { return ""; } static getTimeZoneOffsetInMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 338, 50, "receiver"); return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); } static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { @@ -22215,42 +24168,42 @@ define([], (function load__dart_sdk() { return date.valueOf(); } static lazyAsJsDate(receiver) { - if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 390, 32, "receiver"); if (receiver.date === void 0) { receiver.date = new Date(receiver.millisecondsSinceEpoch); } return receiver.date; } static getYear(receiver) { - if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 402, 31, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; } static getMonth(receiver) { - if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 408, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; } static getDay(receiver) { - if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 414, 30, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; } static getHours(receiver) { - if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 420, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; } static getMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 426, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; } static getSeconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 432, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; } static getMilliseconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 438, 39, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; } static getWeekday(receiver) { - if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 444, 34, "receiver"); let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; return (weekday + 6)[$modulo](7) + 1; } @@ -22261,7 +24214,7 @@ define([], (function load__dart_sdk() { return value; } static getProperty(object, key) { - if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (key == null) dart.nullFailed(I[48], 459, 53, "key"); if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { dart.throw(_js_helper.argumentErrorValue(object)); } @@ -22273,13 +24226,19 @@ define([], (function load__dart_sdk() { } object[key] = value; } + static ['_#new#tearOff']() { + return new _js_helper.Primitives.new(); + } }; (_js_helper.Primitives.new = function() { ; }).prototype = _js_helper.Primitives.prototype; dart.addTypeTests(_js_helper.Primitives); dart.addTypeCaches(_js_helper.Primitives); - dart.setLibraryUri(_js_helper.Primitives, I[45]); + dart.setStaticMethodSignature(_js_helper.Primitives, () => ['parseInt', 'parseDouble', 'dateNow', 'initTicker', 'currentUri', '_fromCharCodeApply', 'stringFromCodePoints', 'stringFromCharCodes', 'stringFromNativeUint8List', 'stringFromCharCode', 'flattenString', 'getTimeZoneName', 'getTimeZoneOffsetInMinutes', 'valueFromDecomposedDate', 'patchUpY2K', 'lazyAsJsDate', 'getYear', 'getMonth', 'getDay', 'getHours', 'getMinutes', 'getSeconds', 'getMilliseconds', 'getWeekday', 'valueFromDateString', 'getProperty', 'setProperty']); + dart.setStaticGetterSignature(_js_helper.Primitives, () => ['isD8', 'isJsshell']); + dart.setLibraryUri(_js_helper.Primitives, I[47]); + dart.setStaticFieldSignature(_js_helper.Primitives, () => ['DOLLAR_CHAR_VALUE', 'timerFrequency', 'timerTicks']); dart.defineLazy(_js_helper.Primitives, { /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { return 36; @@ -22287,11 +24246,15 @@ define([], (function load__dart_sdk() { /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { return 0; }, - set timerFrequency(_) {}, + set timerFrequency(value) { + if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); + }, /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[22] || CT.C22; + return C[24] || CT.C24; }, - set timerTicks(_) {} + set timerTicks(value) { + if (value == null) dart.nullFailed(I[48], 183, 25, "timerTicks"); + } }, false); var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); var _message$0 = dart.privateName(_js_helper, "_message"); @@ -22308,6 +24271,9 @@ define([], (function load__dart_sdk() { set [_receiver$1](value) { super[_receiver$1] = value; } + static ['_#new#tearOff'](_message, match) { + return new _js_helper.JsNoSuchMethodError.new(_message, match); + } toString() { if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); if (this[_receiver$1] == null) { @@ -22316,19 +24282,19 @@ define([], (function load__dart_sdk() { return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.JsNoSuchMethodError.new = function(_message, match) { @@ -22349,7 +24315,7 @@ define([], (function load__dart_sdk() { [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); - dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); + dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[47]); dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), [_message$0]: dart.finalFieldType(dart.nullable(core.String)), @@ -22358,62 +24324,74 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); _js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); + return new _js_helper.UnknownJsTypeError.new(_message); + } toString() { return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); } }; (_js_helper.UnknownJsTypeError.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); this[_message$0] = _message; _js_helper.UnknownJsTypeError.__proto__.new.call(this); ; }).prototype = _js_helper.UnknownJsTypeError.prototype; dart.addTypeTests(_js_helper.UnknownJsTypeError); dart.addTypeCaches(_js_helper.UnknownJsTypeError); - dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); + dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[47]); dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); - var types$0 = dart.privateName(_js_helper, "Creates.types"); + var types$1 = dart.privateName(_js_helper, "Creates.types"); _js_helper.Creates = class Creates extends core.Object { get types() { - return this[types$0]; + return this[types$1]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + return new _js_helper.Creates.new(types); + } }; (_js_helper.Creates.new = function(types) { - if (types == null) dart.nullFailed(I[46], 644, 22, "types"); - this[types$0] = types; + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + this[types$1] = types; ; }).prototype = _js_helper.Creates.prototype; dart.addTypeTests(_js_helper.Creates); dart.addTypeCaches(_js_helper.Creates); - dart.setLibraryUri(_js_helper.Creates, I[45]); + dart.setLibraryUri(_js_helper.Creates, I[47]); dart.setFieldSignature(_js_helper.Creates, () => ({ __proto__: dart.getFields(_js_helper.Creates.__proto__), types: dart.finalFieldType(core.String) })); - var types$1 = dart.privateName(_js_helper, "Returns.types"); + var types$2 = dart.privateName(_js_helper, "Returns.types"); _js_helper.Returns = class Returns extends core.Object { get types() { - return this[types$1]; + return this[types$2]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + return new _js_helper.Returns.new(types); + } }; (_js_helper.Returns.new = function(types) { - if (types == null) dart.nullFailed(I[46], 670, 22, "types"); - this[types$1] = types; + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + this[types$2] = types; ; }).prototype = _js_helper.Returns.prototype; dart.addTypeTests(_js_helper.Returns); dart.addTypeCaches(_js_helper.Returns); - dart.setLibraryUri(_js_helper.Returns, I[45]); + dart.setLibraryUri(_js_helper.Returns, I[47]); dart.setFieldSignature(_js_helper.Returns, () => ({ __proto__: dart.getFields(_js_helper.Returns.__proto__), types: dart.finalFieldType(core.String) @@ -22426,15 +24404,19 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); + return new _js_helper.JSName.new(name); + } }; (_js_helper.JSName.new = function(name) { - if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); this[name$6] = name; ; }).prototype = _js_helper.JSName.prototype; dart.addTypeTests(_js_helper.JSName); dart.addTypeCaches(_js_helper.JSName); - dart.setLibraryUri(_js_helper.JSName, I[45]); + dart.setLibraryUri(_js_helper.JSName, I[47]); dart.setFieldSignature(_js_helper.JSName, () => ({ __proto__: dart.getFields(_js_helper.JSName.__proto__), name: dart.finalFieldType(core.String) @@ -22448,18 +24430,22 @@ define([], (function load__dart_sdk() { dart.addTypeTests(JavaScriptIndexingBehavior); JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; dart.addTypeCaches(JavaScriptIndexingBehavior); - dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[47]); return JavaScriptIndexingBehavior; }); _js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); + return new _js_helper.TypeErrorImpl.new(_message); + } toString() { return this[_message$0]; } }; (_js_helper.TypeErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); this[_message$0] = _message; _js_helper.TypeErrorImpl.__proto__.new.call(this); ; @@ -22467,33 +24453,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_js_helper.TypeErrorImpl); dart.addTypeCaches(_js_helper.TypeErrorImpl); _js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; - dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); + dart.setLibraryUri(_js_helper.TypeErrorImpl, I[47]); dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); - _js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { - toString() { - return this[_message$0]; - } - }; - (_js_helper.CastErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); - this[_message$0] = _message; - _js_helper.CastErrorImpl.__proto__.new.call(this); - ; - }).prototype = _js_helper.CastErrorImpl.prototype; - dart.addTypeTests(_js_helper.CastErrorImpl); - dart.addTypeCaches(_js_helper.CastErrorImpl); - _js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; - dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); - dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ - __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), - [_message$0]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); core.FallThroughError = class FallThroughError extends core.Error { + static ['_#new#tearOff']() { + return new core.FallThroughError.new(); + } + static ['_#_create#tearOff'](url, line) { + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); + return new core.FallThroughError._create(url, line); + } toString() { return super[$toString](); } @@ -22503,19 +24477,22 @@ define([], (function load__dart_sdk() { ; }).prototype = core.FallThroughError.prototype; (core.FallThroughError._create = function(url, line) { - if (url == null) dart.nullFailed(I[7], 292, 35, "url"); - if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); core.FallThroughError.__proto__.new.call(this); ; }).prototype = core.FallThroughError.prototype; dart.addTypeTests(core.FallThroughError); dart.addTypeCaches(core.FallThroughError); - dart.setLibraryUri(core.FallThroughError, I[8]); + dart.setLibraryUri(core.FallThroughError, I[9]); dart.defineExtensionMethods(core.FallThroughError, ['toString']); _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { toString() { return "Switch case fall-through."; } + static ['_#new#tearOff']() { + return new _js_helper.FallThroughErrorImplementation.new(); + } }; (_js_helper.FallThroughErrorImplementation.new = function() { _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); @@ -22523,7 +24500,7 @@ define([], (function load__dart_sdk() { }).prototype = _js_helper.FallThroughErrorImplementation.prototype; dart.addTypeTests(_js_helper.FallThroughErrorImplementation); dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); - dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); + dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[47]); dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); var message$ = dart.privateName(_js_helper, "RuntimeError.message"); _js_helper.RuntimeError = class RuntimeError extends core.Error { @@ -22533,6 +24510,9 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + return new _js_helper.RuntimeError.new(message); + } toString() { return "RuntimeError: " + dart.str(this.message); } @@ -22544,7 +24524,7 @@ define([], (function load__dart_sdk() { }).prototype = _js_helper.RuntimeError.prototype; dart.addTypeTests(_js_helper.RuntimeError); dart.addTypeCaches(_js_helper.RuntimeError); - dart.setLibraryUri(_js_helper.RuntimeError, I[45]); + dart.setLibraryUri(_js_helper.RuntimeError, I[47]); dart.setFieldSignature(_js_helper.RuntimeError, () => ({ __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -22557,36 +24537,43 @@ define([], (function load__dart_sdk() { return this[enclosingLibrary$]; } set enclosingLibrary(value) { + if (value == null) dart.nullFailed(I[48], 714, 10, "enclosingLibrary"); this[enclosingLibrary$] = value; } get importPrefix() { return this[importPrefix$]; } set importPrefix(value) { + if (value == null) dart.nullFailed(I[48], 715, 10, "importPrefix"); this[importPrefix$] = value; } + static ['_#new#tearOff'](enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); + return new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix); + } toString() { return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { - if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); - if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); this[enclosingLibrary$] = enclosingLibrary; this[importPrefix$] = importPrefix; _js_helper.DeferredNotLoadedError.__proto__.new.call(this); @@ -22603,7 +24590,7 @@ define([], (function load__dart_sdk() { [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); - dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); + dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), enclosingLibrary: dart.fieldType(core.String), @@ -22622,6 +24609,9 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.AssertionError.new(message); + } toString() { if (this.message != null) { return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); @@ -22636,13 +24626,16 @@ define([], (function load__dart_sdk() { }).prototype = core.AssertionError.prototype; dart.addTypeTests(core.AssertionError); dart.addTypeCaches(core.AssertionError); - dart.setLibraryUri(core.AssertionError, I[8]); + dart.setLibraryUri(core.AssertionError, I[9]); dart.setFieldSignature(core.AssertionError, () => ({ __proto__: dart.getFields(core.AssertionError.__proto__), message: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.AssertionError, ['toString']); _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + static ['_#new#tearOff'](message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + return new _js_helper.AssertionErrorImpl.new(message, _fileUri, _line, _column, _conditionSource); + } toString() { let failureMessage = ""; if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { @@ -22662,7 +24655,7 @@ define([], (function load__dart_sdk() { }).prototype = _js_helper.AssertionErrorImpl.prototype; dart.addTypeTests(_js_helper.AssertionErrorImpl); dart.addTypeCaches(_js_helper.AssertionErrorImpl); - dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); + dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[47]); dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), @@ -22675,6 +24668,9 @@ define([], (function load__dart_sdk() { toString() { return "Failed assertion: boolean expression must not be null"; } + static ['_#new#tearOff']() { + return new _js_helper.BooleanConversionAssertionError.new(); + } }; (_js_helper.BooleanConversionAssertionError.new = function() { _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); @@ -22682,7 +24678,7 @@ define([], (function load__dart_sdk() { }).prototype = _js_helper.BooleanConversionAssertionError.prototype; dart.addTypeTests(_js_helper.BooleanConversionAssertionError); dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); - dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); + dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[47]); dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); @@ -22701,12 +24697,17 @@ define([], (function load__dart_sdk() { set [_nativeSymbol](value) { super[_nativeSymbol] = value; } + static ['_#new#tearOff'](_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); + return new _js_helper.PrivateSymbol.new(_name, _nativeSymbol); + } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 800, 32, "symbol"); return _js_helper.PrivateSymbol.as(symbol)[_name]; } static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; return null; } @@ -22722,8 +24723,8 @@ define([], (function load__dart_sdk() { } }; (_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { - if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); - if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); this[_name$1] = _name; this[_nativeSymbol$] = _nativeSymbol; ; @@ -22731,7 +24732,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_js_helper.PrivateSymbol); dart.addTypeCaches(_js_helper.PrivateSymbol); _js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; - dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); + dart.setStaticMethodSignature(_js_helper.PrivateSymbol, () => ['getName', 'getNativeSymbol']); + dart.setLibraryUri(_js_helper.PrivateSymbol, I[47]); dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), [_name]: dart.finalFieldType(core.String), @@ -22739,27 +24741,39 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); - _js_helper.ForceInline = class ForceInline extends core.Object {}; + _js_helper.ForceInline = class ForceInline extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.ForceInline.new(); + } + }; (_js_helper.ForceInline.new = function() { ; }).prototype = _js_helper.ForceInline.prototype; dart.addTypeTests(_js_helper.ForceInline); dart.addTypeCaches(_js_helper.ForceInline); - dart.setLibraryUri(_js_helper.ForceInline, I[45]); - _js_helper._NotNull = class _NotNull extends core.Object {}; + dart.setLibraryUri(_js_helper.ForceInline, I[47]); + _js_helper._NotNull = class _NotNull extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NotNull.new(); + } + }; (_js_helper._NotNull.new = function() { ; }).prototype = _js_helper._NotNull.prototype; dart.addTypeTests(_js_helper._NotNull); dart.addTypeCaches(_js_helper._NotNull); - dart.setLibraryUri(_js_helper._NotNull, I[45]); - _js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; + dart.setLibraryUri(_js_helper._NotNull, I[47]); + _js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.NoReifyGeneric.new(); + } + }; (_js_helper.NoReifyGeneric.new = function() { ; }).prototype = _js_helper.NoReifyGeneric.prototype; dart.addTypeTests(_js_helper.NoReifyGeneric); dart.addTypeCaches(_js_helper.NoReifyGeneric); - dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); + dart.setLibraryUri(_js_helper.NoReifyGeneric, I[47]); var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { get value() { @@ -22768,47 +24782,45 @@ define([], (function load__dart_sdk() { set value(value) { super.value = value; } + static ['_#new#tearOff'](value) { + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); + return new _js_helper.ReifyFunctionTypes.new(value); + } }; (_js_helper.ReifyFunctionTypes.new = function(value) { - if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); this[value$1] = value; ; }).prototype = _js_helper.ReifyFunctionTypes.prototype; dart.addTypeTests(_js_helper.ReifyFunctionTypes); dart.addTypeCaches(_js_helper.ReifyFunctionTypes); - dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); + dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[47]); dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), value: dart.finalFieldType(core.bool) })); - _js_helper._NullCheck = class _NullCheck extends core.Object {}; + _js_helper._NullCheck = class _NullCheck extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NullCheck.new(); + } + }; (_js_helper._NullCheck.new = function() { ; }).prototype = _js_helper._NullCheck.prototype; dart.addTypeTests(_js_helper._NullCheck); dart.addTypeCaches(_js_helper._NullCheck); - dart.setLibraryUri(_js_helper._NullCheck, I[45]); - _js_helper._Undefined = class _Undefined extends core.Object {}; + dart.setLibraryUri(_js_helper._NullCheck, I[47]); + _js_helper._Undefined = class _Undefined extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._Undefined.new(); + } + }; (_js_helper._Undefined.new = function() { ; }).prototype = _js_helper._Undefined.prototype; dart.addTypeTests(_js_helper._Undefined); dart.addTypeCaches(_js_helper._Undefined); - dart.setLibraryUri(_js_helper._Undefined, I[45]); - _js_helper.NoThrows = class NoThrows extends core.Object {}; - (_js_helper.NoThrows.new = function() { - ; - }).prototype = _js_helper.NoThrows.prototype; - dart.addTypeTests(_js_helper.NoThrows); - dart.addTypeCaches(_js_helper.NoThrows); - dart.setLibraryUri(_js_helper.NoThrows, I[45]); - _js_helper.NoInline = class NoInline extends core.Object {}; - (_js_helper.NoInline.new = function() { - ; - }).prototype = _js_helper.NoInline.prototype; - dart.addTypeTests(_js_helper.NoInline); - dart.addTypeCaches(_js_helper.NoInline); - dart.setLibraryUri(_js_helper.NoInline, I[45]); + dart.setLibraryUri(_js_helper._Undefined, I[47]); var name$7 = dart.privateName(_js_helper, "Native.name"); _js_helper.Native = class Native extends core.Object { get name() { @@ -22817,15 +24829,19 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); + return new _js_helper.Native.new(name); + } }; (_js_helper.Native.new = function(name) { - if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); this[name$7] = name; ; }).prototype = _js_helper.Native.prototype; dart.addTypeTests(_js_helper.Native); dart.addTypeCaches(_js_helper.Native); - dart.setLibraryUri(_js_helper.Native, I[45]); + dart.setLibraryUri(_js_helper.Native, I[47]); dart.setFieldSignature(_js_helper.Native, () => ({ __proto__: dart.getFields(_js_helper.Native.__proto__), name: dart.finalFieldType(core.String) @@ -22838,34 +24854,43 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); + return new _js_helper.JsPeerInterface.new({name: name}); + } }; (_js_helper.JsPeerInterface.new = function(opts) { let name = opts && 'name' in opts ? opts.name : null; - if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); this[name$8] = name; ; }).prototype = _js_helper.JsPeerInterface.prototype; dart.addTypeTests(_js_helper.JsPeerInterface); dart.addTypeCaches(_js_helper.JsPeerInterface); - dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); + dart.setLibraryUri(_js_helper.JsPeerInterface, I[47]); dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), name: dart.finalFieldType(core.String) })); - _js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; + _js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.SupportJsExtensionMethods.new(); + } + }; (_js_helper.SupportJsExtensionMethods.new = function() { ; }).prototype = _js_helper.SupportJsExtensionMethods.prototype; dart.addTypeTests(_js_helper.SupportJsExtensionMethods); dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); - dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); + dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[47]); var _modifications = dart.privateName(_js_helper, "_modifications"); var _map$ = dart.privateName(_js_helper, "_map"); const _is_InternalMap_default = Symbol('_is_InternalMap_default'); _js_helper.InternalMap$ = dart.generic((K, V) => { class InternalMap extends collection.MapBase$(K, V) { forEach(action) { - if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + if (action == null) dart.nullFailed(I[50], 18, 21, "action"); let modifications = this[_modifications]; for (let entry of this[_map$].entries()) { action(entry[0], entry[1]); @@ -22882,7 +24907,7 @@ define([], (function load__dart_sdk() { InternalMap.prototype[_is_InternalMap_default] = true; dart.addTypeCaches(InternalMap); InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[45]); + dart.setLibraryUri(InternalMap, I[47]); dart.defineExtensionMethods(InternalMap, ['forEach']); return InternalMap; }); @@ -22893,11 +24918,11 @@ define([], (function load__dart_sdk() { var _keyMap = dart.privateName(_js_helper, "_keyMap"); const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); _js_helper.LinkedMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class LinkedMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map]; @@ -22911,6 +24936,13 @@ define([], (function load__dart_sdk() { set [_modifications](value) { this[_modifications$] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); + return new (_js_helper.LinkedMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -22921,16 +24953,16 @@ define([], (function load__dart_sdk() { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22948,8 +24980,8 @@ define([], (function load__dart_sdk() { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 121, 25, "other"); let map = this[_map$]; let length = map.size; other[$forEach](dart.fn((key, value) => { @@ -22959,16 +24991,16 @@ define([], (function load__dart_sdk() { key = _js_helper.putLinkedMapKey(key, this[_keyMap]); } this[_map$].set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22993,21 +25025,21 @@ define([], (function load__dart_sdk() { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 171, 26, "ifAbsent"); let map = this[_map$]; if (key == null) { key = null; if (map.has(null)) return map.get(null); } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) { this[_keyMap].set(hash, [key]); @@ -23026,14 +25058,14 @@ define([], (function load__dart_sdk() { value = null; } map.set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let hash = dart.hashCode(key) & 0x3ffffff; + let hash = dart.hashCode(key) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) return null; for (let i = 0, n = buckets.length;;) { @@ -23053,7 +25085,7 @@ define([], (function load__dart_sdk() { let map = this[_map$]; let value = map.get(key); if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } @@ -23062,7 +25094,7 @@ define([], (function load__dart_sdk() { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23073,7 +25105,7 @@ define([], (function load__dart_sdk() { ; }).prototype = LinkedMap.prototype; (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); this[_map] = new Map(); this[_keyMap] = new Map(); this[_modifications$] = 0; @@ -23109,7 +25141,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(LinkedMap, I[45]); + dart.setLibraryUri(LinkedMap, I[47]); dart.setFieldSignature(LinkedMap, () => ({ __proto__: dart.getFields(LinkedMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23139,8 +25171,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); _js_helper.ImmutableMap$ = dart.generic((K, V) => { - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); + return new (_js_helper.ImmutableMap$(K, V)).from(entries); + } _set(key, value$) { let value = value$; K.as(key); @@ -23150,7 +25186,7 @@ define([], (function load__dart_sdk() { } addAll(other) { core.Object.as(other); - if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + if (other == null) dart.nullFailed(I[50], 268, 22, "other"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } clear() { @@ -23161,8 +25197,8 @@ define([], (function load__dart_sdk() { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } static _unsupported() { @@ -23170,14 +25206,15 @@ define([], (function load__dart_sdk() { } } (ImmutableMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); ImmutableMap.__proto__.from.call(this, entries); ; }).prototype = ImmutableMap.prototype; dart.addTypeTests(ImmutableMap); ImmutableMap.prototype[_is_ImmutableMap_default] = true; dart.addTypeCaches(ImmutableMap); - dart.setLibraryUri(ImmutableMap, I[45]); + dart.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); + dart.setLibraryUri(ImmutableMap, I[47]); dart.defineExtensionMethods(ImmutableMap, [ '_set', 'addAll', @@ -23193,11 +25230,11 @@ define([], (function load__dart_sdk() { var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); _js_helper.IdentityMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class IdentityMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$0]; @@ -23211,6 +25248,13 @@ define([], (function load__dart_sdk() { set [_modifications](value) { this[_modifications$0] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); + return new (_js_helper.IdentityMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -23221,10 +25265,10 @@ define([], (function load__dart_sdk() { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { return this[_map$].has(key); @@ -23236,14 +25280,14 @@ define([], (function load__dart_sdk() { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[51], 47, 25, "other"); if (dart.test(other[$isNotEmpty])) { let map = this[_map$]; other[$forEach](dart.fn((key, value) => { map.set(key, value); - }, KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 67108863; + }, __t$KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { @@ -23258,34 +25302,34 @@ define([], (function load__dart_sdk() { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[51], 71, 26, "ifAbsent"); if (this[_map$].has(key)) { return this[_map$].get(key); } let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { let value = this[_map$].get(key); if (this[_map$].delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } clear() { if (this[_map$].size > 0) { this[_map$].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23295,7 +25339,7 @@ define([], (function load__dart_sdk() { ; }).prototype = IdentityMap.prototype; (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); this[_map$0] = new Map(); this[_modifications$0] = 0; let map = this[_map$]; @@ -23322,7 +25366,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(IdentityMap, I[45]); + dart.setLibraryUri(IdentityMap, I[47]); dart.setFieldSignature(IdentityMap, () => ({ __proto__: dart.getFields(IdentityMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23352,8 +25396,13 @@ define([], (function load__dart_sdk() { var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); _js_helper._JSMapIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E, _map, _isKeys) { + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); + return new (_js_helper._JSMapIterable$(E)).new(_map, _isKeys); + } get length() { return this[_map$][$length]; } @@ -23374,20 +25423,20 @@ define([], (function load__dart_sdk() { }; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } contains(element) { return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); } forEach(f) { - if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + if (f == null) dart.nullFailed(I[51], 134, 33, "f"); for (let entry of this) f(entry); } } (_JSMapIterable.new = function(_map, _isKeys) { - if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); - if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); this[_map$] = _map; this[_isKeys$] = _isKeys; _JSMapIterable.__proto__.new.call(this); @@ -23405,7 +25454,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setLibraryUri(_JSMapIterable, I[47]); dart.setFieldSignature(_JSMapIterable, () => ({ __proto__: dart.getFields(_JSMapIterable.__proto__), [_map$]: dart.finalFieldType(_js_helper.InternalMap), @@ -23424,11 +25473,11 @@ define([], (function load__dart_sdk() { var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); _js_helper.CustomHashMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class CustomHashMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$1]; @@ -23442,6 +25491,11 @@ define([], (function load__dart_sdk() { set [_modifications](value) { this[_modifications$1] = value; } + static ['_#new#tearOff'](K, V, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); + return new (_js_helper.CustomHashMap$(K, V)).new(_equals, _hashCode); + } get length() { return this[_map$].size; } @@ -23452,15 +25506,15 @@ define([], (function load__dart_sdk() { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23478,16 +25532,16 @@ define([], (function load__dart_sdk() { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[52], 91, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } _get(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23503,11 +25557,11 @@ define([], (function load__dart_sdk() { } _set(key, value$) { let value = value$; - let t82; + let t71; K.as(key); V.as(value); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23526,16 +25580,16 @@ define([], (function load__dart_sdk() { } } this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value$; } putIfAbsent(key, ifAbsent) { - let t82; + let t71; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23550,13 +25604,13 @@ define([], (function load__dart_sdk() { let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { - let t82; + let t71; if (K.is(key)) { - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let keyMap = this[_keyMap]; let buckets = keyMap.get(hash); if (buckets == null) return null; @@ -23572,7 +25626,7 @@ define([], (function load__dart_sdk() { let map = this[_map$]; let value = map.get(k); map.delete(k); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value == null ? null : value; } } @@ -23584,13 +25638,13 @@ define([], (function load__dart_sdk() { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } (CustomHashMap.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); - if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); this[_map$1] = new Map(); this[_keyMap] = new Map(); this[_modifications$1] = 0; @@ -23617,7 +25671,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CustomHashMap, I[45]); + dart.setLibraryUri(CustomHashMap, I[47]); dart.setFieldSignature(CustomHashMap, () => ({ __proto__: dart.getFields(CustomHashMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23650,26 +25704,32 @@ define([], (function load__dart_sdk() { const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + static ['_#new#tearOff'](K, V, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); + return new (_js_helper.CustomKeyHashMap$(K, V)).new(equals, hashCode, _validKey); + } containsKey(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; return super.containsKey(key); } _get(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super._get(key); } remove(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super.remove(key); } } (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); - if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); - if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); this[_validKey$] = _validKey; CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); ; @@ -23677,7 +25737,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(CustomKeyHashMap); CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setLibraryUri(CustomKeyHashMap, I[47]); dart.setFieldSignature(CustomKeyHashMap, () => ({ __proto__: dart.getFields(CustomKeyHashMap.__proto__), [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -23709,6 +25769,18 @@ define([], (function load__dart_sdk() { toString() { return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } get [_nativeGlobalVersion]() { if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); @@ -23731,11 +25803,11 @@ define([], (function load__dart_sdk() { } static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { if (source == null) dart.argumentError(source); - if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); - if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); - if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); - if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); - if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + if (multiLine == null) dart.nullFailed(I[53], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[53], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[53], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[53], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[53], 87, 59, "global"); let m = dart.test(multiLine) ? "m" : ""; let i = dart.test(caseSensitive) ? "" : "i"; let u = dart.test(unicode) ? "u" : ""; @@ -23763,7 +25835,7 @@ define([], (function load__dart_sdk() { return this[_nativeRegExp].test(string); } stringMatch(string) { - if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + if (string == null) dart.nullFailed(I[53], 131, 30, "string"); let match = this.firstMatch(string); if (match != null) return match.group(0); return null; @@ -23777,8 +25849,8 @@ define([], (function load__dart_sdk() { return new _js_helper._AllMatchesIterable.new(this, string, start); } [_execGlobal](string, start) { - if (string == null) dart.nullFailed(I[51], 145, 35, "string"); - if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + if (string == null) dart.nullFailed(I[53], 145, 35, "string"); + if (start == null) dart.nullFailed(I[53], 145, 47, "start"); let regexp = core.Object.as(this[_nativeGlobalVersion]); regexp.lastIndex = start; let match = regexp.exec(string); @@ -23786,21 +25858,21 @@ define([], (function load__dart_sdk() { return new _js_helper._MatchImplementation.new(this, match); } [_execAnchored](string, start) { - let t82; - if (string == null) dart.nullFailed(I[51], 155, 37, "string"); - if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let t71; + if (string == null) dart.nullFailed(I[53], 155, 37, "string"); + if (start == null) dart.nullFailed(I[53], 155, 49, "start"); let regexp = core.Object.as(this[_nativeAnchoredVersion]); regexp.lastIndex = start; let match = regexp.exec(string); if (match == null) return null; if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; - t82 = match; - t82[$length] = dart.notNull(t82[$length]) - 1; + t71 = match; + t71[$length] = dart.notNull(t71[$length]) - 1; return new _js_helper._MatchImplementation.new(this, match); } matchAsPrefix(string, start = 0) { - if (string == null) dart.nullFailed(I[51], 169, 31, "string"); - if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (string == null) dart.nullFailed(I[53], 169, 31, "string"); + if (start == null) dart.nullFailed(I[53], 169, 44, "start"); if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { dart.throw(new core.RangeError.range(start, 0, string.length)); } @@ -23820,15 +25892,15 @@ define([], (function load__dart_sdk() { } }; (_js_helper.JSSyntaxRegExp.new = function(source, opts) { - if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); this[_nativeGlobalRegExp] = null; this[_nativeAnchoredRegExp] = null; this[pattern] = source; @@ -23850,6 +25922,7 @@ define([], (function load__dart_sdk() { matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) })); + dart.setStaticMethodSignature(_js_helper.JSSyntaxRegExp, () => ['makeNative']); dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), [_nativeGlobalVersion]: dart.dynamic, @@ -23863,7 +25936,7 @@ define([], (function load__dart_sdk() { isUnicode: core.bool, isDotAll: core.bool })); - dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); + dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), pattern: dart.finalFieldType(core.String), @@ -23874,6 +25947,11 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); var _match$ = dart.privateName(_js_helper, "_match"); _js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + static ['_#new#tearOff'](pattern, _match) { + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); + return new _js_helper._MatchImplementation.new(pattern, _match); + } get input() { return this[_match$].input; } @@ -23884,18 +25962,18 @@ define([], (function load__dart_sdk() { return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; } group(index) { - if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + if (index == null) dart.nullFailed(I[53], 200, 21, "index"); return this[_match$][$_get](index); } _get(index) { - if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + if (index == null) dart.nullFailed(I[53], 201, 27, "index"); return this.group(index); } get groupCount() { return dart.notNull(this[_match$][$length]) - 1; } groups(groups) { - if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + if (groups == null) dart.nullFailed(I[53], 204, 34, "groups"); let out = T$.JSArrayOfStringN().of([]); for (let i of groups) { out[$add](this.group(i)); @@ -23903,7 +25981,7 @@ define([], (function load__dart_sdk() { return out; } namedGroup(name) { - if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + if (name == null) dart.nullFailed(I[53], 212, 29, "name"); let groups = this[_match$].groups; if (groups != null) { let result = groups[name]; @@ -23923,12 +26001,12 @@ define([], (function load__dart_sdk() { } }; (_js_helper._MatchImplementation.new = function(pattern, _match) { - if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); - if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); this.pattern = pattern; this[_match$] = _match; - if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); - if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[53], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[53], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); }).prototype = _js_helper._MatchImplementation.prototype; dart.addTypeTests(_js_helper._MatchImplementation); dart.addTypeCaches(_js_helper._MatchImplementation); @@ -23948,7 +26026,7 @@ define([], (function load__dart_sdk() { groupCount: core.int, groupNames: core.Iterable$(core.String) })); - dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); + dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), pattern: dart.finalFieldType(core.Pattern), @@ -23964,16 +26042,22 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.RegExpMatch); dart.addTypeCaches(core.RegExpMatch); core.RegExpMatch[dart.implements] = () => [core.Match]; - dart.setLibraryUri(core.RegExpMatch, I[8]); + dart.setLibraryUri(core.RegExpMatch, I[9]); _js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + static ['_#new#tearOff'](_re, _string, _start) { + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); + return new _js_helper._AllMatchesIterable.new(_re, _string, _start); + } get iterator() { return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); } }; (_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { - if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); - if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); - if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); this[_re$] = _re; this[_string$0] = _string; this[_start$0] = _start; @@ -23987,7 +26071,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(core.RegExpMatch), [$iterator]: core.Iterator$(core.RegExpMatch) })); - dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); + dart.setLibraryUri(_js_helper._AllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -23998,15 +26082,20 @@ define([], (function load__dart_sdk() { var _regExp$ = dart.privateName(_js_helper, "_regExp"); var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); + return new _js_helper._AllMatchesIterator.new(_regExp, _string, _nextIndex); + } get current() { return dart.nullCast(this[_current$0], core.RegExpMatch); } static _isLeadSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + if (c == null) dart.nullFailed(I[53], 254, 36, "c"); return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; } static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + if (c == null) dart.nullFailed(I[53], 258, 37, "c"); return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; } moveNext() { @@ -24033,8 +26122,8 @@ define([], (function load__dart_sdk() { } }; (_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { - if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); - if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); this[_current$0] = null; this[_regExp$] = _regExp; this[_string$0] = _string; @@ -24048,11 +26137,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), moveNext: dart.fnType(core.bool, []) })); + dart.setStaticMethodSignature(_js_helper._AllMatchesIterator, () => ['_isLeadSurrogate', '_isTrailSurrogate']); dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), current: core.RegExpMatch })); - dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); + dart.setLibraryUri(_js_helper._AllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -24082,25 +26172,31 @@ define([], (function load__dart_sdk() { set pattern(value) { super.pattern = value; } + static ['_#new#tearOff'](start, input, pattern) { + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); + return new _js_helper.StringMatch.new(start, input, pattern); + } get end() { return dart.notNull(this.start) + this.pattern.length; } _get(g) { - if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + if (g == null) dart.nullFailed(I[54], 31, 26, "g"); return this.group(g); } get groupCount() { return 0; } group(group_) { - if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ == null) dart.nullFailed(I[54], 34, 20, "group_"); if (group_ !== 0) { dart.throw(new core.RangeError.value(group_)); } return this.pattern; } groups(groups_) { - if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + if (groups_ == null) dart.nullFailed(I[54], 41, 33, "groups_"); let result = T$.JSArrayOfString().of([]); for (let g of groups_) { result[$add](this.group(g)); @@ -24109,9 +26205,9 @@ define([], (function load__dart_sdk() { } }; (_js_helper.StringMatch.new = function(start, input, pattern) { - if (start == null) dart.nullFailed(I[52], 28, 30, "start"); - if (input == null) dart.nullFailed(I[52], 28, 49, "input"); - if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); this[start$0] = start; this[input$] = input; this[pattern$] = pattern; @@ -24131,7 +26227,7 @@ define([], (function load__dart_sdk() { end: core.int, groupCount: core.int })); - dart.setLibraryUri(_js_helper.StringMatch, I[45]); + dart.setLibraryUri(_js_helper.StringMatch, I[47]); dart.setFieldSignature(_js_helper.StringMatch, () => ({ __proto__: dart.getFields(_js_helper.StringMatch.__proto__), start: dart.finalFieldType(core.int), @@ -24147,8 +26243,14 @@ define([], (function load__dart_sdk() { }).prototype = core.Match.prototype; dart.addTypeTests(core.Match); dart.addTypeCaches(core.Match); - dart.setLibraryUri(core.Match, I[8]); + dart.setLibraryUri(core.Match, I[9]); _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); + return new _js_helper._StringAllMatchesIterable.new(_input, _pattern, _index); + } get iterator() { return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); } @@ -24161,9 +26263,9 @@ define([], (function load__dart_sdk() { } }; (_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); this[_input$] = _input; this[_pattern$] = _pattern; this[_index$0] = _index; @@ -24177,7 +26279,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(core.Match), [$iterator]: core.Iterator$(core.Match) })); - dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); + dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24186,6 +26288,12 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); + return new _js_helper._StringAllMatchesIterator.new(_input, _pattern, _index); + } moveNext() { if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { this[_current$0] = null; @@ -24208,9 +26316,9 @@ define([], (function load__dart_sdk() { } }; (_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); this[_current$0] = null; this[_input$] = _input; this[_pattern$] = _pattern; @@ -24228,7 +26336,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), current: core.Match })); - dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); + dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24237,15 +26345,15 @@ define([], (function load__dart_sdk() { [_current$0]: dart.fieldType(dart.nullable(core.Match)) })); _js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { - if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + if (index == null) dart.nullFailed(I[48], 478, 41, "index"); let length = core.int.as(dart.dload(indexable, 'length')); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { - return new core.IndexError.new(index, indexable, "index", null, length); + return new core.IndexError.withLength(index, length, {indexable: indexable, name: "index"}); } return new core.RangeError.value(index, "index"); }; _js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { - if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (length == null) dart.nullFailed(I[48], 495, 52, "length"); if (start == null) { return new core.ArgumentError.value(start, "start"); } @@ -24282,23 +26390,23 @@ define([], (function load__dart_sdk() { dart.throw(new core.ConcurrentModificationError.new(collection)); }; _js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { - let t82, t82$; - if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let t71, t71$; + if (result == null) dart.nullFailed(I[48], 573, 35, "result"); let index = 0; let length = _js_helper.getLength(keyValuePairs); while (index < dart.notNull(length)) { - let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); - let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + let key = _js_helper.getIndex(keyValuePairs, (t71 = index, index = t71 + 1, t71)); + let value = _js_helper.getIndex(keyValuePairs, (t71$ = index, index = t71$ + 1, t71$)); result[$_set](key, value); } return result; }; _js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + if (property == null) dart.nullFailed(I[48], 586, 40, "property"); return jsObject.hasOwnProperty(property); }; _js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + if (property == null) dart.nullFailed(I[48], 590, 35, "property"); return jsObject[property]; }; _js_helper.getFallThroughError = function getFallThroughError() { @@ -24325,33 +26433,38 @@ define([], (function load__dart_sdk() { dart.applyExtension(name, nativeObject); }; _js_helper.applyTestExtensions = function applyTestExtensions(names) { - if (names == null) dart.nullFailed(I[46], 802, 39, "names"); - names[$forEach](C[28] || CT.C28); + if (names == null) dart.nullFailed(I[48], 787, 39, "names"); + names[$forEach](C[30] || CT.C30); }; _js_helper.assertInterop = function assertInterop$(value) { if (core.Function.is(value)) dart.assertInterop(value); }; _js_helper.assertInteropArgs = function assertInteropArgs(args) { - if (args == null) dart.nullFailed(I[46], 843, 38, "args"); - return args[$forEach](C[29] || CT.C29); + if (args == null) dart.nullFailed(I[48], 828, 38, "args"); + return args[$forEach](C[31] || CT.C31); + }; + _js_helper.wrapZoneUnaryCallback = function wrapZoneUnaryCallback(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); }; _js_helper.getRuntimeType = function getRuntimeType(object) { return dart.getReifiedType(object); }; _js_helper.getIndex = function getIndex(array, index) { - if (index == null) dart.nullFailed(I[53], 13, 21, "index"); - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + if (index == null) dart.nullFailed(I[55], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 14, 10, "isJsArray(array)"); return array[index]; }; _js_helper.getLength = function getLength(array) { - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 20, 10, "isJsArray(array)"); return array.length; }; _js_helper.isJsArray = function isJsArray(value) { return _interceptors.JSArray.is(value); }; _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { - let hash = key[$hashCode] & 0x3ffffff; + let hash = key[$hashCode] & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -24365,7 +26478,7 @@ define([], (function load__dart_sdk() { return key; }; _js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); return closure; }; _js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { @@ -24375,25 +26488,25 @@ define([], (function load__dart_sdk() { _js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { }; _js_helper.regExpGetNative = function regExpGetNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 8, 32, "regexp"); return regexp[_nativeRegExp]; }; _js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 19, 38, "regexp"); let nativeRegexp = regexp[_nativeGlobalVersion]; nativeRegexp.lastIndex = 0; return nativeRegexp; }; _js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { - if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 35, 39, "regexp"); let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; let match = nativeAnchoredRegExp.exec(''); return match[$length] - 2; }; _js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { - if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); - if (string == null) dart.nullFailed(I[51], 293, 60, "string"); - if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + if (regExp == null) dart.nullFailed(I[53], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[53], 293, 60, "string"); + if (start == null) dart.nullFailed(I[53], 293, 72, "start"); return regExp[_execGlobal](string, start); }; _js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { @@ -24409,13 +26522,13 @@ define([], (function load__dart_sdk() { return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; }; _js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { - if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); - if (string == null) dart.nullFailed(I[52], 55, 28, "string"); - if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + if (pattern == null) dart.nullFailed(I[54], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[54], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[54], 55, 40, "startIndex"); return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); }; _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { - if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (startIndex == null) dart.nullFailed(I[54], 110, 51, "startIndex"); if (typeof other == 'string') { return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); } else if (_js_helper.JSSyntaxRegExp.is(other)) { @@ -24426,15 +26539,15 @@ define([], (function load__dart_sdk() { } }; _js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { - if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); - if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[54], 122, 58, "replacement"); replacement = replacement.replace(/\$/g, "$$$$"); return receiver.replace(replacer, replacement); }; _js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { - if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); - if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + if (regexp == null) dart.nullFailed(I[54], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[54], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 132, 29, "startIndex"); let match = regexp[_execGlobal](receiver, startIndex); if (match == null) return receiver; let start = match.start; @@ -24468,22 +26581,30 @@ define([], (function load__dart_sdk() { let re = _js_helper.regExpGetGlobalNative(pattern); return _js_helper.stringReplaceJS(receiver, re, replacement); } else { - dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + let startIndex = 0; + let result = new core.StringBuffer.new(); + for (let match of pattern[$allMatches](receiver)) { + result.write(_js_helper.substring2Unchecked(receiver, startIndex, match.start)); + result.write(replacement); + startIndex = match.end; + } + result.write(_js_helper.substring1Unchecked(receiver, startIndex)); + return result.toString(); } }; _js_helper._matchString = function _matchString(match) { - if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + if (match == null) dart.nullFailed(I[54], 184, 27, "match"); return dart.nullCheck(match._get(0)); }; _js_helper._stringIdentity = function _stringIdentity(string) { - if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + if (string == null) dart.nullFailed(I[54], 185, 31, "string"); return string; }; _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (receiver == null) dart.nullFailed(I[54], 189, 12, "receiver"); if (pattern == null) dart.argumentError(pattern); - if (onMatch == null) onMatch = C[30] || CT.C30; - if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (onMatch == null) onMatch = C[32] || CT.C32; + if (onNonMatch == null) onNonMatch = C[33] || CT.C33; if (typeof pattern == 'string') { return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); } @@ -24498,9 +26619,9 @@ define([], (function load__dart_sdk() { return buffer.toString(); }; _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); - if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 211, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[54], 212, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 212, 41, "onNonMatch"); let buffer = new core.StringBuffer.new(); let length = receiver.length; let i = 0; @@ -24524,10 +26645,10 @@ define([], (function load__dart_sdk() { return buffer.toString(); }; _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); - if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 241, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 241, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[54], 242, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 242, 41, "onNonMatch"); let patternLength = pattern.length; if (patternLength === 0) { return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); @@ -24549,8 +26670,8 @@ define([], (function load__dart_sdk() { }; _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (replacement == null) dart.nullFailed(I[54], 265, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 265, 57, "startIndex"); if (typeof pattern == 'string') { let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); if (index < 0) return receiver; @@ -24566,10 +26687,10 @@ define([], (function load__dart_sdk() { return receiver[$replaceRange](match.start, match.end, replacement); }; _js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { - if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); - if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); - if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + if (receiver == null) dart.nullFailed(I[54], 284, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 284, 67, "pattern"); + if (replace == null) dart.nullFailed(I[54], 285, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[54], 285, 40, "startIndex"); let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; if (!dart.test(matches.moveNext())) return receiver; let match = matches.current; @@ -24580,30 +26701,27 @@ define([], (function load__dart_sdk() { return array.join(separator); }; _js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { - if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); - if (start == null) dart.nullFailed(I[52], 293, 26, "start"); - if (end == null) dart.nullFailed(I[52], 293, 37, "end"); - if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 300, 12, "receiver"); + if (start == null) dart.nullFailed(I[54], 300, 26, "start"); + if (end == null) dart.nullFailed(I[54], 300, 37, "end"); + if (replacement == null) dart.nullFailed(I[54], 300, 49, "replacement"); let prefix = receiver.substring(0, start); let suffix = receiver.substring(end); return prefix + dart.str(replacement) + suffix; }; dart.defineLazy(_js_helper, { - /*_js_helper.patch*/get patch() { - return C[32] || CT.C32; - }, /*_js_helper.notNull*/get notNull() { - return C[33] || CT.C33; + return C[34] || CT.C34; }, /*_js_helper.undefined*/get undefined() { - return C[34] || CT.C34; + return C[35] || CT.C35; }, /*_js_helper.nullCheck*/get nullCheck() { - return C[35] || CT.C35; + return C[36] || CT.C36; } }, false); _js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (string == null) dart.nullFailed(I[57], 20, 25, "string"); if (typeof dartPrint == "function") { dartPrint(string); return; @@ -24636,21 +26754,26 @@ define([], (function load__dart_sdk() { set minimumVersion(value) { super.minimumVersion = value; } + static ['_#new#tearOff'](browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); + return new _metadata.SupportedBrowser.new(browserName, minimumVersion); + } }; (_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { - if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); this[browserName$] = browserName; this[minimumVersion$] = minimumVersion; ; }).prototype = _metadata.SupportedBrowser.prototype; dart.addTypeTests(_metadata.SupportedBrowser); dart.addTypeCaches(_metadata.SupportedBrowser); - dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); + dart.setLibraryUri(_metadata.SupportedBrowser, I[59]); dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), browserName: dart.finalFieldType(core.String), minimumVersion: dart.finalFieldType(dart.nullable(core.String)) })); + dart.setStaticFieldSignature(_metadata.SupportedBrowser, () => ['CHROME', 'FIREFOX', 'IE', 'OPERA', 'SAFARI']); dart.defineLazy(_metadata.SupportedBrowser, { /*_metadata.SupportedBrowser.CHROME*/get CHROME() { return "Chrome"; @@ -24668,13 +26791,17 @@ define([], (function load__dart_sdk() { return "Safari"; } }, false); - _metadata.Experimental = class Experimental extends core.Object {}; + _metadata.Experimental = class Experimental extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Experimental.new(); + } + }; (_metadata.Experimental.new = function() { ; }).prototype = _metadata.Experimental.prototype; dart.addTypeTests(_metadata.Experimental); dart.addTypeCaches(_metadata.Experimental); - dart.setLibraryUri(_metadata.Experimental, I[57]); + dart.setLibraryUri(_metadata.Experimental, I[59]); var name$9 = dart.privateName(_metadata, "DomName.name"); _metadata.DomName = class DomName extends core.Object { get name() { @@ -24683,33 +26810,45 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); + return new _metadata.DomName.new(name); + } }; (_metadata.DomName.new = function(name) { - if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); this[name$9] = name; ; }).prototype = _metadata.DomName.prototype; dart.addTypeTests(_metadata.DomName); dart.addTypeCaches(_metadata.DomName); - dart.setLibraryUri(_metadata.DomName, I[57]); + dart.setLibraryUri(_metadata.DomName, I[59]); dart.setFieldSignature(_metadata.DomName, () => ({ __proto__: dart.getFields(_metadata.DomName.__proto__), name: dart.finalFieldType(core.String) })); - _metadata.DocsEditable = class DocsEditable extends core.Object {}; + _metadata.DocsEditable = class DocsEditable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.DocsEditable.new(); + } + }; (_metadata.DocsEditable.new = function() { ; }).prototype = _metadata.DocsEditable.prototype; dart.addTypeTests(_metadata.DocsEditable); dart.addTypeCaches(_metadata.DocsEditable); - dart.setLibraryUri(_metadata.DocsEditable, I[57]); - _metadata.Unstable = class Unstable extends core.Object {}; + dart.setLibraryUri(_metadata.DocsEditable, I[59]); + _metadata.Unstable = class Unstable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Unstable.new(); + } + }; (_metadata.Unstable.new = function() { ; }).prototype = _metadata.Unstable.prototype; dart.addTypeTests(_metadata.Unstable); dart.addTypeCaches(_metadata.Unstable); - dart.setLibraryUri(_metadata.Unstable, I[57]); + dart.setLibraryUri(_metadata.Unstable, I[59]); _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { get [$lengthInBytes]() { return this.byteLength; @@ -24718,71 +26857,74 @@ define([], (function load__dart_sdk() { return dart.wrapType(typed_data.ByteBuffer); } [$asUint8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 33, 30, "offsetInBytes"); return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); } [$asInt8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 37, 28, "offsetInBytes"); return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); } [$asUint8ClampedList](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 41, 44, "offsetInBytes"); return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); } [$asUint16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 45, 32, "offsetInBytes"); return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); } [$asInt16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 49, 30, "offsetInBytes"); return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); } [$asUint32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 53, 32, "offsetInBytes"); return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); } [$asInt32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 57, 30, "offsetInBytes"); return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); } [$asUint64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 61, 32, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); } [$asInt64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 65, 30, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); } [$asInt32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 69, 34, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeInt32x4List._externalStorage(storage); } [$asFloat32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 75, 34, "offsetInBytes"); return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); } [$asFloat64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 79, 34, "offsetInBytes"); return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); } [$asFloat32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 83, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); } [$asFloat64x2List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 89, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); } [$asByteData](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 95, 28, "offsetInBytes"); return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeByteBuffer.new(); + } }; (_native_typed_data.NativeByteBuffer.new = function() { ; @@ -24812,15 +26954,40 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), [$lengthInBytes]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); + dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[61]); dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); var _storage$ = dart.privateName(_native_typed_data, "_storage"); - typed_data.Float32x4 = class Float32x4 extends core.Object {}; + typed_data.Float32x4 = class Float32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 158, 28, "x"); + if (y == null) dart.nullFailed(I[62], 158, 38, "y"); + if (z == null) dart.nullFailed(I[62], 158, 48, "z"); + if (w == null) dart.nullFailed(I[62], 158, 58, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 160, 34, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 164, 45, "x"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); + } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 167, 45, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } + }; (typed_data.Float32x4[dart.mixinNew] = function() { }).prototype = typed_data.Float32x4.prototype; dart.addTypeTests(typed_data.Float32x4); dart.addTypeCaches(typed_data.Float32x4); - dart.setLibraryUri(typed_data.Float32x4, I[60]); + dart.setStaticMethodSignature(typed_data.Float32x4, () => ['new', 'splat', 'zero', 'fromInt32x4Bits', 'fromFloat64x2']); + dart.setLibraryUri(typed_data.Float32x4, I[63]); + dart.setStaticFieldSignature(typed_data.Float32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Float32x4, { /*typed_data.Float32x4.xxxx*/get xxxx() { return 0; @@ -25600,17 +27767,33 @@ define([], (function load__dart_sdk() { }).prototype = Object_FixedLengthListMixin$36.prototype; dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); + return new _native_typed_data.NativeFloat32x4List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); if (_native_typed_data.NativeFloat32x4List.is(list)) { return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); + return _native_typed_data.NativeFloat32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -25630,7 +27813,7 @@ define([], (function load__dart_sdk() { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + if (index == null) dart.nullFailed(I[60], 148, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -25640,9 +27823,9 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + if (index == null) dart.nullFailed(I[60], 157, 25, "index"); typed_data.Float32x4.as(value); - if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + if (value == null) dart.nullFailed(I[60], 157, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -25651,23 +27834,23 @@ define([], (function load__dart_sdk() { return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + if (start == null) dart.nullFailed(I[60], 165, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeFloat32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -25689,6 +27872,7 @@ define([], (function load__dart_sdk() { sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -25702,7 +27886,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); + dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float32List) @@ -25716,12 +27900,33 @@ define([], (function load__dart_sdk() { 'elementSizeInBytes', 'length' ]); - typed_data.Int32x4 = class Int32x4 extends core.Object {}; + typed_data.Int32x4 = class Int32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 173, 23, "x"); + if (y == null) dart.nullFailed(I[62], 173, 30, "y"); + if (z == null) dart.nullFailed(I[62], 173, 37, "z"); + if (w == null) dart.nullFailed(I[62], 173, 44, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 175, 29, "x"); + if (y == null) dart.nullFailed(I[62], 175, 37, "y"); + if (z == null) dart.nullFailed(I[62], 175, 45, "z"); + if (w == null) dart.nullFailed(I[62], 175, 53, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); + } + static ['_#fromFloat32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 177, 47, "x"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); + } + }; (typed_data.Int32x4[dart.mixinNew] = function() { }).prototype = typed_data.Int32x4.prototype; dart.addTypeTests(typed_data.Int32x4); dart.addTypeCaches(typed_data.Int32x4); - dart.setLibraryUri(typed_data.Int32x4, I[60]); + dart.setStaticMethodSignature(typed_data.Int32x4, () => ['new', 'bool', 'fromFloat32x4Bits']); + dart.setLibraryUri(typed_data.Int32x4, I[63]); + dart.setStaticFieldSignature(typed_data.Int32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Int32x4, { /*typed_data.Int32x4.xxxx*/get xxxx() { return 0; @@ -26501,17 +28706,33 @@ define([], (function load__dart_sdk() { }).prototype = Object_FixedLengthListMixin$36$.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](storage) { + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Int32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); if (_native_typed_data.NativeInt32x4List.is(list)) { return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeInt32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); + return _native_typed_data.NativeInt32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -26531,7 +28752,7 @@ define([], (function load__dart_sdk() { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + if (index == null) dart.nullFailed(I[60], 220, 27, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -26541,9 +28762,9 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + if (index == null) dart.nullFailed(I[60], 229, 25, "index"); typed_data.Int32x4.as(value); - if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + if (value == null) dart.nullFailed(I[60], 229, 40, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -26552,23 +28773,23 @@ define([], (function load__dart_sdk() { return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + if (start == null) dart.nullFailed(I[60], 237, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeInt32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { - if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); this[_storage$] = storage; ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26590,6 +28811,7 @@ define([], (function load__dart_sdk() { sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -26603,7 +28825,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); + dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Int32List) @@ -26617,12 +28839,31 @@ define([], (function load__dart_sdk() { 'elementSizeInBytes', 'length' ]); - typed_data.Float64x2 = class Float64x2 extends core.Object {}; + typed_data.Float64x2 = class Float64x2 extends core.Object { + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[62], 184, 28, "x"); + if (y == null) dart.nullFailed(I[62], 184, 38, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 186, 34, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 190, 45, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } + }; (typed_data.Float64x2[dart.mixinNew] = function() { }).prototype = typed_data.Float64x2.prototype; dart.addTypeTests(typed_data.Float64x2); dart.addTypeCaches(typed_data.Float64x2); - dart.setLibraryUri(typed_data.Float64x2, I[60]); + dart.setStaticMethodSignature(typed_data.Float64x2, () => ['new', 'splat', 'zero', 'fromFloat32x4']); + dart.setLibraryUri(typed_data.Float64x2, I[63]); + dart.setStaticFieldSignature(typed_data.Float64x2, () => ['_redirecting#']); const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; (Object_ListMixin$36$0.new = function() { }).prototype = Object_ListMixin$36$0.prototype; @@ -26632,14 +28873,30 @@ define([], (function load__dart_sdk() { }).prototype = Object_FixedLengthListMixin$36$0.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); + return new _native_typed_data.NativeFloat64x2List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); if (_native_typed_data.NativeFloat64x2List.is(list)) { return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat64x2List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); + return _native_typed_data.NativeFloat64x2List.fromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float64x2List); } @@ -26662,7 +28919,7 @@ define([], (function load__dart_sdk() { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + if (index == null) dart.nullFailed(I[60], 290, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); @@ -26670,32 +28927,32 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + if (index == null) dart.nullFailed(I[60], 297, 25, "index"); typed_data.Float64x2.as(value); - if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + if (value == null) dart.nullFailed(I[60], 297, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + if (start == null) dart.nullFailed(I[60], 303, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); } }; (_native_typed_data.NativeFloat64x2List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26715,6 +28972,7 @@ define([], (function load__dart_sdk() { sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(_native_typed_data.NativeFloat64x2List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), buffer: typed_data.ByteBuffer, @@ -26728,7 +28986,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); + dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float64List) @@ -26758,9 +29016,9 @@ define([], (function load__dart_sdk() { return this.BYTES_PER_ELEMENT; } [_invalidPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 330, 29, "position"); - if (length == null) dart.nullFailed(I[58], 330, 43, "length"); - if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (position == null) dart.nullFailed(I[60], 330, 29, "position"); + if (length == null) dart.nullFailed(I[60], 330, 43, "length"); + if (name == null) dart.nullFailed(I[60], 330, 58, "name"); if (!core.int.is(position)) { dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); } else { @@ -26768,13 +29026,16 @@ define([], (function load__dart_sdk() { } } [_checkPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 338, 27, "position"); - if (length == null) dart.nullFailed(I[58], 338, 41, "length"); - if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position == null) dart.nullFailed(I[60], 338, 27, "position"); + if (length == null) dart.nullFailed(I[60], 338, 41, "length"); + if (name == null) dart.nullFailed(I[60], 338, 56, "name"); if (position >>> 0 !== position || position > dart.notNull(length)) { this[_invalidPosition](position, length, name); } } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeTypedData.new(); + } }; (_native_typed_data.NativeTypedData.new = function() { ; @@ -26794,7 +29055,7 @@ define([], (function load__dart_sdk() { [$offsetInBytes]: core.int, [$elementSizeInBytes]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); + dart.setLibraryUri(_native_typed_data.NativeTypedData, I[61]); dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); @@ -26811,12 +29072,21 @@ define([], (function load__dart_sdk() { var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { static new(length) { - if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(buffer, offsetInBytes, length); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); } @@ -26826,137 +29096,137 @@ define([], (function load__dart_sdk() { get [$elementSizeInBytes]() { return 1; } - [$getFloat32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + [$getFloat32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 416, 45, "endian"); return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat32](...args) { return this.getFloat32.apply(this, args); } - [$getFloat64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + [$getFloat64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 429, 45, "endian"); return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat64](...args) { return this.getFloat64.apply(this, args); } - [$getInt16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + [$getInt16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 444, 40, "endian"); return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt16](...args) { return this.getInt16.apply(this, args); } - [$getInt32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + [$getInt32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 459, 40, "endian"); return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt32](...args) { return this.getInt32.apply(this, args); } - [$getInt64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + [$getInt64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 474, 40, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$getInt8](...args) { return this.getInt8.apply(this, args); } - [$getUint16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + [$getUint16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 493, 41, "endian"); return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint16](...args) { return this.getUint16.apply(this, args); } - [$getUint32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + [$getUint32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 507, 41, "endian"); return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint32](...args) { return this.getUint32.apply(this, args); } - [$getUint64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + [$getUint64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 521, 41, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$getUint8](...args) { return this.getUint8.apply(this, args); } - [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 548, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + [$setFloat32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 548, 54, "endian"); return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat32](...args) { return this.setFloat32.apply(this, args); } - [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 560, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + [$setFloat64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 560, 54, "endian"); return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat64](...args) { return this.setFloat64.apply(this, args); } - [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 573, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + [$setInt16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 573, 52, "endian"); return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt16](...args) { return this.setInt16.apply(this, args); } - [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 586, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + [$setInt32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 586, 52, "endian"); return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt32](...args) { return this.setInt32.apply(this, args); } - [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 599, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + [$setInt64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 599, 52, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$setInt8](...args) { return this.setInt8.apply(this, args); } - [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 619, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + [$setUint16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 619, 53, "endian"); return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint16](...args) { return this.setUint16.apply(this, args); } - [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 632, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + [$setUint32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 632, 53, "endian"); return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint32](...args) { return this.setUint32.apply(this, args); } - [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 645, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + [$setUint64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 645, 53, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$setUint8](...args) { @@ -27010,17 +29280,18 @@ define([], (function load__dart_sdk() { [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) })); - dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeByteData, () => ['new', 'view', '_create1', '_create2', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeByteData, I[61]); dart.registerExtension("DataView", _native_typed_data.NativeByteData); var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); _native_typed_data.NativeTypedArray$ = dart.generic(E => { class NativeTypedArray extends _native_typed_data.NativeTypedData { [_setRangeFast](start, end, source, skipCount) { - if (start == null) dart.nullFailed(I[58], 673, 11, "start"); - if (end == null) dart.nullFailed(I[58], 673, 22, "end"); - if (source == null) dart.nullFailed(I[58], 673, 44, "source"); - if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + if (start == null) dart.nullFailed(I[60], 673, 11, "start"); + if (end == null) dart.nullFailed(I[60], 673, 22, "end"); + if (source == null) dart.nullFailed(I[60], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[60], 673, 56, "skipCount"); let targetLength = this[$length]; this[_checkPosition](start, targetLength, "start"); this[_checkPosition](end, targetLength, "end"); @@ -27048,7 +29319,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(NativeTypedArray.__proto__), [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) })); - dart.setLibraryUri(NativeTypedArray, I[59]); + dart.setLibraryUri(NativeTypedArray, I[61]); return NativeTypedArray; }); _native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); @@ -27062,14 +29333,14 @@ define([], (function load__dart_sdk() { return dart.as(o, core.double); } static parse(source, onError = null) { - if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + if (source == null) dart.nullFailed(I[7], 276, 30, "source"); let value = core.double.tryParse(source); if (value != null) return value; if (onError != null) return onError(source); dart.throw(new core.FormatException.new("Invalid double", source)); } static tryParse(source) { - if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + if (source == null) dart.nullFailed(I[7], 285, 34, "source"); return _js_helper.Primitives.parseDouble(source); } }; @@ -27077,7 +29348,9 @@ define([], (function load__dart_sdk() { ; }).prototype = core.double.prototype; dart.addTypeCaches(core.double); - dart.setLibraryUri(core.double, I[8]); + dart.setStaticMethodSignature(core.double, () => ['is', 'as', 'parse', 'tryParse']); + dart.setLibraryUri(core.double, I[9]); + dart.setStaticFieldSignature(core.double, () => ['nan', 'infinity', 'negativeInfinity', 'minPositive', 'maxFinite']); dart.defineLazy(core.double, { /*core.double.nan*/get nan() { return 0 / 0; @@ -27111,25 +29384,25 @@ define([], (function load__dart_sdk() { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + if (index == null) dart.nullFailed(I[60], 699, 26, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + if (index == null) dart.nullFailed(I[60], 704, 25, "index"); core.num.as(value); - if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + if (value == null) dart.nullFailed(I[60], 704, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 709, 21, "start"); - if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + if (start == null) dart.nullFailed(I[60], 709, 21, "start"); + if (end == null) dart.nullFailed(I[60], 709, 32, "end"); T$.IterableOfdouble().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 710, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27154,7 +29427,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); + dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; @@ -27174,19 +29447,19 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + if (index == null) dart.nullFailed(I[60], 727, 25, "index"); core.int.as(value); - if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + if (value == null) dart.nullFailed(I[60], 727, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 732, 21, "start"); - if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + if (start == null) dart.nullFailed(I[60], 732, 21, "start"); + if (end == null) dart.nullFailed(I[60], 732, 32, "end"); T$.IterableOfint().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 733, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27211,30 +29484,43 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); + dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); _native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float32List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + if (start == null) dart.nullFailed(I[60], 760, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat32List._create1(source); @@ -27253,29 +29539,43 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeFloat32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[61]); dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); _native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float64List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + if (start == null) dart.nullFailed(I[60], 792, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat64List._create1(source); @@ -27294,34 +29594,48 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeFloat64List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[61]); dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); _native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); + return _native_typed_data.NativeInt16List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + if (index == null) dart.nullFailed(I[60], 822, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + if (start == null) dart.nullFailed(I[60], 827, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt16List._create1(source); @@ -27341,34 +29655,48 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeInt16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeInt16List, I[61]); dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); _native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); + return _native_typed_data.NativeInt32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + if (index == null) dart.nullFailed(I[60], 857, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + if (start == null) dart.nullFailed(I[60], 862, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt32List._create1(source); @@ -27388,33 +29716,47 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeInt32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeInt32List, I[61]); dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); _native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); + return _native_typed_data.NativeInt8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int8List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + if (index == null) dart.nullFailed(I[60], 893, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + if (start == null) dart.nullFailed(I[60], 898, 24, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt8List._create1(source); @@ -27437,34 +29779,48 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeInt8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeInt8List, I[61]); dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); _native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); + return _native_typed_data.NativeUint16List.new(length); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); + return _native_typed_data.NativeUint16List.fromList(list); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + if (index == null) dart.nullFailed(I[60], 931, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + if (start == null) dart.nullFailed(I[60], 936, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint16List._create1(source); @@ -27484,34 +29840,48 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeUint16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeUint16List, I[61]); dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); _native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); + return _native_typed_data.NativeUint32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + if (index == null) dart.nullFailed(I[60], 967, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + if (start == null) dart.nullFailed(I[60], 972, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint32List._create1(source); @@ -27531,23 +29901,37 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeUint32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeUint32List, I[61]); dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8ClampedList); } @@ -27558,12 +29942,12 @@ define([], (function load__dart_sdk() { super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1006, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + if (start == null) dart.nullFailed(I[60], 1011, 32, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8ClampedList._create1(source); @@ -27586,24 +29970,38 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[61]); dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); + return _native_typed_data.NativeUint8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8List); } @@ -27614,12 +30012,12 @@ define([], (function load__dart_sdk() { super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1056, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + if (start == null) dart.nullFailed(I[60], 1061, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8List._create1(source); @@ -27642,7 +30040,8 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) })); - dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); + dart.setStaticMethodSignature(_native_typed_data.NativeUint8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); + dart.setLibraryUri(_native_typed_data.NativeUint8List, I[61]); dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); @@ -27674,22 +30073,58 @@ define([], (function load__dart_sdk() { super.w = value; } static _truncate(x) { - _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); - return _native_typed_data.NativeFloat32x4._list[$_get](0); + _native_typed_data.NativeFloat32x4._list[0] = x; + return _native_typed_data.NativeFloat32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](i) { + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(i); } static fromInt32x4Bits(i) { - if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } + static ['_#_doubles#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + return new _native_typed_data.NativeFloat32x4._doubles(x, y, z, w); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); + return new _native_typed_data.NativeFloat32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1146, 34, "other"); let _x = dart.notNull(this.x) + dart.notNull(other.x); let _y = dart.notNull(this.y) + dart.notNull(other.y); let _z = dart.notNull(this.z) + dart.notNull(other.z); @@ -27700,7 +30135,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1160, 34, "other"); let _x = dart.notNull(this.x) - dart.notNull(other.x); let _y = dart.notNull(this.y) - dart.notNull(other.y); let _z = dart.notNull(this.z) - dart.notNull(other.z); @@ -27708,7 +30143,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1169, 34, "other"); let _x = dart.notNull(this.x) * dart.notNull(other.x); let _y = dart.notNull(this.y) * dart.notNull(other.y); let _z = dart.notNull(this.z) * dart.notNull(other.z); @@ -27716,7 +30151,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1178, 34, "other"); let _x = dart.notNull(this.x) / dart.notNull(other.x); let _y = dart.notNull(this.y) / dart.notNull(other.y); let _z = dart.notNull(this.z) / dart.notNull(other.z); @@ -27724,7 +30159,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } lessThan(other) { - if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1187, 30, "other"); let _cx = dart.notNull(this.x) < dart.notNull(other.x); let _cy = dart.notNull(this.y) < dart.notNull(other.y); let _cz = dart.notNull(this.z) < dart.notNull(other.z); @@ -27732,7 +30167,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } lessThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + if (other == null) dart.nullFailed(I[60], 1197, 37, "other"); let _cx = dart.notNull(this.x) <= dart.notNull(other.x); let _cy = dart.notNull(this.y) <= dart.notNull(other.y); let _cz = dart.notNull(this.z) <= dart.notNull(other.z); @@ -27740,7 +30175,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThan(other) { - if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + if (other == null) dart.nullFailed(I[60], 1207, 33, "other"); let _cx = dart.notNull(this.x) > dart.notNull(other.x); let _cy = dart.notNull(this.y) > dart.notNull(other.y); let _cz = dart.notNull(this.z) > dart.notNull(other.z); @@ -27748,7 +30183,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + if (other == null) dart.nullFailed(I[60], 1217, 40, "other"); let _cx = dart.notNull(this.x) >= dart.notNull(other.x); let _cy = dart.notNull(this.y) >= dart.notNull(other.y); let _cz = dart.notNull(this.z) >= dart.notNull(other.z); @@ -27756,7 +30191,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } equal(other) { - if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1227, 27, "other"); let _cx = this.x == other.x; let _cy = this.y == other.y; let _cz = this.z == other.z; @@ -27764,7 +30199,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } notEqual(other) { - if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1237, 30, "other"); let _cx = this.x != other.x; let _cy = this.y != other.y; let _cz = this.z != other.z; @@ -27772,7 +30207,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1247, 26, "s"); let _x = dart.notNull(s) * dart.notNull(this.x); let _y = dart.notNull(s) * dart.notNull(this.y); let _z = dart.notNull(s) * dart.notNull(this.z); @@ -27787,8 +30222,8 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1265, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1265, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _lz = lowerLimit.z; @@ -27828,7 +30263,7 @@ define([], (function load__dart_sdk() { return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (mask == null) dart.nullFailed(I[60], 1307, 25, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27843,8 +30278,8 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); - if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (other == null) dart.nullFailed(I[60], 1326, 34, "other"); + if (mask == null) dart.nullFailed(I[60], 1326, 45, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27863,27 +30298,27 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } withX(newX) { - if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); core.ArgumentError.checkNotNull(core.double, newX); - return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._truncate(newX), this.y, this.z, this.w); } withY(newY) { - if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + if (newY == null) dart.nullFailed(I[60], 1353, 26, "newY"); core.ArgumentError.checkNotNull(core.double, newY); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, _native_typed_data.NativeFloat32x4._truncate(newY), this.z, this.w); } withZ(newZ) { - if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + if (newZ == null) dart.nullFailed(I[60], 1359, 26, "newZ"); core.ArgumentError.checkNotNull(core.double, newZ); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, _native_typed_data.NativeFloat32x4._truncate(newZ), this.w); } withW(newW) { - if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + if (newW == null) dart.nullFailed(I[60], 1365, 26, "newW"); core.ArgumentError.checkNotNull(core.double, newW); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, _native_typed_data.NativeFloat32x4._truncate(newW)); } min(other) { - if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1371, 27, "other"); let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; @@ -27891,7 +30326,7 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } max(other) { - if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1380, 27, "other"); let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; @@ -27921,46 +30356,46 @@ define([], (function load__dart_sdk() { } }; (_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); - if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); - if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); - if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.zero = function() { _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { - if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); - _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, _native_typed_data.NativeFloat32x4._truncate(v.x), _native_typed_data.NativeFloat32x4._truncate(v.y), 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); - if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); - if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); ; }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); - if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); - if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); this[x$] = x; this[y$] = y; this[z$] = z; @@ -27998,11 +30433,12 @@ define([], (function load__dart_sdk() { reciprocal: dart.fnType(typed_data.Float32x4, []), reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) })); + dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4, () => ['_truncate', 'fromInt32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), signMask: core.int })); - dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); + dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), x: dart.finalFieldType(core.double), @@ -28010,6 +30446,7 @@ define([], (function load__dart_sdk() { z: dart.finalFieldType(core.double), w: dart.finalFieldType(core.double) })); + dart.setStaticFieldSignature(_native_typed_data.NativeFloat32x4, () => ['_list', '_uint32view']); dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat32x4, { /*_native_typed_data.NativeFloat32x4._list*/get _list() { @@ -28049,11 +30486,25 @@ define([], (function load__dart_sdk() { super.w = value; } static _truncate(x) { - _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); - return _native_typed_data.NativeInt32x4._list[$_get](0); + _native_typed_data.NativeInt32x4._list[0] = x; + return _native_typed_data.NativeInt32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); } static fromFloat32x4Bits(f) { - if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); let floatList = _native_typed_data.NativeFloat32x4._list; floatList[$_set](0, f.x); floatList[$_set](1, f.y); @@ -28062,27 +30513,38 @@ define([], (function load__dart_sdk() { let view = floatList.buffer[$asInt32List](); return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); } + static ['_#fromFloat32x4Bits#tearOff'](f) { + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(f); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); + return new _native_typed_data.NativeInt32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['|'](other) { - if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1467, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); } ['&'](other) { - if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1478, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); } ['^'](other) { - if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1489, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1499, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1508, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); } _negate() { @@ -28096,7 +30558,7 @@ define([], (function load__dart_sdk() { return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (mask == null) dart.nullFailed(I[60], 1536, 23, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28111,8 +30573,8 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); - if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (other == null) dart.nullFailed(I[60], 1554, 30, "other"); + if (mask == null) dart.nullFailed(I[60], 1554, 41, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28131,27 +30593,27 @@ define([], (function load__dart_sdk() { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } withX(x) { - if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); core.ArgumentError.checkNotNull(core.int, x); - let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + let _x = _native_typed_data.NativeInt32x4._truncate(x); return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + if (y == null) dart.nullFailed(I[60], 1582, 21, "y"); core.ArgumentError.checkNotNull(core.int, y); - let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + let _y = _native_typed_data.NativeInt32x4._truncate(y); return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withZ(z) { - if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + if (z == null) dart.nullFailed(I[60], 1589, 21, "z"); core.ArgumentError.checkNotNull(core.int, z); - let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + let _z = _native_typed_data.NativeInt32x4._truncate(z); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withW(w) { - if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + if (w == null) dart.nullFailed(I[60], 1596, 21, "w"); core.ArgumentError.checkNotNull(core.int, w); - let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + let _w = _native_typed_data.NativeInt32x4._truncate(w); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } get flagX() { @@ -28167,28 +30629,28 @@ define([], (function load__dart_sdk() { return this.w !== 0; } withFlagX(flagX) { - if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + if (flagX == null) dart.nullFailed(I[60], 1615, 26, "flagX"); let _x = dart.test(flagX) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withFlagY(flagY) { - if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + if (flagY == null) dart.nullFailed(I[60], 1621, 26, "flagY"); let _y = dart.test(flagY) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withFlagZ(flagZ) { - if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + if (flagZ == null) dart.nullFailed(I[60], 1627, 26, "flagZ"); let _z = dart.test(flagZ) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withFlagW(flagW) { - if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + if (flagW == null) dart.nullFailed(I[60], 1633, 26, "flagW"); let _w = dart.test(flagW) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } select(trueValue, falseValue) { - if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); - if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + if (trueValue == null) dart.nullFailed(I[60], 1641, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[60], 1641, 51, "falseValue"); let floatList = _native_typed_data.NativeFloat32x4._list; let intView = _native_typed_data.NativeFloat32x4._uint32view; floatList[$_set](0, trueValue.x); @@ -28219,24 +30681,24 @@ define([], (function load__dart_sdk() { } }; (_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); - if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); - if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); - if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); - this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); - this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); - this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); - this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + this[x$0] = _native_typed_data.NativeInt32x4._truncate(x); + this[y$0] = _native_typed_data.NativeInt32x4._truncate(y); + this[z$0] = _native_typed_data.NativeInt32x4._truncate(z); + this[w$0] = _native_typed_data.NativeInt32x4._truncate(w); if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); - if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); - if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); - if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); this[x$0] = dart.test(x) ? -1 : 0; this[y$0] = dart.test(y) ? -1 : 0; this[z$0] = dart.test(z) ? -1 : 0; @@ -28244,10 +30706,10 @@ define([], (function load__dart_sdk() { ; }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); - if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); - if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); this[x$0] = x; this[y$0] = y; this[z$0] = z; @@ -28277,6 +30739,7 @@ define([], (function load__dart_sdk() { withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) })); + dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4, () => ['_truncate', 'fromFloat32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), signMask: core.int, @@ -28285,7 +30748,7 @@ define([], (function load__dart_sdk() { flagZ: core.bool, flagW: core.bool })); - dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); + dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), x: dart.finalFieldType(core.int), @@ -28293,6 +30756,7 @@ define([], (function load__dart_sdk() { z: dart.finalFieldType(core.int), w: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(_native_typed_data.NativeInt32x4, () => ['_list']); dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeInt32x4, { /*_native_typed_data.NativeInt32x4._list*/get _list() { @@ -28314,38 +30778,59 @@ define([], (function load__dart_sdk() { set y(value) { super.y = value; } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } + static ['_#_doubles#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); + return new _native_typed_data.NativeFloat64x2._doubles(x, y); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1699, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); } _negate() { return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1709, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1714, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1719, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1724, 26, "s"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); } abs() { return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1734, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1734, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _ux = upperLimit.x; @@ -28367,21 +30852,21 @@ define([], (function load__dart_sdk() { return (mx | my << 1 >>> 0) >>> 0; } withX(x) { - if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (x == null) dart.nullFailed(I[60], 1760, 26, "x"); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (y == null) dart.nullFailed(I[60], 1766, 26, "y"); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); } min(other) { - if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1772, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); } max(other) { - if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1778, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); } sqrt() { @@ -28389,27 +30874,27 @@ define([], (function load__dart_sdk() { } }; (_native_typed_data.NativeFloat64x2.new = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); - if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); this[x$1] = x; this[y$1] = y; if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v, v); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.zero = function() { _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { - if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2._doubles = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); this[x$1] = x; this[y$1] = y; ; @@ -28437,22 +30922,27 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), signMask: core.int })); - dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); + dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), x: dart.finalFieldType(core.double), y: dart.finalFieldType(core.double) })); + dart.setStaticFieldSignature(_native_typed_data.NativeFloat64x2, () => ['_list', '_uint32View']); dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat64x2, { /*_native_typed_data.NativeFloat64x2._list*/get _list() { return _native_typed_data.NativeFloat64List.new(2); }, - set _list(_) {}, + set _list(value) { + if (value == null) dart.nullFailed(I[60], 1679, 28, "_list"); + }, /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); }, - set _uint32View(_) {} + set _uint32View(value) { + if (value == null) dart.nullFailed(I[60], 1680, 21, "_uint32View"); + } }, false); _native_typed_data._checkLength = function _checkLength(length) { if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); @@ -28470,7 +30960,7 @@ define([], (function load__dart_sdk() { } }; _native_typed_data._ensureNativeList = function _ensureNativeList(list) { - if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (list == null) dart.nullFailed(I[60], 373, 29, "list"); if (_interceptors.JSIndexable.is(list)) return list; let result = core.List.filled(list[$length], null); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { @@ -28479,20 +30969,20 @@ define([], (function load__dart_sdk() { return result; }; _native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { - if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + if (index == null) dart.nullFailed(I[60], 1791, 31, "index"); return index >>> 0 !== index; }; _native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { - if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); - if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); - if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (index == null) dart.nullFailed(I[60], 1798, 27, "index"); + if (list == null) dart.nullFailed(I[60], 1798, 39, "list"); + if (length == null) dart.nullFailed(I[60], 1798, 49, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { dart.throw(_js_helper.diagnoseIndexError(list, index)); } }; _native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { - if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); - if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (start == null) dart.nullFailed(I[60], 1811, 26, "start"); + if (length == null) dart.nullFailed(I[60], 1811, 47, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { dart.throw(_js_helper.diagnoseRangeError(start, end, length)); } @@ -28510,27 +31000,31 @@ define([], (function load__dart_sdk() { var _fatal = dart.privateName(async, "_fatal"); const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); async._AsyncStarImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _AsyncStarImpl extends core.Object { get controller() { - let t83; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + let t72; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); } - set controller(t83) { - StreamControllerOfT().as(t83); - if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + set controller(controller$35param) { + __t$StreamControllerOfT().as(controller$35param); + if (controller$35param == null) dart.nullFailed(I[64], 224, 28, "controller#param"); this[___AsyncStarImpl_controller_isSet] = true; - this[___AsyncStarImpl_controller] = t83; + this[___AsyncStarImpl_controller] = controller$35param; } get jsIterator() { - let t84; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + let t72; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); } - set jsIterator(t84) { - if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + set jsIterator(jsIterator$35param) { + if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); this[___AsyncStarImpl_jsIterator_isSet] = true; - this[___AsyncStarImpl_jsIterator] = t84; + this[___AsyncStarImpl_jsIterator] = jsIterator$35param; + } + static ['_#new#tearOff'](T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); + return new (async._AsyncStarImpl$(T)).new(initGenerator); } get stream() { return this.controller.stream; @@ -28538,8 +31032,8 @@ define([], (function load__dart_sdk() { get handleError() { if (this[_handleErrorCallback] == null) { this[_handleErrorCallback] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[61], 282, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 277, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 277, 49, "stackTrace"); try { this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); } catch (e$) { @@ -28620,8 +31114,8 @@ define([], (function load__dart_sdk() { return false; } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[64], 397, 28, "stream"); if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); if (!dart.test(this.controller.hasListener)) return true; this.isSuspendedAtYieldStar = true; @@ -28634,8 +31128,8 @@ define([], (function load__dart_sdk() { return false; } addError(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 416, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 411, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 411, 42, "stackTrace"); core.ArgumentError.checkNotNull(core.Object, error, "error"); let completer = this.cancellationCompleter; if (completer != null && !dart.test(completer.isCompleted)) { @@ -28653,7 +31147,7 @@ define([], (function load__dart_sdk() { this.controller.close(); } onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); this.onListenReceived = true; this.scheduleGenerator(); } @@ -28675,12 +31169,12 @@ define([], (function load__dart_sdk() { return dart.nullCheck(this.cancellationCompleter).future; } [_fatal](message) { - if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + if (message == null) dart.nullFailed(I[64], 466, 17, "message"); return dart.throw(new core.StateError.new(message)); } } (_AsyncStarImpl.new = function(initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); this[___AsyncStarImpl_controller] = null; this[___AsyncStarImpl_controller_isSet] = false; this.isSuspendedAtYieldStar = false; @@ -28694,7 +31188,7 @@ define([], (function load__dart_sdk() { this[_handleErrorCallback] = null; this[_runBodyCallback] = null; this.initGenerator = initGenerator; - this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.controller = __t$StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); this.jsIterator = this.initGenerator(this)[Symbol.iterator](); }).prototype = _AsyncStarImpl.prototype; dart.addTypeTests(_AsyncStarImpl); @@ -28725,7 +31219,7 @@ define([], (function load__dart_sdk() { controller: dart.nullable(core.Object), jsIterator: core.Object })); - dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setLibraryUri(_AsyncStarImpl, I[31]); dart.setFieldSignature(_AsyncStarImpl, () => ({ __proto__: dart.getFields(_AsyncStarImpl.__proto__), [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -28761,8 +31255,12 @@ define([], (function load__dart_sdk() { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); + return new async.AsyncError.new(error, stackTrace); + } static defaultStackTrace(error) { - if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (error == null) dart.nullFailed(I[65], 24, 46, "error"); if (core.Error.is(error)) { let stackTrace = error[$stackTrace]; if (stackTrace != null) return stackTrace; @@ -28774,16 +31272,17 @@ define([], (function load__dart_sdk() { } }; (async.AsyncError.new = function(error, stackTrace) { - let t87; - if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + let t74; + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + this[stackTrace$] = (t74 = stackTrace, t74 == null ? async.AsyncError.defaultStackTrace(error) : t74); ; }).prototype = async.AsyncError.prototype; dart.addTypeTests(async.AsyncError); dart.addTypeCaches(async.AsyncError); async.AsyncError[dart.implements] = () => [core.Error]; - dart.setLibraryUri(async.AsyncError, I[29]); + dart.setStaticMethodSignature(async.AsyncError, () => ['defaultStackTrace']); + dart.setLibraryUri(async.AsyncError, I[31]); dart.setFieldSignature(async.AsyncError, () => ({ __proto__: dart.getFields(async.AsyncError.__proto__), error: dart.finalFieldType(core.Object), @@ -28797,7 +31296,7 @@ define([], (function load__dart_sdk() { var _onListen$ = dart.privateName(async, "_onListen"); const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); async._StreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); class _StreamImpl extends async.Stream$(T) { listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -28809,11 +31308,11 @@ define([], (function load__dart_sdk() { return subscription; } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); - return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[68], 479, 47, "cancelOnError"); + return new (__t$_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); } [_onListen$](subscription) { - if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + if (subscription == null) dart.nullFailed(I[68], 485, 37, "subscription"); } } (_StreamImpl.new = function() { @@ -28829,7 +31328,7 @@ define([], (function load__dart_sdk() { [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) })); - dart.setLibraryUri(_StreamImpl, I[29]); + dart.setLibraryUri(_StreamImpl, I[31]); return _StreamImpl; }); async._StreamImpl = async._StreamImpl$(); @@ -28837,8 +31336,12 @@ define([], (function load__dart_sdk() { const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); async._ControllerStream$ = dart.generic(T => { class _ControllerStream extends async._StreamImpl$(T) { + static ['_#new#tearOff'](T, _controller) { + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); + return new (async._ControllerStream$(T)).new(_controller); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 826, 51, "cancelOnError"); return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); } get hashCode() { @@ -28851,7 +31354,7 @@ define([], (function load__dart_sdk() { } } (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); this[_controller$] = _controller; _ControllerStream.__proto__.new.call(this); ; @@ -28859,7 +31362,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_ControllerStream); _ControllerStream.prototype[_is__ControllerStream_default] = true; dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[29]); + dart.setLibraryUri(_ControllerStream, I[31]); dart.setFieldSignature(_ControllerStream, () => ({ __proto__: dart.getFields(_ControllerStream.__proto__), [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) @@ -28873,19 +31376,23 @@ define([], (function load__dart_sdk() { const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); async._BroadcastStream$ = dart.generic(T => { class _BroadcastStream extends async._ControllerStream$(T) { + static ['_#new#tearOff'](T, controller) { + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); + return new (async._BroadcastStream$(T)).new(controller); + } get isBroadcast() { return true; } } (_BroadcastStream.new = function(controller) { - if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); _BroadcastStream.__proto__.new.call(this, controller); ; }).prototype = _BroadcastStream.prototype; dart.addTypeTests(_BroadcastStream); _BroadcastStream.prototype[_is__BroadcastStream_default] = true; dart.addTypeCaches(_BroadcastStream); - dart.setLibraryUri(_BroadcastStream, I[29]); + dart.setLibraryUri(_BroadcastStream, I[31]); return _BroadcastStream; }); async._BroadcastStream = async._BroadcastStream$(); @@ -28907,11 +31414,11 @@ define([], (function load__dart_sdk() { var _recordPause = dart.privateName(async, "_recordPause"); var _recordResume = dart.privateName(async, "_recordResume"); var _cancelFuture = dart.privateName(async, "_cancelFuture"); - var _pending$ = dart.privateName(async, "_pending"); + var _pending = dart.privateName(async, "_pending"); var _zone$ = dart.privateName(async, "_zone"); var _state = dart.privateName(async, "_state"); var _onData$ = dart.privateName(async, "_onData"); - var _onError = dart.privateName(async, "_onError"); + var _onError$ = dart.privateName(async, "_onError"); var _onDone$ = dart.privateName(async, "_onDone"); var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); var _isCanceled = dart.privateName(async, "_isCanceled"); @@ -28935,17 +31442,24 @@ define([], (function load__dart_sdk() { var _checkState = dart.privateName(async, "_checkState"); const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); async._BufferingStreamSubscription$ = dart.generic(T => { - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _BufferingStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).new(onData, onError, onDone, cancelOnError); + } + static ['_#zoned#tearOff'](T, _zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).zoned(_zone, onData, onError, onDone, cancelOnError); + } [_setPendingEvents](pendingEvents) { - _PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + __t$_PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); if (pendingEvents == null) return; - this[_pending$] = pendingEvents; + this[_pending] = pendingEvents; if (!dart.test(pendingEvents.isEmpty)) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; pendingEvents.schedule(this); @@ -28955,16 +31469,16 @@ define([], (function load__dart_sdk() { this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); } static _registerDataHandler(T, zone, handleData) { - let t87; - if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); - return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t74 = handleData, t74 == null ? C[38] || CT.C38 : t74)); } onError(handleError) { - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); } static _registerErrorHandler(zone, handleError) { - if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); - handleError == null ? handleError = C[38] || CT.C38 : null; + if (zone == null) dart.nullFailed(I[68], 141, 46, "zone"); + handleError == null ? handleError = C[39] || CT.C39 : null; if (T$.ObjectAndStackTraceTovoid().is(handleError)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); } @@ -28977,21 +31491,21 @@ define([], (function load__dart_sdk() { this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); } static _registerDoneHandler(zone, handleDone) { - let t87; - if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); - return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t74 = handleDone, t74 == null ? C[40] || CT.C40 : t74)); } pause(resumeSignal = null) { - let t87, t87$; + let t74, t74$; if (dart.test(this[_isCanceled])) return; let wasPaused = this[_isPaused]; let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; - t87 = resumeSignal; - t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + t74 = resumeSignal; + t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); if (!dart.test(wasPaused)) { - t87$ = this[_pending$]; - t87$ == null ? null : t87$.cancelSchedule(); + t74$ = this[_pending]; + t74$ == null ? null : t74$.cancelSchedule(); } if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); } @@ -29000,10 +31514,10 @@ define([], (function load__dart_sdk() { if (dart.test(this[_isPaused])) { this[_decrementPauseCount](); if (!dart.test(this[_isPaused])) { - if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { - dart.nullCheck(this[_pending$]).schedule(this); + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending]).isEmpty)) { + dart.nullCheck(this[_pending]).schedule(this); } else { - if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[68], 184, 18, "_mayResumeInput"); this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); } @@ -29011,13 +31525,13 @@ define([], (function load__dart_sdk() { } } cancel() { - let t87; + let t74; this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; if (!dart.test(this[_isCanceled])) { this[_cancel](); } - t87 = this[_cancelFuture]; - return t87 == null ? async.Future._nullFuture : t87; + t74 = this[_cancelFuture]; + return t74 == null ? async.Future._nullFuture : t74; } asFuture(E, futureValue = null) { let resultValue = null; @@ -29033,9 +31547,9 @@ define([], (function load__dart_sdk() { this[_onDone$] = dart.fn(() => { result[_complete](resultValue); }, T$.VoidTovoid()); - this[_onError] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[65], 218, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + this[_onError$] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 218, 42, "stackTrace"); let cancelFuture = this.cancel(); if (cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => { @@ -29072,8 +31586,8 @@ define([], (function load__dart_sdk() { return dart.notNull(this[_state]) < 32; } get [_mayResumeInput]() { - let t87, t87$; - return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + let t74, t74$; + return !dart.test(this[_isPaused]) && dart.test((t74$ = (t74 = this[_pending], t74 == null ? null : t74.isEmpty), t74$ == null ? true : t74$)); } get [_cancelOnError]() { return (dart.notNull(this[_state]) & 1) !== 0; @@ -29084,28 +31598,28 @@ define([], (function load__dart_sdk() { [_cancel]() { this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending$]).cancelSchedule(); + dart.nullCheck(this[_pending]).cancelSchedule(); } - if (!dart.test(this[_inCallback])) this[_pending$] = null; + if (!dart.test(this[_inCallback])) this[_pending] = null; this[_cancelFuture] = this[_onCancel](); } [_decrementPauseCount]() { - if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 261, 12, "_isPaused"); this[_state] = dart.notNull(this[_state]) - 128; } [_add](data) { T.as(data); - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 268, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendData](data); } else { - this[_addPending](new (_DelayedDataOfT()).new(data)); + this[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 277, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 277, 43, "stackTrace"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendError](error, stackTrace); @@ -29114,30 +31628,29 @@ define([], (function load__dart_sdk() { } } [_close]() { - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 287, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; if (dart.test(this[_canFire])) { this[_sendDone](); } else { - this[_addPending](C[40] || CT.C40); + this[_addPending](C[41] || CT.C41); } } [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); } [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); } [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); return null; } [_addPending](event) { - if (event == null) dart.nullFailed(I[65], 320, 34, "event"); - let pending = _StreamImplEventsNOfT().as(this[_pending$]); - pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; - this[_pending$] = pending; + let t74; + if (event == null) dart.nullFailed(I[68], 320, 34, "event"); + let pending = (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74); pending.add(event); if (!dart.test(this[_hasPending])) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; @@ -29147,9 +31660,9 @@ define([], (function load__dart_sdk() { } } [_sendData](data) { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 334, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 335, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 336, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; this[_zone$].runUnaryGuarded(T, this[_onData$], data); @@ -29157,20 +31670,20 @@ define([], (function load__dart_sdk() { this[_checkState](wasInputPaused); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 346, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + if (error == null) dart.nullFailed(I[68], 344, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 344, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 345, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 346, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 347, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; const sendError = () => { if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; - let onError = this[_onError]; + let onError = this[_onError$]; if (T$.ObjectAndStackTraceTovoid().is(onError)) { this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); } else { - this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError$]), error); } this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; }; @@ -29190,9 +31703,9 @@ define([], (function load__dart_sdk() { } } [_sendDone]() { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 383, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 384, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 385, 12, "!_inCallback"); const sendDone = () => { if (!dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; @@ -29210,8 +31723,8 @@ define([], (function load__dart_sdk() { } } [_guardCallback](callback) { - if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + if (callback == null) dart.nullFailed(I[68], 411, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 412, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; callback(); @@ -29219,9 +31732,9 @@ define([], (function load__dart_sdk() { this[_checkState](wasInputPaused); } [_checkState](wasInputPaused) { - if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); - if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + if (wasInputPaused == null) dart.nullFailed(I[68], 428, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 429, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending]).isEmpty)) { this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; @@ -29229,7 +31742,7 @@ define([], (function load__dart_sdk() { } while (true) { if (dart.test(this[_isCanceled])) { - this[_pending$] = null; + this[_pending] = null; return; } let isInputPaused = this[_isInputPaused]; @@ -29244,23 +31757,23 @@ define([], (function load__dart_sdk() { wasInputPaused = isInputPaused; } if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending$]).schedule(this); + dart.nullCheck(this[_pending]).schedule(this); } } } (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); }).prototype = _BufferingStreamSubscription.prototype; (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { - if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); this[_cancelFuture] = null; - this[_pending$] = null; + this[_pending] = null; this[_zone$] = _zone; this[_state] = dart.test(cancelOnError) ? 1 : 0; this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); ; }).prototype = _BufferingStreamSubscription.prototype; @@ -29294,6 +31807,7 @@ define([], (function load__dart_sdk() { [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), [_checkState]: dart.fnType(dart.void, [core.bool]) })); + dart.setStaticMethodSignature(_BufferingStreamSubscription, () => ['_registerDataHandler', '_registerErrorHandler', '_registerDoneHandler']); dart.setGetterSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), [_isInputPaused]: core.bool, @@ -29308,17 +31822,18 @@ define([], (function load__dart_sdk() { [_cancelOnError]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setLibraryUri(_BufferingStreamSubscription, I[31]); dart.setFieldSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), - [_onError]: dart.fieldType(core.Function), + [_onError$]: dart.fieldType(core.Function), [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), - [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); + dart.setStaticFieldSignature(_BufferingStreamSubscription, () => ['_STATE_CANCEL_ON_ERROR', '_STATE_CLOSED', '_STATE_INPUT_PAUSED', '_STATE_CANCELED', '_STATE_WAIT_FOR_CANCEL', '_STATE_IN_CALLBACK', '_STATE_HAS_PENDING', '_STATE_PAUSE_COUNT']); return _BufferingStreamSubscription; }); async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); @@ -29352,6 +31867,11 @@ define([], (function load__dart_sdk() { const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); async._ControllerSubscription$ = dart.generic(T => { class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](T, _controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); + return new (async._ControllerSubscription$(T)).new(_controller, onData, onError, onDone, cancelOnError); + } [_onCancel]() { return this[_controller$][_recordCancel](this); } @@ -29363,8 +31883,8 @@ define([], (function load__dart_sdk() { } } (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { - if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); - if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); this[_controller$] = _controller; _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); ; @@ -29372,7 +31892,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_ControllerSubscription); _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setLibraryUri(_ControllerSubscription, I[31]); dart.setFieldSignature(_ControllerSubscription, () => ({ __proto__: dart.getFields(_ControllerSubscription.__proto__), [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) @@ -29383,23 +31903,28 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); async._BroadcastSubscription$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BroadcastSubscriptionNOfT = () => (__t$_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(__t$_BroadcastSubscriptionOfT())))(); class _BroadcastSubscription extends async._ControllerSubscription$(T) { get [_next$1]() { return this[_next$0]; } set [_next$1](value) { - this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + this[_next$0] = __t$_BroadcastSubscriptionNOfT().as(value); } get [_previous$1]() { return this[_previous$0]; } set [_previous$1](value) { - this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + this[_previous$0] = __t$_BroadcastSubscriptionNOfT().as(value); + } + static ['_#new#tearOff'](T, controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); + return new (async._BroadcastSubscription$(T)).new(controller, onData, onError, onDone, cancelOnError); } [_expectsEvent](eventId) { - if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + if (eventId == null) dart.nullFailed(I[66], 36, 26, "eventId"); return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; } [_toggleEventId]() { @@ -29409,7 +31934,7 @@ define([], (function load__dart_sdk() { return (dart.notNull(this[_eventState]) & 2) !== 0; } [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; } get [_removeAfterFiring]() { @@ -29421,8 +31946,8 @@ define([], (function load__dart_sdk() { } } (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { - if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); - if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); this[_eventState] = 0; this[_next$0] = null; this[_previous$0] = null; @@ -29443,13 +31968,14 @@ define([], (function load__dart_sdk() { [_isFiring]: core.bool, [_removeAfterFiring]: core.bool })); - dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setLibraryUri(_BroadcastSubscription, I[31]); dart.setFieldSignature(_BroadcastSubscription, () => ({ __proto__: dart.getFields(_BroadcastSubscription.__proto__), [_eventState]: dart.fieldType(core.int), [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) })); + dart.setStaticFieldSignature(_BroadcastSubscription, () => ['_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_REMOVE_AFTER_FIRING']); return _BroadcastSubscription; }); async._BroadcastSubscription = async._BroadcastSubscription$(); @@ -29483,12 +32009,12 @@ define([], (function load__dart_sdk() { var _asyncComplete = dart.privateName(async, "_asyncComplete"); const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); async._BroadcastStreamController$ = dart.generic(T => { - var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + var __t$_BroadcastStreamOfT = () => (__t$_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_AddStreamStateOfT = () => (__t$_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); class _BroadcastStreamController extends core.Object { get onPause() { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); @@ -29503,10 +32029,10 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); } get stream() { - return new (_BroadcastStreamOfT()).new(this); + return new (__t$_BroadcastStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get isClosed() { return (dart.notNull(this[_state]) & 4) !== 0; @@ -29518,7 +32044,7 @@ define([], (function load__dart_sdk() { return !dart.test(this[_isEmpty]); } get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); return this[_firstSubscription] == this[_lastSubscription]; } get [_isFiring]() { @@ -29531,16 +32057,16 @@ define([], (function load__dart_sdk() { return dart.notNull(this[_state]) < 4; } [_ensureDoneFuture]() { - let t87; - t87 = this[_doneFuture]; - return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + let t74; + t74 = this[_doneFuture]; + return t74 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t74; } get [_isEmpty]() { return this[_firstSubscription] == null; } [_addListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); - if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[66], 160, 12, "identical(subscription._next, subscription)"); subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; let oldLast = this[_lastSubscription]; this[_lastSubscription] = subscription; @@ -29553,9 +32079,9 @@ define([], (function load__dart_sdk() { } } [_removeListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); - if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); - if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[66], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[66], 176, 12, "!identical(subscription._next, subscription)"); let previous = subscription[_previous$1]; let next = subscription[_next$1]; if (previous == null) { @@ -29571,11 +32097,11 @@ define([], (function load__dart_sdk() { subscription[_next$1] = subscription[_previous$1] = subscription; } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); if (dart.test(this.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); this[_addListener](subscription); if (this[_firstSubscription] == this[_lastSubscription]) { async._runGuarded(this.onListen); @@ -29583,8 +32109,8 @@ define([], (function load__dart_sdk() { return subscription; } [_recordCancel](sub) { - if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); - let subscription = _BroadcastSubscriptionOfT().as(sub); + if (sub == null) dart.nullFailed(I[66], 212, 53, "sub"); + let subscription = __t$_BroadcastSubscriptionOfT().as(sub); if (subscription[_next$1] == subscription) return null; if (dart.test(subscription[_isFiring])) { subscription[_setRemoveAfterFiring](); @@ -29597,16 +32123,16 @@ define([], (function load__dart_sdk() { return null; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 230, 44, "subscription"); } [_addEventError]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add new events after calling close"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 238, 12, "_isAddingStream"); return new core.StateError.new("Cannot add new events while doing an addStream"); } add(data) { @@ -29615,7 +32141,7 @@ define([], (function load__dart_sdk() { this[_sendData](data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + if (error == null) dart.nullFailed(I[66], 247, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -29625,12 +32151,11 @@ define([], (function load__dart_sdk() { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_sendError](error, stackTrace); } close() { if (dart.test(this.isClosed)) { - if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[66], 262, 14, "_doneFuture != null"); return dart.nullCheck(this[_doneFuture]); } if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); @@ -29643,13 +32168,13 @@ define([], (function load__dart_sdk() { return this[_ensureDoneFuture](); } addStream(stream, opts) { - let t87; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let t74; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[66], 274, 30, "stream"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + let addStreamState = new (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); this[_addStreamState] = addStreamState; return addStreamState.addStreamFuture; } @@ -29657,20 +32182,20 @@ define([], (function load__dart_sdk() { this[_sendData](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 289, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 288, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 288, 43, "stackTrace"); this[_sendError](error, stackTrace); } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 293, 12, "_isAddingStream"); let addState = dart.nullCheck(this[_addStreamState]); this[_addStreamState] = null; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_forEachListener](action) { - let t87, t87$; - if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + let t74, t74$; + if (action == null) dart.nullFailed(I[66], 302, 12, "action"); if (dart.test(this[_isFiring])) { dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); } @@ -29680,16 +32205,16 @@ define([], (function load__dart_sdk() { let subscription = this[_firstSubscription]; while (subscription != null) { if (dart.test(subscription[_expectsEvent](id))) { - t87 = subscription; - t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + t74 = subscription; + t74[_eventState] = (dart.notNull(t74[_eventState]) | 2) >>> 0; action(subscription); subscription[_toggleEventId](); let next = subscription[_next$1]; if (dart.test(subscription[_removeAfterFiring])) { this[_removeListener](subscription); } - t87$ = subscription; - t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + t74$ = subscription; + t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; subscription = next; } else { subscription = subscription[_next$1]; @@ -29701,7 +32226,7 @@ define([], (function load__dart_sdk() { } } [_callOnCancel]() { - if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 342, 12, "_isEmpty"); if (dart.test(this.isClosed)) { let doneFuture = dart.nullCheck(this[_doneFuture]); if (dart.test(doneFuture[_mayComplete])) { @@ -29766,7 +32291,7 @@ define([], (function load__dart_sdk() { onPause: dart.nullable(dart.fnType(dart.void, [])), onResume: dart.nullable(dart.fnType(dart.void, [])) })); - dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setLibraryUri(_BroadcastStreamController, I[31]); dart.setFieldSignature(_BroadcastStreamController, () => ({ __proto__: dart.getFields(_BroadcastStreamController.__proto__), onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), @@ -29777,6 +32302,7 @@ define([], (function load__dart_sdk() { [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) })); + dart.setStaticFieldSignature(_BroadcastStreamController, () => ['_STATE_INITIAL', '_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _BroadcastStreamController; }); async._BroadcastStreamController = async._BroadcastStreamController$(); @@ -29800,10 +32326,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); async._SyncBroadcastStreamController$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfTTovoid = () => (__t$_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$_BufferingStreamSubscriptionOfT()])))(); class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_mayAddEvent]() { return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); } @@ -29817,7 +32346,7 @@ define([], (function load__dart_sdk() { if (dart.test(this[_isEmpty])) return; if (dart.test(this[_hasOneListener])) { this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); firstSubscription[_add](data); this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; if (dart.test(this[_isEmpty])) { @@ -29826,27 +32355,27 @@ define([], (function load__dart_sdk() { return; } this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); subscription[_add](data); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 390, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 389, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 389, 44, "stackTrace"); if (dart.test(this[_isEmpty])) return; this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 391, 55, "subscription"); subscription[_addError](error, stackTrace); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendDone]() { if (!dart.test(this[_isEmpty])) { this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); subscription[_close](); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 402, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29865,23 +32394,26 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_SyncBroadcastStreamController, I[31]); return _SyncBroadcastStreamController; }); async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); async._AsyncBroadcastStreamController$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } [_sendData](data) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](new (_DelayedDataOfT()).new(data)); + subscription[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 423, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 422, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 422, 44, "stackTrace"); for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { subscription[_addPending](new async._DelayedError.new(error, stackTrace)); } @@ -29889,10 +32421,10 @@ define([], (function load__dart_sdk() { [_sendDone]() { if (!dart.test(this[_isEmpty])) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[40] || CT.C40); + subscription[_addPending](C[41] || CT.C41); } } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 438, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29910,7 +32442,7 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); return _AsyncBroadcastStreamController; }); async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); @@ -29919,29 +32451,32 @@ define([], (function load__dart_sdk() { var _flushPending = dart.privateName(async, "_flushPending"); const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); async._AsBroadcastStreamController$ = dart.generic(T => { - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_hasPending]() { - let pending = this[_pending$]; + let pending = this[_pending]; return pending != null && !dart.test(pending.isEmpty); } [_addPendingEvent](event) { - let t87; - if (event == null) dart.nullFailed(I[63], 466, 39, "event"); - (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + let t74; + if (event == null) dart.nullFailed(I[66], 465, 39, "event"); + (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74).add(event); } add(data) { T.as(data); if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + this[_addPendingEvent](new (__t$_DelayedDataOfT()).new(data)); return; } super.add(data); this[_flushPending](); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + if (error == null) dart.nullFailed(I[66], 478, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { @@ -29953,33 +32488,34 @@ define([], (function load__dart_sdk() { this[_flushPending](); } [_flushPending]() { - let pending = this[_pending$]; - while (pending != null && !dart.test(pending.isEmpty)) { - pending.handleNext(this); - pending = this[_pending$]; + let pending = this[_pending]; + if (pending != null) { + while (!dart.test(pending.isEmpty)) { + pending.handleNext(this); + } } } close() { if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](C[40] || CT.C40); + this[_addPendingEvent](C[41] || CT.C41); this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; return super.done; } let result = super.close(); - if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[66], 506, 12, "!_hasPending"); return result; } [_callOnCancel]() { - let pending = this[_pending$]; + let pending = this[_pending]; if (pending != null) { pending.clear(); - this[_pending$] = null; + this[_pending] = null; } super[_callOnCancel](); } } (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending$] = null; + this[_pending] = null; _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); ; }).prototype = _AsBroadcastStreamController.prototype; @@ -29996,10 +32532,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), [_hasPending]: core.bool })); - dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsBroadcastStreamController, I[31]); dart.setFieldSignature(_AsBroadcastStreamController, () => ({ __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); return _AsBroadcastStreamController; }); @@ -30020,12 +32556,17 @@ define([], (function load__dart_sdk() { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new async.DeferredLibrary.new(libraryName, {uri: uri}); + } load() { dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); } }; (async.DeferredLibrary.new = function(libraryName, opts) { - if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); let uri = opts && 'uri' in opts ? opts.uri : null; this[libraryName$] = libraryName; this[uri$] = uri; @@ -30037,7 +32578,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(async.DeferredLibrary.__proto__), load: dart.fnType(async.Future$(core.Null), []) })); - dart.setLibraryUri(async.DeferredLibrary, I[29]); + dart.setLibraryUri(async.DeferredLibrary, I[31]); dart.setFieldSignature(async.DeferredLibrary, () => ({ __proto__: dart.getFields(async.DeferredLibrary.__proto__), libraryName: dart.finalFieldType(core.String), @@ -30045,19 +32586,23 @@ define([], (function load__dart_sdk() { })); var _s = dart.privateName(async, "_s"); async.DeferredLoadException = class DeferredLoadException extends core.Object { + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); + return new async.DeferredLoadException.new(message); + } toString() { return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; } }; (async.DeferredLoadException.new = function(message) { - if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); this[_s] = message; ; }).prototype = async.DeferredLoadException.prototype; dart.addTypeTests(async.DeferredLoadException); dart.addTypeCaches(async.DeferredLoadException); async.DeferredLoadException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(async.DeferredLoadException, I[29]); + dart.setLibraryUri(async.DeferredLoadException, I[31]); dart.setFieldSignature(async.DeferredLoadException, () => ({ __proto__: dart.getFields(async.DeferredLoadException.__proto__), [_s]: dart.finalFieldType(core.String) @@ -30069,7 +32614,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); }).prototype = FutureOr.prototype; dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[29]); + dart.setLibraryUri(FutureOr, I[31]); return FutureOr; }); async.FutureOr = async.FutureOr$(); @@ -30078,7 +32623,7 @@ define([], (function load__dart_sdk() { async.Future$ = dart.generic(T => { class Future extends core.Object { static new(computation) { - if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); let result = new (async._Future$(T)).new(); async.Timer.run(dart.fn(() => { try { @@ -30094,8 +32639,12 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); return result; } + static ['_#new#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); + return async.Future$(T).new(computation); + } static microtask(computation) { - if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); let result = new (async._Future$(T)).new(); async.scheduleMicrotask(dart.fn(() => { try { @@ -30111,8 +32660,12 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); return result; } + static ['_#microtask#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); + return async.Future$(T).microtask(computation); + } static sync(computation) { - if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); try { let result = computation(); if (async.Future$(T).is(result)) { @@ -30136,11 +32689,18 @@ define([], (function load__dart_sdk() { throw e; } } + static ['_#sync#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); + return async.Future$(T).sync(computation); + } static value(value = null) { return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); } + static ['_#value#tearOff'](T, value = null) { + return async.Future$(T).value(value); + } static error(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (async.Zone.current != async._rootZone) { let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30152,8 +32712,12 @@ define([], (function load__dart_sdk() { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; return new (async._Future$(T)).immediateError(error, stackTrace); } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); + return async.Future$(T).error(error, stackTrace); + } static delayed(duration, computation = null) { - if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); } @@ -30176,11 +32740,15 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); return result; } + static ['_#delayed#tearOff'](T, duration, computation = null) { + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); + return async.Future$(T).delayed(duration, computation); + } static wait(T, futures, opts) { - let t101; - if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let t86; + if (futures == null) dart.nullFailed(I[70], 479, 54, "futures"); let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; - if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + if (eagerError == null) dart.nullFailed(I[70], 480, 13, "eagerError"); let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; let _future = new (async._Future$(core.List$(T))).new(); let values = null; @@ -30190,28 +32758,24 @@ define([], (function load__dart_sdk() { function error$35get() { return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); } - dart.fn(error$35get, T$.VoidToObject()); - function error$35set(t94) { - if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + function error$35set(error$35param) { + if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); error$35isSet = true; - return error = t94; + return error = error$35param; } - dart.fn(error$35set, T$.ObjectTodynamic()); let stackTrace = null; let stackTrace$35isSet = false; function stackTrace$35get() { return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); } - dart.fn(stackTrace$35get, T$.VoidToStackTrace()); - function stackTrace$35set(t99) { - if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + function stackTrace$35set(stackTrace$35param) { + if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); stackTrace$35isSet = true; - return stackTrace = t99; + return stackTrace = stackTrace$35param; } - dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); function handleError(theError, theStackTrace) { - if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); - if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + if (theError == null) dart.nullFailed(I[70], 490, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[70], 490, 50, "theStackTrace"); remaining = remaining - 1; let valueList = values; if (valueList != null) { @@ -30262,10 +32826,10 @@ define([], (function load__dart_sdk() { remaining = remaining + 1; } if (remaining === 0) { - t101 = _future; + t86 = _future; return (() => { - t101[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t101; + t86[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t86; })(); } values = core.List$(dart.nullable(T)).filled(remaining, null); @@ -30285,15 +32849,15 @@ define([], (function load__dart_sdk() { return _future; } static any(T, futures) { - if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + if (futures == null) dart.nullFailed(I[70], 610, 47, "futures"); let completer = async.Completer$(T).sync(); function onValue(value) { if (!dart.test(completer.isCompleted)) completer.complete(value); } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[67], 465, 25, "error"); - if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (error == null) dart.nullFailed(I[70], 616, 25, "error"); + if (stack == null) dart.nullFailed(I[70], 616, 43, "stack"); if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); } dart.fn(onError, T$.ObjectAndStackTraceTovoid()); @@ -30303,13 +32867,13 @@ define([], (function load__dart_sdk() { return completer.future; } static forEach(T, elements, action) { - if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); - if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + if (elements == null) dart.nullFailed(I[70], 642, 40, "elements"); + if (action == null) dart.nullFailed(I[70], 642, 59, "action"); let iterator = elements[$iterator]; return async.Future.doWhile(dart.fn(() => { if (!dart.test(iterator.moveNext())) return false; let result = action(iterator.current); - if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + if (async.Future.is(result)) return result.then(core.bool, C[42] || CT.C42); return true; }, T$.VoidToFutureOrOfbool())); } @@ -30317,22 +32881,20 @@ define([], (function load__dart_sdk() { return true; } static doWhile(action) { - if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + if (action == null) dart.nullFailed(I[70], 692, 40, "action"); let doneSignal = new (T$._FutureOfvoid()).new(); let nextIteration = null; let nextIteration$35isSet = false; function nextIteration$35get() { return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); } - dart.fn(nextIteration$35get, T$.VoidToFn()); - function nextIteration$35set(t105) { - if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + function nextIteration$35set(nextIteration$35param) { + if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); nextIteration$35isSet = true; - return nextIteration = t105; + return nextIteration = nextIteration$35param; } - dart.fn(nextIteration$35set, T$.FnTodynamic()); nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); while (dart.test(keepGoing)) { let result = null; try { @@ -30363,7 +32925,9 @@ define([], (function load__dart_sdk() { dart.addTypeTests(Future); Future.prototype[dart.isFuture] = true; dart.addTypeCaches(Future); - dart.setLibraryUri(Future, I[29]); + dart.setStaticMethodSignature(Future, () => ['new', 'microtask', 'sync', 'value', 'error', 'delayed', 'wait', 'any', 'forEach', '_kTrue', 'doWhile']); + dart.setLibraryUri(Future, I[31]); + dart.setStaticFieldSignature(Future, () => ['_nullFuture', '_falseFuture']); return Future; }); async.Future = async.Future$(); @@ -30391,6 +32955,9 @@ define([], (function load__dart_sdk() { set duration(value) { super.duration = value; } + static ['_#new#tearOff'](message, duration = null) { + return new async.TimeoutException.new(message, duration); + } toString() { let result = "TimeoutException"; if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); @@ -30406,7 +32973,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async.TimeoutException); dart.addTypeCaches(async.TimeoutException); async.TimeoutException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(async.TimeoutException, I[29]); + dart.setLibraryUri(async.TimeoutException, I[31]); dart.setFieldSignature(async.TimeoutException, () => ({ __proto__: dart.getFields(async.TimeoutException.__proto__), message: dart.finalFieldType(dart.nullable(core.String)), @@ -30419,26 +32986,33 @@ define([], (function load__dart_sdk() { static new() { return new (async._AsyncCompleter$(T)).new(); } + static ['_#new#tearOff'](T) { + return async.Completer$(T).new(); + } static sync() { return new (async._SyncCompleter$(T)).new(); } + static ['_#sync#tearOff'](T) { + return async.Completer$(T).sync(); + } } (Completer[dart.mixinNew] = function() { }).prototype = Completer.prototype; dart.addTypeTests(Completer); Completer.prototype[_is_Completer_default] = true; dart.addTypeCaches(Completer); - dart.setLibraryUri(Completer, I[29]); + dart.setStaticMethodSignature(Completer, () => ['new', 'sync']); + dart.setLibraryUri(Completer, I[31]); return Completer; }); async.Completer = async.Completer$(); dart.addTypeTests(async.Completer, _is_Completer_default); const _is__Completer_default = Symbol('_is__Completer_default'); async._Completer$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); class _Completer extends core.Object { completeError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + if (error == null) dart.nullFailed(I[71], 12, 29, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30448,7 +33022,6 @@ define([], (function load__dart_sdk() { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_completeError](error, stackTrace); } get isCompleted() { @@ -30456,7 +33029,7 @@ define([], (function load__dart_sdk() { } } (_Completer.new = function() { - this.future = new (_FutureOfT()).new(); + this.future = new (__t$_FutureOfT()).new(); ; }).prototype = _Completer.prototype; dart.addTypeTests(_Completer); @@ -30471,7 +33044,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_Completer.__proto__), isCompleted: core.bool })); - dart.setLibraryUri(_Completer, I[29]); + dart.setLibraryUri(_Completer, I[31]); dart.setFieldSignature(_Completer, () => ({ __proto__: dart.getFields(_Completer.__proto__), future: dart.finalFieldType(async._Future$(T)) @@ -30482,19 +33055,22 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._Completer, _is__Completer_default); const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); async._AsyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _AsyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 49, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 39, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 39, 48, "stackTrace"); this.future[_asyncCompleteError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._AsyncCompleter$(T)).new(); + } } (_AsyncCompleter.new = function() { _AsyncCompleter.__proto__.new.call(this); @@ -30508,26 +33084,29 @@ define([], (function load__dart_sdk() { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_AsyncCompleter, I[29]); + dart.setLibraryUri(_AsyncCompleter, I[31]); return _AsyncCompleter; }); async._AsyncCompleter = async._AsyncCompleter$(); dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); async._SyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _SyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 60, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 50, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 50, 48, "stackTrace"); this.future[_completeError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._SyncCompleter$(T)).new(); + } } (_SyncCompleter.new = function() { _SyncCompleter.__proto__.new.call(this); @@ -30541,7 +33120,7 @@ define([], (function load__dart_sdk() { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_SyncCompleter, I[29]); + dart.setLibraryUri(_SyncCompleter, I[31]); return _SyncCompleter; }); async._SyncCompleter = async._SyncCompleter$(); @@ -30552,10 +33131,28 @@ define([], (function load__dart_sdk() { var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); const _is__FutureListener_default = Symbol('_is__FutureListener_default'); async._FutureListener$ = dart.generic((S, T) => { - var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); class _FutureListener extends core.Object { + static ['_#then#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); + return new (async._FutureListener$(S, T)).then(result, onValue, errorCallback); + } + static ['_#thenAwait#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); + return new (async._FutureListener$(S, T)).thenAwait(result, onValue, errorCallback); + } + static ['_#catchError#tearOff'](S, T, result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); + return new (async._FutureListener$(S, T)).catchError(result, errorCallback, callback); + } + static ['_#whenComplete#tearOff'](S, T, result, callback) { + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); + return new (async._FutureListener$(S, T)).whenComplete(result, callback); + } get [_zone$]() { return this.result[_zone$]; } @@ -30571,59 +33168,69 @@ define([], (function load__dart_sdk() { get handlesComplete() { return (dart.notNull(this.state) & 15) >>> 0 === 8; } - get isAwait() { - return (dart.notNull(this.state) & 16) !== 0; - } get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); - return SToFutureOrOfT().as(this.callback); + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); + return this.callback; } - get [_onError]() { + get [_onError$]() { return this.errorCallback; } get [_errorTest]() { - if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); - return T$.ObjectTobool().as(this.callback); + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[71], 127, 12, "hasErrorTest"); + return this.callback; } get [_whenCompleteAction]() { - if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); - return T$.VoidTodynamic().as(this.callback); + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[71], 132, 12, "handlesComplete"); + return this.callback; } get hasErrorCallback() { - if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); - return this[_onError] != null; + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 140, 12, "handlesError"); + return this[_onError$] != null; } handleValue(sourceResult) { S.as(sourceResult); - return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + return this[_zone$].runUnary(__t$FutureOrOfT(), S, this[_onValue], sourceResult); } matchesErrorTest(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (asyncError == null) dart.nullFailed(I[71], 150, 36, "asyncError"); if (!dart.test(this.hasErrorTest)) return true; return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); } handleError(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); - if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + if (asyncError == null) dart.nullFailed(I[71], 155, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[71], 156, 12, "handlesError && hasErrorCallback"); let errorCallback = this.errorCallback; + let result = null; if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { - return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); } else { - return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + result = this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error); + } + try { + return __t$FutureOrOfT().as(result); + } catch (e) { + let ex = dart.getThrown(e); + if (core.TypeError.is(ex)) { + if (dart.test(this.handlesValue)) { + dart.throw(new core.ArgumentError.new("The error handler of Future.then" + " must return a value of the returned future's type", "onError")); + } + dart.throw(new core.ArgumentError.new("The error handler of " + "Future.catchError must return a value of the future's type", "onError")); + } else + throw e; } } handleWhenComplete() { - if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 189, 12, "!handlesError"); return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); } shouldChain(value) { - if (value == null) dart.nullFailed(I[68], 185, 36, "value"); - return FutureOfT().is(value) || !T.is(value); + if (value == null) dart.nullFailed(I[71], 196, 36, "value"); + return __t$FutureOfT().is(value) || !T.is(value); } } (_FutureListener.then = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 100, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); this[_nextListener] = null; this.result = result; this.callback = onValue; @@ -30632,18 +33239,18 @@ define([], (function load__dart_sdk() { ; }).prototype = _FutureListener.prototype; (_FutureListener.thenAwait = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 106, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); - if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); this[_nextListener] = null; this.result = result; this.callback = onValue; this.errorCallback = errorCallback; - this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + this.state = 3; ; }).prototype = _FutureListener.prototype; (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); this[_nextListener] = null; this.result = result; this.errorCallback = errorCallback; @@ -30652,7 +33259,7 @@ define([], (function load__dart_sdk() { ; }).prototype = _FutureListener.prototype; (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); this[_nextListener] = null; this.result = result; this.callback = callback; @@ -30678,14 +33285,13 @@ define([], (function load__dart_sdk() { handlesError: core.bool, hasErrorTest: core.bool, handlesComplete: core.bool, - isAwait: core.bool, [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError]: dart.nullable(core.Function), + [_onError$]: dart.nullable(core.Function), [_errorTest]: dart.fnType(core.bool, [core.Object]), [_whenCompleteAction]: dart.fnType(dart.dynamic, []), hasErrorCallback: core.bool })); - dart.setLibraryUri(_FutureListener, I[29]); + dart.setLibraryUri(_FutureListener, I[31]); dart.setFieldSignature(_FutureListener, () => ({ __proto__: dart.getFields(_FutureListener.__proto__), [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), @@ -30694,6 +33300,7 @@ define([], (function load__dart_sdk() { callback: dart.finalFieldType(dart.nullable(core.Function)), errorCallback: dart.finalFieldType(dart.nullable(core.Function)) })); + dart.setStaticFieldSignature(_FutureListener, () => ['maskValue', 'maskError', 'maskTestError', 'maskWhenComplete', 'stateChain', 'stateThen', 'stateThenOnerror', 'stateCatchError', 'stateCatchErrorTest', 'stateWhenComplete', 'maskType']); return _FutureListener; }); async._FutureListener = async._FutureListener$(); @@ -30730,9 +33337,6 @@ define([], (function load__dart_sdk() { }, /*async._FutureListener.maskType*/get maskType() { return 15; - }, - /*async._FutureListener.stateIsAwait*/get stateIsAwait() { - return 16; } }, false); dart.addTypeTests(async._FutureListener, _is__FutureListener_default); @@ -30743,7 +33347,9 @@ define([], (function load__dart_sdk() { var _isChained = dart.privateName(async, "_isChained"); var _isComplete = dart.privateName(async, "_isComplete"); var _hasError = dart.privateName(async, "_hasError"); + var _ignoreError = dart.privateName(async, "_ignoreError"); var _setChained = dart.privateName(async, "_setChained"); + var _ignore = dart.privateName(async, "_ignore"); var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); var _error = dart.privateName(async, "_error"); @@ -30756,65 +33362,72 @@ define([], (function load__dart_sdk() { var _removeListeners = dart.privateName(async, "_removeListeners"); var _chainFuture = dart.privateName(async, "_chainFuture"); var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); + var _asyncCompleteUnchecked = dart.privateName(async, "_asyncCompleteUnchecked"); + var _asyncCompleteUncheckedNoFuture = dart.privateName(async, "_asyncCompleteUncheckedNoFuture"); const _is__Future_default = Symbol('_is__Future_default'); async._Future$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); - var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); - var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureListenerOfT$T = () => (__t$_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$VoidToFutureOrOfT = () => (__t$VoidToFutureOrOfT = dart.constFn(dart.fnType(__t$FutureOrOfT(), [])))(); + var __t$VoidToNFutureOrOfT = () => (__t$VoidToNFutureOrOfT = dart.constFn(dart.nullable(__t$VoidToFutureOrOfT())))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); class _Future extends core.Object { + static ['_#new#tearOff'](T) { + return new (async._Future$(T)).new(); + } + static ['_#immediate#tearOff'](T, result) { + return new (async._Future$(T)).immediate(result); + } + static ['_#zoneValue#tearOff'](T, value, _zone) { + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); + return new (async._Future$(T)).zoneValue(value, _zone); + } + static ['_#immediateError#tearOff'](T, error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static ['_#value#tearOff'](T, value) { + return new (async._Future$(T)).value(value); + } get [_mayComplete]() { - return this[_state] === 0; + return (dart.notNull(this[_state]) & 30) >>> 0 === 0; } get [_isPendingComplete]() { - return this[_state] === 1; + return (dart.notNull(this[_state]) & 2) !== 0; } get [_mayAddListener]() { - return dart.notNull(this[_state]) <= 1; + return dart.notNull(this[_state]) <= (2 | 1) >>> 0; } get [_isChained]() { - return this[_state] === 2; + return (dart.notNull(this[_state]) & 4) !== 0; } get [_isComplete]() { - return dart.notNull(this[_state]) >= 4; + return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; } get [_hasError]() { - return this[_state] === 8; + return (dart.notNull(this[_state]) & 16) !== 0; } - static _continuationFunctions(future) { - let t108; - if (future == null) dart.nullFailed(I[68], 263, 65, "future"); - let result = null; - while (true) { - if (dart.test(future[_mayAddListener])) return result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); - if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); - let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); - if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { - (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); - future = listener.result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); - } else { - break; - } - } - return result; + get [_ignoreError]() { + return (dart.notNull(this[_state]) & 1) !== 0; } [_setChained](source) { - if (source == null) dart.nullFailed(I[68], 284, 28, "source"); - if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); - this[_state] = 2; + if (source == null) dart.nullFailed(I[71], 296, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[71], 297, 12, "_mayAddListener"); + this[_state] = (4 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source; } then(R, f, opts) { - if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + if (f == null) dart.nullFailed(I[71], 302, 33, "f"); let onError = opts && 'onError' in opts ? opts.onError : null; let currentZone = async.Zone.current; - if (currentZone != async._rootZone) { + if (currentZone == async._rootZone) { + if (onError != null && !T$.ObjectAndStackTraceTodynamic().is(onError) && !T$.ObjectTodynamic().is(onError)) { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); + } + } else { f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); if (onError != null) { onError = async._registerErrorHandler(onError, currentZone); @@ -30825,78 +33438,81 @@ define([], (function load__dart_sdk() { return result; } [_thenAwait](E, f, onError) { - if (f == null) dart.nullFailed(I[68], 312, 39, "f"); - if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + if (f == null) dart.nullFailed(I[71], 332, 39, "f"); + if (onError == null) dart.nullFailed(I[71], 332, 60, "onError"); let result = new (async._Future$(E)).new(); this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); return result; } + [_ignore]() { + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + } catchError(onError, opts) { - if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + if (onError == null) dart.nullFailed(I[71], 342, 33, "onError"); let test = opts && 'test' in opts ? opts.test : null; - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { onError = async._registerErrorHandler(onError, result[_zone$]); if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); } - this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + this[_addListener](new (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); return result; } whenComplete(action) { - if (action == null) dart.nullFailed(I[68], 328, 34, "action"); - let result = new (_FutureOfT()).new(); + if (action == null) dart.nullFailed(I[71], 352, 34, "action"); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { action = result[_zone$].registerCallback(dart.dynamic, action); } - this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + this[_addListener](new (__t$_FutureListenerOfT$T()).whenComplete(result, action)); return result; } asStream() { - return StreamOfT().fromFuture(this); + return __t$StreamOfT().fromFuture(this); } [_setPendingComplete]() { - if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); - this[_state] = 1; + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[71], 364, 12, "_mayComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (0 ^ 2) >>> 0) >>> 0; } [_clearPendingComplete]() { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); - this[_state] = 0; + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 369, 12, "_isPendingComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (2 ^ 0) >>> 0) >>> 0; } get [_error]() { - if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[71], 374, 12, "_hasError"); return async.AsyncError.as(this[_resultOrListeners]); } get [_chainSource]() { - if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[71], 379, 12, "_isChained"); return async._Future.as(this[_resultOrListeners]); } [_setValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); - this[_state] = 4; + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 385, 12, "!_isComplete"); + this[_state] = 8; this[_resultOrListeners] = value; } [_setErrorObject](error) { - if (error == null) dart.nullFailed(I[68], 366, 35, "error"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); - this[_state] = 8; + if (error == null) dart.nullFailed(I[71], 390, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 391, 12, "!_isComplete"); + this[_state] = (16 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = error; } [_setError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 372, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 396, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 396, 43, "stackTrace"); this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); } [_cloneResult](source) { - if (source == null) dart.nullFailed(I[68], 379, 29, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); - this[_state] = source[_state]; + if (source == null) dart.nullFailed(I[71], 403, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 404, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 405, 12, "source._isComplete"); + this[_state] = (dart.notNull(source[_state]) & 30 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source[_resultOrListeners]; } [_addListener](listener) { - if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); - if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (listener == null) dart.nullFailed(I[71], 411, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[71], 412, 12, "listener._nextListener == null"); if (dart.test(this[_mayAddListener])) { listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = listener; @@ -30909,7 +33525,7 @@ define([], (function load__dart_sdk() { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 428, 14, "_isComplete"); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listener); }, T$.VoidTovoid())); @@ -30938,7 +33554,7 @@ define([], (function load__dart_sdk() { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 462, 14, "_isComplete"); listeners = this[_reverseListeners](listeners); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listeners); @@ -30946,7 +33562,7 @@ define([], (function load__dart_sdk() { } } [_removeListeners]() { - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 473, 12, "!_isComplete"); let current = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = null; return this[_reverseListeners](current); @@ -30963,13 +33579,13 @@ define([], (function load__dart_sdk() { return prev; } [_chainForeignFuture](source) { - if (source == null) dart.nullFailed(I[68], 470, 35, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); - if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + if (source == null) dart.nullFailed(I[71], 495, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 496, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[71], 497, 12, "source is! _Future"); this[_setPendingComplete](); try { source.then(core.Null, dart.fn(value => { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 503, 16, "_isPendingComplete"); this[_clearPendingComplete](); try { this[_completeWithValue](T.as(value)); @@ -30982,9 +33598,9 @@ define([], (function load__dart_sdk() { throw e; } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[68], 485, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + if (error == null) dart.nullFailed(I[71], 510, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 510, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 511, 16, "_isPendingComplete"); this[_completeError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())}); } catch (e$) { @@ -30999,9 +33615,9 @@ define([], (function load__dart_sdk() { } } static _chainCoreFuture(source, target) { - if (source == null) dart.nullFailed(I[68], 502, 40, "source"); - if (target == null) dart.nullFailed(I[68], 502, 56, "target"); - if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + if (source == null) dart.nullFailed(I[71], 527, 40, "source"); + if (target == null) dart.nullFailed(I[71], 527, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[71], 528, 12, "target._mayAddListener"); while (dart.test(source[_isChained])) { source = source[_chainSource]; } @@ -31016,10 +33632,10 @@ define([], (function load__dart_sdk() { } } [_complete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); - if (FutureOfT().is(value)) { - if (_FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 544, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { + if (__t$_FutureOfT().is(value)) { async._Future._chainCoreFuture(value, this); } else { this[_chainForeignFuture](value); @@ -31032,28 +33648,41 @@ define([], (function load__dart_sdk() { } [_completeWithValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 563, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setValue](value); async._Future._propagateToListeners(this, listeners); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 545, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 570, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 570, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 571, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setError](error, stackTrace); async._Future._propagateToListeners(this, listeners); } [_asyncComplete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); - if (FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 579, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { this[_chainFuture](value); return; } this[_asyncCompleteWithValue](T.as(value)); } + [_asyncCompleteUnchecked](value) { + if (!core.identical(__t$FutureOrOfT().as(value), value)) dart.assertFailed(null, I[71], 610, 12, "identical(value as FutureOr, value)"); + let typedValue = value; + if (__t$FutureOfT().is(typedValue)) { + this[_chainFuture](typedValue); + return; + } + this[_asyncCompleteWithValue](typedValue); + } + [_asyncCompleteUncheckedNoFuture](value) { + if (!core.identical(T.as(value), value)) dart.assertFailed(null, I[71], 633, 12, "identical(value as T, value)"); + this[_asyncCompleteWithValue](value); + } [_asyncCompleteWithValue](value) { T.as(value); this[_setPendingComplete](); @@ -31062,8 +33691,8 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); } [_chainFuture](value) { - if (value == null) dart.nullFailed(I[68], 584, 31, "value"); - if (_FutureOfT().is(value)) { + if (value == null) dart.nullFailed(I[71], 644, 31, "value"); + if (__t$_FutureOfT().is(value)) { if (dart.test(value[_hasError])) { this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { @@ -31077,21 +33706,21 @@ define([], (function load__dart_sdk() { this[_chainForeignFuture](value); } [_asyncCompleteError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 601, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 661, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 661, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 662, 12, "!_isComplete"); this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { this[_completeError](error, stackTrace); }, T$.VoidTovoid())); } static _propagateToListeners(source, listeners) { - if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + if (source == null) dart.nullFailed(I[71], 673, 15, "source"); while (true) { - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 675, 14, "source._isComplete"); let hasError = source[_hasError]; if (listeners == null) { - if (dart.test(hasError)) { + if (dart.test(hasError) && !dart.test(source[_ignoreError])) { let asyncError = source[_error]; source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); } @@ -31120,8 +33749,8 @@ define([], (function load__dart_sdk() { oldZone = async.Zone._enter(zone); } function handleWhenCompleteCallback() { - if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); - if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[71], 733, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[71], 734, 18, "!listener.handlesError"); let completeResult = null; try { completeResult = listener.handleWhenComplete(); @@ -31231,11 +33860,11 @@ define([], (function load__dart_sdk() { } } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - VoidToNFutureOrOfT().as(onTimeout); - if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); - let _future = new (_FutureOfT()).new(); + __t$VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (__t$_FutureOfT()).immediate(this); + let _future = new (__t$_FutureOfT()).new(); let timer = null; if (onTimeout == null) { timer = async.Timer.new(timeLimit, dart.fn(() => { @@ -31243,10 +33872,10 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); } else { let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); timer = async.Timer.new(timeLimit, dart.fn(() => { try { - _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -31262,9 +33891,9 @@ define([], (function load__dart_sdk() { timer.cancel(); _future[_completeWithValue](v); } - }, TToNull()), {onError: dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[68], 816, 25, "e"); - if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + }, __t$TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[71], 876, 25, "e"); + if (s == null) dart.nullFailed(I[71], 876, 39, "s"); if (dart.test(timer.isActive)) { timer.cancel(); _future[_completeError](e, s); @@ -31286,14 +33915,14 @@ define([], (function load__dart_sdk() { this[_asyncComplete](result); }).prototype = _Future.prototype; (_Future.zoneValue = function(value, _zone) { - if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = _zone; this[_setValue](value); }).prototype = _Future.prototype; (_Future.immediateError = function(error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = async.Zone._current; @@ -31312,6 +33941,7 @@ define([], (function load__dart_sdk() { [_setChained]: dart.fnType(dart.void, [async._Future]), then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + [_ignore]: dart.fnType(dart.void, []), catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), asStream: dart.fnType(async.Stream$(T), []), @@ -31330,11 +33960,14 @@ define([], (function load__dart_sdk() { [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteUnchecked]: dart.fnType(dart.void, [dart.dynamic]), + [_asyncCompleteUncheckedNoFuture]: dart.fnType(dart.void, [dart.dynamic]), [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) })); + dart.setStaticMethodSignature(_Future, () => ['_chainCoreFuture', '_propagateToListeners']); dart.setGetterSignature(_Future, () => ({ __proto__: dart.getGetters(_Future.__proto__), [_mayComplete]: core.bool, @@ -31343,16 +33976,18 @@ define([], (function load__dart_sdk() { [_isChained]: core.bool, [_isComplete]: core.bool, [_hasError]: core.bool, + [_ignoreError]: core.bool, [_error]: async.AsyncError, [_chainSource]: async._Future })); - dart.setLibraryUri(_Future, I[29]); + dart.setLibraryUri(_Future, I[31]); dart.setFieldSignature(_Future, () => ({ __proto__: dart.getFields(_Future.__proto__), [_state]: dart.fieldType(core.int), [_zone$]: dart.finalFieldType(async._Zone), [_resultOrListeners]: dart.fieldType(dart.dynamic) })); + dart.setStaticFieldSignature(_Future, () => ['_stateIncomplete', '_stateIgnoreError', '_statePendingComplete', '_stateChained', '_stateValue', '_stateError', '_completionStateMask']); return _Future; }); async._Future = async._Future$(); @@ -31360,30 +33995,41 @@ define([], (function load__dart_sdk() { /*async._Future._stateIncomplete*/get _stateIncomplete() { return 0; }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { + /*async._Future._stateIgnoreError*/get _stateIgnoreError() { return 1; }, - /*async._Future._stateChained*/get _stateChained() { + /*async._Future._statePendingComplete*/get _statePendingComplete() { return 2; }, - /*async._Future._stateValue*/get _stateValue() { + /*async._Future._stateChained*/get _stateChained() { return 4; }, - /*async._Future._stateError*/get _stateError() { + /*async._Future._stateValue*/get _stateValue() { return 8; + }, + /*async._Future._stateError*/get _stateError() { + return 16; + }, + /*async._Future._completionStateMask*/get _completionStateMask() { + return 30; } }, false); dart.addTypeTests(async._Future, _is__Future_default); - async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; + async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); + return new async._AsyncCallbackEntry.new(callback); + } + }; (async._AsyncCallbackEntry.new = function(callback) { - if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); this.next = null; this.callback = callback; ; }).prototype = async._AsyncCallbackEntry.prototype; dart.addTypeTests(async._AsyncCallbackEntry); dart.addTypeCaches(async._AsyncCallbackEntry); - dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); + dart.setLibraryUri(async._AsyncCallbackEntry, I[31]); dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), callback: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -31392,12 +34038,12 @@ define([], (function load__dart_sdk() { async._AsyncRun = class _AsyncRun extends core.Object { static _initializeScheduleImmediate() { if (dart.global.scheduleImmediate != null) { - return C[42] || CT.C42; + return C[43] || CT.C43; } - return C[43] || CT.C43; + return C[44] || CT.C44; } static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); dart.addAsyncCallback(); dart.global.scheduleImmediate(() => { dart.removeAsyncCallback(); @@ -31405,7 +34051,7 @@ define([], (function load__dart_sdk() { }); } static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); dart.addAsyncCallback(); dart.global.Promise.resolve(null).then(() => { dart.removeAsyncCallback(); @@ -31413,16 +34059,21 @@ define([], (function load__dart_sdk() { }); } static _scheduleImmediate(callback) { - if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + if (callback == null) dart.nullFailed(I[64], 135, 50, "callback"); async._AsyncRun._scheduleImmediateClosure(callback); } + static ['_#new#tearOff']() { + return new async._AsyncRun.new(); + } }; (async._AsyncRun.new = function() { ; }).prototype = async._AsyncRun.prototype; dart.addTypeTests(async._AsyncRun); dart.addTypeCaches(async._AsyncRun); - dart.setLibraryUri(async._AsyncRun, I[29]); + dart.setStaticMethodSignature(async._AsyncRun, () => ['_initializeScheduleImmediate', '_scheduleImmediateJSOverride', '_scheduleImmediateWithPromise', '_scheduleImmediate']); + dart.setLibraryUri(async._AsyncRun, I[31]); + dart.setStaticFieldSignature(async._AsyncRun, () => ['_scheduleImmediateClosure']); dart.defineLazy(async._AsyncRun, { /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { return async._AsyncRun._initializeScheduleImmediate(); @@ -31436,7 +34087,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(StreamSubscription); StreamSubscription.prototype[dart.isStreamSubscription] = true; dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[29]); + dart.setLibraryUri(StreamSubscription, I[31]); return StreamSubscription; }); async.StreamSubscription = async.StreamSubscription$(); @@ -31451,7 +34102,7 @@ define([], (function load__dart_sdk() { EventSink.prototype[_is_EventSink_default] = true; dart.addTypeCaches(EventSink); EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[29]); + dart.setLibraryUri(EventSink, I[31]); return EventSink; }); async.EventSink = async.EventSink$(); @@ -31467,6 +34118,10 @@ define([], (function load__dart_sdk() { set [_stream$](value) { super[_stream$] = value; } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); + return new (async.StreamView$(T)).new(stream); + } get isBroadcast() { return this[_stream$].isBroadcast; } @@ -31483,7 +34138,7 @@ define([], (function load__dart_sdk() { } } (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); this[_stream] = stream; StreamView.__proto__._internal.call(this); ; @@ -31495,7 +34150,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(StreamView.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(StreamView, I[29]); + dart.setLibraryUri(StreamView, I[31]); dart.setFieldSignature(StreamView, () => ({ __proto__: dart.getFields(StreamView.__proto__), [_stream$]: dart.finalFieldType(async.Stream$(T)) @@ -31513,7 +34168,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(StreamConsumer); StreamConsumer.prototype[_is_StreamConsumer_default] = true; dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[29]); + dart.setLibraryUri(StreamConsumer, I[31]); return StreamConsumer; }); async.StreamConsumer = async.StreamConsumer$(); @@ -31528,7 +34183,7 @@ define([], (function load__dart_sdk() { StreamSink.prototype[_is_StreamSink_default] = true; dart.addTypeCaches(StreamSink); StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[29]); + dart.setLibraryUri(StreamSink, I[31]); return StreamSink; }); async.StreamSink = async.StreamSink$(); @@ -31536,8 +34191,22 @@ define([], (function load__dart_sdk() { const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); async.StreamTransformer$ = dart.generic((S, T) => { class StreamTransformer extends core.Object { + static ['_#new#tearOff'](S, T, onListen) { + if (onListen == null) dart.nullFailed(I[30], 2383, 33, "onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(onListen); + } + static ['_#fromHandlers#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } + static ['_#fromBind#tearOff'](S, T, bind) { + if (bind == null) dart.nullFailed(I[30], 2448, 68, "bind"); + return new (async._StreamBindTransformer$(S, T)).new(bind); + } static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + if (source == null) dart.nullFailed(I[30], 2460, 33, "source"); return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); } } @@ -31546,7 +34215,9 @@ define([], (function load__dart_sdk() { dart.addTypeTests(StreamTransformer); StreamTransformer.prototype[_is_StreamTransformer_default] = true; dart.addTypeCaches(StreamTransformer); - dart.setLibraryUri(StreamTransformer, I[29]); + dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); + dart.setLibraryUri(StreamTransformer, I[31]); + dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); return StreamTransformer; }); async.StreamTransformer = async.StreamTransformer$(); @@ -31555,16 +34226,21 @@ define([], (function load__dart_sdk() { async.StreamIterator$ = dart.generic(T => { class StreamIterator extends core.Object { static new(stream) { - if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); return new (async._StreamIterator$(T)).new(stream); } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); + return async.StreamIterator$(T).new(stream); + } } (StreamIterator[dart.mixinNew] = function() { }).prototype = StreamIterator.prototype; dart.addTypeTests(StreamIterator); StreamIterator.prototype[_is_StreamIterator_default] = true; dart.addTypeCaches(StreamIterator); - dart.setLibraryUri(StreamIterator, I[29]); + dart.setStaticMethodSignature(StreamIterator, () => ['new']); + dart.setLibraryUri(StreamIterator, I[31]); return StreamIterator; }); async.StreamIterator = async.StreamIterator$(); @@ -31573,6 +34249,9 @@ define([], (function load__dart_sdk() { const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); async._ControllerEventSinkWrapper$ = dart.generic(T => { class _ControllerEventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + return new (async._ControllerEventSinkWrapper$(T)).new(_sink); + } [_ensureSink]() { let sink = this[_sink$]; if (sink == null) dart.throw(new core.StateError.new("Sink not available")); @@ -31583,7 +34262,7 @@ define([], (function load__dart_sdk() { this[_ensureSink]().add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); this[_ensureSink]().addError(error, stackTrace); } close() { @@ -31605,7 +34284,7 @@ define([], (function load__dart_sdk() { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) @@ -31624,7 +34303,7 @@ define([], (function load__dart_sdk() { MultiStreamController.prototype[_is_MultiStreamController_default] = true; dart.addTypeCaches(MultiStreamController); MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[29]); + dart.setLibraryUri(MultiStreamController, I[31]); return MultiStreamController; }); async.MultiStreamController = async.MultiStreamController$(); @@ -31638,16 +34317,32 @@ define([], (function load__dart_sdk() { let onResume = opts && 'onResume' in opts ? opts.onResume : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); } + static ['_#new#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); + return async.StreamController$(T).new({onListen: onListen, onPause: onPause, onResume: onResume, onCancel: onCancel, sync: sync}); + } static broadcast(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); } + static ['_#broadcast#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); + return async.StreamController$(T).broadcast({onListen: onListen, onCancel: onCancel, sync: sync}); + } } (StreamController[dart.mixinNew] = function() { }).prototype = StreamController.prototype; @@ -31655,7 +34350,8 @@ define([], (function load__dart_sdk() { StreamController.prototype[_is_StreamController_default] = true; dart.addTypeCaches(StreamController); StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setLibraryUri(StreamController, I[29]); + dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); + dart.setLibraryUri(StreamController, I[31]); return StreamController; }); async.StreamController = async.StreamController$(); @@ -31670,26 +34366,26 @@ define([], (function load__dart_sdk() { SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; dart.addTypeCaches(SynchronousStreamController); SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(SynchronousStreamController, I[29]); + dart.setLibraryUri(SynchronousStreamController, I[31]); return SynchronousStreamController; }); async.SynchronousStreamController = async.SynchronousStreamController$(); dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); async._StreamControllerLifecycle$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); class _StreamControllerLifecycle extends core.Object { [_recordPause](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); } [_recordResume](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); } [_recordCancel](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); return null; } } @@ -31705,7 +34401,7 @@ define([], (function load__dart_sdk() { [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + dart.setLibraryUri(_StreamControllerLifecycle, I[31]); return _StreamControllerLifecycle; }); async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); @@ -31720,7 +34416,7 @@ define([], (function load__dart_sdk() { _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; dart.addTypeCaches(_StreamControllerBase); _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setLibraryUri(_StreamControllerBase, I[29]); + dart.setLibraryUri(_StreamControllerBase, I[31]); return _StreamControllerBase; }); async._StreamControllerBase = async._StreamControllerBase$(); @@ -31733,21 +34429,20 @@ define([], (function load__dart_sdk() { var _badEventState = dart.privateName(async, "_badEventState"); const _is__StreamController_default = Symbol('_is__StreamController_default'); async._StreamController$ = dart.generic(T => { - var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_ControllerStreamOfT = () => (__t$_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_StreamControllerAddStreamStateOfT = () => (__t$_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var __t$_ControllerSubscriptionOfT = () => (__t$_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _StreamController extends core.Object { get stream() { - return new (_ControllerStreamOfT()).new(this); + return new (__t$_ControllerStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get [_isCanceled]() { return (dart.notNull(this[_state]) & 2) !== 0; @@ -31771,53 +34466,53 @@ define([], (function load__dart_sdk() { return dart.notNull(this[_state]) < 4; } get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { - return _PendingEventsNOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(this[_varData]); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); - return _PendingEventsNOfT().as(state.varData); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(state.varData); } [_ensurePendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 531, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { let events = this[_varData]; if (events == null) { - this[_varData] = events = new (_StreamImplEventsOfT()).new(); + this[_varData] = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); let events = state.varData; if (events == null) { - state.varData = events = new (_StreamImplEventsOfT()).new(); + state.varData = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } get [_subscription]() { - if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[67], 551, 12, "hasListener"); let varData = this[_varData]; if (dart.test(this[_isAddingStream])) { let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); varData = streamState.varData; } - return _ControllerSubscriptionOfT().as(varData); + return __t$_ControllerSubscriptionOfT().as(varData); } [_badEventState]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add event after closing"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 567, 12, "_isAddingStream"); return new core.StateError.new("Cannot add event while adding a stream"); } addStream(source, opts) { - let t114; - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let t100; + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 572, 30, "source"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); - let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + let addState = new (__t$_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t100 = cancelOnError, t100 == null ? false : t100)); this[_varData] = addState; this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; return addState.addStreamFuture; @@ -31826,9 +34521,9 @@ define([], (function load__dart_sdk() { return this[_ensureDoneFuture](); } [_ensureDoneFuture]() { - let t114; - t114 = this[_doneFuture]; - return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + let t100; + t100 = this[_doneFuture]; + return t100 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t100; } add(value) { T.as(value); @@ -31836,7 +34531,7 @@ define([], (function load__dart_sdk() { this[_add](value); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + if (error == null) dart.nullFailed(I[67], 600, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -31846,7 +34541,6 @@ define([], (function load__dart_sdk() { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_addError](error, stackTrace); } close() { @@ -31862,7 +34556,7 @@ define([], (function load__dart_sdk() { if (dart.test(this.hasListener)) { this[_sendDone](); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[40] || CT.C40); + this[_ensurePendingEvents]().add(C[41] || CT.C41); } } [_add](value) { @@ -31870,12 +34564,12 @@ define([], (function load__dart_sdk() { if (dart.test(this.hasListener)) { this[_sendData](value); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 613, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 654, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 654, 43, "stackTrace"); if (dart.test(this.hasListener)) { this[_sendError](error, stackTrace); } else if (dart.test(this[_isInitialState])) { @@ -31883,22 +34577,22 @@ define([], (function load__dart_sdk() { } } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 664, 12, "_isAddingStream"); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); this[_varData] = addState.varData; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 674, 28, "cancelOnError"); if (!dart.test(this[_isInitialState])) { dart.throw(new core.StateError.new("Stream has already been listened to.")); } - let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); let pendingEvents = this[_pendingEvents]; this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.varData = subscription; addState.resume(); } else { @@ -31911,11 +34605,11 @@ define([], (function load__dart_sdk() { return subscription; } [_recordCancel](subscription) { - let t115; - if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let t101; + if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); let result = null; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); result = addState.cancel(); } this[_varData] = null; @@ -31932,9 +34626,9 @@ define([], (function load__dart_sdk() { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - result = (t115 = new (T$._FutureOfvoid()).new(), (() => { - t115[_asyncCompleteError](e, s); - return t115; + result = (t101 = new (T$._FutureOfvoid()).new(), (() => { + t101[_asyncCompleteError](e, s); + return t101; })()); } else throw e$; @@ -31958,17 +34652,17 @@ define([], (function load__dart_sdk() { return result; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.pause(); } async._runGuarded(this.onPause); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.resume(); } async._runGuarded(this.onResume); @@ -31990,7 +34684,7 @@ define([], (function load__dart_sdk() { _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; dart.setMethodSignature(_StreamController, () => ({ __proto__: dart.getMethods(_StreamController.__proto__), - [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_ensurePendingEvents]: dart.fnType(async._PendingEvents$(T), []), [_badEventState]: dart.fnType(core.Error, []), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), @@ -32021,7 +34715,7 @@ define([], (function load__dart_sdk() { [_subscription]: async._ControllerSubscription$(T), done: async.Future$(dart.void) })); - dart.setLibraryUri(_StreamController, I[29]); + dart.setLibraryUri(_StreamController, I[31]); dart.setFieldSignature(_StreamController, () => ({ __proto__: dart.getFields(_StreamController.__proto__), [_varData]: dart.fieldType(dart.nullable(core.Object)), @@ -32032,6 +34726,7 @@ define([], (function load__dart_sdk() { onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_StreamController, () => ['_STATE_INITIAL', '_STATE_SUBSCRIBED', '_STATE_CANCELED', '_STATE_SUBSCRIPTION_MASK', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _StreamController; }); async._StreamController = async._StreamController$(); @@ -32063,8 +34758,8 @@ define([], (function load__dart_sdk() { this[_subscription][_add](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 736, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 777, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 777, 44, "stackTrace"); this[_subscription][_addError](error, stackTrace); } [_sendDone]() { @@ -32084,25 +34779,25 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[31]); return _SyncStreamControllerDispatch; }); async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); async._AsyncStreamControllerDispatch$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncStreamControllerDispatch extends core.Object { [_sendData](data) { - this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 751, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 792, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 792, 44, "stackTrace"); this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); } [_sendDone]() { - this[_subscription][_addPending](C[40] || CT.C40); + this[_subscription][_addPending](C[41] || CT.C41); } } (_AsyncStreamControllerDispatch.new = function() { @@ -32118,7 +34813,7 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); return _AsyncStreamControllerDispatch; }); async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); @@ -32131,12 +34826,15 @@ define([], (function load__dart_sdk() { }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 764, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 805, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32156,7 +34854,7 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamController, I[29]); + dart.setLibraryUri(_AsyncStreamController, I[31]); return _AsyncStreamController; }); async._AsyncStreamController = async._AsyncStreamController$(); @@ -32169,12 +34867,15 @@ define([], (function load__dart_sdk() { }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 767, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 808, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32194,7 +34895,7 @@ define([], (function load__dart_sdk() { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamController, I[29]); + dart.setLibraryUri(_SyncStreamController, I[31]); return _SyncStreamController; }); async._SyncStreamController = async._SyncStreamController$(); @@ -32202,22 +34903,26 @@ define([], (function load__dart_sdk() { var _target$ = dart.privateName(async, "_target"); const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); async._StreamSinkWrapper$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); + return new (async._StreamSinkWrapper$(T)).new(_target); + } add(data) { T.as(data); this[_target$].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + if (error == null) dart.nullFailed(I[67], 870, 24, "error"); this[_target$].addError(error, stackTrace); } close() { return this[_target$].close(); } addStream(source) { - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 876, 30, "source"); return this[_target$].addStream(source); } get done() { @@ -32225,7 +34930,7 @@ define([], (function load__dart_sdk() { } } (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); this[_target$] = _target; ; }).prototype = _StreamSinkWrapper.prototype; @@ -32244,7 +34949,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), done: async.Future })); - dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setLibraryUri(_StreamSinkWrapper, I[31]); dart.setFieldSignature(_StreamSinkWrapper, () => ({ __proto__: dart.getFields(_StreamSinkWrapper.__proto__), [_target$]: dart.finalFieldType(async.StreamController) @@ -32255,12 +34960,19 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); async._AddStreamState$ = dart.generic(T => { + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _AddStreamState extends core.Object { + static ['_#new#tearOff'](T, controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); + return new (async._AddStreamState$(T)).new(controller, source, cancelOnError); + } static makeErrorHandler(controller) { - if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + if (controller == null) dart.nullFailed(I[67], 899, 38, "controller"); return dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[64], 858, 61, "e"); - if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + if (e == null) dart.nullFailed(I[67], 899, 61, "e"); + if (s == null) dart.nullFailed(I[67], 899, 75, "s"); controller[_addError](e, s); controller[_close](); }, T$.ObjectAndStackTraceToNull()); @@ -32286,11 +34998,11 @@ define([], (function load__dart_sdk() { } } (_AddStreamState.new = function(controller, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); - if (source == null) dart.nullFailed(I[64], 849, 43, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); this.addStreamFuture = new async._Future.new(); - this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + this.addSubscription = source.listen(__t$TTovoid().as(dart.bind(controller, _add)), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); ; }).prototype = _AddStreamState.prototype; dart.addTypeTests(_AddStreamState); @@ -32303,7 +35015,8 @@ define([], (function load__dart_sdk() { cancel: dart.fnType(async.Future$(dart.void), []), complete: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AddStreamState, I[29]); + dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); + dart.setLibraryUri(_AddStreamState, I[31]); dart.setFieldSignature(_AddStreamState, () => ({ __proto__: dart.getFields(_AddStreamState.__proto__), addStreamFuture: dart.finalFieldType(async._Future), @@ -32315,11 +35028,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); async._StreamControllerAddStreamState$ = dart.generic(T => { - class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + class _StreamControllerAddStreamState extends async._AddStreamState$(T) { + static ['_#new#tearOff'](T, controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); + return new (async._StreamControllerAddStreamState$(T)).new(controller, varData, source, cancelOnError); + } + } (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); - if (source == null) dart.nullFailed(I[64], 900, 17, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); this.varData = varData; _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); if (dart.test(controller.isPaused)) { @@ -32329,7 +35049,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_StreamControllerAddStreamState); _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), varData: dart.fieldType(dart.dynamic) @@ -32347,7 +35067,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_EventSink); _EventSink.prototype[_is__EventSink_default] = true; dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[29]); + dart.setLibraryUri(_EventSink, I[31]); return _EventSink; }); async._EventSink = async._EventSink$(); @@ -32361,186 +35081,11 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_EventDispatch); _EventDispatch.prototype[_is__EventDispatch_default] = true; dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[29]); + dart.setLibraryUri(_EventDispatch, I[31]); return _EventDispatch; }); async._EventDispatch = async._EventDispatch$(); dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); - var _isUsed = dart.privateName(async, "_isUsed"); - const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); - async._GeneratedStreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - class _GeneratedStreamImpl extends async._StreamImpl$(T) { - [_createSubscription](onData, onError, onDone, cancelOnError) { - let t115; - if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); - if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); - this[_isUsed] = true; - t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); - return (() => { - t115[_setPendingEvents](this[_pending$]()); - return t115; - })(); - } - } - (_GeneratedStreamImpl.new = function(_pending) { - if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); - this[_isUsed] = false; - this[_pending$] = _pending; - _GeneratedStreamImpl.__proto__.new.call(this); - ; - }).prototype = _GeneratedStreamImpl.prototype; - dart.addTypeTests(_GeneratedStreamImpl); - _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; - dart.addTypeCaches(_GeneratedStreamImpl); - dart.setLibraryUri(_GeneratedStreamImpl, I[29]); - dart.setFieldSignature(_GeneratedStreamImpl, () => ({ - __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), - [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), - [_isUsed]: dart.fieldType(core.bool) - })); - return _GeneratedStreamImpl; - }); - async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); - dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); - var _iterator = dart.privateName(async, "_iterator"); - var _eventScheduled = dart.privateName(async, "_eventScheduled"); - const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); - async._PendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _PendingEvents extends core.Object { - get isScheduled() { - return this[_state] === 1; - } - get [_eventScheduled]() { - return dart.notNull(this[_state]) >= 1; - } - schedule(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); - if (dart.test(this.isScheduled)) return; - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); - if (dart.test(this[_eventScheduled])) { - if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); - this[_state] = 1; - return; - } - async.scheduleMicrotask(dart.fn(() => { - let oldState = this[_state]; - this[_state] = 0; - if (oldState === 3) return; - this.handleNext(dispatch); - }, T$.VoidTovoid())); - this[_state] = 1; - } - cancelSchedule() { - if (dart.test(this.isScheduled)) this[_state] = 3; - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - ; - }).prototype = _PendingEvents.prototype; - dart.addTypeTests(_PendingEvents); - _PendingEvents.prototype[_is__PendingEvents_default] = true; - dart.addTypeCaches(_PendingEvents); - dart.setMethodSignature(_PendingEvents, () => ({ - __proto__: dart.getMethods(_PendingEvents.__proto__), - schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), - cancelSchedule: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool - })); - dart.setLibraryUri(_PendingEvents, I[29]); - dart.setFieldSignature(_PendingEvents, () => ({ - __proto__: dart.getFields(_PendingEvents.__proto__), - [_state]: dart.fieldType(core.int) - })); - return _PendingEvents; - }); - async._PendingEvents = async._PendingEvents$(); - dart.defineLazy(async._PendingEvents, { - /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { - return 0; - }, - /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { - return 1; - }, - /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { - return 3; - } - }, false); - dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); - const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); - async._IterablePendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _IterablePendingEvents extends async._PendingEvents$(T) { - get isEmpty() { - return this[_iterator] == null; - } - handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); - let iterator = this[_iterator]; - if (iterator == null) { - dart.throw(new core.StateError.new("No events pending.")); - } - let movedNext = false; - try { - if (dart.test(iterator.moveNext())) { - movedNext = true; - dispatch[_sendData](iterator.current); - } else { - this[_iterator] = null; - dispatch[_sendDone](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (!movedNext) { - this[_iterator] = C[20] || CT.C20; - } - dispatch[_sendError](e, s); - } else - throw e$; - } - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this[_iterator] = null; - } - } - (_IterablePendingEvents.new = function(data) { - if (data == null) dart.nullFailed(I[65], 519, 38, "data"); - this[_iterator] = data[$iterator]; - _IterablePendingEvents.__proto__.new.call(this); - ; - }).prototype = _IterablePendingEvents.prototype; - dart.addTypeTests(_IterablePendingEvents); - _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; - dart.addTypeCaches(_IterablePendingEvents); - dart.setMethodSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getMethods(_IterablePendingEvents.__proto__), - handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getGetters(_IterablePendingEvents.__proto__), - isEmpty: core.bool - })); - dart.setLibraryUri(_IterablePendingEvents, I[29]); - dart.setFieldSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getFields(_IterablePendingEvents.__proto__), - [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) - })); - return _IterablePendingEvents; - }); - async._IterablePendingEvents = async._IterablePendingEvents$(); - dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); async._DelayedEvent$ = dart.generic(T => { class _DelayedEvent extends core.Object {} @@ -32551,7 +35096,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_DelayedEvent); _DelayedEvent.prototype[_is__DelayedEvent_default] = true; dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setLibraryUri(_DelayedEvent, I[31]); dart.setFieldSignature(_DelayedEvent, () => ({ __proto__: dart.getFields(_DelayedEvent.__proto__), next: dart.fieldType(dart.nullable(async._DelayedEvent)) @@ -32562,11 +35107,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); const _is__DelayedData_default = Symbol('_is__DelayedData_default'); async._DelayedData$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); class _DelayedData extends async._DelayedEvent$(T) { + static ['_#new#tearOff'](T, value) { + return new (async._DelayedData$(T)).new(value); + } perform(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); dispatch[_sendData](this.value); } } @@ -32582,7 +35130,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_DelayedData.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_DelayedData, I[29]); + dart.setLibraryUri(_DelayedData, I[31]); dart.setFieldSignature(_DelayedData, () => ({ __proto__: dart.getFields(_DelayedData.__proto__), value: dart.finalFieldType(T) @@ -32592,15 +35140,20 @@ define([], (function load__dart_sdk() { async._DelayedData = async._DelayedData$(); dart.addTypeTests(async._DelayedData, _is__DelayedData_default); async._DelayedError = class _DelayedError extends async._DelayedEvent { + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); + return new async._DelayedError.new(error, stackTrace); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 525, 31, "dispatch"); dispatch[_sendError](this.error, this.stackTrace); } }; (async._DelayedError.new = function(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 600, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); this.error = error; this.stackTrace = stackTrace; async._DelayedError.__proto__.new.call(this); @@ -32612,16 +35165,19 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(async._DelayedError.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(async._DelayedError, I[29]); + dart.setLibraryUri(async._DelayedError, I[31]); dart.setFieldSignature(async._DelayedError, () => ({ __proto__: dart.getFields(async._DelayedError.__proto__), error: dart.finalFieldType(core.Object), stackTrace: dart.finalFieldType(core.StackTrace) })); async._DelayedDone = class _DelayedDone extends core.Object { + static ['_#new#tearOff']() { + return new async._DelayedDone.new(); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 533, 31, "dispatch"); dispatch[_sendDone](); } get next() { @@ -32649,16 +35205,44 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(async._DelayedDone.__proto__), next: dart.nullable(async._DelayedEvent) })); - dart.setLibraryUri(async._DelayedDone, I[29]); - const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); - async._StreamImplEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _StreamImplEvents extends async._PendingEvents$(T) { + dart.setLibraryUri(async._DelayedDone, I[31]); + var _eventScheduled = dart.privateName(async, "_eventScheduled"); + const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); + async._PendingEvents$ = dart.generic(T => { + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 579, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 581, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[68], 583, 14, "_state == stateCanceled"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } get isEmpty() { return this.lastPendingEvent == null; } add(event) { - if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + if (event == null) dart.nullFailed(I[68], 602, 26, "event"); let lastEvent = this.lastPendingEvent; if (lastEvent == null) { this.firstPendingEvent = this.lastPendingEvent = event; @@ -32667,10 +35251,10 @@ define([], (function load__dart_sdk() { } } handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); - if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 611, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[68], 612, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 613, 12, "!isEmpty"); let event = dart.nullCheck(this.firstPendingEvent); let nextEvent = event.next; this.firstPendingEvent = nextEvent; @@ -32683,42 +35267,65 @@ define([], (function load__dart_sdk() { if (dart.test(this.isScheduled)) this.cancelSchedule(); this.firstPendingEvent = this.lastPendingEvent = null; } + static ['_#new#tearOff'](T) { + return new (async._PendingEvents$(T)).new(); + } } - (_StreamImplEvents.new = function() { + (_PendingEvents.new = function() { + this[_state] = 0; this.firstPendingEvent = null; this.lastPendingEvent = null; - _StreamImplEvents.__proto__.new.call(this); ; - }).prototype = _StreamImplEvents.prototype; - dart.addTypeTests(_StreamImplEvents); - _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; - dart.addTypeCaches(_StreamImplEvents); - dart.setMethodSignature(_StreamImplEvents, () => ({ - __proto__: dart.getMethods(_StreamImplEvents.__proto__), + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [async._DelayedEvent]), handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); - dart.setGetterSignature(_StreamImplEvents, () => ({ - __proto__: dart.getGetters(_StreamImplEvents.__proto__), + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool, isEmpty: core.bool })); - dart.setLibraryUri(_StreamImplEvents, I[29]); - dart.setFieldSignature(_StreamImplEvents, () => ({ - __proto__: dart.getFields(_StreamImplEvents.__proto__), + dart.setLibraryUri(_PendingEvents, I[31]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int), firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) })); - return _StreamImplEvents; + dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); + return _PendingEvents; }); - async._StreamImplEvents = async._StreamImplEvents$(); - dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); + async._PendingEvents = async._PendingEvents$(); + dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents.stateUnscheduled*/get stateUnscheduled() { + return 0; + }, + /*async._PendingEvents.stateScheduled*/get stateScheduled() { + return 1; + }, + /*async._PendingEvents.stateCanceled*/get stateCanceled() { + return 3; + } + }, false); + dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); var _schedule = dart.privateName(async, "_schedule"); var _isSent = dart.privateName(async, "_isSent"); var _isScheduled = dart.privateName(async, "_isScheduled"); const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); async._DoneStreamSubscription$ = dart.generic(T => { class _DoneStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, _onDone) { + return new (async._DoneStreamSubscription$(T)).new(_onDone); + } get [_isSent]() { return (dart.notNull(this[_state]) & 1) !== 0; } @@ -32808,13 +35415,14 @@ define([], (function load__dart_sdk() { [_isScheduled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setLibraryUri(_DoneStreamSubscription, I[31]); dart.setFieldSignature(_DoneStreamSubscription, () => ({ __proto__: dart.getFields(_DoneStreamSubscription.__proto__), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_DoneStreamSubscription, () => ['_DONE_SENT', '_SCHEDULED', '_PAUSED']); return _DoneStreamSubscription; }); async._DoneStreamSubscription = async._DoneStreamSubscription$(); @@ -32839,32 +35447,37 @@ define([], (function load__dart_sdk() { var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); async._AsBroadcastStream$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$_AsBroadcastStreamControllerOfT = () => (__t$_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_BroadcastSubscriptionWrapperOfT = () => (__t$_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); class _AsBroadcastStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); + return new (async._AsBroadcastStream$(T)).new(_source, onListenHandler, onCancelHandler); + } get isBroadcast() { return true; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let controller = this[_controller$]; if (controller == null || dart.test(controller.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(__t$TTovoid().as(dart.bind(controller, 'add')), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_onCancel]() { let controller = this[_controller$]; let shutdown = controller == null || dart.test(controller.isClosed); let cancelHandler = this[_onCancelHandler]; if (cancelHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } if (shutdown) { let subscription = this[_subscription]; @@ -32877,7 +35490,7 @@ define([], (function load__dart_sdk() { [_onListen$]() { let listenHandler = this[_onListenHandler]; if (listenHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } } [_cancelSubscription]() { @@ -32889,31 +35502,31 @@ define([], (function load__dart_sdk() { } } [_pauseSubscription](resumeSignal) { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(resumeSignal); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(resumeSignal); } [_resumeSubscription]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } get [_isSubscriptionPaused]() { - let t116, t116$; - t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); - return t116$ == null ? false : t116$; + let t101, t101$; + t101$ = (t101 = this[_subscription], t101 == null ? null : t101.isPaused); + return t101$ == null ? false : t101$; } } (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { - if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); this[_controller$] = null; this[_subscription] = null; this[_source$4] = _source; - this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); - this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onCancelHandler); this[_zone$] = async.Zone.current; _AsBroadcastStream.__proto__.new.call(this); - this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + this[_controller$] = new (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); }).prototype = _AsBroadcastStream.prototype; dart.addTypeTests(_AsBroadcastStream); _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; @@ -32931,7 +35544,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_AsBroadcastStream.__proto__), [_isSubscriptionPaused]: core.bool })); - dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setLibraryUri(_AsBroadcastStream, I[31]); dart.setFieldSignature(_AsBroadcastStream, () => ({ __proto__: dart.getFields(_AsBroadcastStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(T)), @@ -32948,6 +35561,10 @@ define([], (function load__dart_sdk() { const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); async._BroadcastSubscriptionWrapper$ = dart.generic(T => { class _BroadcastSubscriptionWrapper extends core.Object { + static ['_#new#tearOff'](T, _stream) { + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); + return new (async._BroadcastSubscriptionWrapper$(T)).new(_stream); + } onData(handleData) { dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); } @@ -32975,7 +35592,7 @@ define([], (function load__dart_sdk() { } } (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); this[_stream$] = _stream; ; }).prototype = _BroadcastSubscriptionWrapper.prototype; @@ -32998,7 +35615,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), isPaused: core.bool })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), [_stream$]: dart.finalFieldType(async._AsBroadcastStream) @@ -33012,8 +35629,12 @@ define([], (function load__dart_sdk() { var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); async._StreamIterator$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamIterator extends core.Object { + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } get current() { if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); return T.as(null); @@ -33033,13 +35654,13 @@ define([], (function load__dart_sdk() { return this[_initializeOrDone](); } [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); let stateData = this[_stateData]; if (stateData != null) { - let stream = StreamOfT().as(stateData); + let stream = __t$StreamOfT().as(stateData); let future = new (T$._FutureOfbool()).new(); this[_stateData] = future; - let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError$), onDone: dart.bind(this, _onDone$), cancelOnError: true}); if (this[_stateData] != null) { this[_subscription] = subscription; } @@ -33064,7 +35685,7 @@ define([], (function load__dart_sdk() { return async.Future._nullFuture; } [_onData$](data) { - let t116; + let t101; T.as(data); if (this[_subscription] == null) return; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); @@ -33072,13 +35693,13 @@ define([], (function load__dart_sdk() { this[_hasValue$0] = true; moveNextFuture[_complete](true); if (dart.test(this[_hasValue$0])) { - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } } - [_onError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + [_onError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 981, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 981, 42, "stackTrace"); let subscription = this[_subscription]; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); this[_subscription] = null; @@ -33102,7 +35723,7 @@ define([], (function load__dart_sdk() { } } (_StreamIterator.new = function(stream) { - if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); this[_subscription] = null; this[_hasValue$0] = false; this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); @@ -33118,14 +35739,14 @@ define([], (function load__dart_sdk() { [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), cancel: dart.fnType(async.Future, []), [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_onDone$]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_StreamIterator, () => ({ __proto__: dart.getGetters(_StreamIterator.__proto__), current: T })); - dart.setLibraryUri(_StreamIterator, I[29]); + dart.setLibraryUri(_StreamIterator, I[31]); dart.setFieldSignature(_StreamIterator, () => ({ __proto__: dart.getFields(_StreamIterator.__proto__), [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), @@ -33138,8 +35759,11 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); async._EmptyStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); class _EmptyStream extends async.Stream$(T) { + static ['_#new#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } get isBroadcast() { return true; } @@ -33147,7 +35771,7 @@ define([], (function load__dart_sdk() { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } } (_EmptyStream.new = function() { @@ -33161,7 +35785,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_EmptyStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EmptyStream, I[29]); + dart.setLibraryUri(_EmptyStream, I[31]); return _EmptyStream; }); async._EmptyStream = async._EmptyStream$(); @@ -33169,7 +35793,7 @@ define([], (function load__dart_sdk() { var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); const _is__MultiStream_default = Symbol('_is__MultiStream_default'); async._MultiStream$ = dart.generic(T => { - var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + var __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); class _MultiStream extends async.Stream$(T) { get isBroadcast() { return this[isBroadcast$]; @@ -33177,23 +35801,28 @@ define([], (function load__dart_sdk() { set isBroadcast(value) { super.isBroadcast = value; } + static ['_#new#tearOff'](T, _onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); + return new (async._MultiStream$(T)).new(_onListen, isBroadcast); + } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let controller = new (_MultiStreamControllerOfT()).new(); + let controller = new (__t$_MultiStreamControllerOfT()).new(); controller.onListen = dart.fn(() => { - let t116; - t116 = controller; - this[_onListen$](t116); + let t101; + t101 = controller; + this[_onListen$](t101); }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } } (_MultiStream.new = function(_onListen, isBroadcast) { - if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); - if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); this[_onListen$] = _onListen; this[isBroadcast$] = isBroadcast; _MultiStream.__proto__.new.call(this); @@ -33206,7 +35835,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_MultiStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_MultiStream, I[29]); + dart.setLibraryUri(_MultiStream, I[31]); dart.setFieldSignature(_MultiStream, () => ({ __proto__: dart.getFields(_MultiStream.__proto__), isBroadcast: dart.finalFieldType(core.bool), @@ -33219,17 +35848,20 @@ define([], (function load__dart_sdk() { const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); async._MultiStreamController$ = dart.generic(T => { class _MultiStreamController extends async._AsyncStreamController$(T) { + static ['_#new#tearOff'](T) { + return new (async._MultiStreamController$(T)).new(); + } addSync(data) { T.as(data); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) this[_subscription][_add](data); } addErrorSync(error, stackTrace = null) { - let t116; - if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + let t101; + if (error == null) dart.nullFailed(I[68], 1047, 28, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) { - this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + this[_subscription][_addError](error, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); } } closeSync() { @@ -33256,7 +35888,7 @@ define([], (function load__dart_sdk() { addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), closeSync: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_MultiStreamController, I[29]); + dart.setLibraryUri(_MultiStreamController, I[31]); return _MultiStreamController; }); async._MultiStreamController = async._MultiStreamController$(); @@ -33265,38 +35897,38 @@ define([], (function load__dart_sdk() { var _handleDone$ = dart.privateName(async, "_handleDone"); const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); async._ForwardingStream$ = dart.generic((S, T) => { - var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); - var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + var __t$_ForwardingStreamSubscriptionOfS$T = () => (__t$_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var __t$_EventSinkOfT = () => (__t$_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); class _ForwardingStream extends async.Stream$(T) { get isBroadcast() { return this[_source$4].isBroadcast; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return this[_createSubscription](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); - return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[73], 85, 47, "cancelOnError"); + return new (__t$_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 94, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + if (error == null) dart.nullFailed(I[73], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 94, 46, "stackTrace"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 94, 72, "sink"); sink[_addError](error, stackTrace); } [_handleDone$](sink) { - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 98, 34, "sink"); sink[_close](); } } (_ForwardingStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + if (_source == null) dart.nullFailed(I[73], 75, 26, "_source"); this[_source$4] = _source; _ForwardingStream.__proto__.new.call(this); ; @@ -33311,7 +35943,7 @@ define([], (function load__dart_sdk() { [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setLibraryUri(_ForwardingStream, I[31]); dart.setFieldSignature(_ForwardingStream, () => ({ __proto__: dart.getFields(_ForwardingStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(S)) @@ -33324,26 +35956,31 @@ define([], (function load__dart_sdk() { const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); async._ForwardingStreamSubscription$ = dart.generic((S, T) => { class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](S, T, _stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); + return new (async._ForwardingStreamSubscription$(S, T)).new(_stream, onData, onError, onDone, cancelOnError); + } [_add](data) { T.as(data); if (dart.test(this[_isClosed])) return; super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[70], 126, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 126, 43, "stackTrace"); if (dart.test(this[_isClosed])) return; super[_addError](error, stackTrace); } [_onPause]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } [_onResume]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -33358,7 +35995,7 @@ define([], (function load__dart_sdk() { this[_stream$][_handleData$](data, this); } [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); } [_handleDone$]() { @@ -33366,8 +36003,8 @@ define([], (function load__dart_sdk() { } } (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { - if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); this[_subscription] = null; this[_stream$] = _stream; _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); @@ -33382,7 +36019,7 @@ define([], (function load__dart_sdk() { [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_handleDone$]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), @@ -33392,16 +36029,21 @@ define([], (function load__dart_sdk() { }); async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); - var _test = dart.privateName(async, "_test"); + var _test$ = dart.privateName(async, "_test"); const _is__WhereStream_default = Symbol('_is__WhereStream_default'); async._WhereStream$ = dart.generic(T => { class _WhereStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + return new (async._WhereStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t116; - if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let t101; + if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); let satisfies = null; try { - satisfies = (t116 = inputEvent, this[_test](t116)); + satisfies = (t101 = inputEvent, this[_test$](t101)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33417,9 +36059,9 @@ define([], (function load__dart_sdk() { } } (_WhereStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 182, 26, "source"); - if (test == null) dart.nullFailed(I[70], 182, 39, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + this[_test$] = test; _WhereStream.__proto__.new.call(this, source); ; }).prototype = _WhereStream.prototype; @@ -33430,10 +36072,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_WhereStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_WhereStream, I[29]); + dart.setLibraryUri(_WhereStream, I[31]); dart.setFieldSignature(_WhereStream, () => ({ __proto__: dart.getFields(_WhereStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _WhereStream; }); @@ -33443,12 +36085,17 @@ define([], (function load__dart_sdk() { const _is__MapStream_default = Symbol('_is__MapStream_default'); async._MapStream$ = dart.generic((S, T) => { class _MapStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, transform) { + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); + return new (async._MapStream$(S, T)).new(source, transform); + } [_handleData$](inputEvent, sink) { - let t117; - if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let t102; + if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); let outputEvent = null; try { - outputEvent = (t117 = inputEvent, this[_transform](t117)); + outputEvent = (t102 = inputEvent, this[_transform](t102)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33462,8 +36109,8 @@ define([], (function load__dart_sdk() { } } (_MapStream.new = function(source, transform) { - if (source == null) dart.nullFailed(I[70], 206, 24, "source"); - if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); this[_transform] = transform; _MapStream.__proto__.new.call(this, source); ; @@ -33475,7 +36122,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_MapStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_MapStream, I[29]); + dart.setLibraryUri(_MapStream, I[31]); dart.setFieldSignature(_MapStream, () => ({ __proto__: dart.getFields(_MapStream.__proto__), [_transform]: dart.finalFieldType(dart.fnType(T, [S])) @@ -33488,11 +36135,16 @@ define([], (function load__dart_sdk() { const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); async._ExpandStream$ = dart.generic((S, T) => { class _ExpandStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, expand) { + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); + return new (async._ExpandStream$(S, T)).new(source, expand); + } [_handleData$](inputEvent, sink) { - let t118; - if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + let t103; + if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); try { - for (let value of (t118 = inputEvent, this[_expand](t118))) { + for (let value of (t103 = inputEvent, this[_expand](t103))) { sink[_add](value); } } catch (e$) { @@ -33506,8 +36158,8 @@ define([], (function load__dart_sdk() { } } (_ExpandStream.new = function(source, expand) { - if (source == null) dart.nullFailed(I[70], 226, 27, "source"); - if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); this[_expand] = expand; _ExpandStream.__proto__.new.call(this, source); ; @@ -33519,7 +36171,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_ExpandStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_ExpandStream, I[29]); + dart.setLibraryUri(_ExpandStream, I[31]); dart.setFieldSignature(_ExpandStream, () => ({ __proto__: dart.getFields(_ExpandStream.__proto__), [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) @@ -33531,16 +36183,22 @@ define([], (function load__dart_sdk() { const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); async._HandleErrorStream$ = dart.generic(T => { class _HandleErrorStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + return new (async._HandleErrorStream$(T)).new(source, _onError, _test); + } [_handleData$](data, sink) { - if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + if (sink == null) dart.nullFailed(I[73], 252, 42, "sink"); sink[_add](data); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 259, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); - if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let t106, t105; + if (error == null) dart.nullFailed(I[73], 256, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 256, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 256, 72, "sink"); let matches = true; - let test = this[_test]; + let test = this[_test$]; if (test != null) { try { matches = test(error); @@ -33556,7 +36214,9 @@ define([], (function load__dart_sdk() { } if (dart.test(matches)) { try { - async._invokeErrorHandler(this[_transform], error, stackTrace); + t105 = error; + t106 = stackTrace; + this[_onError$](t105, t106); } catch (e$0) { let e = dart.getThrown(e$0); let s = dart.stackTrace(e$0); @@ -33575,11 +36235,11 @@ define([], (function load__dart_sdk() { } } } - (_HandleErrorStream.new = function(source, onError, test) { - if (source == null) dart.nullFailed(I[70], 250, 17, "source"); - if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); - this[_transform] = onError; - this[_test] = test; + (_HandleErrorStream.new = function(source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + this[_onError$] = _onError; + this[_test$] = _test; _HandleErrorStream.__proto__.new.call(this, source); ; }).prototype = _HandleErrorStream.prototype; @@ -33591,11 +36251,11 @@ define([], (function load__dart_sdk() { [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) })); - dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setLibraryUri(_HandleErrorStream, I[31]); dart.setFieldSignature(_HandleErrorStream, () => ({ __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_transform]: dart.finalFieldType(core.Function), - [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), + [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) })); return _HandleErrorStream; }); @@ -33605,20 +36265,25 @@ define([], (function load__dart_sdk() { var _subState = dart.privateName(async, "_subState"); const _is__TakeStream_default = Symbol('_is__TakeStream_default'); async._TakeStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _TakeStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); + return new (async._TakeStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[73], 292, 47, "cancelOnError"); if (this[_count] === 0) { this[_source$4].listen(null).cancel(); - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 301, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { sink[_add](inputEvent); @@ -33631,8 +36296,8 @@ define([], (function load__dart_sdk() { } } (_TakeStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 290, 25, "source"); - if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); this[_count] = count; _TakeStream.__proto__.new.call(this, source); ; @@ -33644,7 +36309,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_TakeStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeStream, I[29]); + dart.setLibraryUri(_TakeStream, I[31]); dart.setFieldSignature(_TakeStream, () => ({ __proto__: dart.getFields(_TakeStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33663,10 +36328,15 @@ define([], (function load__dart_sdk() { set [_subState](value) { this[_subState$] = S.as(value); } + static ['_#new#tearOff'](S, T, stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); + return new (async._StateStreamSubscription$(S, T)).new(stream, onData, onError, onDone, cancelOnError, _subState); + } } (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { - if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); this[_subState$] = _subState; _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); ; @@ -33674,7 +36344,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_StateStreamSubscription); _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setLibraryUri(_StateStreamSubscription, I[31]); dart.setFieldSignature(_StateStreamSubscription, () => ({ __proto__: dart.getFields(_StateStreamSubscription.__proto__), [_subState]: dart.fieldType(S) @@ -33686,12 +36356,17 @@ define([], (function load__dart_sdk() { const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); async._TakeWhileStream$ = dart.generic(T => { class _TakeWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + return new (async._TakeWhileStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t121; - if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let t106; + if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); let satisfies = null; try { - satisfies = (t121 = inputEvent, this[_test](t121)); + satisfies = (t106 = inputEvent, this[_test$](t106)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33710,9 +36385,9 @@ define([], (function load__dart_sdk() { } } (_TakeWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 335, 30, "source"); - if (test == null) dart.nullFailed(I[70], 335, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + this[_test$] = test; _TakeWhileStream.__proto__.new.call(this, source); ; }).prototype = _TakeWhileStream.prototype; @@ -33723,10 +36398,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_TakeWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setLibraryUri(_TakeWhileStream, I[31]); dart.setFieldSignature(_TakeWhileStream, () => ({ __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _TakeWhileStream; }); @@ -33734,15 +36409,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); const _is__SkipStream_default = Symbol('_is__SkipStream_default'); async._SkipStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _SkipStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); + return new (async._SkipStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + if (cancelOnError == null) dart.nullFailed(I[73], 366, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 371, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { subscription[_subState] = dart.notNull(count) - 1; @@ -33752,8 +36432,8 @@ define([], (function load__dart_sdk() { } } (_SkipStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 360, 25, "source"); - if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); this[_count] = count; _SkipStream.__proto__.new.call(this, source); core.RangeError.checkNotNegative(count, "count"); @@ -33765,7 +36445,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_SkipStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipStream, I[29]); + dart.setLibraryUri(_SkipStream, I[31]); dart.setFieldSignature(_SkipStream, () => ({ __proto__: dart.getFields(_SkipStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33776,16 +36456,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._SkipStream, _is__SkipStream_default); const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); async._SkipWhileStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + var __t$_StateStreamSubscriptionOfbool$T = () => (__t$_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); class _SkipWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + return new (async._SkipWhileStream$(T)).new(source, test); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + if (cancelOnError == null) dart.nullFailed(I[73], 390, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); } [_handleData$](inputEvent, sink) { - let t122; - if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); - let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let t107; + if (sink == null) dart.nullFailed(I[73], 395, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfbool$T().as(sink); let hasFailed = subscription[_subState]; if (dart.test(hasFailed)) { sink[_add](inputEvent); @@ -33793,7 +36478,7 @@ define([], (function load__dart_sdk() { } let satisfies = null; try { - satisfies = (t122 = inputEvent, this[_test](t122)); + satisfies = (t107 = inputEvent, this[_test$](t107)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33811,9 +36496,9 @@ define([], (function load__dart_sdk() { } } (_SkipWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 388, 30, "source"); - if (test == null) dart.nullFailed(I[70], 388, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + this[_test$] = test; _SkipWhileStream.__proto__.new.call(this, source); ; }).prototype = _SkipWhileStream.prototype; @@ -33824,10 +36509,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_SkipWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setLibraryUri(_SkipWhileStream, I[31]); dart.setFieldSignature(_SkipWhileStream, () => ({ __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _SkipWhileStream; }); @@ -33836,15 +36521,19 @@ define([], (function load__dart_sdk() { var _equals = dart.privateName(async, "_equals"); const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); async._DistinctStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + var __t$_StateStreamSubscriptionOfObjectN$T = () => (__t$_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); class _DistinctStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, equals) { + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); + return new (async._DistinctStream$(T)).new(source, equals); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + if (cancelOnError == null) dart.nullFailed(I[73], 428, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); - let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 433, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfObjectN$T().as(sink); let previous = subscription[_subState]; if (core.identical(previous, async._DistinctStream._SENTINEL)) { subscription[_subState] = inputEvent; @@ -33876,7 +36565,7 @@ define([], (function load__dart_sdk() { } } (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); this[_equals] = equals; _DistinctStream.__proto__.new.call(this, source); ; @@ -33888,11 +36577,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_DistinctStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_DistinctStream, I[29]); + dart.setLibraryUri(_DistinctStream, I[31]); dart.setFieldSignature(_DistinctStream, () => ({ __proto__: dart.getFields(_DistinctStream.__proto__), [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) })); + dart.setStaticFieldSignature(_DistinctStream, () => ['_SENTINEL']); return _DistinctStream; }); async._DistinctStream = async._DistinctStream$(); @@ -33905,21 +36595,25 @@ define([], (function load__dart_sdk() { const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); async._EventSinkWrapper$ = dart.generic(T => { class _EventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); + return new (async._EventSinkWrapper$(T)).new(_sink); + } add(data) { T.as(data); this[_sink$][_add](data); } addError(error, stackTrace = null) { - let t124; - if (error == null) dart.nullFailed(I[71], 16, 24, "error"); - this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + let t109; + if (error == null) dart.nullFailed(I[74], 16, 24, "error"); + this[_sink$][_addError](error, (t109 = stackTrace, t109 == null ? async.AsyncError.defaultStackTrace(error) : t109)); } close() { this[_sink$][_close](); } } (_EventSinkWrapper.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); this[_sink$] = _sink; ; }).prototype = _EventSinkWrapper.prototype; @@ -33933,7 +36627,7 @@ define([], (function load__dart_sdk() { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setLibraryUri(_EventSinkWrapper, I[31]); dart.setFieldSignature(_EventSinkWrapper, () => ({ __proto__: dart.getFields(_EventSinkWrapper.__proto__), [_sink$]: dart.fieldType(async._EventSink$(T)) @@ -33947,16 +36641,22 @@ define([], (function load__dart_sdk() { var _transformerSink = dart.privateName(async, "_transformerSink"); const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { get [_transformerSink]() { - let t124; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + let t109; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); } - set [_transformerSink](t124) { - if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + set [_transformerSink](_transformerSink$35param) { + if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - this[___SinkTransformerStreamSubscription__transformerSink] = t124; + this[___SinkTransformerStreamSubscription__transformerSink] = _transformerSink$35param; + } + static ['_#new#tearOff'](S, T, source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); + return new (async._SinkTransformerStreamSubscription$(S, T)).new(source, mapper, onData, onError, onDone, cancelOnError); } [_add](data) { if (dart.test(this[_isClosed])) { @@ -33965,8 +36665,8 @@ define([], (function load__dart_sdk() { super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 71, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 71, 43, "stackTrace"); if (dart.test(this[_isClosed])) { dart.throw(new core.StateError.new("Stream is already closed")); } @@ -33979,14 +36679,14 @@ define([], (function load__dart_sdk() { super[_close](); } [_onPause]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.pause(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.pause(); } [_onResume]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.resume(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -34010,8 +36710,8 @@ define([], (function load__dart_sdk() { } } [_handleError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 117, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 117, 46, "stackTrace"); try { this[_transformerSink].addError(error, stackTrace); } catch (e$) { @@ -34042,14 +36742,14 @@ define([], (function load__dart_sdk() { } } (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { - if (source == null) dart.nullFailed(I[71], 39, 17, "source"); - if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); - if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); this[___SinkTransformerStreamSubscription__transformerSink] = null; this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; this[_subscription] = null; _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_transformerSink] = mapper(new (__t$_EventSinkWrapperOfT()).new(this)); this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); }).prototype = _SinkTransformerStreamSubscription.prototype; dart.addTypeTests(_SinkTransformerStreamSubscription); @@ -34070,7 +36770,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), [_transformerSink]: async.EventSink$(S) })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), @@ -34085,8 +36785,8 @@ define([], (function load__dart_sdk() { var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); async._StreamSinkTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSinkStreamOfS$T = () => (__t$_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { get [_sinkMapper$0]() { return this[_sinkMapper$]; @@ -34094,14 +36794,18 @@ define([], (function load__dart_sdk() { set [_sinkMapper$0](value) { super[_sinkMapper$0] = value; } + static ['_#new#tearOff'](S, T, _sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); + return new (async._StreamSinkTransformer$(S, T)).new(_sinkMapper); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); - return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 151, 28, "stream"); + return new (__t$_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); } } (_StreamSinkTransformer.new = function(_sinkMapper) { - if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); this[_sinkMapper$] = _sinkMapper; _StreamSinkTransformer.__proto__.new.call(this); ; @@ -34113,7 +36817,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setLibraryUri(_StreamSinkTransformer, I[31]); dart.setFieldSignature(_StreamSinkTransformer, () => ({ __proto__: dart.getFields(_StreamSinkTransformer.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) @@ -34124,23 +36828,28 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); async._BoundSinkStream$ = dart.generic((S, T) => { - var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + var __t$_SinkTransformerStreamSubscriptionOfS$T = () => (__t$_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); class _BoundSinkStream extends async.Stream$(T) { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); + return new (async._BoundSinkStream$(S, T)).new(_stream, _sinkMapper); + } listen(onData, opts) { - let t128; + let t112; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + let subscription = new (__t$_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t112 = cancelOnError, t112 == null ? false : t112)); return subscription; } } (_BoundSinkStream.new = function(_stream, _sinkMapper) { - if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); - if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); this[_stream$] = _stream; this[_sinkMapper$0] = _sinkMapper; _BoundSinkStream.__proto__.new.call(this); @@ -34153,7 +36862,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_BoundSinkStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setLibraryUri(_BoundSinkStream, I[31]); dart.setFieldSignature(_BoundSinkStream, () => ({ __proto__: dart.getFields(_BoundSinkStream.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), @@ -34166,6 +36875,10 @@ define([], (function load__dart_sdk() { const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); async._HandlerEventSink$ = dart.generic((S, T) => { class _HandlerEventSink extends core.Object { + static ['_#new#tearOff'](S, T, _handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); + return new (async._HandlerEventSink$(S, T)).new(_handleData, _handleError, _handleDone, _sink); + } add(data) { S.as(data); let sink = this[_sink$]; @@ -34180,7 +36893,7 @@ define([], (function load__dart_sdk() { } } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + if (error == null) dart.nullFailed(I[74], 215, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); let sink = this[_sink$]; if (sink == null) { @@ -34207,7 +36920,7 @@ define([], (function load__dart_sdk() { } } (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); this[_handleData$] = _handleData; this[_handleError$] = _handleError; this[_handleDone$] = _handleDone; @@ -34224,7 +36937,7 @@ define([], (function load__dart_sdk() { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setLibraryUri(_HandlerEventSink, I[31]); dart.setFieldSignature(_HandlerEventSink, () => ({ __proto__: dart.getFields(_HandlerEventSink.__proto__), [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), @@ -34238,14 +36951,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); async._StreamHandlerTransformer$ = dart.generic((S, T) => { - var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); - var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_HandlerEventSinkOfS$T = () => (__t$_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var __t$EventSinkOfTTo_HandlerEventSinkOfS$T = () => (__t$EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(__t$_HandlerEventSinkOfS$T(), [__t$EventSinkOfT()])))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + static ['_#new#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); return super.bind(stream); } } @@ -34254,15 +36973,15 @@ define([], (function load__dart_sdk() { let handleError = opts && 'handleError' in opts ? opts.handleError : null; let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); - return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); - }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + if (outputSink == null) dart.nullFailed(I[74], 251, 29, "outputSink"); + return new (__t$_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, __t$EventSinkOfTTo_HandlerEventSinkOfS$T())); ; }).prototype = _StreamHandlerTransformer.prototype; dart.addTypeTests(_StreamHandlerTransformer); _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; dart.addTypeCaches(_StreamHandlerTransformer); - dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + dart.setLibraryUri(_StreamHandlerTransformer, I[31]); return _StreamHandlerTransformer; }); async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); @@ -34270,18 +36989,22 @@ define([], (function load__dart_sdk() { var _bind$ = dart.privateName(async, "_bind"); const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); async._StreamBindTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + static ['_#new#tearOff'](S, T, _bind) { + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); + return new (async._StreamBindTransformer$(S, T)).new(_bind); + } bind(stream) { - let t128; - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); - t128 = stream; - return this[_bind$](t128); + let t112; + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 266, 28, "stream"); + t112 = stream; + return this[_bind$](t112); } } (_StreamBindTransformer.new = function(_bind) { - if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); this[_bind$] = _bind; _StreamBindTransformer.__proto__.new.call(this); ; @@ -34293,7 +37016,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_StreamBindTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setLibraryUri(_StreamBindTransformer, I[31]); dart.setFieldSignature(_StreamBindTransformer, () => ({ __proto__: dart.getFields(_StreamBindTransformer.__proto__), [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) @@ -34305,8 +37028,8 @@ define([], (function load__dart_sdk() { var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSubscriptionStreamOfS$T = () => (__t$_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { get [_onListen$]() { return this[_onListen$0]; @@ -34314,14 +37037,18 @@ define([], (function load__dart_sdk() { set [_onListen$](value) { super[_onListen$] = value; } + static ['_#new#tearOff'](S, T, _onListen) { + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(_onListen); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); - return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 288, 28, "stream"); + return new (__t$_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); } } (_StreamSubscriptionTransformer.new = function(_onListen) { - if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); this[_onListen$0] = _onListen; _StreamSubscriptionTransformer.__proto__.new.call(this); ; @@ -34333,7 +37060,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[31]); dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) @@ -34348,12 +37075,17 @@ define([], (function load__dart_sdk() { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _onListen) { + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); + return new (async._BoundSubscriptionStream$(S, T)).new(_stream, _onListen); + } listen(onData, opts) { - let t128, t129, t128$; + let t112, t113, t112$; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + let result = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); result.onData(onData); result.onError(onError); result.onDone(onDone); @@ -34361,8 +37093,8 @@ define([], (function load__dart_sdk() { } } (_BoundSubscriptionStream.new = function(_stream, _onListen) { - if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); - if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); this[_stream$] = _stream; this[_onListen$] = _onListen; _BoundSubscriptionStream.__proto__.new.call(this); @@ -34375,7 +37107,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setLibraryUri(_BoundSubscriptionStream, I[31]); dart.setFieldSignature(_BoundSubscriptionStream, () => ({ __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), @@ -34387,36 +37119,46 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); async.Timer = class Timer extends core.Object { static new(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); - if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createTimer(duration, callback); } return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); } + static ['_#new#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); + return async.Timer.new(duration, callback); + } static periodic(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); - if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createPeriodicTimer(duration, callback); } let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); return async.Zone.current.createPeriodicTimer(duration, boundCallback); } + static ['_#periodic#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); + return async.Timer.periodic(duration, callback); + } static run(callback) { - if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + if (callback == null) dart.nullFailed(I[75], 109, 35, "callback"); async.Timer.new(core.Duration.zero, callback); } static _createTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); - if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + if (duration == null) dart.nullFailed(I[64], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[64], 183, 64, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.new(milliseconds, callback); } static _createPeriodicTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); - if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + if (duration == null) dart.nullFailed(I[64], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[64], 191, 31, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); @@ -34426,7 +37168,8 @@ define([], (function load__dart_sdk() { }).prototype = async.Timer.prototype; dart.addTypeTests(async.Timer); dart.addTypeCaches(async.Timer); - dart.setLibraryUri(async.Timer, I[29]); + dart.setStaticMethodSignature(async.Timer, () => ['new', 'periodic', 'run', '_createTimer', '_createPeriodicTimer']); + dart.setLibraryUri(async.Timer, I[31]); var zone$ = dart.privateName(async, "_ZoneFunction.zone"); var $function$0 = dart.privateName(async, "_ZoneFunction.function"); const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); @@ -34444,10 +37187,15 @@ define([], (function load__dart_sdk() { set function(value) { super.function = value; } + static ['_#new#tearOff'](T, zone, $function) { + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); + return new (async._ZoneFunction$(T)).new(zone, $function); + } } (_ZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); - if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); this[zone$] = zone; this[$function$0] = $function; ; @@ -34455,7 +37203,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_ZoneFunction); _ZoneFunction.prototype[_is__ZoneFunction_default] = true; dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setLibraryUri(_ZoneFunction, I[31]); dart.setFieldSignature(_ZoneFunction, () => ({ __proto__: dart.getFields(_ZoneFunction.__proto__), zone: dart.finalFieldType(async._Zone), @@ -34465,196 +37213,26 @@ define([], (function load__dart_sdk() { }); async._ZoneFunction = async._ZoneFunction$(); dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); - var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); - var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); - async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$0]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$1]; - } - set function(value) { - super.function = value; - } - }; - (async._RunNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); - if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); - this[zone$0] = zone; - this[$function$1] = $function; - ; - }).prototype = async._RunNullaryZoneFunction.prototype; - dart.addTypeTests(async._RunNullaryZoneFunction); - dart.addTypeCaches(async._RunNullaryZoneFunction); - dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); - dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) - })); - var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); - var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); - async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$1]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$2]; - } - set function(value) { - super.function = value; - } - }; - (async._RunUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); - if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); - this[zone$1] = zone; - this[$function$2] = $function; - ; - }).prototype = async._RunUnaryZoneFunction.prototype; - dart.addTypeTests(async._RunUnaryZoneFunction); - dart.addTypeCaches(async._RunUnaryZoneFunction); - dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); - dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) - })); - var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); - var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); - async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$2]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$3]; - } - set function(value) { - super.function = value; - } - }; - (async._RunBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); - if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); - this[zone$2] = zone; - this[$function$3] = $function; - ; - }).prototype = async._RunBinaryZoneFunction.prototype; - dart.addTypeTests(async._RunBinaryZoneFunction); - dart.addTypeCaches(async._RunBinaryZoneFunction); - dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); - dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) - })); - var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); - var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); - async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$3]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$4]; - } - set function(value) { - super.function = value; - } - }; - (async._RegisterNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); - if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); - this[zone$3] = zone; - this[$function$4] = $function; - ; - }).prototype = async._RegisterNullaryZoneFunction.prototype; - dart.addTypeTests(async._RegisterNullaryZoneFunction); - dart.addTypeCaches(async._RegisterNullaryZoneFunction); - dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); - dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) - })); - var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); - var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); - async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$4]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$5]; - } - set function(value) { - super.function = value; - } - }; - (async._RegisterUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); - if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); - this[zone$4] = zone; - this[$function$5] = $function; - ; - }).prototype = async._RegisterUnaryZoneFunction.prototype; - dart.addTypeTests(async._RegisterUnaryZoneFunction); - dart.addTypeCaches(async._RegisterUnaryZoneFunction); - dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); - dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) - })); - var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); - var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); - async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$5]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$6]; - } - set function(value) { - super.function = value; - } - }; - (async._RegisterBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); - if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); - this[zone$5] = zone; - this[$function$6] = $function; - ; - }).prototype = async._RegisterBinaryZoneFunction.prototype; - dart.addTypeTests(async._RegisterBinaryZoneFunction); - dart.addTypeCaches(async._RegisterBinaryZoneFunction); - dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); - dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) - })); async.ZoneSpecification = class ZoneSpecification extends core.Object { + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } static from(other, opts) { - let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; - if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let t112, t112$, t112$0, t112$1, t112$2, t112$3, t112$4, t112$5, t112$6, t112$7, t112$8, t112$9, t112$10; + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; let run = opts && 'run' in opts ? opts.run : null; let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; @@ -34668,14 +37246,33 @@ define([], (function load__dart_sdk() { let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; let print = opts && 'print' in opts ? opts.print : null; let fork = opts && 'fork' in opts ? opts.fork : null; - return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + return new async._ZoneSpecification.new({handleUncaughtError: (t112 = handleUncaughtError, t112 == null ? other.handleUncaughtError : t112), run: (t112$ = run, t112$ == null ? other.run : t112$), runUnary: (t112$0 = runUnary, t112$0 == null ? other.runUnary : t112$0), runBinary: (t112$1 = runBinary, t112$1 == null ? other.runBinary : t112$1), registerCallback: (t112$2 = registerCallback, t112$2 == null ? other.registerCallback : t112$2), registerUnaryCallback: (t112$3 = registerUnaryCallback, t112$3 == null ? other.registerUnaryCallback : t112$3), registerBinaryCallback: (t112$4 = registerBinaryCallback, t112$4 == null ? other.registerBinaryCallback : t112$4), errorCallback: (t112$5 = errorCallback, t112$5 == null ? other.errorCallback : t112$5), scheduleMicrotask: (t112$6 = scheduleMicrotask, t112$6 == null ? other.scheduleMicrotask : t112$6), createTimer: (t112$7 = createTimer, t112$7 == null ? other.createTimer : t112$7), createPeriodicTimer: (t112$8 = createPeriodicTimer, t112$8 == null ? other.createPeriodicTimer : t112$8), print: (t112$9 = print, t112$9 == null ? other.print : t112$9), fork: (t112$10 = fork, t112$10 == null ? other.fork : t112$10)}); + } + static ['_#from#tearOff'](other, opts) { + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return async.ZoneSpecification.from(other, {handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); } }; (async.ZoneSpecification[dart.mixinNew] = function() { }).prototype = async.ZoneSpecification.prototype; dart.addTypeTests(async.ZoneSpecification); dart.addTypeCaches(async.ZoneSpecification); - dart.setLibraryUri(async.ZoneSpecification, I[29]); + dart.setStaticMethodSignature(async.ZoneSpecification, () => ['new', 'from']); + dart.setLibraryUri(async.ZoneSpecification, I[31]); + dart.setStaticFieldSignature(async.ZoneSpecification, () => ['_redirecting#']); var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); var run$ = dart.privateName(async, "_ZoneSpecification.run"); var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); @@ -34768,6 +37365,22 @@ define([], (function load__dart_sdk() { set fork(value) { super.fork = value; } + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } }; (async._ZoneSpecification.new = function(opts) { let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; @@ -34801,7 +37414,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(async._ZoneSpecification); dart.addTypeCaches(async._ZoneSpecification); async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; - dart.setLibraryUri(async._ZoneSpecification, I[29]); + dart.setLibraryUri(async._ZoneSpecification, I[31]); dart.setFieldSignature(async._ZoneSpecification, () => ({ __proto__: dart.getFields(async._ZoneSpecification.__proto__), handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), @@ -34824,21 +37437,21 @@ define([], (function load__dart_sdk() { }).prototype = async.ZoneDelegate.prototype; dart.addTypeTests(async.ZoneDelegate); dart.addTypeCaches(async.ZoneDelegate); - dart.setLibraryUri(async.ZoneDelegate, I[29]); + dart.setLibraryUri(async.ZoneDelegate, I[31]); async.Zone = class Zone extends core.Object { static get current() { return async.Zone._current; } static _enter(zone) { - if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); - if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + if (zone == null) dart.nullFailed(I[76], 911, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[76], 912, 12, "!identical(zone, _current)"); let previous = async.Zone._current; async.Zone._current = zone; return previous; } static _leave(previous) { - if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + if (previous == null) dart.nullFailed(I[76], 921, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); async.Zone._current = previous; } }; @@ -34847,20 +37460,25 @@ define([], (function load__dart_sdk() { }).prototype = async.Zone.prototype; dart.addTypeTests(async.Zone); dart.addTypeCaches(async.Zone); - dart.setLibraryUri(async.Zone, I[29]); + dart.setStaticMethodSignature(async.Zone, () => ['_enter', '_leave']); + dart.setStaticGetterSignature(async.Zone, () => ['current']); + dart.setLibraryUri(async.Zone, I[31]); + dart.setStaticFieldSignature(async.Zone, () => ['root', '_current']); dart.defineLazy(async.Zone, { /*async.Zone.root*/get root() { - return C[44] || CT.C44; + return C[45] || CT.C45; }, /*async.Zone._current*/get _current() { return async._rootZone; }, - set _current(_) {} + set _current(value) { + if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); + } }, false); var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); - var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); - var _parentDelegate = dart.privateName(async, "_parentDelegate"); + var _processUncaughtError = dart.privateName(async, "_processUncaughtError"); var _run = dart.privateName(async, "_run"); + var _parentDelegate = dart.privateName(async, "_parentDelegate"); var _runUnary = dart.privateName(async, "_runUnary"); var _runBinary = dart.privateName(async, "_runBinary"); var _registerCallback = dart.privateName(async, "_registerCallback"); @@ -34873,66 +37491,67 @@ define([], (function load__dart_sdk() { var _print = dart.privateName(async, "_print"); var _fork = dart.privateName(async, "_fork"); async._ZoneDelegate = class _ZoneDelegate extends core.Object { + static ['_#new#tearOff'](_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); + return new async._ZoneDelegate.new(_delegationTarget); + } handleUncaughtError(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); - if (error == null) dart.nullFailed(I[73], 917, 46, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); - let implementation = this[_delegationTarget$][_handleUncaughtError]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + if (zone == null) dart.nullFailed(I[76], 943, 33, "zone"); + if (error == null) dart.nullFailed(I[76], 943, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 943, 64, "stackTrace"); + this[_delegationTarget$][_processUncaughtError](zone, error, stackTrace); } run(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); - if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + if (zone == null) dart.nullFailed(I[76], 947, 17, "zone"); + if (f == null) dart.nullFailed(I[76], 947, 25, "f"); let implementation = this[_delegationTarget$][_run]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } runUnary(R, T, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); - if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + if (zone == null) dart.nullFailed(I[76], 954, 25, "zone"); + if (f == null) dart.nullFailed(I[76], 954, 33, "f"); let implementation = this[_delegationTarget$][_runUnary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); } runBinary(R, T1, T2, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + if (zone == null) dart.nullFailed(I[76], 961, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 961, 39, "f"); let implementation = this[_delegationTarget$][_runBinary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); } registerCallback(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 968, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 968, 52, "f"); let implementation = this[_delegationTarget$][_registerCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } registerUnaryCallback(R, T, zone, f) { - if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); - if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + if (zone == null) dart.nullFailed(I[76], 975, 60, "zone"); + if (f == null) dart.nullFailed(I[76], 975, 68, "f"); let implementation = this[_delegationTarget$][_registerUnaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f); } registerBinaryCallback(R, T1, T2, zone, f) { - if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); - if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + if (zone == null) dart.nullFailed(I[76], 983, 12, "zone"); + if (f == null) dart.nullFailed(I[76], 983, 20, "f"); let implementation = this[_delegationTarget$][_registerBinaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); } errorCallback(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); - if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + if (zone == null) dart.nullFailed(I[76], 990, 34, "zone"); + if (error == null) dart.nullFailed(I[76], 990, 47, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_delegationTarget$][_errorCallback]; let implZone = implementation.zone; @@ -34941,41 +37560,41 @@ define([], (function load__dart_sdk() { return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); } scheduleMicrotask(zone, f) { - if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + if (zone == null) dart.nullFailed(I[76], 999, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 999, 37, "f"); let implementation = this[_delegationTarget$][_scheduleMicrotask]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, f); } createTimer(zone, duration, f) { - if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); - if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); - if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + if (zone == null) dart.nullFailed(I[76], 1006, 26, "zone"); + if (duration == null) dart.nullFailed(I[76], 1006, 41, "duration"); + if (f == null) dart.nullFailed(I[76], 1006, 56, "f"); let implementation = this[_delegationTarget$][_createTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, duration, f); } createPeriodicTimer(zone, period, f) { - if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); - if (period == null) dart.nullFailed(I[73], 990, 49, "period"); - if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1013, 34, "zone"); + if (period == null) dart.nullFailed(I[76], 1013, 49, "period"); + if (f == null) dart.nullFailed(I[76], 1013, 62, "f"); let implementation = this[_delegationTarget$][_createPeriodicTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, period, f); } print(zone, line) { - if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); - if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + if (zone == null) dart.nullFailed(I[76], 1020, 19, "zone"); + if (line == null) dart.nullFailed(I[76], 1020, 32, "line"); let implementation = this[_delegationTarget$][_print]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, line); } fork(zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + if (zone == null) dart.nullFailed(I[76], 1027, 18, "zone"); let implementation = this[_delegationTarget$][_fork]; let implZone = implementation.zone; let handler = implementation.function; @@ -34983,7 +37602,7 @@ define([], (function load__dart_sdk() { } }; (async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); this[_delegationTarget$] = _delegationTarget; ; }).prototype = async._ZoneDelegate.prototype; @@ -35006,16 +37625,45 @@ define([], (function load__dart_sdk() { print: dart.fnType(dart.void, [async.Zone, core.String]), fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) })); - dart.setLibraryUri(async._ZoneDelegate, I[29]); + dart.setLibraryUri(async._ZoneDelegate, I[31]); dart.setFieldSignature(async._ZoneDelegate, () => ({ __proto__: dart.getFields(async._ZoneDelegate.__proto__), [_delegationTarget$]: dart.finalFieldType(async._Zone) })); + var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); async._Zone = class _Zone extends core.Object { inSameErrorZone(otherZone) { - if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + if (otherZone == null) dart.nullFailed(I[76], 1062, 29, "otherZone"); return this === otherZone || this.errorZone == otherZone.errorZone; } + [_processUncaughtError](zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[76], 1067, 35, "zone"); + if (error == null) dart.nullFailed(I[76], 1067, 48, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1067, 66, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let implZone = implementation.zone; + if (implZone == async._rootZone) { + async._rootHandleError(error, stackTrace); + return; + } + let handler = implementation.function; + let parentDelegate = implZone[_parentDelegate]; + let parentZone = dart.nullCheck(implZone.parent); + let currentZone = async.Zone._current; + try { + async.Zone._current = parentZone; + handler(implZone, parentDelegate, zone, error, stackTrace); + async.Zone._current = currentZone; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone._current = currentZone; + parentZone[_processUncaughtError](implZone, e, core.identical(error, e) ? stackTrace : s); + } else + throw e$; + } + } }; (async._Zone.new = function() { ; @@ -35025,9 +37673,10 @@ define([], (function load__dart_sdk() { async._Zone[dart.implements] = () => [async.Zone]; dart.setMethodSignature(async._Zone, () => ({ __proto__: dart.getMethods(async._Zone.__proto__), - inSameErrorZone: dart.fnType(core.bool, [async.Zone]) + inSameErrorZone: dart.fnType(core.bool, [async.Zone]), + [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) })); - dart.setLibraryUri(async._Zone, I[29]); + dart.setLibraryUri(async._Zone, I[31]); var _run$ = dart.privateName(async, "_CustomZone._run"); var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); @@ -35051,78 +37700,91 @@ define([], (function load__dart_sdk() { return this[_run$]; } set [_run](value) { + if (value == null) dart.nullFailed(I[76], 1095, 29, "_run"); this[_run$] = value; } get [_runUnary]() { return this[_runUnary$]; } set [_runUnary](value) { + if (value == null) dart.nullFailed(I[76], 1096, 34, "_runUnary"); this[_runUnary$] = value; } get [_runBinary]() { return this[_runBinary$]; } set [_runBinary](value) { + if (value == null) dart.nullFailed(I[76], 1097, 35, "_runBinary"); this[_runBinary$] = value; } get [_registerCallback]() { return this[_registerCallback$]; } set [_registerCallback](value) { + if (value == null) dart.nullFailed(I[76], 1098, 42, "_registerCallback"); this[_registerCallback$] = value; } get [_registerUnaryCallback]() { return this[_registerUnaryCallback$]; } set [_registerUnaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1099, 47, "_registerUnaryCallback"); this[_registerUnaryCallback$] = value; } get [_registerBinaryCallback]() { return this[_registerBinaryCallback$]; } set [_registerBinaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1100, 48, "_registerBinaryCallback"); this[_registerBinaryCallback$] = value; } get [_errorCallback]() { return this[_errorCallback$]; } set [_errorCallback](value) { + if (value == null) dart.nullFailed(I[76], 1101, 39, "_errorCallback"); this[_errorCallback$] = value; } get [_scheduleMicrotask]() { return this[_scheduleMicrotask$]; } set [_scheduleMicrotask](value) { + if (value == null) dart.nullFailed(I[76], 1102, 43, "_scheduleMicrotask"); this[_scheduleMicrotask$] = value; } get [_createTimer]() { return this[_createTimer$]; } set [_createTimer](value) { + if (value == null) dart.nullFailed(I[76], 1103, 37, "_createTimer"); this[_createTimer$] = value; } get [_createPeriodicTimer]() { return this[_createPeriodicTimer$]; } set [_createPeriodicTimer](value) { + if (value == null) dart.nullFailed(I[76], 1104, 45, "_createPeriodicTimer"); this[_createPeriodicTimer$] = value; } get [_print]() { return this[_print$]; } set [_print](value) { + if (value == null) dart.nullFailed(I[76], 1105, 31, "_print"); this[_print$] = value; } get [_fork]() { return this[_fork$]; } set [_fork](value) { + if (value == null) dart.nullFailed(I[76], 1106, 30, "_fork"); this[_fork$] = value; } get [_handleUncaughtError]() { return this[_handleUncaughtError$]; } set [_handleUncaughtError](value) { + if (value == null) dart.nullFailed(I[76], 1107, 45, "_handleUncaughtError"); this[_handleUncaughtError$] = value; } get parent() { @@ -35138,18 +37800,24 @@ define([], (function load__dart_sdk() { super[_map$3] = value; } get [_delegate]() { - let t128; - t128 = this[_delegateCache]; - return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + let t113; + t113 = this[_delegateCache]; + return t113 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t113; } get [_parentDelegate]() { return this.parent[_delegate]; } + static ['_#new#tearOff'](parent, specification, _map) { + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); + return new async._CustomZone.new(parent, specification, _map); + } get errorZone() { return this[_handleUncaughtError].zone; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1206, 24, "f"); try { this.run(dart.void, f); } catch (e$) { @@ -35162,7 +37830,7 @@ define([], (function load__dart_sdk() { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); try { this.runUnary(dart.void, T, f, arg); } catch (e$) { @@ -35175,7 +37843,7 @@ define([], (function load__dart_sdk() { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); try { this.runBinary(dart.void, T1, T2, f, arg1, arg2); } catch (e$) { @@ -35188,32 +37856,32 @@ define([], (function load__dart_sdk() { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1230, 37, "f"); let registered = this.registerCallback(R, f); return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1235, 53, "f"); let registered = this.registerUnaryCallback(R, T, f); return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1241, 9, "f"); let registered = this.registerBinaryCallback(R, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1246, 44, "f"); let registered = this.registerCallback(dart.void, f); return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1251, 53, "f"); let registered = this.registerUnaryCallback(dart.void, T, f); return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1257, 12, "f"); let registered = this.registerBinaryCallback(dart.void, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } @@ -35227,16 +37895,13 @@ define([], (function load__dart_sdk() { } return value; } - if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[76], 1277, 12, "this == _rootZone"); return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); - let implementation = this[_handleUncaughtError]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1283, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1283, 53, "stackTrace"); + this[_processUncaughtError](this, error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35247,49 +37912,49 @@ define([], (function load__dart_sdk() { return handler(implementation.zone, parentDelegate, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1296, 14, "f"); let implementation = this[_run]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1303, 22, "f"); let implementation = this[_runUnary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1310, 28, "f"); let implementation = this[_runBinary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); } registerCallback(R, callback) { - if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + if (callback == null) dart.nullFailed(I[76], 1317, 41, "callback"); let implementation = this[_registerCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, callback); } registerUnaryCallback(R, T, callback) { - if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + if (callback == null) dart.nullFailed(I[76], 1324, 57, "callback"); let implementation = this[_registerUnaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, callback); } registerBinaryCallback(R, T1, T2, callback) { - if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + if (callback == null) dart.nullFailed(I[76], 1332, 9, "callback"); let implementation = this[_registerBinaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1339, 36, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_errorCallback]; let implementationZone = implementation.zone; @@ -35299,30 +37964,30 @@ define([], (function load__dart_sdk() { return handler(implementationZone, parentDelegate, this, error, stackTrace); } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1349, 31, "f"); let implementation = this[_scheduleMicrotask]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1356, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1356, 45, "f"); let implementation = this[_createTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1363, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1363, 53, "f"); let implementation = this[_createPeriodicTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1370, 21, "line"); let implementation = this[_print]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; @@ -35330,9 +37995,9 @@ define([], (function load__dart_sdk() { } }; (async._CustomZone.new = function(parent, specification, _map) { - if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); - if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); - if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); this[_delegateCache] = null; this[parent$] = parent; this[_map$2] = _map; @@ -35352,27 +38017,27 @@ define([], (function load__dart_sdk() { async._CustomZone.__proto__.new.call(this); let run = specification.run; if (run != null) { - this[_run] = new async._RunNullaryZoneFunction.new(this, run); + this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); } let runUnary = specification.runUnary; if (runUnary != null) { - this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); } let runBinary = specification.runBinary; if (runBinary != null) { - this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); } let registerCallback = specification.registerCallback; if (registerCallback != null) { - this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); } let registerUnaryCallback = specification.registerUnaryCallback; if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); } let registerBinaryCallback = specification.registerBinaryCallback; if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); } let errorCallback = specification.errorCallback; if (errorCallback != null) { @@ -35437,15 +38102,15 @@ define([], (function load__dart_sdk() { [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); - dart.setLibraryUri(async._CustomZone, I[29]); + dart.setLibraryUri(async._CustomZone, I[31]); dart.setFieldSignature(async._CustomZone, () => ({ __proto__: dart.getFields(async._CustomZone.__proto__), - [_run]: dart.fieldType(async._RunNullaryZoneFunction), - [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), - [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), - [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), - [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), - [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_run]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_runUnary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_runBinary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_registerUnaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerBinaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), @@ -35458,44 +38123,47 @@ define([], (function load__dart_sdk() { [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) })); async._RootZone = class _RootZone extends async._Zone { + static ['_#new#tearOff']() { + return new async._RootZone.new(); + } get [_run]() { - return C[45] || CT.C45; + return C[46] || CT.C46; } get [_runUnary]() { - return C[47] || CT.C47; + return C[48] || CT.C48; } get [_runBinary]() { - return C[49] || CT.C49; + return C[50] || CT.C50; } get [_registerCallback]() { - return C[51] || CT.C51; + return C[52] || CT.C52; } get [_registerUnaryCallback]() { - return C[53] || CT.C53; + return C[54] || CT.C54; } get [_registerBinaryCallback]() { - return C[55] || CT.C55; + return C[56] || CT.C56; } get [_errorCallback]() { - return C[57] || CT.C57; + return C[58] || CT.C58; } get [_scheduleMicrotask]() { - return C[59] || CT.C59; + return C[60] || CT.C60; } get [_createTimer]() { - return C[61] || CT.C61; + return C[62] || CT.C62; } get [_createPeriodicTimer]() { - return C[63] || CT.C63; + return C[64] || CT.C64; } get [_print]() { - return C[65] || CT.C65; + return C[66] || CT.C66; } get [_fork]() { - return C[67] || CT.C67; + return C[68] || CT.C68; } get [_handleUncaughtError]() { - return C[69] || CT.C69; + return C[70] || CT.C70; } get parent() { return null; @@ -35504,9 +38172,9 @@ define([], (function load__dart_sdk() { return async._RootZone._rootMap; } get [_delegate]() { - let t131; - t131 = async._RootZone._rootDelegate; - return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + let t116; + t116 = async._RootZone._rootDelegate; + return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; } get [_parentDelegate]() { return this[_delegate]; @@ -35515,7 +38183,7 @@ define([], (function load__dart_sdk() { return this; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); try { if (async._rootZone == async.Zone._current) { f(); @@ -35532,7 +38200,7 @@ define([], (function load__dart_sdk() { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); try { if (async._rootZone == async.Zone._current) { f(arg); @@ -35549,7 +38217,7 @@ define([], (function load__dart_sdk() { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); try { if (async._rootZone == async.Zone._current) { f(arg1, arg2); @@ -35566,36 +38234,36 @@ define([], (function load__dart_sdk() { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1614, 37, "f"); return dart.fn(() => this.run(R, f), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1618, 53, "f"); return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1623, 9, "f"); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1627, 44, "f"); return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1631, 53, "f"); return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1636, 12, "f"); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } _get(key) { return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); - async._rootHandleUncaughtError(null, null, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1644, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1644, 53, "stackTrace"); + async._rootHandleError(error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35603,52 +38271,52 @@ define([], (function load__dart_sdk() { return async._rootFork(null, null, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1653, 14, "f"); if (async.Zone._current == async._rootZone) return f(); return async._rootRun(R, null, null, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1659, 22, "f"); if (async.Zone._current == async._rootZone) return f(arg); return async._rootRunUnary(R, T, null, null, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1664, 28, "f"); if (async.Zone._current == async._rootZone) return f(arg1, arg2); return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); } registerCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + if (f == null) dart.nullFailed(I[76], 1669, 41, "f"); return f; } registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); return f; } registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); return f; } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); return null; } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1679, 31, "f"); async._rootScheduleMicrotask(null, null, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1683, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1683, 45, "f"); return async.Timer._createTimer(duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1687, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1687, 53, "f"); return async.Timer._createPeriodicTimer(duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1691, 21, "line"); _internal.printToConsole(line); } }; @@ -35686,12 +38354,12 @@ define([], (function load__dart_sdk() { })); dart.setGetterSignature(async._RootZone, () => ({ __proto__: dart.getGetters(async._RootZone.__proto__), - [_run]: async._RunNullaryZoneFunction, - [_runUnary]: async._RunUnaryZoneFunction, - [_runBinary]: async._RunBinaryZoneFunction, - [_registerCallback]: async._RegisterNullaryZoneFunction, - [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, - [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_run]: async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_runUnary]: async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_runBinary]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerCallback]: async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_registerUnaryCallback]: async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerBinaryCallback]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), @@ -35705,7 +38373,8 @@ define([], (function load__dart_sdk() { [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); - dart.setLibraryUri(async._RootZone, I[29]); + dart.setLibraryUri(async._RootZone, I[31]); + dart.setStaticFieldSignature(async._RootZone, () => ['_rootMap', '_rootDelegate']); dart.defineLazy(async._RootZone, { /*async._RootZone._rootMap*/get _rootMap() { return new _js_helper.LinkedMap.new(); @@ -35713,30 +38382,30 @@ define([], (function load__dart_sdk() { /*async._RootZone._rootDelegate*/get _rootDelegate() { return null; }, - set _rootDelegate(_) {} + set _rootDelegate(value) {} }, false); async.async = function _async(T, initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 25, 22, "initGenerator"); let iter = null; let onValue = null; let onValue$35isSet = false; function onValue$35get() { return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); } - function onValue$35set(t137) { - if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + function onValue$35set(onValue$35param) { + if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); onValue$35isSet = true; - return onValue = t137; + return onValue = onValue$35param; } let onError = null; let onError$35isSet = false; function onError$35get() { return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); } - function onError$35set(t142) { - if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + function onError$35set(onError$35param) { + if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); onError$35isSet = true; - return onError = t142; + return onError = onError$35param; } function onAwait(value) { let f = null; @@ -35751,17 +38420,18 @@ define([], (function load__dart_sdk() { f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); return f; } - onValue$35set(value => { + dart.fn(onAwait, T$.ObjectNTo_FutureOfObjectN()); + onValue$35set(dart.fn(value => { let iteratorResult = iter.next(value); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); - onError$35set((value, stackTrace) => { - if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + }, T$.ObjectNToObjectN())); + onError$35set(dart.fn((value, stackTrace) => { + if (value == null) dart.nullFailed(I[64], 58, 14, "value"); let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); + }, T$.ObjectAndStackTraceNToObject())); let zone = async.Zone.current; if (zone != async._rootZone) { onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); @@ -35802,6 +38472,7 @@ define([], (function load__dart_sdk() { throw e$; } } + dart.fn(runBody, T$.VoidToNull()); if (dart.test(dart.startAsyncSynchronously)) { runBody(); isRunningAsEvent = true; @@ -35811,49 +38482,55 @@ define([], (function load__dart_sdk() { } return asyncFuture; }; - async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { - if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); - if (error == null) dart.nullFailed(I[62], 37, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); - let handler = errorHandler; - if (T$.NeverAndNeverTodynamic().is(handler)) { - return dart.dcall(errorHandler, [error, stackTrace]); - } else { - return dart.dcall(errorHandler, [error]); - } + async.unawaited = function unawaited(future) { }; async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return $this.catchError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[67], 769, 17, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + if (error == null) dart.nullFailed(I[70], 1047, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 1047, 35, "stackTrace"); return handleError(E.as(error), stackTrace); }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + if (error == null) dart.nullFailed(I[70], 1049, 23, "error"); return E.is(error) && (test == null || dart.test(test(error))); }, T$.ObjectTobool())}); }; async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); return dart.fn((E, handleError, opts) => { - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); }, dart.gFnType(E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); - return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: __t$EToNbool()}, {}]; }, E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); return [core.Object]; })); }; + async['FutureExtensions|ignore'] = function FutureExtensions$124ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + let self = $this; + if (async._Future$(T).is(self)) { + self[_ignore](); + } else { + self.then(dart.void, C[72] || CT.C72, {onError: C[72] || CT.C72}); + } + }; + async['FutureExtensions|get#ignore'] = function FutureExtensions$124get$35ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + return dart.fn(() => async['FutureExtensions|ignore'](T, $this), T$.VoidTovoid()); + }; + async['FutureExtensions|_ignore'] = function FutureExtensions$124_ignore(_, __ = null) { + }; async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 963, 13, "result"); - if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1267, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1267, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35861,12 +38538,11 @@ define([], (function load__dart_sdk() { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); result[_completeError](error, stackTrace); }; async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 977, 13, "result"); - if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1280, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1280, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35880,15 +38556,15 @@ define([], (function load__dart_sdk() { result[_asyncCompleteError](error, stackTrace); }; async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { - if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); - if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (errorHandler == null) dart.nullFailed(I[71], 897, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[71], 897, 60, "zone"); if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); } if (T$.ObjectTodynamic().is(errorHandler)) { return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); } - dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); }; async._microtaskLoop = function _microtaskLoop() { for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { @@ -35907,18 +38583,18 @@ define([], (function load__dart_sdk() { async._lastPriorityCallback = null; async._isInCallbackLoop = false; if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } }; async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + if (callback == null) dart.nullFailed(I[72], 63, 44, "callback"); let newEntry = new async._AsyncCallbackEntry.new(callback); let lastCallback = async._lastCallback; if (lastCallback == null) { async._nextCallback = async._lastCallback = newEntry; if (!dart.test(async._isInCallbackLoop)) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } else { lastCallback.next = newEntry; @@ -35926,7 +38602,7 @@ define([], (function load__dart_sdk() { } }; async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); if (async._nextCallback == null) { async._scheduleAsyncCallback(callback); async._lastPriorityCallback = async._lastCallback; @@ -35948,7 +38624,7 @@ define([], (function load__dart_sdk() { } }; async.scheduleMicrotask = function scheduleMicrotask(callback) { - if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + if (callback == null) dart.nullFailed(I[72], 129, 40, "callback"); let currentZone = async.Zone._current; if (async._rootZone == currentZone) { async._rootScheduleMicrotask(null, null, async._rootZone, callback); @@ -35977,16 +38653,16 @@ define([], (function load__dart_sdk() { async._nullDataHandler = function _nullDataHandler(value) { }; async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 570, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 494, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 494, 49, "stackTrace"); async.Zone.current.handleUncaughtError(error, stackTrace); }; async._nullDoneHandler = function _nullDoneHandler() { }; async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { - if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); - if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); - if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + if (userCode == null) dart.nullFailed(I[73], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[73], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[73], 9, 5, "onError"); try { onSuccess(userCode()); } catch (e$) { @@ -36006,10 +38682,10 @@ define([], (function load__dart_sdk() { } }; async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 26, 63, "future"); - if (error == null) dart.nullFailed(I[70], 27, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 26, 63, "future"); + if (error == null) dart.nullFailed(I[73], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 27, 30, "stackTrace"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); @@ -36018,10 +38694,10 @@ define([], (function load__dart_sdk() { } }; async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); - if (future == null) dart.nullFailed(I[70], 37, 13, "future"); - if (error == null) dart.nullFailed(I[70], 37, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[73], 37, 13, "future"); + if (error == null) dart.nullFailed(I[73], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 37, 46, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36030,17 +38706,17 @@ define([], (function load__dart_sdk() { async._cancelAndError(subscription, future, error, stackTrace); }; async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { - if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); - if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + if (subscription == null) dart.nullFailed(I[73], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[73], 48, 46, "future"); return dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[70], 49, 18, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 49, 36, "stackTrace"); async._cancelAndError(subscription, future, error, stackTrace); }, T$.ObjectAndStackTraceTovoid()); }; async._cancelAndValue = function _cancelAndValue(subscription, future, value) { - if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + if (subscription == null) dart.nullFailed(I[73], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 56, 63, "future"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); @@ -36049,9 +38725,9 @@ define([], (function load__dart_sdk() { } }; async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { - if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); - if (error == null) dart.nullFailed(I[70], 170, 29, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[73], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 170, 47, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36060,21 +38736,22 @@ define([], (function load__dart_sdk() { sink[_addError](error, stackTrace); }; async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); - if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + if (zone == null) dart.nullFailed(I[76], 1378, 70, "zone"); + if (error == null) dart.nullFailed(I[76], 1379, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1379, 30, "stackTrace"); + async._rootHandleError(error, stackTrace); + }; + async._rootHandleError = function _rootHandleError(error, stackTrace) { + if (error == null) dart.nullFailed(I[76], 1383, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1383, 48, "stackTrace"); async._schedulePriorityAsyncCallback(dart.fn(() => { - async._rethrow(error, stackTrace); + core.Error.throwWithStackTrace(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }, T$.VoidTovoid())); }; - async._rethrow = function _rethrow(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 199, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); - throw dart.createErrorWithStack(error, stackTrace); - }; async._rootRun = function _rootRun(R, self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); - if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1389, 54, "zone"); + if (f == null) dart.nullFailed(I[76], 1389, 62, "f"); if (async.Zone._current == zone) return f(); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36087,8 +38764,8 @@ define([], (function load__dart_sdk() { } }; async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 1405, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1405, 52, "f"); if (async.Zone._current == zone) return f(arg); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36101,8 +38778,8 @@ define([], (function load__dart_sdk() { } }; async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); - if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (zone == null) dart.nullFailed(I[76], 1420, 68, "zone"); + if (f == null) dart.nullFailed(I[76], 1421, 7, "f"); if (async.Zone._current == zone) return f(arg1, arg2); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36115,36 +38792,36 @@ define([], (function load__dart_sdk() { } }; async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1437, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1437, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1437, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1437, 50, "f"); return f; }; async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1442, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1442, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1442, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1442, 50, "f"); return f; }; async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1447, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1447, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1447, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1447, 50, "f"); return f; }; async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { - if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); - if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + if (self == null) dart.nullFailed(I[76], 1451, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1451, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1451, 69, "zone"); + if (error == null) dart.nullFailed(I[76], 1452, 16, "error"); return null; }; async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (zone == null) dart.nullFailed(I[76], 1456, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1456, 55, "f"); if (async._rootZone != zone) { let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); if (hasErrorHandler) { @@ -36156,46 +38833,46 @@ define([], (function load__dart_sdk() { async._scheduleAsyncCallback(f); }; async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); - if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); - if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); - if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (self == null) dart.nullFailed(I[76], 1468, 29, "self"); + if (parent == null) dart.nullFailed(I[76], 1468, 48, "parent"); + if (zone == null) dart.nullFailed(I[76], 1468, 61, "zone"); + if (duration == null) dart.nullFailed(I[76], 1469, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1469, 40, "callback"); if (async._rootZone != zone) { callback = zone.bindCallback(dart.void, callback); } return async.Timer._createTimer(duration, callback); }; async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); - if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (self == null) dart.nullFailed(I[76], 1476, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1476, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1476, 69, "zone"); + if (duration == null) dart.nullFailed(I[76], 1477, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1477, 29, "callback"); if (async._rootZone != zone) { callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); } return async.Timer._createPeriodicTimer(duration, callback); }; async._rootPrint = function _rootPrint(self, parent, zone, line) { - if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); - if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); - if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); - if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + if (self == null) dart.nullFailed(I[76], 1484, 22, "self"); + if (parent == null) dart.nullFailed(I[76], 1484, 41, "parent"); + if (zone == null) dart.nullFailed(I[76], 1484, 54, "zone"); + if (line == null) dart.nullFailed(I[76], 1484, 67, "line"); _internal.printToConsole(line); }; async._printToZone = function _printToZone(line) { - if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + if (line == null) dart.nullFailed(I[76], 1488, 26, "line"); async.Zone.current.print(line); }; async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (zone == null) dart.nullFailed(I[76], 1492, 55, "zone"); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); } - _internal.printToZone = C[72] || CT.C72; + _internal.printToZone = C[74] || CT.C74; if (specification == null) { - specification = C[73] || CT.C73; + specification = C[75] || CT.C75; } else if (!async._ZoneSpecification.is(specification)) { specification = async.ZoneSpecification.from(specification); } @@ -36203,13 +38880,13 @@ define([], (function load__dart_sdk() { if (zoneValues == null) { valueMap = zone[_map$3]; } else { - valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + valueMap = T$0.HashMapOfObjectN$ObjectN().from(zoneValues); } if (specification == null) dart.throw("unreachable"); return new async._CustomZone.new(zone, specification, valueMap); }; async.runZoned = function runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + if (body == null) dart.nullFailed(I[76], 1727, 17, "body"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; let onError = opts && 'onError' in opts ? opts.onError : null; @@ -36219,8 +38896,8 @@ define([], (function load__dart_sdk() { if (T$.ObjectTovoid().is(onError)) { let originalOnError = onError; onError = dart.fn((error, stack) => { - if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); - if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + if (error == null) dart.nullFailed(I[76], 1737, 27, "error"); + if (stack == null) dart.nullFailed(I[76], 1737, 45, "stack"); return originalOnError(error); }, T$.ObjectAndStackTraceTovoid()); } else { @@ -36232,19 +38909,19 @@ define([], (function load__dart_sdk() { return async._runZoned(R, body, zoneValues, zoneSpecification); }; async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); - if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + if (body == null) dart.nullFailed(I[76], 1767, 25, "body"); + if (onError == null) dart.nullFailed(I[76], 1767, 38, "onError"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; _internal.checkNotNullable(dart.fnType(R, []), body, "body"); _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); let parentZone = async.Zone._current; let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { - if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); - if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); - if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); - if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + if (self == null) dart.nullFailed(I[76], 1772, 51, "self"); + if (parent == null) dart.nullFailed(I[76], 1772, 70, "parent"); + if (zone == null) dart.nullFailed(I[76], 1773, 12, "zone"); + if (error == null) dart.nullFailed(I[76], 1773, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1773, 43, "stackTrace"); try { parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); } catch (e$) { @@ -36278,28 +38955,30 @@ define([], (function load__dart_sdk() { return null; }; async._runZoned = function _runZoned(R, body, zoneValues, specification) { - if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + if (body == null) dart.nullFailed(I[76], 1799, 18, "body"); return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); }; dart.defineLazy(async, { /*async._nextCallback*/get _nextCallback() { return null; }, - set _nextCallback(_) {}, + set _nextCallback(value) {}, /*async._lastCallback*/get _lastCallback() { return null; }, - set _lastCallback(_) {}, + set _lastCallback(value) {}, /*async._lastPriorityCallback*/get _lastPriorityCallback() { return null; }, - set _lastPriorityCallback(_) {}, + set _lastPriorityCallback(value) {}, /*async._isInCallbackLoop*/get _isInCallbackLoop() { return false; }, - set _isInCallbackLoop(_) {}, + set _isInCallbackLoop(value) { + if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); + }, /*async._rootZone*/get _rootZone() { - return C[44] || CT.C44; + return C[45] || CT.C45; } }, false); var _map$4 = dart.privateName(collection, "_HashSet._map"); @@ -36311,19 +38990,18 @@ define([], (function load__dart_sdk() { var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); const _is_SetMixin_default = Symbol('_is_SetMixin_default'); collection.SetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class SetMixin extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -36338,9 +39016,9 @@ define([], (function load__dart_sdk() { return core.Set.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[75], 47, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[78], 47, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); @@ -36349,18 +39027,18 @@ define([], (function load__dart_sdk() { this.removeAll(this.toList()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 56, 27, "elements"); for (let element of elements) this.add(element); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 60, 36, "elements"); for (let element of elements) this.remove(element); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); let toRemove = this.toSet(); for (let o of elements) { toRemove.remove(o); @@ -36368,7 +39046,7 @@ define([], (function load__dart_sdk() { this.removeAll(toRemove); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + if (test == null) dart.nullFailed(I[78], 74, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (dart.test(test(element))) toRemove[$add](element); @@ -36376,7 +39054,7 @@ define([], (function load__dart_sdk() { this.removeAll(toRemove); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + if (test == null) dart.nullFailed(I[78], 82, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (!dart.test(test(element))) toRemove[$add](element); @@ -36384,24 +39062,24 @@ define([], (function load__dart_sdk() { this.removeAll(toRemove); } containsAll(other) { - if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + if (other == null) dart.nullFailed(I[78], 90, 38, "other"); for (let o of other) { if (!dart.test(this.contains(o))) return false; } return true; } union(other) { - let t151; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[75], 97, 23, "other"); - t151 = this.toSet(); + let t136; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[78], 97, 23, "other"); + t136 = this.toSet(); return (() => { - t151.addAll(other); - return t151; + t136.addAll(other); + return t136; })(); } intersection(other) { - if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + if (other == null) dart.nullFailed(I[78], 101, 36, "other"); let result = this.toSet(); for (let element of this) { if (!dart.test(other.contains(element))) result.remove(element); @@ -36409,7 +39087,7 @@ define([], (function load__dart_sdk() { return result; } difference(other) { - if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + if (other == null) dart.nullFailed(I[78], 109, 34, "other"); let result = this.toSet(); for (let element of this) { if (dart.test(other.contains(element))) result.remove(element); @@ -36418,11 +39096,11 @@ define([], (function load__dart_sdk() { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[78], 117, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } map(T, f) { - if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + if (f == null) dart.nullFailed(I[78], 120, 24, "f"); return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); } get single() { @@ -36436,21 +39114,21 @@ define([], (function load__dart_sdk() { return collection.IterableBase.iterableToFullString(this, "{", "}"); } where(f) { - if (f == null) dart.nullFailed(I[75], 136, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[78], 136, 26, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + if (f == null) dart.nullFailed(I[78], 138, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } forEach(f) { - if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + if (f == null) dart.nullFailed(I[78], 141, 21, "f"); for (let element of this) f(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[78], 145, 14, "combine"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -36462,21 +39140,21 @@ define([], (function load__dart_sdk() { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + if (combine == null) dart.nullFailed(I[78], 157, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(f) { - if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + if (f == null) dart.nullFailed(I[78], 163, 19, "f"); for (let element of this) { if (!dart.test(f(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + if (separator == null) dart.nullFailed(I[78], 170, 23, "separator"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -36494,27 +39172,27 @@ define([], (function load__dart_sdk() { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + if (test == null) dart.nullFailed(I[78], 188, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } return false; } take(n) { - if (n == null) dart.nullFailed(I[75], 195, 24, "n"); - return TakeIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 195, 24, "n"); + return __t$TakeIterableOfE().new(this, n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[75], 199, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 199, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(n) { - if (n == null) dart.nullFailed(I[75], 203, 24, "n"); - return SkipIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 203, 24, "n"); + return __t$SkipIterableOfE().new(this, n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[75], 207, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 207, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this.iterator; @@ -36535,9 +39213,9 @@ define([], (function load__dart_sdk() { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + if (test == null) dart.nullFailed(I[78], 231, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -36545,20 +39223,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + if (test == null) dart.nullFailed(I[78], 239, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t154) { + function result$35set(result$35param) { result$35isSet = true; - return result = t154; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36571,20 +39247,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + if (test == null) dart.nullFailed(I[78], 253, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t159) { + function result$35set(result$35param) { result$35isSet = true; - return result = t159; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36600,7 +39274,7 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + if (index == null) dart.nullFailed(I[78], 270, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -36608,7 +39282,7 @@ define([], (function load__dart_sdk() { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } } (SetMixin.new = function() { @@ -36686,7 +39360,7 @@ define([], (function load__dart_sdk() { last: E, [$last]: E })); - dart.setLibraryUri(SetMixin, I[24]); + dart.setLibraryUri(SetMixin, I[25]); dart.defineExtensionMethods(SetMixin, [ 'cast', 'followedBy', @@ -36733,7 +39407,7 @@ define([], (function load__dart_sdk() { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); } difference(other) { - if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + if (other == null) dart.nullFailed(I[78], 324, 34, "other"); let result = this[_newSet](); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); @@ -36741,7 +39415,7 @@ define([], (function load__dart_sdk() { return result; } intersection(other) { - if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + if (other == null) dart.nullFailed(I[78], 332, 36, "other"); let result = this[_newSet](); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); @@ -36749,11 +39423,11 @@ define([], (function load__dart_sdk() { return result; } toSet() { - let t151; - t151 = this[_newSet](); + let t136; + t136 = this[_newSet](); return (() => { - t151.addAll(this); - return t151; + t136.addAll(this); + return t136; })(); } } @@ -36770,7 +39444,7 @@ define([], (function load__dart_sdk() { toSet: dart.fnType(core.Set$(E), []), [$toSet]: dart.fnType(core.Set$(E), []) })); - dart.setLibraryUri(_SetBase, I[24]); + dart.setLibraryUri(_SetBase, I[25]); dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); return _SetBase; }); @@ -36778,7 +39452,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._SetBase, _is__SetBase_default); const _is__InternalSet_default = Symbol('_is__InternalSet_default'); collection._InternalSet$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _InternalSet extends collection._SetBase$(E) { get length() { return this[_map$5].size; @@ -36790,7 +39464,7 @@ define([], (function load__dart_sdk() { return this[_map$5].size != 0; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } [Symbol.iterator]() { let self = this; @@ -36824,7 +39498,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_InternalSet, I[24]); + dart.setLibraryUri(_InternalSet, I[25]); dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); return _InternalSet; }); @@ -36832,8 +39506,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); const _is__HashSet_default = Symbol('_is__HashSet_default'); collection._HashSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _HashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$4]; @@ -36847,8 +39521,11 @@ define([], (function load__dart_sdk() { set [_modifications$3](value) { this[_modifications$2] = value; } + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -36858,7 +39535,7 @@ define([], (function load__dart_sdk() { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36873,7 +39550,7 @@ define([], (function load__dart_sdk() { if (key == null) return null; if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36893,7 +39570,7 @@ define([], (function load__dart_sdk() { } else if (key[$_equals] !== dart.identityEquals) { let keyMap = this[_keyMap$]; let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -36908,12 +39585,12 @@ define([], (function load__dart_sdk() { return false; } map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 244, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { @@ -36925,7 +39602,7 @@ define([], (function load__dart_sdk() { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(key) { @@ -36933,7 +39610,7 @@ define([], (function load__dart_sdk() { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap$].get(hash); if (buckets == null) return false; for (let i = 0, n = buckets.length;;) { @@ -36952,7 +39629,7 @@ define([], (function load__dart_sdk() { } let map = this[_map$5]; if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -36962,7 +39639,7 @@ define([], (function load__dart_sdk() { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -36987,7 +39664,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_HashSet, I[24]); + dart.setLibraryUri(_HashSet, I[25]); dart.setFieldSignature(_HashSet, () => ({ __proto__: dart.getFields(_HashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37001,15 +39678,19 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._HashSet, _is__HashSet_default); const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); collection._ImmutableSet$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _ImmutableSet extends collection._HashSet$(E) { + static ['_#from#tearOff'](E, entries) { + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); + return new (collection._ImmutableSet$(E)).from(entries); + } add(value) { E.as(value); return dart.throw(collection._ImmutableSet._unsupported()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); return dart.throw(collection._ImmutableSet._unsupported()); } clear() { @@ -37023,7 +39704,7 @@ define([], (function load__dart_sdk() { } } (_ImmutableSet.from = function(entries) { - if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); _ImmutableSet.__proto__.new.call(this); let map = this[_map$5]; for (let key of entries) { @@ -37038,7 +39719,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_ImmutableSet); _ImmutableSet.prototype[_is__ImmutableSet_default] = true; dart.addTypeCaches(_ImmutableSet); - dart.setLibraryUri(_ImmutableSet, I[24]); + dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); + dart.setLibraryUri(_ImmutableSet, I[25]); return _ImmutableSet; }); collection._ImmutableSet = collection._ImmutableSet$(); @@ -37047,8 +39729,8 @@ define([], (function load__dart_sdk() { var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); collection._IdentityHashSet$ = dart.generic(E => { - var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_IdentityHashSetOfE = () => (__t$_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _IdentityHashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$6]; @@ -37062,8 +39744,11 @@ define([], (function load__dart_sdk() { set [_modifications$3](value) { this[_modifications$4] = value; } + static ['_#new#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } [_newSet]() { - return new (_IdentityHashSetOfE()).new(); + return new (__t$_IdentityHashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._IdentityHashSet$(R)).new(); @@ -37079,24 +39764,24 @@ define([], (function load__dart_sdk() { let map = this[_map$5]; if (map.has(element)) return false; map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 363, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(element) { if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -37105,7 +39790,7 @@ define([], (function load__dart_sdk() { let map = this[_map$5]; if (map.size > 0) { map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -37129,7 +39814,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setLibraryUri(_IdentityHashSet, I[25]); dart.setFieldSignature(_IdentityHashSet, () => ({ __proto__: dart.getFields(_IdentityHashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37147,8 +39832,8 @@ define([], (function load__dart_sdk() { var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); collection._CustomHashSet$ = dart.generic(E => { - var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_CustomHashSetOfE = () => (__t$_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _CustomHashSet extends collection._InternalSet$(E) { get [_modifications$3]() { return this[_modifications$5]; @@ -37162,16 +39847,21 @@ define([], (function load__dart_sdk() { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); + return new (collection._CustomHashSet$(E)).new(_equals, _hashCode); + } [_newSet]() { - return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + return new (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37183,9 +39873,9 @@ define([], (function load__dart_sdk() { return false; } lookup(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37197,10 +39887,10 @@ define([], (function load__dart_sdk() { return null; } add(key) { - let t161; + let t144; E.as(key); let keyMap = this[_keyMap$]; - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -37213,19 +39903,19 @@ define([], (function load__dart_sdk() { buckets.push(key); } this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 497, 27, "objects"); for (let element of objects) this.add(element); } remove(key) { - let t161; + let t144; if (E.is(key)) { - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let keyMap = this[_keyMap$]; let buckets = keyMap.get(hash); if (buckets == null) return false; @@ -37239,7 +39929,7 @@ define([], (function load__dart_sdk() { buckets.splice(i, 1); } this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } } @@ -37251,13 +39941,13 @@ define([], (function load__dart_sdk() { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } (_CustomHashSet.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); - if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); this[_modifications$5] = 0; this[_map$7] = new Set(); this[_keyMap$] = new Map(); @@ -37280,7 +39970,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setLibraryUri(_CustomHashSet, I[25]); dart.setFieldSignature(_CustomHashSet, () => ({ __proto__: dart.getFields(_CustomHashSet.__proto__), [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), @@ -37296,34 +39986,40 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); collection._CustomKeyHashSet$ = dart.generic(E => { - var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + var __t$_CustomKeyHashSetOfE = () => (__t$_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + static ['_#new#tearOff'](E, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); + return new (collection._CustomKeyHashSet$(E)).new(equals, hashCode, _validKey); + } [_newSet]() { - return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + return new (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.contains(element); } lookup(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; return super.lookup(element); } remove(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.remove(element); } } (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); - if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); - if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); this[_validKey$0] = _validKey; _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); ; @@ -37335,7 +40031,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setLibraryUri(_CustomKeyHashSet, I[25]); dart.setFieldSignature(_CustomKeyHashSet, () => ({ __proto__: dart.getFields(_CustomKeyHashSet.__proto__), [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -37349,6 +40045,10 @@ define([], (function load__dart_sdk() { const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); collection.UnmodifiableListView$ = dart.generic(E => { class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); + return new (collection.UnmodifiableListView$(E)).new(source); + } cast(R) { return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); } @@ -37359,12 +40059,12 @@ define([], (function load__dart_sdk() { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + if (index == null) dart.nullFailed(I[79], 34, 21, "index"); return this[_source][$elementAt](index); } } (UnmodifiableListView.new = function(source) { - if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); this[_source] = source; ; }).prototype = UnmodifiableListView.prototype; @@ -37383,7 +40083,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setLibraryUri(UnmodifiableListView, I[25]); dart.setFieldSignature(UnmodifiableListView, () => ({ __proto__: dart.getFields(UnmodifiableListView.__proto__), [_source]: dart.finalFieldType(core.Iterable$(E)) @@ -37398,7 +40098,7 @@ define([], (function load__dart_sdk() { collection.HashMap$ = dart.generic((K, V) => { class HashMap extends core.Object { static new(opts) { - let t161, t161$, t161$0; + let t144, t144$, t144$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37410,55 +40110,87 @@ define([], (function load__dart_sdk() { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t144$ = equals, t144$ == null ? C[79] || CT.C79 : t144$), (t144$0 = hashCode, t144$0 == null ? C[76] || CT.C76 : t144$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); + return collection.HashMap$(K, V).from(other); + } static of(other) { - let t161; - if (other == null) dart.nullFailed(I[77], 110, 32, "other"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addAll](other); - return t161; + t144[$addAll](other); + return t144; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + return collection.HashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.HashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); - if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); + return collection.HashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t161; - if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addEntries](entries); - return t161; + t144[$addEntries](entries); + return t144; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + return collection.HashMap$(K, V).fromEntries(entries); + } } (HashMap[dart.mixinNew] = function() { }).prototype = HashMap.prototype; @@ -37467,7 +40199,9 @@ define([], (function load__dart_sdk() { HashMap.prototype[_is_HashMap_default] = true; dart.addTypeCaches(HashMap); HashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(HashMap, I[24]); + dart.setStaticMethodSignature(HashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(HashMap, I[25]); + dart.setStaticFieldSignature(HashMap, () => ['_redirecting#']); return HashMap; }); collection.HashMap = collection.HashMap$(); @@ -37476,7 +40210,7 @@ define([], (function load__dart_sdk() { collection.HashSet$ = dart.generic(E => { class HashSet extends core.Object { static new(opts) { - let t161, t161$, t161$0, t161$1; + let t144, t144$, t144$0, t144$1; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37488,30 +40222,47 @@ define([], (function load__dart_sdk() { } return new (collection._HashSet$(E)).new(); } - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + return new (collection._CustomHashSet$(E)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), (t144$ = hashCode, t144$ == null ? C[76] || CT.C76 : t144$)); } - return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t144$0 = equals, t144$0 == null ? C[79] || CT.C79 : t144$0), (t144$1 = hashCode, t144$1 == null ? C[76] || CT.C76 : t144$1), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); let result = new (collection._HashSet$(E)).new(); for (let e of elements) { result.add(E.as(e)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); + return collection.HashSet$(E).from(elements); + } static of(elements) { - let t161; - if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); - t161 = new (collection._HashSet$(E)).new(); + let t144; + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + t144 = new (collection._HashSet$(E)).new(); return (() => { - t161.addAll(elements); - return t161; + t144.addAll(elements); + return t144; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + return collection.HashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -37522,54 +40273,55 @@ define([], (function load__dart_sdk() { HashSet.prototype[_is_HashSet_default] = true; dart.addTypeCaches(HashSet); HashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(HashSet, I[24]); + dart.setStaticMethodSignature(HashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(HashSet, I[25]); + dart.setStaticFieldSignature(HashSet, () => ['_redirecting#']); return HashSet; }); collection.HashSet = collection.HashSet$(); dart.addTypeTests(collection.HashSet, _is_HashSet_default); const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); collection.IterableMixin$ = dart.generic(E => { - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class IterableMixin extends core.Object { cast(R) { return core.Iterable.castFrom(E, R, this); } - map(T, f) { - if (f == null) dart.nullFailed(I[39], 17, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } - where(f) { - if (f == null) dart.nullFailed(I[39], 19, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + where(test) { + if (test == null) dart.nullFailed(I[41], 20, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[39], 23, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[41], 27, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } contains(element) { for (let e of this) { @@ -37577,14 +40329,14 @@ define([], (function load__dart_sdk() { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[41], 44, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[41], 48, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -37596,21 +40348,21 @@ define([], (function load__dart_sdk() { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + if (combine == null) dart.nullFailed(I[41], 60, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } - every(f) { - if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + every(test) { + if (test == null) dart.nullFailed(I[41], 66, 19, "test"); for (let element of this) { - if (!dart.test(f(element))) return false; + if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + if (separator == null) dart.nullFailed(I[41], 73, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -37628,7 +40380,7 @@ define([], (function load__dart_sdk() { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + if (test == null) dart.nullFailed(I[41], 91, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -37636,14 +40388,14 @@ define([], (function load__dart_sdk() { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); - return ListOfE().from(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); + return __t$ListOfE().from(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[41], 104, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -37658,20 +40410,20 @@ define([], (function load__dart_sdk() { return !dart.test(this.isEmpty); } take(count) { - if (count == null) dart.nullFailed(I[39], 116, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 117, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[39], 120, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 121, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[39], 124, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 125, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[39], 128, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 129, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -37699,9 +40451,9 @@ define([], (function load__dart_sdk() { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + if (test == null) dart.nullFailed(I[41], 161, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -37709,20 +40461,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + if (test == null) dart.nullFailed(I[41], 169, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t164) { + function result$35set(result$35param) { result$35isSet = true; - return result = t164; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37735,20 +40485,18 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + if (test == null) dart.nullFailed(I[41], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t169) { + function result$35set(result$35param) { result$35isSet = true; - return result = t169; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37764,7 +40512,7 @@ define([], (function load__dart_sdk() { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + if (index == null) dart.nullFailed(I[41], 200, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -37772,7 +40520,7 @@ define([], (function load__dart_sdk() { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -37853,7 +40601,7 @@ define([], (function load__dart_sdk() { single: E, [$single]: E })); - dart.setLibraryUri(IterableMixin, I[24]); + dart.setLibraryUri(IterableMixin, I[25]); dart.defineExtensionMethods(IterableMixin, [ 'cast', 'map', @@ -37898,13 +40646,17 @@ define([], (function load__dart_sdk() { const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); collection.HasNextIterator$ = dart.generic(E => { class HasNextIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); + return new (collection.HasNextIterator$(E)).new(_iterator); + } get hasNext() { if (this[_state$] === 2) this[_move](); return this[_state$] === 0; } next() { if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); - if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); let result = this[_iterator$0].current; this[_move](); return result; @@ -37918,7 +40670,7 @@ define([], (function load__dart_sdk() { } } (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); this[_state$] = 2; this[_iterator$0] = _iterator; ; @@ -37935,12 +40687,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(HasNextIterator.__proto__), hasNext: core.bool })); - dart.setLibraryUri(HasNextIterator, I[24]); + dart.setLibraryUri(HasNextIterator, I[25]); dart.setFieldSignature(HasNextIterator, () => ({ __proto__: dart.getFields(HasNextIterator.__proto__), [_iterator$0]: dart.fieldType(core.Iterator$(E)), [_state$]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(HasNextIterator, () => ['_HAS_NEXT_AND_NEXT_IN_CURRENT', '_NO_NEXT', '_NOT_MOVED_YET']); return HasNextIterator; }); collection.HasNextIterator = collection.HasNextIterator$(); @@ -37960,7 +40713,7 @@ define([], (function load__dart_sdk() { collection.LinkedHashMap$ = dart.generic((K, V) => { class LinkedHashMap extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37972,55 +40725,87 @@ define([], (function load__dart_sdk() { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } static of(other) { - let t171; - if (other == null) dart.nullFailed(I[80], 94, 38, "other"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addAll](other); - return t171; + t152[$addAll](other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); - if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t171; - if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addEntries](entries); - return t171; + t152[$addEntries](entries); + return t152; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + return collection.LinkedHashMap$(K, V).fromEntries(entries); + } } (LinkedHashMap[dart.mixinNew] = function() { }).prototype = LinkedHashMap.prototype; @@ -38029,7 +40814,9 @@ define([], (function load__dart_sdk() { LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; dart.addTypeCaches(LinkedHashMap); LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(LinkedHashMap, I[24]); + dart.setStaticMethodSignature(LinkedHashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(LinkedHashMap, I[25]); + dart.setStaticFieldSignature(LinkedHashMap, () => ['_redirecting#']); return LinkedHashMap; }); collection.LinkedHashMap = collection.LinkedHashMap$(); @@ -38038,7 +40825,7 @@ define([], (function load__dart_sdk() { collection.LinkedHashSet$ = dart.generic(E => { class LinkedHashSet extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -38050,31 +40837,48 @@ define([], (function load__dart_sdk() { } return new (collection._HashSet$(E)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (collection._CustomHashSet$(E)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); let result = new (collection._HashSet$(E)).new(); for (let element of elements) { result.add(E.as(element)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } static of(elements) { - let t171; - if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); - t171 = new (collection._HashSet$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + t152 = new (collection._HashSet$(E)).new(); return (() => { - t171.addAll(elements); - return t171; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -38085,7 +40889,9 @@ define([], (function load__dart_sdk() { LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; dart.addTypeCaches(LinkedHashSet); LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(LinkedHashSet, I[24]); + dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(LinkedHashSet, I[25]); + dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); return LinkedHashSet; }); collection.LinkedHashSet = collection.LinkedHashSet$(); @@ -38100,38 +40906,41 @@ define([], (function load__dart_sdk() { var _previous$2 = dart.privateName(collection, "_previous"); const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); collection.LinkedList$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_LinkedListIteratorOfE = () => (__t$_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedList extends core.Iterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection.LinkedList$(E)).new(); + } addFirst(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + if (entry == null) dart.nullFailed(I[85], 90, 19, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: true}); this[_first] = entry; } add(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + if (entry == null) dart.nullFailed(I[85], 96, 14, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: false}); } addAll(entries) { - IterableOfE().as(entries); - if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + __t$IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[85], 101, 27, "entries"); entries[$forEach](dart.bind(this, 'add')); } remove(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (entry == null) dart.nullFailed(I[85], 111, 17, "entry"); if (!dart.equals(entry[_list$0], this)) return false; this[_unlink](entry); return true; } contains(entry) { - return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; } get iterator() { - return new (_LinkedListIteratorOfE()).new(this); + return new (__t$_LinkedListIteratorOfE()).new(this); } get length() { return this[_length$0]; @@ -38170,7 +40979,7 @@ define([], (function load__dart_sdk() { return dart.nullCheck(this[_first]); } forEach(action) { - if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + if (action == null) dart.nullFailed(I[85], 171, 21, "action"); let modificationCount = this[_modificationCount]; if (dart.test(this.isEmpty)) return; let current = dart.nullCheck(this[_first]); @@ -38186,18 +40995,18 @@ define([], (function load__dart_sdk() { return this[_length$0] === 0; } [_insertBefore](entry, newEntry, opts) { - EN().as(entry); + __t$EN().as(entry); E.as(newEntry); - if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + if (newEntry == null) dart.nullFailed(I[85], 191, 34, "newEntry"); let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; - if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (updateFirst == null) dart.nullFailed(I[85], 191, 59, "updateFirst"); if (newEntry.list != null) { dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); } this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; newEntry[_list$0] = this; if (dart.test(this.isEmpty)) { - if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + if (!(entry == null)) dart.assertFailed(null, I[85], 199, 14, "entry == null"); newEntry[_previous$2] = newEntry[_next$2] = newEntry; this[_first] = newEntry; this[_length$0] = dart.notNull(this[_length$0]) + 1; @@ -38216,7 +41025,7 @@ define([], (function load__dart_sdk() { } [_unlink](entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + if (entry == null) dart.nullFailed(I[85], 217, 18, "entry"); this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; @@ -38254,7 +41063,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(LinkedList, I[24]); + dart.setLibraryUri(LinkedList, I[25]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_modificationCount]: dart.fieldType(core.int), @@ -38279,6 +41088,10 @@ define([], (function load__dart_sdk() { const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); collection._LinkedListIterator$ = dart.generic(E => { class _LinkedListIterator extends core.Object { + static ['_#new#tearOff'](E, list) { + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); + return new (collection._LinkedListIterator$(E)).new(list); + } get current() { return dart.nullCast(this[_current$1], E); } @@ -38297,7 +41110,7 @@ define([], (function load__dart_sdk() { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); this[_current$1] = null; this[_list$0] = list; this[_modificationCount] = list[_modificationCount]; @@ -38317,7 +41130,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: E })); - dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setLibraryUri(_LinkedListIterator, I[25]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), @@ -38335,27 +41148,27 @@ define([], (function load__dart_sdk() { var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); collection.LinkedListEntry$ = dart.generic(E => { - var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); - var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$LinkedListOfE = () => (__t$LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var __t$LinkedListNOfE = () => (__t$LinkedListNOfE = dart.constFn(dart.nullable(__t$LinkedListOfE())))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedListEntry extends core.Object { get [_list$0]() { return this[_list$1]; } set [_list$0](value) { - this[_list$1] = LinkedListNOfE().as(value); + this[_list$1] = __t$LinkedListNOfE().as(value); } get [_next$2]() { return this[_next$3]; } set [_next$2](value) { - this[_next$3] = EN().as(value); + this[_next$3] = __t$EN().as(value); } get [_previous$2]() { return this[_previous$3]; } set [_previous$2](value) { - this[_previous$3] = EN().as(value); + this[_previous$3] = __t$EN().as(value); } get list() { return this[_list$0]; @@ -38373,12 +41186,12 @@ define([], (function load__dart_sdk() { } insertAfter(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + if (entry == null) dart.nullFailed(I[85], 312, 22, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); } insertBefore(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + if (entry == null) dart.nullFailed(I[85], 320, 23, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); } } @@ -38403,7 +41216,7 @@ define([], (function load__dart_sdk() { next: dart.nullable(E), previous: dart.nullable(E) })); - dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setLibraryUri(LinkedListEntry, I[25]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), @@ -38416,8 +41229,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); collection._MapBaseValueIterable$ = dart.generic((K, V) => { - var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + var __t$_MapBaseValueIteratorOfK$V = () => (__t$_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); + return new (collection._MapBaseValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][$length]; } @@ -38437,11 +41254,11 @@ define([], (function load__dart_sdk() { return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); } get iterator() { - return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); } } (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); this[_map$5] = _map; _MapBaseValueIterable.__proto__.new.call(this); ; @@ -38454,7 +41271,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setLibraryUri(_MapBaseValueIterable, I[25]); dart.setFieldSignature(_MapBaseValueIterable, () => ({ __proto__: dart.getFields(_MapBaseValueIterable.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38476,6 +41293,10 @@ define([], (function load__dart_sdk() { const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); collection._MapBaseValueIterator$ = dart.generic((K, V) => { class _MapBaseValueIterator extends core.Object { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); + return new (collection._MapBaseValueIterator$(K, V)).new(map); + } moveNext() { if (dart.test(this[_keys].moveNext())) { this[_current$1] = this[_map$5][$_get](this[_keys].current); @@ -38489,7 +41310,7 @@ define([], (function load__dart_sdk() { } } (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); this[_current$1] = null; this[_map$5] = map; this[_keys] = map[$keys][$iterator]; @@ -38507,7 +41328,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), current: V })); - dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setLibraryUri(_MapBaseValueIterator, I[25]); dart.setFieldSignature(_MapBaseValueIterator, () => ({ __proto__: dart.getFields(_MapBaseValueIterator.__proto__), [_keys]: dart.finalFieldType(core.Iterator$(K)), @@ -38521,13 +41342,13 @@ define([], (function load__dart_sdk() { var _map$8 = dart.privateName(collection, "MapView._map"); const _is_MapView_default = Symbol('_is_MapView_default'); collection.MapView$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapView extends core.Object { get [_map$5]() { return this[_map$8]; @@ -38535,6 +41356,10 @@ define([], (function load__dart_sdk() { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); + return new (collection.MapView$(K, V)).new(map); + } cast(RK, RV) { return this[_map$5][$cast](RK, RV); } @@ -38549,8 +41374,8 @@ define([], (function load__dart_sdk() { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 330, 25, "other"); this[_map$5][$addAll](other); } clear() { @@ -38558,8 +41383,8 @@ define([], (function load__dart_sdk() { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); return this[_map$5][$putIfAbsent](key, ifAbsent); } containsKey(key) { @@ -38569,7 +41394,7 @@ define([], (function load__dart_sdk() { return this[_map$5][$containsValue](value); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + if (action == null) dart.nullFailed(I[37], 341, 21, "action"); this[_map$5][$forEach](action); } get isEmpty() { @@ -38597,34 +41422,34 @@ define([], (function load__dart_sdk() { return this[_map$5][$entries]; } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 355, 44, "entries"); this[_map$5][$addEntries](entries); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 359, 44, "transform"); return this[_map$5][$map](K2, V2, transform); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 362, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 365, 20, "update"); this[_map$5][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + if (test == null) dart.nullFailed(I[37], 369, 25, "test"); this[_map$5][$removeWhere](test); } } (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); this[_map$8] = map; ; }).prototype = MapView.prototype; @@ -38681,7 +41506,7 @@ define([], (function load__dart_sdk() { entries: core.Iterable$(core.MapEntry$(K, V)), [$entries]: core.Iterable$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(MapView, I[24]); + dart.setLibraryUri(MapView, I[25]); dart.setFieldSignature(MapView, () => ({ __proto__: dart.getFields(MapView.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38724,12 +41549,16 @@ define([], (function load__dart_sdk() { }).prototype = MapView__UnmodifiableMapMixin$36.prototype; dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); + return new (collection.UnmodifiableMapView$(K, V)).new(map); + } cast(RK, RV) { return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); } } (UnmodifiableMapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); UnmodifiableMapView.__proto__.new.call(this, map); ; }).prototype = UnmodifiableMapView.prototype; @@ -38741,7 +41570,7 @@ define([], (function load__dart_sdk() { cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.setLibraryUri(UnmodifiableMapView, I[25]); dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); return UnmodifiableMapView; }); @@ -38750,8 +41579,19 @@ define([], (function load__dart_sdk() { const _is_Queue_default = Symbol('_is_Queue_default'); collection.Queue$ = dart.generic(E => { class Queue extends core.Object { + static ['_#new#tearOff'](E) { + return new (collection.ListQueue$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 52, 31, "elements"); + return collection.ListQueue$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 58, 32, "elements"); + return collection.ListQueue$(E).of(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + if (source == null) dart.nullFailed(I[86], 76, 43, "source"); return new (_internal.CastQueue$(S, T)).new(source); } [Symbol.iterator]() { @@ -38764,176 +41604,71 @@ define([], (function load__dart_sdk() { Queue.prototype[_is_Queue_default] = true; dart.addTypeCaches(Queue); Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(Queue, I[24]); + dart.setStaticMethodSignature(Queue, () => ['new', 'from', 'of', 'castFrom']); + dart.setLibraryUri(Queue, I[25]); + dart.setStaticFieldSignature(Queue, () => ['_redirecting#']); return Queue; }); collection.Queue = collection.Queue$(); dart.addTypeTests(collection.Queue, _is_Queue_default); - var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); - var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); - var _previousLink$ = dart.privateName(collection, "_previousLink"); - var _nextLink$ = dart.privateName(collection, "_nextLink"); - var _link = dart.privateName(collection, "_link"); - const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); - collection._DoubleLink$ = dart.generic(Link => { - var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); - class _DoubleLink extends core.Object { - get [_previousLink$]() { - return this[_previousLink]; - } - set [_previousLink$](value) { - this[_previousLink] = LinkN().as(value); - } - get [_nextLink$]() { - return this[_nextLink]; - } - set [_nextLink$](value) { - this[_nextLink] = LinkN().as(value); - } - [_link](previous, next) { - this[_nextLink$] = next; - this[_previousLink$] = previous; - if (previous != null) previous[_nextLink$] = Link.as(this); - if (next != null) next[_previousLink$] = Link.as(this); - } - [_unlink]() { - if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; - if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; - this[_nextLink$] = null; - this[_previousLink$] = null; - } - } - (_DoubleLink.new = function() { - this[_previousLink] = null; - this[_nextLink] = null; - ; - }).prototype = _DoubleLink.prototype; - dart.addTypeTests(_DoubleLink); - _DoubleLink.prototype[_is__DoubleLink_default] = true; - dart.addTypeCaches(_DoubleLink); - dart.setMethodSignature(_DoubleLink, () => ({ - __proto__: dart.getMethods(_DoubleLink.__proto__), - [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), - [_unlink]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_DoubleLink, I[24]); - dart.setFieldSignature(_DoubleLink, () => ({ - __proto__: dart.getFields(_DoubleLink.__proto__), - [_previousLink$]: dart.fieldType(dart.nullable(Link)), - [_nextLink$]: dart.fieldType(dart.nullable(Link)) - })); - return _DoubleLink; - }); - collection._DoubleLink = collection._DoubleLink$(); - dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); - var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); - var _element = dart.privateName(collection, "_element"); - const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); - collection.DoubleLinkedQueueEntry$ = dart.generic(E => { - var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); - class DoubleLinkedQueueEntry extends collection._DoubleLink { - get [_element]() { - return this[_element$]; - } - set [_element](value) { - this[_element$] = value; - } - get element() { - return E.as(this[_element]); - } - set element(element) { - E.as(element); - this[_element] = element; - } - append(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); - } - prepend(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); - } - remove() { - this[_unlink](); - return this.element; - } - previousEntry() { - return this[_previousLink$]; - } - nextEntry() { - return this[_nextLink$]; - } - } - (DoubleLinkedQueueEntry.new = function(_element) { - this[_element$] = _element; - DoubleLinkedQueueEntry.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueueEntry.prototype; - dart.addTypeTests(DoubleLinkedQueueEntry); - DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; - dart.addTypeCaches(DoubleLinkedQueueEntry); - dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), - append: dart.fnType(dart.void, [dart.nullable(core.Object)]), - prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(E, []), - previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) - })); - dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), - element: E - })); - dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), - element: dart.nullable(core.Object) - })); - dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); - dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), - [_element]: dart.fieldType(dart.nullable(E)) - })); - return DoubleLinkedQueueEntry; - }, E => { - dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); - }); - collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); - dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); - var _queue$ = dart.privateName(collection, "_queue"); + var _previousLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._previousLink"); + var _nextLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._nextLink"); + var _previousLink$1 = dart.privateName(collection, "_previousLink"); + var _nextLink$1 = dart.privateName(collection, "_nextLink"); + var _link$ = dart.privateName(collection, "_link"); var _append = dart.privateName(collection, "_append"); var _prepend = dart.privateName(collection, "_prepend"); - var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { - [_append](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); - } - [_prepend](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + var __t$_DoubleLinkedQueueEntryOfE = () => (__t$_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var __t$_DoubleLinkedQueueEntryNOfE = () => (__t$_DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$_DoubleLinkedQueueEntryOfE())))(); + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$_DoubleLinkedQueueElementOfE = () => (__t$_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + class _DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$1]() { + return this[_previousLink$0]; + } + set [_previousLink$1](value) { + this[_previousLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$1]() { + return this[_nextLink$0]; + } + set [_nextLink$1](value) { + this[_nextLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + [_link$](previous, next) { + let t152, t152$; + this[_nextLink$1] = next; + this[_previousLink$1] = previous; + t152 = previous; + t152 == null ? null : t152[_nextLink$1] = this; + t152$ = next; + t152$ == null ? null : t152$[_previousLink$1] = this; } - get [_element]() { - return E.as(super[_element]); - } - set [_element](value) { - super[_element] = value; - } - nextEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); - return entry[_asNonSentinelEntry](); + [_unlink]() { + let t152, t152$; + t152 = this[_previousLink$1]; + t152 == null ? null : t152[_nextLink$1] = this[_nextLink$1]; + t152$ = this[_nextLink$1]; + t152$ == null ? null : t152$[_previousLink$1] = this[_previousLink$1]; + this[_previousLink$1] = this[_nextLink$1] = null; + } + [_append](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this, this[_nextLink$1]); } - previousEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); - return entry[_asNonSentinelEntry](); + [_prepend](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); } } - (_DoubleLinkedQueueEntry.new = function(element, _queue) { - this[_queue$] = _queue; - _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + (_DoubleLinkedQueueEntry.new = function() { + this[_previousLink$0] = null; + this[_nextLink$0] = null; ; }).prototype = _DoubleLinkedQueueEntry.prototype; dart.addTypeTests(_DoubleLinkedQueueEntry); @@ -38941,75 +41676,146 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(_DoubleLinkedQueueEntry); dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), - [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + [_link$]: dart.fnType(dart.void, [dart.nullable(collection._DoubleLinkedQueueEntry$(E)), dart.nullable(collection._DoubleLinkedQueueEntry$(E))]), + [_unlink]: dart.fnType(dart.void, []), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), - [_element]: E - })); - dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + [_previousLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), + [_nextLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))) })); return _DoubleLinkedQueueEntry; }); collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); + var _queue$ = dart.privateName(collection, "_DoubleLinkedQueueElement._queue"); + var element$0 = dart.privateName(collection, "_DoubleLinkedQueueElement.element"); + var _queue$0 = dart.privateName(collection, "_queue"); var _elementCount = dart.privateName(collection, "_elementCount"); var _remove = dart.privateName(collection, "_remove"); + var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); + var _nextLink_ = dart.privateName(collection, "_nextLink="); + var _previousLink_ = dart.privateName(collection, "_previousLink="); const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); collection._DoubleLinkedQueueElement$ = dart.generic(E => { + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + get [_queue$0]() { + return this[_queue$]; + } + set [_queue$0](value) { + this[_queue$] = __t$DoubleLinkedQueueNOfE().as(value); + } + get element() { + return this[element$0]; + } + set element(value) { + this[element$0] = E.as(value); + } + static ['_#new#tearOff'](E, element, _queue) { + return new (collection._DoubleLinkedQueueElement$(E)).new(element, _queue); + } append(e) { - let t171; + let t152; E.as(e); - this[_append](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_append](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } prepend(e) { - let t171; + let t152; E.as(e); - this[_prepend](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_prepend](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } [_remove]() { - this[_queue$] = null; + this[_queue$0] = null; this[_unlink](); return this.element; } remove() { - let t171; - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; - } + let t152; + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) - 1; return this[_remove](); } [_asNonSentinelEntry]() { return this; } + previousEntry() { + let t152; + t152 = this[_previousLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + nextEntry() { + let t152; + t152 = this[_nextLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + [_link](previous, next) { + __t$DoubleLinkedQueueEntryNOfE().as(previous); + __t$DoubleLinkedQueueEntryNOfE().as(next); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[80] || CT.C80, null, [previous, next]))); + } + get [_nextLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[81] || CT.C81))); + } + get [_previousLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[82] || CT.C82))); + } + set [_nextLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[83] || CT.C83, value))); + } + set [_previousLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[84] || CT.C84, value))); + } } - (_DoubleLinkedQueueElement.new = function(element, queue) { - _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + (_DoubleLinkedQueueElement.new = function(element, _queue) { + this[element$0] = element; + this[_queue$] = _queue; + _DoubleLinkedQueueElement.__proto__.new.call(this); ; }).prototype = _DoubleLinkedQueueElement.prototype; dart.addTypeTests(_DoubleLinkedQueueElement); _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; dart.addTypeCaches(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement[dart.implements] = () => [_internal.DoubleLinkedQueueEntry$(E)]; dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_remove]: dart.fnType(E, []), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + remove: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(collection._DoubleLinkedQueueElement$(E), []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + [_link]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), + [_previousLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)) + })); + dart.setSetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getSetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(core.Object), + [_previousLink$]: dart.nullable(core.Object) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[25]); + dart.setFieldSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueElement.__proto__), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + element: dart.fieldType(E) })); - dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); return _DoubleLinkedQueueElement; }); collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); @@ -39017,80 +41823,76 @@ define([], (function load__dart_sdk() { const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + static ['_#new#tearOff'](E) { + return new (collection._DoubleLinkedQueueSentinel$(E)).new(); + } [_asNonSentinelEntry]() { return null; } [_remove]() { dart.throw(_internal.IterableElementError.noElement()); } - get [_element]() { + get element() { dart.throw(_internal.IterableElementError.noElement()); } - set [_element](value) { - super[_element] = value; - } } - (_DoubleLinkedQueueSentinel.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); - _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); - this[_previousLink$] = this; - this[_nextLink$] = this; + (_DoubleLinkedQueueSentinel.new = function() { + _DoubleLinkedQueueSentinel.__proto__.new.call(this); + this[_previousLink$1] = this; + this[_nextLink$1] = this; }).prototype = _DoubleLinkedQueueSentinel.prototype; dart.addTypeTests(_DoubleLinkedQueueSentinel); _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; dart.addTypeCaches(_DoubleLinkedQueueSentinel); dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_asNonSentinelEntry]: dart.fnType(core.Null, []), [_remove]: dart.fnType(E, []) })); - dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + dart.setGetterSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueSentinel.__proto__), + element: E + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[25]); return _DoubleLinkedQueueSentinel; }); collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); - var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); - var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); var _sentinel = dart.privateName(collection, "_sentinel"); const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); collection.DoubleLinkedQueue$ = dart.generic(E => { - var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + var __t$_DoubleLinkedQueueSentinelOfE = () => (__t$_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_DoubleLinkedQueueIteratorOfE = () => (__t$_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); class DoubleLinkedQueue extends core.Iterable$(E) { - get [_sentinel]() { - let t171; - if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { - this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - } - t171 = this[__DoubleLinkedQueue__sentinel]; - return t171; - } - set [_sentinel](t171) { - if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - this[__DoubleLinkedQueue__sentinel] = t171; + static ['_#new#tearOff'](E) { + return new (collection.DoubleLinkedQueue$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); let list = new (collection.DoubleLinkedQueue$(E)).new(); for (let e of elements) { list.addLast(E.as(e)); } return list; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); + return collection.DoubleLinkedQueue$(E).from(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); - t172 = new (collection.DoubleLinkedQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + t152 = new (collection.DoubleLinkedQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + return collection.DoubleLinkedQueue$(E).of(elements); + } cast(R) { return collection.Queue.castFrom(E, R, this); } @@ -39099,44 +41901,44 @@ define([], (function load__dart_sdk() { } addLast(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addFirst(value) { E.as(value); - this[_sentinel][_append](value); + this[_sentinel][_append](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } add(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[86], 320, 27, "iterable"); for (let value of iterable) { - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } } removeLast() { - let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); - let result = lastEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } removeFirst() { - let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - let result = firstEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } remove(o) { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let equals = dart.equals(entry[_element], o); - if (this !== entry[_queue$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return false; + let equals = dart.equals(elementEntry.element, o); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } if (equals) { @@ -39144,89 +41946,101 @@ define([], (function load__dart_sdk() { this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return true; } - entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + entry = dart.nullCheck(entry[_nextLink$1]); } - return false; } [_filter](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 366, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let matches = test(entry[_element]); - if (this !== entry[_queue$]) { + if (test == null) dart.nullFailed(I[86], 360, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 360, 43, "removeMatching"); + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return; + let matches = test(elementEntry.element); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - let next = dart.nullCheck(entry[_nextLink$]); + let next = dart.nullCheck(entry[_nextLink$1]); if (removeMatching == matches) { - entry[_remove](); + elementEntry[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; } - entry = _DoubleLinkedQueueEntryOfE().as(next); + entry = next; } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + if (test == null) dart.nullFailed(I[86], 379, 25, "test"); this[_filter](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + if (test == null) dart.nullFailed(I[86], 383, 25, "test"); this[_filter](test, false); } get first() { - let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(firstEntry[_element]); + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } get last() { - let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); - return E.as(lastEntry[_element]); + return dart.nullCheck(this[_sentinel][_previousLink$1]).element; } get single() { - if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { - let entry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(entry[_element]); + if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } dart.throw(_internal.IterableElementError.tooMany()); } firstEntry() { - return this[_sentinel].nextEntry(); + return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); } lastEntry() { - return this[_sentinel].previousEntry(); + return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); } get isEmpty() { - return this[_sentinel][_nextLink$] == this[_sentinel]; + return this[_sentinel][_nextLink$1] == this[_sentinel]; } clear() { - this[_sentinel][_nextLink$] = this[_sentinel]; - this[_sentinel][_previousLink$] = this[_sentinel]; + let t152; + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let entry = cursor[_asNonSentinelEntry](); + if (entry == null) break; + cursor = dart.nullCheck(cursor[_nextLink$1]); + t152 = entry; + (() => { + t152[_nextLink$1] = null; + t152[_previousLink$1] = null; + t152[_queue$0] = null; + return t152; + })(); + } + this[_sentinel][_nextLink$1] = this[_sentinel]; + this[_sentinel][_previousLink$1] = this[_sentinel]; this[_elementCount] = 0; } forEachEntry(action) { - if (action == null) dart.nullFailed(I[83], 466, 26, "action"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let element = _DoubleLinkedQueueElementOfE().as(entry); - let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); - action(element); - if (this === entry[_queue$]) { - next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); - } else if (this !== next[_queue$]) { + if (action == null) dart.nullFailed(I[86], 462, 26, "action"); + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let element = cursor[_asNonSentinelEntry](); + if (element == null) break; + if (element[_queue$0] !== this) { dart.throw(new core.ConcurrentModificationError.new(this)); } - entry = next; + cursor = dart.nullCheck(cursor[_nextLink$1]); + action(element); + if (this === element[_queue$0]) { + cursor = dart.nullCheck(element[_nextLink$1]); + } } } get iterator() { - return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "{", "}"); } } (DoubleLinkedQueue.new = function() { - this[__DoubleLinkedQueue__sentinel] = null; - this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); this[_elementCount] = 0; DoubleLinkedQueue.__proto__.new.call(this); ; @@ -39249,26 +42063,21 @@ define([], (function load__dart_sdk() { [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + firstEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), clear: dart.fnType(dart.void, []), - forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [_internal.DoubleLinkedQueueEntry$(E)])]) })); + dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); dart.setGetterSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), iterator: collection._DoubleLinkedQueueIterator$(E), [$iterator]: collection._DoubleLinkedQueueIterator$(E) })); - dart.setSetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setLibraryUri(DoubleLinkedQueue, I[25]); dart.setFieldSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), [_elementCount]: dart.fieldType(core.int) })); dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); @@ -39287,32 +42096,36 @@ define([], (function load__dart_sdk() { var _nextEntry = dart.privateName(collection, "_nextEntry"); const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); collection._DoubleLinkedQueueIterator$ = dart.generic(E => { - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); class _DoubleLinkedQueueIterator extends core.Object { + static ['_#new#tearOff'](E, _queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); + return new (collection._DoubleLinkedQueueIterator$(E)).new(_queue); + } moveNext() { - if (this[_nextEntry] == this[_sentinel]) { + let t152; + let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); + if (nextElement == null) { this[_current$1] = null; this[_nextEntry] = null; - this[_sentinel] = null; + this[_queue$0] = null; return false; } - let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); - if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { - dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + if (this[_queue$0] != nextElement[_queue$0]) { + dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); } - this[_current$1] = elementEntry[_element]; - this[_nextEntry] = elementEntry[_nextLink$]; + this[_current$1] = nextElement.element; + this[_nextEntry] = nextElement[_nextLink$1]; return true; } get current() { return E.as(this[_current$1]); } } - (_DoubleLinkedQueueIterator.new = function(sentinel) { - if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + (_DoubleLinkedQueueIterator.new = function(_queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); this[_current$1] = null; - this[_sentinel] = sentinel; - this[_nextEntry] = sentinel[_nextLink$]; + this[_queue$0] = _queue; + this[_nextEntry] = _queue[_sentinel][_nextLink$1]; ; }).prototype = _DoubleLinkedQueueIterator.prototype; dart.addTypeTests(_DoubleLinkedQueueIterator); @@ -39327,11 +42140,11 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), [_current$1]: dart.fieldType(dart.nullable(E)) })); return _DoubleLinkedQueueIterator; @@ -39349,27 +42162,34 @@ define([], (function load__dart_sdk() { var _writeToList = dart.privateName(collection, "_writeToList"); const _is_ListQueue_default = Symbol('_is_ListQueue_default'); collection.ListQueue$ = dart.generic(E => { - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); - var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ListOfEN = () => (__t$ListOfEN = dart.constFn(core.List$(__t$EN())))(); + var __t$_ListQueueIteratorOfE = () => (__t$_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class ListQueue extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, initialCapacity = null) { + return new (collection.ListQueue$(E)).new(initialCapacity); + } static _calculateCapacity(initialCapacity) { if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { return 8; } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { return collection.ListQueue._nextPowerOf2(initialCapacity); } - if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[86], 608, 12, "_isPowerOf2(initialCapacity)"); return initialCapacity; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); + return collection.ListQueue$(E).from(elements); + } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); if (core.List.is(elements)) { let length = elements[$length]; let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); - if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[86], 635, 14, "queue._table.length > length"); for (let i = 0; i < dart.notNull(length); i = i + 1) { queue[_table][$_set](i, E.as(elements[$_get](i))); } @@ -39387,23 +42207,27 @@ define([], (function load__dart_sdk() { return result; } } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + return collection.ListQueue$(E).of(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); - t172 = new (collection.ListQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + t152 = new (collection.ListQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } cast(R) { return collection.Queue.castFrom(E, R, this); } get iterator() { - return new (_ListQueueIteratorOfE()).new(this); + return new (__t$_ListQueueIteratorOfE()).new(this); } forEach(f) { - if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + if (f == null) dart.nullFailed(I[86], 672, 21, "f"); let modificationCount = this[_modificationCount]; for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { f(E.as(this[_table][$_get](i))); @@ -39430,17 +42254,17 @@ define([], (function load__dart_sdk() { return E.as(this[_table][$_get](this[_head])); } elementAt(index) { - if (index == null) dart.nullFailed(I[83], 633, 19, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[86], 700, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + if (growable == null) dart.nullFailed(I[86], 705, 24, "growable"); let mask = dart.notNull(this[_table][$length]) - 1; let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; - if (length === 0) return ListOfE().empty({growable: growable}); - let list = ListOfE().filled(length, this.first, {growable: growable}); + if (length === 0) return __t$ListOfE().empty({growable: growable}); + let list = __t$ListOfE().filled(length, this.first, {growable: growable}); for (let i = 0; i < length; i = i + 1) { list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); } @@ -39451,9 +42275,9 @@ define([], (function load__dart_sdk() { this[_add$](value); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); - if (ListOfE().is(elements)) { + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[86], 723, 27, "elements"); + if (__t$ListOfE().is(elements)) { let list = elements; let addCount = list[$length]; let length = this.length; @@ -39491,8 +42315,8 @@ define([], (function load__dart_sdk() { return false; } [_filterWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 697, 26, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + if (test == null) dart.nullFailed(I[86], 764, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 764, 48, "removeMatching"); let modificationCount = this[_modificationCount]; let i = this[_head]; while (i != this[_tail]) { @@ -39508,11 +42332,11 @@ define([], (function load__dart_sdk() { } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + if (test == null) dart.nullFailed(I[86], 784, 25, "test"); this[_filterWhere](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + if (test == null) dart.nullFailed(I[86], 792, 25, "test"); this[_filterWhere](test, false); } clear() { @@ -39555,12 +42379,12 @@ define([], (function load__dart_sdk() { return result; } static _isPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + if (number == null) dart.nullFailed(I[86], 844, 31, "number"); return (dart.notNull(number) & dart.notNull(number) - 1) === 0; } static _nextPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 784, 32, "number"); - if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + if (number == null) dart.nullFailed(I[86], 851, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[86], 852, 12, "number > 0"); number = (dart.notNull(number) << 1 >>> 0) - 1; for (;;) { let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; @@ -39569,7 +42393,7 @@ define([], (function load__dart_sdk() { } } [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); if (expectedModificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } @@ -39581,7 +42405,7 @@ define([], (function load__dart_sdk() { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_remove](offset) { - if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + if (offset == null) dart.nullFailed(I[86], 884, 19, "offset"); let mask = dart.notNull(this[_table][$length]) - 1; let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; @@ -39608,7 +42432,7 @@ define([], (function load__dart_sdk() { } } [_grow$]() { - let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let newTable = __t$ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); newTable[$setRange](0, split, this[_table], this[_head]); newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); @@ -39617,8 +42441,8 @@ define([], (function load__dart_sdk() { this[_table] = newTable; } [_writeToList](target) { - if (target == null) dart.nullFailed(I[83], 856, 29, "target"); - if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (target == null) dart.nullFailed(I[86], 923, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 924, 12, "target.length >= length"); if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); target[$setRange](0, length, this[_table], this[_head]); @@ -39631,11 +42455,11 @@ define([], (function load__dart_sdk() { } } [_preGrow](newElementCount) { - if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); - if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + if (newElementCount == null) dart.nullFailed(I[86], 938, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 939, 12, "newElementCount >= length"); newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); - let newTable = ListOfEN().filled(newCapacity, null); + let newTable = __t$ListOfEN().filled(newCapacity, null); this[_tail] = this[_writeToList](newTable); this[_table] = newTable; this[_head] = 0; @@ -39645,7 +42469,7 @@ define([], (function load__dart_sdk() { this[_modificationCount] = 0; this[_head] = 0; this[_tail] = 0; - this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); ListQueue.__proto__.new.call(this); ; }).prototype = ListQueue.prototype; @@ -39675,7 +42499,8 @@ define([], (function load__dart_sdk() { [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), [_preGrow]: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(ListQueue, I[24]); + dart.setStaticMethodSignature(ListQueue, () => ['_calculateCapacity', 'from', 'of', '_isPowerOf2', '_nextPowerOf2']); + dart.setLibraryUri(ListQueue, I[25]); dart.setFieldSignature(ListQueue, () => ({ __proto__: dart.getFields(ListQueue.__proto__), [_table]: dart.fieldType(core.List$(dart.nullable(E))), @@ -39683,6 +42508,7 @@ define([], (function load__dart_sdk() { [_tail]: dart.fieldType(core.int), [_modificationCount]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); dart.defineExtensionMethods(ListQueue, [ 'cast', 'forEach', @@ -39712,24 +42538,28 @@ define([], (function load__dart_sdk() { const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); collection._ListQueueIterator$ = dart.generic(E => { class _ListQueueIterator extends core.Object { + static ['_#new#tearOff'](E, queue) { + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); + return new (collection._ListQueueIterator$(E)).new(queue); + } get current() { return E.as(this[_current$1]); } moveNext() { - this[_queue$][_checkModification](this[_modificationCount]); + this[_queue$0][_checkModification](this[_modificationCount]); if (this[_position] == this[_end]) { this[_current$1] = null; return false; } - this[_current$1] = this[_queue$][_table][$_get](this[_position]); - this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + this[_current$1] = this[_queue$0][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$0][_table][$length]) - 1) >>> 0; return true; } } (_ListQueueIterator.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); this[_current$1] = null; - this[_queue$] = queue; + this[_queue$0] = queue; this[_end] = queue[_tail]; this[_modificationCount] = queue[_modificationCount]; this[_position] = queue[_head]; @@ -39747,10 +42577,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_ListQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setLibraryUri(_ListQueueIterator, I[25]); dart.setFieldSignature(_ListQueueIterator, () => ({ __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), [_end]: dart.finalFieldType(core.int), [_modificationCount]: dart.finalFieldType(core.int), [_position]: dart.fieldType(core.int), @@ -39768,7 +42598,7 @@ define([], (function load__dart_sdk() { dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); class SetBase extends Object_SetMixin$36 { static setToString(set) { - if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + if (set == null) dart.nullFailed(I[78], 307, 33, "set"); return collection.IterableBase.iterableToFullString(set, "{", "}"); } } @@ -39778,14 +42608,15 @@ define([], (function load__dart_sdk() { dart.addTypeTests(SetBase); SetBase.prototype[_is_SetBase_default] = true; dart.addTypeCaches(SetBase); - dart.setLibraryUri(SetBase, I[24]); + dart.setStaticMethodSignature(SetBase, () => ['setToString']); + dart.setLibraryUri(SetBase, I[25]); return SetBase; }); collection.SetBase = collection.SetBase$(); dart.addTypeTests(collection.SetBase, _is_SetBase_default); const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); collection._UnmodifiableSetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _UnmodifiableSetMixin extends core.Object { static _throwUnmodifiable() { dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); @@ -39800,28 +42631,28 @@ define([], (function load__dart_sdk() { return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 356, 27, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 359, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 362, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + if (test == null) dart.nullFailed(I[78], 365, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + if (test == null) dart.nullFailed(I[78], 368, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } @@ -39851,7 +42682,8 @@ define([], (function load__dart_sdk() { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); + dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); return _UnmodifiableSetMixin; }); collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); @@ -39859,7 +42691,7 @@ define([], (function load__dart_sdk() { var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); collection._UnmodifiableSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; (_SetBase__UnmodifiableSetMixin$36.new = function() { _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); @@ -39872,8 +42704,12 @@ define([], (function load__dart_sdk() { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _map) { + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); + return new (collection._UnmodifiableSet$(E)).new(_map); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -39895,7 +42731,7 @@ define([], (function load__dart_sdk() { } } (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); this[_map$9] = _map; _UnmodifiableSet.__proto__.new.call(this); ; @@ -39918,7 +42754,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setLibraryUri(_UnmodifiableSet, I[25]); dart.setFieldSignature(_UnmodifiableSet, () => ({ __proto__: dart.getFields(_UnmodifiableSet.__proto__), [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) @@ -39936,6 +42772,10 @@ define([], (function load__dart_sdk() { }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); + return new (collection.UnmodifiableSetView$(E)).new(source); + } contains(element) { return this[_source].contains(element); } @@ -39953,7 +42793,7 @@ define([], (function load__dart_sdk() { } } (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); this[_source] = source; ; }).prototype = UnmodifiableSetView.prototype; @@ -39975,7 +42815,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setLibraryUri(UnmodifiableSetView, I[25]); dart.setFieldSignature(UnmodifiableSetView, () => ({ __proto__: dart.getFields(UnmodifiableSetView.__proto__), [_source]: dart.finalFieldType(core.Set$(E)) @@ -39992,19 +42832,22 @@ define([], (function load__dart_sdk() { var _right$ = dart.privateName(collection, "_right"); const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); collection._SplayTreeNode$ = dart.generic((K, Node) => { - var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + var __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); class _SplayTreeNode extends core.Object { get [_left$]() { return this[_left]; } set [_left$](value) { - this[_left] = NodeN().as(value); + this[_left] = __t$NodeN().as(value); } get [_right$]() { return this[_right]; } set [_right$](value) { - this[_right] = NodeN().as(value); + this[_right] = __t$NodeN().as(value); + } + static ['_#new#tearOff'](K, Node, key) { + return new (collection._SplayTreeNode$(K, Node)).new(key); } } (_SplayTreeNode.new = function(key) { @@ -40016,7 +42859,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_SplayTreeNode); _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setLibraryUri(_SplayTreeNode, I[25]); dart.setFieldSignature(_SplayTreeNode, () => ({ __proto__: dart.getFields(_SplayTreeNode.__proto__), key: dart.finalFieldType(K), @@ -40029,7 +42872,11 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); collection._SplayTreeSetNode$ = dart.generic(K => { - class _SplayTreeSetNode extends collection._SplayTreeNode {} + class _SplayTreeSetNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, key) { + return new (collection._SplayTreeSetNode$(K)).new(key); + } + } (_SplayTreeSetNode.new = function(key) { _SplayTreeSetNode.__proto__.new.call(this, key); ; @@ -40037,7 +42884,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_SplayTreeSetNode); _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[24]); + dart.setLibraryUri(_SplayTreeSetNode, I[25]); return _SplayTreeSetNode; }, K => { dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); @@ -40047,16 +42894,19 @@ define([], (function load__dart_sdk() { var _replaceValue = dart.privateName(collection, "_replaceValue"); const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); collection._SplayTreeMapNode$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); class _SplayTreeMapNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, V, key, value) { + return new (collection._SplayTreeMapNode$(K, V)).new(key, value); + } [_replaceValue](value) { - let t172; + let t152; V.as(value); - t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); return (() => { - t172[_left$] = this[_left$]; - t172[_right$] = this[_right$]; - return t172; + t152[_left$] = this[_left$]; + t152[_right$] = this[_right$]; + return t152; })(); } toString() { @@ -40076,7 +42926,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setLibraryUri(_SplayTreeMapNode, I[25]); dart.setFieldSignature(_SplayTreeMapNode, () => ({ __proto__: dart.getFields(_SplayTreeMapNode.__proto__), value: dart.finalFieldType(V) @@ -40103,13 +42953,13 @@ define([], (function load__dart_sdk() { collection._SplayTree$ = dart.generic((K, Node) => { class _SplayTree extends core.Object { [_splay](key) { - let t173, t172; + let t153, t152; K.as(key); let root = this[_root]; if (root == null) { - t172 = key; - t173 = key; - this[_compare](t172, t173); + t152 = key; + t153 = key; + this[_compare](t152, t153); return -1; } let right = null; @@ -40176,7 +43026,7 @@ define([], (function load__dart_sdk() { return comp; } [_splayMin](node) { - if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + if (node == null) dart.nullFailed(I[87], 173, 23, "node"); let current = node; let nextLeft = current[_left$]; while (nextLeft != null) { @@ -40189,7 +43039,7 @@ define([], (function load__dart_sdk() { return current; } [_splayMax](node) { - if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + if (node == null) dart.nullFailed(I[87], 191, 23, "node"); let current = node; let nextRight = current[_right$]; while (nextRight != null) { @@ -40221,8 +43071,8 @@ define([], (function load__dart_sdk() { return result; } [_addNewRoot](node, comp) { - if (node == null) dart.nullFailed(I[84], 233, 25, "node"); - if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + if (node == null) dart.nullFailed(I[87], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[87], 233, 35, "comp"); this[_count$] = dart.notNull(this[_count$]) + 1; this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; let root = this[_root]; @@ -40259,8 +43109,8 @@ define([], (function load__dart_sdk() { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_containsKey](key) { - let t172; - return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + let t152; + return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; } } (_SplayTree.new = function() { @@ -40287,7 +43137,7 @@ define([], (function load__dart_sdk() { [_first]: dart.nullable(Node), [_last$]: dart.nullable(Node) })); - dart.setLibraryUri(_SplayTree, I[24]); + dart.setLibraryUri(_SplayTree, I[25]); dart.setFieldSignature(_SplayTree, () => ({ __proto__: dart.getFields(_SplayTree.__proto__), [_count$]: dart.fieldType(core.int), @@ -40303,19 +43153,19 @@ define([], (function load__dart_sdk() { var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); collection.SplayTreeMap$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); - var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); - var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); - var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); - var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_SplayTreeMapNodeNOfK$V = () => (__t$_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(__t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeMapNodeNOfK$VTobool = () => (__t$_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [__t$_SplayTreeMapNodeNOfK$V()])))(); + var __t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, __t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeValueIterableOfK$V = () => (__t$_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var __t$_SplayTreeMapEntryIterableOfK$V = () => (__t$_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; (_SplayTree_MapMixin$36.new = function() { _SplayTree_MapMixin$36.__proto__.new.call(this); @@ -40332,16 +43182,21 @@ define([], (function load__dart_sdk() { return this[_compare$]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 397, 17, "_compare"); this[_compare$] = value; } get [_validKey$0]() { return this[_validKey]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 398, 14, "_validKey"); this[_validKey] = value; } + static ['_#new#tearOff'](K, V, compare = null, isValidKey = null) { + return new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + } static from(other, compare = null, isValidKey = null) { - if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); if (core.Map$(K, V).is(other)) { return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); } @@ -40351,17 +43206,25 @@ define([], (function load__dart_sdk() { }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); + return collection.SplayTreeMap$(K, V).from(other, compare, isValidKey); + } static of(other, compare = null, isValidKey = null) { - let t172; - if (other == null) dart.nullFailed(I[84], 344, 37, "other"); - t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + let t152; + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let compare = opts && 'compare' in opts ? opts.compare : null; @@ -40370,16 +43233,29 @@ define([], (function load__dart_sdk() { collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.SplayTreeMap$(K, V).fromIterable(iterable, {key: key, value: value, compare: compare, isValidKey: isValidKey}); + } static fromIterables(keys, values, compare = null, isValidKey = null) { - if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); - if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); + return collection.SplayTreeMap$(K, V).fromIterables(keys, values, compare, isValidKey); + } _get(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; if (this[_root] != null) { let comp = this[_splay](K.as(key)); if (comp === 0) { @@ -40389,8 +43265,8 @@ define([], (function load__dart_sdk() { return null; } remove(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; let mapRoot = this[_remove](K.as(key)); if (mapRoot != null) return mapRoot.value; return null; @@ -40405,13 +43281,13 @@ define([], (function load__dart_sdk() { this[_splayCount] = dart.notNull(this[_splayCount]) + 1; return value$; } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[87], 525, 26, "ifAbsent"); let comp = this[_splay](key); if (comp === 0) { return dart.nullCheck(this[_root]).value; @@ -40424,17 +43300,17 @@ define([], (function load__dart_sdk() { } if (splayCount != this[_splayCount]) { comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value; } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[87], 545, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); let comp = this[_splay](key); if (comp === 0) { let modificationCount = this[_modificationCount]; @@ -40460,17 +43336,17 @@ define([], (function load__dart_sdk() { if (splayCount != this[_splayCount]) { comp = this[_splay](key); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); return newValue; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[87], 577, 20, "update"); let root = this[_root]; if (root == null) return; - let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + let iterator = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(iterator.moveNext())) { let node = iterator.current; let newValue = update(node.key, node.value); @@ -40478,11 +43354,11 @@ define([], (function load__dart_sdk() { } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[87], 588, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } get isEmpty() { return this[_root] == null; @@ -40491,8 +43367,8 @@ define([], (function load__dart_sdk() { return !dart.test(this.isEmpty); } forEach(f) { - if (f == null) dart.nullFailed(I[84], 493, 21, "f"); - let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + if (f == null) dart.nullFailed(I[87], 600, 21, "f"); + let nodes = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(nodes.moveNext())) { let node = nodes.current; f(node.key, node.value); @@ -40522,17 +43398,17 @@ define([], (function load__dart_sdk() { } return false; }; - dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); return visit(this[_root]); } get keys() { - return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); } get values() { - return new (_SplayTreeValueIterableOfK$V()).new(this); + return new (__t$_SplayTreeValueIterableOfK$V()).new(this); } get entries() { - return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); } firstKey() { if (this[_root] == null) return null; @@ -40574,10 +43450,10 @@ define([], (function load__dart_sdk() { } } (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$] = null; - this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); - this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + this[_compare$] = (t152 = compare, t152 == null ? collection._defaultCompare(K) : t152); + this[_validKey] = (t152$ = isValidKey, t152$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t152$); SplayTreeMap.__proto__.new.call(this); ; }).prototype = SplayTreeMap.prototype; @@ -40599,12 +43475,13 @@ define([], (function load__dart_sdk() { lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(SplayTreeMap, () => ['from', 'of', 'fromIterable', 'fromIterables']); dart.setGetterSignature(SplayTreeMap, () => ({ __proto__: dart.getGetters(SplayTreeMap.__proto__), keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setLibraryUri(SplayTreeMap, I[25]); dart.setFieldSignature(SplayTreeMap, () => ({ __proto__: dart.getFields(SplayTreeMap.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), @@ -40643,7 +43520,7 @@ define([], (function load__dart_sdk() { var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { - var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + var __t$JSArrayOfNode = () => (__t$JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); class _SplayTreeIterator extends core.Object { get current() { if (dart.test(this[_path][$isEmpty])) return T.as(null); @@ -40696,8 +43573,8 @@ define([], (function load__dart_sdk() { } } (_SplayTreeIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); - this[_path] = JSArrayOfNode().of([]); + if (tree == null) dart.nullFailed(I[87], 722, 42, "tree"); + this[_path] = __t$JSArrayOfNode().of([]); this[_modificationCount] = null; this[_tree$] = tree; this[_splayCount] = tree[_splayCount]; @@ -40717,7 +43594,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_SplayTreeIterator.__proto__), current: T })); - dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setLibraryUri(_SplayTreeIterator, I[25]); dart.setFieldSignature(_SplayTreeIterator, () => ({ __proto__: dart.getFields(_SplayTreeIterator.__proto__), [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), @@ -40732,10 +43609,14 @@ define([], (function load__dart_sdk() { var _copyNode = dart.privateName(collection, "_copyNode"); const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { - var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); - var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); - var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + var __t$_SplayTreeKeyIteratorOfK$Node = () => (__t$_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var __t$SplayTreeSetOfK = () => (__t$SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var __t$KAndKToint = () => (__t$KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + static ['_#new#tearOff'](K, Node, _tree) { + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); + return new (collection._SplayTreeKeyIterable$(K, Node)).new(_tree); + } get length() { return this[_tree$][_count$]; } @@ -40743,20 +43624,20 @@ define([], (function load__dart_sdk() { return this[_tree$][_count$] === 0; } get iterator() { - return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); } contains(o) { return this[_tree$][_containsKey](o); } toSet() { - let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + let set = new (__t$SplayTreeSetOfK()).new(__t$KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); set[_count$] = this[_tree$][_count$]; set[_root] = set[_copyNode](Node, this[_tree$][_root]); return set; } } (_SplayTreeKeyIterable.new = function(_tree) { - if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); this[_tree$] = _tree; _SplayTreeKeyIterable.__proto__.new.call(this); ; @@ -40769,7 +43650,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(K), [$iterator]: core.Iterator$(K) })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) @@ -40782,8 +43663,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); collection._SplayTreeValueIterable$ = dart.generic((K, V) => { - var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + var __t$_SplayTreeValueIteratorOfK$V = () => (__t$_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); + return new (collection._SplayTreeValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40791,11 +43676,11 @@ define([], (function load__dart_sdk() { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); this[_map$5] = _map; _SplayTreeValueIterable.__proto__.new.call(this); ; @@ -40808,7 +43693,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setLibraryUri(_SplayTreeValueIterable, I[25]); dart.setFieldSignature(_SplayTreeValueIterable, () => ({ __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40835,6 +43720,12 @@ define([], (function load__dart_sdk() { set value(value) { super.value = value; } + static ['_#new#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } + static ['_#_#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } toString() { return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; } @@ -40847,12 +43738,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(MapEntry); MapEntry.prototype[_is_MapEntry_default] = true; dart.addTypeCaches(MapEntry); - dart.setLibraryUri(MapEntry, I[8]); + dart.setStaticMethodSignature(MapEntry, () => ['new']); + dart.setLibraryUri(MapEntry, I[9]); dart.setFieldSignature(MapEntry, () => ({ __proto__: dart.getFields(MapEntry.__proto__), key: dart.finalFieldType(K), value: dart.finalFieldType(V) })); + dart.setStaticFieldSignature(MapEntry, () => ['_redirecting#']); dart.defineExtensionMethods(MapEntry, ['toString']); return MapEntry; }); @@ -40860,8 +43753,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.MapEntry, _is_MapEntry_default); const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); + return new (collection._SplayTreeMapEntryIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40869,11 +43766,11 @@ define([], (function load__dart_sdk() { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); this[_map$5] = _map; _SplayTreeMapEntryIterable.__proto__.new.call(this); ; @@ -40886,7 +43783,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(core.MapEntry$(K, V)), [$iterator]: core.Iterator$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40899,13 +43796,17 @@ define([], (function load__dart_sdk() { const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + static ['_#new#tearOff'](K, Node, map) { + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); + return new (collection._SplayTreeKeyIterator$(K, Node)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + if (node == null) dart.nullFailed(I[87], 827, 20, "node"); return node.key; } } (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); _SplayTreeKeyIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeKeyIterator.prototype; @@ -40916,7 +43817,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), [_getValue]: dart.fnType(K, [Node]) })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); return _SplayTreeKeyIterator; }); collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); @@ -40924,13 +43825,17 @@ define([], (function load__dart_sdk() { const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); collection._SplayTreeValueIterator$ = dart.generic((K, V) => { class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); + return new (collection._SplayTreeValueIterator$(K, V)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + if (node == null) dart.nullFailed(I[87], 833, 39, "node"); return node.value; } } (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); _SplayTreeValueIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeValueIterator.prototype; @@ -40941,7 +43846,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) })); - dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + dart.setLibraryUri(_SplayTreeValueIterator, I[25]); return _SplayTreeValueIterator; }); collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); @@ -40949,14 +43854,18 @@ define([], (function load__dart_sdk() { const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, tree) { + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); + return new (collection._SplayTreeMapEntryIterator$(K, V)).new(tree); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + if (node == null) dart.nullFailed(I[87], 839, 52, "node"); return node; } [_replaceValue](value) { - let t172; + let t152; V.as(value); - if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[87], 843, 12, "_path.isNotEmpty"); if (this[_modificationCount] != this[_tree$][_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); } @@ -40972,16 +43881,16 @@ define([], (function load__dart_sdk() { if (last == parent[_left$]) { parent[_left$] = newLast; } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); parent[_right$] = newLast; } } this[_path][$add](newLast); - this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); } } (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); ; }).prototype = _SplayTreeMapEntryIterator.prototype; @@ -40993,7 +43902,7 @@ define([], (function load__dart_sdk() { [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); return _SplayTreeMapEntryIterator; }); collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); @@ -41004,12 +43913,12 @@ define([], (function load__dart_sdk() { var _clone$ = dart.privateName(collection, "_clone"); const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); collection.SplayTreeSet$ = dart.generic(E => { - var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); - var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); - var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var __t$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var __t$_SplayTreeSetNodeNOfE = () => (__t$_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(__t$_SplayTreeSetNodeOfE())))(); + var __t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, __t$_SplayTreeSetNodeOfE())))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$SplayTreeSetOfE = () => (__t$SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; (_SplayTree_IterableMixin$36.new = function() { _SplayTree_IterableMixin$36.__proto__.new.call(this); @@ -41025,22 +43934,27 @@ define([], (function load__dart_sdk() { return this[_root$0]; } set [_root](value) { - this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + this[_root$0] = __t$_SplayTreeSetNodeNOfE().as(value); } get [_compare]() { return this[_compare$0]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 954, 17, "_compare"); this[_compare$0] = value; } get [_validKey$0]() { return this[_validKey$1]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 955, 14, "_validKey"); this[_validKey$1] = value; } + static ['_#new#tearOff'](E, compare = null, isValidKey = null) { + return new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + } static from(elements, compare = null, isValidKey = null) { - if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); if (core.Iterable$(E).is(elements)) { return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); } @@ -41050,28 +43964,36 @@ define([], (function load__dart_sdk() { } return result; } + static ['_#from#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); + return collection.SplayTreeSet$(E).from(elements, compare, isValidKey); + } static of(elements, compare = null, isValidKey = null) { - let t172; - if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); - t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + let t152; + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } [_newSet](T) { return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { - let t173, t172; - t172 = E.as(a); - t173 = E.as(b); - return this[_compare](t172, t173); + let t153, t152; + t152 = E.as(a); + t153 = E.as(b); + return this[_compare](t152, t153); }, dart.fnType(core.int, [T, T])), this[_validKey$0]); } cast(R) { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); } get iterator() { - return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + return new (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); } get length() { return this[_count$]; @@ -41096,8 +44018,8 @@ define([], (function load__dart_sdk() { return dart.nullCheck(this[_root]).key; } contains(element) { - let t172; - return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + let t152; + return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; } add(element) { E.as(element); @@ -41106,38 +44028,38 @@ define([], (function load__dart_sdk() { [_add$](element) { let compare = this[_splay](element); if (compare === 0) return false; - this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); return true; } remove(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; return this[_remove](E.as(object)) != null; } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[87], 1082, 27, "elements"); for (let element of elements) { this[_add$](element); } } removeAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + let t152; + if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); for (let element of elements) { - if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); } } retainAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); - let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let t152; + if (elements == null) dart.nullFailed(I[87], 1094, 36, "elements"); + let retainSet = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); let modificationCount = this[_modificationCount]; for (let object of elements) { if (modificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + if (dart.test((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { retainSet.add(dart.nullCheck(this[_root]).key); } } @@ -41148,70 +44070,70 @@ define([], (function load__dart_sdk() { } } lookup(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return null; let comp = this[_splay](E.as(object)); if (comp !== 0) return null; return dart.nullCheck(this[_root]).key; } intersection(other) { - if (other == null) dart.nullFailed(I[84], 936, 36, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1123, 36, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); } return result; } difference(other) { - if (other == null) dart.nullFailed(I[84], 944, 34, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1131, 34, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); } return result; } union(other) { - let t172; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[84], 952, 23, "other"); - t172 = this[_clone$](); + let t152; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); + t152 = this[_clone$](); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } [_clone$]() { - let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); set[_count$] = this[_count$]; - set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + set[_root] = this[_copyNode](__t$_SplayTreeSetNodeOfE(), this[_root]); return set; } [_copyNode](Node, node) { dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); if (node == null) return null; function copyChildren(node, dest) { - if (node == null) dart.nullFailed(I[84], 972, 28, "node"); - if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + if (node == null) dart.nullFailed(I[87], 1159, 28, "node"); + if (dest == null) dart.nullFailed(I[87], 1159, 55, "dest"); let left = null; let right = null; do { left = node[_left$]; right = node[_right$]; if (left != null) { - let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + let newLeft = new (__t$_SplayTreeSetNodeOfE()).new(left.key); dest[_left$] = newLeft; copyChildren(left, newLeft); } if (right != null) { - let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + let newRight = new (__t$_SplayTreeSetNodeOfE()).new(right.key); dest[_right$] = newRight; node = right; dest = newRight; } } while (right != null); } - dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); - let result = new (_SplayTreeSetNodeOfE()).new(node.key); + dart.fn(copyChildren, dart.fnType(dart.void, [Node, __t$_SplayTreeSetNodeOfE()])); + let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); copyChildren(node, result); return result; } @@ -41226,10 +44148,10 @@ define([], (function load__dart_sdk() { } } (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$0] = null; - this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); - this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + this[_compare$0] = (t152 = compare, t152 == null ? collection._defaultCompare(E) : t152); + this[_validKey$1] = (t152$ = isValidKey, t152$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t152$); SplayTreeSet.__proto__.new.call(this); ; }).prototype = SplayTreeSet.prototype; @@ -41248,12 +44170,13 @@ define([], (function load__dart_sdk() { [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) })); + dart.setStaticMethodSignature(SplayTreeSet, () => ['from', 'of']); dart.setGetterSignature(SplayTreeSet, () => ({ __proto__: dart.getGetters(SplayTreeSet.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setLibraryUri(SplayTreeSet, I[25]); dart.setFieldSignature(SplayTreeSet, () => ({ __proto__: dart.getFields(SplayTreeSet.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), @@ -41281,15 +44204,15 @@ define([], (function load__dart_sdk() { return dart.hashCode(a); }; collection._isToStringVisiting = function _isToStringVisiting(o) { - if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + if (o == null) dart.nullFailed(I[41], 283, 33, "o"); for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; } return false; }; collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { - if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); - if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + if (iterable == null) dart.nullFailed(I[41], 291, 48, "iterable"); + if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); let length = 0; let count = 0; let it = iterable[$iterator]; @@ -41320,7 +44243,7 @@ define([], (function load__dart_sdk() { } else { let ultimate = it.current; count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); while (dart.test(it.moveNext())) { penultimate = ultimate; ultimate = it.current; @@ -41361,11 +44284,11 @@ define([], (function load__dart_sdk() { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); }; collection._defaultCompare = function _defaultCompare(K) { - let compare = C[78] || CT.C78; + let compare = C[85] || CT.C85; if (dart.fnType(core.int, [K, K]).is(compare)) { return compare; } - return C[79] || CT.C79; + return C[86] || CT.C86; }; dart.defineLazy(collection, { /*collection._toStringVisiting*/get _toStringVisiting() { @@ -41382,7 +44305,7 @@ define([], (function load__dart_sdk() { var _upgrade = dart.privateName(convert, "_upgrade"); core.String = class String extends core.Object { static _stringFromJSArray(list, start, endOrNull) { - if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + if (start == null) dart.nullFailed(I[7], 668, 35, "start"); let len = core.int.as(dart.dload(list, 'length')); let end = core.RangeError.checkValidRange(start, endOrNull, len); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { @@ -41391,15 +44314,15 @@ define([], (function load__dart_sdk() { return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); } static _stringFromUint8List(charCodes, start, endOrNull) { - if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); - if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + if (charCodes == null) dart.nullFailed(I[7], 678, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 678, 38, "start"); let len = charCodes[$length]; let end = core.RangeError.checkValidRange(start, endOrNull, len); return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); } static _stringFromIterable(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); - if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (charCodes == null) dart.nullFailed(I[7], 685, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 685, 36, "start"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); if (end != null && dart.notNull(end) < dart.notNull(start)) { dart.throw(new core.RangeError.range(end, start, charCodes[$length])); @@ -41432,8 +44355,8 @@ define([], (function load__dart_sdk() { return dart.as(o, core.String); } static fromCharCodes(charCodes, start = 0, end = null) { - if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); - if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); if (_interceptors.JSArray.is(charCodes)) { return core.String._stringFromJSArray(charCodes, start, end); } @@ -41442,14 +44365,29 @@ define([], (function load__dart_sdk() { } return core.String._stringFromIterable(charCodes, start, end); } + static ['_#fromCharCodes#tearOff'](charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); + return core.String.fromCharCodes(charCodes, start, end); + } + static ['_#fromCharCode#tearOff'](charCode) { + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); + return core.String.fromCharCode(charCode); + } static fromCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); return _js_helper.Primitives.stringFromCharCode(charCode); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); + return core.String.fromEnvironment(name, {defaultValue: defaultValue}); + } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; - if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); } }; @@ -41457,8 +44395,12 @@ define([], (function load__dart_sdk() { }).prototype = core.String.prototype; dart.addTypeCaches(core.String); core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; - dart.setLibraryUri(core.String, I[8]); + dart.setStaticMethodSignature(core.String, () => ['_stringFromJSArray', '_stringFromUint8List', '_stringFromIterable', 'is', 'as', 'fromCharCodes', 'fromCharCode', 'fromEnvironment']); + dart.setLibraryUri(core.String, I[9]); convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + static ['_#new#tearOff'](_original) { + return new convert._JsonMap.new(_original); + } _get(key) { if (dart.test(this[_isUpgraded])) { return this[_upgradedMap][$_get](key); @@ -41485,12 +44427,15 @@ define([], (function load__dart_sdk() { } get values() { if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => { + if (each == null) dart.nullFailed(I[88], 167, 44, "each"); + return this._get(each); + }, T$0.StringTodynamic())); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (key == null) dart.nullFailed(I[88], 170, 16, "key"); if (dart.test(this[_isUpgraded])) { this[_upgradedMap][$_set](key, value); } else if (dart.test(this.containsKey(key))) { @@ -41507,9 +44452,9 @@ define([], (function load__dart_sdk() { } addAll(other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + if (other == null) dart.nullFailed(I[88], 185, 36, "other"); other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + if (key == null) dart.nullFailed(I[88], 186, 20, "key"); this._set(key, value); }, T$0.StringAnddynamicTovoid())); } @@ -41529,9 +44474,9 @@ define([], (function load__dart_sdk() { } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[85], 207, 15, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (key == null) dart.nullFailed(I[88], 207, 15, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[88], 207, 20, "ifAbsent"); if (dart.test(this.containsKey(key))) return this._get(key); let value = ifAbsent(); this._set(key, value); @@ -41553,7 +44498,7 @@ define([], (function load__dart_sdk() { } } forEach(f) { - if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (f == null) dart.nullFailed(I[88], 234, 21, "f"); if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); let keys = this[_computeKeys](); for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { @@ -41573,12 +44518,12 @@ define([], (function load__dart_sdk() { return this[_processed] == null; } get [_upgradedMap]() { - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 266, 12, "_isUpgraded"); return this[_data]; } [_computeKeys]() { - if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); - let keys = T$.ListN().as(this[_data]); + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 274, 12, "!_isUpgraded"); + let keys = T$0.ListN().as(this[_data]); if (keys == null) { keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); } @@ -41599,25 +44544,25 @@ define([], (function load__dart_sdk() { } this[_original$] = this[_processed] = null; this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); return result; } [_process](key) { - if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (key == null) dart.nullFailed(I[88], 311, 19, "key"); if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); return convert._JsonMap._setProperty(this[_processed], key, result); } static _hasProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + if (key == null) dart.nullFailed(I[88], 321, 43, "key"); return Object.prototype.hasOwnProperty.call(object, key); } static _getProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + if (key == null) dart.nullFailed(I[88], 323, 38, "key"); return object[key]; } static _setProperty(object, key, value) { - if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + if (key == null) dart.nullFailed(I[88], 324, 38, "key"); return object[key] = value; } static _getPropertyNames(object) { @@ -41652,6 +44597,7 @@ define([], (function load__dart_sdk() { [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_process]: dart.fnType(dart.dynamic, [core.String]) })); + dart.setStaticMethodSignature(convert._JsonMap, () => ['_hasProperty', '_getProperty', '_setProperty', '_getPropertyNames', '_isUnprocessed', '_newJavaScriptObject']); dart.setGetterSignature(convert._JsonMap, () => ({ __proto__: dart.getGetters(convert._JsonMap.__proto__), keys: core.Iterable$(core.String), @@ -41659,7 +44605,7 @@ define([], (function load__dart_sdk() { [_isUpgraded]: core.bool, [_upgradedMap]: core.Map$(core.String, dart.dynamic) })); - dart.setLibraryUri(convert._JsonMap, I[31]); + dart.setLibraryUri(convert._JsonMap, I[33]); dart.setFieldSignature(convert._JsonMap, () => ({ __proto__: dart.getFields(convert._JsonMap.__proto__), [_original$]: dart.fieldType(dart.dynamic), @@ -41686,11 +44632,15 @@ define([], (function load__dart_sdk() { ]); var _parent$ = dart.privateName(convert, "_parent"); convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + static ['_#new#tearOff'](_parent) { + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); + return new convert._JsonMapKeyIterable.new(_parent); + } get length() { return this[_parent$].length; } elementAt(index) { - if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + if (index == null) dart.nullFailed(I[88], 340, 24, "index"); return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); } get iterator() { @@ -41701,14 +44651,14 @@ define([], (function load__dart_sdk() { } }; (convert._JsonMapKeyIterable.new = function(_parent) { - if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); this[_parent$] = _parent; convert._JsonMapKeyIterable.__proto__.new.call(this); ; }).prototype = convert._JsonMapKeyIterable.prototype; dart.addTypeTests(convert._JsonMapKeyIterable); dart.addTypeCaches(convert._JsonMapKeyIterable); - dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); + dart.setLibraryUri(convert._JsonMapKeyIterable, I[33]); dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), [_parent$]: dart.finalFieldType(convert._JsonMap) @@ -41721,11 +44671,11 @@ define([], (function load__dart_sdk() { convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + if (str == null) dart.nullFailed(I[89], 162, 19, "str"); this.addSlice(str, 0, str.length, false); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); return new convert._Utf8ConversionSink.new(this, allowMalformed); } asStringSink() { @@ -41744,24 +44694,28 @@ define([], (function load__dart_sdk() { asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), asStringSink: dart.fnType(convert.ClosableStringSink, []) })); - dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); + dart.setLibraryUri(convert.StringConversionSinkMixin, I[33]); convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; (convert.StringConversionSinkBase.new = function() { ; }).prototype = convert.StringConversionSinkBase.prototype; dart.addTypeTests(convert.StringConversionSinkBase); dart.addTypeCaches(convert.StringConversionSinkBase); - dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); + dart.setLibraryUri(convert.StringConversionSinkBase, I[33]); const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); convert._StringSinkConversionSink$ = dart.generic(TStringSink => { class _StringSinkConversionSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](TStringSink, _stringSink) { + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); + return new (convert._StringSinkConversionSink$(TStringSink)).new(_stringSink); + } close() { } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 183, 24, "str"); - if (start == null) dart.nullFailed(I[86], 183, 33, "start"); - if (end == null) dart.nullFailed(I[86], 183, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 183, 24, "str"); + if (start == null) dart.nullFailed(I[89], 183, 33, "start"); + if (end == null) dart.nullFailed(I[89], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 183, 54, "isLast"); if (start !== 0 || end !== str.length) { for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); @@ -41773,11 +44727,11 @@ define([], (function load__dart_sdk() { } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + if (str == null) dart.nullFailed(I[89], 194, 19, "str"); this[_stringSink$].write(str); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } asStringSink() { @@ -41785,7 +44739,7 @@ define([], (function load__dart_sdk() { } } (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); this[_stringSink$] = _stringSink; ; }).prototype = _StringSinkConversionSink.prototype; @@ -41797,7 +44751,7 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setLibraryUri(_StringSinkConversionSink, I[33]); dart.setFieldSignature(_StringSinkConversionSink, () => ({ __proto__: dart.getFields(_StringSinkConversionSink.__proto__), [_stringSink$]: dart.finalFieldType(TStringSink) @@ -41813,9 +44767,9 @@ define([], (function load__dart_sdk() { this[_contents] = this[_contents] + str; } static _writeAll(string, objects, separator) { - if (string == null) dart.nullFailed(I[7], 751, 34, "string"); - if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); - if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + if (string == null) dart.nullFailed(I[7], 820, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 820, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 820, 67, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return string; if (separator[$isEmpty]) { @@ -41834,6 +44788,10 @@ define([], (function load__dart_sdk() { static _writeOne(string, obj) { return string + dart.str(obj); } + static ['_#new#tearOff'](content = "") { + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); + return new core.StringBuffer.new(content); + } get length() { return this[_contents].length; } @@ -41847,12 +44805,12 @@ define([], (function load__dart_sdk() { this[_writeString](dart.str(obj)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 794, 26, "charCode"); this[_writeString](core.String.fromCharCode(charCode)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + if (objects == null) dart.nullFailed(I[7], 799, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); } writeln(obj = "") { @@ -41866,7 +44824,7 @@ define([], (function load__dart_sdk() { } }; (core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); this[_contents] = dart.str(content); ; }).prototype = core.StringBuffer.prototype; @@ -41882,19 +44840,24 @@ define([], (function load__dart_sdk() { writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(core.StringBuffer, () => ['_writeAll', '_writeOne']); dart.setGetterSignature(core.StringBuffer, () => ({ __proto__: dart.getGetters(core.StringBuffer.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); - dart.setLibraryUri(core.StringBuffer, I[8]); + dart.setLibraryUri(core.StringBuffer, I[9]); dart.setFieldSignature(core.StringBuffer, () => ({ __proto__: dart.getFields(core.StringBuffer.__proto__), [_contents]: dart.fieldType(core.String) })); dart.defineExtensionMethods(core.StringBuffer, ['toString']); convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); + return new convert._JsonDecoderSink.new(_reviver, _sink); + } close() { super.close(); let accumulated = dart.toString(this[_stringSink$]); @@ -41905,7 +44868,7 @@ define([], (function load__dart_sdk() { } }; (convert._JsonDecoderSink.new = function(_reviver, _sink) { - if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); this[_reviver$] = _reviver; this[_sink$0] = _sink; convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); @@ -41913,7 +44876,7 @@ define([], (function load__dart_sdk() { }).prototype = convert._JsonDecoderSink.prototype; dart.addTypeTests(convert._JsonDecoderSink); dart.addTypeCaches(convert._JsonDecoderSink); - dart.setLibraryUri(convert._JsonDecoderSink, I[31]); + dart.setLibraryUri(convert._JsonDecoderSink, I[33]); dart.setFieldSignature(convert._JsonDecoderSink, () => ({ __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -41926,7 +44889,7 @@ define([], (function load__dart_sdk() { var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); const _is_Codec_default = Symbol('_is_Codec_default'); convert.Codec$ = dart.generic((S, T) => { - var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); class Codec extends core.Object { encode(input) { S.as(input); @@ -41938,11 +44901,11 @@ define([], (function load__dart_sdk() { } fuse(R, other) { convert.Codec$(T, R).as(other); - if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + if (other == null) dart.nullFailed(I[92], 64, 35, "other"); return new (convert._FusedCodec$(S, T, R)).new(this, other); } get inverted() { - return new (_InvertedCodecOfT$S()).new(this); + return new (__t$_InvertedCodecOfT$S()).new(this); } } (Codec.new = function() { @@ -41961,7 +44924,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(Codec.__proto__), inverted: convert.Codec$(T, S) })); - dart.setLibraryUri(Codec, I[31]); + dart.setLibraryUri(Codec, I[33]); return Codec; }); convert.Codec = convert.Codec$(); @@ -41983,26 +44946,46 @@ define([], (function load__dart_sdk() { } return _interceptors.JSArray$(E).of(list); } + static ['_#new#tearOff'](E, length = null) { + return core.List$(E).new(length); + } static filled(length, fill, opts) { if (length == null) dart.argumentError(length); let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); let list = _interceptors.JSArray$(E).of(new Array(length)); list.fill(fill); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#filled#tearOff'](E, length, fill, opts) { + if (length == null) dart.nullFailed(I[7], 568, 38, "length"); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); + return core.List$(E).filled(length, fill, {growable: growable}); + } static empty(opts) { let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); let list = _interceptors.JSArray$(E).of(new Array()); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#empty#tearOff'](E, opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); + return core.List$(E).empty({growable: growable}); + } + static ['_#from#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); + return core.List$(E).from(elements, {growable: growable}); + } static from(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); let list = _interceptors.JSArray$(E).of([]); if (core.Iterable$(E).is(elements)) { for (let e of elements) { @@ -42016,10 +44999,16 @@ define([], (function load__dart_sdk() { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#of#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); + return core.List$(E).of(elements, {growable: growable}); + } static of(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); let list = _interceptors.JSArray$(E).of([]); for (let e of elements) { list.push(e); @@ -42027,11 +45016,18 @@ define([], (function load__dart_sdk() { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#generate#tearOff'](E, length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); + return core.List$(E).generate(length, generator, {growable: growable}); + } static generate(length, generator, opts) { - if (length == null) dart.nullFailed(I[7], 539, 29, "length"); - if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); let result = _interceptors.JSArray$(E).of(new Array(length)); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -42040,19 +45036,23 @@ define([], (function load__dart_sdk() { return result; } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); let list = core.List$(E).from(elements); _interceptors.JSArray.markUnmodifiableList(list); return list; } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); + return core.List$(E).unmodifiable(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + if (source == null) dart.nullFailed(I[93], 292, 41, "source"); return new (_internal.CastList$(S, T)).new(source); } static copyRange(T, target, at, source, start = null, end = null) { - if (target == null) dart.nullFailed(I[90], 206, 36, "target"); - if (at == null) dart.nullFailed(I[90], 206, 48, "at"); - if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + if (target == null) dart.nullFailed(I[93], 308, 36, "target"); + if (at == null) dart.nullFailed(I[93], 308, 48, "at"); + if (source == null) dart.nullFailed(I[93], 308, 60, "source"); start == null ? start = 0 : null; end = core.RangeError.checkValidRange(start, end, source[$length]); if (end == null) { @@ -42073,15 +45073,15 @@ define([], (function load__dart_sdk() { } } static writeIterable(T, target, at, source) { - if (target == null) dart.nullFailed(I[90], 241, 40, "target"); - if (at == null) dart.nullFailed(I[90], 241, 52, "at"); - if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + if (target == null) dart.nullFailed(I[93], 343, 40, "target"); + if (at == null) dart.nullFailed(I[93], 343, 52, "at"); + if (source == null) dart.nullFailed(I[93], 343, 68, "source"); core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); let index = at; let targetLength = target[$length]; for (let element of source) { if (index == targetLength) { - dart.throw(new core.IndexError.new(targetLength, target)); + dart.throw(new core.IndexError.withLength(index, targetLength, {indexable: target})); } target[$_set](index, element); index = dart.notNull(index) + 1; @@ -42097,25 +45097,26 @@ define([], (function load__dart_sdk() { List.prototype[dart.isList] = true; dart.addTypeCaches(List); List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(List, I[8]); + dart.setStaticMethodSignature(List, () => ['new', 'filled', 'empty', 'from', 'of', 'generate', 'unmodifiable', 'castFrom', 'copyRange', 'writeIterable']); + dart.setLibraryUri(List, I[9]); return List; }); core.List = core.List$(); dart.addTypeTests(core.List, dart.isList); convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { decodeStream(byteStream) { - if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + if (byteStream == null) dart.nullFailed(I[91], 21, 49, "byteStream"); return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - let t172; - if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); - if (string == null) dart.nullFailed(I[88], 25, 42, "string"); - t172 = buffer; + let t152; + if (buffer == null) dart.nullFailed(I[91], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[91], 25, 42, "string"); + t152 = buffer; return (() => { - t172.write(string); - return t172; + t152.write(string); + return t152; })(); }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); return dart.toString(buffer); }, T$0.StringBufferToString())); } @@ -42134,7 +45135,9 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert.Encoding.__proto__), decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) })); - dart.setLibraryUri(convert.Encoding, I[31]); + dart.setStaticMethodSignature(convert.Encoding, () => ['getByName']); + dart.setLibraryUri(convert.Encoding, I[33]); + dart.setStaticFieldSignature(convert.Encoding, () => ['_nameToEncoding']); dart.defineLazy(convert.Encoding, { /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); @@ -42147,35 +45150,40 @@ define([], (function load__dart_sdk() { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); + return new convert.AsciiCodec.new({allowInvalid: allowInvalid}); + } get name() { return "us-ascii"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + if (source == null) dart.nullFailed(I[90], 41, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t172; + let t152; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { - return (C[80] || CT.C80).convert(bytes); + if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { + return (C[87] || CT.C87).convert(bytes); } else { - return (C[81] || CT.C81).convert(bytes); + return (C[88] || CT.C88).convert(bytes); } } get encoder() { - return C[82] || CT.C82; + return C[89] || CT.C89; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + return dart.test(this[_allowInvalid$]) ? C[87] || CT.C87 : C[88] || CT.C88; } }; (convert.AsciiCodec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); this[_allowInvalid] = allowInvalid; convert.AsciiCodec.__proto__.new.call(this); ; @@ -42193,7 +45201,7 @@ define([], (function load__dart_sdk() { encoder: convert.AsciiEncoder, decoder: convert.AsciiDecoder })); - dart.setLibraryUri(convert.AsciiCodec, I[31]); + dart.setLibraryUri(convert.AsciiCodec, I[33]); dart.setFieldSignature(convert.AsciiCodec, () => ({ __proto__: dart.getFields(convert.AsciiCodec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) @@ -42207,15 +45215,16 @@ define([], (function load__dart_sdk() { set [_subsetMask$](value) { super[_subsetMask$] = value; } + static ['_#new#tearOff'](_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); + return new convert._UnicodeSubsetEncoder.new(_subsetMask); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[87], 77, 28, "string"); - if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + if (string == null) dart.nullFailed(I[90], 77, 28, "string"); + if (start == null) dart.nullFailed(I[90], 77, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); let result = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -42229,17 +45238,17 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + if (sink == null) dart.nullFailed(I[90], 97, 63, "sink"); return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 103, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); this[_subsetMask$0] = _subsetMask; convert._UnicodeSubsetEncoder.__proto__.new.call(this); ; @@ -42251,28 +45260,37 @@ define([], (function load__dart_sdk() { convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); + dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), [_subsetMask$]: dart.finalFieldType(core.int) })); - convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; + convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.AsciiEncoder.new(); + } + }; (convert.AsciiEncoder.new = function() { convert.AsciiEncoder.__proto__.new.call(this, 127); ; }).prototype = convert.AsciiEncoder.prototype; dart.addTypeTests(convert.AsciiEncoder); dart.addTypeCaches(convert.AsciiEncoder); - dart.setLibraryUri(convert.AsciiEncoder, I[31]); + dart.setLibraryUri(convert.AsciiEncoder, I[33]); convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); + return new convert._UnicodeSubsetEncoderSink.new(_subsetMask, _sink); + } close() { this[_sink$0].close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 127, 24, "source"); - if (start == null) dart.nullFailed(I[87], 127, 36, "start"); - if (end == null) dart.nullFailed(I[87], 127, 47, "end"); - if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + if (source == null) dart.nullFailed(I[90], 131, 24, "source"); + if (start == null) dart.nullFailed(I[90], 131, 36, "start"); + if (end == null) dart.nullFailed(I[90], 131, 47, "end"); + if (isLast == null) dart.nullFailed(I[90], 131, 57, "isLast"); core.RangeError.checkValidRange(start, end, source.length); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = source[$codeUnitAt](i); @@ -42287,8 +45305,8 @@ define([], (function load__dart_sdk() { } }; (convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { - if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); - if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); this[_subsetMask$] = _subsetMask; this[_sink$0] = _sink; ; @@ -42300,7 +45318,7 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); + dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -42324,12 +45342,9 @@ define([], (function load__dart_sdk() { } convert(bytes, start = 0, end = null) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); - if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + if (bytes == null) dart.nullFailed(I[90], 172, 28, "bytes"); + if (start == null) dart.nullFailed(I[90], 172, 40, "start"); end = core.RangeError.checkValidRange(start, end, bytes[$length]); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let byte = bytes[$_get](i); if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { @@ -42342,9 +45357,9 @@ define([], (function load__dart_sdk() { return core.String.fromCharCodes(bytes, start, end); } [_convertInvalid](bytes, start, end) { - if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); - if (start == null) dart.nullFailed(I[87], 186, 47, "start"); - if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + if (bytes == null) dart.nullFailed(I[90], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[90], 186, 47, "start"); + if (end == null) dart.nullFailed(I[90], 186, 58, "end"); let buffer = new core.StringBuffer.new(); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let value = bytes[$_get](i); @@ -42355,13 +45370,13 @@ define([], (function load__dart_sdk() { } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 203, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { - if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); - if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + if (_allowInvalid == null) dart.nullFailed(I[90], 165, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[90], 165, 56, "_subsetMask"); this[_allowInvalid$0] = _allowInvalid; this[_subsetMask$1] = _subsetMask; convert._UnicodeSubsetDecoder.__proto__.new.call(this); @@ -42374,16 +45389,21 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) })); - dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); + dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool), [_subsetMask$]: dart.finalFieldType(core.int) })); convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); + return new convert.AsciiDecoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + if (sink == null) dart.nullFailed(I[90], 237, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -42399,7 +45419,7 @@ define([], (function load__dart_sdk() { }; (convert.AsciiDecoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); ; }).prototype = convert.AsciiDecoder.prototype; @@ -42409,11 +45429,16 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.AsciiDecoder, I[31]); + dart.setLibraryUri(convert.AsciiDecoder, I[33]); var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); convert.ChunkedConversionSink$ = dart.generic(T => { - class ChunkedConversionSink extends core.Object {} + class ChunkedConversionSink extends core.Object { + static ['_#withCallback#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[95], 19, 12, "callback"); + return new (convert._SimpleCallbackSink$(T)).new(callback); + } + } (ChunkedConversionSink.new = function() { ; }).prototype = ChunkedConversionSink.prototype; @@ -42421,25 +45446,38 @@ define([], (function load__dart_sdk() { ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; dart.addTypeCaches(ChunkedConversionSink); ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(ChunkedConversionSink, I[31]); + dart.setStaticMethodSignature(ChunkedConversionSink, () => ['withCallback']); + dart.setLibraryUri(ChunkedConversionSink, I[33]); + dart.setStaticFieldSignature(ChunkedConversionSink, () => ['_redirecting#']); return ChunkedConversionSink; }); convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); - convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; + convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 19, 12, "callback"); + return new convert._ByteCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[94], 20, 51, "sink"); + return new convert._ByteAdapterSink.new(sink); + } + }; (convert.ByteConversionSink.new = function() { convert.ByteConversionSink.__proto__.new.call(this); ; }).prototype = convert.ByteConversionSink.prototype; dart.addTypeTests(convert.ByteConversionSink); dart.addTypeCaches(convert.ByteConversionSink); - dart.setLibraryUri(convert.ByteConversionSink, I[31]); + dart.setStaticMethodSignature(convert.ByteConversionSink, () => ['withCallback', 'from']); + dart.setLibraryUri(convert.ByteConversionSink, I[33]); + dart.setStaticFieldSignature(convert.ByteConversionSink, () => ['_redirecting#']); convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); - if (start == null) dart.nullFailed(I[91], 42, 38, "start"); - if (end == null) dart.nullFailed(I[91], 42, 49, "end"); - if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[94], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[94], 42, 38, "start"); + if (end == null) dart.nullFailed(I[94], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[94], 42, 59, "isLast"); this.add(chunk[$sublist](start, end)); if (dart.test(isLast)) this.close(); } @@ -42454,26 +45492,30 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); + dart.setLibraryUri(convert.ByteConversionSinkBase, I[33]); convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); + return new convert._ErrorHandlingAsciiDecoderSink.new(_utf8Sink); + } close() { this[_utf8Sink$].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + if (source == null) dart.nullFailed(I[90], 264, 22, "source"); this.addSlice(source, 0, source[$length], false); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 245, 27, "source"); - if (start == null) dart.nullFailed(I[87], 245, 39, "start"); - if (end == null) dart.nullFailed(I[87], 245, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 268, 27, "source"); + if (start == null) dart.nullFailed(I[90], 268, 39, "start"); + if (end == null) dart.nullFailed(I[90], 268, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 268, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); - this[_utf8Sink$].add(C[83] || CT.C83); + this[_utf8Sink$].add(C[90] || CT.C90); start = dart.notNull(i) + 1; } } @@ -42485,7 +45527,7 @@ define([], (function load__dart_sdk() { } }; (convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); this[_utf8Sink$] = _utf8Sink; convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); ; @@ -42497,18 +45539,22 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); + dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) })); convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); + return new convert._SimpleAsciiDecoderSink.new(_sink); + } close() { this[_sink$0].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + if (source == null) dart.nullFailed(I[90], 294, 22, "source"); for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); @@ -42517,10 +45563,10 @@ define([], (function load__dart_sdk() { this[_sink$0].add(core.String.fromCharCodes(source)); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 280, 27, "source"); - if (start == null) dart.nullFailed(I[87], 280, 39, "start"); - if (end == null) dart.nullFailed(I[87], 280, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 303, 27, "source"); + if (start == null) dart.nullFailed(I[90], 303, 39, "start"); + if (end == null) dart.nullFailed(I[90], 303, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 303, 60, "isLast"); let length = source[$length]; core.RangeError.checkValidRange(start, end, length); if (dart.notNull(start) < dart.notNull(end)) { @@ -42533,7 +45579,7 @@ define([], (function load__dart_sdk() { } }; (convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); this[_sink$0] = _sink; convert._SimpleAsciiDecoderSink.__proto__.new.call(this); ; @@ -42545,7 +45591,7 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); + dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), [_sink$0]: dart.fieldType(core.Sink) @@ -42560,25 +45606,28 @@ define([], (function load__dart_sdk() { set [_encoder$](value) { super[_encoder$] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Codec.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Codec.urlSafe(); + } get encoder() { return this[_encoder$]; } get decoder() { - return C[86] || CT.C86; + return C[93] || CT.C93; } decode(encoded) { core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); return this.decoder.convert(encoded); } normalize(source, start = 0, end = null) { - let t172, t172$, t172$0, t172$1, t172$2; - if (source == null) dart.nullFailed(I[92], 97, 27, "source"); - if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + let t152, t152$, t152$0, t152$1, t152$2; + if (source == null) dart.nullFailed(I[96], 97, 27, "source"); + if (start == null) dart.nullFailed(I[96], 97, 40, "start"); end = core.RangeError.checkValidRange(start, end, source.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let buffer = null; let sliceStart = start; let alphabet = convert._Base64Encoder._base64Alphabet; @@ -42588,7 +45637,7 @@ define([], (function load__dart_sdk() { let paddingCount = 0; for (let i = start; dart.notNull(i) < dart.notNull(end);) { let sliceEnd = i; - let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let char = source[$codeUnitAt]((t152 = i, i = dart.notNull(t152) + 1, t152)); let originalChar = char; if (char === 37) { if (dart.notNull(i) + 2 <= dart.notNull(end)) { @@ -42606,18 +45655,18 @@ define([], (function load__dart_sdk() { if (char == originalChar) continue; } else if (value === -1) { if (firstPadding < 0) { - firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPadding = dart.notNull((t152$0 = (t152$ = buffer, t152$ == null ? null : t152$.length), t152$0 == null ? 0 : t152$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); firstPaddingSourceIndex = sliceEnd; } paddingCount = paddingCount + 1; if (originalChar === 61) continue; } if (value !== -2) { - t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); (() => { - t172$2.write(source[$substring](sliceStart, sliceEnd)); - t172$2.writeCharCode(char); - return t172$2; + t152$2.write(source[$substring](sliceStart, sliceEnd)); + t152$2.writeCharCode(char); + return t152$2; })(); sliceStart = i; continue; @@ -42656,12 +45705,12 @@ define([], (function load__dart_sdk() { return source; } static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { - if (source == null) dart.nullFailed(I[92], 199, 36, "source"); - if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); - if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); - if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); - if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); - if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (source == null) dart.nullFailed(I[96], 195, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[96], 195, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[96], 195, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[96], 196, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[96], 196, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[96], 196, 47, "length"); if (length[$modulo](4) !== 0) { dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); } @@ -42674,12 +45723,12 @@ define([], (function load__dart_sdk() { } }; (convert.Base64Codec.new = function() { - this[_encoder] = C[84] || CT.C84; + this[_encoder] = C[91] || CT.C91; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; (convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[85] || CT.C85; + this[_encoder] = C[92] || CT.C92; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; @@ -42690,12 +45739,13 @@ define([], (function load__dart_sdk() { decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(convert.Base64Codec, () => ['_checkPadding']); dart.setGetterSignature(convert.Base64Codec, () => ({ __proto__: dart.getGetters(convert.Base64Codec.__proto__), encoder: convert.Base64Encoder, decoder: convert.Base64Decoder })); - dart.setLibraryUri(convert.Base64Codec, I[31]); + dart.setLibraryUri(convert.Base64Codec, I[33]); dart.setFieldSignature(convert.Base64Codec, () => ({ __proto__: dart.getFields(convert.Base64Codec.__proto__), [_encoder$]: dart.finalFieldType(convert.Base64Encoder) @@ -42709,9 +45759,15 @@ define([], (function load__dart_sdk() { set [_urlSafe](value) { super[_urlSafe] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Encoder.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Encoder.urlSafe(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (input == null) dart.nullFailed(I[96], 240, 28, "input"); if (dart.test(input[$isEmpty])) return ""; let encoder = new convert._Base64Encoder.new(this[_urlSafe]); let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); @@ -42719,7 +45775,7 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (sink == null) dart.nullFailed(I[96], 247, 58, "sink"); if (convert.StringConversionSink.is(sink)) { return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); } @@ -42743,7 +45799,7 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.Base64Encoder, I[31]); + dart.setLibraryUri(convert.Base64Encoder, I[33]); dart.setFieldSignature(convert.Base64Encoder, () => ({ __proto__: dart.getFields(convert.Base64Encoder.__proto__), [_urlSafe]: dart.finalFieldType(core.bool) @@ -42751,32 +45807,36 @@ define([], (function load__dart_sdk() { var _state$0 = dart.privateName(convert, "_state"); var _alphabet = dart.privateName(convert, "_alphabet"); convert._Base64Encoder = class _Base64Encoder extends core.Object { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); + return new convert._Base64Encoder.new(urlSafe); + } static _encodeState(count, bits) { - if (count == null) dart.nullFailed(I[92], 283, 31, "count"); - if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); - if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + if (count == null) dart.nullFailed(I[96], 287, 31, "count"); + if (bits == null) dart.nullFailed(I[96], 287, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[96], 288, 12, "count <= _countMask"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + if (state == null) dart.nullFailed(I[96], 293, 29, "state"); return state[$rightShift](2); } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + if (state == null) dart.nullFailed(I[96], 296, 30, "state"); return (dart.notNull(state) & 3) >>> 0; } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 299, 30, "bufferLength"); return _native_typed_data.NativeUint8List.new(bufferLength); } encode(bytes, start, end, isLast) { - if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); - if (start == null) dart.nullFailed(I[92], 308, 42, "start"); - if (end == null) dart.nullFailed(I[92], 308, 53, "end"); - if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); - if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + if (bytes == null) dart.nullFailed(I[96], 312, 31, "bytes"); + if (start == null) dart.nullFailed(I[96], 312, 42, "start"); + if (end == null) dart.nullFailed(I[96], 312, 53, "end"); + if (isLast == null) dart.nullFailed(I[96], 312, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 313, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 314, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[96], 315, 12, "end <= bytes.length"); let length = dart.notNull(end) - dart.notNull(start); let count = convert._Base64Encoder._stateCount(this[_state$0]); let byteCount = dart.notNull(count) + length; @@ -42792,15 +45852,15 @@ define([], (function load__dart_sdk() { return null; } static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { - let t172, t172$, t172$0, t172$1; - if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); - if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); - if (start == null) dart.nullFailed(I[92], 331, 64, "start"); - if (end == null) dart.nullFailed(I[92], 331, 75, "end"); - if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); - if (output == null) dart.nullFailed(I[92], 332, 30, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); - if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let t152, t152$, t152$0, t152$1; + if (alphabet == null) dart.nullFailed(I[96], 335, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[96], 335, 53, "bytes"); + if (start == null) dart.nullFailed(I[96], 335, 64, "start"); + if (end == null) dart.nullFailed(I[96], 335, 75, "end"); + if (isLast == null) dart.nullFailed(I[96], 336, 12, "isLast"); + if (output == null) dart.nullFailed(I[96], 336, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 336, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[96], 336, 59, "state"); let bits = convert._Base64Encoder._stateBits(state); let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); let byteOr = 0; @@ -42810,10 +45870,10 @@ define([], (function load__dart_sdk() { bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; expectedChars = expectedChars - 1; if (expectedChars === 0) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); expectedChars = 3; bits = 0; } @@ -42834,29 +45894,29 @@ define([], (function load__dart_sdk() { dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); } static writeFinalChunk(alphabet, output, outputIndex, count, bits) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; - if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); - if (output == null) dart.nullFailed(I[92], 379, 34, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); - if (count == null) dart.nullFailed(I[92], 379, 63, "count"); - if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); - if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3, t152$4, t152$5; + if (alphabet == null) dart.nullFailed(I[96], 383, 14, "alphabet"); + if (output == null) dart.nullFailed(I[96], 383, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 383, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[96], 383, 63, "count"); + if (bits == null) dart.nullFailed(I[96], 383, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[96], 384, 12, "count > 0"); if (count === 1) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), 61); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), 61); } else { - if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); - output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); - output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); - output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); - output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + if (!(count === 2)) dart.assertFailed(null, I[96], 391, 14, "count == 2"); + output[$_set]((t152$2 = outputIndex, outputIndex = dart.notNull(t152$2) + 1, t152$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t152$3 = outputIndex, outputIndex = dart.notNull(t152$3) + 1, t152$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t152$4 = outputIndex, outputIndex = dart.notNull(t152$4) + 1, t152$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t152$5 = outputIndex, outputIndex = dart.notNull(t152$5) + 1, t152$5), 61); } } }; (convert._Base64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); this[_state$0] = 0; this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; ; @@ -42868,12 +45928,14 @@ define([], (function load__dart_sdk() { createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Base64Encoder, I[31]); + dart.setStaticMethodSignature(convert._Base64Encoder, () => ['_encodeState', '_stateBits', '_stateCount', 'encodeChunk', 'writeFinalChunk']); + dart.setLibraryUri(convert._Base64Encoder, I[33]); dart.setFieldSignature(convert._Base64Encoder, () => ({ __proto__: dart.getFields(convert._Base64Encoder.__proto__), [_state$0]: dart.fieldType(core.int), [_alphabet]: dart.finalFieldType(core.String) })); + dart.setStaticFieldSignature(convert._Base64Encoder, () => ['_base64Alphabet', '_base64UrlAlphabet', '_valueShift', '_countMask', '_sixBitMask']); dart.defineLazy(convert._Base64Encoder, { /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -42892,27 +45954,28 @@ define([], (function load__dart_sdk() { } }, false); convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); + return new convert._BufferCachingBase64Encoder.new(urlSafe); + } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 409, 30, "bufferLength"); let buffer = this.bufferCache; if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); } - if (buffer == null) { - dart.throw("unreachable"); - } return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); } }; (convert._BufferCachingBase64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); this.bufferCache = null; convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); ; }).prototype = convert._BufferCachingBase64Encoder.prototype; dart.addTypeTests(convert._BufferCachingBase64Encoder); dart.addTypeCaches(convert._BufferCachingBase64Encoder); - dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); + dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[33]); dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) @@ -42921,17 +45984,17 @@ define([], (function load__dart_sdk() { convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + if (source == null) dart.nullFailed(I[96], 420, 22, "source"); this[_add$0](source, 0, source[$length], false); } close() { - this[_add$0](C[87] || CT.C87, 0, 0, true); + this[_add$0](C[94] || CT.C94, 0, 0, true); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 428, 27, "source"); - if (start == null) dart.nullFailed(I[92], 428, 39, "start"); - if (end == null) dart.nullFailed(I[92], 428, 50, "end"); - if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (source == null) dart.nullFailed(I[96], 428, 27, "source"); + if (start == null) dart.nullFailed(I[96], 428, 39, "start"); + if (end == null) dart.nullFailed(I[96], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 428, 60, "isLast"); if (end == null) dart.throw(new core.ArgumentError.notNull("end")); core.RangeError.checkValidRange(start, end, source[$length]); this[_add$0](source, start, end, isLast); @@ -42948,13 +46011,18 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._Base64EncoderSink, I[31]); + dart.setLibraryUri(convert._Base64EncoderSink, I[33]); convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); + return new convert._AsciiBase64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 444, 23, "source"); - if (start == null) dart.nullFailed(I[92], 444, 35, "start"); - if (end == null) dart.nullFailed(I[92], 444, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 444, 23, "source"); + if (start == null) dart.nullFailed(I[96], 444, 35, "start"); + if (end == null) dart.nullFailed(I[96], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 444, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { let string = core.String.fromCharCodes(buffer); @@ -42966,8 +46034,8 @@ define([], (function load__dart_sdk() { } }; (convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); convert._AsciiBase64EncoderSink.__proto__.new.call(this); @@ -42979,18 +46047,23 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); + dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[33]); dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); + return new convert._Utf8Base64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 463, 23, "source"); - if (start == null) dart.nullFailed(I[92], 463, 35, "start"); - if (end == null) dart.nullFailed(I[92], 463, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 463, 23, "source"); + if (start == null) dart.nullFailed(I[96], 463, 35, "start"); + if (end == null) dart.nullFailed(I[96], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 463, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); @@ -42998,8 +46071,8 @@ define([], (function load__dart_sdk() { } }; (convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._Base64Encoder.new(urlSafe); convert._Utf8Base64EncoderSink.__proto__.new.call(this); @@ -43011,21 +46084,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); + dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Base64Decoder.new(); + } convert(input, start = 0, end = null) { core.String.as(input); - if (input == null) dart.nullFailed(I[92], 491, 28, "input"); - if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + if (input == null) dart.nullFailed(I[96], 505, 28, "input"); + if (start == null) dart.nullFailed(I[96], 505, 40, "start"); end = core.RangeError.checkValidRange(start, end, input.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } if (start == end) return _native_typed_data.NativeUint8List.new(0); let decoder = new convert._Base64Decoder.new(); let buffer = dart.nullCheck(decoder.decode(input, start, end)); @@ -43034,7 +46107,7 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); return new convert._Base64DecoderSink.new(sink); } }; @@ -43049,46 +46122,46 @@ define([], (function load__dart_sdk() { convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.Base64Decoder, I[31]); + dart.setLibraryUri(convert.Base64Decoder, I[33]); convert._Base64Decoder = class _Base64Decoder extends core.Object { static _encodeCharacterState(count, bits) { - if (count == null) dart.nullFailed(I[92], 572, 40, "count"); - if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); - if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + if (count == null) dart.nullFailed(I[96], 582, 40, "count"); + if (bits == null) dart.nullFailed(I[96], 582, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[96], 583, 12, "count == (count & _countMask)"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 578, 30, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 588, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 589, 12, "state >= 0"); return (dart.notNull(state) & 3) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 584, 29, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 594, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 595, 12, "state >= 0"); return state[$rightShift](2); } static _encodePaddingState(expectedPadding) { - if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + if (expectedPadding == null) dart.nullFailed(I[96], 600, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 601, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[96], 602, 12, "expectedPadding <= 5"); return -dart.notNull(expectedPadding) - 1; } static _statePadding(state) { - if (state == null) dart.nullFailed(I[92], 597, 32, "state"); - if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + if (state == null) dart.nullFailed(I[96], 607, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[96], 608, 12, "state < 0"); return -dart.notNull(state) - 1; } static _hasSeenPadding(state) { - if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + if (state == null) dart.nullFailed(I[96], 612, 35, "state"); return dart.notNull(state) < 0; } decode(input, start, end) { - if (input == null) dart.nullFailed(I[92], 609, 28, "input"); - if (start == null) dart.nullFailed(I[92], 609, 39, "start"); - if (end == null) dart.nullFailed(I[92], 609, 50, "end"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); - if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (input == null) dart.nullFailed(I[96], 619, 28, "input"); + if (start == null) dart.nullFailed(I[96], 619, 39, "start"); + if (end == null) dart.nullFailed(I[96], 619, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 620, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 621, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[96], 622, 12, "end <= input.length"); if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); return null; @@ -43108,14 +46181,14 @@ define([], (function load__dart_sdk() { this[_state$0] = convert._Base64Decoder._encodePaddingState(0); } static decodeChunk(input, start, end, output, outIndex, state) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3; - if (input == null) dart.nullFailed(I[92], 640, 33, "input"); - if (start == null) dart.nullFailed(I[92], 640, 44, "start"); - if (end == null) dart.nullFailed(I[92], 640, 55, "end"); - if (output == null) dart.nullFailed(I[92], 640, 70, "output"); - if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); - if (state == null) dart.nullFailed(I[92], 641, 25, "state"); - if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3; + if (input == null) dart.nullFailed(I[96], 650, 33, "input"); + if (start == null) dart.nullFailed(I[96], 650, 44, "start"); + if (end == null) dart.nullFailed(I[96], 650, 55, "end"); + if (output == null) dart.nullFailed(I[96], 650, 70, "output"); + if (outIndex == null) dart.nullFailed(I[96], 651, 11, "outIndex"); + if (state == null) dart.nullFailed(I[96], 651, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 652, 12, "!_hasSeenPadding(state)"); let bits = convert._Base64Decoder._stateBits(state); let count = convert._Base64Decoder._stateCount(state); let charOr = 0; @@ -43128,10 +46201,10 @@ define([], (function load__dart_sdk() { bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; count = dart.notNull(count) + 1 & 3; if (count === 0) { - if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); - output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); - output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); - output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[96], 674, 18, "outIndex + 3 <= output.length"); + output[$_set]((t152 = outIndex, outIndex = dart.notNull(t152) + 1, t152), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t152$ = outIndex, outIndex = dart.notNull(t152$) + 1, t152$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t152$0 = outIndex, outIndex = dart.notNull(t152$0) + 1, t152$0), (dart.notNull(bits) & 255) >>> 0); bits = 0; } continue; @@ -43141,13 +46214,13 @@ define([], (function load__dart_sdk() { if ((dart.notNull(bits) & 3) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); - output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + output[$_set]((t152$1 = outIndex, outIndex = dart.notNull(t152$1) + 1, t152$1), bits[$rightShift](10)); + output[$_set]((t152$2 = outIndex, outIndex = dart.notNull(t152$2) + 1, t152$2), bits[$rightShift](2)); } else { if ((dart.notNull(bits) & 15) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + output[$_set]((t152$3 = outIndex, outIndex = dart.notNull(t152$3) + 1, t152$3), bits[$rightShift](4)); } let expectedPadding = (3 - dart.notNull(count)) * 3; if (char === 37) expectedPadding = expectedPadding + 2; @@ -43160,18 +46233,18 @@ define([], (function load__dart_sdk() { return convert._Base64Decoder._encodeCharacterState(count, bits); } let i = null; - for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + for (let t152$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = input[$codeUnitAt](i); if (char < 0 || char > 127) break; } dart.throw(new core.FormatException.new("Invalid character", input, i)); } static _allocateBuffer(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 715, 14, "input"); - if (start == null) dart.nullFailed(I[92], 715, 25, "start"); - if (end == null) dart.nullFailed(I[92], 715, 36, "end"); - if (state == null) dart.nullFailed(I[92], 715, 45, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + if (input == null) dart.nullFailed(I[96], 725, 14, "input"); + if (start == null) dart.nullFailed(I[96], 725, 25, "start"); + if (end == null) dart.nullFailed(I[96], 725, 36, "end"); + if (state == null) dart.nullFailed(I[96], 725, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 726, 12, "state >= 0"); let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); let bufferLength = length[$rightShift](2) * 3; @@ -43183,9 +46256,9 @@ define([], (function load__dart_sdk() { return convert._Base64Decoder._emptyBuffer; } static _trimPaddingChars(input, start, end) { - if (input == null) dart.nullFailed(I[92], 744, 39, "input"); - if (start == null) dart.nullFailed(I[92], 744, 50, "start"); - if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + if (input == null) dart.nullFailed(I[96], 754, 39, "input"); + if (start == null) dart.nullFailed(I[96], 754, 50, "start"); + if (end == null) dart.nullFailed(I[96], 754, 61, "end"); let padding = 0; let index = end; let newEnd = end; @@ -43217,15 +46290,15 @@ define([], (function load__dart_sdk() { return newEnd; } static _checkPadding(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 796, 35, "input"); - if (start == null) dart.nullFailed(I[92], 796, 46, "start"); - if (end == null) dart.nullFailed(I[92], 796, 57, "end"); - if (state == null) dart.nullFailed(I[92], 796, 66, "state"); - if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (input == null) dart.nullFailed(I[96], 806, 35, "input"); + if (start == null) dart.nullFailed(I[96], 806, 46, "start"); + if (end == null) dart.nullFailed(I[96], 806, 57, "end"); + if (state == null) dart.nullFailed(I[96], 806, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 807, 12, "_hasSeenPadding(state)"); if (start == end) return state; let expectedPadding = convert._Base64Decoder._statePadding(state); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 810, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[96], 811, 12, "expectedPadding < 6"); while (dart.notNull(expectedPadding) > 0) { let char = input[$codeUnitAt](start); if (expectedPadding === 3) { @@ -43262,6 +46335,9 @@ define([], (function load__dart_sdk() { } return convert._Base64Decoder._encodePaddingState(expectedPadding); } + static ['_#new#tearOff']() { + return new convert._Base64Decoder.new(); + } }; (convert._Base64Decoder.new = function() { this[_state$0] = 0; @@ -43274,11 +46350,13 @@ define([], (function load__dart_sdk() { decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) })); - dart.setLibraryUri(convert._Base64Decoder, I[31]); + dart.setStaticMethodSignature(convert._Base64Decoder, () => ['_encodeCharacterState', '_stateCount', '_stateBits', '_encodePaddingState', '_statePadding', '_hasSeenPadding', 'decodeChunk', '_allocateBuffer', '_trimPaddingChars', '_checkPadding']); + dart.setLibraryUri(convert._Base64Decoder, I[33]); dart.setFieldSignature(convert._Base64Decoder, () => ({ __proto__: dart.getFields(convert._Base64Decoder.__proto__), [_state$0]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(convert._Base64Decoder, () => ['_valueShift', '_countMask', '_invalid', '_padding', '___', '_p', '_inverseAlphabet', '_char_percent', '_char_3', '_char_d', '_emptyBuffer']); dart.defineLazy(convert._Base64Decoder, { /*convert._Base64Decoder._valueShift*/get _valueShift() { return 2; @@ -43313,13 +46391,19 @@ define([], (function load__dart_sdk() { /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { return _native_typed_data.NativeUint8List.new(0); }, - set _emptyBuffer(_) {} + set _emptyBuffer(value) { + if (value == null) dart.nullFailed(I[96], 719, 20, "_emptyBuffer"); + } }, false); var _decoder = dart.privateName(convert, "_decoder"); convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); + return new convert._Base64DecoderSink.new(_sink); + } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string == null) dart.nullFailed(I[96], 860, 19, "string"); if (string[$isEmpty]) return; let buffer = this[_decoder].decode(string, 0, string.length); if (buffer != null) this[_sink$0].add(buffer); @@ -43329,10 +46413,10 @@ define([], (function load__dart_sdk() { this[_sink$0].close(); } addSlice(string, start, end, isLast) { - if (string == null) dart.nullFailed(I[92], 861, 24, "string"); - if (start == null) dart.nullFailed(I[92], 861, 36, "start"); - if (end == null) dart.nullFailed(I[92], 861, 47, "end"); - if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + if (string == null) dart.nullFailed(I[96], 871, 24, "string"); + if (start == null) dart.nullFailed(I[96], 871, 36, "start"); + if (end == null) dart.nullFailed(I[96], 871, 47, "end"); + if (isLast == null) dart.nullFailed(I[96], 871, 57, "isLast"); core.RangeError.checkValidRange(start, end, string.length); if (start == end) return; let buffer = this[_decoder].decode(string, start, end); @@ -43344,7 +46428,7 @@ define([], (function load__dart_sdk() { } }; (convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); this[_decoder] = new convert._Base64Decoder.new(); this[_sink$0] = _sink; ; @@ -43356,16 +46440,20 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Base64DecoderSink, I[31]); + dart.setLibraryUri(convert._Base64DecoderSink, I[33]); dart.setFieldSignature(convert._Base64DecoderSink, () => ({ __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), [_decoder]: dart.finalFieldType(convert._Base64Decoder) })); convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); + return new convert._ByteAdapterSink.new(_sink); + } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 57, 22, "chunk"); this[_sink$0].add(chunk); } close() { @@ -43373,7 +46461,7 @@ define([], (function load__dart_sdk() { } }; (convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); this[_sink$0] = _sink; convert._ByteAdapterSink.__proto__.new.call(this); ; @@ -43385,7 +46473,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._ByteAdapterSink, I[31]); + dart.setLibraryUri(convert._ByteAdapterSink, I[33]); dart.setFieldSignature(convert._ByteAdapterSink, () => ({ __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) @@ -43394,9 +46482,13 @@ define([], (function load__dart_sdk() { var _bufferIndex = dart.privateName(convert, "_bufferIndex"); var _callback$ = dart.privateName(convert, "_callback"); convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); + return new convert._ByteCallbackSink.new(callback); + } add(chunk) { T$.IterableOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 80, 26, "chunk"); let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); if (dart.notNull(chunk[$length]) > freeCount) { let oldLength = this[_buffer$][$length]; @@ -43409,8 +46501,8 @@ define([], (function load__dart_sdk() { this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); } static _roundToPowerOf2(v) { - if (v == null) dart.nullFailed(I[91], 94, 35, "v"); - if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + if (v == null) dart.nullFailed(I[94], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[94], 95, 12, "v > 0"); v = dart.notNull(v) - 1; v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; @@ -43421,13 +46513,13 @@ define([], (function load__dart_sdk() { return v; } close() { - let t173; - t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t173); + let t153; + t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t153); } }; (convert._ByteCallbackSink.new = function(callback) { - if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); this[_bufferIndex] = 0; this[_callback$] = callback; @@ -43441,13 +46533,15 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._ByteCallbackSink, I[31]); + dart.setStaticMethodSignature(convert._ByteCallbackSink, () => ['_roundToPowerOf2']); + dart.setLibraryUri(convert._ByteCallbackSink, I[33]); dart.setFieldSignature(convert._ByteCallbackSink, () => ({ __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), [_buffer$]: dart.fieldType(core.List$(core.int)), [_bufferIndex]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(convert._ByteCallbackSink, () => ['_INITIAL_BUFFER_SIZE']); dart.defineLazy(convert._ByteCallbackSink, { /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { return 1024; @@ -43456,21 +46550,25 @@ define([], (function load__dart_sdk() { var _accumulated = dart.privateName(convert, "_accumulated"); const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); convert._SimpleCallbackSink$ = dart.generic(T => { - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + static ['_#new#tearOff'](T, _callback) { + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + return new (convert._SimpleCallbackSink$(T)).new(_callback); + } add(chunk) { T.as(chunk); this[_accumulated][$add](chunk); } close() { - let t173; - t173 = this[_accumulated]; - this[_callback$](t173); + let t153; + t153 = this[_accumulated]; + this[_callback$](t153); } } (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); - this[_accumulated] = JSArrayOfT().of([]); + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + this[_accumulated] = __t$JSArrayOfT().of([]); this[_callback$] = _callback; _SimpleCallbackSink.__proto__.new.call(this); ; @@ -43483,7 +46581,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setLibraryUri(_SimpleCallbackSink, I[33]); dart.setFieldSignature(_SimpleCallbackSink, () => ({ __proto__: dart.getFields(_SimpleCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), @@ -43498,12 +46596,17 @@ define([], (function load__dart_sdk() { const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); convert._ConverterStreamEventSink$ = dart.generic((S, T) => { class _ConverterStreamEventSink extends core.Object { + static ['_#new#tearOff'](S, T, converter, sink) { + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); + return new (convert._ConverterStreamEventSink$(S, T)).new(converter, sink); + } add(o) { S.as(o); this[_chunkedSink$].add(o); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + if (error == null) dart.nullFailed(I[95], 75, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); this[_eventSink].addError(error, stackTrace); } @@ -43512,8 +46615,8 @@ define([], (function load__dart_sdk() { } } (_ConverterStreamEventSink.new = function(converter, sink) { - if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); - if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); this[_eventSink] = sink; this[_chunkedSink$] = converter.startChunkedConversion(sink); ; @@ -43528,7 +46631,7 @@ define([], (function load__dart_sdk() { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setLibraryUri(_ConverterStreamEventSink, I[33]); dart.setFieldSignature(_ConverterStreamEventSink, () => ({ __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(T)), @@ -43549,10 +46652,15 @@ define([], (function load__dart_sdk() { get decoder() { return this[_second$0].decoder.fuse(S, this[_first$0].decoder); } + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); + return new (convert._FusedCodec$(S, M, T)).new(_first, _second); + } } (_FusedCodec.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); - if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedCodec.__proto__.new.call(this); @@ -43566,7 +46674,7 @@ define([], (function load__dart_sdk() { encoder: convert.Converter$(S, T), decoder: convert.Converter$(T, S) })); - dart.setLibraryUri(_FusedCodec, I[31]); + dart.setLibraryUri(_FusedCodec, I[33]); dart.setFieldSignature(_FusedCodec, () => ({ __proto__: dart.getFields(_FusedCodec.__proto__), [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), @@ -43580,6 +46688,10 @@ define([], (function load__dart_sdk() { const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); convert._InvertedCodec$ = dart.generic((T, S) => { class _InvertedCodec extends convert.Codec$(T, S) { + static ['_#new#tearOff'](T, S, codec) { + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); + return new (convert._InvertedCodec$(T, S)).new(codec); + } get encoder() { return this[_codec].decoder; } @@ -43591,7 +46703,7 @@ define([], (function load__dart_sdk() { } } (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); this[_codec] = codec; _InvertedCodec.__proto__.new.call(this); ; @@ -43604,7 +46716,7 @@ define([], (function load__dart_sdk() { encoder: convert.Converter$(T, S), decoder: convert.Converter$(S, T) })); - dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setLibraryUri(_InvertedCodec, I[33]); dart.setFieldSignature(_InvertedCodec, () => ({ __proto__: dart.getFields(_InvertedCodec.__proto__), [_codec]: dart.finalFieldType(convert.Codec$(S, T)) @@ -43615,21 +46727,26 @@ define([], (function load__dart_sdk() { dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); convert._FusedConverter$ = dart.generic((S, M, T) => { - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); class _FusedConverter extends convert.Converter$(S, T) { + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); + return new (convert._FusedConverter$(S, M, T)).new(_first, _second); + } convert(input) { S.as(input); return this[_second$0].convert(this[_first$0].convert(input)); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 69, 42, "sink"); return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); } } (_FusedConverter.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); - if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedConverter.__proto__.new.call(this); @@ -43642,7 +46759,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_FusedConverter.__proto__), convert: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_FusedConverter, I[31]); + dart.setLibraryUri(_FusedConverter, I[33]); dart.setFieldSignature(_FusedConverter, () => ({ __proto__: dart.getFields(_FusedConverter.__proto__), [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), @@ -43689,16 +46806,37 @@ define([], (function load__dart_sdk() { set escapeSlash(value) { super.escapeSlash = value; } + static ['_#_#tearOff'](_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); + return new convert.HtmlEscapeMode.__(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash); + } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); + return new convert.HtmlEscapeMode.new({name: name, escapeLtGt: escapeLtGt, escapeQuot: escapeQuot, escapeApos: escapeApos, escapeSlash: escapeSlash}); + } toString() { return this[_name$3]; } }; (convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { - if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); - if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); - if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); - if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); - if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); this[_name$2] = _name; this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; @@ -43708,15 +46846,15 @@ define([], (function load__dart_sdk() { }).prototype = convert.HtmlEscapeMode.prototype; (convert.HtmlEscapeMode.new = function(opts) { let name = opts && 'name' in opts ? opts.name : "custom"; - if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; - if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; - if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; - if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; - if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; this[escapeApos$] = escapeApos; @@ -43726,7 +46864,7 @@ define([], (function load__dart_sdk() { }).prototype = convert.HtmlEscapeMode.prototype; dart.addTypeTests(convert.HtmlEscapeMode); dart.addTypeCaches(convert.HtmlEscapeMode); - dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); + dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), [_name$3]: dart.finalFieldType(core.String), @@ -43735,19 +46873,20 @@ define([], (function load__dart_sdk() { escapeApos: dart.finalFieldType(core.bool), escapeSlash: dart.finalFieldType(core.bool) })); + dart.setStaticFieldSignature(convert.HtmlEscapeMode, () => ['unknown', 'attribute', 'sqAttribute', 'element']); dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); dart.defineLazy(convert.HtmlEscapeMode, { /*convert.HtmlEscapeMode.unknown*/get unknown() { - return C[88] || CT.C88; + return C[95] || CT.C95; }, /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[89] || CT.C89; + return C[96] || CT.C96; }, /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[90] || CT.C90; + return C[97] || CT.C97; }, /*convert.HtmlEscapeMode.element*/get element() { - return C[91] || CT.C91; + return C[98] || CT.C98; } }, false); var mode$ = dart.privateName(convert, "HtmlEscape.mode"); @@ -43759,57 +46898,58 @@ define([], (function load__dart_sdk() { set mode(value) { super.mode = value; } + static ['_#new#tearOff'](mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); + return new convert.HtmlEscape.new(mode); + } convert(text) { core.String.as(text); - if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + if (text == null) dart.nullFailed(I[97], 208, 25, "text"); let val = this[_convert](text, 0, text.length); return val == null ? text : val; } [_convert](text, start, end) { - if (text == null) dart.nullFailed(I[94], 161, 27, "text"); - if (start == null) dart.nullFailed(I[94], 161, 37, "start"); - if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + if (text == null) dart.nullFailed(I[97], 217, 27, "text"); + if (start == null) dart.nullFailed(I[97], 217, 37, "start"); + if (end == null) dart.nullFailed(I[97], 217, 48, "end"); let result = null; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let ch = text[$_get](i); let replacement = null; switch (ch) { case "&": - { - replacement = "&"; - break; - } + { + replacement = "&"; + break; + } case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } } if (replacement != null) { result == null ? result = new core.StringBuffer.new() : null; - if (result == null) { - dart.throw("unreachable"); - } if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); result.write(replacement); start = dart.notNull(i) + 1; @@ -43821,12 +46961,12 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + if (sink == null) dart.nullFailed(I[97], 254, 60, "sink"); return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } }; - (convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { - if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); + (convert.HtmlEscape.new = function(mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); this[mode$] = mode; convert.HtmlEscape.__proto__.new.call(this); ; @@ -43839,18 +46979,23 @@ define([], (function load__dart_sdk() { [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.HtmlEscape, I[31]); + dart.setLibraryUri(convert.HtmlEscape, I[33]); dart.setFieldSignature(convert.HtmlEscape, () => ({ __proto__: dart.getFields(convert.HtmlEscape.__proto__), mode: dart.finalFieldType(convert.HtmlEscapeMode) })); var _escape$ = dart.privateName(convert, "_escape"); convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_escape, _sink) { + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); + return new convert._HtmlEscapeSink.new(_escape, _sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); - if (start == null) dart.nullFailed(I[94], 215, 35, "start"); - if (end == null) dart.nullFailed(I[94], 215, 46, "end"); - if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[97], 266, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 266, 35, "start"); + if (end == null) dart.nullFailed(I[97], 266, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 266, 56, "isLast"); let val = this[_escape$][_convert](chunk, start, end); if (val == null) { this[_sink$0].addSlice(chunk, start, end, isLast); @@ -43864,8 +47009,8 @@ define([], (function load__dart_sdk() { } }; (convert._HtmlEscapeSink.new = function(_escape, _sink) { - if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); - if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); this[_escape$] = _escape; this[_sink$0] = _sink; ; @@ -43877,7 +47022,7 @@ define([], (function load__dart_sdk() { addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); + dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), [_escape$]: dart.finalFieldType(convert.HtmlEscape), @@ -43905,6 +47050,11 @@ define([], (function load__dart_sdk() { set partialResult(value) { super.partialResult = value; } + static ['_#new#tearOff'](unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + return new convert.JsonUnsupportedObjectError.new(unsupportedObject, {cause: cause, partialResult: partialResult}); + } toString() { let safeString = core.Error.safeToString(this.unsupportedObject); let prefix = null; @@ -43927,7 +47077,7 @@ define([], (function load__dart_sdk() { }).prototype = convert.JsonUnsupportedObjectError.prototype; dart.addTypeTests(convert.JsonUnsupportedObjectError); dart.addTypeCaches(convert.JsonUnsupportedObjectError); - dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); + dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), @@ -43936,6 +47086,9 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + static ['_#new#tearOff'](object) { + return new convert.JsonCyclicError.new(object); + } toString() { return "Cyclic error in JSON stringify"; } @@ -43946,7 +47099,7 @@ define([], (function load__dart_sdk() { }).prototype = convert.JsonCyclicError.prototype; dart.addTypeTests(convert.JsonCyclicError); dart.addTypeCaches(convert.JsonCyclicError); - dart.setLibraryUri(convert.JsonCyclicError, I[31]); + dart.setLibraryUri(convert.JsonCyclicError, I[33]); dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); var _reviver = dart.privateName(convert, "JsonCodec._reviver"); var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); @@ -43967,9 +47120,18 @@ define([], (function load__dart_sdk() { set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return new convert.JsonCodec.new({reviver: reviver, toEncodable: toEncodable}); + } + static ['_#withReviver#tearOff'](reviver) { + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); + return new convert.JsonCodec.withReviver(reviver); + } decode(source, opts) { core.String.as(source); - if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + if (source == null) dart.nullFailed(I[98], 213, 25, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; reviver == null ? reviver = this[_reviver$] : null; if (reviver == null) return this.decoder.convert(source); @@ -43982,11 +47144,11 @@ define([], (function load__dart_sdk() { return new convert.JsonEncoder.new(toEncodable).convert(value); } get encoder() { - if (this[_toEncodable$] == null) return C[92] || CT.C92; + if (this[_toEncodable$] == null) return C[99] || CT.C99; return new convert.JsonEncoder.new(this[_toEncodable$]); } get decoder() { - if (this[_reviver$] == null) return C[93] || CT.C93; + if (this[_reviver$] == null) return C[100] || CT.C100; return new convert.JsonDecoder.new(this[_reviver$]); } }; @@ -43999,7 +47161,7 @@ define([], (function load__dart_sdk() { ; }).prototype = convert.JsonCodec.prototype; (convert.JsonCodec.withReviver = function(reviver) { - if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); convert.JsonCodec.new.call(this, {reviver: reviver}); }).prototype = convert.JsonCodec.prototype; dart.addTypeTests(convert.JsonCodec); @@ -44014,7 +47176,7 @@ define([], (function load__dart_sdk() { encoder: convert.JsonEncoder, decoder: convert.JsonDecoder })); - dart.setLibraryUri(convert.JsonCodec, I[31]); + dart.setLibraryUri(convert.JsonCodec, I[33]); dart.setFieldSignature(convert.JsonCodec, () => ({ __proto__: dart.getFields(convert.JsonCodec.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -44035,12 +47197,18 @@ define([], (function load__dart_sdk() { set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](toEncodable = null) { + return new convert.JsonEncoder.new(toEncodable); + } + static ['_#withIndent#tearOff'](indent, toEncodable = null) { + return new convert.JsonEncoder.withIndent(indent, toEncodable); + } convert(object) { return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (sink == null) dart.nullFailed(I[98], 354, 70, "sink"); if (convert._Utf8EncoderSink.is(sink)) { return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); } @@ -44048,12 +47216,12 @@ define([], (function load__dart_sdk() { } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 369, 39, "stream"); return super.bind(stream); } fuse(T, other) { convert.Converter$(core.String, T).as(other); - if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (other == null) dart.nullFailed(I[98], 371, 54, "other"); if (convert.Utf8Encoder.is(other)) { return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); } @@ -44080,7 +47248,7 @@ define([], (function load__dart_sdk() { startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.JsonEncoder, I[31]); + dart.setLibraryUri(convert.JsonEncoder, I[33]); dart.setFieldSignature(convert.JsonEncoder, () => ({ __proto__: dart.getFields(convert.JsonEncoder.__proto__), indent: dart.finalFieldType(dart.nullable(core.String)), @@ -44089,6 +47257,9 @@ define([], (function load__dart_sdk() { var _indent$ = dart.privateName(convert, "_indent"); var _bufferSize$ = dart.privateName(convert, "_bufferSize"); convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static ['_#new#tearOff'](indent = null, toEncodable = null, bufferSize = null) { + return new convert.JsonUtf8Encoder.new(indent, toEncodable, bufferSize); + } static _utf8Encode(string) { if (string == null) return null; if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); @@ -44103,9 +47274,9 @@ define([], (function load__dart_sdk() { convert(object) { let bytes = T$0.JSArrayOfListOfint().of([]); function addChunk(chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); - if (start == null) dart.nullFailed(I[95], 365, 40, "start"); - if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (chunk == null) dart.nullFailed(I[98], 446, 29, "chunk"); + if (start == null) dart.nullFailed(I[98], 446, 40, "start"); + if (end == null) dart.nullFailed(I[98], 446, 51, "end"); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { let length = dart.notNull(end) - dart.notNull(start); chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); @@ -44130,7 +47301,7 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); let byteSink = null; if (convert.ByteConversionSink.is(sink)) { byteSink = sink; @@ -44141,15 +47312,15 @@ define([], (function load__dart_sdk() { } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + if (stream == null) dart.nullFailed(I[98], 489, 42, "stream"); return super.bind(stream); } }; (convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { - let t173; + let t153; this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); convert.JsonUtf8Encoder.__proto__.new.call(this); ; }).prototype = convert.JsonUtf8Encoder.prototype; @@ -44160,23 +47331,26 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); + dart.setStaticMethodSignature(convert.JsonUtf8Encoder, () => ['_utf8Encode']); + dart.setLibraryUri(convert.JsonUtf8Encoder, I[33]); dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), [_bufferSize$]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(convert.JsonUtf8Encoder, () => ['_defaultBufferSize']); dart.defineLazy(convert.JsonUtf8Encoder, { /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { return 256; - }, - /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { - return 256; } }, false); var _isDone = dart.privateName(convert, "_isDone"); convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); + return new convert._JsonEncoderSink.new(_sink, _toEncodable, _indent); + } add(o) { if (dart.test(this[_isDone])) { dart.throw(new core.StateError.new("Only one call to add allowed")); @@ -44190,7 +47364,7 @@ define([], (function load__dart_sdk() { } }; (convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44205,7 +47379,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._JsonEncoderSink, I[31]); + dart.setLibraryUri(convert._JsonEncoderSink, I[33]); dart.setFieldSignature(convert._JsonEncoderSink, () => ({ __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.String)), @@ -44215,10 +47389,15 @@ define([], (function load__dart_sdk() { })); var _addChunk = dart.privateName(convert, "_addChunk"); convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); + return new convert._JsonUtf8EncoderSink.new(_sink, _toEncodable, _indent, _bufferSize); + } [_addChunk](chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); - if (start == null) dart.nullFailed(I[95], 454, 39, "start"); - if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + if (chunk == null) dart.nullFailed(I[98], 535, 28, "chunk"); + if (start == null) dart.nullFailed(I[98], 535, 39, "start"); + if (end == null) dart.nullFailed(I[98], 535, 50, "end"); this[_sink$0].addSlice(chunk, start, end, false); } add(object) { @@ -44237,8 +47416,8 @@ define([], (function load__dart_sdk() { } }; (convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { - if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); - if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44255,7 +47434,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); + dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -44272,18 +47451,21 @@ define([], (function load__dart_sdk() { set [_reviver$](value) { super[_reviver$] = value; } + static ['_#new#tearOff'](reviver = null) { + return new convert.JsonDecoder.new(reviver); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + if (input == null) dart.nullFailed(I[98], 610, 26, "input"); return convert._parseJson(input, this[_reviver$]); } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + if (sink == null) dart.nullFailed(I[88], 363, 61, "sink"); return new convert._JsonDecoderSink.new(this[_reviver$], sink); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 618, 39, "stream"); return super.bind(stream); } }; @@ -44299,7 +47481,7 @@ define([], (function load__dart_sdk() { convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) })); - dart.setLibraryUri(convert.JsonDecoder, I[31]); + dart.setLibraryUri(convert.JsonDecoder, I[33]); dart.setFieldSignature(convert.JsonDecoder, () => ({ __proto__: dart.getFields(convert.JsonDecoder.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) @@ -44310,11 +47492,11 @@ define([], (function load__dart_sdk() { var _partialResult = dart.privateName(convert, "_partialResult"); convert._JsonStringifier = class _JsonStringifier extends core.Object { static hexDigit(x) { - if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + if (x == null) dart.nullFailed(I[98], 679, 27, "x"); return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); } writeStringContent(s) { - if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + if (s == null) dart.nullFailed(I[98], 682, 34, "s"); let offset = 0; let length = s.length; for (let i = 0; i < length; i = i + 1) { @@ -44340,39 +47522,39 @@ define([], (function load__dart_sdk() { this.writeCharCode(92); switch (charCode) { case 8: - { - this.writeCharCode(98); - break; - } + { + this.writeCharCode(98); + break; + } case 9: - { - this.writeCharCode(116); - break; - } + { + this.writeCharCode(116); + break; + } case 10: - { - this.writeCharCode(110); - break; - } + { + this.writeCharCode(110); + break; + } case 12: - { - this.writeCharCode(102); - break; - } + { + this.writeCharCode(102); + break; + } case 13: - { - this.writeCharCode(114); - break; - } + { + this.writeCharCode(114); + break; + } default: - { - this.writeCharCode(117); - this.writeCharCode(48); - this.writeCharCode(48); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - break; - } + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } } } else if (charCode === 34 || charCode === 92) { if (i > offset) this.writeStringSlice(s, offset, i); @@ -44396,16 +47578,16 @@ define([], (function load__dart_sdk() { this[_seen][$add](object); } [_removeSeen](object) { - if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); - if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[98], 771, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[98], 772, 12, "identical(_seen.last, object)"); this[_seen][$removeLast](); } writeObject(object) { - let t173; + let t153; if (dart.test(this.writeJsonValue(object))) return; this[_checkCycle](object); try { - let customJson = (t173 = object, this[_toEncodable$](t173)); + let customJson = (t153 = object, this[_toEncodable$](t153)); if (!dart.test(this.writeJsonValue(customJson))) { dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); } @@ -44452,7 +47634,7 @@ define([], (function load__dart_sdk() { } } writeList(list) { - if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + if (list == null) dart.nullFailed(I[98], 838, 32, "list"); this.writeString("["); if (dart.test(list[$isNotEmpty])) { this.writeObject(list[$_get](0)); @@ -44464,7 +47646,7 @@ define([], (function load__dart_sdk() { this.writeString("]"); } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (map == null) dart.nullFailed(I[98], 851, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44473,12 +47655,12 @@ define([], (function load__dart_sdk() { let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{"); @@ -44495,9 +47677,9 @@ define([], (function load__dart_sdk() { } }; (convert._JsonStringifier.new = function(toEncodable) { - let t173; + let t153; this[_seen] = []; - this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); ; }).prototype = convert._JsonStringifier.prototype; dart.addTypeTests(convert._JsonStringifier); @@ -44512,12 +47694,14 @@ define([], (function load__dart_sdk() { writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); - dart.setLibraryUri(convert._JsonStringifier, I[31]); + dart.setStaticMethodSignature(convert._JsonStringifier, () => ['hexDigit']); + dart.setLibraryUri(convert._JsonStringifier, I[33]); dart.setFieldSignature(convert._JsonStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringifier.__proto__), [_seen]: dart.finalFieldType(core.List), [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) })); + dart.setStaticFieldSignature(convert._JsonStringifier, () => ['backspace', 'tab', 'newline', 'carriageReturn', 'formFeed', 'quote', 'char_0', 'backslash', 'char_b', 'char_d', 'char_f', 'char_n', 'char_r', 'char_t', 'char_u', 'surrogateMin', 'surrogateMask', 'surrogateLead', 'surrogateTrail']); dart.defineLazy(convert._JsonStringifier, { /*convert._JsonStringifier.backspace*/get backspace() { return 8; @@ -44584,10 +47768,11 @@ define([], (function load__dart_sdk() { return this[_indentLevel]; } set [_indentLevel$](value) { + if (value == null) dart.nullFailed(I[98], 886, 7, "_indentLevel"); this[_indentLevel] = value; } writeList(list) { - if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (list == null) dart.nullFailed(I[98], 891, 32, "list"); if (dart.test(list[$isEmpty])) { this.writeString("[]"); } else { @@ -44607,7 +47792,7 @@ define([], (function load__dart_sdk() { } } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (map == null) dart.nullFailed(I[98], 911, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44616,12 +47801,12 @@ define([], (function load__dart_sdk() { let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{\n"); @@ -44655,19 +47840,23 @@ define([], (function load__dart_sdk() { writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); - dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); + dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[33]); dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), [_indentLevel$]: dart.fieldType(core.int) })); convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); + return new convert._JsonStringStringifier.new(_sink, _toEncodable); + } static stringify(object, toEncodable, indent) { let output = new core.StringBuffer.new(); convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); return output.toString(); } static printOn(object, output, toEncodable, indent) { - if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + if (output == null) dart.nullFailed(I[98], 974, 50, "output"); let stringifier = null; if (indent == null) { stringifier = new convert._JsonStringStringifier.new(output, toEncodable); @@ -44680,26 +47869,26 @@ define([], (function load__dart_sdk() { return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + if (number == null) dart.nullFailed(I[98], 987, 24, "number"); this[_sink$0].write(dart.toString(number)); } writeString(string) { - if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + if (string == null) dart.nullFailed(I[98], 991, 27, "string"); this[_sink$0].write(string); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 890, 32, "string"); - if (start == null) dart.nullFailed(I[95], 890, 44, "start"); - if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + if (string == null) dart.nullFailed(I[98], 995, 32, "string"); + if (start == null) dart.nullFailed(I[98], 995, 44, "start"); + if (end == null) dart.nullFailed(I[98], 995, 55, "end"); this[_sink$0].write(string[$substring](start, end)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 999, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } }; (convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); this[_sink$0] = _sink; convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); ; @@ -44713,11 +47902,12 @@ define([], (function load__dart_sdk() { writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), writeCharCode: dart.fnType(dart.void, [core.int]) })); + dart.setStaticMethodSignature(convert._JsonStringStringifier, () => ['stringify', 'printOn']); dart.setGetterSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); - dart.setLibraryUri(convert._JsonStringStringifier, I[31]); + dart.setLibraryUri(convert._JsonStringStringifier, I[33]); dart.setFieldSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), [_sink$0]: dart.finalFieldType(core.StringSink) @@ -44729,15 +47919,20 @@ define([], (function load__dart_sdk() { }).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); + return new convert._JsonStringStringifierPretty.new(sink, toEncodable, _indent); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1012, 29, "count"); for (let i = 0; i < dart.notNull(count); i = i + 1) this.writeString(this[_indent$]); } }; (convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { - if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); - if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); this[_indent$] = _indent; convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); ; @@ -44748,15 +47943,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); + dart.setLibraryUri(convert._JsonStringStringifierPretty, I[33]); dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), [_indent$]: dart.finalFieldType(core.String) })); convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); + return new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } static stringify(object, indent, toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1045, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1046, 12, "addChunk"); let stringifier = null; if (indent != null) { stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); @@ -44767,12 +47967,12 @@ define([], (function load__dart_sdk() { stringifier.flush(); } flush() { - let t176, t175, t174; + let t156, t155, t154; if (dart.notNull(this.index) > 0) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); } this.buffer = _native_typed_data.NativeUint8List.new(0); this.index = 0; @@ -44781,25 +47981,25 @@ define([], (function load__dart_sdk() { return null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); this.writeAsciiString(dart.toString(number)); } writeAsciiString(string) { - if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + if (string == null) dart.nullFailed(I[98], 1075, 32, "string"); for (let i = 0; i < string.length; i = i + 1) { let char = string[$codeUnitAt](i); - if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + if (!(char <= 127)) dart.assertFailed(null, I[98], 1080, 14, "char <= 0x7f"); this.writeByte(char); } } writeString(string) { - if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + if (string == null) dart.nullFailed(I[98], 1085, 27, "string"); this.writeStringSlice(string, 0, string.length); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 984, 32, "string"); - if (start == null) dart.nullFailed(I[95], 984, 44, "start"); - if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + if (string == null) dart.nullFailed(I[98], 1089, 32, "string"); + if (start == null) dart.nullFailed(I[98], 1089, 44, "start"); + if (end == null) dart.nullFailed(I[98], 1089, 55, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = string[$codeUnitAt](i); if (char <= 127) { @@ -44823,7 +48023,7 @@ define([], (function load__dart_sdk() { } } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); if (dart.notNull(charCode) <= 127) { this.writeByte(charCode); return; @@ -44831,7 +48031,7 @@ define([], (function load__dart_sdk() { this.writeMultiByteCharCode(charCode); } writeMultiByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1128, 35, "charCode"); if (dart.notNull(charCode) <= 2047) { this.writeByte((192 | charCode[$rightShift](6)) >>> 0); this.writeByte(128 | dart.notNull(charCode) & 63); @@ -44846,31 +48046,31 @@ define([], (function load__dart_sdk() { this.writeFourByteCharCode(charCode); } writeFourByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); - if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + if (charCode == null) dart.nullFailed(I[98], 1143, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[98], 1144, 12, "charCode <= 0x10ffff"); this.writeByte((240 | charCode[$rightShift](18)) >>> 0); this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); this.writeByte(128 | dart.notNull(charCode) & 63); } writeByte(byte) { - let t176, t175, t174, t174$; - if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); - if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + let t156, t155, t154, t154$; + if (byte == null) dart.nullFailed(I[98], 1151, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[98], 1152, 12, "byte <= 0xff"); if (this.index == this.buffer[$length]) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); this.index = 0; } - this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + this.buffer[$_set]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); } }; (convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); this.index = 0; this.bufferSize = bufferSize; this.addChunk = addChunk; @@ -44892,11 +48092,12 @@ define([], (function load__dart_sdk() { writeFourByteCharCode: dart.fnType(dart.void, [core.int]), writeByte: dart.fnType(dart.void, [core.int]) })); + dart.setStaticMethodSignature(convert._JsonUtf8Stringifier, () => ['stringify']); dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); - dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); + dart.setLibraryUri(convert._JsonUtf8Stringifier, I[33]); dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), bufferSize: dart.finalFieldType(core.int), @@ -44911,8 +48112,14 @@ define([], (function load__dart_sdk() { }).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); + return new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1170, 29, "count"); let indent = this.indent; let indentLength = indent[$length]; if (indentLength === 1) { @@ -44938,9 +48145,9 @@ define([], (function load__dart_sdk() { } }; (convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { - if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); - if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); this.indent = indent; convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); ; @@ -44951,7 +48158,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); + dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), indent: dart.finalFieldType(core.List$(core.int)) @@ -44964,35 +48171,40 @@ define([], (function load__dart_sdk() { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); + return new convert.Latin1Codec.new({allowInvalid: allowInvalid}); + } get name() { return "iso-8859-1"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + if (source == null) dart.nullFailed(I[99], 40, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t174; + let t154; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { - return (C[95] || CT.C95).convert(bytes); + if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { + return (C[102] || CT.C102).convert(bytes); } else { - return (C[96] || CT.C96).convert(bytes); + return (C[103] || CT.C103).convert(bytes); } } get encoder() { - return C[97] || CT.C97; + return C[104] || CT.C104; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + return dart.test(this[_allowInvalid$]) ? C[102] || CT.C102 : C[103] || CT.C103; } }; (convert.Latin1Codec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); this[_allowInvalid$1] = allowInvalid; convert.Latin1Codec.__proto__.new.call(this); ; @@ -45010,23 +48222,32 @@ define([], (function load__dart_sdk() { encoder: convert.Latin1Encoder, decoder: convert.Latin1Decoder })); - dart.setLibraryUri(convert.Latin1Codec, I[31]); + dart.setLibraryUri(convert.Latin1Codec, I[33]); dart.setFieldSignature(convert.Latin1Codec, () => ({ __proto__: dart.getFields(convert.Latin1Codec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) })); - convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; + convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.Latin1Encoder.new(); + } + }; (convert.Latin1Encoder.new = function() { convert.Latin1Encoder.__proto__.new.call(this, 255); ; }).prototype = convert.Latin1Encoder.prototype; dart.addTypeTests(convert.Latin1Encoder); dart.addTypeCaches(convert.Latin1Encoder); - dart.setLibraryUri(convert.Latin1Encoder, I[31]); + dart.setLibraryUri(convert.Latin1Encoder, I[33]); convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); + return new convert.Latin1Decoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + if (sink == null) dart.nullFailed(I[99], 124, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45039,7 +48260,7 @@ define([], (function load__dart_sdk() { }; (convert.Latin1Decoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); ; }).prototype = convert.Latin1Decoder.prototype; @@ -45049,31 +48270,34 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.Latin1Decoder, I[31]); + dart.setLibraryUri(convert.Latin1Decoder, I[33]); var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + return new convert._Latin1DecoderSink.new(_sink); + } close() { dart.nullCheck(this[_sink$0]).close(); this[_sink$0] = null; } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + if (source == null) dart.nullFailed(I[99], 146, 22, "source"); this.addSlice(source, 0, source[$length], false); } [_addSliceToSink](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 114, 34, "source"); - if (start == null) dart.nullFailed(I[96], 114, 46, "start"); - if (end == null) dart.nullFailed(I[96], 114, 57, "end"); - if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + if (source == null) dart.nullFailed(I[99], 150, 34, "source"); + if (start == null) dart.nullFailed(I[99], 150, 46, "start"); + if (end == null) dart.nullFailed(I[99], 150, 57, "end"); + if (isLast == null) dart.nullFailed(I[99], 150, 67, "isLast"); dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); if (dart.test(isLast)) this.close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 123, 27, "source"); - if (start == null) dart.nullFailed(I[96], 123, 39, "start"); - if (end == null) dart.nullFailed(I[96], 123, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 159, 27, "source"); + if (start == null) dart.nullFailed(I[99], 159, 39, "start"); + if (end == null) dart.nullFailed(I[99], 159, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 159, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); if (start == end) return; if (!typed_data.Uint8List.is(source)) { @@ -45082,9 +48306,9 @@ define([], (function load__dart_sdk() { this[_addSliceToSink](source, start, end, isLast); } static _checkValidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 135, 43, "source"); - if (start == null) dart.nullFailed(I[96], 135, 55, "start"); - if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + if (source == null) dart.nullFailed(I[99], 171, 43, "source"); + if (start == null) dart.nullFailed(I[99], 171, 55, "start"); + if (end == null) dart.nullFailed(I[99], 171, 66, "end"); let mask = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { mask = (mask | dart.notNull(source[$_get](i))) >>> 0; @@ -45095,16 +48319,16 @@ define([], (function load__dart_sdk() { convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); } static _reportInvalidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 146, 46, "source"); - if (start == null) dart.nullFailed(I[96], 146, 58, "start"); - if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + if (source == null) dart.nullFailed(I[99], 182, 46, "source"); + if (start == null) dart.nullFailed(I[99], 182, 58, "start"); + if (end == null) dart.nullFailed(I[99], 182, 69, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); } } - if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + if (!false) dart.assertFailed(null, I[99], 192, 12, "false"); } }; (convert._Latin1DecoderSink.new = function(_sink) { @@ -45120,23 +48344,28 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); + dart.setStaticMethodSignature(convert._Latin1DecoderSink, () => ['_checkValidLatin1', '_reportInvalidLatin1']); + dart.setLibraryUri(convert._Latin1DecoderSink, I[33]); dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) })); convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + static ['_#new#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); + return new convert._Latin1AllowInvalidDecoderSink.new(sink); + } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 163, 27, "source"); - if (start == null) dart.nullFailed(I[96], 163, 39, "start"); - if (end == null) dart.nullFailed(I[96], 163, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 199, 27, "source"); + if (start == null) dart.nullFailed(I[99], 199, 39, "start"); + if (end == null) dart.nullFailed(I[99], 199, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 199, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); - this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + this[_addSliceToSink](C[105] || CT.C105, 0, 1, false); start = dart.notNull(i) + 1; } } @@ -45149,44 +48378,25 @@ define([], (function load__dart_sdk() { } }; (convert._Latin1AllowInvalidDecoderSink.new = function(sink) { - if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); ; }).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); - dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); + dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[33]); convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static ['_#new#tearOff']() { + return new convert.LineSplitter.new(); + } static split(lines, start = 0, end = null) { - if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); - if (start == null) dart.nullFailed(I[97], 28, 52, "start"); - return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { - end = core.RangeError.checkValidRange(start, end, lines.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } - let sliceStart = start; - let char = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - yield lines[$substring](sliceStart, i); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - yield lines[$substring](sliceStart, end); - } - })(end)); + if (lines == null) dart.nullFailed(I[100], 47, 40, "lines"); + if (start == null) dart.nullFailed(I[100], 47, 52, "start"); + end = core.RangeError.checkValidRange(start, end, lines.length); + return new convert._LineSplitIterable.new(lines, start, end); } convert(data) { - if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + if (data == null) dart.nullFailed(I[100], 52, 31, "data"); let lines = T$.JSArrayOfString().of([]); let end = data.length; let sliceStart = 0; @@ -45210,14 +48420,14 @@ define([], (function load__dart_sdk() { return lines; } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + if (sink == null) dart.nullFailed(I[100], 76, 60, "sink"); return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + if (stream == null) dart.nullFailed(I[100], 81, 38, "stream"); return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); return new convert._LineSplitterEventSink.new(sink); }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); } @@ -45234,16 +48444,21 @@ define([], (function load__dart_sdk() { startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.LineSplitter, I[31]); + dart.setStaticMethodSignature(convert.LineSplitter, () => ['split']); + dart.setLibraryUri(convert.LineSplitter, I[33]); var _carry = dart.privateName(convert, "_carry"); var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); var _addLines = dart.privateName(convert, "_addLines"); convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); + return new convert._LineSplitterSink.new(_sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); - if (start == null) dart.nullFailed(I[97], 109, 35, "start"); - if (end == null) dart.nullFailed(I[97], 109, 46, "end"); - if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[100], 107, 24, "chunk"); + if (start == null) dart.nullFailed(I[100], 107, 35, "start"); + if (end == null) dart.nullFailed(I[100], 107, 46, "end"); + if (isLast == null) dart.nullFailed(I[100], 107, 56, "isLast"); end = core.RangeError.checkValidRange(start, end, chunk.length); if (dart.notNull(start) >= dart.notNull(end)) { if (dart.test(isLast)) this.close(); @@ -45251,7 +48466,7 @@ define([], (function load__dart_sdk() { } let carry = this[_carry]; if (carry != null) { - if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[100], 117, 14, "!_skipLeadingLF"); chunk = dart.notNull(carry) + chunk[$substring](start, end); start = 0; end = chunk.length; @@ -45273,9 +48488,9 @@ define([], (function load__dart_sdk() { this[_sink$0].close(); } [_addLines](lines, start, end) { - if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); - if (start == null) dart.nullFailed(I[97], 142, 36, "start"); - if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + if (lines == null) dart.nullFailed(I[100], 140, 25, "lines"); + if (start == null) dart.nullFailed(I[100], 140, 36, "start"); + if (end == null) dart.nullFailed(I[100], 140, 47, "end"); let sliceStart = start; let char = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -45299,7 +48514,7 @@ define([], (function load__dart_sdk() { } }; (convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); this[_carry] = null; this[_skipLeadingLF] = false; this[_sink$0] = _sink; @@ -45313,7 +48528,7 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) })); - dart.setLibraryUri(convert._LineSplitterSink, I[31]); + dart.setLibraryUri(convert._LineSplitterSink, I[33]); dart.setFieldSignature(convert._LineSplitterSink, () => ({ __proto__: dart.getFields(convert._LineSplitterSink.__proto__), [_sink$0]: dart.finalFieldType(convert.StringConversionSink), @@ -45321,13 +48536,17 @@ define([], (function load__dart_sdk() { [_skipLeadingLF]: dart.fieldType(core.bool) })); convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + static ['_#new#tearOff'](eventSink) { + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); + return new convert._LineSplitterEventSink.new(eventSink); + } addError(o, stackTrace = null) { - if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + if (o == null) dart.nullFailed(I[100], 172, 24, "o"); this[_eventSink].addError(o, stackTrace); } }; (convert._LineSplitterEventSink.new = function(eventSink) { - if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); this[_eventSink] = eventSink; convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); ; @@ -45339,36 +48558,178 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) })); - dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); + dart.setLibraryUri(convert._LineSplitterEventSink, I[33]); dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) })); - convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; + var _source$5 = dart.privateName(convert, "_source"); + var _start$1 = dart.privateName(convert, "_start"); + var _end$ = dart.privateName(convert, "_end"); + convert._LineSplitIterable = class _LineSplitIterable extends core.Iterable$(core.String) { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + return new convert._LineSplitIterable.new(_source, _start, _end); + } + get iterator() { + return new convert._LineSplitIterator.new(this[_source$5], this[_start$1], this[_end$]); + } + }; + (convert._LineSplitIterable.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + convert._LineSplitIterable.__proto__.new.call(this); + ; + }).prototype = convert._LineSplitIterable.prototype; + dart.addTypeTests(convert._LineSplitIterable); + dart.addTypeCaches(convert._LineSplitIterable); + dart.setGetterSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterable.__proto__), + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String) + })); + dart.setLibraryUri(convert._LineSplitIterable, I[33]); + dart.setFieldSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getFields(convert._LineSplitIterable.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_start$1]: dart.finalFieldType(core.int), + [_end$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(convert._LineSplitIterable, ['iterator']); + var _lineStart = dart.privateName(convert, "_lineStart"); + var _lineEnd = dart.privateName(convert, "_lineEnd"); + var _current$2 = dart.privateName(convert, "_current"); + convert._LineSplitIterator = class _LineSplitIterator extends core.Object { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + return new convert._LineSplitIterator.new(_source, _start, _end); + } + moveNext() { + this[_current$2] = null; + this[_lineStart] = this[_start$1]; + this[_lineEnd] = -1; + let eolLength = 1; + for (let i = this[_start$1]; dart.notNull(i) < dart.notNull(this[_end$]); i = dart.notNull(i) + 1) { + let char = this[_source$5][$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + } else { + if (dart.notNull(i) + 1 < dart.notNull(this[_end$]) && this[_source$5][$codeUnitAt](dart.notNull(i) + 1) === 10) { + eolLength = 2; + } + } + this[_lineEnd] = i; + this[_start$1] = dart.notNull(i) + eolLength; + return true; + } + if (dart.notNull(this[_start$1]) < dart.notNull(this[_end$])) { + this[_lineEnd] = this[_end$]; + this[_start$1] = this[_end$]; + return true; + } + this[_start$1] = this[_end$]; + return false; + } + get current() { + let t154; + t154 = this[_current$2]; + return t154 == null ? this[_current$2] = dart.notNull(this[_lineEnd]) >= 0 ? this[_source$5][$substring](this[_lineStart], this[_lineEnd]) : dart.throw(new core.StateError.new("No element")) : t154; + } + }; + (convert._LineSplitIterator.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + this[_lineStart] = 0; + this[_lineEnd] = -1; + this[_current$2] = null; + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + ; + }).prototype = convert._LineSplitIterator.prototype; + dart.addTypeTests(convert._LineSplitIterator); + dart.addTypeCaches(convert._LineSplitIterator); + convert._LineSplitIterator[dart.implements] = () => [core.Iterator$(core.String)]; + dart.setMethodSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getMethods(convert._LineSplitIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterator.__proto__), + current: core.String + })); + dart.setLibraryUri(convert._LineSplitIterator, I[33]); + dart.setFieldSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getFields(convert._LineSplitIterator.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_end$]: dart.finalFieldType(core.int), + [_start$1]: dart.fieldType(core.int), + [_lineStart]: dart.fieldType(core.int), + [_lineEnd]: dart.fieldType(core.int), + [_current$2]: dart.fieldType(dart.nullable(core.String)) + })); + convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[89], 20, 50, "callback"); + return new convert._StringCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 22, 50, "sink"); + return new convert._StringAdapterSink.new(sink); + } + static ['_#fromStringSink#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 29, 58, "sink"); + return new (T$0._StringSinkConversionSinkOfStringSink()).new(sink); + } + }; (convert.StringConversionSink.new = function() { convert.StringConversionSink.__proto__.new.call(this); ; }).prototype = convert.StringConversionSink.prototype; dart.addTypeTests(convert.StringConversionSink); dart.addTypeCaches(convert.StringConversionSink); - dart.setLibraryUri(convert.StringConversionSink, I[31]); + dart.setStaticMethodSignature(convert.StringConversionSink, () => ['withCallback', 'from', 'fromStringSink']); + dart.setLibraryUri(convert.StringConversionSink, I[33]); + dart.setStaticFieldSignature(convert.StringConversionSink, () => ['_redirecting#']); core.StringSink = class StringSink extends core.Object {}; (core.StringSink.new = function() { ; }).prototype = core.StringSink.prototype; dart.addTypeTests(core.StringSink); dart.addTypeCaches(core.StringSink); - dart.setLibraryUri(core.StringSink, I[8]); - convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; + dart.setLibraryUri(core.StringSink, I[9]); + convert.ClosableStringSink = class ClosableStringSink extends core.StringSink { + static ['_#fromStringSink#tearOff'](sink, onClose) { + if (sink == null) dart.nullFailed(I[89], 59, 56, "sink"); + if (onClose == null) dart.nullFailed(I[89], 59, 67, "onClose"); + return new convert._ClosableStringSink.new(sink, onClose); + } + }; dart.addTypeTests(convert.ClosableStringSink); dart.addTypeCaches(convert.ClosableStringSink); - dart.setLibraryUri(convert.ClosableStringSink, I[31]); + dart.setStaticMethodSignature(convert.ClosableStringSink, () => ['fromStringSink']); + dart.setLibraryUri(convert.ClosableStringSink, I[33]); + dart.setStaticFieldSignature(convert.ClosableStringSink, () => ['_redirecting#']); convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + static ['_#new#tearOff'](_sink, _callback) { + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); + return new convert._ClosableStringSink.new(_sink, _callback); + } close() { this[_callback$](); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 78, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } write(o) { @@ -45378,14 +48739,14 @@ define([], (function load__dart_sdk() { this[_sink$0].writeln(o); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 90, 43, "separator"); this[_sink$0].writeAll(objects, separator); } }; (convert._ClosableStringSink.new = function(_sink, _callback) { - if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); this[_sink$0] = _sink; this[_callback$] = _callback; ; @@ -45401,7 +48762,7 @@ define([], (function load__dart_sdk() { writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) })); - dart.setLibraryUri(convert._ClosableStringSink, I[31]); + dart.setLibraryUri(convert._ClosableStringSink, I[33]); dart.setFieldSignature(convert._ClosableStringSink, () => ({ __proto__: dart.getFields(convert._ClosableStringSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -45409,12 +48770,16 @@ define([], (function load__dart_sdk() { })); var _flush = dart.privateName(convert, "_flush"); convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + static ['_#new#tearOff'](_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); + return new convert._StringConversionSinkAsStringSinkAdapter.new(_chunkedSink); + } close() { if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); this[_chunkedSink$].close(); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 113, 26, "charCode"); this[_buffer$].writeCharCode(charCode); if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } @@ -45427,8 +48792,8 @@ define([], (function load__dart_sdk() { if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 128, 43, "separator"); if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; @@ -45451,7 +48816,7 @@ define([], (function load__dart_sdk() { } }; (convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); this[_chunkedSink$] = _chunkedSink; this[_buffer$] = new core.StringBuffer.new(); ; @@ -45468,54 +48833,63 @@ define([], (function load__dart_sdk() { writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), [_flush]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); + dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[33]); dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), [_buffer$]: dart.finalFieldType(core.StringBuffer), [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) })); + dart.setStaticFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ['_MIN_STRING_SIZE']); dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { return 16; } }, false); convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_callback) { + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); + return new convert._StringCallbackSink.new(_callback); + } close() { - let t174; + let t154; let accumulated = dart.toString(this[_stringSink$]); this[_stringSink$].clear(); - t174 = accumulated; - this[_callback$](t174); + t154 = accumulated; + this[_callback$](t154); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 222, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } }; (convert._StringCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); this[_callback$] = _callback; convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); ; }).prototype = convert._StringCallbackSink.prototype; dart.addTypeTests(convert._StringCallbackSink); dart.addTypeCaches(convert._StringCallbackSink); - dart.setLibraryUri(convert._StringCallbackSink, I[31]); + dart.setLibraryUri(convert._StringCallbackSink, I[33]); dart.setFieldSignature(convert._StringCallbackSink, () => ({ __proto__: dart.getFields(convert._StringCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) })); convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); + return new convert._StringAdapterSink.new(_sink); + } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + if (str == null) dart.nullFailed(I[89], 237, 19, "str"); this[_sink$0].add(str); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 241, 24, "str"); - if (start == null) dart.nullFailed(I[86], 241, 33, "start"); - if (end == null) dart.nullFailed(I[86], 241, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 241, 24, "str"); + if (start == null) dart.nullFailed(I[89], 241, 33, "start"); + if (end == null) dart.nullFailed(I[89], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 241, 54, "isLast"); if (start === 0 && end === str.length) { this.add(str); } else { @@ -45528,7 +48902,7 @@ define([], (function load__dart_sdk() { } }; (convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); this[_sink$0] = _sink; ; }).prototype = convert._StringAdapterSink.prototype; @@ -45539,34 +48913,40 @@ define([], (function load__dart_sdk() { addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(convert._StringAdapterSink, I[31]); + dart.setLibraryUri(convert._StringAdapterSink, I[33]); dart.setFieldSignature(convert._StringAdapterSink, () => ({ __proto__: dart.getFields(convert._StringAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) })); convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(_sink, _stringSink, allowMalformed); + } close() { this[_decoder].flush(this[_stringSink$]); this[_sink$0].close(); } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 271, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(codeUnits, startIndex, endIndex, isLast) { - if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); - if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + if (codeUnits == null) dart.nullFailed(I[89], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[89], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 276, 63, "isLast"); this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); if (dart.test(isLast)) this.close(); } }; (convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { - if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); - if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); - if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); this[_sink$0] = _sink; this[_stringSink$] = _stringSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); @@ -45581,7 +48961,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); + dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[33]); dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45589,6 +48969,17 @@ define([], (function load__dart_sdk() { [_stringSink$]: dart.finalFieldType(core.StringSink) })); convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); + return new convert._Utf8ConversionSink.new(sink, allowMalformed); + } + static ['_#_#tearOff'](_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); + return new convert._Utf8ConversionSink.__(_chunkedSink, stringBuffer, allowMalformed); + } close() { this[_decoder].flush(this[_buffer$]); if (dart.test(this[_buffer$].isNotEmpty)) { @@ -45601,14 +48992,14 @@ define([], (function load__dart_sdk() { } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 309, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(chunk, startIndex, endIndex, isLast) { - if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); - if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + if (chunk == null) dart.nullFailed(I[89], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[89], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 313, 69, "isLast"); this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); if (dart.test(this[_buffer$].isNotEmpty)) { let accumulated = dart.toString(this[_buffer$]); @@ -45620,14 +49011,14 @@ define([], (function load__dart_sdk() { } }; (convert._Utf8ConversionSink.new = function(sink, allowMalformed) { - if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); - if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); }).prototype = convert._Utf8ConversionSink.prototype; (convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { - if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); - if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); - if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); this[_chunkedSink$] = _chunkedSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); this[_buffer$] = stringBuffer; @@ -45642,7 +49033,7 @@ define([], (function load__dart_sdk() { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); + dart.setLibraryUri(convert._Utf8ConversionSink, I[33]); dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45659,27 +49050,32 @@ define([], (function load__dart_sdk() { set [_allowMalformed$](value) { super[_allowMalformed$] = value; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); + return new convert.Utf8Codec.new({allowMalformed: allowMalformed}); + } get name() { return "utf-8"; } decode(codeUnits, opts) { - let t174; + let t154; T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + let decoder = dart.test((t154 = allowMalformed, t154 == null ? this[_allowMalformed$] : t154)) ? C[106] || CT.C106 : C[107] || CT.C107; return decoder.convert(codeUnits); } get encoder() { - return C[101] || CT.C101; + return C[108] || CT.C108; } get decoder() { - return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + return dart.test(this[_allowMalformed$]) ? C[106] || CT.C106 : C[107] || CT.C107; } }; (convert.Utf8Codec.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); this[_allowMalformed] = allowMalformed; convert.Utf8Codec.__proto__.new.call(this); ; @@ -45696,7 +49092,7 @@ define([], (function load__dart_sdk() { encoder: convert.Utf8Encoder, decoder: convert.Utf8Decoder })); - dart.setLibraryUri(convert.Utf8Codec, I[31]); + dart.setLibraryUri(convert.Utf8Codec, I[33]); dart.setFieldSignature(convert.Utf8Codec, () => ({ __proto__: dart.getFields(convert.Utf8Codec.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) @@ -45704,35 +49100,35 @@ define([], (function load__dart_sdk() { var _fillBuffer = dart.privateName(convert, "_fillBuffer"); var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Utf8Encoder.new(); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[98], 88, 28, "string"); - if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + if (string == null) dart.nullFailed(I[101], 96, 28, "string"); + if (start == null) dart.nullFailed(I[101], 96, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return _native_typed_data.NativeUint8List.new(0); let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); let endPosition = encoder[_fillBuffer](string, start, end); - if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[101], 105, 12, "endPosition >= end - 1"); if (endPosition != end) { let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); - if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[101], 111, 14, "_isLeadSurrogate(lastCodeUnit)"); encoder[_writeReplacementCharacter](); } return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + if (sink == null) dart.nullFailed(I[101], 122, 63, "sink"); return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 128, 41, "stream"); return super.bind(stream); } }; @@ -45747,31 +49143,38 @@ define([], (function load__dart_sdk() { convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.Utf8Encoder, I[31]); + dart.setLibraryUri(convert.Utf8Encoder, I[33]); var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static ['_#new#tearOff']() { + return new convert._Utf8Encoder.new(); + } + static ['_#withBufferSize#tearOff'](bufferSize) { + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); + return new convert._Utf8Encoder.withBufferSize(bufferSize); + } static _createBuffer(size) { - if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + if (size == null) dart.nullFailed(I[101], 146, 38, "size"); return _native_typed_data.NativeUint8List.new(size); } [_writeReplacementCharacter]() { - let t174, t174$, t174$0; - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + let t154, t154$, t154$0; + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), 239); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 191); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 189); } [_writeSurrogate](leadingSurrogate, nextCodeUnit) { - let t174, t174$, t174$0, t174$1; - if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); - if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + let t154, t154$, t154$0, t154$1; + if (leadingSurrogate == null) dart.nullFailed(I[101], 164, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[101], 164, 50, "nextCodeUnit"); if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); - if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); - if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); - this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[101], 169, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[101], 170, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t154$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$1) + 1, t154$1), 128 | dart.notNull(rune) & 63); return true; } else { this[_writeReplacementCharacter](); @@ -45779,19 +49182,19 @@ define([], (function load__dart_sdk() { } } [_fillBuffer](str, start, end) { - let t175, t175$, t175$0, t175$1, t175$2, t175$3; - if (str == null) dart.nullFailed(I[98], 186, 26, "str"); - if (start == null) dart.nullFailed(I[98], 186, 35, "start"); - if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + let t155, t155$, t155$0, t155$1, t155$2, t155$3; + if (str == null) dart.nullFailed(I[101], 190, 26, "str"); + if (start == null) dart.nullFailed(I[101], 190, 35, "start"); + if (end == null) dart.nullFailed(I[101], 190, 46, "end"); if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { end = dart.notNull(end) - 1; } let stringIndex = null; - for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + for (let t154 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { let codeUnit = str[$codeUnitAt](stringIndex); if (codeUnit <= 127) { if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + this[_buffer$][$_set]((t155 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155) + 1, t155), codeUnit); } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); @@ -45804,14 +49207,14 @@ define([], (function load__dart_sdk() { let rune = codeUnit; if (rune <= 2047) { if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); - this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + this[_buffer$][$_set]((t155$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$) + 1, t155$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t155$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$0) + 1, t155$0), 128 | rune & 63); } else { - if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (!(rune <= 65535)) dart.assertFailed(null, I[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); - this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); - this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + this[_buffer$][$_set]((t155$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$1) + 1, t155$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t155$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$2) + 1, t155$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t155$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$3) + 1, t155$3), 128 | rune & 63); } } } @@ -45822,7 +49225,7 @@ define([], (function load__dart_sdk() { convert._Utf8Encoder.withBufferSize.call(this, 1024); }).prototype = convert._Utf8Encoder.prototype; (convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); this[_carry] = 0; this[_bufferIndex] = 0; this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); @@ -45836,13 +49239,15 @@ define([], (function load__dart_sdk() { [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) })); - dart.setLibraryUri(convert._Utf8Encoder, I[31]); + dart.setStaticMethodSignature(convert._Utf8Encoder, () => ['_createBuffer']); + dart.setLibraryUri(convert._Utf8Encoder, I[33]); dart.setFieldSignature(convert._Utf8Encoder, () => ({ __proto__: dart.getFields(convert._Utf8Encoder.__proto__), [_carry]: dart.fieldType(core.int), [_bufferIndex]: dart.fieldType(core.int), [_buffer$]: dart.finalFieldType(typed_data.Uint8List) })); + dart.setStaticFieldSignature(convert._Utf8Encoder, () => ['_DEFAULT_BYTE_BUFFER_SIZE']); dart.defineLazy(convert._Utf8Encoder, { /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { return 1024; @@ -45857,6 +49262,10 @@ define([], (function load__dart_sdk() { }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); + return new convert._Utf8EncoderSink.new(_sink); + } close() { if (this[_carry] !== 0) { this.addSlice("", 0, 0, true); @@ -45865,10 +49274,10 @@ define([], (function load__dart_sdk() { this[_sink$0].close(); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[98], 245, 24, "str"); - if (start == null) dart.nullFailed(I[98], 245, 33, "start"); - if (end == null) dart.nullFailed(I[98], 245, 44, "end"); - if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + if (str == null) dart.nullFailed(I[101], 249, 24, "str"); + if (start == null) dart.nullFailed(I[101], 249, 33, "start"); + if (end == null) dart.nullFailed(I[101], 249, 44, "end"); + if (isLast == null) dart.nullFailed(I[101], 249, 54, "isLast"); this[_bufferIndex] = 0; if (start == end && !dart.test(isLast)) { return; @@ -45878,10 +49287,10 @@ define([], (function load__dart_sdk() { if (start != end) { nextCodeUnit = str[$codeUnitAt](start); } else { - if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + if (!dart.test(isLast)) dart.assertFailed(null, I[101], 261, 16, "isLast"); } let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); - if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[101], 265, 14, "!wasCombined || start != end"); if (dart.test(wasCombined)) start = dart.notNull(start) + 1; this[_carry] = 0; } @@ -45903,7 +49312,7 @@ define([], (function load__dart_sdk() { } }; (convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); this[_sink$0] = _sink; convert._Utf8EncoderSink.__proto__.new.call(this); ; @@ -45915,7 +49324,7 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); + dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) @@ -45929,10 +49338,10 @@ define([], (function load__dart_sdk() { super[_allowMalformed$] = value; } static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 433, 59, "start"); - if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + if (allowMalformed == null) dart.nullFailed(I[88], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 433, 59, "start"); + if (end == null) dart.nullFailed(I[88], 433, 70, "end"); let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; if (decoder == null) return null; if (0 === start && end == codeUnits[$length]) { @@ -45943,7 +49352,7 @@ define([], (function load__dart_sdk() { return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); } static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); try { return decoder.decode(codeUnits); } catch (e$) { @@ -45954,10 +49363,15 @@ define([], (function load__dart_sdk() { } return null; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); + return new convert.Utf8Decoder.new({allowMalformed: allowMalformed}); + } convert(codeUnits, start = 0, end = null) { T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + if (codeUnits == null) dart.nullFailed(I[101], 343, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 343, 44, "start"); let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); if (result != null) { return result; @@ -45966,7 +49380,7 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45977,17 +49391,17 @@ define([], (function load__dart_sdk() { } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); return super.bind(stream); } fuse(T, next) { - if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + if (next == null) dart.nullFailed(I[88], 398, 56, "next"); return super.fuse(T, next); } static _convertIntercepted(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (allowMalformed == null) dart.nullFailed(I[88], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 405, 53, "start"); if (codeUnits instanceof Uint8Array) { let casted = codeUnits; end == null ? end = casted[$length] : null; @@ -46007,7 +49421,7 @@ define([], (function load__dart_sdk() { }; (convert.Utf8Decoder.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); this[_allowMalformed$0] = allowMalformed; convert.Utf8Decoder.__proto__.new.call(this); ; @@ -46020,11 +49434,13 @@ define([], (function load__dart_sdk() { startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(convert.Utf8Decoder, I[31]); + dart.setStaticMethodSignature(convert.Utf8Decoder, () => ['_convertInterceptedUint8List', '_useTextDecoder', '_convertIntercepted']); + dart.setLibraryUri(convert.Utf8Decoder, I[33]); dart.setFieldSignature(convert.Utf8Decoder, () => ({ __proto__: dart.getFields(convert.Utf8Decoder.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) })); + dart.setStaticFieldSignature(convert.Utf8Decoder, () => ['_shortInputThreshold', '_decoder', '_decoderNonfatal']); dart.defineLazy(convert.Utf8Decoder, { /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { return 15; @@ -46060,60 +49476,64 @@ define([], (function load__dart_sdk() { var _convertRecursive = dart.privateName(convert, "_convertRecursive"); convert._Utf8Decoder = class _Utf8Decoder extends core.Object { static isErrorState(state) { - if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + if (state == null) dart.nullFailed(I[101], 528, 32, "state"); return (dart.notNull(state) & 1) !== 0; } static errorDescription(state) { - if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + if (state == null) dart.nullFailed(I[101], 530, 38, "state"); switch (state) { case 65: - { - return "Missing extension byte"; - } + { + return "Missing extension byte"; + } case 67: - { - return "Unexpected extension byte"; - } + { + return "Unexpected extension byte"; + } case 69: - { - return "Invalid UTF-8 byte"; - } + { + return "Invalid UTF-8 byte"; + } case 71: - { - return "Overlong encoding"; - } + { + return "Overlong encoding"; + } case 73: - { - return "Out of unicode range"; - } + { + return "Out of unicode range"; + } case 75: - { - return "Encoded surrogate"; - } + { + return "Encoded surrogate"; + } case 77: - { - return "Unfinished UTF-8 octet sequence"; - } + { + return "Unfinished UTF-8 octet sequence"; + } default: - { - return ""; - } + { + return ""; + } } } + static ['_#new#tearOff'](allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); + return new convert._Utf8Decoder.new(allowMalformed); + } convertSingle(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 479, 49, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, true); } convertChunked(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 484, 50, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, false); } convertGeneral(codeUnits, start, maybeEnd, single) { - if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 529, 32, "start"); - if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + if (codeUnits == null) dart.nullFailed(I[101], 558, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 558, 32, "start"); + if (single == null) dart.nullFailed(I[101], 558, 59, "single"); let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); if (start == end) return ""; let bytes = null; @@ -46136,10 +49556,10 @@ define([], (function load__dart_sdk() { return result; } [_convertRecursive](bytes, start, end, single) { - if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); - if (start == null) dart.nullFailed(I[98], 556, 49, "start"); - if (end == null) dart.nullFailed(I[98], 556, 60, "end"); - if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (bytes == null) dart.nullFailed(I[101], 585, 38, "bytes"); + if (start == null) dart.nullFailed(I[101], 585, 49, "start"); + if (end == null) dart.nullFailed(I[101], 585, 60, "end"); + if (single == null) dart.nullFailed(I[101], 585, 70, "single"); if (dart.notNull(end) - dart.notNull(start) > 1000) { let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); let s1 = this[_convertRecursive](bytes, start, mid, false); @@ -46150,7 +49570,7 @@ define([], (function load__dart_sdk() { return this.decodeGeneral(bytes, start, end, single); } flush(sink) { - if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + if (sink == null) dart.nullFailed(I[101], 602, 25, "sink"); let state = this[_state$0]; this[_state$0] = 0; if (dart.notNull(state) <= 32) { @@ -46163,18 +49583,18 @@ define([], (function load__dart_sdk() { } } decodeGeneral(bytes, start, end, single) { - let t178, t178$, t178$0, t178$1; - if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); - if (start == null) dart.nullFailed(I[98], 587, 45, "start"); - if (end == null) dart.nullFailed(I[98], 587, 56, "end"); - if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let t158, t158$, t158$0, t158$1; + if (bytes == null) dart.nullFailed(I[101], 616, 34, "bytes"); + if (start == null) dart.nullFailed(I[101], 616, 45, "start"); + if (end == null) dart.nullFailed(I[101], 616, 56, "end"); + if (single == null) dart.nullFailed(I[101], 616, 66, "single"); let typeTable = convert._Utf8Decoder.typeTable; let transitionTable = convert._Utf8Decoder.transitionTable; let state = this[_state$0]; let char = this[_charOrIndex]; let buffer = new core.StringBuffer.new(); let i = start; - let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + let byte = bytes[$_get]((t158 = i, i = dart.notNull(t158) + 1, t158)); L1: while (true) { while (true) { @@ -46190,22 +49610,22 @@ define([], (function load__dart_sdk() { switch (state) { case 69: case 67: - { - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + break; + } case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } } state = 0; } else { @@ -46215,20 +49635,20 @@ define([], (function load__dart_sdk() { } } if (i == end) break L1; - byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); } let markStart = i; - byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + byte = bytes[$_get]((t158$0 = i, i = dart.notNull(t158$0) + 1, t158$0)); if (dart.notNull(byte) < 128) { let markEnd = end; while (dart.notNull(i) < dart.notNull(end)) { - byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + byte = bytes[$_get]((t158$1 = i, i = dart.notNull(t158$1) + 1, t158$1)); if (dart.notNull(byte) >= 128) { markEnd = dart.notNull(i) - 1; break; } } - if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[101], 681, 16, "markStart < markEnd"); if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { buffer.writeCharCode(bytes[$_get](m)); @@ -46253,9 +49673,9 @@ define([], (function load__dart_sdk() { return buffer.toString(); } static _makeUint8List(codeUnits, start, end) { - if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 679, 60, "start"); - if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + if (codeUnits == null) dart.nullFailed(I[101], 708, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 708, 60, "start"); + if (end == null) dart.nullFailed(I[101], 708, 71, "end"); let length = dart.notNull(end) - dart.notNull(start); let bytes = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -46269,7 +49689,7 @@ define([], (function load__dart_sdk() { } }; (convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); this[_charOrIndex] = 0; this.allowMalformed = allowMalformed; this[_state$0] = 16; @@ -46286,13 +49706,15 @@ define([], (function load__dart_sdk() { flush: dart.fnType(dart.void, [core.StringSink]), decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) })); - dart.setLibraryUri(convert._Utf8Decoder, I[31]); + dart.setStaticMethodSignature(convert._Utf8Decoder, () => ['isErrorState', 'errorDescription', '_makeUint8List']); + dart.setLibraryUri(convert._Utf8Decoder, I[33]); dart.setFieldSignature(convert._Utf8Decoder, () => ({ __proto__: dart.getFields(convert._Utf8Decoder.__proto__), allowMalformed: dart.finalFieldType(core.bool), [_state$0]: dart.fieldType(core.int), [_charOrIndex]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(convert._Utf8Decoder, () => ['typeMask', 'shiftedByteMask', 'typeTable', 'IA', 'BB', 'AB', 'X1', 'X2', 'X3', 'TO', 'TS', 'QO', 'QR', 'B1', 'B2', 'E1', 'E2', 'E3', 'E4', 'E5', 'E6', 'E7', '_IA', '_BB', '_AB', '_X1', '_X2', '_X3', '_TO', '_TS', '_QO', '_QR', '_B1', '_B2', '_E1', '_E2', '_E3', '_E4', '_E5', '_E6', '_E7', 'transitionTable', 'initial', 'accept', 'beforeBom', 'afterBom', 'errorMissingExtension', 'errorUnexpectedExtension', 'errorInvalid', 'errorOverlong', 'errorOutOfRange', 'errorSurrogate', 'errorUnfinished']); dart.defineLazy(convert._Utf8Decoder, { /*convert._Utf8Decoder.typeMask*/get typeMask() { return 31; @@ -46455,7 +49877,7 @@ define([], (function load__dart_sdk() { } }, false); convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); function walk(e) { if (e == null || typeof e != "object") { return e; @@ -46496,15 +49918,15 @@ define([], (function load__dart_sdk() { return object; }; convert.base64Encode = function base64Encode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 41, 31, "bytes"); return convert.base64.encode(bytes); }; convert.base64UrlEncode = function base64UrlEncode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 46, 34, "bytes"); return convert.base64Url.encode(bytes); }; convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + if (source == null) dart.nullFailed(I[96], 52, 31, "source"); return convert.base64.decode(source); }; convert.jsonEncode = function jsonEncode(object, opts) { @@ -46512,12 +49934,12 @@ define([], (function load__dart_sdk() { return convert.json.encode(object, {toEncodable: toEncodable}); }; convert.jsonDecode = function jsonDecode(source, opts) { - if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + if (source == null) dart.nullFailed(I[98], 153, 27, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; return convert.json.decode(source, {reviver: reviver}); }; convert._parseJson = function _parseJson(source, reviver) { - if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (source == null) dart.nullFailed(I[88], 31, 19, "source"); if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); let parsed = null; try { @@ -46539,42 +49961,42 @@ define([], (function load__dart_sdk() { return dart.dsend(object, 'toJson', []); }; convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 389, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; }; convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 391, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; }; convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { - if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); - if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + if (lead == null) dart.nullFailed(I[101], 393, 31, "lead"); + if (tail == null) dart.nullFailed(I[101], 393, 41, "tail"); return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; }; dart.defineLazy(convert, { /*convert.ascii*/get ascii() { - return C[102] || CT.C102; + return C[109] || CT.C109; }, /*convert._asciiMask*/get _asciiMask() { return 127; }, /*convert.base64*/get base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*convert.base64Url*/get base64Url() { - return C[104] || CT.C104; + return C[111] || CT.C111; }, /*convert._paddingChar*/get _paddingChar() { return 61; }, /*convert.htmlEscape*/get htmlEscape() { - return C[105] || CT.C105; + return C[112] || CT.C112; }, /*convert.json*/get json() { - return C[106] || CT.C106; + return C[113] || CT.C113; }, /*convert.latin1*/get latin1() { - return C[107] || CT.C107; + return C[114] || CT.C114; }, /*convert._latin1Mask*/get _latin1Mask() { return 255; @@ -46592,7 +50014,7 @@ define([], (function load__dart_sdk() { return 65279; }, /*convert.utf8*/get utf8() { - return C[108] || CT.C108; + return C[115] || CT.C115; }, /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { return 127; @@ -46620,9 +50042,13 @@ define([], (function load__dart_sdk() { } }, false); developer._FakeUserTag = class _FakeUserTag extends core.Object { + static ['_#real#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); + return new developer._FakeUserTag.real(label); + } static new(label) { - let t181, t180, t179; - if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let t161, t160, t159; + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); let existingTag = developer._FakeUserTag._instances[$_get](label); if (existingTag != null) { return existingTag; @@ -46630,11 +50056,15 @@ define([], (function load__dart_sdk() { if (developer._FakeUserTag._instances[$length] === 64) { dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); } - t179 = developer._FakeUserTag._instances; - t180 = label; - t181 = new developer._FakeUserTag.real(label); - t179[$_set](t180, t181); - return t181; + t159 = developer._FakeUserTag._instances; + t160 = label; + t161 = new developer._FakeUserTag.real(label); + t159[$_set](t160, t161); + return t161; + } + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); + return developer._FakeUserTag.new(label); } makeCurrent() { let old = developer._currentTag; @@ -46643,7 +50073,7 @@ define([], (function load__dart_sdk() { } }; (developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); this.label = label; ; }).prototype = developer._FakeUserTag.prototype; @@ -46654,11 +50084,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(developer._FakeUserTag.__proto__), makeCurrent: dart.fnType(developer.UserTag, []) })); - dart.setLibraryUri(developer._FakeUserTag, I[100]); + dart.setStaticMethodSignature(developer._FakeUserTag, () => ['new']); + dart.setLibraryUri(developer._FakeUserTag, I[103]); dart.setFieldSignature(developer._FakeUserTag, () => ({ __proto__: dart.getFields(developer._FakeUserTag.__proto__), label: dart.finalFieldType(core.String) })); + dart.setStaticFieldSignature(developer._FakeUserTag, () => ['_instances', '_defaultTag']); dart.defineLazy(developer._FakeUserTag, { /*developer._FakeUserTag._instances*/get _instances() { return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); @@ -46690,8 +50122,17 @@ define([], (function load__dart_sdk() { set errorDetail(value) { super.errorDetail = value; } + static ['_#result#tearOff'](result) { + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); + return new developer.ServiceExtensionResponse.result(result); + } + static ['_#error#tearOff'](errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); + return new developer.ServiceExtensionResponse.error(errorCode, errorDetail); + } static _errorCodeMessage(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 60, 39, "errorCode"); developer.ServiceExtensionResponse._validateErrorCode(errorCode); if (errorCode === -32602) { return "Invalid params"; @@ -46699,8 +50140,8 @@ define([], (function load__dart_sdk() { return "Server error"; } static _validateErrorCode(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); - core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 68, 33, "errorCode"); + _internal.checkNotNullable(core.int, errorCode, "errorCode"); if (errorCode === -32602) return; if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { return; @@ -46711,26 +50152,26 @@ define([], (function load__dart_sdk() { return this.errorCode != null && this.errorDetail != null; } [_toString$]() { - let t179; - t179 = this.result; - return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + let t159; + t159 = this.result; + return t159 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t159; } }; (developer.ServiceExtensionResponse.result = function(result) { - if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); this[result$] = result; this[errorCode$] = null; this[errorDetail$] = null; - core.ArgumentError.checkNotNull(core.String, result, "result"); + _internal.checkNotNullable(core.String, result, "result"); }).prototype = developer.ServiceExtensionResponse.prototype; (developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { - if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); - if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); this[result$] = null; this[errorCode$] = errorCode; this[errorDetail$] = errorDetail; developer.ServiceExtensionResponse._validateErrorCode(errorCode); - core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); + _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); }).prototype = developer.ServiceExtensionResponse.prototype; dart.addTypeTests(developer.ServiceExtensionResponse); dart.addTypeCaches(developer.ServiceExtensionResponse); @@ -46739,26 +50180,16 @@ define([], (function load__dart_sdk() { isError: dart.fnType(core.bool, []), [_toString$]: dart.fnType(core.String, []) })); - dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); + dart.setStaticMethodSignature(developer.ServiceExtensionResponse, () => ['_errorCodeMessage', '_validateErrorCode']); + dart.setLibraryUri(developer.ServiceExtensionResponse, I[103]); dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), result: dart.finalFieldType(dart.nullable(core.String)), errorCode: dart.finalFieldType(dart.nullable(core.int)), errorDetail: dart.finalFieldType(dart.nullable(core.String)) })); + dart.setStaticFieldSignature(developer.ServiceExtensionResponse, () => ['invalidParams', 'extensionError', 'extensionErrorMax', 'extensionErrorMin']); dart.defineLazy(developer.ServiceExtensionResponse, { - /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { - return -32016; - }, /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { return -32602; }, @@ -46773,6 +50204,10 @@ define([], (function load__dart_sdk() { } }, false); developer.UserTag = class UserTag extends core.Object { + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 191, 26, "label"); + return developer._FakeUserTag.new(label); + } static get defaultTag() { return developer._FakeUserTag._defaultTag; } @@ -46781,8 +50216,14 @@ define([], (function load__dart_sdk() { }).prototype = developer.UserTag.prototype; dart.addTypeTests(developer.UserTag); dart.addTypeCaches(developer.UserTag); - dart.setLibraryUri(developer.UserTag, I[100]); + dart.setStaticMethodSignature(developer.UserTag, () => ['new']); + dart.setStaticGetterSignature(developer.UserTag, () => ['defaultTag']); + dart.setLibraryUri(developer.UserTag, I[103]); + dart.setStaticFieldSignature(developer.UserTag, () => ['maxUserTags', 'MAX_USER_TAGS', '_redirecting#']); dart.defineLazy(developer.UserTag, { + /*developer.UserTag.maxUserTags*/get maxUserTags() { + return 64; + }, /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { return 64; } @@ -46804,8 +50245,8 @@ define([], (function load__dart_sdk() { } }; (developer.Metric.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 39, 15, "name"); - if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + if (name == null) dart.nullFailed(I[105], 46, 15, "name"); + if (description == null) dart.nullFailed(I[105], 46, 26, "description"); this[name$10] = name; this[description$] = description; if (this.name === "vm" || this.name[$contains]("/")) { @@ -46814,7 +50255,7 @@ define([], (function load__dart_sdk() { }).prototype = developer.Metric.prototype; dart.addTypeTests(developer.Metric); dart.addTypeCaches(developer.Metric); - dart.setLibraryUri(developer.Metric, I[100]); + dart.setLibraryUri(developer.Metric, I[103]); dart.setFieldSignature(developer.Metric, () => ({ __proto__: dart.getFields(developer.Metric.__proto__), name: dart.finalFieldType(core.String), @@ -46841,7 +50282,7 @@ define([], (function load__dart_sdk() { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (v == null) dart.nullFailed(I[105], 64, 20, "v"); if (dart.notNull(v) < dart.notNull(this.min)) { v = this.min; } else if (dart.notNull(v) > dart.notNull(this.max)) { @@ -46849,16 +50290,23 @@ define([], (function load__dart_sdk() { } this[_value] = v; } + static ['_#new#tearOff'](name, description, min, max) { + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); + return new developer.Gauge.new(name, description, min, max); + } [_toJSON]() { let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); return map; } }; (developer.Gauge.new = function(name, description, min, max) { - if (name == null) dart.nullFailed(I[102], 65, 16, "name"); - if (description == null) dart.nullFailed(I[102], 65, 29, "description"); - if (min == null) dart.nullFailed(I[102], 65, 47, "min"); - if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); this[min$] = min; this[max$] = max; this[_value] = min; @@ -46881,7 +50329,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(developer.Gauge.__proto__), value: core.double })); - dart.setLibraryUri(developer.Gauge, I[100]); + dart.setLibraryUri(developer.Gauge, I[103]); dart.setFieldSignature(developer.Gauge, () => ({ __proto__: dart.getFields(developer.Gauge.__proto__), min: dart.finalFieldType(core.double), @@ -46889,11 +50337,16 @@ define([], (function load__dart_sdk() { [_value]: dart.fieldType(core.double) })); developer.Counter = class Counter extends developer.Metric { + static ['_#new#tearOff'](name, description) { + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); + return new developer.Counter.new(name, description); + } get value() { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + if (v == null) dart.nullFailed(I[105], 103, 20, "v"); this[_value] = v; } [_toJSON]() { @@ -46902,8 +50355,8 @@ define([], (function load__dart_sdk() { } }; (developer.Counter.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 90, 18, "name"); - if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); this[_value] = 0.0; developer.Counter.__proto__.new.call(this, name, description); ; @@ -46922,14 +50375,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(developer.Counter.__proto__), value: core.double })); - dart.setLibraryUri(developer.Counter, I[100]); + dart.setLibraryUri(developer.Counter, I[103]); dart.setFieldSignature(developer.Counter, () => ({ __proto__: dart.getFields(developer.Counter.__proto__), [_value]: dart.fieldType(core.double) })); developer.Metrics = class Metrics extends core.Object { + static get current() { + return new (T$0.UnmodifiableMapViewOfString$Metric()).new(developer.Metrics._metrics); + } static register(metric) { - if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + if (metric == null) dart.nullFailed(I[105], 129, 31, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); if (developer.Metrics._metrics[$_get](metric.name) != null) { dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); @@ -46937,12 +50393,12 @@ define([], (function load__dart_sdk() { developer.Metrics._metrics[$_set](metric.name, metric); } static deregister(metric) { - if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + if (metric == null) dart.nullFailed(I[105], 139, 33, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); developer.Metrics._metrics[$remove](metric.name); } static _printMetric(id) { - if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + if (id == null) dart.nullFailed(I[105], 146, 38, "id"); let metric = developer.Metrics._metrics[$_get](id); if (metric == null) { return null; @@ -46957,16 +50413,22 @@ define([], (function load__dart_sdk() { let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); return convert.json.encode(map); } + static ['_#new#tearOff']() { + return new developer.Metrics.new(); + } }; (developer.Metrics.new = function() { ; }).prototype = developer.Metrics.prototype; dart.addTypeTests(developer.Metrics); dart.addTypeCaches(developer.Metrics); - dart.setLibraryUri(developer.Metrics, I[100]); + dart.setStaticMethodSignature(developer.Metrics, () => ['register', 'deregister', '_printMetric', '_printMetrics']); + dart.setStaticGetterSignature(developer.Metrics, () => ['current']); + dart.setLibraryUri(developer.Metrics, I[103]); + dart.setStaticFieldSignature(developer.Metrics, () => ['_metrics']); dart.defineLazy(developer.Metrics, { /*developer.Metrics._metrics*/get _metrics() { - return new (T$0.LinkedMapOfString$Metric()).new(); + return new (T$0.IdentityMapOfString$Metric()).new(); } }, false); var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); @@ -46991,6 +50453,24 @@ define([], (function load__dart_sdk() { set serverUri(value) { super.serverUri = value; } + get serverWebSocketUri() { + let uri = this.serverUri; + if (uri != null) { + let pathSegments = T$.JSArrayOfString().of([]); + if (dart.test(uri.pathSegments[$isNotEmpty])) { + pathSegments[$addAll](uri.pathSegments[$where](dart.fn(s => { + if (s == null) dart.nullFailed(I[106], 35, 12, "s"); + return s[$isNotEmpty]; + }, T$.StringTobool()))); + } + pathSegments[$add]("ws"); + uri = uri.replace({scheme: "ws", pathSegments: pathSegments}); + } + return uri; + } + static ['_#new#tearOff'](serverUri) { + return new developer.ServiceProtocolInfo.new(serverUri); + } toString() { if (this.serverUri != null) { return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); @@ -47007,7 +50487,11 @@ define([], (function load__dart_sdk() { }).prototype = developer.ServiceProtocolInfo.prototype; dart.addTypeTests(developer.ServiceProtocolInfo); dart.addTypeCaches(developer.ServiceProtocolInfo); - dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); + dart.setGetterSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getGetters(developer.ServiceProtocolInfo.__proto__), + serverWebSocketUri: dart.nullable(core.Uri) + })); + dart.setLibraryUri(developer.ServiceProtocolInfo, I[103]); dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), majorVersion: dart.finalFieldType(core.int), @@ -47019,121 +50503,110 @@ define([], (function load__dart_sdk() { static getInfo() { return async.async(developer.ServiceProtocolInfo, function* getInfo() { let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); - let uriCompleter = T$0.CompleterOfUriN().new(); - receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._getServerInfo(receivePort.sendPort); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static controlWebServer(opts) { let enable = opts && 'enable' in opts ? opts.enable : false; - if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + if (enable == null) dart.nullFailed(I[106], 83, 13, "enable"); let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { core.ArgumentError.checkNotNull(core.bool, enable, "enable"); let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); - let uriCompleter = T$0.CompleterOfUri().new(); - receivePort.handler = dart.fn(uri => { - if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); - return uriCompleter.complete(uri); - }, T$0.UriTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static getIsolateID(isolate) { - if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + if (isolate == null) dart.nullFailed(I[106], 105, 39, "isolate"); core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); return developer._getIsolateIDFromSendPort(isolate.controlPort); } + static ['_#new#tearOff']() { + return new developer.Service.new(); + } }; (developer.Service.new = function() { ; }).prototype = developer.Service.prototype; dart.addTypeTests(developer.Service); dart.addTypeCaches(developer.Service); - dart.setLibraryUri(developer.Service, I[100]); - var id$ = dart.privateName(developer, "Flow.id"); + dart.setStaticMethodSignature(developer.Service, () => ['getInfo', 'controlWebServer', 'getIsolateID']); + dart.setLibraryUri(developer.Service, I[103]); + var id$0 = dart.privateName(developer, "Flow.id"); var _type$0 = dart.privateName(developer, "_type"); developer.Flow = class Flow extends core.Object { get id() { - return this[id$]; + return this[id$0]; } set id(value) { super.id = value; } + static ['_#_#tearOff'](_type, id) { + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); + return new developer.Flow.__(_type, id); + } static begin(opts) { - let t179; + let t159; let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); } static step(id) { - if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + if (id == null) dart.nullFailed(I[107], 77, 24, "id"); return new developer.Flow.__(10, id); } static end(id) { - if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + if (id == null) dart.nullFailed(I[107], 84, 23, "id"); return new developer.Flow.__(11, id); } }; (developer.Flow.__ = function(_type, id) { - if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); - if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); this[_type$0] = _type; - this[id$] = id; + this[id$0] = id; ; }).prototype = developer.Flow.prototype; dart.addTypeTests(developer.Flow); dart.addTypeCaches(developer.Flow); - dart.setLibraryUri(developer.Flow, I[100]); + dart.setStaticMethodSignature(developer.Flow, () => ['begin', 'step', 'end']); + dart.setLibraryUri(developer.Flow, I[103]); dart.setFieldSignature(developer.Flow, () => ({ __proto__: dart.getFields(developer.Flow.__proto__), [_type$0]: dart.finalFieldType(core.int), id: dart.finalFieldType(core.int) })); - dart.defineLazy(developer.Flow, { - /*developer.Flow._begin*/get _begin() { - return 9; - }, - /*developer.Flow._step*/get _step() { - return 10; - }, - /*developer.Flow._end*/get _end() { - return 11; - } - }, false); - var _arguments$1 = dart.privateName(developer, "_arguments"); var _startSync = dart.privateName(developer, "_startSync"); developer.Timeline = class Timeline extends core.Object { static startSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + if (name == null) dart.nullFailed(I[107], 112, 32, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { developer.Timeline._stack[$add](null); return; } - let block = new developer._SyncBlock.__(name); - if ($arguments != null) { - block[_arguments$1] = $arguments; - } - if (flow != null) { - block.flow = flow; - } + let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); developer.Timeline._stack[$add](block); block[_startSync](); } static finishSync() { - if (!true) { - return; - } - if (developer.Timeline._stack[$length] === 0) { + ; + if (dart.test(developer.Timeline._stack[$isEmpty])) { dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); } let block = developer.Timeline._stack[$removeLast](); @@ -47143,22 +50616,19 @@ define([], (function load__dart_sdk() { block.finish(); } static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + if (name == null) dart.nullFailed(I[107], 146, 34, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { return; } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + let taskId = 0; + developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); } static timeSync(T, name, $function, opts) { - if (name == null) dart.nullFailed(I[104], 159, 31, "name"); - if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + if (name == null) dart.nullFailed(I[107], 162, 31, "name"); + if ($function == null) dart.nullFailed(I[107], 162, 61, "function"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); @@ -47171,13 +50641,19 @@ define([], (function load__dart_sdk() { static get now() { return developer._getTraceClock(); } + static ['_#new#tearOff']() { + return new developer.Timeline.new(); + } }; (developer.Timeline.new = function() { ; }).prototype = developer.Timeline.prototype; dart.addTypeTests(developer.Timeline); dart.addTypeCaches(developer.Timeline); - dart.setLibraryUri(developer.Timeline, I[100]); + dart.setStaticMethodSignature(developer.Timeline, () => ['startSync', 'finishSync', 'instantSync', 'timeSync']); + dart.setStaticGetterSignature(developer.Timeline, () => ['now']); + dart.setLibraryUri(developer.Timeline, I[103]); + dart.setStaticFieldSignature(developer.Timeline, () => ['_stack']); dart.defineLazy(developer.Timeline, { /*developer.Timeline._stack*/get _stack() { return T$0.JSArrayOf_SyncBlockN().of([]); @@ -47190,11 +50666,25 @@ define([], (function load__dart_sdk() { var _start = dart.privateName(developer, "_start"); var _finish = dart.privateName(developer, "_finish"); developer.TimelineTask = class TimelineTask extends core.Object { + static ['_#new#tearOff'](opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.new({parent: parent, filterKey: filterKey}); + } + static ['_#withTaskId#tearOff'](taskId, opts) { + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.withTaskId(taskId, {filterKey: filterKey}); + } start(name, opts) { - if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + if (name == null) dart.nullFailed(I[107], 221, 21, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + this[_stack][$add](null); + return; + } let block = new developer._AsyncBlock.__(name, this[_taskId$]); this[_stack][$add](block); let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); @@ -47208,10 +50698,13 @@ define([], (function load__dart_sdk() { block[_start](map); } instant(name, opts) { - if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + if (name == null) dart.nullFailed(I[107], 249, 23, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } let instantArguments = null; if ($arguments != null) { instantArguments = collection.LinkedHashMap.from($arguments); @@ -47220,13 +50713,11 @@ define([], (function load__dart_sdk() { instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; instantArguments[$_set]("filterKey", this[_filterKey]); } - developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); } finish(opts) { let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) { - return; - } + ; if (this[_stack][$length] === 0) { dart.throw(new core.StateError.new("Uneven calls to start and finish")); } @@ -47235,6 +50726,9 @@ define([], (function load__dart_sdk() { $arguments[$_set]("filterKey", this[_filterKey]); } let block = this[_stack][$removeLast](); + if (block == null) { + return; + } block[_finish]($arguments); } pass() { @@ -47248,15 +50742,15 @@ define([], (function load__dart_sdk() { (developer.TimelineTask.new = function(opts) { let parent = opts && 'parent' in opts ? opts.parent : null; let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = parent; this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextAsyncId(); + this[_taskId$] = developer._getNextTaskId(); }).prototype = developer.TimelineTask.prototype; (developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = null; this[_filterKey] = filterKey; this[_taskId$] = taskId; @@ -47271,32 +50765,37 @@ define([], (function load__dart_sdk() { finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), pass: dart.fnType(core.int, []) })); - dart.setLibraryUri(developer.TimelineTask, I[100]); + dart.setLibraryUri(developer.TimelineTask, I[103]); dart.setFieldSignature(developer.TimelineTask, () => ({ __proto__: dart.getFields(developer.TimelineTask.__proto__), [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), [_taskId$]: dart.finalFieldType(core.int), - [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) + [_stack]: dart.finalFieldType(core.List$(dart.nullable(developer._AsyncBlock))) })); + dart.setStaticFieldSignature(developer.TimelineTask, () => ['_kFilterKey']); dart.defineLazy(developer.TimelineTask, { /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { return "filterKey"; } }, false); developer._AsyncBlock = class _AsyncBlock extends core.Object { + static ['_#_#tearOff'](name, _taskId) { + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); + return new developer._AsyncBlock.__(name, _taskId); + } [_start]($arguments) { - if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + if ($arguments == null) dart.nullFailed(I[107], 322, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); } [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); } }; (developer._AsyncBlock.__ = function(name, _taskId) { - if (name == null) dart.nullFailed(I[104], 306, 22, "name"); - if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); - this.category = "Dart"; + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); this.name = name; this[_taskId$] = _taskId; ; @@ -47308,35 +50807,56 @@ define([], (function load__dart_sdk() { [_start]: dart.fnType(dart.void, [core.Map]), [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) })); - dart.setLibraryUri(developer._AsyncBlock, I[100]); + dart.setLibraryUri(developer._AsyncBlock, I[103]); dart.setFieldSignature(developer._AsyncBlock, () => ({ __proto__: dart.getFields(developer._AsyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), [_taskId$]: dart.finalFieldType(core.int) })); - var _flow = dart.privateName(developer, "_flow"); + var ___SyncBlock__jsonArguments = dart.privateName(developer, "_#_SyncBlock#_jsonArguments"); + var ___SyncBlock__jsonArguments_isSet = dart.privateName(developer, "_#_SyncBlock#_jsonArguments#isSet"); + var _jsonArguments = dart.privateName(developer, "_jsonArguments"); developer._SyncBlock = class _SyncBlock extends core.Object { + get [_jsonArguments]() { + let t160; + if (!dart.test(this[___SyncBlock__jsonArguments_isSet])) { + let t159 = developer._argumentsAsJson(this.arguments); + if (dart.test(this[___SyncBlock__jsonArguments_isSet])) dart.throw(new _internal.LateError.fieldADI("_jsonArguments")); + this[___SyncBlock__jsonArguments] = t159; + this[___SyncBlock__jsonArguments_isSet] = true; + } + t160 = this[___SyncBlock__jsonArguments]; + return t160; + } + static ['_#_#tearOff'](name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + return new developer._SyncBlock.__(name, taskId, {arguments: $arguments, flow: flow}); + } [_startSync]() { - developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + developer._reportTaskEvent(this.taskId, 1, this.name, this[_jsonArguments]); } finish() { - developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); - if (this[_flow] != null) { - developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + developer._reportTaskEvent(this.taskId, 2, this.name, this[_jsonArguments]); + let tempFlow = this.flow; + if (tempFlow != null) { + developer._reportTaskEvent(tempFlow.id, tempFlow[_type$0], dart.str(tempFlow.id), developer._argumentsAsJson(null)); } } - set flow(f) { - if (f == null) dart.nullFailed(I[104], 353, 22, "f"); - this[_flow] = f; - } }; - (developer._SyncBlock.__ = function(name) { - if (name == null) dart.nullFailed(I[104], 335, 21, "name"); - this.category = "Dart"; - this[_arguments$1] = null; - this[_flow] = null; + (developer._SyncBlock.__ = function(name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + this[___SyncBlock__jsonArguments] = null; + this[___SyncBlock__jsonArguments_isSet] = false; this.name = name; + this.taskId = taskId; + this.arguments = $arguments; + this.flow = flow; ; }).prototype = developer._SyncBlock.prototype; dart.addTypeTests(developer._SyncBlock); @@ -47346,24 +50866,26 @@ define([], (function load__dart_sdk() { [_startSync]: dart.fnType(dart.void, []), finish: dart.fnType(dart.void, []) })); - dart.setSetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getSetters(developer._SyncBlock.__proto__), - flow: developer.Flow + dart.setGetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getGetters(developer._SyncBlock.__proto__), + [_jsonArguments]: core.String })); - dart.setLibraryUri(developer._SyncBlock, I[100]); + dart.setLibraryUri(developer._SyncBlock, I[103]); dart.setFieldSignature(developer._SyncBlock, () => ({ __proto__: dart.getFields(developer._SyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), - [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), - [_flow]: dart.fieldType(dart.nullable(developer.Flow)) + taskId: dart.finalFieldType(core.int), + arguments: dart.finalFieldType(dart.nullable(core.Map)), + flow: dart.finalFieldType(dart.nullable(developer.Flow)), + [___SyncBlock__jsonArguments]: dart.fieldType(dart.nullable(core.String)), + [___SyncBlock__jsonArguments_isSet]: dart.fieldType(core.bool) })); developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { - if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); - if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + if (methodName == null) dart.nullFailed(I[102], 106, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[102], 106, 44, "encodedJson"); return new dart.global.Promise((resolve, reject) => { - if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); - if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + if (resolve == null) dart.nullFailed(I[102], 109, 25, "resolve"); + if (reject == null) dart.nullFailed(I[102], 109, 51, "reject"); return async.async(core.Null, function*() { try { let method = dart.nullCheck(developer._lookupExtension(methodName)); @@ -47382,7 +50904,7 @@ define([], (function load__dart_sdk() { }; developer.debugger = function $debugger(opts) { let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + if (when == null) dart.nullFailed(I[102], 26, 21, "when"); let message = opts && 'message' in opts ? opts.message : null; if (dart.test(when)) { debugger; @@ -47394,13 +50916,13 @@ define([], (function load__dart_sdk() { return object; }; developer.log = function log(message, opts) { - if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + if (message == null) dart.nullFailed(I[102], 42, 17, "message"); let time = opts && 'time' in opts ? opts.time : null; let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; let level = opts && 'level' in opts ? opts.level : 0; - if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + if (level == null) dart.nullFailed(I[102], 45, 9, "level"); let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + if (name == null) dart.nullFailed(I[102], 46, 12, "name"); let zone = opts && 'zone' in opts ? opts.zone : null; let error = opts && 'error' in opts ? opts.error : null; let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; @@ -47415,51 +50937,70 @@ define([], (function load__dart_sdk() { console.debug("dart.developer.log", items); }; developer.registerExtension = function registerExtension$(method, handler) { - if (method == null) dart.nullFailed(I[101], 130, 31, "method"); - if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); - core.ArgumentError.checkNotNull(core.String, method, "method"); + if (method == null) dart.nullFailed(I[104], 114, 31, "method"); + if (handler == null) dart.nullFailed(I[104], 114, 63, "handler"); + _internal.checkNotNullable(core.String, method, "method"); if (!method[$startsWith]("ext.")) { dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); } if (developer._lookupExtension(method) != null) { dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); } - core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); developer._registerExtension(method, handler); }; developer.postEvent = function postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); - if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); - core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); - core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + if (eventKind == null) dart.nullFailed(I[104], 149, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[104], 149, 38, "eventData"); + if (!dart.test(developer.extensionStreamHasListener)) { + return; + } + _internal.checkNotNullable(core.String, eventKind, "eventKind"); + _internal.checkNotNullable(core.Map, eventData, "eventData"); let eventDataAsString = convert.json.encode(eventData); developer._postEvent(eventKind, eventDataAsString); }; developer._postEvent = function _postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); - if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + if (eventKind == null) dart.nullFailed(I[102], 126, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[102], 126, 42, "eventData"); + if (!!dart.global.$emitDebugEvent) { + dart.global.$emitDebugEvent(eventKind, eventData); + return; + } console.debug("dart.developer.postEvent", eventKind, eventData); }; developer._lookupExtension = function _lookupExtension(method) { - if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + if (method == null) dart.nullFailed(I[102], 69, 50, "method"); return developer._extensions[$_get](method); }; developer._registerExtension = function _registerExtension(method, handler) { - if (method == null) dart.nullFailed(I[99], 61, 27, "method"); - if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); - developer._extensions[$_set](method, handler); + if (method == null) dart.nullFailed(I[102], 74, 27, "method"); + if (handler == null) dart.nullFailed(I[102], 74, 59, "handler"); + if (!dart.test(developer._debuggerAttached)) { + if (!dart.test(developer._issuedRegisterExtensionWarning)) { + let message = "registerExtension() " + dart.str(developer._developerSupportWarning); + console.warn(message); + developer._issuedRegisterExtensionWarning = true; + } + return; + } + if (!!dart.global.$emitRegisterEvent) { + developer._extensions[$_set](method, handler); + dart.global.$emitRegisterEvent(method); + return; + } console.debug("dart.developer.registerExtension", method); }; developer.getCurrentTag = function getCurrentTag() { return developer._currentTag; }; developer._getServerInfo = function _getServerInfo(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 174, 30, "sendPort"); sendPort.send(null); }; developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); - if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + if (sendPort == null) dart.nullFailed(I[102], 179, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[102], 179, 48, "enable"); sendPort.send(null); }; developer._getServiceMajorVersion = function _getServiceMajorVersion() { @@ -47469,7 +51010,7 @@ define([], (function load__dart_sdk() { return 0; }; developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); return null; }; developer._argumentsAsJson = function _argumentsAsJson($arguments) { @@ -47481,48 +51022,86 @@ define([], (function load__dart_sdk() { developer._isDartStreamEnabled = function _isDartStreamEnabled() { return false; }; - developer._getNextAsyncId = function _getNextAsyncId() { + developer._getNextTaskId = function _getNextTaskId() { return 0; }; developer._getTraceClock = function _getTraceClock() { - let t180; - t180 = developer._clockValue; - developer._clockValue = dart.notNull(t180) + 1; - return t180; - }; - developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { - if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); - if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); - if (category == null) dart.nullFailed(I[99], 129, 56, "category"); - if (name == null) dart.nullFailed(I[99], 129, 73, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); - }; - developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 114, 12, "category"); - if (name == null) dart.nullFailed(I[99], 114, 29, "name"); - if (type == null) dart.nullFailed(I[99], 114, 39, "type"); - if (id == null) dart.nullFailed(I[99], 114, 49, "id"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); - }; - developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 119, 33, "category"); - if (name == null) dart.nullFailed(I[99], 119, 50, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); - }; + let t161; + t161 = developer._clockValue; + developer._clockValue = dart.notNull(t161) + 1; + return t161; + }; + developer._reportTaskEvent = function _reportTaskEvent(taskId, type, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[102], 159, 9, "taskId"); + if (type == null) dart.nullFailed(I[102], 159, 21, "type"); + if (name == null) dart.nullFailed(I[102], 159, 34, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[102], 159, 47, "argumentsAsJson"); + }; + dart.copyProperties(developer, { + get _debuggerAttached() { + return !!dart.global.$dwdsVersion; + }, + get reachabilityBarrier() { + return 0; + }, + get extensionStreamHasListener() { + return developer._debuggerAttached; + } + }); dart.defineLazy(developer, { + /*developer._issuedRegisterExtensionWarning*/get _issuedRegisterExtensionWarning() { + return false; + }, + set _issuedRegisterExtensionWarning(value) { + if (value == null) dart.nullFailed(I[102], 15, 5, "_issuedRegisterExtensionWarning"); + }, + /*developer._developerSupportWarning*/get _developerSupportWarning() { + return "from dart:developer is only supported in " + "build/run/test environments where the developer event method hooks have " + "been set by package:dwds v11.1.0 or higher."; + }, /*developer._extensions*/get _extensions() { return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); }, /*developer._clockValue*/get _clockValue() { return 0; }, - set _clockValue(_) {}, + set _clockValue(value) { + if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); + }, /*developer._currentTag*/get _currentTag() { return developer._FakeUserTag._defaultTag; }, - set _currentTag(_) {}, + set _currentTag(value) { + if (value == null) dart.nullFailed(I[102], 227, 5, "_currentTag"); + }, /*developer._hasTimeline*/get _hasTimeline() { return true; + }, + /*developer._begin*/get _begin() { + return 1; + }, + /*developer._end*/get _end() { + return 2; + }, + /*developer._instant*/get _instant() { + return 4; + }, + /*developer._asyncBegin*/get _asyncBegin() { + return 5; + }, + /*developer._asyncInstant*/get _asyncInstant() { + return 6; + }, + /*developer._asyncEnd*/get _asyncEnd() { + return 7; + }, + /*developer._flowBegin*/get _flowBegin() { + return 9; + }, + /*developer._flowStep*/get _flowStep() { + return 10; + }, + /*developer._flowEnd*/get _flowEnd() { + return 11; } }, false); io.IOException = class IOException extends core.Object { @@ -47536,7 +51115,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.IOException); dart.addTypeCaches(io.IOException); io.IOException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(io.IOException, I[105]); + dart.setLibraryUri(io.IOException, I[108]); dart.defineExtensionMethods(io.IOException, ['toString']); var message$2 = dart.privateName(io, "OSError.message"); var errorCode$0 = dart.privateName(io, "OSError.errorCode"); @@ -47553,39 +51132,44 @@ define([], (function load__dart_sdk() { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); + return new io.OSError.new(message, errorCode); + } toString() { - let t180, t180$, t180$0; + let t161, t161$, t161$0; let sb = new core.StringBuffer.new(); sb.write("OS Error"); if (this.message[$isNotEmpty]) { - t180 = sb; + t161 = sb; (() => { - t180.write(": "); - t180.write(this.message); - return t180; + t161.write(": "); + t161.write(this.message); + return t161; })(); if (this.errorCode !== -1) { - t180$ = sb; + t161$ = sb; (() => { - t180$.write(", errno = "); - t180$.write(dart.toString(this.errorCode)); - return t180$; + t161$.write(", errno = "); + t161$.write(dart.toString(this.errorCode)); + return t161$; })(); } } else if (this.errorCode !== -1) { - t180$0 = sb; + t161$0 = sb; (() => { - t180$0.write(": errno = "); - t180$0.write(dart.toString(this.errorCode)); - return t180$0; + t161$0.write(": errno = "); + t161$0.write(dart.toString(this.errorCode)); + return t161$0; })(); } return sb.toString(); } }; (io.OSError.new = function(message = "", errorCode = -1) { - if (message == null) dart.nullFailed(I[106], 63, 23, "message"); - if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); this[message$2] = message; this[errorCode$0] = errorCode; ; @@ -47593,29 +51177,36 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.OSError); dart.addTypeCaches(io.OSError); io.OSError[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(io.OSError, I[105]); + dart.setLibraryUri(io.OSError, I[108]); dart.setFieldSignature(io.OSError, () => ({ __proto__: dart.getFields(io.OSError.__proto__), message: dart.finalFieldType(core.String), errorCode: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.OSError, () => ['noErrorCode']); dart.defineExtensionMethods(io.OSError, ['toString']); dart.defineLazy(io.OSError, { /*io.OSError.noErrorCode*/get noErrorCode() { return -1; } }, false); - io._BufferAndStart = class _BufferAndStart extends core.Object {}; + io._BufferAndStart = class _BufferAndStart extends core.Object { + static ['_#new#tearOff'](buffer, start) { + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); + return new io._BufferAndStart.new(buffer, start); + } + }; (io._BufferAndStart.new = function(buffer, start) { - if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); - if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); this.buffer = buffer; this.start = start; ; }).prototype = io._BufferAndStart.prototype; dart.addTypeTests(io._BufferAndStart); dart.addTypeCaches(io._BufferAndStart); - dart.setLibraryUri(io._BufferAndStart, I[105]); + dart.setLibraryUri(io._BufferAndStart, I[108]); dart.setFieldSignature(io._BufferAndStart, () => ({ __proto__: dart.getFields(io._BufferAndStart.__proto__), buffer: dart.fieldType(core.List$(core.int)), @@ -47623,107 +51214,70 @@ define([], (function load__dart_sdk() { })); io._IOCrypto = class _IOCrypto extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + if (count == null) dart.nullFailed(I[110], 225, 39, "count"); dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); } + static ['_#new#tearOff']() { + return new io._IOCrypto.new(); + } }; (io._IOCrypto.new = function() { ; }).prototype = io._IOCrypto.prototype; dart.addTypeTests(io._IOCrypto); dart.addTypeCaches(io._IOCrypto); - dart.setLibraryUri(io._IOCrypto, I[105]); + dart.setStaticMethodSignature(io._IOCrypto, () => ['getRandomBytes']); + dart.setLibraryUri(io._IOCrypto, I[108]); io.ZLibOption = class ZLibOption extends core.Object {}; (io.ZLibOption.new = function() { ; }).prototype = io.ZLibOption.prototype; dart.addTypeTests(io.ZLibOption); dart.addTypeCaches(io.ZLibOption); - dart.setLibraryUri(io.ZLibOption, I[105]); + dart.setLibraryUri(io.ZLibOption, I[108]); + dart.setStaticFieldSignature(io.ZLibOption, () => ['minWindowBits', 'maxWindowBits', 'defaultWindowBits', 'minLevel', 'maxLevel', 'defaultLevel', 'minMemLevel', 'maxMemLevel', 'defaultMemLevel', 'strategyFiltered', 'strategyHuffmanOnly', 'strategyRle', 'strategyFixed', 'strategyDefault']); dart.defineLazy(io.ZLibOption, { /*io.ZLibOption.minWindowBits*/get minWindowBits() { return 8; }, - /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { - return 8; - }, /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { return 15; }, - /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { return 15; }, - /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.minLevel*/get minLevel() { return -1; }, - /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { - return -1; - }, /*io.ZLibOption.maxLevel*/get maxLevel() { return 9; }, - /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultLevel*/get defaultLevel() { return 6; }, - /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { - return 6; - }, /*io.ZLibOption.minMemLevel*/get minMemLevel() { return 1; }, - /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { - return 1; - }, /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { return 9; }, - /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { return 8; }, - /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { - return 8; - }, /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { return 1; }, - /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { - return 1; - }, /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { return 2; }, - /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { - return 2; - }, /*io.ZLibOption.strategyRle*/get strategyRle() { return 3; }, - /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { - return 3; - }, /*io.ZLibOption.strategyFixed*/get strategyFixed() { return 4; }, - /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { - return 4; - }, /*io.ZLibOption.strategyDefault*/get strategyDefault() { return 0; - }, - /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { - return 0; } }, false); var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); @@ -47776,6 +51330,25 @@ define([], (function load__dart_sdk() { set dictionary(value) { super.dictionary = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); + return new io.ZLibCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.ZLibCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47785,18 +51358,18 @@ define([], (function load__dart_sdk() { }; (io.ZLibCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); this[level$] = level; this[windowBits$] = windowBits; this[memLevel$] = memLevel; @@ -47828,7 +51401,7 @@ define([], (function load__dart_sdk() { encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); - dart.setLibraryUri(io.ZLibCodec, I[105]); + dart.setLibraryUri(io.ZLibCodec, I[108]); dart.setFieldSignature(io.ZLibCodec, () => ({ __proto__: dart.getFields(io.ZLibCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -47889,6 +51462,25 @@ define([], (function load__dart_sdk() { set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); + return new io.GZipCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.GZipCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47898,18 +51490,18 @@ define([], (function load__dart_sdk() { }; (io.GZipCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : true; - if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); this[level$0] = level; this[windowBits$0] = windowBits; this[memLevel$0] = memLevel; @@ -47941,7 +51533,7 @@ define([], (function load__dart_sdk() { encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); - dart.setLibraryUri(io.GZipCodec, I[105]); + dart.setLibraryUri(io.GZipCodec, I[108]); dart.setFieldSignature(io.GZipCodec, () => ({ __proto__: dart.getFields(io.GZipCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48002,22 +51594,38 @@ define([], (function load__dart_sdk() { set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); + return new io.ZLibEncoder.new({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48026,18 +51634,18 @@ define([], (function load__dart_sdk() { }; (io.ZLibEncoder.new = function(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); this[gzip$1] = gzip; this[level$1] = level; this[windowBits$1] = windowBits; @@ -48058,7 +51666,7 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(io.ZLibEncoder, I[105]); + dart.setLibraryUri(io.ZLibEncoder, I[108]); dart.setFieldSignature(io.ZLibEncoder, () => ({ __proto__: dart.getFields(io.ZLibEncoder.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48091,22 +51699,30 @@ define([], (function load__dart_sdk() { set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); + return new io.ZLibDecoder.new({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48115,10 +51731,10 @@ define([], (function load__dart_sdk() { }; (io.ZLibDecoder.new = function(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); this[windowBits$2] = windowBits; this[dictionary$2] = dictionary; this[raw$2] = raw; @@ -48132,7 +51748,7 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(io.ZLibDecoder, I[105]); + dart.setLibraryUri(io.ZLibDecoder, I[108]); dart.setFieldSignature(io.ZLibDecoder, () => ({ __proto__: dart.getFields(io.ZLibDecoder.__proto__), windowBits: dart.finalFieldType(core.int), @@ -48142,40 +51758,64 @@ define([], (function load__dart_sdk() { io.RawZLibFilter = class RawZLibFilter extends core.Object { static deflateFilter(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); } + static ['_#deflateFilter#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); + return io.RawZLibFilter.deflateFilter({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } static inflateFilter(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); } + static ['_#inflateFilter#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); + return io.RawZLibFilter.inflateFilter({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); - if (level == null) dart.nullFailed(I[107], 615, 11, "level"); - if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); - if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + if (gzip == null) dart.nullFailed(I[110], 666, 12, "gzip"); + if (level == null) dart.nullFailed(I[110], 667, 11, "level"); + if (windowBits == null) dart.nullFailed(I[110], 668, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[110], 669, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[110], 670, 11, "strategy"); + if (raw == null) dart.nullFailed(I[110], 672, 12, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); } static _makeZLibInflateFilter(windowBits, dictionary, raw) { - if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + if (windowBits == null) dart.nullFailed(I[110], 678, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); } }; @@ -48183,18 +51823,19 @@ define([], (function load__dart_sdk() { }).prototype = io.RawZLibFilter.prototype; dart.addTypeTests(io.RawZLibFilter); dart.addTypeCaches(io.RawZLibFilter); - dart.setLibraryUri(io.RawZLibFilter, I[105]); + dart.setStaticMethodSignature(io.RawZLibFilter, () => ['deflateFilter', 'inflateFilter', '_makeZLibDeflateFilter', '_makeZLibInflateFilter']); + dart.setLibraryUri(io.RawZLibFilter, I[108]); io._BufferSink = class _BufferSink extends convert.ByteConversionSink { add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[111], 440, 22, "chunk"); this.builder.add(chunk); } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); - if (start == null) dart.nullFailed(I[108], 476, 38, "start"); - if (end == null) dart.nullFailed(I[108], 476, 49, "end"); - if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[111], 444, 27, "chunk"); + if (start == null) dart.nullFailed(I[111], 444, 38, "start"); + if (end == null) dart.nullFailed(I[111], 444, 49, "end"); + if (isLast == null) dart.nullFailed(I[111], 444, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { let list = chunk; this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); @@ -48204,6 +51845,9 @@ define([], (function load__dart_sdk() { } close() { } + static ['_#new#tearOff']() { + return new io._BufferSink.new(); + } }; (io._BufferSink.new = function() { this.builder = _internal.BytesBuilder.new({copy: false}); @@ -48218,7 +51862,7 @@ define([], (function load__dart_sdk() { addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(io._BufferSink, I[105]); + dart.setLibraryUri(io._BufferSink, I[108]); dart.setFieldSignature(io._BufferSink, () => ({ __proto__: dart.getFields(io._BufferSink.__proto__), builder: dart.finalFieldType(_internal.BytesBuilder) @@ -48228,16 +51872,21 @@ define([], (function load__dart_sdk() { var _sink$1 = dart.privateName(io, "_sink"); var _filter$ = dart.privateName(io, "_filter"); io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _filter) { + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); + return new io._FilterSink.new(_sink, _filter); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + if (data == null) dart.nullFailed(I[111], 488, 22, "data"); this.addSlice(data, 0, data[$length], false); } addSlice(data, start, end, isLast) { - if (data == null) dart.nullFailed(I[108], 524, 27, "data"); - if (start == null) dart.nullFailed(I[108], 524, 37, "start"); - if (end == null) dart.nullFailed(I[108], 524, 48, "end"); - if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + if (data == null) dart.nullFailed(I[111], 492, 27, "data"); + if (start == null) dart.nullFailed(I[111], 492, 37, "start"); + if (end == null) dart.nullFailed(I[111], 492, 48, "end"); + if (isLast == null) dart.nullFailed(I[111], 492, 58, "isLast"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (dart.test(this[_closed])) return; core.RangeError.checkValidRange(start, end, data[$length]); @@ -48263,7 +51912,7 @@ define([], (function load__dart_sdk() { } close() { if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); try { while (true) { let out = this[_filter$].processed({end: true}); @@ -48283,8 +51932,8 @@ define([], (function load__dart_sdk() { } }; (io._FilterSink.new = function(_sink, _filter) { - if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); - if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); this[_closed] = false; this[_empty] = true; this[_sink$1] = _sink; @@ -48300,7 +51949,7 @@ define([], (function load__dart_sdk() { addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(io._FilterSink, I[105]); + dart.setLibraryUri(io._FilterSink, I[108]); dart.setFieldSignature(io._FilterSink, () => ({ __proto__: dart.getFields(io._FilterSink.__proto__), [_filter$]: dart.finalFieldType(io.RawZLibFilter), @@ -48308,49 +51957,79 @@ define([], (function load__dart_sdk() { [_closed]: dart.fieldType(core.bool), [_empty]: dart.fieldType(core.bool) })); - io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; + io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); + return new io._ZLibEncoderSink.__(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } + }; (io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); - if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); - if (level == null) dart.nullFailed(I[108], 493, 11, "level"); - if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); - if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); ; }).prototype = io._ZLibEncoderSink.prototype; dart.addTypeTests(io._ZLibEncoderSink); dart.addTypeCaches(io._ZLibEncoderSink); - dart.setLibraryUri(io._ZLibEncoderSink, I[105]); - io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; + dart.setLibraryUri(io._ZLibEncoderSink, I[108]); + io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); + return new io._ZLibDecoderSink.__(sink, windowBits, dictionary, raw); + } + }; (io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); - if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); - if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); ; }).prototype = io._ZLibDecoderSink.prototype; dart.addTypeTests(io._ZLibDecoderSink); dart.addTypeCaches(io._ZLibDecoderSink); - dart.setLibraryUri(io._ZLibDecoderSink, I[105]); + dart.setLibraryUri(io._ZLibDecoderSink, I[108]); io.Directory = class Directory extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Directory.new(path); } return overrides.createDirectory(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); + return io.Directory.new(path); + } static fromRawPath(path) { - if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); return new io._Directory.fromRawPath(path); } + static ['_#fromRawPath#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); + return io.Directory.fromRawPath(path); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); return io.Directory.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); + return io.Directory.fromUri(uri); + } static get current() { let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48379,13 +52058,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.Directory); dart.addTypeCaches(io.Directory); io.Directory[dart.implements] = () => [io.FileSystemEntity]; - dart.setLibraryUri(io.Directory, I[105]); + dart.setStaticMethodSignature(io.Directory, () => ['new', 'fromRawPath', 'fromUri']); + dart.setStaticGetterSignature(io.Directory, () => ['current', 'systemTemp']); + dart.setStaticSetterSignature(io.Directory, () => ['current']); + dart.setLibraryUri(io.Directory, I[108]); var _path$ = dart.privateName(io, "_Directory._path"); var _rawPath = dart.privateName(io, "_Directory._rawPath"); var _path$0 = dart.privateName(io, "_path"); var _rawPath$ = dart.privateName(io, "_rawPath"); - var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); - var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); var _absolutePath = dart.privateName(io, "_absolutePath"); var _delete = dart.privateName(io, "_delete"); var _deleteSync = dart.privateName(io, "_deleteSync"); @@ -48395,11 +52075,9 @@ define([], (function load__dart_sdk() { } resolveSymbolicLinks() { return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot resolve symbolic links", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } resolveSymbolicLinksSync() { let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); @@ -48414,19 +52092,19 @@ define([], (function load__dart_sdk() { } delete(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 406, 41, "recursive"); return this[_delete]({recursive: recursive}); } deleteSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 423, 25, "recursive"); return this[_deleteSync]({recursive: recursive}); } watch(opts) { let events = opts && 'events' in opts ? opts.events : 15; - if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + if (events == null) dart.nullFailed(I[114], 468, 12, "events"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 468, 47, "recursive"); let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48435,18 +52113,16 @@ define([], (function load__dart_sdk() { return overrides.fsWatch(trimmedPath, events, recursive); } static _identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); - if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + if (path1 == null) dart.nullFailed(I[114], 481, 41, "path1"); + if (path2 == null) dart.nullFailed(I[114], 481, 55, "path2"); return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", ""); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); - if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + if (path1 == null) dart.nullFailed(I[114], 502, 40, "path1"); + if (path2 == null) dart.nullFailed(I[114], 502, 54, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identical(path1, path2); @@ -48457,7 +52133,7 @@ define([], (function load__dart_sdk() { return io.FileSystemEntity._isAbsolute(this.path); } static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (path == null) dart.nullFailed(I[114], 533, 34, "path"); if (dart.test(io.Platform.isWindows)) { return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); } else { @@ -48475,19 +52151,19 @@ define([], (function load__dart_sdk() { } } static _windowsDriveLetter(path) { - if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path == null) dart.nullFailed(I[114], 568, 41, "path"); if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; if (first >= 65 && first <= 91) return first; return -1; } static _absoluteWindowsPath(path) { - if (path == null) dart.nullFailed(I[111], 552, 45, "path"); - if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); - if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + if (path == null) dart.nullFailed(I[114], 576, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[114], 577, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[114], 578, 12, "!_isAbsolute(path)"); let current = io.Directory.current.path; if (path[$startsWith]("\\")) { - if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[114], 583, 14, "!path.startsWith(r'\\', 1)"); let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); if (dart.notNull(currentDrive) >= 0) { return current[$_get](0) + ":" + dart.str(path); @@ -48508,7 +52184,7 @@ define([], (function load__dart_sdk() { return path[$_get](0) + ":\\" + dart.str(path); } path = path[$substring](2); - if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[114], 620, 14, "!path.startsWith(r'\\\\')"); } if (current[$endsWith]("\\") || current[$endsWith]("/")) { return dart.str(current) + dart.str(path); @@ -48516,15 +52192,15 @@ define([], (function load__dart_sdk() { return dart.str(current) + "\\" + dart.str(path); } static _identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); - if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + if (path1 == null) dart.nullFailed(I[114], 628, 37, "path1"); + if (path2 == null) dart.nullFailed(I[114], 628, 51, "path2"); let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); return core.bool.as(result); } static identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); - if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + if (path1 == null) dart.nullFailed(I[114], 644, 36, "path1"); + if (path2 == null) dart.nullFailed(I[114], 644, 50, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identicalSync(path1, path2); @@ -48539,12 +52215,12 @@ define([], (function load__dart_sdk() { return overrides.fsWatchIsSupported(); } static _toUtf8Array(s) { - if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + if (s == null) dart.nullFailed(I[114], 665, 40, "s"); return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); } static _toNullTerminatedUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 644, 57, "l"); - if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + if (l == null) dart.nullFailed(I[114], 668, 57, "l"); + if (dart.test(l[$isEmpty]) || dart.test(l[$isNotEmpty]) && l[$last] !== 0) { let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); tmp[$setRange](0, l[$length], l); return tmp; @@ -48553,7 +52229,7 @@ define([], (function load__dart_sdk() { } } static _toStringFromUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + if (l == null) dart.nullFailed(I[114], 678, 50, "l"); let nonNullTerminated = l; if (l[$last] === 0) { nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); @@ -48561,76 +52237,76 @@ define([], (function load__dart_sdk() { return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); } static type(path, opts) { - if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + if (path == null) dart.nullFailed(I[114], 691, 51, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 692, 13, "followLinks"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); } static typeSync(path, opts) { - if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + if (path == null) dart.nullFailed(I[114], 703, 47, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 703, 59, "followLinks"); return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); } static isLink(path) { - if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + if (path == null) dart.nullFailed(I[114], 711, 37, "path"); return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRaw(rawPath) { - if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + if (rawPath == null) dart.nullFailed(I[114], 713, 44, "rawPath"); return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + if (type == null) dart.nullFailed(I[114], 714, 14, "type"); return dart.equals(type, io.FileSystemEntityType.link); }, T$0.FileSystemEntityTypeTobool())); } static isFile(path) { - if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + if (path == null) dart.nullFailed(I[114], 719, 37, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + if (type == null) dart.nullFailed(I[114], 720, 14, "type"); return dart.equals(type, io.FileSystemEntityType.file); }, T$0.FileSystemEntityTypeTobool())); } static isDirectory(path) { - if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + if (path == null) dart.nullFailed(I[114], 725, 42, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + if (type == null) dart.nullFailed(I[114], 727, 18, "type"); return dart.equals(type, io.FileSystemEntityType.directory); }, T$0.FileSystemEntityTypeTobool())); } static isLinkSync(path) { - if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + if (path == null) dart.nullFailed(I[114], 733, 33, "path"); return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRawSync(rawPath) { return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); } static isFileSync(path) { - if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + if (path == null) dart.nullFailed(I[114], 742, 33, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); } static isDirectorySync(path) { - if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + if (path == null) dart.nullFailed(I[114], 749, 38, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); } static _getTypeNative(namespace, rawPath, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); - if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[110], 93, 53, "followLinks"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); } static _identicalNative(namespace, path1, path2) { - if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); - if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); - if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + if (namespace == null) dart.nullFailed(I[110], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[110], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[110], 98, 70, "path2"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); } static _resolveSymbolicLinks(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 103, 64, "rawPath"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); } static parentOf(path) { - if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + if (path == null) dart.nullFailed(I[114], 773, 33, "path"); let rootEnd = -1; if (dart.test(io.Platform.isWindows)) { if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { @@ -48655,43 +52331,41 @@ define([], (function load__dart_sdk() { return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); } static _getTypeSyncHelper(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 802, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 802, 31, "followLinks"); let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); return io.FileSystemEntityType._lookup(core.int.as(result)); } static _getTypeSync(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 809, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 809, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); } - return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetTypeSync(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _getTypeRequest(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 819, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 819, 31, "followLinks"); return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); - } + io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.dynamicToFileSystemEntityType())); + }, T$0.ObjectNToFileSystemEntityType())); } static _getType(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 829, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 829, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); } - return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetType(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _throwIfError(result, msg, path = null) { - if (result == null) dart.nullFailed(I[111], 816, 31, "result"); - if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (result == null) dart.nullFailed(I[114], 837, 31, "result"); + if (msg == null) dart.nullFailed(I[114], 837, 46, "msg"); if (io.OSError.is(result)) { dart.throw(new io.FileSystemException.new(msg, path, result)); } else if (core.ArgumentError.is(result)) { @@ -48699,7 +52373,7 @@ define([], (function load__dart_sdk() { } } static _trimTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + if (path == null) dart.nullFailed(I[114], 846, 52, "path"); core.ArgumentError.checkNotNull(core.String, path, "path"); if (dart.test(io.Platform.isWindows)) { while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { @@ -48713,7 +52387,7 @@ define([], (function load__dart_sdk() { return path; } static _ensureTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path == null) dart.nullFailed(I[114], 863, 54, "path"); if (path[$isEmpty]) path = "."; if (dart.test(io.Platform.isWindows)) { while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { @@ -48742,6 +52416,7 @@ define([], (function load__dart_sdk() { deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) })); + dart.setStaticMethodSignature(io.FileSystemEntity, () => ['_identical', 'identical', '_isAbsolute', '_windowsDriveLetter', '_absoluteWindowsPath', '_identicalSync', 'identicalSync', '_toUtf8Array', '_toNullTerminatedUtf8Array', '_toStringFromUtf8Array', 'type', 'typeSync', 'isLink', '_isLinkRaw', 'isFile', 'isDirectory', 'isLinkSync', '_isLinkRawSync', 'isFileSync', 'isDirectorySync', '_getTypeNative', '_identicalNative', '_resolveSymbolicLinks', 'parentOf', '_getTypeSyncHelper', '_getTypeSync', '_getTypeRequest', '_getType', '_throwIfError', '_trimTrailingPathSeparators', '_ensureTrailingPathSeparators']); dart.setGetterSignature(io.FileSystemEntity, () => ({ __proto__: dart.getGetters(io.FileSystemEntity.__proto__), uri: core.Uri, @@ -48749,7 +52424,9 @@ define([], (function load__dart_sdk() { [_absolutePath]: core.String, parent: io.Directory })); - dart.setLibraryUri(io.FileSystemEntity, I[105]); + dart.setStaticGetterSignature(io.FileSystemEntity, () => ['isWatchSupported']); + dart.setLibraryUri(io.FileSystemEntity, I[108]); + dart.setStaticFieldSignature(io.FileSystemEntity, () => ['_backslashChar', '_slashChar', '_colonChar', '_absoluteWindowsPathPattern', '_parentRegExp']); dart.defineLazy(io.FileSystemEntity, { /*io.FileSystemEntity._backslashChar*/get _backslashChar() { return 92; @@ -48780,61 +52457,69 @@ define([], (function load__dart_sdk() { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); + return new io._Directory.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); + return new io._Directory.fromRawPath(rawPath); + } get path() { return this[_path$0]; } static _current(namespace) { - if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 14, 30, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._current")); } static _setCurrent(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 19, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); } static _createTemp(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 24, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._createTemp")); } static _systemTemp(namespace) { - if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 29, 40, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 34, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._exists")); } static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 39, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._create")); } static _deleteNative(namespace, rawPath, recursive) { - if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + if (namespace == null) dart.nullFailed(I[110], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 45, 53, "recursive"); dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); } static _rename(namespace, rawPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); - if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[110], 50, 66, "newPath"); dart.throw(new core.UnsupportedError.new("Directory._rename")); } static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); - if (list == null) dart.nullFailed(I[107], 57, 30, "list"); - if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); - if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[110], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[110], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 60, 12, "followLinks"); dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); } static get current() { let result = io._Directory._current(io._Namespace._namespace); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + dart.throw(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); } return new io._Directory.new(core.String.as(result)); } @@ -48844,13 +52529,11 @@ define([], (function load__dart_sdk() { function _rawPath$35get() { return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); } - dart.fn(_rawPath$35get, T$0.VoidToUint8List()); - function _rawPath$35set(t185) { - if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + function _rawPath$35set(_rawPath$35param) { + if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); _rawPath$35isSet = true; - return _rawPath = t185; + return _rawPath = _rawPath$35param; } - dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); if (io._Directory.is(path)) { _rawPath$35set(path[_rawPath$]); } else if (io.Directory.is(path)) { @@ -48866,19 +52549,17 @@ define([], (function load__dart_sdk() { let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); if (core.ArgumentError.is(result)) dart.throw(result); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + dart.throw(io.FileSystemException._fromOSError(result, "Setting current working directory failed", dart.toString(path))); } } get uri() { return core._Uri.directory(this.path); } exists() { - return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); - } + return io._File._dispatchWithNamespace(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + io._checkForErrorResponse(response, "Exists failed", this.path); return dart.equals(response, 1); - }, T$0.dynamicTobool())); + }, T$.ObjectNTobool())); } existsSync() { let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); @@ -48892,14 +52573,14 @@ define([], (function load__dart_sdk() { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 99, 34, "recursive"); if (dart.test(recursive)) { return this.exists().then(io.Directory, dart.fn(exists => { - if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (exists == null) dart.nullFailed(I[113], 101, 29, "exists"); if (dart.test(exists)) return this; if (this.path != this.parent.path) { return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + if (_ == null) dart.nullFailed(I[113], 104, 55, "_"); return this.create(); }, T$0.DirectoryToFutureOfDirectory())); } else { @@ -48907,17 +52588,15 @@ define([], (function load__dart_sdk() { } }, T$0.boolToFutureOrOfDirectory())); } else { - return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); - } + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 120, 25, "recursive"); if (dart.test(recursive)) { if (dart.test(this.existsSync())) return; if (this.path != this.parent.path) { @@ -48926,7 +52605,7 @@ define([], (function load__dart_sdk() { } let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); } } static get systemTemp() { @@ -48943,12 +52622,10 @@ define([], (function load__dart_sdk() { } else { fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); } - return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); - } + return io._File._dispatchWithNamespace(38, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation of temporary directory failed", this.path); return io.Directory.new(core.String.as(response)); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } createTempSync(prefix = null) { prefix == null ? prefix = "" : null; @@ -48963,58 +52640,54 @@ define([], (function load__dart_sdk() { } let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation of temporary directory failed", fullPrefix)); } return io.Directory.new(core.String.as(result)); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); - return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); - } + if (recursive == null) dart.nullFailed(I[113], 181, 35, "recursive"); + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Deletion failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 190, 26, "recursive"); let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); } } rename(newPath) { - if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); - return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); - } + if (newPath == null) dart.nullFailed(I[113], 197, 35, "newPath"); + return io._File._dispatchWithNamespace(42, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Rename failed", this.path); return io.Directory.new(newPath); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + if (newPath == null) dart.nullFailed(I[113], 205, 31, "newPath"); core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Rename failed", this.path)); } return io.Directory.new(newPath); } list(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 216, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 216, 37, "followLinks"); return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; } listSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 228, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 228, 37, "followLinks"); core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); let result = T$0.JSArrayOfFileSystemEntity().of([]); @@ -49024,42 +52697,20 @@ define([], (function load__dart_sdk() { toString() { return "Directory: '" + dart.str(this.path) + "'"; } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionOrErrorFromResponse](response, message) { - if (message == null) dart.nullFailed(I[110], 260, 50, "message"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, this.path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } - } - } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + if (name == null) dart.nullFailed(I[113], 248, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._Directory.new = function(path) { - if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Directory.prototype; (io._Directory.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -49080,16 +52731,17 @@ define([], (function load__dart_sdk() { rename: dart.fnType(async.Future$(io.Directory), [core.String]), renameSync: dart.fnType(io.Directory, [core.String]), list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}) })); + dart.setStaticMethodSignature(io._Directory, () => ['_current', '_setCurrent', '_createTemp', '_systemTemp', '_exists', '_create', '_deleteNative', '_rename', '_fillWithDirectoryListing', '_checkNotNull']); dart.setGetterSignature(io._Directory, () => ({ __proto__: dart.getGetters(io._Directory.__proto__), path: core.String, absolute: io.Directory })); - dart.setLibraryUri(io._Directory, I[105]); + dart.setStaticGetterSignature(io._Directory, () => ['current', 'systemTemp']); + dart.setStaticSetterSignature(io._Directory, () => ['current']); + dart.setLibraryUri(io._Directory, I[108]); dart.setFieldSignature(io._Directory, () => ({ __proto__: dart.getFields(io._Directory.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -49098,29 +52750,40 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(io._Directory, ['toString']); io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); dart.throw(new core.UnsupportedError.new("Directory._list")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); + return io._AsyncDirectoryListerOps.new(pointer); + } }; (io._AsyncDirectoryListerOps[dart.mixinNew] = function() { }).prototype = io._AsyncDirectoryListerOps.prototype; dart.addTypeTests(io._AsyncDirectoryListerOps); dart.addTypeCaches(io._AsyncDirectoryListerOps); - dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); + dart.setStaticMethodSignature(io._AsyncDirectoryListerOps, () => ['new']); + dart.setLibraryUri(io._AsyncDirectoryListerOps, I[108]); var _ops = dart.privateName(io, "_ops"); var _pointer = dart.privateName(io, "_pointer"); var _cleanup = dart.privateName(io, "_cleanup"); io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + static ['_#new#tearOff'](rawPath, recursive, followLinks) { + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); + return new io._AsyncDirectoryLister.new(rawPath, recursive, followLinks); + } [_pointer]() { - let t187; - t187 = this[_ops]; - return t187 == null ? null : t187.getPointer(); + let t167; + t167 = this[_ops]; + return t167 == null ? null : t167.getPointer(); } get stream() { return this.controller.stream; } onListen() { - io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + io._File._dispatchWithNamespace(39, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { if (core.int.is(response)) { this[_ops] = io._AsyncDirectoryListerOps.new(response); this.next(); @@ -49128,10 +52791,10 @@ define([], (function load__dart_sdk() { this.controller.addError(response, response[$stackTrace]); this.close(); } else { - this.error(response); + this.error(T$.ListOfObjectN().as(response)); this.close(); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } onResume() { if (!dart.test(this.nextRunning)) { @@ -49158,46 +52821,46 @@ define([], (function load__dart_sdk() { return; } this.nextRunning = true; - io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { - let t187; + io._IOService._dispatch(40, [pointer]).then(core.Null, dart.fn(result => { + let t167; this.nextRunning = false; if (core.List.is(result)) { this.next(); - if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[113], 351, 16, "result.length % 2 == 0"); for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { - if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); - switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[113], 353, 18, "i % 2 == 0"); + switch (result[$_get]((t167 = i, i = t167 + 1, t167))) { case 0: - { - this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 1: - { - this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 2: - { - this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 3: - { - this.error(result[$_get](i)); - break; - } + { + this.error(T$.ListOfObjectN().as(result[$_get](i))); + break; + } case 4: - { - this.canceled = true; - return; - } + { + this.canceled = true; + return; + } } } } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } [_cleanup]() { this.controller.close(); @@ -49216,33 +52879,34 @@ define([], (function load__dart_sdk() { if (pointer == null) { this[_cleanup](); } else { - io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); } } error(message) { - let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (message == null) dart.nullFailed(I[113], 402, 28, "message"); + let errorResponseInfo = T$.ListOfObjectN().as(dart.nullCheck(message[$_get](2))); + let errorType = errorResponseInfo[$_get](0); if (dart.equals(errorType, 1)) { this.controller.addError(new core.ArgumentError.new()); } else if (dart.equals(errorType, 2)) { - let responseErrorInfo = dart.dsend(message, '_get', [2]); - let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); - let errorPath = dart.dsend(message, '_get', [1]); + let err = new io.OSError.new(core.String.as(errorResponseInfo[$_get](2)), core.int.as(errorResponseInfo[$_get](1))); + let errorPath = message[$_get](1); if (errorPath == null) { errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); } else if (typed_data.Uint8List.is(errorPath)) { - errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + errorPath = convert.utf8.decode(errorPath, {allowMalformed: true}); } - this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + this.controller.addError(io.FileSystemException._fromOSError(err, "Directory listing failed", core.String.as(errorPath))); } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } } }; (io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { - let t187; - if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); - if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); - if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + let t167; + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); this.canceled = false; this.nextRunning = false; @@ -49252,12 +52916,12 @@ define([], (function load__dart_sdk() { this.rawPath = rawPath; this.recursive = recursive; this.followLinks = followLinks; - t187 = this.controller; + t167 = this.controller; (() => { - t187.onListen = dart.bind(this, 'onListen'); - t187.onResume = dart.bind(this, 'onResume'); - t187.onCancel = dart.bind(this, 'onCancel'); - return t187; + t167.onListen = dart.bind(this, 'onListen'); + t167.onResume = dart.bind(this, 'onResume'); + t167.onCancel = dart.bind(this, 'onCancel'); + return t167; })(); }).prototype = io._AsyncDirectoryLister.prototype; dart.addTypeTests(io._AsyncDirectoryLister); @@ -49271,13 +52935,13 @@ define([], (function load__dart_sdk() { next: dart.fnType(dart.void, []), [_cleanup]: dart.fnType(dart.void, []), close: dart.fnType(dart.void, []), - error: dart.fnType(dart.void, [dart.dynamic]) + error: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]) })); dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), stream: async.Stream$(io.FileSystemEntity) })); - dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); + dart.setLibraryUri(io._AsyncDirectoryLister, I[108]); dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), rawPath: dart.finalFieldType(typed_data.Uint8List), @@ -49290,6 +52954,7 @@ define([], (function load__dart_sdk() { [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), closeCompleter: dart.fieldType(async.Completer) })); + dart.setStaticFieldSignature(io._AsyncDirectoryLister, () => ['listFile', 'listDirectory', 'listLink', 'listError', 'listDone', 'responseType', 'responsePath', 'responseComplete', 'responseError']); dart.defineLazy(io._AsyncDirectoryLister, { /*io._AsyncDirectoryLister.listFile*/get listFile() { return 0; @@ -49319,57 +52984,69 @@ define([], (function load__dart_sdk() { return 2; } }, false); - io._EmbedderConfig = class _EmbedderConfig extends core.Object { - static _setDomainPolicies(domainNetworkPolicyJson) { - if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); - io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); - } - }; + io._EmbedderConfig = class _EmbedderConfig extends core.Object {}; (io._EmbedderConfig.new = function() { ; }).prototype = io._EmbedderConfig.prototype; dart.addTypeTests(io._EmbedderConfig); dart.addTypeCaches(io._EmbedderConfig); - dart.setLibraryUri(io._EmbedderConfig, I[105]); + dart.setLibraryUri(io._EmbedderConfig, I[108]); + dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); dart.defineLazy(io._EmbedderConfig, { /*io._EmbedderConfig._mayChdir*/get _mayChdir() { return true; }, - set _mayChdir(_) {}, + set _mayChdir(value) { + if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); + }, /*io._EmbedderConfig._mayExit*/get _mayExit() { return true; }, - set _mayExit(_) {}, + set _mayExit(value) { + if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); + }, /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { return true; }, - set _maySetEchoMode(_) {}, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + set _maySetEchoMode(value) { + if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); + }, + /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { return true; }, - set _maySetLineMode(_) {}, - /*io._EmbedderConfig._maySleep*/get _maySleep() { + set _maySetEchoNewlineMode(value) { + if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); + }, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { return true; }, - set _maySleep(_) {}, - /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + set _maySetLineMode(value) { + if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); + }, + /*io._EmbedderConfig._maySleep*/get _maySleep() { return true; }, - set _mayInsecurelyConnectToAllDomains(_) {} + set _maySleep(value) { + if (value == null) dart.nullFailed(I[115], 37, 15, "_maySleep"); + } }, false); io._EventHandler = class _EventHandler extends core.Object { static _sendData(sender, sendPort, data) { - if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); - if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + if (sendPort == null) dart.nullFailed(I[110], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[110], 76, 64, "data"); dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); } + static ['_#new#tearOff']() { + return new io._EventHandler.new(); + } }; (io._EventHandler.new = function() { ; }).prototype = io._EventHandler.prototype; dart.addTypeTests(io._EventHandler); dart.addTypeCaches(io._EventHandler); - dart.setLibraryUri(io._EventHandler, I[105]); + dart.setStaticMethodSignature(io._EventHandler, () => ['_sendData']); + dart.setLibraryUri(io._EventHandler, I[108]); var _mode$ = dart.privateName(io, "FileMode._mode"); var _mode = dart.privateName(io, "_mode"); io.FileMode = class FileMode extends core.Object { @@ -49379,49 +53056,39 @@ define([], (function load__dart_sdk() { set [_mode](value) { super[_mode] = value; } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); + return new io.FileMode._internal(_mode); + } }; (io.FileMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); this[_mode$] = _mode; ; }).prototype = io.FileMode.prototype; dart.addTypeTests(io.FileMode); dart.addTypeCaches(io.FileMode); - dart.setLibraryUri(io.FileMode, I[105]); + dart.setLibraryUri(io.FileMode, I[108]); dart.setFieldSignature(io.FileMode, () => ({ __proto__: dart.getFields(io.FileMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.FileMode, () => ['read', 'write', 'append', 'writeOnly', 'writeOnlyAppend']); dart.defineLazy(io.FileMode, { /*io.FileMode.read*/get read() { - return C[109] || CT.C109; - }, - /*io.FileMode.READ*/get READ() { - return C[109] || CT.C109; + return C[116] || CT.C116; }, /*io.FileMode.write*/get write() { - return C[110] || CT.C110; - }, - /*io.FileMode.WRITE*/get WRITE() { - return C[110] || CT.C110; + return C[117] || CT.C117; }, /*io.FileMode.append*/get append() { - return C[111] || CT.C111; - }, - /*io.FileMode.APPEND*/get APPEND() { - return C[111] || CT.C111; + return C[118] || CT.C118; }, /*io.FileMode.writeOnly*/get writeOnly() { - return C[112] || CT.C112; - }, - /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + return C[119] || CT.C119; }, /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[113] || CT.C113; - }, - /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + return C[120] || CT.C120; } }, false); var _type$1 = dart.privateName(io, "FileLock._type"); @@ -49433,60 +53100,65 @@ define([], (function load__dart_sdk() { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); + return new io.FileLock._internal(_type); + } }; (io.FileLock._internal = function(_type) { - if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); this[_type$1] = _type; ; }).prototype = io.FileLock.prototype; dart.addTypeTests(io.FileLock); dart.addTypeCaches(io.FileLock); - dart.setLibraryUri(io.FileLock, I[105]); + dart.setLibraryUri(io.FileLock, I[108]); dart.setFieldSignature(io.FileLock, () => ({ __proto__: dart.getFields(io.FileLock.__proto__), [_type]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.FileLock, () => ['shared', 'exclusive', 'blockingShared', 'blockingExclusive']); dart.defineLazy(io.FileLock, { /*io.FileLock.shared*/get shared() { - return C[114] || CT.C114; - }, - /*io.FileLock.SHARED*/get SHARED() { - return C[114] || CT.C114; + return C[121] || CT.C121; }, /*io.FileLock.exclusive*/get exclusive() { - return C[115] || CT.C115; - }, - /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { - return C[115] || CT.C115; + return C[122] || CT.C122; }, /*io.FileLock.blockingShared*/get blockingShared() { - return C[116] || CT.C116; - }, - /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { - return C[116] || CT.C116; + return C[123] || CT.C123; }, /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[117] || CT.C117; - }, - /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { - return C[117] || CT.C117; + return C[124] || CT.C124; } }, false); io.File = class File extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._File.new(path); } return overrides.createFile(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); + return io.File.new(path); + } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); + return io.File.fromUri(uri); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); return io.File.new(uri.toFilePath()); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); + return io.File.fromRawPath(rawPath); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); return new io._File.fromRawPath(rawPath); } }; @@ -49495,17 +53167,19 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.File); dart.addTypeCaches(io.File); io.File[dart.implements] = () => [io.FileSystemEntity]; - dart.setLibraryUri(io.File, I[105]); + dart.setStaticMethodSignature(io.File, () => ['new', 'fromUri', 'fromRawPath']); + dart.setLibraryUri(io.File, I[108]); io.RandomAccessFile = class RandomAccessFile extends core.Object {}; (io.RandomAccessFile.new = function() { ; }).prototype = io.RandomAccessFile.prototype; dart.addTypeTests(io.RandomAccessFile); dart.addTypeCaches(io.RandomAccessFile); - dart.setLibraryUri(io.RandomAccessFile, I[105]); + dart.setLibraryUri(io.RandomAccessFile, I[108]); var message$3 = dart.privateName(io, "FileSystemException.message"); var path$ = dart.privateName(io, "FileSystemException.path"); var osError$ = dart.privateName(io, "FileSystemException.osError"); + var _toStringHelper = dart.privateName(io, "_toStringHelper"); io.FileSystemException = class FileSystemException extends core.Object { get message() { return this[message$3]; @@ -49525,9 +53199,53 @@ define([], (function load__dart_sdk() { set osError(value) { super.osError = value; } - toString() { + static ['_#new#tearOff'](message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); + return new io.FileSystemException.new(message, path, osError); + } + static _fromOSError(err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + if (dart.test(io.Platform.isWindows)) { + switch (err.errorCode) { + case 2: + case 3: + case 15: + case 18: + case 53: + case 67: + case 161: + case 206: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } else { + switch (err.errorCode) { + case 2: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } + } + static ['_#_fromOSError#tearOff'](err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + return io.FileSystemException._fromOSError(err, message, path); + } + [_toStringHelper](className) { + if (className == null) dart.nullFailed(I[116], 928, 33, "className"); let sb = new core.StringBuffer.new(); - sb.write("FileSystemException"); + sb.write(className); if (this.message[$isNotEmpty]) { sb.write(": " + dart.str(this.message)); if (this.path != null) { @@ -49546,9 +53264,12 @@ define([], (function load__dart_sdk() { } return sb.toString(); } + toString() { + return this[_toStringHelper]("FileSystemException"); + } }; (io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); this[message$3] = message; this[path$] = path; this[osError$] = osError; @@ -49557,7 +53278,12 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.FileSystemException); dart.addTypeCaches(io.FileSystemException); io.FileSystemException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.FileSystemException, I[105]); + dart.setMethodSignature(io.FileSystemException, () => ({ + __proto__: dart.getMethods(io.FileSystemException.__proto__), + [_toStringHelper]: dart.fnType(core.String, [core.String]) + })); + dart.setStaticMethodSignature(io.FileSystemException, () => ['_fromOSError']); + dart.setLibraryUri(io.FileSystemException, I[108]); dart.setFieldSignature(io.FileSystemException, () => ({ __proto__: dart.getFields(io.FileSystemException.__proto__), message: dart.finalFieldType(core.String), @@ -49565,45 +53291,100 @@ define([], (function load__dart_sdk() { osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.FileSystemException, ['toString']); + io.PathNotFoundException = class PathNotFoundException extends io.FileSystemException { + static ['_#new#tearOff'](path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + return new io.PathNotFoundException.new(path, osError, message); + } + toString() { + return this[_toStringHelper]("PathNotFoundException"); + } + }; + (io.PathNotFoundException.new = function(path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + io.PathNotFoundException.__proto__.new.call(this, message, path, osError); + ; + }).prototype = io.PathNotFoundException.prototype; + dart.addTypeTests(io.PathNotFoundException); + dart.addTypeCaches(io.PathNotFoundException); + dart.setLibraryUri(io.PathNotFoundException, I[108]); + dart.defineExtensionMethods(io.PathNotFoundException, ['toString']); + io.ReadPipe = class ReadPipe extends core.Object {}; + (io.ReadPipe.new = function() { + ; + }).prototype = io.ReadPipe.prototype; + io.ReadPipe.prototype[dart.isStream] = true; + dart.addTypeTests(io.ReadPipe); + dart.addTypeCaches(io.ReadPipe); + io.ReadPipe[dart.implements] = () => [async.Stream$(core.List$(core.int))]; + dart.setLibraryUri(io.ReadPipe, I[108]); + io.WritePipe = class WritePipe extends core.Object {}; + (io.WritePipe.new = function() { + ; + }).prototype = io.WritePipe.prototype; + dart.addTypeTests(io.WritePipe); + dart.addTypeCaches(io.WritePipe); + io.WritePipe[dart.implements] = () => [io.IOSink]; + dart.setLibraryUri(io.WritePipe, I[108]); + io.Pipe = class Pipe extends core.Object { + static create() { + return io._Pipe.create(); + } + static createSync() { + return io._Pipe.createSync(); + } + static ['_#createSync#tearOff']() { + return io.Pipe.createSync(); + } + }; + (io.Pipe[dart.mixinNew] = function() { + }).prototype = io.Pipe.prototype; + dart.addTypeTests(io.Pipe); + dart.addTypeCaches(io.Pipe); + dart.setStaticMethodSignature(io.Pipe, () => ['create', 'createSync']); + dart.setLibraryUri(io.Pipe, I[108]); var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); - var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); - var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); var _closeCompleter = dart.privateName(io, "_closeCompleter"); var _unsubscribed = dart.privateName(io, "_unsubscribed"); var _readInProgress = dart.privateName(io, "_readInProgress"); var _atEnd = dart.privateName(io, "_atEnd"); - var _end$ = dart.privateName(io, "_end"); + var _openedFile = dart.privateName(io, "_openedFile"); + var _end$0 = dart.privateName(io, "_end"); var _position$ = dart.privateName(io, "_position"); var _controller = dart.privateName(io, "_controller"); - var _openedFile = dart.privateName(io, "_openedFile"); - var _start$1 = dart.privateName(io, "_start"); + var _start$2 = dart.privateName(io, "_start"); var _readBlock = dart.privateName(io, "_readBlock"); var _closeFile = dart.privateName(io, "_closeFile"); io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { get [_controller]() { - let t187; - return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t167; + return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t187) { - if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = t187; + this[___FileStream__controller] = _controller$35param; + } + static ['_#new#tearOff'](_path, position, _end) { + return new io._FileStream.new(_path, position, _end); } - get [_openedFile]() { - let t188; - return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + static ['_#forStdin#tearOff']() { + return new io._FileStream.forStdin(); } - set [_openedFile](t188) { - if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); - this[___FileStream__openedFile_isSet] = true; - this[___FileStream__openedFile] = t188; + static ['_#forRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + return new io._FileStream.forRandomAccessFile(f); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { this[_unsubscribed] = true; return this[_closeFile](); }, T$0.VoidToFuture())}); @@ -49619,7 +53400,7 @@ define([], (function load__dart_sdk() { this[_controller].close(); }; dart.fn(done, T$.VoidTovoid()); - this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); return this[_closeCompleter].future; } [_readBlock]() { @@ -49630,7 +53411,7 @@ define([], (function load__dart_sdk() { } this[_readInProgress] = true; let readBytes = 65536; - let end = this[_end$]; + let end = this[_end$0]; if (end != null) { readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); if (readBytes < 0) { @@ -49643,21 +53424,23 @@ define([], (function load__dart_sdk() { return; } } - this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { - if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + dart.nullCheck(this[_openedFile]).read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[117], 89, 40, "block"); this[_readInProgress] = false; if (dart.test(this[_unsubscribed])) { this[_closeFile](); return; } this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); - if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + if (block[$length] === 0 || this[_end$0] != null && this[_position$] == this[_end$0]) { this[_atEnd] = true; } if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { this[_readBlock](); } - this[_controller].add(block); + if (dart.notNull(block[$length]) > 0) { + this[_controller].add(block); + } if (dart.test(this[_atEnd])) { this[_closeFile](); } @@ -49669,7 +53452,7 @@ define([], (function load__dart_sdk() { } }, T$.dynamicAnddynamicToNull())); } - [_start$1]() { + [_start$2]() { if (dart.notNull(this[_position$]) < 0) { this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); this[_controller].close(); @@ -49677,14 +53460,14 @@ define([], (function load__dart_sdk() { return; } const onReady = file => { - if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + if (file == null) dart.nullFailed(I[117], 130, 35, "file"); this[_openedFile] = file; this[_readInProgress] = false; this[_readBlock](); }; dart.fn(onReady, T$0.RandomAccessFileTovoid()); const onOpenFile = file => { - if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (file == null) dart.nullFailed(I[117], 136, 38, "file"); if (dart.notNull(this[_position$]) > 0) { file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); @@ -49703,7 +53486,10 @@ define([], (function load__dart_sdk() { }; dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); let path = this[_path$0]; - if (path != null) { + let openedFile = this[_openedFile]; + if (openedFile != null) { + onOpenFile(openedFile); + } else if (path != null) { io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); } else { try { @@ -49720,35 +53506,49 @@ define([], (function load__dart_sdk() { } }; (io._FileStream.new = function(_path, position, _end) { - let t187; + let t167; this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; + this[_openedFile] = null; this[_path$0] = _path; - this[_end$] = _end; - this[_position$] = (t187 = position, t187 == null ? 0 : t187); + this[_end$0] = _end; + this[_position$] = (t167 = position, t167 == null ? 0 : t167); io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; (io._FileStream.forStdin = function() { this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; - this[_end$] = null; + this[_openedFile] = null; + this[_end$0] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; + }).prototype = io._FileStream.prototype; + (io._FileStream.forRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$0] = null; this[_path$0] = null; this[_position$] = 0; + this[_openedFile] = f; io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; @@ -49759,28 +53559,25 @@ define([], (function load__dart_sdk() { listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), [_closeFile]: dart.fnType(async.Future, []), [_readBlock]: dart.fnType(dart.void, []), - [_start$1]: dart.fnType(dart.void, []) + [_start$2]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._FileStream, () => ({ __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); dart.setSetterSignature(io._FileStream, () => ({ __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); - dart.setLibraryUri(io._FileStream, I[105]); + dart.setLibraryUri(io._FileStream, I[108]); dart.setFieldSignature(io._FileStream, () => ({ __proto__: dart.getFields(io._FileStream.__proto__), [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), [___FileStream__controller_isSet]: dart.fieldType(core.bool), [_path$0]: dart.fieldType(dart.nullable(core.String)), - [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), [_position$]: dart.fieldType(core.int), - [_end$]: dart.fieldType(dart.nullable(core.int)), + [_end$0]: dart.fieldType(dart.nullable(core.int)), [_closeCompleter]: dart.finalFieldType(async.Completer), [_unsubscribed]: dart.fieldType(core.bool), [_readInProgress]: dart.fieldType(core.bool), @@ -49790,37 +53587,48 @@ define([], (function load__dart_sdk() { var _file = dart.privateName(io, "_file"); var _openFuture = dart.privateName(io, "_openFuture"); io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + static ['_#new#tearOff'](file, mode) { + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); + return new io._FileStreamConsumer.new(file, mode); + } + static ['_#fromStdio#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); + return new io._FileStreamConsumer.fromStdio(fd); + } + static ['_#fromRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + return new io._FileStreamConsumer.fromRandomAccessFile(f); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + if (stream == null) dart.nullFailed(I[117], 186, 45, "stream"); let completer = T$0.CompleterOfFileN().sync(); this[_openFuture].then(core.Null, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 188, 23, "openedFile"); let _subscription = null; let _subscription$35isSet = false; function _subscription$35get() { return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); } - dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); - function _subscription$35set(t193) { - if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + function _subscription$35set(_subscription$35param) { + if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); _subscription$35isSet = true; - return _subscription = t193; + return _subscription = _subscription$35param; } - dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); function error(e, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[117], 190, 32, "stackTrace"); _subscription$35get().cancel(); openedFile.close(); completer.completeError(core.Object.as(e), stackTrace); } dart.fn(error, T$0.dynamicAndStackTraceTovoid()); _subscription$35set(stream.listen(dart.fn(d => { - if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + if (d == null) dart.nullFailed(I[117], 196, 38, "d"); _subscription$35get().pause(); try { openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); return _subscription$35get().resume(); }, T$0.RandomAccessFileTovoid()), {onError: error}); } catch (e$) { @@ -49839,24 +53647,30 @@ define([], (function load__dart_sdk() { } close() { return this[_openFuture].then(dart.void, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 213, 25, "openedFile"); return openedFile.close(); }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); } }; (io._FileStreamConsumer.new = function(file, mode) { - if (file == null) dart.nullFailed(I[114], 162, 28, "file"); - if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); this[_file] = file; this[_openFuture] = file.open({mode: mode}); ; }).prototype = io._FileStreamConsumer.prototype; (io._FileStreamConsumer.fromStdio = function(fd) { - if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); this[_file] = null; this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); ; }).prototype = io._FileStreamConsumer.prototype; + (io._FileStreamConsumer.fromRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(f); + ; + }).prototype = io._FileStreamConsumer.prototype; dart.addTypeTests(io._FileStreamConsumer); dart.addTypeCaches(io._FileStreamConsumer); dart.setMethodSignature(io._FileStreamConsumer, () => ({ @@ -49864,7 +53678,7 @@ define([], (function load__dart_sdk() { addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), close: dart.fnType(async.Future$(dart.nullable(io.File)), []) })); - dart.setLibraryUri(io._FileStreamConsumer, I[105]); + dart.setLibraryUri(io._FileStreamConsumer, I[108]); dart.setFieldSignature(io._FileStreamConsumer, () => ({ __proto__: dart.getFields(io._FileStreamConsumer.__proto__), [_file]: dart.fieldType(dart.nullable(io.File)), @@ -49886,6 +53700,14 @@ define([], (function load__dart_sdk() { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); + return new io._File.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); + return new io._File.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -49893,22 +53715,20 @@ define([], (function load__dart_sdk() { return io._Namespace._namespacePointer; } static _dispatchWithNamespace(request, data) { - if (request == null) dart.nullFailed(I[114], 222, 44, "request"); - if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + if (request == null) dart.nullFailed(I[117], 239, 53, "request"); + if (data == null) dart.nullFailed(I[117], 239, 67, "data"); data[$_set](0, io._File._namespacePointer()); return io._IOService._dispatch(request, data); } exists() { return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Cannot check existence", this.path); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("File._exists")); } existsSync() { @@ -49921,69 +53741,74 @@ define([], (function load__dart_sdk() { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 262, 29, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 262, 53, "exclusive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$], exclusive]), T$0.DirectoryNToFutureOfObjectN())).then(io.File, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } - static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + static _create(namespace, rawPath, exclusive) { + if (namespace == null) dart.nullFailed(I[110], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 116, 50, "rawPath"); + if (exclusive == null) dart.nullFailed(I[110], 116, 64, "exclusive"); dart.throw(new core.UnsupportedError.new("File._create")); } static _createLink(namespace, rawPath, target) { - if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); - if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + if (namespace == null) dart.nullFailed(I[110], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[110], 121, 70, "target"); dart.throw(new core.UnsupportedError.new("File._createLink")); } + static _createPipe(namespace) { + if (namespace == null) dart.nullFailed(I[110], 126, 47, "namespace"); + dart.throw(new core.UnsupportedError.new("File._createPipe")); + } static _linkTarget(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 131, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 131, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("File._linkTarget")); } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 284, 25, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 284, 49, "exclusive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } - let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + let result = io._File._create(io._Namespace._namespace, this[_rawPath$], exclusive); io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 292, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + if (_ == null) dart.nullFailed(I[117], 294, 64, "_"); return this; }, T$0.FileSystemEntityTo_File())); } return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } static _deleteNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 136, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 136, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteNative")); } static _deleteLinkNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 141, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 141, 60, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 307, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -49991,77 +53816,69 @@ define([], (function load__dart_sdk() { io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 315, 30, "newPath"); return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _rename(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 146, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 146, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 146, 66, "newPath"); dart.throw(new core.UnsupportedError.new("File._rename")); } static _renameLink(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 151, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 151, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 151, 70, "newPath"); dart.throw(new core.UnsupportedError.new("File._renameLink")); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 330, 26, "newPath"); let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } copy(newPath) { - if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 336, 28, "newPath"); return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _copy(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 156, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 156, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 156, 64, "newPath"); dart.throw(new core.UnsupportedError.new("File._copy")); } copySync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 347, 24, "newPath"); let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } open(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 353, 43, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); } return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); - } + io._checkForErrorResponse(response, "Cannot open file", this.path); return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } length() { return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "Cannot retrieve length of file", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } static _lengthFromPath(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 161, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); } lengthSync() { @@ -50071,15 +53888,13 @@ define([], (function load__dart_sdk() { } lastAccessed() { return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastAccessed(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 171, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 171, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastAccessed")); } lastAccessedSync() { @@ -50088,23 +53903,21 @@ define([], (function load__dart_sdk() { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastAccessed(time) { - if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + if (time == null) dart.nullFailed(I[117], 401, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set access time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastAccessed(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 181, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 181, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 181, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); } setLastAccessedSync(time) { - if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + if (time == null) dart.nullFailed(I[117], 414, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50113,15 +53926,13 @@ define([], (function load__dart_sdk() { } lastModified() { return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastModified(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 166, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastModified")); } lastModifiedSync() { @@ -50130,23 +53941,21 @@ define([], (function load__dart_sdk() { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastModified(time) { - if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + if (time == null) dart.nullFailed(I[117], 440, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set modification time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastModified(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 176, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastModified")); } setLastModifiedSync(time) { - if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + if (time == null) dart.nullFailed(I[117], 453, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50154,14 +53963,14 @@ define([], (function load__dart_sdk() { } } static _open(namespace, rawPath, mode) { - if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); - if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + if (namespace == null) dart.nullFailed(I[110], 186, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 186, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[110], 186, 61, "mode"); dart.throw(new core.UnsupportedError.new("File._open")); } openSync(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 464, 39, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50170,11 +53979,11 @@ define([], (function load__dart_sdk() { return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); } static _openStdio(fd) { - if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + if (fd == null) dart.nullFailed(I[110], 191, 29, "fd"); dart.throw(new core.UnsupportedError.new("File._openStdio")); } static _openStdioSync(fd) { - if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + if (fd == null) dart.nullFailed(I[117], 479, 46, "fd"); let id = io._File._openStdio(fd); if (id === 0) { dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); @@ -50185,10 +53994,10 @@ define([], (function load__dart_sdk() { return new io._FileStream.new(this.path, start, end); } openWrite(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 491, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 491, 62, "encoding"); if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50197,12 +54006,12 @@ define([], (function load__dart_sdk() { } readAsBytes() { function readDataChunked(file) { - if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + if (file == null) dart.nullFailed(I[117], 503, 56, "file"); let builder = _internal.BytesBuilder.new({copy: false}); let completer = T$0.CompleterOfUint8List().new(); function read() { file.read(65536).then(core.Null, dart.fn(data => { - if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (data == null) dart.nullFailed(I[117], 507, 37, "data"); if (dart.notNull(data[$length]) > 0) { builder.add(data); read(); @@ -50217,9 +54026,9 @@ define([], (function load__dart_sdk() { } dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); return this.open().then(typed_data.Uint8List, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + if (file == null) dart.nullFailed(I[117], 521, 25, "file"); return file.length().then(typed_data.Uint8List, dart.fn(length => { - if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length == null) dart.nullFailed(I[117], 522, 34, "length"); if (length === 0) { return readDataChunked(file); } @@ -50248,8 +54057,8 @@ define([], (function load__dart_sdk() { } } [_tryDecode](bytes, encoding) { - if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); - if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + if (bytes == null) dart.nullFailed(I[117], 554, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[117], 554, 47, "encoding"); try { return encoding.decode(bytes); } catch (e) { @@ -50261,11 +54070,11 @@ define([], (function load__dart_sdk() { } } readAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 563, 41, "encoding"); let stack = core.StackTrace.current; return this.readAsBytes().then(core.String, dart.fn(bytes => { - if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 568, 32, "bytes"); try { return this[_tryDecode](bytes, encoding); } catch (e$) { @@ -50278,32 +54087,32 @@ define([], (function load__dart_sdk() { }, T$0.Uint8ListToFutureOrOfString())); } readAsStringSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 577, 37, "encoding"); return this[_tryDecode](this.readAsBytesSync(), encoding); } readAsLines(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); - return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 580, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[125] || CT.C125, 'convert')); } readAsLinesSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); - return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 583, 42, "encoding"); + return (C[125] || CT.C125).convert(this.readAsStringSync({encoding: encoding})); } writeAsBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 586, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 587, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 587, 45, "flush"); return this.open({mode: mode}).then(io.File, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + if (file == null) dart.nullFailed(I[117], 588, 35, "file"); return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (_ == null) dart.nullFailed(I[117], 589, 65, "_"); if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); return this; }, T$0.RandomAccessFileTo_File())); return this; @@ -50311,11 +54120,11 @@ define([], (function load__dart_sdk() { }, T$0.RandomAccessFileToFutureOfFile())); } writeAsBytesSync(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 596, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 597, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 597, 45, "flush"); let opened = this.openSync({mode: mode}); try { opened.writeFromSync(bytes, 0, bytes[$length]); @@ -50325,13 +54134,13 @@ define([], (function load__dart_sdk() { } } writeAsString(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 607, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 608, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 609, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 610, 12, "flush"); try { return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); } catch (e$) { @@ -50343,40 +54152,40 @@ define([], (function load__dart_sdk() { } } writeAsStringSync(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 618, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 619, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 620, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 621, 12, "flush"); this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); } toString() { return "File: '" + dart.str(this.path) + "'"; } static throwIfError(result, msg, path) { - if (result == null) dart.nullFailed(I[114], 633, 30, "result"); - if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); - if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (result == null) dart.nullFailed(I[117], 627, 30, "result"); + if (msg == null) dart.nullFailed(I[117], 627, 45, "msg"); + if (path == null) dart.nullFailed(I[117], 627, 57, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + if (name == null) dart.nullFailed(I[117], 634, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._File.new = function(path) { - if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); this[_path$1] = io._File._checkNotNull(core.String, path, "path"); this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._File.prototype; (io._File.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -50388,8 +54197,8 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(io._File.__proto__), exists: dart.fnType(async.Future$(core.bool), []), existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + create: dart.fnType(async.Future$(io.File), [], {exclusive: core.bool, recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {exclusive: core.bool, recursive: core.bool}, {}), [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), rename: dart.fnType(async.Future$(io.File), [core.String]), @@ -50422,12 +54231,13 @@ define([], (function load__dart_sdk() { writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) })); + dart.setStaticMethodSignature(io._File, () => ['_namespacePointer', '_dispatchWithNamespace', '_exists', '_create', '_createLink', '_createPipe', '_linkTarget', '_deleteNative', '_deleteLinkNative', '_rename', '_renameLink', '_copy', '_lengthFromPath', '_lastAccessed', '_setLastAccessed', '_lastModified', '_setLastModified', '_open', '_openStdio', '_openStdioSync', 'throwIfError', '_checkNotNull']); dart.setGetterSignature(io._File, () => ({ __proto__: dart.getGetters(io._File.__proto__), path: core.String, absolute: io.File })); - dart.setLibraryUri(io._File, I[105]); + dart.setLibraryUri(io._File, I[108]); dart.setFieldSignature(io._File, () => ({ __proto__: dart.getFields(io._File.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -50436,15 +54246,20 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(io._File, ['toString']); io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); dart.throw(new core.UnsupportedError.new("RandomAccessFile")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); + return io._RandomAccessFileOps.new(pointer); + } }; (io._RandomAccessFileOps[dart.mixinNew] = function() { }).prototype = io._RandomAccessFileOps.prototype; dart.addTypeTests(io._RandomAccessFileOps); dart.addTypeCaches(io._RandomAccessFileOps); - dart.setLibraryUri(io._RandomAccessFileOps, I[105]); + dart.setStaticMethodSignature(io._RandomAccessFileOps, () => ['new']); + dart.setLibraryUri(io._RandomAccessFileOps, I[108]); var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); @@ -50455,14 +54270,19 @@ define([], (function load__dart_sdk() { var _checkAvailable = dart.privateName(io, "_checkAvailable"); var _fileLockValue = dart.privateName(io, "_fileLockValue"); io._RandomAccessFile = class _RandomAccessFile extends core.Object { + set [_resourceInfo](_resourceInfo$35param) { + if (_resourceInfo$35param == null) dart.nullFailed(I[117], 667, 26, "_resourceInfo#param"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = _resourceInfo$35param; + } get [_resourceInfo]() { - let t199; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + let t176; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); } - set [_resourceInfo](t199) { - if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); - this[___RandomAccessFile__resourceInfo_isSet] = true; - this[___RandomAccessFile__resourceInfo] = t199; + static ['_#new#tearOff'](pointer, path) { + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); + return new io._RandomAccessFile.new(pointer, path); } [_maybePerformCleanup]() { if (dart.test(this.closed)) { @@ -50471,8 +54291,8 @@ define([], (function load__dart_sdk() { } [_maybeConnectHandler]() { if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); - developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); + developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); io._RandomAccessFile._connectedResourceHandler = true; } } @@ -50483,7 +54303,7 @@ define([], (function load__dart_sdk() { } this.closed = dart.test(this.closed) || dart.equals(result, 0); this[_maybePerformCleanup](); - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } closeSync() { this[_checkAvailable](); @@ -50496,12 +54316,10 @@ define([], (function load__dart_sdk() { } readByte() { return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); - } + io._checkForErrorResponse(response, "readByte failed", this.path); this[_resourceInfo].addRead(1); - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + return core.int.as(response); + }, T$0.ObjectNToint())); } readByteSync() { this[_checkAvailable](); @@ -50513,31 +54331,29 @@ define([], (function load__dart_sdk() { return core.int.as(result); } read(bytes) { - if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 736, 30, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); - } - this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); - let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + io._checkForErrorResponse(response, "read failed", this.path); + let result = typed_data.Uint8List.as(T$.ListOfObjectN().as(response)[$_get](1)); + this[_resourceInfo].addRead(result[$length]); return result; - }, T$0.dynamicToUint8List())); + }, T$0.ObjectNToUint8List())); } readSync(bytes) { - if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 747, 26, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); this[_checkAvailable](); let result = this[_ops].read(bytes); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + if (!typed_data.Uint8List.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); } - this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); - return typed_data.Uint8List.as(result); + this[_resourceInfo].addRead(result[$length]); + return result; } readInto(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); - if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + if (buffer == null) dart.nullFailed(I[117], 759, 34, "buffer"); + if (start == null) dart.nullFailed(I[117], 759, 47, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); if (end == start) { @@ -50545,19 +54361,18 @@ define([], (function load__dart_sdk() { } let length = dart.notNull(end) - dart.notNull(start); return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); - } - let read = core.int.as(dart.dsend(response, '_get', [1])); - let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + io._checkForErrorResponse(response, "readInto failed", this.path); + let responseList = T$.ListOfObjectN().as(response); + let read = core.int.as(responseList[$_get](1)); + let data = T$0.ListOfint().as(responseList[$_get](2)); buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); this[_resourceInfo].addRead(read); return read; - }, T$0.dynamicToint())); + }, T$0.ObjectNToint())); } readIntoSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); - if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + if (buffer == null) dart.nullFailed(I[117], 778, 30, "buffer"); + if (start == null) dart.nullFailed(I[117], 778, 43, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); this[_checkAvailable](); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50572,18 +54387,16 @@ define([], (function load__dart_sdk() { return core.int.as(result); } writeByte(value) { - if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + if (value == null) dart.nullFailed(I[117], 794, 42, "value"); core.ArgumentError.checkNotNull(core.int, value, "value"); return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); - } + io._checkForErrorResponse(response, "writeByte failed", this.path); this[_resourceInfo].addWrite(1); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeByteSync(value) { - if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + if (value == null) dart.nullFailed(I[117], 804, 25, "value"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, value, "value"); let result = this[_ops].writeByte(value); @@ -50594,8 +54407,8 @@ define([], (function load__dart_sdk() { return core.int.as(result); } writeFrom(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); - if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + if (buffer == null) dart.nullFailed(I[117], 816, 48, "buffer"); + if (start == null) dart.nullFailed(I[117], 817, 12, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50618,16 +54431,14 @@ define([], (function load__dart_sdk() { request[$_set](2, result.start); request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); - } + io._checkForErrorResponse(response, "writeFrom failed", this.path); this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeFromSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); - if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + if (buffer == null) dart.nullFailed(I[117], 844, 32, "buffer"); + if (start == null) dart.nullFailed(I[117], 844, 45, "start"); this[_checkAvailable](); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50643,28 +54454,26 @@ define([], (function load__dart_sdk() { this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); } writeString(string, opts) { - if (string == null) dart.nullFailed(I[114], 875, 47, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + if (string == null) dart.nullFailed(I[117], 863, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 864, 17, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); return this.writeFrom(data, 0, data[$length]); } writeStringSync(string, opts) { - if (string == null) dart.nullFailed(I[114], 883, 31, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + if (string == null) dart.nullFailed(I[117], 871, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 871, 49, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); this.writeFromSync(data, 0, data[$length]); } position() { return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "position failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } positionSync() { this[_checkAvailable](); @@ -50675,16 +54484,14 @@ define([], (function load__dart_sdk() { return core.int.as(result); } setPosition(position) { - if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + if (position == null) dart.nullFailed(I[117], 894, 44, "position"); return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); - } + io._checkForErrorResponse(response, "setPosition failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } setPositionSync(position) { - if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + if (position == null) dart.nullFailed(I[117], 902, 28, "position"); this[_checkAvailable](); let result = this[_ops].setPosition(position); if (io.OSError.is(result)) { @@ -50692,16 +54499,14 @@ define([], (function load__dart_sdk() { } } truncate(length) { - if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + if (length == null) dart.nullFailed(I[117], 910, 41, "length"); return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); - } + io._checkForErrorResponse(response, "truncate failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } truncateSync(length) { - if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + if (length == null) dart.nullFailed(I[117], 917, 25, "length"); this[_checkAvailable](); let result = this[_ops].truncate(length); if (io.OSError.is(result)) { @@ -50710,11 +54515,9 @@ define([], (function load__dart_sdk() { } length() { return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "length failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } lengthSync() { this[_checkAvailable](); @@ -50726,11 +54529,9 @@ define([], (function load__dart_sdk() { } flush() { return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); - } + io._checkForErrorResponse(response, "flush failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } flushSync() { this[_checkAvailable](); @@ -50740,13 +54541,13 @@ define([], (function load__dart_sdk() { } } [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); return fl[_type]; } - lock(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 987, 48, "start"); - if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + lock(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 965, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 965, 48, "start"); + if (end == null) dart.nullFailed(I[117], 965, 63, "end"); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50755,31 +54556,27 @@ define([], (function load__dart_sdk() { } let lock = this[_fileLockValue](mode); return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); - } + io._checkForErrorResponse(response, "lock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } unlock(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); - if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + if (start == null) dart.nullFailed(I[117], 981, 40, "start"); + if (end == null) dart.nullFailed(I[117], 981, 55, "end"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (start == end) { dart.throw(new core.ArgumentError.new()); } return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); - } + io._checkForErrorResponse(response, "unlock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } - lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); - if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + lockSync(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 996, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 996, 48, "start"); + if (end == null) dart.nullFailed(I[117], 996, 63, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50794,8 +54591,8 @@ define([], (function load__dart_sdk() { } } unlockSync(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); - if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + if (start == null) dart.nullFailed(I[117], 1012, 24, "start"); + if (end == null) dart.nullFailed(I[117], 1012, 39, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50807,20 +54604,23 @@ define([], (function load__dart_sdk() { dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); } } + get fd() { + return this[_ops].fd; + } [_pointer]() { return this[_ops].getPointer(); } [_dispatch](request, data, opts) { - if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); - if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + if (request == null) dart.nullFailed(I[117], 1037, 33, "request"); + if (data == null) dart.nullFailed(I[117], 1037, 47, "data"); let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; - if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (markClosed == null) dart.nullFailed(I[117], 1037, 59, "markClosed"); if (dart.test(this.closed)) { - return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new("File closed", this.path)); } if (dart.test(this[_asyncDispatched])) { let msg = "An async operation is currently pending"; - return async.Future.error(new io.FileSystemException.new(msg, this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); } if (dart.test(markClosed)) { this.closed = true; @@ -50841,8 +54641,8 @@ define([], (function load__dart_sdk() { } }; (io._RandomAccessFile.new = function(pointer, path) { - if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); - if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); this[_asyncDispatched] = false; this[___RandomAccessFile__resourceInfo] = null; this[___RandomAccessFile__resourceInfo_isSet] = false; @@ -50889,18 +54689,19 @@ define([], (function load__dart_sdk() { lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), [_pointer]: dart.fnType(core.int, []), - [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_dispatch]: dart.fnType(async.Future$(dart.nullable(core.Object)), [core.int, core.List], {markClosed: core.bool}, {}), [_checkAvailable]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getGetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo + [_resourceInfo]: io._FileResourceInfo, + fd: core.int })); dart.setSetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getSetters(io._RandomAccessFile.__proto__), [_resourceInfo]: io._FileResourceInfo })); - dart.setLibraryUri(io._RandomAccessFile, I[105]); + dart.setLibraryUri(io._RandomAccessFile, I[108]); dart.setFieldSignature(io._RandomAccessFile, () => ({ __proto__: dart.getFields(io._RandomAccessFile.__proto__), path: dart.finalFieldType(core.String), @@ -50910,15 +54711,353 @@ define([], (function load__dart_sdk() { [_ops]: dart.fieldType(io._RandomAccessFileOps), closed: dart.fieldType(core.bool) })); + dart.setStaticFieldSignature(io._RandomAccessFile, () => ['_connectedResourceHandler', 'lockUnlock']); dart.defineLazy(io._RandomAccessFile, { /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { return false; }, - set _connectedResourceHandler(_) {}, + set _connectedResourceHandler(value) { + if (value == null) dart.nullFailed(I[117], 661, 15, "_connectedResourceHandler"); + }, /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { return 0; } }, false); + io._ReadPipe = class _ReadPipe extends io._FileStream { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + return new io._ReadPipe.new(file); + } + }; + (io._ReadPipe.new = function(file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + io._ReadPipe.__proto__.forRandomAccessFile.call(this, file); + ; + }).prototype = io._ReadPipe.prototype; + dart.addTypeTests(io._ReadPipe); + dart.addTypeCaches(io._ReadPipe); + io._ReadPipe[dart.implements] = () => [io.ReadPipe]; + dart.setLibraryUri(io._ReadPipe, I[108]); + var _encodingMutable = dart.privateName(io, "_encodingMutable"); + var _encoding$ = dart.privateName(io, "_encoding"); + var _doneCompleter = dart.privateName(io, "_doneCompleter"); + var _controllerInstance = dart.privateName(io, "_controllerInstance"); + var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); + var _isClosed$ = dart.privateName(io, "_isClosed"); + var _isBound = dart.privateName(io, "_isBound"); + var _hasError$ = dart.privateName(io, "_hasError"); + var _target$0 = dart.privateName(io, "_target"); + var _closeTarget = dart.privateName(io, "_closeTarget"); + var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); + var _completeDoneError = dart.privateName(io, "_completeDoneError"); + const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); + io._StreamSinkImpl$ = dart.generic(T => { + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + return new (io._StreamSinkImpl$(T)).new(_target); + } + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[118], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t177; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[118], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t177 = this[_controllerInstance]; + t177 == null ? null : t177.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = __t$StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[108]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; + }); + io._StreamSinkImpl = io._StreamSinkImpl$(); + dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); + io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + static ['_#new#tearOff'](target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + return new io._IOSinkImpl.new(target, _encoding); + } + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[118], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[118], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[118], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[118], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } + }; + (io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; + }).prototype = io._IOSinkImpl.prototype; + dart.addTypeTests(io._IOSinkImpl); + dart.addTypeCaches(io._IOSinkImpl); + io._IOSinkImpl[dart.implements] = () => [io.IOSink]; + dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding + })); + dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding + })); + dart.setLibraryUri(io._IOSinkImpl, I[108]); + dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) + })); + io._WritePipe = class _WritePipe extends io._IOSinkImpl { + static ['_#new#tearOff'](file) { + return new io._WritePipe.new(file); + } + }; + (io._WritePipe.new = function(file) { + this[_file] = io.RandomAccessFile.as(file); + io._WritePipe.__proto__.new.call(this, new io._FileStreamConsumer.fromRandomAccessFile(io.RandomAccessFile.as(file)), convert.utf8); + ; + }).prototype = io._WritePipe.prototype; + dart.addTypeTests(io._WritePipe); + dart.addTypeCaches(io._WritePipe); + io._WritePipe[dart.implements] = () => [io.WritePipe]; + dart.setLibraryUri(io._WritePipe, I[108]); + dart.setFieldSignature(io._WritePipe, () => ({ + __proto__: dart.getFields(io._WritePipe.__proto__), + [_file]: dart.fieldType(io.RandomAccessFile) + })); + var _readPipe$ = dart.privateName(io, "_readPipe"); + var _writePipe$ = dart.privateName(io, "_writePipe"); + io._Pipe = class _Pipe extends core.Object { + get read() { + return this[_readPipe$]; + } + get write() { + return this[_writePipe$]; + } + static ['_#new#tearOff'](_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + return new io._Pipe.new(_readPipe, _writePipe); + } + static create() { + let completer = T$0.CompleterOf_Pipe().sync(); + io._File._dispatchWithNamespace(31, [null]).then(core.Null, dart.fn(response => { + let filePointers = core.List.as(response)[$cast](core.int); + completer.complete(new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(filePointers[$_get](0), "")), new io._WritePipe.new(new io._RandomAccessFile.new(filePointers[$_get](1), "")))); + }, T$0.ObjectNToNull())); + return completer.future; + } + static createSync() { + let filePointers = io._File._createPipe(io._Namespace._namespace); + return new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](0)), "")), new io._WritePipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](1)), ""))); + } + static ['_#createSync#tearOff']() { + return io._Pipe.createSync(); + } + }; + (io._Pipe.new = function(_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + this[_readPipe$] = _readPipe; + this[_writePipe$] = _writePipe; + ; + }).prototype = io._Pipe.prototype; + dart.addTypeTests(io._Pipe); + dart.addTypeCaches(io._Pipe); + io._Pipe[dart.implements] = () => [io.Pipe]; + dart.setStaticMethodSignature(io._Pipe, () => ['create', 'createSync']); + dart.setGetterSignature(io._Pipe, () => ({ + __proto__: dart.getGetters(io._Pipe.__proto__), + read: io.ReadPipe, + write: io.WritePipe + })); + dart.setLibraryUri(io._Pipe, I[108]); + dart.setFieldSignature(io._Pipe, () => ({ + __proto__: dart.getFields(io._Pipe.__proto__), + [_readPipe$]: dart.finalFieldType(io.ReadPipe), + [_writePipe$]: dart.finalFieldType(io.WritePipe) + })); var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); io.FileSystemEntityType = class FileSystemEntityType extends core.Object { get [_type]() { @@ -50927,54 +55066,57 @@ define([], (function load__dart_sdk() { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); + return new io.FileSystemEntityType._internal(_type); + } static _lookup(type) { - if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + if (type == null) dart.nullFailed(I[114], 39, 43, "type"); return io.FileSystemEntityType._typeList[$_get](type); } toString() { - return (C[121] || CT.C121)[$_get](this[_type]); + return (C[128] || CT.C128)[$_get](this[_type]); } }; (io.FileSystemEntityType._internal = function(_type) { - if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); this[_type$2] = _type; ; }).prototype = io.FileSystemEntityType.prototype; dart.addTypeTests(io.FileSystemEntityType); dart.addTypeCaches(io.FileSystemEntityType); - dart.setLibraryUri(io.FileSystemEntityType, I[105]); + dart.setStaticMethodSignature(io.FileSystemEntityType, () => ['_lookup']); + dart.setLibraryUri(io.FileSystemEntityType, I[108]); dart.setFieldSignature(io.FileSystemEntityType, () => ({ __proto__: dart.getFields(io.FileSystemEntityType.__proto__), [_type]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.FileSystemEntityType, () => ['file', 'directory', 'link', 'unixDomainSock', 'pipe', 'notFound', 'NOT_FOUND', '_typeList']); dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); dart.defineLazy(io.FileSystemEntityType, { /*io.FileSystemEntityType.file*/get file() { - return C[122] || CT.C122; - }, - /*io.FileSystemEntityType.FILE*/get FILE() { - return C[122] || CT.C122; + return C[129] || CT.C129; }, /*io.FileSystemEntityType.directory*/get directory() { - return C[123] || CT.C123; - }, - /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { - return C[123] || CT.C123; + return C[130] || CT.C130; }, /*io.FileSystemEntityType.link*/get link() { - return C[124] || CT.C124; + return C[131] || CT.C131; }, - /*io.FileSystemEntityType.LINK*/get LINK() { - return C[124] || CT.C124; + /*io.FileSystemEntityType.unixDomainSock*/get unixDomainSock() { + return C[132] || CT.C132; + }, + /*io.FileSystemEntityType.pipe*/get pipe() { + return C[133] || CT.C133; }, /*io.FileSystemEntityType.notFound*/get notFound() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[126] || CT.C126; + return C[135] || CT.C135; } }, false); var changed$ = dart.privateName(io, "FileStat.changed"); @@ -51020,13 +55162,22 @@ define([], (function load__dart_sdk() { set size(value) { super.size = value; } + static ['_#_internal#tearOff'](changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); + return new io.FileStat._internal(changed, modified, accessed, type, mode, size); + } static _statSync(namespace, path) { - if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); - if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + if (namespace == null) dart.nullFailed(I[110], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[110], 84, 49, "path"); dart.throw(new core.UnsupportedError.new("FileStat.stat")); } static statSync(path) { - if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + if (path == null) dart.nullFailed(I[114], 109, 35, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._statSyncInternal(path); @@ -51034,16 +55185,16 @@ define([], (function load__dart_sdk() { return overrides.statSync(path); } static _statSyncInternal(path) { - if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (path == null) dart.nullFailed(I[114], 117, 44, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } let data = io.FileStat._statSync(io._Namespace._namespace, path); - if (io.OSError.is(data)) return io.FileStat._notFound; - return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + if (!typed_data.Int64List.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](1)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](2)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](3)), io.FileSystemEntityType._lookup(data[$_get](0)), data[$_get](4), data[$_get](5)); } static stat(path) { - if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + if (path == null) dart.nullFailed(I[114], 140, 39, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._stat(path); @@ -51051,46 +55202,46 @@ define([], (function load__dart_sdk() { return overrides.stat(path); } static _stat(path) { - if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (path == null) dart.nullFailed(I[114], 148, 40, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { return io.FileStat._notFound; } - let data = core.List.as(dart.dsend(response, '_get', [1])); + let data = T$.ListOfObjectN().as(core.List.as(response)[$_get](1)); return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); - }, T$0.dynamicToFileStat())); + }, T$0.ObjectNToFileStat())); } toString() { return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); } modeString() { - let t201; + let t177; let permissions = dart.notNull(this.mode) & 4095; - let codes = C[127] || CT.C127; + let codes = C[136] || CT.C136; let result = []; if ((permissions & 2048) !== 0) result[$add]("(suid) "); if ((permissions & 1024) !== 0) result[$add]("(guid) "); if ((permissions & 512) !== 0) result[$add]("(sticky) "); - t201 = result; + t177 = result; (() => { - t201[$add](codes[$_get](permissions >> 6 & 7)); - t201[$add](codes[$_get](permissions >> 3 & 7)); - t201[$add](codes[$_get](permissions & 7)); - return t201; + t177[$add](codes[$_get](permissions >> 6 & 7)); + t177[$add](codes[$_get](permissions >> 3 & 7)); + t177[$add](codes[$_get](permissions & 7)); + return t177; })(); return result[$join](); } }; (io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { - if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); - if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); - if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); - if (type == null) dart.nullFailed(I[111], 89, 71, "type"); - if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); - if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); this[changed$] = changed; this[modified$] = modified; this[accessed$] = accessed; @@ -51105,7 +55256,8 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(io.FileStat.__proto__), modeString: dart.fnType(core.String, []) })); - dart.setLibraryUri(io.FileStat, I[105]); + dart.setStaticMethodSignature(io.FileStat, () => ['_statSync', 'statSync', '_statSyncInternal', 'stat', '_stat']); + dart.setLibraryUri(io.FileStat, I[108]); dart.setFieldSignature(io.FileStat, () => ({ __proto__: dart.getFields(io.FileStat.__proto__), changed: dart.finalFieldType(core.DateTime), @@ -51115,6 +55267,7 @@ define([], (function load__dart_sdk() { mode: dart.finalFieldType(core.int), size: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.FileStat, () => ['_type', '_changedTime', '_modifiedTime', '_accessedTime', '_mode', '_size', '_epoch', '_notFound']); dart.defineExtensionMethods(io.FileStat, ['toString']); dart.defineLazy(io.FileStat, { /*io.FileStat._type*/get _type() { @@ -51164,11 +55317,17 @@ define([], (function load__dart_sdk() { set isDirectory(value) { super.isDirectory = value; } + static ['_#_#tearOff'](type, path, isDirectory) { + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); + return new io.FileSystemEvent.__(type, path, isDirectory); + } }; (io.FileSystemEvent.__ = function(type, path, isDirectory) { - if (type == null) dart.nullFailed(I[111], 905, 26, "type"); - if (path == null) dart.nullFailed(I[111], 905, 37, "path"); - if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); this[type$2] = type; this[path$0] = path; this[isDirectory$] = isDirectory; @@ -51176,44 +55335,30 @@ define([], (function load__dart_sdk() { }).prototype = io.FileSystemEvent.prototype; dart.addTypeTests(io.FileSystemEvent); dart.addTypeCaches(io.FileSystemEvent); - dart.setLibraryUri(io.FileSystemEvent, I[105]); + dart.setLibraryUri(io.FileSystemEvent, I[108]); dart.setFieldSignature(io.FileSystemEvent, () => ({ __proto__: dart.getFields(io.FileSystemEvent.__proto__), type: dart.finalFieldType(core.int), path: dart.finalFieldType(core.String), isDirectory: dart.finalFieldType(core.bool) })); + dart.setStaticFieldSignature(io.FileSystemEvent, () => ['create', 'modify', 'delete', 'move', 'all', '_modifyAttributes', '_deleteSelf', '_isDir']); dart.defineLazy(io.FileSystemEvent, { /*io.FileSystemEvent.create*/get create() { return 1; }, - /*io.FileSystemEvent.CREATE*/get CREATE() { - return 1; - }, /*io.FileSystemEvent.modify*/get modify() { return 2; }, - /*io.FileSystemEvent.MODIFY*/get MODIFY() { - return 2; - }, /*io.FileSystemEvent.delete*/get delete() { return 4; }, - /*io.FileSystemEvent.DELETE*/get DELETE() { - return 4; - }, /*io.FileSystemEvent.move*/get move() { return 8; }, - /*io.FileSystemEvent.MOVE*/get MOVE() { - return 8; - }, /*io.FileSystemEvent.all*/get all() { return 15; }, - /*io.FileSystemEvent.ALL*/get ALL() { - return 15; - }, /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { return 16; }, @@ -51225,6 +55370,9 @@ define([], (function load__dart_sdk() { } }, false); io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemCreateEvent.__(path, isDirectory); + } toString() { return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; } @@ -51235,7 +55383,7 @@ define([], (function load__dart_sdk() { }).prototype = io.FileSystemCreateEvent.prototype; dart.addTypeTests(io.FileSystemCreateEvent); dart.addTypeCaches(io.FileSystemCreateEvent); - dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); + dart.setLibraryUri(io.FileSystemCreateEvent, I[108]); dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { @@ -51245,25 +55393,32 @@ define([], (function load__dart_sdk() { set contentChanged(value) { super.contentChanged = value; } + static ['_#_#tearOff'](path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); + return new io.FileSystemModifyEvent.__(path, isDirectory, contentChanged); + } toString() { return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; } }; (io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { - if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); this[contentChanged$] = contentChanged; io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); ; }).prototype = io.FileSystemModifyEvent.prototype; dart.addTypeTests(io.FileSystemModifyEvent); dart.addTypeCaches(io.FileSystemModifyEvent); - dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); + dart.setLibraryUri(io.FileSystemModifyEvent, I[108]); dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), contentChanged: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemDeleteEvent.__(path, isDirectory); + } toString() { return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; } @@ -51274,7 +55429,7 @@ define([], (function load__dart_sdk() { }).prototype = io.FileSystemDeleteEvent.prototype; dart.addTypeTests(io.FileSystemDeleteEvent); dart.addTypeCaches(io.FileSystemDeleteEvent); - dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); + dart.setLibraryUri(io.FileSystemDeleteEvent, I[108]); dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { @@ -51284,6 +55439,9 @@ define([], (function load__dart_sdk() { set destination(value) { super.destination = value; } + static ['_#_#tearOff'](path, isDirectory, destination) { + return new io.FileSystemMoveEvent.__(path, isDirectory, destination); + } toString() { let buffer = new core.StringBuffer.new(); buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); @@ -51299,7 +55457,7 @@ define([], (function load__dart_sdk() { }).prototype = io.FileSystemMoveEvent.prototype; dart.addTypeTests(io.FileSystemMoveEvent); dart.addTypeCaches(io.FileSystemMoveEvent); - dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); + dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), destination: dart.finalFieldType(dart.nullable(core.String)) @@ -51307,9 +55465,9 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { static _watch(path, events, recursive) { - if (path == null) dart.nullFailed(I[107], 691, 14, "path"); - if (events == null) dart.nullFailed(I[107], 691, 24, "events"); - if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + if (path == null) dart.nullFailed(I[110], 753, 14, "path"); + if (events == null) dart.nullFailed(I[110], 753, 24, "events"); + if (recursive == null) dart.nullFailed(I[110], 753, 37, "recursive"); dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); } static get isSupported() { @@ -51321,7 +55479,9 @@ define([], (function load__dart_sdk() { }).prototype = io._FileSystemWatcher.prototype; dart.addTypeTests(io._FileSystemWatcher); dart.addTypeCaches(io._FileSystemWatcher); - dart.setLibraryUri(io._FileSystemWatcher, I[105]); + dart.setStaticMethodSignature(io._FileSystemWatcher, () => ['_watch']); + dart.setStaticGetterSignature(io._FileSystemWatcher, () => ['isSupported']); + dart.setLibraryUri(io._FileSystemWatcher, I[108]); io._IOResourceInfo = class _IOResourceInfo extends core.Object { static get timestamp() { return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); @@ -51330,40 +55490,45 @@ define([], (function load__dart_sdk() { return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); } static getNextID() { - let t201; - t201 = io._IOResourceInfo._count; - io._IOResourceInfo._count = dart.notNull(t201) + 1; - return t201; + let t177; + t177 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t177) + 1; + return t177; } }; (io._IOResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + if (type == null) dart.nullFailed(I[119], 18, 24, "type"); this.type = type; this.id = io._IOResourceInfo.getNextID(); ; }).prototype = io._IOResourceInfo.prototype; dart.addTypeTests(io._IOResourceInfo); dart.addTypeCaches(io._IOResourceInfo); + dart.setStaticMethodSignature(io._IOResourceInfo, () => ['getNextID']); dart.setGetterSignature(io._IOResourceInfo, () => ({ __proto__: dart.getGetters(io._IOResourceInfo.__proto__), referenceValueMap: core.Map$(core.String, dart.dynamic) })); - dart.setLibraryUri(io._IOResourceInfo, I[105]); + dart.setStaticGetterSignature(io._IOResourceInfo, () => ['timestamp']); + dart.setLibraryUri(io._IOResourceInfo, I[108]); dart.setFieldSignature(io._IOResourceInfo, () => ({ __proto__: dart.getFields(io._IOResourceInfo.__proto__), type: dart.finalFieldType(core.String), id: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io._IOResourceInfo, () => ['_count', '_sw', '_startTime']); dart.defineLazy(io._IOResourceInfo, { /*io._IOResourceInfo._count*/get _count() { return 0; }, - set _count(_) {}, + set _count(value) { + if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); + }, /*io._IOResourceInfo._sw*/get _sw() { - let t201; - return t201 = new core.Stopwatch.new(), (() => { - t201.start(); - return t201; + let t177; + return t177 = new core.Stopwatch.new(), (() => { + t177.start(); + return t177; })(); }, /*io._IOResourceInfo._startTime*/get _startTime() { @@ -51372,7 +55537,7 @@ define([], (function load__dart_sdk() { }, false); io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { addRead(bytes) { - if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 47, 20, "bytes"); this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); this.readCount = dart.notNull(this.readCount) + 1; this.lastReadTime = io._IOResourceInfo.timestamp; @@ -51381,7 +55546,7 @@ define([], (function load__dart_sdk() { this.addRead(0); } addWrite(bytes) { - if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 60, 21, "bytes"); this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); this.writeCount = dart.notNull(this.writeCount) + 1; this.lastWriteTime = io._IOResourceInfo.timestamp; @@ -51391,7 +55556,7 @@ define([], (function load__dart_sdk() { } }; (io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + if (type == null) dart.nullFailed(I[119], 66, 33, "type"); this.readBytes = 0; this.writeBytes = 0; this.readCount = 0; @@ -51413,7 +55578,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), fullValueMap: core.Map$(core.String, dart.dynamic) })); - dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); + dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), readBytes: dart.fieldType(core.int), @@ -51424,24 +55589,30 @@ define([], (function load__dart_sdk() { lastWriteTime: dart.fieldType(core.int) })); io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); + return new io._FileResourceInfo.new(file); + } static fileOpened(info) { - if (info == null) dart.nullFailed(I[115], 99, 39, "info"); - if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 100, 12, "!openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$_set](info.id, info); } static fileClosed(info) { - if (info == null) dart.nullFailed(I[115], 104, 39, "info"); - if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 105, 12, "openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$remove](info.id); } static getOpenFilesList() { return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + if (e == null) dart.nullFailed(I[119], 111, 8, "e"); return e.referenceValueMap; }, T$0._FileResourceInfoToMapOfString$dynamic()))); } static getOpenFiles($function, params) { - if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + if ($function == null) dart.nullFailed(I[119], 116, 14, "function"); + if (params == null) dart.nullFailed(I[119], 116, 44, "params"); + if (!($function === "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[119], 117, 12, "function == 'ext.dart.io.getOpenFiles'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); @@ -51450,32 +55621,37 @@ define([], (function load__dart_sdk() { return this.fullValueMap; } static getOpenFileInfoMapByID($function, params) { - let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + if ($function == null) dart.nullFailed(I[119], 129, 14, "function"); + if (params == null) dart.nullFailed(I[119], 129, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } get name() { - return core.String.as(dart.dload(this.file, 'path')); + return this.file.path; } }; (io._FileResourceInfo.new = function(file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); this.file = file; io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); io._FileResourceInfo.fileOpened(this); }).prototype = io._FileResourceInfo.prototype; dart.addTypeTests(io._FileResourceInfo); dart.addTypeCaches(io._FileResourceInfo); + dart.setStaticMethodSignature(io._FileResourceInfo, () => ['fileOpened', 'fileClosed', 'getOpenFilesList', 'getOpenFiles', 'getOpenFileInfoMapByID']); dart.setGetterSignature(io._FileResourceInfo, () => ({ __proto__: dart.getGetters(io._FileResourceInfo.__proto__), fileInfoMap: core.Map$(core.String, dart.dynamic), name: core.String })); - dart.setLibraryUri(io._FileResourceInfo, I[105]); + dart.setLibraryUri(io._FileResourceInfo, I[108]); dart.setFieldSignature(io._FileResourceInfo, () => ({ __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(dart.dynamic) + file: dart.finalFieldType(io.RandomAccessFile) })); + dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); dart.defineLazy(io._FileResourceInfo, { /*io._FileResourceInfo._type*/get _type() { return "OpenFile"; @@ -51483,47 +55659,61 @@ define([], (function load__dart_sdk() { /*io._FileResourceInfo.openFiles*/get openFiles() { return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); }, - set openFiles(_) {} + set openFiles(value) { + if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); + } }, false); - var _arguments$2 = dart.privateName(io, "_arguments"); + io._Process = class _Process extends core.Object {}; + (io._Process.new = function() { + ; + }).prototype = io._Process.prototype; + dart.addTypeTests(io._Process); + dart.addTypeCaches(io._Process); + io._Process[dart.implements] = () => [io.Process]; + dart.setLibraryUri(io._Process, I[108]); + var _arguments$1 = dart.privateName(io, "_arguments"); var _workingDirectory = dart.privateName(io, "_workingDirectory"); io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + static ['_#new#tearOff'](process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); + return new io._SpawnedProcessResourceInfo.new(process); + } get name() { - return core.String.as(dart.dload(this.process, _path$0)); + return this.process[_path$0]; } stopped() { return io._SpawnedProcessResourceInfo.processStopped(this); } get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", this.process.pid, "startedAt", this.startedAt, "arguments", this.process[_arguments$1], "workingDirectory", this.process[_workingDirectory] == null ? "." : this.process[_workingDirectory]]); } static processStarted(info) { - if (info == null) dart.nullFailed(I[115], 167, 53, "info"); - if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 174, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 175, 12, "!startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); } static processStopped(info) { - if (info == null) dart.nullFailed(I[115], 172, 53, "info"); - if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 179, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 180, 12, "startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); } static getStartedProcessesList() { return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + if (e == null) dart.nullFailed(I[119], 186, 10, "e"); return e.referenceValueMap; }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); } static getStartedProcesses($function, params) { - if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); - if (params == null) dart.nullFailed(I[115], 183, 44, "params"); - if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + if ($function == null) dart.nullFailed(I[119], 190, 14, "function"); + if (params == null) dart.nullFailed(I[119], 190, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[119], 191, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } static getProcessInfoMapById($function, params) { - if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); - if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + if ($function == null) dart.nullFailed(I[119], 201, 14, "function"); + if (params == null) dart.nullFailed(I[119], 201, 44, "params"); let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); @@ -51531,6 +55721,7 @@ define([], (function load__dart_sdk() { } }; (io._SpawnedProcessResourceInfo.new = function(process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); this.process = process; this.startedAt = io._IOResourceInfo.timestamp; io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); @@ -51542,17 +55733,19 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), stopped: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(io._SpawnedProcessResourceInfo, () => ['processStarted', 'processStopped', 'getStartedProcessesList', 'getStartedProcesses', 'getProcessInfoMapById']); dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), name: core.String, fullValueMap: core.Map$(core.String, dart.dynamic) })); - dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); + dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[108]); dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - process: dart.finalFieldType(dart.dynamic), + process: dart.finalFieldType(io._Process), startedAt: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io._SpawnedProcessResourceInfo, () => ['_type', 'startedProcesses']); dart.defineLazy(io._SpawnedProcessResourceInfo, { /*io._SpawnedProcessResourceInfo._type*/get _type() { return "SpawnedProcess"; @@ -51560,25 +55753,33 @@ define([], (function load__dart_sdk() { /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); }, - set startedProcesses(_) {} + set startedProcesses(value) { + if (value == null) dart.nullFailed(I[119], 150, 48, "startedProcesses"); + } }, false); var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); io.IOSink = class IOSink extends core.Object { static new(target, opts) { - if (target == null) dart.nullFailed(I[116], 23, 44, "target"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); return new io._IOSinkImpl.new(target, encoding); } + static ['_#new#tearOff'](target, opts) { + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); + return io.IOSink.new(target, {encoding: encoding}); + } get encoding() { - let t201; - return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + let t177; + return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); } - set encoding(t201) { - if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + set encoding(encoding$35param) { + if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = t201; + this[__IOSink_encoding] = encoding$35param; } }; (io.IOSink[dart.mixinNew] = function() { @@ -51588,6 +55789,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.IOSink); dart.addTypeCaches(io.IOSink); io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; + dart.setStaticMethodSignature(io.IOSink, () => ['new']); dart.setGetterSignature(io.IOSink, () => ({ __proto__: dart.getGetters(io.IOSink.__proto__), encoding: convert.Encoding @@ -51596,266 +55798,30 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(io.IOSink.__proto__), encoding: convert.Encoding })); - dart.setLibraryUri(io.IOSink, I[105]); + dart.setLibraryUri(io.IOSink, I[108]); dart.setFieldSignature(io.IOSink, () => ({ __proto__: dart.getFields(io.IOSink.__proto__), [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), [__IOSink_encoding_isSet]: dart.fieldType(core.bool) })); - var _doneCompleter = dart.privateName(io, "_doneCompleter"); - var _controllerInstance = dart.privateName(io, "_controllerInstance"); - var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); - var _isClosed$ = dart.privateName(io, "_isClosed"); - var _isBound = dart.privateName(io, "_isBound"); - var _hasError$ = dart.privateName(io, "_hasError"); - var _target$0 = dart.privateName(io, "_target"); - var _closeTarget = dart.privateName(io, "_closeTarget"); - var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); - var _completeDoneError = dart.privateName(io, "_completeDoneError"); - const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); - io._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - class _StreamSinkImpl extends core.Object { - add(data) { - T.as(data); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[116], 139, 17, "error"); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].addError(error, stackTrace); - } - addStream(stream) { - let t202; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); - } - if (dart.test(this[_hasError$])) return this.done; - this[_isBound] = true; - let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); - t202 = this[_controllerInstance]; - t202 == null ? null : t202.close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - flush() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (this[_controllerInstance] == null) return async.Future.value(this); - this[_isBound] = true; - let future = dart.nullCheck(this[_controllerCompleter]).future; - dart.nullCheck(this[_controllerInstance]).close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - close() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (!dart.test(this[_isClosed$])) { - this[_isClosed$] = true; - if (this[_controllerInstance] != null) { - dart.nullCheck(this[_controllerInstance]).close(); - } else { - this[_closeTarget](); - } - } - return this.done; - } - [_closeTarget]() { - this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); - } - get done() { - return this[_doneCompleter].future; - } - [_completeDoneValue](value) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_doneCompleter].complete(value); - } - } - [_completeDoneError](error, stackTrace) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_hasError$] = true; - this[_doneCompleter].completeError(core.Object.as(error), stackTrace); - } - } - get [_controller]() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - if (this[_controllerInstance] == null) { - this[_controllerInstance] = StreamControllerOfT().new({sync: true}); - this[_controllerCompleter] = async.Completer.new(); - this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).complete(this); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_closeTarget](); - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull())}); - } - return dart.nullCheck(this[_controllerInstance]); - } - } - (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); - this[_doneCompleter] = async.Completer.new(); - this[_controllerInstance] = null; - this[_controllerCompleter] = null; - this[_isClosed$] = false; - this[_isBound] = false; - this[_hasError$] = false; - this[_target$0] = _target; - ; - }).prototype = _StreamSinkImpl.prototype; - dart.addTypeTests(_StreamSinkImpl); - _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; - dart.addTypeCaches(_StreamSinkImpl); - _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getMethods(_StreamSinkImpl.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - [_closeTarget]: dart.fnType(dart.void, []), - [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), - [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[105]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter]: dart.finalFieldType(async.Completer), - [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$]: dart.fieldType(core.bool), - [_isBound]: dart.fieldType(core.bool), - [_hasError$]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; - }); - io._StreamSinkImpl = io._StreamSinkImpl$(); - dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); - var _encodingMutable = dart.privateName(io, "_encodingMutable"); - var _encoding$ = dart.privateName(io, "_encoding"); - io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { - get encoding() { - return this[_encoding$]; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[116], 259, 30, "value"); - if (!dart.test(this[_encodingMutable])) { - dart.throw(new core.StateError.new("IOSink encoding is not mutable")); - } - this[_encoding$] = value; - } - write(obj) { - let string = dart.str(obj); - if (string[$isEmpty]) return; - this.add(this[_encoding$].encode(string)); - } - writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); - if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); - let iterator = objects[$iterator]; - if (!dart.test(iterator.moveNext())) return; - if (separator[$isEmpty]) { - do { - this.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - this.write(iterator.current); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this.write(iterator.current); - } - } - } - writeln(object = "") { - this.write(object); - this.write("\n"); - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } - }; - (io._IOSinkImpl.new = function(target, _encoding) { - if (target == null) dart.nullFailed(I[116], 255, 41, "target"); - if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); - this[_encodingMutable] = true; - this[_encoding$] = _encoding; - io._IOSinkImpl.__proto__.new.call(this, target); - ; - }).prototype = io._IOSinkImpl.prototype; - dart.addTypeTests(io._IOSinkImpl); - dart.addTypeCaches(io._IOSinkImpl); - io._IOSinkImpl[dart.implements] = () => [io.IOSink]; - dart.setMethodSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getMethods(io._IOSinkImpl.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]) - })); - dart.setGetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getGetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding - })); - dart.setSetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getSetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding - })); - dart.setLibraryUri(io._IOSinkImpl, I[105]); - dart.setFieldSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getFields(io._IOSinkImpl.__proto__), - [_encoding$]: dart.fieldType(convert.Encoding), - [_encodingMutable]: dart.fieldType(core.bool) - })); io._IOService = class _IOService extends core.Object { static _dispatch(request, data) { - if (request == null) dart.nullFailed(I[107], 704, 31, "request"); - if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + if (request == null) dart.nullFailed(I[110], 766, 40, "request"); + if (data == null) dart.nullFailed(I[110], 766, 54, "data"); dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); } + static ['_#new#tearOff']() { + return new io._IOService.new(); + } }; (io._IOService.new = function() { ; }).prototype = io._IOService.prototype; dart.addTypeTests(io._IOService); dart.addTypeCaches(io._IOService); - dart.setLibraryUri(io._IOService, I[105]); + dart.setStaticMethodSignature(io._IOService, () => ['_dispatch']); + dart.setLibraryUri(io._IOService, I[108]); + dart.setStaticFieldSignature(io._IOService, () => ['fileExists', 'fileCreate', 'fileDelete', 'fileRename', 'fileCopy', 'fileOpen', 'fileResolveSymbolicLinks', 'fileClose', 'filePosition', 'fileSetPosition', 'fileTruncate', 'fileLength', 'fileLengthFromPath', 'fileLastAccessed', 'fileSetLastAccessed', 'fileLastModified', 'fileSetLastModified', 'fileFlush', 'fileReadByte', 'fileWriteByte', 'fileRead', 'fileReadInto', 'fileWriteFrom', 'fileCreateLink', 'fileDeleteLink', 'fileRenameLink', 'fileLinkTarget', 'fileType', 'fileIdentical', 'fileStat', 'fileLock', 'fileCreatePipe', 'socketLookup', 'socketListInterfaces', 'socketReverseLookup', 'directoryCreate', 'directoryDelete', 'directoryExists', 'directoryCreateTemp', 'directoryListStart', 'directoryListNext', 'directoryListStop', 'directoryRename', 'sslProcessFilter']); dart.defineLazy(io._IOService, { /*io._IOService.fileExists*/get fileExists() { return 0; @@ -51950,70 +55916,85 @@ define([], (function load__dart_sdk() { /*io._IOService.fileLock*/get fileLock() { return 30; }, - /*io._IOService.socketLookup*/get socketLookup() { + /*io._IOService.fileCreatePipe*/get fileCreatePipe() { return 31; }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + /*io._IOService.socketLookup*/get socketLookup() { return 32; }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { return 33; }, - /*io._IOService.directoryCreate*/get directoryCreate() { + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { return 34; }, - /*io._IOService.directoryDelete*/get directoryDelete() { + /*io._IOService.directoryCreate*/get directoryCreate() { return 35; }, - /*io._IOService.directoryExists*/get directoryExists() { + /*io._IOService.directoryDelete*/get directoryDelete() { return 36; }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + /*io._IOService.directoryExists*/get directoryExists() { return 37; }, - /*io._IOService.directoryListStart*/get directoryListStart() { + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { return 38; }, - /*io._IOService.directoryListNext*/get directoryListNext() { + /*io._IOService.directoryListStart*/get directoryListStart() { return 39; }, - /*io._IOService.directoryListStop*/get directoryListStop() { + /*io._IOService.directoryListNext*/get directoryListNext() { return 40; }, - /*io._IOService.directoryRename*/get directoryRename() { + /*io._IOService.directoryListStop*/get directoryListStop() { return 41; }, - /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + /*io._IOService.directoryRename*/get directoryRename() { return 42; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 43; } }, false); io.Link = class Link extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Link.new(path); } return overrides.createLink(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); + return io.Link.new(path); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); return new io._Link.fromRawPath(rawPath); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); + return io.Link.fromRawPath(rawPath); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); return io.Link.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); + return io.Link.fromUri(uri); + } }; (io.Link[dart.mixinNew] = function() { }).prototype = io.Link.prototype; dart.addTypeTests(io.Link); dart.addTypeCaches(io.Link); io.Link[dart.implements] = () => [io.FileSystemEntity]; - dart.setLibraryUri(io.Link, I[105]); + dart.setStaticMethodSignature(io.Link, () => ['new', 'fromRawPath', 'fromUri']); + dart.setLibraryUri(io.Link, I[108]); var _path$2 = dart.privateName(io, "_Link._path"); var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); - var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); io._Link = class _Link extends io.FileSystemEntity { get [_path$0]() { return this[_path$2]; @@ -52027,6 +56008,14 @@ define([], (function load__dart_sdk() { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); + return new io._Link.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -52043,21 +56032,19 @@ define([], (function load__dart_sdk() { return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); } create(target, opts) { - if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + if (target == null) dart.nullFailed(I[120], 164, 30, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 164, 44, "recursive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFutureOfObjectN())).then(io.Link, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create link to target '" + dart.str(target) + "'", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } createSync(target, opts) { - if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + if (target == null) dart.nullFailed(I[120], 177, 26, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 177, 40, "recursive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } @@ -52065,36 +56052,34 @@ define([], (function load__dart_sdk() { io._Link.throwIfError(result, "Cannot create link", this.path); } updateSync(target) { - if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + if (target == null) dart.nullFailed(I[120], 185, 26, "target"); this.deleteSync(); this.createSync(target); } update(target) { - if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + if (target == null) dart.nullFailed(I[120], 194, 30, "target"); return this.delete().then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + if (_ == null) dart.nullFailed(I[120], 199, 33, "_"); return this.create(target); }, T$0.FileSystemEntityToFutureOfLink())); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 202, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + if (_ == null) dart.nullFailed(I[120], 206, 18, "_"); return this; }, T$0.FileSystemEntityTo_Link())); } return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete link", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -52102,27 +56087,23 @@ define([], (function load__dart_sdk() { io._Link.throwIfError(result, "Cannot delete link", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 223, 30, "newPath"); return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); return io.Link.new(newPath); - }, T$0.dynamicToLink())); + }, T$0.ObjectNToLink())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 232, 26, "newPath"); let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); return io.Link.new(newPath); } target() { return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot get target of link", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } targetSync() { let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); @@ -52130,44 +56111,21 @@ define([], (function load__dart_sdk() { return core.String.as(result); } static throwIfError(result, msg, path = "") { - if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); - if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (msg == null) dart.nullFailed(I[120], 252, 46, "msg"); + if (path == null) dart.nullFailed(I[120], 252, 59, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); - } - } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionFromResponse](response, message, path) { - if (message == null) dart.nullFailed(I[117], 271, 43, "message"); - if (path == null) dart.nullFailed(I[117], 271, 59, "path"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } }; (io._Link.new = function(path) { - if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); this[_path$2] = path; this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Link.prototype; (io._Link.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -52188,16 +56146,15 @@ define([], (function load__dart_sdk() { rename: dart.fnType(async.Future$(io.Link), [core.String]), renameSync: dart.fnType(io.Link, [core.String]), target: dart.fnType(async.Future$(core.String), []), - targetSync: dart.fnType(core.String, []), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) + targetSync: dart.fnType(core.String, []) })); + dart.setStaticMethodSignature(io._Link, () => ['throwIfError']); dart.setGetterSignature(io._Link, () => ({ __proto__: dart.getGetters(io._Link.__proto__), path: core.String, absolute: io.Link })); - dart.setLibraryUri(io._Link, I[105]); + dart.setLibraryUri(io._Link, I[108]); dart.setFieldSignature(io._Link, () => ({ __proto__: dart.getFields(io._Link.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -52220,162 +56177,102 @@ define([], (function load__dart_sdk() { }).prototype = io._Namespace.prototype; dart.addTypeTests(io._Namespace); dart.addTypeCaches(io._Namespace); - dart.setLibraryUri(io._Namespace, I[105]); - io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { - matchScore(host) { - if (host == null) dart.nullFailed(I[118], 100, 25, "host"); - let domainLength = this.domain.length; - let hostLength = host.length; - let lengthDelta = hostLength - domainLength; - if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { - return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); - } - return -1; - } - checkConflict(existingPolicies) { - if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); - for (let existingPolicy of existingPolicies) { - if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { - if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { - return false; - } - dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); - } - } - return true; - } - toString() { - let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; - let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; - return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; - } - }; - (io._DomainNetworkPolicy.new = function(domain, opts) { - if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); - let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; - if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); - let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; - if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); - this.domain = domain; - this.includesSubDomains = includesSubDomains; - this.allowInsecureConnections = allowInsecureConnections; - if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { - dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); - } - }).prototype = io._DomainNetworkPolicy.prototype; - dart.addTypeTests(io._DomainNetworkPolicy); - dart.addTypeCaches(io._DomainNetworkPolicy); - dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), - matchScore: dart.fnType(core.int, [core.String]), - checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) - })); - dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); - dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), - domain: dart.finalFieldType(core.String), - allowInsecureConnections: dart.finalFieldType(core.bool), - includesSubDomains: dart.finalFieldType(core.bool) - })); - dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); - dart.defineLazy(io._DomainNetworkPolicy, { - /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { - return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); - } - }, false); + dart.setStaticMethodSignature(io._Namespace, () => ['_setupNamespace']); + dart.setStaticGetterSignature(io._Namespace, () => ['_namespace', '_namespacePointer']); + dart.setLibraryUri(io._Namespace, I[108]); io._NetworkProfiling = class _NetworkProfiling extends core.Object { static _registerServiceExtension() { - developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getSocketProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getVersion", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getHttpProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[137] || CT.C137); } static _serviceExtensionHandler(method, parameters) { - if (method == null) dart.nullFailed(I[119], 60, 14, "method"); - if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + if (method == null) dart.nullFailed(I[121], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[121], 60, 42, "parameters"); try { let responseJson = null; switch (method) { case "ext.dart.io.getHttpEnableTimelineLogging": - { - responseJson = io._getHttpEnableTimelineLogging(); - break; - } + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } case "ext.dart.io.setHttpEnableTimelineLogging": - { - responseJson = io._setHttpEnableTimelineLogging(parameters); - break; - } + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } case "ext.dart.io.httpEnableTimelineLogging": - { - if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { - if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[121], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); } - io._setHttpEnableTimelineLogging(parameters); + responseJson = io._getHttpEnableTimelineLogging(); + break; } - responseJson = io._getHttpEnableTimelineLogging(); - break; - } case "ext.dart.io.getHttpProfile": - { - responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); - break; - } + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } + { + responseJson = io._SocketProfile.toJson(); + break; + } case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } + { + responseJson = io._SocketProfile.start(); + break; + } case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } + { + responseJson = io._SocketProfile.pause(); + break; + } case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } + { + responseJson = io._SocketProfile.clear(); + break; + } case "ext.dart.io.getVersion": - { - responseJson = io._NetworkProfiling.getVersion(); - break; - } + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } default: - { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); - } + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } } return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); } catch (e) { @@ -52395,7 +56292,9 @@ define([], (function load__dart_sdk() { }).prototype = io._NetworkProfiling.prototype; dart.addTypeTests(io._NetworkProfiling); dart.addTypeCaches(io._NetworkProfiling); - dart.setLibraryUri(io._NetworkProfiling, I[105]); + dart.setStaticMethodSignature(io._NetworkProfiling, () => ['_registerServiceExtension', '_serviceExtensionHandler', 'getVersion']); + dart.setLibraryUri(io._NetworkProfiling, I[108]); + dart.setStaticFieldSignature(io._NetworkProfiling, () => ['_kGetHttpEnableTimelineLogging', '_kSetHttpEnableTimelineLogging', '_kHttpEnableTimelineLogging', '_kGetHttpProfileRPC', '_kGetHttpProfileRequestRPC', '_kClearHttpProfileRPC', '_kClearSocketProfileRPC', '_kGetSocketProfileRPC', '_kSocketProfilingEnabledRPC', '_kPauseSocketProfilingRPC', '_kStartSocketProfilingRPC', '_kGetVersionRPC']); dart.defineLazy(io._NetworkProfiling, { /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { return "ext.dart.io.getHttpEnableTimelineLogging"; @@ -52434,10 +56333,11 @@ define([], (function load__dart_sdk() { return "ext.dart.io.getVersion"; } }, false); - var _name$4 = dart.privateName(io, "_name"); + var _Enum__name = dart.privateName(core, "_Enum._name"); + var _Enum_index = dart.privateName(core, "_Enum.index"); io._SocketProfile = class _SocketProfile extends core.Object { static set enableSocketProfiling(enabled) { - if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled == null) dart.nullFailed(I[121], 205, 41, "enabled"); if (enabled != io._SocketProfile._enableSocketProfiling) { developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); io._SocketProfile._enableSocketProfiling = enabled; @@ -52448,78 +56348,78 @@ define([], (function load__dart_sdk() { } static toJson() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { - if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + if (f == null) dart.nullFailed(I[121], 222, 53, "f"); return f.toMap(); }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); } static collectNewSocket(id, type, addr, port) { - if (id == null) dart.nullFailed(I[119], 226, 11, "id"); - if (type == null) dart.nullFailed(I[119], 226, 22, "type"); - if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); - if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + if (id == null) dart.nullFailed(I[121], 226, 11, "id"); + if (type == null) dart.nullFailed(I[121], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[121], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[121], 226, 54, "port"); io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); } static collectStatistic(id, type, object = null) { - let t206, t205, t204, t203, t203$, t203$0; - if (id == null) dart.nullFailed(I[119], 233, 36, "id"); - if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + let t181, t180, t179, t178, t178$, t178$0; + if (id == null) dart.nullFailed(I[121], 233, 36, "id"); + if (type == null) dart.nullFailed(I[121], 233, 59, "type"); if (!dart.test(io._SocketProfile._enableSocketProfiling)) { return; } if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; - let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + let stats = (t178 = io._SocketProfile._idToSocketStatistic, t179 = id, t180 = t178[$_get](t179), t180 == null ? (t181 = new io._SocketStatistic.new(id), t178[$_set](t179, t181), t181) : t180); switch (type) { - case C[129] || CT.C129: - { - stats.startTime = developer.Timeline.now; - break; - } - case C[130] || CT.C130: - { - stats.endTime = developer.Timeline.now; - break; - } - case C[131] || CT.C131: - { - if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); - stats.address = dart.toString(io.InternetAddress.as(object)); - break; - } - case C[132] || CT.C132: - { - if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); - stats.port = T$.intN().as(object); - break; - } - case C[133] || CT.C133: - { - if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); - stats.socketType = T$.StringN().as(object); - break; - } - case C[134] || CT.C134: - { - if (object == null) return; - t203$ = stats; - t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); - stats.lastReadTime = developer.Timeline.now; - break; - } - case C[135] || CT.C135: - { - if (object == null) return; - t203$0 = stats; - t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); - stats.lastWriteTime = developer.Timeline.now; - break; - } + case C[138] || CT.C138: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[139] || CT.C139: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[140] || CT.C140: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[121], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[141] || CT.C141: + { + if (!core.int.is(object)) dart.assertFailed(null, I[121], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[142] || CT.C142: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[121], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[143] || CT.C143: + { + if (object == null) return; + t178$ = stats; + t178$.readBytes = dart.notNull(t178$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[144] || CT.C144: + { + if (object == null) return; + t178$0 = stats; + t178$0.writeBytes = dart.notNull(t178$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } default: - { - dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); - } + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } } } static start() { @@ -52540,7 +56440,11 @@ define([], (function load__dart_sdk() { }).prototype = io._SocketProfile.prototype; dart.addTypeTests(io._SocketProfile); dart.addTypeCaches(io._SocketProfile); - dart.setLibraryUri(io._SocketProfile, I[105]); + dart.setStaticMethodSignature(io._SocketProfile, () => ['toJson', 'collectNewSocket', 'collectStatistic', 'start', 'pause', 'clear']); + dart.setStaticGetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); + dart.setStaticSetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); + dart.setLibraryUri(io._SocketProfile, I[108]); + dart.setStaticFieldSignature(io._SocketProfile, () => ['_kType', '_enableSocketProfiling', '_idToSocketStatistic']); dart.defineLazy(io._SocketProfile, { /*io._SocketProfile._kType*/get _kType() { return "SocketProfile"; @@ -52548,43 +56452,105 @@ define([], (function load__dart_sdk() { /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { return false; }, - set _enableSocketProfiling(_) {}, + set _enableSocketProfiling(value) { + if (value == null) dart.nullFailed(I[121], 217, 15, "_enableSocketProfiling"); + }, /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); }, - set _idToSocketStatistic(_) {} + set _idToSocketStatistic(value) { + if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); + } }, false); - io._SocketProfileType = class _SocketProfileType extends core.Object { + var _name$4 = dart.privateName(core, "_name"); + var _enumToString = dart.privateName(core, "_enumToString"); + const index$0 = _Enum_index; + const _name$5 = _Enum__name; + core._Enum = class _Enum extends core.Object { + get index() { + return this[index$0]; + } + set index(value) { + super.index = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } toString() { - return this[_name$4]; + return this[_enumToString](); } }; - (io._SocketProfileType.new = function(index, _name) { - if (index == null) dart.nullFailed(I[119], 295, 6, "index"); - if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); - this.index = index; - this[_name$4] = _name; + (core._Enum.new = function(index, _name) { + if (index == null) dart.nullFailed(I[122], 103, 20, "index"); + if (_name == null) dart.nullFailed(I[122], 103, 32, "_name"); + this[index$0] = index; + this[_name$5] = _name; ; - }).prototype = io._SocketProfileType.prototype; - dart.addTypeTests(io._SocketProfileType); - dart.addTypeCaches(io._SocketProfileType); - dart.setLibraryUri(io._SocketProfileType, I[105]); - dart.setFieldSignature(io._SocketProfileType, () => ({ - __proto__: dart.getFields(io._SocketProfileType.__proto__), + }).prototype = core._Enum.prototype; + dart.addTypeTests(core._Enum); + dart.addTypeCaches(core._Enum); + core._Enum[dart.implements] = () => [core.Enum]; + dart.setLibraryUri(core._Enum, I[9]); + dart.setFieldSignature(core._Enum, () => ({ + __proto__: dart.getFields(core._Enum.__proto__), index: dart.finalFieldType(core.int), [_name$4]: dart.finalFieldType(core.String) })); - dart.defineExtensionMethods(io._SocketProfileType, ['toString']); - io._SocketProfileType.startTime = C[129] || CT.C129; - io._SocketProfileType.endTime = C[130] || CT.C130; - io._SocketProfileType.address = C[131] || CT.C131; - io._SocketProfileType.port = C[132] || CT.C132; - io._SocketProfileType.socketType = C[133] || CT.C133; - io._SocketProfileType.readBytes = C[134] || CT.C134; - io._SocketProfileType.writeBytes = C[135] || CT.C135; - io._SocketProfileType.values = C[136] || CT.C136; + dart.defineExtensionMethods(core._Enum, ['toString']); + io._SocketProfileType = class _SocketProfileType extends core._Enum { + [_enumToString]() { + return "_SocketProfileType." + dart.str(this[_name$4]); + } + }; + (io._SocketProfileType.new = function(index, name) { + if (index == null) dart.nullFailed(I[121], 295, 6, "#index"); + if (name == null) dart.nullFailed(I[121], 295, 6, "#name"); + io._SocketProfileType.__proto__.new.call(this, index, name); + ; + }).prototype = io._SocketProfileType.prototype; + dart.addTypeTests(io._SocketProfileType); + dart.addTypeCaches(io._SocketProfileType); + dart.setMethodSignature(io._SocketProfileType, () => ({ + __proto__: dart.getMethods(io._SocketProfileType.__proto__), + [_enumToString]: dart.fnType(core.String, []) + })); + dart.setLibraryUri(io._SocketProfileType, I[108]); + dart.setStaticFieldSignature(io._SocketProfileType, () => ['values', 'startTime', 'endTime', 'address', 'port', 'socketType', 'readBytes', 'writeBytes']); + dart.defineLazy(io._SocketProfileType, { + /*io._SocketProfileType.values*/get values() { + return C[145] || CT.C145; + }, + /*io._SocketProfileType.startTime*/get startTime() { + return C[138] || CT.C138; + }, + /*io._SocketProfileType.endTime*/get endTime() { + return C[139] || CT.C139; + }, + /*io._SocketProfileType.address*/get address() { + return C[140] || CT.C140; + }, + /*io._SocketProfileType.port*/get port() { + return C[141] || CT.C141; + }, + /*io._SocketProfileType.socketType*/get socketType() { + return C[142] || CT.C142; + }, + /*io._SocketProfileType.readBytes*/get readBytes() { + return C[143] || CT.C143; + }, + /*io._SocketProfileType.writeBytes*/get writeBytes() { + return C[144] || CT.C144; + } + }, false); var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); io._SocketStatistic = class _SocketStatistic extends core.Object { + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); + return new io._SocketStatistic.new(id); + } toMap() { let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); this[_setIfNotNull](map, "startTime", this.startTime); @@ -52599,14 +56565,14 @@ define([], (function load__dart_sdk() { return map; } [_setIfNotNull](json, key, value) { - if (json == null) dart.nullFailed(I[119], 336, 43, "json"); - if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (json == null) dart.nullFailed(I[121], 336, 43, "json"); + if (key == null) dart.nullFailed(I[121], 336, 56, "key"); if (value == null) return; json[$_set](key, value); } }; (io._SocketStatistic.new = function(id) { - if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); this.startTime = null; this.endTime = null; this.address = null; @@ -52626,7 +56592,7 @@ define([], (function load__dart_sdk() { toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) })); - dart.setLibraryUri(io._SocketStatistic, I[105]); + dart.setLibraryUri(io._SocketStatistic, I[108]); dart.setFieldSignature(io._SocketStatistic, () => ({ __proto__: dart.getFields(io._SocketStatistic.__proto__), id: dart.finalFieldType(core.int), @@ -52642,14 +56608,14 @@ define([], (function load__dart_sdk() { })); io.IOOverrides = class IOOverrides extends core.Object { static get current() { - let t203; - return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + let t180; + return T$0.IOOverridesN().as((t180 = async.Zone.current._get(io._ioOverridesToken), t180 == null ? io.IOOverrides._global : t180)); } static set global(overrides) { io.IOOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + if (body == null) dart.nullFailed(I[123], 54, 26, "body"); let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; @@ -52667,94 +56633,110 @@ define([], (function load__dart_sdk() { let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; - let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + let stdin = opts && 'stdin' in opts ? opts.stdin : null; + let stdout = opts && 'stdout' in opts ? opts.stdout : null; + let stderr = opts && 'stderr' in opts ? opts.stderr : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind, stdin, stdout, stderr); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } static runWithIOOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[120], 135, 36, "body"); - if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + if (body == null) dart.nullFailed(I[123], 145, 36, "body"); + if (overrides == null) dart.nullFailed(I[123], 145, 56, "overrides"); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + if (path == null) dart.nullFailed(I[123], 155, 36, "path"); return new io._Directory.new(path); } getCurrentDirectory() { return io._Directory.current; } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + if (path == null) dart.nullFailed(I[123], 167, 35, "path"); io._Directory.current = path; } getSystemTempDirectory() { return io._Directory.systemTemp; } createFile(path) { - if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + if (path == null) dart.nullFailed(I[123], 183, 26, "path"); return new io._File.new(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + if (path == null) dart.nullFailed(I[123], 191, 32, "path"); return io.FileStat._stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + if (path == null) dart.nullFailed(I[123], 199, 28, "path"); return io.FileStat._statSyncInternal(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 210, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 210, 50, "path2"); return io.FileSystemEntity._identical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 219, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 219, 46, "path2"); return io.FileSystemEntity._identicalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 217, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 227, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 227, 61, "followLinks"); return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 226, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 236, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 236, 57, "followLinks"); return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 237, 42, "path"); - if (events == null) dart.nullFailed(I[120], 237, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 247, 42, "path"); + if (events == null) dart.nullFailed(I[123], 247, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 247, 65, "recursive"); return io._FileSystemWatcher._watch(path, events, recursive); } fsWatchIsSupported() { return io._FileSystemWatcher.isSupported; } createLink(path) { - if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + if (path == null) dart.nullFailed(I[123], 263, 26, "path"); return new io._Link.new(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + if (port == null) dart.nullFailed(I[123], 271, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 272, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + if (port == null) dart.nullFailed(I[123], 282, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 283, 27, "sourcePort"); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + if (port == null) dart.nullFailed(I[123], 295, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 296, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 296, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 296, 51, "shared"); return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + return io._stdin; + } + get stdout() { + return io._stdout; + } + get stderr() { + return io._stderr; + } }; (io.IOOverrides.new = function() { ; @@ -52777,16 +56759,26 @@ define([], (function load__dart_sdk() { fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), fsWatchIsSupported: dart.fnType(core.bool, []), createLink: dart.fnType(io.Link, [core.String]), - socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), - socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}), serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) })); - dart.setLibraryUri(io.IOOverrides, I[105]); + dart.setStaticMethodSignature(io.IOOverrides, () => ['runZoned', 'runWithIOOverrides']); + dart.setGetterSignature(io.IOOverrides, () => ({ + __proto__: dart.getGetters(io.IOOverrides.__proto__), + stdin: io.Stdin, + stdout: io.Stdout, + stderr: io.Stdout + })); + dart.setStaticGetterSignature(io.IOOverrides, () => ['current']); + dart.setStaticSetterSignature(io.IOOverrides, () => ['global']); + dart.setLibraryUri(io.IOOverrides, I[108]); + dart.setStaticFieldSignature(io.IOOverrides, () => ['_global']); dart.defineLazy(io.IOOverrides, { /*io.IOOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$4 = dart.privateName(io, "_previous"); var _createDirectory$ = dart.privateName(io, "_createDirectory"); @@ -52806,9 +56798,15 @@ define([], (function load__dart_sdk() { var _socketConnect$ = dart.privateName(io, "_socketConnect"); var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); + var _stdin$ = dart.privateName(io, "_stdin"); + var _stdout$ = dart.privateName(io, "_stdout"); + var _stderr$ = dart.privateName(io, "_stderr"); io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + static ['_#new#tearOff'](_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { + return new io._IOOverridesScope.new(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr); + } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (path == null) dart.nullFailed(I[123], 416, 36, "path"); if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); return super.createDirectory(path); @@ -52819,7 +56817,7 @@ define([], (function load__dart_sdk() { return super.getCurrentDirectory(); } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (path == null) dart.nullFailed(I[123], 430, 35, "path"); if (this[_setCurrentDirectory$] != null) dart.nullCheck(this[_setCurrentDirectory$])(path); else if (this[_previous$4] != null) @@ -52833,55 +56831,55 @@ define([], (function load__dart_sdk() { return super.getSystemTempDirectory(); } createFile(path) { - if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (path == null) dart.nullFailed(I[123], 448, 26, "path"); if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); return super.createFile(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (path == null) dart.nullFailed(I[123], 456, 32, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); return super.stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (path == null) dart.nullFailed(I[123], 463, 28, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); return super.statSync(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 471, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 471, 50, "path2"); if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); return super.fseIdentical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 478, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 478, 46, "path2"); if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); return super.fseIdenticalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 436, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 485, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 485, 61, "followLinks"); if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); return super.fseGetType(path, followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 443, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 492, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 492, 57, "followLinks"); if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); return super.fseGetTypeSync(path, followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 451, 42, "path"); - if (events == null) dart.nullFailed(I[120], 451, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 500, 42, "path"); + if (events == null) dart.nullFailed(I[123], 500, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 500, 65, "recursive"); if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); return super.fsWatch(path, events, recursive); @@ -52892,42 +56890,46 @@ define([], (function load__dart_sdk() { return super.fsWatchIsSupported(); } createLink(path) { - if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (path == null) dart.nullFailed(I[123], 515, 26, "path"); if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); return super.createLink(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + if (port == null) dart.nullFailed(I[123], 523, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 524, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; if (this[_socketConnect$] != null) { return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + if (port == null) dart.nullFailed(I[123], 540, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 541, 27, "sourcePort"); if (this[_socketStartConnect$] != null) { - return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + if (port == null) dart.nullFailed(I[123], 557, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 558, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 558, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 558, 51, "shared"); if (this[_serverSocketBind$] != null) { return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } @@ -52936,8 +56938,23 @@ define([], (function load__dart_sdk() { } return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdin$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdin) : t180$); + return t180$0 == null ? super.stdin : t180$0; + } + get stdout() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdout$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdout) : t180$); + return t180$0 == null ? super.stdout : t180$0; + } + get stderr() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stderr$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stderr) : t180$); + return t180$0 == null ? super.stderr : t180$0; + } }; - (io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { + (io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { this[_previous$4] = io.IOOverrides.current; this[_createDirectory$] = _createDirectory; this[_getCurrentDirectory$] = _getCurrentDirectory; @@ -52956,11 +56973,14 @@ define([], (function load__dart_sdk() { this[_socketConnect$] = _socketConnect; this[_socketStartConnect$] = _socketStartConnect; this[_serverSocketBind$] = _serverSocketBind; + this[_stdin$] = _stdin; + this[_stdout$] = _stdout; + this[_stderr$] = _stderr; ; }).prototype = io._IOOverridesScope.prototype; dart.addTypeTests(io._IOOverridesScope); dart.addTypeCaches(io._IOOverridesScope); - dart.setLibraryUri(io._IOOverridesScope, I[105]); + dart.setLibraryUri(io._IOOverridesScope, I[108]); dart.setFieldSignature(io._IOOverridesScope, () => ({ __proto__: dart.getFields(io._IOOverridesScope.__proto__), [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), @@ -52978,9 +56998,12 @@ define([], (function load__dart_sdk() { [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), - [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), - [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), - [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))), + [_stdin$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdin, []))), + [_stdout$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))), + [_stderr$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))) })); io.Platform = class Platform extends core.Object { static get numberOfProcessors() { @@ -53016,22 +57039,24 @@ define([], (function load__dart_sdk() { static get executableArguments() { return io._Platform.executableArguments; } - static get packageRoot() { - return null; - } static get packageConfig() { return io._Platform.packageConfig; } static get version() { return io.Platform._version; } + static ['_#new#tearOff']() { + return new io.Platform.new(); + } }; (io.Platform.new = function() { ; }).prototype = io.Platform.prototype; dart.addTypeTests(io.Platform); dart.addTypeCaches(io.Platform); - dart.setLibraryUri(io.Platform, I[105]); + dart.setStaticGetterSignature(io.Platform, () => ['numberOfProcessors', 'pathSeparator', 'localeName', 'operatingSystem', 'operatingSystemVersion', 'localHostname', 'environment', 'executable', 'resolvedExecutable', 'script', 'executableArguments', 'packageConfig', 'version']); + dart.setLibraryUri(io.Platform, I[108]); + dart.setStaticFieldSignature(io.Platform, () => ['_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_version', 'isLinux', 'isMacOS', 'isWindows', 'isAndroid', 'isIOS', 'isFuchsia']); dart.defineLazy(io.Platform, { /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { return io._Platform.numberOfProcessors; @@ -53155,16 +57180,17 @@ define([], (function load__dart_sdk() { static get environment() { if (io._Platform._environmentCache == null) { let env = io._Platform._environment(); - if (!io.OSError.is(env)) { + if (T$0.IterableOfObjectN().is(env)) { let isWindows = io._Platform.operatingSystem === "windows"; let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); - for (let str of core.Iterable.as(env)) { - if (str == null) { + for (let environmentEntry of env) { + if (environmentEntry == null) { continue; } - let equalsIndex = dart.dsend(str, 'indexOf', ["="]); - if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { - result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + let text = core.String.as(environmentEntry); + let equalsIndex = text[$indexOf]("="); + if (equalsIndex > 0) { + result[$_set](text[$substring](0, equalsIndex), text[$substring](equalsIndex + 1)); } } io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); @@ -53181,49 +57207,59 @@ define([], (function load__dart_sdk() { static get version() { return io._Platform._version(); } + static ['_#new#tearOff']() { + return new io._Platform.new(); + } }; (io._Platform.new = function() { ; }).prototype = io._Platform.prototype; dart.addTypeTests(io._Platform); dart.addTypeCaches(io._Platform); - dart.setLibraryUri(io._Platform, I[105]); + dart.setStaticMethodSignature(io._Platform, () => ['_packageRoot', '_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_executable', '_resolvedExecutable', '_environment', '_executableArguments', '_packageConfig', '_version', '_localeName', '_script', 'localeName']); + dart.setStaticGetterSignature(io._Platform, () => ['numberOfProcessors', 'pathSeparator', 'operatingSystem', 'script', 'operatingSystemVersion', 'localHostname', 'executableArguments', 'environment', 'version']); + dart.setLibraryUri(io._Platform, I[108]); + dart.setStaticFieldSignature(io._Platform, () => ['executable', 'resolvedExecutable', 'packageConfig', '_localeClosure', '_environmentCache', '_cachedOSVersion']); dart.defineLazy(io._Platform, { /*io._Platform.executable*/get executable() { return core.String.as(io._Platform._executable()); }, - set executable(_) {}, + set executable(value) { + if (value == null) dart.nullFailed(I[124], 36, 17, "executable"); + }, /*io._Platform.resolvedExecutable*/get resolvedExecutable() { return core.String.as(io._Platform._resolvedExecutable()); }, - set resolvedExecutable(_) {}, + set resolvedExecutable(value) { + if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); + }, /*io._Platform.packageConfig*/get packageConfig() { return io._Platform._packageConfig(); }, - set packageConfig(_) {}, + set packageConfig(value) {}, /*io._Platform._localeClosure*/get _localeClosure() { return null; }, - set _localeClosure(_) {}, + set _localeClosure(value) {}, /*io._Platform._environmentCache*/get _environmentCache() { return null; }, - set _environmentCache(_) {}, + set _environmentCache(value) {}, /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { return null; }, - set _cachedOSVersion(_) {} + set _cachedOSVersion(value) {} }, false); var _map$10 = dart.privateName(io, "_map"); const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); io._CaseInsensitiveStringMap$ = dart.generic(V => { - var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); - var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); - var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + var __t$LinkedMapOfString$V = () => (__t$LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$MapOfString$V = () => (__t$MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var __t$StringAndVTovoid = () => (__t$StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); + var __t$StringAndVToV = () => (__t$StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { containsKey(key) { return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); @@ -53237,29 +57273,29 @@ define([], (function load__dart_sdk() { _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + if (key == null) dart.nullFailed(I[124], 134, 28, "key"); V.as(value); this[_map$10][$_set](key[$toUpperCase](), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 133, 24, "key"); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + if (key == null) dart.nullFailed(I[124], 138, 24, "key"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[124], 138, 31, "ifAbsent"); return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); } addAll(other) { - MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + __t$MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[124], 142, 30, "other"); other[$forEach](dart.fn((key, value) => { - let t204, t203; - if (key == null) dart.nullFailed(I[121], 138, 20, "key"); - t203 = key[$toUpperCase](); - t204 = value; - this._set(t203, t204); - return t204; - }, StringAndVTovoid())); + let t181, t180; + if (key == null) dart.nullFailed(I[124], 143, 20, "key"); + t180 = key[$toUpperCase](); + t181 = value; + this._set(t180, t181); + return t181; + }, __t$StringAndVTovoid())); } remove(key) { return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; @@ -53268,7 +57304,7 @@ define([], (function load__dart_sdk() { this[_map$10][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + if (f == null) dart.nullFailed(I[124], 153, 21, "f"); this[_map$10][$forEach](f); } get keys() { @@ -53290,33 +57326,36 @@ define([], (function load__dart_sdk() { return this[_map$10][$entries]; } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + if (transform == null) dart.nullFailed(I[124], 165, 44, "transform"); return this[_map$10][$map](K2, V2, transform); } update(key, update, opts) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 163, 19, "key"); - VToV().as(update); - if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + if (key == null) dart.nullFailed(I[124], 168, 19, "key"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[124], 168, 26, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); } updateAll(update) { - StringAndVToV().as(update); - if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + __t$StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[124], 171, 20, "update"); this[_map$10][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + if (test == null) dart.nullFailed(I[124], 175, 25, "test"); this[_map$10][$removeWhere](test); } toString() { return dart.toString(this[_map$10]); } + static ['_#new#tearOff'](V) { + return new (io._CaseInsensitiveStringMap$(V)).new(); + } } (_CaseInsensitiveStringMap.new = function() { - this[_map$10] = new (LinkedMapOfString$V()).new(); + this[_map$10] = new (__t$LinkedMapOfString$V()).new(); ; }).prototype = _CaseInsensitiveStringMap.prototype; dart.addTypeTests(_CaseInsensitiveStringMap); @@ -53340,7 +57379,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) @@ -53375,34 +57414,38 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); io._ProcessUtils = class _ProcessUtils extends core.Object { static _exit(status) { - if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + if (status == null) dart.nullFailed(I[110], 306, 26, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); } static _setExitCode(status) { - if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + if (status == null) dart.nullFailed(I[110], 311, 32, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); } static _getExitCode() { dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); } static _sleep(millis) { - if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + if (millis == null) dart.nullFailed(I[110], 321, 26, "millis"); dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); } static _pid(process) { dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); } static _watchSignal(signal) { - if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + if (signal == null) dart.nullFailed(I[110], 331, 59, "signal"); dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); } + static ['_#new#tearOff']() { + return new io._ProcessUtils.new(); + } }; (io._ProcessUtils.new = function() { ; }).prototype = io._ProcessUtils.prototype; dart.addTypeTests(io._ProcessUtils); dart.addTypeCaches(io._ProcessUtils); - dart.setLibraryUri(io._ProcessUtils, I[105]); + dart.setStaticMethodSignature(io._ProcessUtils, () => ['_exit', '_setExitCode', '_getExitCode', '_sleep', '_pid', '_watchSignal']); + dart.setLibraryUri(io._ProcessUtils, I[108]); io.ProcessInfo = class ProcessInfo extends core.Object { static get currentRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); @@ -53410,13 +57453,17 @@ define([], (function load__dart_sdk() { static get maxRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); } + static ['_#new#tearOff']() { + return new io.ProcessInfo.new(); + } }; (io.ProcessInfo.new = function() { ; }).prototype = io.ProcessInfo.prototype; dart.addTypeTests(io.ProcessInfo); dart.addTypeCaches(io.ProcessInfo); - dart.setLibraryUri(io.ProcessInfo, I[105]); + dart.setStaticGetterSignature(io.ProcessInfo, () => ['currentRss', 'maxRss']); + dart.setLibraryUri(io.ProcessInfo, I[108]); var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); io.ProcessStartMode = class ProcessStartMode extends core.Object { get [_mode]() { @@ -53426,100 +57473,90 @@ define([], (function load__dart_sdk() { super[_mode] = value; } static get values() { - return C[137] || CT.C137; + return C[146] || CT.C146; } toString() { - return (C[142] || CT.C142)[$_get](this[_mode]); + return (C[151] || CT.C151)[$_get](this[_mode]); + } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); + return new io.ProcessStartMode._internal(_mode); } }; (io.ProcessStartMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); this[_mode$0] = _mode; ; }).prototype = io.ProcessStartMode.prototype; dart.addTypeTests(io.ProcessStartMode); dart.addTypeCaches(io.ProcessStartMode); - dart.setLibraryUri(io.ProcessStartMode, I[105]); + dart.setStaticGetterSignature(io.ProcessStartMode, () => ['values']); + dart.setLibraryUri(io.ProcessStartMode, I[108]); dart.setFieldSignature(io.ProcessStartMode, () => ({ __proto__: dart.getFields(io.ProcessStartMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.ProcessStartMode, () => ['normal', 'inheritStdio', 'detached', 'detachedWithStdio']); dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); dart.defineLazy(io.ProcessStartMode, { /*io.ProcessStartMode.normal*/get normal() { - return C[138] || CT.C138; - }, - /*io.ProcessStartMode.NORMAL*/get NORMAL() { - return C[138] || CT.C138; + return C[147] || CT.C147; }, /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[139] || CT.C139; - }, - /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { - return C[139] || CT.C139; + return C[148] || CT.C148; }, /*io.ProcessStartMode.detached*/get detached() { - return C[140] || CT.C140; - }, - /*io.ProcessStartMode.DETACHED*/get DETACHED() { - return C[140] || CT.C140; + return C[149] || CT.C149; }, /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - return C[141] || CT.C141; - }, - /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { - return C[141] || CT.C141; + return C[150] || CT.C150; } }, false); var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); io.Process = class Process extends core.Object { static start(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 352, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 355, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); - let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; - if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + if (runInShell == null) dart.nullFailed(I[110], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[147] || CT.C147; + if (mode == null) dart.nullFailed(I[110], 357, 24, "mode"); dart.throw(new core.UnsupportedError.new("Process.start")); } static run(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + if (executable == null) dart.nullFailed(I[110], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 362, 68, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 365, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.run")); } static runSync(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 373, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 376, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.runSync")); } - static killPid(pid, signal = C[144] || CT.C144) { - if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); - if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + static killPid(pid, signal = C[153] || CT.C153) { + if (pid == null) dart.nullFailed(I[110], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[110], 384, 47, "signal"); dart.throw(new core.UnsupportedError.new("Process.killPid")); } }; @@ -53528,7 +57565,8 @@ define([], (function load__dart_sdk() { }).prototype = io.Process.prototype; dart.addTypeTests(io.Process); dart.addTypeCaches(io.Process); - dart.setLibraryUri(io.Process, I[105]); + dart.setStaticMethodSignature(io.Process, () => ['start', 'run', 'runSync', 'killPid']); + dart.setLibraryUri(io.Process, I[108]); var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); var stdout$ = dart.privateName(io, "ProcessResult.stdout"); var stderr$ = dart.privateName(io, "ProcessResult.stderr"); @@ -53558,10 +57596,15 @@ define([], (function load__dart_sdk() { set pid(value) { super.pid = value; } + static ['_#new#tearOff'](pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); + return new io.ProcessResult.new(pid, exitCode, stdout, stderr); + } }; (io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { - if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); this[pid$] = pid; this[exitCode$] = exitCode; this[stdout$] = stdout; @@ -53570,7 +57613,7 @@ define([], (function load__dart_sdk() { }).prototype = io.ProcessResult.prototype; dart.addTypeTests(io.ProcessResult); dart.addTypeCaches(io.ProcessResult); - dart.setLibraryUri(io.ProcessResult, I[105]); + dart.setLibraryUri(io.ProcessResult, I[108]); dart.setFieldSignature(io.ProcessResult, () => ({ __proto__: dart.getFields(io.ProcessResult.__proto__), exitCode: dart.finalFieldType(core.int), @@ -53579,8 +57622,9 @@ define([], (function load__dart_sdk() { pid: dart.finalFieldType(core.int) })); var _signalNumber = dart.privateName(io, "_signalNumber"); + var _name$6 = dart.privateName(io, "_name"); const _signalNumber$ = ProcessSignal__signalNumber; - const _name$5 = ProcessSignal__name; + const _name$7 = ProcessSignal__name; io.ProcessSignal = class ProcessSignal extends core.Object { get [_signalNumber]() { return this[_signalNumber$]; @@ -53588,24 +57632,29 @@ define([], (function load__dart_sdk() { set [_signalNumber](value) { super[_signalNumber] = value; } - get [_name$4]() { - return this[_name$5]; + get [_name$6]() { + return this[_name$7]; } - set [_name$4](value) { - super[_name$4] = value; + set [_name$6](value) { + super[_name$6] = value; + } + static ['_#_#tearOff'](_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); + return new io.ProcessSignal.__(_signalNumber, _name); } toString() { - return this[_name$4]; + return this[_name$6]; } watch() { return io._ProcessUtils._watchSignal(this); } }; (io.ProcessSignal.__ = function(_signalNumber, _name) { - if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); - if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); this[_signalNumber$] = _signalNumber; - this[_name$5] = _name; + this[_name$7] = _name; ; }).prototype = io.ProcessSignal.prototype; dart.addTypeTests(io.ProcessSignal); @@ -53614,187 +57663,101 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(io.ProcessSignal.__proto__), watch: dart.fnType(async.Stream$(io.ProcessSignal), []) })); - dart.setLibraryUri(io.ProcessSignal, I[105]); + dart.setLibraryUri(io.ProcessSignal, I[108]); dart.setFieldSignature(io.ProcessSignal, () => ({ __proto__: dart.getFields(io.ProcessSignal.__proto__), [_signalNumber]: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) + [_name$6]: dart.finalFieldType(core.String) })); + dart.setStaticFieldSignature(io.ProcessSignal, () => ['sighup', 'sigint', 'sigquit', 'sigill', 'sigtrap', 'sigabrt', 'sigbus', 'sigfpe', 'sigkill', 'sigusr1', 'sigsegv', 'sigusr2', 'sigpipe', 'sigalrm', 'sigterm', 'sigchld', 'sigcont', 'sigstop', 'sigtstp', 'sigttin', 'sigttou', 'sigurg', 'sigxcpu', 'sigxfsz', 'sigvtalrm', 'sigprof', 'sigwinch', 'sigpoll', 'sigsys']); dart.defineExtensionMethods(io.ProcessSignal, ['toString']); dart.defineLazy(io.ProcessSignal, { /*io.ProcessSignal.sighup*/get sighup() { - return C[145] || CT.C145; + return C[154] || CT.C154; }, /*io.ProcessSignal.sigint*/get sigint() { - return C[146] || CT.C146; + return C[155] || CT.C155; }, /*io.ProcessSignal.sigquit*/get sigquit() { - return C[147] || CT.C147; + return C[156] || CT.C156; }, /*io.ProcessSignal.sigill*/get sigill() { - return C[148] || CT.C148; + return C[157] || CT.C157; }, /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[149] || CT.C149; + return C[158] || CT.C158; }, /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[150] || CT.C150; + return C[159] || CT.C159; }, /*io.ProcessSignal.sigbus*/get sigbus() { - return C[151] || CT.C151; + return C[160] || CT.C160; }, /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[152] || CT.C152; + return C[161] || CT.C161; }, /*io.ProcessSignal.sigkill*/get sigkill() { - return C[153] || CT.C153; + return C[162] || CT.C162; }, /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[154] || CT.C154; + return C[163] || CT.C163; }, /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[155] || CT.C155; + return C[164] || CT.C164; }, /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[156] || CT.C156; + return C[165] || CT.C165; }, /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[157] || CT.C157; + return C[166] || CT.C166; }, /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[158] || CT.C158; + return C[167] || CT.C167; }, /*io.ProcessSignal.sigterm*/get sigterm() { - return C[144] || CT.C144; + return C[153] || CT.C153; }, /*io.ProcessSignal.sigchld*/get sigchld() { - return C[159] || CT.C159; + return C[168] || CT.C168; }, /*io.ProcessSignal.sigcont*/get sigcont() { - return C[160] || CT.C160; + return C[169] || CT.C169; }, /*io.ProcessSignal.sigstop*/get sigstop() { - return C[161] || CT.C161; + return C[170] || CT.C170; }, /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[162] || CT.C162; + return C[171] || CT.C171; }, /*io.ProcessSignal.sigttin*/get sigttin() { - return C[163] || CT.C163; + return C[172] || CT.C172; }, /*io.ProcessSignal.sigttou*/get sigttou() { - return C[164] || CT.C164; + return C[173] || CT.C173; }, /*io.ProcessSignal.sigurg*/get sigurg() { - return C[165] || CT.C165; + return C[174] || CT.C174; }, /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[166] || CT.C166; + return C[175] || CT.C175; }, /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[167] || CT.C167; + return C[176] || CT.C176; }, /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[168] || CT.C168; + return C[177] || CT.C177; }, /*io.ProcessSignal.sigprof*/get sigprof() { - return C[169] || CT.C169; + return C[178] || CT.C178; }, /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[170] || CT.C170; + return C[179] || CT.C179; }, /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[171] || CT.C171; + return C[180] || CT.C180; }, /*io.ProcessSignal.sigsys*/get sigsys() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.SIGHUP*/get SIGHUP() { - return C[145] || CT.C145; - }, - /*io.ProcessSignal.SIGINT*/get SIGINT() { - return C[146] || CT.C146; - }, - /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { - return C[147] || CT.C147; - }, - /*io.ProcessSignal.SIGILL*/get SIGILL() { - return C[148] || CT.C148; - }, - /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { - return C[149] || CT.C149; - }, - /*io.ProcessSignal.SIGABRT*/get SIGABRT() { - return C[150] || CT.C150; - }, - /*io.ProcessSignal.SIGBUS*/get SIGBUS() { - return C[151] || CT.C151; - }, - /*io.ProcessSignal.SIGFPE*/get SIGFPE() { - return C[152] || CT.C152; - }, - /*io.ProcessSignal.SIGKILL*/get SIGKILL() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { - return C[154] || CT.C154; - }, - /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.SIGALRM*/get SIGALRM() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.SIGTERM*/get SIGTERM() { - return C[144] || CT.C144; - }, - /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.SIGCONT*/get SIGCONT() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.SIGURG*/get SIGURG() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.SIGPROF*/get SIGPROF() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.SIGSYS*/get SIGSYS() { - return C[172] || CT.C172; + return C[181] || CT.C181; } }, false); var message$4 = dart.privateName(io, "SignalException.message"); @@ -53812,6 +57775,10 @@ define([], (function load__dart_sdk() { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); + return new io.SignalException.new(message, osError); + } toString() { let msg = ""; if (this.osError != null) { @@ -53821,7 +57788,7 @@ define([], (function load__dart_sdk() { } }; (io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); this[message$4] = message; this[osError$0] = osError; ; @@ -53829,7 +57796,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.SignalException); dart.addTypeCaches(io.SignalException); io.SignalException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.SignalException, I[105]); + dart.setLibraryUri(io.SignalException, I[108]); dart.setFieldSignature(io.SignalException, () => ({ __proto__: dart.getFields(io.SignalException.__proto__), message: dart.finalFieldType(core.String), @@ -53865,16 +57832,23 @@ define([], (function load__dart_sdk() { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); + return new io.ProcessException.new(executable, $arguments, message, errorCode); + } toString() { let args = this.arguments[$join](" "); return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); } }; (io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { - if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); - if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); - if (message == null) dart.nullFailed(I[122], 626, 13, "message"); - if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); this[executable$] = executable; this[$arguments$] = $arguments; this[message$5] = message; @@ -53884,7 +57858,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.ProcessException); dart.addTypeCaches(io.ProcessException); io.ProcessException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.ProcessException, I[105]); + dart.setLibraryUri(io.ProcessException, I[108]); dart.setFieldSignature(io.ProcessException, () => ({ __proto__: dart.getFields(io.ProcessException.__proto__), executable: dart.finalFieldType(core.String), @@ -53898,52 +57872,65 @@ define([], (function load__dart_sdk() { var _onCancel$ = dart.privateName(io, "_onCancel"); var _detachRaw = dart.privateName(io, "_detachRaw"); io.SecureSocket = class SecureSocket extends core.Object { + static ['_#_#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 559, 42, "rawSocket"); + return io.SecureSocket.__(rawSocket); + } static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + if (port == null) dart.nullFailed(I[127], 54, 49, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[127], 66, 16, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + if (port == null) dart.nullFailed(I[127], 72, 70, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[127], 82, 16, "rawState"); let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[127], 84, 33, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + if (socket == null) dart.nullFailed(I[127], 141, 45, "socket"); let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 147, 55, "detachedRaw"); + return io.RawSecureSocket.secure(io.RawSocket.as(detachedRaw[$_get](0)), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), host: host, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 155, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + if (socket == null) dart.nullFailed(I[127], 179, 14, "socket"); let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 181, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 184, 55, "detachedRaw"); + return io.RawSecureSocket.secureServer(io.RawSocket.as(detachedRaw[$_get](0)), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 191, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } @@ -53953,23 +57940,28 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.SecureSocket); dart.addTypeCaches(io.SecureSocket); io.SecureSocket[dart.implements] = () => [io.Socket]; - dart.setLibraryUri(io.SecureSocket, I[105]); + dart.setStaticMethodSignature(io.SecureSocket, () => ['__', 'connect', 'startConnect', 'secure', 'secureServer']); + dart.setLibraryUri(io.SecureSocket, I[108]); io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static ['_#_#tearOff'](_socket) { + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); + return new io.SecureServerSocket.__(_socket); + } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + if (port == null) dart.nullFailed(I[126], 67, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 68, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 69, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 70, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 71, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 73, 12, "shared"); return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 81, 16, "serverSocket"); return new io.SecureServerSocket.__(serverSocket); }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53978,7 +57970,7 @@ define([], (function load__dart_sdk() { let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[126], 86, 25, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } @@ -53990,7 +57982,7 @@ define([], (function load__dart_sdk() { } close() { return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); return this; }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53999,18 +57991,20 @@ define([], (function load__dart_sdk() { } }; (io.SecureServerSocket.__ = function(_socket) { - if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); this[_socket$] = _socket; io.SecureServerSocket.__proto__.new.call(this); ; }).prototype = io.SecureServerSocket.prototype; dart.addTypeTests(io.SecureServerSocket); dart.addTypeCaches(io.SecureServerSocket); + io.SecureServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.SecureSocket)]; dart.setMethodSignature(io.SecureServerSocket, () => ({ __proto__: dart.getMethods(io.SecureServerSocket.__proto__), listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), close: dart.fnType(async.Future$(io.SecureServerSocket), []) })); + dart.setStaticMethodSignature(io.SecureServerSocket, () => ['bind']); dart.setGetterSignature(io.SecureServerSocket, () => ({ __proto__: dart.getGetters(io.SecureServerSocket.__proto__), port: core.int, @@ -54020,7 +58014,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(io.SecureServerSocket.__proto__), [_owner]: dart.dynamic })); - dart.setLibraryUri(io.SecureServerSocket, I[105]); + dart.setLibraryUri(io.SecureServerSocket, I[108]); dart.setFieldSignature(io.SecureServerSocket, () => ({ __proto__: dart.getFields(io.SecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) @@ -54037,50 +58031,53 @@ define([], (function load__dart_sdk() { var _onData$0 = dart.privateName(io, "_onData"); io.RawSecureSocket = class RawSecureSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + if (port == null) dart.nullFailed(I[127], 273, 52, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; io._RawSecureSocket._verifyFields(host, port, false, false); return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); - return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (socket == null) dart.nullFailed(I[127], 280, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + if (port == null) dart.nullFailed(I[127], 292, 73, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + if (rawState == null) dart.nullFailed(I[127], 298, 42, "rawState"); let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); - return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (rawSocket == null) dart.nullFailed(I[127], 299, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + if (socket == null) dart.nullFailed(I[127], 362, 51, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; - return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + if (socket == null) dart.nullFailed(I[127], 403, 17, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 406, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 407, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; @@ -54093,7 +58090,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.RawSecureSocket); dart.addTypeCaches(io.RawSecureSocket); io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; - dart.setLibraryUri(io.RawSecureSocket, I[105]); + dart.setStaticMethodSignature(io.RawSecureSocket, () => ['connect', 'startConnect', 'secure', 'secureServer']); + dart.setLibraryUri(io.RawSecureSocket, I[108]); io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { get requestClientCertificate() { return this[requestClientCertificate$]; @@ -54114,29 +58112,35 @@ define([], (function load__dart_sdk() { super.supportedProtocols = value; } get [_controller]() { - let t203; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t180; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t203) { - if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); this[__RawSecureServerSocket__controller_isSet] = true; - this[__RawSecureServerSocket__controller] = t203; + this[__RawSecureServerSocket__controller] = _controller$35param; + } + static ['_#_#tearOff'](_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); + return new io.RawSecureServerSocket.__(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols); } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + if (port == null) dart.nullFailed(I[126], 187, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 188, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 189, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 190, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 191, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 193, 12, "shared"); return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 196, 16, "serverSocket"); return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); }, T$0.RawServerSocketToRawSecureServerSocket())); } @@ -54155,12 +58159,12 @@ define([], (function load__dart_sdk() { close() { this[_closed] = true; return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); return this; }, T$0.RawServerSocketToRawSecureServerSocket())); } [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); let remotePort = null; try { remotePort = connection.remotePort; @@ -54172,7 +58176,7 @@ define([], (function load__dart_sdk() { throw e$; } io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { - if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (secureConnection == null) dart.nullFailed(I[126], 239, 32, "secureConnection"); if (dart.test(this[_closed])) { secureConnection.close(); } else { @@ -54199,13 +58203,13 @@ define([], (function load__dart_sdk() { } } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } }; (io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { - if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); this[__RawSecureServerSocket__controller] = null; this[__RawSecureServerSocket__controller_isSet] = false; this[_subscription$] = null; @@ -54228,6 +58232,7 @@ define([], (function load__dart_sdk() { [_onPauseStateChange]: dart.fnType(dart.void, []), [_onSubscriptionStateChange]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(io.RawSecureServerSocket, () => ['bind']); dart.setGetterSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), [_controller]: async.StreamController$(io.RawSecureSocket), @@ -54239,7 +58244,7 @@ define([], (function load__dart_sdk() { [_controller]: async.StreamController$(io.RawSecureSocket), [_owner]: dart.dynamic })); - dart.setLibraryUri(io.RawSecureServerSocket, I[105]); + dart.setLibraryUri(io.RawSecureServerSocket, I[108]); dart.setFieldSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawServerSocket), @@ -54252,13 +58257,22 @@ define([], (function load__dart_sdk() { supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), [_closed]: dart.fieldType(core.bool) })); - io.X509Certificate = class X509Certificate extends core.Object {}; + io.X509Certificate = class X509Certificate extends core.Object { + static ['_#_#tearOff']() { + return io.X509Certificate.__(); + } + }; (io.X509Certificate[dart.mixinNew] = function() { }).prototype = io.X509Certificate.prototype; dart.addTypeTests(io.X509Certificate); dart.addTypeCaches(io.X509Certificate); - dart.setLibraryUri(io.X509Certificate, I[105]); - io._FilterStatus = class _FilterStatus extends core.Object {}; + dart.setStaticMethodSignature(io.X509Certificate, () => ['__']); + dart.setLibraryUri(io.X509Certificate, I[108]); + io._FilterStatus = class _FilterStatus extends core.Object { + static ['_#new#tearOff']() { + return new io._FilterStatus.new(); + } + }; (io._FilterStatus.new = function() { this.progress = false; this.readEmpty = true; @@ -54271,7 +58285,7 @@ define([], (function load__dart_sdk() { }).prototype = io._FilterStatus.prototype; dart.addTypeTests(io._FilterStatus); dart.addTypeCaches(io._FilterStatus); - dart.setLibraryUri(io._FilterStatus, I[105]); + dart.setLibraryUri(io._FilterStatus, I[108]); dart.setFieldSignature(io._FilterStatus, () => ({ __proto__: dart.getFields(io._FilterStatus.__proto__), progress: dart.fieldType(core.bool), @@ -54282,6 +58296,13 @@ define([], (function load__dart_sdk() { readEncryptedNoLongerFull: dart.fieldType(core.bool), writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) })); + io._RawSocketBase = class _RawSocketBase extends core.Object {}; + (io._RawSocketBase.new = function() { + ; + }).prototype = io._RawSocketBase.prototype; + dart.addTypeTests(io._RawSocketBase); + dart.addTypeCaches(io._RawSocketBase); + dart.setLibraryUri(io._RawSocketBase, I[108]); var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); @@ -54308,6 +58329,7 @@ define([], (function load__dart_sdk() { var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); var _reportError = dart.privateName(io, "_reportError"); var _doneHandler = dart.privateName(io, "_doneHandler"); + var _closedReadEventSent = dart.privateName(io, "_closedReadEventSent"); var _secureHandshake = dart.privateName(io, "_secureHandshake"); var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); @@ -54332,80 +58354,74 @@ define([], (function load__dart_sdk() { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); + return new io.RawSocketEvent.__(_value); + } toString() { - return (C[173] || CT.C173)[$_get](this[_value$0]); + return (C[182] || CT.C182)[$_get](this[_value$0]); } }; (io.RawSocketEvent.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); this[_value$] = _value; ; }).prototype = io.RawSocketEvent.prototype; dart.addTypeTests(io.RawSocketEvent); dart.addTypeCaches(io.RawSocketEvent); - dart.setLibraryUri(io.RawSocketEvent, I[105]); + dart.setLibraryUri(io.RawSocketEvent, I[108]); dart.setFieldSignature(io.RawSocketEvent, () => ({ __proto__: dart.getFields(io.RawSocketEvent.__proto__), [_value$0]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.RawSocketEvent, () => ['read', 'write', 'readClosed', 'closed']); dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); dart.defineLazy(io.RawSocketEvent, { /*io.RawSocketEvent.read*/get read() { - return C[174] || CT.C174; + return C[183] || CT.C183; }, /*io.RawSocketEvent.write*/get write() { - return C[175] || CT.C175; + return C[184] || CT.C184; }, /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[176] || CT.C176; + return C[185] || CT.C185; }, /*io.RawSocketEvent.closed*/get closed() { - return C[177] || CT.C177; - }, - /*io.RawSocketEvent.READ*/get READ() { - return C[174] || CT.C174; - }, - /*io.RawSocketEvent.WRITE*/get WRITE() { - return C[175] || CT.C175; - }, - /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { - return C[176] || CT.C176; - }, - /*io.RawSocketEvent.CLOSED*/get CLOSED() { - return C[177] || CT.C177; + return C[186] || CT.C186; } }, false); io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); return dart.notNull(identifier) >= 2; } get [_socketSubscription]() { - let t206; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + let t183; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); } - set [_socketSubscription](t206) { - if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + set [_socketSubscription](_socketSubscription$35param) { + if (_socketSubscription$35param == null) dart.nullFailed(I[127], 511, 49, "_socketSubscription#param"); if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); else { this[___RawSecureSocket__socketSubscription_isSet] = true; - this[___RawSecureSocket__socketSubscription] = t206; + this[___RawSecureSocket__socketSubscription] = _socketSubscription$35param; } } static connect(host, requestedPort, isServer, socket, opts) { - let t207; - if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); - if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let t183; + if (requestedPort == null) dart.nullFailed(I[127], 544, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 545, 12, "isServer"); + if (socket == null) dart.nullFailed(I[127], 546, 17, "socket"); let context = opts && 'context' in opts ? opts.context : null; let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 550, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 551, 12, "requireClientCertificate"); let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); if (io.InternetAddress.is(host)) host = host.host; @@ -54413,7 +58429,17 @@ define([], (function load__dart_sdk() { if (host != null) { address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); } - return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t183 = context, t183 == null ? io.SecurityContext.defaultContext : t183), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols)[_handshakeComplete].future; + } + static ['_#new#tearOff'](address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); + return new io._RawSecureSocket.new(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -54423,9 +58449,9 @@ define([], (function load__dart_sdk() { return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { - if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (requestedPort == null) dart.nullFailed(I[127], 669, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 670, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 670, 43, "requireClientCertificate"); if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); } @@ -54446,7 +58472,7 @@ define([], (function load__dart_sdk() { return this[_socket$].remotePort; } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } available() { return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; @@ -54459,6 +58485,7 @@ define([], (function load__dart_sdk() { if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); } [_close$]() { + let t183; this[_closedWrite] = true; this[_closedRead] = true; this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); @@ -54468,6 +58495,8 @@ define([], (function load__dart_sdk() { dart.nullCheck(this[_secureFilter]).destroy(); this[_secureFilter] = null; } + t183 = this.keyLogPort; + t183 == null ? null : t183.close(); if (this[_socketSubscription] != null) { this[_socketSubscription].cancel(); } @@ -54475,7 +58504,7 @@ define([], (function load__dart_sdk() { this[_status] = 203; } shutdown(direction) { - if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (direction == null) dart.nullFailed(I[127], 729, 33, "direction"); if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { this[_closedWrite] = true; if (dart.test(this[_filterStatus].writeEmpty)) { @@ -54499,7 +58528,7 @@ define([], (function load__dart_sdk() { return this[_writeEventsEnabled]; } set writeEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + if (value == null) dart.nullFailed(I[127], 754, 36, "value"); this[_writeEventsEnabled] = value; if (dart.test(value)) { async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); @@ -54509,7 +58538,7 @@ define([], (function load__dart_sdk() { return this[_readEventsEnabled]; } set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + if (value == null) dart.nullFailed(I[127], 763, 35, "value"); this[_readEventsEnabled] = value; this[_scheduleReadEvent](); } @@ -54527,14 +58556,17 @@ define([], (function load__dart_sdk() { this[_scheduleFilter](); return result; } + readMessage(count = null) { + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } static _fixOffset(offset) { - let t207; - t207 = offset; - return t207 == null ? 0 : t207; + let t183; + t183 = offset; + return t183 == null ? 0 : t183; } write(data, offset = 0, bytes = null) { - if (data == null) dart.nullFailed(I[124], 675, 23, "data"); - if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (data == null) dart.nullFailed(I[127], 791, 23, "data"); + if (offset == null) dart.nullFailed(I[127], 791, 34, "offset"); if (bytes != null && dart.notNull(bytes) < 0) { dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); } @@ -54555,6 +58587,12 @@ define([], (function load__dart_sdk() { this[_scheduleFilter](); return written; } + sendMessage(controlMessages, data, offset = 0, count = null) { + if (controlMessages == null) dart.nullFailed(I[127], 818, 46, "controlMessages"); + if (data == null) dart.nullFailed(I[127], 818, 73, "data"); + if (offset == null) dart.nullFailed(I[127], 819, 12, "offset"); + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } get peerCertificate() { return dart.nullCheck(this[_secureFilter]).peerCertificate; } @@ -54562,25 +58600,25 @@ define([], (function load__dart_sdk() { return this[_selectedProtocol]; } [_onBadCertificateWrapper](certificate) { - if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (certificate == null) dart.nullFailed(I[127], 827, 49, "certificate"); if (this.onBadCertificate == null) return false; return dart.nullCheck(this.onBadCertificate)(certificate); } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[124], 711, 31, "option"); - if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + if (option == null) dart.nullFailed(I[127], 832, 31, "option"); + if (enabled == null) dart.nullFailed(I[127], 832, 44, "enabled"); return this[_socket$].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + if (option == null) dart.nullFailed(I[127], 836, 42, "option"); return this[_socket$].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + if (option == null) dart.nullFailed(I[127], 840, 37, "option"); this[_socket$].setRawOption(option); } [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + if (event == null) dart.nullFailed(I[127], 844, 40, "event"); try { if (dart.equals(event, io.RawSocketEvent.read)) { this[_readHandler](); @@ -54669,15 +58707,14 @@ define([], (function load__dart_sdk() { } renegotiate(opts) { let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + if (useSessionCache == null) dart.nullFailed(I[127], 932, 13, "useSessionCache"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 933, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 934, 12, "requireClientCertificate"); if (this[_status] !== 202) { dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); } - dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); this[_status] = 201; this[_filterStatus].writeEmpty = false; this[_scheduleFilter](); @@ -54793,7 +58830,7 @@ define([], (function load__dart_sdk() { }).bind(this)); } [_readSocketOrBufferedData](bytes) { - if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + if (bytes == null) dart.nullFailed(I[127], 1053, 44, "bytes"); let bufferedData = this[_bufferedData$]; if (bufferedData != null) { if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { @@ -54857,22 +58894,22 @@ define([], (function load__dart_sdk() { args[$_set](2 * i + 2, bufs[$_get](i).start); args[$_set](2 * i + 3, bufs[$_get](i).end); } - let response = (yield io._IOService._dispatch(42, args)); - if (dart.equals(dart.dload(response, 'length'), 2)) { + let response = T$.ListOfObjectN().as(yield io._IOService._dispatch(43, args)); + if (response[$length] === 2) { if (wasInHandshake) { - this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.HandshakeException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } else { - this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.TlsException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } } function start(index) { - if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + if (index == null) dart.nullFailed(I[127], 1154, 19, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index))); } dart.fn(start, T$0.intToint()); function end(index) { - if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + if (index == null) dart.nullFailed(I[127], 1155, 17, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index) + 1)); } dart.fn(end, T$0.intToint()); let status = new io._FilterStatus.new(); @@ -54919,20 +58956,21 @@ define([], (function load__dart_sdk() { }).bind(this)); } }; - (io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { - let t205, t205$; - if (address == null) dart.nullFailed(I[124], 486, 12, "address"); - if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); - if (context == null) dart.nullFailed(I[124], 489, 12, "context"); - if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); + (io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + let t181, t182; + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); this[___RawSecureSocket__socketSubscription] = null; this[___RawSecureSocket__socketSubscription_isSet] = false; this[_bufferedDataIndex] = 0; + this.keyLogPort = null; this[_status] = 201; this[_writeEventsEnabled] = true; this[_readEventsEnabled] = true; @@ -54957,18 +58995,37 @@ define([], (function load__dart_sdk() { this.requestClientCertificate = requestClientCertificate; this.requireClientCertificate = requireClientCertificate; this.onBadCertificate = onBadCertificate; + this.keyLog = keyLog; io._RawSecureSocket.__proto__.new.call(this); - t205 = this[_controller]; + t181 = this[_controller]; (() => { - t205.onListen = dart.bind(this, _onSubscriptionStateChange); - t205.onPause = dart.bind(this, _onPauseStateChange); - t205.onResume = dart.bind(this, _onPauseStateChange); - t205.onCancel = dart.bind(this, _onSubscriptionStateChange); - return t205; + t181.onListen = dart.bind(this, _onSubscriptionStateChange); + t181.onPause = dart.bind(this, _onPauseStateChange); + t181.onResume = dart.bind(this, _onPauseStateChange); + t181.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t181; })(); let secureFilter = dart.nullCheck(this[_secureFilter]); secureFilter.init(); secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.keyLog != null) { + let port = new isolate$._ReceivePort.new(); + port.listen(dart.fn(line => { + try { + dart.nullCheck(this.keyLog)(dart.notNull(core.String.as(line)) + "\n"); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + io.stderr.writeln("Failure in keyLog callback:"); + io.stderr.writeln(s); + } else + throw e$; + } + }, T$.dynamicTovoid())); + secureFilter.registerKeyLogPort(port.sendPort); + this.keyLogPort = port; + } if (this.onBadCertificate != null) { secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); } @@ -54982,16 +59039,15 @@ define([], (function load__dart_sdk() { this[_socket$].close(); dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); } - let s = this[_socket$]; - if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { this[_eventDispatcher](io.RawSocketEvent.readClosed); } - t205$ = this[_socketSubscription]; + t182 = this[_socketSubscription]; (() => { - t205$.onData(dart.bind(this, _eventDispatcher)); - t205$.onError(dart.bind(this, _reportError)); - t205$.onDone(dart.bind(this, _doneHandler)); - return t205$; + t182.onData(dart.bind(this, _eventDispatcher)); + t182.onError(dart.bind(this, _reportError)); + t182.onDone(dart.bind(this, _doneHandler)); + return t182; })(); } try { @@ -55019,7 +59075,9 @@ define([], (function load__dart_sdk() { [_close$]: dart.fnType(dart.void, []), shutdown: dart.fnType(dart.void, [io.SocketDirection]), read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + readMessage: dart.fnType(dart.nullable(io.SocketMessage), [], [dart.nullable(core.int)]), write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + sendMessage: dart.fnType(core.int, [core.List$(io.SocketControlMessage), core.List$(core.int)], [core.int, dart.nullable(core.int)]), [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), @@ -55045,6 +59103,7 @@ define([], (function load__dart_sdk() { [_sendWriteEvent]: dart.fnType(dart.dynamic, []), [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) })); + dart.setStaticMethodSignature(io._RawSecureSocket, () => ['_isBufferEncrypted', 'connect', '_verifyFields', '_fixOffset']); dart.setGetterSignature(io._RawSecureSocket, () => ({ __proto__: dart.getGetters(io._RawSecureSocket.__proto__), [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), @@ -55063,7 +59122,7 @@ define([], (function load__dart_sdk() { writeEventsEnabled: core.bool, readEventsEnabled: core.bool })); - dart.setLibraryUri(io._RawSecureSocket, I[105]); + dart.setLibraryUri(io._RawSecureSocket, I[108]); dart.setFieldSignature(io._RawSecureSocket, () => ({ __proto__: dart.getFields(io._RawSecureSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSocket), @@ -55079,6 +59138,8 @@ define([], (function load__dart_sdk() { requestClientCertificate: dart.finalFieldType(core.bool), requireClientCertificate: dart.finalFieldType(core.bool), onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + keyLog: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + keyLogPort: dart.fieldType(dart.nullable(isolate$.ReceivePort)), [_status]: dart.fieldType(core.int), [_writeEventsEnabled]: dart.fieldType(core.bool), [_readEventsEnabled]: dart.fieldType(core.bool), @@ -55096,6 +59157,7 @@ define([], (function load__dart_sdk() { [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) })); + dart.setStaticFieldSignature(io._RawSecureSocket, () => ['handshakeStatus', 'connectedStatus', 'closedStatus', 'readPlaintextId', 'writePlaintextId', 'readEncryptedId', 'writeEncryptedId', 'bufferCount']); dart.defineLazy(io._RawSecureSocket, { /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { return 201; @@ -55123,24 +59185,28 @@ define([], (function load__dart_sdk() { } }, false); io._ExternalBuffer = class _ExternalBuffer extends core.Object { + static ['_#new#tearOff'](size) { + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); + return new io._ExternalBuffer.new(size); + } advanceStart(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); - if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + if (bytes == null) dart.nullFailed(I[127], 1232, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1233, 12, "start > end || start + bytes <= end"); this.start = dart.notNull(this.start) + dart.notNull(bytes); if (dart.notNull(this.start) >= dart.notNull(this.size)) { this.start = dart.notNull(this.start) - dart.notNull(this.size); - if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); - if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1237, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1238, 14, "start < size"); } } advanceEnd(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); - if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + if (bytes == null) dart.nullFailed(I[127], 1242, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[127], 1243, 12, "start <= end || start > end + bytes"); this.end = dart.notNull(this.end) + dart.notNull(bytes); if (dart.notNull(this.end) >= dart.notNull(this.size)) { this.end = dart.notNull(this.end) - dart.notNull(this.size); - if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); - if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[127], 1247, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1248, 14, "end < size"); } } get isEmpty() { @@ -55178,9 +59244,9 @@ define([], (function load__dart_sdk() { return result; } write(inputData, offset, bytes) { - if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); - if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); - if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (inputData == null) dart.nullFailed(I[127], 1285, 23, "inputData"); + if (offset == null) dart.nullFailed(I[127], 1285, 38, "offset"); + if (bytes == null) dart.nullFailed(I[127], 1285, 50, "bytes"); if (dart.notNull(bytes) > dart.notNull(this.free)) { bytes = this.free; } @@ -55196,7 +59262,7 @@ define([], (function load__dart_sdk() { return written; } writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); let written = 0; let toWrite = this.linearFree; while (dart.notNull(toWrite) > 0) { @@ -55211,7 +59277,7 @@ define([], (function load__dart_sdk() { return written; } readToSocket(socket) { - if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); while (true) { let toWrite = this.linearLength; if (toWrite === 0) return false; @@ -55224,7 +59290,7 @@ define([], (function load__dart_sdk() { } }; (io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); this.data = null; this.size = size; this.start = (dart.notNull(size) / 2)[$truncate](); @@ -55250,7 +59316,7 @@ define([], (function load__dart_sdk() { free: core.int, linearFree: core.int })); - dart.setLibraryUri(io._ExternalBuffer, I[105]); + dart.setLibraryUri(io._ExternalBuffer, I[108]); dart.setFieldSignature(io._ExternalBuffer, () => ({ __proto__: dart.getFields(io._ExternalBuffer.__proto__), data: dart.fieldType(dart.nullable(core.List$(core.int))), @@ -55258,12 +59324,17 @@ define([], (function load__dart_sdk() { end: dart.fieldType(core.int), size: dart.finalFieldType(core.int) })); - io._SecureFilter = class _SecureFilter extends core.Object {}; + io._SecureFilter = class _SecureFilter extends core.Object { + static ['_#_#tearOff']() { + return io._SecureFilter.__(); + } + }; (io._SecureFilter[dart.mixinNew] = function() { }).prototype = io._SecureFilter.prototype; dart.addTypeTests(io._SecureFilter); dart.addTypeCaches(io._SecureFilter); - dart.setLibraryUri(io._SecureFilter, I[105]); + dart.setStaticMethodSignature(io._SecureFilter, () => ['__']); + dart.setLibraryUri(io._SecureFilter, I[108]); var type$3 = dart.privateName(io, "TlsException.type"); var message$6 = dart.privateName(io, "TlsException.message"); var osError$1 = dart.privateName(io, "TlsException.osError"); @@ -55286,6 +59357,15 @@ define([], (function load__dart_sdk() { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); + return new io.TlsException.new(message, osError); + } + static ['_#_#tearOff'](type, message, osError) { + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); + return new io.TlsException.__(type, message, osError); + } toString() { let sb = new core.StringBuffer.new(); sb.write(this.type); @@ -55301,12 +59381,12 @@ define([], (function load__dart_sdk() { } }; (io.TlsException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); io.TlsException.__.call(this, "TlsException", message, osError); }).prototype = io.TlsException.prototype; (io.TlsException.__ = function(type, message, osError) { - if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); - if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); this[type$3] = type; this[message$6] = message; this[osError$1] = osError; @@ -55315,7 +59395,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.TlsException); dart.addTypeCaches(io.TlsException); io.TlsException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.TlsException, I[105]); + dart.setLibraryUri(io.TlsException, I[108]); dart.setFieldSignature(io.TlsException, () => ({ __proto__: dart.getFields(io.TlsException.__proto__), type: dart.finalFieldType(core.String), @@ -55323,30 +59403,45 @@ define([], (function load__dart_sdk() { osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.TlsException, ['toString']); - io.HandshakeException = class HandshakeException extends io.TlsException {}; + io.HandshakeException = class HandshakeException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); + return new io.HandshakeException.new(message, osError); + } + }; (io.HandshakeException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); ; }).prototype = io.HandshakeException.prototype; dart.addTypeTests(io.HandshakeException); dart.addTypeCaches(io.HandshakeException); - dart.setLibraryUri(io.HandshakeException, I[105]); - io.CertificateException = class CertificateException extends io.TlsException {}; + dart.setLibraryUri(io.HandshakeException, I[108]); + io.CertificateException = class CertificateException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); + return new io.CertificateException.new(message, osError); + } + }; (io.CertificateException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); ; }).prototype = io.CertificateException.prototype; dart.addTypeTests(io.CertificateException); dart.addTypeCaches(io.CertificateException); - dart.setLibraryUri(io.CertificateException, I[105]); + dart.setLibraryUri(io.CertificateException, I[108]); io.SecurityContext = class SecurityContext extends core.Object { static new(opts) { let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; - if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); } + static ['_#new#tearOff'](opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); + return io.SecurityContext.new({withTrustedRoots: withTrustedRoots}); + } static get defaultContext() { dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); } @@ -55354,7 +59449,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); } static _protocolsToLengthEncoding(protocols) { - let t211, t211$; + let t187, t187$; if (protocols == null || protocols[$length] === 0) { return _native_typed_data.NativeUint8List.new(0); } @@ -55375,12 +59470,12 @@ define([], (function load__dart_sdk() { let bytesOffset = 0; for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { let proto = protocols[$_get](i); - bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + bytes[$_set]((t187 = bytesOffset, bytesOffset = t187 + 1, t187), proto.length); let bits = 0; for (let j = 0; j < proto.length; j = j + 1) { let char = proto[$codeUnitAt](j); bits = (bits | char) >>> 0; - bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + bytes[$_set]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); } if (bits > 127) { return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); @@ -55389,10 +59484,10 @@ define([], (function load__dart_sdk() { return bytes; } static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); function addProtocol(outBytes, protocol) { - if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); - if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + if (outBytes == null) dart.nullFailed(I[129], 244, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[129], 244, 49, "protocol"); let protocolBytes = convert.utf8.encode(protocol); let len = protocolBytes[$length]; if (dart.notNull(len) > 255) { @@ -55416,7 +59511,9 @@ define([], (function load__dart_sdk() { }).prototype = io.SecurityContext.prototype; dart.addTypeTests(io.SecurityContext); dart.addTypeCaches(io.SecurityContext); - dart.setLibraryUri(io.SecurityContext, I[105]); + dart.setStaticMethodSignature(io.SecurityContext, () => ['new', '_protocolsToLengthEncoding', '_protocolsToLengthEncodingNonAsciiBailout']); + dart.setStaticGetterSignature(io.SecurityContext, () => ['defaultContext', 'alpnSupported']); + dart.setLibraryUri(io.SecurityContext, I[108]); var __serviceId = dart.privateName(io, "__serviceId"); var _serviceId = dart.privateName(io, "_serviceId"); var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); @@ -55425,15 +59522,15 @@ define([], (function load__dart_sdk() { var _serviceType = dart.privateName(io, "_serviceType"); io._ServiceObject = class _ServiceObject extends core.Object { get [_serviceId]() { - let t211; - if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + let t187; + if (this[__serviceId] === 0) this[__serviceId] = (t187 = io._nextServiceId, io._nextServiceId = dart.notNull(t187) + 1, t187); return this[__serviceId]; } get [_servicePath]() { return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); } [_serviceType](ref) { - if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (ref == null) dart.nullFailed(I[130], 23, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); return this[_serviceTypeName]; } @@ -55453,7 +59550,7 @@ define([], (function load__dart_sdk() { [_serviceId]: core.int, [_servicePath]: core.String })); - dart.setLibraryUri(io._ServiceObject, I[105]); + dart.setLibraryUri(io._ServiceObject, I[108]); dart.setFieldSignature(io._ServiceObject, () => ({ __proto__: dart.getFields(io._ServiceObject.__proto__), [__serviceId]: dart.fieldType(core.int) @@ -55466,108 +59563,107 @@ define([], (function load__dart_sdk() { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); + return new io.InternetAddressType.__(_value); + } static _from(value) { - if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); } + static ['_#_from#tearOff'](value) { + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); + return io.InternetAddressType._from(value); + } get name() { - return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + return (C[187] || CT.C187)[$_get](dart.notNull(this[_value$0]) + 1); } toString() { return "InternetAddressType: " + dart.str(this.name); } }; (io.InternetAddressType.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); this[_value$1] = _value; ; }).prototype = io.InternetAddressType.prototype; dart.addTypeTests(io.InternetAddressType); dart.addTypeCaches(io.InternetAddressType); + dart.setStaticMethodSignature(io.InternetAddressType, () => ['_from']); dart.setGetterSignature(io.InternetAddressType, () => ({ __proto__: dart.getGetters(io.InternetAddressType.__proto__), name: core.String })); - dart.setLibraryUri(io.InternetAddressType, I[105]); + dart.setLibraryUri(io.InternetAddressType, I[108]); dart.setFieldSignature(io.InternetAddressType, () => ({ __proto__: dart.getFields(io.InternetAddressType.__proto__), [_value$0]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(io.InternetAddressType, () => ['IPv4', 'IPv6', 'unix', 'any']); dart.defineExtensionMethods(io.InternetAddressType, ['toString']); dart.defineLazy(io.InternetAddressType, { /*io.InternetAddressType.IPv4*/get IPv4() { - return C[179] || CT.C179; + return C[188] || CT.C188; }, /*io.InternetAddressType.IPv6*/get IPv6() { - return C[180] || CT.C180; + return C[189] || CT.C189; }, /*io.InternetAddressType.unix*/get unix() { - return C[181] || CT.C181; + return C[190] || CT.C190; }, /*io.InternetAddressType.any*/get any() { - return C[182] || CT.C182; - }, - /*io.InternetAddressType.IP_V4*/get IP_V4() { - return C[179] || CT.C179; - }, - /*io.InternetAddressType.IP_V6*/get IP_V6() { - return C[180] || CT.C180; - }, - /*io.InternetAddressType.ANY*/get ANY() { - return C[182] || CT.C182; + return C[191] || CT.C191; } }, false); io.InternetAddress = class InternetAddress extends core.Object { static get loopbackIPv4() { - return io.InternetAddress.LOOPBACK_IP_V4; - } - static get LOOPBACK_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); } static get loopbackIPv6() { - return io.InternetAddress.LOOPBACK_IP_V6; - } - static get LOOPBACK_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); } static get anyIPv4() { - return io.InternetAddress.ANY_IP_V4; - } - static get ANY_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); } static get anyIPv6() { - return io.InternetAddress.ANY_IP_V6; - } - static get ANY_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); } static new(address, opts) { - if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress")); } + static ['_#new#tearOff'](address, opts) { + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.new(address, {type: type}); + } static fromRawAddress(rawAddress, opts) { - if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); } + static ['_#fromRawAddress#tearOff'](rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.fromRawAddress(rawAddress, {type: type}); + } static lookup(host, opts) { - if (host == null) dart.nullFailed(I[107], 423, 54, "host"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + if (host == null) dart.nullFailed(I[110], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 424, 28, "type"); dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); } static _cloneWithNewHost(address, host) { - if (address == null) dart.nullFailed(I[107], 430, 23, "address"); - if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + if (address == null) dart.nullFailed(I[110], 430, 23, "address"); + if (host == null) dart.nullFailed(I[110], 430, 39, "host"); dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); } static tryParse(address) { - if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + if (address == null) dart.nullFailed(I[110], 435, 43, "address"); dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); } }; @@ -55575,18 +59671,20 @@ define([], (function load__dart_sdk() { }).prototype = io.InternetAddress.prototype; dart.addTypeTests(io.InternetAddress); dart.addTypeCaches(io.InternetAddress); - dart.setLibraryUri(io.InternetAddress, I[105]); + dart.setStaticMethodSignature(io.InternetAddress, () => ['new', 'fromRawAddress', 'lookup', '_cloneWithNewHost', 'tryParse']); + dart.setStaticGetterSignature(io.InternetAddress, () => ['loopbackIPv4', 'loopbackIPv6', 'anyIPv4', 'anyIPv6']); + dart.setLibraryUri(io.InternetAddress, I[108]); io.NetworkInterface = class NetworkInterface extends core.Object { static get listSupported() { dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); } static list(opts) { let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; - if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + if (includeLoopback == null) dart.nullFailed(I[110], 449, 13, "includeLoopback"); let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + if (includeLinkLocal == null) dart.nullFailed(I[110], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 451, 27, "type"); dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); } }; @@ -55595,16 +59693,18 @@ define([], (function load__dart_sdk() { }).prototype = io.NetworkInterface.prototype; dart.addTypeTests(io.NetworkInterface); dart.addTypeCaches(io.NetworkInterface); - dart.setLibraryUri(io.NetworkInterface, I[105]); + dart.setStaticMethodSignature(io.NetworkInterface, () => ['list']); + dart.setStaticGetterSignature(io.NetworkInterface, () => ['listSupported']); + dart.setLibraryUri(io.NetworkInterface, I[108]); io.RawServerSocket = class RawServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + if (port == null) dart.nullFailed(I[110], 459, 52, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 460, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 460, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); } }; @@ -55615,16 +59715,17 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.RawServerSocket); dart.addTypeCaches(io.RawServerSocket); io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; - dart.setLibraryUri(io.RawServerSocket, I[105]); + dart.setStaticMethodSignature(io.RawServerSocket, () => ['bind']); + dart.setLibraryUri(io.RawServerSocket, I[108]); io.ServerSocket = class ServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + if (port == null) dart.nullFailed(I[128], 303, 49, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[128], 304, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[128], 304, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + if (shared == null) dart.nullFailed(I[128], 304, 51, "shared"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); @@ -55632,24 +59733,24 @@ define([], (function load__dart_sdk() { return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } static _bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + if (port == null) dart.nullFailed(I[110], 468, 50, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 469, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 469, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 469, 51, "shared"); dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); } }; (io.ServerSocket.new = function() { ; }).prototype = io.ServerSocket.prototype; - io.ServerSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.ServerSocket); dart.addTypeCaches(io.ServerSocket); - io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; - dart.setLibraryUri(io.ServerSocket, I[105]); + io.ServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.Socket)]; + dart.setStaticMethodSignature(io.ServerSocket, () => ['bind', '_bind']); + dart.setLibraryUri(io.ServerSocket, I[108]); var _value$2 = dart.privateName(io, "SocketDirection._value"); io.SocketDirection = class SocketDirection extends core.Object { get [_value$0]() { @@ -55658,6 +59759,9 @@ define([], (function load__dart_sdk() { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketDirection.__(_value); + } }; (io.SocketDirection.__ = function(_value) { this[_value$2] = _value; @@ -55665,29 +59769,21 @@ define([], (function load__dart_sdk() { }).prototype = io.SocketDirection.prototype; dart.addTypeTests(io.SocketDirection); dart.addTypeCaches(io.SocketDirection); - dart.setLibraryUri(io.SocketDirection, I[105]); + dart.setLibraryUri(io.SocketDirection, I[108]); dart.setFieldSignature(io.SocketDirection, () => ({ __proto__: dart.getFields(io.SocketDirection.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); + dart.setStaticFieldSignature(io.SocketDirection, () => ['receive', 'send', 'both']); dart.defineLazy(io.SocketDirection, { /*io.SocketDirection.receive*/get receive() { - return C[183] || CT.C183; + return C[192] || CT.C192; }, /*io.SocketDirection.send*/get send() { - return C[184] || CT.C184; + return C[193] || CT.C193; }, /*io.SocketDirection.both*/get both() { - return C[185] || CT.C185; - }, - /*io.SocketDirection.RECEIVE*/get RECEIVE() { - return C[183] || CT.C183; - }, - /*io.SocketDirection.SEND*/get SEND() { - return C[184] || CT.C184; - }, - /*io.SocketDirection.BOTH*/get BOTH() { - return C[185] || CT.C185; + return C[194] || CT.C194; } }, false); var _value$3 = dart.privateName(io, "SocketOption._value"); @@ -55698,6 +59794,9 @@ define([], (function load__dart_sdk() { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketOption.__(_value); + } }; (io.SocketOption.__ = function(_value) { this[_value$3] = _value; @@ -55705,60 +59804,74 @@ define([], (function load__dart_sdk() { }).prototype = io.SocketOption.prototype; dart.addTypeTests(io.SocketOption); dart.addTypeCaches(io.SocketOption); - dart.setLibraryUri(io.SocketOption, I[105]); + dart.setLibraryUri(io.SocketOption, I[108]); dart.setFieldSignature(io.SocketOption, () => ({ __proto__: dart.getFields(io.SocketOption.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); + dart.setStaticFieldSignature(io.SocketOption, () => ['tcpNoDelay', '_ipMulticastLoop', '_ipMulticastHops', '_ipMulticastIf', '_ipBroadcast']); dart.defineLazy(io.SocketOption, { /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { - return C[186] || CT.C186; - }, - /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { - return C[186] || CT.C186; + return C[195] || CT.C195; }, /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[187] || CT.C187; + return C[196] || CT.C196; }, /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[188] || CT.C188; + return C[197] || CT.C197; }, /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[189] || CT.C189; + return C[198] || CT.C198; }, /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[190] || CT.C190; + return C[199] || CT.C199; } }, false); - io._RawSocketOptions = class _RawSocketOptions extends core.Object { - toString() { - return this[_name$4]; + io._RawSocketOptions = class _RawSocketOptions extends core._Enum { + [_enumToString]() { + return "_RawSocketOptions." + dart.str(this[_name$4]); } }; - (io._RawSocketOptions.new = function(index, _name) { - if (index == null) dart.nullFailed(I[125], 390, 6, "index"); - if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); - this.index = index; - this[_name$4] = _name; + (io._RawSocketOptions.new = function(index, name) { + if (index == null) dart.nullFailed(I[128], 366, 6, "#index"); + if (name == null) dart.nullFailed(I[128], 366, 6, "#name"); + io._RawSocketOptions.__proto__.new.call(this, index, name); ; }).prototype = io._RawSocketOptions.prototype; dart.addTypeTests(io._RawSocketOptions); dart.addTypeCaches(io._RawSocketOptions); - dart.setLibraryUri(io._RawSocketOptions, I[105]); - dart.setFieldSignature(io._RawSocketOptions, () => ({ - __proto__: dart.getFields(io._RawSocketOptions.__proto__), - index: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); - io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; - io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; - io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; - io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; - io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; - io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; - io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; - io._RawSocketOptions.values = C[198] || CT.C198; + dart.setMethodSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getMethods(io._RawSocketOptions.__proto__), + [_enumToString]: dart.fnType(core.String, []) + })); + dart.setLibraryUri(io._RawSocketOptions, I[108]); + dart.setStaticFieldSignature(io._RawSocketOptions, () => ['values', 'SOL_SOCKET', 'IPPROTO_IP', 'IP_MULTICAST_IF', 'IPPROTO_IPV6', 'IPV6_MULTICAST_IF', 'IPPROTO_TCP', 'IPPROTO_UDP']); + dart.defineLazy(io._RawSocketOptions, { + /*io._RawSocketOptions.values*/get values() { + return C[200] || CT.C200; + }, + /*io._RawSocketOptions.SOL_SOCKET*/get SOL_SOCKET() { + return C[201] || CT.C201; + }, + /*io._RawSocketOptions.IPPROTO_IP*/get IPPROTO_IP() { + return C[202] || CT.C202; + }, + /*io._RawSocketOptions.IP_MULTICAST_IF*/get IP_MULTICAST_IF() { + return C[203] || CT.C203; + }, + /*io._RawSocketOptions.IPPROTO_IPV6*/get IPPROTO_IPV6() { + return C[204] || CT.C204; + }, + /*io._RawSocketOptions.IPV6_MULTICAST_IF*/get IPV6_MULTICAST_IF() { + return C[205] || CT.C205; + }, + /*io._RawSocketOptions.IPPROTO_TCP*/get IPPROTO_TCP() { + return C[206] || CT.C206; + }, + /*io._RawSocketOptions.IPPROTO_UDP*/get IPPROTO_UDP() { + return C[207] || CT.C207; + } + }, false); var level$2 = dart.privateName(io, "RawSocketOption.level"); var option$ = dart.privateName(io, "RawSocketOption.option"); var value$3 = dart.privateName(io, "RawSocketOption.value"); @@ -55781,21 +59894,39 @@ define([], (function load__dart_sdk() { set value(value) { super.value = value; } + static ['_#new#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); + return new io.RawSocketOption.new(level, option, value); + } static fromInt(level, option, value) { - if (level == null) dart.nullFailed(I[125], 426, 39, "level"); - if (option == null) dart.nullFailed(I[125], 426, 50, "option"); - if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); let list = _native_typed_data.NativeUint8List.new(4); let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); buffer[$setInt32](0, value, typed_data.Endian.host); return new io.RawSocketOption.new(level, option, list); } + static ['_#fromInt#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); + return io.RawSocketOption.fromInt(level, option, value); + } static fromBool(level, option, value) { - if (level == null) dart.nullFailed(I[125], 434, 40, "level"); - if (option == null) dart.nullFailed(I[125], 434, 51, "option"); - if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); } + static ['_#fromBool#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); + return io.RawSocketOption.fromBool(level, option, value); + } static get levelSocket() { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); } @@ -55818,14 +59949,14 @@ define([], (function load__dart_sdk() { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); } static _getOptionValue(key) { - if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + if (key == null) dart.nullFailed(I[110], 575, 34, "key"); dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); } }; (io.RawSocketOption.new = function(level, option, value) { - if (level == null) dart.nullFailed(I[125], 423, 30, "level"); - if (option == null) dart.nullFailed(I[125], 423, 42, "option"); - if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); this[level$2] = level; this[option$] = option; this[value$3] = value; @@ -55833,7 +59964,9 @@ define([], (function load__dart_sdk() { }).prototype = io.RawSocketOption.prototype; dart.addTypeTests(io.RawSocketOption); dart.addTypeCaches(io.RawSocketOption); - dart.setLibraryUri(io.RawSocketOption, I[105]); + dart.setStaticMethodSignature(io.RawSocketOption, () => ['fromInt', 'fromBool', '_getOptionValue']); + dart.setStaticGetterSignature(io.RawSocketOption, () => ['levelSocket', 'levelIPv4', 'IPv4MulticastInterface', 'levelIPv6', 'IPv6MulticastInterface', 'levelTcp', 'levelUdp']); + dart.setLibraryUri(io.RawSocketOption, I[108]); dart.setFieldSignature(io.RawSocketOption, () => ({ __proto__: dart.getFields(io.RawSocketOption.__proto__), level: dart.finalFieldType(core.int), @@ -55850,13 +59983,18 @@ define([], (function load__dart_sdk() { set socket(value) { super.socket = value; } + static ['_#_#tearOff'](S, socket, onCancel) { + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); + return new (io.ConnectionTask$(S)).__(socket, onCancel); + } cancel() { this[_onCancel$](); } } (ConnectionTask.__ = function(socket, onCancel) { - if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); this[socket$] = socket; this[_onCancel$] = onCancel; ; @@ -55868,7 +60006,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(ConnectionTask.__proto__), cancel: dart.fnType(dart.void, []) })); - dart.setLibraryUri(ConnectionTask, I[105]); + dart.setLibraryUri(ConnectionTask, I[108]); dart.setFieldSignature(ConnectionTask, () => ({ __proto__: dart.getFields(ConnectionTask.__proto__), socket: dart.finalFieldType(async.Future$(S)), @@ -55880,14 +60018,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); io.RawSocket = class RawSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + if (port == null) dart.nullFailed(I[110], 477, 54, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 478, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + if (port == null) dart.nullFailed(I[110], 483, 75, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 484, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } }; @@ -55898,36 +60040,45 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.RawSocket); dart.addTypeCaches(io.RawSocket); io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; - dart.setLibraryUri(io.RawSocket, I[105]); + dart.setStaticMethodSignature(io.RawSocket, () => ['connect', 'startConnect']); + dart.setLibraryUri(io.RawSocket, I[108]); io.Socket = class Socket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + if (port == null) dart.nullFailed(I[128], 743, 43, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 744, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + if (port == null) dart.nullFailed(I[128], 759, 64, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 760, 27, "sourcePort"); let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } static _connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + if (port == null) dart.nullFailed(I[110], 492, 52, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 493, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("Socket constructor")); } static _startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + if (port == null) dart.nullFailed(I[110], 498, 73, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 499, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("Socket constructor")); } }; @@ -55938,7 +60089,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.Socket); dart.addTypeCaches(io.Socket); io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; - dart.setLibraryUri(io.Socket, I[105]); + dart.setStaticMethodSignature(io.Socket, () => ['connect', 'startConnect', '_connect', '_startConnect']); + dart.setLibraryUri(io.Socket, I[108]); var data$ = dart.privateName(io, "Datagram.data"); var address$ = dart.privateName(io, "Datagram.address"); var port$ = dart.privateName(io, "Datagram.port"); @@ -55947,25 +60099,34 @@ define([], (function load__dart_sdk() { return this[data$]; } set data(value) { + if (value == null) dart.nullFailed(I[128], 845, 13, "data"); this[data$] = value; } get address() { return this[address$]; } set address(value) { + if (value == null) dart.nullFailed(I[128], 848, 19, "address"); this[address$] = value; } get port() { return this[port$]; } set port(value) { + if (value == null) dart.nullFailed(I[128], 851, 7, "port"); this[port$] = value; } + static ['_#new#tearOff'](data, address, port) { + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); + return new io.Datagram.new(data, address, port); + } }; (io.Datagram.new = function(data, address, port) { - if (data == null) dart.nullFailed(I[125], 825, 17, "data"); - if (address == null) dart.nullFailed(I[125], 825, 28, "address"); - if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); this[data$] = data; this[address$] = address; this[port$] = port; @@ -55973,13 +60134,137 @@ define([], (function load__dart_sdk() { }).prototype = io.Datagram.prototype; dart.addTypeTests(io.Datagram); dart.addTypeCaches(io.Datagram); - dart.setLibraryUri(io.Datagram, I[105]); + dart.setLibraryUri(io.Datagram, I[108]); dart.setFieldSignature(io.Datagram, () => ({ __proto__: dart.getFields(io.Datagram.__proto__), data: dart.fieldType(typed_data.Uint8List), address: dart.fieldType(io.InternetAddress), port: dart.fieldType(core.int) })); + io.ResourceHandle = class ResourceHandle extends core.Object { + static fromFile(file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromFile constructor")); + } + static ['_#fromFile#tearOff'](file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + return io.ResourceHandle.fromFile(file); + } + static fromSocket(socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromSocket constructor")); + } + static ['_#fromSocket#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + return io.ResourceHandle.fromSocket(socket); + } + static fromRawSocket(rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawSocket constructor")); + } + static ['_#fromRawSocket#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + return io.ResourceHandle.fromRawSocket(rawSocket); + } + static fromRawDatagramSocket(rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawDatagramSocket constructor")); + } + static ['_#fromRawDatagramSocket#tearOff'](rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + return io.ResourceHandle.fromRawDatagramSocket(rawDatagramSocket); + } + static fromStdin(stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdin constructor")); + } + static ['_#fromStdin#tearOff'](stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + return io.ResourceHandle.fromStdin(stdin); + } + static fromStdout(stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdout constructor")); + } + static ['_#fromStdout#tearOff'](stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + return io.ResourceHandle.fromStdout(stdout); + } + static fromReadPipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromReadPipe constructor")); + } + static ['_#fromReadPipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + return io.ResourceHandle.fromReadPipe(pipe); + } + static fromWritePipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromWritePipe constructor")); + } + static ['_#fromWritePipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + return io.ResourceHandle.fromWritePipe(pipe); + } + }; + (io.ResourceHandle[dart.mixinNew] = function() { + }).prototype = io.ResourceHandle.prototype; + dart.addTypeTests(io.ResourceHandle); + dart.addTypeCaches(io.ResourceHandle); + dart.setStaticMethodSignature(io.ResourceHandle, () => ['fromFile', 'fromSocket', 'fromRawSocket', 'fromRawDatagramSocket', 'fromStdin', 'fromStdout', 'fromReadPipe', 'fromWritePipe']); + dart.setLibraryUri(io.ResourceHandle, I[108]); + io.SocketControlMessage = class SocketControlMessage extends core.Object { + static fromHandles(handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + dart.throw(new core.UnsupportedError.new("SocketControlMessage constructor")); + } + static ['_#fromHandles#tearOff'](handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + return io.SocketControlMessage.fromHandles(handles); + } + }; + (io.SocketControlMessage[dart.mixinNew] = function() { + }).prototype = io.SocketControlMessage.prototype; + dart.addTypeTests(io.SocketControlMessage); + dart.addTypeCaches(io.SocketControlMessage); + dart.setStaticMethodSignature(io.SocketControlMessage, () => ['fromHandles']); + dart.setLibraryUri(io.SocketControlMessage, I[108]); + var data$0 = dart.privateName(io, "SocketMessage.data"); + var controlMessages$ = dart.privateName(io, "SocketMessage.controlMessages"); + io.SocketMessage = class SocketMessage extends core.Object { + get data() { + return this[data$0]; + } + set data(value) { + super.data = value; + } + get controlMessages() { + return this[controlMessages$]; + } + set controlMessages(value) { + super.controlMessages = value; + } + static ['_#new#tearOff'](data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + return new io.SocketMessage.new(data, controlMessages); + } + }; + (io.SocketMessage.new = function(data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + this[data$0] = data; + this[controlMessages$] = controlMessages; + ; + }).prototype = io.SocketMessage.prototype; + dart.addTypeTests(io.SocketMessage); + dart.addTypeCaches(io.SocketMessage); + dart.setLibraryUri(io.SocketMessage, I[108]); + dart.setFieldSignature(io.SocketMessage, () => ({ + __proto__: dart.getFields(io.SocketMessage.__proto__), + data: dart.finalFieldType(typed_data.Uint8List), + controlMessages: dart.finalFieldType(core.List$(io.SocketControlMessage)) + })); var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { get multicastInterface() { @@ -55989,13 +60274,13 @@ define([], (function load__dart_sdk() { this[multicastInterface] = value; } static bind(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + if (port == null) dart.nullFailed(I[110], 609, 59, "port"); let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; - if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + if (reuseAddress == null) dart.nullFailed(I[110], 610, 13, "reuseAddress"); let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + if (reusePort == null) dart.nullFailed(I[110], 610, 39, "reusePort"); let ttl = opts && 'ttl' in opts ? opts.ttl : 1; - if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + if (ttl == null) dart.nullFailed(I[110], 610, 62, "ttl"); dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); } }; @@ -56006,7 +60291,8 @@ define([], (function load__dart_sdk() { }).prototype = io.RawDatagramSocket.prototype; dart.addTypeTests(io.RawDatagramSocket); dart.addTypeCaches(io.RawDatagramSocket); - dart.setLibraryUri(io.RawDatagramSocket, I[105]); + dart.setStaticMethodSignature(io.RawDatagramSocket, () => ['bind']); + dart.setLibraryUri(io.RawDatagramSocket, I[108]); dart.setFieldSignature(io.RawDatagramSocket, () => ({ __proto__: dart.getFields(io.RawDatagramSocket.__proto__), multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) @@ -56040,6 +60326,16 @@ define([], (function load__dart_sdk() { set port(value) { super.port = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + return new io.SocketException.new(message, {osError: osError, address: address, port: port}); + } + static ['_#closed#tearOff']() { + return new io.SocketException.closed(); + } toString() { let sb = new core.StringBuffer.new(); sb.write("SocketException"); @@ -56061,7 +60357,7 @@ define([], (function load__dart_sdk() { } }; (io.SocketException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); let osError = opts && 'osError' in opts ? opts.osError : null; let address = opts && 'address' in opts ? opts.address : null; let port = opts && 'port' in opts ? opts.port : null; @@ -56081,7 +60377,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.SocketException); dart.addTypeCaches(io.SocketException); io.SocketException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.SocketException, I[105]); + dart.setLibraryUri(io.SocketException, I[108]); dart.setFieldSignature(io.SocketException, () => ({ __proto__: dart.getFields(io.SocketException.__proto__), message: dart.finalFieldType(core.String), @@ -56092,6 +60388,10 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(io.SocketException, ['toString']); var _stream$0 = dart.privateName(io, "_stream"); io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + static ['_#new#tearOff'](_stream) { + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); + return new io._StdStream.new(_stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -56100,7 +60400,7 @@ define([], (function load__dart_sdk() { } }; (io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); this[_stream$0] = _stream; io._StdStream.__proto__.new.call(this); ; @@ -56111,18 +60411,23 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(io._StdStream.__proto__), listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(io._StdStream, I[105]); + dart.setLibraryUri(io._StdStream, I[108]); dart.setFieldSignature(io._StdStream, () => ({ __proto__: dart.getFields(io._StdStream.__proto__), [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) })); var _fd$ = dart.privateName(io, "_fd"); io.Stdin = class Stdin extends io._StdStream { + static ['_#_#tearOff'](stream, _fd) { + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); + return new io.Stdin.__(stream, _fd); + } readLineSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; - if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[152] || CT.C152; + if (encoding == null) dart.nullFailed(I[131], 57, 17, "encoding"); let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; - if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + if (retainNewlines == null) dart.nullFailed(I[131], 57, 49, "retainNewlines"); let line = T$.JSArrayOfint().of([]); let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); if (dart.test(retainNewlines)) { @@ -56172,14 +60477,21 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } set echoMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 696, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } + get echoNewlineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } + set echoNewlineMode(enabled) { + if (enabled == null) dart.nullFailed(I[110], 706, 33, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } get lineMode() { dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } set lineMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 716, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } get supportsAnsiEscapes() { @@ -56201,8 +60513,8 @@ define([], (function load__dart_sdk() { } }; (io.Stdin.__ = function(stream, _fd) { - if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); - if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); this[_fd$] = _fd; io.Stdin.__proto__.new.call(this, stream); ; @@ -56219,6 +60531,7 @@ define([], (function load__dart_sdk() { dart.setGetterSignature(io.Stdin, () => ({ __proto__: dart.getGetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool, supportsAnsiEscapes: core.bool, hasTerminal: core.bool @@ -56226,9 +60539,10 @@ define([], (function load__dart_sdk() { dart.setSetterSignature(io.Stdin, () => ({ __proto__: dart.getSetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool })); - dart.setLibraryUri(io.Stdin, I[105]); + dart.setLibraryUri(io.Stdin, I[108]); dart.setFieldSignature(io.Stdin, () => ({ __proto__: dart.getFields(io.Stdin.__proto__), [_fd$]: dart.fieldType(core.int) @@ -56238,11 +60552,15 @@ define([], (function load__dart_sdk() { var _terminalColumns = dart.privateName(io, "_terminalColumns"); var _terminalLines = dart.privateName(io, "_terminalLines"); io._StdSink = class _StdSink extends core.Object { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); + return new io._StdSink.new(_sink); + } get encoding() { return this[_sink$1].encoding; } set encoding(encoding) { - if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + if (encoding == null) dart.nullFailed(I[131], 333, 30, "encoding"); this[_sink$1].encoding = encoding; } write(object) { @@ -56252,26 +60570,26 @@ define([], (function load__dart_sdk() { this[_sink$1].writeln(object); } writeAll(objects, sep = "") { - if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); - if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + if (objects == null) dart.nullFailed(I[131], 345, 26, "objects"); + if (sep == null) dart.nullFailed(I[131], 345, 43, "sep"); this[_sink$1].writeAll(objects, sep); } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + if (data == null) dart.nullFailed(I[131], 349, 22, "data"); this[_sink$1].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + if (error == null) dart.nullFailed(I[131], 353, 17, "error"); this[_sink$1].addError(error, stackTrace); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[131], 357, 26, "charCode"); this[_sink$1].writeCharCode(charCode); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 361, 38, "stream"); return this[_sink$1].addStream(stream); } flush() { @@ -56285,7 +60603,7 @@ define([], (function load__dart_sdk() { } }; (io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._StdSink.prototype; @@ -56313,12 +60631,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(io._StdSink.__proto__), encoding: convert.Encoding })); - dart.setLibraryUri(io._StdSink, I[105]); + dart.setLibraryUri(io._StdSink, I[108]); dart.setFieldSignature(io._StdSink, () => ({ __proto__: dart.getFields(io._StdSink.__proto__), [_sink$1]: dart.finalFieldType(io.IOSink) })); io.Stdout = class Stdout extends io._StdSink { + static ['_#_#tearOff'](sink, _fd) { + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); + return new io.Stdout.__(sink, _fd); + } get hasTerminal() { return this[_hasTerminal](this[_fd$]); } @@ -56332,30 +60655,30 @@ define([], (function load__dart_sdk() { return io.Stdout._supportsAnsiEscapes(this[_fd$]); } [_hasTerminal](fd) { - if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + if (fd == null) dart.nullFailed(I[110], 729, 25, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); } [_terminalColumns](fd) { - if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + if (fd == null) dart.nullFailed(I[110], 734, 28, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); } [_terminalLines](fd) { - if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + if (fd == null) dart.nullFailed(I[110], 739, 26, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); } static _supportsAnsiEscapes(fd) { - if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + if (fd == null) dart.nullFailed(I[110], 744, 40, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); } get nonBlocking() { - let t212; - t212 = this[_nonBlocking]; - return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + let t190; + t190 = this[_nonBlocking]; + return t190 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t190; } }; (io.Stdout.__ = function(sink, _fd) { - if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); - if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); this[_nonBlocking] = null; this[_fd$] = _fd; io.Stdout.__proto__.new.call(this, sink); @@ -56370,6 +60693,7 @@ define([], (function load__dart_sdk() { [_terminalColumns]: dart.fnType(core.int, [core.int]), [_terminalLines]: dart.fnType(core.int, [core.int]) })); + dart.setStaticMethodSignature(io.Stdout, () => ['_supportsAnsiEscapes']); dart.setGetterSignature(io.Stdout, () => ({ __proto__: dart.getGetters(io.Stdout.__proto__), hasTerminal: core.bool, @@ -56378,7 +60702,7 @@ define([], (function load__dart_sdk() { supportsAnsiEscapes: core.bool, nonBlocking: io.IOSink })); - dart.setLibraryUri(io.Stdout, I[105]); + dart.setLibraryUri(io.Stdout, I[108]); dart.setFieldSignature(io.Stdout, () => ({ __proto__: dart.getFields(io.Stdout.__proto__), [_fd$]: dart.finalFieldType(core.int), @@ -56399,12 +60723,16 @@ define([], (function load__dart_sdk() { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); + return new io.StdoutException.new(message, osError); + } toString() { return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdoutException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); this[message$8] = message; this[osError$3] = osError; ; @@ -56412,7 +60740,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.StdoutException); dart.addTypeCaches(io.StdoutException); io.StdoutException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.StdoutException, I[105]); + dart.setLibraryUri(io.StdoutException, I[108]); dart.setFieldSignature(io.StdoutException, () => ({ __proto__: dart.getFields(io.StdoutException.__proto__), message: dart.finalFieldType(core.String), @@ -56434,12 +60762,16 @@ define([], (function load__dart_sdk() { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); + return new io.StdinException.new(message, osError); + } toString() { return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdinException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); this[message$9] = message; this[osError$4] = osError; ; @@ -56447,7 +60779,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(io.StdinException); dart.addTypeCaches(io.StdinException); io.StdinException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.StdinException, I[105]); + dart.setLibraryUri(io.StdinException, I[108]); dart.setFieldSignature(io.StdinException, () => ({ __proto__: dart.getFields(io.StdinException.__proto__), message: dart.finalFieldType(core.String), @@ -56455,34 +60787,47 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionMethods(io.StdinException, ['toString']); io._StdConsumer = class _StdConsumer extends core.Object { + static ['_#new#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); + return new io._StdConsumer.new(fd); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 304, 38, "stream"); let completer = async.Completer.new(); let sub = null; - sub = stream.listen(dart.fn(data => { - if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + let sub$35isSet = false; + function sub$35get() { + return sub$35isSet ? sub : dart.throw(new _internal.LateError.localNI("sub")); + } + function sub$35set(sub$35param) { + if (sub$35param == null) dart.nullFailed(I[131], 306, 40, "sub#param"); + sub$35isSet = true; + return sub = sub$35param; + } + sub$35set(stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[131], 307, 26, "data"); try { - dart.dsend(this[_file], 'writeFromSync', [data]); + this[_file].writeFromSync(data); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - dart.dsend(sub, 'cancel', []); + sub$35get().cancel(); completer.completeError(e, s); } else throw e$; } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); return completer.future; } close() { - dart.dsend(this[_file], 'closeSync', []); + this[_file].closeSync(); return async.Future.value(); } }; (io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); this[_file] = io._File._openStdioSync(fd); ; }).prototype = io._StdConsumer.prototype; @@ -56494,10 +60839,10 @@ define([], (function load__dart_sdk() { addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []) })); - dart.setLibraryUri(io._StdConsumer, I[105]); + dart.setLibraryUri(io._StdConsumer, I[108]); dart.setFieldSignature(io._StdConsumer, () => ({ __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(dart.dynamic) + [_file]: dart.finalFieldType(io.RandomAccessFile) })); var name$11 = dart.privateName(io, "StdioType.name"); io.StdioType = class StdioType extends core.Object { @@ -56507,99 +60852,99 @@ define([], (function load__dart_sdk() { set name(value) { super.name = value; } + static ['_#_#tearOff'](name) { + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); + return new io.StdioType.__(name); + } toString() { return "StdioType: " + dart.str(this.name); } }; (io.StdioType.__ = function(name) { - if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); this[name$11] = name; ; }).prototype = io.StdioType.prototype; dart.addTypeTests(io.StdioType); dart.addTypeCaches(io.StdioType); - dart.setLibraryUri(io.StdioType, I[105]); + dart.setLibraryUri(io.StdioType, I[108]); dart.setFieldSignature(io.StdioType, () => ({ __proto__: dart.getFields(io.StdioType.__proto__), name: dart.finalFieldType(core.String) })); + dart.setStaticFieldSignature(io.StdioType, () => ['terminal', 'pipe', 'file', 'other']); dart.defineExtensionMethods(io.StdioType, ['toString']); dart.defineLazy(io.StdioType, { /*io.StdioType.terminal*/get terminal() { - return C[199] || CT.C199; + return C[208] || CT.C208; }, /*io.StdioType.pipe*/get pipe() { - return C[200] || CT.C200; + return C[209] || CT.C209; }, /*io.StdioType.file*/get file() { - return C[201] || CT.C201; + return C[210] || CT.C210; }, /*io.StdioType.other*/get other() { - return C[202] || CT.C202; - }, - /*io.StdioType.TERMINAL*/get TERMINAL() { - return C[199] || CT.C199; - }, - /*io.StdioType.PIPE*/get PIPE() { - return C[200] || CT.C200; - }, - /*io.StdioType.FILE*/get FILE() { - return C[201] || CT.C201; - }, - /*io.StdioType.OTHER*/get OTHER() { - return C[202] || CT.C202; + return C[211] || CT.C211; } }, false); io._StdIOUtils = class _StdIOUtils extends core.Object { static _getStdioOutputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + if (fd == null) dart.nullFailed(I[110], 631, 36, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); } static _getStdioInputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + if (fd == null) dart.nullFailed(I[110], 626, 41, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); } static _socketType(socket) { - if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + if (socket == null) dart.nullFailed(I[110], 636, 33, "socket"); dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); } static _getStdioHandleType(fd) { - if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + if (fd == null) dart.nullFailed(I[110], 641, 34, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); } + static ['_#new#tearOff']() { + return new io._StdIOUtils.new(); + } }; (io._StdIOUtils.new = function() { ; }).prototype = io._StdIOUtils.prototype; dart.addTypeTests(io._StdIOUtils); dart.addTypeCaches(io._StdIOUtils); - dart.setLibraryUri(io._StdIOUtils, I[105]); + dart.setStaticMethodSignature(io._StdIOUtils, () => ['_getStdioOutputStream', '_getStdioInputStream', '_socketType', '_getStdioHandleType']); + dart.setLibraryUri(io._StdIOUtils, I[108]); io.SystemEncoding = class SystemEncoding extends convert.Encoding { + static ['_#new#tearOff']() { + return new io.SystemEncoding.new(); + } get name() { return "system"; } encode(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + if (input == null) dart.nullFailed(I[132], 26, 27, "input"); return this.encoder.convert(input); } decode(encoded) { T$0.ListOfint().as(encoded); - if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[132], 27, 27, "encoded"); return this.decoder.convert(encoded); } get encoder() { if (io.Platform.operatingSystem === "windows") { - return C[203] || CT.C203; + return C[212] || CT.C212; } else { - return C[101] || CT.C101; + return C[108] || CT.C108; } } get decoder() { if (io.Platform.operatingSystem === "windows") { - return C[204] || CT.C204; + return C[213] || CT.C213; } else { - return C[100] || CT.C100; + return C[107] || CT.C107; } } }; @@ -56615,11 +60960,14 @@ define([], (function load__dart_sdk() { encoder: convert.Converter$(core.String, core.List$(core.int)), decoder: convert.Converter$(core.List$(core.int), core.String) })); - dart.setLibraryUri(io.SystemEncoding, I[105]); + dart.setLibraryUri(io.SystemEncoding, I[108]); io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageEncoder.new(); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + if (input == null) dart.nullFailed(I[132], 49, 28, "input"); let encoded = io._WindowsCodePageEncoder._encodeString(input); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56628,11 +60976,11 @@ define([], (function load__dart_sdk() { } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + if (sink == null) dart.nullFailed(I[132], 58, 63, "sink"); return new io._WindowsCodePageEncoderSink.new(sink); } static _encodeString(string) { - if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + if (string == null) dart.nullFailed(I[110], 657, 41, "string"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); } }; @@ -56647,14 +60995,19 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); + dart.setStaticMethodSignature(io._WindowsCodePageEncoder, () => ['_encodeString']); + dart.setLibraryUri(io._WindowsCodePageEncoder, I[108]); io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); + return new io._WindowsCodePageEncoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + if (string == null) dart.nullFailed(I[132], 77, 19, "string"); let encoded = io._WindowsCodePageEncoder._encodeString(string); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56662,10 +61015,10 @@ define([], (function load__dart_sdk() { this[_sink$1].add(encoded); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[129], 87, 24, "source"); - if (start == null) dart.nullFailed(I[129], 87, 36, "start"); - if (end == null) dart.nullFailed(I[129], 87, 47, "end"); - if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (source == null) dart.nullFailed(I[132], 85, 24, "source"); + if (start == null) dart.nullFailed(I[132], 85, 36, "start"); + if (end == null) dart.nullFailed(I[132], 85, 47, "end"); + if (isLast == null) dart.nullFailed(I[132], 85, 57, "isLast"); if (start !== 0 || end !== source.length) { source = source[$substring](start, end); } @@ -56674,7 +61027,7 @@ define([], (function load__dart_sdk() { } }; (io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._WindowsCodePageEncoderSink.prototype; @@ -56685,24 +61038,27 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); + dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) })); io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageDecoder.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + if (input == null) dart.nullFailed(I[132], 97, 28, "input"); return io._WindowsCodePageDecoder._decodeBytes(input); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + if (sink == null) dart.nullFailed(I[132], 102, 58, "sink"); return new io._WindowsCodePageDecoderSink.new(sink); } static _decodeBytes(bytes) { - if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + if (bytes == null) dart.nullFailed(I[110], 649, 40, "bytes"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); } }; @@ -56717,19 +61073,24 @@ define([], (function load__dart_sdk() { convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); + dart.setStaticMethodSignature(io._WindowsCodePageDecoder, () => ['_decodeBytes']); + dart.setLibraryUri(io._WindowsCodePageDecoder, I[108]); io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); + return new io._WindowsCodePageDecoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[132], 121, 22, "bytes"); this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); } }; (io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); this[_sink$1] = _sink; io._WindowsCodePageDecoderSink.__proto__.new.call(this); ; @@ -56741,14 +61102,14 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); + dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) })); io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { static connectSync(host, port) { - if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + if (port == null) dart.nullFailed(I[110], 567, 61, "port"); dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); } }; @@ -56757,39 +61118,38 @@ define([], (function load__dart_sdk() { }).prototype = io.RawSynchronousSocket.prototype; dart.addTypeTests(io.RawSynchronousSocket); dart.addTypeCaches(io.RawSynchronousSocket); - dart.setLibraryUri(io.RawSynchronousSocket, I[105]); - io._isErrorResponse = function _isErrorResponse$(response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - }; - io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { - if (message == null) dart.nullFailed(I[106], 23, 41, "message"); - if (path == null) dart.nullFailed(I[106], 23, 57, "path"); - if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - case 3: - { - return new io.FileSystemException.new("File closed", path); - } - default: - { - return core.Exception.new("Unknown error"); + dart.setStaticMethodSignature(io.RawSynchronousSocket, () => ['connectSync']); + dart.setLibraryUri(io.RawSynchronousSocket, I[108]); + io._checkForErrorResponse = function _checkForErrorResponse(response, message, path) { + if (message == null) dart.nullFailed(I[109], 34, 54, "message"); + if (path == null) dart.nullFailed(I[109], 34, 70, "path"); + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { + switch (response[$_get](0)) { + case 1: + { + dart.throw(new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path))); + } + case 2: + { + let err = new io.OSError.new(core.String.as(response[$_get](2)), core.int.as(response[$_get](1))); + dart.throw(io.FileSystemException._fromOSError(err, message, path)); + } + case 3: + { + dart.throw(new io.FileSystemException.new("File closed", path)); + } + default: + { + dart.throw(new core.AssertionError.new("Unknown error")); + } } } }; io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { - if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); - if (start == null) dart.nullFailed(I[106], 93, 27, "start"); - if (end == null) dart.nullFailed(I[106], 93, 38, "end"); - if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + if (buffer == null) dart.nullFailed(I[109], 108, 15, "buffer"); + if (start == null) dart.nullFailed(I[109], 108, 27, "start"); + if (end == null) dart.nullFailed(I[109], 108, 38, "end"); + if (typed_data.Uint8List.is(buffer) && buffer[$buffer][$lengthInBytes] == buffer[$length]) { return new io._BufferAndStart.new(buffer, start); } let length = dart.notNull(end) - dart.notNull(start); @@ -56797,104 +61157,47 @@ define([], (function load__dart_sdk() { newBuffer[$setRange](0, length, buffer, start); return new io._BufferAndStart.new(newBuffer, 0); }; - io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { - if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); - dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); - }; io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { - if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 538, 34, "windowBits"); if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { dart.throw(new core.RangeError.range(windowBits, 8, 15)); } }; io._validateZLibeLevel = function _validateZLibeLevel(level) { - if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (level == null) dart.nullFailed(I[111], 546, 30, "level"); if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { dart.throw(new core.RangeError.range(level, -1, 9)); } }; io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { - if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 552, 32, "memLevel"); if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { dart.throw(new core.RangeError.range(memLevel, 1, 9)); } }; io._validateZLibStrategy = function _validateZLibStrategy(strategy) { - if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); - let strategies = C[205] || CT.C205; + if (strategy == null) dart.nullFailed(I[111], 559, 32, "strategy"); + let strategies = C[214] || CT.C214; if (strategies[$indexOf](strategy) === -1) { dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); } }; - io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { - let t215, t215$; - let hostString = null; - if (typeof host == 'string') { - try { - if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; - } catch (e) { - let ex = dart.getThrown(e); - if (core.ArgumentError.is(ex)) { - } else - throw e; - } - hostString = host; - } else if (io.InternetAddress.is(host)) { - if (dart.test(host.isLoopback)) return true; - hostString = host.host; - } else { - dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); - } - let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); - let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); - t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); - return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; - }; - io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { - if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); - let topScore = 0; - let topPolicy = null; - for (let policy of io._domainPolicies) { - let score = policy.matchScore(domain); - if (dart.notNull(score) > dart.notNull(topScore)) { - topScore = score; - topPolicy = policy; - } - } - return topPolicy; - }; - io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { - let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); - domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; - if (domainPoliciesString[$isNotEmpty]) { - let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); - for (let t215 of policiesJson) { - let policyJson = core.List.as(t215); - if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); - let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); - if (dart.test(policy.checkConflict(domainPolicies))) { - domainPolicies[$add](policy); - } - } - } - return domainPolicies; - }; io._success = function _success() { return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); }; io._invalidArgument = function _invalidArgument(argument, value) { - if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 148, 32, "argument"); return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); }; io._missingArgument = function _missingArgument(argument) { - if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 151, 32, "argument"); return "Parameter '" + dart.str(argument) + "' is required"; }; io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); }; io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { - if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 158, 58, "parameters"); if (!dart.test(parameters[$containsKey]("enable"))) { dart.throw(io._missingArgument("enable")); } @@ -56906,7 +61209,7 @@ define([], (function load__dart_sdk() { return io._success(); }; io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); if (!dart.test(parameters[$containsKey]("id"))) { dart.throw(io._missingArgument("id")); } @@ -56921,7 +61224,7 @@ define([], (function load__dart_sdk() { return convert.json.encode(request.toJson({ref: false})); }; io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { - if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 188, 52, "parameters"); if (dart.test(parameters[$containsKey]("enabled"))) { let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); if (enable !== "true" && enable !== "false") { @@ -56932,7 +61235,7 @@ define([], (function load__dart_sdk() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); }; io.exit = function exit(code) { - if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + if (code == null) dart.nullFailed(I[125], 50, 16, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); if (!dart.test(io._EmbedderConfig._mayExit)) { dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); @@ -56941,7 +61244,7 @@ define([], (function load__dart_sdk() { dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }; io.sleep = function sleep(duration) { - if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + if (duration == null) dart.nullFailed(I[125], 94, 21, "duration"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) { dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); @@ -56952,9 +61255,9 @@ define([], (function load__dart_sdk() { io._ProcessUtils._sleep(milliseconds); }; io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { - if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); - if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); - if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + if (stdin == null) dart.nullFailed(I[131], 390, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[131], 390, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[131], 390, 46, "stderr"); io._stdinFD = stdin; io._stdoutFD = stdout; io._stderrFD = stderr; @@ -56970,17 +61273,17 @@ define([], (function load__dart_sdk() { } switch (type) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._FileStream.is(object)) { @@ -56991,17 +61294,17 @@ define([], (function load__dart_sdk() { if (socketType == null) return io.StdioType.other; switch (socketType) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._IOSinkImpl.is(object)) { @@ -57019,22 +61322,8 @@ define([], (function load__dart_sdk() { return io.StdioType.other; }; dart.copyProperties(io, { - get _domainPolicies() { - let t217; - if (!dart.test(io['_#_domainPolicies#isSet'])) { - io['_#_domainPolicies'] = io._constructDomainPolicies(null); - io['_#_domainPolicies#isSet'] = true; - } - t217 = io['_#_domainPolicies']; - return t217; - }, - set _domainPolicies(t217) { - if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); - io['_#_domainPolicies#isSet'] = true; - io['_#_domainPolicies'] = t217; - }, set exitCode(code) { - if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + if (code == null) dart.nullFailed(I[125], 69, 23, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); io._ProcessUtils._setExitCode(code); }, @@ -57045,17 +61334,19 @@ define([], (function load__dart_sdk() { return io._ProcessUtils._pid(null); }, get stdin() { - let t218; - t218 = io._stdin; - return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); + return t196$ == null ? io._stdin : t196$; }, get stdout() { - let t218; - return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); + return t196$ == null ? io._stdout : t196$; }, get stderr() { - let t218; - return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); + return t196$ == null ? io._stderr : t196$; } }); dart.defineLazy(io, { @@ -57080,44 +61371,42 @@ define([], (function load__dart_sdk() { /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { return 2; }, - /*io.zlib*/get zlib() { - return C[206] || CT.C206; + /*io._eNoEnt*/get _eNoEnt() { + return 2; }, - /*io.ZLIB*/get ZLIB() { - return C[206] || CT.C206; + /*io._errorFileNotFound*/get _errorFileNotFound() { + return 2; }, - /*io.gzip*/get gzip() { - return C[207] || CT.C207; + /*io._errorPathNotFound*/get _errorPathNotFound() { + return 3; }, - /*io.GZIP*/get GZIP() { - return C[207] || CT.C207; + /*io._errorInvalidDrive*/get _errorInvalidDrive() { + return 15; }, - /*io.READ*/get READ() { - return C[109] || CT.C109; + /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { + return 18; }, - /*io.WRITE*/get WRITE() { - return C[110] || CT.C110; + /*io._errorBadNetpath*/get _errorBadNetpath() { + return 53; }, - /*io.APPEND*/get APPEND() { - return C[111] || CT.C111; + /*io._errorBadNetName*/get _errorBadNetName() { + return 67; }, - /*io.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + /*io._errorBadPathName*/get _errorBadPathName() { + return 161; }, - /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { + return 206; }, - /*io._blockSize*/get _blockSize() { - return 65536; + /*io.zlib*/get zlib() { + return C[215] || CT.C215; }, - /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { - return null; + /*io.gzip*/get gzip() { + return C[216] || CT.C216; }, - set ['_#_domainPolicies'](_) {}, - /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { - return false; + /*io._blockSize*/get _blockSize() { + return 65536; }, - set ['_#_domainPolicies#isSet'](_) {}, /*io._versionMajor*/get _versionMajor() { return 1; }, @@ -57134,12 +61423,14 @@ define([], (function load__dart_sdk() { return new core.Object.new(); }, /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*io._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); + }, /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { return 0; }, @@ -57159,37 +61450,41 @@ define([], (function load__dart_sdk() { return 5; }, /*io._stdin*/get _stdin() { - return null; + return io._StdIOUtils._getStdioInputStream(io._stdinFD); }, - set _stdin(_) {}, /*io._stdout*/get _stdout() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); }, - set _stdout(_) {}, /*io._stderr*/get _stderr() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); }, - set _stderr(_) {}, /*io._stdinFD*/get _stdinFD() { return 0; }, - set _stdinFD(_) {}, + set _stdinFD(value) { + if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); + }, /*io._stdoutFD*/get _stdoutFD() { return 1; }, - set _stdoutFD(_) {}, + set _stdoutFD(value) { + if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); + }, /*io._stderrFD*/get _stderrFD() { return 2; }, - set _stderrFD(_) {}, - /*io.systemEncoding*/get systemEncoding() { - return C[143] || CT.C143; + set _stderrFD(value) { + if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); }, - /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { - return C[143] || CT.C143; + /*io.systemEncoding*/get systemEncoding() { + return C[152] || CT.C152; } }, false); isolate$._ReceivePort = class _ReceivePort extends async.Stream { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } close() { } get sendPort() { @@ -57203,7 +61498,7 @@ define([], (function load__dart_sdk() { } }; (isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); isolate$._ReceivePort.__proto__.new.call(this); ; }).prototype = isolate$._ReceivePort.prototype; @@ -57219,7 +61514,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), sendPort: isolate$.SendPort })); - dart.setLibraryUri(isolate$._ReceivePort, I[131]); + dart.setLibraryUri(isolate$._ReceivePort, I[134]); var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { get message() { @@ -57228,19 +61523,23 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); + return new isolate$.IsolateSpawnException.new(message); + } toString() { return "IsolateSpawnException: " + dart.str(this.message); } }; (isolate$.IsolateSpawnException.new = function(message) { - if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); this[message$10] = message; ; }).prototype = isolate$.IsolateSpawnException.prototype; dart.addTypeTests(isolate$.IsolateSpawnException); dart.addTypeCaches(isolate$.IsolateSpawnException); isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); + dart.setLibraryUri(isolate$.IsolateSpawnException, I[134]); dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), message: dart.finalFieldType(core.String) @@ -57269,47 +61568,96 @@ define([], (function load__dart_sdk() { set terminateCapability(value) { super.terminateCapability = value; } - get debugName() { + static get packageRoot() { return isolate$._unsupported(); } - static get current() { + get debugName() { return isolate$._unsupported(); } - static get packageRoot() { + static ['_#new#tearOff'](controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + return new isolate$.Isolate.new(controlPort, {pauseCapability: pauseCapability, terminateCapability: terminateCapability}); + } + static run(R, computation, opts) { + if (computation == null) dart.nullFailed(I[135], 206, 39, "computation"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + let result = async.Completer$(R).new(); + let resultPort = isolate$.RawReceivePort.new(); + resultPort.handler = dart.fn(response => { + resultPort.close(); + if (response == null) { + result.completeError(new isolate$.RemoteError.new("Computation ended without result", ""), core.StackTrace.empty); + return; + } + let list = T$.ListOfObjectN().as(response); + if (list[$length] === 2) { + let remoteError = list[$_get](0); + let remoteStack = list[$_get](1); + if (core.StackTrace.is(remoteStack)) { + result.completeError(dart.nullCheck(remoteError), remoteStack); + } else { + let error = new isolate$.RemoteError.new(dart.toString(remoteError), dart.toString(remoteStack)); + result.completeError(error, error.stackTrace); + } + } else { + if (!(list[$length] === 1)) dart.assertFailed(null, I[135], 233, 16, "list.length == 1"); + result.complete(R.as(list[$_get](0))); + } + }, T$.dynamicToNull()); + try { + isolate$.Isolate.spawn(isolate$._RemoteRunner$(R), C[218] || CT.C218, new (isolate$._RemoteRunner$(R)).new(computation, resultPort.sendPort), {onError: resultPort.sendPort, onExit: resultPort.sendPort, errorsAreFatal: true, debugName: debugName}).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[135], 244, 24, "_"); + }, T$0.IsolateToNull()), {onError: dart.fn((error, stack) => { + resultPort.close(); + result.completeError(core.Object.as(error), T$.StackTraceN().as(stack)); + }, T$.dynamicAnddynamicToNull())}); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Object.is(ex)) { + resultPort.close(); + dart.rethrow(e); + } else + throw e; + } + return result.future; + } + static get current() { return isolate$._unsupported(); } static get packageConfig() { return isolate$._unsupported(); } static resolvePackageUri(packageUri) { - if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + if (packageUri == null) dart.nullFailed(I[133], 29, 45, "packageUri"); return isolate$._unsupported(); } static spawn(T, entryPoint, message, opts) { - if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + if (entryPoint == null) dart.nullFailed(I[133], 32, 40, "entryPoint"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 33, 17, "paused"); let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 34, 16, "errorsAreFatal"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; return isolate$._unsupported(); } static spawnUri(uri, args, message, opts) { - if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); - if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + if (uri == null) dart.nullFailed(I[133], 40, 39, "uri"); + if (args == null) dart.nullFailed(I[133], 40, 57, "args"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 41, 17, "paused"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 44, 16, "errorsAreFatal"); let checked = opts && 'checked' in opts ? opts.checked : null; let environment = opts && 'environment' in opts ? opts.environment : null; let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; - if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + if (automaticPackageResolution == null) dart.nullFailed(I[133], 49, 16, "automaticPackageResolution"); let debugName = opts && 'debugName' in opts ? opts.debugName : null; return isolate$._unsupported(); } @@ -57319,44 +61667,44 @@ define([], (function load__dart_sdk() { return resumeCapability; } [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); return isolate$._unsupported(); } resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); return isolate$._unsupported(); } addOnExitListener(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 60, 35, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; return isolate$._unsupported(); } removeOnExitListener(responsePort) { - if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 64, 38, "responsePort"); return isolate$._unsupported(); } setErrorsFatal(errorsAreFatal) { - if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 67, 28, "errorsAreFatal"); return isolate$._unsupported(); } kill(opts) { let priority = opts && 'priority' in opts ? opts.priority : 1; - if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + if (priority == null) dart.nullFailed(I[133], 70, 18, "priority"); return isolate$._unsupported(); } ping(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 72, 22, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; let priority = opts && 'priority' in opts ? opts.priority : 0; - if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + if (priority == null) dart.nullFailed(I[133], 73, 34, "priority"); return isolate$._unsupported(); } addErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + if (port == null) dart.nullFailed(I[133], 77, 34, "port"); return isolate$._unsupported(); } removeErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + if (port == null) dart.nullFailed(I[133], 80, 37, "port"); return isolate$._unsupported(); } get errors() { @@ -57383,9 +61731,13 @@ define([], (function load__dart_sdk() { }, T$.VoidToNull()); return controller.stream; } + static exit(finalMessagePort = null, message = null) { + isolate$._unsupported(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } }; (isolate$.Isolate.new = function(controlPort, opts) { - if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; this[controlPort$] = controlPort; @@ -57408,18 +61760,21 @@ define([], (function load__dart_sdk() { addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) })); + dart.setStaticMethodSignature(isolate$.Isolate, () => ['run', 'resolvePackageUri', 'spawn', 'spawnUri', 'exit']); dart.setGetterSignature(isolate$.Isolate, () => ({ __proto__: dart.getGetters(isolate$.Isolate.__proto__), debugName: dart.nullable(core.String), errors: async.Stream })); - dart.setLibraryUri(isolate$.Isolate, I[131]); + dart.setStaticGetterSignature(isolate$.Isolate, () => ['packageRoot', 'current', 'packageConfig']); + dart.setLibraryUri(isolate$.Isolate, I[134]); dart.setFieldSignature(isolate$.Isolate, () => ({ __proto__: dart.getFields(isolate$.Isolate.__proto__), controlPort: dart.finalFieldType(isolate$.SendPort), pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) })); + dart.setStaticFieldSignature(isolate$.Isolate, () => ['immediate', 'beforeNextEvent']); dart.defineLazy(isolate$.Isolate, { /*isolate$.Isolate.immediate*/get immediate() { return 0; @@ -57435,12 +61790,20 @@ define([], (function load__dart_sdk() { dart.addTypeTests(isolate$.SendPort); dart.addTypeCaches(isolate$.SendPort); isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; - dart.setLibraryUri(isolate$.SendPort, I[131]); + dart.setLibraryUri(isolate$.SendPort, I[134]); isolate$.ReceivePort = class ReceivePort extends core.Object { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 91, 31, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } static fromRawReceivePort(rawPort) { - if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); return isolate$._unsupported(); } + static ['_#fromRawReceivePort#tearOff'](rawPort) { + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); + return isolate$.ReceivePort.fromRawReceivePort(rawPort); + } }; (isolate$.ReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.ReceivePort.prototype; @@ -57448,18 +61811,25 @@ define([], (function load__dart_sdk() { dart.addTypeTests(isolate$.ReceivePort); dart.addTypeCaches(isolate$.ReceivePort); isolate$.ReceivePort[dart.implements] = () => [async.Stream]; - dart.setLibraryUri(isolate$.ReceivePort, I[131]); + dart.setStaticMethodSignature(isolate$.ReceivePort, () => ['new', 'fromRawReceivePort']); + dart.setLibraryUri(isolate$.ReceivePort, I[134]); + dart.setStaticFieldSignature(isolate$.ReceivePort, () => ['_redirecting#']); isolate$.RawReceivePort = class RawReceivePort extends core.Object { static new(handler = null, debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); return isolate$._unsupported(); } + static ['_#new#tearOff'](handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); + return isolate$.RawReceivePort.new(handler, debugName); + } }; (isolate$.RawReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.RawReceivePort.prototype; dart.addTypeTests(isolate$.RawReceivePort); dart.addTypeCaches(isolate$.RawReceivePort); - dart.setLibraryUri(isolate$.RawReceivePort, I[131]); + dart.setStaticMethodSignature(isolate$.RawReceivePort, () => ['new']); + dart.setLibraryUri(isolate$.RawReceivePort, I[134]); var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); var _description = dart.privateName(isolate$, "_description"); isolate$.RemoteError = class RemoteError extends core.Object { @@ -57469,13 +61839,18 @@ define([], (function load__dart_sdk() { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](description, stackDescription) { + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); + return new isolate$.RemoteError.new(description, stackDescription); + } toString() { return this[_description]; } }; (isolate$.RemoteError.new = function(description, stackDescription) { - if (description == null) dart.nullFailed(I[132], 714, 22, "description"); - if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); this[_description] = description; this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); ; @@ -57483,7 +61858,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(isolate$.RemoteError); dart.addTypeCaches(isolate$.RemoteError); isolate$.RemoteError[dart.implements] = () => [core.Error]; - dart.setLibraryUri(isolate$.RemoteError, I[131]); + dart.setLibraryUri(isolate$.RemoteError, I[134]); dart.setFieldSignature(isolate$.RemoteError, () => ({ __proto__: dart.getFields(isolate$.RemoteError.__proto__), [_description]: dart.finalFieldType(core.String), @@ -57493,46 +61868,138 @@ define([], (function load__dart_sdk() { dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { static fromList(list) { - if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); return isolate$._unsupported(); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); + return isolate$.TransferableTypedData.fromList(list); + } }; (isolate$.TransferableTypedData[dart.mixinNew] = function() { }).prototype = isolate$.TransferableTypedData.prototype; dart.addTypeTests(isolate$.TransferableTypedData); dart.addTypeCaches(isolate$.TransferableTypedData); - dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); + dart.setStaticMethodSignature(isolate$.TransferableTypedData, () => ['fromList']); + dart.setLibraryUri(isolate$.TransferableTypedData, I[134]); + var _run$0 = dart.privateName(isolate$, "_run"); + const _is__RemoteRunner_default = Symbol('_is__RemoteRunner_default'); + isolate$._RemoteRunner$ = dart.generic(R => { + var __t$FutureOfR = () => (__t$FutureOfR = dart.constFn(async.Future$(R)))(); + class _RemoteRunner extends core.Object { + static ['_#new#tearOff'](R, computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + return new (isolate$._RemoteRunner$(R)).new(computation, resultPort); + } + static _remoteExecute(runner) { + if (runner == null) dart.nullFailed(I[135], 947, 53, "runner"); + runner[_run$0](); + } + [_run$0]() { + return async.async(dart.void, (function* _run() { + let result = null; + try { + let potentiallyAsyncResult = this.computation(); + if (__t$FutureOfR().is(potentiallyAsyncResult)) { + result = (yield potentiallyAsyncResult); + } else { + result = potentiallyAsyncResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list2(e, s)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else + throw e$; + } + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list1(result)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + }).bind(this)); + } + static _list1(value) { + return T$.ListOfObjectN().filled(1, value); + } + static _list2(value1, value2) { + let t199; + t199 = T$.ListOfObjectN().filled(2, value1); + return (() => { + t199[$_set](1, value2); + return t199; + })(); + } + } + (_RemoteRunner.new = function(computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + this.computation = computation; + this.resultPort = resultPort; + ; + }).prototype = _RemoteRunner.prototype; + dart.addTypeTests(_RemoteRunner); + _RemoteRunner.prototype[_is__RemoteRunner_default] = true; + dart.addTypeCaches(_RemoteRunner); + dart.setMethodSignature(_RemoteRunner, () => ({ + __proto__: dart.getMethods(_RemoteRunner.__proto__), + [_run$0]: dart.fnType(dart.void, []) + })); + dart.setStaticMethodSignature(_RemoteRunner, () => ['_remoteExecute', '_list1', '_list2']); + dart.setLibraryUri(_RemoteRunner, I[134]); + dart.setFieldSignature(_RemoteRunner, () => ({ + __proto__: dart.getFields(_RemoteRunner.__proto__), + computation: dart.finalFieldType(dart.fnType(async.FutureOr$(R), [])), + resultPort: dart.finalFieldType(isolate$.SendPort) + })); + return _RemoteRunner; + }); + isolate$._RemoteRunner = isolate$._RemoteRunner$(); + dart.addTypeTests(isolate$._RemoteRunner, _is__RemoteRunner_default); isolate$.Capability = class Capability extends core.Object { static new() { return isolate$._unsupported(); } + static ['_#new#tearOff']() { + return isolate$.Capability.new(); + } }; (isolate$.Capability[dart.mixinNew] = function() { }).prototype = isolate$.Capability.prototype; dart.addTypeTests(isolate$.Capability); dart.addTypeCaches(isolate$.Capability); - dart.setLibraryUri(isolate$.Capability, I[131]); + dart.setStaticMethodSignature(isolate$.Capability, () => ['new']); + dart.setLibraryUri(isolate$.Capability, I[134]); isolate$._unsupported = function _unsupported() { dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); }; var _dartObj$ = dart.privateName(js, "_dartObj"); - js._DartObject = class _DartObject extends core.Object {}; + js._DartObject = class _DartObject extends core.Object { + static ['_#new#tearOff'](_dartObj) { + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); + return new js._DartObject.new(_dartObj); + } + }; (js._DartObject.new = function(_dartObj) { - if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); this[_dartObj$] = _dartObj; ; }).prototype = js._DartObject.prototype; dart.addTypeTests(js._DartObject); dart.addTypeCaches(js._DartObject); - dart.setLibraryUri(js._DartObject, I[134]); + dart.setLibraryUri(js._DartObject, I[137]); dart.setFieldSignature(js._DartObject, () => ({ __proto__: dart.getFields(js._DartObject.__proto__), [_dartObj$]: dart.finalFieldType(core.Object) })); var _jsObject$ = dart.privateName(js, "_jsObject"); js.JsObject = class JsObject extends core.Object { + static ['_#_fromJs#tearOff'](_jsObject) { + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); + return new js.JsObject._fromJs(_jsObject); + } static _convertDataTree(data) { - if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + if (data == null) dart.nullFailed(I[136], 57, 34, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -57558,30 +62025,42 @@ define([], (function load__dart_sdk() { return _convert(data); } static new(constructor, $arguments = null) { - if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); let ctor = constructor[_jsObject$]; if ($arguments == null) { return js._wrapToDart(new ctor()); } - let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[219] || CT.C219)); return js._wrapToDart(new ctor(...unwrapped)); } + static ['_#new#tearOff'](constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); + return js.JsObject.new(constructor, $arguments); + } static fromBrowserObject(object) { - if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); } return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); } + static ['_#fromBrowserObject#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); + return js.JsObject.fromBrowserObject(object); + } static jsify(object) { - if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); if (!core.Map.is(object) && !core.Iterable.is(object)) { dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); } return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); } + static ['_#jsify#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); + return js.JsObject.jsify(object); + } _get(property) { - if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (property == null) dart.nullFailed(I[136], 85, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57589,7 +62068,7 @@ define([], (function load__dart_sdk() { } _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (property == null) dart.nullFailed(I[136], 93, 28, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57604,21 +62083,21 @@ define([], (function load__dart_sdk() { return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; } hasProperty(property) { - if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (property == null) dart.nullFailed(I[136], 105, 27, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } return property in this[_jsObject$]; } deleteProperty(property) { - if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (property == null) dart.nullFailed(I[136], 113, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } delete this[_jsObject$][property]; } instanceof(type) { - if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + if (type == null) dart.nullFailed(I[136], 121, 30, "type"); return this[_jsObject$] instanceof js._convertToJS(type); } toString() { @@ -57633,11 +62112,11 @@ define([], (function load__dart_sdk() { } } callMethod(method, args = null) { - if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (method == null) dart.nullFailed(I[136], 135, 29, "method"); if (!(typeof method == 'string') && !(typeof method == 'number')) { dart.throw(new core.ArgumentError.new("method is not a String or num")); } - if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[219] || CT.C219)); let fn = this[_jsObject$][method]; if (typeof fn !== "function") { dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); @@ -57646,9 +62125,9 @@ define([], (function load__dart_sdk() { } }; (js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); this[_jsObject$] = _jsObject; - if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[136], 28, 12, "_jsObject != null"); }).prototype = js.JsObject.prototype; dart.addTypeTests(js.JsObject); dart.addTypeCaches(js.JsObject); @@ -57661,7 +62140,8 @@ define([], (function load__dart_sdk() { instanceof: dart.fnType(core.bool, [js.JsFunction]), callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) })); - dart.setLibraryUri(js.JsObject, I[134]); + dart.setStaticMethodSignature(js.JsObject, () => ['_convertDataTree', 'new', 'fromBrowserObject', 'jsify']); + dart.setLibraryUri(js.JsObject, I[137]); dart.setFieldSignature(js.JsObject, () => ({ __proto__: dart.getFields(js.JsObject.__proto__), [_jsObject$]: dart.finalFieldType(core.Object) @@ -57669,8 +62149,12 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); dart.defineExtensionAccessors(js.JsObject, ['hashCode']); js.JsFunction = class JsFunction extends js.JsObject { + static ['_#_fromJs#tearOff'](jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); + return new js.JsFunction._fromJs(jsObject); + } static withThis(f) { - if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); return new js.JsFunction._fromJs(function() { let args = [js._convertToDart(this)]; for (let arg of arguments) { @@ -57679,14 +62163,18 @@ define([], (function load__dart_sdk() { return js._convertToJS(f(...args)); }); } + static ['_#withThis#tearOff'](f) { + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); + return js.JsFunction.withThis(f); + } apply(args, opts) { - if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + if (args == null) dart.nullFailed(I[136], 170, 22, "args"); let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); } }; (js.JsFunction._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); js.JsFunction.__proto__._fromJs.call(this, jsObject); ; }).prototype = js.JsFunction.prototype; @@ -57696,16 +62184,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(js.JsFunction.__proto__), apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) })); - dart.setLibraryUri(js.JsFunction, I[134]); + dart.setStaticMethodSignature(js.JsFunction, () => ['withThis']); + dart.setLibraryUri(js.JsFunction, I[137]); var _checkIndex = dart.privateName(js, "_checkIndex"); var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); const _is_JsArray_default = Symbol('_is_JsArray_default'); js.JsArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + if (property == null) dart.nullFailed(I[138], 175, 7, "property"); super._set(property, value); return value$; } @@ -57715,22 +62204,26 @@ define([], (function load__dart_sdk() { }).prototype = JsObject_ListMixin$36.prototype; dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); class JsArray extends JsObject_ListMixin$36 { + static ['_#_fromJs#tearOff'](E, jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); + return new (js.JsArray$(E))._fromJs(jsObject); + } [_checkIndex](index) { - if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (index == null) dart.nullFailed(I[136], 190, 19, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } [_checkInsertIndex](index) { - if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (index == null) dart.nullFailed(I[136], 196, 25, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } static _checkRange(start, end, length) { - if (start == null) dart.nullFailed(I[133], 200, 26, "start"); - if (end == null) dart.nullFailed(I[133], 200, 37, "end"); - if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (start == null) dart.nullFailed(I[136], 202, 26, "start"); + if (end == null) dart.nullFailed(I[136], 202, 37, "end"); + if (length == null) dart.nullFailed(I[136], 202, 46, "length"); if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -57741,16 +62234,23 @@ define([], (function load__dart_sdk() { static new() { return new (js.JsArray$(E))._fromJs([]); } + static ['_#new#tearOff'](E) { + return js.JsArray$(E).new(); + } static from(other) { - let t219; - if (other == null) dart.nullFailed(I[133], 183, 36, "other"); - return new (js.JsArray$(E))._fromJs((t219 = [], (() => { - t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); - return t219; + let t200; + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return new (js.JsArray$(E))._fromJs((t200 = [], (() => { + t200[$addAll](other[$map](dart.dynamic, C[219] || CT.C219)); + return t200; })())); } + static ['_#from#tearOff'](E, other) { + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return js.JsArray$(E).from(other); + } _get(index) { - if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (index == null) dart.nullFailed(I[136], 212, 24, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57758,7 +62258,7 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (index == null) dart.nullFailed(I[136], 220, 28, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57773,7 +62273,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("Bad JsArray length")); } set length(length) { - if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + if (length == null) dart.nullFailed(I[136], 240, 23, "length"); super._set("length", length); } add(value) { @@ -57781,19 +62281,19 @@ define([], (function load__dart_sdk() { this.callMethod("push", [value]); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 250, 27, "iterable"); let list = iterable instanceof Array ? iterable : core.List.from(iterable); this.callMethod("push", list); } insert(index, element) { - if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + if (index == null) dart.nullFailed(I[136], 258, 19, "index"); E.as(element); this[_checkInsertIndex](index); this.callMethod("splice", [index, 0, element]); } removeAt(index) { - if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + if (index == null) dart.nullFailed(I[136], 264, 18, "index"); this[_checkIndex](index); return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); } @@ -57802,25 +62302,25 @@ define([], (function load__dart_sdk() { return E.as(this.callMethod("pop")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[133], 274, 24, "start"); - if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + if (start == null) dart.nullFailed(I[136], 276, 24, "start"); + if (end == null) dart.nullFailed(I[136], 276, 35, "end"); js.JsArray._checkRange(start, end, this.length); this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); } setRange(start, end, iterable, skipCount = 0) { - let t219; - if (start == null) dart.nullFailed(I[133], 280, 21, "start"); - if (end == null) dart.nullFailed(I[133], 280, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + let t200; + if (start == null) dart.nullFailed(I[136], 282, 21, "start"); + if (end == null) dart.nullFailed(I[136], 282, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 282, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[136], 282, 64, "skipCount"); js.JsArray._checkRange(start, end, this.length); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t219[$addAll](iterable[$skip](skipCount)[$take](length)); - return t219; + let args = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t200[$addAll](iterable[$skip](skipCount)[$take](length)); + return t200; })()); this.callMethod("splice", args); } @@ -57829,7 +62329,7 @@ define([], (function load__dart_sdk() { } } (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); JsArray.__proto__._fromJs.call(this, jsObject); ; }).prototype = JsArray.prototype; @@ -57845,6 +62345,7 @@ define([], (function load__dart_sdk() { _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) })); + dart.setStaticMethodSignature(JsArray, () => ['_checkRange', 'new', 'from']); dart.setGetterSignature(JsArray, () => ({ __proto__: dart.getGetters(JsArray.__proto__), length: core.int, @@ -57855,7 +62356,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(JsArray, I[134]); + dart.setLibraryUri(JsArray, I[137]); dart.defineExtensionMethods(JsArray, [ '_get', '_set', @@ -57874,7 +62375,7 @@ define([], (function load__dart_sdk() { js.JsArray = js.JsArray$(); dart.addTypeTests(js.JsArray, _is_JsArray_default); js._isBrowserType = function _isBrowserType(o) { - if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + if (o == null) dart.nullFailed(I[136], 303, 28, "o"); return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); }; js._convertToJS = function _convertToJS(o) { @@ -57885,16 +62386,16 @@ define([], (function load__dart_sdk() { } else if (js.JsObject.is(o)) { return o[_jsObject$]; } else if (core.Function.is(o)) { - return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + return js._putIfAbsent(js._jsProxies, o, C[220] || CT.C220); } else { return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { - if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + if (o == null) dart.nullFailed(I[136], 344, 41, "o"); return new js._DartObject.new(o); }, T$0.ObjectTo_DartObject())); } }; js._wrapDartFunction = function _wrapDartFunction(f) { - if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + if (f == null) dart.nullFailed(I[136], 348, 33, "f"); let wrapper = function() { let args = Array.prototype.map.call(arguments, js._convertToDart); return js._convertToJS(f(...args)); @@ -57908,18 +62409,18 @@ define([], (function load__dart_sdk() { } else if (o instanceof Date) { let ms = o.getTime(); return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + } else if (js._DartObject.is(o) && dart.getReifiedType(o) !== _interceptors.LegacyJavaScriptObject) { return o[_dartObj$]; } else { return js._wrapToDart(o); } }; js._wrapToDart = function _wrapToDart(o) { - if (o == null) dart.nullFailed(I[133], 377, 29, "o"); - return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); + if (o == null) dart.nullFailed(I[136], 380, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[221] || CT.C221); }; js._wrapToDartHelper = function _wrapToDartHelper(o) { - if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (o == null) dart.nullFailed(I[136], 383, 35, "o"); if (typeof o == "function") { return new js.JsFunction._fromJs(o); } @@ -57929,9 +62430,9 @@ define([], (function load__dart_sdk() { return new js.JsObject._fromJs(o); }; js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { - if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); - if (o == null) dart.nullFailed(I[133], 394, 42, "o"); - if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + if (weakMap == null) dart.nullFailed(I[136], 397, 26, "weakMap"); + if (o == null) dart.nullFailed(I[136], 397, 42, "o"); + if (getValue == null) dart.nullFailed(I[136], 397, 47, "getValue"); let value = weakMap.get(o); if (value == null) { value = getValue(o); @@ -57940,7 +62441,7 @@ define([], (function load__dart_sdk() { return value; }; js.allowInterop = function allowInterop(F, f) { - if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (f == null) dart.nullFailed(I[136], 410, 38, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = dart.nullable(F).as(js._interopExpando._get(f)); if (ret == null) { @@ -57952,7 +62453,7 @@ define([], (function load__dart_sdk() { return ret; }; js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { - if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (f == null) dart.nullFailed(I[136], 429, 43, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = js._interopCaptureThisExpando._get(f); if (ret == null) { @@ -57983,11 +62484,15 @@ define([], (function load__dart_sdk() { /*js._interopExpando*/get _interopExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopExpando(_) {}, + set _interopExpando(value) { + if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); + }, /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopCaptureThisExpando(_) {} + set _interopCaptureThisExpando(value) { + if (value == null) dart.nullFailed(I[136], 426, 19, "_interopCaptureThisExpando"); + } }, false); var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); js_util.NullRejectionException = class NullRejectionException extends core.Object { @@ -57997,34 +62502,31 @@ define([], (function load__dart_sdk() { set isUndefined(value) { super.isUndefined = value; } + static ['_#_#tearOff'](isUndefined) { + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); + return new js_util.NullRejectionException.__(isUndefined); + } toString() { let value = dart.test(this.isUndefined) ? "undefined" : "null"; return "Promise was rejected with a value of `" + value + "`."; } }; (js_util.NullRejectionException.__ = function(isUndefined) { - if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); this[isUndefined$] = isUndefined; ; }).prototype = js_util.NullRejectionException.prototype; dart.addTypeTests(js_util.NullRejectionException); dart.addTypeCaches(js_util.NullRejectionException); js_util.NullRejectionException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(js_util.NullRejectionException, I[137]); + dart.setLibraryUri(js_util.NullRejectionException, I[140]); dart.setFieldSignature(js_util.NullRejectionException, () => ({ __proto__: dart.getFields(js_util.NullRejectionException.__proto__), isUndefined: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); - js_util.jsify = function jsify(object) { - if (object == null) dart.nullFailed(I[136], 33, 22, "object"); - if (!core.Map.is(object) && !core.Iterable.is(object)) { - dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); - } - return js_util._convertDataTree(object); - }; js_util._convertDataTree = function _convertDataTree(data) { - if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + if (data == null) dart.nullFailed(I[141], 21, 32, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -58049,41 +62551,148 @@ define([], (function load__dart_sdk() { dart.fn(_convert, T$.ObjectNToObjectN()); return dart.nullCheck(_convert(data)); }; - js_util.newObject = function newObject() { + js_util._getPropertyTrustType = function _getPropertyTrustType(T, o, name) { + if (o == null) dart.nullFailed(I[141], 63, 35, "o"); + if (name == null) dart.nullFailed(I[141], 63, 45, "name"); + return o[name]; + }; + js_util._setPropertyUnchecked = function _setPropertyUnchecked(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 74, 35, "o"); + if (name == null) dart.nullFailed(I[141], 74, 45, "name"); + return o[name] = value; + }; + js_util._callMethodTrustType = function _callMethodTrustType(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 85, 34, "o"); + if (method == null) dart.nullFailed(I[141], 85, 44, "method"); + if (args == null) dart.nullFailed(I[141], 85, 66, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); + }; + js_util._callMethodUnchecked0 = function _callMethodUnchecked0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 92, 35, "o"); + if (method == null) dart.nullFailed(I[141], 92, 45, "method"); + return T.as(o[method]()); + }; + js_util._callMethodUncheckedTrustType0 = function _callMethodUncheckedTrustType0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 99, 44, "o"); + if (method == null) dart.nullFailed(I[141], 99, 54, "method"); + return o[method](); + }; + js_util._callMethodUnchecked1 = function _callMethodUnchecked1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 105, 35, "o"); + if (method == null) dart.nullFailed(I[141], 105, 45, "method"); + return T.as(o[method](arg1)); + }; + js_util._callMethodUncheckedTrustType1 = function _callMethodUncheckedTrustType1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 112, 44, "o"); + if (method == null) dart.nullFailed(I[141], 112, 54, "method"); + return o[method](arg1); + }; + js_util._callMethodUnchecked2 = function _callMethodUnchecked2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 119, 12, "o"); + if (method == null) dart.nullFailed(I[141], 119, 22, "method"); + return T.as(o[method](arg1, arg2)); + }; + js_util._callMethodUncheckedTrustType2 = function _callMethodUncheckedTrustType2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 127, 12, "o"); + if (method == null) dart.nullFailed(I[141], 127, 22, "method"); + return o[method](arg1, arg2); + }; + js_util._callMethodUnchecked3 = function _callMethodUnchecked3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 134, 12, "o"); + if (method == null) dart.nullFailed(I[141], 134, 22, "method"); + return T.as(o[method](arg1, arg2, arg3)); + }; + js_util._callMethodUncheckedTrustType3 = function _callMethodUncheckedTrustType3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 143, 12, "o"); + if (method == null) dart.nullFailed(I[141], 143, 22, "method"); + return o[method](arg1, arg2, arg3); + }; + js_util._callMethodUnchecked4 = function _callMethodUnchecked4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 149, 35, "o"); + if (method == null) dart.nullFailed(I[141], 149, 45, "method"); + return T.as(o[method](arg1, arg2, arg3, arg4)); + }; + js_util._callMethodUncheckedTrustType4 = function _callMethodUncheckedTrustType4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 158, 44, "o"); + if (method == null) dart.nullFailed(I[141], 158, 54, "method"); + return o[method](arg1, arg2, arg3, arg4); + }; + js_util._callConstructorUnchecked0 = function _callConstructorUnchecked0(T, constr) { + if (constr == null) dart.nullFailed(I[141], 233, 40, "constr"); + return T.as(new constr()); + }; + js_util._callConstructorUnchecked1 = function _callConstructorUnchecked1(T, constr, arg1) { + if (constr == null) dart.nullFailed(I[141], 239, 40, "constr"); + return T.as(new constr(arg1)); + }; + js_util._callConstructorUnchecked2 = function _callConstructorUnchecked2(T, constr, arg1, arg2) { + if (constr == null) dart.nullFailed(I[141], 245, 40, "constr"); + return T.as(new constr(arg1, arg2)); + }; + js_util._callConstructorUnchecked3 = function _callConstructorUnchecked3(T, constr, arg1, arg2, arg3) { + if (constr == null) dart.nullFailed(I[141], 252, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3)); + }; + js_util._callConstructorUnchecked4 = function _callConstructorUnchecked4(T, constr, arg1, arg2, arg3, arg4) { + if (constr == null) dart.nullFailed(I[141], 259, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3, arg4)); + }; + js_util._isJavaScriptDate = function _isJavaScriptDate(value) { + return value instanceof Date; + }; + js_util._isJavaScriptRegExp = function _isJavaScriptRegExp(value) { + return value instanceof RegExp; + }; + js_util._isJavaScriptPromise = function _isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; + }; + js_util._dateToDateTime = function _dateToDateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); + }; + js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[141], 14, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); + }; + js_util.newObject = function newObject(T) { return {}; }; js_util.hasProperty = function hasProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 69, 25, "o"); - if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + if (o == null) dart.nullFailed(I[141], 56, 25, "o"); + if (name == null) dart.nullFailed(I[141], 56, 35, "name"); return name in o; }; - js_util.getProperty = function getProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 71, 28, "o"); - if (name == null) dart.nullFailed(I[136], 71, 38, "name"); - return o[name]; + js_util.getProperty = function getProperty(T, o, name) { + if (o == null) dart.nullFailed(I[141], 59, 25, "o"); + if (name == null) dart.nullFailed(I[141], 59, 35, "name"); + return T.as(o[name]); }; - js_util.setProperty = function setProperty(o, name, value) { - if (o == null) dart.nullFailed(I[136], 74, 28, "o"); - if (name == null) dart.nullFailed(I[136], 74, 38, "name"); + js_util.setProperty = function setProperty(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 67, 25, "o"); + if (name == null) dart.nullFailed(I[141], 67, 35, "name"); _js_helper.assertInterop(value); return o[name] = value; }; - js_util.callMethod = function callMethod$(o, method, args) { - if (o == null) dart.nullFailed(I[136], 79, 27, "o"); - if (method == null) dart.nullFailed(I[136], 79, 37, "method"); - if (args == null) dart.nullFailed(I[136], 79, 59, "args"); + js_util.callMethod = function callMethod$(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 79, 24, "o"); + if (method == null) dart.nullFailed(I[141], 79, 34, "method"); + if (args == null) dart.nullFailed(I[141], 79, 56, "args"); _js_helper.assertInteropArgs(args); - return o[method].apply(o, args); + return T.as(o[method].apply(o, args)); }; js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + if (type == null) dart.nullFailed(I[141], 165, 35, "type"); return o instanceof type; }; - js_util.callConstructor = function callConstructor(constr, $arguments) { - let t219; - if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); + js_util.callConstructor = function callConstructor(T, constr, $arguments) { + let t200; + if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); if ($arguments == null) { - return new constr(); + return T.as(new constr()); } else { _js_helper.assertInteropArgs($arguments); } @@ -58091,47 +62700,89 @@ define([], (function load__dart_sdk() { let argumentCount = $arguments.length; switch (argumentCount) { case 0: - { - return new constr(); - } + { + return T.as(new constr()); + } case 1: - { - let arg0 = $arguments[0]; - return new constr(arg0); - } + { + let arg0 = $arguments[0]; + return T.as(new constr(arg0)); + } case 2: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - return new constr(arg0, arg1); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return T.as(new constr(arg0, arg1)); + } case 3: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - return new constr(arg0, arg1, arg2); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return T.as(new constr(arg0, arg1, arg2)); + } case 4: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - let arg3 = $arguments[3]; - return new constr(arg0, arg1, arg2, arg3); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return T.as(new constr(arg0, arg1, arg2, arg3)); + } } } - let args = (t219 = [null], (() => { - t219[$addAll]($arguments); - return t219; + let args = (t200 = [null], (() => { + t200[$addAll]($arguments); + return t200; })()); let factoryFunction = constr.bind.apply(constr, args); String(factoryFunction); - return new factoryFunction(); + return T.as(new factoryFunction()); + }; + js_util.add = function add(T, first, second) { + return T.as(first + second); + }; + js_util.subtract = function subtract(T, first, second) { + return T.as(first - second); + }; + js_util.multiply = function multiply(T, first, second) { + return T.as(first * second); + }; + js_util.divide = function divide(T, first, second) { + return T.as(first / second); + }; + js_util.exponentiate = function exponentiate(T, first, second) { + return T.as(first ** second); + }; + js_util.modulo = function modulo(T, first, second) { + return T.as(first % second); + }; + js_util.equal = function equal(T, first, second) { + return first == second; + }; + js_util.strictEqual = function strictEqual(T, first, second) { + return first === second; + }; + js_util.notEqual = function notEqual(T, first, second) { + return first != second; + }; + js_util.strictNotEqual = function strictNotEqual(T, first, second) { + return first !== second; + }; + js_util.greaterThan = function greaterThan(T, first, second) { + return first > second; + }; + js_util.greaterThanOrEqual = function greaterThanOrEqual(T, first, second) { + return first >= second; + }; + js_util.lessThan = function lessThan(T, first, second) { + return first < second; + }; + js_util.lessThanOrEqual = function lessThanOrEqual(T, first, second) { + return first <= second; }; js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { - if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + if (jsPromise == null) dart.nullFailed(I[141], 349, 37, "jsPromise"); let completer = async.Completer$(T).new(); let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { @@ -58143,9 +62794,90 @@ define([], (function load__dart_sdk() { jsPromise.then(success, error); return completer.future; }; + js_util._getConstructor = function _getConstructor(constructorName) { + if (constructorName == null) dart.nullFailed(I[139], 132, 32, "constructorName"); + return js_util.getProperty(T$.ObjectN(), js_util.globalThis, constructorName); + }; + js_util.instanceOfString = function instanceOfString(element, objectType) { + if (objectType == null) dart.nullFailed(I[139], 137, 47, "objectType"); + let constructor = js_util._getConstructor(objectType); + return constructor != null && dart.test(js_util.instanceof(element, constructor)); + }; + js_util.objectGetPrototypeOf = function objectGetPrototypeOf(object) { + return Object.getPrototypeOf(object); + }; + js_util.objectKeys = function objectKeys(object) { + return Object.keys(object); + }; + js_util.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; + }; + js_util.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; + }; + js_util.dartify = function dartify(o) { + let _convertedObjects = new _js_helper.IdentityMap.new(); + function convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (o == null || typeof o == 'boolean' || typeof o == 'number' || typeof o == 'string') return o; + if (dart.test(js_util._isJavaScriptDate(o))) { + return js_util._dateToDateTime(o); + } + if (dart.test(js_util._isJavaScriptRegExp(o))) { + dart.throw(new core.ArgumentError.new("structured clone of RegExp")); + } + if (dart.test(js_util._isJavaScriptPromise(o))) { + return js_util.promiseToFuture(dart.dynamic, o); + } + if (dart.test(js_util.isJavaScriptSimpleObject(o))) { + let dartObject = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + _convertedObjects[$_set](o, dartObject); + let originalKeys = js_util.objectKeys(o); + let dartKeys = T$.JSArrayOfObjectN().of([]); + for (let key of originalKeys) { + dartKeys[$add](js_util.dartify(key)); + } + for (let i = 0; i < dart.notNull(originalKeys[$length]); i = i + 1) { + let jsKey = originalKeys[$_get](i); + let dartKey = dartKeys[$_get](i); + if (jsKey != null) { + dartObject[$_set](dartKey, convert(js_util.getProperty(T$.ObjectN(), o, jsKey))); + } + } + return dartObject; + } + if (dart.test(js_util.isJavaScriptArray(o))) { + let l = o; + let dartObject = T$.JSArrayOfObjectN().of([]); + _convertedObjects[$_set](o, dartObject); + let length = js_util.getProperty(core.int, o, "length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + dartObject[$add](convert(l[$_get](i))); + } + return dartObject; + } + return o; + } + dart.fn(convert, T$.ObjectNToObjectN()); + return convert(o); + }; + dart.copyProperties(js_util, { + get globalThis() { + return globalThis; + }, + get objectPrototype() { + return Object.prototype; + } + }); math._JSRandom = class _JSRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSRandom.new(); + } nextInt(max) { - if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (max == null) dart.nullFailed(I[142], 86, 19, "max"); if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); } @@ -58170,11 +62902,15 @@ define([], (function load__dart_sdk() { nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); - dart.setLibraryUri(math._JSRandom, I[139]); + dart.setLibraryUri(math._JSRandom, I[143]); var _lo = dart.privateName(math, "_lo"); var _hi = dart.privateName(math, "_hi"); var _nextState = dart.privateName(math, "_nextState"); math._Random = class _Random extends core.Object { + static ['_#new#tearOff'](seed) { + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); + return new math._Random.new(seed); + } [_nextState]() { let tmpHi = 4294901760 * this[_lo]; let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; @@ -58186,8 +62922,8 @@ define([], (function load__dart_sdk() { this[_lo] = (newLo & 4294967295.0) >>> 0; let newLoHi = newLo - this[_lo]; this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; - if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); - if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[142], 222, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[142], 223, 12, "_hi < _POW2_32"); } nextInt(max) { if (max == null) dart.argumentError(max); @@ -58220,7 +62956,7 @@ define([], (function load__dart_sdk() { } }; (math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); this[_lo] = 0; this[_hi] = 0; let empty_seed = 0; @@ -58284,12 +63020,13 @@ define([], (function load__dart_sdk() { nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); - dart.setLibraryUri(math._Random, I[139]); + dart.setLibraryUri(math._Random, I[143]); dart.setFieldSignature(math._Random, () => ({ __proto__: dart.getFields(math._Random.__proto__), [_lo]: dart.fieldType(core.int), [_hi]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(math._Random, () => ['_POW2_53_D', '_POW2_27_D', '_MASK32']); dart.defineLazy(math._Random, { /*math._Random._POW2_53_D*/get _POW2_53_D() { return 9007199254740992.0; @@ -58304,9 +63041,12 @@ define([], (function load__dart_sdk() { var _buffer$0 = dart.privateName(math, "_buffer"); var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); math._JSSecureRandom = class _JSSecureRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSSecureRandom.new(); + } [_getRandomBytes](start, length) { - if (start == null) dart.nullFailed(I[138], 279, 28, "start"); - if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + if (start == null) dart.nullFailed(I[142], 280, 28, "start"); + if (length == null) dart.nullFailed(I[142], 280, 39, "length"); crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); } nextBool() { @@ -58376,7 +63116,7 @@ define([], (function load__dart_sdk() { nextDouble: dart.fnType(core.double, []), nextInt: dart.fnType(core.int, [core.int]) })); - dart.setLibraryUri(math._JSSecureRandom, I[139]); + dart.setLibraryUri(math._JSSecureRandom, I[143]); dart.setFieldSignature(math._JSSecureRandom, () => ({ __proto__: dart.getFields(math._JSSecureRandom.__proto__), [_buffer$0]: dart.finalFieldType(typed_data.ByteData) @@ -58385,7 +63125,7 @@ define([], (function load__dart_sdk() { var y$2 = dart.privateName(math, "Point.y"); const _is_Point_default = Symbol('_is_Point_default'); math.Point$ = dart.generic(T => { - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class Point extends core.Object { get x() { return this[x$2]; @@ -58399,6 +63139,11 @@ define([], (function load__dart_sdk() { set y(value) { super.y = value; } + static ['_#new#tearOff'](T, x, y) { + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); + return new (math.Point$(T)).new(x, y); + } toString() { return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; } @@ -58410,40 +63155,40 @@ define([], (function load__dart_sdk() { return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); } ['+'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 32, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 50, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); } ['-'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 39, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 63, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + if (factor == null) dart.nullFailed(I[144], 85, 37, "factor"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); } get magnitude() { return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); } distanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 108, 30, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return math.sqrt(dx * dx + dy * dy); } squaredDistanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 130, 32, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return T.as(dx * dx + dy * dy); } } (Point.new = function(x, y) { - if (x == null) dart.nullFailed(I[140], 13, 17, "x"); - if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); this[x$2] = x; this[y$2] = y; ; @@ -58463,7 +63208,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(Point.__proto__), magnitude: core.double })); - dart.setLibraryUri(Point, I[139]); + dart.setLibraryUri(Point, I[143]); dart.setFieldSignature(Point, () => ({ __proto__: dart.getFields(Point.__proto__), x: dart.finalFieldType(T), @@ -58477,29 +63222,34 @@ define([], (function load__dart_sdk() { dart.addTypeTests(math.Point, _is_Point_default); math.Random = class Random extends core.Object { static new(seed = null) { - return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + return seed == null ? C[222] || CT.C222 : new math._Random.new(seed); + } + static ['_#new#tearOff'](seed = null) { + return math.Random.new(seed); } static secure() { - let t219; - t219 = math.Random._secureRandom; - return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + return math.Random._secureRandom; + } + static ['_#secure#tearOff']() { + return math.Random.secure(); } }; (math.Random[dart.mixinNew] = function() { }).prototype = math.Random.prototype; dart.addTypeTests(math.Random); dart.addTypeCaches(math.Random); - dart.setLibraryUri(math.Random, I[139]); + dart.setStaticMethodSignature(math.Random, () => ['new', 'secure']); + dart.setLibraryUri(math.Random, I[143]); + dart.setStaticFieldSignature(math.Random, () => ['_secureRandom']); dart.defineLazy(math.Random, { /*math.Random._secureRandom*/get _secureRandom() { - return null; - }, - set _secureRandom(_) {} + return new math._JSSecureRandom.new(); + } }, false); const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); math._RectangleBase$ = dart.generic(T => { - var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$RectangleOfT = () => (__t$RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class _RectangleBase extends core.Object { get right() { return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); @@ -58518,51 +63268,51 @@ define([], (function load__dart_sdk() { return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); } intersection(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 61, 43, "other"); let x0 = math.max(T, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { let y0 = math.max(T, this[$top], other[$top]); let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); if (y0 <= y1) { - return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + return new (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); } } return null; } intersects(other) { - if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + if (other == null) dart.nullFailed(I[145], 77, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } boundingBox(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 85, 41, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(T, this[$left], other[$left]); let top = math.min(T, this[$top], other[$top]); - return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + return new (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + if (another == null) dart.nullFailed(I[145], 96, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + if (another == null) dart.nullFailed(I[145], 104, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get topLeft() { - return new (PointOfT()).new(this[$left], this[$top]); + return new (__t$PointOfT()).new(this[$left], this[$top]); } get topRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); } get bottomRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } get bottomLeft() { - return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } } (_RectangleBase.new = function() { @@ -58599,7 +63349,7 @@ define([], (function load__dart_sdk() { bottomLeft: math.Point$(T), [$bottomLeft]: math.Point$(T) })); - dart.setLibraryUri(_RectangleBase, I[139]); + dart.setLibraryUri(_RectangleBase, I[143]); dart.defineExtensionMethods(_RectangleBase, [ 'toString', '_equals', @@ -58653,32 +63403,45 @@ define([], (function load__dart_sdk() { set height(value) { super.height = value; } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); + return new (math.Rectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 154, 41, "a"); - if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.Rectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); + return math.Rectangle$(T).fromPoints(a, b); + } } (Rectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 138, 24, "left"); - if (top == null) dart.nullFailed(I[141], 138, 35, "top"); - if (width == null) dart.nullFailed(I[141], 138, 42, "width"); - if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); this[left$] = left; this[top$] = top; - this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); - this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + this[width$] = T.as(dart.notNull(width) < 0 ? width === -1 / 0 ? 0.0 : -dart.notNull(width) * 0 : dart.notNull(width) + 0); + this[height$] = T.as(dart.notNull(height) < 0 ? height === -1 / 0 ? 0.0 : -dart.notNull(height) * 0 : dart.notNull(height) + 0); Rectangle.__proto__.new.call(this); ; }).prototype = Rectangle.prototype; dart.addTypeTests(Rectangle); Rectangle.prototype[_is_Rectangle_default] = true; dart.addTypeCaches(Rectangle); - dart.setLibraryUri(Rectangle, I[139]); + dart.setStaticMethodSignature(Rectangle, () => ['fromPoints']); + dart.setLibraryUri(Rectangle, I[143]); dart.setFieldSignature(Rectangle, () => ({ __proto__: dart.getFields(Rectangle.__proto__), left: dart.finalFieldType(T), @@ -58702,29 +63465,43 @@ define([], (function load__dart_sdk() { return this[left$0]; } set left(value) { + if (value == null) dart.nullFailed(I[145], 195, 5, "left"); this[left$0] = T.as(value); } get top() { return this[top$0]; } set top(value) { + if (value == null) dart.nullFailed(I[145], 200, 5, "top"); this[top$0] = T.as(value); } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 205, 48, "a"); - if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.MutableRectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); + return math.MutableRectangle$(T).fromPoints(a, b); + } get width() { return this[_width]; } set width(width) { T.as(width); - if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (width == null) dart.nullFailed(I[145], 281, 15, "width"); if (dart.notNull(width) < 0) width = math._clampToZero(T, width); this[_width] = width; } @@ -58733,20 +63510,20 @@ define([], (function load__dart_sdk() { } set height(height) { T.as(height); - if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (height == null) dart.nullFailed(I[145], 295, 16, "height"); if (dart.notNull(height) < 0) height = math._clampToZero(T, height); this[_height] = height; } } (MutableRectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 191, 25, "left"); - if (top == null) dart.nullFailed(I[141], 191, 36, "top"); - if (width == null) dart.nullFailed(I[141], 191, 43, "width"); - if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); this[left$0] = left; this[top$0] = top; - this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; - this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + this[_width] = T.as(dart.notNull(width) < 0 ? math._clampToZero(T, width) : dart.notNull(width) + 0); + this[_height] = T.as(dart.notNull(height) < 0 ? math._clampToZero(T, height) : dart.notNull(height) + 0); MutableRectangle.__proto__.new.call(this); ; }).prototype = MutableRectangle.prototype; @@ -58754,6 +63531,7 @@ define([], (function load__dart_sdk() { MutableRectangle.prototype[_is_MutableRectangle_default] = true; dart.addTypeCaches(MutableRectangle); MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setStaticMethodSignature(MutableRectangle, () => ['fromPoints']); dart.setGetterSignature(MutableRectangle, () => ({ __proto__: dart.getGetters(MutableRectangle.__proto__), width: T, @@ -58768,7 +63546,7 @@ define([], (function load__dart_sdk() { height: dart.nullable(core.Object), [$height]: dart.nullable(core.Object) })); - dart.setLibraryUri(MutableRectangle, I[139]); + dart.setLibraryUri(MutableRectangle, I[143]); dart.setFieldSignature(MutableRectangle, () => ({ __proto__: dart.getFields(MutableRectangle.__proto__), left: dart.fieldType(T), @@ -58838,8 +63616,9 @@ define([], (function load__dart_sdk() { return Math.log(x); }; math._clampToZero = function _clampToZero(T, value) { - if (value == null) dart.nullFailed(I[141], 245, 33, "value"); - if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + if (value == null) dart.nullFailed(I[145], 304, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[145], 305, 10, "value < 0"); + if (value === -1 / 0) return T.as(0.0); return T.as(-dart.notNull(value) * 0); }; dart.defineLazy(math, { @@ -58871,644 +63650,86 @@ define([], (function load__dart_sdk() { return 1.4142135623730951; } }, false); - typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; - (typed_data.ByteBuffer.new = function() { - ; - }).prototype = typed_data.ByteBuffer.prototype; - dart.addTypeTests(typed_data.ByteBuffer); - dart.addTypeCaches(typed_data.ByteBuffer); - dart.setLibraryUri(typed_data.ByteBuffer, I[60]); - typed_data.TypedData = class TypedData extends core.Object {}; - (typed_data.TypedData.new = function() { - ; - }).prototype = typed_data.TypedData.prototype; - dart.addTypeTests(typed_data.TypedData); - dart.addTypeCaches(typed_data.TypedData); - dart.setLibraryUri(typed_data.TypedData, I[60]); - typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; - (typed_data._TypedIntList.new = function() { - ; - }).prototype = typed_data._TypedIntList.prototype; - dart.addTypeTests(typed_data._TypedIntList); - dart.addTypeCaches(typed_data._TypedIntList); - dart.setLibraryUri(typed_data._TypedIntList, I[60]); - typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; - (typed_data._TypedFloatList.new = function() { - ; - }).prototype = typed_data._TypedFloatList.prototype; - dart.addTypeTests(typed_data._TypedFloatList); - dart.addTypeCaches(typed_data._TypedFloatList); - dart.setLibraryUri(typed_data._TypedFloatList, I[60]); - var _littleEndian = dart.privateName(typed_data, "_littleEndian"); - const _littleEndian$ = Endian__littleEndian; - typed_data.Endian = class Endian extends core.Object { - get [_littleEndian]() { - return this[_littleEndian$]; - } - set [_littleEndian](value) { - super[_littleEndian] = value; - } - }; - (typed_data.Endian.__ = function(_littleEndian) { - if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); - this[_littleEndian$] = _littleEndian; - ; - }).prototype = typed_data.Endian.prototype; - dart.addTypeTests(typed_data.Endian); - dart.addTypeCaches(typed_data.Endian); - dart.setLibraryUri(typed_data.Endian, I[60]); - dart.setFieldSignature(typed_data.Endian, () => ({ - __proto__: dart.getFields(typed_data.Endian.__proto__), - [_littleEndian]: dart.finalFieldType(core.bool) - })); - dart.defineLazy(typed_data.Endian, { - /*typed_data.Endian.big*/get big() { - return C[36] || CT.C36; - }, - /*typed_data.Endian.little*/get little() { - return C[213] || CT.C213; - }, - /*typed_data.Endian.host*/get host() { - return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; - } - }, false); - typed_data.ByteData = class ByteData extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); - return buffer[$asByteData](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 474, 42, "data"); - if (start == null) dart.nullFailed(I[142], 474, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - }; - (typed_data.ByteData[dart.mixinNew] = function() { - }).prototype = typed_data.ByteData.prototype; - dart.addTypeTests(typed_data.ByteData); - dart.addTypeCaches(typed_data.ByteData); - typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; - dart.setLibraryUri(typed_data.ByteData, I[60]); - typed_data.Int8List = class Int8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); - return buffer[$asInt8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 770, 42, "data"); - if (start == null) dart.nullFailed(I[142], 770, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Int8List[dart.mixinNew] = function() { - }).prototype = typed_data.Int8List.prototype; - typed_data.Int8List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Int8List); - dart.addTypeCaches(typed_data.Int8List); - typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Int8List, I[60]); - dart.defineLazy(typed_data.Int8List, { - /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { - return 1; - } - }, false); - typed_data.Uint8List = class Uint8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); - return buffer[$asUint8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 881, 43, "data"); - if (start == null) dart.nullFailed(I[142], 881, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Uint8List[dart.mixinNew] = function() { - }).prototype = typed_data.Uint8List.prototype; - typed_data.Uint8List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Uint8List); - dart.addTypeCaches(typed_data.Uint8List); - typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Uint8List, I[60]); - dart.defineLazy(typed_data.Uint8List, { - /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { - return 1; - } - }, false); - typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); - return buffer[$asUint8ClampedList](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); - if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Uint8ClampedList[dart.mixinNew] = function() { - }).prototype = typed_data.Uint8ClampedList.prototype; - typed_data.Uint8ClampedList.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Uint8ClampedList); - dart.addTypeCaches(typed_data.Uint8ClampedList); - typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); - dart.defineLazy(typed_data.Uint8ClampedList, { - /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { - return 1; - } - }, false); - typed_data.Int16List = class Int16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); - return buffer[$asInt16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Int16List[dart.mixinNew] = function() { - }).prototype = typed_data.Int16List.prototype; - typed_data.Int16List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Int16List); - dart.addTypeCaches(typed_data.Int16List); - typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Int16List, I[60]); - dart.defineLazy(typed_data.Int16List, { - /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { - return 2; - } - }, false); - typed_data.Uint16List = class Uint16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); - return buffer[$asUint16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Uint16List[dart.mixinNew] = function() { - }).prototype = typed_data.Uint16List.prototype; - typed_data.Uint16List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Uint16List); - dart.addTypeCaches(typed_data.Uint16List); - typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Uint16List, I[60]); - dart.defineLazy(typed_data.Uint16List, { - /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { - return 2; - } - }, false); - typed_data.Int32List = class Int32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); - return buffer[$asInt32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Int32List[dart.mixinNew] = function() { - }).prototype = typed_data.Int32List.prototype; - typed_data.Int32List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Int32List); - dart.addTypeCaches(typed_data.Int32List); - typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Int32List, I[60]); - dart.defineLazy(typed_data.Int32List, { - /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { - return 4; - } - }, false); - typed_data.Uint32List = class Uint32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); - return buffer[$asUint32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Uint32List[dart.mixinNew] = function() { - }).prototype = typed_data.Uint32List.prototype; - typed_data.Uint32List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Uint32List); - dart.addTypeCaches(typed_data.Uint32List); - typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Uint32List, I[60]); - dart.defineLazy(typed_data.Uint32List, { - /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { - return 4; - } - }, false); - typed_data.Int64List = class Int64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 101, 25, "length"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); - return buffer[$asInt64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Int64List[dart.mixinNew] = function() { - }).prototype = typed_data.Int64List.prototype; - typed_data.Int64List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Int64List); - dart.addTypeCaches(typed_data.Int64List); - typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Int64List, I[60]); - dart.defineLazy(typed_data.Int64List, { - /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { - return 8; - } - }, false); - typed_data.Uint64List = class Uint64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 114, 26, "length"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); - return buffer[$asUint64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Uint64List[dart.mixinNew] = function() { - }).prototype = typed_data.Uint64List.prototype; - typed_data.Uint64List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Uint64List); - dart.addTypeCaches(typed_data.Uint64List); - typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; - dart.setLibraryUri(typed_data.Uint64List, I[60]); - dart.defineLazy(typed_data.Uint64List, { - /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { - return 8; - } - }, false); - typed_data.Float32List = class Float32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); - return buffer[$asFloat32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Float32List[dart.mixinNew] = function() { - }).prototype = typed_data.Float32List.prototype; - typed_data.Float32List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Float32List); - dart.addTypeCaches(typed_data.Float32List); - typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; - dart.setLibraryUri(typed_data.Float32List, I[60]); - dart.defineLazy(typed_data.Float32List, { - /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { - return 4; - } - }, false); - typed_data.Float64List = class Float64List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); - return buffer[$asFloat64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Float64List[dart.mixinNew] = function() { - }).prototype = typed_data.Float64List.prototype; - typed_data.Float64List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Float64List); - dart.addTypeCaches(typed_data.Float64List); - typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; - dart.setLibraryUri(typed_data.Float64List, I[60]); - dart.defineLazy(typed_data.Float64List, { - /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { - return 8; - } - }, false); - typed_data.Float32x4List = class Float32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); - return buffer[$asFloat32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Float32x4List[dart.mixinNew] = function() { - }).prototype = typed_data.Float32x4List.prototype; - typed_data.Float32x4List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Float32x4List); - dart.addTypeCaches(typed_data.Float32x4List); - typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; - dart.setLibraryUri(typed_data.Float32x4List, I[60]); - dart.defineLazy(typed_data.Float32x4List, { - /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } - }, false); - typed_data.Int32x4List = class Int32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); - return buffer[$asInt32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); - if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Int32x4List[dart.mixinNew] = function() { - }).prototype = typed_data.Int32x4List.prototype; - typed_data.Int32x4List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Int32x4List); - dart.addTypeCaches(typed_data.Int32x4List); - typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; - dart.setLibraryUri(typed_data.Int32x4List, I[60]); - dart.defineLazy(typed_data.Int32x4List, { - /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } - }, false); - typed_data.Float64x2List = class Float64x2List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); - return buffer[$asFloat64x2List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (typed_data.Float64x2List[dart.mixinNew] = function() { - }).prototype = typed_data.Float64x2List.prototype; - typed_data.Float64x2List.prototype[dart.isList] = true; - dart.addTypeTests(typed_data.Float64x2List); - dart.addTypeCaches(typed_data.Float64x2List); - typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; - dart.setLibraryUri(typed_data.Float64x2List, I[60]); - dart.defineLazy(typed_data.Float64x2List, { - /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { - return 16; - } - }, false); var _data$ = dart.privateName(typed_data, "_data"); - typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + typed_data._UnmodifiableByteBufferView = class _UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } get lengthInBytes() { return this[_data$][$lengthInBytes]; } asUint8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 205, 30, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); } asInt8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); - return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 208, 28, "offsetInBytes"); + return new typed_data._UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); } asUint8ClampedList(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 211, 44, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); } asUint16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 215, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); } asInt16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 218, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); } asUint32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 221, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); } asInt32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 224, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); } asUint64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 227, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); } asInt64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 230, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); } asInt32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); - return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 233, 34, "offsetInBytes"); + return new typed_data._UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); } asFloat32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 237, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); } asFloat64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 241, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); } asFloat32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 245, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); } asFloat64x2List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 249, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); } asByteData(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); - return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 253, 28, "offsetInBytes"); + return new typed_data._UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); } }; - (typed_data.UnmodifiableByteBufferView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 11, 41, "data"); + (typed_data._UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); this[_data$] = data; ; - }).prototype = typed_data.UnmodifiableByteBufferView.prototype; - dart.addTypeTests(typed_data.UnmodifiableByteBufferView); - dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); - typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; - dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), + }).prototype = typed_data._UnmodifiableByteBufferView.prototype; + dart.addTypeTests(typed_data._UnmodifiableByteBufferView); + dart.addTypeCaches(typed_data._UnmodifiableByteBufferView); + typed_data._UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer, typed_data.UnmodifiableByteBufferView]; + dart.setMethodSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteBufferView.__proto__), asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), @@ -59540,17 +63761,17 @@ define([], (function load__dart_sdk() { asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) })); - dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), + dart.setGetterSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteBufferView.__proto__), lengthInBytes: core.int, [$lengthInBytes]: core.int })); - dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableByteBufferView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteBufferView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteBuffer) })); - dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableByteBufferView, [ 'asUint8List', 'asInt8List', 'asUint8ClampedList', @@ -59567,113 +63788,117 @@ define([], (function load__dart_sdk() { 'asFloat64x2List', 'asByteData' ]); - dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); + dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); var _unsupported$ = dart.privateName(typed_data, "_unsupported"); - typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + typed_data._UnmodifiableByteDataView = class _UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } getInt8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 266, 19, "byteOffset"); return this[_data$][$getInt8](byteOffset); } setInt8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 268, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 268, 36, "value"); return this[_unsupported$](); } getUint8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 270, 20, "byteOffset"); return this[_data$][$getUint8](byteOffset); } setUint8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 272, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 272, 37, "value"); return this[_unsupported$](); } - getInt16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + getInt16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 274, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 274, 40, "endian"); return this[_data$][$getInt16](byteOffset, endian); } - setInt16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 84, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + setInt16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 277, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 277, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 277, 52, "endian"); return this[_unsupported$](); } - getUint16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + getUint16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 280, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 280, 41, "endian"); return this[_data$][$getUint16](byteOffset, endian); } - setUint16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 90, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + setUint16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 283, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 283, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 283, 53, "endian"); return this[_unsupported$](); } - getInt32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + getInt32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 286, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 286, 40, "endian"); return this[_data$][$getInt32](byteOffset, endian); } - setInt32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 96, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + setInt32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 289, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 289, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 289, 52, "endian"); return this[_unsupported$](); } - getUint32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + getUint32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 292, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 292, 41, "endian"); return this[_data$][$getUint32](byteOffset, endian); } - setUint32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 102, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + setUint32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 295, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 295, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 295, 53, "endian"); return this[_unsupported$](); } - getInt64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + getInt64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 298, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 298, 40, "endian"); return this[_data$][$getInt64](byteOffset, endian); } - setInt64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 108, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + setInt64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 301, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 301, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 301, 52, "endian"); return this[_unsupported$](); } - getUint64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + getUint64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 304, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 304, 41, "endian"); return this[_data$][$getUint64](byteOffset, endian); } - setUint64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 114, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + setUint64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 307, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 307, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 307, 53, "endian"); return this[_unsupported$](); } - getFloat32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + getFloat32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 310, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 310, 45, "endian"); return this[_data$][$getFloat32](byteOffset, endian); } - setFloat32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 120, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + setFloat32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 313, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 313, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 313, 57, "endian"); return this[_unsupported$](); } - getFloat64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + getFloat64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 316, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 316, 45, "endian"); return this[_data$][$getFloat64](byteOffset, endian); } - setFloat64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 126, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + setFloat64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 319, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 319, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 319, 57, "endian"); return this[_unsupported$](); } get elementSizeInBytes() { @@ -59686,22 +63911,22 @@ define([], (function load__dart_sdk() { return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } [_unsupported$]() { dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); } }; - (typed_data.UnmodifiableByteDataView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 71, 37, "data"); + (typed_data._UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); this[_data$] = data; ; - }).prototype = typed_data.UnmodifiableByteDataView.prototype; - dart.addTypeTests(typed_data.UnmodifiableByteDataView); - dart.addTypeCaches(typed_data.UnmodifiableByteDataView); - typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; - dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), + }).prototype = typed_data._UnmodifiableByteDataView.prototype; + dart.addTypeTests(typed_data._UnmodifiableByteDataView); + dart.addTypeCaches(typed_data._UnmodifiableByteDataView); + typed_data._UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData, typed_data.UnmodifiableByteDataView]; + dart.setMethodSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteDataView.__proto__), getInt8: dart.fnType(core.int, [core.int]), [$getInt8]: dart.fnType(core.int, [core.int]), setInt8: dart.fnType(dart.void, [core.int, core.int]), @@ -59744,8 +63969,8 @@ define([], (function load__dart_sdk() { [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), [_unsupported$]: dart.fnType(dart.void, []) })); - dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), + dart.setGetterSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteDataView.__proto__), elementSizeInBytes: core.int, [$elementSizeInBytes]: core.int, offsetInBytes: core.int, @@ -59755,12 +63980,12 @@ define([], (function load__dart_sdk() { buffer: typed_data.ByteBuffer, [$buffer]: typed_data.ByteBuffer })); - dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableByteDataView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteDataView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteData) })); - dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableByteDataView, [ 'getInt8', 'setInt8', 'getUint8', @@ -59782,7 +64007,7 @@ define([], (function load__dart_sdk() { 'getFloat64', 'setFloat64' ]); - dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); + dart.defineExtensionAccessors(typed_data._UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); var _list$2 = dart.privateName(typed_data, "_list"); var _createList = dart.privateName(typed_data, "_createList"); const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); @@ -59795,7 +64020,7 @@ define([], (function load__dart_sdk() { return this[_list$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + if (index == null) dart.nullFailed(I[62], 343, 21, "index"); return this[_list$2][$_get](index); } get elementSizeInBytes() { @@ -59808,10 +64033,10 @@ define([], (function load__dart_sdk() { return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + if (start == null) dart.nullFailed(I[62], 355, 17, "start"); let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); let sublistLength = dart.notNull(endIndex) - dart.notNull(start); let result = this[_createList](sublistLength); @@ -59839,614 +64064,1784 @@ define([], (function load__dart_sdk() { lengthInBytes: core.int, buffer: typed_data.ByteBuffer })); - dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + dart.setLibraryUri(_UnmodifiableListMixin, I[63]); return _UnmodifiableListMixin; }); typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); - var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); + var _list$3 = dart.privateName(typed_data, "_UnmodifiableUint8ListView._list"); + typed_data.Uint8List = class Uint8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 93, 25, "length"); + return _native_typed_data.NativeUint8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 96, 40, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return typed_data.Uint8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + return typed_data.Uint8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint8List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint8List.prototype; + typed_data.Uint8List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint8List); + dart.addTypeCaches(typed_data.Uint8List); + typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Uint8List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Uint8List, I[63]); + dart.setStaticFieldSignature(typed_data.Uint8List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); - typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { + typed_data._UnmodifiableUint8ListView = class _UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { get [_list$2]() { return this[_list$3]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + if (length == null) dart.nullFailed(I[62], 375, 29, "length"); return _native_typed_data.NativeUint8List.new(length); } }; - (typed_data.UnmodifiableUint8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 177, 39, "list"); + (typed_data._UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); this[_list$3] = list; ; - }).prototype = typed_data.UnmodifiableUint8ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableUint8ListView); - dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); - typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; - dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), + }).prototype = typed_data._UnmodifiableUint8ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableUint8ListView); + dart.addTypeCaches(typed_data._UnmodifiableUint8ListView); + typed_data._UnmodifiableUint8ListView[dart.implements] = () => [typed_data.UnmodifiableUint8ListView]; + dart.setMethodSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableUint8ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableUint8ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); + var _list$4 = dart.privateName(typed_data, "_UnmodifiableInt8ListView._list"); + typed_data.Int8List = class Int8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 56, 24, "length"); + return _native_typed_data.NativeInt8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 59, 39, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return typed_data.Int8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + return typed_data.Int8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int8List[dart.mixinNew] = function() { + }).prototype = typed_data.Int8List.prototype; + typed_data.Int8List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int8List); + dart.addTypeCaches(typed_data.Int8List); + typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Int8List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Int8List, I[63]); + dart.setStaticFieldSignature(typed_data.Int8List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); - typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { + typed_data._UnmodifiableInt8ListView = class _UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { get [_list$2]() { return this[_list$4]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + if (length == null) dart.nullFailed(I[62], 388, 28, "length"); return _native_typed_data.NativeInt8List.new(length); } }; - (typed_data.UnmodifiableInt8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 187, 37, "list"); + (typed_data._UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); this[_list$4] = list; ; - }).prototype = typed_data.UnmodifiableInt8ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableInt8ListView); - dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); - typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; - dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), + }).prototype = typed_data._UnmodifiableInt8ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableInt8ListView); + dart.addTypeCaches(typed_data._UnmodifiableInt8ListView); + typed_data._UnmodifiableInt8ListView[dart.implements] = () => [typed_data.UnmodifiableInt8ListView]; + dart.setMethodSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt8ListView.__proto__), [_createList]: dart.fnType(typed_data.Int8List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableInt8ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int8List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableInt8ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableInt8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); + var _list$5 = dart.privateName(typed_data, "_UnmodifiableUint8ClampedListView._list"); + typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 83, 32, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 86, 47, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return typed_data.Uint8ClampedList.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + return typed_data.Uint8ClampedList.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint8ClampedList[dart.mixinNew] = function() { + }).prototype = typed_data.Uint8ClampedList.prototype; + typed_data.Uint8ClampedList.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint8ClampedList); + dart.addTypeCaches(typed_data.Uint8ClampedList); + typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Uint8ClampedList, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Uint8ClampedList, I[63]); + dart.setStaticFieldSignature(typed_data.Uint8ClampedList, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); - typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { + typed_data._UnmodifiableUint8ClampedListView = class _UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { get [_list$2]() { return this[_list$5]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + if (length == null) dart.nullFailed(I[62], 401, 36, "length"); return _native_typed_data.NativeUint8ClampedList.new(length); } }; - (typed_data.UnmodifiableUint8ClampedListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 197, 53, "list"); + (typed_data._UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); this[_list$5] = list; ; - }).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); - dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); - typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; - dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), + }).prototype = typed_data._UnmodifiableUint8ClampedListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableUint8ClampedListView); + dart.addTypeCaches(typed_data._UnmodifiableUint8ClampedListView); + typed_data._UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.UnmodifiableUint8ClampedListView]; + dart.setMethodSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableUint8ClampedListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) })); - dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableUint8ClampedListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ClampedListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); + var _list$6 = dart.privateName(typed_data, "_UnmodifiableUint16ListView._list"); + typed_data.Uint16List = class Uint16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 74, 26, "length"); + return _native_typed_data.NativeUint16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 77, 41, "elements"); + return _native_typed_data.NativeUint16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return typed_data.Uint16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + return typed_data.Uint16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint16List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint16List.prototype; + typed_data.Uint16List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint16List); + dart.addTypeCaches(typed_data.Uint16List); + typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Uint16List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Uint16List, I[63]); + dart.setStaticFieldSignature(typed_data.Uint16List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); - typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { + typed_data._UnmodifiableUint16ListView = class _UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { get [_list$2]() { return this[_list$6]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + if (length == null) dart.nullFailed(I[62], 414, 30, "length"); return _native_typed_data.NativeUint16List.new(length); } }; - (typed_data.UnmodifiableUint16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 207, 41, "list"); + (typed_data._UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); this[_list$6] = list; ; - }).prototype = typed_data.UnmodifiableUint16ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableUint16ListView); - dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); - typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; - dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), + }).prototype = typed_data._UnmodifiableUint16ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableUint16ListView); + dart.addTypeCaches(typed_data._UnmodifiableUint16ListView); + typed_data._UnmodifiableUint16ListView[dart.implements] = () => [typed_data.UnmodifiableUint16ListView]; + dart.setMethodSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint16ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableUint16ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint16List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableUint16ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableUint16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); + var _list$7 = dart.privateName(typed_data, "_UnmodifiableInt16ListView._list"); + typed_data.Int16List = class Int16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 38, 25, "length"); + return _native_typed_data.NativeInt16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 41, 40, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return typed_data.Int16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + return typed_data.Int16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int16List[dart.mixinNew] = function() { + }).prototype = typed_data.Int16List.prototype; + typed_data.Int16List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int16List); + dart.addTypeCaches(typed_data.Int16List); + typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Int16List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Int16List, I[63]); + dart.setStaticFieldSignature(typed_data.Int16List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); - typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { + typed_data._UnmodifiableInt16ListView = class _UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { get [_list$2]() { return this[_list$7]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + if (length == null) dart.nullFailed(I[62], 427, 29, "length"); return _native_typed_data.NativeInt16List.new(length); } }; - (typed_data.UnmodifiableInt16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 217, 39, "list"); + (typed_data._UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); this[_list$7] = list; ; - }).prototype = typed_data.UnmodifiableInt16ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableInt16ListView); - dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); - typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; - dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), + }).prototype = typed_data._UnmodifiableInt16ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableInt16ListView); + dart.addTypeCaches(typed_data._UnmodifiableInt16ListView); + typed_data._UnmodifiableInt16ListView[dart.implements] = () => [typed_data.UnmodifiableInt16ListView]; + dart.setMethodSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt16ListView.__proto__), [_createList]: dart.fnType(typed_data.Int16List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableInt16ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int16List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableInt16ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableInt16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); + var _list$8 = dart.privateName(typed_data, "_UnmodifiableUint32ListView._list"); + typed_data.Uint32List = class Uint32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 65, 26, "length"); + return _native_typed_data.NativeUint32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 68, 41, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return typed_data.Uint32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + return typed_data.Uint32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint32List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint32List.prototype; + typed_data.Uint32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint32List); + dart.addTypeCaches(typed_data.Uint32List); + typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Uint32List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Uint32List, I[63]); + dart.setStaticFieldSignature(typed_data.Uint32List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); - typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { + typed_data._UnmodifiableUint32ListView = class _UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { get [_list$2]() { return this[_list$8]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + if (length == null) dart.nullFailed(I[62], 440, 30, "length"); return _native_typed_data.NativeUint32List.new(length); } }; - (typed_data.UnmodifiableUint32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 227, 41, "list"); + (typed_data._UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); this[_list$8] = list; ; - }).prototype = typed_data.UnmodifiableUint32ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableUint32ListView); - dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); - typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; - dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), + }).prototype = typed_data._UnmodifiableUint32ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableUint32ListView); + dart.addTypeCaches(typed_data._UnmodifiableUint32ListView); + typed_data._UnmodifiableUint32ListView[dart.implements] = () => [typed_data.UnmodifiableUint32ListView]; + dart.setMethodSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint32ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableUint32ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint32List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableUint32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableUint32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); + var _list$9 = dart.privateName(typed_data, "_UnmodifiableInt32ListView._list"); + typed_data.Int32List = class Int32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 47, 25, "length"); + return _native_typed_data.NativeInt32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 50, 40, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return typed_data.Int32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + return typed_data.Int32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int32List[dart.mixinNew] = function() { + }).prototype = typed_data.Int32List.prototype; + typed_data.Int32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int32List); + dart.addTypeCaches(typed_data.Int32List); + typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Int32List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Int32List, I[63]); + dart.setStaticFieldSignature(typed_data.Int32List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); - typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { + typed_data._UnmodifiableInt32ListView = class _UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { get [_list$2]() { return this[_list$9]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + if (length == null) dart.nullFailed(I[62], 453, 29, "length"); return _native_typed_data.NativeInt32List.new(length); } }; - (typed_data.UnmodifiableInt32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 237, 39, "list"); + (typed_data._UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); this[_list$9] = list; ; - }).prototype = typed_data.UnmodifiableInt32ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableInt32ListView); - dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); - typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; - dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), + }).prototype = typed_data._UnmodifiableInt32ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableInt32ListView); + dart.addTypeCaches(typed_data._UnmodifiableInt32ListView); + typed_data._UnmodifiableInt32ListView[dart.implements] = () => [typed_data.UnmodifiableInt32ListView]; + dart.setMethodSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableInt32ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableInt32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableInt32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); + var _list$10 = dart.privateName(typed_data, "_UnmodifiableUint64ListView._list"); + typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + return typed_data.Uint64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + return typed_data.Uint64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return typed_data.Uint64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + return typed_data.Uint64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint64List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint64List.prototype; + typed_data.Uint64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint64List); + dart.addTypeCaches(typed_data.Uint64List); + typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Uint64List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Uint64List, I[63]); + dart.setStaticFieldSignature(typed_data.Uint64List, () => ['bytesPerElement']); + dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); - typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { + typed_data._UnmodifiableUint64ListView = class _UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { get [_list$2]() { return this[_list$10]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + if (length == null) dart.nullFailed(I[62], 466, 30, "length"); return typed_data.Uint64List.new(length); } }; - (typed_data.UnmodifiableUint64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 247, 41, "list"); + (typed_data._UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); this[_list$10] = list; ; - }).prototype = typed_data.UnmodifiableUint64ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableUint64ListView); - dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); - typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; - dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), + }).prototype = typed_data._UnmodifiableUint64ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableUint64ListView); + dart.addTypeCaches(typed_data._UnmodifiableUint64ListView); + typed_data._UnmodifiableUint64ListView[dart.implements] = () => [typed_data.UnmodifiableUint64ListView]; + dart.setMethodSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint64ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableUint64ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint64List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableUint64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableUint64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); + var _list$11 = dart.privateName(typed_data, "_UnmodifiableInt64ListView._list"); + typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + return typed_data.Int64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + return typed_data.Int64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return typed_data.Int64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + return typed_data.Int64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int64List[dart.mixinNew] = function() { + }).prototype = typed_data.Int64List.prototype; + typed_data.Int64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int64List); + dart.addTypeCaches(typed_data.Int64List); + typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setStaticMethodSignature(typed_data.Int64List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Int64List, I[63]); + dart.setStaticFieldSignature(typed_data.Int64List, () => ['bytesPerElement']); + dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); - typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { + typed_data._UnmodifiableInt64ListView = class _UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { get [_list$2]() { return this[_list$11]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + if (length == null) dart.nullFailed(I[62], 479, 29, "length"); return typed_data.Int64List.new(length); } }; - (typed_data.UnmodifiableInt64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 257, 39, "list"); + (typed_data._UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); this[_list$11] = list; ; - }).prototype = typed_data.UnmodifiableInt64ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableInt64ListView); - dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); - typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; - dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), + }).prototype = typed_data._UnmodifiableInt64ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableInt64ListView); + dart.addTypeCaches(typed_data._UnmodifiableInt64ListView); + typed_data._UnmodifiableInt64ListView[dart.implements] = () => [typed_data.UnmodifiableInt64ListView]; + dart.setMethodSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt64ListView.__proto__), [_createList]: dart.fnType(typed_data.Int64List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableInt64ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int64List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableInt64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableInt64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); + var _list$12 = dart.privateName(typed_data, "_UnmodifiableInt32x4ListView._list"); + typed_data.Int32x4List = class Int32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 128, 27, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 131, 46, "elements"); + return _native_typed_data.NativeInt32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return typed_data.Int32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + return typed_data.Int32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int32x4List[dart.mixinNew] = function() { + }).prototype = typed_data.Int32x4List.prototype; + typed_data.Int32x4List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int32x4List); + dart.addTypeCaches(typed_data.Int32x4List); + typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; + dart.setStaticMethodSignature(typed_data.Int32x4List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Int32x4List, I[63]); + dart.setStaticFieldSignature(typed_data.Int32x4List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); - typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { + typed_data._UnmodifiableInt32x4ListView = class _UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { get [_list$2]() { return this[_list$12]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + if (length == null) dart.nullFailed(I[62], 492, 31, "length"); return new _native_typed_data.NativeInt32x4List.new(length); } }; - (typed_data.UnmodifiableInt32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 267, 43, "list"); + (typed_data._UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); this[_list$12] = list; ; - }).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); - dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); - typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; - dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), + }).prototype = typed_data._UnmodifiableInt32x4ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableInt32x4ListView); + dart.addTypeCaches(typed_data._UnmodifiableInt32x4ListView); + typed_data._UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.UnmodifiableInt32x4ListView]; + dart.setMethodSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableInt32x4ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32x4List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableInt32x4ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableInt32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); + var _list$13 = dart.privateName(typed_data, "_UnmodifiableFloat32x4ListView._list"); + typed_data.Float32x4List = class Float32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 138, 29, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 141, 50, "elements"); + return _native_typed_data.NativeFloat32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return typed_data.Float32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + return typed_data.Float32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float32x4List[dart.mixinNew] = function() { + }).prototype = typed_data.Float32x4List.prototype; + typed_data.Float32x4List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float32x4List); + dart.addTypeCaches(typed_data.Float32x4List); + typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; + dart.setStaticMethodSignature(typed_data.Float32x4List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Float32x4List, I[63]); + dart.setStaticFieldSignature(typed_data.Float32x4List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); - typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { + typed_data._UnmodifiableFloat32x4ListView = class _UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { get [_list$2]() { return this[_list$13]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + if (length == null) dart.nullFailed(I[62], 505, 33, "length"); return new _native_typed_data.NativeFloat32x4List.new(length); } }; - (typed_data.UnmodifiableFloat32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 277, 47, "list"); + (typed_data._UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); this[_list$13] = list; ; - }).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); - dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); - typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; - dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), + }).prototype = typed_data._UnmodifiableFloat32x4ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableFloat32x4ListView); + dart.addTypeCaches(typed_data._UnmodifiableFloat32x4ListView); + typed_data._UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32x4ListView]; + dart.setMethodSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableFloat32x4ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32x4List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableFloat32x4ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); + var _list$14 = dart.privateName(typed_data, "_UnmodifiableFloat64x2ListView._list"); + typed_data.Float64x2List = class Float64x2List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 148, 29, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 151, 50, "elements"); + return _native_typed_data.NativeFloat64x2List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return typed_data.Float64x2List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + return typed_data.Float64x2List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float64x2List[dart.mixinNew] = function() { + }).prototype = typed_data.Float64x2List.prototype; + typed_data.Float64x2List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float64x2List); + dart.addTypeCaches(typed_data.Float64x2List); + typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; + dart.setStaticMethodSignature(typed_data.Float64x2List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Float64x2List, I[63]); + dart.setStaticFieldSignature(typed_data.Float64x2List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); - typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { + typed_data._UnmodifiableFloat64x2ListView = class _UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { get [_list$2]() { return this[_list$14]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + if (length == null) dart.nullFailed(I[62], 518, 33, "length"); return new _native_typed_data.NativeFloat64x2List.new(length); } }; - (typed_data.UnmodifiableFloat64x2ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 287, 47, "list"); + (typed_data._UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); this[_list$14] = list; ; - }).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); - dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); - typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; - dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), + }).prototype = typed_data._UnmodifiableFloat64x2ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableFloat64x2ListView); + dart.addTypeCaches(typed_data._UnmodifiableFloat64x2ListView); + typed_data._UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64x2ListView]; + dart.setMethodSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableFloat64x2ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64x2List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableFloat64x2ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64x2ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); + var _list$15 = dart.privateName(typed_data, "_UnmodifiableFloat32ListView._list"); + typed_data.Float32List = class Float32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 18, 27, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 21, 45, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return typed_data.Float32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + return typed_data.Float32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float32List[dart.mixinNew] = function() { + }).prototype = typed_data.Float32List.prototype; + typed_data.Float32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float32List); + dart.addTypeCaches(typed_data.Float32List); + typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; + dart.setStaticMethodSignature(typed_data.Float32List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Float32List, I[63]); + dart.setStaticFieldSignature(typed_data.Float32List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); - typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { + typed_data._UnmodifiableFloat32ListView = class _UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { get [_list$2]() { return this[_list$15]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + if (length == null) dart.nullFailed(I[62], 531, 31, "length"); return _native_typed_data.NativeFloat32List.new(length); } }; - (typed_data.UnmodifiableFloat32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 297, 43, "list"); + (typed_data._UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); this[_list$15] = list; ; - }).prototype = typed_data.UnmodifiableFloat32ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); - dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); - typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; - dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), + }).prototype = typed_data._UnmodifiableFloat32ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableFloat32ListView); + dart.addTypeCaches(typed_data._UnmodifiableFloat32ListView); + typed_data._UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32ListView]; + dart.setMethodSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableFloat32ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableFloat32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); - var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); + var _list$16 = dart.privateName(typed_data, "_UnmodifiableFloat64ListView._list"); + typed_data.Float64List = class Float64List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 28, 27, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 31, 45, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return typed_data.Float64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + return typed_data.Float64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float64List[dart.mixinNew] = function() { + }).prototype = typed_data.Float64List.prototype; + typed_data.Float64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float64List); + dart.addTypeCaches(typed_data.Float64List); + typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; + dart.setStaticMethodSignature(typed_data.Float64List, () => ['new', 'fromList', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.Float64List, I[63]); + dart.setStaticFieldSignature(typed_data.Float64List, () => ['bytesPerElement', '_redirecting#']); + dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); - typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { + typed_data._UnmodifiableFloat64ListView = class _UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { get [_list$2]() { return this[_list$16]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + if (length == null) dart.nullFailed(I[62], 544, 31, "length"); return _native_typed_data.NativeFloat64List.new(length); } }; - (typed_data.UnmodifiableFloat64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 307, 43, "list"); + (typed_data._UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); this[_list$16] = list; ; - }).prototype = typed_data.UnmodifiableFloat64ListView.prototype; - dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); - dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); - typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; - dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), + }).prototype = typed_data._UnmodifiableFloat64ListView.prototype; + dart.addTypeTests(typed_data._UnmodifiableFloat64ListView); + dart.addTypeCaches(typed_data._UnmodifiableFloat64ListView); + typed_data._UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64ListView]; + dart.setMethodSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64List, [core.int]) })); - dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); - dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), + dart.setLibraryUri(typed_data._UnmodifiableFloat64ListView, I[63]); + dart.setFieldSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64List) })); - dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); - dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ + dart.defineExtensionMethods(typed_data._UnmodifiableFloat64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); + typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; + (typed_data.ByteBuffer.new = function() { + ; + }).prototype = typed_data.ByteBuffer.prototype; + dart.addTypeTests(typed_data.ByteBuffer); + dart.addTypeCaches(typed_data.ByteBuffer); + dart.setLibraryUri(typed_data.ByteBuffer, I[63]); + typed_data.TypedData = class TypedData extends core.Object {}; + (typed_data.TypedData.new = function() { + ; + }).prototype = typed_data.TypedData.prototype; + dart.addTypeTests(typed_data.TypedData); + dart.addTypeCaches(typed_data.TypedData); + dart.setLibraryUri(typed_data.TypedData, I[63]); + typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; + (typed_data._TypedIntList.new = function() { + ; + }).prototype = typed_data._TypedIntList.prototype; + dart.addTypeTests(typed_data._TypedIntList); + dart.addTypeCaches(typed_data._TypedIntList); + dart.setLibraryUri(typed_data._TypedIntList, I[63]); + typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; + (typed_data._TypedFloatList.new = function() { + ; + }).prototype = typed_data._TypedFloatList.prototype; + dart.addTypeTests(typed_data._TypedFloatList); + dart.addTypeCaches(typed_data._TypedFloatList); + dart.setLibraryUri(typed_data._TypedFloatList, I[63]); + var _littleEndian = dart.privateName(typed_data, "_littleEndian"); + const _littleEndian$ = Endian__littleEndian; + typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } + static ['_#_#tearOff'](_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + return new typed_data.Endian.__(_littleEndian); + } + }; + (typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; + }).prototype = typed_data.Endian.prototype; + dart.addTypeTests(typed_data.Endian); + dart.addTypeCaches(typed_data.Endian); + dart.setLibraryUri(typed_data.Endian, I[63]); + dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) + })); + dart.setStaticFieldSignature(typed_data.Endian, () => ['big', 'little', 'host']); + dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[37] || CT.C37; + }, + /*typed_data.Endian.little*/get little() { + return C[223] || CT.C223; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } + }, false); + typed_data.ByteData = class ByteData extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 12, 24, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return typed_data.ByteData.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + return typed_data.ByteData.sublistView(data, start, end); + } + }; + (typed_data.ByteData[dart.mixinNew] = function() { + }).prototype = typed_data.ByteData.prototype; + dart.addTypeTests(typed_data.ByteData); + dart.addTypeCaches(typed_data.ByteData); + typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; + dart.setStaticMethodSignature(typed_data.ByteData, () => ['new', 'view', 'sublistView']); + dart.setLibraryUri(typed_data.ByteData, I[63]); + dart.setStaticFieldSignature(typed_data.ByteData, () => ['_redirecting#']); + typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 549, 49, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } + }; + (typed_data.UnmodifiableByteBufferView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableByteBufferView.prototype; + dart.addTypeTests(typed_data.UnmodifiableByteBufferView); + dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); + typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; + dart.setStaticMethodSignature(typed_data.UnmodifiableByteBufferView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableByteBufferView, () => ['_redirecting#']); + typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 555, 45, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } + }; + (typed_data.UnmodifiableByteDataView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableByteDataView.prototype; + dart.addTypeTests(typed_data.UnmodifiableByteDataView); + dart.addTypeCaches(typed_data.UnmodifiableByteDataView); + typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; + dart.setStaticMethodSignature(typed_data.UnmodifiableByteDataView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableByteDataView, () => ['_redirecting#']); + typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 560, 47, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableUint8ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableUint8ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint8ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); + typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ListView, () => ['_redirecting#']); + typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 566, 45, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableInt8ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableInt8ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt8ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); + typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableInt8ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableInt8ListView, () => ['_redirecting#']); + typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 571, 61, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableUint8ClampedListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); + dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); + typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; + dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['_redirecting#']); + typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 577, 49, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableUint16ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableUint16ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint16ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); + typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableUint16ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableUint16ListView, () => ['_redirecting#']); + typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 583, 47, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableInt16ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableInt16ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt16ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); + typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableInt16ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableInt16ListView, () => ['_redirecting#']); + typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 589, 49, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableUint32ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableUint32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint32ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); + typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableUint32ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableUint32ListView, () => ['_redirecting#']); + typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 595, 47, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableInt32ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableInt32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt32ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); + typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableInt32ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableInt32ListView, () => ['_redirecting#']); + typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 601, 49, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableUint64ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableUint64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint64ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); + typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableUint64ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableUint64ListView, () => ['_redirecting#']); + typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 607, 47, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableInt64ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableInt64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt64ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); + typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableInt64ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableInt64ListView, () => ['_redirecting#']); + typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 613, 51, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableInt32x4ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); + typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ['_redirecting#']); + typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 619, 55, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableFloat32x4ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); + typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['_redirecting#']); + typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 625, 55, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableFloat64x2ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); + typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['_redirecting#']); + typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 631, 51, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableFloat32ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableFloat32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); + typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ['_redirecting#']); + typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 637, 51, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.UnmodifiableFloat64ListView[dart.mixinNew] = function() { + }).prototype = typed_data.UnmodifiableFloat64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); + typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; + dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ['new']); + dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[63]); + dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ['_redirecting#']); indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { static createKeyRange_only(value) { return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); } static createKeyRange_lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + if (open == null) dart.nullFailed(I[147], 93, 17, "open"); return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + if (open == null) dart.nullFailed(I[147], 97, 17, "open"); return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 101, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 101, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); } static _class() { @@ -60471,20 +65866,25 @@ define([], (function load__dart_sdk() { static _bound(cls, lower, upper, lowerOpen, upperOpen) { return cls.bound(lower, upper, lowerOpen, upperOpen); } + static ['_#new#tearOff']() { + return new indexed_db._KeyRangeFactoryProvider.new(); + } }; (indexed_db._KeyRangeFactoryProvider.new = function() { ; }).prototype = indexed_db._KeyRangeFactoryProvider.prototype; dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); - dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); + dart.setStaticMethodSignature(indexed_db._KeyRangeFactoryProvider, () => ['createKeyRange_only', 'createKeyRange_lowerBound', 'createKeyRange_upperBound', 'createKeyRange_bound', '_class', '_uncachedClass', '_translateKey', '_only', '_lowerBound', '_upperBound', '_bound']); + dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[148]); + dart.setStaticFieldSignature(indexed_db._KeyRangeFactoryProvider, () => ['_cachedClass']); dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { return null; }, - set _cachedClass(_) {} + set _cachedClass(value) {} }, false); - indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { + indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { [S.$delete]() { try { return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); @@ -60516,6 +65916,9 @@ define([], (function load__dart_sdk() { this.continue(key); } } + static ['_#_#tearOff']() { + return indexed_db.Cursor.__(); + } get [S.$direction]() { return this.direction; } @@ -60558,6 +65961,7 @@ define([], (function load__dart_sdk() { [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); + dart.setStaticMethodSignature(indexed_db.Cursor, () => ['__']); dart.setGetterSignature(indexed_db.Cursor, () => ({ __proto__: dart.getGetters(indexed_db.Cursor.__proto__), [S.$direction]: dart.nullable(core.String), @@ -60565,9 +65969,12 @@ define([], (function load__dart_sdk() { [S.$primaryKey]: dart.nullable(core.Object), [S.$source]: dart.nullable(core.Object) })); - dart.setLibraryUri(indexed_db.Cursor, I[146]); + dart.setLibraryUri(indexed_db.Cursor, I[148]); dart.registerExtension("IDBCursor", indexed_db.Cursor); indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + static ['_#_#tearOff']() { + return indexed_db.CursorWithValue.__(); + } get [S.$value]() { return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); } @@ -60577,29 +65984,36 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.CursorWithValue); dart.addTypeCaches(indexed_db.CursorWithValue); + dart.setStaticMethodSignature(indexed_db.CursorWithValue, () => ['__']); dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), [S.$value]: dart.dynamic, [S._get_value]: dart.dynamic })); - dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); + dart.setLibraryUri(indexed_db.CursorWithValue, I[148]); dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); - html$.EventTarget = class EventTarget extends _interceptors.Interceptor { + html$.EventTarget = class EventTarget extends _interceptors.JavaScriptObject { + static ['_#_created#tearOff']() { + return new html$.EventTarget._created(); + } get [S.$on]() { return new html$.Events.new(this); } [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (type == null) dart.nullFailed(I[149], 15879, 32, "type"); if (listener != null) { this[S._addEventListener](type, listener, useCapture); } } [S.$removeEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (type == null) dart.nullFailed(I[149], 15889, 35, "type"); if (listener != null) { this[S._removeEventListener](type, listener, useCapture); } } + static ['_#_#tearOff']() { + return html$.EventTarget.__(); + } [S._addEventListener](...args) { return this.addEventListener.apply(this, args); } @@ -60624,15 +66038,16 @@ define([], (function load__dart_sdk() { [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); + dart.setStaticMethodSignature(html$.EventTarget, () => ['__']); dart.setGetterSignature(html$.EventTarget, () => ({ __proto__: dart.getGetters(html$.EventTarget.__proto__), [S.$on]: html$.Events })); - dart.setLibraryUri(html$.EventTarget, I[148]); + dart.setLibraryUri(html$.EventTarget, I[150]); dart.registerExtension("EventTarget", html$.EventTarget); indexed_db.Database = class Database extends html$.EventTarget { [S.$createObjectStore](name, opts) { - if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + if (name == null) dart.nullFailed(I[147], 300, 40, "name"); let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; let options = new _js_helper.LinkedMap.new(); @@ -60645,23 +66060,23 @@ define([], (function load__dart_sdk() { return this[S._createObjectStore](name, options); } [S.$transaction](storeName_OR_storeNames, mode) { - if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode == null) dart.nullFailed(I[147], 312, 59, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName_OR_storeNames, mode); } [S.$transactionStore](storeName, mode) { - if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); - if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (storeName == null) dart.nullFailed(I[147], 326, 39, "storeName"); + if (mode == null) dart.nullFailed(I[147], 326, 57, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName, mode); } [S.$transactionList](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 336, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 336, 63, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60669,8 +66084,8 @@ define([], (function load__dart_sdk() { return this[S._transaction](storeNames_1, mode); } [S.$transactionStores](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 344, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 344, 66, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60679,6 +66094,9 @@ define([], (function load__dart_sdk() { [S._transaction](...args) { return this.transaction.apply(this, args); } + static ['_#_#tearOff']() { + return indexed_db.Database.__(); + } get [$name]() { return this.name; } @@ -60692,7 +66110,7 @@ define([], (function load__dart_sdk() { return this.close.apply(this, args); } [S._createObjectStore](name, options = null) { - if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (name == null) dart.nullFailed(I[147], 407, 41, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createObjectStore_1](name, options_1); @@ -60737,6 +66155,7 @@ define([], (function load__dart_sdk() { [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(indexed_db.Database, () => ['__']); dart.setGetterSignature(indexed_db.Database, () => ({ __proto__: dart.getGetters(indexed_db.Database.__proto__), [$name]: dart.nullable(core.String), @@ -60747,28 +66166,29 @@ define([], (function load__dart_sdk() { [S.$onError]: async.Stream$(html$.Event), [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) })); - dart.setLibraryUri(indexed_db.Database, I[146]); + dart.setLibraryUri(indexed_db.Database, I[148]); + dart.setStaticFieldSignature(indexed_db.Database, () => ['abortEvent', 'closeEvent', 'errorEvent', 'versionChangeEvent']); dart.defineLazy(indexed_db.Database, { /*indexed_db.Database.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[217] || CT.C217; + return C[227] || CT.C227; } }, false); dart.registerExtension("IDBDatabase", indexed_db.Database); - indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { + indexed_db.IdbFactory = class IdbFactory extends _interceptors.JavaScriptObject { static get supported() { return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); } [S.$open](name, opts) { - if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + if (name == null) dart.nullFailed(I[147], 463, 32, "name"); let version = opts && 'version' in opts ? opts.version : null; let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; @@ -60799,7 +66219,7 @@ define([], (function load__dart_sdk() { } } [S.$deleteDatabase](name, opts) { - if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + if (name == null) dart.nullFailed(I[147], 491, 44, "name"); let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; try { let request = this[S._deleteDatabase](name); @@ -60808,7 +66228,7 @@ define([], (function load__dart_sdk() { } let completer = T$0.CompleterOfIdbFactory().sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + if (e == null) dart.nullFailed(I[147], 499, 33, "e"); completer.complete(this); }, T$0.EventTovoid())); request[S.$onError].listen(dart.bind(completer, 'completeError')); @@ -60823,7 +66243,10 @@ define([], (function load__dart_sdk() { } } get [S.$supportsDatabaseNames]() { - return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + return false; + } + static ['_#_#tearOff']() { + return indexed_db.IdbFactory.__(); } [S.$cmp](...args) { return this.cmp.apply(this, args); @@ -60845,13 +66268,15 @@ define([], (function load__dart_sdk() { [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(indexed_db.IdbFactory, () => ['__']); dart.setGetterSignature(indexed_db.IdbFactory, () => ({ __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), [S.$supportsDatabaseNames]: core.bool })); - dart.setLibraryUri(indexed_db.IdbFactory, I[146]); + dart.setStaticGetterSignature(indexed_db.IdbFactory, () => ['supported']); + dart.setLibraryUri(indexed_db.IdbFactory, I[148]); dart.registerExtension("IDBFactory", indexed_db.IdbFactory); - indexed_db.Index = class Index extends _interceptors.Interceptor { + indexed_db.Index = class Index extends _interceptors.JavaScriptObject { [S.$count](key_OR_range = null) { try { let request = this[S._count$2](key_OR_range); @@ -60935,6 +66360,9 @@ define([], (function load__dart_sdk() { } return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); } + static ['_#_#tearOff']() { + return indexed_db.Index.__(); + } get [S.$keyPath]() { return this.keyPath; } @@ -60992,6 +66420,7 @@ define([], (function load__dart_sdk() { [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(indexed_db.Index, () => ['__']); dart.setGetterSignature(indexed_db.Index, () => ({ __proto__: dart.getGetters(indexed_db.Index.__proto__), [S.$keyPath]: dart.nullable(core.Object), @@ -61004,25 +66433,44 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(indexed_db.Index.__proto__), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(indexed_db.Index, I[146]); + dart.setLibraryUri(indexed_db.Index, I[148]); dart.registerExtension("IDBIndex", indexed_db.Index); - indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { + indexed_db.KeyRange = class KeyRange extends _interceptors.JavaScriptObject { static only(value) { return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); } + static ['_#only#tearOff'](value) { + return indexed_db.KeyRange.only(value); + } static lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); } + static ['_#lowerBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); + return indexed_db.KeyRange.lowerBound(bound, open); + } static upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); } + static ['_#upperBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); + return indexed_db.KeyRange.upperBound(bound, open); + } static bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); } + static ['_#bound#tearOff'](lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); + return indexed_db.KeyRange.bound(lower, upper, lowerOpen, upperOpen); + } + static ['_#_#tearOff']() { + return indexed_db.KeyRange.__(); + } get [S.$lower]() { return this.lower; } @@ -61045,6 +66493,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), [S.$includes]: dart.fnType(core.bool, [core.Object]) })); + dart.setStaticMethodSignature(indexed_db.KeyRange, () => ['only', 'lowerBound', 'upperBound', 'bound', '__', 'bound__', 'lowerBound__', 'only__', 'upperBound__']); dart.setGetterSignature(indexed_db.KeyRange, () => ({ __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), [S.$lower]: dart.nullable(core.Object), @@ -61052,9 +66501,9 @@ define([], (function load__dart_sdk() { [S.$upper]: dart.nullable(core.Object), [S.$upperOpen]: dart.nullable(core.bool) })); - dart.setLibraryUri(indexed_db.KeyRange, I[146]); + dart.setLibraryUri(indexed_db.KeyRange, I[148]); dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); - indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { + indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { [$add](value, key = null) { try { let request = null; @@ -61164,7 +66613,7 @@ define([], (function load__dart_sdk() { return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); } [S.$createIndex](name, keyPath, opts) { - if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + if (name == null) dart.nullFailed(I[147], 853, 28, "name"); let unique = opts && 'unique' in opts ? opts.unique : null; let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; let options = new _js_helper.LinkedMap.new(); @@ -61176,6 +66625,9 @@ define([], (function load__dart_sdk() { } return this[S._createIndex](name, core.Object.as(keyPath), options); } + static ['_#_#tearOff']() { + return indexed_db.ObjectStore.__(); + } get [S.$autoIncrement]() { return this.autoIncrement; } @@ -61216,8 +66668,8 @@ define([], (function load__dart_sdk() { return this.count.apply(this, args); } [S._createIndex](name, keyPath, options = null) { - if (name == null) dart.nullFailed(I[145], 923, 29, "name"); - if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (name == null) dart.nullFailed(I[147], 915, 29, "name"); + if (keyPath == null) dart.nullFailed(I[147], 915, 42, "keyPath"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createIndex_1](name, keyPath, options_1); @@ -61273,11 +66725,11 @@ define([], (function load__dart_sdk() { return this.put.apply(this, args); } static _cursorStreamFromResult(T, request, autoAdvance) { - if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + if (request == null) dart.nullFailed(I[147], 983, 15, "request"); let controller = async.StreamController$(T).new({sync: true}); request[S.$onError].listen(dart.bind(controller, 'addError')); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + if (e == null) dart.nullFailed(I[147], 992, 31, "e"); let cursor = dart.nullable(T).as(request[S.$result]); if (cursor == null) { controller.close(); @@ -61324,6 +66776,7 @@ define([], (function load__dart_sdk() { [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); + dart.setStaticMethodSignature(indexed_db.ObjectStore, () => ['__', '_cursorStreamFromResult']); dart.setGetterSignature(indexed_db.ObjectStore, () => ({ __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), [S.$autoIncrement]: dart.nullable(core.bool), @@ -61336,9 +66789,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(indexed_db.ObjectStore, I[146]); + dart.setLibraryUri(indexed_db.ObjectStore, I[148]); dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); - indexed_db.Observation = class Observation extends _interceptors.Interceptor { + indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observation.__(); + } get [S.$key]() { return this.key; } @@ -61351,27 +66807,35 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.Observation); dart.addTypeCaches(indexed_db.Observation); + dart.setStaticMethodSignature(indexed_db.Observation, () => ['__']); dart.setGetterSignature(indexed_db.Observation, () => ({ __proto__: dart.getGetters(indexed_db.Observation.__proto__), [S.$key]: dart.nullable(core.Object), [S.$type]: dart.nullable(core.String), [S.$value]: dart.nullable(core.Object) })); - dart.setLibraryUri(indexed_db.Observation, I[146]); + dart.setLibraryUri(indexed_db.Observation, I[148]); dart.registerExtension("IDBObservation", indexed_db.Observation); - indexed_db.Observer = class Observer extends _interceptors.Interceptor { + indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observer.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); return indexed_db.Observer._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); + return indexed_db.Observer.new(callback); + } static _create_1(callback) { return new IDBObserver(callback); } [S.$observe](db, tx, options) { - if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); - if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); - if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + if (db == null) dart.nullFailed(I[147], 1041, 25, "db"); + if (tx == null) dart.nullFailed(I[147], 1041, 41, "tx"); + if (options == null) dart.nullFailed(I[147], 1041, 49, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S._observe_1](db, tx, options_1); return; @@ -61391,9 +66855,13 @@ define([], (function load__dart_sdk() { [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) })); - dart.setLibraryUri(indexed_db.Observer, I[146]); + dart.setStaticMethodSignature(indexed_db.Observer, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(indexed_db.Observer, I[148]); dart.registerExtension("IDBObserver", indexed_db.Observer); - indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { + indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.ObserverChanges.__(); + } get [S.$database]() { return this.database; } @@ -61406,15 +66874,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.ObserverChanges); dart.addTypeCaches(indexed_db.ObserverChanges); + dart.setStaticMethodSignature(indexed_db.ObserverChanges, () => ['__']); dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), [S.$database]: dart.nullable(indexed_db.Database), [S.$records]: dart.nullable(core.Object), [S.$transaction]: dart.nullable(indexed_db.Transaction) })); - dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); + dart.setLibraryUri(indexed_db.ObserverChanges, I[148]); dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); indexed_db.Request = class Request extends html$.EventTarget { + static ['_#_#tearOff']() { + return indexed_db.Request.__(); + } get [S.$error]() { return this.error; } @@ -61442,6 +66914,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.Request); dart.addTypeCaches(indexed_db.Request); + dart.setStaticMethodSignature(indexed_db.Request, () => ['__']); dart.setGetterSignature(indexed_db.Request, () => ({ __proto__: dart.getGetters(indexed_db.Request.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -61453,17 +66926,21 @@ define([], (function load__dart_sdk() { [S.$onError]: async.Stream$(html$.Event), [S.$onSuccess]: async.Stream$(html$.Event) })); - dart.setLibraryUri(indexed_db.Request, I[146]); + dart.setLibraryUri(indexed_db.Request, I[148]); + dart.setStaticFieldSignature(indexed_db.Request, () => ['errorEvent', 'successEvent']); dart.defineLazy(indexed_db.Request, { /*indexed_db.Request.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Request.successEvent*/get successEvent() { - return C[218] || CT.C218; + return C[228] || CT.C228; } }, false); dart.registerExtension("IDBRequest", indexed_db.Request); indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + static ['_#_#tearOff']() { + return indexed_db.OpenDBRequest.__(); + } get [S.$onBlocked]() { return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); } @@ -61473,18 +66950,20 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.OpenDBRequest); dart.addTypeCaches(indexed_db.OpenDBRequest); + dart.setStaticMethodSignature(indexed_db.OpenDBRequest, () => ['__']); dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), [S.$onBlocked]: async.Stream$(html$.Event), [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) })); - dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); + dart.setLibraryUri(indexed_db.OpenDBRequest, I[148]); + dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); dart.defineLazy(indexed_db.OpenDBRequest, { /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[219] || CT.C219; + return C[229] || CT.C229; }, /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[220] || CT.C220; + return C[230] || CT.C230; } }, false); dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); @@ -61493,21 +66972,24 @@ define([], (function load__dart_sdk() { get [S.$completed]() { let completer = T$0.CompleterOfDatabase().new(); this[S.$onComplete].first.then(core.Null, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + if (_ == null) dart.nullFailed(I[147], 1173, 33, "_"); completer.complete(this.db); }, T$0.EventToNull())); this[S.$onError].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1177, 30, "e"); completer.completeError(e); }, T$0.EventToNull())); this[S.$onAbort].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1181, 30, "e"); if (!dart.test(completer.isCompleted)) { completer.completeError(e); } }, T$0.EventToNull())); return completer.future; } + static ['_#_#tearOff']() { + return indexed_db.Transaction.__(); + } get [S.$db]() { return this.db; } @@ -61543,6 +67025,7 @@ define([], (function load__dart_sdk() { [S.$abort]: dart.fnType(dart.void, []), [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) })); + dart.setStaticMethodSignature(indexed_db.Transaction, () => ['__']); dart.setGetterSignature(indexed_db.Transaction, () => ({ __proto__: dart.getGetters(indexed_db.Transaction.__proto__), [S.$completed]: async.Future$(indexed_db.Database), @@ -61554,39 +67037,57 @@ define([], (function load__dart_sdk() { [S.$onComplete]: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(indexed_db.Transaction, I[146]); + dart.setLibraryUri(indexed_db.Transaction, I[148]); + dart.setStaticFieldSignature(indexed_db.Transaction, () => ['abortEvent', 'completeEvent', 'errorEvent']); dart.defineLazy(indexed_db.Transaction, { /*indexed_db.Transaction.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[221] || CT.C221; + return C[231] || CT.C231; }, /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("IDBTransaction", indexed_db.Transaction); - html$.Event = class Event$ extends _interceptors.Interceptor { + html$.Event = class Event$ extends _interceptors.JavaScriptObject { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); + return html$.Event.new(type, {canBubble: canBubble, cancelable: cancelable}); + } static eventType(type, name, opts) { - if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); - if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); let e = html$.document[S._createEvent](type); e[S._initEvent](name, canBubble, cancelable); return e; } + static ['_#eventType#tearOff'](type, name, opts) { + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); + return html$.Event.eventType(type, name, {canBubble: canBubble, cancelable: cancelable}); + } get [S._selector]() { return this._selector; } @@ -61610,13 +67111,17 @@ define([], (function load__dart_sdk() { return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.Event._create_1(type, eventInitDict_1); } return html$.Event._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); + return html$.Event.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new Event(type, eventInitDict); } @@ -61685,6 +67190,7 @@ define([], (function load__dart_sdk() { [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), [S.$stopPropagation]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.Event, () => ['new', 'eventType', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.Event, () => ({ __proto__: dart.getGetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String), @@ -61707,7 +67213,8 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Event, I[148]); + dart.setLibraryUri(html$.Event, I[150]); + dart.setStaticFieldSignature(html$.Event, () => ['AT_TARGET', 'BUBBLING_PHASE', 'CAPTURING_PHASE']); dart.defineLazy(html$.Event, { /*html$.Event.AT_TARGET*/get AT_TARGET() { return 2; @@ -61723,14 +67230,21 @@ define([], (function load__dart_sdk() { dart.registerExtension("InputEvent", html$.Event); dart.registerExtension("SubmitEvent", html$.Event); indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return indexed_db.VersionChangeEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); } return indexed_db.VersionChangeEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); + return indexed_db.VersionChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new IDBVersionChangeEvent(type, eventInitDict); } @@ -61755,6 +67269,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(indexed_db.VersionChangeEvent); dart.addTypeCaches(indexed_db.VersionChangeEvent); + dart.setStaticMethodSignature(indexed_db.VersionChangeEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), [S.$dataLoss]: dart.nullable(core.String), @@ -61763,7 +67278,7 @@ define([], (function load__dart_sdk() { [S.$oldVersion]: dart.nullable(core.int), [S.$target]: indexed_db.OpenDBRequest })); - dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); + dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { function containsDate(object) { @@ -61788,10 +67303,10 @@ define([], (function load__dart_sdk() { return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); }; indexed_db._completeRequest = function _completeRequest(T, request) { - if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + if (request == null) dart.nullFailed(I[147], 536, 39, "request"); let completer = async.Completer$(T).sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + if (e == null) dart.nullFailed(I[147], 540, 29, "e"); let result = T.as(request[S.$result]); completer.complete(result); }, T$0.EventTovoid())); @@ -61803,18 +67318,21 @@ define([], (function load__dart_sdk() { return "JSExtendableArray|=Object|num|String"; }, /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[222] || CT.C222; + return C[232] || CT.C232; }, /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - return C[223] || CT.C223; + return C[233] || CT.C233; } }, false); html$.Node = class Node extends html$.EventTarget { + static ['_#_created#tearOff']() { + return new html$.Node._created(); + } get [S.$nodes]() { return new html$._ChildNodeListLazy.new(this); } set [S.$nodes](value) { - if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + if (value == null) dart.nullFailed(I[149], 23302, 28, "value"); let copy = value[$toList](); this[S.$text] = ""; for (let node of copy) { @@ -61828,7 +67346,7 @@ define([], (function load__dart_sdk() { } } [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); try { let parent = dart.nullCheck(this.parentNode); parent[S$._replaceChild](otherNode, this); @@ -61840,20 +67358,20 @@ define([], (function load__dart_sdk() { } return this; } - [S$.$insertAllBefore](newNodes, refChild) { - if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); - if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + [S$.$insertAllBefore](newNodes, child) { + if (newNodes == null) dart.nullFailed(I[149], 23342, 39, "newNodes"); + if (child == null) dart.nullFailed(I[149], 23342, 54, "child"); if (html$._ChildNodeListLazy.is(newNodes)) { let otherList = newNodes; if (otherList[S$._this] === this) { dart.throw(new core.ArgumentError.new(newNodes)); } for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), child); } } else { for (let node of newNodes) { - this.insertBefore(node, refChild); + this.insertBefore(node, child); } } } @@ -61869,6 +67387,9 @@ define([], (function load__dart_sdk() { get [S$.$childNodes]() { return this.childNodes; } + static ['_#_#tearOff']() { + return html$.Node.__(); + } get [S.$baseUri]() { return this.baseURI; } @@ -61969,6 +67490,7 @@ define([], (function load__dart_sdk() { [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) })); + dart.setStaticMethodSignature(html$.Node, () => ['__']); dart.setGetterSignature(html$.Node, () => ({ __proto__: dart.getGetters(html$.Node.__proto__), [S.$nodes]: core.List$(html$.Node), @@ -61992,7 +67514,8 @@ define([], (function load__dart_sdk() { [S.$nodes]: core.Iterable$(html$.Node), [S.$text]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Node, I[148]); + dart.setLibraryUri(html$.Node, I[150]); + dart.setStaticFieldSignature(html$.Node, () => ['ATTRIBUTE_NODE', 'CDATA_SECTION_NODE', 'COMMENT_NODE', 'DOCUMENT_FRAGMENT_NODE', 'DOCUMENT_NODE', 'DOCUMENT_TYPE_NODE', 'ELEMENT_NODE', 'ENTITY_NODE', 'ENTITY_REFERENCE_NODE', 'NOTATION_NODE', 'PROCESSING_INSTRUCTION_NODE', 'TEXT_NODE']); dart.defineLazy(html$.Node, { /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { return 2; @@ -62038,98 +67561,197 @@ define([], (function load__dart_sdk() { let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + if (e == null) dart.nullFailed(I[149], 12777, 34, "e"); return html$.Element.is(e); }, T$0.NodeTobool()))[$single]); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.Element.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static ['_#created#tearOff']() { + return new html$.Element.created(); + } static tag(tag, typeExtension = null) { - if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); } + static ['_#tag#tearOff'](tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); + return html$.Element.tag(tag, typeExtension); + } static a() { return html$.AnchorElement.new(); } + static ['_#a#tearOff']() { + return html$.Element.a(); + } + static ['_#article#tearOff']() { + return html$.Element.article(); + } static article() { return html$.Element.tag("article"); } + static ['_#aside#tearOff']() { + return html$.Element.aside(); + } static aside() { return html$.Element.tag("aside"); } static audio() { return html$.Element.tag("audio"); } + static ['_#audio#tearOff']() { + return html$.Element.audio(); + } static br() { return html$.BRElement.new(); } + static ['_#br#tearOff']() { + return html$.Element.br(); + } static canvas() { return html$.CanvasElement.new(); } + static ['_#canvas#tearOff']() { + return html$.Element.canvas(); + } + static ['_#div#tearOff']() { + return html$.Element.div(); + } static div() { return html$.DivElement.new(); } static footer() { return html$.Element.tag("footer"); } + static ['_#footer#tearOff']() { + return html$.Element.footer(); + } static header() { return html$.Element.tag("header"); } + static ['_#header#tearOff']() { + return html$.Element.header(); + } static hr() { return html$.Element.tag("hr"); } + static ['_#hr#tearOff']() { + return html$.Element.hr(); + } static iframe() { return html$.Element.tag("iframe"); } + static ['_#iframe#tearOff']() { + return html$.Element.iframe(); + } static img() { return html$.Element.tag("img"); } + static ['_#img#tearOff']() { + return html$.Element.img(); + } static li() { return html$.Element.tag("li"); } + static ['_#li#tearOff']() { + return html$.Element.li(); + } static nav() { return html$.Element.tag("nav"); } + static ['_#nav#tearOff']() { + return html$.Element.nav(); + } + static ['_#ol#tearOff']() { + return html$.Element.ol(); + } static ol() { return html$.Element.tag("ol"); } + static ['_#option#tearOff']() { + return html$.Element.option(); + } static option() { return html$.Element.tag("option"); } + static ['_#p#tearOff']() { + return html$.Element.p(); + } static p() { return html$.Element.tag("p"); } + static ['_#pre#tearOff']() { + return html$.Element.pre(); + } static pre() { return html$.Element.tag("pre"); } static section() { return html$.Element.tag("section"); } + static ['_#section#tearOff']() { + return html$.Element.section(); + } static select() { return html$.Element.tag("select"); } + static ['_#select#tearOff']() { + return html$.Element.select(); + } + static ['_#span#tearOff']() { + return html$.Element.span(); + } static span() { return html$.Element.tag("span"); } static svg() { return html$.Element.tag("svg"); } + static ['_#svg#tearOff']() { + return html$.Element.svg(); + } static table() { return html$.Element.tag("table"); } + static ['_#table#tearOff']() { + return html$.Element.table(); + } static td() { return html$.Element.tag("td"); } + static ['_#td#tearOff']() { + return html$.Element.td(); + } static textarea() { return html$.Element.tag("textarea"); } + static ['_#textarea#tearOff']() { + return html$.Element.textarea(); + } + static ['_#th#tearOff']() { + return html$.Element.th(); + } static th() { return html$.Element.tag("th"); } + static ['_#tr#tearOff']() { + return html$.Element.tr(); + } static tr() { return html$.Element.tag("tr"); } + static ['_#ul#tearOff']() { + return html$.Element.ul(); + } static ul() { return html$.Element.tag("ul"); } + static ['_#video#tearOff']() { + return html$.Element.video(); + } static video() { return html$.Element.tag("video"); } @@ -62137,7 +67759,7 @@ define([], (function load__dart_sdk() { return new html$._ElementAttributeMap.new(this); } set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); let attributes = this[S.$attributes]; attributes[$clear](); for (let key of value[$keys]) { @@ -62145,45 +67767,45 @@ define([], (function load__dart_sdk() { } } [S.$getAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12991, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 12994, 12, "name != null"); return this[S._getAttribute](name); } [S.$getAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12999, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13003, 12, "name != null"); return this[S._getAttributeNS](namespaceURI, name); } [S.$hasAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13008, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13011, 12, "name != null"); return this[S._hasAttribute](name); } [S.$hasAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13016, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13020, 12, "name != null"); return this[S._hasAttributeNS](namespaceURI, name); } [S.$removeAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13025, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13028, 12, "name != null"); this[S._removeAttribute](name); } [S.$removeAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13033, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13036, 12, "name != null"); this[S._removeAttributeNS](namespaceURI, name); } [S.$setAttribute](name, value) { - if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); - if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13041, 28, "name"); + if (value == null) dart.nullFailed(I[149], 13041, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13044, 12, "name != null"); this[S._setAttribute](name, value); } [S.$setAttributeNS](namespaceURI, name, value) { - if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); - if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13050, 52, "name"); + if (value == null) dart.nullFailed(I[149], 13050, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13053, 12, "name != null"); this[S._setAttributeNS](namespaceURI, name, value); } get [S.$children]() { @@ -62193,24 +67815,24 @@ define([], (function load__dart_sdk() { return this.children; } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + if (value == null) dart.nullFailed(I[149], 13082, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13101, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } [S._setApplyScroll](...args) { return this.setApplyScroll.apply(this, args); } [S.$setApplyScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13108, 45, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62219,10 +67841,10 @@ define([], (function load__dart_sdk() { return this.setDistributeScroll.apply(this, args); } [S.$setDistributeScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13120, 50, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setDistributeScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + if (value == null) dart.nullFailed(I[149], 13122, 27, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62231,7 +67853,7 @@ define([], (function load__dart_sdk() { return new html$._ElementCssClassSet.new(this); } set [S.$classes](value) { - if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); let classSet = this[S.$classes]; classSet.clear(); classSet.addAll(value); @@ -62240,7 +67862,7 @@ define([], (function load__dart_sdk() { return new html$._DataAttributeMap.new(this[S.$attributes]); } set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); let data = this[S.$dataset]; data[$clear](); for (let key of value[$keys]) { @@ -62248,7 +67870,7 @@ define([], (function load__dart_sdk() { } } [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); return new html$._NamespacedAttributeMap.new(this, namespace); } [S.$getComputedStyle](pseudoElement = null) { @@ -62264,17 +67886,17 @@ define([], (function load__dart_sdk() { return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13231, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13239, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + if (tag == null) dart.nullFailed(I[149], 13250, 37, "tag"); let e = html$._ElementFactoryProvider.createElement_tag(tag, null); return html$.Element.is(e) && !html$.UnknownElement.is(e); } @@ -62298,16 +67920,16 @@ define([], (function load__dart_sdk() { [S.$leftView]() { } [S.$animate](frames, timing = null) { - if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (frames == null) dart.nullFailed(I[149], 13326, 52, "frames"); if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + if (x == null) dart.nullFailed(I[149], 13327, 48, "x"); return core.Map.is(x); }, T$0.MapOfString$dynamicTobool())))) { dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); } let convertedFrames = null; if (core.Iterable.is(frames)) { - convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + convertedFrames = frames[$map](dart.dynamic, C[234] || CT.C234)[$toList](); } else { convertedFrames = frames; } @@ -62318,9 +67940,9 @@ define([], (function load__dart_sdk() { return this.animate.apply(this, args); } [S.$attributeChanged](name, oldValue, newValue) { - if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); - if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); - if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + if (name == null) dart.nullFailed(I[149], 13349, 32, "name"); + if (oldValue == null) dart.nullFailed(I[149], 13349, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 13349, 62, "newValue"); } get [S.$localName]() { return this[S._localName]; @@ -62340,20 +67962,20 @@ define([], (function load__dart_sdk() { this[S._scrollIntoView](false); } else if (hasScrollIntoViewIfNeeded) { if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this[S._scrollIntoViewIfNeeded](true); + this.scrollIntoViewIfNeeded(true); } else { - this[S._scrollIntoViewIfNeeded](); + this.scrollIntoViewIfNeeded(); } } else { this[S._scrollIntoView](); } } static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); return "wheel"; } static _determineTransitionEventType(e) { - if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13438, 59, "e"); if (dart.test(html_common.Device.isWebKit)) { return "webkitTransitionEnd"; } else if (dart.test(html_common.Device.isOpera)) { @@ -62362,8 +67984,8 @@ define([], (function load__dart_sdk() { return "transitionend"; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); - if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (where == null) dart.nullFailed(I[149], 13458, 34, "where"); + if (text == null) dart.nullFailed(I[149], 13458, 48, "text"); if (!!this.insertAdjacentText) { this[S._insertAdjacentText](where, text); } else { @@ -62374,8 +67996,8 @@ define([], (function load__dart_sdk() { return this.insertAdjacentText.apply(this, args); } [S.$insertAdjacentHtml](where, html, opts) { - if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); - if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + if (where == null) dart.nullFailed(I[149], 13493, 34, "where"); + if (html == null) dart.nullFailed(I[149], 13493, 48, "html"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { @@ -62388,8 +68010,8 @@ define([], (function load__dart_sdk() { return this.insertAdjacentHTML.apply(this, args); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); - if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (where == null) dart.nullFailed(I[149], 13518, 40, "where"); + if (element == null) dart.nullFailed(I[149], 13518, 55, "element"); if (!!this.insertAdjacentElement) { this[S._insertAdjacentElement](where, element); } else { @@ -62401,38 +68023,38 @@ define([], (function load__dart_sdk() { return this.insertAdjacentElement.apply(this, args); } [S._insertAdjacentNode](where, node) { - if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); - if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + if (where == null) dart.nullFailed(I[149], 13530, 35, "where"); + if (node == null) dart.nullFailed(I[149], 13530, 47, "node"); switch (where[$toLowerCase]()) { case "beforebegin": - { - dart.nullCheck(this.parentNode).insertBefore(node, this); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } case "afterbegin": - { - let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; - this.insertBefore(node, first); - break; - } + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } case "beforeend": - { - this[S.$append](node); - break; - } + { + this[S.$append](node); + break; + } case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } } } [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); if (!!this.matches) { return this.matches(selectors); } else if (!!this.webkitMatchesSelector) { @@ -62448,7 +68070,7 @@ define([], (function load__dart_sdk() { } } [S.$matchesWithAncestors](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13570, 36, "selectors"); let elem = this; do { if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; @@ -62478,11 +68100,11 @@ define([], (function load__dart_sdk() { return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); } [S.$offsetTo](parent) { - if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + if (parent == null) dart.nullFailed(I[149], 13702, 26, "parent"); return html$.Element._offsetToHelper(this, parent); } static _offsetToHelper(current, parent) { - if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + if (parent == null) dart.nullFailed(I[149], 13706, 58, "parent"); let sameAsParent = current == parent; let foundAsParent = sameAsParent || parent.tagName === "HTML"; if (current == null || sameAsParent) { @@ -62494,7 +68116,7 @@ define([], (function load__dart_sdk() { return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); } [S.$createFragment](html, opts) { - let t232; + let t213; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { @@ -62528,21 +68150,21 @@ define([], (function load__dart_sdk() { contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); } else { contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](contextElement); } let fragment = null; if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); } else { - dart.dput(contextElement, S._innerHtml, html); + contextElement[S._innerHtml] = html; fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (dart.dload(contextElement, 'firstChild') != null) { - fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + while (contextElement.firstChild != null) { + fragment[S.$append](dart.nullCheck(contextElement.firstChild)); } } if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - dart.dsend(contextElement, 'remove', []); + contextElement[$remove](); } dart.nullCheck(treeSanitizer).sanitizeTree(fragment); html$.document.adoptNode(fragment); @@ -62580,7 +68202,7 @@ define([], (function load__dart_sdk() { return new html$.ElementEvents.new(this); } static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); return (function(element) { if (!(element.attributes instanceof NamedNodeMap)) { return true; @@ -62611,14 +68233,15 @@ define([], (function load__dart_sdk() { })(element); } static _hasCorruptedAttributesAdditionalCheck(element) { - if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + if (element == null) dart.nullFailed(I[149], 13967, 62, "element"); return !(element.attributes instanceof NamedNodeMap); } static _safeTagName(element) { + if (element == null) dart.nullFailed(I[149], 13971, 38, "element"); let result = "element tag unavailable"; try { - if (typeof dart.dload(element, 'tagName') == 'string') { - result = core.String.as(dart.dload(element, 'tagName')); + if (typeof element.tagName == 'string') { + result = element.tagName; } } catch (e$) { let e = dart.getThrown(e$); @@ -62650,19 +68273,32 @@ define([], (function load__dart_sdk() { return this.scrollLeft[$round](); } set [S.$scrollLeft](value) { - if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13994, 22, "value"); this.scrollLeft = value[$round](); } get [S.$scrollTop]() { return this.scrollTop[$round](); } set [S.$scrollTop](value) { - if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + if (value == null) dart.nullFailed(I[149], 14000, 21, "value"); this.scrollTop = value[$round](); } get [S.$scrollWidth]() { return this.scrollWidth[$round](); } + [S.$requestFullscreen](options = null) { + let retValue = null; + if (options != null) { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this, html_common.convertDartToNative_Dictionary(options)); + } else { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this); + } + if (retValue != null) return js_util.promiseToFuture(dart.void, core.Object.as(retValue)); + return T$.FutureOfvoid().value(); + } + static ['_#_#tearOff']() { + return html$.Element.__(); + } get [S.$contentEditable]() { return this.contentEditable; } @@ -62829,7 +68465,7 @@ define([], (function load__dart_sdk() { return this.tagName; } [S.$attachShadow](shadowRootInitDict) { - if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + if (shadowRootInitDict == null) dart.nullFailed(I[149], 14758, 31, "shadowRootInitDict"); let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); return this[S._attachShadow_1](shadowRootInitDict_1); } @@ -62940,7 +68576,7 @@ define([], (function load__dart_sdk() { [S._scrollIntoView](...args) { return this.scrollIntoView.apply(this, args); } - [S._scrollIntoViewIfNeeded](...args) { + [S.$scrollIntoViewIfNeeded](...args) { return this.scrollIntoViewIfNeeded.apply(this, args); } [S.$scrollTo](options_OR_x = null, y = null) { @@ -62977,9 +68613,6 @@ define([], (function load__dart_sdk() { [S.$setPointerCapture](...args) { return this.setPointerCapture.apply(this, args); } - [S.$requestFullscreen](...args) { - return this.webkitRequestFullscreen.apply(this, args); - } [S.$after](...args) { return this.after.apply(this, args); } @@ -63109,70 +68742,70 @@ define([], (function load__dart_sdk() { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forElement(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forElement(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forElement(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -63224,7 +68857,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.Element.prototype; dart.addTypeTests(html$.Element); dart.addTypeCaches(html$.Element); - html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; + html$.Element[dart.implements] = () => [html$.ParentNode, html$.ChildNode, html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers]; dart.setMethodSignature(html$.Element, () => ({ __proto__: dart.getMethods(html$.Element.__proto__), [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), @@ -63233,8 +68866,8 @@ define([], (function load__dart_sdk() { [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), @@ -63266,6 +68899,7 @@ define([], (function load__dart_sdk() { [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$requestFullscreen]: dart.fnType(async.Future$(dart.void), [], [dart.nullable(core.Map)]), [S.$blur]: dart.fnType(dart.void, []), [S.$click]: dart.fnType(dart.void, []), [S.$focus]: dart.fnType(dart.void, []), @@ -63297,20 +68931,20 @@ define([], (function load__dart_sdk() { [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), [S._scrollTo_1]: dart.fnType(dart.void, []), [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [S.$requestFullscreen]: dart.fnType(dart.void, []), [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); + dart.setStaticMethodSignature(html$.Element, () => ['html', 'tag', 'a', 'article', 'aside', 'audio', 'br', 'canvas', 'div', 'footer', 'header', 'hr', 'iframe', 'img', 'li', 'nav', 'ol', 'option', 'p', 'pre', 'section', 'select', 'span', 'svg', 'table', 'td', 'textarea', 'th', 'tr', 'ul', 'video', 'isTagSupported', '_determineMouseWheelEventType', '_determineTransitionEventType', '_offsetToHelper', '_hasCorruptedAttributes', '_hasCorruptedAttributesAdditionalCheck', '_safeTagName', '__']); dart.setGetterSignature(html$.Element, () => ({ __proto__: dart.getGetters(html$.Element.__proto__), [S.$attributes]: core.Map$(core.String, core.String), @@ -63416,28 +69050,28 @@ define([], (function load__dart_sdk() { [S.$onLoadedData]: html$.ElementStream$(html$.Event), [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), - [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onPause]: html$.ElementStream$(html$.Event), - [S.$onPlay]: html$.ElementStream$(html$.Event), - [S.$onPlaying]: html$.ElementStream$(html$.Event), - [S.$onRateChange]: html$.ElementStream$(html$.Event), - [S.$onReset]: html$.ElementStream$(html$.Event), - [S.$onResize]: html$.ElementStream$(html$.Event), - [S.$onScroll]: html$.ElementStream$(html$.Event), - [S.$onSearch]: html$.ElementStream$(html$.Event), - [S.$onSeeked]: html$.ElementStream$(html$.Event), - [S.$onSeeking]: html$.ElementStream$(html$.Event), - [S.$onSelect]: html$.ElementStream$(html$.Event), - [S.$onSelectStart]: html$.ElementStream$(html$.Event), - [S.$onStalled]: html$.ElementStream$(html$.Event), - [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S$.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S$.$onPause]: html$.ElementStream$(html$.Event), + [S$.$onPlay]: html$.ElementStream$(html$.Event), + [S$.$onPlaying]: html$.ElementStream$(html$.Event), + [S$.$onRateChange]: html$.ElementStream$(html$.Event), + [S$.$onReset]: html$.ElementStream$(html$.Event), + [S$.$onResize]: html$.ElementStream$(html$.Event), + [S$.$onScroll]: html$.ElementStream$(html$.Event), + [S$.$onSearch]: html$.ElementStream$(html$.Event), + [S$.$onSeeked]: html$.ElementStream$(html$.Event), + [S$.$onSeeking]: html$.ElementStream$(html$.Event), + [S$.$onSelect]: html$.ElementStream$(html$.Event), + [S$.$onSelectStart]: html$.ElementStream$(html$.Event), + [S$.$onStalled]: html$.ElementStream$(html$.Event), + [S$.$onSubmit]: html$.ElementStream$(html$.Event), [S$.$onSuspend]: html$.ElementStream$(html$.Event), [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), @@ -63481,236 +69115,237 @@ define([], (function load__dart_sdk() { [S._scrollTop]: core.num, [S.$slot]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Element, I[148]); + dart.setLibraryUri(html$.Element, I[150]); + dart.setStaticFieldSignature(html$.Element, () => ['mouseWheelEvent', 'transitionEndEvent', '_parseDocument', '_parseRange', '_defaultValidator', '_defaultSanitizer', '_tagsForWhichCreateContextualFragmentIsNotSupported', 'abortEvent', 'beforeCopyEvent', 'beforeCutEvent', 'beforePasteEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'copyEvent', 'cutEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'pasteEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'searchEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'selectStartEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchEnterEvent', 'touchLeaveEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'fullscreenChangeEvent', 'fullscreenErrorEvent', 'wheelEvent']); dart.defineLazy(html$.Element, { /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { - return C[225] || CT.C225; + return C[235] || CT.C235; }, /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[227] || CT.C227; + return C[237] || CT.C237; }, /*html$.Element._parseDocument*/get _parseDocument() { return null; }, - set _parseDocument(_) {}, + set _parseDocument(value) {}, /*html$.Element._parseRange*/get _parseRange() { return null; }, - set _parseRange(_) {}, + set _parseRange(value) {}, /*html$.Element._defaultValidator*/get _defaultValidator() { return null; }, - set _defaultValidator(_) {}, + set _defaultValidator(value) {}, /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { return null; }, - set _defaultSanitizer(_) {}, + set _defaultSanitizer(value) {}, /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[229] || CT.C229; + return C[239] || CT.C239; }, /*html$.Element.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[230] || CT.C230; + return C[240] || CT.C240; }, /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[231] || CT.C231; + return C[241] || CT.C241; }, /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[232] || CT.C232; + return C[242] || CT.C242; }, /*html$.Element.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.Element.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.Element.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.Element.copyEvent*/get copyEvent() { - return C[239] || CT.C239; + return C[249] || CT.C249; }, /*html$.Element.cutEvent*/get cutEvent() { - return C[240] || CT.C240; + return C[250] || CT.C250; }, /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.Element.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.Element.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.Element.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.Element.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Element.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.Element.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.Element.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.Element.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.Element.pasteEvent*/get pasteEvent() { - return C[268] || CT.C268; + return C[278] || CT.C278; }, /*html$.Element.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.Element.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.Element.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.Element.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.Element.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.Element.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.Element.searchEvent*/get searchEvent() { - return C[276] || CT.C276; + return C[286] || CT.C286; }, /*html$.Element.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.Element.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.Element.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[280] || CT.C280; + return C[290] || CT.C290; }, /*html$.Element.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.Element.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.Element.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[287] || CT.C287; + return C[297] || CT.C297; }, /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[288] || CT.C288; + return C[298] || CT.C298; }, /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.Element.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[293] || CT.C293; + return C[303] || CT.C303; }, /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[294] || CT.C294; + return C[304] || CT.C304; }, /*html$.Element.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("Element", html$.Element); @@ -63718,6 +69353,12 @@ define([], (function load__dart_sdk() { static new() { dart.throw(new core.UnsupportedError.new("Not supported")); } + static ['_#new#tearOff']() { + return html$.HtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlElement.created(); + } get [S.$nonce]() { return this.nonce; } @@ -63732,6 +69373,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.HtmlElement); dart.addTypeCaches(html$.HtmlElement); html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; + dart.setStaticMethodSignature(html$.HtmlElement, () => ['new']); dart.setGetterSignature(html$.HtmlElement, () => ({ __proto__: dart.getGetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -63740,17 +69382,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.HtmlElement, I[148]); + dart.setLibraryUri(html$.HtmlElement, I[150]); dart.registerExtension("HTMLElement", html$.HtmlElement); html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ExtendableEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ExtendableEvent._create_1(type, eventInitDict_1); } return html$.ExtendableEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); + return html$.ExtendableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ExtendableEvent(type, eventInitDict); } @@ -63767,15 +69416,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) })); - dart.setLibraryUri(html$.ExtendableEvent, I[148]); + dart.setStaticMethodSignature(html$.ExtendableEvent, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.ExtendableEvent, I[150]); dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.AbortPaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 141, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); + return html$.AbortPaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AbortPaymentEvent(type, eventInitDict); } @@ -63789,9 +69447,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); - dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); + dart.setStaticMethodSignature(html$.AbortPaymentEvent, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.AbortPaymentEvent, I[150]); dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); html$.Sensor = class Sensor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Sensor.__(); + } get [S$.$activated]() { return this.activated; } @@ -63818,6 +69480,7 @@ define([], (function load__dart_sdk() { [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.Sensor, () => ['__']); dart.setGetterSignature(html$.Sensor, () => ({ __proto__: dart.getGetters(html$.Sensor.__proto__), [S$.$activated]: dart.nullable(core.bool), @@ -63825,14 +69488,18 @@ define([], (function load__dart_sdk() { [S$.$timestamp]: dart.nullable(core.num), [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.Sensor, I[148]); + dart.setLibraryUri(html$.Sensor, I[150]); + dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); dart.defineLazy(html$.Sensor, { /*html$.Sensor.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("Sensor", html$.Sensor); html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.OrientationSensor.__(); + } get [S$.$quaternion]() { return this.quaternion; } @@ -63846,13 +69513,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.OrientationSensor.__proto__), [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) })); + dart.setStaticMethodSignature(html$.OrientationSensor, () => ['__']); dart.setGetterSignature(html$.OrientationSensor, () => ({ __proto__: dart.getGetters(html$.OrientationSensor.__proto__), [S$.$quaternion]: dart.nullable(core.List$(core.num)) })); - dart.setLibraryUri(html$.OrientationSensor, I[148]); + dart.setLibraryUri(html$.OrientationSensor, I[150]); dart.registerExtension("OrientationSensor", html$.OrientationSensor); html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.AbsoluteOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63860,6 +69531,9 @@ define([], (function load__dart_sdk() { } return html$.AbsoluteOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AbsoluteOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AbsoluteOrientationSensor(sensorOptions); } @@ -63869,9 +69543,13 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AbsoluteOrientationSensor); dart.addTypeCaches(html$.AbsoluteOrientationSensor); - dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); + dart.setStaticMethodSignature(html$.AbsoluteOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[150]); dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); - html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { + html$.AbstractWorker = class AbstractWorker extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AbstractWorker.__(); + } get onError() { return html$.AbstractWorker.errorEvent.forTarget(this); } @@ -63879,19 +69557,24 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.AbstractWorker); dart.addTypeCaches(html$.AbstractWorker); html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; + dart.setStaticMethodSignature(html$.AbstractWorker, () => ['__']); dart.setGetterSignature(html$.AbstractWorker, () => ({ __proto__: dart.getGetters(html$.AbstractWorker.__proto__), onError: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.AbstractWorker, I[148]); + dart.setLibraryUri(html$.AbstractWorker, I[150]); + dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); dart.defineLazy(html$.AbstractWorker, { /*html$.AbstractWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Accelerometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63899,6 +69582,9 @@ define([], (function load__dart_sdk() { } return html$.Accelerometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Accelerometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Accelerometer(sensorOptions); } @@ -63917,15 +69603,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Accelerometer); dart.addTypeCaches(html$.Accelerometer); + dart.setStaticMethodSignature(html$.Accelerometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Accelerometer, () => ({ __proto__: dart.getGetters(html$.Accelerometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.Accelerometer, I[148]); + dart.setLibraryUri(html$.Accelerometer, I[150]); dart.registerExtension("Accelerometer", html$.Accelerometer); html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.AccessibleNode.__(); + } + static ['_#new#tearOff']() { + return html$.AccessibleNode.new(); + } static new() { return html$.AccessibleNode._create_1(); } @@ -64242,6 +69935,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.AccessibleNode.__proto__), [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) })); + dart.setStaticMethodSignature(html$.AccessibleNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.AccessibleNode, () => ({ __proto__: dart.getGetters(html$.AccessibleNode.__proto__), [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), @@ -64348,35 +70042,42 @@ define([], (function load__dart_sdk() { [S$.$valueNow]: dart.nullable(core.num), [S$.$valueText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.AccessibleNode, I[148]); + dart.setLibraryUri(html$.AccessibleNode, I[150]); + dart.setStaticFieldSignature(html$.AccessibleNode, () => ['accessibleClickEvent', 'accessibleContextMenuEvent', 'accessibleDecrementEvent', 'accessibleFocusEvent', 'accessibleIncrementEvent', 'accessibleScrollIntoViewEvent']); dart.defineLazy(html$.AccessibleNode, { /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { - return C[296] || CT.C296; + return C[306] || CT.C306; }, /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[297] || CT.C297; + return C[307] || CT.C307; }, /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[298] || CT.C298; + return C[308] || CT.C308; }, /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[299] || CT.C299; + return C[309] || CT.C309; }, /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[300] || CT.C300; + return C[310] || CT.C310; }, /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[301] || CT.C301; + return C[311] || CT.C311; } }, false); dart.registerExtension("AccessibleNode", html$.AccessibleNode); - html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { + html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AccessibleNodeList.__(); + } static new(nodes = null) { if (nodes != null) { return html$.AccessibleNodeList._create_1(nodes); } return html$.AccessibleNodeList._create_2(); } + static ['_#new#tearOff'](nodes = null) { + return html$.AccessibleNodeList.new(nodes); + } static _create_1(nodes) { return new AccessibleNodeList(nodes); } @@ -64411,6 +70112,7 @@ define([], (function load__dart_sdk() { [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), [$remove]: dart.fnType(dart.void, [core.int]) })); + dart.setStaticMethodSignature(html$.AccessibleNodeList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AccessibleNodeList, () => ({ __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) @@ -64419,9 +70121,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.AccessibleNodeList, I[148]); + dart.setLibraryUri(html$.AccessibleNodeList, I[150]); dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.AmbientLightSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -64429,6 +70134,9 @@ define([], (function load__dart_sdk() { } return html$.AmbientLightSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AmbientLightSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AmbientLightSensor(sensorOptions); } @@ -64441,19 +70149,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AmbientLightSensor); dart.addTypeCaches(html$.AmbientLightSensor); + dart.setStaticMethodSignature(html$.AmbientLightSensor, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AmbientLightSensor, () => ({ __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), [S$.$illuminance]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AmbientLightSensor, I[148]); + dart.setLibraryUri(html$.AmbientLightSensor, I[150]); dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AnchorElement.__(); + } + static ['_#new#tearOff'](opts) { + let href = opts && 'href' in opts ? opts.href : null; + return html$.AnchorElement.new({href: href}); + } static new(opts) { let href = opts && 'href' in opts ? opts.href : null; let e = html$.document.createElement("a"); if (href != null) e.href = href; return e; } + static ['_#created#tearOff']() { + return new html$.AnchorElement.created(); + } get [S$.$download]() { return this.download; } @@ -64564,6 +70283,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.AnchorElement); dart.addTypeCaches(html$.AnchorElement); html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; + dart.setStaticMethodSignature(html$.AnchorElement, () => ['__', 'new']); dart.setGetterSignature(html$.AnchorElement, () => ({ __proto__: dart.getGetters(html$.AnchorElement.__proto__), [S$.$download]: dart.nullable(core.String), @@ -64603,9 +70323,12 @@ define([], (function load__dart_sdk() { [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.AnchorElement, I[148]); + dart.setLibraryUri(html$.AnchorElement, I[150]); dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); html$.Animation = class Animation$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Animation.__(); + } static new(effect = null, timeline = null) { if (timeline != null) { return html$.Animation._create_1(effect, timeline); @@ -64615,6 +70338,9 @@ define([], (function load__dart_sdk() { } return html$.Animation._create_3(); } + static ['_#new#tearOff'](effect = null, timeline = null) { + return html$.Animation.new(effect, timeline); + } static _create_1(effect, timeline) { return new Animation(effect, timeline); } @@ -64701,6 +70427,7 @@ define([], (function load__dart_sdk() { [S$.$play]: dart.fnType(dart.void, []), [S$.$reverse]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.Animation, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.Animation, () => ({ __proto__: dart.getGetters(html$.Animation.__proto__), [S$.$currentTime]: dart.nullable(core.num), @@ -64723,17 +70450,22 @@ define([], (function load__dart_sdk() { [S$.$playbackRate]: dart.nullable(core.num), [S$.$startTime]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.Animation, I[148]); + dart.setStaticGetterSignature(html$.Animation, () => ['supported']); + dart.setLibraryUri(html$.Animation, I[150]); + dart.setStaticFieldSignature(html$.Animation, () => ['cancelEvent', 'finishEvent']); dart.defineLazy(html$.Animation, { /*html$.Animation.cancelEvent*/get cancelEvent() { - return C[302] || CT.C302; + return C[312] || CT.C312; }, /*html$.Animation.finishEvent*/get finishEvent() { - return C[303] || CT.C303; + return C[313] || CT.C313; } }, false); dart.registerExtension("Animation", html$.Animation); - html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { + html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectReadOnly.__(); + } get [S$.$timing]() { return this.timing; } @@ -64751,13 +70483,17 @@ define([], (function load__dart_sdk() { [S$.$getComputedTiming]: dart.fnType(core.Map, []), [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) })); + dart.setStaticMethodSignature(html$.AnimationEffectReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) })); - dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); + dart.setLibraryUri(html$.AnimationEffectReadOnly, I[150]); dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); - html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { + html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectTimingReadOnly.__(); + } get [S$.$delay]() { return this.delay; } @@ -64785,6 +70521,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AnimationEffectTimingReadOnly); dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); + dart.setStaticMethodSignature(html$.AnimationEffectTimingReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64796,9 +70533,12 @@ define([], (function load__dart_sdk() { [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); + dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[150]); dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + static ['_#_#tearOff']() { + return html$.AnimationEffectTiming.__(); + } get [S$.$delay]() { return this.delay; } @@ -64850,6 +70590,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AnimationEffectTiming); dart.addTypeCaches(html$.AnimationEffectTiming); + dart.setStaticMethodSignature(html$.AnimationEffectTiming, () => ['__']); dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64861,17 +70602,24 @@ define([], (function load__dart_sdk() { [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); + dart.setLibraryUri(html$.AnimationEffectTiming, I[150]); dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationEvent._create_1(type, eventInitDict_1); } return html$.AnimationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); + return html$.AnimationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationEvent(type, eventInitDict); } @@ -64887,22 +70635,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AnimationEvent); dart.addTypeCaches(html$.AnimationEvent); + dart.setStaticMethodSignature(html$.AnimationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationEvent, () => ({ __proto__: dart.getGetters(html$.AnimationEvent.__proto__), [S$.$animationName]: dart.nullable(core.String), [S$.$elapsedTime]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AnimationEvent, I[148]); + dart.setLibraryUri(html$.AnimationEvent, I[150]); dart.registerExtension("AnimationEvent", html$.AnimationEvent); html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationPlaybackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); } return html$.AnimationPlaybackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); + return html$.AnimationPlaybackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationPlaybackEvent(type, eventInitDict); } @@ -64918,32 +70674,45 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AnimationPlaybackEvent); dart.addTypeCaches(html$.AnimationPlaybackEvent); + dart.setStaticMethodSignature(html$.AnimationPlaybackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), [S$.$currentTime]: dart.nullable(core.num), [S$.$timelineTime]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); + dart.setLibraryUri(html$.AnimationPlaybackEvent, I[150]); dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); - html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { + html$.AnimationTimeline = class AnimationTimeline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationTimeline.__(); + } get [S$.$currentTime]() { return this.currentTime; } }; dart.addTypeTests(html$.AnimationTimeline); dart.addTypeCaches(html$.AnimationTimeline); + dart.setStaticMethodSignature(html$.AnimationTimeline, () => ['__']); dart.setGetterSignature(html$.AnimationTimeline, () => ({ __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), [S$.$currentTime]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.AnimationTimeline, I[148]); + dart.setLibraryUri(html$.AnimationTimeline, I[150]); dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); - html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; + html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletGlobalScope.__(); + } + }; dart.addTypeTests(html$.WorkletGlobalScope); dart.addTypeCaches(html$.WorkletGlobalScope); - dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); + dart.setStaticMethodSignature(html$.WorkletGlobalScope, () => ['__']); + dart.setLibraryUri(html$.WorkletGlobalScope, I[150]); dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.AnimationWorkletGlobalScope.__(); + } [S$.$registerAnimator](...args) { return this.registerAnimator.apply(this, args); } @@ -64954,9 +70723,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) })); - dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); + dart.setStaticMethodSignature(html$.AnimationWorkletGlobalScope, () => ['__']); + dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[150]); dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ApplicationCache.__(); + } static get supported() { return !!window.applicationCache; } @@ -65005,6 +70778,7 @@ define([], (function load__dart_sdk() { [S$.$swapCache]: dart.fnType(dart.void, []), [$update]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.ApplicationCache, () => ['__']); dart.setGetterSignature(html$.ApplicationCache, () => ({ __proto__: dart.getGetters(html$.ApplicationCache.__proto__), [S$.$status]: dart.nullable(core.int), @@ -65017,31 +70791,33 @@ define([], (function load__dart_sdk() { [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$.$onUpdateReady]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.ApplicationCache, I[148]); + dart.setStaticGetterSignature(html$.ApplicationCache, () => ['supported']); + dart.setLibraryUri(html$.ApplicationCache, I[150]); + dart.setStaticFieldSignature(html$.ApplicationCache, () => ['cachedEvent', 'checkingEvent', 'downloadingEvent', 'errorEvent', 'noUpdateEvent', 'obsoleteEvent', 'progressEvent', 'updateReadyEvent', 'CHECKING', 'DOWNLOADING', 'IDLE', 'OBSOLETE', 'UNCACHED', 'UPDATEREADY']); dart.defineLazy(html$.ApplicationCache, { /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { - return C[304] || CT.C304; + return C[314] || CT.C314; }, /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[305] || CT.C305; + return C[315] || CT.C315; }, /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[306] || CT.C306; + return C[316] || CT.C316; }, /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[307] || CT.C307; + return C[317] || CT.C317; }, /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[308] || CT.C308; + return C[318] || CT.C318; }, /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[310] || CT.C310; + return C[320] || CT.C320; }, /*html$.ApplicationCache.CHECKING*/get CHECKING() { return 2; @@ -65066,14 +70842,21 @@ define([], (function load__dart_sdk() { dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); dart.registerExtension("OfflineResourceList", html$.ApplicationCache); html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ApplicationCacheErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); } return html$.ApplicationCacheErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); + return html$.ApplicationCacheErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ApplicationCacheErrorEvent(type, eventInitDict); } @@ -65095,6 +70878,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ApplicationCacheErrorEvent); dart.addTypeCaches(html$.ApplicationCacheErrorEvent); + dart.setStaticMethodSignature(html$.ApplicationCacheErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), [$message]: dart.nullable(core.String), @@ -65102,12 +70886,21 @@ define([], (function load__dart_sdk() { [S$.$status]: dart.nullable(core.int), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); + dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[150]); dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); html$.AreaElement = class AreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.AreaElement.new(); + } static new() { return html$.document.createElement("area"); } + static ['_#created#tearOff']() { + return new html$.AreaElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -65224,6 +71017,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.AreaElement); dart.addTypeCaches(html$.AreaElement); html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; + dart.setStaticMethodSignature(html$.AreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.AreaElement, () => ({ __proto__: dart.getGetters(html$.AreaElement.__proto__), [S$.$alt]: core.String, @@ -65265,9 +71059,15 @@ define([], (function load__dart_sdk() { [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.AreaElement, I[148]); + dart.setLibraryUri(html$.AreaElement, I[150]); dart.registerExtension("HTMLAreaElement", html$.AreaElement); html$.MediaElement = class MediaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MediaElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MediaElement.created(); + } get [S$.$audioTracks]() { return this.audioTracks; } @@ -65434,7 +71234,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); } [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); } }; @@ -65455,6 +71255,7 @@ define([], (function load__dart_sdk() { [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) })); + dart.setStaticMethodSignature(html$.MediaElement, () => ['__']); dart.setGetterSignature(html$.MediaElement, () => ({ __proto__: dart.getGetters(html$.MediaElement.__proto__), [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), @@ -65509,7 +71310,8 @@ define([], (function load__dart_sdk() { [S$.$srcObject]: dart.nullable(html$.MediaStream), [S$.$volume]: core.num })); - dart.setLibraryUri(html$.MediaElement, I[148]); + dart.setLibraryUri(html$.MediaElement, I[150]); + dart.setStaticFieldSignature(html$.MediaElement, () => ['HAVE_CURRENT_DATA', 'HAVE_ENOUGH_DATA', 'HAVE_FUTURE_DATA', 'HAVE_METADATA', 'HAVE_NOTHING', 'NETWORK_EMPTY', 'NETWORK_IDLE', 'NETWORK_LOADING', 'NETWORK_NO_SOURCE']); dart.defineLazy(html$.MediaElement, { /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { return 2; @@ -65547,15 +71349,24 @@ define([], (function load__dart_sdk() { } return html$.AudioElement._create_2(); } + static ['_#_#tearOff'](src = null) { + return html$.AudioElement.__(src); + } static _create_1(src) { return new Audio(src); } static _create_2() { return new Audio(); } + static ['_#created#tearOff']() { + return new html$.AudioElement.created(); + } static new(src = null) { return html$.AudioElement.__(src); } + static ['_#new#tearOff'](src = null) { + return html$.AudioElement.new(src); + } }; (html$.AudioElement.created = function() { html$.AudioElement.__proto__.created.call(this); @@ -65563,22 +71374,30 @@ define([], (function load__dart_sdk() { }).prototype = html$.AudioElement.prototype; dart.addTypeTests(html$.AudioElement); dart.addTypeCaches(html$.AudioElement); - dart.setLibraryUri(html$.AudioElement, I[148]); + dart.setStaticMethodSignature(html$.AudioElement, () => ['__', '_create_1', '_create_2', 'new']); + dart.setLibraryUri(html$.AudioElement, I[150]); dart.registerExtension("HTMLAudioElement", html$.AudioElement); - html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { + html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AuthenticatorResponse.__(); + } get [S$.$clientDataJson]() { return this.clientDataJSON; } }; dart.addTypeTests(html$.AuthenticatorResponse); dart.addTypeCaches(html$.AuthenticatorResponse); + dart.setStaticMethodSignature(html$.AuthenticatorResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) })); - dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); + dart.setLibraryUri(html$.AuthenticatorResponse, I[150]); dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAssertionResponse.__(); + } get [S$.$authenticatorData]() { return this.authenticatorData; } @@ -65588,30 +71407,44 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.AuthenticatorAssertionResponse); dart.addTypeCaches(html$.AuthenticatorAssertionResponse); + dart.setStaticMethodSignature(html$.AuthenticatorAssertionResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), [S$.$signature]: dart.nullable(typed_data.ByteBuffer) })); - dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); + dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[150]); dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAttestationResponse.__(); + } get [S$.$attestationObject]() { return this.attestationObject; } }; dart.addTypeTests(html$.AuthenticatorAttestationResponse); dart.addTypeCaches(html$.AuthenticatorAttestationResponse); + dart.setStaticMethodSignature(html$.AuthenticatorAttestationResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) })); - dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); + dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[150]); dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); html$.BRElement = class BRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BRElement.__(); + } static new() { return html$.document.createElement("br"); } + static ['_#new#tearOff']() { + return html$.BRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BRElement.created(); + } }; (html$.BRElement.created = function() { html$.BRElement.__proto__.created.call(this); @@ -65619,15 +71452,24 @@ define([], (function load__dart_sdk() { }).prototype = html$.BRElement.prototype; dart.addTypeTests(html$.BRElement); dart.addTypeCaches(html$.BRElement); - dart.setLibraryUri(html$.BRElement, I[148]); + dart.setStaticMethodSignature(html$.BRElement, () => ['__', 'new']); + dart.setLibraryUri(html$.BRElement, I[150]); dart.registerExtension("HTMLBRElement", html$.BRElement); html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); - if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); + return html$.BackgroundFetchEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchEvent(type, init); } @@ -65637,19 +71479,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BackgroundFetchEvent); dart.addTypeCaches(html$.BackgroundFetchEvent); + dart.setStaticMethodSignature(html$.BackgroundFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), [S.$id]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); + dart.setLibraryUri(html$.BackgroundFetchEvent, I[150]); dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchClickEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); - if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchClickEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); + return html$.BackgroundFetchClickEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchClickEvent(type, init); } @@ -65659,19 +71510,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BackgroundFetchClickEvent); dart.addTypeCaches(html$.BackgroundFetchClickEvent); + dart.setStaticMethodSignature(html$.BackgroundFetchClickEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), [S$.$state]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); + dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[150]); dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFailEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); - if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchFailEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); + return html$.BackgroundFetchFailEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchFailEvent(type, init); } @@ -65681,29 +71541,37 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BackgroundFetchFailEvent); dart.addTypeCaches(html$.BackgroundFetchFailEvent); + dart.setStaticMethodSignature(html$.BackgroundFetchFailEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); - dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); + dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[150]); dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); - html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { + html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFetch.__(); + } get [S$.$request]() { return this.request; } }; dart.addTypeTests(html$.BackgroundFetchFetch); dart.addTypeCaches(html$.BackgroundFetchFetch); + dart.setStaticMethodSignature(html$.BackgroundFetchFetch, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), [S$.$request]: dart.nullable(html$._Request) })); - dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); + dart.setLibraryUri(html$.BackgroundFetchFetch, I[150]); dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); - html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { + html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchManager.__(); + } [S$.$fetch](id, requests, options = null) { - if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); - if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + if (id == null) dart.nullFailed(I[149], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[149], 1351, 63, "requests"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -65711,7 +71579,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); } [S$.$getIds]() { @@ -65726,9 +71594,13 @@ define([], (function load__dart_sdk() { [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), [S$.$getIds]: dart.fnType(async.Future$(core.List), []) })); - dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); + dart.setStaticMethodSignature(html$.BackgroundFetchManager, () => ['__']); + dart.setLibraryUri(html$.BackgroundFetchManager, I[150]); dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BackgroundFetchRegistration.__(); + } get [S$.$downloadTotal]() { return this.downloadTotal; } @@ -65760,6 +71632,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), [S.$abort]: dart.fnType(async.Future$(core.bool), []) })); + dart.setStaticMethodSignature(html$.BackgroundFetchRegistration, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), [S$.$downloadTotal]: dart.nullable(core.int), @@ -65770,14 +71643,22 @@ define([], (function load__dart_sdk() { [S$.$uploadTotal]: dart.nullable(core.int), [S$.$uploaded]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); + dart.setLibraryUri(html$.BackgroundFetchRegistration, I[150]); dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static ['_#_#tearOff']() { + return html$.BackgroundFetchSettledFetch.__(); + } static new(request, response) { - if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); - if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); return html$.BackgroundFetchSettledFetch._create_1(request, response); } + static ['_#new#tearOff'](request, response) { + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch.new(request, response); + } static _create_1(request, response) { return new BackgroundFetchSettledFetch(request, response); } @@ -65787,19 +71668,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BackgroundFetchSettledFetch); dart.addTypeCaches(html$.BackgroundFetchSettledFetch); + dart.setStaticMethodSignature(html$.BackgroundFetchSettledFetch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), [S$.$response]: dart.nullable(html$._Response) })); - dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); + dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[150]); dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchedEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); - if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchedEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); + return html$.BackgroundFetchedEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchedEvent(type, init); } @@ -65807,7 +71697,7 @@ define([], (function load__dart_sdk() { return this.fetches; } [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); } }; @@ -65817,29 +71707,40 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), [S$.$updateUI]: dart.fnType(async.Future, [core.String]) })); + dart.setStaticMethodSignature(html$.BackgroundFetchedEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); - dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); + dart.setLibraryUri(html$.BackgroundFetchedEvent, I[150]); dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); - html$.BarProp = class BarProp extends _interceptors.Interceptor { + html$.BarProp = class BarProp extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarProp.__(); + } get [S$.$visible]() { return this.visible; } }; dart.addTypeTests(html$.BarProp); dart.addTypeCaches(html$.BarProp); + dart.setStaticMethodSignature(html$.BarProp, () => ['__']); dart.setGetterSignature(html$.BarProp, () => ({ __proto__: dart.getGetters(html$.BarProp.__proto__), [S$.$visible]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.BarProp, I[148]); + dart.setLibraryUri(html$.BarProp, I[150]); dart.registerExtension("BarProp", html$.BarProp); - html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { + html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarcodeDetector.__(); + } static new() { return html$.BarcodeDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.BarcodeDetector.new(); + } static _create_1() { return new BarcodeDetector(); } @@ -65853,12 +71754,22 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); - dart.setLibraryUri(html$.BarcodeDetector, I[148]); + dart.setStaticMethodSignature(html$.BarcodeDetector, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.BarcodeDetector, I[150]); dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); html$.BaseElement = class BaseElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BaseElement.__(); + } static new() { return html$.document.createElement("base"); } + static ['_#new#tearOff']() { + return html$.BaseElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BaseElement.created(); + } get [S$.$href]() { return this.href; } @@ -65878,6 +71789,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.BaseElement.prototype; dart.addTypeTests(html$.BaseElement); dart.addTypeCaches(html$.BaseElement); + dart.setStaticMethodSignature(html$.BaseElement, () => ['__', 'new']); dart.setGetterSignature(html$.BaseElement, () => ({ __proto__: dart.getGetters(html$.BaseElement.__proto__), [S$.$href]: core.String, @@ -65888,9 +71800,12 @@ define([], (function load__dart_sdk() { [S$.$href]: core.String, [S.$target]: core.String })); - dart.setLibraryUri(html$.BaseElement, I[148]); + dart.setLibraryUri(html$.BaseElement, I[150]); dart.registerExtension("HTMLBaseElement", html$.BaseElement); html$.BatteryManager = class BatteryManager extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BatteryManager.__(); + } get [S$.$charging]() { return this.charging; } @@ -65906,6 +71821,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BatteryManager); dart.addTypeCaches(html$.BatteryManager); + dart.setStaticMethodSignature(html$.BatteryManager, () => ['__']); dart.setGetterSignature(html$.BatteryManager, () => ({ __proto__: dart.getGetters(html$.BatteryManager.__proto__), [S$.$charging]: dart.nullable(core.bool), @@ -65913,17 +71829,24 @@ define([], (function load__dart_sdk() { [S$.$dischargingTime]: dart.nullable(core.num), [S$.$level]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.BatteryManager, I[148]); + dart.setLibraryUri(html$.BatteryManager, I[150]); dart.registerExtension("BatteryManager", html$.BatteryManager); html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeInstallPromptEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); } return html$.BeforeInstallPromptEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); + return html$.BeforeInstallPromptEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BeforeInstallPromptEvent(type, eventInitDict); } @@ -65946,14 +71869,18 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), [S$.$prompt]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(html$.BeforeInstallPromptEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), [S$.$platforms]: dart.nullable(core.List$(core.String)), [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) })); - dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); + dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[150]); dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeUnloadEvent.__(); + } get [S$.$returnValue]() { return this.returnValue; } @@ -65963,6 +71890,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BeforeUnloadEvent); dart.addTypeCaches(html$.BeforeUnloadEvent); + dart.setStaticMethodSignature(html$.BeforeUnloadEvent, () => ['__']); dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) @@ -65971,9 +71899,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); + dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); - html$.Blob = class Blob extends _interceptors.Interceptor { + html$.Blob = class Blob extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Blob.__(); + } get [S$.$size]() { return this.size; } @@ -65984,7 +71915,7 @@ define([], (function load__dart_sdk() { return this.slice.apply(this, args); } static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); if (type == null && endings == null) { return html$.Blob.as(html$.Blob._create_1(blobParts)); } @@ -65993,6 +71924,10 @@ define([], (function load__dart_sdk() { if (endings != null) html$.Blob._bag_set(bag, "endings", endings); return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); } + static ['_#new#tearOff'](blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); + return html$.Blob.new(blobParts, type, endings); + } static _create_1(parts) { return new self.Blob(parts); } @@ -66012,20 +71947,29 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.Blob.__proto__), [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.Blob, () => ['__', 'new', '_create_1', '_create_2', '_create_bag', '_bag_set']); dart.setGetterSignature(html$.Blob, () => ({ __proto__: dart.getGetters(html$.Blob.__proto__), [S$.$size]: core.int, [S.$type]: core.String })); - dart.setLibraryUri(html$.Blob, I[148]); + dart.setLibraryUri(html$.Blob, I[150]); dart.registerExtension("Blob", html$.Blob); html$.BlobEvent = class BlobEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BlobEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BlobEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); + return html$.BlobEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BlobEvent(type, eventInitDict); } @@ -66038,14 +71982,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BlobEvent); dart.addTypeCaches(html$.BlobEvent); + dart.setStaticMethodSignature(html$.BlobEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BlobEvent, () => ({ __proto__: dart.getGetters(html$.BlobEvent.__proto__), [S$.$data]: dart.nullable(html$.Blob), [S$.$timecode]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.BlobEvent, I[148]); + dart.setLibraryUri(html$.BlobEvent, I[150]); dart.registerExtension("BlobEvent", html$.BlobEvent); - html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { + html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BluetoothRemoteGattDescriptor.__(); + } get [S$.$characteristic]() { return this.characteristic; } @@ -66069,15 +72017,19 @@ define([], (function load__dart_sdk() { [S$.$readValue]: dart.fnType(async.Future, []), [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) })); + dart.setStaticMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ['__']); dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), [S$.$uuid]: dart.nullable(core.String), [S.$value]: dart.nullable(typed_data.ByteData) })); - dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); + dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[150]); dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); - html$.Body = class Body extends _interceptors.Interceptor { + html$.Body = class Body extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Body.__(); + } get [S$.$bodyUsed]() { return this.bodyUsed; } @@ -66107,16 +72059,26 @@ define([], (function load__dart_sdk() { [S$.$json]: dart.fnType(async.Future, []), [S.$text]: dart.fnType(async.Future$(core.String), []) })); + dart.setStaticMethodSignature(html$.Body, () => ['__']); dart.setGetterSignature(html$.Body, () => ({ __proto__: dart.getGetters(html$.Body.__proto__), [S$.$bodyUsed]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.Body, I[148]); + dart.setLibraryUri(html$.Body, I[150]); dart.registerExtension("Body", html$.Body); html$.BodyElement = class BodyElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BodyElement.__(); + } static new() { return html$.document.createElement("body"); } + static ['_#new#tearOff']() { + return html$.BodyElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BodyElement.created(); + } get [S.$onBlur]() { return html$.BodyElement.blurEvent.forElement(this); } @@ -66144,10 +72106,10 @@ define([], (function load__dart_sdk() { get [S$.$onPopState]() { return html$.BodyElement.popStateEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.BodyElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.BodyElement.scrollEvent.forElement(this); } get [S$.$onStorage]() { @@ -66164,6 +72126,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.BodyElement); dart.addTypeCaches(html$.BodyElement); html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; + dart.setStaticMethodSignature(html$.BodyElement, () => ['__', 'new']); dart.setGetterSignature(html$.BodyElement, () => ({ __proto__: dart.getGetters(html$.BodyElement.__proto__), [S$.$onHashChange]: html$.ElementStream$(html$.Event), @@ -66174,54 +72137,62 @@ define([], (function load__dart_sdk() { [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), [S$.$onUnload]: html$.ElementStream$(html$.Event) })); - dart.setLibraryUri(html$.BodyElement, I[148]); + dart.setLibraryUri(html$.BodyElement, I[150]); + dart.setStaticFieldSignature(html$.BodyElement, () => ['blurEvent', 'errorEvent', 'focusEvent', 'hashChangeEvent', 'loadEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'resizeEvent', 'scrollEvent', 'storageEvent', 'unloadEvent']); dart.defineLazy(html$.BodyElement, { /*html$.BodyElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.BodyElement.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); dart.registerExtension("HTMLBodyElement", html$.BodyElement); html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BroadcastChannel.__(); + } static new(name) { - if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); return html$.BroadcastChannel._create_1(name); } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); + return html$.BroadcastChannel.new(name); + } static _create_1(name) { return new BroadcastChannel(name); } @@ -66245,19 +72216,24 @@ define([], (function load__dart_sdk() { [S.$close]: dart.fnType(dart.void, []), [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) })); + dart.setStaticMethodSignature(html$.BroadcastChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BroadcastChannel, () => ({ __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), [$name]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.BroadcastChannel, I[148]); + dart.setLibraryUri(html$.BroadcastChannel, I[150]); + dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); dart.defineLazy(html$.BroadcastChannel, { /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); - html$.BudgetState = class BudgetState extends _interceptors.Interceptor { + html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BudgetState.__(); + } get [S$.$budgetAt]() { return this.budgetAt; } @@ -66267,17 +72243,27 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.BudgetState); dart.addTypeCaches(html$.BudgetState); + dart.setStaticMethodSignature(html$.BudgetState, () => ['__']); dart.setGetterSignature(html$.BudgetState, () => ({ __proto__: dart.getGetters(html$.BudgetState.__proto__), [S$.$budgetAt]: dart.nullable(core.num), [S$.$time]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.BudgetState, I[148]); + dart.setLibraryUri(html$.BudgetState, I[150]); dart.registerExtension("BudgetState", html$.BudgetState); html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ButtonElement.__(); + } static new() { return html$.document.createElement("button"); } + static ['_#new#tearOff']() { + return html$.ButtonElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ButtonElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -66375,6 +72361,7 @@ define([], (function load__dart_sdk() { [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(html$.ButtonElement, () => ['__', 'new']); dart.setGetterSignature(html$.ButtonElement, () => ({ __proto__: dart.getGetters(html$.ButtonElement.__proto__), [S$.$autofocus]: core.bool, @@ -66406,9 +72393,12 @@ define([], (function load__dart_sdk() { [S.$type]: core.String, [S.$value]: core.String })); - dart.setLibraryUri(html$.ButtonElement, I[148]); + dart.setLibraryUri(html$.ButtonElement, I[150]); dart.registerExtension("HTMLButtonElement", html$.ButtonElement); html$.CharacterData = class CharacterData extends html$.Node { + static ['_#_#tearOff']() { + return html$.CharacterData.__(); + } get [S$.$data]() { return this.data; } @@ -66448,7 +72438,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CharacterData); dart.addTypeCaches(html$.CharacterData); - html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; + html$.CharacterData[dart.implements] = () => [html$.ChildNode, html$.NonDocumentTypeChildNode]; dart.setMethodSignature(html$.CharacterData, () => ({ __proto__: dart.getMethods(html$.CharacterData.__proto__), [S$.$appendData]: dart.fnType(dart.void, [core.String]), @@ -66459,6 +72449,7 @@ define([], (function load__dart_sdk() { [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]) })); + dart.setStaticMethodSignature(html$.CharacterData, () => ['__']); dart.setGetterSignature(html$.CharacterData, () => ({ __proto__: dart.getGetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String), @@ -66470,13 +72461,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CharacterData, I[148]); + dart.setLibraryUri(html$.CharacterData, I[150]); dart.registerExtension("CharacterData", html$.CharacterData); html$.Text = class Text extends html$.CharacterData { static new(data) { - if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); return html$.document.createTextNode(data); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); + return html$.Text.new(data); + } + static ['_#_#tearOff']() { + return html$.Text.__(); + } get [S.$assignedSlot]() { return this.assignedSlot; } @@ -66497,25 +72495,34 @@ define([], (function load__dart_sdk() { [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), [S$.$splitText]: dart.fnType(html$.Text, [core.int]) })); + dart.setStaticMethodSignature(html$.Text, () => ['new', '__']); dart.setGetterSignature(html$.Text, () => ({ __proto__: dart.getGetters(html$.Text.__proto__), [S.$assignedSlot]: dart.nullable(html$.SlotElement), [S$.$wholeText]: core.String })); - dart.setLibraryUri(html$.Text, I[148]); + dart.setLibraryUri(html$.Text, I[150]); dart.registerExtension("Text", html$.Text); - html$.CDataSection = class CDataSection extends html$.Text {}; + html$.CDataSection = class CDataSection extends html$.Text { + static ['_#_#tearOff']() { + return html$.CDataSection.__(); + } + }; dart.addTypeTests(html$.CDataSection); dart.addTypeCaches(html$.CDataSection); - dart.setLibraryUri(html$.CDataSection, I[148]); + dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); + dart.setLibraryUri(html$.CDataSection, I[150]); dart.registerExtension("CDATASection", html$.CDataSection); - html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { + html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CacheStorage.__(); + } [S.$delete](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2015, 24, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); } [S$.$has](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2018, 21, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); } [$keys]() { @@ -66529,7 +72536,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); } [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); } }; @@ -66543,15 +72550,24 @@ define([], (function load__dart_sdk() { [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), [S.$open]: dart.fnType(async.Future, [core.String]) })); - dart.setLibraryUri(html$.CacheStorage, I[148]); + dart.setStaticMethodSignature(html$.CacheStorage, () => ['__']); + dart.setLibraryUri(html$.CacheStorage, I[150]); dart.registerExtension("CacheStorage", html$.CacheStorage); html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.CanMakePaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); + return html$.CanMakePaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CanMakePaymentEvent(type, eventInitDict); } @@ -66577,6 +72593,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); + dart.setStaticMethodSignature(html$.CanMakePaymentEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), [S$.$methodData]: dart.nullable(core.List), @@ -66584,9 +72601,12 @@ define([], (function load__dart_sdk() { [S$.$paymentRequestOrigin]: dart.nullable(core.String), [S$.$topLevelOrigin]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); + dart.setLibraryUri(html$.CanMakePaymentEvent, I[150]); dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStreamTrack.__(); + } get [S$.$contentHint]() { return this.contentHint; } @@ -66669,6 +72689,7 @@ define([], (function load__dart_sdk() { [S$._getSettings_1]: dart.fnType(dart.dynamic, []), [S$.$stop]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.MediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.MediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), [S$.$contentHint]: dart.nullable(core.String), @@ -66687,20 +72708,24 @@ define([], (function load__dart_sdk() { [S$.$contentHint]: dart.nullable(core.String), [S$.$enabled]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.MediaStreamTrack, I[148]); + dart.setLibraryUri(html$.MediaStreamTrack, I[150]); + dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); dart.defineLazy(html$.MediaStreamTrack, { /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[318] || CT.C318; + return C[328] || CT.C328; }, /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - return C[319] || CT.C319; + return C[329] || CT.C329; } }, false); dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + static ['_#_#tearOff']() { + return html$.CanvasCaptureMediaStreamTrack.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -66714,13 +72739,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$requestFrame]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); - dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); + dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[150]); dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.CanvasElement.__(); + } static new(opts) { let width = opts && 'width' in opts ? opts.width : null; let height = opts && 'height' in opts ? opts.height : null; @@ -66729,6 +72758,14 @@ define([], (function load__dart_sdk() { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.CanvasElement.new({width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.CanvasElement.created(); + } get [$height]() { return this.height; } @@ -66745,7 +72782,7 @@ define([], (function load__dart_sdk() { return this.captureStream.apply(this, args); } [S$.$getContext](contextId, attributes = null) { - if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (contextId == null) dart.nullFailed(I[149], 2143, 29, "contextId"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextId, attributes_1); @@ -66785,10 +72822,10 @@ define([], (function load__dart_sdk() { if (context == null) { context = this[S$.$getContext]("experimental-webgl", options); } - return web_gl.RenderingContext.as(context); + return T$0.RenderingContextN().as(context); } [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); return this[S$._toDataUrl](type, quality); } [S$._toBlob](...args) { @@ -66817,11 +72854,12 @@ define([], (function load__dart_sdk() { [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), - [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$getContext3d]: dart.fnType(dart.nullable(web_gl.RenderingContext), [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(html$.CanvasElement, () => ['__', 'new']); dart.setGetterSignature(html$.CanvasElement, () => ({ __proto__: dart.getGetters(html$.CanvasElement.__proto__), [$height]: dart.nullable(core.int), @@ -66835,17 +72873,21 @@ define([], (function load__dart_sdk() { [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.CanvasElement, I[148]); + dart.setLibraryUri(html$.CanvasElement, I[150]); + dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); dart.defineLazy(html$.CanvasElement, { /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[320] || CT.C320; + return C[330] || CT.C330; }, /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[321] || CT.C321; + return C[331] || CT.C331; } }, false); dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); - html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { + html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasGradient.__(); + } [S$.$addColorStop](...args) { return this.addColorStop.apply(this, args); } @@ -66856,9 +72898,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CanvasGradient.__proto__), [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) })); - dart.setLibraryUri(html$.CanvasGradient, I[148]); + dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); + dart.setLibraryUri(html$.CanvasGradient, I[150]); dart.registerExtension("CanvasGradient", html$.CanvasGradient); - html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { + html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasPattern.__(); + } [S$.$setTransform](...args) { return this.setTransform.apply(this, args); } @@ -66869,7 +72915,8 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CanvasPattern.__proto__), [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) })); - dart.setLibraryUri(html$.CanvasPattern, I[148]); + dart.setStaticMethodSignature(html$.CanvasPattern, () => ['__']); + dart.setLibraryUri(html$.CanvasPattern, I[150]); dart.registerExtension("CanvasPattern", html$.CanvasPattern); html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; (html$.CanvasRenderingContext.new = function() { @@ -66877,8 +72924,11 @@ define([], (function load__dart_sdk() { }).prototype = html$.CanvasRenderingContext.prototype; dart.addTypeTests(html$.CanvasRenderingContext); dart.addTypeCaches(html$.CanvasRenderingContext); - dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); - html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { + dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); + html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -67090,10 +73140,10 @@ define([], (function load__dart_sdk() { return this.getContextAttributes.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 2584, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 2584, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 2584, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 2584, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -67115,9 +73165,9 @@ define([], (function load__dart_sdk() { return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 2604, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 2604, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 2604, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -67203,54 +73253,54 @@ define([], (function load__dart_sdk() { return this.rect.apply(this, args); } [S$.$createImageDataFromImageData](imagedata) { - if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + if (imagedata == null) dart.nullFailed(I[149], 2682, 52, "imagedata"); return this.createImageData(imagedata); } [S$.$setFillColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); - if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); - if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); - if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + if (r == null) dart.nullFailed(I[149], 2689, 28, "r"); + if (g == null) dart.nullFailed(I[149], 2689, 35, "g"); + if (b == null) dart.nullFailed(I[149], 2689, 42, "b"); + if (a == null) dart.nullFailed(I[149], 2689, 50, "a"); this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setFillColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); - if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); - if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); - if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + if (h == null) dart.nullFailed(I[149], 2699, 28, "h"); + if (s == null) dart.nullFailed(I[149], 2699, 35, "s"); + if (l == null) dart.nullFailed(I[149], 2699, 42, "l"); + if (a == null) dart.nullFailed(I[149], 2699, 50, "a"); this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$setStrokeColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); - if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); - if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); - if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + if (r == null) dart.nullFailed(I[149], 2707, 30, "r"); + if (g == null) dart.nullFailed(I[149], 2707, 37, "g"); + if (b == null) dart.nullFailed(I[149], 2707, 44, "b"); + if (a == null) dart.nullFailed(I[149], 2707, 52, "a"); this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setStrokeColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); - if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); - if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); - if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + if (h == null) dart.nullFailed(I[149], 2717, 30, "h"); + if (s == null) dart.nullFailed(I[149], 2717, 37, "s"); + if (l == null) dart.nullFailed(I[149], 2717, 44, "l"); + if (a == null) dart.nullFailed(I[149], 2717, 52, "a"); this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { - if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); - if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); - if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); - if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); - if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); - if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + if (x == null) dart.nullFailed(I[149], 2721, 16, "x"); + if (y == null) dart.nullFailed(I[149], 2721, 23, "y"); + if (radius == null) dart.nullFailed(I[149], 2721, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[149], 2721, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[149], 2721, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[149], 2722, 13, "anticlockwise"); this.arc(x, y, radius, startAngle, endAngle, anticlockwise); } [S$.$createPatternFromImage](image, repetitionType) { - if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); - if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + if (image == null) dart.nullFailed(I[149], 2729, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[149], 2729, 38, "repetitionType"); return this.createPattern(image, repetitionType); } [S$.$drawImageToRect](source, destRect, opts) { - if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); - if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + if (source == null) dart.nullFailed(I[149], 2772, 42, "source"); + if (destRect == null) dart.nullFailed(I[149], 2772, 60, "destRect"); let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; if (sourceRect == null) { this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); @@ -67271,7 +73321,7 @@ define([], (function load__dart_sdk() { return this.lineDashOffset || this.webkitLineDashOffset; } set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; } [S$.$getLineDash]() { @@ -67283,7 +73333,7 @@ define([], (function load__dart_sdk() { return T$0.JSArrayOfnum().of([]); } [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); if (!!this.setLineDash) { this.setLineDash(dash); } else if (!!this.webkitLineDash) { @@ -67291,9 +73341,9 @@ define([], (function load__dart_sdk() { } } [S$.$fillText](text, x, y, maxWidth = null) { - if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); - if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); - if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (text == null) dart.nullFailed(I[149], 2964, 24, "text"); + if (x == null) dart.nullFailed(I[149], 2964, 34, "x"); + if (y == null) dart.nullFailed(I[149], 2964, 41, "y"); if (maxWidth != null) { this.fillText(text, x, y, maxWidth); } else { @@ -67377,6 +73427,7 @@ define([], (function load__dart_sdk() { [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) })); + dart.setStaticMethodSignature(html$.CanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), [S$.$canvas]: html$.CanvasElement, @@ -67427,13 +73478,21 @@ define([], (function load__dart_sdk() { [S$.$textBaseline]: core.String, [S$.$lineDashOffset]: core.num })); - dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); + dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); - html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; + html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ChildNode.__(); + } + }; dart.addTypeTests(html$.ChildNode); dart.addTypeCaches(html$.ChildNode); - dart.setLibraryUri(html$.ChildNode, I[148]); - html$.Client = class Client extends _interceptors.Interceptor { + dart.setStaticMethodSignature(html$.ChildNode, () => ['__']); + dart.setLibraryUri(html$.ChildNode, I[150]); + html$.Client = class Client extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Client.__(); + } get [S$.$frameType]() { return this.frameType; } @@ -67456,6 +73515,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.Client.__proto__), [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) })); + dart.setStaticMethodSignature(html$.Client, () => ['__']); dart.setGetterSignature(html$.Client, () => ({ __proto__: dart.getGetters(html$.Client.__proto__), [S$.$frameType]: dart.nullable(core.String), @@ -67463,14 +73523,17 @@ define([], (function load__dart_sdk() { [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Client, I[148]); + dart.setLibraryUri(html$.Client, I[150]); dart.registerExtension("Client", html$.Client); - html$.Clients = class Clients extends _interceptors.Interceptor { + html$.Clients = class Clients extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Clients.__(); + } [S$.$claim]() { return js_util.promiseToFuture(dart.dynamic, this.claim()); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + if (id == null) dart.nullFailed(I[149], 3066, 21, "id"); return js_util.promiseToFuture(dart.dynamic, this.get(id)); } [S$.$matchAll](options = null) { @@ -67481,7 +73544,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } }; @@ -67494,17 +73557,25 @@ define([], (function load__dart_sdk() { [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); - dart.setLibraryUri(html$.Clients, I[148]); + dart.setStaticMethodSignature(html$.Clients, () => ['__']); + dart.setLibraryUri(html$.Clients, I[150]); dart.registerExtension("Clients", html$.Clients); html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ClipboardEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ClipboardEvent._create_1(type, eventInitDict_1); } return html$.ClipboardEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); + return html$.ClipboardEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ClipboardEvent(type, eventInitDict); } @@ -67517,21 +73588,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ClipboardEvent); dart.addTypeCaches(html$.ClipboardEvent); + dart.setStaticMethodSignature(html$.ClipboardEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ClipboardEvent, () => ({ __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), [S$.$clipboardData]: dart.nullable(html$.DataTransfer) })); - dart.setLibraryUri(html$.ClipboardEvent, I[148]); + dart.setLibraryUri(html$.ClipboardEvent, I[150]); dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); html$.CloseEvent = class CloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.CloseEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CloseEvent._create_1(type, eventInitDict_1); } return html$.CloseEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); + return html$.CloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CloseEvent(type, eventInitDict); } @@ -67550,33 +73629,41 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CloseEvent); dart.addTypeCaches(html$.CloseEvent); + dart.setStaticMethodSignature(html$.CloseEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CloseEvent, () => ({ __proto__: dart.getGetters(html$.CloseEvent.__proto__), [S$.$code]: dart.nullable(core.int), [S$.$reason]: dart.nullable(core.String), [S$.$wasClean]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.CloseEvent, I[148]); + dart.setLibraryUri(html$.CloseEvent, I[150]); dart.registerExtension("CloseEvent", html$.CloseEvent); html$.Comment = class Comment extends html$.CharacterData { static new(data = null) { return html$.document.createComment(data == null ? "" : data); } + static ['_#new#tearOff'](data = null) { + return html$.Comment.new(data); + } + static ['_#_#tearOff']() { + return html$.Comment.__(); + } }; dart.addTypeTests(html$.Comment); dart.addTypeCaches(html$.Comment); - dart.setLibraryUri(html$.Comment, I[148]); + dart.setStaticMethodSignature(html$.Comment, () => ['new', '__']); + dart.setLibraryUri(html$.Comment, I[150]); dart.registerExtension("Comment", html$.Comment); html$.UIEvent = class UIEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); if (view == null) { view = html$.window; } @@ -67584,14 +73671,29 @@ define([], (function load__dart_sdk() { e[S$._initUIEvent](type, canBubble, cancelable, view, detail); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); + return html$.UIEvent.new(type, {view: view, detail: detail, canBubble: canBubble, cancelable: cancelable}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.UIEvent._create_1(type, eventInitDict_1); } return html$.UIEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); + return html$.UIEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new UIEvent(type, eventInitDict); } @@ -67623,6 +73725,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.UIEvent.__proto__), [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) })); + dart.setStaticMethodSignature(html$.UIEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.UIEvent, () => ({ __proto__: dart.getGetters(html$.UIEvent.__proto__), [S$.$detail]: dart.nullable(core.int), @@ -67631,15 +73734,15 @@ define([], (function load__dart_sdk() { [S$._get_view]: dart.dynamic, [S$._which]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.UIEvent, I[148]); + dart.setLibraryUri(html$.UIEvent, I[150]); dart.registerExtension("UIEvent", html$.UIEvent); html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; let locale = opts && 'locale' in opts ? opts.locale : null; @@ -67654,14 +73757,29 @@ define([], (function load__dart_sdk() { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + return html$.CompositionEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data, locale: locale}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CompositionEvent._create_1(type, eventInitDict_1); } return html$.CompositionEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); + return html$.CompositionEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CompositionEvent(type, eventInitDict); } @@ -67681,16 +73799,26 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CompositionEvent.__proto__), [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.CompositionEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CompositionEvent, () => ({ __proto__: dart.getGetters(html$.CompositionEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CompositionEvent, I[148]); + dart.setLibraryUri(html$.CompositionEvent, I[150]); dart.registerExtension("CompositionEvent", html$.CompositionEvent); html$.ContentElement = class ContentElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ContentElement.__(); + } static new() { return html$.ContentElement.as(html$.document[S.$createElement]("content")); } + static ['_#new#tearOff']() { + return html$.ContentElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ContentElement.created(); + } static get supported() { return html$.Element.isTagSupported("content"); } @@ -67714,6 +73842,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ContentElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); + dart.setStaticMethodSignature(html$.ContentElement, () => ['__', 'new']); dart.setGetterSignature(html$.ContentElement, () => ({ __proto__: dart.getGetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) @@ -67722,9 +73851,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.ContentElement, I[148]); + dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); + dart.setLibraryUri(html$.ContentElement, I[150]); dart.registerExtension("HTMLContentElement", html$.ContentElement); - html$.CookieStore = class CookieStore extends _interceptors.Interceptor { + html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CookieStore.__(); + } [S.$getAll](options = null) { let options_dict = null; if (options != null) { @@ -67733,8 +73866,8 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); } [S$.$set](name, value, options = null) { - if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); - if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + if (name == null) dart.nullFailed(I[149], 3249, 21, "name"); + if (value == null) dart.nullFailed(I[149], 3249, 34, "value"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -67749,9 +73882,13 @@ define([], (function load__dart_sdk() { [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) })); - dart.setLibraryUri(html$.CookieStore, I[148]); + dart.setStaticMethodSignature(html$.CookieStore, () => ['__']); + dart.setLibraryUri(html$.CookieStore, I[150]); dart.registerExtension("CookieStore", html$.CookieStore); - html$.Coordinates = class Coordinates extends _interceptors.Interceptor { + html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Coordinates.__(); + } get [S$.$accuracy]() { return this.accuracy; } @@ -67776,6 +73913,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Coordinates); dart.addTypeCaches(html$.Coordinates); + dart.setStaticMethodSignature(html$.Coordinates, () => ['__']); dart.setGetterSignature(html$.Coordinates, () => ({ __proto__: dart.getGetters(html$.Coordinates.__proto__), [S$.$accuracy]: dart.nullable(core.num), @@ -67786,9 +73924,12 @@ define([], (function load__dart_sdk() { [S$.$longitude]: dart.nullable(core.num), [S$.$speed]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.Coordinates, I[148]); + dart.setLibraryUri(html$.Coordinates, I[150]); dart.registerExtension("Coordinates", html$.Coordinates); - html$.Credential = class Credential extends _interceptors.Interceptor { + html$.Credential = class Credential extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Credential.__(); + } get [S.$id]() { return this.id; } @@ -67798,14 +73939,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Credential); dart.addTypeCaches(html$.Credential); + dart.setStaticMethodSignature(html$.Credential, () => ['__']); dart.setGetterSignature(html$.Credential, () => ({ __proto__: dart.getGetters(html$.Credential.__proto__), [S.$id]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Credential, I[148]); + dart.setLibraryUri(html$.Credential, I[150]); dart.registerExtension("Credential", html$.Credential); - html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { + html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialUserData.__(); + } get [S$.$iconUrl]() { return this.iconURL; } @@ -67815,14 +73960,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CredentialUserData); dart.addTypeCaches(html$.CredentialUserData); + dart.setStaticMethodSignature(html$.CredentialUserData, () => ['__']); dart.setGetterSignature(html$.CredentialUserData, () => ({ __proto__: dart.getGetters(html$.CredentialUserData.__proto__), [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CredentialUserData, I[148]); + dart.setLibraryUri(html$.CredentialUserData, I[150]); dart.registerExtension("CredentialUserData", html$.CredentialUserData); - html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { + html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialsContainer.__(); + } [S$.$create](options = null) { let options_dict = null; if (options != null) { @@ -67844,7 +73993,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); } [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); return js_util.promiseToFuture(dart.dynamic, this.store(credential)); } }; @@ -67858,13 +74007,17 @@ define([], (function load__dart_sdk() { [S$.$requireUserMediation]: dart.fnType(async.Future, []), [S$.$store]: dart.fnType(async.Future, [html$.Credential]) })); - dart.setLibraryUri(html$.CredentialsContainer, I[148]); + dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); + dart.setLibraryUri(html$.CredentialsContainer, I[150]); dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); - html$.Crypto = class Crypto extends _interceptors.Interceptor { + html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { [S$.$getRandomValues](array) { - if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + if (array == null) dart.nullFailed(I[149], 3360, 39, "array"); return this[S$._getRandomValues](array); } + static ['_#_#tearOff']() { + return html$.Crypto.__(); + } static get supported() { return !!(window.crypto && window.crypto.getRandomValues); } @@ -67882,13 +74035,18 @@ define([], (function load__dart_sdk() { [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) })); + dart.setStaticMethodSignature(html$.Crypto, () => ['__']); dart.setGetterSignature(html$.Crypto, () => ({ __proto__: dart.getGetters(html$.Crypto.__proto__), [S$.$subtle]: dart.nullable(html$._SubtleCrypto) })); - dart.setLibraryUri(html$.Crypto, I[148]); + dart.setStaticGetterSignature(html$.Crypto, () => ['supported']); + dart.setLibraryUri(html$.Crypto, I[150]); dart.registerExtension("Crypto", html$.Crypto); - html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { + html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CryptoKey.__(); + } get [S$.$algorithm]() { return this.algorithm; } @@ -67904,6 +74062,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CryptoKey); dart.addTypeCaches(html$.CryptoKey); + dart.setStaticMethodSignature(html$.CryptoKey, () => ['__']); dart.setGetterSignature(html$.CryptoKey, () => ({ __proto__: dart.getGetters(html$.CryptoKey.__proto__), [S$.$algorithm]: dart.nullable(core.Object), @@ -67911,11 +74070,14 @@ define([], (function load__dart_sdk() { [S.$type]: dart.nullable(core.String), [S$.$usages]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.CryptoKey, I[148]); + dart.setLibraryUri(html$.CryptoKey, I[150]); dart.registerExtension("CryptoKey", html$.CryptoKey); - html$.Css = class Css extends _interceptors.Interceptor { + html$.Css = class Css extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Css.__(); + } static registerProperty(descriptor) { - if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + if (descriptor == null) dart.nullFailed(I[149], 3458, 36, "descriptor"); let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); dart.global.CSS.registerProperty(descriptor_1); return; @@ -67923,9 +74085,14 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Css); dart.addTypeCaches(html$.Css); - dart.setLibraryUri(html$.Css, I[148]); + dart.setStaticMethodSignature(html$.Css, () => ['__', 'Hz', 'ch', 'cm', 'deg', 'dpcm', 'dpi', 'dppx', 'em', 'escape', 'ex', 'fr', 'grad', 'inch', 'kHz', 'mm', 'ms', 'number', 'pc', 'percent', 'pt', 'px', 'rad', 'registerProperty', '_registerProperty_1', 'rem', 's', 'supports', 'supportsCondition', 'turn', 'vh', 'vmax', 'vmin', 'vw']); + dart.setStaticGetterSignature(html$.Css, () => ['paintWorklet']); + dart.setLibraryUri(html$.Css, I[150]); dart.registerExtension("CSS", html$.Css); - html$.CssRule = class CssRule extends _interceptors.Interceptor { + html$.CssRule = class CssRule extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssRule.__(); + } get [S$.$cssText]() { return this.cssText; } @@ -67944,6 +74111,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssRule); dart.addTypeCaches(html$.CssRule); + dart.setStaticMethodSignature(html$.CssRule, () => ['__']); dart.setGetterSignature(html$.CssRule, () => ({ __proto__: dart.getGetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String), @@ -67955,7 +74123,8 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssRule, I[148]); + dart.setLibraryUri(html$.CssRule, I[150]); + dart.setStaticFieldSignature(html$.CssRule, () => ['CHARSET_RULE', 'FONT_FACE_RULE', 'IMPORT_RULE', 'KEYFRAMES_RULE', 'KEYFRAME_RULE', 'MEDIA_RULE', 'NAMESPACE_RULE', 'PAGE_RULE', 'STYLE_RULE', 'SUPPORTS_RULE', 'VIEWPORT_RULE']); dart.defineLazy(html$.CssRule, { /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { return 2; @@ -67993,6 +74162,9 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("CSSRule", html$.CssRule); html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssCharsetRule.__(); + } get [S$.$encoding]() { return this.encoding; } @@ -68002,6 +74174,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssCharsetRule); dart.addTypeCaches(html$.CssCharsetRule); + dart.setStaticMethodSignature(html$.CssCharsetRule, () => ['__']); dart.setGetterSignature(html$.CssCharsetRule, () => ({ __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) @@ -68010,9 +74183,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssCharsetRule, I[148]); + dart.setLibraryUri(html$.CssCharsetRule, I[150]); dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssGroupingRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68030,57 +74206,78 @@ define([], (function load__dart_sdk() { [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) })); + dart.setStaticMethodSignature(html$.CssGroupingRule, () => ['__']); dart.setGetterSignature(html$.CssGroupingRule, () => ({ __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) })); - dart.setLibraryUri(html$.CssGroupingRule, I[148]); + dart.setLibraryUri(html$.CssGroupingRule, I[150]); dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + static ['_#_#tearOff']() { + return html$.CssConditionRule.__(); + } get [S$.$conditionText]() { return this.conditionText; } }; dart.addTypeTests(html$.CssConditionRule); dart.addTypeCaches(html$.CssConditionRule); + dart.setStaticMethodSignature(html$.CssConditionRule, () => ['__']); dart.setGetterSignature(html$.CssConditionRule, () => ({ __proto__: dart.getGetters(html$.CssConditionRule.__proto__), [S$.$conditionText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssConditionRule, I[148]); + dart.setLibraryUri(html$.CssConditionRule, I[150]); dart.registerExtension("CSSConditionRule", html$.CssConditionRule); html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssFontFaceRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssFontFaceRule); dart.addTypeCaches(html$.CssFontFaceRule); + dart.setStaticMethodSignature(html$.CssFontFaceRule, () => ['__']); dart.setGetterSignature(html$.CssFontFaceRule, () => ({ __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); - dart.setLibraryUri(html$.CssFontFaceRule, I[148]); + dart.setLibraryUri(html$.CssFontFaceRule, I[150]); dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); - html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; + html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssStyleValue.__(); + } + }; dart.addTypeTests(html$.CssStyleValue); dart.addTypeCaches(html$.CssStyleValue); - dart.setLibraryUri(html$.CssStyleValue, I[148]); + dart.setStaticMethodSignature(html$.CssStyleValue, () => ['__', 'parse']); + dart.setLibraryUri(html$.CssStyleValue, I[150]); dart.registerExtension("CSSStyleValue", html$.CssStyleValue); html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssResourceValue.__(); + } get [S$.$state]() { return this.state; } }; dart.addTypeTests(html$.CssResourceValue); dart.addTypeCaches(html$.CssResourceValue); + dart.setStaticMethodSignature(html$.CssResourceValue, () => ['__']); dart.setGetterSignature(html$.CssResourceValue, () => ({ __proto__: dart.getGetters(html$.CssResourceValue.__proto__), [S$.$state]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssResourceValue, I[148]); + dart.setLibraryUri(html$.CssResourceValue, I[150]); dart.registerExtension("CSSResourceValue", html$.CssResourceValue); html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + static ['_#_#tearOff']() { + return html$.CssImageValue.__(); + } get [S$.$intrinsicHeight]() { return this.intrinsicHeight; } @@ -68093,15 +74290,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssImageValue); dart.addTypeCaches(html$.CssImageValue); + dart.setStaticMethodSignature(html$.CssImageValue, () => ['__']); dart.setGetterSignature(html$.CssImageValue, () => ({ __proto__: dart.getGetters(html$.CssImageValue.__proto__), [S$.$intrinsicHeight]: dart.nullable(core.num), [S$.$intrinsicRatio]: dart.nullable(core.num), [S$.$intrinsicWidth]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.CssImageValue, I[148]); + dart.setLibraryUri(html$.CssImageValue, I[150]); dart.registerExtension("CSSImageValue", html$.CssImageValue); html$.CssImportRule = class CssImportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssImportRule.__(); + } get [S$.$href]() { return this.href; } @@ -68114,15 +74315,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssImportRule); dart.addTypeCaches(html$.CssImportRule); + dart.setStaticMethodSignature(html$.CssImportRule, () => ['__']); dart.setGetterSignature(html$.CssImportRule, () => ({ __proto__: dart.getGetters(html$.CssImportRule.__proto__), [S$.$href]: dart.nullable(core.String), [S$.$media]: dart.nullable(html$.MediaList), [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) })); - dart.setLibraryUri(html$.CssImportRule, I[148]); + dart.setLibraryUri(html$.CssImportRule, I[150]); dart.registerExtension("CSSImportRule", html$.CssImportRule); html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframeRule.__(); + } get [S$.$keyText]() { return this.keyText; } @@ -68135,6 +74340,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssKeyframeRule); dart.addTypeCaches(html$.CssKeyframeRule); + dart.setStaticMethodSignature(html$.CssKeyframeRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframeRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String), @@ -68144,11 +74350,14 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssKeyframeRule, I[148]); + dart.setLibraryUri(html$.CssKeyframeRule, I[150]); dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframesRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68180,6 +74389,7 @@ define([], (function load__dart_sdk() { [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) })); + dart.setStaticMethodSignature(html$.CssKeyframesRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframesRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), @@ -68189,15 +74399,22 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssKeyframesRule, I[148]); + dart.setLibraryUri(html$.CssKeyframesRule, I[150]); dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssKeywordValue.__(); + } static new(keyword) { - if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); return html$.CssKeywordValue._create_1(keyword); } + static ['_#new#tearOff'](keyword) { + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); + return html$.CssKeywordValue.new(keyword); + } static _create_1(keyword) { return new CSSKeywordValue(keyword); } @@ -68210,6 +74427,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssKeywordValue); dart.addTypeCaches(html$.CssKeywordValue); + dart.setStaticMethodSignature(html$.CssKeywordValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssKeywordValue, () => ({ __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) @@ -68218,9 +74436,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssKeywordValue, I[148]); + dart.setLibraryUri(html$.CssKeywordValue, I[150]); dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); - html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { + html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssTransformComponent.__(); + } get [S$.$is2D]() { return this.is2D; } @@ -68230,6 +74451,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssTransformComponent); dart.addTypeCaches(html$.CssTransformComponent); + dart.setStaticMethodSignature(html$.CssTransformComponent, () => ['__']); dart.setGetterSignature(html$.CssTransformComponent, () => ({ __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) @@ -68238,17 +74460,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.CssTransformComponent, I[148]); + dart.setLibraryUri(html$.CssTransformComponent, I[150]); dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssMatrixComponent.__(); + } static new(matrix, options = null) { - if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.CssMatrixComponent._create_1(matrix, options_1); } return html$.CssMatrixComponent._create_2(matrix); } + static ['_#new#tearOff'](matrix, options = null) { + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); + return html$.CssMatrixComponent.new(matrix, options); + } static _create_1(matrix, options) { return new CSSMatrixComponent(matrix, options); } @@ -68264,6 +74493,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssMatrixComponent); dart.addTypeCaches(html$.CssMatrixComponent); + dart.setStaticMethodSignature(html$.CssMatrixComponent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssMatrixComponent, () => ({ __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) @@ -68272,22 +74502,29 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) })); - dart.setLibraryUri(html$.CssMatrixComponent, I[148]); + dart.setLibraryUri(html$.CssMatrixComponent, I[150]); dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssMediaRule.__(); + } get [S$.$media]() { return this.media; } }; dart.addTypeTests(html$.CssMediaRule); dart.addTypeCaches(html$.CssMediaRule); + dart.setStaticMethodSignature(html$.CssMediaRule, () => ['__']); dart.setGetterSignature(html$.CssMediaRule, () => ({ __proto__: dart.getGetters(html$.CssMediaRule.__proto__), [S$.$media]: dart.nullable(html$.MediaList) })); - dart.setLibraryUri(html$.CssMediaRule, I[148]); + dart.setLibraryUri(html$.CssMediaRule, I[150]); dart.registerExtension("CSSMediaRule", html$.CssMediaRule); html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssNamespaceRule.__(); + } get [S.$namespaceUri]() { return this.namespaceURI; } @@ -68297,14 +74534,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssNamespaceRule); dart.addTypeCaches(html$.CssNamespaceRule); + dart.setStaticMethodSignature(html$.CssNamespaceRule, () => ['__']); dart.setGetterSignature(html$.CssNamespaceRule, () => ({ __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), [S.$namespaceUri]: dart.nullable(core.String), [S$.$prefix]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssNamespaceRule, I[148]); + dart.setLibraryUri(html$.CssNamespaceRule, I[150]); dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssNumericValue.__(); + } [$add](...args) { return this.add.apply(this, args); } @@ -68331,9 +74572,13 @@ define([], (function load__dart_sdk() { [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) })); - dart.setLibraryUri(html$.CssNumericValue, I[148]); + dart.setStaticMethodSignature(html$.CssNumericValue, () => ['__', 'parse']); + dart.setLibraryUri(html$.CssNumericValue, I[150]); dart.registerExtension("CSSNumericValue", html$.CssNumericValue); html$.CssPageRule = class CssPageRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssPageRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -68346,6 +74591,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssPageRule); dart.addTypeCaches(html$.CssPageRule); + dart.setStaticMethodSignature(html$.CssPageRule, () => ['__']); dart.setGetterSignature(html$.CssPageRule, () => ({ __proto__: dart.getGetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String), @@ -68355,13 +74601,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssPageRule, I[148]); + dart.setLibraryUri(html$.CssPageRule, I[150]); dart.registerExtension("CSSPageRule", html$.CssPageRule); html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssPerspective.__(); + } static new(length) { - if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); return html$.CssPerspective._create_1(length); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); + return html$.CssPerspective.new(length); + } static _create_1(length) { return new CSSPerspective(length); } @@ -68374,6 +74627,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssPerspective); dart.addTypeCaches(html$.CssPerspective); + dart.setStaticMethodSignature(html$.CssPerspective, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPerspective, () => ({ __proto__: dart.getGetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) @@ -68382,14 +74636,22 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) })); - dart.setLibraryUri(html$.CssPerspective, I[148]); + dart.setLibraryUri(html$.CssPerspective, I[150]); dart.registerExtension("CSSPerspective", html$.CssPerspective); html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssPositionValue.__(); + } static new(x, y) { - if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); - if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); return html$.CssPositionValue._create_1(x, y); } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); + return html$.CssPositionValue.new(x, y); + } static _create_1(x, y) { return new CSSPositionValue(x, y); } @@ -68408,6 +74670,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssPositionValue); dart.addTypeCaches(html$.CssPositionValue); + dart.setStaticMethodSignature(html$.CssPositionValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPositionValue, () => ({ __proto__: dart.getGetters(html$.CssPositionValue.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -68418,9 +74681,12 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(html$.CssNumericValue), [S$.$y]: dart.nullable(html$.CssNumericValue) })); - dart.setLibraryUri(html$.CssPositionValue, I[148]); + dart.setLibraryUri(html$.CssPositionValue, I[150]); dart.registerExtension("CSSPositionValue", html$.CssPositionValue); html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssRotation.__(); + } static new(angleValue_OR_x, y = null, z = null, angle = null) { if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { return html$.CssRotation._create_1(angleValue_OR_x); @@ -68430,6 +74696,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](angleValue_OR_x, y = null, z = null, angle = null) { + return html$.CssRotation.new(angleValue_OR_x, y, z, angle); + } static _create_1(angleValue_OR_x) { return new CSSRotation(angleValue_OR_x); } @@ -68463,6 +74732,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssRotation); dart.addTypeCaches(html$.CssRotation); + dart.setStaticMethodSignature(html$.CssRotation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssRotation, () => ({ __proto__: dart.getGetters(html$.CssRotation.__proto__), [S$.$angle]: dart.nullable(html$.CssNumericValue), @@ -68477,12 +74747,15 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.CssRotation, I[148]); + dart.setLibraryUri(html$.CssRotation, I[150]); dart.registerExtension("CSSRotation", html$.CssRotation); html$.CssScale = class CssScale extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssScale.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); - if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); if (typeof y == 'number' && typeof x == 'number' && z == null) { return html$.CssScale._create_1(x, y); } @@ -68491,6 +74764,11 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); + return html$.CssScale.new(x, y, z); + } static _create_1(x, y) { return new CSSScale(x, y); } @@ -68518,6 +74796,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssScale); dart.addTypeCaches(html$.CssScale); + dart.setStaticMethodSignature(html$.CssScale, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssScale, () => ({ __proto__: dart.getGetters(html$.CssScale.__proto__), [S$.$x]: dart.nullable(core.num), @@ -68530,14 +74809,22 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.CssScale, I[148]); + dart.setLibraryUri(html$.CssScale, I[150]); dart.registerExtension("CSSScale", html$.CssScale); html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssSkew.__(); + } static new(ax, ay) { - if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); - if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); return html$.CssSkew._create_1(ax, ay); } + static ['_#new#tearOff'](ax, ay) { + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); + return html$.CssSkew.new(ax, ay); + } static _create_1(ax, ay) { return new CSSSkew(ax, ay); } @@ -68556,6 +74843,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssSkew); dart.addTypeCaches(html$.CssSkew); + dart.setStaticMethodSignature(html$.CssSkew, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssSkew, () => ({ __proto__: dart.getGetters(html$.CssSkew.__proto__), [S$.$ax]: dart.nullable(html$.CssNumericValue), @@ -68566,2401 +74854,2415 @@ define([], (function load__dart_sdk() { [S$.$ax]: dart.nullable(html$.CssNumericValue), [S$.$ay]: dart.nullable(html$.CssNumericValue) })); - dart.setLibraryUri(html$.CssSkew, I[148]); + dart.setLibraryUri(html$.CssSkew, I[150]); dart.registerExtension("CSSSkew", html$.CssSkew); html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { get alignContent() { return this[S$.$getPropertyValue]("align-content"); } set alignContent(value) { - if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5924, 27, "value"); this[S$.$setProperty]("align-content", value, ""); } get alignItems() { return this[S$.$getPropertyValue]("align-items"); } set alignItems(value) { - if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5932, 25, "value"); this[S$.$setProperty]("align-items", value, ""); } get alignSelf() { return this[S$.$getPropertyValue]("align-self"); } set alignSelf(value) { - if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5940, 24, "value"); this[S$.$setProperty]("align-self", value, ""); } get animation() { return this[S$.$getPropertyValue]("animation"); } set animation(value) { - if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5948, 24, "value"); this[S$.$setProperty]("animation", value, ""); } get animationDelay() { return this[S$.$getPropertyValue]("animation-delay"); } set animationDelay(value) { - if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5956, 29, "value"); this[S$.$setProperty]("animation-delay", value, ""); } get animationDirection() { return this[S$.$getPropertyValue]("animation-direction"); } set animationDirection(value) { - if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5964, 33, "value"); this[S$.$setProperty]("animation-direction", value, ""); } get animationDuration() { return this[S$.$getPropertyValue]("animation-duration"); } set animationDuration(value) { - if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5972, 32, "value"); this[S$.$setProperty]("animation-duration", value, ""); } get animationFillMode() { return this[S$.$getPropertyValue]("animation-fill-mode"); } set animationFillMode(value) { - if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5980, 32, "value"); this[S$.$setProperty]("animation-fill-mode", value, ""); } get animationIterationCount() { return this[S$.$getPropertyValue]("animation-iteration-count"); } set animationIterationCount(value) { - if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + if (value == null) dart.nullFailed(I[149], 5989, 38, "value"); this[S$.$setProperty]("animation-iteration-count", value, ""); } get animationName() { return this[S$.$getPropertyValue]("animation-name"); } set animationName(value) { - if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5997, 28, "value"); this[S$.$setProperty]("animation-name", value, ""); } get animationPlayState() { return this[S$.$getPropertyValue]("animation-play-state"); } set animationPlayState(value) { - if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6005, 33, "value"); this[S$.$setProperty]("animation-play-state", value, ""); } get animationTimingFunction() { return this[S$.$getPropertyValue]("animation-timing-function"); } set animationTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6014, 38, "value"); this[S$.$setProperty]("animation-timing-function", value, ""); } get appRegion() { return this[S$.$getPropertyValue]("app-region"); } set appRegion(value) { - if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6022, 24, "value"); this[S$.$setProperty]("app-region", value, ""); } get appearance() { return this[S$.$getPropertyValue]("appearance"); } set appearance(value) { - if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6030, 25, "value"); this[S$.$setProperty]("appearance", value, ""); } get aspectRatio() { return this[S$.$getPropertyValue]("aspect-ratio"); } set aspectRatio(value) { - if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6038, 26, "value"); this[S$.$setProperty]("aspect-ratio", value, ""); } get backfaceVisibility() { return this[S$.$getPropertyValue]("backface-visibility"); } set backfaceVisibility(value) { - if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6046, 33, "value"); this[S$.$setProperty]("backface-visibility", value, ""); } get background() { return this[S$.$getPropertyValue]("background"); } set background(value) { - if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6054, 25, "value"); this[S$.$setProperty]("background", value, ""); } get backgroundAttachment() { return this[S$.$getPropertyValue]("background-attachment"); } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6062, 35, "value"); this[S$.$setProperty]("background-attachment", value, ""); } get backgroundBlendMode() { return this[S$.$getPropertyValue]("background-blend-mode"); } set backgroundBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6070, 34, "value"); this[S$.$setProperty]("background-blend-mode", value, ""); } get backgroundClip() { return this[S$.$getPropertyValue]("background-clip"); } set backgroundClip(value) { - if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6078, 29, "value"); this[S$.$setProperty]("background-clip", value, ""); } get backgroundColor() { return this[S$.$getPropertyValue]("background-color"); } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6086, 30, "value"); this[S$.$setProperty]("background-color", value, ""); } get backgroundComposite() { return this[S$.$getPropertyValue]("background-composite"); } set backgroundComposite(value) { - if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6094, 34, "value"); this[S$.$setProperty]("background-composite", value, ""); } get backgroundImage() { return this[S$.$getPropertyValue]("background-image"); } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6102, 30, "value"); this[S$.$setProperty]("background-image", value, ""); } get backgroundOrigin() { return this[S$.$getPropertyValue]("background-origin"); } set backgroundOrigin(value) { - if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6110, 31, "value"); this[S$.$setProperty]("background-origin", value, ""); } get backgroundPosition() { return this[S$.$getPropertyValue]("background-position"); } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6118, 33, "value"); this[S$.$setProperty]("background-position", value, ""); } get backgroundPositionX() { return this[S$.$getPropertyValue]("background-position-x"); } set backgroundPositionX(value) { - if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6126, 34, "value"); this[S$.$setProperty]("background-position-x", value, ""); } get backgroundPositionY() { return this[S$.$getPropertyValue]("background-position-y"); } set backgroundPositionY(value) { - if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6134, 34, "value"); this[S$.$setProperty]("background-position-y", value, ""); } get backgroundRepeat() { return this[S$.$getPropertyValue]("background-repeat"); } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6142, 31, "value"); this[S$.$setProperty]("background-repeat", value, ""); } get backgroundRepeatX() { return this[S$.$getPropertyValue]("background-repeat-x"); } set backgroundRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6150, 32, "value"); this[S$.$setProperty]("background-repeat-x", value, ""); } get backgroundRepeatY() { return this[S$.$getPropertyValue]("background-repeat-y"); } set backgroundRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6158, 32, "value"); this[S$.$setProperty]("background-repeat-y", value, ""); } get backgroundSize() { return this[S$.$getPropertyValue]("background-size"); } set backgroundSize(value) { - if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6166, 29, "value"); this[S$.$setProperty]("background-size", value, ""); } get border() { return this[S$.$getPropertyValue]("border"); } set border(value) { - if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6174, 21, "value"); this[S$.$setProperty]("border", value, ""); } get borderAfter() { return this[S$.$getPropertyValue]("border-after"); } set borderAfter(value) { - if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6182, 26, "value"); this[S$.$setProperty]("border-after", value, ""); } get borderAfterColor() { return this[S$.$getPropertyValue]("border-after-color"); } set borderAfterColor(value) { - if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6190, 31, "value"); this[S$.$setProperty]("border-after-color", value, ""); } get borderAfterStyle() { return this[S$.$getPropertyValue]("border-after-style"); } set borderAfterStyle(value) { - if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6198, 31, "value"); this[S$.$setProperty]("border-after-style", value, ""); } get borderAfterWidth() { return this[S$.$getPropertyValue]("border-after-width"); } set borderAfterWidth(value) { - if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6206, 31, "value"); this[S$.$setProperty]("border-after-width", value, ""); } get borderBefore() { return this[S$.$getPropertyValue]("border-before"); } set borderBefore(value) { - if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6214, 27, "value"); this[S$.$setProperty]("border-before", value, ""); } get borderBeforeColor() { return this[S$.$getPropertyValue]("border-before-color"); } set borderBeforeColor(value) { - if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6222, 32, "value"); this[S$.$setProperty]("border-before-color", value, ""); } get borderBeforeStyle() { return this[S$.$getPropertyValue]("border-before-style"); } set borderBeforeStyle(value) { - if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6230, 32, "value"); this[S$.$setProperty]("border-before-style", value, ""); } get borderBeforeWidth() { return this[S$.$getPropertyValue]("border-before-width"); } set borderBeforeWidth(value) { - if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6238, 32, "value"); this[S$.$setProperty]("border-before-width", value, ""); } get borderBottom() { return this[S$.$getPropertyValue]("border-bottom"); } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6246, 27, "value"); this[S$.$setProperty]("border-bottom", value, ""); } get borderBottomColor() { return this[S$.$getPropertyValue]("border-bottom-color"); } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6254, 32, "value"); this[S$.$setProperty]("border-bottom-color", value, ""); } get borderBottomLeftRadius() { return this[S$.$getPropertyValue]("border-bottom-left-radius"); } set borderBottomLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + if (value == null) dart.nullFailed(I[149], 6263, 37, "value"); this[S$.$setProperty]("border-bottom-left-radius", value, ""); } get borderBottomRightRadius() { return this[S$.$getPropertyValue]("border-bottom-right-radius"); } set borderBottomRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6272, 38, "value"); this[S$.$setProperty]("border-bottom-right-radius", value, ""); } get borderBottomStyle() { return this[S$.$getPropertyValue]("border-bottom-style"); } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6280, 32, "value"); this[S$.$setProperty]("border-bottom-style", value, ""); } get borderBottomWidth() { return this[S$.$getPropertyValue]("border-bottom-width"); } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6288, 32, "value"); this[S$.$setProperty]("border-bottom-width", value, ""); } get borderCollapse() { return this[S$.$getPropertyValue]("border-collapse"); } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6296, 29, "value"); this[S$.$setProperty]("border-collapse", value, ""); } get borderColor() { return this[S$.$getPropertyValue]("border-color"); } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6304, 26, "value"); this[S$.$setProperty]("border-color", value, ""); } get borderEnd() { return this[S$.$getPropertyValue]("border-end"); } set borderEnd(value) { - if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6312, 24, "value"); this[S$.$setProperty]("border-end", value, ""); } get borderEndColor() { return this[S$.$getPropertyValue]("border-end-color"); } set borderEndColor(value) { - if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6320, 29, "value"); this[S$.$setProperty]("border-end-color", value, ""); } get borderEndStyle() { return this[S$.$getPropertyValue]("border-end-style"); } set borderEndStyle(value) { - if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6328, 29, "value"); this[S$.$setProperty]("border-end-style", value, ""); } get borderEndWidth() { return this[S$.$getPropertyValue]("border-end-width"); } set borderEndWidth(value) { - if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6336, 29, "value"); this[S$.$setProperty]("border-end-width", value, ""); } get borderFit() { return this[S$.$getPropertyValue]("border-fit"); } set borderFit(value) { - if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6344, 24, "value"); this[S$.$setProperty]("border-fit", value, ""); } get borderHorizontalSpacing() { return this[S$.$getPropertyValue]("border-horizontal-spacing"); } set borderHorizontalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6353, 38, "value"); this[S$.$setProperty]("border-horizontal-spacing", value, ""); } get borderImage() { return this[S$.$getPropertyValue]("border-image"); } set borderImage(value) { - if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6361, 26, "value"); this[S$.$setProperty]("border-image", value, ""); } get borderImageOutset() { return this[S$.$getPropertyValue]("border-image-outset"); } set borderImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6369, 32, "value"); this[S$.$setProperty]("border-image-outset", value, ""); } get borderImageRepeat() { return this[S$.$getPropertyValue]("border-image-repeat"); } set borderImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6377, 32, "value"); this[S$.$setProperty]("border-image-repeat", value, ""); } get borderImageSlice() { return this[S$.$getPropertyValue]("border-image-slice"); } set borderImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6385, 31, "value"); this[S$.$setProperty]("border-image-slice", value, ""); } get borderImageSource() { return this[S$.$getPropertyValue]("border-image-source"); } set borderImageSource(value) { - if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6393, 32, "value"); this[S$.$setProperty]("border-image-source", value, ""); } get borderImageWidth() { return this[S$.$getPropertyValue]("border-image-width"); } set borderImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6401, 31, "value"); this[S$.$setProperty]("border-image-width", value, ""); } get borderLeft() { return this[S$.$getPropertyValue]("border-left"); } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6409, 25, "value"); this[S$.$setProperty]("border-left", value, ""); } get borderLeftColor() { return this[S$.$getPropertyValue]("border-left-color"); } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6417, 30, "value"); this[S$.$setProperty]("border-left-color", value, ""); } get borderLeftStyle() { return this[S$.$getPropertyValue]("border-left-style"); } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6425, 30, "value"); this[S$.$setProperty]("border-left-style", value, ""); } get borderLeftWidth() { return this[S$.$getPropertyValue]("border-left-width"); } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6433, 30, "value"); this[S$.$setProperty]("border-left-width", value, ""); } get borderRadius() { return this[S$.$getPropertyValue]("border-radius"); } set borderRadius(value) { - if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6441, 27, "value"); this[S$.$setProperty]("border-radius", value, ""); } get borderRight() { return this[S$.$getPropertyValue]("border-right"); } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6449, 26, "value"); this[S$.$setProperty]("border-right", value, ""); } get borderRightColor() { return this[S$.$getPropertyValue]("border-right-color"); } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6457, 31, "value"); this[S$.$setProperty]("border-right-color", value, ""); } get borderRightStyle() { return this[S$.$getPropertyValue]("border-right-style"); } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6465, 31, "value"); this[S$.$setProperty]("border-right-style", value, ""); } get borderRightWidth() { return this[S$.$getPropertyValue]("border-right-width"); } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6473, 31, "value"); this[S$.$setProperty]("border-right-width", value, ""); } get borderSpacing() { return this[S$.$getPropertyValue]("border-spacing"); } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6481, 28, "value"); this[S$.$setProperty]("border-spacing", value, ""); } get borderStart() { return this[S$.$getPropertyValue]("border-start"); } set borderStart(value) { - if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6489, 26, "value"); this[S$.$setProperty]("border-start", value, ""); } get borderStartColor() { return this[S$.$getPropertyValue]("border-start-color"); } set borderStartColor(value) { - if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6497, 31, "value"); this[S$.$setProperty]("border-start-color", value, ""); } get borderStartStyle() { return this[S$.$getPropertyValue]("border-start-style"); } set borderStartStyle(value) { - if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6505, 31, "value"); this[S$.$setProperty]("border-start-style", value, ""); } get borderStartWidth() { return this[S$.$getPropertyValue]("border-start-width"); } set borderStartWidth(value) { - if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6513, 31, "value"); this[S$.$setProperty]("border-start-width", value, ""); } get borderStyle() { return this[S$.$getPropertyValue]("border-style"); } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6521, 26, "value"); this[S$.$setProperty]("border-style", value, ""); } get borderTop() { return this[S$.$getPropertyValue]("border-top"); } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6529, 24, "value"); this[S$.$setProperty]("border-top", value, ""); } get borderTopColor() { return this[S$.$getPropertyValue]("border-top-color"); } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6537, 29, "value"); this[S$.$setProperty]("border-top-color", value, ""); } get borderTopLeftRadius() { return this[S$.$getPropertyValue]("border-top-left-radius"); } set borderTopLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6545, 34, "value"); this[S$.$setProperty]("border-top-left-radius", value, ""); } get borderTopRightRadius() { return this[S$.$getPropertyValue]("border-top-right-radius"); } set borderTopRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6554, 35, "value"); this[S$.$setProperty]("border-top-right-radius", value, ""); } get borderTopStyle() { return this[S$.$getPropertyValue]("border-top-style"); } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6562, 29, "value"); this[S$.$setProperty]("border-top-style", value, ""); } get borderTopWidth() { return this[S$.$getPropertyValue]("border-top-width"); } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6570, 29, "value"); this[S$.$setProperty]("border-top-width", value, ""); } get borderVerticalSpacing() { return this[S$.$getPropertyValue]("border-vertical-spacing"); } set borderVerticalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + if (value == null) dart.nullFailed(I[149], 6579, 36, "value"); this[S$.$setProperty]("border-vertical-spacing", value, ""); } get borderWidth() { return this[S$.$getPropertyValue]("border-width"); } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6587, 26, "value"); this[S$.$setProperty]("border-width", value, ""); } get bottom() { return this[S$.$getPropertyValue]("bottom"); } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6595, 21, "value"); this[S$.$setProperty]("bottom", value, ""); } get boxAlign() { return this[S$.$getPropertyValue]("box-align"); } set boxAlign(value) { - if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6603, 23, "value"); this[S$.$setProperty]("box-align", value, ""); } get boxDecorationBreak() { return this[S$.$getPropertyValue]("box-decoration-break"); } set boxDecorationBreak(value) { - if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6611, 33, "value"); this[S$.$setProperty]("box-decoration-break", value, ""); } get boxDirection() { return this[S$.$getPropertyValue]("box-direction"); } set boxDirection(value) { - if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6619, 27, "value"); this[S$.$setProperty]("box-direction", value, ""); } get boxFlex() { return this[S$.$getPropertyValue]("box-flex"); } set boxFlex(value) { - if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6627, 22, "value"); this[S$.$setProperty]("box-flex", value, ""); } get boxFlexGroup() { return this[S$.$getPropertyValue]("box-flex-group"); } set boxFlexGroup(value) { - if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6635, 27, "value"); this[S$.$setProperty]("box-flex-group", value, ""); } get boxLines() { return this[S$.$getPropertyValue]("box-lines"); } set boxLines(value) { - if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6643, 23, "value"); this[S$.$setProperty]("box-lines", value, ""); } get boxOrdinalGroup() { return this[S$.$getPropertyValue]("box-ordinal-group"); } set boxOrdinalGroup(value) { - if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6651, 30, "value"); this[S$.$setProperty]("box-ordinal-group", value, ""); } get boxOrient() { return this[S$.$getPropertyValue]("box-orient"); } set boxOrient(value) { - if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6659, 24, "value"); this[S$.$setProperty]("box-orient", value, ""); } get boxPack() { return this[S$.$getPropertyValue]("box-pack"); } set boxPack(value) { - if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6667, 22, "value"); this[S$.$setProperty]("box-pack", value, ""); } get boxReflect() { return this[S$.$getPropertyValue]("box-reflect"); } set boxReflect(value) { - if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6675, 25, "value"); this[S$.$setProperty]("box-reflect", value, ""); } get boxShadow() { return this[S$.$getPropertyValue]("box-shadow"); } set boxShadow(value) { - if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6683, 24, "value"); this[S$.$setProperty]("box-shadow", value, ""); } get boxSizing() { return this[S$.$getPropertyValue]("box-sizing"); } set boxSizing(value) { - if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6691, 24, "value"); this[S$.$setProperty]("box-sizing", value, ""); } get captionSide() { return this[S$.$getPropertyValue]("caption-side"); } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6699, 26, "value"); this[S$.$setProperty]("caption-side", value, ""); } get clear() { return this[S$.$getPropertyValue]("clear"); } set clear(value) { - if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6707, 20, "value"); this[S$.$setProperty]("clear", value, ""); } get clip() { return this[S$.$getPropertyValue]("clip"); } set clip(value) { - if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6715, 19, "value"); this[S$.$setProperty]("clip", value, ""); } get clipPath() { return this[S$.$getPropertyValue]("clip-path"); } set clipPath(value) { - if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6723, 23, "value"); this[S$.$setProperty]("clip-path", value, ""); } get color() { return this[S$.$getPropertyValue]("color"); } set color(value) { - if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6731, 20, "value"); this[S$.$setProperty]("color", value, ""); } get columnBreakAfter() { return this[S$.$getPropertyValue]("column-break-after"); } set columnBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6739, 31, "value"); this[S$.$setProperty]("column-break-after", value, ""); } get columnBreakBefore() { return this[S$.$getPropertyValue]("column-break-before"); } set columnBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6747, 32, "value"); this[S$.$setProperty]("column-break-before", value, ""); } get columnBreakInside() { return this[S$.$getPropertyValue]("column-break-inside"); } set columnBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6755, 32, "value"); this[S$.$setProperty]("column-break-inside", value, ""); } get columnCount() { return this[S$.$getPropertyValue]("column-count"); } set columnCount(value) { - if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6763, 26, "value"); this[S$.$setProperty]("column-count", value, ""); } get columnFill() { return this[S$.$getPropertyValue]("column-fill"); } set columnFill(value) { - if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6771, 25, "value"); this[S$.$setProperty]("column-fill", value, ""); } get columnGap() { return this[S$.$getPropertyValue]("column-gap"); } set columnGap(value) { - if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6779, 24, "value"); this[S$.$setProperty]("column-gap", value, ""); } get columnRule() { return this[S$.$getPropertyValue]("column-rule"); } set columnRule(value) { - if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6787, 25, "value"); this[S$.$setProperty]("column-rule", value, ""); } get columnRuleColor() { return this[S$.$getPropertyValue]("column-rule-color"); } set columnRuleColor(value) { - if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6795, 30, "value"); this[S$.$setProperty]("column-rule-color", value, ""); } get columnRuleStyle() { return this[S$.$getPropertyValue]("column-rule-style"); } set columnRuleStyle(value) { - if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6803, 30, "value"); this[S$.$setProperty]("column-rule-style", value, ""); } get columnRuleWidth() { return this[S$.$getPropertyValue]("column-rule-width"); } set columnRuleWidth(value) { - if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6811, 30, "value"); this[S$.$setProperty]("column-rule-width", value, ""); } get columnSpan() { return this[S$.$getPropertyValue]("column-span"); } set columnSpan(value) { - if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6819, 25, "value"); this[S$.$setProperty]("column-span", value, ""); } get columnWidth() { return this[S$.$getPropertyValue]("column-width"); } set columnWidth(value) { - if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6827, 26, "value"); this[S$.$setProperty]("column-width", value, ""); } get columns() { return this[S$.$getPropertyValue]("columns"); } set columns(value) { - if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6835, 22, "value"); this[S$.$setProperty]("columns", value, ""); } get content() { return this[S$.$getPropertyValue]("content"); } set content(value) { - if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6843, 22, "value"); this[S$.$setProperty]("content", value, ""); } get counterIncrement() { return this[S$.$getPropertyValue]("counter-increment"); } set counterIncrement(value) { - if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6851, 31, "value"); this[S$.$setProperty]("counter-increment", value, ""); } get counterReset() { return this[S$.$getPropertyValue]("counter-reset"); } set counterReset(value) { - if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6859, 27, "value"); this[S$.$setProperty]("counter-reset", value, ""); } get cursor() { return this[S$.$getPropertyValue]("cursor"); } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6867, 21, "value"); this[S$.$setProperty]("cursor", value, ""); } get direction() { return this[S$.$getPropertyValue]("direction"); } set direction(value) { - if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6875, 24, "value"); this[S$.$setProperty]("direction", value, ""); } get display() { return this[S$.$getPropertyValue]("display"); } set display(value) { - if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6883, 22, "value"); this[S$.$setProperty]("display", value, ""); } get emptyCells() { return this[S$.$getPropertyValue]("empty-cells"); } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6891, 25, "value"); this[S$.$setProperty]("empty-cells", value, ""); } get filter() { return this[S$.$getPropertyValue]("filter"); } set filter(value) { - if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6899, 21, "value"); this[S$.$setProperty]("filter", value, ""); } get flex() { return this[S$.$getPropertyValue]("flex"); } set flex(value) { - if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6907, 19, "value"); this[S$.$setProperty]("flex", value, ""); } get flexBasis() { return this[S$.$getPropertyValue]("flex-basis"); } set flexBasis(value) { - if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6915, 24, "value"); this[S$.$setProperty]("flex-basis", value, ""); } get flexDirection() { return this[S$.$getPropertyValue]("flex-direction"); } set flexDirection(value) { - if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6923, 28, "value"); this[S$.$setProperty]("flex-direction", value, ""); } get flexFlow() { return this[S$.$getPropertyValue]("flex-flow"); } set flexFlow(value) { - if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6931, 23, "value"); this[S$.$setProperty]("flex-flow", value, ""); } get flexGrow() { return this[S$.$getPropertyValue]("flex-grow"); } set flexGrow(value) { - if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6939, 23, "value"); this[S$.$setProperty]("flex-grow", value, ""); } get flexShrink() { return this[S$.$getPropertyValue]("flex-shrink"); } set flexShrink(value) { - if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6947, 25, "value"); this[S$.$setProperty]("flex-shrink", value, ""); } get flexWrap() { return this[S$.$getPropertyValue]("flex-wrap"); } set flexWrap(value) { - if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6955, 23, "value"); this[S$.$setProperty]("flex-wrap", value, ""); } get float() { return this[S$.$getPropertyValue]("float"); } set float(value) { - if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6963, 20, "value"); this[S$.$setProperty]("float", value, ""); } get font() { return this[S$.$getPropertyValue]("font"); } set font(value) { - if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6971, 19, "value"); this[S$.$setProperty]("font", value, ""); } get fontFamily() { return this[S$.$getPropertyValue]("font-family"); } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6979, 25, "value"); this[S$.$setProperty]("font-family", value, ""); } get fontFeatureSettings() { return this[S$.$getPropertyValue]("font-feature-settings"); } set fontFeatureSettings(value) { - if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6987, 34, "value"); this[S$.$setProperty]("font-feature-settings", value, ""); } get fontKerning() { return this[S$.$getPropertyValue]("font-kerning"); } set fontKerning(value) { - if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6995, 26, "value"); this[S$.$setProperty]("font-kerning", value, ""); } get fontSize() { return this[S$.$getPropertyValue]("font-size"); } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7003, 23, "value"); this[S$.$setProperty]("font-size", value, ""); } get fontSizeDelta() { return this[S$.$getPropertyValue]("font-size-delta"); } set fontSizeDelta(value) { - if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7011, 28, "value"); this[S$.$setProperty]("font-size-delta", value, ""); } get fontSmoothing() { return this[S$.$getPropertyValue]("font-smoothing"); } set fontSmoothing(value) { - if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7019, 28, "value"); this[S$.$setProperty]("font-smoothing", value, ""); } get fontStretch() { return this[S$.$getPropertyValue]("font-stretch"); } set fontStretch(value) { - if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7027, 26, "value"); this[S$.$setProperty]("font-stretch", value, ""); } get fontStyle() { return this[S$.$getPropertyValue]("font-style"); } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7035, 24, "value"); this[S$.$setProperty]("font-style", value, ""); } get fontVariant() { return this[S$.$getPropertyValue]("font-variant"); } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7043, 26, "value"); this[S$.$setProperty]("font-variant", value, ""); } get fontVariantLigatures() { return this[S$.$getPropertyValue]("font-variant-ligatures"); } set fontVariantLigatures(value) { - if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7051, 35, "value"); this[S$.$setProperty]("font-variant-ligatures", value, ""); } get fontWeight() { return this[S$.$getPropertyValue]("font-weight"); } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7059, 25, "value"); this[S$.$setProperty]("font-weight", value, ""); } + get gap() { + return this[S$.$getPropertyValue]("gap"); + } + set gap(value) { + if (value == null) dart.nullFailed(I[149], 7067, 18, "value"); + this[S$.$setProperty]("gap", value, ""); + } get grid() { return this[S$.$getPropertyValue]("grid"); } set grid(value) { - if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7075, 19, "value"); this[S$.$setProperty]("grid", value, ""); } get gridArea() { return this[S$.$getPropertyValue]("grid-area"); } set gridArea(value) { - if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7083, 23, "value"); this[S$.$setProperty]("grid-area", value, ""); } get gridAutoColumns() { return this[S$.$getPropertyValue]("grid-auto-columns"); } set gridAutoColumns(value) { - if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7091, 30, "value"); this[S$.$setProperty]("grid-auto-columns", value, ""); } get gridAutoFlow() { return this[S$.$getPropertyValue]("grid-auto-flow"); } set gridAutoFlow(value) { - if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7099, 27, "value"); this[S$.$setProperty]("grid-auto-flow", value, ""); } get gridAutoRows() { return this[S$.$getPropertyValue]("grid-auto-rows"); } set gridAutoRows(value) { - if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7107, 27, "value"); this[S$.$setProperty]("grid-auto-rows", value, ""); } get gridColumn() { return this[S$.$getPropertyValue]("grid-column"); } set gridColumn(value) { - if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7115, 25, "value"); this[S$.$setProperty]("grid-column", value, ""); } get gridColumnEnd() { return this[S$.$getPropertyValue]("grid-column-end"); } set gridColumnEnd(value) { - if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7123, 28, "value"); this[S$.$setProperty]("grid-column-end", value, ""); } get gridColumnStart() { return this[S$.$getPropertyValue]("grid-column-start"); } set gridColumnStart(value) { - if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7131, 30, "value"); this[S$.$setProperty]("grid-column-start", value, ""); } get gridRow() { return this[S$.$getPropertyValue]("grid-row"); } set gridRow(value) { - if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7139, 22, "value"); this[S$.$setProperty]("grid-row", value, ""); } get gridRowEnd() { return this[S$.$getPropertyValue]("grid-row-end"); } set gridRowEnd(value) { - if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7147, 25, "value"); this[S$.$setProperty]("grid-row-end", value, ""); } get gridRowStart() { return this[S$.$getPropertyValue]("grid-row-start"); } set gridRowStart(value) { - if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7155, 27, "value"); this[S$.$setProperty]("grid-row-start", value, ""); } get gridTemplate() { return this[S$.$getPropertyValue]("grid-template"); } set gridTemplate(value) { - if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7163, 27, "value"); this[S$.$setProperty]("grid-template", value, ""); } get gridTemplateAreas() { return this[S$.$getPropertyValue]("grid-template-areas"); } set gridTemplateAreas(value) { - if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7171, 32, "value"); this[S$.$setProperty]("grid-template-areas", value, ""); } get gridTemplateColumns() { return this[S$.$getPropertyValue]("grid-template-columns"); } set gridTemplateColumns(value) { - if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7179, 34, "value"); this[S$.$setProperty]("grid-template-columns", value, ""); } get gridTemplateRows() { return this[S$.$getPropertyValue]("grid-template-rows"); } set gridTemplateRows(value) { - if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7187, 31, "value"); this[S$.$setProperty]("grid-template-rows", value, ""); } get height() { return this[S$.$getPropertyValue]("height"); } set height(value) { - if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7195, 21, "value"); this[S$.$setProperty]("height", value, ""); } get highlight() { return this[S$.$getPropertyValue]("highlight"); } set highlight(value) { - if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7203, 24, "value"); this[S$.$setProperty]("highlight", value, ""); } get hyphenateCharacter() { return this[S$.$getPropertyValue]("hyphenate-character"); } set hyphenateCharacter(value) { - if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7211, 33, "value"); this[S$.$setProperty]("hyphenate-character", value, ""); } get imageRendering() { return this[S$.$getPropertyValue]("image-rendering"); } set imageRendering(value) { - if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7219, 29, "value"); this[S$.$setProperty]("image-rendering", value, ""); } get isolation() { return this[S$.$getPropertyValue]("isolation"); } set isolation(value) { - if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7227, 24, "value"); this[S$.$setProperty]("isolation", value, ""); } get justifyContent() { return this[S$.$getPropertyValue]("justify-content"); } set justifyContent(value) { - if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7235, 29, "value"); this[S$.$setProperty]("justify-content", value, ""); } get justifySelf() { return this[S$.$getPropertyValue]("justify-self"); } set justifySelf(value) { - if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7243, 26, "value"); this[S$.$setProperty]("justify-self", value, ""); } get left() { return this[S$.$getPropertyValue]("left"); } set left(value) { - if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7251, 19, "value"); this[S$.$setProperty]("left", value, ""); } get letterSpacing() { return this[S$.$getPropertyValue]("letter-spacing"); } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7259, 28, "value"); this[S$.$setProperty]("letter-spacing", value, ""); } get lineBoxContain() { return this[S$.$getPropertyValue]("line-box-contain"); } set lineBoxContain(value) { - if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7267, 29, "value"); this[S$.$setProperty]("line-box-contain", value, ""); } get lineBreak() { return this[S$.$getPropertyValue]("line-break"); } set lineBreak(value) { - if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7275, 24, "value"); this[S$.$setProperty]("line-break", value, ""); } get lineClamp() { return this[S$.$getPropertyValue]("line-clamp"); } set lineClamp(value) { - if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7283, 24, "value"); this[S$.$setProperty]("line-clamp", value, ""); } get lineHeight() { return this[S$.$getPropertyValue]("line-height"); } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7291, 25, "value"); this[S$.$setProperty]("line-height", value, ""); } get listStyle() { return this[S$.$getPropertyValue]("list-style"); } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7299, 24, "value"); this[S$.$setProperty]("list-style", value, ""); } get listStyleImage() { return this[S$.$getPropertyValue]("list-style-image"); } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7307, 29, "value"); this[S$.$setProperty]("list-style-image", value, ""); } get listStylePosition() { return this[S$.$getPropertyValue]("list-style-position"); } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7315, 32, "value"); this[S$.$setProperty]("list-style-position", value, ""); } get listStyleType() { return this[S$.$getPropertyValue]("list-style-type"); } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7323, 28, "value"); this[S$.$setProperty]("list-style-type", value, ""); } get locale() { return this[S$.$getPropertyValue]("locale"); } set locale(value) { - if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7331, 21, "value"); this[S$.$setProperty]("locale", value, ""); } get logicalHeight() { return this[S$.$getPropertyValue]("logical-height"); } set logicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7339, 28, "value"); this[S$.$setProperty]("logical-height", value, ""); } get logicalWidth() { return this[S$.$getPropertyValue]("logical-width"); } set logicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7347, 27, "value"); this[S$.$setProperty]("logical-width", value, ""); } get margin() { return this[S$.$getPropertyValue]("margin"); } set margin(value) { - if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7355, 21, "value"); this[S$.$setProperty]("margin", value, ""); } get marginAfter() { return this[S$.$getPropertyValue]("margin-after"); } set marginAfter(value) { - if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7363, 26, "value"); this[S$.$setProperty]("margin-after", value, ""); } get marginAfterCollapse() { return this[S$.$getPropertyValue]("margin-after-collapse"); } set marginAfterCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7371, 34, "value"); this[S$.$setProperty]("margin-after-collapse", value, ""); } get marginBefore() { return this[S$.$getPropertyValue]("margin-before"); } set marginBefore(value) { - if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7379, 27, "value"); this[S$.$setProperty]("margin-before", value, ""); } get marginBeforeCollapse() { return this[S$.$getPropertyValue]("margin-before-collapse"); } set marginBeforeCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7387, 35, "value"); this[S$.$setProperty]("margin-before-collapse", value, ""); } get marginBottom() { return this[S$.$getPropertyValue]("margin-bottom"); } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7395, 27, "value"); this[S$.$setProperty]("margin-bottom", value, ""); } get marginBottomCollapse() { return this[S$.$getPropertyValue]("margin-bottom-collapse"); } set marginBottomCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7403, 35, "value"); this[S$.$setProperty]("margin-bottom-collapse", value, ""); } get marginCollapse() { return this[S$.$getPropertyValue]("margin-collapse"); } set marginCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7411, 29, "value"); this[S$.$setProperty]("margin-collapse", value, ""); } get marginEnd() { return this[S$.$getPropertyValue]("margin-end"); } set marginEnd(value) { - if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7419, 24, "value"); this[S$.$setProperty]("margin-end", value, ""); } get marginLeft() { return this[S$.$getPropertyValue]("margin-left"); } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7427, 25, "value"); this[S$.$setProperty]("margin-left", value, ""); } get marginRight() { return this[S$.$getPropertyValue]("margin-right"); } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7435, 26, "value"); this[S$.$setProperty]("margin-right", value, ""); } get marginStart() { return this[S$.$getPropertyValue]("margin-start"); } set marginStart(value) { - if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7443, 26, "value"); this[S$.$setProperty]("margin-start", value, ""); } get marginTop() { return this[S$.$getPropertyValue]("margin-top"); } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7451, 24, "value"); this[S$.$setProperty]("margin-top", value, ""); } get marginTopCollapse() { return this[S$.$getPropertyValue]("margin-top-collapse"); } set marginTopCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7459, 32, "value"); this[S$.$setProperty]("margin-top-collapse", value, ""); } get mask() { return this[S$.$getPropertyValue]("mask"); } set mask(value) { - if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7467, 19, "value"); this[S$.$setProperty]("mask", value, ""); } get maskBoxImage() { return this[S$.$getPropertyValue]("mask-box-image"); } set maskBoxImage(value) { - if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7475, 27, "value"); this[S$.$setProperty]("mask-box-image", value, ""); } get maskBoxImageOutset() { return this[S$.$getPropertyValue]("mask-box-image-outset"); } set maskBoxImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7483, 33, "value"); this[S$.$setProperty]("mask-box-image-outset", value, ""); } get maskBoxImageRepeat() { return this[S$.$getPropertyValue]("mask-box-image-repeat"); } set maskBoxImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7491, 33, "value"); this[S$.$setProperty]("mask-box-image-repeat", value, ""); } get maskBoxImageSlice() { return this[S$.$getPropertyValue]("mask-box-image-slice"); } set maskBoxImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7499, 32, "value"); this[S$.$setProperty]("mask-box-image-slice", value, ""); } get maskBoxImageSource() { return this[S$.$getPropertyValue]("mask-box-image-source"); } set maskBoxImageSource(value) { - if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7507, 33, "value"); this[S$.$setProperty]("mask-box-image-source", value, ""); } get maskBoxImageWidth() { return this[S$.$getPropertyValue]("mask-box-image-width"); } set maskBoxImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7515, 32, "value"); this[S$.$setProperty]("mask-box-image-width", value, ""); } get maskClip() { return this[S$.$getPropertyValue]("mask-clip"); } set maskClip(value) { - if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7523, 23, "value"); this[S$.$setProperty]("mask-clip", value, ""); } get maskComposite() { return this[S$.$getPropertyValue]("mask-composite"); } set maskComposite(value) { - if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7531, 28, "value"); this[S$.$setProperty]("mask-composite", value, ""); } get maskImage() { return this[S$.$getPropertyValue]("mask-image"); } set maskImage(value) { - if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7539, 24, "value"); this[S$.$setProperty]("mask-image", value, ""); } get maskOrigin() { return this[S$.$getPropertyValue]("mask-origin"); } set maskOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7547, 25, "value"); this[S$.$setProperty]("mask-origin", value, ""); } get maskPosition() { return this[S$.$getPropertyValue]("mask-position"); } set maskPosition(value) { - if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7555, 27, "value"); this[S$.$setProperty]("mask-position", value, ""); } get maskPositionX() { return this[S$.$getPropertyValue]("mask-position-x"); } set maskPositionX(value) { - if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7563, 28, "value"); this[S$.$setProperty]("mask-position-x", value, ""); } get maskPositionY() { return this[S$.$getPropertyValue]("mask-position-y"); } set maskPositionY(value) { - if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7571, 28, "value"); this[S$.$setProperty]("mask-position-y", value, ""); } get maskRepeat() { return this[S$.$getPropertyValue]("mask-repeat"); } set maskRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7579, 25, "value"); this[S$.$setProperty]("mask-repeat", value, ""); } get maskRepeatX() { return this[S$.$getPropertyValue]("mask-repeat-x"); } set maskRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7587, 26, "value"); this[S$.$setProperty]("mask-repeat-x", value, ""); } get maskRepeatY() { return this[S$.$getPropertyValue]("mask-repeat-y"); } set maskRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7595, 26, "value"); this[S$.$setProperty]("mask-repeat-y", value, ""); } get maskSize() { return this[S$.$getPropertyValue]("mask-size"); } set maskSize(value) { - if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7603, 23, "value"); this[S$.$setProperty]("mask-size", value, ""); } get maskSourceType() { return this[S$.$getPropertyValue]("mask-source-type"); } set maskSourceType(value) { - if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7611, 29, "value"); this[S$.$setProperty]("mask-source-type", value, ""); } get maxHeight() { return this[S$.$getPropertyValue]("max-height"); } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7619, 24, "value"); this[S$.$setProperty]("max-height", value, ""); } get maxLogicalHeight() { return this[S$.$getPropertyValue]("max-logical-height"); } set maxLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7627, 31, "value"); this[S$.$setProperty]("max-logical-height", value, ""); } get maxLogicalWidth() { return this[S$.$getPropertyValue]("max-logical-width"); } set maxLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7635, 30, "value"); this[S$.$setProperty]("max-logical-width", value, ""); } get maxWidth() { return this[S$.$getPropertyValue]("max-width"); } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7643, 23, "value"); this[S$.$setProperty]("max-width", value, ""); } get maxZoom() { return this[S$.$getPropertyValue]("max-zoom"); } set maxZoom(value) { - if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7651, 22, "value"); this[S$.$setProperty]("max-zoom", value, ""); } get minHeight() { return this[S$.$getPropertyValue]("min-height"); } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7659, 24, "value"); this[S$.$setProperty]("min-height", value, ""); } get minLogicalHeight() { return this[S$.$getPropertyValue]("min-logical-height"); } set minLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7667, 31, "value"); this[S$.$setProperty]("min-logical-height", value, ""); } get minLogicalWidth() { return this[S$.$getPropertyValue]("min-logical-width"); } set minLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7675, 30, "value"); this[S$.$setProperty]("min-logical-width", value, ""); } get minWidth() { return this[S$.$getPropertyValue]("min-width"); } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7683, 23, "value"); this[S$.$setProperty]("min-width", value, ""); } get minZoom() { return this[S$.$getPropertyValue]("min-zoom"); } set minZoom(value) { - if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7691, 22, "value"); this[S$.$setProperty]("min-zoom", value, ""); } get mixBlendMode() { return this[S$.$getPropertyValue]("mix-blend-mode"); } set mixBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7699, 27, "value"); this[S$.$setProperty]("mix-blend-mode", value, ""); } get objectFit() { return this[S$.$getPropertyValue]("object-fit"); } set objectFit(value) { - if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7707, 24, "value"); this[S$.$setProperty]("object-fit", value, ""); } get objectPosition() { return this[S$.$getPropertyValue]("object-position"); } set objectPosition(value) { - if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7715, 29, "value"); this[S$.$setProperty]("object-position", value, ""); } get opacity() { return this[S$.$getPropertyValue]("opacity"); } set opacity(value) { - if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7723, 22, "value"); this[S$.$setProperty]("opacity", value, ""); } get order() { return this[S$.$getPropertyValue]("order"); } set order(value) { - if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + if (value == null) dart.nullFailed(I[149], 7731, 20, "value"); this[S$.$setProperty]("order", value, ""); } get orientation() { return this[S$.$getPropertyValue]("orientation"); } set orientation(value) { - if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7739, 26, "value"); this[S$.$setProperty]("orientation", value, ""); } get orphans() { return this[S$.$getPropertyValue]("orphans"); } set orphans(value) { - if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7747, 22, "value"); this[S$.$setProperty]("orphans", value, ""); } get outline() { return this[S$.$getPropertyValue]("outline"); } set outline(value) { - if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7755, 22, "value"); this[S$.$setProperty]("outline", value, ""); } get outlineColor() { return this[S$.$getPropertyValue]("outline-color"); } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7763, 27, "value"); this[S$.$setProperty]("outline-color", value, ""); } get outlineOffset() { return this[S$.$getPropertyValue]("outline-offset"); } set outlineOffset(value) { - if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7771, 28, "value"); this[S$.$setProperty]("outline-offset", value, ""); } get outlineStyle() { return this[S$.$getPropertyValue]("outline-style"); } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7779, 27, "value"); this[S$.$setProperty]("outline-style", value, ""); } get outlineWidth() { return this[S$.$getPropertyValue]("outline-width"); } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7787, 27, "value"); this[S$.$setProperty]("outline-width", value, ""); } get overflow() { return this[S$.$getPropertyValue]("overflow"); } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7795, 23, "value"); this[S$.$setProperty]("overflow", value, ""); } get overflowWrap() { return this[S$.$getPropertyValue]("overflow-wrap"); } set overflowWrap(value) { - if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7803, 27, "value"); this[S$.$setProperty]("overflow-wrap", value, ""); } get overflowX() { return this[S$.$getPropertyValue]("overflow-x"); } set overflowX(value) { - if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7811, 24, "value"); this[S$.$setProperty]("overflow-x", value, ""); } get overflowY() { return this[S$.$getPropertyValue]("overflow-y"); } set overflowY(value) { - if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7819, 24, "value"); this[S$.$setProperty]("overflow-y", value, ""); } get padding() { return this[S$.$getPropertyValue]("padding"); } set padding(value) { - if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7827, 22, "value"); this[S$.$setProperty]("padding", value, ""); } get paddingAfter() { return this[S$.$getPropertyValue]("padding-after"); } set paddingAfter(value) { - if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7835, 27, "value"); this[S$.$setProperty]("padding-after", value, ""); } get paddingBefore() { return this[S$.$getPropertyValue]("padding-before"); } set paddingBefore(value) { - if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7843, 28, "value"); this[S$.$setProperty]("padding-before", value, ""); } get paddingBottom() { return this[S$.$getPropertyValue]("padding-bottom"); } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7851, 28, "value"); this[S$.$setProperty]("padding-bottom", value, ""); } get paddingEnd() { return this[S$.$getPropertyValue]("padding-end"); } set paddingEnd(value) { - if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7859, 25, "value"); this[S$.$setProperty]("padding-end", value, ""); } get paddingLeft() { return this[S$.$getPropertyValue]("padding-left"); } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7867, 26, "value"); this[S$.$setProperty]("padding-left", value, ""); } get paddingRight() { return this[S$.$getPropertyValue]("padding-right"); } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7875, 27, "value"); this[S$.$setProperty]("padding-right", value, ""); } get paddingStart() { return this[S$.$getPropertyValue]("padding-start"); } set paddingStart(value) { - if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7883, 27, "value"); this[S$.$setProperty]("padding-start", value, ""); } get paddingTop() { return this[S$.$getPropertyValue]("padding-top"); } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7891, 25, "value"); this[S$.$setProperty]("padding-top", value, ""); } get page() { return this[S$.$getPropertyValue]("page"); } set page(value) { - if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7899, 19, "value"); this[S$.$setProperty]("page", value, ""); } get pageBreakAfter() { return this[S$.$getPropertyValue]("page-break-after"); } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7907, 29, "value"); this[S$.$setProperty]("page-break-after", value, ""); } get pageBreakBefore() { return this[S$.$getPropertyValue]("page-break-before"); } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7915, 30, "value"); this[S$.$setProperty]("page-break-before", value, ""); } get pageBreakInside() { return this[S$.$getPropertyValue]("page-break-inside"); } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7923, 30, "value"); this[S$.$setProperty]("page-break-inside", value, ""); } get perspective() { return this[S$.$getPropertyValue]("perspective"); } set perspective(value) { - if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7931, 26, "value"); this[S$.$setProperty]("perspective", value, ""); } get perspectiveOrigin() { return this[S$.$getPropertyValue]("perspective-origin"); } set perspectiveOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7939, 32, "value"); this[S$.$setProperty]("perspective-origin", value, ""); } get perspectiveOriginX() { return this[S$.$getPropertyValue]("perspective-origin-x"); } set perspectiveOriginX(value) { - if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7947, 33, "value"); this[S$.$setProperty]("perspective-origin-x", value, ""); } get perspectiveOriginY() { return this[S$.$getPropertyValue]("perspective-origin-y"); } set perspectiveOriginY(value) { - if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7955, 33, "value"); this[S$.$setProperty]("perspective-origin-y", value, ""); } get pointerEvents() { return this[S$.$getPropertyValue]("pointer-events"); } set pointerEvents(value) { - if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7963, 28, "value"); this[S$.$setProperty]("pointer-events", value, ""); } get position() { return this[S$.$getPropertyValue]("position"); } set position(value) { - if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7971, 23, "value"); this[S$.$setProperty]("position", value, ""); } get printColorAdjust() { return this[S$.$getPropertyValue]("print-color-adjust"); } set printColorAdjust(value) { - if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7979, 31, "value"); this[S$.$setProperty]("print-color-adjust", value, ""); } get quotes() { return this[S$.$getPropertyValue]("quotes"); } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7987, 21, "value"); this[S$.$setProperty]("quotes", value, ""); } get resize() { return this[S$.$getPropertyValue]("resize"); } set resize(value) { - if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7995, 21, "value"); this[S$.$setProperty]("resize", value, ""); } get right() { return this[S$.$getPropertyValue]("right"); } set right(value) { - if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8003, 20, "value"); this[S$.$setProperty]("right", value, ""); } + get rowGap() { + return this[S$.$getPropertyValue]("row-gap"); + } + set rowGap(value) { + if (value == null) dart.nullFailed(I[149], 8011, 21, "value"); + this[S$.$setProperty]("row-gap", value, ""); + } get rtlOrdering() { return this[S$.$getPropertyValue]("rtl-ordering"); } set rtlOrdering(value) { - if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8019, 26, "value"); this[S$.$setProperty]("rtl-ordering", value, ""); } get rubyPosition() { return this[S$.$getPropertyValue]("ruby-position"); } set rubyPosition(value) { - if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8027, 27, "value"); this[S$.$setProperty]("ruby-position", value, ""); } get scrollBehavior() { return this[S$.$getPropertyValue]("scroll-behavior"); } set scrollBehavior(value) { - if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8035, 29, "value"); this[S$.$setProperty]("scroll-behavior", value, ""); } get shapeImageThreshold() { return this[S$.$getPropertyValue]("shape-image-threshold"); } set shapeImageThreshold(value) { - if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8043, 34, "value"); this[S$.$setProperty]("shape-image-threshold", value, ""); } get shapeMargin() { return this[S$.$getPropertyValue]("shape-margin"); } set shapeMargin(value) { - if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8051, 26, "value"); this[S$.$setProperty]("shape-margin", value, ""); } get shapeOutside() { return this[S$.$getPropertyValue]("shape-outside"); } set shapeOutside(value) { - if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8059, 27, "value"); this[S$.$setProperty]("shape-outside", value, ""); } get size() { return this[S$.$getPropertyValue]("size"); } set size(value) { - if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8067, 19, "value"); this[S$.$setProperty]("size", value, ""); } get speak() { return this[S$.$getPropertyValue]("speak"); } set speak(value) { - if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8075, 20, "value"); this[S$.$setProperty]("speak", value, ""); } get src() { return this[S$.$getPropertyValue]("src"); } set src(value) { - if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8083, 18, "value"); this[S$.$setProperty]("src", value, ""); } get tabSize() { return this[S$.$getPropertyValue]("tab-size"); } set tabSize(value) { - if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + if (value == null) dart.nullFailed(I[149], 8091, 22, "value"); this[S$.$setProperty]("tab-size", value, ""); } get tableLayout() { return this[S$.$getPropertyValue]("table-layout"); } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8099, 26, "value"); this[S$.$setProperty]("table-layout", value, ""); } get tapHighlightColor() { return this[S$.$getPropertyValue]("tap-highlight-color"); } set tapHighlightColor(value) { - if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8107, 32, "value"); this[S$.$setProperty]("tap-highlight-color", value, ""); } get textAlign() { return this[S$.$getPropertyValue]("text-align"); } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8115, 24, "value"); this[S$.$setProperty]("text-align", value, ""); } get textAlignLast() { return this[S$.$getPropertyValue]("text-align-last"); } set textAlignLast(value) { - if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8123, 28, "value"); this[S$.$setProperty]("text-align-last", value, ""); } get textCombine() { return this[S$.$getPropertyValue]("text-combine"); } set textCombine(value) { - if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8131, 26, "value"); this[S$.$setProperty]("text-combine", value, ""); } get textDecoration() { return this[S$.$getPropertyValue]("text-decoration"); } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8139, 29, "value"); this[S$.$setProperty]("text-decoration", value, ""); } get textDecorationColor() { return this[S$.$getPropertyValue]("text-decoration-color"); } set textDecorationColor(value) { - if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8147, 34, "value"); this[S$.$setProperty]("text-decoration-color", value, ""); } get textDecorationLine() { return this[S$.$getPropertyValue]("text-decoration-line"); } set textDecorationLine(value) { - if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8155, 33, "value"); this[S$.$setProperty]("text-decoration-line", value, ""); } get textDecorationStyle() { return this[S$.$getPropertyValue]("text-decoration-style"); } set textDecorationStyle(value) { - if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8163, 34, "value"); this[S$.$setProperty]("text-decoration-style", value, ""); } get textDecorationsInEffect() { return this[S$.$getPropertyValue]("text-decorations-in-effect"); } set textDecorationsInEffect(value) { - if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + if (value == null) dart.nullFailed(I[149], 8172, 38, "value"); this[S$.$setProperty]("text-decorations-in-effect", value, ""); } get textEmphasis() { return this[S$.$getPropertyValue]("text-emphasis"); } set textEmphasis(value) { - if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8180, 27, "value"); this[S$.$setProperty]("text-emphasis", value, ""); } get textEmphasisColor() { return this[S$.$getPropertyValue]("text-emphasis-color"); } set textEmphasisColor(value) { - if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8188, 32, "value"); this[S$.$setProperty]("text-emphasis-color", value, ""); } get textEmphasisPosition() { return this[S$.$getPropertyValue]("text-emphasis-position"); } set textEmphasisPosition(value) { - if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8196, 35, "value"); this[S$.$setProperty]("text-emphasis-position", value, ""); } get textEmphasisStyle() { return this[S$.$getPropertyValue]("text-emphasis-style"); } set textEmphasisStyle(value) { - if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8204, 32, "value"); this[S$.$setProperty]("text-emphasis-style", value, ""); } get textFillColor() { return this[S$.$getPropertyValue]("text-fill-color"); } set textFillColor(value) { - if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8212, 28, "value"); this[S$.$setProperty]("text-fill-color", value, ""); } get textIndent() { return this[S$.$getPropertyValue]("text-indent"); } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8220, 25, "value"); this[S$.$setProperty]("text-indent", value, ""); } get textJustify() { return this[S$.$getPropertyValue]("text-justify"); } set textJustify(value) { - if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8228, 26, "value"); this[S$.$setProperty]("text-justify", value, ""); } get textLineThroughColor() { return this[S$.$getPropertyValue]("text-line-through-color"); } set textLineThroughColor(value) { - if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8237, 35, "value"); this[S$.$setProperty]("text-line-through-color", value, ""); } get textLineThroughMode() { return this[S$.$getPropertyValue]("text-line-through-mode"); } set textLineThroughMode(value) { - if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8245, 34, "value"); this[S$.$setProperty]("text-line-through-mode", value, ""); } get textLineThroughStyle() { return this[S$.$getPropertyValue]("text-line-through-style"); } set textLineThroughStyle(value) { - if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8254, 35, "value"); this[S$.$setProperty]("text-line-through-style", value, ""); } get textLineThroughWidth() { return this[S$.$getPropertyValue]("text-line-through-width"); } set textLineThroughWidth(value) { - if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8263, 35, "value"); this[S$.$setProperty]("text-line-through-width", value, ""); } get textOrientation() { return this[S$.$getPropertyValue]("text-orientation"); } set textOrientation(value) { - if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8271, 30, "value"); this[S$.$setProperty]("text-orientation", value, ""); } get textOverflow() { return this[S$.$getPropertyValue]("text-overflow"); } set textOverflow(value) { - if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8279, 27, "value"); this[S$.$setProperty]("text-overflow", value, ""); } get textOverlineColor() { return this[S$.$getPropertyValue]("text-overline-color"); } set textOverlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8287, 32, "value"); this[S$.$setProperty]("text-overline-color", value, ""); } get textOverlineMode() { return this[S$.$getPropertyValue]("text-overline-mode"); } set textOverlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8295, 31, "value"); this[S$.$setProperty]("text-overline-mode", value, ""); } get textOverlineStyle() { return this[S$.$getPropertyValue]("text-overline-style"); } set textOverlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8303, 32, "value"); this[S$.$setProperty]("text-overline-style", value, ""); } get textOverlineWidth() { return this[S$.$getPropertyValue]("text-overline-width"); } set textOverlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8311, 32, "value"); this[S$.$setProperty]("text-overline-width", value, ""); } get textRendering() { return this[S$.$getPropertyValue]("text-rendering"); } set textRendering(value) { - if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8319, 28, "value"); this[S$.$setProperty]("text-rendering", value, ""); } get textSecurity() { return this[S$.$getPropertyValue]("text-security"); } set textSecurity(value) { - if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8327, 27, "value"); this[S$.$setProperty]("text-security", value, ""); } get textShadow() { return this[S$.$getPropertyValue]("text-shadow"); } set textShadow(value) { - if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8335, 25, "value"); this[S$.$setProperty]("text-shadow", value, ""); } get textStroke() { return this[S$.$getPropertyValue]("text-stroke"); } set textStroke(value) { - if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8343, 25, "value"); this[S$.$setProperty]("text-stroke", value, ""); } get textStrokeColor() { return this[S$.$getPropertyValue]("text-stroke-color"); } set textStrokeColor(value) { - if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8351, 30, "value"); this[S$.$setProperty]("text-stroke-color", value, ""); } get textStrokeWidth() { return this[S$.$getPropertyValue]("text-stroke-width"); } set textStrokeWidth(value) { - if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8359, 30, "value"); this[S$.$setProperty]("text-stroke-width", value, ""); } get textTransform() { return this[S$.$getPropertyValue]("text-transform"); } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8367, 28, "value"); this[S$.$setProperty]("text-transform", value, ""); } get textUnderlineColor() { return this[S$.$getPropertyValue]("text-underline-color"); } set textUnderlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8375, 33, "value"); this[S$.$setProperty]("text-underline-color", value, ""); } get textUnderlineMode() { return this[S$.$getPropertyValue]("text-underline-mode"); } set textUnderlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8383, 32, "value"); this[S$.$setProperty]("text-underline-mode", value, ""); } get textUnderlinePosition() { return this[S$.$getPropertyValue]("text-underline-position"); } set textUnderlinePosition(value) { - if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + if (value == null) dart.nullFailed(I[149], 8392, 36, "value"); this[S$.$setProperty]("text-underline-position", value, ""); } get textUnderlineStyle() { return this[S$.$getPropertyValue]("text-underline-style"); } set textUnderlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8400, 33, "value"); this[S$.$setProperty]("text-underline-style", value, ""); } get textUnderlineWidth() { return this[S$.$getPropertyValue]("text-underline-width"); } set textUnderlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8408, 33, "value"); this[S$.$setProperty]("text-underline-width", value, ""); } get top() { return this[S$.$getPropertyValue]("top"); } set top(value) { - if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8416, 18, "value"); this[S$.$setProperty]("top", value, ""); } get touchAction() { return this[S$.$getPropertyValue]("touch-action"); } set touchAction(value) { - if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8424, 26, "value"); this[S$.$setProperty]("touch-action", value, ""); } get touchActionDelay() { return this[S$.$getPropertyValue]("touch-action-delay"); } set touchActionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8432, 31, "value"); this[S$.$setProperty]("touch-action-delay", value, ""); } get transform() { return this[S$.$getPropertyValue]("transform"); } set transform(value) { - if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8440, 24, "value"); this[S$.$setProperty]("transform", value, ""); } get transformOrigin() { return this[S$.$getPropertyValue]("transform-origin"); } set transformOrigin(value) { - if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8448, 30, "value"); this[S$.$setProperty]("transform-origin", value, ""); } get transformOriginX() { return this[S$.$getPropertyValue]("transform-origin-x"); } set transformOriginX(value) { - if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8456, 31, "value"); this[S$.$setProperty]("transform-origin-x", value, ""); } get transformOriginY() { return this[S$.$getPropertyValue]("transform-origin-y"); } set transformOriginY(value) { - if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8464, 31, "value"); this[S$.$setProperty]("transform-origin-y", value, ""); } get transformOriginZ() { return this[S$.$getPropertyValue]("transform-origin-z"); } set transformOriginZ(value) { - if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8472, 31, "value"); this[S$.$setProperty]("transform-origin-z", value, ""); } get transformStyle() { return this[S$.$getPropertyValue]("transform-style"); } set transformStyle(value) { - if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8480, 29, "value"); this[S$.$setProperty]("transform-style", value, ""); } get transition() { return this[S$.$getPropertyValue]("transition"); } set transition(value) { - if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8496, 25, "value"); this[S$.$setProperty]("transition", value, ""); } get transitionDelay() { return this[S$.$getPropertyValue]("transition-delay"); } set transitionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8504, 30, "value"); this[S$.$setProperty]("transition-delay", value, ""); } get transitionDuration() { return this[S$.$getPropertyValue]("transition-duration"); } set transitionDuration(value) { - if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8512, 33, "value"); this[S$.$setProperty]("transition-duration", value, ""); } get transitionProperty() { return this[S$.$getPropertyValue]("transition-property"); } set transitionProperty(value) { - if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8520, 33, "value"); this[S$.$setProperty]("transition-property", value, ""); } get transitionTimingFunction() { return this[S$.$getPropertyValue]("transition-timing-function"); } set transitionTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + if (value == null) dart.nullFailed(I[149], 8529, 39, "value"); this[S$.$setProperty]("transition-timing-function", value, ""); } get unicodeBidi() { return this[S$.$getPropertyValue]("unicode-bidi"); } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8537, 26, "value"); this[S$.$setProperty]("unicode-bidi", value, ""); } get unicodeRange() { return this[S$.$getPropertyValue]("unicode-range"); } set unicodeRange(value) { - if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8545, 27, "value"); this[S$.$setProperty]("unicode-range", value, ""); } get userDrag() { return this[S$.$getPropertyValue]("user-drag"); } set userDrag(value) { - if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8553, 23, "value"); this[S$.$setProperty]("user-drag", value, ""); } get userModify() { return this[S$.$getPropertyValue]("user-modify"); } set userModify(value) { - if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8561, 25, "value"); this[S$.$setProperty]("user-modify", value, ""); } get userSelect() { return this[S$.$getPropertyValue]("user-select"); } set userSelect(value) { - if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8569, 25, "value"); this[S$.$setProperty]("user-select", value, ""); } get userZoom() { return this[S$.$getPropertyValue]("user-zoom"); } set userZoom(value) { - if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8577, 23, "value"); this[S$.$setProperty]("user-zoom", value, ""); } get verticalAlign() { return this[S$.$getPropertyValue]("vertical-align"); } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8585, 28, "value"); this[S$.$setProperty]("vertical-align", value, ""); } get visibility() { return this[S$.$getPropertyValue]("visibility"); } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8593, 25, "value"); this[S$.$setProperty]("visibility", value, ""); } get whiteSpace() { return this[S$.$getPropertyValue]("white-space"); } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8601, 25, "value"); this[S$.$setProperty]("white-space", value, ""); } get widows() { return this[S$.$getPropertyValue]("widows"); } set widows(value) { - if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8609, 21, "value"); this[S$.$setProperty]("widows", value, ""); } get width() { return this[S$.$getPropertyValue]("width"); } set width(value) { - if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8617, 20, "value"); this[S$.$setProperty]("width", value, ""); } get willChange() { return this[S$.$getPropertyValue]("will-change"); } set willChange(value) { - if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8625, 25, "value"); this[S$.$setProperty]("will-change", value, ""); } get wordBreak() { return this[S$.$getPropertyValue]("word-break"); } set wordBreak(value) { - if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8633, 24, "value"); this[S$.$setProperty]("word-break", value, ""); } get wordSpacing() { return this[S$.$getPropertyValue]("word-spacing"); } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8641, 26, "value"); this[S$.$setProperty]("word-spacing", value, ""); } get wordWrap() { return this[S$.$getPropertyValue]("word-wrap"); } set wordWrap(value) { - if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8649, 23, "value"); this[S$.$setProperty]("word-wrap", value, ""); } get wrapFlow() { return this[S$.$getPropertyValue]("wrap-flow"); } set wrapFlow(value) { - if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8657, 23, "value"); this[S$.$setProperty]("wrap-flow", value, ""); } get wrapThrough() { return this[S$.$getPropertyValue]("wrap-through"); } set wrapThrough(value) { - if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8665, 26, "value"); this[S$.$setProperty]("wrap-through", value, ""); } get writingMode() { return this[S$.$getPropertyValue]("writing-mode"); } set writingMode(value) { - if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8673, 26, "value"); this[S$.$setProperty]("writing-mode", value, ""); } get zIndex() { return this[S$.$getPropertyValue]("z-index"); } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8681, 21, "value"); this[S$.$setProperty]("z-index", value, ""); } get zoom() { return this[S$.$getPropertyValue]("zoom"); } set zoom(value) { - if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8689, 19, "value"); this[S$.$setProperty]("zoom", value, ""); } }; @@ -71060,13 +77362,13 @@ define([], (function load__dart_sdk() { borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71092,21 +77394,21 @@ define([], (function load__dart_sdk() { borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71255,6 +77557,8 @@ define([], (function load__dart_sdk() { [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -71489,6 +77793,8 @@ define([], (function load__dart_sdk() { [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -71747,13 +78053,13 @@ define([], (function load__dart_sdk() { borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71779,21 +78085,21 @@ define([], (function load__dart_sdk() { borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71942,6 +78248,8 @@ define([], (function load__dart_sdk() { [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -72176,6 +78484,8 @@ define([], (function load__dart_sdk() { [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -72343,7 +78653,7 @@ define([], (function load__dart_sdk() { zoom: core.String, [S$0.$zoom]: core.String })); - dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); + dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'alignContent', 'alignItems', @@ -72487,6 +78797,7 @@ define([], (function load__dart_sdk() { 'fontVariant', 'fontVariantLigatures', 'fontWeight', + 'gap', 'grid', 'gridArea', 'gridAutoColumns', @@ -72604,6 +78915,7 @@ define([], (function load__dart_sdk() { 'quotes', 'resize', 'right', + 'rowGap', 'rtlOrdering', 'rubyPosition', 'scrollBehavior', @@ -72688,43 +79000,50 @@ define([], (function load__dart_sdk() { 'zIndex', 'zoom' ]); - const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; - (Interceptor_CssStyleDeclarationBase$36.new = function() { - Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); - }).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; - dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); - html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { + const JavaScriptObject_CssStyleDeclarationBase$36 = class JavaScriptObject_CssStyleDeclarationBase extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_CssStyleDeclarationBase$36.new = function() { + JavaScriptObject_CssStyleDeclarationBase$36.__proto__.new.call(this); + }).prototype = JavaScriptObject_CssStyleDeclarationBase$36.prototype; + dart.applyMixin(JavaScriptObject_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); + html$.CssStyleDeclaration = class CssStyleDeclaration extends JavaScriptObject_CssStyleDeclarationBase$36 { static new() { return html$.CssStyleDeclaration.css(""); } + static ['_#new#tearOff']() { + return html$.CssStyleDeclaration.new(); + } static css(css) { - if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); let style = html$.DivElement.new().style; style.cssText = css; return style; } + static ['_#css#tearOff'](css) { + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); + return html$.CssStyleDeclaration.css(css); + } [S$.$getPropertyValue](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3978, 34, "propertyName"); return this[S$._getPropertyValueHelper](propertyName); } [S$._getPropertyValueHelper](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3982, 41, "propertyName"); return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); } [S$.$supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3994, 32, "propertyName"); return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); } [S$._supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3999, 33, "propertyName"); return propertyName in this; } [S$.$setProperty](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4003, 27, "propertyName"); return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); } [S$._browserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4008, 38, "propertyName"); let name = html$.CssStyleDeclaration._readCache(propertyName); if (typeof name == 'string') return name; name = this[S$._supportedBrowserPropertyName](propertyName); @@ -72732,7 +79051,7 @@ define([], (function load__dart_sdk() { return name; } [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { return propertyName; } @@ -72743,23 +79062,23 @@ define([], (function load__dart_sdk() { return propertyName; } static _readCache(key) { - if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + if (key == null) dart.nullFailed(I[149], 4029, 36, "key"); return html$.CssStyleDeclaration._propertyCache[key]; } static _writeCache(key, value) { - if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); - if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + if (key == null) dart.nullFailed(I[149], 4031, 34, "key"); + if (value == null) dart.nullFailed(I[149], 4031, 46, "value"); html$.CssStyleDeclaration._propertyCache[key] = value; } static _camelCase(hyphenated) { - if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + if (hyphenated == null) dart.nullFailed(I[149], 4035, 35, "hyphenated"); let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { return letter.toUpperCase(); }); } [S$._setPropertyHelper](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4044, 34, "propertyName"); if (value == null) value = ""; if (priority == null) priority = ""; this.setProperty(propertyName, value, priority); @@ -72767,6 +79086,9 @@ define([], (function load__dart_sdk() { static get supportsTransitions() { return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); } + static ['_#_#tearOff']() { + return html$.CssStyleDeclaration.__(); + } get [S$.$cssFloat]() { return this.cssFloat; } @@ -72905,10 +79227,10 @@ define([], (function load__dart_sdk() { set [S$._borderBottomColor](value) { this.borderBottomColor = value; } - get [S$.$borderBottomStyle]() { + get [S$0.$borderBottomStyle]() { return this[S$._borderBottomStyle]; } - set [S$.$borderBottomStyle](value) { + set [S$0.$borderBottomStyle](value) { this[S$._borderBottomStyle] = value == null ? "" : value; } get [S$._borderBottomStyle]() { @@ -72917,136 +79239,136 @@ define([], (function load__dart_sdk() { set [S$._borderBottomStyle](value) { this.borderBottomStyle = value; } - get [S$.$borderBottomWidth]() { - return this[S$._borderBottomWidth]; + get [S$0.$borderBottomWidth]() { + return this[S$0._borderBottomWidth]; } - set [S$.$borderBottomWidth](value) { - this[S$._borderBottomWidth] = value == null ? "" : value; + set [S$0.$borderBottomWidth](value) { + this[S$0._borderBottomWidth] = value == null ? "" : value; } - get [S$._borderBottomWidth]() { + get [S$0._borderBottomWidth]() { return this.borderBottomWidth; } - set [S$._borderBottomWidth](value) { + set [S$0._borderBottomWidth](value) { this.borderBottomWidth = value; } - get [S$.$borderCollapse]() { - return this[S$._borderCollapse]; + get [S$0.$borderCollapse]() { + return this[S$0._borderCollapse]; } - set [S$.$borderCollapse](value) { - this[S$._borderCollapse] = value == null ? "" : value; + set [S$0.$borderCollapse](value) { + this[S$0._borderCollapse] = value == null ? "" : value; } - get [S$._borderCollapse]() { + get [S$0._borderCollapse]() { return this.borderCollapse; } - set [S$._borderCollapse](value) { + set [S$0._borderCollapse](value) { this.borderCollapse = value; } - get [S$.$borderColor]() { - return this[S$._borderColor]; + get [S$0.$borderColor]() { + return this[S$0._borderColor]; } - set [S$.$borderColor](value) { - this[S$._borderColor] = value == null ? "" : value; + set [S$0.$borderColor](value) { + this[S$0._borderColor] = value == null ? "" : value; } - get [S$._borderColor]() { + get [S$0._borderColor]() { return this.borderColor; } - set [S$._borderColor](value) { + set [S$0._borderColor](value) { this.borderColor = value; } - get [S$.$borderLeft]() { - return this[S$._borderLeft]; + get [S$0.$borderLeft]() { + return this[S$0._borderLeft]; } - set [S$.$borderLeft](value) { - this[S$._borderLeft] = value == null ? "" : value; + set [S$0.$borderLeft](value) { + this[S$0._borderLeft] = value == null ? "" : value; } - get [S$._borderLeft]() { + get [S$0._borderLeft]() { return this.borderLeft; } - set [S$._borderLeft](value) { + set [S$0._borderLeft](value) { this.borderLeft = value; } - get [S$.$borderLeftColor]() { - return this[S$._borderLeftColor]; + get [S$0.$borderLeftColor]() { + return this[S$0._borderLeftColor]; } - set [S$.$borderLeftColor](value) { - this[S$._borderLeftColor] = value == null ? "" : value; + set [S$0.$borderLeftColor](value) { + this[S$0._borderLeftColor] = value == null ? "" : value; } - get [S$._borderLeftColor]() { + get [S$0._borderLeftColor]() { return this.borderLeftColor; } - set [S$._borderLeftColor](value) { + set [S$0._borderLeftColor](value) { this.borderLeftColor = value; } - get [S$.$borderLeftStyle]() { - return this[S$._borderLeftStyle]; + get [S$0.$borderLeftStyle]() { + return this[S$0._borderLeftStyle]; } - set [S$.$borderLeftStyle](value) { - this[S$._borderLeftStyle] = value == null ? "" : value; + set [S$0.$borderLeftStyle](value) { + this[S$0._borderLeftStyle] = value == null ? "" : value; } - get [S$._borderLeftStyle]() { + get [S$0._borderLeftStyle]() { return this.borderLeftStyle; } - set [S$._borderLeftStyle](value) { + set [S$0._borderLeftStyle](value) { this.borderLeftStyle = value; } - get [S$.$borderLeftWidth]() { - return this[S$._borderLeftWidth]; + get [S$0.$borderLeftWidth]() { + return this[S$0._borderLeftWidth]; } - set [S$.$borderLeftWidth](value) { - this[S$._borderLeftWidth] = value == null ? "" : value; + set [S$0.$borderLeftWidth](value) { + this[S$0._borderLeftWidth] = value == null ? "" : value; } - get [S$._borderLeftWidth]() { + get [S$0._borderLeftWidth]() { return this.borderLeftWidth; } - set [S$._borderLeftWidth](value) { + set [S$0._borderLeftWidth](value) { this.borderLeftWidth = value; } - get [S$.$borderRight]() { - return this[S$._borderRight]; + get [S$0.$borderRight]() { + return this[S$0._borderRight]; } - set [S$.$borderRight](value) { - this[S$._borderRight] = value == null ? "" : value; + set [S$0.$borderRight](value) { + this[S$0._borderRight] = value == null ? "" : value; } - get [S$._borderRight]() { + get [S$0._borderRight]() { return this.borderRight; } - set [S$._borderRight](value) { + set [S$0._borderRight](value) { this.borderRight = value; } - get [S$.$borderRightColor]() { - return this[S$._borderRightColor]; + get [S$0.$borderRightColor]() { + return this[S$0._borderRightColor]; } - set [S$.$borderRightColor](value) { - this[S$._borderRightColor] = value == null ? "" : value; + set [S$0.$borderRightColor](value) { + this[S$0._borderRightColor] = value == null ? "" : value; } - get [S$._borderRightColor]() { + get [S$0._borderRightColor]() { return this.borderRightColor; } - set [S$._borderRightColor](value) { + set [S$0._borderRightColor](value) { this.borderRightColor = value; } - get [S$.$borderRightStyle]() { - return this[S$._borderRightStyle]; + get [S$0.$borderRightStyle]() { + return this[S$0._borderRightStyle]; } - set [S$.$borderRightStyle](value) { - this[S$._borderRightStyle] = value == null ? "" : value; + set [S$0.$borderRightStyle](value) { + this[S$0._borderRightStyle] = value == null ? "" : value; } - get [S$._borderRightStyle]() { + get [S$0._borderRightStyle]() { return this.borderRightStyle; } - set [S$._borderRightStyle](value) { + set [S$0._borderRightStyle](value) { this.borderRightStyle = value; } get [S$0.$borderRightWidth]() { - return this[S$._borderRightWidth]; + return this[S$0._borderRightWidth]; } set [S$0.$borderRightWidth](value) { - this[S$._borderRightWidth] = value == null ? "" : value; + this[S$0._borderRightWidth] = value == null ? "" : value; } - get [S$._borderRightWidth]() { + get [S$0._borderRightWidth]() { return this.borderRightWidth; } - set [S$._borderRightWidth](value) { + set [S$0._borderRightWidth](value) { this.borderRightWidth = value; } get [S$0.$borderSpacing]() { @@ -73895,6 +80217,7 @@ define([], (function load__dart_sdk() { [S$.$item]: dart.fnType(core.String, [core.int]), [S$.$removeProperty]: dart.fnType(core.String, [core.String]) })); + dart.setStaticMethodSignature(html$.CssStyleDeclaration, () => ['new', 'css', '_readCache', '_writeCache', '_camelCase', '__']); dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), [S$.$cssFloat]: dart.nullable(core.String), @@ -73911,17 +80234,17 @@ define([], (function load__dart_sdk() { [S$._borderBottom]: core.String, [S$._borderBottomColor]: core.String, [S$._borderBottomStyle]: core.String, - [S$._borderBottomWidth]: core.String, - [S$._borderCollapse]: core.String, - [S$._borderColor]: core.String, - [S$._borderLeft]: core.String, - [S$._borderLeftColor]: core.String, - [S$._borderLeftStyle]: core.String, - [S$._borderLeftWidth]: core.String, - [S$._borderRight]: core.String, - [S$._borderRightColor]: core.String, - [S$._borderRightStyle]: core.String, - [S$._borderRightWidth]: core.String, + [S$0._borderBottomWidth]: core.String, + [S$0._borderCollapse]: core.String, + [S$0._borderColor]: core.String, + [S$0._borderLeft]: core.String, + [S$0._borderLeftColor]: core.String, + [S$0._borderLeftStyle]: core.String, + [S$0._borderLeftWidth]: core.String, + [S$0._borderRight]: core.String, + [S$0._borderRightColor]: core.String, + [S$0._borderRightStyle]: core.String, + [S$0._borderRightWidth]: core.String, [S$0._borderSpacing]: core.String, [S$0._borderStyle]: core.String, [S$0._borderTop]: core.String, @@ -74014,30 +80337,30 @@ define([], (function load__dart_sdk() { [S$._borderBottom]: core.String, [S$.$borderBottomColor]: dart.nullable(core.String), [S$._borderBottomColor]: core.String, - [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$0.$borderBottomStyle]: dart.nullable(core.String), [S$._borderBottomStyle]: core.String, - [S$.$borderBottomWidth]: dart.nullable(core.String), - [S$._borderBottomWidth]: core.String, - [S$.$borderCollapse]: dart.nullable(core.String), - [S$._borderCollapse]: core.String, - [S$.$borderColor]: dart.nullable(core.String), - [S$._borderColor]: core.String, - [S$.$borderLeft]: dart.nullable(core.String), - [S$._borderLeft]: core.String, - [S$.$borderLeftColor]: dart.nullable(core.String), - [S$._borderLeftColor]: core.String, - [S$.$borderLeftStyle]: dart.nullable(core.String), - [S$._borderLeftStyle]: core.String, - [S$.$borderLeftWidth]: dart.nullable(core.String), - [S$._borderLeftWidth]: core.String, - [S$.$borderRight]: dart.nullable(core.String), - [S$._borderRight]: core.String, - [S$.$borderRightColor]: dart.nullable(core.String), - [S$._borderRightColor]: core.String, - [S$.$borderRightStyle]: dart.nullable(core.String), - [S$._borderRightStyle]: core.String, + [S$0.$borderBottomWidth]: dart.nullable(core.String), + [S$0._borderBottomWidth]: core.String, + [S$0.$borderCollapse]: dart.nullable(core.String), + [S$0._borderCollapse]: core.String, + [S$0.$borderColor]: dart.nullable(core.String), + [S$0._borderColor]: core.String, + [S$0.$borderLeft]: dart.nullable(core.String), + [S$0._borderLeft]: core.String, + [S$0.$borderLeftColor]: dart.nullable(core.String), + [S$0._borderLeftColor]: core.String, + [S$0.$borderLeftStyle]: dart.nullable(core.String), + [S$0._borderLeftStyle]: core.String, + [S$0.$borderLeftWidth]: dart.nullable(core.String), + [S$0._borderLeftWidth]: core.String, + [S$0.$borderRight]: dart.nullable(core.String), + [S$0._borderRight]: core.String, + [S$0.$borderRightColor]: dart.nullable(core.String), + [S$0._borderRightColor]: core.String, + [S$0.$borderRightStyle]: dart.nullable(core.String), + [S$0._borderRightStyle]: core.String, [S$0.$borderRightWidth]: dart.nullable(core.String), - [S$._borderRightWidth]: core.String, + [S$0._borderRightWidth]: core.String, [S$0.$borderSpacing]: dart.nullable(core.String), [S$0._borderSpacing]: core.String, [S$0.$borderStyle]: dart.nullable(core.String), @@ -74177,7 +80500,9 @@ define([], (function load__dart_sdk() { [S$0.$zIndex]: dart.nullable(core.String), [S$0._zIndex]: core.String })); - dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); + dart.setStaticGetterSignature(html$.CssStyleDeclaration, () => ['supportsTransitions']); + dart.setLibraryUri(html$.CssStyleDeclaration, I[150]); + dart.setStaticFieldSignature(html$.CssStyleDeclaration, () => ['_propertyCache']); dart.defineLazy(html$.CssStyleDeclaration, { /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { return {}; @@ -74191,649 +80516,653 @@ define([], (function load__dart_sdk() { }).prototype = Object_CssStyleDeclarationBase$36.prototype; dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + static ['_#new#tearOff'](_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); + return new html$._CssStyleDeclarationSet.new(_elementIterable); + } getPropertyValue(propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); - return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + if (propertyName == null) dart.nullFailed(I[149], 5443, 34, "propertyName"); + return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); } setProperty(propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); - dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + if (propertyName == null) dart.nullFailed(I[149], 5447, 27, "propertyName"); + this[S$0._elementCssStyleDeclarationSetIterable][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5449, 19, "e"); return e[S$.$setProperty](propertyName, value, priority); }, T$0.CssStyleDeclarationTovoid())); } [S$0._setAll](propertyName, value) { - if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 5452, 23, "propertyName"); value = value == null ? "" : value; for (let element of this[S$0._elementIterable]) { element.style[propertyName] = value; } } set background(value) { - if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5460, 25, "value"); this[S$0._setAll]("background", value); } get background() { return super.background; } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + if (value == null) dart.nullFailed(I[149], 5465, 35, "value"); this[S$0._setAll]("backgroundAttachment", value); } get backgroundAttachment() { return super.backgroundAttachment; } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5470, 30, "value"); this[S$0._setAll]("backgroundColor", value); } get backgroundColor() { return super.backgroundColor; } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5475, 30, "value"); this[S$0._setAll]("backgroundImage", value); } get backgroundImage() { return super.backgroundImage; } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5480, 33, "value"); this[S$0._setAll]("backgroundPosition", value); } get backgroundPosition() { return super.backgroundPosition; } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5485, 31, "value"); this[S$0._setAll]("backgroundRepeat", value); } get backgroundRepeat() { return super.backgroundRepeat; } set border(value) { - if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5490, 21, "value"); this[S$0._setAll]("border", value); } get border() { return super.border; } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5495, 27, "value"); this[S$0._setAll]("borderBottom", value); } get borderBottom() { return super.borderBottom; } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5500, 32, "value"); this[S$0._setAll]("borderBottomColor", value); } get borderBottomColor() { return super.borderBottomColor; } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5505, 32, "value"); this[S$0._setAll]("borderBottomStyle", value); } get borderBottomStyle() { return super.borderBottomStyle; } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5510, 32, "value"); this[S$0._setAll]("borderBottomWidth", value); } get borderBottomWidth() { return super.borderBottomWidth; } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5515, 29, "value"); this[S$0._setAll]("borderCollapse", value); } get borderCollapse() { return super.borderCollapse; } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5520, 26, "value"); this[S$0._setAll]("borderColor", value); } get borderColor() { return super.borderColor; } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5525, 25, "value"); this[S$0._setAll]("borderLeft", value); } get borderLeft() { return super.borderLeft; } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5530, 30, "value"); this[S$0._setAll]("borderLeftColor", value); } get borderLeftColor() { return super.borderLeftColor; } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5535, 30, "value"); this[S$0._setAll]("borderLeftStyle", value); } get borderLeftStyle() { return super.borderLeftStyle; } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5540, 30, "value"); this[S$0._setAll]("borderLeftWidth", value); } get borderLeftWidth() { return super.borderLeftWidth; } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5545, 26, "value"); this[S$0._setAll]("borderRight", value); } get borderRight() { return super.borderRight; } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5550, 31, "value"); this[S$0._setAll]("borderRightColor", value); } get borderRightColor() { return super.borderRightColor; } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5555, 31, "value"); this[S$0._setAll]("borderRightStyle", value); } get borderRightStyle() { return super.borderRightStyle; } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5560, 31, "value"); this[S$0._setAll]("borderRightWidth", value); } get borderRightWidth() { return super.borderRightWidth; } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5565, 28, "value"); this[S$0._setAll]("borderSpacing", value); } get borderSpacing() { return super.borderSpacing; } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5570, 26, "value"); this[S$0._setAll]("borderStyle", value); } get borderStyle() { return super.borderStyle; } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5575, 24, "value"); this[S$0._setAll]("borderTop", value); } get borderTop() { return super.borderTop; } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5580, 29, "value"); this[S$0._setAll]("borderTopColor", value); } get borderTopColor() { return super.borderTopColor; } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5585, 29, "value"); this[S$0._setAll]("borderTopStyle", value); } get borderTopStyle() { return super.borderTopStyle; } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5590, 29, "value"); this[S$0._setAll]("borderTopWidth", value); } get borderTopWidth() { return super.borderTopWidth; } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5595, 26, "value"); this[S$0._setAll]("borderWidth", value); } get borderWidth() { return super.borderWidth; } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5600, 21, "value"); this[S$0._setAll]("bottom", value); } get bottom() { return super.bottom; } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5605, 26, "value"); this[S$0._setAll]("captionSide", value); } get captionSide() { return super.captionSide; } set clear(value) { - if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5610, 20, "value"); this[S$0._setAll]("clear", value); } get clear() { return super.clear; } set clip(value) { - if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5615, 19, "value"); this[S$0._setAll]("clip", value); } get clip() { return super.clip; } set color(value) { - if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5620, 20, "value"); this[S$0._setAll]("color", value); } get color() { return super.color; } set content(value) { - if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5625, 22, "value"); this[S$0._setAll]("content", value); } get content() { return super.content; } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5630, 21, "value"); this[S$0._setAll]("cursor", value); } get cursor() { return super.cursor; } set direction(value) { - if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5635, 24, "value"); this[S$0._setAll]("direction", value); } get direction() { return super.direction; } set display(value) { - if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5640, 22, "value"); this[S$0._setAll]("display", value); } get display() { return super.display; } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5645, 25, "value"); this[S$0._setAll]("emptyCells", value); } get emptyCells() { return super.emptyCells; } set font(value) { - if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5650, 19, "value"); this[S$0._setAll]("font", value); } get font() { return super.font; } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5655, 25, "value"); this[S$0._setAll]("fontFamily", value); } get fontFamily() { return super.fontFamily; } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5660, 23, "value"); this[S$0._setAll]("fontSize", value); } get fontSize() { return super.fontSize; } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5665, 24, "value"); this[S$0._setAll]("fontStyle", value); } get fontStyle() { return super.fontStyle; } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5670, 26, "value"); this[S$0._setAll]("fontVariant", value); } get fontVariant() { return super.fontVariant; } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5675, 25, "value"); this[S$0._setAll]("fontWeight", value); } get fontWeight() { return super.fontWeight; } set height(value) { - if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5680, 21, "value"); this[S$0._setAll]("height", value); } get height() { return super.height; } set left(value) { - if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5685, 19, "value"); this[S$0._setAll]("left", value); } get left() { return super.left; } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5690, 28, "value"); this[S$0._setAll]("letterSpacing", value); } get letterSpacing() { return super.letterSpacing; } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5695, 25, "value"); this[S$0._setAll]("lineHeight", value); } get lineHeight() { return super.lineHeight; } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5700, 24, "value"); this[S$0._setAll]("listStyle", value); } get listStyle() { return super.listStyle; } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5705, 29, "value"); this[S$0._setAll]("listStyleImage", value); } get listStyleImage() { return super.listStyleImage; } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5710, 32, "value"); this[S$0._setAll]("listStylePosition", value); } get listStylePosition() { return super.listStylePosition; } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5715, 28, "value"); this[S$0._setAll]("listStyleType", value); } get listStyleType() { return super.listStyleType; } set margin(value) { - if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5720, 21, "value"); this[S$0._setAll]("margin", value); } get margin() { return super.margin; } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5725, 27, "value"); this[S$0._setAll]("marginBottom", value); } get marginBottom() { return super.marginBottom; } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5730, 25, "value"); this[S$0._setAll]("marginLeft", value); } get marginLeft() { return super.marginLeft; } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5735, 26, "value"); this[S$0._setAll]("marginRight", value); } get marginRight() { return super.marginRight; } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5740, 24, "value"); this[S$0._setAll]("marginTop", value); } get marginTop() { return super.marginTop; } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5745, 24, "value"); this[S$0._setAll]("maxHeight", value); } get maxHeight() { return super.maxHeight; } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5750, 23, "value"); this[S$0._setAll]("maxWidth", value); } get maxWidth() { return super.maxWidth; } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5755, 24, "value"); this[S$0._setAll]("minHeight", value); } get minHeight() { return super.minHeight; } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5760, 23, "value"); this[S$0._setAll]("minWidth", value); } get minWidth() { return super.minWidth; } set outline(value) { - if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5765, 22, "value"); this[S$0._setAll]("outline", value); } get outline() { return super.outline; } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5770, 27, "value"); this[S$0._setAll]("outlineColor", value); } get outlineColor() { return super.outlineColor; } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5775, 27, "value"); this[S$0._setAll]("outlineStyle", value); } get outlineStyle() { return super.outlineStyle; } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5780, 27, "value"); this[S$0._setAll]("outlineWidth", value); } get outlineWidth() { return super.outlineWidth; } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5785, 23, "value"); this[S$0._setAll]("overflow", value); } get overflow() { return super.overflow; } set padding(value) { - if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5790, 22, "value"); this[S$0._setAll]("padding", value); } get padding() { return super.padding; } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5795, 28, "value"); this[S$0._setAll]("paddingBottom", value); } get paddingBottom() { return super.paddingBottom; } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5800, 26, "value"); this[S$0._setAll]("paddingLeft", value); } get paddingLeft() { return super.paddingLeft; } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5805, 27, "value"); this[S$0._setAll]("paddingRight", value); } get paddingRight() { return super.paddingRight; } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5810, 25, "value"); this[S$0._setAll]("paddingTop", value); } get paddingTop() { return super.paddingTop; } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5815, 29, "value"); this[S$0._setAll]("pageBreakAfter", value); } get pageBreakAfter() { return super.pageBreakAfter; } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5820, 30, "value"); this[S$0._setAll]("pageBreakBefore", value); } get pageBreakBefore() { return super.pageBreakBefore; } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5825, 30, "value"); this[S$0._setAll]("pageBreakInside", value); } get pageBreakInside() { return super.pageBreakInside; } set position(value) { - if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5830, 23, "value"); this[S$0._setAll]("position", value); } get position() { return super.position; } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5835, 21, "value"); this[S$0._setAll]("quotes", value); } get quotes() { return super.quotes; } set right(value) { - if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5840, 20, "value"); this[S$0._setAll]("right", value); } get right() { return super.right; } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5845, 26, "value"); this[S$0._setAll]("tableLayout", value); } get tableLayout() { return super.tableLayout; } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5850, 24, "value"); this[S$0._setAll]("textAlign", value); } get textAlign() { return super.textAlign; } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5855, 29, "value"); this[S$0._setAll]("textDecoration", value); } get textDecoration() { return super.textDecoration; } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5860, 25, "value"); this[S$0._setAll]("textIndent", value); } get textIndent() { return super.textIndent; } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5865, 28, "value"); this[S$0._setAll]("textTransform", value); } get textTransform() { return super.textTransform; } set top(value) { - if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + if (value == null) dart.nullFailed(I[149], 5870, 18, "value"); this[S$0._setAll]("top", value); } get top() { return super.top; } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5875, 26, "value"); this[S$0._setAll]("unicodeBidi", value); } get unicodeBidi() { return super.unicodeBidi; } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5880, 28, "value"); this[S$0._setAll]("verticalAlign", value); } get verticalAlign() { return super.verticalAlign; } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5885, 25, "value"); this[S$0._setAll]("visibility", value); } get visibility() { return super.visibility; } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5890, 25, "value"); this[S$0._setAll]("whiteSpace", value); } get whiteSpace() { return super.whiteSpace; } set width(value) { - if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5895, 20, "value"); this[S$0._setAll]("width", value); } get width() { return super.width; } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5900, 26, "value"); this[S$0._setAll]("wordSpacing", value); } get wordSpacing() { return super.wordSpacing; } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); this[S$0._setAll]("zIndex", value); } get zIndex() { @@ -74841,10 +81170,13 @@ define([], (function load__dart_sdk() { } }; (html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); - this[S$0._elementCssStyleDeclarationSetIterable] = null; + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); this[S$0._elementIterable] = _elementIterable; - this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); + this[S$0._elementCssStyleDeclarationSetIterable] = T$0.ListOfElement().of(_elementIterable)[$map](html$.CssStyleDeclaration, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5441, 48, "e"); + return e.style; + }, T$0.ElementToCssStyleDeclaration())); + ; }).prototype = html$._CssStyleDeclarationSet.prototype; dart.addTypeTests(html$._CssStyleDeclarationSet); dart.addTypeCaches(html$._CssStyleDeclarationSet); @@ -74856,11 +81188,11 @@ define([], (function load__dart_sdk() { [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) })); - dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); + dart.setLibraryUri(html$._CssStyleDeclarationSet, I[150]); dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(core.Iterable$(html$.CssStyleDeclaration)) })); dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ @@ -74956,6 +81288,9 @@ define([], (function load__dart_sdk() { 'zIndex' ]); html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssStyleRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -74968,6 +81303,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssStyleRule); dart.addTypeCaches(html$.CssStyleRule); + dart.setStaticMethodSignature(html$.CssStyleRule, () => ['__']); dart.setGetterSignature(html$.CssStyleRule, () => ({ __proto__: dart.getGetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String, @@ -74977,9 +81313,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String })); - dart.setLibraryUri(html$.CssStyleRule, I[148]); + dart.setLibraryUri(html$.CssStyleRule, I[150]); dart.registerExtension("CSSStyleRule", html$.CssStyleRule); - html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { + html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleSheet.__(); + } get [S$.$disabled]() { return this.disabled; } @@ -75007,6 +81346,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.StyleSheet); dart.addTypeCaches(html$.StyleSheet); + dart.setStaticMethodSignature(html$.StyleSheet, () => ['__']); dart.setGetterSignature(html$.StyleSheet, () => ({ __proto__: dart.getGetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -75021,9 +81361,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.StyleSheet, I[148]); + dart.setLibraryUri(html$.StyleSheet, I[150]); dart.registerExtension("StyleSheet", html$.StyleSheet); html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + static ['_#_#tearOff']() { + return html$.CssStyleSheet.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -75055,20 +81398,29 @@ define([], (function load__dart_sdk() { [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.CssStyleSheet, () => ['__']); dart.setGetterSignature(html$.CssStyleSheet, () => ({ __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), [S$.$cssRules]: core.List$(html$.CssRule), [S$0.$ownerRule]: dart.nullable(html$.CssRule), [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) })); - dart.setLibraryUri(html$.CssStyleSheet, I[148]); + dart.setLibraryUri(html$.CssStyleSheet, I[150]); dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); - html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; + html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssSupportsRule.__(); + } + }; dart.addTypeTests(html$.CssSupportsRule); dart.addTypeCaches(html$.CssSupportsRule); - dart.setLibraryUri(html$.CssSupportsRule, I[148]); + dart.setStaticMethodSignature(html$.CssSupportsRule, () => ['__']); + dart.setLibraryUri(html$.CssSupportsRule, I[150]); dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssTransformValue.__(); + } static new(transformComponents = null) { if (transformComponents == null) { return html$.CssTransformValue._create_1(); @@ -75078,6 +81430,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](transformComponents = null) { + return html$.CssTransformValue.new(transformComponents); + } static _create_1() { return new CSSTransformValue(); } @@ -75104,17 +81459,21 @@ define([], (function load__dart_sdk() { [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) })); + dart.setStaticMethodSignature(html$.CssTransformValue, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTransformValue, () => ({ __proto__: dart.getGetters(html$.CssTransformValue.__proto__), [S$.$is2D]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.CssTransformValue, I[148]); + dart.setLibraryUri(html$.CssTransformValue, I[150]); dart.registerExtension("CSSTransformValue", html$.CssTransformValue); html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssTranslation.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); - if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { return html$.CssTranslation._create_1(x, y); } @@ -75123,6 +81482,11 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); + return html$.CssTranslation.new(x, y, z); + } static _create_1(x, y) { return new CSSTranslation(x, y); } @@ -75150,6 +81514,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssTranslation); dart.addTypeCaches(html$.CssTranslation); + dart.setStaticMethodSignature(html$.CssTranslation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTranslation, () => ({ __proto__: dart.getGetters(html$.CssTranslation.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -75162,14 +81527,22 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(html$.CssNumericValue), [S$.$z]: dart.nullable(html$.CssNumericValue) })); - dart.setLibraryUri(html$.CssTranslation, I[148]); + dart.setLibraryUri(html$.CssTranslation, I[150]); dart.registerExtension("CSSTranslation", html$.CssTranslation); html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static ['_#_#tearOff']() { + return html$.CssUnitValue.__(); + } static new(value, unit) { - if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); - if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); return html$.CssUnitValue._create_1(value, unit); } + static ['_#new#tearOff'](value, unit) { + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); + return html$.CssUnitValue.new(value, unit); + } static _create_1(value, unit) { return new CSSUnitValue(value, unit); } @@ -75191,6 +81564,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssUnitValue); dart.addTypeCaches(html$.CssUnitValue); + dart.setStaticMethodSignature(html$.CssUnitValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssUnitValue, () => ({ __proto__: dart.getGetters(html$.CssUnitValue.__proto__), [S.$type]: dart.nullable(core.String), @@ -75202,9 +81576,12 @@ define([], (function load__dart_sdk() { [S$0.$unit]: dart.nullable(core.String), [S.$value]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.CssUnitValue, I[148]); + dart.setLibraryUri(html$.CssUnitValue, I[150]); dart.registerExtension("CSSUnitValue", html$.CssUnitValue); html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssUnparsedValue.__(); + } get [$length]() { return this.length; } @@ -75218,13 +81595,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) })); + dart.setStaticMethodSignature(html$.CssUnparsedValue, () => ['__']); dart.setGetterSignature(html$.CssUnparsedValue, () => ({ __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.CssUnparsedValue, I[148]); + dart.setLibraryUri(html$.CssUnparsedValue, I[150]); dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); - html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { + html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssVariableReferenceValue.__(); + } get [S$0.$fallback]() { return this.fallback; } @@ -75234,31 +81615,43 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssVariableReferenceValue); dart.addTypeCaches(html$.CssVariableReferenceValue); + dart.setStaticMethodSignature(html$.CssVariableReferenceValue, () => ['__']); dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), [S$0.$variable]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); + dart.setLibraryUri(html$.CssVariableReferenceValue, I[150]); dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssViewportRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssViewportRule); dart.addTypeCaches(html$.CssViewportRule); + dart.setStaticMethodSignature(html$.CssViewportRule, () => ['__']); dart.setGetterSignature(html$.CssViewportRule, () => ({ __proto__: dart.getGetters(html$.CssViewportRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); - dart.setLibraryUri(html$.CssViewportRule, I[148]); + dart.setLibraryUri(html$.CssViewportRule, I[150]); dart.registerExtension("CSSViewportRule", html$.CssViewportRule); html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static ['_#_#tearOff']() { + return html$.CssurlImageValue.__(); + } static new(url) { - if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); return html$.CssurlImageValue._create_1(url); } + static ['_#new#tearOff'](url) { + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); + return html$.CssurlImageValue.new(url); + } static _create_1(url) { return new CSSURLImageValue(url); } @@ -75268,16 +81661,20 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.CssurlImageValue); dart.addTypeCaches(html$.CssurlImageValue); + dart.setStaticMethodSignature(html$.CssurlImageValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssurlImageValue, () => ({ __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.CssurlImageValue, I[148]); + dart.setLibraryUri(html$.CssurlImageValue, I[150]); dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); - html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { + html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CustomElementRegistry.__(); + } [S$0.$define](name, constructor, options = null) { - if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); - if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (name == null) dart.nullFailed(I[149], 8961, 22, "name"); + if (constructor == null) dart.nullFailed(I[149], 8961, 35, "constructor"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$0._define_1](name, constructor, options_1); @@ -75296,7 +81693,7 @@ define([], (function load__dart_sdk() { return this.get.apply(this, args); } [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); } }; @@ -75310,7 +81707,8 @@ define([], (function load__dart_sdk() { [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) })); - dart.setLibraryUri(html$.CustomElementRegistry, I[148]); + dart.setStaticMethodSignature(html$.CustomElementRegistry, () => ['__']); + dart.setLibraryUri(html$.CustomElementRegistry, I[150]); dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); html$.CustomEvent = class CustomEvent$ extends html$.Event { get [S$0._dartDetail]() { @@ -75320,11 +81718,11 @@ define([], (function load__dart_sdk() { this._dartDetail = value; } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); let detail = opts && 'detail' in opts ? opts.detail : null; let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); e[S$0._dartDetail] = detail; @@ -75344,6 +81742,15 @@ define([], (function load__dart_sdk() { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + return html$.CustomEvent.new(type, {canBubble: canBubble, cancelable: cancelable, detail: detail}); + } get [S$.$detail]() { if (this[S$0._dartDetail] != null) { return this[S$0._dartDetail]; @@ -75351,13 +81758,17 @@ define([], (function load__dart_sdk() { return this[S$0._detail]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CustomEvent._create_1(type, eventInitDict_1); } return html$.CustomEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); + return html$.CustomEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CustomEvent(type, eventInitDict); } @@ -75380,22 +81791,32 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.CustomEvent.__proto__), [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(html$.CustomEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CustomEvent, () => ({ __proto__: dart.getGetters(html$.CustomEvent.__proto__), [S$.$detail]: dart.dynamic, [S$0._detail]: dart.dynamic, [S$0._get__detail]: dart.dynamic })); - dart.setLibraryUri(html$.CustomEvent, I[148]); + dart.setLibraryUri(html$.CustomEvent, I[150]); dart.setFieldSignature(html$.CustomEvent, () => ({ __proto__: dart.getFields(html$.CustomEvent.__proto__), [S$0._dartDetail]: dart.fieldType(dart.dynamic) })); dart.registerExtension("CustomEvent", html$.CustomEvent); html$.DListElement = class DListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DListElement.__(); + } static new() { return html$.document.createElement("dl"); } + static ['_#new#tearOff']() { + return html$.DListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DListElement.created(); + } }; (html$.DListElement.created = function() { html$.DListElement.__proto__.created.call(this); @@ -75403,9 +81824,16 @@ define([], (function load__dart_sdk() { }).prototype = html$.DListElement.prototype; dart.addTypeTests(html$.DListElement); dart.addTypeCaches(html$.DListElement); - dart.setLibraryUri(html$.DListElement, I[148]); + dart.setStaticMethodSignature(html$.DListElement, () => ['__', 'new']); + dart.setLibraryUri(html$.DListElement, I[150]); dart.registerExtension("HTMLDListElement", html$.DListElement); html$.DataElement = class DataElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DataElement.created(); + } get [S.$value]() { return this.value; } @@ -75419,6 +81847,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.DataElement.prototype; dart.addTypeTests(html$.DataElement); dart.addTypeCaches(html$.DataElement); + dart.setStaticMethodSignature(html$.DataElement, () => ['__']); dart.setGetterSignature(html$.DataElement, () => ({ __proto__: dart.getGetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) @@ -75427,12 +81856,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DataElement, I[148]); + dart.setLibraryUri(html$.DataElement, I[150]); dart.registerExtension("HTMLDataElement", html$.DataElement); html$.DataListElement = class DataListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataListElement.__(); + } static new() { return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); } + static ['_#new#tearOff']() { + return html$.DataListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DataListElement.created(); + } static get supported() { return html$.Element.isTagSupported("datalist"); } @@ -75446,16 +81884,24 @@ define([], (function load__dart_sdk() { }).prototype = html$.DataListElement.prototype; dart.addTypeTests(html$.DataListElement); dart.addTypeCaches(html$.DataListElement); + dart.setStaticMethodSignature(html$.DataListElement, () => ['__', 'new']); dart.setGetterSignature(html$.DataListElement, () => ({ __proto__: dart.getGetters(html$.DataListElement.__proto__), [S$0.$options]: dart.nullable(core.List$(html$.Node)) })); - dart.setLibraryUri(html$.DataListElement, I[148]); + dart.setStaticGetterSignature(html$.DataListElement, () => ['supported']); + dart.setLibraryUri(html$.DataListElement, I[150]); dart.registerExtension("HTMLDataListElement", html$.DataListElement); - html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { + html$.DataTransfer = class DataTransfer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransfer.__(); + } static new() { return html$.DataTransfer._create_1(); } + static ['_#new#tearOff']() { + return html$.DataTransfer.new(); + } static _create_1() { return new DataTransfer(); } @@ -75502,6 +81948,7 @@ define([], (function load__dart_sdk() { [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) })); + dart.setStaticMethodSignature(html$.DataTransfer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DataTransfer, () => ({ __proto__: dart.getGetters(html$.DataTransfer.__proto__), [S$0.$dropEffect]: dart.nullable(core.String), @@ -75515,19 +81962,29 @@ define([], (function load__dart_sdk() { [S$0.$dropEffect]: dart.nullable(core.String), [S$0.$effectAllowed]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DataTransfer, I[148]); + dart.setLibraryUri(html$.DataTransfer, I[150]); dart.registerExtension("DataTransfer", html$.DataTransfer); - html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { + html$.DataTransferItem = class DataTransferItem extends _interceptors.JavaScriptObject { [S$0.$getAsEntry]() { let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { _js_helper.applyExtension("DirectoryEntry", entry); - else + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } else { _js_helper.applyExtension("Entry", entry); + _js_helper.applyExtension("webkitFileSystemEntry", entry); + _js_helper.applyExtension("FileSystemEntry", entry); + } return entry; } + static ['_#_#tearOff']() { + return html$.DataTransferItem.__(); + } get [S$.$kind]() { return this.kind; } @@ -75549,14 +82006,18 @@ define([], (function load__dart_sdk() { [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) })); + dart.setStaticMethodSignature(html$.DataTransferItem, () => ['__']); dart.setGetterSignature(html$.DataTransferItem, () => ({ __proto__: dart.getGetters(html$.DataTransferItem.__proto__), [S$.$kind]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DataTransferItem, I[148]); + dart.setLibraryUri(html$.DataTransferItem, I[150]); dart.registerExtension("DataTransferItem", html$.DataTransferItem); - html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { + html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransferItemList.__(); + } get [$length]() { return this.length; } @@ -75579,7 +82040,7 @@ define([], (function load__dart_sdk() { return this.remove.apply(this, args); } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); return this[index]; } }; @@ -75595,13 +82056,17 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(dart.void, [core.int]), [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) })); + dart.setStaticMethodSignature(html$.DataTransferItemList, () => ['__']); dart.setGetterSignature(html$.DataTransferItemList, () => ({ __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.DataTransferItemList, I[148]); + dart.setLibraryUri(html$.DataTransferItemList, I[150]); dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerGlobalScope.__(); + } get [S$0.$addressSpace]() { return this.addressSpace; } @@ -75675,7 +82140,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.WorkerGlobalScope); dart.addTypeCaches(html$.WorkerGlobalScope); - html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; + html$.WorkerGlobalScope[dart.implements] = () => [html$.WindowBase64, html$._WindowTimers]; dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), @@ -75689,6 +82154,7 @@ define([], (function load__dart_sdk() { [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), @@ -75703,14 +82169,19 @@ define([], (function load__dart_sdk() { [S$0.$self]: html$.WorkerGlobalScope, [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); + dart.setStaticGetterSignature(html$.WorkerGlobalScope, () => ['instance']); + dart.setLibraryUri(html$.WorkerGlobalScope, I[150]); + dart.setStaticFieldSignature(html$.WorkerGlobalScope, () => ['errorEvent']); dart.defineLazy(html$.WorkerGlobalScope, { /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.DedicatedWorkerGlobalScope.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -75762,14 +82233,17 @@ define([], (function load__dart_sdk() { [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); + dart.setStaticMethodSignature(html$.DedicatedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); + dart.setStaticGetterSignature(html$.DedicatedWorkerGlobalScope, () => ['instance']); + dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[150]); + dart.setStaticFieldSignature(html$.DedicatedWorkerGlobalScope, () => ['messageEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DedicatedWorkerGlobalScope, { /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -75779,7 +82253,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); - html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { + html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageInfo.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75794,7 +82271,9 @@ define([], (function load__dart_sdk() { [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); - dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); + dart.setStaticMethodSignature(html$.DeprecatedStorageInfo, () => ['__']); + dart.setLibraryUri(html$.DeprecatedStorageInfo, I[150]); + dart.setStaticFieldSignature(html$.DeprecatedStorageInfo, () => ['PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DeprecatedStorageInfo, { /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { return 1; @@ -75804,7 +82283,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); - html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { + html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageQuota.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75819,14 +82301,23 @@ define([], (function load__dart_sdk() { [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); - dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); + dart.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); + dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); - html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; + html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportBody.__(); + } + }; dart.addTypeTests(html$.ReportBody); dart.addTypeCaches(html$.ReportBody); - dart.setLibraryUri(html$.ReportBody, I[148]); + dart.setStaticMethodSignature(html$.ReportBody, () => ['__']); + dart.setLibraryUri(html$.ReportBody, I[150]); dart.registerExtension("ReportBody", html$.ReportBody); html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.DeprecationReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -75839,18 +82330,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DeprecationReport); dart.addTypeCaches(html$.DeprecationReport); + dart.setStaticMethodSignature(html$.DeprecationReport, () => ['__']); dart.setGetterSignature(html$.DeprecationReport, () => ({ __proto__: dart.getGetters(html$.DeprecationReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DeprecationReport, I[148]); + dart.setLibraryUri(html$.DeprecationReport, I[150]); dart.registerExtension("DeprecationReport", html$.DeprecationReport); html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DetailsElement.__(); + } static new() { return html$.DetailsElement.as(html$.document[S.$createElement]("details")); } + static ['_#new#tearOff']() { + return html$.DetailsElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DetailsElement.created(); + } static get supported() { return html$.Element.isTagSupported("details"); } @@ -75867,6 +82368,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.DetailsElement.prototype; dart.addTypeTests(html$.DetailsElement); dart.addTypeCaches(html$.DetailsElement); + dart.setStaticMethodSignature(html$.DetailsElement, () => ['__', 'new']); dart.setGetterSignature(html$.DetailsElement, () => ({ __proto__: dart.getGetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) @@ -75875,12 +82377,19 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.DetailsElement, I[148]); + dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); + dart.setLibraryUri(html$.DetailsElement, I[150]); dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); - html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { + html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedBarcode.__(); + } static new() { return html$.DetectedBarcode._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedBarcode.new(); + } static _create_1() { return new DetectedBarcode(); } @@ -75896,18 +82405,25 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DetectedBarcode); dart.addTypeCaches(html$.DetectedBarcode); + dart.setStaticMethodSignature(html$.DetectedBarcode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedBarcode, () => ({ __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DetectedBarcode, I[148]); + dart.setLibraryUri(html$.DetectedBarcode, I[150]); dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); - html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { + html$.DetectedFace = class DetectedFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedFace.__(); + } static new() { return html$.DetectedFace._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedFace.new(); + } static _create_1() { return new DetectedFace(); } @@ -75920,17 +82436,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DetectedFace); dart.addTypeCaches(html$.DetectedFace); + dart.setStaticMethodSignature(html$.DetectedFace, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedFace, () => ({ __proto__: dart.getGetters(html$.DetectedFace.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$landmarks]: dart.nullable(core.List) })); - dart.setLibraryUri(html$.DetectedFace, I[148]); + dart.setLibraryUri(html$.DetectedFace, I[150]); dart.registerExtension("DetectedFace", html$.DetectedFace); - html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { + html$.DetectedText = class DetectedText$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedText.__(); + } static new() { return html$.DetectedText._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedText.new(); + } static _create_1() { return new DetectedText(); } @@ -75946,15 +82469,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DetectedText); dart.addTypeCaches(html$.DetectedText); + dart.setStaticMethodSignature(html$.DetectedText, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedText, () => ({ __proto__: dart.getGetters(html$.DetectedText.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DetectedText, I[148]); + dart.setLibraryUri(html$.DetectedText, I[150]); dart.registerExtension("DetectedText", html$.DetectedText); - html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { + html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceAcceleration.__(); + } get [S$.$x]() { return this.x; } @@ -75967,23 +82494,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DeviceAcceleration); dart.addTypeCaches(html$.DeviceAcceleration); + dart.setStaticMethodSignature(html$.DeviceAcceleration, () => ['__']); dart.setGetterSignature(html$.DeviceAcceleration, () => ({ __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DeviceAcceleration, I[148]); + dart.setLibraryUri(html$.DeviceAcceleration, I[150]); dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceMotionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); } return html$.DeviceMotionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); + return html$.DeviceMotionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceMotionEvent(type, eventInitDict); } @@ -76005,6 +82540,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DeviceMotionEvent); dart.addTypeCaches(html$.DeviceMotionEvent); + dart.setStaticMethodSignature(html$.DeviceMotionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), @@ -76012,17 +82548,24 @@ define([], (function load__dart_sdk() { [S$0.$interval]: dart.nullable(core.num), [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) })); - dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); + dart.setLibraryUri(html$.DeviceMotionEvent, I[150]); dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceOrientationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); } return html$.DeviceOrientationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); + return html$.DeviceOrientationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceOrientationEvent(type, eventInitDict); } @@ -76044,6 +82587,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DeviceOrientationEvent); dart.addTypeCaches(html$.DeviceOrientationEvent); + dart.setStaticMethodSignature(html$.DeviceOrientationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), [S$0.$absolute]: dart.nullable(core.bool), @@ -76051,9 +82595,12 @@ define([], (function load__dart_sdk() { [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); + dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); - html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { + html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceRotationRate.__(); + } get [S$0.$alpha]() { return this.alpha; } @@ -76066,15 +82613,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DeviceRotationRate); dart.addTypeCaches(html$.DeviceRotationRate); + dart.setStaticMethodSignature(html$.DeviceRotationRate, () => ['__']); dart.setGetterSignature(html$.DeviceRotationRate, () => ({ __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), [S$0.$alpha]: dart.nullable(core.num), [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DeviceRotationRate, I[148]); + dart.setLibraryUri(html$.DeviceRotationRate, I[150]); dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); html$.DialogElement = class DialogElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DialogElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DialogElement.created(); + } get [S.$open]() { return this.open; } @@ -76109,6 +82663,7 @@ define([], (function load__dart_sdk() { [S$0.$show]: dart.fnType(dart.void, []), [S$0.$showModal]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.DialogElement, () => ['__']); dart.setGetterSignature(html$.DialogElement, () => ({ __proto__: dart.getGetters(html$.DialogElement.__proto__), [S.$open]: dart.nullable(core.bool), @@ -76119,9 +82674,12 @@ define([], (function load__dart_sdk() { [S.$open]: dart.nullable(core.bool), [S$.$returnValue]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DialogElement, I[148]); + dart.setLibraryUri(html$.DialogElement, I[150]); dart.registerExtension("HTMLDialogElement", html$.DialogElement); - html$.Entry = class Entry extends _interceptors.Interceptor { + html$.Entry = class Entry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Entry.__(); + } get [S$0.$filesystem]() { return this.filesystem; } @@ -76137,82 +82695,84 @@ define([], (function load__dart_sdk() { get [$name]() { return this.name; } - [S$0._copyTo](...args) { + [S$1._copyTo](...args) { return this.copyTo.apply(this, args); } - [S$0.$copyTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + [S$1.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[149], 15427, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._copyTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + this[S$1._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15429, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15431, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getMetadata](...args) { + [S$1._getMetadata](...args) { return this.getMetadata.apply(this, args); } - [S$0.$getMetadata]() { + [S$1.$getMetadata]() { let completer = T$0.CompleterOfMetadata().new(); - this[S$0._getMetadata](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + this[S$1._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15444, 19, "value"); _js_helper.applyExtension("Metadata", value); completer.complete(value); }, T$0.MetadataTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15447, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getParent](...args) { + [S$1._getParent](...args) { return this.getParent.apply(this, args); } - [S$0.$getParent]() { + [S$1.$getParent]() { let completer = T$0.CompleterOfEntry().new(); - this[S$0._getParent](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + this[S$1._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15460, 17, "value"); _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15465, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } [S$.$moveTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + if (parent == null) dart.nullFailed(I[149], 15478, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._moveTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + this[S$1._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15480, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15482, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._remove$1](...args) { + [S$1._remove$1](...args) { return this.remove.apply(this, args); } [$remove]() { let completer = async.Completer.new(); - this[S$0._remove$1](dart.fn(() => { + this[S$1._remove$1](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0.$toUrl](...args) { + [S$1.$toUrl](...args) { return this.toURL.apply(this, args); } }; @@ -76220,18 +82780,19 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.Entry); dart.setMethodSignature(html$.Entry, () => ({ __proto__: dart.getMethods(html$.Entry.__proto__), - [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), - [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), - [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$1._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$1._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$1._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [$remove]: dart.fnType(async.Future, []), - [S$0.$toUrl]: dart.fnType(core.String, []) + [S$1.$toUrl]: dart.fnType(core.String, []) })); + dart.setStaticMethodSignature(html$.Entry, () => ['__']); dart.setGetterSignature(html$.Entry, () => ({ __proto__: dart.getGetters(html$.Entry.__proto__), [S$0.$filesystem]: dart.nullable(html$.FileSystem), @@ -76240,34 +82801,42 @@ define([], (function load__dart_sdk() { [S$0.$isFile]: dart.nullable(core.bool), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Entry, I[148]); + dart.setLibraryUri(html$.Entry, I[150]); dart.registerExtension("Entry", html$.Entry); + dart.registerExtension("webkitFileSystemEntry", html$.Entry); + dart.registerExtension("FileSystemEntry", html$.Entry); html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { [S$0.$createDirectory](path, opts) { - if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + if (path == null) dart.nullFailed(I[149], 9614, 40, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9614, 52, "exclusive"); return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$createReader]() { let reader = this[S$0._createReader](); _js_helper.applyExtension("DirectoryReader", reader); + _js_helper.applyExtension("WebKitDirectoryReader", reader); + _js_helper.applyExtension("webkitFileSystemDirectoryReader", reader); + _js_helper.applyExtension("FileSystemDirectoryReader", reader); return reader; } [S$0.$getDirectory](path) { - if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + if (path == null) dart.nullFailed(I[149], 9633, 37, "path"); return this[S$0._getDirectory](path); } [S$0.$createFile](path, opts) { - if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + if (path == null) dart.nullFailed(I[149], 9642, 35, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9642, 47, "exclusive"); return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$getFile](path) { - if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + if (path == null) dart.nullFailed(I[149], 9651, 32, "path"); return this[S$0._getFile](path); } + static ['_#_#tearOff']() { + return html$.DirectoryEntry.__(); + } [S$0._createReader](...args) { return this.createReader.apply(this, args); } @@ -76306,10 +82875,10 @@ define([], (function load__dart_sdk() { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getDirectory](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + if (value == null) dart.nullFailed(I[149], 9699, 36, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76349,11 +82918,13 @@ define([], (function load__dart_sdk() { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getFile](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + if (value == null) dart.nullFailed(I[149], 9743, 31, "value"); _js_helper.applyExtension("FileEntry", value); + _js_helper.applyExtension("webkitFileSystemFileEntry", value); + _js_helper.applyExtension("FileSystemFileEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9748, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76366,7 +82937,7 @@ define([], (function load__dart_sdk() { this[S$0._removeRecursively](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76397,26 +82968,40 @@ define([], (function load__dart_sdk() { [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$0.$removeRecursively]: dart.fnType(async.Future, []) })); - dart.setLibraryUri(html$.DirectoryEntry, I[148]); + dart.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); + dart.setLibraryUri(html$.DirectoryEntry, I[150]); dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); - html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { - [S$0._readEntries](...args) { + dart.registerExtension("webkitFileSystemDirectoryEntry", html$.DirectoryEntry); + dart.registerExtension("FileSystemDirectoryEntry", html$.DirectoryEntry); + html$.DirectoryReader = class DirectoryReader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DirectoryReader.__(); + } + [S$1._readEntries](...args) { return this.readEntries.apply(this, args); } - [S$0.$readEntries]() { + [S$1.$readEntries]() { let completer = T$0.CompleterOfListOfEntry().new(); - this[S$0._readEntries](dart.fn(values => { - if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + this[S$1._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[149], 9787, 19, "values"); values[$forEach](dart.fn(value => { _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); let entry = html$.Entry.as(value); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { + _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } }, T$.dynamicTovoid())); completer.complete(T$0.ListOfEntry().from(values)); }, T$0.ListTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9804, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76426,15 +83011,28 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.DirectoryReader); dart.setMethodSignature(html$.DirectoryReader, () => ({ __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) + [S$1._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) })); - dart.setLibraryUri(html$.DirectoryReader, I[148]); + dart.setStaticMethodSignature(html$.DirectoryReader, () => ['__']); + dart.setLibraryUri(html$.DirectoryReader, I[150]); dart.registerExtension("DirectoryReader", html$.DirectoryReader); + dart.registerExtension("WebKitDirectoryReader", html$.DirectoryReader); + dart.registerExtension("webkitFileSystemDirectoryReader", html$.DirectoryReader); + dart.registerExtension("FileSystemDirectoryReader", html$.DirectoryReader); html$.DivElement = class DivElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DivElement.__(); + } static new() { return html$.document.createElement("div"); } + static ['_#new#tearOff']() { + return html$.DivElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DivElement.created(); + } }; (html$.DivElement.created = function() { html$.DivElement.__proto__.created.call(this); @@ -76442,67 +83040,74 @@ define([], (function load__dart_sdk() { }).prototype = html$.DivElement.prototype; dart.addTypeTests(html$.DivElement); dart.addTypeCaches(html$.DivElement); - dart.setLibraryUri(html$.DivElement, I[148]); + dart.setStaticMethodSignature(html$.DivElement, () => ['__', 'new']); + dart.setLibraryUri(html$.DivElement, I[150]); dart.registerExtension("HTMLDivElement", html$.DivElement); html$.Document = class Document$ extends html$.Node { + static ['_#_#tearOff']() { + return html$.Document.__(); + } static new() { return html$.Document._create_1(); } + static ['_#new#tearOff']() { + return html$.Document.new(); + } static _create_1() { return new Document(); } get [S$0.$addressSpace]() { return this.addressSpace; } - get [S$0._body]() { + get [S$1._body]() { return this.body; } - set [S$0._body](value) { + set [S$1._body](value) { this.body = value; } - get [S$0.$contentType]() { + get [S$1.$contentType]() { return this.contentType; } - get [S$0.$cookie]() { + get [S$1.$cookie]() { return this.cookie; } - set [S$0.$cookie](value) { + set [S$1.$cookie](value) { this.cookie = value; } - get [S$0.$currentScript]() { + get [S$1.$currentScript]() { return this.currentScript; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.defaultView; } - get [S$0.$documentElement]() { + get [S$1.$documentElement]() { return this.documentElement; } - get [S$0.$domain]() { + get [S$1.$domain]() { return this.domain; } - get [S$0.$fullscreenEnabled]() { + get [S$1.$fullscreenEnabled]() { return this.fullscreenEnabled; } - get [S$0._head$1]() { + get [S$1._head$1]() { return this.head; } get [S.$hidden]() { return this.hidden; } - get [S$0.$implementation]() { + get [S$1.$implementation]() { return this.implementation; } - get [S$0._lastModified]() { + get [S$1._lastModified]() { return this.lastModified; } get [S$.$origin]() { return this.origin; } - get [S$0._preferredStylesheetSet]() { + get [S$1._preferredStylesheetSet]() { return this.preferredStylesheetSet; } get [S.$readyState]() { @@ -76581,13 +83186,13 @@ define([], (function load__dart_sdk() { return this.createTextNode.apply(this, args); } [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { - if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); - if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); - if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); - if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); - if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); - if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); - if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (view == null) dart.nullFailed(I[149], 10036, 29, "view"); + if (target == null) dart.nullFailed(I[149], 10036, 47, "target"); + if (identifier == null) dart.nullFailed(I[149], 10036, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[149], 10036, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[149], 10037, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[149], 10037, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[149], 10037, 35, "screenY"); if (force != null) { let target_1 = html$._convertDartToNative_EventTarget(target); return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); @@ -76665,7 +83270,7 @@ define([], (function load__dart_sdk() { return this.queryCommandValue.apply(this, args); } [S$1.$registerElement2](type, options = null) { - if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (type == null) dart.nullFailed(I[149], 10116, 36, "type"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$1._registerElement2_1](type, options_1); @@ -76681,9 +83286,6 @@ define([], (function load__dart_sdk() { [S$1._webkitExitFullscreen](...args) { return this.webkitExitFullscreen.apply(this, args); } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } get [S$1.$activeElement]() { return this.activeElement; } @@ -76705,6 +83307,9 @@ define([], (function load__dart_sdk() { get [S$1.$fonts]() { return this.fonts; } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } get [S._childElementCount]() { return this.childElementCount; } @@ -76825,37 +83430,37 @@ define([], (function load__dart_sdk() { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$1.$onPointerLockChange]() { @@ -76864,46 +83469,46 @@ define([], (function load__dart_sdk() { get [S$1.$onPointerLockError]() { return html$.Document.pointerLockErrorEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } get [S$1.$onReadyStateChange]() { return html$.Document.readyStateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } get [S$1.$onSecurityPolicyViolation]() { return html$.Document.securityPolicyViolationEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } get [S$1.$onSelectionChange]() { return html$.Document.selectionChangeEvent.forTarget(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -76937,7 +83542,7 @@ define([], (function load__dart_sdk() { return html$.Element.fullscreenErrorEvent.forTarget(this); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10424, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S$1.$supportsRegisterElement]() { @@ -76947,35 +83552,35 @@ define([], (function load__dart_sdk() { return this[S$1.$supportsRegisterElement]; } [S$1.$registerElement](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 10444, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 10444, 41, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); } [S.$createElement](tagName, typeExtension = null) { - if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10451, 32, "tagName"); return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); } [S$1._createElement_2](tagName) { - if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10459, 27, "tagName"); return this.createElement(tagName); } [S$1._createElementNS_2](namespaceURI, qualifiedName) { - if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10464, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10464, 50, "qualifiedName"); return this.createElementNS(namespaceURI, qualifiedName); } [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { - if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10467, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10467, 55, "qualifiedName"); return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); } [S$1._createNodeIterator](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + if (root == null) dart.nullFailed(I[149], 10474, 41, "root"); return this.createNodeIterator(root, whatToShow, filter, false); } [S$1._createTreeWalker](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + if (root == null) dart.nullFailed(I[149], 10479, 37, "root"); return this.createTreeWalker(root, whatToShow, filter, false); } get [S$1.$visibilityState]() { @@ -77018,9 +83623,9 @@ define([], (function load__dart_sdk() { [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77032,24 +83637,25 @@ define([], (function load__dart_sdk() { [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) })); + dart.setStaticMethodSignature(html$.Document, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Document, () => ({ __proto__: dart.getGetters(html$.Document.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$contentType]: dart.nullable(core.String), - [S$0.$cookie]: dart.nullable(core.String), - [S$0.$currentScript]: dart.nullable(html$.ScriptElement), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, - [S$0.$documentElement]: dart.nullable(html$.Element), - [S$0.$domain]: dart.nullable(core.String), - [S$0.$fullscreenEnabled]: dart.nullable(core.bool), - [S$0._head$1]: dart.nullable(html$.HeadElement), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$contentType]: dart.nullable(core.String), + [S$1.$cookie]: dart.nullable(core.String), + [S$1.$currentScript]: dart.nullable(html$.ScriptElement), + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, + [S$1.$documentElement]: dart.nullable(html$.Element), + [S$1.$domain]: dart.nullable(core.String), + [S$1.$fullscreenEnabled]: dart.nullable(core.bool), + [S$1._head$1]: dart.nullable(html$.HeadElement), [S.$hidden]: dart.nullable(core.bool), - [S$0.$implementation]: dart.nullable(html$.DomImplementation), - [S$0._lastModified]: dart.nullable(core.String), + [S$1.$implementation]: dart.nullable(html$.DomImplementation), + [S$1._lastModified]: dart.nullable(core.String), [S$.$origin]: dart.nullable(core.String), - [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S$1._preferredStylesheetSet]: dart.nullable(core.String), [S.$readyState]: dart.nullable(core.String), [S$1._referrer]: core.String, [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), @@ -77107,33 +83713,33 @@ define([], (function load__dart_sdk() { [S.$onLoadedData]: async.Stream$(html$.Event), [S.$onLoadedMetadata]: async.Stream$(html$.Event), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), - [S.$onPaste]: async.Stream$(html$.ClipboardEvent), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$1.$onPointerLockChange]: async.Stream$(html$.Event), [S$1.$onPointerLockError]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), [S$1.$onReadyStateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), [S$1.$onSelectionChange]: async.Stream$(html$.Event), - [S.$onSelectStart]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSelectStart]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -77150,28 +83756,29 @@ define([], (function load__dart_sdk() { })); dart.setSetterSignature(html$.Document, () => ({ __proto__: dart.getSetters(html$.Document.__proto__), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$cookie]: dart.nullable(core.String), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$cookie]: dart.nullable(core.String), [S$1.$rootScroller]: dart.nullable(html$.Element), [S$1._selectedStylesheetSet]: dart.nullable(core.String), [S$1._title]: core.String })); - dart.setLibraryUri(html$.Document, I[148]); + dart.setLibraryUri(html$.Document, I[150]); + dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); dart.defineLazy(html$.Document, { /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[322] || CT.C322; + return C[332] || CT.C332; }, /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[323] || CT.C323; + return C[333] || CT.C333; }, /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[325] || CT.C325; + return C[335] || CT.C335; }, /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[326] || CT.C326; + return C[336] || CT.C336; } }, false); dart.registerExtension("Document", html$.Document); @@ -77185,16 +83792,29 @@ define([], (function load__dart_sdk() { static new() { return html$.document.createDocumentFragment(); } + static ['_#new#tearOff']() { + return html$.DocumentFragment.new(); + } static html(html, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } static svg(svgContent, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#svg#tearOff'](svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.svg(svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } get [S._children]() { return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); } @@ -77205,14 +83825,14 @@ define([], (function load__dart_sdk() { return dart.nullCheck(this[S$1._docChildren]); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + if (value == null) dart.nullFailed(I[149], 10532, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10551, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S.$innerHtml]() { @@ -77230,15 +83850,18 @@ define([], (function load__dart_sdk() { this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10578, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10586, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); } + static ['_#_#tearOff']() { + return html$.DocumentFragment.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -77260,7 +83883,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DocumentFragment); dart.addTypeCaches(html$.DocumentFragment); - html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; + html$.DocumentFragment[dart.implements] = () => [html$.ParentNode, html$.NonElementParentNode]; dart.setMethodSignature(html$.DocumentFragment, () => ({ __proto__: dart.getMethods(html$.DocumentFragment.__proto__), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77271,6 +83894,7 @@ define([], (function load__dart_sdk() { [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); + dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); dart.setGetterSignature(html$.DocumentFragment, () => ({ __proto__: dart.getGetters(html$.DocumentFragment.__proto__), [S._children]: html$.HtmlCollection, @@ -77285,13 +83909,16 @@ define([], (function load__dart_sdk() { [S.$children]: core.List$(html$.Element), [S.$innerHtml]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DocumentFragment, I[148]); + dart.setLibraryUri(html$.DocumentFragment, I[150]); dart.setFieldSignature(html$.DocumentFragment, () => ({ __proto__: dart.getFields(html$.DocumentFragment.__proto__), [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) })); dart.registerExtension("DocumentFragment", html$.DocumentFragment); - html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { + html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DocumentOrShadowRoot.__(); + } get [S$1.$activeElement]() { return this.activeElement; } @@ -77322,6 +83949,7 @@ define([], (function load__dart_sdk() { [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); + dart.setStaticMethodSignature(html$.DocumentOrShadowRoot, () => ['__']); dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), [S$1.$activeElement]: dart.nullable(html$.Element), @@ -77329,9 +83957,12 @@ define([], (function load__dart_sdk() { [S$1.$pointerLockElement]: dart.nullable(html$.Element), [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) })); - dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); + dart.setLibraryUri(html$.DocumentOrShadowRoot, I[150]); dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.DocumentTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -77339,6 +83970,9 @@ define([], (function load__dart_sdk() { } return html$.DocumentTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.DocumentTimeline.new(options); + } static _create_1(options) { return new DocumentTimeline(options); } @@ -77348,16 +83982,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DocumentTimeline); dart.addTypeCaches(html$.DocumentTimeline); - dart.setLibraryUri(html$.DocumentTimeline, I[148]); + dart.setStaticMethodSignature(html$.DocumentTimeline, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.DocumentTimeline, I[150]); dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); - html$.DomError = class DomError extends _interceptors.Interceptor { + html$.DomError = class DomError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomError.__(); + } static new(name, message = null) { - if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); if (message != null) { return html$.DomError._create_1(name, message); } return html$.DomError._create_2(name); } + static ['_#new#tearOff'](name, message = null) { + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); + return html$.DomError.new(name, message); + } static _create_1(name, message) { return new DOMError(name, message); } @@ -77373,20 +84015,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DomError); dart.addTypeCaches(html$.DomError); + dart.setStaticMethodSignature(html$.DomError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DomError, () => ({ __proto__: dart.getGetters(html$.DomError.__proto__), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DomError, I[148]); + dart.setLibraryUri(html$.DomError, I[150]); dart.registerExtension("DOMError", html$.DomError); - html$.DomException = class DomException extends _interceptors.Interceptor { + html$.DomException = class DomException extends _interceptors.JavaScriptObject { get [$name]() { let errorName = this.name; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; return core.String.as(errorName); } + static ['_#_#tearOff']() { + return html$.DomException.__(); + } get [$message]() { return this.message; } @@ -77396,12 +84042,14 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DomException); dart.addTypeCaches(html$.DomException); + dart.setStaticMethodSignature(html$.DomException, () => ['__']); dart.setGetterSignature(html$.DomException, () => ({ __proto__: dart.getGetters(html$.DomException.__proto__), [$name]: core.String, [$message]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DomException, I[148]); + dart.setLibraryUri(html$.DomException, I[150]); + dart.setStaticFieldSignature(html$.DomException, () => ['INDEX_SIZE', 'HIERARCHY_REQUEST', 'WRONG_DOCUMENT', 'INVALID_CHARACTER', 'NO_MODIFICATION_ALLOWED', 'NOT_FOUND', 'NOT_SUPPORTED', 'INVALID_STATE', 'SYNTAX', 'INVALID_MODIFICATION', 'NAMESPACE', 'INVALID_ACCESS', 'TYPE_MISMATCH', 'SECURITY', 'NETWORK', 'ABORT', 'URL_MISMATCH', 'QUOTA_EXCEEDED', 'TIMEOUT', 'INVALID_NODE_TYPE', 'DATA_CLONE', 'ENCODING', 'NOT_READABLE', 'UNKNOWN', 'CONSTRAINT', 'TRANSACTION_INACTIVE', 'READ_ONLY', 'VERSION', 'OPERATION', 'NOT_ALLOWED', 'TYPE_ERROR']); dart.defineLazy(html$.DomException, { /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { return "IndexSizeError"; @@ -77498,7 +84146,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("DOMException", html$.DomException); - html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { + html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomImplementation.__(); + } [S$1.$createDocument](...args) { return this.createDocument.apply(this, args); } @@ -77521,9 +84172,13 @@ define([], (function load__dart_sdk() { [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), [S$1.$hasFeature]: dart.fnType(core.bool, []) })); - dart.setLibraryUri(html$.DomImplementation, I[148]); + dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); + dart.setLibraryUri(html$.DomImplementation, I[150]); dart.registerExtension("DOMImplementation", html$.DomImplementation); - html$.DomIterator = class DomIterator extends _interceptors.Interceptor { + html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomIterator.__(); + } [S.$next](...args) { return this.next.apply(this, args); } @@ -77534,9 +84189,16 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.DomIterator.__proto__), [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) })); - dart.setLibraryUri(html$.DomIterator, I[148]); + dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); + dart.setLibraryUri(html$.DomIterator, I[150]); dart.registerExtension("Iterator", html$.DomIterator); - html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { + html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomMatrixReadOnly.__(); + } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrixReadOnly.new(init); + } static new(init = null) { if (init != null) { return html$.DomMatrixReadOnly._create_1(init); @@ -77718,6 +84380,7 @@ define([], (function load__dart_sdk() { [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); + dart.setStaticMethodSignature(html$.DomMatrixReadOnly, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -77745,15 +84408,21 @@ define([], (function load__dart_sdk() { [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); + dart.setLibraryUri(html$.DomMatrixReadOnly, I[150]); dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static ['_#_#tearOff']() { + return html$.DomMatrix.__(); + } static new(init = null) { if (init != null) { return html$.DomMatrix._create_1(init); } return html$.DomMatrix._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrix.new(init); + } static _create_1(init) { return new DOMMatrix(init); } @@ -77977,6 +84646,7 @@ define([], (function load__dart_sdk() { [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); + dart.setStaticMethodSignature(html$.DomMatrix, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setSetterSignature(html$.DomMatrix, () => ({ __proto__: dart.getSetters(html$.DomMatrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -78002,12 +84672,18 @@ define([], (function load__dart_sdk() { [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DomMatrix, I[148]); + dart.setLibraryUri(html$.DomMatrix, I[150]); dart.registerExtension("DOMMatrix", html$.DomMatrix); - html$.DomParser = class DomParser extends _interceptors.Interceptor { + html$.DomParser = class DomParser extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomParser.__(); + } static new() { return html$.DomParser._create_1(); } + static ['_#new#tearOff']() { + return html$.DomParser.new(); + } static _create_1() { return new DOMParser(); } @@ -78021,9 +84697,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.DomParser.__proto__), [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) })); - dart.setLibraryUri(html$.DomParser, I[148]); + dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.DomParser, I[150]); dart.registerExtension("DOMParser", html$.DomParser); - html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { + html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomPointReadOnly.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPointReadOnly._create_1(x, y, z, w); @@ -78039,6 +84719,9 @@ define([], (function load__dart_sdk() { } return html$.DomPointReadOnly._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPointReadOnly.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPointReadOnly(x, y, z, w); } @@ -78095,6 +84778,7 @@ define([], (function load__dart_sdk() { [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) })); + dart.setStaticMethodSignature(html$.DomPointReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setGetterSignature(html$.DomPointReadOnly, () => ({ __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78102,9 +84786,12 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DomPointReadOnly, I[148]); + dart.setLibraryUri(html$.DomPointReadOnly, I[150]); dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static ['_#_#tearOff']() { + return html$.DomPoint.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPoint._create_1(x, y, z, w); @@ -78120,6 +84807,9 @@ define([], (function load__dart_sdk() { } return html$.DomPoint._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPoint.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPoint(x, y, z, w); } @@ -78172,6 +84862,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.DomPoint); dart.addTypeCaches(html$.DomPoint); + dart.setStaticMethodSignature(html$.DomPoint, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setSetterSignature(html$.DomPoint, () => ({ __proto__: dart.getSetters(html$.DomPoint.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78179,9 +84870,13 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DomPoint, I[148]); + dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); + dart.setLibraryUri(html$.DomPoint, I[150]); dart.registerExtension("DOMPoint", html$.DomPoint); - html$.DomQuad = class DomQuad extends _interceptors.Interceptor { + html$.DomQuad = class DomQuad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomQuad.__(); + } static new(p1 = null, p2 = null, p3 = null, p4 = null) { if (p4 != null) { let p1_1 = html_common.convertDartToNative_Dictionary(p1); @@ -78207,6 +84902,9 @@ define([], (function load__dart_sdk() { } return html$.DomQuad._create_5(); } + static ['_#new#tearOff'](p1 = null, p2 = null, p3 = null, p4 = null) { + return html$.DomQuad.new(p1, p2, p3, p4); + } static _create_1(p1, p2, p3, p4) { return new DOMQuad(p1, p2, p3, p4); } @@ -78258,6 +84956,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.DomQuad.__proto__), [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) })); + dart.setStaticMethodSignature(html$.DomQuad, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromQuad', '_fromQuad_1', '_fromQuad_2', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomQuad, () => ({ __proto__: dart.getGetters(html$.DomQuad.__proto__), [S$1.$p1]: dart.nullable(html$.DomPoint), @@ -78265,16 +84964,16 @@ define([], (function load__dart_sdk() { [S$1.$p3]: dart.nullable(html$.DomPoint), [S$1.$p4]: dart.nullable(html$.DomPoint) })); - dart.setLibraryUri(html$.DomQuad, I[148]); + dart.setLibraryUri(html$.DomQuad, I[150]); dart.registerExtension("DOMQuad", html$.DomQuad); const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); html$.ImmutableListMixin$ = dart.generic(E => { - var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$FixedSizeListIteratorOfE = () => (__t$FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class ImmutableListMixin extends core.Object { get iterator() { - return new (FixedSizeListIteratorOfE()).new(this); + return new (__t$FixedSizeListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -78284,8 +84983,8 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38019, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } sort(compare = null) { @@ -78295,24 +84994,24 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + if (index == null) dart.nullFailed(I[149], 38031, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + if (index == null) dart.nullFailed(I[149], 38035, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38035, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + if (index == null) dart.nullFailed(I[149], 38039, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38039, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } removeAt(pos) { - if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + if (pos == null) dart.nullFailed(I[149], 38043, 18, "pos"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeLast() { @@ -78322,37 +85021,37 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38055, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38059, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); - if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 38063, 21, "start"); + if (end == null) dart.nullFailed(I[149], 38063, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38063, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 38063, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); - if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + if (start == null) dart.nullFailed(I[149], 38067, 24, "start"); + if (end == null) dart.nullFailed(I[149], 38067, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); - if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 38071, 25, "start"); + if (end == null) dart.nullFailed(I[149], 38071, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38071, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); - if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 38075, 22, "start"); + if (end == null) dart.nullFailed(I[149], 38075, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } } @@ -78404,7 +85103,7 @@ define([], (function load__dart_sdk() { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.setLibraryUri(ImmutableListMixin, I[150]); dart.defineExtensionMethods(ImmutableListMixin, [ 'add', 'addAll', @@ -78428,35 +85127,38 @@ define([], (function load__dart_sdk() { }); html$.ImmutableListMixin = html$.ImmutableListMixin$(); dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); - const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36.new = function() { - Interceptor_ListMixin$36.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36.prototype; - dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); - const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; - (Interceptor_ImmutableListMixin$36.new = function() { - Interceptor_ImmutableListMixin$36.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); - html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { + const JavaScriptObject_ListMixin$36 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36.new = function() { + JavaScriptObject_ListMixin$36.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); + const JavaScriptObject_ImmutableListMixin$36 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36 {}; + (JavaScriptObject_ImmutableListMixin$36.new = function() { + JavaScriptObject_ImmutableListMixin$36.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); + html$.DomRectList = class DomRectList extends JavaScriptObject_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.DomRectList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11428, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11434, 25, "index"); T$0.RectangleOfnum().as(value); - if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + if (value == null) dart.nullFailed(I[149], 11434, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11440, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78487,7 +85189,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11468, 27, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78504,6 +85206,7 @@ define([], (function load__dart_sdk() { [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) })); + dart.setStaticMethodSignature(html$.DomRectList, () => ['__']); dart.setGetterSignature(html$.DomRectList, () => ({ __proto__: dart.getGetters(html$.DomRectList.__proto__), [$length]: core.int @@ -78512,10 +85215,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.DomRectList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.DomRectList, I[148]); + dart.setLibraryUri(html$.DomRectList, I[150]); dart.registerExtension("ClientRectList", html$.DomRectList); dart.registerExtension("DOMRectList", html$.DomRectList); - html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { + html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.JavaScriptObject { [$toString]() { return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); } @@ -78524,11 +85227,11 @@ define([], (function load__dart_sdk() { return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + if (other == null) dart.nullFailed(I[149], 11502, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -78541,12 +85244,12 @@ define([], (function load__dart_sdk() { return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + if (other == null) dart.nullFailed(I[149], 11520, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + if (other == null) dart.nullFailed(I[149], 11530, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -78554,11 +85257,11 @@ define([], (function load__dart_sdk() { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + if (another == null) dart.nullFailed(I[149], 11543, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + if (another == null) dart.nullFailed(I[149], 11553, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -78573,6 +85276,12 @@ define([], (function load__dart_sdk() { get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$.DomRectReadOnly.__(); + } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$.DomRectReadOnly.new(x, y, width, height); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$.DomRectReadOnly._create_1(x, y, width, height); @@ -78664,6 +85373,7 @@ define([], (function load__dart_sdk() { [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) })); + dart.setStaticMethodSignature(html$.DomRectReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomRectReadOnly, () => ({ __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), [$topLeft]: math.Point$(core.num), @@ -78685,37 +85395,40 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.DomRectReadOnly, I[148]); + dart.setLibraryUri(html$.DomRectReadOnly, I[150]); dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); - const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$.new = function() { - Interceptor_ListMixin$36$.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$.prototype; - dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); - const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; - (Interceptor_ImmutableListMixin$36$.new = function() { - Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); - html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { + const JavaScriptObject_ListMixin$36$ = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$.new = function() { + JavaScriptObject_ListMixin$36$.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$, collection.ListMixin$(core.String)); + const JavaScriptObject_ImmutableListMixin$36$ = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$ {}; + (JavaScriptObject_ImmutableListMixin$36$.new = function() { + JavaScriptObject_ImmutableListMixin$36$.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); + html$.DomStringList = class DomStringList extends JavaScriptObject_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.DomStringList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11678, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11684, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + if (value == null) dart.nullFailed(I[149], 11684, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11690, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78746,7 +85459,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11718, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78756,13 +85469,14 @@ define([], (function load__dart_sdk() { html$.DomStringList.prototype[dart.isList] = true; dart.addTypeTests(html$.DomStringList); dart.addTypeCaches(html$.DomStringList); - html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; + html$.DomStringList[dart.implements] = () => [core.List$(core.String), _js_helper.JavaScriptIndexingBehavior$(core.String)]; dart.setMethodSignature(html$.DomStringList, () => ({ __proto__: dart.getMethods(html$.DomStringList.__proto__), [$_get]: dart.fnType(core.String, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); + dart.setStaticMethodSignature(html$.DomStringList, () => ['__']); dart.setGetterSignature(html$.DomStringList, () => ({ __proto__: dart.getGetters(html$.DomStringList.__proto__), [$length]: core.int @@ -78771,9 +85485,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.DomStringList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.DomStringList, I[148]); + dart.setLibraryUri(html$.DomStringList, I[150]); dart.registerExtension("DOMStringList", html$.DomStringList); - html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { + html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomStringMap.__(); + } [S$1.__delete__](...args) { return this.__delete__.apply(this, args); } @@ -78792,9 +85509,13 @@ define([], (function load__dart_sdk() { [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), [S$.$item]: dart.fnType(core.String, [core.String]) })); - dart.setLibraryUri(html$.DomStringMap, I[148]); + dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); + dart.setLibraryUri(html$.DomStringMap, I[150]); dart.registerExtension("DOMStringMap", html$.DomStringMap); - html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { + html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomTokenList.__(); + } get [$length]() { return this.length; } @@ -78838,6 +85559,7 @@ define([], (function load__dart_sdk() { [S$1.$supports]: dart.fnType(core.bool, [core.String]), [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) })); + dart.setStaticMethodSignature(html$.DomTokenList, () => ['__']); dart.setGetterSignature(html$.DomTokenList, () => ({ __proto__: dart.getGetters(html$.DomTokenList.__proto__), [$length]: core.int, @@ -78847,38 +85569,42 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.DomTokenList.__proto__), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.DomTokenList, I[148]); + dart.setLibraryUri(html$.DomTokenList, I[150]); dart.registerExtension("DOMTokenList", html$.DomTokenList); html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + static ['_#_wrap#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); + return new html$._ChildrenElementList._wrap(element); + } contains(element) { return this[S$1._childElements][$contains](element); } get isEmpty() { - return this[S$1._element$2][S._firstElementChild] == null; + return this[S$1._element][S._firstElementChild] == null; } get length() { return this[S$1._childElements][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11795, 27, "index"); return html$.Element.as(this[S$1._childElements][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11799, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); - this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + if (value == null) dart.nullFailed(I[149], 11799, 40, "value"); + this[S$1._element][S$._replaceChild](value, this[S$1._childElements][$_get](index)); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 11803, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); - this[S$1._element$2][S.$append](value); + if (value == null) dart.nullFailed(I[149], 11808, 23, "value"); + this[S$1._element][S.$append](value); return value; } get iterator() { @@ -78886,12 +85612,12 @@ define([], (function load__dart_sdk() { } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); - html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 11815, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element], iterable); } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (_element == null) dart.nullFailed(I[149], 11819, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 11819, 59, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { iterable = T$0.ListOfElement().from(iterable); } @@ -78906,59 +85632,59 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11837, 25, "test"); this[S$1._filter$2](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11841, 25, "test"); this[S$1._filter$2](test, true); } [S$1._filter$2](test, retainMatching) { - if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + if (test == null) dart.nullFailed(I[149], 11845, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[149], 11845, 49, "retainMatching"); let removed = null; if (dart.test(retainMatching)) { - removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + removed = this[S$1._element][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 11848, 42, "e"); return !dart.test(test(e)); }, T$0.ElementTobool())); } else { - removed = this[S$1._element$2][S.$children][$where](test); + removed = this[S$1._element][S.$children][$where](test); } - for (let e of core.Iterable.as(removed)) - dart.dsend(e, 'remove', []); + for (let e of removed) + e[$remove](); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); - if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + if (start == null) dart.nullFailed(I[149], 11855, 22, "start"); + if (end == null) dart.nullFailed(I[149], 11855, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnimplementedError.new()); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); - if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + if (start == null) dart.nullFailed(I[149], 11859, 25, "start"); + if (end == null) dart.nullFailed(I[149], 11859, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11859, 59, "iterable"); dart.throw(new core.UnimplementedError.new()); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); - if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + if (start == null) dart.nullFailed(I[149], 11863, 24, "start"); + if (end == null) dart.nullFailed(I[149], 11863, 35, "end"); dart.throw(new core.UnimplementedError.new()); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); - if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + if (start == null) dart.nullFailed(I[149], 11867, 21, "start"); + if (end == null) dart.nullFailed(I[149], 11867, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 11867, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 11868, 12, "skipCount"); dart.throw(new core.UnimplementedError.new()); } remove(object) { - return html$._ChildrenElementList._remove(this[S$1._element$2], object); + return html$._ChildrenElementList._remove(this[S$1._element], object); } static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); if (html$.Element.is(object)) { let element = object; if (element.parentNode == _element) { @@ -78969,60 +85695,60 @@ define([], (function load__dart_sdk() { return false; } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); html$.Element.as(element); - if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (element == null) dart.nullFailed(I[149], 11887, 34, "element"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } if (index == this.length) { - this[S$1._element$2][S.$append](element); + this[S$1._element][S.$append](element); } else { - this[S$1._element$2].insertBefore(element, this._get(index)); + this[S$1._element].insertBefore(element, this._get(index)); } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11898, 47, "iterable"); dart.throw(new core.UnimplementedError.new()); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11902, 19, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); dart.throw(new core.UnimplementedError.new()); } clear() { - this[S$1._element$2][S$._clearChildren](); + this[S$1._element][S$._clearChildren](); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); let result = this._get(index); if (result != null) { - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); } return result; } removeLast() { let result = this.last; - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); return result; } get first() { - return html$._ChildrenElementList._first(this[S$1._element$2]); + return html$._ChildrenElementList._first(this[S$1._element]); } set first(value) { super.first = value; } static _first(_element) { - if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 11928, 33, "_element"); let result = _element[S._firstElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } get last() { - let result = this[S$1._element$2][S._lastElementChild]; + let result = this[S$1._element][S._lastElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } @@ -79038,9 +85764,9 @@ define([], (function load__dart_sdk() { } }; (html$._ChildrenElementList._wrap = function(element) { - if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); - this[S$1._element$2] = element; + this[S$1._element] = element; ; }).prototype = html$._ChildrenElementList.prototype; dart.addTypeTests(html$._ChildrenElementList); @@ -79056,6 +85782,7 @@ define([], (function load__dart_sdk() { [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) })); + dart.setStaticMethodSignature(html$._ChildrenElementList, () => ['_addAll', '_remove', '_first']); dart.setGetterSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), length: core.int, @@ -79067,10 +85794,10 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(html$._ChildrenElementList, I[148]); + dart.setLibraryUri(html$._ChildrenElementList, I[150]); dart.setFieldSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._element]: dart.finalFieldType(html$.Element), [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) })); dart.defineExtensionMethods(html$._ChildrenElementList, [ @@ -79112,32 +85839,36 @@ define([], (function load__dart_sdk() { dart.addTypeTests(ElementList); ElementList.prototype[_is_ElementList_default] = true; dart.addTypeCaches(ElementList); - dart.setLibraryUri(ElementList, I[148]); + dart.setLibraryUri(ElementList, I[150]); return ElementList; }); html$.ElementList = html$.ElementList$(); dart.addTypeTests(html$.ElementList, _is_ElementList_default); const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); html$._FrozenElementList$ = dart.generic(E => { - var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + var __t$ETovoid = () => (__t$ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); class _FrozenElementList extends collection.ListBase$(E) { + static ['_#_wrap#tearOff'](E, _nodeList) { + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); + return new (html$._FrozenElementList$(E))._wrap(_nodeList); + } get length() { return this[S$1._nodeList][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + if (index == null) dart.nullFailed(I[149], 12343, 21, "index"); return E.as(this[S$1._nodeList][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + if (index == null) dart.nullFailed(I[149], 12345, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + if (value == null) dart.nullFailed(I[149], 12345, 34, "value"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 12349, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); } sort(compare = null) { @@ -79168,11 +85899,11 @@ define([], (function load__dart_sdk() { return new html$._CssStyleDeclarationSet.new(this); } set classes(value) { - if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); return e[S.$classes] = value; - }, ETovoid())); + }, __t$ETovoid())); } get contentEdge() { return new html$._ContentCssListRect.new(this); @@ -79401,15 +86132,15 @@ define([], (function load__dart_sdk() { } } (_FrozenElementList._wrap = function(_nodeList) { - if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); this[S$1._nodeList] = _nodeList; if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + if (element == null) dart.nullFailed(I[149], 12337, 34, "element"); return E.is(element); }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + if (e == null) dart.nullFailed(I[149], 12338, 93, "e"); return !E.is(e); - }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }, T$0.NodeTobool()))), I[149], 12337, 12, "this._nodeList.every((element) => element is E)"); }).prototype = _FrozenElementList.prototype; dart.addTypeTests(_FrozenElementList); _FrozenElementList.prototype[_is__FrozenElementList_default] = true; @@ -79510,7 +86241,7 @@ define([], (function load__dart_sdk() { [$length]: core.int, classes: core.Iterable$(core.String) })); - dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setLibraryUri(_FrozenElementList, I[150]); dart.setFieldSignature(_FrozenElementList, () => ({ __proto__: dart.getFields(_FrozenElementList.__proto__), [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) @@ -79523,19 +86254,23 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { static createElement_tag(tag, typeExtension) { - if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (tag == null) dart.nullFailed(I[149], 15311, 43, "tag"); if (typeExtension != null) { return document.createElement(tag, typeExtension); } return document.createElement(tag); } + static ['_#new#tearOff']() { + return new html$._ElementFactoryProvider.new(); + } }; (html$._ElementFactoryProvider.new = function() { ; }).prototype = html$._ElementFactoryProvider.prototype; dart.addTypeTests(html$._ElementFactoryProvider); dart.addTypeCaches(html$._ElementFactoryProvider); - dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); + dart.setStaticMethodSignature(html$._ElementFactoryProvider, () => ['createElement_tag']); + dart.setLibraryUri(html$._ElementFactoryProvider, I[150]); html$.ScrollAlignment = class ScrollAlignment extends core.Object { get [S$1._value$7]() { return this[S$1._value$6]; @@ -79543,6 +86278,9 @@ define([], (function load__dart_sdk() { set [S$1._value$7](value) { super[S$1._value$7] = value; } + static ['_#_internal#tearOff'](_value) { + return new html$.ScrollAlignment._internal(_value); + } toString() { return "ScrollAlignment." + dart.str(this[S$1._value$7]); } @@ -79553,27 +86291,37 @@ define([], (function load__dart_sdk() { }).prototype = html$.ScrollAlignment.prototype; dart.addTypeTests(html$.ScrollAlignment); dart.addTypeCaches(html$.ScrollAlignment); - dart.setLibraryUri(html$.ScrollAlignment, I[148]); + dart.setLibraryUri(html$.ScrollAlignment, I[150]); dart.setFieldSignature(html$.ScrollAlignment, () => ({ __proto__: dart.getFields(html$.ScrollAlignment.__proto__), [S$1._value$7]: dart.finalFieldType(dart.dynamic) })); + dart.setStaticFieldSignature(html$.ScrollAlignment, () => ['TOP', 'CENTER', 'BOTTOM']); dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); dart.defineLazy(html$.ScrollAlignment, { /*html$.ScrollAlignment.TOP*/get TOP() { - return C[327] || CT.C327; + return C[337] || CT.C337; }, /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[328] || CT.C328; + return C[338] || CT.C338; }, /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - return C[329] || CT.C329; + return C[339] || CT.C339; } }, false); html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.EmbedElement.__(); + } static new() { return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); } + static ['_#new#tearOff']() { + return html$.EmbedElement.new(); + } + static ['_#created#tearOff']() { + return new html$.EmbedElement.created(); + } static get supported() { return html$.Element.isTagSupported("embed"); } @@ -79625,6 +86373,7 @@ define([], (function load__dart_sdk() { [S$.__getter__]: dart.fnType(html$.Node, [core.String]), [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) })); + dart.setStaticMethodSignature(html$.EmbedElement, () => ['__', 'new']); dart.setGetterSignature(html$.EmbedElement, () => ({ __proto__: dart.getGetters(html$.EmbedElement.__proto__), [$height]: core.String, @@ -79641,17 +86390,25 @@ define([], (function load__dart_sdk() { [S.$type]: core.String, [$width]: core.String })); - dart.setLibraryUri(html$.EmbedElement, I[148]); + dart.setStaticGetterSignature(html$.EmbedElement, () => ['supported']); + dart.setLibraryUri(html$.EmbedElement, I[150]); dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ErrorEvent._create_1(type, eventInitDict_1); } return html$.ErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); + return html$.ErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ErrorEvent(type, eventInitDict); } @@ -79676,6 +86433,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ErrorEvent); dart.addTypeCaches(html$.ErrorEvent); + dart.setStaticMethodSignature(html$.ErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ErrorEvent, () => ({ __proto__: dart.getGetters(html$.ErrorEvent.__proto__), [S$1.$colno]: dart.nullable(core.int), @@ -79684,17 +86442,25 @@ define([], (function load__dart_sdk() { [S$1.$lineno]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.ErrorEvent, I[148]); + dart.setLibraryUri(html$.ErrorEvent, I[150]); dart.registerExtension("ErrorEvent", html$.ErrorEvent); html$.EventSource = class EventSource$ extends html$.EventTarget { static new(url, opts) { - if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); return html$.EventSource._factoryEventSource(url, parsedOptions); } + static ['_#new#tearOff'](url, opts) { + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + return html$.EventSource.new(url, {withCredentials: withCredentials}); + } + static ['_#_#tearOff']() { + return html$.EventSource.__(); + } static _factoryEventSource(url, eventSourceInitDict = null) { - if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (url == null) dart.nullFailed(I[149], 15742, 49, "url"); if (eventSourceInitDict != null) { let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); return html$.EventSource._create_1(url, eventSourceInitDict_1); @@ -79735,6 +86501,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.EventSource.__proto__), [S.$close]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.EventSource, () => ['new', '__', '_factoryEventSource', '_create_1', '_create_2']); dart.setGetterSignature(html$.EventSource, () => ({ __proto__: dart.getGetters(html$.EventSource.__proto__), [S.$readyState]: dart.nullable(core.int), @@ -79744,16 +86511,17 @@ define([], (function load__dart_sdk() { [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S$1.$onOpen]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.EventSource, I[148]); + dart.setLibraryUri(html$.EventSource, I[150]); + dart.setStaticFieldSignature(html$.EventSource, () => ['errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.EventSource, { /*html$.EventSource.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.EventSource.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.EventSource.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.EventSource.CLOSED*/get CLOSED() { return 2; @@ -79767,13 +86535,17 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("EventSource", html$.EventSource); html$.Events = class Events extends core.Object { + static ['_#new#tearOff'](_ptr) { + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); + return new html$.Events.new(_ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15826, 36, "type"); return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); } }; (html$.Events.new = function(_ptr) { - if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); this[S$1._ptr] = _ptr; ; }).prototype = html$.Events.prototype; @@ -79783,14 +86555,18 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.Events.__proto__), _get: dart.fnType(async.Stream$(html$.Event), [core.String]) })); - dart.setLibraryUri(html$.Events, I[148]); + dart.setLibraryUri(html$.Events, I[150]); dart.setFieldSignature(html$.Events, () => ({ __proto__: dart.getFields(html$.Events.__proto__), [S$1._ptr]: dart.finalFieldType(html$.EventTarget) })); html$.ElementEvents = class ElementEvents extends html$.Events { + static ['_#new#tearOff'](ptr) { + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); + return new html$.ElementEvents.new(ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15851, 36, "type"); if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { if (dart.test(html_common.Device.isWebKit)) { return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); @@ -79800,19 +86576,23 @@ define([], (function load__dart_sdk() { } }; (html$.ElementEvents.new = function(ptr) { - if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); html$.ElementEvents.__proto__.new.call(this, ptr); ; }).prototype = html$.ElementEvents.prototype; dart.addTypeTests(html$.ElementEvents); dart.addTypeCaches(html$.ElementEvents); - dart.setLibraryUri(html$.ElementEvents, I[148]); + dart.setLibraryUri(html$.ElementEvents, I[150]); + dart.setStaticFieldSignature(html$.ElementEvents, () => ['webkitEvents']); dart.defineLazy(html$.ElementEvents, { /*html$.ElementEvents.webkitEvents*/get webkitEvents() { return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); } }, false); html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ExtendableMessageEvent.__(); + } get [S$.$data]() { return this.data; } @@ -79831,6 +86611,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ExtendableMessageEvent); dart.addTypeCaches(html$.ExtendableMessageEvent); + dart.setStaticMethodSignature(html$.ExtendableMessageEvent, () => ['__']); dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), [S$.$data]: dart.nullable(core.Object), @@ -79839,9 +86620,12 @@ define([], (function load__dart_sdk() { [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), [S.$source]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); + dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); - html$.External = class External extends _interceptors.Interceptor { + html$.External = class External extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.External.__(); + } [S$1.$AddSearchProvider](...args) { return this.AddSearchProvider.apply(this, args); } @@ -79856,9 +86640,13 @@ define([], (function load__dart_sdk() { [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(html$.External, I[148]); + dart.setStaticMethodSignature(html$.External, () => ['__']); + dart.setLibraryUri(html$.External, I[150]); dart.registerExtension("External", html$.External); - html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { + html$.FaceDetector = class FaceDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FaceDetector.__(); + } static new(faceDetectorOptions = null) { if (faceDetectorOptions != null) { let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); @@ -79866,6 +86654,9 @@ define([], (function load__dart_sdk() { } return html$.FaceDetector._create_2(); } + static ['_#new#tearOff'](faceDetectorOptions = null) { + return html$.FaceDetector.new(faceDetectorOptions); + } static _create_1(faceDetectorOptions) { return new FaceDetector(faceDetectorOptions); } @@ -79882,14 +86673,22 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.FaceDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); - dart.setLibraryUri(html$.FaceDetector, I[148]); + dart.setStaticMethodSignature(html$.FaceDetector, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.FaceDetector, I[150]); dart.registerExtension("FaceDetector", html$.FaceDetector); html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.FederatedCredential.__(); + } static new(data) { - if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); let data_1 = html_common.convertDartToNative_Dictionary(data); return html$.FederatedCredential._create_1(data_1); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); + return html$.FederatedCredential.new(data); + } static _create_1(data) { return new FederatedCredential(data); } @@ -79909,6 +86708,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.FederatedCredential); dart.addTypeCaches(html$.FederatedCredential); html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; + dart.setStaticMethodSignature(html$.FederatedCredential, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FederatedCredential, () => ({ __proto__: dart.getGetters(html$.FederatedCredential.__proto__), [S$.$protocol]: dart.nullable(core.String), @@ -79916,15 +86716,23 @@ define([], (function load__dart_sdk() { [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.FederatedCredential, I[148]); + dart.setLibraryUri(html$.FederatedCredential, I[150]); dart.registerExtension("FederatedCredential", html$.FederatedCredential); html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.FetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); + return html$.FetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FetchEvent(type, eventInitDict); } @@ -79950,6 +86758,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.FetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); + dart.setStaticMethodSignature(html$.FetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FetchEvent, () => ({ __proto__: dart.getGetters(html$.FetchEvent.__proto__), [S$1.$clientId]: dart.nullable(core.String), @@ -79957,12 +86766,21 @@ define([], (function load__dart_sdk() { [S$1.$preloadResponse]: async.Future, [S$.$request]: dart.nullable(html$._Request) })); - dart.setLibraryUri(html$.FetchEvent, I[148]); + dart.setLibraryUri(html$.FetchEvent, I[150]); dart.registerExtension("FetchEvent", html$.FetchEvent); html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FieldSetElement.__(); + } static new() { return html$.document.createElement("fieldset"); } + static ['_#new#tearOff']() { + return html$.FieldSetElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FieldSetElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -80015,6 +86833,7 @@ define([], (function load__dart_sdk() { [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(html$.FieldSetElement, () => ['__', 'new']); dart.setGetterSignature(html$.FieldSetElement, () => ({ __proto__: dart.getGetters(html$.FieldSetElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -80031,18 +86850,26 @@ define([], (function load__dart_sdk() { [S$.$disabled]: dart.nullable(core.bool), [$name]: core.String })); - dart.setLibraryUri(html$.FieldSetElement, I[148]); + dart.setLibraryUri(html$.FieldSetElement, I[150]); dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); html$.File = class File$ extends html$.Blob { + static ['_#_#tearOff']() { + return html$.File.__(); + } static new(fileBits, fileName, options = null) { - if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); - if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.File._create_1(fileBits, fileName, options_1); } return html$.File._create_2(fileBits, fileName); } + static ['_#new#tearOff'](fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); + return html$.File.new(fileBits, fileName, options); + } static _create_1(fileBits, fileName, options) { return new File(fileBits, fileName, options); } @@ -80067,6 +86894,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.File); dart.addTypeCaches(html$.File); + dart.setStaticMethodSignature(html$.File, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.File, () => ({ __proto__: dart.getGetters(html$.File.__proto__), [S$1.$lastModified]: dart.nullable(core.int), @@ -80075,20 +86903,23 @@ define([], (function load__dart_sdk() { [$name]: core.String, [S$1.$relativePath]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.File, I[148]); + dart.setLibraryUri(html$.File, I[150]); dart.registerExtension("File", html$.File); html$.FileEntry = class FileEntry extends html$.Entry { + static ['_#_#tearOff']() { + return html$.FileEntry.__(); + } [S$1._createWriter](...args) { return this.createWriter.apply(this, args); } [S$1.$createWriter]() { let completer = T$0.CompleterOfFileWriter().new(); this[S$1._createWriter](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + if (value == null) dart.nullFailed(I[149], 16178, 20, "value"); _js_helper.applyExtension("FileWriter", value); completer.complete(value); }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80102,7 +86933,7 @@ define([], (function load__dart_sdk() { _js_helper.applyExtension("File", value); completer.complete(value); }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80117,37 +86948,43 @@ define([], (function load__dart_sdk() { [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$file]: dart.fnType(async.Future$(html$.File), []) })); - dart.setLibraryUri(html$.FileEntry, I[148]); + dart.setStaticMethodSignature(html$.FileEntry, () => ['__']); + dart.setLibraryUri(html$.FileEntry, I[150]); dart.registerExtension("FileEntry", html$.FileEntry); - const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$0.new = function() { - Interceptor_ListMixin$36$0.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$0.prototype; - dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); - const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; - (Interceptor_ImmutableListMixin$36$0.new = function() { - Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$0.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); - html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { + dart.registerExtension("webkitFileSystemFileEntry", html$.FileEntry); + dart.registerExtension("FileSystemFileEntry", html$.FileEntry); + const JavaScriptObject_ListMixin$36$0 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$0.new = function() { + JavaScriptObject_ListMixin$36$0.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$0.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$0, collection.ListMixin$(html$.File)); + const JavaScriptObject_ImmutableListMixin$36$0 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$0 {}; + (JavaScriptObject_ImmutableListMixin$36$0.new = function() { + JavaScriptObject_ImmutableListMixin$36$0.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$0.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); + html$.FileList = class FileList extends JavaScriptObject_ImmutableListMixin$36$0 { + static ['_#_#tearOff']() { + return html$.FileList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 16218, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + if (index == null) dart.nullFailed(I[149], 16224, 25, "index"); html$.File.as(value); - if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + if (value == null) dart.nullFailed(I[149], 16224, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + if (value == null) dart.nullFailed(I[149], 16230, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -80178,7 +87015,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + if (index == null) dart.nullFailed(I[149], 16258, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -80195,6 +87032,7 @@ define([], (function load__dart_sdk() { [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) })); + dart.setStaticMethodSignature(html$.FileList, () => ['__']); dart.setGetterSignature(html$.FileList, () => ({ __proto__: dart.getGetters(html$.FileList.__proto__), [$length]: core.int @@ -80203,7 +87041,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.FileList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.FileList, I[148]); + dart.setLibraryUri(html$.FileList, I[150]); dart.registerExtension("FileList", html$.FileList); html$.FileReader = class FileReader$ extends html$.EventTarget { get [S.$result]() { @@ -80213,9 +87051,15 @@ define([], (function load__dart_sdk() { } return res; } + static ['_#_#tearOff']() { + return html$.FileReader.__(); + } static new() { return html$.FileReader._create_1(); } + static ['_#new#tearOff']() { + return html$.FileReader.new(); + } static _create_1() { return new FileReader(); } @@ -80265,6 +87109,7 @@ define([], (function load__dart_sdk() { [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.FileReader, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FileReader, () => ({ __proto__: dart.getGetters(html$.FileReader.__proto__), [S.$result]: dart.nullable(core.Object), @@ -80277,25 +87122,26 @@ define([], (function load__dart_sdk() { [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), [S$.$onProgress]: async.Stream$(html$.ProgressEvent) })); - dart.setLibraryUri(html$.FileReader, I[148]); + dart.setLibraryUri(html$.FileReader, I[150]); + dart.setStaticFieldSignature(html$.FileReader, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'DONE', 'EMPTY', 'LOADING']); dart.defineLazy(html$.FileReader, { /*html$.FileReader.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileReader.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.FileReader.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.FileReader.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileReader.DONE*/get DONE() { return 2; @@ -80308,7 +87154,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("FileReader", html$.FileReader); - html$.FileSystem = class FileSystem extends _interceptors.Interceptor { + html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FileSystem.__(); + } static get supported() { return !!window.webkitRequestFileSystem; } @@ -80321,14 +87170,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.FileSystem); dart.addTypeCaches(html$.FileSystem); + dart.setStaticMethodSignature(html$.FileSystem, () => ['__']); dart.setGetterSignature(html$.FileSystem, () => ({ __proto__: dart.getGetters(html$.FileSystem.__proto__), [$name]: dart.nullable(core.String), [S$1.$root]: dart.nullable(html$.DirectoryEntry) })); - dart.setLibraryUri(html$.FileSystem, I[148]); + dart.setStaticGetterSignature(html$.FileSystem, () => ['supported']); + dart.setLibraryUri(html$.FileSystem, I[150]); dart.registerExtension("DOMFileSystem", html$.FileSystem); + dart.registerExtension("WebKitFileSystem", html$.FileSystem); + dart.registerExtension("webkitFileSystem", html$.FileSystem); + dart.registerExtension("FileSystem", html$.FileSystem); html$.FileWriter = class FileWriter extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FileWriter.__(); + } get [S.$error]() { return this.error; } @@ -80381,6 +87238,7 @@ define([], (function load__dart_sdk() { [$truncate]: dart.fnType(dart.void, [core.int]), [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) })); + dart.setStaticMethodSignature(html$.FileWriter, () => ['__']); dart.setGetterSignature(html$.FileWriter, () => ({ __proto__: dart.getGetters(html$.FileWriter.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -80394,25 +87252,26 @@ define([], (function load__dart_sdk() { [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) })); - dart.setLibraryUri(html$.FileWriter, I[148]); + dart.setLibraryUri(html$.FileWriter, I[150]); + dart.setStaticFieldSignature(html$.FileWriter, () => ['abortEvent', 'errorEvent', 'progressEvent', 'writeEvent', 'writeEndEvent', 'writeStartEvent', 'DONE', 'INIT', 'WRITING']); dart.defineLazy(html$.FileWriter, { /*html$.FileWriter.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[336] || CT.C336; + return C[346] || CT.C346; }, /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[337] || CT.C337; + return C[347] || CT.C347; }, /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[338] || CT.C338; + return C[348] || CT.C348; }, /*html$.FileWriter.DONE*/get DONE() { return 2; @@ -80426,14 +87285,21 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("FileWriter", html$.FileWriter); html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.FocusEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FocusEvent._create_1(type, eventInitDict_1); } return html$.FocusEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); + return html$.FocusEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FocusEvent(type, eventInitDict); } @@ -80449,23 +87315,32 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.FocusEvent); dart.addTypeCaches(html$.FocusEvent); + dart.setStaticMethodSignature(html$.FocusEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FocusEvent, () => ({ __proto__: dart.getGetters(html$.FocusEvent.__proto__), [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), [S$1._get_relatedTarget]: dart.dynamic })); - dart.setLibraryUri(html$.FocusEvent, I[148]); + dart.setLibraryUri(html$.FocusEvent, I[150]); dart.registerExtension("FocusEvent", html$.FocusEvent); - html$.FontFace = class FontFace$ extends _interceptors.Interceptor { + html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFace.__(); + } static new(family, source, descriptors = null) { - if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); - if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); if (descriptors != null) { let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); return html$.FontFace._create_1(family, source, descriptors_1); } return html$.FontFace._create_2(family, source); } + static ['_#new#tearOff'](family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); + return html$.FontFace.new(family, source, descriptors); + } static _create_1(family, source, descriptors) { return new FontFace(family, source, descriptors); } @@ -80536,6 +87411,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.FontFace.__proto__), [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) })); + dart.setStaticMethodSignature(html$.FontFace, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFace, () => ({ __proto__: dart.getGetters(html$.FontFace.__proto__), [S$0.$display]: dart.nullable(core.String), @@ -80560,9 +87436,12 @@ define([], (function load__dart_sdk() { [S$1.$variant]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.FontFace, I[148]); + dart.setLibraryUri(html$.FontFace, I[150]); dart.registerExtension("FontFace", html$.FontFace); html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FontFaceSet.__(); + } get [S$.$status]() { return this.status; } @@ -80598,13 +87477,14 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.FontFaceSet); dart.setMethodSignature(html$.FontFaceSet, () => ({ __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [$add]: dart.fnType(dart.nullable(html$.FontFaceSet), [html$.FontFace]), [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), [$clear]: dart.fnType(dart.void, []), [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) })); + dart.setStaticMethodSignature(html$.FontFaceSet, () => ['__']); dart.setGetterSignature(html$.FontFaceSet, () => ({ __proto__: dart.getGetters(html$.FontFaceSet.__proto__), [S$.$status]: dart.nullable(core.String), @@ -80612,28 +87492,36 @@ define([], (function load__dart_sdk() { [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) })); - dart.setLibraryUri(html$.FontFaceSet, I[148]); + dart.setLibraryUri(html$.FontFaceSet, I[150]); + dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); dart.defineLazy(html$.FontFaceSet, { /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[339] || CT.C339; + return C[349] || CT.C349; }, /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[340] || CT.C340; + return C[350] || CT.C350; }, /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - return C[341] || CT.C341; + return C[351] || CT.C351; } }, false); dart.registerExtension("FontFaceSet", html$.FontFaceSet); html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.FontFaceSetLoadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); } return html$.FontFaceSetLoadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); + return html$.FontFaceSetLoadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FontFaceSetLoadEvent(type, eventInitDict); } @@ -80646,32 +87534,45 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.FontFaceSetLoadEvent); dart.addTypeCaches(html$.FontFaceSetLoadEvent); + dart.setStaticMethodSignature(html$.FontFaceSetLoadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) })); - dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); + dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[150]); dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); - html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { + html$.FontFaceSource = class FontFaceSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFaceSource.__(); + } get [S$1.$fonts]() { return this.fonts; } }; dart.addTypeTests(html$.FontFaceSource); dart.addTypeCaches(html$.FontFaceSource); + dart.setStaticMethodSignature(html$.FontFaceSource, () => ['__']); dart.setGetterSignature(html$.FontFaceSource, () => ({ __proto__: dart.getGetters(html$.FontFaceSource.__proto__), [S$1.$fonts]: dart.nullable(html$.FontFaceSet) })); - dart.setLibraryUri(html$.FontFaceSource, I[148]); + dart.setLibraryUri(html$.FontFaceSource, I[150]); dart.registerExtension("FontFaceSource", html$.FontFaceSource); html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ForeignFetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); + return html$.ForeignFetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ForeignFetchEvent(type, eventInitDict); } @@ -80691,20 +87592,27 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); + dart.setStaticMethodSignature(html$.ForeignFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), [S$.$origin]: dart.nullable(core.String), [S$.$request]: dart.nullable(html$._Request) })); - dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); + dart.setLibraryUri(html$.ForeignFetchEvent, I[150]); dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); - html$.FormData = class FormData$ extends _interceptors.Interceptor { + html$.FormData = class FormData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FormData.__(); + } static new(form = null) { if (form != null) { return html$.FormData._create_1(form); } return html$.FormData._create_2(); } + static ['_#new#tearOff'](form = null) { + return html$.FormData.new(form); + } static _create_1(form) { return new FormData(form); } @@ -80748,12 +87656,23 @@ define([], (function load__dart_sdk() { [S$.$has]: dart.fnType(core.bool, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) })); - dart.setLibraryUri(html$.FormData, I[148]); + dart.setStaticMethodSignature(html$.FormData, () => ['__', 'new', '_create_1', '_create_2']); + dart.setStaticGetterSignature(html$.FormData, () => ['supported']); + dart.setLibraryUri(html$.FormData, I[150]); dart.registerExtension("FormData", html$.FormData); html$.FormElement = class FormElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FormElement.__(); + } static new() { return html$.document.createElement("form"); } + static ['_#new#tearOff']() { + return html$.FormElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FormElement.created(); + } get [S$1.$acceptCharset]() { return this.acceptCharset; } @@ -80855,6 +87774,7 @@ define([], (function load__dart_sdk() { [S$1.$reset]: dart.fnType(dart.void, []), [S$1.$submit]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.FormElement, () => ['__', 'new']); dart.setGetterSignature(html$.FormElement, () => ({ __proto__: dart.getGetters(html$.FormElement.__proto__), [S$1.$acceptCharset]: dart.nullable(core.String), @@ -80880,9 +87800,12 @@ define([], (function load__dart_sdk() { [S$1.$noValidate]: dart.nullable(core.bool), [S.$target]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.FormElement, I[148]); + dart.setLibraryUri(html$.FormElement, I[150]); dart.registerExtension("HTMLFormElement", html$.FormElement); - html$.Gamepad = class Gamepad extends _interceptors.Interceptor { + html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Gamepad.__(); + } get [S$1.$axes]() { return this.axes; } @@ -80916,6 +87839,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Gamepad); dart.addTypeCaches(html$.Gamepad); + dart.setStaticMethodSignature(html$.Gamepad, () => ['__']); dart.setGetterSignature(html$.Gamepad, () => ({ __proto__: dart.getGetters(html$.Gamepad.__proto__), [S$1.$axes]: dart.nullable(core.List$(core.num)), @@ -80929,9 +87853,12 @@ define([], (function load__dart_sdk() { [S$1.$pose]: dart.nullable(html$.GamepadPose), [S$.$timestamp]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.Gamepad, I[148]); + dart.setLibraryUri(html$.Gamepad, I[150]); dart.registerExtension("Gamepad", html$.Gamepad); - html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { + html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadButton.__(); + } get [S$.$pressed]() { return this.pressed; } @@ -80944,23 +87871,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.GamepadButton); dart.addTypeCaches(html$.GamepadButton); + dart.setStaticMethodSignature(html$.GamepadButton, () => ['__']); dart.setGetterSignature(html$.GamepadButton, () => ({ __proto__: dart.getGetters(html$.GamepadButton.__proto__), [S$.$pressed]: dart.nullable(core.bool), [S$1.$touched]: dart.nullable(core.bool), [S.$value]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.GamepadButton, I[148]); + dart.setLibraryUri(html$.GamepadButton, I[150]); dart.registerExtension("GamepadButton", html$.GamepadButton); html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.GamepadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.GamepadEvent._create_1(type, eventInitDict_1); } return html$.GamepadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); + return html$.GamepadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new GamepadEvent(type, eventInitDict); } @@ -80973,13 +87908,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.GamepadEvent); dart.addTypeCaches(html$.GamepadEvent); + dart.setStaticMethodSignature(html$.GamepadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.GamepadEvent, () => ({ __proto__: dart.getGetters(html$.GamepadEvent.__proto__), [S$1.$gamepad]: dart.nullable(html$.Gamepad) })); - dart.setLibraryUri(html$.GamepadEvent, I[148]); + dart.setLibraryUri(html$.GamepadEvent, I[150]); dart.registerExtension("GamepadEvent", html$.GamepadEvent); - html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { + html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -81007,6 +87946,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.GamepadPose); dart.addTypeCaches(html$.GamepadPose); + dart.setStaticMethodSignature(html$.GamepadPose, () => ['__']); dart.setGetterSignature(html$.GamepadPose, () => ({ __proto__: dart.getGetters(html$.GamepadPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -81018,9 +87958,9 @@ define([], (function load__dart_sdk() { [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); - dart.setLibraryUri(html$.GamepadPose, I[148]); + dart.setLibraryUri(html$.GamepadPose, I[150]); dart.registerExtension("GamepadPose", html$.GamepadPose); - html$.Geolocation = class Geolocation extends _interceptors.Interceptor { + html$.Geolocation = class Geolocation extends _interceptors.JavaScriptObject { [S$1.$getCurrentPosition](opts) { let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; @@ -81038,10 +87978,9 @@ define([], (function load__dart_sdk() { let completer = T$0.CompleterOfGeoposition().new(); try { this[S$1._getCurrentPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); completer.complete(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); completer.completeError(error); }, T$0.PositionErrorTovoid()), options); } catch (e$) { @@ -81070,16 +88009,15 @@ define([], (function load__dart_sdk() { } let watchId = null; let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + if (!(watchId != null)) dart.assertFailed(null, I[149], 17005, 22, "watchId != null"); this[S$1._clearWatch](dart.nullCheck(watchId)); }, T$.VoidToNull())}); controller.onListen = dart.fn(() => { - if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + if (!(watchId == null)) dart.assertFailed(null, I[149], 17009, 14, "watchId == null"); watchId = this[S$1._watchPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); controller.add(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); controller.addError(error); }, T$0.PositionErrorTovoid()), options); }, T$.VoidTovoid()); @@ -81098,23 +88036,26 @@ define([], (function load__dart_sdk() { } return new html$._GeopositionWrapper.new(domPosition); } + static ['_#_#tearOff']() { + return html$.Geolocation.__(); + } [S$1._clearWatch](...args) { return this.clearWatch.apply(this, args); } [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17040, 46, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); return; } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); return; } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_3](successCallback_1); return; } @@ -81128,17 +88069,17 @@ define([], (function load__dart_sdk() { return this.getCurrentPosition.apply(this, args); } [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_2](successCallback_1, errorCallback); } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_3](successCallback_1); } [S$1._watchPosition_1](...args) { @@ -81159,18 +88100,22 @@ define([], (function load__dart_sdk() { [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), - [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) })); - dart.setLibraryUri(html$.Geolocation, I[148]); + dart.setStaticMethodSignature(html$.Geolocation, () => ['__']); + dart.setLibraryUri(html$.Geolocation, I[150]); dart.registerExtension("Geolocation", html$.Geolocation); html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + static ['_#new#tearOff'](_ptr) { + return new html$._GeopositionWrapper.new(_ptr); + } get coords() { return this[S$1._ptr].coords; } @@ -81192,13 +88137,16 @@ define([], (function load__dart_sdk() { timestamp: core.int, [S$.$timestamp]: core.int })); - dart.setLibraryUri(html$._GeopositionWrapper, I[148]); + dart.setLibraryUri(html$._GeopositionWrapper, I[150]); dart.setFieldSignature(html$._GeopositionWrapper, () => ({ __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), [S$1._ptr]: dart.fieldType(dart.dynamic) })); dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); - html$.Geoposition = class Geoposition extends _interceptors.Interceptor { + html$.Geoposition = class Geoposition extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Geoposition.__(); + } get [S$.$coords]() { return this.coords; } @@ -81208,14 +88156,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Geoposition); dart.addTypeCaches(html$.Geoposition); + dart.setStaticMethodSignature(html$.Geoposition, () => ['__']); dart.setGetterSignature(html$.Geoposition, () => ({ __proto__: dart.getGetters(html$.Geoposition.__proto__), [S$.$coords]: dart.nullable(html$.Coordinates), [S$.$timestamp]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.Geoposition, I[148]); + dart.setLibraryUri(html$.Geoposition, I[150]); dart.registerExtension("Position", html$.Geoposition); + dart.registerExtension("GeolocationPosition", html$.Geoposition); html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + static ['_#_#tearOff']() { + return html$.GlobalEventHandlers.__(); + } get onAbort() { return html$.GlobalEventHandlers.abortEvent.forTarget(this); } @@ -81393,6 +88346,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.GlobalEventHandlers); dart.addTypeCaches(html$.GlobalEventHandlers); html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; + dart.setStaticMethodSignature(html$.GlobalEventHandlers, () => ['__']); dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), onAbort: async.Stream$(html$.Event), @@ -81454,43 +88408,43 @@ define([], (function load__dart_sdk() { onMouseDown: async.Stream$(html$.MouseEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), onMouseEnter: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), onMouseLeave: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), onMouseMove: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), onMouseOut: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), onMouseOver: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), onMouseUp: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), onMouseWheel: async.Stream$(html$.WheelEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), onPause: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), onPlay: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), onPlaying: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), onRateChange: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), onReset: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), onResize: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), onScroll: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), onSeeked: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), onSeeking: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), onSelect: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), onStalled: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), onSubmit: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), onSuspend: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), onTimeUpdate: async.Stream$(html$.Event), @@ -81510,7 +88464,8 @@ define([], (function load__dart_sdk() { onWheel: async.Stream$(html$.WheelEvent), [S$.$onWheel]: async.Stream$(html$.WheelEvent) })); - dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); + dart.setLibraryUri(html$.GlobalEventHandlers, I[150]); + dart.setStaticFieldSignature(html$.GlobalEventHandlers, () => ['abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ 'onAbort', 'onBlur', @@ -81572,178 +88527,181 @@ define([], (function load__dart_sdk() { ]); dart.defineLazy(html$.GlobalEventHandlers, { /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Gyroscope.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -81751,6 +88709,9 @@ define([], (function load__dart_sdk() { } return html$.Gyroscope._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Gyroscope.new(sensorOptions); + } static _create_1(sensorOptions) { return new Gyroscope(sensorOptions); } @@ -81769,18 +88730,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Gyroscope); dart.addTypeCaches(html$.Gyroscope); + dart.setStaticMethodSignature(html$.Gyroscope, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Gyroscope, () => ({ __proto__: dart.getGetters(html$.Gyroscope.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.Gyroscope, I[148]); + dart.setLibraryUri(html$.Gyroscope, I[150]); dart.registerExtension("Gyroscope", html$.Gyroscope); html$.HRElement = class HRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HRElement.__(); + } static new() { return html$.document.createElement("hr"); } + static ['_#new#tearOff']() { + return html$.HRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HRElement.created(); + } get [S$0.$color]() { return this.color; } @@ -81794,6 +88765,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.HRElement.prototype; dart.addTypeTests(html$.HRElement); dart.addTypeCaches(html$.HRElement); + dart.setStaticMethodSignature(html$.HRElement, () => ['__', 'new']); dart.setGetterSignature(html$.HRElement, () => ({ __proto__: dart.getGetters(html$.HRElement.__proto__), [S$0.$color]: core.String @@ -81802,28 +88774,42 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.HRElement.__proto__), [S$0.$color]: core.String })); - dart.setLibraryUri(html$.HRElement, I[148]); + dart.setLibraryUri(html$.HRElement, I[150]); dart.registerExtension("HTMLHRElement", html$.HRElement); html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + return html$.HashChangeEvent.new(type, {canBubble: canBubble, cancelable: cancelable, oldUrl: oldUrl, newUrl: newUrl}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.HashChangeEvent._create_1(type, eventInitDict_1); } return html$.HashChangeEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); + return html$.HashChangeEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new HashChangeEvent(type, eventInitDict); } @@ -81842,17 +88828,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.HashChangeEvent); dart.addTypeCaches(html$.HashChangeEvent); + dart.setStaticMethodSignature(html$.HashChangeEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.HashChangeEvent, () => ({ __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), [S$1.$newUrl]: dart.nullable(core.String), [S$1.$oldUrl]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.HashChangeEvent, I[148]); + dart.setStaticGetterSignature(html$.HashChangeEvent, () => ['supported']); + dart.setLibraryUri(html$.HashChangeEvent, I[150]); dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); html$.HeadElement = class HeadElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadElement.__(); + } static new() { return html$.document.createElement("head"); } + static ['_#new#tearOff']() { + return html$.HeadElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HeadElement.created(); + } }; (html$.HeadElement.created = function() { html$.HeadElement.__proto__.created.call(this); @@ -81860,15 +88857,22 @@ define([], (function load__dart_sdk() { }).prototype = html$.HeadElement.prototype; dart.addTypeTests(html$.HeadElement); dart.addTypeCaches(html$.HeadElement); - dart.setLibraryUri(html$.HeadElement, I[148]); + dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); + dart.setLibraryUri(html$.HeadElement, I[150]); dart.registerExtension("HTMLHeadElement", html$.HeadElement); - html$.Headers = class Headers$ extends _interceptors.Interceptor { + html$.Headers = class Headers$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Headers.__(); + } static new(init = null) { if (init != null) { return html$.Headers._create_1(init); } return html$.Headers._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.Headers.new(init); + } static _create_1(init) { return new Headers(init); } @@ -81878,27 +88882,52 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Headers); dart.addTypeCaches(html$.Headers); - dart.setLibraryUri(html$.Headers, I[148]); + dart.setStaticMethodSignature(html$.Headers, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.Headers, I[150]); dart.registerExtension("Headers", html$.Headers); html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadingElement.__(); + } static h1() { return html$.document.createElement("h1"); } + static ['_#h1#tearOff']() { + return html$.HeadingElement.h1(); + } static h2() { return html$.document.createElement("h2"); } + static ['_#h2#tearOff']() { + return html$.HeadingElement.h2(); + } static h3() { return html$.document.createElement("h3"); } + static ['_#h3#tearOff']() { + return html$.HeadingElement.h3(); + } static h4() { return html$.document.createElement("h4"); } + static ['_#h4#tearOff']() { + return html$.HeadingElement.h4(); + } static h5() { return html$.document.createElement("h5"); } + static ['_#h5#tearOff']() { + return html$.HeadingElement.h5(); + } static h6() { return html$.document.createElement("h6"); } + static ['_#h6#tearOff']() { + return html$.HeadingElement.h6(); + } + static ['_#created#tearOff']() { + return new html$.HeadingElement.created(); + } }; (html$.HeadingElement.created = function() { html$.HeadingElement.__proto__.created.call(this); @@ -81906,12 +88935,16 @@ define([], (function load__dart_sdk() { }).prototype = html$.HeadingElement.prototype; dart.addTypeTests(html$.HeadingElement); dart.addTypeCaches(html$.HeadingElement); - dart.setLibraryUri(html$.HeadingElement, I[148]); + dart.setStaticMethodSignature(html$.HeadingElement, () => ['__', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']); + dart.setLibraryUri(html$.HeadingElement, I[150]); dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); - html$.History = class History extends _interceptors.Interceptor { + html$.History = class History extends _interceptors.JavaScriptObject { static get supportsState() { return !!window.history.pushState; } + static ['_#_#tearOff']() { + return html$.History.__(); + } get [$length]() { return this.length; } @@ -81937,7 +88970,7 @@ define([], (function load__dart_sdk() { return this.go.apply(this, args); } [S$1.$pushState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + if (title == null) dart.nullFailed(I[149], 17686, 57, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._pushState_1](data_1, title, url); return; @@ -81946,7 +88979,7 @@ define([], (function load__dart_sdk() { return this.pushState.apply(this, args); } [S$1.$replaceState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + if (title == null) dart.nullFailed(I[149], 17703, 60, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._replaceState_1](data_1, title, url); return; @@ -81968,6 +89001,7 @@ define([], (function load__dart_sdk() { [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) })); + dart.setStaticMethodSignature(html$.History, () => ['__']); dart.setGetterSignature(html$.History, () => ({ __proto__: dart.getGetters(html$.History.__proto__), [$length]: core.int, @@ -81979,37 +89013,41 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.History.__proto__), [S$1.$scrollRestoration]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.History, I[148]); + dart.setStaticGetterSignature(html$.History, () => ['supportsState']); + dart.setLibraryUri(html$.History, I[150]); dart.registerExtension("History", html$.History); - const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$1.new = function() { - Interceptor_ListMixin$36$1.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$1.prototype; - dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); - const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; - (Interceptor_ImmutableListMixin$36$1.new = function() { - Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$1.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); - html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { + const JavaScriptObject_ListMixin$36$1 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$1.new = function() { + JavaScriptObject_ListMixin$36$1.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$1.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$1, collection.ListMixin$(html$.Node)); + const JavaScriptObject_ImmutableListMixin$36$1 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$1 {}; + (JavaScriptObject_ImmutableListMixin$36$1.new = function() { + JavaScriptObject_ImmutableListMixin$36$1.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$1.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); + html$.HtmlCollection = class HtmlCollection extends JavaScriptObject_ImmutableListMixin$36$1 { + static ['_#_#tearOff']() { + return html$.HtmlCollection.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 17731, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + if (index == null) dart.nullFailed(I[149], 17737, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + if (value == null) dart.nullFailed(I[149], 17737, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + if (value == null) dart.nullFailed(I[149], 17743, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -82040,7 +89078,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + if (index == null) dart.nullFailed(I[149], 17771, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -82053,7 +89091,7 @@ define([], (function load__dart_sdk() { html$.HtmlCollection.prototype[dart.isList] = true; dart.addTypeTests(html$.HtmlCollection); dart.addTypeCaches(html$.HtmlCollection); - html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + html$.HtmlCollection[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.HtmlCollection, () => ({ __proto__: dart.getMethods(html$.HtmlCollection.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -82061,6 +89099,7 @@ define([], (function load__dart_sdk() { [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) })); + dart.setStaticMethodSignature(html$.HtmlCollection, () => ['__']); dart.setGetterSignature(html$.HtmlCollection, () => ({ __proto__: dart.getGetters(html$.HtmlCollection.__proto__), [$length]: core.int @@ -82069,9 +89108,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.HtmlCollection.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.HtmlCollection, I[148]); + dart.setLibraryUri(html$.HtmlCollection, I[150]); dart.registerExtension("HTMLCollection", html$.HtmlCollection); html$.HtmlDocument = class HtmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.HtmlDocument.__(); + } get [S$1.$body]() { return this.body; } @@ -82082,18 +89124,18 @@ define([], (function load__dart_sdk() { return this[S$1._caretRangeFromPoint](x, y); } [S$1.$elementFromPoint](x, y) { - if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); - if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + if (x == null) dart.nullFailed(I[149], 17800, 33, "x"); + if (y == null) dart.nullFailed(I[149], 17800, 40, "y"); return this[S$1._elementFromPoint](x, y); } get [S.$head]() { - return this[S$0._head$1]; + return this[S$1._head$1]; } get [S$1.$lastModified]() { - return this[S$0._lastModified]; + return this[S$1._lastModified]; } get [S$1.$preferredStylesheetSet]() { - return this[S$0._preferredStylesheetSet]; + return this[S$1._preferredStylesheetSet]; } get [S$1.$referrer]() { return this[S$1._referrer]; @@ -82111,24 +89153,24 @@ define([], (function load__dart_sdk() { return this[S$1._title]; } set [S.$title](value) { - if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + if (value == null) dart.nullFailed(I[149], 17821, 20, "value"); this[S$1._title] = value; } [S$1.$exitFullscreen]() { this[S$1._webkitExitFullscreen](); } [S$1.$registerElement2](tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + if (tag == null) dart.nullFailed(I[149], 17894, 36, "tag"); return html$._registerCustomElement(window, this, tag, options); } [S$1.$register](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 17900, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 17900, 34, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); } static _determineVisibilityChangeEventType(e) { - if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (e == null) dart.nullFailed(I[149], 17917, 65, "e"); if (typeof e.hidden !== "undefined") { return "visibilitychange"; } else if (typeof e.mozHidden !== "undefined") { @@ -82144,7 +89186,7 @@ define([], (function load__dart_sdk() { return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); } [S$1.$createElementUpgrader](type, opts) { - if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + if (type == null) dart.nullFailed(I[149], 17944, 46, "type"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return new html$._JSElementUpgrader.new(this, type, extendsTag); } @@ -82158,6 +89200,7 @@ define([], (function load__dart_sdk() { [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) })); + dart.setStaticMethodSignature(html$.HtmlDocument, () => ['__', '_determineVisibilityChangeEventType']); dart.setGetterSignature(html$.HtmlDocument, () => ({ __proto__: dart.getGetters(html$.HtmlDocument.__proto__), [S$1.$body]: dart.nullable(html$.BodyElement), @@ -82176,26 +89219,40 @@ define([], (function load__dart_sdk() { [S$1.$selectedStylesheetSet]: dart.nullable(core.String), [S.$title]: core.String })); - dart.setLibraryUri(html$.HtmlDocument, I[148]); + dart.setLibraryUri(html$.HtmlDocument, I[150]); + dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); dart.defineLazy(html$.HtmlDocument, { /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - return C[343] || CT.C343; + return C[353] || CT.C353; } }, false); dart.registerExtension("HTMLDocument", html$.HtmlDocument); html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlFormControlsCollection.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } }; dart.addTypeTests(html$.HtmlFormControlsCollection); dart.addTypeCaches(html$.HtmlFormControlsCollection); - dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); + dart.setStaticMethodSignature(html$.HtmlFormControlsCollection, () => ['__']); + dart.setLibraryUri(html$.HtmlFormControlsCollection, I[150]); dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HtmlHtmlElement.__(); + } static new() { return html$.document.createElement("html"); } + static ['_#new#tearOff']() { + return html$.HtmlHtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlHtmlElement.created(); + } }; (html$.HtmlHtmlElement.created = function() { html$.HtmlHtmlElement.__proto__.created.call(this); @@ -82203,9 +89260,13 @@ define([], (function load__dart_sdk() { }).prototype = html$.HtmlHtmlElement.prototype; dart.addTypeTests(html$.HtmlHtmlElement); dart.addTypeCaches(html$.HtmlHtmlElement); - dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); + dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); + dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); - html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { + html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.HtmlHyperlinkElementUtils.__(); + } get [S$.$hash]() { return this.hash; } @@ -82272,6 +89333,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.HtmlHyperlinkElementUtils); dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); + dart.setStaticMethodSignature(html$.HtmlHyperlinkElementUtils, () => ['__']); dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -82299,9 +89361,12 @@ define([], (function load__dart_sdk() { [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); + dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[150]); dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlOptionsCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -82312,9 +89377,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) })); - dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); + dart.setStaticMethodSignature(html$.HtmlOptionsCollection, () => ['__']); + dart.setLibraryUri(html$.HtmlOptionsCollection, I[150]); dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestEventTarget.__(); + } get [S.$onAbort]() { return html$.HttpRequestEventTarget.abortEvent.forTarget(this); } @@ -82339,6 +89408,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.HttpRequestEventTarget); dart.addTypeCaches(html$.HttpRequestEventTarget); + dart.setStaticMethodSignature(html$.HttpRequestEventTarget, () => ['__']); dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), [S.$onAbort]: async.Stream$(html$.ProgressEvent), @@ -82349,52 +89419,53 @@ define([], (function load__dart_sdk() { [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) })); - dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); + dart.setLibraryUri(html$.HttpRequestEventTarget, I[150]); + dart.setStaticFieldSignature(html$.HttpRequestEventTarget, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'timeoutEvent']); dart.defineLazy(html$.HttpRequestEventTarget, { /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - return C[345] || CT.C345; + return C[355] || CT.C355; } }, false); dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { static getString(url, opts) { - if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + if (url == null) dart.nullFailed(I[149], 18116, 42, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18120, 28, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } static postFormData(url, data, opts) { - if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); - if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + if (url == null) dart.nullFailed(I[149], 18148, 50, "url"); + if (data == null) dart.nullFailed(I[149], 18148, 75, "data"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; let parts = []; data[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); - if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + if (key == null) dart.nullFailed(I[149], 18154, 19, "key"); + if (value == null) dart.nullFailed(I[149], 18154, 24, "value"); parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); }, T$0.StringAndStringTovoid())); let formData = parts[$join]("&"); @@ -82405,7 +89476,7 @@ define([], (function load__dart_sdk() { return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); } static request(url, opts) { - if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + if (url == null) dart.nullFailed(I[149], 18229, 45, "url"); let method = opts && 'method' in opts ? opts.method : null; let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; @@ -82430,8 +89501,8 @@ define([], (function load__dart_sdk() { } if (requestHeaders != null) { requestHeaders[$forEach](dart.fn((header, value) => { - if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); - if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + if (header == null) dart.nullFailed(I[149], 18258, 31, "header"); + if (value == null) dart.nullFailed(I[149], 18258, 39, "value"); xhr.setRequestHeader(header, value); }, T$0.StringAndStringTovoid())); } @@ -82439,7 +89510,7 @@ define([], (function load__dart_sdk() { xhr[S$.$onProgress].listen(onProgress); } xhr[S.$onLoad].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + if (e == null) dart.nullFailed(I[149], 18267, 24, "e"); let status = dart.nullCheck(xhr.status); let accepted = status >= 200 && status < 300; let fileUri = status === 0; @@ -82476,12 +89547,12 @@ define([], (function load__dart_sdk() { return "overrideMimeType" in xhr; } static requestCrossOrigin(url, opts) { - if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + if (url == null) dart.nullFailed(I[149], 18340, 51, "url"); let method = opts && 'method' in opts ? opts.method : null; let sendData = opts && 'sendData' in opts ? opts.sendData : null; if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18343, 69, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } @@ -82536,6 +89607,12 @@ define([], (function load__dart_sdk() { [S.$open](...args) { return this.open.apply(this, args); } + static ['_#_#tearOff']() { + return html$.HttpRequest.__(); + } + static ['_#new#tearOff']() { + return html$.HttpRequest.new(); + } static new() { return html$.HttpRequest._create_1(); } @@ -82621,6 +89698,7 @@ define([], (function load__dart_sdk() { [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) })); + dart.setStaticMethodSignature(html$.HttpRequest, () => ['getString', 'postFormData', 'request', 'requestCrossOrigin', '__', 'new', '_create_1']); dart.setGetterSignature(html$.HttpRequest, () => ({ __proto__: dart.getGetters(html$.HttpRequest.__proto__), [S$1.$responseHeaders]: core.Map$(core.String, core.String), @@ -82644,10 +89722,12 @@ define([], (function load__dart_sdk() { [S$1.$timeout]: dart.nullable(core.int), [S$1.$withCredentials]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.HttpRequest, I[148]); + dart.setStaticGetterSignature(html$.HttpRequest, () => ['supportsProgressEvent', 'supportsCrossOrigin', 'supportsLoadEndEvent', 'supportsOverrideMimeType']); + dart.setLibraryUri(html$.HttpRequest, I[150]); + dart.setStaticFieldSignature(html$.HttpRequest, () => ['readyStateChangeEvent', 'DONE', 'HEADERS_RECEIVED', 'LOADING', 'OPENED', 'UNSENT']); dart.defineLazy(html$.HttpRequest, { /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.HttpRequest.DONE*/get DONE() { return 4; @@ -82666,15 +89746,29 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("XMLHttpRequest", html$.HttpRequest); - html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; + html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestUpload.__(); + } + }; dart.addTypeTests(html$.HttpRequestUpload); dart.addTypeCaches(html$.HttpRequestUpload); - dart.setLibraryUri(html$.HttpRequestUpload, I[148]); + dart.setStaticMethodSignature(html$.HttpRequestUpload, () => ['__']); + dart.setLibraryUri(html$.HttpRequestUpload, I[150]); dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.IFrameElement.__(); + } static new() { return html$.document.createElement("iframe"); } + static ['_#new#tearOff']() { + return html$.IFrameElement.new(); + } + static ['_#created#tearOff']() { + return new html$.IFrameElement.created(); + } get [S$1.$allow]() { return this.allow; } @@ -82751,6 +89845,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.IFrameElement.prototype; dart.addTypeTests(html$.IFrameElement); dart.addTypeCaches(html$.IFrameElement); + dart.setStaticMethodSignature(html$.IFrameElement, () => ['__', 'new']); dart.setGetterSignature(html$.IFrameElement, () => ({ __proto__: dart.getGetters(html$.IFrameElement.__proto__), [S$1.$allow]: dart.nullable(core.String), @@ -82780,9 +89875,12 @@ define([], (function load__dart_sdk() { [S$1.$srcdoc]: dart.nullable(core.String), [$width]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.IFrameElement, I[148]); + dart.setLibraryUri(html$.IFrameElement, I[150]); dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); - html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { + html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IdleDeadline.__(); + } get [S$1.$didTimeout]() { return this.didTimeout; } @@ -82796,13 +89894,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.IdleDeadline.__proto__), [S$1.$timeRemaining]: dart.fnType(core.double, []) })); + dart.setStaticMethodSignature(html$.IdleDeadline, () => ['__']); dart.setGetterSignature(html$.IdleDeadline, () => ({ __proto__: dart.getGetters(html$.IdleDeadline.__proto__), [S$1.$didTimeout]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.IdleDeadline, I[148]); + dart.setLibraryUri(html$.IdleDeadline, I[150]); dart.registerExtension("IdleDeadline", html$.IdleDeadline); - html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { + html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmap.__(); + } get [$height]() { return this.height; } @@ -82819,14 +89921,18 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ImageBitmap.__proto__), [S.$close]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.ImageBitmap, () => ['__']); dart.setGetterSignature(html$.ImageBitmap, () => ({ __proto__: dart.getGetters(html$.ImageBitmap.__proto__), [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.ImageBitmap, I[148]); + dart.setLibraryUri(html$.ImageBitmap, I[150]); dart.registerExtension("ImageBitmap", html$.ImageBitmap); - html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { + html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmapRenderingContext.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -82840,17 +89946,25 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) })); + dart.setStaticMethodSignature(html$.ImageBitmapRenderingContext, () => ['__']); dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); - dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); + dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[150]); dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); - html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { + html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageCapture.__(); + } static new(track) { - if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); return html$.ImageCapture._create_1(track); } + static ['_#new#tearOff'](track) { + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); + return html$.ImageCapture.new(track); + } static _create_1(track) { return new ImageCapture(track); } @@ -82867,7 +89981,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); } [S$1.$setOptions](photoSettings) { - if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + if (photoSettings == null) dart.nullFailed(I[149], 18991, 25, "photoSettings"); let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); } @@ -82889,15 +90003,19 @@ define([], (function load__dart_sdk() { [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) })); + dart.setStaticMethodSignature(html$.ImageCapture, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ImageCapture, () => ({ __proto__: dart.getGetters(html$.ImageCapture.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); - dart.setLibraryUri(html$.ImageCapture, I[148]); + dart.setLibraryUri(html$.ImageCapture, I[150]); dart.registerExtension("ImageCapture", html$.ImageCapture); - html$.ImageData = class ImageData$ extends _interceptors.Interceptor { + html$.ImageData = class ImageData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageData.__(); + } static new(data_OR_sw, sh_OR_sw, sh = null) { - if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); } @@ -82909,6 +90027,10 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); + return html$.ImageData.new(data_OR_sw, sh_OR_sw, sh); + } static _create_1(data_OR_sw, sh_OR_sw) { return new ImageData(data_OR_sw, sh_OR_sw); } @@ -82930,15 +90052,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ImageData); dart.addTypeCaches(html$.ImageData); + dart.setStaticMethodSignature(html$.ImageData, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.ImageData, () => ({ __proto__: dart.getGetters(html$.ImageData.__proto__), [S$.$data]: typed_data.Uint8ClampedList, [$height]: core.int, [$width]: core.int })); - dart.setLibraryUri(html$.ImageData, I[148]); + dart.setLibraryUri(html$.ImageData, I[150]); dart.registerExtension("ImageData", html$.ImageData); html$.ImageElement = class ImageElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ImageElement.__(); + } static new(opts) { let src = opts && 'src' in opts ? opts.src : null; let width = opts && 'width' in opts ? opts.width : null; @@ -82949,6 +90075,15 @@ define([], (function load__dart_sdk() { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.ImageElement.new({src: src, width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.ImageElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -83042,6 +90177,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(html$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(html$.ImageElement, () => ({ __proto__: dart.getGetters(html$.ImageElement.__proto__), [S$.$alt]: dart.nullable(core.String), @@ -83074,9 +90210,12 @@ define([], (function load__dart_sdk() { [S$1.$useMap]: dart.nullable(core.String), [$width]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.ImageElement, I[148]); + dart.setLibraryUri(html$.ImageElement, I[150]); dart.registerExtension("HTMLImageElement", html$.ImageElement); - html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { + html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.InputDeviceCapabilities.__(); + } static new(deviceInitDict = null) { if (deviceInitDict != null) { let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); @@ -83084,6 +90223,9 @@ define([], (function load__dart_sdk() { } return html$.InputDeviceCapabilities._create_2(); } + static ['_#new#tearOff'](deviceInitDict = null) { + return html$.InputDeviceCapabilities.new(deviceInitDict); + } static _create_1(deviceInitDict) { return new InputDeviceCapabilities(deviceInitDict); } @@ -83096,13 +90238,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.InputDeviceCapabilities); dart.addTypeCaches(html$.InputDeviceCapabilities); + dart.setStaticMethodSignature(html$.InputDeviceCapabilities, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), [S$1.$firesTouchEvents]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); + dart.setLibraryUri(html$.InputDeviceCapabilities, I[150]); dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); html$.InputElement = class InputElement extends html$.HtmlElement { + static ['_#new#tearOff'](opts) { + let type = opts && 'type' in opts ? opts.type : null; + return html$.InputElement.new({type: type}); + } static new(opts) { let type = opts && 'type' in opts ? opts.type : null; let e = html$.InputElement.as(html$.document[S.$createElement]("input")); @@ -83118,6 +90265,12 @@ define([], (function load__dart_sdk() { } return e; } + static ['_#_#tearOff']() { + return html$.InputElement.__(); + } + static ['_#created#tearOff']() { + return new html$.InputElement.created(); + } get [S$1.$accept]() { return this.accept; } @@ -83440,6 +90593,7 @@ define([], (function load__dart_sdk() { [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.InputElement, () => ['new', '__']); dart.setGetterSignature(html$.InputElement, () => ({ __proto__: dart.getGetters(html$.InputElement.__proto__), [S$1.$accept]: dart.nullable(core.String), @@ -83539,7 +90693,7 @@ define([], (function load__dart_sdk() { [S$1.$directory]: dart.nullable(core.bool), [$width]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.InputElement, I[148]); + dart.setLibraryUri(html$.InputElement, I[150]); dart.registerExtension("HTMLInputElement", html$.InputElement); html$.InputElementBase = class InputElementBase extends core.Object {}; (html$.InputElementBase.new = function() { @@ -83548,18 +90702,22 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.InputElementBase); dart.addTypeCaches(html$.InputElementBase); html$.InputElementBase[dart.implements] = () => [html$.Element]; - dart.setLibraryUri(html$.InputElementBase, I[148]); + dart.setLibraryUri(html$.InputElementBase, I[150]); html$.HiddenInputElement = class HiddenInputElement extends core.Object { static new() { return html$.InputElement.new({type: "hidden"}); } + static ['_#new#tearOff']() { + return html$.HiddenInputElement.new(); + } }; (html$.HiddenInputElement[dart.mixinNew] = function() { }).prototype = html$.HiddenInputElement.prototype; dart.addTypeTests(html$.HiddenInputElement); dart.addTypeCaches(html$.HiddenInputElement); html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.HiddenInputElement, I[148]); + dart.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); + dart.setLibraryUri(html$.HiddenInputElement, I[150]); html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; (html$.TextInputElementBase.new = function() { ; @@ -83567,11 +90725,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.TextInputElementBase); dart.addTypeCaches(html$.TextInputElementBase); html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.TextInputElementBase, I[148]); + dart.setLibraryUri(html$.TextInputElementBase, I[150]); html$.SearchInputElement = class SearchInputElement extends core.Object { static new() { return html$.InputElement.new({type: "search"}); } + static ['_#new#tearOff']() { + return html$.SearchInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "search"}).type === "search"; } @@ -83581,22 +90742,31 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.SearchInputElement); dart.addTypeCaches(html$.SearchInputElement); html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.SearchInputElement, I[148]); + dart.setStaticMethodSignature(html$.SearchInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.SearchInputElement, () => ['supported']); + dart.setLibraryUri(html$.SearchInputElement, I[150]); html$.TextInputElement = class TextInputElement extends core.Object { static new() { return html$.InputElement.new({type: "text"}); } + static ['_#new#tearOff']() { + return html$.TextInputElement.new(); + } }; (html$.TextInputElement[dart.mixinNew] = function() { }).prototype = html$.TextInputElement.prototype; dart.addTypeTests(html$.TextInputElement); dart.addTypeCaches(html$.TextInputElement); html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.TextInputElement, I[148]); + dart.setStaticMethodSignature(html$.TextInputElement, () => ['new']); + dart.setLibraryUri(html$.TextInputElement, I[150]); html$.UrlInputElement = class UrlInputElement extends core.Object { static new() { return html$.InputElement.new({type: "url"}); } + static ['_#new#tearOff']() { + return html$.UrlInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "url"}).type === "url"; } @@ -83606,11 +90776,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.UrlInputElement); dart.addTypeCaches(html$.UrlInputElement); html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.UrlInputElement, I[148]); + dart.setStaticMethodSignature(html$.UrlInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.UrlInputElement, () => ['supported']); + dart.setLibraryUri(html$.UrlInputElement, I[150]); html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { static new() { return html$.InputElement.new({type: "tel"}); } + static ['_#new#tearOff']() { + return html$.TelephoneInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "tel"}).type === "tel"; } @@ -83620,11 +90795,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.TelephoneInputElement); dart.addTypeCaches(html$.TelephoneInputElement); html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.TelephoneInputElement, I[148]); + dart.setStaticMethodSignature(html$.TelephoneInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.TelephoneInputElement, () => ['supported']); + dart.setLibraryUri(html$.TelephoneInputElement, I[150]); html$.EmailInputElement = class EmailInputElement extends core.Object { static new() { return html$.InputElement.new({type: "email"}); } + static ['_#new#tearOff']() { + return html$.EmailInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "email"}).type === "email"; } @@ -83634,18 +90814,24 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.EmailInputElement); dart.addTypeCaches(html$.EmailInputElement); html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.EmailInputElement, I[148]); + dart.setStaticMethodSignature(html$.EmailInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.EmailInputElement, () => ['supported']); + dart.setLibraryUri(html$.EmailInputElement, I[150]); html$.PasswordInputElement = class PasswordInputElement extends core.Object { static new() { return html$.InputElement.new({type: "password"}); } + static ['_#new#tearOff']() { + return html$.PasswordInputElement.new(); + } }; (html$.PasswordInputElement[dart.mixinNew] = function() { }).prototype = html$.PasswordInputElement.prototype; dart.addTypeTests(html$.PasswordInputElement); dart.addTypeCaches(html$.PasswordInputElement); html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; - dart.setLibraryUri(html$.PasswordInputElement, I[148]); + dart.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); + dart.setLibraryUri(html$.PasswordInputElement, I[150]); html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; (html$.RangeInputElementBase.new = function() { ; @@ -83653,11 +90839,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.RangeInputElementBase); dart.addTypeCaches(html$.RangeInputElementBase); html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.RangeInputElementBase, I[148]); + dart.setLibraryUri(html$.RangeInputElementBase, I[150]); html$.DateInputElement = class DateInputElement extends core.Object { static new() { return html$.InputElement.new({type: "date"}); } + static ['_#new#tearOff']() { + return html$.DateInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "date"}).type === "date"; } @@ -83667,11 +90856,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.DateInputElement); dart.addTypeCaches(html$.DateInputElement); html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.DateInputElement, I[148]); + dart.setStaticMethodSignature(html$.DateInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.DateInputElement, () => ['supported']); + dart.setLibraryUri(html$.DateInputElement, I[150]); html$.MonthInputElement = class MonthInputElement extends core.Object { static new() { return html$.InputElement.new({type: "month"}); } + static ['_#new#tearOff']() { + return html$.MonthInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "month"}).type === "month"; } @@ -83681,11 +90875,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.MonthInputElement); dart.addTypeCaches(html$.MonthInputElement); html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.MonthInputElement, I[148]); + dart.setStaticMethodSignature(html$.MonthInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.MonthInputElement, () => ['supported']); + dart.setLibraryUri(html$.MonthInputElement, I[150]); html$.WeekInputElement = class WeekInputElement extends core.Object { static new() { return html$.InputElement.new({type: "week"}); } + static ['_#new#tearOff']() { + return html$.WeekInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "week"}).type === "week"; } @@ -83695,11 +90894,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.WeekInputElement); dart.addTypeCaches(html$.WeekInputElement); html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.WeekInputElement, I[148]); + dart.setStaticMethodSignature(html$.WeekInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.WeekInputElement, () => ['supported']); + dart.setLibraryUri(html$.WeekInputElement, I[150]); html$.TimeInputElement = class TimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "time"}); } + static ['_#new#tearOff']() { + return html$.TimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "time"}).type === "time"; } @@ -83709,11 +90913,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.TimeInputElement); dart.addTypeCaches(html$.TimeInputElement); html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.TimeInputElement, I[148]); + dart.setStaticMethodSignature(html$.TimeInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.TimeInputElement, () => ['supported']); + dart.setLibraryUri(html$.TimeInputElement, I[150]); html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "datetime-local"}); } + static ['_#new#tearOff']() { + return html$.LocalDateTimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; } @@ -83723,11 +90932,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.LocalDateTimeInputElement); dart.addTypeCaches(html$.LocalDateTimeInputElement); html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); + dart.setStaticMethodSignature(html$.LocalDateTimeInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.LocalDateTimeInputElement, () => ['supported']); + dart.setLibraryUri(html$.LocalDateTimeInputElement, I[150]); html$.NumberInputElement = class NumberInputElement extends core.Object { static new() { return html$.InputElement.new({type: "number"}); } + static ['_#new#tearOff']() { + return html$.NumberInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "number"}).type === "number"; } @@ -83737,11 +90951,16 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.NumberInputElement); dart.addTypeCaches(html$.NumberInputElement); html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.NumberInputElement, I[148]); + dart.setStaticMethodSignature(html$.NumberInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.NumberInputElement, () => ['supported']); + dart.setLibraryUri(html$.NumberInputElement, I[150]); html$.RangeInputElement = class RangeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "range"}); } + static ['_#new#tearOff']() { + return html$.RangeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "range"}).type === "range"; } @@ -83751,29 +90970,39 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.RangeInputElement); dart.addTypeCaches(html$.RangeInputElement); html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - dart.setLibraryUri(html$.RangeInputElement, I[148]); + dart.setStaticMethodSignature(html$.RangeInputElement, () => ['new']); + dart.setStaticGetterSignature(html$.RangeInputElement, () => ['supported']); + dart.setLibraryUri(html$.RangeInputElement, I[150]); html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { static new() { return html$.InputElement.new({type: "checkbox"}); } + static ['_#new#tearOff']() { + return html$.CheckboxInputElement.new(); + } }; (html$.CheckboxInputElement[dart.mixinNew] = function() { }).prototype = html$.CheckboxInputElement.prototype; dart.addTypeTests(html$.CheckboxInputElement); dart.addTypeCaches(html$.CheckboxInputElement); html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.CheckboxInputElement, I[148]); + dart.setStaticMethodSignature(html$.CheckboxInputElement, () => ['new']); + dart.setLibraryUri(html$.CheckboxInputElement, I[150]); html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "radio"}); } + static ['_#new#tearOff']() { + return html$.RadioButtonInputElement.new(); + } }; (html$.RadioButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.RadioButtonInputElement.prototype; dart.addTypeTests(html$.RadioButtonInputElement); dart.addTypeCaches(html$.RadioButtonInputElement); html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); + dart.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); + dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { get files() { return this[S$1.files]; @@ -83784,6 +91013,9 @@ define([], (function load__dart_sdk() { static new() { return html$.InputElement.new({type: "file"}); } + static ['_#new#tearOff']() { + return html$.FileUploadInputElement.new(); + } }; (html$.FileUploadInputElement[dart.mixinNew] = function() { this[S$1.files] = null; @@ -83791,7 +91023,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.FileUploadInputElement); dart.addTypeCaches(html$.FileUploadInputElement); html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.FileUploadInputElement, I[148]); + dart.setStaticMethodSignature(html$.FileUploadInputElement, () => ['new']); + dart.setLibraryUri(html$.FileUploadInputElement, I[150]); dart.setFieldSignature(html$.FileUploadInputElement, () => ({ __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), files: dart.fieldType(dart.nullable(core.List$(html$.File))) @@ -83801,55 +91034,78 @@ define([], (function load__dart_sdk() { static new() { return html$.InputElement.new({type: "submit"}); } + static ['_#new#tearOff']() { + return html$.SubmitButtonInputElement.new(); + } }; (html$.SubmitButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.SubmitButtonInputElement.prototype; dart.addTypeTests(html$.SubmitButtonInputElement); dart.addTypeCaches(html$.SubmitButtonInputElement); html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); + dart.setStaticMethodSignature(html$.SubmitButtonInputElement, () => ['new']); + dart.setLibraryUri(html$.SubmitButtonInputElement, I[150]); html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "image"}); } + static ['_#new#tearOff']() { + return html$.ImageButtonInputElement.new(); + } }; (html$.ImageButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ImageButtonInputElement.prototype; dart.addTypeTests(html$.ImageButtonInputElement); dart.addTypeCaches(html$.ImageButtonInputElement); html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); + dart.setStaticMethodSignature(html$.ImageButtonInputElement, () => ['new']); + dart.setLibraryUri(html$.ImageButtonInputElement, I[150]); html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "reset"}); } + static ['_#new#tearOff']() { + return html$.ResetButtonInputElement.new(); + } }; (html$.ResetButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ResetButtonInputElement.prototype; dart.addTypeTests(html$.ResetButtonInputElement); dart.addTypeCaches(html$.ResetButtonInputElement); html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); + dart.setStaticMethodSignature(html$.ResetButtonInputElement, () => ['new']); + dart.setLibraryUri(html$.ResetButtonInputElement, I[150]); html$.ButtonInputElement = class ButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "button"}); } + static ['_#new#tearOff']() { + return html$.ButtonInputElement.new(); + } }; (html$.ButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ButtonInputElement.prototype; dart.addTypeTests(html$.ButtonInputElement); dart.addTypeCaches(html$.ButtonInputElement); html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; - dart.setLibraryUri(html$.ButtonInputElement, I[148]); + dart.setStaticMethodSignature(html$.ButtonInputElement, () => ['new']); + dart.setLibraryUri(html$.ButtonInputElement, I[150]); html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.InstallEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.InstallEvent._create_1(type, eventInitDict_1); } return html$.InstallEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); + return html$.InstallEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new InstallEvent(type, eventInitDict); } @@ -83857,7 +91113,7 @@ define([], (function load__dart_sdk() { return new InstallEvent(type); } [S$1.$registerForeignFetch](options) { - if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + if (options == null) dart.nullFailed(I[149], 19973, 33, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._registerForeignFetch_1](options_1); return; @@ -83873,11 +91129,15 @@ define([], (function load__dart_sdk() { [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) })); - dart.setLibraryUri(html$.InstallEvent, I[148]); + dart.setStaticMethodSignature(html$.InstallEvent, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.InstallEvent, I[150]); dart.registerExtension("InstallEvent", html$.InstallEvent); - html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { + html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserver.__(); + } static new(callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -83886,6 +91146,10 @@ define([], (function load__dart_sdk() { let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); return html$.IntersectionObserver._create_2(callback_1); } + static ['_#new#tearOff'](callback, options = null) { + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); + return html$.IntersectionObserver.new(callback, options); + } static _create_1(callback, options) { return new IntersectionObserver(callback, options); } @@ -83923,15 +91187,19 @@ define([], (function load__dart_sdk() { [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); + dart.setStaticMethodSignature(html$.IntersectionObserver, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.IntersectionObserver, () => ({ __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), [S$1.$root]: dart.nullable(html$.Element), [S$1.$rootMargin]: dart.nullable(core.String), [S$1.$thresholds]: dart.nullable(core.List$(core.num)) })); - dart.setLibraryUri(html$.IntersectionObserver, I[148]); + dart.setLibraryUri(html$.IntersectionObserver, I[150]); dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); - html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { + html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserverEntry.__(); + } get [S$1.$boundingClientRect]() { return this.boundingClientRect; } @@ -83956,6 +91224,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.IntersectionObserverEntry); dart.addTypeCaches(html$.IntersectionObserverEntry); + dart.setStaticMethodSignature(html$.IntersectionObserverEntry, () => ['__']); dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), @@ -83966,9 +91235,12 @@ define([], (function load__dart_sdk() { [S.$target]: dart.nullable(html$.Element), [S$.$time]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); + dart.setLibraryUri(html$.IntersectionObserverEntry, I[150]); dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); html$.InterventionReport = class InterventionReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.InterventionReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -83981,50 +91253,70 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.InterventionReport); dart.addTypeCaches(html$.InterventionReport); + dart.setStaticMethodSignature(html$.InterventionReport, () => ['__']); dart.setGetterSignature(html$.InterventionReport, () => ({ __proto__: dart.getGetters(html$.InterventionReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.InterventionReport, I[148]); + dart.setLibraryUri(html$.InterventionReport, I[150]); dart.registerExtension("InterventionReport", html$.InterventionReport); html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { static new(type, opts) { - let t238; - if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let t219; + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); let location = opts && 'location' in opts ? opts.location : null; let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); if (view == null) { view = html$.window; } - location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + location == null ? location = (t219 = keyLocation, t219 == null ? 1 : t219) : null; let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); + return html$.KeyboardEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, location: location, keyLocation: keyLocation, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey}); + } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 20121, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 20122, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 20123, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 20125, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 20127, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 20128, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20129, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 20130, 12, "metaKey"); if (typeof this.initKeyEvent == "function") { this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); } else { @@ -84041,13 +91333,17 @@ define([], (function load__dart_sdk() { return this[S$._which]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.KeyboardEvent._create_1(type, eventInitDict_1); } return html$.KeyboardEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); + return html$.KeyboardEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new KeyboardEvent(type, eventInitDict); } @@ -84098,6 +91394,7 @@ define([], (function load__dart_sdk() { [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); + dart.setStaticMethodSignature(html$.KeyboardEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.KeyboardEvent, () => ({ __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), [S$1.$keyCode]: core.int, @@ -84115,7 +91412,8 @@ define([], (function load__dart_sdk() { [S$1.$repeat]: dart.nullable(core.bool), [S$1.$shiftKey]: core.bool })); - dart.setLibraryUri(html$.KeyboardEvent, I[148]); + dart.setLibraryUri(html$.KeyboardEvent, I[150]); + dart.setStaticFieldSignature(html$.KeyboardEvent, () => ['DOM_KEY_LOCATION_LEFT', 'DOM_KEY_LOCATION_NUMPAD', 'DOM_KEY_LOCATION_RIGHT', 'DOM_KEY_LOCATION_STANDARD']); dart.defineLazy(html$.KeyboardEvent, { /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { return 1; @@ -84132,12 +91430,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffectReadOnly.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffectReadOnly._create_1(target, effect, options); } return html$.KeyframeEffectReadOnly._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffectReadOnly.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffectReadOnly(target, effect, options); } @@ -84147,15 +91451,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.KeyframeEffectReadOnly); dart.addTypeCaches(html$.KeyframeEffectReadOnly); - dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); + dart.setStaticMethodSignature(html$.KeyframeEffectReadOnly, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[150]); dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffect.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffect._create_1(target, effect, options); } return html$.KeyframeEffect._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffect.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffect(target, effect, options); } @@ -84165,12 +91476,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.KeyframeEffect); dart.addTypeCaches(html$.KeyframeEffect); - dart.setLibraryUri(html$.KeyframeEffect, I[148]); + dart.setStaticMethodSignature(html$.KeyframeEffect, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.KeyframeEffect, I[150]); dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); html$.LIElement = class LIElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LIElement.__(); + } static new() { return html$.document.createElement("li"); } + static ['_#new#tearOff']() { + return html$.LIElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LIElement.created(); + } get [S.$value]() { return this.value; } @@ -84184,6 +91505,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.LIElement.prototype; dart.addTypeTests(html$.LIElement); dart.addTypeCaches(html$.LIElement); + dart.setStaticMethodSignature(html$.LIElement, () => ['__', 'new']); dart.setGetterSignature(html$.LIElement, () => ({ __proto__: dart.getGetters(html$.LIElement.__proto__), [S.$value]: core.int @@ -84192,12 +91514,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.LIElement.__proto__), [S.$value]: core.int })); - dart.setLibraryUri(html$.LIElement, I[148]); + dart.setLibraryUri(html$.LIElement, I[150]); dart.registerExtension("HTMLLIElement", html$.LIElement); html$.LabelElement = class LabelElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LabelElement.__(); + } static new() { return html$.document.createElement("label"); } + static ['_#new#tearOff']() { + return html$.LabelElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LabelElement.created(); + } get [S$1.$control]() { return this.control; } @@ -84217,6 +91548,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.LabelElement.prototype; dart.addTypeTests(html$.LabelElement); dart.addTypeCaches(html$.LabelElement); + dart.setStaticMethodSignature(html$.LabelElement, () => ['__', 'new']); dart.setGetterSignature(html$.LabelElement, () => ({ __proto__: dart.getGetters(html$.LabelElement.__proto__), [S$1.$control]: dart.nullable(html$.HtmlElement), @@ -84227,12 +91559,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.LabelElement.__proto__), [S$1.$htmlFor]: core.String })); - dart.setLibraryUri(html$.LabelElement, I[148]); + dart.setLibraryUri(html$.LabelElement, I[150]); dart.registerExtension("HTMLLabelElement", html$.LabelElement); html$.LegendElement = class LegendElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LegendElement.__(); + } static new() { return html$.document.createElement("legend"); } + static ['_#new#tearOff']() { + return html$.LegendElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LegendElement.created(); + } get [S$.$form]() { return this.form; } @@ -84243,13 +91584,17 @@ define([], (function load__dart_sdk() { }).prototype = html$.LegendElement.prototype; dart.addTypeTests(html$.LegendElement); dart.addTypeCaches(html$.LegendElement); + dart.setStaticMethodSignature(html$.LegendElement, () => ['__', 'new']); dart.setGetterSignature(html$.LegendElement, () => ({ __proto__: dart.getGetters(html$.LegendElement.__proto__), [S$.$form]: dart.nullable(html$.FormElement) })); - dart.setLibraryUri(html$.LegendElement, I[148]); + dart.setLibraryUri(html$.LegendElement, I[150]); dart.registerExtension("HTMLLegendElement", html$.LegendElement); html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static ['_#_#tearOff']() { + return html$.LinearAccelerationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84257,6 +91602,9 @@ define([], (function load__dart_sdk() { } return html$.LinearAccelerationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.LinearAccelerationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new LinearAccelerationSensor(sensorOptions); } @@ -84266,12 +91614,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.LinearAccelerationSensor); dart.addTypeCaches(html$.LinearAccelerationSensor); - dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); + dart.setStaticMethodSignature(html$.LinearAccelerationSensor, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.LinearAccelerationSensor, I[150]); dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); html$.LinkElement = class LinkElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LinkElement.__(); + } static new() { return html$.document.createElement("link"); } + static ['_#new#tearOff']() { + return html$.LinkElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LinkElement.created(); + } get [S$1.$as]() { return this.as; } @@ -84360,6 +91718,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.LinkElement.prototype; dart.addTypeTests(html$.LinkElement); dart.addTypeCaches(html$.LinkElement); + dart.setStaticMethodSignature(html$.LinkElement, () => ['__', 'new']); dart.setGetterSignature(html$.LinkElement, () => ({ __proto__: dart.getGetters(html$.LinkElement.__proto__), [S$1.$as]: dart.nullable(core.String), @@ -84393,9 +91752,12 @@ define([], (function load__dart_sdk() { [S$1.$scope]: dart.nullable(core.String), [S.$type]: core.String })); - dart.setLibraryUri(html$.LinkElement, I[148]); + dart.setLibraryUri(html$.LinkElement, I[150]); dart.registerExtension("HTMLLinkElement", html$.LinkElement); - html$.Location = class Location extends _interceptors.Interceptor { + html$.Location = class Location extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Location.__(); + } get [S$1.$ancestorOrigins]() { return this.ancestorOrigins; } @@ -84481,6 +91843,7 @@ define([], (function load__dart_sdk() { [S$1.$reload]: dart.fnType(dart.void, []), [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.Location, () => ['__']); dart.setGetterSignature(html$.Location, () => ({ __proto__: dart.getGetters(html$.Location.__proto__), [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), @@ -84507,9 +91870,12 @@ define([], (function load__dart_sdk() { [S$.$search]: dart.nullable(core.String), [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) })); - dart.setLibraryUri(html$.Location, I[148]); + dart.setLibraryUri(html$.Location, I[150]); dart.registerExtension("Location", html$.Location); html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Magnetometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84517,6 +91883,9 @@ define([], (function load__dart_sdk() { } return html$.Magnetometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Magnetometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Magnetometer(sensorOptions); } @@ -84535,18 +91904,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Magnetometer); dart.addTypeCaches(html$.Magnetometer); + dart.setStaticMethodSignature(html$.Magnetometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Magnetometer, () => ({ __proto__: dart.getGetters(html$.Magnetometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.Magnetometer, I[148]); + dart.setLibraryUri(html$.Magnetometer, I[150]); dart.registerExtension("Magnetometer", html$.Magnetometer); html$.MapElement = class MapElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MapElement.__(); + } static new() { return html$.document.createElement("map"); } + static ['_#new#tearOff']() { + return html$.MapElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MapElement.created(); + } get [S$1.$areas]() { return this.areas; } @@ -84563,6 +91942,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.MapElement.prototype; dart.addTypeTests(html$.MapElement); dart.addTypeCaches(html$.MapElement); + dart.setStaticMethodSignature(html$.MapElement, () => ['__', 'new']); dart.setGetterSignature(html$.MapElement, () => ({ __proto__: dart.getGetters(html$.MapElement.__proto__), [S$1.$areas]: core.List$(html$.Node), @@ -84572,16 +91952,36 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.MapElement.__proto__), [$name]: core.String })); - dart.setLibraryUri(html$.MapElement, I[148]); + dart.setLibraryUri(html$.MapElement, I[150]); dart.registerExtension("HTMLMapElement", html$.MapElement); - html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { + html$.MathMLElement = class MathMLElement extends html$.Element { + static ['_#_#tearOff']() { + return html$.MathMLElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MathMLElement.created(); + } + }; + (html$.MathMLElement.created = function() { + html$.MathMLElement.__proto__.created.call(this); + ; + }).prototype = html$.MathMLElement.prototype; + dart.addTypeTests(html$.MathMLElement); + dart.addTypeCaches(html$.MathMLElement); + dart.setStaticMethodSignature(html$.MathMLElement, () => ['__']); + dart.setLibraryUri(html$.MathMLElement, I[150]); + dart.registerExtension("MathMLElement", html$.MathMLElement); + html$.MediaCapabilities = class MediaCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilities.__(); + } [S$1.$decodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20602, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); } [S$1.$encodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20611, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); } @@ -84593,9 +91993,13 @@ define([], (function load__dart_sdk() { [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) })); - dart.setLibraryUri(html$.MediaCapabilities, I[148]); + dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); + dart.setLibraryUri(html$.MediaCapabilities, I[150]); dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); - html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { + html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilitiesInfo.__(); + } get [S$1.$powerEfficient]() { return this.powerEfficient; } @@ -84608,15 +92012,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaCapabilitiesInfo); dart.addTypeCaches(html$.MediaCapabilitiesInfo); + dart.setStaticMethodSignature(html$.MediaCapabilitiesInfo, () => ['__']); dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), [S$1.$powerEfficient]: dart.nullable(core.bool), [S$1.$smooth]: dart.nullable(core.bool), [S$1.$supported]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); + dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[150]); dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); - html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { + html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaDeviceInfo.__(); + } get [S$1.$deviceId]() { return this.deviceId; } @@ -84632,6 +92040,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaDeviceInfo); dart.addTypeCaches(html$.MediaDeviceInfo); + dart.setStaticMethodSignature(html$.MediaDeviceInfo, () => ['__']); dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), [S$1.$deviceId]: dart.nullable(core.String), @@ -84639,9 +92048,12 @@ define([], (function load__dart_sdk() { [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); + dart.setLibraryUri(html$.MediaDeviceInfo, I[150]); dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); html$.MediaDevices = class MediaDevices extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaDevices.__(); + } [S$1.$enumerateDevices]() { return js_util.promiseToFuture(core.List, this.enumerateDevices()); } @@ -84668,17 +92080,25 @@ define([], (function load__dart_sdk() { [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) })); - dart.setLibraryUri(html$.MediaDevices, I[148]); + dart.setStaticMethodSignature(html$.MediaDevices, () => ['__']); + dart.setLibraryUri(html$.MediaDevices, I[150]); dart.registerExtension("MediaDevices", html$.MediaDevices); html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaEncryptedEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); } return html$.MediaEncryptedEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); + return html$.MediaEncryptedEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaEncryptedEvent(type, eventInitDict); } @@ -84694,14 +92114,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaEncryptedEvent); dart.addTypeCaches(html$.MediaEncryptedEvent); + dart.setStaticMethodSignature(html$.MediaEncryptedEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), [S$1.$initDataType]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); + dart.setLibraryUri(html$.MediaEncryptedEvent, I[150]); dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); - html$.MediaError = class MediaError extends _interceptors.Interceptor { + html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaError.__(); + } get [S$.$code]() { return this.code; } @@ -84711,12 +92135,14 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaError); dart.addTypeCaches(html$.MediaError); + dart.setStaticMethodSignature(html$.MediaError, () => ['__']); dart.setGetterSignature(html$.MediaError, () => ({ __proto__: dart.getGetters(html$.MediaError.__proto__), [S$.$code]: core.int, [$message]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaError, I[148]); + dart.setLibraryUri(html$.MediaError, I[150]); + dart.setStaticFieldSignature(html$.MediaError, () => ['MEDIA_ERR_ABORTED', 'MEDIA_ERR_DECODE', 'MEDIA_ERR_NETWORK', 'MEDIA_ERR_SRC_NOT_SUPPORTED']); dart.defineLazy(html$.MediaError, { /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { return 1; @@ -84733,12 +92159,20 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("MediaError", html$.MediaError); html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaKeyMessageEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); + return html$.MediaKeyMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaKeyMessageEvent(type, eventInitDict); } @@ -84751,14 +92185,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaKeyMessageEvent); dart.addTypeCaches(html$.MediaKeyMessageEvent); + dart.setStaticMethodSignature(html$.MediaKeyMessageEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), [$message]: dart.nullable(typed_data.ByteBuffer), [S$1.$messageType]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); + dart.setLibraryUri(html$.MediaKeyMessageEvent, I[150]); dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaKeySession.__(); + } get [S$1.$closed]() { return js_util.promiseToFuture(dart.void, this.closed); } @@ -84775,11 +92213,11 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.close()); } [S$1.$generateRequest](initDataType, initData) { - if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + if (initDataType == null) dart.nullFailed(I[149], 20946, 33, "initDataType"); return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); } [S$.$load](sessionId) { - if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + if (sessionId == null) dart.nullFailed(I[149], 20950, 22, "sessionId"); return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); } [$remove]() { @@ -84802,6 +92240,7 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(async.Future, []), [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) })); + dart.setStaticMethodSignature(html$.MediaKeySession, () => ['__']); dart.setGetterSignature(html$.MediaKeySession, () => ({ __proto__: dart.getGetters(html$.MediaKeySession.__proto__), [S$1.$closed]: async.Future$(dart.void), @@ -84810,14 +92249,18 @@ define([], (function load__dart_sdk() { [S$1.$sessionId]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.MediaKeySession, I[148]); + dart.setLibraryUri(html$.MediaKeySession, I[150]); + dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); dart.defineLazy(html$.MediaKeySession, { /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MediaKeySession", html$.MediaKeySession); - html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { + html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeyStatusMap.__(); + } get [S$.$size]() { return this.size; } @@ -84835,13 +92278,17 @@ define([], (function load__dart_sdk() { [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) })); + dart.setStaticMethodSignature(html$.MediaKeyStatusMap, () => ['__']); dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), [S$.$size]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); + dart.setLibraryUri(html$.MediaKeyStatusMap, I[150]); dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); - html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { + html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeySystemAccess.__(); + } get [S$1.$keySystem]() { return this.keySystem; } @@ -84863,18 +92310,22 @@ define([], (function load__dart_sdk() { [S$1.$getConfiguration]: dart.fnType(core.Map, []), [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) })); + dart.setStaticMethodSignature(html$.MediaKeySystemAccess, () => ['__']); dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), [S$1.$keySystem]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); + dart.setLibraryUri(html$.MediaKeySystemAccess, I[150]); dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); - html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { + html$.MediaKeys = class MediaKeys extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeys.__(); + } [S$1._createSession](...args) { return this.createSession.apply(this, args); } [S$1.$getStatusForPolicy](policy) { - if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + if (policy == null) dart.nullFailed(I[149], 21014, 45, "policy"); return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); } [S$1.$setServerCertificate](serverCertificate) { @@ -84889,14 +92340,22 @@ define([], (function load__dart_sdk() { [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) })); - dart.setLibraryUri(html$.MediaKeys, I[148]); + dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); + dart.setLibraryUri(html$.MediaKeys, I[150]); dart.registerExtension("MediaKeys", html$.MediaKeys); - html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { + html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeysPolicy.__(); + } static new(init) { - if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.MediaKeysPolicy._create_1(init_1); } + static ['_#new#tearOff'](init) { + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); + return html$.MediaKeysPolicy.new(init); + } static _create_1(init) { return new MediaKeysPolicy(init); } @@ -84906,13 +92365,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaKeysPolicy); dart.addTypeCaches(html$.MediaKeysPolicy); + dart.setStaticMethodSignature(html$.MediaKeysPolicy, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), [S$1.$minHdcpVersion]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); + dart.setLibraryUri(html$.MediaKeysPolicy, I[150]); dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); - html$.MediaList = class MediaList extends _interceptors.Interceptor { + html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaList.__(); + } get [$length]() { return this.length; } @@ -84940,6 +92403,7 @@ define([], (function load__dart_sdk() { [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); + dart.setStaticMethodSignature(html$.MediaList, () => ['__']); dart.setGetterSignature(html$.MediaList, () => ({ __proto__: dart.getGetters(html$.MediaList.__proto__), [$length]: dart.nullable(core.int), @@ -84949,9 +92413,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.MediaList.__proto__), [S$1.$mediaText]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaList, I[148]); + dart.setLibraryUri(html$.MediaList, I[150]); dart.registerExtension("MediaList", html$.MediaList); - html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { + html$.MediaMetadata = class MediaMetadata$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaMetadata.__(); + } static new(metadata = null) { if (metadata != null) { let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); @@ -84959,6 +92426,9 @@ define([], (function load__dart_sdk() { } return html$.MediaMetadata._create_2(); } + static ['_#new#tearOff'](metadata = null) { + return html$.MediaMetadata.new(metadata); + } static _create_1(metadata) { return new MediaMetadata(metadata); } @@ -84992,6 +92462,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaMetadata); dart.addTypeCaches(html$.MediaMetadata); + dart.setStaticMethodSignature(html$.MediaMetadata, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaMetadata, () => ({ __proto__: dart.getGetters(html$.MediaMetadata.__proto__), [S$1.$album]: dart.nullable(core.String), @@ -85006,9 +92477,12 @@ define([], (function load__dart_sdk() { [S$1.$artwork]: dart.nullable(core.List), [S.$title]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaMetadata, I[148]); + dart.setLibraryUri(html$.MediaMetadata, I[150]); dart.registerExtension("MediaMetadata", html$.MediaMetadata); html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaQueryList.__(); + } get [S.$matches]() { return this.matches; } @@ -85032,28 +92506,37 @@ define([], (function load__dart_sdk() { [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) })); + dart.setStaticMethodSignature(html$.MediaQueryList, () => ['__']); dart.setGetterSignature(html$.MediaQueryList, () => ({ __proto__: dart.getGetters(html$.MediaQueryList.__proto__), [S.$matches]: core.bool, [S$.$media]: core.String, [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.MediaQueryList, I[148]); + dart.setLibraryUri(html$.MediaQueryList, I[150]); + dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); dart.defineLazy(html$.MediaQueryList, { /*html$.MediaQueryList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("MediaQueryList", html$.MediaQueryList); html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaQueryListEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); } return html$.MediaQueryListEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); + return html$.MediaQueryListEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaQueryListEvent(type, eventInitDict); } @@ -85069,22 +92552,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaQueryListEvent); dart.addTypeCaches(html$.MediaQueryListEvent); + dart.setStaticMethodSignature(html$.MediaQueryListEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), [S.$matches]: dart.nullable(core.bool), [S$.$media]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); + dart.setLibraryUri(html$.MediaQueryListEvent, I[150]); dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaRecorder.__(); + } static new(stream, options = null) { - if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.MediaRecorder._create_1(stream, options_1); } return html$.MediaRecorder._create_2(stream); } + static ['_#new#tearOff'](stream, options = null) { + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); + return html$.MediaRecorder.new(stream, options); + } static _create_1(stream, options) { return new MediaRecorder(stream, options); } @@ -85124,7 +92615,7 @@ define([], (function load__dart_sdk() { get [S.$onError]() { return html$.MediaRecorder.errorEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.MediaRecorder.pauseEvent.forTarget(this); } }; @@ -85138,6 +92629,7 @@ define([], (function load__dart_sdk() { [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$.$stop]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.MediaRecorder, () => ['__', 'new', '_create_1', '_create_2', 'isTypeSupported']); dart.setGetterSignature(html$.MediaRecorder, () => ({ __proto__: dart.getGetters(html$.MediaRecorder.__proto__), [S$1.$audioBitsPerSecond]: dart.nullable(core.int), @@ -85146,19 +92638,23 @@ define([], (function load__dart_sdk() { [S$1.$stream]: dart.nullable(html$.MediaStream), [S$1.$videoBitsPerSecond]: dart.nullable(core.int), [S.$onError]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event) + [S$.$onPause]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.MediaRecorder, I[148]); + dart.setLibraryUri(html$.MediaRecorder, I[150]); + dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); dart.defineLazy(html$.MediaRecorder, { /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; } }, false); dart.registerExtension("MediaRecorder", html$.MediaRecorder); - html$.MediaSession = class MediaSession extends _interceptors.Interceptor { + html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSession.__(); + } get [S$1.$metadata]() { return this.metadata; } @@ -85181,6 +92677,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.MediaSession.__proto__), [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) })); + dart.setStaticMethodSignature(html$.MediaSession, () => ['__']); dart.setGetterSignature(html$.MediaSession, () => ({ __proto__: dart.getGetters(html$.MediaSession.__proto__), [S$1.$metadata]: dart.nullable(html$.MediaMetadata), @@ -85191,9 +92688,12 @@ define([], (function load__dart_sdk() { [S$1.$metadata]: dart.nullable(html$.MediaMetadata), [S$1.$playbackState]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MediaSession, I[148]); + dart.setLibraryUri(html$.MediaSession, I[150]); dart.registerExtension("MediaSession", html$.MediaSession); - html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { + html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSettingsRange.__(); + } get [S$1.$max]() { return this.max; } @@ -85206,18 +92706,25 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaSettingsRange); dart.addTypeCaches(html$.MediaSettingsRange); + dart.setStaticMethodSignature(html$.MediaSettingsRange, () => ['__']); dart.setGetterSignature(html$.MediaSettingsRange, () => ({ __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), [S$1.$max]: dart.nullable(core.num), [S$1.$min]: dart.nullable(core.num), [S$1.$step]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.MediaSettingsRange, I[148]); + dart.setLibraryUri(html$.MediaSettingsRange, I[150]); dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaSource.__(); + } static new() { return html$.MediaSource._create_1(); } + static ['_#new#tearOff']() { + return html$.MediaSource.new(); + } static _create_1() { return new MediaSource(); } @@ -85265,6 +92772,7 @@ define([], (function load__dart_sdk() { [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) })); + dart.setStaticMethodSignature(html$.MediaSource, () => ['__', 'new', '_create_1', 'isTypeSupported']); dart.setGetterSignature(html$.MediaSource, () => ({ __proto__: dart.getGetters(html$.MediaSource.__proto__), [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), @@ -85276,9 +92784,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.MediaSource.__proto__), [S$.$duration]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.MediaSource, I[148]); + dart.setStaticGetterSignature(html$.MediaSource, () => ['supported']); + dart.setLibraryUri(html$.MediaSource, I[150]); dart.registerExtension("MediaSource", html$.MediaSource); html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStream.__(); + } static new(stream_OR_tracks = null) { if (stream_OR_tracks == null) { return html$.MediaStream._create_1(); @@ -85291,6 +92803,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](stream_OR_tracks = null) { + return html$.MediaStream.new(stream_OR_tracks); + } static _create_1() { return new MediaStream(); } @@ -85349,6 +92864,7 @@ define([], (function load__dart_sdk() { [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) })); + dart.setStaticMethodSignature(html$.MediaStream, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.MediaStream, () => ({ __proto__: dart.getGetters(html$.MediaStream.__proto__), [S$1.$active]: dart.nullable(core.bool), @@ -85356,25 +92872,34 @@ define([], (function load__dart_sdk() { [S$1.$onAddTrack]: async.Stream$(html$.Event), [S$1.$onRemoveTrack]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.MediaStream, I[148]); + dart.setStaticGetterSignature(html$.MediaStream, () => ['supported']); + dart.setLibraryUri(html$.MediaStream, I[150]); + dart.setStaticFieldSignature(html$.MediaStream, () => ['addTrackEvent', 'removeTrackEvent']); dart.defineLazy(html$.MediaStream, { /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { - return C[346] || CT.C346; + return C[356] || CT.C356; }, /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - return C[347] || CT.C347; + return C[357] || CT.C357; } }, false); dart.registerExtension("MediaStream", html$.MediaStream); html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamEvent._create_1(type, eventInitDict_1); } return html$.MediaStreamEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); + return html$.MediaStreamEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamEvent(type, eventInitDict); } @@ -85390,19 +92915,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaStreamEvent); dart.addTypeCaches(html$.MediaStreamEvent); + dart.setStaticMethodSignature(html$.MediaStreamEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaStreamEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); - dart.setLibraryUri(html$.MediaStreamEvent, I[148]); + dart.setStaticGetterSignature(html$.MediaStreamEvent, () => ['supported']); + dart.setLibraryUri(html$.MediaStreamEvent, I[150]); dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); + return html$.MediaStreamTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamTrackEvent(type, eventInitDict); } @@ -85415,13 +92950,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MediaStreamTrackEvent); dart.addTypeCaches(html$.MediaStreamTrackEvent); + dart.setStaticMethodSignature(html$.MediaStreamTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); - dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); + dart.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); + dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); - html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { + html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MemoryInfo.__(); + } get [S$1.$jsHeapSizeLimit]() { return this.jsHeapSizeLimit; } @@ -85434,18 +92974,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MemoryInfo); dart.addTypeCaches(html$.MemoryInfo); + dart.setStaticMethodSignature(html$.MemoryInfo, () => ['__']); dart.setGetterSignature(html$.MemoryInfo, () => ({ __proto__: dart.getGetters(html$.MemoryInfo.__proto__), [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), [S$1.$totalJSHeapSize]: dart.nullable(core.int), [S$1.$usedJSHeapSize]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.MemoryInfo, I[148]); + dart.setLibraryUri(html$.MemoryInfo, I[150]); dart.registerExtension("MemoryInfo", html$.MemoryInfo); html$.MenuElement = class MenuElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MenuElement.__(); + } static new() { return html$.document.createElement("menu"); } + static ['_#new#tearOff']() { + return html$.MenuElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MenuElement.created(); + } }; (html$.MenuElement.created = function() { html$.MenuElement.__proto__.created.call(this); @@ -85453,12 +93003,19 @@ define([], (function load__dart_sdk() { }).prototype = html$.MenuElement.prototype; dart.addTypeTests(html$.MenuElement); dart.addTypeCaches(html$.MenuElement); - dart.setLibraryUri(html$.MenuElement, I[148]); + dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); + dart.setLibraryUri(html$.MenuElement, I[150]); dart.registerExtension("HTMLMenuElement", html$.MenuElement); - html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { + html$.MessageChannel = class MessageChannel$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MessageChannel.__(); + } static new() { return html$.MessageChannel._create_1(); } + static ['_#new#tearOff']() { + return html$.MessageChannel.new(); + } static _create_1() { return new MessageChannel(); } @@ -85471,26 +93028,27 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MessageChannel); dart.addTypeCaches(html$.MessageChannel); + dart.setStaticMethodSignature(html$.MessageChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MessageChannel, () => ({ __proto__: dart.getGetters(html$.MessageChannel.__proto__), [S$1.$port1]: html$.MessagePort, [S$1.$port2]: html$.MessagePort })); - dart.setLibraryUri(html$.MessageChannel, I[148]); + dart.setLibraryUri(html$.MessageChannel, I[150]); dart.registerExtension("MessageChannel", html$.MessageChannel); html$.MessageEvent = class MessageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); let data = opts && 'data' in opts ? opts.data : null; let origin = opts && 'origin' in opts ? opts.origin : null; let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; let source = opts && 'source' in opts ? opts.source : null; - let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; - if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); if (source == null) { source = html$.window; } @@ -85501,6 +93059,20 @@ define([], (function load__dart_sdk() { event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); + return html$.MessageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, messagePorts: messagePorts}); + } get [S$.$data]() { return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); } @@ -85508,13 +93080,17 @@ define([], (function load__dart_sdk() { return this.data; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MessageEvent._create_1(type, eventInitDict_1); } return html$.MessageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); + return html$.MessageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MessageEvent(type, eventInitDict); } @@ -85555,6 +93131,7 @@ define([], (function load__dart_sdk() { [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) })); + dart.setStaticMethodSignature(html$.MessageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MessageEvent, () => ({ __proto__: dart.getGetters(html$.MessageEvent.__proto__), [S$.$data]: dart.dynamic, @@ -85566,16 +93143,19 @@ define([], (function load__dart_sdk() { [S$1._get_source]: dart.dynamic, [S$1.$suborigin]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MessageEvent, I[148]); + dart.setLibraryUri(html$.MessageEvent, I[150]); dart.registerExtension("MessageEvent", html$.MessageEvent); html$.MessagePort = class MessagePort extends html$.EventTarget { [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type == null) dart.nullFailed(I[149], 21738, 32, "type"); if (type === "message") { - this[S$1._start$4](); + this[S$1._start$5](); } super[S.$addEventListener](type, listener, useCapture); } + static ['_#_#tearOff']() { + return html$.MessagePort.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -85595,7 +93175,7 @@ define([], (function load__dart_sdk() { [S$0._postMessage_2](...args) { return this.postMessage.apply(this, args); } - [S$1._start$4](...args) { + [S$1._start$5](...args) { return this.start.apply(this, args); } get [S$.$onMessage]() { @@ -85610,23 +93190,34 @@ define([], (function load__dart_sdk() { [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._start$4]: dart.fnType(dart.void, []) + [S$1._start$5]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.MessagePort, () => ['__']); dart.setGetterSignature(html$.MessagePort, () => ({ __proto__: dart.getGetters(html$.MessagePort.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.MessagePort, I[148]); + dart.setLibraryUri(html$.MessagePort, I[150]); + dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); dart.defineLazy(html$.MessagePort, { /*html$.MessagePort.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MessagePort", html$.MessagePort); html$.MetaElement = class MetaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MetaElement.__(); + } static new() { return html$.document.createElement("meta"); } + static ['_#new#tearOff']() { + return html$.MetaElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MetaElement.created(); + } get [S$0.$content]() { return this.content; } @@ -85652,6 +93243,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.MetaElement.prototype; dart.addTypeTests(html$.MetaElement); dart.addTypeCaches(html$.MetaElement); + dart.setStaticMethodSignature(html$.MetaElement, () => ['__', 'new']); dart.setGetterSignature(html$.MetaElement, () => ({ __proto__: dart.getGetters(html$.MetaElement.__proto__), [S$0.$content]: core.String, @@ -85664,9 +93256,12 @@ define([], (function load__dart_sdk() { [S$1.$httpEquiv]: dart.nullable(core.String), [$name]: core.String })); - dart.setLibraryUri(html$.MetaElement, I[148]); + dart.setLibraryUri(html$.MetaElement, I[150]); dart.registerExtension("HTMLMetaElement", html$.MetaElement); - html$.Metadata = class Metadata extends _interceptors.Interceptor { + html$.Metadata = class Metadata extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Metadata.__(); + } get [S$1.$modificationTime]() { return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); } @@ -85679,18 +93274,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Metadata); dart.addTypeCaches(html$.Metadata); + dart.setStaticMethodSignature(html$.Metadata, () => ['__']); dart.setGetterSignature(html$.Metadata, () => ({ __proto__: dart.getGetters(html$.Metadata.__proto__), [S$1.$modificationTime]: core.DateTime, [S$1._get_modificationTime]: dart.dynamic, [S$.$size]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.Metadata, I[148]); + dart.setLibraryUri(html$.Metadata, I[150]); dart.registerExtension("Metadata", html$.Metadata); html$.MeterElement = class MeterElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MeterElement.__(); + } static new() { return html$.MeterElement.as(html$.document[S.$createElement]("meter")); } + static ['_#new#tearOff']() { + return html$.MeterElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MeterElement.created(); + } static get supported() { return html$.Element.isTagSupported("meter"); } @@ -85740,6 +93345,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.MeterElement.prototype; dart.addTypeTests(html$.MeterElement); dart.addTypeCaches(html$.MeterElement); + dart.setStaticMethodSignature(html$.MeterElement, () => ['__', 'new']); dart.setGetterSignature(html$.MeterElement, () => ({ __proto__: dart.getGetters(html$.MeterElement.__proto__), [S$1.$high]: dart.nullable(core.num), @@ -85759,9 +93365,13 @@ define([], (function load__dart_sdk() { [S$1.$optimum]: dart.nullable(core.num), [S.$value]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.MeterElement, I[148]); + dart.setStaticGetterSignature(html$.MeterElement, () => ['supported']); + dart.setLibraryUri(html$.MeterElement, I[150]); dart.registerExtension("HTMLMeterElement", html$.MeterElement); html$.MidiAccess = class MidiAccess extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiAccess.__(); + } get [S$1.$inputs]() { return this.inputs; } @@ -85774,23 +93384,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MidiAccess); dart.addTypeCaches(html$.MidiAccess); + dart.setStaticMethodSignature(html$.MidiAccess, () => ['__']); dart.setGetterSignature(html$.MidiAccess, () => ({ __proto__: dart.getGetters(html$.MidiAccess.__proto__), [S$1.$inputs]: dart.nullable(html$.MidiInputMap), [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), [S$1.$sysexEnabled]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.MidiAccess, I[148]); + dart.setLibraryUri(html$.MidiAccess, I[150]); dart.registerExtension("MIDIAccess", html$.MidiAccess); html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiConnectionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); } return html$.MidiConnectionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); + return html$.MidiConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIConnectionEvent(type, eventInitDict); } @@ -85803,13 +93421,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MidiConnectionEvent); dart.addTypeCaches(html$.MidiConnectionEvent); + dart.setStaticMethodSignature(html$.MidiConnectionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), [S$.$port]: dart.nullable(html$.MidiPort) })); - dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); + dart.setLibraryUri(html$.MidiConnectionEvent, I[150]); dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); html$.MidiPort = class MidiPort extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiPort.__(); + } get [S$1.$connection]() { return this.connection; } @@ -85845,6 +93467,7 @@ define([], (function load__dart_sdk() { [S.$close]: dart.fnType(async.Future, []), [S.$open]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(html$.MidiPort, () => ['__']); dart.setGetterSignature(html$.MidiPort, () => ({ __proto__: dart.getGetters(html$.MidiPort.__proto__), [S$1.$connection]: dart.nullable(core.String), @@ -85855,44 +93478,52 @@ define([], (function load__dart_sdk() { [S.$type]: dart.nullable(core.String), [S.$version]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MidiPort, I[148]); + dart.setLibraryUri(html$.MidiPort, I[150]); dart.registerExtension("MIDIPort", html$.MidiPort); html$.MidiInput = class MidiInput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiInput.__(); + } get [S$1.$onMidiMessage]() { return html$.MidiInput.midiMessageEvent.forTarget(this); } }; dart.addTypeTests(html$.MidiInput); dart.addTypeCaches(html$.MidiInput); + dart.setStaticMethodSignature(html$.MidiInput, () => ['__']); dart.setGetterSignature(html$.MidiInput, () => ({ __proto__: dart.getGetters(html$.MidiInput.__proto__), [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) })); - dart.setLibraryUri(html$.MidiInput, I[148]); + dart.setLibraryUri(html$.MidiInput, I[150]); + dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); dart.defineLazy(html$.MidiInput, { /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[349] || CT.C349; + return C[359] || CT.C359; } }, false); dart.registerExtension("MIDIInput", html$.MidiInput); - const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; - (Interceptor_MapMixin$36.new = function() { - Interceptor_MapMixin$36.__proto__.new.call(this); - }).prototype = Interceptor_MapMixin$36.prototype; - dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); - html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { + const JavaScriptObject_MapMixin$36 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_MapMixin$36.new = function() { + JavaScriptObject_MapMixin$36.__proto__.new.call(this); + }).prototype = JavaScriptObject_MapMixin$36.prototype; + dart.applyMixin(JavaScriptObject_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); + html$.MidiInputMap = class MidiInputMap extends JavaScriptObject_MapMixin$36 { + static ['_#_#tearOff']() { + return html$.MidiInputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + if (key == null) dart.nullFailed(I[149], 21984, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + if (other == null) dart.nullFailed(I[149], 21987, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + if (e == null) dart.nullFailed(I[149], 21991, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -85903,7 +93534,7 @@ define([], (function load__dart_sdk() { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -85914,7 +93545,7 @@ define([], (function load__dart_sdk() { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -85922,7 +93553,7 @@ define([], (function load__dart_sdk() { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -85939,15 +93570,15 @@ define([], (function load__dart_sdk() { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22025, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22029, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22029, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -85969,22 +93600,30 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.MidiInputMap, () => ['__']); dart.setGetterSignature(html$.MidiInputMap, () => ({ __proto__: dart.getGetters(html$.MidiInputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); - dart.setLibraryUri(html$.MidiInputMap, I[148]); + dart.setLibraryUri(html$.MidiInputMap, I[150]); dart.registerExtension("MIDIInputMap", html$.MidiInputMap); html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiMessageEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiMessageEvent._create_1(type, eventInitDict_1); } return html$.MidiMessageEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); + return html$.MidiMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIMessageEvent(type, eventInitDict); } @@ -85997,13 +93636,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MidiMessageEvent); dart.addTypeCaches(html$.MidiMessageEvent); + dart.setStaticMethodSignature(html$.MidiMessageEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiMessageEvent, () => ({ __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), [S$.$data]: dart.nullable(typed_data.Uint8List) })); - dart.setLibraryUri(html$.MidiMessageEvent, I[148]); + dart.setLibraryUri(html$.MidiMessageEvent, I[150]); dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); html$.MidiOutput = class MidiOutput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiOutput.__(); + } [S$1.$send](...args) { return this.send.apply(this, args); } @@ -86014,26 +93657,30 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.MidiOutput.__proto__), [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) })); - dart.setLibraryUri(html$.MidiOutput, I[148]); + dart.setStaticMethodSignature(html$.MidiOutput, () => ['__']); + dart.setLibraryUri(html$.MidiOutput, I[150]); dart.registerExtension("MIDIOutput", html$.MidiOutput); - const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; - (Interceptor_MapMixin$36$.new = function() { - Interceptor_MapMixin$36$.__proto__.new.call(this); - }).prototype = Interceptor_MapMixin$36$.prototype; - dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); - html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { + const JavaScriptObject_MapMixin$36$ = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_MapMixin$36$.new = function() { + JavaScriptObject_MapMixin$36$.__proto__.new.call(this); + }).prototype = JavaScriptObject_MapMixin$36$.prototype; + dart.applyMixin(JavaScriptObject_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); + html$.MidiOutputMap = class MidiOutputMap extends JavaScriptObject_MapMixin$36$ { + static ['_#_#tearOff']() { + return html$.MidiOutputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + if (key == null) dart.nullFailed(I[149], 22090, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + if (other == null) dart.nullFailed(I[149], 22093, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + if (e == null) dart.nullFailed(I[149], 22097, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -86044,7 +93691,7 @@ define([], (function load__dart_sdk() { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -86055,7 +93702,7 @@ define([], (function load__dart_sdk() { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -86063,7 +93710,7 @@ define([], (function load__dart_sdk() { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -86080,15 +93727,15 @@ define([], (function load__dart_sdk() { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22131, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22135, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22135, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -86110,14 +93757,18 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.MidiOutputMap, () => ['__']); dart.setGetterSignature(html$.MidiOutputMap, () => ({ __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); - dart.setLibraryUri(html$.MidiOutputMap, I[148]); + dart.setLibraryUri(html$.MidiOutputMap, I[150]); dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); - html$.MimeType = class MimeType extends _interceptors.Interceptor { + html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MimeType.__(); + } get [S$1.$description]() { return this.description; } @@ -86133,6 +93784,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MimeType); dart.addTypeCaches(html$.MimeType); + dart.setStaticMethodSignature(html$.MimeType, () => ['__']); dart.setGetterSignature(html$.MimeType, () => ({ __proto__: dart.getGetters(html$.MimeType.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -86140,37 +93792,40 @@ define([], (function load__dart_sdk() { [S$1.$suffixes]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MimeType, I[148]); + dart.setLibraryUri(html$.MimeType, I[150]); dart.registerExtension("MimeType", html$.MimeType); - const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$2.new = function() { - Interceptor_ListMixin$36$2.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$2.prototype; - dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); - const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; - (Interceptor_ImmutableListMixin$36$2.new = function() { - Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$2.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); - html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { + const JavaScriptObject_ListMixin$36$2 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$2.new = function() { + JavaScriptObject_ListMixin$36$2.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$2.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); + const JavaScriptObject_ImmutableListMixin$36$2 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$2 {}; + (JavaScriptObject_ImmutableListMixin$36$2.new = function() { + JavaScriptObject_ImmutableListMixin$36$2.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$2.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); + html$.MimeTypeArray = class MimeTypeArray extends JavaScriptObject_ImmutableListMixin$36$2 { + static ['_#_#tearOff']() { + return html$.MimeTypeArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 22210, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + if (index == null) dart.nullFailed(I[149], 22216, 25, "index"); html$.MimeType.as(value); - if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + if (value == null) dart.nullFailed(I[149], 22216, 41, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + if (value == null) dart.nullFailed(I[149], 22222, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -86201,7 +93856,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + if (index == null) dart.nullFailed(I[149], 22250, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -86222,6 +93877,7 @@ define([], (function load__dart_sdk() { [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); + dart.setStaticMethodSignature(html$.MimeTypeArray, () => ['__']); dart.setGetterSignature(html$.MimeTypeArray, () => ({ __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), [$length]: core.int @@ -86230,9 +93886,15 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.MimeTypeArray, I[148]); + dart.setLibraryUri(html$.MimeTypeArray, I[150]); dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); html$.ModElement = class ModElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ModElement.__(); + } + static ['_#created#tearOff']() { + return new html$.ModElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -86252,6 +93914,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.ModElement.prototype; dart.addTypeTests(html$.ModElement); dart.addTypeCaches(html$.ModElement); + dart.setStaticMethodSignature(html$.ModElement, () => ['__']); dart.setGetterSignature(html$.ModElement, () => ({ __proto__: dart.getGetters(html$.ModElement.__proto__), [S$1.$cite]: core.String, @@ -86262,36 +93925,36 @@ define([], (function load__dart_sdk() { [S$1.$cite]: core.String, [S$1.$dateTime]: core.String })); - dart.setLibraryUri(html$.ModElement, I[148]); + dart.setLibraryUri(html$.ModElement, I[150]); dart.registerExtension("HTMLModElement", html$.ModElement); html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; if (view == null) { view = html$.window; @@ -86300,8 +93963,42 @@ define([], (function load__dart_sdk() { event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.MouseEvent.new(type, {view: view, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); + return html$.MouseEvent.__(type, eventInitDict); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MouseEvent._create_1(type, eventInitDict_1); @@ -86429,6 +94126,7 @@ define([], (function load__dart_sdk() { [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) })); + dart.setStaticMethodSignature(html$.MouseEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MouseEvent, () => ({ __proto__: dart.getGetters(html$.MouseEvent.__proto__), [S$1.$altKey]: core.bool, @@ -86460,10 +94158,13 @@ define([], (function load__dart_sdk() { [S$0.$page]: math.Point$(core.num), [S$1.$dataTransfer]: html$.DataTransfer })); - dart.setLibraryUri(html$.MouseEvent, I[148]); + dart.setLibraryUri(html$.MouseEvent, I[150]); dart.registerExtension("MouseEvent", html$.MouseEvent); dart.registerExtension("DragEvent", html$.MouseEvent); html$.MutationEvent = class MutationEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MutationEvent.__(); + } get [S$1.$attrChange]() { return this.attrChange; } @@ -86489,6 +94190,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.MutationEvent.__proto__), [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.MutationEvent, () => ['__']); dart.setGetterSignature(html$.MutationEvent, () => ({ __proto__: dart.getGetters(html$.MutationEvent.__proto__), [S$1.$attrChange]: dart.nullable(core.int), @@ -86497,7 +94199,8 @@ define([], (function load__dart_sdk() { [S$1.$prevValue]: dart.nullable(core.String), [S$1.$relatedNode]: dart.nullable(html$.Node) })); - dart.setLibraryUri(html$.MutationEvent, I[148]); + dart.setLibraryUri(html$.MutationEvent, I[150]); + dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); dart.defineLazy(html$.MutationEvent, { /*html$.MutationEvent.ADDITION*/get ADDITION() { return 2; @@ -86510,24 +94213,24 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("MutationEvent", html$.MutationEvent); - html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { + html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$1._observe](target, options = null) { - if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + [S$2._observe](target, options = null) { + if (target == null) dart.nullFailed(I[149], 22568, 22, "target"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](target, options_1); return; } - this[S$1._observe_2](target); + this[S$2._observe_2](target); return; } [S$1._observe_1$1](...args) { return this.observe.apply(this, args); } - [S$1._observe_2](...args) { + [S$2._observe_2](...args) { return this.observe.apply(this, args); } [S$1.$takeRecords](...args) { @@ -86537,7 +94240,7 @@ define([], (function load__dart_sdk() { return !!(window.MutationObserver || window.WebKitMutationObserver); } [S.$observe](target, opts) { - if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + if (target == null) dart.nullFailed(I[149], 22604, 21, "target"); let childList = opts && 'childList' in opts ? opts.childList : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let characterData = opts && 'characterData' in opts ? opts.characterData : null; @@ -86559,67 +94262,77 @@ define([], (function load__dart_sdk() { if (attributeFilter != null) { override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); } - this[S$1._call](target, parsedOptions); + this[S$2._call](target, parsedOptions); } static _createDict() { return {}; } static _add(m, key, value) { - if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); m[key] = value; } static _fixupList(list) { return list; } - [S$1._call](...args) { + [S$2._call](...args) { return this.observe.apply(this, args); } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); 0; return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); + return html$.MutationObserver.new(callback); + } }; dart.addTypeTests(html$.MutationObserver); dart.addTypeCaches(html$.MutationObserver); dart.setMethodSignature(html$.MutationObserver, () => ({ __proto__: dart.getMethods(html$.MutationObserver.__proto__), [S$1.$disconnect]: dart.fnType(dart.void, []), - [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$2._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), - [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$2._observe_2]: dart.fnType(dart.void, [html$.Node]), [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), - [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) + [S$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) })); - dart.setLibraryUri(html$.MutationObserver, I[148]); + dart.setStaticMethodSignature(html$.MutationObserver, () => ['_createDict', '_add', '_fixupList', 'new']); + dart.setStaticGetterSignature(html$.MutationObserver, () => ['supported']); + dart.setLibraryUri(html$.MutationObserver, I[150]); + dart.setStaticFieldSignature(html$.MutationObserver, () => ['_boolKeys']); dart.defineLazy(html$.MutationObserver, { /*html$.MutationObserver._boolKeys*/get _boolKeys() { - return C[350] || CT.C350; + return C[360] || CT.C360; } }, false); dart.registerExtension("MutationObserver", html$.MutationObserver); dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); - html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { - get [S$1.$addedNodes]() { + html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MutationRecord.__(); + } + get [S$2.$addedNodes]() { return this.addedNodes; } - get [S$1.$attributeName]() { + get [S$2.$attributeName]() { return this.attributeName; } - get [S$1.$attributeNamespace]() { + get [S$2.$attributeNamespace]() { return this.attributeNamespace; } - get [S$1.$nextSibling]() { + get [S$2.$nextSibling]() { return this.nextSibling; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } - get [S$1.$previousSibling]() { + get [S$2.$previousSibling]() { return this.previousSibling; } - get [S$1.$removedNodes]() { + get [S$2.$removedNodes]() { return this.removedNodes; } get [S.$target]() { @@ -86631,28 +94344,32 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.MutationRecord); dart.addTypeCaches(html$.MutationRecord); + dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); dart.setGetterSignature(html$.MutationRecord, () => ({ __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), - [S$1.$attributeName]: dart.nullable(core.String), - [S$1.$attributeNamespace]: dart.nullable(core.String), - [S$1.$nextSibling]: dart.nullable(html$.Node), - [S$1.$oldValue]: dart.nullable(core.String), - [S$1.$previousSibling]: dart.nullable(html$.Node), - [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$attributeName]: dart.nullable(core.String), + [S$2.$attributeNamespace]: dart.nullable(core.String), + [S$2.$nextSibling]: dart.nullable(html$.Node), + [S$2.$oldValue]: dart.nullable(core.String), + [S$2.$previousSibling]: dart.nullable(html$.Node), + [S$2.$removedNodes]: dart.nullable(core.List$(html$.Node)), [S.$target]: dart.nullable(html$.Node), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.MutationRecord, I[148]); + dart.setLibraryUri(html$.MutationRecord, I[150]); dart.registerExtension("MutationRecord", html$.MutationRecord); - html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { - [S$1.$disable]() { + html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigationPreloadManager.__(); + } + [S$2.$disable]() { return js_util.promiseToFuture(dart.dynamic, this.disable()); } - [S$1.$enable]() { + [S$2.$enable]() { return js_util.promiseToFuture(dart.dynamic, this.enable()); } - [S$1.$getState]() { + [S$2.$getState]() { return html$.promiseToFutureAsMap(this.getState()); } }; @@ -86660,28 +94377,33 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.NavigationPreloadManager); dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [S$1.$disable]: dart.fnType(async.Future, []), - [S$1.$enable]: dart.fnType(async.Future, []), - [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) + [S$2.$disable]: dart.fnType(async.Future, []), + [S$2.$enable]: dart.fnType(async.Future, []), + [S$2.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) })); - dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); + dart.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); + dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); - html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { + html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorConcurrentHardware.__(); + } get [S$2.$hardwareConcurrency]() { return this.hardwareConcurrency; } }; dart.addTypeTests(html$.NavigatorConcurrentHardware); dart.addTypeCaches(html$.NavigatorConcurrentHardware); + dart.setStaticMethodSignature(html$.NavigatorConcurrentHardware, () => ['__']); dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), [S$2.$hardwareConcurrency]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); + dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[150]); dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$1.$getGamepads]() { - let gamepadList = this[S$1._getGamepads](); + [S$2.$getGamepads]() { + let gamepadList = this[S$2._getGamepads](); let jsProto = gamepadList.prototype; if (jsProto == null) { gamepadList.prototype = Object.create(null); @@ -86689,7 +94411,7 @@ define([], (function load__dart_sdk() { _js_helper.applyExtension("GamepadList", gamepadList); return gamepadList; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language || this.userLanguage; } [S$1.$getUserMedia](opts) { @@ -86697,43 +94419,46 @@ define([], (function load__dart_sdk() { let video = opts && 'video' in opts ? opts.video : false; let completer = T$0.CompleterOfMediaStream().new(); let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); - this[S$1._ensureGetUserMedia](); - this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { - if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + this[S$2._ensureGetUserMedia](); + this[S$2._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[149], 22785, 10, "stream"); completer.complete(stream); }, T$0.MediaStreamTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + if (error == null) dart.nullFailed(I[149], 22787, 9, "error"); completer.completeError(error); }, T$0.NavigatorUserMediaErrorTovoid())); return completer.future; } - [S$1._ensureGetUserMedia]() { + [S$2._ensureGetUserMedia]() { if (!this.getUserMedia) { this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; } } - [S$1._getUserMedia](...args) { + [S$2._getUserMedia](...args) { return this.getUserMedia.apply(this, args); } - get [S$1.$budget]() { + static ['_#_#tearOff']() { + return html$.Navigator.__(); + } + get [S$2.$budget]() { return this.budget; } - get [S$1.$clipboard]() { + get [S$2.$clipboard]() { return this.clipboard; } get [S$1.$connection]() { return this.connection; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } - get [S$1.$deviceMemory]() { + get [S$2.$deviceMemory]() { return this.deviceMemory; } - get [S$1.$doNotTrack]() { + get [S$2.$doNotTrack]() { return this.doNotTrack; } - get [S$1.$geolocation]() { + get [S$2.$geolocation]() { return this.geolocation; } get [S$2.$maxTouchPoints]() { @@ -86790,7 +94515,7 @@ define([], (function load__dart_sdk() { [S$2.$getBattery]() { return js_util.promiseToFuture(dart.dynamic, this.getBattery()); } - [S$1._getGamepads](...args) { + [S$2._getGamepads](...args) { return this.getGamepads.apply(this, args); } [S$2.$getInstalledRelatedApps]() { @@ -86810,7 +94535,7 @@ define([], (function load__dart_sdk() { return this[S$2._requestKeyboardLock_2](); } [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); } [S$2._requestKeyboardLock_2]() { @@ -86824,8 +94549,8 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); } [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { - if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); - if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + if (keySystem == null) dart.nullFailed(I[149], 22918, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[149], 22918, 39, "supportedConfigurations"); return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); } [S$2.$sendBeacon](...args) { @@ -86874,16 +94599,16 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Navigator); dart.addTypeCaches(html$.Navigator); - html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; + html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorID, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation]; dart.setMethodSignature(html$.Navigator, () => ({ __proto__: dart.getMethods(html$.Navigator.__proto__), - [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), - [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), - [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$2._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), [S$2.$getBattery]: dart.fnType(async.Future, []), - [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), [S$2.$getVRDisplays]: dart.fnType(async.Future, []), [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), @@ -86895,16 +94620,17 @@ define([], (function load__dart_sdk() { [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); + dart.setStaticMethodSignature(html$.Navigator, () => ['__']); dart.setGetterSignature(html$.Navigator, () => ({ __proto__: dart.getGetters(html$.Navigator.__proto__), - [S$1.$language]: core.String, - [S$1.$budget]: dart.nullable(html$._BudgetService), - [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$2.$language]: core.String, + [S$2.$budget]: dart.nullable(html$._BudgetService), + [S$2.$clipboard]: dart.nullable(html$._Clipboard), [S$1.$connection]: dart.nullable(html$.NetworkInformation), - [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), - [S$1.$deviceMemory]: dart.nullable(core.num), - [S$1.$doNotTrack]: dart.nullable(core.String), - [S$1.$geolocation]: html$.Geolocation, + [S$2.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$2.$deviceMemory]: dart.nullable(core.num), + [S$2.$doNotTrack]: dart.nullable(core.String), + [S$2.$geolocation]: html$.Geolocation, [S$2.$maxTouchPoints]: dart.nullable(core.int), [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), @@ -86933,35 +94659,46 @@ define([], (function load__dart_sdk() { [S$2.$languages]: dart.nullable(core.List$(core.String)), [S$2.$onLine]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.Navigator, I[148]); + dart.setLibraryUri(html$.Navigator, I[150]); dart.registerExtension("Navigator", html$.Navigator); - html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { + html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorAutomationInformation.__(); + } get [S$2.$webdriver]() { return this.webdriver; } }; dart.addTypeTests(html$.NavigatorAutomationInformation); dart.addTypeCaches(html$.NavigatorAutomationInformation); + dart.setStaticMethodSignature(html$.NavigatorAutomationInformation, () => ['__']); dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), [S$2.$webdriver]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); + dart.setLibraryUri(html$.NavigatorAutomationInformation, I[150]); dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); - html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { + html$.NavigatorCookies = class NavigatorCookies extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorCookies.__(); + } get [S$2.$cookieEnabled]() { return this.cookieEnabled; } }; dart.addTypeTests(html$.NavigatorCookies); dart.addTypeCaches(html$.NavigatorCookies); + dart.setStaticMethodSignature(html$.NavigatorCookies, () => ['__']); dart.setGetterSignature(html$.NavigatorCookies, () => ({ __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), [S$2.$cookieEnabled]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.NavigatorCookies, I[148]); + dart.setLibraryUri(html$.NavigatorCookies, I[150]); dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); - html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { + html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorID.__(); + } get appCodeName() { return this.appCodeName; } @@ -86986,6 +94723,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NavigatorID); dart.addTypeCaches(html$.NavigatorID); + dart.setStaticMethodSignature(html$.NavigatorID, () => ['__']); dart.setGetterSignature(html$.NavigatorID, () => ({ __proto__: dart.getGetters(html$.NavigatorID.__proto__), appCodeName: core.String, @@ -87003,7 +94741,7 @@ define([], (function load__dart_sdk() { userAgent: core.String, [S$2.$userAgent]: core.String })); - dart.setLibraryUri(html$.NavigatorID, I[148]); + dart.setLibraryUri(html$.NavigatorID, I[150]); dart.defineExtensionAccessors(html$.NavigatorID, [ 'appCodeName', 'appName', @@ -87013,7 +94751,10 @@ define([], (function load__dart_sdk() { 'product', 'userAgent' ]); - html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { + html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorLanguage.__(); + } get language() { return this.language; } @@ -87023,30 +94764,38 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NavigatorLanguage); dart.addTypeCaches(html$.NavigatorLanguage); + dart.setStaticMethodSignature(html$.NavigatorLanguage, () => ['__']); dart.setGetterSignature(html$.NavigatorLanguage, () => ({ __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), language: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), languages: dart.nullable(core.List$(core.String)), [S$2.$languages]: dart.nullable(core.List$(core.String)) })); - dart.setLibraryUri(html$.NavigatorLanguage, I[148]); + dart.setLibraryUri(html$.NavigatorLanguage, I[150]); dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); - html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { + html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorOnLine.__(); + } get onLine() { return this.onLine; } }; dart.addTypeTests(html$.NavigatorOnLine); dart.addTypeCaches(html$.NavigatorOnLine); + dart.setStaticMethodSignature(html$.NavigatorOnLine, () => ['__']); dart.setGetterSignature(html$.NavigatorOnLine, () => ({ __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), onLine: dart.nullable(core.bool), [S$2.$onLine]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.NavigatorOnLine, I[148]); + dart.setLibraryUri(html$.NavigatorOnLine, I[150]); dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); - html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { + html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorUserMediaError.__(); + } get [S$2.$constraintName]() { return this.constraintName; } @@ -87059,15 +94808,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NavigatorUserMediaError); dart.addTypeCaches(html$.NavigatorUserMediaError); + dart.setStaticMethodSignature(html$.NavigatorUserMediaError, () => ['__']); dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), [S$2.$constraintName]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); + dart.setLibraryUri(html$.NavigatorUserMediaError, I[150]); dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.NetworkInformation.__(); + } get [S$2.$downlink]() { return this.downlink; } @@ -87089,6 +94842,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NetworkInformation); dart.addTypeCaches(html$.NetworkInformation); + dart.setStaticMethodSignature(html$.NetworkInformation, () => ['__']); dart.setGetterSignature(html$.NetworkInformation, () => ({ __proto__: dart.getGetters(html$.NetworkInformation.__proto__), [S$2.$downlink]: dart.nullable(core.num), @@ -87098,14 +94852,19 @@ define([], (function load__dart_sdk() { [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.NetworkInformation, I[148]); + dart.setLibraryUri(html$.NetworkInformation, I[150]); + dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); dart.defineLazy(html$.NetworkInformation, { /*html$.NetworkInformation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("NetworkInformation", html$.NetworkInformation); html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + static ['_#new#tearOff'](_this) { + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); + return new html$._ChildNodeListLazy.new(_this); + } get first() { let result = this[S$._this].firstChild; if (result == null) dart.throw(new core.StateError.new("No elements")); @@ -87130,12 +94889,12 @@ define([], (function load__dart_sdk() { } add(value) { html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + if (value == null) dart.nullFailed(I[149], 23150, 17, "value"); this[S$._this][S.$append](value); } addAll(iterable) { T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23154, 30, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { let otherList = iterable; if (otherList[S$._this] != this[S$._this]) { @@ -87150,9 +94909,9 @@ define([], (function load__dart_sdk() { } } insert(index, node) { - if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); html$.Node.as(node); - if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (node == null) dart.nullFailed(I[149], 23170, 31, "node"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } @@ -87163,9 +94922,9 @@ define([], (function load__dart_sdk() { } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -87174,9 +94933,9 @@ define([], (function load__dart_sdk() { } } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); } removeLast() { @@ -87187,7 +94946,7 @@ define([], (function load__dart_sdk() { return result; } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + if (index == null) dart.nullFailed(I[149], 23202, 21, "index"); let result = this._get(index); if (result != null) { this[S$._this][S$._removeChild](result); @@ -87202,8 +94961,8 @@ define([], (function load__dart_sdk() { return true; } [S$1._filter$2](test, removeMatching) { - if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + if (test == null) dart.nullFailed(I[149], 23218, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[149], 23218, 43, "removeMatching"); let child = this[S$._this].firstChild; while (child != null) { let nextChild = child[S.$nextNode]; @@ -87214,11 +94973,11 @@ define([], (function load__dart_sdk() { } } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23232, 25, "test"); this[S$1._filter$2](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23236, 25, "test"); this[S$1._filter$2](test, false); } clear() { @@ -87226,9 +94985,9 @@ define([], (function load__dart_sdk() { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); this[S$._this][S$._replaceChild](value, this._get(index)); return value$; } @@ -87242,33 +95001,33 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); - if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + if (start == null) dart.nullFailed(I[149], 23263, 21, "start"); + if (end == null) dart.nullFailed(I[149], 23263, 32, "end"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 23263, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 23264, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); - if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + if (start == null) dart.nullFailed(I[149], 23268, 22, "start"); + if (end == null) dart.nullFailed(I[149], 23268, 33, "end"); T$0.NodeN$1().as(fill); dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); - if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + if (start == null) dart.nullFailed(I[149], 23272, 24, "start"); + if (end == null) dart.nullFailed(I[149], 23272, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); } get length() { return this[S$._this].childNodes[$length]; } set length(value) { - if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23281, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); } _get(index) { - if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); return this[S$._this].childNodes[$_get](index); } get rawList() { @@ -87276,7 +95035,7 @@ define([], (function load__dart_sdk() { } }; (html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); this[S$._this] = _this; ; }).prototype = html$._ChildNodeListLazy.prototype; @@ -87302,7 +95061,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); + dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), [S$._this]: dart.finalFieldType(html$.Node) @@ -87334,10 +95093,16 @@ define([], (function load__dart_sdk() { 'iterator', 'length' ]); - html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; + html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NodeFilter.__(); + } + }; dart.addTypeTests(html$.NodeFilter); dart.addTypeCaches(html$.NodeFilter); - dart.setLibraryUri(html$.NodeFilter, I[148]); + dart.setStaticMethodSignature(html$.NodeFilter, () => ['__']); + dart.setLibraryUri(html$.NodeFilter, I[150]); + dart.setStaticFieldSignature(html$.NodeFilter, () => ['FILTER_ACCEPT', 'FILTER_REJECT', 'FILTER_SKIP', 'SHOW_ALL', 'SHOW_COMMENT', 'SHOW_DOCUMENT', 'SHOW_DOCUMENT_FRAGMENT', 'SHOW_DOCUMENT_TYPE', 'SHOW_ELEMENT', 'SHOW_PROCESSING_INSTRUCTION', 'SHOW_TEXT']); dart.defineLazy(html$.NodeFilter, { /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { return 1; @@ -87374,12 +95139,20 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("NodeFilter", html$.NodeFilter); - html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { + html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); return html$.document[S$1._createNodeIterator](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); + return html$.NodeIterator.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.NodeIterator.__(); + } get [S$2.$pointerBeforeReferenceNode]() { return this.pointerBeforeReferenceNode; } @@ -87410,6 +95183,7 @@ define([], (function load__dart_sdk() { [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) })); + dart.setStaticMethodSignature(html$.NodeIterator, () => ['new', '__']); dart.setGetterSignature(html$.NodeIterator, () => ({ __proto__: dart.getGetters(html$.NodeIterator.__proto__), [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), @@ -87417,37 +95191,40 @@ define([], (function load__dart_sdk() { [S$1.$root]: html$.Node, [S$2.$whatToShow]: core.int })); - dart.setLibraryUri(html$.NodeIterator, I[148]); + dart.setLibraryUri(html$.NodeIterator, I[150]); dart.registerExtension("NodeIterator", html$.NodeIterator); - const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$3.new = function() { - Interceptor_ListMixin$36$3.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$3.prototype; - dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); - const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; - (Interceptor_ImmutableListMixin$36$3.new = function() { - Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$3.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); - html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { + const JavaScriptObject_ListMixin$36$3 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$3.new = function() { + JavaScriptObject_ListMixin$36$3.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$3.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$3, collection.ListMixin$(html$.Node)); + const JavaScriptObject_ImmutableListMixin$36$3 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$3 {}; + (JavaScriptObject_ImmutableListMixin$36$3.new = function() { + JavaScriptObject_ImmutableListMixin$36$3.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$3.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); + html$.NodeList = class NodeList extends JavaScriptObject_ImmutableListMixin$36$3 { + static ['_#_#tearOff']() { + return html$.NodeList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 23733, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23739, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23739, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23745, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -87478,7 +95255,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23773, 22, "index"); return this[$_get](index); } [S$1._item](...args) { @@ -87488,13 +95265,14 @@ define([], (function load__dart_sdk() { html$.NodeList.prototype[dart.isList] = true; dart.addTypeTests(html$.NodeList); dart.addTypeCaches(html$.NodeList); - html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + html$.NodeList[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.NodeList, () => ({ __proto__: dart.getMethods(html$.NodeList.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); + dart.setStaticMethodSignature(html$.NodeList, () => ['__']); dart.setGetterSignature(html$.NodeList, () => ({ __proto__: dart.getGetters(html$.NodeList.__proto__), [$length]: core.int @@ -87503,10 +95281,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.NodeList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.NodeList, I[148]); + dart.setLibraryUri(html$.NodeList, I[150]); dart.registerExtension("NodeList", html$.NodeList); dart.registerExtension("RadioNodeList", html$.NodeList); - html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { + html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonDocumentTypeChildNode.__(); + } get [S.$nextElementSibling]() { return this.nextElementSibling; } @@ -87516,14 +95297,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NonDocumentTypeChildNode); dart.addTypeCaches(html$.NonDocumentTypeChildNode); + dart.setStaticMethodSignature(html$.NonDocumentTypeChildNode, () => ['__']); dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), [S.$nextElementSibling]: dart.nullable(html$.Element), [S.$previousElementSibling]: dart.nullable(html$.Element) })); - dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); + dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[150]); dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); - html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { + html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonElementParentNode.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -87534,9 +95319,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) })); - dart.setLibraryUri(html$.NonElementParentNode, I[148]); + dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); + dart.setLibraryUri(html$.NonElementParentNode, I[150]); dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); - html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { + html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NoncedElement.__(); + } get [S.$nonce]() { return this.nonce; } @@ -87546,6 +95335,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NoncedElement); dart.addTypeCaches(html$.NoncedElement); + dart.setStaticMethodSignature(html$.NoncedElement, () => ['__']); dart.setGetterSignature(html$.NoncedElement, () => ({ __proto__: dart.getGetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -87554,11 +95344,11 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.NoncedElement, I[148]); + dart.setLibraryUri(html$.NoncedElement, I[150]); dart.registerExtension("NoncedElement", html$.NoncedElement); html$.Notification = class Notification$ extends html$.EventTarget { static new(title, opts) { - if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); let dir = opts && 'dir' in opts ? opts.dir : null; let body = opts && 'body' in opts ? opts.body : null; let lang = opts && 'lang' in opts ? opts.lang : null; @@ -87572,8 +95362,20 @@ define([], (function load__dart_sdk() { if (icon != null) parsedOptions[$_set]("icon", icon); return html$.Notification._factoryNotification(title, parsedOptions); } + static ['_#new#tearOff'](title, opts) { + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + return html$.Notification.new(title, {dir: dir, body: body, lang: lang, tag: tag, icon: icon}); + } + static ['_#_#tearOff']() { + return html$.Notification.__(); + } static _factoryNotification(title, options = null) { - if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (title == null) dart.nullFailed(I[149], 23879, 51, "title"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.Notification._create_1(title, options_1); @@ -87640,9 +95442,9 @@ define([], (function load__dart_sdk() { static requestPermission() { let completer = T$0.CompleterOfString().new(); dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); completer.complete(value); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); return completer.future; } get [S.$onClick]() { @@ -87664,6 +95466,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.Notification.__proto__), [S.$close]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.Notification, () => ['new', '__', '_factoryNotification', '_create_1', '_create_2', '_requestPermission', 'requestPermission']); dart.setGetterSignature(html$.Notification, () => ({ __proto__: dart.getGetters(html$.Notification.__proto__), [S$2.$actions]: dart.nullable(core.List), @@ -87686,29 +95489,39 @@ define([], (function load__dart_sdk() { [S.$onError]: async.Stream$(html$.Event), [S$2.$onShow]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.Notification, I[148]); + dart.setStaticGetterSignature(html$.Notification, () => ['supported', 'maxActions', 'permission']); + dart.setLibraryUri(html$.Notification, I[150]); + dart.setStaticFieldSignature(html$.Notification, () => ['clickEvent', 'closeEvent', 'errorEvent', 'showEvent']); dart.defineLazy(html$.Notification, { /*html$.Notification.clickEvent*/get clickEvent() { - return C[351] || CT.C351; + return C[361] || CT.C361; }, /*html$.Notification.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.Notification.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Notification.showEvent*/get showEvent() { - return C[352] || CT.C352; + return C[362] || CT.C362; } }, false); dart.registerExtension("Notification", html$.Notification); html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.NotificationEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.NotificationEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); + return html$.NotificationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new NotificationEvent(type, eventInitDict); } @@ -87724,18 +95537,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.NotificationEvent); dart.addTypeCaches(html$.NotificationEvent); + dart.setStaticMethodSignature(html$.NotificationEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.NotificationEvent, () => ({ __proto__: dart.getGetters(html$.NotificationEvent.__proto__), [S$1.$action]: dart.nullable(core.String), [S$2.$notification]: dart.nullable(html$.Notification), [S$2.$reply]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.NotificationEvent, I[148]); + dart.setLibraryUri(html$.NotificationEvent, I[150]); dart.registerExtension("NotificationEvent", html$.NotificationEvent); html$.OListElement = class OListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OListElement.__(); + } static new() { return html$.document.createElement("ol"); } + static ['_#new#tearOff']() { + return html$.OListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OListElement.created(); + } get [$reversed]() { return this.reversed; } @@ -87761,6 +95584,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.OListElement.prototype; dart.addTypeTests(html$.OListElement); dart.addTypeCaches(html$.OListElement); + dart.setStaticMethodSignature(html$.OListElement, () => ['__', 'new']); dart.setGetterSignature(html$.OListElement, () => ({ __proto__: dart.getGetters(html$.OListElement.__proto__), [$reversed]: dart.nullable(core.bool), @@ -87773,12 +95597,21 @@ define([], (function load__dart_sdk() { [S$.$start]: core.int, [S.$type]: core.String })); - dart.setLibraryUri(html$.OListElement, I[148]); + dart.setLibraryUri(html$.OListElement, I[150]); dart.registerExtension("HTMLOListElement", html$.OListElement); html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ObjectElement.__(); + } static new() { return html$.ObjectElement.as(html$.document[S.$createElement]("object")); } + static ['_#new#tearOff']() { + return html$.ObjectElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ObjectElement.created(); + } static get supported() { return html$.Element.isTagSupported("object"); } @@ -87866,6 +95699,7 @@ define([], (function load__dart_sdk() { [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(html$.ObjectElement, () => ['__', 'new']); dart.setGetterSignature(html$.ObjectElement, () => ({ __proto__: dart.getGetters(html$.ObjectElement.__proto__), [S$1.$contentWindow]: dart.nullable(html$.WindowBase), @@ -87890,14 +95724,23 @@ define([], (function load__dart_sdk() { [S$1.$useMap]: core.String, [$width]: core.String })); - dart.setLibraryUri(html$.ObjectElement, I[148]); + dart.setStaticGetterSignature(html$.ObjectElement, () => ['supported']); + dart.setLibraryUri(html$.ObjectElement, I[150]); dart.registerExtension("HTMLObjectElement", html$.ObjectElement); html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.OffscreenCanvas.__(); + } static new(width, height) { - if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); - if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); return html$.OffscreenCanvas._create_1(width, height); } + static ['_#new#tearOff'](width, height) { + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); + return html$.OffscreenCanvas.new(width, height); + } static _create_1(width, height) { return new OffscreenCanvas(width, height); } @@ -87921,7 +95764,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); } [S$.$getContext](contextType, attributes = null) { - if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (contextType == null) dart.nullFailed(I[149], 24133, 29, "contextType"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextType, attributes_1); @@ -87948,6 +95791,7 @@ define([], (function load__dart_sdk() { [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) })); + dart.setStaticMethodSignature(html$.OffscreenCanvas, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OffscreenCanvas, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), [$height]: dart.nullable(core.int), @@ -87958,9 +95802,12 @@ define([], (function load__dart_sdk() { [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.OffscreenCanvas, I[148]); + dart.setLibraryUri(html$.OffscreenCanvas, I[150]); dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); - html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { + html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OffscreenCanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -88148,10 +95995,10 @@ define([], (function load__dart_sdk() { return this.fillText.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 24323, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 24323, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 24323, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 24323, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -88170,9 +96017,9 @@ define([], (function load__dart_sdk() { return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 24339, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 24339, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 24339, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -88307,6 +96154,7 @@ define([], (function load__dart_sdk() { [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); + dart.setStaticMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), @@ -88354,12 +96202,21 @@ define([], (function load__dart_sdk() { [S$.$textAlign]: dart.nullable(core.String), [S$.$textBaseline]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); + dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[150]); dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OptGroupElement.__(); + } static new() { return html$.document.createElement("optgroup"); } + static ['_#new#tearOff']() { + return html$.OptGroupElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OptGroupElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -88379,6 +96236,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.OptGroupElement.prototype; dart.addTypeTests(html$.OptGroupElement); dart.addTypeCaches(html$.OptGroupElement); + dart.setStaticMethodSignature(html$.OptGroupElement, () => ['__', 'new']); dart.setGetterSignature(html$.OptGroupElement, () => ({ __proto__: dart.getGetters(html$.OptGroupElement.__proto__), [S$.$disabled]: core.bool, @@ -88389,18 +96247,27 @@ define([], (function load__dart_sdk() { [S$.$disabled]: core.bool, [S$.$label]: core.String })); - dart.setLibraryUri(html$.OptGroupElement, I[148]); + dart.setLibraryUri(html$.OptGroupElement, I[150]); dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); html$.OptionElement = class OptionElement extends html$.HtmlElement { static new(opts) { let data = opts && 'data' in opts ? opts.data : ""; - if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); let value = opts && 'value' in opts ? opts.value : ""; - if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); let selected = opts && 'selected' in opts ? opts.selected : false; - if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); return html$.OptionElement.__(data, value, null, selected); } + static ['_#new#tearOff'](opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); + return html$.OptionElement.new({data: data, value: value, selected: selected}); + } static __(data = null, value = null, defaultSelected = null, selected = null) { if (selected != null) { return html$.OptionElement._create_1(data, value, defaultSelected, selected); @@ -88416,6 +96283,9 @@ define([], (function load__dart_sdk() { } return html$.OptionElement._create_5(); } + static ['_#_#tearOff'](data = null, value = null, defaultSelected = null, selected = null) { + return html$.OptionElement.__(data, value, defaultSelected, selected); + } static _create_1(data, value, defaultSelected, selected) { return new Option(data, value, defaultSelected, selected); } @@ -88431,6 +96301,9 @@ define([], (function load__dart_sdk() { static _create_5() { return new Option(); } + static ['_#created#tearOff']() { + return new html$.OptionElement.created(); + } get [S$2.$defaultSelected]() { return this.defaultSelected; } @@ -88474,6 +96347,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.OptionElement.prototype; dart.addTypeTests(html$.OptionElement); dart.addTypeCaches(html$.OptionElement); + dart.setStaticMethodSignature(html$.OptionElement, () => ['new', '__', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setGetterSignature(html$.OptionElement, () => ({ __proto__: dart.getGetters(html$.OptionElement.__proto__), [S$2.$defaultSelected]: core.bool, @@ -88492,12 +96366,21 @@ define([], (function load__dart_sdk() { [S$.$selected]: core.bool, [S.$value]: core.String })); - dart.setLibraryUri(html$.OptionElement, I[148]); + dart.setLibraryUri(html$.OptionElement, I[150]); dart.registerExtension("HTMLOptionElement", html$.OptionElement); html$.OutputElement = class OutputElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OutputElement.__(); + } static new() { return html$.OutputElement.as(html$.document[S.$createElement]("output")); } + static ['_#new#tearOff']() { + return html$.OutputElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OutputElement.created(); + } static get supported() { return html$.Element.isTagSupported("output"); } @@ -88562,6 +96445,7 @@ define([], (function load__dart_sdk() { [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(html$.OutputElement, () => ['__', 'new']); dart.setGetterSignature(html$.OutputElement, () => ({ __proto__: dart.getGetters(html$.OutputElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.String), @@ -88581,14 +96465,23 @@ define([], (function load__dart_sdk() { [$name]: dart.nullable(core.String), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.OutputElement, I[148]); + dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); + dart.setLibraryUri(html$.OutputElement, I[150]); dart.registerExtension("HTMLOutputElement", html$.OutputElement); - html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { + html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OverconstrainedError.__(); + } static new(constraint, message) { - if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); - if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); return html$.OverconstrainedError._create_1(constraint, message); } + static ['_#new#tearOff'](constraint, message) { + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); + return html$.OverconstrainedError.new(constraint, message); + } static _create_1(constraint, message) { return new OverconstrainedError(constraint, message); } @@ -88604,23 +96497,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.OverconstrainedError); dart.addTypeCaches(html$.OverconstrainedError); + dart.setStaticMethodSignature(html$.OverconstrainedError, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OverconstrainedError, () => ({ __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), [S$2.$constraint]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.OverconstrainedError, I[148]); + dart.setLibraryUri(html$.OverconstrainedError, I[150]); dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PageTransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PageTransitionEvent._create_1(type, eventInitDict_1); } return html$.PageTransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); + return html$.PageTransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PageTransitionEvent(type, eventInitDict); } @@ -88633,13 +96534,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PageTransitionEvent); dart.addTypeCaches(html$.PageTransitionEvent); + dart.setStaticMethodSignature(html$.PageTransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PageTransitionEvent, () => ({ __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), [S$2.$persisted]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.PageTransitionEvent, I[148]); + dart.setLibraryUri(html$.PageTransitionEvent, I[150]); dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); - html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { + html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintRenderingContext2D.__(); + } get [S$.$currentTransform]() { return this.currentTransform; } @@ -88877,6 +96782,7 @@ define([], (function load__dart_sdk() { [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); + dart.setStaticMethodSignature(html$.PaintRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), [S$.$currentTransform]: dart.nullable(svg$.Matrix), @@ -88917,9 +96823,12 @@ define([], (function load__dart_sdk() { [S$.$shadowOffsetY]: dart.nullable(core.num), [S$.$strokeStyle]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); + dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); - html$.PaintSize = class PaintSize extends _interceptors.Interceptor { + html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintSize.__(); + } get [$height]() { return this.height; } @@ -88929,14 +96838,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PaintSize); dart.addTypeCaches(html$.PaintSize); + dart.setStaticMethodSignature(html$.PaintSize, () => ['__']); dart.setGetterSignature(html$.PaintSize, () => ({ __proto__: dart.getGetters(html$.PaintSize.__proto__), [$height]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.PaintSize, I[148]); + dart.setLibraryUri(html$.PaintSize, I[150]); dart.registerExtension("PaintSize", html$.PaintSize); html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.PaintWorkletGlobalScope.__(); + } get [S$2.$devicePixelRatio]() { return this.devicePixelRatio; } @@ -88950,16 +96863,26 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) })); + dart.setStaticMethodSignature(html$.PaintWorkletGlobalScope, () => ['__']); dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), [S$2.$devicePixelRatio]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); + dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[150]); dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParagraphElement.__(); + } static new() { return html$.document.createElement("p"); } + static ['_#new#tearOff']() { + return html$.ParagraphElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParagraphElement.created(); + } }; (html$.ParagraphElement.created = function() { html$.ParagraphElement.__proto__.created.call(this); @@ -88967,12 +96890,22 @@ define([], (function load__dart_sdk() { }).prototype = html$.ParagraphElement.prototype; dart.addTypeTests(html$.ParagraphElement); dart.addTypeCaches(html$.ParagraphElement); - dart.setLibraryUri(html$.ParagraphElement, I[148]); + dart.setStaticMethodSignature(html$.ParagraphElement, () => ['__', 'new']); + dart.setLibraryUri(html$.ParagraphElement, I[150]); dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); html$.ParamElement = class ParamElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParamElement.__(); + } static new() { return html$.document.createElement("param"); } + static ['_#new#tearOff']() { + return html$.ParamElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParamElement.created(); + } get [$name]() { return this.name; } @@ -88992,6 +96925,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.ParamElement.prototype; dart.addTypeTests(html$.ParamElement); dart.addTypeCaches(html$.ParamElement); + dart.setStaticMethodSignature(html$.ParamElement, () => ['__', 'new']); dart.setGetterSignature(html$.ParamElement, () => ({ __proto__: dart.getGetters(html$.ParamElement.__proto__), [$name]: core.String, @@ -89002,9 +96936,12 @@ define([], (function load__dart_sdk() { [$name]: core.String, [S.$value]: core.String })); - dart.setLibraryUri(html$.ParamElement, I[148]); + dart.setLibraryUri(html$.ParamElement, I[150]); dart.registerExtension("HTMLParamElement", html$.ParamElement); - html$.ParentNode = class ParentNode extends _interceptors.Interceptor { + html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ParentNode.__(); + } get [S._childElementCount]() { return this._childElementCount; } @@ -89020,6 +96957,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ParentNode); dart.addTypeCaches(html$.ParentNode); + dart.setStaticMethodSignature(html$.ParentNode, () => ['__']); dart.setGetterSignature(html$.ParentNode, () => ({ __proto__: dart.getGetters(html$.ParentNode.__proto__), [S._childElementCount]: core.int, @@ -89027,8 +96965,11 @@ define([], (function load__dart_sdk() { [S._firstElementChild]: dart.nullable(html$.Element), [S._lastElementChild]: dart.nullable(html$.Element) })); - dart.setLibraryUri(html$.ParentNode, I[148]); + dart.setLibraryUri(html$.ParentNode, I[150]); html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PasswordCredential.__(); + } static new(data_OR_form) { if (core.Map.is(data_OR_form)) { let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); @@ -89039,6 +96980,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_form) { + return html$.PasswordCredential.new(data_OR_form); + } static _create_1(data_OR_form) { return new PasswordCredential(data_OR_form); } @@ -89076,6 +97020,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.PasswordCredential); dart.addTypeCaches(html$.PasswordCredential); html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; + dart.setStaticMethodSignature(html$.PasswordCredential, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PasswordCredential, () => ({ __proto__: dart.getGetters(html$.PasswordCredential.__proto__), [S$2.$additionalData]: dart.nullable(core.Object), @@ -89091,9 +97036,12 @@ define([], (function load__dart_sdk() { [S$2.$idName]: dart.nullable(core.String), [S$2.$passwordName]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PasswordCredential, I[148]); + dart.setLibraryUri(html$.PasswordCredential, I[150]); dart.registerExtension("PasswordCredential", html$.PasswordCredential); - html$.Path2D = class Path2D$ extends _interceptors.Interceptor { + html$.Path2D = class Path2D$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Path2D.__(); + } static new(path_OR_text = null) { if (path_OR_text == null) { return html$.Path2D._create_1(); @@ -89106,6 +97054,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](path_OR_text = null) { + return html$.Path2D.new(path_OR_text); + } static _create_1() { return new Path2D(); } @@ -89162,9 +97113,13 @@ define([], (function load__dart_sdk() { [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); - dart.setLibraryUri(html$.Path2D, I[148]); + dart.setStaticMethodSignature(html$.Path2D, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); + dart.setLibraryUri(html$.Path2D, I[150]); dart.registerExtension("Path2D", html$.Path2D); - html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { + html$.PaymentAddress = class PaymentAddress extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentAddress.__(); + } get [S$2.$addressLine]() { return this.addressLine; } @@ -89201,6 +97156,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PaymentAddress); dart.addTypeCaches(html$.PaymentAddress); + dart.setStaticMethodSignature(html$.PaymentAddress, () => ['__']); dart.setGetterSignature(html$.PaymentAddress, () => ({ __proto__: dart.getGetters(html$.PaymentAddress.__proto__), [S$2.$addressLine]: dart.nullable(core.List$(core.String)), @@ -89215,30 +97171,33 @@ define([], (function load__dart_sdk() { [S$1.$region]: dart.nullable(core.String), [S$2.$sortingCode]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PaymentAddress, I[148]); + dart.setLibraryUri(html$.PaymentAddress, I[150]); dart.registerExtension("PaymentAddress", html$.PaymentAddress); - html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { + html$.PaymentInstruments = class PaymentInstruments extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentInstruments.__(); + } [$clear]() { return js_util.promiseToFuture(dart.dynamic, this.clear()); } [S.$delete](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25057, 30, "instrumentKey"); return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); } [S.$get](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25060, 44, "instrumentKey"); return html$.promiseToFutureAsMap(this.get(instrumentKey)); } [S$.$has](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25063, 21, "instrumentKey"); return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); } [$keys]() { return js_util.promiseToFuture(core.List, this.keys()); } [S$.$set](instrumentKey, details) { - if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); - if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + if (instrumentKey == null) dart.nullFailed(I[149], 25069, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[149], 25069, 40, "details"); let details_dict = html_common.convertDartToNative_Dictionary(details); return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); } @@ -89254,9 +97213,13 @@ define([], (function load__dart_sdk() { [$keys]: dart.fnType(async.Future$(core.List), []), [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) })); - dart.setLibraryUri(html$.PaymentInstruments, I[148]); + dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); + dart.setLibraryUri(html$.PaymentInstruments, I[150]); dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); - html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { + html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentManager.__(); + } get [S$2.$instruments]() { return this.instruments; } @@ -89269,6 +97232,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PaymentManager); dart.addTypeCaches(html$.PaymentManager); + dart.setStaticMethodSignature(html$.PaymentManager, () => ['__']); dart.setGetterSignature(html$.PaymentManager, () => ({ __proto__: dart.getGetters(html$.PaymentManager.__proto__), [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), @@ -89278,12 +97242,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.PaymentManager.__proto__), [S$2.$userHint]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PaymentManager, I[148]); + dart.setLibraryUri(html$.PaymentManager, I[150]); dart.registerExtension("PaymentManager", html$.PaymentManager); html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { static new(methodData, details, options = null) { - if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); - if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); let methodData_1 = []; for (let i of methodData) { methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); @@ -89296,12 +97260,20 @@ define([], (function load__dart_sdk() { let details_1 = html_common.convertDartToNative_Dictionary(details); return html$.PaymentRequest._create_2(methodData_1, details_1); } + static ['_#new#tearOff'](methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); + return html$.PaymentRequest.new(methodData, details, options); + } static _create_1(methodData, details, options) { return new PaymentRequest(methodData, details, options); } static _create_2(methodData, details) { return new PaymentRequest(methodData, details); } + static ['_#_#tearOff']() { + return html$.PaymentRequest.__(); + } get [S.$id]() { return this.id; } @@ -89332,6 +97304,7 @@ define([], (function load__dart_sdk() { [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) })); + dart.setStaticMethodSignature(html$.PaymentRequest, () => ['new', '_create_1', '_create_2', '__']); dart.setGetterSignature(html$.PaymentRequest, () => ({ __proto__: dart.getGetters(html$.PaymentRequest.__proto__), [S.$id]: dart.nullable(core.String), @@ -89339,15 +97312,23 @@ define([], (function load__dart_sdk() { [S$2.$shippingOption]: dart.nullable(core.String), [S$2.$shippingType]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PaymentRequest, I[148]); + dart.setLibraryUri(html$.PaymentRequest, I[150]); dart.registerExtension("PaymentRequest", html$.PaymentRequest); html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PaymentRequestEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); + return html$.PaymentRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestEvent(type, eventInitDict); } @@ -89373,7 +97354,7 @@ define([], (function load__dart_sdk() { return this.total; } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } [S$.$respondWith](...args) { @@ -89387,6 +97368,7 @@ define([], (function load__dart_sdk() { [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); + dart.setStaticMethodSignature(html$.PaymentRequestEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), [S$2.$instrumentKey]: dart.nullable(core.String), @@ -89397,17 +97379,24 @@ define([], (function load__dart_sdk() { [S$.$topLevelOrigin]: dart.nullable(core.String), [S$2.$total]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); + dart.setLibraryUri(html$.PaymentRequestEvent, I[150]); dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PaymentRequestUpdateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); } return html$.PaymentRequestUpdateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); + return html$.PaymentRequestUpdateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestUpdateEvent(type, eventInitDict); } @@ -89424,9 +97413,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) })); - dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); + dart.setStaticMethodSignature(html$.PaymentRequestUpdateEvent, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[150]); dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); - html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { + html$.PaymentResponse = class PaymentResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentResponse.__(); + } get [S$.$details]() { return this.details; } @@ -89461,6 +97454,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.PaymentResponse.__proto__), [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.PaymentResponse, () => ['__']); dart.setGetterSignature(html$.PaymentResponse, () => ({ __proto__: dart.getGetters(html$.PaymentResponse.__proto__), [S$.$details]: dart.nullable(core.Object), @@ -89472,9 +97466,12 @@ define([], (function load__dart_sdk() { [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), [S$2.$shippingOption]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PaymentResponse, I[148]); + dart.setLibraryUri(html$.PaymentResponse, I[150]); dart.registerExtension("PaymentResponse", html$.PaymentResponse); html$.Performance = class Performance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Performance.__(); + } static get supported() { return !!window.performance; } @@ -89508,10 +97505,47 @@ define([], (function load__dart_sdk() { [S$2.$getEntriesByType](...args) { return this.getEntriesByType.apply(this, args); } - [S$2.$mark](...args) { + [S$2.$mark](markName, markOptions = null) { + if (markName == null) dart.nullFailed(I[149], 25279, 33, "markName"); + if (markOptions != null) { + let markOptions_1 = html_common.convertDartToNative_Dictionary(markOptions); + return this[S$2._mark_1](markName, markOptions_1); + } + return this[S$2._mark_2](markName); + } + [S$2._mark_1](...args) { return this.mark.apply(this, args); } - [S$2.$measure](...args) { + [S$2._mark_2](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](measureName, measureOptions_OR_startMark = null, endMark = null) { + if (measureName == null) dart.nullFailed(I[149], 25292, 38, "measureName"); + if (measureOptions_OR_startMark == null && endMark == null) { + return this[S$2._measure_1](measureName); + } + if ((typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) && endMark == null) { + return this[S$2._measure_2](measureName, T$.StringN().as(measureOptions_OR_startMark)); + } + if (typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) { + return this[S$2._measure_3](measureName, T$.StringN().as(measureOptions_OR_startMark), endMark); + } + if (core.Map.is(measureOptions_OR_startMark) && endMark == null) { + let measureOptions_1 = html_common.convertDartToNative_Dictionary(measureOptions_OR_startMark); + return this[S$2._measure_4](measureName, measureOptions_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$2._measure_1](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_2](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_3](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_4](...args) { return this.measure.apply(this, args); } [S$2.$now](...args) { @@ -89531,11 +97565,18 @@ define([], (function load__dart_sdk() { [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), - [S$2.$mark]: dart.fnType(dart.void, [core.String]), - [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$mark]: dart.fnType(dart.nullable(html$.PerformanceEntry), [core.String], [dart.nullable(core.Map)]), + [S$2._mark_1]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic, dart.dynamic]), + [S$2._mark_2]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic]), + [S$2.$measure]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [core.String], [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_1]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic]), + [S$2._measure_2]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_3]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String), dart.dynamic]), + [S$2._measure_4]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.dynamic]), [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); + dart.setStaticMethodSignature(html$.Performance, () => ['__']); dart.setGetterSignature(html$.Performance, () => ({ __proto__: dart.getGetters(html$.Performance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), @@ -89543,9 +97584,13 @@ define([], (function load__dart_sdk() { [S$2.$timeOrigin]: dart.nullable(core.num), [S$.$timing]: html$.PerformanceTiming })); - dart.setLibraryUri(html$.Performance, I[148]); + dart.setStaticGetterSignature(html$.Performance, () => ['supported']); + dart.setLibraryUri(html$.Performance, I[150]); dart.registerExtension("Performance", html$.Performance); - html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { + html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceEntry.__(); + } get [S$.$duration]() { return this.duration; } @@ -89561,6 +97606,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceEntry); dart.addTypeCaches(html$.PerformanceEntry); + dart.setStaticMethodSignature(html$.PerformanceEntry, () => ['__']); dart.setGetterSignature(html$.PerformanceEntry, () => ({ __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), [S$.$duration]: core.num, @@ -89568,32 +97614,49 @@ define([], (function load__dart_sdk() { [$name]: core.String, [S$.$startTime]: core.num })); - dart.setLibraryUri(html$.PerformanceEntry, I[148]); + dart.setLibraryUri(html$.PerformanceEntry, I[150]); dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceLongTaskTiming.__(); + } get [S$2.$attribution]() { return this.attribution; } }; dart.addTypeTests(html$.PerformanceLongTaskTiming); dart.addTypeCaches(html$.PerformanceLongTaskTiming); + dart.setStaticMethodSignature(html$.PerformanceLongTaskTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) })); - dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); + dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[150]); dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); - html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; + html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMark.__(); + } + }; dart.addTypeTests(html$.PerformanceMark); dart.addTypeCaches(html$.PerformanceMark); - dart.setLibraryUri(html$.PerformanceMark, I[148]); + dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); + dart.setLibraryUri(html$.PerformanceMark, I[150]); dart.registerExtension("PerformanceMark", html$.PerformanceMark); - html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; + html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMeasure.__(); + } + }; dart.addTypeTests(html$.PerformanceMeasure); dart.addTypeCaches(html$.PerformanceMeasure); - dart.setLibraryUri(html$.PerformanceMeasure, I[148]); + dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); + dart.setLibraryUri(html$.PerformanceMeasure, I[150]); dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); - html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { + html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceNavigation.__(); + } get [S$2.$redirectCount]() { return this.redirectCount; } @@ -89603,12 +97666,14 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceNavigation); dart.addTypeCaches(html$.PerformanceNavigation); + dart.setStaticMethodSignature(html$.PerformanceNavigation, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigation, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), [S$2.$redirectCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.PerformanceNavigation, I[148]); + dart.setLibraryUri(html$.PerformanceNavigation, I[150]); + dart.setStaticFieldSignature(html$.PerformanceNavigation, () => ['TYPE_BACK_FORWARD', 'TYPE_NAVIGATE', 'TYPE_RELOAD', 'TYPE_RESERVED']); dart.defineLazy(html$.PerformanceNavigation, { /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { return 2; @@ -89625,6 +97690,9 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceResourceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89682,6 +97750,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceResourceTiming); dart.addTypeCaches(html$.PerformanceResourceTiming); + dart.setStaticMethodSignature(html$.PerformanceResourceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), [S$2.$connectEnd]: core.num, @@ -89703,9 +97772,12 @@ define([], (function load__dart_sdk() { [S$2.$transferSize]: dart.nullable(core.int), [S$2.$workerStart]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); + dart.setLibraryUri(html$.PerformanceResourceTiming, I[150]); dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + static ['_#_#tearOff']() { + return html$.PerformanceNavigationTiming.__(); + } get [S$2.$domComplete]() { return this.domComplete; } @@ -89739,6 +97811,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceNavigationTiming); dart.addTypeCaches(html$.PerformanceNavigationTiming); + dart.setStaticMethodSignature(html$.PerformanceNavigationTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), [S$2.$domComplete]: dart.nullable(core.num), @@ -89752,14 +97825,21 @@ define([], (function load__dart_sdk() { [S$2.$unloadEventEnd]: dart.nullable(core.num), [S$2.$unloadEventStart]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); + dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); - html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { + html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); return html$.PerformanceObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); + return html$.PerformanceObserver.new(callback); + } static _create_1(callback) { return new PerformanceObserver(callback); } @@ -89767,7 +97847,7 @@ define([], (function load__dart_sdk() { return this.disconnect.apply(this, args); } [S.$observe](options) { - if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + if (options == null) dart.nullFailed(I[149], 25457, 20, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](options_1); return; @@ -89784,9 +97864,13 @@ define([], (function load__dart_sdk() { [S.$observe]: dart.fnType(dart.void, [core.Map]), [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) })); - dart.setLibraryUri(html$.PerformanceObserver, I[148]); + dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.PerformanceObserver, I[150]); dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); - html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { + html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserverEntryList.__(); + } [S$2.$getEntries](...args) { return this.getEntries.apply(this, args); } @@ -89805,14 +97889,23 @@ define([], (function load__dart_sdk() { [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) })); - dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); + dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); + dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); - html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; + html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformancePaintTiming.__(); + } + }; dart.addTypeTests(html$.PerformancePaintTiming); dart.addTypeCaches(html$.PerformancePaintTiming); - dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); + dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); + dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); - html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { + html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceServerTiming.__(); + } get [S$1.$description]() { return this.description; } @@ -89825,15 +97918,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceServerTiming); dart.addTypeCaches(html$.PerformanceServerTiming); + dart.setStaticMethodSignature(html$.PerformanceServerTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), [S$1.$description]: dart.nullable(core.String), [S$.$duration]: dart.nullable(core.num), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); + dart.setLibraryUri(html$.PerformanceServerTiming, I[150]); dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); - html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { + html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89900,6 +97997,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PerformanceTiming); dart.addTypeCaches(html$.PerformanceTiming); + dart.setStaticMethodSignature(html$.PerformanceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), [S$2.$connectEnd]: core.int, @@ -89924,9 +98022,12 @@ define([], (function load__dart_sdk() { [S$2.$unloadEventEnd]: core.int, [S$2.$unloadEventStart]: core.int })); - dart.setLibraryUri(html$.PerformanceTiming, I[148]); + dart.setLibraryUri(html$.PerformanceTiming, I[150]); dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PermissionStatus.__(); + } get [S$.$state]() { return this.state; } @@ -89936,35 +98037,40 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PermissionStatus); dart.addTypeCaches(html$.PermissionStatus); + dart.setStaticMethodSignature(html$.PermissionStatus, () => ['__']); dart.setGetterSignature(html$.PermissionStatus, () => ({ __proto__: dart.getGetters(html$.PermissionStatus.__proto__), [S$.$state]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.PermissionStatus, I[148]); + dart.setLibraryUri(html$.PermissionStatus, I[150]); + dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); dart.defineLazy(html$.PermissionStatus, { /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PermissionStatus", html$.PermissionStatus); - html$.Permissions = class Permissions extends _interceptors.Interceptor { + html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Permissions.__(); + } [S$2.$query](permission) { - if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + if (permission == null) dart.nullFailed(I[149], 25650, 38, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); } [S$.$request](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25656, 40, "permissions"); let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); } [S$2.$requestAll](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25662, 49, "permissions"); return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); } [S$2.$revoke](permission) { - if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + if (permission == null) dart.nullFailed(I[149], 25666, 39, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); } @@ -89978,9 +98084,13 @@ define([], (function load__dart_sdk() { [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) })); - dart.setLibraryUri(html$.Permissions, I[148]); + dart.setStaticMethodSignature(html$.Permissions, () => ['__']); + dart.setLibraryUri(html$.Permissions, I[150]); dart.registerExtension("Permissions", html$.Permissions); - html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { + html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PhotoCapabilities.__(); + } get [S$2.$fillLightMode]() { return this.fillLightMode; } @@ -89996,6 +98106,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PhotoCapabilities); dart.addTypeCaches(html$.PhotoCapabilities); + dart.setStaticMethodSignature(html$.PhotoCapabilities, () => ['__']); dart.setGetterSignature(html$.PhotoCapabilities, () => ({ __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), [S$2.$fillLightMode]: dart.nullable(core.List), @@ -90003,18 +98114,29 @@ define([], (function load__dart_sdk() { [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), [S$2.$redEyeReduction]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PhotoCapabilities, I[148]); + dart.setLibraryUri(html$.PhotoCapabilities, I[150]); dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); - html$.PictureElement = class PictureElement extends html$.HtmlElement {}; + html$.PictureElement = class PictureElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PictureElement.__(); + } + static ['_#created#tearOff']() { + return new html$.PictureElement.created(); + } + }; (html$.PictureElement.created = function() { html$.PictureElement.__proto__.created.call(this); ; }).prototype = html$.PictureElement.prototype; dart.addTypeTests(html$.PictureElement); dart.addTypeCaches(html$.PictureElement); - dart.setLibraryUri(html$.PictureElement, I[148]); + dart.setStaticMethodSignature(html$.PictureElement, () => ['__']); + dart.setLibraryUri(html$.PictureElement, I[150]); dart.registerExtension("HTMLPictureElement", html$.PictureElement); - html$.Plugin = class Plugin extends _interceptors.Interceptor { + html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Plugin.__(); + } get [S$1.$description]() { return this.description; } @@ -90041,6 +98163,7 @@ define([], (function load__dart_sdk() { [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); + dart.setStaticMethodSignature(html$.Plugin, () => ['__']); dart.setGetterSignature(html$.Plugin, () => ({ __proto__: dart.getGetters(html$.Plugin.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -90048,37 +98171,40 @@ define([], (function load__dart_sdk() { [$length]: dart.nullable(core.int), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Plugin, I[148]); + dart.setLibraryUri(html$.Plugin, I[150]); dart.registerExtension("Plugin", html$.Plugin); - const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$4.new = function() { - Interceptor_ListMixin$36$4.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$4.prototype; - dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); - const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; - (Interceptor_ImmutableListMixin$36$4.new = function() { - Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$4.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); - html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { + const JavaScriptObject_ListMixin$36$4 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$4.new = function() { + JavaScriptObject_ListMixin$36$4.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$4.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); + const JavaScriptObject_ImmutableListMixin$36$4 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$4 {}; + (JavaScriptObject_ImmutableListMixin$36$4.new = function() { + JavaScriptObject_ImmutableListMixin$36$4.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$4.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); + html$.PluginArray = class PluginArray extends JavaScriptObject_ImmutableListMixin$36$4 { + static ['_#_#tearOff']() { + return html$.PluginArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 25746, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + if (index == null) dart.nullFailed(I[149], 25752, 25, "index"); html$.Plugin.as(value); - if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + if (value == null) dart.nullFailed(I[149], 25752, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + if (value == null) dart.nullFailed(I[149], 25758, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -90109,7 +98235,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + if (index == null) dart.nullFailed(I[149], 25786, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -90125,7 +98251,7 @@ define([], (function load__dart_sdk() { html$.PluginArray.prototype[dart.isList] = true; dart.addTypeTests(html$.PluginArray); dart.addTypeCaches(html$.PluginArray); - html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; + html$.PluginArray[dart.implements] = () => [core.List$(html$.Plugin), _js_helper.JavaScriptIndexingBehavior$(html$.Plugin)]; dart.setMethodSignature(html$.PluginArray, () => ({ __proto__: dart.getMethods(html$.PluginArray.__proto__), [$_get]: dart.fnType(html$.Plugin, [core.int]), @@ -90134,6 +98260,7 @@ define([], (function load__dart_sdk() { [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) })); + dart.setStaticMethodSignature(html$.PluginArray, () => ['__']); dart.setGetterSignature(html$.PluginArray, () => ({ __proto__: dart.getGetters(html$.PluginArray.__proto__), [$length]: core.int @@ -90142,17 +98269,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.PluginArray.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.PluginArray, I[148]); + dart.setLibraryUri(html$.PluginArray, I[150]); dart.registerExtension("PluginArray", html$.PluginArray); html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static ['_#_#tearOff']() { + return html$.PointerEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PointerEvent._create_1(type, eventInitDict_1); } return html$.PointerEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); + return html$.PointerEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PointerEvent(type, eventInitDict); } @@ -90210,6 +98344,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.PointerEvent.__proto__), [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) })); + dart.setStaticMethodSignature(html$.PointerEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PointerEvent, () => ({ __proto__: dart.getGetters(html$.PointerEvent.__proto__), [$height]: dart.nullable(core.num), @@ -90223,17 +98358,25 @@ define([], (function load__dart_sdk() { [S$2.$twist]: dart.nullable(core.int), [$width]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.PointerEvent, I[148]); + dart.setStaticGetterSignature(html$.PointerEvent, () => ['supported']); + dart.setLibraryUri(html$.PointerEvent, I[150]); dart.registerExtension("PointerEvent", html$.PointerEvent); html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PopStateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PopStateEvent._create_1(type, eventInitDict_1); } return html$.PopStateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); + return html$.PopStateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PopStateEvent(type, eventInitDict); } @@ -90249,14 +98392,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PopStateEvent); dart.addTypeCaches(html$.PopStateEvent); + dart.setStaticMethodSignature(html$.PopStateEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PopStateEvent, () => ({ __proto__: dart.getGetters(html$.PopStateEvent.__proto__), [S$.$state]: dart.dynamic, [S$1._get_state]: dart.dynamic })); - dart.setLibraryUri(html$.PopStateEvent, I[148]); + dart.setLibraryUri(html$.PopStateEvent, I[150]); dart.registerExtension("PopStateEvent", html$.PopStateEvent); - html$.PositionError = class PositionError extends _interceptors.Interceptor { + html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PositionError.__(); + } get [S$.$code]() { return this.code; } @@ -90266,12 +98413,14 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PositionError); dart.addTypeCaches(html$.PositionError); + dart.setStaticMethodSignature(html$.PositionError, () => ['__']); dart.setGetterSignature(html$.PositionError, () => ({ __proto__: dart.getGetters(html$.PositionError.__proto__), [S$.$code]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PositionError, I[148]); + dart.setLibraryUri(html$.PositionError, I[150]); + dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); dart.defineLazy(html$.PositionError, { /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { return 1; @@ -90284,10 +98433,20 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("PositionError", html$.PositionError); + dart.registerExtension("GeolocationPositionError", html$.PositionError); html$.PreElement = class PreElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PreElement.__(); + } static new() { return html$.document.createElement("pre"); } + static ['_#new#tearOff']() { + return html$.PreElement.new(); + } + static ['_#created#tearOff']() { + return new html$.PreElement.created(); + } }; (html$.PreElement.created = function() { html$.PreElement.__proto__.created.call(this); @@ -90295,9 +98454,13 @@ define([], (function load__dart_sdk() { }).prototype = html$.PreElement.prototype; dart.addTypeTests(html$.PreElement); dart.addTypeCaches(html$.PreElement); - dart.setLibraryUri(html$.PreElement, I[148]); + dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); + dart.setLibraryUri(html$.PreElement, I[150]); dart.registerExtension("HTMLPreElement", html$.PreElement); - html$.Presentation = class Presentation extends _interceptors.Interceptor { + html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Presentation.__(); + } get [S$2.$defaultRequest]() { return this.defaultRequest; } @@ -90310,6 +98473,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Presentation); dart.addTypeCaches(html$.Presentation); + dart.setStaticMethodSignature(html$.Presentation, () => ['__']); dart.setGetterSignature(html$.Presentation, () => ({ __proto__: dart.getGetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), @@ -90319,9 +98483,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) })); - dart.setLibraryUri(html$.Presentation, I[148]); + dart.setLibraryUri(html$.Presentation, I[150]); dart.registerExtension("Presentation", html$.Presentation); html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationAvailability.__(); + } get [S.$value]() { return this.value; } @@ -90331,19 +98498,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PresentationAvailability); dart.addTypeCaches(html$.PresentationAvailability); + dart.setStaticMethodSignature(html$.PresentationAvailability, () => ['__']); dart.setGetterSignature(html$.PresentationAvailability, () => ({ __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), [S.$value]: dart.nullable(core.bool), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.PresentationAvailability, I[148]); + dart.setLibraryUri(html$.PresentationAvailability, I[150]); + dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); dart.defineLazy(html$.PresentationAvailability, { /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnection.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -90380,6 +98552,7 @@ define([], (function load__dart_sdk() { [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.PresentationConnection, () => ['__']); dart.setGetterSignature(html$.PresentationConnection, () => ({ __proto__: dart.getGetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -90392,20 +98565,29 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PresentationConnection, I[148]); + dart.setLibraryUri(html$.PresentationConnection, I[150]); + dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); dart.defineLazy(html$.PresentationConnection, { /*html$.PresentationConnection.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("PresentationConnection", html$.PresentationConnection); html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionAvailableEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); + return html$.PresentationConnectionAvailableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionAvailableEvent(type, eventInitDict); } @@ -90415,19 +98597,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PresentationConnectionAvailableEvent); dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); + dart.setStaticMethodSignature(html$.PresentationConnectionAvailableEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), [S$1.$connection]: dart.nullable(html$.PresentationConnection) })); - dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); + dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[150]); dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionCloseEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); + return html$.PresentationConnectionCloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionCloseEvent(type, eventInitDict); } @@ -90440,40 +98631,52 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PresentationConnectionCloseEvent); dart.addTypeCaches(html$.PresentationConnectionCloseEvent); + dart.setStaticMethodSignature(html$.PresentationConnectionCloseEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), [$message]: dart.nullable(core.String), [S$.$reason]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); + dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[150]); dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnectionList.__(); + } get [S$2.$connections]() { return this.connections; } }; dart.addTypeTests(html$.PresentationConnectionList); dart.addTypeCaches(html$.PresentationConnectionList); + dart.setStaticMethodSignature(html$.PresentationConnectionList, () => ['__']); dart.setGetterSignature(html$.PresentationConnectionList, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) })); - dart.setLibraryUri(html$.PresentationConnectionList, I[148]); + dart.setLibraryUri(html$.PresentationConnectionList, I[150]); dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); - html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { + html$.PresentationReceiver = class PresentationReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PresentationReceiver.__(); + } get [S$2.$connectionList]() { return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); } }; dart.addTypeTests(html$.PresentationReceiver); dart.addTypeCaches(html$.PresentationReceiver); + dart.setStaticMethodSignature(html$.PresentationReceiver, () => ['__']); dart.setGetterSignature(html$.PresentationReceiver, () => ({ __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) })); - dart.setLibraryUri(html$.PresentationReceiver, I[148]); + dart.setLibraryUri(html$.PresentationReceiver, I[150]); dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationRequest.__(); + } static new(url_OR_urls) { if (typeof url_OR_urls == 'string') { return html$.PresentationRequest._create_1(url_OR_urls); @@ -90484,6 +98687,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](url_OR_urls) { + return html$.PresentationRequest.new(url_OR_urls); + } static _create_1(url_OR_urls) { return new PresentationRequest(url_OR_urls); } @@ -90494,7 +98700,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); } [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); } [S$.$start]() { @@ -90509,9 +98715,13 @@ define([], (function load__dart_sdk() { [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) })); - dart.setLibraryUri(html$.PresentationRequest, I[148]); + dart.setStaticMethodSignature(html$.PresentationRequest, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.PresentationRequest, I[150]); dart.registerExtension("PresentationRequest", html$.PresentationRequest); html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + static ['_#_#tearOff']() { + return html$.ProcessingInstruction.__(); + } get [S$1.$sheet]() { return this.sheet; } @@ -90521,17 +98731,27 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ProcessingInstruction); dart.addTypeCaches(html$.ProcessingInstruction); + dart.setStaticMethodSignature(html$.ProcessingInstruction, () => ['__']); dart.setGetterSignature(html$.ProcessingInstruction, () => ({ __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), [S$1.$sheet]: dart.nullable(html$.StyleSheet), [S.$target]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.ProcessingInstruction, I[148]); + dart.setLibraryUri(html$.ProcessingInstruction, I[150]); dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ProgressElement.__(); + } static new() { return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); } + static ['_#new#tearOff']() { + return html$.ProgressElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ProgressElement.created(); + } static get supported() { return html$.Element.isTagSupported("progress"); } @@ -90560,6 +98780,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.ProgressElement.prototype; dart.addTypeTests(html$.ProgressElement); dart.addTypeCaches(html$.ProgressElement); + dart.setStaticMethodSignature(html$.ProgressElement, () => ['__', 'new']); dart.setGetterSignature(html$.ProgressElement, () => ({ __proto__: dart.getGetters(html$.ProgressElement.__proto__), [S$.$labels]: dart.nullable(core.List$(html$.Node)), @@ -90572,17 +98793,25 @@ define([], (function load__dart_sdk() { [S$1.$max]: core.num, [S.$value]: core.num })); - dart.setLibraryUri(html$.ProgressElement, I[148]); + dart.setStaticGetterSignature(html$.ProgressElement, () => ['supported']); + dart.setLibraryUri(html$.ProgressElement, I[150]); dart.registerExtension("HTMLProgressElement", html$.ProgressElement); html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ProgressEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ProgressEvent._create_1(type, eventInitDict_1); } return html$.ProgressEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); + return html$.ProgressEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ProgressEvent(type, eventInitDict); } @@ -90601,21 +98830,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ProgressEvent); dart.addTypeCaches(html$.ProgressEvent); + dart.setStaticMethodSignature(html$.ProgressEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ProgressEvent, () => ({ __proto__: dart.getGetters(html$.ProgressEvent.__proto__), [S$2.$lengthComputable]: core.bool, [S$1.$loaded]: dart.nullable(core.int), [S$2.$total]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.ProgressEvent, I[148]); + dart.setLibraryUri(html$.ProgressEvent, I[150]); dart.registerExtension("ProgressEvent", html$.ProgressEvent); html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PromiseRejectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); + return html$.PromiseRejectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PromiseRejectionEvent(type, eventInitDict); } @@ -90628,14 +98866,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PromiseRejectionEvent); dart.addTypeCaches(html$.PromiseRejectionEvent); + dart.setStaticMethodSignature(html$.PromiseRejectionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), [S$2.$promise]: async.Future, [S$.$reason]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); + dart.setLibraryUri(html$.PromiseRejectionEvent, I[150]); dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PublicKeyCredential.__(); + } get [S$2.$rawId]() { return this.rawId; } @@ -90645,22 +98887,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PublicKeyCredential); dart.addTypeCaches(html$.PublicKeyCredential); + dart.setStaticMethodSignature(html$.PublicKeyCredential, () => ['__']); dart.setGetterSignature(html$.PublicKeyCredential, () => ({ __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), [S$.$response]: dart.nullable(html$.AuthenticatorResponse) })); - dart.setLibraryUri(html$.PublicKeyCredential, I[148]); + dart.setLibraryUri(html$.PublicKeyCredential, I[150]); dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PushEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PushEvent._create_1(type, eventInitDict_1); } return html$.PushEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); + return html$.PushEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PushEvent(type, eventInitDict); } @@ -90673,13 +98923,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PushEvent); dart.addTypeCaches(html$.PushEvent); + dart.setStaticMethodSignature(html$.PushEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PushEvent, () => ({ __proto__: dart.getGetters(html$.PushEvent.__proto__), [S$.$data]: dart.nullable(html$.PushMessageData) })); - dart.setLibraryUri(html$.PushEvent, I[148]); + dart.setLibraryUri(html$.PushEvent, I[150]); dart.registerExtension("PushEvent", html$.PushEvent); - html$.PushManager = class PushManager extends _interceptors.Interceptor { + html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushManager.__(); + } [S$2.$getSubscription]() { return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); } @@ -90706,9 +98960,14 @@ define([], (function load__dart_sdk() { [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) })); - dart.setLibraryUri(html$.PushManager, I[148]); + dart.setStaticMethodSignature(html$.PushManager, () => ['__']); + dart.setStaticGetterSignature(html$.PushManager, () => ['supportedContentEncodings']); + dart.setLibraryUri(html$.PushManager, I[150]); dart.registerExtension("PushManager", html$.PushManager); - html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { + html$.PushMessageData = class PushMessageData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushMessageData.__(); + } [S$.$arrayBuffer](...args) { return this.arrayBuffer.apply(this, args); } @@ -90731,9 +98990,13 @@ define([], (function load__dart_sdk() { [S$.$json]: dart.fnType(core.Object, []), [S.$text]: dart.fnType(core.String, []) })); - dart.setLibraryUri(html$.PushMessageData, I[148]); + dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); + dart.setLibraryUri(html$.PushMessageData, I[150]); dart.registerExtension("PushMessageData", html$.PushMessageData); - html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { + html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscription.__(); + } get [S$2.$endpoint]() { return this.endpoint; } @@ -90757,15 +99020,19 @@ define([], (function load__dart_sdk() { [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) })); + dart.setStaticMethodSignature(html$.PushSubscription, () => ['__']); dart.setGetterSignature(html$.PushSubscription, () => ({ __proto__: dart.getGetters(html$.PushSubscription.__proto__), [S$2.$endpoint]: dart.nullable(core.String), [S$2.$expirationTime]: dart.nullable(core.int), [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) })); - dart.setLibraryUri(html$.PushSubscription, I[148]); + dart.setLibraryUri(html$.PushSubscription, I[150]); dart.registerExtension("PushSubscription", html$.PushSubscription); - html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { + html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscriptionOptions.__(); + } get [S$2.$applicationServerKey]() { return this.applicationServerKey; } @@ -90775,17 +99042,27 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.PushSubscriptionOptions); dart.addTypeCaches(html$.PushSubscriptionOptions); + dart.setStaticMethodSignature(html$.PushSubscriptionOptions, () => ['__']); dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), [S$2.$userVisibleOnly]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); + dart.setLibraryUri(html$.PushSubscriptionOptions, I[150]); dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.QuoteElement.__(); + } static new() { return html$.document.createElement("q"); } + static ['_#new#tearOff']() { + return html$.QuoteElement.new(); + } + static ['_#created#tearOff']() { + return new html$.QuoteElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -90799,6 +99076,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.QuoteElement.prototype; dart.addTypeTests(html$.QuoteElement); dart.addTypeCaches(html$.QuoteElement); + dart.setStaticMethodSignature(html$.QuoteElement, () => ['__', 'new']); dart.setGetterSignature(html$.QuoteElement, () => ({ __proto__: dart.getGetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String @@ -90807,16 +99085,26 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String })); - dart.setLibraryUri(html$.QuoteElement, I[148]); + dart.setLibraryUri(html$.QuoteElement, I[150]); dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); - html$.Range = class Range extends _interceptors.Interceptor { + html$.Range = class Range extends _interceptors.JavaScriptObject { static new() { return html$.document.createRange(); } + static ['_#new#tearOff']() { + return html$.Range.new(); + } + static ['_#fromPoint#tearOff'](point) { + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); + return html$.Range.fromPoint(point); + } static fromPoint(point) { - if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); } + static ['_#_#tearOff']() { + return html$.Range.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -90946,6 +99234,7 @@ define([], (function load__dart_sdk() { [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) })); + dart.setStaticMethodSignature(html$.Range, () => ['new', 'fromPoint', '__']); dart.setGetterSignature(html$.Range, () => ({ __proto__: dart.getGetters(html$.Range.__proto__), [S$2.$collapsed]: core.bool, @@ -90955,7 +99244,9 @@ define([], (function load__dart_sdk() { [S$2.$startContainer]: html$.Node, [S$2.$startOffset]: core.int })); - dart.setLibraryUri(html$.Range, I[148]); + dart.setStaticGetterSignature(html$.Range, () => ['supportsCreateContextualFragment']); + dart.setLibraryUri(html$.Range, I[150]); + dart.setStaticFieldSignature(html$.Range, () => ['END_TO_END', 'END_TO_START', 'START_TO_END', 'START_TO_START']); dart.defineLazy(html$.Range, { /*html$.Range.END_TO_END*/get END_TO_END() { return 2; @@ -90971,7 +99262,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("Range", html$.Range); - html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { + html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RelatedApplication.__(); + } get [S.$id]() { return this.id; } @@ -90984,15 +99278,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RelatedApplication); dart.addTypeCaches(html$.RelatedApplication); + dart.setStaticMethodSignature(html$.RelatedApplication, () => ['__']); dart.setGetterSignature(html$.RelatedApplication, () => ({ __proto__: dart.getGetters(html$.RelatedApplication.__proto__), [S.$id]: dart.nullable(core.String), [S$2.$platform]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RelatedApplication, I[148]); + dart.setLibraryUri(html$.RelatedApplication, I[150]); dart.registerExtension("RelatedApplication", html$.RelatedApplication); html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.RelativeOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -91000,6 +99298,9 @@ define([], (function load__dart_sdk() { } return html$.RelativeOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.RelativeOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new RelativeOrientationSensor(sensorOptions); } @@ -91009,9 +99310,13 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RelativeOrientationSensor); dart.addTypeCaches(html$.RelativeOrientationSensor); - dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); + dart.setStaticMethodSignature(html$.RelativeOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.RelativeOrientationSensor, I[150]); dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RemotePlayback.__(); + } get [S$.$state]() { return this.state; } @@ -91022,7 +99327,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.prompt()); } [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); } }; @@ -91034,18 +99339,26 @@ define([], (function load__dart_sdk() { [S$.$prompt]: dart.fnType(async.Future, []), [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) })); + dart.setStaticMethodSignature(html$.RemotePlayback, () => ['__']); dart.setGetterSignature(html$.RemotePlayback, () => ({ __proto__: dart.getGetters(html$.RemotePlayback.__proto__), [S$.$state]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RemotePlayback, I[148]); + dart.setLibraryUri(html$.RemotePlayback, I[150]); dart.registerExtension("RemotePlayback", html$.RemotePlayback); - html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { + html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportingObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); return html$.ReportingObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); + return html$.ReportingObserver.new(callback); + } static _create_1(callback) { return new ReportingObserver(callback); } @@ -91063,14 +99376,22 @@ define([], (function load__dart_sdk() { [S$1.$disconnect]: dart.fnType(dart.void, []), [S.$observe]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(html$.ReportingObserver, I[148]); + dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.ReportingObserver, I[150]); dart.registerExtension("ReportingObserver", html$.ReportingObserver); - html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { + html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); return html$.ResizeObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); + return html$.ResizeObserver.new(callback); + } static _create_1(callback) { return new ResizeObserver(callback); } @@ -91092,9 +99413,13 @@ define([], (function load__dart_sdk() { [S.$observe]: dart.fnType(dart.void, [html$.Element]), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); - dart.setLibraryUri(html$.ResizeObserver, I[148]); + dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.ResizeObserver, I[150]); dart.registerExtension("ResizeObserver", html$.ResizeObserver); - html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { + html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserverEntry.__(); + } get [S$2.$contentRect]() { return this.contentRect; } @@ -91104,14 +99429,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ResizeObserverEntry); dart.addTypeCaches(html$.ResizeObserverEntry); + dart.setStaticMethodSignature(html$.ResizeObserverEntry, () => ['__']); dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), [S.$target]: dart.nullable(html$.Element) })); - dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); + dart.setLibraryUri(html$.ResizeObserverEntry, I[150]); dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); - html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { + html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcCertificate.__(); + } get [S$2.$expires]() { return this.expires; } @@ -91125,13 +99454,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.RtcCertificate.__proto__), [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) })); + dart.setStaticMethodSignature(html$.RtcCertificate, () => ['__']); dart.setGetterSignature(html$.RtcCertificate, () => ({ __proto__: dart.getGetters(html$.RtcCertificate.__proto__), [S$2.$expires]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.RtcCertificate, I[148]); + dart.setLibraryUri(html$.RtcCertificate, I[150]); dart.registerExtension("RTCCertificate", html$.RtcCertificate); html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDataChannel.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -91216,6 +99549,7 @@ define([], (function load__dart_sdk() { [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); + dart.setStaticMethodSignature(html$.RtcDataChannel, () => ['__']); dart.setGetterSignature(html$.RtcDataChannel, () => ({ __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -91240,30 +99574,39 @@ define([], (function load__dart_sdk() { [S$2.$binaryType]: dart.nullable(core.String), [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.RtcDataChannel, I[148]); + dart.setLibraryUri(html$.RtcDataChannel, I[150]); + dart.setStaticFieldSignature(html$.RtcDataChannel, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent']); dart.defineLazy(html$.RtcDataChannel, { /*html$.RtcDataChannel.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.RtcDataChannel.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; } }, false); dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); dart.registerExtension("DataChannel", html$.RtcDataChannel); html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDataChannelEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); + return html$.RtcDataChannelEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDataChannelEvent(type, eventInitDict); } @@ -91273,13 +99616,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcDataChannelEvent); dart.addTypeCaches(html$.RtcDataChannelEvent); + dart.setStaticMethodSignature(html$.RtcDataChannelEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), [S$2.$channel]: dart.nullable(html$.RtcDataChannel) })); - dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); + dart.setLibraryUri(html$.RtcDataChannelEvent, I[150]); dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDtmfSender.__(); + } get [S$2.$canInsertDtmf]() { return this.canInsertDTMF; } @@ -91308,6 +99655,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.RtcDtmfSender, () => ['__']); dart.setGetterSignature(html$.RtcDtmfSender, () => ({ __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), [S$2.$canInsertDtmf]: dart.nullable(core.bool), @@ -91317,20 +99665,29 @@ define([], (function load__dart_sdk() { [S$1.$track]: dart.nullable(html$.MediaStreamTrack), [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) })); - dart.setLibraryUri(html$.RtcDtmfSender, I[148]); + dart.setLibraryUri(html$.RtcDtmfSender, I[150]); + dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); dart.defineLazy(html$.RtcDtmfSender, { /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - return C[353] || CT.C353; + return C[363] || CT.C363; } }, false); dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDtmfToneChangeEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); + return html$.RtcDtmfToneChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDTMFToneChangeEvent(type, eventInitDict); } @@ -91340,18 +99697,26 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcDtmfToneChangeEvent); dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); + dart.setStaticMethodSignature(html$.RtcDtmfToneChangeEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), [S$2.$tone]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); + dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[150]); dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); - html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { + html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); let constructorName = window.RTCIceCandidate; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); + return html$.RtcIceCandidate.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcIceCandidate.__(); + } get [S$2.$candidate]() { return this.candidate; } @@ -91373,6 +99738,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcIceCandidate); dart.addTypeCaches(html$.RtcIceCandidate); + dart.setStaticMethodSignature(html$.RtcIceCandidate, () => ['new', '__']); dart.setGetterSignature(html$.RtcIceCandidate, () => ({ __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), [S$2.$candidate]: dart.nullable(core.String), @@ -91385,10 +99751,13 @@ define([], (function load__dart_sdk() { [S$2.$sdpMLineIndex]: dart.nullable(core.int), [S$2.$sdpMid]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RtcIceCandidate, I[148]); + dart.setLibraryUri(html$.RtcIceCandidate, I[150]); dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); - html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { + html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcLegacyStatsReport.__(); + } get [S.$id]() { return this.id; } @@ -91415,6 +99784,7 @@ define([], (function load__dart_sdk() { [S$2.$names]: dart.fnType(core.List$(core.String), []), [S$2.$stat]: dart.fnType(core.String, [core.String]) })); + dart.setStaticMethodSignature(html$.RtcLegacyStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), [S.$id]: dart.nullable(core.String), @@ -91422,11 +99792,11 @@ define([], (function load__dart_sdk() { [S$2._get_timestamp]: dart.dynamic, [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); + dart.setLibraryUri(html$.RtcLegacyStatsReport, I[150]); dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { static new(rtcIceServers, mediaConstraints = null) { - if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); let constructorName = window.RTCPeerConnection; if (mediaConstraints != null) { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); @@ -91434,6 +99804,10 @@ define([], (function load__dart_sdk() { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); } } + static ['_#new#tearOff'](rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); + return html$.RtcPeerConnection.new(rtcIceServers, mediaConstraints); + } static get supported() { try { html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); @@ -91450,7 +99824,7 @@ define([], (function load__dart_sdk() { [S$2.$getLegacyStats](selector = null) { let completer = T$0.CompleterOfRtcStatsResponse().new(); this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); completer.complete(value); }, T$0.RtcStatsResponseTovoid()), selector); return completer.future; @@ -91461,6 +99835,12 @@ define([], (function load__dart_sdk() { static generateCertificate(keygenAlgorithm) { return generateCertificate(keygenAlgorithm); } + static ['_#_#tearOff']() { + return html$.RtcPeerConnection.__(); + } + get [S$2.$connectionState]() { + return this.connectionState; + } get [S$2.$iceConnectionState]() { return this.iceConnectionState; } @@ -91477,7 +99857,7 @@ define([], (function load__dart_sdk() { return this.signalingState; } [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + if (candidate == null) dart.nullFailed(I[149], 27109, 33, "candidate"); return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); } [S$2.$addStream](stream, mediaConstraints = null) { @@ -91512,7 +99892,7 @@ define([], (function load__dart_sdk() { return this.createDTMFSender.apply(this, args); } [S$2.$createDataChannel](label, dataChannelDict = null) { - if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (label == null) dart.nullFailed(I[149], 27149, 43, "label"); if (dataChannelDict != null) { let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); return this[S$2._createDataChannel_1](label, dataChannelDict_1); @@ -91554,7 +99934,7 @@ define([], (function load__dart_sdk() { return this.removeTrack.apply(this, args); } [S$2.$setConfiguration](configuration) { - if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 27189, 29, "configuration"); let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); this[S$2._setConfiguration_1](configuration_1); return; @@ -91563,18 +99943,21 @@ define([], (function load__dart_sdk() { return this.setConfiguration.apply(this, args); } [S$2.$setLocalDescription](description) { - if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + if (description == null) dart.nullFailed(I[149], 27198, 34, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); } [S$2.$setRemoteDescription](description) { - if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + if (description == null) dart.nullFailed(I[149], 27204, 35, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); } get [S$2.$onAddStream]() { return html$.RtcPeerConnection.addStreamEvent.forTarget(this); } + get [S$2.$onConnectionStateChange]() { + return html$.RtcPeerConnection.connectionStateChangeEvent.forTarget(this); + } get [S$2.$onDataChannel]() { return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); } @@ -91627,14 +100010,17 @@ define([], (function load__dart_sdk() { [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) })); + dart.setStaticMethodSignature(html$.RtcPeerConnection, () => ['new', 'generateCertificate', '__']); dart.setGetterSignature(html$.RtcPeerConnection, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$connectionState]: dart.nullable(core.String), [S$2.$iceConnectionState]: dart.nullable(core.String), [S$2.$iceGatheringState]: dart.nullable(core.String), [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$signalingState]: dart.nullable(core.String), [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onConnectionStateChange]: async.Stream$(html$.Event), [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), @@ -91643,45 +100029,57 @@ define([], (function load__dart_sdk() { [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) })); - dart.setLibraryUri(html$.RtcPeerConnection, I[148]); + dart.setStaticGetterSignature(html$.RtcPeerConnection, () => ['supported']); + dart.setLibraryUri(html$.RtcPeerConnection, I[150]); + dart.setStaticFieldSignature(html$.RtcPeerConnection, () => ['addStreamEvent', 'connectionStateChangeEvent', 'dataChannelEvent', 'iceCandidateEvent', 'iceConnectionStateChangeEvent', 'negotiationNeededEvent', 'removeStreamEvent', 'signalingStateChangeEvent', 'trackEvent']); dart.defineLazy(html$.RtcPeerConnection, { /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { - return C[354] || CT.C354; + return C[364] || CT.C364; + }, + /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { + return C[365] || CT.C365; }, /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[355] || CT.C355; + return C[366] || CT.C366; }, /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[356] || CT.C356; + return C[367] || CT.C367; }, /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[357] || CT.C357; + return C[368] || CT.C368; }, /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[358] || CT.C358; + return C[369] || CT.C369; }, /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[359] || CT.C359; + return C[370] || CT.C370; }, /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[360] || CT.C360; + return C[371] || CT.C371; }, /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - return C[361] || CT.C361; + return C[372] || CT.C372; } }, false); dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcPeerConnectionIceEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); } return html$.RtcPeerConnectionIceEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); + return html$.RtcPeerConnectionIceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCPeerConnectionIceEvent(type, eventInitDict); } @@ -91694,13 +100092,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcPeerConnectionIceEvent); dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); + dart.setStaticMethodSignature(html$.RtcPeerConnectionIceEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) })); - dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); + dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[150]); dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); - html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { + html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpContributingSource.__(); + } get [S.$source]() { return this.source; } @@ -91710,14 +100112,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcRtpContributingSource); dart.addTypeCaches(html$.RtcRtpContributingSource); + dart.setStaticMethodSignature(html$.RtcRtpContributingSource, () => ['__']); dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), [S.$source]: dart.nullable(core.int), [S$.$timestamp]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); + dart.setLibraryUri(html$.RtcRtpContributingSource, I[150]); dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); - html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { + html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpReceiver.__(); + } get [S$1.$track]() { return this.track; } @@ -91731,31 +100137,43 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) })); + dart.setStaticMethodSignature(html$.RtcRtpReceiver, () => ['__']); dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); - dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); + dart.setLibraryUri(html$.RtcRtpReceiver, I[150]); dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); - html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { + html$.RtcRtpSender = class RtcRtpSender extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpSender.__(); + } get [S$1.$track]() { return this.track; } }; dart.addTypeTests(html$.RtcRtpSender); dart.addTypeCaches(html$.RtcRtpSender); + dart.setStaticMethodSignature(html$.RtcRtpSender, () => ['__']); dart.setGetterSignature(html$.RtcRtpSender, () => ({ __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); - dart.setLibraryUri(html$.RtcRtpSender, I[148]); + dart.setLibraryUri(html$.RtcRtpSender, I[150]); dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); - html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { + html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); let constructorName = window.RTCSessionDescription; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); + return html$.RtcSessionDescription.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcSessionDescription.__(); + } get [S$2.$sdp]() { return this.sdp; } @@ -91771,6 +100189,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcSessionDescription); dart.addTypeCaches(html$.RtcSessionDescription); + dart.setStaticMethodSignature(html$.RtcSessionDescription, () => ['new', '__']); dart.setGetterSignature(html$.RtcSessionDescription, () => ({ __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), [S$2.$sdp]: dart.nullable(core.String), @@ -91781,27 +100200,30 @@ define([], (function load__dart_sdk() { [S$2.$sdp]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.RtcSessionDescription, I[148]); + dart.setLibraryUri(html$.RtcSessionDescription, I[150]); dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); - const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; - (Interceptor_MapMixin$36$0.new = function() { - Interceptor_MapMixin$36$0.__proto__.new.call(this); - }).prototype = Interceptor_MapMixin$36$0.prototype; - dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); - html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { + const JavaScriptObject_MapMixin$36$0 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_MapMixin$36$0.new = function() { + JavaScriptObject_MapMixin$36$0.__proto__.new.call(this); + }).prototype = JavaScriptObject_MapMixin$36$0.prototype; + dart.applyMixin(JavaScriptObject_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); + html$.RtcStatsReport = class RtcStatsReport extends JavaScriptObject_MapMixin$36$0 { + static ['_#_#tearOff']() { + return html$.RtcStatsReport.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + if (key == null) dart.nullFailed(I[149], 27351, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + if (other == null) dart.nullFailed(I[149], 27354, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + if (e == null) dart.nullFailed(I[149], 27358, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -91812,7 +100234,7 @@ define([], (function load__dart_sdk() { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -91823,7 +100245,7 @@ define([], (function load__dart_sdk() { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -91831,7 +100253,7 @@ define([], (function load__dart_sdk() { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -91848,15 +100270,15 @@ define([], (function load__dart_sdk() { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + if (key == null) dart.nullFailed(I[149], 27392, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 27396, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 27396, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -91878,14 +100300,18 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.RtcStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); - dart.setLibraryUri(html$.RtcStatsReport, I[148]); + dart.setLibraryUri(html$.RtcStatsReport, I[150]); dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); - html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { + html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcStatsResponse.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } @@ -91900,15 +100326,24 @@ define([], (function load__dart_sdk() { [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) })); - dart.setLibraryUri(html$.RtcStatsResponse, I[148]); + dart.setStaticMethodSignature(html$.RtcStatsResponse, () => ['__']); + dart.setLibraryUri(html$.RtcStatsResponse, I[150]); dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); + return html$.RtcTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCTrackEvent(type, eventInitDict); } @@ -91924,18 +100359,22 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.RtcTrackEvent); dart.addTypeCaches(html$.RtcTrackEvent); + dart.setStaticMethodSignature(html$.RtcTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcTrackEvent, () => ({ __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); - dart.setLibraryUri(html$.RtcTrackEvent, I[148]); + dart.setLibraryUri(html$.RtcTrackEvent, I[150]); dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); - html$.Screen = class Screen extends _interceptors.Interceptor { + html$.Screen = class Screen extends _interceptors.JavaScriptObject { get [S$2.$available]() { return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); } + static ['_#_#tearOff']() { + return html$.Screen.__(); + } get [S$2._availHeight]() { return this.availHeight; } @@ -91972,6 +100411,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Screen); dart.addTypeCaches(html$.Screen); + dart.setStaticMethodSignature(html$.Screen, () => ['__']); dart.setGetterSignature(html$.Screen, () => ({ __proto__: dart.getGetters(html$.Screen.__proto__), [S$2.$available]: math.Rectangle$(core.num), @@ -91990,9 +100430,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.Screen.__proto__), [S$2.$keepAwake]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.Screen, I[148]); + dart.setLibraryUri(html$.Screen, I[150]); dart.registerExtension("Screen", html$.Screen); html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ScreenOrientation.__(); + } get [S$.$angle]() { return this.angle; } @@ -92000,7 +100443,7 @@ define([], (function load__dart_sdk() { return this.type; } [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); } [S$2.$unlock](...args) { @@ -92017,23 +100460,34 @@ define([], (function load__dart_sdk() { [S$2.$lock]: dart.fnType(async.Future, [core.String]), [S$2.$unlock]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.ScreenOrientation, () => ['__']); dart.setGetterSignature(html$.ScreenOrientation, () => ({ __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), [S$.$angle]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.ScreenOrientation, I[148]); + dart.setLibraryUri(html$.ScreenOrientation, I[150]); + dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); dart.defineLazy(html$.ScreenOrientation, { /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ScriptElement.__(); + } static new() { return html$.document.createElement("script"); } + static ['_#new#tearOff']() { + return html$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ScriptElement.created(); + } get [S$1.$async]() { return this.async; } @@ -92089,6 +100543,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.ScriptElement.prototype; dart.addTypeTests(html$.ScriptElement); dart.addTypeCaches(html$.ScriptElement); + dart.setStaticMethodSignature(html$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(html$.ScriptElement, () => ({ __proto__: dart.getGetters(html$.ScriptElement.__proto__), [S$1.$async]: dart.nullable(core.bool), @@ -92111,9 +100566,12 @@ define([], (function load__dart_sdk() { [S$.$src]: core.String, [S.$type]: core.String })); - dart.setLibraryUri(html$.ScriptElement, I[148]); + dart.setLibraryUri(html$.ScriptElement, I[150]); dart.registerExtension("HTMLScriptElement", html$.ScriptElement); - html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { + html$.ScrollState = class ScrollState$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ScrollState.__(); + } static new(scrollStateInit = null) { if (scrollStateInit != null) { let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); @@ -92121,6 +100579,9 @@ define([], (function load__dart_sdk() { } return html$.ScrollState._create_2(); } + static ['_#new#tearOff'](scrollStateInit = null) { + return html$.ScrollState.new(scrollStateInit); + } static _create_1(scrollStateInit) { return new ScrollState(scrollStateInit); } @@ -92177,6 +100638,7 @@ define([], (function load__dart_sdk() { [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.ScrollState, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollState, () => ({ __proto__: dart.getGetters(html$.ScrollState.__proto__), [S$2.$deltaGranularity]: dart.nullable(core.num), @@ -92192,9 +100654,12 @@ define([], (function load__dart_sdk() { [S$2.$velocityX]: dart.nullable(core.num), [S$2.$velocityY]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.ScrollState, I[148]); + dart.setLibraryUri(html$.ScrollState, I[150]); dart.registerExtension("ScrollState", html$.ScrollState); html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.ScrollTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -92202,6 +100667,9 @@ define([], (function load__dart_sdk() { } return html$.ScrollTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.ScrollTimeline.new(options); + } static _create_1(options) { return new ScrollTimeline(options); } @@ -92220,23 +100688,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ScrollTimeline); dart.addTypeCaches(html$.ScrollTimeline); + dart.setStaticMethodSignature(html$.ScrollTimeline, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollTimeline, () => ({ __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), [S$.$orientation]: dart.nullable(core.String), [S$2.$scrollSource]: dart.nullable(html$.Element), [S$2.$timeRange]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.ScrollTimeline, I[148]); + dart.setLibraryUri(html$.ScrollTimeline, I[150]); dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SecurityPolicyViolationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); } return html$.SecurityPolicyViolationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); + return html$.SecurityPolicyViolationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SecurityPolicyViolationEvent(type, eventInitDict); } @@ -92282,6 +100758,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SecurityPolicyViolationEvent); dart.addTypeCaches(html$.SecurityPolicyViolationEvent); + dart.setStaticMethodSignature(html$.SecurityPolicyViolationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), [S$2.$blockedUri]: dart.nullable(core.String), @@ -92297,12 +100774,21 @@ define([], (function load__dart_sdk() { [S$2.$statusCode]: dart.nullable(core.int), [S$2.$violatedDirective]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); + dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[150]); dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); html$.SelectElement = class SelectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SelectElement.__(); + } + static ['_#new#tearOff']() { + return html$.SelectElement.new(); + } static new() { return html$.document.createElement("select"); } + static ['_#created#tearOff']() { + return new html$.SelectElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -92403,7 +100889,7 @@ define([], (function load__dart_sdk() { get [S$2.$selectedOptions]() { if (dart.nullCheck(this.multiple)) { let options = this[S$0.$options][$where](dart.fn(o => { - if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + if (o == null) dart.nullFailed(I[149], 27804, 41, "o"); return o.selected; }, T$0.OptionElementTobool()))[$toList](); return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); @@ -92428,6 +100914,7 @@ define([], (function load__dart_sdk() { [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(html$.SelectElement, () => ['__', 'new']); dart.setGetterSignature(html$.SelectElement, () => ({ __proto__: dart.getGetters(html$.SelectElement.__proto__), [S$.$autofocus]: core.bool, @@ -92460,9 +100947,12 @@ define([], (function load__dart_sdk() { [S$.$size]: dart.nullable(core.int), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SelectElement, I[148]); + dart.setLibraryUri(html$.SelectElement, I[150]); dart.registerExtension("HTMLSelectElement", html$.SelectElement); - html$.Selection = class Selection extends _interceptors.Interceptor { + html$.Selection = class Selection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Selection.__(); + } get [S$2.$anchorNode]() { return this.anchorNode; } @@ -92562,6 +101052,7 @@ define([], (function load__dart_sdk() { [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.Selection, () => ['__']); dart.setGetterSignature(html$.Selection, () => ({ __proto__: dart.getGetters(html$.Selection.__proto__), [S$2.$anchorNode]: dart.nullable(html$.Node), @@ -92576,15 +101067,23 @@ define([], (function load__dart_sdk() { [S$2.$rangeCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Selection, I[148]); + dart.setLibraryUri(html$.Selection, I[150]); dart.registerExtension("Selection", html$.Selection); html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SensorErrorEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SensorErrorEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); + return html$.SensorErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SensorErrorEvent(type, eventInitDict); } @@ -92594,13 +101093,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SensorErrorEvent); dart.addTypeCaches(html$.SensorErrorEvent); + dart.setStaticMethodSignature(html$.SensorErrorEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SensorErrorEvent, () => ({ __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), [S.$error]: dart.nullable(html$.DomException) })); - dart.setLibraryUri(html$.SensorErrorEvent, I[148]); + dart.setLibraryUri(html$.SensorErrorEvent, I[150]); dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorker.__(); + } get [S$2.$scriptUrl]() { return this.scriptURL; } @@ -92636,20 +101139,25 @@ define([], (function load__dart_sdk() { [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) })); + dart.setStaticMethodSignature(html$.ServiceWorker, () => ['__']); dart.setGetterSignature(html$.ServiceWorker, () => ({ __proto__: dart.getGetters(html$.ServiceWorker.__proto__), [S$2.$scriptUrl]: dart.nullable(core.String), [S$.$state]: dart.nullable(core.String), [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.ServiceWorker, I[148]); + dart.setLibraryUri(html$.ServiceWorker, I[150]); + dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); dart.defineLazy(html$.ServiceWorker, { /*html$.ServiceWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("ServiceWorker", html$.ServiceWorker); html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerContainer.__(); + } get [S$2.$controller]() { return this.controller; } @@ -92663,7 +101171,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(core.List, this.getRegistrations()); } [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92682,20 +101190,25 @@ define([], (function load__dart_sdk() { [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) })); + dart.setStaticMethodSignature(html$.ServiceWorkerContainer, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), [S$2.$controller]: dart.nullable(html$.ServiceWorker), [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); + dart.setLibraryUri(html$.ServiceWorkerContainer, I[150]); + dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); dart.defineLazy(html$.ServiceWorkerContainer, { /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.ServiceWorkerGlobalScope.__(); + } get [S$2.$clients]() { return this.clients; } @@ -92730,6 +101243,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$skipWaiting]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(html$.ServiceWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$clients]: dart.nullable(html$.Clients), @@ -92740,26 +101254,31 @@ define([], (function load__dart_sdk() { [S$2.$onInstall]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); + dart.setStaticGetterSignature(html$.ServiceWorkerGlobalScope, () => ['instance']); + dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[150]); + dart.setStaticFieldSignature(html$.ServiceWorkerGlobalScope, () => ['activateEvent', 'fetchEvent', 'foreignfetchEvent', 'installEvent', 'messageEvent']); dart.defineLazy(html$.ServiceWorkerGlobalScope, { /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { - return C[362] || CT.C362; + return C[373] || CT.C373; }, /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[363] || CT.C363; + return C[374] || CT.C374; }, /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[364] || CT.C364; + return C[375] || CT.C375; }, /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[365] || CT.C365; + return C[376] || CT.C376; }, /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerRegistration.__(); + } get [S$1.$active]() { return this.active; } @@ -92795,7 +101314,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); } [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92818,6 +101337,7 @@ define([], (function load__dart_sdk() { [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), [$update]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(html$.ServiceWorkerRegistration, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), [S$1.$active]: dart.nullable(html$.ServiceWorker), @@ -92830,12 +101350,21 @@ define([], (function load__dart_sdk() { [S$2.$sync]: dart.nullable(html$.SyncManager), [S$2.$waiting]: dart.nullable(html$.ServiceWorker) })); - dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); + dart.setLibraryUri(html$.ServiceWorkerRegistration, I[150]); dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ShadowElement.__(); + } static new() { return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); } + static ['_#new#tearOff']() { + return html$.ShadowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ShadowElement.created(); + } static get supported() { return html$.Element.isTagSupported("shadow"); } @@ -92853,9 +101382,14 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.ShadowElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); - dart.setLibraryUri(html$.ShadowElement, I[148]); + dart.setStaticMethodSignature(html$.ShadowElement, () => ['__', 'new']); + dart.setStaticGetterSignature(html$.ShadowElement, () => ['supported']); + dart.setLibraryUri(html$.ShadowElement, I[150]); dart.registerExtension("HTMLShadowElement", html$.ShadowElement); html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + static ['_#_#tearOff']() { + return html$.ShadowRoot.__(); + } get [S$2.$delegatesFocus]() { return this.delegatesFocus; } @@ -92909,7 +101443,7 @@ define([], (function load__dart_sdk() { return false; } set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } get [S$2.$applyAuthorStyles]() { @@ -92917,7 +101451,7 @@ define([], (function load__dart_sdk() { return false; } set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } }; @@ -92930,6 +101464,7 @@ define([], (function load__dart_sdk() { [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); + dart.setStaticMethodSignature(html$.ShadowRoot, () => ['__', '_shadowRootDeprecationReport']); dart.setGetterSignature(html$.ShadowRoot, () => ({ __proto__: dart.getGetters(html$.ShadowRoot.__proto__), [S$2.$delegatesFocus]: dart.nullable(core.bool), @@ -92948,35 +101483,72 @@ define([], (function load__dart_sdk() { [S$2.$resetStyleInheritance]: core.bool, [S$2.$applyAuthorStyles]: core.bool })); - dart.setLibraryUri(html$.ShadowRoot, I[148]); + dart.setStaticGetterSignature(html$.ShadowRoot, () => ['supported']); + dart.setLibraryUri(html$.ShadowRoot, I[150]); + dart.setStaticFieldSignature(html$.ShadowRoot, () => ['_shadowRootDeprecationReported']); dart.defineLazy(html$.ShadowRoot, { /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { return false; }, - set _shadowRootDeprecationReported(_) {} + set _shadowRootDeprecationReported(value) { + if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); + } }, false); dart.registerExtension("ShadowRoot", html$.ShadowRoot); - html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { + html$.SharedArrayBuffer = class SharedArrayBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SharedArrayBuffer.__(); + } + static new(length = null) { + if (length != null) { + return html$.SharedArrayBuffer._create_1(length); + } + return html$.SharedArrayBuffer._create_2(); + } + static ['_#new#tearOff'](length = null) { + return html$.SharedArrayBuffer.new(length); + } + static _create_1(length) { + return new SharedArrayBuffer(length); + } + static _create_2() { + return new SharedArrayBuffer(); + } get [S$2.$byteLength]() { return this.byteLength; } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } }; dart.addTypeTests(html$.SharedArrayBuffer); dart.addTypeCaches(html$.SharedArrayBuffer); + dart.setMethodSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getMethods(html$.SharedArrayBuffer.__proto__), + [S$.$slice]: dart.fnType(html$.SharedArrayBuffer, [], [dart.nullable(core.int), dart.nullable(core.int)]) + })); + dart.setStaticMethodSignature(html$.SharedArrayBuffer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), [S$2.$byteLength]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); + dart.setLibraryUri(html$.SharedArrayBuffer, I[150]); dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SharedWorker.__(); + } static new(scriptURL, name = null) { - if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); if (name != null) { return html$.SharedWorker._create_1(scriptURL, name); } return html$.SharedWorker._create_2(scriptURL); } + static ['_#new#tearOff'](scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); + return html$.SharedWorker.new(scriptURL, name); + } static _create_1(scriptURL, name) { return new SharedWorker(scriptURL, name); } @@ -92993,19 +101565,24 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.SharedWorker); dart.addTypeCaches(html$.SharedWorker); html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; + dart.setStaticMethodSignature(html$.SharedWorker, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedWorker, () => ({ __proto__: dart.getGetters(html$.SharedWorker.__proto__), [S$.$port]: dart.nullable(html$.MessagePort), [S.$onError]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.SharedWorker, I[148]); + dart.setLibraryUri(html$.SharedWorker, I[150]); + dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); dart.defineLazy(html$.SharedWorker, { /*html$.SharedWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SharedWorker", html$.SharedWorker); html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.SharedWorkerGlobalScope.__(); + } get [$name]() { return this.name; } @@ -93041,15 +101618,18 @@ define([], (function load__dart_sdk() { [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); + dart.setStaticMethodSignature(html$.SharedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), [$name]: dart.nullable(core.String), [S$2.$onConnect]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); + dart.setStaticGetterSignature(html$.SharedWorkerGlobalScope, () => ['instance']); + dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[150]); + dart.setStaticFieldSignature(html$.SharedWorkerGlobalScope, () => ['connectEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.SharedWorkerGlobalScope, { /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { - return C[366] || CT.C366; + return C[377] || CT.C377; }, /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -93060,6 +101640,12 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); html$.SlotElement = class SlotElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SlotElement.__(); + } + static ['_#created#tearOff']() { + return new html$.SlotElement.created(); + } get [$name]() { return this.name; } @@ -93092,6 +101678,7 @@ define([], (function load__dart_sdk() { [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) })); + dart.setStaticMethodSignature(html$.SlotElement, () => ['__']); dart.setGetterSignature(html$.SlotElement, () => ({ __proto__: dart.getGetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) @@ -93100,9 +101687,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SlotElement, I[148]); + dart.setLibraryUri(html$.SlotElement, I[150]); dart.registerExtension("HTMLSlotElement", html$.SlotElement); html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SourceBuffer.__(); + } get [S$2.$appendWindowEnd]() { return this.appendWindowEnd; } @@ -93173,6 +101763,7 @@ define([], (function load__dart_sdk() { [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), [$remove]: dart.fnType(dart.void, [core.num, core.num]) })); + dart.setStaticMethodSignature(html$.SourceBuffer, () => ['__']); dart.setGetterSignature(html$.SourceBuffer, () => ({ __proto__: dart.getGetters(html$.SourceBuffer.__proto__), [S$2.$appendWindowEnd]: dart.nullable(core.num), @@ -93195,13 +101786,14 @@ define([], (function load__dart_sdk() { [S$2.$timestampOffset]: dart.nullable(core.num), [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) })); - dart.setLibraryUri(html$.SourceBuffer, I[148]); + dart.setLibraryUri(html$.SourceBuffer, I[150]); + dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); dart.defineLazy(html$.SourceBuffer, { /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SourceBuffer", html$.SourceBuffer); @@ -93216,24 +101808,27 @@ define([], (function load__dart_sdk() { }).prototype = EventTarget_ImmutableListMixin$36.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.SourceBufferList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28438, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28444, 25, "index"); html$.SourceBuffer.as(value); - if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + if (value == null) dart.nullFailed(I[149], 28444, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28450, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93264,7 +101859,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + if (index == null) dart.nullFailed(I[149], 28478, 30, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -93274,13 +101869,14 @@ define([], (function load__dart_sdk() { html$.SourceBufferList.prototype[dart.isList] = true; dart.addTypeTests(html$.SourceBufferList); dart.addTypeCaches(html$.SourceBufferList); - html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; + html$.SourceBufferList[dart.implements] = () => [core.List$(html$.SourceBuffer), _js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer)]; dart.setMethodSignature(html$.SourceBufferList, () => ({ __proto__: dart.getMethods(html$.SourceBufferList.__proto__), [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) })); + dart.setStaticMethodSignature(html$.SourceBufferList, () => ['__']); dart.setGetterSignature(html$.SourceBufferList, () => ({ __proto__: dart.getGetters(html$.SourceBufferList.__proto__), [$length]: core.int @@ -93289,12 +101885,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.SourceBufferList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.SourceBufferList, I[148]); + dart.setLibraryUri(html$.SourceBufferList, I[150]); dart.registerExtension("SourceBufferList", html$.SourceBufferList); html$.SourceElement = class SourceElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SourceElement.__(); + } static new() { return html$.document.createElement("source"); } + static ['_#new#tearOff']() { + return html$.SourceElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SourceElement.created(); + } get [S$.$media]() { return this.media; } @@ -93332,6 +101937,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.SourceElement.prototype; dart.addTypeTests(html$.SourceElement); dart.addTypeCaches(html$.SourceElement); + dart.setStaticMethodSignature(html$.SourceElement, () => ['__', 'new']); dart.setGetterSignature(html$.SourceElement, () => ({ __proto__: dart.getGetters(html$.SourceElement.__proto__), [S$.$media]: core.String, @@ -93348,12 +101954,21 @@ define([], (function load__dart_sdk() { [S$1.$srcset]: dart.nullable(core.String), [S.$type]: core.String })); - dart.setLibraryUri(html$.SourceElement, I[148]); + dart.setLibraryUri(html$.SourceElement, I[150]); dart.registerExtension("HTMLSourceElement", html$.SourceElement); html$.SpanElement = class SpanElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SpanElement.__(); + } static new() { return html$.document.createElement("span"); } + static ['_#new#tearOff']() { + return html$.SpanElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SpanElement.created(); + } }; (html$.SpanElement.created = function() { html$.SpanElement.__proto__.created.call(this); @@ -93361,12 +101976,19 @@ define([], (function load__dart_sdk() { }).prototype = html$.SpanElement.prototype; dart.addTypeTests(html$.SpanElement); dart.addTypeCaches(html$.SpanElement); - dart.setLibraryUri(html$.SpanElement, I[148]); + dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); + dart.setLibraryUri(html$.SpanElement, I[150]); dart.registerExtension("HTMLSpanElement", html$.SpanElement); - html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { + html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechGrammar.__(); + } static new() { return html$.SpeechGrammar._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammar.new(); + } static _create_1() { return new SpeechGrammar(); } @@ -93385,6 +102007,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechGrammar); dart.addTypeCaches(html$.SpeechGrammar); + dart.setStaticMethodSignature(html$.SpeechGrammar, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammar, () => ({ __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), [S$.$src]: dart.nullable(core.String), @@ -93395,22 +102018,28 @@ define([], (function load__dart_sdk() { [S$.$src]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.SpeechGrammar, I[148]); + dart.setLibraryUri(html$.SpeechGrammar, I[150]); dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); - const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$5.new = function() { - Interceptor_ListMixin$36$5.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$5.prototype; - dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); - const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; - (Interceptor_ImmutableListMixin$36$5.new = function() { - Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$5.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); - html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { + const JavaScriptObject_ListMixin$36$5 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$5.new = function() { + JavaScriptObject_ListMixin$36$5.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$5.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); + const JavaScriptObject_ImmutableListMixin$36$5 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$5 {}; + (JavaScriptObject_ImmutableListMixin$36$5.new = function() { + JavaScriptObject_ImmutableListMixin$36$5.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$5.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); + html$.SpeechGrammarList = class SpeechGrammarList$ extends JavaScriptObject_ImmutableListMixin$36$5 { + static ['_#_#tearOff']() { + return html$.SpeechGrammarList.__(); + } static new() { return html$.SpeechGrammarList._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammarList.new(); + } static _create_1() { return new SpeechGrammarList(); } @@ -93418,20 +102047,20 @@ define([], (function load__dart_sdk() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28595, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28601, 25, "index"); html$.SpeechGrammar.as(value); - if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + if (value == null) dart.nullFailed(I[149], 28601, 46, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28607, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93462,7 +102091,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + if (index == null) dart.nullFailed(I[149], 28635, 31, "index"); return this[$_get](index); } [S$2.$addFromString](...args) { @@ -93478,7 +102107,7 @@ define([], (function load__dart_sdk() { html$.SpeechGrammarList.prototype[dart.isList] = true; dart.addTypeTests(html$.SpeechGrammarList); dart.addTypeCaches(html$.SpeechGrammarList); - html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; + html$.SpeechGrammarList[dart.implements] = () => [core.List$(html$.SpeechGrammar), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar)]; dart.setMethodSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), @@ -93487,6 +102116,7 @@ define([], (function load__dart_sdk() { [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) })); + dart.setStaticMethodSignature(html$.SpeechGrammarList, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), [$length]: core.int @@ -93495,9 +102125,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.SpeechGrammarList, I[148]); + dart.setLibraryUri(html$.SpeechGrammarList, I[150]); dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechRecognition.__(); + } static get supported() { return !!(window.SpeechRecognition || window.webkitSpeechRecognition); } @@ -93582,6 +102215,9 @@ define([], (function load__dart_sdk() { static new() { return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); } + static ['_#new#tearOff']() { + return html$.SpeechRecognition.new(); + } }; dart.addTypeTests(html$.SpeechRecognition); dart.addTypeCaches(html$.SpeechRecognition); @@ -93591,6 +102227,7 @@ define([], (function load__dart_sdk() { [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.SpeechRecognition, () => ['__', 'new']); dart.setGetterSignature(html$.SpeechRecognition, () => ({ __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), @@ -93620,44 +102257,49 @@ define([], (function load__dart_sdk() { [S.$lang]: dart.nullable(core.String), [S$2.$maxAlternatives]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.SpeechRecognition, I[148]); + dart.setStaticGetterSignature(html$.SpeechRecognition, () => ['supported']); + dart.setLibraryUri(html$.SpeechRecognition, I[150]); + dart.setStaticFieldSignature(html$.SpeechRecognition, () => ['audioEndEvent', 'audioStartEvent', 'endEvent', 'errorEvent', 'noMatchEvent', 'resultEvent', 'soundEndEvent', 'soundStartEvent', 'speechEndEvent', 'speechStartEvent', 'startEvent']); dart.defineLazy(html$.SpeechRecognition, { /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { - return C[367] || CT.C367; + return C[378] || CT.C378; }, /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[368] || CT.C368; + return C[379] || CT.C379; }, /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[369] || CT.C369; + return C[380] || CT.C380; }, /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[370] || CT.C370; + return C[381] || CT.C381; }, /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[371] || CT.C371; + return C[382] || CT.C382; }, /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[372] || CT.C372; + return C[383] || CT.C383; }, /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[373] || CT.C373; + return C[384] || CT.C384; }, /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[374] || CT.C374; + return C[385] || CT.C385; }, /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[375] || CT.C375; + return C[386] || CT.C386; }, /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[376] || CT.C376; + return C[387] || CT.C387; }, /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[377] || CT.C377; + return C[388] || CT.C388; } }, false); dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); - html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { + html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionAlternative.__(); + } get [S$2.$confidence]() { return this.confidence; } @@ -93667,22 +102309,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechRecognitionAlternative); dart.addTypeCaches(html$.SpeechRecognitionAlternative); + dart.setStaticMethodSignature(html$.SpeechRecognitionAlternative, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), [S$2.$confidence]: dart.nullable(core.num), [S$2.$transcript]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); + dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[150]); dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionError.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionError._create_1(type, initDict_1); } return html$.SpeechRecognitionError._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); + return html$.SpeechRecognitionError.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionError(type, initDict); } @@ -93698,22 +102348,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechRecognitionError); dart.addTypeCaches(html$.SpeechRecognitionError); + dart.setStaticMethodSignature(html$.SpeechRecognitionError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), [S.$error]: dart.nullable(core.String), [$message]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); + dart.setLibraryUri(html$.SpeechRecognitionError, I[150]); dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionEvent.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionEvent._create_1(type, initDict_1); } return html$.SpeechRecognitionEvent._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); + return html$.SpeechRecognitionEvent.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionEvent(type, initDict); } @@ -93735,6 +102393,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechRecognitionEvent); dart.addTypeCaches(html$.SpeechRecognitionEvent); + dart.setStaticMethodSignature(html$.SpeechRecognitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), [S$2.$emma]: dart.nullable(html$.Document), @@ -93742,9 +102401,12 @@ define([], (function load__dart_sdk() { [S$2.$resultIndex]: dart.nullable(core.int), [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) })); - dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); + dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); - html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { + html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionResult.__(); + } get [S$2.$isFinal]() { return this.isFinal; } @@ -93761,12 +102423,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) })); + dart.setStaticMethodSignature(html$.SpeechRecognitionResult, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), [S$2.$isFinal]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); + dart.setLibraryUri(html$.SpeechRecognitionResult, I[150]); dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { [S$2.$getVoices]() { @@ -93774,6 +102437,9 @@ define([], (function load__dart_sdk() { if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); return voices; } + static ['_#_#tearOff']() { + return html$.SpeechSynthesis.__(); + } get [S$.$paused]() { return this.paused; } @@ -93810,15 +102476,19 @@ define([], (function load__dart_sdk() { [S$1.$resume]: dart.fnType(dart.void, []), [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) })); + dart.setStaticMethodSignature(html$.SpeechSynthesis, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesis, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), [S$.$paused]: dart.nullable(core.bool), [S$2.$pending]: dart.nullable(core.bool), [S$2.$speaking]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.SpeechSynthesis, I[148]); + dart.setLibraryUri(html$.SpeechSynthesis, I[150]); dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisEvent.__(); + } get [S$2.$charIndex]() { return this.charIndex; } @@ -93834,6 +102504,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechSynthesisEvent); dart.addTypeCaches(html$.SpeechSynthesisEvent); + dart.setStaticMethodSignature(html$.SpeechSynthesisEvent, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), [S$2.$charIndex]: dart.nullable(core.int), @@ -93841,15 +102512,21 @@ define([], (function load__dart_sdk() { [$name]: dart.nullable(core.String), [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) })); - dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); + dart.setLibraryUri(html$.SpeechSynthesisEvent, I[150]); dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisUtterance.__(); + } static new(text = null) { if (text != null) { return html$.SpeechSynthesisUtterance._create_1(text); } return html$.SpeechSynthesisUtterance._create_2(); } + static ['_#new#tearOff'](text = null) { + return html$.SpeechSynthesisUtterance.new(text); + } static _create_1(text) { return new SpeechSynthesisUtterance(text); } @@ -93904,7 +102581,7 @@ define([], (function load__dart_sdk() { get [S$2.$onMark]() { return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); } get [S$2.$onResume]() { @@ -93916,6 +102593,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechSynthesisUtterance); dart.addTypeCaches(html$.SpeechSynthesisUtterance); + dart.setStaticMethodSignature(html$.SpeechSynthesisUtterance, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), [S.$lang]: dart.nullable(core.String), @@ -93928,7 +102606,7 @@ define([], (function load__dart_sdk() { [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), [S.$onError]: async.Stream$(html$.Event), [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) })); @@ -93941,32 +102619,36 @@ define([], (function load__dart_sdk() { [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), [S$.$volume]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); + dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[150]); + dart.setStaticFieldSignature(html$.SpeechSynthesisUtterance, () => ['boundaryEvent', 'endEvent', 'errorEvent', 'markEvent', 'pauseEvent', 'resumeEvent', 'startEvent']); dart.defineLazy(html$.SpeechSynthesisUtterance, { /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { - return C[378] || CT.C378; + return C[389] || CT.C389; }, /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[379] || CT.C379; + return C[390] || CT.C390; }, /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[380] || CT.C380; + return C[391] || CT.C391; }, /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[381] || CT.C381; + return C[392] || CT.C392; }, /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[382] || CT.C382; + return C[393] || CT.C393; } }, false); dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); - html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { + html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisVoice.__(); + } get [S$1.$defaultValue]() { return this.default; } @@ -93985,6 +102667,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SpeechSynthesisVoice); dart.addTypeCaches(html$.SpeechSynthesisVoice); + dart.setStaticMethodSignature(html$.SpeechSynthesisVoice, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -93993,9 +102676,12 @@ define([], (function load__dart_sdk() { [$name]: dart.nullable(core.String), [S$2.$voiceUri]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); + dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); - html$.StaticRange = class StaticRange extends _interceptors.Interceptor { + html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StaticRange.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -94014,6 +102700,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.StaticRange); dart.addTypeCaches(html$.StaticRange); + dart.setStaticMethodSignature(html$.StaticRange, () => ['__']); dart.setGetterSignature(html$.StaticRange, () => ({ __proto__: dart.getGetters(html$.StaticRange.__proto__), [S$2.$collapsed]: dart.nullable(core.bool), @@ -94022,26 +102709,26 @@ define([], (function load__dart_sdk() { [S$2.$startContainer]: dart.nullable(html$.Node), [S$2.$startOffset]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.StaticRange, I[148]); + dart.setLibraryUri(html$.StaticRange, I[150]); dart.registerExtension("StaticRange", html$.StaticRange); - const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; - (Interceptor_MapMixin$36$1.new = function() { - Interceptor_MapMixin$36$1.__proto__.new.call(this); - }).prototype = Interceptor_MapMixin$36$1.prototype; - dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); - html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { + const JavaScriptObject_MapMixin$36$1 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_MapMixin$36$1.new = function() { + JavaScriptObject_MapMixin$36$1.__proto__.new.call(this); + }).prototype = JavaScriptObject_MapMixin$36$1.prototype; + dart.applyMixin(JavaScriptObject_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); + html$.Storage = class Storage extends JavaScriptObject_MapMixin$36$1 { [$addAll](other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + if (other == null) dart.nullFailed(I[149], 29183, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); - if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + if (k == null) dart.nullFailed(I[149], 29184, 20, "k"); + if (v == null) dart.nullFailed(I[149], 29184, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + if (e == null) dart.nullFailed(I[149], 29190, 52, "e"); return core.identical(e, value); }, T$.StringTobool())); } @@ -94054,17 +102741,17 @@ define([], (function load__dart_sdk() { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + if (value == null) dart.nullFailed(I[149], 29196, 40, "value"); this[S$2._setItem](key, value); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + if (key == null) dart.nullFailed(I[149], 29200, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 29200, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); return dart.nullCast(this[$_get](key), core.String); } @@ -94077,7 +102764,7 @@ define([], (function load__dart_sdk() { return this[S$0._clear$3](); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + if (f == null) dart.nullFailed(I[149], 29213, 21, "f"); for (let i = 0; true; i = i + 1) { let key = this[S$2._key](i); if (key == null) return; @@ -94087,8 +102774,8 @@ define([], (function load__dart_sdk() { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29224, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29224, 17, "v"); return keys[$add](k); }, T$0.StringAndStringTovoid())); return keys; @@ -94096,8 +102783,8 @@ define([], (function load__dart_sdk() { get [$values]() { let values = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29230, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29230, 17, "v"); return values[$add](v); }, T$0.StringAndStringTovoid())); return values; @@ -94111,6 +102798,9 @@ define([], (function load__dart_sdk() { get [$isNotEmpty]() { return !dart.test(this[$isEmpty]); } + static ['_#_#tearOff']() { + return html$.Storage.__(); + } get [S$2._length$3]() { return this.length; } @@ -94144,20 +102834,21 @@ define([], (function load__dart_sdk() { [S$2._removeItem]: dart.fnType(dart.void, [core.String]), [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) })); + dart.setStaticMethodSignature(html$.Storage, () => ['__']); dart.setGetterSignature(html$.Storage, () => ({ __proto__: dart.getGetters(html$.Storage.__proto__), [$keys]: core.Iterable$(core.String), [S$2._length$3]: core.int })); - dart.setLibraryUri(html$.Storage, I[148]); + dart.setLibraryUri(html$.Storage, I[150]); dart.registerExtension("Storage", html$.Storage); html$.StorageEvent = class StorageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); let key = opts && 'key' in opts ? opts.key : null; let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; let newValue = opts && 'newValue' in opts ? opts.newValue : null; @@ -94167,14 +102858,31 @@ define([], (function load__dart_sdk() { e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + return html$.StorageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, key: key, oldValue: oldValue, newValue: newValue, url: url, storageArea: storageArea}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.StorageEvent._create_1(type, eventInitDict_1); } return html$.StorageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); + return html$.StorageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new StorageEvent(type, eventInitDict); } @@ -94187,7 +102895,7 @@ define([], (function load__dart_sdk() { get [S$1.$newValue]() { return this.newValue; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } get [S$2.$storageArea]() { @@ -94206,17 +102914,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.StorageEvent.__proto__), [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) })); + dart.setStaticMethodSignature(html$.StorageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.StorageEvent, () => ({ __proto__: dart.getGetters(html$.StorageEvent.__proto__), [S.$key]: dart.nullable(core.String), [S$1.$newValue]: dart.nullable(core.String), - [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$oldValue]: dart.nullable(core.String), [S$2.$storageArea]: dart.nullable(html$.Storage), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.StorageEvent, I[148]); + dart.setLibraryUri(html$.StorageEvent, I[150]); dart.registerExtension("StorageEvent", html$.StorageEvent); - html$.StorageManager = class StorageManager extends _interceptors.Interceptor { + html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StorageManager.__(); + } [S$2.$estimate]() { return html$.promiseToFutureAsMap(this.estimate()); } @@ -94235,12 +102947,22 @@ define([], (function load__dart_sdk() { [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) })); - dart.setLibraryUri(html$.StorageManager, I[148]); + dart.setStaticMethodSignature(html$.StorageManager, () => ['__']); + dart.setLibraryUri(html$.StorageManager, I[150]); dart.registerExtension("StorageManager", html$.StorageManager); html$.StyleElement = class StyleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.StyleElement.__(); + } static new() { return html$.document.createElement("style"); } + static ['_#new#tearOff']() { + return html$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -94269,6 +102991,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.StyleElement.prototype; dart.addTypeTests(html$.StyleElement); dart.addTypeCaches(html$.StyleElement); + dart.setStaticMethodSignature(html$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(html$.StyleElement, () => ({ __proto__: dart.getGetters(html$.StyleElement.__proto__), [S$.$disabled]: core.bool, @@ -94282,9 +103005,12 @@ define([], (function load__dart_sdk() { [S$.$media]: core.String, [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.StyleElement, I[148]); + dart.setLibraryUri(html$.StyleElement, I[150]); dart.registerExtension("HTMLStyleElement", html$.StyleElement); - html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { + html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleMedia.__(); + } get [S.$type]() { return this.type; } @@ -94298,13 +103024,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.StyleMedia.__proto__), [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.StyleMedia, () => ['__']); dart.setGetterSignature(html$.StyleMedia, () => ({ __proto__: dart.getGetters(html$.StyleMedia.__proto__), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.StyleMedia, I[148]); + dart.setLibraryUri(html$.StyleMedia, I[150]); dart.registerExtension("StyleMedia", html$.StyleMedia); - html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { + html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StylePropertyMapReadonly.__(); + } [S.$get](...args) { return this.get.apply(this, args); } @@ -94327,9 +103057,13 @@ define([], (function load__dart_sdk() { [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), [S$.$has]: dart.fnType(core.bool, [core.String]) })); - dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); + dart.setStaticMethodSignature(html$.StylePropertyMapReadonly, () => ['__']); + dart.setLibraryUri(html$.StylePropertyMapReadonly, I[150]); dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + static ['_#_#tearOff']() { + return html$.StylePropertyMap.__(); + } [S.$append](...args) { return this.append.apply(this, args); } @@ -94348,15 +103082,24 @@ define([], (function load__dart_sdk() { [S.$delete]: dart.fnType(dart.void, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) })); - dart.setLibraryUri(html$.StylePropertyMap, I[148]); + dart.setStaticMethodSignature(html$.StylePropertyMap, () => ['__']); + dart.setLibraryUri(html$.StylePropertyMap, I[150]); dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.SyncEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); - if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.SyncEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); + return html$.SyncEvent.new(type, init); + } static _create_1(type, init) { return new SyncEvent(type, init); } @@ -94369,19 +103112,23 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.SyncEvent); dart.addTypeCaches(html$.SyncEvent); + dart.setStaticMethodSignature(html$.SyncEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SyncEvent, () => ({ __proto__: dart.getGetters(html$.SyncEvent.__proto__), [S$2.$lastChance]: dart.nullable(core.bool), [S$2.$tag]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.SyncEvent, I[148]); + dart.setLibraryUri(html$.SyncEvent, I[150]); dart.registerExtension("SyncEvent", html$.SyncEvent); - html$.SyncManager = class SyncManager extends _interceptors.Interceptor { + html$.SyncManager = class SyncManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SyncManager.__(); + } [S$2.$getTags]() { return js_util.promiseToFuture(core.List, this.getTags()); } [S$1.$register](tag) { - if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + if (tag == null) dart.nullFailed(I[149], 29510, 26, "tag"); return js_util.promiseToFuture(dart.dynamic, this.register(tag)); } }; @@ -94392,12 +103139,22 @@ define([], (function load__dart_sdk() { [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future, [core.String]) })); - dart.setLibraryUri(html$.SyncManager, I[148]); + dart.setStaticMethodSignature(html$.SyncManager, () => ['__']); + dart.setLibraryUri(html$.SyncManager, I[150]); dart.registerExtension("SyncManager", html$.SyncManager); html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCaptionElement.__(); + } static new() { return html$.document.createElement("caption"); } + static ['_#new#tearOff']() { + return html$.TableCaptionElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCaptionElement.created(); + } }; (html$.TableCaptionElement.created = function() { html$.TableCaptionElement.__proto__.created.call(this); @@ -94405,12 +103162,22 @@ define([], (function load__dart_sdk() { }).prototype = html$.TableCaptionElement.prototype; dart.addTypeTests(html$.TableCaptionElement); dart.addTypeCaches(html$.TableCaptionElement); - dart.setLibraryUri(html$.TableCaptionElement, I[148]); + dart.setStaticMethodSignature(html$.TableCaptionElement, () => ['__', 'new']); + dart.setLibraryUri(html$.TableCaptionElement, I[150]); dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCellElement.__(); + } static new() { return html$.document.createElement("td"); } + static ['_#new#tearOff']() { + return html$.TableCellElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCellElement.created(); + } get [S$2.$cellIndex]() { return this.cellIndex; } @@ -94439,6 +103206,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.TableCellElement.prototype; dart.addTypeTests(html$.TableCellElement); dart.addTypeCaches(html$.TableCellElement); + dart.setStaticMethodSignature(html$.TableCellElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableCellElement, () => ({ __proto__: dart.getGetters(html$.TableCellElement.__proto__), [S$2.$cellIndex]: core.int, @@ -94452,14 +103220,23 @@ define([], (function load__dart_sdk() { [S$2.$headers]: dart.nullable(core.String), [S$.$rowSpan]: core.int })); - dart.setLibraryUri(html$.TableCellElement, I[148]); + dart.setLibraryUri(html$.TableCellElement, I[150]); dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); html$.TableColElement = class TableColElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableColElement.__(); + } static new() { return html$.document.createElement("col"); } + static ['_#new#tearOff']() { + return html$.TableColElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableColElement.created(); + } get [S$2.$span]() { return this.span; } @@ -94473,6 +103250,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.TableColElement.prototype; dart.addTypeTests(html$.TableColElement); dart.addTypeCaches(html$.TableColElement); + dart.setStaticMethodSignature(html$.TableColElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableColElement, () => ({ __proto__: dart.getGetters(html$.TableColElement.__proto__), [S$2.$span]: core.int @@ -94481,7 +103259,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TableColElement.__proto__), [S$2.$span]: core.int })); - dart.setLibraryUri(html$.TableColElement, I[148]); + dart.setLibraryUri(html$.TableColElement, I[150]); dart.registerExtension("HTMLTableColElement", html$.TableColElement); html$.TableElement = class TableElement extends html$.HtmlElement { get [S$2.$tBodies]() { @@ -94506,7 +103284,7 @@ define([], (function load__dart_sdk() { return this[S$2._createTHead](); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); return this[S$2._insertRow](index); } [S$2._createTBody]() { @@ -94532,9 +103310,18 @@ define([], (function load__dart_sdk() { fragment[S.$nodes][$addAll](table[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableElement.__(); + } static new() { return html$.document.createElement("table"); } + static ['_#new#tearOff']() { + return html$.TableElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableElement.created(); + } get [S$2.$caption]() { return this.caption; } @@ -94609,6 +103396,7 @@ define([], (function load__dart_sdk() { [S$2.$deleteTHead]: dart.fnType(dart.void, []), [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.TableElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableElement, () => ({ __proto__: dart.getGetters(html$.TableElement.__proto__), [S$2.$tBodies]: core.List$(html$.TableSectionElement), @@ -94625,7 +103413,7 @@ define([], (function load__dart_sdk() { [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), [S$2.$tHead]: dart.nullable(html$.TableSectionElement) })); - dart.setLibraryUri(html$.TableElement, I[148]); + dart.setLibraryUri(html$.TableElement, I[150]); dart.registerExtension("HTMLTableElement", html$.TableElement); html$.TableRowElement = class TableRowElement extends html$.HtmlElement { get [S$2.$cells]() { @@ -94635,7 +103423,7 @@ define([], (function load__dart_sdk() { return this[S$2.$insertCell](-1); } [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); return html$.TableCellElement.as(this[S$2._insertCell](index)); } [S.$createFragment](html, opts) { @@ -94650,9 +103438,18 @@ define([], (function load__dart_sdk() { fragment[S.$nodes][$addAll](row[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableRowElement.__(); + } static new() { return html$.document.createElement("tr"); } + static ['_#new#tearOff']() { + return html$.TableRowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableRowElement.created(); + } get [S$2._cells]() { return this.cells; } @@ -94682,6 +103479,7 @@ define([], (function load__dart_sdk() { [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.TableRowElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableRowElement, () => ({ __proto__: dart.getGetters(html$.TableRowElement.__proto__), [S$2.$cells]: core.List$(html$.TableCellElement), @@ -94689,7 +103487,7 @@ define([], (function load__dart_sdk() { [S$.$rowIndex]: core.int, [S$2.$sectionRowIndex]: core.int })); - dart.setLibraryUri(html$.TableRowElement, I[148]); + dart.setLibraryUri(html$.TableRowElement, I[150]); dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { get [S$2.$rows]() { @@ -94699,7 +103497,7 @@ define([], (function load__dart_sdk() { return this[S$2.$insertRow](-1); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); return html$.TableRowElement.as(this[S$2._insertRow](index)); } [S.$createFragment](html, opts) { @@ -94713,6 +103511,12 @@ define([], (function load__dart_sdk() { fragment[S.$nodes][$addAll](section[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableSectionElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TableSectionElement.created(); + } get [S$2._rows]() { return this.rows; } @@ -94736,14 +103540,18 @@ define([], (function load__dart_sdk() { [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$.TableSectionElement, () => ['__']); dart.setGetterSignature(html$.TableSectionElement, () => ({ __proto__: dart.getGetters(html$.TableSectionElement.__proto__), [S$2.$rows]: core.List$(html$.TableRowElement), [S$2._rows]: core.List$(html$.Node) })); - dart.setLibraryUri(html$.TableSectionElement, I[148]); + dart.setLibraryUri(html$.TableSectionElement, I[150]); dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.TaskAttributionTiming.__(); + } get [S$2.$containerId]() { return this.containerId; } @@ -94762,6 +103570,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TaskAttributionTiming); dart.addTypeCaches(html$.TaskAttributionTiming); + dart.setStaticMethodSignature(html$.TaskAttributionTiming, () => ['__']); dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), [S$2.$containerId]: dart.nullable(core.String), @@ -94770,12 +103579,21 @@ define([], (function load__dart_sdk() { [S$2.$containerType]: dart.nullable(core.String), [S$2.$scriptUrl]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); + dart.setLibraryUri(html$.TaskAttributionTiming, I[150]); dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TemplateElement.__(); + } static new() { return html$.TemplateElement.as(html$.document[S.$createElement]("template")); } + static ['_#new#tearOff']() { + return html$.TemplateElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TemplateElement.created(); + } static get supported() { return html$.Element.isTagSupported("template"); } @@ -94797,16 +103615,27 @@ define([], (function load__dart_sdk() { }).prototype = html$.TemplateElement.prototype; dart.addTypeTests(html$.TemplateElement); dart.addTypeCaches(html$.TemplateElement); + dart.setStaticMethodSignature(html$.TemplateElement, () => ['__', 'new']); dart.setGetterSignature(html$.TemplateElement, () => ({ __proto__: dart.getGetters(html$.TemplateElement.__proto__), [S$0.$content]: dart.nullable(html$.DocumentFragment) })); - dart.setLibraryUri(html$.TemplateElement, I[148]); + dart.setStaticGetterSignature(html$.TemplateElement, () => ['supported']); + dart.setLibraryUri(html$.TemplateElement, I[150]); dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TextAreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.TextAreaElement.new(); + } static new() { return html$.document.createElement("textarea"); } + static ['_#created#tearOff']() { + return new html$.TextAreaElement.created(); + } get [S$1.$autocapitalize]() { return this.autocapitalize; } @@ -94970,6 +103799,7 @@ define([], (function load__dart_sdk() { [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.TextAreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.TextAreaElement, () => ({ __proto__: dart.getGetters(html$.TextAreaElement.__proto__), [S$1.$autocapitalize]: dart.nullable(core.String), @@ -95019,12 +103849,18 @@ define([], (function load__dart_sdk() { [S.$value]: dart.nullable(core.String), [S$2.$wrap]: core.String })); - dart.setLibraryUri(html$.TextAreaElement, I[148]); + dart.setLibraryUri(html$.TextAreaElement, I[150]); dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); - html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { + html$.TextDetector = class TextDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextDetector.__(); + } static new() { return html$.TextDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.TextDetector.new(); + } static _create_1() { return new TextDetector(); } @@ -95038,15 +103874,16 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.TextDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); - dart.setLibraryUri(html$.TextDetector, I[148]); + dart.setStaticMethodSignature(html$.TextDetector, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.TextDetector, I[150]); dart.registerExtension("TextDetector", html$.TextDetector); html$.TextEvent = class TextEvent extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; if (view == null) { @@ -95056,6 +103893,19 @@ define([], (function load__dart_sdk() { e[S$2._initTextEvent](type, canBubble, cancelable, view, data); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + return html$.TextEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data}); + } + static ['_#_#tearOff']() { + return html$.TextEvent.__(); + } get [S$.$data]() { return this.data; } @@ -95069,13 +103919,17 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.TextEvent.__proto__), [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(html$.TextEvent, () => ['new', '__']); dart.setGetterSignature(html$.TextEvent, () => ({ __proto__: dart.getGetters(html$.TextEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TextEvent, I[148]); + dart.setLibraryUri(html$.TextEvent, I[150]); dart.registerExtension("TextEvent", html$.TextEvent); - html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { + html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextMetrics.__(); + } get [S$2.$actualBoundingBoxAscent]() { return this.actualBoundingBoxAscent; } @@ -95094,19 +103948,19 @@ define([], (function load__dart_sdk() { get [S$2.$emHeightAscent]() { return this.emHeightAscent; } - get [S$2.$emHeightDescent]() { + get [S$3.$emHeightDescent]() { return this.emHeightDescent; } - get [S$2.$fontBoundingBoxAscent]() { + get [S$3.$fontBoundingBoxAscent]() { return this.fontBoundingBoxAscent; } - get [S$2.$fontBoundingBoxDescent]() { + get [S$3.$fontBoundingBoxDescent]() { return this.fontBoundingBoxDescent; } - get [S$2.$hangingBaseline]() { + get [S$3.$hangingBaseline]() { return this.hangingBaseline; } - get [S$2.$ideographicBaseline]() { + get [S$3.$ideographicBaseline]() { return this.ideographicBaseline; } get [$width]() { @@ -95115,6 +103969,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TextMetrics); dart.addTypeCaches(html$.TextMetrics); + dart.setStaticMethodSignature(html$.TextMetrics, () => ['__']); dart.setGetterSignature(html$.TextMetrics, () => ({ __proto__: dart.getGetters(html$.TextMetrics.__proto__), [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), @@ -95123,20 +103978,23 @@ define([], (function load__dart_sdk() { [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), [S$2.$alphabeticBaseline]: dart.nullable(core.num), [S$2.$emHeightAscent]: dart.nullable(core.num), - [S$2.$emHeightDescent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$hangingBaseline]: dart.nullable(core.num), - [S$2.$ideographicBaseline]: dart.nullable(core.num), + [S$3.$emHeightDescent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$3.$hangingBaseline]: dart.nullable(core.num), + [S$3.$ideographicBaseline]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.TextMetrics, I[148]); + dart.setLibraryUri(html$.TextMetrics, I[150]); dart.registerExtension("TextMetrics", html$.TextMetrics); html$.TextTrack = class TextTrack extends html$.EventTarget { - get [S$2.$activeCues]() { + static ['_#_#tearOff']() { + return html$.TextTrack.__(); + } + get [S$3.$activeCues]() { return this.activeCues; } - get [S$2.$cues]() { + get [S$3.$cues]() { return this.cues; } get [S.$id]() { @@ -95148,7 +104006,7 @@ define([], (function load__dart_sdk() { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$mode]() { @@ -95157,13 +104015,13 @@ define([], (function load__dart_sdk() { set [S.$mode](value) { this.mode = value; } - [S$2.$addCue](...args) { + [S$3.$addCue](...args) { return this.addCue.apply(this, args); } - [S$2.$removeCue](...args) { + [S$3.$removeCue](...args) { return this.removeCue.apply(this, args); } - get [S$2.$onCueChange]() { + get [S$3.$onCueChange]() { return html$.TextTrack.cueChangeEvent.forTarget(this); } }; @@ -95171,36 +104029,41 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.TextTrack); dart.setMethodSignature(html$.TextTrack, () => ({ __proto__: dart.getMethods(html$.TextTrack.__proto__), - [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), - [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) + [S$3.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$3.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) })); + dart.setStaticMethodSignature(html$.TextTrack, () => ['__']); dart.setGetterSignature(html$.TextTrack, () => ({ __proto__: dart.getGetters(html$.TextTrack.__proto__), - [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), - [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S$3.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$3.$cues]: dart.nullable(html$.TextTrackCueList), [S.$id]: core.String, [S$.$kind]: core.String, [S$.$label]: core.String, - [S$1.$language]: core.String, + [S$2.$language]: core.String, [S.$mode]: dart.nullable(core.String), - [S$2.$onCueChange]: async.Stream$(html$.Event) + [S$3.$onCueChange]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrack, () => ({ __proto__: dart.getSetters(html$.TextTrack.__proto__), [S.$mode]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TextTrack, I[148]); + dart.setLibraryUri(html$.TextTrack, I[150]); + dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); dart.defineLazy(html$.TextTrack, { /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[383] || CT.C383; + return C[394] || CT.C394; } }, false); dart.registerExtension("TextTrack", html$.TextTrack); html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - get [S$2.$endTime]() { + static ['_#_#tearOff']() { + return html$.TextTrackCue.__(); + } + get [S$3.$endTime]() { return this.endTime; } - set [S$2.$endTime](value) { + set [S$3.$endTime](value) { this.endTime = value; } get [S.$id]() { @@ -95209,10 +104072,10 @@ define([], (function load__dart_sdk() { set [S.$id](value) { this.id = value; } - get [S$2.$pauseOnExit]() { + get [S$3.$pauseOnExit]() { return this.pauseOnExit; } - set [S$2.$pauseOnExit](value) { + set [S$3.$pauseOnExit](value) { this.pauseOnExit = value; } get [S$.$startTime]() { @@ -95224,71 +104087,76 @@ define([], (function load__dart_sdk() { get [S$1.$track]() { return this.track; } - get [S$2.$onEnter]() { + get [S$3.$onEnter]() { return html$.TextTrackCue.enterEvent.forTarget(this); } - get [S$2.$onExit]() { + get [S$3.$onExit]() { return html$.TextTrackCue.exitEvent.forTarget(this); } }; dart.addTypeTests(html$.TextTrackCue); dart.addTypeCaches(html$.TextTrackCue); + dart.setStaticMethodSignature(html$.TextTrackCue, () => ['__']); dart.setGetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getGetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num), [S$1.$track]: dart.nullable(html$.TextTrack), - [S$2.$onEnter]: async.Stream$(html$.Event), - [S$2.$onExit]: async.Stream$(html$.Event) + [S$3.$onEnter]: async.Stream$(html$.Event), + [S$3.$onExit]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getSetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.TextTrackCue, I[148]); + dart.setLibraryUri(html$.TextTrackCue, I[150]); + dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); dart.defineLazy(html$.TextTrackCue, { /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[384] || CT.C384; + return C[395] || CT.C395; }, /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[385] || CT.C385; + return C[396] || CT.C396; } }, false); dart.registerExtension("TextTrackCue", html$.TextTrackCue); - const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$6.new = function() { - Interceptor_ListMixin$36$6.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$6.prototype; - dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); - const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; - (Interceptor_ImmutableListMixin$36$6.new = function() { - Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$6.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); - html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { + const JavaScriptObject_ListMixin$36$6 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$6.new = function() { + JavaScriptObject_ListMixin$36$6.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$6.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); + const JavaScriptObject_ImmutableListMixin$36$6 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$6 {}; + (JavaScriptObject_ImmutableListMixin$36$6.new = function() { + JavaScriptObject_ImmutableListMixin$36$6.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$6.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); + html$.TextTrackCueList = class TextTrackCueList extends JavaScriptObject_ImmutableListMixin$36$6 { + static ['_#_#tearOff']() { + return html$.TextTrackCueList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30243, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30249, 25, "index"); html$.TextTrackCue.as(value); - if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + if (value == null) dart.nullFailed(I[149], 30249, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30255, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95319,13 +104187,13 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + if (index == null) dart.nullFailed(I[149], 30283, 30, "index"); return this[$_get](index); } [S$.__getter__](...args) { return this.__getter__.apply(this, args); } - [S$2.$getCueById](...args) { + [S$3.$getCueById](...args) { return this.getCueById.apply(this, args); } }; @@ -95338,8 +104206,9 @@ define([], (function load__dart_sdk() { [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), - [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) + [S$3.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) })); + dart.setStaticMethodSignature(html$.TextTrackCueList, () => ['__']); dart.setGetterSignature(html$.TextTrackCueList, () => ({ __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), [$length]: core.int @@ -95348,7 +104217,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.TextTrackCueList, I[148]); + dart.setLibraryUri(html$.TextTrackCueList, I[150]); dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; (EventTarget_ListMixin$36$._created = function() { @@ -95361,24 +104230,27 @@ define([], (function load__dart_sdk() { }).prototype = EventTarget_ImmutableListMixin$36$.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.TextTrackList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30317, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30323, 25, "index"); html$.TextTrack.as(value); - if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + if (value == null) dart.nullFailed(I[149], 30323, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30329, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95409,7 +104281,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + if (index == null) dart.nullFailed(I[149], 30357, 27, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -95436,6 +104308,7 @@ define([], (function load__dart_sdk() { [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) })); + dart.setStaticMethodSignature(html$.TextTrackList, () => ['__']); dart.setGetterSignature(html$.TextTrackList, () => ({ __proto__: dart.getGetters(html$.TextTrackList.__proto__), [$length]: core.int, @@ -95446,17 +104319,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TextTrackList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.TextTrackList, I[148]); + dart.setLibraryUri(html$.TextTrackList, I[150]); + dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); dart.defineLazy(html$.TextTrackList, { /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[386] || CT.C386; + return C[397] || CT.C397; }, /*html$.TextTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("TextTrackList", html$.TextTrackList); html$.TimeElement = class TimeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TimeElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TimeElement.created(); + } get [S$1.$dateTime]() { return this.dateTime; } @@ -95470,6 +104350,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.TimeElement.prototype; dart.addTypeTests(html$.TimeElement); dart.addTypeCaches(html$.TimeElement); + dart.setStaticMethodSignature(html$.TimeElement, () => ['__']); dart.setGetterSignature(html$.TimeElement, () => ({ __proto__: dart.getGetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) @@ -95478,13 +104359,16 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TimeElement, I[148]); + dart.setLibraryUri(html$.TimeElement, I[150]); dart.registerExtension("HTMLTimeElement", html$.TimeElement); - html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { + html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TimeRanges.__(); + } get [$length]() { return this.length; } - [S$2.$end](...args) { + [S$3.$end](...args) { return this.end.apply(this, args); } [S$.$start](...args) { @@ -95495,19 +104379,29 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.TimeRanges); dart.setMethodSignature(html$.TimeRanges, () => ({ __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$3.$end]: dart.fnType(core.double, [core.int]), [S$.$start]: dart.fnType(core.double, [core.int]) })); + dart.setStaticMethodSignature(html$.TimeRanges, () => ['__']); dart.setGetterSignature(html$.TimeRanges, () => ({ __proto__: dart.getGetters(html$.TimeRanges.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.TimeRanges, I[148]); + dart.setLibraryUri(html$.TimeRanges, I[150]); dart.registerExtension("TimeRanges", html$.TimeRanges); html$.TitleElement = class TitleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TitleElement.__(); + } static new() { return html$.document.createElement("title"); } + static ['_#new#tearOff']() { + return html$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TitleElement.created(); + } }; (html$.TitleElement.created = function() { html$.TitleElement.__proto__.created.call(this); @@ -95515,14 +104409,22 @@ define([], (function load__dart_sdk() { }).prototype = html$.TitleElement.prototype; dart.addTypeTests(html$.TitleElement); dart.addTypeCaches(html$.TitleElement); - dart.setLibraryUri(html$.TitleElement, I[148]); + dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); + dart.setLibraryUri(html$.TitleElement, I[150]); dart.registerExtension("HTMLTitleElement", html$.TitleElement); - html$.Touch = class Touch$ extends _interceptors.Interceptor { + html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Touch.__(); + } static new(initDict) { - if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.Touch._create_1(initDict_1); } + static ['_#new#tearOff'](initDict) { + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); + return html$.Touch.new(initDict); + } static _create_1(initDict) { return new Touch(initDict); } @@ -95532,10 +104434,10 @@ define([], (function load__dart_sdk() { get [S$1._clientY]() { return this.clientY; } - get [S$2.$force]() { + get [S$3.$force]() { return this.force; } - get [S$2.$identifier]() { + get [S$3.$identifier]() { return this.identifier; } get [S$1._pageX]() { @@ -95544,16 +104446,16 @@ define([], (function load__dart_sdk() { get [S$1._pageY]() { return this.pageY; } - get [S$2._radiusX]() { + get [S$3._radiusX]() { return this.radiusX; } - get [S$2._radiusY]() { + get [S$3._radiusY]() { return this.radiusY; } get [S$1.$region]() { return this.region; } - get [S$2.$rotationAngle]() { + get [S$3.$rotationAngle]() { return this.rotationAngle; } get [S$1._screenX]() { @@ -95568,89 +104470,97 @@ define([], (function load__dart_sdk() { get [S._get_target]() { return this.target; } - get [S$2.__clientX]() { + get [S$3.__clientX]() { return this.clientX[$round](); } - get [S$2.__clientY]() { + get [S$3.__clientY]() { return this.clientY[$round](); } - get [S$2.__screenX]() { + get [S$3.__screenX]() { return this.screenX[$round](); } - get [S$2.__screenY]() { + get [S$3.__screenY]() { return this.screenY[$round](); } - get [S$2.__pageX]() { + get [S$3.__pageX]() { return this.pageX[$round](); } - get [S$2.__pageY]() { + get [S$3.__pageY]() { return this.pageY[$round](); } - get [S$2.__radiusX]() { + get [S$3.__radiusX]() { return this.radiusX[$round](); } - get [S$2.__radiusY]() { + get [S$3.__radiusY]() { return this.radiusY[$round](); } get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + return new (T$0.PointOfnum()).new(this[S$3.__clientX], this[S$3.__clientY]); } get [S$0.$page]() { - return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + return new (T$0.PointOfnum()).new(this[S$3.__pageX], this[S$3.__pageY]); } get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); } - get [S$2.$radiusX]() { - return this[S$2.__radiusX]; + get [S$3.$radiusX]() { + return this[S$3.__radiusX]; } - get [S$2.$radiusY]() { - return this[S$2.__radiusY]; + get [S$3.$radiusY]() { + return this[S$3.__radiusY]; } }; dart.addTypeTests(html$.Touch); dart.addTypeCaches(html$.Touch); + dart.setStaticMethodSignature(html$.Touch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Touch, () => ({ __proto__: dart.getGetters(html$.Touch.__proto__), [S$1._clientX]: dart.nullable(core.num), [S$1._clientY]: dart.nullable(core.num), - [S$2.$force]: dart.nullable(core.num), - [S$2.$identifier]: dart.nullable(core.int), + [S$3.$force]: dart.nullable(core.num), + [S$3.$identifier]: dart.nullable(core.int), [S$1._pageX]: dart.nullable(core.num), [S$1._pageY]: dart.nullable(core.num), - [S$2._radiusX]: dart.nullable(core.num), - [S$2._radiusY]: dart.nullable(core.num), + [S$3._radiusX]: dart.nullable(core.num), + [S$3._radiusY]: dart.nullable(core.num), [S$1.$region]: dart.nullable(core.String), - [S$2.$rotationAngle]: dart.nullable(core.num), + [S$3.$rotationAngle]: dart.nullable(core.num), [S$1._screenX]: dart.nullable(core.num), [S$1._screenY]: dart.nullable(core.num), [S.$target]: dart.nullable(html$.EventTarget), [S._get_target]: dart.dynamic, - [S$2.__clientX]: core.int, - [S$2.__clientY]: core.int, - [S$2.__screenX]: core.int, - [S$2.__screenY]: core.int, - [S$2.__pageX]: core.int, - [S$2.__pageY]: core.int, - [S$2.__radiusX]: core.int, - [S$2.__radiusY]: core.int, + [S$3.__clientX]: core.int, + [S$3.__clientY]: core.int, + [S$3.__screenX]: core.int, + [S$3.__screenY]: core.int, + [S$3.__pageX]: core.int, + [S$3.__pageY]: core.int, + [S$3.__radiusX]: core.int, + [S$3.__radiusY]: core.int, [S.$client]: math.Point$(core.num), [S$0.$page]: math.Point$(core.num), [S$1.$screen]: math.Point$(core.num), - [S$2.$radiusX]: core.int, - [S$2.$radiusY]: core.int + [S$3.$radiusX]: core.int, + [S$3.$radiusY]: core.int })); - dart.setLibraryUri(html$.Touch, I[148]); + dart.setLibraryUri(html$.Touch, I[150]); dart.registerExtension("Touch", html$.Touch); html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.TouchEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TouchEvent._create_1(type, eventInitDict_1); } return html$.TouchEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); + return html$.TouchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TouchEvent(type, eventInitDict); } @@ -95660,7 +104570,7 @@ define([], (function load__dart_sdk() { get [S$1.$altKey]() { return this.altKey; } - get [S$2.$changedTouches]() { + get [S$3.$changedTouches]() { return this.changedTouches; } get [S$1.$ctrlKey]() { @@ -95692,29 +104602,34 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TouchEvent); dart.addTypeCaches(html$.TouchEvent); + dart.setStaticMethodSignature(html$.TouchEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TouchEvent, () => ({ __proto__: dart.getGetters(html$.TouchEvent.__proto__), [S$1.$altKey]: dart.nullable(core.bool), - [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$3.$changedTouches]: dart.nullable(html$.TouchList), [S$1.$ctrlKey]: dart.nullable(core.bool), [S$1.$metaKey]: dart.nullable(core.bool), [S$1.$shiftKey]: dart.nullable(core.bool), [S$3.$targetTouches]: dart.nullable(html$.TouchList), [S$3.$touches]: dart.nullable(html$.TouchList) })); - dart.setLibraryUri(html$.TouchEvent, I[148]); + dart.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); + dart.setLibraryUri(html$.TouchEvent, I[150]); dart.registerExtension("TouchEvent", html$.TouchEvent); - const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$7.new = function() { - Interceptor_ListMixin$36$7.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$7.prototype; - dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); - const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; - (Interceptor_ImmutableListMixin$36$7.new = function() { - Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$7.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); - html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { + const JavaScriptObject_ListMixin$36$7 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$7.new = function() { + JavaScriptObject_ListMixin$36$7.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$7.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$7, collection.ListMixin$(html$.Touch)); + const JavaScriptObject_ImmutableListMixin$36$7 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$7 {}; + (JavaScriptObject_ImmutableListMixin$36$7.new = function() { + JavaScriptObject_ImmutableListMixin$36$7.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$7.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); + html$.TouchList = class TouchList extends JavaScriptObject_ImmutableListMixin$36$7 { + static ['_#_#tearOff']() { + return html$.TouchList.__(); + } static get supported() { return !!document.createTouchList; } @@ -95722,20 +104637,20 @@ define([], (function load__dart_sdk() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30586, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30592, 25, "index"); html$.Touch.as(value); - if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + if (value == null) dart.nullFailed(I[149], 30592, 38, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30598, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95766,7 +104681,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + if (index == null) dart.nullFailed(I[149], 30626, 23, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -95776,13 +104691,14 @@ define([], (function load__dart_sdk() { html$.TouchList.prototype[dart.isList] = true; dart.addTypeTests(html$.TouchList); dart.addTypeCaches(html$.TouchList); - html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; + html$.TouchList[dart.implements] = () => [core.List$(html$.Touch), _js_helper.JavaScriptIndexingBehavior$(html$.Touch)]; dart.setMethodSignature(html$.TouchList, () => ({ __proto__: dart.getMethods(html$.TouchList.__proto__), [$_get]: dart.fnType(html$.Touch, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) })); + dart.setStaticMethodSignature(html$.TouchList, () => ['__']); dart.setGetterSignature(html$.TouchList, () => ({ __proto__: dart.getGetters(html$.TouchList.__proto__), [$length]: core.int @@ -95791,14 +104707,18 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TouchList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$.TouchList, I[148]); + dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); + dart.setLibraryUri(html$.TouchList, I[150]); dart.registerExtension("TouchList", html$.TouchList); - html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { + html$.TrackDefault = class TrackDefault$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefault.__(); + } static new(type, language, label, kinds, byteStreamTrackID = null) { - if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); - if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); - if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); - if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); if (byteStreamTrackID != null) { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); @@ -95806,6 +104726,13 @@ define([], (function load__dart_sdk() { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_2(type, language, label, kinds_1); } + static ['_#new#tearOff'](type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); + return html$.TrackDefault.new(type, language, label, kinds, byteStreamTrackID); + } static _create_1(type, language, label, kinds, byteStreamTrackID) { return new TrackDefault(type, language, label, kinds, byteStreamTrackID); } @@ -95821,7 +104748,7 @@ define([], (function load__dart_sdk() { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$type]() { @@ -95830,23 +104757,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TrackDefault); dart.addTypeCaches(html$.TrackDefault); + dart.setStaticMethodSignature(html$.TrackDefault, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefault, () => ({ __proto__: dart.getGetters(html$.TrackDefault.__proto__), [S$3.$byteStreamTrackID]: dart.nullable(core.String), [S$3.$kinds]: dart.nullable(core.Object), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TrackDefault, I[148]); + dart.setLibraryUri(html$.TrackDefault, I[150]); dart.registerExtension("TrackDefault", html$.TrackDefault); - html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { + html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefaultList.__(); + } static new(trackDefaults = null) { if (trackDefaults != null) { return html$.TrackDefaultList._create_1(trackDefaults); } return html$.TrackDefaultList._create_2(); } + static ['_#new#tearOff'](trackDefaults = null) { + return html$.TrackDefaultList.new(trackDefaults); + } static _create_1(trackDefaults) { return new TrackDefaultList(trackDefaults); } @@ -95866,16 +104800,26 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) })); + dart.setStaticMethodSignature(html$.TrackDefaultList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefaultList, () => ({ __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.TrackDefaultList, I[148]); + dart.setLibraryUri(html$.TrackDefaultList, I[150]); dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); html$.TrackElement = class TrackElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TrackElement.__(); + } static new() { return html$.TrackElement.as(html$.document[S.$createElement]("track")); } + static ['_#new#tearOff']() { + return html$.TrackElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TrackElement.created(); + } static get supported() { return html$.Element.isTagSupported("track"); } @@ -95922,6 +104866,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.TrackElement.prototype; dart.addTypeTests(html$.TrackElement); dart.addTypeCaches(html$.TrackElement); + dart.setStaticMethodSignature(html$.TrackElement, () => ['__', 'new']); dart.setGetterSignature(html$.TrackElement, () => ({ __proto__: dart.getGetters(html$.TrackElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -95940,7 +104885,9 @@ define([], (function load__dart_sdk() { [S$.$src]: dart.nullable(core.String), [S$3.$srclang]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TrackElement, I[148]); + dart.setStaticGetterSignature(html$.TrackElement, () => ['supported']); + dart.setLibraryUri(html$.TrackElement, I[150]); + dart.setStaticFieldSignature(html$.TrackElement, () => ['ERROR', 'LOADED', 'LOADING', 'NONE']); dart.defineLazy(html$.TrackElement, { /*html$.TrackElement.ERROR*/get ERROR() { return 3; @@ -95957,14 +104904,21 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("HTMLTrackElement", html$.TrackElement); html$.TrackEvent = class TrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TrackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TrackEvent._create_1(type, eventInitDict_1); } return html$.TrackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); + return html$.TrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TrackEvent(type, eventInitDict); } @@ -95977,21 +104931,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TrackEvent); dart.addTypeCaches(html$.TrackEvent); + dart.setStaticMethodSignature(html$.TrackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackEvent, () => ({ __proto__: dart.getGetters(html$.TrackEvent.__proto__), [S$1.$track]: dart.nullable(core.Object) })); - dart.setLibraryUri(html$.TrackEvent, I[148]); + dart.setLibraryUri(html$.TrackEvent, I[150]); dart.registerExtension("TrackEvent", html$.TrackEvent); html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TransitionEvent._create_1(type, eventInitDict_1); } return html$.TransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); + return html$.TransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TransitionEvent(type, eventInitDict); } @@ -96010,21 +104972,30 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.TransitionEvent); dart.addTypeCaches(html$.TransitionEvent); + dart.setStaticMethodSignature(html$.TransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TransitionEvent, () => ({ __proto__: dart.getGetters(html$.TransitionEvent.__proto__), [S$.$elapsedTime]: dart.nullable(core.num), [S$3.$propertyName]: dart.nullable(core.String), [S$3.$pseudoElement]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.TransitionEvent, I[148]); + dart.setLibraryUri(html$.TransitionEvent, I[150]); dart.registerExtension("TransitionEvent", html$.TransitionEvent); dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); - html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { + html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); return html$.document[S$1._createTreeWalker](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); + return html$.TreeWalker.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.TreeWalker.__(); + } get [S$3.$currentNode]() { return this.currentNode; } @@ -96049,7 +105020,7 @@ define([], (function load__dart_sdk() { [S.$nextNode](...args) { return this.nextNode.apply(this, args); } - [S$1.$nextSibling](...args) { + [S$2.$nextSibling](...args) { return this.nextSibling.apply(this, args); } [S$.$parentNode](...args) { @@ -96058,7 +105029,7 @@ define([], (function load__dart_sdk() { [S$.$previousNode](...args) { return this.previousNode.apply(this, args); } - [S$1.$previousSibling](...args) { + [S$2.$previousSibling](...args) { return this.previousSibling.apply(this, args); } }; @@ -96069,11 +105040,12 @@ define([], (function load__dart_sdk() { [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$2.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) + [S$2.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) })); + dart.setStaticMethodSignature(html$.TreeWalker, () => ['new', '__']); dart.setGetterSignature(html$.TreeWalker, () => ({ __proto__: dart.getGetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node, @@ -96085,27 +105057,51 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node })); - dart.setLibraryUri(html$.TreeWalker, I[148]); + dart.setLibraryUri(html$.TreeWalker, I[150]); dart.registerExtension("TreeWalker", html$.TreeWalker); - html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; + html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedHtml.__(); + } + }; dart.addTypeTests(html$.TrustedHtml); dart.addTypeCaches(html$.TrustedHtml); - dart.setLibraryUri(html$.TrustedHtml, I[148]); + dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); + dart.setLibraryUri(html$.TrustedHtml, I[150]); dart.registerExtension("TrustedHTML", html$.TrustedHtml); - html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; + html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedScriptUrl.__(); + } + }; dart.addTypeTests(html$.TrustedScriptUrl); dart.addTypeCaches(html$.TrustedScriptUrl); - dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); + dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); + dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); - html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; + html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedUrl.__(); + } + }; dart.addTypeTests(html$.TrustedUrl); dart.addTypeCaches(html$.TrustedUrl); - dart.setLibraryUri(html$.TrustedUrl, I[148]); + dart.setStaticMethodSignature(html$.TrustedUrl, () => ['__', 'create', 'unsafelyCreate']); + dart.setLibraryUri(html$.TrustedUrl, I[150]); dart.registerExtension("TrustedURL", html$.TrustedUrl); html$.UListElement = class UListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UListElement.__(); + } static new() { return html$.document.createElement("ul"); } + static ['_#new#tearOff']() { + return html$.UListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.UListElement.created(); + } }; (html$.UListElement.created = function() { html$.UListElement.__proto__.created.call(this); @@ -96113,9 +105109,13 @@ define([], (function load__dart_sdk() { }).prototype = html$.UListElement.prototype; dart.addTypeTests(html$.UListElement); dart.addTypeCaches(html$.UListElement); - dart.setLibraryUri(html$.UListElement, I[148]); + dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); + dart.setLibraryUri(html$.UListElement, I[150]); dart.registerExtension("HTMLUListElement", html$.UListElement); - html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { + html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UnderlyingSourceBase.__(); + } [S$.$cancel](reason) { return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); } @@ -96129,7 +105129,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(dart.dynamic, this.pull()); } [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); return js_util.promiseToFuture(dart.dynamic, this.start(stream)); } }; @@ -96143,40 +105143,52 @@ define([], (function load__dart_sdk() { [S$3.$pull]: dart.fnType(async.Future, []), [S$.$start]: dart.fnType(async.Future, [core.Object]) })); - dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); + dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); + dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); - html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; + html$.UnknownElement = class UnknownElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UnknownElement.__(); + } + static ['_#created#tearOff']() { + return new html$.UnknownElement.created(); + } + }; (html$.UnknownElement.created = function() { html$.UnknownElement.__proto__.created.call(this); ; }).prototype = html$.UnknownElement.prototype; dart.addTypeTests(html$.UnknownElement); dart.addTypeCaches(html$.UnknownElement); - dart.setLibraryUri(html$.UnknownElement, I[148]); + dart.setStaticMethodSignature(html$.UnknownElement, () => ['__']); + dart.setLibraryUri(html$.UnknownElement, I[150]); dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); - html$.Url = class Url extends _interceptors.Interceptor { + html$.Url = class Url extends _interceptors.JavaScriptObject { static createObjectUrl(blob_OR_source_OR_stream) { return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); } static createObjectUrlFromSource(source) { - if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + if (source == null) dart.nullFailed(I[149], 31028, 55, "source"); return (self.URL || self.webkitURL).createObjectURL(source); } static createObjectUrlFromStream(stream) { - if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + if (stream == null) dart.nullFailed(I[149], 31031, 55, "stream"); return (self.URL || self.webkitURL).createObjectURL(stream); } static createObjectUrlFromBlob(blob) { - if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + if (blob == null) dart.nullFailed(I[149], 31034, 46, "blob"); return (self.URL || self.webkitURL).createObjectURL(blob); } static revokeObjectUrl(url) { - if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + if (url == null) dart.nullFailed(I[149], 31037, 38, "url"); return (self.URL || self.webkitURL).revokeObjectURL(url); } [$toString]() { return String(this); } + static ['_#_#tearOff']() { + return html$.Url.__(); + } get [S$.$hash]() { return this.hash; } @@ -96246,6 +105258,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Url); dart.addTypeCaches(html$.Url); + dart.setStaticMethodSignature(html$.Url, () => ['createObjectUrl', 'createObjectUrlFromSource', 'createObjectUrlFromStream', 'createObjectUrlFromBlob', 'revokeObjectUrl', '__']); dart.setGetterSignature(html$.Url, () => ({ __proto__: dart.getGetters(html$.Url.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -96274,15 +105287,21 @@ define([], (function load__dart_sdk() { [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Url, I[148]); + dart.setLibraryUri(html$.Url, I[150]); dart.registerExtension("URL", html$.Url); - html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { + html$.UrlSearchParams = class UrlSearchParams extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlSearchParams.__(); + } static new(init = null) { if (init != null) { return html$.UrlSearchParams._create_1(init); } return html$.UrlSearchParams._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.UrlSearchParams.new(init); + } static _create_1(init) { return new URLSearchParams(init); } @@ -96323,9 +105342,13 @@ define([], (function load__dart_sdk() { [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), [$sort]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(html$.UrlSearchParams, I[148]); + dart.setStaticMethodSignature(html$.UrlSearchParams, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$.UrlSearchParams, I[150]); dart.registerExtension("URLSearchParams", html$.UrlSearchParams); - html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { + html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlUtilsReadOnly.__(); + } get hash() { return this.hash; } @@ -96356,6 +105379,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.UrlUtilsReadOnly); dart.addTypeCaches(html$.UrlUtilsReadOnly); + dart.setStaticMethodSignature(html$.UrlUtilsReadOnly, () => ['__']); dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), hash: dart.nullable(core.String), @@ -96377,7 +105401,7 @@ define([], (function load__dart_sdk() { search: dart.nullable(core.String), [S$.$search]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); + dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ 'hash', 'host', @@ -96390,6 +105414,9 @@ define([], (function load__dart_sdk() { 'search' ]); html$.VR = class VR extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VR.__(); + } [S$3.$getDevices]() { return js_util.promiseToFuture(dart.dynamic, this.getDevices()); } @@ -96400,9 +105427,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.VR.__proto__), [S$3.$getDevices]: dart.fnType(async.Future, []) })); - dart.setLibraryUri(html$.VR, I[148]); + dart.setStaticMethodSignature(html$.VR, () => ['__']); + dart.setLibraryUri(html$.VR, I[150]); dart.registerExtension("VR", html$.VR); - html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { + html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRCoordinateSystem.__(); + } [S$3.$getTransformTo](...args) { return this.getTransformTo.apply(this, args); } @@ -96413,9 +105444,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) })); - dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); + dart.setStaticMethodSignature(html$.VRCoordinateSystem, () => ['__']); + dart.setLibraryUri(html$.VRCoordinateSystem, I[150]); dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); html$.VRDevice = class VRDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDevice.__(); + } get [S$3.$deviceName]() { return this.deviceName; } @@ -96444,20 +105479,29 @@ define([], (function load__dart_sdk() { [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); + dart.setStaticMethodSignature(html$.VRDevice, () => ['__']); dart.setGetterSignature(html$.VRDevice, () => ({ __proto__: dart.getGetters(html$.VRDevice.__proto__), [S$3.$deviceName]: dart.nullable(core.String), [S$3.$isExternal]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.VRDevice, I[148]); + dart.setLibraryUri(html$.VRDevice, I[150]); dart.registerExtension("VRDevice", html$.VRDevice); html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDeviceEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDeviceEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); + return html$.VRDeviceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDeviceEvent(type, eventInitDict); } @@ -96467,13 +105511,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRDeviceEvent); dart.addTypeCaches(html$.VRDeviceEvent); + dart.setStaticMethodSignature(html$.VRDeviceEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRDeviceEvent, () => ({ __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), [S$3.$device]: dart.nullable(html$.VRDevice) })); - dart.setLibraryUri(html$.VRDeviceEvent, I[148]); + dart.setLibraryUri(html$.VRDeviceEvent, I[150]); dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); html$.VRDisplay = class VRDisplay extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDisplay.__(); + } get [S$3.$capabilities]() { return this.capabilities; } @@ -96520,7 +105568,7 @@ define([], (function load__dart_sdk() { return this.requestAnimationFrame.apply(this, args); } [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); } [S$3.$submitFrame](...args) { @@ -96540,6 +105588,7 @@ define([], (function load__dart_sdk() { [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), [S$3.$submitFrame]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.VRDisplay, () => ['__']); dart.setGetterSignature(html$.VRDisplay, () => ({ __proto__: dart.getGetters(html$.VRDisplay.__proto__), [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), @@ -96555,9 +105604,12 @@ define([], (function load__dart_sdk() { [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VRDisplay, I[148]); + dart.setLibraryUri(html$.VRDisplay, I[150]); dart.registerExtension("VRDisplay", html$.VRDisplay); - html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { + html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRDisplayCapabilities.__(); + } get [S$3.$canPresent]() { return this.canPresent; } @@ -96573,6 +105625,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRDisplayCapabilities); dart.addTypeCaches(html$.VRDisplayCapabilities); + dart.setStaticMethodSignature(html$.VRDisplayCapabilities, () => ['__']); dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), [S$3.$canPresent]: dart.nullable(core.bool), @@ -96580,17 +105633,24 @@ define([], (function load__dart_sdk() { [S$1.$hasPosition]: dart.nullable(core.bool), [S$3.$maxLayers]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); + dart.setLibraryUri(html$.VRDisplayCapabilities, I[150]); dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDisplayEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDisplayEvent._create_1(type, eventInitDict_1); } return html$.VRDisplayEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); + return html$.VRDisplayEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDisplayEvent(type, eventInitDict); } @@ -96606,14 +105666,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRDisplayEvent); dart.addTypeCaches(html$.VRDisplayEvent); + dart.setStaticMethodSignature(html$.VRDisplayEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.VRDisplayEvent, () => ({ __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), [S$0.$display]: dart.nullable(html$.VRDisplay), [S$.$reason]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.VRDisplayEvent, I[148]); + dart.setLibraryUri(html$.VRDisplayEvent, I[150]); dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); - html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { + html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VREyeParameters.__(); + } get [S.$offset]() { return this.offset; } @@ -96626,18 +105690,25 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VREyeParameters); dart.addTypeCaches(html$.VREyeParameters); + dart.setStaticMethodSignature(html$.VREyeParameters, () => ['__']); dart.setGetterSignature(html$.VREyeParameters, () => ({ __proto__: dart.getGetters(html$.VREyeParameters.__proto__), [S.$offset]: dart.nullable(typed_data.Float32List), [S$3.$renderHeight]: dart.nullable(core.int), [S$3.$renderWidth]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.VREyeParameters, I[148]); + dart.setLibraryUri(html$.VREyeParameters, I[150]); dart.registerExtension("VREyeParameters", html$.VREyeParameters); - html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { + html$.VRFrameData = class VRFrameData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRFrameData.__(); + } static new() { return html$.VRFrameData._create_1(); } + static ['_#new#tearOff']() { + return html$.VRFrameData.new(); + } static _create_1() { return new VRFrameData(); } @@ -96659,6 +105730,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRFrameData); dart.addTypeCaches(html$.VRFrameData); + dart.setStaticMethodSignature(html$.VRFrameData, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRFrameData, () => ({ __proto__: dart.getGetters(html$.VRFrameData.__proto__), [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), @@ -96667,9 +105739,12 @@ define([], (function load__dart_sdk() { [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) })); - dart.setLibraryUri(html$.VRFrameData, I[148]); + dart.setLibraryUri(html$.VRFrameData, I[150]); dart.registerExtension("VRFrameData", html$.VRFrameData); html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + static ['_#_#tearOff']() { + return html$.VRFrameOfReference.__(); + } get [S$3.$bounds]() { return this.bounds; } @@ -96679,14 +105754,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRFrameOfReference); dart.addTypeCaches(html$.VRFrameOfReference); + dart.setStaticMethodSignature(html$.VRFrameOfReference, () => ['__']); dart.setGetterSignature(html$.VRFrameOfReference, () => ({ __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), [S$3.$bounds]: dart.nullable(html$.VRStageBounds), [S$3.$emulatedHeight]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VRFrameOfReference, I[148]); + dart.setLibraryUri(html$.VRFrameOfReference, I[150]); dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); - html$.VRPose = class VRPose extends _interceptors.Interceptor { + html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -96708,6 +105787,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRPose); dart.addTypeCaches(html$.VRPose); + dart.setStaticMethodSignature(html$.VRPose, () => ['__']); dart.setGetterSignature(html$.VRPose, () => ({ __proto__: dart.getGetters(html$.VRPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -96717,9 +105797,12 @@ define([], (function load__dart_sdk() { [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); - dart.setLibraryUri(html$.VRPose, I[148]); + dart.setLibraryUri(html$.VRPose, I[150]); dart.registerExtension("VRPose", html$.VRPose); html$.VRSession = class VRSession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRSession.__(); + } get [S$3.$depthFar]() { return this.depthFar; } @@ -96738,11 +105821,11 @@ define([], (function load__dart_sdk() { get [S$3.$exclusive]() { return this.exclusive; } - [S$2.$end]() { + [S$3.$end]() { return js_util.promiseToFuture(dart.dynamic, this.end()); } [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -96760,9 +105843,10 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(html$.VRSession); dart.setMethodSignature(html$.VRSession, () => ({ __proto__: dart.getMethods(html$.VRSession.__proto__), - [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$end]: dart.fnType(async.Future, []), [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) })); + dart.setStaticMethodSignature(html$.VRSession, () => ['__']); dart.setGetterSignature(html$.VRSession, () => ({ __proto__: dart.getGetters(html$.VRSession.__proto__), [S$3.$depthFar]: dart.nullable(core.num), @@ -96777,23 +105861,32 @@ define([], (function load__dart_sdk() { [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VRSession, I[148]); + dart.setLibraryUri(html$.VRSession, I[150]); + dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); dart.defineLazy(html$.VRSession, { /*html$.VRSession.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.VRSession.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; } }, false); dart.registerExtension("VRSession", html$.VRSession); html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRSessionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRSessionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); + return html$.VRSessionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRSessionEvent(type, eventInitDict); } @@ -96803,26 +105896,34 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRSessionEvent); dart.addTypeCaches(html$.VRSessionEvent); + dart.setStaticMethodSignature(html$.VRSessionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRSessionEvent, () => ({ __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), [S$3.$session]: dart.nullable(html$.VRSession) })); - dart.setLibraryUri(html$.VRSessionEvent, I[148]); + dart.setLibraryUri(html$.VRSessionEvent, I[150]); dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); - html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { + html$.VRStageBounds = class VRStageBounds extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBounds.__(); + } get [S$3.$geometry]() { return this.geometry; } }; dart.addTypeTests(html$.VRStageBounds); dart.addTypeCaches(html$.VRStageBounds); + dart.setStaticMethodSignature(html$.VRStageBounds, () => ['__']); dart.setGetterSignature(html$.VRStageBounds, () => ({ __proto__: dart.getGetters(html$.VRStageBounds.__proto__), [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) })); - dart.setLibraryUri(html$.VRStageBounds, I[148]); + dart.setLibraryUri(html$.VRStageBounds, I[150]); dart.registerExtension("VRStageBounds", html$.VRStageBounds); - html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { + html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBoundsPoint.__(); + } get [S$.$x]() { return this.x; } @@ -96832,14 +105933,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRStageBoundsPoint); dart.addTypeCaches(html$.VRStageBoundsPoint); + dart.setStaticMethodSignature(html$.VRStageBoundsPoint, () => ['__']); dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); + dart.setLibraryUri(html$.VRStageBoundsPoint, I[150]); dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); - html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { + html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageParameters.__(); + } get [S$3.$sittingToStandingTransform]() { return this.sittingToStandingTransform; } @@ -96852,15 +105957,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VRStageParameters); dart.addTypeCaches(html$.VRStageParameters); + dart.setStaticMethodSignature(html$.VRStageParameters, () => ['__']); dart.setGetterSignature(html$.VRStageParameters, () => ({ __proto__: dart.getGetters(html$.VRStageParameters.__proto__), [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), [S$3.$sizeX]: dart.nullable(core.num), [S$3.$sizeZ]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VRStageParameters, I[148]); + dart.setLibraryUri(html$.VRStageParameters, I[150]); dart.registerExtension("VRStageParameters", html$.VRStageParameters); - html$.ValidityState = class ValidityState extends _interceptors.Interceptor { + html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ValidityState.__(); + } get [S$3.$badInput]() { return this.badInput; } @@ -96897,6 +106006,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.ValidityState); dart.addTypeCaches(html$.ValidityState); + dart.setStaticMethodSignature(html$.ValidityState, () => ['__']); dart.setGetterSignature(html$.ValidityState, () => ({ __proto__: dart.getGetters(html$.ValidityState.__proto__), [S$3.$badInput]: dart.nullable(core.bool), @@ -96911,12 +106021,21 @@ define([], (function load__dart_sdk() { [S$3.$valid]: dart.nullable(core.bool), [S$3.$valueMissing]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.ValidityState, I[148]); + dart.setLibraryUri(html$.ValidityState, I[150]); dart.registerExtension("ValidityState", html$.ValidityState); html$.VideoElement = class VideoElement extends html$.MediaElement { + static ['_#_#tearOff']() { + return html$.VideoElement.__(); + } static new() { return html$.document.createElement("video"); } + static ['_#new#tearOff']() { + return html$.VideoElement.new(); + } + static ['_#created#tearOff']() { + return new html$.VideoElement.created(); + } get [$height]() { return this.height; } @@ -96970,6 +106089,7 @@ define([], (function load__dart_sdk() { [S$3.$enterFullscreen]: dart.fnType(dart.void, []), [S$1.$exitFullscreen]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.VideoElement, () => ['__', 'new']); dart.setGetterSignature(html$.VideoElement, () => ({ __proto__: dart.getGetters(html$.VideoElement.__proto__), [$height]: core.int, @@ -96986,9 +106106,12 @@ define([], (function load__dart_sdk() { [S$3.$poster]: core.String, [$width]: core.int })); - dart.setLibraryUri(html$.VideoElement, I[148]); + dart.setLibraryUri(html$.VideoElement, I[150]); dart.registerExtension("HTMLVideoElement", html$.VideoElement); - html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { + html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoPlaybackQuality.__(); + } get [S$3.$corruptedVideoFrames]() { return this.corruptedVideoFrames; } @@ -97004,6 +106127,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VideoPlaybackQuality); dart.addTypeCaches(html$.VideoPlaybackQuality); + dart.setStaticMethodSignature(html$.VideoPlaybackQuality, () => ['__']); dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), [S$3.$corruptedVideoFrames]: dart.nullable(core.int), @@ -97011,9 +106135,12 @@ define([], (function load__dart_sdk() { [S$3.$droppedVideoFrames]: dart.nullable(core.int), [S$3.$totalVideoFrames]: dart.nullable(core.int) })); - dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); + dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); - html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { + html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoTrack.__(); + } get [S.$id]() { return this.id; } @@ -97023,7 +106150,7 @@ define([], (function load__dart_sdk() { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$.$selected]() { @@ -97038,12 +106165,13 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VideoTrack); dart.addTypeCaches(html$.VideoTrack); + dart.setStaticMethodSignature(html$.VideoTrack, () => ['__']); dart.setGetterSignature(html$.VideoTrack, () => ({ __proto__: dart.getGetters(html$.VideoTrack.__proto__), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$.$selected]: dart.nullable(core.bool), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); @@ -97051,9 +106179,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.VideoTrack.__proto__), [S$.$selected]: dart.nullable(core.bool) })); - dart.setLibraryUri(html$.VideoTrack, I[148]); + dart.setLibraryUri(html$.VideoTrack, I[150]); dart.registerExtension("VideoTrack", html$.VideoTrack); html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VideoTrackList.__(); + } get [$length]() { return this.length; } @@ -97077,20 +106208,25 @@ define([], (function load__dart_sdk() { [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) })); + dart.setStaticMethodSignature(html$.VideoTrackList, () => ['__']); dart.setGetterSignature(html$.VideoTrackList, () => ({ __proto__: dart.getGetters(html$.VideoTrackList.__proto__), [$length]: dart.nullable(core.int), [S$2.$selectedIndex]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.VideoTrackList, I[148]); + dart.setLibraryUri(html$.VideoTrackList, I[150]); + dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); dart.defineLazy(html$.VideoTrackList, { /*html$.VideoTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("VideoTrackList", html$.VideoTrackList); html$.VisualViewport = class VisualViewport extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VisualViewport.__(); + } get [$height]() { return this.height; } @@ -97112,15 +106248,16 @@ define([], (function load__dart_sdk() { get [$width]() { return this.width; } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.VisualViewport.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.VisualViewport.scrollEvent.forTarget(this); } }; dart.addTypeTests(html$.VisualViewport); dart.addTypeCaches(html$.VisualViewport); + dart.setStaticMethodSignature(html$.VisualViewport, () => ['__']); dart.setGetterSignature(html$.VisualViewport, () => ({ __proto__: dart.getGetters(html$.VisualViewport.__proto__), [$height]: dart.nullable(core.num), @@ -97130,26 +106267,36 @@ define([], (function load__dart_sdk() { [S$3.$pageTop]: dart.nullable(core.num), [S$.$scale]: dart.nullable(core.num), [$width]: dart.nullable(core.num), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event) + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.VisualViewport, I[148]); + dart.setLibraryUri(html$.VisualViewport, I[150]); + dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); dart.defineLazy(html$.VisualViewport, { /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; } }, false); dart.registerExtension("VisualViewport", html$.VisualViewport); html$.VttCue = class VttCue extends html$.TextTrackCue { + static ['_#_#tearOff']() { + return html$.VttCue.__(); + } static new(startTime, endTime, text) { - if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); - if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); - if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); return html$.VttCue._create_1(startTime, endTime, text); } + static ['_#new#tearOff'](startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); + return html$.VttCue.new(startTime, endTime, text); + } static _create_1(startTime, endTime, text) { return new VTTCue(startTime, endTime, text); } @@ -97211,6 +106358,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.VttCue.__proto__), [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) })); + dart.setStaticMethodSignature(html$.VttCue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttCue, () => ({ __proto__: dart.getGetters(html$.VttCue.__proto__), [S$3.$align]: dart.nullable(core.String), @@ -97233,12 +106381,18 @@ define([], (function load__dart_sdk() { [S.$text]: dart.nullable(core.String), [S$3.$vertical]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.VttCue, I[148]); + dart.setLibraryUri(html$.VttCue, I[150]); dart.registerExtension("VTTCue", html$.VttCue); - html$.VttRegion = class VttRegion extends _interceptors.Interceptor { + html$.VttRegion = class VttRegion extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VttRegion.__(); + } static new() { return html$.VttRegion._create_1(); } + static ['_#new#tearOff']() { + return html$.VttRegion.new(); + } static _create_1() { return new VTTRegion(); } @@ -97293,6 +106447,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.VttRegion); dart.addTypeCaches(html$.VttRegion); + dart.setStaticMethodSignature(html$.VttRegion, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttRegion, () => ({ __proto__: dart.getGetters(html$.VttRegion.__proto__), [S.$id]: dart.nullable(core.String), @@ -97315,16 +106470,23 @@ define([], (function load__dart_sdk() { [S$3.$viewportAnchorY]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.VttRegion, I[148]); + dart.setLibraryUri(html$.VttRegion, I[150]); dart.registerExtension("VTTRegion", html$.VttRegion); html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WebSocket.__(); + } static new(url, protocols = null) { - if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); if (protocols != null) { return html$.WebSocket._create_1(url, protocols); } return html$.WebSocket._create_2(url); } + static ['_#new#tearOff'](url, protocols = null) { + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); + return html$.WebSocket.new(url, protocols); + } static _create_1(url, protocols) { return new WebSocket(url, protocols); } @@ -97397,6 +106559,7 @@ define([], (function load__dart_sdk() { [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); + dart.setStaticMethodSignature(html$.WebSocket, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.WebSocket, () => ({ __proto__: dart.getGetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -97414,19 +106577,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.WebSocket, I[148]); + dart.setStaticGetterSignature(html$.WebSocket, () => ['supported']); + dart.setLibraryUri(html$.WebSocket, I[150]); + dart.setStaticFieldSignature(html$.WebSocket, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CLOSING', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.WebSocket, { /*html$.WebSocket.closeEvent*/get closeEvent() { - return C[387] || CT.C387; + return C[398] || CT.C398; }, /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WebSocket.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.WebSocket.CLOSED*/get CLOSED() { return 3; @@ -97444,40 +106609,40 @@ define([], (function load__dart_sdk() { dart.registerExtension("WebSocket", html$.WebSocket); html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; - if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; - if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; - if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; - if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); if (view == null) { @@ -97485,14 +106650,56 @@ define([], (function load__dart_sdk() { } return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.WheelEvent.new(type, {view: view, deltaX: deltaX, deltaY: deltaY, deltaZ: deltaZ, deltaMode: deltaMode, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.WheelEvent._create_1(type, eventInitDict_1); } return html$.WheelEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); + return html$.WheelEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new WheelEvent(type, eventInitDict); } @@ -97553,6 +106760,7 @@ define([], (function load__dart_sdk() { [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) })); + dart.setStaticMethodSignature(html$.WheelEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.WheelEvent, () => ({ __proto__: dart.getGetters(html$.WheelEvent.__proto__), [S$3._deltaX]: dart.nullable(core.num), @@ -97567,7 +106775,8 @@ define([], (function load__dart_sdk() { [S$3._hasInitMouseScrollEvent]: core.bool, [S$3._hasInitWheelEvent]: core.bool })); - dart.setLibraryUri(html$.WheelEvent, I[148]); + dart.setLibraryUri(html$.WheelEvent, I[150]); + dart.setStaticFieldSignature(html$.WheelEvent, () => ['DOM_DELTA_LINE', 'DOM_DELTA_PAGE', 'DOM_DELTA_PIXEL']); dart.defineLazy(html$.WheelEvent, { /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { return 1; @@ -97584,7 +106793,7 @@ define([], (function load__dart_sdk() { get [S$3.$animationFrame]() { let completer = T$0.CompleterOfnum().sync(); this[S$3.$requestAnimationFrame](dart.fn(time => { - if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + if (time == null) dart.nullFailed(I[149], 32233, 28, "time"); completer.complete(time); }, T$0.numTovoid())); return completer.future; @@ -97599,8 +106808,8 @@ define([], (function load__dart_sdk() { return this.open(url, name, options); } [S.$open](url, name, options = null) { - if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); - if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (url == null) dart.nullFailed(I[149], 32264, 26, "url"); + if (name == null) dart.nullFailed(I[149], 32264, 38, "name"); if (options == null) { return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); } else { @@ -97611,7 +106820,7 @@ define([], (function load__dart_sdk() { return html$.Location.as(this[S$3._location]); } set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); this[S$3._location] = value; } get [S$3._location]() { @@ -97621,12 +106830,12 @@ define([], (function load__dart_sdk() { this.location = value; } [S$3.$requestAnimationFrame](callback) { - if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + if (callback == null) dart.nullFailed(I[149], 32313, 50, "callback"); this[S$3._ensureRequestAnimationFrame](); return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); } [S$3.$cancelAnimationFrame](id) { - if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + if (id == null) dart.nullFailed(I[149], 32326, 33, "id"); this[S$3._ensureRequestAnimationFrame](); this[S$3._cancelAnimationFrame](id); } @@ -97662,14 +106871,17 @@ define([], (function load__dart_sdk() { return html$.Console._safeConsole; } [S$3.$requestFileSystem](size, opts) { - if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + if (size == null) dart.nullFailed(I[149], 32394, 44, "size"); let persistent = opts && 'persistent' in opts ? opts.persistent : false; - if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + if (persistent == null) dart.nullFailed(I[149], 32394, 56, "persistent"); return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); } static get supportsPointConversions() { return html$.DomPoint.supported; } + static ['_#_#tearOff']() { + return html$.Window.__(); + } get [S$3.$animationWorklet]() { return this.animationWorklet; } @@ -97835,10 +107047,10 @@ define([], (function load__dart_sdk() { get [S$3.$visualViewport]() { return this.visualViewport; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.window; } [S$.__getter__](index_OR_name) { @@ -97896,14 +107108,11 @@ define([], (function load__dart_sdk() { [S$3.$moveBy](...args) { return this.moveBy.apply(this, args); } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } - [S$3._openDatabase](...args) { - return this.openDatabase.apply(this, args); - } [S$.$postMessage](message, targetOrigin, transfer = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 33158, 44, "targetOrigin"); if (transfer != null) { let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); this[S$0._postMessage_1](message_1, targetOrigin, transfer); @@ -97923,7 +107132,7 @@ define([], (function load__dart_sdk() { return this.print.apply(this, args); } [S$3.$requestIdleCallback](callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (callback == null) dart.nullFailed(I[149], 33185, 47, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -98071,16 +107280,21 @@ define([], (function load__dart_sdk() { return this.webkitRequestFileSystem.apply(this, args); } [S$3._requestFileSystem](type, size) { - if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); - if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + if (type == null) dart.nullFailed(I[149], 33518, 45, "type"); + if (size == null) dart.nullFailed(I[149], 33518, 55, "size"); let completer = T$0.CompleterOfFileSystem().new(); this[S$3.__requestFileSystem](type, size, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33520, 38, "value"); _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("WebKitFileSystem", value); + _js_helper.applyExtension("webkitFileSystem", value); + _js_helper.applyExtension("FileSystem", value); _js_helper.applyExtension("DirectoryEntry", value.root); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", value.root); + _js_helper.applyExtension("FileSystemDirectoryEntry", value.root); completer.complete(value); }, T$0.FileSystemTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33529, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98089,13 +107303,13 @@ define([], (function load__dart_sdk() { return this.webkitResolveLocalFileSystemURL.apply(this, args); } [S$3.$resolveLocalFileSystemUrl](url) { - if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + if (url == null) dart.nullFailed(I[149], 33560, 50, "url"); let completer = T$0.CompleterOfEntry().new(); this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33562, 38, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98229,25 +107443,25 @@ define([], (function load__dart_sdk() { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } get [S$.$onOffline]() { @@ -98262,13 +107476,13 @@ define([], (function load__dart_sdk() { get [S$3.$onPageShow]() { return html$.Window.pageShowEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$.$onPopState]() { @@ -98277,37 +107491,37 @@ define([], (function load__dart_sdk() { get [S$.$onProgress]() { return html$.Window.progressEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } get [S$.$onStorage]() { return html$.Window.storageEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -98356,21 +107570,8 @@ define([], (function load__dart_sdk() { return html$.Element.wheelEvent.forTarget(this); } [S$.$moveTo](p) { - if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); - this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); - } - [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { - if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); - if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); - if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); - if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); - let db = null; - if (creationCallback == null) - db = this[S$3._openDatabase](name, version, displayName, estimatedSize); - else - db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); - _js_helper.applyExtension("Database", db); - return web_sql.SqlDatabase.as(db); + if (p == null) dart.nullFailed(I[149], 33846, 21, "p"); + this[S$1._moveTo](p.x[$toInt](), p.y[$toInt]()); } get [S$3.$pageXOffset]() { return this.pageXOffset[$round](); @@ -98387,7 +107588,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.Window); dart.addTypeCaches(html$.Window); - html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; + html$.Window[dart.implements] = () => [html$.GlobalEventHandlers, html$.WindowBase64, html$.WindowEventHandlers, html$._WindowTimers, html$.WindowBase]; dart.setMethodSignature(html$.Window, () => ({ __proto__: dart.getMethods(html$.Window.__proto__), [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), @@ -98414,8 +107615,7 @@ define([], (function load__dart_sdk() { [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), - [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$1._moveTo]: dart.fnType(dart.void, [core.int, core.int]), [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), @@ -98456,9 +107656,9 @@ define([], (function load__dart_sdk() { [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), - [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), - [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]) })); + dart.setStaticMethodSignature(html$.Window, () => ['__']); dart.setGetterSignature(html$.Window, () => ({ __proto__: dart.getGetters(html$.Window.__proto__), [S$3.$animationFrame]: async.Future$(core.num), @@ -98517,8 +107717,8 @@ define([], (function load__dart_sdk() { [$top]: dart.nullable(html$.WindowBase), [S$3._get_top]: dart.dynamic, [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, [S$3.$onContentLoaded]: async.Stream$(html$.Event), [S.$onAbort]: async.Stream$(html$.Event), [S.$onBlur]: async.Stream$(html$.Event), @@ -98554,33 +107754,33 @@ define([], (function load__dart_sdk() { [S$1.$onLoadStart]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), [S$.$onOffline]: async.Stream$(html$.Event), [S$.$onOnline]: async.Stream$(html$.Event), [S$3.$onPageHide]: async.Stream$(html$.Event), [S$3.$onPageShow]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$.$onPopState]: async.Stream$(html$.PopStateEvent), [S$.$onProgress]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), [S$.$onStorage]: async.Stream$(html$.StorageEvent), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -98611,58 +107811,60 @@ define([], (function load__dart_sdk() { [S$3.$opener]: dart.nullable(html$.WindowBase), [S$.$status]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.Window, I[148]); + dart.setStaticGetterSignature(html$.Window, () => ['supportsPointConversions']); + dart.setLibraryUri(html$.Window, I[150]); + dart.setStaticFieldSignature(html$.Window, () => ['contentLoadedEvent', 'deviceMotionEvent', 'deviceOrientationEvent', 'hashChangeEvent', 'loadStartEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'pageHideEvent', 'pageShowEvent', 'popStateEvent', 'progressEvent', 'storageEvent', 'unloadEvent', 'animationEndEvent', 'animationIterationEvent', 'animationStartEvent', 'PERSISTENT', 'TEMPORARY', 'beforeUnloadEvent']); dart.defineLazy(html$.Window, { /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { - return C[388] || CT.C388; + return C[399] || CT.C399; }, /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[389] || CT.C389; + return C[400] || CT.C400; }, /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[390] || CT.C390; + return C[401] || CT.C401; }, /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[391] || CT.C391; + return C[402] || CT.C402; }, /*html$.Window.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.Window.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.Window.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[392] || CT.C392; + return C[403] || CT.C403; }, /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[393] || CT.C393; + return C[404] || CT.C404; }, /*html$.Window.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.Window.progressEvent*/get progressEvent() { - return C[394] || CT.C394; + return C[405] || CT.C405; }, /*html$.Window.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.Window.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; }, /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[395] || CT.C395; + return C[406] || CT.C406; }, /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[396] || CT.C396; + return C[407] || CT.C407; }, /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[397] || CT.C397; + return C[408] || CT.C408; }, /*html$.Window.PERSISTENT*/get PERSISTENT() { return 1; @@ -98671,254 +107873,24 @@ define([], (function load__dart_sdk() { return 0; }, /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[398] || CT.C398; + return C[409] || CT.C409; } }, false); dart.registerExtension("Window", html$.Window); dart.registerExtension("DOMWindow", html$.Window); - html$._WrappedEvent = class _WrappedEvent extends core.Object { - get wrapped() { - return this[S$3.wrapped]; - } - set wrapped(value) { - super.wrapped = value; - } - get bubbles() { - return dart.nullCheck(this.wrapped.bubbles); - } - get cancelable() { - return dart.nullCheck(this.wrapped.cancelable); - } - get composed() { - return dart.nullCheck(this.wrapped.composed); - } - get currentTarget() { - return this.wrapped[S.$currentTarget]; - } - get defaultPrevented() { - return this.wrapped.defaultPrevented; - } - get eventPhase() { - return this.wrapped.eventPhase; - } - get isTrusted() { - return dart.nullCheck(this.wrapped.isTrusted); - } - get target() { - return this.wrapped[S.$target]; - } - get timeStamp() { - return dart.nullCast(this.wrapped.timeStamp, core.double); - } - get type() { - return this.wrapped.type; - } - [S._initEvent](type, bubbles = null, cancelable = null) { - if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); - dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); - } - preventDefault() { - this.wrapped.preventDefault(); - } - stopImmediatePropagation() { - this.wrapped.stopImmediatePropagation(); - } - stopPropagation() { - this.wrapped.stopPropagation(); - } - composedPath() { - return this.wrapped.composedPath(); - } - get matchingTarget() { - if (this[S._selector] == null) { - dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); - } - let currentTarget = T$0.ElementN().as(this.currentTarget); - let target = T$0.ElementN().as(this.target); - do { - if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; - target = target[S.$parent]; - } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); - dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); - } - get path() { - return T$0.ListOfNode().as(this.wrapped[S.$path]); - } - get [S._get_currentTarget]() { - return this.wrapped[S._get_currentTarget]; - } - get [S._get_target]() { - return this.wrapped[S._get_target]; + html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WindowBase64.__(); } }; - (html$._WrappedEvent.new = function(wrapped) { - if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); - this[S._selector] = null; - this[S$3.wrapped] = wrapped; - ; - }).prototype = html$._WrappedEvent.prototype; - dart.addTypeTests(html$._WrappedEvent); - dart.addTypeCaches(html$._WrappedEvent); - html$._WrappedEvent[dart.implements] = () => [html$.Event]; - dart.setMethodSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getMethods(html$._WrappedEvent.__proto__), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - preventDefault: dart.fnType(dart.void, []), - [S.$preventDefault]: dart.fnType(dart.void, []), - stopImmediatePropagation: dart.fnType(dart.void, []), - [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), - stopPropagation: dart.fnType(dart.void, []), - [S.$stopPropagation]: dart.fnType(dart.void, []), - composedPath: dart.fnType(core.List$(html$.EventTarget), []), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) - })); - dart.setGetterSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getGetters(html$._WrappedEvent.__proto__), - bubbles: core.bool, - [S.$bubbles]: core.bool, - cancelable: core.bool, - [S.$cancelable]: core.bool, - composed: core.bool, - [S.$composed]: core.bool, - currentTarget: dart.nullable(html$.EventTarget), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - defaultPrevented: core.bool, - [S.$defaultPrevented]: core.bool, - eventPhase: core.int, - [S.$eventPhase]: core.int, - isTrusted: core.bool, - [S.$isTrusted]: core.bool, - target: dart.nullable(html$.EventTarget), - [S.$target]: dart.nullable(html$.EventTarget), - timeStamp: core.double, - [S.$timeStamp]: core.double, - type: core.String, - [S.$type]: core.String, - matchingTarget: html$.Element, - [S.$matchingTarget]: html$.Element, - path: core.List$(html$.Node), - [S.$path]: core.List$(html$.Node), - [S._get_currentTarget]: dart.dynamic, - [S._get_target]: dart.dynamic - })); - dart.setLibraryUri(html$._WrappedEvent, I[148]); - dart.setFieldSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getFields(html$._WrappedEvent.__proto__), - wrapped: dart.finalFieldType(html$.Event), - [S._selector]: dart.fieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); - dart.defineExtensionAccessors(html$._WrappedEvent, [ - 'bubbles', - 'cancelable', - 'composed', - 'currentTarget', - 'defaultPrevented', - 'eventPhase', - 'isTrusted', - 'target', - 'timeStamp', - 'type', - 'matchingTarget', - 'path' - ]); - html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { - get returnValue() { - return this[S$3._returnValue]; - } - set returnValue(value) { - this[S$3._returnValue] = dart.nullCheck(value); - if ("returnValue" in this.wrapped) { - this.wrapped.returnValue = value; - } - } - }; - (html$._BeforeUnloadEvent.new = function(base) { - if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); - this[S$3._returnValue] = ""; - html$._BeforeUnloadEvent.__proto__.new.call(this, base); - ; - }).prototype = html$._BeforeUnloadEvent.prototype; - dart.addTypeTests(html$._BeforeUnloadEvent); - dart.addTypeCaches(html$._BeforeUnloadEvent); - html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; - dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), - returnValue: core.String, - [S$.$returnValue]: core.String - })); - dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), - returnValue: dart.nullable(core.String), - [S$.$returnValue]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); - dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), - [S$3._returnValue]: dart.fieldType(core.String) - })); - dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); - html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { - get [S$3._eventType$1]() { - return this[S$3._eventType]; - } - set [S$3._eventType$1](value) { - super[S$3._eventType$1] = value; - } - forTarget(e, opts) { - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); - let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); - stream.listen(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); - let wrapped = new html$._BeforeUnloadEvent.new(event); - controller.add(wrapped); - }, T$0.BeforeUnloadEventTovoid())); - return controller.stream; - } - getEventType(target) { - if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); - return this[S$3._eventType$1]; - } - forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); - return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } - [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); - return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } - }; - (html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); - this[S$3._eventType] = _eventType; - ; - }).prototype = html$._BeforeUnloadEventStreamProvider.prototype; - dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); - dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); - html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; - dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]), - forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) - })); - dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); - dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; dart.addTypeTests(html$.WindowBase64); dart.addTypeCaches(html$.WindowBase64); - dart.setLibraryUri(html$.WindowBase64, I[148]); + dart.setStaticMethodSignature(html$.WindowBase64, () => ['__']); + dart.setLibraryUri(html$.WindowBase64, I[150]); html$.WindowClient = class WindowClient extends html$.Client { + static ['_#_#tearOff']() { + return html$.WindowClient.__(); + } get [S$3.$focused]() { return this.focused; } @@ -98929,7 +107901,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(html$.WindowClient, this.focus()); } [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); } }; @@ -98940,14 +107912,18 @@ define([], (function load__dart_sdk() { [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); + dart.setStaticMethodSignature(html$.WindowClient, () => ['__']); dart.setGetterSignature(html$.WindowClient, () => ({ __proto__: dart.getGetters(html$.WindowClient.__proto__), [S$3.$focused]: dart.nullable(core.bool), [S$1.$visibilityState]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.WindowClient, I[148]); + dart.setLibraryUri(html$.WindowClient, I[150]); dart.registerExtension("WindowClient", html$.WindowClient); html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WindowEventHandlers.__(); + } get onHashChange() { return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); } @@ -98972,6 +107948,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$.WindowEventHandlers); dart.addTypeCaches(html$.WindowEventHandlers); + dart.setStaticMethodSignature(html$.WindowEventHandlers, () => ['__']); dart.setGetterSignature(html$.WindowEventHandlers, () => ({ __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), onHashChange: async.Stream$(html$.Event), @@ -98989,7 +107966,8 @@ define([], (function load__dart_sdk() { onUnload: async.Stream$(html$.Event), [S$.$onUnload]: async.Stream$(html$.Event) })); - dart.setLibraryUri(html$.WindowEventHandlers, I[148]); + dart.setLibraryUri(html$.WindowEventHandlers, I[150]); + dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); dart.defineExtensionAccessors(html$.WindowEventHandlers, [ 'onHashChange', 'onMessage', @@ -99001,32 +107979,39 @@ define([], (function load__dart_sdk() { ]); dart.defineLazy(html$.WindowEventHandlers, { /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); html$.Worker = class Worker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Worker.__(); + } static new(scriptUrl) { - if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); return html$.Worker._create_1(scriptUrl); } + static ['_#new#tearOff'](scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); + return html$.Worker.new(scriptUrl); + } static _create_1(scriptUrl) { return new Worker(scriptUrl); } @@ -99069,22 +108054,28 @@ define([], (function load__dart_sdk() { [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.Worker, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Worker, () => ({ __proto__: dart.getGetters(html$.Worker.__proto__), [S.$onError]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); - dart.setLibraryUri(html$.Worker, I[148]); + dart.setStaticGetterSignature(html$.Worker, () => ['supported']); + dart.setLibraryUri(html$.Worker, I[150]); + dart.setStaticFieldSignature(html$.Worker, () => ['errorEvent', 'messageEvent']); dart.defineLazy(html$.Worker, { /*html$.Worker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Worker.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("Worker", html$.Worker); html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerPerformance.__(); + } get [S$2.$memory]() { return this.memory; } @@ -99137,21 +108128,31 @@ define([], (function load__dart_sdk() { [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); + dart.setStaticMethodSignature(html$.WorkerPerformance, () => ['__']); dart.setGetterSignature(html$.WorkerPerformance, () => ({ __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), [S$2.$timeOrigin]: dart.nullable(core.num) })); - dart.setLibraryUri(html$.WorkerPerformance, I[148]); + dart.setLibraryUri(html$.WorkerPerformance, I[150]); dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); - html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { + html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletAnimation.__(); + } static new(animatorName, effects, timelines, options) { - if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); - if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); - if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); } + static ['_#new#tearOff'](animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); + return html$.WorkletAnimation.new(animatorName, effects, timelines, options); + } static _create_1(animatorName, effects, timelines, options) { return new WorkletAnimation(animatorName, effects, timelines, options); } @@ -99172,16 +108173,23 @@ define([], (function load__dart_sdk() { [S$.$cancel]: dart.fnType(dart.void, []), [S$.$play]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(html$.WorkletAnimation, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.WorkletAnimation, () => ({ __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), [S$.$playState]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.WorkletAnimation, I[148]); + dart.setLibraryUri(html$.WorkletAnimation, I[150]); dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); - html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { + html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathEvaluator.__(); + } static new() { return html$.XPathEvaluator._create_1(); } + static ['_#new#tearOff']() { + return html$.XPathEvaluator.new(); + } static _create_1() { return new XPathEvaluator(); } @@ -99203,9 +108211,13 @@ define([], (function load__dart_sdk() { [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) })); - dart.setLibraryUri(html$.XPathEvaluator, I[148]); + dart.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.XPathEvaluator, I[150]); dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); - html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { + html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathExpression.__(); + } [S$3.$evaluate](...args) { return this.evaluate.apply(this, args); } @@ -99216,9 +108228,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.XPathExpression.__proto__), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) })); - dart.setLibraryUri(html$.XPathExpression, I[148]); + dart.setStaticMethodSignature(html$.XPathExpression, () => ['__']); + dart.setLibraryUri(html$.XPathExpression, I[150]); dart.registerExtension("XPathExpression", html$.XPathExpression); - html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { + html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathNSResolver.__(); + } [S$3.$lookupNamespaceUri](...args) { return this.lookupNamespaceURI.apply(this, args); } @@ -99229,9 +108245,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) })); - dart.setLibraryUri(html$.XPathNSResolver, I[148]); + dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); + dart.setLibraryUri(html$.XPathNSResolver, I[150]); dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); - html$.XPathResult = class XPathResult extends _interceptors.Interceptor { + html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathResult.__(); + } get [S$3.$booleanValue]() { return this.booleanValue; } @@ -99267,6 +108287,7 @@ define([], (function load__dart_sdk() { [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); + dart.setStaticMethodSignature(html$.XPathResult, () => ['__']); dart.setGetterSignature(html$.XPathResult, () => ({ __proto__: dart.getGetters(html$.XPathResult.__proto__), [S$3.$booleanValue]: dart.nullable(core.bool), @@ -99277,7 +108298,8 @@ define([], (function load__dart_sdk() { [S$3.$snapshotLength]: dart.nullable(core.int), [S$3.$stringValue]: dart.nullable(core.String) })); - dart.setLibraryUri(html$.XPathResult, I[148]); + dart.setLibraryUri(html$.XPathResult, I[150]); + dart.setStaticFieldSignature(html$.XPathResult, () => ['ANY_TYPE', 'ANY_UNORDERED_NODE_TYPE', 'BOOLEAN_TYPE', 'FIRST_ORDERED_NODE_TYPE', 'NUMBER_TYPE', 'ORDERED_NODE_ITERATOR_TYPE', 'ORDERED_NODE_SNAPSHOT_TYPE', 'STRING_TYPE', 'UNORDERED_NODE_ITERATOR_TYPE', 'UNORDERED_NODE_SNAPSHOT_TYPE']); dart.defineLazy(html$.XPathResult, { /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { return 0; @@ -99311,15 +108333,26 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("XPathResult", html$.XPathResult); - html$.XmlDocument = class XmlDocument extends html$.Document {}; + html$.XmlDocument = class XmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.XmlDocument.__(); + } + }; dart.addTypeTests(html$.XmlDocument); dart.addTypeCaches(html$.XmlDocument); - dart.setLibraryUri(html$.XmlDocument, I[148]); + dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); + dart.setLibraryUri(html$.XmlDocument, I[150]); dart.registerExtension("XMLDocument", html$.XmlDocument); - html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { + html$.XmlSerializer = class XmlSerializer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XmlSerializer.__(); + } static new() { return html$.XmlSerializer._create_1(); } + static ['_#new#tearOff']() { + return html$.XmlSerializer.new(); + } static _create_1() { return new XMLSerializer(); } @@ -99333,12 +108366,19 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$.XmlSerializer.__proto__), [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) })); - dart.setLibraryUri(html$.XmlSerializer, I[148]); + dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$.XmlSerializer, I[150]); dart.registerExtension("XMLSerializer", html$.XmlSerializer); - html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { + html$.XsltProcessor = class XsltProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XsltProcessor.__(); + } static new() { return html$.XsltProcessor._create_1(); } + static ['_#new#tearOff']() { + return html$.XsltProcessor.new(); + } static _create_1() { return new XSLTProcessor(); } @@ -99383,9 +108423,14 @@ define([], (function load__dart_sdk() { [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) })); - dart.setLibraryUri(html$.XsltProcessor, I[148]); + dart.setStaticMethodSignature(html$.XsltProcessor, () => ['__', 'new', '_create_1']); + dart.setStaticGetterSignature(html$.XsltProcessor, () => ['supported']); + dart.setLibraryUri(html$.XsltProcessor, I[150]); dart.registerExtension("XSLTProcessor", html$.XsltProcessor); html$._Attr = class _Attr extends html$.Node { + static ['_#_#tearOff']() { + return html$._Attr.__(); + } get [S._localName]() { return this.localName; } @@ -99404,6 +108449,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._Attr); dart.addTypeCaches(html$._Attr); + dart.setStaticMethodSignature(html$._Attr, () => ['__']); dart.setGetterSignature(html$._Attr, () => ({ __proto__: dart.getGetters(html$._Attr.__proto__), [S._localName]: dart.nullable(core.String), @@ -99415,53 +108461,91 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._Attr.__proto__), [S.$value]: dart.nullable(core.String) })); - dart.setLibraryUri(html$._Attr, I[148]); + dart.setLibraryUri(html$._Attr, I[150]); dart.registerExtension("Attr", html$._Attr); - html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; + html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Bluetooth.__(); + } + }; dart.addTypeTests(html$._Bluetooth); dart.addTypeCaches(html$._Bluetooth); - dart.setLibraryUri(html$._Bluetooth, I[148]); + dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); + dart.setLibraryUri(html$._Bluetooth, I[150]); dart.registerExtension("Bluetooth", html$._Bluetooth); - html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; + html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothCharacteristicProperties.__(); + } + }; dart.addTypeTests(html$._BluetoothCharacteristicProperties); dart.addTypeCaches(html$._BluetoothCharacteristicProperties); - dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); + dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); + dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); - html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; + html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothDevice.__(); + } + }; dart.addTypeTests(html$._BluetoothDevice); dart.addTypeCaches(html$._BluetoothDevice); - dart.setLibraryUri(html$._BluetoothDevice, I[148]); + dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); + dart.setLibraryUri(html$._BluetoothDevice, I[150]); dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); - html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; + html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTCharacteristic.__(); + } + }; dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); - dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); + dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); + dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); - html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; + html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTServer.__(); + } + }; dart.addTypeTests(html$._BluetoothRemoteGATTServer); dart.addTypeCaches(html$._BluetoothRemoteGATTServer); - dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); + dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); + dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); - html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; + html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTService.__(); + } + }; dart.addTypeTests(html$._BluetoothRemoteGATTService); dart.addTypeCaches(html$._BluetoothRemoteGATTService); - dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); + dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); + dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); - html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; + html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothUUID.__(); + } + }; dart.addTypeTests(html$._BluetoothUUID); dart.addTypeCaches(html$._BluetoothUUID); - dart.setLibraryUri(html$._BluetoothUUID, I[148]); + dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); + dart.setLibraryUri(html$._BluetoothUUID, I[150]); dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); - html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { + html$._BudgetService = class _BudgetService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BudgetService.__(); + } [S$3.$getBudget]() { return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); } [S$3.$getCost](operation) { - if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + if (operation == null) dart.nullFailed(I[149], 34482, 33, "operation"); return js_util.promiseToFuture(core.double, this.getCost(operation)); } [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); return js_util.promiseToFuture(core.bool, this.reserve(operation)); } }; @@ -99473,18 +108557,32 @@ define([], (function load__dart_sdk() { [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) })); - dart.setLibraryUri(html$._BudgetService, I[148]); + dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); + dart.setLibraryUri(html$._BudgetService, I[150]); dart.registerExtension("BudgetService", html$._BudgetService); - html$._Cache = class _Cache extends _interceptors.Interceptor {}; + html$._Cache = class _Cache extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Cache.__(); + } + }; dart.addTypeTests(html$._Cache); dart.addTypeCaches(html$._Cache); - dart.setLibraryUri(html$._Cache, I[148]); + dart.setStaticMethodSignature(html$._Cache, () => ['__']); + dart.setLibraryUri(html$._Cache, I[150]); dart.registerExtension("Cache", html$._Cache); - html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; + html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._CanvasPath.__(); + } + }; dart.addTypeTests(html$._CanvasPath); dart.addTypeCaches(html$._CanvasPath); - dart.setLibraryUri(html$._CanvasPath, I[148]); + dart.setStaticMethodSignature(html$._CanvasPath, () => ['__']); + dart.setLibraryUri(html$._CanvasPath, I[150]); html$._Clipboard = class _Clipboard extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._Clipboard.__(); + } [S$3.$read]() { return js_util.promiseToFuture(html$.DataTransfer, this.read()); } @@ -99492,11 +108590,11 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(core.String, this.readText()); } [S$1.$write](data) { - if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + if (data == null) dart.nullFailed(I[149], 34526, 29, "data"); return js_util.promiseToFuture(dart.dynamic, this.write(data)); } [S$3.$writeText](data) { - if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + if (data == null) dart.nullFailed(I[149], 34529, 27, "data"); return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); } }; @@ -99509,37 +108607,41 @@ define([], (function load__dart_sdk() { [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), [S$3.$writeText]: dart.fnType(async.Future, [core.String]) })); - dart.setLibraryUri(html$._Clipboard, I[148]); + dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); + dart.setLibraryUri(html$._Clipboard, I[150]); dart.registerExtension("Clipboard", html$._Clipboard); - const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$8.new = function() { - Interceptor_ListMixin$36$8.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$8.prototype; - dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); - const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; - (Interceptor_ImmutableListMixin$36$8.new = function() { - Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$8.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); - html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { + const JavaScriptObject_ListMixin$36$8 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$8.new = function() { + JavaScriptObject_ListMixin$36$8.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$8.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); + const JavaScriptObject_ImmutableListMixin$36$8 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$8 {}; + (JavaScriptObject_ImmutableListMixin$36$8.new = function() { + JavaScriptObject_ImmutableListMixin$36$8.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$8.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); + html$._CssRuleList = class _CssRuleList extends JavaScriptObject_ImmutableListMixin$36$8 { + static ['_#_#tearOff']() { + return html$._CssRuleList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34547, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34553, 25, "index"); html$.CssRule.as(value); - if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + if (value == null) dart.nullFailed(I[149], 34553, 40, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34559, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99570,7 +108672,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34587, 25, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99580,13 +108682,14 @@ define([], (function load__dart_sdk() { html$._CssRuleList.prototype[dart.isList] = true; dart.addTypeTests(html$._CssRuleList); dart.addTypeCaches(html$._CssRuleList); - html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; + html$._CssRuleList[dart.implements] = () => [core.List$(html$.CssRule), _js_helper.JavaScriptIndexingBehavior$(html$.CssRule)]; dart.setMethodSignature(html$._CssRuleList, () => ({ __proto__: dart.getMethods(html$._CssRuleList.__proto__), [$_get]: dart.fnType(html$.CssRule, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) })); + dart.setStaticMethodSignature(html$._CssRuleList, () => ['__']); dart.setGetterSignature(html$._CssRuleList, () => ({ __proto__: dart.getGetters(html$._CssRuleList.__proto__), [$length]: core.int @@ -99595,33 +108698,58 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._CssRuleList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$._CssRuleList, I[148]); + dart.setLibraryUri(html$._CssRuleList, I[150]); dart.registerExtension("CSSRuleList", html$._CssRuleList); - html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; + html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DOMFileSystemSync.__(); + } + }; dart.addTypeTests(html$._DOMFileSystemSync); dart.addTypeCaches(html$._DOMFileSystemSync); - dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); + dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); + dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); - html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; + html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._EntrySync.__(); + } + }; dart.addTypeTests(html$._EntrySync); dart.addTypeCaches(html$._EntrySync); - dart.setLibraryUri(html$._EntrySync, I[148]); + dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); + dart.setLibraryUri(html$._EntrySync, I[150]); dart.registerExtension("EntrySync", html$._EntrySync); - html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; + html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._DirectoryEntrySync.__(); + } + }; dart.addTypeTests(html$._DirectoryEntrySync); dart.addTypeCaches(html$._DirectoryEntrySync); - dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); + dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); + dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); - html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; + html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DirectoryReaderSync.__(); + } + }; dart.addTypeTests(html$._DirectoryReaderSync); dart.addTypeCaches(html$._DirectoryReaderSync); - dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); + dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); + dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); - html$._DocumentType = class _DocumentType extends html$.Node {}; + html$._DocumentType = class _DocumentType extends html$.Node { + static ['_#_#tearOff']() { + return html$._DocumentType.__(); + } + }; dart.addTypeTests(html$._DocumentType); dart.addTypeCaches(html$._DocumentType); html$._DocumentType[dart.implements] = () => [html$.ChildNode]; - dart.setLibraryUri(html$._DocumentType, I[148]); + dart.setStaticMethodSignature(html$._DocumentType, () => ['__']); + dart.setLibraryUri(html$._DocumentType, I[150]); dart.registerExtension("DocumentType", html$._DocumentType); html$._DomRect = class _DomRect extends html$.DomRectReadOnly { [$toString]() { @@ -99632,11 +108760,11 @@ define([], (function load__dart_sdk() { return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + if (other == null) dart.nullFailed(I[149], 34672, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -99649,12 +108777,12 @@ define([], (function load__dart_sdk() { return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + if (other == null) dart.nullFailed(I[149], 34690, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + if (other == null) dart.nullFailed(I[149], 34700, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -99662,11 +108790,11 @@ define([], (function load__dart_sdk() { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + if (another == null) dart.nullFailed(I[149], 34713, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + if (another == null) dart.nullFailed(I[149], 34723, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -99681,6 +108809,9 @@ define([], (function load__dart_sdk() { get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$._DomRect.__(); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$._DomRect._create_1(x, y, width, height); @@ -99696,6 +108827,9 @@ define([], (function load__dart_sdk() { } return html$._DomRect._create_5(); } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$._DomRect.new(x, y, width, height); + } static _create_1(x, y, width, height) { return new DOMRect(x, y, width, height); } @@ -99745,6 +108879,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._DomRect); dart.addTypeCaches(html$._DomRect); html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; + dart.setStaticMethodSignature(html$._DomRect, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setSetterSignature(html$._DomRect, () => ({ __proto__: dart.getSetters(html$._DomRect.__proto__), [$height]: core.num, @@ -99752,86 +108887,79 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); - dart.setLibraryUri(html$._DomRect, I[148]); + dart.setLibraryUri(html$._DomRect, I[150]); dart.registerExtension("ClientRect", html$._DomRect); dart.registerExtension("DOMRect", html$._DomRect); - html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { - static combine(hash, value) { - if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); - if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); - hash = 536870911 & dart.notNull(hash) + dart.notNull(value); - hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); - return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; - } - static finish(hash) { - if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); - hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); - hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; - return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); - } - static hash2(a, b) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); - } - static hash4(a, b, c, d) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); + html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._FileEntrySync.__(); } }; - (html$._JenkinsSmiHash.new = function() { - ; - }).prototype = html$._JenkinsSmiHash.prototype; - dart.addTypeTests(html$._JenkinsSmiHash); - dart.addTypeCaches(html$._JenkinsSmiHash); - dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); - html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; dart.addTypeTests(html$._FileEntrySync); dart.addTypeCaches(html$._FileEntrySync); - dart.setLibraryUri(html$._FileEntrySync, I[148]); + dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); + dart.setLibraryUri(html$._FileEntrySync, I[150]); dart.registerExtension("FileEntrySync", html$._FileEntrySync); - html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { + html$._FileReaderSync = class _FileReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileReaderSync.__(); + } static new() { return html$._FileReaderSync._create_1(); } + static ['_#new#tearOff']() { + return html$._FileReaderSync.new(); + } static _create_1() { return new FileReaderSync(); } }; dart.addTypeTests(html$._FileReaderSync); dart.addTypeCaches(html$._FileReaderSync); - dart.setLibraryUri(html$._FileReaderSync, I[148]); + dart.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._FileReaderSync, I[150]); dart.registerExtension("FileReaderSync", html$._FileReaderSync); - html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; + html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileWriterSync.__(); + } + }; dart.addTypeTests(html$._FileWriterSync); dart.addTypeCaches(html$._FileWriterSync); - dart.setLibraryUri(html$._FileWriterSync, I[148]); + dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); + dart.setLibraryUri(html$._FileWriterSync, I[150]); dart.registerExtension("FileWriterSync", html$._FileWriterSync); - const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$9.new = function() { - Interceptor_ListMixin$36$9.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$9.prototype; - dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); - const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; - (Interceptor_ImmutableListMixin$36$9.new = function() { - Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$9.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); - html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { + const JavaScriptObject_ListMixin$36$9 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$9.new = function() { + JavaScriptObject_ListMixin$36$9.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$9.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); + const JavaScriptObject_ImmutableListMixin$36$9 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$9 {}; + (JavaScriptObject_ImmutableListMixin$36$9.new = function() { + JavaScriptObject_ImmutableListMixin$36$9.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$9.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); + html$._GamepadList = class _GamepadList extends JavaScriptObject_ImmutableListMixin$36$9 { + static ['_#_#tearOff']() { + return html$._GamepadList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34865, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34871, 25, "index"); T$0.GamepadN().as(value); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34877, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99862,7 +108990,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + if (index == null) dart.nullFailed(I[149], 34905, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99879,6 +109007,7 @@ define([], (function load__dart_sdk() { [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(html$._GamepadList, () => ['__']); dart.setGetterSignature(html$._GamepadList, () => ({ __proto__: dart.getGetters(html$._GamepadList.__proto__), [$length]: core.int @@ -99887,9 +109016,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._GamepadList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$._GamepadList, I[148]); + dart.setLibraryUri(html$._GamepadList, I[150]); dart.registerExtension("GamepadList", html$._GamepadList); - html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { + html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._HTMLAllCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -99900,36 +109032,56 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) })); - dart.setLibraryUri(html$._HTMLAllCollection, I[148]); + dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); + dart.setLibraryUri(html$._HTMLAllCollection, I[150]); dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); - html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; + html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLDirectoryElement.__(); + } + }; (html$._HTMLDirectoryElement.created = function() { html$._HTMLDirectoryElement.__proto__.created.call(this); ; }).prototype = html$._HTMLDirectoryElement.prototype; dart.addTypeTests(html$._HTMLDirectoryElement); dart.addTypeCaches(html$._HTMLDirectoryElement); - dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); + dart.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); + dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); - html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; + html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFontElement.__(); + } + }; (html$._HTMLFontElement.created = function() { html$._HTMLFontElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFontElement.prototype; dart.addTypeTests(html$._HTMLFontElement); dart.addTypeCaches(html$._HTMLFontElement); - dart.setLibraryUri(html$._HTMLFontElement, I[148]); + dart.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); + dart.setLibraryUri(html$._HTMLFontElement, I[150]); dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); - html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; + html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameElement.__(); + } + }; (html$._HTMLFrameElement.created = function() { html$._HTMLFrameElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFrameElement.prototype; dart.addTypeTests(html$._HTMLFrameElement); dart.addTypeCaches(html$._HTMLFrameElement); - dart.setLibraryUri(html$._HTMLFrameElement, I[148]); + dart.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); + dart.setLibraryUri(html$._HTMLFrameElement, I[150]); dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); - html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; + html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameSetElement.__(); + } + }; (html$._HTMLFrameSetElement.created = function() { html$._HTMLFrameSetElement.__proto__.created.call(this); ; @@ -99937,35 +109089,58 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._HTMLFrameSetElement); dart.addTypeCaches(html$._HTMLFrameSetElement); html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; - dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); + dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); + dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); - html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; + html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLMarqueeElement.__(); + } + }; (html$._HTMLMarqueeElement.created = function() { html$._HTMLMarqueeElement.__proto__.created.call(this); ; }).prototype = html$._HTMLMarqueeElement.prototype; dart.addTypeTests(html$._HTMLMarqueeElement); dart.addTypeCaches(html$._HTMLMarqueeElement); - dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); + dart.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); + dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); - html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; + html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Mojo.__(); + } + }; dart.addTypeTests(html$._Mojo); dart.addTypeCaches(html$._Mojo); - dart.setLibraryUri(html$._Mojo, I[148]); + dart.setStaticMethodSignature(html$._Mojo, () => ['__']); + dart.setLibraryUri(html$._Mojo, I[150]); dart.registerExtension("Mojo", html$._Mojo); - html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; + html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoHandle.__(); + } + }; dart.addTypeTests(html$._MojoHandle); dart.addTypeCaches(html$._MojoHandle); - dart.setLibraryUri(html$._MojoHandle, I[148]); + dart.setStaticMethodSignature(html$._MojoHandle, () => ['__']); + dart.setLibraryUri(html$._MojoHandle, I[150]); dart.registerExtension("MojoHandle", html$._MojoHandle); html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._MojoInterfaceInterceptor.__(); + } static new(interfaceName, scope = null) { - if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); if (scope != null) { return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); } return html$._MojoInterfaceInterceptor._create_2(interfaceName); } + static ['_#new#tearOff'](interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); + return html$._MojoInterfaceInterceptor.new(interfaceName, scope); + } static _create_1(interfaceName, scope) { return new MojoInterfaceInterceptor(interfaceName, scope); } @@ -99975,17 +109150,25 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._MojoInterfaceInterceptor); dart.addTypeCaches(html$._MojoInterfaceInterceptor); - dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); + dart.setStaticMethodSignature(html$._MojoInterfaceInterceptor, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[150]); dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._MojoInterfaceRequestEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); } return html$._MojoInterfaceRequestEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); + return html$._MojoInterfaceRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MojoInterfaceRequestEvent(type, eventInitDict); } @@ -99995,47 +109178,61 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._MojoInterfaceRequestEvent); dart.addTypeCaches(html$._MojoInterfaceRequestEvent); - dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); + dart.setStaticMethodSignature(html$._MojoInterfaceRequestEvent, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[150]); dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); - html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; + html$._MojoWatcher = class _MojoWatcher extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoWatcher.__(); + } + }; dart.addTypeTests(html$._MojoWatcher); dart.addTypeCaches(html$._MojoWatcher); - dart.setLibraryUri(html$._MojoWatcher, I[148]); + dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); + dart.setLibraryUri(html$._MojoWatcher, I[150]); dart.registerExtension("MojoWatcher", html$._MojoWatcher); - html$._NFC = class _NFC extends _interceptors.Interceptor {}; + html$._NFC = class _NFC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._NFC.__(); + } + }; dart.addTypeTests(html$._NFC); dart.addTypeCaches(html$._NFC); - dart.setLibraryUri(html$._NFC, I[148]); + dart.setStaticMethodSignature(html$._NFC, () => ['__']); + dart.setLibraryUri(html$._NFC, I[150]); dart.registerExtension("NFC", html$._NFC); - const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$10.new = function() { - Interceptor_ListMixin$36$10.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$10.prototype; - dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); - const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; - (Interceptor_ImmutableListMixin$36$10.new = function() { - Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$10.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); - html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { + const JavaScriptObject_ListMixin$36$10 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$10.new = function() { + JavaScriptObject_ListMixin$36$10.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$10.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$10, collection.ListMixin$(html$.Node)); + const JavaScriptObject_ImmutableListMixin$36$10 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$10 {}; + (JavaScriptObject_ImmutableListMixin$36$10.new = function() { + JavaScriptObject_ImmutableListMixin$36$10.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$10.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); + html$._NamedNodeMap = class _NamedNodeMap extends JavaScriptObject_ImmutableListMixin$36$10 { + static ['_#_#tearOff']() { + return html$._NamedNodeMap.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35137, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35143, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + if (value == null) dart.nullFailed(I[149], 35143, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35149, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100066,7 +109263,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + if (index == null) dart.nullFailed(I[149], 35177, 22, "index"); return this[$_get](index); } [S$3.$getNamedItem](...args) { @@ -100094,7 +109291,7 @@ define([], (function load__dart_sdk() { html$._NamedNodeMap.prototype[dart.isList] = true; dart.addTypeTests(html$._NamedNodeMap); dart.addTypeCaches(html$._NamedNodeMap); - html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + html$._NamedNodeMap[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -100107,6 +109304,7 @@ define([], (function load__dart_sdk() { [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) })); + dart.setStaticMethodSignature(html$._NamedNodeMap, () => ['__']); dart.setGetterSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), [$length]: core.int @@ -100115,15 +109313,23 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$._NamedNodeMap, I[148]); + dart.setLibraryUri(html$._NamedNodeMap, I[150]); dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); - html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; + html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._PagePopupController.__(); + } + }; dart.addTypeTests(html$._PagePopupController); dart.addTypeCaches(html$._PagePopupController); - dart.setLibraryUri(html$._PagePopupController, I[148]); + dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); + dart.setLibraryUri(html$._PagePopupController, I[150]); dart.registerExtension("PagePopupController", html$._PagePopupController); - html$._Report = class _Report extends _interceptors.Interceptor { + html$._Report = class _Report extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Report.__(); + } get [S$1.$body]() { return this.body; } @@ -100136,23 +109342,31 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._Report); dart.addTypeCaches(html$._Report); + dart.setStaticMethodSignature(html$._Report, () => ['__']); dart.setGetterSignature(html$._Report, () => ({ __proto__: dart.getGetters(html$._Report.__proto__), [S$1.$body]: dart.nullable(html$.ReportBody), [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$._Report, I[148]); + dart.setLibraryUri(html$._Report, I[150]); dart.registerExtension("Report", html$._Report); html$._Request = class _Request extends html$.Body { + static ['_#_#tearOff']() { + return html$._Request.__(); + } static new(input, requestInitDict = null) { - if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); if (requestInitDict != null) { let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); return html$._Request._create_1(input, requestInitDict_1); } return html$._Request._create_2(input); } + static ['_#new#tearOff'](input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); + return html$._Request.new(input, requestInitDict); + } static _create_1(input, requestInitDict) { return new Request(input, requestInitDict); } @@ -100162,7 +109376,7 @@ define([], (function load__dart_sdk() { get [S$3.$cache]() { return this.cache; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } get [S$2.$headers]() { @@ -100196,10 +109410,11 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$._Request.__proto__), [S$.$clone]: dart.fnType(html$._Request, []) })); + dart.setStaticMethodSignature(html$._Request, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$._Request, () => ({ __proto__: dart.getGetters(html$._Request.__proto__), [S$3.$cache]: dart.nullable(core.String), - [S$1.$credentials]: dart.nullable(core.String), + [S$2.$credentials]: dart.nullable(core.String), [S$2.$headers]: dart.nullable(html$.Headers), [S$1.$integrity]: dart.nullable(core.String), [S.$mode]: dart.nullable(core.String), @@ -100208,14 +109423,22 @@ define([], (function load__dart_sdk() { [S$.$referrerPolicy]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); - dart.setLibraryUri(html$._Request, I[148]); + dart.setLibraryUri(html$._Request, I[150]); dart.registerExtension("Request", html$._Request); - html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; + html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { + static ['_#_#tearOff']() { + return html$._ResourceProgressEvent.__(); + } + }; dart.addTypeTests(html$._ResourceProgressEvent); dart.addTypeCaches(html$._ResourceProgressEvent); - dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); + dart.setStaticMethodSignature(html$._ResourceProgressEvent, () => ['__']); + dart.setLibraryUri(html$._ResourceProgressEvent, I[150]); dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); html$._Response = class _Response extends html$.Body { + static ['_#_#tearOff']() { + return html$._Response.__(); + } static new(body = null, init = null) { if (init != null) { let init_1 = html_common.convertDartToNative_Dictionary(init); @@ -100226,6 +109449,9 @@ define([], (function load__dart_sdk() { } return html$._Response._create_3(); } + static ['_#new#tearOff'](body = null, init = null) { + return html$._Response.new(body, init); + } static _create_1(body, init) { return new Response(body, init); } @@ -100238,37 +109464,41 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._Response); dart.addTypeCaches(html$._Response); - dart.setLibraryUri(html$._Response, I[148]); + dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); + dart.setLibraryUri(html$._Response, I[150]); dart.registerExtension("Response", html$._Response); - const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$11.new = function() { - Interceptor_ListMixin$36$11.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$11.prototype; - dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); - const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; - (Interceptor_ImmutableListMixin$36$11.new = function() { - Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$11.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); - html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { + const JavaScriptObject_ListMixin$36$11 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$11.new = function() { + JavaScriptObject_ListMixin$36$11.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$11.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); + const JavaScriptObject_ImmutableListMixin$36$11 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$11 {}; + (JavaScriptObject_ImmutableListMixin$36$11.new = function() { + JavaScriptObject_ImmutableListMixin$36$11.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$11.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); + html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends JavaScriptObject_ImmutableListMixin$36$11 { + static ['_#_#tearOff']() { + return html$._SpeechRecognitionResultList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35331, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35337, 25, "index"); html$.SpeechRecognitionResult.as(value); - if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + if (value == null) dart.nullFailed(I[149], 35337, 56, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35343, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100299,7 +109529,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + if (index == null) dart.nullFailed(I[149], 35371, 41, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -100309,13 +109539,14 @@ define([], (function load__dart_sdk() { html$._SpeechRecognitionResultList.prototype[dart.isList] = true; dart.addTypeTests(html$._SpeechRecognitionResultList); dart.addTypeCaches(html$._SpeechRecognitionResultList); - html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; + html$._SpeechRecognitionResultList[dart.implements] = () => [core.List$(html$.SpeechRecognitionResult), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult)]; dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) })); + dart.setStaticMethodSignature(html$._SpeechRecognitionResultList, () => ['__']); dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int @@ -100324,37 +109555,40 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); + dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); - const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$12.new = function() { - Interceptor_ListMixin$36$12.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$12.prototype; - dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); - const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; - (Interceptor_ImmutableListMixin$36$12.new = function() { - Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$12.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); - html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { + const JavaScriptObject_ListMixin$36$12 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$12.new = function() { + JavaScriptObject_ListMixin$36$12.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$12.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); + const JavaScriptObject_ImmutableListMixin$36$12 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$12 {}; + (JavaScriptObject_ImmutableListMixin$36$12.new = function() { + JavaScriptObject_ImmutableListMixin$36$12.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$12.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); + html$._StyleSheetList = class _StyleSheetList extends JavaScriptObject_ImmutableListMixin$36$12 { + static ['_#_#tearOff']() { + return html$._StyleSheetList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35391, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35397, 25, "index"); html$.StyleSheet.as(value); - if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + if (value == null) dart.nullFailed(I[149], 35397, 43, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35403, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100385,7 +109619,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + if (index == null) dart.nullFailed(I[149], 35431, 28, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -100406,6 +109640,7 @@ define([], (function load__dart_sdk() { [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) })); + dart.setStaticMethodSignature(html$._StyleSheetList, () => ['__']); dart.setGetterSignature(html$._StyleSheetList, () => ({ __proto__: dart.getGetters(html$._StyleSheetList.__proto__), [$length]: core.int @@ -100414,89 +109649,148 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(html$._StyleSheetList.__proto__), [$length]: core.int })); - dart.setLibraryUri(html$._StyleSheetList, I[148]); + dart.setLibraryUri(html$._StyleSheetList, I[150]); dart.registerExtension("StyleSheetList", html$._StyleSheetList); - html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; + html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._SubtleCrypto.__(); + } + }; dart.addTypeTests(html$._SubtleCrypto); dart.addTypeCaches(html$._SubtleCrypto); - dart.setLibraryUri(html$._SubtleCrypto, I[148]); + dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); + dart.setLibraryUri(html$._SubtleCrypto, I[150]); dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); - html$._USB = class _USB extends html$.EventTarget {}; + html$._USB = class _USB extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._USB.__(); + } + }; dart.addTypeTests(html$._USB); dart.addTypeCaches(html$._USB); - dart.setLibraryUri(html$._USB, I[148]); + dart.setStaticMethodSignature(html$._USB, () => ['__']); + dart.setLibraryUri(html$._USB, I[150]); dart.registerExtension("USB", html$._USB); - html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { + html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBAlternateInterface.__(); + } static new(deviceInterface, alternateSetting) { - if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); - if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); } + static ['_#new#tearOff'](deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); + return html$._USBAlternateInterface.new(deviceInterface, alternateSetting); + } static _create_1(deviceInterface, alternateSetting) { return new USBAlternateInterface(deviceInterface, alternateSetting); } }; dart.addTypeTests(html$._USBAlternateInterface); dart.addTypeCaches(html$._USBAlternateInterface); - dart.setLibraryUri(html$._USBAlternateInterface, I[148]); + dart.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBAlternateInterface, I[150]); dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); - html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { + html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBConfiguration.__(); + } static new(device, configurationValue) { - if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); - if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); return html$._USBConfiguration._create_1(device, configurationValue); } + static ['_#new#tearOff'](device, configurationValue) { + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); + return html$._USBConfiguration.new(device, configurationValue); + } static _create_1(device, configurationValue) { return new USBConfiguration(device, configurationValue); } }; dart.addTypeTests(html$._USBConfiguration); dart.addTypeCaches(html$._USBConfiguration); - dart.setLibraryUri(html$._USBConfiguration, I[148]); + dart.setStaticMethodSignature(html$._USBConfiguration, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBConfiguration, I[150]); dart.registerExtension("USBConfiguration", html$._USBConfiguration); html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._USBConnectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._USBConnectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); + return html$._USBConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new USBConnectionEvent(type, eventInitDict); } }; dart.addTypeTests(html$._USBConnectionEvent); dart.addTypeCaches(html$._USBConnectionEvent); - dart.setLibraryUri(html$._USBConnectionEvent, I[148]); + dart.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBConnectionEvent, I[150]); dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); - html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; + html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBDevice.__(); + } + }; dart.addTypeTests(html$._USBDevice); dart.addTypeCaches(html$._USBDevice); - dart.setLibraryUri(html$._USBDevice, I[148]); + dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); + dart.setLibraryUri(html$._USBDevice, I[150]); dart.registerExtension("USBDevice", html$._USBDevice); - html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { + html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBEndpoint.__(); + } static new(alternate, endpointNumber, direction) { - if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); - if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); - if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); } + static ['_#new#tearOff'](alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); + return html$._USBEndpoint.new(alternate, endpointNumber, direction); + } static _create_1(alternate, endpointNumber, direction) { return new USBEndpoint(alternate, endpointNumber, direction); } }; dart.addTypeTests(html$._USBEndpoint); dart.addTypeCaches(html$._USBEndpoint); - dart.setLibraryUri(html$._USBEndpoint, I[148]); + dart.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBEndpoint, I[150]); dart.registerExtension("USBEndpoint", html$._USBEndpoint); - html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { + html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInTransferResult.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); if (data != null) { return html$._USBInTransferResult._create_1(status, data); } return html$._USBInTransferResult._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); + return html$._USBInTransferResult.new(status, data); + } static _create_1(status, data) { return new USBInTransferResult(status, data); } @@ -100506,30 +109800,47 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._USBInTransferResult); dart.addTypeCaches(html$._USBInTransferResult); - dart.setLibraryUri(html$._USBInTransferResult, I[148]); + dart.setStaticMethodSignature(html$._USBInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._USBInTransferResult, I[150]); dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); - html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { + html$._USBInterface = class _USBInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInterface.__(); + } static new(configuration, interfaceNumber) { - if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); - if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); return html$._USBInterface._create_1(configuration, interfaceNumber); } + static ['_#new#tearOff'](configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); + return html$._USBInterface.new(configuration, interfaceNumber); + } static _create_1(configuration, interfaceNumber) { return new USBInterface(configuration, interfaceNumber); } }; dart.addTypeTests(html$._USBInterface); dart.addTypeCaches(html$._USBInterface); - dart.setLibraryUri(html$._USBInterface, I[148]); + dart.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBInterface, I[150]); dart.registerExtension("USBInterface", html$._USBInterface); - html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { + html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferPacket.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); if (data != null) { return html$._USBIsochronousInTransferPacket._create_1(status, data); } return html$._USBIsochronousInTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); + return html$._USBIsochronousInTransferPacket.new(status, data); + } static _create_1(status, data) { return new USBIsochronousInTransferPacket(status, data); } @@ -100539,16 +109850,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._USBIsochronousInTransferPacket); dart.addTypeCaches(html$._USBIsochronousInTransferPacket); - dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); + dart.setStaticMethodSignature(html$._USBIsochronousInTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[150]); dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); - html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { + html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferResult.__(); + } static new(packets, data = null) { - if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); if (data != null) { return html$._USBIsochronousInTransferResult._create_1(packets, data); } return html$._USBIsochronousInTransferResult._create_2(packets); } + static ['_#new#tearOff'](packets, data = null) { + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); + return html$._USBIsochronousInTransferResult.new(packets, data); + } static _create_1(packets, data) { return new USBIsochronousInTransferResult(packets, data); } @@ -100558,16 +109877,24 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._USBIsochronousInTransferResult); dart.addTypeCaches(html$._USBIsochronousInTransferResult); - dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); + dart.setStaticMethodSignature(html$._USBIsochronousInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[150]); dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); - html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { + html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferPacket.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); if (bytesWritten != null) { return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); } return html$._USBIsochronousOutTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); + return html$._USBIsochronousOutTransferPacket.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBIsochronousOutTransferPacket(status, bytesWritten); } @@ -100577,29 +109904,45 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._USBIsochronousOutTransferPacket); dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); - dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); + dart.setStaticMethodSignature(html$._USBIsochronousOutTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[150]); dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); - html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { + html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferResult.__(); + } static new(packets) { - if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); return html$._USBIsochronousOutTransferResult._create_1(packets); } + static ['_#new#tearOff'](packets) { + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); + return html$._USBIsochronousOutTransferResult.new(packets); + } static _create_1(packets) { return new USBIsochronousOutTransferResult(packets); } }; dart.addTypeTests(html$._USBIsochronousOutTransferResult); dart.addTypeCaches(html$._USBIsochronousOutTransferResult); - dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); + dart.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); - html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { + html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBOutTransferResult.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); if (bytesWritten != null) { return html$._USBOutTransferResult._create_1(status, bytesWritten); } return html$._USBOutTransferResult._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); + return html$._USBOutTransferResult.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBOutTransferResult(status, bytesWritten); } @@ -100609,36 +109952,57 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(html$._USBOutTransferResult); dart.addTypeCaches(html$._USBOutTransferResult); - dart.setLibraryUri(html$._USBOutTransferResult, I[148]); + dart.setStaticMethodSignature(html$._USBOutTransferResult, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(html$._USBOutTransferResult, I[150]); dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); - html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; + html$._WindowTimers = class _WindowTimers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WindowTimers.__(); + } + }; dart.addTypeTests(html$._WindowTimers); dart.addTypeCaches(html$._WindowTimers); - dart.setLibraryUri(html$._WindowTimers, I[148]); - html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; + dart.setStaticMethodSignature(html$._WindowTimers, () => ['__']); + dart.setLibraryUri(html$._WindowTimers, I[150]); + html$._WorkerLocation = class _WorkerLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WorkerLocation.__(); + } + }; dart.addTypeTests(html$._WorkerLocation); dart.addTypeCaches(html$._WorkerLocation); html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; - dart.setLibraryUri(html$._WorkerLocation, I[148]); + dart.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); + dart.setLibraryUri(html$._WorkerLocation, I[150]); dart.registerExtension("WorkerLocation", html$._WorkerLocation); - html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; + html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware { + static ['_#_#tearOff']() { + return html$._WorkerNavigator.__(); + } + }; dart.addTypeTests(html$._WorkerNavigator); dart.addTypeCaches(html$._WorkerNavigator); - html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; - dart.setLibraryUri(html$._WorkerNavigator, I[148]); + html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorID, html$.NavigatorOnLine]; + dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); + dart.setLibraryUri(html$._WorkerNavigator, I[150]); dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); - html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; + html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Worklet.__(); + } + }; dart.addTypeTests(html$._Worklet); dart.addTypeCaches(html$._Worklet); - dart.setLibraryUri(html$._Worklet, I[148]); + dart.setStaticMethodSignature(html$._Worklet, () => ['__']); + dart.setLibraryUri(html$._Worklet, I[150]); dart.registerExtension("Worklet", html$._Worklet); html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35796, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35797, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35797, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } @@ -100655,9 +110019,9 @@ define([], (function load__dart_sdk() { } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) { this[$_set](key, ifAbsent()); } @@ -100669,14 +110033,14 @@ define([], (function load__dart_sdk() { } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + if (f == null) dart.nullFailed(I[149], 35825, 21, "f"); for (let key of this.keys) { let value = this[$_get](key); f(key, dart.nullCast(value, core.String)); } } get keys() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let keys = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100687,7 +110051,7 @@ define([], (function load__dart_sdk() { return keys; } get values() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let values = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100705,8 +110069,8 @@ define([], (function load__dart_sdk() { } }; (html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._AttributeMap.prototype; dart.addTypeTests(html$._AttributeMap); @@ -100723,10 +110087,10 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); - dart.setLibraryUri(html$._AttributeMap, I[148]); + dart.setLibraryUri(html$._AttributeMap, I[150]); dart.setFieldSignature(html$._AttributeMap, () => ({ __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._AttributeMap, [ 'addAll', @@ -100738,41 +110102,45 @@ define([], (function load__dart_sdk() { ]); dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); + return new html$._ElementAttributeMap.new(element); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttribute](key)); } _get(key) { - return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + return this[S$1._element][S.$getAttribute](core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35890, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); - this[S$1._element$2][S.$setAttribute](key, value); + if (value == null) dart.nullFailed(I[149], 35890, 40, "value"); + this[S$1._element][S.$setAttribute](key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35904, 23, "node"); return node[S._namespaceUri] == null; } static _remove(element, key) { - if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); - if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + if (element == null) dart.nullFailed(I[149], 35909, 34, "element"); + if (key == null) dart.nullFailed(I[149], 35909, 50, "key"); let value = element.getAttribute(key); element.removeAttribute(key); return value; } }; (html$._ElementAttributeMap.new = function(element) { - if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); html$._ElementAttributeMap.__proto__.new.call(this, element); ; }).prototype = html$._ElementAttributeMap.prototype; @@ -100788,45 +110156,50 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); - dart.setLibraryUri(html$._ElementAttributeMap, I[148]); + dart.setStaticMethodSignature(html$._ElementAttributeMap, () => ['_remove']); + dart.setLibraryUri(html$._ElementAttributeMap, I[150]); dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element, _namespace) { + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); + return new html$._NamespacedAttributeMap.new(element, _namespace); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttributeNS](this[S$3._namespace], key)); } _get(key) { - return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + return this[S$1._element][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35938, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); - this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + if (value == null) dart.nullFailed(I[149], 35938, 40, "value"); + this[S$1._element][S.$setAttributeNS](this[S$3._namespace], key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35953, 23, "node"); return node[S._namespaceUri] == this[S$3._namespace]; } static _remove(namespace, element, key) { - if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); - if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + if (element == null) dart.nullFailed(I[149], 35959, 53, "element"); + if (key == null) dart.nullFailed(I[149], 35959, 69, "key"); let value = element.getAttributeNS(namespace, key); element.removeAttributeNS(namespace, key); return value; } }; (html$._NamespacedAttributeMap.new = function(element, _namespace) { - if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); this[S$3._namespace] = _namespace; html$._NamespacedAttributeMap.__proto__.new.call(this, element); ; @@ -100843,7 +110216,8 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); - dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); + dart.setStaticMethodSignature(html$._NamespacedAttributeMap, () => ['_remove']); + dart.setLibraryUri(html$._NamespacedAttributeMap, I[150]); dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) @@ -100851,12 +110225,16 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + static ['_#new#tearOff'](_attributes) { + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); + return new html$._DataAttributeMap.new(_attributes); + } addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35984, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35985, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35985, 23, "v"); this._set(k, v); }, T$0.StringAndStringTovoid())); } @@ -100865,7 +110243,7 @@ define([], (function load__dart_sdk() { } containsValue(value) { return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); return core.identical(v, value); }, T$.StringTobool())); } @@ -100878,17 +110256,17 @@ define([], (function load__dart_sdk() { _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + if (value == null) dart.nullFailed(I[149], 35999, 40, "value"); this[S._attributes$1][$_set](this[S$3._attr](key), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + if (key == null) dart.nullFailed(I[149], 36003, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 36003, 41, "ifAbsent"); return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); } remove(key) { @@ -100900,10 +110278,10 @@ define([], (function load__dart_sdk() { } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + if (f == null) dart.nullFailed(I[149], 36015, 21, "f"); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36016, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36016, 45, "value"); if (dart.test(this[S$3._matches](key))) { f(this[S$3._strip](key), value); } @@ -100912,8 +110290,8 @@ define([], (function load__dart_sdk() { get keys() { let keys = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36025, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36025, 45, "value"); if (dart.test(this[S$3._matches](key))) { keys[$add](this[S$3._strip](key)); } @@ -100923,8 +110301,8 @@ define([], (function load__dart_sdk() { get values() { let values = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36035, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36035, 45, "value"); if (dart.test(this[S$3._matches](key))) { values[$add](value); } @@ -100941,21 +110319,21 @@ define([], (function load__dart_sdk() { return !dart.test(this.isEmpty); } [S$3._attr](key) { - if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + if (key == null) dart.nullFailed(I[149], 36051, 23, "key"); return "data-" + dart.str(this[S$3._toHyphenedName](key)); } [S$3._matches](key) { - if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36052, 24, "key"); return key[$startsWith]("data-"); } [S$3._strip](key) { - if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36053, 24, "key"); return this[S$3._toCamelCase](key[$substring](5)); } [S$3._toCamelCase](hyphenedName, opts) { - if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + if (hyphenedName == null) dart.nullFailed(I[149], 36060, 30, "hyphenedName"); let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + if (startUppercase == null) dart.nullFailed(I[149], 36060, 50, "startUppercase"); let segments = hyphenedName[$split]("-"); let start = dart.test(startUppercase) ? 0 : 1; for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { @@ -100967,7 +110345,7 @@ define([], (function load__dart_sdk() { return segments[$join](""); } [S$3._toHyphenedName](word) { - if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + if (word == null) dart.nullFailed(I[149], 36074, 33, "word"); let sb = new core.StringBuffer.new(); for (let i = 0; i < word.length; i = i + 1) { let lower = word[$_get](i)[$toLowerCase](); @@ -100978,7 +110356,7 @@ define([], (function load__dart_sdk() { } }; (html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); this[S._attributes$1] = _attributes; ; }).prototype = html$._DataAttributeMap.prototype; @@ -101007,7 +110385,7 @@ define([], (function load__dart_sdk() { keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); - dart.setLibraryUri(html$._DataAttributeMap, I[148]); + dart.setLibraryUri(html$._DataAttributeMap, I[150]); dart.setFieldSignature(html$._DataAttributeMap, () => ({ __proto__: dart.getFields(html$._DataAttributeMap.__proto__), [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) @@ -101037,7 +110415,7 @@ define([], (function load__dart_sdk() { }).prototype = html$.CanvasImageSource.prototype; dart.addTypeTests(html$.CanvasImageSource); dart.addTypeCaches(html$.CanvasImageSource); - dart.setLibraryUri(html$.CanvasImageSource, I[148]); + dart.setLibraryUri(html$.CanvasImageSource, I[150]); html$.WindowBase = class WindowBase extends core.Object {}; (html$.WindowBase.new = function() { ; @@ -101045,21 +110423,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.WindowBase); dart.addTypeCaches(html$.WindowBase); html$.WindowBase[dart.implements] = () => [html$.EventTarget]; - dart.setLibraryUri(html$.WindowBase, I[148]); + dart.setLibraryUri(html$.WindowBase, I[150]); html$.LocationBase = class LocationBase extends core.Object {}; (html$.LocationBase.new = function() { ; }).prototype = html$.LocationBase.prototype; dart.addTypeTests(html$.LocationBase); dart.addTypeCaches(html$.LocationBase); - dart.setLibraryUri(html$.LocationBase, I[148]); + dart.setLibraryUri(html$.LocationBase, I[150]); html$.HistoryBase = class HistoryBase extends core.Object {}; (html$.HistoryBase.new = function() { ; }).prototype = html$.HistoryBase.prototype; dart.addTypeTests(html$.HistoryBase); dart.addTypeCaches(html$.HistoryBase); - dart.setLibraryUri(html$.HistoryBase, I[148]); + dart.setLibraryUri(html$.HistoryBase, I[150]); html$.CssClassSet = class CssClassSet extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -101071,7 +110449,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$.CssClassSet); dart.addTypeCaches(html$.CssClassSet); html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; - dart.setLibraryUri(html$.CssClassSet, I[148]); + dart.setLibraryUri(html$.CssClassSet, I[150]); html$.CssRect = class CssRect extends core.Object { set height(newHeight) { dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); @@ -101080,9 +110458,9 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); } [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); - if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); - let styles = this[S$1._element$2][S.$getComputedStyle](); + if (dimensions == null) dart.nullFailed(I[149], 36625, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[149], 36625, 39, "augmentingMeasurement"); + let styles = this[S$1._element][S.$getComputedStyle](); let val = 0; for (let measurement of dimensions) { if (augmentingMeasurement == html$._MARGIN) { @@ -101111,11 +110489,11 @@ define([], (function load__dart_sdk() { return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; } get hashCode() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + return core.Object.hash(this.left, this.top, this.right, this.bottom); } intersection(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + if (other == null) dart.nullFailed(I[149], 36690, 47, "other"); let x0 = math.max(core.num, this.left, other[$left]); let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -101128,12 +110506,12 @@ define([], (function load__dart_sdk() { return null; } intersects(other) { - if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + if (other == null) dart.nullFailed(I[149], 36708, 34, "other"); return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); } boundingBox(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + if (other == null) dart.nullFailed(I[149], 36718, 45, "other"); let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this.left, other[$left]); @@ -101141,11 +110519,11 @@ define([], (function load__dart_sdk() { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + if (another == null) dart.nullFailed(I[149], 36731, 41, "another"); return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + if (another == null) dart.nullFailed(I[149], 36741, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); } get topLeft() { @@ -101162,8 +110540,8 @@ define([], (function load__dart_sdk() { } }; (html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); + this[S$1._element] = _element; ; }).prototype = html$.CssRect.prototype; dart.addTypeTests(html$.CssRect); @@ -101205,10 +110583,10 @@ define([], (function load__dart_sdk() { width: dart.dynamic, [$width]: dart.dynamic })); - dart.setLibraryUri(html$.CssRect, I[148]); + dart.setLibraryUri(html$.CssRect, I[150]); dart.setFieldSignature(html$.CssRect, () => ({ __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element$2]: dart.fieldType(html$.Element) + [S$1._element]: dart.fieldType(html$.Element) })); dart.defineExtensionMethods(html$.CssRect, [ 'toString', @@ -101231,20 +110609,24 @@ define([], (function load__dart_sdk() { 'bottomLeft' ]); html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); + return new html$._ContentCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); } set height(newHeight) { if (html$.Dimension.is(newHeight)) { let newHeightAsDimension = newHeight; if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); - this[S$1._element$2].style[$height] = dart.toString(newHeight); + this[S$1._element].style[$height] = dart.toString(newHeight); } else if (typeof newHeight == 'number') { if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + this[S$1._element].style[$height] = dart.str(newHeight) + "px"; } else { dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); } @@ -101253,23 +110635,23 @@ define([], (function load__dart_sdk() { if (html$.Dimension.is(newWidth)) { let newWidthAsDimension = newWidth; if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - this[S$1._element$2].style[$width] = dart.toString(newWidth); + this[S$1._element].style[$width] = dart.toString(newWidth); } else if (typeof newWidth == 'number') { if (dart.notNull(newWidth) < 0) newWidth = 0; - this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + this[S$1._element].style[$width] = dart.str(newWidth) + "px"; } else { dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); } } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); } }; (html$._ContentCssRect.new = function(element) { - if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); html$._ContentCssRect.__proto__.new.call(this, element); ; }).prototype = html$._ContentCssRect.prototype; @@ -101286,12 +110668,16 @@ define([], (function load__dart_sdk() { top: core.num, [$top]: core.num })); - dart.setLibraryUri(html$._ContentCssRect, I[148]); + dart.setLibraryUri(html$._ContentCssRect, I[150]); dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + static ['_#new#tearOff'](elementList) { + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); + return new html$._ContentCssListRect.new(elementList); + } set height(newHeight) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36480, 27, "e"); return e[S.$contentEdge].height = newHeight; }, T$0.ElementTovoid())); } @@ -101300,7 +110686,7 @@ define([], (function load__dart_sdk() { } set width(newWidth) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); return e[S.$contentEdge].width = newWidth; }, T$0.ElementTovoid())); } @@ -101309,37 +110695,40 @@ define([], (function load__dart_sdk() { } }; (html$._ContentCssListRect.new = function(elementList) { - if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); this[S$3._elementList] = elementList; html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); ; }).prototype = html$._ContentCssListRect.prototype; dart.addTypeTests(html$._ContentCssListRect); dart.addTypeCaches(html$._ContentCssListRect); - dart.setLibraryUri(html$._ContentCssListRect, I[148]); + dart.setLibraryUri(html$._ContentCssListRect, I[150]); dart.setFieldSignature(html$._ContentCssListRect, () => ({ __proto__: dart.getFields(html$._ContentCssListRect.__proto__), [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) })); dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._PaddingCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); } }; (html$._PaddingCssRect.new = function(element) { @@ -101359,26 +110748,29 @@ define([], (function load__dart_sdk() { top: core.num, [$top]: core.num })); - dart.setLibraryUri(html$._PaddingCssRect, I[148]); + dart.setLibraryUri(html$._PaddingCssRect, I[150]); dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._BorderCssRect.new(element); + } get height() { - return this[S$1._element$2][S.$offsetHeight]; + return this[S$1._element][S.$offsetHeight]; } set height(value) { super.height = value; } get width() { - return this[S$1._element$2][S.$offsetWidth]; + return this[S$1._element][S.$offsetWidth]; } set width(value) { super.width = value; } get left() { - return this[S$1._element$2].getBoundingClientRect()[$left]; + return this[S$1._element].getBoundingClientRect()[$left]; } get top() { - return this[S$1._element$2].getBoundingClientRect()[$top]; + return this[S$1._element].getBoundingClientRect()[$top]; } }; (html$._BorderCssRect.new = function(element) { @@ -101398,26 +110790,29 @@ define([], (function load__dart_sdk() { top: core.num, [$top]: core.num })); - dart.setLibraryUri(html$._BorderCssRect, I[148]); + dart.setLibraryUri(html$._BorderCssRect, I[150]); dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._MarginCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); } }; (html$._MarginCssRect.new = function(element) { @@ -101437,11 +110832,11 @@ define([], (function load__dart_sdk() { top: core.num, [$top]: core.num })); - dart.setLibraryUri(html$._MarginCssRect, I[148]); + dart.setLibraryUri(html$._MarginCssRect, I[150]); dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { [S$3._validateToken](value) { - if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (value == null) dart.nullFailed(I[151], 10, 32, "value"); if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); } @@ -101449,7 +110844,7 @@ define([], (function load__dart_sdk() { return this.readClasses()[$join](" "); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + if (value == null) dart.nullFailed(I[151], 26, 22, "value"); this[S$3._validateToken](value); let s = this.readClasses(); let result = false; @@ -101470,31 +110865,31 @@ define([], (function load__dart_sdk() { return this.readClasses().iterator; } forEach(f) { - if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + if (f == null) dart.nullFailed(I[151], 52, 21, "f"); this.readClasses()[$forEach](f); } join(separator = "") { - if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + if (separator == null) dart.nullFailed(I[151], 56, 23, "separator"); return this.readClasses()[$join](separator); } map(T, f) { - if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + if (f == null) dart.nullFailed(I[151], 58, 24, "f"); return this.readClasses()[$map](T, f); } where(f) { - if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + if (f == null) dart.nullFailed(I[151], 60, 31, "f"); return this.readClasses()[$where](f); } expand(T, f) { - if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + if (f == null) dart.nullFailed(I[151], 62, 37, "f"); return this.readClasses()[$expand](T, f); } every(f) { - if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + if (f == null) dart.nullFailed(I[151], 65, 19, "f"); return this.readClasses()[$every](f); } any(f) { - if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + if (f == null) dart.nullFailed(I[151], 67, 17, "f"); return this.readClasses()[$any](f); } get isEmpty() { @@ -101508,11 +110903,11 @@ define([], (function load__dart_sdk() { } reduce(combine) { T$0.StringAndStringToString().as(combine); - if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + if (combine == null) dart.nullFailed(I[151], 75, 24, "combine"); return this.readClasses()[$reduce](combine); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + if (combine == null) dart.nullFailed(I[151], 79, 31, "combine"); return this.readClasses()[$fold](T, initialValue, combine); } contains(value) { @@ -101524,14 +110919,14 @@ define([], (function load__dart_sdk() { return dart.test(this.contains(value)) ? core.String.as(value) : null; } add(value) { - let t241; + let t222; core.String.as(value); - if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + if (value == null) dart.nullFailed(I[151], 107, 19, "value"); this[S$3._validateToken](value); - return core.bool.as((t241 = this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return core.bool.as((t222 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[151], 111, 20, "s"); return s.add(value); - }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + }, T$0.SetOfStringTobool())), t222 == null ? false : t222)); } remove(value) { if (!(typeof value == 'string')) return false; @@ -101543,62 +110938,62 @@ define([], (function load__dart_sdk() { } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + if (s == null) dart.nullFailed(I[151], 138, 13, "s"); return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); }, T$0.SetOfStringTovoid())); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 147, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + if (s == null) dart.nullFailed(I[151], 148, 13, "s"); return s.removeAll(iterable); }, T$0.SetOfStringTovoid())); } toggleAll(iterable, shouldAdd = null) { - if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 161, 35, "iterable"); iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + if (e == null) dart.nullFailed(I[151], 162, 23, "e"); return this.toggle(e, shouldAdd); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + if (s == null) dart.nullFailed(I[151], 166, 13, "s"); return s.retainAll(iterable); }, T$0.SetOfStringTovoid())); } removeWhere(test) { - if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + if (test == null) dart.nullFailed(I[151], 169, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + if (s == null) dart.nullFailed(I[151], 170, 13, "s"); return s.removeWhere(test); }, T$0.SetOfStringTovoid())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + if (test == null) dart.nullFailed(I[151], 173, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + if (s == null) dart.nullFailed(I[151], 174, 13, "s"); return s.retainWhere(test); }, T$0.SetOfStringTovoid())); } containsAll(collection) { - if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + if (collection == null) dart.nullFailed(I[151], 177, 38, "collection"); return this.readClasses().containsAll(collection); } intersection(other) { - if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + if (other == null) dart.nullFailed(I[151], 180, 41, "other"); return this.readClasses().intersection(other); } union(other) { T$0.SetOfString().as(other); - if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + if (other == null) dart.nullFailed(I[151], 183, 33, "other"); return this.readClasses().union(other); } difference(other) { - if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + if (other == null) dart.nullFailed(I[151], 185, 39, "other"); return this.readClasses().difference(other); } get first() { @@ -101612,58 +111007,58 @@ define([], (function load__dart_sdk() { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + if (growable == null) dart.nullFailed(I[151], 190, 29, "growable"); return this.readClasses()[$toList]({growable: growable}); } toSet() { return this.readClasses().toSet(); } take(n) { - if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + if (n == null) dart.nullFailed(I[151], 193, 29, "n"); return this.readClasses()[$take](n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + if (test == null) dart.nullFailed(I[151], 194, 35, "test"); return this.readClasses()[$takeWhile](test); } skip(n) { - if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + if (n == null) dart.nullFailed(I[151], 196, 29, "n"); return this.readClasses()[$skip](n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + if (test == null) dart.nullFailed(I[151], 197, 35, "test"); return this.readClasses()[$skipWhile](test); } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + if (test == null) dart.nullFailed(I[151], 199, 26, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$firstWhere](test, {orElse: orElse}); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + if (test == null) dart.nullFailed(I[151], 201, 25, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$lastWhere](test, {orElse: orElse}); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + if (test == null) dart.nullFailed(I[151], 203, 27, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$singleWhere](test, {orElse: orElse}); } elementAt(index) { - if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + if (index == null) dart.nullFailed(I[151], 205, 24, "index"); return this.readClasses()[$elementAt](index); } clear() { this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + if (s == null) dart.nullFailed(I[151], 209, 13, "s"); return s.clear(); }, T$0.SetOfStringTovoid())); } modify(f) { - if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + if (f == null) dart.nullFailed(I[151], 222, 10, "f"); let s = this.readClasses(); let ret = f(s); this.writeClasses(s); @@ -101704,7 +111099,8 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); + dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); + dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); dart.defineExtensionMethods(html_common.CssClassSetImpl, [ 'toString', 'forEach', @@ -101744,53 +111140,62 @@ define([], (function load__dart_sdk() { }, false); html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { static new(elements) { - if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + if (e == null) dart.nullFailed(I[149], 36777, 62, "e"); return e[S.$classes]; }, T$0.ElementToCssClassSet())))); } + static ['_#new#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); + return html$._MultiElementCssClassSet.new(elements); + } + static ['_#_#tearOff'](_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); + return new html$._MultiElementCssClassSet.__(_elementIterable, _sets); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36784, 36, "e"); return s.addAll(e.readClasses()); }, T$0.CssClassSetImplTovoid())); return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + if (s == null) dart.nullFailed(I[149], 36788, 33, "s"); let classes = s[$join](" "); for (let e of this[S$0._elementIterable]) { e.className = classes; } } modify(f) { - if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + if (f == null) dart.nullFailed(I[149], 36804, 10, "f"); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36805, 36, "e"); return e.modify(f); }, T$0.CssClassSetImplTovoid())); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + if (value == null) dart.nullFailed(I[149], 36815, 22, "value"); return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); - if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + if (changed == null) dart.nullFailed(I[149], 36817, 13, "changed"); + if (e == null) dart.nullFailed(I[149], 36817, 38, "e"); return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } remove(value) { return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); - if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + if (changed == null) dart.nullFailed(I[149], 36828, 20, "changed"); + if (e == null) dart.nullFailed(I[149], 36828, 45, "e"); return dart.test(e.remove(value)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } }; (html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { - if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); this[S$0._elementIterable] = _elementIterable; this[S$3._sets] = _sets; ; @@ -101802,16 +111207,21 @@ define([], (function load__dart_sdk() { readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); - dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); + dart.setStaticMethodSignature(html$._MultiElementCssClassSet, () => ['new']); + dart.setLibraryUri(html$._MultiElementCssClassSet, I[150]); dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) })); html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + return new html$._ElementCssClassSet.new(_element); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); - let classname = this[S$1._element$2].className; + let classname = this[S$1._element].className; for (let name of classname[$split](" ")) { let trimmed = name[$trim](); if (!trimmed[$isEmpty]) { @@ -101821,11 +111231,11 @@ define([], (function load__dart_sdk() { return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); - this[S$1._element$2].className = s[$join](" "); + if (s == null) dart.nullFailed(I[149], 36849, 33, "s"); + this[S$1._element].className = s[$join](" "); } get length() { - return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element])); } get isEmpty() { return this.length === 0; @@ -101834,81 +111244,81 @@ define([], (function load__dart_sdk() { return this.length !== 0; } clear() { - this[S$1._element$2].className = ""; + this[S$1._element].className = ""; } contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + return html$._ElementCssClassSet._contains(this[S$1._element], value); } add(value) { core.String.as(value); - if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); - return html$._ElementCssClassSet._add(this[S$1._element$2], value); + if (value == null) dart.nullFailed(I[149], 36865, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element], value); } remove(value) { - return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element], value)); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); - return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + if (value == null) dart.nullFailed(I[149], 36873, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element], value, shouldAdd); } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36877, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element], iterable); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); - html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36881, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element], iterable); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + if (iterable == null) dart.nullFailed(I[149], 36885, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], dart.bind(iterable[$toSet](), 'contains'), false); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + if (test == null) dart.nullFailed(I[149], 36889, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + if (test == null) dart.nullFailed(I[149], 36893, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, false); } static _contains(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 36897, 33, "_element"); return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); } static _add(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); - if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + if (_element == null) dart.nullFailed(I[149], 36902, 28, "_element"); + if (value == null) dart.nullFailed(I[149], 36902, 45, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); html$._ElementCssClassSet._classListAdd(list, value); return added; } static _remove(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36911, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36911, 48, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); html$._ElementCssClassSet._classListRemove(list, value); return removed; } static _toggle(_element, value, shouldAdd) { - if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36918, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36918, 48, "value"); return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); } static _toggleDefault(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); - if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + if (_element == null) dart.nullFailed(I[149], 36927, 38, "_element"); + if (value == null) dart.nullFailed(I[149], 36927, 55, "value"); let list = html$._ElementCssClassSet._classListOf(_element); return html$._ElementCssClassSet._classListToggle1(list, value); } static _toggleOnOff(_element, value, shouldAdd) { - let t241; - if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); - if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let t222; + if (_element == null) dart.nullFailed(I[149], 36932, 36, "_element"); + if (value == null) dart.nullFailed(I[149], 36932, 53, "value"); let list = html$._ElementCssClassSet._classListOf(_element); - if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + if (dart.test((t222 = shouldAdd, t222 == null ? false : t222))) { html$._ElementCssClassSet._classListAdd(list, value); return true; } else { @@ -101917,25 +111327,25 @@ define([], (function load__dart_sdk() { } } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36947, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36947, 58, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListAdd(list, value); } } static _removeAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36954, 34, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36954, 62, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); } } static _removeWhere(_element, test, doRemove) { - if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); - if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); - if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + if (_element == null) dart.nullFailed(I[149], 36962, 15, "_element"); + if (test == null) dart.nullFailed(I[149], 36962, 30, "test"); + if (doRemove == null) dart.nullFailed(I[149], 36962, 54, "doRemove"); let list = html$._ElementCssClassSet._classListOf(_element); let i = 0; while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { @@ -101948,47 +111358,47 @@ define([], (function load__dart_sdk() { } } static _classListOf(e) { - if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); return e.classList; } static _classListLength(list) { - if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); return list.length; } static _classListContains(list, value) { - if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); - if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + if (list == null) dart.nullFailed(I[149], 36987, 47, "list"); + if (value == null) dart.nullFailed(I[149], 36987, 60, "value"); return list.contains(value); } static _classListContainsBeforeAddOrRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); - if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + if (list == null) dart.nullFailed(I[149], 36991, 24, "list"); + if (value == null) dart.nullFailed(I[149], 36991, 37, "value"); return list.contains(value); } static _classListAdd(list, value) { - if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); - if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + if (list == null) dart.nullFailed(I[149], 37000, 42, "list"); + if (value == null) dart.nullFailed(I[149], 37000, 55, "value"); list.add(value); } static _classListRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); - if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + if (list == null) dart.nullFailed(I[149], 37005, 45, "list"); + if (value == null) dart.nullFailed(I[149], 37005, 58, "value"); list.remove(value); } static _classListToggle1(list, value) { - if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); - if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + if (list == null) dart.nullFailed(I[149], 37010, 46, "list"); + if (value == null) dart.nullFailed(I[149], 37010, 59, "value"); return list.toggle(value); } static _classListToggle2(list, value, shouldAdd) { - if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); - if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + if (list == null) dart.nullFailed(I[149], 37015, 20, "list"); + if (value == null) dart.nullFailed(I[149], 37015, 33, "value"); return list.toggle(value, shouldAdd); } }; (html$._ElementCssClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._ElementCssClassSet.prototype; dart.addTypeTests(html$._ElementCssClassSet); @@ -101998,14 +111408,55 @@ define([], (function load__dart_sdk() { readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); - dart.setLibraryUri(html$._ElementCssClassSet, I[148]); + dart.setStaticMethodSignature(html$._ElementCssClassSet, () => ['_contains', '_add', '_remove', '_toggle', '_toggleDefault', '_toggleOnOff', '_addAll', '_removeAll', '_removeWhere', '_classListOf', '_classListLength', '_classListContains', '_classListContainsBeforeAddOrRemove', '_classListAdd', '_classListRemove', '_classListToggle1', '_classListToggle2']); + dart.setLibraryUri(html$._ElementCssClassSet, I[150]); dart.setFieldSignature(html$._ElementCssClassSet, () => ({ __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); html$.Dimension = class Dimension extends core.Object { + static ['_#percent#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); + return new html$.Dimension.percent(_value); + } + static ['_#px#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); + return new html$.Dimension.px(_value); + } + static ['_#pc#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); + return new html$.Dimension.pc(_value); + } + static ['_#pt#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); + return new html$.Dimension.pt(_value); + } + static ['_#inch#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); + return new html$.Dimension.inch(_value); + } + static ['_#cm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); + return new html$.Dimension.cm(_value); + } + static ['_#mm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); + return new html$.Dimension.mm(_value); + } + static ['_#em#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); + return new html$.Dimension.em(_value); + } + static ['_#ex#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); + return new html$.Dimension.ex(_value); + } + static ['_#css#tearOff'](cssValue) { + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); + return new html$.Dimension.css(cssValue); + } toString() { return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); } @@ -102014,61 +111465,61 @@ define([], (function load__dart_sdk() { } }; (html$.Dimension.percent = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "%"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.px = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "px"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pc = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pc"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pt = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pt"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.inch = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "in"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.cm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "cm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.mm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "mm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.em = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "em"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.ex = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "ex"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.css = function(cssValue) { - if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); this[S$3._unit] = ""; this[S$1._value$7] = 0; if (cssValue === "") cssValue = "0px"; @@ -102089,7 +111540,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(html$.Dimension.__proto__), value: core.num })); - dart.setLibraryUri(html$.Dimension, I[148]); + dart.setLibraryUri(html$.Dimension, I[150]); dart.setFieldSignature(html$.Dimension, () => ({ __proto__: dart.getFields(html$.Dimension.__proto__), [S$1._value$7]: dart.fieldType(core.num), @@ -102098,41 +111549,45 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(html$.Dimension, ['toString']); const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); html$.EventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class EventStreamProvider extends core.Object { get [S$3._eventType$1]() { - return this[S$3._eventType$2]; + return this[S$3._eventType]; } set [S$3._eventType$1](value) { super[S$3._eventType$1] = value; } + static ['_#new#tearOff'](T, _eventType) { + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + return new (html$.EventStreamProvider$(T)).new(_eventType); + } forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37141, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); } forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + if (e == null) dart.nullFailed(I[149], 37166, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37166, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + if (e == null) dart.nullFailed(I[149], 37185, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37186, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } getEventType(target) { - if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + if (target == null) dart.nullFailed(I[149], 37197, 35, "target"); return this[S$3._eventType$1]; } } (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); - this[S$3._eventType$2] = _eventType; + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + this[S$3._eventType] = _eventType; ; }).prototype = EventStreamProvider.prototype; dart.addTypeTests(EventStreamProvider); @@ -102145,7 +111600,7 @@ define([], (function load__dart_sdk() { [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), getEventType: dart.fnType(core.String, [html$.EventTarget]) })); - dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setLibraryUri(EventStreamProvider, I[150]); dart.setFieldSignature(EventStreamProvider, () => ({ __proto__: dart.getFields(EventStreamProvider.__proto__), [S$3._eventType$1]: dart.finalFieldType(core.String) @@ -102165,15 +111620,20 @@ define([], (function load__dart_sdk() { ElementStream.prototype[_is_ElementStream_default] = true; dart.addTypeCaches(ElementStream); ElementStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(ElementStream, I[148]); + dart.setLibraryUri(ElementStream, I[150]); return ElementStream; }); html$.ElementStream = html$.ElementStream$(); dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); const _is__EventStream_default = Symbol('_is__EventStream_default'); html$._EventStream$ = dart.generic(T => { - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _EventStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); + return new (html$._EventStream$(T)).new(_target, _eventType, _useCapture); + } asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; @@ -102186,12 +111646,12 @@ define([], (function load__dart_sdk() { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); } } (_EventStream.new = function(_target, _eventType, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102205,7 +111665,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_EventStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EventStream, I[148]); + dart.setLibraryUri(_EventStream, I[150]); dart.setFieldSignature(_EventStream, () => ({ __proto__: dart.getFields(_EventStream.__proto__), [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), @@ -102218,24 +111678,27 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._EventStream, _is__EventStream_default); const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); html$._ElementEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _ElementEventStreamImpl extends html$._EventStream$(T) { + static ['_#new#tearOff'](T, target, eventType, useCapture) { + return new (html$._ElementEventStreamImpl$(T)).new(target, eventType, useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37270, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + if (onData == null) dart.nullFailed(I[149], 37276, 38, "onData"); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); } } (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { @@ -102251,44 +111714,50 @@ define([], (function load__dart_sdk() { matches: dart.fnType(async.Stream$(T), [core.String]), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementEventStreamImpl, I[150]); return _ElementEventStreamImpl; }); html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); html$._ElementListEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_StreamPoolOfT = () => (__t$_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); class _ElementListEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, _targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); + return new (html$._ElementListEventStreamImpl$(T)).new(_targetList, _eventType, _useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37294, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let pool = new (_StreamPoolOfT()).broadcast(); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); } return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); - let pool = new (_StreamPoolOfT()).broadcast(); + if (onData == null) dart.nullFailed(I[149], 37311, 38, "onData"); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); } return pool.stream.listen(onData); } @@ -102302,9 +111771,9 @@ define([], (function load__dart_sdk() { } } (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { - if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); - if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); this[S$3._targetList] = _targetList; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102321,7 +111790,7 @@ define([], (function load__dart_sdk() { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementListEventStreamImpl, I[150]); dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), @@ -102335,6 +111804,11 @@ define([], (function load__dart_sdk() { const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); html$._EventStreamSubscription$ = dart.generic(T => { class _EventStreamSubscription extends async.StreamSubscription$(T) { + static ['_#new#tearOff'](T, _target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); + return new (html$._EventStreamSubscription$(T)).new(_target, _eventType, onData, _useCapture); + } cancel() { if (dart.test(this[S$3._canceled])) return _internal.nullFuture; this[S$3._unlisten](); @@ -102351,7 +111825,7 @@ define([], (function load__dart_sdk() { } this[S$3._unlisten](); this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + if (e == null) dart.nullFailed(I[149], 37367, 29, "e"); return dart.dcall(handleData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102392,14 +111866,14 @@ define([], (function load__dart_sdk() { } } (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); this[S$3._pauseCount$1] = 0; this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + if (e == null) dart.nullFailed(I[149], 37340, 33, "e"); return dart.dcall(onData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102424,7 +111898,7 @@ define([], (function load__dart_sdk() { [S$3._canceled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setLibraryUri(_EventStreamSubscription, I[150]); dart.setFieldSignature(_EventStreamSubscription, () => ({ __proto__: dart.getFields(_EventStreamSubscription.__proto__), [S$3._pauseCount$1]: dart.fieldType(core.int), @@ -102448,15 +111922,19 @@ define([], (function load__dart_sdk() { CustomStream.prototype[_is_CustomStream_default] = true; dart.addTypeCaches(CustomStream); CustomStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(CustomStream, I[148]); + dart.setLibraryUri(CustomStream, I[150]); return CustomStream; }); html$.CustomStream = html$.CustomStream$(); dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); html$._CustomEventStreamImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _CustomEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, type) { + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); + return new (html$._CustomEventStreamImpl$(T)).new(type); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -102473,14 +111951,14 @@ define([], (function load__dart_sdk() { } add(event) { T.as(event); - if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event == null) dart.nullFailed(I[149], 37450, 14, "event"); if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); } } (_CustomEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); this[S$3._type$5] = type; - this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); _CustomEventStreamImpl.__proto__.new.call(this); ; }).prototype = _CustomEventStreamImpl.prototype; @@ -102493,7 +111971,7 @@ define([], (function load__dart_sdk() { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setLibraryUri(_CustomEventStreamImpl, I[150]); dart.setFieldSignature(_CustomEventStreamImpl, () => ({ __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), [S$3._streamController]: dart.fieldType(async.StreamController$(T)), @@ -102503,6 +111981,156 @@ define([], (function load__dart_sdk() { }); html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); + html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + static ['_#new#tearOff'](wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + return new html$._WrappedEvent.new(wrapped); + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[149], 40783, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } + }; + (html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; + }).prototype = html$._WrappedEvent.prototype; + dart.addTypeTests(html$._WrappedEvent); + dart.addTypeCaches(html$._WrappedEvent); + html$._WrappedEvent[dart.implements] = () => [html$.Event]; + dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) + })); + dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic + })); + dart.setLibraryUri(html$._WrappedEvent, I[150]); + dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); + dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' + ]); html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { get keyCode() { return this[S$3._shadowKeyCode]; @@ -102532,33 +112160,61 @@ define([], (function load__dart_sdk() { let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); return _js_helper.makeLeafDispatchRecord(interceptor); } + static ['_#wrap#tearOff'](parent) { + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); + return new html$.KeyEvent.wrap(parent); + } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + return html$.KeyEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, keyCode: keyCode, charCode: charCode, location: location, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, currentTarget: currentTarget}); + } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; - if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); let charCode = opts && 'charCode' in opts ? opts.charCode : 0; - if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); let location = opts && 'location' in opts ? opts.location : 1; - if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; if (view == null) { view = html$.window; } let eventObj = null; - eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); Object.defineProperty(eventObj, 'keyCode', { get: function() { return this.keyCodeVal; @@ -102575,11 +112231,11 @@ define([], (function load__dart_sdk() { } }); let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj[S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); eventObj.keyCodeVal = keyCode; eventObj.charCodeVal = charCode; _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); - let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + let keyEvent = new html$.KeyEvent.wrap(eventObj); if (keyEvent[S$3._currentTarget] == null) { keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; } @@ -102592,8 +112248,8 @@ define([], (function load__dart_sdk() { return this[S$3._currentTarget]; } static _convertToHexString(charCode, keyCode) { - if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); - if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode == null) dart.nullFailed(I[149], 40652, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[149], 40652, 55, "keyCode"); if (charCode !== -1) { let hex = charCode[$toRadixString](16); let sb = new core.StringBuffer.new("U+"); @@ -102633,10 +112289,10 @@ define([], (function load__dart_sdk() { return this[S$3._parent$2][S$.$view]; } [S$._initUIEvent](type, canBubble, cancelable, view, detail) { - if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); - if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + if (type == null) dart.nullFailed(I[149], 40694, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40694, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40694, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[149], 40694, 71, "detail"); dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); } get [S$3._shadowKeyIdentifier]() { @@ -102655,18 +112311,18 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 40709, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40710, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40711, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 40713, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 40715, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 40716, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40717, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 40718, 12, "metaKey"); dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); } getModifierState(keyArgument) { - if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + if (keyArgument == null) dart.nullFailed(I[149], 40723, 32, "keyArgument"); return dart.throw(new core.UnimplementedError.new()); } get repeat() { @@ -102680,7 +112336,7 @@ define([], (function load__dart_sdk() { } }; (html$.KeyEvent.wrap = function(parent) { - if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); this[S$3._currentTarget] = null; this[S$3._parent$2] = parent; this[S$3._shadowAltKey] = false; @@ -102703,6 +112359,7 @@ define([], (function load__dart_sdk() { getModifierState: dart.fnType(core.bool, [core.String]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); + dart.setStaticMethodSignature(html$.KeyEvent, () => ['_makeRecord', 'new', '_convertToHexString']); dart.setGetterSignature(html$.KeyEvent, () => ({ __proto__: dart.getGetters(html$.KeyEvent.__proto__), keyCode: core.int, @@ -102746,7 +112403,8 @@ define([], (function load__dart_sdk() { isComposed: core.bool, [S$._get_view]: dart.dynamic })); - dart.setLibraryUri(html$.KeyEvent, I[148]); + dart.setStaticGetterSignature(html$.KeyEvent, () => ['canUseDispatchEvent']); + dart.setLibraryUri(html$.KeyEvent, I[150]); dart.setFieldSignature(html$.KeyEvent, () => ({ __proto__: dart.getFields(html$.KeyEvent.__proto__), [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), @@ -102755,6 +112413,7 @@ define([], (function load__dart_sdk() { [S$3._shadowKeyCode]: dart.fieldType(core.int), [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) })); + dart.setStaticFieldSignature(html$.KeyEvent, () => ['_keyboardEventDispatchRecord', 'keyDownEvent', 'keyUpEvent', 'keyPressEvent']); dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); dart.defineExtensionAccessors(html$.KeyEvent, [ 'keyCode', @@ -102781,20 +112440,30 @@ define([], (function load__dart_sdk() { /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { return new html$._KeyboardEventHandler.new("keydown"); }, - set keyDownEvent(_) {}, + set keyDownEvent(value) { + if (value == null) dart.nullFailed(I[149], 40667, 40, "keyDownEvent"); + }, /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { return new html$._KeyboardEventHandler.new("keyup"); }, - set keyUpEvent(_) {}, + set keyUpEvent(value) { + if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); + }, /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { return new html$._KeyboardEventHandler.new("keypress"); }, - set keyPressEvent(_) {} + set keyPressEvent(value) { + if (value == null) dart.nullFailed(I[149], 40673, 40, "keyPressEvent"); + } }, false); html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); + return new html$._CustomKeyEventStreamImpl.new(type); + } add(event) { html$.KeyEvent.as(event); - if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event == null) dart.nullFailed(I[149], 37459, 21, "event"); if (event.type == this[S$3._type$5]) { dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); this[S$3._streamController].add(event); @@ -102802,33 +112471,37 @@ define([], (function load__dart_sdk() { } }; (html$._CustomKeyEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); ; }).prototype = html$._CustomKeyEventStreamImpl.prototype; dart.addTypeTests(html$._CustomKeyEventStreamImpl); dart.addTypeCaches(html$._CustomKeyEventStreamImpl); html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; - dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); + dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[150]); const _is__StreamPool_default = Symbol('_is__StreamPool_default'); html$._StreamPool$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(__t$StreamOfT(), __t$StreamSubscriptionOfT())))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _StreamPool extends core.Object { + static ['_#broadcast#tearOff'](T) { + return new (html$._StreamPool$(T)).broadcast(); + } get stream() { return dart.nullCheck(this[S$3._controller$2]).stream; } add(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37502, 22, "stream"); if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; - this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + this[S$3._subscriptions][$_set](stream, stream.listen(__t$TTovoid().as(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add')), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); } remove(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37509, 25, "stream"); let subscription = this[S$3._subscriptions][$remove](stream); if (subscription != null) subscription.cancel(); } @@ -102842,8 +112515,8 @@ define([], (function load__dart_sdk() { } (_StreamPool.broadcast = function() { this[S$3._controller$2] = null; - this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); - this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + this[S$3._subscriptions] = new (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = __t$StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); }).prototype = _StreamPool.prototype; dart.addTypeTests(_StreamPool); _StreamPool.prototype[_is__StreamPool_default] = true; @@ -102858,7 +112531,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_StreamPool.__proto__), stream: async.Stream$(T) })); - dart.setLibraryUri(_StreamPool, I[148]); + dart.setLibraryUri(_StreamPool, I[150]); dart.setFieldSignature(_StreamPool, () => ({ __proto__: dart.getFields(_StreamPool.__proto__), [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -102870,9 +112543,9 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); html$._CustomEventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class _CustomEventStreamProvider extends core.Object { get [S$3._eventTypeGetter$1]() { return this[S$3._eventTypeGetter]; @@ -102880,30 +112553,33 @@ define([], (function load__dart_sdk() { set [S$3._eventTypeGetter$1](value) { super[S$3._eventTypeGetter$1] = value; } + static ['_#new#tearOff'](T, _eventTypeGetter) { + return new (html$._CustomEventStreamProvider$(T)).new(_eventTypeGetter); + } forTarget(e, opts) { - let t241; + let t222; let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37533, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } forElement(e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37537, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37537, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, (t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222])), useCapture); } [S$1._forElementList](e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37541, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37542, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } getEventType(target) { - let t241; - if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); - return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + let t222; + if (target == null) dart.nullFailed(I[149], 37547, 35, "target"); + return core.String.as((t222 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))); } get [S$3._eventType$1]() { return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); @@ -102928,7 +112604,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), [S$3._eventType$1]: core.String })); - dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setLibraryUri(_CustomEventStreamProvider, I[150]); dart.setFieldSignature(_CustomEventStreamProvider, () => ({ __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) @@ -102938,14 +112614,18 @@ define([], (function load__dart_sdk() { html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + if (element == null) dart.nullFailed(I[149], 37975, 30, "element"); return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + if (element == null) dart.nullFailed(I[149], 37979, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37979, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37979, 70, "value"); let tagName = html$.Element._safeTagName(element); let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); if (validator == null) { @@ -102957,30 +112637,30 @@ define([], (function load__dart_sdk() { return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); } static _standardAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37991, 51, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37991, 67, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37992, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37992, 41, "context"); return true; } static _uriAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37996, 46, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37996, 62, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37997, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37997, 41, "context"); return context.uriPolicy.allowsUri(value); } }; (html$._Html5NodeValidator.new = function(opts) { - let t241; + let t222; let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + this.uriPolicy = (t222 = uriPolicy, t222 == null ? html$.UriPolicy.new() : t222); if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { for (let attr of html$._Html5NodeValidator._standardAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[410] || CT.C410); } for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); } } }).prototype = html$._Html5NodeValidator.prototype; @@ -102992,20 +112672,22 @@ define([], (function load__dart_sdk() { allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); - dart.setLibraryUri(html$._Html5NodeValidator, I[148]); + dart.setStaticMethodSignature(html$._Html5NodeValidator, () => ['_standardAttributeValidator', '_uriAttributeValidator']); + dart.setLibraryUri(html$._Html5NodeValidator, I[150]); dart.setFieldSignature(html$._Html5NodeValidator, () => ({ __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), uriPolicy: dart.finalFieldType(html$.UriPolicy) })); + dart.setStaticFieldSignature(html$._Html5NodeValidator, () => ['_allowedElements', '_standardAttributes', '_uriAttributes', '_attributeValidators']); dart.defineLazy(html$._Html5NodeValidator, { /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); }, /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { - return C[401] || CT.C401; + return C[412] || CT.C412; }, /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[402] || CT.C402; + return C[413] || CT.C413; }, /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { return new (T$0.IdentityMapOfString$Function()).new(); @@ -103013,7 +112695,7 @@ define([], (function load__dart_sdk() { }, false); html$.KeyCode = class KeyCode extends core.Object { static isCharacterKey(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38283, 34, "keyCode"); if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { return true; } @@ -103023,163 +112705,163 @@ define([], (function load__dart_sdk() { return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; } static _convertKeyCodeToKeyName(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38323, 46, "keyCode"); switch (keyCode) { case 18: - { - return "Alt"; - } + { + return "Alt"; + } case 8: - { - return "Backspace"; - } + { + return "Backspace"; + } case 20: - { - return "CapsLock"; - } + { + return "CapsLock"; + } case 17: - { - return "Control"; - } + { + return "Control"; + } case 46: - { - return "Del"; - } + { + return "Del"; + } case 40: - { - return "Down"; - } + { + return "Down"; + } case 35: - { - return "End"; - } + { + return "End"; + } case 13: - { - return "Enter"; - } + { + return "Enter"; + } case 27: - { - return "Esc"; - } + { + return "Esc"; + } case 112: - { - return "F1"; - } + { + return "F1"; + } case 113: - { - return "F2"; - } + { + return "F2"; + } case 114: - { - return "F3"; - } + { + return "F3"; + } case 115: - { - return "F4"; - } + { + return "F4"; + } case 116: - { - return "F5"; - } + { + return "F5"; + } case 117: - { - return "F6"; - } + { + return "F6"; + } case 118: - { - return "F7"; - } + { + return "F7"; + } case 119: - { - return "F8"; - } + { + return "F8"; + } case 120: - { - return "F9"; - } + { + return "F9"; + } case 121: - { - return "F10"; - } + { + return "F10"; + } case 122: - { - return "F11"; - } + { + return "F11"; + } case 123: - { - return "F12"; - } + { + return "F12"; + } case 36: - { - return "Home"; - } + { + return "Home"; + } case 45: - { - return "Insert"; - } + { + return "Insert"; + } case 37: - { - return "Left"; - } + { + return "Left"; + } case 91: - { - return "Meta"; - } + { + return "Meta"; + } case 144: - { - return "NumLock"; - } + { + return "NumLock"; + } case 34: - { - return "PageDown"; - } + { + return "PageDown"; + } case 33: - { - return "PageUp"; - } + { + return "PageUp"; + } case 19: - { - return "Pause"; - } + { + return "Pause"; + } case 44: - { - return "PrintScreen"; - } + { + return "PrintScreen"; + } case 39: - { - return "Right"; - } + { + return "Right"; + } case 145: - { - return "Scroll"; - } + { + return "Scroll"; + } case 16: - { - return "Shift"; - } + { + return "Shift"; + } case 32: - { - return "Spacebar"; - } + { + return "Spacebar"; + } case 9: - { - return "Tab"; - } + { + return "Tab"; + } case 38: - { - return "Up"; - } + { + return "Up"; + } case 229: case 224: case 91: case 92: - { - return "Win"; - } + { + return "Win"; + } default: - { - return "Unidentified"; - } + { + return "Unidentified"; + } } return "Unidentified"; } @@ -103189,7 +112871,9 @@ define([], (function load__dart_sdk() { }).prototype = html$.KeyCode.prototype; dart.addTypeTests(html$.KeyCode); dart.addTypeCaches(html$.KeyCode); - dart.setLibraryUri(html$.KeyCode, I[148]); + dart.setStaticMethodSignature(html$.KeyCode, () => ['isCharacterKey', '_convertKeyCodeToKeyName']); + dart.setLibraryUri(html$.KeyCode, I[150]); + dart.setStaticFieldSignature(html$.KeyCode, () => ['WIN_KEY_FF_LINUX', 'MAC_ENTER', 'BACKSPACE', 'TAB', 'NUM_CENTER', 'ENTER', 'SHIFT', 'CTRL', 'ALT', 'PAUSE', 'CAPS_LOCK', 'ESC', 'SPACE', 'PAGE_UP', 'PAGE_DOWN', 'END', 'HOME', 'LEFT', 'UP', 'RIGHT', 'DOWN', 'NUM_NORTH_EAST', 'NUM_SOUTH_EAST', 'NUM_SOUTH_WEST', 'NUM_NORTH_WEST', 'NUM_WEST', 'NUM_NORTH', 'NUM_EAST', 'NUM_SOUTH', 'PRINT_SCREEN', 'INSERT', 'NUM_INSERT', 'DELETE', 'NUM_DELETE', 'ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE', 'FF_SEMICOLON', 'FF_EQUALS', 'QUESTION_MARK', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'META', 'WIN_KEY_LEFT', 'WIN_KEY_RIGHT', 'CONTEXT_MENU', 'NUM_ZERO', 'NUM_ONE', 'NUM_TWO', 'NUM_THREE', 'NUM_FOUR', 'NUM_FIVE', 'NUM_SIX', 'NUM_SEVEN', 'NUM_EIGHT', 'NUM_NINE', 'NUM_MULTIPLY', 'NUM_PLUS', 'NUM_MINUS', 'NUM_PERIOD', 'NUM_DIVISION', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'NUMLOCK', 'SCROLL_LOCK', 'FIRST_MEDIA_KEY', 'LAST_MEDIA_KEY', 'SEMICOLON', 'DASH', 'EQUALS', 'COMMA', 'PERIOD', 'SLASH', 'APOSTROPHE', 'TILDE', 'SINGLE_QUOTE', 'OPEN_SQUARE_BRACKET', 'BACKSLASH', 'CLOSE_SQUARE_BRACKET', 'WIN_KEY', 'MAC_FF_META', 'WIN_IME', 'UNKNOWN']); dart.defineLazy(html$.KeyCode, { /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { return 0; @@ -103570,7 +113254,8 @@ define([], (function load__dart_sdk() { }).prototype = html$.KeyLocation.prototype; dart.addTypeTests(html$.KeyLocation); dart.addTypeCaches(html$.KeyLocation); - dart.setLibraryUri(html$.KeyLocation, I[148]); + dart.setLibraryUri(html$.KeyLocation, I[150]); + dart.setStaticFieldSignature(html$.KeyLocation, () => ['STANDARD', 'LEFT', 'RIGHT', 'NUMPAD', 'MOBILE', 'JOYSTICK']); dart.defineLazy(html$.KeyLocation, { /*html$.KeyLocation.STANDARD*/get STANDARD() { return 0; @@ -103597,7 +113282,8 @@ define([], (function load__dart_sdk() { }).prototype = html$._KeyName.prototype; dart.addTypeTests(html$._KeyName); dart.addTypeCaches(html$._KeyName); - dart.setLibraryUri(html$._KeyName, I[148]); + dart.setLibraryUri(html$._KeyName, I[150]); + dart.setStaticFieldSignature(html$._KeyName, () => ['ACCEPT', 'ADD', 'AGAIN', 'ALL_CANDIDATES', 'ALPHANUMERIC', 'ALT', 'ALT_GRAPH', 'APPS', 'ATTN', 'BROWSER_BACK', 'BROWSER_FAVORTIES', 'BROWSER_FORWARD', 'BROWSER_NAME', 'BROWSER_REFRESH', 'BROWSER_SEARCH', 'BROWSER_STOP', 'CAMERA', 'CAPS_LOCK', 'CLEAR', 'CODE_INPUT', 'COMPOSE', 'CONTROL', 'CRSEL', 'CONVERT', 'COPY', 'CUT', 'DECIMAL', 'DIVIDE', 'DOWN', 'DOWN_LEFT', 'DOWN_RIGHT', 'EJECT', 'END', 'ENTER', 'ERASE_EOF', 'EXECUTE', 'EXSEL', 'FN', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'F20', 'F21', 'F22', 'F23', 'F24', 'FINAL_MODE', 'FIND', 'FULL_WIDTH', 'HALF_WIDTH', 'HANGUL_MODE', 'HANJA_MODE', 'HELP', 'HIRAGANA', 'HOME', 'INSERT', 'JAPANESE_HIRAGANA', 'JAPANESE_KATAKANA', 'JAPANESE_ROMAJI', 'JUNJA_MODE', 'KANA_MODE', 'KANJI_MODE', 'KATAKANA', 'LAUNCH_APPLICATION_1', 'LAUNCH_APPLICATION_2', 'LAUNCH_MAIL', 'LEFT', 'MENU', 'META', 'MEDIA_NEXT_TRACK', 'MEDIA_PAUSE_PLAY', 'MEDIA_PREVIOUS_TRACK', 'MEDIA_STOP', 'MODE_CHANGE', 'NEXT_CANDIDATE', 'NON_CONVERT', 'NUM_LOCK', 'PAGE_DOWN', 'PAGE_UP', 'PASTE', 'PAUSE', 'PLAY', 'POWER', 'PREVIOUS_CANDIDATE', 'PRINT_SCREEN', 'PROCESS', 'PROPS', 'RIGHT', 'ROMAN_CHARACTERS', 'SCROLL', 'SELECT', 'SELECT_MEDIA', 'SEPARATOR', 'SHIFT', 'SOFT_1', 'SOFT_2', 'SOFT_3', 'SOFT_4', 'STOP', 'SUBTRACT', 'SYMBOL_LOCK', 'UP', 'UP_LEFT', 'UP_RIGHT', 'UNDO', 'VOLUME_DOWN', 'VOLUMN_MUTE', 'VOLUMN_UP', 'WIN', 'ZOOM', 'BACKSPACE', 'TAB', 'CANCEL', 'ESC', 'SPACEBAR', 'DEL', 'DEAD_GRAVE', 'DEAD_EACUTE', 'DEAD_CIRCUMFLEX', 'DEAD_TILDE', 'DEAD_MACRON', 'DEAD_BREVE', 'DEAD_ABOVE_DOT', 'DEAD_UMLAUT', 'DEAD_ABOVE_RING', 'DEAD_DOUBLEACUTE', 'DEAD_CARON', 'DEAD_CEDILLA', 'DEAD_OGONEK', 'DEAD_IOTA', 'DEAD_VOICED_SOUND', 'DEC_SEMIVOICED_SOUND', 'UNIDENTIFIED']); dart.defineLazy(html$._KeyName, { /*html$._KeyName.ACCEPT*/get ACCEPT() { return "Accept"; @@ -104050,18 +113736,26 @@ define([], (function load__dart_sdk() { html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + if (useCapture == null) dart.nullFailed(I[149], 39009, 58, "useCapture"); let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); return handler[S$3._stream$3]; } + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); + return new html$._KeyboardEventHandler.new(_type); + } + static ['_#initializeAllEventListeners#tearOff'](_type, _target) { + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); + return new html$._KeyboardEventHandler.initializeAllEventListeners(_type, _target); + } get [S$3._capsLockOn]() { return this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + if (element == null) dart.nullFailed(I[149], 39044, 29, "element"); return element.keyCode === 20; }, T$0.KeyEventTobool())); } [S$3._determineKeyCodeForKeypress](event) { - if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + if (event == null) dart.nullFailed(I[149], 39053, 50, "event"); for (let prevEvent of this[S$3._keyDownList]) { if (prevEvent[S$3._shadowCharCode] == event.charCode) { return prevEvent.keyCode; @@ -104073,123 +113767,123 @@ define([], (function load__dart_sdk() { return -1; } [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); if (event.location === 3) { switch (event.keyCode) { case 96: - { - return 48; - } + { + return 48; + } case 97: - { - return 49; - } + { + return 49; + } case 98: - { - return 50; - } + { + return 50; + } case 99: - { - return 51; - } + { + return 51; + } case 100: - { - return 52; - } + { + return 52; + } case 101: - { - return 53; - } + { + return 53; + } case 102: - { - return 54; - } + { + return 54; + } case 103: - { - return 55; - } + { + return 55; + } case 104: - { - return 56; - } + { + return 56; + } case 105: - { - return 57; - } + { + return 57; + } case 106: - { - return 42; - } + { + return 42; + } case 107: - { - return 43; - } + { + return 43; + } case 109: - { - return 45; - } + { + return 45; + } case 110: - { - return 46; - } + { + return 46; + } case 111: - { - return 47; - } + { + return 47; + } } } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); } switch (event.keyCode) { case 186: - { - return 59; - } + { + return 59; + } case 187: - { - return 61; - } + { + return 61; + } case 188: - { - return 44; - } + { + return 44; + } case 189: - { - return 45; - } + { + return 45; + } case 190: - { - return 46; - } + { + return 46; + } case 191: - { - return 47; - } + { + return 47; + } case 192: - { - return 96; - } + { + return 96; + } case 219: - { - return 91; - } + { + return 91; + } case 220: - { - return 92; - } + { + return 92; + } case 221: - { - return 93; - } + { + return 93; + } case 222: - { - return 39; - } + { + return 39; + } } return event.keyCode; } [S$3._firesKeyPressEvent](event) { - if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (event == null) dart.nullFailed(I[149], 39151, 37, "event"); if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { return true; } @@ -104207,42 +113901,42 @@ define([], (function load__dart_sdk() { } switch (event.keyCode) { case 13: - { - return !dart.test(html_common.Device.isIE); - } + { + return !dart.test(html_common.Device.isIE); + } case 27: - { - return !dart.test(html_common.Device.isWebKit); - } + { + return !dart.test(html_common.Device.isWebKit); + } } return html$.KeyCode.isCharacterKey(event.keyCode); } [S$3._normalizeKeyCodes](event) { - if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (event == null) dart.nullFailed(I[149], 39208, 40, "event"); if (dart.test(html_common.Device.isFirefox)) { switch (event.keyCode) { case 61: - { - return 187; - } + { + return 187; + } case 59: - { - return 186; - } + { + return 186; + } case 224: - { - return 91; - } + { + return 91; + } case 0: - { - return 224; - } + { + return 224; + } } } return event.keyCode; } processKeyDown(e) { - if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (e == null) dart.nullFailed(I[149], 39226, 37, "e"); if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { this[S$3._keyDownList][$clear](); } @@ -104256,7 +113950,7 @@ define([], (function load__dart_sdk() { this[S$3._stream$3].add(event); } processKeyPress(event) { - if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + if (event == null) dart.nullFailed(I[149], 39258, 38, "event"); let e = new html$.KeyEvent.wrap(event); if (dart.test(html_common.Device.isIE)) { if (e.keyCode === 13 || e.keyCode === 27) { @@ -104272,13 +113966,13 @@ define([], (function load__dart_sdk() { e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); } e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + if (element == null) dart.nullFailed(I[149], 39283, 45, "element"); return element.altKey; }, T$0.KeyEventTobool())); this[S$3._stream$3].add(e); } processKeyUp(event) { - if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + if (event == null) dart.nullFailed(I[149], 39288, 35, "event"); let e = new html$.KeyEvent.wrap(event); let toRemove = null; for (let key of this[S$3._keyDownList]) { @@ -104288,7 +113982,7 @@ define([], (function load__dart_sdk() { } if (toRemove != null) { this[S$3._keyDownList][$removeWhere](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + if (element == null) dart.nullFailed(I[149], 39297, 33, "element"); return dart.equals(element, toRemove); }, T$0.KeyEventTobool())); } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { @@ -104298,7 +113992,7 @@ define([], (function load__dart_sdk() { } }; (html$._KeyboardEventHandler.new = function(_type) { - if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); @@ -104307,7 +114001,7 @@ define([], (function load__dart_sdk() { ; }).prototype = html$._KeyboardEventHandler.prototype; (html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._target$2] = _target; @@ -104334,7 +114028,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), [S$3._capsLockOn]: core.bool })); - dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); + dart.setLibraryUri(html$._KeyboardEventHandler, I[150]); dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), @@ -104342,6 +114036,7 @@ define([], (function load__dart_sdk() { [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) })); + dart.setStaticFieldSignature(html$._KeyboardEventHandler, () => ['_ROMAN_ALPHABET_OFFSET', '_EVENT_TYPE', '_keyIdentifier']); dart.defineLazy(html$._KeyboardEventHandler, { /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); @@ -104350,30 +114045,40 @@ define([], (function load__dart_sdk() { return "KeyEvent"; }, /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[403] || CT.C403; + return C[414] || CT.C414; } }, false); html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { static onKeyPress(target) { - if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + if (target == null) dart.nullFailed(I[149], 39325, 56, "target"); return new html$._KeyboardEventHandler.new("keypress").forTarget(target); } static onKeyUp(target) { - if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + if (target == null) dart.nullFailed(I[149], 39329, 53, "target"); return new html$._KeyboardEventHandler.new("keyup").forTarget(target); } static onKeyDown(target) { - if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + if (target == null) dart.nullFailed(I[149], 39333, 55, "target"); return new html$._KeyboardEventHandler.new("keydown").forTarget(target); } + static ['_#new#tearOff']() { + return new html$.KeyboardEventStream.new(); + } }; (html$.KeyboardEventStream.new = function() { ; }).prototype = html$.KeyboardEventStream.prototype; dart.addTypeTests(html$.KeyboardEventStream); dart.addTypeCaches(html$.KeyboardEventStream); - dart.setLibraryUri(html$.KeyboardEventStream, I[148]); + dart.setStaticMethodSignature(html$.KeyboardEventStream, () => ['onKeyPress', 'onKeyUp', 'onKeyDown']); + dart.setLibraryUri(html$.KeyboardEventStream, I[150]); html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + static ['_#new#tearOff']() { + return new html$.NodeValidatorBuilder.new(); + } + static ['_#common#tearOff']() { + return new html$.NodeValidatorBuilder.common(); + } allowNavigation(uriPolicy = null) { if (uriPolicy == null) { uriPolicy = html$.UriPolicy.new(); @@ -104406,18 +114111,18 @@ define([], (function load__dart_sdk() { this.add(new html$._SvgNodeValidator.new()); } allowCustomElement(tagName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39484, 34, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39490, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39492, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104426,20 +114131,20 @@ define([], (function load__dart_sdk() { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); } allowTagExtension(tagName, baseName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); - if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39509, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[149], 39509, 49, "baseName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let baseNameUpper = baseName[$toUpperCase](); let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39516, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39518, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104448,7 +114153,7 @@ define([], (function load__dart_sdk() { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); } allowElement(tagName, opts) { - if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 39527, 28, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; @@ -104458,22 +114163,22 @@ define([], (function load__dart_sdk() { this.add(new html$._TemplatingNodeValidator.new()); } add(validator) { - if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + if (validator == null) dart.nullFailed(I[149], 39554, 26, "validator"); this[S$3._validators][$add](validator); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39558, 30, "element"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + if (v == null) dart.nullFailed(I[149], 39559, 29, "v"); return v.allowsElement(element); }, T$0.NodeValidatorTobool())); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39562, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39562, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39562, 70, "value"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + if (v == null) dart.nullFailed(I[149], 39564, 15, "v"); return v.allowsAttribute(element, attributeName, value); }, T$0.NodeValidatorTobool())); } @@ -104505,31 +114210,48 @@ define([], (function load__dart_sdk() { allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); - dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); + dart.setLibraryUri(html$.NodeValidatorBuilder, I[150]); dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) })); html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { static allowNavigation(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[416] || CT.C416, allowedAttributes: C[417] || CT.C417, allowedUriAttributes: C[418] || CT.C418}); + } + static ['_#allowNavigation#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return html$._SimpleNodeValidator.allowNavigation(uriPolicy); } static allowImages(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[419] || CT.C419, allowedAttributes: C[420] || CT.C420, allowedUriAttributes: C[421] || CT.C421}); + } + static ['_#allowImages#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return html$._SimpleNodeValidator.allowImages(uriPolicy); } static allowTextElements() { - return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[422] || CT.C422}); + } + static ['_#allowTextElements#tearOff']() { + return html$._SimpleNodeValidator.allowTextElements(); + } + static ['_#new#tearOff'](uriPolicy, opts) { + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39662, 30, "element"); return this.allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39666, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39666, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39666, 70, "value"); let tagName = html$.Element._safeTagName(element); if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { return dart.nullCheck(this.uriPolicy).allowsUri(value); @@ -104548,7 +114270,7 @@ define([], (function load__dart_sdk() { } }; (html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - let t241, t241$, t241$0; + let t222, t222$, t222$0; let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; @@ -104556,15 +114278,15 @@ define([], (function load__dart_sdk() { this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); this.uriPolicy = uriPolicy; - this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); - allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); - allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + this.allowedElements.addAll((t222 = allowedElements, t222 == null ? C[415] || CT.C415 : t222)); + allowedAttributes = (t222$ = allowedAttributes, t222$ == null ? C[415] || CT.C415 : t222$); + allowedUriAttributes = (t222$0 = allowedUriAttributes, t222$0 == null ? C[415] || CT.C415 : t222$0); let legalAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39654, 17, "x"); return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); }, T$.StringTobool())); let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39656, 17, "x"); return html$._Html5NodeValidator._uriAttributes[$contains](x); }, T$.StringTobool())); this.allowedAttributes.addAll(legalAttributes); @@ -104579,7 +114301,8 @@ define([], (function load__dart_sdk() { allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); - dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); + dart.setStaticMethodSignature(html$._SimpleNodeValidator, () => ['allowNavigation', 'allowImages', 'allowTextElements']); + dart.setLibraryUri(html$._SimpleNodeValidator, I[150]); dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), allowedElements: dart.finalFieldType(core.Set$(core.String)), @@ -104588,8 +114311,15 @@ define([], (function load__dart_sdk() { uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) })); html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff'](uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); + return new html$._CustomElementNodeValidator.new(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39703, 30, "element"); if (dart.test(this.allowTypeExtension)) { let isAttr = element[S.$attributes][$_get]("is"); if (isAttr != null) { @@ -104599,9 +114329,9 @@ define([], (function load__dart_sdk() { return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39715, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39715, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39715, 70, "value"); if (dart.test(this.allowsElement(element))) { if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { return true; @@ -104612,10 +114342,10 @@ define([], (function load__dart_sdk() { } }; (html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { - if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); - if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); - if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); - if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); this.allowTypeExtension = allowTypeExtension === true; this.allowCustomTag = allowCustomTag === true; html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); @@ -104623,17 +114353,20 @@ define([], (function load__dart_sdk() { }).prototype = html$._CustomElementNodeValidator.prototype; dart.addTypeTests(html$._CustomElementNodeValidator); dart.addTypeCaches(html$._CustomElementNodeValidator); - dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); + dart.setLibraryUri(html$._CustomElementNodeValidator, I[150]); dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), allowTypeExtension: dart.finalFieldType(core.bool), allowCustomTag: dart.finalFieldType(core.bool) })); html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff']() { + return new html$._TemplatingNodeValidator.new(); + } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39746, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39746, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39746, 70, "value"); if (dart.test(super.allowsAttribute(element, attributeName, value))) { return true; } @@ -104649,25 +114382,26 @@ define([], (function load__dart_sdk() { (html$._TemplatingNodeValidator.new = function() { this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { - if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + if (attr == null) dart.nullFailed(I[149], 39744, 38, "attr"); return "TEMPLATE::" + dart.str(attr); }, T$.StringToString()))}); }).prototype = html$._TemplatingNodeValidator.prototype; dart.addTypeTests(html$._TemplatingNodeValidator); dart.addTypeCaches(html$._TemplatingNodeValidator); - dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); + dart.setLibraryUri(html$._TemplatingNodeValidator, I[150]); dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) })); + dart.setStaticFieldSignature(html$._TemplatingNodeValidator, () => ['_TEMPLATE_ATTRS']); dart.defineLazy(html$._TemplatingNodeValidator, { /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { - return C[412] || CT.C412; + return C[423] || CT.C423; } }, false); html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); if (svg$.ScriptElement.is(element)) { return false; } @@ -104680,14 +114414,17 @@ define([], (function load__dart_sdk() { return false; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39781, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39781, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39781, 70, "value"); if (attributeName === "is" || attributeName[$startsWith]("on")) { return false; } return this.allowsElement(element); } + static ['_#new#tearOff']() { + return new html$._SvgNodeValidator.new(); + } }; (html$._SvgNodeValidator.new = function() { ; @@ -104700,14 +114437,15 @@ define([], (function load__dart_sdk() { allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); - dart.setLibraryUri(html$._SvgNodeValidator, I[148]); + dart.setLibraryUri(html$._SvgNodeValidator, I[150]); html$.ReadyState = class ReadyState extends core.Object {}; (html$.ReadyState.new = function() { ; }).prototype = html$.ReadyState.prototype; dart.addTypeTests(html$.ReadyState); dart.addTypeCaches(html$.ReadyState); - dart.setLibraryUri(html$.ReadyState, I[148]); + dart.setLibraryUri(html$.ReadyState, I[150]); + dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); dart.defineLazy(html$.ReadyState, { /*html$.ReadyState.LOADING*/get LOADING() { return "loading"; @@ -104721,19 +114459,23 @@ define([], (function load__dart_sdk() { }, false); const _is__WrappedList_default = Symbol('_is__WrappedList_default'); html$._WrappedList$ = dart.generic(E => { - var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$_WrappedIteratorOfE = () => (__t$_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class _WrappedList extends collection.ListBase$(E) { + static ['_#new#tearOff'](E, _list) { + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); + return new (html$._WrappedList$(E)).new(_list); + } get iterator() { - return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + return new (__t$_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); } get length() { return this[S$3._list$19][$length]; } add(element) { E.as(element); - if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + if (element == null) dart.nullFailed(I[149], 39834, 14, "element"); this[S$3._list$19][$add](element); } remove(element) { @@ -104743,19 +114485,19 @@ define([], (function load__dart_sdk() { this[S$3._list$19][$clear](); } _get(index) { - if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + if (index == null) dart.nullFailed(I[149], 39846, 21, "index"); return E.as(this[S$3._list$19][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + if (index == null) dart.nullFailed(I[149], 39848, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + if (value == null) dart.nullFailed(I[149], 39848, 34, "value"); this[S$3._list$19][$_set](index, value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 39852, 18, "newLength"); this[S$3._list$19][$length] = newLength; } sort(compare = null) { @@ -104763,53 +114505,53 @@ define([], (function load__dart_sdk() { this[S$3._list$19][$sort](); } else { this[S$3._list$19][$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); - if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + if (a == null) dart.nullFailed(I[149], 39860, 24, "a"); + if (b == null) dart.nullFailed(I[149], 39860, 32, "b"); return compare(E.as(a), E.as(b)); }, T$0.NodeAndNodeToint())); } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + if (start == null) dart.nullFailed(I[149], 39864, 37, "start"); return this[S$3._list$19][$indexOf](html$.Node.as(element), start); } lastIndexOf(element, start = null) { return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + if (index == null) dart.nullFailed(I[149], 39870, 19, "index"); E.as(element); - if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + if (element == null) dart.nullFailed(I[149], 39870, 28, "element"); return this[S$3._list$19][$insert](index, element); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + if (index == null) dart.nullFailed(I[149], 39872, 18, "index"); return E.as(this[S$3._list$19][$removeAt](index)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); - if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 39874, 21, "start"); + if (end == null) dart.nullFailed(I[149], 39874, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39874, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 39874, 64, "skipCount"); this[S$3._list$19][$setRange](start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); - if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + if (start == null) dart.nullFailed(I[149], 39878, 24, "start"); + if (end == null) dart.nullFailed(I[149], 39878, 35, "end"); this[S$3._list$19][$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); - if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 39882, 25, "start"); + if (end == null) dart.nullFailed(I[149], 39882, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39882, 53, "iterable"); this[S$3._list$19][$replaceRange](start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); - if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 39886, 22, "start"); + if (end == null) dart.nullFailed(I[149], 39886, 33, "end"); + __t$EN().as(fillValue); this[S$3._list$19][$fillRange](start, end, fillValue); } get rawList() { @@ -104817,7 +114559,7 @@ define([], (function load__dart_sdk() { } } (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); this[S$3._list$19] = _list; ; }).prototype = _WrappedList.prototype; @@ -104843,7 +114585,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_WrappedList, I[148]); + dart.setLibraryUri(_WrappedList, I[150]); dart.setFieldSignature(_WrappedList, () => ({ __proto__: dart.getFields(_WrappedList.__proto__), [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) @@ -104872,16 +114614,20 @@ define([], (function load__dart_sdk() { const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); html$._WrappedIterator$ = dart.generic(E => { class _WrappedIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + return new (html$._WrappedIterator$(E)).new(_iterator); + } moveNext() { - return this[S$3._iterator$3].moveNext(); + return this[S$3._iterator$2].moveNext(); } get current() { - return E.as(this[S$3._iterator$3].current); + return E.as(this[S$3._iterator$2].current); } } (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); - this[S$3._iterator$3] = _iterator; + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + this[S$3._iterator$2] = _iterator; ; }).prototype = _WrappedIterator.prototype; dart.addTypeTests(_WrappedIterator); @@ -104896,10 +114642,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_WrappedIterator.__proto__), current: E })); - dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setLibraryUri(_WrappedIterator, I[150]); dart.setFieldSignature(_WrappedIterator, () => ({ __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) })); return _WrappedIterator; }); @@ -104907,14 +114653,14 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { static get(url, onComplete, withCredentials) { - if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); - if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); - if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + if (url == null) dart.nullFailed(I[149], 39914, 14, "url"); + if (onComplete == null) dart.nullFailed(I[149], 39914, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[149], 39914, 57, "withCredentials"); let request = html$.HttpRequest.new(); request.open("GET", url, {async: true}); request.withCredentials = withCredentials; request[S$1.$onReadyStateChange].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (e == null) dart.nullFailed(I[149], 39920, 40, "e"); if (request.readyState === 4) { onComplete(request); } @@ -104922,34 +114668,42 @@ define([], (function load__dart_sdk() { request.send(); return request; } + static ['_#new#tearOff']() { + return new html$._HttpRequestUtils.new(); + } }; (html$._HttpRequestUtils.new = function() { ; }).prototype = html$._HttpRequestUtils.prototype; dart.addTypeTests(html$._HttpRequestUtils); dart.addTypeCaches(html$._HttpRequestUtils); - dart.setLibraryUri(html$._HttpRequestUtils, I[148]); + dart.setStaticMethodSignature(html$._HttpRequestUtils, () => ['get']); + dart.setLibraryUri(html$._HttpRequestUtils, I[150]); const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); html$.FixedSizeListIterator$ = dart.generic(T => { class FixedSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + return new (html$.FixedSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$2._length$3])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$2._length$3]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (FixedSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; this[S$2._length$3] = array[$length]; @@ -104967,13 +114721,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(FixedSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setLibraryUri(FixedSizeListIterator, I[150]); dart.setFieldSignature(FixedSizeListIterator, () => ({ __proto__: dart.getFields(FixedSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$2._length$3]: dart.finalFieldType(core.int), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return FixedSizeListIterator; }); @@ -104982,24 +114736,28 @@ define([], (function load__dart_sdk() { const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); html$._VariableSizeListIterator$ = dart.generic(T => { class _VariableSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + return new (html$._VariableSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$3._array][$length])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$3._array][$length]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (_VariableSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; ; @@ -105016,18 +114774,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setLibraryUri(_VariableSizeListIterator, I[150]); dart.setFieldSignature(_VariableSizeListIterator, () => ({ __proto__: dart.getFields(_VariableSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return _VariableSizeListIterator; }); html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); html$.Console = class Console extends core.Object { + static ['_#_safe#tearOff']() { + return new html$.Console._safe(); + } get [S$3._isConsoleDefined]() { return typeof console != "undefined"; } @@ -105140,15 +114901,21 @@ define([], (function load__dart_sdk() { [S$3._isConsoleDefined]: core.bool, memory: dart.nullable(html$.MemoryInfo) })); - dart.setLibraryUri(html$.Console, I[148]); + dart.setLibraryUri(html$.Console, I[150]); + dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); dart.defineLazy(html$.Console, { /*html$.Console._safeConsole*/get _safeConsole() { - return C[413] || CT.C413; + return C[424] || CT.C424; } }, false); html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + static ['_#new#tearOff'](document, type, extendsTag) { + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); + return new html$._JSElementUpgrader.new(document, type, extendsTag); + } upgrade(element) { - if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (element == null) dart.nullFailed(I[149], 40336, 27, "element"); if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); @@ -105160,8 +114927,8 @@ define([], (function load__dart_sdk() { } }; (html$._JSElementUpgrader.new = function(document, type, extendsTag) { - if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); - if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); this[S$3._interceptor] = null; this[S$3._constructor] = null; this[S$3._nativeType] = null; @@ -105197,7 +114964,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), upgrade: dart.fnType(html$.Element, [html$.Element]) })); - dart.setLibraryUri(html$._JSElementUpgrader, I[148]); + dart.setLibraryUri(html$._JSElementUpgrader, I[150]); dart.setFieldSignature(html$._JSElementUpgrader, () => ({ __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), [S$3._interceptor]: dart.fieldType(dart.dynamic), @@ -105227,13 +114994,16 @@ define([], (function load__dart_sdk() { return this[S$3._window].close(); } postMessage(message, targetOrigin, messagePorts = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 40381, 40, "targetOrigin"); if (messagePorts == null) { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); } else { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); } } + static ['_#new#tearOff'](_window) { + return new html$._DOMWindowCrossFrame.new(_window); + } static _createSafe(w) { if (core.identical(w, html$.window)) { return html$.WindowBase.as(w); @@ -105249,18 +115019,18 @@ define([], (function load__dart_sdk() { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } addEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + if (type == null) dart.nullFailed(I[149], 40418, 32, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } dispatchEvent(event) { - if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + if (event == null) dart.nullFailed(I[149], 40423, 28, "event"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } [S._removeEventListener](type, listener, useCapture = null) { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } removeEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + if (type == null) dart.nullFailed(I[149], 40431, 35, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } }; @@ -105286,6 +115056,7 @@ define([], (function load__dart_sdk() { removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); + dart.setStaticMethodSignature(html$._DOMWindowCrossFrame, () => ['_createSafe']); dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), history: html$.HistoryBase, @@ -105303,7 +115074,7 @@ define([], (function load__dart_sdk() { on: html$.Events, [S.$on]: html$.Events })); - dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); + dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), [S$3._window]: dart.finalFieldType(dart.dynamic) @@ -105326,12 +115097,15 @@ define([], (function load__dart_sdk() { ]); html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { set href(val) { - if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + if (val == null) dart.nullFailed(I[149], 40443, 19, "val"); return html$._LocationCrossFrame._setHref(this[S$3._location], val); } static _setHref(location, val) { location.href = val; } + static ['_#new#tearOff'](_location) { + return new html$._LocationCrossFrame.new(_location); + } static _createSafe(location) { if (core.identical(location, html$.window[S$0.$location])) { return html$.LocationBase.as(location); @@ -105347,12 +115121,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html$._LocationCrossFrame); dart.addTypeCaches(html$._LocationCrossFrame); html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; + dart.setStaticMethodSignature(html$._LocationCrossFrame, () => ['_setHref', '_createSafe']); dart.setSetterSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), href: core.String, [S$.$href]: core.String })); - dart.setLibraryUri(html$._LocationCrossFrame, I[148]); + dart.setLibraryUri(html$._LocationCrossFrame, I[150]); dart.setFieldSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), [S$3._location]: dart.fieldType(dart.dynamic) @@ -105366,9 +115141,12 @@ define([], (function load__dart_sdk() { return this[S$3._history].forward(); } go(distance) { - if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + if (distance == null) dart.nullFailed(I[149], 40471, 15, "distance"); return this[S$3._history].go(distance); } + static ['_#new#tearOff'](_history) { + return new html$._HistoryCrossFrame.new(_history); + } static _createSafe(h) { if (core.identical(h, html$.window.history)) { return html$.HistoryBase.as(h); @@ -105393,19 +115171,25 @@ define([], (function load__dart_sdk() { go: dart.fnType(dart.void, [core.int]), [S$1.$go]: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); + dart.setStaticMethodSignature(html$._HistoryCrossFrame, () => ['_createSafe']); + dart.setLibraryUri(html$._HistoryCrossFrame, I[150]); dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), [S$3._history]: dart.fieldType(dart.dynamic) })); dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); - html$.Platform = class Platform extends core.Object {}; + html$.Platform = class Platform extends core.Object { + static ['_#new#tearOff']() { + return new html$.Platform.new(); + } + }; (html$.Platform.new = function() { ; }).prototype = html$.Platform.prototype; dart.addTypeTests(html$.Platform); dart.addTypeCaches(html$.Platform); - dart.setLibraryUri(html$.Platform, I[148]); + dart.setLibraryUri(html$.Platform, I[150]); + dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); dart.defineLazy(html$.Platform, { /*html$.Platform.supportsTypedData*/get supportsTypedData() { return !!window.ArrayBuffer; @@ -105420,41 +115204,59 @@ define([], (function load__dart_sdk() { }).prototype = html$.ElementUpgrader.prototype; dart.addTypeTests(html$.ElementUpgrader); dart.addTypeCaches(html$.ElementUpgrader); - dart.setLibraryUri(html$.ElementUpgrader, I[148]); + dart.setLibraryUri(html$.ElementUpgrader, I[150]); html$.NodeValidator = class NodeValidator extends core.Object { static new(opts) { let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); } + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return html$.NodeValidator.new({uriPolicy: uriPolicy}); + } static throws(base) { - if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); return new html$._ThrowsNodeValidator.new(base); } + static ['_#throws#tearOff'](base) { + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); + return html$.NodeValidator.throws(base); + } }; (html$.NodeValidator[dart.mixinNew] = function() { }).prototype = html$.NodeValidator.prototype; dart.addTypeTests(html$.NodeValidator); dart.addTypeCaches(html$.NodeValidator); - dart.setLibraryUri(html$.NodeValidator, I[148]); + dart.setStaticMethodSignature(html$.NodeValidator, () => ['new', 'throws']); + dart.setLibraryUri(html$.NodeValidator, I[150]); html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { static new(validator) { - if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); return new html$._ValidatingTreeSanitizer.new(validator); } + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); + return html$.NodeTreeSanitizer.new(validator); + } }; (html$.NodeTreeSanitizer[dart.mixinNew] = function() { }).prototype = html$.NodeTreeSanitizer.prototype; dart.addTypeTests(html$.NodeTreeSanitizer); dart.addTypeCaches(html$.NodeTreeSanitizer); - dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); + dart.setStaticMethodSignature(html$.NodeTreeSanitizer, () => ['new']); + dart.setLibraryUri(html$.NodeTreeSanitizer, I[150]); + dart.setStaticFieldSignature(html$.NodeTreeSanitizer, () => ['trusted']); dart.defineLazy(html$.NodeTreeSanitizer, { /*html$.NodeTreeSanitizer.trusted*/get trusted() { - return C[414] || CT.C414; + return C[425] || CT.C425; } }, false); html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + static ['_#new#tearOff']() { + return new html$._TrustedHtmlTreeSanitizer.new(); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + if (node == null) dart.nullFailed(I[149], 40983, 21, "node"); } }; (html$._TrustedHtmlTreeSanitizer.new = function() { @@ -105467,23 +115269,30 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), sanitizeTree: dart.fnType(dart.void, [html$.Node]) })); - dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); + dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[150]); html$.UriPolicy = class UriPolicy extends core.Object { static new() { return new html$._SameOriginUriPolicy.new(); } + static ['_#new#tearOff']() { + return html$.UriPolicy.new(); + } }; (html$.UriPolicy[dart.mixinNew] = function() { }).prototype = html$.UriPolicy.prototype; dart.addTypeTests(html$.UriPolicy); dart.addTypeCaches(html$.UriPolicy); - dart.setLibraryUri(html$.UriPolicy, I[148]); + dart.setStaticMethodSignature(html$.UriPolicy, () => ['new']); + dart.setLibraryUri(html$.UriPolicy, I[150]); html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { allowsUri(uri) { - if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + if (uri == null) dart.nullFailed(I[149], 41019, 25, "uri"); this[S$3._hiddenAnchor].href = uri; return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); } + static ['_#new#tearOff']() { + return new html$._SameOriginUriPolicy.new(); + } }; (html$._SameOriginUriPolicy.new = function() { this[S$3._hiddenAnchor] = html$.AnchorElement.new(); @@ -105497,24 +115306,28 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), allowsUri: dart.fnType(core.bool, [core.String]) })); - dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); + dart.setLibraryUri(html$._SameOriginUriPolicy, I[150]); dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), [S$3._loc]: dart.finalFieldType(html$.Location) })); html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); + return new html$._ThrowsNodeValidator.new(validator); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (element == null) dart.nullFailed(I[149], 41036, 30, "element"); if (!dart.test(this.validator.allowsElement(element))) { dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); } return true; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (element == null) dart.nullFailed(I[149], 41043, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 41043, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 41043, 70, "value"); if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); } @@ -105522,7 +115335,7 @@ define([], (function load__dart_sdk() { } }; (html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); this.validator = validator; }).prototype = html$._ThrowsNodeValidator.prototype; dart.addTypeTests(html$._ThrowsNodeValidator); @@ -105533,16 +115346,20 @@ define([], (function load__dart_sdk() { allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); - dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); + dart.setLibraryUri(html$._ThrowsNodeValidator, I[150]); dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), validator: dart.finalFieldType(html$.NodeValidator) })); html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41063, 26, "node"); const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); this.sanitizeNode(node, parent); let child = node.lastChild; while (child != null) { @@ -105573,7 +115390,7 @@ define([], (function load__dart_sdk() { } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); } [S$3._removeNode](node, parent) { - if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + if (node == null) dart.nullFailed(I[149], 41100, 25, "node"); this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; if (parent == null || !dart.equals(parent, node.parentNode)) { node[$remove](); @@ -105606,7 +115423,7 @@ define([], (function load__dart_sdk() { throw e$0; } try { - let elementTagName = html$.Element._safeTagName(element); + let elementTagName = html$.Element._safeTagName(html$.Element.as(element)); this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); } catch (e$1) { let ex = dart.getThrown(e$1); @@ -105621,11 +115438,11 @@ define([], (function load__dart_sdk() { } } [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); - if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); - if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); - if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); - if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (element == null) dart.nullFailed(I[149], 41166, 33, "element"); + if (corrupted == null) dart.nullFailed(I[149], 41166, 61, "corrupted"); + if (text == null) dart.nullFailed(I[149], 41167, 14, "text"); + if (tag == null) dart.nullFailed(I[149], 41167, 27, "tag"); + if (attrs == null) dart.nullFailed(I[149], 41167, 36, "attrs"); if (false !== corrupted) { this[S$3._removeNode](element, parent); html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); @@ -105657,29 +115474,29 @@ define([], (function load__dart_sdk() { } } sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); switch (node.nodeType) { case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } case 8: case 11: case 3: case 4: - { - break; - } + { + break; + } default: - { - this[S$3._removeNode](node, parent); - } + { + this[S$3._removeNode](node, parent); + } } } }; (html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); this.numTreeModifications = 0; this.validator = validator; }).prototype = html$._ValidatingTreeSanitizer.prototype; @@ -105694,18 +115511,18 @@ define([], (function load__dart_sdk() { [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) })); - dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); + dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[150]); dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), validator: dart.fieldType(html$.NodeValidator), numTreeModifications: dart.fieldType(core.int) })); html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[426] || CT.C426); }; html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { - if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); - if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + if (event == null) dart.nullFailed(I[149], 37256, 34, "event"); + if (selector == null) dart.nullFailed(I[149], 37256, 48, "selector"); let target = event[S.$target]; return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; }; @@ -105747,13 +115564,19 @@ define([], (function load__dart_sdk() { }, T$.dynamicToObjectN()); }; html$._callAttached = function _callAttached(receiver) { - return dart.dsend(receiver, 'attached', []); + if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); + return receiver[S.$attached](); }; html$._callDetached = function _callDetached(receiver) { - return dart.dsend(receiver, 'detached', []); + if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); + return receiver[S.$detached](); }; html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { - return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); + if (receiver == null) dart.nullFailed(I[149], 40162, 13, "receiver"); + if (name == null) dart.nullFailed(I[149], 40162, 30, "name"); + if (oldValue == null) dart.nullFailed(I[149], 40162, 43, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 40162, 60, "newValue"); + return receiver[S.$attributeChanged](name, oldValue, newValue); }; html$._makeCallbackMethod = function _makeCallbackMethod(callback) { return (function(invokeCallback) { @@ -105770,15 +115593,16 @@ define([], (function load__dart_sdk() { })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); }; html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { - if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); - if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); - if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (element == null) dart.nullFailed(I[149], 40195, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[149], 40195, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[149], 40195, 48, "baseClassName"); if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); } }; html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + if (document == null) dart.nullFailed(I[149], 40204, 51, "document"); + if (tag == null) dart.nullFailed(I[149], 40204, 68, "tag"); let extendsTagName = ""; let type = null; if (options != null) { @@ -105804,8 +115628,8 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); } } else { - let element = dart.dsend(document, 'createElement', [extendsTagName]); - html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + let element = document[S.$createElement](extendsTagName); + html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); } let baseConstructor = context[baseClassName]; let properties = {}; @@ -105823,7 +115647,7 @@ define([], (function load__dart_sdk() { return document.registerElement(tag, opts); }; html$._initializeCustomElement = function _initializeCustomElement(e) { - if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); + if (e == null) dart.nullFailed(I[149], 40291, 39, "e"); }; html$._wrapZone = function _wrapZone(T, callback) { if (dart.equals(async.Zone.current, async.Zone.root)) return callback; @@ -105836,11 +115660,11 @@ define([], (function load__dart_sdk() { return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); }; html$.querySelector = function querySelector(selectors) { - if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40872, 31, "selectors"); return html$.document.querySelector(selectors); }; html$.querySelectorAll = function querySelectorAll(T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40890, 59, "selectors"); return html$.document[S.$querySelectorAll](T, selectors); }; dart.copyProperties(html$, { @@ -105882,11 +115706,11 @@ define([], (function load__dart_sdk() { return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + if (i == null) dart.nullFailed(I[153], 72, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + if (i == null) dart.nullFailed(I[153], 73, 17, "i"); this.copies[$_set](i, x); } cleanupSlots() { @@ -105939,8 +115763,8 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnimplementedError.new("structured clone of other type")); } copyList(e, slot) { - if (e == null) dart.nullFailed(I[151], 156, 22, "e"); - if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + if (e == null) dart.nullFailed(I[153], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[153], 156, 29, "slot"); let i = 0; let length = e[$length]; let copy = this.newJsList(length); @@ -105973,7 +115797,7 @@ define([], (function load__dart_sdk() { copyList: dart.fnType(core.List, [core.List, core.int]), convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) })); - dart.setLibraryUri(html_common._StructuredClone, I[150]); + dart.setLibraryUri(html_common._StructuredClone, I[152]); dart.setFieldSignature(html_common._StructuredClone, () => ({ __proto__: dart.getFields(html_common._StructuredClone.__proto__), values: dart.fieldType(core.List), @@ -105990,11 +115814,11 @@ define([], (function load__dart_sdk() { return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + if (i == null) dart.nullFailed(I[153], 211, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + if (i == null) dart.nullFailed(I[153], 212, 17, "i"); this.copies[$_set](i, x); } walk(e) { @@ -106015,17 +115839,17 @@ define([], (function load__dart_sdk() { let slot = this.findSlot(e); let copy = this.readSlot(slot); if (copy != null) return copy; - copy = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, copy); + let map = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, map); this.forEachJsField(e, dart.fn((key, value) => { - let t248, t247, t246; - t246 = copy; - t247 = key; - t248 = this.walk(value); - dart.dsend(t246, '_set', [t247, t248]); - return t248; + let t229, t228, t227; + t227 = map; + t228 = key; + t229 = this.walk(value); + t227[$_set](t228, t229); + return t229; }, T$0.dynamicAnddynamicTodynamic())); - return copy; + return map; } if (dart.test(html_common.isJavaScriptArray(e))) { let l = e; @@ -106065,7 +115889,7 @@ define([], (function load__dart_sdk() { walk: dart.fnType(dart.dynamic, [dart.dynamic]), convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) })); - dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); + dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), values: dart.fieldType(core.List), @@ -106077,53 +115901,70 @@ define([], (function load__dart_sdk() { return this[S$3.alpha]; } set alpha(value) { + if (value == null) dart.nullFailed(I[153], 289, 8, "alpha"); this[S$3.alpha] = value; } get antialias() { return this[S$3.antialias]; } set antialias(value) { + if (value == null) dart.nullFailed(I[153], 290, 8, "antialias"); this[S$3.antialias] = value; } get depth() { return this[S$3.depth]; } set depth(value) { + if (value == null) dart.nullFailed(I[153], 291, 8, "depth"); this[S$3.depth] = value; } get premultipliedAlpha() { return this[S$3.premultipliedAlpha]; } set premultipliedAlpha(value) { + if (value == null) dart.nullFailed(I[153], 292, 8, "premultipliedAlpha"); this[S$3.premultipliedAlpha] = value; } get preserveDrawingBuffer() { return this[S$3.preserveDrawingBuffer]; } set preserveDrawingBuffer(value) { + if (value == null) dart.nullFailed(I[153], 293, 8, "preserveDrawingBuffer"); this[S$3.preserveDrawingBuffer] = value; } get stencil() { return this[S$3.stencil]; } set stencil(value) { + if (value == null) dart.nullFailed(I[153], 294, 8, "stencil"); this[S$3.stencil] = value; } get failIfMajorPerformanceCaveat() { return this[S$3.failIfMajorPerformanceCaveat]; } set failIfMajorPerformanceCaveat(value) { + if (value == null) dart.nullFailed(I[153], 295, 8, "failIfMajorPerformanceCaveat"); this[S$3.failIfMajorPerformanceCaveat] = value; } + static ['_#new#tearOff'](alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); + return new html_common.ContextAttributes.new(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil); + } }; (html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { - if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); - if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); - if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); - if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); - if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); - if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); - if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); this[S$3.alpha] = alpha; this[S$3.antialias] = antialias; this[S$3.depth] = depth; @@ -106135,7 +115976,7 @@ define([], (function load__dart_sdk() { }).prototype = html_common.ContextAttributes.prototype; dart.addTypeTests(html_common.ContextAttributes); dart.addTypeCaches(html_common.ContextAttributes); - dart.setLibraryUri(html_common.ContextAttributes, I[150]); + dart.setLibraryUri(html_common.ContextAttributes, I[152]); dart.setFieldSignature(html_common.ContextAttributes, () => ({ __proto__: dart.getFields(html_common.ContextAttributes.__proto__), alpha: dart.fieldType(core.bool), @@ -106148,7 +115989,7 @@ define([], (function load__dart_sdk() { })); html_common._TypedImageData = class _TypedImageData extends core.Object { get data() { - return this[S$3.data$1]; + return this[S$3.data$2]; } set data(value) { super.data = value; @@ -106165,12 +116006,18 @@ define([], (function load__dart_sdk() { set width(value) { super.width = value; } + static ['_#new#tearOff'](data, height, width) { + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + return new html_common._TypedImageData.new(data, height, width); + } }; (html_common._TypedImageData.new = function(data, height, width) { - if (data == null) dart.nullFailed(I[151], 330, 24, "data"); - if (height == null) dart.nullFailed(I[151], 330, 35, "height"); - if (width == null) dart.nullFailed(I[151], 330, 48, "width"); - this[S$3.data$1] = data; + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + this[S$3.data$2] = data; this[S$3.height$1] = height; this[S$3.width$1] = width; ; @@ -106178,7 +116025,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(html_common._TypedImageData); dart.addTypeCaches(html_common._TypedImageData); html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; - dart.setLibraryUri(html_common._TypedImageData, I[150]); + dart.setLibraryUri(html_common._TypedImageData, I[152]); dart.setFieldSignature(html_common._TypedImageData, () => ({ __proto__: dart.getFields(html_common._TypedImageData.__proto__), data: dart.finalFieldType(typed_data.Uint8ClampedList), @@ -106191,7 +116038,7 @@ define([], (function load__dart_sdk() { return {}; } forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + if (action == null) dart.nullFailed(I[154], 103, 33, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } @@ -106209,7 +116056,10 @@ define([], (function load__dart_sdk() { return new Array(length); } cloneNotRequired(e) { - return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e) || html$.SharedArrayBuffer.is(e); + } + static ['_#new#tearOff']() { + return new html_common._StructuredCloneDart2Js.new(); } }; (html_common._StructuredCloneDart2Js.new = function() { @@ -106228,7 +116078,7 @@ define([], (function load__dart_sdk() { newJsList: dart.fnType(core.List, [dart.dynamic]), cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) })); - dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); + dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { newJsList(length) { return new Array(length); @@ -106240,11 +116090,14 @@ define([], (function load__dart_sdk() { return core.identical(a, b); } forEachJsField(object, action) { - if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + if (action == null) dart.nullFailed(I[154], 127, 31, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } } + static ['_#new#tearOff']() { + return new html_common._AcceptStructuredCloneDart2Js.new(); + } }; (html_common._AcceptStructuredCloneDart2Js.new = function() { html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); @@ -106259,13 +116112,13 @@ define([], (function load__dart_sdk() { identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) })); - dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); + dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[152]); html_common.Device = class Device extends core.Object { static get userAgent() { return html$.window.navigator.userAgent; } static isEventTypeSupported(eventType) { - if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + if (eventType == null) dart.nullFailed(I[155], 52, 43, "eventType"); try { let e = html$.Event.eventType(eventType, ""); return html$.Event.is(e); @@ -106277,13 +116130,19 @@ define([], (function load__dart_sdk() { } return false; } + static ['_#new#tearOff']() { + return new html_common.Device.new(); + } }; (html_common.Device.new = function() { ; }).prototype = html_common.Device.prototype; dart.addTypeTests(html_common.Device); dart.addTypeCaches(html_common.Device); - dart.setLibraryUri(html_common.Device, I[150]); + dart.setStaticMethodSignature(html_common.Device, () => ['isEventTypeSupported']); + dart.setStaticGetterSignature(html_common.Device, () => ['userAgent']); + dart.setLibraryUri(html_common.Device, I[152]); + dart.setStaticFieldSignature(html_common.Device, () => ['isOpera', 'isIE', 'isFirefox', 'isWebKit', 'cssPrefix', 'propertyPrefix']); dart.defineLazy(html_common.Device, { /*html_common.Device.isOpera*/get isOpera() { return html_common.Device.userAgent[$contains]("Opera", 0); @@ -106305,12 +116164,16 @@ define([], (function load__dart_sdk() { } }, false); html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + static ['_#new#tearOff'](node) { + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); + return new html_common.FilteredElementList.new(node); + } get [S$3._iterable$2]() { return this[S$3._childNodes][$where](dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + if (n == null) dart.nullFailed(I[156], 30, 26, "n"); return html$.Element.is(n); }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + if (n == null) dart.nullFailed(I[156], 30, 60, "n"); return html$.Element.as(n); }, T$0.NodeToElement())); } @@ -106318,19 +116181,19 @@ define([], (function load__dart_sdk() { return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); } forEach(f) { - if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + if (f == null) dart.nullFailed(I[156], 34, 21, "f"); this[S$3._filtered][$forEach](f); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + if (index == null) dart.nullFailed(I[156], 40, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + if (value == null) dart.nullFailed(I[156], 40, 40, "value"); this._get(index)[S$.$replaceWith](value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[156], 44, 18, "newLength"); let len = this.length; if (dart.notNull(newLength) >= dart.notNull(len)) { return; @@ -106341,12 +116204,12 @@ define([], (function load__dart_sdk() { } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + if (value == null) dart.nullFailed(I[156], 55, 20, "value"); this[S$3._childNodes][$add](value); } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 59, 33, "iterable"); for (let element of iterable) { this.add(element); } @@ -106363,30 +116226,33 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[154], 77, 21, "start"); - if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + if (start == null) dart.nullFailed(I[156], 77, 21, "start"); + if (end == null) dart.nullFailed(I[156], 77, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[156], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[156], 78, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[154], 82, 22, "start"); - if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + if (start == null) dart.nullFailed(I[156], 82, 22, "start"); + if (end == null) dart.nullFailed(I[156], 82, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[154], 86, 25, "start"); - if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + if (start == null) dart.nullFailed(I[156], 86, 25, "start"); + if (end == null) dart.nullFailed(I[156], 86, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 86, 59, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[154], 90, 24, "start"); - if (end == null) dart.nullFailed(I[154], 90, 35, "end"); - core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + if (start == null) dart.nullFailed(I[156], 90, 24, "start"); + if (end == null) dart.nullFailed(I[156], 90, 35, "end"); + T$0.ListOfElement().from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => { + if (el == null) dart.nullFailed(I[156], 92, 19, "el"); + return el[$remove](); + }, T$0.ElementTovoid())); } clear() { this[S$3._childNodes][$clear](); @@ -106399,9 +116265,9 @@ define([], (function load__dart_sdk() { return result; } insert(index, value) { - if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + if (index == null) dart.nullFailed(I[156], 109, 19, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (value == null) dart.nullFailed(I[156], 109, 34, "value"); if (index == this.length) { this.add(value); } else { @@ -106410,9 +116276,9 @@ define([], (function load__dart_sdk() { } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + if (index == null) dart.nullFailed(I[156], 118, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -106421,7 +116287,7 @@ define([], (function load__dart_sdk() { } } removeAt(index) { - if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + if (index == null) dart.nullFailed(I[156], 127, 24, "index"); let result = this._get(index); result[$remove](); return result; @@ -106439,7 +116305,7 @@ define([], (function load__dart_sdk() { return this[S$3._iterable$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + if (index == null) dart.nullFailed(I[156], 144, 27, "index"); return this[S$3._iterable$2][$elementAt](index); } get iterator() { @@ -106450,7 +116316,7 @@ define([], (function load__dart_sdk() { } }; (html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); this[S$3._childNodes] = node[S.$nodes]; this[S$3._node] = node; ; @@ -106478,7 +116344,7 @@ define([], (function load__dart_sdk() { length: core.int, [$length]: core.int })); - dart.setLibraryUri(html_common.FilteredElementList, I[150]); + dart.setLibraryUri(html_common.FilteredElementList, I[152]); dart.setFieldSignature(html_common.FilteredElementList, () => ({ __proto__: dart.getFields(html_common.FilteredElementList.__proto__), [S$3._node]: dart.finalFieldType(html$.Node), @@ -106506,10 +116372,10 @@ define([], (function load__dart_sdk() { dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); html_common.Lists = class Lists extends core.Object { static indexOf(a, element, startIndex, endIndex) { - if (a == null) dart.nullFailed(I[155], 13, 27, "a"); - if (element == null) dart.nullFailed(I[155], 13, 37, "element"); - if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); - if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (a == null) dart.nullFailed(I[157], 13, 27, "a"); + if (element == null) dart.nullFailed(I[157], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[157], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[157], 13, 66, "endIndex"); if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { return -1; } @@ -106524,9 +116390,9 @@ define([], (function load__dart_sdk() { return -1; } static lastIndexOf(a, element, startIndex) { - if (a == null) dart.nullFailed(I[155], 33, 31, "a"); - if (element == null) dart.nullFailed(I[155], 33, 41, "element"); - if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (a == null) dart.nullFailed(I[157], 33, 31, "a"); + if (element == null) dart.nullFailed(I[157], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[157], 33, 54, "startIndex"); if (dart.notNull(startIndex) < 0) { return -1; } @@ -106541,10 +116407,10 @@ define([], (function load__dart_sdk() { return -1; } static getRange(a, start, end, accumulator) { - if (a == null) dart.nullFailed(I[155], 55, 29, "a"); - if (start == null) dart.nullFailed(I[155], 55, 36, "start"); - if (end == null) dart.nullFailed(I[155], 55, 47, "end"); - if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (a == null) dart.nullFailed(I[157], 55, 29, "a"); + if (start == null) dart.nullFailed(I[157], 55, 36, "start"); + if (end == null) dart.nullFailed(I[157], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[157], 55, 57, "accumulator"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); @@ -106553,20 +116419,24 @@ define([], (function load__dart_sdk() { } return accumulator; } + static ['_#new#tearOff']() { + return new html_common.Lists.new(); + } }; (html_common.Lists.new = function() { ; }).prototype = html_common.Lists.prototype; dart.addTypeTests(html_common.Lists); dart.addTypeCaches(html_common.Lists); - dart.setLibraryUri(html_common.Lists, I[150]); + dart.setStaticMethodSignature(html_common.Lists, () => ['indexOf', 'lastIndexOf', 'getRange']); + dart.setLibraryUri(html_common.Lists, I[152]); html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; (html_common.NodeListWrapper.new = function() { ; }).prototype = html_common.NodeListWrapper.prototype; dart.addTypeTests(html_common.NodeListWrapper); dart.addTypeCaches(html_common.NodeListWrapper); - dart.setLibraryUri(html_common.NodeListWrapper, I[150]); + dart.setLibraryUri(html_common.NodeListWrapper, I[152]); html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { return html_common.convertDartToNative_PrepareForStructuredClone(value); }; @@ -106591,18 +116461,33 @@ define([], (function load__dart_sdk() { return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); }; html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { - if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (imageData == null) dart.nullFailed(I[153], 369, 41, "imageData"); if (html_common._TypedImageData.is(imageData)) { return {data: imageData.data, height: imageData.height, width: imageData.width}; } return imageData; }; + html_common._convertNativeToDart_Value = function _convertNativeToDart_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (dart.test(html_common.isJavaScriptSimpleObject(value))) { + return html_common.convertNativeToDart_Dictionary(value); + } + if (Array.isArray(value)) { + let values = []; + for (let i = 0; i < value.length; i = i + 1) { + values[$add](html_common._convertNativeToDart_Value(value[i])); + } + return values; + } + return value; + }; html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { if (object == null) return null; let dict = new (T$0.IdentityMapOfString$dynamic()).new(); let keys = Object.getOwnPropertyNames(object); for (let key of keys) { - dict[$_set](core.String.as(key), object[key]); + dict[$_set](key, html_common._convertNativeToDart_Value(object[key])); } return dict; }; @@ -106631,7 +116516,7 @@ define([], (function load__dart_sdk() { return object; }; html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + if (input == null) dart.nullFailed(I[154], 78, 51, "input"); return input; }; html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { @@ -106639,7 +116524,7 @@ define([], (function load__dart_sdk() { return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); }; html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + if (date == null) dart.nullFailed(I[154], 88, 39, "date"); return new Date(date.millisecondsSinceEpoch); }; html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { @@ -106655,10 +116540,10 @@ define([], (function load__dart_sdk() { html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { return value instanceof RegExp; }; - html_common.isJavaScriptArray = function isJavaScriptArray(value) { + html_common.isJavaScriptArray = function isJavaScriptArray$(value) { return value instanceof Array; }; - html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { let proto = Object.getPrototypeOf(value); return proto === Object.prototype || proto === null; }; @@ -106673,50 +116558,67 @@ define([], (function load__dart_sdk() { return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; }, /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[416] || CT.C416; + return C[427] || CT.C427; }, /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[417] || CT.C417; + return C[428] || CT.C428; } }, false); svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { static createSvgElement_tag(tag) { - if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + if (tag == null) dart.nullFailed(I[158], 30, 49, "tag"); let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); return svg$.SvgElement.as(temp); } + static ['_#new#tearOff']() { + return new svg$._SvgElementFactoryProvider.new(); + } }; (svg$._SvgElementFactoryProvider.new = function() { ; }).prototype = svg$._SvgElementFactoryProvider.prototype; dart.addTypeTests(svg$._SvgElementFactoryProvider); dart.addTypeCaches(svg$._SvgElementFactoryProvider); - dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); + dart.setStaticMethodSignature(svg$._SvgElementFactoryProvider, () => ['createSvgElement_tag']); + dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[159]); svg$.SvgElement = class SvgElement extends html$.Element { static tag(tag) { - if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); } + static ['_#tag#tearOff'](tag) { + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); + return svg$.SvgElement.tag(tag); + } static svg(svg, opts) { - let t247; - if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let t228; + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (validator == null && treeSanitizer == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); let parentElement = null; if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { - parentElement = html$.document.body; + parentElement = dart.nullCheck(html$.document.body); } else { parentElement = svg$.SvgSvgElement.new(); } - let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); - return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + let fragment = parentElement[S.$createFragment](svg, {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 3013, 34, "e"); + return svg$.SvgElement.is(e); + }, T$0.NodeTobool()))[$single]); + } + static ['_#svg#tearOff'](svg, opts) { + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgElement.svg(svg, {validator: validator, treeSanitizer: treeSanitizer}); } get [S.$classes]() { return new svg$.AttributeClassSet.new(this); @@ -106728,7 +116630,7 @@ define([], (function load__dart_sdk() { return new html_common.FilteredElementList.new(this); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); let children = this[S.$children]; children[$clear](); children[$addAll](value); @@ -106749,14 +116651,14 @@ define([], (function load__dart_sdk() { this[S.$setInnerHtml](value); } [S.$createFragment](svg, opts) { - let t247; + let t228; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { if (validator == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } treeSanitizer = html$.NodeTreeSanitizer.new(validator); @@ -106771,20 +116673,20 @@ define([], (function load__dart_sdk() { return svgFragment; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3069, 48, "text"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); } [S.$insertAdjacentHtml](where, text, opts) { - if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3073, 48, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); - if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + if (where == null) dart.nullFailed(I[158], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[158], 3078, 55, "element"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); } get [S$3._children$1]() { @@ -106797,10 +116699,16 @@ define([], (function load__dart_sdk() { dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + if (tag == null) dart.nullFailed(I[158], 3096, 37, "tag"); let e = svg$.SvgElement.tag(tag); return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); } + static ['_#_#tearOff']() { + return svg$.SvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgElement.created(); + } get [S$3._svgClassName]() { return this.className; } @@ -106909,61 +116817,61 @@ define([], (function load__dart_sdk() { get [S.$onMouseDown]() { return svg$.SvgElement.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return svg$.SvgElement.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return svg$.SvgElement.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return svg$.SvgElement.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return svg$.SvgElement.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return svg$.SvgElement.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return svg$.SvgElement.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return svg$.SvgElement.mouseWheelEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return svg$.SvgElement.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return svg$.SvgElement.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return svg$.SvgElement.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return svg$.SvgElement.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return svg$.SvgElement.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return svg$.SvgElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return svg$.SvgElement.scrollEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return svg$.SvgElement.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return svg$.SvgElement.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return svg$.SvgElement.selectEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return svg$.SvgElement.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return svg$.SvgElement.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -107001,6 +116909,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.SvgElement); dart.addTypeCaches(svg$.SvgElement); svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; + dart.setStaticMethodSignature(svg$.SvgElement, () => ['tag', 'svg', 'isTagSupported', '__']); dart.setGetterSignature(svg$.SvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgElement.__proto__), [S$3._children$1]: html$.HtmlCollection, @@ -107014,185 +116923,192 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.SvgElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); - dart.setLibraryUri(svg$.SvgElement, I[157]); + dart.setLibraryUri(svg$.SvgElement, I[159]); + dart.setStaticFieldSignature(svg$.SvgElement, () => ['_START_TAG_REGEXP', 'abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineLazy(svg$.SvgElement, { /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { return core.RegExp.new("<(\\w+)"); }, /*svg$.SvgElement.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*svg$.SvgElement.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("SVGElement", svg$.SvgElement); svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.GraphicsElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GraphicsElement.created(); + } get [S$3.$farthestViewportElement]() { return this.farthestViewportElement; } @@ -107231,6 +117147,7 @@ define([], (function load__dart_sdk() { [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) })); + dart.setStaticMethodSignature(svg$.GraphicsElement, () => ['__']); dart.setGetterSignature(svg$.GraphicsElement, () => ({ __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), @@ -107239,12 +117156,21 @@ define([], (function load__dart_sdk() { [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); - dart.setLibraryUri(svg$.GraphicsElement, I[157]); + dart.setLibraryUri(svg$.GraphicsElement, I[159]); dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); svg$.AElement = class AElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.AElement.__(); + } static new() { return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); } + static ['_#new#tearOff']() { + return svg$.AElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AElement.created(); + } get [S.$target]() { return this.target; } @@ -107259,14 +117185,18 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.AElement); dart.addTypeCaches(svg$.AElement); svg$.AElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$.AElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AElement, () => ({ __proto__: dart.getGetters(svg$.AElement.__proto__), [S.$target]: svg$.AnimatedString, [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.AElement, I[157]); + dart.setLibraryUri(svg$.AElement, I[159]); dart.registerExtension("SVGAElement", svg$.AElement); - svg$.Angle = class Angle extends _interceptors.Interceptor { + svg$.Angle = class Angle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Angle.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -107302,6 +117232,7 @@ define([], (function load__dart_sdk() { [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); + dart.setStaticMethodSignature(svg$.Angle, () => ['__']); dart.setGetterSignature(svg$.Angle, () => ({ __proto__: dart.getGetters(svg$.Angle.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -107315,7 +117246,8 @@ define([], (function load__dart_sdk() { [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Angle, I[157]); + dart.setLibraryUri(svg$.Angle, I[159]); + dart.setStaticFieldSignature(svg$.Angle, () => ['SVG_ANGLETYPE_DEG', 'SVG_ANGLETYPE_GRAD', 'SVG_ANGLETYPE_RAD', 'SVG_ANGLETYPE_UNKNOWN', 'SVG_ANGLETYPE_UNSPECIFIED']); dart.defineLazy(svg$.Angle, { /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { return 2; @@ -107335,9 +117267,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGAngle", svg$.Angle); svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.AnimationElement.__(); + } static new() { return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); } + static ['_#new#tearOff']() { + return svg$.AnimationElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimationElement.created(); + } get [S$3.$targetElement]() { return this.targetElement; } @@ -107386,18 +117327,28 @@ define([], (function load__dart_sdk() { [S$3.$getSimpleDuration]: dart.fnType(core.double, []), [S$3.$getStartTime]: dart.fnType(core.double, []) })); + dart.setStaticMethodSignature(svg$.AnimationElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AnimationElement, () => ({ __proto__: dart.getGetters(svg$.AnimationElement.__proto__), [S$3.$targetElement]: dart.nullable(svg$.SvgElement), [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); - dart.setLibraryUri(svg$.AnimationElement, I[157]); + dart.setLibraryUri(svg$.AnimationElement, I[159]); dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateElement.__(); + } static new() { return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); } + static ['_#new#tearOff']() { + return svg$.AnimateElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); } @@ -107408,12 +117359,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.AnimateElement.prototype; dart.addTypeTests(svg$.AnimateElement); dart.addTypeCaches(svg$.AnimateElement); - dart.setLibraryUri(svg$.AnimateElement, I[157]); + dart.setStaticMethodSignature(svg$.AnimateElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.AnimateElement, () => ['supported']); + dart.setLibraryUri(svg$.AnimateElement, I[159]); dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateMotionElement.__(); + } static new() { return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); } + static ['_#new#tearOff']() { + return svg$.AnimateMotionElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateMotionElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); } @@ -107424,12 +117386,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.AnimateMotionElement.prototype; dart.addTypeTests(svg$.AnimateMotionElement); dart.addTypeCaches(svg$.AnimateMotionElement); - dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); + dart.setStaticMethodSignature(svg$.AnimateMotionElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.AnimateMotionElement, () => ['supported']); + dart.setLibraryUri(svg$.AnimateMotionElement, I[159]); dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateTransformElement.__(); + } static new() { return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); } + static ['_#new#tearOff']() { + return svg$.AnimateTransformElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateTransformElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); } @@ -107440,9 +117413,14 @@ define([], (function load__dart_sdk() { }).prototype = svg$.AnimateTransformElement.prototype; dart.addTypeTests(svg$.AnimateTransformElement); dart.addTypeCaches(svg$.AnimateTransformElement); - dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); + dart.setStaticMethodSignature(svg$.AnimateTransformElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.AnimateTransformElement, () => ['supported']); + dart.setLibraryUri(svg$.AnimateTransformElement, I[159]); dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); - svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { + svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedAngle.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107452,14 +117430,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedAngle); dart.addTypeCaches(svg$.AnimatedAngle); + dart.setStaticMethodSignature(svg$.AnimatedAngle, () => ['__']); dart.setGetterSignature(svg$.AnimatedAngle, () => ({ __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), [S$3.$animVal]: dart.nullable(svg$.Angle), [S$3.$baseVal]: dart.nullable(svg$.Angle) })); - dart.setLibraryUri(svg$.AnimatedAngle, I[157]); + dart.setLibraryUri(svg$.AnimatedAngle, I[159]); dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); - svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { + svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedBoolean.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107472,6 +117454,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedBoolean); dart.addTypeCaches(svg$.AnimatedBoolean); + dart.setStaticMethodSignature(svg$.AnimatedBoolean, () => ['__']); dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), [S$3.$animVal]: dart.nullable(core.bool), @@ -107481,9 +117464,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), [S$3.$baseVal]: dart.nullable(core.bool) })); - dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); + dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); - svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { + svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedEnumeration.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107496,6 +117482,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedEnumeration); dart.addTypeCaches(svg$.AnimatedEnumeration); + dart.setStaticMethodSignature(svg$.AnimatedEnumeration, () => ['__']); dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107505,9 +117492,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); + dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); - svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { + svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedInteger.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107520,6 +117510,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedInteger); dart.addTypeCaches(svg$.AnimatedInteger); + dart.setStaticMethodSignature(svg$.AnimatedInteger, () => ['__']); dart.setGetterSignature(svg$.AnimatedInteger, () => ({ __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107529,9 +117520,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.AnimatedInteger, I[157]); + dart.setLibraryUri(svg$.AnimatedInteger, I[159]); dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); - svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { + svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLength.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107541,14 +117535,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedLength); dart.addTypeCaches(svg$.AnimatedLength); + dart.setStaticMethodSignature(svg$.AnimatedLength, () => ['__']); dart.setGetterSignature(svg$.AnimatedLength, () => ({ __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), [S$3.$animVal]: dart.nullable(svg$.Length), [S$3.$baseVal]: dart.nullable(svg$.Length) })); - dart.setLibraryUri(svg$.AnimatedLength, I[157]); + dart.setLibraryUri(svg$.AnimatedLength, I[159]); dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); - svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { + svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLengthList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107558,14 +117556,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedLengthList); dart.addTypeCaches(svg$.AnimatedLengthList); + dart.setStaticMethodSignature(svg$.AnimatedLengthList, () => ['__']); dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), [S$3.$animVal]: dart.nullable(svg$.LengthList), [S$3.$baseVal]: dart.nullable(svg$.LengthList) })); - dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); + dart.setLibraryUri(svg$.AnimatedLengthList, I[159]); dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); - svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { + svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumber.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107578,6 +117580,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedNumber); dart.addTypeCaches(svg$.AnimatedNumber); + dart.setStaticMethodSignature(svg$.AnimatedNumber, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumber, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), [S$3.$animVal]: dart.nullable(core.num), @@ -107587,9 +117590,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), [S$3.$baseVal]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.AnimatedNumber, I[157]); + dart.setLibraryUri(svg$.AnimatedNumber, I[159]); dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); - svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { + svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumberList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107599,14 +117605,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedNumberList); dart.addTypeCaches(svg$.AnimatedNumberList); + dart.setStaticMethodSignature(svg$.AnimatedNumberList, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), [S$3.$animVal]: dart.nullable(svg$.NumberList), [S$3.$baseVal]: dart.nullable(svg$.NumberList) })); - dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); + dart.setLibraryUri(svg$.AnimatedNumberList, I[159]); dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); - svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { + svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedPreserveAspectRatio.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107616,14 +117626,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); + dart.setStaticMethodSignature(svg$.AnimatedPreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) })); - dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); + dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[159]); dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); - svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { + svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedRect.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107633,14 +117647,18 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedRect); dart.addTypeCaches(svg$.AnimatedRect); + dart.setStaticMethodSignature(svg$.AnimatedRect, () => ['__']); dart.setGetterSignature(svg$.AnimatedRect, () => ({ __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), [S$3.$animVal]: dart.nullable(svg$.Rect), [S$3.$baseVal]: dart.nullable(svg$.Rect) })); - dart.setLibraryUri(svg$.AnimatedRect, I[157]); + dart.setLibraryUri(svg$.AnimatedRect, I[159]); dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); - svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { + svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedString.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107653,6 +117671,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedString); dart.addTypeCaches(svg$.AnimatedString); + dart.setStaticMethodSignature(svg$.AnimatedString, () => ['__']); dart.setGetterSignature(svg$.AnimatedString, () => ({ __proto__: dart.getGetters(svg$.AnimatedString.__proto__), [S$3.$animVal]: dart.nullable(core.String), @@ -107662,9 +117681,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.AnimatedString.__proto__), [S$3.$baseVal]: dart.nullable(core.String) })); - dart.setLibraryUri(svg$.AnimatedString, I[157]); + dart.setLibraryUri(svg$.AnimatedString, I[159]); dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); - svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { + svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedTransformList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107674,14 +117696,21 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.AnimatedTransformList); dart.addTypeCaches(svg$.AnimatedTransformList); + dart.setStaticMethodSignature(svg$.AnimatedTransformList, () => ['__']); dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), [S$3.$animVal]: dart.nullable(svg$.TransformList), [S$3.$baseVal]: dart.nullable(svg$.TransformList) })); - dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); + dart.setLibraryUri(svg$.AnimatedTransformList, I[159]); dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GeometryElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GeometryElement.created(); + } get [S$3.$pathLength]() { return this.pathLength; } @@ -107711,16 +117740,26 @@ define([], (function load__dart_sdk() { [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) })); + dart.setStaticMethodSignature(svg$.GeometryElement, () => ['__']); dart.setGetterSignature(svg$.GeometryElement, () => ({ __proto__: dart.getGetters(svg$.GeometryElement.__proto__), [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) })); - dart.setLibraryUri(svg$.GeometryElement, I[157]); + dart.setLibraryUri(svg$.GeometryElement, I[159]); dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.CircleElement.__(); + } static new() { return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); } + static ['_#new#tearOff']() { + return svg$.CircleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.CircleElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107737,18 +117776,28 @@ define([], (function load__dart_sdk() { }).prototype = svg$.CircleElement.prototype; dart.addTypeTests(svg$.CircleElement); dart.addTypeCaches(svg$.CircleElement); + dart.setStaticMethodSignature(svg$.CircleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.CircleElement, () => ({ __proto__: dart.getGetters(svg$.CircleElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), [S$3.$cy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.CircleElement, I[157]); + dart.setLibraryUri(svg$.CircleElement, I[159]); dart.registerExtension("SVGCircleElement", svg$.CircleElement); svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ClipPathElement.__(); + } static new() { return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); } + static ['_#new#tearOff']() { + return svg$.ClipPathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ClipPathElement.created(); + } get [S$3.$clipPathUnits]() { return this.clipPathUnits; } @@ -107759,16 +117808,26 @@ define([], (function load__dart_sdk() { }).prototype = svg$.ClipPathElement.prototype; dart.addTypeTests(svg$.ClipPathElement); dart.addTypeCaches(svg$.ClipPathElement); + dart.setStaticMethodSignature(svg$.ClipPathElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ClipPathElement, () => ({ __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) })); - dart.setLibraryUri(svg$.ClipPathElement, I[157]); + dart.setLibraryUri(svg$.ClipPathElement, I[159]); dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.DefsElement.__(); + } static new() { return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); } + static ['_#new#tearOff']() { + return svg$.DefsElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DefsElement.created(); + } }; (svg$.DefsElement.created = function() { svg$.DefsElement.__proto__.created.call(this); @@ -107776,12 +117835,22 @@ define([], (function load__dart_sdk() { }).prototype = svg$.DefsElement.prototype; dart.addTypeTests(svg$.DefsElement); dart.addTypeCaches(svg$.DefsElement); - dart.setLibraryUri(svg$.DefsElement, I[157]); + dart.setStaticMethodSignature(svg$.DefsElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.DefsElement, I[159]); dart.registerExtension("SVGDefsElement", svg$.DefsElement); svg$.DescElement = class DescElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DescElement.__(); + } static new() { return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); } + static ['_#new#tearOff']() { + return svg$.DescElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DescElement.created(); + } }; (svg$.DescElement.created = function() { svg$.DescElement.__proto__.created.call(this); @@ -107789,21 +117858,39 @@ define([], (function load__dart_sdk() { }).prototype = svg$.DescElement.prototype; dart.addTypeTests(svg$.DescElement); dart.addTypeCaches(svg$.DescElement); - dart.setLibraryUri(svg$.DescElement, I[157]); + dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.DescElement, I[159]); dart.registerExtension("SVGDescElement", svg$.DescElement); - svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; + svg$.DiscardElement = class DiscardElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DiscardElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.DiscardElement.created(); + } + }; (svg$.DiscardElement.created = function() { svg$.DiscardElement.__proto__.created.call(this); ; }).prototype = svg$.DiscardElement.prototype; dart.addTypeTests(svg$.DiscardElement); dart.addTypeCaches(svg$.DiscardElement); - dart.setLibraryUri(svg$.DiscardElement, I[157]); + dart.setStaticMethodSignature(svg$.DiscardElement, () => ['__']); + dart.setLibraryUri(svg$.DiscardElement, I[159]); dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.EllipseElement.__(); + } static new() { return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); } + static ['_#new#tearOff']() { + return svg$.EllipseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.EllipseElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107823,6 +117910,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.EllipseElement.prototype; dart.addTypeTests(svg$.EllipseElement); dart.addTypeCaches(svg$.EllipseElement); + dart.setStaticMethodSignature(svg$.EllipseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.EllipseElement, () => ({ __proto__: dart.getGetters(svg$.EllipseElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -107830,12 +117918,21 @@ define([], (function load__dart_sdk() { [S$3.$rx]: dart.nullable(svg$.AnimatedLength), [S$3.$ry]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.EllipseElement, I[157]); + dart.setLibraryUri(svg$.EllipseElement, I[159]); dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEBlendElement.__(); + } static new() { return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); } + static ['_#new#tearOff']() { + return svg$.FEBlendElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEBlendElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); } @@ -107871,6 +117968,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEBlendElement); dart.addTypeCaches(svg$.FEBlendElement); svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEBlendElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEBlendElement, () => ({ __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -107882,7 +117980,9 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEBlendElement, I[157]); + dart.setStaticGetterSignature(svg$.FEBlendElement, () => ['supported']); + dart.setLibraryUri(svg$.FEBlendElement, I[159]); + dart.setStaticFieldSignature(svg$.FEBlendElement, () => ['SVG_FEBLEND_MODE_DARKEN', 'SVG_FEBLEND_MODE_LIGHTEN', 'SVG_FEBLEND_MODE_MULTIPLY', 'SVG_FEBLEND_MODE_NORMAL', 'SVG_FEBLEND_MODE_SCREEN', 'SVG_FEBLEND_MODE_UNKNOWN']); dart.defineLazy(svg$.FEBlendElement, { /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { return 4; @@ -107905,9 +118005,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEColorMatrixElement.__(); + } static new() { return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEColorMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEColorMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); } @@ -107943,6 +118052,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEColorMatrixElement); dart.addTypeCaches(svg$.FEColorMatrixElement); svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEColorMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), [S$3.$in1]: svg$.AnimatedString, @@ -107954,7 +118064,9 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); + dart.setStaticGetterSignature(svg$.FEColorMatrixElement, () => ['supported']); + dart.setLibraryUri(svg$.FEColorMatrixElement, I[159]); + dart.setStaticFieldSignature(svg$.FEColorMatrixElement, () => ['SVG_FECOLORMATRIX_TYPE_HUEROTATE', 'SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA', 'SVG_FECOLORMATRIX_TYPE_MATRIX', 'SVG_FECOLORMATRIX_TYPE_SATURATE', 'SVG_FECOLORMATRIX_TYPE_UNKNOWN']); dart.defineLazy(svg$.FEColorMatrixElement, { /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { return 3; @@ -107974,9 +118086,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEComponentTransferElement.__(); + } static new() { return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); } + static ['_#new#tearOff']() { + return svg$.FEComponentTransferElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEComponentTransferElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); } @@ -108006,6 +118127,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEComponentTransferElement); dart.addTypeCaches(svg$.FEComponentTransferElement); svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEComponentTransferElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108015,9 +118137,16 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); + dart.setStaticGetterSignature(svg$.FEComponentTransferElement, () => ['supported']); + dart.setLibraryUri(svg$.FEComponentTransferElement, I[159]); dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FECompositeElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FECompositeElement.created(); + } get [S$3.$in1]() { return this.in1; } @@ -108062,6 +118191,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FECompositeElement); dart.addTypeCaches(svg$.FECompositeElement); svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FECompositeElement, () => ['__']); dart.setGetterSignature(svg$.FECompositeElement, () => ({ __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108077,7 +118207,8 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FECompositeElement, I[157]); + dart.setLibraryUri(svg$.FECompositeElement, I[159]); + dart.setStaticFieldSignature(svg$.FECompositeElement, () => ['SVG_FECOMPOSITE_OPERATOR_ARITHMETIC', 'SVG_FECOMPOSITE_OPERATOR_ATOP', 'SVG_FECOMPOSITE_OPERATOR_IN', 'SVG_FECOMPOSITE_OPERATOR_OUT', 'SVG_FECOMPOSITE_OPERATOR_OVER', 'SVG_FECOMPOSITE_OPERATOR_UNKNOWN', 'SVG_FECOMPOSITE_OPERATOR_XOR']); dart.defineLazy(svg$.FECompositeElement, { /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { return 6; @@ -108103,9 +118234,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEConvolveMatrixElement.__(); + } static new() { return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEConvolveMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEConvolveMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); } @@ -108168,6 +118308,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEConvolveMatrixElement); dart.addTypeCaches(svg$.FEConvolveMatrixElement); svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEConvolveMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), @@ -108188,7 +118329,9 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); + dart.setStaticGetterSignature(svg$.FEConvolveMatrixElement, () => ['supported']); + dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[159]); + dart.setStaticFieldSignature(svg$.FEConvolveMatrixElement, () => ['SVG_EDGEMODE_DUPLICATE', 'SVG_EDGEMODE_NONE', 'SVG_EDGEMODE_UNKNOWN', 'SVG_EDGEMODE_WRAP']); dart.defineLazy(svg$.FEConvolveMatrixElement, { /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { return 1; @@ -108205,9 +118348,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDiffuseLightingElement.__(); + } static new() { return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); } + static ['_#new#tearOff']() { + return svg$.FEDiffuseLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDiffuseLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); } @@ -108249,6 +118401,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEDiffuseLightingElement); dart.addTypeCaches(svg$.FEDiffuseLightingElement); svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEDiffuseLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), @@ -108262,12 +118415,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); + dart.setStaticGetterSignature(svg$.FEDiffuseLightingElement, () => ['supported']); + dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[159]); dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDisplacementMapElement.__(); + } static new() { return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); } + static ['_#new#tearOff']() { + return svg$.FEDisplacementMapElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDisplacementMapElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); } @@ -108309,6 +118472,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEDisplacementMapElement); dart.addTypeCaches(svg$.FEDisplacementMapElement); svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEDisplacementMapElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108322,7 +118486,9 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); + dart.setStaticGetterSignature(svg$.FEDisplacementMapElement, () => ['supported']); + dart.setLibraryUri(svg$.FEDisplacementMapElement, I[159]); + dart.setStaticFieldSignature(svg$.FEDisplacementMapElement, () => ['SVG_CHANNEL_A', 'SVG_CHANNEL_B', 'SVG_CHANNEL_G', 'SVG_CHANNEL_R', 'SVG_CHANNEL_UNKNOWN']); dart.defineLazy(svg$.FEDisplacementMapElement, { /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { return 4; @@ -108342,9 +118508,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDistantLightElement.__(); + } static new() { return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); } + static ['_#new#tearOff']() { + return svg$.FEDistantLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDistantLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); } @@ -108361,17 +118536,28 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEDistantLightElement.prototype; dart.addTypeTests(svg$.FEDistantLightElement); dart.addTypeCaches(svg$.FEDistantLightElement); + dart.setStaticMethodSignature(svg$.FEDistantLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) })); - dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); + dart.setStaticGetterSignature(svg$.FEDistantLightElement, () => ['supported']); + dart.setLibraryUri(svg$.FEDistantLightElement, I[159]); dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEFloodElement.__(); + } static new() { return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); } + static ['_#new#tearOff']() { + return svg$.FEFloodElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFloodElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); } @@ -108398,6 +118584,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEFloodElement); dart.addTypeCaches(svg$.FEFloodElement); svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEFloodElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEFloodElement, () => ({ __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108406,21 +118593,36 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEFloodElement, I[157]); + dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); + dart.setLibraryUri(svg$.FEFloodElement, I[159]); dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); - svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; + svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGComponentTransferFunctionElement.__(); + } + }; (svg$._SVGComponentTransferFunctionElement.created = function() { svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); ; }).prototype = svg$._SVGComponentTransferFunctionElement.prototype; dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); - dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); + dart.setStaticMethodSignature(svg$._SVGComponentTransferFunctionElement, () => ['__']); + dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[159]); dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncAElement.__(); + } static new() { return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); } + static ['_#new#tearOff']() { + return svg$.FEFuncAElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncAElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); } @@ -108431,12 +118633,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEFuncAElement.prototype; dart.addTypeTests(svg$.FEFuncAElement); dart.addTypeCaches(svg$.FEFuncAElement); - dart.setLibraryUri(svg$.FEFuncAElement, I[157]); + dart.setStaticMethodSignature(svg$.FEFuncAElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.FEFuncAElement, () => ['supported']); + dart.setLibraryUri(svg$.FEFuncAElement, I[159]); dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncBElement.__(); + } static new() { return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); } + static ['_#new#tearOff']() { + return svg$.FEFuncBElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncBElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); } @@ -108447,12 +118660,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEFuncBElement.prototype; dart.addTypeTests(svg$.FEFuncBElement); dart.addTypeCaches(svg$.FEFuncBElement); - dart.setLibraryUri(svg$.FEFuncBElement, I[157]); + dart.setStaticMethodSignature(svg$.FEFuncBElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.FEFuncBElement, () => ['supported']); + dart.setLibraryUri(svg$.FEFuncBElement, I[159]); dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncGElement.__(); + } static new() { return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); } + static ['_#new#tearOff']() { + return svg$.FEFuncGElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncGElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); } @@ -108463,12 +118687,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEFuncGElement.prototype; dart.addTypeTests(svg$.FEFuncGElement); dart.addTypeCaches(svg$.FEFuncGElement); - dart.setLibraryUri(svg$.FEFuncGElement, I[157]); + dart.setStaticMethodSignature(svg$.FEFuncGElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.FEFuncGElement, () => ['supported']); + dart.setLibraryUri(svg$.FEFuncGElement, I[159]); dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncRElement.__(); + } static new() { return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); } + static ['_#new#tearOff']() { + return svg$.FEFuncRElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncRElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); } @@ -108479,12 +118714,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEFuncRElement.prototype; dart.addTypeTests(svg$.FEFuncRElement); dart.addTypeCaches(svg$.FEFuncRElement); - dart.setLibraryUri(svg$.FEFuncRElement, I[157]); + dart.setStaticMethodSignature(svg$.FEFuncRElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.FEFuncRElement, () => ['supported']); + dart.setLibraryUri(svg$.FEFuncRElement, I[159]); dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEGaussianBlurElement.__(); + } static new() { return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); } + static ['_#new#tearOff']() { + return svg$.FEGaussianBlurElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEGaussianBlurElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); } @@ -108527,6 +118773,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) })); + dart.setStaticMethodSignature(svg$.FEGaussianBlurElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108538,12 +118785,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); + dart.setStaticGetterSignature(svg$.FEGaussianBlurElement, () => ['supported']); + dart.setLibraryUri(svg$.FEGaussianBlurElement, I[159]); dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEImageElement.__(); + } static new() { return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); } + static ['_#new#tearOff']() { + return svg$.FEImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEImageElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); } @@ -108576,6 +118833,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEImageElement); dart.addTypeCaches(svg$.FEImageElement); svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; + dart.setStaticMethodSignature(svg$.FEImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEImageElement, () => ({ __proto__: dart.getGetters(svg$.FEImageElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -108586,12 +118844,22 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.FEImageElement, I[157]); + dart.setStaticGetterSignature(svg$.FEImageElement, () => ['supported']); + dart.setLibraryUri(svg$.FEImageElement, I[159]); dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeElement.__(); + } static new() { return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); } + static ['_#new#tearOff']() { + return svg$.FEMergeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); } @@ -108618,6 +118886,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEMergeElement); dart.addTypeCaches(svg$.FEMergeElement); svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEMergeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108626,12 +118895,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEMergeElement, I[157]); + dart.setStaticGetterSignature(svg$.FEMergeElement, () => ['supported']); + dart.setLibraryUri(svg$.FEMergeElement, I[159]); dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeNodeElement.__(); + } static new() { return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); } + static ['_#new#tearOff']() { + return svg$.FEMergeNodeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeNodeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); } @@ -108645,23 +118924,31 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEMergeNodeElement.prototype; dart.addTypeTests(svg$.FEMergeNodeElement); dart.addTypeCaches(svg$.FEMergeNodeElement); + dart.setStaticMethodSignature(svg$.FEMergeNodeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); + dart.setStaticGetterSignature(svg$.FEMergeNodeElement, () => ['supported']); + dart.setLibraryUri(svg$.FEMergeNodeElement, I[159]); dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMorphologyElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FEMorphologyElement.created(); + } get [S$3.$in1]() { return this.in1; } get [S$3.$operator]() { return this.operator; } - get [S$2.$radiusX]() { + get [S$3.$radiusX]() { return this.radiusX; } - get [S$2.$radiusY]() { + get [S$3.$radiusY]() { return this.radiusY; } get [$height]() { @@ -108687,19 +118974,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEMorphologyElement); dart.addTypeCaches(svg$.FEMorphologyElement); svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEMorphologyElement, () => ['__']); dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), - [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusY]: dart.nullable(svg$.AnimatedNumber), [$height]: dart.nullable(svg$.AnimatedLength), [S.$result]: dart.nullable(svg$.AnimatedString), [$width]: dart.nullable(svg$.AnimatedLength), [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); + dart.setLibraryUri(svg$.FEMorphologyElement, I[159]); + dart.setStaticFieldSignature(svg$.FEMorphologyElement, () => ['SVG_MORPHOLOGY_OPERATOR_DILATE', 'SVG_MORPHOLOGY_OPERATOR_ERODE', 'SVG_MORPHOLOGY_OPERATOR_UNKNOWN']); dart.defineLazy(svg$.FEMorphologyElement, { /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { return 2; @@ -108713,9 +119002,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEOffsetElement.__(); + } static new() { return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); } + static ['_#new#tearOff']() { + return svg$.FEOffsetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEOffsetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); } @@ -108751,6 +119049,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FEOffsetElement); dart.addTypeCaches(svg$.FEOffsetElement); svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FEOffsetElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEOffsetElement, () => ({ __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), @@ -108762,12 +119061,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FEOffsetElement, I[157]); + dart.setStaticGetterSignature(svg$.FEOffsetElement, () => ['supported']); + dart.setLibraryUri(svg$.FEOffsetElement, I[159]); dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEPointLightElement.__(); + } static new() { return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); } + static ['_#new#tearOff']() { + return svg$.FEPointLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEPointLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); } @@ -108787,18 +119096,29 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FEPointLightElement.prototype; dart.addTypeTests(svg$.FEPointLightElement); dart.addTypeCaches(svg$.FEPointLightElement); + dart.setStaticMethodSignature(svg$.FEPointLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEPointLightElement, () => ({ __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), [S$.$x]: dart.nullable(svg$.AnimatedNumber), [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); - dart.setLibraryUri(svg$.FEPointLightElement, I[157]); + dart.setStaticGetterSignature(svg$.FEPointLightElement, () => ['supported']); + dart.setLibraryUri(svg$.FEPointLightElement, I[159]); dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpecularLightingElement.__(); + } static new() { return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); } + static ['_#new#tearOff']() { + return svg$.FESpecularLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpecularLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); } @@ -108843,6 +119163,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FESpecularLightingElement); dart.addTypeCaches(svg$.FESpecularLightingElement); svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FESpecularLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108857,12 +119178,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); + dart.setStaticGetterSignature(svg$.FESpecularLightingElement, () => ['supported']); + dart.setLibraryUri(svg$.FESpecularLightingElement, I[159]); dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpotLightElement.__(); + } static new() { return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); } + static ['_#new#tearOff']() { + return svg$.FESpotLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpotLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); } @@ -108897,6 +119228,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.FESpotLightElement.prototype; dart.addTypeTests(svg$.FESpotLightElement); dart.addTypeCaches(svg$.FESpotLightElement); + dart.setStaticMethodSignature(svg$.FESpotLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpotLightElement, () => ({ __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), @@ -108908,12 +119240,22 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); - dart.setLibraryUri(svg$.FESpotLightElement, I[157]); + dart.setStaticGetterSignature(svg$.FESpotLightElement, () => ['supported']); + dart.setLibraryUri(svg$.FESpotLightElement, I[159]); dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETileElement.__(); + } static new() { return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); } + static ['_#new#tearOff']() { + return svg$.FETileElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETileElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); } @@ -108943,6 +119285,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FETileElement); dart.addTypeCaches(svg$.FETileElement); svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FETileElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETileElement, () => ({ __proto__: dart.getGetters(svg$.FETileElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108952,12 +119295,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FETileElement, I[157]); + dart.setStaticGetterSignature(svg$.FETileElement, () => ['supported']); + dart.setLibraryUri(svg$.FETileElement, I[159]); dart.registerExtension("SVGFETileElement", svg$.FETileElement); svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETurbulenceElement.__(); + } static new() { return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); } + static ['_#new#tearOff']() { + return svg$.FETurbulenceElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETurbulenceElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); } @@ -109002,6 +119355,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FETurbulenceElement); dart.addTypeCaches(svg$.FETurbulenceElement); svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setStaticMethodSignature(svg$.FETurbulenceElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), @@ -109016,7 +119370,9 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); + dart.setStaticGetterSignature(svg$.FETurbulenceElement, () => ['supported']); + dart.setLibraryUri(svg$.FETurbulenceElement, I[159]); + dart.setStaticFieldSignature(svg$.FETurbulenceElement, () => ['SVG_STITCHTYPE_NOSTITCH', 'SVG_STITCHTYPE_STITCH', 'SVG_STITCHTYPE_UNKNOWN', 'SVG_TURBULENCE_TYPE_FRACTALNOISE', 'SVG_TURBULENCE_TYPE_TURBULENCE', 'SVG_TURBULENCE_TYPE_UNKNOWN']); dart.defineLazy(svg$.FETurbulenceElement, { /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { return 2; @@ -109039,9 +119395,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FilterElement.__(); + } static new() { return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); } + static ['_#new#tearOff']() { + return svg$.FilterElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FilterElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); } @@ -109074,6 +119439,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.FilterElement); dart.addTypeCaches(svg$.FilterElement); svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$.FilterElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FilterElement, () => ({ __proto__: dart.getGetters(svg$.FilterElement.__proto__), [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), @@ -109084,9 +119450,13 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.FilterElement, I[157]); + dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); + dart.setLibraryUri(svg$.FilterElement, I[159]); dart.registerExtension("SVGFilterElement", svg$.FilterElement); - svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { + svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FilterPrimitiveStandardAttributes.__(); + } get height() { return this.height; } @@ -109105,6 +119475,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); + dart.setStaticMethodSignature(svg$.FilterPrimitiveStandardAttributes, () => ['__']); dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), height: dart.nullable(svg$.AnimatedLength), @@ -109118,7 +119489,7 @@ define([], (function load__dart_sdk() { y: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); + dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ 'height', 'result', @@ -109126,7 +119497,10 @@ define([], (function load__dart_sdk() { 'x', 'y' ]); - svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { + svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FitToViewBox.__(); + } get preserveAspectRatio() { return this.preserveAspectRatio; } @@ -109136,6 +119510,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.FitToViewBox); dart.addTypeCaches(svg$.FitToViewBox); + dart.setStaticMethodSignature(svg$.FitToViewBox, () => ['__']); dart.setGetterSignature(svg$.FitToViewBox, () => ({ __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -109143,12 +119518,21 @@ define([], (function load__dart_sdk() { viewBox: dart.nullable(svg$.AnimatedRect), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); - dart.setLibraryUri(svg$.FitToViewBox, I[157]); + dart.setLibraryUri(svg$.FitToViewBox, I[159]); dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ForeignObjectElement.__(); + } static new() { return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); } + static ['_#new#tearOff']() { + return svg$.ForeignObjectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ForeignObjectElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); } @@ -109171,6 +119555,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.ForeignObjectElement.prototype; dart.addTypeTests(svg$.ForeignObjectElement); dart.addTypeCaches(svg$.ForeignObjectElement); + dart.setStaticMethodSignature(svg$.ForeignObjectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109178,12 +119563,22 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); + dart.setStaticGetterSignature(svg$.ForeignObjectElement, () => ['supported']); + dart.setLibraryUri(svg$.ForeignObjectElement, I[159]); dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); svg$.GElement = class GElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GElement.__(); + } static new() { return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); } + static ['_#new#tearOff']() { + return svg$.GElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.GElement.created(); + } }; (svg$.GElement.created = function() { svg$.GElement.__proto__.created.call(this); @@ -109191,12 +119586,22 @@ define([], (function load__dart_sdk() { }).prototype = svg$.GElement.prototype; dart.addTypeTests(svg$.GElement); dart.addTypeCaches(svg$.GElement); - dart.setLibraryUri(svg$.GElement, I[157]); + dart.setStaticMethodSignature(svg$.GElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.GElement, I[159]); dart.registerExtension("SVGGElement", svg$.GElement); svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ImageElement.__(); + } static new() { return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); } + static ['_#new#tearOff']() { + return svg$.ImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ImageElement.created(); + } get [S$1.$async]() { return this.async; } @@ -109236,6 +119641,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(svg$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(svg$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ImageElement, () => ({ __proto__: dart.getGetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String), @@ -109250,9 +119656,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String) })); - dart.setLibraryUri(svg$.ImageElement, I[157]); + dart.setLibraryUri(svg$.ImageElement, I[159]); dart.registerExtension("SVGImageElement", svg$.ImageElement); - svg$.Length = class Length extends _interceptors.Interceptor { + svg$.Length = class Length extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Length.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -109288,6 +119697,7 @@ define([], (function load__dart_sdk() { [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); + dart.setStaticMethodSignature(svg$.Length, () => ['__']); dart.setGetterSignature(svg$.Length, () => ({ __proto__: dart.getGetters(svg$.Length.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -109301,7 +119711,8 @@ define([], (function load__dart_sdk() { [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Length, I[157]); + dart.setLibraryUri(svg$.Length, I[159]); + dart.setStaticFieldSignature(svg$.Length, () => ['SVG_LENGTHTYPE_CM', 'SVG_LENGTHTYPE_EMS', 'SVG_LENGTHTYPE_EXS', 'SVG_LENGTHTYPE_IN', 'SVG_LENGTHTYPE_MM', 'SVG_LENGTHTYPE_NUMBER', 'SVG_LENGTHTYPE_PC', 'SVG_LENGTHTYPE_PERCENTAGE', 'SVG_LENGTHTYPE_PT', 'SVG_LENGTHTYPE_PX', 'SVG_LENGTHTYPE_UNKNOWN']); dart.defineLazy(svg$.Length, { /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { return 6; @@ -109338,17 +119749,20 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("SVGLength", svg$.Length); - const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$13.new = function() { - Interceptor_ListMixin$36$13.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$13.prototype; - dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); - const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; - (Interceptor_ImmutableListMixin$36$13.new = function() { - Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$13.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); - svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { + const JavaScriptObject_ListMixin$36$13 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$13.new = function() { + JavaScriptObject_ListMixin$36$13.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$13.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$13, collection.ListMixin$(svg$.Length)); + const JavaScriptObject_ImmutableListMixin$36$13 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$13 {}; + (JavaScriptObject_ImmutableListMixin$36$13.new = function() { + JavaScriptObject_ImmutableListMixin$36$13.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$13.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); + svg$.LengthList = class LengthList extends JavaScriptObject_ImmutableListMixin$36$13 { + static ['_#_#tearOff']() { + return svg$.LengthList.__(); + } get [$length]() { return this.length; } @@ -109356,20 +119770,20 @@ define([], (function load__dart_sdk() { return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2059, 25, "index"); svg$.Length.as(value); - if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2059, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2065, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109400,7 +119814,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2093, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109444,6 +119858,7 @@ define([], (function load__dart_sdk() { [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) })); + dart.setStaticMethodSignature(svg$.LengthList, () => ['__']); dart.setGetterSignature(svg$.LengthList, () => ({ __proto__: dart.getGetters(svg$.LengthList.__proto__), [$length]: core.int, @@ -109453,12 +119868,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.LengthList.__proto__), [$length]: core.int })); - dart.setLibraryUri(svg$.LengthList, I[157]); + dart.setLibraryUri(svg$.LengthList, I[159]); dart.registerExtension("SVGLengthList", svg$.LengthList); svg$.LineElement = class LineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.LineElement.__(); + } static new() { return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); } + static ['_#new#tearOff']() { + return svg$.LineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LineElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109478,6 +119902,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.LineElement.prototype; dart.addTypeTests(svg$.LineElement); dart.addTypeCaches(svg$.LineElement); + dart.setStaticMethodSignature(svg$.LineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LineElement, () => ({ __proto__: dart.getGetters(svg$.LineElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109485,9 +119910,15 @@ define([], (function load__dart_sdk() { [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.LineElement, I[157]); + dart.setLibraryUri(svg$.LineElement, I[159]); dart.registerExtension("SVGLineElement", svg$.LineElement); svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._GradientElement.__(); + } + static ['_#created#tearOff']() { + return new svg$._GradientElement.created(); + } get [S$3.$gradientTransform]() { return this.gradientTransform; } @@ -109508,6 +119939,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$._GradientElement); dart.addTypeCaches(svg$._GradientElement); svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$._GradientElement, () => ['__']); dart.setGetterSignature(svg$._GradientElement, () => ({ __proto__: dart.getGetters(svg$._GradientElement.__proto__), [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), @@ -109515,7 +119947,8 @@ define([], (function load__dart_sdk() { [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$._GradientElement, I[157]); + dart.setLibraryUri(svg$._GradientElement, I[159]); + dart.setStaticFieldSignature(svg$._GradientElement, () => ['SVG_SPREADMETHOD_PAD', 'SVG_SPREADMETHOD_REFLECT', 'SVG_SPREADMETHOD_REPEAT', 'SVG_SPREADMETHOD_UNKNOWN']); dart.defineLazy(svg$._GradientElement, { /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { return 1; @@ -109532,9 +119965,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGGradientElement", svg$._GradientElement); svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.LinearGradientElement.__(); + } static new() { return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); } + static ['_#new#tearOff']() { + return svg$.LinearGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LinearGradientElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109554,6 +119996,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.LinearGradientElement.prototype; dart.addTypeTests(svg$.LinearGradientElement); dart.addTypeCaches(svg$.LinearGradientElement); + dart.setStaticMethodSignature(svg$.LinearGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LinearGradientElement, () => ({ __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109561,12 +120004,21 @@ define([], (function load__dart_sdk() { [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.LinearGradientElement, I[157]); + dart.setLibraryUri(svg$.LinearGradientElement, I[159]); dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MarkerElement.__(); + } static new() { return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); } + static ['_#new#tearOff']() { + return svg$.MarkerElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MarkerElement.created(); + } get [S$3.$markerHeight]() { return this.markerHeight; } @@ -109613,6 +120065,7 @@ define([], (function load__dart_sdk() { [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(svg$.MarkerElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MarkerElement, () => ({ __proto__: dart.getGetters(svg$.MarkerElement.__proto__), [S$3.$markerHeight]: svg$.AnimatedLength, @@ -109625,7 +120078,8 @@ define([], (function load__dart_sdk() { [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); - dart.setLibraryUri(svg$.MarkerElement, I[157]); + dart.setLibraryUri(svg$.MarkerElement, I[159]); + dart.setStaticFieldSignature(svg$.MarkerElement, () => ['SVG_MARKERUNITS_STROKEWIDTH', 'SVG_MARKERUNITS_UNKNOWN', 'SVG_MARKERUNITS_USERSPACEONUSE', 'SVG_MARKER_ORIENT_ANGLE', 'SVG_MARKER_ORIENT_AUTO', 'SVG_MARKER_ORIENT_UNKNOWN']); dart.defineLazy(svg$.MarkerElement, { /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { return 2; @@ -109648,9 +120102,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MaskElement.__(); + } static new() { return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); } + static ['_#new#tearOff']() { + return svg$.MaskElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MaskElement.created(); + } get [$height]() { return this.height; } @@ -109683,6 +120146,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.MaskElement); dart.addTypeCaches(svg$.MaskElement); svg$.MaskElement[dart.implements] = () => [svg$.Tests]; + dart.setStaticMethodSignature(svg$.MaskElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MaskElement, () => ({ __proto__: dart.getGetters(svg$.MaskElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109694,9 +120158,12 @@ define([], (function load__dart_sdk() { [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); - dart.setLibraryUri(svg$.MaskElement, I[157]); + dart.setLibraryUri(svg$.MaskElement, I[159]); dart.registerExtension("SVGMaskElement", svg$.MaskElement); - svg$.Matrix = class Matrix extends _interceptors.Interceptor { + svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Matrix.__(); + } get [S$1.$a]() { return this.a; } @@ -109783,6 +120250,7 @@ define([], (function load__dart_sdk() { [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) })); + dart.setStaticMethodSignature(svg$.Matrix, () => ['__']); dart.setGetterSignature(svg$.Matrix, () => ({ __proto__: dart.getGetters(svg$.Matrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -109801,18 +120269,29 @@ define([], (function load__dart_sdk() { [S$1.$e]: dart.nullable(core.num), [S$1.$f]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Matrix, I[157]); + dart.setLibraryUri(svg$.Matrix, I[159]); dart.registerExtension("SVGMatrix", svg$.Matrix); - svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; + svg$.MetadataElement = class MetadataElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MetadataElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.MetadataElement.created(); + } + }; (svg$.MetadataElement.created = function() { svg$.MetadataElement.__proto__.created.call(this); ; }).prototype = svg$.MetadataElement.prototype; dart.addTypeTests(svg$.MetadataElement); dart.addTypeCaches(svg$.MetadataElement); - dart.setLibraryUri(svg$.MetadataElement, I[157]); + dart.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); + dart.setLibraryUri(svg$.MetadataElement, I[159]); dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); - svg$.Number = class Number extends _interceptors.Interceptor { + svg$.Number = class Number extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Number.__(); + } get [S.$value]() { return this.value; } @@ -109822,6 +120301,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.Number); dart.addTypeCaches(svg$.Number); + dart.setStaticMethodSignature(svg$.Number, () => ['__']); dart.setGetterSignature(svg$.Number, () => ({ __proto__: dart.getGetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) @@ -109830,19 +120310,22 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Number, I[157]); + dart.setLibraryUri(svg$.Number, I[159]); dart.registerExtension("SVGNumber", svg$.Number); - const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$14.new = function() { - Interceptor_ListMixin$36$14.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$14.prototype; - dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); - const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; - (Interceptor_ImmutableListMixin$36$14.new = function() { - Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$14.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); - svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { + const JavaScriptObject_ListMixin$36$14 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$14.new = function() { + JavaScriptObject_ListMixin$36$14.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$14.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$14, collection.ListMixin$(svg$.Number)); + const JavaScriptObject_ImmutableListMixin$36$14 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$14 {}; + (JavaScriptObject_ImmutableListMixin$36$14.new = function() { + JavaScriptObject_ImmutableListMixin$36$14.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$14.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); + svg$.NumberList = class NumberList extends JavaScriptObject_ImmutableListMixin$36$14 { + static ['_#_#tearOff']() { + return svg$.NumberList.__(); + } get [$length]() { return this.length; } @@ -109850,20 +120333,20 @@ define([], (function load__dart_sdk() { return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2384, 25, "index"); svg$.Number.as(value); - if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2384, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2390, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109894,7 +120377,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2418, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109938,6 +120421,7 @@ define([], (function load__dart_sdk() { [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) })); + dart.setStaticMethodSignature(svg$.NumberList, () => ['__']); dart.setGetterSignature(svg$.NumberList, () => ({ __proto__: dart.getGetters(svg$.NumberList.__proto__), [$length]: core.int, @@ -109947,12 +120431,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.NumberList.__proto__), [$length]: core.int })); - dart.setLibraryUri(svg$.NumberList, I[157]); + dart.setLibraryUri(svg$.NumberList, I[159]); dart.registerExtension("SVGNumberList", svg$.NumberList); svg$.PathElement = class PathElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PathElement.__(); + } static new() { return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); } + static ['_#new#tearOff']() { + return svg$.PathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PathElement.created(); + } }; (svg$.PathElement.created = function() { svg$.PathElement.__proto__.created.call(this); @@ -109960,12 +120453,22 @@ define([], (function load__dart_sdk() { }).prototype = svg$.PathElement.prototype; dart.addTypeTests(svg$.PathElement); dart.addTypeCaches(svg$.PathElement); - dart.setLibraryUri(svg$.PathElement, I[157]); + dart.setStaticMethodSignature(svg$.PathElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.PathElement, I[159]); dart.registerExtension("SVGPathElement", svg$.PathElement); svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.PatternElement.__(); + } static new() { return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); } + static ['_#new#tearOff']() { + return svg$.PatternElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PatternElement.created(); + } get [$height]() { return this.height; } @@ -110010,6 +120513,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.PatternElement); dart.addTypeCaches(svg$.PatternElement); svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; + dart.setStaticMethodSignature(svg$.PatternElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PatternElement, () => ({ __proto__: dart.getGetters(svg$.PatternElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110025,9 +120529,12 @@ define([], (function load__dart_sdk() { [S$3.$systemLanguage]: dart.nullable(svg$.StringList), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.PatternElement, I[157]); + dart.setLibraryUri(svg$.PatternElement, I[159]); dart.registerExtension("SVGPatternElement", svg$.PatternElement); - svg$.Point = class Point extends _interceptors.Interceptor { + svg$.Point = class Point extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Point.__(); + } get [S$.$x]() { return this.x; } @@ -110050,6 +120557,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(svg$.Point.__proto__), [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) })); + dart.setStaticMethodSignature(svg$.Point, () => ['__']); dart.setGetterSignature(svg$.Point, () => ({ __proto__: dart.getGetters(svg$.Point.__proto__), [S$.$x]: dart.nullable(core.num), @@ -110060,9 +120568,12 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Point, I[157]); + dart.setLibraryUri(svg$.Point, I[159]); dart.registerExtension("SVGPoint", svg$.Point); - svg$.PointList = class PointList extends _interceptors.Interceptor { + svg$.PointList = class PointList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PointList.__(); + } get [$length]() { return this.length; } @@ -110107,17 +120618,27 @@ define([], (function load__dart_sdk() { [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) })); + dart.setStaticMethodSignature(svg$.PointList, () => ['__']); dart.setGetterSignature(svg$.PointList, () => ({ __proto__: dart.getGetters(svg$.PointList.__proto__), [$length]: dart.nullable(core.int), [S$3.$numberOfItems]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.PointList, I[157]); + dart.setLibraryUri(svg$.PointList, I[159]); dart.registerExtension("SVGPointList", svg$.PointList); svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolygonElement.__(); + } static new() { return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); } + static ['_#new#tearOff']() { + return svg$.PolygonElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolygonElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110131,17 +120652,27 @@ define([], (function load__dart_sdk() { }).prototype = svg$.PolygonElement.prototype; dart.addTypeTests(svg$.PolygonElement); dart.addTypeCaches(svg$.PolygonElement); + dart.setStaticMethodSignature(svg$.PolygonElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolygonElement, () => ({ __proto__: dart.getGetters(svg$.PolygonElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); - dart.setLibraryUri(svg$.PolygonElement, I[157]); + dart.setLibraryUri(svg$.PolygonElement, I[159]); dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolylineElement.__(); + } static new() { return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); } + static ['_#new#tearOff']() { + return svg$.PolylineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolylineElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110155,14 +120686,18 @@ define([], (function load__dart_sdk() { }).prototype = svg$.PolylineElement.prototype; dart.addTypeTests(svg$.PolylineElement); dart.addTypeCaches(svg$.PolylineElement); + dart.setStaticMethodSignature(svg$.PolylineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolylineElement, () => ({ __proto__: dart.getGetters(svg$.PolylineElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); - dart.setLibraryUri(svg$.PolylineElement, I[157]); + dart.setLibraryUri(svg$.PolylineElement, I[159]); dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); - svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { + svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PreserveAspectRatio.__(); + } get [S$3.$align]() { return this.align; } @@ -110178,6 +120713,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.PreserveAspectRatio); dart.addTypeCaches(svg$.PreserveAspectRatio); + dart.setStaticMethodSignature(svg$.PreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), [S$3.$align]: dart.nullable(core.int), @@ -110188,7 +120724,8 @@ define([], (function load__dart_sdk() { [S$3.$align]: dart.nullable(core.int), [S$3.$meetOrSlice]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); + dart.setLibraryUri(svg$.PreserveAspectRatio, I[159]); + dart.setStaticFieldSignature(svg$.PreserveAspectRatio, () => ['SVG_MEETORSLICE_MEET', 'SVG_MEETORSLICE_SLICE', 'SVG_MEETORSLICE_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_NONE', 'SVG_PRESERVEASPECTRATIO_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_XMAXYMAX', 'SVG_PRESERVEASPECTRATIO_XMAXYMID', 'SVG_PRESERVEASPECTRATIO_XMAXYMIN', 'SVG_PRESERVEASPECTRATIO_XMIDYMAX', 'SVG_PRESERVEASPECTRATIO_XMIDYMID', 'SVG_PRESERVEASPECTRATIO_XMIDYMIN', 'SVG_PRESERVEASPECTRATIO_XMINYMAX', 'SVG_PRESERVEASPECTRATIO_XMINYMID', 'SVG_PRESERVEASPECTRATIO_XMINYMIN']); dart.defineLazy(svg$.PreserveAspectRatio, { /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { return 1; @@ -110235,9 +120772,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.RadialGradientElement.__(); + } static new() { return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); } + static ['_#new#tearOff']() { + return svg$.RadialGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RadialGradientElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -110263,6 +120809,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.RadialGradientElement.prototype; dart.addTypeTests(svg$.RadialGradientElement); dart.addTypeCaches(svg$.RadialGradientElement); + dart.setStaticMethodSignature(svg$.RadialGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RadialGradientElement, () => ({ __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -110272,9 +120819,12 @@ define([], (function load__dart_sdk() { [S$3.$fy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.RadialGradientElement, I[157]); + dart.setLibraryUri(svg$.RadialGradientElement, I[159]); dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); - svg$.Rect = class Rect extends _interceptors.Interceptor { + svg$.Rect = class Rect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Rect.__(); + } get [$height]() { return this.height; } @@ -110302,6 +120852,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.Rect); dart.addTypeCaches(svg$.Rect); + dart.setStaticMethodSignature(svg$.Rect, () => ['__']); dart.setGetterSignature(svg$.Rect, () => ({ __proto__: dart.getGetters(svg$.Rect.__proto__), [$height]: dart.nullable(core.num), @@ -110316,12 +120867,21 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); - dart.setLibraryUri(svg$.Rect, I[157]); + dart.setLibraryUri(svg$.Rect, I[159]); dart.registerExtension("SVGRect", svg$.Rect); svg$.RectElement = class RectElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.RectElement.__(); + } static new() { return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); } + static ['_#new#tearOff']() { + return svg$.RectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RectElement.created(); + } get [$height]() { return this.height; } @@ -110347,6 +120907,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.RectElement.prototype; dart.addTypeTests(svg$.RectElement); dart.addTypeCaches(svg$.RectElement); + dart.setStaticMethodSignature(svg$.RectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RectElement, () => ({ __proto__: dart.getGetters(svg$.RectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110356,12 +120917,21 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.RectElement, I[157]); + dart.setLibraryUri(svg$.RectElement, I[159]); dart.registerExtension("SVGRectElement", svg$.RectElement); svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ScriptElement.__(); + } static new() { return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); } + static ['_#new#tearOff']() { + return svg$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ScriptElement.created(); + } get [S.$type]() { return this.type; } @@ -110379,6 +120949,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.ScriptElement); dart.addTypeCaches(svg$.ScriptElement); svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ScriptElement, () => ({ __proto__: dart.getGetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String), @@ -110388,12 +120959,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(svg$.ScriptElement, I[157]); + dart.setLibraryUri(svg$.ScriptElement, I[159]); dart.registerExtension("SVGScriptElement", svg$.ScriptElement); svg$.SetElement = class SetElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.SetElement.__(); + } static new() { return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); } + static ['_#new#tearOff']() { + return svg$.SetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); } @@ -110404,12 +120984,23 @@ define([], (function load__dart_sdk() { }).prototype = svg$.SetElement.prototype; dart.addTypeTests(svg$.SetElement); dart.addTypeCaches(svg$.SetElement); - dart.setLibraryUri(svg$.SetElement, I[157]); + dart.setStaticMethodSignature(svg$.SetElement, () => ['__', 'new']); + dart.setStaticGetterSignature(svg$.SetElement, () => ['supported']); + dart.setLibraryUri(svg$.SetElement, I[159]); dart.registerExtension("SVGSetElement", svg$.SetElement); svg$.StopElement = class StopElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StopElement.__(); + } static new() { return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); } + static ['_#new#tearOff']() { + return svg$.StopElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StopElement.created(); + } get [S$3.$gradientOffset]() { return this.offset; } @@ -110420,23 +121011,27 @@ define([], (function load__dart_sdk() { }).prototype = svg$.StopElement.prototype; dart.addTypeTests(svg$.StopElement); dart.addTypeCaches(svg$.StopElement); + dart.setStaticMethodSignature(svg$.StopElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StopElement, () => ({ __proto__: dart.getGetters(svg$.StopElement.__proto__), [S$3.$gradientOffset]: svg$.AnimatedNumber })); - dart.setLibraryUri(svg$.StopElement, I[157]); + dart.setLibraryUri(svg$.StopElement, I[159]); dart.registerExtension("SVGStopElement", svg$.StopElement); - const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$15.new = function() { - Interceptor_ListMixin$36$15.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$15.prototype; - dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); - const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; - (Interceptor_ImmutableListMixin$36$15.new = function() { - Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$15.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); - svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { + const JavaScriptObject_ListMixin$36$15 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$15.new = function() { + JavaScriptObject_ListMixin$36$15.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$15.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$15, collection.ListMixin$(core.String)); + const JavaScriptObject_ImmutableListMixin$36$15 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$15 {}; + (JavaScriptObject_ImmutableListMixin$36$15.new = function() { + JavaScriptObject_ImmutableListMixin$36$15.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$15.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); + svg$.StringList = class StringList extends JavaScriptObject_ImmutableListMixin$36$15 { + static ['_#_#tearOff']() { + return svg$.StringList.__(); + } get [$length]() { return this.length; } @@ -110444,20 +121039,20 @@ define([], (function load__dart_sdk() { return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2867, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2867, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2873, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -110488,7 +121083,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2901, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -110532,6 +121127,7 @@ define([], (function load__dart_sdk() { [S$3.$removeItem]: dart.fnType(core.String, [core.int]), [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) })); + dart.setStaticMethodSignature(svg$.StringList, () => ['__']); dart.setGetterSignature(svg$.StringList, () => ({ __proto__: dart.getGetters(svg$.StringList.__proto__), [$length]: core.int, @@ -110541,12 +121137,21 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.StringList.__proto__), [$length]: core.int })); - dart.setLibraryUri(svg$.StringList, I[157]); + dart.setLibraryUri(svg$.StringList, I[159]); dart.registerExtension("SVGStringList", svg$.StringList); svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StyleElement.__(); + } static new() { return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); } + static ['_#new#tearOff']() { + return svg$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -110575,6 +121180,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.StyleElement.prototype; dart.addTypeTests(svg$.StyleElement); dart.addTypeCaches(svg$.StyleElement); + dart.setStaticMethodSignature(svg$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StyleElement, () => ({ __proto__: dart.getGetters(svg$.StyleElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -110588,11 +121194,15 @@ define([], (function load__dart_sdk() { [S$.$media]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(svg$.StyleElement, I[157]); + dart.setLibraryUri(svg$.StyleElement, I[159]); dart.registerExtension("SVGStyleElement", svg$.StyleElement); svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + return new svg$.AttributeClassSet.new(_element); + } readClasses() { - let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + let classname = this[S$3._element$1][S.$attributes][$_get]("class"); if (svg$.AnimatedString.is(classname)) { classname = svg$.AnimatedString.as(classname).baseVal; } @@ -110609,13 +121219,13 @@ define([], (function load__dart_sdk() { return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); - this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + if (s == null) dart.nullFailed(I[158], 2986, 25, "s"); + this[S$3._element$1][S.$setAttribute]("class", s[$join](" ")); } }; (svg$.AttributeClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); - this[S$3._element$3] = _element; + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + this[S$3._element$1] = _element; ; }).prototype = svg$.AttributeClassSet.prototype; dart.addTypeTests(svg$.AttributeClassSet); @@ -110625,17 +121235,26 @@ define([], (function load__dart_sdk() { readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set]) })); - dart.setLibraryUri(svg$.AttributeClassSet, I[157]); + dart.setLibraryUri(svg$.AttributeClassSet, I[159]); dart.setFieldSignature(svg$.AttributeClassSet, () => ({ __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [S$3._element$3]: dart.finalFieldType(html$.Element) + [S$3._element$1]: dart.finalFieldType(html$.Element) })); svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static ['_#new#tearOff']() { + return svg$.SvgSvgElement.new(); + } static new() { let el = svg$.SvgElement.tag("svg"); el[S.$attributes][$_set]("version", "1.1"); return svg$.SvgSvgElement.as(el); } + static ['_#_#tearOff']() { + return svg$.SvgSvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgSvgElement.created(); + } get [S$3.$currentScale]() { return this.currentScale; } @@ -110772,6 +121391,7 @@ define([], (function load__dart_sdk() { [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(svg$.SvgSvgElement, () => ['new', '__']); dart.setGetterSignature(svg$.SvgSvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), [S$3.$currentScale]: dart.nullable(core.num), @@ -110789,12 +121409,21 @@ define([], (function load__dart_sdk() { [S$3.$currentScale]: dart.nullable(core.num), [S$3.$zoomAndPan]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.SvgSvgElement, I[157]); + dart.setLibraryUri(svg$.SvgSvgElement, I[159]); dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.SwitchElement.__(); + } static new() { return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); } + static ['_#new#tearOff']() { + return svg$.SwitchElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SwitchElement.created(); + } }; (svg$.SwitchElement.created = function() { svg$.SwitchElement.__proto__.created.call(this); @@ -110802,12 +121431,22 @@ define([], (function load__dart_sdk() { }).prototype = svg$.SwitchElement.prototype; dart.addTypeTests(svg$.SwitchElement); dart.addTypeCaches(svg$.SwitchElement); - dart.setLibraryUri(svg$.SwitchElement, I[157]); + dart.setStaticMethodSignature(svg$.SwitchElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.SwitchElement, I[159]); dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.SymbolElement.__(); + } static new() { return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); } + static ['_#new#tearOff']() { + return svg$.SymbolElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SymbolElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -110822,14 +121461,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.SymbolElement); dart.addTypeCaches(svg$.SymbolElement); svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; + dart.setStaticMethodSignature(svg$.SymbolElement, () => ['__', 'new']); dart.setGetterSignature(svg$.SymbolElement, () => ({ __proto__: dart.getGetters(svg$.SymbolElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); - dart.setLibraryUri(svg$.SymbolElement, I[157]); + dart.setLibraryUri(svg$.SymbolElement, I[159]); dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.TextContentElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextContentElement.created(); + } get [S$3.$lengthAdjust]() { return this.lengthAdjust; } @@ -110882,12 +121528,14 @@ define([], (function load__dart_sdk() { [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) })); + dart.setStaticMethodSignature(svg$.TextContentElement, () => ['__']); dart.setGetterSignature(svg$.TextContentElement, () => ({ __proto__: dart.getGetters(svg$.TextContentElement.__proto__), [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) })); - dart.setLibraryUri(svg$.TextContentElement, I[157]); + dart.setLibraryUri(svg$.TextContentElement, I[159]); + dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); dart.defineLazy(svg$.TextContentElement, { /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { return 1; @@ -110901,6 +121549,12 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPositioningElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPositioningElement.created(); + } get [S$3.$dx]() { return this.dx; } @@ -110923,6 +121577,7 @@ define([], (function load__dart_sdk() { }).prototype = svg$.TextPositioningElement.prototype; dart.addTypeTests(svg$.TextPositioningElement); dart.addTypeCaches(svg$.TextPositioningElement); + dart.setStaticMethodSignature(svg$.TextPositioningElement, () => ['__']); dart.setGetterSignature(svg$.TextPositioningElement, () => ({ __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), @@ -110931,12 +121586,21 @@ define([], (function load__dart_sdk() { [S$.$x]: dart.nullable(svg$.AnimatedLengthList), [S$.$y]: dart.nullable(svg$.AnimatedLengthList) })); - dart.setLibraryUri(svg$.TextPositioningElement, I[157]); + dart.setLibraryUri(svg$.TextPositioningElement, I[159]); dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TSpanElement.__(); + } static new() { return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); } + static ['_#new#tearOff']() { + return svg$.TSpanElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TSpanElement.created(); + } }; (svg$.TSpanElement.created = function() { svg$.TSpanElement.__proto__.created.call(this); @@ -110944,9 +121608,13 @@ define([], (function load__dart_sdk() { }).prototype = svg$.TSpanElement.prototype; dart.addTypeTests(svg$.TSpanElement); dart.addTypeCaches(svg$.TSpanElement); - dart.setLibraryUri(svg$.TSpanElement, I[157]); + dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.TSpanElement, I[159]); dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); - svg$.Tests = class Tests extends _interceptors.Interceptor { + svg$.Tests = class Tests extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Tests.__(); + } get requiredExtensions() { return this.requiredExtensions; } @@ -110956,6 +121624,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.Tests); dart.addTypeCaches(svg$.Tests); + dart.setStaticMethodSignature(svg$.Tests, () => ['__']); dart.setGetterSignature(svg$.Tests, () => ({ __proto__: dart.getGetters(svg$.Tests.__proto__), requiredExtensions: dart.nullable(svg$.StringList), @@ -110963,12 +121632,21 @@ define([], (function load__dart_sdk() { systemLanguage: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); - dart.setLibraryUri(svg$.Tests, I[157]); + dart.setLibraryUri(svg$.Tests, I[159]); dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TextElement.__(); + } static new() { return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); } + static ['_#new#tearOff']() { + return svg$.TextElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TextElement.created(); + } }; (svg$.TextElement.created = function() { svg$.TextElement.__proto__.created.call(this); @@ -110976,9 +121654,16 @@ define([], (function load__dart_sdk() { }).prototype = svg$.TextElement.prototype; dart.addTypeTests(svg$.TextElement); dart.addTypeCaches(svg$.TextElement); - dart.setLibraryUri(svg$.TextElement, I[157]); + dart.setStaticMethodSignature(svg$.TextElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.TextElement, I[159]); dart.registerExtension("SVGTextElement", svg$.TextElement); svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPathElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPathElement.created(); + } get [S$1.$method]() { return this.method; } @@ -110999,6 +121684,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.TextPathElement); dart.addTypeCaches(svg$.TextPathElement); svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$.TextPathElement, () => ['__']); dart.setGetterSignature(svg$.TextPathElement, () => ({ __proto__: dart.getGetters(svg$.TextPathElement.__proto__), [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), @@ -111006,7 +121692,8 @@ define([], (function load__dart_sdk() { [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.TextPathElement, I[157]); + dart.setLibraryUri(svg$.TextPathElement, I[159]); + dart.setStaticFieldSignature(svg$.TextPathElement, () => ['TEXTPATH_METHODTYPE_ALIGN', 'TEXTPATH_METHODTYPE_STRETCH', 'TEXTPATH_METHODTYPE_UNKNOWN', 'TEXTPATH_SPACINGTYPE_AUTO', 'TEXTPATH_SPACINGTYPE_EXACT', 'TEXTPATH_SPACINGTYPE_UNKNOWN']); dart.defineLazy(svg$.TextPathElement, { /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { return 1; @@ -111029,9 +121716,18 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.TitleElement.__(); + } static new() { return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); } + static ['_#new#tearOff']() { + return svg$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TitleElement.created(); + } }; (svg$.TitleElement.created = function() { svg$.TitleElement.__proto__.created.call(this); @@ -111039,9 +121735,13 @@ define([], (function load__dart_sdk() { }).prototype = svg$.TitleElement.prototype; dart.addTypeTests(svg$.TitleElement); dart.addTypeCaches(svg$.TitleElement); - dart.setLibraryUri(svg$.TitleElement, I[157]); + dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); + dart.setLibraryUri(svg$.TitleElement, I[159]); dart.registerExtension("SVGTitleElement", svg$.TitleElement); - svg$.Transform = class Transform extends _interceptors.Interceptor { + svg$.Transform = class Transform extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Transform.__(); + } get [S$.$angle]() { return this.angle; } @@ -111081,13 +121781,15 @@ define([], (function load__dart_sdk() { [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) })); + dart.setStaticMethodSignature(svg$.Transform, () => ['__']); dart.setGetterSignature(svg$.Transform, () => ({ __proto__: dart.getGetters(svg$.Transform.__proto__), [S$.$angle]: dart.nullable(core.num), [S$.$matrix]: dart.nullable(svg$.Matrix), [S.$type]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.Transform, I[157]); + dart.setLibraryUri(svg$.Transform, I[159]); + dart.setStaticFieldSignature(svg$.Transform, () => ['SVG_TRANSFORM_MATRIX', 'SVG_TRANSFORM_ROTATE', 'SVG_TRANSFORM_SCALE', 'SVG_TRANSFORM_SKEWX', 'SVG_TRANSFORM_SKEWY', 'SVG_TRANSFORM_TRANSLATE', 'SVG_TRANSFORM_UNKNOWN']); dart.defineLazy(svg$.Transform, { /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { return 1; @@ -111112,17 +121814,20 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("SVGTransform", svg$.Transform); - const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$16.new = function() { - Interceptor_ListMixin$36$16.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$16.prototype; - dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); - const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; - (Interceptor_ImmutableListMixin$36$16.new = function() { - Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$16.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); - svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { + const JavaScriptObject_ListMixin$36$16 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_ListMixin$36$16.new = function() { + JavaScriptObject_ListMixin$36$16.__proto__.new.call(this); + }).prototype = JavaScriptObject_ListMixin$36$16.prototype; + dart.applyMixin(JavaScriptObject_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); + const JavaScriptObject_ImmutableListMixin$36$16 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$16 {}; + (JavaScriptObject_ImmutableListMixin$36$16.new = function() { + JavaScriptObject_ImmutableListMixin$36$16.__proto__.new.call(this); + }).prototype = JavaScriptObject_ImmutableListMixin$36$16.prototype; + dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); + svg$.TransformList = class TransformList extends JavaScriptObject_ImmutableListMixin$36$16 { + static ['_#_#tearOff']() { + return svg$.TransformList.__(); + } get [$length]() { return this.length; } @@ -111130,20 +121835,20 @@ define([], (function load__dart_sdk() { return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + if (index == null) dart.nullFailed(I[158], 3856, 25, "index"); svg$.Transform.as(value); - if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + if (value == null) dart.nullFailed(I[158], 3856, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + if (value == null) dart.nullFailed(I[158], 3862, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -111174,7 +121879,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + if (index == null) dart.nullFailed(I[158], 3890, 27, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -111226,6 +121931,7 @@ define([], (function load__dart_sdk() { [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) })); + dart.setStaticMethodSignature(svg$.TransformList, () => ['__']); dart.setGetterSignature(svg$.TransformList, () => ({ __proto__: dart.getGetters(svg$.TransformList.__proto__), [$length]: core.int, @@ -111235,12 +121941,18 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.TransformList.__proto__), [$length]: core.int })); - dart.setLibraryUri(svg$.TransformList, I[157]); + dart.setLibraryUri(svg$.TransformList, I[159]); dart.registerExtension("SVGTransformList", svg$.TransformList); - svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; + svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UnitTypes.__(); + } + }; dart.addTypeTests(svg$.UnitTypes); dart.addTypeCaches(svg$.UnitTypes); - dart.setLibraryUri(svg$.UnitTypes, I[157]); + dart.setStaticMethodSignature(svg$.UnitTypes, () => ['__']); + dart.setLibraryUri(svg$.UnitTypes, I[159]); + dart.setStaticFieldSignature(svg$.UnitTypes, () => ['SVG_UNIT_TYPE_OBJECTBOUNDINGBOX', 'SVG_UNIT_TYPE_UNKNOWN', 'SVG_UNIT_TYPE_USERSPACEONUSE']); dart.defineLazy(svg$.UnitTypes, { /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { return 2; @@ -111253,24 +121965,37 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); - svg$.UriReference = class UriReference extends _interceptors.Interceptor { + svg$.UriReference = class UriReference extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UriReference.__(); + } get href() { return this.href; } }; dart.addTypeTests(svg$.UriReference); dart.addTypeCaches(svg$.UriReference); + dart.setStaticMethodSignature(svg$.UriReference, () => ['__']); dart.setGetterSignature(svg$.UriReference, () => ({ __proto__: dart.getGetters(svg$.UriReference.__proto__), href: dart.nullable(svg$.AnimatedString), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.UriReference, I[157]); + dart.setLibraryUri(svg$.UriReference, I[159]); dart.defineExtensionAccessors(svg$.UriReference, ['href']); svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.UseElement.__(); + } static new() { return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); } + static ['_#new#tearOff']() { + return svg$.UseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.UseElement.created(); + } get [$height]() { return this.height; } @@ -111294,6 +122019,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.UseElement); dart.addTypeCaches(svg$.UseElement); svg$.UseElement[dart.implements] = () => [svg$.UriReference]; + dart.setStaticMethodSignature(svg$.UseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.UseElement, () => ({ __proto__: dart.getGetters(svg$.UseElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -111302,12 +122028,21 @@ define([], (function load__dart_sdk() { [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); - dart.setLibraryUri(svg$.UseElement, I[157]); + dart.setLibraryUri(svg$.UseElement, I[159]); dart.registerExtension("SVGUseElement", svg$.UseElement); svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ViewElement.__(); + } static new() { return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); } + static ['_#new#tearOff']() { + return svg$.ViewElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ViewElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -111328,6 +122063,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$.ViewElement); dart.addTypeCaches(svg$.ViewElement); svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; + dart.setStaticMethodSignature(svg$.ViewElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ViewElement, () => ({ __proto__: dart.getGetters(svg$.ViewElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -111338,9 +122074,12 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(svg$.ViewElement.__proto__), [S$3.$zoomAndPan]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.ViewElement, I[157]); + dart.setLibraryUri(svg$.ViewElement, I[159]); dart.registerExtension("SVGViewElement", svg$.ViewElement); - svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { + svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.ZoomAndPan.__(); + } get zoomAndPan() { return this.zoomAndPan; } @@ -111350,6 +122089,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(svg$.ZoomAndPan); dart.addTypeCaches(svg$.ZoomAndPan); + dart.setStaticMethodSignature(svg$.ZoomAndPan, () => ['__']); dart.setGetterSignature(svg$.ZoomAndPan, () => ({ __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), zoomAndPan: dart.nullable(core.int), @@ -111360,7 +122100,8 @@ define([], (function load__dart_sdk() { zoomAndPan: dart.nullable(core.int), [S$3.$zoomAndPan]: dart.nullable(core.int) })); - dart.setLibraryUri(svg$.ZoomAndPan, I[157]); + dart.setLibraryUri(svg$.ZoomAndPan, I[159]); + dart.setStaticFieldSignature(svg$.ZoomAndPan, () => ['SVG_ZOOMANDPAN_DISABLE', 'SVG_ZOOMANDPAN_MAGNIFY', 'SVG_ZOOMANDPAN_UNKNOWN']); dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); dart.defineLazy(svg$.ZoomAndPan, { /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { @@ -111373,7 +122114,11 @@ define([], (function load__dart_sdk() { return 0; } }, false); - svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; + svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGFEDropShadowElement.__(); + } + }; (svg$._SVGFEDropShadowElement.created = function() { svg$._SVGFEDropShadowElement.__proto__.created.call(this); ; @@ -111381,12 +122126,19 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$._SVGFEDropShadowElement); dart.addTypeCaches(svg$._SVGFEDropShadowElement); svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; - dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); + dart.setStaticMethodSignature(svg$._SVGFEDropShadowElement, () => ['__']); + dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[159]); dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGMPathElement.__(); + } static new() { return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); } + static ['_#new#tearOff']() { + return svg$._SVGMPathElement.new(); + } }; (svg$._SVGMPathElement.created = function() { svg$._SVGMPathElement.__proto__.created.call(this); @@ -111395,9 +122147,13 @@ define([], (function load__dart_sdk() { dart.addTypeTests(svg$._SVGMPathElement); dart.addTypeCaches(svg$._SVGMPathElement); svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; - dart.setLibraryUri(svg$._SVGMPathElement, I[157]); + dart.setStaticMethodSignature(svg$._SVGMPathElement, () => ['__', 'new']); + dart.setLibraryUri(svg$._SVGMPathElement, I[159]); dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); web_audio.AudioNode = class AudioNode extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioNode.__(); + } get [S$3.$channelCount]() { return this.channelCount; } @@ -111425,33 +122181,34 @@ define([], (function load__dart_sdk() { get [S$3.$numberOfOutputs]() { return this.numberOfOutputs; } - [S$3._connect](...args) { + [S$4._connect](...args) { return this.connect.apply(this, args); } [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$3.$connectNode](destination, output = 0, input = 0) { - if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); - if (output == null) dart.nullFailed(I[158], 333, 48, "output"); - if (input == null) dart.nullFailed(I[158], 333, 64, "input"); - this[S$3._connect](destination, output, input); + [S$4.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[160], 393, 30, "destination"); + if (output == null) dart.nullFailed(I[160], 393, 48, "output"); + if (input == null) dart.nullFailed(I[160], 393, 64, "input"); + this[S$4._connect](destination, output, input); } - [S$3.$connectParam](destination, output = 0) { - if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); - if (output == null) dart.nullFailed(I[158], 337, 50, "output"); - this[S$3._connect](destination, output); + [S$4.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[160], 397, 32, "destination"); + if (output == null) dart.nullFailed(I[160], 397, 50, "output"); + this[S$4._connect](destination, output); } }; dart.addTypeTests(web_audio.AudioNode); dart.addTypeCaches(web_audio.AudioNode); dart.setMethodSignature(web_audio.AudioNode, () => ({ __proto__: dart.getMethods(web_audio.AudioNode.__proto__), - [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4._connect]: dart.fnType(dart.nullable(web_audio.AudioNode), [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), - [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), - [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) + [S$4.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$4.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) })); + dart.setStaticMethodSignature(web_audio.AudioNode, () => ['__']); dart.setGetterSignature(web_audio.AudioNode, () => ({ __proto__: dart.getGetters(web_audio.AudioNode.__proto__), [S$3.$channelCount]: dart.nullable(core.int), @@ -111467,17 +122224,24 @@ define([], (function load__dart_sdk() { [S$3.$channelCountMode]: dart.nullable(core.String), [S$3.$channelInterpretation]: dart.nullable(core.String) })); - dart.setLibraryUri(web_audio.AudioNode, I[159]); + dart.setLibraryUri(web_audio.AudioNode, I[161]); dart.registerExtension("AudioNode", web_audio.AudioNode); web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AnalyserNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AnalyserNode._create_1(context, options_1); } return web_audio.AnalyserNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); + return web_audio.AnalyserNode.new(context, options); + } static _create_1(context, options) { return new AnalyserNode(context, options); } @@ -111533,6 +122297,7 @@ define([], (function load__dart_sdk() { [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) })); + dart.setStaticMethodSignature(web_audio.AnalyserNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AnalyserNode, () => ({ __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), [S$3.$fftSize]: dart.nullable(core.int), @@ -111548,15 +122313,22 @@ define([], (function load__dart_sdk() { [S$3.$minDecibels]: dart.nullable(core.num), [S$3.$smoothingTimeConstant]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AnalyserNode, I[159]); + dart.setLibraryUri(web_audio.AnalyserNode, I[161]); dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); - web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { + web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioBuffer.__(); + } static new(options) { - if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBuffer._create_1(options_1); } + static ['_#new#tearOff'](options) { + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); + return web_audio.AudioBuffer.new(options); + } static _create_1(options) { return new AudioBuffer(options); } @@ -111566,19 +122338,19 @@ define([], (function load__dart_sdk() { get [$length]() { return this.length; } - get [S$3.$numberOfChannels]() { + get [S$4.$numberOfChannels]() { return this.numberOfChannels; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } - [S$3.$copyFromChannel](...args) { + [S$4.$copyFromChannel](...args) { return this.copyFromChannel.apply(this, args); } - [S$3.$copyToChannel](...args) { + [S$4.$copyToChannel](...args) { return this.copyToChannel.apply(this, args); } - [S$3.$getChannelData](...args) { + [S$4.$getChannelData](...args) { return this.getChannelData.apply(this, args); } }; @@ -111586,21 +122358,25 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(web_audio.AudioBuffer); dart.setMethodSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) + [S$4.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) })); + dart.setStaticMethodSignature(web_audio.AudioBuffer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), [S$.$duration]: dart.nullable(core.num), [$length]: dart.nullable(core.int), - [S$3.$numberOfChannels]: dart.nullable(core.int), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$numberOfChannels]: dart.nullable(core.int), + [S$4.$sampleRate]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioBuffer, I[159]); + dart.setLibraryUri(web_audio.AudioBuffer, I[161]); dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - [S$3.$start2](...args) { + static ['_#_#tearOff']() { + return web_audio.AudioScheduledSourceNode.__(); + } + [S$4.$start2](...args) { return this.start.apply(this, args); } [S$.$stop](...args) { @@ -111614,29 +122390,38 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(web_audio.AudioScheduledSourceNode); dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$4.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) })); + dart.setStaticMethodSignature(web_audio.AudioScheduledSourceNode, () => ['__']); dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), [S.$onEnded]: async.Stream$(html$.Event) })); - dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); + dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[161]); + dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); dart.defineLazy(web_audio.AudioScheduledSourceNode, { /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; } }, false); dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.AudioBufferSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBufferSourceNode._create_1(context, options_1); } return web_audio.AudioBufferSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); + return web_audio.AudioBufferSourceNode.new(context, options); + } static _create_1(context, options) { return new AudioBufferSourceNode(context, options); } @@ -111649,7 +122434,7 @@ define([], (function load__dart_sdk() { set [$buffer](value) { this.buffer = value; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$.$loop]() { @@ -111658,16 +122443,16 @@ define([], (function load__dart_sdk() { set [S$.$loop](value) { this.loop = value; } - get [S$3.$loopEnd]() { + get [S$4.$loopEnd]() { return this.loopEnd; } - set [S$3.$loopEnd](value) { + set [S$4.$loopEnd](value) { this.loopEnd = value; } - get [S$3.$loopStart]() { + get [S$4.$loopStart]() { return this.loopStart; } - set [S$3.$loopStart](value) { + set [S$4.$loopStart](value) { this.loopStart = value; } get [S$.$playbackRate]() { @@ -111683,53 +122468,57 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); + dart.setStaticMethodSignature(web_audio.AudioBufferSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num), + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num), [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) })); dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num) + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); + dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[161]); dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.BaseAudioContext.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$destination]() { + get [S$4.$destination]() { return this.destination; } - get [S$3.$listener]() { + get [S$4.$listener]() { return this.listener; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } get [S$.$state]() { return this.state; } - [S$3.$createAnalyser](...args) { + [S$4.$createAnalyser](...args) { return this.createAnalyser.apply(this, args); } - [S$3.$createBiquadFilter](...args) { + [S$4.$createBiquadFilter](...args) { return this.createBiquadFilter.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } - [S$3.$createBufferSource](...args) { + [S$4.$createBufferSource](...args) { return this.createBufferSource.apply(this, args); } - [S$3.$createChannelMerger](...args) { + [S$4.$createChannelMerger](...args) { return this.createChannelMerger.apply(this, args); } [S$4.$createChannelSplitter](...args) { @@ -111747,7 +122536,7 @@ define([], (function load__dart_sdk() { [S$4.$createDynamicsCompressor](...args) { return this.createDynamicsCompressor.apply(this, args); } - [S$3.$createGain](...args) { + [S$4.$createGain](...args) { return this.createGain.apply(this, args); } [S$4.$createIirFilter](...args) { @@ -111769,8 +122558,8 @@ define([], (function load__dart_sdk() { return this.createPanner.apply(this, args); } [S$4.$createPeriodicWave](real, imag, options = null) { - if (real == null) dart.nullFailed(I[158], 658, 45, "real"); - if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (real == null) dart.nullFailed(I[160], 718, 45, "real"); + if (imag == null) dart.nullFailed(I[160], 718, 61, "imag"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$4._createPeriodicWave_1](real, imag, options_1); @@ -111783,7 +122572,7 @@ define([], (function load__dart_sdk() { [S$4._createPeriodicWave_2](...args) { return this.createPeriodicWave.apply(this, args); } - [S$3.$createScriptProcessor](...args) { + [S$4.$createScriptProcessor](...args) { return this.createScriptProcessor.apply(this, args); } [S$4.$createStereoPanner](...args) { @@ -111792,8 +122581,8 @@ define([], (function load__dart_sdk() { [S$4.$createWaveShaper](...args) { return this.createWaveShaper.apply(this, args); } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 742, 50, "audioData"); return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); } [S$1.$resume]() { @@ -111804,17 +122593,17 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(web_audio.BaseAudioContext); dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), - [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), - [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), - [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), - [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$4.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$4.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$4.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$4.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), - [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createGain]: dart.fnType(web_audio.GainNode, []), [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), @@ -111824,52 +122613,59 @@ define([], (function load__dart_sdk() { [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), - [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), - [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$4.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$resume]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(web_audio.BaseAudioContext, () => ['__']); dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), - [S$3.$listener]: dart.nullable(web_audio.AudioListener), - [S$3.$sampleRate]: dart.nullable(core.num), + [S$4.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$4.$listener]: dart.nullable(web_audio.AudioListener), + [S$4.$sampleRate]: dart.nullable(core.num), [S$.$state]: dart.nullable(core.String) })); - dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); + dart.setLibraryUri(web_audio.BaseAudioContext, I[161]); dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.AudioContext.__(); + } static get supported() { return !!(window.AudioContext || window.webkitAudioContext); } - get [S$3.$baseLatency]() { + get [S$4.$baseLatency]() { return this.baseLatency; } [S.$close]() { return js_util.promiseToFuture(dart.dynamic, this.close()); } - [S$3.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + [S$4.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); } - [S$3._getOutputTimestamp_1](...args) { + [S$4._getOutputTimestamp_1](...args) { return this.getOutputTimestamp.apply(this, args); } - [S$3.$suspend]() { + [S$4.$suspend]() { return js_util.promiseToFuture(dart.dynamic, this.suspend()); } static new() { return new (window.AudioContext || window.webkitAudioContext)(); } - [S$3.$createGain]() { + static ['_#new#tearOff']() { + return web_audio.AudioContext.new(); + } + [S$4.$createGain]() { if (this.createGain !== undefined) { return this.createGain(); } else { return this.createGainNode(); } } - [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + [S$4.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { let $function = this.createScriptProcessor || this.createJavaScriptNode; if (numberOfOutputChannels != null) { return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); @@ -111881,27 +122677,53 @@ define([], (function load__dart_sdk() { return $function.call(this); } } - [S$3._decodeAudioData](...args) { - return this.decodeAudioData.apply(this, args); - } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); - if (successCallback != null && errorCallback != null) { - return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); - } - let completer = T$0.CompleterOfAudioBuffer().new(); - this[S$3._decodeAudioData](audioData, dart.fn(value => { - if (value == null) dart.nullFailed(I[158], 241, 34, "value"); - completer.complete(value); - }, T$0.AudioBufferTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[158], 243, 9, "error"); - if (error == null) { - completer.completeError(""); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 228, 50, "audioData"); + if (!(successCallback == null === (errorCallback == null))) dart.assertFailed(null, I[160], 232, 12, "(successCallback == null) == (errorCallback == null)"); + let completer = T$0.CompleterOfObject().new(); + let errorInCallbackIsNull = false; + function success(decodedData) { + if (decodedData == null) dart.nullFailed(I[160], 242, 30, "decodedData"); + completer.complete(decodedData); + dart.nullCheck(successCallback)(decodedData); + } + dart.fn(success, T$0.AudioBufferTovoid()); + let nullErrorString = "[AudioContext.decodeAudioData] completed with a null error."; + function error(error) { + if (error != null) { + completer.complete(error); + dart.nullCheck(errorCallback)(error); } else { - completer.completeError(error); + completer.complete(nullErrorString); + errorInCallbackIsNull = true; } - }, T$0.DomExceptionTovoid())); - return completer.future; + } + dart.fn(error, T$0.DomExceptionNTovoid()); + let decodeResult = null; + if (successCallback == null) { + decodeResult = this.decodeAudioData(audioData); + } else { + decodeResult = this.decodeAudioData(audioData, _js_helper.convertDartClosureToJS(T$0.AudioBufferTovoid(), success, 1), _js_helper.convertDartClosureToJS(T$0.DomExceptionNTovoid(), error, 1)); + } + if (decodeResult != null) { + return js_util.promiseToFuture(web_audio.AudioBuffer, core.Object.as(decodeResult)).catchError(dart.fn(error => { + let t228; + if (errorInCallbackIsNull) { + if (error != null) { + t228 = errorCallback; + t228 == null ? null : t228(html$.DomException.as(error)); + } else { + dart.throw(nullErrorString); + } + } + dart.throw(error); + }, T$0.dynamicToNever())); + } + return completer.future.then(web_audio.AudioBuffer, dart.fn(value => { + if (value == null) dart.nullFailed(I[160], 307, 35, "value"); + if (web_audio.AudioBuffer.is(value)) return value; + dart.throw(value); + }, T$0.ObjectToAudioBuffer())); } }; dart.addTypeTests(web_audio.AudioContext); @@ -111909,32 +122731,40 @@ define([], (function load__dart_sdk() { dart.setMethodSignature(web_audio.AudioContext, () => ({ __proto__: dart.getMethods(web_audio.AudioContext.__proto__), [S.$close]: dart.fnType(async.Future, []), - [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), - [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), - [S$3.$suspend]: dart.fnType(async.Future, []), - [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + [S$4.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$4._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$4.$suspend]: dart.fnType(async.Future, []) })); + dart.setStaticMethodSignature(web_audio.AudioContext, () => ['__', 'new']); dart.setGetterSignature(web_audio.AudioContext, () => ({ __proto__: dart.getGetters(web_audio.AudioContext.__proto__), - [S$3.$baseLatency]: dart.nullable(core.num) + [S$4.$baseLatency]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioContext, I[159]); + dart.setStaticGetterSignature(web_audio.AudioContext, () => ['supported']); + dart.setLibraryUri(web_audio.AudioContext, I[161]); dart.registerExtension("AudioContext", web_audio.AudioContext); dart.registerExtension("webkitAudioContext", web_audio.AudioContext); web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioDestinationNode.__(); + } get [S$4.$maxChannelCount]() { return this.maxChannelCount; } }; dart.addTypeTests(web_audio.AudioDestinationNode); dart.addTypeCaches(web_audio.AudioDestinationNode); + dart.setStaticMethodSignature(web_audio.AudioDestinationNode, () => ['__']); dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), [S$4.$maxChannelCount]: dart.nullable(core.int) })); - dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); + dart.setLibraryUri(web_audio.AudioDestinationNode, I[161]); dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); - web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { + web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioListener.__(); + } get [S$4.$forwardX]() { return this.forwardX; } @@ -111976,6 +122806,7 @@ define([], (function load__dart_sdk() { [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); + dart.setStaticMethodSignature(web_audio.AudioListener, () => ['__']); dart.setGetterSignature(web_audio.AudioListener, () => ({ __proto__: dart.getGetters(web_audio.AudioListener.__proto__), [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), @@ -111988,9 +122819,12 @@ define([], (function load__dart_sdk() { [S$4.$upY]: dart.nullable(web_audio.AudioParam), [S$4.$upZ]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.AudioListener, I[159]); + dart.setLibraryUri(web_audio.AudioListener, I[161]); dart.registerExtension("AudioListener", web_audio.AudioListener); - web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { + web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioParam.__(); + } get [S$1.$defaultValue]() { return this.defaultValue; } @@ -112040,6 +122874,7 @@ define([], (function load__dart_sdk() { [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) })); + dart.setStaticMethodSignature(web_audio.AudioParam, () => ['__']); dart.setGetterSignature(web_audio.AudioParam, () => ({ __proto__: dart.getGetters(web_audio.AudioParam.__proto__), [S$1.$defaultValue]: dart.nullable(core.num), @@ -112051,26 +122886,29 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(web_audio.AudioParam.__proto__), [S.$value]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioParam, I[159]); + dart.setLibraryUri(web_audio.AudioParam, I[161]); dart.registerExtension("AudioParam", web_audio.AudioParam); - const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; - (Interceptor_MapMixin$36$2.new = function() { - Interceptor_MapMixin$36$2.__proto__.new.call(this); - }).prototype = Interceptor_MapMixin$36$2.prototype; - dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); - web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { + const JavaScriptObject_MapMixin$36$2 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; + (JavaScriptObject_MapMixin$36$2.new = function() { + JavaScriptObject_MapMixin$36$2.__proto__.new.call(this); + }).prototype = JavaScriptObject_MapMixin$36$2.prototype; + dart.applyMixin(JavaScriptObject_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); + web_audio.AudioParamMap = class AudioParamMap extends JavaScriptObject_MapMixin$36$2 { + static ['_#_#tearOff']() { + return web_audio.AudioParamMap.__(); + } [S$4._getItem$1](key) { - if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + if (key == null) dart.nullFailed(I[160], 448, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + if (other == null) dart.nullFailed(I[160], 451, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + if (e == null) dart.nullFailed(I[160], 455, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -112081,7 +122919,7 @@ define([], (function load__dart_sdk() { return this[S$4._getItem$1](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + if (f == null) dart.nullFailed(I[160], 461, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -112092,7 +122930,7 @@ define([], (function load__dart_sdk() { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + if (k == null) dart.nullFailed(I[160], 473, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -112100,7 +122938,7 @@ define([], (function load__dart_sdk() { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + if (k == null) dart.nullFailed(I[160], 479, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -112117,15 +122955,15 @@ define([], (function load__dart_sdk() { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + if (key == null) dart.nullFailed(I[160], 489, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[158], 433, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[160], 493, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[160], 493, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -112147,20 +122985,29 @@ define([], (function load__dart_sdk() { [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(web_audio.AudioParamMap, () => ['__']); dart.setGetterSignature(web_audio.AudioParamMap, () => ({ __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); - dart.setLibraryUri(web_audio.AudioParamMap, I[159]); + dart.setLibraryUri(web_audio.AudioParamMap, I[161]); dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.AudioProcessingEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 456, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); + return web_audio.AudioProcessingEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AudioProcessingEvent(type, eventInitDict); } @@ -112176,15 +123023,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.AudioProcessingEvent); dart.addTypeCaches(web_audio.AudioProcessingEvent); + dart.setStaticMethodSignature(web_audio.AudioProcessingEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$playbackTime]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); + dart.setLibraryUri(web_audio.AudioProcessingEvent, I[161]); dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); - web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { + web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioTrack.__(); + } get [S$.$enabled]() { return this.enabled; } @@ -112200,7 +123051,7 @@ define([], (function load__dart_sdk() { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$3.$sourceBuffer]() { @@ -112209,22 +123060,26 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.AudioTrack); dart.addTypeCaches(web_audio.AudioTrack); + dart.setStaticMethodSignature(web_audio.AudioTrack, () => ['__']); dart.setGetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); dart.setSetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool) })); - dart.setLibraryUri(web_audio.AudioTrack, I[159]); + dart.setLibraryUri(web_audio.AudioTrack, I[161]); dart.registerExtension("AudioTrack", web_audio.AudioTrack); web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioTrackList.__(); + } get [$length]() { return this.length; } @@ -112245,23 +123100,28 @@ define([], (function load__dart_sdk() { [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) })); + dart.setStaticMethodSignature(web_audio.AudioTrackList, () => ['__']); dart.setGetterSignature(web_audio.AudioTrackList, () => ({ __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), [$length]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); - dart.setLibraryUri(web_audio.AudioTrackList, I[159]); + dart.setLibraryUri(web_audio.AudioTrackList, I[161]); + dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); dart.defineLazy(web_audio.AudioTrackList, { /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletGlobalScope.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } [S$4.$registerProcessor](...args) { @@ -112274,23 +123134,32 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) })); + dart.setStaticMethodSignature(web_audio.AudioWorkletGlobalScope, () => ['__']); dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$sampleRate]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); + dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[161]); dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletNode.__(); + } static new(context, name, options = null) { - if (context == null) dart.nullFailed(I[158], 568, 45, "context"); - if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioWorkletNode._create_1(context, name, options_1); } return web_audio.AudioWorkletNode._create_2(context, name); } + static ['_#new#tearOff'](context, name, options = null) { + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); + return web_audio.AudioWorkletNode.new(context, name, options); + } static _create_1(context, name, options) { return new AudioWorkletNode(context, name, options); } @@ -112303,26 +123172,39 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.AudioWorkletNode); dart.addTypeCaches(web_audio.AudioWorkletNode); + dart.setStaticMethodSignature(web_audio.AudioWorkletNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) })); - dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); + dart.setLibraryUri(web_audio.AudioWorkletNode, I[161]); dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); - web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; + web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletProcessor.__(); + } + }; dart.addTypeTests(web_audio.AudioWorkletProcessor); dart.addTypeCaches(web_audio.AudioWorkletProcessor); - dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); + dart.setStaticMethodSignature(web_audio.AudioWorkletProcessor, () => ['__']); + dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[161]); dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.BiquadFilterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.BiquadFilterNode._create_1(context, options_1); } return web_audio.BiquadFilterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); + return web_audio.BiquadFilterNode.new(context, options); + } static _create_1(context, options) { return new BiquadFilterNode(context, options); } @@ -112332,7 +123214,7 @@ define([], (function load__dart_sdk() { get [S$4.$Q]() { return this.Q; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112357,10 +123239,11 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); + dart.setStaticMethodSignature(web_audio.BiquadFilterNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), [S$4.$Q]: dart.nullable(web_audio.AudioParam), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S$4.$gain]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) @@ -112369,17 +123252,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); + dart.setLibraryUri(web_audio.BiquadFilterNode, I[161]); dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelMergerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelMergerNode._create_1(context, options_1); } return web_audio.ChannelMergerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); + return web_audio.ChannelMergerNode.new(context, options); + } static _create_1(context, options) { return new ChannelMergerNode(context, options); } @@ -112389,18 +123279,26 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.ChannelMergerNode); dart.addTypeCaches(web_audio.ChannelMergerNode); - dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); + dart.setStaticMethodSignature(web_audio.ChannelMergerNode, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(web_audio.ChannelMergerNode, I[161]); dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelSplitterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelSplitterNode._create_1(context, options_1); } return web_audio.ChannelSplitterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); + return web_audio.ChannelSplitterNode.new(context, options); + } static _create_1(context, options) { return new ChannelSplitterNode(context, options); } @@ -112410,18 +123308,26 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.ChannelSplitterNode); dart.addTypeCaches(web_audio.ChannelSplitterNode); - dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); + dart.setStaticMethodSignature(web_audio.ChannelSplitterNode, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(web_audio.ChannelSplitterNode, I[161]); dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.ConstantSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConstantSourceNode._create_1(context, options_1); } return web_audio.ConstantSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); + return web_audio.ConstantSourceNode.new(context, options); + } static _create_1(context, options) { return new ConstantSourceNode(context, options); } @@ -112434,21 +123340,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.ConstantSourceNode); dart.addTypeCaches(web_audio.ConstantSourceNode); + dart.setStaticMethodSignature(web_audio.ConstantSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), [S.$offset]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); + dart.setLibraryUri(web_audio.ConstantSourceNode, I[161]); dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ConvolverNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConvolverNode._create_1(context, options_1); } return web_audio.ConvolverNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); + return web_audio.ConvolverNode.new(context, options); + } static _create_1(context, options) { return new ConvolverNode(context, options); } @@ -112470,6 +123384,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.ConvolverNode); dart.addTypeCaches(web_audio.ConvolverNode); + dart.setStaticMethodSignature(web_audio.ConvolverNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConvolverNode, () => ({ __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), @@ -112480,17 +123395,24 @@ define([], (function load__dart_sdk() { [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$normalize]: dart.nullable(core.bool) })); - dart.setLibraryUri(web_audio.ConvolverNode, I[159]); + dart.setLibraryUri(web_audio.ConvolverNode, I[161]); dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DelayNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DelayNode._create_1(context, options_1); } return web_audio.DelayNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); + return web_audio.DelayNode.new(context, options); + } static _create_1(context, options) { return new DelayNode(context, options); } @@ -112503,21 +123425,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.DelayNode); dart.addTypeCaches(web_audio.DelayNode); + dart.setStaticMethodSignature(web_audio.DelayNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DelayNode, () => ({ __proto__: dart.getGetters(web_audio.DelayNode.__proto__), [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.DelayNode, I[159]); + dart.setLibraryUri(web_audio.DelayNode, I[161]); dart.registerExtension("DelayNode", web_audio.DelayNode); web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DynamicsCompressorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DynamicsCompressorNode._create_1(context, options_1); } return web_audio.DynamicsCompressorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); + return web_audio.DynamicsCompressorNode.new(context, options); + } static _create_1(context, options) { return new DynamicsCompressorNode(context, options); } @@ -112545,6 +123475,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.DynamicsCompressorNode); dart.addTypeCaches(web_audio.DynamicsCompressorNode); + dart.setStaticMethodSignature(web_audio.DynamicsCompressorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), [S$4.$attack]: dart.nullable(web_audio.AudioParam), @@ -112554,17 +123485,24 @@ define([], (function load__dart_sdk() { [S$4.$release]: dart.nullable(web_audio.AudioParam), [S$4.$threshold]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); + dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[161]); dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.GainNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.GainNode._create_1(context, options_1); } return web_audio.GainNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); + return web_audio.GainNode.new(context, options); + } static _create_1(context, options) { return new GainNode(context, options); } @@ -112577,20 +123515,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.GainNode); dart.addTypeCaches(web_audio.GainNode); + dart.setStaticMethodSignature(web_audio.GainNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.GainNode, () => ({ __proto__: dart.getGetters(web_audio.GainNode.__proto__), [S$4.$gain]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.GainNode, I[159]); + dart.setLibraryUri(web_audio.GainNode, I[161]); dart.registerExtension("GainNode", web_audio.GainNode); dart.registerExtension("AudioGainNode", web_audio.GainNode); web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.IirFilterNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 934, 42, "context"); - if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.IirFilterNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); + return web_audio.IirFilterNode.new(context, options); + } static _create_1(context, options) { return new IIRFilterNode(context, options); } @@ -112604,15 +123551,24 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); - dart.setLibraryUri(web_audio.IirFilterNode, I[159]); + dart.setStaticMethodSignature(web_audio.IirFilterNode, () => ['__', 'new', '_create_1']); + dart.setLibraryUri(web_audio.IirFilterNode, I[161]); dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaElementAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 955, 56, "context"); - if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); + return web_audio.MediaElementAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaElementAudioSourceNode(context, options); } @@ -112622,21 +123578,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.MediaElementAudioSourceNode); dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); + dart.setStaticMethodSignature(web_audio.MediaElementAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), [S$4.$mediaElement]: dart.nullable(html$.MediaElement) })); - dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); + dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[161]); dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioDestinationNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); } return web_audio.MediaStreamAudioDestinationNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); + return web_audio.MediaStreamAudioDestinationNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioDestinationNode(context, options); } @@ -112649,19 +123613,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); + dart.setStaticMethodSignature(web_audio.MediaStreamAudioDestinationNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); - dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); + dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[161]); dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); - if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); + return web_audio.MediaStreamAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioSourceNode(context, options); } @@ -112671,19 +123644,28 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); + dart.setStaticMethodSignature(web_audio.MediaStreamAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), [S$4.$mediaStream]: dart.nullable(html$.MediaStream) })); - dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); + dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[161]); dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioCompletionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); + return web_audio.OfflineAudioCompletionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new OfflineAudioCompletionEvent(type, eventInitDict); } @@ -112693,13 +123675,17 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); + dart.setStaticMethodSignature(web_audio.OfflineAudioCompletionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) })); - dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); + dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[161]); dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioContext.__(); + } static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); @@ -112710,6 +123696,9 @@ define([], (function load__dart_sdk() { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + return web_audio.OfflineAudioContext.new(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); } @@ -112723,7 +123712,7 @@ define([], (function load__dart_sdk() { return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); } [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); } }; @@ -112734,28 +123723,36 @@ define([], (function load__dart_sdk() { [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) })); + dart.setStaticMethodSignature(web_audio.OfflineAudioContext, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), [$length]: dart.nullable(core.int) })); - dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); + dart.setLibraryUri(web_audio.OfflineAudioContext, I[161]); dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.OscillatorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.OscillatorNode._create_1(context, options_1); } return web_audio.OscillatorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); + return web_audio.OscillatorNode.new(context, options); + } static _create_1(context, options) { return new OscillatorNode(context, options); } static _create_2(context) { return new OscillatorNode(context); } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112777,9 +123774,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) })); + dart.setStaticMethodSignature(web_audio.OscillatorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) })); @@ -112787,18 +123785,25 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), [S.$type]: dart.nullable(core.String) })); - dart.setLibraryUri(web_audio.OscillatorNode, I[159]); + dart.setLibraryUri(web_audio.OscillatorNode, I[161]); dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); dart.registerExtension("Oscillator", web_audio.OscillatorNode); web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.PannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PannerNode._create_1(context, options_1); } return web_audio.PannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); + return web_audio.PannerNode.new(context, options); + } static _create_1(context, options) { return new PannerNode(context, options); } @@ -112885,6 +123890,7 @@ define([], (function load__dart_sdk() { [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); + dart.setStaticMethodSignature(web_audio.PannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.PannerNode, () => ({ __proto__: dart.getGetters(web_audio.PannerNode.__proto__), [S$4.$coneInnerAngle]: dart.nullable(core.num), @@ -112913,19 +123919,26 @@ define([], (function load__dart_sdk() { [S$4.$refDistance]: dart.nullable(core.num), [S$4.$rolloffFactor]: dart.nullable(core.num) })); - dart.setLibraryUri(web_audio.PannerNode, I[159]); + dart.setLibraryUri(web_audio.PannerNode, I[161]); dart.registerExtension("PannerNode", web_audio.PannerNode); dart.registerExtension("AudioPannerNode", web_audio.PannerNode); dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); - web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { + web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.PeriodicWave.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PeriodicWave._create_1(context, options_1); } return web_audio.PeriodicWave._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); + return web_audio.PeriodicWave.new(context, options); + } static _create_1(context, options) { return new PeriodicWave(context, options); } @@ -112935,9 +123948,13 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.PeriodicWave); dart.addTypeCaches(web_audio.PeriodicWave); - dart.setLibraryUri(web_audio.PeriodicWave, I[159]); + dart.setStaticMethodSignature(web_audio.PeriodicWave, () => ['__', 'new', '_create_1', '_create_2']); + dart.setLibraryUri(web_audio.PeriodicWave, I[161]); dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ScriptProcessorNode.__(); + } get [S$4.$bufferSize]() { return this.bufferSize; } @@ -112954,28 +123971,37 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) })); + dart.setStaticMethodSignature(web_audio.ScriptProcessorNode, () => ['__']); dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), [S$4.$bufferSize]: dart.nullable(core.int), [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) })); - dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); + dart.setLibraryUri(web_audio.ScriptProcessorNode, I[161]); + dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); dart.defineLazy(web_audio.ScriptProcessorNode, { /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - return C[418] || CT.C418; + return C[429] || CT.C429; } }, false); dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.StereoPannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.StereoPannerNode._create_1(context, options_1); } return web_audio.StereoPannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); + return web_audio.StereoPannerNode.new(context, options); + } static _create_1(context, options) { return new StereoPannerNode(context, options); } @@ -112988,21 +124014,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.StereoPannerNode); dart.addTypeCaches(web_audio.StereoPannerNode); + dart.setStaticMethodSignature(web_audio.StereoPannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), [S$4.$pan]: dart.nullable(web_audio.AudioParam) })); - dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); + dart.setLibraryUri(web_audio.StereoPannerNode, I[161]); dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.WaveShaperNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.WaveShaperNode._create_1(context, options_1); } return web_audio.WaveShaperNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); + return web_audio.WaveShaperNode.new(context, options); + } static _create_1(context, options) { return new WaveShaperNode(context, options); } @@ -113024,6 +124058,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_audio.WaveShaperNode); dart.addTypeCaches(web_audio.WaveShaperNode); + dart.setStaticMethodSignature(web_audio.WaveShaperNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), [S$4.$curve]: dart.nullable(typed_data.Float32List), @@ -113034,9 +124069,12 @@ define([], (function load__dart_sdk() { [S$4.$curve]: dart.nullable(typed_data.Float32List), [S$4.$oversample]: dart.nullable(core.String) })); - dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); + dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); - web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { + web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ActiveInfo.__(); + } get [$name]() { return this.name; } @@ -113049,15 +124087,19 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_gl.ActiveInfo); dart.addTypeCaches(web_gl.ActiveInfo); + dart.setStaticMethodSignature(web_gl.ActiveInfo, () => ['__']); dart.setGetterSignature(web_gl.ActiveInfo, () => ({ __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), [$name]: core.String, [S$.$size]: core.int, [S.$type]: core.int })); - dart.setLibraryUri(web_gl.ActiveInfo, I[160]); + dart.setLibraryUri(web_gl.ActiveInfo, I[162]); dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); - web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { + web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.AngleInstancedArrays.__(); + } [S$4.$drawArraysInstancedAngle](...args) { return this.drawArraysInstancedANGLE.apply(this, args); } @@ -113076,7 +124118,9 @@ define([], (function load__dart_sdk() { [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) })); - dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); + dart.setStaticMethodSignature(web_gl.AngleInstancedArrays, () => ['__']); + dart.setLibraryUri(web_gl.AngleInstancedArrays, I[162]); + dart.setStaticFieldSignature(web_gl.AngleInstancedArrays, () => ['VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE']); dart.defineLazy(web_gl.AngleInstancedArrays, { /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { return 35070; @@ -113084,12 +124128,20 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); - web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; + web_gl.Buffer = class Buffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Buffer.__(); + } + }; dart.addTypeTests(web_gl.Buffer); dart.addTypeCaches(web_gl.Buffer); - dart.setLibraryUri(web_gl.Buffer, I[160]); + dart.setStaticMethodSignature(web_gl.Buffer, () => ['__']); + dart.setLibraryUri(web_gl.Buffer, I[162]); dart.registerExtension("WebGLBuffer", web_gl.Buffer); - web_gl.Canvas = class Canvas extends _interceptors.Interceptor { + web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Canvas.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -113099,22 +124151,34 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_gl.Canvas); dart.addTypeCaches(web_gl.Canvas); + dart.setStaticMethodSignature(web_gl.Canvas, () => ['__']); dart.setGetterSignature(web_gl.Canvas, () => ({ __proto__: dart.getGetters(web_gl.Canvas.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) })); - dart.setLibraryUri(web_gl.Canvas, I[160]); + dart.setLibraryUri(web_gl.Canvas, I[162]); dart.registerExtension("WebGLCanvas", web_gl.Canvas); - web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; + web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ColorBufferFloat.__(); + } + }; dart.addTypeTests(web_gl.ColorBufferFloat); dart.addTypeCaches(web_gl.ColorBufferFloat); - dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); + dart.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); + dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); - web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; + web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAstc.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureAstc); dart.addTypeCaches(web_gl.CompressedTextureAstc); - dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureAstc, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureAstc, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureAstc, () => ['COMPRESSED_RGBA_ASTC_10x10_KHR', 'COMPRESSED_RGBA_ASTC_10x5_KHR', 'COMPRESSED_RGBA_ASTC_10x6_KHR', 'COMPRESSED_RGBA_ASTC_10x8_KHR', 'COMPRESSED_RGBA_ASTC_12x10_KHR', 'COMPRESSED_RGBA_ASTC_12x12_KHR', 'COMPRESSED_RGBA_ASTC_4x4_KHR', 'COMPRESSED_RGBA_ASTC_5x4_KHR', 'COMPRESSED_RGBA_ASTC_5x5_KHR', 'COMPRESSED_RGBA_ASTC_6x5_KHR', 'COMPRESSED_RGBA_ASTC_6x6_KHR', 'COMPRESSED_RGBA_ASTC_8x5_KHR', 'COMPRESSED_RGBA_ASTC_8x6_KHR', 'COMPRESSED_RGBA_ASTC_8x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR']); dart.defineLazy(web_gl.CompressedTextureAstc, { /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { return 37819; @@ -113202,10 +124266,16 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); - web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; + web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAtc.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureAtc); dart.addTypeCaches(web_gl.CompressedTextureAtc); - dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureAtc, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureAtc, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureAtc, () => ['COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL', 'COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL', 'COMPRESSED_RGB_ATC_WEBGL']); dart.defineLazy(web_gl.CompressedTextureAtc, { /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { return 35987; @@ -113219,10 +124289,16 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); - web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; + web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureETC1.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureETC1); dart.addTypeCaches(web_gl.CompressedTextureETC1); - dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureETC1, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureETC1, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureETC1, () => ['COMPRESSED_RGB_ETC1_WEBGL']); dart.defineLazy(web_gl.CompressedTextureETC1, { /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { return 36196; @@ -113230,10 +124306,16 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); - web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; + web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureEtc.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureEtc); dart.addTypeCaches(web_gl.CompressedTextureEtc); - dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureEtc, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureEtc, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureEtc, () => ['COMPRESSED_R11_EAC', 'COMPRESSED_RG11_EAC', 'COMPRESSED_RGB8_ETC2', 'COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2', 'COMPRESSED_RGBA8_ETC2_EAC', 'COMPRESSED_SIGNED_R11_EAC', 'COMPRESSED_SIGNED_RG11_EAC', 'COMPRESSED_SRGB8_ALPHA8_ETC2_EAC', 'COMPRESSED_SRGB8_ETC2', 'COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2']); dart.defineLazy(web_gl.CompressedTextureEtc, { /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { return 37488; @@ -113267,10 +124349,16 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); - web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; + web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTexturePvrtc.__(); + } + }; dart.addTypeTests(web_gl.CompressedTexturePvrtc); dart.addTypeCaches(web_gl.CompressedTexturePvrtc); - dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTexturePvrtc, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTexturePvrtc, () => ['COMPRESSED_RGBA_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGBA_PVRTC_4BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_4BPPV1_IMG']); dart.defineLazy(web_gl.CompressedTexturePvrtc, { /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { return 35843; @@ -113287,10 +124375,16 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); - web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; + web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TC.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureS3TC); dart.addTypeCaches(web_gl.CompressedTextureS3TC); - dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureS3TC, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureS3TC, () => ['COMPRESSED_RGBA_S3TC_DXT1_EXT', 'COMPRESSED_RGBA_S3TC_DXT3_EXT', 'COMPRESSED_RGBA_S3TC_DXT5_EXT', 'COMPRESSED_RGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TC, { /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { return 33777; @@ -113307,10 +124401,16 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); - web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; + web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TCsRgb.__(); + } + }; dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); - dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); + dart.setStaticMethodSignature(web_gl.CompressedTextureS3TCsRgb, () => ['__']); + dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[162]); + dart.setStaticFieldSignature(web_gl.CompressedTextureS3TCsRgb, () => ['COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT', 'COMPRESSED_SRGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { return 35917; @@ -113327,14 +124427,21 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); web_gl.ContextEvent = class ContextEvent extends html$.Event { + static ['_#_#tearOff']() { + return web_gl.ContextEvent.__(); + } static new(type, eventInit = null) { - if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); if (eventInit != null) { let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); return web_gl.ContextEvent._create_1(type, eventInit_1); } return web_gl.ContextEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInit = null) { + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); + return web_gl.ContextEvent.new(type, eventInit); + } static _create_1(type, eventInit) { return new WebGLContextEvent(type, eventInit); } @@ -113347,16 +124454,23 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_gl.ContextEvent); dart.addTypeCaches(web_gl.ContextEvent); + dart.setStaticMethodSignature(web_gl.ContextEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_gl.ContextEvent, () => ({ __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), [S$4.$statusMessage]: core.String })); - dart.setLibraryUri(web_gl.ContextEvent, I[160]); + dart.setLibraryUri(web_gl.ContextEvent, I[162]); dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); - web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; + web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugRendererInfo.__(); + } + }; dart.addTypeTests(web_gl.DebugRendererInfo); dart.addTypeCaches(web_gl.DebugRendererInfo); - dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); + dart.setStaticMethodSignature(web_gl.DebugRendererInfo, () => ['__']); + dart.setLibraryUri(web_gl.DebugRendererInfo, I[162]); + dart.setStaticFieldSignature(web_gl.DebugRendererInfo, () => ['UNMASKED_RENDERER_WEBGL', 'UNMASKED_VENDOR_WEBGL']); dart.defineLazy(web_gl.DebugRendererInfo, { /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { return 37446; @@ -113367,7 +124481,10 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); - web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { + web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugShaders.__(); + } [S$4.$getTranslatedShaderSource](...args) { return this.getTranslatedShaderSource.apply(this, args); } @@ -113378,13 +124495,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) })); - dart.setLibraryUri(web_gl.DebugShaders, I[160]); + dart.setStaticMethodSignature(web_gl.DebugShaders, () => ['__']); + dart.setLibraryUri(web_gl.DebugShaders, I[162]); dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); - web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; + web_gl.DepthTexture = class DepthTexture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DepthTexture.__(); + } + }; dart.addTypeTests(web_gl.DepthTexture); dart.addTypeCaches(web_gl.DepthTexture); - dart.setLibraryUri(web_gl.DepthTexture, I[160]); + dart.setStaticMethodSignature(web_gl.DepthTexture, () => ['__']); + dart.setLibraryUri(web_gl.DepthTexture, I[162]); + dart.setStaticFieldSignature(web_gl.DepthTexture, () => ['UNSIGNED_INT_24_8_WEBGL']); dart.defineLazy(web_gl.DepthTexture, { /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { return 34042; @@ -113392,7 +124516,10 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); - web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { + web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DrawBuffers.__(); + } [S$4.$drawBuffersWebgl](...args) { return this.drawBuffersWEBGL.apply(this, args); } @@ -113403,13 +124530,20 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) })); - dart.setLibraryUri(web_gl.DrawBuffers, I[160]); + dart.setStaticMethodSignature(web_gl.DrawBuffers, () => ['__']); + dart.setLibraryUri(web_gl.DrawBuffers, I[162]); dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); - web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; + web_gl.EXTsRgb = class EXTsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.EXTsRgb.__(); + } + }; dart.addTypeTests(web_gl.EXTsRgb); dart.addTypeCaches(web_gl.EXTsRgb); - dart.setLibraryUri(web_gl.EXTsRgb, I[160]); + dart.setStaticMethodSignature(web_gl.EXTsRgb, () => ['__']); + dart.setLibraryUri(web_gl.EXTsRgb, I[162]); + dart.setStaticFieldSignature(web_gl.EXTsRgb, () => ['FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT', 'SRGB8_ALPHA8_EXT', 'SRGB_ALPHA_EXT', 'SRGB_EXT']); dart.defineLazy(web_gl.EXTsRgb, { /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { return 33296; @@ -113426,10 +124560,16 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); - web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; + web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtBlendMinMax.__(); + } + }; dart.addTypeTests(web_gl.ExtBlendMinMax); dart.addTypeCaches(web_gl.ExtBlendMinMax); - dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); + dart.setStaticMethodSignature(web_gl.ExtBlendMinMax, () => ['__']); + dart.setLibraryUri(web_gl.ExtBlendMinMax, I[162]); + dart.setStaticFieldSignature(web_gl.ExtBlendMinMax, () => ['MAX_EXT', 'MIN_EXT']); dart.defineLazy(web_gl.ExtBlendMinMax, { /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { return 32776; @@ -113440,17 +124580,30 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); - web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; + web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferFloat.__(); + } + }; dart.addTypeTests(web_gl.ExtColorBufferFloat); dart.addTypeCaches(web_gl.ExtColorBufferFloat); - dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); + dart.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); + dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); - web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; + web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferHalfFloat.__(); + } + }; dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); - dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); + dart.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); + dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); - web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { + web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQuery.__(); + } [S$4.$beginQueryExt](...args) { return this.beginQueryEXT.apply(this, args); } @@ -113489,7 +124642,9 @@ define([], (function load__dart_sdk() { [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) })); - dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); + dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQuery, () => ['__']); + dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[162]); + dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQuery, () => ['CURRENT_QUERY_EXT', 'GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'QUERY_RESULT_AVAILABLE_EXT', 'QUERY_RESULT_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQuery, { /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { return 34917; @@ -113514,7 +124669,10 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); - web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { + web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQueryWebGL2.__(); + } [S$4.$queryCounterExt](...args) { return this.queryCounterEXT.apply(this, args); } @@ -113525,7 +124683,9 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) })); - dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); + dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['__']); + dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[162]); + dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { return 36795; @@ -113541,22 +124701,38 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); - web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; + web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtFragDepth.__(); + } + }; dart.addTypeTests(web_gl.ExtFragDepth); dart.addTypeCaches(web_gl.ExtFragDepth); - dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); + dart.setStaticMethodSignature(web_gl.ExtFragDepth, () => ['__']); + dart.setLibraryUri(web_gl.ExtFragDepth, I[162]); dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); - web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; + web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtShaderTextureLod.__(); + } + }; dart.addTypeTests(web_gl.ExtShaderTextureLod); dart.addTypeCaches(web_gl.ExtShaderTextureLod); - dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); + dart.setStaticMethodSignature(web_gl.ExtShaderTextureLod, () => ['__']); + dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[162]); dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); - web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; + web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtTextureFilterAnisotropic.__(); + } + }; dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); - dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); + dart.setStaticMethodSignature(web_gl.ExtTextureFilterAnisotropic, () => ['__']); + dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[162]); + dart.setStaticFieldSignature(web_gl.ExtTextureFilterAnisotropic, () => ['MAX_TEXTURE_MAX_ANISOTROPY_EXT', 'TEXTURE_MAX_ANISOTROPY_EXT']); dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { return 34047; @@ -113567,16 +124743,24 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); - web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; + web_gl.Framebuffer = class Framebuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Framebuffer.__(); + } + }; dart.addTypeTests(web_gl.Framebuffer); dart.addTypeCaches(web_gl.Framebuffer); - dart.setLibraryUri(web_gl.Framebuffer, I[160]); + dart.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); + dart.setLibraryUri(web_gl.Framebuffer, I[162]); dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); - web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { + web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.GetBufferSubDataAsync.__(); + } [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { - if (target == null) dart.nullFailed(I[161], 559, 36, "target"); - if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); - if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + if (target == null) dart.nullFailed(I[163], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[163], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[163], 559, 73, "dstData"); return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); } }; @@ -113586,9 +124770,13 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) })); - dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); + dart.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); + dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); - web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { + web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.LoseContext.__(); + } [S$4.$loseContext](...args) { return this.loseContext.apply(this, args); } @@ -113603,20 +124791,32 @@ define([], (function load__dart_sdk() { [S$4.$loseContext]: dart.fnType(dart.void, []), [S$4.$restoreContext]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(web_gl.LoseContext, I[160]); + dart.setStaticMethodSignature(web_gl.LoseContext, () => ['__']); + dart.setLibraryUri(web_gl.LoseContext, I[162]); dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); - web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; + web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesElementIndexUint.__(); + } + }; dart.addTypeTests(web_gl.OesElementIndexUint); dart.addTypeCaches(web_gl.OesElementIndexUint); - dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); + dart.setStaticMethodSignature(web_gl.OesElementIndexUint, () => ['__']); + dart.setLibraryUri(web_gl.OesElementIndexUint, I[162]); dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); - web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; + web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesStandardDerivatives.__(); + } + }; dart.addTypeTests(web_gl.OesStandardDerivatives); dart.addTypeCaches(web_gl.OesStandardDerivatives); - dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); + dart.setStaticMethodSignature(web_gl.OesStandardDerivatives, () => ['__']); + dart.setLibraryUri(web_gl.OesStandardDerivatives, I[162]); + dart.setStaticFieldSignature(web_gl.OesStandardDerivatives, () => ['FRAGMENT_SHADER_DERIVATIVE_HINT_OES']); dart.defineLazy(web_gl.OesStandardDerivatives, { /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { return 35723; @@ -113624,22 +124824,38 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); - web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; + web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloat.__(); + } + }; dart.addTypeTests(web_gl.OesTextureFloat); dart.addTypeCaches(web_gl.OesTextureFloat); - dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); + dart.setStaticMethodSignature(web_gl.OesTextureFloat, () => ['__']); + dart.setLibraryUri(web_gl.OesTextureFloat, I[162]); dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); - web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; + web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloatLinear.__(); + } + }; dart.addTypeTests(web_gl.OesTextureFloatLinear); dart.addTypeCaches(web_gl.OesTextureFloatLinear); - dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); + dart.setStaticMethodSignature(web_gl.OesTextureFloatLinear, () => ['__']); + dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[162]); dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); - web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; + web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloat.__(); + } + }; dart.addTypeTests(web_gl.OesTextureHalfFloat); dart.addTypeCaches(web_gl.OesTextureHalfFloat); - dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); + dart.setStaticMethodSignature(web_gl.OesTextureHalfFloat, () => ['__']); + dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[162]); + dart.setStaticFieldSignature(web_gl.OesTextureHalfFloat, () => ['HALF_FLOAT_OES']); dart.defineLazy(web_gl.OesTextureHalfFloat, { /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { return 36193; @@ -113647,13 +124863,21 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); - web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; + web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloatLinear.__(); + } + }; dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); - dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); + dart.setStaticMethodSignature(web_gl.OesTextureHalfFloatLinear, () => ['__']); + dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[162]); dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); - web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { + web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesVertexArrayObject.__(); + } [S$4.$bindVertexArray](...args) { return this.bindVertexArrayOES.apply(this, args); } @@ -113676,7 +124900,9 @@ define([], (function load__dart_sdk() { [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) })); - dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); + dart.setStaticMethodSignature(web_gl.OesVertexArrayObject, () => ['__']); + dart.setLibraryUri(web_gl.OesVertexArrayObject, I[162]); + dart.setStaticFieldSignature(web_gl.OesVertexArrayObject, () => ['VERTEX_ARRAY_BINDING_OES']); dart.defineLazy(web_gl.OesVertexArrayObject, { /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { return 34229; @@ -113684,22 +124910,40 @@ define([], (function load__dart_sdk() { }, false); dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); - web_gl.Program = class Program extends _interceptors.Interceptor {}; + web_gl.Program = class Program extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Program.__(); + } + }; dart.addTypeTests(web_gl.Program); dart.addTypeCaches(web_gl.Program); - dart.setLibraryUri(web_gl.Program, I[160]); + dart.setStaticMethodSignature(web_gl.Program, () => ['__']); + dart.setLibraryUri(web_gl.Program, I[162]); dart.registerExtension("WebGLProgram", web_gl.Program); - web_gl.Query = class Query extends _interceptors.Interceptor {}; + web_gl.Query = class Query extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Query.__(); + } + }; dart.addTypeTests(web_gl.Query); dart.addTypeCaches(web_gl.Query); - dart.setLibraryUri(web_gl.Query, I[160]); + dart.setStaticMethodSignature(web_gl.Query, () => ['__']); + dart.setLibraryUri(web_gl.Query, I[162]); dart.registerExtension("WebGLQuery", web_gl.Query); - web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; + web_gl.Renderbuffer = class Renderbuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Renderbuffer.__(); + } + }; dart.addTypeTests(web_gl.Renderbuffer); dart.addTypeCaches(web_gl.Renderbuffer); - dart.setLibraryUri(web_gl.Renderbuffer, I[160]); + dart.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); + dart.setLibraryUri(web_gl.Renderbuffer, I[162]); dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); - web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { + web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext.__(); + } static get supported() { return !!window.WebGLRenderingContext; } @@ -113790,7 +125034,7 @@ define([], (function load__dart_sdk() { [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -113841,7 +125085,7 @@ define([], (function load__dart_sdk() { [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -113853,7 +125097,7 @@ define([], (function load__dart_sdk() { [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -114022,11 +125266,11 @@ define([], (function load__dart_sdk() { return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 980, 11, "target"); - if (level == null) dart.nullFailed(I[161], 981, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 981, 11, "target"); + if (level == null) dart.nullFailed(I[163], 982, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 983, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 984, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 985, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -114079,12 +125323,12 @@ define([], (function load__dart_sdk() { return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 1098, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1099, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1100, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1101, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 1102, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 1103, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -114224,66 +125468,66 @@ define([], (function load__dart_sdk() { return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); - if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); - if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); - if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); - if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); - if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + if (x == null) dart.nullFailed(I[163], 1274, 23, "x"); + if (y == null) dart.nullFailed(I[163], 1274, 30, "y"); + if (width == null) dart.nullFailed(I[163], 1274, 37, "width"); + if (height == null) dart.nullFailed(I[163], 1274, 48, "height"); + if (format == null) dart.nullFailed(I[163], 1274, 60, "format"); + if (type == null) dart.nullFailed(I[163], 1274, 72, "type"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); - if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); - if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1288, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1288, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1289, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[163], 1289, 31, "format"); + if (type == null) dart.nullFailed(I[163], 1289, 43, "type"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); } [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); - if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); - if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); - if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); - if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); - if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1300, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1300, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1300, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[163], 1301, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1301, 22, "height"); + if (border == null) dart.nullFailed(I[163], 1301, 34, "border"); + if (format == null) dart.nullFailed(I[163], 1301, 46, "format"); + if (type == null) dart.nullFailed(I[163], 1301, 58, "type"); + if (data == null) dart.nullFailed(I[163], 1301, 74, "data"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); } [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); - if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); - if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1314, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1314, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1314, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1315, 11, "yOffset"); + if (format == null) dart.nullFailed(I[163], 1315, 24, "format"); + if (type == null) dart.nullFailed(I[163], 1315, 36, "type"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); } [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); - if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); - if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1325, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1326, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1327, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1328, 11, "yOffset"); + if (width == null) dart.nullFailed(I[163], 1329, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1330, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1331, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1332, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1333, 11, "type"); + if (data == null) dart.nullFailed(I[163], 1334, 17, "data"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); } [S$4.$bufferDataTyped](target, data, usage) { - if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); - if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); - if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + if (target == null) dart.nullFailed(I[163], 1343, 28, "target"); + if (data == null) dart.nullFailed(I[163], 1343, 46, "data"); + if (usage == null) dart.nullFailed(I[163], 1343, 56, "usage"); this.bufferData(target, data, usage); } [S$4.$bufferSubDataTyped](target, offset, data) { - if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); - if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); - if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + if (target == null) dart.nullFailed(I[163], 1351, 31, "target"); + if (offset == null) dart.nullFailed(I[163], 1351, 43, "offset"); + if (data == null) dart.nullFailed(I[163], 1351, 61, "data"); this.bufferSubData(target, offset, data); } }; @@ -114318,7 +125562,7 @@ define([], (function load__dart_sdk() { [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -114335,11 +125579,11 @@ define([], (function load__dart_sdk() { [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -114450,15 +125694,20 @@ define([], (function load__dart_sdk() { [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) })); + dart.setStaticMethodSignature(web_gl.RenderingContext, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); - dart.setLibraryUri(web_gl.RenderingContext, I[160]); + dart.setStaticGetterSignature(web_gl.RenderingContext, () => ['supported']); + dart.setLibraryUri(web_gl.RenderingContext, I[162]); dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); - web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { + web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext2.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -114628,8 +125877,8 @@ define([], (function load__dart_sdk() { return this.getUniformBlockIndex.apply(this, args); } [S$4.$getUniformIndices](program, uniformNames) { - if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); - if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + if (program == null) dart.nullFailed(I[163], 1538, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[163], 1538, 62, "uniformNames"); let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); return this[S$4._getUniformIndices_1](program, uniformNames_1); } @@ -114679,14 +125928,14 @@ define([], (function load__dart_sdk() { return this.samplerParameteri.apply(this, args); } [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1580, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1581, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1582, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1583, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1584, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1585, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1586, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1587, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114740,15 +125989,15 @@ define([], (function load__dart_sdk() { return this.texImage2D.apply(this, args); } [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); - if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1716, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1717, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1718, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1719, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1720, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 1721, 11, "depth"); + if (border == null) dart.nullFailed(I[163], 1722, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1723, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1724, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114815,14 +126064,14 @@ define([], (function load__dart_sdk() { return this.texStorage3D.apply(this, args); } [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); - if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); - if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1886, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1887, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1888, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1889, 11, "yoffset"); + if (width == null) dart.nullFailed(I[163], 1890, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1891, 11, "height"); + if (format == null) dart.nullFailed(I[163], 1892, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1893, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114876,16 +126125,16 @@ define([], (function load__dart_sdk() { return this.texSubImage2D.apply(this, args); } [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); - if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); - if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); - if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); - if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); - if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (target == null) dart.nullFailed(I[163], 2022, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2023, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2024, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2025, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[163], 2026, 11, "zoffset"); + if (width == null) dart.nullFailed(I[163], 2027, 11, "width"); + if (height == null) dart.nullFailed(I[163], 2028, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 2029, 11, "depth"); + if (format == null) dart.nullFailed(I[163], 2030, 11, "format"); + if (type == null) dart.nullFailed(I[163], 2031, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114946,9 +126195,9 @@ define([], (function load__dart_sdk() { return this.texSubImage3D.apply(this, args); } [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { - if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); - if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); - if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + if (program == null) dart.nullFailed(I[163], 2192, 15, "program"); + if (varyings == null) dart.nullFailed(I[163], 2192, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[163], 2192, 51, "bufferMode"); let varyings_1 = html_common.convertDartToNative_StringArray(varyings); this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); return; @@ -115139,7 +126388,7 @@ define([], (function load__dart_sdk() { [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -115190,7 +126439,7 @@ define([], (function load__dart_sdk() { [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -115202,7 +126451,7 @@ define([], (function load__dart_sdk() { [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -115371,11 +126620,11 @@ define([], (function load__dart_sdk() { return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2534, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2535, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 2536, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 2537, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2538, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -115428,12 +126677,12 @@ define([], (function load__dart_sdk() { return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2651, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2652, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2653, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2654, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 2655, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2656, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -115573,13 +126822,13 @@ define([], (function load__dart_sdk() { return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); - if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); - if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); - if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); - if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); - if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); - if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + if (x == null) dart.nullFailed(I[163], 2827, 23, "x"); + if (y == null) dart.nullFailed(I[163], 2827, 30, "y"); + if (width == null) dart.nullFailed(I[163], 2827, 37, "width"); + if (height == null) dart.nullFailed(I[163], 2827, 48, "height"); + if (format == null) dart.nullFailed(I[163], 2827, 60, "format"); + if (type == null) dart.nullFailed(I[163], 2827, 72, "type"); + if (pixels == null) dart.nullFailed(I[163], 2828, 17, "pixels"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } }; @@ -115756,7 +127005,7 @@ define([], (function load__dart_sdk() { [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -115773,11 +127022,11 @@ define([], (function load__dart_sdk() { [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -115882,25 +127131,39 @@ define([], (function load__dart_sdk() { [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) })); + dart.setStaticMethodSignature(web_gl.RenderingContext2, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext2, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), [S$.$canvas]: dart.nullable(web_gl.Canvas), [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); - dart.setLibraryUri(web_gl.RenderingContext2, I[160]); + dart.setLibraryUri(web_gl.RenderingContext2, I[162]); dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); - web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; + web_gl.Sampler = class Sampler extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sampler.__(); + } + }; dart.addTypeTests(web_gl.Sampler); dart.addTypeCaches(web_gl.Sampler); - dart.setLibraryUri(web_gl.Sampler, I[160]); + dart.setStaticMethodSignature(web_gl.Sampler, () => ['__']); + dart.setLibraryUri(web_gl.Sampler, I[162]); dart.registerExtension("WebGLSampler", web_gl.Sampler); - web_gl.Shader = class Shader extends _interceptors.Interceptor {}; + web_gl.Shader = class Shader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Shader.__(); + } + }; dart.addTypeTests(web_gl.Shader); dart.addTypeCaches(web_gl.Shader); - dart.setLibraryUri(web_gl.Shader, I[160]); + dart.setStaticMethodSignature(web_gl.Shader, () => ['__']); + dart.setLibraryUri(web_gl.Shader, I[162]); dart.registerExtension("WebGLShader", web_gl.Shader); - web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { + web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ShaderPrecisionFormat.__(); + } get [S$4.$precision]() { return this.precision; } @@ -115913,20 +127176,29 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_gl.ShaderPrecisionFormat); dart.addTypeCaches(web_gl.ShaderPrecisionFormat); + dart.setStaticMethodSignature(web_gl.ShaderPrecisionFormat, () => ['__']); dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), [S$4.$precision]: core.int, [S$4.$rangeMax]: core.int, [S$4.$rangeMin]: core.int })); - dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); + dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[162]); dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); - web_gl.Sync = class Sync extends _interceptors.Interceptor {}; + web_gl.Sync = class Sync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sync.__(); + } + }; dart.addTypeTests(web_gl.Sync); dart.addTypeCaches(web_gl.Sync); - dart.setLibraryUri(web_gl.Sync, I[160]); + dart.setStaticMethodSignature(web_gl.Sync, () => ['__']); + dart.setLibraryUri(web_gl.Sync, I[162]); dart.registerExtension("WebGLSync", web_gl.Sync); - web_gl.Texture = class Texture extends _interceptors.Interceptor { + web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Texture.__(); + } get [S$4.$lastUploadedVideoFrameWasSkipped]() { return this.lastUploadedVideoFrameWasSkipped; } @@ -115942,6 +127214,7 @@ define([], (function load__dart_sdk() { }; dart.addTypeTests(web_gl.Texture); dart.addTypeCaches(web_gl.Texture); + dart.setStaticMethodSignature(web_gl.Texture, () => ['__']); dart.setGetterSignature(web_gl.Texture, () => ({ __proto__: dart.getGetters(web_gl.Texture.__proto__), [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), @@ -115949,39 +127222,70 @@ define([], (function load__dart_sdk() { [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) })); - dart.setLibraryUri(web_gl.Texture, I[160]); + dart.setLibraryUri(web_gl.Texture, I[162]); dart.registerExtension("WebGLTexture", web_gl.Texture); - web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; + web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TimerQueryExt.__(); + } + }; dart.addTypeTests(web_gl.TimerQueryExt); dart.addTypeCaches(web_gl.TimerQueryExt); - dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); + dart.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); + dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); - web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; + web_gl.TransformFeedback = class TransformFeedback extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TransformFeedback.__(); + } + }; dart.addTypeTests(web_gl.TransformFeedback); dart.addTypeCaches(web_gl.TransformFeedback); - dart.setLibraryUri(web_gl.TransformFeedback, I[160]); + dart.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); + dart.setLibraryUri(web_gl.TransformFeedback, I[162]); dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); - web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; + web_gl.UniformLocation = class UniformLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.UniformLocation.__(); + } + }; dart.addTypeTests(web_gl.UniformLocation); dart.addTypeCaches(web_gl.UniformLocation); - dart.setLibraryUri(web_gl.UniformLocation, I[160]); + dart.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); + dart.setLibraryUri(web_gl.UniformLocation, I[162]); dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); - web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; + web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObject.__(); + } + }; dart.addTypeTests(web_gl.VertexArrayObject); dart.addTypeCaches(web_gl.VertexArrayObject); - dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); + dart.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); + dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); - web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; + web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObjectOes.__(); + } + }; dart.addTypeTests(web_gl.VertexArrayObjectOes); dart.addTypeCaches(web_gl.VertexArrayObjectOes); - dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); + dart.setStaticMethodSignature(web_gl.VertexArrayObjectOes, () => ['__']); + dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[162]); dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); - web_gl.WebGL = class WebGL extends core.Object {}; + web_gl.WebGL = class WebGL extends core.Object { + static ['_#_#tearOff']() { + return web_gl.WebGL.__(); + } + }; (web_gl.WebGL[dart.mixinNew] = function() { }).prototype = web_gl.WebGL.prototype; dart.addTypeTests(web_gl.WebGL); dart.addTypeCaches(web_gl.WebGL); - dart.setLibraryUri(web_gl.WebGL, I[160]); + dart.setStaticMethodSignature(web_gl.WebGL, () => ['__']); + dart.setLibraryUri(web_gl.WebGL, I[162]); + dart.setStaticFieldSignature(web_gl.WebGL, () => ['ACTIVE_ATTRIBUTES', 'ACTIVE_TEXTURE', 'ACTIVE_UNIFORMS', 'ACTIVE_UNIFORM_BLOCKS', 'ALIASED_LINE_WIDTH_RANGE', 'ALIASED_POINT_SIZE_RANGE', 'ALPHA', 'ALPHA_BITS', 'ALREADY_SIGNALED', 'ALWAYS', 'ANY_SAMPLES_PASSED', 'ANY_SAMPLES_PASSED_CONSERVATIVE', 'ARRAY_BUFFER', 'ARRAY_BUFFER_BINDING', 'ATTACHED_SHADERS', 'BACK', 'BLEND', 'BLEND_COLOR', 'BLEND_DST_ALPHA', 'BLEND_DST_RGB', 'BLEND_EQUATION', 'BLEND_EQUATION_ALPHA', 'BLEND_EQUATION_RGB', 'BLEND_SRC_ALPHA', 'BLEND_SRC_RGB', 'BLUE_BITS', 'BOOL', 'BOOL_VEC2', 'BOOL_VEC3', 'BOOL_VEC4', 'BROWSER_DEFAULT_WEBGL', 'BUFFER_SIZE', 'BUFFER_USAGE', 'BYTE', 'CCW', 'CLAMP_TO_EDGE', 'COLOR', 'COLOR_ATTACHMENT0', 'COLOR_ATTACHMENT0_WEBGL', 'COLOR_ATTACHMENT1', 'COLOR_ATTACHMENT10', 'COLOR_ATTACHMENT10_WEBGL', 'COLOR_ATTACHMENT11', 'COLOR_ATTACHMENT11_WEBGL', 'COLOR_ATTACHMENT12', 'COLOR_ATTACHMENT12_WEBGL', 'COLOR_ATTACHMENT13', 'COLOR_ATTACHMENT13_WEBGL', 'COLOR_ATTACHMENT14', 'COLOR_ATTACHMENT14_WEBGL', 'COLOR_ATTACHMENT15', 'COLOR_ATTACHMENT15_WEBGL', 'COLOR_ATTACHMENT1_WEBGL', 'COLOR_ATTACHMENT2', 'COLOR_ATTACHMENT2_WEBGL', 'COLOR_ATTACHMENT3', 'COLOR_ATTACHMENT3_WEBGL', 'COLOR_ATTACHMENT4', 'COLOR_ATTACHMENT4_WEBGL', 'COLOR_ATTACHMENT5', 'COLOR_ATTACHMENT5_WEBGL', 'COLOR_ATTACHMENT6', 'COLOR_ATTACHMENT6_WEBGL', 'COLOR_ATTACHMENT7', 'COLOR_ATTACHMENT7_WEBGL', 'COLOR_ATTACHMENT8', 'COLOR_ATTACHMENT8_WEBGL', 'COLOR_ATTACHMENT9', 'COLOR_ATTACHMENT9_WEBGL', 'COLOR_BUFFER_BIT', 'COLOR_CLEAR_VALUE', 'COLOR_WRITEMASK', 'COMPARE_REF_TO_TEXTURE', 'COMPILE_STATUS', 'COMPRESSED_TEXTURE_FORMATS', 'CONDITION_SATISFIED', 'CONSTANT_ALPHA', 'CONSTANT_COLOR', 'CONTEXT_LOST_WEBGL', 'COPY_READ_BUFFER', 'COPY_READ_BUFFER_BINDING', 'COPY_WRITE_BUFFER', 'COPY_WRITE_BUFFER_BINDING', 'CULL_FACE', 'CULL_FACE_MODE', 'CURRENT_PROGRAM', 'CURRENT_QUERY', 'CURRENT_VERTEX_ATTRIB', 'CW', 'DECR', 'DECR_WRAP', 'DELETE_STATUS', 'DEPTH', 'DEPTH24_STENCIL8', 'DEPTH32F_STENCIL8', 'DEPTH_ATTACHMENT', 'DEPTH_BITS', 'DEPTH_BUFFER_BIT', 'DEPTH_CLEAR_VALUE', 'DEPTH_COMPONENT', 'DEPTH_COMPONENT16', 'DEPTH_COMPONENT24', 'DEPTH_COMPONENT32F', 'DEPTH_FUNC', 'DEPTH_RANGE', 'DEPTH_STENCIL', 'DEPTH_STENCIL_ATTACHMENT', 'DEPTH_TEST', 'DEPTH_WRITEMASK', 'DITHER', 'DONT_CARE', 'DRAW_BUFFER0', 'DRAW_BUFFER0_WEBGL', 'DRAW_BUFFER1', 'DRAW_BUFFER10', 'DRAW_BUFFER10_WEBGL', 'DRAW_BUFFER11', 'DRAW_BUFFER11_WEBGL', 'DRAW_BUFFER12', 'DRAW_BUFFER12_WEBGL', 'DRAW_BUFFER13', 'DRAW_BUFFER13_WEBGL', 'DRAW_BUFFER14', 'DRAW_BUFFER14_WEBGL', 'DRAW_BUFFER15', 'DRAW_BUFFER15_WEBGL', 'DRAW_BUFFER1_WEBGL', 'DRAW_BUFFER2', 'DRAW_BUFFER2_WEBGL', 'DRAW_BUFFER3', 'DRAW_BUFFER3_WEBGL', 'DRAW_BUFFER4', 'DRAW_BUFFER4_WEBGL', 'DRAW_BUFFER5', 'DRAW_BUFFER5_WEBGL', 'DRAW_BUFFER6', 'DRAW_BUFFER6_WEBGL', 'DRAW_BUFFER7', 'DRAW_BUFFER7_WEBGL', 'DRAW_BUFFER8', 'DRAW_BUFFER8_WEBGL', 'DRAW_BUFFER9', 'DRAW_BUFFER9_WEBGL', 'DRAW_FRAMEBUFFER', 'DRAW_FRAMEBUFFER_BINDING', 'DST_ALPHA', 'DST_COLOR', 'DYNAMIC_COPY', 'DYNAMIC_DRAW', 'DYNAMIC_READ', 'ELEMENT_ARRAY_BUFFER', 'ELEMENT_ARRAY_BUFFER_BINDING', 'EQUAL', 'FASTEST', 'FLOAT', 'FLOAT_32_UNSIGNED_INT_24_8_REV', 'FLOAT_MAT2', 'FLOAT_MAT2x3', 'FLOAT_MAT2x4', 'FLOAT_MAT3', 'FLOAT_MAT3x2', 'FLOAT_MAT3x4', 'FLOAT_MAT4', 'FLOAT_MAT4x2', 'FLOAT_MAT4x3', 'FLOAT_VEC2', 'FLOAT_VEC3', 'FLOAT_VEC4', 'FRAGMENT_SHADER', 'FRAGMENT_SHADER_DERIVATIVE_HINT', 'FRAMEBUFFER', 'FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE', 'FRAMEBUFFER_ATTACHMENT_BLUE_SIZE', 'FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING', 'FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE', 'FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE', 'FRAMEBUFFER_ATTACHMENT_GREEN_SIZE', 'FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', 'FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', 'FRAMEBUFFER_ATTACHMENT_RED_SIZE', 'FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', 'FRAMEBUFFER_BINDING', 'FRAMEBUFFER_COMPLETE', 'FRAMEBUFFER_DEFAULT', 'FRAMEBUFFER_INCOMPLETE_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_DIMENSIONS', 'FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_MULTISAMPLE', 'FRAMEBUFFER_UNSUPPORTED', 'FRONT', 'FRONT_AND_BACK', 'FRONT_FACE', 'FUNC_ADD', 'FUNC_REVERSE_SUBTRACT', 'FUNC_SUBTRACT', 'GENERATE_MIPMAP_HINT', 'GEQUAL', 'GREATER', 'GREEN_BITS', 'HALF_FLOAT', 'HIGH_FLOAT', 'HIGH_INT', 'IMPLEMENTATION_COLOR_READ_FORMAT', 'IMPLEMENTATION_COLOR_READ_TYPE', 'INCR', 'INCR_WRAP', 'INT', 'INTERLEAVED_ATTRIBS', 'INT_2_10_10_10_REV', 'INT_SAMPLER_2D', 'INT_SAMPLER_2D_ARRAY', 'INT_SAMPLER_3D', 'INT_SAMPLER_CUBE', 'INT_VEC2', 'INT_VEC3', 'INT_VEC4', 'INVALID_ENUM', 'INVALID_FRAMEBUFFER_OPERATION', 'INVALID_INDEX', 'INVALID_OPERATION', 'INVALID_VALUE', 'INVERT', 'KEEP', 'LEQUAL', 'LESS', 'LINEAR', 'LINEAR_MIPMAP_LINEAR', 'LINEAR_MIPMAP_NEAREST', 'LINES', 'LINE_LOOP', 'LINE_STRIP', 'LINE_WIDTH', 'LINK_STATUS', 'LOW_FLOAT', 'LOW_INT', 'LUMINANCE', 'LUMINANCE_ALPHA', 'MAX', 'MAX_3D_TEXTURE_SIZE', 'MAX_ARRAY_TEXTURE_LAYERS', 'MAX_CLIENT_WAIT_TIMEOUT_WEBGL', 'MAX_COLOR_ATTACHMENTS', 'MAX_COLOR_ATTACHMENTS_WEBGL', 'MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_COMBINED_TEXTURE_IMAGE_UNITS', 'MAX_COMBINED_UNIFORM_BLOCKS', 'MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS', 'MAX_CUBE_MAP_TEXTURE_SIZE', 'MAX_DRAW_BUFFERS', 'MAX_DRAW_BUFFERS_WEBGL', 'MAX_ELEMENTS_INDICES', 'MAX_ELEMENTS_VERTICES', 'MAX_ELEMENT_INDEX', 'MAX_FRAGMENT_INPUT_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_BLOCKS', 'MAX_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_VECTORS', 'MAX_PROGRAM_TEXEL_OFFSET', 'MAX_RENDERBUFFER_SIZE', 'MAX_SAMPLES', 'MAX_SERVER_WAIT_TIMEOUT', 'MAX_TEXTURE_IMAGE_UNITS', 'MAX_TEXTURE_LOD_BIAS', 'MAX_TEXTURE_SIZE', 'MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS', 'MAX_UNIFORM_BLOCK_SIZE', 'MAX_UNIFORM_BUFFER_BINDINGS', 'MAX_VARYING_COMPONENTS', 'MAX_VARYING_VECTORS', 'MAX_VERTEX_ATTRIBS', 'MAX_VERTEX_OUTPUT_COMPONENTS', 'MAX_VERTEX_TEXTURE_IMAGE_UNITS', 'MAX_VERTEX_UNIFORM_BLOCKS', 'MAX_VERTEX_UNIFORM_COMPONENTS', 'MAX_VERTEX_UNIFORM_VECTORS', 'MAX_VIEWPORT_DIMS', 'MEDIUM_FLOAT', 'MEDIUM_INT', 'MIN', 'MIN_PROGRAM_TEXEL_OFFSET', 'MIRRORED_REPEAT', 'NEAREST', 'NEAREST_MIPMAP_LINEAR', 'NEAREST_MIPMAP_NEAREST', 'NEVER', 'NICEST', 'NONE', 'NOTEQUAL', 'NO_ERROR', 'OBJECT_TYPE', 'ONE', 'ONE_MINUS_CONSTANT_ALPHA', 'ONE_MINUS_CONSTANT_COLOR', 'ONE_MINUS_DST_ALPHA', 'ONE_MINUS_DST_COLOR', 'ONE_MINUS_SRC_ALPHA', 'ONE_MINUS_SRC_COLOR', 'OUT_OF_MEMORY', 'PACK_ALIGNMENT', 'PACK_ROW_LENGTH', 'PACK_SKIP_PIXELS', 'PACK_SKIP_ROWS', 'PIXEL_PACK_BUFFER', 'PIXEL_PACK_BUFFER_BINDING', 'PIXEL_UNPACK_BUFFER', 'PIXEL_UNPACK_BUFFER_BINDING', 'POINTS', 'POLYGON_OFFSET_FACTOR', 'POLYGON_OFFSET_FILL', 'POLYGON_OFFSET_UNITS', 'QUERY_RESULT', 'QUERY_RESULT_AVAILABLE', 'R11F_G11F_B10F', 'R16F', 'R16I', 'R16UI', 'R32F', 'R32I', 'R32UI', 'R8', 'R8I', 'R8UI', 'R8_SNORM', 'RASTERIZER_DISCARD', 'READ_BUFFER', 'READ_FRAMEBUFFER', 'READ_FRAMEBUFFER_BINDING', 'RED', 'RED_BITS', 'RED_INTEGER', 'RENDERBUFFER', 'RENDERBUFFER_ALPHA_SIZE', 'RENDERBUFFER_BINDING', 'RENDERBUFFER_BLUE_SIZE', 'RENDERBUFFER_DEPTH_SIZE', 'RENDERBUFFER_GREEN_SIZE', 'RENDERBUFFER_HEIGHT', 'RENDERBUFFER_INTERNAL_FORMAT', 'RENDERBUFFER_RED_SIZE', 'RENDERBUFFER_SAMPLES', 'RENDERBUFFER_STENCIL_SIZE', 'RENDERBUFFER_WIDTH', 'RENDERER', 'REPEAT', 'REPLACE', 'RG', 'RG16F', 'RG16I', 'RG16UI', 'RG32F', 'RG32I', 'RG32UI', 'RG8', 'RG8I', 'RG8UI', 'RG8_SNORM', 'RGB', 'RGB10_A2', 'RGB10_A2UI', 'RGB16F', 'RGB16I', 'RGB16UI', 'RGB32F', 'RGB32I', 'RGB32UI', 'RGB565', 'RGB5_A1', 'RGB8', 'RGB8I', 'RGB8UI', 'RGB8_SNORM', 'RGB9_E5', 'RGBA', 'RGBA16F', 'RGBA16I', 'RGBA16UI', 'RGBA32F', 'RGBA32I', 'RGBA32UI', 'RGBA4', 'RGBA8', 'RGBA8I', 'RGBA8UI', 'RGBA8_SNORM', 'RGBA_INTEGER', 'RGB_INTEGER', 'RG_INTEGER', 'SAMPLER_2D', 'SAMPLER_2D_ARRAY', 'SAMPLER_2D_ARRAY_SHADOW', 'SAMPLER_2D_SHADOW', 'SAMPLER_3D', 'SAMPLER_BINDING', 'SAMPLER_CUBE', 'SAMPLER_CUBE_SHADOW', 'SAMPLES', 'SAMPLE_ALPHA_TO_COVERAGE', 'SAMPLE_BUFFERS', 'SAMPLE_COVERAGE', 'SAMPLE_COVERAGE_INVERT', 'SAMPLE_COVERAGE_VALUE', 'SCISSOR_BOX', 'SCISSOR_TEST', 'SEPARATE_ATTRIBS', 'SHADER_TYPE', 'SHADING_LANGUAGE_VERSION', 'SHORT', 'SIGNALED', 'SIGNED_NORMALIZED', 'SRC_ALPHA', 'SRC_ALPHA_SATURATE', 'SRC_COLOR', 'SRGB', 'SRGB8', 'SRGB8_ALPHA8', 'STATIC_COPY', 'STATIC_DRAW', 'STATIC_READ', 'STENCIL', 'STENCIL_ATTACHMENT', 'STENCIL_BACK_FAIL', 'STENCIL_BACK_FUNC', 'STENCIL_BACK_PASS_DEPTH_FAIL', 'STENCIL_BACK_PASS_DEPTH_PASS', 'STENCIL_BACK_REF', 'STENCIL_BACK_VALUE_MASK', 'STENCIL_BACK_WRITEMASK', 'STENCIL_BITS', 'STENCIL_BUFFER_BIT', 'STENCIL_CLEAR_VALUE', 'STENCIL_FAIL', 'STENCIL_FUNC', 'STENCIL_INDEX8', 'STENCIL_PASS_DEPTH_FAIL', 'STENCIL_PASS_DEPTH_PASS', 'STENCIL_REF', 'STENCIL_TEST', 'STENCIL_VALUE_MASK', 'STENCIL_WRITEMASK', 'STREAM_COPY', 'STREAM_DRAW', 'STREAM_READ', 'SUBPIXEL_BITS', 'SYNC_CONDITION', 'SYNC_FENCE', 'SYNC_FLAGS', 'SYNC_FLUSH_COMMANDS_BIT', 'SYNC_GPU_COMMANDS_COMPLETE', 'SYNC_STATUS', 'TEXTURE', 'TEXTURE0', 'TEXTURE1', 'TEXTURE10', 'TEXTURE11', 'TEXTURE12', 'TEXTURE13', 'TEXTURE14', 'TEXTURE15', 'TEXTURE16', 'TEXTURE17', 'TEXTURE18', 'TEXTURE19', 'TEXTURE2', 'TEXTURE20', 'TEXTURE21', 'TEXTURE22', 'TEXTURE23', 'TEXTURE24', 'TEXTURE25', 'TEXTURE26', 'TEXTURE27', 'TEXTURE28', 'TEXTURE29', 'TEXTURE3', 'TEXTURE30', 'TEXTURE31', 'TEXTURE4', 'TEXTURE5', 'TEXTURE6', 'TEXTURE7', 'TEXTURE8', 'TEXTURE9', 'TEXTURE_2D', 'TEXTURE_2D_ARRAY', 'TEXTURE_3D', 'TEXTURE_BASE_LEVEL', 'TEXTURE_BINDING_2D', 'TEXTURE_BINDING_2D_ARRAY', 'TEXTURE_BINDING_3D', 'TEXTURE_BINDING_CUBE_MAP', 'TEXTURE_COMPARE_FUNC', 'TEXTURE_COMPARE_MODE', 'TEXTURE_CUBE_MAP', 'TEXTURE_CUBE_MAP_NEGATIVE_X', 'TEXTURE_CUBE_MAP_NEGATIVE_Y', 'TEXTURE_CUBE_MAP_NEGATIVE_Z', 'TEXTURE_CUBE_MAP_POSITIVE_X', 'TEXTURE_CUBE_MAP_POSITIVE_Y', 'TEXTURE_CUBE_MAP_POSITIVE_Z', 'TEXTURE_IMMUTABLE_FORMAT', 'TEXTURE_IMMUTABLE_LEVELS', 'TEXTURE_MAG_FILTER', 'TEXTURE_MAX_LEVEL', 'TEXTURE_MAX_LOD', 'TEXTURE_MIN_FILTER', 'TEXTURE_MIN_LOD', 'TEXTURE_WRAP_R', 'TEXTURE_WRAP_S', 'TEXTURE_WRAP_T', 'TIMEOUT_EXPIRED', 'TIMEOUT_IGNORED', 'TRANSFORM_FEEDBACK', 'TRANSFORM_FEEDBACK_ACTIVE', 'TRANSFORM_FEEDBACK_BINDING', 'TRANSFORM_FEEDBACK_BUFFER', 'TRANSFORM_FEEDBACK_BUFFER_BINDING', 'TRANSFORM_FEEDBACK_BUFFER_MODE', 'TRANSFORM_FEEDBACK_BUFFER_SIZE', 'TRANSFORM_FEEDBACK_BUFFER_START', 'TRANSFORM_FEEDBACK_PAUSED', 'TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', 'TRANSFORM_FEEDBACK_VARYINGS', 'TRIANGLES', 'TRIANGLE_FAN', 'TRIANGLE_STRIP', 'UNIFORM_ARRAY_STRIDE', 'UNIFORM_BLOCK_ACTIVE_UNIFORMS', 'UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', 'UNIFORM_BLOCK_BINDING', 'UNIFORM_BLOCK_DATA_SIZE', 'UNIFORM_BLOCK_INDEX', 'UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', 'UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', 'UNIFORM_BUFFER', 'UNIFORM_BUFFER_BINDING', 'UNIFORM_BUFFER_OFFSET_ALIGNMENT', 'UNIFORM_BUFFER_SIZE', 'UNIFORM_BUFFER_START', 'UNIFORM_IS_ROW_MAJOR', 'UNIFORM_MATRIX_STRIDE', 'UNIFORM_OFFSET', 'UNIFORM_SIZE', 'UNIFORM_TYPE', 'UNPACK_ALIGNMENT', 'UNPACK_COLORSPACE_CONVERSION_WEBGL', 'UNPACK_FLIP_Y_WEBGL', 'UNPACK_IMAGE_HEIGHT', 'UNPACK_PREMULTIPLY_ALPHA_WEBGL', 'UNPACK_ROW_LENGTH', 'UNPACK_SKIP_IMAGES', 'UNPACK_SKIP_PIXELS', 'UNPACK_SKIP_ROWS', 'UNSIGNALED', 'UNSIGNED_BYTE', 'UNSIGNED_INT', 'UNSIGNED_INT_10F_11F_11F_REV', 'UNSIGNED_INT_24_8', 'UNSIGNED_INT_2_10_10_10_REV', 'UNSIGNED_INT_5_9_9_9_REV', 'UNSIGNED_INT_SAMPLER_2D', 'UNSIGNED_INT_SAMPLER_2D_ARRAY', 'UNSIGNED_INT_SAMPLER_3D', 'UNSIGNED_INT_SAMPLER_CUBE', 'UNSIGNED_INT_VEC2', 'UNSIGNED_INT_VEC3', 'UNSIGNED_INT_VEC4', 'UNSIGNED_NORMALIZED', 'UNSIGNED_SHORT', 'UNSIGNED_SHORT_4_4_4_4', 'UNSIGNED_SHORT_5_5_5_1', 'UNSIGNED_SHORT_5_6_5', 'VALIDATE_STATUS', 'VENDOR', 'VERSION', 'VERTEX_ARRAY_BINDING', 'VERTEX_ATTRIB_ARRAY_BUFFER_BINDING', 'VERTEX_ATTRIB_ARRAY_DIVISOR', 'VERTEX_ATTRIB_ARRAY_ENABLED', 'VERTEX_ATTRIB_ARRAY_INTEGER', 'VERTEX_ATTRIB_ARRAY_NORMALIZED', 'VERTEX_ATTRIB_ARRAY_POINTER', 'VERTEX_ATTRIB_ARRAY_SIZE', 'VERTEX_ATTRIB_ARRAY_STRIDE', 'VERTEX_ATTRIB_ARRAY_TYPE', 'VERTEX_SHADER', 'VIEWPORT', 'WAIT_FAILED', 'ZERO']); dart.defineLazy(web_gl.WebGL, { /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { return 35721; @@ -117764,338 +129068,152 @@ define([], (function load__dart_sdk() { } }, false); dart.registerExtension("WebGL", web_gl.WebGL); - web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; + web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGL2RenderingContextBase.__(); + } + }; dart.addTypeTests(web_gl._WebGL2RenderingContextBase); dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; - dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); + dart.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); + dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); - web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; - dart.addTypeTests(web_gl._WebGLRenderingContextBase); - dart.addTypeCaches(web_gl._WebGLRenderingContextBase); - dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); - web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { - static get supported() { - return !!window.openDatabase; - } - get [S.$version]() { - return this.version; - } - [S$4._changeVersion](...args) { - return this.changeVersion.apply(this, args); - } - [S$4.$changeVersion](oldVersion, newVersion) { - if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); - if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 121, 45, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 123, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S$4._readTransaction](...args) { - return this.readTransaction.apply(this, args); - } - [S$4.$readTransaction]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._readTransaction](dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 137, 23, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 139, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S.$transaction](...args) { - return this.transaction.apply(this, args); - } - [S$4.$transaction_future]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this.transaction(dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 152, 18, "value"); - _js_helper.applyExtension("SQLTransaction", value); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 155, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - }; - dart.addTypeTests(web_sql.SqlDatabase); - dart.addTypeCaches(web_sql.SqlDatabase); - dart.setMethodSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), - [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), - [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), - [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) - })); - dart.setGetterSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), - [S.$version]: dart.nullable(core.String) - })); - dart.setLibraryUri(web_sql.SqlDatabase, I[163]); - dart.registerExtension("Database", web_sql.SqlDatabase); - web_sql.SqlError = class SqlError extends _interceptors.Interceptor { - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } - }; - dart.addTypeTests(web_sql.SqlError); - dart.addTypeCaches(web_sql.SqlError); - dart.setGetterSignature(web_sql.SqlError, () => ({ - __proto__: dart.getGetters(web_sql.SqlError.__proto__), - [S$.$code]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) - })); - dart.setLibraryUri(web_sql.SqlError, I[163]); - dart.defineLazy(web_sql.SqlError, { - /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { - return 6; - }, - /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { - return 1; - }, - /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { - return 4; - }, - /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { - return 5; - }, - /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { - return 7; - }, - /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { - return 3; - }, - /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { - return 0; - }, - /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { - return 2; - } - }, false); - dart.registerExtension("SQLError", web_sql.SqlError); - web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { - get [S$4.$insertId]() { - return this.insertId; - } - get [S$2.$rows]() { - return this.rows; - } - get [S$4.$rowsAffected]() { - return this.rowsAffected; + web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGLRenderingContextBase.__(); } }; - dart.addTypeTests(web_sql.SqlResultSet); - dart.addTypeCaches(web_sql.SqlResultSet); - dart.setGetterSignature(web_sql.SqlResultSet, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), - [S$4.$insertId]: dart.nullable(core.int), - [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), - [S$4.$rowsAffected]: dart.nullable(core.int) - })); - dart.setLibraryUri(web_sql.SqlResultSet, I[163]); - dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); - core.Map$ = dart.generic((K, V) => { - class Map extends core.Object { - static unmodifiable(other) { - if (other == null) dart.nullFailed(I[7], 562, 50, "other"); - return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); - } - static castFrom(K, V, K2, V2, source) { - if (source == null) dart.nullFailed(I[164], 166, 55, "source"); - return new (_internal.CastMap$(K, V, K2, V2)).new(source); - } - static fromEntries(entries) { - let t247; - if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); - t247 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - t247[$addEntries](entries); - return t247; - })(); - } - } - (Map[dart.mixinNew] = function() { - }).prototype = Map.prototype; - dart.addTypeTests(Map); - Map.prototype[dart.isMap] = true; - dart.addTypeCaches(Map); - dart.setLibraryUri(Map, I[8]); - return Map; + dart.addTypeTests(web_gl._WebGLRenderingContextBase); + dart.addTypeCaches(web_gl._WebGLRenderingContextBase); + dart.setStaticMethodSignature(web_gl._WebGLRenderingContextBase, () => ['__']); + dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[162]); + var _weakRef = dart.privateName(core, "_weakRef"); + const _is__WeakReferenceWrapper_default = Symbol('_is__WeakReferenceWrapper_default'); + core._WeakReferenceWrapper$ = dart.generic(T => { + class _WeakReferenceWrapper extends core.Object { + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + get target() { + let target = this[_weakRef].deref(); + if (target === void 0) return null; + return target; + } + } + (_WeakReferenceWrapper.new = function(object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + this[_weakRef] = new WeakRef(object); + ; + }).prototype = _WeakReferenceWrapper.prototype; + dart.addTypeTests(_WeakReferenceWrapper); + _WeakReferenceWrapper.prototype[_is__WeakReferenceWrapper_default] = true; + dart.addTypeCaches(_WeakReferenceWrapper); + _WeakReferenceWrapper[dart.implements] = () => [core.WeakReference$(T)]; + dart.setGetterSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getGetters(_WeakReferenceWrapper.__proto__), + target: dart.nullable(T) + })); + dart.setLibraryUri(_WeakReferenceWrapper, I[9]); + dart.setFieldSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getFields(_WeakReferenceWrapper.__proto__), + [_weakRef]: dart.finalFieldType(core.Object) + })); + return _WeakReferenceWrapper; }); - core.Map = core.Map$(); - dart.addTypeTests(core.Map, dart.isMap); - const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; - (Interceptor_ListMixin$36$17.new = function() { - Interceptor_ListMixin$36$17.__proto__.new.call(this); - }).prototype = Interceptor_ListMixin$36$17.prototype; - dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); - const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; - (Interceptor_ImmutableListMixin$36$17.new = function() { - Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); - }).prototype = Interceptor_ImmutableListMixin$36$17.prototype; - dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); - web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.nullFailed(I[162], 224, 23, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); - return dart.nullCheck(this[S$.$item](index)); - } - [$_set](index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[162], 230, 25, "index"); - core.Map.as(value); - if (value == null) dart.nullFailed(I[162], 230, 36, "value"); - dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); - return value$; - } - set [$length](value) { - if (value == null) dart.nullFailed(I[162], 236, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; + core._WeakReferenceWrapper = core._WeakReferenceWrapper$(); + dart.addTypeTests(core._WeakReferenceWrapper, _is__WeakReferenceWrapper_default); + var _registry = dart.privateName(core, "_registry"); + const _is__FinalizationRegistryWrapper_default = Symbol('_is__FinalizationRegistryWrapper_default'); + core._FinalizationRegistryWrapper$ = dart.generic(T => { + class _FinalizationRegistryWrapper extends core.Object { + static ['_#new#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + return new (core._FinalizationRegistryWrapper$(T)).new(callback); + } + attach(value, token, opts) { + if (value == null) dart.nullFailed(I[7], 222, 22, "value"); + T.as(token); + let detach = opts && 'detach' in opts ? opts.detach : null; + if (detach != null) { + this[_registry].register(value, token, detach); + } else { + this[_registry].register(value, token); + } } - dart.throw(new core.StateError.new("No elements")); - } - set [$first](value) { - super[$first] = value; - } - get [$last]() { - let len = this[$length]; - if (dart.notNull(len) > 0) { - return this[dart.notNull(len) - 1]; + detach(detachToken) { + if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); + this[_registry].unregister(detachToken); } - dart.throw(new core.StateError.new("No elements")); } - set [$last](value) { - super[$last] = value; - } - get [$single]() { - let len = this[$length]; - if (len === 1) { - return this[0]; - } - if (len === 0) dart.throw(new core.StateError.new("No elements")); - dart.throw(new core.StateError.new("More than one element")); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[162], 264, 21, "index"); - return this[$_get](index); - } - [S$.$item](index) { - if (index == null) dart.nullFailed(I[162], 267, 17, "index"); - return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); - } - [S$4._item_1](...args) { - return this.item.apply(this, args); - } - }; - web_sql.SqlResultSetRowList.prototype[dart.isList] = true; - dart.addTypeTests(web_sql.SqlResultSetRowList); - dart.addTypeCaches(web_sql.SqlResultSetRowList); - web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; - dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), - [$_get]: dart.fnType(core.Map, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), - [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) - })); - dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int - })); - dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); - dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); - web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { - [S$4._executeSql](...args) { - return this.executeSql.apply(this, args); - } - [S$4.$executeSql](sqlStatement, $arguments = null) { - if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); - let completer = T$0.CompleterOfSqlResultSet().new(); - this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { - if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); - if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); - _js_helper.applyExtension("SQLResultSet", resultSet); - _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); - completer.complete(resultSet); - }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { - if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); - if (error == null) dart.nullFailed(I[162], 302, 22, "error"); - completer.completeError(error); - }, T$0.SqlTransactionAndSqlErrorTovoid())); - return completer.future; - } - }; - dart.addTypeTests(web_sql.SqlTransaction); - dart.addTypeCaches(web_sql.SqlTransaction); - dart.setMethodSignature(web_sql.SqlTransaction, () => ({ - __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), - [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), - [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) - })); - dart.setLibraryUri(web_sql.SqlTransaction, I[163]); - dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); + (_FinalizationRegistryWrapper.new = function(callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + this[_registry] = new FinalizationRegistry(_js_helper.wrapZoneUnaryCallback(T, callback)); + ; + }).prototype = _FinalizationRegistryWrapper.prototype; + dart.addTypeTests(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper.prototype[_is__FinalizationRegistryWrapper_default] = true; + dart.addTypeCaches(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper[dart.implements] = () => [core.Finalizer$(T)]; + dart.setMethodSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getMethods(_FinalizationRegistryWrapper.__proto__), + attach: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)], {detach: dart.nullable(core.Object)}, {}), + detach: dart.fnType(dart.void, [core.Object]) + })); + dart.setLibraryUri(_FinalizationRegistryWrapper, I[9]); + dart.setFieldSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getFields(_FinalizationRegistryWrapper.__proto__), + [_registry]: dart.finalFieldType(core.Object) + })); + return _FinalizationRegistryWrapper; + }); + core._FinalizationRegistryWrapper = core._FinalizationRegistryWrapper$(); + dart.addTypeTests(core._FinalizationRegistryWrapper, _is__FinalizationRegistryWrapper_default); var _errorMsg$ = dart.privateName(core, "_errorMsg"); core._CompileTimeError = class _CompileTimeError extends core.Error { + static ['_#new#tearOff'](_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); + return new core._CompileTimeError.new(_errorMsg); + } toString() { return this[_errorMsg$]; } }; (core._CompileTimeError.new = function(_errorMsg) { - if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); this[_errorMsg$] = _errorMsg; core._CompileTimeError.__proto__.new.call(this); ; }).prototype = core._CompileTimeError.prototype; dart.addTypeTests(core._CompileTimeError); dart.addTypeCaches(core._CompileTimeError); - dart.setLibraryUri(core._CompileTimeError, I[8]); + dart.setLibraryUri(core._CompileTimeError, I[9]); dart.setFieldSignature(core._CompileTimeError, () => ({ __proto__: dart.getFields(core._CompileTimeError.__proto__), [_errorMsg$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._CompileTimeError, ['toString']); - var _name$6 = dart.privateName(core, "_name"); core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + static ['_#new#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + return new core._DuplicatedFieldInitializerError.new(_name); + } toString() { - return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + return "Error: field '" + dart.str(this[_name$4]) + "' is already initialized."; } }; (core._DuplicatedFieldInitializerError.new = function(_name) { - if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); - this[_name$6] = _name; + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + this[_name$4] = _name; ; }).prototype = core._DuplicatedFieldInitializerError.prototype; dart.addTypeTests(core._DuplicatedFieldInitializerError); dart.addTypeCaches(core._DuplicatedFieldInitializerError); - dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); + dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[9]); dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$6]: dart.finalFieldType(core.String) + [_name$4]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); var _used$ = dart.privateName(core, "_used"); @@ -118118,7 +129236,7 @@ define([], (function load__dart_sdk() { var _toHexString = dart.privateName(core, "_toHexString"); core._BigIntImpl = class _BigIntImpl extends core.Object { static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + if (source == null) dart.nullFailed(I[7], 1112, 35, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let result = core._BigIntImpl._tryParse(source, {radix: radix}); if (result == null) { @@ -118127,8 +129245,8 @@ define([], (function load__dart_sdk() { return result; } static _parseDecimal(source, isNegative) { - if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); - if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1123, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1123, 56, "isNegative"); let part = 0; let result = core._BigIntImpl.zero; let digitInPartCount = 4 - source.length[$remainder](4); @@ -118145,17 +129263,17 @@ define([], (function load__dart_sdk() { return result; } static _codeUnitToRadixValue(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[7], 1153, 40, "codeUnit"); if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; let result = dart.notNull(codeUnit) - 97 + 10; return result; } static _parseHex(source, startPos, isNegative) { - let t247, t247$, t247$0, t247$1; - if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); - if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); - if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let t228, t228$, t228$0, t228$1; + if (source == null) dart.nullFailed(I[7], 1173, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1173, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1173, 67, "isNegative"); let hexDigitsPerChunk = (16 / 4)[$truncate](); let sourceLength = source.length - dart.notNull(startPos); let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); @@ -118165,27 +129283,27 @@ define([], (function load__dart_sdk() { let i = startPos; let chunk = 0; for (let j = 0; j < lastDigitLength; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228 = i, i = dart.notNull(t228) + 1, t228))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + digits[$_set]((t228$ = digitIndex, digitIndex = t228$ - 1, t228$), chunk); while (dart.notNull(i) < source.length) { chunk = 0; for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228$0 = i, i = dart.notNull(t228$0) + 1, t228$0))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + digits[$_set]((t228$1 = digitIndex, digitIndex = t228$1 - 1, t228$1), chunk); } if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; return new core._BigIntImpl.__(isNegative, digits[$length], digits); } static _parseRadix(source, radix, isNegative) { - if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); - if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); - if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1207, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1207, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1207, 66, "isNegative"); let result = core._BigIntImpl.zero; let base = core._BigIntImpl._fromInt(radix); for (let i = 0; i < source.length; i = i + 1) { @@ -118197,8 +129315,8 @@ define([], (function load__dart_sdk() { return result; } static _tryParse(source, opts) { - let t247, t247$, t247$0; - if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let t228, t228$, t228$0; + if (source == null) dart.nullFailed(I[7], 1224, 40, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; if (source === "") return null; let match = core._BigIntImpl._parseRE.firstMatch(source); @@ -118227,25 +129345,37 @@ define([], (function load__dart_sdk() { return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); } if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, isNegative); } - return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + return core._BigIntImpl._parseRadix((t228$0 = (t228$ = decimalMatch, t228$ == null ? nonDecimalMatch : t228$), t228$0 == null ? dart.nullCheck(hexMatch) : t228$0), radix, isNegative); } static _normalize(used, digits) { - if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); - if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + if (used == null) dart.nullFailed(I[7], 1271, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1271, 46, "digits"); while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) used = dart.notNull(used) - 1; return used; } + static ['_#_#tearOff'](isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); + return new core._BigIntImpl.__(isNegative, used, digits); + } + static ['_#_normalized#tearOff'](isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); + return new core._BigIntImpl._normalized(isNegative, _used, _digits); + } get [_isZero]() { return this[_used$] === 0; } static _cloneDigits(digits, from, to, length) { - if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); - if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); - if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); - if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + if (digits == null) dart.nullFailed(I[7], 1292, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1292, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1292, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1292, 48, "length"); let resultDigits = _native_typed_data.NativeUint16List.new(length); let n = dart.notNull(to) - dart.notNull(from); for (let i = 0; i < n; i = i + 1) { @@ -118254,7 +129384,7 @@ define([], (function load__dart_sdk() { return resultDigits; } static from(value) { - if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); if (value === 0) return core._BigIntImpl.zero; if (value === 1) return core._BigIntImpl.one; if (value === 2) return core._BigIntImpl.two; @@ -118262,11 +129392,15 @@ define([], (function load__dart_sdk() { if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); return core._BigIntImpl._fromInt(dart.asInt(value)); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); + return core._BigIntImpl.from(value); + } static _fromInt(value) { - let t247; - if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let t228; + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); let isNegative = dart.notNull(value) < 0; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1316, 12, "_digitBits == 16"); if (isNegative) { if (value === -9223372036854776000.0) { let digits = _native_typed_data.NativeUint16List.new(4); @@ -118290,13 +129424,17 @@ define([], (function load__dart_sdk() { let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); let i = 0; while (value !== 0) { - digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + digits[$_set]((t228 = i, i = t228 + 1, t228), (dart.notNull(value) & 65535) >>> 0); value = (dart.notNull(value) / 65536)[$truncate](); } return new core._BigIntImpl.__(isNegative, digits[$length], digits); } + static ['_#_fromInt#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); + return core._BigIntImpl._fromInt(value); + } static _fromDouble(value) { - if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); if (value[$isNaN] || value[$isInfinite]) { dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); } @@ -118311,7 +129449,7 @@ define([], (function load__dart_sdk() { bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); let exponent = biasedExponent - 1075; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1375, 12, "_digitBits == 16"); let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); @@ -118327,6 +129465,10 @@ define([], (function load__dart_sdk() { if (isNegative) return absResult._negate(); return absResult; } + static ['_#_fromDouble#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); + return core._BigIntImpl._fromDouble(value); + } _negate() { if (this[_used$] === 0) return this; return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); @@ -118335,7 +129477,7 @@ define([], (function load__dart_sdk() { return dart.test(this[_isNegative]) ? this._negate() : this; } [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118349,10 +129491,10 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1434, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1434, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1434, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1434, 56, "resultDigits"); if (xUsed === 0) { return 0; } @@ -118369,7 +129511,7 @@ define([], (function load__dart_sdk() { return resultUsed; } [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118394,11 +129536,11 @@ define([], (function load__dart_sdk() { return result; } static _lsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1485, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1485, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1485, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1485, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1486, 12, "xUsed > 0"); let digitShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118412,7 +129554,7 @@ define([], (function load__dart_sdk() { resultDigits[$_set](digitShift, carry); } ['<<'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1512, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118428,10 +129570,10 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _lShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1531, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1531, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1531, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1531, 56, "resultDigits"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); if (bitShift === 0) { @@ -118449,11 +129591,11 @@ define([], (function load__dart_sdk() { return resultUsed; } static _rsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1551, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1551, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1551, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1551, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1552, 12, "xUsed > 0"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118468,7 +129610,7 @@ define([], (function load__dart_sdk() { resultDigits[$_set](last, carry); } ['>>'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1576, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118500,12 +129642,12 @@ define([], (function load__dart_sdk() { return result; } [_absCompare](other) { - if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + if (other == null) dart.nullFailed(I[7], 1613, 31, "other"); return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); } compareTo(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (other == null) dart.nullFailed(I[7], 1623, 39, "other"); if (this[_isNegative] == other[_isNegative]) { let result = this[_absCompare](other); return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; @@ -118513,10 +129655,10 @@ define([], (function load__dart_sdk() { return dart.test(this[_isNegative]) ? -1 : 1; } static _compareDigits(digits, used, otherDigits, otherUsed) { - if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); - if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + if (digits == null) dart.nullFailed(I[7], 1637, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1637, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1637, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1637, 64, "otherUsed"); let result = dart.notNull(used) - dart.notNull(otherUsed); if (result === 0) { for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { @@ -118527,12 +129669,12 @@ define([], (function load__dart_sdk() { return result; } static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1650, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1650, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1650, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1651, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1651, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1652, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); @@ -118547,12 +129689,12 @@ define([], (function load__dart_sdk() { resultDigits[$_set](used, carry); } static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1669, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1669, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1669, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1670, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1670, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1671, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); @@ -118566,15 +129708,15 @@ define([], (function load__dart_sdk() { } } [_absAddSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1691, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1691, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; if (dart.notNull(used) < dart.notNull(otherUsed)) { return other[_absAddSetSign](this, isNegative); } if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1698, 14, "!isNegative"); return core._BigIntImpl.zero; } if (otherUsed === 0) { @@ -118586,12 +129728,12 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absSubSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); - if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + if (other == null) dart.nullFailed(I[7], 1713, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1713, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1714, 12, "_absCompare(other) >= 0"); let used = this[_used$]; if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1717, 14, "!isNegative"); return core._BigIntImpl.zero; } let otherUsed = other[_used$]; @@ -118603,8 +129745,8 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(isNegative, used, resultDigits); } [_absAndSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1730, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1730, 54, "isNegative"); let resultUsed = core._min(this[_used$], other[_used$]); let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118615,8 +129757,8 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absAndNotSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1742, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1742, 57, "isNegative"); let resultUsed = this[_used$]; let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118631,8 +129773,8 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absOrSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1758, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1758, 53, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118658,8 +129800,8 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absXorSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1785, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1785, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118686,7 +129828,7 @@ define([], (function load__dart_sdk() { } ['&'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1821, 48, "other"); if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; if (this[_isNegative] == other[_isNegative]) { if (dart.test(this[_isNegative])) { @@ -118710,7 +129852,7 @@ define([], (function load__dart_sdk() { } ['|'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1860, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118735,7 +129877,7 @@ define([], (function load__dart_sdk() { } ['^'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1901, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118767,7 +129909,7 @@ define([], (function load__dart_sdk() { } ['+'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1949, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118781,7 +129923,7 @@ define([], (function load__dart_sdk() { } ['-'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1967, 48, "other"); if (dart.test(this[_isZero])) return other._negate(); if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118794,32 +129936,32 @@ define([], (function load__dart_sdk() { return other[_absSubSetSign](this, !dart.test(isNegative)); } static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { - let t247, t247$, t247$0; - if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); - if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); - if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); - if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); - if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); - if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + let t228, t228$, t228$0; + if (x == null) dart.nullFailed(I[7], 1996, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1996, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1996, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1997, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1997, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1997, 48, "n"); if (x === 0) { return; } let c = 0; while ((n = dart.notNull(n) - 1) >= 0) { - let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t228 = i, i = dart.notNull(t228) + 1, t228))); let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + accumulatorDigits[$_set]((t228$ = j, j = dart.notNull(t228$) + 1, t228$), (combined & 65535) >>> 0); c = (combined / 65536)[$truncate](); } while (c !== 0) { let l = dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + accumulatorDigits[$_set]((t228$0 = j, j = dart.notNull(t228$0) + 1, t228$0), (l & 65535) >>> 0); c = (l / 65536)[$truncate](); } } ['*'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2019, 48, "other"); let used = this[_used$]; let otherUsed = other[_used$]; if (used === 0 || otherUsed === 0) { @@ -118837,14 +129979,14 @@ define([], (function load__dart_sdk() { return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); } static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); - if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 2040, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2040, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 2040, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 2041, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 2041, 33, "resultDigits"); let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); let i = resultUsed; - if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 2044, 12, "resultDigits.length >= i"); while ((i = i - 1) >= 0) { resultDigits[$_set](i, 0); } @@ -118856,17 +129998,17 @@ define([], (function load__dart_sdk() { return resultUsed; } static _estimateQuotientDigit(topDigitDivisor, digits, i) { - if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); - if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); - if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (topDigitDivisor == null) dart.nullFailed(I[7], 2058, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 2058, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 2058, 51, "i"); if (digits[$_get](i) == topDigitDivisor) return 65535; let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); if (quotientDigit > 65535) return 65535; return quotientDigit; } [_div](other) { - if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2067, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2068, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return core._BigIntImpl.zero; } @@ -118880,8 +130022,8 @@ define([], (function load__dart_sdk() { return quo; } [_rem](other) { - if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2086, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2087, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return this; } @@ -118897,12 +130039,12 @@ define([], (function load__dart_sdk() { return rem; } [_divRem](other) { - let t247, t247$; - if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + let t228, t228$; + if (other == null) dart.nullFailed(I[7], 2114, 28, "other"); if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { return; } - if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2122, 12, "_used >= other._used"); let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; let resultDigits = null; let resultUsed = null; @@ -118925,11 +130067,11 @@ define([], (function load__dart_sdk() { let tmpDigits = _native_typed_data.NativeUint16List.new(i); let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { - if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); - resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2155, 14, "i == resultUsed"); + resultDigits[$_set]((t228 = resultUsed, resultUsed = dart.notNull(t228) + 1, t228), 1); core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); } else { - resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + resultDigits[$_set]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); } let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); nyDigits[$_set](yUsed, 1); @@ -118959,15 +130101,15 @@ define([], (function load__dart_sdk() { } get hashCode() { function combine(hash, value) { - if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); - if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + if (hash == null) dart.nullFailed(I[7], 2207, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2207, 31, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } dart.fn(combine, T$0.intAndintToint()); function finish(hash) { - if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + if (hash == null) dart.nullFailed(I[7], 2213, 20, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); @@ -118991,49 +130133,49 @@ define([], (function load__dart_sdk() { } ['~/'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_div](other); } remainder(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_rem](other); } ['/'](other) { - if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + if (other == null) dart.nullFailed(I[7], 2308, 28, "other"); return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); } ['<'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2311, 41, "other"); return dart.notNull(this.compareTo(other)) < 0; } ['<='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2314, 42, "other"); return dart.notNull(this.compareTo(other)) <= 0; } ['>'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2317, 41, "other"); return dart.notNull(this.compareTo(other)) > 0; } ['>='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2320, 42, "other"); return dart.notNull(this.compareTo(other)) >= 0; } ['%'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2333, 48, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } let result = this[_rem](other); if (dart.test(result[_isNegative])) { @@ -119059,7 +130201,7 @@ define([], (function load__dart_sdk() { return this[_isNegative]; } pow(exponent) { - if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2368, 23, "exponent"); if (dart.notNull(exponent) < 0) { dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); } @@ -119079,9 +130221,9 @@ define([], (function load__dart_sdk() { } modPow(exponent, modulus) { core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2397, 61, "modulus"); if (dart.test(exponent[_isNegative])) { dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); } @@ -119119,9 +130261,9 @@ define([], (function load__dart_sdk() { return z.revert(resultDigits, resultUsed); } static _binaryGcd(x, y, inv) { - if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); - if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); - if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + if (x == null) dart.nullFailed(I[7], 2443, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2443, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2443, 68, "inv"); let xDigits = x[_digits$]; let yDigits = y[_digits$]; let xUsed = x[_used$]; @@ -119341,7 +130483,7 @@ define([], (function load__dart_sdk() { } modInverse(modulus) { core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2701, 48, "modulus"); if (dart.test(modulus['<='](core._BigIntImpl.zero))) { dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); } @@ -119354,17 +130496,17 @@ define([], (function load__dart_sdk() { } gcd(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2726, 41, "other"); if (dart.test(this[_isZero])) return other.abs(); if (dart.test(other[_isZero])) return this.abs(); return core._BigIntImpl._binaryGcd(this, other, false); } toUnsigned(width) { - if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + if (width == null) dart.nullFailed(I[7], 2758, 30, "width"); return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); } toSigned(width) { - if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + if (width == null) dart.nullFailed(I[7], 2796, 28, "width"); let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); } @@ -119382,7 +130524,7 @@ define([], (function load__dart_sdk() { return dart.test(this[_isNegative]) ? -result : result; } toDouble() { - let t248, t247, t248$, t247$; + let t229, t228, t229$, t228$; if (dart.test(this[_isZero])) return 0.0; let resultBits = _native_typed_data.NativeUint8List.new(8); let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; @@ -119392,14 +130534,14 @@ define([], (function load__dart_sdk() { if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); let biasedExponent = length - 53 + 1075; resultBits[$_set](6, (biasedExponent & 15) << 4); - t247 = resultBits; - t248 = 7; - t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + t228 = resultBits; + t229 = 7; + t228[$_set](t229, (dart.notNull(t228[$_get](t229)) | biasedExponent[$rightShift](4)) >>> 0); let cachedBits = 0; let cachedBitsLength = 0; let digitIndex = dart.notNull(this[_used$]) - 1; const readBits = n => { - if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + if (n == null) dart.nullFailed(I[7], 2859, 22, "n"); while (cachedBitsLength < dart.notNull(n)) { let nextDigit = null; let nextDigitLength = 16; @@ -119421,9 +130563,9 @@ define([], (function load__dart_sdk() { }; dart.fn(readBits, T$0.intToint()); let leadingBits = dart.notNull(readBits(5)) & 15; - t247$ = resultBits; - t248$ = 6; - t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + t228$ = resultBits; + t229$ = 6; + t228$[$_set](t229$, (dart.notNull(t228$[$_get](t229$)) | leadingBits) >>> 0); for (let i = 5; i >= 0; i = i - 1) { resultBits[$_set](i, readBits(8)); } @@ -119476,13 +130618,13 @@ define([], (function load__dart_sdk() { return decimalDigitChunks[$reversed][$join](); } [_toRadixCodeUnit](digit) { - if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (digit == null) dart.nullFailed(I[7], 2959, 28, "digit"); if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); return 97 + dart.notNull(digit) - 10; } toRadixString(radix) { - if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); - if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (radix == null) dart.nullFailed(I[7], 2974, 28, "radix"); + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); if (this[_used$] === 0) return "0"; if (this[_used$] === 1) { let digitString = this[_digits$][$_get](0)[$toRadixString](radix); @@ -119523,15 +130665,15 @@ define([], (function load__dart_sdk() { } }; (core._BigIntImpl.__ = function(isNegative, used, digits) { - if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); - if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); - if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); }).prototype = core._BigIntImpl.prototype; (core._BigIntImpl._normalized = function(isNegative, _used, _digits) { - if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); - if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); - if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); this[_used$] = _used; this[_digits$] = _digits; this[_isNegative] = _used === 0 ? false : isNegative; @@ -119587,6 +130729,7 @@ define([], (function load__dart_sdk() { toRadixString: dart.fnType(core.String, [core.int]), [_toHexString]: dart.fnType(core.String, []) })); + dart.setStaticMethodSignature(core._BigIntImpl, () => ['parse', '_parseDecimal', '_codeUnitToRadixValue', '_parseHex', '_parseRadix', '_tryParse', '_normalize', '_cloneDigits', 'from', '_fromInt', '_fromDouble', '_dlShiftDigits', '_lsh', '_lShiftDigits', '_rsh', '_compareDigits', '_absAdd', '_absSub', '_mulAdd', '_mulDigits', '_estimateQuotientDigit', '_binaryGcd']); dart.setGetterSignature(core._BigIntImpl, () => ({ __proto__: dart.getGetters(core._BigIntImpl.__proto__), [_isZero]: core.bool, @@ -119597,13 +130740,14 @@ define([], (function load__dart_sdk() { isNegative: core.bool, isValidInt: core.bool })); - dart.setLibraryUri(core._BigIntImpl, I[8]); + dart.setLibraryUri(core._BigIntImpl, I[9]); dart.setFieldSignature(core._BigIntImpl, () => ({ __proto__: dart.getFields(core._BigIntImpl.__proto__), [_isNegative]: dart.finalFieldType(core.bool), [_digits$]: dart.finalFieldType(typed_data.Uint16List), [_used$]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(core._BigIntImpl, () => ['_digitBits', '_digitBase', '_digitMask', 'zero', 'one', 'two', '_minusOne', '_bigInt10000', '_lastDividendDigits', '_lastDividendUsed', '_lastDivisorDigits', '_lastDivisorUsed', '_lastQuoRemDigits', '_lastQuoRemUsed', '_lastRemUsed', '_lastRem_nsh', '_parseRE', '_bitsForFromDouble', '_simpleValidIntDigits']); dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); dart.defineLazy(core._BigIntImpl, { @@ -119634,39 +130778,41 @@ define([], (function load__dart_sdk() { /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { return null; }, - set _lastDividendDigits(_) {}, + set _lastDividendDigits(value) {}, /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { return null; }, - set _lastDividendUsed(_) {}, + set _lastDividendUsed(value) {}, /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { return null; }, - set _lastDivisorDigits(_) {}, + set _lastDivisorDigits(value) {}, /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { return null; }, - set _lastDivisorUsed(_) {}, + set _lastDivisorUsed(value) {}, /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { return null; }, - set _lastQuoRemDigits(_) {}, + set _lastQuoRemDigits(value) {}, /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { return null; }, - set _lastQuoRemUsed(_) {}, + set _lastQuoRemUsed(value) {}, /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { return null; }, - set _lastRemUsed(_) {}, + set _lastRemUsed(value) {}, /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { return null; }, - set _lastRem_nsh(_) {}, + set _lastRem_nsh(value) {}, /*core._BigIntImpl._parseRE*/get _parseRE() { return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); }, - set _parseRE(_) {}, + set _parseRE(value) { + if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); + }, /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { return _native_typed_data.NativeUint8List.new(8); }, @@ -119680,23 +130826,27 @@ define([], (function load__dart_sdk() { }).prototype = core._BigIntReduction.prototype; dart.addTypeTests(core._BigIntReduction); dart.addTypeCaches(core._BigIntReduction); - dart.setLibraryUri(core._BigIntReduction, I[8]); + dart.setLibraryUri(core._BigIntReduction, I[9]); var _modulus$ = dart.privateName(core, "_modulus"); var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); var _reduce = dart.privateName(core, "_reduce"); core._BigIntClassic = class _BigIntClassic extends core.Object { + static ['_#new#tearOff'](_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); + return new core._BigIntClassic.new(_modulus); + } convert(x, resultDigits) { - if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); - if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + if (x == null) dart.nullFailed(I[7], 3044, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 3044, 41, "resultDigits"); let digits = null; let used = null; if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { let remainder = x[_rem](this[_modulus$]); if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { - if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3050, 16, "remainder._isNegative"); remainder = remainder['+'](this[_modulus$]); } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); used = remainder[_used$]; digits = remainder[_digits$]; } else { @@ -119710,13 +130860,13 @@ define([], (function load__dart_sdk() { return used; } revert(xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3067, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3067, 46, "xUsed"); return new core._BigIntImpl.__(false, xUsed, xDigits); } [_reduce](xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3071, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { return xUsed; } @@ -119725,9 +130875,9 @@ define([], (function load__dart_sdk() { return this.convert(rem, xDigits); } sqr(xDigits, xUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3080, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3080, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3080, 53, "resultDigits"); let b = new core._BigIntImpl.__(false, xUsed, xDigits); let b2 = b['*'](b); for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { @@ -119739,17 +130889,17 @@ define([], (function load__dart_sdk() { return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); } mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); - if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); - if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3092, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3092, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3092, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3092, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3093, 18, "resultDigits"); let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); return this[_reduce](resultDigits, resultUsed); } }; (core._BigIntClassic.new = function(_modulus) { - if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); this[_modulus$] = _modulus; this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); ; @@ -119765,7 +130915,7 @@ define([], (function load__dart_sdk() { sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) })); - dart.setLibraryUri(core._BigIntClassic, I[8]); + dart.setLibraryUri(core._BigIntClassic, I[9]); dart.setFieldSignature(core._BigIntClassic, () => ({ __proto__: dart.getFields(core._BigIntClassic.__proto__), [_modulus$]: dart.finalFieldType(core._BigIntImpl), @@ -119779,6 +130929,10 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); + return new core.Deprecated.new(message); + } get expires() { return this.message; } @@ -119787,7 +130941,7 @@ define([], (function load__dart_sdk() { } }; (core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); this[message$11] = message; ; }).prototype = core.Deprecated.prototype; @@ -119797,23 +130951,31 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(core.Deprecated.__proto__), expires: core.String })); - dart.setLibraryUri(core.Deprecated, I[8]); + dart.setLibraryUri(core.Deprecated, I[9]); dart.setFieldSignature(core.Deprecated, () => ({ __proto__: dart.getFields(core.Deprecated.__proto__), message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.Deprecated, ['toString']); - core._Override = class _Override extends core.Object {}; + core._Override = class _Override extends core.Object { + static ['_#new#tearOff']() { + return new core._Override.new(); + } + }; (core._Override.new = function() { ; }).prototype = core._Override.prototype; dart.addTypeTests(core._Override); dart.addTypeCaches(core._Override); - dart.setLibraryUri(core._Override, I[8]); + dart.setLibraryUri(core._Override, I[9]); core.Provisional = class Provisional extends core.Object { get message() { return null; } + static ['_#new#tearOff'](opts) { + let message = opts && 'message' in opts ? opts.message : null; + return new core.Provisional.new({message: message}); + } }; (core.Provisional.new = function(opts) { let message = opts && 'message' in opts ? opts.message : null; @@ -119825,7 +130987,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getGetters(core.Provisional.__proto__), message: dart.nullable(core.String) })); - dart.setLibraryUri(core.Provisional, I[8]); + dart.setLibraryUri(core.Provisional, I[9]); var name$12 = dart.privateName(core, "pragma.name"); var options$ = dart.privateName(core, "pragma.options"); core.pragma = class pragma extends core.Object { @@ -119841,21 +131003,31 @@ define([], (function load__dart_sdk() { set options(value) { super.options = value; } + static ['_#new#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 186, 31, "name"); + return new core.pragma.__(name, options); + } + static ['_#_#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); + return new core.pragma.__(name, options); + } }; (core.pragma.__ = function(name, options = null) { - if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); this[name$12] = name; this[options$] = options; ; }).prototype = core.pragma.prototype; dart.addTypeTests(core.pragma); dart.addTypeCaches(core.pragma); - dart.setLibraryUri(core.pragma, I[8]); + dart.setStaticMethodSignature(core.pragma, () => ['new']); + dart.setLibraryUri(core.pragma, I[9]); dart.setFieldSignature(core.pragma, () => ({ __proto__: dart.getFields(core.pragma.__proto__), name: dart.finalFieldType(core.String), options: dart.finalFieldType(dart.nullable(core.Object)) })); + dart.setStaticFieldSignature(core.pragma, () => ['_redirecting#']); core.BigInt = class BigInt extends core.Object { static get zero() { return core._BigIntImpl.zero; @@ -119867,22 +131039,29 @@ define([], (function load__dart_sdk() { return core._BigIntImpl.two; } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + if (source == null) dart.nullFailed(I[7], 327, 30, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl.parse(source, {radix: radix}); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + if (source == null) dart.nullFailed(I[7], 331, 34, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl._tryParse(source, {radix: radix}); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 335, 27, "value"); + return core._BigIntImpl.from(value); + } }; (core.BigInt[dart.mixinNew] = function() { }).prototype = core.BigInt.prototype; dart.addTypeTests(core.BigInt); dart.addTypeCaches(core.BigInt); core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; - dart.setLibraryUri(core.BigInt, I[8]); + dart.setStaticMethodSignature(core.BigInt, () => ['parse', 'tryParse', 'from']); + dart.setStaticGetterSignature(core.BigInt, () => ['zero', 'one', 'two']); + dart.setLibraryUri(core.BigInt, I[9]); + dart.setStaticFieldSignature(core.BigInt, () => ['_redirecting#']); core.bool = class bool extends core.Object { static is(o) { return o === true || o === false; @@ -119892,28 +131071,38 @@ define([], (function load__dart_sdk() { return dart.as(o, core.bool); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; - if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); + return core.bool.fromEnvironment(name, {defaultValue: defaultValue}); + } static hasEnvironment(name) { - if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); } + static ['_#hasEnvironment#tearOff'](name) { + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); + return core.bool.hasEnvironment(name); + } get [$hashCode]() { return super[$hashCode]; } [$bitAnd](other) { - if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + if (other == null) dart.nullFailed(I[165], 103, 24, "other"); return dart.test(other) && this; } [$bitOr](other) { - if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + if (other == null) dart.nullFailed(I[165], 109, 24, "other"); return dart.test(other) || this; } [$bitXor](other) { - if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + if (other == null) dart.nullFailed(I[165], 115, 24, "other"); return !dart.test(other) === this; } [$toString]() { @@ -119929,13 +131118,14 @@ define([], (function load__dart_sdk() { [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); - dart.setLibraryUri(core.bool, I[8]); + dart.setStaticMethodSignature(core.bool, () => ['is', 'as', 'fromEnvironment', 'hasEnvironment']); + dart.setLibraryUri(core.bool, I[9]); const _is_Comparable_default = Symbol('_is_Comparable_default'); core.Comparable$ = dart.generic(T => { class Comparable extends core.Object { static compare(a, b) { - if (a == null) dart.nullFailed(I[167], 88, 33, "a"); - if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + if (a == null) dart.nullFailed(I[166], 88, 33, "a"); + if (b == null) dart.nullFailed(I[166], 88, 47, "b"); return a[$compareTo](b); } } @@ -119945,7 +131135,8 @@ define([], (function load__dart_sdk() { dart.addTypeTests(Comparable); Comparable.prototype[_is_Comparable_default] = true; dart.addTypeCaches(Comparable); - dart.setLibraryUri(Comparable, I[8]); + dart.setStaticMethodSignature(Comparable, () => ['compare']); + dart.setLibraryUri(Comparable, I[9]); return Comparable; }); core.Comparable = core.Comparable$(); @@ -119960,11 +131151,36 @@ define([], (function load__dart_sdk() { super.isUtc = value; } static _microsecondInRoundedMilliseconds(microsecond) { - if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + if (microsecond == null) dart.nullFailed(I[7], 412, 52, "microsecond"); return (dart.notNull(microsecond) / 1000)[$round](); } + static ['_#new#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); + return new core.DateTime.new(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#utc#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); + return new core.DateTime.utc(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#now#tearOff']() { + return new core.DateTime.now(); + } static parse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 289, 32, "formattedString"); let re = core.DateTime._parseFormat; let match = re.firstMatch(formattedString); if (match != null) { @@ -119976,7 +131192,7 @@ define([], (function load__dart_sdk() { function parseMilliAndMicroseconds(matched) { if (matched == null) return 0; let length = matched.length; - if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + if (!(length >= 1)) dart.assertFailed(null, I[167], 304, 16, "length >= 1"); let result = 0; for (let i = 0; i < 6; i = i + 1) { result = result * 10; @@ -120018,7 +131234,7 @@ define([], (function load__dart_sdk() { } } static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); try { return core.DateTime.parse(formattedString); } catch (e) { @@ -120029,24 +131245,42 @@ define([], (function load__dart_sdk() { throw e; } } + static ['_#fromMillisecondsSinceEpoch#tearOff'](millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); + return new core.DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#fromMicrosecondsSinceEpoch#tearOff'](microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); + return new core.DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#_withValue#tearOff'](_value, opts) { + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); + return new core.DateTime._withValue(_value, {isUtc: isUtc}); + } _equals(other) { if (other == null) return false; return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; } isBefore(other) { - if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + if (other == null) dart.nullFailed(I[7], 497, 26, "other"); return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); } isAfter(other) { - if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + if (other == null) dart.nullFailed(I[7], 500, 25, "other"); return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); } isAtSameMomentAs(other) { - if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + if (other == null) dart.nullFailed(I[7], 503, 34, "other"); return this[_value$4] == other.millisecondsSinceEpoch; } compareTo(other) { - if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + if (other == null) dart.nullFailed(I[7], 507, 26, "other"); return this[_value$4][$compareTo](other.millisecondsSinceEpoch); } get hashCode() { @@ -120063,7 +131297,7 @@ define([], (function load__dart_sdk() { return new core.DateTime._withValue(this[_value$4], {isUtc: true}); } static _fourDigits(n) { - if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + if (n == null) dart.nullFailed(I[167], 540, 33, "n"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : ""; if (absN >= 1000) return dart.str(n); @@ -120072,21 +131306,21 @@ define([], (function load__dart_sdk() { return sign + "000" + dart.str(absN); } static _sixDigits(n) { - if (n == null) dart.nullFailed(I[168], 501, 32, "n"); - if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + if (n == null) dart.nullFailed(I[167], 549, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[167], 550, 12, "n < -9999 || n > 9999"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : "+"; if (absN >= 100000) return sign + dart.str(absN); return sign + "0" + dart.str(absN); } static _threeDigits(n) { - if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (n == null) dart.nullFailed(I[167], 557, 34, "n"); if (dart.notNull(n) >= 100) return dart.str(n); if (dart.notNull(n) >= 10) return "0" + dart.str(n); return "00" + dart.str(n); } static _twoDigits(n) { - if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (n == null) dart.nullFailed(I[167], 563, 32, "n"); if (dart.notNull(n) >= 10) return dart.str(n); return "0" + dart.str(n); } @@ -120121,27 +131355,42 @@ define([], (function load__dart_sdk() { } } add(duration) { - if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + if (duration == null) dart.nullFailed(I[7], 443, 25, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } subtract(duration) { - if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + if (duration == null) dart.nullFailed(I[7], 448, 30, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } difference(other) { - if (other == null) dart.nullFailed(I[7], 382, 32, "other"); - return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + if (other == null) dart.nullFailed(I[7], 453, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other.millisecondsSinceEpoch)}); + } + static ['_#_internal#tearOff'](year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); + return new core.DateTime._internal(year, month, day, hour, minute, second, millisecond, microsecond, isUtc); + } + static ['_#_now#tearOff']() { + return new core.DateTime._now(); } static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 346, 42, "year"); - if (month == null) dart.nullFailed(I[7], 346, 52, "month"); - if (day == null) dart.nullFailed(I[7], 346, 63, "day"); - if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); - if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); - if (second == null) dart.nullFailed(I[7], 347, 23, "second"); - if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + if (year == null) dart.nullFailed(I[7], 417, 42, "year"); + if (month == null) dart.nullFailed(I[7], 417, 52, "month"); + if (day == null) dart.nullFailed(I[7], 417, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 417, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 418, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 418, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 418, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 418, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 418, 70, "isUtc"); return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); } get millisecondsSinceEpoch() { @@ -120187,46 +131436,46 @@ define([], (function load__dart_sdk() { } }; (core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 172, 16, "year"); - if (month == null) dart.nullFailed(I[168], 173, 12, "month"); - if (day == null) dart.nullFailed(I[168], 174, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 177, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); }).prototype = core.DateTime.prototype; (core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 192, 20, "year"); - if (month == null) dart.nullFailed(I[168], 193, 12, "month"); - if (day == null) dart.nullFailed(I[168], 194, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 197, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); }).prototype = core.DateTime.prototype; (core.DateTime.now = function() { core.DateTime._now.call(this); }).prototype = core.DateTime.prototype; (core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { - if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { - if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime._withValue = function(_value, opts) { - if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); this[_value$4] = _value; this[isUtc$] = isUtc; if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { @@ -120235,15 +131484,15 @@ define([], (function load__dart_sdk() { _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); }).prototype = core.DateTime.prototype; (core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 320, 26, "year"); - if (month == null) dart.nullFailed(I[7], 320, 36, "month"); - if (day == null) dart.nullFailed(I[7], 320, 47, "day"); - if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); - if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); - if (second == null) dart.nullFailed(I[7], 321, 11, "second"); - if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); this[isUtc$] = isUtc; this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); ; @@ -120270,6 +131519,7 @@ define([], (function load__dart_sdk() { subtract: dart.fnType(core.DateTime, [core.Duration]), difference: dart.fnType(core.Duration, [core.DateTime]) })); + dart.setStaticMethodSignature(core.DateTime, () => ['_microsecondInRoundedMilliseconds', 'parse', 'tryParse', '_fourDigits', '_sixDigits', '_threeDigits', '_twoDigits', '_brokenDownDateToValue']); dart.setGetterSignature(core.DateTime, () => ({ __proto__: dart.getGetters(core.DateTime.__proto__), millisecondsSinceEpoch: core.int, @@ -120286,12 +131536,13 @@ define([], (function load__dart_sdk() { microsecond: core.int, weekday: core.int })); - dart.setLibraryUri(core.DateTime, I[8]); + dart.setLibraryUri(core.DateTime, I[9]); dart.setFieldSignature(core.DateTime, () => ({ __proto__: dart.getFields(core.DateTime.__proto__), [_value$4]: dart.finalFieldType(core.int), isUtc: dart.finalFieldType(core.bool) })); + dart.setStaticFieldSignature(core.DateTime, () => ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday', 'daysPerWeek', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december', 'monthsPerYear', '_maxMillisecondsSinceEpoch', '_parseFormat']); dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.DateTime, ['hashCode']); dart.defineLazy(core.DateTime, { @@ -120374,37 +131625,56 @@ define([], (function load__dart_sdk() { set [_duration](value) { super[_duration] = value; } + static ['_#new#tearOff'](opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + return new core.Duration.new({days: days, hours: hours, minutes: minutes, seconds: seconds, milliseconds: milliseconds, microseconds: microseconds}); + } + static ['_#_microseconds#tearOff'](_duration) { + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); + return new core.Duration._microseconds(_duration); + } ['+'](other) { - if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + if (other == null) dart.nullFailed(I[168], 193, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); } ['-'](other) { - if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + if (other == null) dart.nullFailed(I[168], 199, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + if (factor == null) dart.nullFailed(I[168], 208, 27, "factor"); return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); } ['~/'](quotient) { - if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient == null) dart.nullFailed(I[168], 216, 28, "quotient"); if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); } ['<'](other) { - if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + if (other == null) dart.nullFailed(I[168], 224, 28, "other"); return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); } ['>'](other) { - if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + if (other == null) dart.nullFailed(I[168], 227, 28, "other"); return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); } ['<='](other) { - if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + if (other == null) dart.nullFailed(I[168], 230, 29, "other"); return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); } ['>='](other) { - if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + if (other == null) dart.nullFailed(I[168], 233, 29, "other"); return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); } get inDays() { @@ -120434,33 +131704,23 @@ define([], (function load__dart_sdk() { } compareTo(other) { core.Duration.as(other); - if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + if (other == null) dart.nullFailed(I[168], 319, 26, "other"); return this[_duration][$compareTo](other[_duration]); } toString() { - function sixDigits(n) { - if (n == null) dart.nullFailed(I[169], 260, 26, "n"); - if (dart.notNull(n) >= 100000) return dart.str(n); - if (dart.notNull(n) >= 10000) return "0" + dart.str(n); - if (dart.notNull(n) >= 1000) return "00" + dart.str(n); - if (dart.notNull(n) >= 100) return "000" + dart.str(n); - if (dart.notNull(n) >= 10) return "0000" + dart.str(n); - return "00000" + dart.str(n); - } - dart.fn(sixDigits, T$0.intToString()); - function twoDigits(n) { - if (n == null) dart.nullFailed(I[169], 269, 26, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - dart.fn(twoDigits, T$0.intToString()); - if (dart.notNull(this.inMicroseconds) < 0) { - return "-" + dart.str(this._negate()); - } - let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); - let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); - let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); - return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + let microseconds = this.inMicroseconds; + let sign = dart.notNull(microseconds) < 0 ? "-" : ""; + let hours = (dart.notNull(microseconds) / 3600000000.0)[$truncate](); + microseconds = microseconds[$remainder](3600000000.0); + if (dart.notNull(microseconds) < 0) microseconds = -dart.notNull(microseconds); + let minutes = (dart.notNull(microseconds) / 60000000)[$truncate](); + microseconds = microseconds[$remainder](60000000); + let minutesPadding = minutes < 10 ? "0" : ""; + let seconds = (dart.notNull(microseconds) / 1000000)[$truncate](); + microseconds = microseconds[$remainder](1000000); + let secondsPadding = seconds < 10 ? "0" : ""; + let paddedMicroseconds = dart.toString(microseconds)[$padLeft](6, "0"); + return sign + dart.str(hours[$abs]()) + ":" + minutesPadding + dart.str(minutes) + ":" + secondsPadding + dart.str(seconds) + "." + paddedMicroseconds; } get isNegative() { return dart.notNull(this[_duration]) < 0; @@ -120474,21 +131734,21 @@ define([], (function load__dart_sdk() { }; (core.Duration.new = function(opts) { let days = opts && 'days' in opts ? opts.days : 0; - if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); let hours = opts && 'hours' in opts ? opts.hours : 0; - if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); let minutes = opts && 'minutes' in opts ? opts.minutes : 0; - if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); let seconds = opts && 'seconds' in opts ? opts.seconds : 0; - if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; - if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; - if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); - core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + core.Duration._microseconds.call(this, dart.notNull(microseconds) + 1000 * dart.notNull(milliseconds) + 1000000 * dart.notNull(seconds) + 60000000 * dart.notNull(minutes) + 3600000000.0 * dart.notNull(hours) + 86400000000.0 * dart.notNull(days)); }).prototype = core.Duration.prototype; (core.Duration._microseconds = function(_duration) { - if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); this[_duration$] = _duration; ; }).prototype = core.Duration.prototype; @@ -120520,11 +131780,12 @@ define([], (function load__dart_sdk() { inMicroseconds: core.int, isNegative: core.bool })); - dart.setLibraryUri(core.Duration, I[8]); + dart.setLibraryUri(core.Duration, I[9]); dart.setFieldSignature(core.Duration, () => ({ __proto__: dart.getFields(core.Duration.__proto__), [_duration]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(core.Duration, () => ['microsecondsPerMillisecond', 'millisecondsPerSecond', 'secondsPerMinute', 'minutesPerHour', 'hoursPerDay', 'microsecondsPerSecond', 'microsecondsPerMinute', 'microsecondsPerHour', 'microsecondsPerDay', 'millisecondsPerMinute', 'millisecondsPerHour', 'millisecondsPerDay', 'secondsPerHour', 'secondsPerDay', 'minutesPerDay', 'zero']); dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.Duration, ['hashCode']); dart.defineLazy(core.Duration, { @@ -120574,26 +131835,56 @@ define([], (function load__dart_sdk() { return 1440; }, /*core.Duration.zero*/get zero() { - return C[420] || CT.C420; + return C[431] || CT.C431; } }, false); - core.TypeError = class TypeError extends core.Error {}; + core.Enum = class Enum extends core.Object { + static compareByIndex(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 72, 47, "value1"); + if (value2 == null) dart.nullFailed(I[122], 72, 57, "value2"); + return dart.notNull(value1.index) - dart.notNull(value2.index); + } + static compareByName(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 95, 46, "value1"); + if (value2 == null) dart.nullFailed(I[122], 95, 56, "value2"); + return core['EnumName|get#name'](value1)[$compareTo](core['EnumName|get#name'](value2)); + } + }; + (core.Enum.new = function() { + ; + }).prototype = core.Enum.prototype; + dart.addTypeTests(core.Enum); + dart.addTypeCaches(core.Enum); + dart.setStaticMethodSignature(core.Enum, () => ['compareByIndex', 'compareByName']); + dart.setLibraryUri(core.Enum, I[9]); + core.TypeError = class TypeError extends core.Error { + static ['_#new#tearOff']() { + return new core.TypeError.new(); + } + }; (core.TypeError.new = function() { core.TypeError.__proto__.new.call(this); ; }).prototype = core.TypeError.prototype; dart.addTypeTests(core.TypeError); dart.addTypeCaches(core.TypeError); - dart.setLibraryUri(core.TypeError, I[8]); - core.CastError = class CastError extends core.Error {}; + dart.setLibraryUri(core.TypeError, I[9]); + core.CastError = class CastError extends core.Error { + static ['_#new#tearOff']() { + return new core.CastError.new(); + } + }; (core.CastError.new = function() { core.CastError.__proto__.new.call(this); ; }).prototype = core.CastError.prototype; dart.addTypeTests(core.CastError); dart.addTypeCaches(core.CastError); - dart.setLibraryUri(core.CastError, I[8]); + dart.setLibraryUri(core.CastError, I[9]); core.NullThrownError = class NullThrownError extends core.Error { + static ['_#new#tearOff']() { + return new core.NullThrownError.new(); + } toString() { return "Throw of null."; } @@ -120604,7 +131895,8 @@ define([], (function load__dart_sdk() { }).prototype = core.NullThrownError.prototype; dart.addTypeTests(core.NullThrownError); dart.addTypeCaches(core.NullThrownError); - dart.setLibraryUri(core.NullThrownError, I[8]); + core.NullThrownError[dart.implements] = () => [core.TypeError]; + dart.setLibraryUri(core.NullThrownError, I[9]); dart.defineExtensionMethods(core.NullThrownError, ['toString']); var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); var name$13 = dart.privateName(core, "ArgumentError.name"); @@ -120628,9 +131920,19 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null, name = null) { + return new core.ArgumentError.new(message, name); + } + static ['_#value#tearOff'](value, name = null, message = null) { + return new core.ArgumentError.value(value, name, message); + } + static ['_#notNull#tearOff'](name = null) { + return new core.ArgumentError.notNull(name); + } static checkNotNull(T, argument, name = null) { - if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); - return argument; + let t230; + t230 = argument; + return t230 == null ? dart.throw(new core.ArgumentError.notNull(name)) : t230; } get [_errorName$]() { return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); @@ -120650,11 +131952,11 @@ define([], (function load__dart_sdk() { return prefix + dart.str(explanation) + ": " + dart.str(errorValue); } }; - (core.ArgumentError.new = function(message = null) { + (core.ArgumentError.new = function(message = null, name = null) { this[message$12] = message; + this[name$13] = name; this[invalidValue] = null; this[_hasValue$] = false; - this[name$13] = null; core.ArgumentError.__proto__.new.call(this); ; }).prototype = core.ArgumentError.prototype; @@ -120676,12 +131978,13 @@ define([], (function load__dart_sdk() { }).prototype = core.ArgumentError.prototype; dart.addTypeTests(core.ArgumentError); dart.addTypeCaches(core.ArgumentError); + dart.setStaticMethodSignature(core.ArgumentError, () => ['checkNotNull']); dart.setGetterSignature(core.ArgumentError, () => ({ __proto__: dart.getGetters(core.ArgumentError.__proto__), [_errorName$]: core.String, [_errorExplanation$]: core.String })); - dart.setLibraryUri(core.ArgumentError, I[8]); + dart.setLibraryUri(core.ArgumentError, I[9]); dart.setFieldSignature(core.ArgumentError, () => ({ __proto__: dart.getFields(core.ArgumentError.__proto__), [_hasValue$]: dart.finalFieldType(core.bool), @@ -120706,27 +132009,41 @@ define([], (function load__dart_sdk() { set end(value) { super.end = value; } + get invalidValue() { + return T$0.numN().as(super[$invalidValue]); + } + static ['_#new#tearOff'](message) { + return new core.RangeError.new(message); + } + static ['_#value#tearOff'](value, name = null, message = null) { + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); + return new core.RangeError.value(value, name, message); + } + static ['_#range#tearOff'](invalidValue, minValue, maxValue, name = null, message = null) { + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); + return new core.RangeError.range(invalidValue, minValue, maxValue, name, message); + } + static ['_#index#tearOff'](index, indexable, name = null, message = null, length = null) { + if (index == null) dart.nullFailed(I[28], 312, 32, "index"); + return new core.IndexError.new(index, indexable, name, message, length); + } static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { - if (value == null) dart.nullFailed(I[170], 274, 39, "value"); - if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); - if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (value == null) dart.nullFailed(I[28], 324, 39, "value"); + if (minValue == null) dart.nullFailed(I[28], 324, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[28], 324, 64, "maxValue"); if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); } return value; } static checkValidIndex(index, indexable, name = null, length = null, message = null) { - if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + if (index == null) dart.nullFailed(I[28], 347, 34, "index"); length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { - name == null ? name = "index" : null; - dart.throw(new core.IndexError.new(index, indexable, name, message, length)); - } - return index; + return core.IndexError.check(index, length, {indexable: indexable, name: name, message: message}); } static checkValidRange(start, end, length, startName = null, endName = null, message = null) { - if (start == null) dart.nullFailed(I[170], 322, 34, "start"); - if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (start == null) dart.nullFailed(I[28], 368, 34, "start"); + if (length == null) dart.nullFailed(I[28], 368, 55, "length"); if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { startName == null ? startName = "start" : null; dart.throw(new core.RangeError.range(start, 0, length, startName, message)); @@ -120741,10 +132058,10 @@ define([], (function load__dart_sdk() { return length; } static checkNotNegative(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 395, 35, "value"); if (dart.notNull(value) < 0) { - dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + dart.throw(new core.RangeError.range(value, 0, null, (t230 = name, t230 == null ? "index" : t230), message)); } return value; } @@ -120752,7 +132069,7 @@ define([], (function load__dart_sdk() { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); let explanation = ""; let start = this.start; let end = this.end; @@ -120779,29 +132096,37 @@ define([], (function load__dart_sdk() { ; }).prototype = core.RangeError.prototype; (core.RangeError.value = function(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); this[start] = null; this[end] = null; - core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + core.RangeError.__proto__.value.call(this, value, name, (t230 = message, t230 == null ? "Value not in range" : t230)); ; }).prototype = core.RangeError.prototype; (core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { - let t249; - if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); this[start] = minValue; this[end] = maxValue; - core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + core.RangeError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Invalid value" : t230)); ; }).prototype = core.RangeError.prototype; dart.addTypeTests(core.RangeError); dart.addTypeCaches(core.RangeError); - dart.setLibraryUri(core.RangeError, I[8]); + dart.setStaticMethodSignature(core.RangeError, () => ['index', 'checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'checkNotNegative']); + dart.setGetterSignature(core.RangeError, () => ({ + __proto__: dart.getGetters(core.RangeError.__proto__), + invalidValue: dart.nullable(core.num), + [$invalidValue]: dart.nullable(core.num) + })); + dart.setLibraryUri(core.RangeError, I[9]); dart.setFieldSignature(core.RangeError, () => ({ __proto__: dart.getFields(core.RangeError.__proto__), start: dart.finalFieldType(dart.nullable(core.num)), end: dart.finalFieldType(dart.nullable(core.num)) })); + dart.setStaticFieldSignature(core.RangeError, () => ['_redirecting#']); + dart.defineExtensionAccessors(core.RangeError, ['invalidValue']); var indexable$ = dart.privateName(core, "IndexError.indexable"); var length$ = dart.privateName(core, "IndexError.length"); core.IndexError = class IndexError extends core.ArgumentError { @@ -120817,6 +132142,33 @@ define([], (function load__dart_sdk() { set length(value) { super.length = value; } + get invalidValue() { + return core.int.as(super[$invalidValue]); + } + static ['_#new#tearOff'](invalidValue, indexable, name = null, message = null, length = null) { + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + return new core.IndexError.new(invalidValue, indexable, name, message, length); + } + static ['_#withLength#tearOff'](invalidValue, length, opts) { + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + return new core.IndexError.withLength(invalidValue, length, {indexable: indexable, name: name, message: message}); + } + static check(index, length, opts) { + if (index == null) dart.nullFailed(I[28], 489, 24, "index"); + if (length == null) dart.nullFailed(I[28], 489, 35, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.withLength(index, length, {indexable: indexable, name: name, message: message})); + } + return index; + } get start() { return 0; } @@ -120827,8 +132179,8 @@ define([], (function load__dart_sdk() { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); - let invalidValue = core.int.as(this[$invalidValue]); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 506, 12, "_hasValue"); + let invalidValue = this.invalidValue; if (dart.notNull(invalidValue) < 0) { return ": index must not be negative"; } @@ -120839,48 +132191,80 @@ define([], (function load__dart_sdk() { } }; (core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - let t249, t249$; - if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + let t230, t230$; + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t230 = length, t230 == null ? dart.dload(indexable, 'length') : t230)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230$ = message, t230$ == null ? "Index out of range" : t230$)); + ; + }).prototype = core.IndexError.prototype; + (core.IndexError.withLength = function(invalidValue, length, opts) { + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + this[length$] = length; this[indexable$] = indexable; - this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); - core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Index out of range" : t230)); ; }).prototype = core.IndexError.prototype; dart.addTypeTests(core.IndexError); dart.addTypeCaches(core.IndexError); core.IndexError[dart.implements] = () => [core.RangeError]; + dart.setStaticMethodSignature(core.IndexError, () => ['check']); dart.setGetterSignature(core.IndexError, () => ({ __proto__: dart.getGetters(core.IndexError.__proto__), + invalidValue: core.int, + [$invalidValue]: core.int, start: core.int, end: core.int })); - dart.setLibraryUri(core.IndexError, I[8]); + dart.setLibraryUri(core.IndexError, I[9]); dart.setFieldSignature(core.IndexError, () => ({ __proto__: dart.getFields(core.IndexError.__proto__), - indexable: dart.finalFieldType(dart.dynamic), + indexable: dart.finalFieldType(dart.nullable(core.Object)), length: dart.finalFieldType(core.int) })); + dart.defineExtensionAccessors(core.IndexError, ['invalidValue']); var _className = dart.privateName(core, "_className"); core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + static ['_#new#tearOff'](className) { + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); + return new core.AbstractClassInstantiationError.new(className); + } toString() { return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; } }; (core.AbstractClassInstantiationError.new = function(className) { - if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); this[_className] = className; core.AbstractClassInstantiationError.__proto__.new.call(this); ; }).prototype = core.AbstractClassInstantiationError.prototype; dart.addTypeTests(core.AbstractClassInstantiationError); dart.addTypeCaches(core.AbstractClassInstantiationError); - dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); + dart.setLibraryUri(core.AbstractClassInstantiationError, I[9]); dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), [_className]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + static ['_#_withInvocation#tearOff'](_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); + return new core.NoSuchMethodError._withInvocation(_receiver, invocation); + } + static ['_#withInvocation#tearOff'](receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 868, 40, "invocation"); + return new core.NoSuchMethodError._withInvocation(receiver, invocation); + } + static ['_#new#tearOff'](receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); + return new core.NoSuchMethodError.new(receiver, memberName, positionalArguments, namedArguments); + } toString() { let sb = new core.StringBuffer.new(""); let comma = ""; @@ -120895,7 +132279,7 @@ define([], (function load__dart_sdk() { let namedArguments = this[_namedArguments$]; if (namedArguments != null) { namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + if (key == null) dart.nullFailed(I[7], 891, 38, "key"); sb.write(comma); sb.write(core._symbolToString(key)); sb.write(": "); @@ -120912,7 +132296,7 @@ define([], (function load__dart_sdk() { } }; (core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); this[_receiver$] = _receiver; this[_memberName$] = invocation.memberName; this[_arguments$] = invocation.positionalArguments; @@ -120922,7 +132306,7 @@ define([], (function load__dart_sdk() { ; }).prototype = core.NoSuchMethodError.prototype; (core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); this[_receiver$] = receiver; this[_memberName$] = memberName; this[_arguments$] = positionalArguments; @@ -120933,7 +132317,8 @@ define([], (function load__dart_sdk() { }).prototype = core.NoSuchMethodError.prototype; dart.addTypeTests(core.NoSuchMethodError); dart.addTypeCaches(core.NoSuchMethodError); - dart.setLibraryUri(core.NoSuchMethodError, I[8]); + dart.setStaticMethodSignature(core.NoSuchMethodError, () => ['withInvocation']); + dart.setLibraryUri(core.NoSuchMethodError, I[9]); dart.setFieldSignature(core.NoSuchMethodError, () => ({ __proto__: dart.getFields(core.NoSuchMethodError.__proto__), [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -120942,6 +132327,7 @@ define([], (function load__dart_sdk() { [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) })); + dart.setStaticFieldSignature(core.NoSuchMethodError, () => ['_redirecting#']); dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); var message$13 = dart.privateName(core, "UnsupportedError.message"); core.UnsupportedError = class UnsupportedError extends core.Error { @@ -120951,19 +132337,23 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); + return new core.UnsupportedError.new(message); + } toString() { return "Unsupported operation: " + dart.str(this.message); } }; (core.UnsupportedError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); this[message$13] = message; core.UnsupportedError.__proto__.new.call(this); ; }).prototype = core.UnsupportedError.prototype; dart.addTypeTests(core.UnsupportedError); dart.addTypeCaches(core.UnsupportedError); - dart.setLibraryUri(core.UnsupportedError, I[8]); + dart.setLibraryUri(core.UnsupportedError, I[9]); dart.setFieldSignature(core.UnsupportedError, () => ({ __proto__: dart.getFields(core.UnsupportedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -120977,6 +132367,9 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.UnimplementedError.new(message); + } toString() { let message = this.message; return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; @@ -120990,7 +132383,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.UnimplementedError); dart.addTypeCaches(core.UnimplementedError); core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; - dart.setLibraryUri(core.UnimplementedError, I[8]); + dart.setLibraryUri(core.UnimplementedError, I[9]); dart.setFieldSignature(core.UnimplementedError, () => ({ __proto__: dart.getFields(core.UnimplementedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -121004,19 +132397,23 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); + return new core.StateError.new(message); + } toString() { return "Bad state: " + dart.str(this.message); } }; (core.StateError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); this[message$15] = message; core.StateError.__proto__.new.call(this); ; }).prototype = core.StateError.prototype; dart.addTypeTests(core.StateError); dart.addTypeCaches(core.StateError); - dart.setLibraryUri(core.StateError, I[8]); + dart.setLibraryUri(core.StateError, I[9]); dart.setFieldSignature(core.StateError, () => ({ __proto__: dart.getFields(core.StateError.__proto__), message: dart.finalFieldType(core.String) @@ -121030,6 +132427,9 @@ define([], (function load__dart_sdk() { set modifiedObject(value) { super.modifiedObject = value; } + static ['_#new#tearOff'](modifiedObject = null) { + return new core.ConcurrentModificationError.new(modifiedObject); + } toString() { if (this.modifiedObject == null) { return "Concurrent modification during iteration."; @@ -121044,13 +132444,16 @@ define([], (function load__dart_sdk() { }).prototype = core.ConcurrentModificationError.prototype; dart.addTypeTests(core.ConcurrentModificationError); dart.addTypeCaches(core.ConcurrentModificationError); - dart.setLibraryUri(core.ConcurrentModificationError, I[8]); + dart.setLibraryUri(core.ConcurrentModificationError, I[9]); dart.setFieldSignature(core.ConcurrentModificationError, () => ({ __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + static ['_#new#tearOff']() { + return new core.OutOfMemoryError.new(); + } toString() { return "Out of Memory"; } @@ -121069,10 +132472,13 @@ define([], (function load__dart_sdk() { stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); - dart.setLibraryUri(core.OutOfMemoryError, I[8]); + dart.setLibraryUri(core.OutOfMemoryError, I[9]); dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); core.StackOverflowError = class StackOverflowError extends core.Object { + static ['_#new#tearOff']() { + return new core.StackOverflowError.new(); + } toString() { return "Stack Overflow"; } @@ -121091,7 +132497,7 @@ define([], (function load__dart_sdk() { stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); - dart.setLibraryUri(core.StackOverflowError, I[8]); + dart.setLibraryUri(core.StackOverflowError, I[9]); dart.defineExtensionMethods(core.StackOverflowError, ['toString']); dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); @@ -121102,6 +132508,9 @@ define([], (function load__dart_sdk() { set variableName(value) { super.variableName = value; } + static ['_#new#tearOff'](variableName = null) { + return new core.CyclicInitializationError.new(variableName); + } toString() { let variableName = this.variableName; return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; @@ -121114,7 +132523,7 @@ define([], (function load__dart_sdk() { }).prototype = core.CyclicInitializationError.prototype; dart.addTypeTests(core.CyclicInitializationError); dart.addTypeCaches(core.CyclicInitializationError); - dart.setLibraryUri(core.CyclicInitializationError, I[8]); + dart.setLibraryUri(core.CyclicInitializationError, I[9]); dart.setFieldSignature(core.CyclicInitializationError, () => ({ __proto__: dart.getFields(core.CyclicInitializationError.__proto__), variableName: dart.finalFieldType(dart.nullable(core.String)) @@ -121124,13 +132533,20 @@ define([], (function load__dart_sdk() { static new(message = null) { return new core._Exception.new(message); } + static ['_#new#tearOff'](message = null) { + return core.Exception.new(message); + } }; (core.Exception[dart.mixinNew] = function() { }).prototype = core.Exception.prototype; dart.addTypeTests(core.Exception); dart.addTypeCaches(core.Exception); - dart.setLibraryUri(core.Exception, I[8]); + dart.setStaticMethodSignature(core.Exception, () => ['new']); + dart.setLibraryUri(core.Exception, I[9]); core._Exception = class _Exception extends core.Object { + static ['_#new#tearOff'](message = null) { + return new core._Exception.new(message); + } toString() { let message = this.message; if (message == null) return "Exception"; @@ -121144,7 +132560,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core._Exception); dart.addTypeCaches(core._Exception); core._Exception[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(core._Exception, I[8]); + dart.setLibraryUri(core._Exception, I[9]); dart.setFieldSignature(core._Exception, () => ({ __proto__: dart.getFields(core._Exception.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -121172,6 +132588,10 @@ define([], (function load__dart_sdk() { set offset(value) { super.offset = value; } + static ['_#new#tearOff'](message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); + return new core.FormatException.new(message, source, offset); + } toString() { let report = "FormatException"; let message = this.message; @@ -121251,7 +132671,7 @@ define([], (function load__dart_sdk() { } }; (core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); this[message$16] = message; this[source$] = source; this[offset$] = offset; @@ -121260,7 +132680,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.FormatException); dart.addTypeCaches(core.FormatException); core.FormatException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(core.FormatException, I[8]); + dart.setLibraryUri(core.FormatException, I[9]); dart.setFieldSignature(core.FormatException, () => ({ __proto__: dart.getFields(core.FormatException.__proto__), message: dart.finalFieldType(core.String), @@ -121269,6 +132689,15 @@ define([], (function load__dart_sdk() { })); dart.defineExtensionMethods(core.FormatException, ['toString']); core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + get message() { + return "Division resulted in non-finite value"; + } + get stackTrace() { + return null; + } + static ['_#new#tearOff']() { + return new core.IntegerDivisionByZeroException.new(); + } toString() { return "IntegerDivisionByZeroException"; } @@ -121278,92 +132707,22 @@ define([], (function load__dart_sdk() { }).prototype = core.IntegerDivisionByZeroException.prototype; dart.addTypeTests(core.IntegerDivisionByZeroException); dart.addTypeCaches(core.IntegerDivisionByZeroException); - core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); + core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception, core.UnsupportedError]; + dart.setGetterSignature(core.IntegerDivisionByZeroException, () => ({ + __proto__: dart.getGetters(core.IntegerDivisionByZeroException.__proto__), + message: dart.nullable(core.String), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) + })); + dart.setLibraryUri(core.IntegerDivisionByZeroException, I[9]); dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); - var name$14 = dart.privateName(core, "Expando.name"); - var _getKey = dart.privateName(core, "_getKey"); - const _is_Expando_default = Symbol('_is_Expando_default'); - core.Expando$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - class Expando extends core.Object { - get name() { - return this[name$14]; - } - set name(value) { - super.name = value; - } - [_getKey]() { - let t249; - let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); - if (key == null) { - key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); - _js_helper.Primitives.setProperty(this, "expando$key", key); - } - return key; - } - toString() { - return "Expando:" + dart.str(this.name); - } - _get(object) { - if (object == null) dart.nullFailed(I[7], 139, 25, "object"); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); - } - _set(object, value$) { - let value = value$; - if (object == null) dart.nullFailed(I[7], 147, 28, "object"); - TN().as(value); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - if (values == null) { - values = new core.Object.new(); - _js_helper.Primitives.setProperty(object, "expando$values", values); - } - _js_helper.Primitives.setProperty(values, this[_getKey](), value); - return value$; - } - } - (Expando.new = function(name = null) { - this[name$14] = name; - ; - }).prototype = Expando.prototype; - dart.addTypeTests(Expando); - Expando.prototype[_is_Expando_default] = true; - dart.addTypeCaches(Expando); - dart.setMethodSignature(Expando, () => ({ - __proto__: dart.getMethods(Expando.__proto__), - [_getKey]: dart.fnType(core.String, []), - _get: dart.fnType(dart.nullable(T), [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) - })); - dart.setLibraryUri(Expando, I[8]); - dart.setFieldSignature(Expando, () => ({ - __proto__: dart.getFields(Expando.__proto__), - name: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(Expando, ['toString']); - return Expando; - }); - core.Expando = core.Expando$(); - dart.defineLazy(core.Expando, { - /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { - return "expando$key"; - }, - /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { - return "expando$values"; - }, - /*core.Expando._keyCount*/get _keyCount() { - return 0; - }, - set _keyCount(_) {} - }, false); - dart.addTypeTests(core.Expando, _is_Expando_default); + dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); core.Function = class Function extends core.Object { static _toMangledNames(namedArguments) { - if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + if (namedArguments == null) dart.nullFailed(I[7], 124, 28, "namedArguments"); let result = new (T$0.IdentityMapOfString$dynamic()).new(); namedArguments[$forEach](dart.fn((symbol, value) => { - if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 126, 29, "symbol"); result[$_set](core._symbolToString(symbol), value); }, T$0.SymbolAnddynamicTovoid())); return result; @@ -121376,12 +132735,17 @@ define([], (function load__dart_sdk() { return dart.as(o, core.Function); } static apply($function, positionalArguments, namedArguments = null) { - if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); - positionalArguments == null ? positionalArguments = [] : null; + if ($function == null) dart.nullFailed(I[7], 98, 25, "function"); + let needsCopy = namedArguments != null && dart.test(namedArguments[$isNotEmpty]); + if (positionalArguments == null) { + positionalArguments = []; + } else if (needsCopy || !Array.isArray(positionalArguments)) { + positionalArguments = core.List.of(positionalArguments); + } if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { let map = {}; namedArguments[$forEach](dart.fn((symbol, arg) => { - if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 115, 31, "symbol"); map[core._symbolToString(symbol)] = arg; }, T$0.SymbolAnddynamicTovoid())); return dart.dcall($function, positionalArguments, map); @@ -121393,19 +132757,32 @@ define([], (function load__dart_sdk() { ; }).prototype = core.Function.prototype; dart.addTypeCaches(core.Function); - dart.setLibraryUri(core.Function, I[8]); + dart.setStaticMethodSignature(core.Function, () => ['_toMangledNames', 'is', 'as', 'apply']); + dart.setLibraryUri(core.Function, I[9]); var _positional = dart.privateName(core, "_positional"); var _named = dart.privateName(core, "_named"); core._Invocation = class _Invocation extends core.Object { + static ['_#method#tearOff'](memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); + return new core._Invocation.method(memberName, types, positional, named); + } + static ['_#getter#tearOff'](memberName) { + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); + return new core._Invocation.getter(memberName); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get positionalArguments() { - let t249; - t249 = this[_positional]; - return t249 == null ? C[423] || CT.C423 : t249; + let t230; + t230 = this[_positional]; + return t230 == null ? C[434] || CT.C434 : t230; } get namedArguments() { - let t249; - t249 = this[_named]; - return t249 == null ? C[424] || CT.C424 : t249; + let t230; + t230 = this[_named]; + return t230 == null ? C[435] || CT.C435 : t230; } get isMethod() { return this[_named] != null; @@ -121420,7 +132797,7 @@ define([], (function load__dart_sdk() { return this[_named] == null; } static _ensureNonNullTypes(types) { - if (types == null) return C[0] || CT.C0; + if (types == null) return C[1] || CT.C1; let typeArguments = T$.ListOfType().unmodifiable(types); for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { if (typeArguments[$_get](i) == null) { @@ -121431,25 +132808,25 @@ define([], (function load__dart_sdk() { } }; (core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); this.memberName = memberName; this.typeArguments = core._Invocation._ensureNonNullTypes(types); - this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); - this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + this[_positional] = positional == null ? C[432] || CT.C432 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[433] || CT.C433 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); ; }).prototype = core._Invocation.prototype; (core._Invocation.getter = function(memberName) { - if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = null; this[_named] = null; ; }).prototype = core._Invocation.prototype; (core._Invocation.setter = function(memberName, argument) { - if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); this[_named] = null; ; @@ -121457,6 +132834,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core._Invocation); dart.addTypeCaches(core._Invocation); core._Invocation[dart.implements] = () => [core.Invocation]; + dart.setStaticMethodSignature(core._Invocation, () => ['_ensureNonNullTypes']); dart.setGetterSignature(core._Invocation, () => ({ __proto__: dart.getGetters(core._Invocation.__proto__), positionalArguments: core.List, @@ -121466,7 +132844,7 @@ define([], (function load__dart_sdk() { isSetter: core.bool, isAccessor: core.bool })); - dart.setLibraryUri(core._Invocation, I[8]); + dart.setLibraryUri(core._Invocation, I[9]); dart.setFieldSignature(core._Invocation, () => ({ __proto__: dart.getFields(core._Invocation.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -121478,7 +132856,7 @@ define([], (function load__dart_sdk() { var _generator = dart.privateName(core, "_generator"); const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); core._GeneratorIterable$ = dart.generic(E => { - var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + var __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); class _GeneratorIterable extends _internal.ListIterable$(E) { get length() { return this[length$0]; @@ -121486,30 +132864,35 @@ define([], (function load__dart_sdk() { set length(value) { super.length = value; } + static ['_#new#tearOff'](E, length, generator) { + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); + return new (core._GeneratorIterable$(E)).new(length, generator); + } elementAt(index) { - let t249; - if (index == null) dart.nullFailed(I[34], 620, 19, "index"); - core.RangeError.checkValidIndex(index, this); - t249 = index; - return this[_generator](t249); + let t230; + if (index == null) dart.nullFailed(I[36], 817, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); + t230 = index; + return this[_generator](t230); } static _id(n) { - if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + if (n == null) dart.nullFailed(I[36], 823, 22, "n"); return n; } } (_GeneratorIterable.new = function(length, generator) { - let t249; - if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + let t230; + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); this[length$0] = length; - this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + this[_generator] = (t230 = generator, t230 == null ? __t$intToE().as(C[436] || CT.C436) : t230); _GeneratorIterable.__proto__.new.call(this); ; }).prototype = _GeneratorIterable.prototype; dart.addTypeTests(_GeneratorIterable); _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; dart.addTypeCaches(_GeneratorIterable); - dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); + dart.setLibraryUri(_GeneratorIterable, I[9]); dart.setFieldSignature(_GeneratorIterable, () => ({ __proto__: dart.getFields(_GeneratorIterable.__proto__), length: dart.finalFieldType(core.int), @@ -121531,11 +132914,76 @@ define([], (function load__dart_sdk() { BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; dart.addTypeCaches(BidirectionalIterator); BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setLibraryUri(BidirectionalIterator, I[8]); + dart.setLibraryUri(BidirectionalIterator, I[9]); return BidirectionalIterator; }); core.BidirectionalIterator = core.BidirectionalIterator$(); dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); + core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 59, 24, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 71, 28, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } + static ['_#unmodifiable#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return core.Map$(K, V).unmodifiable(other); + } + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[170], 144, 37, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[170], 167, 41, "keys"); + if (values == null) dart.nullFailed(I[170], 167, 59, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[170], 187, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t230; + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + t230 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t230[$addEntries](entries); + return t230; + })(); + } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + return core.Map$(K, V).fromEntries(entries); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setStaticMethodSignature(Map, () => ['new', 'from', 'of', 'unmodifiable', 'identity', 'fromIterable', 'fromIterables', 'castFrom', 'fromEntries']); + dart.setLibraryUri(Map, I[9]); + dart.setStaticFieldSignature(Map, () => ['_redirecting#']); + return Map; + }); + core.Map = core.Map$(); + dart.addTypeTests(core.Map, dart.isMap); core.Null = class Null extends core.Object { static is(o) { return o == null; @@ -121544,6 +132992,9 @@ define([], (function load__dart_sdk() { if (o == null) return o; return dart.as(o, core.Null); } + static ['_#_uninstantiable#tearOff']() { + return core.Null._uninstantiable(); + } get hashCode() { return super[$hashCode]; } @@ -121554,7 +133005,8 @@ define([], (function load__dart_sdk() { (core.Null[dart.mixinNew] = function() { }).prototype = core.Null.prototype; dart.addTypeCaches(core.Null); - dart.setLibraryUri(core.Null, I[8]); + dart.setStaticMethodSignature(core.Null, () => ['is', 'as', '_uninstantiable']); + dart.setLibraryUri(core.Null, I[9]); dart.defineExtensionMethods(core.Null, ['toString']); dart.defineExtensionAccessors(core.Null, ['hashCode']); core.Pattern = class Pattern extends core.Object {}; @@ -121563,22 +133015,41 @@ define([], (function load__dart_sdk() { }).prototype = core.Pattern.prototype; dart.addTypeTests(core.Pattern); dart.addTypeCaches(core.Pattern); - dart.setLibraryUri(core.Pattern, I[8]); + dart.setLibraryUri(core.Pattern, I[9]); + core.Record = class Record extends core.Object {}; + (core.Record.new = function() { + ; + }).prototype = core.Record.prototype; + dart.addTypeTests(core.Record); + dart.addTypeCaches(core.Record); + dart.setLibraryUri(core.Record, I[9]); core.RegExp = class RegExp extends core.Object { static new(source, opts) { - if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); + return core.RegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } static escape(text) { - if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + if (text == null) dart.nullFailed(I[7], 769, 31, "text"); return _js_helper.quoteStringForRegExp(text); } }; @@ -121587,19 +133058,38 @@ define([], (function load__dart_sdk() { dart.addTypeTests(core.RegExp); dart.addTypeCaches(core.RegExp); core.RegExp[dart.implements] = () => [core.Pattern]; - dart.setLibraryUri(core.RegExp, I[8]); + dart.setStaticMethodSignature(core.RegExp, () => ['new', 'escape']); + dart.setLibraryUri(core.RegExp, I[9]); const _is_Set_default = Symbol('_is_Set_default'); core.Set$ = dart.generic(E => { class Set extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 76, 29, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 91, 30, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); return new (collection.UnmodifiableSetView$(E)).new((() => { - let t249 = collection.LinkedHashSet$(E).of(elements); - return t249; + let t230 = collection.LinkedHashSet$(E).of(elements); + return t230; })()); } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); + return core.Set$(E).unmodifiable(elements); + } static castFrom(S, T, source, opts) { - if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + if (source == null) dart.nullFailed(I[171], 128, 39, "source"); let newSet = opts && 'newSet' in opts ? opts.newSet : null; return new (_internal.CastSet$(S, T)).new(source, newSet); } @@ -121607,7 +133097,9 @@ define([], (function load__dart_sdk() { dart.addTypeTests(Set); Set.prototype[_is_Set_default] = true; dart.addTypeCaches(Set); - dart.setLibraryUri(Set, I[8]); + dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); + dart.setLibraryUri(Set, I[9]); + dart.setStaticFieldSignature(Set, () => ['_redirecting#']); return Set; }); core.Set = core.Set$(); @@ -121621,13 +133113,17 @@ define([], (function load__dart_sdk() { dart.addTypeTests(Sink); Sink.prototype[_is_Sink_default] = true; dart.addTypeCaches(Sink); - dart.setLibraryUri(Sink, I[8]); + dart.setLibraryUri(Sink, I[9]); return Sink; }); core.Sink = core.Sink$(); dart.addTypeTests(core.Sink, _is_Sink_default); var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); core.StackTrace = class StackTrace extends core.Object { + static ['_#fromString#tearOff'](stackTraceString) { + if (stackTraceString == null) dart.nullFailed(I[172], 34, 40, "stackTraceString"); + return new core._StringStackTrace.new(stackTraceString); + } static get current() { return dart.stackTrace(Error()); } @@ -121637,10 +133133,13 @@ define([], (function load__dart_sdk() { }).prototype = core.StackTrace.prototype; dart.addTypeTests(core.StackTrace); dart.addTypeCaches(core.StackTrace); - dart.setLibraryUri(core.StackTrace, I[8]); + dart.setStaticMethodSignature(core.StackTrace, () => ['fromString']); + dart.setStaticGetterSignature(core.StackTrace, () => ['current']); + dart.setLibraryUri(core.StackTrace, I[9]); + dart.setStaticFieldSignature(core.StackTrace, () => ['empty', '_redirecting#']); dart.defineLazy(core.StackTrace, { /*core.StackTrace.empty*/get empty() { - return C[426] || CT.C426; + return C[437] || CT.C437; } }, false); var _stackTrace = dart.privateName(core, "_stackTrace"); @@ -121652,34 +133151,41 @@ define([], (function load__dart_sdk() { set [_stackTrace](value) { super[_stackTrace] = value; } + static ['_#new#tearOff'](_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); + return new core._StringStackTrace.new(_stackTrace); + } toString() { return this[_stackTrace]; } }; (core._StringStackTrace.new = function(_stackTrace) { - if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); this[_stackTrace$] = _stackTrace; ; }).prototype = core._StringStackTrace.prototype; dart.addTypeTests(core._StringStackTrace); dart.addTypeCaches(core._StringStackTrace); core._StringStackTrace[dart.implements] = () => [core.StackTrace]; - dart.setLibraryUri(core._StringStackTrace, I[8]); + dart.setLibraryUri(core._StringStackTrace, I[9]); dart.setFieldSignature(core._StringStackTrace, () => ({ __proto__: dart.getFields(core._StringStackTrace.__proto__), [_stackTrace]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._StringStackTrace, ['toString']); - var _start$2 = dart.privateName(core, "_start"); + var _start$3 = dart.privateName(core, "_start"); var _stop = dart.privateName(core, "_stop"); core.Stopwatch = class Stopwatch extends core.Object { + static ['_#new#tearOff']() { + return new core.Stopwatch.new(); + } get frequency() { return core.Stopwatch._frequency; } start() { let stop = this[_stop]; if (stop != null) { - this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_start$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); this[_stop] = null; } } @@ -121687,12 +133193,12 @@ define([], (function load__dart_sdk() { this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; } reset() { - let t250; - this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + let t231; + this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); } get elapsedTicks() { - let t250; - return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + let t231; + return dart.notNull((t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231)) - dart.notNull(this[_start$3]); } get elapsed() { return new core.Duration.new({microseconds: this.elapsedMicroseconds}); @@ -121700,13 +133206,13 @@ define([], (function load__dart_sdk() { get elapsedMicroseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000000) return ticks; - if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 527, 12, "_frequency == 1000"); return dart.notNull(ticks) * 1000; } get elapsedMilliseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000) return ticks; - if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 535, 12, "_frequency == 1000000"); return (dart.notNull(ticks) / 1000)[$truncate](); } get isRunning() { @@ -121721,7 +133227,7 @@ define([], (function load__dart_sdk() { } }; (core.Stopwatch.new = function() { - this[_start$2] = 0; + this[_start$3] = 0; this[_stop] = 0; core.Stopwatch._frequency; }).prototype = core.Stopwatch.prototype; @@ -121733,6 +133239,7 @@ define([], (function load__dart_sdk() { stop: dart.fnType(dart.void, []), reset: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(core.Stopwatch, () => ['_initTicker', '_now']); dart.setGetterSignature(core.Stopwatch, () => ({ __proto__: dart.getGetters(core.Stopwatch.__proto__), frequency: core.int, @@ -121742,12 +133249,13 @@ define([], (function load__dart_sdk() { elapsedMilliseconds: core.int, isRunning: core.bool })); - dart.setLibraryUri(core.Stopwatch, I[8]); + dart.setLibraryUri(core.Stopwatch, I[9]); dart.setFieldSignature(core.Stopwatch, () => ({ __proto__: dart.getFields(core.Stopwatch.__proto__), - [_start$2]: dart.fieldType(core.int), + [_start$3]: dart.fieldType(core.int), [_stop]: dart.fieldType(dart.nullable(core.int)) })); + dart.setStaticFieldSignature(core.Stopwatch, () => ['_frequency']); dart.defineLazy(core.Stopwatch, { /*core.Stopwatch._frequency*/get _frequency() { return core.Stopwatch._initTicker(); @@ -121761,6 +133269,10 @@ define([], (function load__dart_sdk() { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); + return new core.Runes.new(string); + } get iterator() { return new core.RuneIterator.new(this.string); } @@ -121780,7 +133292,7 @@ define([], (function load__dart_sdk() { } }; (core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); this[string$] = string; core.Runes.__proto__.new.call(this); ; @@ -121792,7 +133304,7 @@ define([], (function load__dart_sdk() { iterator: core.RuneIterator, [$iterator]: core.RuneIterator })); - dart.setLibraryUri(core.Runes, I[8]); + dart.setLibraryUri(core.Runes, I[9]); dart.setFieldSignature(core.Runes, () => ({ __proto__: dart.getFields(core.Runes.__proto__), string: dart.finalFieldType(core.String) @@ -121810,8 +133322,17 @@ define([], (function load__dart_sdk() { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); + return new core.RuneIterator.new(string); + } + static ['_#at#tearOff'](string, index) { + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); + return new core.RuneIterator.at(string, index); + } [_checkSplitSurrogate](index) { - if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (index == null) dart.nullFailed(I[173], 841, 33, "index"); if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); } @@ -121820,13 +133341,13 @@ define([], (function load__dart_sdk() { return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; } set rawIndex(rawIndex) { - if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); - core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 863, 25, "rawIndex"); + core.IndexError.check(rawIndex, this.string.length, {indexable: this.string, name: "rawIndex"}); this.reset(rawIndex); this.moveNext(); } reset(rawIndex = 0) { - if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 879, 19, "rawIndex"); core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); this[_checkSplitSurrogate](rawIndex); this[_position$0] = this[_nextPosition] = rawIndex; @@ -121885,7 +133406,7 @@ define([], (function load__dart_sdk() { } }; (core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = 0; @@ -121893,8 +133414,8 @@ define([], (function load__dart_sdk() { ; }).prototype = core.RuneIterator.prototype; (core.RuneIterator.at = function(string, index) { - if (string == null) dart.nullFailed(I[174], 666, 26, "string"); - if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = index; @@ -121923,7 +133444,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(core.RuneIterator.__proto__), rawIndex: core.int })); - dart.setLibraryUri(core.RuneIterator, I[8]); + dart.setLibraryUri(core.RuneIterator, I[9]); dart.setFieldSignature(core.RuneIterator, () => ({ __proto__: dart.getFields(core.RuneIterator.__proto__), string: dart.finalFieldType(core.String), @@ -121931,18 +133452,25 @@ define([], (function load__dart_sdk() { [_nextPosition]: dart.fieldType(core.int), [_currentCodePoint]: dart.fieldType(core.int) })); - core.Symbol = class Symbol extends core.Object {}; + core.Symbol = class Symbol extends core.Object { + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[174], 62, 31, "name"); + return new _internal.Symbol.new(name); + } + }; (core.Symbol[dart.mixinNew] = function() { }).prototype = core.Symbol.prototype; dart.addTypeTests(core.Symbol); dart.addTypeCaches(core.Symbol); - dart.setLibraryUri(core.Symbol, I[8]); + dart.setStaticMethodSignature(core.Symbol, () => ['new']); + dart.setLibraryUri(core.Symbol, I[9]); + dart.setStaticFieldSignature(core.Symbol, () => ['unaryMinus', 'empty', '_redirecting#']); dart.defineLazy(core.Symbol, { /*core.Symbol.unaryMinus*/get unaryMinus() { - return C[427] || CT.C427; + return C[438] || CT.C438; }, /*core.Symbol.empty*/get empty() { - return C[428] || CT.C428; + return C[439] || CT.C439; } }, false); core.Uri = class Uri extends core.Object { @@ -121951,33 +133479,83 @@ define([], (function load__dart_sdk() { if (uri != null) return core.Uri.parse(uri); dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); } + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 248, 12, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 249, 12, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 272, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 273, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 355, 27, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 372, 32, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); + } + static ['_#dataFromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); + return core.Uri.dataFromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static dataFromString(content, opts) { - if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); return data.uri; } static dataFromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); return data.uri; } + static ['_#dataFromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); + return core.Uri.dataFromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } get hasScheme() { return this.scheme[$isNotEmpty]; } static parse(uri, start = 0, end = null) { - let t250; - if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); - if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + let t231; + if (uri == null) dart.nullFailed(I[175], 843, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 843, 37, "start"); end == null ? end = uri.length : null; if (dart.notNull(end) >= dart.notNull(start) + 5) { let dataDelta = core._startsWithData(uri, start); @@ -121989,17 +133567,17 @@ define([], (function load__dart_sdk() { } } let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t250 = indices; + t231 = indices; (() => { - t250[$_set](0, 0); - t250[$_set](1, dart.notNull(start) - 1); - t250[$_set](2, dart.notNull(start) - 1); - t250[$_set](7, dart.notNull(start) - 1); - t250[$_set](3, start); - t250[$_set](4, start); - t250[$_set](5, end); - t250[$_set](6, end); - return t250; + t231[$_set](0, 0); + t231[$_set](1, dart.notNull(start) - 1); + t231[$_set](2, dart.notNull(start) - 1); + t231[$_set](7, dart.notNull(start) - 1); + t231[$_set](3, start); + t231[$_set](4, start); + t231[$_set](5, end); + t231[$_set](6, end); + return t231; })(); let state = core._scan(uri, start, end, 0, indices); if (dart.notNull(state) >= 14) { @@ -122025,18 +133603,20 @@ define([], (function load__dart_sdk() { pathStart = dart.notNull(schemeEnd) + 1; } if (dart.notNull(portStart) < hostStart) portStart = pathStart; - if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); - if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); - if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); - if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); - if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); - if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 982, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 983, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 984, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 985, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 986, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 987, 12, "queryStart <= fragmentStart"); let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); if (isSimple) { if (hostStart > dart.notNull(schemeEnd) + 3) { isSimple = false; } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { isSimple = false; + } else if (uri[$startsWith]("\\", pathStart) || hostStart > dart.notNull(start) && (uri[$startsWith]("\\", hostStart - 1) || uri[$startsWith]("\\", hostStart - 2))) { + isSimple = false; } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { isSimple = false; } else { @@ -122138,8 +133718,8 @@ define([], (function load__dart_sdk() { return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static tryParse(uri, start = 0, end = null) { - if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + if (uri == null) dart.nullFailed(I[175], 1159, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); try { return core.Uri.parse(uri, start, end); } catch (e) { @@ -122151,40 +133731,40 @@ define([], (function load__dart_sdk() { } } static encodeComponent(component) { - if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + if (component == null) dart.nullFailed(I[175], 1193, 40, "component"); return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); } static encodeQueryComponent(component, opts) { - if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + if (component == null) dart.nullFailed(I[175], 1230, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1231, 17, "encoding"); return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); } static decodeComponent(encodedComponent) { - if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + if (encodedComponent == null) dart.nullFailed(I[175], 1253, 40, "encodedComponent"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); } static decodeQueryComponent(encodedComponent, opts) { - if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + if (encodedComponent == null) dart.nullFailed(I[175], 1264, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1265, 17, "encoding"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); } static encodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1284, 35, "uri"); return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); } static decodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1301, 35, "uri"); return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); } static splitQueryString(query, opts) { - if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 1327, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1328, 17, "encoding"); return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { - if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + if (map == null) dart.nullFailed(I[175], 1329, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); let index = element[$indexOf]("="); if (index === -1) { if (element !== "") { @@ -122199,17 +133779,17 @@ define([], (function load__dart_sdk() { }, T$0.MapOfString$StringAndStringToMapOfString$String())); } static parseIPv4Address(host) { - if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + if (host == null) dart.nullFailed(I[175], 1350, 44, "host"); return core.Uri._parseIPv4Address(host, 0, host.length); } static _parseIPv4Address(host, start, end) { - let t252; - if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); - if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); - if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + let t233; + if (host == null) dart.nullFailed(I[175], 1354, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1354, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1354, 66, "end"); function error(msg, position) { - if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); - if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + if (msg == null) dart.nullFailed(I[175], 1355, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1355, 32, "position"); dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); } dart.fn(error, T$0.StringAndintTovoid()); @@ -122230,7 +133810,7 @@ define([], (function load__dart_sdk() { if (dart.notNull(part) > 255) { error("each part must be in the range 0..255", partStart); } - result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); partStart = dart.notNull(i) + 1; } } @@ -122245,17 +133825,17 @@ define([], (function load__dart_sdk() { return result; } static parseIPv6Address(host, start = 0, end = null) { - if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); - if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + if (host == null) dart.nullFailed(I[175], 1412, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1412, 55, "start"); end == null ? end = host.length : null; - function error(msg, position = null) { - if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); - dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1422, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, position)); } - dart.fn(error, T$0.StringAnddynamicTovoid$1()); + dart.fn(error, T$0.StringAndintNTovoid()); function parseHex(start, end) { - if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); - if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (start == null) dart.nullFailed(I[175], 1427, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1427, 33, "end"); if (dart.notNull(end) - dart.notNull(start) > 4) { error("an IPv6 part can only contain a maximum of 4 hex digits", start); } @@ -122266,7 +133846,7 @@ define([], (function load__dart_sdk() { return value; } dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short"); + if (host.length < 2) error("address is too short", null); let parts = T$.JSArrayOfint().of([]); let wildcardSeen = false; let seenDot = false; @@ -122295,7 +133875,7 @@ define([], (function load__dart_sdk() { seenDot = true; } } - if (parts[$length] === 0) error("too few parts"); + if (parts[$length] === 0) error("too few parts", null); let atEnd = partStart == end; let isLastWildcard = parts[$last] === -1; if (atEnd && !isLastWildcard) { @@ -122312,10 +133892,10 @@ define([], (function load__dart_sdk() { } if (wildcardSeen) { if (dart.notNull(parts[$length]) > 7) { - error("an address with a wildcard must have less than 7 parts"); + error("an address with a wildcard must have less than 7 parts", null); } } else if (parts[$length] !== 8) { - error("an address without a wildcard must contain exactly 8 parts"); + error("an address without a wildcard must contain exactly 8 parts", null); } let bytes = _native_typed_data.NativeUint8List.new(16); for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { @@ -122340,11 +133920,14 @@ define([], (function load__dart_sdk() { }).prototype = core.Uri.prototype; dart.addTypeTests(core.Uri); dart.addTypeCaches(core.Uri); + dart.setStaticMethodSignature(core.Uri, () => ['new', 'http', 'https', 'file', 'directory', 'dataFromString', 'dataFromBytes', 'parse', 'tryParse', 'encodeComponent', 'encodeQueryComponent', 'decodeComponent', 'decodeQueryComponent', 'encodeFull', 'decodeFull', 'splitQueryString', 'parseIPv4Address', '_parseIPv4Address', 'parseIPv6Address']); dart.setGetterSignature(core.Uri, () => ({ __proto__: dart.getGetters(core.Uri.__proto__), hasScheme: core.bool })); - dart.setLibraryUri(core.Uri, I[8]); + dart.setStaticGetterSignature(core.Uri, () => ['base']); + dart.setLibraryUri(core.Uri, I[9]); + dart.setStaticFieldSignature(core.Uri, () => ['_redirecting#']); var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); @@ -122367,71 +133950,89 @@ define([], (function load__dart_sdk() { var _toFilePath = dart.privateName(core, "_toFilePath"); core._Uri = class _Uri extends core.Object { get [_text$]() { - let t253; + let t234; if (!dart.test(this[___Uri__text_isSet])) { - let t252 = this[_initializeText](); + let t233 = this[_initializeText](); if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t252; + this[___Uri__text] = t233; this[___Uri__text_isSet] = true; } - t253 = this[___Uri__text]; - return t253; + t234 = this[___Uri__text]; + return t234; } get pathSegments() { - let t254; + let t235; if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t253 = core._Uri._computePathSegments(this.path); + let t234 = core._Uri._computePathSegments(this.path); if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments] = t234; this[___Uri_pathSegments_isSet] = true; } - t254 = this[___Uri_pathSegments]; - return t254; + t235 = this[___Uri_pathSegments]; + return t235; } get hashCode() { - let t255; + let t236; if (!dart.test(this[___Uri_hashCode_isSet])) { - let t254 = dart.hashCode(this[_text$]); + let t235 = dart.hashCode(this[_text$]); if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t254; + this[___Uri_hashCode] = t235; this[___Uri_hashCode_isSet] = true; } - t255 = this[___Uri_hashCode]; - return t255; + t236 = this[___Uri_hashCode]; + return t236; } get queryParameters() { - let t256; + let t237; if (!dart.test(this[___Uri_queryParameters_isSet])) { - let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + let t236 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); - this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters] = t236; this[___Uri_queryParameters_isSet] = true; } - t256 = this[___Uri_queryParameters]; - return t256; + t237 = this[___Uri_queryParameters]; + return t237; } get queryParametersAll() { - let t257; + let t238; if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t256 = core._Uri._computeQueryParametersAll(this.query); + let t237 = core._Uri._computeQueryParametersAll(this.query); if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll] = t237; this[___Uri_queryParametersAll_isSet] = true; } - t257 = this[___Uri_queryParametersAll]; - return t257; + t238 = this[___Uri_queryParametersAll]; + return t238; + } + static ['_#_internal#tearOff'](scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); + return new core._Uri._internal(scheme, _userInfo, _host, _port, path, _query, _fragment); + } + static ['_#notSimple#tearOff'](uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { - let t257; - if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); - if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); - if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); - if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); - if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); - if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); - if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); - if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); - if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + let t238; + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); if (scheme == null) { scheme = ""; if (dart.notNull(schemeEnd) > dart.notNull(start)) { @@ -122451,7 +134052,7 @@ define([], (function load__dart_sdk() { } host = core._Uri._makeHost(uri, hostStart, portStart, false); if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + let portNumber = (t238 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t238 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t238); port = core._Uri._makePort(portNumber, scheme); } } @@ -122510,14 +134111,36 @@ define([], (function load__dart_sdk() { } return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } - static http(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static http(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); } - static https(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); } get authority() { @@ -122538,61 +134161,42 @@ define([], (function load__dart_sdk() { return host; } get port() { - let t257; - t257 = this[_port$]; - return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + let t238; + t238 = this[_port$]; + return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; } static _defaultPort(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1719, 34, "scheme"); if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; } get query() { - let t257; - t257 = this[_query$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_query$]; + return t238 == null ? "" : t238; } get fragment() { - let t257; - t257 = this[_fragment$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_fragment$]; + return t238 == null ? "" : t238; } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1729, 24, "scheme"); let thisScheme = this.scheme; if (scheme == null) return thisScheme[$isEmpty]; if (scheme.length !== thisScheme.length) return false; - return core._Uri._compareScheme(scheme, thisScheme); - } - static _compareScheme(scheme, uri) { - if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); - if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); - for (let i = 0; i < scheme.length; i = i + 1) { - let schemeChar = scheme[$codeUnitAt](i); - let uriChar = uri[$codeUnitAt](i); - let delta = (schemeChar ^ uriChar) >>> 0; - if (delta !== 0) { - if (delta === 32) { - let lowerChar = (uriChar | delta) >>> 0; - if (97 <= lowerChar && lowerChar <= 122) { - continue; - } - } - return false; - } - } - return true; + return core._caseInsensitiveStartsWith(scheme, thisScheme, 0); } static _fail(uri, index, message) { - if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); - if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); - if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + if (uri == null) dart.nullFailed(I[175], 1737, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1737, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1737, 52, "message"); dart.throw(new core.FormatException.new(message, uri, index)); } static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { - if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + if (scheme == null) dart.nullFailed(I[175], 1741, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); let userInfo = ""; let host = null; let port = null; @@ -122640,23 +134244,33 @@ define([], (function load__dart_sdk() { return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); } static file(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); } static directory(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); } static get _isWindows() { return core._Uri._isWindowsCached; } static _checkNonWindowsPathReservedCharacters(segments, argumentError) { - if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + if (segments == null) dart.nullFailed(I[175], 1824, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1824, 35, "argumentError"); for (let segment of segments) { if (segment[$contains]("/")) { if (dart.test(argumentError)) { @@ -122668,9 +134282,9 @@ define([], (function load__dart_sdk() { } } static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); - if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + if (segments == null) dart.nullFailed(I[175], 1837, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1837, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1838, 12, "firstSegment"); for (let segment of segments[$skip](firstSegment)) { if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { if (dart.test(argumentError)) { @@ -122682,8 +134296,8 @@ define([], (function load__dart_sdk() { } } static _checkWindowsDriveLetter(charCode, argumentError) { - if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); - if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (charCode == null) dart.nullFailed(I[175], 1850, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1850, 59, "argumentError"); if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { return; } @@ -122694,8 +134308,8 @@ define([], (function load__dart_sdk() { } } static _makeFileUri(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1864, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1864, 45, "slashTerminated"); let segments = path[$split]("/"); if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { segments[$add](""); @@ -122707,8 +134321,8 @@ define([], (function load__dart_sdk() { } } static _makeWindowsFileUrl(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1879, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1879, 48, "slashTerminated"); if (path[$startsWith]("\\\\?\\")) { if (path[$startsWith]("UNC\\", 4)) { path = path[$replaceRange](0, 7, "\\"); @@ -122826,16 +134440,16 @@ define([], (function load__dart_sdk() { return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); } static _computePathSegments(pathToSplit) { - if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit == null) dart.nullFailed(I[175], 2023, 51, "pathToSplit"); if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { pathToSplit = pathToSplit[$substring](1); } - return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + return pathToSplit[$isEmpty] ? C[415] || CT.C415 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[440] || CT.C440)); } static _computeQueryParametersAll(query) { - if (query == null || query[$isEmpty]) return C[430] || CT.C430; + if (query == null || query[$isEmpty]) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } normalizePath() { @@ -122844,14 +134458,14 @@ define([], (function load__dart_sdk() { return this.replace({path: path}); } static _makePort(port, scheme) { - if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2046, 43, "scheme"); if (port != null && port == core._Uri._defaultPort(scheme)) return null; return port; } static _makeHost(host, start, end, strictIPv6) { - if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); - if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); - if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (start == null) dart.nullFailed(I[175], 2061, 46, "start"); + if (end == null) dart.nullFailed(I[175], 2061, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 2061, 67, "strictIPv6"); if (host == null) return null; if (start == end) return ""; if (host[$codeUnitAt](start) === 91) { @@ -122885,23 +134499,23 @@ define([], (function load__dart_sdk() { return core._Uri._normalizeRegName(host, start, end); } static _checkZoneID(host, start, end) { - if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); - if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); - if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + if (host == null) dart.nullFailed(I[175], 2102, 34, "host"); + if (start == null) dart.nullFailed(I[175], 2102, 44, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 55, "end"); let index = host[$indexOf]("%", start); index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; return index; } static _isZoneIDChar(char) { - if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + if (char == null) dart.nullFailed(I[175], 2108, 33, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeZoneID(host, start, end, prefix = "") { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); - if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); - if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); - if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2118, 41, "host"); + if (start == null) dart.nullFailed(I[175], 2118, 51, "start"); + if (end == null) dart.nullFailed(I[175], 2118, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 2119, 15, "prefix"); let buffer = null; if (prefix !== "") { buffer = new core.StringBuffer.new(prefix); @@ -122951,11 +134565,11 @@ define([], (function load__dart_sdk() { } } let slice = host[$substring](sectionStart, index); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -122969,14 +134583,14 @@ define([], (function load__dart_sdk() { return dart.toString(buffer); } static _isRegNameChar(char) { - if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + if (char == null) dart.nullFailed(I[175], 2186, 34, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeRegName(host, start, end) { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); - if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); - if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2195, 42, "host"); + if (start == null) dart.nullFailed(I[175], 2195, 52, "start"); + if (end == null) dart.nullFailed(I[175], 2195, 63, "end"); let buffer = null; let sectionStart = start; let index = start; @@ -123028,11 +134642,11 @@ define([], (function load__dart_sdk() { } let slice = host[$substring](sectionStart, index); if (!isNormalized) slice = slice[$toLowerCase](); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -123047,9 +134661,9 @@ define([], (function load__dart_sdk() { return dart.toString(buffer); } static _makeScheme(scheme, start, end) { - if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); - if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (scheme == null) dart.nullFailed(I[175], 2269, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2269, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2269, 59, "end"); if (start == end) return ""; let firstCodeUnit = scheme[$codeUnitAt](start); if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { @@ -123072,7 +134686,7 @@ define([], (function load__dart_sdk() { return core._Uri._canonicalizeScheme(scheme); } static _canonicalizeScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2293, 44, "scheme"); if (scheme === "http") return "http"; if (scheme === "file") return "file"; if (scheme === "https") return "https"; @@ -123080,29 +134694,29 @@ define([], (function load__dart_sdk() { return scheme; } static _makeUserInfo(userInfo, start, end) { - if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); - if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (start == null) dart.nullFailed(I[175], 2301, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2301, 64, "end"); if (userInfo == null) return ""; return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); } static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { - if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); - if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); - if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + if (start == null) dart.nullFailed(I[175], 2306, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2306, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2307, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2307, 59, "hasAuthority"); let isFile = scheme === "file"; let ensureLeadingSlash = isFile || dart.test(hasAuthority); let result = null; if (path == null) { if (pathSegments == null) return isFile ? "/" : ""; result = pathSegments[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + if (s == null) dart.nullFailed(I[175], 2314, 17, "s"); return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); }, T$.StringToString()))[$join]("/"); } else if (pathSegments != null) { dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); } else { - result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true, replaceBackslash: true}); } if (result[$isEmpty]) { if (isFile) return "/"; @@ -123113,17 +134727,17 @@ define([], (function load__dart_sdk() { return result; } static _normalizePath(path, scheme, hasAuthority) { - if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); - if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); - if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + if (path == null) dart.nullFailed(I[175], 2336, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2336, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2336, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/") && !path[$startsWith]("\\")) { return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); } return core._Uri._removeDotSegments(path); } static _makeQuery(query, start, end, queryParameters) { - if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (start == null) dart.nullFailed(I[175], 2346, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2346, 59, "end"); if (query != null) { if (queryParameters != null) { dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); @@ -123134,7 +134748,7 @@ define([], (function load__dart_sdk() { let result = new core.StringBuffer.new(); let separator = ""; function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); result.write(separator); separator = "&"; result.write(core.Uri.encodeQueryComponent(key)); @@ -123145,13 +134759,13 @@ define([], (function load__dart_sdk() { } dart.fn(writeParameter, T$0.StringAndStringNTovoid()); queryParameters[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (key == null) dart.nullFailed(I[175], 2370, 30, "key"); if (value == null || typeof value == 'string') { writeParameter(key, T$.StringN().as(value)); } else { let values = core.Iterable.as(value); - for (let t257 of values) { - let value = core.String.as(t257); + for (let t238 of values) { + let value = core.String.as(t238); writeParameter(key, value); } } @@ -123159,16 +134773,16 @@ define([], (function load__dart_sdk() { return result.toString(); } static _makeFragment(fragment, start, end) { - if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); - if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (start == null) dart.nullFailed(I[175], 2383, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2383, 65, "end"); if (fragment == null) return null; return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); } static _normalizeEscape(source, index, lowerCase) { - if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); - if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); - if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); - if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (source == null) dart.nullFailed(I[175], 2400, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2400, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2400, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2401, 12, "source.codeUnitAt(index) == _PERCENT"); if (dart.notNull(index) + 2 >= source.length) { return "%"; } @@ -123192,8 +134806,8 @@ define([], (function load__dart_sdk() { return null; } static _escapeChar(char) { - if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); - if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + if (char == null) dart.nullFailed(I[175], 2428, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2429, 12, "char <= 0x10ffff"); let codeUnits = null; if (dart.notNull(char) < 128) { codeUnits = _native_typed_data.NativeUint8List.new(3); @@ -123225,24 +134839,28 @@ define([], (function load__dart_sdk() { return core.String.fromCharCodes(codeUnits); } static _normalizeOrSubstring(component, start, end, charTable, opts) { - let t258; - if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let t239; + if (component == null) dart.nullFailed(I[175], 2468, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2468, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2468, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2468, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); - t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); - return t258 == null ? component[$substring](start, end) : t258; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2469, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2469, 44, "replaceBackslash"); + t239 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters, replaceBackslash: replaceBackslash}); + return t239 == null ? component[$substring](start, end) : t239; } static _normalize(component, start, end, charTable, opts) { - let t258, t258$; - if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let t239, t239$; + if (component == null) dart.nullFailed(I[175], 2486, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2486, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2486, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2486, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + if (escapeDelimiters == null) dart.nullFailed(I[175], 2487, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2487, 44, "replaceBackslash"); let buffer = null; let sectionStart = start; let index = start; @@ -123265,6 +134883,9 @@ define([], (function load__dart_sdk() { } else { sourceLength = 3; } + } else if (char === 92 && dart.test(replaceBackslash)) { + replacement = "/"; + sourceLength = 1; } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { core._Uri._fail(component, index, "Invalid character"); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); @@ -123282,11 +134903,11 @@ define([], (function load__dart_sdk() { } replacement = core._Uri._escapeChar(char); } - t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); (() => { - t258$.write(component[$substring](sectionStart, index)); - t258$.write(replacement); - return t258$; + t239$.write(component[$substring](sectionStart, index)); + t239$.write(replacement); + return t239$; })(); index = dart.notNull(index) + dart.notNull(sourceLength); sectionStart = index; @@ -123301,19 +134922,19 @@ define([], (function load__dart_sdk() { return dart.toString(buffer); } static _isSchemeCharacter(ch) { - if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + if (ch == null) dart.nullFailed(I[175], 2550, 38, "ch"); return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } static _isGeneralDelimiter(ch) { - if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + if (ch == null) dart.nullFailed(I[175], 2554, 39, "ch"); return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } get isAbsolute() { return this.scheme !== "" && this.fragment === ""; } [_mergePaths](base, reference) { - if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + if (base == null) dart.nullFailed(I[175], 2562, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); let backCount = 0; let refStart = 0; while (reference[$startsWith]("../", refStart)) { @@ -123336,15 +134957,15 @@ define([], (function load__dart_sdk() { return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); } static _mayContainDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path == null) dart.nullFailed(I[175], 2600, 45, "path"); if (path[$startsWith](".")) return true; let index = path[$indexOf]("/."); return index !== -1; } static _removeDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (path == null) dart.nullFailed(I[175], 2611, 43, "path"); if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2613, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123367,14 +134988,14 @@ define([], (function load__dart_sdk() { return output[$join]("/"); } static _normalizeRelativePath(path, allowScheme) { - if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); - if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); - if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (path == null) dart.nullFailed(I[175], 2647, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2647, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2648, 12, "!path.startsWith('/')"); if (!dart.test(core._Uri._mayContainDotSegments(path))) { if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); return path; } - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2653, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123400,7 +135021,7 @@ define([], (function load__dart_sdk() { return output[$join]("/"); } static _escapeScheme(path) { - if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path == null) dart.nullFailed(I[175], 2680, 38, "path"); if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { for (let i = 1; i < path.length; i = i + 1) { let char = path[$codeUnitAt](i); @@ -123415,19 +135036,19 @@ define([], (function load__dart_sdk() { return path; } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2696, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } static _packageNameEnd(uri, path) { - if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); - if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (uri == null) dart.nullFailed(I[175], 2710, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2710, 46, "path"); if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(path, 0, path.length); } return -1; } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2717, 22, "reference"); let targetScheme = null; let targetUserInfo = ""; let targetHost = null; @@ -123468,9 +135089,9 @@ define([], (function load__dart_sdk() { let basePath = this.path; let packageNameEnd = core._Uri._packageNameEnd(this, basePath); if (dart.notNull(packageNameEnd) > 0) { - if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); - if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); - if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2760, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2761, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2762, 20, "!this.hasEmptyPath"); let packageName = basePath[$substring](0, packageNameEnd); if (dart.test(reference.hasAbsolutePath)) { targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); @@ -123543,7 +135164,7 @@ define([], (function load__dart_sdk() { return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (this.scheme !== "" && this.scheme !== "file") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -123554,7 +135175,7 @@ define([], (function load__dart_sdk() { if (this.fragment !== "") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.test(this.hasAuthority) && this.host !== "") { @@ -123568,7 +135189,7 @@ define([], (function load__dart_sdk() { return result.toString(); } static _toWindowsFilePath(uri) { - if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + if (uri == null) dart.nullFailed(I[175], 2875, 40, "uri"); let hasDriveLetter = false; let segments = uri.pathSegments; if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { @@ -123593,7 +135214,7 @@ define([], (function load__dart_sdk() { return result.toString(); } [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); if (this[_userInfo$][$isNotEmpty]) { ss.write(this[_userInfo$]); ss.write("@"); @@ -123611,14 +135232,14 @@ define([], (function load__dart_sdk() { return this[_text$]; } [_initializeText]() { - let t258, t258$, t258$0; + let t239, t239$, t239$0; let sb = new core.StringBuffer.new(); if (this.scheme[$isNotEmpty]) { - t258 = sb; + t239 = sb; (() => { - t258.write(this.scheme); - t258.write(":"); - return t258; + t239.write(this.scheme); + t239.write(":"); + return t239; })(); } if (dart.test(this.hasAuthority) || this.scheme === "file") { @@ -123627,19 +135248,19 @@ define([], (function load__dart_sdk() { } sb.write(this.path); if (this[_query$] != null) { - t258$ = sb; + t239$ = sb; (() => { - t258$.write("?"); - t258$.write(this[_query$]); - return t258$; + t239$.write("?"); + t239$.write(this[_query$]); + return t239$; })(); } if (this[_fragment$] != null) { - t258$0 = sb; + t239$0 = sb; (() => { - t258$0.write("#"); - t258$0.write(this[_fragment$]); - return t258$0; + t239$0.write("#"); + t239$0.write(this[_fragment$]); + return t239$0; })(); } return sb.toString(); @@ -123653,17 +135274,17 @@ define([], (function load__dart_sdk() { return T$.JSArrayOfString().of([]); } static _splitQueryStringAll(query, opts) { - if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 2965, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 2966, 17, "encoding"); let result = new (T$0.IdentityMapOfString$ListOfString()).new(); let i = 0; let start = 0; let equalsIndex = -1; function parsePair(start, equalsIndex, end) { - if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); - if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); - if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + if (start == null) dart.nullFailed(I[175], 2972, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2972, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2972, 52, "end"); let key = null; let value = null; if (start == end) return; @@ -123674,7 +135295,7 @@ define([], (function load__dart_sdk() { key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); } - result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + result[$putIfAbsent](key, C[443] || CT.C443)[$add](value); } dart.fn(parsePair, T$0.intAndintAndintTovoid()); while (i < query.length) { @@ -123692,10 +135313,10 @@ define([], (function load__dart_sdk() { return result; } static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { - if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); - if (text == null) dart.nullFailed(I[7], 876, 61, "text"); - if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); - if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (canonicalTable == null) dart.nullFailed(I[7], 945, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 945, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 946, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 946, 31, "spaceToPlus"); if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { return text; } @@ -123716,8 +135337,8 @@ define([], (function load__dart_sdk() { return result.toString(); } static _hexCharPairToByte(s, pos) { - if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); - if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + if (s == null) dart.nullFailed(I[175], 3006, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 3006, 47, "pos"); let byte = 0; for (let i = 0; i < 2; i = i + 1) { let charCode = s[$codeUnitAt](dart.notNull(pos) + i); @@ -123735,14 +135356,14 @@ define([], (function load__dart_sdk() { return byte; } static _uriDecode(text, start, end, encoding, plusToSpace) { - if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); - if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); - if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); - if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); - if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); - if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + if (text == null) dart.nullFailed(I[175], 3036, 14, "text"); + if (start == null) dart.nullFailed(I[175], 3036, 24, "start"); + if (end == null) dart.nullFailed(I[175], 3036, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 3036, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 3036, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 3037, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 3038, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 3039, 12, "end <= text.length"); let simple = true; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = text[$codeUnitAt](i); @@ -123781,19 +135402,19 @@ define([], (function load__dart_sdk() { return encoding.decode(bytes); } static _isAlphabeticCharacter(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[175], 3081, 42, "codeUnit"); let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; return 97 <= lowerCase && lowerCase <= 122; } static _isUnreservedChar(char) { - if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + if (char == null) dart.nullFailed(I[175], 3086, 37, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } }; (core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { - if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); - if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); - if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); this[___Uri__text] = null; this[___Uri__text_isSet] = false; this[___Uri_pathSegments] = null; @@ -123830,6 +135451,7 @@ define([], (function load__dart_sdk() { [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), [_initializeText]: dart.fnType(core.String, []) })); + dart.setStaticMethodSignature(core._Uri, () => ['notSimple', 'new', 'http', 'https', '_defaultPort', '_fail', '_makeHttpUri', 'file', 'directory', '_checkNonWindowsPathReservedCharacters', '_checkWindowsPathReservedCharacters', '_checkWindowsDriveLetter', '_makeFileUri', '_makeWindowsFileUrl', '_computePathSegments', '_computeQueryParametersAll', '_makePort', '_makeHost', '_checkZoneID', '_isZoneIDChar', '_normalizeZoneID', '_isRegNameChar', '_normalizeRegName', '_makeScheme', '_canonicalizeScheme', '_makeUserInfo', '_makePath', '_normalizePath', '_makeQuery', '_makeFragment', '_normalizeEscape', '_escapeChar', '_normalizeOrSubstring', '_normalize', '_isSchemeCharacter', '_isGeneralDelimiter', '_mayContainDotSegments', '_removeDotSegments', '_normalizeRelativePath', '_escapeScheme', '_packageNameEnd', '_toWindowsFilePath', '_createList', '_splitQueryStringAll', '_uriEncode', '_hexCharPairToByte', '_uriDecode', '_isAlphabeticCharacter', '_isUnreservedChar']); dart.setGetterSignature(core._Uri, () => ({ __proto__: dart.getGetters(core._Uri.__proto__), [_text$]: core.String, @@ -123853,7 +135475,8 @@ define([], (function load__dart_sdk() { origin: core.String, data: dart.nullable(core.UriData) })); - dart.setLibraryUri(core._Uri, I[8]); + dart.setStaticGetterSignature(core._Uri, () => ['_isWindows']); + dart.setLibraryUri(core._Uri, I[9]); dart.setFieldSignature(core._Uri, () => ({ __proto__: dart.getFields(core._Uri.__proto__), scheme: dart.finalFieldType(core.String), @@ -123874,6 +135497,7 @@ define([], (function load__dart_sdk() { [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) })); + dart.setStaticFieldSignature(core._Uri, () => ['_isWindowsCached', '_needsNoEncoding', '_unreservedTable', '_unreserved2396Table', '_encodeFullTable', '_schemeTable', '_genDelimitersTable', '_userinfoTable', '_regNameTable', '_pathCharTable', '_pathCharOrSlashTable', '_queryCharTable', '_zoneIDTable']); dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); dart.defineExtensionAccessors(core._Uri, ['hashCode']); dart.defineLazy(core._Uri, { @@ -123884,54 +135508,60 @@ define([], (function load__dart_sdk() { return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); }, /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; }, /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[434] || CT.C434; + return C[445] || CT.C445; }, /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[435] || CT.C435; + return C[446] || CT.C446; }, /*core._Uri._schemeTable*/get _schemeTable() { - return C[436] || CT.C436; + return C[447] || CT.C447; }, /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[437] || CT.C437; + return C[448] || CT.C448; }, /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[438] || CT.C438; + return C[449] || CT.C449; }, /*core._Uri._regNameTable*/get _regNameTable() { - return C[439] || CT.C439; + return C[450] || CT.C450; }, /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[440] || CT.C440; + return C[451] || CT.C451; }, /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[441] || CT.C441; + return C[452] || CT.C452; }, /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; }, /*core._Uri._zoneIDTable*/get _zoneIDTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; } }, false); var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); var _uriCache$ = dart.privateName(core, "_uriCache"); var _computeUri = dart.privateName(core, "_computeUri"); + var _findCharsetIndex = dart.privateName(core, "_findCharsetIndex"); core.UriData = class UriData extends core.Object { + static ['_#_#tearOff'](_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); + return new core.UriData.__(_text, _separatorIndices, _uriCache); + } static fromString(content, opts) { - let t258; - if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let t239; + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); let encodingName = null; if (encoding == null) { if (charsetName != null) { @@ -123953,13 +135583,22 @@ define([], (function load__dart_sdk() { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); + return core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static fromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); core.UriData._writeUri(mimeType, null, parameters, buffer, indices); @@ -123974,9 +135613,18 @@ define([], (function load__dart_sdk() { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); + return core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); - if (uri.scheme !== "data") { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + if (!dart.test(uri.isScheme("data"))) { dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); } if (dart.test(uri.hasAuthority)) { @@ -123990,10 +135638,14 @@ define([], (function load__dart_sdk() { } return core.UriData._parse(dart.toString(uri), 5, uri); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + return core.UriData.fromUri(uri); + } static _writeUri(mimeType, charsetName, parameters, buffer, indices) { - let t258, t258$; - if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); - if (mimeType == null || mimeType === "text/plain") { + let t239, t239$; + if (buffer == null) dart.nullFailed(I[175], 3473, 20, "buffer"); + if (mimeType == null || dart.test(core._caseInsensitiveEquals("text/plain", mimeType))) { mimeType = ""; } if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { @@ -124008,40 +135660,38 @@ define([], (function load__dart_sdk() { buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); } if (charsetName != null) { - if (indices != null) { - t258 = indices; - (() => { - t258[$add](buffer.length); - t258[$add](dart.notNull(buffer.length) + 8); - return t258; - })(); - } + t239 = indices; + t239 == null ? null : (() => { + t239[$add](buffer.length); + t239[$add](dart.notNull(buffer.length) + 8); + return t239; + })(); buffer.write(";charset="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); } - t258$ = parameters; - t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { - let t259, t259$; - if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); - if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + t239$ = parameters; + t239$ == null ? null : t239$[$forEach](dart.fn((key, value) => { + let t240, t240$; + if (key == null) dart.nullFailed(I[175], 3499, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3499, 31, "value"); if (key[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); } if (value[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); } - t259 = indices; - t259 == null ? null : t259[$add](buffer.length); + t240 = indices; + t240 == null ? null : t240[$add](buffer.length); buffer.write(";"); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - t259$ = indices; - t259$ == null ? null : t259$[$add](buffer.length); + t240$ = indices; + t240$ == null ? null : t240$[$add](buffer.length); buffer.write("="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); }, T$0.StringAndStringTovoid())); } static _validateMimeType(mimeType) { - if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3524, 39, "mimeType"); let slashIndex = -1; for (let i = 0; i < mimeType.length; i = i + 1) { let char = mimeType[$codeUnitAt](i); @@ -124055,7 +135705,7 @@ define([], (function load__dart_sdk() { return slashIndex; } static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); if (uri.length >= 5) { let dataDelta = core._startsWithData(uri, 0); if (dataDelta === 0) { @@ -124068,9 +135718,9 @@ define([], (function load__dart_sdk() { dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); } get uri() { - let t258; - t258 = this[_uriCache$]; - return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + let t239; + t239 = this[_uriCache$]; + return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; } [_computeUri]() { let path = this[_text$]; @@ -124091,20 +135741,61 @@ define([], (function load__dart_sdk() { if (start === end) return "text/plain"; return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); } + isMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3637, 26, "mimeType"); + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) { + return mimeType[$isEmpty] || mimeType === "text/plain" || dart.test(core._caseInsensitiveEquals(mimeType, "text/plain")); + } + if (mimeType[$isEmpty]) mimeType = "text/plain"; + return mimeType.length === dart.notNull(end) - start && dart.test(core._caseInsensitiveStartsWith(mimeType, this[_text$], start)); + } get charset() { - let parameterStart = 1; - let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; - if (dart.test(this.isBase64)) { - parameterEnd = parameterEnd - 1; + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) >= 0) { + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false); } - for (let i = parameterStart; i < parameterEnd; i = i + 2) { - let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; - let keyEnd = this[_separatorIndices$][$_get](i + 1); - if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { - return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + return "US-ASCII"; + } + [_findCharsetIndex]() { + let separatorIndices = this[_separatorIndices$]; + for (let i = 3; i <= dart.notNull(separatorIndices[$length]); i = i + 2) { + let keyStart = dart.notNull(separatorIndices[$_get](i - 2)) + 1; + let keyEnd = separatorIndices[$_get](i - 1); + if (keyEnd === keyStart + "charset".length && dart.test(core._caseInsensitiveStartsWith("charset", this[_text$], keyStart))) { + return i - 2; } } - return "US-ASCII"; + return -1; + } + isCharset(charset) { + if (charset == null) dart.nullFailed(I[175], 3700, 25, "charset"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return charset[$isEmpty] || dart.test(core._caseInsensitiveEquals(charset, "US-ASCII")) || convert.Encoding.getByName(charset) == convert.ascii; + } + if (charset[$isEmpty]) charset = "US-ASCII"; + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + let length = dart.notNull(valueEnd) - valueStart; + if (charset.length === length && dart.test(core._caseInsensitiveStartsWith(charset, this[_text$], valueStart))) { + return true; + } + let checkedEncoding = convert.Encoding.getByName(charset); + return checkedEncoding != null && checkedEncoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); + } + isEncoding(encoding) { + if (encoding == null) dart.nullFailed(I[175], 3730, 28, "encoding"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return encoding == convert.ascii; + } + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return encoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); } get isBase64() { return this[_separatorIndices$][$length][$isOdd]; @@ -124113,7 +135804,7 @@ define([], (function load__dart_sdk() { return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); } contentAsBytes() { - let t258, t258$; + let t239, t239$; let text = this[_text$]; let start = dart.notNull(this[_separatorIndices$][$last]) + 1; if (dart.test(this.isBase64)) { @@ -124136,12 +135827,12 @@ define([], (function load__dart_sdk() { for (let i = start; i < text.length; i = i + 1) { let codeUnit = text[$codeUnitAt](i); if (codeUnit !== 37) { - result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + result[$_set]((t239 = index, index = t239 + 1, t239), codeUnit); } else { if (i + 2 < text.length) { let byte = _internal.parseHexByte(text, i + 1); if (dart.notNull(byte) >= 0) { - result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + result[$_set]((t239$ = index, index = t239$ + 1, t239$), byte); i = i + 2; continue; } @@ -124149,7 +135840,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); } } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); return result; } contentAsString(opts) { @@ -124182,10 +135873,10 @@ define([], (function load__dart_sdk() { return result; } static _parse(text, start, sourceUri) { - if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); - if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); - if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); - if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + if (text == null) dart.nullFailed(I[175], 3857, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3857, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3858, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3859, 12, "(start == 5) == text.startsWith(\"data:\")"); let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); let slashIndex = -1; let char = null; @@ -124239,9 +135930,9 @@ define([], (function load__dart_sdk() { return new core.UriData.__(text, indices, sourceUri); } static _uriEncodeBytes(canonicalTable, bytes, buffer) { - if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); - if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); - if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + if (canonicalTable == null) dart.nullFailed(I[175], 3933, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3933, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3933, 61, "buffer"); let byteOr = 0; for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { let byte = bytes[$_get](i); @@ -124268,8 +135959,8 @@ define([], (function load__dart_sdk() { } }; (core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); - if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); this[_text$] = _text; this[_separatorIndices$] = _separatorIndices; this[_uriCache$] = _uriCache; @@ -124280,9 +135971,14 @@ define([], (function load__dart_sdk() { dart.setMethodSignature(core.UriData, () => ({ __proto__: dart.getMethods(core.UriData.__proto__), [_computeUri]: dart.fnType(core.Uri, []), + isMimeType: dart.fnType(core.bool, [core.String]), + [_findCharsetIndex]: dart.fnType(core.int, []), + isCharset: dart.fnType(core.bool, [core.String]), + isEncoding: dart.fnType(core.bool, [convert.Encoding]), contentAsBytes: dart.fnType(typed_data.Uint8List, []), contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) })); + dart.setStaticMethodSignature(core.UriData, () => ['fromString', 'fromBytes', 'fromUri', '_writeUri', '_validateMimeType', 'parse', '_parse', '_uriEncodeBytes']); dart.setGetterSignature(core.UriData, () => ({ __proto__: dart.getGetters(core.UriData.__proto__), uri: core.Uri, @@ -124292,26 +135988,27 @@ define([], (function load__dart_sdk() { contentText: core.String, parameters: core.Map$(core.String, core.String) })); - dart.setLibraryUri(core.UriData, I[8]); + dart.setLibraryUri(core.UriData, I[9]); dart.setFieldSignature(core.UriData, () => ({ __proto__: dart.getFields(core.UriData.__proto__), [_text$]: dart.finalFieldType(core.String), [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) })); + dart.setStaticFieldSignature(core.UriData, () => ['_noScheme', '_base64', '_tokenCharTable', '_uricTable']); dart.defineExtensionMethods(core.UriData, ['toString']); dart.defineLazy(core.UriData, { /*core.UriData._noScheme*/get _noScheme() { return -1; }, /*core.UriData._base64*/get _base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[443] || CT.C443; + return C[454] || CT.C454; }, /*core.UriData._uricTable*/get _uricTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; } }, false); var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); @@ -124333,6 +136030,16 @@ define([], (function load__dart_sdk() { var _simpleMerge = dart.privateName(core, "_simpleMerge"); var _toNonSimple = dart.privateName(core, "_toNonSimple"); core._SimpleUri = class _SimpleUri extends core.Object { + static ['_#new#tearOff'](_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); + return new core._SimpleUri.new(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache); + } get hasScheme() { return dart.notNull(this[_schemeEnd$]) > 0; } @@ -124364,7 +136071,7 @@ define([], (function load__dart_sdk() { return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); } [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); } get hasAbsolutePath() { @@ -124377,15 +136084,15 @@ define([], (function load__dart_sdk() { return dart.test(this.hasScheme) && !dart.test(this.hasFragment); } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4446, 24, "scheme"); if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; if (scheme.length !== this[_schemeEnd$]) return false; - return core._Uri._compareScheme(scheme, this[_uri$]); + return core._caseInsensitiveStartsWith(scheme, this[_uri$], 0); } get scheme() { - let t258; - t258 = this[_schemeCache$]; - return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + let t239; + t239 = this[_schemeCache$]; + return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; } [_computeScheme]() { if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; @@ -124439,7 +136146,7 @@ define([], (function load__dart_sdk() { let start = this[_pathStart$]; let end = this[_queryStart$]; if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - if (start == end) return C[404] || CT.C404; + if (start == end) return C[415] || CT.C415; let parts = T$.JSArrayOfString().of([]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = this[_uri$][$codeUnitAt](i); @@ -124452,17 +136159,17 @@ define([], (function load__dart_sdk() { return T$.ListOfString().unmodifiable(parts); } get queryParameters() { - if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + if (!dart.test(this.hasQuery)) return C[455] || CT.C455; return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); } get queryParametersAll() { - if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + if (!dart.test(this.hasQuery)) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } [_isPort](port) { - if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + if (port == null) dart.nullFailed(I[175], 4538, 23, "port"); let portDigitStart = dart.notNull(this[_portStart$]) + 1; return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); } @@ -124535,26 +136242,26 @@ define([], (function load__dart_sdk() { return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4622, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4626, 22, "reference"); if (core._SimpleUri.is(reference)) { return this[_simpleMerge](this, reference); } return this[_toNonSimple]().resolveUri(reference); } static _packageNameEnd(uri) { - if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (uri == null) dart.nullFailed(I[175], 4643, 41, "uri"); if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); } return -1; } [_simpleMerge](base, ref) { - if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); - if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (base == null) dart.nullFailed(I[175], 4657, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4657, 48, "ref"); if (dart.test(ref.hasScheme)) return ref; if (dart.test(ref.hasAuthority)) { if (!dart.test(base.hasScheme)) return ref; @@ -124641,7 +136348,7 @@ define([], (function load__dart_sdk() { return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -124652,7 +136359,7 @@ define([], (function load__dart_sdk() { } dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { @@ -124661,13 +136368,13 @@ define([], (function load__dart_sdk() { return this.path; } get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); return null; } get hashCode() { - let t258; - t258 = this[_hashCodeCache]; - return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + let t239; + t239 = this[_hashCodeCache]; + return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; } _equals(other) { if (other == null) return false; @@ -124682,13 +136389,13 @@ define([], (function load__dart_sdk() { } }; (core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { - if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); - if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); - if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); - if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); - if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); - if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); - if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); this[_hashCodeCache] = null; this[_uri$] = _uri; this[_schemeEnd$] = _schemeEnd; @@ -124719,6 +136426,7 @@ define([], (function load__dart_sdk() { [_toFilePath]: dart.fnType(core.String, []), [_toNonSimple]: dart.fnType(core.Uri, []) })); + dart.setStaticMethodSignature(core._SimpleUri, () => ['_packageNameEnd']); dart.setGetterSignature(core._SimpleUri, () => ({ __proto__: dart.getGetters(core._SimpleUri.__proto__), hasScheme: core.bool, @@ -124748,7 +136456,7 @@ define([], (function load__dart_sdk() { queryParametersAll: core.Map$(core.String, core.List$(core.String)), data: dart.nullable(core.UriData) })); - dart.setLibraryUri(core._SimpleUri, I[8]); + dart.setLibraryUri(core._SimpleUri, I[9]); dart.setFieldSignature(core._SimpleUri, () => ({ __proto__: dart.getFields(core._SimpleUri.__proto__), [_uri$]: dart.finalFieldType(core.String), @@ -124765,38 +136473,210 @@ define([], (function load__dart_sdk() { dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); var _data$0 = dart.privateName(core, "_data"); core._DataUri = class _DataUri extends core._Uri { + static ['_#new#tearOff'](_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); + return new core._DataUri.new(_data, path, query); + } get data() { return this[_data$0]; } }; (core._DataUri.new = function(_data, path, query) { - if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); - if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); this[_data$0] = _data; core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); ; }).prototype = core._DataUri.prototype; dart.addTypeTests(core._DataUri); dart.addTypeCaches(core._DataUri); - dart.setLibraryUri(core._DataUri, I[8]); + dart.setLibraryUri(core._DataUri, I[9]); dart.setFieldSignature(core._DataUri, () => ({ __proto__: dart.getFields(core._DataUri.__proto__), [_data$0]: dart.finalFieldType(core.UriData) })); + var name$14 = dart.privateName(core, "Expando.name"); + var _jsWeakMap = dart.privateName(core, "_jsWeakMap"); + const _is_Expando_default = Symbol('_is_Expando_default'); + core.Expando$ = dart.generic(T => { + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + static ['_#new#tearOff'](T, name = null) { + return new (core.Expando$(T)).new(name); + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 153, 25, "object"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string' || core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + return this[_jsWeakMap].get(object); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 170, 28, "object"); + __t$TN().as(value); + if (core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + this[_jsWeakMap].set(object, value); + return value$; + } + } + (Expando.new = function(name = null) { + this[_jsWeakMap] = new WeakMap(); + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[9]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + [_jsWeakMap]: dart.finalFieldType(core.Object), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; + }); + core.Expando = core.Expando$(); + dart.addTypeTests(core.Expando, _is_Expando_default); + const _is_WeakReference_default = Symbol('_is_WeakReference_default'); + core.WeakReference$ = dart.generic(T => { + class WeakReference extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return core.WeakReference$(T).new(object); + } + } + (WeakReference[dart.mixinNew] = function() { + }).prototype = WeakReference.prototype; + dart.addTypeTests(WeakReference); + WeakReference.prototype[_is_WeakReference_default] = true; + dart.addTypeCaches(WeakReference); + dart.setStaticMethodSignature(WeakReference, () => ['new']); + dart.setLibraryUri(WeakReference, I[9]); + return WeakReference; + }); + core.WeakReference = core.WeakReference$(); + dart.addTypeTests(core.WeakReference, _is_WeakReference_default); + const _is_Finalizer_default = Symbol('_is_Finalizer_default'); + core.Finalizer$ = dart.generic(T => { + class Finalizer extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return new (core._FinalizationRegistryWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return core.Finalizer$(T).new(object); + } + } + (Finalizer[dart.mixinNew] = function() { + }).prototype = Finalizer.prototype; + dart.addTypeTests(Finalizer); + Finalizer.prototype[_is_Finalizer_default] = true; + dart.addTypeCaches(Finalizer); + dart.setStaticMethodSignature(Finalizer, () => ['new']); + dart.setLibraryUri(Finalizer, I[9]); + return Finalizer; + }); + core.Finalizer = core.Finalizer$(); + dart.addTypeTests(core.Finalizer, _is_Finalizer_default); core._symbolToString = function _symbolToString(symbol) { if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); }; core._max = function _max(a, b) { - if (a == null) dart.nullFailed(I[7], 933, 14, "a"); - if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1001, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1001, 21, "b"); return dart.notNull(a) > dart.notNull(b) ? a : b; }; core._min = function _min(a, b) { - if (a == null) dart.nullFailed(I[7], 934, 14, "a"); - if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1002, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1002, 21, "b"); return dart.notNull(a) < dart.notNull(b) ? a : b; }; + core['DateTimeCopyWith|copyWith'] = function DateTimeCopyWith$124copyWith($this, opts) { + let t240, t240$, t240$0, t240$1, t240$2, t240$3, t240$4, t240$5, t240$6; + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return (dart.test((t240 = isUtc, t240 == null ? $this.isUtc : t240)) ? C[456] || CT.C456 : C[457] || CT.C457)((t240$ = year, t240$ == null ? $this.year : t240$), (t240$0 = month, t240$0 == null ? $this.month : t240$0), (t240$1 = day, t240$1 == null ? $this.day : t240$1), (t240$2 = hour, t240$2 == null ? $this.hour : t240$2), (t240$3 = minute, t240$3 == null ? $this.minute : t240$3), (t240$4 = second, t240$4 == null ? $this.second : t240$4), (t240$5 = millisecond, t240$5 == null ? $this.millisecond : t240$5), (t240$6 = microsecond, t240$6 == null ? $this.microsecond : t240$6)); + }; + core['DateTimeCopyWith|get#copyWith'] = function DateTimeCopyWith$124get$35copyWith($this) { + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + return dart.fn(opts => { + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return core['DateTimeCopyWith|copyWith']($this, {year: year, month: month, day: day, hour: hour, minute: minute, second: second, millisecond: millisecond, microsecond: microsecond, isUtc: isUtc}); + }, T$0.__ToDateTime()); + }; + core['EnumName|get#name'] = function EnumName$124get$35name($this) { + if ($this == null) dart.nullFailed(I[122], 136, 14, "#this"); + return $this[_name$4]; + }; + core['EnumByName|byName'] = function EnumByName$124byName(T, $this, name) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + for (let value of $this) { + if (value[_name$4] == name) return value; + } + dart.throw(new core.ArgumentError.value(name, "name", "No enum value with that name")); + }; + core['EnumByName|get#byName'] = function EnumByName$124get$35byName(T, $this) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + return dart.fn(name => { + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + return core['EnumByName|byName'](T, $this, name); + }, dart.fnType(T, [core.String])); + }; + core['EnumByName|asNameMap'] = function EnumByName$124asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return (() => { + let t245 = new (_js_helper.IdentityMap$(core.String, T)).new(); + for (let value of $this) + t245[$_set](value[_name$4], value); + return t245; + })(); + }; + core['EnumByName|get#asNameMap'] = function EnumByName$124get$35asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return dart.fn(() => core['EnumByName|asNameMap'](T, $this), dart.fnType(core.Map$(core.String, T), [])); + }; core.identical = function identical(a, b) { return a == null ? b == null : a === b; }; @@ -124810,7 +136690,7 @@ define([], (function load__dart_sdk() { return hash; }; core.print = function print$0(object) { - let line = dart.toString(object); + let line = dart.str(object); let toZone = _internal.printToZone; if (toZone == null) { _internal.printToConsole(line); @@ -124819,38 +136699,38 @@ define([], (function load__dart_sdk() { } }; core._isLeadSurrogate = function _isLeadSurrogate$(code) { - if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + if (code == null) dart.nullFailed(I[173], 791, 27, "code"); return (dart.notNull(code) & 64512) === 55296; }; core._isTrailSurrogate = function _isTrailSurrogate(code) { - if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + if (code == null) dart.nullFailed(I[173], 794, 28, "code"); return (dart.notNull(code) & 64512) === 56320; }; core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { - if (start == null) dart.nullFailed(I[174], 631, 31, "start"); - if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + if (start == null) dart.nullFailed(I[173], 797, 31, "start"); + if (end == null) dart.nullFailed(I[173], 797, 42, "end"); return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); }; core._createTables = function _createTables() { let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + if (_ == null) dart.nullFailed(I[175], 4180, 54, "_"); return _native_typed_data.NativeUint8List.new(96); }, T$0.intToUint8List())); function build(state, defaultTransition) { - let t258; - t258 = tables[$_get](core.int.as(state)); + let t247; + t247 = tables[$_get](core.int.as(state)); return (() => { - t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); - return t258; + t247[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t247; })(); } dart.fn(build, T$0.dynamicAnddynamicToUint8List()); function setChars(target, chars, transition) { - if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); - if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); - if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4191, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 4191, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 4191, 53, "transition"); for (let i = 0; i < chars.length; i = i + 1) { let char = chars[$codeUnitAt](i); target[$_set]((char ^ 96) >>> 0, transition); @@ -124858,9 +136738,9 @@ define([], (function load__dart_sdk() { } dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); function setRange(target, range, transition) { - if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); - if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); - if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4204, 27, "target"); + if (range == null) dart.nullFailed(I[175], 4204, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 4204, 53, "transition"); for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { target[$_set]((i ^ 96) >>> 0, transition); } @@ -124872,13 +136752,14 @@ define([], (function load__dart_sdk() { setChars(typed_data.Uint8List.as(b), ".", 14); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(14, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ".", 15); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(15, (1 | 224) >>> 0); @@ -124886,23 +136767,27 @@ define([], (function load__dart_sdk() { setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(1, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(2, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(3, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), ".", 18); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); @@ -124913,6 +136798,7 @@ define([], (function load__dart_sdk() { setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(5, (5 | 224) >>> 0); @@ -124921,18 +136807,21 @@ define([], (function load__dart_sdk() { setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(6, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "19", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(7, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "09", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(8, 8); @@ -124940,40 +136829,43 @@ define([], (function load__dart_sdk() { b = build(9, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 16); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(16, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 17); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(17, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(10, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 18); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(18, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 19); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(19, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(11, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(12, (12 | 224) >>> 0); @@ -124992,13 +136884,13 @@ define([], (function load__dart_sdk() { return tables; }; core._scan = function _scan(uri, start, end, state, indices) { - if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); - if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); - if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); - if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); - if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + if (uri == null) dart.nullFailed(I[175], 4384, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4384, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4384, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4384, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4384, 64, "indices"); let tables = core._scannerTables; - if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4386, 10, "end <= uri.length"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let table = tables[$_get](state); let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; @@ -125010,8 +136902,8 @@ define([], (function load__dart_sdk() { return state; }; core._startsWithData = function _startsWithData(text, start) { - if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); - if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + if (text == null) dart.nullFailed(I[175], 4911, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4911, 38, "start"); let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; @@ -125023,14 +136915,14 @@ define([], (function load__dart_sdk() { return s == null ? 0 : s.length; }; core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { - if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); - if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + if (key == null) dart.nullFailed(I[175], 4924, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4924, 65, "list"); return T$.ListOfString().unmodifiable(list); }; core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { - if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); - if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); - if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + if (source == null) dart.nullFailed(I[175], 4936, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4936, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4936, 57, "end"); let dots = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$codeUnitAt](i); @@ -125040,15 +136932,48 @@ define([], (function load__dart_sdk() { } return -1; }; + core._caseInsensitiveStartsWith = function _caseInsensitiveStartsWith(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4962, 40, "prefix"); + if (string == null) dart.nullFailed(I[175], 4962, 55, "string"); + if (start == null) dart.nullFailed(I[175], 4962, 67, "start"); + return dart.notNull(core._caseInsensitiveCompareStart(prefix, string, start)) >= 0; + }; + core._caseInsensitiveCompareStart = function _caseInsensitiveCompareStart(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4974, 41, "prefix"); + if (string == null) dart.nullFailed(I[175], 4974, 56, "string"); + if (start == null) dart.nullFailed(I[175], 4974, 68, "start"); + let result = 0; + for (let i = 0; i < prefix.length; i = i + 1) { + let prefixChar = prefix[$codeUnitAt](i); + let stringChar = string[$codeUnitAt](dart.notNull(start) + i); + let delta = (prefixChar ^ stringChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (stringChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; + }; + core._caseInsensitiveEquals = function _caseInsensitiveEquals(string1, string2) { + if (string1 == null) dart.nullFailed(I[175], 5000, 36, "string1"); + if (string2 == null) dart.nullFailed(I[175], 5000, 52, "string2"); + return string1.length === string2.length && dart.test(core._caseInsensitiveStartsWith(string1, string2, 0)); + }; dart.defineLazy(core, { /*core._dummyList*/get _dummyList() { return _native_typed_data.NativeUint16List.new(0); }, /*core.deprecated*/get deprecated() { - return C[445] || CT.C445; + return C[458] || CT.C458; }, /*core.override*/get override() { - return C[446] || CT.C446; + return C[459] || CT.C459; }, /*core.provisional*/get provisional() { return null; @@ -125056,6 +136981,9 @@ define([], (function load__dart_sdk() { /*core.proxy*/get proxy() { return null; }, + /*core._hashSeed*/get _hashSeed() { + return core.identityHashCode(dart.wrapType(core.Object)); + }, /*core._SPACE*/get _SPACE() { return 32; }, @@ -125155,6 +137083,7 @@ define([], (function load__dart_sdk() { return this[autoCompress]; } set autoCompress(value) { + if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); this[autoCompress] = value; } get idleTimeout() { @@ -125164,42 +137093,47 @@ define([], (function load__dart_sdk() { this[idleTimeout] = value; } static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + if (port == null) dart.nullFailed(I[176], 189, 47, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 190, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 190, 34, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + if (shared == null) dart.nullFailed(I[176], 190, 55, "shared"); return _http._HttpServer.bind(address, port, backlog, v6Only, shared); } static bindSecure(address, port, context, opts) { - if (port == null) dart.nullFailed(I[176], 272, 24, "port"); - if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + if (port == null) dart.nullFailed(I[176], 232, 24, "port"); + if (context == null) dart.nullFailed(I[176], 232, 46, "context"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 233, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 234, 16, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[176], 235, 16, "requestClientCertificate"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + if (shared == null) dart.nullFailed(I[176], 236, 16, "shared"); return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); } static listenOn(serverSocket) { - if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); return new _http._HttpServer.listenOn(serverSocket); } + static ['_#listenOn#tearOff'](serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); + return _http.HttpServer.listenOn(serverSocket); + } }; (_http.HttpServer[dart.mixinNew] = function() { this[serverHeader] = null; this[autoCompress] = false; - this[idleTimeout] = C[447] || CT.C447; + this[idleTimeout] = C[460] || CT.C460; }).prototype = _http.HttpServer.prototype; _http.HttpServer.prototype[dart.isStream] = true; dart.addTypeTests(_http.HttpServer); dart.addTypeCaches(_http.HttpServer); _http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; + dart.setStaticMethodSignature(_http.HttpServer, () => ['bind', 'bindSecure', 'listenOn']); dart.setLibraryUri(_http.HttpServer, I[177]); dart.setFieldSignature(_http.HttpServer, () => ({ __proto__: dart.getFields(_http.HttpServer.__proto__), @@ -125216,26 +137150,33 @@ define([], (function load__dart_sdk() { return this[total]; } set total(value) { + if (value == null) dart.nullFailed(I[176], 280, 7, "total"); this[total] = value; } get active() { return this[active]; } set active(value) { + if (value == null) dart.nullFailed(I[176], 284, 7, "active"); this[active] = value; } get idle() { return this[idle]; } set idle(value) { + if (value == null) dart.nullFailed(I[176], 287, 7, "idle"); this[idle] = value; } get closing() { return this[closing]; } set closing(value) { + if (value == null) dart.nullFailed(I[176], 293, 7, "closing"); this[closing] = value; } + static ['_#new#tearOff']() { + return new _http.HttpConnectionsInfo.new(); + } }; (_http.HttpConnectionsInfo.new = function() { this[total] = 0; @@ -125306,25 +137247,26 @@ define([], (function load__dart_sdk() { return this[contentLength]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); this[contentLength] = value; } get persistentConnection() { - let t258; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t258) { - if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = t258; + this[__HttpHeaders_persistentConnection] = persistentConnection$35param; } get chunkedTransferEncoding() { - let t259; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + let t247; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); } - set chunkedTransferEncoding(t259) { - if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + set chunkedTransferEncoding(chunkedTransferEncoding$35param) { + if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = t259; + this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; } }; (_http.HttpHeaders.new = function() { @@ -125368,6 +137310,7 @@ define([], (function load__dart_sdk() { [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) })); + dart.setStaticFieldSignature(_http.HttpHeaders, () => ['acceptHeader', 'acceptCharsetHeader', 'acceptEncodingHeader', 'acceptLanguageHeader', 'acceptRangesHeader', 'accessControlAllowCredentialsHeader', 'accessControlAllowHeadersHeader', 'accessControlAllowMethodsHeader', 'accessControlAllowOriginHeader', 'accessControlExposeHeadersHeader', 'accessControlMaxAgeHeader', 'accessControlRequestHeadersHeader', 'accessControlRequestMethodHeader', 'ageHeader', 'allowHeader', 'authorizationHeader', 'cacheControlHeader', 'connectionHeader', 'contentEncodingHeader', 'contentLanguageHeader', 'contentLengthHeader', 'contentLocationHeader', 'contentMD5Header', 'contentRangeHeader', 'contentTypeHeader', 'dateHeader', 'etagHeader', 'expectHeader', 'expiresHeader', 'fromHeader', 'hostHeader', 'ifMatchHeader', 'ifModifiedSinceHeader', 'ifNoneMatchHeader', 'ifRangeHeader', 'ifUnmodifiedSinceHeader', 'lastModifiedHeader', 'locationHeader', 'maxForwardsHeader', 'pragmaHeader', 'proxyAuthenticateHeader', 'proxyAuthorizationHeader', 'rangeHeader', 'refererHeader', 'retryAfterHeader', 'serverHeader', 'teHeader', 'trailerHeader', 'transferEncodingHeader', 'upgradeHeader', 'userAgentHeader', 'varyHeader', 'viaHeader', 'warningHeader', 'wwwAuthenticateHeader', 'cookieHeader', 'setCookieHeader', 'generalHeaders', 'entityHeaders', 'responseHeaders', 'requestHeaders']); dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { return "accept"; @@ -125384,6 +137327,30 @@ define([], (function load__dart_sdk() { /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { return "accept-ranges"; }, + /*_http.HttpHeaders.accessControlAllowCredentialsHeader*/get accessControlAllowCredentialsHeader() { + return "access-control-allow-credentials"; + }, + /*_http.HttpHeaders.accessControlAllowHeadersHeader*/get accessControlAllowHeadersHeader() { + return "access-control-allow-headers"; + }, + /*_http.HttpHeaders.accessControlAllowMethodsHeader*/get accessControlAllowMethodsHeader() { + return "access-control-allow-methods"; + }, + /*_http.HttpHeaders.accessControlAllowOriginHeader*/get accessControlAllowOriginHeader() { + return "access-control-allow-origin"; + }, + /*_http.HttpHeaders.accessControlExposeHeadersHeader*/get accessControlExposeHeadersHeader() { + return "access-control-expose-headers"; + }, + /*_http.HttpHeaders.accessControlMaxAgeHeader*/get accessControlMaxAgeHeader() { + return "access-control-max-age"; + }, + /*_http.HttpHeaders.accessControlRequestHeadersHeader*/get accessControlRequestHeadersHeader() { + return "access-control-request-headers"; + }, + /*_http.HttpHeaders.accessControlRequestMethodHeader*/get accessControlRequestMethodHeader() { + return "access-control-request-method"; + }, /*_http.HttpHeaders.ageHeader*/get ageHeader() { return "age"; }, @@ -125510,197 +137477,43 @@ define([], (function load__dart_sdk() { /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { return "www-authenticate"; }, - /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { - return "accept"; - }, - /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { - return "accept-charset"; - }, - /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { - return "accept-language"; - }, - /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { - return "accept-ranges"; - }, - /*_http.HttpHeaders.AGE*/get AGE() { - return "age"; - }, - /*_http.HttpHeaders.ALLOW*/get ALLOW() { - return "allow"; - }, - /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { - return "authorization"; - }, - /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { - return "cache-control"; - }, - /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { - return "connection"; - }, - /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { - return "content-encoding"; - }, - /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { - return "content-language"; - }, - /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { - return "content-length"; - }, - /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { - return "content-location"; - }, - /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { - return "content-md5"; - }, - /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { - return "content-range"; - }, - /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { - return "content-type"; - }, - /*_http.HttpHeaders.DATE*/get DATE() { - return "date"; - }, - /*_http.HttpHeaders.ETAG*/get ETAG() { - return "etag"; - }, - /*_http.HttpHeaders.EXPECT*/get EXPECT() { - return "expect"; - }, - /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { - return "expires"; - }, - /*_http.HttpHeaders.FROM*/get FROM() { - return "from"; - }, - /*_http.HttpHeaders.HOST*/get HOST() { - return "host"; - }, - /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { - return "if-match"; - }, - /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { - return "if-none-match"; - }, - /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { - return "if-range"; - }, - /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { - return "last-modified"; - }, - /*_http.HttpHeaders.LOCATION*/get LOCATION() { - return "location"; - }, - /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { - return "max-forwards"; - }, - /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { - return "pragma"; - }, - /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.RANGE*/get RANGE() { - return "range"; - }, - /*_http.HttpHeaders.REFERER*/get REFERER() { - return "referer"; - }, - /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { - return "retry-after"; - }, - /*_http.HttpHeaders.SERVER*/get SERVER() { - return "server"; - }, - /*_http.HttpHeaders.TE*/get TE() { - return "te"; - }, - /*_http.HttpHeaders.TRAILER*/get TRAILER() { - return "trailer"; - }, - /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { - return "upgrade"; - }, - /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { - return "user-agent"; - }, - /*_http.HttpHeaders.VARY*/get VARY() { - return "vary"; - }, - /*_http.HttpHeaders.VIA*/get VIA() { - return "via"; - }, - /*_http.HttpHeaders.WARNING*/get WARNING() { - return "warning"; - }, - /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { - return "www-authenticate"; - }, /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { return "cookie"; }, /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { return "set-cookie"; }, - /*_http.HttpHeaders.COOKIE*/get COOKIE() { - return "cookie"; - }, - /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { - return "set-cookie"; - }, /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[448] || CT.C448; - }, - /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { - return C[448] || CT.C448; + return C[461] || CT.C461; }, /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[449] || CT.C449; - }, - /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { - return C[449] || CT.C449; + return C[462] || CT.C462; }, /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[450] || CT.C450; - }, - /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { - return C[450] || CT.C450; + return C[463] || CT.C463; }, /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[451] || CT.C451; - }, - /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { - return C[451] || CT.C451; + return C[464] || CT.C464; } }, false); _http.HeaderValue = class HeaderValue extends core.Object { - static new(value = "", parameters = C[452] || CT.C452) { - if (value == null) dart.nullFailed(I[176], 805, 15, "value"); - if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + static new(value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); return new _http._HeaderValue.new(value, parameters); } + static ['_#new#tearOff'](value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); + return _http.HeaderValue.new(value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + if (value == null) dart.nullFailed(I[176], 615, 35, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[176], 616, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[176], 618, 12, "preserveBackslash"); return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); } }; @@ -125708,6 +137521,7 @@ define([], (function load__dart_sdk() { }).prototype = _http.HeaderValue.prototype; dart.addTypeTests(_http.HeaderValue); dart.addTypeCaches(_http.HeaderValue); + dart.setStaticMethodSignature(_http.HeaderValue, () => ['new', 'parse']); dart.setLibraryUri(_http.HeaderValue, I[177]); _http.HttpSession = class HttpSession extends core.Object {}; (_http.HttpSession.new = function() { @@ -125720,15 +137534,23 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http.HttpSession, I[177]); _http.ContentType = class ContentType extends core.Object { static new(primaryType, subType, opts) { - if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); - if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); let charset = opts && 'charset' in opts ? opts.charset : null; - let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; - if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); return new _http._ContentType.new(primaryType, subType, charset, parameters); } + static ['_#new#tearOff'](primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); + return _http.ContentType.new(primaryType, subType, {charset: charset, parameters: parameters}); + } static parse(value) { - if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + if (value == null) dart.nullFailed(I[176], 708, 35, "value"); return _http._ContentType.parse(value); } }; @@ -125737,31 +137559,21 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http.ContentType); dart.addTypeCaches(_http.ContentType); _http.ContentType[dart.implements] = () => [_http.HeaderValue]; + dart.setStaticMethodSignature(_http.ContentType, () => ['new', 'parse']); dart.setLibraryUri(_http.ContentType, I[177]); + dart.setStaticFieldSignature(_http.ContentType, () => ['text', 'html', 'json', 'binary']); dart.defineLazy(_http.ContentType, { /*_http.ContentType.text*/get text() { return _http.ContentType.new("text", "plain", {charset: "utf-8"}); }, - /*_http.ContentType.TEXT*/get TEXT() { - return _http.ContentType.text; - }, /*_http.ContentType.html*/get html() { return _http.ContentType.new("text", "html", {charset: "utf-8"}); }, - /*_http.ContentType.HTML*/get HTML() { - return _http.ContentType.html; - }, /*_http.ContentType.json*/get json() { return _http.ContentType.new("application", "json", {charset: "utf-8"}); }, - /*_http.ContentType.JSON*/get JSON() { - return _http.ContentType.json; - }, /*_http.ContentType.binary*/get binary() { return _http.ContentType.new("application", "octet-stream"); - }, - /*_http.ContentType.BINARY*/get BINARY() { - return _http.ContentType.binary; } }, false); var expires$ = dart.privateName(_http, "Cookie.expires"); @@ -125803,41 +137615,52 @@ define([], (function load__dart_sdk() { return this[secure]; } set secure(value) { + if (value == null) dart.nullFailed(I[176], 778, 8, "secure"); this[secure] = value; } get httpOnly() { return this[httpOnly]; } set httpOnly(value) { + if (value == null) dart.nullFailed(I[176], 782, 8, "httpOnly"); this[httpOnly] = value; } get name() { - let t260; - return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + let t247; + return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); } - set name(t260) { - if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + set name(name$35param) { + if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); this[__Cookie_name_isSet] = true; - this[__Cookie_name] = t260; + this[__Cookie_name] = name$35param; } get value() { - let t261; - return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + let t247; + return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); } - set value(t261) { - if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + set value(value$35param) { + if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); this[__Cookie_value_isSet] = true; - this[__Cookie_value] = t261; + this[__Cookie_value] = value$35param; } static new(name, value) { - if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); - if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); return new _http._Cookie.new(name, value); } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); + return _http.Cookie.new(name, value); + } static fromSetCookieValue(value) { - if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); return new _http._Cookie.fromSetCookieValue(value); } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); + return _http.Cookie.fromSetCookieValue(value); + } }; (_http.Cookie[dart.mixinNew] = function() { this[__Cookie_name] = null; @@ -125853,6 +137676,7 @@ define([], (function load__dart_sdk() { }).prototype = _http.Cookie.prototype; dart.addTypeTests(_http.Cookie); dart.addTypeCaches(_http.Cookie); + dart.setStaticMethodSignature(_http.Cookie, () => ['new', 'fromSetCookieValue']); dart.setGetterSignature(_http.Cookie, () => ({ __proto__: dart.getGetters(_http.Cookie.__proto__), name: core.String, @@ -125899,12 +137723,14 @@ define([], (function load__dart_sdk() { return this[contentLength$]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 970, 7, "contentLength"); this[contentLength$] = value; } get statusCode() { return this[statusCode]; } set statusCode(value) { + if (value == null) dart.nullFailed(I[176], 982, 7, "statusCode"); this[statusCode] = value; } get deadline() { @@ -125917,25 +137743,26 @@ define([], (function load__dart_sdk() { return this[bufferOutput]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); this[bufferOutput] = value; } get reasonPhrase() { - let t262; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + let t247; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); } - set reasonPhrase(t262) { - if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + set reasonPhrase(reasonPhrase$35param) { + if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = t262; + this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; } get persistentConnection() { - let t263; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t263) { - if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = t263; + this[__HttpResponse_persistentConnection] = persistentConnection$35param; } }; (_http.HttpResponse.new = function() { @@ -125984,6 +137811,7 @@ define([], (function load__dart_sdk() { return this[idleTimeout$]; } set idleTimeout(value) { + if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); this[idleTimeout$] = value; } get connectionTimeout() { @@ -126002,6 +137830,7 @@ define([], (function load__dart_sdk() { return this[autoUncompress]; } set autoUncompress(value) { + if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); this[autoUncompress] = value; } get userAgent() { @@ -126011,7 +137840,7 @@ define([], (function load__dart_sdk() { this[userAgent] = value; } static set enableTimelineLogging(value) { - if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + if (value == null) dart.nullFailed(I[176], 1157, 41, "value"); let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); if (enabled != _http.HttpClient._enableTimelineLogging) { developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); @@ -126029,8 +137858,12 @@ define([], (function load__dart_sdk() { } return overrides.createHttpClient(context); } + static ['_#new#tearOff'](opts) { + let context = opts && 'context' in opts ? opts.context : null; + return _http.HttpClient.new({context: context}); + } static findProxyFromEnvironment(url, opts) { - if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + if (url == null) dart.nullFailed(I[176], 1514, 46, "url"); let environment = opts && 'environment' in opts ? opts.environment : null; let overrides = _http.HttpOverrides.current; if (overrides == null) { @@ -126040,7 +137873,7 @@ define([], (function load__dart_sdk() { } }; (_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[453] || CT.C453; + this[idleTimeout$] = C[466] || CT.C466; this[connectionTimeout] = null; this[maxConnectionsPerHost] = null; this[autoUncompress] = true; @@ -126048,6 +137881,9 @@ define([], (function load__dart_sdk() { }).prototype = _http.HttpClient.prototype; dart.addTypeTests(_http.HttpClient); dart.addTypeCaches(_http.HttpClient); + dart.setStaticMethodSignature(_http.HttpClient, () => ['new', 'findProxyFromEnvironment']); + dart.setStaticGetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); + dart.setStaticSetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); dart.setLibraryUri(_http.HttpClient, I[177]); dart.setFieldSignature(_http.HttpClient, () => ({ __proto__: dart.getFields(_http.HttpClient.__proto__), @@ -126057,23 +137893,20 @@ define([], (function load__dart_sdk() { autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); + dart.setStaticFieldSignature(_http.HttpClient, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); dart.defineLazy(_http.HttpClient, { /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { return 80; }, - /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { - return 80; - }, /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { return 443; }, - /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { - return 443; - }, /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { return false; }, - set _enableTimelineLogging(_) {} + set _enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1174, 15, "_enableTimelineLogging"); + } }, false); var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); @@ -126085,30 +137918,35 @@ define([], (function load__dart_sdk() { return this[persistentConnection]; } set persistentConnection(value) { + if (value == null) dart.nullFailed(I[176], 1635, 8, "persistentConnection"); this[persistentConnection] = value; } get followRedirects() { return this[followRedirects]; } set followRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1687, 8, "followRedirects"); this[followRedirects] = value; } get maxRedirects() { return this[maxRedirects]; } set maxRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1694, 7, "maxRedirects"); this[maxRedirects] = value; } get contentLength() { return this[contentLength$0]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 1706, 7, "contentLength"); this[contentLength$0] = value; } get bufferOutput() { return this[bufferOutput$]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1714, 8, "bufferOutput"); this[bufferOutput$] = value; } }; @@ -126141,32 +137979,39 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(_http.HttpClientResponse); _http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; dart.setLibraryUri(_http.HttpClientResponse, I[177]); - var _name$7 = dart.privateName(_http, "_name"); - _http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { - toString() { - return this[_name$7]; + _http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core._Enum { + [_enumToString]() { + return "HttpClientResponseCompressionState." + dart.str(this[_name$4]); } }; - (_http.HttpClientResponseCompressionState.new = function(index, _name) { - if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); - if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); - this.index = index; - this[_name$7] = _name; + (_http.HttpClientResponseCompressionState.new = function(index, name) { + if (index == null) dart.nullFailed(I[176], 1891, 6, "#index"); + if (name == null) dart.nullFailed(I[176], 1891, 6, "#name"); + _http.HttpClientResponseCompressionState.__proto__.new.call(this, index, name); ; }).prototype = _http.HttpClientResponseCompressionState.prototype; dart.addTypeTests(_http.HttpClientResponseCompressionState); dart.addTypeCaches(_http.HttpClientResponseCompressionState); - dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); - dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), - index: dart.finalFieldType(core.int), - [_name$7]: dart.finalFieldType(core.String) + dart.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), + [_enumToString]: dart.fnType(core.String, []) })); - dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); - _http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; - _http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; - _http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; - _http.HttpClientResponseCompressionState.values = C[457] || CT.C457; + dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); + dart.setStaticFieldSignature(_http.HttpClientResponseCompressionState, () => ['values', 'notCompressed', 'decompressed', 'compressed']); + dart.defineLazy(_http.HttpClientResponseCompressionState, { + /*_http.HttpClientResponseCompressionState.values*/get values() { + return C[467] || CT.C467; + }, + /*_http.HttpClientResponseCompressionState.notCompressed*/get notCompressed() { + return C[468] || CT.C468; + }, + /*_http.HttpClientResponseCompressionState.decompressed*/get decompressed() { + return C[469] || CT.C469; + }, + /*_http.HttpClientResponseCompressionState.compressed*/get compressed() { + return C[470] || CT.C470; + } + }, false); _http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; (_http.HttpClientCredentials.new = function() { ; @@ -126176,23 +138021,35 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http.HttpClientCredentials, I[177]); _http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); - if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); return new _http._HttpClientBasicCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); + return _http.HttpClientBasicCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientBasicCredentials); dart.addTypeCaches(_http.HttpClientBasicCredentials); + dart.setStaticMethodSignature(_http.HttpClientBasicCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); _http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); - if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); return new _http._HttpClientDigestCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); + return _http.HttpClientDigestCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientDigestCredentials); dart.addTypeCaches(_http.HttpClientDigestCredentials); + dart.setStaticMethodSignature(_http.HttpClientDigestCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); _http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; (_http.HttpConnectionInfo.new = function() { @@ -126208,13 +138065,6 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http.RedirectInfo); dart.addTypeCaches(_http.RedirectInfo); dart.setLibraryUri(_http.RedirectInfo, I[177]); - _http.DetachedSocket = class DetachedSocket extends core.Object {}; - (_http.DetachedSocket.new = function() { - ; - }).prototype = _http.DetachedSocket.prototype; - dart.addTypeTests(_http.DetachedSocket); - dart.addTypeCaches(_http.DetachedSocket); - dart.setLibraryUri(_http.DetachedSocket, I[177]); var message$17 = dart.privateName(_http, "HttpException.message"); var uri$0 = dart.privateName(_http, "HttpException.uri"); _http.HttpException = class HttpException extends core.Object { @@ -126230,12 +138080,17 @@ define([], (function load__dart_sdk() { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new _http.HttpException.new(message, {uri: uri}); + } toString() { - let t264; - let b = (t264 = new core.StringBuffer.new(), (() => { - t264.write("HttpException: "); - t264.write(this.message); - return t264; + let t249; + let b = (t249 = new core.StringBuffer.new(), (() => { + t249.write("HttpException: "); + t249.write(this.message); + return t249; })()); let uri = this.uri; if (uri != null) { @@ -126245,7 +138100,7 @@ define([], (function load__dart_sdk() { } }; (_http.HttpException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); let uri = opts && 'uri' in opts ? opts.uri : null; this[message$17] = message; this[uri$0] = uri; @@ -126276,16 +138131,21 @@ define([], (function load__dart_sdk() { set redirects(value) { super.redirects = value; } + static ['_#new#tearOff'](message, redirects) { + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); + return new _http.RedirectException.new(message, redirects); + } toString() { return "RedirectException: " + dart.str(this.message); } get uri() { - return this.redirects[$last].location; + return dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; } }; (_http.RedirectException.new = function(message, redirects) { - if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); - if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); this[message$18] = message; this[redirects$] = redirects; ; @@ -126295,7 +138155,7 @@ define([], (function load__dart_sdk() { _http.RedirectException[dart.implements] = () => [_http.HttpException]; dart.setGetterSignature(_http.RedirectException, () => ({ __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: core.Uri + uri: dart.nullable(core.Uri) })); dart.setLibraryUri(_http.RedirectException, I[177]); dart.setFieldSignature(_http.RedirectException, () => ({ @@ -126306,114 +138166,23 @@ define([], (function load__dart_sdk() { dart.defineExtensionMethods(_http.RedirectException, ['toString']); _http._CryptoUtils = class _CryptoUtils extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + if (count == null) dart.nullFailed(I[178], 8, 39, "count"); let result = _native_typed_data.NativeUint8List.new(count); for (let i = 0; i < dart.notNull(count); i = i + 1) { - result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + result[$_set](i, math.Random.secure().nextInt(255)); } return result; } static bytesToHex(bytes) { - if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + if (bytes == null) dart.nullFailed(I[178], 16, 38, "bytes"); let result = new core.StringBuffer.new(); for (let part of bytes) { result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); } return result.toString(); } - static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { - let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; - if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); - if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); - if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); - let len = bytes[$length]; - if (len === 0) { - return ""; - } - let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; - let remainderLength = len[$remainder](3); - let chunkLength = dart.notNull(len) - remainderLength; - let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); - if (dart.test(addLineSeparator)) { - outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); - } - let out = T$0.ListOfint().filled(outputLen, 0); - let j = 0; - let i = 0; - let c = 0; - while (i < chunkLength) { - let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; - out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); - out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); - out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); - out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); - if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { - out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); - out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); - c = 0; - } - } - if (remainderLength === 1) { - let x = bytes[$_get](i); - out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); - out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); - out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); - } else if (remainderLength === 2) { - let x = bytes[$_get](i); - let y = bytes[$_get](i + 1); - out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); - out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); - out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); - } - return core.String.fromCharCodes(out); - } - static base64StringToBytes(input, ignoreInvalidCharacters = true) { - let t264, t264$, t264$0, t264$1; - if (input == null) dart.nullFailed(I[178], 117, 47, "input"); - if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); - let len = input.length; - if (len === 0) { - return T$0.ListOfint().empty(); - } - let extrasLen = 0; - for (let i = 0; i < len; i = i + 1) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); - if (dart.notNull(c) < 0) { - extrasLen = extrasLen + 1; - if (c === -2 && !dart.test(ignoreInvalidCharacters)) { - dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); - } - } - } - if ((len - extrasLen)[$modulo](4) !== 0) { - dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); - } - let padLength = 0; - for (let i = len - 1; i >= 0; i = i - 1) { - let currentCodeUnit = input[$codeUnitAt](i); - if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; - if (currentCodeUnit === 61) padLength = padLength + 1; - } - let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; - let out = T$0.ListOfint().filled(outputLen, 0); - for (let i = 0, o = 0; o < outputLen;) { - let x = 0; - for (let j = 4; j > 0;) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); - if (dart.notNull(c) >= 0) { - x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; - j = j - 1; - } - } - out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); - if (o < outputLen) { - out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); - if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); - } - } - return out; + static ['_#new#tearOff']() { + return new _http._CryptoUtils.new(); } }; (_http._CryptoUtils.new = function() { @@ -126421,34 +138190,8 @@ define([], (function load__dart_sdk() { }).prototype = _http._CryptoUtils.prototype; dart.addTypeTests(_http._CryptoUtils); dart.addTypeCaches(_http._CryptoUtils); + dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); dart.setLibraryUri(_http._CryptoUtils, I[177]); - dart.defineLazy(_http._CryptoUtils, { - /*_http._CryptoUtils.PAD*/get PAD() { - return 61; - }, - /*_http._CryptoUtils.CR*/get CR() { - return 13; - }, - /*_http._CryptoUtils.LF*/get LF() { - return 10; - }, - /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { - return 76; - }, - /*_http._CryptoUtils._encodeTable*/get _encodeTable() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - }, - /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*_http._CryptoUtils._decodeTable*/get _decodeTable() { - return C[458] || CT.C458; - }, - /*_http._CryptoUtils._rng*/get _rng() { - return math.Random.secure(); - }, - set _rng(_) {} - }, false); var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); var _digestCalled = dart.privateName(_http, "_digestCalled"); var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); @@ -126467,7 +138210,7 @@ define([], (function load__dart_sdk() { var _updateHash = dart.privateName(_http, "_updateHash"); _http._HashBase = class _HashBase extends core.Object { add(data) { - if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (data == null) dart.nullFailed(I[178], 49, 22, "data"); if (dart.test(this[_digestCalled])) { dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); } @@ -126482,21 +138225,25 @@ define([], (function load__dart_sdk() { this[_digestCalled] = true; this[_finalizeData](); this[_iterate](); - if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + if (!dart.test(this[_pendingData][$isEmpty])) dart.assertFailed(null, I[178], 66, 12, "_pendingData.isEmpty"); return this[_resultAsBytes](); } get blockSize() { return dart.notNull(this[_chunkSizeInWords$]) * 4; } [_add32](x, y) { - return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + if (x == null) dart.nullFailed(I[178], 79, 18, "x"); + if (y == null) dart.nullFailed(I[178], 79, 25, "y"); + return (dart.notNull(x) + dart.notNull(y) & 4294967295.0) >>> 0; } [_roundUp](val, n) { - return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + if (val == null) dart.nullFailed(I[178], 80, 20, "val"); + if (n == null) dart.nullFailed(I[178], 80, 29, "n"); + return (dart.notNull(val) + dart.notNull(n) - 1 & -dart.notNull(n)) >>> 0; } [_rotl32](val, shift) { - if (val == null) dart.nullFailed(I[178], 234, 19, "val"); - if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + if (val == null) dart.nullFailed(I[178], 83, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 83, 28, "shift"); let mod_shift = dart.notNull(shift) & 31; return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; } @@ -126508,9 +138255,9 @@ define([], (function load__dart_sdk() { return result; } [_bytesToChunk](data, dataIndex) { - if (data == null) dart.nullFailed(I[178], 250, 27, "data"); - if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); - if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + if (data == null) dart.nullFailed(I[178], 99, 32, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 99, 42, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 100, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); @@ -126525,7 +138272,7 @@ define([], (function load__dart_sdk() { } } [_wordToBytes](word) { - if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + if (word == null) dart.nullFailed(I[178], 117, 30, "word"); let bytes = T$0.ListOfint().filled(4, 0); bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); @@ -126550,12 +138297,12 @@ define([], (function load__dart_sdk() { let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); - for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + let zeroPadding = dart.notNull(finalizedLength) - contentsLength; + for (let i = 0; i < zeroPadding; i = i + 1) { this[_pendingData][$add](0); } let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; - if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 153, 12, "lengthInBits < pow(2, 32)"); if (dart.test(this[_bigEndianWords$])) { this[_pendingData][$addAll](this[_wordToBytes](0)); this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); @@ -126566,32 +138313,32 @@ define([], (function load__dart_sdk() { } }; (_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { - if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); - if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); - if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 43, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 43, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 43, 65, "_bigEndianWords"); this[_lengthInBytes] = 0; this[_digestCalled] = false; this[_chunkSizeInWords$] = _chunkSizeInWords; this[_bigEndianWords$] = _bigEndianWords; this[_pendingData] = T$.JSArrayOfint().of([]); - this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); - this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + this[_currentChunk] = _native_typed_data.NativeUint32List.new(_chunkSizeInWords); + this[_h] = _native_typed_data.NativeUint32List.new(digestSizeInWords); ; }).prototype = _http._HashBase.prototype; dart.addTypeTests(_http._HashBase); dart.addTypeCaches(_http._HashBase); dart.setMethodSignature(_http._HashBase, () => ({ __proto__: dart.getMethods(_http._HashBase.__proto__), - add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + add: dart.fnType(dart.void, [core.List$(core.int)]), close: dart.fnType(core.List$(core.int), []), - [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_add32]: dart.fnType(core.int, [core.int, core.int]), + [_roundUp]: dart.fnType(core.int, [core.int, core.int]), [_rotl32]: dart.fnType(core.int, [core.int, core.int]), [_resultAsBytes]: dart.fnType(core.List$(core.int), []), - [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_bytesToChunk]: dart.fnType(dart.void, [core.List$(core.int), core.int]), [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.dynamic, []), - [_finalizeData]: dart.fnType(dart.dynamic, []) + [_iterate]: dart.fnType(dart.void, []), + [_finalizeData]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_http._HashBase, () => ({ __proto__: dart.getGetters(_http._HashBase.__proto__), @@ -126604,17 +138351,17 @@ define([], (function load__dart_sdk() { [_bigEndianWords$]: dart.finalFieldType(core.bool), [_lengthInBytes]: dart.fieldType(core.int), [_pendingData]: dart.fieldType(core.List$(core.int)), - [_currentChunk]: dart.fieldType(core.List$(core.int)), - [_h]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.finalFieldType(typed_data.Uint32List), + [_h]: dart.finalFieldType(typed_data.Uint32List), [_digestCalled]: dart.fieldType(core.bool) })); _http._MD5 = class _MD5 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._MD5.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 352, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 196, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 197, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126638,13 +138385,13 @@ define([], (function load__dart_sdk() { let temp = d; d = c; c = b; - b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + b = this[_add32](b, this[_rotl32](this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](t1))), _http._MD5._r[$_get](i))); a = temp; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); } }; (_http._MD5.new = function() { @@ -126658,26 +138405,26 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(_http._MD5); dart.setMethodSignature(_http._MD5, () => ({ __proto__: dart.getMethods(_http._MD5.__proto__), - newInstance: dart.fnType(_http._MD5, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._MD5, I[177]); + dart.setStaticFieldSignature(_http._MD5, () => ['_k', '_r']); dart.defineLazy(_http._MD5, { /*_http._MD5._k*/get _k() { - return C[459] || CT.C459; + return C[471] || CT.C471; }, /*_http._MD5._r*/get _r() { - return C[460] || CT.C460; + return C[472] || CT.C472; } }, false); var _w = dart.privateName(_http, "_w"); _http._SHA1 = class _SHA1 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._SHA1.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 415, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 254, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 255, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126704,13 +138451,13 @@ define([], (function load__dart_sdk() { d = c; c = this[_rotl32](b, 30); b = a; - a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + a = (dart.notNull(t) & 4294967295.0) >>> 0; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); - this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); + this[_h][$_set](4, this[_add32](e, this[_h][$_get](4))); } }; (_http._SHA1.new = function() { @@ -126726,54 +138473,53 @@ define([], (function load__dart_sdk() { dart.addTypeCaches(_http._SHA1); dart.setMethodSignature(_http._SHA1, () => ({ __proto__: dart.getMethods(_http._SHA1.__proto__), - newInstance: dart.fnType(_http._SHA1, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._SHA1, I[177]); dart.setFieldSignature(_http._SHA1, () => ({ __proto__: dart.getFields(_http._SHA1.__proto__), - [_w]: dart.fieldType(core.List$(core.int)) + [_w]: dart.finalFieldType(core.List$(core.int)) })); _http.HttpDate = class HttpDate extends core.Object { static format(date) { - let t264; - if (date == null) dart.nullFailed(I[179], 40, 33, "date"); - let wkday = C[461] || CT.C461; - let month = C[462] || CT.C462; + let t249; + if (date == null) dart.nullFailed(I[179], 36, 33, "date"); + let wkday = C[473] || CT.C473; + let month = C[474] || CT.C474; let d = date.toUtc(); - let sb = (t264 = new core.StringBuffer.new(), (() => { - t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); - t264.write(", "); - t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); - t264.write(dart.toString(d.day)); - t264.write(" "); - t264.write(month[$_get](dart.notNull(d.month) - 1)); - t264.write(" "); - t264.write(dart.toString(d.year)); - t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); - t264.write(dart.toString(d.hour)); - t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.minute)); - t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.second)); - t264.write(" GMT"); - return t264; + let sb = (t249 = new core.StringBuffer.new(), (() => { + t249.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t249.write(", "); + t249.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t249.write(dart.toString(d.day)); + t249.write(" "); + t249.write(month[$_get](dart.notNull(d.month) - 1)); + t249.write(" "); + t249.write(dart.toString(d.year)); + t249.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t249.write(dart.toString(d.hour)); + t249.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.minute)); + t249.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.second)); + t249.write(" GMT"); + return t249; })()); return dart.toString(sb); } static parse(date) { - if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + if (date == null) dart.nullFailed(I[179], 85, 32, "date"); let SP = 32; - let wkdays = C[461] || CT.C461; - let weekdays = C[463] || CT.C463; - let months = C[462] || CT.C462; + let wkdays = C[473] || CT.C473; + let weekdays = C[475] || CT.C475; + let months = C[474] || CT.C474; let formatRfc1123 = 0; let formatRfc850 = 1; let formatAsctime = 2; let index = 0; let tmp = null; function expect(s) { - if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (s == null) dart.nullFailed(I[179], 119, 24, "s"); if (date.length - index < s.length) { dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); } @@ -126783,7 +138529,7 @@ define([], (function load__dart_sdk() { } index = index + s.length; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function expectWeekday() { let weekday = null; let pos = date[$indexOf](",", index); @@ -126812,7 +138558,7 @@ define([], (function load__dart_sdk() { } dart.fn(expectWeekday, T$.VoidToint()); function expectMonth(separator) { - if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + if (separator == null) dart.nullFailed(I[179], 158, 28, "separator"); let pos = date[$indexOf](separator, index); if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); tmp = date[$substring](index, pos); @@ -126823,9 +138569,9 @@ define([], (function load__dart_sdk() { } dart.fn(expectMonth, T$0.StringToint()); function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); let pos = null; - if (separator.length > 0) { + if (separator[$isNotEmpty]) { pos = date[$indexOf](separator, index); } else { pos = date.length; @@ -126879,8 +138625,8 @@ define([], (function load__dart_sdk() { return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); } static _parseCookieDate(date) { - if (date == null) dart.nullFailed(I[179], 227, 43, "date"); - let monthsLowerCase = C[464] || CT.C464; + if (date == null) dart.nullFailed(I[179], 221, 43, "date"); + let monthsLowerCase = C[476] || CT.C476; let position = 0; function error() { dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); @@ -126891,7 +138637,7 @@ define([], (function load__dart_sdk() { } dart.fn(isEnd, T$.VoidTobool()); function isDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + if (s == null) dart.nullFailed(I[179], 245, 29, "s"); let char = s[$codeUnitAt](0); if (char === 9) return true; if (char >= 32 && char <= 47) return true; @@ -126902,7 +138648,7 @@ define([], (function load__dart_sdk() { } dart.fn(isDelimiter, T$.StringTobool()); function isNonDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + if (s == null) dart.nullFailed(I[179], 255, 32, "s"); let char = s[$codeUnitAt](0); if (char >= 0 && char <= 8) return true; if (char >= 10 && char <= 31) return true; @@ -126915,27 +138661,27 @@ define([], (function load__dart_sdk() { } dart.fn(isNonDelimiter, T$.StringTobool()); function isDigit(s) { - if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + if (s == null) dart.nullFailed(I[179], 267, 25, "s"); let char = s[$codeUnitAt](0); if (char > 47 && char < 58) return true; return false; } dart.fn(isDigit, T$.StringTobool()); function getMonth(month) { - if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month == null) dart.nullFailed(I[179], 273, 25, "month"); if (month.length < 3) return -1; return monthsLowerCase[$indexOf](month[$substring](0, 3)); } dart.fn(getMonth, T$0.StringToint()); function toInt(s) { - if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + if (s == null) dart.nullFailed(I[179], 278, 22, "s"); let index = 0; for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) ; return core.int.parse(s[$substring](0, index)); } dart.fn(toInt, T$0.StringToint()); - let tokens = []; + let tokens = T$.JSArrayOfString().of([]); while (!dart.test(isEnd())) { while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) position = position + 1; @@ -126951,15 +138697,15 @@ define([], (function load__dart_sdk() { let monthStr = null; let yearStr = null; for (let token of tokens) { - if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; - if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { - timeStr = T$.StringN().as(token); - } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { - dayOfMonthStr = T$.StringN().as(token); - } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { - monthStr = T$.StringN().as(token); - } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { - yearStr = T$.StringN().as(token); + if (token[$isEmpty]) continue; + if (timeStr == null && token.length >= 5 && dart.test(isDigit(token[$_get](0))) && (token[$_get](1) === ":" || dart.test(isDigit(token[$_get](1))) && token[$_get](2) === ":")) { + timeStr = token; + } else if (dayOfMonthStr == null && dart.test(isDigit(token[$_get](0)))) { + dayOfMonthStr = token; + } else if (monthStr == null && dart.notNull(getMonth(token)) >= 0) { + monthStr = token; + } else if (yearStr == null && token.length >= 2 && dart.test(isDigit(token[$_get](0))) && dart.test(isDigit(token[$_get](1)))) { + yearStr = token; } } if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { @@ -127002,13 +138748,18 @@ define([], (function load__dart_sdk() { } return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); } + static ['_#new#tearOff']() { + return new _http.HttpDate.new(); + } }; (_http.HttpDate.new = function() { ; }).prototype = _http.HttpDate.prototype; dart.addTypeTests(_http.HttpDate); dart.addTypeCaches(_http.HttpDate); + dart.setStaticMethodSignature(_http.HttpDate, () => ['format', 'parse', '_parseCookieDate']); dart.setLibraryUri(_http.HttpDate, I[177]); + var protocolVersion$ = dart.privateName(_http, "_HttpHeaders.protocolVersion"); var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); var _mutable = dart.privateName(_http, "_mutable"); var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); @@ -127040,39 +138791,52 @@ define([], (function load__dart_sdk() { var _build = dart.privateName(_http, "_build"); var _parseCookies = dart.privateName(_http, "_parseCookies"); _http._HttpHeaders = class _HttpHeaders extends core.Object { + get protocolVersion() { + return this[protocolVersion$]; + } + set protocolVersion(value) { + super.protocolVersion = value; + } + static ['_#new#tearOff'](protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + return new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: defaultPortForScheme, initialHeaders: initialHeaders}); + } _get(name) { - if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + if (name == null) dart.nullFailed(I[180], 45, 36, "name"); return this[_headers][$_get](_http._HttpHeaders._validateField(name)); } value(name) { - if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + if (name == null) dart.nullFailed(I[180], 47, 24, "name"); name = _http._HttpHeaders._validateField(name); let values = this[_headers][$_get](name); if (values == null) return null; - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 51, 12, "values.isNotEmpty"); if (dart.notNull(values[$length]) > 1) { dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); } return values[$_get](0); } add(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 56, 19, "name"); - if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 58, 19, "name"); + if (value == null) dart.nullFailed(I[180], 58, 25, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 58, 38, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); } else { - t266$ = this[_originalHeaderNames]; - t266$ == null ? null : t266$[$remove](lowercaseName); + t251$ = this[_originalHeaderNames]; + t251$ == null ? null : t251$[$remove](lowercaseName); } this[_addAll](lowercaseName, value); } [_addAll](name, value) { - if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (name == null) dart.nullFailed(I[180], 70, 23, "name"); if (core.Iterable.is(value)) { for (let v of value) { this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); @@ -127082,16 +138846,16 @@ define([], (function load__dart_sdk() { } } set(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 78, 19, "name"); - if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 80, 19, "name"); + if (value == null) dart.nullFailed(I[180], 80, 32, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 80, 45, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); this[_headers][$remove](lowercaseName); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](lowercaseName); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](lowercaseName); if (lowercaseName === "content-length") { this[_contentLength] = -1; } @@ -127099,24 +138863,24 @@ define([], (function load__dart_sdk() { this[_chunkedTransferEncoding] = false; } if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); } this[_addAll](lowercaseName, value); } remove(name, value) { - let t266; - if (name == null) dart.nullFailed(I[180], 95, 22, "name"); - if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + let t251; + if (name == null) dart.nullFailed(I[180], 97, 22, "name"); + if (value == null) dart.nullFailed(I[180], 97, 35, "value"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); value = _http._HttpHeaders._validateValue(value); let values = this[_headers][$_get](name); if (values != null) { values[$remove](this[_valueToString](value)); - if (values[$length] === 0) { + if (dart.test(values[$isEmpty])) { this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } } if (name === "transfer-encoding" && dart.equals(value, "chunked")) { @@ -127124,34 +138888,34 @@ define([], (function load__dart_sdk() { } } removeAll(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 114, 25, "name"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } forEach(action) { - if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + if (action == null) dart.nullFailed(I[180], 121, 64, "action"); this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 120, 30, "name"); - if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + if (name == null) dart.nullFailed(I[180], 122, 30, "name"); + if (values == null) dart.nullFailed(I[180], 122, 49, "values"); let originalName = this[_originalHeaderName](name); action(originalName, values); }, T$0.StringAndListOfStringTovoid())); } noFolding(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 128, 25, "name"); name = _http._HttpHeaders._validateField(name); - (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + (t251 = this[_noFoldingHeaders], t251 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t251)[$add](name); } get persistentConnection() { return this[_persistentConnection]; } set persistentConnection(persistentConnection) { - if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + if (persistentConnection == null) dart.nullFailed(I[180], 135, 38, "persistentConnection"); this[_checkMutable](); if (persistentConnection == this[_persistentConnection]) return; let originalName = this[_originalHeaderName]("connection"); @@ -127177,7 +138941,7 @@ define([], (function load__dart_sdk() { return this[_contentLength]; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[180], 162, 30, "contentLength"); this[_checkMutable](); if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); @@ -127198,7 +138962,7 @@ define([], (function load__dart_sdk() { return this[_chunkedTransferEncoding]; } set chunkedTransferEncoding(chunkedTransferEncoding) { - if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 186, 41, "chunkedTransferEncoding"); this[_checkMutable](); if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); @@ -127234,7 +138998,7 @@ define([], (function load__dart_sdk() { get ifModifiedSince() { let values = this[_headers][$_get]("if-modified-since"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127259,7 +139023,7 @@ define([], (function load__dart_sdk() { get date() { let values = this[_headers][$_get]("date"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127284,7 +139048,7 @@ define([], (function load__dart_sdk() { get expires() { let values = this[_headers][$_get]("expires"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127332,79 +139096,85 @@ define([], (function load__dart_sdk() { this[_port] = null; } [_add$1](name, value) { - if (name == null) dart.nullFailed(I[180], 322, 20, "name"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 324, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 325, 12, "name == _validateField(name)"); switch (name.length) { case 4: - { - if ("date" === name) { - this[_addDate](name, value); - return; - } - if ("host" === name) { - this[_addHost](name, value); - return; + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; } - break; - } case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; } - break; - } case 10: - { - if ("connection" === name) { - this[_addConnection](name, value); - return; + { + if ("connection" === name) { + this[_addConnection](name, core.String.as(value)); + return; + } + break; } - break; - } case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; } - break; - } case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; } - break; - } case 17: - { - if ("transfer-encoding" === name) { - this[_addTransferEncoding](name, value); - return; - } - if ("if-modified-since" === name) { - this[_addIfModifiedSince](name, value); - return; + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } } - } } this[_addValue](name, core.Object.as(value)); } [_addContentLength](name, value) { - if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (name == null) dart.nullFailed(I[180], 376, 33, "name"); if (core.int.is(value)) { - this.contentLength = value; + if (dart.notNull(value) < 0) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } } else if (typeof value == 'string') { - this.contentLength = core.int.parse(value); + if (!dart.test(_http._digitsValidator.hasMatch(value))) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } + value = core.int.parse(value); } else { dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); } + this.contentLength = value; } [_addTransferEncoding](name, value) { - if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (name == null) dart.nullFailed(I[180], 392, 36, "name"); if (dart.equals(value, "chunked")) { this.chunkedTransferEncoding = true; } else { @@ -127412,7 +139182,7 @@ define([], (function load__dart_sdk() { } } [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (name == null) dart.nullFailed(I[180], 400, 24, "name"); if (core.DateTime.is(value)) { this.date = value; } else if (typeof value == 'string') { @@ -127422,7 +139192,7 @@ define([], (function load__dart_sdk() { } } [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (name == null) dart.nullFailed(I[180], 410, 27, "name"); if (core.DateTime.is(value)) { this.expires = value; } else if (typeof value == 'string') { @@ -127432,7 +139202,7 @@ define([], (function load__dart_sdk() { } } [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (name == null) dart.nullFailed(I[180], 420, 35, "name"); if (core.DateTime.is(value)) { this.ifModifiedSince = value; } else if (typeof value == 'string') { @@ -127442,10 +139212,10 @@ define([], (function load__dart_sdk() { } } [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (name == null) dart.nullFailed(I[180], 430, 24, "name"); if (typeof value == 'string') { - let pos = value[$indexOf](":"); - if (pos === -1) { + let pos = value[$lastIndexOf](":"); + if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { this[_host] = value; this[_port] = 80; } else { @@ -127474,28 +139244,29 @@ define([], (function load__dart_sdk() { } } [_addConnection](name, value) { - if (name == null) dart.nullFailed(I[180], 450, 30, "name"); - let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); - if (dart.equals(lowerCaseValue, "close")) { + if (name == null) dart.nullFailed(I[180], 463, 30, "name"); + if (value == null) dart.nullFailed(I[180], 463, 43, "value"); + let lowerCaseValue = value[$toLowerCase](); + if (lowerCaseValue === "close") { this[_persistentConnection] = false; - } else if (dart.equals(lowerCaseValue, "keep-alive")) { + } else if (lowerCaseValue === "keep-alive") { this[_persistentConnection] = true; } - this[_addValue](name, core.Object.as(value)); + this[_addValue](name, value); } [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + if (name == null) dart.nullFailed(I[180], 473, 31, "name"); this[_set]("content-type", core.String.as(value)); } [_addValue](name, value) { - let t277, t276, t275, t274; - if (name == null) dart.nullFailed(I[180], 464, 25, "name"); - if (value == null) dart.nullFailed(I[180], 464, 38, "value"); - let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + let t262, t261, t260, t259; + if (name == null) dart.nullFailed(I[180], 477, 25, "name"); + if (value == null) dart.nullFailed(I[180], 477, 38, "value"); + let values = (t259 = this[_headers], t260 = name, t261 = t259[$_get](t260), t261 == null ? (t262 = T$.JSArrayOfString().of([]), t259[$_set](t260, t262), t262) : t261); values[$add](this[_valueToString](value)); } [_valueToString](value) { - if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (value == null) dart.nullFailed(I[180], 482, 32, "value"); if (core.DateTime.is(value)) { return _http.HttpDate.format(value); } else if (typeof value == 'string') { @@ -127505,9 +139276,9 @@ define([], (function load__dart_sdk() { } } [_set](name, value) { - if (name == null) dart.nullFailed(I[180], 479, 20, "name"); - if (value == null) dart.nullFailed(I[180], 479, 33, "value"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 492, 20, "name"); + if (value == null) dart.nullFailed(I[180], 492, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 493, 12, "name == _validateField(name)"); this[_headers][$_set](name, T$.JSArrayOfString().of([value])); } [_checkMutable]() { @@ -127521,7 +139292,7 @@ define([], (function load__dart_sdk() { } } [_foldHeader](name) { - if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name == null) dart.nullFailed(I[180], 509, 27, "name"); if (name === "set-cookie") return false; let noFoldingHeaders = this[_noFoldingHeaders]; return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); @@ -127529,11 +139300,17 @@ define([], (function load__dart_sdk() { [_finalize]() { this[_mutable] = false; } - [_build](builder) { - if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + [_build](builder, opts) { + if (builder == null) dart.nullFailed(I[180], 519, 28, "builder"); + let skipZeroContentLength = opts && 'skipZeroContentLength' in opts ? opts.skipZeroContentLength : false; + if (skipZeroContentLength == null) dart.nullFailed(I[180], 519, 43, "skipZeroContentLength"); + let ignoreHeader = this[_contentLength] === 0 && dart.test(skipZeroContentLength) ? "content-length" : null; this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 507, 30, "name"); - if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + if (name == null) dart.nullFailed(I[180], 528, 30, "name"); + if (values == null) dart.nullFailed(I[180], 528, 49, "values"); + if (ignoreHeader == name) { + return; + } let originalName = this[_originalHeaderName](name); let fold = this[_foldHeader](name); let nameData = originalName[$codeUnits]; @@ -127562,15 +139339,15 @@ define([], (function load__dart_sdk() { toString() { let sb = new core.StringBuffer.new(); this[_headers][$forEach](dart.fn((name, values) => { - let t274, t274$; - if (name == null) dart.nullFailed(I[180], 536, 30, "name"); - if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let t259, t259$; + if (name == null) dart.nullFailed(I[180], 560, 30, "name"); + if (values == null) dart.nullFailed(I[180], 560, 49, "values"); let originalName = this[_originalHeaderName](name); - t274 = sb; + t259 = sb; (() => { - t274.write(originalName); - t274.write(": "); - return t274; + t259.write(originalName); + t259.write(": "); + return t259; })(); let fold = this[_foldHeader](name); for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { @@ -127578,12 +139355,12 @@ define([], (function load__dart_sdk() { if (dart.test(fold)) { sb.write(", "); } else { - t274$ = sb; + t259$ = sb; (() => { - t274$.write("\n"); - t274$.write(originalName); - t274$.write(": "); - return t274$; + t259$.write("\n"); + t259$.write(originalName); + t259$.write(": "); + return t259$; })(); } } @@ -127596,7 +139373,7 @@ define([], (function load__dart_sdk() { [_parseCookies]() { let cookies = T$0.JSArrayOfCookie().of([]); function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + if (s == null) dart.nullFailed(I[180], 587, 35, "s"); let index = 0; function done() { return index === -1 || index === s.length; @@ -127628,7 +139405,7 @@ define([], (function load__dart_sdk() { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (expected == null) dart.nullFailed(I[180], 617, 26, "expected"); if (dart.test(done())) return false; if (s[$_get](index) !== expected) return false; index = index + 1; @@ -127662,18 +139439,17 @@ define([], (function load__dart_sdk() { } } } - dart.fn(parseCookieString, T$.StringTovoid()); + dart.fn(parseCookieString, T$0.StringTovoid()); let values = this[_headers][$_get]("cookie"); if (values != null) { - values[$forEach](dart.fn(headerValue => { - if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); - return parseCookieString(headerValue); - }, T$.StringTovoid())); + for (let headerValue of values) { + parseCookieString(headerValue); + } } return cookies; } static _validateField(field) { - if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + if (field == null) dart.nullFailed(I[180], 658, 39, "field"); for (let i = 0; i < field.length; i = i + 1) { if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); @@ -127682,7 +139458,7 @@ define([], (function load__dart_sdk() { return field[$toLowerCase](); } static _validateValue(value) { - if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (value == null) dart.nullFailed(I[180], 668, 39, "value"); if (!(typeof value == 'string')) return value; for (let i = 0; i < value.length; i = i + 1) { if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { @@ -127692,16 +139468,16 @@ define([], (function load__dart_sdk() { return value; } [_originalHeaderName](name) { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 648, 37, "name"); - t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); - return t275$ == null ? name : t275$; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 679, 37, "name"); + t260$ = (t260 = this[_originalHeaderNames], t260 == null ? null : t260[$_get](name)); + return t260$ == null ? name : t260$; } }; (_http._HttpHeaders.new = function(protocolVersion, opts) { - if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; - if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_originalHeaderNames] = null; this[_mutable] = true; @@ -127711,19 +139487,19 @@ define([], (function load__dart_sdk() { this[_chunkedTransferEncoding] = false; this[_host] = null; this[_port] = null; - this.protocolVersion = protocolVersion; + this[protocolVersion$] = protocolVersion; this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); this[_defaultPortForScheme] = defaultPortForScheme; if (initialHeaders != null) { initialHeaders[_headers][$forEach](dart.fn((name, value) => { - let t268, t267, t266; - if (name == null) dart.nullFailed(I[180], 30, 40, "name"); - if (value == null) dart.nullFailed(I[180], 30, 46, "value"); - t266 = this[_headers]; - t267 = name; - t268 = value; - t266[$_set](t267, t268); - return t268; + let t253, t252, t251; + if (name == null) dart.nullFailed(I[180], 32, 40, "name"); + if (value == null) dart.nullFailed(I[180], 32, 46, "value"); + t251 = this[_headers]; + t252 = name; + t253 = value; + t251[$_set](t252, t253); + return t253; }, T$0.StringAndListOfStringTovoid())); this[_contentLength] = initialHeaders[_contentLength]; this[_persistentConnection] = initialHeaders[_persistentConnection]; @@ -127758,7 +139534,7 @@ define([], (function load__dart_sdk() { [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, core.String]), [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), [_valueToString]: dart.fnType(core.String, [core.Object]), @@ -127767,10 +139543,11 @@ define([], (function load__dart_sdk() { [_updateHostHeader]: dart.fnType(dart.void, []), [_foldHeader]: dart.fnType(core.bool, [core.String]), [_finalize]: dart.fnType(dart.void, []), - [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder], {skipZeroContentLength: core.bool}, {}), [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), [_originalHeaderName]: dart.fnType(core.String, [core.String]) })); + dart.setStaticMethodSignature(_http._HttpHeaders, () => ['_validateField', '_validateValue']); dart.setGetterSignature(_http._HttpHeaders, () => ({ __proto__: dart.getGetters(_http._HttpHeaders.__proto__), persistentConnection: core.bool, @@ -127817,13 +139594,18 @@ define([], (function load__dart_sdk() { var _parse = dart.privateName(_http, "_parse"); var _ensureParameters = dart.privateName(_http, "_ensureParameters"); _http._HeaderValue = class _HeaderValue extends core.Object { + static ['_#new#tearOff'](_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); + return new _http._HeaderValue.new(_value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + if (value == null) dart.nullFailed(I[180], 697, 36, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[180], 698, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[180], 700, 12, "preserveBackslash"); let result = new _http._HeaderValue.new(); result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); return result; @@ -127832,24 +139614,24 @@ define([], (function load__dart_sdk() { return this[_value$5]; } [_ensureParameters]() { - let t275; - t275 = this[_parameters]; - return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + let t260; + t260 = this[_parameters]; + return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; } get parameters() { - let t275; - t275 = this[_unmodifiableParameters]; - return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + let t260; + t260 = this[_unmodifiableParameters]; + return t260 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t260; } static _isToken(token) { - if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token == null) dart.nullFailed(I[180], 715, 31, "token"); if (token[$isEmpty]) { return false; } let delimiters = "\"(),/:;<=>?@[]{}"; for (let i = 0; i < token.length; i = i + 1) { let codeUnit = token[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$contains](token[$_get](i))) { return false; } } @@ -127859,15 +139641,15 @@ define([], (function load__dart_sdk() { let sb = new core.StringBuffer.new(); sb.write(this[_value$5]); let parameters = this[_parameters]; - if (parameters != null && dart.notNull(parameters[$length]) > 0) { + if (parameters != null && dart.test(parameters[$isNotEmpty])) { parameters[$forEach](dart.fn((name, value) => { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 705, 34, "name"); - t275 = sb; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 734, 34, "name"); + t260 = sb; (() => { - t275.write("; "); - t275.write(name); - return t275; + t260.write("; "); + t260.write(name); + return t260; })(); if (value != null) { sb.write("="); @@ -127884,11 +139666,11 @@ define([], (function load__dart_sdk() { start = i; } } - t275$ = sb; + t260$ = sb; (() => { - t275$.write(value[$substring](start)); - t275$.write("\""); - return t275$; + t260$.write(value[$substring](start)); + t260$.write("\""); + return t260$; })(); } } @@ -127897,9 +139679,9 @@ define([], (function load__dart_sdk() { return sb.toString(); } [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { - if (s == null) dart.nullFailed(I[180], 732, 22, "s"); - if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); - if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + if (s == null) dart.nullFailed(I[180], 765, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 765, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 766, 12, "preserveBackslash"); let index = 0; function done() { return index === s.length; @@ -127923,15 +139705,15 @@ define([], (function load__dart_sdk() { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (expected == null) dart.nullFailed(I[180], 791, 24, "expected"); if (dart.test(done()) || s[$_get](index) !== expected) { dart.throw(new _http.HttpException.new("Failed to parse header value")); } index = index + 1; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); if (dart.test(done()) || !s[$startsWith](expected, index)) { return false; } @@ -128010,9 +139792,9 @@ define([], (function load__dart_sdk() { parseParameters(); } }; - (_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { - if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); - if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); + (_http._HeaderValue.new = function(_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); this[_parameters] = null; this[_unmodifiableParameters] = null; this[_value$5] = _value; @@ -128029,6 +139811,7 @@ define([], (function load__dart_sdk() { [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) })); + dart.setStaticMethodSignature(_http._HeaderValue, () => ['parse', '_isToken']); dart.setGetterSignature(_http._HeaderValue, () => ({ __proto__: dart.getGetters(_http._HeaderValue.__proto__), value: core.String, @@ -128045,8 +139828,17 @@ define([], (function load__dart_sdk() { var _primaryType = dart.privateName(_http, "_primaryType"); var _subType = dart.privateName(_http, "_subType"); _http._ContentType = class _ContentType extends _http._HeaderValue { + static ['_#new#tearOff'](primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static ['_#_#tearOff']() { + return new _http._ContentType.__(); + } static parse(value) { - if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + if (value == null) dart.nullFailed(I[180], 920, 36, "value"); let result = new _http._ContentType.__(); result[_parse](value, ";", null, false); let index = result[_value$5][$indexOf]("/"); @@ -128072,20 +139864,20 @@ define([], (function load__dart_sdk() { } }; (_http._ContentType.new = function(primaryType, subType, charset, parameters) { - if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); - if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); - if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); this[_primaryType] = ""; this[_subType] = ""; this[_primaryType] = primaryType; this[_subType] = subType; _http._ContentType.__proto__.new.call(this, ""); function emptyIfNull(string) { - let t275; - t275 = string; - return t275 == null ? "" : t275; + let t260; + t260 = string; + return t260 == null ? "" : t260; } - dart.fn(emptyIfNull, T$0.StringNToString()); + dart.fn(emptyIfNull, T$1.StringNToString()); this[_primaryType] = emptyIfNull(this[_primaryType]); this[_subType] = emptyIfNull(this[_subType]); this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); @@ -128093,11 +139885,11 @@ define([], (function load__dart_sdk() { if (nullableParameters != null) { let parameterMap = this[_ensureParameters](); nullableParameters[$forEach](dart.fn((key, value) => { - let t275; - if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let t260; + if (key == null) dart.nullFailed(I[180], 905, 42, "key"); let lowerCaseKey = key[$toLowerCase](); if (lowerCaseKey === "charset") { - value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); } parameterMap[$_set](lowerCaseKey, value); }, T$0.StringAndStringNTovoid())); @@ -128115,6 +139907,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http._ContentType); dart.addTypeCaches(_http._ContentType); _http._ContentType[dart.implements] = () => [_http.ContentType]; + dart.setStaticMethodSignature(_http._ContentType, () => ['parse']); dart.setGetterSignature(_http._ContentType, () => ({ __proto__: dart.getGetters(_http._ContentType.__proto__), mimeType: core.String, @@ -128128,11 +139921,54 @@ define([], (function load__dart_sdk() { [_primaryType]: dart.fieldType(core.String), [_subType]: dart.fieldType(core.String) })); + var expires$0 = dart.privateName(_http, "_Cookie.expires"); + var maxAge$ = dart.privateName(_http, "_Cookie.maxAge"); + var domain$ = dart.privateName(_http, "_Cookie.domain"); + var httpOnly$ = dart.privateName(_http, "_Cookie.httpOnly"); + var secure$ = dart.privateName(_http, "_Cookie.secure"); var _path$3 = dart.privateName(_http, "_path"); + var _name$8 = dart.privateName(_http, "_name"); var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); _http._Cookie = class _Cookie extends core.Object { + get expires() { + return this[expires$0]; + } + set expires(value) { + this[expires$0] = value; + } + get maxAge() { + return this[maxAge$]; + } + set maxAge(value) { + this[maxAge$] = value; + } + get domain() { + return this[domain$]; + } + set domain(value) { + this[domain$] = value; + } + get httpOnly() { + return this[httpOnly$]; + } + set httpOnly(value) { + if (value == null) dart.nullFailed(I[180], 950, 8, "httpOnly"); + this[httpOnly$] = value; + } + get secure() { + return this[secure$]; + } + set secure(value) { + if (value == null) dart.nullFailed(I[180], 951, 8, "secure"); + this[secure$] = value; + } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + return new _http._Cookie.new(name, value); + } get name() { - return this[_name$7]; + return this[_name$8]; } get value() { return this[_value$5]; @@ -128145,17 +139981,21 @@ define([], (function load__dart_sdk() { this[_path$3] = newPath; } set name(newName) { - if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); _http._Cookie._validateName(newName); - this[_name$7] = newName; + this[_name$8] = newName; } set value(newValue) { - if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 973, 20, "newValue"); _http._Cookie._validateValue(newValue); this[_value$5] = newValue; } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } [_parseSetCookieValue](s) { - if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + if (s == null) dart.nullFailed(I[180], 986, 36, "s"); let index = 0; function done() { return index === s.length; @@ -128222,8 +140062,8 @@ define([], (function load__dart_sdk() { } }; dart.fn(parseAttributes, T$.VoidTovoid()); - this[_name$7] = _http._Cookie._validateName(parseName()); - if (dart.test(done()) || this[_name$7].length === 0) { + this[_name$8] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$8][$isEmpty]) { dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); } index = index + 1; @@ -128233,46 +140073,46 @@ define([], (function load__dart_sdk() { parseAttributes(); } toString() { - let t275, t275$, t275$0, t275$1, t275$2; + let t260, t260$, t260$0, t260$1, t260$2; let sb = new core.StringBuffer.new(); - t275 = sb; + t260 = sb; (() => { - t275.write(this[_name$7]); - t275.write("="); - t275.write(this[_value$5]); - return t275; + t260.write(this[_name$8]); + t260.write("="); + t260.write(this[_value$5]); + return t260; })(); let expires = this.expires; if (expires != null) { - t275$ = sb; + t260$ = sb; (() => { - t275$.write("; Expires="); - t275$.write(_http.HttpDate.format(expires)); - return t275$; + t260$.write("; Expires="); + t260$.write(_http.HttpDate.format(expires)); + return t260$; })(); } if (this.maxAge != null) { - t275$0 = sb; + t260$0 = sb; (() => { - t275$0.write("; Max-Age="); - t275$0.write(this.maxAge); - return t275$0; + t260$0.write("; Max-Age="); + t260$0.write(this.maxAge); + return t260$0; })(); } if (this.domain != null) { - t275$1 = sb; + t260$1 = sb; (() => { - t275$1.write("; Domain="); - t275$1.write(this.domain); - return t275$1; + t260$1.write("; Domain="); + t260$1.write(this.domain); + return t260$1; })(); } if (this.path != null) { - t275$2 = sb; + t260$2 = sb; (() => { - t275$2.write("; Path="); - t275$2.write(this.path); - return t275$2; + t260$2.write("; Path="); + t260$2.write(this.path); + return t260$2; })(); } if (dart.test(this.secure)) sb.write("; Secure"); @@ -128280,19 +140120,19 @@ define([], (function load__dart_sdk() { return sb.toString(); } static _validateName(newName) { - if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); - let separators = C[465] || CT.C465; + if (newName == null) dart.nullFailed(I[180], 1095, 38, "newName"); + let separators = C[477] || CT.C477; if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); for (let i = 0; i < newName.length; i = i + 1) { let codeUnit = newName[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || dart.test(separators[$contains](newName[$_get](i)))) { dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); } } return newName; } static _validateValue(newValue) { - if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 1130, 39, "newValue"); if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); let start = 0; let end = newValue.length; @@ -128319,28 +140159,28 @@ define([], (function load__dart_sdk() { } }; (_http._Cookie.new = function(name, value) { - if (name == null) dart.nullFailed(I[180], 920, 18, "name"); - if (value == null) dart.nullFailed(I[180], 920, 31, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = _http._Cookie._validateName(name); + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = _http._Cookie._validateName(name); this[_value$5] = _http._Cookie._validateValue(value); - this.httpOnly = true; + this[httpOnly$] = true; ; }).prototype = _http._Cookie.prototype; (_http._Cookie.fromSetCookieValue = function(value) { - if (value == null) dart.nullFailed(I[180], 945, 37, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = ""; + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = ""; this[_value$5] = ""; this[_parseSetCookieValue](value); }).prototype = _http._Cookie.prototype; @@ -128351,6 +140191,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_http._Cookie.__proto__), [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) })); + dart.setStaticMethodSignature(_http._Cookie, () => ['_validateName', '_validateValue', '_validatePath']); dart.setGetterSignature(_http._Cookie, () => ({ __proto__: dart.getGetters(_http._Cookie.__proto__), name: core.String, @@ -128366,7 +140207,7 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http._Cookie, I[177]); dart.setFieldSignature(_http._Cookie, () => ({ __proto__: dart.getFields(_http._Cookie.__proto__), - [_name$7]: dart.fieldType(core.String), + [_name$8]: dart.fieldType(core.String), [_value$5]: dart.fieldType(core.String), expires: dart.fieldType(dart.nullable(core.DateTime)), maxAge: dart.fieldType(dart.nullable(core.int)), @@ -128379,11 +140220,11 @@ define([], (function load__dart_sdk() { var _timeline = dart.privateName(_http, "_timeline"); _http.HttpProfiler = class HttpProfiler extends core.Object { static startRequest(method, uri, opts) { - let t275; + let t260; if (method == null) dart.nullFailed(I[181], 13, 12, "method"); if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; - let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + let data = new _http._HttpProfileData.new(method, uri, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); _http.HttpProfiler._profile[$_set](data.id, data); return data; } @@ -128396,13 +140237,13 @@ define([], (function load__dart_sdk() { } static toJson(updatedSince) { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t260 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { if (e == null) dart.nullFailed(I[181], 32, 12, "e"); return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); - }, T$0._HttpProfileDataTobool()))) - t275[$add](request.toJson()); - return t275; + }, T$1._HttpProfileDataTobool()))) + t260.push(request.toJson()); + return t260; })()])); } }; @@ -128411,24 +140252,29 @@ define([], (function load__dart_sdk() { }).prototype = _http.HttpProfiler.prototype; dart.addTypeTests(_http.HttpProfiler); dart.addTypeCaches(_http.HttpProfiler); + dart.setStaticMethodSignature(_http.HttpProfiler, () => ['startRequest', 'getHttpProfileRequest', 'clear', 'toJson']); dart.setLibraryUri(_http.HttpProfiler, I[177]); + dart.setStaticFieldSignature(_http.HttpProfiler, () => ['_kType', '_profile']); dart.defineLazy(_http.HttpProfiler, { /*_http.HttpProfiler._kType*/get _kType() { return "HttpProfile"; }, /*_http.HttpProfiler._profile*/get _profile() { - return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); - }, - set _profile(_) {} + return new (T$1.IdentityMapOfint$_HttpProfileData()).new(); + } }, false); _http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + static ['_#new#tearOff'](name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + return new _http._HttpProfileEvent.new(name, $arguments); + } toJson() { return (() => { - let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); - t276[$_set]("timestamp", this.timestamp); - t276[$_set]("event", this.name); - if (this.arguments != null) t276[$_set]("arguments", this.arguments); - return t276; + let t261 = new (T$0.IdentityMapOfString$dynamic()).new(); + t261[$_set]("timestamp", this.timestamp); + t261[$_set]("event", this.name); + if (this.arguments != null) t261[$_set]("arguments", this.arguments); + return t261; })(); } }; @@ -128468,6 +140314,11 @@ define([], (function load__dart_sdk() { var _updated = dart.privateName(_http, "_updated"); var _responseTimeline = dart.privateName(_http, "_responseTimeline"); _http._HttpProfileData = class _HttpProfileData extends core.Object { + static ['_#new#tearOff'](method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + return new _http._HttpProfileData.new(method, uri, parent); + } requestEvent(name, opts) { if (name == null) dart.nullFailed(I[181], 76, 28, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; @@ -128478,11 +140329,11 @@ define([], (function load__dart_sdk() { proxyEvent(proxy) { if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); this.proxyDetails = (() => { - let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (proxy.host != null) t277[$_set]("host", proxy.host); - if (proxy.port != null) t277[$_set]("port", proxy.port); - if (proxy.username != null) t277[$_set]("username", proxy.username); - return t277; + let t262 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t262[$_set]("host", proxy.host); + if (proxy.port != null) t262[$_set]("port", proxy.port); + if (proxy.username != null) t262[$_set]("username", proxy.username); + return t262; })(); this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); this[_updated](); @@ -128492,63 +140343,64 @@ define([], (function load__dart_sdk() { this.requestBody[$addAll](data); this[_updated](); } - formatHeaders(r) { - let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); - dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { - headers[$_set](core.String.as(name), T$.ListOfString().as(values)); - }, T$.dynamicAnddynamicToNull())]); - return headers; + formatHeaders(headers) { + if (headers == null) dart.nullFailed(I[181], 99, 33, "headers"); + let newHeaders = new (T$0.IdentityMapOfString$ListOfString()).new(); + headers.forEach(dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[181], 101, 22, "name"); + if (values == null) dart.nullFailed(I[181], 101, 28, "values"); + newHeaders[$_set](name, values); + }, T$0.StringAndListOfStringTovoid())); + return newHeaders; } - formatConnectionInfo(r) { - let t278, t278$, t278$0; - return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + formatConnectionInfo(connectionInfo) { + return connectionInfo == null ? null : new _js_helper.LinkedMap.from(["localPort", connectionInfo.localPort, "remoteAddress", connectionInfo.remoteAddress.address, "remotePort", connectionInfo.remotePort]); } finishRequest(opts) { let request = opts && 'request' in opts ? opts.request : null; - if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + if (request == null) dart.nullFailed(I[181], 117, 32, "request"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; - this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { - let t278 = T$.JSArrayOfString().of([]); + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request.headers), "connectionInfo", this.formatConnectionInfo(request.connectionInfo), "contentLength", request.contentLength, "cookies", (() => { + let t263 = T$.JSArrayOfString().of([]); for (let cookie of request.cookies) - t278[$add](dart.toString(cookie)); - return t278; + t263.push(dart.toString(cookie)); + return t263; })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); this[_timeline].finish({arguments: this.requestDetails}); this[_updated](); } startResponse(opts) { let response = opts && 'response' in opts ? opts.response : null; - if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + if (response == null) dart.nullFailed(I[181], 143, 51, "response"); function formatRedirectInfo() { - let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + let redirects = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let redirect of response.redirects) { redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); } return redirects; } - dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); - this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { - let t279 = T$.JSArrayOfString().of([]); + dart.fn(formatRedirectInfo, T$1.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response.headers), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response.connectionInfo), "contentLength", response.contentLength, "cookies", (() => { + let t264 = T$.JSArrayOfString().of([]); for (let cookie of response.cookies) - t279[$add](dart.toString(cookie)); - return t279; + t264.push(dart.toString(cookie)); + return t264; })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); - if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 171, 12, "!requestInProgress"); this.responseInProgress = true; this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); this.responseStartTimestamp = developer.Timeline.now; this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { - let t280 = new _js_helper.LinkedMap.new(); - t280[$_set]("requestUri", dart.toString(this.uri)); - for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) - t280[$_set](t281.key, t281.value); - return t280; + let t265 = new _js_helper.LinkedMap.new(); + t265[$_set]("requestUri", dart.toString(this.uri)); + t265[$addAll](dart.nullCheck(this.responseDetails)); + return t265; })()}); this[_updated](); } finishRequestWithError(error) { - if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + if (error == null) dart.nullFailed(I[181], 189, 38, "error"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; this.requestError = error; @@ -128563,7 +140415,7 @@ define([], (function load__dart_sdk() { this[_updated](); } finishResponseWithError(error) { - if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (error == null) dart.nullFailed(I[181], 207, 39, "error"); if (!dart.nullCheck(this.responseInProgress)) return; this.responseInProgress = false; this.responseEndTimestamp = developer.Timeline.now; @@ -128572,134 +140424,131 @@ define([], (function load__dart_sdk() { this[_updated](); } appendResponseData(data) { - if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + if (data == null) dart.nullFailed(I[181], 220, 37, "data"); this.responseBody[$addAll](data); this[_updated](); } toJson(opts) { let ref = opts && 'ref' in opts ? opts.ref : true; - if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + if (ref == null) dart.nullFailed(I[181], 225, 37, "ref"); return (() => { - let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); - t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); - t282[$_set]("id", this.id); - t282[$_set]("isolateId", _http._HttpProfileData.isolateId); - t282[$_set]("method", this.method); - t282[$_set]("uri", dart.toString(this.uri)); - t282[$_set]("startTime", this.requestStartTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { - let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); - t283[$_set]("events", (() => { - let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t266 = new (T$0.IdentityMapOfString$dynamic()).new(); + t266[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t266[$_set]("id", this.id); + t266[$_set]("isolateId", _http._HttpProfileData.isolateId); + t266[$_set]("method", this.method); + t266[$_set]("uri", dart.toString(this.uri)); + t266[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("request", (() => { + let t267 = new (T$0.IdentityMapOfString$dynamic()).new(); + t267[$_set]("events", (() => { + let t268 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let event of this.requestEvents) - t284[$add](event.toJson()); - return t284; + t268.push(event.toJson()); + return t268; })()); - if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); - if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) - t283[$_set](t285.key, t285.value); - if (this.requestError != null) t283[$_set]("error", this.requestError); - return t283; + if (this.proxyDetails != null) t267[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) t267[$addAll](dart.nullCheck(this.requestDetails)); + if (this.requestError != null) t267[$_set]("error", this.requestError); + return t267; + })()); + if (this.responseInProgress != null) t266[$_set]("response", (() => { + let t269 = new (T$0.IdentityMapOfString$dynamic()).new(); + t269[$_set]("startTime", this.responseStartTimestamp); + t269[$addAll](dart.nullCheck(this.responseDetails)); + if (!dart.nullCheck(this.responseInProgress)) t269[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t269[$_set]("error", this.responseError); + return t269; })()); - if (this.responseInProgress != null) t282[$_set]("response", (() => { - let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); - t286[$_set]("startTime", this.responseStartTimestamp); - for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) - t286[$_set](t287.key, t287.value); - if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); - if (this.responseError != null) t286[$_set]("error", this.responseError); - return t286; + if (!dart.test(ref)) t266[$addAll]((() => { + let t270 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t270[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t270[$_set]("responseBody", this.responseBody); + return t270; })()); - if (!dart.test(ref)) for (let t289 of (() => { - let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); - if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); - return t288; - })()[$entries]) - t282[$_set](t289.key, t289.value); - return t282; + return t266; })(); } [_updated]() { return this[_lastUpdateTime] = developer.Timeline.now; } get id() { - let t290; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + let t271; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); } - set id(t290) { - if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + set id(id$35param) { + if (id$35param == null) dart.nullFailed(I[181], 264, 18, "id#param"); if (dart.test(this[___HttpProfileData_id_isSet])) dart.throw(new _internal.LateError.fieldAI("id")); else { this[___HttpProfileData_id_isSet] = true; - this[___HttpProfileData_id] = t290; + this[___HttpProfileData_id] = id$35param; } } get requestStartTimestamp() { - let t291; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); } - set requestStartTimestamp(t291) { - if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + set requestStartTimestamp(requestStartTimestamp$35param) { + if (requestStartTimestamp$35param == null) dart.nullFailed(I[181], 268, 18, "requestStartTimestamp#param"); if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); else { this[___HttpProfileData_requestStartTimestamp_isSet] = true; - this[___HttpProfileData_requestStartTimestamp] = t291; + this[___HttpProfileData_requestStartTimestamp] = requestStartTimestamp$35param; } } get requestEndTimestamp() { - let t292; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); } - set requestEndTimestamp(t292) { - if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + set requestEndTimestamp(requestEndTimestamp$35param) { + if (requestEndTimestamp$35param == null) dart.nullFailed(I[181], 269, 18, "requestEndTimestamp#param"); if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); else { this[___HttpProfileData_requestEndTimestamp_isSet] = true; - this[___HttpProfileData_requestEndTimestamp] = t292; + this[___HttpProfileData_requestEndTimestamp] = requestEndTimestamp$35param; } } get responseStartTimestamp() { - let t293; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); } - set responseStartTimestamp(t293) { - if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + set responseStartTimestamp(responseStartTimestamp$35param) { + if (responseStartTimestamp$35param == null) dart.nullFailed(I[181], 276, 18, "responseStartTimestamp#param"); if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); else { this[___HttpProfileData_responseStartTimestamp_isSet] = true; - this[___HttpProfileData_responseStartTimestamp] = t293; + this[___HttpProfileData_responseStartTimestamp] = responseStartTimestamp$35param; } } get responseEndTimestamp() { - let t294; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); } - set responseEndTimestamp(t294) { - if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + set responseEndTimestamp(responseEndTimestamp$35param) { + if (responseEndTimestamp$35param == null) dart.nullFailed(I[181], 277, 18, "responseEndTimestamp#param"); if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); else { this[___HttpProfileData_responseEndTimestamp_isSet] = true; - this[___HttpProfileData_responseEndTimestamp] = t294; + this[___HttpProfileData_responseEndTimestamp] = responseEndTimestamp$35param; } } get lastUpdateTime() { return this[_lastUpdateTime]; } get [_responseTimeline]() { - let t295; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + let t271; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); } - set [_responseTimeline](t295) { - if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + set [_responseTimeline](_responseTimeline$35param) { + if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = t295; + this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; } }; (_http._HttpProfileData.new = function(method, uri, parent) { @@ -128717,7 +140566,7 @@ define([], (function load__dart_sdk() { this.proxyDetails = null; this.requestBody = T$.JSArrayOfint().of([]); this.requestError = null; - this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); this[___HttpProfileData_responseStartTimestamp] = null; this[___HttpProfileData_responseStartTimestamp_isSet] = false; this[___HttpProfileData_responseEndTimestamp] = null; @@ -128744,8 +140593,8 @@ define([], (function load__dart_sdk() { requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), proxyEvent: dart.fnType(dart.void, [_http._Proxy]), appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), - formatHeaders: dart.fnType(core.Map, [dart.dynamic]), - formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + formatHeaders: dart.fnType(core.Map, [_http.HttpHeaders]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.nullable(_http.HttpConnectionInfo)]), finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), finishRequestWithError: dart.fnType(dart.void, [core.String]), @@ -128800,10 +140649,11 @@ define([], (function load__dart_sdk() { responseBody: dart.finalFieldType(core.List$(core.int)), responseError: dart.fieldType(dart.nullable(core.String)), [_lastUpdateTime]: dart.fieldType(core.int), - [_timeline]: dart.fieldType(developer.TimelineTask), + [_timeline]: dart.finalFieldType(developer.TimelineTask), [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) })); + dart.setStaticFieldSignature(_http._HttpProfileData, () => ['isolateId']); dart.defineLazy(_http._HttpProfileData, { /*_http._HttpProfileData.isolateId*/get isolateId() { return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); @@ -128821,18 +140671,19 @@ define([], (function load__dart_sdk() { return this[__serviceId$]; } set [__serviceId$0](value) { + if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); this[__serviceId$] = value; } get [_serviceId$]() { - let t296; - if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + let t271; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t271 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t271) + 1, t271); return this[__serviceId$0]; } get [_servicePath$]() { return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); } [_serviceType$](ref) { - if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (ref == null) dart.nullFailed(I[181], 305, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); return this[_serviceTypeName$]; } @@ -128861,15 +140712,19 @@ define([], (function load__dart_sdk() { var _buffer$1 = dart.privateName(_http, "_buffer"); var _grow$0 = dart.privateName(_http, "_grow"); _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff'](initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); + return new _http._CopyingBytesBuilder.new(initialCapacity); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 325, 22, "bytes"); let bytesLength = bytes[$length]; if (bytesLength === 0) return; let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); if (dart.notNull(this[_buffer$1][$length]) < required) { this[_grow$0](required); } - if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 332, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer$1][$setRange](this[_length$1], required, bytes); } else { @@ -128880,16 +140735,16 @@ define([], (function load__dart_sdk() { this[_length$1] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (byte == null) dart.nullFailed(I[181], 343, 20, "byte"); if (this[_buffer$1][$length] == this[_length$1]) { this[_grow$0](this[_length$1]); } - if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 349, 12, "_buffer.length > _length"); this[_buffer$1][$_set](this[_length$1], byte); this[_length$1] = dart.notNull(this[_length$1]) + 1; } [_grow$0](required) { - if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + if (required == null) dart.nullFailed(I[181], 354, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -128924,8 +140779,8 @@ define([], (function load__dart_sdk() { this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[181], 394, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + if (x == null) dart.nullFailed(I[181], 392, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 393, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -128936,7 +140791,7 @@ define([], (function load__dart_sdk() { } }; (_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); this[_length$1] = 0; this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); ; @@ -128953,6 +140808,7 @@ define([], (function load__dart_sdk() { toBytes: dart.fnType(typed_data.Uint8List, []), clear: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(_http._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), length: core.int, @@ -128965,6 +140821,7 @@ define([], (function load__dart_sdk() { [_length$1]: dart.fieldType(core.int), [_buffer$1]: dart.fieldType(typed_data.Uint8List) })); + dart.setStaticFieldSignature(_http._CopyingBytesBuilder, () => ['_INIT_SIZE', '_emptyList']); dart.defineLazy(_http._CopyingBytesBuilder, { /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { return 1024; @@ -128980,30 +140837,36 @@ define([], (function load__dart_sdk() { get transferLength() { return this[_transferLength$]; } + static ['_#new#tearOff'](headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + return new _http._HttpIncoming.new(headers, _transferLength, _stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; this.hasSubscriber = true; return this[_stream$1].handleError(dart.fn(error => { - dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); - }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + dart.throw(new _http.HttpException.new(_http.HttpException.as(error).message, {uri: this.uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => _http.HttpException.is(error), T$0.dynamicTobool())}).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } get dataDone() { return this[_dataCompleter].future; } close(closing) { - if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + if (closing == null) dart.nullFailed(I[181], 449, 19, "closing"); this.fullBodyRead = true; this.hasSubscriber = true; this[_dataCompleter].complete(closing); } }; (_http._HttpIncoming.new = function(headers, _transferLength, _stream) { - if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); - if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); - if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); - this[_dataCompleter] = async.Completer.new(); + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + this[_dataCompleter] = T$1.CompleterOfbool().new(); this.fullBodyRead = false; this.upgraded = false; this.statusCode = null; @@ -129027,14 +140890,14 @@ define([], (function load__dart_sdk() { dart.setGetterSignature(_http._HttpIncoming, () => ({ __proto__: dart.getGetters(_http._HttpIncoming.__proto__), transferLength: core.int, - dataDone: async.Future + dataDone: async.Future$(core.bool) })); dart.setLibraryUri(_http._HttpIncoming, I[177]); dart.setFieldSignature(_http._HttpIncoming, () => ({ __proto__: dart.getFields(_http._HttpIncoming.__proto__), [_transferLength$]: dart.finalFieldType(core.int), - [_dataCompleter]: dart.finalFieldType(async.Completer), - [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + [_dataCompleter]: dart.finalFieldType(async.Completer$(core.bool)), + [_stream$1]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), fullBodyRead: dart.fieldType(core.bool), headers: dart.finalFieldType(_http._HttpHeaders), upgraded: dart.fieldType(core.bool), @@ -129048,9 +140911,9 @@ define([], (function load__dart_sdk() { var _incoming$ = dart.privateName(_http, "_incoming"); _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129066,7 +140929,7 @@ define([], (function load__dart_sdk() { } }; (_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessageListInt.__proto__.new.call(this); @@ -129090,9 +140953,9 @@ define([], (function load__dart_sdk() { })); _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129108,7 +140971,7 @@ define([], (function load__dart_sdk() { } }; (_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessage.__proto__.new.call(this); @@ -129140,6 +141003,13 @@ define([], (function load__dart_sdk() { var _socket$0 = dart.privateName(_http, "_socket"); var _destroyed = dart.privateName(_http, "_destroyed"); _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + static ['_#new#tearOff'](response, _incoming, _httpServer, _httpConnection) { + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); + return new _http._HttpRequest.new(response, _incoming, _httpServer, _httpConnection); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -129188,11 +141058,11 @@ define([], (function load__dart_sdk() { } }; (_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { - let t296; - if (response == null) dart.nullFailed(I[181], 497, 21, "response"); - if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); - if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); - if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + let t271; + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); this[_session] = null; this[_requestedUri] = null; this.response = response; @@ -129200,21 +141070,21 @@ define([], (function load__dart_sdk() { this[_httpConnection$] = _httpConnection; _http._HttpRequest.__proto__.new.call(this, _incoming); if (this.headers.protocolVersion === "1.1") { - t296 = this.response.headers; + t271 = this.response.headers; (() => { - t296.chunkedTransferEncoding = true; - t296.persistentConnection = this.headers.persistentConnection; - return t296; + t271.chunkedTransferEncoding = true; + t271.persistentConnection = this.headers.persistentConnection; + return t271; })(); } if (this[_httpServer$][_sessionManagerInstance] != null) { let sessionIds = this.cookies[$where](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + if (cookie == null) dart.nullFailed(I[181], 507, 19, "cookie"); return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); return cookie.value; - }, T$0.CookieToString())); + }, T$1.CookieToString())); for (let sessionId of sessionIds) { let session = this[_httpServer$][_sessionManager$].getSession(sessionId); this[_session] = session; @@ -129270,9 +141140,15 @@ define([], (function load__dart_sdk() { get redirects() { return this[_httpRequest$][_responseRedirects]; } + static ['_#new#tearOff'](_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); + return new _http._HttpClientResponse.new(_incoming, _httpRequest, _httpClient, _profileData); + } static _getCompressionState(httpClient, headers) { - if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); - if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (httpClient == null) dart.nullFailed(I[181], 596, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 596, 44, "headers"); if (headers.value("content-encoding") === "gzip") { return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; } else { @@ -129329,72 +141205,71 @@ define([], (function load__dart_sdk() { if (followLoops !== true) { for (let redirect of this.redirects) { if (dart.equals(redirect.location, url)) { - return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); } } } - return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - let t296; - if (request == null) dart.nullFailed(I[181], 671, 16, "request"); - t296 = request[_responseRedirects]; + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$], {isRedirect: true}).then(_http.HttpClientResponse, dart.fn(request => { + let t271; + if (request == null) dart.nullFailed(I[181], 669, 16, "request"); + t271 = request[_responseRedirects]; (() => { - t296[$addAll](this.redirects); - t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t296; + t271[$addAll](this.redirects); + t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t271; })(); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); } listen(onData, opts) { - let t296; + let t271; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (dart.test(this[_incoming$].upgraded)) { - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); this[_httpRequest$][_httpClientConnection$].destroy(); - return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + return new (T$1._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); } let stream = this[_incoming$]; if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { - stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[478] || CT.C478); } if (this[_profileData$] != null) { stream = stream.map(typed_data.Uint8List, dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 698, 28, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendResponseData(data); + let t271; + if (data == null) dart.nullFailed(I[181], 696, 28, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendResponseData(data); return data; - }, T$0.Uint8ListToUint8List())); + }, T$1.Uint8ListToUint8List())); } return stream.listen(onData, {onError: dart.fn((e, st) => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); if (onError == null) { return; } - if (T$.ObjectTovoid().is(onError)) { - onError(core.Object.as(e)); + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + onError(core.Object.as(e), core.StackTrace.as(st)); } else { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); - dart.dcall(onError, [e, st]); + T$.ObjectTovoid().as(onError)(core.Object.as(e)); } }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponse(); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponse(); if (onDone != null) { onDone(); } }, T$.VoidTovoid()), cancelOnError: cancelOnError}); } detachSocket() { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Socket has been detached"); this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); return this[_httpRequest$][_httpClientConnection$].detachSocket(); } @@ -129410,58 +141285,59 @@ define([], (function load__dart_sdk() { return this.statusCode === 401 && challenge != null && challenge[$length] === 1; } [_authenticate](proxyAuth) { - let t296, t296$; - if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Authentication"); + let t271, t271$; + if (proxyAuth == null) dart.nullFailed(I[181], 743, 49, "proxyAuth"); + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Authentication"); const retry = () => { - let t296; - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Retrying"); - return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + let t271; + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$], {isRedirect: false}).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 753, 20, "request"); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); }; - dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + dart.fn(retry, T$1.VoidToFutureOfHttpClientResponse()); const authChallenge = () => { return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); }; - dart.fn(authChallenge, T$0.VoidToListNOfString()); + dart.fn(authChallenge, T$1.VoidToListNOfString()); const findCredentials = scheme => { - if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 763, 57, "scheme"); return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); }; - dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + dart.fn(findCredentials, T$1._AuthenticationSchemeTo_CredentialsN()); const removeCredentials = cr => { - if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (cr == null) dart.nullFailed(I[181], 769, 41, "cr"); if (dart.test(proxyAuth)) { this[_httpClient$][_removeProxyCredentials](cr); } else { this[_httpClient$][_removeCredentials](cr); } }; - dart.fn(removeCredentials, T$0._CredentialsTovoid()); + dart.fn(removeCredentials, T$1._CredentialsTovoid()); const requestAuthentication = (scheme, realm) => { - if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 778, 31, "scheme"); if (dart.test(proxyAuth)) { let authenticateProxy = this[_httpClient$][_authenticateProxy]; if (authenticateProxy == null) { return T$.FutureOfbool().value(false); } let proxy = this[_httpRequest$][_proxy$]; - return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); - } else { - let authenticate = this[_httpClient$][_authenticate]; - if (authenticate == null) { - return T$.FutureOfbool().value(false); + if (!dart.test(proxy.isDirect)) { + return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), dart.toString(scheme), realm); } - return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); } + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return authenticate(this[_httpRequest$].uri, dart.toString(scheme), realm); }; - dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + dart.fn(requestAuthentication, T$1._AuthenticationSchemeAndStringNToFutureOfbool()); let challenge = dart.nullCheck(authChallenge()); - if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 798, 12, "challenge.length == 1"); let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); let scheme = _http._AuthenticationScheme.fromString(header.value); let realm = header.parameters[$_get]("realm"); @@ -129476,13 +141352,13 @@ define([], (function load__dart_sdk() { let nonce = cr.nonce; if (nonce == null || nonce == header.parameters[$_get]("nonce")) { if (nonce == null) { - t296$ = cr; + t271$ = cr; (() => { - t296$.nonce = header.parameters[$_get]("nonce"); - t296$.algorithm = "MD5"; - t296$.qop = header.parameters[$_get]("qop"); - t296$.nonceCount = 0; - return t296$; + t271$.nonce = header.parameters[$_get]("nonce"); + t271$.algorithm = "MD5"; + t271$.qop = header.parameters[$_get]("qop"); + t271$.nonceCount = 0; + return t271$; })(); } return retry(); @@ -129501,20 +141377,20 @@ define([], (function load__dart_sdk() { cr = null; } return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { - if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (credsAvailable == null) dart.nullFailed(I[181], 853, 55, "credsAvailable"); if (dart.test(credsAvailable)) { cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); return retry(); } else { return this; } - }, T$0.boolToFutureOrOfHttpClientResponse())); + }, T$1.boolToFutureOrOfHttpClientResponse())); } }; (_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { - if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); - if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); - if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); this[_httpRequest$] = _httpRequest; this[_httpClient$] = _httpClient; this[_profileData$] = _profileData; @@ -129532,6 +141408,7 @@ define([], (function load__dart_sdk() { detachSocket: dart.fnType(async.Future$(io.Socket), []), [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) })); + dart.setStaticMethodSignature(_http._HttpClientResponse, () => ['_getCompressionState']); dart.setGetterSignature(_http._HttpClientResponse, () => ({ __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), redirects: core.List$(_http.RedirectInfo), @@ -129552,14 +141429,17 @@ define([], (function load__dart_sdk() { [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) })); _http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + static ['_#new#tearOff']() { + return new _http._ToUint8List.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + if (input == null) dart.nullFailed(I[181], 868, 31, "input"); return _native_typed_data.NativeUint8List.fromList(input); } startChunkedConversion(sink) { - T$0.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + T$1.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); return new _http._Uint8ListConversionSink.new(sink); } }; @@ -129583,9 +141463,13 @@ define([], (function load__dart_sdk() { set [_target$2](value) { super[_target$2] = value; } + static ['_#new#tearOff'](_target) { + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); + return new _http._Uint8ListConversionSink.new(_target); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + if (data == null) dart.nullFailed(I[181], 880, 22, "data"); this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); } close() { @@ -129593,7 +141477,7 @@ define([], (function load__dart_sdk() { } }; (_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); this[_target$1] = _target; ; }).prototype = _http._Uint8ListConversionSink.prototype; @@ -129622,9 +141506,13 @@ define([], (function load__dart_sdk() { var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); _http._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + return new (_http._StreamSinkImpl$(T)).new(_target); + } add(data) { T.as(data); if (dart.test(this[_isClosed$0])) { @@ -129633,15 +141521,15 @@ define([], (function load__dart_sdk() { this[_controller$0].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (error == null) dart.nullFailed(I[181], 907, 24, "error"); if (dart.test(this[_isClosed$0])) { dart.throw(new core.StateError.new("StreamSink is closed")); } this[_controller$0].addError(error, stackTrace); } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 914, 30, "stream"); if (dart.test(this[_isBound$])) { dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); } @@ -129699,8 +141587,8 @@ define([], (function load__dart_sdk() { } } [_completeDoneError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[181], 979, 34, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 978, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 978, 52, "stackTrace"); if (!dart.test(this[_doneCompleter$].isCompleted)) { this[_hasError$0] = true; this[_doneCompleter$].completeError(error, stackTrace); @@ -129714,7 +141602,7 @@ define([], (function load__dart_sdk() { dart.throw(new core.StateError.new("StreamSink is closed")); } if (this[_controllerInstance$] == null) { - this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerInstance$] = __t$StreamControllerOfT().new({sync: true}); this[_controllerCompleter$] = async.Completer.new(); this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { if (dart.test(this[_isBound$])) { @@ -129725,8 +141613,8 @@ define([], (function load__dart_sdk() { this[_closeTarget$](); } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 1005, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1005, 45, "stackTrace"); if (dart.test(this[_isBound$])) { dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); this[_controllerCompleter$] = null; @@ -129740,8 +141628,8 @@ define([], (function load__dart_sdk() { } } (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); - this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + this[_doneCompleter$] = T$1.CompleterOfvoid().new(); this[_controllerInstance$] = null; this[_controllerCompleter$] = null; this[_isClosed$0] = false; @@ -129785,7 +141673,6 @@ define([], (function load__dart_sdk() { }); _http._StreamSinkImpl = _http._StreamSinkImpl$(); dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); - var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); var _encoding$0 = dart.privateName(_http, "_encoding"); var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); @@ -129793,33 +141680,32 @@ define([], (function load__dart_sdk() { var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { - get [_profileData$]() { - return this[_profileData$0]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); + return new _http._IOSinkImpl.new(target, _encoding, _profileData); } get encoding() { return this[_encoding$0]; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (value == null) dart.nullFailed(I[181], 1033, 30, "value"); if (!dart.test(this[_encodingMutable$])) { dart.throw(new core.StateError.new("IOSink encoding is not mutable")); } this[_encoding$0] = value; } write(obj) { - let t296; + let t271; let string = dart.str(obj); if (string[$isEmpty]) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); super.add(this[_encoding$0].encode(string)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 1051, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1051, 43, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; if (separator[$isEmpty]) { @@ -129839,28 +141725,29 @@ define([], (function load__dart_sdk() { this.write("\n"); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 1072, 26, "charCode"); this.write(core.String.fromCharCode(charCode)); } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 1022, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._IOSinkImpl.new = function(target, _encoding, _profileData) { - if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); this[_encodingMutable$] = true; this[_encoding$0] = _encoding; - this[_profileData$0] = _profileData; + this[_profileData$] = _profileData; _http._IOSinkImpl.__proto__.new.call(this, target); ; }).prototype = _http._IOSinkImpl.prototype; @@ -129877,13 +141764,13 @@ define([], (function load__dart_sdk() { dart.setGetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._IOSinkImpl, I[177]); @@ -129905,26 +141792,26 @@ define([], (function load__dart_sdk() { return this.headers.contentLength; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[181], 1105, 30, "contentLength"); this.headers.contentLength = contentLength; } get persistentConnection() { return this.headers.persistentConnection; } set persistentConnection(p) { - if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + if (p == null) dart.nullFailed(I[181], 1110, 38, "p"); this.headers.persistentConnection = p; } get bufferOutput() { return this[_bufferOutput]; } set bufferOutput(bufferOutput) { - if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (bufferOutput == null) dart.nullFailed(I[181], 1115, 30, "bufferOutput"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_bufferOutput] = bufferOutput; } get encoding() { - let t296; + let t271; if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { return this[_encoding$0]; } @@ -129935,34 +141822,34 @@ define([], (function load__dart_sdk() { } else { charset = "iso-8859-1"; } - t296 = convert.Encoding.getByName(charset); - return t296 == null ? convert.latin1 : t296; + t271 = convert.Encoding.getByName(charset); + return t271 == null ? convert.latin1 : t271; } set encoding(value) { super.encoding = value; } add(data) { - let t296; + let t271; T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); - if (data[$length] === 0) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + if (data == null) dart.nullFailed(I[181], 1134, 22, "data"); + if (dart.test(data[$isEmpty])) return; + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); super.add(data); } addStream(s) { T$0.StreamOfListOfint().as(s); - if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (s == null) dart.nullFailed(I[181], 1140, 38, "s"); if (this[_profileData$] == null) { return super.addStream(s); } return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + let t271; + if (data == null) dart.nullFailed(I[181], 1144, 35, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); return data; - }, T$0.ListOfintToListOfint()))); + }, T$1.ListOfintToListOfint()))); } write(obj) { if (!dart.test(this[_encodingSet])) { @@ -129976,14 +141863,14 @@ define([], (function load__dart_sdk() { } } (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1089, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1089, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1089, 71, "outgoing"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_encodingSet] = false; this[_bufferOutput] = true; this[_uri] = uri; - this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: dart.test(uri.isScheme("https")) ? 443 : 80, initialHeaders: initialHeaders}); this[_outgoing] = outgoing; _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); this[_outgoing].outbound = this; @@ -130027,19 +141914,26 @@ define([], (function load__dart_sdk() { var _isNew = dart.privateName(_http, "_isNew"); var _writeHeader = dart.privateName(_http, "_writeHeader"); _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + static ['_#new#tearOff'](uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); + return new _http._HttpResponse.new(uri, protocolVersion, outgoing, defaultHeaders, serverHeader); + } get [_isConnectionClosed]() { return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; } get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t271; } get statusCode() { return this[_statusCode]; } set statusCode(statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1186, 27, "statusCode"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_statusCode] = statusCode; } @@ -130047,14 +141941,14 @@ define([], (function load__dart_sdk() { return this[_findReasonPhrase](this.statusCode); } set reasonPhrase(reasonPhrase) { - if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (reasonPhrase == null) dart.nullFailed(I[181], 1192, 32, "reasonPhrase"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_reasonPhrase] = reasonPhrase; } redirect(location, opts) { - if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + if (location == null) dart.nullFailed(I[181], 1197, 23, "location"); let status = opts && 'status' in opts ? opts.status : 302; - if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (status == null) dart.nullFailed(I[181], 1197, 38, "status"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this.statusCode = status; this.headers.set("location", dart.toString(location)); @@ -130062,13 +141956,13 @@ define([], (function load__dart_sdk() { } detachSocket(opts) { let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (writeHeaders == null) dart.nullFailed(I[181], 1204, 37, "writeHeaders"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); this.deadline = null; let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); if (dart.test(writeHeaders)) { let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); - if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1211, 14, "headersFuture == null"); } else { this[_outgoing].headersWritten = true; } @@ -130084,9 +141978,9 @@ define([], (function load__dart_sdk() { return this[_deadline]; } set deadline(d) { - let t296; - t296 = this[_deadlineTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_deadlineTimer]; + t271 == null ? null : t271.cancel(); this[_deadline] = d; if (d == null) return; this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { @@ -130094,7 +141988,7 @@ define([], (function load__dart_sdk() { }, T$.VoidTovoid())); } [_writeHeader]() { - let t296, t296$, t296$0; + let t271, t271$, t271$0; let buffer = new _http._CopyingBytesBuilder.new(8192); if (this.headers.protocolVersion === "1.1") { buffer.add(_http._Const.HTTP11); @@ -130113,30 +142007,30 @@ define([], (function load__dart_sdk() { let found = false; for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t296 = this.cookies[$_get](i); + t271 = this.cookies[$_get](i); (() => { - t296.value = session.id; - t296.httpOnly = true; - t296.path = "/"; - return t296; + t271.value = session.id; + t271.httpOnly = true; + t271.path = "/"; + return t271; })(); found = true; } } if (!found) { let cookie = _http.Cookie.new("DARTSESSID", session.id); - this.cookies[$add]((t296$ = cookie, (() => { - t296$.httpOnly = true; - t296$.path = "/"; - return t296$; + this.cookies[$add]((t271$ = cookie, (() => { + t271$.httpOnly = true; + t271$.path = "/"; + return t271$; })())); } } - t296$0 = this[_cookies]; - t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + t271$0 = this[_cookies]; + t271$0 == null ? null : t271$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1278, 24, "cookie"); this.headers.add("set-cookie", cookie); - }, T$0.CookieTovoid())); + }, T$1.CookieTovoid())); this.headers[_finalize](); this.headers[_build](buffer); buffer.addByte(13); @@ -130145,184 +142039,184 @@ define([], (function load__dart_sdk() { this[_outgoing].setHeader(headerBytes, headerBytes[$length]); } [_findReasonPhrase](statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1292, 32, "statusCode"); let reasonPhrase = this[_reasonPhrase]; if (reasonPhrase != null) { return reasonPhrase; } switch (statusCode) { case 100: - { - return "Continue"; - } + { + return "Continue"; + } case 101: - { - return "Switching Protocols"; - } + { + return "Switching Protocols"; + } case 200: - { - return "OK"; - } + { + return "OK"; + } case 201: - { - return "Created"; - } + { + return "Created"; + } case 202: - { - return "Accepted"; - } + { + return "Accepted"; + } case 203: - { - return "Non-Authoritative Information"; - } + { + return "Non-Authoritative Information"; + } case 204: - { - return "No Content"; - } + { + return "No Content"; + } case 205: - { - return "Reset Content"; - } + { + return "Reset Content"; + } case 206: - { - return "Partial Content"; - } + { + return "Partial Content"; + } case 300: - { - return "Multiple Choices"; - } + { + return "Multiple Choices"; + } case 301: - { - return "Moved Permanently"; - } + { + return "Moved Permanently"; + } case 302: - { - return "Found"; - } + { + return "Found"; + } case 303: - { - return "See Other"; - } + { + return "See Other"; + } case 304: - { - return "Not Modified"; - } + { + return "Not Modified"; + } case 305: - { - return "Use Proxy"; - } + { + return "Use Proxy"; + } case 307: - { - return "Temporary Redirect"; - } + { + return "Temporary Redirect"; + } case 400: - { - return "Bad Request"; - } + { + return "Bad Request"; + } case 401: - { - return "Unauthorized"; - } + { + return "Unauthorized"; + } case 402: - { - return "Payment Required"; - } + { + return "Payment Required"; + } case 403: - { - return "Forbidden"; - } + { + return "Forbidden"; + } case 404: - { - return "Not Found"; - } + { + return "Not Found"; + } case 405: - { - return "Method Not Allowed"; - } + { + return "Method Not Allowed"; + } case 406: - { - return "Not Acceptable"; - } + { + return "Not Acceptable"; + } case 407: - { - return "Proxy Authentication Required"; - } + { + return "Proxy Authentication Required"; + } case 408: - { - return "Request Time-out"; - } + { + return "Request Time-out"; + } case 409: - { - return "Conflict"; - } + { + return "Conflict"; + } case 410: - { - return "Gone"; - } + { + return "Gone"; + } case 411: - { - return "Length Required"; - } + { + return "Length Required"; + } case 412: - { - return "Precondition Failed"; - } + { + return "Precondition Failed"; + } case 413: - { - return "Request Entity Too Large"; - } + { + return "Request Entity Too Large"; + } case 414: - { - return "Request-URI Too Long"; - } + { + return "Request-URI Too Long"; + } case 415: - { - return "Unsupported Media Type"; - } + { + return "Unsupported Media Type"; + } case 416: - { - return "Requested range not satisfiable"; - } + { + return "Requested range not satisfiable"; + } case 417: - { - return "Expectation Failed"; - } + { + return "Expectation Failed"; + } case 500: - { - return "Internal Server Error"; - } + { + return "Internal Server Error"; + } case 501: - { - return "Not Implemented"; - } + { + return "Not Implemented"; + } case 502: - { - return "Bad Gateway"; - } + { + return "Bad Gateway"; + } case 503: - { - return "Service Unavailable"; - } + { + return "Service Unavailable"; + } case 504: - { - return "Gateway Time-out"; - } + { + return "Gateway Time-out"; + } case 505: - { - return "Http Version not supported"; - } + { + return "Http Version not supported"; + } default: - { - return "Status " + dart.str(statusCode); - } + { + return "Status " + dart.str(statusCode); + } } } }; (_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { - if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); - if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); this[_statusCode] = 200; this[_reasonPhrase] = null; this[_cookies] = null; @@ -130368,30 +142262,32 @@ define([], (function load__dart_sdk() { [_deadline]: dart.fieldType(dart.nullable(core.Duration)), [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) })); - var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); var _responseCompleter = dart.privateName(_http, "_responseCompleter"); var _response = dart.privateName(_http, "_response"); var _followRedirects = dart.privateName(_http, "_followRedirects"); var _maxRedirects = dart.privateName(_http, "_maxRedirects"); var _aborted = dart.privateName(_http, "_aborted"); var _onIncoming = dart.privateName(_http, "_onIncoming"); - var _onError$ = dart.privateName(_http, "_onError"); + var _onError = dart.privateName(_http, "_onError"); var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); var _requestUri = dart.privateName(_http, "_requestUri"); _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - get [_profileData$]() { - return this[_profileData$1]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); + return new _http._HttpClientRequest.new(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData); } get done() { - let t296; - t296 = this[_response]; - return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); - return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); - }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + let t271; + t271 = this[_response]; + return t271 == null ? this[_response] = async.Future.wait(dart.dynamic, T$1.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1440, 18, "list"); + return T$1.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$1.ListToFutureOrOfHttpClientResponse())) : t271; } close() { if (!dart.test(this[_aborted])) { @@ -130403,7 +142299,7 @@ define([], (function load__dart_sdk() { return this[_maxRedirects]; } set maxRedirects(maxRedirects) { - if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (maxRedirects == null) dart.nullFailed(I[181], 1451, 29, "maxRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_maxRedirects] = maxRedirects; } @@ -130411,7 +142307,7 @@ define([], (function load__dart_sdk() { return this[_followRedirects]; } set followRedirects(followRedirects) { - if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (followRedirects == null) dart.nullFailed(I[181], 1457, 33, "followRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_followRedirects] = followRedirects; } @@ -130419,7 +142315,7 @@ define([], (function load__dart_sdk() { return this[_httpClientConnection$].connectionInfo; } [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); if (dart.test(this[_aborted])) { return; } @@ -130427,30 +142323,30 @@ define([], (function load__dart_sdk() { let future = null; if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$1.dynamicToFutureOfHttpClientResponse())); } else { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$1.dynamicToFutureOfHttpClientResponse())); } } else if (dart.test(response[_shouldAuthenticateProxy])) { future = response[_authenticate](true); } else if (dart.test(response[_shouldAuthenticate])) { future = response[_authenticate](false); } else { - future = T$0.FutureOfHttpClientResponse().value(response); + future = T$1.FutureOfHttpClientResponse().value(response); } future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].complete(v); } - }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + }, T$1.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); } }, T$.dynamicAnddynamicToNull())}); } - [_onError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + [_onError](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1503, 35, "stackTrace"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(error), stackTrace); } @@ -130481,8 +142377,8 @@ define([], (function load__dart_sdk() { } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); - if (data[$length] === 0 || dart.test(this[_aborted])) return; + if (data == null) dart.nullFailed(I[181], 1539, 22, "data"); + if (dart.test(data[$isEmpty]) || dart.test(this[_aborted])) return; super.add(data); } write(obj) { @@ -130490,7 +142386,7 @@ define([], (function load__dart_sdk() { super.write(obj); } [_writeHeader]() { - let t296; + let t271; if (dart.test(this[_aborted])) { this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); return; @@ -130503,22 +142399,22 @@ define([], (function load__dart_sdk() { buffer.add(_http._Const.HTTP11); buffer.addByte(13); buffer.addByte(10); - if (!dart.test(this.cookies[$isEmpty])) { + if (dart.test(this.cookies[$isNotEmpty])) { let sb = new core.StringBuffer.new(); for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (i > 0) sb.write("; "); - t296 = sb; + t271 = sb; (() => { - t296.write(this.cookies[$_get](i).name); - t296.write("="); - t296.write(this.cookies[$_get](i).value); - return t296; + t271.write(this.cookies[$_get](i).name); + t271.write("="); + t271.write(this.cookies[$_get](i).value); + return t271; })(); } this.headers.add("cookie", sb.toString()); } this.headers[_finalize](); - this.headers[_build](buffer); + this.headers[_build](buffer, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); buffer.addByte(13); buffer.addByte(10); let headerBytes = buffer.takeBytes(); @@ -130534,44 +142430,41 @@ define([], (function load__dart_sdk() { } }; (_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - let t296, t296$; - if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); - if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); - if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); - if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); - if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); - if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + let t271; + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); this.cookies = T$0.JSArrayOfCookie().of([]); - this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_responseCompleter] = T$1.CompleterOfHttpClientResponse().new(); this[_response] = null; this[_followRedirects] = true; this[_maxRedirects] = 5; - this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); this[_aborted] = false; + this.uri = uri; this.method = method; this[_proxy$] = _proxy; this[_httpClient$] = _httpClient; this[_httpClientConnection$] = _httpClientConnection; - this[_profileData$1] = _profileData; - this.uri = uri; _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Request sent"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Request sent"); if (this.method === "GET" || this.method === "HEAD") { this.contentLength = 0; } else { this.headers.chunkedTransferEncoding = true; } - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.finishRequest({request: this}); this[_responseCompleter].future.then(core.Null, dart.fn(response => { - let t296, t296$; - if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.startResponse({response: response}); - }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + let t271, t271$; + if (response == null) dart.nullFailed(I[181], 1428, 37, "response"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Waiting (TTFB)"); + t271$ = _profileData; + t271$ == null ? null : t271$.startResponse({response: response}); + }, T$1.HttpClientResponseToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); }).prototype = _http._HttpClientRequest.prototype; dart.addTypeTests(_http._HttpClientRequest); @@ -130581,7 +142474,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), close: dart.fnType(async.Future$(_http.HttpClientResponse), []), [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), - [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_onError]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_requestUri]: dart.fnType(core.String, []), [_writeHeader]: dart.fnType(dart.void, []), abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) @@ -130606,43 +142499,46 @@ define([], (function load__dart_sdk() { cookies: dart.finalFieldType(core.List$(_http.Cookie)), [_httpClient$]: dart.finalFieldType(_http._HttpClient), [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), [_proxy$]: dart.finalFieldType(_http._Proxy), [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), [_followRedirects]: dart.fieldType(core.bool), [_maxRedirects]: dart.fieldType(core.int), - [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_responseRedirects]: dart.finalFieldType(core.List$(_http.RedirectInfo)), [_aborted]: dart.fieldType(core.bool) })); var _consume$ = dart.privateName(_http, "_consume"); _http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_consume) { + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); + return new _http._HttpGZipSink.new(_consume); + } add(chunk) { - let t296; + let t271; T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); - t296 = chunk; - this[_consume$](t296); + if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); + t271 = chunk; + this[_consume$](t271); } addSlice(chunk, start, end, isLast) { - let t296, t296$; - if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); - if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); - if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); - if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + let t271, t271$; + if (chunk == null) dart.nullFailed(I[181], 1614, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1614, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1614, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1614, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { - t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296); + t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271); } else { - t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296$); + t271$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271$); } } close() { } }; (_http._HttpGZipSink.new = function(_consume) { - if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); this[_consume$] = _consume; _http._HttpGZipSink.__proto__.new.call(this); ; @@ -130672,13 +142568,17 @@ define([], (function load__dart_sdk() { var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); var _chunkHeader = dart.privateName(_http, "_chunkHeader"); var _addChunk$ = dart.privateName(_http, "_addChunk"); - var _ignoreError = dart.privateName(_http, "_ignoreError"); + var _ignoreError$ = dart.privateName(_http, "_ignoreError"); _http._HttpOutgoing = class _HttpOutgoing extends core.Object { + static ['_#new#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + return new _http._HttpOutgoing.new(socket); + } writeHeaders(opts) { let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; - if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + if (drainRequest == null) dart.nullFailed(I[181], 1687, 13, "drainRequest"); let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); if (dart.test(this.headersWritten)) return null; this.headersWritten = true; let drainFuture = null; @@ -130689,10 +142589,10 @@ define([], (function load__dart_sdk() { let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); let contentEncoding = response.headers._get("content-encoding"); if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + if (list == null) dart.nullFailed(I[181], 1705, 26, "list"); return list[$split](","); - }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { - if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + }, T$1.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1706, 23, "encoding"); return encoding[$trim]()[$toLowerCase]() === "gzip"; }, T$.StringTobool())))) { response.headers.set("content-encoding", "gzip"); @@ -130717,7 +142617,7 @@ define([], (function load__dart_sdk() { } } if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); } } response[_writeHeader](); @@ -130725,7 +142625,7 @@ define([], (function load__dart_sdk() { } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 1735, 38, "stream"); if (dart.test(this[_socketError])) { stream.listen(null).cancel(); return async.Future.value(this.outbound); @@ -130735,23 +142635,23 @@ define([], (function load__dart_sdk() { }, T$.dynamicToNull())); let future = this.writeHeaders(); if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); } return this.close(); } - let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + let controller = T$1.StreamControllerOfListOfint().new({sync: true}); const onData = data => { - if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); if (dart.test(this[_socketError])) return; - if (data[$length] === 0) return; + if (dart.test(data[$isEmpty])) return; if (dart.test(this.chunked)) { if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(controller, 'add'); - this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = T$0.ListOfintTovoid().as(dart.bind(controller, 'add')); + this[_addGZipChunk](data, T$0.ListOfintTovoid().as(dart.bind(dart.nullCheck(this[_gzipSink]), 'add'))); this[_gzipAdd] = null; return; } - this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_addChunk$](this[_chunkHeader](data[$length]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); this[_pendingChunkedFooter] = 2; } else { let contentLength = this.contentLength; @@ -130763,7 +142663,7 @@ define([], (function load__dart_sdk() { } } } - this[_addChunk$](data, dart.bind(controller, 'add')); + this[_addChunk$](data, T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); }; dart.fn(onData, T$0.ListOfintTovoid()); let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); @@ -130775,16 +142675,16 @@ define([], (function load__dart_sdk() { sub.pause(future); } } - return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$1.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); this[_socketError] = true; this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return this.outbound; } else { dart.throw(error); } - }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); } close() { let closeFuture = this[_closeFuture]; @@ -130830,14 +142730,14 @@ define([], (function load__dart_sdk() { return this.socket.flush().then(dart.dynamic, dart.fn(_ => { this[_doneCompleter$].complete(this.socket); return outbound; - }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + }, T$1.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return outbound; } else { dart.throw(error); } - }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); }; dart.fn(finalize, T$0.VoidToFuture()); let future = this.writeHeaders(); @@ -130850,20 +142750,20 @@ define([], (function load__dart_sdk() { return this[_doneCompleter$].future; } setHeader(data, length) { - if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); - if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); - if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + if (data == null) dart.nullFailed(I[181], 1900, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1900, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1901, 12, "_length == 0"); this[_buffer$1] = typed_data.Uint8List.as(data); this[_length$1] = length; } set gzip(value) { - if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + if (value == null) dart.nullFailed(I[181], 1906, 22, "value"); this[_gzip] = value; if (dart.test(value)) { this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1910, 14, "_gzipSink == null"); this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { - if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (data == null) dart.nullFailed(I[181], 1912, 73, "data"); if (this[_gzipAdd] == null) return; this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); this[_pendingChunkedFooter] = 2; @@ -130871,12 +142771,12 @@ define([], (function load__dart_sdk() { }, T$0.ListOfintTovoid()))); } } - [_ignoreError](error) { + [_ignoreError$](error) { return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); } [_addGZipChunk](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); - if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + if (chunk == null) dart.nullFailed(I[181], 1926, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1926, 69, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { add(chunk); @@ -130898,8 +142798,8 @@ define([], (function load__dart_sdk() { } } [_addChunk$](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); - if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + if (chunk == null) dart.nullFailed(I[181], 1949, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1949, 65, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { if (this[_buffer$1] != null) { @@ -130923,8 +142823,8 @@ define([], (function load__dart_sdk() { } } [_chunkHeader](length) { - if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); - let hexDigits = C[471] || CT.C471; + if (length == null) dart.nullFailed(I[181], 1975, 30, "length"); + let hexDigits = C[483] || CT.C483; if (length === 0) { if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; return _http._HttpOutgoing._chunk0Length; @@ -130951,8 +142851,8 @@ define([], (function load__dart_sdk() { } }; (_http._HttpOutgoing.new = function(socket) { - if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); - this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + this[_doneCompleter$] = T$1.CompleterOfSocket().new(); this.ignoreBody = false; this.headersWritten = false; this[_buffer$1] = null; @@ -130981,7 +142881,7 @@ define([], (function load__dart_sdk() { addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []), setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_ignoreError$]: dart.fnType(core.bool, [dart.dynamic]), [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) @@ -131016,12 +142916,13 @@ define([], (function load__dart_sdk() { [_socketError]: dart.fieldType(core.bool), outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) })); + dart.setStaticFieldSignature(_http._HttpOutgoing, () => ['_footerAndChunk0Length', '_chunk0Length']); dart.defineLazy(_http._HttpOutgoing, { /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { - return C[472] || CT.C472; + return C[484] || CT.C484; }, /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[473] || CT.C473; + return C[485] || CT.C485; } }, false); var _subscription$0 = dart.privateName(_http, "_subscription"); @@ -131036,12 +142937,19 @@ define([], (function load__dart_sdk() { var _returnConnection = dart.privateName(_http, "_returnConnection"); var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); _http._HttpClientConnection = class _HttpClientConnection extends core.Object { + static ['_#new#tearOff'](key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); + return new _http._HttpClientConnection.new(key, _socket, _httpClient, _proxyTunnel, _context); + } send(uri, port, method, proxy, profileData) { - let t296; - if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); - if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); - if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); - if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + let t271; + if (uri == null) dart.nullFailed(I[181], 2100, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2100, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2100, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2100, 68, "proxy"); if (dart.test(this.closed)) { dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); } @@ -131056,27 +142964,27 @@ define([], (function load__dart_sdk() { let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); let host = uri.host; if (host[$contains](":")) host = "[" + dart.str(host) + "]"; - t296 = request.headers; + t271 = request.headers; (() => { - t296.host = host; - t296.port = port; - t296.add("accept-encoding", "gzip"); - return t296; + t271.host = host; + t271.port = port; + t271.add("accept-encoding", "gzip"); + return t271; })(); if (this[_httpClient$].userAgent != null) { request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); } if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); - } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + } else if (!dart.test(proxy.isDirect) && dart.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); if (proxyCreds != null) { proxyCreds.authorize(request); } } - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } else { creds = this[_httpClient$][_findCredentials](uri); @@ -131086,13 +142994,17 @@ define([], (function load__dart_sdk() { } this[_httpParser].isHead = method === "HEAD"; this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); - let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + let t271; + if (s == null) dart.nullFailed(I[181], 2157, 56, "s"); + t271 = profileData; + t271 == null ? null : t271.finishRequest({request: request}); + let nextResponseCompleter = T$1.CompleterOf_HttpIncoming().new(); this[_nextResponseCompleter] = nextResponseCompleter; nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2166, 42, "incoming"); this[_currentUri] = null; incoming.dataDone.then(core.Null, dart.fn(closing => { + if (closing == null) dart.nullFailed(I[181], 2168, 33, "closing"); if (dart.test(incoming.upgraded)) { this[_httpClient$][_connectionClosed](this); this.startTimer(); @@ -131101,13 +143013,13 @@ define([], (function load__dart_sdk() { if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { return; } - if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + if (!dart.test(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { this[_httpClient$][_returnConnection](this); dart.nullCheck(this[_subscription$0]).resume(); } else { this.destroy(); } - }, T$.dynamicToNull())); + }, T$.boolToNull())); if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { let authInfo = incoming.headers._get("proxy-authentication-info"); if (authInfo != null && authInfo[$length] === 1) { @@ -131125,28 +143037,28 @@ define([], (function load__dart_sdk() { } } request[_onIncoming](incoming); - }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + }, T$1._HttpIncomingToNull())).catchError(dart.fn(error => { dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); }, T$0.dynamicToNever()), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + if (error == null) dart.nullFailed(I[181], 2221, 17, "error"); return core.StateError.is(error); }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { this.destroy(); - request[_onError$](error, core.StackTrace.as(stackTrace)); + request[_onError](error, core.StackTrace.as(stackTrace)); }, T$.dynamicAnddynamicToNull())); dart.nullCheck(this[_subscription$0]).resume(); return s; - }, T.SocketToSocket())); - T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + }, T$1.SocketToSocket())); + T$1.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { this.destroy(); }, T$.dynamicToNull())); return request; } detachSocket() { return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + if (_ == null) dart.nullFailed(I[181], 2239, 16, "_"); return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T.SocketTo_DetachedSocket())); + }, T$1.SocketTo_DetachedSocket())); } destroy() { this.closed = true; @@ -131162,74 +143074,74 @@ define([], (function load__dart_sdk() { this.closed = true; this[_httpClient$][_connectionClosed](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2259, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } closeFromExternal() { this.closed = true; this[_httpClient$][_connectionClosedNoFurtherClosing](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2267, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } createProxyTunnel(host, port, proxy, callback, profileData) { - let t296; - if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); - if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); - if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let t271; + if (host == null) dart.nullFailed(I[181], 2271, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2272, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2273, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2274, 50, "callback"); let method = "CONNECT"; let uri = core._Uri.new({host: host, port: port}); - t296 = profileData; - t296 == null ? null : t296.proxyEvent(proxy); + t271 = profileData; + t271 == null ? null : t271.proxyEvent(proxy); let proxyProfileData = null; if (profileData != null) { proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); } let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); } return request.close().then(io.SecureSocket, dart.fn(response => { - let t296; - if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + let t271; + if (response == null) dart.nullFailed(I[181], 2299, 34, "response"); if (response.statusCode !== 200) { let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; - t296 = profileData; - t296 == null ? null : t296.requestEvent(error); + t271 = profileData; + t271 == null ? null : t271.requestEvent(error); dart.throw(new _http.HttpException.new(error, {uri: request.uri})); } let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); - }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { - let t296; - if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + }, T$1.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t271; + if (secureSocket == null) dart.nullFailed(I[181], 2312, 14, "secureSocket"); let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); - t296 = profileData; - t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + t271 = profileData; + t271 == null ? null : t271.requestEvent("Proxy tunnel established"); return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, T.SecureSocketTo_HttpClientConnection())); + }, T$1.SecureSocketTo_HttpClientConnection())); } get connectionInfo() { return _http._HttpConnectionInfo.create(this[_socket$0]); } static makeKey(isSecure, host, port) { - if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); - if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2322, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2322, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2322, 50, "port"); return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); } stopTimer() { - let t296; - t296 = this[_idleTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_idleTimer]; + t271 == null ? null : t271.cancel(); this[_idleTimer] = null; } startTimer() { - if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2332, 12, "_idleTimer == null"); this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { this[_idleTimer] = null; this.close(); @@ -131237,10 +143149,10 @@ define([], (function load__dart_sdk() { } }; (_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { - if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); - if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); - if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); - if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); this[_subscription$0] = null; this[_dispose] = false; this[_idleTimer] = null; @@ -131256,7 +143168,7 @@ define([], (function load__dart_sdk() { this[_httpParser] = _http._HttpParser.responseParser(); this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2044, 41, "incoming"); dart.nullCheck(this[_subscription$0]).pause(); if (this[_nextResponseCompleter] == null) { dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); @@ -131265,24 +143177,43 @@ define([], (function load__dart_sdk() { incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { dart.nullCheck(this[_subscription$0]).resume(); }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { - if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); - dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + if (stackTrace == null) dart.nullFailed(I[181], 2062, 50, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull())); + }, T$1.dynamicAndStackTraceToNull()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2074, 19, "error"); + return _http.HttpException.is(error) || io.SocketException.is(error); + }, T$.ObjectTobool())}); } else { dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); this[_nextResponseCompleter] = null; } - }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { - let t296; - if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + }, T$1._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t271; + if (stackTrace == null) dart.nullFailed(I[181], 2079, 44, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + }, T$1.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t271; + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); this[_nextResponseCompleter] = null; this.close(); }, T$.VoidTovoid())}); @@ -131301,6 +143232,7 @@ define([], (function load__dart_sdk() { stopTimer: dart.fnType(dart.void, []), startTimer: dart.fnType(dart.void, []) })); + dart.setStaticMethodSignature(_http._HttpClientConnection, () => ['makeKey']); dart.setGetterSignature(_http._HttpClientConnection, () => ({ __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), connectionInfo: dart.nullable(_http.HttpConnectionInfo) @@ -131322,10 +143254,16 @@ define([], (function load__dart_sdk() { [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) })); - _http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; + _http._ConnectionInfo = class _ConnectionInfo extends core.Object { + static ['_#new#tearOff'](connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); + return new _http._ConnectionInfo.new(connection, proxy); + } + }; (_http._ConnectionInfo.new = function(connection, proxy) { - if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); this.connection = connection; this.proxy = proxy; ; @@ -131341,13 +143279,21 @@ define([], (function load__dart_sdk() { var _idle = dart.privateName(_http, "_idle"); var _active = dart.privateName(_http, "_active"); var _socketTasks = dart.privateName(_http, "_socketTasks"); - var _pending = dart.privateName(_http, "_pending"); + var _pending$ = dart.privateName(_http, "_pending"); var _connecting = dart.privateName(_http, "_connecting"); var _checkPending = dart.privateName(_http, "_checkPending"); var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); + var _keyLog = dart.privateName(_http, "_keyLog"); var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); _http._ConnectionTarget = class _ConnectionTarget extends core.Object { + static ['_#new#tearOff'](key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + return new _http._ConnectionTarget.new(key, host, port, isSecure, context, connectionFactory); + } get isEmpty() { return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; } @@ -131358,7 +143304,7 @@ define([], (function load__dart_sdk() { return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; } takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); let connection = this[_idle][$first]; this[_idle].remove(connection); connection.stopTimer(); @@ -131366,35 +143312,36 @@ define([], (function load__dart_sdk() { return connection; } [_checkPending]() { - if (dart.test(this[_pending][$isNotEmpty])) { - dart.dcall(this[_pending].removeFirst(), []); + if (dart.test(this[_pending$][$isNotEmpty])) { + this[_pending$].removeFirst()(); } } addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); this[_active].add(connection); } returnConnection(connection) { - if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); - if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2390, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2391, 12, "_active.contains(connection)"); this[_active].remove(connection); this[_idle].add(connection); connection.startTimer(); this[_checkPending](); } connectionClosed(connection) { - if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); - if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2398, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2399, 12, "!_active.contains(connection) || !_idle.contains(connection)"); this[_active].remove(connection); this[_idle].remove(connection); this[_checkPending](); } close(force) { - if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + if (force == null) dart.nullFailed(I[181], 2405, 19, "force"); for (let t of this[_socketTasks][$toList]()) { t.socket.then(core.Null, dart.fn(s => { - dart.dsend(s, 'destroy', []); - }, T$.dynamicToNull()), {onError: dart.fn(e => { + if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); + s.destroy(); + }, T$1.SocketToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); t.cancel(); } @@ -131411,35 +143358,46 @@ define([], (function load__dart_sdk() { } } } - connect(uriHost, uriPort, proxy, client, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); - if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); - if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + connect(uri, uriHost, uriPort, proxy, client, profileData) { + if (uri == null) dart.nullFailed(I[181], 2428, 39, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2428, 51, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2428, 64, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2429, 14, "proxy"); + if (client == null) dart.nullFailed(I[181], 2429, 33, "client"); if (dart.test(this.hasIdle)) { let connection = this.takeIdle(); client[_connectionsChanged](); - return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + return T$1.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); } let maxConnectionsPerHost = client.maxConnectionsPerHost; if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { - let completer = T.CompleterOf_ConnectionInfo().new(); - this[_pending].add(dart.fn(() => { - completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); - }, T$.VoidToNull())); + let completer = T$1.CompleterOf_ConnectionInfo().new(); + this[_pending$].add(dart.fn(() => { + completer.complete(this.connect(uri, uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidTovoid())); return completer.future; } let currentBadCertificateCallback = client[_badCertificateCallback]; function callback(certificate) { - if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (certificate == null) dart.nullFailed(I[181], 2447, 35, "certificate"); if (currentBadCertificateCallback == null) return false; return currentBadCertificateCallback(certificate, uriHost, uriPort); } - dart.fn(callback, T.X509CertificateTobool()); - let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + dart.fn(callback, T$1.X509CertificateTobool()); + let connectionTask = null; + let cf = this.connectionFactory; + if (cf != null) { + if (dart.test(proxy.isDirect)) { + connectionTask = cf(uri, null, null); + } else { + connectionTask = cf(uri, this.host, this.port); + } + } else { + connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback, keyLog: client[_keyLog]}) : io.Socket.startConnect(this.host, this.port); + } this[_connecting] = dart.notNull(this[_connecting]) + 1; return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { - if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + if (task == null) dart.nullFailed(I[181], 2469, 56, "task"); this[_socketTasks].add(task); let socketFuture = task.socket; let connectionTimeout = client.connectionTimeout; @@ -131447,25 +143405,28 @@ define([], (function load__dart_sdk() { socketFuture = socketFuture.timeout(connectionTimeout); } return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 2476, 33, "socket"); this[_connecting] = dart.notNull(this[_connecting]) - 1; - dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); - let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { + socket.setOption(io.SocketOption.tcpNoDelay, true); + } + let connection = new _http._HttpClientConnection.new(this.key, socket, client, false, this.context); if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { connection[_dispose] = true; return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { - if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + if (tunnel == null) dart.nullFailed(I[181], 2487, 22, "tunnel"); client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(tunnel, proxy); - }, T._HttpClientConnectionTo_ConnectionInfo())); + }, T$1._HttpClientConnectionTo_ConnectionInfo())); } else { this.addNewActive(connection); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(connection, proxy); } - }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { if (async.TimeoutException.is(error)) { - if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2506, 18, "connectionTimeout != null"); this[_connecting] = dart.notNull(this[_connecting]) - 1; this[_socketTasks].remove(task); task.cancel(); @@ -131475,27 +143436,28 @@ define([], (function load__dart_sdk() { this[_checkPending](); dart.throw(error); }, T$0.dynamicToNever())}); - }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { this[_connecting] = dart.notNull(this[_connecting]) - 1; dart.throw(error); }, T$0.dynamicToNever())}); } }; - (_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { - if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); - if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); - if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); - this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); - this[_pending] = new collection.ListQueue.new(); + (_http._ConnectionTarget.new = function(key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + this[_idle] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T$1._HashSetOfConnectionTaskOfSocket()).new(); + this[_pending$] = new (T$1.ListQueueOfVoidTovoid()).new(); this[_connecting] = 0; this.key = key; this.host = host; this.port = port; this.isSecure = isSecure; this.context = context; + this.connectionFactory = connectionFactory; ; }).prototype = _http._ConnectionTarget.prototype; dart.addTypeTests(_http._ConnectionTarget); @@ -131508,7 +143470,7 @@ define([], (function load__dart_sdk() { returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), close: dart.fnType(dart.void, [core.bool]), - connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) })); dart.setGetterSignature(_http._ConnectionTarget, () => ({ __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), @@ -131524,20 +143486,24 @@ define([], (function load__dart_sdk() { port: dart.finalFieldType(core.int), isSecure: dart.finalFieldType(core.bool), context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + connectionFactory: dart.finalFieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), - [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), - [_pending]: dart.finalFieldType(collection.Queue), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask$(io.Socket))), + [_pending$]: dart.finalFieldType(collection.ListQueue$(dart.fnType(dart.void, []))), [_connecting]: dart.fieldType(core.int) })); var _closing = dart.privateName(_http, "_closing"); var _closingForcefully = dart.privateName(_http, "_closingForcefully"); var _connectionTargets = dart.privateName(_http, "_connectionTargets"); var _credentials = dart.privateName(_http, "_credentials"); + var _connectionFactory = dart.privateName(_http, "_connectionFactory"); var _findProxy = dart.privateName(_http, "_findProxy"); var _idleTimeout = dart.privateName(_http, "_idleTimeout"); var _openUrl = dart.privateName(_http, "_openUrl"); var _closeConnections = dart.privateName(_http, "_closeConnections"); + var _isLoopback = dart.privateName(_http, "_isLoopback"); + var _isValidToken = dart.privateName(_http, "_isValidToken"); var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); var _Proxy_password = dart.privateName(_http, "_Proxy.password"); var _Proxy_username = dart.privateName(_http, "_Proxy.username"); @@ -131549,8 +143515,11 @@ define([], (function load__dart_sdk() { get idleTimeout() { return this[_idleTimeout]; } + static ['_#new#tearOff'](_context) { + return new _http._HttpClient.new(_context); + } set idleTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 2558, 33, "timeout"); this[_idleTimeout] = timeout; for (let c of this[_connectionTargets][$values]) { for (let idle of c[_idle]) { @@ -131562,11 +143531,14 @@ define([], (function load__dart_sdk() { set badCertificateCallback(callback) { this[_badCertificateCallback] = callback; } + set keyLog(callback) { + this[_keyLog] = callback; + } open(method, host, port, path) { - if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); - if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); - if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); - if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + if (method == null) dart.nullFailed(I[181], 2579, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2579, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2579, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2579, 52, "path"); let fragmentStart = path.length; let queryStart = path.length; for (let i = path.length - 1; i >= 0; i = i - 1) { @@ -131587,142 +143559,175 @@ define([], (function load__dart_sdk() { return this[_openUrl](method, uri); } openUrl(method, url) { - if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); - if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + if (method == null) dart.nullFailed(I[181], 2603, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2603, 56, "url"); return this[_openUrl](method, url); } get(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2606, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2606, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2606, 63, "path"); return this.open("get", host, port, path); } getUrl(url) { - if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2609, 40, "url"); return this[_openUrl]("get", url); } post(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2611, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2611, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2611, 64, "path"); return this.open("post", host, port, path); } postUrl(url) { - if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2614, 41, "url"); return this[_openUrl]("post", url); } put(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2616, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2616, 63, "path"); return this.open("put", host, port, path); } putUrl(url) { - if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2619, 40, "url"); return this[_openUrl]("put", url); } delete(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); - if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); - if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + if (host == null) dart.nullFailed(I[181], 2621, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2621, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2621, 66, "path"); return this.open("delete", host, port, path); } deleteUrl(url) { - if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + if (url == null) dart.nullFailed(I[181], 2624, 43, "url"); return this[_openUrl]("delete", url); } head(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2626, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2626, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2626, 64, "path"); return this.open("head", host, port, path); } headUrl(url) { - if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2629, 41, "url"); return this[_openUrl]("head", url); } patch(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); - if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); - if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + if (host == null) dart.nullFailed(I[181], 2631, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2631, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2631, 65, "path"); return this.open("patch", host, port, path); } patchUrl(url) { - if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + if (url == null) dart.nullFailed(I[181], 2634, 42, "url"); return this[_openUrl]("patch", url); } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + if (force == null) dart.nullFailed(I[181], 2636, 20, "force"); this[_closing] = true; this[_closingForcefully] = force; this[_closeConnections](this[_closingForcefully]); if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + if (s == null) dart.nullFailed(I[181], 2640, 44, "s"); return s.hasIdle; - }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + }, T$1._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2640, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + if (s == null) dart.nullFailed(I[181], 2642, 51, "s"); return s[_active][$isNotEmpty]; - }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + }, T$1._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2642, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); } set authenticate(f) { this[_authenticate] = f; } addCredentials(url, realm, cr) { - if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); - if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); - if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + if (url == null) dart.nullFailed(I[181], 2650, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2650, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2650, 68, "cr"); this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); } set authenticateProxy(f) { this[_authenticateProxy] = f; } addProxyCredentials(host, port, realm, cr) { - if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); - if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); - if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + if (host == null) dart.nullFailed(I[181], 2663, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2663, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2663, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2663, 66, "cr"); this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); } + set connectionFactory(f) { + return this[_connectionFactory] = f; + } set findProxy(f) { return this[_findProxy] = f; } + static _startRequestTimelineEvent(timeline, method, uri) { + let t271; + if (method == null) dart.nullFailed(I[181], 2677, 38, "method"); + if (uri == null) dart.nullFailed(I[181], 2677, 50, "uri"); + t271 = timeline; + t271 == null ? null : t271.start("HTTP CLIENT " + method[$toUpperCase](), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(uri)])}); + } + [_isLoopback](host) { + if (host == null) dart.nullFailed(I[181], 2684, 27, "host"); + if (host[$isEmpty]) return false; + if ("localhost" === host) return true; + try { + return io.InternetAddress.new(host).isLoopback; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + return false; + } else + throw e; + } + } + [_isValidToken](token) { + if (token == null) dart.nullFailed(I[181], 2694, 29, "token"); + _internal.checkNotNullable(core.String, token, "token"); + let _validChars = " ! #$%&' *+ -. 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ ^_`abcdefghijklmnopqrstuvwxyz | ~ "; + for (let codeUnit of token[$codeUnits]) { + if (dart.notNull(codeUnit) >= _validChars.length || _validChars[$codeUnitAt](codeUnit) === 32) { + return false; + } + } + return true; + } [_openUrl](method, uri) { - if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); - if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (method == null) dart.nullFailed(I[181], 2718, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2718, 58, "uri"); if (dart.test(this[_closing])) { dart.throw(new core.StateError.new("Client is closed")); } uri = uri.removeFragment(); - if (method == null) { - dart.throw(new core.ArgumentError.new(method)); + if (!dart.test(this[_isValidToken](method))) { + dart.throw(new core.ArgumentError.value(method, "method")); } if (method !== "CONNECT") { if (uri.host[$isEmpty]) { dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); - } else if (uri.scheme !== "http" && uri.scheme !== "https") { + } else if (this[_connectionFactory] == null && !dart.test(uri.isScheme("http")) && !dart.test(uri.isScheme("https"))) { dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); } } + _http._httpConnectionHook(uri); let isSecure = uri.isScheme("https"); - if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { - dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); - } let port = uri.port; if (port === 0) { port = dart.test(isSecure) ? 443 : 80; } - let proxyConf = C[475] || CT.C475; + let proxyConf = C[487] || CT.C487; let findProxy = this[_findProxy]; if (findProxy != null) { try { - proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + proxyConf = new _http._ProxyConfiguration.new(findProxy(uri)); } catch (e) { let error = dart.getThrown(e); let stackTrace = dart.stackTrace(e); if (core.Object.is(error)) { - return T.FutureOf_HttpClientRequest().error(error, stackTrace); + return T$1.FutureOf_HttpClientRequest().error(error, stackTrace); } else throw e; } @@ -131731,61 +143736,78 @@ define([], (function load__dart_sdk() { if (dart.test(_http.HttpClient.enableTimelineLogging)) { profileData = _http.HttpProfiler.startRequest(method, uri); } - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { - if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2767, 32, "info"); function send(info) { - let t297; - if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); - t297 = profileData; - t297 == null ? null : t297.requestEvent("Connection established"); + let t274; + if (info == null) dart.nullFailed(I[181], 2768, 47, "info"); + t274 = profileData; + t274 == null ? null : t274.requestEvent("Connection established"); return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); } - dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + dart.fn(send, T$1._ConnectionInfoTo_HttpClientRequest()); if (dart.test(info.connection.closed)) { - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); } return send(info); - }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { - let t297; - t297 = profileData; - t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + }, T$1._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t274; + t274 = profileData; + t274 == null ? null : t274.finishRequestWithError(dart.toString(error)); dart.throw(error); }, T$0.dynamicToNever())}); } - [_openUrlFromRequest](method, uri, previous) { - if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); - if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); - if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + static _isSubdomain(subdomain, domain) { + if (subdomain == null) dart.nullFailed(I[181], 2788, 32, "subdomain"); + if (domain == null) dart.nullFailed(I[181], 2788, 47, "domain"); + return dart.test(subdomain.isScheme(domain.scheme)) && subdomain.port == domain.port && (subdomain.host == domain.host || subdomain.host[$endsWith]("." + dart.notNull(domain.host))); + } + static shouldCopyHeaderOnRedirect(headerKey, originalUrl, redirectUri) { + if (headerKey == null) dart.nullFailed(I[181], 2797, 14, "headerKey"); + if (originalUrl == null) dart.nullFailed(I[181], 2797, 29, "originalUrl"); + if (redirectUri == null) dart.nullFailed(I[181], 2797, 46, "redirectUri"); + if (dart.test(_http._HttpClient._isSubdomain(redirectUri, originalUrl))) { + return true; + } + let nonRedirectHeaders = C[490] || CT.C490; + return !dart.test(nonRedirectHeaders[$contains](headerKey[$toLowerCase]())); + } + [_openUrlFromRequest](method, uri, previous, opts) { + if (method == null) dart.nullFailed(I[181], 2812, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2812, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2812, 50, "previous"); + let isRedirect = opts && 'isRedirect' in opts ? opts.isRedirect : null; + if (isRedirect == null) dart.nullFailed(I[181], 2813, 22, "isRedirect"); let resolved = previous.uri.resolveUri(uri); return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { - let t297, t297$; - if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); - t297 = request; + let t274, t274$; + if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); + t274 = request; (() => { - t297.followRedirects = previous.followRedirects; - t297.maxRedirects = previous.maxRedirects; - return t297; + t274.followRedirects = previous.followRedirects; + t274.maxRedirects = previous.maxRedirects; + return t274; })(); for (let header of previous.headers[_headers][$keys]) { - if (request.headers._get(header) == null) { + if (request.headers._get(header) == null && (!dart.test(isRedirect) || dart.test(_http._HttpClient.shouldCopyHeaderOnRedirect(header, resolved, previous.uri)))) { request.headers.set(header, dart.nullCheck(previous.headers._get(header))); } } - t297$ = request; + t274$ = request; return (() => { - t297$.headers.chunkedTransferEncoding = false; - t297$.contentLength = 0; - return t297$; + t274$.headers.chunkedTransferEncoding = false; + t274$.contentLength = 0; + return t274$; })(); - }, T._HttpClientRequestTo_HttpClientRequest())); + }, T$1._HttpClientRequestTo_HttpClientRequest())); } [_returnConnection](connection) { - if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2838, 48, "connection"); dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); this[_connectionsChanged](); } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2844, 48, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131797,7 +143819,7 @@ define([], (function load__dart_sdk() { } } [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131813,38 +143835,39 @@ define([], (function load__dart_sdk() { } } [_closeConnections](force) { - if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + if (force == null) dart.nullFailed(I[181], 2876, 31, "force"); for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { connectionTarget.close(force); } } [_getConnectionTarget](host, port, isSecure) { - if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); - if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2882, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2882, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2882, 70, "isSecure"); let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); - return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); - } - [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); - if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); - if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0], this[_connectionFactory]), T$1.VoidTo_ConnectionTarget())); + } + [_getConnection](uri, uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uri == null) dart.nullFailed(I[181], 2892, 11, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2893, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2894, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2895, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2896, 12, "isSecure"); let proxies = proxyConf.proxies[$iterator]; - const connect = error => { - if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + const connect = (error, stackTrace) => { + if (!dart.test(proxies.moveNext())) return T$1.FutureOf_ConnectionInfo().error(core.Object.as(error), T$.StackTraceN().as(stackTrace)); let proxy = proxies.current; let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); - return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + return this[_getConnectionTarget](host, port, isSecure).connect(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); }; - dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); - return connect(new _http.HttpException.new("No proxies given")); + dart.fn(connect, T$1.dynamicAnddynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given"), core.StackTrace.current); } [_findCredentials](url, scheme = null) { - if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); - let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { - if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + if (url == null) dart.nullFailed(I[181], 2914, 42, "url"); + let cr = this[_credentials][$fold](T$1._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2917, 58, "value"); let siteCredentials = _http._SiteCredentials.as(value); if (dart.test(siteCredentials.applies(url, scheme))) { if (prev == null) return value; @@ -131852,11 +143875,11 @@ define([], (function load__dart_sdk() { } else { return prev; } - }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); return cr; } [_findProxyCredentials](proxy, scheme = null) { - if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 2931, 51, "proxy"); for (let current of this[_proxyCredentials]) { if (dart.test(current.applies(proxy, scheme))) { return current; @@ -131865,23 +143888,23 @@ define([], (function load__dart_sdk() { return null; } [_removeCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + if (cr == null) dart.nullFailed(I[181], 2942, 40, "cr"); let index = this[_credentials][$indexOf](cr); if (index !== -1) { this[_credentials][$removeAt](index); } } [_removeProxyCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + if (cr == null) dart.nullFailed(I[181], 2949, 45, "cr"); this[_proxyCredentials][$remove](cr); } static _findProxyFromEnvironment(url, environment) { - let t297, t297$, t297$0; - if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + let t274, t274$, t274$0; + if (url == null) dart.nullFailed(I[181], 2954, 11, "url"); function checkNoProxy(option) { if (option == null) return null; let names = option[$split](",")[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + if (s == null) dart.nullFailed(I[181], 2957, 55, "s"); return s[$trim](); }, T$.StringToString()))[$iterator]; while (dart.test(names.moveNext())) { @@ -131892,7 +143915,7 @@ define([], (function load__dart_sdk() { } return null; } - dart.fn(checkNoProxy, T.StringNToStringN()); + dart.fn(checkNoProxy, T$1.StringNToStringN()); function checkProxy(option) { if (option == null) return null; option = option[$trim](); @@ -131909,26 +143932,26 @@ define([], (function load__dart_sdk() { let pos = option[$lastIndexOf](":"); if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; } else { - if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + if (!option[$contains](":")) option = dart.str(option) + ":1080"; } return "PROXY " + dart.str(option); } - dart.fn(checkProxy, T.StringNToStringN()); - if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + dart.fn(checkProxy, T$1.StringNToStringN()); + environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; let proxyCfg = null; - let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); proxyCfg = checkNoProxy(noProxy); if (proxyCfg != null) { return proxyCfg; } - if (url.scheme === "http") { - let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + if (dart.test(url.isScheme("http"))) { + let proxy = (t274$ = environment[$_get]("http_proxy"), t274$ == null ? environment[$_get]("HTTP_PROXY") : t274$); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; } - } else if (url.scheme === "https") { - let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + } else if (dart.test(url.isScheme("https"))) { + let proxy = (t274$0 = environment[$_get]("https_proxy"), t274$0 == null ? environment[$_get]("HTTPS_PROXY") : t274$0); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; @@ -131940,14 +143963,16 @@ define([], (function load__dart_sdk() { (_http._HttpClient.new = function(_context) { this[_closing] = false; this[_closingForcefully] = false; - this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); - this[_credentials] = T.JSArrayOf_Credentials().of([]); - this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_connectionTargets] = new (T$1.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T$1.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T$1.JSArrayOf_ProxyCredentials().of([]); + this[_connectionFactory] = null; this[_authenticate] = null; this[_authenticateProxy] = null; - this[_findProxy] = C[474] || CT.C474; - this[_idleTimeout] = C[453] || CT.C453; + this[_findProxy] = C[486] || CT.C486; + this[_idleTimeout] = C[466] || CT.C466; this[_badCertificateCallback] = null; + this[_keyLog] = null; this.connectionTimeout = null; this.maxConnectionsPerHost = null; this.autoUncompress = true; @@ -131977,20 +144002,23 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, [], {force: core.bool}, {}), addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_isLoopback]: dart.fnType(core.bool, [core.String]), + [_isValidToken]: dart.fnType(core.bool, [core.String]), [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), - [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest], {}, {isRedirect: core.bool}), [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionsChanged]: dart.fnType(dart.void, []), [_closeConnections]: dart.fnType(dart.void, [core.bool]), [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), - [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) })); + dart.setStaticMethodSignature(_http._HttpClient, () => ['_startRequestTimelineEvent', '_isSubdomain', 'shouldCopyHeaderOnRedirect', '_findProxyFromEnvironment']); dart.setGetterSignature(_http._HttpClient, () => ({ __proto__: dart.getGetters(_http._HttpClient.__proto__), idleTimeout: core.Duration @@ -131999,8 +144027,10 @@ define([], (function load__dart_sdk() { __proto__: dart.getSetters(_http._HttpClient.__proto__), idleTimeout: core.Duration, badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), - authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), - authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + keyLog: dart.nullable(dart.fnType(dart.dynamic, [core.String])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)])), + connectionFactory: dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)])), findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) })); dart.setLibraryUri(_http._HttpClient, I[177]); @@ -132012,21 +144042,23 @@ define([], (function load__dart_sdk() { [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_authenticate]: dart.fieldType(dart.nullable(core.Function)), - [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), - [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_connectionFactory]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), + [_authenticate]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)]))), + [_authenticateProxy]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)]))), + [_findProxy]: dart.fieldType(dart.nullable(dart.fnType(core.String, [core.Uri]))), [_idleTimeout]: dart.fieldType(core.Duration), [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + [_keyLog]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [core.String]))), connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); + dart.setStaticFieldSignature(_http._HttpClient, () => ['_platformEnvironmentCache']); dart.defineLazy(_http._HttpClient, { /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { return io.Platform.environment; - }, - set _platformEnvironmentCache(_) {} + } }, false); var _state$1 = dart.privateName(_http, "_state"); var _idleMark = dart.privateName(_http, "_idleMark"); @@ -132036,7 +144068,6 @@ define([], (function load__dart_sdk() { var _isActive = dart.privateName(_http, "_isActive"); var _isIdle = dart.privateName(_http, "_isIdle"); var _isDetached = dart.privateName(_http, "_isDetached"); - var _toJSON$ = dart.privateName(_http, "_toJSON"); const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; (LinkedListEntry__ServiceObject$36.new = function() { _http._ServiceObject.new.call(this); @@ -132044,6 +144075,11 @@ define([], (function load__dart_sdk() { }).prototype = LinkedListEntry__ServiceObject$36.prototype; dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + static ['_#new#tearOff'](_socket, _httpServer) { + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); + return new _http._HttpConnection.new(_socket, _httpServer); + } markIdle() { this[_idleMark] = true; } @@ -132053,7 +144089,7 @@ define([], (function load__dart_sdk() { destroy() { if (this[_state$1] === 2 || this[_state$1] === 3) return; this[_state$1] = 2; - dart.dsend(this[_socket$0], 'destroy', []); + this[_socket$0].destroy(); this[_httpServer$][_connectionClosed](this); _http._HttpConnection._connections[$remove](this[_serviceId$]); } @@ -132063,11 +144099,11 @@ define([], (function load__dart_sdk() { let detachedIncoming = this[_httpParser].detachIncoming(); return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { _http._HttpConnection._connections[$remove](this[_serviceId$]); - return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); - }, T.dynamicTo_DetachedSocket())); + return new _http._DetachedSocket.new(this[_socket$0], detachedIncoming); + }, T$1.dynamicTo_DetachedSocket())); } get connectionInfo() { - return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + return _http._HttpConnectionInfo.create(this[_socket$0]); } get [_isActive]() { return this[_state$1] === 0; @@ -132087,55 +144123,10 @@ define([], (function load__dart_sdk() { get [_serviceTypeName$]() { return "HttpServerConnection"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); - let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - r[$_set]("server", this[_httpServer$][_toJSON$](true)); - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - switch (this[_state$1]) { - case 0: - { - r[$_set]("state", "Active"); - break; - } - case 1: - { - r[$_set]("state", "Idle"); - break; - } - case 2: - { - r[$_set]("state", "Closing"); - break; - } - case 3: - { - r[$_set]("state", "Detached"); - break; - } - default: - { - r[$_set]("state", "Unknown"); - break; - } - } - return r; - } }; (_http._HttpConnection.new = function(_socket, _httpServer) { - if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); this[_state$1] = 1; this[_subscription$0] = null; this[_idleMark] = false; @@ -132145,23 +144136,24 @@ define([], (function load__dart_sdk() { this[_httpParser] = _http._HttpParser.requestParser(); _http._HttpConnection.__proto__.new.call(this); _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); this[_httpServer$][_markActive](this); incoming.dataDone.then(core.Null, dart.fn(closing => { - if (dart.dtest(closing)) this.destroy(); - }, T$.dynamicToNull())); + if (closing == null) dart.nullFailed(I[181], 3049, 31, "closing"); + if (dart.test(closing)) this.destroy(); + }, T$.boolToNull())); dart.nullCheck(this[_subscription$0]).pause(); this[_state$1] = 0; - let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); if (incoming.statusCode === 400) { response.statusCode = 400; } let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + if (_ == null) dart.nullFailed(I[181], 3068, 43, "_"); response.deadline = null; if (this[_state$1] === 3) return; if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { @@ -132172,13 +144164,13 @@ define([], (function load__dart_sdk() { } else { this.destroy(); } - }, T.SocketToNull()), {onError: dart.fn(_ => { + }, T$1.SocketToNull()), {onError: dart.fn(_ => { this.destroy(); }, T$.dynamicToNull())}); outgoing.ignoreBody = request.method === "HEAD"; response[_httpRequest$] = request; this[_httpServer$][_handleRequest](request); - }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { this.destroy(); }, T$.VoidTovoid()), onError: dart.fn(error => { this.destroy(); @@ -132190,8 +144182,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_http._HttpConnection.__proto__), markIdle: dart.fnType(dart.void, []), destroy: dart.fnType(dart.void, []), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + detachSocket: dart.fnType(async.Future$(io.Socket), []) })); dart.setGetterSignature(_http._HttpConnection, () => ({ __proto__: dart.getGetters(_http._HttpConnection.__proto__), @@ -132207,7 +144198,7 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http._HttpConnection, I[177]); dart.setFieldSignature(_http._HttpConnection, () => ({ __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(dart.dynamic), + [_socket$0]: dart.finalFieldType(io.Socket), [_httpServer$]: dart.finalFieldType(_http._HttpServer), [_httpParser]: dart.finalFieldType(_http._HttpParser), [_state$1]: dart.fieldType(core.int), @@ -132215,6 +144206,7 @@ define([], (function load__dart_sdk() { [_idleMark]: dart.fieldType(core.bool), [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) })); + dart.setStaticFieldSignature(_http._HttpConnection, () => ['_ACTIVE', '_IDLE', '_CLOSING', '_DETACHED', '_connections']); dart.defineLazy(_http._HttpConnection, { /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { return 0; @@ -132229,10 +144221,25 @@ define([], (function load__dart_sdk() { return 3; }, /*_http._HttpConnection._connections*/get _connections() { - return new (T.IdentityMapOfint$_HttpConnection()).new(); - }, - set _connections(_) {} + return new (T$1.IdentityMapOfint$_HttpConnection()).new(); + } }, false); + const _is_ServerSocketBase_default = Symbol('_is_ServerSocketBase_default'); + _http.ServerSocketBase$ = dart.generic(T => { + class ServerSocketBase extends core.Object {} + (ServerSocketBase.new = function() { + ; + }).prototype = ServerSocketBase.prototype; + ServerSocketBase.prototype[dart.isStream] = true; + dart.addTypeTests(ServerSocketBase); + ServerSocketBase.prototype[_is_ServerSocketBase_default] = true; + dart.addTypeCaches(ServerSocketBase); + ServerSocketBase[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ServerSocketBase, I[177]); + return ServerSocketBase; + }); + _http.ServerSocketBase = _http.ServerSocketBase$(); + dart.addTypeTests(_http.ServerSocketBase, _is_ServerSocketBase_default); var _activeConnections = dart.privateName(_http, "_activeConnections"); var _idleConnections = dart.privateName(_http, "_idleConnections"); var _serverSocket$ = dart.privateName(_http, "_serverSocket"); @@ -132250,25 +144257,34 @@ define([], (function load__dart_sdk() { dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { static bind(address, port, backlog, v6Only, shared) { - if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); - if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); - if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + if (port == null) dart.nullFailed(I[181], 3162, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3162, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3162, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3162, 57, "shared"); return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3165, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.ServerSocketTo_HttpServer())); + }, T$1.ServerSocketTo_HttpServer())); } static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { - if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); - if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); - if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); - if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + if (port == null) dart.nullFailed(I[181], 3172, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3174, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3175, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3176, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3177, 12, "shared"); return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3183, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.SecureServerSocketTo_HttpServer())); + }, T$1.SecureServerSocketTo_HttpServer())); + } + static ['_#_#tearOff'](_serverSocket, _closeServer) { + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); + return new _http._HttpServer.__(_serverSocket, _closeServer); + } + static ['_#listenOn#tearOff'](_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); + return new _http._HttpServer.listenOn(_serverSocket); } static _initDefaultResponseHeaders() { let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); @@ -132290,7 +144306,7 @@ define([], (function load__dart_sdk() { this[_idleTimeout] = duration; if (duration != null) { this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); for (let idle of this[_idleConnections][$toList]()) { if (dart.test(idle.isMarkedIdle)) { idle.destroy(); @@ -132305,12 +144321,14 @@ define([], (function load__dart_sdk() { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + this[_serverSocket$].listen(dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3239, 34, "socket"); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { socket.setOption(io.SocketOption.tcpNoDelay, true); - let connection = new _http._HttpConnection.new(socket, this); - this[_idleConnections].add(connection); - }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + } + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { if (!io.HandshakeException.is(error)) { this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); } @@ -132319,11 +144337,11 @@ define([], (function load__dart_sdk() { } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); this.closed = true; let result = null; - if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { - result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + if (dart.test(this[_closeServer$])) { + result = this[_serverSocket$].close(); } else { result = async.Future.value(); } @@ -132332,7 +144350,7 @@ define([], (function load__dart_sdk() { for (let c of this[_activeConnections][$toList]()) { c.destroy(); } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); } for (let c of this[_idleConnections][$toList]()) { c.destroy(); @@ -132350,18 +144368,18 @@ define([], (function load__dart_sdk() { } get port() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return core.int.as(dart.dload(this[_serverSocket$], 'port')); + return this[_serverSocket$].port; } get address() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + return this[_serverSocket$].address; } set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); this[_sessionManager$].sessionTimeout = timeout; } [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); if (!dart.test(this.closed)) { this[_controller$0].add(request); } else { @@ -132369,47 +144387,44 @@ define([], (function load__dart_sdk() { } } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); connection.unlink(); this[_maybePerformCleanup$](); } [_markIdle](connection) { - if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + if (connection == null) dart.nullFailed(I[181], 3319, 34, "connection"); this[_activeConnections].remove(connection); this[_idleConnections].add(connection); } [_markActive](connection) { - if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + if (connection == null) dart.nullFailed(I[181], 3324, 36, "connection"); this[_idleConnections].remove(connection); this[_activeConnections].add(connection); } get [_sessionManager$]() { - let t298; - t298 = this[_sessionManagerInstance]; - return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + let t274; + t274 = this[_sessionManagerInstance]; + return t274 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t274; } connectionsInfo() { + let t274, t274$, t274$0; let result = new _http.HttpConnectionsInfo.new(); result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); - this[_activeConnections].forEach(dart.fn(conn => { - let t298, t298$; - if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + for (let conn of this[_activeConnections]) { if (dart.test(conn[_isActive])) { - t298 = result; - t298.active = dart.notNull(t298.active) + 1; + t274 = result; + t274.active = dart.notNull(t274.active) + 1; } else { - if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); - t298$ = result; - t298$.closing = dart.notNull(t298$.closing) + 1; - } - }, T._HttpConnectionTovoid())); - this[_idleConnections].forEach(dart.fn(conn => { - let t298; - if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); - t298 = result; - t298.idle = dart.notNull(t298.idle) + 1; - if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); - }, T._HttpConnectionTovoid())); + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3340, 16, "conn._isClosing"); + t274$ = result; + t274$.closing = dart.notNull(t274$.closing) + 1; + } + } + for (let conn of this[_idleConnections]) { + t274$0 = result; + t274$0.idle = dart.notNull(t274$0.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3346, 14, "conn._isIdle"); + } return result; } get [_serviceTypePath$]() { @@ -132418,37 +144433,10 @@ define([], (function load__dart_sdk() { get [_serviceTypeName$]() { return "HttpServer"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - r[$_set]("port", this.port); - r[$_set]("address", this.address.host); - r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("closed", this.closed); - return r; - } }; (_http._HttpServer.__ = function(_serverSocket, _closeServer) { - if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132456,17 +144444,18 @@ define([], (function load__dart_sdk() { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = _closeServer; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; (_http._HttpServer.listenOn = function(_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132474,14 +144463,14 @@ define([], (function load__dart_sdk() { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = false; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; dart.addTypeTests(_http._HttpServer); @@ -132496,9 +144485,9 @@ define([], (function load__dart_sdk() { [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), - connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []) })); + dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); dart.setGetterSignature(_http._HttpServer, () => ({ __proto__: dart.getGetters(_http._HttpServer.__proto__), idleTimeout: dart.nullable(core.Duration), @@ -132523,17 +144512,17 @@ define([], (function load__dart_sdk() { [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), closed: dart.fieldType(core.bool), - [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_serverSocket$]: dart.finalFieldType(_http.ServerSocketBase$(io.Socket)), [_closeServer$]: dart.finalFieldType(core.bool), [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), - [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.HttpRequest)) })); + dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); dart.defineLazy(_http._HttpServer, { /*_http._HttpServer._servers*/get _servers() { - return new (T.LinkedMapOfint$_HttpServer()).new(); - }, - set _servers(_) {} + return new (T$1.IdentityMapOfint$_HttpServer()).new(); + } }, false); const proxies = _ProxyConfiguration_proxies; _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { @@ -132543,18 +144532,24 @@ define([], (function load__dart_sdk() { set proxies(value) { super.proxies = value; } + static ['_#new#tearOff'](configuration) { + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + return new _http._ProxyConfiguration.new(configuration); + } + static ['_#direct#tearOff']() { + return new _http._ProxyConfiguration.direct(); + } }; (_http._ProxyConfiguration.new = function(configuration) { - if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); - this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + this[proxies] = T$1.JSArrayOf_Proxy().of([]); if (configuration == null) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } let list = configuration[$split](";"); - list[$forEach](dart.fn(proxy => { - if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + for (let proxy of list) { proxy = proxy[$trim](); - if (!proxy[$isEmpty]) { + if (proxy[$isNotEmpty]) { if (proxy[$startsWith]("PROXY ")) { let username = null; let password = null; @@ -132582,12 +144577,12 @@ define([], (function load__dart_sdk() { let port = null; try { port = core.int.parse(portString); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.FormatException.is(e)) { + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); } else - throw e$; + throw e; } this.proxies[$add](new _http._Proxy.new(host, port, username, password)); } else if (proxy[$trim]() === "DIRECT") { @@ -132596,10 +144591,10 @@ define([], (function load__dart_sdk() { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } } - }, T$.StringTovoid())); + } }).prototype = _http._ProxyConfiguration.prototype; (_http._ProxyConfiguration.direct = function() { - this[proxies] = C[476] || CT.C476; + this[proxies] = C[488] || CT.C488; ; }).prototype = _http._ProxyConfiguration.prototype; dart.addTypeTests(_http._ProxyConfiguration); @@ -132609,6 +144604,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), proxies: dart.finalFieldType(core.List$(_http._Proxy)) })); + dart.setStaticFieldSignature(_http._ProxyConfiguration, () => ['PROXY_PREFIX', 'DIRECT_PREFIX']); dart.defineLazy(_http._ProxyConfiguration, { /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { return "PROXY "; @@ -132653,13 +144649,21 @@ define([], (function load__dart_sdk() { set isDirect(value) { super.isDirect = value; } + static ['_#new#tearOff'](host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); + return new _http._Proxy.new(host, port, username, password); + } + static ['_#direct#tearOff']() { + return new _http._Proxy.direct(); + } get isAuthenticated() { return this.username != null; } }; (_http._Proxy.new = function(host, port, username, password) { - if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); this[host$] = host; this[port$1] = port; this[username$] = username; @@ -132691,8 +144695,14 @@ define([], (function load__dart_sdk() { isDirect: dart.finalFieldType(core.bool) })); _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static ['_#new#tearOff'](remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); + return new _http._HttpConnectionInfo.new(remoteAddress, remotePort, localPort); + } static create(socket) { - if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) dart.nullFailed(I[181], 3457, 45, "socket"); if (socket == null) return null; try { return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); @@ -132706,9 +144716,9 @@ define([], (function load__dart_sdk() { } }; (_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { - if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); - if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); - if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); this.remoteAddress = remoteAddress; this.remotePort = remotePort; this.localPort = localPort; @@ -132717,6 +144727,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http._HttpConnectionInfo); dart.addTypeCaches(_http._HttpConnectionInfo); _http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; + dart.setStaticMethodSignature(_http._HttpConnectionInfo, () => ['create']); dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), @@ -132724,7 +144735,13 @@ define([], (function load__dart_sdk() { remotePort: dart.fieldType(core.int), localPort: dart.fieldType(core.int) })); + var _detachRaw$ = dart.privateName(_http, "_detachRaw"); _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); + return new _http._DetachedSocket.new(_socket, _incoming); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -132735,7 +144752,7 @@ define([], (function load__dart_sdk() { return this[_socket$0].encoding; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); this[_socket$0].encoding = value; } write(obj) { @@ -132745,26 +144762,26 @@ define([], (function load__dart_sdk() { this[_socket$0].writeln(obj); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 3493, 26, "charCode"); this[_socket$0].writeCharCode(charCode); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 3497, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3497, 43, "separator"); this[_socket$0].writeAll(objects, separator); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 3501, 22, "bytes"); this[_socket$0].add(bytes); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + if (error == null) dart.nullFailed(I[181], 3505, 24, "error"); return this[_socket$0].addError(error, stackTrace); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 3508, 38, "stream"); return this[_socket$0].addStream(stream); } destroy() { @@ -132792,38 +144809,38 @@ define([], (function load__dart_sdk() { return this[_socket$0].remotePort; } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); - if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + if (option == null) dart.nullFailed(I[181], 3530, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3530, 44, "enabled"); return this[_socket$0].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + if (option == null) dart.nullFailed(I[181], 3534, 42, "option"); return this[_socket$0].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); this[_socket$0].setRawOption(option); } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); - return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); - } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); + } + [_detachRaw]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[491] || CT.C491, null, []))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 3467, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._DetachedSocket.new = function(_socket, _incoming) { - if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); - if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); this[_socket$0] = _socket; this[_incoming$] = _incoming; _http._DetachedSocket.__proto__.new.call(this); @@ -132848,7 +144865,7 @@ define([], (function load__dart_sdk() { setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) })); dart.setGetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getGetters(_http._DetachedSocket.__proto__), @@ -132858,13 +144875,13 @@ define([], (function load__dart_sdk() { address: io.InternetAddress, remoteAddress: io.InternetAddress, remotePort: core.int, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getSetters(_http._DetachedSocket.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._DetachedSocket, I[177]); @@ -132882,12 +144899,20 @@ define([], (function load__dart_sdk() { set [_scheme](value) { super[_scheme] = value; } + static ['_#new#tearOff'](_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); + return new _http._AuthenticationScheme.new(_scheme); + } static fromString(scheme) { - if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; return _http._AuthenticationScheme.UNKNOWN; } + static ['_#fromString#tearOff'](scheme) { + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); + return _http._AuthenticationScheme.fromString(scheme); + } toString() { if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; @@ -132895,27 +144920,29 @@ define([], (function load__dart_sdk() { } }; (_http._AuthenticationScheme.new = function(_scheme) { - if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); this[_scheme$] = _scheme; ; }).prototype = _http._AuthenticationScheme.prototype; dart.addTypeTests(_http._AuthenticationScheme); dart.addTypeCaches(_http._AuthenticationScheme); + dart.setStaticMethodSignature(_http._AuthenticationScheme, () => ['fromString']); dart.setLibraryUri(_http._AuthenticationScheme, I[177]); dart.setFieldSignature(_http._AuthenticationScheme, () => ({ __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), [_scheme]: dart.finalFieldType(core.int) })); + dart.setStaticFieldSignature(_http._AuthenticationScheme, () => ['UNKNOWN', 'BASIC', 'DIGEST']); dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); dart.defineLazy(_http._AuthenticationScheme, { /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { - return C[478] || CT.C478; + return C[492] || CT.C492; }, /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[479] || CT.C479; + return C[493] || CT.C493; }, /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[480] || CT.C480; + return C[494] || CT.C494; } }, false); _http._Credentials = class _Credentials extends core.Object { @@ -132924,9 +144951,9 @@ define([], (function load__dart_sdk() { } }; (_http._Credentials.new = function(credentials, realm) { - let t301; - if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); - if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + let t277; + if (credentials == null) dart.nullFailed(I[181], 3577, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3577, 39, "realm"); this.used = false; this.ha1 = null; this.nonce = null; @@ -132937,13 +144964,13 @@ define([], (function load__dart_sdk() { this.realm = realm; if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { let creds = _http._HttpClientDigestCredentials.as(this.credentials); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(convert.utf8.encode(creds.username)); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(this.realm[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(convert.utf8.encode(creds.password)); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(convert.utf8.encode(creds.username)); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(this.realm[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(convert.utf8.encode(creds.password)); + return t277; })()); this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); } @@ -132967,8 +144994,13 @@ define([], (function load__dart_sdk() { nonceCount: dart.fieldType(dart.nullable(core.int)) })); _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + static ['_#new#tearOff'](uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); + return new _http._SiteCredentials.new(uri, realm, creds); + } applies(uri, scheme) { - if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (uri == null) dart.nullFailed(I[181], 3607, 20, "uri"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; if (uri.host != this.uri.host) return false; let thisPort = this.uri.port === 0 ? 80 : this.uri.port; @@ -132977,7 +145009,7 @@ define([], (function load__dart_sdk() { return uri.path[$startsWith](this.uri.path); } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -132986,8 +145018,8 @@ define([], (function load__dart_sdk() { } }; (_http._SiteCredentials.new = function(uri, realm, creds) { - if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); - if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); this.uri = uri; _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); ; @@ -133005,13 +145037,19 @@ define([], (function load__dart_sdk() { uri: dart.fieldType(core.Uri) })); _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + static ['_#new#tearOff'](host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); + return new _http._ProxyCredentials.new(host, port, realm, creds); + } applies(proxy, scheme) { - if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 3635, 23, "proxy"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; return proxy.host == this.host && proxy.port == this.port; } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3640, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -133019,9 +145057,9 @@ define([], (function load__dart_sdk() { } }; (_http._ProxyCredentials.new = function(host, port, realm, creds) { - if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); - if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); - if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); this.host = host; this.port = port; _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); @@ -133049,27 +145087,32 @@ define([], (function load__dart_sdk() { _http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; dart.setLibraryUri(_http._HttpClientCredentials, I[177]); _http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.BASIC; } authorization() { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); return "Basic " + dart.str(auth); } authorize(_, request) { - if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); - if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + if (_ == null) dart.nullFailed(I[181], 3676, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3676, 52, "request"); request.headers.set("authorization", this.authorization()); } authorizeProxy(_, request) { - if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); - if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + if (_ == null) dart.nullFailed(I[181], 3680, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3680, 62, "request"); request.headers.set("proxy-authorization", this.authorization()); } }; (_http._HttpClientBasicCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); this.username = username; this.password = password; ; @@ -133094,28 +145137,33 @@ define([], (function load__dart_sdk() { password: dart.fieldType(core.String) })); _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.DIGEST; } authorization(credentials, request) { - let t301, t301$, t301$0, t301$1, t301$2, t301$3; - if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); - if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let t277, t277$, t277$0, t277$1, t277$2, t277$3; + if (credentials == null) dart.nullFailed(I[181], 3694, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3694, 69, "request"); let requestUri = request[_requestUri](); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(request.method[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(requestUri[$codeUnits]); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(request.method[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(requestUri[$codeUnits]); + return t277; })()); let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); let isAuth = false; let cnonce = ""; let nc = ""; - hasher = (t301$ = new _http._MD5.new(), (() => { - t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); - t301$.add(T$.JSArrayOfint().of([58])); - return t301$; + hasher = (t277$ = new _http._MD5.new(), (() => { + t277$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t277$.add(T$.JSArrayOfint().of([58])); + return t277$; })()); if (credentials.qop === "auth") { isAuth = true; @@ -133123,64 +145171,64 @@ define([], (function load__dart_sdk() { let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; credentials.nonceCount = nonceCount; nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t301$0 = hasher; + t277$0 = hasher; (() => { - t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(nc[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(cnonce[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add("auth"[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(ha2[$codeUnits]); - return t301$0; + t277$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(nc[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(cnonce[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add("auth"[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(ha2[$codeUnits]); + return t277$0; })(); } else { - t301$1 = hasher; + t277$1 = hasher; (() => { - t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$1.add(T$.JSArrayOfint().of([58])); - t301$1.add(ha2[$codeUnits]); - return t301$1; + t277$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$1.add(T$.JSArrayOfint().of([58])); + t277$1.add(ha2[$codeUnits]); + return t277$1; })(); } let response = _http._CryptoUtils.bytesToHex(hasher.close()); - let buffer = (t301$2 = new core.StringBuffer.new(), (() => { - t301$2.write("Digest "); - t301$2.write("username=\"" + dart.str(this.username) + "\""); - t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); - t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); - t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); - t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); - return t301$2; + let buffer = (t277$2 = new core.StringBuffer.new(), (() => { + t277$2.write("Digest "); + t277$2.write("username=\"" + dart.str(this.username) + "\""); + t277$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t277$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t277$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t277$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t277$2; })()); if (isAuth) { - t301$3 = buffer; + t277$3 = buffer; (() => { - t301$3.write(", qop=\"auth\""); - t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); - t301$3.write(", nc=\"" + nc + "\""); - return t301$3; + t277$3.write(", qop=\"auth\""); + t277$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t277$3.write(", nc=\"" + nc + "\""); + return t277$3; })(); } buffer.write(", response=\"" + dart.str(response) + "\""); return dart.toString(buffer); } authorize(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); - if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + if (credentials == null) dart.nullFailed(I[181], 3749, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3749, 62, "request"); request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } authorizeProxy(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); - if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + if (credentials == null) dart.nullFailed(I[181], 3755, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3755, 56, "request"); request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } }; (_http._HttpClientDigestCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); this.username = username; this.password = password; ; @@ -133226,11 +145274,17 @@ define([], (function load__dart_sdk() { set location(value) { super.location = value; } + static ['_#new#tearOff'](statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); + return new _http._RedirectInfo.new(statusCode, method, location); + } }; (_http._RedirectInfo.new = function(statusCode, method, location) { - if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); - if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); - if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); this[statusCode$] = statusCode; this[method$] = method; this[location$] = location; @@ -133246,25 +145300,30 @@ define([], (function load__dart_sdk() { method: dart.finalFieldType(core.String), location: dart.finalFieldType(core.Uri) })); - _http._Const = class _Const extends core.Object {}; + _http._Const = class _Const extends core.Object { + static ['_#new#tearOff']() { + return new _http._Const.new(); + } + }; (_http._Const.new = function() { ; }).prototype = _http._Const.prototype; dart.addTypeTests(_http._Const); dart.addTypeCaches(_http._Const); dart.setLibraryUri(_http._Const, I[177]); + dart.setStaticFieldSignature(_http._Const, () => ['HTTP', 'HTTP1DOT', 'HTTP10', 'HTTP11', 'T', 'F', 'SEPARATOR_MAP']); dart.defineLazy(_http._Const, { /*_http._Const.HTTP*/get HTTP() { - return C[481] || CT.C481; + return C[495] || CT.C495; }, /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[482] || CT.C482; + return C[496] || CT.C496; }, /*_http._Const.HTTP10*/get HTTP10() { - return C[483] || CT.C483; + return C[497] || CT.C497; }, /*_http._Const.HTTP11*/get HTTP11() { - return C[484] || CT.C484; + return C[498] || CT.C498; }, /*_http._Const.T*/get T() { return true; @@ -133273,16 +145332,21 @@ define([], (function load__dart_sdk() { return false; }, /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[485] || CT.C485; + return C[499] || CT.C499; } }, false); - _http._CharCode = class _CharCode extends core.Object {}; + _http._CharCode = class _CharCode extends core.Object { + static ['_#new#tearOff']() { + return new _http._CharCode.new(); + } + }; (_http._CharCode.new = function() { ; }).prototype = _http._CharCode.prototype; dart.addTypeTests(_http._CharCode); dart.addTypeCaches(_http._CharCode); dart.setLibraryUri(_http._CharCode, I[177]); + dart.setStaticFieldSignature(_http._CharCode, () => ['HT', 'LF', 'CR', 'SP', 'COMMA', 'SLASH', 'ZERO', 'ONE', 'COLON', 'SEMI_COLON']); dart.defineLazy(_http._CharCode, { /*_http._CharCode.HT*/get HT() { return 9; @@ -133296,15 +145360,9 @@ define([], (function load__dart_sdk() { /*_http._CharCode.SP*/get SP() { return 32; }, - /*_http._CharCode.AMPERSAND*/get AMPERSAND() { - return 38; - }, /*_http._CharCode.COMMA*/get COMMA() { return 44; }, - /*_http._CharCode.DASH*/get DASH() { - return 45; - }, /*_http._CharCode.SLASH*/get SLASH() { return 47; }, @@ -133319,18 +145377,20 @@ define([], (function load__dart_sdk() { }, /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { return 59; - }, - /*_http._CharCode.EQUAL*/get EQUAL() { - return 61; } }, false); - _http._State = class _State extends core.Object {}; + _http._State = class _State extends core.Object { + static ['_#new#tearOff']() { + return new _http._State.new(); + } + }; (_http._State.new = function() { ; }).prototype = _http._State.prototype; dart.addTypeTests(_http._State); dart.addTypeCaches(_http._State); dart.setLibraryUri(_http._State, I[177]); + dart.setStaticFieldSignature(_http._State, () => ['START', 'METHOD_OR_RESPONSE_HTTP_VERSION', 'RESPONSE_HTTP_VERSION', 'REQUEST_LINE_METHOD', 'REQUEST_LINE_URI', 'REQUEST_LINE_HTTP_VERSION', 'REQUEST_LINE_ENDING', 'RESPONSE_LINE_STATUS_CODE', 'RESPONSE_LINE_REASON_PHRASE', 'RESPONSE_LINE_ENDING', 'HEADER_START', 'HEADER_FIELD', 'HEADER_VALUE_START', 'HEADER_VALUE', 'HEADER_VALUE_FOLD_OR_END_CR', 'HEADER_VALUE_FOLD_OR_END', 'HEADER_ENDING', 'CHUNK_SIZE_STARTING_CR', 'CHUNK_SIZE_STARTING', 'CHUNK_SIZE', 'CHUNK_SIZE_EXTENSION', 'CHUNK_SIZE_ENDING', 'CHUNKED_BODY_DONE_CR', 'CHUNKED_BODY_DONE', 'BODY', 'CLOSED', 'UPGRADED', 'FAILURE', 'FIRST_BODY_STATE']); dart.defineLazy(_http._State, { /*_http._State.START*/get START() { return 0; @@ -133420,13 +145480,18 @@ define([], (function load__dart_sdk() { return 17; } }, false); - _http._HttpVersion = class _HttpVersion extends core.Object {}; + _http._HttpVersion = class _HttpVersion extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpVersion.new(); + } + }; (_http._HttpVersion.new = function() { ; }).prototype = _http._HttpVersion.prototype; dart.addTypeTests(_http._HttpVersion); dart.addTypeCaches(_http._HttpVersion); dart.setLibraryUri(_http._HttpVersion, I[177]); + dart.setStaticFieldSignature(_http._HttpVersion, () => ['UNDETERMINED', 'HTTP10', 'HTTP11']); dart.defineLazy(_http._HttpVersion, { /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133438,13 +145503,18 @@ define([], (function load__dart_sdk() { return 2; } }, false); - _http._MessageType = class _MessageType extends core.Object {}; + _http._MessageType = class _MessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._MessageType.new(); + } + }; (_http._MessageType.new = function() { ; }).prototype = _http._MessageType.prototype; dart.addTypeTests(_http._MessageType); dart.addTypeCaches(_http._MessageType); dart.setLibraryUri(_http._MessageType, I[177]); + dart.setStaticFieldSignature(_http._MessageType, () => ['UNDETERMINED', 'REQUEST', 'RESPONSE']); dart.defineLazy(_http._MessageType, { /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133463,6 +145533,10 @@ define([], (function load__dart_sdk() { var _userOnData$ = dart.privateName(_http, "_userOnData"); var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + static ['_#new#tearOff'](_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); + return new _http._HttpDetachedStreamSubscription.new(_subscription, _injectData, _userOnData); + } get isPaused() { return this[_subscription$0].isPaused; } @@ -133507,19 +145581,19 @@ define([], (function load__dart_sdk() { if (this[_pauseCount$] !== 0) return; this[_scheduled] = true; async.scheduleMicrotask(dart.fn(() => { - let t301; + let t277; this[_scheduled] = false; if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = this[_injectData$]; + let data = dart.nullCheck(this[_injectData$]); this[_injectData$] = null; this[_subscription$0].resume(); - t301 = this[_userOnData$]; - t301 == null ? null : dart.dcall(t301, [data]); + t277 = this[_userOnData$]; + t277 == null ? null : t277(data); }, T$.VoidTovoid())); } }; (_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); this[_isCanceled$] = false; this[_scheduled] = false; this[_pauseCount$] = 1; @@ -133550,42 +145624,45 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_userOnData$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))), [_isCanceled$]: dart.fieldType(core.bool), [_scheduled]: dart.fieldType(core.bool), [_pauseCount$]: dart.fieldType(core.int) })); _http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](subscription, bufferedData) { + return new _http._HttpDetachedIncoming.new(subscription, bufferedData); + } listen(onData, opts) { - let t301, t301$, t301$0; + let t277, t277$, t277$0; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let subscription = this.subscription; if (subscription != null) { - t301 = subscription; + t277 = subscription; (() => { - t301.onData(onData); - t301.onError(onError); - t301.onDone(onDone); - return t301; + t277.onData(onData); + t277.onError(onError); + t277.onDone(onDone); + return t277; })(); if (this.bufferedData == null) { - t301$ = subscription; + t277$ = subscription; return (() => { - t301$.resume(); - return t301$; + t277$.resume(); + return t277$; })(); } - t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); return (() => { - t301$0.resume(); - return t301$0; + t277$0.resume(); + return t277$0; })(); } else { - return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } } }; @@ -133607,6 +145684,7 @@ define([], (function load__dart_sdk() { subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) })); + var connectMethod = dart.privateName(_http, "_HttpParser.connectMethod"); var _parserCalled = dart.privateName(_http, "_parserCalled"); var _index$1 = dart.privateName(_http, "_index"); var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); @@ -133623,7 +145701,6 @@ define([], (function load__dart_sdk() { var _noMessageBody = dart.privateName(_http, "_noMessageBody"); var _remainingContent = dart.privateName(_http, "_remainingContent"); var _transferEncoding = dart.privateName(_http, "_transferEncoding"); - var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); var _paused = dart.privateName(_http, "_paused"); var _bodyPaused = dart.privateName(_http, "_bodyPaused"); @@ -133645,12 +145722,29 @@ define([], (function load__dart_sdk() { var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + get connectMethod() { + return this[connectMethod]; + } + set connectMethod(value) { + if (value == null) dart.nullFailed(I[182], 255, 8, "connectMethod"); + this[connectMethod] = value; + } static requestParser() { return new _http._HttpParser.__(true); } + static ['_#requestParser#tearOff']() { + return _http._HttpParser.requestParser(); + } + static ['_#responseParser#tearOff']() { + return _http._HttpParser.responseParser(); + } static responseParser() { return new _http._HttpParser.__(false); } + static ['_#_#tearOff'](_requestParser) { + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); + return new _http._HttpParser.__(_requestParser); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -133658,7 +145752,7 @@ define([], (function load__dart_sdk() { return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } listenToStream(stream) { - if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + if (stream == null) dart.nullFailed(I[182], 307, 41, "stream"); this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); } [_parse]() { @@ -133734,7 +145828,7 @@ define([], (function load__dart_sdk() { return true; } [_doParse]() { - if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 421, 12, "!_parserCalled"); this[_parserCalled] = true; if (this[_state$1] === 25) { dart.throw(new _http.HttpException.new("Data on closed connection")); @@ -133752,400 +145846,400 @@ define([], (function load__dart_sdk() { this[_index$1] = dart.notNull(index) + 1; switch (this[_state$1]) { case 0: - { - if (byte == _http._Const.HTTP[$_get](0)) { - this[_httpVersionIndex] = 1; - this[_state$1] = 1; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid request method")); - } - this[_addWithValidation](this[_method$], byte); - if (!dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid response line")); - } - this[_state$1] = 3; - } - break; - } - case 1: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { - this[_httpVersionIndex] = httpVersionIndex + 1; - if (dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid request line")); - } - this[_state$1] = 2; - } else { - for (let i = 0; i < httpVersionIndex; i = i + 1) { - this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); - } - if (byte === 32) { - this[_state$1] = 4; + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } this[_addWithValidation](this[_method$], byte); - this[_httpVersion] = 0; if (!dart.test(this[_requestParser$])) { dart.throw(new _http.HttpException.new("Invalid response line")); } this[_state$1] = 3; } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; } - break; - } case 2: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { - this[_expect](byte, 32); - this[_state$1] = 7; - } else { - dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; } - break; - } case 3: - { - if (byte === 32) { - this[_state$1] = 4; - } else { - if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request method")); + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); } - this[_addWithValidation](this[_method$], byte); + break; } - break; - } case 4: - { - if (byte === 32) { - if (this[_uriOrReasonPhrase][$length] === 0) { - dart.throw(new _http.HttpException.new("Invalid request, empty URI")); - } - this[_state$1] = 5; - this[_httpVersionIndex] = 0; - } else { - if (byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + { + if (byte === 32) { + if (dart.test(this[_uriOrReasonPhrase][$isEmpty])) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); } - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + break; } - break; - } case 5: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { - if (byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } } else { - dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); - } - } else { - if (byte === 13) { - this[_state$1] = 6; - } else if (byte === 10) { - this[_state$1] = 6; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } } + break; } - break; - } case 6: - { - this[_expect](byte, 10); - this[_messageType] = 1; - this[_state$1] = 10; - break; - } + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } case 7: - { - if (byte === 32) { - this[_state$1] = 8; - } else if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; - if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { - dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); - } else if (dart.notNull(this[_statusCodeLength]) > 3) { - dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } } + break; } - break; - } case 8: - { - if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; } - break; - } case 9: - { - this[_expect](byte, 10); - this[_messageType] === 0; - if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { - this[_noMessageBody] = true; + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; } - this[_state$1] = 10; - break; - } case 10: - { - this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - this[_state$1] = 11; + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; } - break; - } case 11: - { - if (byte === 58) { - this[_state$1] = 12; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + break; } - break; - } case 12: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else if (byte !== 32 && byte !== 9) { - this[_addWithValidation](this[_headerValue], byte); - this[_state$1] = 13; + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; } - break; - } case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; } - break; - } case 14: - { - this[_expect](byte, 10); - this[_state$1] = 15; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } case 15: - { - if (byte === 32 || byte === 9) { - this[_state$1] = 12; - } else { - let headerField = core.String.fromCharCodes(this[_headerField]); - let headerValue = core.String.fromCharCodes(this[_headerValue]); - let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; - if (headerField === "content-length") { - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); - } else if (dart.test(this[_transferEncoding])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); - } - this[_contentLength] = true; - } else if (headerField === "transfer-encoding") { - this[_transferEncoding] = true; - if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { - this[_chunked] = true; - } - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } } - } - let headers = dart.nullCheck(this[_headers]); - if (headerField === "connection") { - let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); - let isResponse = this[_messageType] === 0; - let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; - for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { - let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); - if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { - this[_connectionUpgrade] = true; + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); } - headers[_add$1](headerField, tokens[$_get](i)); + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - } else { - headers[_add$1](headerField, headerValue); - } - this[_headerField][$clear](); - this[_headerValue][$clear](); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_state$1] = 11; - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } + break; } - break; - } case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; } - break; - } case 17: - { - if (byte === 10) { + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); this[_state$1] = 18; - this[_index$1] = dart.notNull(this[_index$1]) - 1; break; } - this[_expect](byte, 13); - this[_state$1] = 18; - break; - } case 18: - { - this[_expect](byte, 10); - this[_state$1] = 19; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } case 19: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else if (byte === 59) { - this[_state$1] = 20; - } else { - let value = this[_expectHexDigit](byte); - if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > (2147483647)[$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + break; } - break; - } case 20: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; } - break; - } case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; } - break; - } case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); break; } - this[_expect](byte, 13); - break; - } case 23: - { - this[_expect](byte, 10); - this[_reset](); - this[_closeIncoming](); - break; - } - case 24: - { - this[_index$1] = dart.notNull(this[_index$1]) - 1; - let buffer = dart.nullCheck(this[_buffer$1]); - let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); - if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { - dataAvailable = this[_remainingContent]; - } - let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); - dart.nullCheck(this[_bodyController]).add(data); - if (this[_remainingContent] !== -1) { - this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; } - this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); - if (this[_remainingContent] === 0) { - if (!dart.test(this[_chunked])) { - this[_reset](); - this[_closeIncoming](); - } else { - this[_state$1] = 17; + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; } - break; - } case 27: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); + break; + } default: - { - if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } } } this[_parserCalled] = false; @@ -134158,9 +146252,9 @@ define([], (function load__dart_sdk() { } } [_onData$1](buffer) { - if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + if (buffer == null) dart.nullFailed(I[182], 868, 26, "buffer"); dart.nullCheck(this[_socketSubscription$]).pause(); - if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 870, 12, "_buffer == null"); this[_buffer$1] = buffer; this[_index$1] = 0; this[_parse](); @@ -134204,13 +146298,13 @@ define([], (function load__dart_sdk() { get version() { switch (this[_httpVersion]) { case 1: - { - return "1.0"; - } + { + return "1.0"; + } case 2: - { - return "1.1"; - } + { + return "1.1"; + } } return null; } @@ -134227,7 +146321,7 @@ define([], (function load__dart_sdk() { return this[_persistentConnection]; } set isHead(value) { - if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + if (value == null) dart.nullFailed(I[182], 944, 24, "value"); this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); } detachIncoming() { @@ -134270,15 +146364,15 @@ define([], (function load__dart_sdk() { this[_index$1] = -1; } static _isTokenChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 997, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); } static _isValueChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 1001, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -134295,12 +146389,12 @@ define([], (function load__dart_sdk() { return tokens; } static _toLowerCaseByte(x) { - if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + if (x == null) dart.nullFailed(I[182], 1022, 35, "x"); return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; } static _caseInsensitiveCompare(expected, value) { - if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); - if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected == null) dart.nullFailed(I[182], 1032, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1032, 69, "value"); if (expected[$length] != value[$length]) return false; for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; @@ -134308,14 +146402,14 @@ define([], (function load__dart_sdk() { return true; } [_expect](val1, val2) { - if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); - if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 == null) dart.nullFailed(I[182], 1040, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1040, 30, "val2"); if (val1 != val2) { dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); } } [_expectHexDigit](byte) { - if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (byte == null) dart.nullFailed(I[182], 1046, 27, "byte"); if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { return dart.notNull(byte) - 48; } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { @@ -134327,8 +146421,8 @@ define([], (function load__dart_sdk() { } } [_addWithValidation](list, byte) { - if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); - if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + if (list == null) dart.nullFailed(I[182], 1059, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1059, 47, "byte"); this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; if (dart.notNull(this[_headersReceivedSize]) < 1048576) { list[$add](byte); @@ -134342,84 +146436,83 @@ define([], (function load__dart_sdk() { case 0: case 1: case 3: - { - method = "Method"; - break; - } + { + method = "Method"; + break; + } case 4: - { - method = "URI"; - break; - } + { + method = "URI"; + break; + } case 8: - { - method = "Reason phrase"; - break; - } + { + method = "Reason phrase"; + break; + } case 10: case 11: - { - method = "Header field"; - break; - } + { + method = "Header field"; + break; + } case 12: case 13: - { - method = "Header value"; - break; - } + { + method = "Header value"; + break; + } default: - { - dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); - break; - } + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + } } dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); } [_createIncoming](transferLength) { - let t302; - if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); - if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); - if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let t278; + if (transferLength == null) dart.nullFailed(I[182], 1102, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1103, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1104, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1105, 12, "!_bodyPaused"); let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); - t302 = controller; + t278 = controller; (() => { - t302.onListen = dart.fn(() => { + t278.onListen = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onPause = dart.fn(() => { + t278.onPause = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); this[_bodyPaused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onResume = dart.fn(() => { + t278.onResume = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onCancel = dart.fn(() => { - let t303; + t278.onCancel = dart.fn(() => { + let t279; if (!incoming[$_equals](this[_incoming$])) return; - t303 = this[_socketSubscription$]; - t303 == null ? null : t303.cancel(); + t279 = this[_socketSubscription$]; + t279 == null ? null : t279.cancel(); this[_closeIncoming](true); this[_controller$0].close(); }, T$.VoidToNull()); - return t302; + return t278; })(); this[_bodyPaused] = true; this[_pauseStateChanged](); return incoming; } [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); let tmp = this[_incoming$]; if (tmp == null) return; tmp.close(closing); @@ -134444,27 +146537,27 @@ define([], (function load__dart_sdk() { } } [_reportHttpError](error, stackTrace = null) { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); this[_controller$0].close(); } [_reportBodyError](error, stackTrace = null) { - let t302, t302$, t302$0; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278, t278$, t278$0; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; - t302$ = this[_bodyController]; - t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - t302$0 = this[_bodyController]; - t302$0 == null ? null : t302$0.close(); + t278$ = this[_bodyController]; + t278$ == null ? null : t278$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t278$0 = this[_bodyController]; + t278$0 == null ? null : t278$0.close(); } }; (_http._HttpParser.__ = function(_requestParser) { - let t301; - if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + let t277; + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); this[_parserCalled] = false; this[_buffer$1] = null; this[_index$1] = -1; @@ -134487,36 +146580,35 @@ define([], (function load__dart_sdk() { this[_remainingContent] = -1; this[_contentLength] = false; this[_transferEncoding] = false; - this.connectMethod = false; + this[connectMethod] = false; this[_headers] = null; - this[_chunkSizeLimit] = 2147483647; this[_incoming$] = null; this[_socketSubscription$] = null; this[_paused] = true; this[_bodyPaused] = false; this[_bodyController] = null; this[_requestParser$] = _requestParser; - this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); _http._HttpParser.__proto__.new.call(this); - t301 = this[_controller$0]; + t277 = this[_controller$0]; (() => { - t301.onListen = dart.fn(() => { + t277.onListen = dart.fn(() => { this[_paused] = false; }, T$.VoidTovoid()); - t301.onPause = dart.fn(() => { + t277.onPause = dart.fn(() => { this[_paused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onResume = dart.fn(() => { + t277.onResume = dart.fn(() => { this[_paused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onCancel = dart.fn(() => { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + t277.onCancel = dart.fn(() => { + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); }, T$.VoidToNull()); - return t301; + return t277; })(); this[_reset](); }).prototype = _http._HttpParser.prototype; @@ -134545,6 +146637,7 @@ define([], (function load__dart_sdk() { [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) })); + dart.setStaticMethodSignature(_http._HttpParser, () => ['requestParser', 'responseParser', '_isTokenChar', '_isValueChar', '_tokenizeFieldValue', '_toLowerCaseByte', '_caseInsensitiveCompare']); dart.setGetterSignature(_http._HttpParser, () => ({ __proto__: dart.getGetters(_http._HttpParser.__proto__), version: dart.nullable(core.String), @@ -134585,7 +146678,6 @@ define([], (function load__dart_sdk() { [_transferEncoding]: dart.fieldType(core.bool), connectMethod: dart.fieldType(core.bool), [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_chunkSizeLimit]: dart.fieldType(core.int), [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), [_paused]: dart.fieldType(core.bool), @@ -134593,9 +146685,13 @@ define([], (function load__dart_sdk() { [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) })); + dart.setStaticFieldSignature(_http._HttpParser, () => ['_headerTotalSizeLimit', '_chunkSizeLimit']); dart.defineLazy(_http._HttpParser, { /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { return 1048576; + }, + /*_http._HttpParser._chunkSizeLimit*/get _chunkSizeLimit() { + return 2147483647; } }, false); var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); @@ -134607,6 +146703,11 @@ define([], (function load__dart_sdk() { var _sessions = dart.privateName(_http, "_sessions"); var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); _http._HttpSession = class _HttpSession extends core.Object { + static ['_#new#tearOff'](_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + return new _http._HttpSession.new(_sessionManager, id); + } destroy() { if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); this[_destroyed] = true; @@ -134641,7 +146742,7 @@ define([], (function load__dart_sdk() { return value$; } putIfAbsent(key, ifAbsent) { - T$.VoidTodynamic().as(ifAbsent); + T$0.VoidTodynamic().as(ifAbsent); if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); return this[_data$1][$putIfAbsent](key, ifAbsent); } @@ -134664,7 +146765,7 @@ define([], (function load__dart_sdk() { return this[_data$1][$entries]; } addEntries(entries) { - T.IterableOfMapEntry().as(entries); + T$1.IterableOfMapEntry().as(entries); if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); this[_data$1][$addEntries](entries); } @@ -134683,7 +146784,7 @@ define([], (function load__dart_sdk() { T$.dynamicTodynamic().as(update); if (update == null) dart.nullFailed(I[183], 82, 15, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T.VoidToNdynamic().as(ifAbsent); + T$1.VoidToNdynamic().as(ifAbsent); return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { @@ -134789,8 +146890,8 @@ define([], (function load__dart_sdk() { [_destroyed]: dart.fieldType(core.bool), [_isNew]: dart.fieldType(core.bool), [_lastSeen]: dart.fieldType(core.DateTime), - [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), - [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_timeoutCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_sessionManager$]: dart.finalFieldType(_http._HttpSessionManager), [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), id: dart.finalFieldType(core.String), @@ -134831,6 +146932,9 @@ define([], (function load__dart_sdk() { var _startTimer = dart.privateName(_http, "_startTimer"); var _timerTimeout = dart.privateName(_http, "_timerTimeout"); _http._HttpSessionManager = class _HttpSessionManager extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpSessionManager.new(); + } createSessionId() { let data = _http._CryptoUtils.getRandomBytes(16); return _http._CryptoUtils.bytesToHex(data); @@ -134840,12 +146944,12 @@ define([], (function load__dart_sdk() { return this[_sessions][$_get](id); } createSession() { - let t304, t303, t302; + let t280, t279, t278; let id = this.createSessionId(); while (dart.test(this[_sessions][$containsKey](id))) { id = this.createSessionId(); } - let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); this[_addToTimeoutQueue](session); return session; } @@ -134878,15 +146982,15 @@ define([], (function load__dart_sdk() { } } [_removeFromTimeoutQueue](session) { - let t302, t302$; + let t278, t278$; if (session == null) dart.nullFailed(I[183], 162, 45, "session"); let next = session[_next$4]; let prev = session[_prev]; session[_next$4] = session[_prev] = null; - t302 = next; - t302 == null ? null : t302[_prev] = prev; - t302$ = prev; - t302$ == null ? null : t302$[_next$4] = next; + t278 = next; + t278 == null ? null : t278[_prev] = prev; + t278$ = prev; + t278$ == null ? null : t278$[_next$4] = next; if (dart.equals(this[_tail$], session)) { this[_tail$] = prev; } @@ -134897,12 +147001,12 @@ define([], (function load__dart_sdk() { } } [_timerTimeout]() { - let t302; + let t278; this[_stopTimer](); let session = dart.nullCheck(this[_head$]); session.destroy(); - t302 = session[_timeoutCallback]; - t302 == null ? null : dart.dcall(t302, []); + t278 = session[_timeoutCallback]; + t278 == null ? null : t278(); } [_startTimer]() { if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); @@ -134925,7 +147029,7 @@ define([], (function load__dart_sdk() { this[_head$] = null; this[_tail$] = null; this[_timer] = null; - this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); ; }).prototype = _http._HttpSessionManager.prototype; dart.addTypeTests(_http._HttpSessionManager); @@ -134950,7 +147054,7 @@ define([], (function load__dart_sdk() { dart.setLibraryUri(_http._HttpSessionManager, I[177]); dart.setFieldSignature(_http._HttpSessionManager, () => ({ __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessions]: dart.finalFieldType(core.Map$(core.String, _http._HttpSession)), [_sessionTimeout]: dart.fieldType(core.int), [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), @@ -134958,29 +147062,29 @@ define([], (function load__dart_sdk() { })); _http.HttpOverrides = class HttpOverrides extends core.Object { static get current() { - let t302; - return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + let t278; + return T$1.HttpOverridesN().as((t278 = async.Zone.current._get(_http._httpOverridesToken), t278 == null ? _http.HttpOverrides._global : t278)); } static set global(overrides) { _http.HttpOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + if (body == null) dart.nullFailed(I[184], 51, 37, "body"); let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } static runWithHttpOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[184], 63, 38, "body"); - if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + if (body == null) dart.nullFailed(I[184], 65, 49, "body"); + if (overrides == null) dart.nullFailed(I[184], 65, 69, "overrides"); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } createHttpClient(context) { return new _http._HttpClient.new(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + if (url == null) dart.nullFailed(I[184], 82, 39, "url"); return _http._HttpClient._findProxyFromEnvironment(url, environment); } }; @@ -134994,17 +147098,24 @@ define([], (function load__dart_sdk() { createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) })); + dart.setStaticMethodSignature(_http.HttpOverrides, () => ['runZoned', 'runWithHttpOverrides']); + dart.setStaticGetterSignature(_http.HttpOverrides, () => ['current']); + dart.setStaticSetterSignature(_http.HttpOverrides, () => ['global']); dart.setLibraryUri(_http.HttpOverrides, I[177]); + dart.setStaticFieldSignature(_http.HttpOverrides, () => ['_global']); dart.defineLazy(_http.HttpOverrides, { /*_http.HttpOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$5 = dart.privateName(_http, "_previous"); var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + static ['_#new#tearOff'](_createHttpClient, _findProxyFromEnvironment) { + return new _http._HttpOverridesScope.new(_createHttpClient, _findProxyFromEnvironment); + } createHttpClient(context) { let createHttpClient = this[_createHttpClient$]; if (createHttpClient != null) return createHttpClient(context); @@ -135013,7 +147124,7 @@ define([], (function load__dart_sdk() { return super.createHttpClient(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + if (url == null) dart.nullFailed(I[184], 105, 39, "url"); let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; if (findProxyFromEnvironment != null) { return findProxyFromEnvironment(url, environment); @@ -135047,6 +147158,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http.WebSocketStatus); dart.addTypeCaches(_http.WebSocketStatus); dart.setLibraryUri(_http.WebSocketStatus, I[177]); + dart.setStaticFieldSignature(_http.WebSocketStatus, () => ['normalClosure', 'goingAway', 'protocolError', 'unsupportedData', 'reserved1004', 'noStatusReceived', 'abnormalClosure', 'invalidFramePayloadData', 'policyViolation', 'messageTooBig', 'missingMandatoryExtension', 'internalServerError', 'reserved1015']); dart.defineLazy(_http.WebSocketStatus, { /*_http.WebSocketStatus.normalClosure*/get normalClosure() { return 1000; @@ -135086,45 +147198,6 @@ define([], (function load__dart_sdk() { }, /*_http.WebSocketStatus.reserved1015*/get reserved1015() { return 1015; - }, - /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { - return 1000; - }, - /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { - return 1001; - }, - /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { - return 1002; - }, - /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { - return 1003; - }, - /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { - return 1004; - }, - /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { - return 1005; - }, - /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { - return 1006; - }, - /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { - return 1007; - }, - /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { - return 1008; - }, - /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { - return 1009; - }, - /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { - return 1010; - }, - /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 1011; - }, - /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { - return 1015; } }, false); var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); @@ -135166,15 +147239,26 @@ define([], (function load__dart_sdk() { set enabled(value) { super.enabled = value; } + static ['_#new#tearOff'](opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); + return new _http.CompressionOptions.new({clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover, clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, enabled: enabled}); + } [_createServerResponseHeader](requested) { - let t302, t302$, t302$0; + let t278, t278$, t278$0; let info = new _http._CompressionMaxWindowBits.new("", 0); - let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + let part = (t278 = requested, t278 == null ? null : t278.parameters[$_get]("server_max_window_bits")); if (part != null) { if (part.length >= 2 && part[$startsWith]("0")) { dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); } else { - let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + let mwb = (t278$0 = (t278$ = this.serverMaxWindowBits, t278$ == null ? core.int.tryParse(part) : t278$), t278$0 == null ? 15 : t278$0); info.headerValue = "; server_max_window_bits=" + dart.str(mwb); info.maxWindowBits = mwb; } @@ -135185,7 +147269,7 @@ define([], (function load__dart_sdk() { return info; } [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + if (size == null) dart.nullFailed(I[185], 122, 65, "size"); let info = ""; if (requested != null) { info = "; client_max_window_bits=" + dart.str(size); @@ -135202,38 +147286,38 @@ define([], (function load__dart_sdk() { return info; } [_createHeader](requested = null) { - let t302, t302$, t302$0, t302$1; + let t278, t278$, t278$0, t278$1; let info = new _http._CompressionMaxWindowBits.new("", 0); if (!dart.test(this.enabled)) { return info; } info.headerValue = "permessage-deflate"; - if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { - t302 = info; - t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t278 = info; + t278.headerValue = dart.notNull(t278.headerValue) + "; client_no_context_takeover"; } - if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { - t302$ = info; - t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + if (dart.test(this.serverNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t278$ = info; + t278$.headerValue = dart.notNull(t278$.headerValue) + "; server_no_context_takeover"; } let headerList = this[_createServerResponseHeader](requested); - t302$0 = info; - t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + t278$0 = info; + t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); info.maxWindowBits = headerList.maxWindowBits; - t302$1 = info; - t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + t278$1 = info; + t278$1.headerValue = dart.notNull(t278$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); return info; } }; (_http.CompressionOptions.new = function(opts) { let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; let enabled = opts && 'enabled' in opts ? opts.enabled : true; - if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); this[clientNoContextTakeover$] = clientNoContextTakeover; this[serverNoContextTakeover$] = serverNoContextTakeover; this[clientMaxWindowBits$] = clientMaxWindowBits; @@ -135258,36 +147342,37 @@ define([], (function load__dart_sdk() { serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), enabled: dart.finalFieldType(core.bool) })); + dart.setStaticFieldSignature(_http.CompressionOptions, () => ['compressionDefault', 'compressionOff']); dart.defineLazy(_http.CompressionOptions, { /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { - return C[486] || CT.C486; - }, - /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { - return C[486] || CT.C486; + return C[500] || CT.C500; }, /*_http.CompressionOptions.compressionOff*/get compressionOff() { - return C[487] || CT.C487; - }, - /*_http.CompressionOptions.OFF*/get OFF() { - return C[487] || CT.C487; + return C[501] || CT.C501; } }, false); _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { static new(opts) { let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); } + static ['_#new#tearOff'](opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); + return _http.WebSocketTransformer.new({protocolSelector: protocolSelector, compression: compression}); + } static upgrade(request, opts) { - if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + if (request == null) dart.nullFailed(I[185], 245, 48, "request"); let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 247, 26, "compression"); return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); } static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + if (request == null) dart.nullFailed(I[185], 253, 44, "request"); return _http._WebSocketTransformerImpl._isUpgradeRequest(request); } }; @@ -135296,6 +147381,7 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http.WebSocketTransformer); dart.addTypeCaches(_http.WebSocketTransformer); _http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; + dart.setStaticMethodSignature(_http.WebSocketTransformer, () => ['new', 'upgrade', 'isUpgradeRequest']); dart.setLibraryUri(_http.WebSocketTransformer, I[177]); var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); _http.WebSocket = class WebSocket extends core.Object { @@ -135306,24 +147392,33 @@ define([], (function load__dart_sdk() { this[pingInterval] = value; } static connect(url, opts) { - if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + if (url == null) dart.nullFailed(I[185], 314, 43, "url"); let protocols = opts && 'protocols' in opts ? opts.protocols : null; let headers = opts && 'headers' in opts ? opts.headers : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); - return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 317, 30, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression, customClient: customClient}); } static fromUpgradedSocket(socket, opts) { - if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); let protocol = opts && 'protocol' in opts ? opts.protocol : null; let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); if (serverSide == null) { dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); } return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); } + static ['_#fromUpgradedSocket#tearOff'](socket, opts) { + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); + return _http.WebSocket.fromUpgradedSocket(socket, {protocol: protocol, serverSide: serverSide, compression: compression}); + } static get userAgent() { return _http._WebSocketImpl.userAgent; } @@ -135339,11 +147434,15 @@ define([], (function load__dart_sdk() { dart.addTypeTests(_http.WebSocket); dart.addTypeCaches(_http.WebSocket); _http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; + dart.setStaticMethodSignature(_http.WebSocket, () => ['connect', 'fromUpgradedSocket']); + dart.setStaticGetterSignature(_http.WebSocket, () => ['userAgent']); + dart.setStaticSetterSignature(_http.WebSocket, () => ['userAgent']); dart.setLibraryUri(_http.WebSocket, I[177]); dart.setFieldSignature(_http.WebSocket, () => ({ __proto__: dart.getFields(_http.WebSocket.__proto__), pingInterval: dart.fieldType(dart.nullable(core.Duration)) })); + dart.setStaticFieldSignature(_http.WebSocket, () => ['connecting', 'open', 'closing', 'closed']); dart.defineLazy(_http.WebSocket, { /*_http.WebSocket.connecting*/get connecting() { return 0; @@ -135356,18 +147455,6 @@ define([], (function load__dart_sdk() { }, /*_http.WebSocket.closed*/get closed() { return 3; - }, - /*_http.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*_http.WebSocket.OPEN*/get OPEN() { - return 1; - }, - /*_http.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*_http.WebSocket.CLOSED*/get CLOSED() { - return 3; } }, false); var message$19 = dart.privateName(_http, "WebSocketException.message"); @@ -135378,12 +147465,16 @@ define([], (function load__dart_sdk() { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = "") { + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); + return new _http.WebSocketException.new(message); + } toString() { return "WebSocketException: " + dart.str(this.message); } }; (_http.WebSocketException.new = function(message = "") { - if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); this[message$19] = message; ; }).prototype = _http.WebSocketException.prototype; @@ -135396,13 +147487,18 @@ define([], (function load__dart_sdk() { message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_http.WebSocketException, ['toString']); - _http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; + _http._WebSocketMessageType = class _WebSocketMessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketMessageType.new(); + } + }; (_http._WebSocketMessageType.new = function() { ; }).prototype = _http._WebSocketMessageType.prototype; dart.addTypeTests(_http._WebSocketMessageType); dart.addTypeCaches(_http._WebSocketMessageType); dart.setLibraryUri(_http._WebSocketMessageType, I[177]); + dart.setStaticFieldSignature(_http._WebSocketMessageType, () => ['NONE', 'TEXT', 'BINARY']); dart.defineLazy(_http._WebSocketMessageType, { /*_http._WebSocketMessageType.NONE*/get NONE() { return 0; @@ -135414,13 +147510,18 @@ define([], (function load__dart_sdk() { return 2; } }, false); - _http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; + _http._WebSocketOpcode = class _WebSocketOpcode extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketOpcode.new(); + } + }; (_http._WebSocketOpcode.new = function() { ; }).prototype = _http._WebSocketOpcode.prototype; dart.addTypeTests(_http._WebSocketOpcode); dart.addTypeCaches(_http._WebSocketOpcode); dart.setLibraryUri(_http._WebSocketOpcode, I[177]); + dart.setStaticFieldSignature(_http._WebSocketOpcode, () => ['CONTINUATION', 'TEXT', 'BINARY', 'RESERVED_3', 'RESERVED_4', 'RESERVED_5', 'RESERVED_6', 'RESERVED_7', 'CLOSE', 'PING', 'PONG', 'RESERVED_B', 'RESERVED_C', 'RESERVED_D', 'RESERVED_E', 'RESERVED_F']); dart.defineLazy(_http._WebSocketOpcode, { /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { return 0; @@ -135471,7 +147572,12 @@ define([], (function load__dart_sdk() { return 15; } }, false); - _http._EncodedString = class _EncodedString extends core.Object {}; + _http._EncodedString = class _EncodedString extends core.Object { + static ['_#new#tearOff'](bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + return new _http._EncodedString.new(bytes); + } + }; (_http._EncodedString.new = function(bytes) { if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); this.bytes = bytes; @@ -135485,13 +147591,18 @@ define([], (function load__dart_sdk() { bytes: dart.finalFieldType(core.List$(core.int)) })); _http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + static ['_#new#tearOff'](headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); + return new _http._CompressionMaxWindowBits.new(headerValue, maxWindowBits); + } toString() { return this.headerValue; } }; (_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { - if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); this.headerValue = headerValue; this.maxWindowBits = maxWindowBits; ; @@ -135505,6 +147616,8 @@ define([], (function load__dart_sdk() { maxWindowBits: dart.fieldType(core.int) })); dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); + var closeCode = dart.privateName(_http, "_WebSocketProtocolTransformer.closeCode"); + var closeReason = dart.privateName(_http, "_WebSocketProtocolTransformer.closeReason"); var _fin = dart.privateName(_http, "_fin"); var _compressed = dart.privateName(_http, "_compressed"); var _opcode = dart.privateName(_http, "_opcode"); @@ -135529,20 +147642,38 @@ define([], (function load__dart_sdk() { var _startPayload = dart.privateName(_http, "_startPayload"); var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + get closeCode() { + return this[closeCode]; + } + set closeCode(value) { + if (value == null) dart.nullFailed(I[186], 88, 7, "closeCode"); + this[closeCode] = value; + } + get closeReason() { + return this[closeReason]; + } + set closeReason(value) { + if (value == null) dart.nullFailed(I[186], 89, 10, "closeReason"); + this[closeReason] = value; + } + static ['_#new#tearOff'](_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); + return new _http._WebSocketProtocolTransformer.new(_serverSide, _deflate); + } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + if (stream == null) dart.nullFailed(I[186], 101, 25, "stream"); return async.Stream.eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 102, 55, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used.")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkTo_WebSocketProtocolTransformer())); + }, T$1.EventSinkTo_WebSocketProtocolTransformer())); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + if (error == null) dart.nullFailed(I[186], 111, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -135550,9 +147681,9 @@ define([], (function load__dart_sdk() { dart.nullCheck(this[_eventSink$]).close(); } add(bytes) { - let t302; + let t278; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 122, 22, "bytes"); let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); let index = 0; let lastIndex = buffer[$length]; @@ -135584,7 +147715,7 @@ define([], (function load__dart_sdk() { dart.throw(new _http.WebSocketException.new("Protocol error")); } } else { - if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 159, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); if (this[_currentMessageType] !== 0) { dart.throw(new _http.WebSocketException.new("Protocol error")); } @@ -135611,11 +147742,11 @@ define([], (function load__dart_sdk() { this[_remainingLenBytes] = 8; this[_state$1] = 2; } else { - if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 189, 20, "_len < 126"); this[_lengthDone](); } } else { - if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 193, 18, "_state == LEN_REST"); this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; if (this[_remainingLenBytes] === 0) { @@ -135624,12 +147755,12 @@ define([], (function load__dart_sdk() { } } else { if (this[_state$1] === 3) { - this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + this[_maskingBytes][$_set](4 - dart.notNull((t278 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t278) - 1, t278)), byte); if (this[_remainingMaskingKeyBytes] === 0) { this[_maskDone](); } } else { - if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 207, 18, "_state == PAYLOAD"); let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; if (dart.test(this[_masked])) { @@ -135652,17 +147783,17 @@ define([], (function load__dart_sdk() { } } [_unmask](index, length, buffer) { - let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; - if (index == null) dart.nullFailed(I[186], 245, 20, "index"); - if (length == null) dart.nullFailed(I[186], 245, 31, "length"); - if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + let t280, t279, t278, t279$, t278$, t280$, t279$0, t278$0; + if (index == null) dart.nullFailed(I[186], 239, 20, "index"); + if (length == null) dart.nullFailed(I[186], 239, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 239, 49, "buffer"); if (dart.notNull(length) >= 16) { let startOffset = 16 - (dart.notNull(index) & 15); let end = dart.notNull(index) + startOffset; for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302 = buffer; - t303 = i; - t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + t278 = buffer; + t279 = i; + t278[$_set](t279, (dart.notNull(t278[$_get](t279)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280) + 1, t280)) & 3))) >>> 0); } index = dart.notNull(index) + startOffset; length = dart.notNull(length) - startOffset; @@ -135675,9 +147806,9 @@ define([], (function load__dart_sdk() { let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t302$ = blockBuffer; - t303$ = i; - t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + t278$ = blockBuffer; + t279$ = i; + t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); } let bytes = blockCount * 16; index = dart.notNull(index) + bytes; @@ -135686,9 +147817,9 @@ define([], (function load__dart_sdk() { } let end = dart.notNull(index) + dart.notNull(length); for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302$0 = buffer; - t303$0 = i; - t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + t278$0 = buffer; + t279$0 = i; + t278$0[$_set](t279$0, (dart.notNull(t278$0[$_get](t279$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280$) + 1, t280$)) & 3))) >>> 0); } } [_lengthDone]() { @@ -135714,21 +147845,21 @@ define([], (function load__dart_sdk() { if (dart.test(this[_isControlFrame]())) { switch (this[_opcode]) { case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } } this[_prepareForNextFrame](); } else { @@ -135747,15 +147878,15 @@ define([], (function load__dart_sdk() { } switch (this[_currentMessageType]) { case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } } this[_currentMessageType] = 0; } @@ -135764,35 +147895,35 @@ define([], (function load__dart_sdk() { [_controlFrameEnd]() { switch (this[_opcode]) { case 8: - { - this.closeCode = 1005; - let payload = this[_payload].takeBytes(); - if (dart.notNull(payload[$length]) > 0) { - if (payload[$length] === 1) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; - if (this.closeCode === 1005) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (dart.notNull(payload[$length]) > 2) { - this.closeReason = convert.utf8.decode(payload[$sublist](2)); + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.test(payload[$isNotEmpty])) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; } - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } } this[_prepareForNextFrame](); } @@ -135811,7 +147942,7 @@ define([], (function load__dart_sdk() { } }; (_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); this[_state$1] = 0; this[_fin] = false; this[_compressed] = false; @@ -135823,8 +147954,8 @@ define([], (function load__dart_sdk() { this[_remainingPayloadBytes] = -1; this[_unmaskingIndex] = 0; this[_currentMessageType] = 0; - this.closeCode = 1005; - this.closeReason = ""; + this[closeCode] = 1005; + this[closeReason] = ""; this[_eventSink$] = null; this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); this[_payload] = _internal.BytesBuilder.new({copy: false}); @@ -135871,8 +148002,9 @@ define([], (function load__dart_sdk() { [_serverSide$]: dart.finalFieldType(core.bool), [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflate$]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); + dart.setStaticFieldSignature(_http._WebSocketProtocolTransformer, () => ['START', 'LEN_FIRST', 'LEN_REST', 'MASK', 'PAYLOAD', 'CLOSED', 'FAILURE', 'FIN', 'RSV1', 'RSV2', 'RSV3', 'OPCODE']); dart.defineLazy(_http._WebSocketProtocolTransformer, { /*_http._WebSocketProtocolTransformer.START*/get START() { return 0; @@ -135911,7 +148043,11 @@ define([], (function load__dart_sdk() { return 15; } }, false); - _http._WebSocketPing = class _WebSocketPing extends core.Object {}; + _http._WebSocketPing = class _WebSocketPing extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPing.new(payload); + } + }; (_http._WebSocketPing.new = function(payload = null) { this.payload = payload; ; @@ -135923,7 +148059,11 @@ define([], (function load__dart_sdk() { __proto__: dart.getFields(_http._WebSocketPing.__proto__), payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) })); - _http._WebSocketPong = class _WebSocketPong extends core.Object {}; + _http._WebSocketPong = class _WebSocketPong extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPong.new(payload); + } + }; (_http._WebSocketPong.new = function(payload = null) { this.payload = payload; ; @@ -135938,22 +148078,26 @@ define([], (function load__dart_sdk() { var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); var _compression$ = dart.privateName(_http, "_compression"); _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + static ['_#new#tearOff'](_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + return new _http._WebSocketTransformerImpl.new(_protocolSelector, _compression); + } bind(stream) { - T.StreamOfHttpRequest().as(stream); - if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + T$1.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 416, 46, "stream"); stream.listen(dart.fn(request => { - if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + if (request == null) dart.nullFailed(I[186], 417, 20, "request"); _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); return this[_controller$0].add(webSocket); - }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); - }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + }, T$1.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T$1.HttpRequestTovoid()), {onDone: dart.fn(() => { this[_controller$0].close(); }, T$.VoidTovoid())}); return this[_controller$0].stream; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[186], 428, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -135970,32 +148114,32 @@ define([], (function load__dart_sdk() { return tokens; } static _upgrade(request, protocolSelector, compression) { - let t302; - if (request == null) dart.nullFailed(I[186], 450, 49, "request"); - if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let t278; + if (request == null) dart.nullFailed(I[186], 445, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 446, 63, "compression"); let response = request.response; if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { - t302 = response; + t278 = response; (() => { - t302.statusCode = 400; - t302.close(); - return t302; + t278.statusCode = 400; + t278.close(); + return t278; })(); - return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); } function upgrade(protocol) { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 101; - t302.headers.add("connection", "Upgrade"); - t302.headers.add("upgrade", "websocket"); - return t302; + t278.statusCode = 101; + t278.headers.add("connection", "Upgrade"); + t278.headers.add("upgrade", "websocket"); + return t278; })(); let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); let sha1 = new _http._SHA1.new(); sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); - let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + let accept = convert.base64Encode(sha1.close()); response.headers.add("Sec-WebSocket-Accept", accept); if (protocol != null) { response.headers.add("Sec-WebSocket-Protocol", protocol); @@ -136003,27 +148147,27 @@ define([], (function load__dart_sdk() { let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); response.headers.contentLength = 0; return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 475, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T.SocketTo_WebSocketImpl())); + }, T$1.SocketTo_WebSocketImpl())); } - dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + dart.fn(upgrade, T$1.StringNToFutureOfWebSocket()); let protocols = request.headers._get("Sec-WebSocket-Protocol"); if (protocols != null && protocolSelector != null) { let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); - return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { - if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); - if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T$1.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 487, 26, "protocol"); + if (!dart.test(tokenizedProtocols[$contains](protocol))) { dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); } return protocol; }, T$.StringToString())).catchError(dart.fn(error => { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 500; - t302.close(); - return t302; + t278.statusCode = 500; + t278.close(); + return t278; })(); dart.throw(error); }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); @@ -136032,9 +148176,9 @@ define([], (function load__dart_sdk() { } } static _negotiateCompression(request, response, compression) { - if (request == null) dart.nullFailed(I[186], 509, 73, "request"); - if (response == null) dart.nullFailed(I[186], 510, 20, "response"); - if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + if (request == null) dart.nullFailed(I[186], 504, 73, "request"); + if (response == null) dart.nullFailed(I[186], 505, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 505, 49, "compression"); let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); extensionHeader == null ? extensionHeader = "" : null; let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); @@ -136049,7 +148193,7 @@ define([], (function load__dart_sdk() { return null; } static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request == null) dart.nullFailed(I[186], 534, 45, "request"); if (request.method !== "GET") { return false; } @@ -136081,8 +148225,8 @@ define([], (function load__dart_sdk() { } }; (_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); - this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + this[_controller$0] = T$1.StreamControllerOfWebSocket().new({sync: true}); this[_protocolSelector$] = _protocolSelector; this[_compression$] = _compression; _http._WebSocketTransformerImpl.__proto__.new.call(this); @@ -136095,6 +148239,7 @@ define([], (function load__dart_sdk() { __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(_http._WebSocketTransformerImpl, () => ['_tokenizeFieldValue', '_upgrade', '_negotiateCompression', '_isUpgradeRequest']); dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), @@ -136105,25 +148250,37 @@ define([], (function load__dart_sdk() { var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + static ['_#new#tearOff'](opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverSide: serverSide}); + } [_ensureDecoder]() { - let t302; - t302 = this.decoder; - return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.decoder; + return t278 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t278; } [_ensureEncoder]() { - let t302; - t302 = this.encoder; - return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.encoder; + return t278 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t278; } processIncomingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 591, 46, "msg"); let decoder = this[_ensureDecoder](); let data = T$.JSArrayOfint().of([]); data[$addAll](msg); - data[$addAll](C[488] || CT.C488); + data[$addAll](C[502] || CT.C502); decoder.process(data, 0, data[$length]); let result = _internal.BytesBuilder.new(); - let out = null; while (true) { let out = decoder.processed(); if (out == null) break; @@ -136135,7 +148292,7 @@ define([], (function load__dart_sdk() { return result.takeBytes(); } processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); let encoder = this[_ensureEncoder](); let result = T$.JSArrayOfint().of([]); let buffer = null; @@ -136161,7 +148318,7 @@ define([], (function load__dart_sdk() { if (dart.notNull(result[$length]) > 4) { result = result[$sublist](0, dart.notNull(result[$length]) - 4); } - if (result[$length] === 0) { + if (dart.test(result[$isEmpty])) { return T$.JSArrayOfint().of([0]); } return result; @@ -136169,15 +148326,15 @@ define([], (function load__dart_sdk() { }; (_http._WebSocketPerMessageDeflate.new = function(opts) { let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; - if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; - if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; - if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); this.decoder = null; this.encoder = null; this.clientMaxWindowBits = clientMaxWindowBits; @@ -136211,17 +148368,21 @@ define([], (function load__dart_sdk() { var _outCloseCode = dart.privateName(_http, "_outCloseCode"); var _outCloseReason = dart.privateName(_http, "_outCloseReason"); _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + static ['_#new#tearOff'](webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); + return new _http._WebSocketOutgoingTransformer.new(webSocket); + } bind(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + if (stream == null) dart.nullFailed(I[186], 673, 33, "stream"); return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 675, 31, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + }, T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); } add(message) { if (_http._WebSocketPong.is(message)) { @@ -136259,7 +148420,7 @@ define([], (function load__dart_sdk() { this.addFrame(opcode, data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + if (error == null) dart.nullFailed(I[186], 720, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -136269,26 +148430,26 @@ define([], (function load__dart_sdk() { let data = null; if (code != null) { data = (() => { - let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); - if (reason != null) t302[$addAll](convert.utf8.encode(reason)); - return t302; + let t278 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t278[$addAll](convert.utf8.encode(reason)); + return t278; })(); } this.addFrame(8, data); dart.nullCheck(this[_eventSink$]).close(); } addFrame(opcode, data) { - if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + if (opcode == null) dart.nullFailed(I[186], 741, 21, "opcode"); _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + if (e == null) dart.nullFailed(I[186], 749, 19, "e"); dart.nullCheck(this[_eventSink$]).add(e); }, T$0.ListOfintTovoid())); } static createFrame(opcode, data, serverSide, compressed) { - let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; - if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); - if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); - if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let t279, t279$, t279$0, t279$1, t280, t279$2, t280$, t279$3, t280$0, t279$4; + if (opcode == null) dart.nullFailed(I[186], 755, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 755, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 755, 58, "compressed"); let mask = !dart.test(serverSide); let dataLength = data == null ? 0 : data[$length]; let headerSize = mask ? 6 : 2; @@ -136300,22 +148461,22 @@ define([], (function load__dart_sdk() { let header = _native_typed_data.NativeUint8List.new(headerSize); let index = 0; let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; - header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + header[$_set]((t279 = index, index = t279 + 1, t279), hoc); let lengthBytes = 1; if (dart.notNull(dataLength) > 65535) { - header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); lengthBytes = 8; } else if (dart.notNull(dataLength) > 125) { - header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + header[$_set]((t279$0 = index, index = t279$0 + 1, t279$0), 126); lengthBytes = 2; } for (let i = 0; i < lengthBytes; i = i + 1) { - header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + header[$_set]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); } if (mask) { - t303$2 = header; - t304 = 1; - t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + t279$2 = header; + t280 = 1; + t279$2[$_set](t280, (dart.notNull(t279$2[$_get](t280)) | 1 << 7) >>> 0); let maskBytes = _http._CryptoUtils.getRandomBytes(4); header[$setRange](index, index + 4, maskBytes); index = index + 4; @@ -136345,20 +148506,20 @@ define([], (function load__dart_sdk() { let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t303$3 = blockBuffer; - t304$ = i; - t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + t279$3 = blockBuffer; + t280$ = i; + t279$3[$_set](t280$, t279$3[$_get](t280$)['^'](blockMask)); } } for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { - t303$4 = list; - t304$0 = i; - t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + t279$4 = list; + t280$0 = i; + t279$4[$_set](t280$0, (dart.notNull(t279$4[$_get](t280$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); } data = list; } } - if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (!(index === headerSize)) dart.assertFailed(null, I[186], 834, 12, "index == headerSize"); if (data == null) { return T$0.JSArrayOfListOfint().of([header]); } else { @@ -136367,7 +148528,7 @@ define([], (function load__dart_sdk() { } }; (_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); this[_eventSink$] = null; this.webSocket = webSocket; this[_deflateHelper] = webSocket[_deflate$]; @@ -136385,12 +148546,13 @@ define([], (function load__dart_sdk() { close: dart.fnType(dart.void, []), addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) })); + dart.setStaticMethodSignature(_http._WebSocketOutgoingTransformer, () => ['createFrame']); dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), webSocket: dart.finalFieldType(_http._WebSocketImpl), [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), - [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflateHelper]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); var _issuedPause = dart.privateName(_http, "_issuedPause"); var _closed$ = dart.privateName(_http, "_closed"); @@ -136403,10 +148565,15 @@ define([], (function load__dart_sdk() { var _done = dart.privateName(_http, "_done"); var _ensureController = dart.privateName(_http, "_ensureController"); _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + static ['_#new#tearOff'](webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); + return new _http._WebSocketConsumer.new(webSocket, socket); + } [_onListen]() { - let t303; - t303 = this[_subscription$0]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); } [_onPause$]() { let subscription = this[_subscription$0]; @@ -136440,8 +148607,8 @@ define([], (function load__dart_sdk() { this[_done](); this[_closeCompleter$].complete(this.webSocket); }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[186], 904, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[186], 898, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 898, 43, "stackTrace"); this[_closed$] = true; this[_cancel$](); if (core.ArgumentError.is(error)) { @@ -136468,7 +148635,7 @@ define([], (function load__dart_sdk() { } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 925, 27, "stream"); if (dart.test(this[_closed$])) { stream.listen(null).cancel(); return async.Future.value(this.webSocket); @@ -136487,7 +148654,7 @@ define([], (function load__dart_sdk() { close() { this[_ensureController]().close(); return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { - }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); } add(data) { if (dart.test(this[_closed$])) return; @@ -136502,13 +148669,13 @@ define([], (function load__dart_sdk() { } }; (_http._WebSocketConsumer.new = function(webSocket, socket) { - if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); - if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); this[_controller$0] = null; this[_subscription$0] = null; this[_issuedPause] = false; this[_closed$] = false; - this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_closeCompleter$] = T$1.CompleterOfWebSocket().new(); this[_completer] = null; this.webSocket = webSocket; this.socket = socket; @@ -136539,7 +148706,7 @@ define([], (function load__dart_sdk() { [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), [_issuedPause]: dart.fieldType(core.bool), [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.fieldType(async.Completer), + [_closeCompleter$]: dart.finalFieldType(async.Completer), [_completer]: dart.fieldType(dart.nullable(async.Completer)) })); var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); @@ -136568,29 +148735,31 @@ define([], (function load__dart_sdk() { dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { get [_sink]() { - let t303; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + let t279; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); } - set [_sink](t303) { - if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + set [_sink](_sink$35param) { + if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = t303; + this[___WebSocketImpl__sink] = _sink$35param; } get [_consumer]() { - let t304; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + let t279; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); } - set [_consumer](t304) { - if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + set [_consumer](_consumer$35param) { + if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = t304; + this[___WebSocketImpl__consumer] = _consumer$35param; } static connect(url, protocols, headers, opts) { - if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let t279; + if (url == null) dart.nullFailed(I[186], 995, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[186], 996, 27, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; let uri = core.Uri.parse(url); - if (uri.scheme !== "ws" && uri.scheme !== "wss") { + if (!dart.test(uri.isScheme("ws")) && !dart.test(uri.isScheme("wss"))) { dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); } let random = math.Random.new(); @@ -136598,29 +148767,30 @@ define([], (function load__dart_sdk() { for (let i = 0; i < 16; i = i + 1) { nonceData[$_set](i, random.nextInt(256)); } - let nonce = _http._CryptoUtils.bytesToBase64(nonceData); - uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); - return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { - let t305; - if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + let nonce = convert.base64Encode(nonceData); + let callerStackTrace = core.StackTrace.current; + uri = core._Uri.new({scheme: dart.test(uri.isScheme("wss")) ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return (t279 = customClient, t279 == null ? _http._WebSocketImpl._httpClient : t279).openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t279; + if (request == null) dart.nullFailed(I[186], 1021, 68, "request"); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } if (headers != null) { headers[$forEach](dart.fn((field, value) => { - if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + if (field == null) dart.nullFailed(I[186], 1029, 26, "field"); return request.headers.add(field, core.Object.as(value)); }, T$0.StringAnddynamicTovoid())); } - t305 = request.headers; + t279 = request.headers; (() => { - t305.set("connection", "Upgrade"); - t305.set("upgrade", "websocket"); - t305.set("Sec-WebSocket-Key", nonce); - t305.set("Cache-Control", "no-cache"); - t305.set("Sec-WebSocket-Version", "13"); - return t305; + t279.set("connection", "Upgrade"); + t279.set("upgrade", "websocket"); + t279.set("Sec-WebSocket-Key", nonce); + t279.set("Cache-Control", "no-cache"); + t279.set("Sec-WebSocket-Version", "13"); + return t279; })(); if (protocols != null) { request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); @@ -136629,76 +148799,78 @@ define([], (function load__dart_sdk() { request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); } return request.close(); - }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { - if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + }, T$1.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1048, 14, "response"); function error(message) { - if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + if (message == null) dart.nullFailed(I[186], 1049, 38, "message"); response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); socket.destroy(); - }, T.SocketToNull())); - dart.throw(new _http.WebSocketException.new(message)); + }, T$1.SocketToNull())); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); } - dart.fn(error, T.StringToNever()); + dart.fn(error, T$1.StringToFutureOfWebSocket()); let connectionHeader = response.headers._get("connection"); if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { - if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + if (value == null) dart.nullFailed(I[186], 1061, 34, "value"); return value[$toLowerCase]() === "upgrade"; }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); } let accept = response.headers.value("Sec-WebSocket-Accept"); if (accept == null) { - error("Response did not contain a 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response did not contain a 'Sec-WebSocket-Accept' header"); } let sha1 = new _http._SHA1.new(); sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); let expectedAccept = sha1.close(); - let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + let receivedAccept = convert.base64Decode(accept); if (expectedAccept[$length] != receivedAccept[$length]) { - error("Response header 'Sec-WebSocket-Accept' is the wrong length"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response header 'Sec-WebSocket-Accept' is the wrong length"); } for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { - error("Bad response 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Bad response 'Sec-WebSocket-Accept' header"); } } let protocol = response.headers.value("Sec-WebSocket-Protocol"); let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 1089, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T.SocketTo_WebSocketImpl())); - }, T.HttpClientResponseToFutureOfWebSocket())); + }, T$1.SocketTo_WebSocketImpl())); + }, T$1.HttpClientResponseToFutureOfWebSocket())); } static negotiateClientCompression(response, compression) { - let t305; - if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); - if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); - let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let t279; + if (response == null) dart.nullFailed(I[186], 1096, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1096, 55, "compression"); + let extensionHeader = (t279 = response.headers.value("Sec-WebSocket-Extensions"), t279 == null ? "" : t279); let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); function getWindowBits(type) { - let t305; - if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let t279; + if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); let o = hv.parameters[$_get](type); if (o == null) { return 15; } - t305 = core.int.tryParse(o); - return t305 == null ? 15 : t305; + t279 = core.int.tryParse(o); + return t279 == null ? 15 : t279; } dart.fn(getWindowBits, T$0.StringToint()); return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); } return null; } + static ['_#_fromSocket#tearOff'](_socket, protocol, compression, _serverSide = false, deflate = null) { + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); + return new _http._WebSocketImpl._fromSocket(_socket, protocol, compression, _serverSide, deflate); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -136709,19 +148881,19 @@ define([], (function load__dart_sdk() { return this[_pingInterval]; } set pingInterval(interval) { - let t305; + let t279; if (dart.test(this[_writeClosed])) return; - t305 = this[_pingTimer]; - t305 == null ? null : t305.cancel(); + t279 = this[_pingTimer]; + t279 == null ? null : t279.cancel(); this[_pingInterval] = interval; if (interval == null) return; this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { if (dart.test(this[_writeClosed])) return; this[_consumer].add(new _http._WebSocketPing.new()); this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { - let t305; - t305 = this[_closeTimer]; - t305 == null ? null : t305.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); this[_close$0](1001); this[_closeCode] = this[_outCloseCode]; this[_closeReason] = this[_outCloseReason]; @@ -136745,17 +148917,17 @@ define([], (function load__dart_sdk() { this[_sink].add(data); } addUtf8Text(bytes) { - if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 1225, 30, "bytes"); core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); this[_sink].add(new _http._EncodedString.new(bytes)); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + if (error == null) dart.nullFailed(I[186], 1231, 24, "error"); this[_sink].addError(error, stackTrace); } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); return this[_sink].addStream(stream); } get done() { @@ -136771,19 +148943,17 @@ define([], (function load__dart_sdk() { } if (!dart.test(this[_controller$0].isClosed)) { if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { - this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); - } - if (this[_closeTimer] == null) { - this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { - let t305; - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - t305 = this[_subscription$0]; - t305 == null ? null : t305.cancel(); - this[_controller$0].close(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - }, T$.VoidTovoid())); + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T$1.dynamicToMap())); } + this[_closeTimer] == null ? this[_closeTimer] = async.Timer.new(C[503] || CT.C503, dart.fn(() => { + let t279; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())) : null; } return this[_sink].close(); } @@ -136809,33 +148979,15 @@ define([], (function load__dart_sdk() { get [_serviceTypeName$]() { return "WebSocket"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); - let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - return r; - } static _isReservedStatusCode(code) { return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); } }; (_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { - let t303; - if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); - if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); - if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + let t279; + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); this[_subscription$0] = null; this[___WebSocketImpl__sink] = null; this[___WebSocketImpl__sink_isSet] = false; @@ -136870,11 +149022,11 @@ define([], (function load__dart_sdk() { this[_controller$0].add(data); } }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - let t303; - if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + if (error == null) dart.nullFailed(I[186], 1146, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1146, 43, "stackTrace"); + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (core.FormatException.is(error)) { this[_close$0](1007); } else { @@ -136884,9 +149036,9 @@ define([], (function load__dart_sdk() { this[_closeReason] = this[_outCloseReason]; this[_controller$0].close(); }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - let t303; - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (this[_readyState] === 1) { this[_readyState] = 2; if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { @@ -136901,16 +149053,16 @@ define([], (function load__dart_sdk() { this[_controller$0].close(); }, T$.VoidTovoid()), cancelOnError: true}); subscription.pause(); - t303 = this[_controller$0]; + t279 = this[_controller$0]; (() => { - t303.onListen = dart.bind(subscription, 'resume'); - t303.onCancel = dart.fn(() => { + t279.onListen = dart.bind(subscription, 'resume'); + t279.onCancel = dart.fn(() => { dart.nullCheck(this[_subscription$0]).cancel(); this[_subscription$0] = null; }, T$.VoidToNull()); - t303.onPause = dart.bind(subscription, 'pause'); - t303.onResume = dart.bind(subscription, 'resume'); - return t303; + t279.onPause = dart.bind(subscription, 'pause'); + t279.onResume = dart.bind(subscription, 'resume'); + return t279; })(); _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); }).prototype = _http._WebSocketImpl.prototype; @@ -136925,9 +149077,9 @@ define([], (function load__dart_sdk() { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]) })); + dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); dart.setGetterSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), [_sink]: async.StreamSink, @@ -136947,6 +149099,8 @@ define([], (function load__dart_sdk() { [_consumer]: _http._WebSocketConsumer, pingInterval: dart.nullable(core.Duration) })); + dart.setStaticGetterSignature(_http._WebSocketImpl, () => ['userAgent']); + dart.setStaticSetterSignature(_http._WebSocketImpl, () => ['userAgent']); dart.setLibraryUri(_http._WebSocketImpl, I[177]); dart.setFieldSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getFields(_http._WebSocketImpl.__proto__), @@ -136970,11 +149124,11 @@ define([], (function load__dart_sdk() { [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); + dart.setStaticFieldSignature(_http._WebSocketImpl, () => ['_webSockets', 'DEFAULT_WINDOW_BITS', 'PER_MESSAGE_DEFLATE', '_httpClient']); dart.defineLazy(_http._WebSocketImpl, { /*_http._WebSocketImpl._webSockets*/get _webSockets() { - return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + return new (T$1.IdentityMapOfint$_WebSocketImpl()).new(); }, - set _webSockets(_) {}, /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { return 15; }, @@ -136991,6 +149145,34 @@ define([], (function load__dart_sdk() { version = version[$substring](0, index); return "Dart/" + dart.str(version) + " (dart:io)"; }; + _http['Testing$HttpDate|test$_parseCookieDate'] = function Testing$36HttpDate$124test$36_parseCookieDate(date) { + if (date == null) dart.nullFailed(I[187], 45, 48, "date"); + return _http.HttpDate._parseCookieDate(date); + }; + _http['Testing$_HttpHeaders|test$_build'] = function Testing$36_HttpHeaders$124test$36_build($this, builder) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return $this[_build](builder); + }; + _http['Testing$_HttpHeaders|get#test$_build'] = function Testing$36_HttpHeaders$124get$35test$36_build($this) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + return dart.fn(builder => { + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return _http['Testing$_HttpHeaders|test$_build']($this, builder); + }, T$1.BytesBuilderTovoid()); + }; + _http['Testing$_HttpHeaders|test$_parseCookies'] = function Testing$36_HttpHeaders$124test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return $this[_parseCookies](); + }; + _http['Testing$_HttpHeaders|get#test$_parseCookies'] = function Testing$36_HttpHeaders$124get$35test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return dart.fn(() => _http['Testing$_HttpHeaders|test$_parseCookies']($this), T$1.VoidToListOfCookie()); + }; + _http['Testing$_WebSocketProtocolTransformer|get#test$_state'] = function Testing$36_WebSocketProtocolTransformer$124get$35test$36_state($this) { + if ($this == null) dart.nullFailed(I[187], 56, 11, "#this"); + return $this[_state$1]; + }; dart.defineLazy(_http, { /*_http._MASK_8*/get _MASK_8() { return 255; @@ -137004,10 +149186,23 @@ define([], (function load__dart_sdk() { /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { return 4; }, + /*_http._httpConnectionHook*/get _httpConnectionHook() { + return dart.fn(_ => { + if (_ == null) dart.nullFailed(I[188], 21, 43, "_"); + }, T$1.UriTovoid()); + }, + set _httpConnectionHook(value) { + if (value == null) dart.nullFailed(I[188], 21, 20, "_httpConnectionHook"); + }, + /*_http._digitsValidator*/get _digitsValidator() { + return core.RegExp.new("^\\d+$"); + }, /*_http._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); + }, /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { return 8192; }, @@ -137018,7 +149213,7 @@ define([], (function load__dart_sdk() { return new core.Object.new(); }, /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*_http._webSocketGUID*/get _webSocketGUID() { return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; @@ -137039,6 +149234,7 @@ define([], (function load__dart_sdk() { dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); dart.trackLibraries("dart_sdk", { "dart:_runtime": dart, + "dart:_dart2js_runtime_metrics": _dart2js_runtime_metrics, "dart:_debugger": _debugger, "dart:_foreign_helper": _foreign_helper, "dart:_interceptors": _interceptors, @@ -137064,30 +149260,30 @@ define([], (function load__dart_sdk() { "dart:svg": svg$, "dart:web_audio": web_audio, "dart:web_gl": web_gl, - "dart:web_sql": web_sql, "dart:core": core, "dart:_http": _http }, { "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], "dart:_debugger": ["profile.dart"], "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], - "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "patch.dart", "print.dart", "sort.dart", "symbol.dart"], "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], - "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], "dart:isolate": ["capability.dart"], "dart:math": ["point.dart", "random.dart", "rectangle.dart"], "dart:typed_data": ["unmodifiable_typed_data.dart"], "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], - "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], - "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "enum.dart", "errors.dart", "exceptions.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "record.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart", "weak.dart"], + "dart:_http": ["crypto.dart", "embedder_config.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "http_testing.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] }, null); // Exports: return { dart: dart, + _dart2js_runtime_metrics: _dart2js_runtime_metrics, _debugger: _debugger, _foreign_helper: _foreign_helper, _interceptors: _interceptors, @@ -137113,7 +149309,6 @@ define([], (function load__dart_sdk() { svg: svg$, web_audio: web_audio, web_gl: web_gl, - web_sql: web_sql, core: core, _http: _http, dartx: dartx diff --git a/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js index 1e2628bff..715c93b28 100644 --- a/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js +++ b/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js @@ -1,7 +1,12 @@ +// Generated by DDC, the Dart Development Compiler (to JavaScript). +// Version: 2.19.0-374.0.dev (dev) (Fri Nov 4 12:40:18 2022 -0700) on "linux_x64" +// Module: dart_sdk +// Flags: soundNullSafety(false), enableAsserts(true) 'use strict'; const _library = Object.create(null); const dart = Object.create(_library); dart.library = _library; +var _dart2js_runtime_metrics = Object.create(dart.library); var _debugger = Object.create(dart.library); var _foreign_helper = Object.create(dart.library); var _interceptors = Object.create(dart.library); @@ -27,7 +32,6 @@ var html_common = Object.create(dart.library); var svg$ = Object.create(dart.library); var web_audio = Object.create(dart.library); var web_gl = Object.create(dart.library); -var web_sql = Object.create(dart.library); var core = Object.create(dart.library); var _http = Object.create(dart.library); var dartx = Object.create(dart.library); @@ -47,6 +51,7 @@ var $length = dartx.length = Symbol("dartx.length"); var $_equals = dartx._equals = Symbol("dartx._equals"); var $toString = dartx.toString = Symbol("dartx.toString"); var $noSuchMethod = dartx.noSuchMethod = Symbol("dartx.noSuchMethod"); +var $add = dartx.add = Symbol("dartx.add"); var $cast = dartx.cast = Symbol("dartx.cast"); var $addAll = dartx.addAll = Symbol("dartx.addAll"); var $_set = dartx._set = Symbol("dartx._set"); @@ -54,7 +59,6 @@ var $_get = dartx._get = Symbol("dartx._get"); var $clear = dartx.clear = Symbol("dartx.clear"); var $contains = dartx.contains = Symbol("dartx.contains"); var $indexOf = dartx.indexOf = Symbol("dartx.indexOf"); -var $add = dartx.add = Symbol("dartx.add"); var $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); var $map = dartx.map = Symbol("dartx.map"); var $toList = dartx.toList = Symbol("dartx.toList"); @@ -68,7 +72,6 @@ var $any = dartx.any = Symbol("dartx.any"); var $keys = dartx.keys = Symbol("dartx.keys"); var $remove = dartx.remove = Symbol("dartx.remove"); var $values = dartx.values = Symbol("dartx.values"); -var $entries = dartx.entries = Symbol("dartx.entries"); var $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); var $truncate = dartx.truncate = Symbol("dartx.truncate"); var $toInt = dartx.toInt = Symbol("dartx.toInt"); @@ -188,6 +191,7 @@ var $offsetInBytes = dartx.offsetInBytes = Symbol("dartx.offsetInBytes"); var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); var $update = dartx.update = Symbol("dartx.update"); var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); +var $entries = dartx.entries = Symbol("dartx.entries"); var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); @@ -258,6 +262,8 @@ var T$ = { IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + LinkedHashMapOfString$Object: () => (T$.LinkedHashMapOfString$Object = dart.constFn(collection.LinkedHashMap$(core.String, core.Object)))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), @@ -284,18 +290,15 @@ var T$ = { StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), - ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), - InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), - MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), - ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), - VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), @@ -306,7 +309,6 @@ var T$ = { ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), - ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), @@ -330,27 +332,65 @@ var T$ = { _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), - VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), - ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), - VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), - StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), - FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), - VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), - _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), - JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + ZoneAndZoneDelegateAndZone__ToR: () => (T$.ZoneAndZoneDelegateAndZone__ToR = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR())))(), + ZoneAndZoneDelegateAndZone__ToR$1: () => (T$.ZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR(), T]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$1())))(), + ZoneAndZoneDelegateAndZone__ToR$2: () => (T$.ZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR(), T1, T2]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$2())))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [__t$VoidToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [__t$TToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR()]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [__t$T1AndT2ToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR()]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$2())))(), AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), @@ -371,16 +411,106 @@ var T$ = { _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL())))(), ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL(), __t$TL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1())))(), ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL(), __t$T1L(), __t$T2L()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2())))(), ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), - ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$VoidToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$3: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$3 = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$TLToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$4: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$4 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$T1LAndT2LToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2())))(), + ZoneAndZoneDelegateAndZone__ToFn$5: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$5 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), @@ -413,21 +543,25 @@ var T$ = { ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), - NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), - StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), - HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), - JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), - ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), - ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), - LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() + ObjectNTo_FutureOfObjectN: () => (T$.ObjectNTo_FutureOfObjectN = dart.constFn(dart.fnType(T$._FutureOfObjectN(), [T$.ObjectN()])))(), + ObjectAndStackTraceNToObject: () => (T$.ObjectAndStackTraceNToObject = dart.constFn(dart.fnType(core.Object, [core.Object, T$.StackTraceN()])))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + ObjectNAndObjectNTovoid$1: () => (T$.ObjectNAndObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()], [T$.ObjectN()])))() }; var T$0 = { + StringTovoid: () => (T$0.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$0.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + ObjectNToint: () => (T$0.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$0.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$0.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))(), dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), - ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + StringTodynamic: () => (T$0.StringTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.String])))(), MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + VoidTodynamic: () => (T$0.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ListN: () => (T$0.ListN = dart.constFn(dart.nullable(core.List)))(), IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), @@ -441,40 +575,36 @@ var T$0 = { StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), - SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), - LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), - UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), - CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), - UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), - CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), - UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + UnmodifiableMapViewOfString$Metric: () => (T$0.UnmodifiableMapViewOfString$Metric = dart.constFn(collection.UnmodifiableMapView$(core.String, developer.Metric)))(), + IdentityMapOfString$Metric: () => (T$0.IdentityMapOfString$Metric = dart.constFn(_js_helper.IdentityMap$(core.String, developer.Metric)))(), + CompleterOfStringN: () => (T$0.CompleterOfStringN = dart.constFn(async.Completer$(T$.StringN())))(), + StringNTovoid: () => (T$0.StringNTovoid = dart.constFn(dart.fnType(dart.void, [T$.StringN()])))(), _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), - JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + _AsyncBlockN: () => (T$0._AsyncBlockN = dart.constFn(dart.nullable(developer._AsyncBlock)))(), + JSArrayOf_AsyncBlockN: () => (T$0.JSArrayOf_AsyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._AsyncBlockN())))(), LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), - VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), - Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), - dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), - dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + ObjectNTo_Directory: () => (T$0.ObjectNTo_Directory = dart.constFn(dart.fnType(io._Directory, [T$.ObjectN()])))(), + ObjectNToDirectory: () => (T$0.ObjectNToDirectory = dart.constFn(dart.fnType(io.Directory, [T$.ObjectN()])))(), JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), - FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), - dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), - dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + ObjectNToFileSystemEntityType: () => (T$0.ObjectNToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [T$.ObjectN()])))(), StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + ObjectNToNull: () => (T$0.ObjectNToNull = dart.constFn(dart.fnType(core.Null, [T$.ObjectN()])))(), StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), @@ -482,54 +612,51 @@ var T$0 = { FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), - StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), - VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), - StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + FutureOfObjectN: () => (T$0.FutureOfObjectN = dart.constFn(async.Future$(T$.ObjectN())))(), DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), - DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), - dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + DirectoryNToFutureOfObjectN: () => (T$0.DirectoryNToFutureOfObjectN = dart.constFn(dart.fnType(T$0.FutureOfObjectN(), [T$0.DirectoryN()])))(), + ObjectNTo_File: () => (T$0.ObjectNTo_File = dart.constFn(dart.fnType(io._File, [T$.ObjectN()])))(), FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), - dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), - dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), - FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), - dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), - dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + ObjectNToFile: () => (T$0.ObjectNToFile = dart.constFn(dart.fnType(io.File, [T$.ObjectN()])))(), + ObjectNTo_RandomAccessFile: () => (T$0.ObjectNTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [T$.ObjectN()])))(), + ObjectNToDateTime: () => (T$0.ObjectNToDateTime = dart.constFn(dart.fnType(core.DateTime, [T$.ObjectN()])))(), CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), - dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), - dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ObjectNToFileStat: () => (T$0.ObjectNToFileStat = dart.constFn(dart.fnType(io.FileStat, [T$.ObjectN()])))(), ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), - dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + ObjectNTo_Link: () => (T$0.ObjectNTo_Link = dart.constFn(dart.fnType(io._Link, [T$.ObjectN()])))(), FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), - dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + ObjectNToLink: () => (T$0.ObjectNToLink = dart.constFn(dart.fnType(io.Link, [T$.ObjectN()])))(), _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + IterableOfObjectN: () => (T$0.IterableOfObjectN = dart.constFn(core.Iterable$(T$.ObjectN())))(), _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), @@ -542,7 +669,7 @@ var T$0 = { StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), - dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + ListOfObjectNToFutureOfRawSecureSocket: () => (T$0.ListOfObjectNToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [T$.ListOfObjectN()])))(), StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), @@ -555,9 +682,12 @@ var T$0 = { intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), - JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), - StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + FutureOrNTovoid: () => (T$0.FutureOrNTovoid = dart.constFn(dart.fnType(dart.void, [], [dart.dynamic])))(), Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + _RemoteRunnerOfObjectN: () => (T$0._RemoteRunnerOfObjectN = dart.constFn(isolate$._RemoteRunner$(T$.ObjectN())))(), + _RemoteRunnerOfObjectNTovoid: () => (T$0._RemoteRunnerOfObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$0._RemoteRunnerOfObjectN()])))(), + IsolateToNull: () => (T$0.IsolateToNull = dart.constFn(dart.fnType(core.Null, [isolate$.Isolate])))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), @@ -606,13 +736,15 @@ var T$0 = { EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + RenderingContextN: () => (T$0.RenderingContextN = dart.constFn(dart.nullable(web_gl.RenderingContext)))(), CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), - dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementToCssStyleDeclaration: () => (T$0.ElementToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [html$.Element])))(), CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), @@ -626,7 +758,6 @@ var T$0 = { SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), - ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), @@ -638,7 +769,6 @@ var T$0 = { FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), - GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), @@ -709,12 +839,8 @@ var T$0 = { EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), - ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), - _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), - StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), - BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), - _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), - _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventL: () => (T$0.BeforeUnloadEventL = dart.constFn(dart.legacy(html$.BeforeUnloadEvent)))(), + EventStreamProviderOfBeforeUnloadEventL: () => (T$0.EventStreamProviderOfBeforeUnloadEventL = dart.constFn(html$.EventStreamProvider$(T$0.BeforeUnloadEventL())))(), GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), @@ -729,6 +855,7 @@ var T$0 = { SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), @@ -743,25 +870,23 @@ var T$0 = { TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), - CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + CompleterOfObject: () => (T$0.CompleterOfObject = dart.constFn(async.Completer$(core.Object)))(), AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + DomExceptionN: () => (T$0.DomExceptionN = dart.constFn(dart.nullable(html$.DomException)))(), + DomExceptionNTovoid: () => (T$0.DomExceptionNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.DomExceptionN()])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + ObjectToAudioBuffer: () => (T$0.ObjectToAudioBuffer = dart.constFn(dart.fnType(web_audio.AudioBuffer, [core.Object])))(), AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), - CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), - SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), - SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), - CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), - SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), - SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), - intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + numN: () => (T$0.numN = dart.constFn(dart.nullable(core.num)))(), SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), - StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + StringAndintNTovoid: () => (T$0.StringAndintNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.intN()])))(), ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), @@ -770,7 +895,8 @@ var T$0 = { IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), - _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + intAndintAndint__ToDateTime: () => (T$0.intAndintAndint__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [core.int], [core.int, core.int, core.int, core.int, core.int, core.int, core.int])))(), + __ToDateTime: () => (T$0.__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [], {day: T$.intN(), hour: T$.intN(), isUtc: T$.boolN(), microsecond: T$.intN(), millisecond: T$.intN(), minute: T$.intN(), month: T$.intN(), second: T$.intN(), year: T$.intN()}, {})))(), ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), @@ -782,124 +908,127 @@ var T$0 = { JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), - UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), - StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), - JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), - _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), - IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), - JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), - VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), - dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), - CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), - CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), - FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), - _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), - _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), - Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), - dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), - VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), - VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), - _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), - _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), - _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), - _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), - FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), - boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), - SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), - CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), - EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), - ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), - CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), - CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), - JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), - HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), - JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), - ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), - CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), - StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), - voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), - voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), - StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), - _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), - dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), - dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), - dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() -}; -var T = { - dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), - dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), - _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), - CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), - _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), - SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), - SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), - FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), - SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), - SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), - FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), - HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), - SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), - _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), - _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), - FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), - CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), - X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), - _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), - FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), - dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), - ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), - IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), - JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), - JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), - MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), - Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), - _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), - _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), - FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), - _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), - FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), - _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), - _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), - VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), - dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), - _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), - _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), - StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), - StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), - SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), - dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), - IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), - LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), - StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), - ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), - SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), - _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), - _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), - LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), - JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), - StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), - IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), - VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), - IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), - HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), - EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), - StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), - StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), - WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), - HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), - FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), - SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), - StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), - VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), - EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), - EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), - CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), - dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), - HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), - StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), - HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), - dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), - LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))() +}; +var T$1 = { + StringNToString: () => (T$1.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$1.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$1._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$1.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$1.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$1.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + CompleterOfbool: () => (T$1.CompleterOfbool = dart.constFn(async.Completer$(core.bool)))(), + CookieTobool: () => (T$1.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$1.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$1.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$1._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$1._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$1.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$1.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$1.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$1.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$1._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$1._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$1._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$1._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$1._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$1.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$1.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$1.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$1.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + ListOfintToListOfint: () => (T$1.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$1.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$1.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$1.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$1.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$1.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$1.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$1.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$1.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$1.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$1.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$1.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$1._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$1.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$1.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessage: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T$1.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T$1._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T$1.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T$1._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T$1.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T$1.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T$1.FutureOfSocketN = dart.constFn(async.Future$(T$1.SocketN())))(), + SocketTo_DetachedSocket: () => (T$1.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T$1.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T$1.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T$1.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T$1.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T$1.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T$1._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + ConnectionTaskOfSocket: () => (T$1.ConnectionTaskOfSocket = dart.constFn(io.ConnectionTask$(io.Socket)))(), + _HashSetOfConnectionTaskOfSocket: () => (T$1._HashSetOfConnectionTaskOfSocket = dart.constFn(collection._HashSet$(T$1.ConnectionTaskOfSocket())))(), + ListQueueOfVoidTovoid: () => (T$1.ListQueueOfVoidTovoid = dart.constFn(collection.ListQueue$(T$.VoidTovoid())))(), + SocketToNull: () => (T$1.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + FutureOf_ConnectionInfo: () => (T$1.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T$1.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T$1.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T$1._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T$1.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + SocketToFutureOrOf_ConnectionInfo: () => (T$1.SocketToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOrOf_ConnectionInfo(), [io.Socket])))(), + ConnectionTaskOfSocketToFutureOf_ConnectionInfo: () => (T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [T$1.ConnectionTaskOfSocket()])))(), + IdentityMapOfString$_ConnectionTarget: () => (T$1.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T$1.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T$1.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T$1.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T$1.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T$1.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T$1._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T$1._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T$1.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T$1._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T$1.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T$1._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T$1.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T$1._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T$1.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicAnddynamicToFutureOf_ConnectionInfo: () => (T$1.dynamicAnddynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [dart.dynamic, dart.dynamic])))(), + _SiteCredentialsN: () => (T$1._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T$1._SiteCredentialsN(), [T$1._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T$1.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + dynamicTo_DetachedSocket: () => (T$1.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T$1.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T$1.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T$1.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T$1.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T$1.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + IdentityMapOfint$_HttpServer: () => (T$1.IdentityMapOfint$_HttpServer = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T$1.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamOfUint8List: () => (T$1.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + StreamControllerOf_HttpIncoming: () => (T$1.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T$1.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T$1.VoidToNdynamic = dart.constFn(dart.nullable(T$0.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T$1.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T$1.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T$1.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T$1.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T$1.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T$1.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T$1.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T$1.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T$1.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T$1.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T$1.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T$1.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T$1.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T$1.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T$1.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T$1.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToFutureOfWebSocket: () => (T$1.StringToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T$1.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T$1.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + IdentityMapOfint$_WebSocketImpl: () => (T$1.IdentityMapOfint$_WebSocketImpl = dart.constFn(_js_helper.IdentityMap$(core.int, _http._WebSocketImpl)))(), + BytesBuilderTovoid: () => (T$1.BytesBuilderTovoid = dart.constFn(dart.fnType(dart.void, [_internal.BytesBuilder])))(), + ListOfCookie: () => (T$1.ListOfCookie = dart.constFn(core.List$(_http.Cookie)))(), + VoidToListOfCookie: () => (T$1.VoidToListOfCookie = dart.constFn(dart.fnType(T$1.ListOfCookie(), [])))(), + UriTovoid: () => (T$1.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))() }; var S = { _delete$1: dart.privateName(indexed_db, "_delete"), @@ -1084,7 +1213,6 @@ var S = { _namespaceUri: dart.privateName(html$, "_namespaceUri"), $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), @@ -1118,6 +1246,7 @@ var S = { $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), $dir: dartx.dir = Symbol("dartx.dir"), $draggable: dartx.draggable = Symbol("dartx.draggable"), @@ -1173,12 +1302,12 @@ var S = { _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + $scrollIntoViewIfNeeded: dartx.scrollIntoViewIfNeeded = Symbol("dartx.scrollIntoViewIfNeeded"), _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), - $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $after: dartx.after = Symbol("dartx.after"), $before: dartx.before = Symbol("dartx.before"), $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), @@ -1218,7 +1347,9 @@ var S = { $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown") +}; +var S$ = { $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), @@ -1240,9 +1371,7 @@ var S = { $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") -}; -var S$ = { + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), @@ -1720,7 +1849,9 @@ var S$ = { $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle") +}; +var S$0 = { $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), @@ -1742,9 +1873,7 @@ var S$ = { $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth") -}; -var S$0 = { + _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), _borderSpacing: dart.privateName(html$, "_borderSpacing"), $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), @@ -1969,6 +2098,7 @@ var S$0 = { $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $gap: dartx.gap = Symbol("dartx.gap"), $grid: dartx.grid = Symbol("dartx.grid"), $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), @@ -2052,6 +2182,7 @@ var S$0 = { $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), $resize: dartx.resize = Symbol("dartx.resize"), + $rowGap: dartx.rowGap = Symbol("dartx.rowGap"), $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), @@ -2119,8 +2250,8 @@ var S$0 = { $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), $zoom: dartx.zoom = Symbol("dartx.zoom"), - _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _elementIterable: dart.privateName(html$, "_elementIterable"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _setAll: dart.privateName(html$, "_setAll"), $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), $rules: dartx.rules = Symbol("dartx.rules"), @@ -2220,7 +2351,9 @@ var S$0 = { $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $isFile: dartx.isFile = Symbol("dartx.isFile"), + $isFile: dartx.isFile = Symbol("dartx.isFile") +}; +var S$1 = { _copyTo: dart.privateName(html$, "_copyTo"), $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), _getMetadata: dart.privateName(html$, "_getMetadata"), @@ -2244,9 +2377,7 @@ var S$0 = { _head$1: dart.privateName(html$, "_head"), $implementation: dartx.implementation = Symbol("dartx.implementation"), _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") -}; -var S$1 = { + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), _referrer: dart.privateName(html$, "_referrer"), $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), @@ -2288,7 +2419,6 @@ var S$1 = { _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), @@ -2296,6 +2426,7 @@ var S$1 = { _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), $fonts: dartx.fonts = Symbol("dartx.fonts"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), @@ -2387,7 +2518,7 @@ var S$1 = { $supports: dartx.supports = Symbol("dartx.supports"), $toggle: dartx.toggle = Symbol("dartx.toggle"), _childElements: dart.privateName(html$, "_childElements"), - _element$2: dart.privateName(html$, "_element"), + _element: dart.privateName(html$, "_element"), _filter$2: dart.privateName(html$, "_filter"), _nodeList: dart.privateName(html$, "_nodeList"), _forElementList: dart.privateName(html$, "_forElementList"), @@ -2677,7 +2808,7 @@ var S$1 = { _get_data: dart.privateName(html$, "_get_data"), _get_source: dart.privateName(html$, "_get_source"), _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _start$4: dart.privateName(html$, "_start"), + _start$5: dart.privateName(html$, "_start"), $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), @@ -2722,7 +2853,9 @@ var S$1 = { $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), - _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_1$1: dart.privateName(html$, "_observe_1") +}; +var S$2 = { _observe_2: dart.privateName(html$, "_observe_2"), _observe: dart.privateName(html$, "_observe"), _call: dart.privateName(html$, "_call"), @@ -2746,9 +2879,7 @@ var S$1 = { $credentials: dartx.credentials = Symbol("dartx.credentials"), $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation") -}; -var S$2 = { + $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), @@ -2856,7 +2987,13 @@ var S$2 = { $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + _mark_1: dart.privateName(html$, "_mark_1"), + _mark_2: dart.privateName(html$, "_mark_2"), $mark: dartx.mark = Symbol("dartx.mark"), + _measure_1: dart.privateName(html$, "_measure_1"), + _measure_2: dart.privateName(html$, "_measure_2"), + _measure_3: dart.privateName(html$, "_measure_3"), + _measure_4: dart.privateName(html$, "_measure_4"), $measure: dartx.measure = Symbol("dartx.measure"), $now: dartx.now = Symbol("dartx.now"), $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), @@ -2983,6 +3120,7 @@ var S$2 = { $stat: dartx.stat = Symbol("dartx.stat"), _getStats: dart.privateName(html$, "_getStats"), $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $connectionState: dartx.connectionState = Symbol("dartx.connectionState"), $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), @@ -3009,6 +3147,7 @@ var S$2 = { $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onConnectionStateChange: dartx.onConnectionStateChange = Symbol("dartx.onConnectionStateChange"), $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), @@ -3216,7 +3355,9 @@ var S$2 = { $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent") +}; +var S$3 = { $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), @@ -3248,9 +3389,7 @@ var S$2 = { __radiusY: dart.privateName(html$, "__radiusY"), $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") -}; -var S$3 = { + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), $touches: dartx.touches = Symbol("dartx.touches"), $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), @@ -3403,7 +3542,6 @@ var S$3 = { $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - _openDatabase: dart.privateName(html$, "_openDatabase"), $print: dartx.print = Symbol("dartx.print"), _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), @@ -3428,16 +3566,10 @@ var S$3 = { $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _returnValue: dart.privateName(html$, "_returnValue"), - wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), - _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _eventType$1: dart.privateName(html$, "_eventType"), $focused: dartx.focused = Symbol("dartx.focused"), $navigate: dartx.navigate = Symbol("dartx.navigate"), $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), @@ -3486,7 +3618,8 @@ var S$3 = { _sets: dart.privateName(html$, "_sets"), _validateToken: dart.privateName(html_common, "_validateToken"), _unit: dart.privateName(html$, "_unit"), - _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), _target$2: dart.privateName(html$, "_target"), _useCapture: dart.privateName(html$, "_useCapture"), _targetList: dart.privateName(html$, "_targetList"), @@ -3507,6 +3640,7 @@ var S$3 = { _realKeyCode: dart.privateName(html$, "_realKeyCode"), _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), _controller$2: dart.privateName(html$, "_controller"), _subscriptions: dart.privateName(html$, "_subscriptions"), _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), @@ -3521,8 +3655,8 @@ var S$3 = { _validators: dart.privateName(html$, "_validators"), _templateAttrs: dart.privateName(html$, "_templateAttrs"), _list$19: dart.privateName(html$, "_list"), - _iterator$3: dart.privateName(html$, "_iterator"), - _current$4: dart.privateName(html$, "_current"), + _iterator$2: dart.privateName(html$, "_iterator"), + _current$5: dart.privateName(html$, "_current"), _array: dart.privateName(html$, "_array"), _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), _interceptor: dart.privateName(html$, "_interceptor"), @@ -3542,7 +3676,7 @@ var S$3 = { preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), stencil: dart.privateName(html_common, "ContextAttributes.stencil"), failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - data$1: dart.privateName(html_common, "_TypedImageData.data"), + data$2: dart.privateName(html_common, "_TypedImageData.data"), height$1: dart.privateName(html_common, "_TypedImageData.height"), width$1: dart.privateName(html_common, "_TypedImageData.width"), _childNodes: dart.privateName(html_common, "_childNodes"), @@ -3666,7 +3800,7 @@ var S$3 = { $fx: dartx.fx = Symbol("dartx.fx"), $fy: dartx.fy = Symbol("dartx.fy"), $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$3: dart.privateName(svg$, "_element"), + _element$1: dart.privateName(svg$, "_element"), $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), @@ -3723,7 +3857,9 @@ var S$3 = { $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), $context: dartx.context = Symbol("dartx.context"), $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs") +}; +var S$4 = { _connect: dart.privateName(web_audio, "_connect"), $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), @@ -3742,7 +3878,6 @@ var S$3 = { $suspend: dartx.suspend = Symbol("dartx.suspend"), $createGain: dartx.createGain = Symbol("dartx.createGain"), $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), $destination: dartx.destination = Symbol("dartx.destination"), $listener: dartx.listener = Symbol("dartx.listener"), @@ -3750,9 +3885,7 @@ var S$3 = { $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") -}; -var S$4 = { + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), @@ -4144,22 +4277,12 @@ var S$4 = { $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), - _changeVersion: dart.privateName(web_sql, "_changeVersion"), - $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), - _readTransaction: dart.privateName(web_sql, "_readTransaction"), - $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), - $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), - $insertId: dartx.insertId = Symbol("dartx.insertId"), - $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), - _item_1: dart.privateName(web_sql, "_item_1"), - _executeSql: dart.privateName(web_sql, "_executeSql"), - $executeSql: dartx.executeSql = Symbol("dartx.executeSql") + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") }; const CT = Object.create({ _: () => (C, CT) }); -var C = Array(490).fill(void 0); +var C = Array(504).fill(void 0); var I = [ "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", @@ -4169,6 +4292,7 @@ var I = [ "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "org-dartlang-sdk:///lib/core/object.dart", "dart:core", "dart:_runtime", "org-dartlang-sdk:///lib/core/invocation.dart", @@ -4188,6 +4312,7 @@ var I = [ "dart:collection", "dart:_internal", "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/internal/async_cast.dart", "org-dartlang-sdk:///lib/async/stream.dart", "dart:async", @@ -4221,6 +4346,7 @@ var I = [ "dart:_metadata", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", "dart:_native_typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", "dart:typed_data", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", "org-dartlang-sdk:///lib/async/async_error.dart", @@ -4253,8 +4379,8 @@ var I = [ "org-dartlang-sdk:///lib/convert/codec.dart", "org-dartlang-sdk:///lib/core/list.dart", "org-dartlang-sdk:///lib/convert/byte_conversion.dart", - "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/html_escape.dart", "org-dartlang-sdk:///lib/convert/json.dart", "org-dartlang-sdk:///lib/convert/latin1.dart", @@ -4276,11 +4402,11 @@ var I = [ "org-dartlang-sdk:///lib/io/embedder_config.dart", "org-dartlang-sdk:///lib/io/file.dart", "org-dartlang-sdk:///lib/io/file_impl.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/link.dart", - "org-dartlang-sdk:///lib/io/network_policy.dart", "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/core/enum.dart", "org-dartlang-sdk:///lib/io/overrides.dart", "org-dartlang-sdk:///lib/io/platform_impl.dart", "org-dartlang-sdk:///lib/io/process.dart", @@ -4299,13 +4425,12 @@ var I = [ "org-dartlang-sdk:///lib/js/js.dart", "org-dartlang-sdk:///lib/js_util/js_util.dart", "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_shared/lib/js_util_patch.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", "dart:math", "org-dartlang-sdk:///lib/math/point.dart", "org-dartlang-sdk:///lib/math/rectangle.dart", "org-dartlang-sdk:///lib/typed_data/typed_data.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", - "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", "dart:indexed_db", "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", @@ -4323,19 +4448,17 @@ var I = [ "dart:web_audio", "dart:web_gl", "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", - "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", - "dart:web_sql", - "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/annotations.dart", "org-dartlang-sdk:///lib/core/bool.dart", "org-dartlang-sdk:///lib/core/comparable.dart", "org-dartlang-sdk:///lib/core/date_time.dart", "org-dartlang-sdk:///lib/core/duration.dart", - "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/set.dart", "org-dartlang-sdk:///lib/core/stacktrace.dart", "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/symbol.dart", "org-dartlang-sdk:///lib/core/uri.dart", "org-dartlang-sdk:///lib/_http/http.dart", "dart:_http", @@ -4347,7 +4470,9 @@ var I = [ "org-dartlang-sdk:///lib/_http/http_session.dart", "org-dartlang-sdk:///lib/_http/overrides.dart", "org-dartlang-sdk:///lib/_http/websocket.dart", - "org-dartlang-sdk:///lib/_http/websocket_impl.dart" + "org-dartlang-sdk:///lib/_http/websocket_impl.dart", + "org-dartlang-sdk:///lib/_http/http_testing.dart", + "org-dartlang-sdk:///lib/_http/embedder_config.dart" ]; var _jsError$ = dart.privateName(dart, "_jsError"); var _type$ = dart.privateName(dart, "_type"); @@ -4442,7 +4567,6 @@ dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClas } let genericType = genericFutureOrType(typeArg); genericType[dart._originalDeclaration] = normalize; - dart.addTypeCaches(genericType); function is_FutureOr(obj) { return typeArg.is(obj) || async.Future$(typeArg).is(obj); } @@ -4499,7 +4623,6 @@ dart.generic = function generic(typeConstructor, setBaseClass) { return value; } makeGenericType[dart._genericTypeCtor] = typeConstructor; - dart.addTypeCaches(makeGenericType); return makeGenericType; }; dart.getGenericClass = function getGenericClass(type) { @@ -4570,6 +4693,7 @@ dart.isJsInterop = function isJsInterop(obj) { } if (typeof obj !== "object") return false; if (obj[dart._extensionType] != null) return false; + if (obj instanceof dart._RecordImpl) return false; return !(obj instanceof core.Object); }; dart.getMethodType = function getMethodType(type, name) { @@ -4722,14 +4846,14 @@ dart.applyExtensionForTesting = function applyExtensionForTesting(name) { dart._applyExtension(jsType, dartExtType); }; dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 566, 39, "memberNames"); let proto = type.prototype; for (let name of memberNames) { proto[dartx[name]] = proto[name]; } }; dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 574, 46, "memberNames"); let proto = type.prototype; for (let name of memberNames) { let member = null; @@ -4764,12 +4888,31 @@ dart.addTypeTests = function addTypeTests(ctor, isClass) { return dart.as(obj, this); }; }; +dart.typeTagSymbol = function typeTagSymbol(recipe) { + if (recipe == null) dart.nullFailed(I[0], 648, 29, "recipe"); + let tag = dart.str("$is_") + dart.str(recipe); + let probe = dart._typeTagSymbols[tag]; + if (probe != null) return probe; + let tagSymbol = Symbol(tag); + dart._typeTagSymbols[tag] = tagSymbol; + return tagSymbol; +}; +dart.addRtiResources = function addRtiResources(classRef, recipe) { + if (classRef == null) dart.nullFailed(I[0], 664, 29, "classRef"); + if (recipe == null) dart.nullFailed(I[0], 664, 46, "recipe"); + classRef.$interfaceRecipe = recipe; + let prototype = classRef.prototype; + let tagSymbol = dart.typeTagSymbol(recipe); + prototype[tagSymbol] = true; +}; dart.addTypeCaches = function addTypeCaches(type) { - type[dart._cachedLegacy] = void 0; - type[dart._cachedNullable] = void 0; - let subtypeCacheMap = new Map(); - type[dart._subtypeCache] = subtypeCacheMap; - dart._cacheMaps.push(subtypeCacheMap); + { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); + } }; dart.argumentError = function argumentError(value) { dart.throw(new core.ArgumentError.value(value)); @@ -4786,11 +4929,18 @@ dart.assertFailed = function assertFailed(message, fileUri = null, line = null, }; dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { if (isModuleSound !== false) { - let sdkMode = false ? "sound" : "unsound"; + let sdkMode = "unsound"; let moduleMode = isModuleSound ? "sound" : "unsound"; dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); } }; +dart._checkModuleRuntimeTypes = function _checkModuleRuntimeTypes(useNewTypes) { + if (useNewTypes !== false) { + let sdkTypes = "old"; + let moduleTypes = useNewTypes ? "new" : "old"; + dart.throw(new core.AssertionError.new("The Dart SDK module is using the " + sdkTypes + " runtime " + "type representation and is incompatible with the " + moduleTypes + " " + "representation used in this module.")); + } +}; dart._nullFailedMessage = function _nullFailedMessage(variableName) { return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; }; @@ -4805,7 +4955,7 @@ dart.nullFailed = function nullFailed(fileUri, line, column, variable) { } }; dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + if (name == null) dart.nullFailed(I[1], 81, 37, "name"); dart.throw(new _internal.LateError.new(name)); }; dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { @@ -4820,7 +4970,21 @@ dart.castError = function castError(obj, expectedType) { dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart._castErrorMessage = function _castErrorMessage(from, to) { - return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; + let fromName = "'" + dart.typeName(from) + "'"; + let toName = "'" + dart.typeName(to) + "'"; + let toType = to; + if (to instanceof dart.NullableType || to instanceof dart.LegacyType) { + toType = dart.dload(to, 'type'); + } + let fromType = from; + if (from instanceof dart.NullableType || from instanceof dart.LegacyType) { + fromType = dart.dload(from, 'type'); + } + if (dart.typeName(fromType) === dart.typeName(toType)) { + fromName = fromName + (" (in " + dart.str(dart.getLibraryUri(fromType)) + ")"); + toName = toName + (" (in " + dart.str(dart.getLibraryUri(toType)) + ")"); + } + return "Expected a value of type " + toName + ", but got one of type " + fromName; }; dart.getThrown = function getThrown(error) { if (error != null) { @@ -4838,18 +5002,18 @@ dart.stackTrace = function stackTrace(error) { return error[dart._stackTrace] = new dart._StackTrace.new(error); }; dart.stackTraceForError = function stackTraceForError(error) { - if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + if (error == null) dart.nullFailed(I[1], 194, 37, "error"); return dart.stackTrace(error[dart._jsError]); }; dart.rethrow = function rethrow_(error) { - if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + if (error == null) dart.nullFailed(I[1], 203, 22, "error"); throw error; }; dart.throw = function throw_(exception) { throw new dart.DartError(exception); }; dart.createErrorWithStack = function createErrorWithStack(exception, trace) { - if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (exception == null) dart.nullFailed(I[1], 286, 37, "exception"); if (trace == null) { let error = exception[dart._jsError]; return error != null ? error : new dart.DartError(exception); @@ -4863,7 +5027,7 @@ dart.createErrorWithStack = function createErrorWithStack(exception, trace) { return new dart.RethrownDartError(exception, trace); }; dart.stackPrint = function stackPrint(error) { - if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + if (error == null) dart.nullFailed(I[1], 304, 24, "error"); console.log(error.stack ? error.stack : "No stack trace for: " + error); }; dart.bind = function bind(obj, name, method) { @@ -4887,10 +5051,12 @@ dart.bindCall = function bindCall(obj, name) { return f; }; dart.gbind = function gbind(f, ...typeArgs) { - if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[2], 92, 29, "typeArgs"); let type = f[dart._runtimeType]; type.checkBounds(typeArgs); let result = (...args) => f.apply(null, typeArgs.concat(args)); + result._originalFn = f; + result._typeArgs = dart.constList(typeArgs, core.Object); return dart.fn(result, type.instantiate(typeArgs)); }; dart.dloadRepl = function dloadRepl(obj, field) { @@ -4906,6 +5072,10 @@ dart.dload = function dload(obj, field) { let type = dart.getType(obj); if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (obj instanceof dart._RecordImpl && typeof f == 'string') { + let value = obj[f]; + if (value !== void 0) return value; + } if (dart.test(dart.isJsInterop(obj))) return obj[f]; } return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); @@ -4932,8 +5102,8 @@ dart.dput = function dput(obj, field, value) { return value; }; dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - if (type == null) dart.nullFailed(I[2], 147, 38, "type"); - if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + if (type == null) dart.nullFailed(I[2], 166, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 166, 49, "actuals"); let actualsCount = actuals.length; let required = type.args; let requiredCount = required.length; @@ -4961,10 +5131,8 @@ dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); if (dart.test(missingRequired[$isNotEmpty])) { let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; - if (!false) { + { dart._nullWarn(error); - } else { - return error; } } } @@ -4989,22 +5157,14 @@ dart._toDisplayName = function _toDisplayName(name) { if (name[0] === '_') { switch (name) { case '_get': - { return '[]'; - } case '_set': - { return '[]='; - } case '_negate': - { return 'unary-'; - } case '_constructor': case '_prototype': - { return name.substring(1); - } } } return name; @@ -5021,7 +5181,7 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named function callNSM(errorMessage) { return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); } - if (f == null) return callNSM('Dynamic call of null.'); + if (f == null) return callNSM("Dynamic call of null."); if (!(f instanceof Function)) { if (f != null) { originalTarget = f; @@ -5029,12 +5189,14 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named ftype = null; displayName = "call"; } - if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + if (f == null) { + return callNSM("Dynamic call of object has no instance method 'call'."); + } } if (ftype == null) ftype = f[dart._runtimeType]; if (ftype == null) { if (typeArgs != null) { - dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + dart.throwTypeError("call to JS object `" + obj + "` with type arguments <" + typeArgs + "> is not supported."); } if (named != null) args.push(named); return f.apply(obj, args); @@ -5044,13 +5206,13 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named if (typeArgs == null) { typeArgs = ftype.instantiateDefaultBounds(); } else if (typeArgs.length != formalCount) { - return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + return callNSM("Dynamic call with incorrect number of type arguments. " + "Expected: " + formalCount + " Actual: " + typeArgs.length); } else { ftype.checkBounds(typeArgs); } ftype = ftype.instantiate(typeArgs); } else if (typeArgs != null) { - return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + return callNSM("Dynamic call with unexpected type arguments. " + "Expected: 0 Actual: " + typeArgs.length); } let errorMessage = dart._argumentErrors(ftype, args, named); if (errorMessage == null) { @@ -5126,7 +5288,7 @@ dart.is = function instanceOf(obj, type) { return dart.isSubtypeOf(dart.getReifiedType(obj), type); }; dart.as = function cast(obj, type) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(type); return obj; } else { @@ -5141,7 +5303,7 @@ dart.test = function test(obj) { }; dart.dtest = function dtest(obj) { if (!(typeof obj == 'boolean')) { - dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.booleanConversionFailed(dart.test(T$.boolN().as(obj))); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } return obj; @@ -5152,7 +5314,7 @@ dart.booleanConversionFailed = function booleanConversionFailed(obj) { }; dart.asInt = function asInt(obj) { if (Math.floor(obj) != obj) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(core.int); return null; } else { @@ -5170,10 +5332,8 @@ dart.notNull = function _notNull(x) { }; dart.nullCast = function nullCast(x, type) { if (x == null) { - if (!false) { + { dart._nullWarnOnType(type); - } else { - dart.castError(x, type); } } return x; @@ -5183,14 +5343,14 @@ dart.nullCheck = function nullCheck(x) { return x; }; dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + if (map == null) dart.nullFailed(I[2], 572, 34, "map"); let result = map.get(key); if (result != null) return result; map.set(key, result = new Map()); return dart.nullCheck(result); }; dart.constMap = function constMap(K, V, elements) { - if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + if (elements == null) dart.nullFailed(I[2], 579, 34, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantMaps, count); for (let i = 0; i < count; i = i + 1) { @@ -5204,12 +5364,12 @@ dart.constMap = function constMap(K, V, elements) { return result; }; dart._createImmutableSet = function _createImmutableSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + if (elements == null) dart.nullFailed(I[2], 597, 42, "elements"); dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; return new (dart._immutableSetConstructor(E)).from(elements); }; dart.constSet = function constSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + if (elements == null) dart.nullFailed(I[2], 603, 31, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantSets, count); for (let i = 0; i < count; i = i + 1) { @@ -5265,7 +5425,7 @@ dart.constFn = function constFn(x) { return () => x; }; dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + if (name == null) dart.nullFailed(I[2], 721, 24, "name"); return dartx[name]; }; dart.equals = function equals(x, y) { @@ -5282,15 +5442,17 @@ dart.toString = function _toString(obj) { dart.str = function str(obj) { if (obj == null) return "null"; if (typeof obj == 'string') return obj; - return core.String.as(dart.notNull(obj[$toString]())); + let result = obj[$toString](); + if (typeof result == 'string') return result; + dart.throw(new core.ArgumentError.value(obj, "object", "toString method returned 'null'")); }; dart.noSuchMethod = function noSuchMethod(obj, invocation) { - if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (invocation == null) dart.nullFailed(I[2], 761, 30, "invocation"); if (obj == null) dart.defaultNoSuchMethod(obj, invocation); return obj[$noSuchMethod](invocation); }; dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { - if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + if (i == null) dart.nullFailed(I[2], 767, 37, "i"); dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); }; dart.runtimeType = function runtimeType(obj) { @@ -5321,7 +5483,7 @@ dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, im } }; dart.defineLazy = function defineLazy(to, from, useOldSemantics) { - if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + if (useOldSemantics == null) dart.nullFailed(I[2], 842, 32, "useOldSemantics"); for (let name of dart.getOwnNamesAndSymbols(from)) { if (dart.test(useOldSemantics)) { dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); @@ -5341,7 +5503,7 @@ dart.defineLazyField = function defineLazyField(to, name, desc) { if (init == null) return value; if (final && initialized) dart.throwLateInitializationError(name); if (!savedLocals) { - dart._resetFields.push(() => { + dart.resetFields.push(() => { init = initializer; value = null; savedLocals = false; @@ -5360,10 +5522,21 @@ dart.defineLazyField = function defineLazyField(to, name, desc) { return value; }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5372,15 +5545,20 @@ dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { const initializer = desc.get; let init = initializer; let value = null; + let savedLocals = false; desc.get = function() { if (init == null) return value; let f = init; init = dart.throwCyclicInitializationError; if (f === init) f(name); - dart._resetFields.push(() => { - init = initializer; - value = null; - }); + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } try { value = f(); init = null; @@ -5392,10 +5570,20 @@ dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { } }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5407,11 +5595,13 @@ dart.checkNativeNonNull = function checkNativeNonNull(variable) { return variable; }; dart.fn = function fn(closure, type) { - closure[dart._runtimeType] = type; + { + closure[dart._runtimeType] = type; + } return closure; }; dart.lazyFn = function lazyFn(closure, computeType) { - if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + if (computeType == null) dart.nullFailed(I[3], 67, 35, "computeType"); dart.defineAccessor(closure, dart._runtimeType, { get: () => dart.defineValue(closure, dart._runtimeType, computeType()), set: value => dart.defineValue(closure, dart._runtimeType, value), @@ -5423,73 +5613,104 @@ dart.getFunctionType = function getFunctionType(obj) { let args = Array(obj.length).fill(dart.dynamic); return dart.fnType(dart.bottom, args, void 0); }; -dart.getReifiedType = function getReifiedType(obj) { - switch (typeof obj) { - case "object": - { - if (obj == null) return core.Null; - if (obj instanceof core.Object) { - return obj.constructor; - } - let result = obj[dart._extensionType]; - if (result == null) return dart.jsobject; - return result; - } - case "function": - { - let result = obj[dart._runtimeType]; - if (result != null) return result; - return dart.jsobject; - } - case "undefined": - { - return core.Null; - } - case "number": - { - return Math.floor(obj) == obj ? core.int : core.double; - } - case "boolean": - { - return core.bool; +dart.getRecordType = function getRecordType(obj) { + if (obj == null) dart.nullFailed(I[3], 87, 38, "obj"); + let type = obj[dart._runtimeType]; + if (type == null) { + let shape = obj.shape; + let named = shape.named; + let positionals = shape.positionals; + let types = []; + let count = 0; + while (count < dart.notNull(positionals)) { + let name = "$" + dart.str(count); + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + count = count + 1; } - case "string": - { - return core.String; + if (named != null) { + for (let name of named) { + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + } } - case "symbol": - default: - { - return dart.jsobject; + type = dart.recordType(shape, types); + obj[dart._runtimeType] = type; + } + return type; +}; +dart.getReifiedType = function getReifiedType(obj) { + { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof dart._RecordImpl) { + return dart.getRecordType(dart._RecordImpl.as(obj)); + } + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return _interceptors.LegacyJavaScriptObject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return _interceptors.LegacyJavaScriptObject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return _interceptors.LegacyJavaScriptObject; + } } } }; dart.getModuleName = function getModuleName(module) { - if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + if (module == null) dart.nullFailed(I[3], 184, 30, "module"); return module[dart._moduleName]; }; dart.getModuleNames = function getModuleNames() { return Array.from(dart._loadedModules.keys()); }; dart.getSourceMap = function getSourceMap(moduleName) { - if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + if (moduleName == null) dart.nullFailed(I[3], 194, 29, "moduleName"); return dart._loadedSourceMaps.get(moduleName); }; dart.getModuleLibraries = function getModuleLibraries(name) { - if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + if (name == null) dart.nullFailed(I[3], 199, 27, "name"); let module = dart._loadedModules.get(name); if (module == null) return null; module[dart._moduleName] = name; return module; }; dart.getModulePartMap = function getModulePartMap(name) { - if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + if (name == null) dart.nullFailed(I[3], 207, 25, "name"); return dart._loadedPartMaps.get(name); }; dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); - if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); - if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (moduleName == null) dart.nullFailed(I[3], 211, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 211, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 211, 49, "parts"); if (typeof parts == 'string') { sourceMap = parts; parts = {}; @@ -5521,7 +5742,7 @@ dart._computeLibraryMetadata = function _computeLibraryMetadata() { } }; dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); if (dart._libraryObjects == null) { dart._computeLibraryMetadata(); } @@ -5535,7 +5756,7 @@ dart.getLibraries = function getLibraries() { }; dart.getParts = function getParts(libraryUri) { let t0; - if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); if (dart._parts == null) { dart._computeLibraryMetadata(); } @@ -5606,18 +5827,18 @@ dart.polyfill = function polyfill(window) { return true; }; dart.trackProfile = function trackProfile(flag) { - if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + if (flag == null) dart.nullFailed(I[4], 154, 24, "flag"); dart.__trackProfile = flag; }; dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { - if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + if (value == null) dart.nullFailed(I[4], 179, 39, "value"); dart.startAsyncSynchronously = value; }; dart.hotRestart = function hotRestart() { dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart._resetFields) + for (let f of dart.resetFields) f(); - dart._resetFields[$clear](); + dart.resetFields[$clear](); for (let m of dart._cacheMaps) m.clear(); dart._cacheMaps[$clear](); @@ -5626,18 +5847,18 @@ dart.hotRestart = function hotRestart() { dart.deferredImports.clear(); }; dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { - if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + if (message == null) dart.nullFailed(I[5], 16, 31, "message"); return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); }; dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { - if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (showWarnings == null) dart.nullFailed(I[5], 26, 34, "showWarnings"); if (dart.test(showWarnings) && false) { dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); } dart._weakNullSafetyWarnings = showWarnings; }; dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { - if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (showErrors == null) dart.nullFailed(I[5], 43, 32, "showErrors"); if (dart.test(showErrors) && false) { dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); } @@ -5647,19 +5868,18 @@ dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { dart._weakNullSafetyErrors = showErrors; }; dart.nonNullAsserts = function nonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + if (enable == null) dart.nullFailed(I[5], 67, 26, "enable"); dart._nonNullAsserts = enable; }; dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + if (enable == null) dart.nullFailed(I[5], 79, 32, "enable"); dart._nativeNonNullAsserts = enable; }; dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === dart.jsobject; + return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; }; dart.assertInterop = function assertInterop(f) { - if (f == null) dart.nullFailed(I[5], 164, 39, "f"); - if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 179, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); return f; }; dart.isDartFunction = function isDartFunction(obj) { @@ -5694,22 +5914,12 @@ dart._nullWarnOnType = function _nullWarnOnType(type) { dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); } }; -dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { - if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); - if (name == null) dart.nullFailed(I[5], 304, 49, "name"); - let ret = dart._lazyJSTypes.get(name); - if (ret == null) { - ret = new dart.LazyJSType.new(getJSTypeCallback, name); - dart._lazyJSTypes.set(name, ret); - } - return ret; -}; -dart.anonymousJSType = function anonymousJSType(name) { - if (name == null) dart.nullFailed(I[5], 313, 24, "name"); - let ret = dart._anonymousJSTypes.get(name); +dart.packageJSType = function packageJSType(name, staticInterop) { + let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; + let ret = map.get(name); if (ret == null) { - ret = new dart.AnonymousJSType.new(name); - dart._anonymousJSTypes.set(name, ret); + ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); + map.set(name, ret); } return ret; }; @@ -5756,13 +5966,18 @@ dart.wrapType = function wrapType(type, isNormalized = false) { return result; }; dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 507, 10, "!_jsInstanceOf(type, LegacyType)"); function normalizeHelper(a) { return dart.unwrapType(dart.wrapType(a)); } if (type instanceof dart.GenericFunctionTypeIdentifier) { return dart.wrapType(type, true); } + if (type instanceof dart.RecordType) { + let normTypes = dart.dsend(dart.dsend(dart.dload(type, 'types'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.recordType(dart.Shape.as(dart.dload(type, 'shape')), core.List.as(normTypes)); + return dart.wrapType(normType, true); + } if (type instanceof dart.FunctionType) { let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); @@ -5820,17 +6035,17 @@ dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObj return dart.wrapType(normType, true); }; dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { - if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + if (transform == null) dart.nullFailed(I[5], 594, 56, "transform"); for (let key of dart.global.Object.keys(srcObject)) { dstObject[key] = dart.dcall(transform, [srcObject[key]]); } }; dart.unwrapType = function unwrapType(obj) { - if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + if (obj == null) dart.nullFailed(I[5], 605, 24, "obj"); return obj[_type$]; }; dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + if (count == null) dart.nullFailed(I[5], 650, 49, "count"); while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { dart._fillTypeVariable(); } @@ -5844,7 +6059,7 @@ dart._fillTypeVariable = function _fillTypeVariable() { } }; dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + if (create == null) dart.nullFailed(I[5], 672, 32, "create"); return (() => { let len = arr.length; map = dart._lookupNonTerminal(map, len); @@ -5858,7 +6073,7 @@ dart._memoizeArray = function _memoizeArray(map, arr, create) { })(); }; dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + if (array == null) dart.nullFailed(I[5], 684, 30, "array"); return dart._memoizeArray(map, array, () => array); }; dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { @@ -5873,7 +6088,7 @@ dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { return dart._memoizeArray(map, key, () => named); }; dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + if (required == null) dart.nullFailed(I[5], 704, 44, "required"); return (() => { let count = required.length; let map = dart._fnTypeSmallMap[count]; @@ -5893,7 +6108,7 @@ dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructo let end = str[$indexOf](hasParens ? ")" : "=>"); if (hasParens) { return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); return new dart.TypeVariable.new(n[$trim]()); })[$toList](); } else { @@ -5901,7 +6116,7 @@ dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructo } }; dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); return dart.FunctionType.create(returnType, args, optional, requiredNamed); }; dart.gFnType = function gFnType(instantiateFn, typeBounds) { @@ -5926,44 +6141,78 @@ dart.typeName = function typeName(type) { let name = type.name; let args = dart.getGenericArgs(type); if (args == null) return name; - if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; - let result = name; - result += '<'; - for (let i = 0; i < args.length; ++i) { - if (i > 0) result += ', '; - result += dart.typeName(args[i]); - } - result += '>'; + if (dart.getGenericClass(type) == _interceptors.JSArray$) { + name = "List"; + } + let result = name + "<"; + for (let i = 0; i < args.length; i = i + 1) { + if (i > 0) result = result + ", "; + result = result + dart.typeName(args[i]); + } + result = result + ">"; return result; } - if (tag) return "Not a type: " + tag.name; + if (!!tag) { + return "Not a type: " + tag.name; + } return "JSObject<" + type.name + ">"; }; +dart._isRecordSubtype = function _isRecordSubtype(t1, t2, strictMode) { + if (!dart.equals(t1.shape, t2.shape)) { + return false; + } + let positionals = t1.shape.positionals; + let types1 = t1.types; + let types2 = t2.types; + for (let i = 0; i < dart.notNull(positionals); i = i + 1) { + let type1 = types1[i]; + let type2 = types2[i]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + let named = t1.shape.named; + if (named != null) { + for (let i = 0; i < dart.notNull(named[$length]); i = i + 1) { + let index = dart.notNull(positionals) + i; + let type1 = types1[index]; + let type2 = types2[index]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + } + return true; +}; dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { let ret1 = ft1.returnType; let ret2 = ft2.returnType; let args1 = ft1.args; + let args1Length = args1.length; let args2 = ft2.args; - if (args1.length > args2.length) { + let args2Length = args2.length; + if (args1Length > args2Length) { return false; } - for (let i = 0; i < args1.length; ++i) { + for (let i = 0; i < args1Length; i = i + 1) { if (!dart._isSubtype(args2[i], args1[i], strictMode)) { return false; } } let optionals1 = ft1.optionals; + let optionals1Length = optionals1.length; let optionals2 = ft2.optionals; - if (args1.length + optionals1.length < args2.length + optionals2.length) { + let optionals2Length = optionals2.length; + if (args1Length + optionals1Length < args2Length + optionals2Length) { return false; } let j = 0; - for (let i = args1.length; i < args2.length; ++i, ++j) { + for (let i = args1Length; i < args2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { return false; } } - for (let i = 0; i < optionals2.length; ++i, ++j) { + for (let i = 0; i < optionals2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { return false; } @@ -5979,7 +6228,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { requiredNamed2 = {}; } let names = dart.getOwnPropertyNames(requiredNamed1); - for (let i = 0; i < names.length; ++i) { + let namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n2 = requiredNamed2[name]; if (n2 === void 0) { @@ -5987,7 +6237,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { } } names = dart.getOwnPropertyNames(named2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name]; let n2 = named2[name]; @@ -5999,7 +6250,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { } } names = dart.getOwnPropertyNames(requiredNamed2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name] || requiredNamed1[name]; let n2 = requiredNamed2[name]; @@ -6016,8 +6268,10 @@ dart.isSubtypeOf = function isSubtypeOf(t1, t2) { let map = t1[dart._subtypeCache]; let result = map.get(t2); if (result !== void 0) return result; + dart._typeVariableCount = 0; let validSubtype = dart._isSubtype(t1, t2, true); - if (!validSubtype && !false) { + if (!validSubtype && true) { + dart._typeVariableCount = 0; validSubtype = dart._isSubtype(t1, t2, false); if (validSubtype) { dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); @@ -6035,7 +6289,7 @@ dart._isTop = function _isTop(type) { }; dart._isFutureOr = function _isFutureOr(type) { let genericClass = dart.getGenericClass(type); - return genericClass && genericClass === async.FutureOr$; + return !!genericClass && genericClass === async.FutureOr$; }; dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (!strictMode) { @@ -6053,7 +6307,7 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { return true; } if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + return dart._isSubtype(T$.ObjectN(), t2, strictMode); } if (t2 === core.Object) { if (dart._isFutureOr(t1)) { @@ -6103,11 +6357,29 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (t2 instanceof dart.NullableType) { return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); } + if (t2 === core.Record) { + return t1 === core.Record || t1 instanceof dart.RecordType; + } + if (t2 instanceof dart.RecordType) { + if (t1 instanceof dart.RecordType) { + return dart._isRecordSubtype(dart.RecordType.as(t1), dart.RecordType.as(t2), strictMode); + } + return false; + } if (!(t2 instanceof dart.AbstractFunctionType)) { if (t1 instanceof dart.AbstractFunctionType) { return t2 === core.Function; } - if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + if (dart._isInterfaceSubtype(t1, _interceptors.LegacyJavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._nonStaticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._nonStaticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.LegacyJavaScriptObject, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, _interceptors.JavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._staticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._staticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.JavaScriptObject, t2, strictMode)) { return true; } return dart._isInterfaceSubtype(t1, t2, strictMode); @@ -6123,28 +6395,40 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (formalCount !== t2.formalCount) { return false; } - let fresh = t2.typeFormals; + let fresh1 = null; + let fresh2 = null; if (t1.hasTypeBounds || t2.hasTypeBounds) { - let t1Bounds = t1.instantiateTypeBounds(fresh); - let t2Bounds = t2.instantiateTypeBounds(fresh); - for (let i = 0; i < formalCount; i++) { - if (t1Bounds[i] != t2Bounds[i]) { - if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + fresh1 = new Array(formalCount); + fresh2 = new Array(formalCount); + for (let i = 0; i < formalCount; i = i + 1, dart._typeVariableCount = dart._typeVariableCount + 1) { + fresh1[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + fresh2[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + } + let t1Bounds = t1.instantiateTypeBounds(fresh1); + let t2Bounds = t2.instantiateTypeBounds(fresh2); + for (let i = 0; i < formalCount; i = i + 1) { + let t1Bound = t1Bounds[i]; + let t2Bound = t2Bounds[i]; + if (t1Bound != t2Bound) { + if (!(dart._isSubtype(t1Bound, t2Bound, strictMode) && dart._isSubtype(t2Bound, t1Bound, strictMode))) { return false; } } + fresh1[i].bound = t1Bound; + fresh2[i].bound = t2Bound; } + } else { + fresh1 = t1.typeFormals; + fresh2 = fresh1; } - t1 = t1.instantiate(fresh); - t2 = t2.instantiate(fresh); + t1 = t1.instantiate(fresh1); + t2 = t2.instantiate(fresh2); } else if (t2 instanceof dart.GenericFunctionType) { return false; } return dart._isFunctionSubtype(t1, t2, strictMode); }; dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { - if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); - if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); if (t1 === t2) { return true; } @@ -6157,26 +6441,41 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { if (t1 == null) { return t2 === core.Object || t2 === dart.dynamic; } + if (t1 instanceof dart.TypeVariableForSubtype) { + if (t2 instanceof dart.TypeVariableForSubtype) { + return t1.index == t2.index; + } + return dart._isSubtype(t1.bound, t2, strictMode); + } + if ((t1 instanceof dart.NonStaticInteropType || t1 instanceof dart.StaticInteropType) && t2 instanceof dart.StaticInteropType) { + return true; + } + if (t1 instanceof dart.NonStaticInteropType && t2 instanceof dart.NonStaticInteropType) { + return true; + } let raw1 = dart.getGenericClass(t1); let raw2 = dart.getGenericClass(t2); if (raw1 != null && raw1 == raw2) { let typeArguments1 = dart.getGenericArgs(t1); let typeArguments2 = dart.getGenericArgs(t2); if (typeArguments1.length != typeArguments2.length) { - dart.assertFailed(); + dart.assertFailed("Internal type check failure."); } let variances = dart.getGenericArgVariances(t1); - for (let i = 0; i < typeArguments1.length; ++i) { - if (variances === void 0 || variances[i] == 1) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + for (let i = 0; i < typeArguments1.length; i = i + 1) { + let varianceType = variances && variances[i]; + let typeArg1 = typeArguments1[i]; + let typeArg2 = typeArguments2[i]; + if (varianceType === void 0 || varianceType == 1) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode)) { return false; } - } else if (variances[i] == 2) { - if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 2) { + if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } - } else if (variances[i] == 3) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 3) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } } @@ -6191,7 +6490,7 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { return true; } let getInterfaces = dart.getImplements(t1); - if (getInterfaces) { + if (getInterfaces != null) { for (let i1 of getInterfaces()) { if (dart._isInterfaceSubtype(i1, t2, strictMode)) { return true; @@ -6201,7 +6500,7 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { return false; }; dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { - if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (f == null) dart.nullFailed(I[5], 1842, 54, "f"); if (instance == null) { dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); } @@ -6215,13 +6514,13 @@ dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); } let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); - if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1860, 10, "supertype != null"); let typeArgs = dart.getGenericArgs(supertype); - if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1862, 10, "typeArgs != null && typeArgs.isNotEmpty"); return dart.dgcall(f, typeArgs, []); }; dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { - if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (supertype == null) dart.nullFailed(I[5], 2223, 55, "supertype"); if (core.identical(subtype, supertype)) return supertype; if (subtype == null || subtype === core.Object) return null; let subclass = dart.getGenericClass(subtype); @@ -6245,16 +6544,68 @@ dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) } return null; }; +dart.registerShape = function registerShape(shapeRecipe, positionals, named) { + let cached = dart._shapes.get(shapeRecipe); + if (cached != null) { + return cached; + } + let shape = new dart.Shape.new(positionals, named); + dart._shapes.set(shapeRecipe, shape); + return shape; +}; +dart.registerRecord = function registerRecord(shapeRecipe, positionals, named) { + let cached = dart._records.get(shapeRecipe); + if (cached != null) { + return cached; + } + let recordClass = class _Record extends dart._RecordImpl {}; + let newRecord = recordClass.new = function(shape, values) { + recordClass.__proto__.new.call(this, shape, values); + }; + newRecord.prototype = recordClass.prototype; + let recordPrototype = recordClass.prototype; + const _recordGet = index => { + return function recordGet() { + return this.values[index]; + }; + }; + let count = 0; + while (count < positionals) { + let name = "$" + dart.str(count); + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + if (named != null) { + for (let name of named) { + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + } + dart._records.set(shapeRecipe, newRecord); + return newRecord; +}; +dart.recordType = function recordType(shape, types) { + return dart.RecordType.create(shape, types); +}; +dart.recordLiteral = function recordLiteral(shapeRecipe, positionals, named, values) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + let record = dart.registerRecord(shapeRecipe, positionals, named); + return new record(shape, values); +}; +dart.recordTypeLiteral = function recordTypeLiteral(shapeRecipe, positionals, named, types) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + return dart.recordType(shape, types); +}; dart.defineValue = function defineValue(obj, name, value) { dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); return value; }; dart.throwTypeError = function throwTypeError(message) { - if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + if (message == null) dart.nullFailed(I[6], 40, 28, "message"); dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + if (message == null) dart.nullFailed(I[6], 45, 32, "message"); throw Error(message); }; dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { @@ -6310,7 +6661,7 @@ dart.JsSymbol = Symbol; dart.libraryPrototype = dart.library; dart.startAsyncSynchronously = true; dart._cacheMaps = []; -dart._resetFields = []; +dart.resetFields = []; dart.hotRestartIteration = 0; dart.addAsyncCallback = function() { }; @@ -6343,6 +6694,7 @@ dart._libraryUri = Symbol("libraryUri"); dart._extensionType = Symbol("extensionType"); dart.dartx = dartx; dart._extensionMap = new Map(); +dart._typeTagSymbols = new Map(); dart.isFuture = Symbol("_is_Future"); dart.isIterable = Symbol("_is_Iterable"); dart.isList = Symbol("_is_List"); @@ -6363,12 +6715,14 @@ dart._weakNullSafetyErrors = false; dart._nonNullAsserts = false; dart._nativeNonNullAsserts = false; dart.metadata = Symbol("metadata"); -dart._nullComparisonSet = new Set(); -dart._lazyJSTypes = new Map(); -dart._anonymousJSTypes = new Map(); dart._cachedNullable = Symbol("cachedNullable"); dart._cachedLegacy = Symbol("cachedLegacy"); dart._subtypeCache = Symbol("_subtypeCache"); +dart._nullComparisonSet = new Set(); +dart._nonStaticInteropTypes = new Map(); +dart._staticInteropTypes = new Map(); +var _dartName$ = dart.privateName(dart, "_dartName"); +var SentinelValue_id = dart.privateName(_internal, "SentinelValue.id"); core.Object = class Object { constructor() { throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); @@ -6379,6 +6733,9 @@ core.Object = class Object { static as(o) { return o == null ? dart.as(o, core.Object) : o; } + static ['_#new#tearOff']() { + return new core.Object.new(); + } _equals(other) { if (other == null) return false; return this === other; @@ -6396,6 +6753,82 @@ core.Object = class Object { get runtimeType() { return dart.wrapType(dart.getReifiedType(this)); } + static hash(object1, object2, object3 = C[0] || CT.C0, object4 = C[0] || CT.C0, object5 = C[0] || CT.C0, object6 = C[0] || CT.C0, object7 = C[0] || CT.C0, object8 = C[0] || CT.C0, object9 = C[0] || CT.C0, object10 = C[0] || CT.C0, object11 = C[0] || CT.C0, object12 = C[0] || CT.C0, object13 = C[0] || CT.C0, object14 = C[0] || CT.C0, object15 = C[0] || CT.C0, object16 = C[0] || CT.C0, object17 = C[0] || CT.C0, object18 = C[0] || CT.C0, object19 = C[0] || CT.C0, object20 = C[0] || CT.C0) { + if (dart.equals(_internal.sentinelValue, object3)) { + return _internal.SystemHash.hash2(dart.hashCode(object1), dart.hashCode(object2), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object4)) { + return _internal.SystemHash.hash3(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object5)) { + return _internal.SystemHash.hash4(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object6)) { + return _internal.SystemHash.hash5(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object7)) { + return _internal.SystemHash.hash6(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object8)) { + return _internal.SystemHash.hash7(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object9)) { + return _internal.SystemHash.hash8(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object10)) { + return _internal.SystemHash.hash9(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object11)) { + return _internal.SystemHash.hash10(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object12)) { + return _internal.SystemHash.hash11(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object13)) { + return _internal.SystemHash.hash12(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object14)) { + return _internal.SystemHash.hash13(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object15)) { + return _internal.SystemHash.hash14(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object16)) { + return _internal.SystemHash.hash15(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object17)) { + return _internal.SystemHash.hash16(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object18)) { + return _internal.SystemHash.hash17(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object19)) { + return _internal.SystemHash.hash18(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object20)) { + return _internal.SystemHash.hash19(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), core._hashSeed); + } + return _internal.SystemHash.hash20(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), dart.hashCode(object20), core._hashSeed); + } + static hashAll(objects) { + if (objects == null) dart.nullFailed(I[8], 512, 40, "objects"); + let hash = core._hashSeed; + for (let object of objects) { + hash = _internal.SystemHash.combine(hash, dart.hashCode(object)); + } + return _internal.SystemHash.finish(hash); + } + static hashAllUnordered(objects) { + if (objects == null) dart.nullFailed(I[8], 550, 49, "objects"); + let sum = 0; + let count = 0; + for (let object of objects) { + let objectHash = _internal.SystemHash.smear(dart.hashCode(object)); + sum = (sum + dart.notNull(objectHash) & 1073741823) >>> 0; + count = count + 1; + } + return _internal.SystemHash.hash2(sum, count); + } }; (core.Object.new = function() { ; @@ -6410,6 +6843,7 @@ dart.setMethodSignature(core.Object, () => ({ noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) })); +dart.setStaticMethodSignature(core.Object, () => ['is', 'as', 'hash', 'hashAll', 'hashAllUnordered']); dart.setGetterSignature(core.Object, () => ({ __proto__: Object.create(null), hashCode: core.int, @@ -6417,7 +6851,7 @@ dart.setGetterSignature(core.Object, () => ({ runtimeType: core.Type, [$runtimeType]: core.Type })); -dart.setLibraryUri(core.Object, I[8]); +dart.setLibraryUri(core.Object, I[9]); dart.lazyFn(core.Object, () => core.Type); dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); @@ -6432,9 +6866,14 @@ dart.DartType = class DartType extends core.Object { as(object) { return dart.as(object, this); } + static ['_#new#tearOff']() { + return new dart.DartType.new(); + } }; (dart.DartType.new = function() { - dart.addTypeCaches(this); + { + dart.addTypeCaches(this); + } }).prototype = dart.DartType.prototype; dart.addTypeTests(dart.DartType); dart.addTypeCaches(dart.DartType); @@ -6448,11 +6887,69 @@ dart.setGetterSignature(dart.DartType, () => ({ __proto__: dart.getGetters(dart.DartType.__proto__), name: core.String })); -dart.setLibraryUri(dart.DartType, I[9]); +dart.setLibraryUri(dart.DartType, I[10]); +dart.PackageJSType = class PackageJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } +}; +(dart.PackageJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 215, 22, "_dartName"); + this[_dartName$] = _dartName; + dart.PackageJSType.__proto__.new.call(this); + ; +}).prototype = dart.PackageJSType.prototype; +dart.addTypeTests(dart.PackageJSType); +dart.addTypeCaches(dart.PackageJSType); +dart.setLibraryUri(dart.PackageJSType, I[10]); +dart.setFieldSignature(dart.PackageJSType, () => ({ + __proto__: dart.getFields(dart.PackageJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.PackageJSType, ['toString']); +dart.NonStaticInteropType = class NonStaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + return new dart.NonStaticInteropType.new(_dartName); + } +}; +(dart.NonStaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + dart.NonStaticInteropType.__proto__.new.call(this, _dartName); + ; +}).prototype = dart.NonStaticInteropType.prototype; +dart.addTypeTests(dart.NonStaticInteropType); +dart.addTypeCaches(dart.NonStaticInteropType); +dart.setLibraryUri(dart.NonStaticInteropType, I[10]); +dart._nonStaticInteropTypeForSubtyping = new dart.NonStaticInteropType.new(""); +dart.StaticInteropType = class StaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + return new dart.StaticInteropType.new(_dartName); + } +}; +(dart.StaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + dart.StaticInteropType.__proto__.new.call(this, _dartName); + ; +}).prototype = dart.StaticInteropType.prototype; +dart.addTypeTests(dart.StaticInteropType); +dart.addTypeCaches(dart.StaticInteropType); +dart.setLibraryUri(dart.StaticInteropType, I[10]); +dart._staticInteropTypeForSubtyping = new dart.StaticInteropType.new(""); dart.NeverType = class NeverType extends dart.DartType { toString() { return "Never"; } + static ['_#new#tearOff']() { + return new dart.NeverType.new(); + } }; (dart.NeverType.new = function() { dart.NeverType.__proto__.new.call(this); @@ -6460,7 +6957,7 @@ dart.NeverType = class NeverType extends dart.DartType { }).prototype = dart.NeverType.prototype; dart.addTypeTests(dart.NeverType); dart.addTypeCaches(dart.NeverType); -dart.setLibraryUri(dart.NeverType, I[9]); +dart.setLibraryUri(dart.NeverType, I[10]); dart.defineExtensionMethods(dart.NeverType, ['toString']); dart.Never = new dart.NeverType.new(); dart.DynamicType = class DynamicType extends dart.DartType { @@ -6473,6 +6970,9 @@ dart.DynamicType = class DynamicType extends dart.DartType { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.DynamicType.new(); + } }; (dart.DynamicType.new = function() { dart.DynamicType.__proto__.new.call(this); @@ -6484,7 +6984,7 @@ dart.setMethodSignature(dart.DynamicType, () => ({ __proto__: dart.getMethods(dart.DynamicType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(dart.DynamicType, I[9]); +dart.setLibraryUri(dart.DynamicType, I[10]); dart.defineExtensionMethods(dart.DynamicType, ['toString']); dart.dynamic = new dart.DynamicType.new(); dart.VoidType = class VoidType extends dart.DartType { @@ -6497,6 +6997,9 @@ dart.VoidType = class VoidType extends dart.DartType { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.VoidType.new(); + } }; (dart.VoidType.new = function() { dart.VoidType.__proto__.new.call(this); @@ -6508,29 +7011,20 @@ dart.setMethodSignature(dart.VoidType, () => ({ __proto__: dart.getMethods(dart.VoidType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(dart.VoidType, I[9]); +dart.setLibraryUri(dart.VoidType, I[10]); dart.defineExtensionMethods(dart.VoidType, ['toString']); dart.void = new dart.VoidType.new(); -dart.JSObjectType = class JSObjectType extends dart.DartType { - toString() { - return "NativeJavaScriptObject"; - } -}; -(dart.JSObjectType.new = function() { - dart.JSObjectType.__proto__.new.call(this); - ; -}).prototype = dart.JSObjectType.prototype; -dart.addTypeTests(dart.JSObjectType); -dart.addTypeCaches(dart.JSObjectType); -dart.setLibraryUri(dart.JSObjectType, I[9]); -dart.defineExtensionMethods(dart.JSObjectType, ['toString']); -dart.jsobject = new dart.JSObjectType.new(); dart._typeObject = Symbol("typeObject"); dart._fnTypeNamedArgMap = new Map(); dart._fnTypeArrayArgMap = new Map(); dart._fnTypeTypeMap = new Map(); dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; dart._gFnTypeTypeMap = new Map(); +dart._typeVariableCount = 0; +dart._shapes = new Map(); +dart._records = new Map(); +dart._recordTypeArrayFieldMap = new Map(); +dart._recordTypeTypeMap = new Map(); dart._nullFailedSet = new Set(); dart._thrownValue = Symbol("_thrownValue"); dart._jsError = Symbol("_jsError"); @@ -6579,7 +7073,9 @@ dart.defineLazy(dart, { /*dart._assertInteropExpando*/get _assertInteropExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _assertInteropExpando(_) {}, + set _assertInteropExpando(value) { + if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); + }, /*dart.bottom*/get bottom() { return core.Null; }, @@ -6587,95 +7083,6 @@ dart.defineLazy(dart, { return T$.JSArrayOfTypeVariable().of([]); } }, false); -var _rawJSType = dart.privateName(dart, "_rawJSType"); -var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); -var _dartName$ = dart.privateName(dart, "_dartName"); -var _getRawJSType = dart.privateName(dart, "_getRawJSType"); -dart.LazyJSType = class LazyJSType extends dart.DartType { - toString() { - let raw = this[_getRawJSType](); - return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; - } - [_getRawJSType]() { - let raw = this[_rawJSType]; - if (raw != null) return raw; - try { - raw = this[_getRawJSTypeFn$](); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - if (raw == null) { - dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); - } else { - this[_rawJSType] = raw; - dart._resetFields.push(() => this[_rawJSType] = null); - } - return raw; - } - rawJSTypeForCheck() { - let t1; - t1 = this[_getRawJSType](); - return t1 == null ? dart.jsobject : t1; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return this.is(obj) ? obj : dart.castError(obj, this); - } -}; -(dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { - if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); - if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); - this[_rawJSType] = null; - this[_getRawJSTypeFn$] = _getRawJSTypeFn; - this[_dartName$] = _dartName; - dart.LazyJSType.__proto__.new.call(this); - ; -}).prototype = dart.LazyJSType.prototype; -dart.addTypeTests(dart.LazyJSType); -dart.addTypeCaches(dart.LazyJSType); -dart.setMethodSignature(dart.LazyJSType, () => ({ - __proto__: dart.getMethods(dart.LazyJSType.__proto__), - [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), - rawJSTypeForCheck: dart.fnType(core.Object, []) -})); -dart.setLibraryUri(dart.LazyJSType, I[9]); -dart.setFieldSignature(dart.LazyJSType, () => ({ - __proto__: dart.getFields(dart.LazyJSType.__proto__), - [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), - [_dartName$]: dart.finalFieldType(core.String), - [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) -})); -dart.defineExtensionMethods(dart.LazyJSType, ['toString']); -dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { - toString() { - return this[_dartName$]; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); - } -}; -(dart.AnonymousJSType.new = function(_dartName) { - if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); - this[_dartName$] = _dartName; - dart.AnonymousJSType.__proto__.new.call(this); - ; -}).prototype = dart.AnonymousJSType.prototype; -dart.addTypeTests(dart.AnonymousJSType); -dart.addTypeCaches(dart.AnonymousJSType); -dart.setLibraryUri(dart.AnonymousJSType, I[9]); -dart.setFieldSignature(dart.AnonymousJSType, () => ({ - __proto__: dart.getFields(dart.AnonymousJSType.__proto__), - [_dartName$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); var type$ = dart.privateName(dart, "NullableType.type"); dart.NullableType = class NullableType extends dart.DartType { get type() { @@ -6684,6 +7091,10 @@ dart.NullableType = class NullableType extends dart.DartType { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 385, 30, "type"); + return new dart.NullableType.new(type); + } get name() { return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; } @@ -6704,7 +7115,7 @@ dart.NullableType = class NullableType extends dart.DartType { }).prototype = dart.NullableType.prototype; dart.addTypeTests(dart.NullableType); dart.addTypeCaches(dart.NullableType); -dart.setLibraryUri(dart.NullableType, I[9]); +dart.setLibraryUri(dart.NullableType, I[10]); dart.setFieldSignature(dart.NullableType, () => ({ __proto__: dart.getFields(dart.NullableType.__proto__), type: dart.finalFieldType(core.Type) @@ -6718,6 +7129,10 @@ dart.LegacyType = class LegacyType extends dart.DartType { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 406, 28, "type"); + return new dart.LegacyType.new(type); + } get name() { return dart.str(this.type); } @@ -6726,7 +7141,8 @@ dart.LegacyType = class LegacyType extends dart.DartType { } is(obj) { if (obj == null) { - return this.type === core.Object || this.type === dart.Never; + if (this.type === core.Object || this.type === dart.Never) return true; + return dart._isFutureOr(this.type) && dart.getGenericArgs(this.type)[0].is(obj); } return this.type.is(obj); } @@ -6741,7 +7157,7 @@ dart.LegacyType = class LegacyType extends dart.DartType { }).prototype = dart.LegacyType.prototype; dart.addTypeTests(dart.LegacyType); dart.addTypeCaches(dart.LegacyType); -dart.setLibraryUri(dart.LegacyType, I[9]); +dart.setLibraryUri(dart.LegacyType, I[10]); dart.setFieldSignature(dart.LegacyType, () => ({ __proto__: dart.getFields(dart.LegacyType.__proto__), type: dart.finalFieldType(core.Type) @@ -6751,6 +7167,9 @@ dart.BottomType = class BottomType extends dart.DartType { toString() { return "bottom"; } + static ['_#new#tearOff']() { + return new dart.BottomType.new(); + } }; (dart.BottomType.new = function() { dart.BottomType.__proto__.new.call(this); @@ -6758,7 +7177,7 @@ dart.BottomType = class BottomType extends dart.DartType { }).prototype = dart.BottomType.prototype; dart.addTypeTests(dart.BottomType); dart.addTypeCaches(dart.BottomType); -dart.setLibraryUri(dart.BottomType, I[9]); +dart.setLibraryUri(dart.BottomType, I[10]); dart.defineExtensionMethods(dart.BottomType, ['toString']); core.Type = class Type extends core.Object {}; (core.Type.new = function() { @@ -6766,8 +7185,12 @@ core.Type = class Type extends core.Object {}; }).prototype = core.Type.prototype; dart.addTypeTests(core.Type); dart.addTypeCaches(core.Type); -dart.setLibraryUri(core.Type, I[8]); +dart.setLibraryUri(core.Type, I[9]); dart._Type = class _Type extends core.Type { + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); + return new dart._Type.new(_type); + } toString() { return dart.typeName(this[_type$]); } @@ -6776,13 +7199,13 @@ dart._Type = class _Type extends core.Type { } }; (dart._Type.new = function(_type) { - if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); this[_type$] = _type; ; }).prototype = dart._Type.prototype; dart.addTypeTests(dart._Type); dart.addTypeCaches(dart._Type); -dart.setLibraryUri(dart._Type, I[9]); +dart.setLibraryUri(dart._Type, I[10]); dart.setFieldSignature(dart._Type, () => ({ __proto__: dart.getFields(dart._Type.__proto__), [_type$]: dart.finalFieldType(core.Object) @@ -6796,7 +7219,7 @@ dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; }).prototype = dart.AbstractFunctionType.prototype; dart.addTypeTests(dart.AbstractFunctionType); dart.addTypeCaches(dart.AbstractFunctionType); -dart.setLibraryUri(dart.AbstractFunctionType, I[9]); +dart.setLibraryUri(dart.AbstractFunctionType, I[10]); var returnType$ = dart.privateName(dart, "FunctionType.returnType"); var args$ = dart.privateName(dart, "FunctionType.args"); var optionals$ = dart.privateName(dart, "FunctionType.optionals"); @@ -6836,7 +7259,7 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { super.requiredNamed = value; } static create(returnType, args, optionalArgs, requiredNamedArgs) { - if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + if (args == null) dart.nullFailed(I[5], 737, 24, "args"); let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; if (noOptionalArgs && args.length < 3) { return dart._createSmall(returnType, args); @@ -6859,6 +7282,12 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { } return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); } + static ['_#new#tearOff'](returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); + return new dart.FunctionType.new(returnType, args, optionals, named, requiredNamed); + } toString() { return this.name; } @@ -6869,12 +7298,12 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); } getPositionalParameter(i) { - if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + if (i == null) dart.nullFailed(I[5], 776, 30, "i"); let n = this.args[$length]; return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); } [_createNameMap](names) { - if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + if (names == null) dart.nullFailed(I[5], 782, 52, "names"); let result = new (T$.IdentityMapOfString$Object()).new(); names.sort(); for (let i = 0; i < names.length; i = i + 1) { @@ -6950,9 +7379,9 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { } }; (dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { - if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); - if (args == null) dart.nullFailed(I[5], 784, 38, "args"); - if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); this[_stringValue] = null; this[returnType$] = returnType; this[args$] = args; @@ -6971,12 +7400,13 @@ dart.setMethodSignature(dart.FunctionType, () => ({ getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) })); +dart.setStaticMethodSignature(dart.FunctionType, () => ['create']); dart.setGetterSignature(dart.FunctionType, () => ({ __proto__: dart.getGetters(dart.FunctionType.__proto__), requiredParameterCount: core.int, positionalParameterCount: core.int })); -dart.setLibraryUri(dart.FunctionType, I[9]); +dart.setLibraryUri(dart.FunctionType, I[10]); dart.setFieldSignature(dart.FunctionType, () => ({ __proto__: dart.getFields(dart.FunctionType.__proto__), returnType: dart.finalFieldType(core.Type), @@ -6995,31 +7425,75 @@ dart.TypeVariable = class TypeVariable extends dart.DartType { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); + return new dart.TypeVariable.new(name); + } toString() { return this.name; } }; (dart.TypeVariable.new = function(name) { - if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); this[name$] = name; dart.TypeVariable.__proto__.new.call(this); ; }).prototype = dart.TypeVariable.prototype; dart.addTypeTests(dart.TypeVariable); dart.addTypeCaches(dart.TypeVariable); -dart.setLibraryUri(dart.TypeVariable, I[9]); +dart.setLibraryUri(dart.TypeVariable, I[10]); dart.setFieldSignature(dart.TypeVariable, () => ({ __proto__: dart.getFields(dart.TypeVariable.__proto__), name: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(dart.TypeVariable, ['toString']); -dart.Variance = class Variance extends core.Object {}; +var index$ = dart.privateName(dart, "TypeVariableForSubtype.index"); +var bound = dart.privateName(dart, "TypeVariableForSubtype.bound"); +dart.TypeVariableForSubtype = class TypeVariableForSubtype extends dart.DartType { + get index() { + return this[index$]; + } + set index(value) { + super.index = value; + } + get bound() { + return this[bound]; + } + set bound(value) { + this[bound] = value; + } + static ['_#new#tearOff'](index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + return new dart.TypeVariableForSubtype.new(index); + } +}; +(dart.TypeVariableForSubtype.new = function(index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + this[bound] = null; + this[index$] = index; + dart.TypeVariableForSubtype.__proto__.new.call(this); + ; +}).prototype = dart.TypeVariableForSubtype.prototype; +dart.addTypeTests(dart.TypeVariableForSubtype); +dart.addTypeCaches(dart.TypeVariableForSubtype); +dart.setLibraryUri(dart.TypeVariableForSubtype, I[10]); +dart.setFieldSignature(dart.TypeVariableForSubtype, () => ({ + __proto__: dart.getFields(dart.TypeVariableForSubtype.__proto__), + index: dart.finalFieldType(core.int), + bound: dart.fieldType(dart.nullable(dart.DartType)) +})); +dart.Variance = class Variance extends core.Object { + static ['_#new#tearOff']() { + return new dart.Variance.new(); + } +}; (dart.Variance.new = function() { ; }).prototype = dart.Variance.prototype; dart.addTypeTests(dart.Variance); dart.addTypeCaches(dart.Variance); -dart.setLibraryUri(dart.Variance, I[9]); +dart.setLibraryUri(dart.Variance, I[10]); +dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); dart.defineLazy(dart.Variance, { /*dart.Variance.unrelated*/get unrelated() { return 0; @@ -7056,6 +7530,10 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends set function(value) { super.function = value; } + static ['_#new#tearOff'](typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); + return new dart.GenericFunctionTypeIdentifier.new(typeFormals, typeBounds, $function); + } toString() { if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); let s = "<"; @@ -7065,7 +7543,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends if (i !== 0) s = s + ", "; s = s + typeFormals[i].name; let bound = dart.dsend(typeBounds, '_get', [i]); - if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || true && bound === core.Object) { continue; } s = s + (" extends " + dart.str(bound)); @@ -7075,7 +7553,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends } }; (dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); this[_stringValue] = null; this[typeFormals$] = typeFormals; this[typeBounds$] = typeBounds; @@ -7085,7 +7563,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends }).prototype = dart.GenericFunctionTypeIdentifier.prototype; dart.addTypeTests(dart.GenericFunctionTypeIdentifier); dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); -dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); +dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), typeFormals: dart.finalFieldType(dart.dynamic), @@ -7105,6 +7583,9 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti set formalCount(value) { super.formalCount = value; } + static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { + return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); + } get typeFormals() { return this[_typeFormals]; } @@ -7112,7 +7593,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti return this[_instantiateTypeBounds$] != null; } checkBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 969, 33, "typeArgs"); if (!dart.test(this.hasTypeBounds)) return; let bounds = this.instantiateTypeBounds(typeArgs); let typeFormals = this.typeFormals; @@ -7125,7 +7606,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); } instantiateTypeBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 987, 43, "typeArgs"); if (!dart.test(this.hasTypeBounds)) { return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); } @@ -7149,7 +7630,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti instantiateDefaultBounds() { function defaultsToDynamic(type) { if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { return type.type === core.Object; } return false; @@ -7238,7 +7719,7 @@ dart.setGetterSignature(dart.GenericFunctionType, () => ({ typeFormals: core.List$(dart.TypeVariable), hasTypeBounds: core.bool })); -dart.setLibraryUri(dart.GenericFunctionType, I[9]); +dart.setLibraryUri(dart.GenericFunctionType, I[10]); dart.setFieldSignature(dart.GenericFunctionType, () => ({ __proto__: dart.getFields(dart.GenericFunctionType.__proto__), [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), @@ -7255,6 +7736,10 @@ var _isFunctionSubtypeMatch = dart.privateName(dart, "_isFunctionSubtypeMatch"); var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); var _isTop$ = dart.privateName(dart, "_isTop"); dart._TypeInferrer = class _TypeInferrer extends core.Object { + static ['_#new#tearOff'](typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); + return new dart._TypeInferrer.new(typeVariables); + } getInferredTypes() { let result = T$.JSArrayOfObject().of([]); for (let constraint of this[_typeVariables][$values]) { @@ -7269,24 +7754,24 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return result; } trySubtypeMatch(subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1898, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1898, 47, "supertype"); return this[_isSubtypeMatch](subtype, supertype); } [_constrainLower](parameter, lower) { - if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); - if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + if (parameter == null) dart.nullFailed(I[5], 1901, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1901, 55, "lower"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); } [_constrainUpper](parameter, upper) { - if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); - if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + if (parameter == null) dart.nullFailed(I[5], 1905, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1905, 55, "upper"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); } [_isFunctionSubtypeMatch](subtype, supertype) { - let t7; - if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + let t2; + if (subtype == null) dart.nullFailed(I[5], 1909, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1909, 67, "supertype"); if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { return false; } @@ -7305,22 +7790,16 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); let subtypeNamed = supertype.getNamedParameters(); let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - if (!false) { + { supertypeNamed = (() => { - let t1 = new (T$.IdentityMapOfString$Object()).new(); - for (let t2 of supertypeNamed[$entries]) - t1[$_set](t2.key, t2.value); - for (let t3 of supertypeRequiredNamed[$entries]) - t1[$_set](t3.key, t3.value); - return t1; + let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); + t0[$addAll](supertypeRequiredNamed); + return t0; })(); subtypeNamed = (() => { - let t4 = new (T$.IdentityMapOfString$Object()).new(); - for (let t5 of subtypeNamed[$entries]) - t4[$_set](t5.key, t5.value); - for (let t6 of subtypeRequiredNamed[$entries]) - t4[$_set](t6.key, t6.value); - return t4; + let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); + t1[$addAll](subtypeRequiredNamed); + return t1; })(); supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); @@ -7337,7 +7816,7 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { } } for (let name of supertypeRequiredNamed[$keys]) { - let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + let subtypeParamType = (t2 = subtypeRequiredNamed[$_get](name), t2 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t2); if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { return false; } @@ -7345,8 +7824,8 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return true; } [_isInterfaceSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1985, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1985, 56, "supertype"); let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); if (matchingSupertype == null) return false; let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); @@ -7359,8 +7838,8 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return true; } [_isSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 2029, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 2029, 47, "supertype"); if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { this[_constrainUpper](subtype, supertype); return true; @@ -7392,11 +7871,11 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { if (dart.GenericFunctionType.is(subtype)) { if (dart.GenericFunctionType.is(supertype)) { let formalCount = subtype.formalCount; - if (formalCount != supertype.formalCount) return false; + if (formalCount !== supertype.formalCount) return false; let fresh = supertype.typeFormals; let t1Bounds = subtype.instantiateTypeBounds(fresh); let t2Bounds = supertype.instantiateTypeBounds(fresh); - for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + for (let i = 0; i < formalCount; i = i + 1) { if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { return false; } @@ -7423,14 +7902,14 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return this[_isInterfaceSubtypeMatch](subtype, supertype); } [_isTop$](type) { - if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + if (type == null) dart.nullFailed(I[5], 2172, 22, "type"); return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; } }; (dart._TypeInferrer.new = function(typeVariables) { - if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); return new dart.TypeConstraint.new(); })); ; @@ -7448,7 +7927,7 @@ dart.setMethodSignature(dart._TypeInferrer, () => ({ [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), [_isTop$]: dart.fnType(core.bool, [core.Object]) })); -dart.setLibraryUri(dart._TypeInferrer, I[9]); +dart.setLibraryUri(dart._TypeInferrer, I[10]); dart.setFieldSignature(dart._TypeInferrer, () => ({ __proto__: dart.getFields(dart._TypeInferrer.__proto__), [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) @@ -7469,7 +7948,7 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { this[upper] = value; } [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); let _lower = this.lower; if (_lower != null) { if (dart.isSubtypeOf(_lower, type)) { @@ -7482,7 +7961,7 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { this.lower = type; } [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); let _upper = this.upper; if (_upper != null) { if (dart.isSubtypeOf(type, _upper)) { @@ -7497,6 +7976,9 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { toString() { return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); } + static ['_#new#tearOff']() { + return new dart.TypeConstraint.new(); + } }; (dart.TypeConstraint.new = function() { this[lower] = null; @@ -7510,16 +7992,226 @@ dart.setMethodSignature(dart.TypeConstraint, () => ({ [_constrainLower]: dart.fnType(dart.void, [core.Object]), [_constrainUpper]: dart.fnType(dart.void, [core.Object]) })); -dart.setLibraryUri(dart.TypeConstraint, I[9]); +dart.setLibraryUri(dart.TypeConstraint, I[10]); dart.setFieldSignature(dart.TypeConstraint, () => ({ __proto__: dart.getFields(dart.TypeConstraint.__proto__), lower: dart.fieldType(dart.nullable(core.Object)), upper: dart.fieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); +var positionals$ = dart.privateName(dart, "Shape.positionals"); +var named$0 = dart.privateName(dart, "Shape.named"); +dart.Shape = class Shape extends core.Object { + get positionals() { + return this[positionals$]; + } + set positionals(value) { + if (value == null) dart.nullFailed(I[5], 2258, 7, "positionals"); + this[positionals$] = value; + } + get named() { + return this[named$0]; + } + set named(value) { + this[named$0] = value; + } + static ['_#new#tearOff'](positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + return new dart.Shape.new(positionals, named); + } + toString() { + let t2; + return "Shape(" + dart.str(this.positionals) + ", [" + dart.str((t2 = this.named, t2 == null ? null : t2[$join](", "))) + "])"; + } +}; +(dart.Shape.new = function(positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + this[positionals$] = positionals; + this[named$0] = named; + ; +}).prototype = dart.Shape.prototype; +dart.addTypeTests(dart.Shape); +dart.addTypeCaches(dart.Shape); +dart.setLibraryUri(dart.Shape, I[10]); +dart.setFieldSignature(dart.Shape, () => ({ + __proto__: dart.getFields(dart.Shape.__proto__), + positionals: dart.fieldType(core.int), + named: dart.fieldType(dart.nullable(core.List$(core.String))) +})); +dart.defineExtensionMethods(dart.Shape, ['toString']); +var _hashCode = dart.privateName(dart, "_hashCode"); +var _printed = dart.privateName(dart, "_printed"); +dart._RecordImpl = class _RecordImpl extends core.Object { + static ['_#new#tearOff'](shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + return new dart._RecordImpl.new(shape, values); + } + _equals(other) { + if (other == null) return false; + if (!dart._RecordImpl.is(other)) return false; + if (!dart.equals(this.shape, other.shape)) return false; + if (this.values[$length] != other.values[$length]) { + return false; + } + for (let i = 0; i < dart.notNull(this.values[$length]); i = i + 1) { + if (!dart.equals(this.values[$_get](i), other.values[$_get](i))) { + return false; + } + } + return true; + } + get hashCode() { + if (this[_hashCode] == null) { + this[_hashCode] = core.Object.hashAll((() => { + let t2 = T$.JSArrayOfObjectN().of([this.shape]); + t2[$addAll](this.values); + return t2; + })()); + } + return dart.nullCheck(this[_hashCode]); + } + toString() { + if (this[_printed] == null) { + let buffer = new core.StringBuffer.new(); + let posCount = this.shape.positionals; + let count = this.values[$length]; + buffer.write("("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i >= dart.notNull(posCount)) { + buffer.write(dart.str(dart.nullCheck(this.shape.named)[$_get](i - dart.notNull(posCount)))); + buffer.write(": "); + } + buffer.write(dart.str(this.values[$_get](i))); + if (i < dart.notNull(count) - 1) buffer.write(", "); + } + buffer.write(")"); + this[_printed] = buffer.toString(); + } + return dart.nullCheck(this[_printed]); + } +}; +(dart._RecordImpl.new = function(shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + this[_hashCode] = null; + this[_printed] = null; + this.shape = shape; + this.values = values; + ; +}).prototype = dart._RecordImpl.prototype; +dart.addTypeTests(dart._RecordImpl); +dart.addTypeCaches(dart._RecordImpl); +dart._RecordImpl[dart.implements] = () => [core.Record]; +dart.setMethodSignature(dart._RecordImpl, () => ({ + __proto__: dart.getMethods(dart._RecordImpl.__proto__), + _equals: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$_equals]: dart.fnType(core.bool, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart._RecordImpl, I[10]); +dart.setFieldSignature(dart._RecordImpl, () => ({ + __proto__: dart.getFields(dart._RecordImpl.__proto__), + shape: dart.fieldType(dart.Shape), + values: dart.fieldType(core.List), + [_hashCode]: dart.fieldType(dart.nullable(core.int)), + [_printed]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart._RecordImpl, ['_equals', 'toString']); +dart.defineExtensionAccessors(dart._RecordImpl, ['hashCode']); +var shape$ = dart.privateName(dart, "RecordType.shape"); +var types$ = dart.privateName(dart, "RecordType.types"); +dart.RecordType = class RecordType extends dart.DartType { + get shape() { + return this[shape$]; + } + set shape(value) { + super.shape = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } + static ['_#_#tearOff'](shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + return new dart.RecordType.__(shape, types); + } + static create(shape, types) { + let canonicalized = dart._canonicalizeArray(types, dart._recordTypeArrayFieldMap); + let keys = [shape, canonicalized]; + let createType = () => new dart.RecordType.__(shape, canonicalized); + return dart._memoizeArray(dart._recordTypeTypeMap, keys, createType); + } + toString() { + if (this[_printed] != null) return dart.nullCheck(this[_printed]); + let named = this.shape.named; + let posCount = this.shape.positionals; + let count = this.types[$length]; + let buffer = new core.StringBuffer.new(); + buffer.write("RecordType("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i < dart.notNull(posCount)) { + buffer.write(dart.str(this.types[$_get](i))); + } else { + if (i === posCount) { + buffer.write("{"); + } + buffer.write(dart.str(this.types[$_get](i)) + " " + dart.str(dart.nullCheck(named)[$_get](i - dart.notNull(posCount)))); + if (i === dart.notNull(count) - 1) { + buffer.write("}"); + } + } + if (i < dart.notNull(count) - 1) { + buffer.write(", "); + } + } + buffer.write(")"); + this[_printed] = buffer.toString(); + return dart.nullCheck(this[_printed]); + } + is(obj) { + if (obj instanceof dart._RecordImpl) { + let actual = dart.getReifiedType(obj); + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } +}; +(dart.RecordType.__ = function(shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + this[_printed] = null; + this[shape$] = shape; + this[types$] = types; + dart.RecordType.__proto__.new.call(this); + ; +}).prototype = dart.RecordType.prototype; +dart.addTypeTests(dart.RecordType); +dart.addTypeCaches(dart.RecordType); +dart.setStaticMethodSignature(dart.RecordType, () => ['create']); +dart.setLibraryUri(dart.RecordType, I[10]); +dart.setFieldSignature(dart.RecordType, () => ({ + __proto__: dart.getFields(dart.RecordType.__proto__), + shape: dart.finalFieldType(dart.Shape), + types: dart.finalFieldType(core.List), + [_printed]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.RecordType, ['toString']); var _trace = dart.privateName(dart, "_trace"); var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); dart._StackTrace = class _StackTrace extends core.Object { + static ['_#new#tearOff'](_jsError) { + return new dart._StackTrace.new(_jsError); + } + static ['_#missing#tearOff'](caughtObj) { + return new dart._StackTrace.missing(caughtObj); + } toString() { if (this[_trace] != null) return dart.nullCheck(this[_trace]); let e = this[_jsError$]; @@ -7562,7 +8254,7 @@ dart._StackTrace = class _StackTrace extends core.Object { dart.addTypeTests(dart._StackTrace); dart.addTypeCaches(dart._StackTrace); dart._StackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(dart._StackTrace, I[9]); +dart.setLibraryUri(dart._StackTrace, I[10]); dart.setFieldSignature(dart._StackTrace, () => ({ __proto__: dart.getFields(dart._StackTrace.__proto__), [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -7582,317 +8274,326 @@ let const$; let const$0; dart.defineLazy(CT, { get C0() { - return C[0] = dart.constList([], T$.TypeL()); + return C[0] = dart.const({ + __proto__: _internal.SentinelValue.prototype, + [SentinelValue_id]: 0 + }); }, get C1() { - return C[1] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); + return C[1] = dart.constList([], T$.TypeL()); }, get C2() { return C[2] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" + [name$0]: "none" }); }, get C3() { return C[3] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" + [name$0]: "skipDart" }); }, get C4() { return C[4] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" + [name$0]: "keyToString" }); }, get C5() { return C[5] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" + [name$0]: "asClass" }); }, get C6() { return C[6] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" + [name$0]: "asObject" }); }, get C7() { - return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + return C[7] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); }, get C8() { - return C[8] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); + return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); }, get C9() { - return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + return C[9] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); }, get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); }, get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); }, get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); }, get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); }, get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); }, get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); }, get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); }, get C17() { - return C[17] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); + return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); }, get C18() { - return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + return C[18] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); }, get C19() { - return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); }, get C20() { - return C[20] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); + return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); }, get C21() { - return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + return C[21] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); }, get C22() { - return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + return C[22] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); }, get C23() { - return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + return C[23] = dart.const({ + __proto__: _internal._Patch.prototype + }); }, get C24() { - return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); }, get C25() { - return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); }, get C26() { - return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); }, get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); }, get C28() { - return C[28] = dart.applyExtensionForTesting; + return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); }, get C29() { - return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); }, get C30() { - return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + return C[30] = dart.applyExtensionForTesting; }, get C31() { - return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); }, get C32() { - return C[32] = dart.const({ - __proto__: _js_helper._Patch.prototype - }); + return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); }, get C33() { - return C[33] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); + return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); }, get C34() { return C[34] = dart.const({ - __proto__: _js_helper._Undefined.prototype + __proto__: _js_helper._NotNull.prototype }); }, get C35() { return C[35] = dart.const({ - __proto__: _js_helper._NullCheck.prototype + __proto__: _js_helper._Undefined.prototype }); }, get C36() { return C[36] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false + __proto__: _js_helper._NullCheck.prototype }); }, get C37() { - return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + return C[37] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); }, get C38() { - return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); }, get C39() { - return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); }, get C40() { - return C[40] = dart.const({ - __proto__: async._DelayedDone.prototype - }); + return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); }, get C41() { - return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + return C[41] = dart.const({ + __proto__: async._DelayedDone.prototype + }); }, get C42() { - return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); }, get C43() { - return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + return C[43] = async._AsyncRun._scheduleImmediateJSOverride; }, get C44() { - return C[44] = dart.const({ + return C[44] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C45() { + return C[45] = dart.const({ __proto__: async._RootZone.prototype }); }, - get C46() { - return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + get C47() { + return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RunNullaryZoneFunction.prototype, - [$function$1]: C[46] || CT.C46, - [zone$0]: C[44] || CT.C44 + get C46() { + return C[46] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, + [$function$0]: C[47] || CT.C47, + [zone$]: C[45] || CT.C45 }); }, - get C48() { - return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + get C49() { + return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); }, - get C47() { - return C[47] = dart.const({ - __proto__: async._RunUnaryZoneFunction.prototype, - [$function$2]: C[48] || CT.C48, - [zone$1]: C[44] || CT.C44 + get C48() { + return C[48] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1().prototype, + [$function$0]: C[49] || CT.C49, + [zone$]: C[45] || CT.C45 }); }, - get C50() { - return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + get C51() { + return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); }, - get C49() { - return C[49] = dart.const({ - __proto__: async._RunBinaryZoneFunction.prototype, - [$function$3]: C[50] || CT.C50, - [zone$2]: C[44] || CT.C44 + get C50() { + return C[50] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2().prototype, + [$function$0]: C[51] || CT.C51, + [zone$]: C[45] || CT.C45 }); }, - get C52() { - return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + get C53() { + return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); }, - get C51() { - return C[51] = dart.const({ - __proto__: async._RegisterNullaryZoneFunction.prototype, - [$function$4]: C[52] || CT.C52, - [zone$3]: C[44] || CT.C44 + get C52() { + return C[52] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, + [$function$0]: C[53] || CT.C53, + [zone$]: C[45] || CT.C45 }); }, - get C54() { - return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + get C55() { + return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); }, - get C53() { - return C[53] = dart.const({ - __proto__: async._RegisterUnaryZoneFunction.prototype, - [$function$5]: C[54] || CT.C54, - [zone$4]: C[44] || CT.C44 + get C54() { + return C[54] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1().prototype, + [$function$0]: C[55] || CT.C55, + [zone$]: C[45] || CT.C45 }); }, - get C56() { - return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + get C57() { + return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); }, - get C55() { - return C[55] = dart.const({ - __proto__: async._RegisterBinaryZoneFunction.prototype, - [$function$6]: C[56] || CT.C56, - [zone$5]: C[44] || CT.C44 + get C56() { + return C[56] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2().prototype, + [$function$0]: C[57] || CT.C57, + [zone$]: C[45] || CT.C45 }); }, - get C58() { - return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + get C59() { + return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); }, - get C57() { - return C[57] = dart.const({ + get C58() { + return C[58] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[58] || CT.C58, - [zone$]: C[44] || CT.C44 + [$function$0]: C[59] || CT.C59, + [zone$]: C[45] || CT.C45 }); }, - get C60() { - return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + get C61() { + return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); }, - get C59() { - return C[59] = dart.const({ + get C60() { + return C[60] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[60] || CT.C60, - [zone$]: C[44] || CT.C44 + [$function$0]: C[61] || CT.C61, + [zone$]: C[45] || CT.C45 }); }, - get C62() { - return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + get C63() { + return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); }, - get C61() { - return C[61] = dart.const({ + get C62() { + return C[62] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[62] || CT.C62, - [zone$]: C[44] || CT.C44 + [$function$0]: C[63] || CT.C63, + [zone$]: C[45] || CT.C45 }); }, - get C64() { - return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + get C65() { + return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); }, - get C63() { - return C[63] = dart.const({ + get C64() { + return C[64] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[64] || CT.C64, - [zone$]: C[44] || CT.C44 + [$function$0]: C[65] || CT.C65, + [zone$]: C[45] || CT.C45 }); }, - get C66() { - return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + get C67() { + return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); }, - get C65() { - return C[65] = dart.const({ + get C66() { + return C[66] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[66] || CT.C66, - [zone$]: C[44] || CT.C44 + [$function$0]: C[67] || CT.C67, + [zone$]: C[45] || CT.C45 }); }, - get C68() { - return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + get C69() { + return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); }, - get C67() { - return C[67] = dart.const({ + get C68() { + return C[68] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[68] || CT.C68, - [zone$]: C[44] || CT.C44 + [$function$0]: C[69] || CT.C69, + [zone$]: C[45] || CT.C45 }); }, - get C70() { - return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + get C71() { + return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); }, - get C69() { - return C[69] = dart.const({ + get C70() { + return C[70] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[70] || CT.C70, - [zone$]: C[44] || CT.C44 + [$function$0]: C[71] || CT.C71, + [zone$]: C[45] || CT.C45 }); }, - get C71() { - return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); - }, get C72() { - return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); }, get C73() { - return C[73] = dart.const({ + return C[73] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C74() { + return C[74] = dart.fn(async._printToZone, T$0.StringTovoid()); + }, + get C75() { + return C[75] = dart.const({ __proto__: async._ZoneSpecification.prototype, [fork$]: null, [print$]: null, @@ -7909,69 +8610,84 @@ dart.defineLazy(CT, { [handleUncaughtError$]: null }); }, - get C74() { - return C[74] = dart.hashCode; - }, - get C75() { - return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); - }, get C76() { - return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + return C[76] = dart.hashCode; }, get C77() { - return C[77] = dart.equals; + return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); }, get C78() { - return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); }, get C79() { - return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + return C[79] = dart.equals; }, get C80() { - return C[80] = dart.const({ + return C[80] = dart.const(new _js_helper.PrivateSymbol.new('_link', _link$)); + }, + get C81() { + return C[81] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink', _nextLink$1)); + }, + get C82() { + return C[82] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink', _previousLink$1)); + }, + get C83() { + return C[83] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink=', _nextLink_)); + }, + get C84() { + return C[84] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink=', _previousLink_)); + }, + get C85() { + return C[85] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C86() { + return C[86] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C87() { + return C[87] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C81() { - return C[81] = dart.const({ + get C88() { + return C[88] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C82() { - return C[82] = dart.const({ + get C89() { + return C[89] = dart.const({ __proto__: convert.AsciiEncoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 127 }); }, - get C83() { - return C[83] = dart.constList([239, 191, 189], T$0.intL()); + get C90() { + return C[90] = dart.constList([239, 191, 189], T$0.intL()); }, - get C84() { - return C[84] = dart.const({ + get C91() { + return C[91] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: false }); }, - get C85() { - return C[85] = dart.const({ + get C92() { + return C[92] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: true }); }, - get C86() { - return C[86] = dart.const({ + get C93() { + return C[93] = dart.const({ __proto__: convert.Base64Decoder.prototype }); }, - get C87() { - return C[87] = dart.constList([], T$0.intL()); + get C94() { + return C[94] = dart.constList([], T$0.intL()); }, - get C88() { - return C[88] = dart.const({ + get C95() { + return C[95] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: true, [escapeApos$]: true, @@ -7980,8 +8696,8 @@ dart.defineLazy(CT, { [_name$2]: "unknown" }); }, - get C89() { - return C[89] = dart.const({ + get C96() { + return C[96] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -7990,8 +8706,8 @@ dart.defineLazy(CT, { [_name$2]: "attribute" }); }, - get C90() { - return C[90] = dart.const({ + get C97() { + return C[97] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: true, @@ -8000,8 +8716,8 @@ dart.defineLazy(CT, { [_name$2]: "attribute" }); }, - get C91() { - return C[91] = dart.const({ + get C98() { + return C[98] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -8010,689 +8726,701 @@ dart.defineLazy(CT, { [_name$2]: "element" }); }, - get C92() { - return C[92] = dart.const({ + get C99() { + return C[99] = dart.const({ __proto__: convert.JsonEncoder.prototype, [JsonEncoder__toEncodable]: null, [JsonEncoder_indent]: null }); }, - get C93() { - return C[93] = dart.const({ + get C100() { + return C[100] = dart.const({ __proto__: convert.JsonDecoder.prototype, [JsonDecoder__reviver]: null }); }, - get C94() { - return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + get C101() { + return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); }, - get C95() { - return C[95] = dart.const({ + get C102() { + return C[102] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C96() { - return C[96] = dart.const({ + get C103() { + return C[103] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C97() { - return C[97] = dart.const({ + get C104() { + return C[104] = dart.const({ __proto__: convert.Latin1Encoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 255 }); }, - get C98() { - return C[98] = dart.constList([65533], T$0.intL()); + get C105() { + return C[105] = dart.constList([65533], T$0.intL()); }, - get C99() { - return C[99] = dart.const({ + get C106() { + return C[106] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: true }); }, - get C100() { - return C[100] = dart.const({ + get C107() { + return C[107] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: false }); }, - get C101() { - return C[101] = dart.const({ + get C108() { + return C[108] = dart.const({ __proto__: convert.Utf8Encoder.prototype }); }, - get C102() { - return C[102] = dart.const({ + get C109() { + return C[109] = dart.const({ __proto__: convert.AsciiCodec.prototype, [_allowInvalid]: false }); }, - get C103() { - return C[103] = dart.const({ + get C110() { + return C[110] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[84] || CT.C84 + [_encoder]: C[91] || CT.C91 }); }, - get C104() { - return C[104] = dart.const({ + get C111() { + return C[111] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[85] || CT.C85 + [_encoder]: C[92] || CT.C92 }); }, - get C105() { - return C[105] = dart.const({ + get C112() { + return C[112] = dart.const({ __proto__: convert.HtmlEscape.prototype, - [mode$]: C[88] || CT.C88 + [mode$]: C[95] || CT.C95 }); }, - get C106() { - return C[106] = dart.const({ + get C113() { + return C[113] = dart.const({ __proto__: convert.JsonCodec.prototype, [_toEncodable]: null, [_reviver]: null }); }, - get C107() { - return C[107] = dart.const({ + get C114() { + return C[114] = dart.const({ __proto__: convert.Latin1Codec.prototype, [_allowInvalid$1]: false }); }, - get C108() { - return C[108] = dart.const({ + get C115() { + return C[115] = dart.const({ __proto__: convert.Utf8Codec.prototype, [_allowMalformed]: false }); }, - get C109() { - return C[109] = dart.const({ + get C116() { + return C[116] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 0 }); }, - get C110() { - return C[110] = dart.const({ + get C117() { + return C[117] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 1 }); }, - get C111() { - return C[111] = dart.const({ + get C118() { + return C[118] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 2 }); }, - get C112() { - return C[112] = dart.const({ + get C119() { + return C[119] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 3 }); }, - get C113() { - return C[113] = dart.const({ + get C120() { + return C[120] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 4 }); }, - get C114() { - return C[114] = dart.const({ + get C121() { + return C[121] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 1 }); }, - get C115() { - return C[115] = dart.const({ + get C122() { + return C[122] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 2 }); }, - get C116() { - return C[116] = dart.const({ + get C123() { + return C[123] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 3 }); }, - get C117() { - return C[117] = dart.const({ + get C124() { + return C[124] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 4 }); }, - get C118() { - return C[118] = dart.const({ + get C125() { + return C[125] = dart.const({ __proto__: convert.LineSplitter.prototype }); }, - get C119() { - return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C126() { + return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C120() { - return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C127() { + return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C121() { - return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + get C128() { + return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); }, - get C122() { - return C[122] = dart.const({ + get C129() { + return C[129] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 0 }); }, - get C123() { - return C[123] = dart.const({ + get C130() { + return C[130] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 1 }); }, - get C124() { - return C[124] = dart.const({ + get C131() { + return C[131] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 2 }); }, - get C125() { - return C[125] = dart.const({ + get C132() { + return C[132] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 3 }); }, - get C126() { - return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + get C133() { + return C[133] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 4 + }); }, - get C127() { - return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + get C134() { + return C[134] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 5 + }); }, - get C128() { - return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + get C135() { + return C[135] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134], T$0.FileSystemEntityTypeL()); }, - get C129() { - return C[129] = dart.const({ + get C136() { + return C[136] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C137() { + return C[137] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C138() { + return C[138] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.startTime", - index: 0 + [_Enum__name]: "startTime", + [_Enum_index]: 0 }); }, - get C130() { - return C[130] = dart.const({ + get C139() { + return C[139] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.endTime", - index: 1 + [_Enum__name]: "endTime", + [_Enum_index]: 1 }); }, - get C131() { - return C[131] = dart.const({ + get C140() { + return C[140] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.address", - index: 2 + [_Enum__name]: "address", + [_Enum_index]: 2 }); }, - get C132() { - return C[132] = dart.const({ + get C141() { + return C[141] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.port", - index: 3 + [_Enum__name]: "port", + [_Enum_index]: 3 }); }, - get C133() { - return C[133] = dart.const({ + get C142() { + return C[142] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.socketType", - index: 4 + [_Enum__name]: "socketType", + [_Enum_index]: 4 }); }, - get C134() { - return C[134] = dart.const({ + get C143() { + return C[143] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.readBytes", - index: 5 + [_Enum__name]: "readBytes", + [_Enum_index]: 5 }); }, - get C135() { - return C[135] = dart.const({ + get C144() { + return C[144] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.writeBytes", - index: 6 + [_Enum__name]: "writeBytes", + [_Enum_index]: 6 }); }, - get C136() { - return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + get C145() { + return C[145] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141, C[142] || CT.C142, C[143] || CT.C143, C[144] || CT.C144], T$0._SocketProfileTypeL()); }, - get C138() { - return C[138] = dart.const({ + get C147() { + return C[147] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 0 }); }, - get C139() { - return C[139] = dart.const({ + get C148() { + return C[148] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 1 }); }, - get C140() { - return C[140] = dart.const({ + get C149() { + return C[149] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 2 }); }, - get C141() { - return C[141] = dart.const({ + get C150() { + return C[150] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 3 }); }, - get C137() { - return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + get C146() { + return C[146] = dart.constList([C[147] || CT.C147, C[148] || CT.C148, C[149] || CT.C149, C[150] || CT.C150], T$0.ProcessStartModeL()); }, - get C142() { - return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + get C151() { + return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); }, - get C143() { - return C[143] = dart.const({ + get C152() { + return C[152] = dart.const({ __proto__: io.SystemEncoding.prototype }); }, - get C144() { - return C[144] = dart.const({ + get C153() { + return C[153] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTERM", [ProcessSignal__signalNumber]: 15 }); }, - get C145() { - return C[145] = dart.const({ + get C154() { + return C[154] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGHUP", [ProcessSignal__signalNumber]: 1 }); }, - get C146() { - return C[146] = dart.const({ + get C155() { + return C[155] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGINT", [ProcessSignal__signalNumber]: 2 }); }, - get C147() { - return C[147] = dart.const({ + get C156() { + return C[156] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGQUIT", [ProcessSignal__signalNumber]: 3 }); }, - get C148() { - return C[148] = dart.const({ + get C157() { + return C[157] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGILL", [ProcessSignal__signalNumber]: 4 }); }, - get C149() { - return C[149] = dart.const({ + get C158() { + return C[158] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTRAP", [ProcessSignal__signalNumber]: 5 }); }, - get C150() { - return C[150] = dart.const({ + get C159() { + return C[159] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGABRT", [ProcessSignal__signalNumber]: 6 }); }, - get C151() { - return C[151] = dart.const({ + get C160() { + return C[160] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGBUS", [ProcessSignal__signalNumber]: 7 }); }, - get C152() { - return C[152] = dart.const({ + get C161() { + return C[161] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGFPE", [ProcessSignal__signalNumber]: 8 }); }, - get C153() { - return C[153] = dart.const({ + get C162() { + return C[162] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGKILL", [ProcessSignal__signalNumber]: 9 }); }, - get C154() { - return C[154] = dart.const({ + get C163() { + return C[163] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR1", [ProcessSignal__signalNumber]: 10 }); }, - get C155() { - return C[155] = dart.const({ + get C164() { + return C[164] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSEGV", [ProcessSignal__signalNumber]: 11 }); }, - get C156() { - return C[156] = dart.const({ + get C165() { + return C[165] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR2", [ProcessSignal__signalNumber]: 12 }); }, - get C157() { - return C[157] = dart.const({ + get C166() { + return C[166] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPIPE", [ProcessSignal__signalNumber]: 13 }); }, - get C158() { - return C[158] = dart.const({ + get C167() { + return C[167] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGALRM", [ProcessSignal__signalNumber]: 14 }); }, - get C159() { - return C[159] = dart.const({ + get C168() { + return C[168] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCHLD", [ProcessSignal__signalNumber]: 17 }); }, - get C160() { - return C[160] = dart.const({ + get C169() { + return C[169] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCONT", [ProcessSignal__signalNumber]: 18 }); }, - get C161() { - return C[161] = dart.const({ + get C170() { + return C[170] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSTOP", [ProcessSignal__signalNumber]: 19 }); }, - get C162() { - return C[162] = dart.const({ + get C171() { + return C[171] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTSTP", [ProcessSignal__signalNumber]: 20 }); }, - get C163() { - return C[163] = dart.const({ + get C172() { + return C[172] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTIN", [ProcessSignal__signalNumber]: 21 }); }, - get C164() { - return C[164] = dart.const({ + get C173() { + return C[173] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTOU", [ProcessSignal__signalNumber]: 22 }); }, - get C165() { - return C[165] = dart.const({ + get C174() { + return C[174] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGURG", [ProcessSignal__signalNumber]: 23 }); }, - get C166() { - return C[166] = dart.const({ + get C175() { + return C[175] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXCPU", [ProcessSignal__signalNumber]: 24 }); }, - get C167() { - return C[167] = dart.const({ + get C176() { + return C[176] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXFSZ", [ProcessSignal__signalNumber]: 25 }); }, - get C168() { - return C[168] = dart.const({ + get C177() { + return C[177] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGVTALRM", [ProcessSignal__signalNumber]: 26 }); }, - get C169() { - return C[169] = dart.const({ + get C178() { + return C[178] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPROF", [ProcessSignal__signalNumber]: 27 }); }, - get C170() { - return C[170] = dart.const({ + get C179() { + return C[179] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGWINCH", [ProcessSignal__signalNumber]: 28 }); }, - get C171() { - return C[171] = dart.const({ + get C180() { + return C[180] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPOLL", [ProcessSignal__signalNumber]: 29 }); }, - get C172() { - return C[172] = dart.const({ + get C181() { + return C[181] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSYS", [ProcessSignal__signalNumber]: 31 }); }, - get C173() { - return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + get C182() { + return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); }, - get C174() { - return C[174] = dart.const({ + get C183() { + return C[183] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 0 }); }, - get C175() { - return C[175] = dart.const({ + get C184() { + return C[184] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 1 }); }, - get C176() { - return C[176] = dart.const({ + get C185() { + return C[185] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 2 }); }, - get C177() { - return C[177] = dart.const({ + get C186() { + return C[186] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 3 }); }, - get C178() { - return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + get C187() { + return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); }, - get C179() { - return C[179] = dart.const({ + get C188() { + return C[188] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 0 }); }, - get C180() { - return C[180] = dart.const({ + get C189() { + return C[189] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 1 }); }, - get C181() { - return C[181] = dart.const({ + get C190() { + return C[190] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 2 }); }, - get C182() { - return C[182] = dart.const({ + get C191() { + return C[191] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: -1 }); }, - get C183() { - return C[183] = dart.const({ + get C192() { + return C[192] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 0 }); }, - get C184() { - return C[184] = dart.const({ + get C193() { + return C[193] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 1 }); }, - get C185() { - return C[185] = dart.const({ + get C194() { + return C[194] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 2 }); }, - get C186() { - return C[186] = dart.const({ + get C195() { + return C[195] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 0 }); }, - get C187() { - return C[187] = dart.const({ + get C196() { + return C[196] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 1 }); }, - get C188() { - return C[188] = dart.const({ + get C197() { + return C[197] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 2 }); }, - get C189() { - return C[189] = dart.const({ + get C198() { + return C[198] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 3 }); }, - get C190() { - return C[190] = dart.const({ + get C199() { + return C[199] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 4 }); }, - get C191() { - return C[191] = dart.const({ + get C201() { + return C[201] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.SOL_SOCKET", - index: 0 + [_Enum__name]: "SOL_SOCKET", + [_Enum_index]: 0 }); }, - get C192() { - return C[192] = dart.const({ + get C202() { + return C[202] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IP", - index: 1 + [_Enum__name]: "IPPROTO_IP", + [_Enum_index]: 1 }); }, - get C193() { - return C[193] = dart.const({ + get C203() { + return C[203] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", - index: 2 + [_Enum__name]: "IP_MULTICAST_IF", + [_Enum_index]: 2 }); }, - get C194() { - return C[194] = dart.const({ + get C204() { + return C[204] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", - index: 3 + [_Enum__name]: "IPPROTO_IPV6", + [_Enum_index]: 3 }); }, - get C195() { - return C[195] = dart.const({ + get C205() { + return C[205] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", - index: 4 + [_Enum__name]: "IPV6_MULTICAST_IF", + [_Enum_index]: 4 }); }, - get C196() { - return C[196] = dart.const({ + get C206() { + return C[206] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_TCP", - index: 5 + [_Enum__name]: "IPPROTO_TCP", + [_Enum_index]: 5 }); }, - get C197() { - return C[197] = dart.const({ + get C207() { + return C[207] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_UDP", - index: 6 + [_Enum__name]: "IPPROTO_UDP", + [_Enum_index]: 6 }); }, - get C198() { - return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + get C200() { + return C[200] = dart.constList([C[201] || CT.C201, C[202] || CT.C202, C[203] || CT.C203, C[204] || CT.C204, C[205] || CT.C205, C[206] || CT.C206, C[207] || CT.C207], T$0._RawSocketOptionsL()); }, - get C199() { - return C[199] = dart.const({ + get C208() { + return C[208] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "terminal" }); }, - get C200() { - return C[200] = dart.const({ + get C209() { + return C[209] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "pipe" }); }, - get C201() { - return C[201] = dart.const({ + get C210() { + return C[210] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "file" }); }, - get C202() { - return C[202] = dart.const({ + get C211() { + return C[211] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "other" }); }, - get C203() { - return C[203] = dart.const({ + get C212() { + return C[212] = dart.const({ __proto__: io._WindowsCodePageEncoder.prototype }); }, - get C204() { - return C[204] = dart.const({ + get C213() { + return C[213] = dart.const({ __proto__: io._WindowsCodePageDecoder.prototype }); }, - get C205() { - return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + get C214() { + return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); }, - get C206() { - return C[206] = dart.const({ + get C215() { + return C[215] = dart.const({ __proto__: io.ZLibCodec.prototype, [dictionary$]: null, [raw$]: false, @@ -8703,8 +9431,8 @@ dart.defineLazy(CT, { [gzip$]: false }); }, - get C207() { - return C[207] = dart.const({ + get C216() { + return C[216] = dart.const({ __proto__: io.GZipCodec.prototype, [raw$0]: false, [dictionary$0]: null, @@ -8715,1394 +9443,1406 @@ dart.defineLazy(CT, { [gzip$0]: true }); }, - get C208() { - return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + get C217() { + return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); }, - get C209() { - return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + get C218() { + return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); }, - get C210() { - return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + get C219() { + return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); }, - get C211() { - return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + get C220() { + return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); }, - get C212() { - return C[212] = dart.const({ + get C221() { + return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C222() { + return C[222] = dart.const({ __proto__: math._JSRandom.prototype }); }, - get C213() { - return C[213] = dart.const({ + get C223() { + return C[223] = dart.const({ __proto__: typed_data.Endian.prototype, [Endian__littleEndian]: true }); }, - get C214() { - return C[214] = dart.const({ + get C224() { + return C[224] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "abort" }); }, - get C215() { - return C[215] = dart.const({ + get C225() { + return C[225] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "close" }); }, - get C216() { - return C[216] = dart.const({ + get C226() { + return C[226] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "error" }); }, - get C217() { - return C[217] = dart.const({ + get C227() { + return C[227] = dart.const({ __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, [S.EventStreamProvider__eventType]: "versionchange" }); }, - get C218() { - return C[218] = dart.const({ + get C228() { + return C[228] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "success" }); }, - get C219() { - return C[219] = dart.const({ + get C229() { + return C[229] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "blocked" }); }, - get C220() { - return C[220] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C221() { - return C[221] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C222() { - return C[222] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "JSExtendableArray|=Object|num|String" - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C224() { - return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); - }, - get C226() { - return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 - }); - }, - get C228() { - return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 - }); - }, - get C229() { - return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); - }, get C230() { return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" }); }, get C231() { return C[231] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" + [S.EventStreamProvider__eventType]: "complete" }); }, get C232() { return C[232] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" + __proto__: _js_helper.Creates.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" }); }, get C233() { return C[233] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" + __proto__: _js_helper.Returns.prototype, + [types$2]: "JSExtendableArray|=Object|num|String" }); }, get C234() { - return C[234] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); + return C[234] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C236() { + return C[236] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); }, get C235() { return C[235] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 }); }, - get C236() { - return C[236] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); + get C238() { + return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); }, get C237() { return C[237] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C238() { - return C[238] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 }); }, get C239() { - return C[239] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); + return C[239] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); }, get C240() { return C[240] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" }); }, get C241() { return C[241] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" + [S.EventStreamProvider__eventType]: "beforecut" }); }, get C242() { return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" }); }, get C243() { return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" }); }, get C244() { return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" }); }, get C245() { return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" }); }, get C246() { return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" }); }, get C247() { return C[247] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" + [S.EventStreamProvider__eventType]: "click" }); }, get C248() { return C[248] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" + [S.EventStreamProvider__eventType]: "contextmenu" }); }, get C249() { return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" }); }, get C250() { return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" }); }, get C251() { return C[251] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" + [S.EventStreamProvider__eventType]: "dblclick" }); }, get C252() { return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" }); }, get C253() { return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" }); }, get C254() { return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" }); }, get C255() { return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" }); }, get C256() { return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" }); }, get C257() { return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" }); }, get C258() { return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" }); }, get C259() { return C[259] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" + [S.EventStreamProvider__eventType]: "durationchange" }); }, get C260() { return C[260] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" + [S.EventStreamProvider__eventType]: "emptied" }); }, get C261() { return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" }); }, get C262() { return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" }); }, get C263() { return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" }); }, get C264() { return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" }); }, get C265() { return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" }); }, get C266() { return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" }); }, get C267() { return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" }); }, get C268() { return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" }); }, get C269() { return C[269] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" + [S.EventStreamProvider__eventType]: "loadeddata" }); }, get C270() { return C[270] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" + [S.EventStreamProvider__eventType]: "loadedmetadata" }); }, get C271() { return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" }); }, get C272() { return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" }); }, get C273() { return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" }); }, get C274() { return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" }); }, get C275() { return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" }); }, get C276() { return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" }); }, get C277() { return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" }); }, get C278() { return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" }); }, get C279() { return C[279] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" + [S.EventStreamProvider__eventType]: "pause" }); }, get C280() { return C[280] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" + [S.EventStreamProvider__eventType]: "play" }); }, get C281() { return C[281] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" + [S.EventStreamProvider__eventType]: "playing" }); }, get C282() { return C[282] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" + [S.EventStreamProvider__eventType]: "ratechange" }); }, get C283() { return C[283] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" + [S.EventStreamProvider__eventType]: "reset" }); }, get C284() { return C[284] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" + [S.EventStreamProvider__eventType]: "resize" }); }, get C285() { return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" }); }, get C286() { return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" }); }, get C287() { return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" }); }, get C288() { return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" }); }, get C289() { return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" }); }, get C290() { return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" }); }, get C291() { return C[291] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" + [S.EventStreamProvider__eventType]: "stalled" }); }, get C292() { return C[292] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" + [S.EventStreamProvider__eventType]: "submit" }); }, get C293() { return C[293] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + [S.EventStreamProvider__eventType]: "suspend" }); }, get C294() { return C[294] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + [S.EventStreamProvider__eventType]: "timeupdate" }); }, get C295() { return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" }); }, get C296() { return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" }); }, get C297() { return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" }); }, get C298() { return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" }); }, get C299() { return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" }); }, get C300() { return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" }); }, get C301() { return C[301] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + [S.EventStreamProvider__eventType]: "volumechange" }); }, get C302() { return C[302] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" + [S.EventStreamProvider__eventType]: "waiting" }); }, get C303() { return C[303] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" }); }, get C304() { return C[304] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" }); }, get C305() { return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" }); }, get C306() { return C[306] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" + [S.EventStreamProvider__eventType]: "accessibleclick" }); }, get C307() { return C[307] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" }); }, get C308() { return C[308] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" + [S.EventStreamProvider__eventType]: "accessibledecrement" }); }, get C309() { return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" }); }, get C310() { return C[310] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" + [S.EventStreamProvider__eventType]: "accessibleincrement" }); }, get C311() { return C[311] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" }); }, get C312() { return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" }); }, get C313() { return C[313] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" + [S.EventStreamProvider__eventType]: "finish" }); }, get C314() { return C[314] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" + [S.EventStreamProvider__eventType]: "cached" }); }, get C315() { return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" }); }, get C316() { return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" }); }, get C317() { return C[317] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" + [S.EventStreamProvider__eventType]: "noupdate" }); }, get C318() { return C[318] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" + [S.EventStreamProvider__eventType]: "obsolete" }); }, get C319() { return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" }); }, get C320() { return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" }); }, get C321() { return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" }); }, get C322() { return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" }); }, get C323() { return C[323] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" + [S.EventStreamProvider__eventType]: "offline" }); }, get C324() { return C[324] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" + [S.EventStreamProvider__eventType]: "online" }); }, get C325() { return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" }); }, get C326() { return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" }); }, get C327() { return C[327] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" }); }, get C328() { return C[328] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" }); }, get C329() { return C[329] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" }); }, get C330() { return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" }); }, get C331() { return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" }); }, get C332() { return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" }); }, get C333() { return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" }); }, get C334() { return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" }); }, get C335() { return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" }); }, get C336() { return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" }); }, get C337() { return C[337] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" }); }, get C338() { return C[338] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" }); }, get C339() { return C[339] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" }); }, get C340() { return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" }); }, get C341() { return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" }); }, get C342() { return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "mousewheel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, - get C344() { - return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); - }, get C343() { return C[343] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C344() { + return C[344] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" }); }, get C345() { return C[345] = dart.const({ __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" + [S.EventStreamProvider__eventType]: "loadstart" }); }, get C346() { return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" }); }, get C347() { return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" }); }, get C348() { - return C[348] = dart.constList([], T$0.MessagePortL()); + return C[348] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); }, get C349() { return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" }); }, get C350() { - return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + return C[350] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); }, get C351() { return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" }); }, get C352() { return C[352] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" }); }, + get C354() { + return C[354] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, get C353() { return C[353] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C354() { - return C[354] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 }); }, get C355() { return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" }); }, get C356() { return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C357() { return C[357] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + [S.EventStreamProvider__eventType]: "removetrack" }); }, get C358() { - return C[358] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); + return C[358] = dart.constList([], T$0.MessagePortL()); }, get C359() { return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" }); }, get C360() { - return C[360] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); + return C[360] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); }, get C361() { return C[361] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" }); }, get C362() { return C[362] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" + [S.EventStreamProvider__eventType]: "show" }); }, get C363() { return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" }); }, get C364() { return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" }); }, get C365() { return C[365] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" + [S.EventStreamProvider__eventType]: "connectionstatechange" }); }, get C366() { return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" }); }, get C367() { return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" }); }, get C368() { return C[368] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" }); }, get C369() { return C[369] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + [S.EventStreamProvider__eventType]: "negotiationneeded" }); }, get C370() { return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" }); }, get C371() { return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" }); }, get C372() { return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" }); }, get C373() { return C[373] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" + [S.EventStreamProvider__eventType]: "activate" }); }, get C374() { return C[374] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" + [S.EventStreamProvider__eventType]: "fetch" }); }, get C375() { return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" }); }, get C376() { return C[376] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" + [S.EventStreamProvider__eventType]: "install" }); }, get C377() { return C[377] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + [S.EventStreamProvider__eventType]: "connect" }); }, get C378() { return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" }); }, get C379() { return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" }); }, get C380() { return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C381() { return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, get C382() { return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" }); }, get C383() { return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" }); }, get C384() { return C[384] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" + [S.EventStreamProvider__eventType]: "soundend" }); }, get C385() { return C[385] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" + [S.EventStreamProvider__eventType]: "soundstart" }); }, get C386() { return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" }); }, get C387() { return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" }); }, get C388() { return C[388] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" + [S.EventStreamProvider__eventType]: "start" }); }, get C389() { return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" }); }, get C390() { return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C391() { return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" }); }, get C392() { return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" }); }, get C393() { return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" }); }, get C394() { return C[394] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + [S.EventStreamProvider__eventType]: "cuechange" }); }, get C395() { return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" }); }, get C396() { return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" }); }, get C397() { return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C398() { return C[398] = dart.const({ - __proto__: html$._BeforeUnloadEventStreamProvider.prototype, - [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" }); }, get C399() { - return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[399] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); }, get C400() { - return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[400] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); }, get C401() { - return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + return C[401] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); }, get C402() { - return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + return C[402] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); }, get C403() { - return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + return C[403] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); }, get C404() { - return C[404] = dart.constList([], T$.StringL()); + return C[404] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); }, get C405() { - return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + return C[405] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); }, get C406() { - return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + return C[406] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); }, get C407() { - return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + return C[407] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); }, get C408() { - return C[408] = dart.constList(["IMG"], T$.StringL()); + return C[408] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); }, get C409() { - return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + return C[409] = dart.const({ + __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, + [S.EventStreamProvider__eventType]: "beforeunload" + }); }, get C410() { - return C[410] = dart.constList(["IMG::src"], T$.StringL()); + return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C411() { - return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C412() { - return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + return C[412] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); }, get C413() { - return C[413] = dart.const({ - __proto__: html$.Console.prototype - }); + return C[413] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); }, get C414() { - return C[414] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); + return C[414] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); }, get C415() { - return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + return C[415] = dart.constList([], T$.StringL()); }, get C416() { - return C[416] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[416] = dart.constList(["A", "FORM"], T$.StringL()); }, get C417() { - return C[417] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[417] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); }, get C418() { - return C[418] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); + return C[418] = dart.constList(["A::href", "FORM::action"], T$.StringL()); }, get C419() { - return C[419] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); + return C[419] = dart.constList(["IMG"], T$.StringL()); }, get C420() { - return C[420] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); + return C[420] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); }, get C421() { - return C[421] = dart.constList([], T$.ObjectN()); + return C[421] = dart.constList(["IMG::src"], T$.StringL()); }, get C422() { - return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + return C[422] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); }, get C423() { - return C[423] = dart.constList([], T$.ObjectL()); + return C[423] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); }, get C424() { - return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + return C[424] = dart.const({ + __proto__: html$.Console.prototype + }); }, get C425() { - return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + return C[425] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); }, get C426() { - return C[426] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); + return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); }, get C427() { - return C[427] = dart.const(new _internal.Symbol.new('unary-')); + return C[427] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C428() { - return C[428] = dart.const(new _internal.Symbol.new('')); + return C[428] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C429() { - return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + return C[429] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); }, get C430() { - return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + return C[430] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); }, get C431() { - return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + return C[431] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); }, get C432() { - return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + return C[432] = dart.constList([], T$.ObjectN()); }, get C433() { - return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); }, get C434() { - return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[434] = dart.constList([], T$.ObjectL()); }, get C435() { - return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); }, get C436() { - return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); }, get C437() { - return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + return C[437] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); }, get C438() { - return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + return C[438] = dart.const(new _internal.Symbol.new('unary-')); }, get C439() { - return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + return C[439] = dart.const(new _internal.Symbol.new('')); }, get C440() { - return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); }, get C441() { - return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); }, get C442() { - return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); }, get C443() { - return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); }, get C444() { - return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C445() { - return C[445] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); + return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C446() { - return C[446] = dart.const({ - __proto__: core._Override.prototype - }); + return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C447() { - return C[447] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); + return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); }, get C448() { - return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); }, get C449() { - return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); }, get C450() { - return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); }, get C451() { - return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C452() { - return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C453() { - return C[453] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); + return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C454() { - return C[454] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.notCompressed", - index: 0 - }); + return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); }, get C455() { - return C[455] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.decompressed", - index: 1 - }); + return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); }, get C456() { - return C[456] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.compressed", - index: 2 - }); + return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C457() { - return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C458() { - return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + return C[458] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); }, get C459() { - return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + return C[459] = dart.const({ + __proto__: core._Override.prototype + }); }, get C460() { - return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + return C[460] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); }, get C461() { - return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + return C[461] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); }, get C462() { - return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + return C[462] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); }, get C463() { - return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + return C[463] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); }, get C464() { - return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + return C[464] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); }, get C465() { - return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + return C[465] = dart.constMap(T$.StringL(), T$.StringN(), []); }, get C466() { return C[466] = dart.const({ - __proto__: _http._ToUint8List.prototype + __proto__: core.Duration.prototype, + [_duration$]: 15000000 }); }, - get C467() { - return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); - }, get C468() { - return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + return C[468] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "notCompressed", + [_Enum_index]: 0 + }); }, get C469() { - return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + return C[469] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "decompressed", + [_Enum_index]: 1 + }); }, get C470() { - return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + return C[470] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "compressed", + [_Enum_index]: 2 + }); + }, + get C467() { + return C[467] = dart.constList([C[468] || CT.C468, C[469] || CT.C469, C[470] || CT.C470], T$0.HttpClientResponseCompressionStateL()); }, get C471() { - return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + return C[471] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); }, get C472() { - return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + return C[472] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); }, get C473() { - return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + return C[473] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); }, get C474() { - return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + return C[474] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C475() { + return C[475] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C476() { + return C[476] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); }, get C477() { - return C[477] = dart.const({ + return C[477] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C479() { + return C[479] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C480() { + return C[480] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C481() { + return C[481] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C482() { + return C[482] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C483() { + return C[483] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C486() { + return C[486] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T$1.Uri__ToString()); + }, + get C489() { + return C[489] = dart.const({ __proto__: _http._Proxy.prototype, [_Proxy_isDirect]: true, [_Proxy_password]: null, @@ -10111,50 +10851,56 @@ dart.defineLazy(CT, { [_Proxy_host]: null }); }, - get C476() { - return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + get C488() { + return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); }, - get C475() { - return C[475] = dart.const({ + get C487() { + return C[487] = dart.const({ __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[476] || CT.C476 + [_ProxyConfiguration_proxies]: C[488] || CT.C488 }); }, - get C478() { - return C[478] = dart.const({ + get C490() { + return C[490] = dart.constList(["authorization", "www-authenticate", "cookie", "cookie2"], T$.StringL()); + }, + get C491() { + return C[491] = dart.const(new _js_helper.PrivateSymbol.new('_detachRaw', _detachRaw$)); + }, + get C492() { + return C[492] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: -1 }); }, - get C479() { - return C[479] = dart.const({ + get C493() { + return C[493] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 0 }); }, - get C480() { - return C[480] = dart.const({ + get C494() { + return C[494] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 1 }); }, - get C481() { - return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + get C495() { + return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); }, - get C482() { - return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + get C496() { + return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); }, - get C483() { - return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + get C497() { + return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); }, - get C484() { - return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + get C498() { + return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); }, - get C485() { - return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + get C499() { + return C[499] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); }, - get C486() { - return C[486] = dart.const({ + get C500() { + return C[500] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: true, [serverMaxWindowBits$]: null, @@ -10163,8 +10909,8 @@ dart.defineLazy(CT, { [clientNoContextTakeover$]: false }); }, - get C487() { - return C[487] = dart.const({ + get C501() { + return C[501] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: false, [serverMaxWindowBits$]: null, @@ -10173,11 +10919,11 @@ dart.defineLazy(CT, { [clientNoContextTakeover$]: false }); }, - get C488() { - return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + get C502() { + return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); }, - get C489() { - return C[489] = dart.const({ + get C503() { + return C[503] = dart.const({ __proto__: core.Duration.prototype, [_duration$]: 5000000 }); @@ -10185,15 +10931,31 @@ dart.defineLazy(CT, { }, false); core.Invocation = class Invocation extends core.Object { static method(memberName, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); } + static ['_#method#tearOff'](memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); + return core.Invocation.method(memberName, positionalArguments, namedArguments); + } static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); } + static ['_#genericMethod#tearOff'](memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); + return core.Invocation.genericMethod(memberName, typeArguments, positionalArguments, namedArguments); + } + static ['_#getter#tearOff'](name) { + if (name == null) dart.nullFailed(I[11], 41, 36, "name"); + return new core._Invocation.getter(name); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 52, 36, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get typeArguments() { - return C[0] || CT.C0; + return C[1] || CT.C1; } get isAccessor() { return dart.test(this.isGetter) || dart.test(this.isSetter); @@ -10204,12 +10966,14 @@ core.Invocation = class Invocation extends core.Object { }).prototype = core.Invocation.prototype; dart.addTypeTests(core.Invocation); dart.addTypeCaches(core.Invocation); +dart.setStaticMethodSignature(core.Invocation, () => ['method', 'genericMethod', 'getter', 'setter']); dart.setGetterSignature(core.Invocation, () => ({ __proto__: dart.getGetters(core.Invocation.__proto__), typeArguments: core.List$(core.Type), isAccessor: core.bool })); -dart.setLibraryUri(core.Invocation, I[8]); +dart.setLibraryUri(core.Invocation, I[9]); +dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); dart.InvocationImpl = class InvocationImpl extends core.Invocation { get memberName() { return this[memberName$]; @@ -10259,6 +11023,21 @@ dart.InvocationImpl = class InvocationImpl extends core.Invocation { set failureMessage(value) { super.failureMessage = value; } + static ['_#new#tearOff'](memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + return new dart.InvocationImpl.new(memberName, positionalArguments, {namedArguments: namedArguments, typeArguments: typeArguments, isMethod: isMethod, isGetter: isGetter, isSetter: isSetter, failureMessage: failureMessage}); + } static _namedArgsToSymbols(namedArgs) { if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { @@ -10293,7 +11072,8 @@ dart.InvocationImpl = class InvocationImpl extends core.Invocation { }).prototype = dart.InvocationImpl.prototype; dart.addTypeTests(dart.InvocationImpl); dart.addTypeCaches(dart.InvocationImpl); -dart.setLibraryUri(dart.InvocationImpl, I[9]); +dart.setStaticMethodSignature(dart.InvocationImpl, () => ['_namedArgsToSymbols']); +dart.setLibraryUri(dart.InvocationImpl, I[10]); dart.setFieldSignature(dart.InvocationImpl, () => ({ __proto__: dart.getFields(dart.InvocationImpl.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -10305,6 +11085,14 @@ dart.setFieldSignature(dart.InvocationImpl, () => ({ isSetter: dart.finalFieldType(core.bool), failureMessage: dart.finalFieldType(core.String) })); +dart.copyProperties(_dart2js_runtime_metrics, { + get runtimeMetrics() { + return dart.throw(new core.UnimplementedError.new()); + }, + get startupMetrics() { + return dart.throw(new core.UnimplementedError.new()); + } +}); var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { get name() { @@ -10313,41 +11101,46 @@ _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); + return new _debugger.JsonMLConfig.new(name); + } toString() { return "JsonMLConfig(" + dart.str(this.name) + ")"; } }; (_debugger.JsonMLConfig.new = function(name) { - if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); this[name$0] = name; ; }).prototype = _debugger.JsonMLConfig.prototype; dart.addTypeTests(_debugger.JsonMLConfig); dart.addTypeCaches(_debugger.JsonMLConfig); -dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); +dart.setLibraryUri(_debugger.JsonMLConfig, I[13]); dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), name: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(_debugger.JsonMLConfig, () => ['none', 'skipDart', 'keyToString', 'asClass', 'asObject', 'asMap']); dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); dart.defineLazy(_debugger.JsonMLConfig, { /*_debugger.JsonMLConfig.none*/get none() { - return C[1] || CT.C1; + return C[2] || CT.C2; }, /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[2] || CT.C2; + return C[3] || CT.C3; }, /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[3] || CT.C3; + return C[4] || CT.C4; }, /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[4] || CT.C4; + return C[5] || CT.C5; }, /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[5] || CT.C5; + return C[6] || CT.C6; }, /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[6] || CT.C6; + return C[7] || CT.C7; } }, false); _debugger.JSNative = class JSNative extends core.Object { @@ -10357,13 +11150,17 @@ _debugger.JSNative = class JSNative extends core.Object { static setProperty(object, name, value) { return object[name] = value; } + static ['_#new#tearOff']() { + return new _debugger.JSNative.new(); + } }; (_debugger.JSNative.new = function() { ; }).prototype = _debugger.JSNative.prototype; dart.addTypeTests(_debugger.JSNative); dart.addTypeCaches(_debugger.JSNative); -dart.setLibraryUri(_debugger.JSNative, I[12]); +dart.setStaticMethodSignature(_debugger.JSNative, () => ['getProperty', 'setProperty']); +dart.setLibraryUri(_debugger.JSNative, I[13]); var name$1 = dart.privateName(_debugger, "NameValuePair.name"); var value$ = dart.privateName(_debugger, "NameValuePair.value"); var config$ = dart.privateName(_debugger, "NameValuePair.config"); @@ -10393,6 +11190,16 @@ _debugger.NameValuePair = class NameValuePair extends core.Object { set hideName(value) { super.hideName = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); + return new _debugger.NameValuePair.new({name: name, value: value, config: config, hideName: hideName}); + } _equals(other) { if (other == null) return false; if (!_debugger.NameValuePair.is(other)) return false; @@ -10408,12 +11215,12 @@ _debugger.NameValuePair = class NameValuePair extends core.Object { }; (_debugger.NameValuePair.new = function(opts) { let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); let value = opts && 'value' in opts ? opts.value : null; - let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; - if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); let hideName = opts && 'hideName' in opts ? opts.hideName : false; - if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); this[name$1] = name; this[value$] = value; this[config$] = config; @@ -10426,7 +11233,7 @@ dart.setGetterSignature(_debugger.NameValuePair, () => ({ __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), displayName: core.String })); -dart.setLibraryUri(_debugger.NameValuePair, I[12]); +dart.setLibraryUri(_debugger.NameValuePair, I[13]); dart.setFieldSignature(_debugger.NameValuePair, () => ({ __proto__: dart.getFields(_debugger.NameValuePair.__proto__), name: dart.finalFieldType(core.String), @@ -10451,6 +11258,11 @@ _debugger.MapEntry = class MapEntry extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return new _debugger.MapEntry.new({key: key, value: value}); + } }; (_debugger.MapEntry.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; @@ -10461,7 +11273,7 @@ _debugger.MapEntry = class MapEntry extends core.Object { }).prototype = _debugger.MapEntry.prototype; dart.addTypeTests(_debugger.MapEntry); dart.addTypeCaches(_debugger.MapEntry); -dart.setLibraryUri(_debugger.MapEntry, I[12]); +dart.setLibraryUri(_debugger.MapEntry, I[13]); dart.setFieldSignature(_debugger.MapEntry, () => ({ __proto__: dart.getFields(_debugger.MapEntry.__proto__), key: dart.finalFieldType(dart.nullable(core.Object)), @@ -10489,6 +11301,12 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { set iterable(value) { super.iterable = value; } + static ['_#new#tearOff'](start, end, iterable) { + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); + return new _debugger.IterableSpan.new(start, end, iterable); + } get length() { return dart.notNull(this.end) - dart.notNull(this.start); } @@ -10505,7 +11323,7 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { let children = T$.JSArrayOfNameValuePair().of([]); if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { this.asMap()[$forEach](dart.fn((i, element) => { - if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + if (i == null) dart.nullFailed(I[12], 225, 24, "i"); children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); }, T$.intAnddynamicTovoid())); } else { @@ -10522,9 +11340,9 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { } }; (_debugger.IterableSpan.new = function(start, end, iterable) { - if (start == null) dart.nullFailed(I[11], 203, 21, "start"); - if (end == null) dart.nullFailed(I[11], 203, 33, "end"); - if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); this[start$] = start; this[end$] = end; this[iterable$] = iterable; @@ -10543,7 +11361,7 @@ dart.setGetterSignature(_debugger.IterableSpan, () => ({ maxPowerOfSubsetSize: core.int, subsetSize: core.int })); -dart.setLibraryUri(_debugger.IterableSpan, I[12]); +dart.setLibraryUri(_debugger.IterableSpan, I[13]); dart.setFieldSignature(_debugger.IterableSpan, () => ({ __proto__: dart.getFields(_debugger.IterableSpan.__proto__), start: dart.finalFieldType(core.int), @@ -10565,17 +11383,22 @@ _debugger.Library = class Library extends core.Object { set object(value) { super.object = value; } + static ['_#new#tearOff'](name, object) { + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); + return new _debugger.Library.new(name, object); + } }; (_debugger.Library.new = function(name, object) { - if (name == null) dart.nullFailed(I[11], 248, 16, "name"); - if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); this[name$2] = name; this[object$] = object; ; }).prototype = _debugger.Library.prototype; dart.addTypeTests(_debugger.Library); dart.addTypeCaches(_debugger.Library); -dart.setLibraryUri(_debugger.Library, I[12]); +dart.setLibraryUri(_debugger.Library, I[13]); dart.setFieldSignature(_debugger.Library, () => ({ __proto__: dart.getFields(_debugger.Library.__proto__), name: dart.finalFieldType(core.String), @@ -10589,21 +11412,25 @@ _debugger.NamedConstructor = class NamedConstructor extends core.Object { set object(value) { super.object = value; } + static ['_#new#tearOff'](object) { + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); + return new _debugger.NamedConstructor.new(object); + } }; (_debugger.NamedConstructor.new = function(object) { - if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); this[object$0] = object; ; }).prototype = _debugger.NamedConstructor.prototype; dart.addTypeTests(_debugger.NamedConstructor); dart.addTypeCaches(_debugger.NamedConstructor); -dart.setLibraryUri(_debugger.NamedConstructor, I[12]); +dart.setLibraryUri(_debugger.NamedConstructor, I[13]); dart.setFieldSignature(_debugger.NamedConstructor, () => ({ __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), object: dart.finalFieldType(core.Object) })); var name$3 = dart.privateName(_debugger, "HeritageClause.name"); -var types$ = dart.privateName(_debugger, "HeritageClause.types"); +var types$0 = dart.privateName(_debugger, "HeritageClause.types"); _debugger.HeritageClause = class HeritageClause extends core.Object { get name() { return this[name$3]; @@ -10612,22 +11439,27 @@ _debugger.HeritageClause = class HeritageClause extends core.Object { super.name = value; } get types() { - return this[types$]; + return this[types$0]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](name, types) { + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); + return new _debugger.HeritageClause.new(name, types); + } }; (_debugger.HeritageClause.new = function(name, types) { - if (name == null) dart.nullFailed(I[11], 261, 23, "name"); - if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); this[name$3] = name; - this[types$] = types; + this[types$0] = types; ; }).prototype = _debugger.HeritageClause.prototype; dart.addTypeTests(_debugger.HeritageClause); dart.addTypeCaches(_debugger.HeritageClause); -dart.setLibraryUri(_debugger.HeritageClause, I[12]); +dart.setLibraryUri(_debugger.HeritageClause, I[13]); dart.setFieldSignature(_debugger.HeritageClause, () => ({ __proto__: dart.getFields(_debugger.HeritageClause.__proto__), name: dart.finalFieldType(core.String), @@ -10639,50 +11471,53 @@ var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement var _jsonML = dart.privateName(_debugger, "_jsonML"); _debugger.JsonMLElement = class JsonMLElement extends core.Object { get [_jsonML]() { - let t8; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + let t4; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); } - set [_jsonML](t8) { - if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + set [_jsonML](_jsonML$35param) { + if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); this[__JsonMLElement__jsonML_isSet] = true; - this[__JsonMLElement__jsonML] = t8; + this[__JsonMLElement__jsonML] = _jsonML$35param; + } + static ['_#new#tearOff'](tagName) { + return new _debugger.JsonMLElement.new(tagName); } appendChild(element) { this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); } createChild(tagName) { - if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + if (tagName == null) dart.nullFailed(I[12], 296, 36, "tagName"); let c = new _debugger.JsonMLElement.new(tagName); this[_jsonML][$add](c.toJsonML()); return c; } createObjectTag(object) { - let t9; - t9 = this.createChild("object"); + let t4; + t4 = this.createChild("object"); return (() => { - t9.addAttribute("object", object); - return t9; + t4.addAttribute("object", object); + return t4; })(); } setStyle(style) { - if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + if (style == null) dart.nullFailed(I[12], 305, 24, "style"); dart.dput(this[_attributes], 'style', style); } addStyle(style) { - let t9; - if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + let t4; + if (style == null) dart.nullFailed(I[12], 309, 19, "style"); if (dart.dload(this[_attributes], 'style') == null) { dart.dput(this[_attributes], 'style', style); } else { - t9 = this[_attributes]; - dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + t4 = this[_attributes]; + dart.dput(t4, 'style', dart.dsend(dart.dload(t4, 'style'), '+', [style])); } } addAttribute(key, value) { _debugger.JSNative.setProperty(this[_attributes], key, value); } createTextChild(text) { - if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + if (text == null) dart.nullFailed(I[12], 321, 26, "text"); this[_jsonML][$add](text); } toJsonML() { @@ -10717,7 +11552,7 @@ dart.setSetterSignature(_debugger.JsonMLElement, () => ({ __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), [_jsonML]: core.List })); -dart.setLibraryUri(_debugger.JsonMLElement, I[12]); +dart.setLibraryUri(_debugger.JsonMLElement, I[13]); dart.setFieldSignature(_debugger.JsonMLElement, () => ({ __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), [_attributes]: dart.fieldType(dart.dynamic), @@ -10731,14 +11566,19 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { return this[customFormattersOn]; } set customFormattersOn(value) { + if (value == null) dart.nullFailed(I[12], 359, 8, "customFormattersOn"); this[customFormattersOn] = value; } + static ['_#new#tearOff'](_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); + return new _debugger.JsonMLFormatter.new(_simpleFormatter); + } setMaxSpanLengthForTestingOnly(spanLength) { - if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + if (spanLength == null) dart.nullFailed(I[12], 363, 43, "spanLength"); _debugger._maxSpanLength = spanLength; } header(object, config) { - let t9; + let t4; this.customFormattersOn = true; if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { return null; @@ -10748,10 +11588,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { c = dart.toString(object); } - let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { - t9.setStyle("background-color: #d9edf7;color: black"); - t9.createTextChild(c); - return t9; + let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { + t4.setStyle("background-color: #d9edf7;color: black"); + t4.createTextChild(c); + return t4; })()); return element.toJsonML(); } @@ -10759,10 +11599,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { return this[_simpleFormatter$].hasChildren(object, config); } body(object, config) { - let t9, t9$, t9$0, t9$1, t9$2; - let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { - t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); - return t9; + let t4, t4$, t4$0, t4$1, t4$2; + let body = (t4 = new _debugger.JsonMLElement.new("ol"), (() => { + t4.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t4; })()); if (core.StackTrace.is(object)) { body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); @@ -10775,22 +11615,22 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { let nameSpan = null; let valueStyle = ""; if (!dart.test(child.hideName)) { - nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { - t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); - t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); - return t9$; + nameSpan = (t4$ = new _debugger.JsonMLElement.new("span"), (() => { + t4$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t4$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t4$; })()); valueStyle = "margin-left: 13px"; } if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { - let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { - t9$0.setStyle(valueStyle); - return t9$0; + let valueSpan = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { + t4$0.setStyle(valueStyle); + return t4$0; })()); - t9$1 = valueSpan.createObjectTag(child.value); + t4$1 = valueSpan.createObjectTag(child.value); (() => { - t9$1.addAttribute("config", child.config); - return t9$1; + t4$1.addAttribute("config", child.config); + return t4$1; })(); if (nameSpan != null) { li.appendChild(nameSpan); @@ -10801,10 +11641,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { if (nameSpan != null) { line.appendChild(nameSpan); } - line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { - t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); - t9$2.setStyle(valueStyle); - return t9$2; + line.appendChild((t4$2 = new _debugger.JsonMLElement.new("span"), (() => { + t4$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t4$2.setStyle(valueStyle); + return t4$2; })())); } } @@ -10812,7 +11652,7 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { } }; (_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); this[customFormattersOn] = false; this[_simpleFormatter$] = _simpleFormatter; ; @@ -10826,7 +11666,7 @@ dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) })); -dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); +dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), @@ -10838,10 +11678,13 @@ _debugger.Formatter = class Formatter extends core.Object {}; }).prototype = _debugger.Formatter.prototype; dart.addTypeTests(_debugger.Formatter); dart.addTypeCaches(_debugger.Formatter); -dart.setLibraryUri(_debugger.Formatter, I[12]); +dart.setLibraryUri(_debugger.Formatter, I[13]); var _formatters = dart.privateName(_debugger, "_formatters"); var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); _debugger.DartFormatter = class DartFormatter extends core.Object { + static ['_#new#tearOff']() { + return new _debugger.DartFormatter.new(); + } preview(object, config) { try { if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { @@ -10894,7 +11737,7 @@ _debugger.DartFormatter = class DartFormatter extends core.Object { return T$.JSArrayOfNameValuePair().of([]); } [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + if (message == null) dart.nullFailed(I[12], 523, 34, "message"); return window.console.error(message); } }; @@ -10911,7 +11754,7 @@ dart.setMethodSignature(_debugger.DartFormatter, () => ({ children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), [_printConsoleError]: dart.fnType(dart.void, [core.String]) })); -dart.setLibraryUri(_debugger.DartFormatter, I[12]); +dart.setLibraryUri(_debugger.DartFormatter, I[13]); dart.setFieldSignature(_debugger.DartFormatter, () => ({ __proto__: dart.getFields(_debugger.DartFormatter.__proto__), [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) @@ -10955,6 +11798,9 @@ _debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { _debugger.addMetadataChildren(object, ret); return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ObjectFormatter.new(); + } }; (_debugger.ObjectFormatter.new = function() { ; @@ -10968,7 +11814,7 @@ dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); +dart.setLibraryUri(_debugger.ObjectFormatter, I[13]); _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { accept(object, config) { return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); @@ -10976,13 +11822,16 @@ _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _deb preview(object) { return _debugger.getObjectTypeName(object); } + static ['_#new#tearOff']() { + return new _debugger.ObjectInternalsFormatter.new(); + } }; (_debugger.ObjectInternalsFormatter.new = function() { ; }).prototype = _debugger.ObjectInternalsFormatter.prototype; dart.addTypeTests(_debugger.ObjectInternalsFormatter); dart.addTypeCaches(_debugger.ObjectInternalsFormatter); -dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); +dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[13]); _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { accept(object, config) { return dart.getModuleName(core.Object.as(object)) != null; @@ -11005,6 +11854,9 @@ _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Obj } return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.LibraryModuleFormatter.new(); + } }; (_debugger.LibraryModuleFormatter.new = function() { ; @@ -11019,13 +11871,14 @@ dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); +dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[13]); var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { get genericParameters() { return this[genericParameters]; } set genericParameters(value) { + if (value == null) dart.nullFailed(I[12], 619, 7, "genericParameters"); this[genericParameters] = value; } accept(object, config) { @@ -11047,11 +11900,14 @@ _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { return children[$toList](); } classChild(name, child) { - if (name == null) dart.nullFailed(I[11], 644, 21, "name"); - if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + if (name == null) dart.nullFailed(I[12], 644, 21, "name"); + if (child == null) dart.nullFailed(I[12], 644, 34, "child"); let typeName = _debugger.getTypeName(child); return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); } + static ['_#new#tearOff']() { + return new _debugger.LibraryFormatter.new(); + } }; (_debugger.LibraryFormatter.new = function() { this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); @@ -11068,7 +11924,7 @@ dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) })); -dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); +dart.setLibraryUri(_debugger.LibraryFormatter, I[13]); dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) @@ -11095,6 +11951,9 @@ _debugger.FunctionFormatter = class FunctionFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.FunctionFormatter.new(); + } }; (_debugger.FunctionFormatter.new = function() { ; @@ -11109,7 +11968,7 @@ dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); +dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { accept(object, config) { return core.Map.is(object); @@ -11132,6 +11991,9 @@ _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); } + static ['_#new#tearOff']() { + return new _debugger.MapOverviewFormatter.new(); + } }; (_debugger.MapOverviewFormatter.new = function() { ; @@ -11146,7 +12008,7 @@ dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); +dart.setLibraryUri(_debugger.MapOverviewFormatter, I[13]); _debugger.MapFormatter = class MapFormatter extends core.Object { accept(object, config) { return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); @@ -11176,6 +12038,9 @@ _debugger.MapFormatter = class MapFormatter extends core.Object { _debugger.addMetadataChildren(object, entries); return entries[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.MapFormatter.new(); + } }; (_debugger.MapFormatter.new = function() { ; @@ -11190,7 +12055,7 @@ dart.setMethodSignature(_debugger.MapFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapFormatter, I[12]); +dart.setLibraryUri(_debugger.MapFormatter, I[13]); _debugger.IterableFormatter = class IterableFormatter extends core.Object { accept(object, config) { return core.Iterable.is(object); @@ -11217,6 +12082,9 @@ _debugger.IterableFormatter = class IterableFormatter extends core.Object { _debugger.addMetadataChildren(object, children); return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.IterableFormatter.new(); + } }; (_debugger.IterableFormatter.new = function() { ; @@ -11231,7 +12099,7 @@ dart.setMethodSignature(_debugger.IterableFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.IterableFormatter, I[12]); +dart.setLibraryUri(_debugger.IterableFormatter, I[13]); _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { accept(object, config) { return _debugger.NamedConstructor.is(object); @@ -11245,6 +12113,9 @@ _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends co children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.NamedConstructorFormatter.new(); + } }; (_debugger.NamedConstructorFormatter.new = function() { ; @@ -11259,7 +12130,7 @@ dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); +dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { accept(object, config) { return _debugger.MapEntry.is(object); @@ -11274,6 +12145,9 @@ _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); } + static ['_#new#tearOff']() { + return new _debugger.MapEntryFormatter.new(); + } }; (_debugger.MapEntryFormatter.new = function() { ; @@ -11288,14 +12162,14 @@ dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); +dart.setLibraryUri(_debugger.MapEntryFormatter, I[13]); _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { accept(object, config) { return _debugger.HeritageClause.is(object); } preview(object) { let clause = _debugger.HeritageClause.as(object); - let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + let typeNames = clause.types[$map](core.String, C[8] || CT.C8); return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); } hasChildren(object) { @@ -11309,6 +12183,9 @@ _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.O } return children; } + static ['_#new#tearOff']() { + return new _debugger.HeritageClauseFormatter.new(); + } }; (_debugger.HeritageClauseFormatter.new = function() { ; @@ -11323,7 +12200,7 @@ dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); +dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { accept(object, config) { return _debugger.IterableSpan.is(object); @@ -11337,6 +12214,9 @@ _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Objec children(object) { return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); } + static ['_#new#tearOff']() { + return new _debugger.IterableSpanFormatter.new(); + } }; (_debugger.IterableSpanFormatter.new = function() { ; @@ -11351,7 +12231,7 @@ dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); +dart.setLibraryUri(_debugger.IterableSpanFormatter, I[13]); _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { accept(object, config) { return core.Error.is(object) || core.Exception.is(object); @@ -11362,7 +12242,7 @@ _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends preview(object) { let trace = dart.stackTrace(object); let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { - if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + if (l == null) dart.nullFailed(I[12], 862, 10, "l"); return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); @@ -11376,9 +12256,12 @@ _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends return entries[$toList](); } addInstanceMembers(object, ret) { - if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + if (ret == null) dart.nullFailed(I[12], 880, 54, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); } + static ['_#new#tearOff']() { + return new _debugger.ErrorAndExceptionFormatter.new(); + } }; (_debugger.ErrorAndExceptionFormatter.new = function() { ; @@ -11390,7 +12273,8 @@ dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) })); -dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); +dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[13]); +dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { return core.RegExp.new("\\d+\\:\\d+"); @@ -11408,10 +12292,13 @@ _debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { } children(object) { return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { - if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + if (line == null) dart.nullFailed(I[12], 901, 13, "line"); return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); }, T$.StringToNameValuePair()))[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.StackTraceFormatter.new(); + } }; (_debugger.StackTraceFormatter.new = function() { ; @@ -11426,7 +12313,7 @@ dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); +dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); _debugger.ClassFormatter = class ClassFormatter extends core.Object { accept(object, config) { return dart.equals(config, _debugger.JsonMLConfig.asClass); @@ -11435,7 +12322,7 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { let $implements = dart.getImplements(type); let typeName = _debugger.getTypeName(type); if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + let typeNames = $implements()[$map](core.String, C[8] || CT.C8); return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); } else { return typeName; @@ -11445,30 +12332,16 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { return true; } children(type) { - let t17, t17$; + let t12; let ret = new (T$._HashSetOfNameValuePair()).new(); - let staticProperties = new (T$._HashSetOfNameValuePair()).new(); - let staticMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); - if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { - t17 = ret; - (() => { - t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); - t17.addAll(_debugger.sortProperties(staticProperties)); - t17.addAll(_debugger.sortProperties(staticMethods)); - return t17; - })(); - } let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); if (dart.test(instanceMethods[$isNotEmpty])) { - t17$ = ret; + t12 = ret; (() => { - t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t17$.addAll(_debugger.sortProperties(instanceMethods)); - return t17$; + t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t12.addAll(_debugger.sortProperties(instanceMethods)); + return t12; })(); } let mixin = dart.getMixin(type); @@ -11481,6 +12354,9 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { } return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ClassFormatter.new(); + } }; (_debugger.ClassFormatter.new = function() { ; @@ -11495,7 +12371,7 @@ dart.setMethodSignature(_debugger.ClassFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.ClassFormatter, I[12]); +dart.setLibraryUri(_debugger.ClassFormatter, I[13]); _debugger.TypeFormatter = class TypeFormatter extends core.Object { accept(object, config) { return core.Type.is(object); @@ -11509,6 +12385,9 @@ _debugger.TypeFormatter = class TypeFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([]); } + static ['_#new#tearOff']() { + return new _debugger.TypeFormatter.new(); + } }; (_debugger.TypeFormatter.new = function() { ; @@ -11523,11 +12402,17 @@ dart.setMethodSignature(_debugger.TypeFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.TypeFormatter, I[12]); -_debugger._MethodStats = class _MethodStats extends core.Object {}; +dart.setLibraryUri(_debugger.TypeFormatter, I[13]); +_debugger._MethodStats = class _MethodStats extends core.Object { + static ['_#new#tearOff'](typeName, frame) { + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); + return new _debugger._MethodStats.new(typeName, frame); + } +}; (_debugger._MethodStats.new = function(typeName, frame) { - if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); this.count = 0.0; this.typeName = typeName; this.frame = frame; @@ -11535,14 +12420,18 @@ _debugger._MethodStats = class _MethodStats extends core.Object {}; }).prototype = _debugger._MethodStats.prototype; dart.addTypeTests(_debugger._MethodStats); dart.addTypeCaches(_debugger._MethodStats); -dart.setLibraryUri(_debugger._MethodStats, I[12]); +dart.setLibraryUri(_debugger._MethodStats, I[13]); dart.setFieldSignature(_debugger._MethodStats, () => ({ __proto__: dart.getFields(_debugger._MethodStats.__proto__), typeName: dart.finalFieldType(core.String), frame: dart.finalFieldType(core.String), count: dart.fieldType(core.double) })); -_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; +_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object { + static ['_#new#tearOff'](jsError, type) { + return new _debugger._CallMethodRecord.new(jsError, type); + } +}; (_debugger._CallMethodRecord.new = function(jsError, type) { this.jsError = jsError; this.type = type; @@ -11550,7 +12439,7 @@ _debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; }).prototype = _debugger._CallMethodRecord.prototype; dart.addTypeTests(_debugger._CallMethodRecord); dart.addTypeCaches(_debugger._CallMethodRecord); -dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); +dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), jsError: dart.fieldType(dart.dynamic), @@ -11566,17 +12455,17 @@ _debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { return Object.getOwnPropertySymbols(object); }; _debugger.addMetadataChildren = function addMetadataChildren(object, ret) { - if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + if (ret == null) dart.nullFailed(I[12], 63, 53, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); }; _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { - let t17; - if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); - if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let t12; + if (properties == null) dart.nullFailed(I[12], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[12], 75, 54, "walkPrototypeChain"); let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; - let skippedNames = (t17 = new collection._HashSet.new(), (() => { - t17.add("hashCode"); - return t17; + let skippedNames = (t12 = new collection._HashSet.new(), (() => { + t12.add("hashCode"); + return t12; })()); let objectPrototype = Object.prototype; while (sig != null && !core.identical(sig, objectPrototype)) { @@ -11606,11 +12495,11 @@ _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, } }; _debugger.sortProperties = function sortProperties(properties) { - if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + if (properties == null) dart.nullFailed(I[12], 115, 60, "properties"); let sortedProperties = properties[$toList](); sortedProperties[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[11], 118, 26, "a"); - if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + if (a == null) dart.nullFailed(I[12], 118, 26, "a"); + if (b == null) dart.nullFailed(I[12], 118, 29, "b"); let aPrivate = a.name[$startsWith]("_"); let bPrivate = b.name[$startsWith]("_"); if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; @@ -11646,11 +12535,11 @@ _debugger.safePreview = function safePreview(object, config) { }; _debugger.symbolName = function symbolName(symbol) { let name = dart.toString(symbol); - if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[12], 157, 10, "name.startsWith('Symbol(')"); return name[$substring]("Symbol(".length, name.length - 1); }; _debugger.hasMethod = function hasMethod$(object, name) { - if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + if (name == null) dart.nullFailed(I[12], 161, 31, "name"); try { return dart.hasMethod(object, name); } catch (e$) { @@ -11662,8 +12551,8 @@ _debugger.hasMethod = function hasMethod$(object, name) { } }; _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { - if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); - if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + if (protoChain == null) dart.nullFailed(I[12], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[12], 267, 51, "name"); try { return _debugger.JSNative.getProperty(protoChain, name); } catch (e$) { @@ -11676,7 +12565,7 @@ _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { }; _debugger.safeProperties = function safeProperties(object) { return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { - if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + if (each == null) dart.nullFailed(I[12], 277, 17, "each"); return _debugger.safeGetProperty(core.Object.as(object), each) != null; }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); }; @@ -11695,11 +12584,11 @@ _debugger.getModuleNames = function getModuleNames$() { return dart.getModuleNames(); }; _debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); return dart.getModuleLibraries(name); }; _debugger.getDynamicStats = function getDynamicStats() { - let t20; + let t15; let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); @@ -11707,15 +12596,15 @@ _debugger.getDynamicStats = function getDynamicStats() { let stackStr = record.jsError.stack; let frames = stackStr[$split]("\n"); let src = frames[$skip](2)[$map](core.String, dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + if (f == null) dart.nullFailed(I[14], 66, 17, "f"); return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); }, T$.StringToString()))[$firstWhere](dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + if (f == null) dart.nullFailed(I[14], 68, 24, "f"); return !f[$startsWith]("dart:"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); let actualTypeName = dart.typeName(record.type); - t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); - t20.count = dart.notNull(t20.count) + recordRatio; + t15 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t15.count = dart.notNull(t15.count) + recordRatio; } if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { for (let k of callMethodStats[$keys][$toList]()) { @@ -11731,8 +12620,8 @@ _debugger.getDynamicStats = function getDynamicStats() { _debugger._totalCallRecords = 0; let keys = callMethodStats[$keys][$toList](); keys[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[13], 94, 8, "a"); - if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + if (a == null) dart.nullFailed(I[14], 94, 8, "a"); + if (b == null) dart.nullFailed(I[14], 94, 11, "b"); return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); }, T$.StringAndStringToint())); let ret = T$.JSArrayOfListOfObject().of([]); @@ -11773,35 +12662,51 @@ dart.defineLazy(_debugger, { /*_debugger._maxSpanLength*/get _maxSpanLength() { return 100; }, - set _maxSpanLength(_) {}, + set _maxSpanLength(value) { + if (value == null) dart.nullFailed(I[12], 40, 5, "_maxSpanLength"); + }, /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); }, - set _devtoolsFormatter(_) {}, + set _devtoolsFormatter(value) { + if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); + }, /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { return 100; }, - set maxFormatterStringLength(_) {}, + set maxFormatterStringLength(value) { + if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); + }, /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { return 5000; }, - set _callRecordSampleSize(_) {}, + set _callRecordSampleSize(value) { + if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); + }, /*_debugger._callMethodRecords*/get _callMethodRecords() { return T$.JSArrayOf_CallMethodRecord().of([]); }, - set _callMethodRecords(_) {}, + set _callMethodRecords(value) { + if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); + }, /*_debugger._totalCallRecords*/get _totalCallRecords() { return 0; }, - set _totalCallRecords(_) {}, + set _totalCallRecords(value) { + if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); + }, /*_debugger._minCount*/get _minCount() { return 2; }, - set _minCount(_) {}, + set _minCount(value) { + if (value == null) dart.nullFailed(I[14], 38, 5, "_minCount"); + }, /*_debugger._frameMappingCache*/get _frameMappingCache() { return new (T$.IdentityMapOfString$String()).new(); }, - set _frameMappingCache(_) {} + set _frameMappingCache(value) { + if (value == null) dart.nullFailed(I[14], 44, 5, "_frameMappingCache"); + } }, false); var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); _foreign_helper.JSExportName = class JSExportName extends core.Object { @@ -11811,15 +12716,19 @@ _foreign_helper.JSExportName = class JSExportName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); + return new _foreign_helper.JSExportName.new(name); + } }; (_foreign_helper.JSExportName.new = function(name) { - if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); this[name$4] = name; ; }).prototype = _foreign_helper.JSExportName.prototype; dart.addTypeTests(_foreign_helper.JSExportName); dart.addTypeCaches(_foreign_helper.JSExportName); -dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); +dart.setLibraryUri(_foreign_helper.JSExportName, I[16]); dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), name: dart.finalFieldType(core.String) @@ -11832,41 +12741,63 @@ _foreign_helper.JS_CONST = class JS_CONST extends core.Object { set code(value) { super.code = value; } + static ['_#new#tearOff'](code) { + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); + return new _foreign_helper.JS_CONST.new(code); + } }; (_foreign_helper.JS_CONST.new = function(code) { - if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); this[code$] = code; ; }).prototype = _foreign_helper.JS_CONST.prototype; dart.addTypeTests(_foreign_helper.JS_CONST); dart.addTypeCaches(_foreign_helper.JS_CONST); -dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); +dart.setLibraryUri(_foreign_helper.JS_CONST, I[16]); dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), code: dart.finalFieldType(core.String) })); -_foreign_helper._Rest = class _Rest extends core.Object {}; +_foreign_helper._Rest = class _Rest extends core.Object { + static ['_#new#tearOff']() { + return new _foreign_helper._Rest.new(); + } +}; (_foreign_helper._Rest.new = function() { ; }).prototype = _foreign_helper._Rest.prototype; dart.addTypeTests(_foreign_helper._Rest); dart.addTypeCaches(_foreign_helper._Rest); -dart.setLibraryUri(_foreign_helper._Rest, I[15]); +dart.setLibraryUri(_foreign_helper._Rest, I[16]); _foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { }; _foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { - if (type == null) dart.nullFailed(I[14], 157, 30, "type"); + if (type == null) dart.nullFailed(I[15], 162, 30, "type"); }; _foreign_helper.JS_EFFECT = function JS_EFFECT(code) { - if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + if (code == null) dart.nullFailed(I[15], 250, 25, "code"); dart.dcall(code, [null]); }; _foreign_helper.spread = function spread(args) { dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); }; +_foreign_helper.getInterceptor = function getInterceptor(obj) { + let classRef = null; + if (obj == null) { + classRef = core.Null; + } else if (typeof obj === "function") { + let signature = obj.$signature; + if (signature != null) classRef = core.Function; + } + if (classRef == null) dart.throw("Unknown interceptor for object: (" + dart.str(obj) + ")"); + return classRef.prototype; +}; +_foreign_helper.getJSArrayInteropRti = function getJSArrayInteropRti() { + return _interceptors.JSArray; +}; dart.defineLazy(_foreign_helper, { /*_foreign_helper.rest*/get rest() { - return C[8] || CT.C8; + return C[9] || CT.C9; } }, false); _interceptors.Interceptor = class Interceptor extends core.Object { @@ -11879,9 +12810,12 @@ _interceptors.Interceptor = class Interceptor extends core.Object { }).prototype = _interceptors.Interceptor.prototype; dart.addTypeTests(_interceptors.Interceptor); dart.addTypeCaches(_interceptors.Interceptor); -dart.setLibraryUri(_interceptors.Interceptor, I[16]); +dart.setLibraryUri(_interceptors.Interceptor, I[17]); dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); _interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSBool.new(); + } [$toString]() { return String(this); } @@ -11917,7 +12851,7 @@ dart.setMethodSignature(_interceptors.JSBool, () => ({ [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); -dart.setLibraryUri(_interceptors.JSBool, I[16]); +dart.setLibraryUri(_interceptors.JSBool, I[17]); dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); dart.registerExtension("Boolean", _interceptors.JSBool); const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); @@ -11929,7 +12863,7 @@ _interceptors.JSIndexable$ = dart.generic(E => { dart.addTypeTests(JSIndexable); JSIndexable.prototype[_is_JSIndexable_default] = true; dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[16]); + dart.setLibraryUri(JSIndexable, I[17]); return JSIndexable; }); _interceptors.JSIndexable = _interceptors.JSIndexable$(); @@ -11943,7 +12877,7 @@ _interceptors.JSMutableIndexable$ = dart.generic(E => { dart.addTypeTests(JSMutableIndexable); JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[16]); + dart.setLibraryUri(JSMutableIndexable, I[17]); return JSMutableIndexable; }); _interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); @@ -11954,13 +12888,10 @@ _interceptors.JSObject = class JSObject extends core.Object {}; }).prototype = _interceptors.JSObject.prototype; dart.addTypeTests(_interceptors.JSObject); dart.addTypeCaches(_interceptors.JSObject); -dart.setLibraryUri(_interceptors.JSObject, I[16]); +dart.setLibraryUri(_interceptors.JSObject, I[17]); _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - get hashCode() { - return 0; - } - get runtimeType() { - return dart.wrapType(_interceptors.JSObject); + static ['_#new#tearOff']() { + return new _interceptors.JavaScriptObject.new(); } }; (_interceptors.JavaScriptObject.new = function() { @@ -11969,20 +12900,35 @@ _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.In }).prototype = _interceptors.JavaScriptObject.prototype; dart.addTypeTests(_interceptors.JavaScriptObject); dart.addTypeCaches(_interceptors.JavaScriptObject); -_interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; -dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); -dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); -_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; +dart.setLibraryUri(_interceptors.JavaScriptObject, I[17]); +_interceptors.LegacyJavaScriptObject = class LegacyJavaScriptObject extends _interceptors.JavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.LegacyJavaScriptObject.new(); + } +}; +(_interceptors.LegacyJavaScriptObject.new = function() { + _interceptors.LegacyJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.LegacyJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.LegacyJavaScriptObject); +dart.addTypeCaches(_interceptors.LegacyJavaScriptObject); +_interceptors.LegacyJavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; +dart.setLibraryUri(_interceptors.LegacyJavaScriptObject, I[17]); +_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.PlainJavaScriptObject.new(); + } +}; (_interceptors.PlainJavaScriptObject.new = function() { _interceptors.PlainJavaScriptObject.__proto__.new.call(this); ; }).prototype = _interceptors.PlainJavaScriptObject.prototype; dart.addTypeTests(_interceptors.PlainJavaScriptObject); dart.addTypeCaches(_interceptors.PlainJavaScriptObject); -dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); -_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { - toString() { - return String(this); +dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[17]); +_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.UnknownJavaScriptObject.new(); } }; (_interceptors.UnknownJavaScriptObject.new = function() { @@ -11991,12 +12937,14 @@ _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _i }).prototype = _interceptors.UnknownJavaScriptObject.prototype; dart.addTypeTests(_interceptors.UnknownJavaScriptObject); dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); -dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); -dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); +dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[17]); _interceptors.NativeError = class NativeError extends _interceptors.Interceptor { dartStack() { return this.stack; } + static ['_#new#tearOff']() { + return new _interceptors.NativeError.new(); + } }; (_interceptors.NativeError.new = function() { _interceptors.NativeError.__proto__.new.call(this); @@ -12009,7 +12957,7 @@ dart.setMethodSignature(_interceptors.NativeError, () => ({ dartStack: dart.fnType(core.String, []), [$dartStack]: dart.fnType(core.String, []) })); -dart.setLibraryUri(_interceptors.NativeError, I[16]); +dart.setLibraryUri(_interceptors.NativeError, I[17]); dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); var _fieldName = dart.privateName(_interceptors, "_fieldName"); var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); @@ -12025,16 +12973,16 @@ var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); var _namedArguments$ = dart.privateName(core, "_namedArguments"); _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { [_fieldName](message) { - let t20; - if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let t15; + if (message == null) dart.nullFailed(I[18], 131, 29, "message"); let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); if (match == null) return null; let name = dart.nullCheck(match._get(1)); - match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + match = (t15 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t15 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t15); return match != null ? match._get(1) : name; } [_functionCallTarget](message) { - if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + if (message == null) dart.nullFailed(I[18], 139, 38, "message"); let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); return match != null ? match._get(1) : null; } @@ -12058,20 +13006,23 @@ _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _intercept } return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; } + static ['_#new#tearOff']() { + return new _interceptors.JSNoSuchMethodError.new(); + } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); } }; (_interceptors.JSNoSuchMethodError.new = function() { @@ -12095,7 +13046,8 @@ dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); +dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[17]); +dart.setStaticFieldSignature(_interceptors.JSNoSuchMethodError, () => ['_nullError', '_notAFunction', '_extensionName', '_privateName']); dart.defineLazy(_interceptors.JSNoSuchMethodError, { /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { return core.RegExp.new("^Cannot read property '(.+)' of null$"); @@ -12118,10 +13070,40 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { } [$_equals](other) { if (other == null) return false; - if (other == null) return false; - let boundObj = this._boundObject; - if (boundObj == null) return this === other; - return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + if (this === other) return true; + let boundObj = null; + let otherFn = null; + let originalFn = this._originalFn; + if (originalFn == null) { + boundObj = this._boundObject; + if (boundObj == null) return false; + originalFn = this; + otherFn = other; + } else { + let typeArgs = this._typeArgs; + let otherTypeArgs = other._typeArgs; + { + let typeArgCount = typeArgs.length; + if (!otherTypeArgs || typeArgCount !== otherTypeArgs.length) { + return false; + } + for (let i = 0; i < typeArgCount; i = i + 1) { + { + let typeArg = typeArgs[i]; + let otherTypeArg = otherTypeArgs[i]; + if (dart.wrapType(typeArg) !== dart.wrapType(otherTypeArg)) { + return false; + } + } + } + } + boundObj = originalFn._boundObject; + otherFn = other._originalFn; + if (boundObj == null) { + return originalFn === otherFn; + } + } + return boundObj === otherFn._boundObject && originalFn._boundMethod === otherFn._boundMethod; } get [$hashCode]() { let boundObj = this._boundObject; @@ -12133,6 +13115,9 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { get [$runtimeType]() { return dart.wrapType(dart.getReifiedType(this)); } + static ['_#new#tearOff']() { + return new _interceptors.JSFunction.new(); + } }; (_interceptors.JSFunction.new = function() { _interceptors.JSFunction.__proto__.new.call(this); @@ -12140,23 +13125,26 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { }).prototype = _interceptors.JSFunction.prototype; dart.addTypeTests(_interceptors.JSFunction); dart.addTypeCaches(_interceptors.JSFunction); -dart.setLibraryUri(_interceptors.JSFunction, I[16]); +dart.setLibraryUri(_interceptors.JSFunction, I[17]); dart.registerExtension("Function", _interceptors.JSFunction); _interceptors.JSNull = class JSNull extends core.Object { toString() { return "null"; } noSuchMethod(i) { - if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + if (i == null) dart.nullFailed(I[18], 280, 27, "i"); return dart.defaultNoSuchMethod(null, i); } + static ['_#new#tearOff']() { + return new _interceptors.JSNull.new(); + } }; (_interceptors.JSNull.new = function() { ; }).prototype = _interceptors.JSNull.prototype; dart.addTypeTests(_interceptors.JSNull); dart.addTypeCaches(_interceptors.JSNull); -dart.setLibraryUri(_interceptors.JSNull, I[16]); +dart.setLibraryUri(_interceptors.JSNull, I[17]); dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); var _hasValue = dart.privateName(_interceptors, "_hasValue"); var _hasValue$ = dart.privateName(core, "_hasValue"); @@ -12180,14 +13168,17 @@ _interceptors.JSRangeError = class JSRangeError extends _interceptors.Intercepto [$toString]() { return "Invalid argument: " + dart.str(this[$message]); } + static ['_#new#tearOff']() { + return new _interceptors.JSRangeError.new(); + } get [_hasValue$]() { - return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); } get [_errorExplanation$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); } get [_errorName$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); } }; (_interceptors.JSRangeError.new = function() { @@ -12207,41 +13198,54 @@ dart.setGetterSignature(_interceptors.JSRangeError, () => ({ [_errorExplanation$]: core.String, [_errorName$]: core.String })); -dart.setLibraryUri(_interceptors.JSRangeError, I[16]); +dart.setLibraryUri(_interceptors.JSRangeError, I[17]); dart.registerExtension("RangeError", _interceptors.JSRangeError); var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); const _is_JSArray_default = Symbol('_is_JSArray_default'); _interceptors.JSArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$EAndEToint = () => (__t$EAndEToint = dart.constFn(dart.fnType(core.int, [E, E])))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$ArrayIteratorOfE = () => (__t$ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); class JSArray extends core.Object { constructor() { return []; } + static ['_#new#tearOff'](E) { + return new (_interceptors.JSArray$(E)).new(); + } + static ['_#of#tearOff'](E, list) { + return _interceptors.JSArray$(E).of(list); + } static of(list) { list.__proto__ = JSArray.prototype; return list; } + static ['_#fixed#tearOff'](E, list) { + return _interceptors.JSArray$(E).fixed(list); + } static fixed(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; return list; } + static ['_#unmodifiable#tearOff'](E, list) { + return _interceptors.JSArray$(E).unmodifiable(list); + } static unmodifiable(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; @@ -12292,8 +13296,8 @@ _interceptors.JSArray$ = dart.generic(E => { } [$insertAll](index, iterable) { if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 93, 52, "iterable"); this[$checkGrowable]("insertAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (!_internal.EfficientLengthIterable.is(iterable)) { @@ -12306,14 +13310,14 @@ _interceptors.JSArray$ = dart.generic(E => { this[$setRange](index, end, iterable); } [$setAll](index, iterable) { - let t20; + let t15; if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 107, 49, "iterable"); this[$checkMutable]("setAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); for (let element of iterable) { - this[$_set]((t20 = index, index = t20 + 1, t20), element); + this[$_set]((t15 = index, index = t15 + 1, t15), element); } } [$removeLast]() { @@ -12333,18 +13337,18 @@ _interceptors.JSArray$ = dart.generic(E => { return false; } [$removeWhere](test) { - if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + if (test == null) dart.nullFailed(I[19], 136, 37, "test"); this[$checkGrowable]("removeWhere"); this[_removeWhere](test, true); } [$retainWhere](test) { - if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + if (test == null) dart.nullFailed(I[19], 141, 37, "test"); this[$checkGrowable]("retainWhere"); this[_removeWhere](test, false); } [_removeWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[18], 146, 38, "test"); - if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + if (test == null) dart.nullFailed(I[19], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[19], 146, 49, "removeMatching"); let retained = []; let end = this[$length]; for (let i = 0; i < end; i = i + 1) { @@ -12362,20 +13366,20 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$where](f) { - if (f == null) dart.nullFailed(I[18], 175, 38, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[19], 175, 38, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } [$expand](T, f) { - if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + if (f == null) dart.nullFailed(I[19], 179, 49, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } [$addAll](collection) { - IterableOfE().as(collection); - if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + __t$IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[19], 183, 27, "collection"); let i = this[$length]; this[$checkGrowable]("addAll"); for (let e of collection) { - if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); i = i + 1; this.push(e); } @@ -12384,7 +13388,7 @@ _interceptors.JSArray$ = dart.generic(E => { this[$length] = 0; } [$forEach](f) { - if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + if (f == null) dart.nullFailed(I[19], 197, 33, "f"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12393,11 +13397,11 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$map](T, f) { - if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + if (f == null) dart.nullFailed(I[19], 206, 36, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } [$join](separator = "") { - if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + if (separator == null) dart.nullFailed(I[19], 210, 23, "separator"); let length = this[$length]; let list = T$.ListOfString().filled(length, ""); for (let i = 0; i < length; i = i + 1) { @@ -12406,24 +13410,24 @@ _interceptors.JSArray$ = dart.generic(E => { return list.join(separator); } [$take](n) { - if (n == null) dart.nullFailed(I[18], 219, 24, "n"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + if (n == null) dart.nullFailed(I[19], 219, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); } [$takeWhile](test) { - if (test == null) dart.nullFailed(I[18], 223, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 223, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } [$skip](n) { - if (n == null) dart.nullFailed(I[18], 227, 24, "n"); - return new (SubListIterableOfE()).new(this, n, null); + if (n == null) dart.nullFailed(I[19], 227, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, n, null); } [$skipWhile](test) { - if (test == null) dart.nullFailed(I[18], 231, 42, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 231, 42, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } [$reduce](combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[19], 235, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -12435,7 +13439,7 @@ _interceptors.JSArray$ = dart.generic(E => { return value; } [$fold](T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + if (combine == null) dart.nullFailed(I[19], 247, 68, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < length; i = i + 1) { @@ -12446,9 +13450,9 @@ _interceptors.JSArray$ = dart.generic(E => { return value; } [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + if (test == null) dart.nullFailed(I[19], 258, 33, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12459,9 +13463,9 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + if (test == null) dart.nullFailed(I[19], 269, 32, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = length - 1; i >= 0; i = i - 1) { let element = this[i]; @@ -12474,9 +13478,9 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + if (test == null) dart.nullFailed(I[19], 282, 34, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let matchFound = false; @@ -12498,7 +13502,7 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + if (index == null) dart.nullFailed(I[19], 304, 19, "index"); return this[$_get](index); } [$sublist](start, end = null) { @@ -12514,14 +13518,14 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(new core.RangeError.range(end, start, this[$length], "end")); } } - if (start === end) return JSArrayOfE().of([]); - return JSArrayOfE().of(this.slice(start, end)); + if (start === end) return __t$JSArrayOfE().of([]); + return __t$JSArrayOfE().of(this.slice(start, end)); } [$getRange](start, end) { - if (start == null) dart.nullFailed(I[18], 325, 28, "start"); - if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + if (start == null) dart.nullFailed(I[19], 325, 28, "start"); + if (end == null) dart.nullFailed(I[19], 325, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } get [$first]() { if (this[$length] > 0) return this[$_get](0); @@ -12547,17 +13551,17 @@ _interceptors.JSArray$ = dart.generic(E => { [$setRange](start, end, iterable, skipCount = 0) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 353, 71, "iterable"); if (skipCount == null) dart.argumentError(skipCount); this[$checkMutable]("set range"); core.RangeError.checkValidRange(start, end, this[$length]); let length = end - start; if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); - let otherList = JSArrayOfE().of([]); + let otherList = __t$JSArrayOfE().of([]); let otherStart = 0; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -12582,7 +13586,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$fillRange](start, end, fillValue = null) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - EN().as(fillValue); + __t$EN().as(fillValue); this[$checkMutable]("fill range"); core.RangeError.checkValidRange(start, end, this[$length]); let checkedFillValue = E.as(fillValue); @@ -12593,8 +13597,8 @@ _interceptors.JSArray$ = dart.generic(E => { [$replaceRange](start, end, replacement) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(replacement); - if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + __t$IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[19], 404, 61, "replacement"); this[$checkGrowable]("replace range"); core.RangeError.checkValidRange(start, end, this[$length]); if (!_internal.EfficientLengthIterable.is(replacement)) { @@ -12621,7 +13625,7 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$any](test) { - if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + if (test == null) dart.nullFailed(I[19], 432, 29, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12631,7 +13635,7 @@ _interceptors.JSArray$ = dart.generic(E => { return false; } [$every](test) { - if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + if (test == null) dart.nullFailed(I[19], 442, 31, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12641,12 +13645,12 @@ _interceptors.JSArray$ = dart.generic(E => { return true; } get [$reversed]() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } [$sort](compare = null) { this[$checkMutable]("sort"); if (compare == null) { - _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), __t$EAndEToint())); } else { _internal.Sort.sort(E, this, compare); } @@ -12680,8 +13684,8 @@ _interceptors.JSArray$ = dart.generic(E => { return -1; } [$lastIndexOf](element, startIndex = null) { - let t20; - let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + let t15; + let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); if (start >= this[$length]) { start = this[$length] - 1; } else if (start < 0) { @@ -12716,13 +13720,13 @@ _interceptors.JSArray$ = dart.generic(E => { if (growable == null) dart.argumentError(growable); let list = this.slice(); if (!growable) _interceptors.JSArray.markFixedList(list); - return JSArrayOfE().of(list); + return __t$JSArrayOfE().of(list); } [$toSet]() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get [$iterator]() { - return new (ArrayIteratorOfE()).new(this); + return new (__t$ArrayIteratorOfE()).new(this); } get [$hashCode]() { return core.identityHashCode(this); @@ -12744,56 +13748,56 @@ _interceptors.JSArray$ = dart.generic(E => { this.length = newLength; } [_setLengthUnsafe](newLength) { - if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (newLength == null) dart.nullFailed(I[19], 566, 29, "newLength"); if (dart.notNull(newLength) < 0) { dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); } this.length = newLength; } [$_get](index) { - if (index == null) dart.nullFailed(I[18], 576, 21, "index"); - if (index == null || index >= this.length || index < 0) { + if (index == null) dart.nullFailed(I[19], 576, 21, "index"); + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + if (index == null) dart.nullFailed(I[19], 586, 25, "index"); E.as(value); this[$checkMutable]("indexed set"); - if (index == null || index >= this.length || index < 0) { + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } this[index] = value; return value$; } [$asMap]() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } get [$runtimeType]() { return dart.wrapType(core.List$(E)); } [$followedBy](other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[18], 603, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[19], 603, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } [$whereType](T) { return new (_internal.WhereTypeIterable$(T)).new(this); } [$plus](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[19], 608, 30, "other"); return (() => { - let t20 = ListOfE().of(this); - t20[$addAll](other); - return t20; + let t15 = __t$ListOfE().of(this); + t15[$addAll](other); + return t15; })(); } [$indexWhere](test, start = 0) { - if (test == null) dart.nullFailed(I[18], 610, 35, "test"); - if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (test == null) dart.nullFailed(I[19], 610, 35, "test"); + if (start == null) dart.nullFailed(I[19], 610, 46, "start"); if (dart.notNull(start) >= this[$length]) return -1; if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { @@ -12802,7 +13806,7 @@ _interceptors.JSArray$ = dart.generic(E => { return -1; } [$lastIndexWhere](test, start = null) { - if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (test == null) dart.nullFailed(I[19], 619, 39, "test"); if (start == null) start = this[$length] - 1; if (dart.notNull(start) < 0) return -1; for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -12812,12 +13816,12 @@ _interceptors.JSArray$ = dart.generic(E => { } set [$first](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](0, element); } set [$last](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](this[$length] - 1, element); } } @@ -12887,6 +13891,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(JSArray, () => ['of', 'fixed', 'unmodifiable', 'markFixedList', 'markUnmodifiableList']); dart.setGetterSignature(JSArray, () => ({ __proto__: dart.getGetters(JSArray.__proto__), [$first]: E, @@ -12904,7 +13909,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$first]: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(JSArray, I[16]); + dart.setLibraryUri(JSArray, I[17]); return JSArray; }); _interceptors.JSArray = _interceptors.JSArray$(); @@ -12912,7 +13917,11 @@ dart.addTypeTests(_interceptors.JSArray, _is_JSArray_default); dart.registerExtension("Array", _interceptors.JSArray); const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); _interceptors.JSMutableArray$ = dart.generic(E => { - class JSMutableArray extends _interceptors.JSArray$(E) {} + class JSMutableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSMutableArray$(E)).new(); + } + } (JSMutableArray.new = function() { JSMutableArray.__proto__.new.call(this); ; @@ -12921,14 +13930,18 @@ _interceptors.JSMutableArray$ = dart.generic(E => { JSMutableArray.prototype[_is_JSMutableArray_default] = true; dart.addTypeCaches(JSMutableArray); JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - dart.setLibraryUri(JSMutableArray, I[16]); + dart.setLibraryUri(JSMutableArray, I[17]); return JSMutableArray; }); _interceptors.JSMutableArray = _interceptors.JSMutableArray$(); dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); _interceptors.JSFixedArray$ = dart.generic(E => { - class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + class JSFixedArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSFixedArray$(E)).new(); + } + } (JSFixedArray.new = function() { JSFixedArray.__proto__.new.call(this); ; @@ -12936,14 +13949,18 @@ _interceptors.JSFixedArray$ = dart.generic(E => { dart.addTypeTests(JSFixedArray); JSFixedArray.prototype[_is_JSFixedArray_default] = true; dart.addTypeCaches(JSFixedArray); - dart.setLibraryUri(JSFixedArray, I[16]); + dart.setLibraryUri(JSFixedArray, I[17]); return JSFixedArray; }); _interceptors.JSFixedArray = _interceptors.JSFixedArray$(); dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); _interceptors.JSExtendableArray$ = dart.generic(E => { - class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + class JSExtendableArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSExtendableArray$(E)).new(); + } + } (JSExtendableArray.new = function() { JSExtendableArray.__proto__.new.call(this); ; @@ -12951,14 +13968,18 @@ _interceptors.JSExtendableArray$ = dart.generic(E => { dart.addTypeTests(JSExtendableArray); JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; dart.addTypeCaches(JSExtendableArray); - dart.setLibraryUri(JSExtendableArray, I[16]); + dart.setLibraryUri(JSExtendableArray, I[17]); return JSExtendableArray; }); _interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); _interceptors.JSUnmodifiableArray$ = dart.generic(E => { - class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + class JSUnmodifiableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSUnmodifiableArray$(E)).new(); + } + } (JSUnmodifiableArray.new = function() { JSUnmodifiableArray.__proto__.new.call(this); ; @@ -12966,7 +13987,7 @@ _interceptors.JSUnmodifiableArray$ = dart.generic(E => { dart.addTypeTests(JSUnmodifiableArray); JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[16]); + dart.setLibraryUri(JSUnmodifiableArray, I[17]); return JSUnmodifiableArray; }); _interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); @@ -12978,6 +13999,10 @@ var _index = dart.privateName(_interceptors, "_index"); const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); _interceptors.ArrayIterator$ = dart.generic(E => { class ArrayIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); + return new (_interceptors.ArrayIterator$(E)).new(iterable); + } get current() { return E.as(this[_current]); } @@ -12996,7 +14021,7 @@ _interceptors.ArrayIterator$ = dart.generic(E => { } } (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); this[_current] = null; this[_iterable] = iterable; this[_length] = iterable[$length]; @@ -13015,7 +14040,7 @@ _interceptors.ArrayIterator$ = dart.generic(E => { __proto__: dart.getGetters(ArrayIterator.__proto__), current: E })); - dart.setLibraryUri(ArrayIterator, I[16]); + dart.setLibraryUri(ArrayIterator, I[17]); dart.setFieldSignature(ArrayIterator, () => ({ __proto__: dart.getFields(ArrayIterator.__proto__), [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), @@ -13033,6 +14058,9 @@ var _shlPositive = dart.privateName(_interceptors, "_shlPositive"); var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSNumber.new(); + } [$compareTo](b) { core.num.as(b); if (b == null) dart.argumentError(b); @@ -13077,7 +14105,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return Math.abs(this); } get [$sign]() { - return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + return this > 0 ? 1 : this < 0 ? -1 : this; } [$toInt]() { if (this >= -2147483648 && this <= 2147483647) { @@ -13180,7 +14208,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return _interceptors.JSNumber._handleIEtoString(result); } static _handleIEtoString(result) { - if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + if (result == null) dart.nullFailed(I[20], 205, 42, "result"); let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); if (match == null) { dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); @@ -13239,7 +14267,9 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { [$modulo](other) { if (other == null) dart.argumentError(other); let result = this % other; - if (result === 0) return _interceptors.JSNumber.as(0); + if (result === 0) { + return 0; + } if (result > 0) return result; if (other < 0) { return result - other; @@ -13259,7 +14289,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { } } [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + if (other == null) dart.nullFailed(I[20], 321, 21, "other"); return (this / other)[$toInt](); } [$leftShift](other) { @@ -13339,11 +14369,12 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return wordBits - _interceptors.JSNumber._clz32(nonneg); } static _clz32(uint32) { - return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + return Math.clz32(uint32); } [$modPow](e, m) { if (e == null) dart.argumentError(e); if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (e === 0) return 1; @@ -13444,6 +14475,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { } [$modInverse](m) { if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (m === 1) return 0; let t = this; @@ -13464,37 +14496,6 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { if (x === 1 || y === 1) return 1; return _interceptors.JSNumber._binaryGcd(x, y, false); } - static _bitCount(i) { - i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); - i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); - i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); - i = i + _interceptors.JSNumber._shru(i, 8); - i = i + _interceptors.JSNumber._shru(i, 16); - return i & 63; - } - static _shru(value, shift) { - if (value == null) dart.nullFailed(I[19], 613, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); - return value >>> shift; - } - static _shrs(value, shift) { - if (value == null) dart.nullFailed(I[19], 616, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); - return value >> shift; - } - static _ors(a, b) { - if (a == null) dart.nullFailed(I[19], 619, 23, "a"); - if (b == null) dart.nullFailed(I[19], 619, 30, "b"); - return a | b; - } - static _spread(i) { - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); - i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); - return i; - } [$bitNot]() { return ~this >>> 0; } @@ -13555,6 +14556,7 @@ dart.setMethodSignature(_interceptors.JSNumber, () => ({ [$gcd]: dart.fnType(core.int, [core.int]), [$bitNot]: dart.fnType(core.int, []) })); +dart.setStaticMethodSignature(_interceptors.JSNumber, () => ['_handleIEtoString', '_clz32', '_binaryGcd']); dart.setGetterSignature(_interceptors.JSNumber, () => ({ __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), [$isNegative]: core.bool, @@ -13566,7 +14568,8 @@ dart.setGetterSignature(_interceptors.JSNumber, () => ({ [$isOdd]: core.bool, [$bitLength]: core.int })); -dart.setLibraryUri(_interceptors.JSNumber, I[16]); +dart.setLibraryUri(_interceptors.JSNumber, I[17]); +dart.setStaticFieldSignature(_interceptors.JSNumber, () => ['_MIN_INT32', '_MAX_INT32']); dart.defineLazy(_interceptors.JSNumber, { /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { return -2147483648; @@ -13577,13 +14580,42 @@ dart.defineLazy(_interceptors.JSNumber, { }, false); dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); dart.registerExtension("Number", _interceptors.JSNumber); +_interceptors.JSInt = class JSInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSInt.new(); + } +}; +(_interceptors.JSInt.new = function() { + _interceptors.JSInt.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSInt.prototype; +dart.addTypeTests(_interceptors.JSInt); +dart.addTypeCaches(_interceptors.JSInt); +_interceptors.JSInt[dart.implements] = () => [core.int]; +dart.setLibraryUri(_interceptors.JSInt, I[17]); +_interceptors.JSNumNotInt = class JSNumNotInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSNumNotInt.new(); + } +}; +(_interceptors.JSNumNotInt.new = function() { + _interceptors.JSNumNotInt.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNumNotInt.prototype; +dart.addTypeTests(_interceptors.JSNumNotInt); +dart.addTypeCaches(_interceptors.JSNumNotInt); +_interceptors.JSNumNotInt[dart.implements] = () => [core.double]; +dart.setLibraryUri(_interceptors.JSNumNotInt, I[17]); var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); _interceptors.JSString = class JSString extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSString.new(); + } [$codeUnitAt](index) { if (index == null) dart.argumentError(index); let len = this.length; if (index < 0 || index >= len) { - dart.throw(new core.IndexError.new(index, this, "index", null, len)); + dart.throw(new core.IndexError.withLength(index, len, {indexable: this, name: "index"})); } return this.charCodeAt(index); } @@ -13624,30 +14656,30 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return other === this[$substring](thisLength - otherLength); } [$replaceAll](from, to) { - if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (from == null) dart.nullFailed(I[21], 67, 29, "from"); if (to == null) dart.argumentError(to); return _js_helper.stringReplaceAllUnchecked(this, from, to); } [$replaceAllMapped](from, convert) { - if (from == null) dart.nullFailed(I[20], 72, 35, "from"); - if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + if (from == null) dart.nullFailed(I[21], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[21], 72, 64, "convert"); return this[$splitMapJoin](from, {onMatch: convert}); } [$splitMapJoin](from, opts) { - if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + if (from == null) dart.nullFailed(I[21], 77, 31, "from"); let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); } [$replaceFirst](from, to, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (from == null) dart.nullFailed(I[21], 83, 31, "from"); if (to == null) dart.argumentError(to); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); } [$replaceFirstMapped](from, replace, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (from == null) dart.nullFailed(I[21], 91, 15, "from"); if (replace == null) dart.argumentError(replace); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); @@ -13671,7 +14703,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); } [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); let result = T$.JSArrayOfString().of([]); let start = 0; let length = 1; @@ -13692,7 +14724,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return result; } [$startsWith](pattern, index = 0) { - if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 148, 27, "pattern"); if (index == null) dart.argumentError(index); let length = this.length; if (index < 0 || index > length) { @@ -13707,15 +14739,10 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } return pattern[$matchAsPrefix](this, index) != null; } - [$substring](startIndex, _endIndex = null) { - let t21; - if (startIndex == null) dart.argumentError(startIndex); - let length = this.length; - let endIndex = (t21 = _endIndex, t21 == null ? length : t21); - if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); - if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); - if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); - return this.substring(startIndex, endIndex); + [$substring](start, end = null) { + if (start == null) dart.argumentError(start); + end = core.RangeError.checkValidRange(start, end, this.length); + return this.substring(start, end); } [$toLowerCase]() { return this.toLowerCase(); @@ -13734,13 +14761,13 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { case 32: case 133: case 160: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } switch (codeUnit) { @@ -13762,17 +14789,17 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { case 8287: case 12288: case 65279: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (string == null) dart.nullFailed(I[21], 243, 44, "string"); if (index == null) dart.argumentError(index); let stringLength = string.length; while (index < stringLength) { @@ -13785,7 +14812,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return index; } static _skipTrailingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (string == null) dart.nullFailed(I[21], 262, 45, "string"); if (index == null) dart.argumentError(index); while (index > 0) { let codeUnit = string[$codeUnitAt](index - 1); @@ -13856,7 +14883,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { if (0 >= times) return ""; if (times === 1 || this.length === 0) return this; if (times !== times >>> 0) { - dart.throw(C[17] || CT.C17); + dart.throw(C[18] || CT.C18); } let result = ""; let s = this; @@ -13870,14 +14897,14 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } [$padLeft](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + if (padding == null) dart.nullFailed(I[21], 386, 48, "padding"); let delta = width - this.length; if (delta <= 0) return this; return padding[$times](delta) + this; } [$padRight](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + if (padding == null) dart.nullFailed(I[21], 393, 49, "padding"); let delta = width - this.length; if (delta <= 0) return this; return this[$plus](padding[$times](delta)); @@ -13909,10 +14936,10 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return -1; } [$lastIndexOf](pattern, _start = null) { - let t21; + let t16; if (pattern == null) dart.argumentError(pattern); let length = this.length; - let start = (t21 = _start, t21 == null ? length : t21); + let start = (t16 = _start, t16 == null ? length : t16); if (dart.notNull(start) < 0 || dart.notNull(start) > length) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -13970,7 +14997,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } [$_get](index) { if (index == null) dart.argumentError(index); - if (index >= this.length || index < 0) { + if (!(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; @@ -14014,6 +15041,7 @@ dart.setMethodSignature(_interceptors.JSString, () => ({ [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), [$_get]: dart.fnType(core.String, [core.int]) })); +dart.setStaticMethodSignature(_interceptors.JSString, () => ['_isWhitespace', '_skipLeadingWhitespace', '_skipTrailingWhitespace']); dart.setGetterSignature(_interceptors.JSString, () => ({ __proto__: dart.getGetters(_interceptors.JSString.__proto__), [$codeUnits]: core.List$(core.int), @@ -14022,16 +15050,13 @@ dart.setGetterSignature(_interceptors.JSString, () => ({ [$isNotEmpty]: core.bool, [$length]: core.int })); -dart.setLibraryUri(_interceptors.JSString, I[16]); +dart.setLibraryUri(_interceptors.JSString, I[17]); dart.definePrimitiveHashCode(_interceptors.JSString.prototype); dart.registerExtension("String", _interceptors.JSString); -_interceptors.getInterceptor = function getInterceptor(obj) { - return obj; -}; _interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { }; _interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[17], 239, 57, "name"); + if (name == null) dart.nullFailed(I[18], 304, 57, "name"); }; _interceptors.getNativeInterceptor = function getNativeInterceptor(object) { }; @@ -14049,41 +15074,40 @@ var _closeGap = dart.privateName(collection, "_closeGap"); var _filter = dart.privateName(collection, "_filter"); const _is_ListMixin_default = Symbol('_is_ListMixin_default'); collection.ListMixin$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); class ListMixin extends core.Object { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } elementAt(index) { - if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + if (index == null) dart.nullFailed(I[24], 78, 19, "index"); return this[$_get](index); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[23], 80, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[24], 80, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } forEach(action) { - if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + if (action == null) dart.nullFailed(I[24], 83, 21, "action"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this[$_get](i)); @@ -14132,7 +15156,7 @@ collection.ListMixin$ = dart.generic(E => { return false; } every(test) { - if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + if (test == null) dart.nullFailed(I[24], 135, 19, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this[$_get](i)))) return false; @@ -14143,7 +15167,7 @@ collection.ListMixin$ = dart.generic(E => { return true; } any(test) { - if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + if (test == null) dart.nullFailed(I[24], 146, 17, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this[$_get](i)))) return true; @@ -14154,9 +15178,9 @@ collection.ListMixin$ = dart.generic(E => { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + if (test == null) dart.nullFailed(I[24], 157, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14169,9 +15193,9 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + if (test == null) dart.nullFailed(I[24], 170, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this[$_get](i); @@ -14184,21 +15208,19 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + if (test == null) dart.nullFailed(I[24], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t24) { + function match$35set(match$35param) { match$35isSet = true; - return match = t24; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14218,33 +15240,33 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - let t26; - if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + let t20; + if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); if (this[$length] === 0) return ""; - let buffer = (t26 = new core.StringBuffer.new(), (() => { - t26.writeAll(this, separator); - return t26; + let buffer = (t20 = new core.StringBuffer.new(), (() => { + t20.writeAll(this, separator); + return t20; })()); return dart.toString(buffer); } where(test) { - if (test == null) dart.nullFailed(I[23], 211, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 211, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } map(T, f) { - if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + if (f == null) dart.nullFailed(I[24], 215, 24, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + if (f == null) dart.nullFailed(I[24], 217, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[24], 220, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -14257,7 +15279,7 @@ collection.ListMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + if (combine == null) dart.nullFailed(I[24], 233, 31, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -14269,50 +15291,50 @@ collection.ListMixin$ = dart.generic(E => { return value; } skip(count) { - if (count == null) dart.nullFailed(I[23], 245, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[24], 245, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[23], 247, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 247, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } take(count) { - if (count == null) dart.nullFailed(I[23], 251, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[24], 251, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[23], 254, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 254, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[24], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); let first = this[$_get](0); - let result = ListOfE().filled(this[$length], first, {growable: growable}); + let result = __t$ListOfE().filled(this[$length], first, {growable: growable}); for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { result[$_set](i, this[$_get](i)); } return result; } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { result.add(this[$_get](i)); } return result; } add(element) { - let t26; + let t20; E.as(element); - this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 282, 27, "iterable"); let i = this[$length]; for (let element of iterable) { - if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); this[$add](element); i = dart.notNull(i) + 1; } @@ -14327,12 +15349,12 @@ collection.ListMixin$ = dart.generic(E => { return false; } [_closeGap](start, end) { - if (start == null) dart.nullFailed(I[23], 303, 22, "start"); - if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + if (start == null) dart.nullFailed(I[24], 303, 22, "start"); + if (end == null) dart.nullFailed(I[24], 303, 33, "end"); let length = this[$length]; - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); - if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); - if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[24], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[24], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[24], 307, 12, "end <= length"); let size = dart.notNull(end) - dart.notNull(start); for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { this[$_set](dart.notNull(i) - size, this[$_get](i)); @@ -14340,17 +15362,17 @@ collection.ListMixin$ = dart.generic(E => { this[$length] = dart.notNull(length) - size; } removeWhere(test) { - if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + if (test == null) dart.nullFailed(I[24], 315, 25, "test"); this[_filter](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + if (test == null) dart.nullFailed(I[24], 319, 25, "test"); this[_filter](test, true); } [_filter](test, retainMatching) { - if (test == null) dart.nullFailed(I[23], 323, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); - let retained = JSArrayOfE().of([]); + if (test == null) dart.nullFailed(I[24], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[24], 323, 43, "retainMatching"); + let retained = __t$JSArrayOfE().of([]); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14381,8 +15403,8 @@ collection.ListMixin$ = dart.generic(E => { return result; } sort(compare = null) { - let t26; - _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + let t20; + _internal.Sort.sort(E, this, (t20 = compare, t20 == null ? C[19] || CT.C19 : t20)); } static _compareAny(a, b) { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); @@ -14400,43 +15422,43 @@ collection.ListMixin$ = dart.generic(E => { } } asMap() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } ['+'](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[24], 381, 30, "other"); return (() => { - let t26 = ListOfE().of(this); - t26[$addAll](other); - return t26; + let t20 = __t$ListOfE().of(this); + t20[$addAll](other); + return t20; })(); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + if (start == null) dart.nullFailed(I[24], 383, 23, "start"); let listLength = this[$length]; end == null ? end = listLength : null; if (end == null) dart.throw("!"); core.RangeError.checkValidRange(start, end, listLength); - return ListOfE().from(this[$getRange](start, end)); + return __t$ListOfE().from(this[$getRange](start, end)); } getRange(start, end) { - if (start == null) dart.nullFailed(I[23], 392, 28, "start"); - if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + if (start == null) dart.nullFailed(I[24], 392, 28, "start"); + if (end == null) dart.nullFailed(I[24], 392, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[23], 397, 24, "start"); - if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + if (start == null) dart.nullFailed(I[24], 397, 24, "start"); + if (end == null) dart.nullFailed(I[24], 397, 35, "end"); core.RangeError.checkValidRange(start, end, this[$length]); if (dart.notNull(end) > dart.notNull(start)) { this[_closeGap](start, end); } } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[23], 404, 22, "start"); - if (end == null) dart.nullFailed(I[23], 404, 33, "end"); - EN().as(fill); + if (start == null) dart.nullFailed(I[24], 404, 22, "start"); + if (end == null) dart.nullFailed(I[24], 404, 33, "end"); + __t$EN().as(fill); let value = E.as(fill); core.RangeError.checkValidRange(start, end, this[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -14444,18 +15466,18 @@ collection.ListMixin$ = dart.generic(E => { } } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[23], 414, 21, "start"); - if (end == null) dart.nullFailed(I[23], 414, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + if (start == null) dart.nullFailed(I[24], 414, 21, "start"); + if (end == null) dart.nullFailed(I[24], 414, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[24], 414, 64, "skipCount"); core.RangeError.checkValidRange(start, end, this[$length]); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); let otherList = null; let otherStart = null; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -14476,10 +15498,10 @@ collection.ListMixin$ = dart.generic(E => { } } replaceRange(start, end, newContents) { - if (start == null) dart.nullFailed(I[23], 445, 25, "start"); - if (end == null) dart.nullFailed(I[23], 445, 36, "end"); - IterableOfE().as(newContents); - if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + if (start == null) dart.nullFailed(I[24], 445, 25, "start"); + if (end == null) dart.nullFailed(I[24], 445, 36, "end"); + __t$IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[24], 445, 53, "newContents"); core.RangeError.checkValidRange(start, end, this[$length]); if (start == this[$length]) { this[$addAll](newContents); @@ -14520,7 +15542,7 @@ collection.ListMixin$ = dart.generic(E => { } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (start == null) dart.nullFailed(I[24], 486, 37, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.equals(this[$_get](i), element)) return i; @@ -14528,8 +15550,8 @@ collection.ListMixin$ = dart.generic(E => { return -1; } indexWhere(test, start = 0) { - if (test == null) dart.nullFailed(I[23], 494, 23, "test"); - if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (test == null) dart.nullFailed(I[24], 494, 23, "test"); + if (start == null) dart.nullFailed(I[24], 494, 45, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.test(test(this[$_get](i)))) return i; @@ -14545,7 +15567,7 @@ collection.ListMixin$ = dart.generic(E => { return -1; } lastIndexWhere(test, start = null) { - if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (test == null) dart.nullFailed(I[24], 514, 27, "test"); if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; if (start == null) dart.throw("!"); for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -14554,7 +15576,7 @@ collection.ListMixin$ = dart.generic(E => { return -1; } insert(index, element) { - if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + if (index == null) dart.nullFailed(I[24], 526, 19, "index"); E.as(element); _internal.checkNotNullable(core.int, index, "index"); let length = this[$length]; @@ -14566,15 +15588,15 @@ collection.ListMixin$ = dart.generic(E => { } } removeAt(index) { - if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + if (index == null) dart.nullFailed(I[24], 537, 18, "index"); let result = this[$_get](index); this[_closeGap](index, dart.notNull(index) + 1); return result; } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[23], 543, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + if (index == null) dart.nullFailed(I[24], 543, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 543, 41, "iterable"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (index == this[$length]) { this[$addAll](iterable); @@ -14602,20 +15624,20 @@ collection.ListMixin$ = dart.generic(E => { this[$setAll](index, iterable); } setAll(index, iterable) { - let t27; - if (index == null) dart.nullFailed(I[23], 576, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + let t21; + if (index == null) dart.nullFailed(I[24], 576, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 576, 38, "iterable"); if (core.List.is(iterable)) { this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); } else { for (let element of iterable) { - this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + this[$_set]((t21 = index, index = dart.notNull(t21) + 1, t21), element); } } } get reversed() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "[", "]"); @@ -14730,6 +15752,7 @@ collection.ListMixin$ = dart.generic(E => { setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(ListMixin, () => ['_compareAny']); dart.setGetterSignature(ListMixin, () => ({ __proto__: dart.getGetters(ListMixin.__proto__), iterator: core.Iterator$(E), @@ -14754,7 +15777,7 @@ collection.ListMixin$ = dart.generic(E => { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(ListMixin, I[24]); + dart.setLibraryUri(ListMixin, I[25]); dart.defineExtensionMethods(ListMixin, [ 'elementAt', 'followedBy', @@ -14827,7 +15850,7 @@ collection.ListBase$ = dart.generic(E => { dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); class ListBase extends Object_ListMixin$36 { static listToString(list) { - if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + if (list == null) dart.nullFailed(I[24], 42, 35, "list"); return collection.IterableBase.iterableToFullString(list, "[", "]"); } } @@ -14837,25 +15860,26 @@ collection.ListBase$ = dart.generic(E => { dart.addTypeTests(ListBase); ListBase.prototype[_is_ListBase_default] = true; dart.addTypeCaches(ListBase); - dart.setLibraryUri(ListBase, I[24]); + dart.setStaticMethodSignature(ListBase, () => ['listToString']); + dart.setLibraryUri(ListBase, I[25]); return ListBase; }); collection.ListBase = collection.ListBase$(); dart.addTypeTests(collection.ListBase, _is_ListBase_default); const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); _internal.UnmodifiableListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class UnmodifiableListMixin extends core.Object { _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + if (index == null) dart.nullFailed(I[23], 89, 25, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 94, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); } set first(element) { @@ -14867,9 +15891,9 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 108, 19, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + if (at == null) dart.nullFailed(I[23], 108, 19, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 108, 35, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } add(value) { @@ -14877,30 +15901,30 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + if (index == null) dart.nullFailed(I[23], 118, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 123, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 123, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 123, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 128, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + if (test == null) dart.nullFailed(I[23], 138, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + if (test == null) dart.nullFailed(I[23], 143, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } sort(compare = null) { @@ -14913,36 +15937,36 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + if (index == null) dart.nullFailed(I[23], 163, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 173, 21, "start"); - if (end == null) dart.nullFailed(I[22], 173, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + if (start == null) dart.nullFailed(I[23], 173, 21, "start"); + if (end == null) dart.nullFailed(I[23], 173, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 173, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 178, 24, "start"); - if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + if (start == null) dart.nullFailed(I[23], 178, 24, "start"); + if (end == null) dart.nullFailed(I[23], 178, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 183, 25, "start"); - if (end == null) dart.nullFailed(I[22], 183, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 183, 25, "start"); + if (end == null) dart.nullFailed(I[23], 183, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 183, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 188, 22, "start"); - if (end == null) dart.nullFailed(I[22], 188, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 188, 22, "start"); + if (end == null) dart.nullFailed(I[23], 188, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } [Symbol.iterator]() { @@ -15005,7 +16029,7 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.setLibraryUri(UnmodifiableListMixin, I[26]); dart.defineExtensionMethods(UnmodifiableListMixin, [ '_set', 'setAll', @@ -15033,15 +16057,15 @@ _internal.UnmodifiableListMixin = _internal.UnmodifiableListMixin$(); dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); _internal.UnmodifiableListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; (ListBase_UnmodifiableListMixin$36.new = function() { }).prototype = ListBase_UnmodifiableListMixin$36.prototype; dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 208, 16, "newLength"); return super.length = newLength; } set first(element) { @@ -15060,15 +16084,15 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(value); super._set(index, value); return value$; } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.setAll(at, iterable); } add(value) { @@ -15076,30 +16100,30 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { return super.add(value); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(element); return super.insert(index, element); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.insertAll(at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.addAll(iterable); } remove(element) { return super.remove(element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.removeWhere(test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.retainWhere(test); } sort(compare = null) { @@ -15112,36 +16136,36 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { return super.clear(); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); return super.removeAt(index); } removeLast() { return super.removeLast(); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 208, 16, "skipCount"); return super.setRange(start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); return super.removeRange(start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.replaceRange(start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$EN().as(fillValue); return super.fillRange(start, end, fillValue); } } @@ -15161,7 +16185,7 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.setLibraryUri(UnmodifiableListBase, I[26]); dart.defineExtensionMethods(UnmodifiableListBase, [ '_set', 'setAll', @@ -15196,18 +16220,18 @@ core.num = class num extends core.Object { return dart.as(o, core.num); } static parse(input, onError = null) { - if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + if (input == null) dart.nullFailed(I[27], 573, 27, "input"); let result = core.num.tryParse(input); if (result != null) return result; if (onError == null) dart.throw(new core.FormatException.new(input)); return onError(input); } static tryParse(input) { - let t27; - if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let t21; + if (input == null) dart.nullFailed(I[27], 600, 31, "input"); let source = input[$trim](); - t27 = core.int.tryParse(source); - return t27 == null ? core.double.tryParse(source) : t27; + t21 = core.int.tryParse(source); + return t21 == null ? core.double.tryParse(source) : t21; } }; (core.num.new = function() { @@ -15215,7 +16239,8 @@ core.num = class num extends core.Object { }).prototype = core.num.prototype; dart.addTypeCaches(core.num); core.num[dart.implements] = () => [core.Comparable$(core.num)]; -dart.setLibraryUri(core.num, I[8]); +dart.setStaticMethodSignature(core.num, () => ['is', 'as', 'parse', 'tryParse']); +dart.setLibraryUri(core.num, I[9]); core.int = class int extends core.num { static is(o) { return typeof o == "number" && Math.floor(o) == o; @@ -15227,13 +16252,19 @@ core.int = class int extends core.num { return dart.as(o, core.int); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; - if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); + return core.int.fromEnvironment(name, {defaultValue: defaultValue}); + } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + if (source == null) dart.nullFailed(I[7], 238, 27, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let onError = opts && 'onError' in opts ? opts.onError : null; let value = core.int.tryParse(source, {radix: radix}); @@ -15242,14 +16273,19 @@ core.int = class int extends core.num { dart.throw(new core.FormatException.new(source)); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + if (source == null) dart.nullFailed(I[7], 247, 31, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return _js_helper.Primitives.parseInt(source, radix); } }; dart.addTypeCaches(core.int); -dart.setLibraryUri(core.int, I[8]); +dart.setStaticMethodSignature(core.int, () => ['is', 'as', 'fromEnvironment', 'parse', 'tryParse']); +dart.setLibraryUri(core.int, I[9]); _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + static ['_#new#tearOff'](_string) { + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); + return new _internal.CodeUnits.new(_string); + } get length() { return this[_string$].length; } @@ -15257,16 +16293,16 @@ _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(co super.length = value; } _get(i) { - if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + if (i == null) dart.nullFailed(I[22], 95, 23, "i"); return this[_string$][$codeUnitAt](i); } static stringOf(u) { - if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + if (u == null) dart.nullFailed(I[22], 97, 36, "u"); return u[_string$]; } }; (_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); this[_string$] = _string; ; }).prototype = _internal.CodeUnits.prototype; @@ -15277,12 +16313,13 @@ dart.setMethodSignature(_internal.CodeUnits, () => ({ _get: dart.fnType(core.int, [core.int]), [$_get]: dart.fnType(core.int, [core.int]) })); +dart.setStaticMethodSignature(_internal.CodeUnits, () => ['stringOf']); dart.setGetterSignature(_internal.CodeUnits, () => ({ __proto__: dart.getGetters(_internal.CodeUnits.__proto__), length: core.int, [$length]: core.int })); -dart.setLibraryUri(_internal.CodeUnits, I[25]); +dart.setLibraryUri(_internal.CodeUnits, I[26]); dart.setFieldSignature(_internal.CodeUnits, () => ({ __proto__: dart.getFields(_internal.CodeUnits.__proto__), [_string$]: dart.finalFieldType(core.String) @@ -15297,70 +16334,78 @@ _internal.ExternalName = class ExternalName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); + return new _internal.ExternalName.new(name); + } }; (_internal.ExternalName.new = function(name) { - if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); this[name$5] = name; ; }).prototype = _internal.ExternalName.prototype; dart.addTypeTests(_internal.ExternalName); dart.addTypeCaches(_internal.ExternalName); -dart.setLibraryUri(_internal.ExternalName, I[25]); +dart.setLibraryUri(_internal.ExternalName, I[26]); dart.setFieldSignature(_internal.ExternalName, () => ({ __proto__: dart.getFields(_internal.ExternalName.__proto__), name: dart.finalFieldType(core.String) })); _internal.SystemHash = class SystemHash extends core.Object { static combine(hash, value) { - if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); - if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + if (hash == null) dart.nullFailed(I[22], 183, 26, "hash"); + if (value == null) dart.nullFailed(I[22], 183, 36, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } static finish(hash) { - if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + if (hash == null) dart.nullFailed(I[22], 189, 25, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); } - static hash2(v1, v2) { - if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); - let hash = 0; + static hash2(v1, v2, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 195, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 195, 32, "v2"); + if (seed == null) dart.nullFailed(I[22], 195, 56, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); return _internal.SystemHash.finish(hash); } - static hash3(v1, v2, v3) { - if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); - let hash = 0; + static hash3(v1, v2, v3, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 202, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 202, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 202, 40, "v3"); + if (seed == null) dart.nullFailed(I[22], 202, 64, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); return _internal.SystemHash.finish(hash); } - static hash4(v1, v2, v3, v4) { - if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); - let hash = 0; + static hash4(v1, v2, v3, v4, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 210, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 210, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 210, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 210, 48, "v4"); + if (seed == null) dart.nullFailed(I[22], 211, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); hash = _internal.SystemHash.combine(hash, v4); return _internal.SystemHash.finish(hash); } - static hash5(v1, v2, v3, v4, v5) { - if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); - let hash = 0; + static hash5(v1, v2, v3, v4, v5, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 220, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 220, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 220, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 220, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 220, 56, "v5"); + if (seed == null) dart.nullFailed(I[22], 221, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15368,14 +16413,15 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v5); return _internal.SystemHash.finish(hash); } - static hash6(v1, v2, v3, v4, v5, v6) { - if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); - let hash = 0; + static hash6(v1, v2, v3, v4, v5, v6, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 231, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 231, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 231, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 231, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 231, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 231, 64, "v6"); + if (seed == null) dart.nullFailed(I[22], 232, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15384,15 +16430,16 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v6); return _internal.SystemHash.finish(hash); } - static hash7(v1, v2, v3, v4, v5, v6, v7) { - if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); - if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); - let hash = 0; + static hash7(v1, v2, v3, v4, v5, v6, v7, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 243, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 243, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 243, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 243, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 243, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 243, 64, "v6"); + if (v7 == null) dart.nullFailed(I[22], 243, 72, "v7"); + if (seed == null) dart.nullFailed(I[22], 244, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15402,16 +16449,17 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v7); return _internal.SystemHash.finish(hash); } - static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { - if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); - let hash = 0; + static hash8(v1, v2, v3, v4, v5, v6, v7, v8, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 257, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 257, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 257, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 257, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 257, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 257, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 257, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 257, 67, "v8"); + if (seed == null) dart.nullFailed(I[22], 258, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15422,17 +16470,18 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v8); return _internal.SystemHash.finish(hash); } - static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); - if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); - let hash = 0; + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 272, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 272, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 272, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 272, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 272, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 272, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 272, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 272, 67, "v8"); + if (v9 == null) dart.nullFailed(I[22], 272, 75, "v9"); + if (seed == null) dart.nullFailed(I[22], 273, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15444,18 +16493,243 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v9); return _internal.SystemHash.finish(hash); } - static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { - if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); - if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); - if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); - if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); - if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); - if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); - if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); - if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); - if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); - if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); - let hash = 0; + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 287, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 287, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 287, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 287, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 287, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 287, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 287, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 288, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 288, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 288, 27, "v10"); + if (seed == null) dart.nullFailed(I[22], 289, 27, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static hash11(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 305, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 305, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 305, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 305, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 305, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 305, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 305, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 306, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 306, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 306, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 306, 36, "v11"); + if (seed == null) dart.nullFailed(I[22], 307, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + return _internal.SystemHash.finish(hash); + } + static hash12(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 324, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 324, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 324, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 324, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 324, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 324, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 324, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 325, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 325, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 325, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 325, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 325, 45, "v12"); + if (seed == null) dart.nullFailed(I[22], 326, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + return _internal.SystemHash.finish(hash); + } + static hash13(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 344, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 344, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 344, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 344, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 344, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 344, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 344, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 345, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 345, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 345, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 345, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 345, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 345, 54, "v13"); + if (seed == null) dart.nullFailed(I[22], 346, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + return _internal.SystemHash.finish(hash); + } + static hash14(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 365, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 365, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 365, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 365, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 365, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 365, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 365, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 366, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 366, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 366, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 366, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 366, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 366, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 366, 63, "v14"); + if (seed == null) dart.nullFailed(I[22], 367, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + return _internal.SystemHash.finish(hash); + } + static hash15(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 387, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 387, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 387, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 387, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 387, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 387, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 387, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 388, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 388, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 388, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 388, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 388, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 388, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 388, 63, "v14"); + if (v15 == null) dart.nullFailed(I[22], 388, 72, "v15"); + if (seed == null) dart.nullFailed(I[22], 389, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + return _internal.SystemHash.finish(hash); + } + static hash16(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 411, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 412, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 413, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 414, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 415, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 416, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 417, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 418, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 419, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 420, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 421, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 422, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 423, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 424, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 425, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 426, 11, "v16"); + if (seed == null) dart.nullFailed(I[22], 427, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + return _internal.SystemHash.finish(hash); + } + static hash17(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 450, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 451, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 452, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 453, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 454, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 455, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 456, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 457, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 458, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 459, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 460, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 461, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 462, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 463, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 464, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 465, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 466, 11, "v17"); + if (seed == null) dart.nullFailed(I[22], 467, 12, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15466,10 +16740,146 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v8); hash = _internal.SystemHash.combine(hash, v9); hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + return _internal.SystemHash.finish(hash); + } + static hash18(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 491, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 492, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 493, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 494, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 495, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 496, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 497, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 498, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 499, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 500, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 501, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 502, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 503, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 504, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 505, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 506, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 507, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 508, 11, "v18"); + if (seed == null) dart.nullFailed(I[22], 509, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + return _internal.SystemHash.finish(hash); + } + static hash19(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 534, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 535, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 536, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 537, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 538, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 539, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 540, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 541, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 542, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 543, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 544, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 545, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 546, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 547, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 548, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 549, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 550, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 551, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 552, 11, "v19"); + if (seed == null) dart.nullFailed(I[22], 553, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + return _internal.SystemHash.finish(hash); + } + static hash20(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 579, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 580, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 581, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 582, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 583, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 584, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 585, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 586, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 587, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 588, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 589, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 590, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 591, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 592, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 593, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 594, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 595, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 596, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 597, 11, "v19"); + if (v20 == null) dart.nullFailed(I[22], 598, 11, "v20"); + if (seed == null) dart.nullFailed(I[22], 599, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + hash = _internal.SystemHash.combine(hash, v20); return _internal.SystemHash.finish(hash); } static smear(x) { - if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + if (x == null) dart.nullFailed(I[22], 635, 24, "x"); x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; @@ -15477,13 +16887,42 @@ _internal.SystemHash = class SystemHash extends core.Object { x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; return x; } + static ['_#new#tearOff']() { + return new _internal.SystemHash.new(); + } }; (_internal.SystemHash.new = function() { ; }).prototype = _internal.SystemHash.prototype; dart.addTypeTests(_internal.SystemHash); dart.addTypeCaches(_internal.SystemHash); -dart.setLibraryUri(_internal.SystemHash, I[25]); +dart.setStaticMethodSignature(_internal.SystemHash, () => ['combine', 'finish', 'hash2', 'hash3', 'hash4', 'hash5', 'hash6', 'hash7', 'hash8', 'hash9', 'hash10', 'hash11', 'hash12', 'hash13', 'hash14', 'hash15', 'hash16', 'hash17', 'hash18', 'hash19', 'hash20', 'smear']); +dart.setLibraryUri(_internal.SystemHash, I[26]); +const id$ = SentinelValue_id; +_internal.SentinelValue = class SentinelValue extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + return new _internal.SentinelValue.new(id); + } +}; +(_internal.SentinelValue.new = function(id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + this[id$] = id; + ; +}).prototype = _internal.SentinelValue.prototype; +dart.addTypeTests(_internal.SentinelValue); +dart.addTypeCaches(_internal.SentinelValue); +dart.setLibraryUri(_internal.SentinelValue, I[26]); +dart.setFieldSignature(_internal.SentinelValue, () => ({ + __proto__: dart.getFields(_internal.SentinelValue.__proto__), + id: dart.finalFieldType(core.int) +})); var version$ = dart.privateName(_internal, "Since.version"); _internal.Since = class Since extends core.Object { get version() { @@ -15492,21 +16931,28 @@ _internal.Since = class Since extends core.Object { set version(value) { super.version = value; } + static ['_#new#tearOff'](version) { + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); + return new _internal.Since.new(version); + } }; (_internal.Since.new = function(version) { - if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); this[version$] = version; ; }).prototype = _internal.Since.prototype; dart.addTypeTests(_internal.Since); dart.addTypeCaches(_internal.Since); -dart.setLibraryUri(_internal.Since, I[25]); +dart.setLibraryUri(_internal.Since, I[26]); dart.setFieldSignature(_internal.Since, () => ({ __proto__: dart.getFields(_internal.Since.__proto__), version: dart.finalFieldType(core.String) })); var _name$ = dart.privateName(_internal, "_name"); core.Error = class Error extends core.Object { + static ['_#new#tearOff']() { + return new core.Error.new(); + } static safeToString(object) { if (typeof object == 'number' || typeof object == 'boolean' || object == null) { return dart.toString(object); @@ -15517,38 +16963,57 @@ core.Error = class Error extends core.Object { return core.Error._objectToString(object); } static _stringToSafeString(string) { - if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + if (string == null) dart.nullFailed(I[7], 346, 44, "string"); return JSON.stringify(string); } static _objectToString(object) { - if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + if (object == null) dart.nullFailed(I[7], 341, 40, "object"); return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; } get stackTrace() { return dart.stackTraceForError(this); } + static throwWithStackTrace(error, stackTrace) { + if (error == null) dart.nullFailed(I[28], 117, 43, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 117, 61, "stackTrace"); + _internal.checkNotNullable(core.Object, error, "error"); + _internal.checkNotNullable(core.StackTrace, stackTrace, "stackTrace"); + core.Error._throw(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + static _throw(error, stackTrace) { + if (error == null) dart.nullFailed(I[7], 354, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[7], 354, 48, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); + dart.throw("unreachable"); + } }; (core.Error.new = function() { ; }).prototype = core.Error.prototype; dart.addTypeTests(core.Error); dart.addTypeCaches(core.Error); +dart.setStaticMethodSignature(core.Error, () => ['safeToString', '_stringToSafeString', '_objectToString', 'throwWithStackTrace', '_throw']); dart.setGetterSignature(core.Error, () => ({ __proto__: dart.getGetters(core.Error.__proto__), stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.Error, I[8]); +dart.setLibraryUri(core.Error, I[9]); dart.defineExtensionAccessors(core.Error, ['stackTrace']); const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); _internal.NotNullableError$ = dart.generic(T => { class NotNullableError extends core.Error { + static ['_#new#tearOff'](T, _name) { + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); + return new (_internal.NotNullableError$(T)).new(_name); + } toString() { - return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + return "Null is not a valid value for '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; } } (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); this[_name$] = _name; NotNullableError.__proto__.new.call(this); ; @@ -15557,7 +17022,7 @@ _internal.NotNullableError$ = dart.generic(T => { NotNullableError.prototype[_is_NotNullableError_default] = true; dart.addTypeCaches(NotNullableError); NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[25]); + dart.setLibraryUri(NotNullableError, I[26]); dart.setFieldSignature(NotNullableError, () => ({ __proto__: dart.getFields(NotNullableError.__proto__), [_name$]: dart.finalFieldType(core.String) @@ -15573,7 +17038,8 @@ _internal.HttpStatus = class HttpStatus extends core.Object {}; }).prototype = _internal.HttpStatus.prototype; dart.addTypeTests(_internal.HttpStatus); dart.addTypeCaches(_internal.HttpStatus); -dart.setLibraryUri(_internal.HttpStatus, I[25]); +dart.setLibraryUri(_internal.HttpStatus, I[26]); +dart.setStaticFieldSignature(_internal.HttpStatus, () => ['continue__', 'switchingProtocols', 'processing', 'ok', 'created', 'accepted', 'nonAuthoritativeInformation', 'noContent', 'resetContent', 'partialContent', 'multiStatus', 'alreadyReported', 'imUsed', 'multipleChoices', 'movedPermanently', 'found', 'movedTemporarily', 'seeOther', 'notModified', 'useProxy', 'temporaryRedirect', 'permanentRedirect', 'badRequest', 'unauthorized', 'paymentRequired', 'forbidden', 'notFound', 'methodNotAllowed', 'notAcceptable', 'proxyAuthenticationRequired', 'requestTimeout', 'conflict', 'gone', 'lengthRequired', 'preconditionFailed', 'requestEntityTooLarge', 'requestUriTooLong', 'unsupportedMediaType', 'requestedRangeNotSatisfiable', 'expectationFailed', 'misdirectedRequest', 'unprocessableEntity', 'locked', 'failedDependency', 'upgradeRequired', 'preconditionRequired', 'tooManyRequests', 'requestHeaderFieldsTooLarge', 'connectionClosedWithoutResponse', 'unavailableForLegalReasons', 'clientClosedRequest', 'internalServerError', 'notImplemented', 'badGateway', 'serviceUnavailable', 'gatewayTimeout', 'httpVersionNotSupported', 'variantAlsoNegotiates', 'insufficientStorage', 'loopDetected', 'notExtended', 'networkAuthenticationRequired', 'networkConnectTimeoutError', 'CONTINUE', 'SWITCHING_PROTOCOLS', 'OK', 'CREATED', 'ACCEPTED', 'NON_AUTHORITATIVE_INFORMATION', 'NO_CONTENT', 'RESET_CONTENT', 'PARTIAL_CONTENT', 'MULTIPLE_CHOICES', 'MOVED_PERMANENTLY', 'FOUND', 'MOVED_TEMPORARILY', 'SEE_OTHER', 'NOT_MODIFIED', 'USE_PROXY', 'TEMPORARY_REDIRECT', 'BAD_REQUEST', 'UNAUTHORIZED', 'PAYMENT_REQUIRED', 'FORBIDDEN', 'NOT_FOUND', 'METHOD_NOT_ALLOWED', 'NOT_ACCEPTABLE', 'PROXY_AUTHENTICATION_REQUIRED', 'REQUEST_TIMEOUT', 'CONFLICT', 'GONE', 'LENGTH_REQUIRED', 'PRECONDITION_FAILED', 'REQUEST_ENTITY_TOO_LARGE', 'REQUEST_URI_TOO_LONG', 'UNSUPPORTED_MEDIA_TYPE', 'REQUESTED_RANGE_NOT_SATISFIABLE', 'EXPECTATION_FAILED', 'UPGRADE_REQUIRED', 'INTERNAL_SERVER_ERROR', 'NOT_IMPLEMENTED', 'BAD_GATEWAY', 'SERVICE_UNAVAILABLE', 'GATEWAY_TIMEOUT', 'HTTP_VERSION_NOT_SUPPORTED', 'NETWORK_CONNECT_TIMEOUT_ERROR']); dart.defineLazy(_internal.HttpStatus, { /*_internal.HttpStatus.continue__*/get continue__() { return 100; @@ -15894,6 +17360,101 @@ dart.defineLazy(_internal.HttpStatus, { return 599; } }, false); +var _previousLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._previousLink"); +var _nextLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._nextLink"); +var element$ = dart.privateName(_internal, "DoubleLinkedQueueEntry.element"); +var _previousLink$ = dart.privateName(_internal, "_previousLink"); +var _nextLink$ = dart.privateName(_internal, "_nextLink"); +var _link = dart.privateName(_internal, "_link"); +const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); +_internal.DoubleLinkedQueueEntry$ = dart.generic(E => { + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); + class DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get element() { + return this[element$]; + } + set element(value) { + this[element$] = E.as(value); + } + static ['_#new#tearOff'](E, element) { + return new (_internal.DoubleLinkedQueueEntry$(E)).new(element); + } + [_link](previous, next) { + let t21, t21$; + this[_nextLink$] = next; + this[_previousLink$] = previous; + t21 = previous; + t21 == null ? null : t21[_nextLink$] = this; + t21$ = next; + t21$ == null ? null : t21$[_previousLink$] = this; + } + append(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + let t21, t21$; + t21 = this[_previousLink$]; + t21 == null ? null : t21[_nextLink$] = this[_nextLink$]; + t21$ = this[_nextLink$]; + t21$ == null ? null : t21$[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(element) { + this[_previousLink] = null; + this[_nextLink] = null; + this[element$] = element; + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), dart.nullable(_internal.DoubleLinkedQueueEntry$(E))]), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[26]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + [_nextLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + element: dart.fieldType(E) + })); + return DoubleLinkedQueueEntry; +}); +_internal.DoubleLinkedQueueEntry = _internal.DoubleLinkedQueueEntry$(); +dart.addTypeTests(_internal.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); var _source$ = dart.privateName(_internal, "_source"); var _add = dart.privateName(async, "_add"); var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); @@ -15902,53 +17463,64 @@ var _completeError = dart.privateName(async, "_completeError"); var _complete = dart.privateName(async, "_complete"); var _sink$ = dart.privateName(async, "_sink"); async.Stream$ = dart.generic(T => { - var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); - var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); - var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); - var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); - var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); - var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); - var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); - var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); - var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); - var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); - var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); - var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); - var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); - var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); - var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); - var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); - var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + var __t$_AsBroadcastStreamOfT = () => (__t$_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var __t$_WhereStreamOfT = () => (__t$_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_HandleErrorStreamOfT = () => (__t$_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var __t$StreamConsumerOfT = () => (__t$StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var __t$TAndTToT = () => (__t$TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$ListOfT = () => (__t$ListOfT = dart.constFn(core.List$(T)))(); + var __t$_FutureOfListOfT = () => (__t$_FutureOfListOfT = dart.constFn(async._Future$(__t$ListOfT())))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); + var __t$_FutureOfSetOfT = () => (__t$_FutureOfSetOfT = dart.constFn(async._Future$(__t$SetOfT())))(); + var __t$_TakeStreamOfT = () => (__t$_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var __t$_TakeWhileStreamOfT = () => (__t$_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var __t$_SkipStreamOfT = () => (__t$_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var __t$_SkipWhileStreamOfT = () => (__t$_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var __t$_DistinctStreamOfT = () => (__t$_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrOfTTovoid = () => (__t$FutureOrOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$FutureOrOfT()])))(); + var __t$_SyncBroadcastStreamControllerOfT = () => (__t$_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var __t$_SyncStreamControllerOfT = () => (__t$_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_ControllerEventSinkWrapperOfT = () => (__t$_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); class Stream extends core.Object { + static ['_#empty#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } static value(value) { - let t27; - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_add](value); - t27[_closeUnchecked](); - return t27; + let t21; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_add](value); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#value#tearOff'](T, value) { + return async.Stream$(T).value(value); + } static error(error, stackTrace = null) { - let t28, t27; - if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + let t22, t21; + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); - t27[_closeUnchecked](); - return t27; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_addError](error, (t22 = stackTrace, t22 == null ? async.AsyncError.defaultStackTrace(error) : t22)); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); + return async.Stream$(T).error(error, stackTrace); + } static fromFuture(future) { - if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); future.then(core.Null, dart.fn(value => { controller[_add](value); @@ -15959,8 +17531,12 @@ async.Stream$ = dart.generic(T => { }, T$.dynamicAnddynamicToNull())}); return controller.stream; } + static ['_#fromFuture#tearOff'](T, future) { + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); + return async.Stream$(T).fromFuture(future); + } static fromFutures(futures) { - if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let count = 0; function onValue(value) { @@ -15971,8 +17547,8 @@ async.Stream$ = dart.generic(T => { } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[28], 199, 25, "error"); - if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (error == null) dart.nullFailed(I[30], 305, 25, "error"); + if (stack == null) dart.nullFailed(I[30], 305, 43, "stack"); if (!dart.test(controller.isClosed)) { controller[_addError](error, stack); if ((count = count - 1) === 0) controller[_closeUnchecked](); @@ -15986,33 +17562,114 @@ async.Stream$ = dart.generic(T => { if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); return controller.stream; } + static ['_#fromFutures#tearOff'](T, futures) { + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); + return async.Stream$(T).fromFutures(futures); + } + static ['_#fromIterable#tearOff'](T, elements) { + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).fromIterable(elements); + } static fromIterable(elements) { - if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); - return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).multi(dart.fn(controller => { + if (controller == null) dart.nullFailed(I[30], 345, 24, "controller"); + let iterator = null; + try { + iterator = elements[$iterator]; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + controller.close(); + return; + } else + throw e$; + } + let zone = async.Zone.current; + let isScheduled = true; + function next() { + if (!dart.test(controller.hasListener) || dart.test(controller.isPaused)) { + isScheduled = false; + return; + } + let hasNext = null; + try { + hasNext = iterator.moveNext(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + controller.closeSync(); + return; + } else + throw e$; + } + if (dart.test(hasNext)) { + try { + controller.addSync(iterator.current); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + } else + throw e$0; + } + if (dart.test(controller.hasListener) && !dart.test(controller.isPaused)) { + zone.scheduleMicrotask(next); + } else { + isScheduled = false; + } + } else { + controller.closeSync(); + } + } + dart.fn(next, T$.VoidTovoid()); + controller.onResume = dart.fn(() => { + if (!isScheduled) { + isScheduled = true; + zone.scheduleMicrotask(next); + } + }, T$.VoidTovoid()); + zone.scheduleMicrotask(next); + }, dart.fnType(dart.void, [async.MultiStreamController$(T)]))); + } + static ['_#multi#tearOff'](T, onListen, opts) { + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); + return async.Stream$(T).multi(onListen, {isBroadcast: isBroadcast}); } static multi(onListen, opts) { - if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); return new (async._MultiStream$(T)).new(onListen, isBroadcast); } + static ['_#periodic#tearOff'](T, period, computation = null) { + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); + return async.Stream$(T).periodic(period, computation); + } static periodic(period, computation = null) { - if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); } let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let watch = new core.Stopwatch.new(); controller.onListen = dart.fn(() => { - let t28; + let t25; let computationCount = 0; function sendEvent(_) { - let t27; + let t24; watch.reset(); if (computation != null) { let event = null; try { - event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -16029,17 +17686,17 @@ async.Stream$ = dart.generic(T => { } dart.fn(sendEvent, T$.dynamicTovoid()); let timer = async.Timer.periodic(period, sendEvent); - t28 = controller; + t25 = controller; (() => { - t28.onCancel = dart.fn(() => { + t25.onCancel = dart.fn(() => { timer.cancel(); return async.Future._nullFuture; }, T$.VoidTo_FutureOfNull()); - t28.onPause = dart.fn(() => { + t25.onPause = dart.fn(() => { watch.stop(); timer.cancel(); }, T$.VoidTovoid()); - t28.onResume = dart.fn(() => { + t25.onResume = dart.fn(() => { let elapsed = watch.elapsed; watch.start(); timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { @@ -16047,18 +17704,23 @@ async.Stream$ = dart.generic(T => { sendEvent(null); }, T$.VoidTovoid())); }, T$.VoidTovoid()); - return t28; + return t25; })(); }, T$.VoidTovoid()); return controller.stream; } static eventTransformed(source, mapSink) { - if (source == null) dart.nullFailed(I[28], 403, 23, "source"); - if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); } + static ['_#eventTransformed#tearOff'](T, source, mapSink) { + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); + return async.Stream$(T).eventTransformed(source, mapSink); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + if (source == null) dart.nullFailed(I[30], 585, 45, "source"); return new (_internal.CastStream$(S, T)).new(source); } get isBroadcast() { @@ -16067,18 +17729,18 @@ async.Stream$ = dart.generic(T => { asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); } where(test) { - if (test == null) dart.nullFailed(I[28], 493, 24, "test"); - return new (_WhereStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 725, 24, "test"); + return new (__t$_WhereStreamOfT()).new(this, test); } map(S, convert) { - if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + if (convert == null) dart.nullFailed(I[30], 769, 22, "convert"); return new (async._MapStream$(T, S)).new(this, convert); } asyncMap(E, convert) { - if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + if (convert == null) dart.nullFailed(I[30], 781, 37, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16086,7 +17748,7 @@ async.Stream$ = dart.generic(T => { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t29; + let t26; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); function add(value) { controller.add(value); @@ -16113,21 +17775,21 @@ async.Stream$ = dart.generic(T => { } else { controller.add(E.as(newValue)); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t29 = controller; + t26 = controller; (() => { - t29.onPause = dart.bind(subscription, 'pause'); - t29.onResume = resume; - return t29; + t26.onPause = dart.bind(subscription, 'pause'); + t26.onResume = resume; + return t26; })(); } }, T$.VoidTovoid()); return controller.stream; } asyncExpand(E, convert) { - if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + if (convert == null) dart.nullFailed(I[30], 841, 39, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16135,7 +17797,7 @@ async.Stream$ = dart.generic(T => { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t30; + let t27; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); subscription.onData(dart.fn(event => { let newStream = null; @@ -16154,54 +17816,64 @@ async.Stream$ = dart.generic(T => { subscription.pause(); controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t30 = controller; + t27 = controller; (() => { - t30.onPause = dart.bind(subscription, 'pause'); - t30.onResume = dart.bind(subscription, 'resume'); - return t30; + t27.onPause = dart.bind(subscription, 'pause'); + t27.onResume = dart.bind(subscription, 'resume'); + return t27; })(); } }, T$.VoidTovoid()); return controller.stream; } handleError(onError, opts) { - if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + if (onError == null) dart.nullFailed(I[30], 923, 34, "onError"); let test = opts && 'test' in opts ? opts.test : null; - return new (_HandleErrorStreamOfT()).new(this, onError, test); + let callback = null; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + callback = onError; + } else if (T$.ObjectTovoid().is(onError)) { + callback = dart.fn((error, _) => { + if (error == null) dart.nullFailed(I[30], 928, 26, "error"); + if (_ == null) dart.nullFailed(I[30], 928, 44, "_"); + onError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments.")); + } + return new (__t$_HandleErrorStreamOfT()).new(this, callback, test); } expand(S, convert) { - if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + if (convert == null) dart.nullFailed(I[30], 958, 35, "convert"); return new (async._ExpandStream$(T, S)).new(this, convert); } pipe(streamConsumer) { - StreamConsumerOfT().as(streamConsumer); - if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + __t$StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[30], 976, 33, "streamConsumer"); return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); } transform(S, streamTransformer) { async.StreamTransformer$(T, S).as(streamTransformer); - if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + if (streamTransformer == null) dart.nullFailed(I[30], 1005, 50, "streamTransformer"); return streamTransformer.bind(this); } reduce(combine) { - TAndTToT().as(combine); - if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); - let result = new (_FutureOfT()).new(); + __t$TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[30], 1033, 22, "combine"); + let result = new (__t$_FutureOfT()).new(); let seenFirst = false; let value = null; let value$35isSet = false; function value$35get() { return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); } - dart.fn(value$35get, VoidToT()); - function value$35set(t33) { + function value$35set(value$35param) { value$35isSet = true; - return value = t33; + return value = value$35param; } - dart.fn(value$35set, TTodynamic()); let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { if (!seenFirst) { try { @@ -16220,18 +17892,18 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { value$35set(newValue); - }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); } else { value$35set(element); seenFirst = true; } - }, TTovoid())); + }, __t$TTovoid())); return result; } fold(S, initialValue, combine) { - if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + if (combine == null) dart.nullFailed(I[30], 1087, 39, "combine"); let result = new (async._Future$(S)).new(); let value = initialValue; let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { @@ -16241,11 +17913,11 @@ async.Stream$ = dart.generic(T => { async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { value = newValue; }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); - }, TTovoid())); + }, __t$TTovoid())); return result; } join(separator = "") { - if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + if (separator == null) dart.nullFailed(I[30], 1121, 31, "separator"); let result = new (T$._FutureOfString()).new(); let buffer = new core.StringBuffer.new(); let first = true; @@ -16263,7 +17935,7 @@ async.Stream$ = dart.generic(T => { } else throw e$; } - }, TTovoid()) : dart.fn(element => { + }, __t$TTovoid()) : dart.fn(element => { if (!first) { buffer.write(separator); } @@ -16278,7 +17950,7 @@ async.Stream$ = dart.generic(T => { } else throw e$; } - }, TTovoid())); + }, __t$TTovoid())); return result; } contains(needle) { @@ -16288,16 +17960,16 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1175, 53, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } forEach(action) { - if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + if (action == null) dart.nullFailed(I[30], 1192, 23, "action"); let future = new async._Future.new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](null); @@ -16305,39 +17977,39 @@ async.Stream$ = dart.generic(T => { subscription.onData(dart.fn(element => { async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } every(test) { - if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + if (test == null) dart.nullFailed(I[30], 1226, 27, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](true); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1233, 47, "isMatch"); if (!dart.test(isMatch)) { async._cancelAndValue(subscription, future, false); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } any(test) { - if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + if (test == null) dart.nullFailed(I[30], 1264, 25, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](false); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1271, 47, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } get length() { @@ -16345,7 +18017,7 @@ async.Stream$ = dart.generic(T => { let count = 0; this.listen(dart.fn(_ => { count = count + 1; - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](count); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16357,28 +18029,28 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(_ => { async._cancelAndValue(subscription, future, false); - }, TTovoid())); + }, __t$TTovoid())); return future; } cast(R) { return async.Stream.castFrom(T, R, this); } toList() { - let result = JSArrayOfT().of([]); - let future = new (_FutureOfListOfT()).new(); + let result = __t$JSArrayOfT().of([]); + let future = new (__t$_FutureOfListOfT()).new(); this.listen(dart.fn(data => { result[$add](data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; } toSet() { - let result = new (_HashSetOfT()).new(); - let future = new (_FutureOfSetOfT()).new(); + let result = new (__t$_HashSetOfT()).new(); + let future = new (__t$_FutureOfSetOfT()).new(); this.listen(dart.fn(data => { result.add(data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16390,26 +18062,26 @@ async.Stream$ = dart.generic(T => { return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); } take(count) { - if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); - return new (_TakeStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1444, 22, "count"); + return new (__t$_TakeStreamOfT()).new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); - return new (_TakeWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1475, 28, "test"); + return new (__t$_TakeWhileStreamOfT()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); - return new (_SkipStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1499, 22, "count"); + return new (__t$_SkipStreamOfT()).new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); - return new (_SkipWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1527, 28, "test"); + return new (__t$_SkipWhileStreamOfT()).new(this, test); } distinct(equals = null) { - return new (_DistinctStreamOfT()).new(this, equals); + return new (__t$_DistinctStreamOfT()).new(this, equals); } get first() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { try { dart.throw(_internal.IterableElementError.noElement()); @@ -16424,27 +18096,25 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._cancelAndValue(subscription, future, value); - }, TTovoid())); + }, __t$TTovoid())); return future; } get last() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t42) { + function result$35set(result$35param) { result$35isSet = true; - return result = t42; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; this.listen(dart.fn(value => { foundResult = true; result$35set(value); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { future[_complete](result$35get()); return; @@ -16463,18 +18133,16 @@ async.Stream$ = dart.generic(T => { return future; } get single() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t48) { + function result$35set(result$35param) { result$35isSet = true; - return result = t48; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16508,17 +18176,17 @@ async.Stream$ = dart.generic(T => { } foundResult = true; result$35set(value); - }, TTovoid())); + }, __t$TTovoid())); return future; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16534,30 +18202,28 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1716, 45, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t56) { + function result$35set(result$35param) { result$35isSet = true; - return result = t56; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16565,7 +18231,7 @@ async.Stream$ = dart.generic(T => { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16581,31 +18247,29 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1767, 45, "isMatch"); if (dart.test(isMatch)) { foundResult = true; result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t62) { + function result$35set(result$35param) { result$35isSet = true; - return result = t62; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16613,7 +18277,7 @@ async.Stream$ = dart.generic(T => { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16629,7 +18293,7 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1818, 45, "isMatch"); if (dart.test(isMatch)) { if (foundResult) { try { @@ -16648,17 +18312,17 @@ async.Stream$ = dart.generic(T => { result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } elementAt(index) { - if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); core.RangeError.checkNotNegative(index, "index"); - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); let elementIndex = 0; let subscription = null; subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + result[_completeError](new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { if (index === elementIndex) { @@ -16666,17 +18330,17 @@ async.Stream$ = dart.generic(T => { return; } elementIndex = elementIndex + 1; - }, TTovoid())); + }, __t$TTovoid())); return result; } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[30], 1924, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; let controller = null; if (dart.test(this.isBroadcast)) { - controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + controller = new (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); } else { - controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); } let zone = async.Zone.current; let timeoutCallback = null; @@ -16685,54 +18349,54 @@ async.Stream$ = dart.generic(T => { controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); }, T$.VoidTovoid()); } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); - let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); + let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); timeoutCallback = dart.fn(() => { wrapper[_sink$] = controller; - zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); wrapper[_sink$] = null; }, T$.VoidTovoid()); } controller.onListen = dart.fn(() => { - let t66, t66$; + let t58, t58$; let timer = zone.createTimer(timeLimit, timeoutCallback); let subscription = this.listen(null); - t66 = subscription; + t58 = subscription; (() => { - t66.onData(dart.fn(event => { + t58.onData(dart.fn(event => { timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller.add(event); - }, TTovoid())); - t66.onError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + }, __t$TTovoid())); + t58.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[30], 1966, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[30], 1966, 45, "stackTrace"); timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller[_addError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())); - t66.onDone(dart.fn(() => { + t58.onDone(dart.fn(() => { timer.cancel(); controller.close(); }, T$.VoidTovoid())); - return t66; + return t58; })(); controller.onCancel = dart.fn(() => { timer.cancel(); return subscription.cancel(); }, T$.VoidToFutureOfvoid()); if (!dart.test(this.isBroadcast)) { - t66$ = controller; + t58$ = controller; (() => { - t66$.onPause = dart.fn(() => { + t58$.onPause = dart.fn(() => { timer.cancel(); subscription.pause(); }, T$.VoidTovoid()); - t66$.onResume = dart.fn(() => { + t58$.onResume = dart.fn(() => { subscription.resume(); timer = zone.createTimer(timeLimit, timeoutCallback); }, T$.VoidTovoid()); - return t66$; + return t58$; })(); } }, T$.VoidTovoid()); @@ -16781,6 +18445,7 @@ async.Stream$ = dart.generic(T => { elementAt: dart.fnType(async.Future$(T), [core.int]), timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) })); + dart.setStaticMethodSignature(Stream, () => ['empty', 'value', 'error', 'fromFuture', 'fromFutures', 'fromIterable', 'multi', 'periodic', 'eventTransformed', 'castFrom']); dart.setGetterSignature(Stream, () => ({ __proto__: dart.getGetters(Stream.__proto__), isBroadcast: core.bool, @@ -16790,28 +18455,33 @@ async.Stream$ = dart.generic(T => { last: async.Future$(T), single: async.Future$(T) })); - dart.setLibraryUri(Stream, I[29]); + dart.setLibraryUri(Stream, I[31]); + dart.setStaticFieldSignature(Stream, () => ['_redirecting#']); return Stream; }); async.Stream = async.Stream$(); dart.addTypeTests(async.Stream, dart.isStream); const _is_CastStream_default = Symbol('_is_CastStream_default'); _internal.CastStream$ = dart.generic((S, T) => { - var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + var __t$CastStreamSubscriptionOfS$T = () => (__t$CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); class CastStream extends async.Stream$(T) { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); + return new (_internal.CastStream$(S, T)).new(_source); + } get isBroadcast() { return this[_source$].isBroadcast; } listen(onData, opts) { - let t27; + let t21; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); return (() => { - t27.onData(onData); - t27.onError(onError); - return t27; + t21.onData(onData); + t21.onError(onError); + return t21; })(); } cast(R) { @@ -16819,7 +18489,7 @@ _internal.CastStream$ = dart.generic((S, T) => { } } (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); this[_source$] = _source; CastStream.__proto__.new.call(this); ; @@ -16832,7 +18502,7 @@ _internal.CastStream$ = dart.generic((S, T) => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStream, I[25]); + dart.setLibraryUri(CastStream, I[26]); dart.setFieldSignature(CastStream, () => ({ __proto__: dart.getFields(CastStream.__proto__), [_source$]: dart.finalFieldType(async.Stream$(S)) @@ -16848,6 +18518,10 @@ var _onData = dart.privateName(_internal, "_onData"); const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); _internal.CastStreamSubscription$ = dart.generic((S, T) => { class CastStreamSubscription extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); + return new (_internal.CastStreamSubscription$(S, T)).new(_source); + } cancel() { return this[_source$].cancel(); } @@ -16907,7 +18581,7 @@ _internal.CastStreamSubscription$ = dart.generic((S, T) => { } } (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); this[_zone] = async.Zone.current; this[_handleData] = null; this[_handleError] = null; @@ -16934,7 +18608,7 @@ _internal.CastStreamSubscription$ = dart.generic((S, T) => { __proto__: dart.getGetters(CastStreamSubscription.__proto__), isPaused: core.bool })); - dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setLibraryUri(CastStreamSubscription, I[26]); dart.setFieldSignature(CastStreamSubscription, () => ({ __proto__: dart.getFields(CastStreamSubscription.__proto__), [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), @@ -16964,26 +18638,30 @@ async.StreamTransformerBase$ = dart.generic((S, T) => { __proto__: dart.getMethods(StreamTransformerBase.__proto__), cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(StreamTransformerBase, I[29]); + dart.setLibraryUri(StreamTransformerBase, I[31]); return StreamTransformerBase; }); async.StreamTransformerBase = async.StreamTransformerBase$(); dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(_source); + } cast(RS, RT) { return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 108, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } } (CastStreamTransformer.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); this[_source$] = _source; CastStreamTransformer.__proto__.new.call(this); ; @@ -16996,7 +18674,7 @@ _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setLibraryUri(CastStreamTransformer, I[26]); dart.setFieldSignature(CastStreamTransformer, () => ({ __proto__: dart.getFields(CastStreamTransformer.__proto__), [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) @@ -17007,29 +18685,29 @@ _internal.CastStreamTransformer = _internal.CastStreamTransformer$(); dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); const _is_Converter_default = Symbol('_is_Converter_default'); convert.Converter$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class Converter extends async.StreamTransformerBase$(S, T) { static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + if (source == null) dart.nullFailed(I[32], 21, 71, "source"); return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); } fuse(TT, other) { convert.Converter$(T, TT).as(other); - if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + if (other == null) dart.nullFailed(I[32], 31, 46, "other"); return new (convert._FusedConverter$(S, T, TT)).new(this, other); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 39, 42, "sink"); dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); - return StreamOfT().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[32], 44, 28, "stream"); + return __t$StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[32], 46, 28, "sink"); return new convert._ConverterStreamEventSink.new(this, sink); }, T$.EventSinkTo_ConverterStreamEventSink())); } @@ -17051,22 +18729,27 @@ convert.Converter$ = dart.generic((S, T) => { bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(Converter, I[31]); + dart.setStaticMethodSignature(Converter, () => ['castFrom']); + dart.setLibraryUri(Converter, I[33]); return Converter; }); convert.Converter = convert.Converter$(); dart.addTypeTests(convert.Converter, _is_Converter_default); const _is_CastConverter_default = Symbol('_is_CastConverter_default'); _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastConverter extends convert.Converter$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(_source); + } convert(input) { TS.as(input); return TT.as(this[_source$].convert(SS.as(input))); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 120, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } cast(RS, RT) { @@ -17074,7 +18757,7 @@ _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { } } (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); this[_source$] = _source; CastConverter.__proto__.new.call(this); ; @@ -17087,7 +18770,7 @@ _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { convert: dart.fnType(TT, [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastConverter, I[25]); + dart.setLibraryUri(CastConverter, I[26]); dart.setFieldSignature(CastConverter, () => ({ __proto__: dart.getFields(CastConverter.__proto__), [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) @@ -17099,29 +18782,38 @@ dart.addTypeTests(_internal.CastConverter, _is_CastConverter_default); _internal.BytesBuilder = class BytesBuilder extends core.Object { static new(opts) { let copy = opts && 'copy' in opts ? opts.copy : true; - if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); } + static ['_#new#tearOff'](opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); + return _internal.BytesBuilder.new({copy: copy}); + } }; (_internal.BytesBuilder[dart.mixinNew] = function() { }).prototype = _internal.BytesBuilder.prototype; dart.addTypeTests(_internal.BytesBuilder); dart.addTypeCaches(_internal.BytesBuilder); -dart.setLibraryUri(_internal.BytesBuilder, I[25]); +dart.setStaticMethodSignature(_internal.BytesBuilder, () => ['new']); +dart.setLibraryUri(_internal.BytesBuilder, I[26]); var _length$ = dart.privateName(_internal, "_length"); var _buffer = dart.privateName(_internal, "_buffer"); var _grow = dart.privateName(_internal, "_grow"); var _clear = dart.privateName(_internal, "_clear"); _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff']() { + return new _internal._CopyingBytesBuilder.new(); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 89, 22, "bytes"); let byteCount = bytes[$length]; if (byteCount === 0) return; let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); if (dart.notNull(this[_buffer][$length]) < required) { this[_grow](required); } - if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[34], 96, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer][$setRange](this[_length$], required, bytes); } else { @@ -17132,16 +18824,16 @@ _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object this[_length$] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (byte == null) dart.nullFailed(I[34], 107, 20, "byte"); if (this[_buffer][$length] == this[_length$]) { this[_grow](this[_length$]); } - if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[34], 113, 12, "_buffer.length > _length"); this[_buffer][$_set](this[_length$], byte); this[_length$] = dart.notNull(this[_length$]) + 1; } [_grow](required) { - if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + if (required == null) dart.nullFailed(I[34], 118, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -17179,8 +18871,8 @@ _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object this[_buffer] = _internal._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[32], 161, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + if (x == null) dart.nullFailed(I[34], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[34], 162, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -17208,18 +18900,20 @@ dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ clear: dart.fnType(dart.void, []), [_clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_internal._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); +dart.setLibraryUri(_internal._CopyingBytesBuilder, I[26]); dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_buffer]: dart.fieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(_internal._CopyingBytesBuilder, () => ['_initSize', '_emptyList']); dart.defineLazy(_internal._CopyingBytesBuilder, { /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { return 1024; @@ -17231,7 +18925,7 @@ dart.defineLazy(_internal._CopyingBytesBuilder, { var _chunks = dart.privateName(_internal, "_chunks"); _internal._BytesBuilder = class _BytesBuilder extends core.Object { add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); let typedBytes = null; if (typed_data.Uint8List.is(bytes)) { typedBytes = bytes; @@ -17242,11 +18936,11 @@ _internal._BytesBuilder = class _BytesBuilder extends core.Object { this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); } addByte(byte) { - let t67; - if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); - this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { - t67[$_set](0, byte); - return t67; + let t59; + if (byte == null) dart.nullFailed(I[34], 192, 20, "byte"); + this[_chunks][$add]((t59 = _native_typed_data.NativeUint8List.new(1), (() => { + t59[$_set](0, byte); + return t59; })())); this[_length$] = dart.notNull(this[_length$]) + 1; } @@ -17292,6 +18986,9 @@ _internal._BytesBuilder = class _BytesBuilder extends core.Object { this[_length$] = 0; this[_chunks][$clear](); } + static ['_#new#tearOff']() { + return new _internal._BytesBuilder.new(); + } }; (_internal._BytesBuilder.new = function() { this[_length$] = 0; @@ -17316,35 +19013,41 @@ dart.setGetterSignature(_internal._BytesBuilder, () => ({ isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(_internal._BytesBuilder, I[25]); +dart.setLibraryUri(_internal._BytesBuilder, I[26]); dart.setFieldSignature(_internal._BytesBuilder, () => ({ __proto__: dart.getFields(_internal._BytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) })); core.Iterable$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class Iterable extends core.Object { static generate(count, generator = null) { - if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); return new (core._GeneratorIterable$(E)).new(count, generator); } + static ['_#generate#tearOff'](E, count, generator = null) { + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); + return core.Iterable$(E).generate(count, generator); + } + static ['_#empty#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + if (source == null) dart.nullFailed(I[36], 119, 49, "source"); return _internal.CastIterable$(S, T).new(source); } [Symbol.iterator]() { @@ -17354,28 +19057,28 @@ core.Iterable$ = dart.generic(E => { return core.Iterable.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[36], 172, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } - map(T, f) { - if (f == null) dart.nullFailed(I[34], 185, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[36], 217, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } where(test) { - if (test == null) dart.nullFailed(I[34], 199, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 239, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[34], 230, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[36], 280, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } contains(element) { for (let e of this) { @@ -17383,14 +19086,14 @@ core.Iterable$ = dart.generic(E => { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[36], 324, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[36], 350, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -17402,21 +19105,21 @@ core.Iterable$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + if (combine == null) dart.nullFailed(I[36], 383, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(test) { - if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + if (test == null) dart.nullFailed(I[36], 401, 19, "test"); for (let element of this) { if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + if (separator == null) dart.nullFailed(I[36], 421, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -17434,7 +19137,7 @@ core.Iterable$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + if (test == null) dart.nullFailed(I[36], 450, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -17442,14 +19145,14 @@ core.Iterable$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().of(this); + return __t$LinkedHashSetOfE().of(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[36], 494, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -17464,20 +19167,20 @@ core.Iterable$ = dart.generic(E => { return !dart.test(this[$isEmpty]); } take(count) { - if (count == null) dart.nullFailed(I[34], 412, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 543, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[34], 424, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 564, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[34], 442, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 589, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[34], 456, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 612, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -17505,9 +19208,9 @@ core.Iterable$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + if (test == null) dart.nullFailed(I[36], 676, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -17515,20 +19218,18 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + if (test == null) dart.nullFailed(I[36], 705, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t70) { + function result$35set(result$35param) { result$35isSet = true; - return result = t70; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17541,20 +19242,18 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + if (test == null) dart.nullFailed(I[36], 742, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t75) { + function result$35set(result$35param) { result$35isSet = true; - return result = t75; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17570,14 +19269,14 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + if (index == null) dart.nullFailed(I[36], 774, 19, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; for (let element of this) { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -17638,6 +19337,7 @@ core.Iterable$ = dart.generic(E => { elementAt: dart.fnType(E, [core.int]), [$elementAt]: dart.fnType(E, [core.int]) })); + dart.setStaticMethodSignature(Iterable, () => ['generate', 'empty', 'castFrom']); dart.setGetterSignature(Iterable, () => ({ __proto__: dart.getGetters(Iterable.__proto__), length: core.int, @@ -17653,7 +19353,8 @@ core.Iterable$ = dart.generic(E => { single: E, [$single]: E })); - dart.setLibraryUri(Iterable, I[8]); + dart.setLibraryUri(Iterable, I[9]); + dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); dart.defineExtensionMethods(Iterable, [ 'cast', 'followedBy', @@ -17694,15 +19395,15 @@ core.Iterable = core.Iterable$(); dart.addTypeTests(core.Iterable, dart.isIterable); const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); _internal._CastIterableBase$ = dart.generic((S, T) => { - var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var __t$CastIteratorOfS$T = () => (__t$CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$VoidToS = () => (__t$VoidToS = dart.constFn(dart.fnType(S, [])))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); class _CastIterableBase extends core.Iterable$(T) { get iterator() { - return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + return new (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); } get length() { return this[_source$][$length]; @@ -17714,15 +19415,15 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { return this[_source$][$isNotEmpty]; } skip(count) { - if (count == null) dart.nullFailed(I[33], 39, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$skip](count)); + if (count == null) dart.nullFailed(I[35], 39, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$skip](count)); } take(count) { - if (count == null) dart.nullFailed(I[33], 40, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$take](count)); + if (count == null) dart.nullFailed(I[35], 40, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$take](count)); } elementAt(index) { - if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + if (index == null) dart.nullFailed(I[35], 42, 19, "index"); return T.as(this[_source$][$elementAt](index)); } get first() { @@ -17738,10 +19439,10 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { return this[_source$][$contains](other); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + if (test == null) dart.nullFailed(I[35], 51, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + __t$VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), __t$STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), __t$VoidToS())})); } toString() { return dart.toString(this[_source$]); @@ -17759,7 +19460,7 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(_CastIterableBase, I[25]); + dart.setLibraryUri(_CastIterableBase, I[26]); dart.defineExtensionMethods(_CastIterableBase, [ 'skip', 'take', @@ -17784,6 +19485,10 @@ dart.addTypeTests(_internal._CastIterableBase, _is__CastIterableBase_default); const _is_CastIterator_default = Symbol('_is_CastIterator_default'); _internal.CastIterator$ = dart.generic((S, T) => { class CastIterator extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); + return new (_internal.CastIterator$(S, T)).new(_source); + } moveNext() { return this[_source$].moveNext(); } @@ -17792,7 +19497,7 @@ _internal.CastIterator$ = dart.generic((S, T) => { } } (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); this[_source$] = _source; ; }).prototype = CastIterator.prototype; @@ -17808,7 +19513,7 @@ _internal.CastIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(CastIterator.__proto__), current: T })); - dart.setLibraryUri(CastIterator, I[25]); + dart.setLibraryUri(CastIterator, I[26]); dart.setFieldSignature(CastIterator, () => ({ __proto__: dart.getFields(CastIterator.__proto__), [_source$]: dart.fieldType(core.Iterator$(S)) @@ -17827,19 +19532,27 @@ _internal.CastIterable$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#_#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); + return new (_internal.CastIterable$(S, T)).__(_source); + } static new(source) { - if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); if (_internal.EfficientLengthIterable$(S).is(source)) { return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); } return new (_internal.CastIterable$(S, T)).__(source); } + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); + return _internal.CastIterable$(S, T).new(source); + } cast(R) { return _internal.CastIterable$(S, R).new(this[_source$]); } } (CastIterable.__ = function(_source) { - if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); this[_source$0] = _source; CastIterable.__proto__.new.call(this); ; @@ -17852,7 +19565,8 @@ _internal.CastIterable$ = dart.generic((S, T) => { cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastIterable, I[25]); + dart.setStaticMethodSignature(CastIterable, () => ['new']); + dart.setLibraryUri(CastIterable, I[26]); dart.setFieldSignature(CastIterable, () => ({ __proto__: dart.getFields(CastIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)) @@ -17864,9 +19578,14 @@ _internal.CastIterable = _internal.CastIterable$(); dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { - class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) { + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + } (_EfficientLengthCastIterable.new = function(source) { - if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); _EfficientLengthCastIterable.__proto__.__.call(this, source); ; }).prototype = _EfficientLengthCastIterable.prototype; @@ -17874,19 +19593,19 @@ _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; dart.addTypeCaches(_EfficientLengthCastIterable); _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + dart.setLibraryUri(_EfficientLengthCastIterable, I[26]); return _EfficientLengthCastIterable; }); _internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); const _is__CastListBase_default = Symbol('_is__CastListBase_default'); _internal._CastListBase$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$SAndSToint = () => (__t$SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; (_CastIterableBase_ListMixin$36.new = function() { _CastIterableBase_ListMixin$36.__proto__.new.call(this); @@ -17894,18 +19613,18 @@ _internal._CastListBase$ = dart.generic((S, T) => { dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); class _CastListBase extends _CastIterableBase_ListMixin$36 { _get(index) { - if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + if (index == null) dart.nullFailed(I[35], 99, 21, "index"); return T.as(this[_source$][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + if (index == null) dart.nullFailed(I[35], 101, 25, "index"); T.as(value); this[_source$][$_set](index, S.as(value)); return value$; } set length(length) { - if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + if (length == null) dart.nullFailed(I[35], 105, 23, "length"); this[_source$][$length] = length; } get length() { @@ -17916,81 +19635,81 @@ _internal._CastListBase$ = dart.generic((S, T) => { this[_source$][$add](S.as(value)); } addAll(values) { - IterableOfT().as(values); - if (values == null) dart.nullFailed(I[33], 113, 27, "values"); - this[_source$][$addAll](CastIterableOfT$S().new(values)); + __t$IterableOfT().as(values); + if (values == null) dart.nullFailed(I[35], 113, 27, "values"); + this[_source$][$addAll](__t$CastIterableOfT$S().new(values)); } sort(compare = null) { - this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), __t$SAndSToint())); } shuffle(random = null) { this[_source$][$shuffle](random); } insert(index, element) { - if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + if (index == null) dart.nullFailed(I[35], 126, 19, "index"); T.as(element); this[_source$][$insert](index, S.as(element)); } insertAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 130, 22, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); - this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 130, 22, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 130, 41, "elements"); + this[_source$][$insertAll](index, __t$CastIterableOfT$S().new(elements)); } setAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 134, 19, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); - this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 134, 19, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 134, 38, "elements"); + this[_source$][$setAll](index, __t$CastIterableOfT$S().new(elements)); } remove(value) { return this[_source$][$remove](value); } removeAt(index) { - if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + if (index == null) dart.nullFailed(I[35], 140, 18, "index"); return T.as(this[_source$][$removeAt](index)); } removeLast() { return T.as(this[_source$][$removeLast]()); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 148, 25, "test"); - this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } getRange(start, end) { - if (start == null) dart.nullFailed(I[33], 152, 28, "start"); - if (end == null) dart.nullFailed(I[33], 152, 39, "end"); - return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + if (start == null) dart.nullFailed(I[35], 152, 28, "start"); + if (end == null) dart.nullFailed(I[35], 152, 39, "end"); + return __t$CastIterableOfS$T().new(this[_source$][$getRange](start, end)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[33], 155, 21, "start"); - if (end == null) dart.nullFailed(I[33], 155, 32, "end"); - IterableOfT().as(iterable); - if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); - this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + if (start == null) dart.nullFailed(I[35], 155, 21, "start"); + if (end == null) dart.nullFailed(I[35], 155, 32, "end"); + __t$IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[35], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[35], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, __t$CastIterableOfT$S().new(iterable), skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[33], 159, 24, "start"); - if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + if (start == null) dart.nullFailed(I[35], 159, 24, "start"); + if (end == null) dart.nullFailed(I[35], 159, 35, "end"); this[_source$][$removeRange](start, end); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[33], 163, 22, "start"); - if (end == null) dart.nullFailed(I[33], 163, 33, "end"); - TN().as(fillValue); + if (start == null) dart.nullFailed(I[35], 163, 22, "start"); + if (end == null) dart.nullFailed(I[35], 163, 33, "end"); + __t$TN().as(fillValue); this[_source$][$fillRange](start, end, S.as(fillValue)); } replaceRange(start, end, replacement) { - if (start == null) dart.nullFailed(I[33], 167, 25, "start"); - if (end == null) dart.nullFailed(I[33], 167, 36, "end"); - IterableOfT().as(replacement); - if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); - this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + if (start == null) dart.nullFailed(I[35], 167, 25, "start"); + if (end == null) dart.nullFailed(I[35], 167, 36, "end"); + __t$IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[35], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, __t$CastIterableOfT$S().new(replacement)); } } (_CastListBase.new = function() { @@ -18012,7 +19731,7 @@ _internal._CastListBase$ = dart.generic((S, T) => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_CastListBase, I[25]); + dart.setLibraryUri(_CastListBase, I[26]); dart.defineExtensionMethods(_CastListBase, [ '_get', '_set', @@ -18049,12 +19768,16 @@ _internal.CastList$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); + return new (_internal.CastList$(S, T)).new(_source); + } cast(R) { return new (_internal.CastList$(S, R)).new(this[_source$]); } } (CastList.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); this[_source$1] = _source; CastList.__proto__.new.call(this); ; @@ -18067,7 +19790,7 @@ _internal.CastList$ = dart.generic((S, T) => { cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastList, I[25]); + dart.setLibraryUri(CastList, I[26]); dart.setFieldSignature(CastList, () => ({ __proto__: dart.getFields(CastList.__proto__), [_source$]: dart.finalFieldType(core.List$(S)) @@ -18083,12 +19806,12 @@ var _conditionalAdd = dart.privateName(_internal, "_conditionalAdd"); var _clone = dart.privateName(_internal, "_clone"); const _is_CastSet_default = Symbol('_is_CastSet_default'); _internal.CastSet$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastSetOfS$T = () => (__t$CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); class CastSet extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$2]; @@ -18096,8 +19819,9 @@ _internal.CastSet$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } - static _defaultEmptySet(R) { - return new (collection._HashSet$(R)).new(); + static ['_#new#tearOff'](S, T, _source, _emptySet) { + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); + return new (_internal.CastSet$(S, T)).new(_source, _emptySet); } cast(R) { return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); @@ -18107,48 +19831,48 @@ _internal.CastSet$ = dart.generic((S, T) => { return this[_source$].add(S.as(value)); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 192, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } remove(object) { return this[_source$].remove(object); } removeAll(objects) { - if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 198, 36, "objects"); this[_source$].removeAll(objects); } retainAll(objects) { - if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); this[_source$].retainAll(objects); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 208, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 206, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 212, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 210, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } containsAll(objects) { - if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); return this[_source$].containsAll(objects); } intersection(other) { - if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (other == null) dart.nullFailed(I[35], 216, 36, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); } difference(other) { - if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (other == null) dart.nullFailed(I[35], 221, 34, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); } [_conditionalAdd](other, otherContains) { - if (other == null) dart.nullFailed(I[33], 228, 39, "other"); - if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + if (other == null) dart.nullFailed(I[35], 226, 39, "other"); + if (otherContains == null) dart.nullFailed(I[35], 226, 51, "otherContains"); let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); for (let element of this[_source$]) { let castElement = T.as(element); if (otherContains == other.contains(castElement)) result.add(castElement); @@ -18156,13 +19880,13 @@ _internal.CastSet$ = dart.generic((S, T) => { return result; } union(other) { - let t77; - SetOfT().as(other); - if (other == null) dart.nullFailed(I[33], 238, 23, "other"); - t77 = this[_clone](); + let t67; + __t$SetOfT().as(other); + if (other == null) dart.nullFailed(I[35], 236, 23, "other"); + t67 = this[_clone](); return (() => { - t77.addAll(other); - return t77; + t67.addAll(other); + return t67; })(); } clear() { @@ -18170,7 +19894,7 @@ _internal.CastSet$ = dart.generic((S, T) => { } [_clone]() { let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); result.addAll(this); return result; } @@ -18182,7 +19906,7 @@ _internal.CastSet$ = dart.generic((S, T) => { } } (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); this[_source$2] = _source; this[_emptySet$] = _emptySet; CastSet.__proto__.new.call(this); @@ -18212,7 +19936,7 @@ _internal.CastSet$ = dart.generic((S, T) => { [_clone]: dart.fnType(core.Set$(T), []), lookup: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastSet, I[25]); + dart.setLibraryUri(CastSet, I[26]); dart.setFieldSignature(CastSet, () => ({ __proto__: dart.getFields(CastSet.__proto__), [_source$]: dart.finalFieldType(core.Set$(S)), @@ -18225,32 +19949,33 @@ _internal.CastSet = _internal.CastSet$(); dart.addTypeTests(_internal.CastSet, _is_CastSet_default); const _is_MapMixin_default = Symbol('_is_MapMixin_default'); collection.MapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); - var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$KToMapEntryOfK$V = () => (__t$KToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [K])))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$JSArrayOfK = () => (__t$JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var __t$_MapBaseValueIterableOfK$V = () => (__t$_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapMixin extends core.Object { cast(RK, RV) { return core.Map.castFrom(K, V, RK, RV, this); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + if (action == null) dart.nullFailed(I[37], 121, 21, "action"); for (let key of this[$keys]) { action(key, V.as(this[$_get](key))); } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 127, 25, "other"); - for (let key of other[$keys]) { - this[$_set](key, V.as(other[$_get](key))); - } + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 127, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this[$_set](key, value); + }, __t$KAndVTovoid())); } containsValue(value) { for (let key of this[$keys]) { @@ -18259,51 +19984,51 @@ collection.MapMixin$ = dart.generic((K, V) => { return false; } putIfAbsent(key, ifAbsent) { - let t78, t77; + let t68, t67; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 140, 26, "ifAbsent"); if (dart.test(this[$containsKey](key))) { return V.as(this[$_get](key)); } - t77 = key; - t78 = ifAbsent(); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = ifAbsent(); + this[$_set](t67, t68); + return t68; } update(key, update, opts) { - let t78, t77, t78$, t77$; + let t68, t67, t68$, t67$; K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 147, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); if (dart.test(this[$containsKey](key))) { - t77 = key; - t78 = update(V.as(this[$_get](key))); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = update(V.as(this[$_get](key))); + this[$_set](t67, t68); + return t68; } if (ifAbsent != null) { - t77$ = key; - t78$ = ifAbsent(); - this[$_set](t77$, t78$); - return t78$; + t67$ = key; + t68$ = ifAbsent(); + this[$_set](t67$, t68$); + return t68$; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 157, 20, "update"); for (let key of this[$keys]) { this[$_set](key, update(key, V.as(this[$_get](key)))); } } get entries() { - return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + return this[$keys][$map](__t$MapEntryOfK$V(), dart.fn(key => new (__t$MapEntryOfK$V()).__(key, V.as(this[$_get](key))), __t$KToMapEntryOfK$V())); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 167, 44, "transform"); let result = new (_js_helper.LinkedMap$(K2, V2)).new(); for (let key of this[$keys]) { let entry = transform(key, V.as(this[$_get](key))); @@ -18312,15 +20037,15 @@ collection.MapMixin$ = dart.generic((K, V) => { return result; } addEntries(newEntries) { - IterableOfMapEntryOfK$V().as(newEntries); - if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + __t$IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[37], 176, 44, "newEntries"); for (let entry of newEntries) { this[$_set](entry.key, entry.value); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 182, 25, "test"); - let keysToRemove = JSArrayOfK().of([]); + if (test == null) dart.nullFailed(I[37], 182, 25, "test"); + let keysToRemove = __t$JSArrayOfK().of([]); for (let key of this[$keys]) { if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); } @@ -18341,7 +20066,7 @@ collection.MapMixin$ = dart.generic((K, V) => { return this[$keys][$isNotEmpty]; } get values() { - return new (_MapBaseValueIterableOfK$V()).new(this); + return new (__t$_MapBaseValueIterableOfK$V()).new(this); } toString() { return collection.MapBase.mapToString(this); @@ -18393,7 +20118,7 @@ collection.MapMixin$ = dart.generic((K, V) => { values: core.Iterable$(V), [$values]: core.Iterable$(V) })); - dart.setLibraryUri(MapMixin, I[24]); + dart.setLibraryUri(MapMixin, I[25]); dart.defineExtensionMethods(MapMixin, [ 'cast', 'forEach', @@ -18423,7 +20148,7 @@ const _is_MapBase_default = Symbol('_is_MapBase_default'); collection.MapBase$ = dart.generic((K, V) => { class MapBase extends collection.MapMixin$(K, V) { static mapToString(m) { - if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (m == null) dart.nullFailed(I[37], 22, 51, "m"); if (dart.test(collection._isToStringVisiting(m))) { return "{...}"; } @@ -18443,7 +20168,7 @@ collection.MapBase$ = dart.generic((K, V) => { }, T$.ObjectNAndObjectNTovoid())); result.write("}"); } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); collection._toStringVisiting[$removeLast](); } return result.toString(); @@ -18452,10 +20177,10 @@ collection.MapBase$ = dart.generic((K, V) => { return x; } static _fillMapWithMappedIterable(map, iterable, key, value) { - if (map == null) dart.nullFailed(I[35], 58, 29, "map"); - if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); - key == null ? key = C[19] || CT.C19 : null; - value == null ? value = C[19] || CT.C19 : null; + if (map == null) dart.nullFailed(I[37], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[37], 59, 25, "iterable"); + key == null ? key = C[20] || CT.C20 : null; + value == null ? value = C[20] || CT.C20 : null; if (key == null) dart.throw("!"); if (value == null) dart.throw("!"); for (let element of iterable) { @@ -18463,9 +20188,9 @@ collection.MapBase$ = dart.generic((K, V) => { } } static _fillMapWithIterables(map, keys, values) { - if (map == null) dart.nullFailed(I[35], 77, 59, "map"); - if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); - if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + if (map == null) dart.nullFailed(I[37], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[37], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[37], 78, 49, "values"); let keyIterator = keys[$iterator]; let valueIterator = values[$iterator]; let hasNextKey = keyIterator.moveNext(); @@ -18486,32 +20211,37 @@ collection.MapBase$ = dart.generic((K, V) => { dart.addTypeTests(MapBase); MapBase.prototype[_is_MapBase_default] = true; dart.addTypeCaches(MapBase); - dart.setLibraryUri(MapBase, I[24]); + dart.setStaticMethodSignature(MapBase, () => ['mapToString', '_id', '_fillMapWithMappedIterable', '_fillMapWithIterables']); + dart.setLibraryUri(MapBase, I[25]); return MapBase; }); collection.MapBase = collection.MapBase$(); dart.addTypeTests(collection.MapBase, _is_MapBase_default); const _is_CastMap_default = Symbol('_is_CastMap_default'); _internal.CastMap$ = dart.generic((SK, SV, K, V) => { - var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); - var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); - var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); - var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); - var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); - var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); - var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); - var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); - var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); - var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var VN = () => (VN = dart.constFn(dart.nullable(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$CastMapOfK$V$SK$SV = () => (__t$CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var __t$SKAndSVTovoid = () => (__t$SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var __t$CastIterableOfSK$K = () => (__t$CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var __t$SKAndSVToSV = () => (__t$SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var __t$MapEntryOfSK$SV = () => (__t$MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var __t$MapEntryOfSK$SVToMapEntryOfK$V = () => (__t$MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [__t$MapEntryOfSK$SV()])))(); + var __t$SKAndSVTobool = () => (__t$SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var __t$VoidToSV = () => (__t$VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var __t$CastIterableOfSV$V = () => (__t$CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var __t$SVToSV = () => (__t$SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$VN = () => (__t$VN = dart.constFn(dart.nullable(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class CastMap extends collection.MapBase$(K, V) { + static ['_#new#tearOff'](SK, SV, K, V, _source) { + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); + return new (_internal.CastMap$(SK, SV, K, V)).new(_source); + } cast(RK, RV) { return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); } @@ -18522,7 +20252,7 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { return this[_source$][$containsKey](key); } _get(key) { - return VN().as(this[_source$][$_get](key)); + return __t$VN().as(this[_source$][$_get](key)); } _set(key, value$) { let value = value$; @@ -18533,32 +20263,32 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); - return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 271, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV()))); } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[33], 276, 25, "other"); - this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 274, 25, "other"); + this[_source$][$addAll](new (__t$CastMapOfK$V$SK$SV()).new(other)); } remove(key) { - return VN().as(this[_source$][$remove](key)); + return __t$VN().as(this[_source$][$remove](key)); } clear() { this[_source$][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + if (f == null) dart.nullFailed(I[35], 284, 21, "f"); this[_source$][$forEach](dart.fn((key, value) => { f(K.as(key), V.as(value)); - }, SKAndSVTovoid())); + }, __t$SKAndSVTovoid())); } get keys() { - return CastIterableOfSK$K().new(this[_source$][$keys]); + return __t$CastIterableOfSK$K().new(this[_source$][$keys]); } get values() { - return CastIterableOfSV$V().new(this[_source$][$values]); + return __t$CastIterableOfSV$V().new(this[_source$][$values]); } get length() { return this[_source$][$length]; @@ -18571,37 +20301,37 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[35], 300, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); - return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + __t$VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), __t$SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV())})); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[33], 307, 20, "update"); - this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 305, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), __t$SKAndSVToSV())); } get entries() { - return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { - if (e == null) dart.nullFailed(I[33], 313, 27, "e"); - return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); - }, MapEntryOfSK$SVToMapEntryOfK$V())); + return this[_source$][$entries][$map](__t$MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[35], 311, 27, "e"); + return new (__t$MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, __t$MapEntryOfSK$SVToMapEntryOfK$V())); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 314, 44, "entries"); for (let entry of entries) { this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 322, 25, "test"); - this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + if (test == null) dart.nullFailed(I[35], 320, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), __t$SKAndSVTobool())); } } (CastMap.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); this[_source$] = _source; ; }).prototype = CastMap.prototype; @@ -18626,7 +20356,7 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CastMap, I[25]); + dart.setLibraryUri(CastMap, I[26]); dart.setFieldSignature(CastMap, () => ({ __proto__: dart.getFields(CastMap.__proto__), [_source$]: dart.finalFieldType(core.Map$(SK, SV)) @@ -18662,9 +20392,9 @@ dart.addTypeTests(_internal.CastMap, _is_CastMap_default); var _source$3 = dart.privateName(_internal, "CastQueue._source"); const _is_CastQueue_default = Symbol('_is_CastQueue_default'); _internal.CastQueue$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); class CastQueue extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$3]; @@ -18672,6 +20402,10 @@ _internal.CastQueue$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); + return new (_internal.CastQueue$(S, T)).new(_source); + } cast(R) { return new (_internal.CastQueue$(S, R)).new(this[_source$]); } @@ -18697,24 +20431,24 @@ _internal.CastQueue$ = dart.generic((S, T) => { return this[_source$].remove(other); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 346, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 352, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 350, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 356, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 354, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } clear() { this[_source$].clear(); } } (CastQueue.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); this[_source$3] = _source; CastQueue.__proto__.new.call(this); ; @@ -18738,7 +20472,7 @@ _internal.CastQueue$ = dart.generic((S, T) => { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), clear: dart.fnType(dart.void, []) })); - dart.setLibraryUri(CastQueue, I[25]); + dart.setLibraryUri(CastQueue, I[26]); dart.setFieldSignature(CastQueue, () => ({ __proto__: dart.getFields(CastQueue.__proto__), [_source$]: dart.finalFieldType(collection.Queue$(S)) @@ -18750,6 +20484,33 @@ _internal.CastQueue = _internal.CastQueue$(); dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); var _message$ = dart.privateName(_internal, "_message"); _internal.LateError = class LateError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.LateError.new(_message); + } + static ['_#fieldADI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); + return new _internal.LateError.fieldADI(fieldName); + } + static ['_#localADI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); + return new _internal.LateError.localADI(localName); + } + static ['_#fieldNI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); + return new _internal.LateError.fieldNI(fieldName); + } + static ['_#localNI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); + return new _internal.LateError.localNI(localName); + } + static ['_#fieldAI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); + return new _internal.LateError.fieldAI(fieldName); + } + static ['_#localAI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); + return new _internal.LateError.localAI(localName); + } toString() { let message = this[_message$]; return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; @@ -18761,50 +20522,53 @@ _internal.LateError = class LateError extends core.Error { ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldADI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localADI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldNI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localNI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldAI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localAI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; dart.addTypeTests(_internal.LateError); dart.addTypeCaches(_internal.LateError); -dart.setLibraryUri(_internal.LateError, I[25]); +dart.setLibraryUri(_internal.LateError, I[26]); dart.setFieldSignature(_internal.LateError, () => ({ __proto__: dart.getFields(_internal.LateError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) })); dart.defineExtensionMethods(_internal.LateError, ['toString']); _internal.ReachabilityError = class ReachabilityError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.ReachabilityError.new(_message); + } toString() { let message = this[_message$]; return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; @@ -18817,7 +20581,7 @@ _internal.ReachabilityError = class ReachabilityError extends core.Error { }).prototype = _internal.ReachabilityError.prototype; dart.addTypeTests(_internal.ReachabilityError); dart.addTypeCaches(_internal.ReachabilityError); -dart.setLibraryUri(_internal.ReachabilityError, I[25]); +dart.setLibraryUri(_internal.ReachabilityError, I[26]); dart.setFieldSignature(_internal.ReachabilityError, () => ({ __proto__: dart.getFields(_internal.ReachabilityError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) @@ -18833,27 +20597,26 @@ _internal.EfficientLengthIterable$ = dart.generic(T => { dart.addTypeTests(EfficientLengthIterable); EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; dart.addTypeCaches(EfficientLengthIterable); - dart.setLibraryUri(EfficientLengthIterable, I[25]); + dart.setLibraryUri(EfficientLengthIterable, I[26]); return EfficientLengthIterable; }); _internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); const _is_ListIterable_default = Symbol('_is_ListIterable_default'); _internal.ListIterable$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class ListIterable extends _internal.EfficientLengthIterable$(E) { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } forEach(action) { - if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + if (action == null) dart.nullFailed(I[39], 36, 21, "action"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this.elementAt(i)); @@ -18889,7 +20652,7 @@ _internal.ListIterable$ = dart.generic(E => { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + if (test == null) dart.nullFailed(I[39], 75, 19, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this.elementAt(i)))) return false; @@ -18900,7 +20663,7 @@ _internal.ListIterable$ = dart.generic(E => { return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + if (test == null) dart.nullFailed(I[39], 86, 17, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this.elementAt(i)))) return true; @@ -18911,9 +20674,9 @@ _internal.ListIterable$ = dart.generic(E => { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + if (test == null) dart.nullFailed(I[39], 97, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18926,9 +20689,9 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + if (test == null) dart.nullFailed(I[39], 110, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this.elementAt(i); @@ -18941,21 +20704,19 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + if (test == null) dart.nullFailed(I[39], 123, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t80) { + function match$35set(match$35param) { match$35isSet = true; - return match = t80; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18975,7 +20736,7 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); let length = this.length; if (!separator[$isEmpty]) { if (length === 0) return ""; @@ -19004,16 +20765,16 @@ _internal.ListIterable$ = dart.generic(E => { } } where(test) { - if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + if (test == null) dart.nullFailed(I[39], 174, 26, "test"); return super[$where](test); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 176, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); + return new (_internal.MappedListIterable$(E, T)).new(this, toElement); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 179, 14, "combine"); let length = this.length; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this.elementAt(0); @@ -19026,7 +20787,7 @@ _internal.ListIterable$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 192, 31, "combine"); let value = initialValue; let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -19038,28 +20799,28 @@ _internal.ListIterable$ = dart.generic(E => { return value; } skip(count) { - if (count == null) dart.nullFailed(I[37], 203, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[39], 204, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + if (test == null) dart.nullFailed(I[39], 206, 30, "test"); return super[$skipWhile](test); } take(count) { - if (count == null) dart.nullFailed(I[37], 207, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[39], 208, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + if (test == null) dart.nullFailed(I[39], 211, 30, "test"); return super[$takeWhile](test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[39], 213, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this.length); i = i + 1) { result.add(this.elementAt(i)); } @@ -19085,7 +20846,7 @@ _internal.ListIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ListIterable, I[25]); + dart.setLibraryUri(ListIterable, I[26]); dart.defineExtensionMethods(ListIterable, [ 'forEach', 'contains', @@ -19124,10 +20885,15 @@ var _endIndex = dart.privateName(_internal, "_endIndex"); var _startIndex = dart.privateName(_internal, "_startIndex"); const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); _internal.SubListIterable$ = dart.generic(E => { - var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var __t$EmptyIterableOfE = () => (__t$EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); class SubListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); + return new (_internal.SubListIterable$(E)).new(_iterable, _start, _endOrLength); + } get [_endIndex]() { let length = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; @@ -19149,45 +20915,45 @@ _internal.SubListIterable$ = dart.generic(E => { return dart.notNull(endOrLength) - dart.notNull(this[_start$]); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + if (index == null) dart.nullFailed(I[39], 265, 19, "index"); let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { - dart.throw(new core.IndexError.new(index, this, "index")); + dart.throw(new core.IndexError.withLength(index, this.length, {indexable: this, name: "index"})); } return this[_iterable$][$elementAt](realIndex); } skip(count) { - if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + if (count == null) dart.nullFailed(I[39], 274, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let newStart = dart.notNull(this[_start$]) + dart.notNull(count); let endOrLength = this[_endOrLength$]; if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { - return new (EmptyIterableOfE()).new(); + return new (__t$EmptyIterableOfE()).new(); } - return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); } take(count) { - if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + if (count == null) dart.nullFailed(I[39], 284, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let endOrLength = this[_endOrLength$]; if (endOrLength == null) { - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); } else { let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); if (dart.notNull(endOrLength) < newEnd) return this; - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); } } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + if (growable == null) dart.nullFailed(I[39], 296, 24, "growable"); let start = this[_start$]; let end = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; let length = dart.notNull(end) - dart.notNull(start); - if (length <= 0) return ListOfE().empty({growable: growable}); - let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + if (length <= 0) return __t$ListOfE().empty({growable: growable}); + let result = __t$ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); for (let i = 1; i < length; i = i + 1) { result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); @@ -19196,8 +20962,8 @@ _internal.SubListIterable$ = dart.generic(E => { } } (SubListIterable.new = function(_iterable, _start, _endOrLength) { - if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); - if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); this[_iterable$] = _iterable; this[_start$] = _start; this[_endOrLength$] = _endOrLength; @@ -19219,7 +20985,7 @@ _internal.SubListIterable$ = dart.generic(E => { [_endIndex]: core.int, [_startIndex]: core.int })); - dart.setLibraryUri(SubListIterable, I[25]); + dart.setLibraryUri(SubListIterable, I[26]); dart.setFieldSignature(SubListIterable, () => ({ __proto__: dart.getFields(SubListIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19237,6 +21003,10 @@ var _index$ = dart.privateName(_internal, "_index"); const _is_ListIterator_default = Symbol('_is_ListIterator_default'); _internal.ListIterator$ = dart.generic(E => { class ListIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); + return new (_internal.ListIterator$(E)).new(iterable); + } get current() { return E.as(this[_current$]); } @@ -19255,7 +21025,7 @@ _internal.ListIterator$ = dart.generic(E => { } } (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); this[_current$] = null; this[_iterable$] = iterable; this[_length$] = iterable[$length]; @@ -19274,7 +21044,7 @@ _internal.ListIterator$ = dart.generic(E => { __proto__: dart.getGetters(ListIterator.__proto__), current: E })); - dart.setLibraryUri(ListIterator, I[25]); + dart.setLibraryUri(ListIterator, I[26]); dart.setFieldSignature(ListIterator, () => ({ __proto__: dart.getFields(ListIterator.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19289,18 +21059,28 @@ dart.addTypeTests(_internal.ListIterator, _is_ListIterator_default); var _f$ = dart.privateName(_internal, "_f"); const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); _internal.MappedIterable$ = dart.generic((S, T) => { - var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + var __t$MappedIteratorOfS$T = () => (__t$MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); class MappedIterable extends core.Iterable$(T) { static new(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); - if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); if (_internal.EfficientLengthIterable.is(iterable)) { return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); } return new (_internal.MappedIterable$(S, T)).__(iterable, $function); } + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); + return _internal.MappedIterable$(S, T).new(iterable, $function); + } + static ['_#_#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); + return new (_internal.MappedIterable$(S, T)).__(_iterable, _f); + } get iterator() { - return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } get length() { return this[_iterable$][$length]; @@ -19309,30 +21089,30 @@ _internal.MappedIterable$ = dart.generic((S, T) => { return this[_iterable$][$isEmpty]; } get first() { - let t82; - t82 = this[_iterable$][$first]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$first]; + return this[_f$](t71); } get last() { - let t82; - t82 = this[_iterable$][$last]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$last]; + return this[_f$](t71); } get single() { - let t82; - t82 = this[_iterable$][$single]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$single]; + return this[_f$](t71); } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 372, 19, "index"); - t82 = this[_iterable$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 375, 19, "index"); + t71 = this[_iterable$][$elementAt](index); + return this[_f$](t71); } } (MappedIterable.__ = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; MappedIterable.__proto__.new.call(this); @@ -19341,12 +21121,13 @@ _internal.MappedIterable$ = dart.generic((S, T) => { dart.addTypeTests(MappedIterable); MappedIterable.prototype[_is_MappedIterable_default] = true; dart.addTypeCaches(MappedIterable); + dart.setStaticMethodSignature(MappedIterable, () => ['new']); dart.setGetterSignature(MappedIterable, () => ({ __proto__: dart.getGetters(MappedIterable.__proto__), iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(MappedIterable, I[25]); + dart.setLibraryUri(MappedIterable, I[26]); dart.setFieldSignature(MappedIterable, () => ({ __proto__: dart.getFields(MappedIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19367,10 +21148,16 @@ _internal.MappedIterable = _internal.MappedIterable$(); dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { - class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) { + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + } (EfficientLengthMappedIterable.new = function(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); - if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); ; }).prototype = EfficientLengthMappedIterable.prototype; @@ -19378,7 +21165,7 @@ _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; dart.addTypeCaches(EfficientLengthMappedIterable); EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); return EfficientLengthMappedIterable; }); _internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); @@ -19393,7 +21180,7 @@ core.Iterator$ = dart.generic(E => { dart.addTypeTests(Iterator); Iterator.prototype[_is_Iterator_default] = true; dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[8]); + dart.setLibraryUri(Iterator, I[9]); return Iterator; }); core.Iterator = core.Iterator$(); @@ -19401,10 +21188,15 @@ dart.addTypeTests(core.Iterator, _is_Iterator_default); const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); _internal.MappedIterator$ = dart.generic((S, T) => { class MappedIterator extends core.Iterator$(T) { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); + return new (_internal.MappedIterator$(S, T)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); return true; } this[_current$] = null; @@ -19415,8 +21207,8 @@ _internal.MappedIterator$ = dart.generic((S, T) => { } } (MappedIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19433,7 +21225,7 @@ _internal.MappedIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(MappedIterator.__proto__), current: T })); - dart.setLibraryUri(MappedIterator, I[25]); + dart.setLibraryUri(MappedIterator, I[26]); dart.setFieldSignature(MappedIterator, () => ({ __proto__: dart.getFields(MappedIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -19447,19 +21239,24 @@ dart.addTypeTests(_internal.MappedIterator, _is_MappedIterator_default); const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); _internal.MappedListIterable$ = dart.generic((S, T) => { class MappedListIterable extends _internal.ListIterable$(T) { + static ['_#new#tearOff'](S, T, _source, _f) { + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); + return new (_internal.MappedListIterable$(S, T)).new(_source, _f); + } get length() { return this[_source$][$length]; } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 412, 19, "index"); - t82 = this[_source$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 415, 19, "index"); + t71 = this[_source$][$elementAt](index); + return this[_f$](t71); } } (MappedListIterable.new = function(_source, _f) { - if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); - if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); this[_source$] = _source; this[_f$] = _f; MappedListIterable.__proto__.new.call(this); @@ -19468,7 +21265,7 @@ _internal.MappedListIterable$ = dart.generic((S, T) => { dart.addTypeTests(MappedListIterable); MappedListIterable.prototype[_is_MappedListIterable_default] = true; dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[25]); + dart.setLibraryUri(MappedListIterable, I[26]); dart.setFieldSignature(MappedListIterable, () => ({ __proto__: dart.getFields(MappedListIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)), @@ -19482,19 +21279,24 @@ _internal.MappedListIterable = _internal.MappedListIterable$(); dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); _internal.WhereIterable$ = dart.generic(E => { - var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + var __t$WhereIteratorOfE = () => (__t$WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); class WhereIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); + return new (_internal.WhereIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 426, 24, "f"); - return new (_internal.MappedIterable$(E, T)).__(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 429, 24, "toElement"); + return new (_internal.MappedIterable$(E, T)).__(this, toElement); } } (WhereIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; WhereIterable.__proto__.new.call(this); @@ -19513,7 +21315,7 @@ _internal.WhereIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(WhereIterable, I[25]); + dart.setLibraryUri(WhereIterable, I[26]); dart.setFieldSignature(WhereIterable, () => ({ __proto__: dart.getFields(WhereIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19528,10 +21330,15 @@ dart.addTypeTests(_internal.WhereIterable, _is_WhereIterable_default); const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); _internal.WhereIterator$ = dart.generic(E => { class WhereIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); + return new (_internal.WhereIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { return true; } } @@ -19542,8 +21349,8 @@ _internal.WhereIterator$ = dart.generic(E => { } } (WhereIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); this[_iterator$] = _iterator; this[_f$] = _f; ; @@ -19559,7 +21366,7 @@ _internal.WhereIterator$ = dart.generic(E => { __proto__: dart.getGetters(WhereIterator.__proto__), current: E })); - dart.setLibraryUri(WhereIterator, I[25]); + dart.setLibraryUri(WhereIterator, I[26]); dart.setFieldSignature(WhereIterator, () => ({ __proto__: dart.getFields(WhereIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19571,15 +21378,20 @@ _internal.WhereIterator = _internal.WhereIterator$(); dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); _internal.ExpandIterable$ = dart.generic((S, T) => { - var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + var __t$ExpandIteratorOfS$T = () => (__t$ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); class ExpandIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); + return new (_internal.ExpandIterable$(S, T)).new(_iterable, _f); + } get iterator() { - return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } } (ExpandIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; ExpandIterable.__proto__.new.call(this); @@ -19593,7 +21405,7 @@ _internal.ExpandIterable$ = dart.generic((S, T) => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(ExpandIterable, I[25]); + dart.setLibraryUri(ExpandIterable, I[26]); dart.setFieldSignature(ExpandIterable, () => ({ __proto__: dart.getFields(ExpandIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19608,17 +21420,22 @@ var _currentExpansion = dart.privateName(_internal, "_currentExpansion"); const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); _internal.ExpandIterator$ = dart.generic((S, T) => { class ExpandIterator extends core.Object { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + return new (_internal.ExpandIterator$(S, T)).new(_iterator, _f); + } get current() { return T.as(this[_current$]); } moveNext() { - let t82; + let t71; if (this[_currentExpansion] == null) return false; while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { this[_current$] = null; if (dart.test(this[_iterator$].moveNext())) { this[_currentExpansion] = null; - this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + this[_currentExpansion] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; } else { return false; } @@ -19628,9 +21445,9 @@ _internal.ExpandIterator$ = dart.generic((S, T) => { } } (ExpandIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); - this[_currentExpansion] = C[20] || CT.C20; + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + this[_currentExpansion] = C[21] || CT.C21; this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19648,7 +21465,7 @@ _internal.ExpandIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(ExpandIterator.__proto__), current: T })); - dart.setLibraryUri(ExpandIterator, I[25]); + dart.setLibraryUri(ExpandIterator, I[26]); dart.setFieldSignature(ExpandIterator, () => ({ __proto__: dart.getFields(ExpandIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(S)), @@ -19663,11 +21480,11 @@ dart.addTypeTests(_internal.ExpandIterator, _is_ExpandIterator_default); var _takeCount$ = dart.privateName(_internal, "_takeCount"); const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); _internal.TakeIterable$ = dart.generic(E => { - var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + var __t$TakeIteratorOfE = () => (__t$TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); class TakeIterable extends core.Iterable$(E) { static new(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); core.RangeError.checkNotNegative(takeCount, "takeCount"); if (_internal.EfficientLengthIterable.is(iterable)) { @@ -19675,13 +21492,23 @@ _internal.TakeIterable$ = dart.generic(E => { } return new (_internal.TakeIterable$(E)).__(iterable, takeCount); } + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); + return _internal.TakeIterable$(E).new(iterable, takeCount); + } + static ['_#_#tearOff'](E, _iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); + return new (_internal.TakeIterable$(E)).__(_iterable, _takeCount); + } get iterator() { - return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + return new (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); } } (TakeIterable.__ = function(_iterable, _takeCount) { - if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); - if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); this[_iterable$] = _iterable; this[_takeCount$] = _takeCount; TakeIterable.__proto__.new.call(this); @@ -19690,12 +21517,13 @@ _internal.TakeIterable$ = dart.generic(E => { dart.addTypeTests(TakeIterable); TakeIterable.prototype[_is_TakeIterable_default] = true; dart.addTypeCaches(TakeIterable); + dart.setStaticMethodSignature(TakeIterable, () => ['new']); dart.setGetterSignature(TakeIterable, () => ({ __proto__: dart.getGetters(TakeIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeIterable, I[25]); + dart.setLibraryUri(TakeIterable, I[26]); dart.setFieldSignature(TakeIterable, () => ({ __proto__: dart.getFields(TakeIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19709,6 +21537,11 @@ dart.addTypeTests(_internal.TakeIterable, _is_TakeIterable_default); const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); _internal.EfficientLengthTakeIterable$ = dart.generic(E => { class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } get length() { let iterableLength = this[_iterable$][$length]; if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; @@ -19716,8 +21549,8 @@ _internal.EfficientLengthTakeIterable$ = dart.generic(E => { } } (EfficientLengthTakeIterable.new = function(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); ; }).prototype = EfficientLengthTakeIterable.prototype; @@ -19725,7 +21558,7 @@ _internal.EfficientLengthTakeIterable$ = dart.generic(E => { EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; dart.addTypeCaches(EfficientLengthTakeIterable); EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); return EfficientLengthTakeIterable; }); @@ -19735,6 +21568,11 @@ var _remaining$ = dart.privateName(_internal, "_remaining"); const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); _internal.TakeIterator$ = dart.generic(E => { class TakeIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); + return new (_internal.TakeIterator$(E)).new(_iterator, _remaining); + } moveNext() { this[_remaining$] = dart.notNull(this[_remaining$]) - 1; if (dart.notNull(this[_remaining$]) >= 0) { @@ -19749,11 +21587,11 @@ _internal.TakeIterator$ = dart.generic(E => { } } (TakeIterator.new = function(_iterator, _remaining) { - if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); - if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); this[_iterator$] = _iterator; this[_remaining$] = _remaining; - if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[39], 530, 12, "_remaining >= 0"); }).prototype = TakeIterator.prototype; dart.addTypeTests(TakeIterator); TakeIterator.prototype[_is_TakeIterator_default] = true; @@ -19766,7 +21604,7 @@ _internal.TakeIterator$ = dart.generic(E => { __proto__: dart.getGetters(TakeIterator.__proto__), current: E })); - dart.setLibraryUri(TakeIterator, I[25]); + dart.setLibraryUri(TakeIterator, I[26]); dart.setFieldSignature(TakeIterator, () => ({ __proto__: dart.getFields(TakeIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19778,15 +21616,20 @@ _internal.TakeIterator = _internal.TakeIterator$(); dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); _internal.TakeWhileIterable$ = dart.generic(E => { - var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + var __t$TakeWhileIteratorOfE = () => (__t$TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); class TakeWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); + return new (_internal.TakeWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (TakeWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; TakeWhileIterable.__proto__.new.call(this); @@ -19800,7 +21643,7 @@ _internal.TakeWhileIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setLibraryUri(TakeWhileIterable, I[26]); dart.setFieldSignature(TakeWhileIterable, () => ({ __proto__: dart.getFields(TakeWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19815,10 +21658,15 @@ var _isFinished = dart.privateName(_internal, "_isFinished"); const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); _internal.TakeWhileIterator$ = dart.generic(E => { class TakeWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); + return new (_internal.TakeWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { this[_isFinished] = true; return false; } @@ -19830,8 +21678,8 @@ _internal.TakeWhileIterator$ = dart.generic(E => { } } (TakeWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); this[_isFinished] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19848,7 +21696,7 @@ _internal.TakeWhileIterator$ = dart.generic(E => { __proto__: dart.getGetters(TakeWhileIterator.__proto__), current: E })); - dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setLibraryUri(TakeWhileIterator, I[26]); dart.setFieldSignature(TakeWhileIterator, () => ({ __proto__: dart.getFields(TakeWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19862,28 +21710,38 @@ dart.addTypeTests(_internal.TakeWhileIterator, _is_TakeWhileIterator_default); var _skipCount$ = dart.privateName(_internal, "_skipCount"); const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); _internal.SkipIterable$ = dart.generic(E => { - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipIteratorOfE = () => (__t$SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); class SkipIterable extends core.Iterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); - if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); if (_internal.EfficientLengthIterable.is(iterable)) { return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); } return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); + return _internal.SkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, _iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); + return new (_internal.SkipIterable$(E)).__(_iterable, _skipCount); + } skip(count) { - if (count == null) dart.nullFailed(I[37], 594, 24, "count"); - return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 598, 24, "count"); + return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } get iterator() { - return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); } } (SkipIterable.__ = function(_iterable, _skipCount) { - if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); - if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); this[_iterable$] = _iterable; this[_skipCount$] = _skipCount; SkipIterable.__proto__.new.call(this); @@ -19892,12 +21750,13 @@ _internal.SkipIterable$ = dart.generic(E => { dart.addTypeTests(SkipIterable); SkipIterable.prototype[_is_SkipIterable_default] = true; dart.addTypeCaches(SkipIterable); + dart.setStaticMethodSignature(SkipIterable, () => ['new']); dart.setGetterSignature(SkipIterable, () => ({ __proto__: dart.getGetters(SkipIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipIterable, I[25]); + dart.setLibraryUri(SkipIterable, I[26]); dart.setFieldSignature(SkipIterable, () => ({ __proto__: dart.getFields(SkipIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19911,26 +21770,36 @@ _internal.SkipIterable = _internal.SkipIterable$(); dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); _internal.EfficientLengthSkipIterable$ = dart.generic(E => { - var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + var __t$EfficientLengthSkipIterableOfE = () => (__t$EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); - if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, count); + } get length() { let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); if (length >= 0) return length; return 0; } skip(count) { - if (count == null) dart.nullFailed(I[37], 618, 24, "count"); - return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 622, 24, "count"); + return new (__t$EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } } (EfficientLengthSkipIterable.__ = function(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); - if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); ; }).prototype = EfficientLengthSkipIterable.prototype; @@ -19938,7 +21807,8 @@ _internal.EfficientLengthSkipIterable$ = dart.generic(E => { EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; dart.addTypeCaches(EfficientLengthSkipIterable); EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); + dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); return EfficientLengthSkipIterable; @@ -19948,6 +21818,11 @@ dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkip const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); _internal.SkipIterator$ = dart.generic(E => { class SkipIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); + return new (_internal.SkipIterator$(E)).new(_iterator, _skipCount); + } moveNext() { for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) this[_iterator$].moveNext(); @@ -19959,11 +21834,11 @@ _internal.SkipIterator$ = dart.generic(E => { } } (SkipIterator.new = function(_iterator, _skipCount) { - if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); - if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); this[_iterator$] = _iterator; this[_skipCount$] = _skipCount; - if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[39], 639, 12, "_skipCount >= 0"); }).prototype = SkipIterator.prototype; dart.addTypeTests(SkipIterator); SkipIterator.prototype[_is_SkipIterator_default] = true; @@ -19976,7 +21851,7 @@ _internal.SkipIterator$ = dart.generic(E => { __proto__: dart.getGetters(SkipIterator.__proto__), current: E })); - dart.setLibraryUri(SkipIterator, I[25]); + dart.setLibraryUri(SkipIterator, I[26]); dart.setFieldSignature(SkipIterator, () => ({ __proto__: dart.getFields(SkipIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19988,15 +21863,20 @@ _internal.SkipIterator = _internal.SkipIterator$(); dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); _internal.SkipWhileIterable$ = dart.generic(E => { - var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + var __t$SkipWhileIteratorOfE = () => (__t$SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); class SkipWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); + return new (_internal.SkipWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (SkipWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; SkipWhileIterable.__proto__.new.call(this); @@ -20010,7 +21890,7 @@ _internal.SkipWhileIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setLibraryUri(SkipWhileIterable, I[26]); dart.setFieldSignature(SkipWhileIterable, () => ({ __proto__: dart.getFields(SkipWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -20025,12 +21905,17 @@ var _hasSkipped = dart.privateName(_internal, "_hasSkipped"); const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); _internal.SkipWhileIterator$ = dart.generic(E => { class SkipWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); + return new (_internal.SkipWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (!dart.test(this[_hasSkipped])) { this[_hasSkipped] = true; while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; } } return this[_iterator$].moveNext(); @@ -20040,8 +21925,8 @@ _internal.SkipWhileIterator$ = dart.generic(E => { } } (SkipWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); this[_hasSkipped] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -20058,7 +21943,7 @@ _internal.SkipWhileIterator$ = dart.generic(E => { __proto__: dart.getGetters(SkipWhileIterator.__proto__), current: E })); - dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setLibraryUri(SkipWhileIterator, I[26]); dart.setFieldSignature(SkipWhileIterator, () => ({ __proto__: dart.getFields(SkipWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -20071,17 +21956,20 @@ _internal.SkipWhileIterator = _internal.SkipWhileIterator$(); dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); _internal.EmptyIterable$ = dart.generic(E => { - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } get iterator() { - return C[20] || CT.C20; + return C[21] || CT.C21; } forEach(action) { - if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + if (action == null) dart.nullFailed(I[39], 690, 21, "action"); } get isEmpty() { return true; @@ -20099,87 +21987,87 @@ _internal.EmptyIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + if (index == null) dart.nullFailed(I[39], 708, 19, "index"); dart.throw(new core.RangeError.range(index, 0, 0, "index")); } contains(element) { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + if (test == null) dart.nullFailed(I[39], 714, 19, "test"); return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + if (test == null) dart.nullFailed(I[39], 716, 17, "test"); return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + if (test == null) dart.nullFailed(I[39], 718, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + if (test == null) dart.nullFailed(I[39], 723, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + if (test == null) dart.nullFailed(I[39], 728, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); return ""; } where(test) { - if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + if (test == null) dart.nullFailed(I[39], 735, 26, "test"); return this; } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); return new (_internal.EmptyIterable$(T)).new(); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 739, 14, "combine"); dart.throw(_internal.IterableElementError.noElement()); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 743, 31, "combine"); return initialValue; } skip(count) { - if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + if (count == null) dart.nullFailed(I[39], 747, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + if (test == null) dart.nullFailed(I[39], 752, 30, "test"); return this; } take(count) { - if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + if (count == null) dart.nullFailed(I[39], 754, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + if (test == null) dart.nullFailed(I[39], 759, 30, "test"); return this; } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); - return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); + return __t$ListOfE().empty({growable: growable}); } toSet() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } } (EmptyIterable.new = function() { @@ -20201,7 +22089,7 @@ _internal.EmptyIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(EmptyIterable, I[25]); + dart.setLibraryUri(EmptyIterable, I[26]); dart.defineExtensionMethods(EmptyIterable, [ 'forEach', 'elementAt', @@ -20238,6 +22126,9 @@ dart.addTypeTests(_internal.EmptyIterable, _is_EmptyIterable_default); const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); _internal.EmptyIterator$ = dart.generic(E => { class EmptyIterator extends core.Object { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterator$(E)).new(); + } moveNext() { return false; } @@ -20260,7 +22151,7 @@ _internal.EmptyIterator$ = dart.generic(E => { __proto__: dart.getGetters(EmptyIterator.__proto__), current: E })); - dart.setLibraryUri(EmptyIterator, I[25]); + dart.setLibraryUri(EmptyIterator, I[26]); return EmptyIterator; }); _internal.EmptyIterator = _internal.EmptyIterator$(); @@ -20269,18 +22160,28 @@ var _first$ = dart.privateName(_internal, "_first"); var _second$ = dart.privateName(_internal, "_second"); const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); _internal.FollowedByIterable$ = dart.generic(E => { - var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + var __t$FollowedByIteratorOfE = () => (__t$FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); class FollowedByIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _first, _second) { + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); + return new (_internal.FollowedByIterable$(E)).new(_first, _second); + } static firstEfficient(first, second) { - if (first == null) dart.nullFailed(I[37], 777, 34, "first"); - if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); if (_internal.EfficientLengthIterable$(E).is(second)) { return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); } return new (_internal.FollowedByIterable$(E)).new(first, second); } + static ['_#firstEfficient#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); + return _internal.FollowedByIterable$(E).firstEfficient(first, second); + } get iterator() { - return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + return new (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); } get length() { return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); @@ -20311,8 +22212,8 @@ _internal.FollowedByIterable$ = dart.generic(E => { } } (FollowedByIterable.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); - if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); this[_first$] = _first; this[_second$] = _second; FollowedByIterable.__proto__.new.call(this); @@ -20321,12 +22222,13 @@ _internal.FollowedByIterable$ = dart.generic(E => { dart.addTypeTests(FollowedByIterable); FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; dart.addTypeCaches(FollowedByIterable); + dart.setStaticMethodSignature(FollowedByIterable, () => ['firstEfficient']); dart.setGetterSignature(FollowedByIterable, () => ({ __proto__: dart.getGetters(FollowedByIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setLibraryUri(FollowedByIterable, I[26]); dart.setFieldSignature(FollowedByIterable, () => ({ __proto__: dart.getFields(FollowedByIterable.__proto__), [_first$]: dart.finalFieldType(core.Iterable$(E)), @@ -20348,8 +22250,13 @@ dart.addTypeTests(_internal.FollowedByIterable, _is_FollowedByIterable_default); const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + static ['_#new#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + if (index == null) dart.nullFailed(I[39], 824, 19, "index"); let firstLength = this[_first$][$length]; if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); @@ -20364,8 +22271,8 @@ _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { } } (EfficientLengthFollowedByIterable.new = function(first, second) { - if (first == null) dart.nullFailed(I[37], 817, 34, "first"); - if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); ; }).prototype = EfficientLengthFollowedByIterable.prototype; @@ -20373,7 +22280,7 @@ _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; dart.addTypeCaches(EfficientLengthFollowedByIterable); EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); return EfficientLengthFollowedByIterable; @@ -20385,6 +22292,10 @@ var _currentIterator = dart.privateName(_internal, "_currentIterator"); const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); _internal.FollowedByIterator$ = dart.generic(E => { class FollowedByIterator extends core.Object { + static ['_#new#tearOff'](E, first, _nextIterable) { + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); + return new (_internal.FollowedByIterator$(E)).new(first, _nextIterable); + } moveNext() { if (dart.test(this[_currentIterator].moveNext())) return true; if (this[_nextIterable$] != null) { @@ -20399,7 +22310,7 @@ _internal.FollowedByIterator$ = dart.generic(E => { } } (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); this[_nextIterable$] = _nextIterable; this[_currentIterator] = first[$iterator]; ; @@ -20416,7 +22327,7 @@ _internal.FollowedByIterator$ = dart.generic(E => { __proto__: dart.getGetters(FollowedByIterator.__proto__), current: E })); - dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setLibraryUri(FollowedByIterator, I[26]); dart.setFieldSignature(FollowedByIterator, () => ({ __proto__: dart.getFields(FollowedByIterator.__proto__), [_currentIterator]: dart.fieldType(core.Iterator$(E)), @@ -20428,14 +22339,18 @@ _internal.FollowedByIterator = _internal.FollowedByIterator$(); dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); _internal.WhereTypeIterable$ = dart.generic(T => { - var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + var __t$WhereTypeIteratorOfT = () => (__t$WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); class WhereTypeIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); + return new (_internal.WhereTypeIterable$(T)).new(_source); + } get iterator() { - return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + return new (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); } } (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); this[_source$] = _source; WhereTypeIterable.__proto__.new.call(this); ; @@ -20448,7 +22363,7 @@ _internal.WhereTypeIterable$ = dart.generic(T => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setLibraryUri(WhereTypeIterable, I[26]); dart.setFieldSignature(WhereTypeIterable, () => ({ __proto__: dart.getFields(WhereTypeIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) @@ -20461,6 +22376,10 @@ dart.addTypeTests(_internal.WhereTypeIterable, _is_WhereTypeIterable_default); const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); _internal.WhereTypeIterator$ = dart.generic(T => { class WhereTypeIterator extends core.Object { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); + return new (_internal.WhereTypeIterator$(T)).new(_source); + } moveNext() { while (dart.test(this[_source$].moveNext())) { if (T.is(this[_source$].current)) return true; @@ -20472,7 +22391,7 @@ _internal.WhereTypeIterator$ = dart.generic(T => { } } (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); this[_source$] = _source; ; }).prototype = WhereTypeIterator.prototype; @@ -20488,7 +22407,7 @@ _internal.WhereTypeIterator$ = dart.generic(T => { __proto__: dart.getGetters(WhereTypeIterator.__proto__), current: T })); - dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setLibraryUri(WhereTypeIterator, I[26]); dart.setFieldSignature(WhereTypeIterator, () => ({ __proto__: dart.getFields(WhereTypeIterator.__proto__), [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) @@ -20513,13 +22432,14 @@ _internal.IterableElementError = class IterableElementError extends core.Object }).prototype = _internal.IterableElementError.prototype; dart.addTypeTests(_internal.IterableElementError); dart.addTypeCaches(_internal.IterableElementError); -dart.setLibraryUri(_internal.IterableElementError, I[25]); +dart.setStaticMethodSignature(_internal.IterableElementError, () => ['noElement', 'tooMany', 'tooFew']); +dart.setLibraryUri(_internal.IterableElementError, I[26]); const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); _internal.FixedLengthListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class FixedLengthListMixin extends core.Object { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 14, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); } add(value) { @@ -20527,52 +22447,52 @@ _internal.FixedLengthListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + if (index == null) dart.nullFailed(I[23], 25, 19, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 30, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 30, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 30, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 35, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + if (test == null) dart.nullFailed(I[23], 45, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + if (test == null) dart.nullFailed(I[23], 50, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } clear() { dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + if (index == null) dart.nullFailed(I[23], 60, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 70, 24, "start"); - if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + if (start == null) dart.nullFailed(I[23], 70, 24, "start"); + if (end == null) dart.nullFailed(I[23], 70, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 75, 25, "start"); - if (end == null) dart.nullFailed(I[22], 75, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 75, 25, "start"); + if (end == null) dart.nullFailed(I[23], 75, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 75, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } } @@ -20614,7 +22534,7 @@ _internal.FixedLengthListMixin$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.setLibraryUri(FixedLengthListMixin, I[26]); dart.defineExtensionMethods(FixedLengthListMixin, [ 'add', 'insert', @@ -20636,14 +22556,14 @@ _internal.FixedLengthListMixin = _internal.FixedLengthListMixin$(); dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); _internal.FixedLengthListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; (ListBase_FixedLengthListMixin$36.new = function() { }).prototype = ListBase_FixedLengthListMixin$36.prototype; dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 199, 16, "newLength"); return super[$length] = newLength; } add(value) { @@ -20651,52 +22571,52 @@ _internal.FixedLengthListBase$ = dart.generic(E => { return super[$add](value); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); E.as(value); return super[$insert](index, value); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 199, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 199, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$insertAll](at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$addAll](iterable); } remove(element) { return super[$remove](element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$removeWhere](test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$retainWhere](test); } clear() { return super[$clear](); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); return super[$removeAt](index); } removeLast() { return super[$removeLast](); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); return super[$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$replaceRange](start, end, iterable); } } @@ -20711,7 +22631,7 @@ _internal.FixedLengthListBase$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.setLibraryUri(FixedLengthListBase, I[26]); dart.defineExtensionMethods(FixedLengthListBase, [ 'add', 'insert', @@ -20733,24 +22653,28 @@ _internal.FixedLengthListBase = _internal.FixedLengthListBase$(); dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); var _backedList$ = dart.privateName(_internal, "_backedList"); _internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + static ['_#new#tearOff'](_backedList) { + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); + return new _internal._ListIndicesIterable.new(_backedList); + } get length() { return this[_backedList$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 217, 21, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[23], 217, 21, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return index; } }; (_internal._ListIndicesIterable.new = function(_backedList) { - if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); this[_backedList$] = _backedList; _internal._ListIndicesIterable.__proto__.new.call(this); ; }).prototype = _internal._ListIndicesIterable.prototype; dart.addTypeTests(_internal._ListIndicesIterable); dart.addTypeCaches(_internal._ListIndicesIterable); -dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); +dart.setLibraryUri(_internal._ListIndicesIterable, I[26]); dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), [_backedList$]: dart.fieldType(core.List) @@ -20760,13 +22684,13 @@ dart.defineExtensionAccessors(_internal._ListIndicesIterable, ['length']); var _values$ = dart.privateName(_internal, "_values"); const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class _UnmodifiableMapMixin extends core.Object { _set(key, value$) { let value = value$; @@ -20776,13 +22700,13 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 273, 25, "other"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 278, 44, "entries"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } clear() { @@ -20792,26 +22716,26 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + if (test == null) dart.nullFailed(I[37], 293, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 298, 26, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 303, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 308, 20, "update"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } } @@ -20844,7 +22768,7 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); dart.defineExtensionMethods(_UnmodifiableMapMixin, [ '_set', 'addAll', @@ -20862,13 +22786,13 @@ collection._UnmodifiableMapMixin = collection._UnmodifiableMapMixin$(); dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); collection.UnmodifiableMapBase$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; (MapBase__UnmodifiableMapMixin$36.new = function() { }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; @@ -20882,13 +22806,13 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 217, 16, "other"); return super.addAll(other); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); return super.addEntries(entries); } clear() { @@ -20898,26 +22822,26 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { return super.remove(key); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + if (test == null) dart.nullFailed(I[37], 217, 16, "test"); return super.removeWhere(test); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 217, 16, "ifAbsent"); return super.putIfAbsent(key, ifAbsent); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return super.update(key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); return super.updateAll(update); } } @@ -20936,7 +22860,7 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.setLibraryUri(UnmodifiableMapBase, I[25]); dart.defineExtensionMethods(UnmodifiableMapBase, [ '_set', 'addAll', @@ -20954,8 +22878,12 @@ collection.UnmodifiableMapBase = collection.UnmodifiableMapBase$(); dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); const _is_ListMapView_default = Symbol('_is_ListMapView_default'); _internal.ListMapView$ = dart.generic(E => { - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + static ['_#new#tearOff'](E, _values) { + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); + return new (_internal.ListMapView$(E)).new(_values); + } _get(key) { return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; } @@ -20963,7 +22891,7 @@ _internal.ListMapView$ = dart.generic(E => { return this[_values$][$length]; } get values() { - return new (SubListIterableOfE()).new(this[_values$], 0, null); + return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); } get keys() { return new _internal._ListIndicesIterable.new(this[_values$]); @@ -20981,7 +22909,7 @@ _internal.ListMapView$ = dart.generic(E => { return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); } forEach(f) { - if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + if (f == null) dart.nullFailed(I[23], 239, 21, "f"); let length = this[_values$][$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { f(i, this[_values$][$_get](i)); @@ -20992,7 +22920,7 @@ _internal.ListMapView$ = dart.generic(E => { } } (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); this[_values$] = _values; ; }).prototype = ListMapView.prototype; @@ -21009,7 +22937,7 @@ _internal.ListMapView$ = dart.generic(E => { keys: core.Iterable$(core.int), [$keys]: core.Iterable$(core.int) })); - dart.setLibraryUri(ListMapView, I[25]); + dart.setLibraryUri(ListMapView, I[26]); dart.setFieldSignature(ListMapView, () => ({ __proto__: dart.getFields(ListMapView.__proto__), [_values$]: dart.fieldType(core.List$(E)) @@ -21029,16 +22957,20 @@ dart.addTypeTests(_internal.ListMapView, _is_ListMapView_default); const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); _internal.ReversedListIterable$ = dart.generic(E => { class ReversedListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _source) { + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); + return new (_internal.ReversedListIterable$(E)).new(_source); + } get length() { return this[_source$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + if (index == null) dart.nullFailed(I[23], 256, 19, "index"); return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); } } (ReversedListIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); this[_source$] = _source; ReversedListIterable.__proto__.new.call(this); ; @@ -21046,7 +22978,7 @@ _internal.ReversedListIterable$ = dart.generic(E => { dart.addTypeTests(ReversedListIterable); ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setLibraryUri(ReversedListIterable, I[26]); dart.setFieldSignature(ReversedListIterable, () => ({ __proto__: dart.getFields(ReversedListIterable.__proto__), [_source$]: dart.fieldType(core.Iterable$(E)) @@ -21076,7 +23008,8 @@ _internal.UnmodifiableListError = class UnmodifiableListError extends core.Objec }).prototype = _internal.UnmodifiableListError.prototype; dart.addTypeTests(_internal.UnmodifiableListError); dart.addTypeCaches(_internal.UnmodifiableListError); -dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); +dart.setStaticMethodSignature(_internal.UnmodifiableListError, () => ['add', 'change', 'length', 'remove']); +dart.setLibraryUri(_internal.UnmodifiableListError, I[26]); _internal.NonGrowableListError = class NonGrowableListError extends core.Object { static add() { return new core.UnsupportedError.new("Cannot add to non-growable List"); @@ -21093,7 +23026,8 @@ _internal.NonGrowableListError = class NonGrowableListError extends core.Object }).prototype = _internal.NonGrowableListError.prototype; dart.addTypeTests(_internal.NonGrowableListError); dart.addTypeCaches(_internal.NonGrowableListError); -dart.setLibraryUri(_internal.NonGrowableListError, I[25]); +dart.setStaticMethodSignature(_internal.NonGrowableListError, () => ['add', 'length', 'remove']); +dart.setLibraryUri(_internal.NonGrowableListError, I[26]); var length = dart.privateName(_internal, "LinkedList.length"); var _last = dart.privateName(_internal, "_last"); var _next = dart.privateName(_internal, "_next"); @@ -21103,10 +23037,10 @@ const _is_IterableBase_default = Symbol('_is_IterableBase_default'); collection.IterableBase$ = dart.generic(E => { class IterableBase extends core.Iterable$(E) { static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - let t82; - if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + let t71; + if (iterable == null) dart.nullFailed(I[41], 228, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 229, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 229, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { if (leftDelimiter === "(" && rightDelimiter === ")") { return "(...)"; @@ -21118,19 +23052,19 @@ collection.IterableBase$ = dart.generic(E => { try { collection._iterablePartsToStrings(iterable, parts); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } - return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { - t82.writeAll(parts, ", "); - t82.write(rightDelimiter); - return t82; + return (t71 = new core.StringBuffer.new(leftDelimiter), (() => { + t71.writeAll(parts, ", "); + t71.write(rightDelimiter); + return t71; })()).toString(); } static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (iterable == null) dart.nullFailed(I[41], 261, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 262, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 262, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); } @@ -21139,7 +23073,7 @@ collection.IterableBase$ = dart.generic(E => { try { buffer.writeAll(iterable, ", "); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } buffer.write(rightDelimiter); @@ -21153,19 +23087,21 @@ collection.IterableBase$ = dart.generic(E => { dart.addTypeTests(IterableBase); IterableBase.prototype[_is_IterableBase_default] = true; dart.addTypeCaches(IterableBase); - dart.setLibraryUri(IterableBase, I[24]); + dart.setStaticMethodSignature(IterableBase, () => ['iterableToShortString', 'iterableToFullString']); + dart.setLibraryUri(IterableBase, I[25]); return IterableBase; }); collection.IterableBase = collection.IterableBase$(); dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); const _is_LinkedList_default = Symbol('_is_LinkedList_default'); _internal.LinkedList$ = dart.generic(T => { - var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + var __t$_LinkedListIteratorOfT = () => (__t$_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); class LinkedList extends collection.IterableBase$(T) { get length() { return this[length]; } set length(value) { + if (value == null) dart.nullFailed(I[40], 15, 7, "length"); this[length] = value; } get first() { @@ -21179,10 +23115,10 @@ _internal.LinkedList$ = dart.generic(T => { } add(newLast) { T.as(newLast); - if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); - if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (newLast == null) dart.nullFailed(I[40], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[40], 23, 12, "newLast._next == null && newLast._previous == null"); if (this[_last] != null) { - if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[40], 25, 14, "_last!._next == null"); dart.nullCheck(this[_last])[_next] = newLast; } else { this[_first$] = newLast; @@ -21194,9 +23130,9 @@ _internal.LinkedList$ = dart.generic(T => { } addFirst(newFirst) { T.as(newFirst); - if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (newFirst == null) dart.nullFailed(I[40], 39, 19, "newFirst"); if (this[_first$] != null) { - if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[40], 41, 14, "_first!._previous == null"); dart.nullCheck(this[_first$])[_previous] = newFirst; } else { this[_last] = newFirst; @@ -21208,17 +23144,17 @@ _internal.LinkedList$ = dart.generic(T => { } remove(node) { T.as(node); - if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (node == null) dart.nullFailed(I[40], 59, 17, "node"); if (!dart.equals(node[_list], this)) return; this.length = dart.notNull(this.length) - 1; if (node[_previous] == null) { - if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + if (!(node == this[_first$])) dart.assertFailed(null, I[40], 63, 14, "identical(node, _first)"); this[_first$] = node[_next]; } else { dart.nullCheck(node[_previous])[_next] = node[_next]; } if (node[_next] == null) { - if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + if (!(node == this[_last])) dart.assertFailed(null, I[40], 69, 14, "identical(node, _last)"); this[_last] = node[_previous]; } else { dart.nullCheck(node[_next])[_previous] = node[_previous]; @@ -21227,7 +23163,10 @@ _internal.LinkedList$ = dart.generic(T => { node[_list] = null; } get iterator() { - return new (_LinkedListIteratorOfT()).new(this); + return new (__t$_LinkedListIteratorOfT()).new(this); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedList$(T)).new(); } } (LinkedList.new = function() { @@ -21251,7 +23190,7 @@ _internal.LinkedList$ = dart.generic(T => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(LinkedList, I[25]); + dart.setLibraryUri(LinkedList, I[26]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_first$]: dart.fieldType(dart.nullable(T)), @@ -21274,32 +23213,35 @@ var _previous$ = dart.privateName(_internal, "LinkedListEntry._previous"); var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); _internal.LinkedListEntry$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); - var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + var __t$LinkedListOfT = () => (__t$LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var __t$LinkedListNOfT = () => (__t$LinkedListNOfT = dart.constFn(dart.nullable(__t$LinkedListOfT())))(); class LinkedListEntry extends core.Object { get [_next]() { return this[_next$]; } set [_next](value) { - this[_next$] = TN().as(value); + this[_next$] = __t$TN().as(value); } get [_previous]() { return this[_previous$]; } set [_previous](value) { - this[_previous$] = TN().as(value); + this[_previous$] = __t$TN().as(value); } get [_list]() { return this[_list$]; } set [_list](value) { - this[_list$] = LinkedListNOfT().as(value); + this[_list$] = __t$LinkedListNOfT().as(value); } unlink() { - let t82; - t82 = this[_list]; - t82 == null ? null : t82.remove(T.as(this)); + let t71; + t71 = this[_list]; + t71 == null ? null : t71.remove(T.as(this)); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedListEntry$(T)).new(); } } (LinkedListEntry.new = function() { @@ -21315,7 +23257,7 @@ _internal.LinkedListEntry$ = dart.generic(T => { __proto__: dart.getMethods(LinkedListEntry.__proto__), unlink: dart.fnType(dart.void, []) })); - dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setLibraryUri(LinkedListEntry, I[26]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_next]: dart.fieldType(dart.nullable(T)), @@ -21332,11 +23274,15 @@ _internal._LinkedListIterator$ = dart.generic(T => { get current() { return dart.nullCast(this[_current$], T); } + static ['_#new#tearOff'](T, list) { + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); + return new (_internal._LinkedListIterator$(T)).new(list); + } moveNext() { if (this[_current$] == null) { let list = this[_list]; if (list == null) return false; - if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[40], 123, 14, "list.length > 0"); this[_current$] = list.first; this[_list] = null; return true; @@ -21346,7 +23292,7 @@ _internal._LinkedListIterator$ = dart.generic(T => { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); this[_current$] = null; this[_list] = list; if (list.length === 0) this[_list] = null; @@ -21363,7 +23309,7 @@ _internal._LinkedListIterator$ = dart.generic(T => { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: T })); - dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setLibraryUri(_LinkedListIterator, I[26]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -21373,27 +23319,38 @@ _internal._LinkedListIterator$ = dart.generic(T => { }); _internal._LinkedListIterator = _internal._LinkedListIterator$(); dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); +_internal._Patch = class _Patch extends core.Object { + static ['_#new#tearOff']() { + return new _internal._Patch.new(); + } +}; +(_internal._Patch.new = function() { + ; +}).prototype = _internal._Patch.prototype; +dart.addTypeTests(_internal._Patch); +dart.addTypeCaches(_internal._Patch); +dart.setLibraryUri(_internal._Patch, I[26]); _internal.Sort = class Sort extends core.Object { static sort(E, a, compare) { - if (a == null) dart.nullFailed(I[40], 32, 31, "a"); - if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + if (a == null) dart.nullFailed(I[42], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[42], 32, 38, "compare"); _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); } static sortRange(E, a, from, to, compare) { - if (a == null) dart.nullFailed(I[40], 45, 36, "a"); - if (from == null) dart.nullFailed(I[40], 45, 43, "from"); - if (to == null) dart.nullFailed(I[40], 45, 53, "to"); - if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (a == null) dart.nullFailed(I[42], 45, 36, "a"); + if (from == null) dart.nullFailed(I[42], 45, 43, "from"); + if (to == null) dart.nullFailed(I[42], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[42], 45, 61, "compare"); if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { dart.throw("OutOfRange"); } _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); } static _doSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 56, 15, "a"); - if (left == null) dart.nullFailed(I[40], 56, 22, "left"); - if (right == null) dart.nullFailed(I[40], 56, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 56, 15, "a"); + if (left == null) dart.nullFailed(I[42], 56, 22, "left"); + if (right == null) dart.nullFailed(I[42], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 56, 43, "compare"); if (dart.notNull(right) - dart.notNull(left) <= 32) { _internal.Sort._insertionSort(E, a, left, right, compare); } else { @@ -21401,10 +23358,10 @@ _internal.Sort = class Sort extends core.Object { } } static _insertionSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 65, 15, "a"); - if (left == null) dart.nullFailed(I[40], 65, 22, "left"); - if (right == null) dart.nullFailed(I[40], 65, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 65, 15, "a"); + if (left == null) dart.nullFailed(I[42], 65, 22, "left"); + if (right == null) dart.nullFailed(I[42], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 65, 43, "compare"); for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { let el = a[$_get](i); let j = i; @@ -21416,12 +23373,12 @@ _internal.Sort = class Sort extends core.Object { } } static _dualPivotQuicksort(E, a, left, right, compare) { - let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; - if (a == null) dart.nullFailed(I[40], 78, 15, "a"); - if (left == null) dart.nullFailed(I[40], 78, 22, "left"); - if (right == null) dart.nullFailed(I[40], 78, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); - if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let t71, t71$, t71$0, t71$1, t71$2, t71$3, t71$4, t71$5, t71$6; + if (a == null) dart.nullFailed(I[42], 78, 15, "a"); + if (left == null) dart.nullFailed(I[42], 78, 22, "left"); + if (right == null) dart.nullFailed(I[42], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[42], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); let index1 = dart.notNull(left) + sixth; let index5 = dart.notNull(right) - sixth; @@ -21508,12 +23465,12 @@ _internal.Sort = class Sort extends core.Object { continue; } else if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); - a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + a[$_set]((t71 = less, less = t71 + 1, t71), a[$_get](great)); + a[$_set]((t71$ = great, great = t71$ - 1, t71$), ak); break; } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + a[$_set]((t71$0 = great, great = t71$0 - 1, t71$0), ak); break; } } @@ -21542,11 +23499,11 @@ _internal.Sort = class Sort extends core.Object { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); - a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + a[$_set]((t71$1 = less, less = t71$1 + 1, t71$1), a[$_get](great)); + a[$_set]((t71$2 = great, great = t71$2 - 1, t71$2), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + a[$_set]((t71$3 = great, great = t71$3 - 1, t71$3), ak); } break; } @@ -21593,11 +23550,11 @@ _internal.Sort = class Sort extends core.Object { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); - a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + a[$_set]((t71$4 = less, less = t71$4 + 1, t71$4), a[$_get](great)); + a[$_set]((t71$5 = great, great = t71$5 - 1, t71$5), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + a[$_set]((t71$6 = great, great = t71$6 - 1, t71$6), ak); } break; } @@ -21610,13 +23567,18 @@ _internal.Sort = class Sort extends core.Object { _internal.Sort._doSort(E, a, less, great, compare); } } + static ['_#new#tearOff']() { + return new _internal.Sort.new(); + } }; (_internal.Sort.new = function() { ; }).prototype = _internal.Sort.prototype; dart.addTypeTests(_internal.Sort); dart.addTypeCaches(_internal.Sort); -dart.setLibraryUri(_internal.Sort, I[25]); +dart.setStaticMethodSignature(_internal.Sort, () => ['sort', 'sortRange', '_doSort', '_insertionSort', '_dualPivotQuicksort']); +dart.setLibraryUri(_internal.Sort, I[26]); +dart.setStaticFieldSignature(_internal.Sort, () => ['_INSERTION_SORT_THRESHOLD']); dart.defineLazy(_internal.Sort, { /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { return 32; @@ -21630,6 +23592,14 @@ _internal.Symbol = class Symbol extends core.Object { set [_name$](value) { super[_name$] = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); + return new _internal.Symbol.new(name); + } + static ['_#unvalidated#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); + return new _internal.Symbol.unvalidated(_name); + } _equals(other) { if (other == null) return false; return _internal.Symbol.is(other) && this[_name$] == other[_name$]; @@ -21645,41 +23615,24 @@ _internal.Symbol = class Symbol extends core.Object { return "Symbol(\"" + dart.str(this[_name$]) + "\")"; } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); return symbol[_name$]; } - static validatePublicSymbol(name) { - if (name == null) dart.nullFailed(I[42], 121, 45, "name"); - if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; - if (name[$startsWith]("_")) { - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); - } - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); - } - static isValidSymbol(name) { - if (name == null) dart.nullFailed(I[42], 137, 36, "name"); - return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); - } static computeUnmangledName(symbol) { - if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + if (symbol == null) dart.nullFailed(I[43], 36, 45, "symbol"); return symbol[_name$]; } }; (_internal.Symbol.new = function(name) { - if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); this[_name$0] = name; ; }).prototype = _internal.Symbol.prototype; (_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); this[_name$0] = _name; ; }).prototype = _internal.Symbol.prototype; -(_internal.Symbol.validated = function(name) { - if (name == null) dart.nullFailed(I[42], 110, 27, "name"); - this[_name$0] = _internal.Symbol.validatePublicSymbol(name); - ; -}).prototype = _internal.Symbol.prototype; dart.addTypeTests(_internal.Symbol); dart.addTypeCaches(_internal.Symbol); _internal.Symbol[dart.implements] = () => [core.Symbol]; @@ -21688,33 +23641,14 @@ dart.setMethodSignature(_internal.Symbol, () => ({ toString: dart.fnType(dart.dynamic, []), [$toString]: dart.fnType(dart.dynamic, []) })); -dart.setLibraryUri(_internal.Symbol, I[25]); +dart.setStaticMethodSignature(_internal.Symbol, () => ['getName', 'computeUnmangledName']); +dart.setLibraryUri(_internal.Symbol, I[26]); dart.setFieldSignature(_internal.Symbol, () => ({ __proto__: dart.getFields(_internal.Symbol.__proto__), [_name$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); -dart.defineLazy(_internal.Symbol, { - /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { - return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; - }, - /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; - }, - /*_internal.Symbol.identifierRE*/get identifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; - }, - /*_internal.Symbol.operatorRE*/get operatorRE() { - return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; - }, - /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); - }, - /*_internal.Symbol.symbolPattern*/get symbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); - } -}, false); _internal.createSentinel = function createSentinel(T) { return dart.throw(new core.UnsupportedError.new("createSentinel")); }; @@ -21722,11 +23656,14 @@ _internal.isSentinel = function isSentinel(value) { return dart.throw(new core.UnsupportedError.new("isSentinel")); }; _internal.typeAcceptsNull = function typeAcceptsNull(T) { - return !false || T.is(null); + return true || T.is(null); +}; +_internal.unsafeCast = function unsafeCast(T, v) { + return T.as(v); }; _internal.hexDigitValue = function hexDigitValue(char) { - if (char == null) dart.nullFailed(I[21], 100, 23, "char"); - if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + if (char == null) dart.nullFailed(I[22], 117, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[22], 118, 10, "char >= 0 && char <= 0xFFFF"); let digit = (dart.notNull(char) ^ 48) >>> 0; if (digit <= 9) return digit; let letter = (dart.notNull(char) | 32) >>> 0; @@ -21734,28 +23671,28 @@ _internal.hexDigitValue = function hexDigitValue(char) { return -1; }; _internal.parseHexByte = function parseHexByte(source, index) { - if (source == null) dart.nullFailed(I[21], 115, 25, "source"); - if (index == null) dart.nullFailed(I[21], 115, 37, "index"); - if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + if (source == null) dart.nullFailed(I[22], 132, 25, "source"); + if (index == null) dart.nullFailed(I[22], 132, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[22], 133, 10, "index + 2 <= source.length"); let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); }; _internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { - if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + if (extract == null) dart.nullFailed(I[43], 57, 54, "extract"); return dart.extractTypeArguments(T, instance, extract); }; _internal.checkNotNullable = function checkNotNullable(T, value, name) { - if (value == null) dart.nullFailed(I[21], 402, 40, "value"); - if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) dart.nullFailed(I[22], 758, 40, "value"); + if (name == null) dart.nullFailed(I[22], 758, 54, "name"); if (value == null) { dart.throw(new (_internal.NotNullableError$(T)).new(name)); } return value; }; _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { - if (value == null) dart.nullFailed(I[21], 427, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) dart.nullFailed(I[22], 782, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); if (value == null) { return defaultVal; } else { @@ -21763,41 +23700,57 @@ _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamW } }; _internal._checkCount = function _checkCount(count) { - if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + if (count == null) dart.nullFailed(I[39], 628, 21, "count"); core.ArgumentError.checkNotNull(core.int, count, "count"); core.RangeError.checkNotNegative(count, "count"); return count; }; _internal.makeListFixedLength = function makeListFixedLength(T, growableList) { - if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + if (growableList == null) dart.nullFailed(I[43], 45, 40, "growableList"); _interceptors.JSArray.markFixedList(growableList); return growableList; }; _internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { - if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + if (fixedLengthList == null) dart.nullFailed(I[43], 51, 46, "fixedLengthList"); _interceptors.JSArray.markUnmodifiableList(fixedLengthList); return fixedLengthList; }; _internal.printToConsole = function printToConsole(line) { - if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + if (line == null) dart.nullFailed(I[43], 40, 28, "line"); _js_primitives.printString(dart.str(line)); }; dart.defineLazy(_internal, { /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - return C[21] || CT.C21; + return C[22] || CT.C22; }, /*_internal.nullFuture*/get nullFuture() { return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); }, + /*_internal.sentinelValue*/get sentinelValue() { + return C[0] || CT.C0; + }, + /*_internal.patch*/get patch() { + return C[23] || CT.C23; + }, /*_internal.printToZone*/get printToZone() { return null; }, - set printToZone(_) {} + set printToZone(value) {} }, false); var _handle = dart.privateName(_isolate_helper, "_handle"); var _tick = dart.privateName(_isolate_helper, "_tick"); var _once = dart.privateName(_isolate_helper, "_once"); _isolate_helper.TimerImpl = class TimerImpl extends core.Object { + static ['_#new#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static ['_#periodic#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } get tick() { return this[_tick]; } @@ -21820,8 +23773,8 @@ _isolate_helper.TimerImpl = class TimerImpl extends core.Object { } }; (_isolate_helper.TimerImpl.new = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = true; @@ -21843,8 +23796,8 @@ _isolate_helper.TimerImpl = class TimerImpl extends core.Object { } }).prototype = _isolate_helper.TimerImpl.prototype; (_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = false; @@ -21883,7 +23836,7 @@ dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ tick: core.int, isActive: core.bool })); -dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); +dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), [_once]: dart.finalFieldType(core.bool), @@ -21911,18 +23864,14 @@ dart.defineLazy(_isolate_helper, { return dart.global; } }, false); -_js_helper._Patch = class _Patch extends core.Object {}; -(_js_helper._Patch.new = function() { - ; -}).prototype = _js_helper._Patch.prototype; -dart.addTypeTests(_js_helper._Patch); -dart.addTypeCaches(_js_helper._Patch); -dart.setLibraryUri(_js_helper._Patch, I[45]); var _current$0 = dart.privateName(_js_helper, "_current"); var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); const _is_DartIterator_default = Symbol('_is_DartIterator_default'); _js_helper.DartIterator$ = dart.generic(E => { class DartIterator extends core.Object { + static ['_#new#tearOff'](E, _jsIterator) { + return new (_js_helper.DartIterator$(E)).new(_jsIterator); + } get current() { return E.as(this[_current$0]); } @@ -21949,7 +23898,7 @@ _js_helper.DartIterator$ = dart.generic(E => { __proto__: dart.getGetters(DartIterator.__proto__), current: E })); - dart.setLibraryUri(DartIterator, I[45]); + dart.setLibraryUri(DartIterator, I[47]); dart.setFieldSignature(DartIterator, () => ({ __proto__: dart.getFields(DartIterator.__proto__), [_jsIterator$]: dart.finalFieldType(dart.dynamic), @@ -21962,17 +23911,21 @@ dart.addTypeTests(_js_helper.DartIterator, _is_DartIterator_default); var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); _js_helper.SyncIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class SyncIterable extends collection.IterableBase$(E) { + static ['_#new#tearOff'](E, _initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); + return new (_js_helper.SyncIterable$(E)).new(_initGenerator); + } [Symbol.iterator]() { return this[_initGenerator$](); } get iterator() { - return new (DartIteratorOfE()).new(this[_initGenerator$]()); + return new (__t$DartIteratorOfE()).new(this[_initGenerator$]()); } } (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); this[_initGenerator$] = _initGenerator; SyncIterable.__proto__.new.call(this); ; @@ -21989,7 +23942,7 @@ _js_helper.SyncIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SyncIterable, I[45]); + dart.setLibraryUri(SyncIterable, I[47]); dart.setFieldSignature(SyncIterable, () => ({ __proto__: dart.getFields(SyncIterable.__proto__), [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) @@ -22034,7 +23987,7 @@ _js_helper.Primitives = class Primitives extends core.Object { } else { maxCharCode = 97 - 10 - 1 + radix; } - if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[48], 123, 14, "match[digitsIndex] is String"); let digitsPart = match[digitsIndex]; for (let i = 0; i < digitsPart.length; i = i + 1) { let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; @@ -22088,7 +24041,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return ""; } static _fromCharCodeApply(array) { - if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + if (array == null) dart.nullFailed(I[48], 210, 46, "array"); let end = dart.notNull(array[$length]); if (end <= 500) { return String.fromCharCode.apply(null, array); @@ -22101,7 +24054,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return result; } static stringFromCodePoints(codePoints) { - if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + if (codePoints == null) dart.nullFailed(I[48], 232, 51, "codePoints"); let a = T$.JSArrayOfint().of([]); for (let i of codePoints) { if (i == null) dart.argumentError(i); @@ -22119,7 +24072,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return _js_helper.Primitives._fromCharCodeApply(a); } static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); for (let i of charCodes) { if (i == null) dart.argumentError(i); { @@ -22130,7 +24083,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return _js_helper.Primitives._fromCharCodeApply(charCodes); } static stringFromNativeUint8List(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 259, 23, "charCodes"); if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); if (end <= 500 && start === 0 && end === charCodes[$length]) { @@ -22159,11 +24112,11 @@ _js_helper.Primitives = class Primitives extends core.Object { dart.throw(new core.RangeError.range(charCode, 0, 1114111)); } static flattenString(str) { - if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + if (str == null) dart.nullFailed(I[48], 294, 38, "str"); return str.charCodeAt(0) == 0 ? str : str; } static getTimeZoneName(receiver) { - if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 298, 42, "receiver"); let d = _js_helper.Primitives.lazyAsJsDate(receiver); let match = /\((.*)\)/.exec(d.toString()); if (match != null) return match[$_get](1); @@ -22174,7 +24127,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return ""; } static getTimeZoneOffsetInMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 338, 50, "receiver"); return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); } static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { @@ -22214,42 +24167,42 @@ _js_helper.Primitives = class Primitives extends core.Object { return date.valueOf(); } static lazyAsJsDate(receiver) { - if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 390, 32, "receiver"); if (receiver.date === void 0) { receiver.date = new Date(receiver.millisecondsSinceEpoch); } return receiver.date; } static getYear(receiver) { - if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 402, 31, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; } static getMonth(receiver) { - if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 408, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; } static getDay(receiver) { - if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 414, 30, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; } static getHours(receiver) { - if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 420, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; } static getMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 426, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; } static getSeconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 432, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; } static getMilliseconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 438, 39, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; } static getWeekday(receiver) { - if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 444, 34, "receiver"); let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; return (weekday + 6)[$modulo](7) + 1; } @@ -22260,7 +24213,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return value; } static getProperty(object, key) { - if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (key == null) dart.nullFailed(I[48], 459, 53, "key"); if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { dart.throw(_js_helper.argumentErrorValue(object)); } @@ -22272,13 +24225,19 @@ _js_helper.Primitives = class Primitives extends core.Object { } object[key] = value; } + static ['_#new#tearOff']() { + return new _js_helper.Primitives.new(); + } }; (_js_helper.Primitives.new = function() { ; }).prototype = _js_helper.Primitives.prototype; dart.addTypeTests(_js_helper.Primitives); dart.addTypeCaches(_js_helper.Primitives); -dart.setLibraryUri(_js_helper.Primitives, I[45]); +dart.setStaticMethodSignature(_js_helper.Primitives, () => ['parseInt', 'parseDouble', 'dateNow', 'initTicker', 'currentUri', '_fromCharCodeApply', 'stringFromCodePoints', 'stringFromCharCodes', 'stringFromNativeUint8List', 'stringFromCharCode', 'flattenString', 'getTimeZoneName', 'getTimeZoneOffsetInMinutes', 'valueFromDecomposedDate', 'patchUpY2K', 'lazyAsJsDate', 'getYear', 'getMonth', 'getDay', 'getHours', 'getMinutes', 'getSeconds', 'getMilliseconds', 'getWeekday', 'valueFromDateString', 'getProperty', 'setProperty']); +dart.setStaticGetterSignature(_js_helper.Primitives, () => ['isD8', 'isJsshell']); +dart.setLibraryUri(_js_helper.Primitives, I[47]); +dart.setStaticFieldSignature(_js_helper.Primitives, () => ['DOLLAR_CHAR_VALUE', 'timerFrequency', 'timerTicks']); dart.defineLazy(_js_helper.Primitives, { /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { return 36; @@ -22286,11 +24245,15 @@ dart.defineLazy(_js_helper.Primitives, { /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { return 0; }, - set timerFrequency(_) {}, + set timerFrequency(value) { + if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); + }, /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[22] || CT.C22; + return C[24] || CT.C24; }, - set timerTicks(_) {} + set timerTicks(value) { + if (value == null) dart.nullFailed(I[48], 183, 25, "timerTicks"); + } }, false); var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); var _message$0 = dart.privateName(_js_helper, "_message"); @@ -22307,6 +24270,9 @@ _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { set [_receiver$1](value) { super[_receiver$1] = value; } + static ['_#new#tearOff'](_message, match) { + return new _js_helper.JsNoSuchMethodError.new(_message, match); + } toString() { if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); if (this[_receiver$1] == null) { @@ -22315,19 +24281,19 @@ _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.JsNoSuchMethodError.new = function(_message, match) { @@ -22348,7 +24314,7 @@ dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); +dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[47]); dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), [_message$0]: dart.finalFieldType(dart.nullable(core.String)), @@ -22357,62 +24323,74 @@ dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ })); dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); _js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); + return new _js_helper.UnknownJsTypeError.new(_message); + } toString() { return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); } }; (_js_helper.UnknownJsTypeError.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); this[_message$0] = _message; _js_helper.UnknownJsTypeError.__proto__.new.call(this); ; }).prototype = _js_helper.UnknownJsTypeError.prototype; dart.addTypeTests(_js_helper.UnknownJsTypeError); dart.addTypeCaches(_js_helper.UnknownJsTypeError); -dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); +dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[47]); dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); -var types$0 = dart.privateName(_js_helper, "Creates.types"); +var types$1 = dart.privateName(_js_helper, "Creates.types"); _js_helper.Creates = class Creates extends core.Object { get types() { - return this[types$0]; + return this[types$1]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + return new _js_helper.Creates.new(types); + } }; (_js_helper.Creates.new = function(types) { - if (types == null) dart.nullFailed(I[46], 644, 22, "types"); - this[types$0] = types; + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + this[types$1] = types; ; }).prototype = _js_helper.Creates.prototype; dart.addTypeTests(_js_helper.Creates); dart.addTypeCaches(_js_helper.Creates); -dart.setLibraryUri(_js_helper.Creates, I[45]); +dart.setLibraryUri(_js_helper.Creates, I[47]); dart.setFieldSignature(_js_helper.Creates, () => ({ __proto__: dart.getFields(_js_helper.Creates.__proto__), types: dart.finalFieldType(core.String) })); -var types$1 = dart.privateName(_js_helper, "Returns.types"); +var types$2 = dart.privateName(_js_helper, "Returns.types"); _js_helper.Returns = class Returns extends core.Object { get types() { - return this[types$1]; + return this[types$2]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + return new _js_helper.Returns.new(types); + } }; (_js_helper.Returns.new = function(types) { - if (types == null) dart.nullFailed(I[46], 670, 22, "types"); - this[types$1] = types; + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + this[types$2] = types; ; }).prototype = _js_helper.Returns.prototype; dart.addTypeTests(_js_helper.Returns); dart.addTypeCaches(_js_helper.Returns); -dart.setLibraryUri(_js_helper.Returns, I[45]); +dart.setLibraryUri(_js_helper.Returns, I[47]); dart.setFieldSignature(_js_helper.Returns, () => ({ __proto__: dart.getFields(_js_helper.Returns.__proto__), types: dart.finalFieldType(core.String) @@ -22425,15 +24403,19 @@ _js_helper.JSName = class JSName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); + return new _js_helper.JSName.new(name); + } }; (_js_helper.JSName.new = function(name) { - if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); this[name$6] = name; ; }).prototype = _js_helper.JSName.prototype; dart.addTypeTests(_js_helper.JSName); dart.addTypeCaches(_js_helper.JSName); -dart.setLibraryUri(_js_helper.JSName, I[45]); +dart.setLibraryUri(_js_helper.JSName, I[47]); dart.setFieldSignature(_js_helper.JSName, () => ({ __proto__: dart.getFields(_js_helper.JSName.__proto__), name: dart.finalFieldType(core.String) @@ -22447,18 +24429,22 @@ _js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { dart.addTypeTests(JavaScriptIndexingBehavior); JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; dart.addTypeCaches(JavaScriptIndexingBehavior); - dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[47]); return JavaScriptIndexingBehavior; }); _js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); + return new _js_helper.TypeErrorImpl.new(_message); + } toString() { return this[_message$0]; } }; (_js_helper.TypeErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); this[_message$0] = _message; _js_helper.TypeErrorImpl.__proto__.new.call(this); ; @@ -22466,33 +24452,21 @@ _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { dart.addTypeTests(_js_helper.TypeErrorImpl); dart.addTypeCaches(_js_helper.TypeErrorImpl); _js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; -dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); +dart.setLibraryUri(_js_helper.TypeErrorImpl, I[47]); dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); -_js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { - toString() { - return this[_message$0]; - } -}; -(_js_helper.CastErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); - this[_message$0] = _message; - _js_helper.CastErrorImpl.__proto__.new.call(this); - ; -}).prototype = _js_helper.CastErrorImpl.prototype; -dart.addTypeTests(_js_helper.CastErrorImpl); -dart.addTypeCaches(_js_helper.CastErrorImpl); -_js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; -dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); -dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ - __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), - [_message$0]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); core.FallThroughError = class FallThroughError extends core.Error { + static ['_#new#tearOff']() { + return new core.FallThroughError.new(); + } + static ['_#_create#tearOff'](url, line) { + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); + return new core.FallThroughError._create(url, line); + } toString() { return super[$toString](); } @@ -22502,19 +24476,22 @@ core.FallThroughError = class FallThroughError extends core.Error { ; }).prototype = core.FallThroughError.prototype; (core.FallThroughError._create = function(url, line) { - if (url == null) dart.nullFailed(I[7], 292, 35, "url"); - if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); core.FallThroughError.__proto__.new.call(this); ; }).prototype = core.FallThroughError.prototype; dart.addTypeTests(core.FallThroughError); dart.addTypeCaches(core.FallThroughError); -dart.setLibraryUri(core.FallThroughError, I[8]); +dart.setLibraryUri(core.FallThroughError, I[9]); dart.defineExtensionMethods(core.FallThroughError, ['toString']); _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { toString() { return "Switch case fall-through."; } + static ['_#new#tearOff']() { + return new _js_helper.FallThroughErrorImplementation.new(); + } }; (_js_helper.FallThroughErrorImplementation.new = function() { _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); @@ -22522,7 +24499,7 @@ _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation }).prototype = _js_helper.FallThroughErrorImplementation.prototype; dart.addTypeTests(_js_helper.FallThroughErrorImplementation); dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); -dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); +dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[47]); dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); var message$ = dart.privateName(_js_helper, "RuntimeError.message"); _js_helper.RuntimeError = class RuntimeError extends core.Error { @@ -22532,6 +24509,9 @@ _js_helper.RuntimeError = class RuntimeError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + return new _js_helper.RuntimeError.new(message); + } toString() { return "RuntimeError: " + dart.str(this.message); } @@ -22543,7 +24523,7 @@ _js_helper.RuntimeError = class RuntimeError extends core.Error { }).prototype = _js_helper.RuntimeError.prototype; dart.addTypeTests(_js_helper.RuntimeError); dart.addTypeCaches(_js_helper.RuntimeError); -dart.setLibraryUri(_js_helper.RuntimeError, I[45]); +dart.setLibraryUri(_js_helper.RuntimeError, I[47]); dart.setFieldSignature(_js_helper.RuntimeError, () => ({ __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -22556,36 +24536,43 @@ _js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Er return this[enclosingLibrary$]; } set enclosingLibrary(value) { + if (value == null) dart.nullFailed(I[48], 714, 10, "enclosingLibrary"); this[enclosingLibrary$] = value; } get importPrefix() { return this[importPrefix$]; } set importPrefix(value) { + if (value == null) dart.nullFailed(I[48], 715, 10, "importPrefix"); this[importPrefix$] = value; } + static ['_#new#tearOff'](enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); + return new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix); + } toString() { return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { - if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); - if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); this[enclosingLibrary$] = enclosingLibrary; this[importPrefix$] = importPrefix; _js_helper.DeferredNotLoadedError.__proto__.new.call(this); @@ -22602,7 +24589,7 @@ dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); +dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), enclosingLibrary: dart.fieldType(core.String), @@ -22621,6 +24608,9 @@ core.AssertionError = class AssertionError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.AssertionError.new(message); + } toString() { if (this.message != null) { return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); @@ -22635,13 +24625,16 @@ core.AssertionError = class AssertionError extends core.Error { }).prototype = core.AssertionError.prototype; dart.addTypeTests(core.AssertionError); dart.addTypeCaches(core.AssertionError); -dart.setLibraryUri(core.AssertionError, I[8]); +dart.setLibraryUri(core.AssertionError, I[9]); dart.setFieldSignature(core.AssertionError, () => ({ __proto__: dart.getFields(core.AssertionError.__proto__), message: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.AssertionError, ['toString']); _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + static ['_#new#tearOff'](message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + return new _js_helper.AssertionErrorImpl.new(message, _fileUri, _line, _column, _conditionSource); + } toString() { let failureMessage = ""; if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { @@ -22661,7 +24654,7 @@ _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionE }).prototype = _js_helper.AssertionErrorImpl.prototype; dart.addTypeTests(_js_helper.AssertionErrorImpl); dart.addTypeCaches(_js_helper.AssertionErrorImpl); -dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); +dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[47]); dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), @@ -22674,6 +24667,9 @@ _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionErr toString() { return "Failed assertion: boolean expression must not be null"; } + static ['_#new#tearOff']() { + return new _js_helper.BooleanConversionAssertionError.new(); + } }; (_js_helper.BooleanConversionAssertionError.new = function() { _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); @@ -22681,7 +24677,7 @@ _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionErr }).prototype = _js_helper.BooleanConversionAssertionError.prototype; dart.addTypeTests(_js_helper.BooleanConversionAssertionError); dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); -dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); +dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[47]); dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); @@ -22700,12 +24696,17 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { set [_nativeSymbol](value) { super[_nativeSymbol] = value; } + static ['_#new#tearOff'](_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); + return new _js_helper.PrivateSymbol.new(_name, _nativeSymbol); + } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 800, 32, "symbol"); return _js_helper.PrivateSymbol.as(symbol)[_name]; } static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; return null; } @@ -22721,8 +24722,8 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { } }; (_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { - if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); - if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); this[_name$1] = _name; this[_nativeSymbol$] = _nativeSymbol; ; @@ -22730,7 +24731,8 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { dart.addTypeTests(_js_helper.PrivateSymbol); dart.addTypeCaches(_js_helper.PrivateSymbol); _js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; -dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); +dart.setStaticMethodSignature(_js_helper.PrivateSymbol, () => ['getName', 'getNativeSymbol']); +dart.setLibraryUri(_js_helper.PrivateSymbol, I[47]); dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), [_name]: dart.finalFieldType(core.String), @@ -22738,27 +24740,39 @@ dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ })); dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); -_js_helper.ForceInline = class ForceInline extends core.Object {}; +_js_helper.ForceInline = class ForceInline extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.ForceInline.new(); + } +}; (_js_helper.ForceInline.new = function() { ; }).prototype = _js_helper.ForceInline.prototype; dart.addTypeTests(_js_helper.ForceInline); dart.addTypeCaches(_js_helper.ForceInline); -dart.setLibraryUri(_js_helper.ForceInline, I[45]); -_js_helper._NotNull = class _NotNull extends core.Object {}; +dart.setLibraryUri(_js_helper.ForceInline, I[47]); +_js_helper._NotNull = class _NotNull extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NotNull.new(); + } +}; (_js_helper._NotNull.new = function() { ; }).prototype = _js_helper._NotNull.prototype; dart.addTypeTests(_js_helper._NotNull); dart.addTypeCaches(_js_helper._NotNull); -dart.setLibraryUri(_js_helper._NotNull, I[45]); -_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; +dart.setLibraryUri(_js_helper._NotNull, I[47]); +_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.NoReifyGeneric.new(); + } +}; (_js_helper.NoReifyGeneric.new = function() { ; }).prototype = _js_helper.NoReifyGeneric.prototype; dart.addTypeTests(_js_helper.NoReifyGeneric); dart.addTypeCaches(_js_helper.NoReifyGeneric); -dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); +dart.setLibraryUri(_js_helper.NoReifyGeneric, I[47]); var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { get value() { @@ -22767,47 +24781,45 @@ _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](value) { + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); + return new _js_helper.ReifyFunctionTypes.new(value); + } }; (_js_helper.ReifyFunctionTypes.new = function(value) { - if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); this[value$1] = value; ; }).prototype = _js_helper.ReifyFunctionTypes.prototype; dart.addTypeTests(_js_helper.ReifyFunctionTypes); dart.addTypeCaches(_js_helper.ReifyFunctionTypes); -dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); +dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[47]); dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), value: dart.finalFieldType(core.bool) })); -_js_helper._NullCheck = class _NullCheck extends core.Object {}; +_js_helper._NullCheck = class _NullCheck extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NullCheck.new(); + } +}; (_js_helper._NullCheck.new = function() { ; }).prototype = _js_helper._NullCheck.prototype; dart.addTypeTests(_js_helper._NullCheck); dart.addTypeCaches(_js_helper._NullCheck); -dart.setLibraryUri(_js_helper._NullCheck, I[45]); -_js_helper._Undefined = class _Undefined extends core.Object {}; +dart.setLibraryUri(_js_helper._NullCheck, I[47]); +_js_helper._Undefined = class _Undefined extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._Undefined.new(); + } +}; (_js_helper._Undefined.new = function() { ; }).prototype = _js_helper._Undefined.prototype; dart.addTypeTests(_js_helper._Undefined); dart.addTypeCaches(_js_helper._Undefined); -dart.setLibraryUri(_js_helper._Undefined, I[45]); -_js_helper.NoThrows = class NoThrows extends core.Object {}; -(_js_helper.NoThrows.new = function() { - ; -}).prototype = _js_helper.NoThrows.prototype; -dart.addTypeTests(_js_helper.NoThrows); -dart.addTypeCaches(_js_helper.NoThrows); -dart.setLibraryUri(_js_helper.NoThrows, I[45]); -_js_helper.NoInline = class NoInline extends core.Object {}; -(_js_helper.NoInline.new = function() { - ; -}).prototype = _js_helper.NoInline.prototype; -dart.addTypeTests(_js_helper.NoInline); -dart.addTypeCaches(_js_helper.NoInline); -dart.setLibraryUri(_js_helper.NoInline, I[45]); +dart.setLibraryUri(_js_helper._Undefined, I[47]); var name$7 = dart.privateName(_js_helper, "Native.name"); _js_helper.Native = class Native extends core.Object { get name() { @@ -22816,15 +24828,19 @@ _js_helper.Native = class Native extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); + return new _js_helper.Native.new(name); + } }; (_js_helper.Native.new = function(name) { - if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); this[name$7] = name; ; }).prototype = _js_helper.Native.prototype; dart.addTypeTests(_js_helper.Native); dart.addTypeCaches(_js_helper.Native); -dart.setLibraryUri(_js_helper.Native, I[45]); +dart.setLibraryUri(_js_helper.Native, I[47]); dart.setFieldSignature(_js_helper.Native, () => ({ __proto__: dart.getFields(_js_helper.Native.__proto__), name: dart.finalFieldType(core.String) @@ -22837,34 +24853,43 @@ _js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); + return new _js_helper.JsPeerInterface.new({name: name}); + } }; (_js_helper.JsPeerInterface.new = function(opts) { let name = opts && 'name' in opts ? opts.name : null; - if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); this[name$8] = name; ; }).prototype = _js_helper.JsPeerInterface.prototype; dart.addTypeTests(_js_helper.JsPeerInterface); dart.addTypeCaches(_js_helper.JsPeerInterface); -dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); +dart.setLibraryUri(_js_helper.JsPeerInterface, I[47]); dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), name: dart.finalFieldType(core.String) })); -_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; +_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.SupportJsExtensionMethods.new(); + } +}; (_js_helper.SupportJsExtensionMethods.new = function() { ; }).prototype = _js_helper.SupportJsExtensionMethods.prototype; dart.addTypeTests(_js_helper.SupportJsExtensionMethods); dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); -dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); +dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[47]); var _modifications = dart.privateName(_js_helper, "_modifications"); var _map$ = dart.privateName(_js_helper, "_map"); const _is_InternalMap_default = Symbol('_is_InternalMap_default'); _js_helper.InternalMap$ = dart.generic((K, V) => { class InternalMap extends collection.MapBase$(K, V) { forEach(action) { - if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + if (action == null) dart.nullFailed(I[50], 18, 21, "action"); let modifications = this[_modifications]; for (let entry of this[_map$].entries()) { action(entry[0], entry[1]); @@ -22881,7 +24906,7 @@ _js_helper.InternalMap$ = dart.generic((K, V) => { InternalMap.prototype[_is_InternalMap_default] = true; dart.addTypeCaches(InternalMap); InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[45]); + dart.setLibraryUri(InternalMap, I[47]); dart.defineExtensionMethods(InternalMap, ['forEach']); return InternalMap; }); @@ -22892,11 +24917,11 @@ var _modifications$ = dart.privateName(_js_helper, "LinkedMap._modifications"); var _keyMap = dart.privateName(_js_helper, "_keyMap"); const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); _js_helper.LinkedMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class LinkedMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map]; @@ -22910,6 +24935,13 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); + return new (_js_helper.LinkedMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -22920,16 +24952,16 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22947,8 +24979,8 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 121, 25, "other"); let map = this[_map$]; let length = map.size; other[$forEach](dart.fn((key, value) => { @@ -22958,16 +24990,16 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { key = _js_helper.putLinkedMapKey(key, this[_keyMap]); } this[_map$].set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22992,21 +25024,21 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 171, 26, "ifAbsent"); let map = this[_map$]; if (key == null) { key = null; if (map.has(null)) return map.get(null); } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) { this[_keyMap].set(hash, [key]); @@ -23025,14 +25057,14 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { value = null; } map.set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let hash = dart.hashCode(key) & 0x3ffffff; + let hash = dart.hashCode(key) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) return null; for (let i = 0, n = buckets.length;;) { @@ -23052,7 +25084,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { let map = this[_map$]; let value = map.get(key); if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } @@ -23061,7 +25093,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23072,7 +25104,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { ; }).prototype = LinkedMap.prototype; (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); this[_map] = new Map(); this[_keyMap] = new Map(); this[_modifications$] = 0; @@ -23108,7 +25140,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(LinkedMap, I[45]); + dart.setLibraryUri(LinkedMap, I[47]); dart.setFieldSignature(LinkedMap, () => ({ __proto__: dart.getFields(LinkedMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23138,8 +25170,12 @@ _js_helper.LinkedMap = _js_helper.LinkedMap$(); dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); _js_helper.ImmutableMap$ = dart.generic((K, V) => { - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); + return new (_js_helper.ImmutableMap$(K, V)).from(entries); + } _set(key, value$) { let value = value$; K.as(key); @@ -23149,7 +25185,7 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } addAll(other) { core.Object.as(other); - if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + if (other == null) dart.nullFailed(I[50], 268, 22, "other"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } clear() { @@ -23160,8 +25196,8 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } static _unsupported() { @@ -23169,14 +25205,15 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } } (ImmutableMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); ImmutableMap.__proto__.from.call(this, entries); ; }).prototype = ImmutableMap.prototype; dart.addTypeTests(ImmutableMap); ImmutableMap.prototype[_is_ImmutableMap_default] = true; dart.addTypeCaches(ImmutableMap); - dart.setLibraryUri(ImmutableMap, I[45]); + dart.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); + dart.setLibraryUri(ImmutableMap, I[47]); dart.defineExtensionMethods(ImmutableMap, [ '_set', 'addAll', @@ -23192,11 +25229,11 @@ var _map$0 = dart.privateName(_js_helper, "IdentityMap._map"); var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); _js_helper.IdentityMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class IdentityMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$0]; @@ -23210,6 +25247,13 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$0] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); + return new (_js_helper.IdentityMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -23220,10 +25264,10 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { return this[_map$].has(key); @@ -23235,14 +25279,14 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[51], 47, 25, "other"); if (dart.test(other[$isNotEmpty])) { let map = this[_map$]; other[$forEach](dart.fn((key, value) => { map.set(key, value); - }, KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 67108863; + }, __t$KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { @@ -23257,34 +25301,34 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[51], 71, 26, "ifAbsent"); if (this[_map$].has(key)) { return this[_map$].get(key); } let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { let value = this[_map$].get(key); if (this[_map$].delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } clear() { if (this[_map$].size > 0) { this[_map$].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23294,7 +25338,7 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { ; }).prototype = IdentityMap.prototype; (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); this[_map$0] = new Map(); this[_modifications$0] = 0; let map = this[_map$]; @@ -23321,7 +25365,7 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(IdentityMap, I[45]); + dart.setLibraryUri(IdentityMap, I[47]); dart.setFieldSignature(IdentityMap, () => ({ __proto__: dart.getFields(IdentityMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23351,8 +25395,13 @@ dart.addTypeTests(_js_helper.IdentityMap, _is_IdentityMap_default); var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); _js_helper._JSMapIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E, _map, _isKeys) { + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); + return new (_js_helper._JSMapIterable$(E)).new(_map, _isKeys); + } get length() { return this[_map$][$length]; } @@ -23373,20 +25422,20 @@ _js_helper._JSMapIterable$ = dart.generic(E => { }; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } contains(element) { return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); } forEach(f) { - if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + if (f == null) dart.nullFailed(I[51], 134, 33, "f"); for (let entry of this) f(entry); } } (_JSMapIterable.new = function(_map, _isKeys) { - if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); - if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); this[_map$] = _map; this[_isKeys$] = _isKeys; _JSMapIterable.__proto__.new.call(this); @@ -23404,7 +25453,7 @@ _js_helper._JSMapIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setLibraryUri(_JSMapIterable, I[47]); dart.setFieldSignature(_JSMapIterable, () => ({ __proto__: dart.getFields(_JSMapIterable.__proto__), [_map$]: dart.finalFieldType(_js_helper.InternalMap), @@ -23423,11 +25472,11 @@ var _equals$ = dart.privateName(_js_helper, "_equals"); var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); _js_helper.CustomHashMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class CustomHashMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$1]; @@ -23441,6 +25490,11 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$1] = value; } + static ['_#new#tearOff'](K, V, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); + return new (_js_helper.CustomHashMap$(K, V)).new(_equals, _hashCode); + } get length() { return this[_map$].size; } @@ -23451,15 +25505,15 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23477,16 +25531,16 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[52], 91, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } _get(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23502,11 +25556,11 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { } _set(key, value$) { let value = value$; - let t82; + let t71; K.as(key); V.as(value); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23525,16 +25579,16 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { } } this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value$; } putIfAbsent(key, ifAbsent) { - let t82; + let t71; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23549,13 +25603,13 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { - let t82; + let t71; if (K.is(key)) { - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let keyMap = this[_keyMap]; let buckets = keyMap.get(hash); if (buckets == null) return null; @@ -23571,7 +25625,7 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { let map = this[_map$]; let value = map.get(k); map.delete(k); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value == null ? null : value; } } @@ -23583,13 +25637,13 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } (CustomHashMap.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); - if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); this[_map$1] = new Map(); this[_keyMap] = new Map(); this[_modifications$1] = 0; @@ -23616,7 +25670,7 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CustomHashMap, I[45]); + dart.setLibraryUri(CustomHashMap, I[47]); dart.setFieldSignature(CustomHashMap, () => ({ __proto__: dart.getFields(CustomHashMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23649,26 +25703,32 @@ dart.addTypeTests(_js_helper.CustomHashMap, _is_CustomHashMap_default); const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + static ['_#new#tearOff'](K, V, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); + return new (_js_helper.CustomKeyHashMap$(K, V)).new(equals, hashCode, _validKey); + } containsKey(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; return super.containsKey(key); } _get(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super._get(key); } remove(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super.remove(key); } } (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); - if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); - if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); this[_validKey$] = _validKey; CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); ; @@ -23676,7 +25736,7 @@ _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { dart.addTypeTests(CustomKeyHashMap); CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setLibraryUri(CustomKeyHashMap, I[47]); dart.setFieldSignature(CustomKeyHashMap, () => ({ __proto__: dart.getFields(CustomKeyHashMap.__proto__), [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -23708,6 +25768,18 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { toString() { return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } get [_nativeGlobalVersion]() { if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); @@ -23730,11 +25802,11 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { } static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { if (source == null) dart.argumentError(source); - if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); - if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); - if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); - if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); - if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + if (multiLine == null) dart.nullFailed(I[53], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[53], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[53], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[53], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[53], 87, 59, "global"); let m = dart.test(multiLine) ? "m" : ""; let i = dart.test(caseSensitive) ? "" : "i"; let u = dart.test(unicode) ? "u" : ""; @@ -23762,7 +25834,7 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return this[_nativeRegExp].test(string); } stringMatch(string) { - if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + if (string == null) dart.nullFailed(I[53], 131, 30, "string"); let match = this.firstMatch(string); if (match != null) return match.group(0); return null; @@ -23776,8 +25848,8 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return new _js_helper._AllMatchesIterable.new(this, string, start); } [_execGlobal](string, start) { - if (string == null) dart.nullFailed(I[51], 145, 35, "string"); - if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + if (string == null) dart.nullFailed(I[53], 145, 35, "string"); + if (start == null) dart.nullFailed(I[53], 145, 47, "start"); let regexp = core.Object.as(this[_nativeGlobalVersion]); regexp.lastIndex = start; let match = regexp.exec(string); @@ -23785,21 +25857,21 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return new _js_helper._MatchImplementation.new(this, match); } [_execAnchored](string, start) { - let t82; - if (string == null) dart.nullFailed(I[51], 155, 37, "string"); - if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let t71; + if (string == null) dart.nullFailed(I[53], 155, 37, "string"); + if (start == null) dart.nullFailed(I[53], 155, 49, "start"); let regexp = core.Object.as(this[_nativeAnchoredVersion]); regexp.lastIndex = start; let match = regexp.exec(string); if (match == null) return null; if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; - t82 = match; - t82[$length] = dart.notNull(t82[$length]) - 1; + t71 = match; + t71[$length] = dart.notNull(t71[$length]) - 1; return new _js_helper._MatchImplementation.new(this, match); } matchAsPrefix(string, start = 0) { - if (string == null) dart.nullFailed(I[51], 169, 31, "string"); - if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (string == null) dart.nullFailed(I[53], 169, 31, "string"); + if (start == null) dart.nullFailed(I[53], 169, 44, "start"); if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { dart.throw(new core.RangeError.range(start, 0, string.length)); } @@ -23819,15 +25891,15 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { } }; (_js_helper.JSSyntaxRegExp.new = function(source, opts) { - if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); this[_nativeGlobalRegExp] = null; this[_nativeAnchoredRegExp] = null; this[pattern] = source; @@ -23849,6 +25921,7 @@ dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) })); +dart.setStaticMethodSignature(_js_helper.JSSyntaxRegExp, () => ['makeNative']); dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), [_nativeGlobalVersion]: dart.dynamic, @@ -23862,7 +25935,7 @@ dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ isUnicode: core.bool, isDotAll: core.bool })); -dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); +dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), pattern: dart.finalFieldType(core.String), @@ -23873,6 +25946,11 @@ dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); var _match$ = dart.privateName(_js_helper, "_match"); _js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + static ['_#new#tearOff'](pattern, _match) { + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); + return new _js_helper._MatchImplementation.new(pattern, _match); + } get input() { return this[_match$].input; } @@ -23883,18 +25961,18 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; } group(index) { - if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + if (index == null) dart.nullFailed(I[53], 200, 21, "index"); return this[_match$][$_get](index); } _get(index) { - if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + if (index == null) dart.nullFailed(I[53], 201, 27, "index"); return this.group(index); } get groupCount() { return dart.notNull(this[_match$][$length]) - 1; } groups(groups) { - if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + if (groups == null) dart.nullFailed(I[53], 204, 34, "groups"); let out = T$.JSArrayOfStringN().of([]); for (let i of groups) { out[$add](this.group(i)); @@ -23902,7 +25980,7 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object return out; } namedGroup(name) { - if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + if (name == null) dart.nullFailed(I[53], 212, 29, "name"); let groups = this[_match$].groups; if (groups != null) { let result = groups[name]; @@ -23922,12 +26000,12 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object } }; (_js_helper._MatchImplementation.new = function(pattern, _match) { - if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); - if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); this.pattern = pattern; this[_match$] = _match; - if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); - if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[53], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[53], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); }).prototype = _js_helper._MatchImplementation.prototype; dart.addTypeTests(_js_helper._MatchImplementation); dart.addTypeCaches(_js_helper._MatchImplementation); @@ -23947,7 +26025,7 @@ dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ groupCount: core.int, groupNames: core.Iterable$(core.String) })); -dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); +dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), pattern: dart.finalFieldType(core.Pattern), @@ -23963,16 +26041,22 @@ core.RegExpMatch = class RegExpMatch extends core.Object {}; dart.addTypeTests(core.RegExpMatch); dart.addTypeCaches(core.RegExpMatch); core.RegExpMatch[dart.implements] = () => [core.Match]; -dart.setLibraryUri(core.RegExpMatch, I[8]); +dart.setLibraryUri(core.RegExpMatch, I[9]); _js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + static ['_#new#tearOff'](_re, _string, _start) { + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); + return new _js_helper._AllMatchesIterable.new(_re, _string, _start); + } get iterator() { return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); } }; (_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { - if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); - if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); - if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); this[_re$] = _re; this[_string$0] = _string; this[_start$0] = _start; @@ -23986,7 +26070,7 @@ dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ iterator: core.Iterator$(core.RegExpMatch), [$iterator]: core.Iterator$(core.RegExpMatch) })); -dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); +dart.setLibraryUri(_js_helper._AllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -23997,15 +26081,20 @@ dart.defineExtensionAccessors(_js_helper._AllMatchesIterable, ['iterator']); var _regExp$ = dart.privateName(_js_helper, "_regExp"); var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); + return new _js_helper._AllMatchesIterator.new(_regExp, _string, _nextIndex); + } get current() { return dart.nullCast(this[_current$0], core.RegExpMatch); } static _isLeadSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + if (c == null) dart.nullFailed(I[53], 254, 36, "c"); return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; } static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + if (c == null) dart.nullFailed(I[53], 258, 37, "c"); return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; } moveNext() { @@ -24032,8 +26121,8 @@ _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { } }; (_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { - if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); - if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); this[_current$0] = null; this[_regExp$] = _regExp; this[_string$0] = _string; @@ -24047,11 +26136,12 @@ dart.setMethodSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), moveNext: dart.fnType(core.bool, []) })); +dart.setStaticMethodSignature(_js_helper._AllMatchesIterator, () => ['_isLeadSurrogate', '_isTrailSurrogate']); dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), current: core.RegExpMatch })); -dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); +dart.setLibraryUri(_js_helper._AllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -24081,25 +26171,31 @@ _js_helper.StringMatch = class StringMatch extends core.Object { set pattern(value) { super.pattern = value; } + static ['_#new#tearOff'](start, input, pattern) { + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); + return new _js_helper.StringMatch.new(start, input, pattern); + } get end() { return dart.notNull(this.start) + this.pattern.length; } _get(g) { - if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + if (g == null) dart.nullFailed(I[54], 31, 26, "g"); return this.group(g); } get groupCount() { return 0; } group(group_) { - if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ == null) dart.nullFailed(I[54], 34, 20, "group_"); if (group_ !== 0) { dart.throw(new core.RangeError.value(group_)); } return this.pattern; } groups(groups_) { - if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + if (groups_ == null) dart.nullFailed(I[54], 41, 33, "groups_"); let result = T$.JSArrayOfString().of([]); for (let g of groups_) { result[$add](this.group(g)); @@ -24108,9 +26204,9 @@ _js_helper.StringMatch = class StringMatch extends core.Object { } }; (_js_helper.StringMatch.new = function(start, input, pattern) { - if (start == null) dart.nullFailed(I[52], 28, 30, "start"); - if (input == null) dart.nullFailed(I[52], 28, 49, "input"); - if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); this[start$0] = start; this[input$] = input; this[pattern$] = pattern; @@ -24130,7 +26226,7 @@ dart.setGetterSignature(_js_helper.StringMatch, () => ({ end: core.int, groupCount: core.int })); -dart.setLibraryUri(_js_helper.StringMatch, I[45]); +dart.setLibraryUri(_js_helper.StringMatch, I[47]); dart.setFieldSignature(_js_helper.StringMatch, () => ({ __proto__: dart.getFields(_js_helper.StringMatch.__proto__), start: dart.finalFieldType(core.int), @@ -24146,8 +26242,14 @@ core.Match = class Match extends core.Object {}; }).prototype = core.Match.prototype; dart.addTypeTests(core.Match); dart.addTypeCaches(core.Match); -dart.setLibraryUri(core.Match, I[8]); +dart.setLibraryUri(core.Match, I[9]); _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); + return new _js_helper._StringAllMatchesIterable.new(_input, _pattern, _index); + } get iterator() { return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); } @@ -24160,9 +26262,9 @@ _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends c } }; (_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); this[_input$] = _input; this[_pattern$] = _pattern; this[_index$0] = _index; @@ -24176,7 +26278,7 @@ dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ iterator: core.Iterator$(core.Match), [$iterator]: core.Iterator$(core.Match) })); -dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); +dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24185,6 +26287,12 @@ dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ })); dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); + return new _js_helper._StringAllMatchesIterator.new(_input, _pattern, _index); + } moveNext() { if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { this[_current$0] = null; @@ -24207,9 +26315,9 @@ _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends c } }; (_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); this[_current$0] = null; this[_input$] = _input; this[_pattern$] = _pattern; @@ -24227,7 +26335,7 @@ dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), current: core.Match })); -dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); +dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24236,15 +26344,15 @@ dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ [_current$0]: dart.fieldType(dart.nullable(core.Match)) })); _js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { - if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + if (index == null) dart.nullFailed(I[48], 478, 41, "index"); let length = core.int.as(dart.dload(indexable, 'length')); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { - return new core.IndexError.new(index, indexable, "index", null, length); + return new core.IndexError.withLength(index, length, {indexable: indexable, name: "index"}); } return new core.RangeError.value(index, "index"); }; _js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { - if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (length == null) dart.nullFailed(I[48], 495, 52, "length"); if (start == null) { return new core.ArgumentError.value(start, "start"); } @@ -24281,23 +26389,23 @@ _js_helper.throwConcurrentModificationError = function throwConcurrentModificati dart.throw(new core.ConcurrentModificationError.new(collection)); }; _js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { - let t82, t82$; - if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let t71, t71$; + if (result == null) dart.nullFailed(I[48], 573, 35, "result"); let index = 0; let length = _js_helper.getLength(keyValuePairs); while (index < dart.notNull(length)) { - let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); - let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + let key = _js_helper.getIndex(keyValuePairs, (t71 = index, index = t71 + 1, t71)); + let value = _js_helper.getIndex(keyValuePairs, (t71$ = index, index = t71$ + 1, t71$)); result[$_set](key, value); } return result; }; _js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + if (property == null) dart.nullFailed(I[48], 586, 40, "property"); return jsObject.hasOwnProperty(property); }; _js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + if (property == null) dart.nullFailed(I[48], 590, 35, "property"); return jsObject[property]; }; _js_helper.getFallThroughError = function getFallThroughError() { @@ -24324,33 +26432,38 @@ _js_helper.applyExtension = function applyExtension$(name, nativeObject) { dart.applyExtension(name, nativeObject); }; _js_helper.applyTestExtensions = function applyTestExtensions(names) { - if (names == null) dart.nullFailed(I[46], 802, 39, "names"); - names[$forEach](C[28] || CT.C28); + if (names == null) dart.nullFailed(I[48], 787, 39, "names"); + names[$forEach](C[30] || CT.C30); }; _js_helper.assertInterop = function assertInterop$(value) { if (core.Function.is(value)) dart.assertInterop(value); }; _js_helper.assertInteropArgs = function assertInteropArgs(args) { - if (args == null) dart.nullFailed(I[46], 843, 38, "args"); - return args[$forEach](C[29] || CT.C29); + if (args == null) dart.nullFailed(I[48], 828, 38, "args"); + return args[$forEach](C[31] || CT.C31); +}; +_js_helper.wrapZoneUnaryCallback = function wrapZoneUnaryCallback(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); }; _js_helper.getRuntimeType = function getRuntimeType(object) { return dart.getReifiedType(object); }; _js_helper.getIndex = function getIndex(array, index) { - if (index == null) dart.nullFailed(I[53], 13, 21, "index"); - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + if (index == null) dart.nullFailed(I[55], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 14, 10, "isJsArray(array)"); return array[index]; }; _js_helper.getLength = function getLength(array) { - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 20, 10, "isJsArray(array)"); return array.length; }; _js_helper.isJsArray = function isJsArray(value) { return _interceptors.JSArray.is(value); }; _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { - let hash = key[$hashCode] & 0x3ffffff; + let hash = key[$hashCode] & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -24364,7 +26477,7 @@ _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { return key; }; _js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); return closure; }; _js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { @@ -24374,25 +26487,25 @@ _js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInter _js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { }; _js_helper.regExpGetNative = function regExpGetNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 8, 32, "regexp"); return regexp[_nativeRegExp]; }; _js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 19, 38, "regexp"); let nativeRegexp = regexp[_nativeGlobalVersion]; nativeRegexp.lastIndex = 0; return nativeRegexp; }; _js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { - if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 35, 39, "regexp"); let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; let match = nativeAnchoredRegExp.exec(''); return match[$length] - 2; }; _js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { - if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); - if (string == null) dart.nullFailed(I[51], 293, 60, "string"); - if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + if (regExp == null) dart.nullFailed(I[53], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[53], 293, 60, "string"); + if (start == null) dart.nullFailed(I[53], 293, 72, "start"); return regExp[_execGlobal](string, start); }; _js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { @@ -24408,13 +26521,13 @@ _js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecke return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; }; _js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { - if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); - if (string == null) dart.nullFailed(I[52], 55, 28, "string"); - if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + if (pattern == null) dart.nullFailed(I[54], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[54], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[54], 55, 40, "startIndex"); return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); }; _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { - if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (startIndex == null) dart.nullFailed(I[54], 110, 51, "startIndex"); if (typeof other == 'string') { return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); } else if (_js_helper.JSSyntaxRegExp.is(other)) { @@ -24425,15 +26538,15 @@ _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, } }; _js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { - if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); - if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[54], 122, 58, "replacement"); replacement = replacement.replace(/\$/g, "$$$$"); return receiver.replace(replacer, replacement); }; _js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { - if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); - if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + if (regexp == null) dart.nullFailed(I[54], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[54], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 132, 29, "startIndex"); let match = regexp[_execGlobal](receiver, startIndex); if (match == null) return receiver; let start = match.start; @@ -24467,22 +26580,30 @@ _js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiv let re = _js_helper.regExpGetGlobalNative(pattern); return _js_helper.stringReplaceJS(receiver, re, replacement); } else { - dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + let startIndex = 0; + let result = new core.StringBuffer.new(); + for (let match of pattern[$allMatches](receiver)) { + result.write(_js_helper.substring2Unchecked(receiver, startIndex, match.start)); + result.write(replacement); + startIndex = match.end; + } + result.write(_js_helper.substring1Unchecked(receiver, startIndex)); + return result.toString(); } }; _js_helper._matchString = function _matchString(match) { - if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + if (match == null) dart.nullFailed(I[54], 184, 27, "match"); return dart.nullCheck(match._get(0)); }; _js_helper._stringIdentity = function _stringIdentity(string) { - if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + if (string == null) dart.nullFailed(I[54], 185, 31, "string"); return string; }; _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (receiver == null) dart.nullFailed(I[54], 189, 12, "receiver"); if (pattern == null) dart.argumentError(pattern); - if (onMatch == null) onMatch = C[30] || CT.C30; - if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (onMatch == null) onMatch = C[32] || CT.C32; + if (onNonMatch == null) onNonMatch = C[33] || CT.C33; if (typeof pattern == 'string') { return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); } @@ -24497,9 +26618,9 @@ _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecke return buffer.toString(); }; _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); - if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 211, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[54], 212, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 212, 41, "onNonMatch"); let buffer = new core.StringBuffer.new(); let length = receiver.length; let i = 0; @@ -24523,10 +26644,10 @@ _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFu return buffer.toString(); }; _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); - if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 241, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 241, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[54], 242, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 242, 41, "onNonMatch"); let patternLength = pattern.length; if (patternLength === 0) { return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); @@ -24548,8 +26669,8 @@ _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllString }; _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (replacement == null) dart.nullFailed(I[54], 265, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 265, 57, "startIndex"); if (typeof pattern == 'string') { let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); if (index < 0) return receiver; @@ -24565,10 +26686,10 @@ _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(re return receiver[$replaceRange](match.start, match.end, replacement); }; _js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { - if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); - if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); - if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + if (receiver == null) dart.nullFailed(I[54], 284, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 284, 67, "pattern"); + if (replace == null) dart.nullFailed(I[54], 285, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[54], 285, 40, "startIndex"); let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; if (!dart.test(matches.moveNext())) return receiver; let match = matches.current; @@ -24579,30 +26700,27 @@ _js_helper.stringJoinUnchecked = function stringJoinUnchecked(array, separator) return array.join(separator); }; _js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { - if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); - if (start == null) dart.nullFailed(I[52], 293, 26, "start"); - if (end == null) dart.nullFailed(I[52], 293, 37, "end"); - if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 300, 12, "receiver"); + if (start == null) dart.nullFailed(I[54], 300, 26, "start"); + if (end == null) dart.nullFailed(I[54], 300, 37, "end"); + if (replacement == null) dart.nullFailed(I[54], 300, 49, "replacement"); let prefix = receiver.substring(0, start); let suffix = receiver.substring(end); return prefix + dart.str(replacement) + suffix; }; dart.defineLazy(_js_helper, { - /*_js_helper.patch*/get patch() { - return C[32] || CT.C32; - }, /*_js_helper.notNull*/get notNull() { - return C[33] || CT.C33; + return C[34] || CT.C34; }, /*_js_helper.undefined*/get undefined() { - return C[34] || CT.C34; + return C[35] || CT.C35; }, /*_js_helper.nullCheck*/get nullCheck() { - return C[35] || CT.C35; + return C[36] || CT.C36; } }, false); _js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (string == null) dart.nullFailed(I[57], 20, 25, "string"); if (typeof dartPrint == "function") { dartPrint(string); return; @@ -24635,21 +26753,26 @@ _metadata.SupportedBrowser = class SupportedBrowser extends core.Object { set minimumVersion(value) { super.minimumVersion = value; } + static ['_#new#tearOff'](browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); + return new _metadata.SupportedBrowser.new(browserName, minimumVersion); + } }; (_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { - if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); this[browserName$] = browserName; this[minimumVersion$] = minimumVersion; ; }).prototype = _metadata.SupportedBrowser.prototype; dart.addTypeTests(_metadata.SupportedBrowser); dart.addTypeCaches(_metadata.SupportedBrowser); -dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); +dart.setLibraryUri(_metadata.SupportedBrowser, I[59]); dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), browserName: dart.finalFieldType(core.String), minimumVersion: dart.finalFieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_metadata.SupportedBrowser, () => ['CHROME', 'FIREFOX', 'IE', 'OPERA', 'SAFARI']); dart.defineLazy(_metadata.SupportedBrowser, { /*_metadata.SupportedBrowser.CHROME*/get CHROME() { return "Chrome"; @@ -24667,13 +26790,17 @@ dart.defineLazy(_metadata.SupportedBrowser, { return "Safari"; } }, false); -_metadata.Experimental = class Experimental extends core.Object {}; +_metadata.Experimental = class Experimental extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Experimental.new(); + } +}; (_metadata.Experimental.new = function() { ; }).prototype = _metadata.Experimental.prototype; dart.addTypeTests(_metadata.Experimental); dart.addTypeCaches(_metadata.Experimental); -dart.setLibraryUri(_metadata.Experimental, I[57]); +dart.setLibraryUri(_metadata.Experimental, I[59]); var name$9 = dart.privateName(_metadata, "DomName.name"); _metadata.DomName = class DomName extends core.Object { get name() { @@ -24682,33 +26809,45 @@ _metadata.DomName = class DomName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); + return new _metadata.DomName.new(name); + } }; (_metadata.DomName.new = function(name) { - if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); this[name$9] = name; ; }).prototype = _metadata.DomName.prototype; dart.addTypeTests(_metadata.DomName); dart.addTypeCaches(_metadata.DomName); -dart.setLibraryUri(_metadata.DomName, I[57]); +dart.setLibraryUri(_metadata.DomName, I[59]); dart.setFieldSignature(_metadata.DomName, () => ({ __proto__: dart.getFields(_metadata.DomName.__proto__), name: dart.finalFieldType(core.String) })); -_metadata.DocsEditable = class DocsEditable extends core.Object {}; +_metadata.DocsEditable = class DocsEditable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.DocsEditable.new(); + } +}; (_metadata.DocsEditable.new = function() { ; }).prototype = _metadata.DocsEditable.prototype; dart.addTypeTests(_metadata.DocsEditable); dart.addTypeCaches(_metadata.DocsEditable); -dart.setLibraryUri(_metadata.DocsEditable, I[57]); -_metadata.Unstable = class Unstable extends core.Object {}; +dart.setLibraryUri(_metadata.DocsEditable, I[59]); +_metadata.Unstable = class Unstable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Unstable.new(); + } +}; (_metadata.Unstable.new = function() { ; }).prototype = _metadata.Unstable.prototype; dart.addTypeTests(_metadata.Unstable); dart.addTypeCaches(_metadata.Unstable); -dart.setLibraryUri(_metadata.Unstable, I[57]); +dart.setLibraryUri(_metadata.Unstable, I[59]); _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { get [$lengthInBytes]() { return this.byteLength; @@ -24717,71 +26856,74 @@ _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object return dart.wrapType(typed_data.ByteBuffer); } [$asUint8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 33, 30, "offsetInBytes"); return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); } [$asInt8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 37, 28, "offsetInBytes"); return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); } [$asUint8ClampedList](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 41, 44, "offsetInBytes"); return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); } [$asUint16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 45, 32, "offsetInBytes"); return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); } [$asInt16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 49, 30, "offsetInBytes"); return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); } [$asUint32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 53, 32, "offsetInBytes"); return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); } [$asInt32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 57, 30, "offsetInBytes"); return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); } [$asUint64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 61, 32, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); } [$asInt64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 65, 30, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); } [$asInt32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 69, 34, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeInt32x4List._externalStorage(storage); } [$asFloat32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 75, 34, "offsetInBytes"); return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); } [$asFloat64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 79, 34, "offsetInBytes"); return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); } [$asFloat32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 83, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); } [$asFloat64x2List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 89, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); } [$asByteData](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 95, 28, "offsetInBytes"); return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeByteBuffer.new(); + } }; (_native_typed_data.NativeByteBuffer.new = function() { ; @@ -24811,15 +26953,40 @@ dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), [$lengthInBytes]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); +dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[61]); dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); var _storage$ = dart.privateName(_native_typed_data, "_storage"); -typed_data.Float32x4 = class Float32x4 extends core.Object {}; +typed_data.Float32x4 = class Float32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 158, 28, "x"); + if (y == null) dart.nullFailed(I[62], 158, 38, "y"); + if (z == null) dart.nullFailed(I[62], 158, 48, "z"); + if (w == null) dart.nullFailed(I[62], 158, 58, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 160, 34, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 164, 45, "x"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); + } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 167, 45, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } +}; (typed_data.Float32x4[dart.mixinNew] = function() { }).prototype = typed_data.Float32x4.prototype; dart.addTypeTests(typed_data.Float32x4); dart.addTypeCaches(typed_data.Float32x4); -dart.setLibraryUri(typed_data.Float32x4, I[60]); +dart.setStaticMethodSignature(typed_data.Float32x4, () => ['new', 'splat', 'zero', 'fromInt32x4Bits', 'fromFloat64x2']); +dart.setLibraryUri(typed_data.Float32x4, I[63]); +dart.setStaticFieldSignature(typed_data.Float32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Float32x4, { /*typed_data.Float32x4.xxxx*/get xxxx() { return 0; @@ -25599,17 +27766,33 @@ const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends }).prototype = Object_FixedLengthListMixin$36.prototype; dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); + return new _native_typed_data.NativeFloat32x4List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); if (_native_typed_data.NativeFloat32x4List.is(list)) { return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); + return _native_typed_data.NativeFloat32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -25629,7 +27812,7 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + if (index == null) dart.nullFailed(I[60], 148, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -25639,9 +27822,9 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + if (index == null) dart.nullFailed(I[60], 157, 25, "index"); typed_data.Float32x4.as(value); - if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + if (value == null) dart.nullFailed(I[60], 157, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -25650,23 +27833,23 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + if (start == null) dart.nullFailed(I[60], 165, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeFloat32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -25688,6 +27871,7 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -25701,7 +27885,7 @@ dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float32List) @@ -25715,12 +27899,33 @@ dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ 'elementSizeInBytes', 'length' ]); -typed_data.Int32x4 = class Int32x4 extends core.Object {}; +typed_data.Int32x4 = class Int32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 173, 23, "x"); + if (y == null) dart.nullFailed(I[62], 173, 30, "y"); + if (z == null) dart.nullFailed(I[62], 173, 37, "z"); + if (w == null) dart.nullFailed(I[62], 173, 44, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 175, 29, "x"); + if (y == null) dart.nullFailed(I[62], 175, 37, "y"); + if (z == null) dart.nullFailed(I[62], 175, 45, "z"); + if (w == null) dart.nullFailed(I[62], 175, 53, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); + } + static ['_#fromFloat32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 177, 47, "x"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); + } +}; (typed_data.Int32x4[dart.mixinNew] = function() { }).prototype = typed_data.Int32x4.prototype; dart.addTypeTests(typed_data.Int32x4); dart.addTypeCaches(typed_data.Int32x4); -dart.setLibraryUri(typed_data.Int32x4, I[60]); +dart.setStaticMethodSignature(typed_data.Int32x4, () => ['new', 'bool', 'fromFloat32x4Bits']); +dart.setLibraryUri(typed_data.Int32x4, I[63]); +dart.setStaticFieldSignature(typed_data.Int32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Int32x4, { /*typed_data.Int32x4.xxxx*/get xxxx() { return 0; @@ -26500,17 +28705,33 @@ const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extend }).prototype = Object_FixedLengthListMixin$36$.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](storage) { + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Int32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); if (_native_typed_data.NativeInt32x4List.is(list)) { return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeInt32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); + return _native_typed_data.NativeInt32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -26530,7 +28751,7 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + if (index == null) dart.nullFailed(I[60], 220, 27, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -26540,9 +28761,9 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + if (index == null) dart.nullFailed(I[60], 229, 25, "index"); typed_data.Int32x4.as(value); - if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + if (value == null) dart.nullFailed(I[60], 229, 40, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -26551,23 +28772,23 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + if (start == null) dart.nullFailed(I[60], 237, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeInt32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { - if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); this[_storage$] = storage; ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26589,6 +28810,7 @@ dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -26602,7 +28824,7 @@ dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Int32List) @@ -26616,12 +28838,31 @@ dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ 'elementSizeInBytes', 'length' ]); -typed_data.Float64x2 = class Float64x2 extends core.Object {}; +typed_data.Float64x2 = class Float64x2 extends core.Object { + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[62], 184, 28, "x"); + if (y == null) dart.nullFailed(I[62], 184, 38, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 186, 34, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 190, 45, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } +}; (typed_data.Float64x2[dart.mixinNew] = function() { }).prototype = typed_data.Float64x2.prototype; dart.addTypeTests(typed_data.Float64x2); dart.addTypeCaches(typed_data.Float64x2); -dart.setLibraryUri(typed_data.Float64x2, I[60]); +dart.setStaticMethodSignature(typed_data.Float64x2, () => ['new', 'splat', 'zero', 'fromFloat32x4']); +dart.setLibraryUri(typed_data.Float64x2, I[63]); +dart.setStaticFieldSignature(typed_data.Float64x2, () => ['_redirecting#']); const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; (Object_ListMixin$36$0.new = function() { }).prototype = Object_ListMixin$36$0.prototype; @@ -26631,14 +28872,30 @@ const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin exten }).prototype = Object_FixedLengthListMixin$36$0.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); + return new _native_typed_data.NativeFloat64x2List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); if (_native_typed_data.NativeFloat64x2List.is(list)) { return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat64x2List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); + return _native_typed_data.NativeFloat64x2List.fromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float64x2List); } @@ -26661,7 +28918,7 @@ _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Objec super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + if (index == null) dart.nullFailed(I[60], 290, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); @@ -26669,32 +28926,32 @@ _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Objec } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + if (index == null) dart.nullFailed(I[60], 297, 25, "index"); typed_data.Float64x2.as(value); - if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + if (value == null) dart.nullFailed(I[60], 297, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + if (start == null) dart.nullFailed(I[60], 303, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); } }; (_native_typed_data.NativeFloat64x2List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26714,6 +28971,7 @@ dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat64x2List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), buffer: typed_data.ByteBuffer, @@ -26727,7 +28985,7 @@ dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float64List) @@ -26757,9 +29015,9 @@ _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { return this.BYTES_PER_ELEMENT; } [_invalidPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 330, 29, "position"); - if (length == null) dart.nullFailed(I[58], 330, 43, "length"); - if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (position == null) dart.nullFailed(I[60], 330, 29, "position"); + if (length == null) dart.nullFailed(I[60], 330, 43, "length"); + if (name == null) dart.nullFailed(I[60], 330, 58, "name"); if (!core.int.is(position)) { dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); } else { @@ -26767,13 +29025,16 @@ _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { } } [_checkPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 338, 27, "position"); - if (length == null) dart.nullFailed(I[58], 338, 41, "length"); - if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position == null) dart.nullFailed(I[60], 338, 27, "position"); + if (length == null) dart.nullFailed(I[60], 338, 41, "length"); + if (name == null) dart.nullFailed(I[60], 338, 56, "name"); if (position >>> 0 !== position || position > dart.notNull(length)) { this[_invalidPosition](position, length, name); } } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeTypedData.new(); + } }; (_native_typed_data.NativeTypedData.new = function() { ; @@ -26793,7 +29054,7 @@ dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ [$offsetInBytes]: core.int, [$elementSizeInBytes]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedData, I[61]); dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); @@ -26810,12 +29071,21 @@ var _setUint16 = dart.privateName(_native_typed_data, "_setUint16"); var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { static new(length) { - if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(buffer, offsetInBytes, length); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); } @@ -26825,137 +29095,137 @@ _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_d get [$elementSizeInBytes]() { return 1; } - [$getFloat32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + [$getFloat32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 416, 45, "endian"); return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat32](...args) { return this.getFloat32.apply(this, args); } - [$getFloat64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + [$getFloat64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 429, 45, "endian"); return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat64](...args) { return this.getFloat64.apply(this, args); } - [$getInt16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + [$getInt16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 444, 40, "endian"); return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt16](...args) { return this.getInt16.apply(this, args); } - [$getInt32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + [$getInt32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 459, 40, "endian"); return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt32](...args) { return this.getInt32.apply(this, args); } - [$getInt64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + [$getInt64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 474, 40, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$getInt8](...args) { return this.getInt8.apply(this, args); } - [$getUint16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + [$getUint16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 493, 41, "endian"); return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint16](...args) { return this.getUint16.apply(this, args); } - [$getUint32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + [$getUint32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 507, 41, "endian"); return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint32](...args) { return this.getUint32.apply(this, args); } - [$getUint64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + [$getUint64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 521, 41, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$getUint8](...args) { return this.getUint8.apply(this, args); } - [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 548, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + [$setFloat32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 548, 54, "endian"); return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat32](...args) { return this.setFloat32.apply(this, args); } - [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 560, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + [$setFloat64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 560, 54, "endian"); return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat64](...args) { return this.setFloat64.apply(this, args); } - [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 573, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + [$setInt16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 573, 52, "endian"); return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt16](...args) { return this.setInt16.apply(this, args); } - [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 586, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + [$setInt32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 586, 52, "endian"); return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt32](...args) { return this.setInt32.apply(this, args); } - [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 599, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + [$setInt64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 599, 52, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$setInt8](...args) { return this.setInt8.apply(this, args); } - [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 619, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + [$setUint16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 619, 53, "endian"); return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint16](...args) { return this.setUint16.apply(this, args); } - [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 632, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + [$setUint32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 632, 53, "endian"); return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint32](...args) { return this.setUint32.apply(this, args); } - [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 645, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + [$setUint64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 645, 53, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$setUint8](...args) { @@ -27009,17 +29279,18 @@ dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) })); -dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeByteData, () => ['new', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeByteData, I[61]); dart.registerExtension("DataView", _native_typed_data.NativeByteData); var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); _native_typed_data.NativeTypedArray$ = dart.generic(E => { class NativeTypedArray extends _native_typed_data.NativeTypedData { [_setRangeFast](start, end, source, skipCount) { - if (start == null) dart.nullFailed(I[58], 673, 11, "start"); - if (end == null) dart.nullFailed(I[58], 673, 22, "end"); - if (source == null) dart.nullFailed(I[58], 673, 44, "source"); - if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + if (start == null) dart.nullFailed(I[60], 673, 11, "start"); + if (end == null) dart.nullFailed(I[60], 673, 22, "end"); + if (source == null) dart.nullFailed(I[60], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[60], 673, 56, "skipCount"); let targetLength = this[$length]; this[_checkPosition](start, targetLength, "start"); this[_checkPosition](end, targetLength, "end"); @@ -27047,7 +29318,7 @@ _native_typed_data.NativeTypedArray$ = dart.generic(E => { __proto__: dart.getMethods(NativeTypedArray.__proto__), [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) })); - dart.setLibraryUri(NativeTypedArray, I[59]); + dart.setLibraryUri(NativeTypedArray, I[61]); return NativeTypedArray; }); _native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); @@ -27061,14 +29332,14 @@ core.double = class double extends core.num { return dart.as(o, core.double); } static parse(source, onError = null) { - if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + if (source == null) dart.nullFailed(I[7], 276, 30, "source"); let value = core.double.tryParse(source); if (value != null) return value; if (onError != null) return onError(source); dart.throw(new core.FormatException.new("Invalid double", source)); } static tryParse(source) { - if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + if (source == null) dart.nullFailed(I[7], 285, 34, "source"); return _js_helper.Primitives.parseDouble(source); } }; @@ -27076,7 +29347,9 @@ core.double = class double extends core.num { ; }).prototype = core.double.prototype; dart.addTypeCaches(core.double); -dart.setLibraryUri(core.double, I[8]); +dart.setStaticMethodSignature(core.double, () => ['is', 'as', 'parse', 'tryParse']); +dart.setLibraryUri(core.double, I[9]); +dart.setStaticFieldSignature(core.double, () => ['nan', 'infinity', 'negativeInfinity', 'minPositive', 'maxFinite']); dart.defineLazy(core.double, { /*core.double.nan*/get nan() { return 0 / 0; @@ -27110,25 +29383,25 @@ _native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble ext super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + if (index == null) dart.nullFailed(I[60], 699, 26, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + if (index == null) dart.nullFailed(I[60], 704, 25, "index"); core.num.as(value); - if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + if (value == null) dart.nullFailed(I[60], 704, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 709, 21, "start"); - if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + if (start == null) dart.nullFailed(I[60], 709, 21, "start"); + if (end == null) dart.nullFailed(I[60], 709, 32, "end"); T$.IterableOfdouble().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 710, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27153,7 +29426,7 @@ dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; @@ -27173,19 +29446,19 @@ _native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends N } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + if (index == null) dart.nullFailed(I[60], 727, 25, "index"); core.int.as(value); - if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + if (value == null) dart.nullFailed(I[60], 727, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 732, 21, "start"); - if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + if (start == null) dart.nullFailed(I[60], 732, 21, "start"); + if (end == null) dart.nullFailed(I[60], 732, 32, "end"); T$.IterableOfint().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 733, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27210,30 +29483,43 @@ dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); _native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float32List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + if (start == null) dart.nullFailed(I[60], 760, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat32List._create1(source); @@ -27252,29 +29538,43 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32List, () => ({ __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[61]); dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); _native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float64List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + if (start == null) dart.nullFailed(I[60], 792, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat64List._create1(source); @@ -27293,34 +29593,48 @@ dart.setMethodSignature(_native_typed_data.NativeFloat64List, () => ({ __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat64List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[61]); dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); _native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); + return _native_typed_data.NativeInt16List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + if (index == null) dart.nullFailed(I[60], 822, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + if (start == null) dart.nullFailed(I[60], 827, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt16List._create1(source); @@ -27340,34 +29654,48 @@ dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt16List, I[61]); dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); _native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); + return _native_typed_data.NativeInt32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + if (index == null) dart.nullFailed(I[60], 857, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + if (start == null) dart.nullFailed(I[60], 862, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt32List._create1(source); @@ -27387,33 +29715,47 @@ dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt32List, I[61]); dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); _native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); + return _native_typed_data.NativeInt8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int8List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + if (index == null) dart.nullFailed(I[60], 893, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + if (start == null) dart.nullFailed(I[60], 898, 24, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt8List._create1(source); @@ -27436,34 +29778,48 @@ dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt8List, I[61]); dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); _native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); + return _native_typed_data.NativeUint16List.new(length); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); + return _native_typed_data.NativeUint16List.fromList(list); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + if (index == null) dart.nullFailed(I[60], 931, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + if (start == null) dart.nullFailed(I[60], 936, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint16List._create1(source); @@ -27483,34 +29839,48 @@ dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint16List, I[61]); dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); _native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); + return _native_typed_data.NativeUint32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + if (index == null) dart.nullFailed(I[60], 967, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + if (start == null) dart.nullFailed(I[60], 972, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint32List._create1(source); @@ -27530,23 +29900,37 @@ dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint32List, I[61]); dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8ClampedList); } @@ -27557,12 +29941,12 @@ _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1006, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + if (start == null) dart.nullFailed(I[60], 1011, 32, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8ClampedList._create1(source); @@ -27585,24 +29969,38 @@ dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[61]); dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); + return _native_typed_data.NativeUint8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8List); } @@ -27613,12 +30011,12 @@ _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1056, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + if (start == null) dart.nullFailed(I[60], 1061, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8List._create1(source); @@ -27641,7 +30039,8 @@ dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint8List, I[61]); dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); @@ -27673,22 +30072,58 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { super.w = value; } static _truncate(x) { - _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); - return _native_typed_data.NativeFloat32x4._list[$_get](0); + _native_typed_data.NativeFloat32x4._list[0] = x; + return _native_typed_data.NativeFloat32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](i) { + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(i); } static fromInt32x4Bits(i) { - if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } + static ['_#_doubles#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + return new _native_typed_data.NativeFloat32x4._doubles(x, y, z, w); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); + return new _native_typed_data.NativeFloat32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1146, 34, "other"); let _x = dart.notNull(this.x) + dart.notNull(other.x); let _y = dart.notNull(this.y) + dart.notNull(other.y); let _z = dart.notNull(this.z) + dart.notNull(other.z); @@ -27699,7 +30134,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1160, 34, "other"); let _x = dart.notNull(this.x) - dart.notNull(other.x); let _y = dart.notNull(this.y) - dart.notNull(other.y); let _z = dart.notNull(this.z) - dart.notNull(other.z); @@ -27707,7 +30142,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1169, 34, "other"); let _x = dart.notNull(this.x) * dart.notNull(other.x); let _y = dart.notNull(this.y) * dart.notNull(other.y); let _z = dart.notNull(this.z) * dart.notNull(other.z); @@ -27715,7 +30150,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1178, 34, "other"); let _x = dart.notNull(this.x) / dart.notNull(other.x); let _y = dart.notNull(this.y) / dart.notNull(other.y); let _z = dart.notNull(this.z) / dart.notNull(other.z); @@ -27723,7 +30158,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } lessThan(other) { - if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1187, 30, "other"); let _cx = dart.notNull(this.x) < dart.notNull(other.x); let _cy = dart.notNull(this.y) < dart.notNull(other.y); let _cz = dart.notNull(this.z) < dart.notNull(other.z); @@ -27731,7 +30166,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } lessThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + if (other == null) dart.nullFailed(I[60], 1197, 37, "other"); let _cx = dart.notNull(this.x) <= dart.notNull(other.x); let _cy = dart.notNull(this.y) <= dart.notNull(other.y); let _cz = dart.notNull(this.z) <= dart.notNull(other.z); @@ -27739,7 +30174,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThan(other) { - if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + if (other == null) dart.nullFailed(I[60], 1207, 33, "other"); let _cx = dart.notNull(this.x) > dart.notNull(other.x); let _cy = dart.notNull(this.y) > dart.notNull(other.y); let _cz = dart.notNull(this.z) > dart.notNull(other.z); @@ -27747,7 +30182,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + if (other == null) dart.nullFailed(I[60], 1217, 40, "other"); let _cx = dart.notNull(this.x) >= dart.notNull(other.x); let _cy = dart.notNull(this.y) >= dart.notNull(other.y); let _cz = dart.notNull(this.z) >= dart.notNull(other.z); @@ -27755,7 +30190,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } equal(other) { - if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1227, 27, "other"); let _cx = this.x == other.x; let _cy = this.y == other.y; let _cz = this.z == other.z; @@ -27763,7 +30198,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } notEqual(other) { - if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1237, 30, "other"); let _cx = this.x != other.x; let _cy = this.y != other.y; let _cz = this.z != other.z; @@ -27771,7 +30206,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1247, 26, "s"); let _x = dart.notNull(s) * dart.notNull(this.x); let _y = dart.notNull(s) * dart.notNull(this.y); let _z = dart.notNull(s) * dart.notNull(this.z); @@ -27786,8 +30221,8 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1265, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1265, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _lz = lowerLimit.z; @@ -27827,7 +30262,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (mask == null) dart.nullFailed(I[60], 1307, 25, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27842,8 +30277,8 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); - if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (other == null) dart.nullFailed(I[60], 1326, 34, "other"); + if (mask == null) dart.nullFailed(I[60], 1326, 45, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27862,27 +30297,27 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } withX(newX) { - if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); core.ArgumentError.checkNotNull(core.double, newX); - return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._truncate(newX), this.y, this.z, this.w); } withY(newY) { - if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + if (newY == null) dart.nullFailed(I[60], 1353, 26, "newY"); core.ArgumentError.checkNotNull(core.double, newY); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, _native_typed_data.NativeFloat32x4._truncate(newY), this.z, this.w); } withZ(newZ) { - if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + if (newZ == null) dart.nullFailed(I[60], 1359, 26, "newZ"); core.ArgumentError.checkNotNull(core.double, newZ); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, _native_typed_data.NativeFloat32x4._truncate(newZ), this.w); } withW(newW) { - if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + if (newW == null) dart.nullFailed(I[60], 1365, 26, "newW"); core.ArgumentError.checkNotNull(core.double, newW); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, _native_typed_data.NativeFloat32x4._truncate(newW)); } min(other) { - if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1371, 27, "other"); let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; @@ -27890,7 +30325,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } max(other) { - if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1380, 27, "other"); let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; @@ -27920,46 +30355,46 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { } }; (_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); - if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); - if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); - if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.zero = function() { _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { - if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); - _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, _native_typed_data.NativeFloat32x4._truncate(v.x), _native_typed_data.NativeFloat32x4._truncate(v.y), 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); - if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); - if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); ; }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); - if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); - if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); this[x$] = x; this[y$] = y; this[z$] = z; @@ -27997,11 +30432,12 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ reciprocal: dart.fnType(typed_data.Float32x4, []), reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4, () => ['_truncate', 'fromInt32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), signMask: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), x: dart.finalFieldType(core.double), @@ -28009,6 +30445,7 @@ dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ z: dart.finalFieldType(core.double), w: dart.finalFieldType(core.double) })); +dart.setStaticFieldSignature(_native_typed_data.NativeFloat32x4, () => ['_list', '_uint32view']); dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat32x4, { /*_native_typed_data.NativeFloat32x4._list*/get _list() { @@ -28048,11 +30485,25 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { super.w = value; } static _truncate(x) { - _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); - return _native_typed_data.NativeInt32x4._list[$_get](0); + _native_typed_data.NativeInt32x4._list[0] = x; + return _native_typed_data.NativeInt32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); } static fromFloat32x4Bits(f) { - if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); let floatList = _native_typed_data.NativeFloat32x4._list; floatList[$_set](0, f.x); floatList[$_set](1, f.y); @@ -28061,27 +30512,38 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { let view = floatList.buffer[$asInt32List](); return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); } + static ['_#fromFloat32x4Bits#tearOff'](f) { + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(f); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); + return new _native_typed_data.NativeInt32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['|'](other) { - if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1467, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); } ['&'](other) { - if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1478, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); } ['^'](other) { - if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1489, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1499, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1508, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); } _negate() { @@ -28095,7 +30557,7 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (mask == null) dart.nullFailed(I[60], 1536, 23, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28110,8 +30572,8 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); - if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (other == null) dart.nullFailed(I[60], 1554, 30, "other"); + if (mask == null) dart.nullFailed(I[60], 1554, 41, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28130,27 +30592,27 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } withX(x) { - if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); core.ArgumentError.checkNotNull(core.int, x); - let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + let _x = _native_typed_data.NativeInt32x4._truncate(x); return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + if (y == null) dart.nullFailed(I[60], 1582, 21, "y"); core.ArgumentError.checkNotNull(core.int, y); - let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + let _y = _native_typed_data.NativeInt32x4._truncate(y); return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withZ(z) { - if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + if (z == null) dart.nullFailed(I[60], 1589, 21, "z"); core.ArgumentError.checkNotNull(core.int, z); - let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + let _z = _native_typed_data.NativeInt32x4._truncate(z); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withW(w) { - if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + if (w == null) dart.nullFailed(I[60], 1596, 21, "w"); core.ArgumentError.checkNotNull(core.int, w); - let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + let _w = _native_typed_data.NativeInt32x4._truncate(w); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } get flagX() { @@ -28166,28 +30628,28 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return this.w !== 0; } withFlagX(flagX) { - if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + if (flagX == null) dart.nullFailed(I[60], 1615, 26, "flagX"); let _x = dart.test(flagX) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withFlagY(flagY) { - if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + if (flagY == null) dart.nullFailed(I[60], 1621, 26, "flagY"); let _y = dart.test(flagY) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withFlagZ(flagZ) { - if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + if (flagZ == null) dart.nullFailed(I[60], 1627, 26, "flagZ"); let _z = dart.test(flagZ) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withFlagW(flagW) { - if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + if (flagW == null) dart.nullFailed(I[60], 1633, 26, "flagW"); let _w = dart.test(flagW) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } select(trueValue, falseValue) { - if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); - if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + if (trueValue == null) dart.nullFailed(I[60], 1641, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[60], 1641, 51, "falseValue"); let floatList = _native_typed_data.NativeFloat32x4._list; let intView = _native_typed_data.NativeFloat32x4._uint32view; floatList[$_set](0, trueValue.x); @@ -28218,24 +30680,24 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { } }; (_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); - if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); - if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); - if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); - this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); - this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); - this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); - this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + this[x$0] = _native_typed_data.NativeInt32x4._truncate(x); + this[y$0] = _native_typed_data.NativeInt32x4._truncate(y); + this[z$0] = _native_typed_data.NativeInt32x4._truncate(z); + this[w$0] = _native_typed_data.NativeInt32x4._truncate(w); if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); - if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); - if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); - if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); this[x$0] = dart.test(x) ? -1 : 0; this[y$0] = dart.test(y) ? -1 : 0; this[z$0] = dart.test(z) ? -1 : 0; @@ -28243,10 +30705,10 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { ; }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); - if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); - if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); this[x$0] = x; this[y$0] = y; this[z$0] = z; @@ -28276,6 +30738,7 @@ dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4, () => ['_truncate', 'fromFloat32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), signMask: core.int, @@ -28284,7 +30747,7 @@ dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ flagZ: core.bool, flagW: core.bool })); -dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); +dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), x: dart.finalFieldType(core.int), @@ -28292,6 +30755,7 @@ dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ z: dart.finalFieldType(core.int), w: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(_native_typed_data.NativeInt32x4, () => ['_list']); dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeInt32x4, { /*_native_typed_data.NativeInt32x4._list*/get _list() { @@ -28313,38 +30777,59 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { set y(value) { super.y = value; } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } + static ['_#_doubles#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); + return new _native_typed_data.NativeFloat64x2._doubles(x, y); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1699, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); } _negate() { return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1709, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1714, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1719, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1724, 26, "s"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); } abs() { return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1734, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1734, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _ux = upperLimit.x; @@ -28366,21 +30851,21 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { return (mx | my << 1 >>> 0) >>> 0; } withX(x) { - if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (x == null) dart.nullFailed(I[60], 1760, 26, "x"); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (y == null) dart.nullFailed(I[60], 1766, 26, "y"); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); } min(other) { - if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1772, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); } max(other) { - if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1778, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); } sqrt() { @@ -28388,27 +30873,27 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { } }; (_native_typed_data.NativeFloat64x2.new = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); - if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); this[x$1] = x; this[y$1] = y; if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v, v); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.zero = function() { _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { - if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2._doubles = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); this[x$1] = x; this[y$1] = y; ; @@ -28436,22 +30921,27 @@ dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), signMask: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), x: dart.finalFieldType(core.double), y: dart.finalFieldType(core.double) })); +dart.setStaticFieldSignature(_native_typed_data.NativeFloat64x2, () => ['_list', '_uint32View']); dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat64x2, { /*_native_typed_data.NativeFloat64x2._list*/get _list() { return _native_typed_data.NativeFloat64List.new(2); }, - set _list(_) {}, + set _list(value) { + if (value == null) dart.nullFailed(I[60], 1679, 28, "_list"); + }, /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); }, - set _uint32View(_) {} + set _uint32View(value) { + if (value == null) dart.nullFailed(I[60], 1680, 21, "_uint32View"); + } }, false); _native_typed_data._checkLength = function _checkLength(length) { if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); @@ -28469,7 +30959,7 @@ _native_typed_data._checkViewArguments = function _checkViewArguments(buffer, of } }; _native_typed_data._ensureNativeList = function _ensureNativeList(list) { - if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (list == null) dart.nullFailed(I[60], 373, 29, "list"); if (_interceptors.JSIndexable.is(list)) return list; let result = core.List.filled(list[$length], null); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { @@ -28478,20 +30968,20 @@ _native_typed_data._ensureNativeList = function _ensureNativeList(list) { return result; }; _native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { - if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + if (index == null) dart.nullFailed(I[60], 1791, 31, "index"); return index >>> 0 !== index; }; _native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { - if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); - if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); - if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (index == null) dart.nullFailed(I[60], 1798, 27, "index"); + if (list == null) dart.nullFailed(I[60], 1798, 39, "list"); + if (length == null) dart.nullFailed(I[60], 1798, 49, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { dart.throw(_js_helper.diagnoseIndexError(list, index)); } }; _native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { - if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); - if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (start == null) dart.nullFailed(I[60], 1811, 26, "start"); + if (length == null) dart.nullFailed(I[60], 1811, 47, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { dart.throw(_js_helper.diagnoseRangeError(start, end, length)); } @@ -28509,27 +30999,31 @@ var _thenAwait = dart.privateName(async, "_thenAwait"); var _fatal = dart.privateName(async, "_fatal"); const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); async._AsyncStarImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _AsyncStarImpl extends core.Object { get controller() { - let t83; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + let t72; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); } - set controller(t83) { - StreamControllerOfT().as(t83); - if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + set controller(controller$35param) { + __t$StreamControllerOfT().as(controller$35param); + if (controller$35param == null) dart.nullFailed(I[64], 224, 28, "controller#param"); this[___AsyncStarImpl_controller_isSet] = true; - this[___AsyncStarImpl_controller] = t83; + this[___AsyncStarImpl_controller] = controller$35param; } get jsIterator() { - let t84; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + let t72; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); } - set jsIterator(t84) { - if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + set jsIterator(jsIterator$35param) { + if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); this[___AsyncStarImpl_jsIterator_isSet] = true; - this[___AsyncStarImpl_jsIterator] = t84; + this[___AsyncStarImpl_jsIterator] = jsIterator$35param; + } + static ['_#new#tearOff'](T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); + return new (async._AsyncStarImpl$(T)).new(initGenerator); } get stream() { return this.controller.stream; @@ -28537,8 +31031,8 @@ async._AsyncStarImpl$ = dart.generic(T => { get handleError() { if (this[_handleErrorCallback] == null) { this[_handleErrorCallback] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[61], 282, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 277, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 277, 49, "stackTrace"); try { this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); } catch (e$) { @@ -28619,8 +31113,8 @@ async._AsyncStarImpl$ = dart.generic(T => { return false; } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[64], 397, 28, "stream"); if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); if (!dart.test(this.controller.hasListener)) return true; this.isSuspendedAtYieldStar = true; @@ -28633,8 +31127,8 @@ async._AsyncStarImpl$ = dart.generic(T => { return false; } addError(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 416, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 411, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 411, 42, "stackTrace"); core.ArgumentError.checkNotNull(core.Object, error, "error"); let completer = this.cancellationCompleter; if (completer != null && !dart.test(completer.isCompleted)) { @@ -28652,7 +31146,7 @@ async._AsyncStarImpl$ = dart.generic(T => { this.controller.close(); } onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); this.onListenReceived = true; this.scheduleGenerator(); } @@ -28674,12 +31168,12 @@ async._AsyncStarImpl$ = dart.generic(T => { return dart.nullCheck(this.cancellationCompleter).future; } [_fatal](message) { - if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + if (message == null) dart.nullFailed(I[64], 466, 17, "message"); return dart.throw(new core.StateError.new(message)); } } (_AsyncStarImpl.new = function(initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); this[___AsyncStarImpl_controller] = null; this[___AsyncStarImpl_controller_isSet] = false; this.isSuspendedAtYieldStar = false; @@ -28693,7 +31187,7 @@ async._AsyncStarImpl$ = dart.generic(T => { this[_handleErrorCallback] = null; this[_runBodyCallback] = null; this.initGenerator = initGenerator; - this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.controller = __t$StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); this.jsIterator = this.initGenerator(this)[Symbol.iterator](); }).prototype = _AsyncStarImpl.prototype; dart.addTypeTests(_AsyncStarImpl); @@ -28724,7 +31218,7 @@ async._AsyncStarImpl$ = dart.generic(T => { controller: dart.nullable(core.Object), jsIterator: core.Object })); - dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setLibraryUri(_AsyncStarImpl, I[31]); dart.setFieldSignature(_AsyncStarImpl, () => ({ __proto__: dart.getFields(_AsyncStarImpl.__proto__), [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -28760,8 +31254,12 @@ async.AsyncError = class AsyncError extends core.Object { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); + return new async.AsyncError.new(error, stackTrace); + } static defaultStackTrace(error) { - if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (error == null) dart.nullFailed(I[65], 24, 46, "error"); if (core.Error.is(error)) { let stackTrace = error[$stackTrace]; if (stackTrace != null) return stackTrace; @@ -28773,16 +31271,17 @@ async.AsyncError = class AsyncError extends core.Object { } }; (async.AsyncError.new = function(error, stackTrace) { - let t87; - if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + let t74; + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + this[stackTrace$] = (t74 = stackTrace, t74 == null ? async.AsyncError.defaultStackTrace(error) : t74); ; }).prototype = async.AsyncError.prototype; dart.addTypeTests(async.AsyncError); dart.addTypeCaches(async.AsyncError); async.AsyncError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(async.AsyncError, I[29]); +dart.setStaticMethodSignature(async.AsyncError, () => ['defaultStackTrace']); +dart.setLibraryUri(async.AsyncError, I[31]); dart.setFieldSignature(async.AsyncError, () => ({ __proto__: dart.getFields(async.AsyncError.__proto__), error: dart.finalFieldType(core.Object), @@ -28796,7 +31295,7 @@ var _createSubscription = dart.privateName(async, "_createSubscription"); var _onListen$ = dart.privateName(async, "_onListen"); const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); async._StreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); class _StreamImpl extends async.Stream$(T) { listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -28808,11 +31307,11 @@ async._StreamImpl$ = dart.generic(T => { return subscription; } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); - return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[68], 479, 47, "cancelOnError"); + return new (__t$_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); } [_onListen$](subscription) { - if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + if (subscription == null) dart.nullFailed(I[68], 485, 37, "subscription"); } } (_StreamImpl.new = function() { @@ -28828,7 +31327,7 @@ async._StreamImpl$ = dart.generic(T => { [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) })); - dart.setLibraryUri(_StreamImpl, I[29]); + dart.setLibraryUri(_StreamImpl, I[31]); return _StreamImpl; }); async._StreamImpl = async._StreamImpl$(); @@ -28836,8 +31335,12 @@ dart.addTypeTests(async._StreamImpl, _is__StreamImpl_default); const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); async._ControllerStream$ = dart.generic(T => { class _ControllerStream extends async._StreamImpl$(T) { + static ['_#new#tearOff'](T, _controller) { + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); + return new (async._ControllerStream$(T)).new(_controller); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 826, 51, "cancelOnError"); return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); } get hashCode() { @@ -28850,7 +31353,7 @@ async._ControllerStream$ = dart.generic(T => { } } (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); this[_controller$] = _controller; _ControllerStream.__proto__.new.call(this); ; @@ -28858,7 +31361,7 @@ async._ControllerStream$ = dart.generic(T => { dart.addTypeTests(_ControllerStream); _ControllerStream.prototype[_is__ControllerStream_default] = true; dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[29]); + dart.setLibraryUri(_ControllerStream, I[31]); dart.setFieldSignature(_ControllerStream, () => ({ __proto__: dart.getFields(_ControllerStream.__proto__), [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) @@ -28872,19 +31375,23 @@ dart.addTypeTests(async._ControllerStream, _is__ControllerStream_default); const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); async._BroadcastStream$ = dart.generic(T => { class _BroadcastStream extends async._ControllerStream$(T) { + static ['_#new#tearOff'](T, controller) { + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); + return new (async._BroadcastStream$(T)).new(controller); + } get isBroadcast() { return true; } } (_BroadcastStream.new = function(controller) { - if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); _BroadcastStream.__proto__.new.call(this, controller); ; }).prototype = _BroadcastStream.prototype; dart.addTypeTests(_BroadcastStream); _BroadcastStream.prototype[_is__BroadcastStream_default] = true; dart.addTypeCaches(_BroadcastStream); - dart.setLibraryUri(_BroadcastStream, I[29]); + dart.setLibraryUri(_BroadcastStream, I[31]); return _BroadcastStream; }); async._BroadcastStream = async._BroadcastStream$(); @@ -28906,11 +31413,11 @@ var _onCancel = dart.privateName(async, "_onCancel"); var _recordPause = dart.privateName(async, "_recordPause"); var _recordResume = dart.privateName(async, "_recordResume"); var _cancelFuture = dart.privateName(async, "_cancelFuture"); -var _pending$ = dart.privateName(async, "_pending"); +var _pending = dart.privateName(async, "_pending"); var _zone$ = dart.privateName(async, "_zone"); var _state = dart.privateName(async, "_state"); var _onData$ = dart.privateName(async, "_onData"); -var _onError = dart.privateName(async, "_onError"); +var _onError$ = dart.privateName(async, "_onError"); var _onDone$ = dart.privateName(async, "_onDone"); var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); var _isCanceled = dart.privateName(async, "_isCanceled"); @@ -28934,17 +31441,24 @@ var _close = dart.privateName(async, "_close"); var _checkState = dart.privateName(async, "_checkState"); const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); async._BufferingStreamSubscription$ = dart.generic(T => { - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _BufferingStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).new(onData, onError, onDone, cancelOnError); + } + static ['_#zoned#tearOff'](T, _zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).zoned(_zone, onData, onError, onDone, cancelOnError); + } [_setPendingEvents](pendingEvents) { - _PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + __t$_PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); if (pendingEvents == null) return; - this[_pending$] = pendingEvents; + this[_pending] = pendingEvents; if (!dart.test(pendingEvents.isEmpty)) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; pendingEvents.schedule(this); @@ -28954,16 +31468,16 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); } static _registerDataHandler(T, zone, handleData) { - let t87; - if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); - return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t74 = handleData, t74 == null ? C[38] || CT.C38 : t74)); } onError(handleError) { - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); } static _registerErrorHandler(zone, handleError) { - if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); - handleError == null ? handleError = C[38] || CT.C38 : null; + if (zone == null) dart.nullFailed(I[68], 141, 46, "zone"); + handleError == null ? handleError = C[39] || CT.C39 : null; if (T$.ObjectAndStackTraceTovoid().is(handleError)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); } @@ -28976,21 +31490,21 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); } static _registerDoneHandler(zone, handleDone) { - let t87; - if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); - return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t74 = handleDone, t74 == null ? C[40] || CT.C40 : t74)); } pause(resumeSignal = null) { - let t87, t87$; + let t74, t74$; if (dart.test(this[_isCanceled])) return; let wasPaused = this[_isPaused]; let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; - t87 = resumeSignal; - t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + t74 = resumeSignal; + t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); if (!dart.test(wasPaused)) { - t87$ = this[_pending$]; - t87$ == null ? null : t87$.cancelSchedule(); + t74$ = this[_pending]; + t74$ == null ? null : t74$.cancelSchedule(); } if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); } @@ -28999,10 +31513,10 @@ async._BufferingStreamSubscription$ = dart.generic(T => { if (dart.test(this[_isPaused])) { this[_decrementPauseCount](); if (!dart.test(this[_isPaused])) { - if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { - dart.nullCheck(this[_pending$]).schedule(this); + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending]).isEmpty)) { + dart.nullCheck(this[_pending]).schedule(this); } else { - if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[68], 184, 18, "_mayResumeInput"); this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); } @@ -29010,13 +31524,13 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } cancel() { - let t87; + let t74; this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; if (!dart.test(this[_isCanceled])) { this[_cancel](); } - t87 = this[_cancelFuture]; - return t87 == null ? async.Future._nullFuture : t87; + t74 = this[_cancelFuture]; + return t74 == null ? async.Future._nullFuture : t74; } asFuture(E, futureValue = null) { let resultValue = null; @@ -29032,9 +31546,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onDone$] = dart.fn(() => { result[_complete](resultValue); }, T$.VoidTovoid()); - this[_onError] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[65], 218, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + this[_onError$] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 218, 42, "stackTrace"); let cancelFuture = this.cancel(); if (cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => { @@ -29071,8 +31585,8 @@ async._BufferingStreamSubscription$ = dart.generic(T => { return dart.notNull(this[_state]) < 32; } get [_mayResumeInput]() { - let t87, t87$; - return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + let t74, t74$; + return !dart.test(this[_isPaused]) && dart.test((t74$ = (t74 = this[_pending], t74 == null ? null : t74.isEmpty), t74$ == null ? true : t74$)); } get [_cancelOnError]() { return (dart.notNull(this[_state]) & 1) !== 0; @@ -29083,28 +31597,28 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_cancel]() { this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending$]).cancelSchedule(); + dart.nullCheck(this[_pending]).cancelSchedule(); } - if (!dart.test(this[_inCallback])) this[_pending$] = null; + if (!dart.test(this[_inCallback])) this[_pending] = null; this[_cancelFuture] = this[_onCancel](); } [_decrementPauseCount]() { - if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 261, 12, "_isPaused"); this[_state] = dart.notNull(this[_state]) - 128; } [_add](data) { T.as(data); - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 268, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendData](data); } else { - this[_addPending](new (_DelayedDataOfT()).new(data)); + this[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 277, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 277, 43, "stackTrace"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendError](error, stackTrace); @@ -29113,30 +31627,29 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_close]() { - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 287, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; if (dart.test(this[_canFire])) { this[_sendDone](); } else { - this[_addPending](C[40] || CT.C40); + this[_addPending](C[41] || CT.C41); } } [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); } [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); } [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); return null; } [_addPending](event) { - if (event == null) dart.nullFailed(I[65], 320, 34, "event"); - let pending = _StreamImplEventsNOfT().as(this[_pending$]); - pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; - this[_pending$] = pending; + let t74; + if (event == null) dart.nullFailed(I[68], 320, 34, "event"); + let pending = (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74); pending.add(event); if (!dart.test(this[_hasPending])) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; @@ -29146,9 +31659,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_sendData](data) { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 334, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 335, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 336, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; this[_zone$].runUnaryGuarded(T, this[_onData$], data); @@ -29156,20 +31669,20 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_checkState](wasInputPaused); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 346, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + if (error == null) dart.nullFailed(I[68], 344, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 344, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 345, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 346, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 347, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; const sendError = () => { if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; - let onError = this[_onError]; + let onError = this[_onError$]; if (T$.ObjectAndStackTraceTovoid().is(onError)) { this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); } else { - this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError$]), error); } this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; }; @@ -29189,9 +31702,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_sendDone]() { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 383, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 384, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 385, 12, "!_inCallback"); const sendDone = () => { if (!dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; @@ -29209,8 +31722,8 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_guardCallback](callback) { - if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + if (callback == null) dart.nullFailed(I[68], 411, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 412, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; callback(); @@ -29218,9 +31731,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_checkState](wasInputPaused); } [_checkState](wasInputPaused) { - if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); - if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + if (wasInputPaused == null) dart.nullFailed(I[68], 428, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 429, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending]).isEmpty)) { this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; @@ -29228,7 +31741,7 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } while (true) { if (dart.test(this[_isCanceled])) { - this[_pending$] = null; + this[_pending] = null; return; } let isInputPaused = this[_isInputPaused]; @@ -29243,23 +31756,23 @@ async._BufferingStreamSubscription$ = dart.generic(T => { wasInputPaused = isInputPaused; } if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending$]).schedule(this); + dart.nullCheck(this[_pending]).schedule(this); } } } (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); }).prototype = _BufferingStreamSubscription.prototype; (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { - if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); this[_cancelFuture] = null; - this[_pending$] = null; + this[_pending] = null; this[_zone$] = _zone; this[_state] = dart.test(cancelOnError) ? 1 : 0; this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); ; }).prototype = _BufferingStreamSubscription.prototype; @@ -29293,6 +31806,7 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), [_checkState]: dart.fnType(dart.void, [core.bool]) })); + dart.setStaticMethodSignature(_BufferingStreamSubscription, () => ['_registerDataHandler', '_registerErrorHandler', '_registerDoneHandler']); dart.setGetterSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), [_isInputPaused]: core.bool, @@ -29307,17 +31821,18 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_cancelOnError]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setLibraryUri(_BufferingStreamSubscription, I[31]); dart.setFieldSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), - [_onError]: dart.fieldType(core.Function), + [_onError$]: dart.fieldType(core.Function), [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), - [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); + dart.setStaticFieldSignature(_BufferingStreamSubscription, () => ['_STATE_CANCEL_ON_ERROR', '_STATE_CLOSED', '_STATE_INPUT_PAUSED', '_STATE_CANCELED', '_STATE_WAIT_FOR_CANCEL', '_STATE_IN_CALLBACK', '_STATE_HAS_PENDING', '_STATE_PAUSE_COUNT']); return _BufferingStreamSubscription; }); async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); @@ -29351,6 +31866,11 @@ dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscr const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); async._ControllerSubscription$ = dart.generic(T => { class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](T, _controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); + return new (async._ControllerSubscription$(T)).new(_controller, onData, onError, onDone, cancelOnError); + } [_onCancel]() { return this[_controller$][_recordCancel](this); } @@ -29362,8 +31882,8 @@ async._ControllerSubscription$ = dart.generic(T => { } } (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { - if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); - if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); this[_controller$] = _controller; _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); ; @@ -29371,7 +31891,7 @@ async._ControllerSubscription$ = dart.generic(T => { dart.addTypeTests(_ControllerSubscription); _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setLibraryUri(_ControllerSubscription, I[31]); dart.setFieldSignature(_ControllerSubscription, () => ({ __proto__: dart.getFields(_ControllerSubscription.__proto__), [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) @@ -29382,23 +31902,28 @@ async._ControllerSubscription = async._ControllerSubscription$(); dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); async._BroadcastSubscription$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BroadcastSubscriptionNOfT = () => (__t$_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(__t$_BroadcastSubscriptionOfT())))(); class _BroadcastSubscription extends async._ControllerSubscription$(T) { get [_next$1]() { return this[_next$0]; } set [_next$1](value) { - this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + this[_next$0] = __t$_BroadcastSubscriptionNOfT().as(value); } get [_previous$1]() { return this[_previous$0]; } set [_previous$1](value) { - this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + this[_previous$0] = __t$_BroadcastSubscriptionNOfT().as(value); + } + static ['_#new#tearOff'](T, controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); + return new (async._BroadcastSubscription$(T)).new(controller, onData, onError, onDone, cancelOnError); } [_expectsEvent](eventId) { - if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + if (eventId == null) dart.nullFailed(I[66], 36, 26, "eventId"); return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; } [_toggleEventId]() { @@ -29408,7 +31933,7 @@ async._BroadcastSubscription$ = dart.generic(T => { return (dart.notNull(this[_eventState]) & 2) !== 0; } [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; } get [_removeAfterFiring]() { @@ -29420,8 +31945,8 @@ async._BroadcastSubscription$ = dart.generic(T => { } } (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { - if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); - if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); this[_eventState] = 0; this[_next$0] = null; this[_previous$0] = null; @@ -29442,13 +31967,14 @@ async._BroadcastSubscription$ = dart.generic(T => { [_isFiring]: core.bool, [_removeAfterFiring]: core.bool })); - dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setLibraryUri(_BroadcastSubscription, I[31]); dart.setFieldSignature(_BroadcastSubscription, () => ({ __proto__: dart.getFields(_BroadcastSubscription.__proto__), [_eventState]: dart.fieldType(core.int), [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) })); + dart.setStaticFieldSignature(_BroadcastSubscription, () => ['_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_REMOVE_AFTER_FIRING']); return _BroadcastSubscription; }); async._BroadcastSubscription = async._BroadcastSubscription$(); @@ -29482,12 +32008,12 @@ var _mayComplete = dart.privateName(async, "_mayComplete"); var _asyncComplete = dart.privateName(async, "_asyncComplete"); const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); async._BroadcastStreamController$ = dart.generic(T => { - var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + var __t$_BroadcastStreamOfT = () => (__t$_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_AddStreamStateOfT = () => (__t$_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); class _BroadcastStreamController extends core.Object { get onPause() { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); @@ -29502,10 +32028,10 @@ async._BroadcastStreamController$ = dart.generic(T => { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); } get stream() { - return new (_BroadcastStreamOfT()).new(this); + return new (__t$_BroadcastStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get isClosed() { return (dart.notNull(this[_state]) & 4) !== 0; @@ -29517,7 +32043,7 @@ async._BroadcastStreamController$ = dart.generic(T => { return !dart.test(this[_isEmpty]); } get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); return this[_firstSubscription] == this[_lastSubscription]; } get [_isFiring]() { @@ -29530,16 +32056,16 @@ async._BroadcastStreamController$ = dart.generic(T => { return dart.notNull(this[_state]) < 4; } [_ensureDoneFuture]() { - let t87; - t87 = this[_doneFuture]; - return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + let t74; + t74 = this[_doneFuture]; + return t74 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t74; } get [_isEmpty]() { return this[_firstSubscription] == null; } [_addListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); - if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[66], 160, 12, "identical(subscription._next, subscription)"); subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; let oldLast = this[_lastSubscription]; this[_lastSubscription] = subscription; @@ -29552,9 +32078,9 @@ async._BroadcastStreamController$ = dart.generic(T => { } } [_removeListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); - if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); - if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[66], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[66], 176, 12, "!identical(subscription._next, subscription)"); let previous = subscription[_previous$1]; let next = subscription[_next$1]; if (previous == null) { @@ -29570,11 +32096,11 @@ async._BroadcastStreamController$ = dart.generic(T => { subscription[_next$1] = subscription[_previous$1] = subscription; } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); if (dart.test(this.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); this[_addListener](subscription); if (this[_firstSubscription] == this[_lastSubscription]) { async._runGuarded(this.onListen); @@ -29582,8 +32108,8 @@ async._BroadcastStreamController$ = dart.generic(T => { return subscription; } [_recordCancel](sub) { - if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); - let subscription = _BroadcastSubscriptionOfT().as(sub); + if (sub == null) dart.nullFailed(I[66], 212, 53, "sub"); + let subscription = __t$_BroadcastSubscriptionOfT().as(sub); if (subscription[_next$1] == subscription) return null; if (dart.test(subscription[_isFiring])) { subscription[_setRemoveAfterFiring](); @@ -29596,16 +32122,16 @@ async._BroadcastStreamController$ = dart.generic(T => { return null; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 230, 44, "subscription"); } [_addEventError]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add new events after calling close"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 238, 12, "_isAddingStream"); return new core.StateError.new("Cannot add new events while doing an addStream"); } add(data) { @@ -29614,7 +32140,7 @@ async._BroadcastStreamController$ = dart.generic(T => { this[_sendData](data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + if (error == null) dart.nullFailed(I[66], 247, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -29624,12 +32150,11 @@ async._BroadcastStreamController$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_sendError](error, stackTrace); } close() { if (dart.test(this.isClosed)) { - if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[66], 262, 14, "_doneFuture != null"); return dart.nullCheck(this[_doneFuture]); } if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); @@ -29642,13 +32167,13 @@ async._BroadcastStreamController$ = dart.generic(T => { return this[_ensureDoneFuture](); } addStream(stream, opts) { - let t87; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let t74; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[66], 274, 30, "stream"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + let addStreamState = new (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); this[_addStreamState] = addStreamState; return addStreamState.addStreamFuture; } @@ -29656,20 +32181,20 @@ async._BroadcastStreamController$ = dart.generic(T => { this[_sendData](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 289, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 288, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 288, 43, "stackTrace"); this[_sendError](error, stackTrace); } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 293, 12, "_isAddingStream"); let addState = dart.nullCheck(this[_addStreamState]); this[_addStreamState] = null; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_forEachListener](action) { - let t87, t87$; - if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + let t74, t74$; + if (action == null) dart.nullFailed(I[66], 302, 12, "action"); if (dart.test(this[_isFiring])) { dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); } @@ -29679,16 +32204,16 @@ async._BroadcastStreamController$ = dart.generic(T => { let subscription = this[_firstSubscription]; while (subscription != null) { if (dart.test(subscription[_expectsEvent](id))) { - t87 = subscription; - t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + t74 = subscription; + t74[_eventState] = (dart.notNull(t74[_eventState]) | 2) >>> 0; action(subscription); subscription[_toggleEventId](); let next = subscription[_next$1]; if (dart.test(subscription[_removeAfterFiring])) { this[_removeListener](subscription); } - t87$ = subscription; - t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + t74$ = subscription; + t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; subscription = next; } else { subscription = subscription[_next$1]; @@ -29700,7 +32225,7 @@ async._BroadcastStreamController$ = dart.generic(T => { } } [_callOnCancel]() { - if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 342, 12, "_isEmpty"); if (dart.test(this.isClosed)) { let doneFuture = dart.nullCheck(this[_doneFuture]); if (dart.test(doneFuture[_mayComplete])) { @@ -29765,7 +32290,7 @@ async._BroadcastStreamController$ = dart.generic(T => { onPause: dart.nullable(dart.fnType(dart.void, [])), onResume: dart.nullable(dart.fnType(dart.void, [])) })); - dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setLibraryUri(_BroadcastStreamController, I[31]); dart.setFieldSignature(_BroadcastStreamController, () => ({ __proto__: dart.getFields(_BroadcastStreamController.__proto__), onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), @@ -29776,6 +32301,7 @@ async._BroadcastStreamController$ = dart.generic(T => { [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) })); + dart.setStaticFieldSignature(_BroadcastStreamController, () => ['_STATE_INITIAL', '_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _BroadcastStreamController; }); async._BroadcastStreamController = async._BroadcastStreamController$(); @@ -29799,10 +32325,13 @@ dart.defineLazy(async._BroadcastStreamController, { dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); async._SyncBroadcastStreamController$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfTTovoid = () => (__t$_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$_BufferingStreamSubscriptionOfT()])))(); class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_mayAddEvent]() { return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); } @@ -29816,7 +32345,7 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { if (dart.test(this[_isEmpty])) return; if (dart.test(this[_hasOneListener])) { this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); firstSubscription[_add](data); this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; if (dart.test(this[_isEmpty])) { @@ -29825,27 +32354,27 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { return; } this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); subscription[_add](data); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 390, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 389, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 389, 44, "stackTrace"); if (dart.test(this[_isEmpty])) return; this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 391, 55, "subscription"); subscription[_addError](error, stackTrace); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendDone]() { if (!dart.test(this[_isEmpty])) { this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); subscription[_close](); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 402, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29864,23 +32393,26 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_SyncBroadcastStreamController, I[31]); return _SyncBroadcastStreamController; }); async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); async._AsyncBroadcastStreamController$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } [_sendData](data) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](new (_DelayedDataOfT()).new(data)); + subscription[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 423, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 422, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 422, 44, "stackTrace"); for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { subscription[_addPending](new async._DelayedError.new(error, stackTrace)); } @@ -29888,10 +32420,10 @@ async._AsyncBroadcastStreamController$ = dart.generic(T => { [_sendDone]() { if (!dart.test(this[_isEmpty])) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[40] || CT.C40); + subscription[_addPending](C[41] || CT.C41); } } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 438, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29909,7 +32441,7 @@ async._AsyncBroadcastStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); return _AsyncBroadcastStreamController; }); async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); @@ -29918,29 +32450,32 @@ var _addPendingEvent = dart.privateName(async, "_addPendingEvent"); var _flushPending = dart.privateName(async, "_flushPending"); const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); async._AsBroadcastStreamController$ = dart.generic(T => { - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_hasPending]() { - let pending = this[_pending$]; + let pending = this[_pending]; return pending != null && !dart.test(pending.isEmpty); } [_addPendingEvent](event) { - let t87; - if (event == null) dart.nullFailed(I[63], 466, 39, "event"); - (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + let t74; + if (event == null) dart.nullFailed(I[66], 465, 39, "event"); + (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74).add(event); } add(data) { T.as(data); if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + this[_addPendingEvent](new (__t$_DelayedDataOfT()).new(data)); return; } super.add(data); this[_flushPending](); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + if (error == null) dart.nullFailed(I[66], 478, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { @@ -29952,33 +32487,34 @@ async._AsBroadcastStreamController$ = dart.generic(T => { this[_flushPending](); } [_flushPending]() { - let pending = this[_pending$]; - while (pending != null && !dart.test(pending.isEmpty)) { - pending.handleNext(this); - pending = this[_pending$]; + let pending = this[_pending]; + if (pending != null) { + while (!dart.test(pending.isEmpty)) { + pending.handleNext(this); + } } } close() { if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](C[40] || CT.C40); + this[_addPendingEvent](C[41] || CT.C41); this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; return super.done; } let result = super.close(); - if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[66], 506, 12, "!_hasPending"); return result; } [_callOnCancel]() { - let pending = this[_pending$]; + let pending = this[_pending]; if (pending != null) { pending.clear(); - this[_pending$] = null; + this[_pending] = null; } super[_callOnCancel](); } } (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending$] = null; + this[_pending] = null; _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); ; }).prototype = _AsBroadcastStreamController.prototype; @@ -29995,10 +32531,10 @@ async._AsBroadcastStreamController$ = dart.generic(T => { __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), [_hasPending]: core.bool })); - dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsBroadcastStreamController, I[31]); dart.setFieldSignature(_AsBroadcastStreamController, () => ({ __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); return _AsBroadcastStreamController; }); @@ -30019,12 +32555,17 @@ async.DeferredLibrary = class DeferredLibrary extends core.Object { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new async.DeferredLibrary.new(libraryName, {uri: uri}); + } load() { dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); } }; (async.DeferredLibrary.new = function(libraryName, opts) { - if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); let uri = opts && 'uri' in opts ? opts.uri : null; this[libraryName$] = libraryName; this[uri$] = uri; @@ -30036,7 +32577,7 @@ dart.setMethodSignature(async.DeferredLibrary, () => ({ __proto__: dart.getMethods(async.DeferredLibrary.__proto__), load: dart.fnType(async.Future$(core.Null), []) })); -dart.setLibraryUri(async.DeferredLibrary, I[29]); +dart.setLibraryUri(async.DeferredLibrary, I[31]); dart.setFieldSignature(async.DeferredLibrary, () => ({ __proto__: dart.getFields(async.DeferredLibrary.__proto__), libraryName: dart.finalFieldType(core.String), @@ -30044,19 +32585,23 @@ dart.setFieldSignature(async.DeferredLibrary, () => ({ })); var _s = dart.privateName(async, "_s"); async.DeferredLoadException = class DeferredLoadException extends core.Object { + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); + return new async.DeferredLoadException.new(message); + } toString() { return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; } }; (async.DeferredLoadException.new = function(message) { - if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); this[_s] = message; ; }).prototype = async.DeferredLoadException.prototype; dart.addTypeTests(async.DeferredLoadException); dart.addTypeCaches(async.DeferredLoadException); async.DeferredLoadException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.DeferredLoadException, I[29]); +dart.setLibraryUri(async.DeferredLoadException, I[31]); dart.setFieldSignature(async.DeferredLoadException, () => ({ __proto__: dart.getFields(async.DeferredLoadException.__proto__), [_s]: dart.finalFieldType(core.String) @@ -30068,7 +32613,7 @@ async.FutureOr$ = dart.normalizeFutureOr(T => { dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); }).prototype = FutureOr.prototype; dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[29]); + dart.setLibraryUri(FutureOr, I[31]); return FutureOr; }); async.FutureOr = async.FutureOr$(); @@ -30077,7 +32622,7 @@ var _completeWithValue = dart.privateName(async, "_completeWithValue"); async.Future$ = dart.generic(T => { class Future extends core.Object { static new(computation) { - if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); let result = new (async._Future$(T)).new(); async.Timer.run(dart.fn(() => { try { @@ -30093,8 +32638,12 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#new#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); + return async.Future$(T).new(computation); + } static microtask(computation) { - if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); let result = new (async._Future$(T)).new(); async.scheduleMicrotask(dart.fn(() => { try { @@ -30110,8 +32659,12 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#microtask#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); + return async.Future$(T).microtask(computation); + } static sync(computation) { - if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); try { let result = computation(); if (async.Future$(T).is(result)) { @@ -30135,11 +32688,18 @@ async.Future$ = dart.generic(T => { throw e; } } + static ['_#sync#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); + return async.Future$(T).sync(computation); + } static value(value = null) { return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); } + static ['_#value#tearOff'](T, value = null) { + return async.Future$(T).value(value); + } static error(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (async.Zone.current != async._rootZone) { let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30151,8 +32711,12 @@ async.Future$ = dart.generic(T => { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; return new (async._Future$(T)).immediateError(error, stackTrace); } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); + return async.Future$(T).error(error, stackTrace); + } static delayed(duration, computation = null) { - if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); } @@ -30175,11 +32739,15 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#delayed#tearOff'](T, duration, computation = null) { + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); + return async.Future$(T).delayed(duration, computation); + } static wait(T, futures, opts) { - let t101; - if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let t86; + if (futures == null) dart.nullFailed(I[70], 479, 54, "futures"); let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; - if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + if (eagerError == null) dart.nullFailed(I[70], 480, 13, "eagerError"); let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; let _future = new (async._Future$(core.List$(T))).new(); let values = null; @@ -30189,28 +32757,24 @@ async.Future$ = dart.generic(T => { function error$35get() { return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); } - dart.fn(error$35get, T$.VoidToObject()); - function error$35set(t94) { - if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + function error$35set(error$35param) { + if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); error$35isSet = true; - return error = t94; + return error = error$35param; } - dart.fn(error$35set, T$.ObjectTodynamic()); let stackTrace = null; let stackTrace$35isSet = false; function stackTrace$35get() { return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); } - dart.fn(stackTrace$35get, T$.VoidToStackTrace()); - function stackTrace$35set(t99) { - if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + function stackTrace$35set(stackTrace$35param) { + if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); stackTrace$35isSet = true; - return stackTrace = t99; + return stackTrace = stackTrace$35param; } - dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); function handleError(theError, theStackTrace) { - if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); - if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + if (theError == null) dart.nullFailed(I[70], 490, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[70], 490, 50, "theStackTrace"); remaining = remaining - 1; let valueList = values; if (valueList != null) { @@ -30261,10 +32825,10 @@ async.Future$ = dart.generic(T => { remaining = remaining + 1; } if (remaining === 0) { - t101 = _future; + t86 = _future; return (() => { - t101[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t101; + t86[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t86; })(); } values = core.List$(dart.nullable(T)).filled(remaining, null); @@ -30284,15 +32848,15 @@ async.Future$ = dart.generic(T => { return _future; } static any(T, futures) { - if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + if (futures == null) dart.nullFailed(I[70], 610, 47, "futures"); let completer = async.Completer$(T).sync(); function onValue(value) { if (!dart.test(completer.isCompleted)) completer.complete(value); } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[67], 465, 25, "error"); - if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (error == null) dart.nullFailed(I[70], 616, 25, "error"); + if (stack == null) dart.nullFailed(I[70], 616, 43, "stack"); if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); } dart.fn(onError, T$.ObjectAndStackTraceTovoid()); @@ -30302,13 +32866,13 @@ async.Future$ = dart.generic(T => { return completer.future; } static forEach(T, elements, action) { - if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); - if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + if (elements == null) dart.nullFailed(I[70], 642, 40, "elements"); + if (action == null) dart.nullFailed(I[70], 642, 59, "action"); let iterator = elements[$iterator]; return async.Future.doWhile(dart.fn(() => { if (!dart.test(iterator.moveNext())) return false; let result = action(iterator.current); - if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + if (async.Future.is(result)) return result.then(core.bool, C[42] || CT.C42); return true; }, T$.VoidToFutureOrOfbool())); } @@ -30316,22 +32880,20 @@ async.Future$ = dart.generic(T => { return true; } static doWhile(action) { - if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + if (action == null) dart.nullFailed(I[70], 692, 40, "action"); let doneSignal = new (T$._FutureOfvoid()).new(); let nextIteration = null; let nextIteration$35isSet = false; function nextIteration$35get() { return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); } - dart.fn(nextIteration$35get, T$.VoidToFn()); - function nextIteration$35set(t105) { - if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + function nextIteration$35set(nextIteration$35param) { + if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); nextIteration$35isSet = true; - return nextIteration = t105; + return nextIteration = nextIteration$35param; } - dart.fn(nextIteration$35set, T$.FnTodynamic()); nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); while (dart.test(keepGoing)) { let result = null; try { @@ -30362,7 +32924,9 @@ async.Future$ = dart.generic(T => { dart.addTypeTests(Future); Future.prototype[dart.isFuture] = true; dart.addTypeCaches(Future); - dart.setLibraryUri(Future, I[29]); + dart.setStaticMethodSignature(Future, () => ['new', 'microtask', 'sync', 'value', 'error', 'delayed', 'wait', 'any', 'forEach', '_kTrue', 'doWhile']); + dart.setLibraryUri(Future, I[31]); + dart.setStaticFieldSignature(Future, () => ['_nullFuture', '_falseFuture']); return Future; }); async.Future = async.Future$(); @@ -30390,6 +32954,9 @@ async.TimeoutException = class TimeoutException extends core.Object { set duration(value) { super.duration = value; } + static ['_#new#tearOff'](message, duration = null) { + return new async.TimeoutException.new(message, duration); + } toString() { let result = "TimeoutException"; if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); @@ -30405,7 +32972,7 @@ async.TimeoutException = class TimeoutException extends core.Object { dart.addTypeTests(async.TimeoutException); dart.addTypeCaches(async.TimeoutException); async.TimeoutException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.TimeoutException, I[29]); +dart.setLibraryUri(async.TimeoutException, I[31]); dart.setFieldSignature(async.TimeoutException, () => ({ __proto__: dart.getFields(async.TimeoutException.__proto__), message: dart.finalFieldType(dart.nullable(core.String)), @@ -30418,26 +32985,33 @@ async.Completer$ = dart.generic(T => { static new() { return new (async._AsyncCompleter$(T)).new(); } + static ['_#new#tearOff'](T) { + return async.Completer$(T).new(); + } static sync() { return new (async._SyncCompleter$(T)).new(); } + static ['_#sync#tearOff'](T) { + return async.Completer$(T).sync(); + } } (Completer[dart.mixinNew] = function() { }).prototype = Completer.prototype; dart.addTypeTests(Completer); Completer.prototype[_is_Completer_default] = true; dart.addTypeCaches(Completer); - dart.setLibraryUri(Completer, I[29]); + dart.setStaticMethodSignature(Completer, () => ['new', 'sync']); + dart.setLibraryUri(Completer, I[31]); return Completer; }); async.Completer = async.Completer$(); dart.addTypeTests(async.Completer, _is_Completer_default); const _is__Completer_default = Symbol('_is__Completer_default'); async._Completer$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); class _Completer extends core.Object { completeError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + if (error == null) dart.nullFailed(I[71], 12, 29, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30447,7 +33021,6 @@ async._Completer$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_completeError](error, stackTrace); } get isCompleted() { @@ -30455,7 +33028,7 @@ async._Completer$ = dart.generic(T => { } } (_Completer.new = function() { - this.future = new (_FutureOfT()).new(); + this.future = new (__t$_FutureOfT()).new(); ; }).prototype = _Completer.prototype; dart.addTypeTests(_Completer); @@ -30470,7 +33043,7 @@ async._Completer$ = dart.generic(T => { __proto__: dart.getGetters(_Completer.__proto__), isCompleted: core.bool })); - dart.setLibraryUri(_Completer, I[29]); + dart.setLibraryUri(_Completer, I[31]); dart.setFieldSignature(_Completer, () => ({ __proto__: dart.getFields(_Completer.__proto__), future: dart.finalFieldType(async._Future$(T)) @@ -30481,19 +33054,22 @@ async._Completer = async._Completer$(); dart.addTypeTests(async._Completer, _is__Completer_default); const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); async._AsyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _AsyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 49, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 39, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 39, 48, "stackTrace"); this.future[_asyncCompleteError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._AsyncCompleter$(T)).new(); + } } (_AsyncCompleter.new = function() { _AsyncCompleter.__proto__.new.call(this); @@ -30507,26 +33083,29 @@ async._AsyncCompleter$ = dart.generic(T => { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_AsyncCompleter, I[29]); + dart.setLibraryUri(_AsyncCompleter, I[31]); return _AsyncCompleter; }); async._AsyncCompleter = async._AsyncCompleter$(); dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); async._SyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _SyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 60, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 50, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 50, 48, "stackTrace"); this.future[_completeError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._SyncCompleter$(T)).new(); + } } (_SyncCompleter.new = function() { _SyncCompleter.__proto__.new.call(this); @@ -30540,7 +33119,7 @@ async._SyncCompleter$ = dart.generic(T => { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_SyncCompleter, I[29]); + dart.setLibraryUri(_SyncCompleter, I[31]); return _SyncCompleter; }); async._SyncCompleter = async._SyncCompleter$(); @@ -30551,10 +33130,28 @@ var _errorTest = dart.privateName(async, "_errorTest"); var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); const _is__FutureListener_default = Symbol('_is__FutureListener_default'); async._FutureListener$ = dart.generic((S, T) => { - var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); class _FutureListener extends core.Object { + static ['_#then#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); + return new (async._FutureListener$(S, T)).then(result, onValue, errorCallback); + } + static ['_#thenAwait#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); + return new (async._FutureListener$(S, T)).thenAwait(result, onValue, errorCallback); + } + static ['_#catchError#tearOff'](S, T, result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); + return new (async._FutureListener$(S, T)).catchError(result, errorCallback, callback); + } + static ['_#whenComplete#tearOff'](S, T, result, callback) { + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); + return new (async._FutureListener$(S, T)).whenComplete(result, callback); + } get [_zone$]() { return this.result[_zone$]; } @@ -30570,59 +33167,69 @@ async._FutureListener$ = dart.generic((S, T) => { get handlesComplete() { return (dart.notNull(this.state) & 15) >>> 0 === 8; } - get isAwait() { - return (dart.notNull(this.state) & 16) !== 0; - } get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); - return SToFutureOrOfT().as(this.callback); + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); + return this.callback; } - get [_onError]() { + get [_onError$]() { return this.errorCallback; } get [_errorTest]() { - if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); - return T$.ObjectTobool().as(this.callback); + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[71], 127, 12, "hasErrorTest"); + return this.callback; } get [_whenCompleteAction]() { - if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); - return T$.VoidTodynamic().as(this.callback); + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[71], 132, 12, "handlesComplete"); + return this.callback; } get hasErrorCallback() { - if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); - return this[_onError] != null; + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 140, 12, "handlesError"); + return this[_onError$] != null; } handleValue(sourceResult) { S.as(sourceResult); - return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + return this[_zone$].runUnary(__t$FutureOrOfT(), S, this[_onValue], sourceResult); } matchesErrorTest(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (asyncError == null) dart.nullFailed(I[71], 150, 36, "asyncError"); if (!dart.test(this.hasErrorTest)) return true; return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); } handleError(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); - if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + if (asyncError == null) dart.nullFailed(I[71], 155, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[71], 156, 12, "handlesError && hasErrorCallback"); let errorCallback = this.errorCallback; + let result = null; if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { - return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); } else { - return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + result = this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error); + } + try { + return __t$FutureOrOfT().as(result); + } catch (e) { + let ex = dart.getThrown(e); + if (core.TypeError.is(ex)) { + if (dart.test(this.handlesValue)) { + dart.throw(new core.ArgumentError.new("The error handler of Future.then" + " must return a value of the returned future's type", "onError")); + } + dart.throw(new core.ArgumentError.new("The error handler of " + "Future.catchError must return a value of the future's type", "onError")); + } else + throw e; } } handleWhenComplete() { - if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 189, 12, "!handlesError"); return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); } shouldChain(value) { - if (value == null) dart.nullFailed(I[68], 185, 36, "value"); - return FutureOfT().is(value) || !T.is(value); + if (value == null) dart.nullFailed(I[71], 196, 36, "value"); + return __t$FutureOfT().is(value) || !T.is(value); } } (_FutureListener.then = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 100, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); this[_nextListener] = null; this.result = result; this.callback = onValue; @@ -30631,18 +33238,18 @@ async._FutureListener$ = dart.generic((S, T) => { ; }).prototype = _FutureListener.prototype; (_FutureListener.thenAwait = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 106, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); - if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); this[_nextListener] = null; this.result = result; this.callback = onValue; this.errorCallback = errorCallback; - this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + this.state = 3; ; }).prototype = _FutureListener.prototype; (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); this[_nextListener] = null; this.result = result; this.errorCallback = errorCallback; @@ -30651,7 +33258,7 @@ async._FutureListener$ = dart.generic((S, T) => { ; }).prototype = _FutureListener.prototype; (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); this[_nextListener] = null; this.result = result; this.callback = callback; @@ -30677,14 +33284,13 @@ async._FutureListener$ = dart.generic((S, T) => { handlesError: core.bool, hasErrorTest: core.bool, handlesComplete: core.bool, - isAwait: core.bool, [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError]: dart.nullable(core.Function), + [_onError$]: dart.nullable(core.Function), [_errorTest]: dart.fnType(core.bool, [core.Object]), [_whenCompleteAction]: dart.fnType(dart.dynamic, []), hasErrorCallback: core.bool })); - dart.setLibraryUri(_FutureListener, I[29]); + dart.setLibraryUri(_FutureListener, I[31]); dart.setFieldSignature(_FutureListener, () => ({ __proto__: dart.getFields(_FutureListener.__proto__), [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), @@ -30693,6 +33299,7 @@ async._FutureListener$ = dart.generic((S, T) => { callback: dart.finalFieldType(dart.nullable(core.Function)), errorCallback: dart.finalFieldType(dart.nullable(core.Function)) })); + dart.setStaticFieldSignature(_FutureListener, () => ['maskValue', 'maskError', 'maskTestError', 'maskWhenComplete', 'stateChain', 'stateThen', 'stateThenOnerror', 'stateCatchError', 'stateCatchErrorTest', 'stateWhenComplete', 'maskType']); return _FutureListener; }); async._FutureListener = async._FutureListener$(); @@ -30729,9 +33336,6 @@ dart.defineLazy(async._FutureListener, { }, /*async._FutureListener.maskType*/get maskType() { return 15; - }, - /*async._FutureListener.stateIsAwait*/get stateIsAwait() { - return 16; } }, false); dart.addTypeTests(async._FutureListener, _is__FutureListener_default); @@ -30742,7 +33346,9 @@ var _mayAddListener = dart.privateName(async, "_mayAddListener"); var _isChained = dart.privateName(async, "_isChained"); var _isComplete = dart.privateName(async, "_isComplete"); var _hasError = dart.privateName(async, "_hasError"); +var _ignoreError = dart.privateName(async, "_ignoreError"); var _setChained = dart.privateName(async, "_setChained"); +var _ignore = dart.privateName(async, "_ignore"); var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); var _error = dart.privateName(async, "_error"); @@ -30755,65 +33361,72 @@ var _reverseListeners = dart.privateName(async, "_reverseListeners"); var _removeListeners = dart.privateName(async, "_removeListeners"); var _chainFuture = dart.privateName(async, "_chainFuture"); var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); +var _asyncCompleteUnchecked = dart.privateName(async, "_asyncCompleteUnchecked"); +var _asyncCompleteUncheckedNoFuture = dart.privateName(async, "_asyncCompleteUncheckedNoFuture"); const _is__Future_default = Symbol('_is__Future_default'); async._Future$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); - var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); - var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureListenerOfT$T = () => (__t$_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$VoidToFutureOrOfT = () => (__t$VoidToFutureOrOfT = dart.constFn(dart.fnType(__t$FutureOrOfT(), [])))(); + var __t$VoidToNFutureOrOfT = () => (__t$VoidToNFutureOrOfT = dart.constFn(dart.nullable(__t$VoidToFutureOrOfT())))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); class _Future extends core.Object { + static ['_#new#tearOff'](T) { + return new (async._Future$(T)).new(); + } + static ['_#immediate#tearOff'](T, result) { + return new (async._Future$(T)).immediate(result); + } + static ['_#zoneValue#tearOff'](T, value, _zone) { + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); + return new (async._Future$(T)).zoneValue(value, _zone); + } + static ['_#immediateError#tearOff'](T, error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static ['_#value#tearOff'](T, value) { + return new (async._Future$(T)).value(value); + } get [_mayComplete]() { - return this[_state] === 0; + return (dart.notNull(this[_state]) & 30) >>> 0 === 0; } get [_isPendingComplete]() { - return this[_state] === 1; + return (dart.notNull(this[_state]) & 2) !== 0; } get [_mayAddListener]() { - return dart.notNull(this[_state]) <= 1; + return dart.notNull(this[_state]) <= (2 | 1) >>> 0; } get [_isChained]() { - return this[_state] === 2; + return (dart.notNull(this[_state]) & 4) !== 0; } get [_isComplete]() { - return dart.notNull(this[_state]) >= 4; + return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; } get [_hasError]() { - return this[_state] === 8; + return (dart.notNull(this[_state]) & 16) !== 0; } - static _continuationFunctions(future) { - let t108; - if (future == null) dart.nullFailed(I[68], 263, 65, "future"); - let result = null; - while (true) { - if (dart.test(future[_mayAddListener])) return result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); - if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); - let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); - if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { - (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); - future = listener.result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); - } else { - break; - } - } - return result; + get [_ignoreError]() { + return (dart.notNull(this[_state]) & 1) !== 0; } [_setChained](source) { - if (source == null) dart.nullFailed(I[68], 284, 28, "source"); - if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); - this[_state] = 2; + if (source == null) dart.nullFailed(I[71], 296, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[71], 297, 12, "_mayAddListener"); + this[_state] = (4 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source; } then(R, f, opts) { - if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + if (f == null) dart.nullFailed(I[71], 302, 33, "f"); let onError = opts && 'onError' in opts ? opts.onError : null; let currentZone = async.Zone.current; - if (currentZone != async._rootZone) { + if (currentZone == async._rootZone) { + if (onError != null && !T$.ObjectAndStackTraceTodynamic().is(onError) && !T$.ObjectTodynamic().is(onError)) { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); + } + } else { f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); if (onError != null) { onError = async._registerErrorHandler(onError, currentZone); @@ -30824,78 +33437,81 @@ async._Future$ = dart.generic(T => { return result; } [_thenAwait](E, f, onError) { - if (f == null) dart.nullFailed(I[68], 312, 39, "f"); - if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + if (f == null) dart.nullFailed(I[71], 332, 39, "f"); + if (onError == null) dart.nullFailed(I[71], 332, 60, "onError"); let result = new (async._Future$(E)).new(); this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); return result; } + [_ignore]() { + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + } catchError(onError, opts) { - if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + if (onError == null) dart.nullFailed(I[71], 342, 33, "onError"); let test = opts && 'test' in opts ? opts.test : null; - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { onError = async._registerErrorHandler(onError, result[_zone$]); if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); } - this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + this[_addListener](new (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); return result; } whenComplete(action) { - if (action == null) dart.nullFailed(I[68], 328, 34, "action"); - let result = new (_FutureOfT()).new(); + if (action == null) dart.nullFailed(I[71], 352, 34, "action"); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { action = result[_zone$].registerCallback(dart.dynamic, action); } - this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + this[_addListener](new (__t$_FutureListenerOfT$T()).whenComplete(result, action)); return result; } asStream() { - return StreamOfT().fromFuture(this); + return __t$StreamOfT().fromFuture(this); } [_setPendingComplete]() { - if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); - this[_state] = 1; + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[71], 364, 12, "_mayComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (0 ^ 2) >>> 0) >>> 0; } [_clearPendingComplete]() { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); - this[_state] = 0; + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 369, 12, "_isPendingComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (2 ^ 0) >>> 0) >>> 0; } get [_error]() { - if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[71], 374, 12, "_hasError"); return async.AsyncError.as(this[_resultOrListeners]); } get [_chainSource]() { - if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[71], 379, 12, "_isChained"); return async._Future.as(this[_resultOrListeners]); } [_setValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); - this[_state] = 4; + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 385, 12, "!_isComplete"); + this[_state] = 8; this[_resultOrListeners] = value; } [_setErrorObject](error) { - if (error == null) dart.nullFailed(I[68], 366, 35, "error"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); - this[_state] = 8; + if (error == null) dart.nullFailed(I[71], 390, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 391, 12, "!_isComplete"); + this[_state] = (16 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = error; } [_setError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 372, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 396, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 396, 43, "stackTrace"); this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); } [_cloneResult](source) { - if (source == null) dart.nullFailed(I[68], 379, 29, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); - this[_state] = source[_state]; + if (source == null) dart.nullFailed(I[71], 403, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 404, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 405, 12, "source._isComplete"); + this[_state] = (dart.notNull(source[_state]) & 30 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source[_resultOrListeners]; } [_addListener](listener) { - if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); - if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (listener == null) dart.nullFailed(I[71], 411, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[71], 412, 12, "listener._nextListener == null"); if (dart.test(this[_mayAddListener])) { listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = listener; @@ -30908,7 +33524,7 @@ async._Future$ = dart.generic(T => { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 428, 14, "_isComplete"); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listener); }, T$.VoidTovoid())); @@ -30937,7 +33553,7 @@ async._Future$ = dart.generic(T => { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 462, 14, "_isComplete"); listeners = this[_reverseListeners](listeners); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listeners); @@ -30945,7 +33561,7 @@ async._Future$ = dart.generic(T => { } } [_removeListeners]() { - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 473, 12, "!_isComplete"); let current = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = null; return this[_reverseListeners](current); @@ -30962,13 +33578,13 @@ async._Future$ = dart.generic(T => { return prev; } [_chainForeignFuture](source) { - if (source == null) dart.nullFailed(I[68], 470, 35, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); - if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + if (source == null) dart.nullFailed(I[71], 495, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 496, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[71], 497, 12, "source is! _Future"); this[_setPendingComplete](); try { source.then(core.Null, dart.fn(value => { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 503, 16, "_isPendingComplete"); this[_clearPendingComplete](); try { this[_completeWithValue](T.as(value)); @@ -30981,9 +33597,9 @@ async._Future$ = dart.generic(T => { throw e; } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[68], 485, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + if (error == null) dart.nullFailed(I[71], 510, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 510, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 511, 16, "_isPendingComplete"); this[_completeError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())}); } catch (e$) { @@ -30998,9 +33614,9 @@ async._Future$ = dart.generic(T => { } } static _chainCoreFuture(source, target) { - if (source == null) dart.nullFailed(I[68], 502, 40, "source"); - if (target == null) dart.nullFailed(I[68], 502, 56, "target"); - if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + if (source == null) dart.nullFailed(I[71], 527, 40, "source"); + if (target == null) dart.nullFailed(I[71], 527, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[71], 528, 12, "target._mayAddListener"); while (dart.test(source[_isChained])) { source = source[_chainSource]; } @@ -31015,10 +33631,10 @@ async._Future$ = dart.generic(T => { } } [_complete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); - if (FutureOfT().is(value)) { - if (_FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 544, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { + if (__t$_FutureOfT().is(value)) { async._Future._chainCoreFuture(value, this); } else { this[_chainForeignFuture](value); @@ -31031,28 +33647,41 @@ async._Future$ = dart.generic(T => { } [_completeWithValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 563, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setValue](value); async._Future._propagateToListeners(this, listeners); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 545, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 570, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 570, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 571, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setError](error, stackTrace); async._Future._propagateToListeners(this, listeners); } [_asyncComplete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); - if (FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 579, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { this[_chainFuture](value); return; } this[_asyncCompleteWithValue](T.as(value)); } + [_asyncCompleteUnchecked](value) { + if (!core.identical(__t$FutureOrOfT().as(value), value)) dart.assertFailed(null, I[71], 610, 12, "identical(value as FutureOr, value)"); + let typedValue = value; + if (__t$FutureOfT().is(typedValue)) { + this[_chainFuture](typedValue); + return; + } + this[_asyncCompleteWithValue](typedValue); + } + [_asyncCompleteUncheckedNoFuture](value) { + if (!core.identical(T.as(value), value)) dart.assertFailed(null, I[71], 633, 12, "identical(value as T, value)"); + this[_asyncCompleteWithValue](value); + } [_asyncCompleteWithValue](value) { T.as(value); this[_setPendingComplete](); @@ -31061,8 +33690,8 @@ async._Future$ = dart.generic(T => { }, T$.VoidTovoid())); } [_chainFuture](value) { - if (value == null) dart.nullFailed(I[68], 584, 31, "value"); - if (_FutureOfT().is(value)) { + if (value == null) dart.nullFailed(I[71], 644, 31, "value"); + if (__t$_FutureOfT().is(value)) { if (dart.test(value[_hasError])) { this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { @@ -31076,21 +33705,21 @@ async._Future$ = dart.generic(T => { this[_chainForeignFuture](value); } [_asyncCompleteError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 601, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 661, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 661, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 662, 12, "!_isComplete"); this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { this[_completeError](error, stackTrace); }, T$.VoidTovoid())); } static _propagateToListeners(source, listeners) { - if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + if (source == null) dart.nullFailed(I[71], 673, 15, "source"); while (true) { - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 675, 14, "source._isComplete"); let hasError = source[_hasError]; if (listeners == null) { - if (dart.test(hasError)) { + if (dart.test(hasError) && !dart.test(source[_ignoreError])) { let asyncError = source[_error]; source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); } @@ -31119,8 +33748,8 @@ async._Future$ = dart.generic(T => { oldZone = async.Zone._enter(zone); } function handleWhenCompleteCallback() { - if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); - if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[71], 733, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[71], 734, 18, "!listener.handlesError"); let completeResult = null; try { completeResult = listener.handleWhenComplete(); @@ -31230,11 +33859,11 @@ async._Future$ = dart.generic(T => { } } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - VoidToNFutureOrOfT().as(onTimeout); - if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); - let _future = new (_FutureOfT()).new(); + __t$VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (__t$_FutureOfT()).immediate(this); + let _future = new (__t$_FutureOfT()).new(); let timer = null; if (onTimeout == null) { timer = async.Timer.new(timeLimit, dart.fn(() => { @@ -31242,10 +33871,10 @@ async._Future$ = dart.generic(T => { }, T$.VoidTovoid())); } else { let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); timer = async.Timer.new(timeLimit, dart.fn(() => { try { - _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -31261,9 +33890,9 @@ async._Future$ = dart.generic(T => { timer.cancel(); _future[_completeWithValue](v); } - }, TToNull()), {onError: dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[68], 816, 25, "e"); - if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + }, __t$TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[71], 876, 25, "e"); + if (s == null) dart.nullFailed(I[71], 876, 39, "s"); if (dart.test(timer.isActive)) { timer.cancel(); _future[_completeError](e, s); @@ -31285,14 +33914,14 @@ async._Future$ = dart.generic(T => { this[_asyncComplete](result); }).prototype = _Future.prototype; (_Future.zoneValue = function(value, _zone) { - if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = _zone; this[_setValue](value); }).prototype = _Future.prototype; (_Future.immediateError = function(error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = async.Zone._current; @@ -31311,6 +33940,7 @@ async._Future$ = dart.generic(T => { [_setChained]: dart.fnType(dart.void, [async._Future]), then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + [_ignore]: dart.fnType(dart.void, []), catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), asStream: dart.fnType(async.Stream$(T), []), @@ -31329,11 +33959,14 @@ async._Future$ = dart.generic(T => { [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteUnchecked]: dart.fnType(dart.void, [dart.dynamic]), + [_asyncCompleteUncheckedNoFuture]: dart.fnType(dart.void, [dart.dynamic]), [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) })); + dart.setStaticMethodSignature(_Future, () => ['_chainCoreFuture', '_propagateToListeners']); dart.setGetterSignature(_Future, () => ({ __proto__: dart.getGetters(_Future.__proto__), [_mayComplete]: core.bool, @@ -31342,16 +33975,18 @@ async._Future$ = dart.generic(T => { [_isChained]: core.bool, [_isComplete]: core.bool, [_hasError]: core.bool, + [_ignoreError]: core.bool, [_error]: async.AsyncError, [_chainSource]: async._Future })); - dart.setLibraryUri(_Future, I[29]); + dart.setLibraryUri(_Future, I[31]); dart.setFieldSignature(_Future, () => ({ __proto__: dart.getFields(_Future.__proto__), [_state]: dart.fieldType(core.int), [_zone$]: dart.finalFieldType(async._Zone), [_resultOrListeners]: dart.fieldType(dart.dynamic) })); + dart.setStaticFieldSignature(_Future, () => ['_stateIncomplete', '_stateIgnoreError', '_statePendingComplete', '_stateChained', '_stateValue', '_stateError', '_completionStateMask']); return _Future; }); async._Future = async._Future$(); @@ -31359,30 +33994,41 @@ dart.defineLazy(async._Future, { /*async._Future._stateIncomplete*/get _stateIncomplete() { return 0; }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { + /*async._Future._stateIgnoreError*/get _stateIgnoreError() { return 1; }, - /*async._Future._stateChained*/get _stateChained() { + /*async._Future._statePendingComplete*/get _statePendingComplete() { return 2; }, - /*async._Future._stateValue*/get _stateValue() { + /*async._Future._stateChained*/get _stateChained() { return 4; }, - /*async._Future._stateError*/get _stateError() { + /*async._Future._stateValue*/get _stateValue() { return 8; + }, + /*async._Future._stateError*/get _stateError() { + return 16; + }, + /*async._Future._completionStateMask*/get _completionStateMask() { + return 30; } }, false); dart.addTypeTests(async._Future, _is__Future_default); -async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; +async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); + return new async._AsyncCallbackEntry.new(callback); + } +}; (async._AsyncCallbackEntry.new = function(callback) { - if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); this.next = null; this.callback = callback; ; }).prototype = async._AsyncCallbackEntry.prototype; dart.addTypeTests(async._AsyncCallbackEntry); dart.addTypeCaches(async._AsyncCallbackEntry); -dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); +dart.setLibraryUri(async._AsyncCallbackEntry, I[31]); dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), callback: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -31391,12 +34037,12 @@ dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ async._AsyncRun = class _AsyncRun extends core.Object { static _initializeScheduleImmediate() { if (dart.global.scheduleImmediate != null) { - return C[42] || CT.C42; + return C[43] || CT.C43; } - return C[43] || CT.C43; + return C[44] || CT.C44; } static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); dart.addAsyncCallback(); dart.global.scheduleImmediate(() => { dart.removeAsyncCallback(); @@ -31404,7 +34050,7 @@ async._AsyncRun = class _AsyncRun extends core.Object { }); } static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); dart.addAsyncCallback(); dart.global.Promise.resolve(null).then(() => { dart.removeAsyncCallback(); @@ -31412,16 +34058,21 @@ async._AsyncRun = class _AsyncRun extends core.Object { }); } static _scheduleImmediate(callback) { - if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + if (callback == null) dart.nullFailed(I[64], 135, 50, "callback"); async._AsyncRun._scheduleImmediateClosure(callback); } + static ['_#new#tearOff']() { + return new async._AsyncRun.new(); + } }; (async._AsyncRun.new = function() { ; }).prototype = async._AsyncRun.prototype; dart.addTypeTests(async._AsyncRun); dart.addTypeCaches(async._AsyncRun); -dart.setLibraryUri(async._AsyncRun, I[29]); +dart.setStaticMethodSignature(async._AsyncRun, () => ['_initializeScheduleImmediate', '_scheduleImmediateJSOverride', '_scheduleImmediateWithPromise', '_scheduleImmediate']); +dart.setLibraryUri(async._AsyncRun, I[31]); +dart.setStaticFieldSignature(async._AsyncRun, () => ['_scheduleImmediateClosure']); dart.defineLazy(async._AsyncRun, { /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { return async._AsyncRun._initializeScheduleImmediate(); @@ -31435,7 +34086,7 @@ async.StreamSubscription$ = dart.generic(T => { dart.addTypeTests(StreamSubscription); StreamSubscription.prototype[dart.isStreamSubscription] = true; dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[29]); + dart.setLibraryUri(StreamSubscription, I[31]); return StreamSubscription; }); async.StreamSubscription = async.StreamSubscription$(); @@ -31450,7 +34101,7 @@ async.EventSink$ = dart.generic(T => { EventSink.prototype[_is_EventSink_default] = true; dart.addTypeCaches(EventSink); EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[29]); + dart.setLibraryUri(EventSink, I[31]); return EventSink; }); async.EventSink = async.EventSink$(); @@ -31466,6 +34117,10 @@ async.StreamView$ = dart.generic(T => { set [_stream$](value) { super[_stream$] = value; } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); + return new (async.StreamView$(T)).new(stream); + } get isBroadcast() { return this[_stream$].isBroadcast; } @@ -31482,7 +34137,7 @@ async.StreamView$ = dart.generic(T => { } } (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); this[_stream] = stream; StreamView.__proto__._internal.call(this); ; @@ -31494,7 +34149,7 @@ async.StreamView$ = dart.generic(T => { __proto__: dart.getMethods(StreamView.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(StreamView, I[29]); + dart.setLibraryUri(StreamView, I[31]); dart.setFieldSignature(StreamView, () => ({ __proto__: dart.getFields(StreamView.__proto__), [_stream$]: dart.finalFieldType(async.Stream$(T)) @@ -31512,7 +34167,7 @@ async.StreamConsumer$ = dart.generic(S => { dart.addTypeTests(StreamConsumer); StreamConsumer.prototype[_is_StreamConsumer_default] = true; dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[29]); + dart.setLibraryUri(StreamConsumer, I[31]); return StreamConsumer; }); async.StreamConsumer = async.StreamConsumer$(); @@ -31527,7 +34182,7 @@ async.StreamSink$ = dart.generic(S => { StreamSink.prototype[_is_StreamSink_default] = true; dart.addTypeCaches(StreamSink); StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[29]); + dart.setLibraryUri(StreamSink, I[31]); return StreamSink; }); async.StreamSink = async.StreamSink$(); @@ -31535,8 +34190,22 @@ dart.addTypeTests(async.StreamSink, _is_StreamSink_default); const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); async.StreamTransformer$ = dart.generic((S, T) => { class StreamTransformer extends core.Object { + static ['_#new#tearOff'](S, T, onListen) { + if (onListen == null) dart.nullFailed(I[30], 2383, 33, "onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(onListen); + } + static ['_#fromHandlers#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } + static ['_#fromBind#tearOff'](S, T, bind) { + if (bind == null) dart.nullFailed(I[30], 2448, 68, "bind"); + return new (async._StreamBindTransformer$(S, T)).new(bind); + } static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + if (source == null) dart.nullFailed(I[30], 2460, 33, "source"); return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); } } @@ -31545,7 +34214,9 @@ async.StreamTransformer$ = dart.generic((S, T) => { dart.addTypeTests(StreamTransformer); StreamTransformer.prototype[_is_StreamTransformer_default] = true; dart.addTypeCaches(StreamTransformer); - dart.setLibraryUri(StreamTransformer, I[29]); + dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); + dart.setLibraryUri(StreamTransformer, I[31]); + dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); return StreamTransformer; }); async.StreamTransformer = async.StreamTransformer$(); @@ -31554,16 +34225,21 @@ const _is_StreamIterator_default = Symbol('_is_StreamIterator_default'); async.StreamIterator$ = dart.generic(T => { class StreamIterator extends core.Object { static new(stream) { - if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); return new (async._StreamIterator$(T)).new(stream); } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); + return async.StreamIterator$(T).new(stream); + } } (StreamIterator[dart.mixinNew] = function() { }).prototype = StreamIterator.prototype; dart.addTypeTests(StreamIterator); StreamIterator.prototype[_is_StreamIterator_default] = true; dart.addTypeCaches(StreamIterator); - dart.setLibraryUri(StreamIterator, I[29]); + dart.setStaticMethodSignature(StreamIterator, () => ['new']); + dart.setLibraryUri(StreamIterator, I[31]); return StreamIterator; }); async.StreamIterator = async.StreamIterator$(); @@ -31572,6 +34248,9 @@ var _ensureSink = dart.privateName(async, "_ensureSink"); const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); async._ControllerEventSinkWrapper$ = dart.generic(T => { class _ControllerEventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + return new (async._ControllerEventSinkWrapper$(T)).new(_sink); + } [_ensureSink]() { let sink = this[_sink$]; if (sink == null) dart.throw(new core.StateError.new("Sink not available")); @@ -31582,7 +34261,7 @@ async._ControllerEventSinkWrapper$ = dart.generic(T => { this[_ensureSink]().add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); this[_ensureSink]().addError(error, stackTrace); } close() { @@ -31604,7 +34283,7 @@ async._ControllerEventSinkWrapper$ = dart.generic(T => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) @@ -31623,7 +34302,7 @@ async.MultiStreamController$ = dart.generic(T => { MultiStreamController.prototype[_is_MultiStreamController_default] = true; dart.addTypeCaches(MultiStreamController); MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[29]); + dart.setLibraryUri(MultiStreamController, I[31]); return MultiStreamController; }); async.MultiStreamController = async.MultiStreamController$(); @@ -31637,16 +34316,32 @@ async.StreamController$ = dart.generic(T => { let onResume = opts && 'onResume' in opts ? opts.onResume : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); } + static ['_#new#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); + return async.StreamController$(T).new({onListen: onListen, onPause: onPause, onResume: onResume, onCancel: onCancel, sync: sync}); + } static broadcast(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); } + static ['_#broadcast#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); + return async.StreamController$(T).broadcast({onListen: onListen, onCancel: onCancel, sync: sync}); + } } (StreamController[dart.mixinNew] = function() { }).prototype = StreamController.prototype; @@ -31654,7 +34349,8 @@ async.StreamController$ = dart.generic(T => { StreamController.prototype[_is_StreamController_default] = true; dart.addTypeCaches(StreamController); StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setLibraryUri(StreamController, I[29]); + dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); + dart.setLibraryUri(StreamController, I[31]); return StreamController; }); async.StreamController = async.StreamController$(); @@ -31669,26 +34365,26 @@ async.SynchronousStreamController$ = dart.generic(T => { SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; dart.addTypeCaches(SynchronousStreamController); SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(SynchronousStreamController, I[29]); + dart.setLibraryUri(SynchronousStreamController, I[31]); return SynchronousStreamController; }); async.SynchronousStreamController = async.SynchronousStreamController$(); dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); async._StreamControllerLifecycle$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); class _StreamControllerLifecycle extends core.Object { [_recordPause](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); } [_recordResume](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); } [_recordCancel](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); return null; } } @@ -31704,7 +34400,7 @@ async._StreamControllerLifecycle$ = dart.generic(T => { [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + dart.setLibraryUri(_StreamControllerLifecycle, I[31]); return _StreamControllerLifecycle; }); async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); @@ -31719,7 +34415,7 @@ async._StreamControllerBase$ = dart.generic(T => { _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; dart.addTypeCaches(_StreamControllerBase); _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setLibraryUri(_StreamControllerBase, I[29]); + dart.setLibraryUri(_StreamControllerBase, I[31]); return _StreamControllerBase; }); async._StreamControllerBase = async._StreamControllerBase$(); @@ -31732,21 +34428,20 @@ var _ensurePendingEvents = dart.privateName(async, "_ensurePendingEvents"); var _badEventState = dart.privateName(async, "_badEventState"); const _is__StreamController_default = Symbol('_is__StreamController_default'); async._StreamController$ = dart.generic(T => { - var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_ControllerStreamOfT = () => (__t$_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_StreamControllerAddStreamStateOfT = () => (__t$_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var __t$_ControllerSubscriptionOfT = () => (__t$_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _StreamController extends core.Object { get stream() { - return new (_ControllerStreamOfT()).new(this); + return new (__t$_ControllerStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get [_isCanceled]() { return (dart.notNull(this[_state]) & 2) !== 0; @@ -31770,53 +34465,53 @@ async._StreamController$ = dart.generic(T => { return dart.notNull(this[_state]) < 4; } get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { - return _PendingEventsNOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(this[_varData]); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); - return _PendingEventsNOfT().as(state.varData); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(state.varData); } [_ensurePendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 531, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { let events = this[_varData]; if (events == null) { - this[_varData] = events = new (_StreamImplEventsOfT()).new(); + this[_varData] = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); let events = state.varData; if (events == null) { - state.varData = events = new (_StreamImplEventsOfT()).new(); + state.varData = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } get [_subscription]() { - if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[67], 551, 12, "hasListener"); let varData = this[_varData]; if (dart.test(this[_isAddingStream])) { let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); varData = streamState.varData; } - return _ControllerSubscriptionOfT().as(varData); + return __t$_ControllerSubscriptionOfT().as(varData); } [_badEventState]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add event after closing"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 567, 12, "_isAddingStream"); return new core.StateError.new("Cannot add event while adding a stream"); } addStream(source, opts) { - let t114; - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let t100; + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 572, 30, "source"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); - let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + let addState = new (__t$_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t100 = cancelOnError, t100 == null ? false : t100)); this[_varData] = addState; this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; return addState.addStreamFuture; @@ -31825,9 +34520,9 @@ async._StreamController$ = dart.generic(T => { return this[_ensureDoneFuture](); } [_ensureDoneFuture]() { - let t114; - t114 = this[_doneFuture]; - return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + let t100; + t100 = this[_doneFuture]; + return t100 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t100; } add(value) { T.as(value); @@ -31835,7 +34530,7 @@ async._StreamController$ = dart.generic(T => { this[_add](value); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + if (error == null) dart.nullFailed(I[67], 600, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -31845,7 +34540,6 @@ async._StreamController$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_addError](error, stackTrace); } close() { @@ -31861,7 +34555,7 @@ async._StreamController$ = dart.generic(T => { if (dart.test(this.hasListener)) { this[_sendDone](); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[40] || CT.C40); + this[_ensurePendingEvents]().add(C[41] || CT.C41); } } [_add](value) { @@ -31869,12 +34563,12 @@ async._StreamController$ = dart.generic(T => { if (dart.test(this.hasListener)) { this[_sendData](value); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 613, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 654, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 654, 43, "stackTrace"); if (dart.test(this.hasListener)) { this[_sendError](error, stackTrace); } else if (dart.test(this[_isInitialState])) { @@ -31882,22 +34576,22 @@ async._StreamController$ = dart.generic(T => { } } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 664, 12, "_isAddingStream"); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); this[_varData] = addState.varData; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 674, 28, "cancelOnError"); if (!dart.test(this[_isInitialState])) { dart.throw(new core.StateError.new("Stream has already been listened to.")); } - let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); let pendingEvents = this[_pendingEvents]; this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.varData = subscription; addState.resume(); } else { @@ -31910,11 +34604,11 @@ async._StreamController$ = dart.generic(T => { return subscription; } [_recordCancel](subscription) { - let t115; - if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let t101; + if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); let result = null; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); result = addState.cancel(); } this[_varData] = null; @@ -31931,9 +34625,9 @@ async._StreamController$ = dart.generic(T => { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - result = (t115 = new (T$._FutureOfvoid()).new(), (() => { - t115[_asyncCompleteError](e, s); - return t115; + result = (t101 = new (T$._FutureOfvoid()).new(), (() => { + t101[_asyncCompleteError](e, s); + return t101; })()); } else throw e$; @@ -31957,17 +34651,17 @@ async._StreamController$ = dart.generic(T => { return result; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.pause(); } async._runGuarded(this.onPause); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.resume(); } async._runGuarded(this.onResume); @@ -31989,7 +34683,7 @@ async._StreamController$ = dart.generic(T => { _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; dart.setMethodSignature(_StreamController, () => ({ __proto__: dart.getMethods(_StreamController.__proto__), - [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_ensurePendingEvents]: dart.fnType(async._PendingEvents$(T), []), [_badEventState]: dart.fnType(core.Error, []), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), @@ -32020,7 +34714,7 @@ async._StreamController$ = dart.generic(T => { [_subscription]: async._ControllerSubscription$(T), done: async.Future$(dart.void) })); - dart.setLibraryUri(_StreamController, I[29]); + dart.setLibraryUri(_StreamController, I[31]); dart.setFieldSignature(_StreamController, () => ({ __proto__: dart.getFields(_StreamController.__proto__), [_varData]: dart.fieldType(dart.nullable(core.Object)), @@ -32031,6 +34725,7 @@ async._StreamController$ = dart.generic(T => { onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_StreamController, () => ['_STATE_INITIAL', '_STATE_SUBSCRIBED', '_STATE_CANCELED', '_STATE_SUBSCRIPTION_MASK', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _StreamController; }); async._StreamController = async._StreamController$(); @@ -32062,8 +34757,8 @@ async._SyncStreamControllerDispatch$ = dart.generic(T => { this[_subscription][_add](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 736, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 777, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 777, 44, "stackTrace"); this[_subscription][_addError](error, stackTrace); } [_sendDone]() { @@ -32083,25 +34778,25 @@ async._SyncStreamControllerDispatch$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[31]); return _SyncStreamControllerDispatch; }); async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); async._AsyncStreamControllerDispatch$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncStreamControllerDispatch extends core.Object { [_sendData](data) { - this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 751, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 792, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 792, 44, "stackTrace"); this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); } [_sendDone]() { - this[_subscription][_addPending](C[40] || CT.C40); + this[_subscription][_addPending](C[41] || CT.C41); } } (_AsyncStreamControllerDispatch.new = function() { @@ -32117,7 +34812,7 @@ async._AsyncStreamControllerDispatch$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); return _AsyncStreamControllerDispatch; }); async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); @@ -32130,12 +34825,15 @@ async._AsyncStreamController$ = dart.generic(T => { }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 764, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 805, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32155,7 +34853,7 @@ async._AsyncStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamController, I[29]); + dart.setLibraryUri(_AsyncStreamController, I[31]); return _AsyncStreamController; }); async._AsyncStreamController = async._AsyncStreamController$(); @@ -32168,12 +34866,15 @@ async._SyncStreamController$ = dart.generic(T => { }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 767, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 808, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32193,7 +34894,7 @@ async._SyncStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamController, I[29]); + dart.setLibraryUri(_SyncStreamController, I[31]); return _SyncStreamController; }); async._SyncStreamController = async._SyncStreamController$(); @@ -32201,22 +34902,26 @@ dart.addTypeTests(async._SyncStreamController, _is__SyncStreamController_default var _target$ = dart.privateName(async, "_target"); const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); async._StreamSinkWrapper$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); + return new (async._StreamSinkWrapper$(T)).new(_target); + } add(data) { T.as(data); this[_target$].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + if (error == null) dart.nullFailed(I[67], 870, 24, "error"); this[_target$].addError(error, stackTrace); } close() { return this[_target$].close(); } addStream(source) { - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 876, 30, "source"); return this[_target$].addStream(source); } get done() { @@ -32224,7 +34929,7 @@ async._StreamSinkWrapper$ = dart.generic(T => { } } (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); this[_target$] = _target; ; }).prototype = _StreamSinkWrapper.prototype; @@ -32243,7 +34948,7 @@ async._StreamSinkWrapper$ = dart.generic(T => { __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), done: async.Future })); - dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setLibraryUri(_StreamSinkWrapper, I[31]); dart.setFieldSignature(_StreamSinkWrapper, () => ({ __proto__: dart.getFields(_StreamSinkWrapper.__proto__), [_target$]: dart.finalFieldType(async.StreamController) @@ -32254,12 +34959,19 @@ async._StreamSinkWrapper = async._StreamSinkWrapper$(); dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); async._AddStreamState$ = dart.generic(T => { + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _AddStreamState extends core.Object { + static ['_#new#tearOff'](T, controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); + return new (async._AddStreamState$(T)).new(controller, source, cancelOnError); + } static makeErrorHandler(controller) { - if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + if (controller == null) dart.nullFailed(I[67], 899, 38, "controller"); return dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[64], 858, 61, "e"); - if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + if (e == null) dart.nullFailed(I[67], 899, 61, "e"); + if (s == null) dart.nullFailed(I[67], 899, 75, "s"); controller[_addError](e, s); controller[_close](); }, T$.ObjectAndStackTraceToNull()); @@ -32285,11 +34997,11 @@ async._AddStreamState$ = dart.generic(T => { } } (_AddStreamState.new = function(controller, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); - if (source == null) dart.nullFailed(I[64], 849, 43, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); this.addStreamFuture = new async._Future.new(); - this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + this.addSubscription = source.listen(__t$TTovoid().as(dart.bind(controller, _add)), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); ; }).prototype = _AddStreamState.prototype; dart.addTypeTests(_AddStreamState); @@ -32302,7 +35014,8 @@ async._AddStreamState$ = dart.generic(T => { cancel: dart.fnType(async.Future$(dart.void), []), complete: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AddStreamState, I[29]); + dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); + dart.setLibraryUri(_AddStreamState, I[31]); dart.setFieldSignature(_AddStreamState, () => ({ __proto__: dart.getFields(_AddStreamState.__proto__), addStreamFuture: dart.finalFieldType(async._Future), @@ -32314,11 +35027,18 @@ async._AddStreamState = async._AddStreamState$(); dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); async._StreamControllerAddStreamState$ = dart.generic(T => { - class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + class _StreamControllerAddStreamState extends async._AddStreamState$(T) { + static ['_#new#tearOff'](T, controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); + return new (async._StreamControllerAddStreamState$(T)).new(controller, varData, source, cancelOnError); + } + } (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); - if (source == null) dart.nullFailed(I[64], 900, 17, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); this.varData = varData; _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); if (dart.test(controller.isPaused)) { @@ -32328,7 +35048,7 @@ async._StreamControllerAddStreamState$ = dart.generic(T => { dart.addTypeTests(_StreamControllerAddStreamState); _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), varData: dart.fieldType(dart.dynamic) @@ -32346,7 +35066,7 @@ async._EventSink$ = dart.generic(T => { dart.addTypeTests(_EventSink); _EventSink.prototype[_is__EventSink_default] = true; dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[29]); + dart.setLibraryUri(_EventSink, I[31]); return _EventSink; }); async._EventSink = async._EventSink$(); @@ -32360,186 +35080,11 @@ async._EventDispatch$ = dart.generic(T => { dart.addTypeTests(_EventDispatch); _EventDispatch.prototype[_is__EventDispatch_default] = true; dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[29]); + dart.setLibraryUri(_EventDispatch, I[31]); return _EventDispatch; }); async._EventDispatch = async._EventDispatch$(); dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); -var _isUsed = dart.privateName(async, "_isUsed"); -const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); -async._GeneratedStreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - class _GeneratedStreamImpl extends async._StreamImpl$(T) { - [_createSubscription](onData, onError, onDone, cancelOnError) { - let t115; - if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); - if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); - this[_isUsed] = true; - t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); - return (() => { - t115[_setPendingEvents](this[_pending$]()); - return t115; - })(); - } - } - (_GeneratedStreamImpl.new = function(_pending) { - if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); - this[_isUsed] = false; - this[_pending$] = _pending; - _GeneratedStreamImpl.__proto__.new.call(this); - ; - }).prototype = _GeneratedStreamImpl.prototype; - dart.addTypeTests(_GeneratedStreamImpl); - _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; - dart.addTypeCaches(_GeneratedStreamImpl); - dart.setLibraryUri(_GeneratedStreamImpl, I[29]); - dart.setFieldSignature(_GeneratedStreamImpl, () => ({ - __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), - [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), - [_isUsed]: dart.fieldType(core.bool) - })); - return _GeneratedStreamImpl; -}); -async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); -dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); -var _iterator = dart.privateName(async, "_iterator"); -var _eventScheduled = dart.privateName(async, "_eventScheduled"); -const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); -async._PendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _PendingEvents extends core.Object { - get isScheduled() { - return this[_state] === 1; - } - get [_eventScheduled]() { - return dart.notNull(this[_state]) >= 1; - } - schedule(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); - if (dart.test(this.isScheduled)) return; - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); - if (dart.test(this[_eventScheduled])) { - if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); - this[_state] = 1; - return; - } - async.scheduleMicrotask(dart.fn(() => { - let oldState = this[_state]; - this[_state] = 0; - if (oldState === 3) return; - this.handleNext(dispatch); - }, T$.VoidTovoid())); - this[_state] = 1; - } - cancelSchedule() { - if (dart.test(this.isScheduled)) this[_state] = 3; - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - ; - }).prototype = _PendingEvents.prototype; - dart.addTypeTests(_PendingEvents); - _PendingEvents.prototype[_is__PendingEvents_default] = true; - dart.addTypeCaches(_PendingEvents); - dart.setMethodSignature(_PendingEvents, () => ({ - __proto__: dart.getMethods(_PendingEvents.__proto__), - schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), - cancelSchedule: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool - })); - dart.setLibraryUri(_PendingEvents, I[29]); - dart.setFieldSignature(_PendingEvents, () => ({ - __proto__: dart.getFields(_PendingEvents.__proto__), - [_state]: dart.fieldType(core.int) - })); - return _PendingEvents; -}); -async._PendingEvents = async._PendingEvents$(); -dart.defineLazy(async._PendingEvents, { - /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { - return 0; - }, - /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { - return 1; - }, - /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { - return 3; - } -}, false); -dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); -const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); -async._IterablePendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _IterablePendingEvents extends async._PendingEvents$(T) { - get isEmpty() { - return this[_iterator] == null; - } - handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); - let iterator = this[_iterator]; - if (iterator == null) { - dart.throw(new core.StateError.new("No events pending.")); - } - let movedNext = false; - try { - if (dart.test(iterator.moveNext())) { - movedNext = true; - dispatch[_sendData](iterator.current); - } else { - this[_iterator] = null; - dispatch[_sendDone](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (!movedNext) { - this[_iterator] = C[20] || CT.C20; - } - dispatch[_sendError](e, s); - } else - throw e$; - } - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this[_iterator] = null; - } - } - (_IterablePendingEvents.new = function(data) { - if (data == null) dart.nullFailed(I[65], 519, 38, "data"); - this[_iterator] = data[$iterator]; - _IterablePendingEvents.__proto__.new.call(this); - ; - }).prototype = _IterablePendingEvents.prototype; - dart.addTypeTests(_IterablePendingEvents); - _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; - dart.addTypeCaches(_IterablePendingEvents); - dart.setMethodSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getMethods(_IterablePendingEvents.__proto__), - handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getGetters(_IterablePendingEvents.__proto__), - isEmpty: core.bool - })); - dart.setLibraryUri(_IterablePendingEvents, I[29]); - dart.setFieldSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getFields(_IterablePendingEvents.__proto__), - [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) - })); - return _IterablePendingEvents; -}); -async._IterablePendingEvents = async._IterablePendingEvents$(); -dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); async._DelayedEvent$ = dart.generic(T => { class _DelayedEvent extends core.Object {} @@ -32550,7 +35095,7 @@ async._DelayedEvent$ = dart.generic(T => { dart.addTypeTests(_DelayedEvent); _DelayedEvent.prototype[_is__DelayedEvent_default] = true; dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setLibraryUri(_DelayedEvent, I[31]); dart.setFieldSignature(_DelayedEvent, () => ({ __proto__: dart.getFields(_DelayedEvent.__proto__), next: dart.fieldType(dart.nullable(async._DelayedEvent)) @@ -32561,11 +35106,14 @@ async._DelayedEvent = async._DelayedEvent$(); dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); const _is__DelayedData_default = Symbol('_is__DelayedData_default'); async._DelayedData$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); class _DelayedData extends async._DelayedEvent$(T) { + static ['_#new#tearOff'](T, value) { + return new (async._DelayedData$(T)).new(value); + } perform(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); dispatch[_sendData](this.value); } } @@ -32581,7 +35129,7 @@ async._DelayedData$ = dart.generic(T => { __proto__: dart.getMethods(_DelayedData.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_DelayedData, I[29]); + dart.setLibraryUri(_DelayedData, I[31]); dart.setFieldSignature(_DelayedData, () => ({ __proto__: dart.getFields(_DelayedData.__proto__), value: dart.finalFieldType(T) @@ -32591,15 +35139,20 @@ async._DelayedData$ = dart.generic(T => { async._DelayedData = async._DelayedData$(); dart.addTypeTests(async._DelayedData, _is__DelayedData_default); async._DelayedError = class _DelayedError extends async._DelayedEvent { + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); + return new async._DelayedError.new(error, stackTrace); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 525, 31, "dispatch"); dispatch[_sendError](this.error, this.stackTrace); } }; (async._DelayedError.new = function(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 600, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); this.error = error; this.stackTrace = stackTrace; async._DelayedError.__proto__.new.call(this); @@ -32611,16 +35164,19 @@ dart.setMethodSignature(async._DelayedError, () => ({ __proto__: dart.getMethods(async._DelayedError.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(async._DelayedError, I[29]); +dart.setLibraryUri(async._DelayedError, I[31]); dart.setFieldSignature(async._DelayedError, () => ({ __proto__: dart.getFields(async._DelayedError.__proto__), error: dart.finalFieldType(core.Object), stackTrace: dart.finalFieldType(core.StackTrace) })); async._DelayedDone = class _DelayedDone extends core.Object { + static ['_#new#tearOff']() { + return new async._DelayedDone.new(); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 533, 31, "dispatch"); dispatch[_sendDone](); } get next() { @@ -32648,16 +35204,44 @@ dart.setSetterSignature(async._DelayedDone, () => ({ __proto__: dart.getSetters(async._DelayedDone.__proto__), next: dart.nullable(async._DelayedEvent) })); -dart.setLibraryUri(async._DelayedDone, I[29]); -const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); -async._StreamImplEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _StreamImplEvents extends async._PendingEvents$(T) { +dart.setLibraryUri(async._DelayedDone, I[31]); +var _eventScheduled = dart.privateName(async, "_eventScheduled"); +const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); +async._PendingEvents$ = dart.generic(T => { + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 579, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 581, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[68], 583, 14, "_state == stateCanceled"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } get isEmpty() { return this.lastPendingEvent == null; } add(event) { - if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + if (event == null) dart.nullFailed(I[68], 602, 26, "event"); let lastEvent = this.lastPendingEvent; if (lastEvent == null) { this.firstPendingEvent = this.lastPendingEvent = event; @@ -32666,10 +35250,10 @@ async._StreamImplEvents$ = dart.generic(T => { } } handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); - if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 611, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[68], 612, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 613, 12, "!isEmpty"); let event = dart.nullCheck(this.firstPendingEvent); let nextEvent = event.next; this.firstPendingEvent = nextEvent; @@ -32682,42 +35266,65 @@ async._StreamImplEvents$ = dart.generic(T => { if (dart.test(this.isScheduled)) this.cancelSchedule(); this.firstPendingEvent = this.lastPendingEvent = null; } + static ['_#new#tearOff'](T) { + return new (async._PendingEvents$(T)).new(); + } } - (_StreamImplEvents.new = function() { + (_PendingEvents.new = function() { + this[_state] = 0; this.firstPendingEvent = null; this.lastPendingEvent = null; - _StreamImplEvents.__proto__.new.call(this); ; - }).prototype = _StreamImplEvents.prototype; - dart.addTypeTests(_StreamImplEvents); - _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; - dart.addTypeCaches(_StreamImplEvents); - dart.setMethodSignature(_StreamImplEvents, () => ({ - __proto__: dart.getMethods(_StreamImplEvents.__proto__), + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [async._DelayedEvent]), handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); - dart.setGetterSignature(_StreamImplEvents, () => ({ - __proto__: dart.getGetters(_StreamImplEvents.__proto__), + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool, isEmpty: core.bool })); - dart.setLibraryUri(_StreamImplEvents, I[29]); - dart.setFieldSignature(_StreamImplEvents, () => ({ - __proto__: dart.getFields(_StreamImplEvents.__proto__), + dart.setLibraryUri(_PendingEvents, I[31]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int), firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) })); - return _StreamImplEvents; + dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); + return _PendingEvents; }); -async._StreamImplEvents = async._StreamImplEvents$(); -dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); +async._PendingEvents = async._PendingEvents$(); +dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents.stateUnscheduled*/get stateUnscheduled() { + return 0; + }, + /*async._PendingEvents.stateScheduled*/get stateScheduled() { + return 1; + }, + /*async._PendingEvents.stateCanceled*/get stateCanceled() { + return 3; + } +}, false); +dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); var _schedule = dart.privateName(async, "_schedule"); var _isSent = dart.privateName(async, "_isSent"); var _isScheduled = dart.privateName(async, "_isScheduled"); const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); async._DoneStreamSubscription$ = dart.generic(T => { class _DoneStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, _onDone) { + return new (async._DoneStreamSubscription$(T)).new(_onDone); + } get [_isSent]() { return (dart.notNull(this[_state]) & 1) !== 0; } @@ -32807,13 +35414,14 @@ async._DoneStreamSubscription$ = dart.generic(T => { [_isScheduled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setLibraryUri(_DoneStreamSubscription, I[31]); dart.setFieldSignature(_DoneStreamSubscription, () => ({ __proto__: dart.getFields(_DoneStreamSubscription.__proto__), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_DoneStreamSubscription, () => ['_DONE_SENT', '_SCHEDULED', '_PAUSED']); return _DoneStreamSubscription; }); async._DoneStreamSubscription = async._DoneStreamSubscription$(); @@ -32838,32 +35446,37 @@ var _resumeSubscription = dart.privateName(async, "_resumeSubscription"); var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); async._AsBroadcastStream$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$_AsBroadcastStreamControllerOfT = () => (__t$_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_BroadcastSubscriptionWrapperOfT = () => (__t$_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); class _AsBroadcastStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); + return new (async._AsBroadcastStream$(T)).new(_source, onListenHandler, onCancelHandler); + } get isBroadcast() { return true; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let controller = this[_controller$]; if (controller == null || dart.test(controller.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(__t$TTovoid().as(dart.bind(controller, 'add')), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_onCancel]() { let controller = this[_controller$]; let shutdown = controller == null || dart.test(controller.isClosed); let cancelHandler = this[_onCancelHandler]; if (cancelHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } if (shutdown) { let subscription = this[_subscription]; @@ -32876,7 +35489,7 @@ async._AsBroadcastStream$ = dart.generic(T => { [_onListen$]() { let listenHandler = this[_onListenHandler]; if (listenHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } } [_cancelSubscription]() { @@ -32888,31 +35501,31 @@ async._AsBroadcastStream$ = dart.generic(T => { } } [_pauseSubscription](resumeSignal) { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(resumeSignal); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(resumeSignal); } [_resumeSubscription]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } get [_isSubscriptionPaused]() { - let t116, t116$; - t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); - return t116$ == null ? false : t116$; + let t101, t101$; + t101$ = (t101 = this[_subscription], t101 == null ? null : t101.isPaused); + return t101$ == null ? false : t101$; } } (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { - if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); this[_controller$] = null; this[_subscription] = null; this[_source$4] = _source; - this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); - this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onCancelHandler); this[_zone$] = async.Zone.current; _AsBroadcastStream.__proto__.new.call(this); - this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + this[_controller$] = new (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); }).prototype = _AsBroadcastStream.prototype; dart.addTypeTests(_AsBroadcastStream); _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; @@ -32930,7 +35543,7 @@ async._AsBroadcastStream$ = dart.generic(T => { __proto__: dart.getGetters(_AsBroadcastStream.__proto__), [_isSubscriptionPaused]: core.bool })); - dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setLibraryUri(_AsBroadcastStream, I[31]); dart.setFieldSignature(_AsBroadcastStream, () => ({ __proto__: dart.getFields(_AsBroadcastStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(T)), @@ -32947,6 +35560,10 @@ dart.addTypeTests(async._AsBroadcastStream, _is__AsBroadcastStream_default); const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); async._BroadcastSubscriptionWrapper$ = dart.generic(T => { class _BroadcastSubscriptionWrapper extends core.Object { + static ['_#new#tearOff'](T, _stream) { + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); + return new (async._BroadcastSubscriptionWrapper$(T)).new(_stream); + } onData(handleData) { dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); } @@ -32974,7 +35591,7 @@ async._BroadcastSubscriptionWrapper$ = dart.generic(T => { } } (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); this[_stream$] = _stream; ; }).prototype = _BroadcastSubscriptionWrapper.prototype; @@ -32997,7 +35614,7 @@ async._BroadcastSubscriptionWrapper$ = dart.generic(T => { __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), isPaused: core.bool })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), [_stream$]: dart.finalFieldType(async._AsBroadcastStream) @@ -33011,8 +35628,12 @@ var _stateData = dart.privateName(async, "_stateData"); var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); async._StreamIterator$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamIterator extends core.Object { + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } get current() { if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); return T.as(null); @@ -33032,13 +35653,13 @@ async._StreamIterator$ = dart.generic(T => { return this[_initializeOrDone](); } [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); let stateData = this[_stateData]; if (stateData != null) { - let stream = StreamOfT().as(stateData); + let stream = __t$StreamOfT().as(stateData); let future = new (T$._FutureOfbool()).new(); this[_stateData] = future; - let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError$), onDone: dart.bind(this, _onDone$), cancelOnError: true}); if (this[_stateData] != null) { this[_subscription] = subscription; } @@ -33063,7 +35684,7 @@ async._StreamIterator$ = dart.generic(T => { return async.Future._nullFuture; } [_onData$](data) { - let t116; + let t101; T.as(data); if (this[_subscription] == null) return; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); @@ -33071,13 +35692,13 @@ async._StreamIterator$ = dart.generic(T => { this[_hasValue$0] = true; moveNextFuture[_complete](true); if (dart.test(this[_hasValue$0])) { - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } } - [_onError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + [_onError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 981, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 981, 42, "stackTrace"); let subscription = this[_subscription]; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); this[_subscription] = null; @@ -33101,7 +35722,7 @@ async._StreamIterator$ = dart.generic(T => { } } (_StreamIterator.new = function(stream) { - if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); this[_subscription] = null; this[_hasValue$0] = false; this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); @@ -33117,14 +35738,14 @@ async._StreamIterator$ = dart.generic(T => { [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), cancel: dart.fnType(async.Future, []), [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_onDone$]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_StreamIterator, () => ({ __proto__: dart.getGetters(_StreamIterator.__proto__), current: T })); - dart.setLibraryUri(_StreamIterator, I[29]); + dart.setLibraryUri(_StreamIterator, I[31]); dart.setFieldSignature(_StreamIterator, () => ({ __proto__: dart.getFields(_StreamIterator.__proto__), [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), @@ -33137,8 +35758,11 @@ async._StreamIterator = async._StreamIterator$(); dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); async._EmptyStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); class _EmptyStream extends async.Stream$(T) { + static ['_#new#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } get isBroadcast() { return true; } @@ -33146,7 +35770,7 @@ async._EmptyStream$ = dart.generic(T => { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } } (_EmptyStream.new = function() { @@ -33160,7 +35784,7 @@ async._EmptyStream$ = dart.generic(T => { __proto__: dart.getMethods(_EmptyStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EmptyStream, I[29]); + dart.setLibraryUri(_EmptyStream, I[31]); return _EmptyStream; }); async._EmptyStream = async._EmptyStream$(); @@ -33168,7 +35792,7 @@ dart.addTypeTests(async._EmptyStream, _is__EmptyStream_default); var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); const _is__MultiStream_default = Symbol('_is__MultiStream_default'); async._MultiStream$ = dart.generic(T => { - var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + var __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); class _MultiStream extends async.Stream$(T) { get isBroadcast() { return this[isBroadcast$]; @@ -33176,23 +35800,28 @@ async._MultiStream$ = dart.generic(T => { set isBroadcast(value) { super.isBroadcast = value; } + static ['_#new#tearOff'](T, _onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); + return new (async._MultiStream$(T)).new(_onListen, isBroadcast); + } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let controller = new (_MultiStreamControllerOfT()).new(); + let controller = new (__t$_MultiStreamControllerOfT()).new(); controller.onListen = dart.fn(() => { - let t116; - t116 = controller; - this[_onListen$](t116); + let t101; + t101 = controller; + this[_onListen$](t101); }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } } (_MultiStream.new = function(_onListen, isBroadcast) { - if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); - if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); this[_onListen$] = _onListen; this[isBroadcast$] = isBroadcast; _MultiStream.__proto__.new.call(this); @@ -33205,7 +35834,7 @@ async._MultiStream$ = dart.generic(T => { __proto__: dart.getMethods(_MultiStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_MultiStream, I[29]); + dart.setLibraryUri(_MultiStream, I[31]); dart.setFieldSignature(_MultiStream, () => ({ __proto__: dart.getFields(_MultiStream.__proto__), isBroadcast: dart.finalFieldType(core.bool), @@ -33218,17 +35847,20 @@ dart.addTypeTests(async._MultiStream, _is__MultiStream_default); const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); async._MultiStreamController$ = dart.generic(T => { class _MultiStreamController extends async._AsyncStreamController$(T) { + static ['_#new#tearOff'](T) { + return new (async._MultiStreamController$(T)).new(); + } addSync(data) { T.as(data); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) this[_subscription][_add](data); } addErrorSync(error, stackTrace = null) { - let t116; - if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + let t101; + if (error == null) dart.nullFailed(I[68], 1047, 28, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) { - this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + this[_subscription][_addError](error, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); } } closeSync() { @@ -33255,7 +35887,7 @@ async._MultiStreamController$ = dart.generic(T => { addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), closeSync: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_MultiStreamController, I[29]); + dart.setLibraryUri(_MultiStreamController, I[31]); return _MultiStreamController; }); async._MultiStreamController = async._MultiStreamController$(); @@ -33264,38 +35896,38 @@ var _handleError$ = dart.privateName(async, "_handleError"); var _handleDone$ = dart.privateName(async, "_handleDone"); const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); async._ForwardingStream$ = dart.generic((S, T) => { - var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); - var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + var __t$_ForwardingStreamSubscriptionOfS$T = () => (__t$_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var __t$_EventSinkOfT = () => (__t$_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); class _ForwardingStream extends async.Stream$(T) { get isBroadcast() { return this[_source$4].isBroadcast; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return this[_createSubscription](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); - return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[73], 85, 47, "cancelOnError"); + return new (__t$_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 94, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + if (error == null) dart.nullFailed(I[73], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 94, 46, "stackTrace"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 94, 72, "sink"); sink[_addError](error, stackTrace); } [_handleDone$](sink) { - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 98, 34, "sink"); sink[_close](); } } (_ForwardingStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + if (_source == null) dart.nullFailed(I[73], 75, 26, "_source"); this[_source$4] = _source; _ForwardingStream.__proto__.new.call(this); ; @@ -33310,7 +35942,7 @@ async._ForwardingStream$ = dart.generic((S, T) => { [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setLibraryUri(_ForwardingStream, I[31]); dart.setFieldSignature(_ForwardingStream, () => ({ __proto__: dart.getFields(_ForwardingStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(S)) @@ -33323,26 +35955,31 @@ var _handleData$ = dart.privateName(async, "_handleData"); const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); async._ForwardingStreamSubscription$ = dart.generic((S, T) => { class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](S, T, _stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); + return new (async._ForwardingStreamSubscription$(S, T)).new(_stream, onData, onError, onDone, cancelOnError); + } [_add](data) { T.as(data); if (dart.test(this[_isClosed])) return; super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[70], 126, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 126, 43, "stackTrace"); if (dart.test(this[_isClosed])) return; super[_addError](error, stackTrace); } [_onPause]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } [_onResume]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -33357,7 +35994,7 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { this[_stream$][_handleData$](data, this); } [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); } [_handleDone$]() { @@ -33365,8 +36002,8 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { } } (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { - if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); this[_subscription] = null; this[_stream$] = _stream; _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); @@ -33381,7 +36018,7 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_handleDone$]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), @@ -33391,16 +36028,21 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { }); async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); -var _test = dart.privateName(async, "_test"); +var _test$ = dart.privateName(async, "_test"); const _is__WhereStream_default = Symbol('_is__WhereStream_default'); async._WhereStream$ = dart.generic(T => { class _WhereStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + return new (async._WhereStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t116; - if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let t101; + if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); let satisfies = null; try { - satisfies = (t116 = inputEvent, this[_test](t116)); + satisfies = (t101 = inputEvent, this[_test$](t101)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33416,9 +36058,9 @@ async._WhereStream$ = dart.generic(T => { } } (_WhereStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 182, 26, "source"); - if (test == null) dart.nullFailed(I[70], 182, 39, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + this[_test$] = test; _WhereStream.__proto__.new.call(this, source); ; }).prototype = _WhereStream.prototype; @@ -33429,10 +36071,10 @@ async._WhereStream$ = dart.generic(T => { __proto__: dart.getMethods(_WhereStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_WhereStream, I[29]); + dart.setLibraryUri(_WhereStream, I[31]); dart.setFieldSignature(_WhereStream, () => ({ __proto__: dart.getFields(_WhereStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _WhereStream; }); @@ -33442,12 +36084,17 @@ var _transform = dart.privateName(async, "_transform"); const _is__MapStream_default = Symbol('_is__MapStream_default'); async._MapStream$ = dart.generic((S, T) => { class _MapStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, transform) { + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); + return new (async._MapStream$(S, T)).new(source, transform); + } [_handleData$](inputEvent, sink) { - let t117; - if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let t102; + if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); let outputEvent = null; try { - outputEvent = (t117 = inputEvent, this[_transform](t117)); + outputEvent = (t102 = inputEvent, this[_transform](t102)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33461,8 +36108,8 @@ async._MapStream$ = dart.generic((S, T) => { } } (_MapStream.new = function(source, transform) { - if (source == null) dart.nullFailed(I[70], 206, 24, "source"); - if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); this[_transform] = transform; _MapStream.__proto__.new.call(this, source); ; @@ -33474,7 +36121,7 @@ async._MapStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_MapStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_MapStream, I[29]); + dart.setLibraryUri(_MapStream, I[31]); dart.setFieldSignature(_MapStream, () => ({ __proto__: dart.getFields(_MapStream.__proto__), [_transform]: dart.finalFieldType(dart.fnType(T, [S])) @@ -33487,11 +36134,16 @@ var _expand = dart.privateName(async, "_expand"); const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); async._ExpandStream$ = dart.generic((S, T) => { class _ExpandStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, expand) { + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); + return new (async._ExpandStream$(S, T)).new(source, expand); + } [_handleData$](inputEvent, sink) { - let t118; - if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + let t103; + if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); try { - for (let value of (t118 = inputEvent, this[_expand](t118))) { + for (let value of (t103 = inputEvent, this[_expand](t103))) { sink[_add](value); } } catch (e$) { @@ -33505,8 +36157,8 @@ async._ExpandStream$ = dart.generic((S, T) => { } } (_ExpandStream.new = function(source, expand) { - if (source == null) dart.nullFailed(I[70], 226, 27, "source"); - if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); this[_expand] = expand; _ExpandStream.__proto__.new.call(this, source); ; @@ -33518,7 +36170,7 @@ async._ExpandStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_ExpandStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_ExpandStream, I[29]); + dart.setLibraryUri(_ExpandStream, I[31]); dart.setFieldSignature(_ExpandStream, () => ({ __proto__: dart.getFields(_ExpandStream.__proto__), [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) @@ -33530,16 +36182,22 @@ dart.addTypeTests(async._ExpandStream, _is__ExpandStream_default); const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); async._HandleErrorStream$ = dart.generic(T => { class _HandleErrorStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + return new (async._HandleErrorStream$(T)).new(source, _onError, _test); + } [_handleData$](data, sink) { - if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + if (sink == null) dart.nullFailed(I[73], 252, 42, "sink"); sink[_add](data); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 259, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); - if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let t106, t105; + if (error == null) dart.nullFailed(I[73], 256, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 256, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 256, 72, "sink"); let matches = true; - let test = this[_test]; + let test = this[_test$]; if (test != null) { try { matches = test(error); @@ -33555,7 +36213,9 @@ async._HandleErrorStream$ = dart.generic(T => { } if (dart.test(matches)) { try { - async._invokeErrorHandler(this[_transform], error, stackTrace); + t105 = error; + t106 = stackTrace; + this[_onError$](t105, t106); } catch (e$0) { let e = dart.getThrown(e$0); let s = dart.stackTrace(e$0); @@ -33574,11 +36234,11 @@ async._HandleErrorStream$ = dart.generic(T => { } } } - (_HandleErrorStream.new = function(source, onError, test) { - if (source == null) dart.nullFailed(I[70], 250, 17, "source"); - if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); - this[_transform] = onError; - this[_test] = test; + (_HandleErrorStream.new = function(source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + this[_onError$] = _onError; + this[_test$] = _test; _HandleErrorStream.__proto__.new.call(this, source); ; }).prototype = _HandleErrorStream.prototype; @@ -33590,11 +36250,11 @@ async._HandleErrorStream$ = dart.generic(T => { [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) })); - dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setLibraryUri(_HandleErrorStream, I[31]); dart.setFieldSignature(_HandleErrorStream, () => ({ __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_transform]: dart.finalFieldType(core.Function), - [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), + [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) })); return _HandleErrorStream; }); @@ -33604,20 +36264,25 @@ var _count = dart.privateName(async, "_count"); var _subState = dart.privateName(async, "_subState"); const _is__TakeStream_default = Symbol('_is__TakeStream_default'); async._TakeStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _TakeStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); + return new (async._TakeStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[73], 292, 47, "cancelOnError"); if (this[_count] === 0) { this[_source$4].listen(null).cancel(); - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 301, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { sink[_add](inputEvent); @@ -33630,8 +36295,8 @@ async._TakeStream$ = dart.generic(T => { } } (_TakeStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 290, 25, "source"); - if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); this[_count] = count; _TakeStream.__proto__.new.call(this, source); ; @@ -33643,7 +36308,7 @@ async._TakeStream$ = dart.generic(T => { __proto__: dart.getMethods(_TakeStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeStream, I[29]); + dart.setLibraryUri(_TakeStream, I[31]); dart.setFieldSignature(_TakeStream, () => ({ __proto__: dart.getFields(_TakeStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33662,10 +36327,15 @@ async._StateStreamSubscription$ = dart.generic((S, T) => { set [_subState](value) { this[_subState$] = S.as(value); } + static ['_#new#tearOff'](S, T, stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); + return new (async._StateStreamSubscription$(S, T)).new(stream, onData, onError, onDone, cancelOnError, _subState); + } } (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { - if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); this[_subState$] = _subState; _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); ; @@ -33673,7 +36343,7 @@ async._StateStreamSubscription$ = dart.generic((S, T) => { dart.addTypeTests(_StateStreamSubscription); _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setLibraryUri(_StateStreamSubscription, I[31]); dart.setFieldSignature(_StateStreamSubscription, () => ({ __proto__: dart.getFields(_StateStreamSubscription.__proto__), [_subState]: dart.fieldType(S) @@ -33685,12 +36355,17 @@ dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_d const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); async._TakeWhileStream$ = dart.generic(T => { class _TakeWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + return new (async._TakeWhileStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t121; - if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let t106; + if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); let satisfies = null; try { - satisfies = (t121 = inputEvent, this[_test](t121)); + satisfies = (t106 = inputEvent, this[_test$](t106)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33709,9 +36384,9 @@ async._TakeWhileStream$ = dart.generic(T => { } } (_TakeWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 335, 30, "source"); - if (test == null) dart.nullFailed(I[70], 335, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + this[_test$] = test; _TakeWhileStream.__proto__.new.call(this, source); ; }).prototype = _TakeWhileStream.prototype; @@ -33722,10 +36397,10 @@ async._TakeWhileStream$ = dart.generic(T => { __proto__: dart.getMethods(_TakeWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setLibraryUri(_TakeWhileStream, I[31]); dart.setFieldSignature(_TakeWhileStream, () => ({ __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _TakeWhileStream; }); @@ -33733,15 +36408,20 @@ async._TakeWhileStream = async._TakeWhileStream$(); dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); const _is__SkipStream_default = Symbol('_is__SkipStream_default'); async._SkipStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _SkipStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); + return new (async._SkipStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + if (cancelOnError == null) dart.nullFailed(I[73], 366, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 371, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { subscription[_subState] = dart.notNull(count) - 1; @@ -33751,8 +36431,8 @@ async._SkipStream$ = dart.generic(T => { } } (_SkipStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 360, 25, "source"); - if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); this[_count] = count; _SkipStream.__proto__.new.call(this, source); core.RangeError.checkNotNegative(count, "count"); @@ -33764,7 +36444,7 @@ async._SkipStream$ = dart.generic(T => { __proto__: dart.getMethods(_SkipStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipStream, I[29]); + dart.setLibraryUri(_SkipStream, I[31]); dart.setFieldSignature(_SkipStream, () => ({ __proto__: dart.getFields(_SkipStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33775,16 +36455,21 @@ async._SkipStream = async._SkipStream$(); dart.addTypeTests(async._SkipStream, _is__SkipStream_default); const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); async._SkipWhileStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + var __t$_StateStreamSubscriptionOfbool$T = () => (__t$_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); class _SkipWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + return new (async._SkipWhileStream$(T)).new(source, test); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + if (cancelOnError == null) dart.nullFailed(I[73], 390, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); } [_handleData$](inputEvent, sink) { - let t122; - if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); - let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let t107; + if (sink == null) dart.nullFailed(I[73], 395, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfbool$T().as(sink); let hasFailed = subscription[_subState]; if (dart.test(hasFailed)) { sink[_add](inputEvent); @@ -33792,7 +36477,7 @@ async._SkipWhileStream$ = dart.generic(T => { } let satisfies = null; try { - satisfies = (t122 = inputEvent, this[_test](t122)); + satisfies = (t107 = inputEvent, this[_test$](t107)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33810,9 +36495,9 @@ async._SkipWhileStream$ = dart.generic(T => { } } (_SkipWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 388, 30, "source"); - if (test == null) dart.nullFailed(I[70], 388, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + this[_test$] = test; _SkipWhileStream.__proto__.new.call(this, source); ; }).prototype = _SkipWhileStream.prototype; @@ -33823,10 +36508,10 @@ async._SkipWhileStream$ = dart.generic(T => { __proto__: dart.getMethods(_SkipWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setLibraryUri(_SkipWhileStream, I[31]); dart.setFieldSignature(_SkipWhileStream, () => ({ __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _SkipWhileStream; }); @@ -33835,15 +36520,19 @@ dart.addTypeTests(async._SkipWhileStream, _is__SkipWhileStream_default); var _equals = dart.privateName(async, "_equals"); const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); async._DistinctStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + var __t$_StateStreamSubscriptionOfObjectN$T = () => (__t$_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); class _DistinctStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, equals) { + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); + return new (async._DistinctStream$(T)).new(source, equals); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + if (cancelOnError == null) dart.nullFailed(I[73], 428, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); - let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 433, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfObjectN$T().as(sink); let previous = subscription[_subState]; if (core.identical(previous, async._DistinctStream._SENTINEL)) { subscription[_subState] = inputEvent; @@ -33875,7 +36564,7 @@ async._DistinctStream$ = dart.generic(T => { } } (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); this[_equals] = equals; _DistinctStream.__proto__.new.call(this, source); ; @@ -33887,11 +36576,12 @@ async._DistinctStream$ = dart.generic(T => { __proto__: dart.getMethods(_DistinctStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_DistinctStream, I[29]); + dart.setLibraryUri(_DistinctStream, I[31]); dart.setFieldSignature(_DistinctStream, () => ({ __proto__: dart.getFields(_DistinctStream.__proto__), [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) })); + dart.setStaticFieldSignature(_DistinctStream, () => ['_SENTINEL']); return _DistinctStream; }); async._DistinctStream = async._DistinctStream$(); @@ -33904,21 +36594,25 @@ dart.addTypeTests(async._DistinctStream, _is__DistinctStream_default); const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); async._EventSinkWrapper$ = dart.generic(T => { class _EventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); + return new (async._EventSinkWrapper$(T)).new(_sink); + } add(data) { T.as(data); this[_sink$][_add](data); } addError(error, stackTrace = null) { - let t124; - if (error == null) dart.nullFailed(I[71], 16, 24, "error"); - this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + let t109; + if (error == null) dart.nullFailed(I[74], 16, 24, "error"); + this[_sink$][_addError](error, (t109 = stackTrace, t109 == null ? async.AsyncError.defaultStackTrace(error) : t109)); } close() { this[_sink$][_close](); } } (_EventSinkWrapper.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); this[_sink$] = _sink; ; }).prototype = _EventSinkWrapper.prototype; @@ -33932,7 +36626,7 @@ async._EventSinkWrapper$ = dart.generic(T => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setLibraryUri(_EventSinkWrapper, I[31]); dart.setFieldSignature(_EventSinkWrapper, () => ({ __proto__: dart.getFields(_EventSinkWrapper.__proto__), [_sink$]: dart.fieldType(async._EventSink$(T)) @@ -33946,16 +36640,22 @@ var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateNa var _transformerSink = dart.privateName(async, "_transformerSink"); const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { get [_transformerSink]() { - let t124; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + let t109; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); } - set [_transformerSink](t124) { - if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + set [_transformerSink](_transformerSink$35param) { + if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - this[___SinkTransformerStreamSubscription__transformerSink] = t124; + this[___SinkTransformerStreamSubscription__transformerSink] = _transformerSink$35param; + } + static ['_#new#tearOff'](S, T, source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); + return new (async._SinkTransformerStreamSubscription$(S, T)).new(source, mapper, onData, onError, onDone, cancelOnError); } [_add](data) { if (dart.test(this[_isClosed])) { @@ -33964,8 +36664,8 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 71, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 71, 43, "stackTrace"); if (dart.test(this[_isClosed])) { dart.throw(new core.StateError.new("Stream is already closed")); } @@ -33978,14 +36678,14 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { super[_close](); } [_onPause]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.pause(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.pause(); } [_onResume]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.resume(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -34009,8 +36709,8 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { } } [_handleError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 117, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 117, 46, "stackTrace"); try { this[_transformerSink].addError(error, stackTrace); } catch (e$) { @@ -34041,14 +36741,14 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { } } (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { - if (source == null) dart.nullFailed(I[71], 39, 17, "source"); - if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); - if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); this[___SinkTransformerStreamSubscription__transformerSink] = null; this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; this[_subscription] = null; _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_transformerSink] = mapper(new (__t$_EventSinkWrapperOfT()).new(this)); this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); }).prototype = _SinkTransformerStreamSubscription.prototype; dart.addTypeTests(_SinkTransformerStreamSubscription); @@ -34069,7 +36769,7 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), [_transformerSink]: async.EventSink$(S) })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), @@ -34084,8 +36784,8 @@ var _sinkMapper$ = dart.privateName(async, "_StreamSinkTransformer._sinkMapper") var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); async._StreamSinkTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSinkStreamOfS$T = () => (__t$_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { get [_sinkMapper$0]() { return this[_sinkMapper$]; @@ -34093,14 +36793,18 @@ async._StreamSinkTransformer$ = dart.generic((S, T) => { set [_sinkMapper$0](value) { super[_sinkMapper$0] = value; } + static ['_#new#tearOff'](S, T, _sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); + return new (async._StreamSinkTransformer$(S, T)).new(_sinkMapper); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); - return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 151, 28, "stream"); + return new (__t$_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); } } (_StreamSinkTransformer.new = function(_sinkMapper) { - if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); this[_sinkMapper$] = _sinkMapper; _StreamSinkTransformer.__proto__.new.call(this); ; @@ -34112,7 +36816,7 @@ async._StreamSinkTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setLibraryUri(_StreamSinkTransformer, I[31]); dart.setFieldSignature(_StreamSinkTransformer, () => ({ __proto__: dart.getFields(_StreamSinkTransformer.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) @@ -34123,23 +36827,28 @@ async._StreamSinkTransformer = async._StreamSinkTransformer$(); dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); async._BoundSinkStream$ = dart.generic((S, T) => { - var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + var __t$_SinkTransformerStreamSubscriptionOfS$T = () => (__t$_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); class _BoundSinkStream extends async.Stream$(T) { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); + return new (async._BoundSinkStream$(S, T)).new(_stream, _sinkMapper); + } listen(onData, opts) { - let t128; + let t112; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + let subscription = new (__t$_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t112 = cancelOnError, t112 == null ? false : t112)); return subscription; } } (_BoundSinkStream.new = function(_stream, _sinkMapper) { - if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); - if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); this[_stream$] = _stream; this[_sinkMapper$0] = _sinkMapper; _BoundSinkStream.__proto__.new.call(this); @@ -34152,7 +36861,7 @@ async._BoundSinkStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_BoundSinkStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setLibraryUri(_BoundSinkStream, I[31]); dart.setFieldSignature(_BoundSinkStream, () => ({ __proto__: dart.getFields(_BoundSinkStream.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), @@ -34165,6 +36874,10 @@ dart.addTypeTests(async._BoundSinkStream, _is__BoundSinkStream_default); const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); async._HandlerEventSink$ = dart.generic((S, T) => { class _HandlerEventSink extends core.Object { + static ['_#new#tearOff'](S, T, _handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); + return new (async._HandlerEventSink$(S, T)).new(_handleData, _handleError, _handleDone, _sink); + } add(data) { S.as(data); let sink = this[_sink$]; @@ -34179,7 +36892,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { } } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + if (error == null) dart.nullFailed(I[74], 215, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); let sink = this[_sink$]; if (sink == null) { @@ -34206,7 +36919,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { } } (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); this[_handleData$] = _handleData; this[_handleError$] = _handleError; this[_handleDone$] = _handleDone; @@ -34223,7 +36936,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setLibraryUri(_HandlerEventSink, I[31]); dart.setFieldSignature(_HandlerEventSink, () => ({ __proto__: dart.getFields(_HandlerEventSink.__proto__), [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), @@ -34237,14 +36950,20 @@ async._HandlerEventSink = async._HandlerEventSink$(); dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); async._StreamHandlerTransformer$ = dart.generic((S, T) => { - var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); - var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_HandlerEventSinkOfS$T = () => (__t$_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var __t$EventSinkOfTTo_HandlerEventSinkOfS$T = () => (__t$EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(__t$_HandlerEventSinkOfS$T(), [__t$EventSinkOfT()])))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + static ['_#new#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); return super.bind(stream); } } @@ -34253,15 +36972,15 @@ async._StreamHandlerTransformer$ = dart.generic((S, T) => { let handleError = opts && 'handleError' in opts ? opts.handleError : null; let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); - return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); - }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + if (outputSink == null) dart.nullFailed(I[74], 251, 29, "outputSink"); + return new (__t$_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, __t$EventSinkOfTTo_HandlerEventSinkOfS$T())); ; }).prototype = _StreamHandlerTransformer.prototype; dart.addTypeTests(_StreamHandlerTransformer); _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; dart.addTypeCaches(_StreamHandlerTransformer); - dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + dart.setLibraryUri(_StreamHandlerTransformer, I[31]); return _StreamHandlerTransformer; }); async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); @@ -34269,18 +36988,22 @@ dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer var _bind$ = dart.privateName(async, "_bind"); const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); async._StreamBindTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + static ['_#new#tearOff'](S, T, _bind) { + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); + return new (async._StreamBindTransformer$(S, T)).new(_bind); + } bind(stream) { - let t128; - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); - t128 = stream; - return this[_bind$](t128); + let t112; + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 266, 28, "stream"); + t112 = stream; + return this[_bind$](t112); } } (_StreamBindTransformer.new = function(_bind) { - if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); this[_bind$] = _bind; _StreamBindTransformer.__proto__.new.call(this); ; @@ -34292,7 +37015,7 @@ async._StreamBindTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamBindTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setLibraryUri(_StreamBindTransformer, I[31]); dart.setFieldSignature(_StreamBindTransformer, () => ({ __proto__: dart.getFields(_StreamBindTransformer.__proto__), [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) @@ -34304,8 +37027,8 @@ dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_defau var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSubscriptionStreamOfS$T = () => (__t$_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { get [_onListen$]() { return this[_onListen$0]; @@ -34313,14 +37036,18 @@ async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { set [_onListen$](value) { super[_onListen$] = value; } + static ['_#new#tearOff'](S, T, _onListen) { + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(_onListen); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); - return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 288, 28, "stream"); + return new (__t$_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); } } (_StreamSubscriptionTransformer.new = function(_onListen) { - if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); this[_onListen$0] = _onListen; _StreamSubscriptionTransformer.__proto__.new.call(this); ; @@ -34332,7 +37059,7 @@ async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[31]); dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) @@ -34347,12 +37074,17 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _onListen) { + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); + return new (async._BoundSubscriptionStream$(S, T)).new(_stream, _onListen); + } listen(onData, opts) { - let t128, t129, t128$; + let t112, t113, t112$; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + let result = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); result.onData(onData); result.onError(onError); result.onDone(onDone); @@ -34360,8 +37092,8 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { } } (_BoundSubscriptionStream.new = function(_stream, _onListen) { - if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); - if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); this[_stream$] = _stream; this[_onListen$] = _onListen; _BoundSubscriptionStream.__proto__.new.call(this); @@ -34374,7 +37106,7 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setLibraryUri(_BoundSubscriptionStream, I[31]); dart.setFieldSignature(_BoundSubscriptionStream, () => ({ __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), @@ -34386,36 +37118,46 @@ async._BoundSubscriptionStream = async._BoundSubscriptionStream$(); dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); async.Timer = class Timer extends core.Object { static new(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); - if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createTimer(duration, callback); } return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); } + static ['_#new#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); + return async.Timer.new(duration, callback); + } static periodic(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); - if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createPeriodicTimer(duration, callback); } let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); return async.Zone.current.createPeriodicTimer(duration, boundCallback); } + static ['_#periodic#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); + return async.Timer.periodic(duration, callback); + } static run(callback) { - if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + if (callback == null) dart.nullFailed(I[75], 109, 35, "callback"); async.Timer.new(core.Duration.zero, callback); } static _createTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); - if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + if (duration == null) dart.nullFailed(I[64], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[64], 183, 64, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.new(milliseconds, callback); } static _createPeriodicTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); - if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + if (duration == null) dart.nullFailed(I[64], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[64], 191, 31, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); @@ -34425,7 +37167,8 @@ async.Timer = class Timer extends core.Object { }).prototype = async.Timer.prototype; dart.addTypeTests(async.Timer); dart.addTypeCaches(async.Timer); -dart.setLibraryUri(async.Timer, I[29]); +dart.setStaticMethodSignature(async.Timer, () => ['new', 'periodic', 'run', '_createTimer', '_createPeriodicTimer']); +dart.setLibraryUri(async.Timer, I[31]); var zone$ = dart.privateName(async, "_ZoneFunction.zone"); var $function$0 = dart.privateName(async, "_ZoneFunction.function"); const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); @@ -34443,10 +37186,15 @@ async._ZoneFunction$ = dart.generic(T => { set function(value) { super.function = value; } + static ['_#new#tearOff'](T, zone, $function) { + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); + return new (async._ZoneFunction$(T)).new(zone, $function); + } } (_ZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); - if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); this[zone$] = zone; this[$function$0] = $function; ; @@ -34454,7 +37202,7 @@ async._ZoneFunction$ = dart.generic(T => { dart.addTypeTests(_ZoneFunction); _ZoneFunction.prototype[_is__ZoneFunction_default] = true; dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setLibraryUri(_ZoneFunction, I[31]); dart.setFieldSignature(_ZoneFunction, () => ({ __proto__: dart.getFields(_ZoneFunction.__proto__), zone: dart.finalFieldType(async._Zone), @@ -34464,196 +37212,26 @@ async._ZoneFunction$ = dart.generic(T => { }); async._ZoneFunction = async._ZoneFunction$(); dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); -var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); -var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); -async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$0]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$1]; - } - set function(value) { - super.function = value; - } -}; -(async._RunNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); - if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); - this[zone$0] = zone; - this[$function$1] = $function; - ; -}).prototype = async._RunNullaryZoneFunction.prototype; -dart.addTypeTests(async._RunNullaryZoneFunction); -dart.addTypeCaches(async._RunNullaryZoneFunction); -dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) -})); -var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); -var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); -async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$1]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$2]; - } - set function(value) { - super.function = value; - } -}; -(async._RunUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); - if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); - this[zone$1] = zone; - this[$function$2] = $function; - ; -}).prototype = async._RunUnaryZoneFunction.prototype; -dart.addTypeTests(async._RunUnaryZoneFunction); -dart.addTypeCaches(async._RunUnaryZoneFunction); -dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); -var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); -async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$2]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$3]; - } - set function(value) { - super.function = value; - } -}; -(async._RunBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); - if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); - this[zone$2] = zone; - this[$function$3] = $function; - ; -}).prototype = async._RunBinaryZoneFunction.prototype; -dart.addTypeTests(async._RunBinaryZoneFunction); -dart.addTypeCaches(async._RunBinaryZoneFunction); -dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); -var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); -async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$3]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$4]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); - if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); - this[zone$3] = zone; - this[$function$4] = $function; - ; -}).prototype = async._RegisterNullaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterNullaryZoneFunction); -dart.addTypeCaches(async._RegisterNullaryZoneFunction); -dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) -})); -var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); -var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); -async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$4]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$5]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); - if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); - this[zone$4] = zone; - this[$function$5] = $function; - ; -}).prototype = async._RegisterUnaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterUnaryZoneFunction); -dart.addTypeCaches(async._RegisterUnaryZoneFunction); -dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); -var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); -async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$5]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$6]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); - if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); - this[zone$5] = zone; - this[$function$6] = $function; - ; -}).prototype = async._RegisterBinaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterBinaryZoneFunction); -dart.addTypeCaches(async._RegisterBinaryZoneFunction); -dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) -})); async.ZoneSpecification = class ZoneSpecification extends core.Object { + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } static from(other, opts) { - let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; - if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let t112, t112$, t112$0, t112$1, t112$2, t112$3, t112$4, t112$5, t112$6, t112$7, t112$8, t112$9, t112$10; + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; let run = opts && 'run' in opts ? opts.run : null; let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; @@ -34667,14 +37245,33 @@ async.ZoneSpecification = class ZoneSpecification extends core.Object { let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; let print = opts && 'print' in opts ? opts.print : null; let fork = opts && 'fork' in opts ? opts.fork : null; - return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + return new async._ZoneSpecification.new({handleUncaughtError: (t112 = handleUncaughtError, t112 == null ? other.handleUncaughtError : t112), run: (t112$ = run, t112$ == null ? other.run : t112$), runUnary: (t112$0 = runUnary, t112$0 == null ? other.runUnary : t112$0), runBinary: (t112$1 = runBinary, t112$1 == null ? other.runBinary : t112$1), registerCallback: (t112$2 = registerCallback, t112$2 == null ? other.registerCallback : t112$2), registerUnaryCallback: (t112$3 = registerUnaryCallback, t112$3 == null ? other.registerUnaryCallback : t112$3), registerBinaryCallback: (t112$4 = registerBinaryCallback, t112$4 == null ? other.registerBinaryCallback : t112$4), errorCallback: (t112$5 = errorCallback, t112$5 == null ? other.errorCallback : t112$5), scheduleMicrotask: (t112$6 = scheduleMicrotask, t112$6 == null ? other.scheduleMicrotask : t112$6), createTimer: (t112$7 = createTimer, t112$7 == null ? other.createTimer : t112$7), createPeriodicTimer: (t112$8 = createPeriodicTimer, t112$8 == null ? other.createPeriodicTimer : t112$8), print: (t112$9 = print, t112$9 == null ? other.print : t112$9), fork: (t112$10 = fork, t112$10 == null ? other.fork : t112$10)}); + } + static ['_#from#tearOff'](other, opts) { + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return async.ZoneSpecification.from(other, {handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); } }; (async.ZoneSpecification[dart.mixinNew] = function() { }).prototype = async.ZoneSpecification.prototype; dart.addTypeTests(async.ZoneSpecification); dart.addTypeCaches(async.ZoneSpecification); -dart.setLibraryUri(async.ZoneSpecification, I[29]); +dart.setStaticMethodSignature(async.ZoneSpecification, () => ['new', 'from']); +dart.setLibraryUri(async.ZoneSpecification, I[31]); +dart.setStaticFieldSignature(async.ZoneSpecification, () => ['_redirecting#']); var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); var run$ = dart.privateName(async, "_ZoneSpecification.run"); var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); @@ -34767,6 +37364,22 @@ async._ZoneSpecification = class _ZoneSpecification extends core.Object { set fork(value) { super.fork = value; } + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } }; (async._ZoneSpecification.new = function(opts) { let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; @@ -34800,7 +37413,7 @@ async._ZoneSpecification = class _ZoneSpecification extends core.Object { dart.addTypeTests(async._ZoneSpecification); dart.addTypeCaches(async._ZoneSpecification); async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; -dart.setLibraryUri(async._ZoneSpecification, I[29]); +dart.setLibraryUri(async._ZoneSpecification, I[31]); dart.setFieldSignature(async._ZoneSpecification, () => ({ __proto__: dart.getFields(async._ZoneSpecification.__proto__), handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), @@ -34823,21 +37436,21 @@ async.ZoneDelegate = class ZoneDelegate extends core.Object {}; }).prototype = async.ZoneDelegate.prototype; dart.addTypeTests(async.ZoneDelegate); dart.addTypeCaches(async.ZoneDelegate); -dart.setLibraryUri(async.ZoneDelegate, I[29]); +dart.setLibraryUri(async.ZoneDelegate, I[31]); async.Zone = class Zone extends core.Object { static get current() { return async.Zone._current; } static _enter(zone) { - if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); - if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + if (zone == null) dart.nullFailed(I[76], 911, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[76], 912, 12, "!identical(zone, _current)"); let previous = async.Zone._current; async.Zone._current = zone; return previous; } static _leave(previous) { - if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + if (previous == null) dart.nullFailed(I[76], 921, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); async.Zone._current = previous; } }; @@ -34846,20 +37459,25 @@ async.Zone = class Zone extends core.Object { }).prototype = async.Zone.prototype; dart.addTypeTests(async.Zone); dart.addTypeCaches(async.Zone); -dart.setLibraryUri(async.Zone, I[29]); +dart.setStaticMethodSignature(async.Zone, () => ['_enter', '_leave']); +dart.setStaticGetterSignature(async.Zone, () => ['current']); +dart.setLibraryUri(async.Zone, I[31]); +dart.setStaticFieldSignature(async.Zone, () => ['root', '_current']); dart.defineLazy(async.Zone, { /*async.Zone.root*/get root() { - return C[44] || CT.C44; + return C[45] || CT.C45; }, /*async.Zone._current*/get _current() { return async._rootZone; }, - set _current(_) {} + set _current(value) { + if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); + } }, false); var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); -var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); -var _parentDelegate = dart.privateName(async, "_parentDelegate"); +var _processUncaughtError = dart.privateName(async, "_processUncaughtError"); var _run = dart.privateName(async, "_run"); +var _parentDelegate = dart.privateName(async, "_parentDelegate"); var _runUnary = dart.privateName(async, "_runUnary"); var _runBinary = dart.privateName(async, "_runBinary"); var _registerCallback = dart.privateName(async, "_registerCallback"); @@ -34872,66 +37490,67 @@ var _createPeriodicTimer = dart.privateName(async, "_createPeriodicTimer"); var _print = dart.privateName(async, "_print"); var _fork = dart.privateName(async, "_fork"); async._ZoneDelegate = class _ZoneDelegate extends core.Object { + static ['_#new#tearOff'](_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); + return new async._ZoneDelegate.new(_delegationTarget); + } handleUncaughtError(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); - if (error == null) dart.nullFailed(I[73], 917, 46, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); - let implementation = this[_delegationTarget$][_handleUncaughtError]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + if (zone == null) dart.nullFailed(I[76], 943, 33, "zone"); + if (error == null) dart.nullFailed(I[76], 943, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 943, 64, "stackTrace"); + this[_delegationTarget$][_processUncaughtError](zone, error, stackTrace); } run(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); - if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + if (zone == null) dart.nullFailed(I[76], 947, 17, "zone"); + if (f == null) dart.nullFailed(I[76], 947, 25, "f"); let implementation = this[_delegationTarget$][_run]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } runUnary(R, T, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); - if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + if (zone == null) dart.nullFailed(I[76], 954, 25, "zone"); + if (f == null) dart.nullFailed(I[76], 954, 33, "f"); let implementation = this[_delegationTarget$][_runUnary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); } runBinary(R, T1, T2, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + if (zone == null) dart.nullFailed(I[76], 961, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 961, 39, "f"); let implementation = this[_delegationTarget$][_runBinary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); } registerCallback(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 968, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 968, 52, "f"); let implementation = this[_delegationTarget$][_registerCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } registerUnaryCallback(R, T, zone, f) { - if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); - if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + if (zone == null) dart.nullFailed(I[76], 975, 60, "zone"); + if (f == null) dart.nullFailed(I[76], 975, 68, "f"); let implementation = this[_delegationTarget$][_registerUnaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f); } registerBinaryCallback(R, T1, T2, zone, f) { - if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); - if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + if (zone == null) dart.nullFailed(I[76], 983, 12, "zone"); + if (f == null) dart.nullFailed(I[76], 983, 20, "f"); let implementation = this[_delegationTarget$][_registerBinaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); } errorCallback(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); - if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + if (zone == null) dart.nullFailed(I[76], 990, 34, "zone"); + if (error == null) dart.nullFailed(I[76], 990, 47, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_delegationTarget$][_errorCallback]; let implZone = implementation.zone; @@ -34940,41 +37559,41 @@ async._ZoneDelegate = class _ZoneDelegate extends core.Object { return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); } scheduleMicrotask(zone, f) { - if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + if (zone == null) dart.nullFailed(I[76], 999, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 999, 37, "f"); let implementation = this[_delegationTarget$][_scheduleMicrotask]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, f); } createTimer(zone, duration, f) { - if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); - if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); - if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + if (zone == null) dart.nullFailed(I[76], 1006, 26, "zone"); + if (duration == null) dart.nullFailed(I[76], 1006, 41, "duration"); + if (f == null) dart.nullFailed(I[76], 1006, 56, "f"); let implementation = this[_delegationTarget$][_createTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, duration, f); } createPeriodicTimer(zone, period, f) { - if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); - if (period == null) dart.nullFailed(I[73], 990, 49, "period"); - if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1013, 34, "zone"); + if (period == null) dart.nullFailed(I[76], 1013, 49, "period"); + if (f == null) dart.nullFailed(I[76], 1013, 62, "f"); let implementation = this[_delegationTarget$][_createPeriodicTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, period, f); } print(zone, line) { - if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); - if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + if (zone == null) dart.nullFailed(I[76], 1020, 19, "zone"); + if (line == null) dart.nullFailed(I[76], 1020, 32, "line"); let implementation = this[_delegationTarget$][_print]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, line); } fork(zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + if (zone == null) dart.nullFailed(I[76], 1027, 18, "zone"); let implementation = this[_delegationTarget$][_fork]; let implZone = implementation.zone; let handler = implementation.function; @@ -34982,7 +37601,7 @@ async._ZoneDelegate = class _ZoneDelegate extends core.Object { } }; (async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); this[_delegationTarget$] = _delegationTarget; ; }).prototype = async._ZoneDelegate.prototype; @@ -35005,16 +37624,45 @@ dart.setMethodSignature(async._ZoneDelegate, () => ({ print: dart.fnType(dart.void, [async.Zone, core.String]), fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) })); -dart.setLibraryUri(async._ZoneDelegate, I[29]); +dart.setLibraryUri(async._ZoneDelegate, I[31]); dart.setFieldSignature(async._ZoneDelegate, () => ({ __proto__: dart.getFields(async._ZoneDelegate.__proto__), [_delegationTarget$]: dart.finalFieldType(async._Zone) })); +var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); async._Zone = class _Zone extends core.Object { inSameErrorZone(otherZone) { - if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + if (otherZone == null) dart.nullFailed(I[76], 1062, 29, "otherZone"); return this === otherZone || this.errorZone == otherZone.errorZone; } + [_processUncaughtError](zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[76], 1067, 35, "zone"); + if (error == null) dart.nullFailed(I[76], 1067, 48, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1067, 66, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let implZone = implementation.zone; + if (implZone == async._rootZone) { + async._rootHandleError(error, stackTrace); + return; + } + let handler = implementation.function; + let parentDelegate = implZone[_parentDelegate]; + let parentZone = dart.nullCheck(implZone.parent); + let currentZone = async.Zone._current; + try { + async.Zone._current = parentZone; + handler(implZone, parentDelegate, zone, error, stackTrace); + async.Zone._current = currentZone; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone._current = currentZone; + parentZone[_processUncaughtError](implZone, e, core.identical(error, e) ? stackTrace : s); + } else + throw e$; + } + } }; (async._Zone.new = function() { ; @@ -35024,9 +37672,10 @@ dart.addTypeCaches(async._Zone); async._Zone[dart.implements] = () => [async.Zone]; dart.setMethodSignature(async._Zone, () => ({ __proto__: dart.getMethods(async._Zone.__proto__), - inSameErrorZone: dart.fnType(core.bool, [async.Zone]) + inSameErrorZone: dart.fnType(core.bool, [async.Zone]), + [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) })); -dart.setLibraryUri(async._Zone, I[29]); +dart.setLibraryUri(async._Zone, I[31]); var _run$ = dart.privateName(async, "_CustomZone._run"); var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); @@ -35050,78 +37699,91 @@ async._CustomZone = class _CustomZone extends async._Zone { return this[_run$]; } set [_run](value) { + if (value == null) dart.nullFailed(I[76], 1095, 29, "_run"); this[_run$] = value; } get [_runUnary]() { return this[_runUnary$]; } set [_runUnary](value) { + if (value == null) dart.nullFailed(I[76], 1096, 34, "_runUnary"); this[_runUnary$] = value; } get [_runBinary]() { return this[_runBinary$]; } set [_runBinary](value) { + if (value == null) dart.nullFailed(I[76], 1097, 35, "_runBinary"); this[_runBinary$] = value; } get [_registerCallback]() { return this[_registerCallback$]; } set [_registerCallback](value) { + if (value == null) dart.nullFailed(I[76], 1098, 42, "_registerCallback"); this[_registerCallback$] = value; } get [_registerUnaryCallback]() { return this[_registerUnaryCallback$]; } set [_registerUnaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1099, 47, "_registerUnaryCallback"); this[_registerUnaryCallback$] = value; } get [_registerBinaryCallback]() { return this[_registerBinaryCallback$]; } set [_registerBinaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1100, 48, "_registerBinaryCallback"); this[_registerBinaryCallback$] = value; } get [_errorCallback]() { return this[_errorCallback$]; } set [_errorCallback](value) { + if (value == null) dart.nullFailed(I[76], 1101, 39, "_errorCallback"); this[_errorCallback$] = value; } get [_scheduleMicrotask]() { return this[_scheduleMicrotask$]; } set [_scheduleMicrotask](value) { + if (value == null) dart.nullFailed(I[76], 1102, 43, "_scheduleMicrotask"); this[_scheduleMicrotask$] = value; } get [_createTimer]() { return this[_createTimer$]; } set [_createTimer](value) { + if (value == null) dart.nullFailed(I[76], 1103, 37, "_createTimer"); this[_createTimer$] = value; } get [_createPeriodicTimer]() { return this[_createPeriodicTimer$]; } set [_createPeriodicTimer](value) { + if (value == null) dart.nullFailed(I[76], 1104, 45, "_createPeriodicTimer"); this[_createPeriodicTimer$] = value; } get [_print]() { return this[_print$]; } set [_print](value) { + if (value == null) dart.nullFailed(I[76], 1105, 31, "_print"); this[_print$] = value; } get [_fork]() { return this[_fork$]; } set [_fork](value) { + if (value == null) dart.nullFailed(I[76], 1106, 30, "_fork"); this[_fork$] = value; } get [_handleUncaughtError]() { return this[_handleUncaughtError$]; } set [_handleUncaughtError](value) { + if (value == null) dart.nullFailed(I[76], 1107, 45, "_handleUncaughtError"); this[_handleUncaughtError$] = value; } get parent() { @@ -35137,18 +37799,24 @@ async._CustomZone = class _CustomZone extends async._Zone { super[_map$3] = value; } get [_delegate]() { - let t128; - t128 = this[_delegateCache]; - return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + let t113; + t113 = this[_delegateCache]; + return t113 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t113; } get [_parentDelegate]() { return this.parent[_delegate]; } + static ['_#new#tearOff'](parent, specification, _map) { + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); + return new async._CustomZone.new(parent, specification, _map); + } get errorZone() { return this[_handleUncaughtError].zone; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1206, 24, "f"); try { this.run(dart.void, f); } catch (e$) { @@ -35161,7 +37829,7 @@ async._CustomZone = class _CustomZone extends async._Zone { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); try { this.runUnary(dart.void, T, f, arg); } catch (e$) { @@ -35174,7 +37842,7 @@ async._CustomZone = class _CustomZone extends async._Zone { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); try { this.runBinary(dart.void, T1, T2, f, arg1, arg2); } catch (e$) { @@ -35187,32 +37855,32 @@ async._CustomZone = class _CustomZone extends async._Zone { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1230, 37, "f"); let registered = this.registerCallback(R, f); return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1235, 53, "f"); let registered = this.registerUnaryCallback(R, T, f); return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1241, 9, "f"); let registered = this.registerBinaryCallback(R, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1246, 44, "f"); let registered = this.registerCallback(dart.void, f); return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1251, 53, "f"); let registered = this.registerUnaryCallback(dart.void, T, f); return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1257, 12, "f"); let registered = this.registerBinaryCallback(dart.void, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } @@ -35226,16 +37894,13 @@ async._CustomZone = class _CustomZone extends async._Zone { } return value; } - if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[76], 1277, 12, "this == _rootZone"); return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); - let implementation = this[_handleUncaughtError]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1283, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1283, 53, "stackTrace"); + this[_processUncaughtError](this, error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35246,49 +37911,49 @@ async._CustomZone = class _CustomZone extends async._Zone { return handler(implementation.zone, parentDelegate, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1296, 14, "f"); let implementation = this[_run]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1303, 22, "f"); let implementation = this[_runUnary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1310, 28, "f"); let implementation = this[_runBinary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); } registerCallback(R, callback) { - if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + if (callback == null) dart.nullFailed(I[76], 1317, 41, "callback"); let implementation = this[_registerCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, callback); } registerUnaryCallback(R, T, callback) { - if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + if (callback == null) dart.nullFailed(I[76], 1324, 57, "callback"); let implementation = this[_registerUnaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, callback); } registerBinaryCallback(R, T1, T2, callback) { - if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + if (callback == null) dart.nullFailed(I[76], 1332, 9, "callback"); let implementation = this[_registerBinaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1339, 36, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_errorCallback]; let implementationZone = implementation.zone; @@ -35298,30 +37963,30 @@ async._CustomZone = class _CustomZone extends async._Zone { return handler(implementationZone, parentDelegate, this, error, stackTrace); } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1349, 31, "f"); let implementation = this[_scheduleMicrotask]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1356, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1356, 45, "f"); let implementation = this[_createTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1363, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1363, 53, "f"); let implementation = this[_createPeriodicTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1370, 21, "line"); let implementation = this[_print]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; @@ -35329,9 +37994,9 @@ async._CustomZone = class _CustomZone extends async._Zone { } }; (async._CustomZone.new = function(parent, specification, _map) { - if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); - if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); - if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); this[_delegateCache] = null; this[parent$] = parent; this[_map$2] = _map; @@ -35351,27 +38016,27 @@ async._CustomZone = class _CustomZone extends async._Zone { async._CustomZone.__proto__.new.call(this); let run = specification.run; if (run != null) { - this[_run] = new async._RunNullaryZoneFunction.new(this, run); + this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); } let runUnary = specification.runUnary; if (runUnary != null) { - this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); } let runBinary = specification.runBinary; if (runBinary != null) { - this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); } let registerCallback = specification.registerCallback; if (registerCallback != null) { - this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); } let registerUnaryCallback = specification.registerUnaryCallback; if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); } let registerBinaryCallback = specification.registerBinaryCallback; if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); } let errorCallback = specification.errorCallback; if (errorCallback != null) { @@ -35436,15 +38101,15 @@ dart.setGetterSignature(async._CustomZone, () => ({ [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); -dart.setLibraryUri(async._CustomZone, I[29]); +dart.setLibraryUri(async._CustomZone, I[31]); dart.setFieldSignature(async._CustomZone, () => ({ __proto__: dart.getFields(async._CustomZone.__proto__), - [_run]: dart.fieldType(async._RunNullaryZoneFunction), - [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), - [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), - [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), - [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), - [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_run]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_runUnary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_runBinary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_registerUnaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerBinaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), @@ -35457,44 +38122,47 @@ dart.setFieldSignature(async._CustomZone, () => ({ [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) })); async._RootZone = class _RootZone extends async._Zone { + static ['_#new#tearOff']() { + return new async._RootZone.new(); + } get [_run]() { - return C[45] || CT.C45; + return C[46] || CT.C46; } get [_runUnary]() { - return C[47] || CT.C47; + return C[48] || CT.C48; } get [_runBinary]() { - return C[49] || CT.C49; + return C[50] || CT.C50; } get [_registerCallback]() { - return C[51] || CT.C51; + return C[52] || CT.C52; } get [_registerUnaryCallback]() { - return C[53] || CT.C53; + return C[54] || CT.C54; } get [_registerBinaryCallback]() { - return C[55] || CT.C55; + return C[56] || CT.C56; } get [_errorCallback]() { - return C[57] || CT.C57; + return C[58] || CT.C58; } get [_scheduleMicrotask]() { - return C[59] || CT.C59; + return C[60] || CT.C60; } get [_createTimer]() { - return C[61] || CT.C61; + return C[62] || CT.C62; } get [_createPeriodicTimer]() { - return C[63] || CT.C63; + return C[64] || CT.C64; } get [_print]() { - return C[65] || CT.C65; + return C[66] || CT.C66; } get [_fork]() { - return C[67] || CT.C67; + return C[68] || CT.C68; } get [_handleUncaughtError]() { - return C[69] || CT.C69; + return C[70] || CT.C70; } get parent() { return null; @@ -35503,9 +38171,9 @@ async._RootZone = class _RootZone extends async._Zone { return async._RootZone._rootMap; } get [_delegate]() { - let t131; - t131 = async._RootZone._rootDelegate; - return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + let t116; + t116 = async._RootZone._rootDelegate; + return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; } get [_parentDelegate]() { return this[_delegate]; @@ -35514,7 +38182,7 @@ async._RootZone = class _RootZone extends async._Zone { return this; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); try { if (async._rootZone == async.Zone._current) { f(); @@ -35531,7 +38199,7 @@ async._RootZone = class _RootZone extends async._Zone { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); try { if (async._rootZone == async.Zone._current) { f(arg); @@ -35548,7 +38216,7 @@ async._RootZone = class _RootZone extends async._Zone { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); try { if (async._rootZone == async.Zone._current) { f(arg1, arg2); @@ -35565,36 +38233,36 @@ async._RootZone = class _RootZone extends async._Zone { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1614, 37, "f"); return dart.fn(() => this.run(R, f), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1618, 53, "f"); return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1623, 9, "f"); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1627, 44, "f"); return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1631, 53, "f"); return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1636, 12, "f"); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } _get(key) { return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); - async._rootHandleUncaughtError(null, null, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1644, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1644, 53, "stackTrace"); + async._rootHandleError(error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35602,52 +38270,52 @@ async._RootZone = class _RootZone extends async._Zone { return async._rootFork(null, null, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1653, 14, "f"); if (async.Zone._current == async._rootZone) return f(); return async._rootRun(R, null, null, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1659, 22, "f"); if (async.Zone._current == async._rootZone) return f(arg); return async._rootRunUnary(R, T, null, null, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1664, 28, "f"); if (async.Zone._current == async._rootZone) return f(arg1, arg2); return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); } registerCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + if (f == null) dart.nullFailed(I[76], 1669, 41, "f"); return f; } registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); return f; } registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); return f; } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); return null; } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1679, 31, "f"); async._rootScheduleMicrotask(null, null, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1683, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1683, 45, "f"); return async.Timer._createTimer(duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1687, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1687, 53, "f"); return async.Timer._createPeriodicTimer(duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1691, 21, "line"); _internal.printToConsole(line); } }; @@ -35685,12 +38353,12 @@ dart.setMethodSignature(async._RootZone, () => ({ })); dart.setGetterSignature(async._RootZone, () => ({ __proto__: dart.getGetters(async._RootZone.__proto__), - [_run]: async._RunNullaryZoneFunction, - [_runUnary]: async._RunUnaryZoneFunction, - [_runBinary]: async._RunBinaryZoneFunction, - [_registerCallback]: async._RegisterNullaryZoneFunction, - [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, - [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_run]: async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_runUnary]: async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_runBinary]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerCallback]: async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_registerUnaryCallback]: async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerBinaryCallback]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), @@ -35704,7 +38372,8 @@ dart.setGetterSignature(async._RootZone, () => ({ [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); -dart.setLibraryUri(async._RootZone, I[29]); +dart.setLibraryUri(async._RootZone, I[31]); +dart.setStaticFieldSignature(async._RootZone, () => ['_rootMap', '_rootDelegate']); dart.defineLazy(async._RootZone, { /*async._RootZone._rootMap*/get _rootMap() { return new _js_helper.LinkedMap.new(); @@ -35712,30 +38381,30 @@ dart.defineLazy(async._RootZone, { /*async._RootZone._rootDelegate*/get _rootDelegate() { return null; }, - set _rootDelegate(_) {} + set _rootDelegate(value) {} }, false); async.async = function _async(T, initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 25, 22, "initGenerator"); let iter = null; let onValue = null; let onValue$35isSet = false; function onValue$35get() { return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); } - function onValue$35set(t137) { - if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + function onValue$35set(onValue$35param) { + if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); onValue$35isSet = true; - return onValue = t137; + return onValue = onValue$35param; } let onError = null; let onError$35isSet = false; function onError$35get() { return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); } - function onError$35set(t142) { - if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + function onError$35set(onError$35param) { + if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); onError$35isSet = true; - return onError = t142; + return onError = onError$35param; } function onAwait(value) { let f = null; @@ -35750,17 +38419,18 @@ async.async = function _async(T, initGenerator) { f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); return f; } - onValue$35set(value => { + dart.fn(onAwait, T$.ObjectNTo_FutureOfObjectN()); + onValue$35set(dart.fn(value => { let iteratorResult = iter.next(value); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); - onError$35set((value, stackTrace) => { - if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + }, T$.ObjectNToObjectN())); + onError$35set(dart.fn((value, stackTrace) => { + if (value == null) dart.nullFailed(I[64], 58, 14, "value"); let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); + }, T$.ObjectAndStackTraceNToObject())); let zone = async.Zone.current; if (zone != async._rootZone) { onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); @@ -35801,6 +38471,7 @@ async.async = function _async(T, initGenerator) { throw e$; } } + dart.fn(runBody, T$.VoidToNull()); if (dart.test(dart.startAsyncSynchronously)) { runBody(); isRunningAsEvent = true; @@ -35810,49 +38481,55 @@ async.async = function _async(T, initGenerator) { } return asyncFuture; }; -async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { - if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); - if (error == null) dart.nullFailed(I[62], 37, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); - let handler = errorHandler; - if (T$.NeverAndNeverTodynamic().is(handler)) { - return dart.dcall(errorHandler, [error, stackTrace]); - } else { - return dart.dcall(errorHandler, [error]); - } +async.unawaited = function unawaited(future) { }; async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return $this.catchError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[67], 769, 17, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + if (error == null) dart.nullFailed(I[70], 1047, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 1047, 35, "stackTrace"); return handleError(E.as(error), stackTrace); }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + if (error == null) dart.nullFailed(I[70], 1049, 23, "error"); return E.is(error) && (test == null || dart.test(test(error))); }, T$.ObjectTobool())}); }; async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); return dart.fn((E, handleError, opts) => { - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); }, dart.gFnType(E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); - return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: __t$EToNbool()}, {}]; }, E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); return [core.Object]; })); }; +async['FutureExtensions|ignore'] = function FutureExtensions$124ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + let self = $this; + if (async._Future$(T).is(self)) { + self[_ignore](); + } else { + self.then(dart.void, C[72] || CT.C72, {onError: C[72] || CT.C72}); + } +}; +async['FutureExtensions|get#ignore'] = function FutureExtensions$124get$35ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + return dart.fn(() => async['FutureExtensions|ignore'](T, $this), T$.VoidTovoid()); +}; +async['FutureExtensions|_ignore'] = function FutureExtensions$124_ignore(_, __ = null) { +}; async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 963, 13, "result"); - if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1267, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1267, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35860,12 +38537,11 @@ async._completeWithErrorCallback = function _completeWithErrorCallback(result, e } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); result[_completeError](error, stackTrace); }; async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 977, 13, "result"); - if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1280, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1280, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35879,15 +38555,15 @@ async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback result[_asyncCompleteError](error, stackTrace); }; async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { - if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); - if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (errorHandler == null) dart.nullFailed(I[71], 897, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[71], 897, 60, "zone"); if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); } if (T$.ObjectTodynamic().is(errorHandler)) { return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); } - dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); }; async._microtaskLoop = function _microtaskLoop() { for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { @@ -35906,18 +38582,18 @@ async._startMicrotaskLoop = function _startMicrotaskLoop() { async._lastPriorityCallback = null; async._isInCallbackLoop = false; if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } }; async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + if (callback == null) dart.nullFailed(I[72], 63, 44, "callback"); let newEntry = new async._AsyncCallbackEntry.new(callback); let lastCallback = async._lastCallback; if (lastCallback == null) { async._nextCallback = async._lastCallback = newEntry; if (!dart.test(async._isInCallbackLoop)) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } else { lastCallback.next = newEntry; @@ -35925,7 +38601,7 @@ async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { } }; async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); if (async._nextCallback == null) { async._scheduleAsyncCallback(callback); async._lastPriorityCallback = async._lastCallback; @@ -35947,7 +38623,7 @@ async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(c } }; async.scheduleMicrotask = function scheduleMicrotask(callback) { - if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + if (callback == null) dart.nullFailed(I[72], 129, 40, "callback"); let currentZone = async.Zone._current; if (async._rootZone == currentZone) { async._rootScheduleMicrotask(null, null, async._rootZone, callback); @@ -35976,16 +38652,16 @@ async._runGuarded = function _runGuarded(notificationHandler) { async._nullDataHandler = function _nullDataHandler(value) { }; async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 570, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 494, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 494, 49, "stackTrace"); async.Zone.current.handleUncaughtError(error, stackTrace); }; async._nullDoneHandler = function _nullDoneHandler() { }; async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { - if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); - if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); - if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + if (userCode == null) dart.nullFailed(I[73], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[73], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[73], 9, 5, "onError"); try { onSuccess(userCode()); } catch (e$) { @@ -36005,10 +38681,10 @@ async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { } }; async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 26, 63, "future"); - if (error == null) dart.nullFailed(I[70], 27, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 26, 63, "future"); + if (error == null) dart.nullFailed(I[73], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 27, 30, "stackTrace"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); @@ -36017,10 +38693,10 @@ async._cancelAndError = function _cancelAndError(subscription, future, error, st } }; async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); - if (future == null) dart.nullFailed(I[70], 37, 13, "future"); - if (error == null) dart.nullFailed(I[70], 37, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[73], 37, 13, "future"); + if (error == null) dart.nullFailed(I[73], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 37, 46, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36029,17 +38705,17 @@ async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(s async._cancelAndError(subscription, future, error, stackTrace); }; async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { - if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); - if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + if (subscription == null) dart.nullFailed(I[73], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[73], 48, 46, "future"); return dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[70], 49, 18, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 49, 36, "stackTrace"); async._cancelAndError(subscription, future, error, stackTrace); }, T$.ObjectAndStackTraceTovoid()); }; async._cancelAndValue = function _cancelAndValue(subscription, future, value) { - if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + if (subscription == null) dart.nullFailed(I[73], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 56, 63, "future"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); @@ -36048,9 +38724,9 @@ async._cancelAndValue = function _cancelAndValue(subscription, future, value) { } }; async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { - if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); - if (error == null) dart.nullFailed(I[70], 170, 29, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[73], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 170, 47, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36059,21 +38735,22 @@ async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, sink[_addError](error, stackTrace); }; async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); - if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + if (zone == null) dart.nullFailed(I[76], 1378, 70, "zone"); + if (error == null) dart.nullFailed(I[76], 1379, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1379, 30, "stackTrace"); + async._rootHandleError(error, stackTrace); +}; +async._rootHandleError = function _rootHandleError(error, stackTrace) { + if (error == null) dart.nullFailed(I[76], 1383, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1383, 48, "stackTrace"); async._schedulePriorityAsyncCallback(dart.fn(() => { - async._rethrow(error, stackTrace); + core.Error.throwWithStackTrace(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }, T$.VoidTovoid())); }; -async._rethrow = function _rethrow(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 199, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); - throw dart.createErrorWithStack(error, stackTrace); -}; async._rootRun = function _rootRun(R, self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); - if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1389, 54, "zone"); + if (f == null) dart.nullFailed(I[76], 1389, 62, "f"); if (async.Zone._current == zone) return f(); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36086,8 +38763,8 @@ async._rootRun = function _rootRun(R, self, parent, zone, f) { } }; async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 1405, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1405, 52, "f"); if (async.Zone._current == zone) return f(arg); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36100,8 +38777,8 @@ async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { } }; async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); - if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (zone == null) dart.nullFailed(I[76], 1420, 68, "zone"); + if (f == null) dart.nullFailed(I[76], 1421, 7, "f"); if (async.Zone._current == zone) return f(arg1, arg2); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36114,36 +38791,36 @@ async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, } }; async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1437, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1437, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1437, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1437, 50, "f"); return f; }; async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1442, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1442, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1442, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1442, 50, "f"); return f; }; async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1447, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1447, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1447, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1447, 50, "f"); return f; }; async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { - if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); - if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + if (self == null) dart.nullFailed(I[76], 1451, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1451, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1451, 69, "zone"); + if (error == null) dart.nullFailed(I[76], 1452, 16, "error"); return null; }; async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (zone == null) dart.nullFailed(I[76], 1456, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1456, 55, "f"); if (async._rootZone != zone) { let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); if (hasErrorHandler) { @@ -36155,46 +38832,46 @@ async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zon async._scheduleAsyncCallback(f); }; async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); - if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); - if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); - if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (self == null) dart.nullFailed(I[76], 1468, 29, "self"); + if (parent == null) dart.nullFailed(I[76], 1468, 48, "parent"); + if (zone == null) dart.nullFailed(I[76], 1468, 61, "zone"); + if (duration == null) dart.nullFailed(I[76], 1469, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1469, 40, "callback"); if (async._rootZone != zone) { callback = zone.bindCallback(dart.void, callback); } return async.Timer._createTimer(duration, callback); }; async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); - if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (self == null) dart.nullFailed(I[76], 1476, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1476, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1476, 69, "zone"); + if (duration == null) dart.nullFailed(I[76], 1477, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1477, 29, "callback"); if (async._rootZone != zone) { callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); } return async.Timer._createPeriodicTimer(duration, callback); }; async._rootPrint = function _rootPrint(self, parent, zone, line) { - if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); - if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); - if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); - if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + if (self == null) dart.nullFailed(I[76], 1484, 22, "self"); + if (parent == null) dart.nullFailed(I[76], 1484, 41, "parent"); + if (zone == null) dart.nullFailed(I[76], 1484, 54, "zone"); + if (line == null) dart.nullFailed(I[76], 1484, 67, "line"); _internal.printToConsole(line); }; async._printToZone = function _printToZone(line) { - if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + if (line == null) dart.nullFailed(I[76], 1488, 26, "line"); async.Zone.current.print(line); }; async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (zone == null) dart.nullFailed(I[76], 1492, 55, "zone"); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); } - _internal.printToZone = C[72] || CT.C72; + _internal.printToZone = C[74] || CT.C74; if (specification == null) { - specification = C[73] || CT.C73; + specification = C[75] || CT.C75; } else if (!async._ZoneSpecification.is(specification)) { specification = async.ZoneSpecification.from(specification); } @@ -36202,13 +38879,13 @@ async._rootFork = function _rootFork(self, parent, zone, specification, zoneValu if (zoneValues == null) { valueMap = zone[_map$3]; } else { - valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + valueMap = T$0.HashMapOfObjectN$ObjectN().from(zoneValues); } if (specification == null) dart.throw("unreachable"); return new async._CustomZone.new(zone, specification, valueMap); }; async.runZoned = function runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + if (body == null) dart.nullFailed(I[76], 1727, 17, "body"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; let onError = opts && 'onError' in opts ? opts.onError : null; @@ -36218,8 +38895,8 @@ async.runZoned = function runZoned(R, body, opts) { if (T$.ObjectTovoid().is(onError)) { let originalOnError = onError; onError = dart.fn((error, stack) => { - if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); - if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + if (error == null) dart.nullFailed(I[76], 1737, 27, "error"); + if (stack == null) dart.nullFailed(I[76], 1737, 45, "stack"); return originalOnError(error); }, T$.ObjectAndStackTraceTovoid()); } else { @@ -36231,19 +38908,19 @@ async.runZoned = function runZoned(R, body, opts) { return async._runZoned(R, body, zoneValues, zoneSpecification); }; async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); - if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + if (body == null) dart.nullFailed(I[76], 1767, 25, "body"); + if (onError == null) dart.nullFailed(I[76], 1767, 38, "onError"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; _internal.checkNotNullable(dart.fnType(R, []), body, "body"); _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); let parentZone = async.Zone._current; let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { - if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); - if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); - if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); - if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + if (self == null) dart.nullFailed(I[76], 1772, 51, "self"); + if (parent == null) dart.nullFailed(I[76], 1772, 70, "parent"); + if (zone == null) dart.nullFailed(I[76], 1773, 12, "zone"); + if (error == null) dart.nullFailed(I[76], 1773, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1773, 43, "stackTrace"); try { parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); } catch (e$) { @@ -36277,28 +38954,30 @@ async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { return null; }; async._runZoned = function _runZoned(R, body, zoneValues, specification) { - if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + if (body == null) dart.nullFailed(I[76], 1799, 18, "body"); return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); }; dart.defineLazy(async, { /*async._nextCallback*/get _nextCallback() { return null; }, - set _nextCallback(_) {}, + set _nextCallback(value) {}, /*async._lastCallback*/get _lastCallback() { return null; }, - set _lastCallback(_) {}, + set _lastCallback(value) {}, /*async._lastPriorityCallback*/get _lastPriorityCallback() { return null; }, - set _lastPriorityCallback(_) {}, + set _lastPriorityCallback(value) {}, /*async._isInCallbackLoop*/get _isInCallbackLoop() { return false; }, - set _isInCallbackLoop(_) {}, + set _isInCallbackLoop(value) { + if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); + }, /*async._rootZone*/get _rootZone() { - return C[44] || CT.C44; + return C[45] || CT.C45; } }, false); var _map$4 = dart.privateName(collection, "_HashSet._map"); @@ -36310,19 +38989,18 @@ var _newSet = dart.privateName(collection, "_newSet"); var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); const _is_SetMixin_default = Symbol('_is_SetMixin_default'); collection.SetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class SetMixin extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -36337,9 +39015,9 @@ collection.SetMixin$ = dart.generic(E => { return core.Set.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[75], 47, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[78], 47, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); @@ -36348,18 +39026,18 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(this.toList()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 56, 27, "elements"); for (let element of elements) this.add(element); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 60, 36, "elements"); for (let element of elements) this.remove(element); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); let toRemove = this.toSet(); for (let o of elements) { toRemove.remove(o); @@ -36367,7 +39045,7 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + if (test == null) dart.nullFailed(I[78], 74, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (dart.test(test(element))) toRemove[$add](element); @@ -36375,7 +39053,7 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + if (test == null) dart.nullFailed(I[78], 82, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (!dart.test(test(element))) toRemove[$add](element); @@ -36383,24 +39061,24 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } containsAll(other) { - if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + if (other == null) dart.nullFailed(I[78], 90, 38, "other"); for (let o of other) { if (!dart.test(this.contains(o))) return false; } return true; } union(other) { - let t151; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[75], 97, 23, "other"); - t151 = this.toSet(); + let t136; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[78], 97, 23, "other"); + t136 = this.toSet(); return (() => { - t151.addAll(other); - return t151; + t136.addAll(other); + return t136; })(); } intersection(other) { - if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + if (other == null) dart.nullFailed(I[78], 101, 36, "other"); let result = this.toSet(); for (let element of this) { if (!dart.test(other.contains(element))) result.remove(element); @@ -36408,7 +39086,7 @@ collection.SetMixin$ = dart.generic(E => { return result; } difference(other) { - if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + if (other == null) dart.nullFailed(I[78], 109, 34, "other"); let result = this.toSet(); for (let element of this) { if (dart.test(other.contains(element))) result.remove(element); @@ -36417,11 +39095,11 @@ collection.SetMixin$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[78], 117, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } map(T, f) { - if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + if (f == null) dart.nullFailed(I[78], 120, 24, "f"); return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); } get single() { @@ -36435,21 +39113,21 @@ collection.SetMixin$ = dart.generic(E => { return collection.IterableBase.iterableToFullString(this, "{", "}"); } where(f) { - if (f == null) dart.nullFailed(I[75], 136, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[78], 136, 26, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + if (f == null) dart.nullFailed(I[78], 138, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } forEach(f) { - if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + if (f == null) dart.nullFailed(I[78], 141, 21, "f"); for (let element of this) f(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[78], 145, 14, "combine"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -36461,21 +39139,21 @@ collection.SetMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + if (combine == null) dart.nullFailed(I[78], 157, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(f) { - if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + if (f == null) dart.nullFailed(I[78], 163, 19, "f"); for (let element of this) { if (!dart.test(f(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + if (separator == null) dart.nullFailed(I[78], 170, 23, "separator"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -36493,27 +39171,27 @@ collection.SetMixin$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + if (test == null) dart.nullFailed(I[78], 188, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } return false; } take(n) { - if (n == null) dart.nullFailed(I[75], 195, 24, "n"); - return TakeIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 195, 24, "n"); + return __t$TakeIterableOfE().new(this, n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[75], 199, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 199, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(n) { - if (n == null) dart.nullFailed(I[75], 203, 24, "n"); - return SkipIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 203, 24, "n"); + return __t$SkipIterableOfE().new(this, n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[75], 207, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 207, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this.iterator; @@ -36534,9 +39212,9 @@ collection.SetMixin$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + if (test == null) dart.nullFailed(I[78], 231, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -36544,20 +39222,18 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + if (test == null) dart.nullFailed(I[78], 239, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t154) { + function result$35set(result$35param) { result$35isSet = true; - return result = t154; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36570,20 +39246,18 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + if (test == null) dart.nullFailed(I[78], 253, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t159) { + function result$35set(result$35param) { result$35isSet = true; - return result = t159; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36599,7 +39273,7 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + if (index == null) dart.nullFailed(I[78], 270, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -36607,7 +39281,7 @@ collection.SetMixin$ = dart.generic(E => { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } } (SetMixin.new = function() { @@ -36685,7 +39359,7 @@ collection.SetMixin$ = dart.generic(E => { last: E, [$last]: E })); - dart.setLibraryUri(SetMixin, I[24]); + dart.setLibraryUri(SetMixin, I[25]); dart.defineExtensionMethods(SetMixin, [ 'cast', 'followedBy', @@ -36732,7 +39406,7 @@ collection._SetBase$ = dart.generic(E => { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); } difference(other) { - if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + if (other == null) dart.nullFailed(I[78], 324, 34, "other"); let result = this[_newSet](); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); @@ -36740,7 +39414,7 @@ collection._SetBase$ = dart.generic(E => { return result; } intersection(other) { - if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + if (other == null) dart.nullFailed(I[78], 332, 36, "other"); let result = this[_newSet](); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); @@ -36748,11 +39422,11 @@ collection._SetBase$ = dart.generic(E => { return result; } toSet() { - let t151; - t151 = this[_newSet](); + let t136; + t136 = this[_newSet](); return (() => { - t151.addAll(this); - return t151; + t136.addAll(this); + return t136; })(); } } @@ -36769,7 +39443,7 @@ collection._SetBase$ = dart.generic(E => { toSet: dart.fnType(core.Set$(E), []), [$toSet]: dart.fnType(core.Set$(E), []) })); - dart.setLibraryUri(_SetBase, I[24]); + dart.setLibraryUri(_SetBase, I[25]); dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); return _SetBase; }); @@ -36777,7 +39451,7 @@ collection._SetBase = collection._SetBase$(); dart.addTypeTests(collection._SetBase, _is__SetBase_default); const _is__InternalSet_default = Symbol('_is__InternalSet_default'); collection._InternalSet$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _InternalSet extends collection._SetBase$(E) { get length() { return this[_map$5].size; @@ -36789,7 +39463,7 @@ collection._InternalSet$ = dart.generic(E => { return this[_map$5].size != 0; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } [Symbol.iterator]() { let self = this; @@ -36823,7 +39497,7 @@ collection._InternalSet$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_InternalSet, I[24]); + dart.setLibraryUri(_InternalSet, I[25]); dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); return _InternalSet; }); @@ -36831,8 +39505,8 @@ collection._InternalSet = collection._InternalSet$(); dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); const _is__HashSet_default = Symbol('_is__HashSet_default'); collection._HashSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _HashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$4]; @@ -36846,8 +39520,11 @@ collection._HashSet$ = dart.generic(E => { set [_modifications$3](value) { this[_modifications$2] = value; } + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -36857,7 +39534,7 @@ collection._HashSet$ = dart.generic(E => { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36872,7 +39549,7 @@ collection._HashSet$ = dart.generic(E => { if (key == null) return null; if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36892,7 +39569,7 @@ collection._HashSet$ = dart.generic(E => { } else if (key[$_equals] !== dart.identityEquals) { let keyMap = this[_keyMap$]; let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -36907,12 +39584,12 @@ collection._HashSet$ = dart.generic(E => { return false; } map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 244, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { @@ -36924,7 +39601,7 @@ collection._HashSet$ = dart.generic(E => { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(key) { @@ -36932,7 +39609,7 @@ collection._HashSet$ = dart.generic(E => { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap$].get(hash); if (buckets == null) return false; for (let i = 0, n = buckets.length;;) { @@ -36951,7 +39628,7 @@ collection._HashSet$ = dart.generic(E => { } let map = this[_map$5]; if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -36961,7 +39638,7 @@ collection._HashSet$ = dart.generic(E => { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -36986,7 +39663,7 @@ collection._HashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_HashSet, I[24]); + dart.setLibraryUri(_HashSet, I[25]); dart.setFieldSignature(_HashSet, () => ({ __proto__: dart.getFields(_HashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37000,15 +39677,19 @@ collection._HashSet = collection._HashSet$(); dart.addTypeTests(collection._HashSet, _is__HashSet_default); const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); collection._ImmutableSet$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _ImmutableSet extends collection._HashSet$(E) { + static ['_#from#tearOff'](E, entries) { + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); + return new (collection._ImmutableSet$(E)).from(entries); + } add(value) { E.as(value); return dart.throw(collection._ImmutableSet._unsupported()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); return dart.throw(collection._ImmutableSet._unsupported()); } clear() { @@ -37022,7 +39703,7 @@ collection._ImmutableSet$ = dart.generic(E => { } } (_ImmutableSet.from = function(entries) { - if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); _ImmutableSet.__proto__.new.call(this); let map = this[_map$5]; for (let key of entries) { @@ -37037,7 +39718,8 @@ collection._ImmutableSet$ = dart.generic(E => { dart.addTypeTests(_ImmutableSet); _ImmutableSet.prototype[_is__ImmutableSet_default] = true; dart.addTypeCaches(_ImmutableSet); - dart.setLibraryUri(_ImmutableSet, I[24]); + dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); + dart.setLibraryUri(_ImmutableSet, I[25]); return _ImmutableSet; }); collection._ImmutableSet = collection._ImmutableSet$(); @@ -37046,8 +39728,8 @@ var _map$6 = dart.privateName(collection, "_IdentityHashSet._map"); var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); collection._IdentityHashSet$ = dart.generic(E => { - var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_IdentityHashSetOfE = () => (__t$_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _IdentityHashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$6]; @@ -37061,8 +39743,11 @@ collection._IdentityHashSet$ = dart.generic(E => { set [_modifications$3](value) { this[_modifications$4] = value; } + static ['_#new#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } [_newSet]() { - return new (_IdentityHashSetOfE()).new(); + return new (__t$_IdentityHashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._IdentityHashSet$(R)).new(); @@ -37078,24 +39763,24 @@ collection._IdentityHashSet$ = dart.generic(E => { let map = this[_map$5]; if (map.has(element)) return false; map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 363, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(element) { if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -37104,7 +39789,7 @@ collection._IdentityHashSet$ = dart.generic(E => { let map = this[_map$5]; if (map.size > 0) { map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -37128,7 +39813,7 @@ collection._IdentityHashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setLibraryUri(_IdentityHashSet, I[25]); dart.setFieldSignature(_IdentityHashSet, () => ({ __proto__: dart.getFields(_IdentityHashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37146,8 +39831,8 @@ var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modificatio var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); collection._CustomHashSet$ = dart.generic(E => { - var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_CustomHashSetOfE = () => (__t$_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _CustomHashSet extends collection._InternalSet$(E) { get [_modifications$3]() { return this[_modifications$5]; @@ -37161,16 +39846,21 @@ collection._CustomHashSet$ = dart.generic(E => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); + return new (collection._CustomHashSet$(E)).new(_equals, _hashCode); + } [_newSet]() { - return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + return new (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37182,9 +39872,9 @@ collection._CustomHashSet$ = dart.generic(E => { return false; } lookup(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37196,10 +39886,10 @@ collection._CustomHashSet$ = dart.generic(E => { return null; } add(key) { - let t161; + let t144; E.as(key); let keyMap = this[_keyMap$]; - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -37212,19 +39902,19 @@ collection._CustomHashSet$ = dart.generic(E => { buckets.push(key); } this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 497, 27, "objects"); for (let element of objects) this.add(element); } remove(key) { - let t161; + let t144; if (E.is(key)) { - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let keyMap = this[_keyMap$]; let buckets = keyMap.get(hash); if (buckets == null) return false; @@ -37238,7 +39928,7 @@ collection._CustomHashSet$ = dart.generic(E => { buckets.splice(i, 1); } this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } } @@ -37250,13 +39940,13 @@ collection._CustomHashSet$ = dart.generic(E => { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } (_CustomHashSet.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); - if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); this[_modifications$5] = 0; this[_map$7] = new Set(); this[_keyMap$] = new Map(); @@ -37279,7 +39969,7 @@ collection._CustomHashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setLibraryUri(_CustomHashSet, I[25]); dart.setFieldSignature(_CustomHashSet, () => ({ __proto__: dart.getFields(_CustomHashSet.__proto__), [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), @@ -37295,34 +39985,40 @@ collection._CustomHashSet = collection._CustomHashSet$(); dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); collection._CustomKeyHashSet$ = dart.generic(E => { - var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + var __t$_CustomKeyHashSetOfE = () => (__t$_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + static ['_#new#tearOff'](E, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); + return new (collection._CustomKeyHashSet$(E)).new(equals, hashCode, _validKey); + } [_newSet]() { - return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + return new (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.contains(element); } lookup(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; return super.lookup(element); } remove(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.remove(element); } } (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); - if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); - if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); this[_validKey$0] = _validKey; _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); ; @@ -37334,7 +40030,7 @@ collection._CustomKeyHashSet$ = dart.generic(E => { __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setLibraryUri(_CustomKeyHashSet, I[25]); dart.setFieldSignature(_CustomKeyHashSet, () => ({ __proto__: dart.getFields(_CustomKeyHashSet.__proto__), [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -37348,6 +40044,10 @@ var _source = dart.privateName(collection, "_source"); const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); collection.UnmodifiableListView$ = dart.generic(E => { class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); + return new (collection.UnmodifiableListView$(E)).new(source); + } cast(R) { return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); } @@ -37358,12 +40058,12 @@ collection.UnmodifiableListView$ = dart.generic(E => { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + if (index == null) dart.nullFailed(I[79], 34, 21, "index"); return this[_source][$elementAt](index); } } (UnmodifiableListView.new = function(source) { - if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); this[_source] = source; ; }).prototype = UnmodifiableListView.prototype; @@ -37382,7 +40082,7 @@ collection.UnmodifiableListView$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setLibraryUri(UnmodifiableListView, I[25]); dart.setFieldSignature(UnmodifiableListView, () => ({ __proto__: dart.getFields(UnmodifiableListView.__proto__), [_source]: dart.finalFieldType(core.Iterable$(E)) @@ -37397,7 +40097,7 @@ const _is_HashMap_default = Symbol('_is_HashMap_default'); collection.HashMap$ = dart.generic((K, V) => { class HashMap extends core.Object { static new(opts) { - let t161, t161$, t161$0; + let t144, t144$, t144$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37409,55 +40109,87 @@ collection.HashMap$ = dart.generic((K, V) => { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t144$ = equals, t144$ == null ? C[79] || CT.C79 : t144$), (t144$0 = hashCode, t144$0 == null ? C[76] || CT.C76 : t144$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); + return collection.HashMap$(K, V).from(other); + } static of(other) { - let t161; - if (other == null) dart.nullFailed(I[77], 110, 32, "other"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addAll](other); - return t161; + t144[$addAll](other); + return t144; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + return collection.HashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.HashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); - if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); + return collection.HashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t161; - if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addEntries](entries); - return t161; + t144[$addEntries](entries); + return t144; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + return collection.HashMap$(K, V).fromEntries(entries); + } } (HashMap[dart.mixinNew] = function() { }).prototype = HashMap.prototype; @@ -37466,7 +40198,9 @@ collection.HashMap$ = dart.generic((K, V) => { HashMap.prototype[_is_HashMap_default] = true; dart.addTypeCaches(HashMap); HashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(HashMap, I[24]); + dart.setStaticMethodSignature(HashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(HashMap, I[25]); + dart.setStaticFieldSignature(HashMap, () => ['_redirecting#']); return HashMap; }); collection.HashMap = collection.HashMap$(); @@ -37475,7 +40209,7 @@ const _is_HashSet_default = Symbol('_is_HashSet_default'); collection.HashSet$ = dart.generic(E => { class HashSet extends core.Object { static new(opts) { - let t161, t161$, t161$0, t161$1; + let t144, t144$, t144$0, t144$1; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37487,30 +40221,47 @@ collection.HashSet$ = dart.generic(E => { } return new (collection._HashSet$(E)).new(); } - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + return new (collection._CustomHashSet$(E)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), (t144$ = hashCode, t144$ == null ? C[76] || CT.C76 : t144$)); } - return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t144$0 = equals, t144$0 == null ? C[79] || CT.C79 : t144$0), (t144$1 = hashCode, t144$1 == null ? C[76] || CT.C76 : t144$1), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); let result = new (collection._HashSet$(E)).new(); for (let e of elements) { result.add(E.as(e)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); + return collection.HashSet$(E).from(elements); + } static of(elements) { - let t161; - if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); - t161 = new (collection._HashSet$(E)).new(); + let t144; + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + t144 = new (collection._HashSet$(E)).new(); return (() => { - t161.addAll(elements); - return t161; + t144.addAll(elements); + return t144; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + return collection.HashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -37521,54 +40272,55 @@ collection.HashSet$ = dart.generic(E => { HashSet.prototype[_is_HashSet_default] = true; dart.addTypeCaches(HashSet); HashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(HashSet, I[24]); + dart.setStaticMethodSignature(HashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(HashSet, I[25]); + dart.setStaticFieldSignature(HashSet, () => ['_redirecting#']); return HashSet; }); collection.HashSet = collection.HashSet$(); dart.addTypeTests(collection.HashSet, _is_HashSet_default); const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); collection.IterableMixin$ = dart.generic(E => { - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class IterableMixin extends core.Object { cast(R) { return core.Iterable.castFrom(E, R, this); } - map(T, f) { - if (f == null) dart.nullFailed(I[39], 17, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } - where(f) { - if (f == null) dart.nullFailed(I[39], 19, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + where(test) { + if (test == null) dart.nullFailed(I[41], 20, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[39], 23, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[41], 27, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } contains(element) { for (let e of this) { @@ -37576,14 +40328,14 @@ collection.IterableMixin$ = dart.generic(E => { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[41], 44, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[41], 48, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -37595,21 +40347,21 @@ collection.IterableMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + if (combine == null) dart.nullFailed(I[41], 60, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } - every(f) { - if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + every(test) { + if (test == null) dart.nullFailed(I[41], 66, 19, "test"); for (let element of this) { - if (!dart.test(f(element))) return false; + if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + if (separator == null) dart.nullFailed(I[41], 73, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -37627,7 +40379,7 @@ collection.IterableMixin$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + if (test == null) dart.nullFailed(I[41], 91, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -37635,14 +40387,14 @@ collection.IterableMixin$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); - return ListOfE().from(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); + return __t$ListOfE().from(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[41], 104, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -37657,20 +40409,20 @@ collection.IterableMixin$ = dart.generic(E => { return !dart.test(this.isEmpty); } take(count) { - if (count == null) dart.nullFailed(I[39], 116, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 117, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[39], 120, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 121, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[39], 124, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 125, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[39], 128, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 129, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -37698,9 +40450,9 @@ collection.IterableMixin$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + if (test == null) dart.nullFailed(I[41], 161, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -37708,20 +40460,18 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + if (test == null) dart.nullFailed(I[41], 169, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t164) { + function result$35set(result$35param) { result$35isSet = true; - return result = t164; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37734,20 +40484,18 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + if (test == null) dart.nullFailed(I[41], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t169) { + function result$35set(result$35param) { result$35isSet = true; - return result = t169; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37763,7 +40511,7 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + if (index == null) dart.nullFailed(I[41], 200, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -37771,7 +40519,7 @@ collection.IterableMixin$ = dart.generic(E => { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -37852,7 +40600,7 @@ collection.IterableMixin$ = dart.generic(E => { single: E, [$single]: E })); - dart.setLibraryUri(IterableMixin, I[24]); + dart.setLibraryUri(IterableMixin, I[25]); dart.defineExtensionMethods(IterableMixin, [ 'cast', 'map', @@ -37897,13 +40645,17 @@ var _move = dart.privateName(collection, "_move"); const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); collection.HasNextIterator$ = dart.generic(E => { class HasNextIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); + return new (collection.HasNextIterator$(E)).new(_iterator); + } get hasNext() { if (this[_state$] === 2) this[_move](); return this[_state$] === 0; } next() { if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); - if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); let result = this[_iterator$0].current; this[_move](); return result; @@ -37917,7 +40669,7 @@ collection.HasNextIterator$ = dart.generic(E => { } } (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); this[_state$] = 2; this[_iterator$0] = _iterator; ; @@ -37934,12 +40686,13 @@ collection.HasNextIterator$ = dart.generic(E => { __proto__: dart.getGetters(HasNextIterator.__proto__), hasNext: core.bool })); - dart.setLibraryUri(HasNextIterator, I[24]); + dart.setLibraryUri(HasNextIterator, I[25]); dart.setFieldSignature(HasNextIterator, () => ({ __proto__: dart.getFields(HasNextIterator.__proto__), [_iterator$0]: dart.fieldType(core.Iterator$(E)), [_state$]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(HasNextIterator, () => ['_HAS_NEXT_AND_NEXT_IN_CURRENT', '_NO_NEXT', '_NOT_MOVED_YET']); return HasNextIterator; }); collection.HasNextIterator = collection.HasNextIterator$(); @@ -37959,7 +40712,7 @@ const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); collection.LinkedHashMap$ = dart.generic((K, V) => { class LinkedHashMap extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37971,55 +40724,87 @@ collection.LinkedHashMap$ = dart.generic((K, V) => { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } static of(other) { - let t171; - if (other == null) dart.nullFailed(I[80], 94, 38, "other"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addAll](other); - return t171; + t152[$addAll](other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); - if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t171; - if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addEntries](entries); - return t171; + t152[$addEntries](entries); + return t152; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + return collection.LinkedHashMap$(K, V).fromEntries(entries); + } } (LinkedHashMap[dart.mixinNew] = function() { }).prototype = LinkedHashMap.prototype; @@ -38028,7 +40813,9 @@ collection.LinkedHashMap$ = dart.generic((K, V) => { LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; dart.addTypeCaches(LinkedHashMap); LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(LinkedHashMap, I[24]); + dart.setStaticMethodSignature(LinkedHashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(LinkedHashMap, I[25]); + dart.setStaticFieldSignature(LinkedHashMap, () => ['_redirecting#']); return LinkedHashMap; }); collection.LinkedHashMap = collection.LinkedHashMap$(); @@ -38037,7 +40824,7 @@ const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); collection.LinkedHashSet$ = dart.generic(E => { class LinkedHashSet extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -38049,31 +40836,48 @@ collection.LinkedHashSet$ = dart.generic(E => { } return new (collection._HashSet$(E)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (collection._CustomHashSet$(E)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); let result = new (collection._HashSet$(E)).new(); for (let element of elements) { result.add(E.as(element)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } static of(elements) { - let t171; - if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); - t171 = new (collection._HashSet$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + t152 = new (collection._HashSet$(E)).new(); return (() => { - t171.addAll(elements); - return t171; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -38084,7 +40888,9 @@ collection.LinkedHashSet$ = dart.generic(E => { LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; dart.addTypeCaches(LinkedHashSet); LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(LinkedHashSet, I[24]); + dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(LinkedHashSet, I[25]); + dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); return LinkedHashSet; }); collection.LinkedHashSet = collection.LinkedHashSet$(); @@ -38099,38 +40905,41 @@ var _next$2 = dart.privateName(collection, "_next"); var _previous$2 = dart.privateName(collection, "_previous"); const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); collection.LinkedList$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_LinkedListIteratorOfE = () => (__t$_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedList extends core.Iterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection.LinkedList$(E)).new(); + } addFirst(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + if (entry == null) dart.nullFailed(I[85], 90, 19, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: true}); this[_first] = entry; } add(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + if (entry == null) dart.nullFailed(I[85], 96, 14, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: false}); } addAll(entries) { - IterableOfE().as(entries); - if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + __t$IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[85], 101, 27, "entries"); entries[$forEach](dart.bind(this, 'add')); } remove(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (entry == null) dart.nullFailed(I[85], 111, 17, "entry"); if (!dart.equals(entry[_list$0], this)) return false; this[_unlink](entry); return true; } contains(entry) { - return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; } get iterator() { - return new (_LinkedListIteratorOfE()).new(this); + return new (__t$_LinkedListIteratorOfE()).new(this); } get length() { return this[_length$0]; @@ -38169,7 +40978,7 @@ collection.LinkedList$ = dart.generic(E => { return dart.nullCheck(this[_first]); } forEach(action) { - if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + if (action == null) dart.nullFailed(I[85], 171, 21, "action"); let modificationCount = this[_modificationCount]; if (dart.test(this.isEmpty)) return; let current = dart.nullCheck(this[_first]); @@ -38185,18 +40994,18 @@ collection.LinkedList$ = dart.generic(E => { return this[_length$0] === 0; } [_insertBefore](entry, newEntry, opts) { - EN().as(entry); + __t$EN().as(entry); E.as(newEntry); - if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + if (newEntry == null) dart.nullFailed(I[85], 191, 34, "newEntry"); let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; - if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (updateFirst == null) dart.nullFailed(I[85], 191, 59, "updateFirst"); if (newEntry.list != null) { dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); } this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; newEntry[_list$0] = this; if (dart.test(this.isEmpty)) { - if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + if (!(entry == null)) dart.assertFailed(null, I[85], 199, 14, "entry == null"); newEntry[_previous$2] = newEntry[_next$2] = newEntry; this[_first] = newEntry; this[_length$0] = dart.notNull(this[_length$0]) + 1; @@ -38215,7 +41024,7 @@ collection.LinkedList$ = dart.generic(E => { } [_unlink](entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + if (entry == null) dart.nullFailed(I[85], 217, 18, "entry"); this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; @@ -38253,7 +41062,7 @@ collection.LinkedList$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(LinkedList, I[24]); + dart.setLibraryUri(LinkedList, I[25]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_modificationCount]: dart.fieldType(core.int), @@ -38278,6 +41087,10 @@ var _visitedFirst = dart.privateName(collection, "_visitedFirst"); const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); collection._LinkedListIterator$ = dart.generic(E => { class _LinkedListIterator extends core.Object { + static ['_#new#tearOff'](E, list) { + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); + return new (collection._LinkedListIterator$(E)).new(list); + } get current() { return dart.nullCast(this[_current$1], E); } @@ -38296,7 +41109,7 @@ collection._LinkedListIterator$ = dart.generic(E => { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); this[_current$1] = null; this[_list$0] = list; this[_modificationCount] = list[_modificationCount]; @@ -38316,7 +41129,7 @@ collection._LinkedListIterator$ = dart.generic(E => { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: E })); - dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setLibraryUri(_LinkedListIterator, I[25]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), @@ -38334,27 +41147,27 @@ var _next$3 = dart.privateName(collection, "LinkedListEntry._next"); var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); collection.LinkedListEntry$ = dart.generic(E => { - var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); - var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$LinkedListOfE = () => (__t$LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var __t$LinkedListNOfE = () => (__t$LinkedListNOfE = dart.constFn(dart.nullable(__t$LinkedListOfE())))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedListEntry extends core.Object { get [_list$0]() { return this[_list$1]; } set [_list$0](value) { - this[_list$1] = LinkedListNOfE().as(value); + this[_list$1] = __t$LinkedListNOfE().as(value); } get [_next$2]() { return this[_next$3]; } set [_next$2](value) { - this[_next$3] = EN().as(value); + this[_next$3] = __t$EN().as(value); } get [_previous$2]() { return this[_previous$3]; } set [_previous$2](value) { - this[_previous$3] = EN().as(value); + this[_previous$3] = __t$EN().as(value); } get list() { return this[_list$0]; @@ -38372,12 +41185,12 @@ collection.LinkedListEntry$ = dart.generic(E => { } insertAfter(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + if (entry == null) dart.nullFailed(I[85], 312, 22, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); } insertBefore(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + if (entry == null) dart.nullFailed(I[85], 320, 23, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); } } @@ -38402,7 +41215,7 @@ collection.LinkedListEntry$ = dart.generic(E => { next: dart.nullable(E), previous: dart.nullable(E) })); - dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setLibraryUri(LinkedListEntry, I[25]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), @@ -38415,8 +41228,12 @@ collection.LinkedListEntry = collection.LinkedListEntry$(); dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); collection._MapBaseValueIterable$ = dart.generic((K, V) => { - var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + var __t$_MapBaseValueIteratorOfK$V = () => (__t$_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); + return new (collection._MapBaseValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][$length]; } @@ -38436,11 +41253,11 @@ collection._MapBaseValueIterable$ = dart.generic((K, V) => { return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); } get iterator() { - return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); } } (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); this[_map$5] = _map; _MapBaseValueIterable.__proto__.new.call(this); ; @@ -38453,7 +41270,7 @@ collection._MapBaseValueIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setLibraryUri(_MapBaseValueIterable, I[25]); dart.setFieldSignature(_MapBaseValueIterable, () => ({ __proto__: dart.getFields(_MapBaseValueIterable.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38475,6 +41292,10 @@ var _keys = dart.privateName(collection, "_keys"); const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); collection._MapBaseValueIterator$ = dart.generic((K, V) => { class _MapBaseValueIterator extends core.Object { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); + return new (collection._MapBaseValueIterator$(K, V)).new(map); + } moveNext() { if (dart.test(this[_keys].moveNext())) { this[_current$1] = this[_map$5][$_get](this[_keys].current); @@ -38488,7 +41309,7 @@ collection._MapBaseValueIterator$ = dart.generic((K, V) => { } } (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); this[_current$1] = null; this[_map$5] = map; this[_keys] = map[$keys][$iterator]; @@ -38506,7 +41327,7 @@ collection._MapBaseValueIterator$ = dart.generic((K, V) => { __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), current: V })); - dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setLibraryUri(_MapBaseValueIterator, I[25]); dart.setFieldSignature(_MapBaseValueIterator, () => ({ __proto__: dart.getFields(_MapBaseValueIterator.__proto__), [_keys]: dart.finalFieldType(core.Iterator$(K)), @@ -38520,13 +41341,13 @@ dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_de var _map$8 = dart.privateName(collection, "MapView._map"); const _is_MapView_default = Symbol('_is_MapView_default'); collection.MapView$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapView extends core.Object { get [_map$5]() { return this[_map$8]; @@ -38534,6 +41355,10 @@ collection.MapView$ = dart.generic((K, V) => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); + return new (collection.MapView$(K, V)).new(map); + } cast(RK, RV) { return this[_map$5][$cast](RK, RV); } @@ -38548,8 +41373,8 @@ collection.MapView$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 330, 25, "other"); this[_map$5][$addAll](other); } clear() { @@ -38557,8 +41382,8 @@ collection.MapView$ = dart.generic((K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); return this[_map$5][$putIfAbsent](key, ifAbsent); } containsKey(key) { @@ -38568,7 +41393,7 @@ collection.MapView$ = dart.generic((K, V) => { return this[_map$5][$containsValue](value); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + if (action == null) dart.nullFailed(I[37], 341, 21, "action"); this[_map$5][$forEach](action); } get isEmpty() { @@ -38596,34 +41421,34 @@ collection.MapView$ = dart.generic((K, V) => { return this[_map$5][$entries]; } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 355, 44, "entries"); this[_map$5][$addEntries](entries); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 359, 44, "transform"); return this[_map$5][$map](K2, V2, transform); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 362, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 365, 20, "update"); this[_map$5][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + if (test == null) dart.nullFailed(I[37], 369, 25, "test"); this[_map$5][$removeWhere](test); } } (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); this[_map$8] = map; ; }).prototype = MapView.prototype; @@ -38680,7 +41505,7 @@ collection.MapView$ = dart.generic((K, V) => { entries: core.Iterable$(core.MapEntry$(K, V)), [$entries]: core.Iterable$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(MapView, I[24]); + dart.setLibraryUri(MapView, I[25]); dart.setFieldSignature(MapView, () => ({ __proto__: dart.getFields(MapView.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38723,12 +41548,16 @@ collection.UnmodifiableMapView$ = dart.generic((K, V) => { }).prototype = MapView__UnmodifiableMapMixin$36.prototype; dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); + return new (collection.UnmodifiableMapView$(K, V)).new(map); + } cast(RK, RV) { return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); } } (UnmodifiableMapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); UnmodifiableMapView.__proto__.new.call(this, map); ; }).prototype = UnmodifiableMapView.prototype; @@ -38740,7 +41569,7 @@ collection.UnmodifiableMapView$ = dart.generic((K, V) => { cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.setLibraryUri(UnmodifiableMapView, I[25]); dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); return UnmodifiableMapView; }); @@ -38749,8 +41578,19 @@ dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_defaul const _is_Queue_default = Symbol('_is_Queue_default'); collection.Queue$ = dart.generic(E => { class Queue extends core.Object { + static ['_#new#tearOff'](E) { + return new (collection.ListQueue$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 52, 31, "elements"); + return collection.ListQueue$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 58, 32, "elements"); + return collection.ListQueue$(E).of(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + if (source == null) dart.nullFailed(I[86], 76, 43, "source"); return new (_internal.CastQueue$(S, T)).new(source); } [Symbol.iterator]() { @@ -38763,176 +41603,71 @@ collection.Queue$ = dart.generic(E => { Queue.prototype[_is_Queue_default] = true; dart.addTypeCaches(Queue); Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(Queue, I[24]); + dart.setStaticMethodSignature(Queue, () => ['new', 'from', 'of', 'castFrom']); + dart.setLibraryUri(Queue, I[25]); + dart.setStaticFieldSignature(Queue, () => ['_redirecting#']); return Queue; }); collection.Queue = collection.Queue$(); dart.addTypeTests(collection.Queue, _is_Queue_default); -var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); -var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); -var _previousLink$ = dart.privateName(collection, "_previousLink"); -var _nextLink$ = dart.privateName(collection, "_nextLink"); -var _link = dart.privateName(collection, "_link"); -const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); -collection._DoubleLink$ = dart.generic(Link => { - var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); - class _DoubleLink extends core.Object { - get [_previousLink$]() { - return this[_previousLink]; - } - set [_previousLink$](value) { - this[_previousLink] = LinkN().as(value); - } - get [_nextLink$]() { - return this[_nextLink]; - } - set [_nextLink$](value) { - this[_nextLink] = LinkN().as(value); - } - [_link](previous, next) { - this[_nextLink$] = next; - this[_previousLink$] = previous; - if (previous != null) previous[_nextLink$] = Link.as(this); - if (next != null) next[_previousLink$] = Link.as(this); - } - [_unlink]() { - if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; - if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; - this[_nextLink$] = null; - this[_previousLink$] = null; - } - } - (_DoubleLink.new = function() { - this[_previousLink] = null; - this[_nextLink] = null; - ; - }).prototype = _DoubleLink.prototype; - dart.addTypeTests(_DoubleLink); - _DoubleLink.prototype[_is__DoubleLink_default] = true; - dart.addTypeCaches(_DoubleLink); - dart.setMethodSignature(_DoubleLink, () => ({ - __proto__: dart.getMethods(_DoubleLink.__proto__), - [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), - [_unlink]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_DoubleLink, I[24]); - dart.setFieldSignature(_DoubleLink, () => ({ - __proto__: dart.getFields(_DoubleLink.__proto__), - [_previousLink$]: dart.fieldType(dart.nullable(Link)), - [_nextLink$]: dart.fieldType(dart.nullable(Link)) - })); - return _DoubleLink; -}); -collection._DoubleLink = collection._DoubleLink$(); -dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); -var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); -var _element = dart.privateName(collection, "_element"); -const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); -collection.DoubleLinkedQueueEntry$ = dart.generic(E => { - var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); - class DoubleLinkedQueueEntry extends collection._DoubleLink { - get [_element]() { - return this[_element$]; - } - set [_element](value) { - this[_element$] = value; - } - get element() { - return E.as(this[_element]); - } - set element(element) { - E.as(element); - this[_element] = element; - } - append(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); - } - prepend(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); - } - remove() { - this[_unlink](); - return this.element; - } - previousEntry() { - return this[_previousLink$]; - } - nextEntry() { - return this[_nextLink$]; - } - } - (DoubleLinkedQueueEntry.new = function(_element) { - this[_element$] = _element; - DoubleLinkedQueueEntry.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueueEntry.prototype; - dart.addTypeTests(DoubleLinkedQueueEntry); - DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; - dart.addTypeCaches(DoubleLinkedQueueEntry); - dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), - append: dart.fnType(dart.void, [dart.nullable(core.Object)]), - prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(E, []), - previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) - })); - dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), - element: E - })); - dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), - element: dart.nullable(core.Object) - })); - dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); - dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), - [_element]: dart.fieldType(dart.nullable(E)) - })); - return DoubleLinkedQueueEntry; -}, E => { - dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); -}); -collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); -dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); -var _queue$ = dart.privateName(collection, "_queue"); +var _previousLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._previousLink"); +var _nextLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._nextLink"); +var _previousLink$1 = dart.privateName(collection, "_previousLink"); +var _nextLink$1 = dart.privateName(collection, "_nextLink"); +var _link$ = dart.privateName(collection, "_link"); var _append = dart.privateName(collection, "_append"); var _prepend = dart.privateName(collection, "_prepend"); -var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { - [_append](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); - } - [_prepend](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + var __t$_DoubleLinkedQueueEntryOfE = () => (__t$_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var __t$_DoubleLinkedQueueEntryNOfE = () => (__t$_DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$_DoubleLinkedQueueEntryOfE())))(); + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$_DoubleLinkedQueueElementOfE = () => (__t$_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + class _DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$1]() { + return this[_previousLink$0]; + } + set [_previousLink$1](value) { + this[_previousLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$1]() { + return this[_nextLink$0]; + } + set [_nextLink$1](value) { + this[_nextLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + [_link$](previous, next) { + let t152, t152$; + this[_nextLink$1] = next; + this[_previousLink$1] = previous; + t152 = previous; + t152 == null ? null : t152[_nextLink$1] = this; + t152$ = next; + t152$ == null ? null : t152$[_previousLink$1] = this; } - get [_element]() { - return E.as(super[_element]); - } - set [_element](value) { - super[_element] = value; - } - nextEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); - return entry[_asNonSentinelEntry](); + [_unlink]() { + let t152, t152$; + t152 = this[_previousLink$1]; + t152 == null ? null : t152[_nextLink$1] = this[_nextLink$1]; + t152$ = this[_nextLink$1]; + t152$ == null ? null : t152$[_previousLink$1] = this[_previousLink$1]; + this[_previousLink$1] = this[_nextLink$1] = null; + } + [_append](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this, this[_nextLink$1]); } - previousEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); - return entry[_asNonSentinelEntry](); + [_prepend](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); } } - (_DoubleLinkedQueueEntry.new = function(element, _queue) { - this[_queue$] = _queue; - _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + (_DoubleLinkedQueueEntry.new = function() { + this[_previousLink$0] = null; + this[_nextLink$0] = null; ; }).prototype = _DoubleLinkedQueueEntry.prototype; dart.addTypeTests(_DoubleLinkedQueueEntry); @@ -38940,75 +41675,146 @@ collection._DoubleLinkedQueueEntry$ = dart.generic(E => { dart.addTypeCaches(_DoubleLinkedQueueEntry); dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), - [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + [_link$]: dart.fnType(dart.void, [dart.nullable(collection._DoubleLinkedQueueEntry$(E)), dart.nullable(collection._DoubleLinkedQueueEntry$(E))]), + [_unlink]: dart.fnType(dart.void, []), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), - [_element]: E - })); - dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + [_previousLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), + [_nextLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))) })); return _DoubleLinkedQueueEntry; }); collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); +var _queue$ = dart.privateName(collection, "_DoubleLinkedQueueElement._queue"); +var element$0 = dart.privateName(collection, "_DoubleLinkedQueueElement.element"); +var _queue$0 = dart.privateName(collection, "_queue"); var _elementCount = dart.privateName(collection, "_elementCount"); var _remove = dart.privateName(collection, "_remove"); +var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); +var _nextLink_ = dart.privateName(collection, "_nextLink="); +var _previousLink_ = dart.privateName(collection, "_previousLink="); const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); collection._DoubleLinkedQueueElement$ = dart.generic(E => { + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + get [_queue$0]() { + return this[_queue$]; + } + set [_queue$0](value) { + this[_queue$] = __t$DoubleLinkedQueueNOfE().as(value); + } + get element() { + return this[element$0]; + } + set element(value) { + this[element$0] = E.as(value); + } + static ['_#new#tearOff'](E, element, _queue) { + return new (collection._DoubleLinkedQueueElement$(E)).new(element, _queue); + } append(e) { - let t171; + let t152; E.as(e); - this[_append](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_append](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } prepend(e) { - let t171; + let t152; E.as(e); - this[_prepend](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_prepend](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } [_remove]() { - this[_queue$] = null; + this[_queue$0] = null; this[_unlink](); return this.element; } remove() { - let t171; - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; - } + let t152; + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) - 1; return this[_remove](); } [_asNonSentinelEntry]() { return this; } + previousEntry() { + let t152; + t152 = this[_previousLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + nextEntry() { + let t152; + t152 = this[_nextLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + [_link](previous, next) { + __t$DoubleLinkedQueueEntryNOfE().as(previous); + __t$DoubleLinkedQueueEntryNOfE().as(next); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[80] || CT.C80, null, [previous, next]))); + } + get [_nextLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[81] || CT.C81))); + } + get [_previousLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[82] || CT.C82))); + } + set [_nextLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[83] || CT.C83, value))); + } + set [_previousLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[84] || CT.C84, value))); + } } - (_DoubleLinkedQueueElement.new = function(element, queue) { - _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + (_DoubleLinkedQueueElement.new = function(element, _queue) { + this[element$0] = element; + this[_queue$] = _queue; + _DoubleLinkedQueueElement.__proto__.new.call(this); ; }).prototype = _DoubleLinkedQueueElement.prototype; dart.addTypeTests(_DoubleLinkedQueueElement); _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; dart.addTypeCaches(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement[dart.implements] = () => [_internal.DoubleLinkedQueueEntry$(E)]; dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_remove]: dart.fnType(E, []), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + remove: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(collection._DoubleLinkedQueueElement$(E), []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + [_link]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), + [_previousLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)) + })); + dart.setSetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getSetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(core.Object), + [_previousLink$]: dart.nullable(core.Object) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[25]); + dart.setFieldSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueElement.__proto__), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + element: dart.fieldType(E) })); - dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); return _DoubleLinkedQueueElement; }); collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); @@ -39016,80 +41822,76 @@ dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueEl const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + static ['_#new#tearOff'](E) { + return new (collection._DoubleLinkedQueueSentinel$(E)).new(); + } [_asNonSentinelEntry]() { return null; } [_remove]() { dart.throw(_internal.IterableElementError.noElement()); } - get [_element]() { + get element() { dart.throw(_internal.IterableElementError.noElement()); } - set [_element](value) { - super[_element] = value; - } } - (_DoubleLinkedQueueSentinel.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); - _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); - this[_previousLink$] = this; - this[_nextLink$] = this; + (_DoubleLinkedQueueSentinel.new = function() { + _DoubleLinkedQueueSentinel.__proto__.new.call(this); + this[_previousLink$1] = this; + this[_nextLink$1] = this; }).prototype = _DoubleLinkedQueueSentinel.prototype; dart.addTypeTests(_DoubleLinkedQueueSentinel); _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; dart.addTypeCaches(_DoubleLinkedQueueSentinel); dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_asNonSentinelEntry]: dart.fnType(core.Null, []), [_remove]: dart.fnType(E, []) })); - dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + dart.setGetterSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueSentinel.__proto__), + element: E + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[25]); return _DoubleLinkedQueueSentinel; }); collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); -var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); -var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); var _sentinel = dart.privateName(collection, "_sentinel"); const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); collection.DoubleLinkedQueue$ = dart.generic(E => { - var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + var __t$_DoubleLinkedQueueSentinelOfE = () => (__t$_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_DoubleLinkedQueueIteratorOfE = () => (__t$_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); class DoubleLinkedQueue extends core.Iterable$(E) { - get [_sentinel]() { - let t171; - if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { - this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - } - t171 = this[__DoubleLinkedQueue__sentinel]; - return t171; - } - set [_sentinel](t171) { - if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - this[__DoubleLinkedQueue__sentinel] = t171; + static ['_#new#tearOff'](E) { + return new (collection.DoubleLinkedQueue$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); let list = new (collection.DoubleLinkedQueue$(E)).new(); for (let e of elements) { list.addLast(E.as(e)); } return list; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); + return collection.DoubleLinkedQueue$(E).from(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); - t172 = new (collection.DoubleLinkedQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + t152 = new (collection.DoubleLinkedQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + return collection.DoubleLinkedQueue$(E).of(elements); + } cast(R) { return collection.Queue.castFrom(E, R, this); } @@ -39098,44 +41900,44 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { } addLast(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addFirst(value) { E.as(value); - this[_sentinel][_append](value); + this[_sentinel][_append](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } add(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[86], 320, 27, "iterable"); for (let value of iterable) { - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } } removeLast() { - let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); - let result = lastEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } removeFirst() { - let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - let result = firstEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } remove(o) { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let equals = dart.equals(entry[_element], o); - if (this !== entry[_queue$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return false; + let equals = dart.equals(elementEntry.element, o); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } if (equals) { @@ -39143,89 +41945,101 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return true; } - entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + entry = dart.nullCheck(entry[_nextLink$1]); } - return false; } [_filter](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 366, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let matches = test(entry[_element]); - if (this !== entry[_queue$]) { + if (test == null) dart.nullFailed(I[86], 360, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 360, 43, "removeMatching"); + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return; + let matches = test(elementEntry.element); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - let next = dart.nullCheck(entry[_nextLink$]); + let next = dart.nullCheck(entry[_nextLink$1]); if (removeMatching == matches) { - entry[_remove](); + elementEntry[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; } - entry = _DoubleLinkedQueueEntryOfE().as(next); + entry = next; } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + if (test == null) dart.nullFailed(I[86], 379, 25, "test"); this[_filter](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + if (test == null) dart.nullFailed(I[86], 383, 25, "test"); this[_filter](test, false); } get first() { - let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(firstEntry[_element]); + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } get last() { - let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); - return E.as(lastEntry[_element]); + return dart.nullCheck(this[_sentinel][_previousLink$1]).element; } get single() { - if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { - let entry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(entry[_element]); + if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } dart.throw(_internal.IterableElementError.tooMany()); } firstEntry() { - return this[_sentinel].nextEntry(); + return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); } lastEntry() { - return this[_sentinel].previousEntry(); + return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); } get isEmpty() { - return this[_sentinel][_nextLink$] == this[_sentinel]; + return this[_sentinel][_nextLink$1] == this[_sentinel]; } clear() { - this[_sentinel][_nextLink$] = this[_sentinel]; - this[_sentinel][_previousLink$] = this[_sentinel]; + let t152; + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let entry = cursor[_asNonSentinelEntry](); + if (entry == null) break; + cursor = dart.nullCheck(cursor[_nextLink$1]); + t152 = entry; + (() => { + t152[_nextLink$1] = null; + t152[_previousLink$1] = null; + t152[_queue$0] = null; + return t152; + })(); + } + this[_sentinel][_nextLink$1] = this[_sentinel]; + this[_sentinel][_previousLink$1] = this[_sentinel]; this[_elementCount] = 0; } forEachEntry(action) { - if (action == null) dart.nullFailed(I[83], 466, 26, "action"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let element = _DoubleLinkedQueueElementOfE().as(entry); - let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); - action(element); - if (this === entry[_queue$]) { - next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); - } else if (this !== next[_queue$]) { + if (action == null) dart.nullFailed(I[86], 462, 26, "action"); + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let element = cursor[_asNonSentinelEntry](); + if (element == null) break; + if (element[_queue$0] !== this) { dart.throw(new core.ConcurrentModificationError.new(this)); } - entry = next; + cursor = dart.nullCheck(cursor[_nextLink$1]); + action(element); + if (this === element[_queue$0]) { + cursor = dart.nullCheck(element[_nextLink$1]); + } } } get iterator() { - return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "{", "}"); } } (DoubleLinkedQueue.new = function() { - this[__DoubleLinkedQueue__sentinel] = null; - this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); this[_elementCount] = 0; DoubleLinkedQueue.__proto__.new.call(this); ; @@ -39248,26 +42062,21 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + firstEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), clear: dart.fnType(dart.void, []), - forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [_internal.DoubleLinkedQueueEntry$(E)])]) })); + dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); dart.setGetterSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), iterator: collection._DoubleLinkedQueueIterator$(E), [$iterator]: collection._DoubleLinkedQueueIterator$(E) })); - dart.setSetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setLibraryUri(DoubleLinkedQueue, I[25]); dart.setFieldSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), [_elementCount]: dart.fieldType(core.int) })); dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); @@ -39286,32 +42095,36 @@ dart.addTypeTests(collection.DoubleLinkedQueue, _is_DoubleLinkedQueue_default); var _nextEntry = dart.privateName(collection, "_nextEntry"); const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); collection._DoubleLinkedQueueIterator$ = dart.generic(E => { - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); class _DoubleLinkedQueueIterator extends core.Object { + static ['_#new#tearOff'](E, _queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); + return new (collection._DoubleLinkedQueueIterator$(E)).new(_queue); + } moveNext() { - if (this[_nextEntry] == this[_sentinel]) { + let t152; + let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); + if (nextElement == null) { this[_current$1] = null; this[_nextEntry] = null; - this[_sentinel] = null; + this[_queue$0] = null; return false; } - let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); - if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { - dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + if (this[_queue$0] != nextElement[_queue$0]) { + dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); } - this[_current$1] = elementEntry[_element]; - this[_nextEntry] = elementEntry[_nextLink$]; + this[_current$1] = nextElement.element; + this[_nextEntry] = nextElement[_nextLink$1]; return true; } get current() { return E.as(this[_current$1]); } } - (_DoubleLinkedQueueIterator.new = function(sentinel) { - if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + (_DoubleLinkedQueueIterator.new = function(_queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); this[_current$1] = null; - this[_sentinel] = sentinel; - this[_nextEntry] = sentinel[_nextLink$]; + this[_queue$0] = _queue; + this[_nextEntry] = _queue[_sentinel][_nextLink$1]; ; }).prototype = _DoubleLinkedQueueIterator.prototype; dart.addTypeTests(_DoubleLinkedQueueIterator); @@ -39326,11 +42139,11 @@ collection._DoubleLinkedQueueIterator$ = dart.generic(E => { __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), [_current$1]: dart.fieldType(dart.nullable(E)) })); return _DoubleLinkedQueueIterator; @@ -39348,27 +42161,34 @@ var _grow$ = dart.privateName(collection, "_grow"); var _writeToList = dart.privateName(collection, "_writeToList"); const _is_ListQueue_default = Symbol('_is_ListQueue_default'); collection.ListQueue$ = dart.generic(E => { - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); - var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ListOfEN = () => (__t$ListOfEN = dart.constFn(core.List$(__t$EN())))(); + var __t$_ListQueueIteratorOfE = () => (__t$_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class ListQueue extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, initialCapacity = null) { + return new (collection.ListQueue$(E)).new(initialCapacity); + } static _calculateCapacity(initialCapacity) { if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { return 8; } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { return collection.ListQueue._nextPowerOf2(initialCapacity); } - if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[86], 608, 12, "_isPowerOf2(initialCapacity)"); return initialCapacity; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); + return collection.ListQueue$(E).from(elements); + } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); if (core.List.is(elements)) { let length = elements[$length]; let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); - if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[86], 635, 14, "queue._table.length > length"); for (let i = 0; i < dart.notNull(length); i = i + 1) { queue[_table][$_set](i, E.as(elements[$_get](i))); } @@ -39386,23 +42206,27 @@ collection.ListQueue$ = dart.generic(E => { return result; } } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + return collection.ListQueue$(E).of(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); - t172 = new (collection.ListQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + t152 = new (collection.ListQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } cast(R) { return collection.Queue.castFrom(E, R, this); } get iterator() { - return new (_ListQueueIteratorOfE()).new(this); + return new (__t$_ListQueueIteratorOfE()).new(this); } forEach(f) { - if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + if (f == null) dart.nullFailed(I[86], 672, 21, "f"); let modificationCount = this[_modificationCount]; for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { f(E.as(this[_table][$_get](i))); @@ -39429,17 +42253,17 @@ collection.ListQueue$ = dart.generic(E => { return E.as(this[_table][$_get](this[_head])); } elementAt(index) { - if (index == null) dart.nullFailed(I[83], 633, 19, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[86], 700, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + if (growable == null) dart.nullFailed(I[86], 705, 24, "growable"); let mask = dart.notNull(this[_table][$length]) - 1; let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; - if (length === 0) return ListOfE().empty({growable: growable}); - let list = ListOfE().filled(length, this.first, {growable: growable}); + if (length === 0) return __t$ListOfE().empty({growable: growable}); + let list = __t$ListOfE().filled(length, this.first, {growable: growable}); for (let i = 0; i < length; i = i + 1) { list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); } @@ -39450,9 +42274,9 @@ collection.ListQueue$ = dart.generic(E => { this[_add$](value); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); - if (ListOfE().is(elements)) { + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[86], 723, 27, "elements"); + if (__t$ListOfE().is(elements)) { let list = elements; let addCount = list[$length]; let length = this.length; @@ -39490,8 +42314,8 @@ collection.ListQueue$ = dart.generic(E => { return false; } [_filterWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 697, 26, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + if (test == null) dart.nullFailed(I[86], 764, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 764, 48, "removeMatching"); let modificationCount = this[_modificationCount]; let i = this[_head]; while (i != this[_tail]) { @@ -39507,11 +42331,11 @@ collection.ListQueue$ = dart.generic(E => { } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + if (test == null) dart.nullFailed(I[86], 784, 25, "test"); this[_filterWhere](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + if (test == null) dart.nullFailed(I[86], 792, 25, "test"); this[_filterWhere](test, false); } clear() { @@ -39554,12 +42378,12 @@ collection.ListQueue$ = dart.generic(E => { return result; } static _isPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + if (number == null) dart.nullFailed(I[86], 844, 31, "number"); return (dart.notNull(number) & dart.notNull(number) - 1) === 0; } static _nextPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 784, 32, "number"); - if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + if (number == null) dart.nullFailed(I[86], 851, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[86], 852, 12, "number > 0"); number = (dart.notNull(number) << 1 >>> 0) - 1; for (;;) { let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; @@ -39568,7 +42392,7 @@ collection.ListQueue$ = dart.generic(E => { } } [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); if (expectedModificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } @@ -39580,7 +42404,7 @@ collection.ListQueue$ = dart.generic(E => { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_remove](offset) { - if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + if (offset == null) dart.nullFailed(I[86], 884, 19, "offset"); let mask = dart.notNull(this[_table][$length]) - 1; let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; @@ -39607,7 +42431,7 @@ collection.ListQueue$ = dart.generic(E => { } } [_grow$]() { - let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let newTable = __t$ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); newTable[$setRange](0, split, this[_table], this[_head]); newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); @@ -39616,8 +42440,8 @@ collection.ListQueue$ = dart.generic(E => { this[_table] = newTable; } [_writeToList](target) { - if (target == null) dart.nullFailed(I[83], 856, 29, "target"); - if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (target == null) dart.nullFailed(I[86], 923, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 924, 12, "target.length >= length"); if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); target[$setRange](0, length, this[_table], this[_head]); @@ -39630,11 +42454,11 @@ collection.ListQueue$ = dart.generic(E => { } } [_preGrow](newElementCount) { - if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); - if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + if (newElementCount == null) dart.nullFailed(I[86], 938, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 939, 12, "newElementCount >= length"); newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); - let newTable = ListOfEN().filled(newCapacity, null); + let newTable = __t$ListOfEN().filled(newCapacity, null); this[_tail] = this[_writeToList](newTable); this[_table] = newTable; this[_head] = 0; @@ -39644,7 +42468,7 @@ collection.ListQueue$ = dart.generic(E => { this[_modificationCount] = 0; this[_head] = 0; this[_tail] = 0; - this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); ListQueue.__proto__.new.call(this); ; }).prototype = ListQueue.prototype; @@ -39674,7 +42498,8 @@ collection.ListQueue$ = dart.generic(E => { [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), [_preGrow]: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(ListQueue, I[24]); + dart.setStaticMethodSignature(ListQueue, () => ['_calculateCapacity', 'from', 'of', '_isPowerOf2', '_nextPowerOf2']); + dart.setLibraryUri(ListQueue, I[25]); dart.setFieldSignature(ListQueue, () => ({ __proto__: dart.getFields(ListQueue.__proto__), [_table]: dart.fieldType(core.List$(dart.nullable(E))), @@ -39682,6 +42507,7 @@ collection.ListQueue$ = dart.generic(E => { [_tail]: dart.fieldType(core.int), [_modificationCount]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); dart.defineExtensionMethods(ListQueue, [ 'cast', 'forEach', @@ -39711,24 +42537,28 @@ var _position = dart.privateName(collection, "_position"); const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); collection._ListQueueIterator$ = dart.generic(E => { class _ListQueueIterator extends core.Object { + static ['_#new#tearOff'](E, queue) { + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); + return new (collection._ListQueueIterator$(E)).new(queue); + } get current() { return E.as(this[_current$1]); } moveNext() { - this[_queue$][_checkModification](this[_modificationCount]); + this[_queue$0][_checkModification](this[_modificationCount]); if (this[_position] == this[_end]) { this[_current$1] = null; return false; } - this[_current$1] = this[_queue$][_table][$_get](this[_position]); - this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + this[_current$1] = this[_queue$0][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$0][_table][$length]) - 1) >>> 0; return true; } } (_ListQueueIterator.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); this[_current$1] = null; - this[_queue$] = queue; + this[_queue$0] = queue; this[_end] = queue[_tail]; this[_modificationCount] = queue[_modificationCount]; this[_position] = queue[_head]; @@ -39746,10 +42576,10 @@ collection._ListQueueIterator$ = dart.generic(E => { __proto__: dart.getGetters(_ListQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setLibraryUri(_ListQueueIterator, I[25]); dart.setFieldSignature(_ListQueueIterator, () => ({ __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), [_end]: dart.finalFieldType(core.int), [_modificationCount]: dart.finalFieldType(core.int), [_position]: dart.fieldType(core.int), @@ -39767,7 +42597,7 @@ collection.SetBase$ = dart.generic(E => { dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); class SetBase extends Object_SetMixin$36 { static setToString(set) { - if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + if (set == null) dart.nullFailed(I[78], 307, 33, "set"); return collection.IterableBase.iterableToFullString(set, "{", "}"); } } @@ -39777,14 +42607,15 @@ collection.SetBase$ = dart.generic(E => { dart.addTypeTests(SetBase); SetBase.prototype[_is_SetBase_default] = true; dart.addTypeCaches(SetBase); - dart.setLibraryUri(SetBase, I[24]); + dart.setStaticMethodSignature(SetBase, () => ['setToString']); + dart.setLibraryUri(SetBase, I[25]); return SetBase; }); collection.SetBase = collection.SetBase$(); dart.addTypeTests(collection.SetBase, _is_SetBase_default); const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); collection._UnmodifiableSetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _UnmodifiableSetMixin extends core.Object { static _throwUnmodifiable() { dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); @@ -39799,28 +42630,28 @@ collection._UnmodifiableSetMixin$ = dart.generic(E => { return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 356, 27, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 359, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 362, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + if (test == null) dart.nullFailed(I[78], 365, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + if (test == null) dart.nullFailed(I[78], 368, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } @@ -39850,7 +42681,8 @@ collection._UnmodifiableSetMixin$ = dart.generic(E => { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); + dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); return _UnmodifiableSetMixin; }); collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); @@ -39858,7 +42690,7 @@ dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_de var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); collection._UnmodifiableSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; (_SetBase__UnmodifiableSetMixin$36.new = function() { _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); @@ -39871,8 +42703,12 @@ collection._UnmodifiableSet$ = dart.generic(E => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _map) { + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); + return new (collection._UnmodifiableSet$(E)).new(_map); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -39894,7 +42730,7 @@ collection._UnmodifiableSet$ = dart.generic(E => { } } (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); this[_map$9] = _map; _UnmodifiableSet.__proto__.new.call(this); ; @@ -39917,7 +42753,7 @@ collection._UnmodifiableSet$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setLibraryUri(_UnmodifiableSet, I[25]); dart.setFieldSignature(_UnmodifiableSet, () => ({ __proto__: dart.getFields(_UnmodifiableSet.__proto__), [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) @@ -39935,6 +42771,10 @@ collection.UnmodifiableSetView$ = dart.generic(E => { }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); + return new (collection.UnmodifiableSetView$(E)).new(source); + } contains(element) { return this[_source].contains(element); } @@ -39952,7 +42792,7 @@ collection.UnmodifiableSetView$ = dart.generic(E => { } } (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); this[_source] = source; ; }).prototype = UnmodifiableSetView.prototype; @@ -39974,7 +42814,7 @@ collection.UnmodifiableSetView$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setLibraryUri(UnmodifiableSetView, I[25]); dart.setFieldSignature(UnmodifiableSetView, () => ({ __proto__: dart.getFields(UnmodifiableSetView.__proto__), [_source]: dart.finalFieldType(core.Set$(E)) @@ -39991,19 +42831,22 @@ var _left$ = dart.privateName(collection, "_left"); var _right$ = dart.privateName(collection, "_right"); const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); collection._SplayTreeNode$ = dart.generic((K, Node) => { - var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + var __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); class _SplayTreeNode extends core.Object { get [_left$]() { return this[_left]; } set [_left$](value) { - this[_left] = NodeN().as(value); + this[_left] = __t$NodeN().as(value); } get [_right$]() { return this[_right]; } set [_right$](value) { - this[_right] = NodeN().as(value); + this[_right] = __t$NodeN().as(value); + } + static ['_#new#tearOff'](K, Node, key) { + return new (collection._SplayTreeNode$(K, Node)).new(key); } } (_SplayTreeNode.new = function(key) { @@ -40015,7 +42858,7 @@ collection._SplayTreeNode$ = dart.generic((K, Node) => { dart.addTypeTests(_SplayTreeNode); _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setLibraryUri(_SplayTreeNode, I[25]); dart.setFieldSignature(_SplayTreeNode, () => ({ __proto__: dart.getFields(_SplayTreeNode.__proto__), key: dart.finalFieldType(K), @@ -40028,7 +42871,11 @@ collection._SplayTreeNode = collection._SplayTreeNode$(); dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); collection._SplayTreeSetNode$ = dart.generic(K => { - class _SplayTreeSetNode extends collection._SplayTreeNode {} + class _SplayTreeSetNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, key) { + return new (collection._SplayTreeSetNode$(K)).new(key); + } + } (_SplayTreeSetNode.new = function(key) { _SplayTreeSetNode.__proto__.new.call(this, key); ; @@ -40036,7 +42883,7 @@ collection._SplayTreeSetNode$ = dart.generic(K => { dart.addTypeTests(_SplayTreeSetNode); _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[24]); + dart.setLibraryUri(_SplayTreeSetNode, I[25]); return _SplayTreeSetNode; }, K => { dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); @@ -40046,16 +42893,19 @@ dart.addTypeTests(collection._SplayTreeSetNode, _is__SplayTreeSetNode_default); var _replaceValue = dart.privateName(collection, "_replaceValue"); const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); collection._SplayTreeMapNode$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); class _SplayTreeMapNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, V, key, value) { + return new (collection._SplayTreeMapNode$(K, V)).new(key, value); + } [_replaceValue](value) { - let t172; + let t152; V.as(value); - t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); return (() => { - t172[_left$] = this[_left$]; - t172[_right$] = this[_right$]; - return t172; + t152[_left$] = this[_left$]; + t152[_right$] = this[_right$]; + return t152; })(); } toString() { @@ -40075,7 +42925,7 @@ collection._SplayTreeMapNode$ = dart.generic((K, V) => { __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setLibraryUri(_SplayTreeMapNode, I[25]); dart.setFieldSignature(_SplayTreeMapNode, () => ({ __proto__: dart.getFields(_SplayTreeMapNode.__proto__), value: dart.finalFieldType(V) @@ -40102,13 +42952,13 @@ const _is__SplayTree_default = Symbol('_is__SplayTree_default'); collection._SplayTree$ = dart.generic((K, Node) => { class _SplayTree extends core.Object { [_splay](key) { - let t173, t172; + let t153, t152; K.as(key); let root = this[_root]; if (root == null) { - t172 = key; - t173 = key; - this[_compare](t172, t173); + t152 = key; + t153 = key; + this[_compare](t152, t153); return -1; } let right = null; @@ -40175,7 +43025,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { return comp; } [_splayMin](node) { - if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + if (node == null) dart.nullFailed(I[87], 173, 23, "node"); let current = node; let nextLeft = current[_left$]; while (nextLeft != null) { @@ -40188,7 +43038,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { return current; } [_splayMax](node) { - if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + if (node == null) dart.nullFailed(I[87], 191, 23, "node"); let current = node; let nextRight = current[_right$]; while (nextRight != null) { @@ -40220,8 +43070,8 @@ collection._SplayTree$ = dart.generic((K, Node) => { return result; } [_addNewRoot](node, comp) { - if (node == null) dart.nullFailed(I[84], 233, 25, "node"); - if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + if (node == null) dart.nullFailed(I[87], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[87], 233, 35, "comp"); this[_count$] = dart.notNull(this[_count$]) + 1; this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; let root = this[_root]; @@ -40258,8 +43108,8 @@ collection._SplayTree$ = dart.generic((K, Node) => { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_containsKey](key) { - let t172; - return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + let t152; + return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; } } (_SplayTree.new = function() { @@ -40286,7 +43136,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { [_first]: dart.nullable(Node), [_last$]: dart.nullable(Node) })); - dart.setLibraryUri(_SplayTree, I[24]); + dart.setLibraryUri(_SplayTree, I[25]); dart.setFieldSignature(_SplayTree, () => ({ __proto__: dart.getFields(_SplayTree.__proto__), [_count$]: dart.fieldType(core.int), @@ -40302,19 +43152,19 @@ var _compare$ = dart.privateName(collection, "SplayTreeMap._compare"); var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); collection.SplayTreeMap$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); - var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); - var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); - var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); - var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_SplayTreeMapNodeNOfK$V = () => (__t$_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(__t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeMapNodeNOfK$VTobool = () => (__t$_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [__t$_SplayTreeMapNodeNOfK$V()])))(); + var __t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, __t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeValueIterableOfK$V = () => (__t$_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var __t$_SplayTreeMapEntryIterableOfK$V = () => (__t$_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; (_SplayTree_MapMixin$36.new = function() { _SplayTree_MapMixin$36.__proto__.new.call(this); @@ -40331,16 +43181,21 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return this[_compare$]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 397, 17, "_compare"); this[_compare$] = value; } get [_validKey$0]() { return this[_validKey]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 398, 14, "_validKey"); this[_validKey] = value; } + static ['_#new#tearOff'](K, V, compare = null, isValidKey = null) { + return new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + } static from(other, compare = null, isValidKey = null) { - if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); if (core.Map$(K, V).is(other)) { return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); } @@ -40350,17 +43205,25 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); + return collection.SplayTreeMap$(K, V).from(other, compare, isValidKey); + } static of(other, compare = null, isValidKey = null) { - let t172; - if (other == null) dart.nullFailed(I[84], 344, 37, "other"); - t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + let t152; + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let compare = opts && 'compare' in opts ? opts.compare : null; @@ -40369,16 +43232,29 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.SplayTreeMap$(K, V).fromIterable(iterable, {key: key, value: value, compare: compare, isValidKey: isValidKey}); + } static fromIterables(keys, values, compare = null, isValidKey = null) { - if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); - if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); + return collection.SplayTreeMap$(K, V).fromIterables(keys, values, compare, isValidKey); + } _get(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; if (this[_root] != null) { let comp = this[_splay](K.as(key)); if (comp === 0) { @@ -40388,8 +43264,8 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return null; } remove(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; let mapRoot = this[_remove](K.as(key)); if (mapRoot != null) return mapRoot.value; return null; @@ -40404,13 +43280,13 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { this[_splayCount] = dart.notNull(this[_splayCount]) + 1; return value$; } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[87], 525, 26, "ifAbsent"); let comp = this[_splay](key); if (comp === 0) { return dart.nullCheck(this[_root]).value; @@ -40423,17 +43299,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } if (splayCount != this[_splayCount]) { comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value; } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[87], 545, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); let comp = this[_splay](key); if (comp === 0) { let modificationCount = this[_modificationCount]; @@ -40459,17 +43335,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { if (splayCount != this[_splayCount]) { comp = this[_splay](key); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); return newValue; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[87], 577, 20, "update"); let root = this[_root]; if (root == null) return; - let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + let iterator = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(iterator.moveNext())) { let node = iterator.current; let newValue = update(node.key, node.value); @@ -40477,11 +43353,11 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[87], 588, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } get isEmpty() { return this[_root] == null; @@ -40490,8 +43366,8 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return !dart.test(this.isEmpty); } forEach(f) { - if (f == null) dart.nullFailed(I[84], 493, 21, "f"); - let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + if (f == null) dart.nullFailed(I[87], 600, 21, "f"); + let nodes = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(nodes.moveNext())) { let node = nodes.current; f(node.key, node.value); @@ -40521,17 +43397,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } return false; }; - dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); return visit(this[_root]); } get keys() { - return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); } get values() { - return new (_SplayTreeValueIterableOfK$V()).new(this); + return new (__t$_SplayTreeValueIterableOfK$V()).new(this); } get entries() { - return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); } firstKey() { if (this[_root] == null) return null; @@ -40573,10 +43449,10 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } } (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$] = null; - this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); - this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + this[_compare$] = (t152 = compare, t152 == null ? collection._defaultCompare(K) : t152); + this[_validKey] = (t152$ = isValidKey, t152$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t152$); SplayTreeMap.__proto__.new.call(this); ; }).prototype = SplayTreeMap.prototype; @@ -40598,12 +43474,13 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(SplayTreeMap, () => ['from', 'of', 'fromIterable', 'fromIterables']); dart.setGetterSignature(SplayTreeMap, () => ({ __proto__: dart.getGetters(SplayTreeMap.__proto__), keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setLibraryUri(SplayTreeMap, I[25]); dart.setFieldSignature(SplayTreeMap, () => ({ __proto__: dart.getFields(SplayTreeMap.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), @@ -40642,7 +43519,7 @@ var _rebuildPath = dart.privateName(collection, "_rebuildPath"); var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { - var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + var __t$JSArrayOfNode = () => (__t$JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); class _SplayTreeIterator extends core.Object { get current() { if (dart.test(this[_path][$isEmpty])) return T.as(null); @@ -40695,8 +43572,8 @@ collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { } } (_SplayTreeIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); - this[_path] = JSArrayOfNode().of([]); + if (tree == null) dart.nullFailed(I[87], 722, 42, "tree"); + this[_path] = __t$JSArrayOfNode().of([]); this[_modificationCount] = null; this[_tree$] = tree; this[_splayCount] = tree[_splayCount]; @@ -40716,7 +43593,7 @@ collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { __proto__: dart.getGetters(_SplayTreeIterator.__proto__), current: T })); - dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setLibraryUri(_SplayTreeIterator, I[25]); dart.setFieldSignature(_SplayTreeIterator, () => ({ __proto__: dart.getFields(_SplayTreeIterator.__proto__), [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), @@ -40731,10 +43608,14 @@ dart.addTypeTests(collection._SplayTreeIterator, _is__SplayTreeIterator_default) var _copyNode = dart.privateName(collection, "_copyNode"); const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { - var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); - var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); - var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + var __t$_SplayTreeKeyIteratorOfK$Node = () => (__t$_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var __t$SplayTreeSetOfK = () => (__t$SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var __t$KAndKToint = () => (__t$KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + static ['_#new#tearOff'](K, Node, _tree) { + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); + return new (collection._SplayTreeKeyIterable$(K, Node)).new(_tree); + } get length() { return this[_tree$][_count$]; } @@ -40742,20 +43623,20 @@ collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { return this[_tree$][_count$] === 0; } get iterator() { - return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); } contains(o) { return this[_tree$][_containsKey](o); } toSet() { - let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + let set = new (__t$SplayTreeSetOfK()).new(__t$KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); set[_count$] = this[_tree$][_count$]; set[_root] = set[_copyNode](Node, this[_tree$][_root]); return set; } } (_SplayTreeKeyIterable.new = function(_tree) { - if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); this[_tree$] = _tree; _SplayTreeKeyIterable.__proto__.new.call(this); ; @@ -40768,7 +43649,7 @@ collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { iterator: core.Iterator$(K), [$iterator]: core.Iterator$(K) })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) @@ -40781,8 +43662,12 @@ collection._SplayTreeKeyIterable = collection._SplayTreeKeyIterable$(); dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); collection._SplayTreeValueIterable$ = dart.generic((K, V) => { - var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + var __t$_SplayTreeValueIteratorOfK$V = () => (__t$_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); + return new (collection._SplayTreeValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40790,11 +43675,11 @@ collection._SplayTreeValueIterable$ = dart.generic((K, V) => { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); this[_map$5] = _map; _SplayTreeValueIterable.__proto__.new.call(this); ; @@ -40807,7 +43692,7 @@ collection._SplayTreeValueIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setLibraryUri(_SplayTreeValueIterable, I[25]); dart.setFieldSignature(_SplayTreeValueIterable, () => ({ __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40834,6 +43719,12 @@ core.MapEntry$ = dart.generic((K, V) => { set value(value) { super.value = value; } + static ['_#new#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } + static ['_#_#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } toString() { return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; } @@ -40846,12 +43737,14 @@ core.MapEntry$ = dart.generic((K, V) => { dart.addTypeTests(MapEntry); MapEntry.prototype[_is_MapEntry_default] = true; dart.addTypeCaches(MapEntry); - dart.setLibraryUri(MapEntry, I[8]); + dart.setStaticMethodSignature(MapEntry, () => ['new']); + dart.setLibraryUri(MapEntry, I[9]); dart.setFieldSignature(MapEntry, () => ({ __proto__: dart.getFields(MapEntry.__proto__), key: dart.finalFieldType(K), value: dart.finalFieldType(V) })); + dart.setStaticFieldSignature(MapEntry, () => ['_redirecting#']); dart.defineExtensionMethods(MapEntry, ['toString']); return MapEntry; }); @@ -40859,8 +43752,12 @@ core.MapEntry = core.MapEntry$(); dart.addTypeTests(core.MapEntry, _is_MapEntry_default); const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); + return new (collection._SplayTreeMapEntryIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40868,11 +43765,11 @@ collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); this[_map$5] = _map; _SplayTreeMapEntryIterable.__proto__.new.call(this); ; @@ -40885,7 +43782,7 @@ collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(core.MapEntry$(K, V)), [$iterator]: core.Iterator$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40898,13 +43795,17 @@ dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryI const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + static ['_#new#tearOff'](K, Node, map) { + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); + return new (collection._SplayTreeKeyIterator$(K, Node)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + if (node == null) dart.nullFailed(I[87], 827, 20, "node"); return node.key; } } (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); _SplayTreeKeyIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeKeyIterator.prototype; @@ -40915,7 +43816,7 @@ collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), [_getValue]: dart.fnType(K, [Node]) })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); return _SplayTreeKeyIterator; }); collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); @@ -40923,13 +43824,17 @@ dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_de const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); collection._SplayTreeValueIterator$ = dart.generic((K, V) => { class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); + return new (collection._SplayTreeValueIterator$(K, V)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + if (node == null) dart.nullFailed(I[87], 833, 39, "node"); return node.value; } } (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); _SplayTreeValueIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeValueIterator.prototype; @@ -40940,7 +43845,7 @@ collection._SplayTreeValueIterator$ = dart.generic((K, V) => { __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) })); - dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + dart.setLibraryUri(_SplayTreeValueIterator, I[25]); return _SplayTreeValueIterator; }); collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); @@ -40948,14 +43853,18 @@ dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterato const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, tree) { + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); + return new (collection._SplayTreeMapEntryIterator$(K, V)).new(tree); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + if (node == null) dart.nullFailed(I[87], 839, 52, "node"); return node; } [_replaceValue](value) { - let t172; + let t152; V.as(value); - if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[87], 843, 12, "_path.isNotEmpty"); if (this[_modificationCount] != this[_tree$][_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); } @@ -40971,16 +43880,16 @@ collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { if (last == parent[_left$]) { parent[_left$] = newLast; } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); parent[_right$] = newLast; } } this[_path][$add](newLast); - this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); } } (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); ; }).prototype = _SplayTreeMapEntryIterator.prototype; @@ -40992,7 +43901,7 @@ collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); return _SplayTreeMapEntryIterator; }); collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); @@ -41003,12 +43912,12 @@ var _validKey$1 = dart.privateName(collection, "SplayTreeSet._validKey"); var _clone$ = dart.privateName(collection, "_clone"); const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); collection.SplayTreeSet$ = dart.generic(E => { - var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); - var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); - var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var __t$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var __t$_SplayTreeSetNodeNOfE = () => (__t$_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(__t$_SplayTreeSetNodeOfE())))(); + var __t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, __t$_SplayTreeSetNodeOfE())))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$SplayTreeSetOfE = () => (__t$SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; (_SplayTree_IterableMixin$36.new = function() { _SplayTree_IterableMixin$36.__proto__.new.call(this); @@ -41024,22 +43933,27 @@ collection.SplayTreeSet$ = dart.generic(E => { return this[_root$0]; } set [_root](value) { - this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + this[_root$0] = __t$_SplayTreeSetNodeNOfE().as(value); } get [_compare]() { return this[_compare$0]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 954, 17, "_compare"); this[_compare$0] = value; } get [_validKey$0]() { return this[_validKey$1]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 955, 14, "_validKey"); this[_validKey$1] = value; } + static ['_#new#tearOff'](E, compare = null, isValidKey = null) { + return new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + } static from(elements, compare = null, isValidKey = null) { - if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); if (core.Iterable$(E).is(elements)) { return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); } @@ -41049,28 +43963,36 @@ collection.SplayTreeSet$ = dart.generic(E => { } return result; } + static ['_#from#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); + return collection.SplayTreeSet$(E).from(elements, compare, isValidKey); + } static of(elements, compare = null, isValidKey = null) { - let t172; - if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); - t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + let t152; + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } [_newSet](T) { return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { - let t173, t172; - t172 = E.as(a); - t173 = E.as(b); - return this[_compare](t172, t173); + let t153, t152; + t152 = E.as(a); + t153 = E.as(b); + return this[_compare](t152, t153); }, dart.fnType(core.int, [T, T])), this[_validKey$0]); } cast(R) { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); } get iterator() { - return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + return new (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); } get length() { return this[_count$]; @@ -41095,8 +44017,8 @@ collection.SplayTreeSet$ = dart.generic(E => { return dart.nullCheck(this[_root]).key; } contains(element) { - let t172; - return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + let t152; + return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; } add(element) { E.as(element); @@ -41105,38 +44027,38 @@ collection.SplayTreeSet$ = dart.generic(E => { [_add$](element) { let compare = this[_splay](element); if (compare === 0) return false; - this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); return true; } remove(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; return this[_remove](E.as(object)) != null; } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[87], 1082, 27, "elements"); for (let element of elements) { this[_add$](element); } } removeAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + let t152; + if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); for (let element of elements) { - if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); } } retainAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); - let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let t152; + if (elements == null) dart.nullFailed(I[87], 1094, 36, "elements"); + let retainSet = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); let modificationCount = this[_modificationCount]; for (let object of elements) { if (modificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + if (dart.test((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { retainSet.add(dart.nullCheck(this[_root]).key); } } @@ -41147,70 +44069,70 @@ collection.SplayTreeSet$ = dart.generic(E => { } } lookup(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return null; let comp = this[_splay](E.as(object)); if (comp !== 0) return null; return dart.nullCheck(this[_root]).key; } intersection(other) { - if (other == null) dart.nullFailed(I[84], 936, 36, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1123, 36, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); } return result; } difference(other) { - if (other == null) dart.nullFailed(I[84], 944, 34, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1131, 34, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); } return result; } union(other) { - let t172; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[84], 952, 23, "other"); - t172 = this[_clone$](); + let t152; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); + t152 = this[_clone$](); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } [_clone$]() { - let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); set[_count$] = this[_count$]; - set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + set[_root] = this[_copyNode](__t$_SplayTreeSetNodeOfE(), this[_root]); return set; } [_copyNode](Node, node) { dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); if (node == null) return null; function copyChildren(node, dest) { - if (node == null) dart.nullFailed(I[84], 972, 28, "node"); - if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + if (node == null) dart.nullFailed(I[87], 1159, 28, "node"); + if (dest == null) dart.nullFailed(I[87], 1159, 55, "dest"); let left = null; let right = null; do { left = node[_left$]; right = node[_right$]; if (left != null) { - let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + let newLeft = new (__t$_SplayTreeSetNodeOfE()).new(left.key); dest[_left$] = newLeft; copyChildren(left, newLeft); } if (right != null) { - let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + let newRight = new (__t$_SplayTreeSetNodeOfE()).new(right.key); dest[_right$] = newRight; node = right; dest = newRight; } } while (right != null); } - dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); - let result = new (_SplayTreeSetNodeOfE()).new(node.key); + dart.fn(copyChildren, dart.fnType(dart.void, [Node, __t$_SplayTreeSetNodeOfE()])); + let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); copyChildren(node, result); return result; } @@ -41225,10 +44147,10 @@ collection.SplayTreeSet$ = dart.generic(E => { } } (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$0] = null; - this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); - this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + this[_compare$0] = (t152 = compare, t152 == null ? collection._defaultCompare(E) : t152); + this[_validKey$1] = (t152$ = isValidKey, t152$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t152$); SplayTreeSet.__proto__.new.call(this); ; }).prototype = SplayTreeSet.prototype; @@ -41247,12 +44169,13 @@ collection.SplayTreeSet$ = dart.generic(E => { [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) })); + dart.setStaticMethodSignature(SplayTreeSet, () => ['from', 'of']); dart.setGetterSignature(SplayTreeSet, () => ({ __proto__: dart.getGetters(SplayTreeSet.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setLibraryUri(SplayTreeSet, I[25]); dart.setFieldSignature(SplayTreeSet, () => ({ __proto__: dart.getFields(SplayTreeSet.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), @@ -41280,15 +44203,15 @@ collection._defaultHashCode = function _defaultHashCode(a) { return dart.hashCode(a); }; collection._isToStringVisiting = function _isToStringVisiting(o) { - if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + if (o == null) dart.nullFailed(I[41], 283, 33, "o"); for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; } return false; }; collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { - if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); - if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + if (iterable == null) dart.nullFailed(I[41], 291, 48, "iterable"); + if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); let length = 0; let count = 0; let it = iterable[$iterator]; @@ -41319,7 +44242,7 @@ collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, } else { let ultimate = it.current; count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); while (dart.test(it.moveNext())) { penultimate = ultimate; ultimate = it.current; @@ -41360,11 +44283,11 @@ collection._dynamicCompare = function _dynamicCompare(a, b) { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); }; collection._defaultCompare = function _defaultCompare(K) { - let compare = C[78] || CT.C78; + let compare = C[85] || CT.C85; if (dart.fnType(core.int, [K, K]).is(compare)) { return compare; } - return C[79] || CT.C79; + return C[86] || CT.C86; }; dart.defineLazy(collection, { /*collection._toStringVisiting*/get _toStringVisiting() { @@ -41381,7 +44304,7 @@ var _computeKeys = dart.privateName(convert, "_computeKeys"); var _upgrade = dart.privateName(convert, "_upgrade"); core.String = class String extends core.Object { static _stringFromJSArray(list, start, endOrNull) { - if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + if (start == null) dart.nullFailed(I[7], 668, 35, "start"); let len = core.int.as(dart.dload(list, 'length')); let end = core.RangeError.checkValidRange(start, endOrNull, len); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { @@ -41390,15 +44313,15 @@ core.String = class String extends core.Object { return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); } static _stringFromUint8List(charCodes, start, endOrNull) { - if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); - if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + if (charCodes == null) dart.nullFailed(I[7], 678, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 678, 38, "start"); let len = charCodes[$length]; let end = core.RangeError.checkValidRange(start, endOrNull, len); return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); } static _stringFromIterable(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); - if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (charCodes == null) dart.nullFailed(I[7], 685, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 685, 36, "start"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); if (end != null && dart.notNull(end) < dart.notNull(start)) { dart.throw(new core.RangeError.range(end, start, charCodes[$length])); @@ -41431,8 +44354,8 @@ core.String = class String extends core.Object { return dart.as(o, core.String); } static fromCharCodes(charCodes, start = 0, end = null) { - if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); - if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); if (_interceptors.JSArray.is(charCodes)) { return core.String._stringFromJSArray(charCodes, start, end); } @@ -41441,14 +44364,29 @@ core.String = class String extends core.Object { } return core.String._stringFromIterable(charCodes, start, end); } + static ['_#fromCharCodes#tearOff'](charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); + return core.String.fromCharCodes(charCodes, start, end); + } + static ['_#fromCharCode#tearOff'](charCode) { + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); + return core.String.fromCharCode(charCode); + } static fromCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); return _js_helper.Primitives.stringFromCharCode(charCode); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); + return core.String.fromEnvironment(name, {defaultValue: defaultValue}); + } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; - if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); } }; @@ -41456,8 +44394,12 @@ core.String = class String extends core.Object { }).prototype = core.String.prototype; dart.addTypeCaches(core.String); core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; -dart.setLibraryUri(core.String, I[8]); +dart.setStaticMethodSignature(core.String, () => ['_stringFromJSArray', '_stringFromUint8List', '_stringFromIterable', 'is', 'as', 'fromCharCodes', 'fromCharCode', 'fromEnvironment']); +dart.setLibraryUri(core.String, I[9]); convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + static ['_#new#tearOff'](_original) { + return new convert._JsonMap.new(_original); + } _get(key) { if (dart.test(this[_isUpgraded])) { return this[_upgradedMap][$_get](key); @@ -41484,12 +44426,15 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } get values() { if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => { + if (each == null) dart.nullFailed(I[88], 167, 44, "each"); + return this._get(each); + }, T$0.StringTodynamic())); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (key == null) dart.nullFailed(I[88], 170, 16, "key"); if (dart.test(this[_isUpgraded])) { this[_upgradedMap][$_set](key, value); } else if (dart.test(this.containsKey(key))) { @@ -41506,9 +44451,9 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } addAll(other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + if (other == null) dart.nullFailed(I[88], 185, 36, "other"); other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + if (key == null) dart.nullFailed(I[88], 186, 20, "key"); this._set(key, value); }, T$0.StringAnddynamicTovoid())); } @@ -41528,9 +44473,9 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[85], 207, 15, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (key == null) dart.nullFailed(I[88], 207, 15, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[88], 207, 20, "ifAbsent"); if (dart.test(this.containsKey(key))) return this._get(key); let value = ifAbsent(); this._set(key, value); @@ -41552,7 +44497,7 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } } forEach(f) { - if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (f == null) dart.nullFailed(I[88], 234, 21, "f"); if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); let keys = this[_computeKeys](); for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { @@ -41572,12 +44517,12 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. return this[_processed] == null; } get [_upgradedMap]() { - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 266, 12, "_isUpgraded"); return this[_data]; } [_computeKeys]() { - if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); - let keys = T$.ListN().as(this[_data]); + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 274, 12, "!_isUpgraded"); + let keys = T$0.ListN().as(this[_data]); if (keys == null) { keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); } @@ -41598,25 +44543,25 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } this[_original$] = this[_processed] = null; this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); return result; } [_process](key) { - if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (key == null) dart.nullFailed(I[88], 311, 19, "key"); if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); return convert._JsonMap._setProperty(this[_processed], key, result); } static _hasProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + if (key == null) dart.nullFailed(I[88], 321, 43, "key"); return Object.prototype.hasOwnProperty.call(object, key); } static _getProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + if (key == null) dart.nullFailed(I[88], 323, 38, "key"); return object[key]; } static _setProperty(object, key, value) { - if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + if (key == null) dart.nullFailed(I[88], 324, 38, "key"); return object[key] = value; } static _getPropertyNames(object) { @@ -41651,6 +44596,7 @@ dart.setMethodSignature(convert._JsonMap, () => ({ [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_process]: dart.fnType(dart.dynamic, [core.String]) })); +dart.setStaticMethodSignature(convert._JsonMap, () => ['_hasProperty', '_getProperty', '_setProperty', '_getPropertyNames', '_isUnprocessed', '_newJavaScriptObject']); dart.setGetterSignature(convert._JsonMap, () => ({ __proto__: dart.getGetters(convert._JsonMap.__proto__), keys: core.Iterable$(core.String), @@ -41658,7 +44604,7 @@ dart.setGetterSignature(convert._JsonMap, () => ({ [_isUpgraded]: core.bool, [_upgradedMap]: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(convert._JsonMap, I[31]); +dart.setLibraryUri(convert._JsonMap, I[33]); dart.setFieldSignature(convert._JsonMap, () => ({ __proto__: dart.getFields(convert._JsonMap.__proto__), [_original$]: dart.fieldType(dart.dynamic), @@ -41685,11 +44631,15 @@ dart.defineExtensionAccessors(convert._JsonMap, [ ]); var _parent$ = dart.privateName(convert, "_parent"); convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + static ['_#new#tearOff'](_parent) { + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); + return new convert._JsonMapKeyIterable.new(_parent); + } get length() { return this[_parent$].length; } elementAt(index) { - if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + if (index == null) dart.nullFailed(I[88], 340, 24, "index"); return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); } get iterator() { @@ -41700,14 +44650,14 @@ convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIt } }; (convert._JsonMapKeyIterable.new = function(_parent) { - if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); this[_parent$] = _parent; convert._JsonMapKeyIterable.__proto__.new.call(this); ; }).prototype = convert._JsonMapKeyIterable.prototype; dart.addTypeTests(convert._JsonMapKeyIterable); dart.addTypeCaches(convert._JsonMapKeyIterable); -dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); +dart.setLibraryUri(convert._JsonMapKeyIterable, I[33]); dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), [_parent$]: dart.finalFieldType(convert._JsonMap) @@ -41720,11 +44670,11 @@ var _stringSink$ = dart.privateName(convert, "_stringSink"); convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + if (str == null) dart.nullFailed(I[89], 162, 19, "str"); this.addSlice(str, 0, str.length, false); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); return new convert._Utf8ConversionSink.new(this, allowMalformed); } asStringSink() { @@ -41743,24 +44693,28 @@ dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), asStringSink: dart.fnType(convert.ClosableStringSink, []) })); -dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); +dart.setLibraryUri(convert.StringConversionSinkMixin, I[33]); convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; (convert.StringConversionSinkBase.new = function() { ; }).prototype = convert.StringConversionSinkBase.prototype; dart.addTypeTests(convert.StringConversionSinkBase); dart.addTypeCaches(convert.StringConversionSinkBase); -dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); +dart.setLibraryUri(convert.StringConversionSinkBase, I[33]); const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); convert._StringSinkConversionSink$ = dart.generic(TStringSink => { class _StringSinkConversionSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](TStringSink, _stringSink) { + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); + return new (convert._StringSinkConversionSink$(TStringSink)).new(_stringSink); + } close() { } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 183, 24, "str"); - if (start == null) dart.nullFailed(I[86], 183, 33, "start"); - if (end == null) dart.nullFailed(I[86], 183, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 183, 24, "str"); + if (start == null) dart.nullFailed(I[89], 183, 33, "start"); + if (end == null) dart.nullFailed(I[89], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 183, 54, "isLast"); if (start !== 0 || end !== str.length) { for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); @@ -41772,11 +44726,11 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + if (str == null) dart.nullFailed(I[89], 194, 19, "str"); this[_stringSink$].write(str); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } asStringSink() { @@ -41784,7 +44738,7 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { } } (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); this[_stringSink$] = _stringSink; ; }).prototype = _StringSinkConversionSink.prototype; @@ -41796,7 +44750,7 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setLibraryUri(_StringSinkConversionSink, I[33]); dart.setFieldSignature(_StringSinkConversionSink, () => ({ __proto__: dart.getFields(_StringSinkConversionSink.__proto__), [_stringSink$]: dart.finalFieldType(TStringSink) @@ -41812,9 +44766,9 @@ core.StringBuffer = class StringBuffer extends core.Object { this[_contents] = this[_contents] + str; } static _writeAll(string, objects, separator) { - if (string == null) dart.nullFailed(I[7], 751, 34, "string"); - if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); - if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + if (string == null) dart.nullFailed(I[7], 820, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 820, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 820, 67, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return string; if (separator[$isEmpty]) { @@ -41833,6 +44787,10 @@ core.StringBuffer = class StringBuffer extends core.Object { static _writeOne(string, obj) { return string + dart.str(obj); } + static ['_#new#tearOff'](content = "") { + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); + return new core.StringBuffer.new(content); + } get length() { return this[_contents].length; } @@ -41846,12 +44804,12 @@ core.StringBuffer = class StringBuffer extends core.Object { this[_writeString](dart.str(obj)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 794, 26, "charCode"); this[_writeString](core.String.fromCharCode(charCode)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + if (objects == null) dart.nullFailed(I[7], 799, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); } writeln(obj = "") { @@ -41865,7 +44823,7 @@ core.StringBuffer = class StringBuffer extends core.Object { } }; (core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); this[_contents] = dart.str(content); ; }).prototype = core.StringBuffer.prototype; @@ -41881,19 +44839,24 @@ dart.setMethodSignature(core.StringBuffer, () => ({ writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(core.StringBuffer, () => ['_writeAll', '_writeOne']); dart.setGetterSignature(core.StringBuffer, () => ({ __proto__: dart.getGetters(core.StringBuffer.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(core.StringBuffer, I[8]); +dart.setLibraryUri(core.StringBuffer, I[9]); dart.setFieldSignature(core.StringBuffer, () => ({ __proto__: dart.getFields(core.StringBuffer.__proto__), [_contents]: dart.fieldType(core.String) })); dart.defineExtensionMethods(core.StringBuffer, ['toString']); convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); + return new convert._JsonDecoderSink.new(_reviver, _sink); + } close() { super.close(); let accumulated = dart.toString(this[_stringSink$]); @@ -41904,7 +44867,7 @@ convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkCon } }; (convert._JsonDecoderSink.new = function(_reviver, _sink) { - if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); this[_reviver$] = _reviver; this[_sink$0] = _sink; convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); @@ -41912,7 +44875,7 @@ convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkCon }).prototype = convert._JsonDecoderSink.prototype; dart.addTypeTests(convert._JsonDecoderSink); dart.addTypeCaches(convert._JsonDecoderSink); -dart.setLibraryUri(convert._JsonDecoderSink, I[31]); +dart.setLibraryUri(convert._JsonDecoderSink, I[33]); dart.setFieldSignature(convert._JsonDecoderSink, () => ({ __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -41925,7 +44888,7 @@ var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSub var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); const _is_Codec_default = Symbol('_is_Codec_default'); convert.Codec$ = dart.generic((S, T) => { - var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); class Codec extends core.Object { encode(input) { S.as(input); @@ -41937,11 +44900,11 @@ convert.Codec$ = dart.generic((S, T) => { } fuse(R, other) { convert.Codec$(T, R).as(other); - if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + if (other == null) dart.nullFailed(I[92], 64, 35, "other"); return new (convert._FusedCodec$(S, T, R)).new(this, other); } get inverted() { - return new (_InvertedCodecOfT$S()).new(this); + return new (__t$_InvertedCodecOfT$S()).new(this); } } (Codec.new = function() { @@ -41960,7 +44923,7 @@ convert.Codec$ = dart.generic((S, T) => { __proto__: dart.getGetters(Codec.__proto__), inverted: convert.Codec$(T, S) })); - dart.setLibraryUri(Codec, I[31]); + dart.setLibraryUri(Codec, I[33]); return Codec; }); convert.Codec = convert.Codec$(); @@ -41982,26 +44945,46 @@ core.List$ = dart.generic(E => { } return _interceptors.JSArray$(E).of(list); } + static ['_#new#tearOff'](E, length = null) { + return core.List$(E).new(length); + } static filled(length, fill, opts) { if (length == null) dart.argumentError(length); let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); let list = _interceptors.JSArray$(E).of(new Array(length)); list.fill(fill); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#filled#tearOff'](E, length, fill, opts) { + if (length == null) dart.nullFailed(I[7], 568, 38, "length"); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); + return core.List$(E).filled(length, fill, {growable: growable}); + } static empty(opts) { let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); let list = _interceptors.JSArray$(E).of(new Array()); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#empty#tearOff'](E, opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); + return core.List$(E).empty({growable: growable}); + } + static ['_#from#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); + return core.List$(E).from(elements, {growable: growable}); + } static from(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); let list = _interceptors.JSArray$(E).of([]); if (core.Iterable$(E).is(elements)) { for (let e of elements) { @@ -42015,10 +44998,16 @@ core.List$ = dart.generic(E => { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#of#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); + return core.List$(E).of(elements, {growable: growable}); + } static of(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); let list = _interceptors.JSArray$(E).of([]); for (let e of elements) { list.push(e); @@ -42026,11 +45015,18 @@ core.List$ = dart.generic(E => { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#generate#tearOff'](E, length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); + return core.List$(E).generate(length, generator, {growable: growable}); + } static generate(length, generator, opts) { - if (length == null) dart.nullFailed(I[7], 539, 29, "length"); - if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); let result = _interceptors.JSArray$(E).of(new Array(length)); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -42039,19 +45035,23 @@ core.List$ = dart.generic(E => { return result; } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); let list = core.List$(E).from(elements); _interceptors.JSArray.markUnmodifiableList(list); return list; } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); + return core.List$(E).unmodifiable(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + if (source == null) dart.nullFailed(I[93], 292, 41, "source"); return new (_internal.CastList$(S, T)).new(source); } static copyRange(T, target, at, source, start = null, end = null) { - if (target == null) dart.nullFailed(I[90], 206, 36, "target"); - if (at == null) dart.nullFailed(I[90], 206, 48, "at"); - if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + if (target == null) dart.nullFailed(I[93], 308, 36, "target"); + if (at == null) dart.nullFailed(I[93], 308, 48, "at"); + if (source == null) dart.nullFailed(I[93], 308, 60, "source"); start == null ? start = 0 : null; end = core.RangeError.checkValidRange(start, end, source[$length]); if (end == null) { @@ -42072,15 +45072,15 @@ core.List$ = dart.generic(E => { } } static writeIterable(T, target, at, source) { - if (target == null) dart.nullFailed(I[90], 241, 40, "target"); - if (at == null) dart.nullFailed(I[90], 241, 52, "at"); - if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + if (target == null) dart.nullFailed(I[93], 343, 40, "target"); + if (at == null) dart.nullFailed(I[93], 343, 52, "at"); + if (source == null) dart.nullFailed(I[93], 343, 68, "source"); core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); let index = at; let targetLength = target[$length]; for (let element of source) { if (index == targetLength) { - dart.throw(new core.IndexError.new(targetLength, target)); + dart.throw(new core.IndexError.withLength(index, targetLength, {indexable: target})); } target[$_set](index, element); index = dart.notNull(index) + 1; @@ -42096,25 +45096,26 @@ core.List$ = dart.generic(E => { List.prototype[dart.isList] = true; dart.addTypeCaches(List); List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(List, I[8]); + dart.setStaticMethodSignature(List, () => ['new', 'filled', 'empty', 'from', 'of', 'generate', 'unmodifiable', 'castFrom', 'copyRange', 'writeIterable']); + dart.setLibraryUri(List, I[9]); return List; }); core.List = core.List$(); dart.addTypeTests(core.List, dart.isList); convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { decodeStream(byteStream) { - if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + if (byteStream == null) dart.nullFailed(I[91], 21, 49, "byteStream"); return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - let t172; - if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); - if (string == null) dart.nullFailed(I[88], 25, 42, "string"); - t172 = buffer; + let t152; + if (buffer == null) dart.nullFailed(I[91], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[91], 25, 42, "string"); + t152 = buffer; return (() => { - t172.write(string); - return t172; + t152.write(string); + return t152; })(); }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); return dart.toString(buffer); }, T$0.StringBufferToString())); } @@ -42133,7 +45134,9 @@ dart.setMethodSignature(convert.Encoding, () => ({ __proto__: dart.getMethods(convert.Encoding.__proto__), decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) })); -dart.setLibraryUri(convert.Encoding, I[31]); +dart.setStaticMethodSignature(convert.Encoding, () => ['getByName']); +dart.setLibraryUri(convert.Encoding, I[33]); +dart.setStaticFieldSignature(convert.Encoding, () => ['_nameToEncoding']); dart.defineLazy(convert.Encoding, { /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); @@ -42146,35 +45149,40 @@ convert.AsciiCodec = class AsciiCodec extends convert.Encoding { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); + return new convert.AsciiCodec.new({allowInvalid: allowInvalid}); + } get name() { return "us-ascii"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + if (source == null) dart.nullFailed(I[90], 41, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t172; + let t152; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { - return (C[80] || CT.C80).convert(bytes); + if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { + return (C[87] || CT.C87).convert(bytes); } else { - return (C[81] || CT.C81).convert(bytes); + return (C[88] || CT.C88).convert(bytes); } } get encoder() { - return C[82] || CT.C82; + return C[89] || CT.C89; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + return dart.test(this[_allowInvalid$]) ? C[87] || CT.C87 : C[88] || CT.C88; } }; (convert.AsciiCodec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); this[_allowInvalid] = allowInvalid; convert.AsciiCodec.__proto__.new.call(this); ; @@ -42192,7 +45200,7 @@ dart.setGetterSignature(convert.AsciiCodec, () => ({ encoder: convert.AsciiEncoder, decoder: convert.AsciiDecoder })); -dart.setLibraryUri(convert.AsciiCodec, I[31]); +dart.setLibraryUri(convert.AsciiCodec, I[33]); dart.setFieldSignature(convert.AsciiCodec, () => ({ __proto__: dart.getFields(convert.AsciiCodec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) @@ -42206,15 +45214,16 @@ convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Conv set [_subsetMask$](value) { super[_subsetMask$] = value; } + static ['_#new#tearOff'](_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); + return new convert._UnicodeSubsetEncoder.new(_subsetMask); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[87], 77, 28, "string"); - if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + if (string == null) dart.nullFailed(I[90], 77, 28, "string"); + if (start == null) dart.nullFailed(I[90], 77, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); let result = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -42228,17 +45237,17 @@ convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Conv } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + if (sink == null) dart.nullFailed(I[90], 97, 63, "sink"); return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 103, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); this[_subsetMask$0] = _subsetMask; convert._UnicodeSubsetEncoder.__proto__.new.call(this); ; @@ -42250,28 +45259,37 @@ dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), [_subsetMask$]: dart.finalFieldType(core.int) })); -convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; +convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.AsciiEncoder.new(); + } +}; (convert.AsciiEncoder.new = function() { convert.AsciiEncoder.__proto__.new.call(this, 127); ; }).prototype = convert.AsciiEncoder.prototype; dart.addTypeTests(convert.AsciiEncoder); dart.addTypeCaches(convert.AsciiEncoder); -dart.setLibraryUri(convert.AsciiEncoder, I[31]); +dart.setLibraryUri(convert.AsciiEncoder, I[33]); convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); + return new convert._UnicodeSubsetEncoderSink.new(_subsetMask, _sink); + } close() { this[_sink$0].close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 127, 24, "source"); - if (start == null) dart.nullFailed(I[87], 127, 36, "start"); - if (end == null) dart.nullFailed(I[87], 127, 47, "end"); - if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + if (source == null) dart.nullFailed(I[90], 131, 24, "source"); + if (start == null) dart.nullFailed(I[90], 131, 36, "start"); + if (end == null) dart.nullFailed(I[90], 131, 47, "end"); + if (isLast == null) dart.nullFailed(I[90], 131, 57, "isLast"); core.RangeError.checkValidRange(start, end, source.length); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = source[$codeUnitAt](i); @@ -42286,8 +45304,8 @@ convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends conv } }; (convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { - if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); - if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); this[_subsetMask$] = _subsetMask; this[_sink$0] = _sink; ; @@ -42299,7 +45317,7 @@ dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -42323,12 +45341,9 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv } convert(bytes, start = 0, end = null) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); - if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + if (bytes == null) dart.nullFailed(I[90], 172, 28, "bytes"); + if (start == null) dart.nullFailed(I[90], 172, 40, "start"); end = core.RangeError.checkValidRange(start, end, bytes[$length]); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let byte = bytes[$_get](i); if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { @@ -42341,9 +45356,9 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv return core.String.fromCharCodes(bytes, start, end); } [_convertInvalid](bytes, start, end) { - if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); - if (start == null) dart.nullFailed(I[87], 186, 47, "start"); - if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + if (bytes == null) dart.nullFailed(I[90], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[90], 186, 47, "start"); + if (end == null) dart.nullFailed(I[90], 186, 58, "end"); let buffer = new core.StringBuffer.new(); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let value = bytes[$_get](i); @@ -42354,13 +45369,13 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 203, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { - if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); - if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + if (_allowInvalid == null) dart.nullFailed(I[90], 165, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[90], 165, 56, "_subsetMask"); this[_allowInvalid$0] = _allowInvalid; this[_subsetMask$1] = _subsetMask; convert._UnicodeSubsetDecoder.__proto__.new.call(this); @@ -42373,16 +45388,21 @@ dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) })); -dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool), [_subsetMask$]: dart.finalFieldType(core.int) })); convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); + return new convert.AsciiDecoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + if (sink == null) dart.nullFailed(I[90], 237, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -42398,7 +45418,7 @@ convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder }; (convert.AsciiDecoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); ; }).prototype = convert.AsciiDecoder.prototype; @@ -42408,11 +45428,16 @@ dart.setMethodSignature(convert.AsciiDecoder, () => ({ __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.AsciiDecoder, I[31]); +dart.setLibraryUri(convert.AsciiDecoder, I[33]); var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); convert.ChunkedConversionSink$ = dart.generic(T => { - class ChunkedConversionSink extends core.Object {} + class ChunkedConversionSink extends core.Object { + static ['_#withCallback#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[95], 19, 12, "callback"); + return new (convert._SimpleCallbackSink$(T)).new(callback); + } + } (ChunkedConversionSink.new = function() { ; }).prototype = ChunkedConversionSink.prototype; @@ -42420,25 +45445,38 @@ convert.ChunkedConversionSink$ = dart.generic(T => { ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; dart.addTypeCaches(ChunkedConversionSink); ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(ChunkedConversionSink, I[31]); + dart.setStaticMethodSignature(ChunkedConversionSink, () => ['withCallback']); + dart.setLibraryUri(ChunkedConversionSink, I[33]); + dart.setStaticFieldSignature(ChunkedConversionSink, () => ['_redirecting#']); return ChunkedConversionSink; }); convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); -convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; +convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 19, 12, "callback"); + return new convert._ByteCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[94], 20, 51, "sink"); + return new convert._ByteAdapterSink.new(sink); + } +}; (convert.ByteConversionSink.new = function() { convert.ByteConversionSink.__proto__.new.call(this); ; }).prototype = convert.ByteConversionSink.prototype; dart.addTypeTests(convert.ByteConversionSink); dart.addTypeCaches(convert.ByteConversionSink); -dart.setLibraryUri(convert.ByteConversionSink, I[31]); +dart.setStaticMethodSignature(convert.ByteConversionSink, () => ['withCallback', 'from']); +dart.setLibraryUri(convert.ByteConversionSink, I[33]); +dart.setStaticFieldSignature(convert.ByteConversionSink, () => ['_redirecting#']); convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); - if (start == null) dart.nullFailed(I[91], 42, 38, "start"); - if (end == null) dart.nullFailed(I[91], 42, 49, "end"); - if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[94], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[94], 42, 38, "start"); + if (end == null) dart.nullFailed(I[94], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[94], 42, 59, "isLast"); this.add(chunk[$sublist](start, end)); if (dart.test(isLast)) this.close(); } @@ -42453,26 +45491,30 @@ dart.setMethodSignature(convert.ByteConversionSinkBase, () => ({ __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); +dart.setLibraryUri(convert.ByteConversionSinkBase, I[33]); convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); + return new convert._ErrorHandlingAsciiDecoderSink.new(_utf8Sink); + } close() { this[_utf8Sink$].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + if (source == null) dart.nullFailed(I[90], 264, 22, "source"); this.addSlice(source, 0, source[$length], false); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 245, 27, "source"); - if (start == null) dart.nullFailed(I[87], 245, 39, "start"); - if (end == null) dart.nullFailed(I[87], 245, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 268, 27, "source"); + if (start == null) dart.nullFailed(I[90], 268, 39, "start"); + if (end == null) dart.nullFailed(I[90], 268, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 268, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); - this[_utf8Sink$].add(C[83] || CT.C83); + this[_utf8Sink$].add(C[90] || CT.C90); start = dart.notNull(i) + 1; } } @@ -42484,7 +45526,7 @@ convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink ex } }; (convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); this[_utf8Sink$] = _utf8Sink; convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); ; @@ -42496,18 +45538,22 @@ dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); +dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) })); convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); + return new convert._SimpleAsciiDecoderSink.new(_sink); + } close() { this[_sink$0].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + if (source == null) dart.nullFailed(I[90], 294, 22, "source"); for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); @@ -42516,10 +45562,10 @@ convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert. this[_sink$0].add(core.String.fromCharCodes(source)); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 280, 27, "source"); - if (start == null) dart.nullFailed(I[87], 280, 39, "start"); - if (end == null) dart.nullFailed(I[87], 280, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 303, 27, "source"); + if (start == null) dart.nullFailed(I[90], 303, 39, "start"); + if (end == null) dart.nullFailed(I[90], 303, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 303, 60, "isLast"); let length = source[$length]; core.RangeError.checkValidRange(start, end, length); if (dart.notNull(start) < dart.notNull(end)) { @@ -42532,7 +45578,7 @@ convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert. } }; (convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); this[_sink$0] = _sink; convert._SimpleAsciiDecoderSink.__proto__.new.call(this); ; @@ -42544,7 +45590,7 @@ dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); +dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), [_sink$0]: dart.fieldType(core.Sink) @@ -42559,25 +45605,28 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i set [_encoder$](value) { super[_encoder$] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Codec.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Codec.urlSafe(); + } get encoder() { return this[_encoder$]; } get decoder() { - return C[86] || CT.C86; + return C[93] || CT.C93; } decode(encoded) { core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); return this.decoder.convert(encoded); } normalize(source, start = 0, end = null) { - let t172, t172$, t172$0, t172$1, t172$2; - if (source == null) dart.nullFailed(I[92], 97, 27, "source"); - if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + let t152, t152$, t152$0, t152$1, t152$2; + if (source == null) dart.nullFailed(I[96], 97, 27, "source"); + if (start == null) dart.nullFailed(I[96], 97, 40, "start"); end = core.RangeError.checkValidRange(start, end, source.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let buffer = null; let sliceStart = start; let alphabet = convert._Base64Encoder._base64Alphabet; @@ -42587,7 +45636,7 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i let paddingCount = 0; for (let i = start; dart.notNull(i) < dart.notNull(end);) { let sliceEnd = i; - let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let char = source[$codeUnitAt]((t152 = i, i = dart.notNull(t152) + 1, t152)); let originalChar = char; if (char === 37) { if (dart.notNull(i) + 2 <= dart.notNull(end)) { @@ -42605,18 +45654,18 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i if (char == originalChar) continue; } else if (value === -1) { if (firstPadding < 0) { - firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPadding = dart.notNull((t152$0 = (t152$ = buffer, t152$ == null ? null : t152$.length), t152$0 == null ? 0 : t152$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); firstPaddingSourceIndex = sliceEnd; } paddingCount = paddingCount + 1; if (originalChar === 61) continue; } if (value !== -2) { - t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); (() => { - t172$2.write(source[$substring](sliceStart, sliceEnd)); - t172$2.writeCharCode(char); - return t172$2; + t152$2.write(source[$substring](sliceStart, sliceEnd)); + t152$2.writeCharCode(char); + return t152$2; })(); sliceStart = i; continue; @@ -42655,12 +45704,12 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i return source; } static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { - if (source == null) dart.nullFailed(I[92], 199, 36, "source"); - if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); - if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); - if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); - if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); - if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (source == null) dart.nullFailed(I[96], 195, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[96], 195, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[96], 195, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[96], 196, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[96], 196, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[96], 196, 47, "length"); if (length[$modulo](4) !== 0) { dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); } @@ -42673,12 +45722,12 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i } }; (convert.Base64Codec.new = function() { - this[_encoder] = C[84] || CT.C84; + this[_encoder] = C[91] || CT.C91; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; (convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[85] || CT.C85; + this[_encoder] = C[92] || CT.C92; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; @@ -42689,12 +45738,13 @@ dart.setMethodSignature(convert.Base64Codec, () => ({ decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(convert.Base64Codec, () => ['_checkPadding']); dart.setGetterSignature(convert.Base64Codec, () => ({ __proto__: dart.getGetters(convert.Base64Codec.__proto__), encoder: convert.Base64Encoder, decoder: convert.Base64Decoder })); -dart.setLibraryUri(convert.Base64Codec, I[31]); +dart.setLibraryUri(convert.Base64Codec, I[33]); dart.setFieldSignature(convert.Base64Codec, () => ({ __proto__: dart.getFields(convert.Base64Codec.__proto__), [_encoder$]: dart.finalFieldType(convert.Base64Encoder) @@ -42708,9 +45758,15 @@ convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List set [_urlSafe](value) { super[_urlSafe] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Encoder.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Encoder.urlSafe(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (input == null) dart.nullFailed(I[96], 240, 28, "input"); if (dart.test(input[$isEmpty])) return ""; let encoder = new convert._Base64Encoder.new(this[_urlSafe]); let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); @@ -42718,7 +45774,7 @@ convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (sink == null) dart.nullFailed(I[96], 247, 58, "sink"); if (convert.StringConversionSink.is(sink)) { return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); } @@ -42742,7 +45798,7 @@ dart.setMethodSignature(convert.Base64Encoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Base64Encoder, I[31]); +dart.setLibraryUri(convert.Base64Encoder, I[33]); dart.setFieldSignature(convert.Base64Encoder, () => ({ __proto__: dart.getFields(convert.Base64Encoder.__proto__), [_urlSafe]: dart.finalFieldType(core.bool) @@ -42750,32 +45806,36 @@ dart.setFieldSignature(convert.Base64Encoder, () => ({ var _state$0 = dart.privateName(convert, "_state"); var _alphabet = dart.privateName(convert, "_alphabet"); convert._Base64Encoder = class _Base64Encoder extends core.Object { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); + return new convert._Base64Encoder.new(urlSafe); + } static _encodeState(count, bits) { - if (count == null) dart.nullFailed(I[92], 283, 31, "count"); - if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); - if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + if (count == null) dart.nullFailed(I[96], 287, 31, "count"); + if (bits == null) dart.nullFailed(I[96], 287, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[96], 288, 12, "count <= _countMask"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + if (state == null) dart.nullFailed(I[96], 293, 29, "state"); return state[$rightShift](2); } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + if (state == null) dart.nullFailed(I[96], 296, 30, "state"); return (dart.notNull(state) & 3) >>> 0; } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 299, 30, "bufferLength"); return _native_typed_data.NativeUint8List.new(bufferLength); } encode(bytes, start, end, isLast) { - if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); - if (start == null) dart.nullFailed(I[92], 308, 42, "start"); - if (end == null) dart.nullFailed(I[92], 308, 53, "end"); - if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); - if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + if (bytes == null) dart.nullFailed(I[96], 312, 31, "bytes"); + if (start == null) dart.nullFailed(I[96], 312, 42, "start"); + if (end == null) dart.nullFailed(I[96], 312, 53, "end"); + if (isLast == null) dart.nullFailed(I[96], 312, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 313, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 314, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[96], 315, 12, "end <= bytes.length"); let length = dart.notNull(end) - dart.notNull(start); let count = convert._Base64Encoder._stateCount(this[_state$0]); let byteCount = dart.notNull(count) + length; @@ -42791,15 +45851,15 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { return null; } static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { - let t172, t172$, t172$0, t172$1; - if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); - if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); - if (start == null) dart.nullFailed(I[92], 331, 64, "start"); - if (end == null) dart.nullFailed(I[92], 331, 75, "end"); - if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); - if (output == null) dart.nullFailed(I[92], 332, 30, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); - if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let t152, t152$, t152$0, t152$1; + if (alphabet == null) dart.nullFailed(I[96], 335, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[96], 335, 53, "bytes"); + if (start == null) dart.nullFailed(I[96], 335, 64, "start"); + if (end == null) dart.nullFailed(I[96], 335, 75, "end"); + if (isLast == null) dart.nullFailed(I[96], 336, 12, "isLast"); + if (output == null) dart.nullFailed(I[96], 336, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 336, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[96], 336, 59, "state"); let bits = convert._Base64Encoder._stateBits(state); let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); let byteOr = 0; @@ -42809,10 +45869,10 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; expectedChars = expectedChars - 1; if (expectedChars === 0) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); expectedChars = 3; bits = 0; } @@ -42833,29 +45893,29 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); } static writeFinalChunk(alphabet, output, outputIndex, count, bits) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; - if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); - if (output == null) dart.nullFailed(I[92], 379, 34, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); - if (count == null) dart.nullFailed(I[92], 379, 63, "count"); - if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); - if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3, t152$4, t152$5; + if (alphabet == null) dart.nullFailed(I[96], 383, 14, "alphabet"); + if (output == null) dart.nullFailed(I[96], 383, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 383, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[96], 383, 63, "count"); + if (bits == null) dart.nullFailed(I[96], 383, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[96], 384, 12, "count > 0"); if (count === 1) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), 61); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), 61); } else { - if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); - output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); - output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); - output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); - output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + if (!(count === 2)) dart.assertFailed(null, I[96], 391, 14, "count == 2"); + output[$_set]((t152$2 = outputIndex, outputIndex = dart.notNull(t152$2) + 1, t152$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t152$3 = outputIndex, outputIndex = dart.notNull(t152$3) + 1, t152$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t152$4 = outputIndex, outputIndex = dart.notNull(t152$4) + 1, t152$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t152$5 = outputIndex, outputIndex = dart.notNull(t152$5) + 1, t152$5), 61); } } }; (convert._Base64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); this[_state$0] = 0; this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; ; @@ -42867,12 +45927,14 @@ dart.setMethodSignature(convert._Base64Encoder, () => ({ createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Base64Encoder, I[31]); +dart.setStaticMethodSignature(convert._Base64Encoder, () => ['_encodeState', '_stateBits', '_stateCount', 'encodeChunk', 'writeFinalChunk']); +dart.setLibraryUri(convert._Base64Encoder, I[33]); dart.setFieldSignature(convert._Base64Encoder, () => ({ __proto__: dart.getFields(convert._Base64Encoder.__proto__), [_state$0]: dart.fieldType(core.int), [_alphabet]: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(convert._Base64Encoder, () => ['_base64Alphabet', '_base64UrlAlphabet', '_valueShift', '_countMask', '_sixBitMask']); dart.defineLazy(convert._Base64Encoder, { /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -42891,27 +45953,28 @@ dart.defineLazy(convert._Base64Encoder, { } }, false); convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); + return new convert._BufferCachingBase64Encoder.new(urlSafe); + } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 409, 30, "bufferLength"); let buffer = this.bufferCache; if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); } - if (buffer == null) { - dart.throw("unreachable"); - } return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); } }; (convert._BufferCachingBase64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); this.bufferCache = null; convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); ; }).prototype = convert._BufferCachingBase64Encoder.prototype; dart.addTypeTests(convert._BufferCachingBase64Encoder); dart.addTypeCaches(convert._BufferCachingBase64Encoder); -dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); +dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[33]); dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) @@ -42920,17 +45983,17 @@ var _add$0 = dart.privateName(convert, "_add"); convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + if (source == null) dart.nullFailed(I[96], 420, 22, "source"); this[_add$0](source, 0, source[$length], false); } close() { - this[_add$0](C[87] || CT.C87, 0, 0, true); + this[_add$0](C[94] || CT.C94, 0, 0, true); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 428, 27, "source"); - if (start == null) dart.nullFailed(I[92], 428, 39, "start"); - if (end == null) dart.nullFailed(I[92], 428, 50, "end"); - if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (source == null) dart.nullFailed(I[96], 428, 27, "source"); + if (start == null) dart.nullFailed(I[96], 428, 39, "start"); + if (end == null) dart.nullFailed(I[96], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 428, 60, "isLast"); if (end == null) dart.throw(new core.ArgumentError.notNull("end")); core.RangeError.checkValidRange(start, end, source[$length]); this[_add$0](source, start, end, isLast); @@ -42947,13 +46010,18 @@ dart.setMethodSignature(convert._Base64EncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._Base64EncoderSink, I[31]); +dart.setLibraryUri(convert._Base64EncoderSink, I[33]); convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); + return new convert._AsciiBase64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 444, 23, "source"); - if (start == null) dart.nullFailed(I[92], 444, 35, "start"); - if (end == null) dart.nullFailed(I[92], 444, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 444, 23, "source"); + if (start == null) dart.nullFailed(I[96], 444, 35, "start"); + if (end == null) dart.nullFailed(I[96], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 444, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { let string = core.String.fromCharCodes(buffer); @@ -42965,8 +46033,8 @@ convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert. } }; (convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); convert._AsciiBase64EncoderSink.__proto__.new.call(this); @@ -42978,18 +46046,23 @@ dart.setMethodSignature(convert._AsciiBase64EncoderSink, () => ({ __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); +dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[33]); dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); + return new convert._Utf8Base64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 463, 23, "source"); - if (start == null) dart.nullFailed(I[92], 463, 35, "start"); - if (end == null) dart.nullFailed(I[92], 463, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 463, 23, "source"); + if (start == null) dart.nullFailed(I[96], 463, 35, "start"); + if (end == null) dart.nullFailed(I[96], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 463, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); @@ -42997,8 +46070,8 @@ convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._B } }; (convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._Base64Encoder.new(urlSafe); convert._Utf8Base64EncoderSink.__proto__.new.call(this); @@ -43010,21 +46083,21 @@ dart.setMethodSignature(convert._Utf8Base64EncoderSink, () => ({ __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); +dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Base64Decoder.new(); + } convert(input, start = 0, end = null) { core.String.as(input); - if (input == null) dart.nullFailed(I[92], 491, 28, "input"); - if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + if (input == null) dart.nullFailed(I[96], 505, 28, "input"); + if (start == null) dart.nullFailed(I[96], 505, 40, "start"); end = core.RangeError.checkValidRange(start, end, input.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } if (start == end) return _native_typed_data.NativeUint8List.new(0); let decoder = new convert._Base64Decoder.new(); let buffer = dart.nullCheck(decoder.decode(input, start, end)); @@ -43033,7 +46106,7 @@ convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.Stri } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); return new convert._Base64DecoderSink.new(sink); } }; @@ -43048,46 +46121,46 @@ dart.setMethodSignature(convert.Base64Decoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Base64Decoder, I[31]); +dart.setLibraryUri(convert.Base64Decoder, I[33]); convert._Base64Decoder = class _Base64Decoder extends core.Object { static _encodeCharacterState(count, bits) { - if (count == null) dart.nullFailed(I[92], 572, 40, "count"); - if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); - if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + if (count == null) dart.nullFailed(I[96], 582, 40, "count"); + if (bits == null) dart.nullFailed(I[96], 582, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[96], 583, 12, "count == (count & _countMask)"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 578, 30, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 588, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 589, 12, "state >= 0"); return (dart.notNull(state) & 3) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 584, 29, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 594, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 595, 12, "state >= 0"); return state[$rightShift](2); } static _encodePaddingState(expectedPadding) { - if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + if (expectedPadding == null) dart.nullFailed(I[96], 600, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 601, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[96], 602, 12, "expectedPadding <= 5"); return -dart.notNull(expectedPadding) - 1; } static _statePadding(state) { - if (state == null) dart.nullFailed(I[92], 597, 32, "state"); - if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + if (state == null) dart.nullFailed(I[96], 607, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[96], 608, 12, "state < 0"); return -dart.notNull(state) - 1; } static _hasSeenPadding(state) { - if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + if (state == null) dart.nullFailed(I[96], 612, 35, "state"); return dart.notNull(state) < 0; } decode(input, start, end) { - if (input == null) dart.nullFailed(I[92], 609, 28, "input"); - if (start == null) dart.nullFailed(I[92], 609, 39, "start"); - if (end == null) dart.nullFailed(I[92], 609, 50, "end"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); - if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (input == null) dart.nullFailed(I[96], 619, 28, "input"); + if (start == null) dart.nullFailed(I[96], 619, 39, "start"); + if (end == null) dart.nullFailed(I[96], 619, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 620, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 621, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[96], 622, 12, "end <= input.length"); if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); return null; @@ -43107,14 +46180,14 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { this[_state$0] = convert._Base64Decoder._encodePaddingState(0); } static decodeChunk(input, start, end, output, outIndex, state) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3; - if (input == null) dart.nullFailed(I[92], 640, 33, "input"); - if (start == null) dart.nullFailed(I[92], 640, 44, "start"); - if (end == null) dart.nullFailed(I[92], 640, 55, "end"); - if (output == null) dart.nullFailed(I[92], 640, 70, "output"); - if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); - if (state == null) dart.nullFailed(I[92], 641, 25, "state"); - if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3; + if (input == null) dart.nullFailed(I[96], 650, 33, "input"); + if (start == null) dart.nullFailed(I[96], 650, 44, "start"); + if (end == null) dart.nullFailed(I[96], 650, 55, "end"); + if (output == null) dart.nullFailed(I[96], 650, 70, "output"); + if (outIndex == null) dart.nullFailed(I[96], 651, 11, "outIndex"); + if (state == null) dart.nullFailed(I[96], 651, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 652, 12, "!_hasSeenPadding(state)"); let bits = convert._Base64Decoder._stateBits(state); let count = convert._Base64Decoder._stateCount(state); let charOr = 0; @@ -43127,10 +46200,10 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; count = dart.notNull(count) + 1 & 3; if (count === 0) { - if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); - output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); - output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); - output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[96], 674, 18, "outIndex + 3 <= output.length"); + output[$_set]((t152 = outIndex, outIndex = dart.notNull(t152) + 1, t152), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t152$ = outIndex, outIndex = dart.notNull(t152$) + 1, t152$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t152$0 = outIndex, outIndex = dart.notNull(t152$0) + 1, t152$0), (dart.notNull(bits) & 255) >>> 0); bits = 0; } continue; @@ -43140,13 +46213,13 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { if ((dart.notNull(bits) & 3) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); - output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + output[$_set]((t152$1 = outIndex, outIndex = dart.notNull(t152$1) + 1, t152$1), bits[$rightShift](10)); + output[$_set]((t152$2 = outIndex, outIndex = dart.notNull(t152$2) + 1, t152$2), bits[$rightShift](2)); } else { if ((dart.notNull(bits) & 15) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + output[$_set]((t152$3 = outIndex, outIndex = dart.notNull(t152$3) + 1, t152$3), bits[$rightShift](4)); } let expectedPadding = (3 - dart.notNull(count)) * 3; if (char === 37) expectedPadding = expectedPadding + 2; @@ -43159,18 +46232,18 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return convert._Base64Decoder._encodeCharacterState(count, bits); } let i = null; - for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + for (let t152$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = input[$codeUnitAt](i); if (char < 0 || char > 127) break; } dart.throw(new core.FormatException.new("Invalid character", input, i)); } static _allocateBuffer(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 715, 14, "input"); - if (start == null) dart.nullFailed(I[92], 715, 25, "start"); - if (end == null) dart.nullFailed(I[92], 715, 36, "end"); - if (state == null) dart.nullFailed(I[92], 715, 45, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + if (input == null) dart.nullFailed(I[96], 725, 14, "input"); + if (start == null) dart.nullFailed(I[96], 725, 25, "start"); + if (end == null) dart.nullFailed(I[96], 725, 36, "end"); + if (state == null) dart.nullFailed(I[96], 725, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 726, 12, "state >= 0"); let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); let bufferLength = length[$rightShift](2) * 3; @@ -43182,9 +46255,9 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return convert._Base64Decoder._emptyBuffer; } static _trimPaddingChars(input, start, end) { - if (input == null) dart.nullFailed(I[92], 744, 39, "input"); - if (start == null) dart.nullFailed(I[92], 744, 50, "start"); - if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + if (input == null) dart.nullFailed(I[96], 754, 39, "input"); + if (start == null) dart.nullFailed(I[96], 754, 50, "start"); + if (end == null) dart.nullFailed(I[96], 754, 61, "end"); let padding = 0; let index = end; let newEnd = end; @@ -43216,15 +46289,15 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return newEnd; } static _checkPadding(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 796, 35, "input"); - if (start == null) dart.nullFailed(I[92], 796, 46, "start"); - if (end == null) dart.nullFailed(I[92], 796, 57, "end"); - if (state == null) dart.nullFailed(I[92], 796, 66, "state"); - if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (input == null) dart.nullFailed(I[96], 806, 35, "input"); + if (start == null) dart.nullFailed(I[96], 806, 46, "start"); + if (end == null) dart.nullFailed(I[96], 806, 57, "end"); + if (state == null) dart.nullFailed(I[96], 806, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 807, 12, "_hasSeenPadding(state)"); if (start == end) return state; let expectedPadding = convert._Base64Decoder._statePadding(state); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 810, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[96], 811, 12, "expectedPadding < 6"); while (dart.notNull(expectedPadding) > 0) { let char = input[$codeUnitAt](start); if (expectedPadding === 3) { @@ -43261,6 +46334,9 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { } return convert._Base64Decoder._encodePaddingState(expectedPadding); } + static ['_#new#tearOff']() { + return new convert._Base64Decoder.new(); + } }; (convert._Base64Decoder.new = function() { this[_state$0] = 0; @@ -43273,11 +46349,13 @@ dart.setMethodSignature(convert._Base64Decoder, () => ({ decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) })); -dart.setLibraryUri(convert._Base64Decoder, I[31]); +dart.setStaticMethodSignature(convert._Base64Decoder, () => ['_encodeCharacterState', '_stateCount', '_stateBits', '_encodePaddingState', '_statePadding', '_hasSeenPadding', 'decodeChunk', '_allocateBuffer', '_trimPaddingChars', '_checkPadding']); +dart.setLibraryUri(convert._Base64Decoder, I[33]); dart.setFieldSignature(convert._Base64Decoder, () => ({ __proto__: dart.getFields(convert._Base64Decoder.__proto__), [_state$0]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._Base64Decoder, () => ['_valueShift', '_countMask', '_invalid', '_padding', '___', '_p', '_inverseAlphabet', '_char_percent', '_char_3', '_char_d', '_emptyBuffer']); dart.defineLazy(convert._Base64Decoder, { /*convert._Base64Decoder._valueShift*/get _valueShift() { return 2; @@ -43312,13 +46390,19 @@ dart.defineLazy(convert._Base64Decoder, { /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { return _native_typed_data.NativeUint8List.new(0); }, - set _emptyBuffer(_) {} + set _emptyBuffer(value) { + if (value == null) dart.nullFailed(I[96], 719, 20, "_emptyBuffer"); + } }, false); var _decoder = dart.privateName(convert, "_decoder"); convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); + return new convert._Base64DecoderSink.new(_sink); + } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string == null) dart.nullFailed(I[96], 860, 19, "string"); if (string[$isEmpty]) return; let buffer = this[_decoder].decode(string, 0, string.length); if (buffer != null) this[_sink$0].add(buffer); @@ -43328,10 +46412,10 @@ convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConv this[_sink$0].close(); } addSlice(string, start, end, isLast) { - if (string == null) dart.nullFailed(I[92], 861, 24, "string"); - if (start == null) dart.nullFailed(I[92], 861, 36, "start"); - if (end == null) dart.nullFailed(I[92], 861, 47, "end"); - if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + if (string == null) dart.nullFailed(I[96], 871, 24, "string"); + if (start == null) dart.nullFailed(I[96], 871, 36, "start"); + if (end == null) dart.nullFailed(I[96], 871, 47, "end"); + if (isLast == null) dart.nullFailed(I[96], 871, 57, "isLast"); core.RangeError.checkValidRange(start, end, string.length); if (start == end) return; let buffer = this[_decoder].decode(string, start, end); @@ -43343,7 +46427,7 @@ convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConv } }; (convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); this[_decoder] = new convert._Base64Decoder.new(); this[_sink$0] = _sink; ; @@ -43355,16 +46439,20 @@ dart.setMethodSignature(convert._Base64DecoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Base64DecoderSink, I[31]); +dart.setLibraryUri(convert._Base64DecoderSink, I[33]); dart.setFieldSignature(convert._Base64DecoderSink, () => ({ __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), [_decoder]: dart.finalFieldType(convert._Base64Decoder) })); convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); + return new convert._ByteAdapterSink.new(_sink); + } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 57, 22, "chunk"); this[_sink$0].add(chunk); } close() { @@ -43372,7 +46460,7 @@ convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversion } }; (convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); this[_sink$0] = _sink; convert._ByteAdapterSink.__proto__.new.call(this); ; @@ -43384,7 +46472,7 @@ dart.setMethodSignature(convert._ByteAdapterSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._ByteAdapterSink, I[31]); +dart.setLibraryUri(convert._ByteAdapterSink, I[33]); dart.setFieldSignature(convert._ByteAdapterSink, () => ({ __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) @@ -43393,9 +46481,13 @@ var _buffer$ = dart.privateName(convert, "_buffer"); var _bufferIndex = dart.privateName(convert, "_bufferIndex"); var _callback$ = dart.privateName(convert, "_callback"); convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); + return new convert._ByteCallbackSink.new(callback); + } add(chunk) { T$.IterableOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 80, 26, "chunk"); let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); if (dart.notNull(chunk[$length]) > freeCount) { let oldLength = this[_buffer$][$length]; @@ -43408,8 +46500,8 @@ convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversi this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); } static _roundToPowerOf2(v) { - if (v == null) dart.nullFailed(I[91], 94, 35, "v"); - if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + if (v == null) dart.nullFailed(I[94], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[94], 95, 12, "v > 0"); v = dart.notNull(v) - 1; v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; @@ -43420,13 +46512,13 @@ convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversi return v; } close() { - let t173; - t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t173); + let t153; + t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t153); } }; (convert._ByteCallbackSink.new = function(callback) { - if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); this[_bufferIndex] = 0; this[_callback$] = callback; @@ -43440,13 +46532,15 @@ dart.setMethodSignature(convert._ByteCallbackSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._ByteCallbackSink, I[31]); +dart.setStaticMethodSignature(convert._ByteCallbackSink, () => ['_roundToPowerOf2']); +dart.setLibraryUri(convert._ByteCallbackSink, I[33]); dart.setFieldSignature(convert._ByteCallbackSink, () => ({ __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), [_buffer$]: dart.fieldType(core.List$(core.int)), [_bufferIndex]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._ByteCallbackSink, () => ['_INITIAL_BUFFER_SIZE']); dart.defineLazy(convert._ByteCallbackSink, { /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { return 1024; @@ -43455,21 +46549,25 @@ dart.defineLazy(convert._ByteCallbackSink, { var _accumulated = dart.privateName(convert, "_accumulated"); const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); convert._SimpleCallbackSink$ = dart.generic(T => { - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + static ['_#new#tearOff'](T, _callback) { + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + return new (convert._SimpleCallbackSink$(T)).new(_callback); + } add(chunk) { T.as(chunk); this[_accumulated][$add](chunk); } close() { - let t173; - t173 = this[_accumulated]; - this[_callback$](t173); + let t153; + t153 = this[_accumulated]; + this[_callback$](t153); } } (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); - this[_accumulated] = JSArrayOfT().of([]); + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + this[_accumulated] = __t$JSArrayOfT().of([]); this[_callback$] = _callback; _SimpleCallbackSink.__proto__.new.call(this); ; @@ -43482,7 +46580,7 @@ convert._SimpleCallbackSink$ = dart.generic(T => { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setLibraryUri(_SimpleCallbackSink, I[33]); dart.setFieldSignature(_SimpleCallbackSink, () => ({ __proto__: dart.getFields(_SimpleCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), @@ -43497,12 +46595,17 @@ var _chunkedSink$ = dart.privateName(convert, "_chunkedSink"); const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); convert._ConverterStreamEventSink$ = dart.generic((S, T) => { class _ConverterStreamEventSink extends core.Object { + static ['_#new#tearOff'](S, T, converter, sink) { + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); + return new (convert._ConverterStreamEventSink$(S, T)).new(converter, sink); + } add(o) { S.as(o); this[_chunkedSink$].add(o); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + if (error == null) dart.nullFailed(I[95], 75, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); this[_eventSink].addError(error, stackTrace); } @@ -43511,8 +46614,8 @@ convert._ConverterStreamEventSink$ = dart.generic((S, T) => { } } (_ConverterStreamEventSink.new = function(converter, sink) { - if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); - if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); this[_eventSink] = sink; this[_chunkedSink$] = converter.startChunkedConversion(sink); ; @@ -43527,7 +46630,7 @@ convert._ConverterStreamEventSink$ = dart.generic((S, T) => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setLibraryUri(_ConverterStreamEventSink, I[33]); dart.setFieldSignature(_ConverterStreamEventSink, () => ({ __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(T)), @@ -43548,10 +46651,15 @@ convert._FusedCodec$ = dart.generic((S, M, T) => { get decoder() { return this[_second$0].decoder.fuse(S, this[_first$0].decoder); } + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); + return new (convert._FusedCodec$(S, M, T)).new(_first, _second); + } } (_FusedCodec.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); - if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedCodec.__proto__.new.call(this); @@ -43565,7 +46673,7 @@ convert._FusedCodec$ = dart.generic((S, M, T) => { encoder: convert.Converter$(S, T), decoder: convert.Converter$(T, S) })); - dart.setLibraryUri(_FusedCodec, I[31]); + dart.setLibraryUri(_FusedCodec, I[33]); dart.setFieldSignature(_FusedCodec, () => ({ __proto__: dart.getFields(_FusedCodec.__proto__), [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), @@ -43579,6 +46687,10 @@ var _codec = dart.privateName(convert, "_codec"); const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); convert._InvertedCodec$ = dart.generic((T, S) => { class _InvertedCodec extends convert.Codec$(T, S) { + static ['_#new#tearOff'](T, S, codec) { + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); + return new (convert._InvertedCodec$(T, S)).new(codec); + } get encoder() { return this[_codec].decoder; } @@ -43590,7 +46702,7 @@ convert._InvertedCodec$ = dart.generic((T, S) => { } } (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); this[_codec] = codec; _InvertedCodec.__proto__.new.call(this); ; @@ -43603,7 +46715,7 @@ convert._InvertedCodec$ = dart.generic((T, S) => { encoder: convert.Converter$(T, S), decoder: convert.Converter$(S, T) })); - dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setLibraryUri(_InvertedCodec, I[33]); dart.setFieldSignature(_InvertedCodec, () => ({ __proto__: dart.getFields(_InvertedCodec.__proto__), [_codec]: dart.finalFieldType(convert.Codec$(S, T)) @@ -43614,21 +46726,26 @@ convert._InvertedCodec = convert._InvertedCodec$(); dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); convert._FusedConverter$ = dart.generic((S, M, T) => { - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); class _FusedConverter extends convert.Converter$(S, T) { + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); + return new (convert._FusedConverter$(S, M, T)).new(_first, _second); + } convert(input) { S.as(input); return this[_second$0].convert(this[_first$0].convert(input)); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 69, 42, "sink"); return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); } } (_FusedConverter.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); - if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedConverter.__proto__.new.call(this); @@ -43641,7 +46758,7 @@ convert._FusedConverter$ = dart.generic((S, M, T) => { __proto__: dart.getMethods(_FusedConverter.__proto__), convert: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_FusedConverter, I[31]); + dart.setLibraryUri(_FusedConverter, I[33]); dart.setFieldSignature(_FusedConverter, () => ({ __proto__: dart.getFields(_FusedConverter.__proto__), [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), @@ -43688,16 +46805,37 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { set escapeSlash(value) { super.escapeSlash = value; } + static ['_#_#tearOff'](_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); + return new convert.HtmlEscapeMode.__(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash); + } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); + return new convert.HtmlEscapeMode.new({name: name, escapeLtGt: escapeLtGt, escapeQuot: escapeQuot, escapeApos: escapeApos, escapeSlash: escapeSlash}); + } toString() { return this[_name$3]; } }; (convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { - if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); - if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); - if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); - if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); - if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); this[_name$2] = _name; this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; @@ -43707,15 +46845,15 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { }).prototype = convert.HtmlEscapeMode.prototype; (convert.HtmlEscapeMode.new = function(opts) { let name = opts && 'name' in opts ? opts.name : "custom"; - if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; - if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; - if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; - if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; - if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; this[escapeApos$] = escapeApos; @@ -43725,7 +46863,7 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { }).prototype = convert.HtmlEscapeMode.prototype; dart.addTypeTests(convert.HtmlEscapeMode); dart.addTypeCaches(convert.HtmlEscapeMode); -dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); +dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), [_name$3]: dart.finalFieldType(core.String), @@ -43734,19 +46872,20 @@ dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ escapeApos: dart.finalFieldType(core.bool), escapeSlash: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(convert.HtmlEscapeMode, () => ['unknown', 'attribute', 'sqAttribute', 'element']); dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); dart.defineLazy(convert.HtmlEscapeMode, { /*convert.HtmlEscapeMode.unknown*/get unknown() { - return C[88] || CT.C88; + return C[95] || CT.C95; }, /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[89] || CT.C89; + return C[96] || CT.C96; }, /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[90] || CT.C90; + return C[97] || CT.C97; }, /*convert.HtmlEscapeMode.element*/get element() { - return C[91] || CT.C91; + return C[98] || CT.C98; } }, false); var mode$ = dart.privateName(convert, "HtmlEscape.mode"); @@ -43758,57 +46897,58 @@ convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, co set mode(value) { super.mode = value; } + static ['_#new#tearOff'](mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); + return new convert.HtmlEscape.new(mode); + } convert(text) { core.String.as(text); - if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + if (text == null) dart.nullFailed(I[97], 208, 25, "text"); let val = this[_convert](text, 0, text.length); return val == null ? text : val; } [_convert](text, start, end) { - if (text == null) dart.nullFailed(I[94], 161, 27, "text"); - if (start == null) dart.nullFailed(I[94], 161, 37, "start"); - if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + if (text == null) dart.nullFailed(I[97], 217, 27, "text"); + if (start == null) dart.nullFailed(I[97], 217, 37, "start"); + if (end == null) dart.nullFailed(I[97], 217, 48, "end"); let result = null; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let ch = text[$_get](i); let replacement = null; switch (ch) { case "&": - { - replacement = "&"; - break; - } + { + replacement = "&"; + break; + } case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } } if (replacement != null) { result == null ? result = new core.StringBuffer.new() : null; - if (result == null) { - dart.throw("unreachable"); - } if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); result.write(replacement); start = dart.notNull(i) + 1; @@ -43820,12 +46960,12 @@ convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, co } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + if (sink == null) dart.nullFailed(I[97], 254, 60, "sink"); return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } }; -(convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { - if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); +(convert.HtmlEscape.new = function(mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); this[mode$] = mode; convert.HtmlEscape.__proto__.new.call(this); ; @@ -43838,18 +46978,23 @@ dart.setMethodSignature(convert.HtmlEscape, () => ({ [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.HtmlEscape, I[31]); +dart.setLibraryUri(convert.HtmlEscape, I[33]); dart.setFieldSignature(convert.HtmlEscape, () => ({ __proto__: dart.getFields(convert.HtmlEscape.__proto__), mode: dart.finalFieldType(convert.HtmlEscapeMode) })); var _escape$ = dart.privateName(convert, "_escape"); convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_escape, _sink) { + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); + return new convert._HtmlEscapeSink.new(_escape, _sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); - if (start == null) dart.nullFailed(I[94], 215, 35, "start"); - if (end == null) dart.nullFailed(I[94], 215, 46, "end"); - if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[97], 266, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 266, 35, "start"); + if (end == null) dart.nullFailed(I[97], 266, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 266, 56, "isLast"); let val = this[_escape$][_convert](chunk, start, end); if (val == null) { this[_sink$0].addSlice(chunk, start, end, isLast); @@ -43863,8 +47008,8 @@ convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversion } }; (convert._HtmlEscapeSink.new = function(_escape, _sink) { - if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); - if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); this[_escape$] = _escape; this[_sink$0] = _sink; ; @@ -43876,7 +47021,7 @@ dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); +dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), [_escape$]: dart.finalFieldType(convert.HtmlEscape), @@ -43904,6 +47049,11 @@ convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends co set partialResult(value) { super.partialResult = value; } + static ['_#new#tearOff'](unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + return new convert.JsonUnsupportedObjectError.new(unsupportedObject, {cause: cause, partialResult: partialResult}); + } toString() { let safeString = core.Error.safeToString(this.unsupportedObject); let prefix = null; @@ -43926,7 +47076,7 @@ convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends co }).prototype = convert.JsonUnsupportedObjectError.prototype; dart.addTypeTests(convert.JsonUnsupportedObjectError); dart.addTypeCaches(convert.JsonUnsupportedObjectError); -dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); +dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), @@ -43935,6 +47085,9 @@ dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ })); dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + static ['_#new#tearOff'](object) { + return new convert.JsonCyclicError.new(object); + } toString() { return "Cyclic error in JSON stringify"; } @@ -43945,7 +47098,7 @@ convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedO }).prototype = convert.JsonCyclicError.prototype; dart.addTypeTests(convert.JsonCyclicError); dart.addTypeCaches(convert.JsonCyclicError); -dart.setLibraryUri(convert.JsonCyclicError, I[31]); +dart.setLibraryUri(convert.JsonCyclicError, I[33]); dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); var _reviver = dart.privateName(convert, "JsonCodec._reviver"); var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); @@ -43966,9 +47119,18 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return new convert.JsonCodec.new({reviver: reviver, toEncodable: toEncodable}); + } + static ['_#withReviver#tearOff'](reviver) { + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); + return new convert.JsonCodec.withReviver(reviver); + } decode(source, opts) { core.String.as(source); - if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + if (source == null) dart.nullFailed(I[98], 213, 25, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; reviver == null ? reviver = this[_reviver$] : null; if (reviver == null) return this.decoder.convert(source); @@ -43981,11 +47143,11 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob return new convert.JsonEncoder.new(toEncodable).convert(value); } get encoder() { - if (this[_toEncodable$] == null) return C[92] || CT.C92; + if (this[_toEncodable$] == null) return C[99] || CT.C99; return new convert.JsonEncoder.new(this[_toEncodable$]); } get decoder() { - if (this[_reviver$] == null) return C[93] || CT.C93; + if (this[_reviver$] == null) return C[100] || CT.C100; return new convert.JsonDecoder.new(this[_reviver$]); } }; @@ -43998,7 +47160,7 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob ; }).prototype = convert.JsonCodec.prototype; (convert.JsonCodec.withReviver = function(reviver) { - if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); convert.JsonCodec.new.call(this, {reviver: reviver}); }).prototype = convert.JsonCodec.prototype; dart.addTypeTests(convert.JsonCodec); @@ -44013,7 +47175,7 @@ dart.setGetterSignature(convert.JsonCodec, () => ({ encoder: convert.JsonEncoder, decoder: convert.JsonDecoder })); -dart.setLibraryUri(convert.JsonCodec, I[31]); +dart.setLibraryUri(convert.JsonCodec, I[33]); dart.setFieldSignature(convert.JsonCodec, () => ({ __proto__: dart.getFields(convert.JsonCodec.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -44034,12 +47196,18 @@ convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](toEncodable = null) { + return new convert.JsonEncoder.new(toEncodable); + } + static ['_#withIndent#tearOff'](indent, toEncodable = null) { + return new convert.JsonEncoder.withIndent(indent, toEncodable); + } convert(object) { return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (sink == null) dart.nullFailed(I[98], 354, 70, "sink"); if (convert._Utf8EncoderSink.is(sink)) { return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); } @@ -44047,12 +47215,12 @@ convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 369, 39, "stream"); return super.bind(stream); } fuse(T, other) { convert.Converter$(core.String, T).as(other); - if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (other == null) dart.nullFailed(I[98], 371, 54, "other"); if (convert.Utf8Encoder.is(other)) { return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); } @@ -44079,7 +47247,7 @@ dart.setMethodSignature(convert.JsonEncoder, () => ({ startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.JsonEncoder, I[31]); +dart.setLibraryUri(convert.JsonEncoder, I[33]); dart.setFieldSignature(convert.JsonEncoder, () => ({ __proto__: dart.getFields(convert.JsonEncoder.__proto__), indent: dart.finalFieldType(dart.nullable(core.String)), @@ -44088,6 +47256,9 @@ dart.setFieldSignature(convert.JsonEncoder, () => ({ var _indent$ = dart.privateName(convert, "_indent"); var _bufferSize$ = dart.privateName(convert, "_bufferSize"); convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static ['_#new#tearOff'](indent = null, toEncodable = null, bufferSize = null) { + return new convert.JsonUtf8Encoder.new(indent, toEncodable, bufferSize); + } static _utf8Encode(string) { if (string == null) return null; if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); @@ -44102,9 +47273,9 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. convert(object) { let bytes = T$0.JSArrayOfListOfint().of([]); function addChunk(chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); - if (start == null) dart.nullFailed(I[95], 365, 40, "start"); - if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (chunk == null) dart.nullFailed(I[98], 446, 29, "chunk"); + if (start == null) dart.nullFailed(I[98], 446, 40, "start"); + if (end == null) dart.nullFailed(I[98], 446, 51, "end"); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { let length = dart.notNull(end) - dart.notNull(start); chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); @@ -44129,7 +47300,7 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); let byteSink = null; if (convert.ByteConversionSink.is(sink)) { byteSink = sink; @@ -44140,15 +47311,15 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + if (stream == null) dart.nullFailed(I[98], 489, 42, "stream"); return super.bind(stream); } }; (convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { - let t173; + let t153; this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); convert.JsonUtf8Encoder.__proto__.new.call(this); ; }).prototype = convert.JsonUtf8Encoder.prototype; @@ -44159,23 +47330,26 @@ dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); +dart.setStaticMethodSignature(convert.JsonUtf8Encoder, () => ['_utf8Encode']); +dart.setLibraryUri(convert.JsonUtf8Encoder, I[33]); dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), [_bufferSize$]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(convert.JsonUtf8Encoder, () => ['_defaultBufferSize']); dart.defineLazy(convert.JsonUtf8Encoder, { /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { return 256; - }, - /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { - return 256; } }, false); var _isDone = dart.privateName(convert, "_isDone"); convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); + return new convert._JsonEncoderSink.new(_sink, _toEncodable, _indent); + } add(o) { if (dart.test(this[_isDone])) { dart.throw(new core.StateError.new("Only one call to add allowed")); @@ -44189,7 +47363,7 @@ convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConvers } }; (convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44204,7 +47378,7 @@ dart.setMethodSignature(convert._JsonEncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._JsonEncoderSink, I[31]); +dart.setLibraryUri(convert._JsonEncoderSink, I[33]); dart.setFieldSignature(convert._JsonEncoderSink, () => ({ __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.String)), @@ -44214,10 +47388,15 @@ dart.setFieldSignature(convert._JsonEncoderSink, () => ({ })); var _addChunk = dart.privateName(convert, "_addChunk"); convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); + return new convert._JsonUtf8EncoderSink.new(_sink, _toEncodable, _indent, _bufferSize); + } [_addChunk](chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); - if (start == null) dart.nullFailed(I[95], 454, 39, "start"); - if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + if (chunk == null) dart.nullFailed(I[98], 535, 28, "chunk"); + if (start == null) dart.nullFailed(I[98], 535, 39, "start"); + if (end == null) dart.nullFailed(I[98], 535, 50, "end"); this[_sink$0].addSlice(chunk, start, end, false); } add(object) { @@ -44236,8 +47415,8 @@ convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.Chunke } }; (convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { - if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); - if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44254,7 +47433,7 @@ dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); +dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -44271,18 +47450,21 @@ convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, set [_reviver$](value) { super[_reviver$] = value; } + static ['_#new#tearOff'](reviver = null) { + return new convert.JsonDecoder.new(reviver); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + if (input == null) dart.nullFailed(I[98], 610, 26, "input"); return convert._parseJson(input, this[_reviver$]); } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + if (sink == null) dart.nullFailed(I[88], 363, 61, "sink"); return new convert._JsonDecoderSink.new(this[_reviver$], sink); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 618, 39, "stream"); return super.bind(stream); } }; @@ -44298,7 +47480,7 @@ dart.setMethodSignature(convert.JsonDecoder, () => ({ convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert.JsonDecoder, I[31]); +dart.setLibraryUri(convert.JsonDecoder, I[33]); dart.setFieldSignature(convert.JsonDecoder, () => ({ __proto__: dart.getFields(convert.JsonDecoder.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) @@ -44309,11 +47491,11 @@ var _removeSeen = dart.privateName(convert, "_removeSeen"); var _partialResult = dart.privateName(convert, "_partialResult"); convert._JsonStringifier = class _JsonStringifier extends core.Object { static hexDigit(x) { - if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + if (x == null) dart.nullFailed(I[98], 679, 27, "x"); return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); } writeStringContent(s) { - if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + if (s == null) dart.nullFailed(I[98], 682, 34, "s"); let offset = 0; let length = s.length; for (let i = 0; i < length; i = i + 1) { @@ -44339,39 +47521,39 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this.writeCharCode(92); switch (charCode) { case 8: - { - this.writeCharCode(98); - break; - } + { + this.writeCharCode(98); + break; + } case 9: - { - this.writeCharCode(116); - break; - } + { + this.writeCharCode(116); + break; + } case 10: - { - this.writeCharCode(110); - break; - } + { + this.writeCharCode(110); + break; + } case 12: - { - this.writeCharCode(102); - break; - } + { + this.writeCharCode(102); + break; + } case 13: - { - this.writeCharCode(114); - break; - } + { + this.writeCharCode(114); + break; + } default: - { - this.writeCharCode(117); - this.writeCharCode(48); - this.writeCharCode(48); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - break; - } + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } } } else if (charCode === 34 || charCode === 92) { if (i > offset) this.writeStringSlice(s, offset, i); @@ -44395,16 +47577,16 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this[_seen][$add](object); } [_removeSeen](object) { - if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); - if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[98], 771, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[98], 772, 12, "identical(_seen.last, object)"); this[_seen][$removeLast](); } writeObject(object) { - let t173; + let t153; if (dart.test(this.writeJsonValue(object))) return; this[_checkCycle](object); try { - let customJson = (t173 = object, this[_toEncodable$](t173)); + let customJson = (t153 = object, this[_toEncodable$](t153)); if (!dart.test(this.writeJsonValue(customJson))) { dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); } @@ -44451,7 +47633,7 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { } } writeList(list) { - if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + if (list == null) dart.nullFailed(I[98], 838, 32, "list"); this.writeString("["); if (dart.test(list[$isNotEmpty])) { this.writeObject(list[$_get](0)); @@ -44463,7 +47645,7 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this.writeString("]"); } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (map == null) dart.nullFailed(I[98], 851, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44472,12 +47654,12 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{"); @@ -44494,9 +47676,9 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { } }; (convert._JsonStringifier.new = function(toEncodable) { - let t173; + let t153; this[_seen] = []; - this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); ; }).prototype = convert._JsonStringifier.prototype; dart.addTypeTests(convert._JsonStringifier); @@ -44511,12 +47693,14 @@ dart.setMethodSignature(convert._JsonStringifier, () => ({ writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert._JsonStringifier, I[31]); +dart.setStaticMethodSignature(convert._JsonStringifier, () => ['hexDigit']); +dart.setLibraryUri(convert._JsonStringifier, I[33]); dart.setFieldSignature(convert._JsonStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringifier.__proto__), [_seen]: dart.finalFieldType(core.List), [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) })); +dart.setStaticFieldSignature(convert._JsonStringifier, () => ['backspace', 'tab', 'newline', 'carriageReturn', 'formFeed', 'quote', 'char_0', 'backslash', 'char_b', 'char_d', 'char_f', 'char_n', 'char_r', 'char_t', 'char_u', 'surrogateMin', 'surrogateMask', 'surrogateLead', 'surrogateTrail']); dart.defineLazy(convert._JsonStringifier, { /*convert._JsonStringifier.backspace*/get backspace() { return 8; @@ -44583,10 +47767,11 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object return this[_indentLevel]; } set [_indentLevel$](value) { + if (value == null) dart.nullFailed(I[98], 886, 7, "_indentLevel"); this[_indentLevel] = value; } writeList(list) { - if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (list == null) dart.nullFailed(I[98], 891, 32, "list"); if (dart.test(list[$isEmpty])) { this.writeString("[]"); } else { @@ -44606,7 +47791,7 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object } } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (map == null) dart.nullFailed(I[98], 911, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44615,12 +47800,12 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{\n"); @@ -44654,19 +47839,23 @@ dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); +dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[33]); dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), [_indentLevel$]: dart.fieldType(core.int) })); convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); + return new convert._JsonStringStringifier.new(_sink, _toEncodable); + } static stringify(object, toEncodable, indent) { let output = new core.StringBuffer.new(); convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); return output.toString(); } static printOn(object, output, toEncodable, indent) { - if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + if (output == null) dart.nullFailed(I[98], 974, 50, "output"); let stringifier = null; if (indent == null) { stringifier = new convert._JsonStringStringifier.new(output, toEncodable); @@ -44679,26 +47868,26 @@ convert._JsonStringStringifier = class _JsonStringStringifier extends convert._J return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + if (number == null) dart.nullFailed(I[98], 987, 24, "number"); this[_sink$0].write(dart.toString(number)); } writeString(string) { - if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + if (string == null) dart.nullFailed(I[98], 991, 27, "string"); this[_sink$0].write(string); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 890, 32, "string"); - if (start == null) dart.nullFailed(I[95], 890, 44, "start"); - if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + if (string == null) dart.nullFailed(I[98], 995, 32, "string"); + if (start == null) dart.nullFailed(I[98], 995, 44, "start"); + if (end == null) dart.nullFailed(I[98], 995, 55, "end"); this[_sink$0].write(string[$substring](start, end)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 999, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } }; (convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); this[_sink$0] = _sink; convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); ; @@ -44712,11 +47901,12 @@ dart.setMethodSignature(convert._JsonStringStringifier, () => ({ writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), writeCharCode: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(convert._JsonStringStringifier, () => ['stringify', 'printOn']); dart.setGetterSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); -dart.setLibraryUri(convert._JsonStringStringifier, I[31]); +dart.setLibraryUri(convert._JsonStringStringifier, I[33]); dart.setFieldSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), [_sink$0]: dart.finalFieldType(core.StringSink) @@ -44728,15 +47918,20 @@ const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringi }).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); + return new convert._JsonStringStringifierPretty.new(sink, toEncodable, _indent); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1012, 29, "count"); for (let i = 0; i < dart.notNull(count); i = i + 1) this.writeString(this[_indent$]); } }; (convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { - if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); - if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); this[_indent$] = _indent; convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); ; @@ -44747,15 +47942,20 @@ dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); +dart.setLibraryUri(convert._JsonStringStringifierPretty, I[33]); dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), [_indent$]: dart.finalFieldType(core.String) })); convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); + return new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } static stringify(object, indent, toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1045, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1046, 12, "addChunk"); let stringifier = null; if (indent != null) { stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); @@ -44766,12 +47966,12 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS stringifier.flush(); } flush() { - let t176, t175, t174; + let t156, t155, t154; if (dart.notNull(this.index) > 0) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); } this.buffer = _native_typed_data.NativeUint8List.new(0); this.index = 0; @@ -44780,25 +47980,25 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS return null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); this.writeAsciiString(dart.toString(number)); } writeAsciiString(string) { - if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + if (string == null) dart.nullFailed(I[98], 1075, 32, "string"); for (let i = 0; i < string.length; i = i + 1) { let char = string[$codeUnitAt](i); - if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + if (!(char <= 127)) dart.assertFailed(null, I[98], 1080, 14, "char <= 0x7f"); this.writeByte(char); } } writeString(string) { - if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + if (string == null) dart.nullFailed(I[98], 1085, 27, "string"); this.writeStringSlice(string, 0, string.length); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 984, 32, "string"); - if (start == null) dart.nullFailed(I[95], 984, 44, "start"); - if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + if (string == null) dart.nullFailed(I[98], 1089, 32, "string"); + if (start == null) dart.nullFailed(I[98], 1089, 44, "start"); + if (end == null) dart.nullFailed(I[98], 1089, 55, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = string[$codeUnitAt](i); if (char <= 127) { @@ -44822,7 +48022,7 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS } } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); if (dart.notNull(charCode) <= 127) { this.writeByte(charCode); return; @@ -44830,7 +48030,7 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS this.writeMultiByteCharCode(charCode); } writeMultiByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1128, 35, "charCode"); if (dart.notNull(charCode) <= 2047) { this.writeByte((192 | charCode[$rightShift](6)) >>> 0); this.writeByte(128 | dart.notNull(charCode) & 63); @@ -44845,31 +48045,31 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS this.writeFourByteCharCode(charCode); } writeFourByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); - if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + if (charCode == null) dart.nullFailed(I[98], 1143, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[98], 1144, 12, "charCode <= 0x10ffff"); this.writeByte((240 | charCode[$rightShift](18)) >>> 0); this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); this.writeByte(128 | dart.notNull(charCode) & 63); } writeByte(byte) { - let t176, t175, t174, t174$; - if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); - if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + let t156, t155, t154, t154$; + if (byte == null) dart.nullFailed(I[98], 1151, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[98], 1152, 12, "byte <= 0xff"); if (this.index == this.buffer[$length]) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); this.index = 0; } - this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + this.buffer[$_set]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); } }; (convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); this.index = 0; this.bufferSize = bufferSize; this.addChunk = addChunk; @@ -44891,11 +48091,12 @@ dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ writeFourByteCharCode: dart.fnType(dart.void, [core.int]), writeByte: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(convert._JsonUtf8Stringifier, () => ['stringify']); dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); -dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); +dart.setLibraryUri(convert._JsonUtf8Stringifier, I[33]); dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), bufferSize: dart.finalFieldType(core.int), @@ -44910,8 +48111,14 @@ const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier }).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); + return new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1170, 29, "count"); let indent = this.indent; let indentLength = indent[$length]; if (indentLength === 1) { @@ -44937,9 +48144,9 @@ convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _J } }; (convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { - if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); - if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); this.indent = indent; convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); ; @@ -44950,7 +48157,7 @@ dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); +dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), indent: dart.finalFieldType(core.List$(core.int)) @@ -44963,35 +48170,40 @@ convert.Latin1Codec = class Latin1Codec extends convert.Encoding { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); + return new convert.Latin1Codec.new({allowInvalid: allowInvalid}); + } get name() { return "iso-8859-1"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + if (source == null) dart.nullFailed(I[99], 40, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t174; + let t154; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { - return (C[95] || CT.C95).convert(bytes); + if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { + return (C[102] || CT.C102).convert(bytes); } else { - return (C[96] || CT.C96).convert(bytes); + return (C[103] || CT.C103).convert(bytes); } } get encoder() { - return C[97] || CT.C97; + return C[104] || CT.C104; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + return dart.test(this[_allowInvalid$]) ? C[102] || CT.C102 : C[103] || CT.C103; } }; (convert.Latin1Codec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); this[_allowInvalid$1] = allowInvalid; convert.Latin1Codec.__proto__.new.call(this); ; @@ -45009,23 +48221,32 @@ dart.setGetterSignature(convert.Latin1Codec, () => ({ encoder: convert.Latin1Encoder, decoder: convert.Latin1Decoder })); -dart.setLibraryUri(convert.Latin1Codec, I[31]); +dart.setLibraryUri(convert.Latin1Codec, I[33]); dart.setFieldSignature(convert.Latin1Codec, () => ({ __proto__: dart.getFields(convert.Latin1Codec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) })); -convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; +convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.Latin1Encoder.new(); + } +}; (convert.Latin1Encoder.new = function() { convert.Latin1Encoder.__proto__.new.call(this, 255); ; }).prototype = convert.Latin1Encoder.prototype; dart.addTypeTests(convert.Latin1Encoder); dart.addTypeCaches(convert.Latin1Encoder); -dart.setLibraryUri(convert.Latin1Encoder, I[31]); +dart.setLibraryUri(convert.Latin1Encoder, I[33]); convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); + return new convert.Latin1Decoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + if (sink == null) dart.nullFailed(I[99], 124, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45038,7 +48259,7 @@ convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecode }; (convert.Latin1Decoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); ; }).prototype = convert.Latin1Decoder.prototype; @@ -45048,31 +48269,34 @@ dart.setMethodSignature(convert.Latin1Decoder, () => ({ __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Latin1Decoder, I[31]); +dart.setLibraryUri(convert.Latin1Decoder, I[33]); var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + return new convert._Latin1DecoderSink.new(_sink); + } close() { dart.nullCheck(this[_sink$0]).close(); this[_sink$0] = null; } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + if (source == null) dart.nullFailed(I[99], 146, 22, "source"); this.addSlice(source, 0, source[$length], false); } [_addSliceToSink](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 114, 34, "source"); - if (start == null) dart.nullFailed(I[96], 114, 46, "start"); - if (end == null) dart.nullFailed(I[96], 114, 57, "end"); - if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + if (source == null) dart.nullFailed(I[99], 150, 34, "source"); + if (start == null) dart.nullFailed(I[99], 150, 46, "start"); + if (end == null) dart.nullFailed(I[99], 150, 57, "end"); + if (isLast == null) dart.nullFailed(I[99], 150, 67, "isLast"); dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); if (dart.test(isLast)) this.close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 123, 27, "source"); - if (start == null) dart.nullFailed(I[96], 123, 39, "start"); - if (end == null) dart.nullFailed(I[96], 123, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 159, 27, "source"); + if (start == null) dart.nullFailed(I[99], 159, 39, "start"); + if (end == null) dart.nullFailed(I[99], 159, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 159, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); if (start == end) return; if (!typed_data.Uint8List.is(source)) { @@ -45081,9 +48305,9 @@ convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConver this[_addSliceToSink](source, start, end, isLast); } static _checkValidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 135, 43, "source"); - if (start == null) dart.nullFailed(I[96], 135, 55, "start"); - if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + if (source == null) dart.nullFailed(I[99], 171, 43, "source"); + if (start == null) dart.nullFailed(I[99], 171, 55, "start"); + if (end == null) dart.nullFailed(I[99], 171, 66, "end"); let mask = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { mask = (mask | dart.notNull(source[$_get](i))) >>> 0; @@ -45094,16 +48318,16 @@ convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConver convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); } static _reportInvalidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 146, 46, "source"); - if (start == null) dart.nullFailed(I[96], 146, 58, "start"); - if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + if (source == null) dart.nullFailed(I[99], 182, 46, "source"); + if (start == null) dart.nullFailed(I[99], 182, 58, "start"); + if (end == null) dart.nullFailed(I[99], 182, 69, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); } } - if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + if (!false) dart.assertFailed(null, I[99], 192, 12, "false"); } }; (convert._Latin1DecoderSink.new = function(_sink) { @@ -45119,23 +48343,28 @@ dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); +dart.setStaticMethodSignature(convert._Latin1DecoderSink, () => ['_checkValidLatin1', '_reportInvalidLatin1']); +dart.setLibraryUri(convert._Latin1DecoderSink, I[33]); dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) })); convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + static ['_#new#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); + return new convert._Latin1AllowInvalidDecoderSink.new(sink); + } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 163, 27, "source"); - if (start == null) dart.nullFailed(I[96], 163, 39, "start"); - if (end == null) dart.nullFailed(I[96], 163, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 199, 27, "source"); + if (start == null) dart.nullFailed(I[99], 199, 39, "start"); + if (end == null) dart.nullFailed(I[99], 199, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 199, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); - this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + this[_addSliceToSink](C[105] || CT.C105, 0, 1, false); start = dart.notNull(i) + 1; } } @@ -45148,44 +48377,25 @@ convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink ex } }; (convert._Latin1AllowInvalidDecoderSink.new = function(sink) { - if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); ; }).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); -dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); +dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[33]); convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static ['_#new#tearOff']() { + return new convert.LineSplitter.new(); + } static split(lines, start = 0, end = null) { - if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); - if (start == null) dart.nullFailed(I[97], 28, 52, "start"); - return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { - end = core.RangeError.checkValidRange(start, end, lines.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } - let sliceStart = start; - let char = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - yield lines[$substring](sliceStart, i); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - yield lines[$substring](sliceStart, end); - } - })(end)); + if (lines == null) dart.nullFailed(I[100], 47, 40, "lines"); + if (start == null) dart.nullFailed(I[100], 47, 52, "start"); + end = core.RangeError.checkValidRange(start, end, lines.length); + return new convert._LineSplitIterable.new(lines, start, end); } convert(data) { - if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + if (data == null) dart.nullFailed(I[100], 52, 31, "data"); let lines = T$.JSArrayOfString().of([]); let end = data.length; let sliceStart = 0; @@ -45209,14 +48419,14 @@ convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(c return lines; } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + if (sink == null) dart.nullFailed(I[100], 76, 60, "sink"); return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + if (stream == null) dart.nullFailed(I[100], 81, 38, "stream"); return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); return new convert._LineSplitterEventSink.new(sink); }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); } @@ -45233,16 +48443,21 @@ dart.setMethodSignature(convert.LineSplitter, () => ({ startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.LineSplitter, I[31]); +dart.setStaticMethodSignature(convert.LineSplitter, () => ['split']); +dart.setLibraryUri(convert.LineSplitter, I[33]); var _carry = dart.privateName(convert, "_carry"); var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); var _addLines = dart.privateName(convert, "_addLines"); convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); + return new convert._LineSplitterSink.new(_sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); - if (start == null) dart.nullFailed(I[97], 109, 35, "start"); - if (end == null) dart.nullFailed(I[97], 109, 46, "end"); - if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[100], 107, 24, "chunk"); + if (start == null) dart.nullFailed(I[100], 107, 35, "start"); + if (end == null) dart.nullFailed(I[100], 107, 46, "end"); + if (isLast == null) dart.nullFailed(I[100], 107, 56, "isLast"); end = core.RangeError.checkValidRange(start, end, chunk.length); if (dart.notNull(start) >= dart.notNull(end)) { if (dart.test(isLast)) this.close(); @@ -45250,7 +48465,7 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver } let carry = this[_carry]; if (carry != null) { - if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[100], 117, 14, "!_skipLeadingLF"); chunk = dart.notNull(carry) + chunk[$substring](start, end); start = 0; end = chunk.length; @@ -45272,9 +48487,9 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver this[_sink$0].close(); } [_addLines](lines, start, end) { - if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); - if (start == null) dart.nullFailed(I[97], 142, 36, "start"); - if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + if (lines == null) dart.nullFailed(I[100], 140, 25, "lines"); + if (start == null) dart.nullFailed(I[100], 140, 36, "start"); + if (end == null) dart.nullFailed(I[100], 140, 47, "end"); let sliceStart = start; let char = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -45298,7 +48513,7 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver } }; (convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); this[_carry] = null; this[_skipLeadingLF] = false; this[_sink$0] = _sink; @@ -45312,7 +48527,7 @@ dart.setMethodSignature(convert._LineSplitterSink, () => ({ close: dart.fnType(dart.void, []), [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) })); -dart.setLibraryUri(convert._LineSplitterSink, I[31]); +dart.setLibraryUri(convert._LineSplitterSink, I[33]); dart.setFieldSignature(convert._LineSplitterSink, () => ({ __proto__: dart.getFields(convert._LineSplitterSink.__proto__), [_sink$0]: dart.finalFieldType(convert.StringConversionSink), @@ -45320,13 +48535,17 @@ dart.setFieldSignature(convert._LineSplitterSink, () => ({ [_skipLeadingLF]: dart.fieldType(core.bool) })); convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + static ['_#new#tearOff'](eventSink) { + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); + return new convert._LineSplitterEventSink.new(eventSink); + } addError(o, stackTrace = null) { - if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + if (o == null) dart.nullFailed(I[100], 172, 24, "o"); this[_eventSink].addError(o, stackTrace); } }; (convert._LineSplitterEventSink.new = function(eventSink) { - if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); this[_eventSink] = eventSink; convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); ; @@ -45338,36 +48557,178 @@ dart.setMethodSignature(convert._LineSplitterEventSink, () => ({ __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) })); -dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); +dart.setLibraryUri(convert._LineSplitterEventSink, I[33]); dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) })); -convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; +var _source$5 = dart.privateName(convert, "_source"); +var _start$1 = dart.privateName(convert, "_start"); +var _end$ = dart.privateName(convert, "_end"); +convert._LineSplitIterable = class _LineSplitIterable extends core.Iterable$(core.String) { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + return new convert._LineSplitIterable.new(_source, _start, _end); + } + get iterator() { + return new convert._LineSplitIterator.new(this[_source$5], this[_start$1], this[_end$]); + } +}; +(convert._LineSplitIterable.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + convert._LineSplitIterable.__proto__.new.call(this); + ; +}).prototype = convert._LineSplitIterable.prototype; +dart.addTypeTests(convert._LineSplitIterable); +dart.addTypeCaches(convert._LineSplitIterable); +dart.setGetterSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterable.__proto__), + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String) +})); +dart.setLibraryUri(convert._LineSplitIterable, I[33]); +dart.setFieldSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getFields(convert._LineSplitIterable.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_start$1]: dart.finalFieldType(core.int), + [_end$]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(convert._LineSplitIterable, ['iterator']); +var _lineStart = dart.privateName(convert, "_lineStart"); +var _lineEnd = dart.privateName(convert, "_lineEnd"); +var _current$2 = dart.privateName(convert, "_current"); +convert._LineSplitIterator = class _LineSplitIterator extends core.Object { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + return new convert._LineSplitIterator.new(_source, _start, _end); + } + moveNext() { + this[_current$2] = null; + this[_lineStart] = this[_start$1]; + this[_lineEnd] = -1; + let eolLength = 1; + for (let i = this[_start$1]; dart.notNull(i) < dart.notNull(this[_end$]); i = dart.notNull(i) + 1) { + let char = this[_source$5][$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + } else { + if (dart.notNull(i) + 1 < dart.notNull(this[_end$]) && this[_source$5][$codeUnitAt](dart.notNull(i) + 1) === 10) { + eolLength = 2; + } + } + this[_lineEnd] = i; + this[_start$1] = dart.notNull(i) + eolLength; + return true; + } + if (dart.notNull(this[_start$1]) < dart.notNull(this[_end$])) { + this[_lineEnd] = this[_end$]; + this[_start$1] = this[_end$]; + return true; + } + this[_start$1] = this[_end$]; + return false; + } + get current() { + let t154; + t154 = this[_current$2]; + return t154 == null ? this[_current$2] = dart.notNull(this[_lineEnd]) >= 0 ? this[_source$5][$substring](this[_lineStart], this[_lineEnd]) : dart.throw(new core.StateError.new("No element")) : t154; + } +}; +(convert._LineSplitIterator.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + this[_lineStart] = 0; + this[_lineEnd] = -1; + this[_current$2] = null; + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + ; +}).prototype = convert._LineSplitIterator.prototype; +dart.addTypeTests(convert._LineSplitIterator); +dart.addTypeCaches(convert._LineSplitIterator); +convert._LineSplitIterator[dart.implements] = () => [core.Iterator$(core.String)]; +dart.setMethodSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getMethods(convert._LineSplitIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterator.__proto__), + current: core.String +})); +dart.setLibraryUri(convert._LineSplitIterator, I[33]); +dart.setFieldSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getFields(convert._LineSplitIterator.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_end$]: dart.finalFieldType(core.int), + [_start$1]: dart.fieldType(core.int), + [_lineStart]: dart.fieldType(core.int), + [_lineEnd]: dart.fieldType(core.int), + [_current$2]: dart.fieldType(dart.nullable(core.String)) +})); +convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[89], 20, 50, "callback"); + return new convert._StringCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 22, 50, "sink"); + return new convert._StringAdapterSink.new(sink); + } + static ['_#fromStringSink#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 29, 58, "sink"); + return new (T$0._StringSinkConversionSinkOfStringSink()).new(sink); + } +}; (convert.StringConversionSink.new = function() { convert.StringConversionSink.__proto__.new.call(this); ; }).prototype = convert.StringConversionSink.prototype; dart.addTypeTests(convert.StringConversionSink); dart.addTypeCaches(convert.StringConversionSink); -dart.setLibraryUri(convert.StringConversionSink, I[31]); +dart.setStaticMethodSignature(convert.StringConversionSink, () => ['withCallback', 'from', 'fromStringSink']); +dart.setLibraryUri(convert.StringConversionSink, I[33]); +dart.setStaticFieldSignature(convert.StringConversionSink, () => ['_redirecting#']); core.StringSink = class StringSink extends core.Object {}; (core.StringSink.new = function() { ; }).prototype = core.StringSink.prototype; dart.addTypeTests(core.StringSink); dart.addTypeCaches(core.StringSink); -dart.setLibraryUri(core.StringSink, I[8]); -convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; +dart.setLibraryUri(core.StringSink, I[9]); +convert.ClosableStringSink = class ClosableStringSink extends core.StringSink { + static ['_#fromStringSink#tearOff'](sink, onClose) { + if (sink == null) dart.nullFailed(I[89], 59, 56, "sink"); + if (onClose == null) dart.nullFailed(I[89], 59, 67, "onClose"); + return new convert._ClosableStringSink.new(sink, onClose); + } +}; dart.addTypeTests(convert.ClosableStringSink); dart.addTypeCaches(convert.ClosableStringSink); -dart.setLibraryUri(convert.ClosableStringSink, I[31]); +dart.setStaticMethodSignature(convert.ClosableStringSink, () => ['fromStringSink']); +dart.setLibraryUri(convert.ClosableStringSink, I[33]); +dart.setStaticFieldSignature(convert.ClosableStringSink, () => ['_redirecting#']); convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + static ['_#new#tearOff'](_sink, _callback) { + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); + return new convert._ClosableStringSink.new(_sink, _callback); + } close() { this[_callback$](); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 78, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } write(o) { @@ -45377,14 +48738,14 @@ convert._ClosableStringSink = class _ClosableStringSink extends core.Object { this[_sink$0].writeln(o); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 90, 43, "separator"); this[_sink$0].writeAll(objects, separator); } }; (convert._ClosableStringSink.new = function(_sink, _callback) { - if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); this[_sink$0] = _sink; this[_callback$] = _callback; ; @@ -45400,7 +48761,7 @@ dart.setMethodSignature(convert._ClosableStringSink, () => ({ writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) })); -dart.setLibraryUri(convert._ClosableStringSink, I[31]); +dart.setLibraryUri(convert._ClosableStringSink, I[33]); dart.setFieldSignature(convert._ClosableStringSink, () => ({ __proto__: dart.getFields(convert._ClosableStringSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -45408,12 +48769,16 @@ dart.setFieldSignature(convert._ClosableStringSink, () => ({ })); var _flush = dart.privateName(convert, "_flush"); convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + static ['_#new#tearOff'](_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); + return new convert._StringConversionSinkAsStringSinkAdapter.new(_chunkedSink); + } close() { if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); this[_chunkedSink$].close(); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 113, 26, "charCode"); this[_buffer$].writeCharCode(charCode); if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } @@ -45426,8 +48791,8 @@ convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAs if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 128, 43, "separator"); if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; @@ -45450,7 +48815,7 @@ convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAs } }; (convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); this[_chunkedSink$] = _chunkedSink; this[_buffer$] = new core.StringBuffer.new(); ; @@ -45467,54 +48832,63 @@ dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), [_flush]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); +dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[33]); dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), [_buffer$]: dart.finalFieldType(core.StringBuffer), [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) })); +dart.setStaticFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ['_MIN_STRING_SIZE']); dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { return 16; } }, false); convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_callback) { + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); + return new convert._StringCallbackSink.new(_callback); + } close() { - let t174; + let t154; let accumulated = dart.toString(this[_stringSink$]); this[_stringSink$].clear(); - t174 = accumulated; - this[_callback$](t174); + t154 = accumulated; + this[_callback$](t154); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 222, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } }; (convert._StringCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); this[_callback$] = _callback; convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); ; }).prototype = convert._StringCallbackSink.prototype; dart.addTypeTests(convert._StringCallbackSink); dart.addTypeCaches(convert._StringCallbackSink); -dart.setLibraryUri(convert._StringCallbackSink, I[31]); +dart.setLibraryUri(convert._StringCallbackSink, I[33]); dart.setFieldSignature(convert._StringCallbackSink, () => ({ __proto__: dart.getFields(convert._StringCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) })); convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); + return new convert._StringAdapterSink.new(_sink); + } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + if (str == null) dart.nullFailed(I[89], 237, 19, "str"); this[_sink$0].add(str); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 241, 24, "str"); - if (start == null) dart.nullFailed(I[86], 241, 33, "start"); - if (end == null) dart.nullFailed(I[86], 241, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 241, 24, "str"); + if (start == null) dart.nullFailed(I[89], 241, 33, "start"); + if (end == null) dart.nullFailed(I[89], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 241, 54, "isLast"); if (start === 0 && end === str.length) { this.add(str); } else { @@ -45527,7 +48901,7 @@ convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConv } }; (convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); this[_sink$0] = _sink; ; }).prototype = convert._StringAdapterSink.prototype; @@ -45538,34 +48912,40 @@ dart.setMethodSignature(convert._StringAdapterSink, () => ({ addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._StringAdapterSink, I[31]); +dart.setLibraryUri(convert._StringAdapterSink, I[33]); dart.setFieldSignature(convert._StringAdapterSink, () => ({ __proto__: dart.getFields(convert._StringAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) })); convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(_sink, _stringSink, allowMalformed); + } close() { this[_decoder].flush(this[_stringSink$]); this[_sink$0].close(); } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 271, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(codeUnits, startIndex, endIndex, isLast) { - if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); - if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + if (codeUnits == null) dart.nullFailed(I[89], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[89], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 276, 63, "isLast"); this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); if (dart.test(isLast)) this.close(); } }; (convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { - if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); - if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); - if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); this[_sink$0] = _sink; this[_stringSink$] = _stringSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); @@ -45580,7 +48960,7 @@ dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); +dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[33]); dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45588,6 +48968,17 @@ dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ [_stringSink$]: dart.finalFieldType(core.StringSink) })); convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); + return new convert._Utf8ConversionSink.new(sink, allowMalformed); + } + static ['_#_#tearOff'](_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); + return new convert._Utf8ConversionSink.__(_chunkedSink, stringBuffer, allowMalformed); + } close() { this[_decoder].flush(this[_buffer$]); if (dart.test(this[_buffer$].isNotEmpty)) { @@ -45600,14 +48991,14 @@ convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConv } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 309, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(chunk, startIndex, endIndex, isLast) { - if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); - if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + if (chunk == null) dart.nullFailed(I[89], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[89], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 313, 69, "isLast"); this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); if (dart.test(this[_buffer$].isNotEmpty)) { let accumulated = dart.toString(this[_buffer$]); @@ -45619,14 +49010,14 @@ convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConv } }; (convert._Utf8ConversionSink.new = function(sink, allowMalformed) { - if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); - if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); }).prototype = convert._Utf8ConversionSink.prototype; (convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { - if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); - if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); - if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); this[_chunkedSink$] = _chunkedSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); this[_buffer$] = stringBuffer; @@ -45641,7 +49032,7 @@ dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); +dart.setLibraryUri(convert._Utf8ConversionSink, I[33]); dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45658,27 +49049,32 @@ convert.Utf8Codec = class Utf8Codec extends convert.Encoding { set [_allowMalformed$](value) { super[_allowMalformed$] = value; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); + return new convert.Utf8Codec.new({allowMalformed: allowMalformed}); + } get name() { return "utf-8"; } decode(codeUnits, opts) { - let t174; + let t154; T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + let decoder = dart.test((t154 = allowMalformed, t154 == null ? this[_allowMalformed$] : t154)) ? C[106] || CT.C106 : C[107] || CT.C107; return decoder.convert(codeUnits); } get encoder() { - return C[101] || CT.C101; + return C[108] || CT.C108; } get decoder() { - return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + return dart.test(this[_allowMalformed$]) ? C[106] || CT.C106 : C[107] || CT.C107; } }; (convert.Utf8Codec.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); this[_allowMalformed] = allowMalformed; convert.Utf8Codec.__proto__.new.call(this); ; @@ -45695,7 +49091,7 @@ dart.setGetterSignature(convert.Utf8Codec, () => ({ encoder: convert.Utf8Encoder, decoder: convert.Utf8Decoder })); -dart.setLibraryUri(convert.Utf8Codec, I[31]); +dart.setLibraryUri(convert.Utf8Codec, I[33]); dart.setFieldSignature(convert.Utf8Codec, () => ({ __proto__: dart.getFields(convert.Utf8Codec.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) @@ -45703,35 +49099,35 @@ dart.setFieldSignature(convert.Utf8Codec, () => ({ var _fillBuffer = dart.privateName(convert, "_fillBuffer"); var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Utf8Encoder.new(); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[98], 88, 28, "string"); - if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + if (string == null) dart.nullFailed(I[101], 96, 28, "string"); + if (start == null) dart.nullFailed(I[101], 96, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return _native_typed_data.NativeUint8List.new(0); let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); let endPosition = encoder[_fillBuffer](string, start, end); - if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[101], 105, 12, "endPosition >= end - 1"); if (endPosition != end) { let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); - if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[101], 111, 14, "_isLeadSurrogate(lastCodeUnit)"); encoder[_writeReplacementCharacter](); } return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + if (sink == null) dart.nullFailed(I[101], 122, 63, "sink"); return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 128, 41, "stream"); return super.bind(stream); } }; @@ -45746,31 +49142,38 @@ dart.setMethodSignature(convert.Utf8Encoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Utf8Encoder, I[31]); +dart.setLibraryUri(convert.Utf8Encoder, I[33]); var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static ['_#new#tearOff']() { + return new convert._Utf8Encoder.new(); + } + static ['_#withBufferSize#tearOff'](bufferSize) { + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); + return new convert._Utf8Encoder.withBufferSize(bufferSize); + } static _createBuffer(size) { - if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + if (size == null) dart.nullFailed(I[101], 146, 38, "size"); return _native_typed_data.NativeUint8List.new(size); } [_writeReplacementCharacter]() { - let t174, t174$, t174$0; - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + let t154, t154$, t154$0; + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), 239); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 191); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 189); } [_writeSurrogate](leadingSurrogate, nextCodeUnit) { - let t174, t174$, t174$0, t174$1; - if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); - if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + let t154, t154$, t154$0, t154$1; + if (leadingSurrogate == null) dart.nullFailed(I[101], 164, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[101], 164, 50, "nextCodeUnit"); if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); - if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); - if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); - this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[101], 169, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[101], 170, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t154$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$1) + 1, t154$1), 128 | dart.notNull(rune) & 63); return true; } else { this[_writeReplacementCharacter](); @@ -45778,19 +49181,19 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { } } [_fillBuffer](str, start, end) { - let t175, t175$, t175$0, t175$1, t175$2, t175$3; - if (str == null) dart.nullFailed(I[98], 186, 26, "str"); - if (start == null) dart.nullFailed(I[98], 186, 35, "start"); - if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + let t155, t155$, t155$0, t155$1, t155$2, t155$3; + if (str == null) dart.nullFailed(I[101], 190, 26, "str"); + if (start == null) dart.nullFailed(I[101], 190, 35, "start"); + if (end == null) dart.nullFailed(I[101], 190, 46, "end"); if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { end = dart.notNull(end) - 1; } let stringIndex = null; - for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + for (let t154 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { let codeUnit = str[$codeUnitAt](stringIndex); if (codeUnit <= 127) { if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + this[_buffer$][$_set]((t155 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155) + 1, t155), codeUnit); } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); @@ -45803,14 +49206,14 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { let rune = codeUnit; if (rune <= 2047) { if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); - this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + this[_buffer$][$_set]((t155$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$) + 1, t155$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t155$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$0) + 1, t155$0), 128 | rune & 63); } else { - if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (!(rune <= 65535)) dart.assertFailed(null, I[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); - this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); - this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + this[_buffer$][$_set]((t155$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$1) + 1, t155$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t155$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$2) + 1, t155$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t155$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$3) + 1, t155$3), 128 | rune & 63); } } } @@ -45821,7 +49224,7 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { convert._Utf8Encoder.withBufferSize.call(this, 1024); }).prototype = convert._Utf8Encoder.prototype; (convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); this[_carry] = 0; this[_bufferIndex] = 0; this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); @@ -45835,13 +49238,15 @@ dart.setMethodSignature(convert._Utf8Encoder, () => ({ [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) })); -dart.setLibraryUri(convert._Utf8Encoder, I[31]); +dart.setStaticMethodSignature(convert._Utf8Encoder, () => ['_createBuffer']); +dart.setLibraryUri(convert._Utf8Encoder, I[33]); dart.setFieldSignature(convert._Utf8Encoder, () => ({ __proto__: dart.getFields(convert._Utf8Encoder.__proto__), [_carry]: dart.fieldType(core.int), [_bufferIndex]: dart.fieldType(core.int), [_buffer$]: dart.finalFieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(convert._Utf8Encoder, () => ['_DEFAULT_BYTE_BUFFER_SIZE']); dart.defineLazy(convert._Utf8Encoder, { /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { return 1024; @@ -45856,6 +49261,10 @@ const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConve }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); + return new convert._Utf8EncoderSink.new(_sink); + } close() { if (this[_carry] !== 0) { this.addSlice("", 0, 0, true); @@ -45864,10 +49273,10 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon this[_sink$0].close(); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[98], 245, 24, "str"); - if (start == null) dart.nullFailed(I[98], 245, 33, "start"); - if (end == null) dart.nullFailed(I[98], 245, 44, "end"); - if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + if (str == null) dart.nullFailed(I[101], 249, 24, "str"); + if (start == null) dart.nullFailed(I[101], 249, 33, "start"); + if (end == null) dart.nullFailed(I[101], 249, 44, "end"); + if (isLast == null) dart.nullFailed(I[101], 249, 54, "isLast"); this[_bufferIndex] = 0; if (start == end && !dart.test(isLast)) { return; @@ -45877,10 +49286,10 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon if (start != end) { nextCodeUnit = str[$codeUnitAt](start); } else { - if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + if (!dart.test(isLast)) dart.assertFailed(null, I[101], 261, 16, "isLast"); } let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); - if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[101], 265, 14, "!wasCombined || start != end"); if (dart.test(wasCombined)) start = dart.notNull(start) + 1; this[_carry] = 0; } @@ -45902,7 +49311,7 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon } }; (convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); this[_sink$0] = _sink; convert._Utf8EncoderSink.__proto__.new.call(this); ; @@ -45914,7 +49323,7 @@ dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); +dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) @@ -45928,10 +49337,10 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co super[_allowMalformed$] = value; } static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 433, 59, "start"); - if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + if (allowMalformed == null) dart.nullFailed(I[88], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 433, 59, "start"); + if (end == null) dart.nullFailed(I[88], 433, 70, "end"); let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; if (decoder == null) return null; if (0 === start && end == codeUnits[$length]) { @@ -45942,7 +49351,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); } static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); try { return decoder.decode(codeUnits); } catch (e$) { @@ -45953,10 +49362,15 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } return null; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); + return new convert.Utf8Decoder.new({allowMalformed: allowMalformed}); + } convert(codeUnits, start = 0, end = null) { T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + if (codeUnits == null) dart.nullFailed(I[101], 343, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 343, 44, "start"); let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); if (result != null) { return result; @@ -45965,7 +49379,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45976,17 +49390,17 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); return super.bind(stream); } fuse(T, next) { - if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + if (next == null) dart.nullFailed(I[88], 398, 56, "next"); return super.fuse(T, next); } static _convertIntercepted(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (allowMalformed == null) dart.nullFailed(I[88], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 405, 53, "start"); if (codeUnits instanceof Uint8Array) { let casted = codeUnits; end == null ? end = casted[$length] : null; @@ -46006,7 +49420,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co }; (convert.Utf8Decoder.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); this[_allowMalformed$0] = allowMalformed; convert.Utf8Decoder.__proto__.new.call(this); ; @@ -46019,11 +49433,13 @@ dart.setMethodSignature(convert.Utf8Decoder, () => ({ startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Utf8Decoder, I[31]); +dart.setStaticMethodSignature(convert.Utf8Decoder, () => ['_convertInterceptedUint8List', '_useTextDecoder', '_convertIntercepted']); +dart.setLibraryUri(convert.Utf8Decoder, I[33]); dart.setFieldSignature(convert.Utf8Decoder, () => ({ __proto__: dart.getFields(convert.Utf8Decoder.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(convert.Utf8Decoder, () => ['_shortInputThreshold', '_decoder', '_decoderNonfatal']); dart.defineLazy(convert.Utf8Decoder, { /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { return 15; @@ -46059,60 +49475,64 @@ var _charOrIndex = dart.privateName(convert, "_charOrIndex"); var _convertRecursive = dart.privateName(convert, "_convertRecursive"); convert._Utf8Decoder = class _Utf8Decoder extends core.Object { static isErrorState(state) { - if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + if (state == null) dart.nullFailed(I[101], 528, 32, "state"); return (dart.notNull(state) & 1) !== 0; } static errorDescription(state) { - if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + if (state == null) dart.nullFailed(I[101], 530, 38, "state"); switch (state) { case 65: - { - return "Missing extension byte"; - } + { + return "Missing extension byte"; + } case 67: - { - return "Unexpected extension byte"; - } + { + return "Unexpected extension byte"; + } case 69: - { - return "Invalid UTF-8 byte"; - } + { + return "Invalid UTF-8 byte"; + } case 71: - { - return "Overlong encoding"; - } + { + return "Overlong encoding"; + } case 73: - { - return "Out of unicode range"; - } + { + return "Out of unicode range"; + } case 75: - { - return "Encoded surrogate"; - } + { + return "Encoded surrogate"; + } case 77: - { - return "Unfinished UTF-8 octet sequence"; - } + { + return "Unfinished UTF-8 octet sequence"; + } default: - { - return ""; - } + { + return ""; + } } } + static ['_#new#tearOff'](allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); + return new convert._Utf8Decoder.new(allowMalformed); + } convertSingle(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 479, 49, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, true); } convertChunked(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 484, 50, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, false); } convertGeneral(codeUnits, start, maybeEnd, single) { - if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 529, 32, "start"); - if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + if (codeUnits == null) dart.nullFailed(I[101], 558, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 558, 32, "start"); + if (single == null) dart.nullFailed(I[101], 558, 59, "single"); let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); if (start == end) return ""; let bytes = null; @@ -46135,10 +49555,10 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return result; } [_convertRecursive](bytes, start, end, single) { - if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); - if (start == null) dart.nullFailed(I[98], 556, 49, "start"); - if (end == null) dart.nullFailed(I[98], 556, 60, "end"); - if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (bytes == null) dart.nullFailed(I[101], 585, 38, "bytes"); + if (start == null) dart.nullFailed(I[101], 585, 49, "start"); + if (end == null) dart.nullFailed(I[101], 585, 60, "end"); + if (single == null) dart.nullFailed(I[101], 585, 70, "single"); if (dart.notNull(end) - dart.notNull(start) > 1000) { let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); let s1 = this[_convertRecursive](bytes, start, mid, false); @@ -46149,7 +49569,7 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return this.decodeGeneral(bytes, start, end, single); } flush(sink) { - if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + if (sink == null) dart.nullFailed(I[101], 602, 25, "sink"); let state = this[_state$0]; this[_state$0] = 0; if (dart.notNull(state) <= 32) { @@ -46162,18 +49582,18 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } } decodeGeneral(bytes, start, end, single) { - let t178, t178$, t178$0, t178$1; - if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); - if (start == null) dart.nullFailed(I[98], 587, 45, "start"); - if (end == null) dart.nullFailed(I[98], 587, 56, "end"); - if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let t158, t158$, t158$0, t158$1; + if (bytes == null) dart.nullFailed(I[101], 616, 34, "bytes"); + if (start == null) dart.nullFailed(I[101], 616, 45, "start"); + if (end == null) dart.nullFailed(I[101], 616, 56, "end"); + if (single == null) dart.nullFailed(I[101], 616, 66, "single"); let typeTable = convert._Utf8Decoder.typeTable; let transitionTable = convert._Utf8Decoder.transitionTable; let state = this[_state$0]; let char = this[_charOrIndex]; let buffer = new core.StringBuffer.new(); let i = start; - let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + let byte = bytes[$_get]((t158 = i, i = dart.notNull(t158) + 1, t158)); L1: while (true) { while (true) { @@ -46189,22 +49609,22 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { switch (state) { case 69: case 67: - { - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + break; + } case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } } state = 0; } else { @@ -46214,20 +49634,20 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } } if (i == end) break L1; - byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); } let markStart = i; - byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + byte = bytes[$_get]((t158$0 = i, i = dart.notNull(t158$0) + 1, t158$0)); if (dart.notNull(byte) < 128) { let markEnd = end; while (dart.notNull(i) < dart.notNull(end)) { - byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + byte = bytes[$_get]((t158$1 = i, i = dart.notNull(t158$1) + 1, t158$1)); if (dart.notNull(byte) >= 128) { markEnd = dart.notNull(i) - 1; break; } } - if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[101], 681, 16, "markStart < markEnd"); if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { buffer.writeCharCode(bytes[$_get](m)); @@ -46252,9 +49672,9 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return buffer.toString(); } static _makeUint8List(codeUnits, start, end) { - if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 679, 60, "start"); - if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + if (codeUnits == null) dart.nullFailed(I[101], 708, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 708, 60, "start"); + if (end == null) dart.nullFailed(I[101], 708, 71, "end"); let length = dart.notNull(end) - dart.notNull(start); let bytes = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -46268,7 +49688,7 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } }; (convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); this[_charOrIndex] = 0; this.allowMalformed = allowMalformed; this[_state$0] = 16; @@ -46285,13 +49705,15 @@ dart.setMethodSignature(convert._Utf8Decoder, () => ({ flush: dart.fnType(dart.void, [core.StringSink]), decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8Decoder, I[31]); +dart.setStaticMethodSignature(convert._Utf8Decoder, () => ['isErrorState', 'errorDescription', '_makeUint8List']); +dart.setLibraryUri(convert._Utf8Decoder, I[33]); dart.setFieldSignature(convert._Utf8Decoder, () => ({ __proto__: dart.getFields(convert._Utf8Decoder.__proto__), allowMalformed: dart.finalFieldType(core.bool), [_state$0]: dart.fieldType(core.int), [_charOrIndex]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._Utf8Decoder, () => ['typeMask', 'shiftedByteMask', 'typeTable', 'IA', 'BB', 'AB', 'X1', 'X2', 'X3', 'TO', 'TS', 'QO', 'QR', 'B1', 'B2', 'E1', 'E2', 'E3', 'E4', 'E5', 'E6', 'E7', '_IA', '_BB', '_AB', '_X1', '_X2', '_X3', '_TO', '_TS', '_QO', '_QR', '_B1', '_B2', '_E1', '_E2', '_E3', '_E4', '_E5', '_E6', '_E7', 'transitionTable', 'initial', 'accept', 'beforeBom', 'afterBom', 'errorMissingExtension', 'errorUnexpectedExtension', 'errorInvalid', 'errorOverlong', 'errorOutOfRange', 'errorSurrogate', 'errorUnfinished']); dart.defineLazy(convert._Utf8Decoder, { /*convert._Utf8Decoder.typeMask*/get typeMask() { return 31; @@ -46454,7 +49876,7 @@ dart.defineLazy(convert._Utf8Decoder, { } }, false); convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); function walk(e) { if (e == null || typeof e != "object") { return e; @@ -46495,15 +49917,15 @@ convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { return object; }; convert.base64Encode = function base64Encode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 41, 31, "bytes"); return convert.base64.encode(bytes); }; convert.base64UrlEncode = function base64UrlEncode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 46, 34, "bytes"); return convert.base64Url.encode(bytes); }; convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + if (source == null) dart.nullFailed(I[96], 52, 31, "source"); return convert.base64.decode(source); }; convert.jsonEncode = function jsonEncode(object, opts) { @@ -46511,12 +49933,12 @@ convert.jsonEncode = function jsonEncode(object, opts) { return convert.json.encode(object, {toEncodable: toEncodable}); }; convert.jsonDecode = function jsonDecode(source, opts) { - if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + if (source == null) dart.nullFailed(I[98], 153, 27, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; return convert.json.decode(source, {reviver: reviver}); }; convert._parseJson = function _parseJson(source, reviver) { - if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (source == null) dart.nullFailed(I[88], 31, 19, "source"); if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); let parsed = null; try { @@ -46538,42 +49960,42 @@ convert._defaultToEncodable = function _defaultToEncodable(object) { return dart.dsend(object, 'toJson', []); }; convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 389, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; }; convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 391, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; }; convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { - if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); - if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + if (lead == null) dart.nullFailed(I[101], 393, 31, "lead"); + if (tail == null) dart.nullFailed(I[101], 393, 41, "tail"); return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; }; dart.defineLazy(convert, { /*convert.ascii*/get ascii() { - return C[102] || CT.C102; + return C[109] || CT.C109; }, /*convert._asciiMask*/get _asciiMask() { return 127; }, /*convert.base64*/get base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*convert.base64Url*/get base64Url() { - return C[104] || CT.C104; + return C[111] || CT.C111; }, /*convert._paddingChar*/get _paddingChar() { return 61; }, /*convert.htmlEscape*/get htmlEscape() { - return C[105] || CT.C105; + return C[112] || CT.C112; }, /*convert.json*/get json() { - return C[106] || CT.C106; + return C[113] || CT.C113; }, /*convert.latin1*/get latin1() { - return C[107] || CT.C107; + return C[114] || CT.C114; }, /*convert._latin1Mask*/get _latin1Mask() { return 255; @@ -46591,7 +50013,7 @@ dart.defineLazy(convert, { return 65279; }, /*convert.utf8*/get utf8() { - return C[108] || CT.C108; + return C[115] || CT.C115; }, /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { return 127; @@ -46619,9 +50041,13 @@ dart.defineLazy(convert, { } }, false); developer._FakeUserTag = class _FakeUserTag extends core.Object { + static ['_#real#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); + return new developer._FakeUserTag.real(label); + } static new(label) { - let t181, t180, t179; - if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let t161, t160, t159; + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); let existingTag = developer._FakeUserTag._instances[$_get](label); if (existingTag != null) { return existingTag; @@ -46629,11 +50055,15 @@ developer._FakeUserTag = class _FakeUserTag extends core.Object { if (developer._FakeUserTag._instances[$length] === 64) { dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); } - t179 = developer._FakeUserTag._instances; - t180 = label; - t181 = new developer._FakeUserTag.real(label); - t179[$_set](t180, t181); - return t181; + t159 = developer._FakeUserTag._instances; + t160 = label; + t161 = new developer._FakeUserTag.real(label); + t159[$_set](t160, t161); + return t161; + } + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); + return developer._FakeUserTag.new(label); } makeCurrent() { let old = developer._currentTag; @@ -46642,7 +50072,7 @@ developer._FakeUserTag = class _FakeUserTag extends core.Object { } }; (developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); this.label = label; ; }).prototype = developer._FakeUserTag.prototype; @@ -46653,11 +50083,13 @@ dart.setMethodSignature(developer._FakeUserTag, () => ({ __proto__: dart.getMethods(developer._FakeUserTag.__proto__), makeCurrent: dart.fnType(developer.UserTag, []) })); -dart.setLibraryUri(developer._FakeUserTag, I[100]); +dart.setStaticMethodSignature(developer._FakeUserTag, () => ['new']); +dart.setLibraryUri(developer._FakeUserTag, I[103]); dart.setFieldSignature(developer._FakeUserTag, () => ({ __proto__: dart.getFields(developer._FakeUserTag.__proto__), label: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(developer._FakeUserTag, () => ['_instances', '_defaultTag']); dart.defineLazy(developer._FakeUserTag, { /*developer._FakeUserTag._instances*/get _instances() { return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); @@ -46689,8 +50121,17 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core set errorDetail(value) { super.errorDetail = value; } + static ['_#result#tearOff'](result) { + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); + return new developer.ServiceExtensionResponse.result(result); + } + static ['_#error#tearOff'](errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); + return new developer.ServiceExtensionResponse.error(errorCode, errorDetail); + } static _errorCodeMessage(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 60, 39, "errorCode"); developer.ServiceExtensionResponse._validateErrorCode(errorCode); if (errorCode === -32602) { return "Invalid params"; @@ -46698,8 +50139,8 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core return "Server error"; } static _validateErrorCode(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); - core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 68, 33, "errorCode"); + _internal.checkNotNullable(core.int, errorCode, "errorCode"); if (errorCode === -32602) return; if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { return; @@ -46710,26 +50151,26 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core return this.errorCode != null && this.errorDetail != null; } [_toString$]() { - let t179; - t179 = this.result; - return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + let t159; + t159 = this.result; + return t159 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t159; } }; (developer.ServiceExtensionResponse.result = function(result) { - if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); this[result$] = result; this[errorCode$] = null; this[errorDetail$] = null; - core.ArgumentError.checkNotNull(core.String, result, "result"); + _internal.checkNotNullable(core.String, result, "result"); }).prototype = developer.ServiceExtensionResponse.prototype; (developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { - if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); - if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); this[result$] = null; this[errorCode$] = errorCode; this[errorDetail$] = errorDetail; developer.ServiceExtensionResponse._validateErrorCode(errorCode); - core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); + _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); }).prototype = developer.ServiceExtensionResponse.prototype; dart.addTypeTests(developer.ServiceExtensionResponse); dart.addTypeCaches(developer.ServiceExtensionResponse); @@ -46738,26 +50179,16 @@ dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ isError: dart.fnType(core.bool, []), [_toString$]: dart.fnType(core.String, []) })); -dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); +dart.setStaticMethodSignature(developer.ServiceExtensionResponse, () => ['_errorCodeMessage', '_validateErrorCode']); +dart.setLibraryUri(developer.ServiceExtensionResponse, I[103]); dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), result: dart.finalFieldType(dart.nullable(core.String)), errorCode: dart.finalFieldType(dart.nullable(core.int)), errorDetail: dart.finalFieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(developer.ServiceExtensionResponse, () => ['invalidParams', 'extensionError', 'extensionErrorMax', 'extensionErrorMin']); dart.defineLazy(developer.ServiceExtensionResponse, { - /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { - return -32016; - }, /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { return -32602; }, @@ -46772,6 +50203,10 @@ dart.defineLazy(developer.ServiceExtensionResponse, { } }, false); developer.UserTag = class UserTag extends core.Object { + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 191, 26, "label"); + return developer._FakeUserTag.new(label); + } static get defaultTag() { return developer._FakeUserTag._defaultTag; } @@ -46780,8 +50215,14 @@ developer.UserTag = class UserTag extends core.Object { }).prototype = developer.UserTag.prototype; dart.addTypeTests(developer.UserTag); dart.addTypeCaches(developer.UserTag); -dart.setLibraryUri(developer.UserTag, I[100]); +dart.setStaticMethodSignature(developer.UserTag, () => ['new']); +dart.setStaticGetterSignature(developer.UserTag, () => ['defaultTag']); +dart.setLibraryUri(developer.UserTag, I[103]); +dart.setStaticFieldSignature(developer.UserTag, () => ['maxUserTags', 'MAX_USER_TAGS', '_redirecting#']); dart.defineLazy(developer.UserTag, { + /*developer.UserTag.maxUserTags*/get maxUserTags() { + return 64; + }, /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { return 64; } @@ -46803,8 +50244,8 @@ developer.Metric = class Metric extends core.Object { } }; (developer.Metric.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 39, 15, "name"); - if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + if (name == null) dart.nullFailed(I[105], 46, 15, "name"); + if (description == null) dart.nullFailed(I[105], 46, 26, "description"); this[name$10] = name; this[description$] = description; if (this.name === "vm" || this.name[$contains]("/")) { @@ -46813,7 +50254,7 @@ developer.Metric = class Metric extends core.Object { }).prototype = developer.Metric.prototype; dart.addTypeTests(developer.Metric); dart.addTypeCaches(developer.Metric); -dart.setLibraryUri(developer.Metric, I[100]); +dart.setLibraryUri(developer.Metric, I[103]); dart.setFieldSignature(developer.Metric, () => ({ __proto__: dart.getFields(developer.Metric.__proto__), name: dart.finalFieldType(core.String), @@ -46840,7 +50281,7 @@ developer.Gauge = class Gauge extends developer.Metric { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (v == null) dart.nullFailed(I[105], 64, 20, "v"); if (dart.notNull(v) < dart.notNull(this.min)) { v = this.min; } else if (dart.notNull(v) > dart.notNull(this.max)) { @@ -46848,16 +50289,23 @@ developer.Gauge = class Gauge extends developer.Metric { } this[_value] = v; } + static ['_#new#tearOff'](name, description, min, max) { + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); + return new developer.Gauge.new(name, description, min, max); + } [_toJSON]() { let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); return map; } }; (developer.Gauge.new = function(name, description, min, max) { - if (name == null) dart.nullFailed(I[102], 65, 16, "name"); - if (description == null) dart.nullFailed(I[102], 65, 29, "description"); - if (min == null) dart.nullFailed(I[102], 65, 47, "min"); - if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); this[min$] = min; this[max$] = max; this[_value] = min; @@ -46880,7 +50328,7 @@ dart.setSetterSignature(developer.Gauge, () => ({ __proto__: dart.getSetters(developer.Gauge.__proto__), value: core.double })); -dart.setLibraryUri(developer.Gauge, I[100]); +dart.setLibraryUri(developer.Gauge, I[103]); dart.setFieldSignature(developer.Gauge, () => ({ __proto__: dart.getFields(developer.Gauge.__proto__), min: dart.finalFieldType(core.double), @@ -46888,11 +50336,16 @@ dart.setFieldSignature(developer.Gauge, () => ({ [_value]: dart.fieldType(core.double) })); developer.Counter = class Counter extends developer.Metric { + static ['_#new#tearOff'](name, description) { + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); + return new developer.Counter.new(name, description); + } get value() { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + if (v == null) dart.nullFailed(I[105], 103, 20, "v"); this[_value] = v; } [_toJSON]() { @@ -46901,8 +50354,8 @@ developer.Counter = class Counter extends developer.Metric { } }; (developer.Counter.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 90, 18, "name"); - if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); this[_value] = 0.0; developer.Counter.__proto__.new.call(this, name, description); ; @@ -46921,14 +50374,17 @@ dart.setSetterSignature(developer.Counter, () => ({ __proto__: dart.getSetters(developer.Counter.__proto__), value: core.double })); -dart.setLibraryUri(developer.Counter, I[100]); +dart.setLibraryUri(developer.Counter, I[103]); dart.setFieldSignature(developer.Counter, () => ({ __proto__: dart.getFields(developer.Counter.__proto__), [_value]: dart.fieldType(core.double) })); developer.Metrics = class Metrics extends core.Object { + static get current() { + return new (T$0.UnmodifiableMapViewOfString$Metric()).new(developer.Metrics._metrics); + } static register(metric) { - if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + if (metric == null) dart.nullFailed(I[105], 129, 31, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); if (developer.Metrics._metrics[$_get](metric.name) != null) { dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); @@ -46936,12 +50392,12 @@ developer.Metrics = class Metrics extends core.Object { developer.Metrics._metrics[$_set](metric.name, metric); } static deregister(metric) { - if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + if (metric == null) dart.nullFailed(I[105], 139, 33, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); developer.Metrics._metrics[$remove](metric.name); } static _printMetric(id) { - if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + if (id == null) dart.nullFailed(I[105], 146, 38, "id"); let metric = developer.Metrics._metrics[$_get](id); if (metric == null) { return null; @@ -46956,16 +50412,22 @@ developer.Metrics = class Metrics extends core.Object { let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); return convert.json.encode(map); } + static ['_#new#tearOff']() { + return new developer.Metrics.new(); + } }; (developer.Metrics.new = function() { ; }).prototype = developer.Metrics.prototype; dart.addTypeTests(developer.Metrics); dart.addTypeCaches(developer.Metrics); -dart.setLibraryUri(developer.Metrics, I[100]); +dart.setStaticMethodSignature(developer.Metrics, () => ['register', 'deregister', '_printMetric', '_printMetrics']); +dart.setStaticGetterSignature(developer.Metrics, () => ['current']); +dart.setLibraryUri(developer.Metrics, I[103]); +dart.setStaticFieldSignature(developer.Metrics, () => ['_metrics']); dart.defineLazy(developer.Metrics, { /*developer.Metrics._metrics*/get _metrics() { - return new (T$0.LinkedMapOfString$Metric()).new(); + return new (T$0.IdentityMapOfString$Metric()).new(); } }, false); var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); @@ -46990,6 +50452,24 @@ developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { set serverUri(value) { super.serverUri = value; } + get serverWebSocketUri() { + let uri = this.serverUri; + if (uri != null) { + let pathSegments = T$.JSArrayOfString().of([]); + if (dart.test(uri.pathSegments[$isNotEmpty])) { + pathSegments[$addAll](uri.pathSegments[$where](dart.fn(s => { + if (s == null) dart.nullFailed(I[106], 35, 12, "s"); + return s[$isNotEmpty]; + }, T$.StringTobool()))); + } + pathSegments[$add]("ws"); + uri = uri.replace({scheme: "ws", pathSegments: pathSegments}); + } + return uri; + } + static ['_#new#tearOff'](serverUri) { + return new developer.ServiceProtocolInfo.new(serverUri); + } toString() { if (this.serverUri != null) { return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); @@ -47006,7 +50486,11 @@ developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { }).prototype = developer.ServiceProtocolInfo.prototype; dart.addTypeTests(developer.ServiceProtocolInfo); dart.addTypeCaches(developer.ServiceProtocolInfo); -dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); +dart.setGetterSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getGetters(developer.ServiceProtocolInfo.__proto__), + serverWebSocketUri: dart.nullable(core.Uri) +})); +dart.setLibraryUri(developer.ServiceProtocolInfo, I[103]); dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), majorVersion: dart.finalFieldType(core.int), @@ -47018,121 +50502,110 @@ developer.Service = class Service extends core.Object { static getInfo() { return async.async(developer.ServiceProtocolInfo, function* getInfo() { let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); - let uriCompleter = T$0.CompleterOfUriN().new(); - receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._getServerInfo(receivePort.sendPort); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static controlWebServer(opts) { let enable = opts && 'enable' in opts ? opts.enable : false; - if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + if (enable == null) dart.nullFailed(I[106], 83, 13, "enable"); let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { core.ArgumentError.checkNotNull(core.bool, enable, "enable"); let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); - let uriCompleter = T$0.CompleterOfUri().new(); - receivePort.handler = dart.fn(uri => { - if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); - return uriCompleter.complete(uri); - }, T$0.UriTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static getIsolateID(isolate) { - if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + if (isolate == null) dart.nullFailed(I[106], 105, 39, "isolate"); core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); return developer._getIsolateIDFromSendPort(isolate.controlPort); } + static ['_#new#tearOff']() { + return new developer.Service.new(); + } }; (developer.Service.new = function() { ; }).prototype = developer.Service.prototype; dart.addTypeTests(developer.Service); dart.addTypeCaches(developer.Service); -dart.setLibraryUri(developer.Service, I[100]); -var id$ = dart.privateName(developer, "Flow.id"); +dart.setStaticMethodSignature(developer.Service, () => ['getInfo', 'controlWebServer', 'getIsolateID']); +dart.setLibraryUri(developer.Service, I[103]); +var id$0 = dart.privateName(developer, "Flow.id"); var _type$0 = dart.privateName(developer, "_type"); developer.Flow = class Flow extends core.Object { get id() { - return this[id$]; + return this[id$0]; } set id(value) { super.id = value; } + static ['_#_#tearOff'](_type, id) { + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); + return new developer.Flow.__(_type, id); + } static begin(opts) { - let t179; + let t159; let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); } static step(id) { - if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + if (id == null) dart.nullFailed(I[107], 77, 24, "id"); return new developer.Flow.__(10, id); } static end(id) { - if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + if (id == null) dart.nullFailed(I[107], 84, 23, "id"); return new developer.Flow.__(11, id); } }; (developer.Flow.__ = function(_type, id) { - if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); - if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); this[_type$0] = _type; - this[id$] = id; + this[id$0] = id; ; }).prototype = developer.Flow.prototype; dart.addTypeTests(developer.Flow); dart.addTypeCaches(developer.Flow); -dart.setLibraryUri(developer.Flow, I[100]); +dart.setStaticMethodSignature(developer.Flow, () => ['begin', 'step', 'end']); +dart.setLibraryUri(developer.Flow, I[103]); dart.setFieldSignature(developer.Flow, () => ({ __proto__: dart.getFields(developer.Flow.__proto__), [_type$0]: dart.finalFieldType(core.int), id: dart.finalFieldType(core.int) })); -dart.defineLazy(developer.Flow, { - /*developer.Flow._begin*/get _begin() { - return 9; - }, - /*developer.Flow._step*/get _step() { - return 10; - }, - /*developer.Flow._end*/get _end() { - return 11; - } -}, false); -var _arguments$1 = dart.privateName(developer, "_arguments"); var _startSync = dart.privateName(developer, "_startSync"); developer.Timeline = class Timeline extends core.Object { static startSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + if (name == null) dart.nullFailed(I[107], 112, 32, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { developer.Timeline._stack[$add](null); return; } - let block = new developer._SyncBlock.__(name); - if ($arguments != null) { - block[_arguments$1] = $arguments; - } - if (flow != null) { - block.flow = flow; - } + let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); developer.Timeline._stack[$add](block); block[_startSync](); } static finishSync() { - if (!true) { - return; - } - if (developer.Timeline._stack[$length] === 0) { + ; + if (dart.test(developer.Timeline._stack[$isEmpty])) { dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); } let block = developer.Timeline._stack[$removeLast](); @@ -47142,22 +50615,19 @@ developer.Timeline = class Timeline extends core.Object { block.finish(); } static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + if (name == null) dart.nullFailed(I[107], 146, 34, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { return; } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + let taskId = 0; + developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); } static timeSync(T, name, $function, opts) { - if (name == null) dart.nullFailed(I[104], 159, 31, "name"); - if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + if (name == null) dart.nullFailed(I[107], 162, 31, "name"); + if ($function == null) dart.nullFailed(I[107], 162, 61, "function"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); @@ -47170,13 +50640,19 @@ developer.Timeline = class Timeline extends core.Object { static get now() { return developer._getTraceClock(); } + static ['_#new#tearOff']() { + return new developer.Timeline.new(); + } }; (developer.Timeline.new = function() { ; }).prototype = developer.Timeline.prototype; dart.addTypeTests(developer.Timeline); dart.addTypeCaches(developer.Timeline); -dart.setLibraryUri(developer.Timeline, I[100]); +dart.setStaticMethodSignature(developer.Timeline, () => ['startSync', 'finishSync', 'instantSync', 'timeSync']); +dart.setStaticGetterSignature(developer.Timeline, () => ['now']); +dart.setLibraryUri(developer.Timeline, I[103]); +dart.setStaticFieldSignature(developer.Timeline, () => ['_stack']); dart.defineLazy(developer.Timeline, { /*developer.Timeline._stack*/get _stack() { return T$0.JSArrayOf_SyncBlockN().of([]); @@ -47189,11 +50665,25 @@ var _taskId$ = dart.privateName(developer, "_taskId"); var _start = dart.privateName(developer, "_start"); var _finish = dart.privateName(developer, "_finish"); developer.TimelineTask = class TimelineTask extends core.Object { + static ['_#new#tearOff'](opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.new({parent: parent, filterKey: filterKey}); + } + static ['_#withTaskId#tearOff'](taskId, opts) { + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.withTaskId(taskId, {filterKey: filterKey}); + } start(name, opts) { - if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + if (name == null) dart.nullFailed(I[107], 221, 21, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + this[_stack][$add](null); + return; + } let block = new developer._AsyncBlock.__(name, this[_taskId$]); this[_stack][$add](block); let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); @@ -47207,10 +50697,13 @@ developer.TimelineTask = class TimelineTask extends core.Object { block[_start](map); } instant(name, opts) { - if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + if (name == null) dart.nullFailed(I[107], 249, 23, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } let instantArguments = null; if ($arguments != null) { instantArguments = collection.LinkedHashMap.from($arguments); @@ -47219,13 +50712,11 @@ developer.TimelineTask = class TimelineTask extends core.Object { instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; instantArguments[$_set]("filterKey", this[_filterKey]); } - developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); } finish(opts) { let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) { - return; - } + ; if (this[_stack][$length] === 0) { dart.throw(new core.StateError.new("Uneven calls to start and finish")); } @@ -47234,6 +50725,9 @@ developer.TimelineTask = class TimelineTask extends core.Object { $arguments[$_set]("filterKey", this[_filterKey]); } let block = this[_stack][$removeLast](); + if (block == null) { + return; + } block[_finish]($arguments); } pass() { @@ -47247,15 +50741,15 @@ developer.TimelineTask = class TimelineTask extends core.Object { (developer.TimelineTask.new = function(opts) { let parent = opts && 'parent' in opts ? opts.parent : null; let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = parent; this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextAsyncId(); + this[_taskId$] = developer._getNextTaskId(); }).prototype = developer.TimelineTask.prototype; (developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = null; this[_filterKey] = filterKey; this[_taskId$] = taskId; @@ -47270,32 +50764,37 @@ dart.setMethodSignature(developer.TimelineTask, () => ({ finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), pass: dart.fnType(core.int, []) })); -dart.setLibraryUri(developer.TimelineTask, I[100]); +dart.setLibraryUri(developer.TimelineTask, I[103]); dart.setFieldSignature(developer.TimelineTask, () => ({ __proto__: dart.getFields(developer.TimelineTask.__proto__), [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), [_taskId$]: dart.finalFieldType(core.int), - [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) + [_stack]: dart.finalFieldType(core.List$(dart.nullable(developer._AsyncBlock))) })); +dart.setStaticFieldSignature(developer.TimelineTask, () => ['_kFilterKey']); dart.defineLazy(developer.TimelineTask, { /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { return "filterKey"; } }, false); developer._AsyncBlock = class _AsyncBlock extends core.Object { + static ['_#_#tearOff'](name, _taskId) { + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); + return new developer._AsyncBlock.__(name, _taskId); + } [_start]($arguments) { - if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + if ($arguments == null) dart.nullFailed(I[107], 322, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); } [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); } }; (developer._AsyncBlock.__ = function(name, _taskId) { - if (name == null) dart.nullFailed(I[104], 306, 22, "name"); - if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); - this.category = "Dart"; + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); this.name = name; this[_taskId$] = _taskId; ; @@ -47307,35 +50806,56 @@ dart.setMethodSignature(developer._AsyncBlock, () => ({ [_start]: dart.fnType(dart.void, [core.Map]), [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) })); -dart.setLibraryUri(developer._AsyncBlock, I[100]); +dart.setLibraryUri(developer._AsyncBlock, I[103]); dart.setFieldSignature(developer._AsyncBlock, () => ({ __proto__: dart.getFields(developer._AsyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), [_taskId$]: dart.finalFieldType(core.int) })); -var _flow = dart.privateName(developer, "_flow"); +var ___SyncBlock__jsonArguments = dart.privateName(developer, "_#_SyncBlock#_jsonArguments"); +var ___SyncBlock__jsonArguments_isSet = dart.privateName(developer, "_#_SyncBlock#_jsonArguments#isSet"); +var _jsonArguments = dart.privateName(developer, "_jsonArguments"); developer._SyncBlock = class _SyncBlock extends core.Object { + get [_jsonArguments]() { + let t160; + if (!dart.test(this[___SyncBlock__jsonArguments_isSet])) { + let t159 = developer._argumentsAsJson(this.arguments); + if (dart.test(this[___SyncBlock__jsonArguments_isSet])) dart.throw(new _internal.LateError.fieldADI("_jsonArguments")); + this[___SyncBlock__jsonArguments] = t159; + this[___SyncBlock__jsonArguments_isSet] = true; + } + t160 = this[___SyncBlock__jsonArguments]; + return t160; + } + static ['_#_#tearOff'](name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + return new developer._SyncBlock.__(name, taskId, {arguments: $arguments, flow: flow}); + } [_startSync]() { - developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + developer._reportTaskEvent(this.taskId, 1, this.name, this[_jsonArguments]); } finish() { - developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); - if (this[_flow] != null) { - developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + developer._reportTaskEvent(this.taskId, 2, this.name, this[_jsonArguments]); + let tempFlow = this.flow; + if (tempFlow != null) { + developer._reportTaskEvent(tempFlow.id, tempFlow[_type$0], dart.str(tempFlow.id), developer._argumentsAsJson(null)); } } - set flow(f) { - if (f == null) dart.nullFailed(I[104], 353, 22, "f"); - this[_flow] = f; - } }; -(developer._SyncBlock.__ = function(name) { - if (name == null) dart.nullFailed(I[104], 335, 21, "name"); - this.category = "Dart"; - this[_arguments$1] = null; - this[_flow] = null; +(developer._SyncBlock.__ = function(name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + this[___SyncBlock__jsonArguments] = null; + this[___SyncBlock__jsonArguments_isSet] = false; this.name = name; + this.taskId = taskId; + this.arguments = $arguments; + this.flow = flow; ; }).prototype = developer._SyncBlock.prototype; dart.addTypeTests(developer._SyncBlock); @@ -47345,24 +50865,26 @@ dart.setMethodSignature(developer._SyncBlock, () => ({ [_startSync]: dart.fnType(dart.void, []), finish: dart.fnType(dart.void, []) })); -dart.setSetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getSetters(developer._SyncBlock.__proto__), - flow: developer.Flow +dart.setGetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getGetters(developer._SyncBlock.__proto__), + [_jsonArguments]: core.String })); -dart.setLibraryUri(developer._SyncBlock, I[100]); +dart.setLibraryUri(developer._SyncBlock, I[103]); dart.setFieldSignature(developer._SyncBlock, () => ({ __proto__: dart.getFields(developer._SyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), - [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), - [_flow]: dart.fieldType(dart.nullable(developer.Flow)) + taskId: dart.finalFieldType(core.int), + arguments: dart.finalFieldType(dart.nullable(core.Map)), + flow: dart.finalFieldType(dart.nullable(developer.Flow)), + [___SyncBlock__jsonArguments]: dart.fieldType(dart.nullable(core.String)), + [___SyncBlock__jsonArguments_isSet]: dart.fieldType(core.bool) })); developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { - if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); - if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + if (methodName == null) dart.nullFailed(I[102], 106, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[102], 106, 44, "encodedJson"); return new dart.global.Promise((resolve, reject) => { - if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); - if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + if (resolve == null) dart.nullFailed(I[102], 109, 25, "resolve"); + if (reject == null) dart.nullFailed(I[102], 109, 51, "reject"); return async.async(core.Null, function*() { try { let method = dart.nullCheck(developer._lookupExtension(methodName)); @@ -47381,7 +50903,7 @@ developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { }; developer.debugger = function $debugger(opts) { let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + if (when == null) dart.nullFailed(I[102], 26, 21, "when"); let message = opts && 'message' in opts ? opts.message : null; if (dart.test(when)) { debugger; @@ -47393,13 +50915,13 @@ developer.inspect = function inspect(object) { return object; }; developer.log = function log(message, opts) { - if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + if (message == null) dart.nullFailed(I[102], 42, 17, "message"); let time = opts && 'time' in opts ? opts.time : null; let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; let level = opts && 'level' in opts ? opts.level : 0; - if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + if (level == null) dart.nullFailed(I[102], 45, 9, "level"); let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + if (name == null) dart.nullFailed(I[102], 46, 12, "name"); let zone = opts && 'zone' in opts ? opts.zone : null; let error = opts && 'error' in opts ? opts.error : null; let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; @@ -47414,51 +50936,70 @@ developer.log = function log(message, opts) { console.debug("dart.developer.log", items); }; developer.registerExtension = function registerExtension$(method, handler) { - if (method == null) dart.nullFailed(I[101], 130, 31, "method"); - if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); - core.ArgumentError.checkNotNull(core.String, method, "method"); + if (method == null) dart.nullFailed(I[104], 114, 31, "method"); + if (handler == null) dart.nullFailed(I[104], 114, 63, "handler"); + _internal.checkNotNullable(core.String, method, "method"); if (!method[$startsWith]("ext.")) { dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); } if (developer._lookupExtension(method) != null) { dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); } - core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); developer._registerExtension(method, handler); }; developer.postEvent = function postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); - if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); - core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); - core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + if (eventKind == null) dart.nullFailed(I[104], 149, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[104], 149, 38, "eventData"); + if (!dart.test(developer.extensionStreamHasListener)) { + return; + } + _internal.checkNotNullable(core.String, eventKind, "eventKind"); + _internal.checkNotNullable(core.Map, eventData, "eventData"); let eventDataAsString = convert.json.encode(eventData); developer._postEvent(eventKind, eventDataAsString); }; developer._postEvent = function _postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); - if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + if (eventKind == null) dart.nullFailed(I[102], 126, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[102], 126, 42, "eventData"); + if (!!dart.global.$emitDebugEvent) { + dart.global.$emitDebugEvent(eventKind, eventData); + return; + } console.debug("dart.developer.postEvent", eventKind, eventData); }; developer._lookupExtension = function _lookupExtension(method) { - if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + if (method == null) dart.nullFailed(I[102], 69, 50, "method"); return developer._extensions[$_get](method); }; developer._registerExtension = function _registerExtension(method, handler) { - if (method == null) dart.nullFailed(I[99], 61, 27, "method"); - if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); - developer._extensions[$_set](method, handler); + if (method == null) dart.nullFailed(I[102], 74, 27, "method"); + if (handler == null) dart.nullFailed(I[102], 74, 59, "handler"); + if (!dart.test(developer._debuggerAttached)) { + if (!dart.test(developer._issuedRegisterExtensionWarning)) { + let message = "registerExtension() " + dart.str(developer._developerSupportWarning); + console.warn(message); + developer._issuedRegisterExtensionWarning = true; + } + return; + } + if (!!dart.global.$emitRegisterEvent) { + developer._extensions[$_set](method, handler); + dart.global.$emitRegisterEvent(method); + return; + } console.debug("dart.developer.registerExtension", method); }; developer.getCurrentTag = function getCurrentTag() { return developer._currentTag; }; developer._getServerInfo = function _getServerInfo(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 174, 30, "sendPort"); sendPort.send(null); }; developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); - if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + if (sendPort == null) dart.nullFailed(I[102], 179, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[102], 179, 48, "enable"); sendPort.send(null); }; developer._getServiceMajorVersion = function _getServiceMajorVersion() { @@ -47468,7 +51009,7 @@ developer._getServiceMinorVersion = function _getServiceMinorVersion() { return 0; }; developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); return null; }; developer._argumentsAsJson = function _argumentsAsJson($arguments) { @@ -47480,48 +51021,86 @@ developer._argumentsAsJson = function _argumentsAsJson($arguments) { developer._isDartStreamEnabled = function _isDartStreamEnabled() { return false; }; -developer._getNextAsyncId = function _getNextAsyncId() { +developer._getNextTaskId = function _getNextTaskId() { return 0; }; developer._getTraceClock = function _getTraceClock() { - let t180; - t180 = developer._clockValue; - developer._clockValue = dart.notNull(t180) + 1; - return t180; -}; -developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { - if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); - if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); - if (category == null) dart.nullFailed(I[99], 129, 56, "category"); - if (name == null) dart.nullFailed(I[99], 129, 73, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); -}; -developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 114, 12, "category"); - if (name == null) dart.nullFailed(I[99], 114, 29, "name"); - if (type == null) dart.nullFailed(I[99], 114, 39, "type"); - if (id == null) dart.nullFailed(I[99], 114, 49, "id"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); -}; -developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 119, 33, "category"); - if (name == null) dart.nullFailed(I[99], 119, 50, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); -}; + let t161; + t161 = developer._clockValue; + developer._clockValue = dart.notNull(t161) + 1; + return t161; +}; +developer._reportTaskEvent = function _reportTaskEvent(taskId, type, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[102], 159, 9, "taskId"); + if (type == null) dart.nullFailed(I[102], 159, 21, "type"); + if (name == null) dart.nullFailed(I[102], 159, 34, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[102], 159, 47, "argumentsAsJson"); +}; +dart.copyProperties(developer, { + get _debuggerAttached() { + return !!dart.global.$dwdsVersion; + }, + get reachabilityBarrier() { + return 0; + }, + get extensionStreamHasListener() { + return developer._debuggerAttached; + } +}); dart.defineLazy(developer, { + /*developer._issuedRegisterExtensionWarning*/get _issuedRegisterExtensionWarning() { + return false; + }, + set _issuedRegisterExtensionWarning(value) { + if (value == null) dart.nullFailed(I[102], 15, 5, "_issuedRegisterExtensionWarning"); + }, + /*developer._developerSupportWarning*/get _developerSupportWarning() { + return "from dart:developer is only supported in " + "build/run/test environments where the developer event method hooks have " + "been set by package:dwds v11.1.0 or higher."; + }, /*developer._extensions*/get _extensions() { return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); }, /*developer._clockValue*/get _clockValue() { return 0; }, - set _clockValue(_) {}, + set _clockValue(value) { + if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); + }, /*developer._currentTag*/get _currentTag() { return developer._FakeUserTag._defaultTag; }, - set _currentTag(_) {}, + set _currentTag(value) { + if (value == null) dart.nullFailed(I[102], 227, 5, "_currentTag"); + }, /*developer._hasTimeline*/get _hasTimeline() { return true; + }, + /*developer._begin*/get _begin() { + return 1; + }, + /*developer._end*/get _end() { + return 2; + }, + /*developer._instant*/get _instant() { + return 4; + }, + /*developer._asyncBegin*/get _asyncBegin() { + return 5; + }, + /*developer._asyncInstant*/get _asyncInstant() { + return 6; + }, + /*developer._asyncEnd*/get _asyncEnd() { + return 7; + }, + /*developer._flowBegin*/get _flowBegin() { + return 9; + }, + /*developer._flowStep*/get _flowStep() { + return 10; + }, + /*developer._flowEnd*/get _flowEnd() { + return 11; } }, false); io.IOException = class IOException extends core.Object { @@ -47535,7 +51114,7 @@ io.IOException = class IOException extends core.Object { dart.addTypeTests(io.IOException); dart.addTypeCaches(io.IOException); io.IOException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(io.IOException, I[105]); +dart.setLibraryUri(io.IOException, I[108]); dart.defineExtensionMethods(io.IOException, ['toString']); var message$2 = dart.privateName(io, "OSError.message"); var errorCode$0 = dart.privateName(io, "OSError.errorCode"); @@ -47552,39 +51131,44 @@ io.OSError = class OSError extends core.Object { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); + return new io.OSError.new(message, errorCode); + } toString() { - let t180, t180$, t180$0; + let t161, t161$, t161$0; let sb = new core.StringBuffer.new(); sb.write("OS Error"); if (this.message[$isNotEmpty]) { - t180 = sb; + t161 = sb; (() => { - t180.write(": "); - t180.write(this.message); - return t180; + t161.write(": "); + t161.write(this.message); + return t161; })(); if (this.errorCode !== -1) { - t180$ = sb; + t161$ = sb; (() => { - t180$.write(", errno = "); - t180$.write(dart.toString(this.errorCode)); - return t180$; + t161$.write(", errno = "); + t161$.write(dart.toString(this.errorCode)); + return t161$; })(); } } else if (this.errorCode !== -1) { - t180$0 = sb; + t161$0 = sb; (() => { - t180$0.write(": errno = "); - t180$0.write(dart.toString(this.errorCode)); - return t180$0; + t161$0.write(": errno = "); + t161$0.write(dart.toString(this.errorCode)); + return t161$0; })(); } return sb.toString(); } }; (io.OSError.new = function(message = "", errorCode = -1) { - if (message == null) dart.nullFailed(I[106], 63, 23, "message"); - if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); this[message$2] = message; this[errorCode$0] = errorCode; ; @@ -47592,29 +51176,36 @@ io.OSError = class OSError extends core.Object { dart.addTypeTests(io.OSError); dart.addTypeCaches(io.OSError); io.OSError[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(io.OSError, I[105]); +dart.setLibraryUri(io.OSError, I[108]); dart.setFieldSignature(io.OSError, () => ({ __proto__: dart.getFields(io.OSError.__proto__), message: dart.finalFieldType(core.String), errorCode: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.OSError, () => ['noErrorCode']); dart.defineExtensionMethods(io.OSError, ['toString']); dart.defineLazy(io.OSError, { /*io.OSError.noErrorCode*/get noErrorCode() { return -1; } }, false); -io._BufferAndStart = class _BufferAndStart extends core.Object {}; +io._BufferAndStart = class _BufferAndStart extends core.Object { + static ['_#new#tearOff'](buffer, start) { + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); + return new io._BufferAndStart.new(buffer, start); + } +}; (io._BufferAndStart.new = function(buffer, start) { - if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); - if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); this.buffer = buffer; this.start = start; ; }).prototype = io._BufferAndStart.prototype; dart.addTypeTests(io._BufferAndStart); dart.addTypeCaches(io._BufferAndStart); -dart.setLibraryUri(io._BufferAndStart, I[105]); +dart.setLibraryUri(io._BufferAndStart, I[108]); dart.setFieldSignature(io._BufferAndStart, () => ({ __proto__: dart.getFields(io._BufferAndStart.__proto__), buffer: dart.fieldType(core.List$(core.int)), @@ -47622,107 +51213,70 @@ dart.setFieldSignature(io._BufferAndStart, () => ({ })); io._IOCrypto = class _IOCrypto extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + if (count == null) dart.nullFailed(I[110], 225, 39, "count"); dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); } + static ['_#new#tearOff']() { + return new io._IOCrypto.new(); + } }; (io._IOCrypto.new = function() { ; }).prototype = io._IOCrypto.prototype; dart.addTypeTests(io._IOCrypto); dart.addTypeCaches(io._IOCrypto); -dart.setLibraryUri(io._IOCrypto, I[105]); +dart.setStaticMethodSignature(io._IOCrypto, () => ['getRandomBytes']); +dart.setLibraryUri(io._IOCrypto, I[108]); io.ZLibOption = class ZLibOption extends core.Object {}; (io.ZLibOption.new = function() { ; }).prototype = io.ZLibOption.prototype; dart.addTypeTests(io.ZLibOption); dart.addTypeCaches(io.ZLibOption); -dart.setLibraryUri(io.ZLibOption, I[105]); +dart.setLibraryUri(io.ZLibOption, I[108]); +dart.setStaticFieldSignature(io.ZLibOption, () => ['minWindowBits', 'maxWindowBits', 'defaultWindowBits', 'minLevel', 'maxLevel', 'defaultLevel', 'minMemLevel', 'maxMemLevel', 'defaultMemLevel', 'strategyFiltered', 'strategyHuffmanOnly', 'strategyRle', 'strategyFixed', 'strategyDefault']); dart.defineLazy(io.ZLibOption, { /*io.ZLibOption.minWindowBits*/get minWindowBits() { return 8; }, - /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { - return 8; - }, /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { return 15; }, - /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { return 15; }, - /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.minLevel*/get minLevel() { return -1; }, - /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { - return -1; - }, /*io.ZLibOption.maxLevel*/get maxLevel() { return 9; }, - /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultLevel*/get defaultLevel() { return 6; }, - /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { - return 6; - }, /*io.ZLibOption.minMemLevel*/get minMemLevel() { return 1; }, - /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { - return 1; - }, /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { return 9; }, - /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { return 8; }, - /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { - return 8; - }, /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { return 1; }, - /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { - return 1; - }, /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { return 2; }, - /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { - return 2; - }, /*io.ZLibOption.strategyRle*/get strategyRle() { return 3; }, - /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { - return 3; - }, /*io.ZLibOption.strategyFixed*/get strategyFixed() { return 4; }, - /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { - return 4; - }, /*io.ZLibOption.strategyDefault*/get strategyDefault() { return 0; - }, - /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { - return 0; } }, false); var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); @@ -47775,6 +51329,25 @@ io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core set dictionary(value) { super.dictionary = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); + return new io.ZLibCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.ZLibCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47784,18 +51357,18 @@ io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core }; (io.ZLibCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); this[level$] = level; this[windowBits$] = windowBits; this[memLevel$] = memLevel; @@ -47827,7 +51400,7 @@ dart.setGetterSignature(io.ZLibCodec, () => ({ encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); -dart.setLibraryUri(io.ZLibCodec, I[105]); +dart.setLibraryUri(io.ZLibCodec, I[108]); dart.setFieldSignature(io.ZLibCodec, () => ({ __proto__: dart.getFields(io.ZLibCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -47888,6 +51461,25 @@ io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); + return new io.GZipCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.GZipCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47897,18 +51489,18 @@ io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core }; (io.GZipCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : true; - if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); this[level$0] = level; this[windowBits$0] = windowBits; this[memLevel$0] = memLevel; @@ -47940,7 +51532,7 @@ dart.setGetterSignature(io.GZipCodec, () => ({ encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); -dart.setLibraryUri(io.GZipCodec, I[105]); +dart.setLibraryUri(io.GZipCodec, I[108]); dart.setFieldSignature(io.GZipCodec, () => ({ __proto__: dart.getFields(io.GZipCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48001,22 +51593,38 @@ io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.in set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); + return new io.ZLibEncoder.new({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48025,18 +51633,18 @@ io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.in }; (io.ZLibEncoder.new = function(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); this[gzip$1] = gzip; this[level$1] = level; this[windowBits$1] = windowBits; @@ -48057,7 +51665,7 @@ dart.setMethodSignature(io.ZLibEncoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io.ZLibEncoder, I[105]); +dart.setLibraryUri(io.ZLibEncoder, I[108]); dart.setFieldSignature(io.ZLibEncoder, () => ({ __proto__: dart.getFields(io.ZLibEncoder.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48090,22 +51698,30 @@ io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.in set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); + return new io.ZLibDecoder.new({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48114,10 +51730,10 @@ io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.in }; (io.ZLibDecoder.new = function(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); this[windowBits$2] = windowBits; this[dictionary$2] = dictionary; this[raw$2] = raw; @@ -48131,7 +51747,7 @@ dart.setMethodSignature(io.ZLibDecoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io.ZLibDecoder, I[105]); +dart.setLibraryUri(io.ZLibDecoder, I[108]); dart.setFieldSignature(io.ZLibDecoder, () => ({ __proto__: dart.getFields(io.ZLibDecoder.__proto__), windowBits: dart.finalFieldType(core.int), @@ -48141,40 +51757,64 @@ dart.setFieldSignature(io.ZLibDecoder, () => ({ io.RawZLibFilter = class RawZLibFilter extends core.Object { static deflateFilter(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); } + static ['_#deflateFilter#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); + return io.RawZLibFilter.deflateFilter({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } static inflateFilter(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); } + static ['_#inflateFilter#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); + return io.RawZLibFilter.inflateFilter({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); - if (level == null) dart.nullFailed(I[107], 615, 11, "level"); - if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); - if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + if (gzip == null) dart.nullFailed(I[110], 666, 12, "gzip"); + if (level == null) dart.nullFailed(I[110], 667, 11, "level"); + if (windowBits == null) dart.nullFailed(I[110], 668, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[110], 669, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[110], 670, 11, "strategy"); + if (raw == null) dart.nullFailed(I[110], 672, 12, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); } static _makeZLibInflateFilter(windowBits, dictionary, raw) { - if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + if (windowBits == null) dart.nullFailed(I[110], 678, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); } }; @@ -48182,18 +51822,19 @@ io.RawZLibFilter = class RawZLibFilter extends core.Object { }).prototype = io.RawZLibFilter.prototype; dart.addTypeTests(io.RawZLibFilter); dart.addTypeCaches(io.RawZLibFilter); -dart.setLibraryUri(io.RawZLibFilter, I[105]); +dart.setStaticMethodSignature(io.RawZLibFilter, () => ['deflateFilter', 'inflateFilter', '_makeZLibDeflateFilter', '_makeZLibInflateFilter']); +dart.setLibraryUri(io.RawZLibFilter, I[108]); io._BufferSink = class _BufferSink extends convert.ByteConversionSink { add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[111], 440, 22, "chunk"); this.builder.add(chunk); } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); - if (start == null) dart.nullFailed(I[108], 476, 38, "start"); - if (end == null) dart.nullFailed(I[108], 476, 49, "end"); - if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[111], 444, 27, "chunk"); + if (start == null) dart.nullFailed(I[111], 444, 38, "start"); + if (end == null) dart.nullFailed(I[111], 444, 49, "end"); + if (isLast == null) dart.nullFailed(I[111], 444, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { let list = chunk; this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); @@ -48203,6 +51844,9 @@ io._BufferSink = class _BufferSink extends convert.ByteConversionSink { } close() { } + static ['_#new#tearOff']() { + return new io._BufferSink.new(); + } }; (io._BufferSink.new = function() { this.builder = _internal.BytesBuilder.new({copy: false}); @@ -48217,7 +51861,7 @@ dart.setMethodSignature(io._BufferSink, () => ({ addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(io._BufferSink, I[105]); +dart.setLibraryUri(io._BufferSink, I[108]); dart.setFieldSignature(io._BufferSink, () => ({ __proto__: dart.getFields(io._BufferSink.__proto__), builder: dart.finalFieldType(_internal.BytesBuilder) @@ -48227,16 +51871,21 @@ var _empty = dart.privateName(io, "_empty"); var _sink$1 = dart.privateName(io, "_sink"); var _filter$ = dart.privateName(io, "_filter"); io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _filter) { + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); + return new io._FilterSink.new(_sink, _filter); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + if (data == null) dart.nullFailed(I[111], 488, 22, "data"); this.addSlice(data, 0, data[$length], false); } addSlice(data, start, end, isLast) { - if (data == null) dart.nullFailed(I[108], 524, 27, "data"); - if (start == null) dart.nullFailed(I[108], 524, 37, "start"); - if (end == null) dart.nullFailed(I[108], 524, 48, "end"); - if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + if (data == null) dart.nullFailed(I[111], 492, 27, "data"); + if (start == null) dart.nullFailed(I[111], 492, 37, "start"); + if (end == null) dart.nullFailed(I[111], 492, 48, "end"); + if (isLast == null) dart.nullFailed(I[111], 492, 58, "isLast"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (dart.test(this[_closed])) return; core.RangeError.checkValidRange(start, end, data[$length]); @@ -48262,7 +51911,7 @@ io._FilterSink = class _FilterSink extends convert.ByteConversionSink { } close() { if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); try { while (true) { let out = this[_filter$].processed({end: true}); @@ -48282,8 +51931,8 @@ io._FilterSink = class _FilterSink extends convert.ByteConversionSink { } }; (io._FilterSink.new = function(_sink, _filter) { - if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); - if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); this[_closed] = false; this[_empty] = true; this[_sink$1] = _sink; @@ -48299,7 +51948,7 @@ dart.setMethodSignature(io._FilterSink, () => ({ addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(io._FilterSink, I[105]); +dart.setLibraryUri(io._FilterSink, I[108]); dart.setFieldSignature(io._FilterSink, () => ({ __proto__: dart.getFields(io._FilterSink.__proto__), [_filter$]: dart.finalFieldType(io.RawZLibFilter), @@ -48307,49 +51956,79 @@ dart.setFieldSignature(io._FilterSink, () => ({ [_closed]: dart.fieldType(core.bool), [_empty]: dart.fieldType(core.bool) })); -io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; +io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); + return new io._ZLibEncoderSink.__(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } +}; (io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); - if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); - if (level == null) dart.nullFailed(I[108], 493, 11, "level"); - if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); - if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); ; }).prototype = io._ZLibEncoderSink.prototype; dart.addTypeTests(io._ZLibEncoderSink); dart.addTypeCaches(io._ZLibEncoderSink); -dart.setLibraryUri(io._ZLibEncoderSink, I[105]); -io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; +dart.setLibraryUri(io._ZLibEncoderSink, I[108]); +io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); + return new io._ZLibDecoderSink.__(sink, windowBits, dictionary, raw); + } +}; (io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); - if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); - if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); ; }).prototype = io._ZLibDecoderSink.prototype; dart.addTypeTests(io._ZLibDecoderSink); dart.addTypeCaches(io._ZLibDecoderSink); -dart.setLibraryUri(io._ZLibDecoderSink, I[105]); +dart.setLibraryUri(io._ZLibDecoderSink, I[108]); io.Directory = class Directory extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Directory.new(path); } return overrides.createDirectory(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); + return io.Directory.new(path); + } static fromRawPath(path) { - if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); return new io._Directory.fromRawPath(path); } + static ['_#fromRawPath#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); + return io.Directory.fromRawPath(path); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); return io.Directory.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); + return io.Directory.fromUri(uri); + } static get current() { let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48378,13 +52057,14 @@ io.Directory = class Directory extends core.Object { dart.addTypeTests(io.Directory); dart.addTypeCaches(io.Directory); io.Directory[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.Directory, I[105]); +dart.setStaticMethodSignature(io.Directory, () => ['new', 'fromRawPath', 'fromUri']); +dart.setStaticGetterSignature(io.Directory, () => ['current', 'systemTemp']); +dart.setStaticSetterSignature(io.Directory, () => ['current']); +dart.setLibraryUri(io.Directory, I[108]); var _path$ = dart.privateName(io, "_Directory._path"); var _rawPath = dart.privateName(io, "_Directory._rawPath"); var _path$0 = dart.privateName(io, "_path"); var _rawPath$ = dart.privateName(io, "_rawPath"); -var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); -var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); var _absolutePath = dart.privateName(io, "_absolutePath"); var _delete = dart.privateName(io, "_delete"); var _deleteSync = dart.privateName(io, "_deleteSync"); @@ -48394,11 +52074,9 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } resolveSymbolicLinks() { return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot resolve symbolic links", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } resolveSymbolicLinksSync() { let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); @@ -48413,19 +52091,19 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } delete(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 406, 41, "recursive"); return this[_delete]({recursive: recursive}); } deleteSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 423, 25, "recursive"); return this[_deleteSync]({recursive: recursive}); } watch(opts) { let events = opts && 'events' in opts ? opts.events : 15; - if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + if (events == null) dart.nullFailed(I[114], 468, 12, "events"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 468, 47, "recursive"); let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48434,18 +52112,16 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return overrides.fsWatch(trimmedPath, events, recursive); } static _identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); - if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + if (path1 == null) dart.nullFailed(I[114], 481, 41, "path1"); + if (path2 == null) dart.nullFailed(I[114], 481, 55, "path2"); return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", ""); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); - if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + if (path1 == null) dart.nullFailed(I[114], 502, 40, "path1"); + if (path2 == null) dart.nullFailed(I[114], 502, 54, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identical(path1, path2); @@ -48456,7 +52132,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return io.FileSystemEntity._isAbsolute(this.path); } static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (path == null) dart.nullFailed(I[114], 533, 34, "path"); if (dart.test(io.Platform.isWindows)) { return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); } else { @@ -48474,19 +52150,19 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _windowsDriveLetter(path) { - if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path == null) dart.nullFailed(I[114], 568, 41, "path"); if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; if (first >= 65 && first <= 91) return first; return -1; } static _absoluteWindowsPath(path) { - if (path == null) dart.nullFailed(I[111], 552, 45, "path"); - if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); - if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + if (path == null) dart.nullFailed(I[114], 576, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[114], 577, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[114], 578, 12, "!_isAbsolute(path)"); let current = io.Directory.current.path; if (path[$startsWith]("\\")) { - if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[114], 583, 14, "!path.startsWith(r'\\', 1)"); let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); if (dart.notNull(currentDrive) >= 0) { return current[$_get](0) + ":" + dart.str(path); @@ -48507,7 +52183,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return path[$_get](0) + ":\\" + dart.str(path); } path = path[$substring](2); - if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[114], 620, 14, "!path.startsWith(r'\\\\')"); } if (current[$endsWith]("\\") || current[$endsWith]("/")) { return dart.str(current) + dart.str(path); @@ -48515,15 +52191,15 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return dart.str(current) + "\\" + dart.str(path); } static _identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); - if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + if (path1 == null) dart.nullFailed(I[114], 628, 37, "path1"); + if (path2 == null) dart.nullFailed(I[114], 628, 51, "path2"); let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); return core.bool.as(result); } static identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); - if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + if (path1 == null) dart.nullFailed(I[114], 644, 36, "path1"); + if (path2 == null) dart.nullFailed(I[114], 644, 50, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identicalSync(path1, path2); @@ -48538,12 +52214,12 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return overrides.fsWatchIsSupported(); } static _toUtf8Array(s) { - if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + if (s == null) dart.nullFailed(I[114], 665, 40, "s"); return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); } static _toNullTerminatedUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 644, 57, "l"); - if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + if (l == null) dart.nullFailed(I[114], 668, 57, "l"); + if (dart.test(l[$isEmpty]) || dart.test(l[$isNotEmpty]) && l[$last] !== 0) { let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); tmp[$setRange](0, l[$length], l); return tmp; @@ -48552,7 +52228,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _toStringFromUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + if (l == null) dart.nullFailed(I[114], 678, 50, "l"); let nonNullTerminated = l; if (l[$last] === 0) { nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); @@ -48560,76 +52236,76 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); } static type(path, opts) { - if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + if (path == null) dart.nullFailed(I[114], 691, 51, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 692, 13, "followLinks"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); } static typeSync(path, opts) { - if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + if (path == null) dart.nullFailed(I[114], 703, 47, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 703, 59, "followLinks"); return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); } static isLink(path) { - if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + if (path == null) dart.nullFailed(I[114], 711, 37, "path"); return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRaw(rawPath) { - if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + if (rawPath == null) dart.nullFailed(I[114], 713, 44, "rawPath"); return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + if (type == null) dart.nullFailed(I[114], 714, 14, "type"); return dart.equals(type, io.FileSystemEntityType.link); }, T$0.FileSystemEntityTypeTobool())); } static isFile(path) { - if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + if (path == null) dart.nullFailed(I[114], 719, 37, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + if (type == null) dart.nullFailed(I[114], 720, 14, "type"); return dart.equals(type, io.FileSystemEntityType.file); }, T$0.FileSystemEntityTypeTobool())); } static isDirectory(path) { - if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + if (path == null) dart.nullFailed(I[114], 725, 42, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + if (type == null) dart.nullFailed(I[114], 727, 18, "type"); return dart.equals(type, io.FileSystemEntityType.directory); }, T$0.FileSystemEntityTypeTobool())); } static isLinkSync(path) { - if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + if (path == null) dart.nullFailed(I[114], 733, 33, "path"); return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRawSync(rawPath) { return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); } static isFileSync(path) { - if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + if (path == null) dart.nullFailed(I[114], 742, 33, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); } static isDirectorySync(path) { - if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + if (path == null) dart.nullFailed(I[114], 749, 38, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); } static _getTypeNative(namespace, rawPath, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); - if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[110], 93, 53, "followLinks"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); } static _identicalNative(namespace, path1, path2) { - if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); - if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); - if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + if (namespace == null) dart.nullFailed(I[110], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[110], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[110], 98, 70, "path2"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); } static _resolveSymbolicLinks(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 103, 64, "rawPath"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); } static parentOf(path) { - if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + if (path == null) dart.nullFailed(I[114], 773, 33, "path"); let rootEnd = -1; if (dart.test(io.Platform.isWindows)) { if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { @@ -48654,43 +52330,41 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); } static _getTypeSyncHelper(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 802, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 802, 31, "followLinks"); let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); return io.FileSystemEntityType._lookup(core.int.as(result)); } static _getTypeSync(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 809, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 809, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); } - return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetTypeSync(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _getTypeRequest(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 819, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 819, 31, "followLinks"); return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); - } + io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.dynamicToFileSystemEntityType())); + }, T$0.ObjectNToFileSystemEntityType())); } static _getType(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 829, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 829, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); } - return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetType(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _throwIfError(result, msg, path = null) { - if (result == null) dart.nullFailed(I[111], 816, 31, "result"); - if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (result == null) dart.nullFailed(I[114], 837, 31, "result"); + if (msg == null) dart.nullFailed(I[114], 837, 46, "msg"); if (io.OSError.is(result)) { dart.throw(new io.FileSystemException.new(msg, path, result)); } else if (core.ArgumentError.is(result)) { @@ -48698,7 +52372,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _trimTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + if (path == null) dart.nullFailed(I[114], 846, 52, "path"); core.ArgumentError.checkNotNull(core.String, path, "path"); if (dart.test(io.Platform.isWindows)) { while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { @@ -48712,7 +52386,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return path; } static _ensureTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path == null) dart.nullFailed(I[114], 863, 54, "path"); if (path[$isEmpty]) path = "."; if (dart.test(io.Platform.isWindows)) { while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { @@ -48741,6 +52415,7 @@ dart.setMethodSignature(io.FileSystemEntity, () => ({ deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) })); +dart.setStaticMethodSignature(io.FileSystemEntity, () => ['_identical', 'identical', '_isAbsolute', '_windowsDriveLetter', '_absoluteWindowsPath', '_identicalSync', 'identicalSync', '_toUtf8Array', '_toNullTerminatedUtf8Array', '_toStringFromUtf8Array', 'type', 'typeSync', 'isLink', '_isLinkRaw', 'isFile', 'isDirectory', 'isLinkSync', '_isLinkRawSync', 'isFileSync', 'isDirectorySync', '_getTypeNative', '_identicalNative', '_resolveSymbolicLinks', 'parentOf', '_getTypeSyncHelper', '_getTypeSync', '_getTypeRequest', '_getType', '_throwIfError', '_trimTrailingPathSeparators', '_ensureTrailingPathSeparators']); dart.setGetterSignature(io.FileSystemEntity, () => ({ __proto__: dart.getGetters(io.FileSystemEntity.__proto__), uri: core.Uri, @@ -48748,7 +52423,9 @@ dart.setGetterSignature(io.FileSystemEntity, () => ({ [_absolutePath]: core.String, parent: io.Directory })); -dart.setLibraryUri(io.FileSystemEntity, I[105]); +dart.setStaticGetterSignature(io.FileSystemEntity, () => ['isWatchSupported']); +dart.setLibraryUri(io.FileSystemEntity, I[108]); +dart.setStaticFieldSignature(io.FileSystemEntity, () => ['_backslashChar', '_slashChar', '_colonChar', '_absoluteWindowsPathPattern', '_parentRegExp']); dart.defineLazy(io.FileSystemEntity, { /*io.FileSystemEntity._backslashChar*/get _backslashChar() { return 92; @@ -48779,61 +52456,69 @@ io._Directory = class _Directory extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); + return new io._Directory.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); + return new io._Directory.fromRawPath(rawPath); + } get path() { return this[_path$0]; } static _current(namespace) { - if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 14, 30, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._current")); } static _setCurrent(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 19, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); } static _createTemp(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 24, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._createTemp")); } static _systemTemp(namespace) { - if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 29, 40, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 34, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._exists")); } static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 39, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._create")); } static _deleteNative(namespace, rawPath, recursive) { - if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + if (namespace == null) dart.nullFailed(I[110], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 45, 53, "recursive"); dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); } static _rename(namespace, rawPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); - if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[110], 50, 66, "newPath"); dart.throw(new core.UnsupportedError.new("Directory._rename")); } static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); - if (list == null) dart.nullFailed(I[107], 57, 30, "list"); - if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); - if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[110], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[110], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 60, 12, "followLinks"); dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); } static get current() { let result = io._Directory._current(io._Namespace._namespace); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + dart.throw(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); } return new io._Directory.new(core.String.as(result)); } @@ -48843,13 +52528,11 @@ io._Directory = class _Directory extends io.FileSystemEntity { function _rawPath$35get() { return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); } - dart.fn(_rawPath$35get, T$0.VoidToUint8List()); - function _rawPath$35set(t185) { - if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + function _rawPath$35set(_rawPath$35param) { + if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); _rawPath$35isSet = true; - return _rawPath = t185; + return _rawPath = _rawPath$35param; } - dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); if (io._Directory.is(path)) { _rawPath$35set(path[_rawPath$]); } else if (io.Directory.is(path)) { @@ -48865,19 +52548,17 @@ io._Directory = class _Directory extends io.FileSystemEntity { let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); if (core.ArgumentError.is(result)) dart.throw(result); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + dart.throw(io.FileSystemException._fromOSError(result, "Setting current working directory failed", dart.toString(path))); } } get uri() { return core._Uri.directory(this.path); } exists() { - return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); - } + return io._File._dispatchWithNamespace(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + io._checkForErrorResponse(response, "Exists failed", this.path); return dart.equals(response, 1); - }, T$0.dynamicTobool())); + }, T$.ObjectNTobool())); } existsSync() { let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); @@ -48891,14 +52572,14 @@ io._Directory = class _Directory extends io.FileSystemEntity { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 99, 34, "recursive"); if (dart.test(recursive)) { return this.exists().then(io.Directory, dart.fn(exists => { - if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (exists == null) dart.nullFailed(I[113], 101, 29, "exists"); if (dart.test(exists)) return this; if (this.path != this.parent.path) { return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + if (_ == null) dart.nullFailed(I[113], 104, 55, "_"); return this.create(); }, T$0.DirectoryToFutureOfDirectory())); } else { @@ -48906,17 +52587,15 @@ io._Directory = class _Directory extends io.FileSystemEntity { } }, T$0.boolToFutureOrOfDirectory())); } else { - return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); - } + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 120, 25, "recursive"); if (dart.test(recursive)) { if (dart.test(this.existsSync())) return; if (this.path != this.parent.path) { @@ -48925,7 +52604,7 @@ io._Directory = class _Directory extends io.FileSystemEntity { } let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); } } static get systemTemp() { @@ -48942,12 +52621,10 @@ io._Directory = class _Directory extends io.FileSystemEntity { } else { fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); } - return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); - } + return io._File._dispatchWithNamespace(38, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation of temporary directory failed", this.path); return io.Directory.new(core.String.as(response)); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } createTempSync(prefix = null) { prefix == null ? prefix = "" : null; @@ -48962,58 +52639,54 @@ io._Directory = class _Directory extends io.FileSystemEntity { } let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation of temporary directory failed", fullPrefix)); } return io.Directory.new(core.String.as(result)); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); - return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); - } + if (recursive == null) dart.nullFailed(I[113], 181, 35, "recursive"); + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Deletion failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 190, 26, "recursive"); let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); } } rename(newPath) { - if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); - return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); - } + if (newPath == null) dart.nullFailed(I[113], 197, 35, "newPath"); + return io._File._dispatchWithNamespace(42, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Rename failed", this.path); return io.Directory.new(newPath); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + if (newPath == null) dart.nullFailed(I[113], 205, 31, "newPath"); core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Rename failed", this.path)); } return io.Directory.new(newPath); } list(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 216, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 216, 37, "followLinks"); return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; } listSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 228, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 228, 37, "followLinks"); core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); let result = T$0.JSArrayOfFileSystemEntity().of([]); @@ -49023,42 +52696,20 @@ io._Directory = class _Directory extends io.FileSystemEntity { toString() { return "Directory: '" + dart.str(this.path) + "'"; } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionOrErrorFromResponse](response, message) { - if (message == null) dart.nullFailed(I[110], 260, 50, "message"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, this.path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } - } - } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + if (name == null) dart.nullFailed(I[113], 248, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._Directory.new = function(path) { - if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Directory.prototype; (io._Directory.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -49079,16 +52730,17 @@ dart.setMethodSignature(io._Directory, () => ({ rename: dart.fnType(async.Future$(io.Directory), [core.String]), renameSync: dart.fnType(io.Directory, [core.String]), list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}) })); +dart.setStaticMethodSignature(io._Directory, () => ['_current', '_setCurrent', '_createTemp', '_systemTemp', '_exists', '_create', '_deleteNative', '_rename', '_fillWithDirectoryListing', '_checkNotNull']); dart.setGetterSignature(io._Directory, () => ({ __proto__: dart.getGetters(io._Directory.__proto__), path: core.String, absolute: io.Directory })); -dart.setLibraryUri(io._Directory, I[105]); +dart.setStaticGetterSignature(io._Directory, () => ['current', 'systemTemp']); +dart.setStaticSetterSignature(io._Directory, () => ['current']); +dart.setLibraryUri(io._Directory, I[108]); dart.setFieldSignature(io._Directory, () => ({ __proto__: dart.getFields(io._Directory.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -49097,29 +52749,40 @@ dart.setFieldSignature(io._Directory, () => ({ dart.defineExtensionMethods(io._Directory, ['toString']); io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); dart.throw(new core.UnsupportedError.new("Directory._list")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); + return io._AsyncDirectoryListerOps.new(pointer); + } }; (io._AsyncDirectoryListerOps[dart.mixinNew] = function() { }).prototype = io._AsyncDirectoryListerOps.prototype; dart.addTypeTests(io._AsyncDirectoryListerOps); dart.addTypeCaches(io._AsyncDirectoryListerOps); -dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); +dart.setStaticMethodSignature(io._AsyncDirectoryListerOps, () => ['new']); +dart.setLibraryUri(io._AsyncDirectoryListerOps, I[108]); var _ops = dart.privateName(io, "_ops"); var _pointer = dart.privateName(io, "_pointer"); var _cleanup = dart.privateName(io, "_cleanup"); io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + static ['_#new#tearOff'](rawPath, recursive, followLinks) { + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); + return new io._AsyncDirectoryLister.new(rawPath, recursive, followLinks); + } [_pointer]() { - let t187; - t187 = this[_ops]; - return t187 == null ? null : t187.getPointer(); + let t167; + t167 = this[_ops]; + return t167 == null ? null : t167.getPointer(); } get stream() { return this.controller.stream; } onListen() { - io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + io._File._dispatchWithNamespace(39, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { if (core.int.is(response)) { this[_ops] = io._AsyncDirectoryListerOps.new(response); this.next(); @@ -49127,10 +52790,10 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { this.controller.addError(response, response[$stackTrace]); this.close(); } else { - this.error(response); + this.error(T$.ListOfObjectN().as(response)); this.close(); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } onResume() { if (!dart.test(this.nextRunning)) { @@ -49157,46 +52820,46 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { return; } this.nextRunning = true; - io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { - let t187; + io._IOService._dispatch(40, [pointer]).then(core.Null, dart.fn(result => { + let t167; this.nextRunning = false; if (core.List.is(result)) { this.next(); - if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[113], 351, 16, "result.length % 2 == 0"); for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { - if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); - switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[113], 353, 18, "i % 2 == 0"); + switch (result[$_get]((t167 = i, i = t167 + 1, t167))) { case 0: - { - this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 1: - { - this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 2: - { - this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 3: - { - this.error(result[$_get](i)); - break; - } + { + this.error(T$.ListOfObjectN().as(result[$_get](i))); + break; + } case 4: - { - this.canceled = true; - return; - } + { + this.canceled = true; + return; + } } } } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } [_cleanup]() { this.controller.close(); @@ -49215,33 +52878,34 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { if (pointer == null) { this[_cleanup](); } else { - io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); } } error(message) { - let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (message == null) dart.nullFailed(I[113], 402, 28, "message"); + let errorResponseInfo = T$.ListOfObjectN().as(dart.nullCheck(message[$_get](2))); + let errorType = errorResponseInfo[$_get](0); if (dart.equals(errorType, 1)) { this.controller.addError(new core.ArgumentError.new()); } else if (dart.equals(errorType, 2)) { - let responseErrorInfo = dart.dsend(message, '_get', [2]); - let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); - let errorPath = dart.dsend(message, '_get', [1]); + let err = new io.OSError.new(core.String.as(errorResponseInfo[$_get](2)), core.int.as(errorResponseInfo[$_get](1))); + let errorPath = message[$_get](1); if (errorPath == null) { errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); } else if (typed_data.Uint8List.is(errorPath)) { - errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + errorPath = convert.utf8.decode(errorPath, {allowMalformed: true}); } - this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + this.controller.addError(io.FileSystemException._fromOSError(err, "Directory listing failed", core.String.as(errorPath))); } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } } }; (io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { - let t187; - if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); - if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); - if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + let t167; + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); this.canceled = false; this.nextRunning = false; @@ -49251,12 +52915,12 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { this.rawPath = rawPath; this.recursive = recursive; this.followLinks = followLinks; - t187 = this.controller; + t167 = this.controller; (() => { - t187.onListen = dart.bind(this, 'onListen'); - t187.onResume = dart.bind(this, 'onResume'); - t187.onCancel = dart.bind(this, 'onCancel'); - return t187; + t167.onListen = dart.bind(this, 'onListen'); + t167.onResume = dart.bind(this, 'onResume'); + t167.onCancel = dart.bind(this, 'onCancel'); + return t167; })(); }).prototype = io._AsyncDirectoryLister.prototype; dart.addTypeTests(io._AsyncDirectoryLister); @@ -49270,13 +52934,13 @@ dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ next: dart.fnType(dart.void, []), [_cleanup]: dart.fnType(dart.void, []), close: dart.fnType(dart.void, []), - error: dart.fnType(dart.void, [dart.dynamic]) + error: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]) })); dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), stream: async.Stream$(io.FileSystemEntity) })); -dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); +dart.setLibraryUri(io._AsyncDirectoryLister, I[108]); dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), rawPath: dart.finalFieldType(typed_data.Uint8List), @@ -49289,6 +52953,7 @@ dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), closeCompleter: dart.fieldType(async.Completer) })); +dart.setStaticFieldSignature(io._AsyncDirectoryLister, () => ['listFile', 'listDirectory', 'listLink', 'listError', 'listDone', 'responseType', 'responsePath', 'responseComplete', 'responseError']); dart.defineLazy(io._AsyncDirectoryLister, { /*io._AsyncDirectoryLister.listFile*/get listFile() { return 0; @@ -49318,57 +52983,69 @@ dart.defineLazy(io._AsyncDirectoryLister, { return 2; } }, false); -io._EmbedderConfig = class _EmbedderConfig extends core.Object { - static _setDomainPolicies(domainNetworkPolicyJson) { - if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); - io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); - } -}; +io._EmbedderConfig = class _EmbedderConfig extends core.Object {}; (io._EmbedderConfig.new = function() { ; }).prototype = io._EmbedderConfig.prototype; dart.addTypeTests(io._EmbedderConfig); dart.addTypeCaches(io._EmbedderConfig); -dart.setLibraryUri(io._EmbedderConfig, I[105]); +dart.setLibraryUri(io._EmbedderConfig, I[108]); +dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); dart.defineLazy(io._EmbedderConfig, { /*io._EmbedderConfig._mayChdir*/get _mayChdir() { return true; }, - set _mayChdir(_) {}, + set _mayChdir(value) { + if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); + }, /*io._EmbedderConfig._mayExit*/get _mayExit() { return true; }, - set _mayExit(_) {}, + set _mayExit(value) { + if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); + }, /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { return true; }, - set _maySetEchoMode(_) {}, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + set _maySetEchoMode(value) { + if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); + }, + /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { return true; }, - set _maySetLineMode(_) {}, - /*io._EmbedderConfig._maySleep*/get _maySleep() { + set _maySetEchoNewlineMode(value) { + if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); + }, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { return true; }, - set _maySleep(_) {}, - /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + set _maySetLineMode(value) { + if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); + }, + /*io._EmbedderConfig._maySleep*/get _maySleep() { return true; }, - set _mayInsecurelyConnectToAllDomains(_) {} + set _maySleep(value) { + if (value == null) dart.nullFailed(I[115], 37, 15, "_maySleep"); + } }, false); io._EventHandler = class _EventHandler extends core.Object { static _sendData(sender, sendPort, data) { - if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); - if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + if (sendPort == null) dart.nullFailed(I[110], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[110], 76, 64, "data"); dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); } + static ['_#new#tearOff']() { + return new io._EventHandler.new(); + } }; (io._EventHandler.new = function() { ; }).prototype = io._EventHandler.prototype; dart.addTypeTests(io._EventHandler); dart.addTypeCaches(io._EventHandler); -dart.setLibraryUri(io._EventHandler, I[105]); +dart.setStaticMethodSignature(io._EventHandler, () => ['_sendData']); +dart.setLibraryUri(io._EventHandler, I[108]); var _mode$ = dart.privateName(io, "FileMode._mode"); var _mode = dart.privateName(io, "_mode"); io.FileMode = class FileMode extends core.Object { @@ -49378,49 +53055,39 @@ io.FileMode = class FileMode extends core.Object { set [_mode](value) { super[_mode] = value; } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); + return new io.FileMode._internal(_mode); + } }; (io.FileMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); this[_mode$] = _mode; ; }).prototype = io.FileMode.prototype; dart.addTypeTests(io.FileMode); dart.addTypeCaches(io.FileMode); -dart.setLibraryUri(io.FileMode, I[105]); +dart.setLibraryUri(io.FileMode, I[108]); dart.setFieldSignature(io.FileMode, () => ({ __proto__: dart.getFields(io.FileMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileMode, () => ['read', 'write', 'append', 'writeOnly', 'writeOnlyAppend']); dart.defineLazy(io.FileMode, { /*io.FileMode.read*/get read() { - return C[109] || CT.C109; - }, - /*io.FileMode.READ*/get READ() { - return C[109] || CT.C109; + return C[116] || CT.C116; }, /*io.FileMode.write*/get write() { - return C[110] || CT.C110; - }, - /*io.FileMode.WRITE*/get WRITE() { - return C[110] || CT.C110; + return C[117] || CT.C117; }, /*io.FileMode.append*/get append() { - return C[111] || CT.C111; - }, - /*io.FileMode.APPEND*/get APPEND() { - return C[111] || CT.C111; + return C[118] || CT.C118; }, /*io.FileMode.writeOnly*/get writeOnly() { - return C[112] || CT.C112; - }, - /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + return C[119] || CT.C119; }, /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[113] || CT.C113; - }, - /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + return C[120] || CT.C120; } }, false); var _type$1 = dart.privateName(io, "FileLock._type"); @@ -49432,60 +53099,65 @@ io.FileLock = class FileLock extends core.Object { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); + return new io.FileLock._internal(_type); + } }; (io.FileLock._internal = function(_type) { - if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); this[_type$1] = _type; ; }).prototype = io.FileLock.prototype; dart.addTypeTests(io.FileLock); dart.addTypeCaches(io.FileLock); -dart.setLibraryUri(io.FileLock, I[105]); +dart.setLibraryUri(io.FileLock, I[108]); dart.setFieldSignature(io.FileLock, () => ({ __proto__: dart.getFields(io.FileLock.__proto__), [_type]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileLock, () => ['shared', 'exclusive', 'blockingShared', 'blockingExclusive']); dart.defineLazy(io.FileLock, { /*io.FileLock.shared*/get shared() { - return C[114] || CT.C114; - }, - /*io.FileLock.SHARED*/get SHARED() { - return C[114] || CT.C114; + return C[121] || CT.C121; }, /*io.FileLock.exclusive*/get exclusive() { - return C[115] || CT.C115; - }, - /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { - return C[115] || CT.C115; + return C[122] || CT.C122; }, /*io.FileLock.blockingShared*/get blockingShared() { - return C[116] || CT.C116; - }, - /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { - return C[116] || CT.C116; + return C[123] || CT.C123; }, /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[117] || CT.C117; - }, - /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { - return C[117] || CT.C117; + return C[124] || CT.C124; } }, false); io.File = class File extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._File.new(path); } return overrides.createFile(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); + return io.File.new(path); + } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); + return io.File.fromUri(uri); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); return io.File.new(uri.toFilePath()); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); + return io.File.fromRawPath(rawPath); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); return new io._File.fromRawPath(rawPath); } }; @@ -49494,17 +53166,19 @@ io.File = class File extends core.Object { dart.addTypeTests(io.File); dart.addTypeCaches(io.File); io.File[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.File, I[105]); +dart.setStaticMethodSignature(io.File, () => ['new', 'fromUri', 'fromRawPath']); +dart.setLibraryUri(io.File, I[108]); io.RandomAccessFile = class RandomAccessFile extends core.Object {}; (io.RandomAccessFile.new = function() { ; }).prototype = io.RandomAccessFile.prototype; dart.addTypeTests(io.RandomAccessFile); dart.addTypeCaches(io.RandomAccessFile); -dart.setLibraryUri(io.RandomAccessFile, I[105]); +dart.setLibraryUri(io.RandomAccessFile, I[108]); var message$3 = dart.privateName(io, "FileSystemException.message"); var path$ = dart.privateName(io, "FileSystemException.path"); var osError$ = dart.privateName(io, "FileSystemException.osError"); +var _toStringHelper = dart.privateName(io, "_toStringHelper"); io.FileSystemException = class FileSystemException extends core.Object { get message() { return this[message$3]; @@ -49524,9 +53198,53 @@ io.FileSystemException = class FileSystemException extends core.Object { set osError(value) { super.osError = value; } - toString() { + static ['_#new#tearOff'](message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); + return new io.FileSystemException.new(message, path, osError); + } + static _fromOSError(err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + if (dart.test(io.Platform.isWindows)) { + switch (err.errorCode) { + case 2: + case 3: + case 15: + case 18: + case 53: + case 67: + case 161: + case 206: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } else { + switch (err.errorCode) { + case 2: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } + } + static ['_#_fromOSError#tearOff'](err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + return io.FileSystemException._fromOSError(err, message, path); + } + [_toStringHelper](className) { + if (className == null) dart.nullFailed(I[116], 928, 33, "className"); let sb = new core.StringBuffer.new(); - sb.write("FileSystemException"); + sb.write(className); if (this.message[$isNotEmpty]) { sb.write(": " + dart.str(this.message)); if (this.path != null) { @@ -49545,9 +53263,12 @@ io.FileSystemException = class FileSystemException extends core.Object { } return sb.toString(); } + toString() { + return this[_toStringHelper]("FileSystemException"); + } }; (io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); this[message$3] = message; this[path$] = path; this[osError$] = osError; @@ -49556,7 +53277,12 @@ io.FileSystemException = class FileSystemException extends core.Object { dart.addTypeTests(io.FileSystemException); dart.addTypeCaches(io.FileSystemException); io.FileSystemException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.FileSystemException, I[105]); +dart.setMethodSignature(io.FileSystemException, () => ({ + __proto__: dart.getMethods(io.FileSystemException.__proto__), + [_toStringHelper]: dart.fnType(core.String, [core.String]) +})); +dart.setStaticMethodSignature(io.FileSystemException, () => ['_fromOSError']); +dart.setLibraryUri(io.FileSystemException, I[108]); dart.setFieldSignature(io.FileSystemException, () => ({ __proto__: dart.getFields(io.FileSystemException.__proto__), message: dart.finalFieldType(core.String), @@ -49564,45 +53290,100 @@ dart.setFieldSignature(io.FileSystemException, () => ({ osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.FileSystemException, ['toString']); +io.PathNotFoundException = class PathNotFoundException extends io.FileSystemException { + static ['_#new#tearOff'](path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + return new io.PathNotFoundException.new(path, osError, message); + } + toString() { + return this[_toStringHelper]("PathNotFoundException"); + } +}; +(io.PathNotFoundException.new = function(path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + io.PathNotFoundException.__proto__.new.call(this, message, path, osError); + ; +}).prototype = io.PathNotFoundException.prototype; +dart.addTypeTests(io.PathNotFoundException); +dart.addTypeCaches(io.PathNotFoundException); +dart.setLibraryUri(io.PathNotFoundException, I[108]); +dart.defineExtensionMethods(io.PathNotFoundException, ['toString']); +io.ReadPipe = class ReadPipe extends core.Object {}; +(io.ReadPipe.new = function() { + ; +}).prototype = io.ReadPipe.prototype; +io.ReadPipe.prototype[dart.isStream] = true; +dart.addTypeTests(io.ReadPipe); +dart.addTypeCaches(io.ReadPipe); +io.ReadPipe[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setLibraryUri(io.ReadPipe, I[108]); +io.WritePipe = class WritePipe extends core.Object {}; +(io.WritePipe.new = function() { + ; +}).prototype = io.WritePipe.prototype; +dart.addTypeTests(io.WritePipe); +dart.addTypeCaches(io.WritePipe); +io.WritePipe[dart.implements] = () => [io.IOSink]; +dart.setLibraryUri(io.WritePipe, I[108]); +io.Pipe = class Pipe extends core.Object { + static create() { + return io._Pipe.create(); + } + static createSync() { + return io._Pipe.createSync(); + } + static ['_#createSync#tearOff']() { + return io.Pipe.createSync(); + } +}; +(io.Pipe[dart.mixinNew] = function() { +}).prototype = io.Pipe.prototype; +dart.addTypeTests(io.Pipe); +dart.addTypeCaches(io.Pipe); +dart.setStaticMethodSignature(io.Pipe, () => ['create', 'createSync']); +dart.setLibraryUri(io.Pipe, I[108]); var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); -var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); -var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); var _closeCompleter = dart.privateName(io, "_closeCompleter"); var _unsubscribed = dart.privateName(io, "_unsubscribed"); var _readInProgress = dart.privateName(io, "_readInProgress"); var _atEnd = dart.privateName(io, "_atEnd"); -var _end$ = dart.privateName(io, "_end"); +var _openedFile = dart.privateName(io, "_openedFile"); +var _end$0 = dart.privateName(io, "_end"); var _position$ = dart.privateName(io, "_position"); var _controller = dart.privateName(io, "_controller"); -var _openedFile = dart.privateName(io, "_openedFile"); -var _start$1 = dart.privateName(io, "_start"); +var _start$2 = dart.privateName(io, "_start"); var _readBlock = dart.privateName(io, "_readBlock"); var _closeFile = dart.privateName(io, "_closeFile"); io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { get [_controller]() { - let t187; - return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t167; + return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t187) { - if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = t187; + this[___FileStream__controller] = _controller$35param; + } + static ['_#new#tearOff'](_path, position, _end) { + return new io._FileStream.new(_path, position, _end); } - get [_openedFile]() { - let t188; - return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + static ['_#forStdin#tearOff']() { + return new io._FileStream.forStdin(); } - set [_openedFile](t188) { - if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); - this[___FileStream__openedFile_isSet] = true; - this[___FileStream__openedFile] = t188; + static ['_#forRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + return new io._FileStream.forRandomAccessFile(f); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { this[_unsubscribed] = true; return this[_closeFile](); }, T$0.VoidToFuture())}); @@ -49618,7 +53399,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { this[_controller].close(); }; dart.fn(done, T$.VoidTovoid()); - this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); return this[_closeCompleter].future; } [_readBlock]() { @@ -49629,7 +53410,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } this[_readInProgress] = true; let readBytes = 65536; - let end = this[_end$]; + let end = this[_end$0]; if (end != null) { readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); if (readBytes < 0) { @@ -49642,21 +53423,23 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { return; } } - this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { - if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + dart.nullCheck(this[_openedFile]).read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[117], 89, 40, "block"); this[_readInProgress] = false; if (dart.test(this[_unsubscribed])) { this[_closeFile](); return; } this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); - if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + if (block[$length] === 0 || this[_end$0] != null && this[_position$] == this[_end$0]) { this[_atEnd] = true; } if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { this[_readBlock](); } - this[_controller].add(block); + if (dart.notNull(block[$length]) > 0) { + this[_controller].add(block); + } if (dart.test(this[_atEnd])) { this[_closeFile](); } @@ -49668,7 +53451,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } }, T$.dynamicAnddynamicToNull())); } - [_start$1]() { + [_start$2]() { if (dart.notNull(this[_position$]) < 0) { this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); this[_controller].close(); @@ -49676,14 +53459,14 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { return; } const onReady = file => { - if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + if (file == null) dart.nullFailed(I[117], 130, 35, "file"); this[_openedFile] = file; this[_readInProgress] = false; this[_readBlock](); }; dart.fn(onReady, T$0.RandomAccessFileTovoid()); const onOpenFile = file => { - if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (file == null) dart.nullFailed(I[117], 136, 38, "file"); if (dart.notNull(this[_position$]) > 0) { file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); @@ -49702,7 +53485,10 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { }; dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); let path = this[_path$0]; - if (path != null) { + let openedFile = this[_openedFile]; + if (openedFile != null) { + onOpenFile(openedFile); + } else if (path != null) { io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); } else { try { @@ -49719,35 +53505,49 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } }; (io._FileStream.new = function(_path, position, _end) { - let t187; + let t167; this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; + this[_openedFile] = null; this[_path$0] = _path; - this[_end$] = _end; - this[_position$] = (t187 = position, t187 == null ? 0 : t187); + this[_end$0] = _end; + this[_position$] = (t167 = position, t167 == null ? 0 : t167); io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; (io._FileStream.forStdin = function() { this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; - this[_end$] = null; + this[_openedFile] = null; + this[_end$0] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +(io._FileStream.forRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$0] = null; this[_path$0] = null; this[_position$] = 0; + this[_openedFile] = f; io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; @@ -49758,28 +53558,25 @@ dart.setMethodSignature(io._FileStream, () => ({ listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), [_closeFile]: dart.fnType(async.Future, []), [_readBlock]: dart.fnType(dart.void, []), - [_start$1]: dart.fnType(dart.void, []) + [_start$2]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._FileStream, () => ({ __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); dart.setSetterSignature(io._FileStream, () => ({ __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); -dart.setLibraryUri(io._FileStream, I[105]); +dart.setLibraryUri(io._FileStream, I[108]); dart.setFieldSignature(io._FileStream, () => ({ __proto__: dart.getFields(io._FileStream.__proto__), [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), [___FileStream__controller_isSet]: dart.fieldType(core.bool), [_path$0]: dart.fieldType(dart.nullable(core.String)), - [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), [_position$]: dart.fieldType(core.int), - [_end$]: dart.fieldType(dart.nullable(core.int)), + [_end$0]: dart.fieldType(dart.nullable(core.int)), [_closeCompleter]: dart.finalFieldType(async.Completer), [_unsubscribed]: dart.fieldType(core.bool), [_readInProgress]: dart.fieldType(core.bool), @@ -49789,37 +53586,48 @@ dart.setFieldSignature(io._FileStream, () => ({ var _file = dart.privateName(io, "_file"); var _openFuture = dart.privateName(io, "_openFuture"); io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + static ['_#new#tearOff'](file, mode) { + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); + return new io._FileStreamConsumer.new(file, mode); + } + static ['_#fromStdio#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); + return new io._FileStreamConsumer.fromStdio(fd); + } + static ['_#fromRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + return new io._FileStreamConsumer.fromRandomAccessFile(f); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + if (stream == null) dart.nullFailed(I[117], 186, 45, "stream"); let completer = T$0.CompleterOfFileN().sync(); this[_openFuture].then(core.Null, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 188, 23, "openedFile"); let _subscription = null; let _subscription$35isSet = false; function _subscription$35get() { return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); } - dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); - function _subscription$35set(t193) { - if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + function _subscription$35set(_subscription$35param) { + if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); _subscription$35isSet = true; - return _subscription = t193; + return _subscription = _subscription$35param; } - dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); function error(e, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[117], 190, 32, "stackTrace"); _subscription$35get().cancel(); openedFile.close(); completer.completeError(core.Object.as(e), stackTrace); } dart.fn(error, T$0.dynamicAndStackTraceTovoid()); _subscription$35set(stream.listen(dart.fn(d => { - if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + if (d == null) dart.nullFailed(I[117], 196, 38, "d"); _subscription$35get().pause(); try { openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); return _subscription$35get().resume(); }, T$0.RandomAccessFileTovoid()), {onError: error}); } catch (e$) { @@ -49838,24 +53646,30 @@ io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$ } close() { return this[_openFuture].then(dart.void, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 213, 25, "openedFile"); return openedFile.close(); }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); } }; (io._FileStreamConsumer.new = function(file, mode) { - if (file == null) dart.nullFailed(I[114], 162, 28, "file"); - if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); this[_file] = file; this[_openFuture] = file.open({mode: mode}); ; }).prototype = io._FileStreamConsumer.prototype; (io._FileStreamConsumer.fromStdio = function(fd) { - if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); this[_file] = null; this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); ; }).prototype = io._FileStreamConsumer.prototype; +(io._FileStreamConsumer.fromRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(f); + ; +}).prototype = io._FileStreamConsumer.prototype; dart.addTypeTests(io._FileStreamConsumer); dart.addTypeCaches(io._FileStreamConsumer); dart.setMethodSignature(io._FileStreamConsumer, () => ({ @@ -49863,7 +53677,7 @@ dart.setMethodSignature(io._FileStreamConsumer, () => ({ addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), close: dart.fnType(async.Future$(dart.nullable(io.File)), []) })); -dart.setLibraryUri(io._FileStreamConsumer, I[105]); +dart.setLibraryUri(io._FileStreamConsumer, I[108]); dart.setFieldSignature(io._FileStreamConsumer, () => ({ __proto__: dart.getFields(io._FileStreamConsumer.__proto__), [_file]: dart.fieldType(dart.nullable(io.File)), @@ -49885,6 +53699,14 @@ io._File = class _File extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); + return new io._File.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); + return new io._File.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -49892,22 +53714,20 @@ io._File = class _File extends io.FileSystemEntity { return io._Namespace._namespacePointer; } static _dispatchWithNamespace(request, data) { - if (request == null) dart.nullFailed(I[114], 222, 44, "request"); - if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + if (request == null) dart.nullFailed(I[117], 239, 53, "request"); + if (data == null) dart.nullFailed(I[117], 239, 67, "data"); data[$_set](0, io._File._namespacePointer()); return io._IOService._dispatch(request, data); } exists() { return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Cannot check existence", this.path); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("File._exists")); } existsSync() { @@ -49920,69 +53740,74 @@ io._File = class _File extends io.FileSystemEntity { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 262, 29, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 262, 53, "exclusive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$], exclusive]), T$0.DirectoryNToFutureOfObjectN())).then(io.File, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } - static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + static _create(namespace, rawPath, exclusive) { + if (namespace == null) dart.nullFailed(I[110], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 116, 50, "rawPath"); + if (exclusive == null) dart.nullFailed(I[110], 116, 64, "exclusive"); dart.throw(new core.UnsupportedError.new("File._create")); } static _createLink(namespace, rawPath, target) { - if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); - if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + if (namespace == null) dart.nullFailed(I[110], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[110], 121, 70, "target"); dart.throw(new core.UnsupportedError.new("File._createLink")); } + static _createPipe(namespace) { + if (namespace == null) dart.nullFailed(I[110], 126, 47, "namespace"); + dart.throw(new core.UnsupportedError.new("File._createPipe")); + } static _linkTarget(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 131, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 131, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("File._linkTarget")); } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 284, 25, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 284, 49, "exclusive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } - let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + let result = io._File._create(io._Namespace._namespace, this[_rawPath$], exclusive); io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 292, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + if (_ == null) dart.nullFailed(I[117], 294, 64, "_"); return this; }, T$0.FileSystemEntityTo_File())); } return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } static _deleteNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 136, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 136, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteNative")); } static _deleteLinkNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 141, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 141, 60, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 307, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -49990,77 +53815,69 @@ io._File = class _File extends io.FileSystemEntity { io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 315, 30, "newPath"); return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _rename(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 146, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 146, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 146, 66, "newPath"); dart.throw(new core.UnsupportedError.new("File._rename")); } static _renameLink(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 151, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 151, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 151, 70, "newPath"); dart.throw(new core.UnsupportedError.new("File._renameLink")); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 330, 26, "newPath"); let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } copy(newPath) { - if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 336, 28, "newPath"); return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _copy(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 156, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 156, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 156, 64, "newPath"); dart.throw(new core.UnsupportedError.new("File._copy")); } copySync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 347, 24, "newPath"); let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } open(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 353, 43, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); } return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); - } + io._checkForErrorResponse(response, "Cannot open file", this.path); return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } length() { return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "Cannot retrieve length of file", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } static _lengthFromPath(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 161, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); } lengthSync() { @@ -50070,15 +53887,13 @@ io._File = class _File extends io.FileSystemEntity { } lastAccessed() { return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastAccessed(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 171, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 171, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastAccessed")); } lastAccessedSync() { @@ -50087,23 +53902,21 @@ io._File = class _File extends io.FileSystemEntity { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastAccessed(time) { - if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + if (time == null) dart.nullFailed(I[117], 401, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set access time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastAccessed(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 181, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 181, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 181, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); } setLastAccessedSync(time) { - if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + if (time == null) dart.nullFailed(I[117], 414, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50112,15 +53925,13 @@ io._File = class _File extends io.FileSystemEntity { } lastModified() { return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastModified(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 166, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastModified")); } lastModifiedSync() { @@ -50129,23 +53940,21 @@ io._File = class _File extends io.FileSystemEntity { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastModified(time) { - if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + if (time == null) dart.nullFailed(I[117], 440, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set modification time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastModified(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 176, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastModified")); } setLastModifiedSync(time) { - if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + if (time == null) dart.nullFailed(I[117], 453, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50153,14 +53962,14 @@ io._File = class _File extends io.FileSystemEntity { } } static _open(namespace, rawPath, mode) { - if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); - if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + if (namespace == null) dart.nullFailed(I[110], 186, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 186, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[110], 186, 61, "mode"); dart.throw(new core.UnsupportedError.new("File._open")); } openSync(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 464, 39, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50169,11 +53978,11 @@ io._File = class _File extends io.FileSystemEntity { return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); } static _openStdio(fd) { - if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + if (fd == null) dart.nullFailed(I[110], 191, 29, "fd"); dart.throw(new core.UnsupportedError.new("File._openStdio")); } static _openStdioSync(fd) { - if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + if (fd == null) dart.nullFailed(I[117], 479, 46, "fd"); let id = io._File._openStdio(fd); if (id === 0) { dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); @@ -50184,10 +53993,10 @@ io._File = class _File extends io.FileSystemEntity { return new io._FileStream.new(this.path, start, end); } openWrite(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 491, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 491, 62, "encoding"); if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50196,12 +54005,12 @@ io._File = class _File extends io.FileSystemEntity { } readAsBytes() { function readDataChunked(file) { - if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + if (file == null) dart.nullFailed(I[117], 503, 56, "file"); let builder = _internal.BytesBuilder.new({copy: false}); let completer = T$0.CompleterOfUint8List().new(); function read() { file.read(65536).then(core.Null, dart.fn(data => { - if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (data == null) dart.nullFailed(I[117], 507, 37, "data"); if (dart.notNull(data[$length]) > 0) { builder.add(data); read(); @@ -50216,9 +54025,9 @@ io._File = class _File extends io.FileSystemEntity { } dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); return this.open().then(typed_data.Uint8List, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + if (file == null) dart.nullFailed(I[117], 521, 25, "file"); return file.length().then(typed_data.Uint8List, dart.fn(length => { - if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length == null) dart.nullFailed(I[117], 522, 34, "length"); if (length === 0) { return readDataChunked(file); } @@ -50247,8 +54056,8 @@ io._File = class _File extends io.FileSystemEntity { } } [_tryDecode](bytes, encoding) { - if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); - if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + if (bytes == null) dart.nullFailed(I[117], 554, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[117], 554, 47, "encoding"); try { return encoding.decode(bytes); } catch (e) { @@ -50260,11 +54069,11 @@ io._File = class _File extends io.FileSystemEntity { } } readAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 563, 41, "encoding"); let stack = core.StackTrace.current; return this.readAsBytes().then(core.String, dart.fn(bytes => { - if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 568, 32, "bytes"); try { return this[_tryDecode](bytes, encoding); } catch (e$) { @@ -50277,32 +54086,32 @@ io._File = class _File extends io.FileSystemEntity { }, T$0.Uint8ListToFutureOrOfString())); } readAsStringSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 577, 37, "encoding"); return this[_tryDecode](this.readAsBytesSync(), encoding); } readAsLines(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); - return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 580, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[125] || CT.C125, 'convert')); } readAsLinesSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); - return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 583, 42, "encoding"); + return (C[125] || CT.C125).convert(this.readAsStringSync({encoding: encoding})); } writeAsBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 586, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 587, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 587, 45, "flush"); return this.open({mode: mode}).then(io.File, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + if (file == null) dart.nullFailed(I[117], 588, 35, "file"); return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (_ == null) dart.nullFailed(I[117], 589, 65, "_"); if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); return this; }, T$0.RandomAccessFileTo_File())); return this; @@ -50310,11 +54119,11 @@ io._File = class _File extends io.FileSystemEntity { }, T$0.RandomAccessFileToFutureOfFile())); } writeAsBytesSync(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 596, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 597, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 597, 45, "flush"); let opened = this.openSync({mode: mode}); try { opened.writeFromSync(bytes, 0, bytes[$length]); @@ -50324,13 +54133,13 @@ io._File = class _File extends io.FileSystemEntity { } } writeAsString(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 607, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 608, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 609, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 610, 12, "flush"); try { return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); } catch (e$) { @@ -50342,40 +54151,40 @@ io._File = class _File extends io.FileSystemEntity { } } writeAsStringSync(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 618, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 619, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 620, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 621, 12, "flush"); this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); } toString() { return "File: '" + dart.str(this.path) + "'"; } static throwIfError(result, msg, path) { - if (result == null) dart.nullFailed(I[114], 633, 30, "result"); - if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); - if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (result == null) dart.nullFailed(I[117], 627, 30, "result"); + if (msg == null) dart.nullFailed(I[117], 627, 45, "msg"); + if (path == null) dart.nullFailed(I[117], 627, 57, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + if (name == null) dart.nullFailed(I[117], 634, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._File.new = function(path) { - if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); this[_path$1] = io._File._checkNotNull(core.String, path, "path"); this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._File.prototype; (io._File.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -50387,8 +54196,8 @@ dart.setMethodSignature(io._File, () => ({ __proto__: dart.getMethods(io._File.__proto__), exists: dart.fnType(async.Future$(core.bool), []), existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + create: dart.fnType(async.Future$(io.File), [], {exclusive: core.bool, recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {exclusive: core.bool, recursive: core.bool}, {}), [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), rename: dart.fnType(async.Future$(io.File), [core.String]), @@ -50421,12 +54230,13 @@ dart.setMethodSignature(io._File, () => ({ writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) })); +dart.setStaticMethodSignature(io._File, () => ['_namespacePointer', '_dispatchWithNamespace', '_exists', '_create', '_createLink', '_createPipe', '_linkTarget', '_deleteNative', '_deleteLinkNative', '_rename', '_renameLink', '_copy', '_lengthFromPath', '_lastAccessed', '_setLastAccessed', '_lastModified', '_setLastModified', '_open', '_openStdio', '_openStdioSync', 'throwIfError', '_checkNotNull']); dart.setGetterSignature(io._File, () => ({ __proto__: dart.getGetters(io._File.__proto__), path: core.String, absolute: io.File })); -dart.setLibraryUri(io._File, I[105]); +dart.setLibraryUri(io._File, I[108]); dart.setFieldSignature(io._File, () => ({ __proto__: dart.getFields(io._File.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -50435,15 +54245,20 @@ dart.setFieldSignature(io._File, () => ({ dart.defineExtensionMethods(io._File, ['toString']); io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); dart.throw(new core.UnsupportedError.new("RandomAccessFile")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); + return io._RandomAccessFileOps.new(pointer); + } }; (io._RandomAccessFileOps[dart.mixinNew] = function() { }).prototype = io._RandomAccessFileOps.prototype; dart.addTypeTests(io._RandomAccessFileOps); dart.addTypeCaches(io._RandomAccessFileOps); -dart.setLibraryUri(io._RandomAccessFileOps, I[105]); +dart.setStaticMethodSignature(io._RandomAccessFileOps, () => ['new']); +dart.setLibraryUri(io._RandomAccessFileOps, I[108]); var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); @@ -50454,14 +54269,19 @@ var _dispatch = dart.privateName(io, "_dispatch"); var _checkAvailable = dart.privateName(io, "_checkAvailable"); var _fileLockValue = dart.privateName(io, "_fileLockValue"); io._RandomAccessFile = class _RandomAccessFile extends core.Object { + set [_resourceInfo](_resourceInfo$35param) { + if (_resourceInfo$35param == null) dart.nullFailed(I[117], 667, 26, "_resourceInfo#param"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = _resourceInfo$35param; + } get [_resourceInfo]() { - let t199; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + let t176; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); } - set [_resourceInfo](t199) { - if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); - this[___RandomAccessFile__resourceInfo_isSet] = true; - this[___RandomAccessFile__resourceInfo] = t199; + static ['_#new#tearOff'](pointer, path) { + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); + return new io._RandomAccessFile.new(pointer, path); } [_maybePerformCleanup]() { if (dart.test(this.closed)) { @@ -50470,8 +54290,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } [_maybeConnectHandler]() { if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); - developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); + developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); io._RandomAccessFile._connectedResourceHandler = true; } } @@ -50482,7 +54302,7 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } this.closed = dart.test(this.closed) || dart.equals(result, 0); this[_maybePerformCleanup](); - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } closeSync() { this[_checkAvailable](); @@ -50495,12 +54315,10 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } readByte() { return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); - } + io._checkForErrorResponse(response, "readByte failed", this.path); this[_resourceInfo].addRead(1); - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + return core.int.as(response); + }, T$0.ObjectNToint())); } readByteSync() { this[_checkAvailable](); @@ -50512,31 +54330,29 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } read(bytes) { - if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 736, 30, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); - } - this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); - let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + io._checkForErrorResponse(response, "read failed", this.path); + let result = typed_data.Uint8List.as(T$.ListOfObjectN().as(response)[$_get](1)); + this[_resourceInfo].addRead(result[$length]); return result; - }, T$0.dynamicToUint8List())); + }, T$0.ObjectNToUint8List())); } readSync(bytes) { - if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 747, 26, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); this[_checkAvailable](); let result = this[_ops].read(bytes); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + if (!typed_data.Uint8List.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); } - this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); - return typed_data.Uint8List.as(result); + this[_resourceInfo].addRead(result[$length]); + return result; } readInto(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); - if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + if (buffer == null) dart.nullFailed(I[117], 759, 34, "buffer"); + if (start == null) dart.nullFailed(I[117], 759, 47, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); if (end == start) { @@ -50544,19 +54360,18 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } let length = dart.notNull(end) - dart.notNull(start); return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); - } - let read = core.int.as(dart.dsend(response, '_get', [1])); - let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + io._checkForErrorResponse(response, "readInto failed", this.path); + let responseList = T$.ListOfObjectN().as(response); + let read = core.int.as(responseList[$_get](1)); + let data = T$0.ListOfint().as(responseList[$_get](2)); buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); this[_resourceInfo].addRead(read); return read; - }, T$0.dynamicToint())); + }, T$0.ObjectNToint())); } readIntoSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); - if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + if (buffer == null) dart.nullFailed(I[117], 778, 30, "buffer"); + if (start == null) dart.nullFailed(I[117], 778, 43, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); this[_checkAvailable](); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50571,18 +54386,16 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } writeByte(value) { - if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + if (value == null) dart.nullFailed(I[117], 794, 42, "value"); core.ArgumentError.checkNotNull(core.int, value, "value"); return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); - } + io._checkForErrorResponse(response, "writeByte failed", this.path); this[_resourceInfo].addWrite(1); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeByteSync(value) { - if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + if (value == null) dart.nullFailed(I[117], 804, 25, "value"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, value, "value"); let result = this[_ops].writeByte(value); @@ -50593,8 +54406,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } writeFrom(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); - if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + if (buffer == null) dart.nullFailed(I[117], 816, 48, "buffer"); + if (start == null) dart.nullFailed(I[117], 817, 12, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50617,16 +54430,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { request[$_set](2, result.start); request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); - } + io._checkForErrorResponse(response, "writeFrom failed", this.path); this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeFromSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); - if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + if (buffer == null) dart.nullFailed(I[117], 844, 32, "buffer"); + if (start == null) dart.nullFailed(I[117], 844, 45, "start"); this[_checkAvailable](); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50642,28 +54453,26 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); } writeString(string, opts) { - if (string == null) dart.nullFailed(I[114], 875, 47, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + if (string == null) dart.nullFailed(I[117], 863, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 864, 17, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); return this.writeFrom(data, 0, data[$length]); } writeStringSync(string, opts) { - if (string == null) dart.nullFailed(I[114], 883, 31, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + if (string == null) dart.nullFailed(I[117], 871, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 871, 49, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); this.writeFromSync(data, 0, data[$length]); } position() { return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "position failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } positionSync() { this[_checkAvailable](); @@ -50674,16 +54483,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } setPosition(position) { - if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + if (position == null) dart.nullFailed(I[117], 894, 44, "position"); return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); - } + io._checkForErrorResponse(response, "setPosition failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } setPositionSync(position) { - if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + if (position == null) dart.nullFailed(I[117], 902, 28, "position"); this[_checkAvailable](); let result = this[_ops].setPosition(position); if (io.OSError.is(result)) { @@ -50691,16 +54498,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } truncate(length) { - if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + if (length == null) dart.nullFailed(I[117], 910, 41, "length"); return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); - } + io._checkForErrorResponse(response, "truncate failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } truncateSync(length) { - if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + if (length == null) dart.nullFailed(I[117], 917, 25, "length"); this[_checkAvailable](); let result = this[_ops].truncate(length); if (io.OSError.is(result)) { @@ -50709,11 +54514,9 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } length() { return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "length failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } lengthSync() { this[_checkAvailable](); @@ -50725,11 +54528,9 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } flush() { return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); - } + io._checkForErrorResponse(response, "flush failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } flushSync() { this[_checkAvailable](); @@ -50739,13 +54540,13 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); return fl[_type]; } - lock(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 987, 48, "start"); - if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + lock(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 965, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 965, 48, "start"); + if (end == null) dart.nullFailed(I[117], 965, 63, "end"); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50754,31 +54555,27 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } let lock = this[_fileLockValue](mode); return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); - } + io._checkForErrorResponse(response, "lock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } unlock(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); - if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + if (start == null) dart.nullFailed(I[117], 981, 40, "start"); + if (end == null) dart.nullFailed(I[117], 981, 55, "end"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (start == end) { dart.throw(new core.ArgumentError.new()); } return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); - } + io._checkForErrorResponse(response, "unlock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } - lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); - if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + lockSync(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 996, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 996, 48, "start"); + if (end == null) dart.nullFailed(I[117], 996, 63, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50793,8 +54590,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } unlockSync(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); - if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + if (start == null) dart.nullFailed(I[117], 1012, 24, "start"); + if (end == null) dart.nullFailed(I[117], 1012, 39, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50806,20 +54603,23 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); } } + get fd() { + return this[_ops].fd; + } [_pointer]() { return this[_ops].getPointer(); } [_dispatch](request, data, opts) { - if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); - if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + if (request == null) dart.nullFailed(I[117], 1037, 33, "request"); + if (data == null) dart.nullFailed(I[117], 1037, 47, "data"); let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; - if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (markClosed == null) dart.nullFailed(I[117], 1037, 59, "markClosed"); if (dart.test(this.closed)) { - return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new("File closed", this.path)); } if (dart.test(this[_asyncDispatched])) { let msg = "An async operation is currently pending"; - return async.Future.error(new io.FileSystemException.new(msg, this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); } if (dart.test(markClosed)) { this.closed = true; @@ -50840,8 +54640,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } }; (io._RandomAccessFile.new = function(pointer, path) { - if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); - if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); this[_asyncDispatched] = false; this[___RandomAccessFile__resourceInfo] = null; this[___RandomAccessFile__resourceInfo_isSet] = false; @@ -50888,18 +54688,19 @@ dart.setMethodSignature(io._RandomAccessFile, () => ({ lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), [_pointer]: dart.fnType(core.int, []), - [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_dispatch]: dart.fnType(async.Future$(dart.nullable(core.Object)), [core.int, core.List], {markClosed: core.bool}, {}), [_checkAvailable]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getGetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo + [_resourceInfo]: io._FileResourceInfo, + fd: core.int })); dart.setSetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getSetters(io._RandomAccessFile.__proto__), [_resourceInfo]: io._FileResourceInfo })); -dart.setLibraryUri(io._RandomAccessFile, I[105]); +dart.setLibraryUri(io._RandomAccessFile, I[108]); dart.setFieldSignature(io._RandomAccessFile, () => ({ __proto__: dart.getFields(io._RandomAccessFile.__proto__), path: dart.finalFieldType(core.String), @@ -50909,15 +54710,353 @@ dart.setFieldSignature(io._RandomAccessFile, () => ({ [_ops]: dart.fieldType(io._RandomAccessFileOps), closed: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(io._RandomAccessFile, () => ['_connectedResourceHandler', 'lockUnlock']); dart.defineLazy(io._RandomAccessFile, { /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { return false; }, - set _connectedResourceHandler(_) {}, + set _connectedResourceHandler(value) { + if (value == null) dart.nullFailed(I[117], 661, 15, "_connectedResourceHandler"); + }, /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { return 0; } }, false); +io._ReadPipe = class _ReadPipe extends io._FileStream { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + return new io._ReadPipe.new(file); + } +}; +(io._ReadPipe.new = function(file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + io._ReadPipe.__proto__.forRandomAccessFile.call(this, file); + ; +}).prototype = io._ReadPipe.prototype; +dart.addTypeTests(io._ReadPipe); +dart.addTypeCaches(io._ReadPipe); +io._ReadPipe[dart.implements] = () => [io.ReadPipe]; +dart.setLibraryUri(io._ReadPipe, I[108]); +var _encodingMutable = dart.privateName(io, "_encodingMutable"); +var _encoding$ = dart.privateName(io, "_encoding"); +var _doneCompleter = dart.privateName(io, "_doneCompleter"); +var _controllerInstance = dart.privateName(io, "_controllerInstance"); +var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); +var _isClosed$ = dart.privateName(io, "_isClosed"); +var _isBound = dart.privateName(io, "_isBound"); +var _hasError$ = dart.privateName(io, "_hasError"); +var _target$0 = dart.privateName(io, "_target"); +var _closeTarget = dart.privateName(io, "_closeTarget"); +var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); +var _completeDoneError = dart.privateName(io, "_completeDoneError"); +const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); +io._StreamSinkImpl$ = dart.generic(T => { + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + return new (io._StreamSinkImpl$(T)).new(_target); + } + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[118], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t177; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[118], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t177 = this[_controllerInstance]; + t177 == null ? null : t177.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = __t$StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[108]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +io._StreamSinkImpl = io._StreamSinkImpl$(); +dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); +io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + static ['_#new#tearOff'](target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + return new io._IOSinkImpl.new(target, _encoding); + } + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[118], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[118], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[118], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[118], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } +}; +(io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = io._IOSinkImpl.prototype; +dart.addTypeTests(io._IOSinkImpl); +dart.addTypeCaches(io._IOSinkImpl); +io._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._IOSinkImpl, I[108]); +dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) +})); +io._WritePipe = class _WritePipe extends io._IOSinkImpl { + static ['_#new#tearOff'](file) { + return new io._WritePipe.new(file); + } +}; +(io._WritePipe.new = function(file) { + this[_file] = io.RandomAccessFile.as(file); + io._WritePipe.__proto__.new.call(this, new io._FileStreamConsumer.fromRandomAccessFile(io.RandomAccessFile.as(file)), convert.utf8); + ; +}).prototype = io._WritePipe.prototype; +dart.addTypeTests(io._WritePipe); +dart.addTypeCaches(io._WritePipe); +io._WritePipe[dart.implements] = () => [io.WritePipe]; +dart.setLibraryUri(io._WritePipe, I[108]); +dart.setFieldSignature(io._WritePipe, () => ({ + __proto__: dart.getFields(io._WritePipe.__proto__), + [_file]: dart.fieldType(io.RandomAccessFile) +})); +var _readPipe$ = dart.privateName(io, "_readPipe"); +var _writePipe$ = dart.privateName(io, "_writePipe"); +io._Pipe = class _Pipe extends core.Object { + get read() { + return this[_readPipe$]; + } + get write() { + return this[_writePipe$]; + } + static ['_#new#tearOff'](_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + return new io._Pipe.new(_readPipe, _writePipe); + } + static create() { + let completer = T$0.CompleterOf_Pipe().sync(); + io._File._dispatchWithNamespace(31, [null]).then(core.Null, dart.fn(response => { + let filePointers = core.List.as(response)[$cast](core.int); + completer.complete(new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(filePointers[$_get](0), "")), new io._WritePipe.new(new io._RandomAccessFile.new(filePointers[$_get](1), "")))); + }, T$0.ObjectNToNull())); + return completer.future; + } + static createSync() { + let filePointers = io._File._createPipe(io._Namespace._namespace); + return new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](0)), "")), new io._WritePipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](1)), ""))); + } + static ['_#createSync#tearOff']() { + return io._Pipe.createSync(); + } +}; +(io._Pipe.new = function(_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + this[_readPipe$] = _readPipe; + this[_writePipe$] = _writePipe; + ; +}).prototype = io._Pipe.prototype; +dart.addTypeTests(io._Pipe); +dart.addTypeCaches(io._Pipe); +io._Pipe[dart.implements] = () => [io.Pipe]; +dart.setStaticMethodSignature(io._Pipe, () => ['create', 'createSync']); +dart.setGetterSignature(io._Pipe, () => ({ + __proto__: dart.getGetters(io._Pipe.__proto__), + read: io.ReadPipe, + write: io.WritePipe +})); +dart.setLibraryUri(io._Pipe, I[108]); +dart.setFieldSignature(io._Pipe, () => ({ + __proto__: dart.getFields(io._Pipe.__proto__), + [_readPipe$]: dart.finalFieldType(io.ReadPipe), + [_writePipe$]: dart.finalFieldType(io.WritePipe) +})); var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); io.FileSystemEntityType = class FileSystemEntityType extends core.Object { get [_type]() { @@ -50926,54 +55065,57 @@ io.FileSystemEntityType = class FileSystemEntityType extends core.Object { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); + return new io.FileSystemEntityType._internal(_type); + } static _lookup(type) { - if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + if (type == null) dart.nullFailed(I[114], 39, 43, "type"); return io.FileSystemEntityType._typeList[$_get](type); } toString() { - return (C[121] || CT.C121)[$_get](this[_type]); + return (C[128] || CT.C128)[$_get](this[_type]); } }; (io.FileSystemEntityType._internal = function(_type) { - if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); this[_type$2] = _type; ; }).prototype = io.FileSystemEntityType.prototype; dart.addTypeTests(io.FileSystemEntityType); dart.addTypeCaches(io.FileSystemEntityType); -dart.setLibraryUri(io.FileSystemEntityType, I[105]); +dart.setStaticMethodSignature(io.FileSystemEntityType, () => ['_lookup']); +dart.setLibraryUri(io.FileSystemEntityType, I[108]); dart.setFieldSignature(io.FileSystemEntityType, () => ({ __proto__: dart.getFields(io.FileSystemEntityType.__proto__), [_type]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileSystemEntityType, () => ['file', 'directory', 'link', 'unixDomainSock', 'pipe', 'notFound', 'NOT_FOUND', '_typeList']); dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); dart.defineLazy(io.FileSystemEntityType, { /*io.FileSystemEntityType.file*/get file() { - return C[122] || CT.C122; - }, - /*io.FileSystemEntityType.FILE*/get FILE() { - return C[122] || CT.C122; + return C[129] || CT.C129; }, /*io.FileSystemEntityType.directory*/get directory() { - return C[123] || CT.C123; - }, - /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { - return C[123] || CT.C123; + return C[130] || CT.C130; }, /*io.FileSystemEntityType.link*/get link() { - return C[124] || CT.C124; + return C[131] || CT.C131; }, - /*io.FileSystemEntityType.LINK*/get LINK() { - return C[124] || CT.C124; + /*io.FileSystemEntityType.unixDomainSock*/get unixDomainSock() { + return C[132] || CT.C132; + }, + /*io.FileSystemEntityType.pipe*/get pipe() { + return C[133] || CT.C133; }, /*io.FileSystemEntityType.notFound*/get notFound() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[126] || CT.C126; + return C[135] || CT.C135; } }, false); var changed$ = dart.privateName(io, "FileStat.changed"); @@ -51019,13 +55161,22 @@ io.FileStat = class FileStat extends core.Object { set size(value) { super.size = value; } + static ['_#_internal#tearOff'](changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); + return new io.FileStat._internal(changed, modified, accessed, type, mode, size); + } static _statSync(namespace, path) { - if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); - if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + if (namespace == null) dart.nullFailed(I[110], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[110], 84, 49, "path"); dart.throw(new core.UnsupportedError.new("FileStat.stat")); } static statSync(path) { - if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + if (path == null) dart.nullFailed(I[114], 109, 35, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._statSyncInternal(path); @@ -51033,16 +55184,16 @@ io.FileStat = class FileStat extends core.Object { return overrides.statSync(path); } static _statSyncInternal(path) { - if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (path == null) dart.nullFailed(I[114], 117, 44, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } let data = io.FileStat._statSync(io._Namespace._namespace, path); - if (io.OSError.is(data)) return io.FileStat._notFound; - return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + if (!typed_data.Int64List.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](1)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](2)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](3)), io.FileSystemEntityType._lookup(data[$_get](0)), data[$_get](4), data[$_get](5)); } static stat(path) { - if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + if (path == null) dart.nullFailed(I[114], 140, 39, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._stat(path); @@ -51050,46 +55201,46 @@ io.FileStat = class FileStat extends core.Object { return overrides.stat(path); } static _stat(path) { - if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (path == null) dart.nullFailed(I[114], 148, 40, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { return io.FileStat._notFound; } - let data = core.List.as(dart.dsend(response, '_get', [1])); + let data = T$.ListOfObjectN().as(core.List.as(response)[$_get](1)); return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); - }, T$0.dynamicToFileStat())); + }, T$0.ObjectNToFileStat())); } toString() { return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); } modeString() { - let t201; + let t177; let permissions = dart.notNull(this.mode) & 4095; - let codes = C[127] || CT.C127; + let codes = C[136] || CT.C136; let result = []; if ((permissions & 2048) !== 0) result[$add]("(suid) "); if ((permissions & 1024) !== 0) result[$add]("(guid) "); if ((permissions & 512) !== 0) result[$add]("(sticky) "); - t201 = result; + t177 = result; (() => { - t201[$add](codes[$_get](permissions >> 6 & 7)); - t201[$add](codes[$_get](permissions >> 3 & 7)); - t201[$add](codes[$_get](permissions & 7)); - return t201; + t177[$add](codes[$_get](permissions >> 6 & 7)); + t177[$add](codes[$_get](permissions >> 3 & 7)); + t177[$add](codes[$_get](permissions & 7)); + return t177; })(); return result[$join](); } }; (io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { - if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); - if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); - if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); - if (type == null) dart.nullFailed(I[111], 89, 71, "type"); - if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); - if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); this[changed$] = changed; this[modified$] = modified; this[accessed$] = accessed; @@ -51104,7 +55255,8 @@ dart.setMethodSignature(io.FileStat, () => ({ __proto__: dart.getMethods(io.FileStat.__proto__), modeString: dart.fnType(core.String, []) })); -dart.setLibraryUri(io.FileStat, I[105]); +dart.setStaticMethodSignature(io.FileStat, () => ['_statSync', 'statSync', '_statSyncInternal', 'stat', '_stat']); +dart.setLibraryUri(io.FileStat, I[108]); dart.setFieldSignature(io.FileStat, () => ({ __proto__: dart.getFields(io.FileStat.__proto__), changed: dart.finalFieldType(core.DateTime), @@ -51114,6 +55266,7 @@ dart.setFieldSignature(io.FileStat, () => ({ mode: dart.finalFieldType(core.int), size: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileStat, () => ['_type', '_changedTime', '_modifiedTime', '_accessedTime', '_mode', '_size', '_epoch', '_notFound']); dart.defineExtensionMethods(io.FileStat, ['toString']); dart.defineLazy(io.FileStat, { /*io.FileStat._type*/get _type() { @@ -51163,11 +55316,17 @@ io.FileSystemEvent = class FileSystemEvent extends core.Object { set isDirectory(value) { super.isDirectory = value; } + static ['_#_#tearOff'](type, path, isDirectory) { + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); + return new io.FileSystemEvent.__(type, path, isDirectory); + } }; (io.FileSystemEvent.__ = function(type, path, isDirectory) { - if (type == null) dart.nullFailed(I[111], 905, 26, "type"); - if (path == null) dart.nullFailed(I[111], 905, 37, "path"); - if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); this[type$2] = type; this[path$0] = path; this[isDirectory$] = isDirectory; @@ -51175,44 +55334,30 @@ io.FileSystemEvent = class FileSystemEvent extends core.Object { }).prototype = io.FileSystemEvent.prototype; dart.addTypeTests(io.FileSystemEvent); dart.addTypeCaches(io.FileSystemEvent); -dart.setLibraryUri(io.FileSystemEvent, I[105]); +dart.setLibraryUri(io.FileSystemEvent, I[108]); dart.setFieldSignature(io.FileSystemEvent, () => ({ __proto__: dart.getFields(io.FileSystemEvent.__proto__), type: dart.finalFieldType(core.int), path: dart.finalFieldType(core.String), isDirectory: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(io.FileSystemEvent, () => ['create', 'modify', 'delete', 'move', 'all', '_modifyAttributes', '_deleteSelf', '_isDir']); dart.defineLazy(io.FileSystemEvent, { /*io.FileSystemEvent.create*/get create() { return 1; }, - /*io.FileSystemEvent.CREATE*/get CREATE() { - return 1; - }, /*io.FileSystemEvent.modify*/get modify() { return 2; }, - /*io.FileSystemEvent.MODIFY*/get MODIFY() { - return 2; - }, /*io.FileSystemEvent.delete*/get delete() { return 4; }, - /*io.FileSystemEvent.DELETE*/get DELETE() { - return 4; - }, /*io.FileSystemEvent.move*/get move() { return 8; }, - /*io.FileSystemEvent.MOVE*/get MOVE() { - return 8; - }, /*io.FileSystemEvent.all*/get all() { return 15; }, - /*io.FileSystemEvent.ALL*/get ALL() { - return 15; - }, /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { return 16; }, @@ -51224,6 +55369,9 @@ dart.defineLazy(io.FileSystemEvent, { } }, false); io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemCreateEvent.__(path, isDirectory); + } toString() { return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; } @@ -51234,7 +55382,7 @@ io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEven }).prototype = io.FileSystemCreateEvent.prototype; dart.addTypeTests(io.FileSystemCreateEvent); dart.addTypeCaches(io.FileSystemCreateEvent); -dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); +dart.setLibraryUri(io.FileSystemCreateEvent, I[108]); dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { @@ -51244,25 +55392,32 @@ io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEven set contentChanged(value) { super.contentChanged = value; } + static ['_#_#tearOff'](path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); + return new io.FileSystemModifyEvent.__(path, isDirectory, contentChanged); + } toString() { return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; } }; (io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { - if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); this[contentChanged$] = contentChanged; io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); ; }).prototype = io.FileSystemModifyEvent.prototype; dart.addTypeTests(io.FileSystemModifyEvent); dart.addTypeCaches(io.FileSystemModifyEvent); -dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); +dart.setLibraryUri(io.FileSystemModifyEvent, I[108]); dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), contentChanged: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemDeleteEvent.__(path, isDirectory); + } toString() { return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; } @@ -51273,7 +55428,7 @@ io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEven }).prototype = io.FileSystemDeleteEvent.prototype; dart.addTypeTests(io.FileSystemDeleteEvent); dart.addTypeCaches(io.FileSystemDeleteEvent); -dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); +dart.setLibraryUri(io.FileSystemDeleteEvent, I[108]); dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { @@ -51283,6 +55438,9 @@ io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { set destination(value) { super.destination = value; } + static ['_#_#tearOff'](path, isDirectory, destination) { + return new io.FileSystemMoveEvent.__(path, isDirectory, destination); + } toString() { let buffer = new core.StringBuffer.new(); buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); @@ -51298,7 +55456,7 @@ io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { }).prototype = io.FileSystemMoveEvent.prototype; dart.addTypeTests(io.FileSystemMoveEvent); dart.addTypeCaches(io.FileSystemMoveEvent); -dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); +dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), destination: dart.finalFieldType(dart.nullable(core.String)) @@ -51306,9 +55464,9 @@ dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { static _watch(path, events, recursive) { - if (path == null) dart.nullFailed(I[107], 691, 14, "path"); - if (events == null) dart.nullFailed(I[107], 691, 24, "events"); - if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + if (path == null) dart.nullFailed(I[110], 753, 14, "path"); + if (events == null) dart.nullFailed(I[110], 753, 24, "events"); + if (recursive == null) dart.nullFailed(I[110], 753, 37, "recursive"); dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); } static get isSupported() { @@ -51320,7 +55478,9 @@ io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { }).prototype = io._FileSystemWatcher.prototype; dart.addTypeTests(io._FileSystemWatcher); dart.addTypeCaches(io._FileSystemWatcher); -dart.setLibraryUri(io._FileSystemWatcher, I[105]); +dart.setStaticMethodSignature(io._FileSystemWatcher, () => ['_watch']); +dart.setStaticGetterSignature(io._FileSystemWatcher, () => ['isSupported']); +dart.setLibraryUri(io._FileSystemWatcher, I[108]); io._IOResourceInfo = class _IOResourceInfo extends core.Object { static get timestamp() { return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); @@ -51329,40 +55489,45 @@ io._IOResourceInfo = class _IOResourceInfo extends core.Object { return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); } static getNextID() { - let t201; - t201 = io._IOResourceInfo._count; - io._IOResourceInfo._count = dart.notNull(t201) + 1; - return t201; + let t177; + t177 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t177) + 1; + return t177; } }; (io._IOResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + if (type == null) dart.nullFailed(I[119], 18, 24, "type"); this.type = type; this.id = io._IOResourceInfo.getNextID(); ; }).prototype = io._IOResourceInfo.prototype; dart.addTypeTests(io._IOResourceInfo); dart.addTypeCaches(io._IOResourceInfo); +dart.setStaticMethodSignature(io._IOResourceInfo, () => ['getNextID']); dart.setGetterSignature(io._IOResourceInfo, () => ({ __proto__: dart.getGetters(io._IOResourceInfo.__proto__), referenceValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._IOResourceInfo, I[105]); +dart.setStaticGetterSignature(io._IOResourceInfo, () => ['timestamp']); +dart.setLibraryUri(io._IOResourceInfo, I[108]); dart.setFieldSignature(io._IOResourceInfo, () => ({ __proto__: dart.getFields(io._IOResourceInfo.__proto__), type: dart.finalFieldType(core.String), id: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io._IOResourceInfo, () => ['_count', '_sw', '_startTime']); dart.defineLazy(io._IOResourceInfo, { /*io._IOResourceInfo._count*/get _count() { return 0; }, - set _count(_) {}, + set _count(value) { + if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); + }, /*io._IOResourceInfo._sw*/get _sw() { - let t201; - return t201 = new core.Stopwatch.new(), (() => { - t201.start(); - return t201; + let t177; + return t177 = new core.Stopwatch.new(), (() => { + t177.start(); + return t177; })(); }, /*io._IOResourceInfo._startTime*/get _startTime() { @@ -51371,7 +55536,7 @@ dart.defineLazy(io._IOResourceInfo, { }, false); io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { addRead(bytes) { - if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 47, 20, "bytes"); this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); this.readCount = dart.notNull(this.readCount) + 1; this.lastReadTime = io._IOResourceInfo.timestamp; @@ -51380,7 +55545,7 @@ io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceI this.addRead(0); } addWrite(bytes) { - if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 60, 21, "bytes"); this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); this.writeCount = dart.notNull(this.writeCount) + 1; this.lastWriteTime = io._IOResourceInfo.timestamp; @@ -51390,7 +55555,7 @@ io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceI } }; (io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + if (type == null) dart.nullFailed(I[119], 66, 33, "type"); this.readBytes = 0; this.writeBytes = 0; this.readCount = 0; @@ -51412,7 +55577,7 @@ dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), fullValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); +dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), readBytes: dart.fieldType(core.int), @@ -51423,24 +55588,30 @@ dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ lastWriteTime: dart.fieldType(core.int) })); io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); + return new io._FileResourceInfo.new(file); + } static fileOpened(info) { - if (info == null) dart.nullFailed(I[115], 99, 39, "info"); - if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 100, 12, "!openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$_set](info.id, info); } static fileClosed(info) { - if (info == null) dart.nullFailed(I[115], 104, 39, "info"); - if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 105, 12, "openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$remove](info.id); } static getOpenFilesList() { return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + if (e == null) dart.nullFailed(I[119], 111, 8, "e"); return e.referenceValueMap; }, T$0._FileResourceInfoToMapOfString$dynamic()))); } static getOpenFiles($function, params) { - if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + if ($function == null) dart.nullFailed(I[119], 116, 14, "function"); + if (params == null) dart.nullFailed(I[119], 116, 44, "params"); + if (!($function === "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[119], 117, 12, "function == 'ext.dart.io.getOpenFiles'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); @@ -51449,32 +55620,37 @@ io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo return this.fullValueMap; } static getOpenFileInfoMapByID($function, params) { - let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + if ($function == null) dart.nullFailed(I[119], 129, 14, "function"); + if (params == null) dart.nullFailed(I[119], 129, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } get name() { - return core.String.as(dart.dload(this.file, 'path')); + return this.file.path; } }; (io._FileResourceInfo.new = function(file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); this.file = file; io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); io._FileResourceInfo.fileOpened(this); }).prototype = io._FileResourceInfo.prototype; dart.addTypeTests(io._FileResourceInfo); dart.addTypeCaches(io._FileResourceInfo); +dart.setStaticMethodSignature(io._FileResourceInfo, () => ['fileOpened', 'fileClosed', 'getOpenFilesList', 'getOpenFiles', 'getOpenFileInfoMapByID']); dart.setGetterSignature(io._FileResourceInfo, () => ({ __proto__: dart.getGetters(io._FileResourceInfo.__proto__), fileInfoMap: core.Map$(core.String, dart.dynamic), name: core.String })); -dart.setLibraryUri(io._FileResourceInfo, I[105]); +dart.setLibraryUri(io._FileResourceInfo, I[108]); dart.setFieldSignature(io._FileResourceInfo, () => ({ __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(dart.dynamic) + file: dart.finalFieldType(io.RandomAccessFile) })); +dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); dart.defineLazy(io._FileResourceInfo, { /*io._FileResourceInfo._type*/get _type() { return "OpenFile"; @@ -51482,47 +55658,61 @@ dart.defineLazy(io._FileResourceInfo, { /*io._FileResourceInfo.openFiles*/get openFiles() { return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); }, - set openFiles(_) {} + set openFiles(value) { + if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); + } }, false); -var _arguments$2 = dart.privateName(io, "_arguments"); +io._Process = class _Process extends core.Object {}; +(io._Process.new = function() { + ; +}).prototype = io._Process.prototype; +dart.addTypeTests(io._Process); +dart.addTypeCaches(io._Process); +io._Process[dart.implements] = () => [io.Process]; +dart.setLibraryUri(io._Process, I[108]); +var _arguments$1 = dart.privateName(io, "_arguments"); var _workingDirectory = dart.privateName(io, "_workingDirectory"); io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + static ['_#new#tearOff'](process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); + return new io._SpawnedProcessResourceInfo.new(process); + } get name() { - return core.String.as(dart.dload(this.process, _path$0)); + return this.process[_path$0]; } stopped() { return io._SpawnedProcessResourceInfo.processStopped(this); } get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", this.process.pid, "startedAt", this.startedAt, "arguments", this.process[_arguments$1], "workingDirectory", this.process[_workingDirectory] == null ? "." : this.process[_workingDirectory]]); } static processStarted(info) { - if (info == null) dart.nullFailed(I[115], 167, 53, "info"); - if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 174, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 175, 12, "!startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); } static processStopped(info) { - if (info == null) dart.nullFailed(I[115], 172, 53, "info"); - if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 179, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 180, 12, "startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); } static getStartedProcessesList() { return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + if (e == null) dart.nullFailed(I[119], 186, 10, "e"); return e.referenceValueMap; }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); } static getStartedProcesses($function, params) { - if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); - if (params == null) dart.nullFailed(I[115], 183, 44, "params"); - if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + if ($function == null) dart.nullFailed(I[119], 190, 14, "function"); + if (params == null) dart.nullFailed(I[119], 190, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[119], 191, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } static getProcessInfoMapById($function, params) { - if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); - if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + if ($function == null) dart.nullFailed(I[119], 201, 14, "function"); + if (params == null) dart.nullFailed(I[119], 201, 44, "params"); let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); @@ -51530,6 +55720,7 @@ io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._I } }; (io._SpawnedProcessResourceInfo.new = function(process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); this.process = process; this.startedAt = io._IOResourceInfo.timestamp; io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); @@ -51541,17 +55732,19 @@ dart.setMethodSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), stopped: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(io._SpawnedProcessResourceInfo, () => ['processStarted', 'processStopped', 'getStartedProcessesList', 'getStartedProcesses', 'getProcessInfoMapById']); dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), name: core.String, fullValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); +dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[108]); dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - process: dart.finalFieldType(dart.dynamic), + process: dart.finalFieldType(io._Process), startedAt: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io._SpawnedProcessResourceInfo, () => ['_type', 'startedProcesses']); dart.defineLazy(io._SpawnedProcessResourceInfo, { /*io._SpawnedProcessResourceInfo._type*/get _type() { return "SpawnedProcess"; @@ -51559,25 +55752,33 @@ dart.defineLazy(io._SpawnedProcessResourceInfo, { /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); }, - set startedProcesses(_) {} + set startedProcesses(value) { + if (value == null) dart.nullFailed(I[119], 150, 48, "startedProcesses"); + } }, false); var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); io.IOSink = class IOSink extends core.Object { static new(target, opts) { - if (target == null) dart.nullFailed(I[116], 23, 44, "target"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); return new io._IOSinkImpl.new(target, encoding); } + static ['_#new#tearOff'](target, opts) { + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); + return io.IOSink.new(target, {encoding: encoding}); + } get encoding() { - let t201; - return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + let t177; + return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); } - set encoding(t201) { - if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + set encoding(encoding$35param) { + if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = t201; + this[__IOSink_encoding] = encoding$35param; } }; (io.IOSink[dart.mixinNew] = function() { @@ -51587,6 +55788,7 @@ io.IOSink = class IOSink extends core.Object { dart.addTypeTests(io.IOSink); dart.addTypeCaches(io.IOSink); io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; +dart.setStaticMethodSignature(io.IOSink, () => ['new']); dart.setGetterSignature(io.IOSink, () => ({ __proto__: dart.getGetters(io.IOSink.__proto__), encoding: convert.Encoding @@ -51595,266 +55797,30 @@ dart.setSetterSignature(io.IOSink, () => ({ __proto__: dart.getSetters(io.IOSink.__proto__), encoding: convert.Encoding })); -dart.setLibraryUri(io.IOSink, I[105]); +dart.setLibraryUri(io.IOSink, I[108]); dart.setFieldSignature(io.IOSink, () => ({ __proto__: dart.getFields(io.IOSink.__proto__), [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), [__IOSink_encoding_isSet]: dart.fieldType(core.bool) })); -var _doneCompleter = dart.privateName(io, "_doneCompleter"); -var _controllerInstance = dart.privateName(io, "_controllerInstance"); -var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); -var _isClosed$ = dart.privateName(io, "_isClosed"); -var _isBound = dart.privateName(io, "_isBound"); -var _hasError$ = dart.privateName(io, "_hasError"); -var _target$0 = dart.privateName(io, "_target"); -var _closeTarget = dart.privateName(io, "_closeTarget"); -var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); -var _completeDoneError = dart.privateName(io, "_completeDoneError"); -const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); -io._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - class _StreamSinkImpl extends core.Object { - add(data) { - T.as(data); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[116], 139, 17, "error"); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].addError(error, stackTrace); - } - addStream(stream) { - let t202; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); - } - if (dart.test(this[_hasError$])) return this.done; - this[_isBound] = true; - let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); - t202 = this[_controllerInstance]; - t202 == null ? null : t202.close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - flush() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (this[_controllerInstance] == null) return async.Future.value(this); - this[_isBound] = true; - let future = dart.nullCheck(this[_controllerCompleter]).future; - dart.nullCheck(this[_controllerInstance]).close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - close() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (!dart.test(this[_isClosed$])) { - this[_isClosed$] = true; - if (this[_controllerInstance] != null) { - dart.nullCheck(this[_controllerInstance]).close(); - } else { - this[_closeTarget](); - } - } - return this.done; - } - [_closeTarget]() { - this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); - } - get done() { - return this[_doneCompleter].future; - } - [_completeDoneValue](value) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_doneCompleter].complete(value); - } - } - [_completeDoneError](error, stackTrace) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_hasError$] = true; - this[_doneCompleter].completeError(core.Object.as(error), stackTrace); - } - } - get [_controller]() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - if (this[_controllerInstance] == null) { - this[_controllerInstance] = StreamControllerOfT().new({sync: true}); - this[_controllerCompleter] = async.Completer.new(); - this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).complete(this); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_closeTarget](); - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull())}); - } - return dart.nullCheck(this[_controllerInstance]); - } - } - (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); - this[_doneCompleter] = async.Completer.new(); - this[_controllerInstance] = null; - this[_controllerCompleter] = null; - this[_isClosed$] = false; - this[_isBound] = false; - this[_hasError$] = false; - this[_target$0] = _target; - ; - }).prototype = _StreamSinkImpl.prototype; - dart.addTypeTests(_StreamSinkImpl); - _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; - dart.addTypeCaches(_StreamSinkImpl); - _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getMethods(_StreamSinkImpl.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - [_closeTarget]: dart.fnType(dart.void, []), - [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), - [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[105]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter]: dart.finalFieldType(async.Completer), - [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$]: dart.fieldType(core.bool), - [_isBound]: dart.fieldType(core.bool), - [_hasError$]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; -}); -io._StreamSinkImpl = io._StreamSinkImpl$(); -dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); -var _encodingMutable = dart.privateName(io, "_encodingMutable"); -var _encoding$ = dart.privateName(io, "_encoding"); -io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { - get encoding() { - return this[_encoding$]; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[116], 259, 30, "value"); - if (!dart.test(this[_encodingMutable])) { - dart.throw(new core.StateError.new("IOSink encoding is not mutable")); - } - this[_encoding$] = value; - } - write(obj) { - let string = dart.str(obj); - if (string[$isEmpty]) return; - this.add(this[_encoding$].encode(string)); - } - writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); - if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); - let iterator = objects[$iterator]; - if (!dart.test(iterator.moveNext())) return; - if (separator[$isEmpty]) { - do { - this.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - this.write(iterator.current); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this.write(iterator.current); - } - } - } - writeln(object = "") { - this.write(object); - this.write("\n"); - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } -}; -(io._IOSinkImpl.new = function(target, _encoding) { - if (target == null) dart.nullFailed(I[116], 255, 41, "target"); - if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); - this[_encodingMutable] = true; - this[_encoding$] = _encoding; - io._IOSinkImpl.__proto__.new.call(this, target); - ; -}).prototype = io._IOSinkImpl.prototype; -dart.addTypeTests(io._IOSinkImpl); -dart.addTypeCaches(io._IOSinkImpl); -io._IOSinkImpl[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getMethods(io._IOSinkImpl.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]) -})); -dart.setGetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getGetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding -})); -dart.setSetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getSetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding -})); -dart.setLibraryUri(io._IOSinkImpl, I[105]); -dart.setFieldSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getFields(io._IOSinkImpl.__proto__), - [_encoding$]: dart.fieldType(convert.Encoding), - [_encodingMutable]: dart.fieldType(core.bool) -})); io._IOService = class _IOService extends core.Object { static _dispatch(request, data) { - if (request == null) dart.nullFailed(I[107], 704, 31, "request"); - if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + if (request == null) dart.nullFailed(I[110], 766, 40, "request"); + if (data == null) dart.nullFailed(I[110], 766, 54, "data"); dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); } + static ['_#new#tearOff']() { + return new io._IOService.new(); + } }; (io._IOService.new = function() { ; }).prototype = io._IOService.prototype; dart.addTypeTests(io._IOService); dart.addTypeCaches(io._IOService); -dart.setLibraryUri(io._IOService, I[105]); +dart.setStaticMethodSignature(io._IOService, () => ['_dispatch']); +dart.setLibraryUri(io._IOService, I[108]); +dart.setStaticFieldSignature(io._IOService, () => ['fileExists', 'fileCreate', 'fileDelete', 'fileRename', 'fileCopy', 'fileOpen', 'fileResolveSymbolicLinks', 'fileClose', 'filePosition', 'fileSetPosition', 'fileTruncate', 'fileLength', 'fileLengthFromPath', 'fileLastAccessed', 'fileSetLastAccessed', 'fileLastModified', 'fileSetLastModified', 'fileFlush', 'fileReadByte', 'fileWriteByte', 'fileRead', 'fileReadInto', 'fileWriteFrom', 'fileCreateLink', 'fileDeleteLink', 'fileRenameLink', 'fileLinkTarget', 'fileType', 'fileIdentical', 'fileStat', 'fileLock', 'fileCreatePipe', 'socketLookup', 'socketListInterfaces', 'socketReverseLookup', 'directoryCreate', 'directoryDelete', 'directoryExists', 'directoryCreateTemp', 'directoryListStart', 'directoryListNext', 'directoryListStop', 'directoryRename', 'sslProcessFilter']); dart.defineLazy(io._IOService, { /*io._IOService.fileExists*/get fileExists() { return 0; @@ -51949,70 +55915,85 @@ dart.defineLazy(io._IOService, { /*io._IOService.fileLock*/get fileLock() { return 30; }, - /*io._IOService.socketLookup*/get socketLookup() { + /*io._IOService.fileCreatePipe*/get fileCreatePipe() { return 31; }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + /*io._IOService.socketLookup*/get socketLookup() { return 32; }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { return 33; }, - /*io._IOService.directoryCreate*/get directoryCreate() { + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { return 34; }, - /*io._IOService.directoryDelete*/get directoryDelete() { + /*io._IOService.directoryCreate*/get directoryCreate() { return 35; }, - /*io._IOService.directoryExists*/get directoryExists() { + /*io._IOService.directoryDelete*/get directoryDelete() { return 36; }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + /*io._IOService.directoryExists*/get directoryExists() { return 37; }, - /*io._IOService.directoryListStart*/get directoryListStart() { + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { return 38; }, - /*io._IOService.directoryListNext*/get directoryListNext() { + /*io._IOService.directoryListStart*/get directoryListStart() { return 39; }, - /*io._IOService.directoryListStop*/get directoryListStop() { + /*io._IOService.directoryListNext*/get directoryListNext() { return 40; }, - /*io._IOService.directoryRename*/get directoryRename() { + /*io._IOService.directoryListStop*/get directoryListStop() { return 41; }, - /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + /*io._IOService.directoryRename*/get directoryRename() { return 42; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 43; } }, false); io.Link = class Link extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Link.new(path); } return overrides.createLink(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); + return io.Link.new(path); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); return new io._Link.fromRawPath(rawPath); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); + return io.Link.fromRawPath(rawPath); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); return io.Link.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); + return io.Link.fromUri(uri); + } }; (io.Link[dart.mixinNew] = function() { }).prototype = io.Link.prototype; dart.addTypeTests(io.Link); dart.addTypeCaches(io.Link); io.Link[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.Link, I[105]); +dart.setStaticMethodSignature(io.Link, () => ['new', 'fromRawPath', 'fromUri']); +dart.setLibraryUri(io.Link, I[108]); var _path$2 = dart.privateName(io, "_Link._path"); var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); -var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); io._Link = class _Link extends io.FileSystemEntity { get [_path$0]() { return this[_path$2]; @@ -52026,6 +56007,14 @@ io._Link = class _Link extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); + return new io._Link.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -52042,21 +56031,19 @@ io._Link = class _Link extends io.FileSystemEntity { return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); } create(target, opts) { - if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + if (target == null) dart.nullFailed(I[120], 164, 30, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 164, 44, "recursive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFutureOfObjectN())).then(io.Link, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create link to target '" + dart.str(target) + "'", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } createSync(target, opts) { - if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + if (target == null) dart.nullFailed(I[120], 177, 26, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 177, 40, "recursive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } @@ -52064,36 +56051,34 @@ io._Link = class _Link extends io.FileSystemEntity { io._Link.throwIfError(result, "Cannot create link", this.path); } updateSync(target) { - if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + if (target == null) dart.nullFailed(I[120], 185, 26, "target"); this.deleteSync(); this.createSync(target); } update(target) { - if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + if (target == null) dart.nullFailed(I[120], 194, 30, "target"); return this.delete().then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + if (_ == null) dart.nullFailed(I[120], 199, 33, "_"); return this.create(target); }, T$0.FileSystemEntityToFutureOfLink())); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 202, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + if (_ == null) dart.nullFailed(I[120], 206, 18, "_"); return this; }, T$0.FileSystemEntityTo_Link())); } return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete link", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -52101,27 +56086,23 @@ io._Link = class _Link extends io.FileSystemEntity { io._Link.throwIfError(result, "Cannot delete link", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 223, 30, "newPath"); return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); return io.Link.new(newPath); - }, T$0.dynamicToLink())); + }, T$0.ObjectNToLink())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 232, 26, "newPath"); let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); return io.Link.new(newPath); } target() { return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot get target of link", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } targetSync() { let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); @@ -52129,44 +56110,21 @@ io._Link = class _Link extends io.FileSystemEntity { return core.String.as(result); } static throwIfError(result, msg, path = "") { - if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); - if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (msg == null) dart.nullFailed(I[120], 252, 46, "msg"); + if (path == null) dart.nullFailed(I[120], 252, 59, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); - } - } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionFromResponse](response, message, path) { - if (message == null) dart.nullFailed(I[117], 271, 43, "message"); - if (path == null) dart.nullFailed(I[117], 271, 59, "path"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } }; (io._Link.new = function(path) { - if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); this[_path$2] = path; this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Link.prototype; (io._Link.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -52187,16 +56145,15 @@ dart.setMethodSignature(io._Link, () => ({ rename: dart.fnType(async.Future$(io.Link), [core.String]), renameSync: dart.fnType(io.Link, [core.String]), target: dart.fnType(async.Future$(core.String), []), - targetSync: dart.fnType(core.String, []), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) + targetSync: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(io._Link, () => ['throwIfError']); dart.setGetterSignature(io._Link, () => ({ __proto__: dart.getGetters(io._Link.__proto__), path: core.String, absolute: io.Link })); -dart.setLibraryUri(io._Link, I[105]); +dart.setLibraryUri(io._Link, I[108]); dart.setFieldSignature(io._Link, () => ({ __proto__: dart.getFields(io._Link.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -52219,162 +56176,102 @@ io._Namespace = class _Namespace extends core.Object { }).prototype = io._Namespace.prototype; dart.addTypeTests(io._Namespace); dart.addTypeCaches(io._Namespace); -dart.setLibraryUri(io._Namespace, I[105]); -io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { - matchScore(host) { - if (host == null) dart.nullFailed(I[118], 100, 25, "host"); - let domainLength = this.domain.length; - let hostLength = host.length; - let lengthDelta = hostLength - domainLength; - if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { - return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); - } - return -1; - } - checkConflict(existingPolicies) { - if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); - for (let existingPolicy of existingPolicies) { - if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { - if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { - return false; - } - dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); - } - } - return true; - } - toString() { - let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; - let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; - return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; - } -}; -(io._DomainNetworkPolicy.new = function(domain, opts) { - if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); - let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; - if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); - let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; - if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); - this.domain = domain; - this.includesSubDomains = includesSubDomains; - this.allowInsecureConnections = allowInsecureConnections; - if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { - dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); - } -}).prototype = io._DomainNetworkPolicy.prototype; -dart.addTypeTests(io._DomainNetworkPolicy); -dart.addTypeCaches(io._DomainNetworkPolicy); -dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), - matchScore: dart.fnType(core.int, [core.String]), - checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) -})); -dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); -dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), - domain: dart.finalFieldType(core.String), - allowInsecureConnections: dart.finalFieldType(core.bool), - includesSubDomains: dart.finalFieldType(core.bool) -})); -dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); -dart.defineLazy(io._DomainNetworkPolicy, { - /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { - return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); - } -}, false); +dart.setStaticMethodSignature(io._Namespace, () => ['_setupNamespace']); +dart.setStaticGetterSignature(io._Namespace, () => ['_namespace', '_namespacePointer']); +dart.setLibraryUri(io._Namespace, I[108]); io._NetworkProfiling = class _NetworkProfiling extends core.Object { static _registerServiceExtension() { - developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getSocketProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getVersion", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getHttpProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[137] || CT.C137); } static _serviceExtensionHandler(method, parameters) { - if (method == null) dart.nullFailed(I[119], 60, 14, "method"); - if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + if (method == null) dart.nullFailed(I[121], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[121], 60, 42, "parameters"); try { let responseJson = null; switch (method) { case "ext.dart.io.getHttpEnableTimelineLogging": - { - responseJson = io._getHttpEnableTimelineLogging(); - break; - } + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } case "ext.dart.io.setHttpEnableTimelineLogging": - { - responseJson = io._setHttpEnableTimelineLogging(parameters); - break; - } + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } case "ext.dart.io.httpEnableTimelineLogging": - { - if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { - if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[121], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); } - io._setHttpEnableTimelineLogging(parameters); + responseJson = io._getHttpEnableTimelineLogging(); + break; } - responseJson = io._getHttpEnableTimelineLogging(); - break; - } case "ext.dart.io.getHttpProfile": - { - responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); - break; - } + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } + { + responseJson = io._SocketProfile.toJson(); + break; + } case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } + { + responseJson = io._SocketProfile.start(); + break; + } case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } + { + responseJson = io._SocketProfile.pause(); + break; + } case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } + { + responseJson = io._SocketProfile.clear(); + break; + } case "ext.dart.io.getVersion": - { - responseJson = io._NetworkProfiling.getVersion(); - break; - } + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } default: - { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); - } + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } } return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); } catch (e) { @@ -52394,7 +56291,9 @@ io._NetworkProfiling = class _NetworkProfiling extends core.Object { }).prototype = io._NetworkProfiling.prototype; dart.addTypeTests(io._NetworkProfiling); dart.addTypeCaches(io._NetworkProfiling); -dart.setLibraryUri(io._NetworkProfiling, I[105]); +dart.setStaticMethodSignature(io._NetworkProfiling, () => ['_registerServiceExtension', '_serviceExtensionHandler', 'getVersion']); +dart.setLibraryUri(io._NetworkProfiling, I[108]); +dart.setStaticFieldSignature(io._NetworkProfiling, () => ['_kGetHttpEnableTimelineLogging', '_kSetHttpEnableTimelineLogging', '_kHttpEnableTimelineLogging', '_kGetHttpProfileRPC', '_kGetHttpProfileRequestRPC', '_kClearHttpProfileRPC', '_kClearSocketProfileRPC', '_kGetSocketProfileRPC', '_kSocketProfilingEnabledRPC', '_kPauseSocketProfilingRPC', '_kStartSocketProfilingRPC', '_kGetVersionRPC']); dart.defineLazy(io._NetworkProfiling, { /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { return "ext.dart.io.getHttpEnableTimelineLogging"; @@ -52433,10 +56332,11 @@ dart.defineLazy(io._NetworkProfiling, { return "ext.dart.io.getVersion"; } }, false); -var _name$4 = dart.privateName(io, "_name"); +var _Enum__name = dart.privateName(core, "_Enum._name"); +var _Enum_index = dart.privateName(core, "_Enum.index"); io._SocketProfile = class _SocketProfile extends core.Object { static set enableSocketProfiling(enabled) { - if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled == null) dart.nullFailed(I[121], 205, 41, "enabled"); if (enabled != io._SocketProfile._enableSocketProfiling) { developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); io._SocketProfile._enableSocketProfiling = enabled; @@ -52447,78 +56347,78 @@ io._SocketProfile = class _SocketProfile extends core.Object { } static toJson() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { - if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + if (f == null) dart.nullFailed(I[121], 222, 53, "f"); return f.toMap(); }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); } static collectNewSocket(id, type, addr, port) { - if (id == null) dart.nullFailed(I[119], 226, 11, "id"); - if (type == null) dart.nullFailed(I[119], 226, 22, "type"); - if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); - if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + if (id == null) dart.nullFailed(I[121], 226, 11, "id"); + if (type == null) dart.nullFailed(I[121], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[121], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[121], 226, 54, "port"); io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); } static collectStatistic(id, type, object = null) { - let t206, t205, t204, t203, t203$, t203$0; - if (id == null) dart.nullFailed(I[119], 233, 36, "id"); - if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + let t181, t180, t179, t178, t178$, t178$0; + if (id == null) dart.nullFailed(I[121], 233, 36, "id"); + if (type == null) dart.nullFailed(I[121], 233, 59, "type"); if (!dart.test(io._SocketProfile._enableSocketProfiling)) { return; } if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; - let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + let stats = (t178 = io._SocketProfile._idToSocketStatistic, t179 = id, t180 = t178[$_get](t179), t180 == null ? (t181 = new io._SocketStatistic.new(id), t178[$_set](t179, t181), t181) : t180); switch (type) { - case C[129] || CT.C129: - { - stats.startTime = developer.Timeline.now; - break; - } - case C[130] || CT.C130: - { - stats.endTime = developer.Timeline.now; - break; - } - case C[131] || CT.C131: - { - if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); - stats.address = dart.toString(io.InternetAddress.as(object)); - break; - } - case C[132] || CT.C132: - { - if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); - stats.port = T$.intN().as(object); - break; - } - case C[133] || CT.C133: - { - if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); - stats.socketType = T$.StringN().as(object); - break; - } - case C[134] || CT.C134: - { - if (object == null) return; - t203$ = stats; - t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); - stats.lastReadTime = developer.Timeline.now; - break; - } - case C[135] || CT.C135: - { - if (object == null) return; - t203$0 = stats; - t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); - stats.lastWriteTime = developer.Timeline.now; - break; - } + case C[138] || CT.C138: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[139] || CT.C139: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[140] || CT.C140: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[121], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[141] || CT.C141: + { + if (!core.int.is(object)) dart.assertFailed(null, I[121], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[142] || CT.C142: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[121], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[143] || CT.C143: + { + if (object == null) return; + t178$ = stats; + t178$.readBytes = dart.notNull(t178$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[144] || CT.C144: + { + if (object == null) return; + t178$0 = stats; + t178$0.writeBytes = dart.notNull(t178$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } default: - { - dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); - } + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } } } static start() { @@ -52539,7 +56439,11 @@ io._SocketProfile = class _SocketProfile extends core.Object { }).prototype = io._SocketProfile.prototype; dart.addTypeTests(io._SocketProfile); dart.addTypeCaches(io._SocketProfile); -dart.setLibraryUri(io._SocketProfile, I[105]); +dart.setStaticMethodSignature(io._SocketProfile, () => ['toJson', 'collectNewSocket', 'collectStatistic', 'start', 'pause', 'clear']); +dart.setStaticGetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); +dart.setStaticSetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); +dart.setLibraryUri(io._SocketProfile, I[108]); +dart.setStaticFieldSignature(io._SocketProfile, () => ['_kType', '_enableSocketProfiling', '_idToSocketStatistic']); dart.defineLazy(io._SocketProfile, { /*io._SocketProfile._kType*/get _kType() { return "SocketProfile"; @@ -52547,43 +56451,105 @@ dart.defineLazy(io._SocketProfile, { /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { return false; }, - set _enableSocketProfiling(_) {}, + set _enableSocketProfiling(value) { + if (value == null) dart.nullFailed(I[121], 217, 15, "_enableSocketProfiling"); + }, /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); }, - set _idToSocketStatistic(_) {} + set _idToSocketStatistic(value) { + if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); + } }, false); -io._SocketProfileType = class _SocketProfileType extends core.Object { +var _name$4 = dart.privateName(core, "_name"); +var _enumToString = dart.privateName(core, "_enumToString"); +const index$0 = _Enum_index; +const _name$5 = _Enum__name; +core._Enum = class _Enum extends core.Object { + get index() { + return this[index$0]; + } + set index(value) { + super.index = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } toString() { - return this[_name$4]; + return this[_enumToString](); } }; -(io._SocketProfileType.new = function(index, _name) { - if (index == null) dart.nullFailed(I[119], 295, 6, "index"); - if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); - this.index = index; - this[_name$4] = _name; +(core._Enum.new = function(index, _name) { + if (index == null) dart.nullFailed(I[122], 103, 20, "index"); + if (_name == null) dart.nullFailed(I[122], 103, 32, "_name"); + this[index$0] = index; + this[_name$5] = _name; ; -}).prototype = io._SocketProfileType.prototype; -dart.addTypeTests(io._SocketProfileType); -dart.addTypeCaches(io._SocketProfileType); -dart.setLibraryUri(io._SocketProfileType, I[105]); -dart.setFieldSignature(io._SocketProfileType, () => ({ - __proto__: dart.getFields(io._SocketProfileType.__proto__), +}).prototype = core._Enum.prototype; +dart.addTypeTests(core._Enum); +dart.addTypeCaches(core._Enum); +core._Enum[dart.implements] = () => [core.Enum]; +dart.setLibraryUri(core._Enum, I[9]); +dart.setFieldSignature(core._Enum, () => ({ + __proto__: dart.getFields(core._Enum.__proto__), index: dart.finalFieldType(core.int), [_name$4]: dart.finalFieldType(core.String) })); -dart.defineExtensionMethods(io._SocketProfileType, ['toString']); -io._SocketProfileType.startTime = C[129] || CT.C129; -io._SocketProfileType.endTime = C[130] || CT.C130; -io._SocketProfileType.address = C[131] || CT.C131; -io._SocketProfileType.port = C[132] || CT.C132; -io._SocketProfileType.socketType = C[133] || CT.C133; -io._SocketProfileType.readBytes = C[134] || CT.C134; -io._SocketProfileType.writeBytes = C[135] || CT.C135; -io._SocketProfileType.values = C[136] || CT.C136; +dart.defineExtensionMethods(core._Enum, ['toString']); +io._SocketProfileType = class _SocketProfileType extends core._Enum { + [_enumToString]() { + return "_SocketProfileType." + dart.str(this[_name$4]); + } +}; +(io._SocketProfileType.new = function(index, name) { + if (index == null) dart.nullFailed(I[121], 295, 6, "#index"); + if (name == null) dart.nullFailed(I[121], 295, 6, "#name"); + io._SocketProfileType.__proto__.new.call(this, index, name); + ; +}).prototype = io._SocketProfileType.prototype; +dart.addTypeTests(io._SocketProfileType); +dart.addTypeCaches(io._SocketProfileType); +dart.setMethodSignature(io._SocketProfileType, () => ({ + __proto__: dart.getMethods(io._SocketProfileType.__proto__), + [_enumToString]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io._SocketProfileType, I[108]); +dart.setStaticFieldSignature(io._SocketProfileType, () => ['values', 'startTime', 'endTime', 'address', 'port', 'socketType', 'readBytes', 'writeBytes']); +dart.defineLazy(io._SocketProfileType, { + /*io._SocketProfileType.values*/get values() { + return C[145] || CT.C145; + }, + /*io._SocketProfileType.startTime*/get startTime() { + return C[138] || CT.C138; + }, + /*io._SocketProfileType.endTime*/get endTime() { + return C[139] || CT.C139; + }, + /*io._SocketProfileType.address*/get address() { + return C[140] || CT.C140; + }, + /*io._SocketProfileType.port*/get port() { + return C[141] || CT.C141; + }, + /*io._SocketProfileType.socketType*/get socketType() { + return C[142] || CT.C142; + }, + /*io._SocketProfileType.readBytes*/get readBytes() { + return C[143] || CT.C143; + }, + /*io._SocketProfileType.writeBytes*/get writeBytes() { + return C[144] || CT.C144; + } +}, false); var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); io._SocketStatistic = class _SocketStatistic extends core.Object { + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); + return new io._SocketStatistic.new(id); + } toMap() { let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); this[_setIfNotNull](map, "startTime", this.startTime); @@ -52598,14 +56564,14 @@ io._SocketStatistic = class _SocketStatistic extends core.Object { return map; } [_setIfNotNull](json, key, value) { - if (json == null) dart.nullFailed(I[119], 336, 43, "json"); - if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (json == null) dart.nullFailed(I[121], 336, 43, "json"); + if (key == null) dart.nullFailed(I[121], 336, 56, "key"); if (value == null) return; json[$_set](key, value); } }; (io._SocketStatistic.new = function(id) { - if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); this.startTime = null; this.endTime = null; this.address = null; @@ -52625,7 +56591,7 @@ dart.setMethodSignature(io._SocketStatistic, () => ({ toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._SocketStatistic, I[105]); +dart.setLibraryUri(io._SocketStatistic, I[108]); dart.setFieldSignature(io._SocketStatistic, () => ({ __proto__: dart.getFields(io._SocketStatistic.__proto__), id: dart.finalFieldType(core.int), @@ -52641,14 +56607,14 @@ dart.setFieldSignature(io._SocketStatistic, () => ({ })); io.IOOverrides = class IOOverrides extends core.Object { static get current() { - let t203; - return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + let t180; + return T$0.IOOverridesN().as((t180 = async.Zone.current._get(io._ioOverridesToken), t180 == null ? io.IOOverrides._global : t180)); } static set global(overrides) { io.IOOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + if (body == null) dart.nullFailed(I[123], 54, 26, "body"); let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; @@ -52666,94 +56632,110 @@ io.IOOverrides = class IOOverrides extends core.Object { let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; - let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + let stdin = opts && 'stdin' in opts ? opts.stdin : null; + let stdout = opts && 'stdout' in opts ? opts.stdout : null; + let stderr = opts && 'stderr' in opts ? opts.stderr : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind, stdin, stdout, stderr); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } static runWithIOOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[120], 135, 36, "body"); - if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + if (body == null) dart.nullFailed(I[123], 145, 36, "body"); + if (overrides == null) dart.nullFailed(I[123], 145, 56, "overrides"); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + if (path == null) dart.nullFailed(I[123], 155, 36, "path"); return new io._Directory.new(path); } getCurrentDirectory() { return io._Directory.current; } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + if (path == null) dart.nullFailed(I[123], 167, 35, "path"); io._Directory.current = path; } getSystemTempDirectory() { return io._Directory.systemTemp; } createFile(path) { - if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + if (path == null) dart.nullFailed(I[123], 183, 26, "path"); return new io._File.new(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + if (path == null) dart.nullFailed(I[123], 191, 32, "path"); return io.FileStat._stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + if (path == null) dart.nullFailed(I[123], 199, 28, "path"); return io.FileStat._statSyncInternal(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 210, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 210, 50, "path2"); return io.FileSystemEntity._identical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 219, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 219, 46, "path2"); return io.FileSystemEntity._identicalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 217, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 227, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 227, 61, "followLinks"); return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 226, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 236, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 236, 57, "followLinks"); return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 237, 42, "path"); - if (events == null) dart.nullFailed(I[120], 237, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 247, 42, "path"); + if (events == null) dart.nullFailed(I[123], 247, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 247, 65, "recursive"); return io._FileSystemWatcher._watch(path, events, recursive); } fsWatchIsSupported() { return io._FileSystemWatcher.isSupported; } createLink(path) { - if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + if (path == null) dart.nullFailed(I[123], 263, 26, "path"); return new io._Link.new(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + if (port == null) dart.nullFailed(I[123], 271, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 272, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + if (port == null) dart.nullFailed(I[123], 282, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 283, 27, "sourcePort"); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + if (port == null) dart.nullFailed(I[123], 295, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 296, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 296, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 296, 51, "shared"); return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + return io._stdin; + } + get stdout() { + return io._stdout; + } + get stderr() { + return io._stderr; + } }; (io.IOOverrides.new = function() { ; @@ -52776,16 +56758,26 @@ dart.setMethodSignature(io.IOOverrides, () => ({ fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), fsWatchIsSupported: dart.fnType(core.bool, []), createLink: dart.fnType(io.Link, [core.String]), - socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), - socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}), serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) })); -dart.setLibraryUri(io.IOOverrides, I[105]); +dart.setStaticMethodSignature(io.IOOverrides, () => ['runZoned', 'runWithIOOverrides']); +dart.setGetterSignature(io.IOOverrides, () => ({ + __proto__: dart.getGetters(io.IOOverrides.__proto__), + stdin: io.Stdin, + stdout: io.Stdout, + stderr: io.Stdout +})); +dart.setStaticGetterSignature(io.IOOverrides, () => ['current']); +dart.setStaticSetterSignature(io.IOOverrides, () => ['global']); +dart.setLibraryUri(io.IOOverrides, I[108]); +dart.setStaticFieldSignature(io.IOOverrides, () => ['_global']); dart.defineLazy(io.IOOverrides, { /*io.IOOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$4 = dart.privateName(io, "_previous"); var _createDirectory$ = dart.privateName(io, "_createDirectory"); @@ -52805,9 +56797,15 @@ var _createLink$ = dart.privateName(io, "_createLink"); var _socketConnect$ = dart.privateName(io, "_socketConnect"); var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); +var _stdin$ = dart.privateName(io, "_stdin"); +var _stdout$ = dart.privateName(io, "_stdout"); +var _stderr$ = dart.privateName(io, "_stderr"); io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + static ['_#new#tearOff'](_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { + return new io._IOOverridesScope.new(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr); + } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (path == null) dart.nullFailed(I[123], 416, 36, "path"); if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); return super.createDirectory(path); @@ -52818,7 +56816,7 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.getCurrentDirectory(); } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (path == null) dart.nullFailed(I[123], 430, 35, "path"); if (this[_setCurrentDirectory$] != null) dart.nullCheck(this[_setCurrentDirectory$])(path); else if (this[_previous$4] != null) @@ -52832,55 +56830,55 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.getSystemTempDirectory(); } createFile(path) { - if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (path == null) dart.nullFailed(I[123], 448, 26, "path"); if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); return super.createFile(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (path == null) dart.nullFailed(I[123], 456, 32, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); return super.stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (path == null) dart.nullFailed(I[123], 463, 28, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); return super.statSync(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 471, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 471, 50, "path2"); if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); return super.fseIdentical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 478, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 478, 46, "path2"); if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); return super.fseIdenticalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 436, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 485, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 485, 61, "followLinks"); if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); return super.fseGetType(path, followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 443, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 492, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 492, 57, "followLinks"); if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); return super.fseGetTypeSync(path, followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 451, 42, "path"); - if (events == null) dart.nullFailed(I[120], 451, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 500, 42, "path"); + if (events == null) dart.nullFailed(I[123], 500, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 500, 65, "recursive"); if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); return super.fsWatch(path, events, recursive); @@ -52891,42 +56889,46 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.fsWatchIsSupported(); } createLink(path) { - if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (path == null) dart.nullFailed(I[123], 515, 26, "path"); if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); return super.createLink(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + if (port == null) dart.nullFailed(I[123], 523, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 524, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; if (this[_socketConnect$] != null) { return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + if (port == null) dart.nullFailed(I[123], 540, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 541, 27, "sourcePort"); if (this[_socketStartConnect$] != null) { - return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + if (port == null) dart.nullFailed(I[123], 557, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 558, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 558, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 558, 51, "shared"); if (this[_serverSocketBind$] != null) { return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } @@ -52935,8 +56937,23 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { } return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdin$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdin) : t180$); + return t180$0 == null ? super.stdin : t180$0; + } + get stdout() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdout$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdout) : t180$); + return t180$0 == null ? super.stdout : t180$0; + } + get stderr() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stderr$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stderr) : t180$); + return t180$0 == null ? super.stderr : t180$0; + } }; -(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { +(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { this[_previous$4] = io.IOOverrides.current; this[_createDirectory$] = _createDirectory; this[_getCurrentDirectory$] = _getCurrentDirectory; @@ -52955,11 +56972,14 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { this[_socketConnect$] = _socketConnect; this[_socketStartConnect$] = _socketStartConnect; this[_serverSocketBind$] = _serverSocketBind; + this[_stdin$] = _stdin; + this[_stdout$] = _stdout; + this[_stderr$] = _stderr; ; }).prototype = io._IOOverridesScope.prototype; dart.addTypeTests(io._IOOverridesScope); dart.addTypeCaches(io._IOOverridesScope); -dart.setLibraryUri(io._IOOverridesScope, I[105]); +dart.setLibraryUri(io._IOOverridesScope, I[108]); dart.setFieldSignature(io._IOOverridesScope, () => ({ __proto__: dart.getFields(io._IOOverridesScope.__proto__), [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), @@ -52977,9 +56997,12 @@ dart.setFieldSignature(io._IOOverridesScope, () => ({ [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), - [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), - [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), - [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))), + [_stdin$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdin, []))), + [_stdout$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))), + [_stderr$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))) })); io.Platform = class Platform extends core.Object { static get numberOfProcessors() { @@ -53015,22 +57038,24 @@ io.Platform = class Platform extends core.Object { static get executableArguments() { return io._Platform.executableArguments; } - static get packageRoot() { - return null; - } static get packageConfig() { return io._Platform.packageConfig; } static get version() { return io.Platform._version; } + static ['_#new#tearOff']() { + return new io.Platform.new(); + } }; (io.Platform.new = function() { ; }).prototype = io.Platform.prototype; dart.addTypeTests(io.Platform); dart.addTypeCaches(io.Platform); -dart.setLibraryUri(io.Platform, I[105]); +dart.setStaticGetterSignature(io.Platform, () => ['numberOfProcessors', 'pathSeparator', 'localeName', 'operatingSystem', 'operatingSystemVersion', 'localHostname', 'environment', 'executable', 'resolvedExecutable', 'script', 'executableArguments', 'packageConfig', 'version']); +dart.setLibraryUri(io.Platform, I[108]); +dart.setStaticFieldSignature(io.Platform, () => ['_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_version', 'isLinux', 'isMacOS', 'isWindows', 'isAndroid', 'isIOS', 'isFuchsia']); dart.defineLazy(io.Platform, { /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { return io._Platform.numberOfProcessors; @@ -53154,16 +57179,17 @@ io._Platform = class _Platform extends core.Object { static get environment() { if (io._Platform._environmentCache == null) { let env = io._Platform._environment(); - if (!io.OSError.is(env)) { + if (T$0.IterableOfObjectN().is(env)) { let isWindows = io._Platform.operatingSystem === "windows"; let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); - for (let str of core.Iterable.as(env)) { - if (str == null) { + for (let environmentEntry of env) { + if (environmentEntry == null) { continue; } - let equalsIndex = dart.dsend(str, 'indexOf', ["="]); - if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { - result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + let text = core.String.as(environmentEntry); + let equalsIndex = text[$indexOf]("="); + if (equalsIndex > 0) { + result[$_set](text[$substring](0, equalsIndex), text[$substring](equalsIndex + 1)); } } io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); @@ -53180,49 +57206,59 @@ io._Platform = class _Platform extends core.Object { static get version() { return io._Platform._version(); } + static ['_#new#tearOff']() { + return new io._Platform.new(); + } }; (io._Platform.new = function() { ; }).prototype = io._Platform.prototype; dart.addTypeTests(io._Platform); dart.addTypeCaches(io._Platform); -dart.setLibraryUri(io._Platform, I[105]); +dart.setStaticMethodSignature(io._Platform, () => ['_packageRoot', '_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_executable', '_resolvedExecutable', '_environment', '_executableArguments', '_packageConfig', '_version', '_localeName', '_script', 'localeName']); +dart.setStaticGetterSignature(io._Platform, () => ['numberOfProcessors', 'pathSeparator', 'operatingSystem', 'script', 'operatingSystemVersion', 'localHostname', 'executableArguments', 'environment', 'version']); +dart.setLibraryUri(io._Platform, I[108]); +dart.setStaticFieldSignature(io._Platform, () => ['executable', 'resolvedExecutable', 'packageConfig', '_localeClosure', '_environmentCache', '_cachedOSVersion']); dart.defineLazy(io._Platform, { /*io._Platform.executable*/get executable() { return core.String.as(io._Platform._executable()); }, - set executable(_) {}, + set executable(value) { + if (value == null) dart.nullFailed(I[124], 36, 17, "executable"); + }, /*io._Platform.resolvedExecutable*/get resolvedExecutable() { return core.String.as(io._Platform._resolvedExecutable()); }, - set resolvedExecutable(_) {}, + set resolvedExecutable(value) { + if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); + }, /*io._Platform.packageConfig*/get packageConfig() { return io._Platform._packageConfig(); }, - set packageConfig(_) {}, + set packageConfig(value) {}, /*io._Platform._localeClosure*/get _localeClosure() { return null; }, - set _localeClosure(_) {}, + set _localeClosure(value) {}, /*io._Platform._environmentCache*/get _environmentCache() { return null; }, - set _environmentCache(_) {}, + set _environmentCache(value) {}, /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { return null; }, - set _cachedOSVersion(_) {} + set _cachedOSVersion(value) {} }, false); var _map$10 = dart.privateName(io, "_map"); const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); io._CaseInsensitiveStringMap$ = dart.generic(V => { - var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); - var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); - var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + var __t$LinkedMapOfString$V = () => (__t$LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$MapOfString$V = () => (__t$MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var __t$StringAndVTovoid = () => (__t$StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); + var __t$StringAndVToV = () => (__t$StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { containsKey(key) { return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); @@ -53236,29 +57272,29 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + if (key == null) dart.nullFailed(I[124], 134, 28, "key"); V.as(value); this[_map$10][$_set](key[$toUpperCase](), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 133, 24, "key"); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + if (key == null) dart.nullFailed(I[124], 138, 24, "key"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[124], 138, 31, "ifAbsent"); return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); } addAll(other) { - MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + __t$MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[124], 142, 30, "other"); other[$forEach](dart.fn((key, value) => { - let t204, t203; - if (key == null) dart.nullFailed(I[121], 138, 20, "key"); - t203 = key[$toUpperCase](); - t204 = value; - this._set(t203, t204); - return t204; - }, StringAndVTovoid())); + let t181, t180; + if (key == null) dart.nullFailed(I[124], 143, 20, "key"); + t180 = key[$toUpperCase](); + t181 = value; + this._set(t180, t181); + return t181; + }, __t$StringAndVTovoid())); } remove(key) { return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; @@ -53267,7 +57303,7 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { this[_map$10][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + if (f == null) dart.nullFailed(I[124], 153, 21, "f"); this[_map$10][$forEach](f); } get keys() { @@ -53289,33 +57325,36 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { return this[_map$10][$entries]; } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + if (transform == null) dart.nullFailed(I[124], 165, 44, "transform"); return this[_map$10][$map](K2, V2, transform); } update(key, update, opts) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 163, 19, "key"); - VToV().as(update); - if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + if (key == null) dart.nullFailed(I[124], 168, 19, "key"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[124], 168, 26, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); } updateAll(update) { - StringAndVToV().as(update); - if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + __t$StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[124], 171, 20, "update"); this[_map$10][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + if (test == null) dart.nullFailed(I[124], 175, 25, "test"); this[_map$10][$removeWhere](test); } toString() { return dart.toString(this[_map$10]); } + static ['_#new#tearOff'](V) { + return new (io._CaseInsensitiveStringMap$(V)).new(); + } } (_CaseInsensitiveStringMap.new = function() { - this[_map$10] = new (LinkedMapOfString$V()).new(); + this[_map$10] = new (__t$LinkedMapOfString$V()).new(); ; }).prototype = _CaseInsensitiveStringMap.prototype; dart.addTypeTests(_CaseInsensitiveStringMap); @@ -53339,7 +57378,7 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) @@ -53374,34 +57413,38 @@ io._CaseInsensitiveStringMap = io._CaseInsensitiveStringMap$(); dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); io._ProcessUtils = class _ProcessUtils extends core.Object { static _exit(status) { - if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + if (status == null) dart.nullFailed(I[110], 306, 26, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); } static _setExitCode(status) { - if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + if (status == null) dart.nullFailed(I[110], 311, 32, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); } static _getExitCode() { dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); } static _sleep(millis) { - if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + if (millis == null) dart.nullFailed(I[110], 321, 26, "millis"); dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); } static _pid(process) { dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); } static _watchSignal(signal) { - if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + if (signal == null) dart.nullFailed(I[110], 331, 59, "signal"); dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); } + static ['_#new#tearOff']() { + return new io._ProcessUtils.new(); + } }; (io._ProcessUtils.new = function() { ; }).prototype = io._ProcessUtils.prototype; dart.addTypeTests(io._ProcessUtils); dart.addTypeCaches(io._ProcessUtils); -dart.setLibraryUri(io._ProcessUtils, I[105]); +dart.setStaticMethodSignature(io._ProcessUtils, () => ['_exit', '_setExitCode', '_getExitCode', '_sleep', '_pid', '_watchSignal']); +dart.setLibraryUri(io._ProcessUtils, I[108]); io.ProcessInfo = class ProcessInfo extends core.Object { static get currentRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); @@ -53409,13 +57452,17 @@ io.ProcessInfo = class ProcessInfo extends core.Object { static get maxRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); } + static ['_#new#tearOff']() { + return new io.ProcessInfo.new(); + } }; (io.ProcessInfo.new = function() { ; }).prototype = io.ProcessInfo.prototype; dart.addTypeTests(io.ProcessInfo); dart.addTypeCaches(io.ProcessInfo); -dart.setLibraryUri(io.ProcessInfo, I[105]); +dart.setStaticGetterSignature(io.ProcessInfo, () => ['currentRss', 'maxRss']); +dart.setLibraryUri(io.ProcessInfo, I[108]); var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); io.ProcessStartMode = class ProcessStartMode extends core.Object { get [_mode]() { @@ -53425,100 +57472,90 @@ io.ProcessStartMode = class ProcessStartMode extends core.Object { super[_mode] = value; } static get values() { - return C[137] || CT.C137; + return C[146] || CT.C146; } toString() { - return (C[142] || CT.C142)[$_get](this[_mode]); + return (C[151] || CT.C151)[$_get](this[_mode]); + } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); + return new io.ProcessStartMode._internal(_mode); } }; (io.ProcessStartMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); this[_mode$0] = _mode; ; }).prototype = io.ProcessStartMode.prototype; dart.addTypeTests(io.ProcessStartMode); dart.addTypeCaches(io.ProcessStartMode); -dart.setLibraryUri(io.ProcessStartMode, I[105]); +dart.setStaticGetterSignature(io.ProcessStartMode, () => ['values']); +dart.setLibraryUri(io.ProcessStartMode, I[108]); dart.setFieldSignature(io.ProcessStartMode, () => ({ __proto__: dart.getFields(io.ProcessStartMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.ProcessStartMode, () => ['normal', 'inheritStdio', 'detached', 'detachedWithStdio']); dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); dart.defineLazy(io.ProcessStartMode, { /*io.ProcessStartMode.normal*/get normal() { - return C[138] || CT.C138; - }, - /*io.ProcessStartMode.NORMAL*/get NORMAL() { - return C[138] || CT.C138; + return C[147] || CT.C147; }, /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[139] || CT.C139; - }, - /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { - return C[139] || CT.C139; + return C[148] || CT.C148; }, /*io.ProcessStartMode.detached*/get detached() { - return C[140] || CT.C140; - }, - /*io.ProcessStartMode.DETACHED*/get DETACHED() { - return C[140] || CT.C140; + return C[149] || CT.C149; }, /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - return C[141] || CT.C141; - }, - /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { - return C[141] || CT.C141; + return C[150] || CT.C150; } }, false); var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); io.Process = class Process extends core.Object { static start(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 352, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 355, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); - let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; - if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + if (runInShell == null) dart.nullFailed(I[110], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[147] || CT.C147; + if (mode == null) dart.nullFailed(I[110], 357, 24, "mode"); dart.throw(new core.UnsupportedError.new("Process.start")); } static run(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + if (executable == null) dart.nullFailed(I[110], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 362, 68, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 365, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.run")); } static runSync(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 373, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 376, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.runSync")); } - static killPid(pid, signal = C[144] || CT.C144) { - if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); - if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + static killPid(pid, signal = C[153] || CT.C153) { + if (pid == null) dart.nullFailed(I[110], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[110], 384, 47, "signal"); dart.throw(new core.UnsupportedError.new("Process.killPid")); } }; @@ -53527,7 +57564,8 @@ io.Process = class Process extends core.Object { }).prototype = io.Process.prototype; dart.addTypeTests(io.Process); dart.addTypeCaches(io.Process); -dart.setLibraryUri(io.Process, I[105]); +dart.setStaticMethodSignature(io.Process, () => ['start', 'run', 'runSync', 'killPid']); +dart.setLibraryUri(io.Process, I[108]); var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); var stdout$ = dart.privateName(io, "ProcessResult.stdout"); var stderr$ = dart.privateName(io, "ProcessResult.stderr"); @@ -53557,10 +57595,15 @@ io.ProcessResult = class ProcessResult extends core.Object { set pid(value) { super.pid = value; } + static ['_#new#tearOff'](pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); + return new io.ProcessResult.new(pid, exitCode, stdout, stderr); + } }; (io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { - if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); this[pid$] = pid; this[exitCode$] = exitCode; this[stdout$] = stdout; @@ -53569,7 +57612,7 @@ io.ProcessResult = class ProcessResult extends core.Object { }).prototype = io.ProcessResult.prototype; dart.addTypeTests(io.ProcessResult); dart.addTypeCaches(io.ProcessResult); -dart.setLibraryUri(io.ProcessResult, I[105]); +dart.setLibraryUri(io.ProcessResult, I[108]); dart.setFieldSignature(io.ProcessResult, () => ({ __proto__: dart.getFields(io.ProcessResult.__proto__), exitCode: dart.finalFieldType(core.int), @@ -53578,8 +57621,9 @@ dart.setFieldSignature(io.ProcessResult, () => ({ pid: dart.finalFieldType(core.int) })); var _signalNumber = dart.privateName(io, "_signalNumber"); +var _name$6 = dart.privateName(io, "_name"); const _signalNumber$ = ProcessSignal__signalNumber; -const _name$5 = ProcessSignal__name; +const _name$7 = ProcessSignal__name; io.ProcessSignal = class ProcessSignal extends core.Object { get [_signalNumber]() { return this[_signalNumber$]; @@ -53587,24 +57631,29 @@ io.ProcessSignal = class ProcessSignal extends core.Object { set [_signalNumber](value) { super[_signalNumber] = value; } - get [_name$4]() { - return this[_name$5]; + get [_name$6]() { + return this[_name$7]; } - set [_name$4](value) { - super[_name$4] = value; + set [_name$6](value) { + super[_name$6] = value; + } + static ['_#_#tearOff'](_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); + return new io.ProcessSignal.__(_signalNumber, _name); } toString() { - return this[_name$4]; + return this[_name$6]; } watch() { return io._ProcessUtils._watchSignal(this); } }; (io.ProcessSignal.__ = function(_signalNumber, _name) { - if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); - if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); this[_signalNumber$] = _signalNumber; - this[_name$5] = _name; + this[_name$7] = _name; ; }).prototype = io.ProcessSignal.prototype; dart.addTypeTests(io.ProcessSignal); @@ -53613,187 +57662,101 @@ dart.setMethodSignature(io.ProcessSignal, () => ({ __proto__: dart.getMethods(io.ProcessSignal.__proto__), watch: dart.fnType(async.Stream$(io.ProcessSignal), []) })); -dart.setLibraryUri(io.ProcessSignal, I[105]); +dart.setLibraryUri(io.ProcessSignal, I[108]); dart.setFieldSignature(io.ProcessSignal, () => ({ __proto__: dart.getFields(io.ProcessSignal.__proto__), [_signalNumber]: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) + [_name$6]: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(io.ProcessSignal, () => ['sighup', 'sigint', 'sigquit', 'sigill', 'sigtrap', 'sigabrt', 'sigbus', 'sigfpe', 'sigkill', 'sigusr1', 'sigsegv', 'sigusr2', 'sigpipe', 'sigalrm', 'sigterm', 'sigchld', 'sigcont', 'sigstop', 'sigtstp', 'sigttin', 'sigttou', 'sigurg', 'sigxcpu', 'sigxfsz', 'sigvtalrm', 'sigprof', 'sigwinch', 'sigpoll', 'sigsys']); dart.defineExtensionMethods(io.ProcessSignal, ['toString']); dart.defineLazy(io.ProcessSignal, { /*io.ProcessSignal.sighup*/get sighup() { - return C[145] || CT.C145; + return C[154] || CT.C154; }, /*io.ProcessSignal.sigint*/get sigint() { - return C[146] || CT.C146; + return C[155] || CT.C155; }, /*io.ProcessSignal.sigquit*/get sigquit() { - return C[147] || CT.C147; + return C[156] || CT.C156; }, /*io.ProcessSignal.sigill*/get sigill() { - return C[148] || CT.C148; + return C[157] || CT.C157; }, /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[149] || CT.C149; + return C[158] || CT.C158; }, /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[150] || CT.C150; + return C[159] || CT.C159; }, /*io.ProcessSignal.sigbus*/get sigbus() { - return C[151] || CT.C151; + return C[160] || CT.C160; }, /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[152] || CT.C152; + return C[161] || CT.C161; }, /*io.ProcessSignal.sigkill*/get sigkill() { - return C[153] || CT.C153; + return C[162] || CT.C162; }, /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[154] || CT.C154; + return C[163] || CT.C163; }, /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[155] || CT.C155; + return C[164] || CT.C164; }, /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[156] || CT.C156; + return C[165] || CT.C165; }, /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[157] || CT.C157; + return C[166] || CT.C166; }, /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[158] || CT.C158; + return C[167] || CT.C167; }, /*io.ProcessSignal.sigterm*/get sigterm() { - return C[144] || CT.C144; + return C[153] || CT.C153; }, /*io.ProcessSignal.sigchld*/get sigchld() { - return C[159] || CT.C159; + return C[168] || CT.C168; }, /*io.ProcessSignal.sigcont*/get sigcont() { - return C[160] || CT.C160; + return C[169] || CT.C169; }, /*io.ProcessSignal.sigstop*/get sigstop() { - return C[161] || CT.C161; + return C[170] || CT.C170; }, /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[162] || CT.C162; + return C[171] || CT.C171; }, /*io.ProcessSignal.sigttin*/get sigttin() { - return C[163] || CT.C163; + return C[172] || CT.C172; }, /*io.ProcessSignal.sigttou*/get sigttou() { - return C[164] || CT.C164; + return C[173] || CT.C173; }, /*io.ProcessSignal.sigurg*/get sigurg() { - return C[165] || CT.C165; + return C[174] || CT.C174; }, /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[166] || CT.C166; + return C[175] || CT.C175; }, /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[167] || CT.C167; + return C[176] || CT.C176; }, /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[168] || CT.C168; + return C[177] || CT.C177; }, /*io.ProcessSignal.sigprof*/get sigprof() { - return C[169] || CT.C169; + return C[178] || CT.C178; }, /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[170] || CT.C170; + return C[179] || CT.C179; }, /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[171] || CT.C171; + return C[180] || CT.C180; }, /*io.ProcessSignal.sigsys*/get sigsys() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.SIGHUP*/get SIGHUP() { - return C[145] || CT.C145; - }, - /*io.ProcessSignal.SIGINT*/get SIGINT() { - return C[146] || CT.C146; - }, - /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { - return C[147] || CT.C147; - }, - /*io.ProcessSignal.SIGILL*/get SIGILL() { - return C[148] || CT.C148; - }, - /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { - return C[149] || CT.C149; - }, - /*io.ProcessSignal.SIGABRT*/get SIGABRT() { - return C[150] || CT.C150; - }, - /*io.ProcessSignal.SIGBUS*/get SIGBUS() { - return C[151] || CT.C151; - }, - /*io.ProcessSignal.SIGFPE*/get SIGFPE() { - return C[152] || CT.C152; - }, - /*io.ProcessSignal.SIGKILL*/get SIGKILL() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { - return C[154] || CT.C154; - }, - /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.SIGALRM*/get SIGALRM() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.SIGTERM*/get SIGTERM() { - return C[144] || CT.C144; - }, - /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.SIGCONT*/get SIGCONT() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.SIGURG*/get SIGURG() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.SIGPROF*/get SIGPROF() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.SIGSYS*/get SIGSYS() { - return C[172] || CT.C172; + return C[181] || CT.C181; } }, false); var message$4 = dart.privateName(io, "SignalException.message"); @@ -53811,6 +57774,10 @@ io.SignalException = class SignalException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); + return new io.SignalException.new(message, osError); + } toString() { let msg = ""; if (this.osError != null) { @@ -53820,7 +57787,7 @@ io.SignalException = class SignalException extends core.Object { } }; (io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); this[message$4] = message; this[osError$0] = osError; ; @@ -53828,7 +57795,7 @@ io.SignalException = class SignalException extends core.Object { dart.addTypeTests(io.SignalException); dart.addTypeCaches(io.SignalException); io.SignalException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SignalException, I[105]); +dart.setLibraryUri(io.SignalException, I[108]); dart.setFieldSignature(io.SignalException, () => ({ __proto__: dart.getFields(io.SignalException.__proto__), message: dart.finalFieldType(core.String), @@ -53864,16 +57831,23 @@ io.ProcessException = class ProcessException extends core.Object { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); + return new io.ProcessException.new(executable, $arguments, message, errorCode); + } toString() { let args = this.arguments[$join](" "); return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); } }; (io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { - if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); - if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); - if (message == null) dart.nullFailed(I[122], 626, 13, "message"); - if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); this[executable$] = executable; this[$arguments$] = $arguments; this[message$5] = message; @@ -53883,7 +57857,7 @@ io.ProcessException = class ProcessException extends core.Object { dart.addTypeTests(io.ProcessException); dart.addTypeCaches(io.ProcessException); io.ProcessException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.ProcessException, I[105]); +dart.setLibraryUri(io.ProcessException, I[108]); dart.setFieldSignature(io.ProcessException, () => ({ __proto__: dart.getFields(io.ProcessException.__proto__), executable: dart.finalFieldType(core.String), @@ -53897,52 +57871,65 @@ var _owner = dart.privateName(io, "_owner"); var _onCancel$ = dart.privateName(io, "_onCancel"); var _detachRaw = dart.privateName(io, "_detachRaw"); io.SecureSocket = class SecureSocket extends core.Object { + static ['_#_#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 559, 42, "rawSocket"); + return io.SecureSocket.__(rawSocket); + } static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + if (port == null) dart.nullFailed(I[127], 54, 49, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[127], 66, 16, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + if (port == null) dart.nullFailed(I[127], 72, 70, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[127], 82, 16, "rawState"); let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[127], 84, 33, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + if (socket == null) dart.nullFailed(I[127], 141, 45, "socket"); let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 147, 55, "detachedRaw"); + return io.RawSecureSocket.secure(io.RawSocket.as(detachedRaw[$_get](0)), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), host: host, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 155, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + if (socket == null) dart.nullFailed(I[127], 179, 14, "socket"); let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 181, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 184, 55, "detachedRaw"); + return io.RawSecureSocket.secureServer(io.RawSocket.as(detachedRaw[$_get](0)), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 191, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } @@ -53952,23 +57939,28 @@ io.SecureSocket = class SecureSocket extends core.Object { dart.addTypeTests(io.SecureSocket); dart.addTypeCaches(io.SecureSocket); io.SecureSocket[dart.implements] = () => [io.Socket]; -dart.setLibraryUri(io.SecureSocket, I[105]); +dart.setStaticMethodSignature(io.SecureSocket, () => ['__', 'connect', 'startConnect', 'secure', 'secureServer']); +dart.setLibraryUri(io.SecureSocket, I[108]); io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static ['_#_#tearOff'](_socket) { + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); + return new io.SecureServerSocket.__(_socket); + } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + if (port == null) dart.nullFailed(I[126], 67, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 68, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 69, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 70, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 71, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 73, 12, "shared"); return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 81, 16, "serverSocket"); return new io.SecureServerSocket.__(serverSocket); }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53977,7 +57969,7 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[126], 86, 25, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } @@ -53989,7 +57981,7 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure } close() { return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); return this; }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53998,18 +57990,20 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure } }; (io.SecureServerSocket.__ = function(_socket) { - if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); this[_socket$] = _socket; io.SecureServerSocket.__proto__.new.call(this); ; }).prototype = io.SecureServerSocket.prototype; dart.addTypeTests(io.SecureServerSocket); dart.addTypeCaches(io.SecureServerSocket); +io.SecureServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.SecureSocket)]; dart.setMethodSignature(io.SecureServerSocket, () => ({ __proto__: dart.getMethods(io.SecureServerSocket.__proto__), listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), close: dart.fnType(async.Future$(io.SecureServerSocket), []) })); +dart.setStaticMethodSignature(io.SecureServerSocket, () => ['bind']); dart.setGetterSignature(io.SecureServerSocket, () => ({ __proto__: dart.getGetters(io.SecureServerSocket.__proto__), port: core.int, @@ -54019,7 +58013,7 @@ dart.setSetterSignature(io.SecureServerSocket, () => ({ __proto__: dart.getSetters(io.SecureServerSocket.__proto__), [_owner]: dart.dynamic })); -dart.setLibraryUri(io.SecureServerSocket, I[105]); +dart.setLibraryUri(io.SecureServerSocket, I[108]); dart.setFieldSignature(io.SecureServerSocket, () => ({ __proto__: dart.getFields(io.SecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) @@ -54036,50 +58030,53 @@ var _onPauseStateChange = dart.privateName(io, "_onPauseStateChange"); var _onData$0 = dart.privateName(io, "_onData"); io.RawSecureSocket = class RawSecureSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + if (port == null) dart.nullFailed(I[127], 273, 52, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; io._RawSecureSocket._verifyFields(host, port, false, false); return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); - return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (socket == null) dart.nullFailed(I[127], 280, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + if (port == null) dart.nullFailed(I[127], 292, 73, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + if (rawState == null) dart.nullFailed(I[127], 298, 42, "rawState"); let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); - return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (rawSocket == null) dart.nullFailed(I[127], 299, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + if (socket == null) dart.nullFailed(I[127], 362, 51, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; - return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + if (socket == null) dart.nullFailed(I[127], 403, 17, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 406, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 407, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; @@ -54092,7 +58089,8 @@ io.RawSecureSocket = class RawSecureSocket extends core.Object { dart.addTypeTests(io.RawSecureSocket); dart.addTypeCaches(io.RawSecureSocket); io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; -dart.setLibraryUri(io.RawSecureSocket, I[105]); +dart.setStaticMethodSignature(io.RawSecureSocket, () => ['connect', 'startConnect', 'secure', 'secureServer']); +dart.setLibraryUri(io.RawSecureSocket, I[108]); io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { get requestClientCertificate() { return this[requestClientCertificate$]; @@ -54113,29 +58111,35 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. super.supportedProtocols = value; } get [_controller]() { - let t203; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t180; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t203) { - if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); this[__RawSecureServerSocket__controller_isSet] = true; - this[__RawSecureServerSocket__controller] = t203; + this[__RawSecureServerSocket__controller] = _controller$35param; + } + static ['_#_#tearOff'](_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); + return new io.RawSecureServerSocket.__(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols); } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + if (port == null) dart.nullFailed(I[126], 187, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 188, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 189, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 190, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 191, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 193, 12, "shared"); return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 196, 16, "serverSocket"); return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); }, T$0.RawServerSocketToRawSecureServerSocket())); } @@ -54154,12 +58158,12 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. close() { this[_closed] = true; return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); return this; }, T$0.RawServerSocketToRawSecureServerSocket())); } [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); let remotePort = null; try { remotePort = connection.remotePort; @@ -54171,7 +58175,7 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. throw e$; } io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { - if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (secureConnection == null) dart.nullFailed(I[126], 239, 32, "secureConnection"); if (dart.test(this[_closed])) { secureConnection.close(); } else { @@ -54198,13 +58202,13 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. } } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } }; (io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { - if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); this[__RawSecureServerSocket__controller] = null; this[__RawSecureServerSocket__controller_isSet] = false; this[_subscription$] = null; @@ -54227,6 +58231,7 @@ dart.setMethodSignature(io.RawSecureServerSocket, () => ({ [_onPauseStateChange]: dart.fnType(dart.void, []), [_onSubscriptionStateChange]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(io.RawSecureServerSocket, () => ['bind']); dart.setGetterSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), [_controller]: async.StreamController$(io.RawSecureSocket), @@ -54238,7 +58243,7 @@ dart.setSetterSignature(io.RawSecureServerSocket, () => ({ [_controller]: async.StreamController$(io.RawSecureSocket), [_owner]: dart.dynamic })); -dart.setLibraryUri(io.RawSecureServerSocket, I[105]); +dart.setLibraryUri(io.RawSecureServerSocket, I[108]); dart.setFieldSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawServerSocket), @@ -54251,13 +58256,22 @@ dart.setFieldSignature(io.RawSecureServerSocket, () => ({ supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), [_closed]: dart.fieldType(core.bool) })); -io.X509Certificate = class X509Certificate extends core.Object {}; +io.X509Certificate = class X509Certificate extends core.Object { + static ['_#_#tearOff']() { + return io.X509Certificate.__(); + } +}; (io.X509Certificate[dart.mixinNew] = function() { }).prototype = io.X509Certificate.prototype; dart.addTypeTests(io.X509Certificate); dart.addTypeCaches(io.X509Certificate); -dart.setLibraryUri(io.X509Certificate, I[105]); -io._FilterStatus = class _FilterStatus extends core.Object {}; +dart.setStaticMethodSignature(io.X509Certificate, () => ['__']); +dart.setLibraryUri(io.X509Certificate, I[108]); +io._FilterStatus = class _FilterStatus extends core.Object { + static ['_#new#tearOff']() { + return new io._FilterStatus.new(); + } +}; (io._FilterStatus.new = function() { this.progress = false; this.readEmpty = true; @@ -54270,7 +58284,7 @@ io._FilterStatus = class _FilterStatus extends core.Object {}; }).prototype = io._FilterStatus.prototype; dart.addTypeTests(io._FilterStatus); dart.addTypeCaches(io._FilterStatus); -dart.setLibraryUri(io._FilterStatus, I[105]); +dart.setLibraryUri(io._FilterStatus, I[108]); dart.setFieldSignature(io._FilterStatus, () => ({ __proto__: dart.getFields(io._FilterStatus.__proto__), progress: dart.fieldType(core.bool), @@ -54281,6 +58295,13 @@ dart.setFieldSignature(io._FilterStatus, () => ({ readEncryptedNoLongerFull: dart.fieldType(core.bool), writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) })); +io._RawSocketBase = class _RawSocketBase extends core.Object {}; +(io._RawSocketBase.new = function() { + ; +}).prototype = io._RawSocketBase.prototype; +dart.addTypeTests(io._RawSocketBase); +dart.addTypeCaches(io._RawSocketBase); +dart.setLibraryUri(io._RawSocketBase, I[108]); var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); @@ -54307,6 +58328,7 @@ var _socketSubscription = dart.privateName(io, "_socketSubscription"); var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); var _reportError = dart.privateName(io, "_reportError"); var _doneHandler = dart.privateName(io, "_doneHandler"); +var _closedReadEventSent = dart.privateName(io, "_closedReadEventSent"); var _secureHandshake = dart.privateName(io, "_secureHandshake"); var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); @@ -54331,80 +58353,74 @@ io.RawSocketEvent = class RawSocketEvent extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); + return new io.RawSocketEvent.__(_value); + } toString() { - return (C[173] || CT.C173)[$_get](this[_value$0]); + return (C[182] || CT.C182)[$_get](this[_value$0]); } }; (io.RawSocketEvent.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); this[_value$] = _value; ; }).prototype = io.RawSocketEvent.prototype; dart.addTypeTests(io.RawSocketEvent); dart.addTypeCaches(io.RawSocketEvent); -dart.setLibraryUri(io.RawSocketEvent, I[105]); +dart.setLibraryUri(io.RawSocketEvent, I[108]); dart.setFieldSignature(io.RawSocketEvent, () => ({ __proto__: dart.getFields(io.RawSocketEvent.__proto__), [_value$0]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.RawSocketEvent, () => ['read', 'write', 'readClosed', 'closed']); dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); dart.defineLazy(io.RawSocketEvent, { /*io.RawSocketEvent.read*/get read() { - return C[174] || CT.C174; + return C[183] || CT.C183; }, /*io.RawSocketEvent.write*/get write() { - return C[175] || CT.C175; + return C[184] || CT.C184; }, /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[176] || CT.C176; + return C[185] || CT.C185; }, /*io.RawSocketEvent.closed*/get closed() { - return C[177] || CT.C177; - }, - /*io.RawSocketEvent.READ*/get READ() { - return C[174] || CT.C174; - }, - /*io.RawSocketEvent.WRITE*/get WRITE() { - return C[175] || CT.C175; - }, - /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { - return C[176] || CT.C176; - }, - /*io.RawSocketEvent.CLOSED*/get CLOSED() { - return C[177] || CT.C177; + return C[186] || CT.C186; } }, false); io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); return dart.notNull(identifier) >= 2; } get [_socketSubscription]() { - let t206; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + let t183; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); } - set [_socketSubscription](t206) { - if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + set [_socketSubscription](_socketSubscription$35param) { + if (_socketSubscription$35param == null) dart.nullFailed(I[127], 511, 49, "_socketSubscription#param"); if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); else { this[___RawSecureSocket__socketSubscription_isSet] = true; - this[___RawSecureSocket__socketSubscription] = t206; + this[___RawSecureSocket__socketSubscription] = _socketSubscription$35param; } } static connect(host, requestedPort, isServer, socket, opts) { - let t207; - if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); - if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let t183; + if (requestedPort == null) dart.nullFailed(I[127], 544, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 545, 12, "isServer"); + if (socket == null) dart.nullFailed(I[127], 546, 17, "socket"); let context = opts && 'context' in opts ? opts.context : null; let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 550, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 551, 12, "requireClientCertificate"); let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); if (io.InternetAddress.is(host)) host = host.host; @@ -54412,7 +58428,17 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE if (host != null) { address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); } - return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t183 = context, t183 == null ? io.SecurityContext.defaultContext : t183), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols)[_handshakeComplete].future; + } + static ['_#new#tearOff'](address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); + return new io._RawSecureSocket.new(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -54422,9 +58448,9 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { - if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (requestedPort == null) dart.nullFailed(I[127], 669, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 670, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 670, 43, "requireClientCertificate"); if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); } @@ -54445,7 +58471,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_socket$].remotePort; } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } available() { return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; @@ -54458,6 +58484,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); } [_close$]() { + let t183; this[_closedWrite] = true; this[_closedRead] = true; this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); @@ -54467,6 +58494,8 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE dart.nullCheck(this[_secureFilter]).destroy(); this[_secureFilter] = null; } + t183 = this.keyLogPort; + t183 == null ? null : t183.close(); if (this[_socketSubscription] != null) { this[_socketSubscription].cancel(); } @@ -54474,7 +58503,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_status] = 203; } shutdown(direction) { - if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (direction == null) dart.nullFailed(I[127], 729, 33, "direction"); if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { this[_closedWrite] = true; if (dart.test(this[_filterStatus].writeEmpty)) { @@ -54498,7 +58527,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_writeEventsEnabled]; } set writeEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + if (value == null) dart.nullFailed(I[127], 754, 36, "value"); this[_writeEventsEnabled] = value; if (dart.test(value)) { async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); @@ -54508,7 +58537,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_readEventsEnabled]; } set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + if (value == null) dart.nullFailed(I[127], 763, 35, "value"); this[_readEventsEnabled] = value; this[_scheduleReadEvent](); } @@ -54526,14 +58555,17 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_scheduleFilter](); return result; } + readMessage(count = null) { + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } static _fixOffset(offset) { - let t207; - t207 = offset; - return t207 == null ? 0 : t207; + let t183; + t183 = offset; + return t183 == null ? 0 : t183; } write(data, offset = 0, bytes = null) { - if (data == null) dart.nullFailed(I[124], 675, 23, "data"); - if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (data == null) dart.nullFailed(I[127], 791, 23, "data"); + if (offset == null) dart.nullFailed(I[127], 791, 34, "offset"); if (bytes != null && dart.notNull(bytes) < 0) { dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); } @@ -54554,6 +58586,12 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_scheduleFilter](); return written; } + sendMessage(controlMessages, data, offset = 0, count = null) { + if (controlMessages == null) dart.nullFailed(I[127], 818, 46, "controlMessages"); + if (data == null) dart.nullFailed(I[127], 818, 73, "data"); + if (offset == null) dart.nullFailed(I[127], 819, 12, "offset"); + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } get peerCertificate() { return dart.nullCheck(this[_secureFilter]).peerCertificate; } @@ -54561,25 +58599,25 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_selectedProtocol]; } [_onBadCertificateWrapper](certificate) { - if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (certificate == null) dart.nullFailed(I[127], 827, 49, "certificate"); if (this.onBadCertificate == null) return false; return dart.nullCheck(this.onBadCertificate)(certificate); } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[124], 711, 31, "option"); - if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + if (option == null) dart.nullFailed(I[127], 832, 31, "option"); + if (enabled == null) dart.nullFailed(I[127], 832, 44, "enabled"); return this[_socket$].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + if (option == null) dart.nullFailed(I[127], 836, 42, "option"); return this[_socket$].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + if (option == null) dart.nullFailed(I[127], 840, 37, "option"); this[_socket$].setRawOption(option); } [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + if (event == null) dart.nullFailed(I[127], 844, 40, "event"); try { if (dart.equals(event, io.RawSocketEvent.read)) { this[_readHandler](); @@ -54668,15 +58706,14 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE } renegotiate(opts) { let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + if (useSessionCache == null) dart.nullFailed(I[127], 932, 13, "useSessionCache"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 933, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 934, 12, "requireClientCertificate"); if (this[_status] !== 202) { dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); } - dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); this[_status] = 201; this[_filterStatus].writeEmpty = false; this[_scheduleFilter](); @@ -54792,7 +58829,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE }).bind(this)); } [_readSocketOrBufferedData](bytes) { - if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + if (bytes == null) dart.nullFailed(I[127], 1053, 44, "bytes"); let bufferedData = this[_bufferedData$]; if (bufferedData != null) { if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { @@ -54856,22 +58893,22 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE args[$_set](2 * i + 2, bufs[$_get](i).start); args[$_set](2 * i + 3, bufs[$_get](i).end); } - let response = (yield io._IOService._dispatch(42, args)); - if (dart.equals(dart.dload(response, 'length'), 2)) { + let response = T$.ListOfObjectN().as(yield io._IOService._dispatch(43, args)); + if (response[$length] === 2) { if (wasInHandshake) { - this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.HandshakeException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } else { - this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.TlsException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } } function start(index) { - if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + if (index == null) dart.nullFailed(I[127], 1154, 19, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index))); } dart.fn(start, T$0.intToint()); function end(index) { - if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + if (index == null) dart.nullFailed(I[127], 1155, 17, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index) + 1)); } dart.fn(end, T$0.intToint()); let status = new io._FilterStatus.new(); @@ -54918,20 +58955,21 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE }).bind(this)); } }; -(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { - let t205, t205$; - if (address == null) dart.nullFailed(I[124], 486, 12, "address"); - if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); - if (context == null) dart.nullFailed(I[124], 489, 12, "context"); - if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); +(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + let t181, t182; + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); this[___RawSecureSocket__socketSubscription] = null; this[___RawSecureSocket__socketSubscription_isSet] = false; this[_bufferedDataIndex] = 0; + this.keyLogPort = null; this[_status] = 201; this[_writeEventsEnabled] = true; this[_readEventsEnabled] = true; @@ -54956,18 +58994,37 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this.requestClientCertificate = requestClientCertificate; this.requireClientCertificate = requireClientCertificate; this.onBadCertificate = onBadCertificate; + this.keyLog = keyLog; io._RawSecureSocket.__proto__.new.call(this); - t205 = this[_controller]; + t181 = this[_controller]; (() => { - t205.onListen = dart.bind(this, _onSubscriptionStateChange); - t205.onPause = dart.bind(this, _onPauseStateChange); - t205.onResume = dart.bind(this, _onPauseStateChange); - t205.onCancel = dart.bind(this, _onSubscriptionStateChange); - return t205; + t181.onListen = dart.bind(this, _onSubscriptionStateChange); + t181.onPause = dart.bind(this, _onPauseStateChange); + t181.onResume = dart.bind(this, _onPauseStateChange); + t181.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t181; })(); let secureFilter = dart.nullCheck(this[_secureFilter]); secureFilter.init(); secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.keyLog != null) { + let port = new isolate$._ReceivePort.new(); + port.listen(dart.fn(line => { + try { + dart.nullCheck(this.keyLog)(dart.notNull(core.String.as(line)) + "\n"); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + io.stderr.writeln("Failure in keyLog callback:"); + io.stderr.writeln(s); + } else + throw e$; + } + }, T$.dynamicTovoid())); + secureFilter.registerKeyLogPort(port.sendPort); + this.keyLogPort = port; + } if (this.onBadCertificate != null) { secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); } @@ -54981,16 +59038,15 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_socket$].close(); dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); } - let s = this[_socket$]; - if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { this[_eventDispatcher](io.RawSocketEvent.readClosed); } - t205$ = this[_socketSubscription]; + t182 = this[_socketSubscription]; (() => { - t205$.onData(dart.bind(this, _eventDispatcher)); - t205$.onError(dart.bind(this, _reportError)); - t205$.onDone(dart.bind(this, _doneHandler)); - return t205$; + t182.onData(dart.bind(this, _eventDispatcher)); + t182.onError(dart.bind(this, _reportError)); + t182.onDone(dart.bind(this, _doneHandler)); + return t182; })(); } try { @@ -55018,7 +59074,9 @@ dart.setMethodSignature(io._RawSecureSocket, () => ({ [_close$]: dart.fnType(dart.void, []), shutdown: dart.fnType(dart.void, [io.SocketDirection]), read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + readMessage: dart.fnType(dart.nullable(io.SocketMessage), [], [dart.nullable(core.int)]), write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + sendMessage: dart.fnType(core.int, [core.List$(io.SocketControlMessage), core.List$(core.int)], [core.int, dart.nullable(core.int)]), [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), @@ -55044,6 +59102,7 @@ dart.setMethodSignature(io._RawSecureSocket, () => ({ [_sendWriteEvent]: dart.fnType(dart.dynamic, []), [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) })); +dart.setStaticMethodSignature(io._RawSecureSocket, () => ['_isBufferEncrypted', 'connect', '_verifyFields', '_fixOffset']); dart.setGetterSignature(io._RawSecureSocket, () => ({ __proto__: dart.getGetters(io._RawSecureSocket.__proto__), [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), @@ -55062,7 +59121,7 @@ dart.setSetterSignature(io._RawSecureSocket, () => ({ writeEventsEnabled: core.bool, readEventsEnabled: core.bool })); -dart.setLibraryUri(io._RawSecureSocket, I[105]); +dart.setLibraryUri(io._RawSecureSocket, I[108]); dart.setFieldSignature(io._RawSecureSocket, () => ({ __proto__: dart.getFields(io._RawSecureSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSocket), @@ -55078,6 +59137,8 @@ dart.setFieldSignature(io._RawSecureSocket, () => ({ requestClientCertificate: dart.finalFieldType(core.bool), requireClientCertificate: dart.finalFieldType(core.bool), onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + keyLog: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + keyLogPort: dart.fieldType(dart.nullable(isolate$.ReceivePort)), [_status]: dart.fieldType(core.int), [_writeEventsEnabled]: dart.fieldType(core.bool), [_readEventsEnabled]: dart.fieldType(core.bool), @@ -55095,6 +59156,7 @@ dart.setFieldSignature(io._RawSecureSocket, () => ({ [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(io._RawSecureSocket, () => ['handshakeStatus', 'connectedStatus', 'closedStatus', 'readPlaintextId', 'writePlaintextId', 'readEncryptedId', 'writeEncryptedId', 'bufferCount']); dart.defineLazy(io._RawSecureSocket, { /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { return 201; @@ -55122,24 +59184,28 @@ dart.defineLazy(io._RawSecureSocket, { } }, false); io._ExternalBuffer = class _ExternalBuffer extends core.Object { + static ['_#new#tearOff'](size) { + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); + return new io._ExternalBuffer.new(size); + } advanceStart(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); - if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + if (bytes == null) dart.nullFailed(I[127], 1232, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1233, 12, "start > end || start + bytes <= end"); this.start = dart.notNull(this.start) + dart.notNull(bytes); if (dart.notNull(this.start) >= dart.notNull(this.size)) { this.start = dart.notNull(this.start) - dart.notNull(this.size); - if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); - if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1237, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1238, 14, "start < size"); } } advanceEnd(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); - if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + if (bytes == null) dart.nullFailed(I[127], 1242, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[127], 1243, 12, "start <= end || start > end + bytes"); this.end = dart.notNull(this.end) + dart.notNull(bytes); if (dart.notNull(this.end) >= dart.notNull(this.size)) { this.end = dart.notNull(this.end) - dart.notNull(this.size); - if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); - if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[127], 1247, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1248, 14, "end < size"); } } get isEmpty() { @@ -55177,9 +59243,9 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return result; } write(inputData, offset, bytes) { - if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); - if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); - if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (inputData == null) dart.nullFailed(I[127], 1285, 23, "inputData"); + if (offset == null) dart.nullFailed(I[127], 1285, 38, "offset"); + if (bytes == null) dart.nullFailed(I[127], 1285, 50, "bytes"); if (dart.notNull(bytes) > dart.notNull(this.free)) { bytes = this.free; } @@ -55195,7 +59261,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return written; } writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); let written = 0; let toWrite = this.linearFree; while (dart.notNull(toWrite) > 0) { @@ -55210,7 +59276,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return written; } readToSocket(socket) { - if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); while (true) { let toWrite = this.linearLength; if (toWrite === 0) return false; @@ -55223,7 +59289,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { } }; (io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); this.data = null; this.size = size; this.start = (dart.notNull(size) / 2)[$truncate](); @@ -55249,7 +59315,7 @@ dart.setGetterSignature(io._ExternalBuffer, () => ({ free: core.int, linearFree: core.int })); -dart.setLibraryUri(io._ExternalBuffer, I[105]); +dart.setLibraryUri(io._ExternalBuffer, I[108]); dart.setFieldSignature(io._ExternalBuffer, () => ({ __proto__: dart.getFields(io._ExternalBuffer.__proto__), data: dart.fieldType(dart.nullable(core.List$(core.int))), @@ -55257,12 +59323,17 @@ dart.setFieldSignature(io._ExternalBuffer, () => ({ end: dart.fieldType(core.int), size: dart.finalFieldType(core.int) })); -io._SecureFilter = class _SecureFilter extends core.Object {}; +io._SecureFilter = class _SecureFilter extends core.Object { + static ['_#_#tearOff']() { + return io._SecureFilter.__(); + } +}; (io._SecureFilter[dart.mixinNew] = function() { }).prototype = io._SecureFilter.prototype; dart.addTypeTests(io._SecureFilter); dart.addTypeCaches(io._SecureFilter); -dart.setLibraryUri(io._SecureFilter, I[105]); +dart.setStaticMethodSignature(io._SecureFilter, () => ['__']); +dart.setLibraryUri(io._SecureFilter, I[108]); var type$3 = dart.privateName(io, "TlsException.type"); var message$6 = dart.privateName(io, "TlsException.message"); var osError$1 = dart.privateName(io, "TlsException.osError"); @@ -55285,6 +59356,15 @@ io.TlsException = class TlsException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); + return new io.TlsException.new(message, osError); + } + static ['_#_#tearOff'](type, message, osError) { + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); + return new io.TlsException.__(type, message, osError); + } toString() { let sb = new core.StringBuffer.new(); sb.write(this.type); @@ -55300,12 +59380,12 @@ io.TlsException = class TlsException extends core.Object { } }; (io.TlsException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); io.TlsException.__.call(this, "TlsException", message, osError); }).prototype = io.TlsException.prototype; (io.TlsException.__ = function(type, message, osError) { - if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); - if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); this[type$3] = type; this[message$6] = message; this[osError$1] = osError; @@ -55314,7 +59394,7 @@ io.TlsException = class TlsException extends core.Object { dart.addTypeTests(io.TlsException); dart.addTypeCaches(io.TlsException); io.TlsException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.TlsException, I[105]); +dart.setLibraryUri(io.TlsException, I[108]); dart.setFieldSignature(io.TlsException, () => ({ __proto__: dart.getFields(io.TlsException.__proto__), type: dart.finalFieldType(core.String), @@ -55322,30 +59402,45 @@ dart.setFieldSignature(io.TlsException, () => ({ osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.TlsException, ['toString']); -io.HandshakeException = class HandshakeException extends io.TlsException {}; +io.HandshakeException = class HandshakeException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); + return new io.HandshakeException.new(message, osError); + } +}; (io.HandshakeException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); ; }).prototype = io.HandshakeException.prototype; dart.addTypeTests(io.HandshakeException); dart.addTypeCaches(io.HandshakeException); -dart.setLibraryUri(io.HandshakeException, I[105]); -io.CertificateException = class CertificateException extends io.TlsException {}; +dart.setLibraryUri(io.HandshakeException, I[108]); +io.CertificateException = class CertificateException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); + return new io.CertificateException.new(message, osError); + } +}; (io.CertificateException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); ; }).prototype = io.CertificateException.prototype; dart.addTypeTests(io.CertificateException); dart.addTypeCaches(io.CertificateException); -dart.setLibraryUri(io.CertificateException, I[105]); +dart.setLibraryUri(io.CertificateException, I[108]); io.SecurityContext = class SecurityContext extends core.Object { static new(opts) { let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; - if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); } + static ['_#new#tearOff'](opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); + return io.SecurityContext.new({withTrustedRoots: withTrustedRoots}); + } static get defaultContext() { dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); } @@ -55353,7 +59448,7 @@ io.SecurityContext = class SecurityContext extends core.Object { dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); } static _protocolsToLengthEncoding(protocols) { - let t211, t211$; + let t187, t187$; if (protocols == null || protocols[$length] === 0) { return _native_typed_data.NativeUint8List.new(0); } @@ -55374,12 +59469,12 @@ io.SecurityContext = class SecurityContext extends core.Object { let bytesOffset = 0; for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { let proto = protocols[$_get](i); - bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + bytes[$_set]((t187 = bytesOffset, bytesOffset = t187 + 1, t187), proto.length); let bits = 0; for (let j = 0; j < proto.length; j = j + 1) { let char = proto[$codeUnitAt](j); bits = (bits | char) >>> 0; - bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + bytes[$_set]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); } if (bits > 127) { return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); @@ -55388,10 +59483,10 @@ io.SecurityContext = class SecurityContext extends core.Object { return bytes; } static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); function addProtocol(outBytes, protocol) { - if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); - if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + if (outBytes == null) dart.nullFailed(I[129], 244, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[129], 244, 49, "protocol"); let protocolBytes = convert.utf8.encode(protocol); let len = protocolBytes[$length]; if (dart.notNull(len) > 255) { @@ -55415,7 +59510,9 @@ io.SecurityContext = class SecurityContext extends core.Object { }).prototype = io.SecurityContext.prototype; dart.addTypeTests(io.SecurityContext); dart.addTypeCaches(io.SecurityContext); -dart.setLibraryUri(io.SecurityContext, I[105]); +dart.setStaticMethodSignature(io.SecurityContext, () => ['new', '_protocolsToLengthEncoding', '_protocolsToLengthEncodingNonAsciiBailout']); +dart.setStaticGetterSignature(io.SecurityContext, () => ['defaultContext', 'alpnSupported']); +dart.setLibraryUri(io.SecurityContext, I[108]); var __serviceId = dart.privateName(io, "__serviceId"); var _serviceId = dart.privateName(io, "_serviceId"); var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); @@ -55424,15 +59521,15 @@ var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); var _serviceType = dart.privateName(io, "_serviceType"); io._ServiceObject = class _ServiceObject extends core.Object { get [_serviceId]() { - let t211; - if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + let t187; + if (this[__serviceId] === 0) this[__serviceId] = (t187 = io._nextServiceId, io._nextServiceId = dart.notNull(t187) + 1, t187); return this[__serviceId]; } get [_servicePath]() { return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); } [_serviceType](ref) { - if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (ref == null) dart.nullFailed(I[130], 23, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); return this[_serviceTypeName]; } @@ -55452,7 +59549,7 @@ dart.setGetterSignature(io._ServiceObject, () => ({ [_serviceId]: core.int, [_servicePath]: core.String })); -dart.setLibraryUri(io._ServiceObject, I[105]); +dart.setLibraryUri(io._ServiceObject, I[108]); dart.setFieldSignature(io._ServiceObject, () => ({ __proto__: dart.getFields(io._ServiceObject.__proto__), [__serviceId]: dart.fieldType(core.int) @@ -55465,108 +59562,107 @@ io.InternetAddressType = class InternetAddressType extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); + return new io.InternetAddressType.__(_value); + } static _from(value) { - if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); } + static ['_#_from#tearOff'](value) { + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); + return io.InternetAddressType._from(value); + } get name() { - return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + return (C[187] || CT.C187)[$_get](dart.notNull(this[_value$0]) + 1); } toString() { return "InternetAddressType: " + dart.str(this.name); } }; (io.InternetAddressType.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); this[_value$1] = _value; ; }).prototype = io.InternetAddressType.prototype; dart.addTypeTests(io.InternetAddressType); dart.addTypeCaches(io.InternetAddressType); +dart.setStaticMethodSignature(io.InternetAddressType, () => ['_from']); dart.setGetterSignature(io.InternetAddressType, () => ({ __proto__: dart.getGetters(io.InternetAddressType.__proto__), name: core.String })); -dart.setLibraryUri(io.InternetAddressType, I[105]); +dart.setLibraryUri(io.InternetAddressType, I[108]); dart.setFieldSignature(io.InternetAddressType, () => ({ __proto__: dart.getFields(io.InternetAddressType.__proto__), [_value$0]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.InternetAddressType, () => ['IPv4', 'IPv6', 'unix', 'any']); dart.defineExtensionMethods(io.InternetAddressType, ['toString']); dart.defineLazy(io.InternetAddressType, { /*io.InternetAddressType.IPv4*/get IPv4() { - return C[179] || CT.C179; + return C[188] || CT.C188; }, /*io.InternetAddressType.IPv6*/get IPv6() { - return C[180] || CT.C180; + return C[189] || CT.C189; }, /*io.InternetAddressType.unix*/get unix() { - return C[181] || CT.C181; + return C[190] || CT.C190; }, /*io.InternetAddressType.any*/get any() { - return C[182] || CT.C182; - }, - /*io.InternetAddressType.IP_V4*/get IP_V4() { - return C[179] || CT.C179; - }, - /*io.InternetAddressType.IP_V6*/get IP_V6() { - return C[180] || CT.C180; - }, - /*io.InternetAddressType.ANY*/get ANY() { - return C[182] || CT.C182; + return C[191] || CT.C191; } }, false); io.InternetAddress = class InternetAddress extends core.Object { static get loopbackIPv4() { - return io.InternetAddress.LOOPBACK_IP_V4; - } - static get LOOPBACK_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); } static get loopbackIPv6() { - return io.InternetAddress.LOOPBACK_IP_V6; - } - static get LOOPBACK_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); } static get anyIPv4() { - return io.InternetAddress.ANY_IP_V4; - } - static get ANY_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); } static get anyIPv6() { - return io.InternetAddress.ANY_IP_V6; - } - static get ANY_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); } static new(address, opts) { - if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress")); } + static ['_#new#tearOff'](address, opts) { + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.new(address, {type: type}); + } static fromRawAddress(rawAddress, opts) { - if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); } + static ['_#fromRawAddress#tearOff'](rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.fromRawAddress(rawAddress, {type: type}); + } static lookup(host, opts) { - if (host == null) dart.nullFailed(I[107], 423, 54, "host"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + if (host == null) dart.nullFailed(I[110], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 424, 28, "type"); dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); } static _cloneWithNewHost(address, host) { - if (address == null) dart.nullFailed(I[107], 430, 23, "address"); - if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + if (address == null) dart.nullFailed(I[110], 430, 23, "address"); + if (host == null) dart.nullFailed(I[110], 430, 39, "host"); dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); } static tryParse(address) { - if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + if (address == null) dart.nullFailed(I[110], 435, 43, "address"); dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); } }; @@ -55574,18 +59670,20 @@ io.InternetAddress = class InternetAddress extends core.Object { }).prototype = io.InternetAddress.prototype; dart.addTypeTests(io.InternetAddress); dart.addTypeCaches(io.InternetAddress); -dart.setLibraryUri(io.InternetAddress, I[105]); +dart.setStaticMethodSignature(io.InternetAddress, () => ['new', 'fromRawAddress', 'lookup', '_cloneWithNewHost', 'tryParse']); +dart.setStaticGetterSignature(io.InternetAddress, () => ['loopbackIPv4', 'loopbackIPv6', 'anyIPv4', 'anyIPv6']); +dart.setLibraryUri(io.InternetAddress, I[108]); io.NetworkInterface = class NetworkInterface extends core.Object { static get listSupported() { dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); } static list(opts) { let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; - if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + if (includeLoopback == null) dart.nullFailed(I[110], 449, 13, "includeLoopback"); let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + if (includeLinkLocal == null) dart.nullFailed(I[110], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 451, 27, "type"); dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); } }; @@ -55594,16 +59692,18 @@ io.NetworkInterface = class NetworkInterface extends core.Object { }).prototype = io.NetworkInterface.prototype; dart.addTypeTests(io.NetworkInterface); dart.addTypeCaches(io.NetworkInterface); -dart.setLibraryUri(io.NetworkInterface, I[105]); +dart.setStaticMethodSignature(io.NetworkInterface, () => ['list']); +dart.setStaticGetterSignature(io.NetworkInterface, () => ['listSupported']); +dart.setLibraryUri(io.NetworkInterface, I[108]); io.RawServerSocket = class RawServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + if (port == null) dart.nullFailed(I[110], 459, 52, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 460, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 460, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); } }; @@ -55614,16 +59714,17 @@ io.RawServerSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.RawServerSocket); dart.addTypeCaches(io.RawServerSocket); io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; -dart.setLibraryUri(io.RawServerSocket, I[105]); +dart.setStaticMethodSignature(io.RawServerSocket, () => ['bind']); +dart.setLibraryUri(io.RawServerSocket, I[108]); io.ServerSocket = class ServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + if (port == null) dart.nullFailed(I[128], 303, 49, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[128], 304, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[128], 304, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + if (shared == null) dart.nullFailed(I[128], 304, 51, "shared"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); @@ -55631,24 +59732,24 @@ io.ServerSocket = class ServerSocket extends core.Object { return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } static _bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + if (port == null) dart.nullFailed(I[110], 468, 50, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 469, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 469, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 469, 51, "shared"); dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); } }; (io.ServerSocket.new = function() { ; }).prototype = io.ServerSocket.prototype; -io.ServerSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.ServerSocket); dart.addTypeCaches(io.ServerSocket); -io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; -dart.setLibraryUri(io.ServerSocket, I[105]); +io.ServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.Socket)]; +dart.setStaticMethodSignature(io.ServerSocket, () => ['bind', '_bind']); +dart.setLibraryUri(io.ServerSocket, I[108]); var _value$2 = dart.privateName(io, "SocketDirection._value"); io.SocketDirection = class SocketDirection extends core.Object { get [_value$0]() { @@ -55657,6 +59758,9 @@ io.SocketDirection = class SocketDirection extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketDirection.__(_value); + } }; (io.SocketDirection.__ = function(_value) { this[_value$2] = _value; @@ -55664,29 +59768,21 @@ io.SocketDirection = class SocketDirection extends core.Object { }).prototype = io.SocketDirection.prototype; dart.addTypeTests(io.SocketDirection); dart.addTypeCaches(io.SocketDirection); -dart.setLibraryUri(io.SocketDirection, I[105]); +dart.setLibraryUri(io.SocketDirection, I[108]); dart.setFieldSignature(io.SocketDirection, () => ({ __proto__: dart.getFields(io.SocketDirection.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(io.SocketDirection, () => ['receive', 'send', 'both']); dart.defineLazy(io.SocketDirection, { /*io.SocketDirection.receive*/get receive() { - return C[183] || CT.C183; + return C[192] || CT.C192; }, /*io.SocketDirection.send*/get send() { - return C[184] || CT.C184; + return C[193] || CT.C193; }, /*io.SocketDirection.both*/get both() { - return C[185] || CT.C185; - }, - /*io.SocketDirection.RECEIVE*/get RECEIVE() { - return C[183] || CT.C183; - }, - /*io.SocketDirection.SEND*/get SEND() { - return C[184] || CT.C184; - }, - /*io.SocketDirection.BOTH*/get BOTH() { - return C[185] || CT.C185; + return C[194] || CT.C194; } }, false); var _value$3 = dart.privateName(io, "SocketOption._value"); @@ -55697,6 +59793,9 @@ io.SocketOption = class SocketOption extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketOption.__(_value); + } }; (io.SocketOption.__ = function(_value) { this[_value$3] = _value; @@ -55704,60 +59803,74 @@ io.SocketOption = class SocketOption extends core.Object { }).prototype = io.SocketOption.prototype; dart.addTypeTests(io.SocketOption); dart.addTypeCaches(io.SocketOption); -dart.setLibraryUri(io.SocketOption, I[105]); +dart.setLibraryUri(io.SocketOption, I[108]); dart.setFieldSignature(io.SocketOption, () => ({ __proto__: dart.getFields(io.SocketOption.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(io.SocketOption, () => ['tcpNoDelay', '_ipMulticastLoop', '_ipMulticastHops', '_ipMulticastIf', '_ipBroadcast']); dart.defineLazy(io.SocketOption, { /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { - return C[186] || CT.C186; - }, - /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { - return C[186] || CT.C186; + return C[195] || CT.C195; }, /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[187] || CT.C187; + return C[196] || CT.C196; }, /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[188] || CT.C188; + return C[197] || CT.C197; }, /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[189] || CT.C189; + return C[198] || CT.C198; }, /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[190] || CT.C190; + return C[199] || CT.C199; } }, false); -io._RawSocketOptions = class _RawSocketOptions extends core.Object { - toString() { - return this[_name$4]; +io._RawSocketOptions = class _RawSocketOptions extends core._Enum { + [_enumToString]() { + return "_RawSocketOptions." + dart.str(this[_name$4]); } }; -(io._RawSocketOptions.new = function(index, _name) { - if (index == null) dart.nullFailed(I[125], 390, 6, "index"); - if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); - this.index = index; - this[_name$4] = _name; +(io._RawSocketOptions.new = function(index, name) { + if (index == null) dart.nullFailed(I[128], 366, 6, "#index"); + if (name == null) dart.nullFailed(I[128], 366, 6, "#name"); + io._RawSocketOptions.__proto__.new.call(this, index, name); ; }).prototype = io._RawSocketOptions.prototype; dart.addTypeTests(io._RawSocketOptions); dart.addTypeCaches(io._RawSocketOptions); -dart.setLibraryUri(io._RawSocketOptions, I[105]); -dart.setFieldSignature(io._RawSocketOptions, () => ({ - __proto__: dart.getFields(io._RawSocketOptions.__proto__), - index: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); -io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; -io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; -io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; -io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; -io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; -io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; -io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; -io._RawSocketOptions.values = C[198] || CT.C198; +dart.setMethodSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getMethods(io._RawSocketOptions.__proto__), + [_enumToString]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io._RawSocketOptions, I[108]); +dart.setStaticFieldSignature(io._RawSocketOptions, () => ['values', 'SOL_SOCKET', 'IPPROTO_IP', 'IP_MULTICAST_IF', 'IPPROTO_IPV6', 'IPV6_MULTICAST_IF', 'IPPROTO_TCP', 'IPPROTO_UDP']); +dart.defineLazy(io._RawSocketOptions, { + /*io._RawSocketOptions.values*/get values() { + return C[200] || CT.C200; + }, + /*io._RawSocketOptions.SOL_SOCKET*/get SOL_SOCKET() { + return C[201] || CT.C201; + }, + /*io._RawSocketOptions.IPPROTO_IP*/get IPPROTO_IP() { + return C[202] || CT.C202; + }, + /*io._RawSocketOptions.IP_MULTICAST_IF*/get IP_MULTICAST_IF() { + return C[203] || CT.C203; + }, + /*io._RawSocketOptions.IPPROTO_IPV6*/get IPPROTO_IPV6() { + return C[204] || CT.C204; + }, + /*io._RawSocketOptions.IPV6_MULTICAST_IF*/get IPV6_MULTICAST_IF() { + return C[205] || CT.C205; + }, + /*io._RawSocketOptions.IPPROTO_TCP*/get IPPROTO_TCP() { + return C[206] || CT.C206; + }, + /*io._RawSocketOptions.IPPROTO_UDP*/get IPPROTO_UDP() { + return C[207] || CT.C207; + } +}, false); var level$2 = dart.privateName(io, "RawSocketOption.level"); var option$ = dart.privateName(io, "RawSocketOption.option"); var value$3 = dart.privateName(io, "RawSocketOption.value"); @@ -55780,21 +59893,39 @@ io.RawSocketOption = class RawSocketOption extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); + return new io.RawSocketOption.new(level, option, value); + } static fromInt(level, option, value) { - if (level == null) dart.nullFailed(I[125], 426, 39, "level"); - if (option == null) dart.nullFailed(I[125], 426, 50, "option"); - if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); let list = _native_typed_data.NativeUint8List.new(4); let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); buffer[$setInt32](0, value, typed_data.Endian.host); return new io.RawSocketOption.new(level, option, list); } + static ['_#fromInt#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); + return io.RawSocketOption.fromInt(level, option, value); + } static fromBool(level, option, value) { - if (level == null) dart.nullFailed(I[125], 434, 40, "level"); - if (option == null) dart.nullFailed(I[125], 434, 51, "option"); - if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); } + static ['_#fromBool#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); + return io.RawSocketOption.fromBool(level, option, value); + } static get levelSocket() { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); } @@ -55817,14 +59948,14 @@ io.RawSocketOption = class RawSocketOption extends core.Object { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); } static _getOptionValue(key) { - if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + if (key == null) dart.nullFailed(I[110], 575, 34, "key"); dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); } }; (io.RawSocketOption.new = function(level, option, value) { - if (level == null) dart.nullFailed(I[125], 423, 30, "level"); - if (option == null) dart.nullFailed(I[125], 423, 42, "option"); - if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); this[level$2] = level; this[option$] = option; this[value$3] = value; @@ -55832,7 +59963,9 @@ io.RawSocketOption = class RawSocketOption extends core.Object { }).prototype = io.RawSocketOption.prototype; dart.addTypeTests(io.RawSocketOption); dart.addTypeCaches(io.RawSocketOption); -dart.setLibraryUri(io.RawSocketOption, I[105]); +dart.setStaticMethodSignature(io.RawSocketOption, () => ['fromInt', 'fromBool', '_getOptionValue']); +dart.setStaticGetterSignature(io.RawSocketOption, () => ['levelSocket', 'levelIPv4', 'IPv4MulticastInterface', 'levelIPv6', 'IPv6MulticastInterface', 'levelTcp', 'levelUdp']); +dart.setLibraryUri(io.RawSocketOption, I[108]); dart.setFieldSignature(io.RawSocketOption, () => ({ __proto__: dart.getFields(io.RawSocketOption.__proto__), level: dart.finalFieldType(core.int), @@ -55849,13 +59982,18 @@ io.ConnectionTask$ = dart.generic(S => { set socket(value) { super.socket = value; } + static ['_#_#tearOff'](S, socket, onCancel) { + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); + return new (io.ConnectionTask$(S)).__(socket, onCancel); + } cancel() { this[_onCancel$](); } } (ConnectionTask.__ = function(socket, onCancel) { - if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); this[socket$] = socket; this[_onCancel$] = onCancel; ; @@ -55867,7 +60005,7 @@ io.ConnectionTask$ = dart.generic(S => { __proto__: dart.getMethods(ConnectionTask.__proto__), cancel: dart.fnType(dart.void, []) })); - dart.setLibraryUri(ConnectionTask, I[105]); + dart.setLibraryUri(ConnectionTask, I[108]); dart.setFieldSignature(ConnectionTask, () => ({ __proto__: dart.getFields(ConnectionTask.__proto__), socket: dart.finalFieldType(async.Future$(S)), @@ -55879,14 +60017,18 @@ io.ConnectionTask = io.ConnectionTask$(); dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); io.RawSocket = class RawSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + if (port == null) dart.nullFailed(I[110], 477, 54, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 478, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + if (port == null) dart.nullFailed(I[110], 483, 75, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 484, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } }; @@ -55897,36 +60039,45 @@ io.RawSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.RawSocket); dart.addTypeCaches(io.RawSocket); io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; -dart.setLibraryUri(io.RawSocket, I[105]); +dart.setStaticMethodSignature(io.RawSocket, () => ['connect', 'startConnect']); +dart.setLibraryUri(io.RawSocket, I[108]); io.Socket = class Socket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + if (port == null) dart.nullFailed(I[128], 743, 43, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 744, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + if (port == null) dart.nullFailed(I[128], 759, 64, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 760, 27, "sourcePort"); let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } static _connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + if (port == null) dart.nullFailed(I[110], 492, 52, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 493, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("Socket constructor")); } static _startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + if (port == null) dart.nullFailed(I[110], 498, 73, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 499, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("Socket constructor")); } }; @@ -55937,7 +60088,8 @@ io.Socket.prototype[dart.isStream] = true; dart.addTypeTests(io.Socket); dart.addTypeCaches(io.Socket); io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; -dart.setLibraryUri(io.Socket, I[105]); +dart.setStaticMethodSignature(io.Socket, () => ['connect', 'startConnect', '_connect', '_startConnect']); +dart.setLibraryUri(io.Socket, I[108]); var data$ = dart.privateName(io, "Datagram.data"); var address$ = dart.privateName(io, "Datagram.address"); var port$ = dart.privateName(io, "Datagram.port"); @@ -55946,25 +60098,34 @@ io.Datagram = class Datagram extends core.Object { return this[data$]; } set data(value) { + if (value == null) dart.nullFailed(I[128], 845, 13, "data"); this[data$] = value; } get address() { return this[address$]; } set address(value) { + if (value == null) dart.nullFailed(I[128], 848, 19, "address"); this[address$] = value; } get port() { return this[port$]; } set port(value) { + if (value == null) dart.nullFailed(I[128], 851, 7, "port"); this[port$] = value; } + static ['_#new#tearOff'](data, address, port) { + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); + return new io.Datagram.new(data, address, port); + } }; (io.Datagram.new = function(data, address, port) { - if (data == null) dart.nullFailed(I[125], 825, 17, "data"); - if (address == null) dart.nullFailed(I[125], 825, 28, "address"); - if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); this[data$] = data; this[address$] = address; this[port$] = port; @@ -55972,13 +60133,137 @@ io.Datagram = class Datagram extends core.Object { }).prototype = io.Datagram.prototype; dart.addTypeTests(io.Datagram); dart.addTypeCaches(io.Datagram); -dart.setLibraryUri(io.Datagram, I[105]); +dart.setLibraryUri(io.Datagram, I[108]); dart.setFieldSignature(io.Datagram, () => ({ __proto__: dart.getFields(io.Datagram.__proto__), data: dart.fieldType(typed_data.Uint8List), address: dart.fieldType(io.InternetAddress), port: dart.fieldType(core.int) })); +io.ResourceHandle = class ResourceHandle extends core.Object { + static fromFile(file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromFile constructor")); + } + static ['_#fromFile#tearOff'](file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + return io.ResourceHandle.fromFile(file); + } + static fromSocket(socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromSocket constructor")); + } + static ['_#fromSocket#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + return io.ResourceHandle.fromSocket(socket); + } + static fromRawSocket(rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawSocket constructor")); + } + static ['_#fromRawSocket#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + return io.ResourceHandle.fromRawSocket(rawSocket); + } + static fromRawDatagramSocket(rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawDatagramSocket constructor")); + } + static ['_#fromRawDatagramSocket#tearOff'](rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + return io.ResourceHandle.fromRawDatagramSocket(rawDatagramSocket); + } + static fromStdin(stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdin constructor")); + } + static ['_#fromStdin#tearOff'](stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + return io.ResourceHandle.fromStdin(stdin); + } + static fromStdout(stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdout constructor")); + } + static ['_#fromStdout#tearOff'](stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + return io.ResourceHandle.fromStdout(stdout); + } + static fromReadPipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromReadPipe constructor")); + } + static ['_#fromReadPipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + return io.ResourceHandle.fromReadPipe(pipe); + } + static fromWritePipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromWritePipe constructor")); + } + static ['_#fromWritePipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + return io.ResourceHandle.fromWritePipe(pipe); + } +}; +(io.ResourceHandle[dart.mixinNew] = function() { +}).prototype = io.ResourceHandle.prototype; +dart.addTypeTests(io.ResourceHandle); +dart.addTypeCaches(io.ResourceHandle); +dart.setStaticMethodSignature(io.ResourceHandle, () => ['fromFile', 'fromSocket', 'fromRawSocket', 'fromRawDatagramSocket', 'fromStdin', 'fromStdout', 'fromReadPipe', 'fromWritePipe']); +dart.setLibraryUri(io.ResourceHandle, I[108]); +io.SocketControlMessage = class SocketControlMessage extends core.Object { + static fromHandles(handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + dart.throw(new core.UnsupportedError.new("SocketControlMessage constructor")); + } + static ['_#fromHandles#tearOff'](handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + return io.SocketControlMessage.fromHandles(handles); + } +}; +(io.SocketControlMessage[dart.mixinNew] = function() { +}).prototype = io.SocketControlMessage.prototype; +dart.addTypeTests(io.SocketControlMessage); +dart.addTypeCaches(io.SocketControlMessage); +dart.setStaticMethodSignature(io.SocketControlMessage, () => ['fromHandles']); +dart.setLibraryUri(io.SocketControlMessage, I[108]); +var data$0 = dart.privateName(io, "SocketMessage.data"); +var controlMessages$ = dart.privateName(io, "SocketMessage.controlMessages"); +io.SocketMessage = class SocketMessage extends core.Object { + get data() { + return this[data$0]; + } + set data(value) { + super.data = value; + } + get controlMessages() { + return this[controlMessages$]; + } + set controlMessages(value) { + super.controlMessages = value; + } + static ['_#new#tearOff'](data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + return new io.SocketMessage.new(data, controlMessages); + } +}; +(io.SocketMessage.new = function(data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + this[data$0] = data; + this[controlMessages$] = controlMessages; + ; +}).prototype = io.SocketMessage.prototype; +dart.addTypeTests(io.SocketMessage); +dart.addTypeCaches(io.SocketMessage); +dart.setLibraryUri(io.SocketMessage, I[108]); +dart.setFieldSignature(io.SocketMessage, () => ({ + __proto__: dart.getFields(io.SocketMessage.__proto__), + data: dart.finalFieldType(typed_data.Uint8List), + controlMessages: dart.finalFieldType(core.List$(io.SocketControlMessage)) +})); var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { get multicastInterface() { @@ -55988,13 +60273,13 @@ io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocke this[multicastInterface] = value; } static bind(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + if (port == null) dart.nullFailed(I[110], 609, 59, "port"); let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; - if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + if (reuseAddress == null) dart.nullFailed(I[110], 610, 13, "reuseAddress"); let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + if (reusePort == null) dart.nullFailed(I[110], 610, 39, "reusePort"); let ttl = opts && 'ttl' in opts ? opts.ttl : 1; - if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + if (ttl == null) dart.nullFailed(I[110], 610, 62, "ttl"); dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); } }; @@ -56005,7 +60290,8 @@ io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocke }).prototype = io.RawDatagramSocket.prototype; dart.addTypeTests(io.RawDatagramSocket); dart.addTypeCaches(io.RawDatagramSocket); -dart.setLibraryUri(io.RawDatagramSocket, I[105]); +dart.setStaticMethodSignature(io.RawDatagramSocket, () => ['bind']); +dart.setLibraryUri(io.RawDatagramSocket, I[108]); dart.setFieldSignature(io.RawDatagramSocket, () => ({ __proto__: dart.getFields(io.RawDatagramSocket.__proto__), multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) @@ -56039,6 +60325,16 @@ io.SocketException = class SocketException extends core.Object { set port(value) { super.port = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + return new io.SocketException.new(message, {osError: osError, address: address, port: port}); + } + static ['_#closed#tearOff']() { + return new io.SocketException.closed(); + } toString() { let sb = new core.StringBuffer.new(); sb.write("SocketException"); @@ -56060,7 +60356,7 @@ io.SocketException = class SocketException extends core.Object { } }; (io.SocketException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); let osError = opts && 'osError' in opts ? opts.osError : null; let address = opts && 'address' in opts ? opts.address : null; let port = opts && 'port' in opts ? opts.port : null; @@ -56080,7 +60376,7 @@ io.SocketException = class SocketException extends core.Object { dart.addTypeTests(io.SocketException); dart.addTypeCaches(io.SocketException); io.SocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SocketException, I[105]); +dart.setLibraryUri(io.SocketException, I[108]); dart.setFieldSignature(io.SocketException, () => ({ __proto__: dart.getFields(io.SocketException.__proto__), message: dart.finalFieldType(core.String), @@ -56091,6 +60387,10 @@ dart.setFieldSignature(io.SocketException, () => ({ dart.defineExtensionMethods(io.SocketException, ['toString']); var _stream$0 = dart.privateName(io, "_stream"); io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + static ['_#new#tearOff'](_stream) { + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); + return new io._StdStream.new(_stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -56099,7 +60399,7 @@ io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { } }; (io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); this[_stream$0] = _stream; io._StdStream.__proto__.new.call(this); ; @@ -56110,18 +60410,23 @@ dart.setMethodSignature(io._StdStream, () => ({ __proto__: dart.getMethods(io._StdStream.__proto__), listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); -dart.setLibraryUri(io._StdStream, I[105]); +dart.setLibraryUri(io._StdStream, I[108]); dart.setFieldSignature(io._StdStream, () => ({ __proto__: dart.getFields(io._StdStream.__proto__), [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) })); var _fd$ = dart.privateName(io, "_fd"); io.Stdin = class Stdin extends io._StdStream { + static ['_#_#tearOff'](stream, _fd) { + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); + return new io.Stdin.__(stream, _fd); + } readLineSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; - if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[152] || CT.C152; + if (encoding == null) dart.nullFailed(I[131], 57, 17, "encoding"); let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; - if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + if (retainNewlines == null) dart.nullFailed(I[131], 57, 49, "retainNewlines"); let line = T$.JSArrayOfint().of([]); let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); if (dart.test(retainNewlines)) { @@ -56171,14 +60476,21 @@ io.Stdin = class Stdin extends io._StdStream { dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } set echoMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 696, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } + get echoNewlineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } + set echoNewlineMode(enabled) { + if (enabled == null) dart.nullFailed(I[110], 706, 33, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } get lineMode() { dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } set lineMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 716, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } get supportsAnsiEscapes() { @@ -56200,8 +60512,8 @@ io.Stdin = class Stdin extends io._StdStream { } }; (io.Stdin.__ = function(stream, _fd) { - if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); - if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); this[_fd$] = _fd; io.Stdin.__proto__.new.call(this, stream); ; @@ -56218,6 +60530,7 @@ dart.setMethodSignature(io.Stdin, () => ({ dart.setGetterSignature(io.Stdin, () => ({ __proto__: dart.getGetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool, supportsAnsiEscapes: core.bool, hasTerminal: core.bool @@ -56225,9 +60538,10 @@ dart.setGetterSignature(io.Stdin, () => ({ dart.setSetterSignature(io.Stdin, () => ({ __proto__: dart.getSetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool })); -dart.setLibraryUri(io.Stdin, I[105]); +dart.setLibraryUri(io.Stdin, I[108]); dart.setFieldSignature(io.Stdin, () => ({ __proto__: dart.getFields(io.Stdin.__proto__), [_fd$]: dart.fieldType(core.int) @@ -56237,11 +60551,15 @@ var _hasTerminal = dart.privateName(io, "_hasTerminal"); var _terminalColumns = dart.privateName(io, "_terminalColumns"); var _terminalLines = dart.privateName(io, "_terminalLines"); io._StdSink = class _StdSink extends core.Object { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); + return new io._StdSink.new(_sink); + } get encoding() { return this[_sink$1].encoding; } set encoding(encoding) { - if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + if (encoding == null) dart.nullFailed(I[131], 333, 30, "encoding"); this[_sink$1].encoding = encoding; } write(object) { @@ -56251,26 +60569,26 @@ io._StdSink = class _StdSink extends core.Object { this[_sink$1].writeln(object); } writeAll(objects, sep = "") { - if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); - if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + if (objects == null) dart.nullFailed(I[131], 345, 26, "objects"); + if (sep == null) dart.nullFailed(I[131], 345, 43, "sep"); this[_sink$1].writeAll(objects, sep); } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + if (data == null) dart.nullFailed(I[131], 349, 22, "data"); this[_sink$1].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + if (error == null) dart.nullFailed(I[131], 353, 17, "error"); this[_sink$1].addError(error, stackTrace); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[131], 357, 26, "charCode"); this[_sink$1].writeCharCode(charCode); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 361, 38, "stream"); return this[_sink$1].addStream(stream); } flush() { @@ -56284,7 +60602,7 @@ io._StdSink = class _StdSink extends core.Object { } }; (io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._StdSink.prototype; @@ -56312,12 +60630,17 @@ dart.setSetterSignature(io._StdSink, () => ({ __proto__: dart.getSetters(io._StdSink.__proto__), encoding: convert.Encoding })); -dart.setLibraryUri(io._StdSink, I[105]); +dart.setLibraryUri(io._StdSink, I[108]); dart.setFieldSignature(io._StdSink, () => ({ __proto__: dart.getFields(io._StdSink.__proto__), [_sink$1]: dart.finalFieldType(io.IOSink) })); io.Stdout = class Stdout extends io._StdSink { + static ['_#_#tearOff'](sink, _fd) { + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); + return new io.Stdout.__(sink, _fd); + } get hasTerminal() { return this[_hasTerminal](this[_fd$]); } @@ -56331,30 +60654,30 @@ io.Stdout = class Stdout extends io._StdSink { return io.Stdout._supportsAnsiEscapes(this[_fd$]); } [_hasTerminal](fd) { - if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + if (fd == null) dart.nullFailed(I[110], 729, 25, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); } [_terminalColumns](fd) { - if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + if (fd == null) dart.nullFailed(I[110], 734, 28, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); } [_terminalLines](fd) { - if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + if (fd == null) dart.nullFailed(I[110], 739, 26, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); } static _supportsAnsiEscapes(fd) { - if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + if (fd == null) dart.nullFailed(I[110], 744, 40, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); } get nonBlocking() { - let t212; - t212 = this[_nonBlocking]; - return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + let t190; + t190 = this[_nonBlocking]; + return t190 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t190; } }; (io.Stdout.__ = function(sink, _fd) { - if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); - if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); this[_nonBlocking] = null; this[_fd$] = _fd; io.Stdout.__proto__.new.call(this, sink); @@ -56369,6 +60692,7 @@ dart.setMethodSignature(io.Stdout, () => ({ [_terminalColumns]: dart.fnType(core.int, [core.int]), [_terminalLines]: dart.fnType(core.int, [core.int]) })); +dart.setStaticMethodSignature(io.Stdout, () => ['_supportsAnsiEscapes']); dart.setGetterSignature(io.Stdout, () => ({ __proto__: dart.getGetters(io.Stdout.__proto__), hasTerminal: core.bool, @@ -56377,7 +60701,7 @@ dart.setGetterSignature(io.Stdout, () => ({ supportsAnsiEscapes: core.bool, nonBlocking: io.IOSink })); -dart.setLibraryUri(io.Stdout, I[105]); +dart.setLibraryUri(io.Stdout, I[108]); dart.setFieldSignature(io.Stdout, () => ({ __proto__: dart.getFields(io.Stdout.__proto__), [_fd$]: dart.finalFieldType(core.int), @@ -56398,12 +60722,16 @@ io.StdoutException = class StdoutException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); + return new io.StdoutException.new(message, osError); + } toString() { return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdoutException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); this[message$8] = message; this[osError$3] = osError; ; @@ -56411,7 +60739,7 @@ io.StdoutException = class StdoutException extends core.Object { dart.addTypeTests(io.StdoutException); dart.addTypeCaches(io.StdoutException); io.StdoutException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdoutException, I[105]); +dart.setLibraryUri(io.StdoutException, I[108]); dart.setFieldSignature(io.StdoutException, () => ({ __proto__: dart.getFields(io.StdoutException.__proto__), message: dart.finalFieldType(core.String), @@ -56433,12 +60761,16 @@ io.StdinException = class StdinException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); + return new io.StdinException.new(message, osError); + } toString() { return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdinException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); this[message$9] = message; this[osError$4] = osError; ; @@ -56446,7 +60778,7 @@ io.StdinException = class StdinException extends core.Object { dart.addTypeTests(io.StdinException); dart.addTypeCaches(io.StdinException); io.StdinException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdinException, I[105]); +dart.setLibraryUri(io.StdinException, I[108]); dart.setFieldSignature(io.StdinException, () => ({ __proto__: dart.getFields(io.StdinException.__proto__), message: dart.finalFieldType(core.String), @@ -56454,34 +60786,47 @@ dart.setFieldSignature(io.StdinException, () => ({ })); dart.defineExtensionMethods(io.StdinException, ['toString']); io._StdConsumer = class _StdConsumer extends core.Object { + static ['_#new#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); + return new io._StdConsumer.new(fd); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 304, 38, "stream"); let completer = async.Completer.new(); let sub = null; - sub = stream.listen(dart.fn(data => { - if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + let sub$35isSet = false; + function sub$35get() { + return sub$35isSet ? sub : dart.throw(new _internal.LateError.localNI("sub")); + } + function sub$35set(sub$35param) { + if (sub$35param == null) dart.nullFailed(I[131], 306, 40, "sub#param"); + sub$35isSet = true; + return sub = sub$35param; + } + sub$35set(stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[131], 307, 26, "data"); try { - dart.dsend(this[_file], 'writeFromSync', [data]); + this[_file].writeFromSync(data); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - dart.dsend(sub, 'cancel', []); + sub$35get().cancel(); completer.completeError(e, s); } else throw e$; } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); return completer.future; } close() { - dart.dsend(this[_file], 'closeSync', []); + this[_file].closeSync(); return async.Future.value(); } }; (io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); this[_file] = io._File._openStdioSync(fd); ; }).prototype = io._StdConsumer.prototype; @@ -56493,10 +60838,10 @@ dart.setMethodSignature(io._StdConsumer, () => ({ addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []) })); -dart.setLibraryUri(io._StdConsumer, I[105]); +dart.setLibraryUri(io._StdConsumer, I[108]); dart.setFieldSignature(io._StdConsumer, () => ({ __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(dart.dynamic) + [_file]: dart.finalFieldType(io.RandomAccessFile) })); var name$11 = dart.privateName(io, "StdioType.name"); io.StdioType = class StdioType extends core.Object { @@ -56506,99 +60851,99 @@ io.StdioType = class StdioType extends core.Object { set name(value) { super.name = value; } + static ['_#_#tearOff'](name) { + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); + return new io.StdioType.__(name); + } toString() { return "StdioType: " + dart.str(this.name); } }; (io.StdioType.__ = function(name) { - if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); this[name$11] = name; ; }).prototype = io.StdioType.prototype; dart.addTypeTests(io.StdioType); dart.addTypeCaches(io.StdioType); -dart.setLibraryUri(io.StdioType, I[105]); +dart.setLibraryUri(io.StdioType, I[108]); dart.setFieldSignature(io.StdioType, () => ({ __proto__: dart.getFields(io.StdioType.__proto__), name: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(io.StdioType, () => ['terminal', 'pipe', 'file', 'other']); dart.defineExtensionMethods(io.StdioType, ['toString']); dart.defineLazy(io.StdioType, { /*io.StdioType.terminal*/get terminal() { - return C[199] || CT.C199; + return C[208] || CT.C208; }, /*io.StdioType.pipe*/get pipe() { - return C[200] || CT.C200; + return C[209] || CT.C209; }, /*io.StdioType.file*/get file() { - return C[201] || CT.C201; + return C[210] || CT.C210; }, /*io.StdioType.other*/get other() { - return C[202] || CT.C202; - }, - /*io.StdioType.TERMINAL*/get TERMINAL() { - return C[199] || CT.C199; - }, - /*io.StdioType.PIPE*/get PIPE() { - return C[200] || CT.C200; - }, - /*io.StdioType.FILE*/get FILE() { - return C[201] || CT.C201; - }, - /*io.StdioType.OTHER*/get OTHER() { - return C[202] || CT.C202; + return C[211] || CT.C211; } }, false); io._StdIOUtils = class _StdIOUtils extends core.Object { static _getStdioOutputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + if (fd == null) dart.nullFailed(I[110], 631, 36, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); } static _getStdioInputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + if (fd == null) dart.nullFailed(I[110], 626, 41, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); } static _socketType(socket) { - if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + if (socket == null) dart.nullFailed(I[110], 636, 33, "socket"); dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); } static _getStdioHandleType(fd) { - if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + if (fd == null) dart.nullFailed(I[110], 641, 34, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); } + static ['_#new#tearOff']() { + return new io._StdIOUtils.new(); + } }; (io._StdIOUtils.new = function() { ; }).prototype = io._StdIOUtils.prototype; dart.addTypeTests(io._StdIOUtils); dart.addTypeCaches(io._StdIOUtils); -dart.setLibraryUri(io._StdIOUtils, I[105]); +dart.setStaticMethodSignature(io._StdIOUtils, () => ['_getStdioOutputStream', '_getStdioInputStream', '_socketType', '_getStdioHandleType']); +dart.setLibraryUri(io._StdIOUtils, I[108]); io.SystemEncoding = class SystemEncoding extends convert.Encoding { + static ['_#new#tearOff']() { + return new io.SystemEncoding.new(); + } get name() { return "system"; } encode(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + if (input == null) dart.nullFailed(I[132], 26, 27, "input"); return this.encoder.convert(input); } decode(encoded) { T$0.ListOfint().as(encoded); - if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[132], 27, 27, "encoded"); return this.decoder.convert(encoded); } get encoder() { if (io.Platform.operatingSystem === "windows") { - return C[203] || CT.C203; + return C[212] || CT.C212; } else { - return C[101] || CT.C101; + return C[108] || CT.C108; } } get decoder() { if (io.Platform.operatingSystem === "windows") { - return C[204] || CT.C204; + return C[213] || CT.C213; } else { - return C[100] || CT.C100; + return C[107] || CT.C107; } } }; @@ -56614,11 +60959,14 @@ dart.setGetterSignature(io.SystemEncoding, () => ({ encoder: convert.Converter$(core.String, core.List$(core.int)), decoder: convert.Converter$(core.List$(core.int), core.String) })); -dart.setLibraryUri(io.SystemEncoding, I[105]); +dart.setLibraryUri(io.SystemEncoding, I[108]); io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageEncoder.new(); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + if (input == null) dart.nullFailed(I[132], 49, 28, "input"); let encoded = io._WindowsCodePageEncoder._encodeString(input); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56627,11 +60975,11 @@ io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Conve } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + if (sink == null) dart.nullFailed(I[132], 58, 63, "sink"); return new io._WindowsCodePageEncoderSink.new(sink); } static _encodeString(string) { - if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + if (string == null) dart.nullFailed(I[110], 657, 41, "string"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); } }; @@ -56646,14 +60994,19 @@ dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); +dart.setStaticMethodSignature(io._WindowsCodePageEncoder, () => ['_encodeString']); +dart.setLibraryUri(io._WindowsCodePageEncoder, I[108]); io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); + return new io._WindowsCodePageEncoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + if (string == null) dart.nullFailed(I[132], 77, 19, "string"); let encoded = io._WindowsCodePageEncoder._encodeString(string); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56661,10 +61014,10 @@ io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends conve this[_sink$1].add(encoded); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[129], 87, 24, "source"); - if (start == null) dart.nullFailed(I[129], 87, 36, "start"); - if (end == null) dart.nullFailed(I[129], 87, 47, "end"); - if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (source == null) dart.nullFailed(I[132], 85, 24, "source"); + if (start == null) dart.nullFailed(I[132], 85, 36, "start"); + if (end == null) dart.nullFailed(I[132], 85, 47, "end"); + if (isLast == null) dart.nullFailed(I[132], 85, 57, "isLast"); if (start !== 0 || end !== source.length) { source = source[$substring](start, end); } @@ -56673,7 +61026,7 @@ io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends conve } }; (io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._WindowsCodePageEncoderSink.prototype; @@ -56684,24 +61037,27 @@ dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); +dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) })); io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageDecoder.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + if (input == null) dart.nullFailed(I[132], 97, 28, "input"); return io._WindowsCodePageDecoder._decodeBytes(input); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + if (sink == null) dart.nullFailed(I[132], 102, 58, "sink"); return new io._WindowsCodePageDecoderSink.new(sink); } static _decodeBytes(bytes) { - if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + if (bytes == null) dart.nullFailed(I[110], 649, 40, "bytes"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); } }; @@ -56716,19 +61072,24 @@ dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); +dart.setStaticMethodSignature(io._WindowsCodePageDecoder, () => ['_decodeBytes']); +dart.setLibraryUri(io._WindowsCodePageDecoder, I[108]); io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); + return new io._WindowsCodePageDecoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[132], 121, 22, "bytes"); this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); } }; (io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); this[_sink$1] = _sink; io._WindowsCodePageDecoderSink.__proto__.new.call(this); ; @@ -56740,14 +61101,14 @@ dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); +dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) })); io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { static connectSync(host, port) { - if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + if (port == null) dart.nullFailed(I[110], 567, 61, "port"); dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); } }; @@ -56756,39 +61117,38 @@ io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { }).prototype = io.RawSynchronousSocket.prototype; dart.addTypeTests(io.RawSynchronousSocket); dart.addTypeCaches(io.RawSynchronousSocket); -dart.setLibraryUri(io.RawSynchronousSocket, I[105]); -io._isErrorResponse = function _isErrorResponse$(response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); -}; -io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { - if (message == null) dart.nullFailed(I[106], 23, 41, "message"); - if (path == null) dart.nullFailed(I[106], 23, 57, "path"); - if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - case 3: - { - return new io.FileSystemException.new("File closed", path); - } - default: - { - return core.Exception.new("Unknown error"); +dart.setStaticMethodSignature(io.RawSynchronousSocket, () => ['connectSync']); +dart.setLibraryUri(io.RawSynchronousSocket, I[108]); +io._checkForErrorResponse = function _checkForErrorResponse(response, message, path) { + if (message == null) dart.nullFailed(I[109], 34, 54, "message"); + if (path == null) dart.nullFailed(I[109], 34, 70, "path"); + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { + switch (response[$_get](0)) { + case 1: + { + dart.throw(new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path))); + } + case 2: + { + let err = new io.OSError.new(core.String.as(response[$_get](2)), core.int.as(response[$_get](1))); + dart.throw(io.FileSystemException._fromOSError(err, message, path)); + } + case 3: + { + dart.throw(new io.FileSystemException.new("File closed", path)); + } + default: + { + dart.throw(new core.AssertionError.new("Unknown error")); + } } } }; io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { - if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); - if (start == null) dart.nullFailed(I[106], 93, 27, "start"); - if (end == null) dart.nullFailed(I[106], 93, 38, "end"); - if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + if (buffer == null) dart.nullFailed(I[109], 108, 15, "buffer"); + if (start == null) dart.nullFailed(I[109], 108, 27, "start"); + if (end == null) dart.nullFailed(I[109], 108, 38, "end"); + if (typed_data.Uint8List.is(buffer) && buffer[$buffer][$lengthInBytes] == buffer[$length]) { return new io._BufferAndStart.new(buffer, start); } let length = dart.notNull(end) - dart.notNull(start); @@ -56796,104 +61156,47 @@ io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteD newBuffer[$setRange](0, length, buffer, start); return new io._BufferAndStart.new(newBuffer, 0); }; -io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { - if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); - dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); -}; io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { - if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 538, 34, "windowBits"); if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { dart.throw(new core.RangeError.range(windowBits, 8, 15)); } }; io._validateZLibeLevel = function _validateZLibeLevel(level) { - if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (level == null) dart.nullFailed(I[111], 546, 30, "level"); if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { dart.throw(new core.RangeError.range(level, -1, 9)); } }; io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { - if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 552, 32, "memLevel"); if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { dart.throw(new core.RangeError.range(memLevel, 1, 9)); } }; io._validateZLibStrategy = function _validateZLibStrategy(strategy) { - if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); - let strategies = C[205] || CT.C205; + if (strategy == null) dart.nullFailed(I[111], 559, 32, "strategy"); + let strategies = C[214] || CT.C214; if (strategies[$indexOf](strategy) === -1) { dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); } }; -io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { - let t215, t215$; - let hostString = null; - if (typeof host == 'string') { - try { - if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; - } catch (e) { - let ex = dart.getThrown(e); - if (core.ArgumentError.is(ex)) { - } else - throw e; - } - hostString = host; - } else if (io.InternetAddress.is(host)) { - if (dart.test(host.isLoopback)) return true; - hostString = host.host; - } else { - dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); - } - let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); - let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); - t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); - return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; -}; -io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { - if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); - let topScore = 0; - let topPolicy = null; - for (let policy of io._domainPolicies) { - let score = policy.matchScore(domain); - if (dart.notNull(score) > dart.notNull(topScore)) { - topScore = score; - topPolicy = policy; - } - } - return topPolicy; -}; -io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { - let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); - domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; - if (domainPoliciesString[$isNotEmpty]) { - let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); - for (let t215 of policiesJson) { - let policyJson = core.List.as(t215); - if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); - let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); - if (dart.test(policy.checkConflict(domainPolicies))) { - domainPolicies[$add](policy); - } - } - } - return domainPolicies; -}; io._success = function _success() { return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); }; io._invalidArgument = function _invalidArgument(argument, value) { - if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 148, 32, "argument"); return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); }; io._missingArgument = function _missingArgument(argument) { - if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 151, 32, "argument"); return "Parameter '" + dart.str(argument) + "' is required"; }; io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); }; io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { - if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 158, 58, "parameters"); if (!dart.test(parameters[$containsKey]("enable"))) { dart.throw(io._missingArgument("enable")); } @@ -56905,7 +61208,7 @@ io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parame return io._success(); }; io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); if (!dart.test(parameters[$containsKey]("id"))) { dart.throw(io._missingArgument("id")); } @@ -56920,7 +61223,7 @@ io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { return convert.json.encode(request.toJson({ref: false})); }; io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { - if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 188, 52, "parameters"); if (dart.test(parameters[$containsKey]("enabled"))) { let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); if (enable !== "true" && enable !== "false") { @@ -56931,7 +61234,7 @@ io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); }; io.exit = function exit(code) { - if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + if (code == null) dart.nullFailed(I[125], 50, 16, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); if (!dart.test(io._EmbedderConfig._mayExit)) { dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); @@ -56940,7 +61243,7 @@ io.exit = function exit(code) { dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }; io.sleep = function sleep(duration) { - if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + if (duration == null) dart.nullFailed(I[125], 94, 21, "duration"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) { dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); @@ -56951,9 +61254,9 @@ io.sleep = function sleep(duration) { io._ProcessUtils._sleep(milliseconds); }; io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { - if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); - if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); - if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + if (stdin == null) dart.nullFailed(I[131], 390, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[131], 390, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[131], 390, 46, "stderr"); io._stdinFD = stdin; io._stdoutFD = stdout; io._stderrFD = stderr; @@ -56969,17 +61272,17 @@ io.stdioType = function stdioType(object) { } switch (type) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._FileStream.is(object)) { @@ -56990,17 +61293,17 @@ io.stdioType = function stdioType(object) { if (socketType == null) return io.StdioType.other; switch (socketType) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._IOSinkImpl.is(object)) { @@ -57018,22 +61321,8 @@ io.stdioType = function stdioType(object) { return io.StdioType.other; }; dart.copyProperties(io, { - get _domainPolicies() { - let t217; - if (!dart.test(io['_#_domainPolicies#isSet'])) { - io['_#_domainPolicies'] = io._constructDomainPolicies(null); - io['_#_domainPolicies#isSet'] = true; - } - t217 = io['_#_domainPolicies']; - return t217; - }, - set _domainPolicies(t217) { - if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); - io['_#_domainPolicies#isSet'] = true; - io['_#_domainPolicies'] = t217; - }, set exitCode(code) { - if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + if (code == null) dart.nullFailed(I[125], 69, 23, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); io._ProcessUtils._setExitCode(code); }, @@ -57044,17 +61333,19 @@ dart.copyProperties(io, { return io._ProcessUtils._pid(null); }, get stdin() { - let t218; - t218 = io._stdin; - return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); + return t196$ == null ? io._stdin : t196$; }, get stdout() { - let t218; - return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); + return t196$ == null ? io._stdout : t196$; }, get stderr() { - let t218; - return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); + return t196$ == null ? io._stderr : t196$; } }); dart.defineLazy(io, { @@ -57079,44 +61370,42 @@ dart.defineLazy(io, { /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { return 2; }, - /*io.zlib*/get zlib() { - return C[206] || CT.C206; + /*io._eNoEnt*/get _eNoEnt() { + return 2; }, - /*io.ZLIB*/get ZLIB() { - return C[206] || CT.C206; + /*io._errorFileNotFound*/get _errorFileNotFound() { + return 2; }, - /*io.gzip*/get gzip() { - return C[207] || CT.C207; + /*io._errorPathNotFound*/get _errorPathNotFound() { + return 3; }, - /*io.GZIP*/get GZIP() { - return C[207] || CT.C207; + /*io._errorInvalidDrive*/get _errorInvalidDrive() { + return 15; }, - /*io.READ*/get READ() { - return C[109] || CT.C109; + /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { + return 18; }, - /*io.WRITE*/get WRITE() { - return C[110] || CT.C110; + /*io._errorBadNetpath*/get _errorBadNetpath() { + return 53; }, - /*io.APPEND*/get APPEND() { - return C[111] || CT.C111; + /*io._errorBadNetName*/get _errorBadNetName() { + return 67; }, - /*io.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + /*io._errorBadPathName*/get _errorBadPathName() { + return 161; }, - /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { + return 206; }, - /*io._blockSize*/get _blockSize() { - return 65536; + /*io.zlib*/get zlib() { + return C[215] || CT.C215; }, - /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { - return null; + /*io.gzip*/get gzip() { + return C[216] || CT.C216; }, - set ['_#_domainPolicies'](_) {}, - /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { - return false; + /*io._blockSize*/get _blockSize() { + return 65536; }, - set ['_#_domainPolicies#isSet'](_) {}, /*io._versionMajor*/get _versionMajor() { return 1; }, @@ -57133,12 +61422,14 @@ dart.defineLazy(io, { return new core.Object.new(); }, /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*io._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); + }, /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { return 0; }, @@ -57158,37 +61449,41 @@ dart.defineLazy(io, { return 5; }, /*io._stdin*/get _stdin() { - return null; + return io._StdIOUtils._getStdioInputStream(io._stdinFD); }, - set _stdin(_) {}, /*io._stdout*/get _stdout() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); }, - set _stdout(_) {}, /*io._stderr*/get _stderr() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); }, - set _stderr(_) {}, /*io._stdinFD*/get _stdinFD() { return 0; }, - set _stdinFD(_) {}, + set _stdinFD(value) { + if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); + }, /*io._stdoutFD*/get _stdoutFD() { return 1; }, - set _stdoutFD(_) {}, + set _stdoutFD(value) { + if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); + }, /*io._stderrFD*/get _stderrFD() { return 2; }, - set _stderrFD(_) {}, - /*io.systemEncoding*/get systemEncoding() { - return C[143] || CT.C143; + set _stderrFD(value) { + if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); }, - /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { - return C[143] || CT.C143; + /*io.systemEncoding*/get systemEncoding() { + return C[152] || CT.C152; } }, false); isolate$._ReceivePort = class _ReceivePort extends async.Stream { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } close() { } get sendPort() { @@ -57202,7 +61497,7 @@ isolate$._ReceivePort = class _ReceivePort extends async.Stream { } }; (isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); isolate$._ReceivePort.__proto__.new.call(this); ; }).prototype = isolate$._ReceivePort.prototype; @@ -57218,7 +61513,7 @@ dart.setGetterSignature(isolate$._ReceivePort, () => ({ __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), sendPort: isolate$.SendPort })); -dart.setLibraryUri(isolate$._ReceivePort, I[131]); +dart.setLibraryUri(isolate$._ReceivePort, I[134]); var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { get message() { @@ -57227,19 +61522,23 @@ isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); + return new isolate$.IsolateSpawnException.new(message); + } toString() { return "IsolateSpawnException: " + dart.str(this.message); } }; (isolate$.IsolateSpawnException.new = function(message) { - if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); this[message$10] = message; ; }).prototype = isolate$.IsolateSpawnException.prototype; dart.addTypeTests(isolate$.IsolateSpawnException); dart.addTypeCaches(isolate$.IsolateSpawnException); isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); +dart.setLibraryUri(isolate$.IsolateSpawnException, I[134]); dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), message: dart.finalFieldType(core.String) @@ -57268,47 +61567,96 @@ isolate$.Isolate = class Isolate extends core.Object { set terminateCapability(value) { super.terminateCapability = value; } - get debugName() { + static get packageRoot() { return isolate$._unsupported(); } - static get current() { + get debugName() { return isolate$._unsupported(); } - static get packageRoot() { + static ['_#new#tearOff'](controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + return new isolate$.Isolate.new(controlPort, {pauseCapability: pauseCapability, terminateCapability: terminateCapability}); + } + static run(R, computation, opts) { + if (computation == null) dart.nullFailed(I[135], 206, 39, "computation"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + let result = async.Completer$(R).new(); + let resultPort = isolate$.RawReceivePort.new(); + resultPort.handler = dart.fn(response => { + resultPort.close(); + if (response == null) { + result.completeError(new isolate$.RemoteError.new("Computation ended without result", ""), core.StackTrace.empty); + return; + } + let list = T$.ListOfObjectN().as(response); + if (list[$length] === 2) { + let remoteError = list[$_get](0); + let remoteStack = list[$_get](1); + if (core.StackTrace.is(remoteStack)) { + result.completeError(dart.nullCheck(remoteError), remoteStack); + } else { + let error = new isolate$.RemoteError.new(dart.toString(remoteError), dart.toString(remoteStack)); + result.completeError(error, error.stackTrace); + } + } else { + if (!(list[$length] === 1)) dart.assertFailed(null, I[135], 233, 16, "list.length == 1"); + result.complete(R.as(list[$_get](0))); + } + }, T$.dynamicToNull()); + try { + isolate$.Isolate.spawn(isolate$._RemoteRunner$(R), C[218] || CT.C218, new (isolate$._RemoteRunner$(R)).new(computation, resultPort.sendPort), {onError: resultPort.sendPort, onExit: resultPort.sendPort, errorsAreFatal: true, debugName: debugName}).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[135], 244, 24, "_"); + }, T$0.IsolateToNull()), {onError: dart.fn((error, stack) => { + resultPort.close(); + result.completeError(core.Object.as(error), T$.StackTraceN().as(stack)); + }, T$.dynamicAnddynamicToNull())}); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Object.is(ex)) { + resultPort.close(); + dart.rethrow(e); + } else + throw e; + } + return result.future; + } + static get current() { return isolate$._unsupported(); } static get packageConfig() { return isolate$._unsupported(); } static resolvePackageUri(packageUri) { - if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + if (packageUri == null) dart.nullFailed(I[133], 29, 45, "packageUri"); return isolate$._unsupported(); } static spawn(T, entryPoint, message, opts) { - if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + if (entryPoint == null) dart.nullFailed(I[133], 32, 40, "entryPoint"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 33, 17, "paused"); let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 34, 16, "errorsAreFatal"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; return isolate$._unsupported(); } static spawnUri(uri, args, message, opts) { - if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); - if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + if (uri == null) dart.nullFailed(I[133], 40, 39, "uri"); + if (args == null) dart.nullFailed(I[133], 40, 57, "args"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 41, 17, "paused"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 44, 16, "errorsAreFatal"); let checked = opts && 'checked' in opts ? opts.checked : null; let environment = opts && 'environment' in opts ? opts.environment : null; let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; - if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + if (automaticPackageResolution == null) dart.nullFailed(I[133], 49, 16, "automaticPackageResolution"); let debugName = opts && 'debugName' in opts ? opts.debugName : null; return isolate$._unsupported(); } @@ -57318,44 +61666,44 @@ isolate$.Isolate = class Isolate extends core.Object { return resumeCapability; } [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); return isolate$._unsupported(); } resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); return isolate$._unsupported(); } addOnExitListener(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 60, 35, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; return isolate$._unsupported(); } removeOnExitListener(responsePort) { - if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 64, 38, "responsePort"); return isolate$._unsupported(); } setErrorsFatal(errorsAreFatal) { - if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 67, 28, "errorsAreFatal"); return isolate$._unsupported(); } kill(opts) { let priority = opts && 'priority' in opts ? opts.priority : 1; - if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + if (priority == null) dart.nullFailed(I[133], 70, 18, "priority"); return isolate$._unsupported(); } ping(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 72, 22, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; let priority = opts && 'priority' in opts ? opts.priority : 0; - if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + if (priority == null) dart.nullFailed(I[133], 73, 34, "priority"); return isolate$._unsupported(); } addErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + if (port == null) dart.nullFailed(I[133], 77, 34, "port"); return isolate$._unsupported(); } removeErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + if (port == null) dart.nullFailed(I[133], 80, 37, "port"); return isolate$._unsupported(); } get errors() { @@ -57382,9 +61730,13 @@ isolate$.Isolate = class Isolate extends core.Object { }, T$.VoidToNull()); return controller.stream; } + static exit(finalMessagePort = null, message = null) { + isolate$._unsupported(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } }; (isolate$.Isolate.new = function(controlPort, opts) { - if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; this[controlPort$] = controlPort; @@ -57407,18 +61759,21 @@ dart.setMethodSignature(isolate$.Isolate, () => ({ addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) })); +dart.setStaticMethodSignature(isolate$.Isolate, () => ['run', 'resolvePackageUri', 'spawn', 'spawnUri', 'exit']); dart.setGetterSignature(isolate$.Isolate, () => ({ __proto__: dart.getGetters(isolate$.Isolate.__proto__), debugName: dart.nullable(core.String), errors: async.Stream })); -dart.setLibraryUri(isolate$.Isolate, I[131]); +dart.setStaticGetterSignature(isolate$.Isolate, () => ['packageRoot', 'current', 'packageConfig']); +dart.setLibraryUri(isolate$.Isolate, I[134]); dart.setFieldSignature(isolate$.Isolate, () => ({ __proto__: dart.getFields(isolate$.Isolate.__proto__), controlPort: dart.finalFieldType(isolate$.SendPort), pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) })); +dart.setStaticFieldSignature(isolate$.Isolate, () => ['immediate', 'beforeNextEvent']); dart.defineLazy(isolate$.Isolate, { /*isolate$.Isolate.immediate*/get immediate() { return 0; @@ -57434,12 +61789,20 @@ isolate$.SendPort = class SendPort extends core.Object {}; dart.addTypeTests(isolate$.SendPort); dart.addTypeCaches(isolate$.SendPort); isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; -dart.setLibraryUri(isolate$.SendPort, I[131]); +dart.setLibraryUri(isolate$.SendPort, I[134]); isolate$.ReceivePort = class ReceivePort extends core.Object { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 91, 31, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } static fromRawReceivePort(rawPort) { - if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); return isolate$._unsupported(); } + static ['_#fromRawReceivePort#tearOff'](rawPort) { + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); + return isolate$.ReceivePort.fromRawReceivePort(rawPort); + } }; (isolate$.ReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.ReceivePort.prototype; @@ -57447,18 +61810,25 @@ isolate$.ReceivePort.prototype[dart.isStream] = true; dart.addTypeTests(isolate$.ReceivePort); dart.addTypeCaches(isolate$.ReceivePort); isolate$.ReceivePort[dart.implements] = () => [async.Stream]; -dart.setLibraryUri(isolate$.ReceivePort, I[131]); +dart.setStaticMethodSignature(isolate$.ReceivePort, () => ['new', 'fromRawReceivePort']); +dart.setLibraryUri(isolate$.ReceivePort, I[134]); +dart.setStaticFieldSignature(isolate$.ReceivePort, () => ['_redirecting#']); isolate$.RawReceivePort = class RawReceivePort extends core.Object { static new(handler = null, debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); return isolate$._unsupported(); } + static ['_#new#tearOff'](handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); + return isolate$.RawReceivePort.new(handler, debugName); + } }; (isolate$.RawReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.RawReceivePort.prototype; dart.addTypeTests(isolate$.RawReceivePort); dart.addTypeCaches(isolate$.RawReceivePort); -dart.setLibraryUri(isolate$.RawReceivePort, I[131]); +dart.setStaticMethodSignature(isolate$.RawReceivePort, () => ['new']); +dart.setLibraryUri(isolate$.RawReceivePort, I[134]); var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); var _description = dart.privateName(isolate$, "_description"); isolate$.RemoteError = class RemoteError extends core.Object { @@ -57468,13 +61838,18 @@ isolate$.RemoteError = class RemoteError extends core.Object { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](description, stackDescription) { + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); + return new isolate$.RemoteError.new(description, stackDescription); + } toString() { return this[_description]; } }; (isolate$.RemoteError.new = function(description, stackDescription) { - if (description == null) dart.nullFailed(I[132], 714, 22, "description"); - if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); this[_description] = description; this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); ; @@ -57482,7 +61857,7 @@ isolate$.RemoteError = class RemoteError extends core.Object { dart.addTypeTests(isolate$.RemoteError); dart.addTypeCaches(isolate$.RemoteError); isolate$.RemoteError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(isolate$.RemoteError, I[131]); +dart.setLibraryUri(isolate$.RemoteError, I[134]); dart.setFieldSignature(isolate$.RemoteError, () => ({ __proto__: dart.getFields(isolate$.RemoteError.__proto__), [_description]: dart.finalFieldType(core.String), @@ -57492,46 +61867,138 @@ dart.defineExtensionMethods(isolate$.RemoteError, ['toString']); dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { static fromList(list) { - if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); return isolate$._unsupported(); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); + return isolate$.TransferableTypedData.fromList(list); + } }; (isolate$.TransferableTypedData[dart.mixinNew] = function() { }).prototype = isolate$.TransferableTypedData.prototype; dart.addTypeTests(isolate$.TransferableTypedData); dart.addTypeCaches(isolate$.TransferableTypedData); -dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); +dart.setStaticMethodSignature(isolate$.TransferableTypedData, () => ['fromList']); +dart.setLibraryUri(isolate$.TransferableTypedData, I[134]); +var _run$0 = dart.privateName(isolate$, "_run"); +const _is__RemoteRunner_default = Symbol('_is__RemoteRunner_default'); +isolate$._RemoteRunner$ = dart.generic(R => { + var __t$FutureOfR = () => (__t$FutureOfR = dart.constFn(async.Future$(R)))(); + class _RemoteRunner extends core.Object { + static ['_#new#tearOff'](R, computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + return new (isolate$._RemoteRunner$(R)).new(computation, resultPort); + } + static _remoteExecute(runner) { + if (runner == null) dart.nullFailed(I[135], 947, 53, "runner"); + runner[_run$0](); + } + [_run$0]() { + return async.async(dart.void, (function* _run() { + let result = null; + try { + let potentiallyAsyncResult = this.computation(); + if (__t$FutureOfR().is(potentiallyAsyncResult)) { + result = (yield potentiallyAsyncResult); + } else { + result = potentiallyAsyncResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list2(e, s)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else + throw e$; + } + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list1(result)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + }).bind(this)); + } + static _list1(value) { + return T$.ListOfObjectN().filled(1, value); + } + static _list2(value1, value2) { + let t199; + t199 = T$.ListOfObjectN().filled(2, value1); + return (() => { + t199[$_set](1, value2); + return t199; + })(); + } + } + (_RemoteRunner.new = function(computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + this.computation = computation; + this.resultPort = resultPort; + ; + }).prototype = _RemoteRunner.prototype; + dart.addTypeTests(_RemoteRunner); + _RemoteRunner.prototype[_is__RemoteRunner_default] = true; + dart.addTypeCaches(_RemoteRunner); + dart.setMethodSignature(_RemoteRunner, () => ({ + __proto__: dart.getMethods(_RemoteRunner.__proto__), + [_run$0]: dart.fnType(dart.void, []) + })); + dart.setStaticMethodSignature(_RemoteRunner, () => ['_remoteExecute', '_list1', '_list2']); + dart.setLibraryUri(_RemoteRunner, I[134]); + dart.setFieldSignature(_RemoteRunner, () => ({ + __proto__: dart.getFields(_RemoteRunner.__proto__), + computation: dart.finalFieldType(dart.fnType(async.FutureOr$(R), [])), + resultPort: dart.finalFieldType(isolate$.SendPort) + })); + return _RemoteRunner; +}); +isolate$._RemoteRunner = isolate$._RemoteRunner$(); +dart.addTypeTests(isolate$._RemoteRunner, _is__RemoteRunner_default); isolate$.Capability = class Capability extends core.Object { static new() { return isolate$._unsupported(); } + static ['_#new#tearOff']() { + return isolate$.Capability.new(); + } }; (isolate$.Capability[dart.mixinNew] = function() { }).prototype = isolate$.Capability.prototype; dart.addTypeTests(isolate$.Capability); dart.addTypeCaches(isolate$.Capability); -dart.setLibraryUri(isolate$.Capability, I[131]); +dart.setStaticMethodSignature(isolate$.Capability, () => ['new']); +dart.setLibraryUri(isolate$.Capability, I[134]); isolate$._unsupported = function _unsupported() { dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); }; var _dartObj$ = dart.privateName(js, "_dartObj"); -js._DartObject = class _DartObject extends core.Object {}; +js._DartObject = class _DartObject extends core.Object { + static ['_#new#tearOff'](_dartObj) { + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); + return new js._DartObject.new(_dartObj); + } +}; (js._DartObject.new = function(_dartObj) { - if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); this[_dartObj$] = _dartObj; ; }).prototype = js._DartObject.prototype; dart.addTypeTests(js._DartObject); dart.addTypeCaches(js._DartObject); -dart.setLibraryUri(js._DartObject, I[134]); +dart.setLibraryUri(js._DartObject, I[137]); dart.setFieldSignature(js._DartObject, () => ({ __proto__: dart.getFields(js._DartObject.__proto__), [_dartObj$]: dart.finalFieldType(core.Object) })); var _jsObject$ = dart.privateName(js, "_jsObject"); js.JsObject = class JsObject extends core.Object { + static ['_#_fromJs#tearOff'](_jsObject) { + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); + return new js.JsObject._fromJs(_jsObject); + } static _convertDataTree(data) { - if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + if (data == null) dart.nullFailed(I[136], 57, 34, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -57557,30 +62024,42 @@ js.JsObject = class JsObject extends core.Object { return _convert(data); } static new(constructor, $arguments = null) { - if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); let ctor = constructor[_jsObject$]; if ($arguments == null) { return js._wrapToDart(new ctor()); } - let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[219] || CT.C219)); return js._wrapToDart(new ctor(...unwrapped)); } + static ['_#new#tearOff'](constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); + return js.JsObject.new(constructor, $arguments); + } static fromBrowserObject(object) { - if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); } return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); } + static ['_#fromBrowserObject#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); + return js.JsObject.fromBrowserObject(object); + } static jsify(object) { - if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); if (!core.Map.is(object) && !core.Iterable.is(object)) { dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); } return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); } + static ['_#jsify#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); + return js.JsObject.jsify(object); + } _get(property) { - if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (property == null) dart.nullFailed(I[136], 85, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57588,7 +62067,7 @@ js.JsObject = class JsObject extends core.Object { } _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (property == null) dart.nullFailed(I[136], 93, 28, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57603,21 +62082,21 @@ js.JsObject = class JsObject extends core.Object { return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; } hasProperty(property) { - if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (property == null) dart.nullFailed(I[136], 105, 27, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } return property in this[_jsObject$]; } deleteProperty(property) { - if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (property == null) dart.nullFailed(I[136], 113, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } delete this[_jsObject$][property]; } instanceof(type) { - if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + if (type == null) dart.nullFailed(I[136], 121, 30, "type"); return this[_jsObject$] instanceof js._convertToJS(type); } toString() { @@ -57632,11 +62111,11 @@ js.JsObject = class JsObject extends core.Object { } } callMethod(method, args = null) { - if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (method == null) dart.nullFailed(I[136], 135, 29, "method"); if (!(typeof method == 'string') && !(typeof method == 'number')) { dart.throw(new core.ArgumentError.new("method is not a String or num")); } - if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[219] || CT.C219)); let fn = this[_jsObject$][method]; if (typeof fn !== "function") { dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); @@ -57645,9 +62124,9 @@ js.JsObject = class JsObject extends core.Object { } }; (js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); this[_jsObject$] = _jsObject; - if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[136], 28, 12, "_jsObject != null"); }).prototype = js.JsObject.prototype; dart.addTypeTests(js.JsObject); dart.addTypeCaches(js.JsObject); @@ -57660,7 +62139,8 @@ dart.setMethodSignature(js.JsObject, () => ({ instanceof: dart.fnType(core.bool, [js.JsFunction]), callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) })); -dart.setLibraryUri(js.JsObject, I[134]); +dart.setStaticMethodSignature(js.JsObject, () => ['_convertDataTree', 'new', 'fromBrowserObject', 'jsify']); +dart.setLibraryUri(js.JsObject, I[137]); dart.setFieldSignature(js.JsObject, () => ({ __proto__: dart.getFields(js.JsObject.__proto__), [_jsObject$]: dart.finalFieldType(core.Object) @@ -57668,8 +62148,12 @@ dart.setFieldSignature(js.JsObject, () => ({ dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); dart.defineExtensionAccessors(js.JsObject, ['hashCode']); js.JsFunction = class JsFunction extends js.JsObject { + static ['_#_fromJs#tearOff'](jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); + return new js.JsFunction._fromJs(jsObject); + } static withThis(f) { - if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); return new js.JsFunction._fromJs(function() { let args = [js._convertToDart(this)]; for (let arg of arguments) { @@ -57678,14 +62162,18 @@ js.JsFunction = class JsFunction extends js.JsObject { return js._convertToJS(f(...args)); }); } + static ['_#withThis#tearOff'](f) { + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); + return js.JsFunction.withThis(f); + } apply(args, opts) { - if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + if (args == null) dart.nullFailed(I[136], 170, 22, "args"); let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); } }; (js.JsFunction._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); js.JsFunction.__proto__._fromJs.call(this, jsObject); ; }).prototype = js.JsFunction.prototype; @@ -57695,16 +62183,17 @@ dart.setMethodSignature(js.JsFunction, () => ({ __proto__: dart.getMethods(js.JsFunction.__proto__), apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) })); -dart.setLibraryUri(js.JsFunction, I[134]); +dart.setStaticMethodSignature(js.JsFunction, () => ['withThis']); +dart.setLibraryUri(js.JsFunction, I[137]); var _checkIndex = dart.privateName(js, "_checkIndex"); var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); const _is_JsArray_default = Symbol('_is_JsArray_default'); js.JsArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + if (property == null) dart.nullFailed(I[138], 175, 7, "property"); super._set(property, value); return value$; } @@ -57714,22 +62203,26 @@ js.JsArray$ = dart.generic(E => { }).prototype = JsObject_ListMixin$36.prototype; dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); class JsArray extends JsObject_ListMixin$36 { + static ['_#_fromJs#tearOff'](E, jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); + return new (js.JsArray$(E))._fromJs(jsObject); + } [_checkIndex](index) { - if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (index == null) dart.nullFailed(I[136], 190, 19, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } [_checkInsertIndex](index) { - if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (index == null) dart.nullFailed(I[136], 196, 25, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } static _checkRange(start, end, length) { - if (start == null) dart.nullFailed(I[133], 200, 26, "start"); - if (end == null) dart.nullFailed(I[133], 200, 37, "end"); - if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (start == null) dart.nullFailed(I[136], 202, 26, "start"); + if (end == null) dart.nullFailed(I[136], 202, 37, "end"); + if (length == null) dart.nullFailed(I[136], 202, 46, "length"); if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -57740,16 +62233,23 @@ js.JsArray$ = dart.generic(E => { static new() { return new (js.JsArray$(E))._fromJs([]); } + static ['_#new#tearOff'](E) { + return js.JsArray$(E).new(); + } static from(other) { - let t219; - if (other == null) dart.nullFailed(I[133], 183, 36, "other"); - return new (js.JsArray$(E))._fromJs((t219 = [], (() => { - t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); - return t219; + let t200; + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return new (js.JsArray$(E))._fromJs((t200 = [], (() => { + t200[$addAll](other[$map](dart.dynamic, C[219] || CT.C219)); + return t200; })())); } + static ['_#from#tearOff'](E, other) { + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return js.JsArray$(E).from(other); + } _get(index) { - if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (index == null) dart.nullFailed(I[136], 212, 24, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57757,7 +62257,7 @@ js.JsArray$ = dart.generic(E => { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (index == null) dart.nullFailed(I[136], 220, 28, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57772,7 +62272,7 @@ js.JsArray$ = dart.generic(E => { dart.throw(new core.StateError.new("Bad JsArray length")); } set length(length) { - if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + if (length == null) dart.nullFailed(I[136], 240, 23, "length"); super._set("length", length); } add(value) { @@ -57780,19 +62280,19 @@ js.JsArray$ = dart.generic(E => { this.callMethod("push", [value]); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 250, 27, "iterable"); let list = iterable instanceof Array ? iterable : core.List.from(iterable); this.callMethod("push", list); } insert(index, element) { - if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + if (index == null) dart.nullFailed(I[136], 258, 19, "index"); E.as(element); this[_checkInsertIndex](index); this.callMethod("splice", [index, 0, element]); } removeAt(index) { - if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + if (index == null) dart.nullFailed(I[136], 264, 18, "index"); this[_checkIndex](index); return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); } @@ -57801,25 +62301,25 @@ js.JsArray$ = dart.generic(E => { return E.as(this.callMethod("pop")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[133], 274, 24, "start"); - if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + if (start == null) dart.nullFailed(I[136], 276, 24, "start"); + if (end == null) dart.nullFailed(I[136], 276, 35, "end"); js.JsArray._checkRange(start, end, this.length); this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); } setRange(start, end, iterable, skipCount = 0) { - let t219; - if (start == null) dart.nullFailed(I[133], 280, 21, "start"); - if (end == null) dart.nullFailed(I[133], 280, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + let t200; + if (start == null) dart.nullFailed(I[136], 282, 21, "start"); + if (end == null) dart.nullFailed(I[136], 282, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 282, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[136], 282, 64, "skipCount"); js.JsArray._checkRange(start, end, this.length); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t219[$addAll](iterable[$skip](skipCount)[$take](length)); - return t219; + let args = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t200[$addAll](iterable[$skip](skipCount)[$take](length)); + return t200; })()); this.callMethod("splice", args); } @@ -57828,7 +62328,7 @@ js.JsArray$ = dart.generic(E => { } } (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); JsArray.__proto__._fromJs.call(this, jsObject); ; }).prototype = JsArray.prototype; @@ -57844,6 +62344,7 @@ js.JsArray$ = dart.generic(E => { _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) })); + dart.setStaticMethodSignature(JsArray, () => ['_checkRange', 'new', 'from']); dart.setGetterSignature(JsArray, () => ({ __proto__: dart.getGetters(JsArray.__proto__), length: core.int, @@ -57854,7 +62355,7 @@ js.JsArray$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(JsArray, I[134]); + dart.setLibraryUri(JsArray, I[137]); dart.defineExtensionMethods(JsArray, [ '_get', '_set', @@ -57873,7 +62374,7 @@ js.JsArray$ = dart.generic(E => { js.JsArray = js.JsArray$(); dart.addTypeTests(js.JsArray, _is_JsArray_default); js._isBrowserType = function _isBrowserType(o) { - if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + if (o == null) dart.nullFailed(I[136], 303, 28, "o"); return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); }; js._convertToJS = function _convertToJS(o) { @@ -57884,16 +62385,16 @@ js._convertToJS = function _convertToJS(o) { } else if (js.JsObject.is(o)) { return o[_jsObject$]; } else if (core.Function.is(o)) { - return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + return js._putIfAbsent(js._jsProxies, o, C[220] || CT.C220); } else { return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { - if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + if (o == null) dart.nullFailed(I[136], 344, 41, "o"); return new js._DartObject.new(o); }, T$0.ObjectTo_DartObject())); } }; js._wrapDartFunction = function _wrapDartFunction(f) { - if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + if (f == null) dart.nullFailed(I[136], 348, 33, "f"); let wrapper = function() { let args = Array.prototype.map.call(arguments, js._convertToDart); return js._convertToJS(f(...args)); @@ -57907,18 +62408,18 @@ js._convertToDart = function _convertToDart(o) { } else if (o instanceof Date) { let ms = o.getTime(); return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + } else if (js._DartObject.is(o) && dart.getReifiedType(o) !== _interceptors.LegacyJavaScriptObject) { return o[_dartObj$]; } else { return js._wrapToDart(o); } }; js._wrapToDart = function _wrapToDart(o) { - if (o == null) dart.nullFailed(I[133], 377, 29, "o"); - return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); + if (o == null) dart.nullFailed(I[136], 380, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[221] || CT.C221); }; js._wrapToDartHelper = function _wrapToDartHelper(o) { - if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (o == null) dart.nullFailed(I[136], 383, 35, "o"); if (typeof o == "function") { return new js.JsFunction._fromJs(o); } @@ -57928,9 +62429,9 @@ js._wrapToDartHelper = function _wrapToDartHelper(o) { return new js.JsObject._fromJs(o); }; js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { - if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); - if (o == null) dart.nullFailed(I[133], 394, 42, "o"); - if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + if (weakMap == null) dart.nullFailed(I[136], 397, 26, "weakMap"); + if (o == null) dart.nullFailed(I[136], 397, 42, "o"); + if (getValue == null) dart.nullFailed(I[136], 397, 47, "getValue"); let value = weakMap.get(o); if (value == null) { value = getValue(o); @@ -57939,7 +62440,7 @@ js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { return value; }; js.allowInterop = function allowInterop(F, f) { - if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (f == null) dart.nullFailed(I[136], 410, 38, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = dart.nullable(F).as(js._interopExpando._get(f)); if (ret == null) { @@ -57951,7 +62452,7 @@ js.allowInterop = function allowInterop(F, f) { return ret; }; js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { - if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (f == null) dart.nullFailed(I[136], 429, 43, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = js._interopCaptureThisExpando._get(f); if (ret == null) { @@ -57982,11 +62483,15 @@ dart.defineLazy(js, { /*js._interopExpando*/get _interopExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopExpando(_) {}, + set _interopExpando(value) { + if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); + }, /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopCaptureThisExpando(_) {} + set _interopCaptureThisExpando(value) { + if (value == null) dart.nullFailed(I[136], 426, 19, "_interopCaptureThisExpando"); + } }, false); var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); js_util.NullRejectionException = class NullRejectionException extends core.Object { @@ -57996,34 +62501,31 @@ js_util.NullRejectionException = class NullRejectionException extends core.Objec set isUndefined(value) { super.isUndefined = value; } + static ['_#_#tearOff'](isUndefined) { + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); + return new js_util.NullRejectionException.__(isUndefined); + } toString() { let value = dart.test(this.isUndefined) ? "undefined" : "null"; return "Promise was rejected with a value of `" + value + "`."; } }; (js_util.NullRejectionException.__ = function(isUndefined) { - if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); this[isUndefined$] = isUndefined; ; }).prototype = js_util.NullRejectionException.prototype; dart.addTypeTests(js_util.NullRejectionException); dart.addTypeCaches(js_util.NullRejectionException); js_util.NullRejectionException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(js_util.NullRejectionException, I[137]); +dart.setLibraryUri(js_util.NullRejectionException, I[140]); dart.setFieldSignature(js_util.NullRejectionException, () => ({ __proto__: dart.getFields(js_util.NullRejectionException.__proto__), isUndefined: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); -js_util.jsify = function jsify(object) { - if (object == null) dart.nullFailed(I[136], 33, 22, "object"); - if (!core.Map.is(object) && !core.Iterable.is(object)) { - dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); - } - return js_util._convertDataTree(object); -}; js_util._convertDataTree = function _convertDataTree(data) { - if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + if (data == null) dart.nullFailed(I[141], 21, 32, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -58048,41 +62550,148 @@ js_util._convertDataTree = function _convertDataTree(data) { dart.fn(_convert, T$.ObjectNToObjectN()); return dart.nullCheck(_convert(data)); }; -js_util.newObject = function newObject() { +js_util._getPropertyTrustType = function _getPropertyTrustType(T, o, name) { + if (o == null) dart.nullFailed(I[141], 63, 35, "o"); + if (name == null) dart.nullFailed(I[141], 63, 45, "name"); + return o[name]; +}; +js_util._setPropertyUnchecked = function _setPropertyUnchecked(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 74, 35, "o"); + if (name == null) dart.nullFailed(I[141], 74, 45, "name"); + return o[name] = value; +}; +js_util._callMethodTrustType = function _callMethodTrustType(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 85, 34, "o"); + if (method == null) dart.nullFailed(I[141], 85, 44, "method"); + if (args == null) dart.nullFailed(I[141], 85, 66, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); +}; +js_util._callMethodUnchecked0 = function _callMethodUnchecked0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 92, 35, "o"); + if (method == null) dart.nullFailed(I[141], 92, 45, "method"); + return T.as(o[method]()); +}; +js_util._callMethodUncheckedTrustType0 = function _callMethodUncheckedTrustType0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 99, 44, "o"); + if (method == null) dart.nullFailed(I[141], 99, 54, "method"); + return o[method](); +}; +js_util._callMethodUnchecked1 = function _callMethodUnchecked1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 105, 35, "o"); + if (method == null) dart.nullFailed(I[141], 105, 45, "method"); + return T.as(o[method](arg1)); +}; +js_util._callMethodUncheckedTrustType1 = function _callMethodUncheckedTrustType1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 112, 44, "o"); + if (method == null) dart.nullFailed(I[141], 112, 54, "method"); + return o[method](arg1); +}; +js_util._callMethodUnchecked2 = function _callMethodUnchecked2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 119, 12, "o"); + if (method == null) dart.nullFailed(I[141], 119, 22, "method"); + return T.as(o[method](arg1, arg2)); +}; +js_util._callMethodUncheckedTrustType2 = function _callMethodUncheckedTrustType2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 127, 12, "o"); + if (method == null) dart.nullFailed(I[141], 127, 22, "method"); + return o[method](arg1, arg2); +}; +js_util._callMethodUnchecked3 = function _callMethodUnchecked3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 134, 12, "o"); + if (method == null) dart.nullFailed(I[141], 134, 22, "method"); + return T.as(o[method](arg1, arg2, arg3)); +}; +js_util._callMethodUncheckedTrustType3 = function _callMethodUncheckedTrustType3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 143, 12, "o"); + if (method == null) dart.nullFailed(I[141], 143, 22, "method"); + return o[method](arg1, arg2, arg3); +}; +js_util._callMethodUnchecked4 = function _callMethodUnchecked4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 149, 35, "o"); + if (method == null) dart.nullFailed(I[141], 149, 45, "method"); + return T.as(o[method](arg1, arg2, arg3, arg4)); +}; +js_util._callMethodUncheckedTrustType4 = function _callMethodUncheckedTrustType4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 158, 44, "o"); + if (method == null) dart.nullFailed(I[141], 158, 54, "method"); + return o[method](arg1, arg2, arg3, arg4); +}; +js_util._callConstructorUnchecked0 = function _callConstructorUnchecked0(T, constr) { + if (constr == null) dart.nullFailed(I[141], 233, 40, "constr"); + return T.as(new constr()); +}; +js_util._callConstructorUnchecked1 = function _callConstructorUnchecked1(T, constr, arg1) { + if (constr == null) dart.nullFailed(I[141], 239, 40, "constr"); + return T.as(new constr(arg1)); +}; +js_util._callConstructorUnchecked2 = function _callConstructorUnchecked2(T, constr, arg1, arg2) { + if (constr == null) dart.nullFailed(I[141], 245, 40, "constr"); + return T.as(new constr(arg1, arg2)); +}; +js_util._callConstructorUnchecked3 = function _callConstructorUnchecked3(T, constr, arg1, arg2, arg3) { + if (constr == null) dart.nullFailed(I[141], 252, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3)); +}; +js_util._callConstructorUnchecked4 = function _callConstructorUnchecked4(T, constr, arg1, arg2, arg3, arg4) { + if (constr == null) dart.nullFailed(I[141], 259, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3, arg4)); +}; +js_util._isJavaScriptDate = function _isJavaScriptDate(value) { + return value instanceof Date; +}; +js_util._isJavaScriptRegExp = function _isJavaScriptRegExp(value) { + return value instanceof RegExp; +}; +js_util._isJavaScriptPromise = function _isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; +}; +js_util._dateToDateTime = function _dateToDateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); +}; +js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[141], 14, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); +}; +js_util.newObject = function newObject(T) { return {}; }; js_util.hasProperty = function hasProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 69, 25, "o"); - if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + if (o == null) dart.nullFailed(I[141], 56, 25, "o"); + if (name == null) dart.nullFailed(I[141], 56, 35, "name"); return name in o; }; -js_util.getProperty = function getProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 71, 28, "o"); - if (name == null) dart.nullFailed(I[136], 71, 38, "name"); - return o[name]; +js_util.getProperty = function getProperty(T, o, name) { + if (o == null) dart.nullFailed(I[141], 59, 25, "o"); + if (name == null) dart.nullFailed(I[141], 59, 35, "name"); + return T.as(o[name]); }; -js_util.setProperty = function setProperty(o, name, value) { - if (o == null) dart.nullFailed(I[136], 74, 28, "o"); - if (name == null) dart.nullFailed(I[136], 74, 38, "name"); +js_util.setProperty = function setProperty(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 67, 25, "o"); + if (name == null) dart.nullFailed(I[141], 67, 35, "name"); _js_helper.assertInterop(value); return o[name] = value; }; -js_util.callMethod = function callMethod$(o, method, args) { - if (o == null) dart.nullFailed(I[136], 79, 27, "o"); - if (method == null) dart.nullFailed(I[136], 79, 37, "method"); - if (args == null) dart.nullFailed(I[136], 79, 59, "args"); +js_util.callMethod = function callMethod$(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 79, 24, "o"); + if (method == null) dart.nullFailed(I[141], 79, 34, "method"); + if (args == null) dart.nullFailed(I[141], 79, 56, "args"); _js_helper.assertInteropArgs(args); - return o[method].apply(o, args); + return T.as(o[method].apply(o, args)); }; js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + if (type == null) dart.nullFailed(I[141], 165, 35, "type"); return o instanceof type; }; -js_util.callConstructor = function callConstructor(constr, $arguments) { - let t219; - if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); +js_util.callConstructor = function callConstructor(T, constr, $arguments) { + let t200; + if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); if ($arguments == null) { - return new constr(); + return T.as(new constr()); } else { _js_helper.assertInteropArgs($arguments); } @@ -58090,47 +62699,89 @@ js_util.callConstructor = function callConstructor(constr, $arguments) { let argumentCount = $arguments.length; switch (argumentCount) { case 0: - { - return new constr(); - } + { + return T.as(new constr()); + } case 1: - { - let arg0 = $arguments[0]; - return new constr(arg0); - } + { + let arg0 = $arguments[0]; + return T.as(new constr(arg0)); + } case 2: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - return new constr(arg0, arg1); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return T.as(new constr(arg0, arg1)); + } case 3: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - return new constr(arg0, arg1, arg2); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return T.as(new constr(arg0, arg1, arg2)); + } case 4: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - let arg3 = $arguments[3]; - return new constr(arg0, arg1, arg2, arg3); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return T.as(new constr(arg0, arg1, arg2, arg3)); + } } } - let args = (t219 = [null], (() => { - t219[$addAll]($arguments); - return t219; + let args = (t200 = [null], (() => { + t200[$addAll]($arguments); + return t200; })()); let factoryFunction = constr.bind.apply(constr, args); String(factoryFunction); - return new factoryFunction(); + return T.as(new factoryFunction()); +}; +js_util.add = function add(T, first, second) { + return T.as(first + second); +}; +js_util.subtract = function subtract(T, first, second) { + return T.as(first - second); +}; +js_util.multiply = function multiply(T, first, second) { + return T.as(first * second); +}; +js_util.divide = function divide(T, first, second) { + return T.as(first / second); +}; +js_util.exponentiate = function exponentiate(T, first, second) { + return T.as(first ** second); +}; +js_util.modulo = function modulo(T, first, second) { + return T.as(first % second); +}; +js_util.equal = function equal(T, first, second) { + return first == second; +}; +js_util.strictEqual = function strictEqual(T, first, second) { + return first === second; +}; +js_util.notEqual = function notEqual(T, first, second) { + return first != second; +}; +js_util.strictNotEqual = function strictNotEqual(T, first, second) { + return first !== second; +}; +js_util.greaterThan = function greaterThan(T, first, second) { + return first > second; +}; +js_util.greaterThanOrEqual = function greaterThanOrEqual(T, first, second) { + return first >= second; +}; +js_util.lessThan = function lessThan(T, first, second) { + return first < second; +}; +js_util.lessThanOrEqual = function lessThanOrEqual(T, first, second) { + return first <= second; }; js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { - if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + if (jsPromise == null) dart.nullFailed(I[141], 349, 37, "jsPromise"); let completer = async.Completer$(T).new(); let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { @@ -58142,9 +62793,90 @@ js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { jsPromise.then(success, error); return completer.future; }; +js_util._getConstructor = function _getConstructor(constructorName) { + if (constructorName == null) dart.nullFailed(I[139], 132, 32, "constructorName"); + return js_util.getProperty(T$.ObjectN(), js_util.globalThis, constructorName); +}; +js_util.instanceOfString = function instanceOfString(element, objectType) { + if (objectType == null) dart.nullFailed(I[139], 137, 47, "objectType"); + let constructor = js_util._getConstructor(objectType); + return constructor != null && dart.test(js_util.instanceof(element, constructor)); +}; +js_util.objectGetPrototypeOf = function objectGetPrototypeOf(object) { + return Object.getPrototypeOf(object); +}; +js_util.objectKeys = function objectKeys(object) { + return Object.keys(object); +}; +js_util.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; +}; +js_util.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; +}; +js_util.dartify = function dartify(o) { + let _convertedObjects = new _js_helper.IdentityMap.new(); + function convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (o == null || typeof o == 'boolean' || typeof o == 'number' || typeof o == 'string') return o; + if (dart.test(js_util._isJavaScriptDate(o))) { + return js_util._dateToDateTime(o); + } + if (dart.test(js_util._isJavaScriptRegExp(o))) { + dart.throw(new core.ArgumentError.new("structured clone of RegExp")); + } + if (dart.test(js_util._isJavaScriptPromise(o))) { + return js_util.promiseToFuture(dart.dynamic, o); + } + if (dart.test(js_util.isJavaScriptSimpleObject(o))) { + let dartObject = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + _convertedObjects[$_set](o, dartObject); + let originalKeys = js_util.objectKeys(o); + let dartKeys = T$.JSArrayOfObjectN().of([]); + for (let key of originalKeys) { + dartKeys[$add](js_util.dartify(key)); + } + for (let i = 0; i < dart.notNull(originalKeys[$length]); i = i + 1) { + let jsKey = originalKeys[$_get](i); + let dartKey = dartKeys[$_get](i); + if (jsKey != null) { + dartObject[$_set](dartKey, convert(js_util.getProperty(T$.ObjectN(), o, jsKey))); + } + } + return dartObject; + } + if (dart.test(js_util.isJavaScriptArray(o))) { + let l = o; + let dartObject = T$.JSArrayOfObjectN().of([]); + _convertedObjects[$_set](o, dartObject); + let length = js_util.getProperty(core.int, o, "length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + dartObject[$add](convert(l[$_get](i))); + } + return dartObject; + } + return o; + } + dart.fn(convert, T$.ObjectNToObjectN()); + return convert(o); +}; +dart.copyProperties(js_util, { + get globalThis() { + return globalThis; + }, + get objectPrototype() { + return Object.prototype; + } +}); math._JSRandom = class _JSRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSRandom.new(); + } nextInt(max) { - if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (max == null) dart.nullFailed(I[142], 86, 19, "max"); if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); } @@ -58169,11 +62901,15 @@ dart.setMethodSignature(math._JSRandom, () => ({ nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); -dart.setLibraryUri(math._JSRandom, I[139]); +dart.setLibraryUri(math._JSRandom, I[143]); var _lo = dart.privateName(math, "_lo"); var _hi = dart.privateName(math, "_hi"); var _nextState = dart.privateName(math, "_nextState"); math._Random = class _Random extends core.Object { + static ['_#new#tearOff'](seed) { + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); + return new math._Random.new(seed); + } [_nextState]() { let tmpHi = 4294901760 * this[_lo]; let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; @@ -58185,8 +62921,8 @@ math._Random = class _Random extends core.Object { this[_lo] = (newLo & 4294967295.0) >>> 0; let newLoHi = newLo - this[_lo]; this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; - if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); - if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[142], 222, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[142], 223, 12, "_hi < _POW2_32"); } nextInt(max) { if (max == null) dart.argumentError(max); @@ -58219,7 +62955,7 @@ math._Random = class _Random extends core.Object { } }; (math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); this[_lo] = 0; this[_hi] = 0; let empty_seed = 0; @@ -58283,12 +63019,13 @@ dart.setMethodSignature(math._Random, () => ({ nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); -dart.setLibraryUri(math._Random, I[139]); +dart.setLibraryUri(math._Random, I[143]); dart.setFieldSignature(math._Random, () => ({ __proto__: dart.getFields(math._Random.__proto__), [_lo]: dart.fieldType(core.int), [_hi]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(math._Random, () => ['_POW2_53_D', '_POW2_27_D', '_MASK32']); dart.defineLazy(math._Random, { /*math._Random._POW2_53_D*/get _POW2_53_D() { return 9007199254740992.0; @@ -58303,9 +63040,12 @@ dart.defineLazy(math._Random, { var _buffer$0 = dart.privateName(math, "_buffer"); var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); math._JSSecureRandom = class _JSSecureRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSSecureRandom.new(); + } [_getRandomBytes](start, length) { - if (start == null) dart.nullFailed(I[138], 279, 28, "start"); - if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + if (start == null) dart.nullFailed(I[142], 280, 28, "start"); + if (length == null) dart.nullFailed(I[142], 280, 39, "length"); crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); } nextBool() { @@ -58375,7 +63115,7 @@ dart.setMethodSignature(math._JSSecureRandom, () => ({ nextDouble: dart.fnType(core.double, []), nextInt: dart.fnType(core.int, [core.int]) })); -dart.setLibraryUri(math._JSSecureRandom, I[139]); +dart.setLibraryUri(math._JSSecureRandom, I[143]); dart.setFieldSignature(math._JSSecureRandom, () => ({ __proto__: dart.getFields(math._JSSecureRandom.__proto__), [_buffer$0]: dart.finalFieldType(typed_data.ByteData) @@ -58384,7 +63124,7 @@ var x$2 = dart.privateName(math, "Point.x"); var y$2 = dart.privateName(math, "Point.y"); const _is_Point_default = Symbol('_is_Point_default'); math.Point$ = dart.generic(T => { - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class Point extends core.Object { get x() { return this[x$2]; @@ -58398,6 +63138,11 @@ math.Point$ = dart.generic(T => { set y(value) { super.y = value; } + static ['_#new#tearOff'](T, x, y) { + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); + return new (math.Point$(T)).new(x, y); + } toString() { return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; } @@ -58409,40 +63154,40 @@ math.Point$ = dart.generic(T => { return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); } ['+'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 32, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 50, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); } ['-'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 39, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 63, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + if (factor == null) dart.nullFailed(I[144], 85, 37, "factor"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); } get magnitude() { return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); } distanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 108, 30, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return math.sqrt(dx * dx + dy * dy); } squaredDistanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 130, 32, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return T.as(dx * dx + dy * dy); } } (Point.new = function(x, y) { - if (x == null) dart.nullFailed(I[140], 13, 17, "x"); - if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); this[x$2] = x; this[y$2] = y; ; @@ -58462,7 +63207,7 @@ math.Point$ = dart.generic(T => { __proto__: dart.getGetters(Point.__proto__), magnitude: core.double })); - dart.setLibraryUri(Point, I[139]); + dart.setLibraryUri(Point, I[143]); dart.setFieldSignature(Point, () => ({ __proto__: dart.getFields(Point.__proto__), x: dart.finalFieldType(T), @@ -58476,29 +63221,34 @@ math.Point = math.Point$(); dart.addTypeTests(math.Point, _is_Point_default); math.Random = class Random extends core.Object { static new(seed = null) { - return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + return seed == null ? C[222] || CT.C222 : new math._Random.new(seed); + } + static ['_#new#tearOff'](seed = null) { + return math.Random.new(seed); } static secure() { - let t219; - t219 = math.Random._secureRandom; - return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + return math.Random._secureRandom; + } + static ['_#secure#tearOff']() { + return math.Random.secure(); } }; (math.Random[dart.mixinNew] = function() { }).prototype = math.Random.prototype; dart.addTypeTests(math.Random); dart.addTypeCaches(math.Random); -dart.setLibraryUri(math.Random, I[139]); +dart.setStaticMethodSignature(math.Random, () => ['new', 'secure']); +dart.setLibraryUri(math.Random, I[143]); +dart.setStaticFieldSignature(math.Random, () => ['_secureRandom']); dart.defineLazy(math.Random, { /*math.Random._secureRandom*/get _secureRandom() { - return null; - }, - set _secureRandom(_) {} + return new math._JSSecureRandom.new(); + } }, false); const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); math._RectangleBase$ = dart.generic(T => { - var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$RectangleOfT = () => (__t$RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class _RectangleBase extends core.Object { get right() { return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); @@ -58517,51 +63267,51 @@ math._RectangleBase$ = dart.generic(T => { return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); } intersection(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 61, 43, "other"); let x0 = math.max(T, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { let y0 = math.max(T, this[$top], other[$top]); let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); if (y0 <= y1) { - return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + return new (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); } } return null; } intersects(other) { - if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + if (other == null) dart.nullFailed(I[145], 77, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } boundingBox(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 85, 41, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(T, this[$left], other[$left]); let top = math.min(T, this[$top], other[$top]); - return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + return new (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + if (another == null) dart.nullFailed(I[145], 96, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + if (another == null) dart.nullFailed(I[145], 104, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get topLeft() { - return new (PointOfT()).new(this[$left], this[$top]); + return new (__t$PointOfT()).new(this[$left], this[$top]); } get topRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); } get bottomRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } get bottomLeft() { - return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } } (_RectangleBase.new = function() { @@ -58598,7 +63348,7 @@ math._RectangleBase$ = dart.generic(T => { bottomLeft: math.Point$(T), [$bottomLeft]: math.Point$(T) })); - dart.setLibraryUri(_RectangleBase, I[139]); + dart.setLibraryUri(_RectangleBase, I[143]); dart.defineExtensionMethods(_RectangleBase, [ 'toString', '_equals', @@ -58652,32 +63402,45 @@ math.Rectangle$ = dart.generic(T => { set height(value) { super.height = value; } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); + return new (math.Rectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 154, 41, "a"); - if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.Rectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); + return math.Rectangle$(T).fromPoints(a, b); + } } (Rectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 138, 24, "left"); - if (top == null) dart.nullFailed(I[141], 138, 35, "top"); - if (width == null) dart.nullFailed(I[141], 138, 42, "width"); - if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); this[left$] = left; this[top$] = top; - this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); - this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + this[width$] = T.as(dart.notNull(width) < 0 ? width === -1 / 0 ? 0.0 : -dart.notNull(width) * 0 : dart.notNull(width) + 0); + this[height$] = T.as(dart.notNull(height) < 0 ? height === -1 / 0 ? 0.0 : -dart.notNull(height) * 0 : dart.notNull(height) + 0); Rectangle.__proto__.new.call(this); ; }).prototype = Rectangle.prototype; dart.addTypeTests(Rectangle); Rectangle.prototype[_is_Rectangle_default] = true; dart.addTypeCaches(Rectangle); - dart.setLibraryUri(Rectangle, I[139]); + dart.setStaticMethodSignature(Rectangle, () => ['fromPoints']); + dart.setLibraryUri(Rectangle, I[143]); dart.setFieldSignature(Rectangle, () => ({ __proto__: dart.getFields(Rectangle.__proto__), left: dart.finalFieldType(T), @@ -58701,29 +63464,43 @@ math.MutableRectangle$ = dart.generic(T => { return this[left$0]; } set left(value) { + if (value == null) dart.nullFailed(I[145], 195, 5, "left"); this[left$0] = T.as(value); } get top() { return this[top$0]; } set top(value) { + if (value == null) dart.nullFailed(I[145], 200, 5, "top"); this[top$0] = T.as(value); } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 205, 48, "a"); - if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.MutableRectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); + return math.MutableRectangle$(T).fromPoints(a, b); + } get width() { return this[_width]; } set width(width) { T.as(width); - if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (width == null) dart.nullFailed(I[145], 281, 15, "width"); if (dart.notNull(width) < 0) width = math._clampToZero(T, width); this[_width] = width; } @@ -58732,20 +63509,20 @@ math.MutableRectangle$ = dart.generic(T => { } set height(height) { T.as(height); - if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (height == null) dart.nullFailed(I[145], 295, 16, "height"); if (dart.notNull(height) < 0) height = math._clampToZero(T, height); this[_height] = height; } } (MutableRectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 191, 25, "left"); - if (top == null) dart.nullFailed(I[141], 191, 36, "top"); - if (width == null) dart.nullFailed(I[141], 191, 43, "width"); - if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); this[left$0] = left; this[top$0] = top; - this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; - this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + this[_width] = T.as(dart.notNull(width) < 0 ? math._clampToZero(T, width) : dart.notNull(width) + 0); + this[_height] = T.as(dart.notNull(height) < 0 ? math._clampToZero(T, height) : dart.notNull(height) + 0); MutableRectangle.__proto__.new.call(this); ; }).prototype = MutableRectangle.prototype; @@ -58753,6 +63530,7 @@ math.MutableRectangle$ = dart.generic(T => { MutableRectangle.prototype[_is_MutableRectangle_default] = true; dart.addTypeCaches(MutableRectangle); MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setStaticMethodSignature(MutableRectangle, () => ['fromPoints']); dart.setGetterSignature(MutableRectangle, () => ({ __proto__: dart.getGetters(MutableRectangle.__proto__), width: T, @@ -58767,7 +63545,7 @@ math.MutableRectangle$ = dart.generic(T => { height: dart.nullable(core.Object), [$height]: dart.nullable(core.Object) })); - dart.setLibraryUri(MutableRectangle, I[139]); + dart.setLibraryUri(MutableRectangle, I[143]); dart.setFieldSignature(MutableRectangle, () => ({ __proto__: dart.getFields(MutableRectangle.__proto__), left: dart.fieldType(T), @@ -58837,8 +63615,9 @@ math.log = function log$(x) { return Math.log(x); }; math._clampToZero = function _clampToZero(T, value) { - if (value == null) dart.nullFailed(I[141], 245, 33, "value"); - if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + if (value == null) dart.nullFailed(I[145], 304, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[145], 305, 10, "value < 0"); + if (value === -1 / 0) return T.as(0.0); return T.as(-dart.notNull(value) * 0); }; dart.defineLazy(math, { @@ -58870,644 +63649,86 @@ dart.defineLazy(math, { return 1.4142135623730951; } }, false); -typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; -(typed_data.ByteBuffer.new = function() { - ; -}).prototype = typed_data.ByteBuffer.prototype; -dart.addTypeTests(typed_data.ByteBuffer); -dart.addTypeCaches(typed_data.ByteBuffer); -dart.setLibraryUri(typed_data.ByteBuffer, I[60]); -typed_data.TypedData = class TypedData extends core.Object {}; -(typed_data.TypedData.new = function() { - ; -}).prototype = typed_data.TypedData.prototype; -dart.addTypeTests(typed_data.TypedData); -dart.addTypeCaches(typed_data.TypedData); -dart.setLibraryUri(typed_data.TypedData, I[60]); -typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; -(typed_data._TypedIntList.new = function() { - ; -}).prototype = typed_data._TypedIntList.prototype; -dart.addTypeTests(typed_data._TypedIntList); -dart.addTypeCaches(typed_data._TypedIntList); -dart.setLibraryUri(typed_data._TypedIntList, I[60]); -typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; -(typed_data._TypedFloatList.new = function() { - ; -}).prototype = typed_data._TypedFloatList.prototype; -dart.addTypeTests(typed_data._TypedFloatList); -dart.addTypeCaches(typed_data._TypedFloatList); -dart.setLibraryUri(typed_data._TypedFloatList, I[60]); -var _littleEndian = dart.privateName(typed_data, "_littleEndian"); -const _littleEndian$ = Endian__littleEndian; -typed_data.Endian = class Endian extends core.Object { - get [_littleEndian]() { - return this[_littleEndian$]; - } - set [_littleEndian](value) { - super[_littleEndian] = value; - } -}; -(typed_data.Endian.__ = function(_littleEndian) { - if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); - this[_littleEndian$] = _littleEndian; - ; -}).prototype = typed_data.Endian.prototype; -dart.addTypeTests(typed_data.Endian); -dart.addTypeCaches(typed_data.Endian); -dart.setLibraryUri(typed_data.Endian, I[60]); -dart.setFieldSignature(typed_data.Endian, () => ({ - __proto__: dart.getFields(typed_data.Endian.__proto__), - [_littleEndian]: dart.finalFieldType(core.bool) -})); -dart.defineLazy(typed_data.Endian, { - /*typed_data.Endian.big*/get big() { - return C[36] || CT.C36; - }, - /*typed_data.Endian.little*/get little() { - return C[213] || CT.C213; - }, - /*typed_data.Endian.host*/get host() { - return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; - } -}, false); -typed_data.ByteData = class ByteData extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); - return buffer[$asByteData](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 474, 42, "data"); - if (start == null) dart.nullFailed(I[142], 474, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } -}; -(typed_data.ByteData[dart.mixinNew] = function() { -}).prototype = typed_data.ByteData.prototype; -dart.addTypeTests(typed_data.ByteData); -dart.addTypeCaches(typed_data.ByteData); -typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; -dart.setLibraryUri(typed_data.ByteData, I[60]); -typed_data.Int8List = class Int8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); - return buffer[$asInt8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 770, 42, "data"); - if (start == null) dart.nullFailed(I[142], 770, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int8List[dart.mixinNew] = function() { -}).prototype = typed_data.Int8List.prototype; -typed_data.Int8List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int8List); -dart.addTypeCaches(typed_data.Int8List); -typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int8List, I[60]); -dart.defineLazy(typed_data.Int8List, { - /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Uint8List = class Uint8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); - return buffer[$asUint8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 881, 43, "data"); - if (start == null) dart.nullFailed(I[142], 881, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint8List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint8List.prototype; -typed_data.Uint8List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint8List); -dart.addTypeCaches(typed_data.Uint8List); -typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint8List, I[60]); -dart.defineLazy(typed_data.Uint8List, { - /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); - return buffer[$asUint8ClampedList](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); - if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint8ClampedList[dart.mixinNew] = function() { -}).prototype = typed_data.Uint8ClampedList.prototype; -typed_data.Uint8ClampedList.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint8ClampedList); -dart.addTypeCaches(typed_data.Uint8ClampedList); -typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); -dart.defineLazy(typed_data.Uint8ClampedList, { - /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Int16List = class Int16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); - return buffer[$asInt16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int16List[dart.mixinNew] = function() { -}).prototype = typed_data.Int16List.prototype; -typed_data.Int16List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int16List); -dart.addTypeCaches(typed_data.Int16List); -typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int16List, I[60]); -dart.defineLazy(typed_data.Int16List, { - /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { - return 2; - } -}, false); -typed_data.Uint16List = class Uint16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); - return buffer[$asUint16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint16List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint16List.prototype; -typed_data.Uint16List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint16List); -dart.addTypeCaches(typed_data.Uint16List); -typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint16List, I[60]); -dart.defineLazy(typed_data.Uint16List, { - /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { - return 2; - } -}, false); -typed_data.Int32List = class Int32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); - return buffer[$asInt32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int32List[dart.mixinNew] = function() { -}).prototype = typed_data.Int32List.prototype; -typed_data.Int32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int32List); -dart.addTypeCaches(typed_data.Int32List); -typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int32List, I[60]); -dart.defineLazy(typed_data.Int32List, { - /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Uint32List = class Uint32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); - return buffer[$asUint32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint32List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint32List.prototype; -typed_data.Uint32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint32List); -dart.addTypeCaches(typed_data.Uint32List); -typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint32List, I[60]); -dart.defineLazy(typed_data.Uint32List, { - /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Int64List = class Int64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 101, 25, "length"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); - return buffer[$asInt64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int64List[dart.mixinNew] = function() { -}).prototype = typed_data.Int64List.prototype; -typed_data.Int64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int64List); -dart.addTypeCaches(typed_data.Int64List); -typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int64List, I[60]); -dart.defineLazy(typed_data.Int64List, { - /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Uint64List = class Uint64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 114, 26, "length"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); - return buffer[$asUint64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint64List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint64List.prototype; -typed_data.Uint64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint64List); -dart.addTypeCaches(typed_data.Uint64List); -typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint64List, I[60]); -dart.defineLazy(typed_data.Uint64List, { - /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Float32List = class Float32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); - return buffer[$asFloat32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float32List[dart.mixinNew] = function() { -}).prototype = typed_data.Float32List.prototype; -typed_data.Float32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float32List); -dart.addTypeCaches(typed_data.Float32List); -typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; -dart.setLibraryUri(typed_data.Float32List, I[60]); -dart.defineLazy(typed_data.Float32List, { - /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Float64List = class Float64List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); - return buffer[$asFloat64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float64List[dart.mixinNew] = function() { -}).prototype = typed_data.Float64List.prototype; -typed_data.Float64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float64List); -dart.addTypeCaches(typed_data.Float64List); -typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; -dart.setLibraryUri(typed_data.Float64List, I[60]); -dart.defineLazy(typed_data.Float64List, { - /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Float32x4List = class Float32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); - return buffer[$asFloat32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float32x4List[dart.mixinNew] = function() { -}).prototype = typed_data.Float32x4List.prototype; -typed_data.Float32x4List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float32x4List); -dart.addTypeCaches(typed_data.Float32x4List); -typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Float32x4List, I[60]); -dart.defineLazy(typed_data.Float32x4List, { - /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); -typed_data.Int32x4List = class Int32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); - return buffer[$asInt32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); - if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int32x4List[dart.mixinNew] = function() { -}).prototype = typed_data.Int32x4List.prototype; -typed_data.Int32x4List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int32x4List); -dart.addTypeCaches(typed_data.Int32x4List); -typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Int32x4List, I[60]); -dart.defineLazy(typed_data.Int32x4List, { - /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); -typed_data.Float64x2List = class Float64x2List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); - return buffer[$asFloat64x2List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float64x2List[dart.mixinNew] = function() { -}).prototype = typed_data.Float64x2List.prototype; -typed_data.Float64x2List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float64x2List); -dart.addTypeCaches(typed_data.Float64x2List); -typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Float64x2List, I[60]); -dart.defineLazy(typed_data.Float64x2List, { - /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); var _data$ = dart.privateName(typed_data, "_data"); -typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { +typed_data._UnmodifiableByteBufferView = class _UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } get lengthInBytes() { return this[_data$][$lengthInBytes]; } asUint8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 205, 30, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); } asInt8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); - return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 208, 28, "offsetInBytes"); + return new typed_data._UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); } asUint8ClampedList(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 211, 44, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); } asUint16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 215, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); } asInt16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 218, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); } asUint32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 221, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); } asInt32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 224, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); } asUint64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 227, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); } asInt64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 230, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); } asInt32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); - return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 233, 34, "offsetInBytes"); + return new typed_data._UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); } asFloat32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 237, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); } asFloat64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 241, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); } asFloat32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 245, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); } asFloat64x2List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 249, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); } asByteData(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); - return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 253, 28, "offsetInBytes"); + return new typed_data._UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); } }; -(typed_data.UnmodifiableByteBufferView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 11, 41, "data"); +(typed_data._UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); this[_data$] = data; ; -}).prototype = typed_data.UnmodifiableByteBufferView.prototype; -dart.addTypeTests(typed_data.UnmodifiableByteBufferView); -dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); -typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; -dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), +}).prototype = typed_data._UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data._UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data._UnmodifiableByteBufferView); +typed_data._UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer, typed_data.UnmodifiableByteBufferView]; +dart.setMethodSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteBufferView.__proto__), asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), @@ -59539,17 +63760,17 @@ dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) })); -dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), +dart.setGetterSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteBufferView.__proto__), lengthInBytes: core.int, [$lengthInBytes]: core.int })); -dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableByteBufferView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteBufferView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteBuffer) })); -dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableByteBufferView, [ 'asUint8List', 'asInt8List', 'asUint8ClampedList', @@ -59566,113 +63787,117 @@ dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ 'asFloat64x2List', 'asByteData' ]); -dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); +dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); var _unsupported$ = dart.privateName(typed_data, "_unsupported"); -typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { +typed_data._UnmodifiableByteDataView = class _UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } getInt8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 266, 19, "byteOffset"); return this[_data$][$getInt8](byteOffset); } setInt8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 268, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 268, 36, "value"); return this[_unsupported$](); } getUint8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 270, 20, "byteOffset"); return this[_data$][$getUint8](byteOffset); } setUint8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 272, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 272, 37, "value"); return this[_unsupported$](); } - getInt16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + getInt16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 274, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 274, 40, "endian"); return this[_data$][$getInt16](byteOffset, endian); } - setInt16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 84, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + setInt16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 277, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 277, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 277, 52, "endian"); return this[_unsupported$](); } - getUint16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + getUint16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 280, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 280, 41, "endian"); return this[_data$][$getUint16](byteOffset, endian); } - setUint16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 90, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + setUint16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 283, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 283, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 283, 53, "endian"); return this[_unsupported$](); } - getInt32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + getInt32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 286, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 286, 40, "endian"); return this[_data$][$getInt32](byteOffset, endian); } - setInt32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 96, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + setInt32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 289, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 289, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 289, 52, "endian"); return this[_unsupported$](); } - getUint32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + getUint32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 292, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 292, 41, "endian"); return this[_data$][$getUint32](byteOffset, endian); } - setUint32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 102, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + setUint32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 295, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 295, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 295, 53, "endian"); return this[_unsupported$](); } - getInt64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + getInt64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 298, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 298, 40, "endian"); return this[_data$][$getInt64](byteOffset, endian); } - setInt64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 108, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + setInt64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 301, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 301, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 301, 52, "endian"); return this[_unsupported$](); } - getUint64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + getUint64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 304, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 304, 41, "endian"); return this[_data$][$getUint64](byteOffset, endian); } - setUint64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 114, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + setUint64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 307, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 307, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 307, 53, "endian"); return this[_unsupported$](); } - getFloat32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + getFloat32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 310, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 310, 45, "endian"); return this[_data$][$getFloat32](byteOffset, endian); } - setFloat32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 120, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + setFloat32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 313, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 313, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 313, 57, "endian"); return this[_unsupported$](); } - getFloat64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + getFloat64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 316, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 316, 45, "endian"); return this[_data$][$getFloat64](byteOffset, endian); } - setFloat64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 126, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + setFloat64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 319, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 319, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 319, 57, "endian"); return this[_unsupported$](); } get elementSizeInBytes() { @@ -59685,22 +63910,22 @@ typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends cor return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } [_unsupported$]() { dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); } }; -(typed_data.UnmodifiableByteDataView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 71, 37, "data"); +(typed_data._UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); this[_data$] = data; ; -}).prototype = typed_data.UnmodifiableByteDataView.prototype; -dart.addTypeTests(typed_data.UnmodifiableByteDataView); -dart.addTypeCaches(typed_data.UnmodifiableByteDataView); -typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; -dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), +}).prototype = typed_data._UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data._UnmodifiableByteDataView); +dart.addTypeCaches(typed_data._UnmodifiableByteDataView); +typed_data._UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData, typed_data.UnmodifiableByteDataView]; +dart.setMethodSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteDataView.__proto__), getInt8: dart.fnType(core.int, [core.int]), [$getInt8]: dart.fnType(core.int, [core.int]), setInt8: dart.fnType(dart.void, [core.int, core.int]), @@ -59743,8 +63968,8 @@ dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), [_unsupported$]: dart.fnType(dart.void, []) })); -dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), +dart.setGetterSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteDataView.__proto__), elementSizeInBytes: core.int, [$elementSizeInBytes]: core.int, offsetInBytes: core.int, @@ -59754,12 +63979,12 @@ dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ buffer: typed_data.ByteBuffer, [$buffer]: typed_data.ByteBuffer })); -dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableByteDataView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteDataView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteData) })); -dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableByteDataView, [ 'getInt8', 'setInt8', 'getUint8', @@ -59781,7 +64006,7 @@ dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ 'getFloat64', 'setFloat64' ]); -dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); +dart.defineExtensionAccessors(typed_data._UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); var _list$2 = dart.privateName(typed_data, "_list"); var _createList = dart.privateName(typed_data, "_createList"); const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); @@ -59794,7 +64019,7 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { return this[_list$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + if (index == null) dart.nullFailed(I[62], 343, 21, "index"); return this[_list$2][$_get](index); } get elementSizeInBytes() { @@ -59807,10 +64032,10 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + if (start == null) dart.nullFailed(I[62], 355, 17, "start"); let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); let sublistLength = dart.notNull(endIndex) - dart.notNull(start); let result = this[_createList](sublistLength); @@ -59838,614 +64063,1784 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { lengthInBytes: core.int, buffer: typed_data.ByteBuffer })); - dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + dart.setLibraryUri(_UnmodifiableListMixin, I[63]); return _UnmodifiableListMixin; }); typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); -var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); +var _list$3 = dart.privateName(typed_data, "_UnmodifiableUint8ListView._list"); +typed_data.Uint8List = class Uint8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 93, 25, "length"); + return _native_typed_data.NativeUint8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 96, 40, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return typed_data.Uint8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + return typed_data.Uint8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8List.prototype; +typed_data.Uint8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8List); +dart.addTypeCaches(typed_data.Uint8List); +typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint8List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint8List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint8List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); -typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { +typed_data._UnmodifiableUint8ListView = class _UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { get [_list$2]() { return this[_list$3]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + if (length == null) dart.nullFailed(I[62], 375, 29, "length"); return _native_typed_data.NativeUint8List.new(length); } }; -(typed_data.UnmodifiableUint8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 177, 39, "list"); +(typed_data._UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); this[_list$3] = list; ; -}).prototype = typed_data.UnmodifiableUint8ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint8ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); -typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; -dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint8ListView); +typed_data._UnmodifiableUint8ListView[dart.implements] = () => [typed_data.UnmodifiableUint8ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint8ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); +var _list$4 = dart.privateName(typed_data, "_UnmodifiableInt8ListView._list"); +typed_data.Int8List = class Int8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 56, 24, "length"); + return _native_typed_data.NativeInt8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 59, 39, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return typed_data.Int8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + return typed_data.Int8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int8List[dart.mixinNew] = function() { +}).prototype = typed_data.Int8List.prototype; +typed_data.Int8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int8List); +dart.addTypeCaches(typed_data.Int8List); +typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int8List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int8List, I[63]); +dart.setStaticFieldSignature(typed_data.Int8List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); -typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { +typed_data._UnmodifiableInt8ListView = class _UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { get [_list$2]() { return this[_list$4]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + if (length == null) dart.nullFailed(I[62], 388, 28, "length"); return _native_typed_data.NativeInt8List.new(length); } }; -(typed_data.UnmodifiableInt8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 187, 37, "list"); +(typed_data._UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); this[_list$4] = list; ; -}).prototype = typed_data.UnmodifiableInt8ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt8ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); -typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; -dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt8ListView); +typed_data._UnmodifiableInt8ListView[dart.implements] = () => [typed_data.UnmodifiableInt8ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt8ListView.__proto__), [_createList]: dart.fnType(typed_data.Int8List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt8ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int8List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); +var _list$5 = dart.privateName(typed_data, "_UnmodifiableUint8ClampedListView._list"); +typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 83, 32, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 86, 47, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return typed_data.Uint8ClampedList.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + return typed_data.Uint8ClampedList.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8ClampedList[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8ClampedList.prototype; +typed_data.Uint8ClampedList.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8ClampedList); +dart.addTypeCaches(typed_data.Uint8ClampedList); +typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint8ClampedList, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint8ClampedList, I[63]); +dart.setStaticFieldSignature(typed_data.Uint8ClampedList, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); -typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { +typed_data._UnmodifiableUint8ClampedListView = class _UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { get [_list$2]() { return this[_list$5]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + if (length == null) dart.nullFailed(I[62], 401, 36, "length"); return _native_typed_data.NativeUint8ClampedList.new(length); } }; -(typed_data.UnmodifiableUint8ClampedListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 197, 53, "list"); +(typed_data._UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); this[_list$5] = list; ; -}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); -dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); -typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; -dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), +}).prototype = typed_data._UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data._UnmodifiableUint8ClampedListView); +typed_data._UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.UnmodifiableUint8ClampedListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint8ClampedListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint8ClampedListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ClampedListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); +var _list$6 = dart.privateName(typed_data, "_UnmodifiableUint16ListView._list"); +typed_data.Uint16List = class Uint16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 74, 26, "length"); + return _native_typed_data.NativeUint16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 77, 41, "elements"); + return _native_typed_data.NativeUint16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return typed_data.Uint16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + return typed_data.Uint16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint16List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint16List.prototype; +typed_data.Uint16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint16List); +dart.addTypeCaches(typed_data.Uint16List); +typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint16List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint16List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint16List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); -typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { +typed_data._UnmodifiableUint16ListView = class _UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { get [_list$2]() { return this[_list$6]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + if (length == null) dart.nullFailed(I[62], 414, 30, "length"); return _native_typed_data.NativeUint16List.new(length); } }; -(typed_data.UnmodifiableUint16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 207, 41, "list"); +(typed_data._UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); this[_list$6] = list; ; -}).prototype = typed_data.UnmodifiableUint16ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint16ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); -typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; -dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint16ListView); +typed_data._UnmodifiableUint16ListView[dart.implements] = () => [typed_data.UnmodifiableUint16ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint16ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint16ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint16List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); +var _list$7 = dart.privateName(typed_data, "_UnmodifiableInt16ListView._list"); +typed_data.Int16List = class Int16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 38, 25, "length"); + return _native_typed_data.NativeInt16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 41, 40, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return typed_data.Int16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + return typed_data.Int16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int16List[dart.mixinNew] = function() { +}).prototype = typed_data.Int16List.prototype; +typed_data.Int16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int16List); +dart.addTypeCaches(typed_data.Int16List); +typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int16List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int16List, I[63]); +dart.setStaticFieldSignature(typed_data.Int16List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); -typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { +typed_data._UnmodifiableInt16ListView = class _UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { get [_list$2]() { return this[_list$7]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + if (length == null) dart.nullFailed(I[62], 427, 29, "length"); return _native_typed_data.NativeInt16List.new(length); } }; -(typed_data.UnmodifiableInt16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 217, 39, "list"); +(typed_data._UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); this[_list$7] = list; ; -}).prototype = typed_data.UnmodifiableInt16ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt16ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); -typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; -dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt16ListView); +typed_data._UnmodifiableInt16ListView[dart.implements] = () => [typed_data.UnmodifiableInt16ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt16ListView.__proto__), [_createList]: dart.fnType(typed_data.Int16List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt16ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int16List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); +var _list$8 = dart.privateName(typed_data, "_UnmodifiableUint32ListView._list"); +typed_data.Uint32List = class Uint32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 65, 26, "length"); + return _native_typed_data.NativeUint32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 68, 41, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return typed_data.Uint32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + return typed_data.Uint32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint32List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint32List.prototype; +typed_data.Uint32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint32List); +dart.addTypeCaches(typed_data.Uint32List); +typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint32List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); -typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { +typed_data._UnmodifiableUint32ListView = class _UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { get [_list$2]() { return this[_list$8]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + if (length == null) dart.nullFailed(I[62], 440, 30, "length"); return _native_typed_data.NativeUint32List.new(length); } }; -(typed_data.UnmodifiableUint32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 227, 41, "list"); +(typed_data._UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); this[_list$8] = list; ; -}).prototype = typed_data.UnmodifiableUint32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint32ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); -typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; -dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint32ListView); +typed_data._UnmodifiableUint32ListView[dart.implements] = () => [typed_data.UnmodifiableUint32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint32ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); +var _list$9 = dart.privateName(typed_data, "_UnmodifiableInt32ListView._list"); +typed_data.Int32List = class Int32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 47, 25, "length"); + return _native_typed_data.NativeInt32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 50, 40, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return typed_data.Int32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + return typed_data.Int32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32List.prototype; +typed_data.Int32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32List); +dart.addTypeCaches(typed_data.Int32List); +typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int32List, I[63]); +dart.setStaticFieldSignature(typed_data.Int32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); -typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { +typed_data._UnmodifiableInt32ListView = class _UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { get [_list$2]() { return this[_list$9]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + if (length == null) dart.nullFailed(I[62], 453, 29, "length"); return _native_typed_data.NativeInt32List.new(length); } }; -(typed_data.UnmodifiableInt32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 237, 39, "list"); +(typed_data._UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); this[_list$9] = list; ; -}).prototype = typed_data.UnmodifiableInt32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt32ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); -typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; -dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt32ListView); +typed_data._UnmodifiableInt32ListView[dart.implements] = () => [typed_data.UnmodifiableInt32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); +var _list$10 = dart.privateName(typed_data, "_UnmodifiableUint64ListView._list"); +typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + return typed_data.Uint64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + return typed_data.Uint64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return typed_data.Uint64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + return typed_data.Uint64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint64List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint64List.prototype; +typed_data.Uint64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint64List); +dart.addTypeCaches(typed_data.Uint64List); +typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint64List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint64List, () => ['bytesPerElement']); +dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); -typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { +typed_data._UnmodifiableUint64ListView = class _UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { get [_list$2]() { return this[_list$10]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + if (length == null) dart.nullFailed(I[62], 466, 30, "length"); return typed_data.Uint64List.new(length); } }; -(typed_data.UnmodifiableUint64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 247, 41, "list"); +(typed_data._UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); this[_list$10] = list; ; -}).prototype = typed_data.UnmodifiableUint64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint64ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); -typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; -dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint64ListView); +typed_data._UnmodifiableUint64ListView[dart.implements] = () => [typed_data.UnmodifiableUint64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint64ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); +var _list$11 = dart.privateName(typed_data, "_UnmodifiableInt64ListView._list"); +typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + return typed_data.Int64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + return typed_data.Int64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return typed_data.Int64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + return typed_data.Int64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int64List[dart.mixinNew] = function() { +}).prototype = typed_data.Int64List.prototype; +typed_data.Int64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int64List); +dart.addTypeCaches(typed_data.Int64List); +typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int64List, I[63]); +dart.setStaticFieldSignature(typed_data.Int64List, () => ['bytesPerElement']); +dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); -typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { +typed_data._UnmodifiableInt64ListView = class _UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { get [_list$2]() { return this[_list$11]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + if (length == null) dart.nullFailed(I[62], 479, 29, "length"); return typed_data.Int64List.new(length); } }; -(typed_data.UnmodifiableInt64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 257, 39, "list"); +(typed_data._UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); this[_list$11] = list; ; -}).prototype = typed_data.UnmodifiableInt64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt64ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); -typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; -dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt64ListView); +typed_data._UnmodifiableInt64ListView[dart.implements] = () => [typed_data.UnmodifiableInt64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt64ListView.__proto__), [_createList]: dart.fnType(typed_data.Int64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); +var _list$12 = dart.privateName(typed_data, "_UnmodifiableInt32x4ListView._list"); +typed_data.Int32x4List = class Int32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 128, 27, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 131, 46, "elements"); + return _native_typed_data.NativeInt32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return typed_data.Int32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + return typed_data.Int32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4List.prototype; +typed_data.Int32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32x4List); +dart.addTypeCaches(typed_data.Int32x4List); +typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Int32x4List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int32x4List, I[63]); +dart.setStaticFieldSignature(typed_data.Int32x4List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); -typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { +typed_data._UnmodifiableInt32x4ListView = class _UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { get [_list$2]() { return this[_list$12]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + if (length == null) dart.nullFailed(I[62], 492, 31, "length"); return new _native_typed_data.NativeInt32x4List.new(length); } }; -(typed_data.UnmodifiableInt32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 267, 43, "list"); +(typed_data._UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); this[_list$12] = list; ; -}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); -typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; -dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt32x4ListView); +typed_data._UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.UnmodifiableInt32x4ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt32x4ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32x4List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); +var _list$13 = dart.privateName(typed_data, "_UnmodifiableFloat32x4ListView._list"); +typed_data.Float32x4List = class Float32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 138, 29, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 141, 50, "elements"); + return _native_typed_data.NativeFloat32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return typed_data.Float32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + return typed_data.Float32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4List.prototype; +typed_data.Float32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32x4List); +dart.addTypeCaches(typed_data.Float32x4List); +typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Float32x4List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float32x4List, I[63]); +dart.setStaticFieldSignature(typed_data.Float32x4List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); -typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { +typed_data._UnmodifiableFloat32x4ListView = class _UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { get [_list$2]() { return this[_list$13]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + if (length == null) dart.nullFailed(I[62], 505, 33, "length"); return new _native_typed_data.NativeFloat32x4List.new(length); } }; -(typed_data.UnmodifiableFloat32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 277, 47, "list"); +(typed_data._UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); this[_list$13] = list; ; -}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); -typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat32x4ListView); +typed_data._UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32x4ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat32x4ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32x4List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); +var _list$14 = dart.privateName(typed_data, "_UnmodifiableFloat64x2ListView._list"); +typed_data.Float64x2List = class Float64x2List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 148, 29, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 151, 50, "elements"); + return _native_typed_data.NativeFloat64x2List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return typed_data.Float64x2List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + return typed_data.Float64x2List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64x2List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2List.prototype; +typed_data.Float64x2List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64x2List); +dart.addTypeCaches(typed_data.Float64x2List); +typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Float64x2List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float64x2List, I[63]); +dart.setStaticFieldSignature(typed_data.Float64x2List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); -typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { +typed_data._UnmodifiableFloat64x2ListView = class _UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { get [_list$2]() { return this[_list$14]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + if (length == null) dart.nullFailed(I[62], 518, 33, "length"); return new _native_typed_data.NativeFloat64x2List.new(length); } }; -(typed_data.UnmodifiableFloat64x2ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 287, 47, "list"); +(typed_data._UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); this[_list$14] = list; ; -}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); -typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat64x2ListView); +typed_data._UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64x2ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat64x2ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64x2List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat64x2ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64x2ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); +var _list$15 = dart.privateName(typed_data, "_UnmodifiableFloat32ListView._list"); +typed_data.Float32List = class Float32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 18, 27, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 21, 45, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return typed_data.Float32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + return typed_data.Float32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32List.prototype; +typed_data.Float32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32List); +dart.addTypeCaches(typed_data.Float32List); +typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setStaticMethodSignature(typed_data.Float32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float32List, I[63]); +dart.setStaticFieldSignature(typed_data.Float32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); -typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { +typed_data._UnmodifiableFloat32ListView = class _UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { get [_list$2]() { return this[_list$15]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + if (length == null) dart.nullFailed(I[62], 531, 31, "length"); return _native_typed_data.NativeFloat32List.new(length); } }; -(typed_data.UnmodifiableFloat32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 297, 43, "list"); +(typed_data._UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); this[_list$15] = list; ; -}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); -typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat32ListView); +typed_data._UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); +var _list$16 = dart.privateName(typed_data, "_UnmodifiableFloat64ListView._list"); +typed_data.Float64List = class Float64List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 28, 27, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 31, 45, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return typed_data.Float64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + return typed_data.Float64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64List.prototype; +typed_data.Float64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64List); +dart.addTypeCaches(typed_data.Float64List); +typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setStaticMethodSignature(typed_data.Float64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float64List, I[63]); +dart.setStaticFieldSignature(typed_data.Float64List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); -typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { +typed_data._UnmodifiableFloat64ListView = class _UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { get [_list$2]() { return this[_list$16]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + if (length == null) dart.nullFailed(I[62], 544, 31, "length"); return _native_typed_data.NativeFloat64List.new(length); } }; -(typed_data.UnmodifiableFloat64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 307, 43, "list"); +(typed_data._UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); this[_list$16] = list; ; -}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); -typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat64ListView); +typed_data._UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); +typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; +(typed_data.ByteBuffer.new = function() { + ; +}).prototype = typed_data.ByteBuffer.prototype; +dart.addTypeTests(typed_data.ByteBuffer); +dart.addTypeCaches(typed_data.ByteBuffer); +dart.setLibraryUri(typed_data.ByteBuffer, I[63]); +typed_data.TypedData = class TypedData extends core.Object {}; +(typed_data.TypedData.new = function() { + ; +}).prototype = typed_data.TypedData.prototype; +dart.addTypeTests(typed_data.TypedData); +dart.addTypeCaches(typed_data.TypedData); +dart.setLibraryUri(typed_data.TypedData, I[63]); +typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; +(typed_data._TypedIntList.new = function() { + ; +}).prototype = typed_data._TypedIntList.prototype; +dart.addTypeTests(typed_data._TypedIntList); +dart.addTypeCaches(typed_data._TypedIntList); +dart.setLibraryUri(typed_data._TypedIntList, I[63]); +typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; +(typed_data._TypedFloatList.new = function() { + ; +}).prototype = typed_data._TypedFloatList.prototype; +dart.addTypeTests(typed_data._TypedFloatList); +dart.addTypeCaches(typed_data._TypedFloatList); +dart.setLibraryUri(typed_data._TypedFloatList, I[63]); +var _littleEndian = dart.privateName(typed_data, "_littleEndian"); +const _littleEndian$ = Endian__littleEndian; +typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } + static ['_#_#tearOff'](_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + return new typed_data.Endian.__(_littleEndian); + } +}; +(typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; +}).prototype = typed_data.Endian.prototype; +dart.addTypeTests(typed_data.Endian); +dart.addTypeCaches(typed_data.Endian); +dart.setLibraryUri(typed_data.Endian, I[63]); +dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) +})); +dart.setStaticFieldSignature(typed_data.Endian, () => ['big', 'little', 'host']); +dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[37] || CT.C37; + }, + /*typed_data.Endian.little*/get little() { + return C[223] || CT.C223; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } +}, false); +typed_data.ByteData = class ByteData extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 12, 24, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return typed_data.ByteData.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + return typed_data.ByteData.sublistView(data, start, end); + } +}; +(typed_data.ByteData[dart.mixinNew] = function() { +}).prototype = typed_data.ByteData.prototype; +dart.addTypeTests(typed_data.ByteData); +dart.addTypeCaches(typed_data.ByteData); +typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.ByteData, () => ['new', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.ByteData, I[63]); +dart.setStaticFieldSignature(typed_data.ByteData, () => ['_redirecting#']); +typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 549, 49, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } +}; +(typed_data.UnmodifiableByteBufferView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); +typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setStaticMethodSignature(typed_data.UnmodifiableByteBufferView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableByteBufferView, () => ['_redirecting#']); +typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 555, 45, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } +}; +(typed_data.UnmodifiableByteDataView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteDataView); +dart.addTypeCaches(typed_data.UnmodifiableByteDataView); +typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; +dart.setStaticMethodSignature(typed_data.UnmodifiableByteDataView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableByteDataView, () => ['_redirecting#']); +typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 560, 47, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint8ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); +typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 566, 45, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt8ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); +typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt8ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt8ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 571, 61, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint8ClampedListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); +typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 577, 49, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint16ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); +typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint16ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint16ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 583, 47, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt16ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); +typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt16ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt16ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 589, 49, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); +typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 595, 47, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); +typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 601, 49, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); +typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint64ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 607, 47, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); +typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt64ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 613, 51, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt32x4ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); +typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 619, 55, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat32x4ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); +typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 625, 55, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat64x2ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); +typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 631, 51, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); +typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 637, 51, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); +typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ['_redirecting#']); indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { static createKeyRange_only(value) { return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); } static createKeyRange_lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + if (open == null) dart.nullFailed(I[147], 93, 17, "open"); return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + if (open == null) dart.nullFailed(I[147], 97, 17, "open"); return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 101, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 101, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); } static _class() { @@ -60470,20 +65865,25 @@ indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends cor static _bound(cls, lower, upper, lowerOpen, upperOpen) { return cls.bound(lower, upper, lowerOpen, upperOpen); } + static ['_#new#tearOff']() { + return new indexed_db._KeyRangeFactoryProvider.new(); + } }; (indexed_db._KeyRangeFactoryProvider.new = function() { ; }).prototype = indexed_db._KeyRangeFactoryProvider.prototype; dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); -dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); +dart.setStaticMethodSignature(indexed_db._KeyRangeFactoryProvider, () => ['createKeyRange_only', 'createKeyRange_lowerBound', 'createKeyRange_upperBound', 'createKeyRange_bound', '_class', '_uncachedClass', '_translateKey', '_only', '_lowerBound', '_upperBound', '_bound']); +dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[148]); +dart.setStaticFieldSignature(indexed_db._KeyRangeFactoryProvider, () => ['_cachedClass']); dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { return null; }, - set _cachedClass(_) {} + set _cachedClass(value) {} }, false); -indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { +indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { [S.$delete]() { try { return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); @@ -60515,6 +65915,9 @@ indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { this.continue(key); } } + static ['_#_#tearOff']() { + return indexed_db.Cursor.__(); + } get [S.$direction]() { return this.direction; } @@ -60557,6 +65960,7 @@ dart.setMethodSignature(indexed_db.Cursor, () => ({ [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); +dart.setStaticMethodSignature(indexed_db.Cursor, () => ['__']); dart.setGetterSignature(indexed_db.Cursor, () => ({ __proto__: dart.getGetters(indexed_db.Cursor.__proto__), [S.$direction]: dart.nullable(core.String), @@ -60564,9 +65968,12 @@ dart.setGetterSignature(indexed_db.Cursor, () => ({ [S.$primaryKey]: dart.nullable(core.Object), [S.$source]: dart.nullable(core.Object) })); -dart.setLibraryUri(indexed_db.Cursor, I[146]); +dart.setLibraryUri(indexed_db.Cursor, I[148]); dart.registerExtension("IDBCursor", indexed_db.Cursor); indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + static ['_#_#tearOff']() { + return indexed_db.CursorWithValue.__(); + } get [S.$value]() { return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); } @@ -60576,29 +65983,36 @@ indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { }; dart.addTypeTests(indexed_db.CursorWithValue); dart.addTypeCaches(indexed_db.CursorWithValue); +dart.setStaticMethodSignature(indexed_db.CursorWithValue, () => ['__']); dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), [S.$value]: dart.dynamic, [S._get_value]: dart.dynamic })); -dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); +dart.setLibraryUri(indexed_db.CursorWithValue, I[148]); dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); -html$.EventTarget = class EventTarget extends _interceptors.Interceptor { +html$.EventTarget = class EventTarget extends _interceptors.JavaScriptObject { + static ['_#_created#tearOff']() { + return new html$.EventTarget._created(); + } get [S.$on]() { return new html$.Events.new(this); } [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (type == null) dart.nullFailed(I[149], 15879, 32, "type"); if (listener != null) { this[S._addEventListener](type, listener, useCapture); } } [S.$removeEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (type == null) dart.nullFailed(I[149], 15889, 35, "type"); if (listener != null) { this[S._removeEventListener](type, listener, useCapture); } } + static ['_#_#tearOff']() { + return html$.EventTarget.__(); + } [S._addEventListener](...args) { return this.addEventListener.apply(this, args); } @@ -60623,15 +66037,16 @@ dart.setMethodSignature(html$.EventTarget, () => ({ [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.EventTarget, () => ['__']); dart.setGetterSignature(html$.EventTarget, () => ({ __proto__: dart.getGetters(html$.EventTarget.__proto__), [S.$on]: html$.Events })); -dart.setLibraryUri(html$.EventTarget, I[148]); +dart.setLibraryUri(html$.EventTarget, I[150]); dart.registerExtension("EventTarget", html$.EventTarget); indexed_db.Database = class Database extends html$.EventTarget { [S.$createObjectStore](name, opts) { - if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + if (name == null) dart.nullFailed(I[147], 300, 40, "name"); let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; let options = new _js_helper.LinkedMap.new(); @@ -60644,23 +66059,23 @@ indexed_db.Database = class Database extends html$.EventTarget { return this[S._createObjectStore](name, options); } [S.$transaction](storeName_OR_storeNames, mode) { - if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode == null) dart.nullFailed(I[147], 312, 59, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName_OR_storeNames, mode); } [S.$transactionStore](storeName, mode) { - if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); - if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (storeName == null) dart.nullFailed(I[147], 326, 39, "storeName"); + if (mode == null) dart.nullFailed(I[147], 326, 57, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName, mode); } [S.$transactionList](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 336, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 336, 63, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60668,8 +66083,8 @@ indexed_db.Database = class Database extends html$.EventTarget { return this[S._transaction](storeNames_1, mode); } [S.$transactionStores](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 344, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 344, 66, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60678,6 +66093,9 @@ indexed_db.Database = class Database extends html$.EventTarget { [S._transaction](...args) { return this.transaction.apply(this, args); } + static ['_#_#tearOff']() { + return indexed_db.Database.__(); + } get [$name]() { return this.name; } @@ -60691,7 +66109,7 @@ indexed_db.Database = class Database extends html$.EventTarget { return this.close.apply(this, args); } [S._createObjectStore](name, options = null) { - if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (name == null) dart.nullFailed(I[147], 407, 41, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createObjectStore_1](name, options_1); @@ -60736,6 +66154,7 @@ dart.setMethodSignature(indexed_db.Database, () => ({ [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(indexed_db.Database, () => ['__']); dart.setGetterSignature(indexed_db.Database, () => ({ __proto__: dart.getGetters(indexed_db.Database.__proto__), [$name]: dart.nullable(core.String), @@ -60746,28 +66165,29 @@ dart.setGetterSignature(indexed_db.Database, () => ({ [S.$onError]: async.Stream$(html$.Event), [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) })); -dart.setLibraryUri(indexed_db.Database, I[146]); +dart.setLibraryUri(indexed_db.Database, I[148]); +dart.setStaticFieldSignature(indexed_db.Database, () => ['abortEvent', 'closeEvent', 'errorEvent', 'versionChangeEvent']); dart.defineLazy(indexed_db.Database, { /*indexed_db.Database.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[217] || CT.C217; + return C[227] || CT.C227; } }, false); dart.registerExtension("IDBDatabase", indexed_db.Database); -indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { +indexed_db.IdbFactory = class IdbFactory extends _interceptors.JavaScriptObject { static get supported() { return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); } [S.$open](name, opts) { - if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + if (name == null) dart.nullFailed(I[147], 463, 32, "name"); let version = opts && 'version' in opts ? opts.version : null; let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; @@ -60798,7 +66218,7 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } } [S.$deleteDatabase](name, opts) { - if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + if (name == null) dart.nullFailed(I[147], 491, 44, "name"); let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; try { let request = this[S._deleteDatabase](name); @@ -60807,7 +66227,7 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } let completer = T$0.CompleterOfIdbFactory().sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + if (e == null) dart.nullFailed(I[147], 499, 33, "e"); completer.complete(this); }, T$0.EventTovoid())); request[S.$onError].listen(dart.bind(completer, 'completeError')); @@ -60822,7 +66242,10 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } } get [S.$supportsDatabaseNames]() { - return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + return false; + } + static ['_#_#tearOff']() { + return indexed_db.IdbFactory.__(); } [S.$cmp](...args) { return this.cmp.apply(this, args); @@ -60844,13 +66267,15 @@ dart.setMethodSignature(indexed_db.IdbFactory, () => ({ [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(indexed_db.IdbFactory, () => ['__']); dart.setGetterSignature(indexed_db.IdbFactory, () => ({ __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), [S.$supportsDatabaseNames]: core.bool })); -dart.setLibraryUri(indexed_db.IdbFactory, I[146]); +dart.setStaticGetterSignature(indexed_db.IdbFactory, () => ['supported']); +dart.setLibraryUri(indexed_db.IdbFactory, I[148]); dart.registerExtension("IDBFactory", indexed_db.IdbFactory); -indexed_db.Index = class Index extends _interceptors.Interceptor { +indexed_db.Index = class Index extends _interceptors.JavaScriptObject { [S.$count](key_OR_range = null) { try { let request = this[S._count$2](key_OR_range); @@ -60934,6 +66359,9 @@ indexed_db.Index = class Index extends _interceptors.Interceptor { } return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); } + static ['_#_#tearOff']() { + return indexed_db.Index.__(); + } get [S.$keyPath]() { return this.keyPath; } @@ -60991,6 +66419,7 @@ dart.setMethodSignature(indexed_db.Index, () => ({ [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(indexed_db.Index, () => ['__']); dart.setGetterSignature(indexed_db.Index, () => ({ __proto__: dart.getGetters(indexed_db.Index.__proto__), [S.$keyPath]: dart.nullable(core.Object), @@ -61003,25 +66432,44 @@ dart.setSetterSignature(indexed_db.Index, () => ({ __proto__: dart.getSetters(indexed_db.Index.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(indexed_db.Index, I[146]); +dart.setLibraryUri(indexed_db.Index, I[148]); dart.registerExtension("IDBIndex", indexed_db.Index); -indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { +indexed_db.KeyRange = class KeyRange extends _interceptors.JavaScriptObject { static only(value) { return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); } + static ['_#only#tearOff'](value) { + return indexed_db.KeyRange.only(value); + } static lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); } + static ['_#lowerBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); + return indexed_db.KeyRange.lowerBound(bound, open); + } static upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); } + static ['_#upperBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); + return indexed_db.KeyRange.upperBound(bound, open); + } static bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); } + static ['_#bound#tearOff'](lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); + return indexed_db.KeyRange.bound(lower, upper, lowerOpen, upperOpen); + } + static ['_#_#tearOff']() { + return indexed_db.KeyRange.__(); + } get [S.$lower]() { return this.lower; } @@ -61044,6 +66492,7 @@ dart.setMethodSignature(indexed_db.KeyRange, () => ({ __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), [S.$includes]: dart.fnType(core.bool, [core.Object]) })); +dart.setStaticMethodSignature(indexed_db.KeyRange, () => ['only', 'lowerBound', 'upperBound', 'bound', '__', 'bound__', 'lowerBound__', 'only__', 'upperBound__']); dart.setGetterSignature(indexed_db.KeyRange, () => ({ __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), [S.$lower]: dart.nullable(core.Object), @@ -61051,9 +66500,9 @@ dart.setGetterSignature(indexed_db.KeyRange, () => ({ [S.$upper]: dart.nullable(core.Object), [S.$upperOpen]: dart.nullable(core.bool) })); -dart.setLibraryUri(indexed_db.KeyRange, I[146]); +dart.setLibraryUri(indexed_db.KeyRange, I[148]); dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); -indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { +indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { [$add](value, key = null) { try { let request = null; @@ -61163,7 +66612,7 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); } [S.$createIndex](name, keyPath, opts) { - if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + if (name == null) dart.nullFailed(I[147], 853, 28, "name"); let unique = opts && 'unique' in opts ? opts.unique : null; let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; let options = new _js_helper.LinkedMap.new(); @@ -61175,6 +66624,9 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { } return this[S._createIndex](name, core.Object.as(keyPath), options); } + static ['_#_#tearOff']() { + return indexed_db.ObjectStore.__(); + } get [S.$autoIncrement]() { return this.autoIncrement; } @@ -61215,8 +66667,8 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return this.count.apply(this, args); } [S._createIndex](name, keyPath, options = null) { - if (name == null) dart.nullFailed(I[145], 923, 29, "name"); - if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (name == null) dart.nullFailed(I[147], 915, 29, "name"); + if (keyPath == null) dart.nullFailed(I[147], 915, 42, "keyPath"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createIndex_1](name, keyPath, options_1); @@ -61272,11 +66724,11 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return this.put.apply(this, args); } static _cursorStreamFromResult(T, request, autoAdvance) { - if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + if (request == null) dart.nullFailed(I[147], 983, 15, "request"); let controller = async.StreamController$(T).new({sync: true}); request[S.$onError].listen(dart.bind(controller, 'addError')); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + if (e == null) dart.nullFailed(I[147], 992, 31, "e"); let cursor = dart.nullable(T).as(request[S.$result]); if (cursor == null) { controller.close(); @@ -61323,6 +66775,7 @@ dart.setMethodSignature(indexed_db.ObjectStore, () => ({ [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); +dart.setStaticMethodSignature(indexed_db.ObjectStore, () => ['__', '_cursorStreamFromResult']); dart.setGetterSignature(indexed_db.ObjectStore, () => ({ __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), [S.$autoIncrement]: dart.nullable(core.bool), @@ -61335,9 +66788,12 @@ dart.setSetterSignature(indexed_db.ObjectStore, () => ({ __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(indexed_db.ObjectStore, I[146]); +dart.setLibraryUri(indexed_db.ObjectStore, I[148]); dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); -indexed_db.Observation = class Observation extends _interceptors.Interceptor { +indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observation.__(); + } get [S.$key]() { return this.key; } @@ -61350,27 +66806,35 @@ indexed_db.Observation = class Observation extends _interceptors.Interceptor { }; dart.addTypeTests(indexed_db.Observation); dart.addTypeCaches(indexed_db.Observation); +dart.setStaticMethodSignature(indexed_db.Observation, () => ['__']); dart.setGetterSignature(indexed_db.Observation, () => ({ __proto__: dart.getGetters(indexed_db.Observation.__proto__), [S.$key]: dart.nullable(core.Object), [S.$type]: dart.nullable(core.String), [S.$value]: dart.nullable(core.Object) })); -dart.setLibraryUri(indexed_db.Observation, I[146]); +dart.setLibraryUri(indexed_db.Observation, I[148]); dart.registerExtension("IDBObservation", indexed_db.Observation); -indexed_db.Observer = class Observer extends _interceptors.Interceptor { +indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observer.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); return indexed_db.Observer._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); + return indexed_db.Observer.new(callback); + } static _create_1(callback) { return new IDBObserver(callback); } [S.$observe](db, tx, options) { - if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); - if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); - if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + if (db == null) dart.nullFailed(I[147], 1041, 25, "db"); + if (tx == null) dart.nullFailed(I[147], 1041, 41, "tx"); + if (options == null) dart.nullFailed(I[147], 1041, 49, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S._observe_1](db, tx, options_1); return; @@ -61390,9 +66854,13 @@ dart.setMethodSignature(indexed_db.Observer, () => ({ [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) })); -dart.setLibraryUri(indexed_db.Observer, I[146]); +dart.setStaticMethodSignature(indexed_db.Observer, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(indexed_db.Observer, I[148]); dart.registerExtension("IDBObserver", indexed_db.Observer); -indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { +indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.ObserverChanges.__(); + } get [S.$database]() { return this.database; } @@ -61405,15 +66873,19 @@ indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interce }; dart.addTypeTests(indexed_db.ObserverChanges); dart.addTypeCaches(indexed_db.ObserverChanges); +dart.setStaticMethodSignature(indexed_db.ObserverChanges, () => ['__']); dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), [S.$database]: dart.nullable(indexed_db.Database), [S.$records]: dart.nullable(core.Object), [S.$transaction]: dart.nullable(indexed_db.Transaction) })); -dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); +dart.setLibraryUri(indexed_db.ObserverChanges, I[148]); dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); indexed_db.Request = class Request extends html$.EventTarget { + static ['_#_#tearOff']() { + return indexed_db.Request.__(); + } get [S.$error]() { return this.error; } @@ -61441,6 +66913,7 @@ indexed_db.Request = class Request extends html$.EventTarget { }; dart.addTypeTests(indexed_db.Request); dart.addTypeCaches(indexed_db.Request); +dart.setStaticMethodSignature(indexed_db.Request, () => ['__']); dart.setGetterSignature(indexed_db.Request, () => ({ __proto__: dart.getGetters(indexed_db.Request.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -61452,17 +66925,21 @@ dart.setGetterSignature(indexed_db.Request, () => ({ [S.$onError]: async.Stream$(html$.Event), [S.$onSuccess]: async.Stream$(html$.Event) })); -dart.setLibraryUri(indexed_db.Request, I[146]); +dart.setLibraryUri(indexed_db.Request, I[148]); +dart.setStaticFieldSignature(indexed_db.Request, () => ['errorEvent', 'successEvent']); dart.defineLazy(indexed_db.Request, { /*indexed_db.Request.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Request.successEvent*/get successEvent() { - return C[218] || CT.C218; + return C[228] || CT.C228; } }, false); dart.registerExtension("IDBRequest", indexed_db.Request); indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + static ['_#_#tearOff']() { + return indexed_db.OpenDBRequest.__(); + } get [S.$onBlocked]() { return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); } @@ -61472,18 +66949,20 @@ indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { }; dart.addTypeTests(indexed_db.OpenDBRequest); dart.addTypeCaches(indexed_db.OpenDBRequest); +dart.setStaticMethodSignature(indexed_db.OpenDBRequest, () => ['__']); dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), [S.$onBlocked]: async.Stream$(html$.Event), [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) })); -dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); +dart.setLibraryUri(indexed_db.OpenDBRequest, I[148]); +dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); dart.defineLazy(indexed_db.OpenDBRequest, { /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[219] || CT.C219; + return C[229] || CT.C229; }, /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[220] || CT.C220; + return C[230] || CT.C230; } }, false); dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); @@ -61492,21 +66971,24 @@ indexed_db.Transaction = class Transaction extends html$.EventTarget { get [S.$completed]() { let completer = T$0.CompleterOfDatabase().new(); this[S.$onComplete].first.then(core.Null, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + if (_ == null) dart.nullFailed(I[147], 1173, 33, "_"); completer.complete(this.db); }, T$0.EventToNull())); this[S.$onError].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1177, 30, "e"); completer.completeError(e); }, T$0.EventToNull())); this[S.$onAbort].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1181, 30, "e"); if (!dart.test(completer.isCompleted)) { completer.completeError(e); } }, T$0.EventToNull())); return completer.future; } + static ['_#_#tearOff']() { + return indexed_db.Transaction.__(); + } get [S.$db]() { return this.db; } @@ -61542,6 +67024,7 @@ dart.setMethodSignature(indexed_db.Transaction, () => ({ [S.$abort]: dart.fnType(dart.void, []), [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) })); +dart.setStaticMethodSignature(indexed_db.Transaction, () => ['__']); dart.setGetterSignature(indexed_db.Transaction, () => ({ __proto__: dart.getGetters(indexed_db.Transaction.__proto__), [S.$completed]: async.Future$(indexed_db.Database), @@ -61553,39 +67036,57 @@ dart.setGetterSignature(indexed_db.Transaction, () => ({ [S.$onComplete]: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(indexed_db.Transaction, I[146]); +dart.setLibraryUri(indexed_db.Transaction, I[148]); +dart.setStaticFieldSignature(indexed_db.Transaction, () => ['abortEvent', 'completeEvent', 'errorEvent']); dart.defineLazy(indexed_db.Transaction, { /*indexed_db.Transaction.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[221] || CT.C221; + return C[231] || CT.C231; }, /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("IDBTransaction", indexed_db.Transaction); -html$.Event = class Event$ extends _interceptors.Interceptor { +html$.Event = class Event$ extends _interceptors.JavaScriptObject { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); + return html$.Event.new(type, {canBubble: canBubble, cancelable: cancelable}); + } static eventType(type, name, opts) { - if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); - if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); let e = html$.document[S._createEvent](type); e[S._initEvent](name, canBubble, cancelable); return e; } + static ['_#eventType#tearOff'](type, name, opts) { + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); + return html$.Event.eventType(type, name, {canBubble: canBubble, cancelable: cancelable}); + } get [S._selector]() { return this._selector; } @@ -61609,13 +67110,17 @@ html$.Event = class Event$ extends _interceptors.Interceptor { return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.Event._create_1(type, eventInitDict_1); } return html$.Event._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); + return html$.Event.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new Event(type, eventInitDict); } @@ -61684,6 +67189,7 @@ dart.setMethodSignature(html$.Event, () => ({ [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), [S.$stopPropagation]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Event, () => ['new', 'eventType', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.Event, () => ({ __proto__: dart.getGetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String), @@ -61706,7 +67212,8 @@ dart.setSetterSignature(html$.Event, () => ({ __proto__: dart.getSetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Event, I[148]); +dart.setLibraryUri(html$.Event, I[150]); +dart.setStaticFieldSignature(html$.Event, () => ['AT_TARGET', 'BUBBLING_PHASE', 'CAPTURING_PHASE']); dart.defineLazy(html$.Event, { /*html$.Event.AT_TARGET*/get AT_TARGET() { return 2; @@ -61722,14 +67229,21 @@ dart.registerExtension("Event", html$.Event); dart.registerExtension("InputEvent", html$.Event); dart.registerExtension("SubmitEvent", html$.Event); indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return indexed_db.VersionChangeEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); } return indexed_db.VersionChangeEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); + return indexed_db.VersionChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new IDBVersionChangeEvent(type, eventInitDict); } @@ -61754,6 +67268,7 @@ indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { }; dart.addTypeTests(indexed_db.VersionChangeEvent); dart.addTypeCaches(indexed_db.VersionChangeEvent); +dart.setStaticMethodSignature(indexed_db.VersionChangeEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), [S.$dataLoss]: dart.nullable(core.String), @@ -61762,7 +67277,7 @@ dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ [S.$oldVersion]: dart.nullable(core.int), [S.$target]: indexed_db.OpenDBRequest })); -dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); +dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { function containsDate(object) { @@ -61787,10 +67302,10 @@ indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(ob return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); }; indexed_db._completeRequest = function _completeRequest(T, request) { - if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + if (request == null) dart.nullFailed(I[147], 536, 39, "request"); let completer = async.Completer$(T).sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + if (e == null) dart.nullFailed(I[147], 540, 29, "e"); let result = T.as(request[S.$result]); completer.complete(result); }, T$0.EventTovoid())); @@ -61802,18 +67317,21 @@ dart.defineLazy(indexed_db, { return "JSExtendableArray|=Object|num|String"; }, /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[222] || CT.C222; + return C[232] || CT.C232; }, /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - return C[223] || CT.C223; + return C[233] || CT.C233; } }, false); html$.Node = class Node extends html$.EventTarget { + static ['_#_created#tearOff']() { + return new html$.Node._created(); + } get [S.$nodes]() { return new html$._ChildNodeListLazy.new(this); } set [S.$nodes](value) { - if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + if (value == null) dart.nullFailed(I[149], 23302, 28, "value"); let copy = value[$toList](); this[S.$text] = ""; for (let node of copy) { @@ -61827,7 +67345,7 @@ html$.Node = class Node extends html$.EventTarget { } } [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); try { let parent = dart.nullCheck(this.parentNode); parent[S$._replaceChild](otherNode, this); @@ -61839,20 +67357,20 @@ html$.Node = class Node extends html$.EventTarget { } return this; } - [S$.$insertAllBefore](newNodes, refChild) { - if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); - if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + [S$.$insertAllBefore](newNodes, child) { + if (newNodes == null) dart.nullFailed(I[149], 23342, 39, "newNodes"); + if (child == null) dart.nullFailed(I[149], 23342, 54, "child"); if (html$._ChildNodeListLazy.is(newNodes)) { let otherList = newNodes; if (otherList[S$._this] === this) { dart.throw(new core.ArgumentError.new(newNodes)); } for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), child); } } else { for (let node of newNodes) { - this.insertBefore(node, refChild); + this.insertBefore(node, child); } } } @@ -61868,6 +67386,9 @@ html$.Node = class Node extends html$.EventTarget { get [S$.$childNodes]() { return this.childNodes; } + static ['_#_#tearOff']() { + return html$.Node.__(); + } get [S.$baseUri]() { return this.baseURI; } @@ -61968,6 +67489,7 @@ dart.setMethodSignature(html$.Node, () => ({ [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) })); +dart.setStaticMethodSignature(html$.Node, () => ['__']); dart.setGetterSignature(html$.Node, () => ({ __proto__: dart.getGetters(html$.Node.__proto__), [S.$nodes]: core.List$(html$.Node), @@ -61991,7 +67513,8 @@ dart.setSetterSignature(html$.Node, () => ({ [S.$nodes]: core.Iterable$(html$.Node), [S.$text]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Node, I[148]); +dart.setLibraryUri(html$.Node, I[150]); +dart.setStaticFieldSignature(html$.Node, () => ['ATTRIBUTE_NODE', 'CDATA_SECTION_NODE', 'COMMENT_NODE', 'DOCUMENT_FRAGMENT_NODE', 'DOCUMENT_NODE', 'DOCUMENT_TYPE_NODE', 'ELEMENT_NODE', 'ENTITY_NODE', 'ENTITY_REFERENCE_NODE', 'NOTATION_NODE', 'PROCESSING_INSTRUCTION_NODE', 'TEXT_NODE']); dart.defineLazy(html$.Node, { /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { return 2; @@ -62037,98 +67560,197 @@ html$.Element = class Element extends html$.Node { let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + if (e == null) dart.nullFailed(I[149], 12777, 34, "e"); return html$.Element.is(e); }, T$0.NodeTobool()))[$single]); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.Element.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static ['_#created#tearOff']() { + return new html$.Element.created(); + } static tag(tag, typeExtension = null) { - if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); } + static ['_#tag#tearOff'](tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); + return html$.Element.tag(tag, typeExtension); + } static a() { return html$.AnchorElement.new(); } + static ['_#a#tearOff']() { + return html$.Element.a(); + } + static ['_#article#tearOff']() { + return html$.Element.article(); + } static article() { return html$.Element.tag("article"); } + static ['_#aside#tearOff']() { + return html$.Element.aside(); + } static aside() { return html$.Element.tag("aside"); } static audio() { return html$.Element.tag("audio"); } + static ['_#audio#tearOff']() { + return html$.Element.audio(); + } static br() { return html$.BRElement.new(); } + static ['_#br#tearOff']() { + return html$.Element.br(); + } static canvas() { return html$.CanvasElement.new(); } + static ['_#canvas#tearOff']() { + return html$.Element.canvas(); + } + static ['_#div#tearOff']() { + return html$.Element.div(); + } static div() { return html$.DivElement.new(); } static footer() { return html$.Element.tag("footer"); } + static ['_#footer#tearOff']() { + return html$.Element.footer(); + } static header() { return html$.Element.tag("header"); } + static ['_#header#tearOff']() { + return html$.Element.header(); + } static hr() { return html$.Element.tag("hr"); } + static ['_#hr#tearOff']() { + return html$.Element.hr(); + } static iframe() { return html$.Element.tag("iframe"); } + static ['_#iframe#tearOff']() { + return html$.Element.iframe(); + } static img() { return html$.Element.tag("img"); } + static ['_#img#tearOff']() { + return html$.Element.img(); + } static li() { return html$.Element.tag("li"); } + static ['_#li#tearOff']() { + return html$.Element.li(); + } static nav() { return html$.Element.tag("nav"); } + static ['_#nav#tearOff']() { + return html$.Element.nav(); + } + static ['_#ol#tearOff']() { + return html$.Element.ol(); + } static ol() { return html$.Element.tag("ol"); } + static ['_#option#tearOff']() { + return html$.Element.option(); + } static option() { return html$.Element.tag("option"); } + static ['_#p#tearOff']() { + return html$.Element.p(); + } static p() { return html$.Element.tag("p"); } + static ['_#pre#tearOff']() { + return html$.Element.pre(); + } static pre() { return html$.Element.tag("pre"); } static section() { return html$.Element.tag("section"); } + static ['_#section#tearOff']() { + return html$.Element.section(); + } static select() { return html$.Element.tag("select"); } + static ['_#select#tearOff']() { + return html$.Element.select(); + } + static ['_#span#tearOff']() { + return html$.Element.span(); + } static span() { return html$.Element.tag("span"); } static svg() { return html$.Element.tag("svg"); } + static ['_#svg#tearOff']() { + return html$.Element.svg(); + } static table() { return html$.Element.tag("table"); } + static ['_#table#tearOff']() { + return html$.Element.table(); + } static td() { return html$.Element.tag("td"); } + static ['_#td#tearOff']() { + return html$.Element.td(); + } static textarea() { return html$.Element.tag("textarea"); } + static ['_#textarea#tearOff']() { + return html$.Element.textarea(); + } + static ['_#th#tearOff']() { + return html$.Element.th(); + } static th() { return html$.Element.tag("th"); } + static ['_#tr#tearOff']() { + return html$.Element.tr(); + } static tr() { return html$.Element.tag("tr"); } + static ['_#ul#tearOff']() { + return html$.Element.ul(); + } static ul() { return html$.Element.tag("ul"); } + static ['_#video#tearOff']() { + return html$.Element.video(); + } static video() { return html$.Element.tag("video"); } @@ -62136,7 +67758,7 @@ html$.Element = class Element extends html$.Node { return new html$._ElementAttributeMap.new(this); } set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); let attributes = this[S.$attributes]; attributes[$clear](); for (let key of value[$keys]) { @@ -62144,45 +67766,45 @@ html$.Element = class Element extends html$.Node { } } [S.$getAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12991, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 12994, 12, "name != null"); return this[S._getAttribute](name); } [S.$getAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12999, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13003, 12, "name != null"); return this[S._getAttributeNS](namespaceURI, name); } [S.$hasAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13008, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13011, 12, "name != null"); return this[S._hasAttribute](name); } [S.$hasAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13016, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13020, 12, "name != null"); return this[S._hasAttributeNS](namespaceURI, name); } [S.$removeAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13025, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13028, 12, "name != null"); this[S._removeAttribute](name); } [S.$removeAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13033, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13036, 12, "name != null"); this[S._removeAttributeNS](namespaceURI, name); } [S.$setAttribute](name, value) { - if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); - if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13041, 28, "name"); + if (value == null) dart.nullFailed(I[149], 13041, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13044, 12, "name != null"); this[S._setAttribute](name, value); } [S.$setAttributeNS](namespaceURI, name, value) { - if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); - if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13050, 52, "name"); + if (value == null) dart.nullFailed(I[149], 13050, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13053, 12, "name != null"); this[S._setAttributeNS](namespaceURI, name, value); } get [S.$children]() { @@ -62192,24 +67814,24 @@ html$.Element = class Element extends html$.Node { return this.children; } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + if (value == null) dart.nullFailed(I[149], 13082, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13101, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } [S._setApplyScroll](...args) { return this.setApplyScroll.apply(this, args); } [S.$setApplyScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13108, 45, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62218,10 +67840,10 @@ html$.Element = class Element extends html$.Node { return this.setDistributeScroll.apply(this, args); } [S.$setDistributeScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13120, 50, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setDistributeScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + if (value == null) dart.nullFailed(I[149], 13122, 27, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62230,7 +67852,7 @@ html$.Element = class Element extends html$.Node { return new html$._ElementCssClassSet.new(this); } set [S.$classes](value) { - if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); let classSet = this[S.$classes]; classSet.clear(); classSet.addAll(value); @@ -62239,7 +67861,7 @@ html$.Element = class Element extends html$.Node { return new html$._DataAttributeMap.new(this[S.$attributes]); } set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); let data = this[S.$dataset]; data[$clear](); for (let key of value[$keys]) { @@ -62247,7 +67869,7 @@ html$.Element = class Element extends html$.Node { } } [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); return new html$._NamespacedAttributeMap.new(this, namespace); } [S.$getComputedStyle](pseudoElement = null) { @@ -62263,17 +67885,17 @@ html$.Element = class Element extends html$.Node { return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13231, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13239, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + if (tag == null) dart.nullFailed(I[149], 13250, 37, "tag"); let e = html$._ElementFactoryProvider.createElement_tag(tag, null); return html$.Element.is(e) && !html$.UnknownElement.is(e); } @@ -62297,16 +67919,16 @@ html$.Element = class Element extends html$.Node { [S.$leftView]() { } [S.$animate](frames, timing = null) { - if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (frames == null) dart.nullFailed(I[149], 13326, 52, "frames"); if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + if (x == null) dart.nullFailed(I[149], 13327, 48, "x"); return core.Map.is(x); }, T$0.MapOfString$dynamicTobool())))) { dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); } let convertedFrames = null; if (core.Iterable.is(frames)) { - convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + convertedFrames = frames[$map](dart.dynamic, C[234] || CT.C234)[$toList](); } else { convertedFrames = frames; } @@ -62317,9 +67939,9 @@ html$.Element = class Element extends html$.Node { return this.animate.apply(this, args); } [S.$attributeChanged](name, oldValue, newValue) { - if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); - if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); - if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + if (name == null) dart.nullFailed(I[149], 13349, 32, "name"); + if (oldValue == null) dart.nullFailed(I[149], 13349, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 13349, 62, "newValue"); } get [S.$localName]() { return this[S._localName]; @@ -62339,20 +67961,20 @@ html$.Element = class Element extends html$.Node { this[S._scrollIntoView](false); } else if (hasScrollIntoViewIfNeeded) { if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this[S._scrollIntoViewIfNeeded](true); + this.scrollIntoViewIfNeeded(true); } else { - this[S._scrollIntoViewIfNeeded](); + this.scrollIntoViewIfNeeded(); } } else { this[S._scrollIntoView](); } } static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); return "wheel"; } static _determineTransitionEventType(e) { - if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13438, 59, "e"); if (dart.test(html_common.Device.isWebKit)) { return "webkitTransitionEnd"; } else if (dart.test(html_common.Device.isOpera)) { @@ -62361,8 +67983,8 @@ html$.Element = class Element extends html$.Node { return "transitionend"; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); - if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (where == null) dart.nullFailed(I[149], 13458, 34, "where"); + if (text == null) dart.nullFailed(I[149], 13458, 48, "text"); if (!!this.insertAdjacentText) { this[S._insertAdjacentText](where, text); } else { @@ -62373,8 +67995,8 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentText.apply(this, args); } [S.$insertAdjacentHtml](where, html, opts) { - if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); - if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + if (where == null) dart.nullFailed(I[149], 13493, 34, "where"); + if (html == null) dart.nullFailed(I[149], 13493, 48, "html"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { @@ -62387,8 +68009,8 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentHTML.apply(this, args); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); - if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (where == null) dart.nullFailed(I[149], 13518, 40, "where"); + if (element == null) dart.nullFailed(I[149], 13518, 55, "element"); if (!!this.insertAdjacentElement) { this[S._insertAdjacentElement](where, element); } else { @@ -62400,38 +68022,38 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentElement.apply(this, args); } [S._insertAdjacentNode](where, node) { - if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); - if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + if (where == null) dart.nullFailed(I[149], 13530, 35, "where"); + if (node == null) dart.nullFailed(I[149], 13530, 47, "node"); switch (where[$toLowerCase]()) { case "beforebegin": - { - dart.nullCheck(this.parentNode).insertBefore(node, this); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } case "afterbegin": - { - let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; - this.insertBefore(node, first); - break; - } + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } case "beforeend": - { - this[S.$append](node); - break; - } + { + this[S.$append](node); + break; + } case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } } } [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); if (!!this.matches) { return this.matches(selectors); } else if (!!this.webkitMatchesSelector) { @@ -62447,7 +68069,7 @@ html$.Element = class Element extends html$.Node { } } [S.$matchesWithAncestors](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13570, 36, "selectors"); let elem = this; do { if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; @@ -62477,11 +68099,11 @@ html$.Element = class Element extends html$.Node { return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); } [S.$offsetTo](parent) { - if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + if (parent == null) dart.nullFailed(I[149], 13702, 26, "parent"); return html$.Element._offsetToHelper(this, parent); } static _offsetToHelper(current, parent) { - if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + if (parent == null) dart.nullFailed(I[149], 13706, 58, "parent"); let sameAsParent = current == parent; let foundAsParent = sameAsParent || parent.tagName === "HTML"; if (current == null || sameAsParent) { @@ -62493,7 +68115,7 @@ html$.Element = class Element extends html$.Node { return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); } [S.$createFragment](html, opts) { - let t232; + let t213; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { @@ -62527,21 +68149,21 @@ html$.Element = class Element extends html$.Node { contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); } else { contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](contextElement); } let fragment = null; if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); } else { - dart.dput(contextElement, S._innerHtml, html); + contextElement[S._innerHtml] = html; fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (dart.dload(contextElement, 'firstChild') != null) { - fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + while (contextElement.firstChild != null) { + fragment[S.$append](dart.nullCheck(contextElement.firstChild)); } } if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - dart.dsend(contextElement, 'remove', []); + contextElement[$remove](); } dart.nullCheck(treeSanitizer).sanitizeTree(fragment); html$.document.adoptNode(fragment); @@ -62579,7 +68201,7 @@ html$.Element = class Element extends html$.Node { return new html$.ElementEvents.new(this); } static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); return (function(element) { if (!(element.attributes instanceof NamedNodeMap)) { return true; @@ -62610,14 +68232,15 @@ html$.Element = class Element extends html$.Node { })(element); } static _hasCorruptedAttributesAdditionalCheck(element) { - if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + if (element == null) dart.nullFailed(I[149], 13967, 62, "element"); return !(element.attributes instanceof NamedNodeMap); } static _safeTagName(element) { + if (element == null) dart.nullFailed(I[149], 13971, 38, "element"); let result = "element tag unavailable"; try { - if (typeof dart.dload(element, 'tagName') == 'string') { - result = core.String.as(dart.dload(element, 'tagName')); + if (typeof element.tagName == 'string') { + result = element.tagName; } } catch (e$) { let e = dart.getThrown(e$); @@ -62649,19 +68272,32 @@ html$.Element = class Element extends html$.Node { return this.scrollLeft[$round](); } set [S.$scrollLeft](value) { - if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13994, 22, "value"); this.scrollLeft = value[$round](); } get [S.$scrollTop]() { return this.scrollTop[$round](); } set [S.$scrollTop](value) { - if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + if (value == null) dart.nullFailed(I[149], 14000, 21, "value"); this.scrollTop = value[$round](); } get [S.$scrollWidth]() { return this.scrollWidth[$round](); } + [S.$requestFullscreen](options = null) { + let retValue = null; + if (options != null) { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this, html_common.convertDartToNative_Dictionary(options)); + } else { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this); + } + if (retValue != null) return js_util.promiseToFuture(dart.void, core.Object.as(retValue)); + return T$.FutureOfvoid().value(); + } + static ['_#_#tearOff']() { + return html$.Element.__(); + } get [S.$contentEditable]() { return this.contentEditable; } @@ -62828,7 +68464,7 @@ html$.Element = class Element extends html$.Node { return this.tagName; } [S.$attachShadow](shadowRootInitDict) { - if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + if (shadowRootInitDict == null) dart.nullFailed(I[149], 14758, 31, "shadowRootInitDict"); let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); return this[S._attachShadow_1](shadowRootInitDict_1); } @@ -62939,7 +68575,7 @@ html$.Element = class Element extends html$.Node { [S._scrollIntoView](...args) { return this.scrollIntoView.apply(this, args); } - [S._scrollIntoViewIfNeeded](...args) { + [S.$scrollIntoViewIfNeeded](...args) { return this.scrollIntoViewIfNeeded.apply(this, args); } [S.$scrollTo](options_OR_x = null, y = null) { @@ -62976,9 +68612,6 @@ html$.Element = class Element extends html$.Node { [S.$setPointerCapture](...args) { return this.setPointerCapture.apply(this, args); } - [S.$requestFullscreen](...args) { - return this.webkitRequestFullscreen.apply(this, args); - } [S.$after](...args) { return this.after.apply(this, args); } @@ -63108,70 +68741,70 @@ html$.Element = class Element extends html$.Node { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forElement(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forElement(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forElement(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -63223,7 +68856,7 @@ html$.Element = class Element extends html$.Node { }).prototype = html$.Element.prototype; dart.addTypeTests(html$.Element); dart.addTypeCaches(html$.Element); -html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; +html$.Element[dart.implements] = () => [html$.ParentNode, html$.ChildNode, html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers]; dart.setMethodSignature(html$.Element, () => ({ __proto__: dart.getMethods(html$.Element.__proto__), [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), @@ -63232,8 +68865,8 @@ dart.setMethodSignature(html$.Element, () => ({ [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), @@ -63265,6 +68898,7 @@ dart.setMethodSignature(html$.Element, () => ({ [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$requestFullscreen]: dart.fnType(async.Future$(dart.void), [], [dart.nullable(core.Map)]), [S.$blur]: dart.fnType(dart.void, []), [S.$click]: dart.fnType(dart.void, []), [S.$focus]: dart.fnType(dart.void, []), @@ -63296,20 +68930,20 @@ dart.setMethodSignature(html$.Element, () => ({ [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), [S._scrollTo_1]: dart.fnType(dart.void, []), [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [S.$requestFullscreen]: dart.fnType(dart.void, []), [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); +dart.setStaticMethodSignature(html$.Element, () => ['html', 'tag', 'a', 'article', 'aside', 'audio', 'br', 'canvas', 'div', 'footer', 'header', 'hr', 'iframe', 'img', 'li', 'nav', 'ol', 'option', 'p', 'pre', 'section', 'select', 'span', 'svg', 'table', 'td', 'textarea', 'th', 'tr', 'ul', 'video', 'isTagSupported', '_determineMouseWheelEventType', '_determineTransitionEventType', '_offsetToHelper', '_hasCorruptedAttributes', '_hasCorruptedAttributesAdditionalCheck', '_safeTagName', '__']); dart.setGetterSignature(html$.Element, () => ({ __proto__: dart.getGetters(html$.Element.__proto__), [S.$attributes]: core.Map$(core.String, core.String), @@ -63415,28 +69049,28 @@ dart.setGetterSignature(html$.Element, () => ({ [S.$onLoadedData]: html$.ElementStream$(html$.Event), [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), - [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onPause]: html$.ElementStream$(html$.Event), - [S.$onPlay]: html$.ElementStream$(html$.Event), - [S.$onPlaying]: html$.ElementStream$(html$.Event), - [S.$onRateChange]: html$.ElementStream$(html$.Event), - [S.$onReset]: html$.ElementStream$(html$.Event), - [S.$onResize]: html$.ElementStream$(html$.Event), - [S.$onScroll]: html$.ElementStream$(html$.Event), - [S.$onSearch]: html$.ElementStream$(html$.Event), - [S.$onSeeked]: html$.ElementStream$(html$.Event), - [S.$onSeeking]: html$.ElementStream$(html$.Event), - [S.$onSelect]: html$.ElementStream$(html$.Event), - [S.$onSelectStart]: html$.ElementStream$(html$.Event), - [S.$onStalled]: html$.ElementStream$(html$.Event), - [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S$.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S$.$onPause]: html$.ElementStream$(html$.Event), + [S$.$onPlay]: html$.ElementStream$(html$.Event), + [S$.$onPlaying]: html$.ElementStream$(html$.Event), + [S$.$onRateChange]: html$.ElementStream$(html$.Event), + [S$.$onReset]: html$.ElementStream$(html$.Event), + [S$.$onResize]: html$.ElementStream$(html$.Event), + [S$.$onScroll]: html$.ElementStream$(html$.Event), + [S$.$onSearch]: html$.ElementStream$(html$.Event), + [S$.$onSeeked]: html$.ElementStream$(html$.Event), + [S$.$onSeeking]: html$.ElementStream$(html$.Event), + [S$.$onSelect]: html$.ElementStream$(html$.Event), + [S$.$onSelectStart]: html$.ElementStream$(html$.Event), + [S$.$onStalled]: html$.ElementStream$(html$.Event), + [S$.$onSubmit]: html$.ElementStream$(html$.Event), [S$.$onSuspend]: html$.ElementStream$(html$.Event), [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), @@ -63480,236 +69114,237 @@ dart.setSetterSignature(html$.Element, () => ({ [S._scrollTop]: core.num, [S.$slot]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Element, I[148]); +dart.setLibraryUri(html$.Element, I[150]); +dart.setStaticFieldSignature(html$.Element, () => ['mouseWheelEvent', 'transitionEndEvent', '_parseDocument', '_parseRange', '_defaultValidator', '_defaultSanitizer', '_tagsForWhichCreateContextualFragmentIsNotSupported', 'abortEvent', 'beforeCopyEvent', 'beforeCutEvent', 'beforePasteEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'copyEvent', 'cutEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'pasteEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'searchEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'selectStartEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchEnterEvent', 'touchLeaveEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'fullscreenChangeEvent', 'fullscreenErrorEvent', 'wheelEvent']); dart.defineLazy(html$.Element, { /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { - return C[225] || CT.C225; + return C[235] || CT.C235; }, /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[227] || CT.C227; + return C[237] || CT.C237; }, /*html$.Element._parseDocument*/get _parseDocument() { return null; }, - set _parseDocument(_) {}, + set _parseDocument(value) {}, /*html$.Element._parseRange*/get _parseRange() { return null; }, - set _parseRange(_) {}, + set _parseRange(value) {}, /*html$.Element._defaultValidator*/get _defaultValidator() { return null; }, - set _defaultValidator(_) {}, + set _defaultValidator(value) {}, /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { return null; }, - set _defaultSanitizer(_) {}, + set _defaultSanitizer(value) {}, /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[229] || CT.C229; + return C[239] || CT.C239; }, /*html$.Element.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[230] || CT.C230; + return C[240] || CT.C240; }, /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[231] || CT.C231; + return C[241] || CT.C241; }, /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[232] || CT.C232; + return C[242] || CT.C242; }, /*html$.Element.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.Element.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.Element.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.Element.copyEvent*/get copyEvent() { - return C[239] || CT.C239; + return C[249] || CT.C249; }, /*html$.Element.cutEvent*/get cutEvent() { - return C[240] || CT.C240; + return C[250] || CT.C250; }, /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.Element.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.Element.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.Element.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.Element.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Element.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.Element.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.Element.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.Element.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.Element.pasteEvent*/get pasteEvent() { - return C[268] || CT.C268; + return C[278] || CT.C278; }, /*html$.Element.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.Element.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.Element.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.Element.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.Element.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.Element.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.Element.searchEvent*/get searchEvent() { - return C[276] || CT.C276; + return C[286] || CT.C286; }, /*html$.Element.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.Element.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.Element.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[280] || CT.C280; + return C[290] || CT.C290; }, /*html$.Element.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.Element.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.Element.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[287] || CT.C287; + return C[297] || CT.C297; }, /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[288] || CT.C288; + return C[298] || CT.C298; }, /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.Element.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[293] || CT.C293; + return C[303] || CT.C303; }, /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[294] || CT.C294; + return C[304] || CT.C304; }, /*html$.Element.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("Element", html$.Element); @@ -63717,6 +69352,12 @@ html$.HtmlElement = class HtmlElement extends html$.Element { static new() { dart.throw(new core.UnsupportedError.new("Not supported")); } + static ['_#new#tearOff']() { + return html$.HtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlElement.created(); + } get [S.$nonce]() { return this.nonce; } @@ -63731,6 +69372,7 @@ html$.HtmlElement = class HtmlElement extends html$.Element { dart.addTypeTests(html$.HtmlElement); dart.addTypeCaches(html$.HtmlElement); html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; +dart.setStaticMethodSignature(html$.HtmlElement, () => ['new']); dart.setGetterSignature(html$.HtmlElement, () => ({ __proto__: dart.getGetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -63739,17 +69381,24 @@ dart.setSetterSignature(html$.HtmlElement, () => ({ __proto__: dart.getSetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HtmlElement, I[148]); +dart.setLibraryUri(html$.HtmlElement, I[150]); dart.registerExtension("HTMLElement", html$.HtmlElement); html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ExtendableEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ExtendableEvent._create_1(type, eventInitDict_1); } return html$.ExtendableEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); + return html$.ExtendableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ExtendableEvent(type, eventInitDict); } @@ -63766,15 +69415,24 @@ dart.setMethodSignature(html$.ExtendableEvent, () => ({ __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.ExtendableEvent, I[148]); +dart.setStaticMethodSignature(html$.ExtendableEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.ExtendableEvent, I[150]); dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.AbortPaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 141, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); + return html$.AbortPaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AbortPaymentEvent(type, eventInitDict); } @@ -63788,9 +69446,13 @@ dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); +dart.setStaticMethodSignature(html$.AbortPaymentEvent, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.AbortPaymentEvent, I[150]); dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); html$.Sensor = class Sensor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Sensor.__(); + } get [S$.$activated]() { return this.activated; } @@ -63817,6 +69479,7 @@ dart.setMethodSignature(html$.Sensor, () => ({ [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Sensor, () => ['__']); dart.setGetterSignature(html$.Sensor, () => ({ __proto__: dart.getGetters(html$.Sensor.__proto__), [S$.$activated]: dart.nullable(core.bool), @@ -63824,14 +69487,18 @@ dart.setGetterSignature(html$.Sensor, () => ({ [S$.$timestamp]: dart.nullable(core.num), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.Sensor, I[148]); +dart.setLibraryUri(html$.Sensor, I[150]); +dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); dart.defineLazy(html$.Sensor, { /*html$.Sensor.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("Sensor", html$.Sensor); html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.OrientationSensor.__(); + } get [S$.$quaternion]() { return this.quaternion; } @@ -63845,13 +69512,17 @@ dart.setMethodSignature(html$.OrientationSensor, () => ({ __proto__: dart.getMethods(html$.OrientationSensor.__proto__), [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.OrientationSensor, () => ['__']); dart.setGetterSignature(html$.OrientationSensor, () => ({ __proto__: dart.getGetters(html$.OrientationSensor.__proto__), [S$.$quaternion]: dart.nullable(core.List$(core.num)) })); -dart.setLibraryUri(html$.OrientationSensor, I[148]); +dart.setLibraryUri(html$.OrientationSensor, I[150]); dart.registerExtension("OrientationSensor", html$.OrientationSensor); html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.AbsoluteOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63859,6 +69530,9 @@ html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$ } return html$.AbsoluteOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AbsoluteOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AbsoluteOrientationSensor(sensorOptions); } @@ -63868,9 +69542,13 @@ html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$ }; dart.addTypeTests(html$.AbsoluteOrientationSensor); dart.addTypeCaches(html$.AbsoluteOrientationSensor); -dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); +dart.setStaticMethodSignature(html$.AbsoluteOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[150]); dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); -html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { +html$.AbstractWorker = class AbstractWorker extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AbstractWorker.__(); + } get onError() { return html$.AbstractWorker.errorEvent.forTarget(this); } @@ -63878,19 +69556,24 @@ html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { dart.addTypeTests(html$.AbstractWorker); dart.addTypeCaches(html$.AbstractWorker); html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; +dart.setStaticMethodSignature(html$.AbstractWorker, () => ['__']); dart.setGetterSignature(html$.AbstractWorker, () => ({ __proto__: dart.getGetters(html$.AbstractWorker.__proto__), onError: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.AbstractWorker, I[148]); +dart.setLibraryUri(html$.AbstractWorker, I[150]); +dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); dart.defineLazy(html$.AbstractWorker, { /*html$.AbstractWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Accelerometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63898,6 +69581,9 @@ html$.Accelerometer = class Accelerometer$ extends html$.Sensor { } return html$.Accelerometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Accelerometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Accelerometer(sensorOptions); } @@ -63916,15 +69602,22 @@ html$.Accelerometer = class Accelerometer$ extends html$.Sensor { }; dart.addTypeTests(html$.Accelerometer); dart.addTypeCaches(html$.Accelerometer); +dart.setStaticMethodSignature(html$.Accelerometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Accelerometer, () => ({ __proto__: dart.getGetters(html$.Accelerometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Accelerometer, I[148]); +dart.setLibraryUri(html$.Accelerometer, I[150]); dart.registerExtension("Accelerometer", html$.Accelerometer); html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.AccessibleNode.__(); + } + static ['_#new#tearOff']() { + return html$.AccessibleNode.new(); + } static new() { return html$.AccessibleNode._create_1(); } @@ -64241,6 +69934,7 @@ dart.setMethodSignature(html$.AccessibleNode, () => ({ __proto__: dart.getMethods(html$.AccessibleNode.__proto__), [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) })); +dart.setStaticMethodSignature(html$.AccessibleNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.AccessibleNode, () => ({ __proto__: dart.getGetters(html$.AccessibleNode.__proto__), [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), @@ -64347,35 +70041,42 @@ dart.setSetterSignature(html$.AccessibleNode, () => ({ [S$.$valueNow]: dart.nullable(core.num), [S$.$valueText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AccessibleNode, I[148]); +dart.setLibraryUri(html$.AccessibleNode, I[150]); +dart.setStaticFieldSignature(html$.AccessibleNode, () => ['accessibleClickEvent', 'accessibleContextMenuEvent', 'accessibleDecrementEvent', 'accessibleFocusEvent', 'accessibleIncrementEvent', 'accessibleScrollIntoViewEvent']); dart.defineLazy(html$.AccessibleNode, { /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { - return C[296] || CT.C296; + return C[306] || CT.C306; }, /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[297] || CT.C297; + return C[307] || CT.C307; }, /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[298] || CT.C298; + return C[308] || CT.C308; }, /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[299] || CT.C299; + return C[309] || CT.C309; }, /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[300] || CT.C300; + return C[310] || CT.C310; }, /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[301] || CT.C301; + return C[311] || CT.C311; } }, false); dart.registerExtension("AccessibleNode", html$.AccessibleNode); -html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { +html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AccessibleNodeList.__(); + } static new(nodes = null) { if (nodes != null) { return html$.AccessibleNodeList._create_1(nodes); } return html$.AccessibleNodeList._create_2(); } + static ['_#new#tearOff'](nodes = null) { + return html$.AccessibleNodeList.new(nodes); + } static _create_1(nodes) { return new AccessibleNodeList(nodes); } @@ -64410,6 +70111,7 @@ dart.setMethodSignature(html$.AccessibleNodeList, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), [$remove]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.AccessibleNodeList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AccessibleNodeList, () => ({ __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) @@ -64418,9 +70120,12 @@ dart.setSetterSignature(html$.AccessibleNodeList, () => ({ __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.AccessibleNodeList, I[148]); +dart.setLibraryUri(html$.AccessibleNodeList, I[150]); dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.AmbientLightSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -64428,6 +70133,9 @@ html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { } return html$.AmbientLightSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AmbientLightSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AmbientLightSensor(sensorOptions); } @@ -64440,19 +70148,30 @@ html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { }; dart.addTypeTests(html$.AmbientLightSensor); dart.addTypeCaches(html$.AmbientLightSensor); +dart.setStaticMethodSignature(html$.AmbientLightSensor, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AmbientLightSensor, () => ({ __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), [S$.$illuminance]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AmbientLightSensor, I[148]); +dart.setLibraryUri(html$.AmbientLightSensor, I[150]); dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AnchorElement.__(); + } + static ['_#new#tearOff'](opts) { + let href = opts && 'href' in opts ? opts.href : null; + return html$.AnchorElement.new({href: href}); + } static new(opts) { let href = opts && 'href' in opts ? opts.href : null; let e = html$.document.createElement("a"); if (href != null) e.href = href; return e; } + static ['_#created#tearOff']() { + return new html$.AnchorElement.created(); + } get [S$.$download]() { return this.download; } @@ -64563,6 +70282,7 @@ html$.AnchorElement = class AnchorElement extends html$.HtmlElement { dart.addTypeTests(html$.AnchorElement); dart.addTypeCaches(html$.AnchorElement); html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setStaticMethodSignature(html$.AnchorElement, () => ['__', 'new']); dart.setGetterSignature(html$.AnchorElement, () => ({ __proto__: dart.getGetters(html$.AnchorElement.__proto__), [S$.$download]: dart.nullable(core.String), @@ -64602,9 +70322,12 @@ dart.setSetterSignature(html$.AnchorElement, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AnchorElement, I[148]); +dart.setLibraryUri(html$.AnchorElement, I[150]); dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); html$.Animation = class Animation$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Animation.__(); + } static new(effect = null, timeline = null) { if (timeline != null) { return html$.Animation._create_1(effect, timeline); @@ -64614,6 +70337,9 @@ html$.Animation = class Animation$ extends html$.EventTarget { } return html$.Animation._create_3(); } + static ['_#new#tearOff'](effect = null, timeline = null) { + return html$.Animation.new(effect, timeline); + } static _create_1(effect, timeline) { return new Animation(effect, timeline); } @@ -64700,6 +70426,7 @@ dart.setMethodSignature(html$.Animation, () => ({ [S$.$play]: dart.fnType(dart.void, []), [S$.$reverse]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Animation, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.Animation, () => ({ __proto__: dart.getGetters(html$.Animation.__proto__), [S$.$currentTime]: dart.nullable(core.num), @@ -64722,17 +70449,22 @@ dart.setSetterSignature(html$.Animation, () => ({ [S$.$playbackRate]: dart.nullable(core.num), [S$.$startTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Animation, I[148]); +dart.setStaticGetterSignature(html$.Animation, () => ['supported']); +dart.setLibraryUri(html$.Animation, I[150]); +dart.setStaticFieldSignature(html$.Animation, () => ['cancelEvent', 'finishEvent']); dart.defineLazy(html$.Animation, { /*html$.Animation.cancelEvent*/get cancelEvent() { - return C[302] || CT.C302; + return C[312] || CT.C312; }, /*html$.Animation.finishEvent*/get finishEvent() { - return C[303] || CT.C303; + return C[313] || CT.C313; } }, false); dart.registerExtension("Animation", html$.Animation); -html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { +html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectReadOnly.__(); + } get [S$.$timing]() { return this.timing; } @@ -64750,13 +70482,17 @@ dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ [S$.$getComputedTiming]: dart.fnType(core.Map, []), [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) })); +dart.setStaticMethodSignature(html$.AnimationEffectReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) })); -dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); +dart.setLibraryUri(html$.AnimationEffectReadOnly, I[150]); dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); -html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { +html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectTimingReadOnly.__(); + } get [S$.$delay]() { return this.delay; } @@ -64784,6 +70520,7 @@ html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extend }; dart.addTypeTests(html$.AnimationEffectTimingReadOnly); dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); +dart.setStaticMethodSignature(html$.AnimationEffectTimingReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64795,9 +70532,12 @@ dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); +dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[150]); dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + static ['_#_#tearOff']() { + return html$.AnimationEffectTiming.__(); + } get [S$.$delay]() { return this.delay; } @@ -64849,6 +70589,7 @@ html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.Animatio }; dart.addTypeTests(html$.AnimationEffectTiming); dart.addTypeCaches(html$.AnimationEffectTiming); +dart.setStaticMethodSignature(html$.AnimationEffectTiming, () => ['__']); dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64860,17 +70601,24 @@ dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); +dart.setLibraryUri(html$.AnimationEffectTiming, I[150]); dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationEvent._create_1(type, eventInitDict_1); } return html$.AnimationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); + return html$.AnimationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationEvent(type, eventInitDict); } @@ -64886,22 +70634,30 @@ html$.AnimationEvent = class AnimationEvent$ extends html$.Event { }; dart.addTypeTests(html$.AnimationEvent); dart.addTypeCaches(html$.AnimationEvent); +dart.setStaticMethodSignature(html$.AnimationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationEvent, () => ({ __proto__: dart.getGetters(html$.AnimationEvent.__proto__), [S$.$animationName]: dart.nullable(core.String), [S$.$elapsedTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEvent, I[148]); +dart.setLibraryUri(html$.AnimationEvent, I[150]); dart.registerExtension("AnimationEvent", html$.AnimationEvent); html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationPlaybackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); } return html$.AnimationPlaybackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); + return html$.AnimationPlaybackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationPlaybackEvent(type, eventInitDict); } @@ -64917,32 +70673,45 @@ html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event }; dart.addTypeTests(html$.AnimationPlaybackEvent); dart.addTypeCaches(html$.AnimationPlaybackEvent); +dart.setStaticMethodSignature(html$.AnimationPlaybackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), [S$.$currentTime]: dart.nullable(core.num), [S$.$timelineTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); +dart.setLibraryUri(html$.AnimationPlaybackEvent, I[150]); dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); -html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { +html$.AnimationTimeline = class AnimationTimeline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationTimeline.__(); + } get [S$.$currentTime]() { return this.currentTime; } }; dart.addTypeTests(html$.AnimationTimeline); dart.addTypeCaches(html$.AnimationTimeline); +dart.setStaticMethodSignature(html$.AnimationTimeline, () => ['__']); dart.setGetterSignature(html$.AnimationTimeline, () => ({ __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), [S$.$currentTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationTimeline, I[148]); +dart.setLibraryUri(html$.AnimationTimeline, I[150]); dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); -html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; +html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletGlobalScope.__(); + } +}; dart.addTypeTests(html$.WorkletGlobalScope); dart.addTypeCaches(html$.WorkletGlobalScope); -dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); +dart.setStaticMethodSignature(html$.WorkletGlobalScope, () => ['__']); +dart.setLibraryUri(html$.WorkletGlobalScope, I[150]); dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.AnimationWorkletGlobalScope.__(); + } [S$.$registerAnimator](...args) { return this.registerAnimator.apply(this, args); } @@ -64953,9 +70722,13 @@ dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) })); -dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); +dart.setStaticMethodSignature(html$.AnimationWorkletGlobalScope, () => ['__']); +dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[150]); dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ApplicationCache.__(); + } static get supported() { return !!window.applicationCache; } @@ -65004,6 +70777,7 @@ dart.setMethodSignature(html$.ApplicationCache, () => ({ [S$.$swapCache]: dart.fnType(dart.void, []), [$update]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ApplicationCache, () => ['__']); dart.setGetterSignature(html$.ApplicationCache, () => ({ __proto__: dart.getGetters(html$.ApplicationCache.__proto__), [S$.$status]: dart.nullable(core.int), @@ -65016,31 +70790,33 @@ dart.setGetterSignature(html$.ApplicationCache, () => ({ [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$.$onUpdateReady]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ApplicationCache, I[148]); +dart.setStaticGetterSignature(html$.ApplicationCache, () => ['supported']); +dart.setLibraryUri(html$.ApplicationCache, I[150]); +dart.setStaticFieldSignature(html$.ApplicationCache, () => ['cachedEvent', 'checkingEvent', 'downloadingEvent', 'errorEvent', 'noUpdateEvent', 'obsoleteEvent', 'progressEvent', 'updateReadyEvent', 'CHECKING', 'DOWNLOADING', 'IDLE', 'OBSOLETE', 'UNCACHED', 'UPDATEREADY']); dart.defineLazy(html$.ApplicationCache, { /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { - return C[304] || CT.C304; + return C[314] || CT.C314; }, /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[305] || CT.C305; + return C[315] || CT.C315; }, /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[306] || CT.C306; + return C[316] || CT.C316; }, /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[307] || CT.C307; + return C[317] || CT.C317; }, /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[308] || CT.C308; + return C[318] || CT.C318; }, /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[310] || CT.C310; + return C[320] || CT.C320; }, /*html$.ApplicationCache.CHECKING*/get CHECKING() { return 2; @@ -65065,14 +70841,21 @@ dart.registerExtension("ApplicationCache", html$.ApplicationCache); dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); dart.registerExtension("OfflineResourceList", html$.ApplicationCache); html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ApplicationCacheErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); } return html$.ApplicationCacheErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); + return html$.ApplicationCacheErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ApplicationCacheErrorEvent(type, eventInitDict); } @@ -65094,6 +70877,7 @@ html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends htm }; dart.addTypeTests(html$.ApplicationCacheErrorEvent); dart.addTypeCaches(html$.ApplicationCacheErrorEvent); +dart.setStaticMethodSignature(html$.ApplicationCacheErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), [$message]: dart.nullable(core.String), @@ -65101,12 +70885,21 @@ dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ [S$.$status]: dart.nullable(core.int), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); +dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[150]); dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); html$.AreaElement = class AreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.AreaElement.new(); + } static new() { return html$.document.createElement("area"); } + static ['_#created#tearOff']() { + return new html$.AreaElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -65223,6 +71016,7 @@ html$.AreaElement = class AreaElement extends html$.HtmlElement { dart.addTypeTests(html$.AreaElement); dart.addTypeCaches(html$.AreaElement); html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setStaticMethodSignature(html$.AreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.AreaElement, () => ({ __proto__: dart.getGetters(html$.AreaElement.__proto__), [S$.$alt]: core.String, @@ -65264,9 +71058,15 @@ dart.setSetterSignature(html$.AreaElement, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AreaElement, I[148]); +dart.setLibraryUri(html$.AreaElement, I[150]); dart.registerExtension("HTMLAreaElement", html$.AreaElement); html$.MediaElement = class MediaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MediaElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MediaElement.created(); + } get [S$.$audioTracks]() { return this.audioTracks; } @@ -65433,7 +71233,7 @@ html$.MediaElement = class MediaElement extends html$.HtmlElement { return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); } [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); } }; @@ -65454,6 +71254,7 @@ dart.setMethodSignature(html$.MediaElement, () => ({ [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) })); +dart.setStaticMethodSignature(html$.MediaElement, () => ['__']); dart.setGetterSignature(html$.MediaElement, () => ({ __proto__: dart.getGetters(html$.MediaElement.__proto__), [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), @@ -65508,7 +71309,8 @@ dart.setSetterSignature(html$.MediaElement, () => ({ [S$.$srcObject]: dart.nullable(html$.MediaStream), [S$.$volume]: core.num })); -dart.setLibraryUri(html$.MediaElement, I[148]); +dart.setLibraryUri(html$.MediaElement, I[150]); +dart.setStaticFieldSignature(html$.MediaElement, () => ['HAVE_CURRENT_DATA', 'HAVE_ENOUGH_DATA', 'HAVE_FUTURE_DATA', 'HAVE_METADATA', 'HAVE_NOTHING', 'NETWORK_EMPTY', 'NETWORK_IDLE', 'NETWORK_LOADING', 'NETWORK_NO_SOURCE']); dart.defineLazy(html$.MediaElement, { /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { return 2; @@ -65546,15 +71348,24 @@ html$.AudioElement = class AudioElement extends html$.MediaElement { } return html$.AudioElement._create_2(); } + static ['_#_#tearOff'](src = null) { + return html$.AudioElement.__(src); + } static _create_1(src) { return new Audio(src); } static _create_2() { return new Audio(); } + static ['_#created#tearOff']() { + return new html$.AudioElement.created(); + } static new(src = null) { return html$.AudioElement.__(src); } + static ['_#new#tearOff'](src = null) { + return html$.AudioElement.new(src); + } }; (html$.AudioElement.created = function() { html$.AudioElement.__proto__.created.call(this); @@ -65562,22 +71373,30 @@ html$.AudioElement = class AudioElement extends html$.MediaElement { }).prototype = html$.AudioElement.prototype; dart.addTypeTests(html$.AudioElement); dart.addTypeCaches(html$.AudioElement); -dart.setLibraryUri(html$.AudioElement, I[148]); +dart.setStaticMethodSignature(html$.AudioElement, () => ['__', '_create_1', '_create_2', 'new']); +dart.setLibraryUri(html$.AudioElement, I[150]); dart.registerExtension("HTMLAudioElement", html$.AudioElement); -html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { +html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AuthenticatorResponse.__(); + } get [S$.$clientDataJson]() { return this.clientDataJSON; } }; dart.addTypeTests(html$.AuthenticatorResponse); dart.addTypeCaches(html$.AuthenticatorResponse); +dart.setStaticMethodSignature(html$.AuthenticatorResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorResponse, I[150]); dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAssertionResponse.__(); + } get [S$.$authenticatorData]() { return this.authenticatorData; } @@ -65587,30 +71406,44 @@ html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse exte }; dart.addTypeTests(html$.AuthenticatorAssertionResponse); dart.addTypeCaches(html$.AuthenticatorAssertionResponse); +dart.setStaticMethodSignature(html$.AuthenticatorAssertionResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), [S$.$signature]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[150]); dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAttestationResponse.__(); + } get [S$.$attestationObject]() { return this.attestationObject; } }; dart.addTypeTests(html$.AuthenticatorAttestationResponse); dart.addTypeCaches(html$.AuthenticatorAttestationResponse); +dart.setStaticMethodSignature(html$.AuthenticatorAttestationResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[150]); dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); html$.BRElement = class BRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BRElement.__(); + } static new() { return html$.document.createElement("br"); } + static ['_#new#tearOff']() { + return html$.BRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BRElement.created(); + } }; (html$.BRElement.created = function() { html$.BRElement.__proto__.created.call(this); @@ -65618,15 +71451,24 @@ html$.BRElement = class BRElement extends html$.HtmlElement { }).prototype = html$.BRElement.prototype; dart.addTypeTests(html$.BRElement); dart.addTypeCaches(html$.BRElement); -dart.setLibraryUri(html$.BRElement, I[148]); +dart.setStaticMethodSignature(html$.BRElement, () => ['__', 'new']); +dart.setLibraryUri(html$.BRElement, I[150]); dart.registerExtension("HTMLBRElement", html$.BRElement); html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); - if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); + return html$.BackgroundFetchEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchEvent(type, init); } @@ -65636,19 +71478,28 @@ html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.Extendabl }; dart.addTypeTests(html$.BackgroundFetchEvent); dart.addTypeCaches(html$.BackgroundFetchEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), [S.$id]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchEvent, I[150]); dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchClickEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); - if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchClickEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); + return html$.BackgroundFetchClickEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchClickEvent(type, init); } @@ -65658,19 +71509,28 @@ html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$ }; dart.addTypeTests(html$.BackgroundFetchClickEvent); dart.addTypeCaches(html$.BackgroundFetchClickEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchClickEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[150]); dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFailEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); - if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchFailEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); + return html$.BackgroundFetchFailEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchFailEvent(type, init); } @@ -65680,29 +71540,37 @@ html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.B }; dart.addTypeTests(html$.BackgroundFetchFailEvent); dart.addTypeCaches(html$.BackgroundFetchFailEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchFailEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); -dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[150]); dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); -html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { +html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFetch.__(); + } get [S$.$request]() { return this.request; } }; dart.addTypeTests(html$.BackgroundFetchFetch); dart.addTypeCaches(html$.BackgroundFetchFetch); +dart.setStaticMethodSignature(html$.BackgroundFetchFetch, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); +dart.setLibraryUri(html$.BackgroundFetchFetch, I[150]); dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); -html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { +html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchManager.__(); + } [S$.$fetch](id, requests, options = null) { - if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); - if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + if (id == null) dart.nullFailed(I[149], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[149], 1351, 63, "requests"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -65710,7 +71578,7 @@ html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptor return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); } [S$.$getIds]() { @@ -65725,9 +71593,13 @@ dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), [S$.$getIds]: dart.fnType(async.Future$(core.List), []) })); -dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); +dart.setStaticMethodSignature(html$.BackgroundFetchManager, () => ['__']); +dart.setLibraryUri(html$.BackgroundFetchManager, I[150]); dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BackgroundFetchRegistration.__(); + } get [S$.$downloadTotal]() { return this.downloadTotal; } @@ -65759,6 +71631,7 @@ dart.setMethodSignature(html$.BackgroundFetchRegistration, () => ({ __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), [S.$abort]: dart.fnType(async.Future$(core.bool), []) })); +dart.setStaticMethodSignature(html$.BackgroundFetchRegistration, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), [S$.$downloadTotal]: dart.nullable(core.int), @@ -65769,14 +71642,22 @@ dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ [S$.$uploadTotal]: dart.nullable(core.int), [S$.$uploaded]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); +dart.setLibraryUri(html$.BackgroundFetchRegistration, I[150]); dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static ['_#_#tearOff']() { + return html$.BackgroundFetchSettledFetch.__(); + } static new(request, response) { - if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); - if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); return html$.BackgroundFetchSettledFetch._create_1(request, response); } + static ['_#new#tearOff'](request, response) { + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch.new(request, response); + } static _create_1(request, response) { return new BackgroundFetchSettledFetch(request, response); } @@ -65786,19 +71667,28 @@ html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends h }; dart.addTypeTests(html$.BackgroundFetchSettledFetch); dart.addTypeCaches(html$.BackgroundFetchSettledFetch); +dart.setStaticMethodSignature(html$.BackgroundFetchSettledFetch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), [S$.$response]: dart.nullable(html$._Response) })); -dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); +dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[150]); dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchedEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); - if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchedEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); + return html$.BackgroundFetchedEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchedEvent(type, init); } @@ -65806,7 +71696,7 @@ html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.Backg return this.fetches; } [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); } }; @@ -65816,29 +71706,40 @@ dart.setMethodSignature(html$.BackgroundFetchedEvent, () => ({ __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), [S$.$updateUI]: dart.fnType(async.Future, [core.String]) })); +dart.setStaticMethodSignature(html$.BackgroundFetchedEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); -dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchedEvent, I[150]); dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); -html$.BarProp = class BarProp extends _interceptors.Interceptor { +html$.BarProp = class BarProp extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarProp.__(); + } get [S$.$visible]() { return this.visible; } }; dart.addTypeTests(html$.BarProp); dart.addTypeCaches(html$.BarProp); +dart.setStaticMethodSignature(html$.BarProp, () => ['__']); dart.setGetterSignature(html$.BarProp, () => ({ __proto__: dart.getGetters(html$.BarProp.__proto__), [S$.$visible]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.BarProp, I[148]); +dart.setLibraryUri(html$.BarProp, I[150]); dart.registerExtension("BarProp", html$.BarProp); -html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { +html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarcodeDetector.__(); + } static new() { return html$.BarcodeDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.BarcodeDetector.new(); + } static _create_1() { return new BarcodeDetector(); } @@ -65852,12 +71753,22 @@ dart.setMethodSignature(html$.BarcodeDetector, () => ({ __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.BarcodeDetector, I[148]); +dart.setStaticMethodSignature(html$.BarcodeDetector, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.BarcodeDetector, I[150]); dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); html$.BaseElement = class BaseElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BaseElement.__(); + } static new() { return html$.document.createElement("base"); } + static ['_#new#tearOff']() { + return html$.BaseElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BaseElement.created(); + } get [S$.$href]() { return this.href; } @@ -65877,6 +71788,7 @@ html$.BaseElement = class BaseElement extends html$.HtmlElement { }).prototype = html$.BaseElement.prototype; dart.addTypeTests(html$.BaseElement); dart.addTypeCaches(html$.BaseElement); +dart.setStaticMethodSignature(html$.BaseElement, () => ['__', 'new']); dart.setGetterSignature(html$.BaseElement, () => ({ __proto__: dart.getGetters(html$.BaseElement.__proto__), [S$.$href]: core.String, @@ -65887,9 +71799,12 @@ dart.setSetterSignature(html$.BaseElement, () => ({ [S$.$href]: core.String, [S.$target]: core.String })); -dart.setLibraryUri(html$.BaseElement, I[148]); +dart.setLibraryUri(html$.BaseElement, I[150]); dart.registerExtension("HTMLBaseElement", html$.BaseElement); html$.BatteryManager = class BatteryManager extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BatteryManager.__(); + } get [S$.$charging]() { return this.charging; } @@ -65905,6 +71820,7 @@ html$.BatteryManager = class BatteryManager extends html$.EventTarget { }; dart.addTypeTests(html$.BatteryManager); dart.addTypeCaches(html$.BatteryManager); +dart.setStaticMethodSignature(html$.BatteryManager, () => ['__']); dart.setGetterSignature(html$.BatteryManager, () => ({ __proto__: dart.getGetters(html$.BatteryManager.__proto__), [S$.$charging]: dart.nullable(core.bool), @@ -65912,17 +71828,24 @@ dart.setGetterSignature(html$.BatteryManager, () => ({ [S$.$dischargingTime]: dart.nullable(core.num), [S$.$level]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.BatteryManager, I[148]); +dart.setLibraryUri(html$.BatteryManager, I[150]); dart.registerExtension("BatteryManager", html$.BatteryManager); html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeInstallPromptEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); } return html$.BeforeInstallPromptEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); + return html$.BeforeInstallPromptEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BeforeInstallPromptEvent(type, eventInitDict); } @@ -65945,14 +71868,18 @@ dart.setMethodSignature(html$.BeforeInstallPromptEvent, () => ({ __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), [S$.$prompt]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.BeforeInstallPromptEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), [S$.$platforms]: dart.nullable(core.List$(core.String)), [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) })); -dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); +dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[150]); dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeUnloadEvent.__(); + } get [S$.$returnValue]() { return this.returnValue; } @@ -65962,6 +71889,7 @@ html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { }; dart.addTypeTests(html$.BeforeUnloadEvent); dart.addTypeCaches(html$.BeforeUnloadEvent); +dart.setStaticMethodSignature(html$.BeforeUnloadEvent, () => ['__']); dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) @@ -65970,9 +71898,12 @@ dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); +dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); -html$.Blob = class Blob extends _interceptors.Interceptor { +html$.Blob = class Blob extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Blob.__(); + } get [S$.$size]() { return this.size; } @@ -65983,7 +71914,7 @@ html$.Blob = class Blob extends _interceptors.Interceptor { return this.slice.apply(this, args); } static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); if (type == null && endings == null) { return html$.Blob.as(html$.Blob._create_1(blobParts)); } @@ -65992,6 +71923,10 @@ html$.Blob = class Blob extends _interceptors.Interceptor { if (endings != null) html$.Blob._bag_set(bag, "endings", endings); return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); } + static ['_#new#tearOff'](blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); + return html$.Blob.new(blobParts, type, endings); + } static _create_1(parts) { return new self.Blob(parts); } @@ -66011,20 +71946,29 @@ dart.setMethodSignature(html$.Blob, () => ({ __proto__: dart.getMethods(html$.Blob.__proto__), [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.Blob, () => ['__', 'new', '_create_1', '_create_2', '_create_bag', '_bag_set']); dart.setGetterSignature(html$.Blob, () => ({ __proto__: dart.getGetters(html$.Blob.__proto__), [S$.$size]: core.int, [S.$type]: core.String })); -dart.setLibraryUri(html$.Blob, I[148]); +dart.setLibraryUri(html$.Blob, I[150]); dart.registerExtension("Blob", html$.Blob); html$.BlobEvent = class BlobEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BlobEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BlobEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); + return html$.BlobEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BlobEvent(type, eventInitDict); } @@ -66037,14 +71981,18 @@ html$.BlobEvent = class BlobEvent$ extends html$.Event { }; dart.addTypeTests(html$.BlobEvent); dart.addTypeCaches(html$.BlobEvent); +dart.setStaticMethodSignature(html$.BlobEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BlobEvent, () => ({ __proto__: dart.getGetters(html$.BlobEvent.__proto__), [S$.$data]: dart.nullable(html$.Blob), [S$.$timecode]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.BlobEvent, I[148]); +dart.setLibraryUri(html$.BlobEvent, I[150]); dart.registerExtension("BlobEvent", html$.BlobEvent); -html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { +html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BluetoothRemoteGattDescriptor.__(); + } get [S$.$characteristic]() { return this.characteristic; } @@ -66068,15 +72016,19 @@ dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ [S$.$readValue]: dart.fnType(async.Future, []), [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ['__']); dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), [S$.$uuid]: dart.nullable(core.String), [S.$value]: dart.nullable(typed_data.ByteData) })); -dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); +dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[150]); dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); -html$.Body = class Body extends _interceptors.Interceptor { +html$.Body = class Body extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Body.__(); + } get [S$.$bodyUsed]() { return this.bodyUsed; } @@ -66106,16 +72058,26 @@ dart.setMethodSignature(html$.Body, () => ({ [S$.$json]: dart.fnType(async.Future, []), [S.$text]: dart.fnType(async.Future$(core.String), []) })); +dart.setStaticMethodSignature(html$.Body, () => ['__']); dart.setGetterSignature(html$.Body, () => ({ __proto__: dart.getGetters(html$.Body.__proto__), [S$.$bodyUsed]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Body, I[148]); +dart.setLibraryUri(html$.Body, I[150]); dart.registerExtension("Body", html$.Body); html$.BodyElement = class BodyElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BodyElement.__(); + } static new() { return html$.document.createElement("body"); } + static ['_#new#tearOff']() { + return html$.BodyElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BodyElement.created(); + } get [S.$onBlur]() { return html$.BodyElement.blurEvent.forElement(this); } @@ -66143,10 +72105,10 @@ html$.BodyElement = class BodyElement extends html$.HtmlElement { get [S$.$onPopState]() { return html$.BodyElement.popStateEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.BodyElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.BodyElement.scrollEvent.forElement(this); } get [S$.$onStorage]() { @@ -66163,6 +72125,7 @@ html$.BodyElement = class BodyElement extends html$.HtmlElement { dart.addTypeTests(html$.BodyElement); dart.addTypeCaches(html$.BodyElement); html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setStaticMethodSignature(html$.BodyElement, () => ['__', 'new']); dart.setGetterSignature(html$.BodyElement, () => ({ __proto__: dart.getGetters(html$.BodyElement.__proto__), [S$.$onHashChange]: html$.ElementStream$(html$.Event), @@ -66173,54 +72136,62 @@ dart.setGetterSignature(html$.BodyElement, () => ({ [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), [S$.$onUnload]: html$.ElementStream$(html$.Event) })); -dart.setLibraryUri(html$.BodyElement, I[148]); +dart.setLibraryUri(html$.BodyElement, I[150]); +dart.setStaticFieldSignature(html$.BodyElement, () => ['blurEvent', 'errorEvent', 'focusEvent', 'hashChangeEvent', 'loadEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'resizeEvent', 'scrollEvent', 'storageEvent', 'unloadEvent']); dart.defineLazy(html$.BodyElement, { /*html$.BodyElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.BodyElement.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); dart.registerExtension("HTMLBodyElement", html$.BodyElement); html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BroadcastChannel.__(); + } static new(name) { - if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); return html$.BroadcastChannel._create_1(name); } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); + return html$.BroadcastChannel.new(name); + } static _create_1(name) { return new BroadcastChannel(name); } @@ -66244,19 +72215,24 @@ dart.setMethodSignature(html$.BroadcastChannel, () => ({ [S.$close]: dart.fnType(dart.void, []), [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.BroadcastChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BroadcastChannel, () => ({ __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), [$name]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.BroadcastChannel, I[148]); +dart.setLibraryUri(html$.BroadcastChannel, I[150]); +dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); dart.defineLazy(html$.BroadcastChannel, { /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); -html$.BudgetState = class BudgetState extends _interceptors.Interceptor { +html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BudgetState.__(); + } get [S$.$budgetAt]() { return this.budgetAt; } @@ -66266,17 +72242,27 @@ html$.BudgetState = class BudgetState extends _interceptors.Interceptor { }; dart.addTypeTests(html$.BudgetState); dart.addTypeCaches(html$.BudgetState); +dart.setStaticMethodSignature(html$.BudgetState, () => ['__']); dart.setGetterSignature(html$.BudgetState, () => ({ __proto__: dart.getGetters(html$.BudgetState.__proto__), [S$.$budgetAt]: dart.nullable(core.num), [S$.$time]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.BudgetState, I[148]); +dart.setLibraryUri(html$.BudgetState, I[150]); dart.registerExtension("BudgetState", html$.BudgetState); html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ButtonElement.__(); + } static new() { return html$.document.createElement("button"); } + static ['_#new#tearOff']() { + return html$.ButtonElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ButtonElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -66374,6 +72360,7 @@ dart.setMethodSignature(html$.ButtonElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.ButtonElement, () => ['__', 'new']); dart.setGetterSignature(html$.ButtonElement, () => ({ __proto__: dart.getGetters(html$.ButtonElement.__proto__), [S$.$autofocus]: core.bool, @@ -66405,9 +72392,12 @@ dart.setSetterSignature(html$.ButtonElement, () => ({ [S.$type]: core.String, [S.$value]: core.String })); -dart.setLibraryUri(html$.ButtonElement, I[148]); +dart.setLibraryUri(html$.ButtonElement, I[150]); dart.registerExtension("HTMLButtonElement", html$.ButtonElement); html$.CharacterData = class CharacterData extends html$.Node { + static ['_#_#tearOff']() { + return html$.CharacterData.__(); + } get [S$.$data]() { return this.data; } @@ -66447,7 +72437,7 @@ html$.CharacterData = class CharacterData extends html$.Node { }; dart.addTypeTests(html$.CharacterData); dart.addTypeCaches(html$.CharacterData); -html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; +html$.CharacterData[dart.implements] = () => [html$.ChildNode, html$.NonDocumentTypeChildNode]; dart.setMethodSignature(html$.CharacterData, () => ({ __proto__: dart.getMethods(html$.CharacterData.__proto__), [S$.$appendData]: dart.fnType(dart.void, [core.String]), @@ -66458,6 +72448,7 @@ dart.setMethodSignature(html$.CharacterData, () => ({ [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.CharacterData, () => ['__']); dart.setGetterSignature(html$.CharacterData, () => ({ __proto__: dart.getGetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String), @@ -66469,13 +72460,20 @@ dart.setSetterSignature(html$.CharacterData, () => ({ __proto__: dart.getSetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CharacterData, I[148]); +dart.setLibraryUri(html$.CharacterData, I[150]); dart.registerExtension("CharacterData", html$.CharacterData); html$.Text = class Text extends html$.CharacterData { static new(data) { - if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); return html$.document.createTextNode(data); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); + return html$.Text.new(data); + } + static ['_#_#tearOff']() { + return html$.Text.__(); + } get [S.$assignedSlot]() { return this.assignedSlot; } @@ -66496,25 +72494,34 @@ dart.setMethodSignature(html$.Text, () => ({ [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), [S$.$splitText]: dart.fnType(html$.Text, [core.int]) })); +dart.setStaticMethodSignature(html$.Text, () => ['new', '__']); dart.setGetterSignature(html$.Text, () => ({ __proto__: dart.getGetters(html$.Text.__proto__), [S.$assignedSlot]: dart.nullable(html$.SlotElement), [S$.$wholeText]: core.String })); -dart.setLibraryUri(html$.Text, I[148]); +dart.setLibraryUri(html$.Text, I[150]); dart.registerExtension("Text", html$.Text); -html$.CDataSection = class CDataSection extends html$.Text {}; +html$.CDataSection = class CDataSection extends html$.Text { + static ['_#_#tearOff']() { + return html$.CDataSection.__(); + } +}; dart.addTypeTests(html$.CDataSection); dart.addTypeCaches(html$.CDataSection); -dart.setLibraryUri(html$.CDataSection, I[148]); +dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); +dart.setLibraryUri(html$.CDataSection, I[150]); dart.registerExtension("CDATASection", html$.CDataSection); -html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { +html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CacheStorage.__(); + } [S.$delete](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2015, 24, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); } [S$.$has](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2018, 21, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); } [$keys]() { @@ -66528,7 +72535,7 @@ html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); } [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); } }; @@ -66542,15 +72549,24 @@ dart.setMethodSignature(html$.CacheStorage, () => ({ [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), [S.$open]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.CacheStorage, I[148]); +dart.setStaticMethodSignature(html$.CacheStorage, () => ['__']); +dart.setLibraryUri(html$.CacheStorage, I[150]); dart.registerExtension("CacheStorage", html$.CacheStorage); html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.CanMakePaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); + return html$.CanMakePaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CanMakePaymentEvent(type, eventInitDict); } @@ -66576,6 +72592,7 @@ dart.setMethodSignature(html$.CanMakePaymentEvent, () => ({ __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.CanMakePaymentEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), [S$.$methodData]: dart.nullable(core.List), @@ -66583,9 +72600,12 @@ dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ [S$.$paymentRequestOrigin]: dart.nullable(core.String), [S$.$topLevelOrigin]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); +dart.setLibraryUri(html$.CanMakePaymentEvent, I[150]); dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStreamTrack.__(); + } get [S$.$contentHint]() { return this.contentHint; } @@ -66668,6 +72688,7 @@ dart.setMethodSignature(html$.MediaStreamTrack, () => ({ [S$._getSettings_1]: dart.fnType(dart.dynamic, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.MediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), [S$.$contentHint]: dart.nullable(core.String), @@ -66686,20 +72707,24 @@ dart.setSetterSignature(html$.MediaStreamTrack, () => ({ [S$.$contentHint]: dart.nullable(core.String), [S$.$enabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MediaStreamTrack, I[148]); +dart.setLibraryUri(html$.MediaStreamTrack, I[150]); +dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); dart.defineLazy(html$.MediaStreamTrack, { /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[318] || CT.C318; + return C[328] || CT.C328; }, /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - return C[319] || CT.C319; + return C[329] || CT.C329; } }, false); dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + static ['_#_#tearOff']() { + return html$.CanvasCaptureMediaStreamTrack.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -66713,13 +72738,17 @@ dart.setMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$requestFrame]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); -dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); +dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[150]); dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.CanvasElement.__(); + } static new(opts) { let width = opts && 'width' in opts ? opts.width : null; let height = opts && 'height' in opts ? opts.height : null; @@ -66728,6 +72757,14 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.CanvasElement.new({width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.CanvasElement.created(); + } get [$height]() { return this.height; } @@ -66744,7 +72781,7 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { return this.captureStream.apply(this, args); } [S$.$getContext](contextId, attributes = null) { - if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (contextId == null) dart.nullFailed(I[149], 2143, 29, "contextId"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextId, attributes_1); @@ -66784,10 +72821,10 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { if (context == null) { context = this[S$.$getContext]("experimental-webgl", options); } - return web_gl.RenderingContext.as(context); + return T$0.RenderingContextN().as(context); } [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); return this[S$._toDataUrl](type, quality); } [S$._toBlob](...args) { @@ -66816,11 +72853,12 @@ dart.setMethodSignature(html$.CanvasElement, () => ({ [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), - [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$getContext3d]: dart.fnType(dart.nullable(web_gl.RenderingContext), [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(html$.CanvasElement, () => ['__', 'new']); dart.setGetterSignature(html$.CanvasElement, () => ({ __proto__: dart.getGetters(html$.CanvasElement.__proto__), [$height]: dart.nullable(core.int), @@ -66834,17 +72872,21 @@ dart.setSetterSignature(html$.CanvasElement, () => ({ [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CanvasElement, I[148]); +dart.setLibraryUri(html$.CanvasElement, I[150]); +dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); dart.defineLazy(html$.CanvasElement, { /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[320] || CT.C320; + return C[330] || CT.C330; }, /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[321] || CT.C321; + return C[331] || CT.C331; } }, false); dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); -html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { +html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasGradient.__(); + } [S$.$addColorStop](...args) { return this.addColorStop.apply(this, args); } @@ -66855,9 +72897,13 @@ dart.setMethodSignature(html$.CanvasGradient, () => ({ __proto__: dart.getMethods(html$.CanvasGradient.__proto__), [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) })); -dart.setLibraryUri(html$.CanvasGradient, I[148]); +dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); +dart.setLibraryUri(html$.CanvasGradient, I[150]); dart.registerExtension("CanvasGradient", html$.CanvasGradient); -html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { +html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasPattern.__(); + } [S$.$setTransform](...args) { return this.setTransform.apply(this, args); } @@ -66868,7 +72914,8 @@ dart.setMethodSignature(html$.CanvasPattern, () => ({ __proto__: dart.getMethods(html$.CanvasPattern.__proto__), [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) })); -dart.setLibraryUri(html$.CanvasPattern, I[148]); +dart.setStaticMethodSignature(html$.CanvasPattern, () => ['__']); +dart.setLibraryUri(html$.CanvasPattern, I[150]); dart.registerExtension("CanvasPattern", html$.CanvasPattern); html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; (html$.CanvasRenderingContext.new = function() { @@ -66876,8 +72923,11 @@ html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object }).prototype = html$.CanvasRenderingContext.prototype; dart.addTypeTests(html$.CanvasRenderingContext); dart.addTypeCaches(html$.CanvasRenderingContext); -dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); -html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { +dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); +html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -67089,10 +73139,10 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.getContextAttributes.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 2584, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 2584, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 2584, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 2584, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -67114,9 +73164,9 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 2604, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 2604, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 2604, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -67202,54 +73252,54 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.rect.apply(this, args); } [S$.$createImageDataFromImageData](imagedata) { - if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + if (imagedata == null) dart.nullFailed(I[149], 2682, 52, "imagedata"); return this.createImageData(imagedata); } [S$.$setFillColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); - if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); - if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); - if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + if (r == null) dart.nullFailed(I[149], 2689, 28, "r"); + if (g == null) dart.nullFailed(I[149], 2689, 35, "g"); + if (b == null) dart.nullFailed(I[149], 2689, 42, "b"); + if (a == null) dart.nullFailed(I[149], 2689, 50, "a"); this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setFillColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); - if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); - if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); - if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + if (h == null) dart.nullFailed(I[149], 2699, 28, "h"); + if (s == null) dart.nullFailed(I[149], 2699, 35, "s"); + if (l == null) dart.nullFailed(I[149], 2699, 42, "l"); + if (a == null) dart.nullFailed(I[149], 2699, 50, "a"); this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$setStrokeColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); - if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); - if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); - if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + if (r == null) dart.nullFailed(I[149], 2707, 30, "r"); + if (g == null) dart.nullFailed(I[149], 2707, 37, "g"); + if (b == null) dart.nullFailed(I[149], 2707, 44, "b"); + if (a == null) dart.nullFailed(I[149], 2707, 52, "a"); this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setStrokeColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); - if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); - if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); - if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + if (h == null) dart.nullFailed(I[149], 2717, 30, "h"); + if (s == null) dart.nullFailed(I[149], 2717, 37, "s"); + if (l == null) dart.nullFailed(I[149], 2717, 44, "l"); + if (a == null) dart.nullFailed(I[149], 2717, 52, "a"); this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { - if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); - if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); - if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); - if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); - if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); - if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + if (x == null) dart.nullFailed(I[149], 2721, 16, "x"); + if (y == null) dart.nullFailed(I[149], 2721, 23, "y"); + if (radius == null) dart.nullFailed(I[149], 2721, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[149], 2721, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[149], 2721, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[149], 2722, 13, "anticlockwise"); this.arc(x, y, radius, startAngle, endAngle, anticlockwise); } [S$.$createPatternFromImage](image, repetitionType) { - if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); - if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + if (image == null) dart.nullFailed(I[149], 2729, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[149], 2729, 38, "repetitionType"); return this.createPattern(image, repetitionType); } [S$.$drawImageToRect](source, destRect, opts) { - if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); - if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + if (source == null) dart.nullFailed(I[149], 2772, 42, "source"); + if (destRect == null) dart.nullFailed(I[149], 2772, 60, "destRect"); let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; if (sourceRect == null) { this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); @@ -67270,7 +73320,7 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.lineDashOffset || this.webkitLineDashOffset; } set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; } [S$.$getLineDash]() { @@ -67282,7 +73332,7 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return T$0.JSArrayOfnum().of([]); } [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); if (!!this.setLineDash) { this.setLineDash(dash); } else if (!!this.webkitLineDash) { @@ -67290,9 +73340,9 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce } } [S$.$fillText](text, x, y, maxWidth = null) { - if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); - if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); - if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (text == null) dart.nullFailed(I[149], 2964, 24, "text"); + if (x == null) dart.nullFailed(I[149], 2964, 34, "x"); + if (y == null) dart.nullFailed(I[149], 2964, 41, "y"); if (maxWidth != null) { this.fillText(text, x, y, maxWidth); } else { @@ -67376,6 +73426,7 @@ dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.CanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), [S$.$canvas]: html$.CanvasElement, @@ -67426,13 +73477,21 @@ dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ [S$.$textBaseline]: core.String, [S$.$lineDashOffset]: core.num })); -dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); +dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); -html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; +html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ChildNode.__(); + } +}; dart.addTypeTests(html$.ChildNode); dart.addTypeCaches(html$.ChildNode); -dart.setLibraryUri(html$.ChildNode, I[148]); -html$.Client = class Client extends _interceptors.Interceptor { +dart.setStaticMethodSignature(html$.ChildNode, () => ['__']); +dart.setLibraryUri(html$.ChildNode, I[150]); +html$.Client = class Client extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Client.__(); + } get [S$.$frameType]() { return this.frameType; } @@ -67455,6 +73514,7 @@ dart.setMethodSignature(html$.Client, () => ({ __proto__: dart.getMethods(html$.Client.__proto__), [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) })); +dart.setStaticMethodSignature(html$.Client, () => ['__']); dart.setGetterSignature(html$.Client, () => ({ __proto__: dart.getGetters(html$.Client.__proto__), [S$.$frameType]: dart.nullable(core.String), @@ -67462,14 +73522,17 @@ dart.setGetterSignature(html$.Client, () => ({ [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Client, I[148]); +dart.setLibraryUri(html$.Client, I[150]); dart.registerExtension("Client", html$.Client); -html$.Clients = class Clients extends _interceptors.Interceptor { +html$.Clients = class Clients extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Clients.__(); + } [S$.$claim]() { return js_util.promiseToFuture(dart.dynamic, this.claim()); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + if (id == null) dart.nullFailed(I[149], 3066, 21, "id"); return js_util.promiseToFuture(dart.dynamic, this.get(id)); } [S$.$matchAll](options = null) { @@ -67480,7 +73543,7 @@ html$.Clients = class Clients extends _interceptors.Interceptor { return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } }; @@ -67493,17 +73556,25 @@ dart.setMethodSignature(html$.Clients, () => ({ [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); -dart.setLibraryUri(html$.Clients, I[148]); +dart.setStaticMethodSignature(html$.Clients, () => ['__']); +dart.setLibraryUri(html$.Clients, I[150]); dart.registerExtension("Clients", html$.Clients); html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ClipboardEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ClipboardEvent._create_1(type, eventInitDict_1); } return html$.ClipboardEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); + return html$.ClipboardEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ClipboardEvent(type, eventInitDict); } @@ -67516,21 +73587,29 @@ html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { }; dart.addTypeTests(html$.ClipboardEvent); dart.addTypeCaches(html$.ClipboardEvent); +dart.setStaticMethodSignature(html$.ClipboardEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ClipboardEvent, () => ({ __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), [S$.$clipboardData]: dart.nullable(html$.DataTransfer) })); -dart.setLibraryUri(html$.ClipboardEvent, I[148]); +dart.setLibraryUri(html$.ClipboardEvent, I[150]); dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); html$.CloseEvent = class CloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.CloseEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CloseEvent._create_1(type, eventInitDict_1); } return html$.CloseEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); + return html$.CloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CloseEvent(type, eventInitDict); } @@ -67549,33 +73628,41 @@ html$.CloseEvent = class CloseEvent$ extends html$.Event { }; dart.addTypeTests(html$.CloseEvent); dart.addTypeCaches(html$.CloseEvent); +dart.setStaticMethodSignature(html$.CloseEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CloseEvent, () => ({ __proto__: dart.getGetters(html$.CloseEvent.__proto__), [S$.$code]: dart.nullable(core.int), [S$.$reason]: dart.nullable(core.String), [S$.$wasClean]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.CloseEvent, I[148]); +dart.setLibraryUri(html$.CloseEvent, I[150]); dart.registerExtension("CloseEvent", html$.CloseEvent); html$.Comment = class Comment extends html$.CharacterData { static new(data = null) { return html$.document.createComment(data == null ? "" : data); } + static ['_#new#tearOff'](data = null) { + return html$.Comment.new(data); + } + static ['_#_#tearOff']() { + return html$.Comment.__(); + } }; dart.addTypeTests(html$.Comment); dart.addTypeCaches(html$.Comment); -dart.setLibraryUri(html$.Comment, I[148]); +dart.setStaticMethodSignature(html$.Comment, () => ['new', '__']); +dart.setLibraryUri(html$.Comment, I[150]); dart.registerExtension("Comment", html$.Comment); html$.UIEvent = class UIEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); if (view == null) { view = html$.window; } @@ -67583,14 +73670,29 @@ html$.UIEvent = class UIEvent$ extends html$.Event { e[S$._initUIEvent](type, canBubble, cancelable, view, detail); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); + return html$.UIEvent.new(type, {view: view, detail: detail, canBubble: canBubble, cancelable: cancelable}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.UIEvent._create_1(type, eventInitDict_1); } return html$.UIEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); + return html$.UIEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new UIEvent(type, eventInitDict); } @@ -67622,6 +73724,7 @@ dart.setMethodSignature(html$.UIEvent, () => ({ __proto__: dart.getMethods(html$.UIEvent.__proto__), [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) })); +dart.setStaticMethodSignature(html$.UIEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.UIEvent, () => ({ __proto__: dart.getGetters(html$.UIEvent.__proto__), [S$.$detail]: dart.nullable(core.int), @@ -67630,15 +73733,15 @@ dart.setGetterSignature(html$.UIEvent, () => ({ [S$._get_view]: dart.dynamic, [S$._which]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.UIEvent, I[148]); +dart.setLibraryUri(html$.UIEvent, I[150]); dart.registerExtension("UIEvent", html$.UIEvent); html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; let locale = opts && 'locale' in opts ? opts.locale : null; @@ -67653,14 +73756,29 @@ html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + return html$.CompositionEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data, locale: locale}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CompositionEvent._create_1(type, eventInitDict_1); } return html$.CompositionEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); + return html$.CompositionEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CompositionEvent(type, eventInitDict); } @@ -67680,16 +73798,26 @@ dart.setMethodSignature(html$.CompositionEvent, () => ({ __proto__: dart.getMethods(html$.CompositionEvent.__proto__), [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.CompositionEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CompositionEvent, () => ({ __proto__: dart.getGetters(html$.CompositionEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CompositionEvent, I[148]); +dart.setLibraryUri(html$.CompositionEvent, I[150]); dart.registerExtension("CompositionEvent", html$.CompositionEvent); html$.ContentElement = class ContentElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ContentElement.__(); + } static new() { return html$.ContentElement.as(html$.document[S.$createElement]("content")); } + static ['_#new#tearOff']() { + return html$.ContentElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ContentElement.created(); + } static get supported() { return html$.Element.isTagSupported("content"); } @@ -67713,6 +73841,7 @@ dart.setMethodSignature(html$.ContentElement, () => ({ __proto__: dart.getMethods(html$.ContentElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); +dart.setStaticMethodSignature(html$.ContentElement, () => ['__', 'new']); dart.setGetterSignature(html$.ContentElement, () => ({ __proto__: dart.getGetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) @@ -67721,9 +73850,13 @@ dart.setSetterSignature(html$.ContentElement, () => ({ __proto__: dart.getSetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ContentElement, I[148]); +dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); +dart.setLibraryUri(html$.ContentElement, I[150]); dart.registerExtension("HTMLContentElement", html$.ContentElement); -html$.CookieStore = class CookieStore extends _interceptors.Interceptor { +html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CookieStore.__(); + } [S.$getAll](options = null) { let options_dict = null; if (options != null) { @@ -67732,8 +73865,8 @@ html$.CookieStore = class CookieStore extends _interceptors.Interceptor { return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); } [S$.$set](name, value, options = null) { - if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); - if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + if (name == null) dart.nullFailed(I[149], 3249, 21, "name"); + if (value == null) dart.nullFailed(I[149], 3249, 34, "value"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -67748,9 +73881,13 @@ dart.setMethodSignature(html$.CookieStore, () => ({ [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.CookieStore, I[148]); +dart.setStaticMethodSignature(html$.CookieStore, () => ['__']); +dart.setLibraryUri(html$.CookieStore, I[150]); dart.registerExtension("CookieStore", html$.CookieStore); -html$.Coordinates = class Coordinates extends _interceptors.Interceptor { +html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Coordinates.__(); + } get [S$.$accuracy]() { return this.accuracy; } @@ -67775,6 +73912,7 @@ html$.Coordinates = class Coordinates extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Coordinates); dart.addTypeCaches(html$.Coordinates); +dart.setStaticMethodSignature(html$.Coordinates, () => ['__']); dart.setGetterSignature(html$.Coordinates, () => ({ __proto__: dart.getGetters(html$.Coordinates.__proto__), [S$.$accuracy]: dart.nullable(core.num), @@ -67785,9 +73923,12 @@ dart.setGetterSignature(html$.Coordinates, () => ({ [S$.$longitude]: dart.nullable(core.num), [S$.$speed]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Coordinates, I[148]); +dart.setLibraryUri(html$.Coordinates, I[150]); dart.registerExtension("Coordinates", html$.Coordinates); -html$.Credential = class Credential extends _interceptors.Interceptor { +html$.Credential = class Credential extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Credential.__(); + } get [S.$id]() { return this.id; } @@ -67797,14 +73938,18 @@ html$.Credential = class Credential extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Credential); dart.addTypeCaches(html$.Credential); +dart.setStaticMethodSignature(html$.Credential, () => ['__']); dart.setGetterSignature(html$.Credential, () => ({ __proto__: dart.getGetters(html$.Credential.__proto__), [S.$id]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Credential, I[148]); +dart.setLibraryUri(html$.Credential, I[150]); dart.registerExtension("Credential", html$.Credential); -html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { +html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialUserData.__(); + } get [S$.$iconUrl]() { return this.iconURL; } @@ -67814,14 +73959,18 @@ html$.CredentialUserData = class CredentialUserData extends _interceptors.Interc }; dart.addTypeTests(html$.CredentialUserData); dart.addTypeCaches(html$.CredentialUserData); +dart.setStaticMethodSignature(html$.CredentialUserData, () => ['__']); dart.setGetterSignature(html$.CredentialUserData, () => ({ __proto__: dart.getGetters(html$.CredentialUserData.__proto__), [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CredentialUserData, I[148]); +dart.setLibraryUri(html$.CredentialUserData, I[150]); dart.registerExtension("CredentialUserData", html$.CredentialUserData); -html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { +html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialsContainer.__(); + } [S$.$create](options = null) { let options_dict = null; if (options != null) { @@ -67843,7 +73992,7 @@ html$.CredentialsContainer = class CredentialsContainer extends _interceptors.In return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); } [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); return js_util.promiseToFuture(dart.dynamic, this.store(credential)); } }; @@ -67857,13 +74006,17 @@ dart.setMethodSignature(html$.CredentialsContainer, () => ({ [S$.$requireUserMediation]: dart.fnType(async.Future, []), [S$.$store]: dart.fnType(async.Future, [html$.Credential]) })); -dart.setLibraryUri(html$.CredentialsContainer, I[148]); +dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); +dart.setLibraryUri(html$.CredentialsContainer, I[150]); dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); -html$.Crypto = class Crypto extends _interceptors.Interceptor { +html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { [S$.$getRandomValues](array) { - if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + if (array == null) dart.nullFailed(I[149], 3360, 39, "array"); return this[S$._getRandomValues](array); } + static ['_#_#tearOff']() { + return html$.Crypto.__(); + } static get supported() { return !!(window.crypto && window.crypto.getRandomValues); } @@ -67881,13 +74034,18 @@ dart.setMethodSignature(html$.Crypto, () => ({ [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.Crypto, () => ['__']); dart.setGetterSignature(html$.Crypto, () => ({ __proto__: dart.getGetters(html$.Crypto.__proto__), [S$.$subtle]: dart.nullable(html$._SubtleCrypto) })); -dart.setLibraryUri(html$.Crypto, I[148]); +dart.setStaticGetterSignature(html$.Crypto, () => ['supported']); +dart.setLibraryUri(html$.Crypto, I[150]); dart.registerExtension("Crypto", html$.Crypto); -html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { +html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CryptoKey.__(); + } get [S$.$algorithm]() { return this.algorithm; } @@ -67903,6 +74061,7 @@ html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { }; dart.addTypeTests(html$.CryptoKey); dart.addTypeCaches(html$.CryptoKey); +dart.setStaticMethodSignature(html$.CryptoKey, () => ['__']); dart.setGetterSignature(html$.CryptoKey, () => ({ __proto__: dart.getGetters(html$.CryptoKey.__proto__), [S$.$algorithm]: dart.nullable(core.Object), @@ -67910,11 +74069,14 @@ dart.setGetterSignature(html$.CryptoKey, () => ({ [S.$type]: dart.nullable(core.String), [S$.$usages]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.CryptoKey, I[148]); +dart.setLibraryUri(html$.CryptoKey, I[150]); dart.registerExtension("CryptoKey", html$.CryptoKey); -html$.Css = class Css extends _interceptors.Interceptor { +html$.Css = class Css extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Css.__(); + } static registerProperty(descriptor) { - if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + if (descriptor == null) dart.nullFailed(I[149], 3458, 36, "descriptor"); let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); dart.global.CSS.registerProperty(descriptor_1); return; @@ -67922,9 +74084,14 @@ html$.Css = class Css extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Css); dart.addTypeCaches(html$.Css); -dart.setLibraryUri(html$.Css, I[148]); +dart.setStaticMethodSignature(html$.Css, () => ['__', 'Hz', 'ch', 'cm', 'deg', 'dpcm', 'dpi', 'dppx', 'em', 'escape', 'ex', 'fr', 'grad', 'inch', 'kHz', 'mm', 'ms', 'number', 'pc', 'percent', 'pt', 'px', 'rad', 'registerProperty', '_registerProperty_1', 'rem', 's', 'supports', 'supportsCondition', 'turn', 'vh', 'vmax', 'vmin', 'vw']); +dart.setStaticGetterSignature(html$.Css, () => ['paintWorklet']); +dart.setLibraryUri(html$.Css, I[150]); dart.registerExtension("CSS", html$.Css); -html$.CssRule = class CssRule extends _interceptors.Interceptor { +html$.CssRule = class CssRule extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssRule.__(); + } get [S$.$cssText]() { return this.cssText; } @@ -67943,6 +74110,7 @@ html$.CssRule = class CssRule extends _interceptors.Interceptor { }; dart.addTypeTests(html$.CssRule); dart.addTypeCaches(html$.CssRule); +dart.setStaticMethodSignature(html$.CssRule, () => ['__']); dart.setGetterSignature(html$.CssRule, () => ({ __proto__: dart.getGetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String), @@ -67954,7 +74122,8 @@ dart.setSetterSignature(html$.CssRule, () => ({ __proto__: dart.getSetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssRule, I[148]); +dart.setLibraryUri(html$.CssRule, I[150]); +dart.setStaticFieldSignature(html$.CssRule, () => ['CHARSET_RULE', 'FONT_FACE_RULE', 'IMPORT_RULE', 'KEYFRAMES_RULE', 'KEYFRAME_RULE', 'MEDIA_RULE', 'NAMESPACE_RULE', 'PAGE_RULE', 'STYLE_RULE', 'SUPPORTS_RULE', 'VIEWPORT_RULE']); dart.defineLazy(html$.CssRule, { /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { return 2; @@ -67992,6 +74161,9 @@ dart.defineLazy(html$.CssRule, { }, false); dart.registerExtension("CSSRule", html$.CssRule); html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssCharsetRule.__(); + } get [S$.$encoding]() { return this.encoding; } @@ -68001,6 +74173,7 @@ html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { }; dart.addTypeTests(html$.CssCharsetRule); dart.addTypeCaches(html$.CssCharsetRule); +dart.setStaticMethodSignature(html$.CssCharsetRule, () => ['__']); dart.setGetterSignature(html$.CssCharsetRule, () => ({ __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) @@ -68009,9 +74182,12 @@ dart.setSetterSignature(html$.CssCharsetRule, () => ({ __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssCharsetRule, I[148]); +dart.setLibraryUri(html$.CssCharsetRule, I[150]); dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssGroupingRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68029,57 +74205,78 @@ dart.setMethodSignature(html$.CssGroupingRule, () => ({ [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) })); +dart.setStaticMethodSignature(html$.CssGroupingRule, () => ['__']); dart.setGetterSignature(html$.CssGroupingRule, () => ({ __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) })); -dart.setLibraryUri(html$.CssGroupingRule, I[148]); +dart.setLibraryUri(html$.CssGroupingRule, I[150]); dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + static ['_#_#tearOff']() { + return html$.CssConditionRule.__(); + } get [S$.$conditionText]() { return this.conditionText; } }; dart.addTypeTests(html$.CssConditionRule); dart.addTypeCaches(html$.CssConditionRule); +dart.setStaticMethodSignature(html$.CssConditionRule, () => ['__']); dart.setGetterSignature(html$.CssConditionRule, () => ({ __proto__: dart.getGetters(html$.CssConditionRule.__proto__), [S$.$conditionText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssConditionRule, I[148]); +dart.setLibraryUri(html$.CssConditionRule, I[150]); dart.registerExtension("CSSConditionRule", html$.CssConditionRule); html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssFontFaceRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssFontFaceRule); dart.addTypeCaches(html$.CssFontFaceRule); +dart.setStaticMethodSignature(html$.CssFontFaceRule, () => ['__']); dart.setGetterSignature(html$.CssFontFaceRule, () => ({ __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); -dart.setLibraryUri(html$.CssFontFaceRule, I[148]); +dart.setLibraryUri(html$.CssFontFaceRule, I[150]); dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); -html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; +html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssStyleValue.__(); + } +}; dart.addTypeTests(html$.CssStyleValue); dart.addTypeCaches(html$.CssStyleValue); -dart.setLibraryUri(html$.CssStyleValue, I[148]); +dart.setStaticMethodSignature(html$.CssStyleValue, () => ['__', 'parse']); +dart.setLibraryUri(html$.CssStyleValue, I[150]); dart.registerExtension("CSSStyleValue", html$.CssStyleValue); html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssResourceValue.__(); + } get [S$.$state]() { return this.state; } }; dart.addTypeTests(html$.CssResourceValue); dart.addTypeCaches(html$.CssResourceValue); +dart.setStaticMethodSignature(html$.CssResourceValue, () => ['__']); dart.setGetterSignature(html$.CssResourceValue, () => ({ __proto__: dart.getGetters(html$.CssResourceValue.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssResourceValue, I[148]); +dart.setLibraryUri(html$.CssResourceValue, I[150]); dart.registerExtension("CSSResourceValue", html$.CssResourceValue); html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + static ['_#_#tearOff']() { + return html$.CssImageValue.__(); + } get [S$.$intrinsicHeight]() { return this.intrinsicHeight; } @@ -68092,15 +74289,19 @@ html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { }; dart.addTypeTests(html$.CssImageValue); dart.addTypeCaches(html$.CssImageValue); +dart.setStaticMethodSignature(html$.CssImageValue, () => ['__']); dart.setGetterSignature(html$.CssImageValue, () => ({ __proto__: dart.getGetters(html$.CssImageValue.__proto__), [S$.$intrinsicHeight]: dart.nullable(core.num), [S$.$intrinsicRatio]: dart.nullable(core.num), [S$.$intrinsicWidth]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssImageValue, I[148]); +dart.setLibraryUri(html$.CssImageValue, I[150]); dart.registerExtension("CSSImageValue", html$.CssImageValue); html$.CssImportRule = class CssImportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssImportRule.__(); + } get [S$.$href]() { return this.href; } @@ -68113,15 +74314,19 @@ html$.CssImportRule = class CssImportRule extends html$.CssRule { }; dart.addTypeTests(html$.CssImportRule); dart.addTypeCaches(html$.CssImportRule); +dart.setStaticMethodSignature(html$.CssImportRule, () => ['__']); dart.setGetterSignature(html$.CssImportRule, () => ({ __proto__: dart.getGetters(html$.CssImportRule.__proto__), [S$.$href]: dart.nullable(core.String), [S$.$media]: dart.nullable(html$.MediaList), [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) })); -dart.setLibraryUri(html$.CssImportRule, I[148]); +dart.setLibraryUri(html$.CssImportRule, I[150]); dart.registerExtension("CSSImportRule", html$.CssImportRule); html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframeRule.__(); + } get [S$.$keyText]() { return this.keyText; } @@ -68134,6 +74339,7 @@ html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { }; dart.addTypeTests(html$.CssKeyframeRule); dart.addTypeCaches(html$.CssKeyframeRule); +dart.setStaticMethodSignature(html$.CssKeyframeRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframeRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String), @@ -68143,11 +74349,14 @@ dart.setSetterSignature(html$.CssKeyframeRule, () => ({ __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeyframeRule, I[148]); +dart.setLibraryUri(html$.CssKeyframeRule, I[150]); dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframesRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68179,6 +74388,7 @@ dart.setMethodSignature(html$.CssKeyframesRule, () => ({ [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) })); +dart.setStaticMethodSignature(html$.CssKeyframesRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframesRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), @@ -68188,15 +74398,22 @@ dart.setSetterSignature(html$.CssKeyframesRule, () => ({ __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeyframesRule, I[148]); +dart.setLibraryUri(html$.CssKeyframesRule, I[150]); dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssKeywordValue.__(); + } static new(keyword) { - if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); return html$.CssKeywordValue._create_1(keyword); } + static ['_#new#tearOff'](keyword) { + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); + return html$.CssKeywordValue.new(keyword); + } static _create_1(keyword) { return new CSSKeywordValue(keyword); } @@ -68209,6 +74426,7 @@ html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { }; dart.addTypeTests(html$.CssKeywordValue); dart.addTypeCaches(html$.CssKeywordValue); +dart.setStaticMethodSignature(html$.CssKeywordValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssKeywordValue, () => ({ __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) @@ -68217,9 +74435,12 @@ dart.setSetterSignature(html$.CssKeywordValue, () => ({ __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeywordValue, I[148]); +dart.setLibraryUri(html$.CssKeywordValue, I[150]); dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); -html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { +html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssTransformComponent.__(); + } get [S$.$is2D]() { return this.is2D; } @@ -68229,6 +74450,7 @@ html$.CssTransformComponent = class CssTransformComponent extends _interceptors. }; dart.addTypeTests(html$.CssTransformComponent); dart.addTypeCaches(html$.CssTransformComponent); +dart.setStaticMethodSignature(html$.CssTransformComponent, () => ['__']); dart.setGetterSignature(html$.CssTransformComponent, () => ({ __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) @@ -68237,17 +74459,24 @@ dart.setSetterSignature(html$.CssTransformComponent, () => ({ __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.CssTransformComponent, I[148]); +dart.setLibraryUri(html$.CssTransformComponent, I[150]); dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssMatrixComponent.__(); + } static new(matrix, options = null) { - if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.CssMatrixComponent._create_1(matrix, options_1); } return html$.CssMatrixComponent._create_2(matrix); } + static ['_#new#tearOff'](matrix, options = null) { + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); + return html$.CssMatrixComponent.new(matrix, options); + } static _create_1(matrix, options) { return new CSSMatrixComponent(matrix, options); } @@ -68263,6 +74492,7 @@ html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformCo }; dart.addTypeTests(html$.CssMatrixComponent); dart.addTypeCaches(html$.CssMatrixComponent); +dart.setStaticMethodSignature(html$.CssMatrixComponent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssMatrixComponent, () => ({ __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) @@ -68271,22 +74501,29 @@ dart.setSetterSignature(html$.CssMatrixComponent, () => ({ __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) })); -dart.setLibraryUri(html$.CssMatrixComponent, I[148]); +dart.setLibraryUri(html$.CssMatrixComponent, I[150]); dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssMediaRule.__(); + } get [S$.$media]() { return this.media; } }; dart.addTypeTests(html$.CssMediaRule); dart.addTypeCaches(html$.CssMediaRule); +dart.setStaticMethodSignature(html$.CssMediaRule, () => ['__']); dart.setGetterSignature(html$.CssMediaRule, () => ({ __proto__: dart.getGetters(html$.CssMediaRule.__proto__), [S$.$media]: dart.nullable(html$.MediaList) })); -dart.setLibraryUri(html$.CssMediaRule, I[148]); +dart.setLibraryUri(html$.CssMediaRule, I[150]); dart.registerExtension("CSSMediaRule", html$.CssMediaRule); html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssNamespaceRule.__(); + } get [S.$namespaceUri]() { return this.namespaceURI; } @@ -68296,14 +74533,18 @@ html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { }; dart.addTypeTests(html$.CssNamespaceRule); dart.addTypeCaches(html$.CssNamespaceRule); +dart.setStaticMethodSignature(html$.CssNamespaceRule, () => ['__']); dart.setGetterSignature(html$.CssNamespaceRule, () => ({ __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), [S.$namespaceUri]: dart.nullable(core.String), [S$.$prefix]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssNamespaceRule, I[148]); +dart.setLibraryUri(html$.CssNamespaceRule, I[150]); dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssNumericValue.__(); + } [$add](...args) { return this.add.apply(this, args); } @@ -68330,9 +74571,13 @@ dart.setMethodSignature(html$.CssNumericValue, () => ({ [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) })); -dart.setLibraryUri(html$.CssNumericValue, I[148]); +dart.setStaticMethodSignature(html$.CssNumericValue, () => ['__', 'parse']); +dart.setLibraryUri(html$.CssNumericValue, I[150]); dart.registerExtension("CSSNumericValue", html$.CssNumericValue); html$.CssPageRule = class CssPageRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssPageRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -68345,6 +74590,7 @@ html$.CssPageRule = class CssPageRule extends html$.CssRule { }; dart.addTypeTests(html$.CssPageRule); dart.addTypeCaches(html$.CssPageRule); +dart.setStaticMethodSignature(html$.CssPageRule, () => ['__']); dart.setGetterSignature(html$.CssPageRule, () => ({ __proto__: dart.getGetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String), @@ -68354,13 +74600,20 @@ dart.setSetterSignature(html$.CssPageRule, () => ({ __proto__: dart.getSetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssPageRule, I[148]); +dart.setLibraryUri(html$.CssPageRule, I[150]); dart.registerExtension("CSSPageRule", html$.CssPageRule); html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssPerspective.__(); + } static new(length) { - if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); return html$.CssPerspective._create_1(length); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); + return html$.CssPerspective.new(length); + } static _create_1(length) { return new CSSPerspective(length); } @@ -68373,6 +74626,7 @@ html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent }; dart.addTypeTests(html$.CssPerspective); dart.addTypeCaches(html$.CssPerspective); +dart.setStaticMethodSignature(html$.CssPerspective, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPerspective, () => ({ __proto__: dart.getGetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) @@ -68381,14 +74635,22 @@ dart.setSetterSignature(html$.CssPerspective, () => ({ __proto__: dart.getSetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssPerspective, I[148]); +dart.setLibraryUri(html$.CssPerspective, I[150]); dart.registerExtension("CSSPerspective", html$.CssPerspective); html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssPositionValue.__(); + } static new(x, y) { - if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); - if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); return html$.CssPositionValue._create_1(x, y); } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); + return html$.CssPositionValue.new(x, y); + } static _create_1(x, y) { return new CSSPositionValue(x, y); } @@ -68407,6 +74669,7 @@ html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { }; dart.addTypeTests(html$.CssPositionValue); dart.addTypeCaches(html$.CssPositionValue); +dart.setStaticMethodSignature(html$.CssPositionValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPositionValue, () => ({ __proto__: dart.getGetters(html$.CssPositionValue.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -68417,9 +74680,12 @@ dart.setSetterSignature(html$.CssPositionValue, () => ({ [S$.$x]: dart.nullable(html$.CssNumericValue), [S$.$y]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssPositionValue, I[148]); +dart.setLibraryUri(html$.CssPositionValue, I[150]); dart.registerExtension("CSSPositionValue", html$.CssPositionValue); html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssRotation.__(); + } static new(angleValue_OR_x, y = null, z = null, angle = null) { if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { return html$.CssRotation._create_1(angleValue_OR_x); @@ -68429,6 +74695,9 @@ html$.CssRotation = class CssRotation extends html$.CssTransformComponent { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](angleValue_OR_x, y = null, z = null, angle = null) { + return html$.CssRotation.new(angleValue_OR_x, y, z, angle); + } static _create_1(angleValue_OR_x) { return new CSSRotation(angleValue_OR_x); } @@ -68462,6 +74731,7 @@ html$.CssRotation = class CssRotation extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssRotation); dart.addTypeCaches(html$.CssRotation); +dart.setStaticMethodSignature(html$.CssRotation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssRotation, () => ({ __proto__: dart.getGetters(html$.CssRotation.__proto__), [S$.$angle]: dart.nullable(html$.CssNumericValue), @@ -68476,12 +74746,15 @@ dart.setSetterSignature(html$.CssRotation, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssRotation, I[148]); +dart.setLibraryUri(html$.CssRotation, I[150]); dart.registerExtension("CSSRotation", html$.CssRotation); html$.CssScale = class CssScale extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssScale.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); - if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); if (typeof y == 'number' && typeof x == 'number' && z == null) { return html$.CssScale._create_1(x, y); } @@ -68490,6 +74763,11 @@ html$.CssScale = class CssScale extends html$.CssTransformComponent { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); + return html$.CssScale.new(x, y, z); + } static _create_1(x, y) { return new CSSScale(x, y); } @@ -68517,6 +74795,7 @@ html$.CssScale = class CssScale extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssScale); dart.addTypeCaches(html$.CssScale); +dart.setStaticMethodSignature(html$.CssScale, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssScale, () => ({ __proto__: dart.getGetters(html$.CssScale.__proto__), [S$.$x]: dart.nullable(core.num), @@ -68529,14 +74808,22 @@ dart.setSetterSignature(html$.CssScale, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssScale, I[148]); +dart.setLibraryUri(html$.CssScale, I[150]); dart.registerExtension("CSSScale", html$.CssScale); html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssSkew.__(); + } static new(ax, ay) { - if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); - if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); return html$.CssSkew._create_1(ax, ay); } + static ['_#new#tearOff'](ax, ay) { + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); + return html$.CssSkew.new(ax, ay); + } static _create_1(ax, ay) { return new CSSSkew(ax, ay); } @@ -68555,6 +74842,7 @@ html$.CssSkew = class CssSkew extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssSkew); dart.addTypeCaches(html$.CssSkew); +dart.setStaticMethodSignature(html$.CssSkew, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssSkew, () => ({ __proto__: dart.getGetters(html$.CssSkew.__proto__), [S$.$ax]: dart.nullable(html$.CssNumericValue), @@ -68565,2401 +74853,2415 @@ dart.setSetterSignature(html$.CssSkew, () => ({ [S$.$ax]: dart.nullable(html$.CssNumericValue), [S$.$ay]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssSkew, I[148]); +dart.setLibraryUri(html$.CssSkew, I[150]); dart.registerExtension("CSSSkew", html$.CssSkew); html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { get alignContent() { return this[S$.$getPropertyValue]("align-content"); } set alignContent(value) { - if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5924, 27, "value"); this[S$.$setProperty]("align-content", value, ""); } get alignItems() { return this[S$.$getPropertyValue]("align-items"); } set alignItems(value) { - if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5932, 25, "value"); this[S$.$setProperty]("align-items", value, ""); } get alignSelf() { return this[S$.$getPropertyValue]("align-self"); } set alignSelf(value) { - if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5940, 24, "value"); this[S$.$setProperty]("align-self", value, ""); } get animation() { return this[S$.$getPropertyValue]("animation"); } set animation(value) { - if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5948, 24, "value"); this[S$.$setProperty]("animation", value, ""); } get animationDelay() { return this[S$.$getPropertyValue]("animation-delay"); } set animationDelay(value) { - if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5956, 29, "value"); this[S$.$setProperty]("animation-delay", value, ""); } get animationDirection() { return this[S$.$getPropertyValue]("animation-direction"); } set animationDirection(value) { - if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5964, 33, "value"); this[S$.$setProperty]("animation-direction", value, ""); } get animationDuration() { return this[S$.$getPropertyValue]("animation-duration"); } set animationDuration(value) { - if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5972, 32, "value"); this[S$.$setProperty]("animation-duration", value, ""); } get animationFillMode() { return this[S$.$getPropertyValue]("animation-fill-mode"); } set animationFillMode(value) { - if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5980, 32, "value"); this[S$.$setProperty]("animation-fill-mode", value, ""); } get animationIterationCount() { return this[S$.$getPropertyValue]("animation-iteration-count"); } set animationIterationCount(value) { - if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + if (value == null) dart.nullFailed(I[149], 5989, 38, "value"); this[S$.$setProperty]("animation-iteration-count", value, ""); } get animationName() { return this[S$.$getPropertyValue]("animation-name"); } set animationName(value) { - if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5997, 28, "value"); this[S$.$setProperty]("animation-name", value, ""); } get animationPlayState() { return this[S$.$getPropertyValue]("animation-play-state"); } set animationPlayState(value) { - if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6005, 33, "value"); this[S$.$setProperty]("animation-play-state", value, ""); } get animationTimingFunction() { return this[S$.$getPropertyValue]("animation-timing-function"); } set animationTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6014, 38, "value"); this[S$.$setProperty]("animation-timing-function", value, ""); } get appRegion() { return this[S$.$getPropertyValue]("app-region"); } set appRegion(value) { - if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6022, 24, "value"); this[S$.$setProperty]("app-region", value, ""); } get appearance() { return this[S$.$getPropertyValue]("appearance"); } set appearance(value) { - if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6030, 25, "value"); this[S$.$setProperty]("appearance", value, ""); } get aspectRatio() { return this[S$.$getPropertyValue]("aspect-ratio"); } set aspectRatio(value) { - if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6038, 26, "value"); this[S$.$setProperty]("aspect-ratio", value, ""); } get backfaceVisibility() { return this[S$.$getPropertyValue]("backface-visibility"); } set backfaceVisibility(value) { - if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6046, 33, "value"); this[S$.$setProperty]("backface-visibility", value, ""); } get background() { return this[S$.$getPropertyValue]("background"); } set background(value) { - if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6054, 25, "value"); this[S$.$setProperty]("background", value, ""); } get backgroundAttachment() { return this[S$.$getPropertyValue]("background-attachment"); } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6062, 35, "value"); this[S$.$setProperty]("background-attachment", value, ""); } get backgroundBlendMode() { return this[S$.$getPropertyValue]("background-blend-mode"); } set backgroundBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6070, 34, "value"); this[S$.$setProperty]("background-blend-mode", value, ""); } get backgroundClip() { return this[S$.$getPropertyValue]("background-clip"); } set backgroundClip(value) { - if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6078, 29, "value"); this[S$.$setProperty]("background-clip", value, ""); } get backgroundColor() { return this[S$.$getPropertyValue]("background-color"); } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6086, 30, "value"); this[S$.$setProperty]("background-color", value, ""); } get backgroundComposite() { return this[S$.$getPropertyValue]("background-composite"); } set backgroundComposite(value) { - if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6094, 34, "value"); this[S$.$setProperty]("background-composite", value, ""); } get backgroundImage() { return this[S$.$getPropertyValue]("background-image"); } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6102, 30, "value"); this[S$.$setProperty]("background-image", value, ""); } get backgroundOrigin() { return this[S$.$getPropertyValue]("background-origin"); } set backgroundOrigin(value) { - if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6110, 31, "value"); this[S$.$setProperty]("background-origin", value, ""); } get backgroundPosition() { return this[S$.$getPropertyValue]("background-position"); } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6118, 33, "value"); this[S$.$setProperty]("background-position", value, ""); } get backgroundPositionX() { return this[S$.$getPropertyValue]("background-position-x"); } set backgroundPositionX(value) { - if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6126, 34, "value"); this[S$.$setProperty]("background-position-x", value, ""); } get backgroundPositionY() { return this[S$.$getPropertyValue]("background-position-y"); } set backgroundPositionY(value) { - if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6134, 34, "value"); this[S$.$setProperty]("background-position-y", value, ""); } get backgroundRepeat() { return this[S$.$getPropertyValue]("background-repeat"); } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6142, 31, "value"); this[S$.$setProperty]("background-repeat", value, ""); } get backgroundRepeatX() { return this[S$.$getPropertyValue]("background-repeat-x"); } set backgroundRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6150, 32, "value"); this[S$.$setProperty]("background-repeat-x", value, ""); } get backgroundRepeatY() { return this[S$.$getPropertyValue]("background-repeat-y"); } set backgroundRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6158, 32, "value"); this[S$.$setProperty]("background-repeat-y", value, ""); } get backgroundSize() { return this[S$.$getPropertyValue]("background-size"); } set backgroundSize(value) { - if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6166, 29, "value"); this[S$.$setProperty]("background-size", value, ""); } get border() { return this[S$.$getPropertyValue]("border"); } set border(value) { - if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6174, 21, "value"); this[S$.$setProperty]("border", value, ""); } get borderAfter() { return this[S$.$getPropertyValue]("border-after"); } set borderAfter(value) { - if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6182, 26, "value"); this[S$.$setProperty]("border-after", value, ""); } get borderAfterColor() { return this[S$.$getPropertyValue]("border-after-color"); } set borderAfterColor(value) { - if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6190, 31, "value"); this[S$.$setProperty]("border-after-color", value, ""); } get borderAfterStyle() { return this[S$.$getPropertyValue]("border-after-style"); } set borderAfterStyle(value) { - if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6198, 31, "value"); this[S$.$setProperty]("border-after-style", value, ""); } get borderAfterWidth() { return this[S$.$getPropertyValue]("border-after-width"); } set borderAfterWidth(value) { - if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6206, 31, "value"); this[S$.$setProperty]("border-after-width", value, ""); } get borderBefore() { return this[S$.$getPropertyValue]("border-before"); } set borderBefore(value) { - if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6214, 27, "value"); this[S$.$setProperty]("border-before", value, ""); } get borderBeforeColor() { return this[S$.$getPropertyValue]("border-before-color"); } set borderBeforeColor(value) { - if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6222, 32, "value"); this[S$.$setProperty]("border-before-color", value, ""); } get borderBeforeStyle() { return this[S$.$getPropertyValue]("border-before-style"); } set borderBeforeStyle(value) { - if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6230, 32, "value"); this[S$.$setProperty]("border-before-style", value, ""); } get borderBeforeWidth() { return this[S$.$getPropertyValue]("border-before-width"); } set borderBeforeWidth(value) { - if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6238, 32, "value"); this[S$.$setProperty]("border-before-width", value, ""); } get borderBottom() { return this[S$.$getPropertyValue]("border-bottom"); } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6246, 27, "value"); this[S$.$setProperty]("border-bottom", value, ""); } get borderBottomColor() { return this[S$.$getPropertyValue]("border-bottom-color"); } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6254, 32, "value"); this[S$.$setProperty]("border-bottom-color", value, ""); } get borderBottomLeftRadius() { return this[S$.$getPropertyValue]("border-bottom-left-radius"); } set borderBottomLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + if (value == null) dart.nullFailed(I[149], 6263, 37, "value"); this[S$.$setProperty]("border-bottom-left-radius", value, ""); } get borderBottomRightRadius() { return this[S$.$getPropertyValue]("border-bottom-right-radius"); } set borderBottomRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6272, 38, "value"); this[S$.$setProperty]("border-bottom-right-radius", value, ""); } get borderBottomStyle() { return this[S$.$getPropertyValue]("border-bottom-style"); } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6280, 32, "value"); this[S$.$setProperty]("border-bottom-style", value, ""); } get borderBottomWidth() { return this[S$.$getPropertyValue]("border-bottom-width"); } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6288, 32, "value"); this[S$.$setProperty]("border-bottom-width", value, ""); } get borderCollapse() { return this[S$.$getPropertyValue]("border-collapse"); } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6296, 29, "value"); this[S$.$setProperty]("border-collapse", value, ""); } get borderColor() { return this[S$.$getPropertyValue]("border-color"); } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6304, 26, "value"); this[S$.$setProperty]("border-color", value, ""); } get borderEnd() { return this[S$.$getPropertyValue]("border-end"); } set borderEnd(value) { - if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6312, 24, "value"); this[S$.$setProperty]("border-end", value, ""); } get borderEndColor() { return this[S$.$getPropertyValue]("border-end-color"); } set borderEndColor(value) { - if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6320, 29, "value"); this[S$.$setProperty]("border-end-color", value, ""); } get borderEndStyle() { return this[S$.$getPropertyValue]("border-end-style"); } set borderEndStyle(value) { - if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6328, 29, "value"); this[S$.$setProperty]("border-end-style", value, ""); } get borderEndWidth() { return this[S$.$getPropertyValue]("border-end-width"); } set borderEndWidth(value) { - if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6336, 29, "value"); this[S$.$setProperty]("border-end-width", value, ""); } get borderFit() { return this[S$.$getPropertyValue]("border-fit"); } set borderFit(value) { - if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6344, 24, "value"); this[S$.$setProperty]("border-fit", value, ""); } get borderHorizontalSpacing() { return this[S$.$getPropertyValue]("border-horizontal-spacing"); } set borderHorizontalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6353, 38, "value"); this[S$.$setProperty]("border-horizontal-spacing", value, ""); } get borderImage() { return this[S$.$getPropertyValue]("border-image"); } set borderImage(value) { - if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6361, 26, "value"); this[S$.$setProperty]("border-image", value, ""); } get borderImageOutset() { return this[S$.$getPropertyValue]("border-image-outset"); } set borderImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6369, 32, "value"); this[S$.$setProperty]("border-image-outset", value, ""); } get borderImageRepeat() { return this[S$.$getPropertyValue]("border-image-repeat"); } set borderImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6377, 32, "value"); this[S$.$setProperty]("border-image-repeat", value, ""); } get borderImageSlice() { return this[S$.$getPropertyValue]("border-image-slice"); } set borderImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6385, 31, "value"); this[S$.$setProperty]("border-image-slice", value, ""); } get borderImageSource() { return this[S$.$getPropertyValue]("border-image-source"); } set borderImageSource(value) { - if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6393, 32, "value"); this[S$.$setProperty]("border-image-source", value, ""); } get borderImageWidth() { return this[S$.$getPropertyValue]("border-image-width"); } set borderImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6401, 31, "value"); this[S$.$setProperty]("border-image-width", value, ""); } get borderLeft() { return this[S$.$getPropertyValue]("border-left"); } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6409, 25, "value"); this[S$.$setProperty]("border-left", value, ""); } get borderLeftColor() { return this[S$.$getPropertyValue]("border-left-color"); } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6417, 30, "value"); this[S$.$setProperty]("border-left-color", value, ""); } get borderLeftStyle() { return this[S$.$getPropertyValue]("border-left-style"); } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6425, 30, "value"); this[S$.$setProperty]("border-left-style", value, ""); } get borderLeftWidth() { return this[S$.$getPropertyValue]("border-left-width"); } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6433, 30, "value"); this[S$.$setProperty]("border-left-width", value, ""); } get borderRadius() { return this[S$.$getPropertyValue]("border-radius"); } set borderRadius(value) { - if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6441, 27, "value"); this[S$.$setProperty]("border-radius", value, ""); } get borderRight() { return this[S$.$getPropertyValue]("border-right"); } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6449, 26, "value"); this[S$.$setProperty]("border-right", value, ""); } get borderRightColor() { return this[S$.$getPropertyValue]("border-right-color"); } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6457, 31, "value"); this[S$.$setProperty]("border-right-color", value, ""); } get borderRightStyle() { return this[S$.$getPropertyValue]("border-right-style"); } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6465, 31, "value"); this[S$.$setProperty]("border-right-style", value, ""); } get borderRightWidth() { return this[S$.$getPropertyValue]("border-right-width"); } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6473, 31, "value"); this[S$.$setProperty]("border-right-width", value, ""); } get borderSpacing() { return this[S$.$getPropertyValue]("border-spacing"); } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6481, 28, "value"); this[S$.$setProperty]("border-spacing", value, ""); } get borderStart() { return this[S$.$getPropertyValue]("border-start"); } set borderStart(value) { - if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6489, 26, "value"); this[S$.$setProperty]("border-start", value, ""); } get borderStartColor() { return this[S$.$getPropertyValue]("border-start-color"); } set borderStartColor(value) { - if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6497, 31, "value"); this[S$.$setProperty]("border-start-color", value, ""); } get borderStartStyle() { return this[S$.$getPropertyValue]("border-start-style"); } set borderStartStyle(value) { - if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6505, 31, "value"); this[S$.$setProperty]("border-start-style", value, ""); } get borderStartWidth() { return this[S$.$getPropertyValue]("border-start-width"); } set borderStartWidth(value) { - if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6513, 31, "value"); this[S$.$setProperty]("border-start-width", value, ""); } get borderStyle() { return this[S$.$getPropertyValue]("border-style"); } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6521, 26, "value"); this[S$.$setProperty]("border-style", value, ""); } get borderTop() { return this[S$.$getPropertyValue]("border-top"); } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6529, 24, "value"); this[S$.$setProperty]("border-top", value, ""); } get borderTopColor() { return this[S$.$getPropertyValue]("border-top-color"); } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6537, 29, "value"); this[S$.$setProperty]("border-top-color", value, ""); } get borderTopLeftRadius() { return this[S$.$getPropertyValue]("border-top-left-radius"); } set borderTopLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6545, 34, "value"); this[S$.$setProperty]("border-top-left-radius", value, ""); } get borderTopRightRadius() { return this[S$.$getPropertyValue]("border-top-right-radius"); } set borderTopRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6554, 35, "value"); this[S$.$setProperty]("border-top-right-radius", value, ""); } get borderTopStyle() { return this[S$.$getPropertyValue]("border-top-style"); } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6562, 29, "value"); this[S$.$setProperty]("border-top-style", value, ""); } get borderTopWidth() { return this[S$.$getPropertyValue]("border-top-width"); } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6570, 29, "value"); this[S$.$setProperty]("border-top-width", value, ""); } get borderVerticalSpacing() { return this[S$.$getPropertyValue]("border-vertical-spacing"); } set borderVerticalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + if (value == null) dart.nullFailed(I[149], 6579, 36, "value"); this[S$.$setProperty]("border-vertical-spacing", value, ""); } get borderWidth() { return this[S$.$getPropertyValue]("border-width"); } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6587, 26, "value"); this[S$.$setProperty]("border-width", value, ""); } get bottom() { return this[S$.$getPropertyValue]("bottom"); } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6595, 21, "value"); this[S$.$setProperty]("bottom", value, ""); } get boxAlign() { return this[S$.$getPropertyValue]("box-align"); } set boxAlign(value) { - if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6603, 23, "value"); this[S$.$setProperty]("box-align", value, ""); } get boxDecorationBreak() { return this[S$.$getPropertyValue]("box-decoration-break"); } set boxDecorationBreak(value) { - if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6611, 33, "value"); this[S$.$setProperty]("box-decoration-break", value, ""); } get boxDirection() { return this[S$.$getPropertyValue]("box-direction"); } set boxDirection(value) { - if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6619, 27, "value"); this[S$.$setProperty]("box-direction", value, ""); } get boxFlex() { return this[S$.$getPropertyValue]("box-flex"); } set boxFlex(value) { - if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6627, 22, "value"); this[S$.$setProperty]("box-flex", value, ""); } get boxFlexGroup() { return this[S$.$getPropertyValue]("box-flex-group"); } set boxFlexGroup(value) { - if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6635, 27, "value"); this[S$.$setProperty]("box-flex-group", value, ""); } get boxLines() { return this[S$.$getPropertyValue]("box-lines"); } set boxLines(value) { - if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6643, 23, "value"); this[S$.$setProperty]("box-lines", value, ""); } get boxOrdinalGroup() { return this[S$.$getPropertyValue]("box-ordinal-group"); } set boxOrdinalGroup(value) { - if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6651, 30, "value"); this[S$.$setProperty]("box-ordinal-group", value, ""); } get boxOrient() { return this[S$.$getPropertyValue]("box-orient"); } set boxOrient(value) { - if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6659, 24, "value"); this[S$.$setProperty]("box-orient", value, ""); } get boxPack() { return this[S$.$getPropertyValue]("box-pack"); } set boxPack(value) { - if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6667, 22, "value"); this[S$.$setProperty]("box-pack", value, ""); } get boxReflect() { return this[S$.$getPropertyValue]("box-reflect"); } set boxReflect(value) { - if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6675, 25, "value"); this[S$.$setProperty]("box-reflect", value, ""); } get boxShadow() { return this[S$.$getPropertyValue]("box-shadow"); } set boxShadow(value) { - if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6683, 24, "value"); this[S$.$setProperty]("box-shadow", value, ""); } get boxSizing() { return this[S$.$getPropertyValue]("box-sizing"); } set boxSizing(value) { - if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6691, 24, "value"); this[S$.$setProperty]("box-sizing", value, ""); } get captionSide() { return this[S$.$getPropertyValue]("caption-side"); } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6699, 26, "value"); this[S$.$setProperty]("caption-side", value, ""); } get clear() { return this[S$.$getPropertyValue]("clear"); } set clear(value) { - if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6707, 20, "value"); this[S$.$setProperty]("clear", value, ""); } get clip() { return this[S$.$getPropertyValue]("clip"); } set clip(value) { - if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6715, 19, "value"); this[S$.$setProperty]("clip", value, ""); } get clipPath() { return this[S$.$getPropertyValue]("clip-path"); } set clipPath(value) { - if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6723, 23, "value"); this[S$.$setProperty]("clip-path", value, ""); } get color() { return this[S$.$getPropertyValue]("color"); } set color(value) { - if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6731, 20, "value"); this[S$.$setProperty]("color", value, ""); } get columnBreakAfter() { return this[S$.$getPropertyValue]("column-break-after"); } set columnBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6739, 31, "value"); this[S$.$setProperty]("column-break-after", value, ""); } get columnBreakBefore() { return this[S$.$getPropertyValue]("column-break-before"); } set columnBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6747, 32, "value"); this[S$.$setProperty]("column-break-before", value, ""); } get columnBreakInside() { return this[S$.$getPropertyValue]("column-break-inside"); } set columnBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6755, 32, "value"); this[S$.$setProperty]("column-break-inside", value, ""); } get columnCount() { return this[S$.$getPropertyValue]("column-count"); } set columnCount(value) { - if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6763, 26, "value"); this[S$.$setProperty]("column-count", value, ""); } get columnFill() { return this[S$.$getPropertyValue]("column-fill"); } set columnFill(value) { - if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6771, 25, "value"); this[S$.$setProperty]("column-fill", value, ""); } get columnGap() { return this[S$.$getPropertyValue]("column-gap"); } set columnGap(value) { - if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6779, 24, "value"); this[S$.$setProperty]("column-gap", value, ""); } get columnRule() { return this[S$.$getPropertyValue]("column-rule"); } set columnRule(value) { - if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6787, 25, "value"); this[S$.$setProperty]("column-rule", value, ""); } get columnRuleColor() { return this[S$.$getPropertyValue]("column-rule-color"); } set columnRuleColor(value) { - if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6795, 30, "value"); this[S$.$setProperty]("column-rule-color", value, ""); } get columnRuleStyle() { return this[S$.$getPropertyValue]("column-rule-style"); } set columnRuleStyle(value) { - if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6803, 30, "value"); this[S$.$setProperty]("column-rule-style", value, ""); } get columnRuleWidth() { return this[S$.$getPropertyValue]("column-rule-width"); } set columnRuleWidth(value) { - if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6811, 30, "value"); this[S$.$setProperty]("column-rule-width", value, ""); } get columnSpan() { return this[S$.$getPropertyValue]("column-span"); } set columnSpan(value) { - if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6819, 25, "value"); this[S$.$setProperty]("column-span", value, ""); } get columnWidth() { return this[S$.$getPropertyValue]("column-width"); } set columnWidth(value) { - if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6827, 26, "value"); this[S$.$setProperty]("column-width", value, ""); } get columns() { return this[S$.$getPropertyValue]("columns"); } set columns(value) { - if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6835, 22, "value"); this[S$.$setProperty]("columns", value, ""); } get content() { return this[S$.$getPropertyValue]("content"); } set content(value) { - if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6843, 22, "value"); this[S$.$setProperty]("content", value, ""); } get counterIncrement() { return this[S$.$getPropertyValue]("counter-increment"); } set counterIncrement(value) { - if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6851, 31, "value"); this[S$.$setProperty]("counter-increment", value, ""); } get counterReset() { return this[S$.$getPropertyValue]("counter-reset"); } set counterReset(value) { - if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6859, 27, "value"); this[S$.$setProperty]("counter-reset", value, ""); } get cursor() { return this[S$.$getPropertyValue]("cursor"); } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6867, 21, "value"); this[S$.$setProperty]("cursor", value, ""); } get direction() { return this[S$.$getPropertyValue]("direction"); } set direction(value) { - if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6875, 24, "value"); this[S$.$setProperty]("direction", value, ""); } get display() { return this[S$.$getPropertyValue]("display"); } set display(value) { - if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6883, 22, "value"); this[S$.$setProperty]("display", value, ""); } get emptyCells() { return this[S$.$getPropertyValue]("empty-cells"); } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6891, 25, "value"); this[S$.$setProperty]("empty-cells", value, ""); } get filter() { return this[S$.$getPropertyValue]("filter"); } set filter(value) { - if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6899, 21, "value"); this[S$.$setProperty]("filter", value, ""); } get flex() { return this[S$.$getPropertyValue]("flex"); } set flex(value) { - if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6907, 19, "value"); this[S$.$setProperty]("flex", value, ""); } get flexBasis() { return this[S$.$getPropertyValue]("flex-basis"); } set flexBasis(value) { - if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6915, 24, "value"); this[S$.$setProperty]("flex-basis", value, ""); } get flexDirection() { return this[S$.$getPropertyValue]("flex-direction"); } set flexDirection(value) { - if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6923, 28, "value"); this[S$.$setProperty]("flex-direction", value, ""); } get flexFlow() { return this[S$.$getPropertyValue]("flex-flow"); } set flexFlow(value) { - if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6931, 23, "value"); this[S$.$setProperty]("flex-flow", value, ""); } get flexGrow() { return this[S$.$getPropertyValue]("flex-grow"); } set flexGrow(value) { - if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6939, 23, "value"); this[S$.$setProperty]("flex-grow", value, ""); } get flexShrink() { return this[S$.$getPropertyValue]("flex-shrink"); } set flexShrink(value) { - if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6947, 25, "value"); this[S$.$setProperty]("flex-shrink", value, ""); } get flexWrap() { return this[S$.$getPropertyValue]("flex-wrap"); } set flexWrap(value) { - if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6955, 23, "value"); this[S$.$setProperty]("flex-wrap", value, ""); } get float() { return this[S$.$getPropertyValue]("float"); } set float(value) { - if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6963, 20, "value"); this[S$.$setProperty]("float", value, ""); } get font() { return this[S$.$getPropertyValue]("font"); } set font(value) { - if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6971, 19, "value"); this[S$.$setProperty]("font", value, ""); } get fontFamily() { return this[S$.$getPropertyValue]("font-family"); } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6979, 25, "value"); this[S$.$setProperty]("font-family", value, ""); } get fontFeatureSettings() { return this[S$.$getPropertyValue]("font-feature-settings"); } set fontFeatureSettings(value) { - if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6987, 34, "value"); this[S$.$setProperty]("font-feature-settings", value, ""); } get fontKerning() { return this[S$.$getPropertyValue]("font-kerning"); } set fontKerning(value) { - if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6995, 26, "value"); this[S$.$setProperty]("font-kerning", value, ""); } get fontSize() { return this[S$.$getPropertyValue]("font-size"); } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7003, 23, "value"); this[S$.$setProperty]("font-size", value, ""); } get fontSizeDelta() { return this[S$.$getPropertyValue]("font-size-delta"); } set fontSizeDelta(value) { - if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7011, 28, "value"); this[S$.$setProperty]("font-size-delta", value, ""); } get fontSmoothing() { return this[S$.$getPropertyValue]("font-smoothing"); } set fontSmoothing(value) { - if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7019, 28, "value"); this[S$.$setProperty]("font-smoothing", value, ""); } get fontStretch() { return this[S$.$getPropertyValue]("font-stretch"); } set fontStretch(value) { - if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7027, 26, "value"); this[S$.$setProperty]("font-stretch", value, ""); } get fontStyle() { return this[S$.$getPropertyValue]("font-style"); } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7035, 24, "value"); this[S$.$setProperty]("font-style", value, ""); } get fontVariant() { return this[S$.$getPropertyValue]("font-variant"); } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7043, 26, "value"); this[S$.$setProperty]("font-variant", value, ""); } get fontVariantLigatures() { return this[S$.$getPropertyValue]("font-variant-ligatures"); } set fontVariantLigatures(value) { - if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7051, 35, "value"); this[S$.$setProperty]("font-variant-ligatures", value, ""); } get fontWeight() { return this[S$.$getPropertyValue]("font-weight"); } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7059, 25, "value"); this[S$.$setProperty]("font-weight", value, ""); } + get gap() { + return this[S$.$getPropertyValue]("gap"); + } + set gap(value) { + if (value == null) dart.nullFailed(I[149], 7067, 18, "value"); + this[S$.$setProperty]("gap", value, ""); + } get grid() { return this[S$.$getPropertyValue]("grid"); } set grid(value) { - if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7075, 19, "value"); this[S$.$setProperty]("grid", value, ""); } get gridArea() { return this[S$.$getPropertyValue]("grid-area"); } set gridArea(value) { - if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7083, 23, "value"); this[S$.$setProperty]("grid-area", value, ""); } get gridAutoColumns() { return this[S$.$getPropertyValue]("grid-auto-columns"); } set gridAutoColumns(value) { - if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7091, 30, "value"); this[S$.$setProperty]("grid-auto-columns", value, ""); } get gridAutoFlow() { return this[S$.$getPropertyValue]("grid-auto-flow"); } set gridAutoFlow(value) { - if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7099, 27, "value"); this[S$.$setProperty]("grid-auto-flow", value, ""); } get gridAutoRows() { return this[S$.$getPropertyValue]("grid-auto-rows"); } set gridAutoRows(value) { - if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7107, 27, "value"); this[S$.$setProperty]("grid-auto-rows", value, ""); } get gridColumn() { return this[S$.$getPropertyValue]("grid-column"); } set gridColumn(value) { - if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7115, 25, "value"); this[S$.$setProperty]("grid-column", value, ""); } get gridColumnEnd() { return this[S$.$getPropertyValue]("grid-column-end"); } set gridColumnEnd(value) { - if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7123, 28, "value"); this[S$.$setProperty]("grid-column-end", value, ""); } get gridColumnStart() { return this[S$.$getPropertyValue]("grid-column-start"); } set gridColumnStart(value) { - if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7131, 30, "value"); this[S$.$setProperty]("grid-column-start", value, ""); } get gridRow() { return this[S$.$getPropertyValue]("grid-row"); } set gridRow(value) { - if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7139, 22, "value"); this[S$.$setProperty]("grid-row", value, ""); } get gridRowEnd() { return this[S$.$getPropertyValue]("grid-row-end"); } set gridRowEnd(value) { - if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7147, 25, "value"); this[S$.$setProperty]("grid-row-end", value, ""); } get gridRowStart() { return this[S$.$getPropertyValue]("grid-row-start"); } set gridRowStart(value) { - if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7155, 27, "value"); this[S$.$setProperty]("grid-row-start", value, ""); } get gridTemplate() { return this[S$.$getPropertyValue]("grid-template"); } set gridTemplate(value) { - if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7163, 27, "value"); this[S$.$setProperty]("grid-template", value, ""); } get gridTemplateAreas() { return this[S$.$getPropertyValue]("grid-template-areas"); } set gridTemplateAreas(value) { - if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7171, 32, "value"); this[S$.$setProperty]("grid-template-areas", value, ""); } get gridTemplateColumns() { return this[S$.$getPropertyValue]("grid-template-columns"); } set gridTemplateColumns(value) { - if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7179, 34, "value"); this[S$.$setProperty]("grid-template-columns", value, ""); } get gridTemplateRows() { return this[S$.$getPropertyValue]("grid-template-rows"); } set gridTemplateRows(value) { - if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7187, 31, "value"); this[S$.$setProperty]("grid-template-rows", value, ""); } get height() { return this[S$.$getPropertyValue]("height"); } set height(value) { - if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7195, 21, "value"); this[S$.$setProperty]("height", value, ""); } get highlight() { return this[S$.$getPropertyValue]("highlight"); } set highlight(value) { - if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7203, 24, "value"); this[S$.$setProperty]("highlight", value, ""); } get hyphenateCharacter() { return this[S$.$getPropertyValue]("hyphenate-character"); } set hyphenateCharacter(value) { - if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7211, 33, "value"); this[S$.$setProperty]("hyphenate-character", value, ""); } get imageRendering() { return this[S$.$getPropertyValue]("image-rendering"); } set imageRendering(value) { - if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7219, 29, "value"); this[S$.$setProperty]("image-rendering", value, ""); } get isolation() { return this[S$.$getPropertyValue]("isolation"); } set isolation(value) { - if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7227, 24, "value"); this[S$.$setProperty]("isolation", value, ""); } get justifyContent() { return this[S$.$getPropertyValue]("justify-content"); } set justifyContent(value) { - if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7235, 29, "value"); this[S$.$setProperty]("justify-content", value, ""); } get justifySelf() { return this[S$.$getPropertyValue]("justify-self"); } set justifySelf(value) { - if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7243, 26, "value"); this[S$.$setProperty]("justify-self", value, ""); } get left() { return this[S$.$getPropertyValue]("left"); } set left(value) { - if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7251, 19, "value"); this[S$.$setProperty]("left", value, ""); } get letterSpacing() { return this[S$.$getPropertyValue]("letter-spacing"); } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7259, 28, "value"); this[S$.$setProperty]("letter-spacing", value, ""); } get lineBoxContain() { return this[S$.$getPropertyValue]("line-box-contain"); } set lineBoxContain(value) { - if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7267, 29, "value"); this[S$.$setProperty]("line-box-contain", value, ""); } get lineBreak() { return this[S$.$getPropertyValue]("line-break"); } set lineBreak(value) { - if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7275, 24, "value"); this[S$.$setProperty]("line-break", value, ""); } get lineClamp() { return this[S$.$getPropertyValue]("line-clamp"); } set lineClamp(value) { - if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7283, 24, "value"); this[S$.$setProperty]("line-clamp", value, ""); } get lineHeight() { return this[S$.$getPropertyValue]("line-height"); } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7291, 25, "value"); this[S$.$setProperty]("line-height", value, ""); } get listStyle() { return this[S$.$getPropertyValue]("list-style"); } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7299, 24, "value"); this[S$.$setProperty]("list-style", value, ""); } get listStyleImage() { return this[S$.$getPropertyValue]("list-style-image"); } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7307, 29, "value"); this[S$.$setProperty]("list-style-image", value, ""); } get listStylePosition() { return this[S$.$getPropertyValue]("list-style-position"); } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7315, 32, "value"); this[S$.$setProperty]("list-style-position", value, ""); } get listStyleType() { return this[S$.$getPropertyValue]("list-style-type"); } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7323, 28, "value"); this[S$.$setProperty]("list-style-type", value, ""); } get locale() { return this[S$.$getPropertyValue]("locale"); } set locale(value) { - if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7331, 21, "value"); this[S$.$setProperty]("locale", value, ""); } get logicalHeight() { return this[S$.$getPropertyValue]("logical-height"); } set logicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7339, 28, "value"); this[S$.$setProperty]("logical-height", value, ""); } get logicalWidth() { return this[S$.$getPropertyValue]("logical-width"); } set logicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7347, 27, "value"); this[S$.$setProperty]("logical-width", value, ""); } get margin() { return this[S$.$getPropertyValue]("margin"); } set margin(value) { - if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7355, 21, "value"); this[S$.$setProperty]("margin", value, ""); } get marginAfter() { return this[S$.$getPropertyValue]("margin-after"); } set marginAfter(value) { - if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7363, 26, "value"); this[S$.$setProperty]("margin-after", value, ""); } get marginAfterCollapse() { return this[S$.$getPropertyValue]("margin-after-collapse"); } set marginAfterCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7371, 34, "value"); this[S$.$setProperty]("margin-after-collapse", value, ""); } get marginBefore() { return this[S$.$getPropertyValue]("margin-before"); } set marginBefore(value) { - if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7379, 27, "value"); this[S$.$setProperty]("margin-before", value, ""); } get marginBeforeCollapse() { return this[S$.$getPropertyValue]("margin-before-collapse"); } set marginBeforeCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7387, 35, "value"); this[S$.$setProperty]("margin-before-collapse", value, ""); } get marginBottom() { return this[S$.$getPropertyValue]("margin-bottom"); } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7395, 27, "value"); this[S$.$setProperty]("margin-bottom", value, ""); } get marginBottomCollapse() { return this[S$.$getPropertyValue]("margin-bottom-collapse"); } set marginBottomCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7403, 35, "value"); this[S$.$setProperty]("margin-bottom-collapse", value, ""); } get marginCollapse() { return this[S$.$getPropertyValue]("margin-collapse"); } set marginCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7411, 29, "value"); this[S$.$setProperty]("margin-collapse", value, ""); } get marginEnd() { return this[S$.$getPropertyValue]("margin-end"); } set marginEnd(value) { - if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7419, 24, "value"); this[S$.$setProperty]("margin-end", value, ""); } get marginLeft() { return this[S$.$getPropertyValue]("margin-left"); } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7427, 25, "value"); this[S$.$setProperty]("margin-left", value, ""); } get marginRight() { return this[S$.$getPropertyValue]("margin-right"); } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7435, 26, "value"); this[S$.$setProperty]("margin-right", value, ""); } get marginStart() { return this[S$.$getPropertyValue]("margin-start"); } set marginStart(value) { - if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7443, 26, "value"); this[S$.$setProperty]("margin-start", value, ""); } get marginTop() { return this[S$.$getPropertyValue]("margin-top"); } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7451, 24, "value"); this[S$.$setProperty]("margin-top", value, ""); } get marginTopCollapse() { return this[S$.$getPropertyValue]("margin-top-collapse"); } set marginTopCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7459, 32, "value"); this[S$.$setProperty]("margin-top-collapse", value, ""); } get mask() { return this[S$.$getPropertyValue]("mask"); } set mask(value) { - if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7467, 19, "value"); this[S$.$setProperty]("mask", value, ""); } get maskBoxImage() { return this[S$.$getPropertyValue]("mask-box-image"); } set maskBoxImage(value) { - if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7475, 27, "value"); this[S$.$setProperty]("mask-box-image", value, ""); } get maskBoxImageOutset() { return this[S$.$getPropertyValue]("mask-box-image-outset"); } set maskBoxImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7483, 33, "value"); this[S$.$setProperty]("mask-box-image-outset", value, ""); } get maskBoxImageRepeat() { return this[S$.$getPropertyValue]("mask-box-image-repeat"); } set maskBoxImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7491, 33, "value"); this[S$.$setProperty]("mask-box-image-repeat", value, ""); } get maskBoxImageSlice() { return this[S$.$getPropertyValue]("mask-box-image-slice"); } set maskBoxImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7499, 32, "value"); this[S$.$setProperty]("mask-box-image-slice", value, ""); } get maskBoxImageSource() { return this[S$.$getPropertyValue]("mask-box-image-source"); } set maskBoxImageSource(value) { - if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7507, 33, "value"); this[S$.$setProperty]("mask-box-image-source", value, ""); } get maskBoxImageWidth() { return this[S$.$getPropertyValue]("mask-box-image-width"); } set maskBoxImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7515, 32, "value"); this[S$.$setProperty]("mask-box-image-width", value, ""); } get maskClip() { return this[S$.$getPropertyValue]("mask-clip"); } set maskClip(value) { - if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7523, 23, "value"); this[S$.$setProperty]("mask-clip", value, ""); } get maskComposite() { return this[S$.$getPropertyValue]("mask-composite"); } set maskComposite(value) { - if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7531, 28, "value"); this[S$.$setProperty]("mask-composite", value, ""); } get maskImage() { return this[S$.$getPropertyValue]("mask-image"); } set maskImage(value) { - if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7539, 24, "value"); this[S$.$setProperty]("mask-image", value, ""); } get maskOrigin() { return this[S$.$getPropertyValue]("mask-origin"); } set maskOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7547, 25, "value"); this[S$.$setProperty]("mask-origin", value, ""); } get maskPosition() { return this[S$.$getPropertyValue]("mask-position"); } set maskPosition(value) { - if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7555, 27, "value"); this[S$.$setProperty]("mask-position", value, ""); } get maskPositionX() { return this[S$.$getPropertyValue]("mask-position-x"); } set maskPositionX(value) { - if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7563, 28, "value"); this[S$.$setProperty]("mask-position-x", value, ""); } get maskPositionY() { return this[S$.$getPropertyValue]("mask-position-y"); } set maskPositionY(value) { - if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7571, 28, "value"); this[S$.$setProperty]("mask-position-y", value, ""); } get maskRepeat() { return this[S$.$getPropertyValue]("mask-repeat"); } set maskRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7579, 25, "value"); this[S$.$setProperty]("mask-repeat", value, ""); } get maskRepeatX() { return this[S$.$getPropertyValue]("mask-repeat-x"); } set maskRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7587, 26, "value"); this[S$.$setProperty]("mask-repeat-x", value, ""); } get maskRepeatY() { return this[S$.$getPropertyValue]("mask-repeat-y"); } set maskRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7595, 26, "value"); this[S$.$setProperty]("mask-repeat-y", value, ""); } get maskSize() { return this[S$.$getPropertyValue]("mask-size"); } set maskSize(value) { - if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7603, 23, "value"); this[S$.$setProperty]("mask-size", value, ""); } get maskSourceType() { return this[S$.$getPropertyValue]("mask-source-type"); } set maskSourceType(value) { - if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7611, 29, "value"); this[S$.$setProperty]("mask-source-type", value, ""); } get maxHeight() { return this[S$.$getPropertyValue]("max-height"); } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7619, 24, "value"); this[S$.$setProperty]("max-height", value, ""); } get maxLogicalHeight() { return this[S$.$getPropertyValue]("max-logical-height"); } set maxLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7627, 31, "value"); this[S$.$setProperty]("max-logical-height", value, ""); } get maxLogicalWidth() { return this[S$.$getPropertyValue]("max-logical-width"); } set maxLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7635, 30, "value"); this[S$.$setProperty]("max-logical-width", value, ""); } get maxWidth() { return this[S$.$getPropertyValue]("max-width"); } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7643, 23, "value"); this[S$.$setProperty]("max-width", value, ""); } get maxZoom() { return this[S$.$getPropertyValue]("max-zoom"); } set maxZoom(value) { - if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7651, 22, "value"); this[S$.$setProperty]("max-zoom", value, ""); } get minHeight() { return this[S$.$getPropertyValue]("min-height"); } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7659, 24, "value"); this[S$.$setProperty]("min-height", value, ""); } get minLogicalHeight() { return this[S$.$getPropertyValue]("min-logical-height"); } set minLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7667, 31, "value"); this[S$.$setProperty]("min-logical-height", value, ""); } get minLogicalWidth() { return this[S$.$getPropertyValue]("min-logical-width"); } set minLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7675, 30, "value"); this[S$.$setProperty]("min-logical-width", value, ""); } get minWidth() { return this[S$.$getPropertyValue]("min-width"); } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7683, 23, "value"); this[S$.$setProperty]("min-width", value, ""); } get minZoom() { return this[S$.$getPropertyValue]("min-zoom"); } set minZoom(value) { - if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7691, 22, "value"); this[S$.$setProperty]("min-zoom", value, ""); } get mixBlendMode() { return this[S$.$getPropertyValue]("mix-blend-mode"); } set mixBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7699, 27, "value"); this[S$.$setProperty]("mix-blend-mode", value, ""); } get objectFit() { return this[S$.$getPropertyValue]("object-fit"); } set objectFit(value) { - if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7707, 24, "value"); this[S$.$setProperty]("object-fit", value, ""); } get objectPosition() { return this[S$.$getPropertyValue]("object-position"); } set objectPosition(value) { - if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7715, 29, "value"); this[S$.$setProperty]("object-position", value, ""); } get opacity() { return this[S$.$getPropertyValue]("opacity"); } set opacity(value) { - if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7723, 22, "value"); this[S$.$setProperty]("opacity", value, ""); } get order() { return this[S$.$getPropertyValue]("order"); } set order(value) { - if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + if (value == null) dart.nullFailed(I[149], 7731, 20, "value"); this[S$.$setProperty]("order", value, ""); } get orientation() { return this[S$.$getPropertyValue]("orientation"); } set orientation(value) { - if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7739, 26, "value"); this[S$.$setProperty]("orientation", value, ""); } get orphans() { return this[S$.$getPropertyValue]("orphans"); } set orphans(value) { - if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7747, 22, "value"); this[S$.$setProperty]("orphans", value, ""); } get outline() { return this[S$.$getPropertyValue]("outline"); } set outline(value) { - if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7755, 22, "value"); this[S$.$setProperty]("outline", value, ""); } get outlineColor() { return this[S$.$getPropertyValue]("outline-color"); } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7763, 27, "value"); this[S$.$setProperty]("outline-color", value, ""); } get outlineOffset() { return this[S$.$getPropertyValue]("outline-offset"); } set outlineOffset(value) { - if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7771, 28, "value"); this[S$.$setProperty]("outline-offset", value, ""); } get outlineStyle() { return this[S$.$getPropertyValue]("outline-style"); } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7779, 27, "value"); this[S$.$setProperty]("outline-style", value, ""); } get outlineWidth() { return this[S$.$getPropertyValue]("outline-width"); } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7787, 27, "value"); this[S$.$setProperty]("outline-width", value, ""); } get overflow() { return this[S$.$getPropertyValue]("overflow"); } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7795, 23, "value"); this[S$.$setProperty]("overflow", value, ""); } get overflowWrap() { return this[S$.$getPropertyValue]("overflow-wrap"); } set overflowWrap(value) { - if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7803, 27, "value"); this[S$.$setProperty]("overflow-wrap", value, ""); } get overflowX() { return this[S$.$getPropertyValue]("overflow-x"); } set overflowX(value) { - if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7811, 24, "value"); this[S$.$setProperty]("overflow-x", value, ""); } get overflowY() { return this[S$.$getPropertyValue]("overflow-y"); } set overflowY(value) { - if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7819, 24, "value"); this[S$.$setProperty]("overflow-y", value, ""); } get padding() { return this[S$.$getPropertyValue]("padding"); } set padding(value) { - if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7827, 22, "value"); this[S$.$setProperty]("padding", value, ""); } get paddingAfter() { return this[S$.$getPropertyValue]("padding-after"); } set paddingAfter(value) { - if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7835, 27, "value"); this[S$.$setProperty]("padding-after", value, ""); } get paddingBefore() { return this[S$.$getPropertyValue]("padding-before"); } set paddingBefore(value) { - if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7843, 28, "value"); this[S$.$setProperty]("padding-before", value, ""); } get paddingBottom() { return this[S$.$getPropertyValue]("padding-bottom"); } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7851, 28, "value"); this[S$.$setProperty]("padding-bottom", value, ""); } get paddingEnd() { return this[S$.$getPropertyValue]("padding-end"); } set paddingEnd(value) { - if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7859, 25, "value"); this[S$.$setProperty]("padding-end", value, ""); } get paddingLeft() { return this[S$.$getPropertyValue]("padding-left"); } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7867, 26, "value"); this[S$.$setProperty]("padding-left", value, ""); } get paddingRight() { return this[S$.$getPropertyValue]("padding-right"); } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7875, 27, "value"); this[S$.$setProperty]("padding-right", value, ""); } get paddingStart() { return this[S$.$getPropertyValue]("padding-start"); } set paddingStart(value) { - if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7883, 27, "value"); this[S$.$setProperty]("padding-start", value, ""); } get paddingTop() { return this[S$.$getPropertyValue]("padding-top"); } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7891, 25, "value"); this[S$.$setProperty]("padding-top", value, ""); } get page() { return this[S$.$getPropertyValue]("page"); } set page(value) { - if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7899, 19, "value"); this[S$.$setProperty]("page", value, ""); } get pageBreakAfter() { return this[S$.$getPropertyValue]("page-break-after"); } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7907, 29, "value"); this[S$.$setProperty]("page-break-after", value, ""); } get pageBreakBefore() { return this[S$.$getPropertyValue]("page-break-before"); } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7915, 30, "value"); this[S$.$setProperty]("page-break-before", value, ""); } get pageBreakInside() { return this[S$.$getPropertyValue]("page-break-inside"); } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7923, 30, "value"); this[S$.$setProperty]("page-break-inside", value, ""); } get perspective() { return this[S$.$getPropertyValue]("perspective"); } set perspective(value) { - if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7931, 26, "value"); this[S$.$setProperty]("perspective", value, ""); } get perspectiveOrigin() { return this[S$.$getPropertyValue]("perspective-origin"); } set perspectiveOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7939, 32, "value"); this[S$.$setProperty]("perspective-origin", value, ""); } get perspectiveOriginX() { return this[S$.$getPropertyValue]("perspective-origin-x"); } set perspectiveOriginX(value) { - if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7947, 33, "value"); this[S$.$setProperty]("perspective-origin-x", value, ""); } get perspectiveOriginY() { return this[S$.$getPropertyValue]("perspective-origin-y"); } set perspectiveOriginY(value) { - if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7955, 33, "value"); this[S$.$setProperty]("perspective-origin-y", value, ""); } get pointerEvents() { return this[S$.$getPropertyValue]("pointer-events"); } set pointerEvents(value) { - if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7963, 28, "value"); this[S$.$setProperty]("pointer-events", value, ""); } get position() { return this[S$.$getPropertyValue]("position"); } set position(value) { - if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7971, 23, "value"); this[S$.$setProperty]("position", value, ""); } get printColorAdjust() { return this[S$.$getPropertyValue]("print-color-adjust"); } set printColorAdjust(value) { - if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7979, 31, "value"); this[S$.$setProperty]("print-color-adjust", value, ""); } get quotes() { return this[S$.$getPropertyValue]("quotes"); } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7987, 21, "value"); this[S$.$setProperty]("quotes", value, ""); } get resize() { return this[S$.$getPropertyValue]("resize"); } set resize(value) { - if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7995, 21, "value"); this[S$.$setProperty]("resize", value, ""); } get right() { return this[S$.$getPropertyValue]("right"); } set right(value) { - if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8003, 20, "value"); this[S$.$setProperty]("right", value, ""); } + get rowGap() { + return this[S$.$getPropertyValue]("row-gap"); + } + set rowGap(value) { + if (value == null) dart.nullFailed(I[149], 8011, 21, "value"); + this[S$.$setProperty]("row-gap", value, ""); + } get rtlOrdering() { return this[S$.$getPropertyValue]("rtl-ordering"); } set rtlOrdering(value) { - if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8019, 26, "value"); this[S$.$setProperty]("rtl-ordering", value, ""); } get rubyPosition() { return this[S$.$getPropertyValue]("ruby-position"); } set rubyPosition(value) { - if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8027, 27, "value"); this[S$.$setProperty]("ruby-position", value, ""); } get scrollBehavior() { return this[S$.$getPropertyValue]("scroll-behavior"); } set scrollBehavior(value) { - if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8035, 29, "value"); this[S$.$setProperty]("scroll-behavior", value, ""); } get shapeImageThreshold() { return this[S$.$getPropertyValue]("shape-image-threshold"); } set shapeImageThreshold(value) { - if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8043, 34, "value"); this[S$.$setProperty]("shape-image-threshold", value, ""); } get shapeMargin() { return this[S$.$getPropertyValue]("shape-margin"); } set shapeMargin(value) { - if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8051, 26, "value"); this[S$.$setProperty]("shape-margin", value, ""); } get shapeOutside() { return this[S$.$getPropertyValue]("shape-outside"); } set shapeOutside(value) { - if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8059, 27, "value"); this[S$.$setProperty]("shape-outside", value, ""); } get size() { return this[S$.$getPropertyValue]("size"); } set size(value) { - if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8067, 19, "value"); this[S$.$setProperty]("size", value, ""); } get speak() { return this[S$.$getPropertyValue]("speak"); } set speak(value) { - if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8075, 20, "value"); this[S$.$setProperty]("speak", value, ""); } get src() { return this[S$.$getPropertyValue]("src"); } set src(value) { - if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8083, 18, "value"); this[S$.$setProperty]("src", value, ""); } get tabSize() { return this[S$.$getPropertyValue]("tab-size"); } set tabSize(value) { - if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + if (value == null) dart.nullFailed(I[149], 8091, 22, "value"); this[S$.$setProperty]("tab-size", value, ""); } get tableLayout() { return this[S$.$getPropertyValue]("table-layout"); } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8099, 26, "value"); this[S$.$setProperty]("table-layout", value, ""); } get tapHighlightColor() { return this[S$.$getPropertyValue]("tap-highlight-color"); } set tapHighlightColor(value) { - if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8107, 32, "value"); this[S$.$setProperty]("tap-highlight-color", value, ""); } get textAlign() { return this[S$.$getPropertyValue]("text-align"); } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8115, 24, "value"); this[S$.$setProperty]("text-align", value, ""); } get textAlignLast() { return this[S$.$getPropertyValue]("text-align-last"); } set textAlignLast(value) { - if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8123, 28, "value"); this[S$.$setProperty]("text-align-last", value, ""); } get textCombine() { return this[S$.$getPropertyValue]("text-combine"); } set textCombine(value) { - if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8131, 26, "value"); this[S$.$setProperty]("text-combine", value, ""); } get textDecoration() { return this[S$.$getPropertyValue]("text-decoration"); } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8139, 29, "value"); this[S$.$setProperty]("text-decoration", value, ""); } get textDecorationColor() { return this[S$.$getPropertyValue]("text-decoration-color"); } set textDecorationColor(value) { - if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8147, 34, "value"); this[S$.$setProperty]("text-decoration-color", value, ""); } get textDecorationLine() { return this[S$.$getPropertyValue]("text-decoration-line"); } set textDecorationLine(value) { - if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8155, 33, "value"); this[S$.$setProperty]("text-decoration-line", value, ""); } get textDecorationStyle() { return this[S$.$getPropertyValue]("text-decoration-style"); } set textDecorationStyle(value) { - if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8163, 34, "value"); this[S$.$setProperty]("text-decoration-style", value, ""); } get textDecorationsInEffect() { return this[S$.$getPropertyValue]("text-decorations-in-effect"); } set textDecorationsInEffect(value) { - if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + if (value == null) dart.nullFailed(I[149], 8172, 38, "value"); this[S$.$setProperty]("text-decorations-in-effect", value, ""); } get textEmphasis() { return this[S$.$getPropertyValue]("text-emphasis"); } set textEmphasis(value) { - if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8180, 27, "value"); this[S$.$setProperty]("text-emphasis", value, ""); } get textEmphasisColor() { return this[S$.$getPropertyValue]("text-emphasis-color"); } set textEmphasisColor(value) { - if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8188, 32, "value"); this[S$.$setProperty]("text-emphasis-color", value, ""); } get textEmphasisPosition() { return this[S$.$getPropertyValue]("text-emphasis-position"); } set textEmphasisPosition(value) { - if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8196, 35, "value"); this[S$.$setProperty]("text-emphasis-position", value, ""); } get textEmphasisStyle() { return this[S$.$getPropertyValue]("text-emphasis-style"); } set textEmphasisStyle(value) { - if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8204, 32, "value"); this[S$.$setProperty]("text-emphasis-style", value, ""); } get textFillColor() { return this[S$.$getPropertyValue]("text-fill-color"); } set textFillColor(value) { - if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8212, 28, "value"); this[S$.$setProperty]("text-fill-color", value, ""); } get textIndent() { return this[S$.$getPropertyValue]("text-indent"); } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8220, 25, "value"); this[S$.$setProperty]("text-indent", value, ""); } get textJustify() { return this[S$.$getPropertyValue]("text-justify"); } set textJustify(value) { - if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8228, 26, "value"); this[S$.$setProperty]("text-justify", value, ""); } get textLineThroughColor() { return this[S$.$getPropertyValue]("text-line-through-color"); } set textLineThroughColor(value) { - if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8237, 35, "value"); this[S$.$setProperty]("text-line-through-color", value, ""); } get textLineThroughMode() { return this[S$.$getPropertyValue]("text-line-through-mode"); } set textLineThroughMode(value) { - if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8245, 34, "value"); this[S$.$setProperty]("text-line-through-mode", value, ""); } get textLineThroughStyle() { return this[S$.$getPropertyValue]("text-line-through-style"); } set textLineThroughStyle(value) { - if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8254, 35, "value"); this[S$.$setProperty]("text-line-through-style", value, ""); } get textLineThroughWidth() { return this[S$.$getPropertyValue]("text-line-through-width"); } set textLineThroughWidth(value) { - if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8263, 35, "value"); this[S$.$setProperty]("text-line-through-width", value, ""); } get textOrientation() { return this[S$.$getPropertyValue]("text-orientation"); } set textOrientation(value) { - if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8271, 30, "value"); this[S$.$setProperty]("text-orientation", value, ""); } get textOverflow() { return this[S$.$getPropertyValue]("text-overflow"); } set textOverflow(value) { - if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8279, 27, "value"); this[S$.$setProperty]("text-overflow", value, ""); } get textOverlineColor() { return this[S$.$getPropertyValue]("text-overline-color"); } set textOverlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8287, 32, "value"); this[S$.$setProperty]("text-overline-color", value, ""); } get textOverlineMode() { return this[S$.$getPropertyValue]("text-overline-mode"); } set textOverlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8295, 31, "value"); this[S$.$setProperty]("text-overline-mode", value, ""); } get textOverlineStyle() { return this[S$.$getPropertyValue]("text-overline-style"); } set textOverlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8303, 32, "value"); this[S$.$setProperty]("text-overline-style", value, ""); } get textOverlineWidth() { return this[S$.$getPropertyValue]("text-overline-width"); } set textOverlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8311, 32, "value"); this[S$.$setProperty]("text-overline-width", value, ""); } get textRendering() { return this[S$.$getPropertyValue]("text-rendering"); } set textRendering(value) { - if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8319, 28, "value"); this[S$.$setProperty]("text-rendering", value, ""); } get textSecurity() { return this[S$.$getPropertyValue]("text-security"); } set textSecurity(value) { - if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8327, 27, "value"); this[S$.$setProperty]("text-security", value, ""); } get textShadow() { return this[S$.$getPropertyValue]("text-shadow"); } set textShadow(value) { - if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8335, 25, "value"); this[S$.$setProperty]("text-shadow", value, ""); } get textStroke() { return this[S$.$getPropertyValue]("text-stroke"); } set textStroke(value) { - if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8343, 25, "value"); this[S$.$setProperty]("text-stroke", value, ""); } get textStrokeColor() { return this[S$.$getPropertyValue]("text-stroke-color"); } set textStrokeColor(value) { - if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8351, 30, "value"); this[S$.$setProperty]("text-stroke-color", value, ""); } get textStrokeWidth() { return this[S$.$getPropertyValue]("text-stroke-width"); } set textStrokeWidth(value) { - if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8359, 30, "value"); this[S$.$setProperty]("text-stroke-width", value, ""); } get textTransform() { return this[S$.$getPropertyValue]("text-transform"); } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8367, 28, "value"); this[S$.$setProperty]("text-transform", value, ""); } get textUnderlineColor() { return this[S$.$getPropertyValue]("text-underline-color"); } set textUnderlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8375, 33, "value"); this[S$.$setProperty]("text-underline-color", value, ""); } get textUnderlineMode() { return this[S$.$getPropertyValue]("text-underline-mode"); } set textUnderlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8383, 32, "value"); this[S$.$setProperty]("text-underline-mode", value, ""); } get textUnderlinePosition() { return this[S$.$getPropertyValue]("text-underline-position"); } set textUnderlinePosition(value) { - if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + if (value == null) dart.nullFailed(I[149], 8392, 36, "value"); this[S$.$setProperty]("text-underline-position", value, ""); } get textUnderlineStyle() { return this[S$.$getPropertyValue]("text-underline-style"); } set textUnderlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8400, 33, "value"); this[S$.$setProperty]("text-underline-style", value, ""); } get textUnderlineWidth() { return this[S$.$getPropertyValue]("text-underline-width"); } set textUnderlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8408, 33, "value"); this[S$.$setProperty]("text-underline-width", value, ""); } get top() { return this[S$.$getPropertyValue]("top"); } set top(value) { - if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8416, 18, "value"); this[S$.$setProperty]("top", value, ""); } get touchAction() { return this[S$.$getPropertyValue]("touch-action"); } set touchAction(value) { - if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8424, 26, "value"); this[S$.$setProperty]("touch-action", value, ""); } get touchActionDelay() { return this[S$.$getPropertyValue]("touch-action-delay"); } set touchActionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8432, 31, "value"); this[S$.$setProperty]("touch-action-delay", value, ""); } get transform() { return this[S$.$getPropertyValue]("transform"); } set transform(value) { - if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8440, 24, "value"); this[S$.$setProperty]("transform", value, ""); } get transformOrigin() { return this[S$.$getPropertyValue]("transform-origin"); } set transformOrigin(value) { - if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8448, 30, "value"); this[S$.$setProperty]("transform-origin", value, ""); } get transformOriginX() { return this[S$.$getPropertyValue]("transform-origin-x"); } set transformOriginX(value) { - if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8456, 31, "value"); this[S$.$setProperty]("transform-origin-x", value, ""); } get transformOriginY() { return this[S$.$getPropertyValue]("transform-origin-y"); } set transformOriginY(value) { - if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8464, 31, "value"); this[S$.$setProperty]("transform-origin-y", value, ""); } get transformOriginZ() { return this[S$.$getPropertyValue]("transform-origin-z"); } set transformOriginZ(value) { - if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8472, 31, "value"); this[S$.$setProperty]("transform-origin-z", value, ""); } get transformStyle() { return this[S$.$getPropertyValue]("transform-style"); } set transformStyle(value) { - if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8480, 29, "value"); this[S$.$setProperty]("transform-style", value, ""); } get transition() { return this[S$.$getPropertyValue]("transition"); } set transition(value) { - if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8496, 25, "value"); this[S$.$setProperty]("transition", value, ""); } get transitionDelay() { return this[S$.$getPropertyValue]("transition-delay"); } set transitionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8504, 30, "value"); this[S$.$setProperty]("transition-delay", value, ""); } get transitionDuration() { return this[S$.$getPropertyValue]("transition-duration"); } set transitionDuration(value) { - if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8512, 33, "value"); this[S$.$setProperty]("transition-duration", value, ""); } get transitionProperty() { return this[S$.$getPropertyValue]("transition-property"); } set transitionProperty(value) { - if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8520, 33, "value"); this[S$.$setProperty]("transition-property", value, ""); } get transitionTimingFunction() { return this[S$.$getPropertyValue]("transition-timing-function"); } set transitionTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + if (value == null) dart.nullFailed(I[149], 8529, 39, "value"); this[S$.$setProperty]("transition-timing-function", value, ""); } get unicodeBidi() { return this[S$.$getPropertyValue]("unicode-bidi"); } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8537, 26, "value"); this[S$.$setProperty]("unicode-bidi", value, ""); } get unicodeRange() { return this[S$.$getPropertyValue]("unicode-range"); } set unicodeRange(value) { - if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8545, 27, "value"); this[S$.$setProperty]("unicode-range", value, ""); } get userDrag() { return this[S$.$getPropertyValue]("user-drag"); } set userDrag(value) { - if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8553, 23, "value"); this[S$.$setProperty]("user-drag", value, ""); } get userModify() { return this[S$.$getPropertyValue]("user-modify"); } set userModify(value) { - if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8561, 25, "value"); this[S$.$setProperty]("user-modify", value, ""); } get userSelect() { return this[S$.$getPropertyValue]("user-select"); } set userSelect(value) { - if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8569, 25, "value"); this[S$.$setProperty]("user-select", value, ""); } get userZoom() { return this[S$.$getPropertyValue]("user-zoom"); } set userZoom(value) { - if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8577, 23, "value"); this[S$.$setProperty]("user-zoom", value, ""); } get verticalAlign() { return this[S$.$getPropertyValue]("vertical-align"); } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8585, 28, "value"); this[S$.$setProperty]("vertical-align", value, ""); } get visibility() { return this[S$.$getPropertyValue]("visibility"); } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8593, 25, "value"); this[S$.$setProperty]("visibility", value, ""); } get whiteSpace() { return this[S$.$getPropertyValue]("white-space"); } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8601, 25, "value"); this[S$.$setProperty]("white-space", value, ""); } get widows() { return this[S$.$getPropertyValue]("widows"); } set widows(value) { - if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8609, 21, "value"); this[S$.$setProperty]("widows", value, ""); } get width() { return this[S$.$getPropertyValue]("width"); } set width(value) { - if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8617, 20, "value"); this[S$.$setProperty]("width", value, ""); } get willChange() { return this[S$.$getPropertyValue]("will-change"); } set willChange(value) { - if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8625, 25, "value"); this[S$.$setProperty]("will-change", value, ""); } get wordBreak() { return this[S$.$getPropertyValue]("word-break"); } set wordBreak(value) { - if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8633, 24, "value"); this[S$.$setProperty]("word-break", value, ""); } get wordSpacing() { return this[S$.$getPropertyValue]("word-spacing"); } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8641, 26, "value"); this[S$.$setProperty]("word-spacing", value, ""); } get wordWrap() { return this[S$.$getPropertyValue]("word-wrap"); } set wordWrap(value) { - if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8649, 23, "value"); this[S$.$setProperty]("word-wrap", value, ""); } get wrapFlow() { return this[S$.$getPropertyValue]("wrap-flow"); } set wrapFlow(value) { - if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8657, 23, "value"); this[S$.$setProperty]("wrap-flow", value, ""); } get wrapThrough() { return this[S$.$getPropertyValue]("wrap-through"); } set wrapThrough(value) { - if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8665, 26, "value"); this[S$.$setProperty]("wrap-through", value, ""); } get writingMode() { return this[S$.$getPropertyValue]("writing-mode"); } set writingMode(value) { - if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8673, 26, "value"); this[S$.$setProperty]("writing-mode", value, ""); } get zIndex() { return this[S$.$getPropertyValue]("z-index"); } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8681, 21, "value"); this[S$.$setProperty]("z-index", value, ""); } get zoom() { return this[S$.$getPropertyValue]("zoom"); } set zoom(value) { - if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8689, 19, "value"); this[S$.$setProperty]("zoom", value, ""); } }; @@ -71059,13 +77361,13 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71091,21 +77393,21 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71254,6 +77556,8 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -71488,6 +77792,8 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -71746,13 +78052,13 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71778,21 +78084,21 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71941,6 +78247,8 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -72175,6 +78483,8 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -72342,7 +78652,7 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ zoom: core.String, [S$0.$zoom]: core.String })); -dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); +dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'alignContent', 'alignItems', @@ -72486,6 +78796,7 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'fontVariant', 'fontVariantLigatures', 'fontWeight', + 'gap', 'grid', 'gridArea', 'gridAutoColumns', @@ -72603,6 +78914,7 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'quotes', 'resize', 'right', + 'rowGap', 'rtlOrdering', 'rubyPosition', 'scrollBehavior', @@ -72687,43 +78999,50 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'zIndex', 'zoom' ]); -const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; -(Interceptor_CssStyleDeclarationBase$36.new = function() { - Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); -}).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; -dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); -html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { +const JavaScriptObject_CssStyleDeclarationBase$36 = class JavaScriptObject_CssStyleDeclarationBase extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_CssStyleDeclarationBase$36.new = function() { + JavaScriptObject_CssStyleDeclarationBase$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(JavaScriptObject_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$.CssStyleDeclaration = class CssStyleDeclaration extends JavaScriptObject_CssStyleDeclarationBase$36 { static new() { return html$.CssStyleDeclaration.css(""); } + static ['_#new#tearOff']() { + return html$.CssStyleDeclaration.new(); + } static css(css) { - if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); let style = html$.DivElement.new().style; style.cssText = css; return style; } + static ['_#css#tearOff'](css) { + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); + return html$.CssStyleDeclaration.css(css); + } [S$.$getPropertyValue](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3978, 34, "propertyName"); return this[S$._getPropertyValueHelper](propertyName); } [S$._getPropertyValueHelper](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3982, 41, "propertyName"); return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); } [S$.$supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3994, 32, "propertyName"); return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); } [S$._supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3999, 33, "propertyName"); return propertyName in this; } [S$.$setProperty](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4003, 27, "propertyName"); return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); } [S$._browserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4008, 38, "propertyName"); let name = html$.CssStyleDeclaration._readCache(propertyName); if (typeof name == 'string') return name; name = this[S$._supportedBrowserPropertyName](propertyName); @@ -72731,7 +79050,7 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty return name; } [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { return propertyName; } @@ -72742,23 +79061,23 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty return propertyName; } static _readCache(key) { - if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + if (key == null) dart.nullFailed(I[149], 4029, 36, "key"); return html$.CssStyleDeclaration._propertyCache[key]; } static _writeCache(key, value) { - if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); - if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + if (key == null) dart.nullFailed(I[149], 4031, 34, "key"); + if (value == null) dart.nullFailed(I[149], 4031, 46, "value"); html$.CssStyleDeclaration._propertyCache[key] = value; } static _camelCase(hyphenated) { - if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + if (hyphenated == null) dart.nullFailed(I[149], 4035, 35, "hyphenated"); let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { return letter.toUpperCase(); }); } [S$._setPropertyHelper](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4044, 34, "propertyName"); if (value == null) value = ""; if (priority == null) priority = ""; this.setProperty(propertyName, value, priority); @@ -72766,6 +79085,9 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty static get supportsTransitions() { return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); } + static ['_#_#tearOff']() { + return html$.CssStyleDeclaration.__(); + } get [S$.$cssFloat]() { return this.cssFloat; } @@ -72904,10 +79226,10 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty set [S$._borderBottomColor](value) { this.borderBottomColor = value; } - get [S$.$borderBottomStyle]() { + get [S$0.$borderBottomStyle]() { return this[S$._borderBottomStyle]; } - set [S$.$borderBottomStyle](value) { + set [S$0.$borderBottomStyle](value) { this[S$._borderBottomStyle] = value == null ? "" : value; } get [S$._borderBottomStyle]() { @@ -72916,136 +79238,136 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty set [S$._borderBottomStyle](value) { this.borderBottomStyle = value; } - get [S$.$borderBottomWidth]() { - return this[S$._borderBottomWidth]; + get [S$0.$borderBottomWidth]() { + return this[S$0._borderBottomWidth]; } - set [S$.$borderBottomWidth](value) { - this[S$._borderBottomWidth] = value == null ? "" : value; + set [S$0.$borderBottomWidth](value) { + this[S$0._borderBottomWidth] = value == null ? "" : value; } - get [S$._borderBottomWidth]() { + get [S$0._borderBottomWidth]() { return this.borderBottomWidth; } - set [S$._borderBottomWidth](value) { + set [S$0._borderBottomWidth](value) { this.borderBottomWidth = value; } - get [S$.$borderCollapse]() { - return this[S$._borderCollapse]; + get [S$0.$borderCollapse]() { + return this[S$0._borderCollapse]; } - set [S$.$borderCollapse](value) { - this[S$._borderCollapse] = value == null ? "" : value; + set [S$0.$borderCollapse](value) { + this[S$0._borderCollapse] = value == null ? "" : value; } - get [S$._borderCollapse]() { + get [S$0._borderCollapse]() { return this.borderCollapse; } - set [S$._borderCollapse](value) { + set [S$0._borderCollapse](value) { this.borderCollapse = value; } - get [S$.$borderColor]() { - return this[S$._borderColor]; + get [S$0.$borderColor]() { + return this[S$0._borderColor]; } - set [S$.$borderColor](value) { - this[S$._borderColor] = value == null ? "" : value; + set [S$0.$borderColor](value) { + this[S$0._borderColor] = value == null ? "" : value; } - get [S$._borderColor]() { + get [S$0._borderColor]() { return this.borderColor; } - set [S$._borderColor](value) { + set [S$0._borderColor](value) { this.borderColor = value; } - get [S$.$borderLeft]() { - return this[S$._borderLeft]; + get [S$0.$borderLeft]() { + return this[S$0._borderLeft]; } - set [S$.$borderLeft](value) { - this[S$._borderLeft] = value == null ? "" : value; + set [S$0.$borderLeft](value) { + this[S$0._borderLeft] = value == null ? "" : value; } - get [S$._borderLeft]() { + get [S$0._borderLeft]() { return this.borderLeft; } - set [S$._borderLeft](value) { + set [S$0._borderLeft](value) { this.borderLeft = value; } - get [S$.$borderLeftColor]() { - return this[S$._borderLeftColor]; + get [S$0.$borderLeftColor]() { + return this[S$0._borderLeftColor]; } - set [S$.$borderLeftColor](value) { - this[S$._borderLeftColor] = value == null ? "" : value; + set [S$0.$borderLeftColor](value) { + this[S$0._borderLeftColor] = value == null ? "" : value; } - get [S$._borderLeftColor]() { + get [S$0._borderLeftColor]() { return this.borderLeftColor; } - set [S$._borderLeftColor](value) { + set [S$0._borderLeftColor](value) { this.borderLeftColor = value; } - get [S$.$borderLeftStyle]() { - return this[S$._borderLeftStyle]; + get [S$0.$borderLeftStyle]() { + return this[S$0._borderLeftStyle]; } - set [S$.$borderLeftStyle](value) { - this[S$._borderLeftStyle] = value == null ? "" : value; + set [S$0.$borderLeftStyle](value) { + this[S$0._borderLeftStyle] = value == null ? "" : value; } - get [S$._borderLeftStyle]() { + get [S$0._borderLeftStyle]() { return this.borderLeftStyle; } - set [S$._borderLeftStyle](value) { + set [S$0._borderLeftStyle](value) { this.borderLeftStyle = value; } - get [S$.$borderLeftWidth]() { - return this[S$._borderLeftWidth]; + get [S$0.$borderLeftWidth]() { + return this[S$0._borderLeftWidth]; } - set [S$.$borderLeftWidth](value) { - this[S$._borderLeftWidth] = value == null ? "" : value; + set [S$0.$borderLeftWidth](value) { + this[S$0._borderLeftWidth] = value == null ? "" : value; } - get [S$._borderLeftWidth]() { + get [S$0._borderLeftWidth]() { return this.borderLeftWidth; } - set [S$._borderLeftWidth](value) { + set [S$0._borderLeftWidth](value) { this.borderLeftWidth = value; } - get [S$.$borderRight]() { - return this[S$._borderRight]; + get [S$0.$borderRight]() { + return this[S$0._borderRight]; } - set [S$.$borderRight](value) { - this[S$._borderRight] = value == null ? "" : value; + set [S$0.$borderRight](value) { + this[S$0._borderRight] = value == null ? "" : value; } - get [S$._borderRight]() { + get [S$0._borderRight]() { return this.borderRight; } - set [S$._borderRight](value) { + set [S$0._borderRight](value) { this.borderRight = value; } - get [S$.$borderRightColor]() { - return this[S$._borderRightColor]; + get [S$0.$borderRightColor]() { + return this[S$0._borderRightColor]; } - set [S$.$borderRightColor](value) { - this[S$._borderRightColor] = value == null ? "" : value; + set [S$0.$borderRightColor](value) { + this[S$0._borderRightColor] = value == null ? "" : value; } - get [S$._borderRightColor]() { + get [S$0._borderRightColor]() { return this.borderRightColor; } - set [S$._borderRightColor](value) { + set [S$0._borderRightColor](value) { this.borderRightColor = value; } - get [S$.$borderRightStyle]() { - return this[S$._borderRightStyle]; + get [S$0.$borderRightStyle]() { + return this[S$0._borderRightStyle]; } - set [S$.$borderRightStyle](value) { - this[S$._borderRightStyle] = value == null ? "" : value; + set [S$0.$borderRightStyle](value) { + this[S$0._borderRightStyle] = value == null ? "" : value; } - get [S$._borderRightStyle]() { + get [S$0._borderRightStyle]() { return this.borderRightStyle; } - set [S$._borderRightStyle](value) { + set [S$0._borderRightStyle](value) { this.borderRightStyle = value; } get [S$0.$borderRightWidth]() { - return this[S$._borderRightWidth]; + return this[S$0._borderRightWidth]; } set [S$0.$borderRightWidth](value) { - this[S$._borderRightWidth] = value == null ? "" : value; + this[S$0._borderRightWidth] = value == null ? "" : value; } - get [S$._borderRightWidth]() { + get [S$0._borderRightWidth]() { return this.borderRightWidth; } - set [S$._borderRightWidth](value) { + set [S$0._borderRightWidth](value) { this.borderRightWidth = value; } get [S$0.$borderSpacing]() { @@ -73894,6 +80216,7 @@ dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ [S$.$item]: dart.fnType(core.String, [core.int]), [S$.$removeProperty]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(html$.CssStyleDeclaration, () => ['new', 'css', '_readCache', '_writeCache', '_camelCase', '__']); dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), [S$.$cssFloat]: dart.nullable(core.String), @@ -73910,17 +80233,17 @@ dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ [S$._borderBottom]: core.String, [S$._borderBottomColor]: core.String, [S$._borderBottomStyle]: core.String, - [S$._borderBottomWidth]: core.String, - [S$._borderCollapse]: core.String, - [S$._borderColor]: core.String, - [S$._borderLeft]: core.String, - [S$._borderLeftColor]: core.String, - [S$._borderLeftStyle]: core.String, - [S$._borderLeftWidth]: core.String, - [S$._borderRight]: core.String, - [S$._borderRightColor]: core.String, - [S$._borderRightStyle]: core.String, - [S$._borderRightWidth]: core.String, + [S$0._borderBottomWidth]: core.String, + [S$0._borderCollapse]: core.String, + [S$0._borderColor]: core.String, + [S$0._borderLeft]: core.String, + [S$0._borderLeftColor]: core.String, + [S$0._borderLeftStyle]: core.String, + [S$0._borderLeftWidth]: core.String, + [S$0._borderRight]: core.String, + [S$0._borderRightColor]: core.String, + [S$0._borderRightStyle]: core.String, + [S$0._borderRightWidth]: core.String, [S$0._borderSpacing]: core.String, [S$0._borderStyle]: core.String, [S$0._borderTop]: core.String, @@ -74013,30 +80336,30 @@ dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ [S$._borderBottom]: core.String, [S$.$borderBottomColor]: dart.nullable(core.String), [S$._borderBottomColor]: core.String, - [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$0.$borderBottomStyle]: dart.nullable(core.String), [S$._borderBottomStyle]: core.String, - [S$.$borderBottomWidth]: dart.nullable(core.String), - [S$._borderBottomWidth]: core.String, - [S$.$borderCollapse]: dart.nullable(core.String), - [S$._borderCollapse]: core.String, - [S$.$borderColor]: dart.nullable(core.String), - [S$._borderColor]: core.String, - [S$.$borderLeft]: dart.nullable(core.String), - [S$._borderLeft]: core.String, - [S$.$borderLeftColor]: dart.nullable(core.String), - [S$._borderLeftColor]: core.String, - [S$.$borderLeftStyle]: dart.nullable(core.String), - [S$._borderLeftStyle]: core.String, - [S$.$borderLeftWidth]: dart.nullable(core.String), - [S$._borderLeftWidth]: core.String, - [S$.$borderRight]: dart.nullable(core.String), - [S$._borderRight]: core.String, - [S$.$borderRightColor]: dart.nullable(core.String), - [S$._borderRightColor]: core.String, - [S$.$borderRightStyle]: dart.nullable(core.String), - [S$._borderRightStyle]: core.String, + [S$0.$borderBottomWidth]: dart.nullable(core.String), + [S$0._borderBottomWidth]: core.String, + [S$0.$borderCollapse]: dart.nullable(core.String), + [S$0._borderCollapse]: core.String, + [S$0.$borderColor]: dart.nullable(core.String), + [S$0._borderColor]: core.String, + [S$0.$borderLeft]: dart.nullable(core.String), + [S$0._borderLeft]: core.String, + [S$0.$borderLeftColor]: dart.nullable(core.String), + [S$0._borderLeftColor]: core.String, + [S$0.$borderLeftStyle]: dart.nullable(core.String), + [S$0._borderLeftStyle]: core.String, + [S$0.$borderLeftWidth]: dart.nullable(core.String), + [S$0._borderLeftWidth]: core.String, + [S$0.$borderRight]: dart.nullable(core.String), + [S$0._borderRight]: core.String, + [S$0.$borderRightColor]: dart.nullable(core.String), + [S$0._borderRightColor]: core.String, + [S$0.$borderRightStyle]: dart.nullable(core.String), + [S$0._borderRightStyle]: core.String, [S$0.$borderRightWidth]: dart.nullable(core.String), - [S$._borderRightWidth]: core.String, + [S$0._borderRightWidth]: core.String, [S$0.$borderSpacing]: dart.nullable(core.String), [S$0._borderSpacing]: core.String, [S$0.$borderStyle]: dart.nullable(core.String), @@ -74176,7 +80499,9 @@ dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ [S$0.$zIndex]: dart.nullable(core.String), [S$0._zIndex]: core.String })); -dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); +dart.setStaticGetterSignature(html$.CssStyleDeclaration, () => ['supportsTransitions']); +dart.setLibraryUri(html$.CssStyleDeclaration, I[150]); +dart.setStaticFieldSignature(html$.CssStyleDeclaration, () => ['_propertyCache']); dart.defineLazy(html$.CssStyleDeclaration, { /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { return {}; @@ -74190,649 +80515,653 @@ const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase e }).prototype = Object_CssStyleDeclarationBase$36.prototype; dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + static ['_#new#tearOff'](_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); + return new html$._CssStyleDeclarationSet.new(_elementIterable); + } getPropertyValue(propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); - return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + if (propertyName == null) dart.nullFailed(I[149], 5443, 34, "propertyName"); + return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); } setProperty(propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); - dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + if (propertyName == null) dart.nullFailed(I[149], 5447, 27, "propertyName"); + this[S$0._elementCssStyleDeclarationSetIterable][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5449, 19, "e"); return e[S$.$setProperty](propertyName, value, priority); }, T$0.CssStyleDeclarationTovoid())); } [S$0._setAll](propertyName, value) { - if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 5452, 23, "propertyName"); value = value == null ? "" : value; for (let element of this[S$0._elementIterable]) { element.style[propertyName] = value; } } set background(value) { - if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5460, 25, "value"); this[S$0._setAll]("background", value); } get background() { return super.background; } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + if (value == null) dart.nullFailed(I[149], 5465, 35, "value"); this[S$0._setAll]("backgroundAttachment", value); } get backgroundAttachment() { return super.backgroundAttachment; } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5470, 30, "value"); this[S$0._setAll]("backgroundColor", value); } get backgroundColor() { return super.backgroundColor; } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5475, 30, "value"); this[S$0._setAll]("backgroundImage", value); } get backgroundImage() { return super.backgroundImage; } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5480, 33, "value"); this[S$0._setAll]("backgroundPosition", value); } get backgroundPosition() { return super.backgroundPosition; } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5485, 31, "value"); this[S$0._setAll]("backgroundRepeat", value); } get backgroundRepeat() { return super.backgroundRepeat; } set border(value) { - if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5490, 21, "value"); this[S$0._setAll]("border", value); } get border() { return super.border; } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5495, 27, "value"); this[S$0._setAll]("borderBottom", value); } get borderBottom() { return super.borderBottom; } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5500, 32, "value"); this[S$0._setAll]("borderBottomColor", value); } get borderBottomColor() { return super.borderBottomColor; } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5505, 32, "value"); this[S$0._setAll]("borderBottomStyle", value); } get borderBottomStyle() { return super.borderBottomStyle; } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5510, 32, "value"); this[S$0._setAll]("borderBottomWidth", value); } get borderBottomWidth() { return super.borderBottomWidth; } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5515, 29, "value"); this[S$0._setAll]("borderCollapse", value); } get borderCollapse() { return super.borderCollapse; } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5520, 26, "value"); this[S$0._setAll]("borderColor", value); } get borderColor() { return super.borderColor; } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5525, 25, "value"); this[S$0._setAll]("borderLeft", value); } get borderLeft() { return super.borderLeft; } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5530, 30, "value"); this[S$0._setAll]("borderLeftColor", value); } get borderLeftColor() { return super.borderLeftColor; } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5535, 30, "value"); this[S$0._setAll]("borderLeftStyle", value); } get borderLeftStyle() { return super.borderLeftStyle; } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5540, 30, "value"); this[S$0._setAll]("borderLeftWidth", value); } get borderLeftWidth() { return super.borderLeftWidth; } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5545, 26, "value"); this[S$0._setAll]("borderRight", value); } get borderRight() { return super.borderRight; } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5550, 31, "value"); this[S$0._setAll]("borderRightColor", value); } get borderRightColor() { return super.borderRightColor; } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5555, 31, "value"); this[S$0._setAll]("borderRightStyle", value); } get borderRightStyle() { return super.borderRightStyle; } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5560, 31, "value"); this[S$0._setAll]("borderRightWidth", value); } get borderRightWidth() { return super.borderRightWidth; } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5565, 28, "value"); this[S$0._setAll]("borderSpacing", value); } get borderSpacing() { return super.borderSpacing; } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5570, 26, "value"); this[S$0._setAll]("borderStyle", value); } get borderStyle() { return super.borderStyle; } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5575, 24, "value"); this[S$0._setAll]("borderTop", value); } get borderTop() { return super.borderTop; } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5580, 29, "value"); this[S$0._setAll]("borderTopColor", value); } get borderTopColor() { return super.borderTopColor; } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5585, 29, "value"); this[S$0._setAll]("borderTopStyle", value); } get borderTopStyle() { return super.borderTopStyle; } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5590, 29, "value"); this[S$0._setAll]("borderTopWidth", value); } get borderTopWidth() { return super.borderTopWidth; } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5595, 26, "value"); this[S$0._setAll]("borderWidth", value); } get borderWidth() { return super.borderWidth; } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5600, 21, "value"); this[S$0._setAll]("bottom", value); } get bottom() { return super.bottom; } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5605, 26, "value"); this[S$0._setAll]("captionSide", value); } get captionSide() { return super.captionSide; } set clear(value) { - if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5610, 20, "value"); this[S$0._setAll]("clear", value); } get clear() { return super.clear; } set clip(value) { - if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5615, 19, "value"); this[S$0._setAll]("clip", value); } get clip() { return super.clip; } set color(value) { - if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5620, 20, "value"); this[S$0._setAll]("color", value); } get color() { return super.color; } set content(value) { - if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5625, 22, "value"); this[S$0._setAll]("content", value); } get content() { return super.content; } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5630, 21, "value"); this[S$0._setAll]("cursor", value); } get cursor() { return super.cursor; } set direction(value) { - if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5635, 24, "value"); this[S$0._setAll]("direction", value); } get direction() { return super.direction; } set display(value) { - if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5640, 22, "value"); this[S$0._setAll]("display", value); } get display() { return super.display; } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5645, 25, "value"); this[S$0._setAll]("emptyCells", value); } get emptyCells() { return super.emptyCells; } set font(value) { - if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5650, 19, "value"); this[S$0._setAll]("font", value); } get font() { return super.font; } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5655, 25, "value"); this[S$0._setAll]("fontFamily", value); } get fontFamily() { return super.fontFamily; } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5660, 23, "value"); this[S$0._setAll]("fontSize", value); } get fontSize() { return super.fontSize; } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5665, 24, "value"); this[S$0._setAll]("fontStyle", value); } get fontStyle() { return super.fontStyle; } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5670, 26, "value"); this[S$0._setAll]("fontVariant", value); } get fontVariant() { return super.fontVariant; } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5675, 25, "value"); this[S$0._setAll]("fontWeight", value); } get fontWeight() { return super.fontWeight; } set height(value) { - if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5680, 21, "value"); this[S$0._setAll]("height", value); } get height() { return super.height; } set left(value) { - if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5685, 19, "value"); this[S$0._setAll]("left", value); } get left() { return super.left; } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5690, 28, "value"); this[S$0._setAll]("letterSpacing", value); } get letterSpacing() { return super.letterSpacing; } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5695, 25, "value"); this[S$0._setAll]("lineHeight", value); } get lineHeight() { return super.lineHeight; } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5700, 24, "value"); this[S$0._setAll]("listStyle", value); } get listStyle() { return super.listStyle; } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5705, 29, "value"); this[S$0._setAll]("listStyleImage", value); } get listStyleImage() { return super.listStyleImage; } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5710, 32, "value"); this[S$0._setAll]("listStylePosition", value); } get listStylePosition() { return super.listStylePosition; } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5715, 28, "value"); this[S$0._setAll]("listStyleType", value); } get listStyleType() { return super.listStyleType; } set margin(value) { - if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5720, 21, "value"); this[S$0._setAll]("margin", value); } get margin() { return super.margin; } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5725, 27, "value"); this[S$0._setAll]("marginBottom", value); } get marginBottom() { return super.marginBottom; } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5730, 25, "value"); this[S$0._setAll]("marginLeft", value); } get marginLeft() { return super.marginLeft; } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5735, 26, "value"); this[S$0._setAll]("marginRight", value); } get marginRight() { return super.marginRight; } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5740, 24, "value"); this[S$0._setAll]("marginTop", value); } get marginTop() { return super.marginTop; } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5745, 24, "value"); this[S$0._setAll]("maxHeight", value); } get maxHeight() { return super.maxHeight; } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5750, 23, "value"); this[S$0._setAll]("maxWidth", value); } get maxWidth() { return super.maxWidth; } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5755, 24, "value"); this[S$0._setAll]("minHeight", value); } get minHeight() { return super.minHeight; } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5760, 23, "value"); this[S$0._setAll]("minWidth", value); } get minWidth() { return super.minWidth; } set outline(value) { - if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5765, 22, "value"); this[S$0._setAll]("outline", value); } get outline() { return super.outline; } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5770, 27, "value"); this[S$0._setAll]("outlineColor", value); } get outlineColor() { return super.outlineColor; } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5775, 27, "value"); this[S$0._setAll]("outlineStyle", value); } get outlineStyle() { return super.outlineStyle; } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5780, 27, "value"); this[S$0._setAll]("outlineWidth", value); } get outlineWidth() { return super.outlineWidth; } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5785, 23, "value"); this[S$0._setAll]("overflow", value); } get overflow() { return super.overflow; } set padding(value) { - if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5790, 22, "value"); this[S$0._setAll]("padding", value); } get padding() { return super.padding; } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5795, 28, "value"); this[S$0._setAll]("paddingBottom", value); } get paddingBottom() { return super.paddingBottom; } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5800, 26, "value"); this[S$0._setAll]("paddingLeft", value); } get paddingLeft() { return super.paddingLeft; } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5805, 27, "value"); this[S$0._setAll]("paddingRight", value); } get paddingRight() { return super.paddingRight; } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5810, 25, "value"); this[S$0._setAll]("paddingTop", value); } get paddingTop() { return super.paddingTop; } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5815, 29, "value"); this[S$0._setAll]("pageBreakAfter", value); } get pageBreakAfter() { return super.pageBreakAfter; } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5820, 30, "value"); this[S$0._setAll]("pageBreakBefore", value); } get pageBreakBefore() { return super.pageBreakBefore; } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5825, 30, "value"); this[S$0._setAll]("pageBreakInside", value); } get pageBreakInside() { return super.pageBreakInside; } set position(value) { - if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5830, 23, "value"); this[S$0._setAll]("position", value); } get position() { return super.position; } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5835, 21, "value"); this[S$0._setAll]("quotes", value); } get quotes() { return super.quotes; } set right(value) { - if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5840, 20, "value"); this[S$0._setAll]("right", value); } get right() { return super.right; } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5845, 26, "value"); this[S$0._setAll]("tableLayout", value); } get tableLayout() { return super.tableLayout; } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5850, 24, "value"); this[S$0._setAll]("textAlign", value); } get textAlign() { return super.textAlign; } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5855, 29, "value"); this[S$0._setAll]("textDecoration", value); } get textDecoration() { return super.textDecoration; } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5860, 25, "value"); this[S$0._setAll]("textIndent", value); } get textIndent() { return super.textIndent; } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5865, 28, "value"); this[S$0._setAll]("textTransform", value); } get textTransform() { return super.textTransform; } set top(value) { - if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + if (value == null) dart.nullFailed(I[149], 5870, 18, "value"); this[S$0._setAll]("top", value); } get top() { return super.top; } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5875, 26, "value"); this[S$0._setAll]("unicodeBidi", value); } get unicodeBidi() { return super.unicodeBidi; } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5880, 28, "value"); this[S$0._setAll]("verticalAlign", value); } get verticalAlign() { return super.verticalAlign; } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5885, 25, "value"); this[S$0._setAll]("visibility", value); } get visibility() { return super.visibility; } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5890, 25, "value"); this[S$0._setAll]("whiteSpace", value); } get whiteSpace() { return super.whiteSpace; } set width(value) { - if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5895, 20, "value"); this[S$0._setAll]("width", value); } get width() { return super.width; } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5900, 26, "value"); this[S$0._setAll]("wordSpacing", value); } get wordSpacing() { return super.wordSpacing; } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); this[S$0._setAll]("zIndex", value); } get zIndex() { @@ -74840,10 +81169,13 @@ html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_Css } }; (html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); - this[S$0._elementCssStyleDeclarationSetIterable] = null; + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); this[S$0._elementIterable] = _elementIterable; - this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); + this[S$0._elementCssStyleDeclarationSetIterable] = T$0.ListOfElement().of(_elementIterable)[$map](html$.CssStyleDeclaration, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5441, 48, "e"); + return e.style; + }, T$0.ElementToCssStyleDeclaration())); + ; }).prototype = html$._CssStyleDeclarationSet.prototype; dart.addTypeTests(html$._CssStyleDeclarationSet); dart.addTypeCaches(html$._CssStyleDeclarationSet); @@ -74855,11 +81187,11 @@ dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) })); -dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); +dart.setLibraryUri(html$._CssStyleDeclarationSet, I[150]); dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(core.Iterable$(html$.CssStyleDeclaration)) })); dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ @@ -74955,6 +81287,9 @@ dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ 'zIndex' ]); html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssStyleRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -74967,6 +81302,7 @@ html$.CssStyleRule = class CssStyleRule extends html$.CssRule { }; dart.addTypeTests(html$.CssStyleRule); dart.addTypeCaches(html$.CssStyleRule); +dart.setStaticMethodSignature(html$.CssStyleRule, () => ['__']); dart.setGetterSignature(html$.CssStyleRule, () => ({ __proto__: dart.getGetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String, @@ -74976,9 +81312,12 @@ dart.setSetterSignature(html$.CssStyleRule, () => ({ __proto__: dart.getSetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String })); -dart.setLibraryUri(html$.CssStyleRule, I[148]); +dart.setLibraryUri(html$.CssStyleRule, I[150]); dart.registerExtension("CSSStyleRule", html$.CssStyleRule); -html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { +html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleSheet.__(); + } get [S$.$disabled]() { return this.disabled; } @@ -75006,6 +81345,7 @@ html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { }; dart.addTypeTests(html$.StyleSheet); dart.addTypeCaches(html$.StyleSheet); +dart.setStaticMethodSignature(html$.StyleSheet, () => ['__']); dart.setGetterSignature(html$.StyleSheet, () => ({ __proto__: dart.getGetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -75020,9 +81360,12 @@ dart.setSetterSignature(html$.StyleSheet, () => ({ __proto__: dart.getSetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.StyleSheet, I[148]); +dart.setLibraryUri(html$.StyleSheet, I[150]); dart.registerExtension("StyleSheet", html$.StyleSheet); html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + static ['_#_#tearOff']() { + return html$.CssStyleSheet.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -75054,20 +81397,29 @@ dart.setMethodSignature(html$.CssStyleSheet, () => ({ [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.CssStyleSheet, () => ['__']); dart.setGetterSignature(html$.CssStyleSheet, () => ({ __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), [S$.$cssRules]: core.List$(html$.CssRule), [S$0.$ownerRule]: dart.nullable(html$.CssRule), [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) })); -dart.setLibraryUri(html$.CssStyleSheet, I[148]); +dart.setLibraryUri(html$.CssStyleSheet, I[150]); dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); -html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; +html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssSupportsRule.__(); + } +}; dart.addTypeTests(html$.CssSupportsRule); dart.addTypeCaches(html$.CssSupportsRule); -dart.setLibraryUri(html$.CssSupportsRule, I[148]); +dart.setStaticMethodSignature(html$.CssSupportsRule, () => ['__']); +dart.setLibraryUri(html$.CssSupportsRule, I[150]); dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssTransformValue.__(); + } static new(transformComponents = null) { if (transformComponents == null) { return html$.CssTransformValue._create_1(); @@ -75077,6 +81429,9 @@ html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](transformComponents = null) { + return html$.CssTransformValue.new(transformComponents); + } static _create_1() { return new CSSTransformValue(); } @@ -75103,17 +81458,21 @@ dart.setMethodSignature(html$.CssTransformValue, () => ({ [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) })); +dart.setStaticMethodSignature(html$.CssTransformValue, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTransformValue, () => ({ __proto__: dart.getGetters(html$.CssTransformValue.__proto__), [S$.$is2D]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CssTransformValue, I[148]); +dart.setLibraryUri(html$.CssTransformValue, I[150]); dart.registerExtension("CSSTransformValue", html$.CssTransformValue); html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssTranslation.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); - if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { return html$.CssTranslation._create_1(x, y); } @@ -75122,6 +81481,11 @@ html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); + return html$.CssTranslation.new(x, y, z); + } static _create_1(x, y) { return new CSSTranslation(x, y); } @@ -75149,6 +81513,7 @@ html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent }; dart.addTypeTests(html$.CssTranslation); dart.addTypeCaches(html$.CssTranslation); +dart.setStaticMethodSignature(html$.CssTranslation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTranslation, () => ({ __proto__: dart.getGetters(html$.CssTranslation.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -75161,14 +81526,22 @@ dart.setSetterSignature(html$.CssTranslation, () => ({ [S$.$y]: dart.nullable(html$.CssNumericValue), [S$.$z]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssTranslation, I[148]); +dart.setLibraryUri(html$.CssTranslation, I[150]); dart.registerExtension("CSSTranslation", html$.CssTranslation); html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static ['_#_#tearOff']() { + return html$.CssUnitValue.__(); + } static new(value, unit) { - if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); - if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); return html$.CssUnitValue._create_1(value, unit); } + static ['_#new#tearOff'](value, unit) { + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); + return html$.CssUnitValue.new(value, unit); + } static _create_1(value, unit) { return new CSSUnitValue(value, unit); } @@ -75190,6 +81563,7 @@ html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { }; dart.addTypeTests(html$.CssUnitValue); dart.addTypeCaches(html$.CssUnitValue); +dart.setStaticMethodSignature(html$.CssUnitValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssUnitValue, () => ({ __proto__: dart.getGetters(html$.CssUnitValue.__proto__), [S.$type]: dart.nullable(core.String), @@ -75201,9 +81575,12 @@ dart.setSetterSignature(html$.CssUnitValue, () => ({ [S$0.$unit]: dart.nullable(core.String), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssUnitValue, I[148]); +dart.setLibraryUri(html$.CssUnitValue, I[150]); dart.registerExtension("CSSUnitValue", html$.CssUnitValue); html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssUnparsedValue.__(); + } get [$length]() { return this.length; } @@ -75217,13 +81594,17 @@ dart.setMethodSignature(html$.CssUnparsedValue, () => ({ __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) })); +dart.setStaticMethodSignature(html$.CssUnparsedValue, () => ['__']); dart.setGetterSignature(html$.CssUnparsedValue, () => ({ __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CssUnparsedValue, I[148]); +dart.setLibraryUri(html$.CssUnparsedValue, I[150]); dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); -html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { +html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssVariableReferenceValue.__(); + } get [S$0.$fallback]() { return this.fallback; } @@ -75233,31 +81614,43 @@ html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _inter }; dart.addTypeTests(html$.CssVariableReferenceValue); dart.addTypeCaches(html$.CssVariableReferenceValue); +dart.setStaticMethodSignature(html$.CssVariableReferenceValue, () => ['__']); dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), [S$0.$variable]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); +dart.setLibraryUri(html$.CssVariableReferenceValue, I[150]); dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssViewportRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssViewportRule); dart.addTypeCaches(html$.CssViewportRule); +dart.setStaticMethodSignature(html$.CssViewportRule, () => ['__']); dart.setGetterSignature(html$.CssViewportRule, () => ({ __proto__: dart.getGetters(html$.CssViewportRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); -dart.setLibraryUri(html$.CssViewportRule, I[148]); +dart.setLibraryUri(html$.CssViewportRule, I[150]); dart.registerExtension("CSSViewportRule", html$.CssViewportRule); html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static ['_#_#tearOff']() { + return html$.CssurlImageValue.__(); + } static new(url) { - if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); return html$.CssurlImageValue._create_1(url); } + static ['_#new#tearOff'](url) { + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); + return html$.CssurlImageValue.new(url); + } static _create_1(url) { return new CSSURLImageValue(url); } @@ -75267,16 +81660,20 @@ html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { }; dart.addTypeTests(html$.CssurlImageValue); dart.addTypeCaches(html$.CssurlImageValue); +dart.setStaticMethodSignature(html$.CssurlImageValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssurlImageValue, () => ({ __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssurlImageValue, I[148]); +dart.setLibraryUri(html$.CssurlImageValue, I[150]); dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); -html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { +html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CustomElementRegistry.__(); + } [S$0.$define](name, constructor, options = null) { - if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); - if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (name == null) dart.nullFailed(I[149], 8961, 22, "name"); + if (constructor == null) dart.nullFailed(I[149], 8961, 35, "constructor"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$0._define_1](name, constructor, options_1); @@ -75295,7 +81692,7 @@ html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors. return this.get.apply(this, args); } [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); } }; @@ -75309,7 +81706,8 @@ dart.setMethodSignature(html$.CustomElementRegistry, () => ({ [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.CustomElementRegistry, I[148]); +dart.setStaticMethodSignature(html$.CustomElementRegistry, () => ['__']); +dart.setLibraryUri(html$.CustomElementRegistry, I[150]); dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); html$.CustomEvent = class CustomEvent$ extends html$.Event { get [S$0._dartDetail]() { @@ -75319,11 +81717,11 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { this._dartDetail = value; } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); let detail = opts && 'detail' in opts ? opts.detail : null; let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); e[S$0._dartDetail] = detail; @@ -75343,6 +81741,15 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + return html$.CustomEvent.new(type, {canBubble: canBubble, cancelable: cancelable, detail: detail}); + } get [S$.$detail]() { if (this[S$0._dartDetail] != null) { return this[S$0._dartDetail]; @@ -75350,13 +81757,17 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { return this[S$0._detail]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CustomEvent._create_1(type, eventInitDict_1); } return html$.CustomEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); + return html$.CustomEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CustomEvent(type, eventInitDict); } @@ -75379,22 +81790,32 @@ dart.setMethodSignature(html$.CustomEvent, () => ({ __proto__: dart.getMethods(html$.CustomEvent.__proto__), [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(html$.CustomEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CustomEvent, () => ({ __proto__: dart.getGetters(html$.CustomEvent.__proto__), [S$.$detail]: dart.dynamic, [S$0._detail]: dart.dynamic, [S$0._get__detail]: dart.dynamic })); -dart.setLibraryUri(html$.CustomEvent, I[148]); +dart.setLibraryUri(html$.CustomEvent, I[150]); dart.setFieldSignature(html$.CustomEvent, () => ({ __proto__: dart.getFields(html$.CustomEvent.__proto__), [S$0._dartDetail]: dart.fieldType(dart.dynamic) })); dart.registerExtension("CustomEvent", html$.CustomEvent); html$.DListElement = class DListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DListElement.__(); + } static new() { return html$.document.createElement("dl"); } + static ['_#new#tearOff']() { + return html$.DListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DListElement.created(); + } }; (html$.DListElement.created = function() { html$.DListElement.__proto__.created.call(this); @@ -75402,9 +81823,16 @@ html$.DListElement = class DListElement extends html$.HtmlElement { }).prototype = html$.DListElement.prototype; dart.addTypeTests(html$.DListElement); dart.addTypeCaches(html$.DListElement); -dart.setLibraryUri(html$.DListElement, I[148]); +dart.setStaticMethodSignature(html$.DListElement, () => ['__', 'new']); +dart.setLibraryUri(html$.DListElement, I[150]); dart.registerExtension("HTMLDListElement", html$.DListElement); html$.DataElement = class DataElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DataElement.created(); + } get [S.$value]() { return this.value; } @@ -75418,6 +81846,7 @@ html$.DataElement = class DataElement extends html$.HtmlElement { }).prototype = html$.DataElement.prototype; dart.addTypeTests(html$.DataElement); dart.addTypeCaches(html$.DataElement); +dart.setStaticMethodSignature(html$.DataElement, () => ['__']); dart.setGetterSignature(html$.DataElement, () => ({ __proto__: dart.getGetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) @@ -75426,12 +81855,21 @@ dart.setSetterSignature(html$.DataElement, () => ({ __proto__: dart.getSetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataElement, I[148]); +dart.setLibraryUri(html$.DataElement, I[150]); dart.registerExtension("HTMLDataElement", html$.DataElement); html$.DataListElement = class DataListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataListElement.__(); + } static new() { return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); } + static ['_#new#tearOff']() { + return html$.DataListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DataListElement.created(); + } static get supported() { return html$.Element.isTagSupported("datalist"); } @@ -75445,16 +81883,24 @@ html$.DataListElement = class DataListElement extends html$.HtmlElement { }).prototype = html$.DataListElement.prototype; dart.addTypeTests(html$.DataListElement); dart.addTypeCaches(html$.DataListElement); +dart.setStaticMethodSignature(html$.DataListElement, () => ['__', 'new']); dart.setGetterSignature(html$.DataListElement, () => ({ __proto__: dart.getGetters(html$.DataListElement.__proto__), [S$0.$options]: dart.nullable(core.List$(html$.Node)) })); -dart.setLibraryUri(html$.DataListElement, I[148]); +dart.setStaticGetterSignature(html$.DataListElement, () => ['supported']); +dart.setLibraryUri(html$.DataListElement, I[150]); dart.registerExtension("HTMLDataListElement", html$.DataListElement); -html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { +html$.DataTransfer = class DataTransfer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransfer.__(); + } static new() { return html$.DataTransfer._create_1(); } + static ['_#new#tearOff']() { + return html$.DataTransfer.new(); + } static _create_1() { return new DataTransfer(); } @@ -75501,6 +81947,7 @@ dart.setMethodSignature(html$.DataTransfer, () => ({ [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) })); +dart.setStaticMethodSignature(html$.DataTransfer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DataTransfer, () => ({ __proto__: dart.getGetters(html$.DataTransfer.__proto__), [S$0.$dropEffect]: dart.nullable(core.String), @@ -75514,19 +81961,29 @@ dart.setSetterSignature(html$.DataTransfer, () => ({ [S$0.$dropEffect]: dart.nullable(core.String), [S$0.$effectAllowed]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataTransfer, I[148]); +dart.setLibraryUri(html$.DataTransfer, I[150]); dart.registerExtension("DataTransfer", html$.DataTransfer); -html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { +html$.DataTransferItem = class DataTransferItem extends _interceptors.JavaScriptObject { [S$0.$getAsEntry]() { let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { _js_helper.applyExtension("DirectoryEntry", entry); - else + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } else { _js_helper.applyExtension("Entry", entry); + _js_helper.applyExtension("webkitFileSystemEntry", entry); + _js_helper.applyExtension("FileSystemEntry", entry); + } return entry; } + static ['_#_#tearOff']() { + return html$.DataTransferItem.__(); + } get [S$.$kind]() { return this.kind; } @@ -75548,14 +82005,18 @@ dart.setMethodSignature(html$.DataTransferItem, () => ({ [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) })); +dart.setStaticMethodSignature(html$.DataTransferItem, () => ['__']); dart.setGetterSignature(html$.DataTransferItem, () => ({ __proto__: dart.getGetters(html$.DataTransferItem.__proto__), [S$.$kind]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataTransferItem, I[148]); +dart.setLibraryUri(html$.DataTransferItem, I[150]); dart.registerExtension("DataTransferItem", html$.DataTransferItem); -html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { +html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransferItemList.__(); + } get [$length]() { return this.length; } @@ -75578,7 +82039,7 @@ html$.DataTransferItemList = class DataTransferItemList extends _interceptors.In return this.remove.apply(this, args); } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); return this[index]; } }; @@ -75594,13 +82055,17 @@ dart.setMethodSignature(html$.DataTransferItemList, () => ({ [$remove]: dart.fnType(dart.void, [core.int]), [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) })); +dart.setStaticMethodSignature(html$.DataTransferItemList, () => ['__']); dart.setGetterSignature(html$.DataTransferItemList, () => ({ __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.DataTransferItemList, I[148]); +dart.setLibraryUri(html$.DataTransferItemList, I[150]); dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerGlobalScope.__(); + } get [S$0.$addressSpace]() { return this.addressSpace; } @@ -75674,7 +82139,7 @@ html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { }; dart.addTypeTests(html$.WorkerGlobalScope); dart.addTypeCaches(html$.WorkerGlobalScope); -html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; +html$.WorkerGlobalScope[dart.implements] = () => [html$.WindowBase64, html$._WindowTimers]; dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), @@ -75688,6 +82153,7 @@ dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), @@ -75702,14 +82168,19 @@ dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ [S$0.$self]: html$.WorkerGlobalScope, [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.WorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.WorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.WorkerGlobalScope, () => ['errorEvent']); dart.defineLazy(html$.WorkerGlobalScope, { /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.DedicatedWorkerGlobalScope.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -75761,14 +82232,17 @@ dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); +dart.setStaticMethodSignature(html$.DedicatedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.DedicatedWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.DedicatedWorkerGlobalScope, () => ['messageEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DedicatedWorkerGlobalScope, { /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -75778,7 +82252,10 @@ dart.defineLazy(html$.DedicatedWorkerGlobalScope, { } }, false); dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); -html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { +html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageInfo.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75793,7 +82270,9 @@ dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); -dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); +dart.setStaticMethodSignature(html$.DeprecatedStorageInfo, () => ['__']); +dart.setLibraryUri(html$.DeprecatedStorageInfo, I[150]); +dart.setStaticFieldSignature(html$.DeprecatedStorageInfo, () => ['PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DeprecatedStorageInfo, { /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { return 1; @@ -75803,7 +82282,10 @@ dart.defineLazy(html$.DeprecatedStorageInfo, { } }, false); dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); -html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { +html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageQuota.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75818,14 +82300,23 @@ dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); -dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); +dart.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); +dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); -html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; +html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportBody.__(); + } +}; dart.addTypeTests(html$.ReportBody); dart.addTypeCaches(html$.ReportBody); -dart.setLibraryUri(html$.ReportBody, I[148]); +dart.setStaticMethodSignature(html$.ReportBody, () => ['__']); +dart.setLibraryUri(html$.ReportBody, I[150]); dart.registerExtension("ReportBody", html$.ReportBody); html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.DeprecationReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -75838,18 +82329,28 @@ html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { }; dart.addTypeTests(html$.DeprecationReport); dart.addTypeCaches(html$.DeprecationReport); +dart.setStaticMethodSignature(html$.DeprecationReport, () => ['__']); dart.setGetterSignature(html$.DeprecationReport, () => ({ __proto__: dart.getGetters(html$.DeprecationReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DeprecationReport, I[148]); +dart.setLibraryUri(html$.DeprecationReport, I[150]); dart.registerExtension("DeprecationReport", html$.DeprecationReport); html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DetailsElement.__(); + } static new() { return html$.DetailsElement.as(html$.document[S.$createElement]("details")); } + static ['_#new#tearOff']() { + return html$.DetailsElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DetailsElement.created(); + } static get supported() { return html$.Element.isTagSupported("details"); } @@ -75866,6 +82367,7 @@ html$.DetailsElement = class DetailsElement extends html$.HtmlElement { }).prototype = html$.DetailsElement.prototype; dart.addTypeTests(html$.DetailsElement); dart.addTypeCaches(html$.DetailsElement); +dart.setStaticMethodSignature(html$.DetailsElement, () => ['__', 'new']); dart.setGetterSignature(html$.DetailsElement, () => ({ __proto__: dart.getGetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) @@ -75874,12 +82376,19 @@ dart.setSetterSignature(html$.DetailsElement, () => ({ __proto__: dart.getSetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.DetailsElement, I[148]); +dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); +dart.setLibraryUri(html$.DetailsElement, I[150]); dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); -html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { +html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedBarcode.__(); + } static new() { return html$.DetectedBarcode._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedBarcode.new(); + } static _create_1() { return new DetectedBarcode(); } @@ -75895,18 +82404,25 @@ html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor }; dart.addTypeTests(html$.DetectedBarcode); dart.addTypeCaches(html$.DetectedBarcode); +dart.setStaticMethodSignature(html$.DetectedBarcode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedBarcode, () => ({ __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DetectedBarcode, I[148]); +dart.setLibraryUri(html$.DetectedBarcode, I[150]); dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); -html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { +html$.DetectedFace = class DetectedFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedFace.__(); + } static new() { return html$.DetectedFace._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedFace.new(); + } static _create_1() { return new DetectedFace(); } @@ -75919,17 +82435,24 @@ html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DetectedFace); dart.addTypeCaches(html$.DetectedFace); +dart.setStaticMethodSignature(html$.DetectedFace, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedFace, () => ({ __proto__: dart.getGetters(html$.DetectedFace.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$landmarks]: dart.nullable(core.List) })); -dart.setLibraryUri(html$.DetectedFace, I[148]); +dart.setLibraryUri(html$.DetectedFace, I[150]); dart.registerExtension("DetectedFace", html$.DetectedFace); -html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { +html$.DetectedText = class DetectedText$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedText.__(); + } static new() { return html$.DetectedText._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedText.new(); + } static _create_1() { return new DetectedText(); } @@ -75945,15 +82468,19 @@ html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DetectedText); dart.addTypeCaches(html$.DetectedText); +dart.setStaticMethodSignature(html$.DetectedText, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedText, () => ({ __proto__: dart.getGetters(html$.DetectedText.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DetectedText, I[148]); +dart.setLibraryUri(html$.DetectedText, I[150]); dart.registerExtension("DetectedText", html$.DetectedText); -html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { +html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceAcceleration.__(); + } get [S$.$x]() { return this.x; } @@ -75966,23 +82493,31 @@ html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interc }; dart.addTypeTests(html$.DeviceAcceleration); dart.addTypeCaches(html$.DeviceAcceleration); +dart.setStaticMethodSignature(html$.DeviceAcceleration, () => ['__']); dart.setGetterSignature(html$.DeviceAcceleration, () => ({ __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceAcceleration, I[148]); +dart.setLibraryUri(html$.DeviceAcceleration, I[150]); dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceMotionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); } return html$.DeviceMotionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); + return html$.DeviceMotionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceMotionEvent(type, eventInitDict); } @@ -76004,6 +82539,7 @@ html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { }; dart.addTypeTests(html$.DeviceMotionEvent); dart.addTypeCaches(html$.DeviceMotionEvent); +dart.setStaticMethodSignature(html$.DeviceMotionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), @@ -76011,17 +82547,24 @@ dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ [S$0.$interval]: dart.nullable(core.num), [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) })); -dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); +dart.setLibraryUri(html$.DeviceMotionEvent, I[150]); dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceOrientationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); } return html$.DeviceOrientationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); + return html$.DeviceOrientationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceOrientationEvent(type, eventInitDict); } @@ -76043,6 +82586,7 @@ html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event }; dart.addTypeTests(html$.DeviceOrientationEvent); dart.addTypeCaches(html$.DeviceOrientationEvent); +dart.setStaticMethodSignature(html$.DeviceOrientationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), [S$0.$absolute]: dart.nullable(core.bool), @@ -76050,9 +82594,12 @@ dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); +dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); -html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { +html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceRotationRate.__(); + } get [S$0.$alpha]() { return this.alpha; } @@ -76065,15 +82612,22 @@ html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interc }; dart.addTypeTests(html$.DeviceRotationRate); dart.addTypeCaches(html$.DeviceRotationRate); +dart.setStaticMethodSignature(html$.DeviceRotationRate, () => ['__']); dart.setGetterSignature(html$.DeviceRotationRate, () => ({ __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), [S$0.$alpha]: dart.nullable(core.num), [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceRotationRate, I[148]); +dart.setLibraryUri(html$.DeviceRotationRate, I[150]); dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); html$.DialogElement = class DialogElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DialogElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DialogElement.created(); + } get [S.$open]() { return this.open; } @@ -76108,6 +82662,7 @@ dart.setMethodSignature(html$.DialogElement, () => ({ [S$0.$show]: dart.fnType(dart.void, []), [S$0.$showModal]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.DialogElement, () => ['__']); dart.setGetterSignature(html$.DialogElement, () => ({ __proto__: dart.getGetters(html$.DialogElement.__proto__), [S.$open]: dart.nullable(core.bool), @@ -76118,9 +82673,12 @@ dart.setSetterSignature(html$.DialogElement, () => ({ [S.$open]: dart.nullable(core.bool), [S$.$returnValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DialogElement, I[148]); +dart.setLibraryUri(html$.DialogElement, I[150]); dart.registerExtension("HTMLDialogElement", html$.DialogElement); -html$.Entry = class Entry extends _interceptors.Interceptor { +html$.Entry = class Entry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Entry.__(); + } get [S$0.$filesystem]() { return this.filesystem; } @@ -76136,82 +82694,84 @@ html$.Entry = class Entry extends _interceptors.Interceptor { get [$name]() { return this.name; } - [S$0._copyTo](...args) { + [S$1._copyTo](...args) { return this.copyTo.apply(this, args); } - [S$0.$copyTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + [S$1.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[149], 15427, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._copyTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + this[S$1._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15429, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15431, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getMetadata](...args) { + [S$1._getMetadata](...args) { return this.getMetadata.apply(this, args); } - [S$0.$getMetadata]() { + [S$1.$getMetadata]() { let completer = T$0.CompleterOfMetadata().new(); - this[S$0._getMetadata](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + this[S$1._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15444, 19, "value"); _js_helper.applyExtension("Metadata", value); completer.complete(value); }, T$0.MetadataTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15447, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getParent](...args) { + [S$1._getParent](...args) { return this.getParent.apply(this, args); } - [S$0.$getParent]() { + [S$1.$getParent]() { let completer = T$0.CompleterOfEntry().new(); - this[S$0._getParent](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + this[S$1._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15460, 17, "value"); _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15465, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } [S$.$moveTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + if (parent == null) dart.nullFailed(I[149], 15478, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._moveTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + this[S$1._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15480, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15482, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._remove$1](...args) { + [S$1._remove$1](...args) { return this.remove.apply(this, args); } [$remove]() { let completer = async.Completer.new(); - this[S$0._remove$1](dart.fn(() => { + this[S$1._remove$1](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0.$toUrl](...args) { + [S$1.$toUrl](...args) { return this.toURL.apply(this, args); } }; @@ -76219,18 +82779,19 @@ dart.addTypeTests(html$.Entry); dart.addTypeCaches(html$.Entry); dart.setMethodSignature(html$.Entry, () => ({ __proto__: dart.getMethods(html$.Entry.__proto__), - [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), - [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), - [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$1._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$1._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$1._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [$remove]: dart.fnType(async.Future, []), - [S$0.$toUrl]: dart.fnType(core.String, []) + [S$1.$toUrl]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(html$.Entry, () => ['__']); dart.setGetterSignature(html$.Entry, () => ({ __proto__: dart.getGetters(html$.Entry.__proto__), [S$0.$filesystem]: dart.nullable(html$.FileSystem), @@ -76239,34 +82800,42 @@ dart.setGetterSignature(html$.Entry, () => ({ [S$0.$isFile]: dart.nullable(core.bool), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Entry, I[148]); +dart.setLibraryUri(html$.Entry, I[150]); dart.registerExtension("Entry", html$.Entry); +dart.registerExtension("webkitFileSystemEntry", html$.Entry); +dart.registerExtension("FileSystemEntry", html$.Entry); html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { [S$0.$createDirectory](path, opts) { - if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + if (path == null) dart.nullFailed(I[149], 9614, 40, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9614, 52, "exclusive"); return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$createReader]() { let reader = this[S$0._createReader](); _js_helper.applyExtension("DirectoryReader", reader); + _js_helper.applyExtension("WebKitDirectoryReader", reader); + _js_helper.applyExtension("webkitFileSystemDirectoryReader", reader); + _js_helper.applyExtension("FileSystemDirectoryReader", reader); return reader; } [S$0.$getDirectory](path) { - if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + if (path == null) dart.nullFailed(I[149], 9633, 37, "path"); return this[S$0._getDirectory](path); } [S$0.$createFile](path, opts) { - if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + if (path == null) dart.nullFailed(I[149], 9642, 35, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9642, 47, "exclusive"); return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$getFile](path) { - if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + if (path == null) dart.nullFailed(I[149], 9651, 32, "path"); return this[S$0._getFile](path); } + static ['_#_#tearOff']() { + return html$.DirectoryEntry.__(); + } [S$0._createReader](...args) { return this.createReader.apply(this, args); } @@ -76305,10 +82874,10 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getDirectory](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + if (value == null) dart.nullFailed(I[149], 9699, 36, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76348,11 +82917,13 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getFile](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + if (value == null) dart.nullFailed(I[149], 9743, 31, "value"); _js_helper.applyExtension("FileEntry", value); + _js_helper.applyExtension("webkitFileSystemFileEntry", value); + _js_helper.applyExtension("FileSystemFileEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9748, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76365,7 +82936,7 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { this[S$0._removeRecursively](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76396,26 +82967,40 @@ dart.setMethodSignature(html$.DirectoryEntry, () => ({ [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$0.$removeRecursively]: dart.fnType(async.Future, []) })); -dart.setLibraryUri(html$.DirectoryEntry, I[148]); +dart.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); +dart.setLibraryUri(html$.DirectoryEntry, I[150]); dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); -html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { - [S$0._readEntries](...args) { +dart.registerExtension("webkitFileSystemDirectoryEntry", html$.DirectoryEntry); +dart.registerExtension("FileSystemDirectoryEntry", html$.DirectoryEntry); +html$.DirectoryReader = class DirectoryReader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DirectoryReader.__(); + } + [S$1._readEntries](...args) { return this.readEntries.apply(this, args); } - [S$0.$readEntries]() { + [S$1.$readEntries]() { let completer = T$0.CompleterOfListOfEntry().new(); - this[S$0._readEntries](dart.fn(values => { - if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + this[S$1._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[149], 9787, 19, "values"); values[$forEach](dart.fn(value => { _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); let entry = html$.Entry.as(value); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { + _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } }, T$.dynamicTovoid())); completer.complete(T$0.ListOfEntry().from(values)); }, T$0.ListTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9804, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76425,15 +83010,28 @@ dart.addTypeTests(html$.DirectoryReader); dart.addTypeCaches(html$.DirectoryReader); dart.setMethodSignature(html$.DirectoryReader, () => ({ __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) + [S$1._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) })); -dart.setLibraryUri(html$.DirectoryReader, I[148]); +dart.setStaticMethodSignature(html$.DirectoryReader, () => ['__']); +dart.setLibraryUri(html$.DirectoryReader, I[150]); dart.registerExtension("DirectoryReader", html$.DirectoryReader); +dart.registerExtension("WebKitDirectoryReader", html$.DirectoryReader); +dart.registerExtension("webkitFileSystemDirectoryReader", html$.DirectoryReader); +dart.registerExtension("FileSystemDirectoryReader", html$.DirectoryReader); html$.DivElement = class DivElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DivElement.__(); + } static new() { return html$.document.createElement("div"); } + static ['_#new#tearOff']() { + return html$.DivElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DivElement.created(); + } }; (html$.DivElement.created = function() { html$.DivElement.__proto__.created.call(this); @@ -76441,67 +83039,74 @@ html$.DivElement = class DivElement extends html$.HtmlElement { }).prototype = html$.DivElement.prototype; dart.addTypeTests(html$.DivElement); dart.addTypeCaches(html$.DivElement); -dart.setLibraryUri(html$.DivElement, I[148]); +dart.setStaticMethodSignature(html$.DivElement, () => ['__', 'new']); +dart.setLibraryUri(html$.DivElement, I[150]); dart.registerExtension("HTMLDivElement", html$.DivElement); html$.Document = class Document$ extends html$.Node { + static ['_#_#tearOff']() { + return html$.Document.__(); + } static new() { return html$.Document._create_1(); } + static ['_#new#tearOff']() { + return html$.Document.new(); + } static _create_1() { return new Document(); } get [S$0.$addressSpace]() { return this.addressSpace; } - get [S$0._body]() { + get [S$1._body]() { return this.body; } - set [S$0._body](value) { + set [S$1._body](value) { this.body = value; } - get [S$0.$contentType]() { + get [S$1.$contentType]() { return this.contentType; } - get [S$0.$cookie]() { + get [S$1.$cookie]() { return this.cookie; } - set [S$0.$cookie](value) { + set [S$1.$cookie](value) { this.cookie = value; } - get [S$0.$currentScript]() { + get [S$1.$currentScript]() { return this.currentScript; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.defaultView; } - get [S$0.$documentElement]() { + get [S$1.$documentElement]() { return this.documentElement; } - get [S$0.$domain]() { + get [S$1.$domain]() { return this.domain; } - get [S$0.$fullscreenEnabled]() { + get [S$1.$fullscreenEnabled]() { return this.fullscreenEnabled; } - get [S$0._head$1]() { + get [S$1._head$1]() { return this.head; } get [S.$hidden]() { return this.hidden; } - get [S$0.$implementation]() { + get [S$1.$implementation]() { return this.implementation; } - get [S$0._lastModified]() { + get [S$1._lastModified]() { return this.lastModified; } get [S$.$origin]() { return this.origin; } - get [S$0._preferredStylesheetSet]() { + get [S$1._preferredStylesheetSet]() { return this.preferredStylesheetSet; } get [S.$readyState]() { @@ -76580,13 +83185,13 @@ html$.Document = class Document$ extends html$.Node { return this.createTextNode.apply(this, args); } [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { - if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); - if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); - if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); - if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); - if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); - if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); - if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (view == null) dart.nullFailed(I[149], 10036, 29, "view"); + if (target == null) dart.nullFailed(I[149], 10036, 47, "target"); + if (identifier == null) dart.nullFailed(I[149], 10036, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[149], 10036, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[149], 10037, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[149], 10037, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[149], 10037, 35, "screenY"); if (force != null) { let target_1 = html$._convertDartToNative_EventTarget(target); return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); @@ -76664,7 +83269,7 @@ html$.Document = class Document$ extends html$.Node { return this.queryCommandValue.apply(this, args); } [S$1.$registerElement2](type, options = null) { - if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (type == null) dart.nullFailed(I[149], 10116, 36, "type"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$1._registerElement2_1](type, options_1); @@ -76680,9 +83285,6 @@ html$.Document = class Document$ extends html$.Node { [S$1._webkitExitFullscreen](...args) { return this.webkitExitFullscreen.apply(this, args); } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } get [S$1.$activeElement]() { return this.activeElement; } @@ -76704,6 +83306,9 @@ html$.Document = class Document$ extends html$.Node { get [S$1.$fonts]() { return this.fonts; } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } get [S._childElementCount]() { return this.childElementCount; } @@ -76824,37 +83429,37 @@ html$.Document = class Document$ extends html$.Node { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$1.$onPointerLockChange]() { @@ -76863,46 +83468,46 @@ html$.Document = class Document$ extends html$.Node { get [S$1.$onPointerLockError]() { return html$.Document.pointerLockErrorEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } get [S$1.$onReadyStateChange]() { return html$.Document.readyStateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } get [S$1.$onSecurityPolicyViolation]() { return html$.Document.securityPolicyViolationEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } get [S$1.$onSelectionChange]() { return html$.Document.selectionChangeEvent.forTarget(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -76936,7 +83541,7 @@ html$.Document = class Document$ extends html$.Node { return html$.Element.fullscreenErrorEvent.forTarget(this); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10424, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S$1.$supportsRegisterElement]() { @@ -76946,35 +83551,35 @@ html$.Document = class Document$ extends html$.Node { return this[S$1.$supportsRegisterElement]; } [S$1.$registerElement](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 10444, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 10444, 41, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); } [S.$createElement](tagName, typeExtension = null) { - if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10451, 32, "tagName"); return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); } [S$1._createElement_2](tagName) { - if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10459, 27, "tagName"); return this.createElement(tagName); } [S$1._createElementNS_2](namespaceURI, qualifiedName) { - if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10464, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10464, 50, "qualifiedName"); return this.createElementNS(namespaceURI, qualifiedName); } [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { - if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10467, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10467, 55, "qualifiedName"); return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); } [S$1._createNodeIterator](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + if (root == null) dart.nullFailed(I[149], 10474, 41, "root"); return this.createNodeIterator(root, whatToShow, filter, false); } [S$1._createTreeWalker](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + if (root == null) dart.nullFailed(I[149], 10479, 37, "root"); return this.createTreeWalker(root, whatToShow, filter, false); } get [S$1.$visibilityState]() { @@ -77017,9 +83622,9 @@ dart.setMethodSignature(html$.Document, () => ({ [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77031,24 +83636,25 @@ dart.setMethodSignature(html$.Document, () => ({ [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) })); +dart.setStaticMethodSignature(html$.Document, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Document, () => ({ __proto__: dart.getGetters(html$.Document.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$contentType]: dart.nullable(core.String), - [S$0.$cookie]: dart.nullable(core.String), - [S$0.$currentScript]: dart.nullable(html$.ScriptElement), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, - [S$0.$documentElement]: dart.nullable(html$.Element), - [S$0.$domain]: dart.nullable(core.String), - [S$0.$fullscreenEnabled]: dart.nullable(core.bool), - [S$0._head$1]: dart.nullable(html$.HeadElement), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$contentType]: dart.nullable(core.String), + [S$1.$cookie]: dart.nullable(core.String), + [S$1.$currentScript]: dart.nullable(html$.ScriptElement), + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, + [S$1.$documentElement]: dart.nullable(html$.Element), + [S$1.$domain]: dart.nullable(core.String), + [S$1.$fullscreenEnabled]: dart.nullable(core.bool), + [S$1._head$1]: dart.nullable(html$.HeadElement), [S.$hidden]: dart.nullable(core.bool), - [S$0.$implementation]: dart.nullable(html$.DomImplementation), - [S$0._lastModified]: dart.nullable(core.String), + [S$1.$implementation]: dart.nullable(html$.DomImplementation), + [S$1._lastModified]: dart.nullable(core.String), [S$.$origin]: dart.nullable(core.String), - [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S$1._preferredStylesheetSet]: dart.nullable(core.String), [S.$readyState]: dart.nullable(core.String), [S$1._referrer]: core.String, [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), @@ -77106,33 +83712,33 @@ dart.setGetterSignature(html$.Document, () => ({ [S.$onLoadedData]: async.Stream$(html$.Event), [S.$onLoadedMetadata]: async.Stream$(html$.Event), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), - [S.$onPaste]: async.Stream$(html$.ClipboardEvent), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$1.$onPointerLockChange]: async.Stream$(html$.Event), [S$1.$onPointerLockError]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), [S$1.$onReadyStateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), [S$1.$onSelectionChange]: async.Stream$(html$.Event), - [S.$onSelectStart]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSelectStart]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -77149,28 +83755,29 @@ dart.setGetterSignature(html$.Document, () => ({ })); dart.setSetterSignature(html$.Document, () => ({ __proto__: dart.getSetters(html$.Document.__proto__), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$cookie]: dart.nullable(core.String), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$cookie]: dart.nullable(core.String), [S$1.$rootScroller]: dart.nullable(html$.Element), [S$1._selectedStylesheetSet]: dart.nullable(core.String), [S$1._title]: core.String })); -dart.setLibraryUri(html$.Document, I[148]); +dart.setLibraryUri(html$.Document, I[150]); +dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); dart.defineLazy(html$.Document, { /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[322] || CT.C322; + return C[332] || CT.C332; }, /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[323] || CT.C323; + return C[333] || CT.C333; }, /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[325] || CT.C325; + return C[335] || CT.C335; }, /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[326] || CT.C326; + return C[336] || CT.C336; } }, false); dart.registerExtension("Document", html$.Document); @@ -77184,16 +83791,29 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { static new() { return html$.document.createDocumentFragment(); } + static ['_#new#tearOff']() { + return html$.DocumentFragment.new(); + } static html(html, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } static svg(svgContent, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#svg#tearOff'](svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.svg(svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } get [S._children]() { return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); } @@ -77204,14 +83824,14 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { return dart.nullCheck(this[S$1._docChildren]); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + if (value == null) dart.nullFailed(I[149], 10532, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10551, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S.$innerHtml]() { @@ -77229,15 +83849,18 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10578, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10586, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); } + static ['_#_#tearOff']() { + return html$.DocumentFragment.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -77259,7 +83882,7 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { }; dart.addTypeTests(html$.DocumentFragment); dart.addTypeCaches(html$.DocumentFragment); -html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; +html$.DocumentFragment[dart.implements] = () => [html$.ParentNode, html$.NonElementParentNode]; dart.setMethodSignature(html$.DocumentFragment, () => ({ __proto__: dart.getMethods(html$.DocumentFragment.__proto__), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77270,6 +83893,7 @@ dart.setMethodSignature(html$.DocumentFragment, () => ({ [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); +dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); dart.setGetterSignature(html$.DocumentFragment, () => ({ __proto__: dart.getGetters(html$.DocumentFragment.__proto__), [S._children]: html$.HtmlCollection, @@ -77284,13 +83908,16 @@ dart.setSetterSignature(html$.DocumentFragment, () => ({ [S.$children]: core.List$(html$.Element), [S.$innerHtml]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DocumentFragment, I[148]); +dart.setLibraryUri(html$.DocumentFragment, I[150]); dart.setFieldSignature(html$.DocumentFragment, () => ({ __proto__: dart.getFields(html$.DocumentFragment.__proto__), [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) })); dart.registerExtension("DocumentFragment", html$.DocumentFragment); -html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { +html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DocumentOrShadowRoot.__(); + } get [S$1.$activeElement]() { return this.activeElement; } @@ -77321,6 +83948,7 @@ dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); +dart.setStaticMethodSignature(html$.DocumentOrShadowRoot, () => ['__']); dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), [S$1.$activeElement]: dart.nullable(html$.Element), @@ -77328,9 +83956,12 @@ dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ [S$1.$pointerLockElement]: dart.nullable(html$.Element), [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) })); -dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); +dart.setLibraryUri(html$.DocumentOrShadowRoot, I[150]); dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.DocumentTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -77338,6 +83969,9 @@ html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline } return html$.DocumentTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.DocumentTimeline.new(options); + } static _create_1(options) { return new DocumentTimeline(options); } @@ -77347,16 +83981,24 @@ html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline }; dart.addTypeTests(html$.DocumentTimeline); dart.addTypeCaches(html$.DocumentTimeline); -dart.setLibraryUri(html$.DocumentTimeline, I[148]); +dart.setStaticMethodSignature(html$.DocumentTimeline, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.DocumentTimeline, I[150]); dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); -html$.DomError = class DomError extends _interceptors.Interceptor { +html$.DomError = class DomError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomError.__(); + } static new(name, message = null) { - if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); if (message != null) { return html$.DomError._create_1(name, message); } return html$.DomError._create_2(name); } + static ['_#new#tearOff'](name, message = null) { + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); + return html$.DomError.new(name, message); + } static _create_1(name, message) { return new DOMError(name, message); } @@ -77372,20 +84014,24 @@ html$.DomError = class DomError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DomError); dart.addTypeCaches(html$.DomError); +dart.setStaticMethodSignature(html$.DomError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DomError, () => ({ __proto__: dart.getGetters(html$.DomError.__proto__), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomError, I[148]); +dart.setLibraryUri(html$.DomError, I[150]); dart.registerExtension("DOMError", html$.DomError); -html$.DomException = class DomException extends _interceptors.Interceptor { +html$.DomException = class DomException extends _interceptors.JavaScriptObject { get [$name]() { let errorName = this.name; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; return core.String.as(errorName); } + static ['_#_#tearOff']() { + return html$.DomException.__(); + } get [$message]() { return this.message; } @@ -77395,12 +84041,14 @@ html$.DomException = class DomException extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DomException); dart.addTypeCaches(html$.DomException); +dart.setStaticMethodSignature(html$.DomException, () => ['__']); dart.setGetterSignature(html$.DomException, () => ({ __proto__: dart.getGetters(html$.DomException.__proto__), [$name]: core.String, [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomException, I[148]); +dart.setLibraryUri(html$.DomException, I[150]); +dart.setStaticFieldSignature(html$.DomException, () => ['INDEX_SIZE', 'HIERARCHY_REQUEST', 'WRONG_DOCUMENT', 'INVALID_CHARACTER', 'NO_MODIFICATION_ALLOWED', 'NOT_FOUND', 'NOT_SUPPORTED', 'INVALID_STATE', 'SYNTAX', 'INVALID_MODIFICATION', 'NAMESPACE', 'INVALID_ACCESS', 'TYPE_MISMATCH', 'SECURITY', 'NETWORK', 'ABORT', 'URL_MISMATCH', 'QUOTA_EXCEEDED', 'TIMEOUT', 'INVALID_NODE_TYPE', 'DATA_CLONE', 'ENCODING', 'NOT_READABLE', 'UNKNOWN', 'CONSTRAINT', 'TRANSACTION_INACTIVE', 'READ_ONLY', 'VERSION', 'OPERATION', 'NOT_ALLOWED', 'TYPE_ERROR']); dart.defineLazy(html$.DomException, { /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { return "IndexSizeError"; @@ -77497,7 +84145,10 @@ dart.defineLazy(html$.DomException, { } }, false); dart.registerExtension("DOMException", html$.DomException); -html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { +html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomImplementation.__(); + } [S$1.$createDocument](...args) { return this.createDocument.apply(this, args); } @@ -77520,9 +84171,13 @@ dart.setMethodSignature(html$.DomImplementation, () => ({ [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), [S$1.$hasFeature]: dart.fnType(core.bool, []) })); -dart.setLibraryUri(html$.DomImplementation, I[148]); +dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); +dart.setLibraryUri(html$.DomImplementation, I[150]); dart.registerExtension("DOMImplementation", html$.DomImplementation); -html$.DomIterator = class DomIterator extends _interceptors.Interceptor { +html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomIterator.__(); + } [S.$next](...args) { return this.next.apply(this, args); } @@ -77533,9 +84188,16 @@ dart.setMethodSignature(html$.DomIterator, () => ({ __proto__: dart.getMethods(html$.DomIterator.__proto__), [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.DomIterator, I[148]); +dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); +dart.setLibraryUri(html$.DomIterator, I[150]); dart.registerExtension("Iterator", html$.DomIterator); -html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { +html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomMatrixReadOnly.__(); + } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrixReadOnly.new(init); + } static new(init = null) { if (init != null) { return html$.DomMatrixReadOnly._create_1(init); @@ -77717,6 +84379,7 @@ dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.DomMatrixReadOnly, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -77744,15 +84407,21 @@ dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); +dart.setLibraryUri(html$.DomMatrixReadOnly, I[150]); dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static ['_#_#tearOff']() { + return html$.DomMatrix.__(); + } static new(init = null) { if (init != null) { return html$.DomMatrix._create_1(init); } return html$.DomMatrix._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrix.new(init); + } static _create_1(init) { return new DOMMatrix(init); } @@ -77976,6 +84645,7 @@ dart.setMethodSignature(html$.DomMatrix, () => ({ [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.DomMatrix, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setSetterSignature(html$.DomMatrix, () => ({ __proto__: dart.getSetters(html$.DomMatrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -78001,12 +84671,18 @@ dart.setSetterSignature(html$.DomMatrix, () => ({ [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomMatrix, I[148]); +dart.setLibraryUri(html$.DomMatrix, I[150]); dart.registerExtension("DOMMatrix", html$.DomMatrix); -html$.DomParser = class DomParser extends _interceptors.Interceptor { +html$.DomParser = class DomParser extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomParser.__(); + } static new() { return html$.DomParser._create_1(); } + static ['_#new#tearOff']() { + return html$.DomParser.new(); + } static _create_1() { return new DOMParser(); } @@ -78020,9 +84696,13 @@ dart.setMethodSignature(html$.DomParser, () => ({ __proto__: dart.getMethods(html$.DomParser.__proto__), [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) })); -dart.setLibraryUri(html$.DomParser, I[148]); +dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.DomParser, I[150]); dart.registerExtension("DOMParser", html$.DomParser); -html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { +html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomPointReadOnly.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPointReadOnly._create_1(x, y, z, w); @@ -78038,6 +84718,9 @@ html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Intercepto } return html$.DomPointReadOnly._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPointReadOnly.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPointReadOnly(x, y, z, w); } @@ -78094,6 +84777,7 @@ dart.setMethodSignature(html$.DomPointReadOnly, () => ({ [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) })); +dart.setStaticMethodSignature(html$.DomPointReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setGetterSignature(html$.DomPointReadOnly, () => ({ __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78101,9 +84785,12 @@ dart.setGetterSignature(html$.DomPointReadOnly, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomPointReadOnly, I[148]); +dart.setLibraryUri(html$.DomPointReadOnly, I[150]); dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static ['_#_#tearOff']() { + return html$.DomPoint.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPoint._create_1(x, y, z, w); @@ -78119,6 +84806,9 @@ html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { } return html$.DomPoint._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPoint.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPoint(x, y, z, w); } @@ -78171,6 +84861,7 @@ html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { }; dart.addTypeTests(html$.DomPoint); dart.addTypeCaches(html$.DomPoint); +dart.setStaticMethodSignature(html$.DomPoint, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setSetterSignature(html$.DomPoint, () => ({ __proto__: dart.getSetters(html$.DomPoint.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78178,9 +84869,13 @@ dart.setSetterSignature(html$.DomPoint, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomPoint, I[148]); +dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); +dart.setLibraryUri(html$.DomPoint, I[150]); dart.registerExtension("DOMPoint", html$.DomPoint); -html$.DomQuad = class DomQuad extends _interceptors.Interceptor { +html$.DomQuad = class DomQuad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomQuad.__(); + } static new(p1 = null, p2 = null, p3 = null, p4 = null) { if (p4 != null) { let p1_1 = html_common.convertDartToNative_Dictionary(p1); @@ -78206,6 +84901,9 @@ html$.DomQuad = class DomQuad extends _interceptors.Interceptor { } return html$.DomQuad._create_5(); } + static ['_#new#tearOff'](p1 = null, p2 = null, p3 = null, p4 = null) { + return html$.DomQuad.new(p1, p2, p3, p4); + } static _create_1(p1, p2, p3, p4) { return new DOMQuad(p1, p2, p3, p4); } @@ -78257,6 +84955,7 @@ dart.setMethodSignature(html$.DomQuad, () => ({ __proto__: dart.getMethods(html$.DomQuad.__proto__), [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) })); +dart.setStaticMethodSignature(html$.DomQuad, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromQuad', '_fromQuad_1', '_fromQuad_2', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomQuad, () => ({ __proto__: dart.getGetters(html$.DomQuad.__proto__), [S$1.$p1]: dart.nullable(html$.DomPoint), @@ -78264,16 +84963,16 @@ dart.setGetterSignature(html$.DomQuad, () => ({ [S$1.$p3]: dart.nullable(html$.DomPoint), [S$1.$p4]: dart.nullable(html$.DomPoint) })); -dart.setLibraryUri(html$.DomQuad, I[148]); +dart.setLibraryUri(html$.DomQuad, I[150]); dart.registerExtension("DOMQuad", html$.DomQuad); const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); html$.ImmutableListMixin$ = dart.generic(E => { - var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$FixedSizeListIteratorOfE = () => (__t$FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class ImmutableListMixin extends core.Object { get iterator() { - return new (FixedSizeListIteratorOfE()).new(this); + return new (__t$FixedSizeListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -78283,8 +84982,8 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38019, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } sort(compare = null) { @@ -78294,24 +84993,24 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + if (index == null) dart.nullFailed(I[149], 38031, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + if (index == null) dart.nullFailed(I[149], 38035, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38035, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + if (index == null) dart.nullFailed(I[149], 38039, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38039, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } removeAt(pos) { - if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + if (pos == null) dart.nullFailed(I[149], 38043, 18, "pos"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeLast() { @@ -78321,37 +85020,37 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38055, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38059, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); - if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 38063, 21, "start"); + if (end == null) dart.nullFailed(I[149], 38063, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38063, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 38063, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); - if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + if (start == null) dart.nullFailed(I[149], 38067, 24, "start"); + if (end == null) dart.nullFailed(I[149], 38067, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); - if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 38071, 25, "start"); + if (end == null) dart.nullFailed(I[149], 38071, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38071, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); - if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 38075, 22, "start"); + if (end == null) dart.nullFailed(I[149], 38075, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } } @@ -78403,7 +85102,7 @@ html$.ImmutableListMixin$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.setLibraryUri(ImmutableListMixin, I[150]); dart.defineExtensionMethods(ImmutableListMixin, [ 'add', 'addAll', @@ -78427,35 +85126,38 @@ html$.ImmutableListMixin$ = dart.generic(E => { }); html$.ImmutableListMixin = html$.ImmutableListMixin$(); dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); -const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36.new = function() { - Interceptor_ListMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36.prototype; -dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); -const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; -(Interceptor_ImmutableListMixin$36.new = function() { - Interceptor_ImmutableListMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); -html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { +const JavaScriptObject_ListMixin$36 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36.new = function() { + JavaScriptObject_ListMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); +const JavaScriptObject_ImmutableListMixin$36 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36 {}; +(JavaScriptObject_ImmutableListMixin$36.new = function() { + JavaScriptObject_ImmutableListMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); +html$.DomRectList = class DomRectList extends JavaScriptObject_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.DomRectList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11428, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11434, 25, "index"); T$0.RectangleOfnum().as(value); - if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + if (value == null) dart.nullFailed(I[149], 11434, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11440, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78486,7 +85188,7 @@ html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11468, 27, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78503,6 +85205,7 @@ dart.setMethodSignature(html$.DomRectList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) })); +dart.setStaticMethodSignature(html$.DomRectList, () => ['__']); dart.setGetterSignature(html$.DomRectList, () => ({ __proto__: dart.getGetters(html$.DomRectList.__proto__), [$length]: core.int @@ -78511,10 +85214,10 @@ dart.setSetterSignature(html$.DomRectList, () => ({ __proto__: dart.getSetters(html$.DomRectList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.DomRectList, I[148]); +dart.setLibraryUri(html$.DomRectList, I[150]); dart.registerExtension("ClientRectList", html$.DomRectList); dart.registerExtension("DOMRectList", html$.DomRectList); -html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { +html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.JavaScriptObject { [$toString]() { return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); } @@ -78523,11 +85226,11 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + if (other == null) dart.nullFailed(I[149], 11502, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -78540,12 +85243,12 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + if (other == null) dart.nullFailed(I[149], 11520, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + if (other == null) dart.nullFailed(I[149], 11530, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -78553,11 +85256,11 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + if (another == null) dart.nullFailed(I[149], 11543, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + if (another == null) dart.nullFailed(I[149], 11553, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -78572,6 +85275,12 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$.DomRectReadOnly.__(); + } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$.DomRectReadOnly.new(x, y, width, height); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$.DomRectReadOnly._create_1(x, y, width, height); @@ -78663,6 +85372,7 @@ dart.setMethodSignature(html$.DomRectReadOnly, () => ({ [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) })); +dart.setStaticMethodSignature(html$.DomRectReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomRectReadOnly, () => ({ __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), [$topLeft]: math.Point$(core.num), @@ -78684,37 +85394,40 @@ dart.setGetterSignature(html$.DomRectReadOnly, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomRectReadOnly, I[148]); +dart.setLibraryUri(html$.DomRectReadOnly, I[150]); dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); -const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$.new = function() { - Interceptor_ListMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$.prototype; -dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); -const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; -(Interceptor_ImmutableListMixin$36$.new = function() { - Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); -html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { +const JavaScriptObject_ListMixin$36$ = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$.new = function() { + JavaScriptObject_ListMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$, collection.ListMixin$(core.String)); +const JavaScriptObject_ImmutableListMixin$36$ = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$ {}; +(JavaScriptObject_ImmutableListMixin$36$.new = function() { + JavaScriptObject_ImmutableListMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); +html$.DomStringList = class DomStringList extends JavaScriptObject_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.DomStringList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11678, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11684, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + if (value == null) dart.nullFailed(I[149], 11684, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11690, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78745,7 +85458,7 @@ html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11718, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78755,13 +85468,14 @@ html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin html$.DomStringList.prototype[dart.isList] = true; dart.addTypeTests(html$.DomStringList); dart.addTypeCaches(html$.DomStringList); -html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; +html$.DomStringList[dart.implements] = () => [core.List$(core.String), _js_helper.JavaScriptIndexingBehavior$(core.String)]; dart.setMethodSignature(html$.DomStringList, () => ({ __proto__: dart.getMethods(html$.DomStringList.__proto__), [$_get]: dart.fnType(core.String, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); +dart.setStaticMethodSignature(html$.DomStringList, () => ['__']); dart.setGetterSignature(html$.DomStringList, () => ({ __proto__: dart.getGetters(html$.DomStringList.__proto__), [$length]: core.int @@ -78770,9 +85484,12 @@ dart.setSetterSignature(html$.DomStringList, () => ({ __proto__: dart.getSetters(html$.DomStringList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.DomStringList, I[148]); +dart.setLibraryUri(html$.DomStringList, I[150]); dart.registerExtension("DOMStringList", html$.DomStringList); -html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { +html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomStringMap.__(); + } [S$1.__delete__](...args) { return this.__delete__.apply(this, args); } @@ -78791,9 +85508,13 @@ dart.setMethodSignature(html$.DomStringMap, () => ({ [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), [S$.$item]: dart.fnType(core.String, [core.String]) })); -dart.setLibraryUri(html$.DomStringMap, I[148]); +dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); +dart.setLibraryUri(html$.DomStringMap, I[150]); dart.registerExtension("DOMStringMap", html$.DomStringMap); -html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { +html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomTokenList.__(); + } get [$length]() { return this.length; } @@ -78837,6 +85558,7 @@ dart.setMethodSignature(html$.DomTokenList, () => ({ [S$1.$supports]: dart.fnType(core.bool, [core.String]), [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.DomTokenList, () => ['__']); dart.setGetterSignature(html$.DomTokenList, () => ({ __proto__: dart.getGetters(html$.DomTokenList.__proto__), [$length]: core.int, @@ -78846,38 +85568,42 @@ dart.setSetterSignature(html$.DomTokenList, () => ({ __proto__: dart.getSetters(html$.DomTokenList.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomTokenList, I[148]); +dart.setLibraryUri(html$.DomTokenList, I[150]); dart.registerExtension("DOMTokenList", html$.DomTokenList); html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + static ['_#_wrap#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); + return new html$._ChildrenElementList._wrap(element); + } contains(element) { return this[S$1._childElements][$contains](element); } get isEmpty() { - return this[S$1._element$2][S._firstElementChild] == null; + return this[S$1._element][S._firstElementChild] == null; } get length() { return this[S$1._childElements][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11795, 27, "index"); return html$.Element.as(this[S$1._childElements][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11799, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); - this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + if (value == null) dart.nullFailed(I[149], 11799, 40, "value"); + this[S$1._element][S$._replaceChild](value, this[S$1._childElements][$_get](index)); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 11803, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); - this[S$1._element$2][S.$append](value); + if (value == null) dart.nullFailed(I[149], 11808, 23, "value"); + this[S$1._element][S.$append](value); return value; } get iterator() { @@ -78885,12 +85611,12 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); - html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 11815, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element], iterable); } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (_element == null) dart.nullFailed(I[149], 11819, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 11819, 59, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { iterable = T$0.ListOfElement().from(iterable); } @@ -78905,59 +85631,59 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11837, 25, "test"); this[S$1._filter$2](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11841, 25, "test"); this[S$1._filter$2](test, true); } [S$1._filter$2](test, retainMatching) { - if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + if (test == null) dart.nullFailed(I[149], 11845, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[149], 11845, 49, "retainMatching"); let removed = null; if (dart.test(retainMatching)) { - removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + removed = this[S$1._element][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 11848, 42, "e"); return !dart.test(test(e)); }, T$0.ElementTobool())); } else { - removed = this[S$1._element$2][S.$children][$where](test); + removed = this[S$1._element][S.$children][$where](test); } - for (let e of core.Iterable.as(removed)) - dart.dsend(e, 'remove', []); + for (let e of removed) + e[$remove](); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); - if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + if (start == null) dart.nullFailed(I[149], 11855, 22, "start"); + if (end == null) dart.nullFailed(I[149], 11855, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnimplementedError.new()); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); - if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + if (start == null) dart.nullFailed(I[149], 11859, 25, "start"); + if (end == null) dart.nullFailed(I[149], 11859, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11859, 59, "iterable"); dart.throw(new core.UnimplementedError.new()); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); - if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + if (start == null) dart.nullFailed(I[149], 11863, 24, "start"); + if (end == null) dart.nullFailed(I[149], 11863, 35, "end"); dart.throw(new core.UnimplementedError.new()); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); - if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + if (start == null) dart.nullFailed(I[149], 11867, 21, "start"); + if (end == null) dart.nullFailed(I[149], 11867, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 11867, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 11868, 12, "skipCount"); dart.throw(new core.UnimplementedError.new()); } remove(object) { - return html$._ChildrenElementList._remove(this[S$1._element$2], object); + return html$._ChildrenElementList._remove(this[S$1._element], object); } static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); if (html$.Element.is(object)) { let element = object; if (element.parentNode == _element) { @@ -78968,60 +85694,60 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB return false; } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); html$.Element.as(element); - if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (element == null) dart.nullFailed(I[149], 11887, 34, "element"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } if (index == this.length) { - this[S$1._element$2][S.$append](element); + this[S$1._element][S.$append](element); } else { - this[S$1._element$2].insertBefore(element, this._get(index)); + this[S$1._element].insertBefore(element, this._get(index)); } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11898, 47, "iterable"); dart.throw(new core.UnimplementedError.new()); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11902, 19, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); dart.throw(new core.UnimplementedError.new()); } clear() { - this[S$1._element$2][S$._clearChildren](); + this[S$1._element][S$._clearChildren](); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); let result = this._get(index); if (result != null) { - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); } return result; } removeLast() { let result = this.last; - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); return result; } get first() { - return html$._ChildrenElementList._first(this[S$1._element$2]); + return html$._ChildrenElementList._first(this[S$1._element]); } set first(value) { super.first = value; } static _first(_element) { - if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 11928, 33, "_element"); let result = _element[S._firstElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } get last() { - let result = this[S$1._element$2][S._lastElementChild]; + let result = this[S$1._element][S._lastElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } @@ -79037,9 +85763,9 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB } }; (html$._ChildrenElementList._wrap = function(element) { - if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); - this[S$1._element$2] = element; + this[S$1._element] = element; ; }).prototype = html$._ChildrenElementList.prototype; dart.addTypeTests(html$._ChildrenElementList); @@ -79055,6 +85781,7 @@ dart.setMethodSignature(html$._ChildrenElementList, () => ({ [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) })); +dart.setStaticMethodSignature(html$._ChildrenElementList, () => ['_addAll', '_remove', '_first']); dart.setGetterSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), length: core.int, @@ -79066,10 +85793,10 @@ dart.setSetterSignature(html$._ChildrenElementList, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html$._ChildrenElementList, I[148]); +dart.setLibraryUri(html$._ChildrenElementList, I[150]); dart.setFieldSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._element]: dart.finalFieldType(html$.Element), [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) })); dart.defineExtensionMethods(html$._ChildrenElementList, [ @@ -79111,32 +85838,36 @@ html$.ElementList$ = dart.generic(T => { dart.addTypeTests(ElementList); ElementList.prototype[_is_ElementList_default] = true; dart.addTypeCaches(ElementList); - dart.setLibraryUri(ElementList, I[148]); + dart.setLibraryUri(ElementList, I[150]); return ElementList; }); html$.ElementList = html$.ElementList$(); dart.addTypeTests(html$.ElementList, _is_ElementList_default); const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); html$._FrozenElementList$ = dart.generic(E => { - var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + var __t$ETovoid = () => (__t$ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); class _FrozenElementList extends collection.ListBase$(E) { + static ['_#_wrap#tearOff'](E, _nodeList) { + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); + return new (html$._FrozenElementList$(E))._wrap(_nodeList); + } get length() { return this[S$1._nodeList][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + if (index == null) dart.nullFailed(I[149], 12343, 21, "index"); return E.as(this[S$1._nodeList][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + if (index == null) dart.nullFailed(I[149], 12345, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + if (value == null) dart.nullFailed(I[149], 12345, 34, "value"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 12349, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); } sort(compare = null) { @@ -79167,11 +85898,11 @@ html$._FrozenElementList$ = dart.generic(E => { return new html$._CssStyleDeclarationSet.new(this); } set classes(value) { - if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); return e[S.$classes] = value; - }, ETovoid())); + }, __t$ETovoid())); } get contentEdge() { return new html$._ContentCssListRect.new(this); @@ -79400,15 +86131,15 @@ html$._FrozenElementList$ = dart.generic(E => { } } (_FrozenElementList._wrap = function(_nodeList) { - if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); this[S$1._nodeList] = _nodeList; if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + if (element == null) dart.nullFailed(I[149], 12337, 34, "element"); return E.is(element); }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + if (e == null) dart.nullFailed(I[149], 12338, 93, "e"); return !E.is(e); - }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }, T$0.NodeTobool()))), I[149], 12337, 12, "this._nodeList.every((element) => element is E)"); }).prototype = _FrozenElementList.prototype; dart.addTypeTests(_FrozenElementList); _FrozenElementList.prototype[_is__FrozenElementList_default] = true; @@ -79509,7 +86240,7 @@ html$._FrozenElementList$ = dart.generic(E => { [$length]: core.int, classes: core.Iterable$(core.String) })); - dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setLibraryUri(_FrozenElementList, I[150]); dart.setFieldSignature(_FrozenElementList, () => ({ __proto__: dart.getFields(_FrozenElementList.__proto__), [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) @@ -79522,19 +86253,23 @@ html$._FrozenElementList = html$._FrozenElementList$(); dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { static createElement_tag(tag, typeExtension) { - if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (tag == null) dart.nullFailed(I[149], 15311, 43, "tag"); if (typeExtension != null) { return document.createElement(tag, typeExtension); } return document.createElement(tag); } + static ['_#new#tearOff']() { + return new html$._ElementFactoryProvider.new(); + } }; (html$._ElementFactoryProvider.new = function() { ; }).prototype = html$._ElementFactoryProvider.prototype; dart.addTypeTests(html$._ElementFactoryProvider); dart.addTypeCaches(html$._ElementFactoryProvider); -dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); +dart.setStaticMethodSignature(html$._ElementFactoryProvider, () => ['createElement_tag']); +dart.setLibraryUri(html$._ElementFactoryProvider, I[150]); html$.ScrollAlignment = class ScrollAlignment extends core.Object { get [S$1._value$7]() { return this[S$1._value$6]; @@ -79542,6 +86277,9 @@ html$.ScrollAlignment = class ScrollAlignment extends core.Object { set [S$1._value$7](value) { super[S$1._value$7] = value; } + static ['_#_internal#tearOff'](_value) { + return new html$.ScrollAlignment._internal(_value); + } toString() { return "ScrollAlignment." + dart.str(this[S$1._value$7]); } @@ -79552,27 +86290,37 @@ html$.ScrollAlignment = class ScrollAlignment extends core.Object { }).prototype = html$.ScrollAlignment.prototype; dart.addTypeTests(html$.ScrollAlignment); dart.addTypeCaches(html$.ScrollAlignment); -dart.setLibraryUri(html$.ScrollAlignment, I[148]); +dart.setLibraryUri(html$.ScrollAlignment, I[150]); dart.setFieldSignature(html$.ScrollAlignment, () => ({ __proto__: dart.getFields(html$.ScrollAlignment.__proto__), [S$1._value$7]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(html$.ScrollAlignment, () => ['TOP', 'CENTER', 'BOTTOM']); dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); dart.defineLazy(html$.ScrollAlignment, { /*html$.ScrollAlignment.TOP*/get TOP() { - return C[327] || CT.C327; + return C[337] || CT.C337; }, /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[328] || CT.C328; + return C[338] || CT.C338; }, /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - return C[329] || CT.C329; + return C[339] || CT.C339; } }, false); html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.EmbedElement.__(); + } static new() { return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); } + static ['_#new#tearOff']() { + return html$.EmbedElement.new(); + } + static ['_#created#tearOff']() { + return new html$.EmbedElement.created(); + } static get supported() { return html$.Element.isTagSupported("embed"); } @@ -79624,6 +86372,7 @@ dart.setMethodSignature(html$.EmbedElement, () => ({ [S$.__getter__]: dart.fnType(html$.Node, [core.String]), [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) })); +dart.setStaticMethodSignature(html$.EmbedElement, () => ['__', 'new']); dart.setGetterSignature(html$.EmbedElement, () => ({ __proto__: dart.getGetters(html$.EmbedElement.__proto__), [$height]: core.String, @@ -79640,17 +86389,25 @@ dart.setSetterSignature(html$.EmbedElement, () => ({ [S.$type]: core.String, [$width]: core.String })); -dart.setLibraryUri(html$.EmbedElement, I[148]); +dart.setStaticGetterSignature(html$.EmbedElement, () => ['supported']); +dart.setLibraryUri(html$.EmbedElement, I[150]); dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ErrorEvent._create_1(type, eventInitDict_1); } return html$.ErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); + return html$.ErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ErrorEvent(type, eventInitDict); } @@ -79675,6 +86432,7 @@ html$.ErrorEvent = class ErrorEvent$ extends html$.Event { }; dart.addTypeTests(html$.ErrorEvent); dart.addTypeCaches(html$.ErrorEvent); +dart.setStaticMethodSignature(html$.ErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ErrorEvent, () => ({ __proto__: dart.getGetters(html$.ErrorEvent.__proto__), [S$1.$colno]: dart.nullable(core.int), @@ -79683,17 +86441,25 @@ dart.setGetterSignature(html$.ErrorEvent, () => ({ [S$1.$lineno]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ErrorEvent, I[148]); +dart.setLibraryUri(html$.ErrorEvent, I[150]); dart.registerExtension("ErrorEvent", html$.ErrorEvent); html$.EventSource = class EventSource$ extends html$.EventTarget { static new(url, opts) { - if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); return html$.EventSource._factoryEventSource(url, parsedOptions); } + static ['_#new#tearOff'](url, opts) { + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + return html$.EventSource.new(url, {withCredentials: withCredentials}); + } + static ['_#_#tearOff']() { + return html$.EventSource.__(); + } static _factoryEventSource(url, eventSourceInitDict = null) { - if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (url == null) dart.nullFailed(I[149], 15742, 49, "url"); if (eventSourceInitDict != null) { let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); return html$.EventSource._create_1(url, eventSourceInitDict_1); @@ -79734,6 +86500,7 @@ dart.setMethodSignature(html$.EventSource, () => ({ __proto__: dart.getMethods(html$.EventSource.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.EventSource, () => ['new', '__', '_factoryEventSource', '_create_1', '_create_2']); dart.setGetterSignature(html$.EventSource, () => ({ __proto__: dart.getGetters(html$.EventSource.__proto__), [S.$readyState]: dart.nullable(core.int), @@ -79743,16 +86510,17 @@ dart.setGetterSignature(html$.EventSource, () => ({ [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S$1.$onOpen]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.EventSource, I[148]); +dart.setLibraryUri(html$.EventSource, I[150]); +dart.setStaticFieldSignature(html$.EventSource, () => ['errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.EventSource, { /*html$.EventSource.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.EventSource.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.EventSource.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.EventSource.CLOSED*/get CLOSED() { return 2; @@ -79766,13 +86534,17 @@ dart.defineLazy(html$.EventSource, { }, false); dart.registerExtension("EventSource", html$.EventSource); html$.Events = class Events extends core.Object { + static ['_#new#tearOff'](_ptr) { + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); + return new html$.Events.new(_ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15826, 36, "type"); return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); } }; (html$.Events.new = function(_ptr) { - if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); this[S$1._ptr] = _ptr; ; }).prototype = html$.Events.prototype; @@ -79782,14 +86554,18 @@ dart.setMethodSignature(html$.Events, () => ({ __proto__: dart.getMethods(html$.Events.__proto__), _get: dart.fnType(async.Stream$(html$.Event), [core.String]) })); -dart.setLibraryUri(html$.Events, I[148]); +dart.setLibraryUri(html$.Events, I[150]); dart.setFieldSignature(html$.Events, () => ({ __proto__: dart.getFields(html$.Events.__proto__), [S$1._ptr]: dart.finalFieldType(html$.EventTarget) })); html$.ElementEvents = class ElementEvents extends html$.Events { + static ['_#new#tearOff'](ptr) { + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); + return new html$.ElementEvents.new(ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15851, 36, "type"); if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { if (dart.test(html_common.Device.isWebKit)) { return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); @@ -79799,19 +86575,23 @@ html$.ElementEvents = class ElementEvents extends html$.Events { } }; (html$.ElementEvents.new = function(ptr) { - if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); html$.ElementEvents.__proto__.new.call(this, ptr); ; }).prototype = html$.ElementEvents.prototype; dart.addTypeTests(html$.ElementEvents); dart.addTypeCaches(html$.ElementEvents); -dart.setLibraryUri(html$.ElementEvents, I[148]); +dart.setLibraryUri(html$.ElementEvents, I[150]); +dart.setStaticFieldSignature(html$.ElementEvents, () => ['webkitEvents']); dart.defineLazy(html$.ElementEvents, { /*html$.ElementEvents.webkitEvents*/get webkitEvents() { return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); } }, false); html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ExtendableMessageEvent.__(); + } get [S$.$data]() { return this.data; } @@ -79830,6 +86610,7 @@ html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.Extend }; dart.addTypeTests(html$.ExtendableMessageEvent); dart.addTypeCaches(html$.ExtendableMessageEvent); +dart.setStaticMethodSignature(html$.ExtendableMessageEvent, () => ['__']); dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), [S$.$data]: dart.nullable(core.Object), @@ -79838,9 +86619,12 @@ dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), [S.$source]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); +dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); -html$.External = class External extends _interceptors.Interceptor { +html$.External = class External extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.External.__(); + } [S$1.$AddSearchProvider](...args) { return this.AddSearchProvider.apply(this, args); } @@ -79855,9 +86639,13 @@ dart.setMethodSignature(html$.External, () => ({ [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.External, I[148]); +dart.setStaticMethodSignature(html$.External, () => ['__']); +dart.setLibraryUri(html$.External, I[150]); dart.registerExtension("External", html$.External); -html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { +html$.FaceDetector = class FaceDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FaceDetector.__(); + } static new(faceDetectorOptions = null) { if (faceDetectorOptions != null) { let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); @@ -79865,6 +86653,9 @@ html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { } return html$.FaceDetector._create_2(); } + static ['_#new#tearOff'](faceDetectorOptions = null) { + return html$.FaceDetector.new(faceDetectorOptions); + } static _create_1(faceDetectorOptions) { return new FaceDetector(faceDetectorOptions); } @@ -79881,14 +86672,22 @@ dart.setMethodSignature(html$.FaceDetector, () => ({ __proto__: dart.getMethods(html$.FaceDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.FaceDetector, I[148]); +dart.setStaticMethodSignature(html$.FaceDetector, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.FaceDetector, I[150]); dart.registerExtension("FaceDetector", html$.FaceDetector); html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.FederatedCredential.__(); + } static new(data) { - if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); let data_1 = html_common.convertDartToNative_Dictionary(data); return html$.FederatedCredential._create_1(data_1); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); + return html$.FederatedCredential.new(data); + } static _create_1(data) { return new FederatedCredential(data); } @@ -79908,6 +86707,7 @@ html$.FederatedCredential = class FederatedCredential$ extends html$.Credential dart.addTypeTests(html$.FederatedCredential); dart.addTypeCaches(html$.FederatedCredential); html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setStaticMethodSignature(html$.FederatedCredential, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FederatedCredential, () => ({ __proto__: dart.getGetters(html$.FederatedCredential.__proto__), [S$.$protocol]: dart.nullable(core.String), @@ -79915,15 +86715,23 @@ dart.setGetterSignature(html$.FederatedCredential, () => ({ [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FederatedCredential, I[148]); +dart.setLibraryUri(html$.FederatedCredential, I[150]); dart.registerExtension("FederatedCredential", html$.FederatedCredential); html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.FetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); + return html$.FetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FetchEvent(type, eventInitDict); } @@ -79949,6 +86757,7 @@ dart.setMethodSignature(html$.FetchEvent, () => ({ __proto__: dart.getMethods(html$.FetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.FetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FetchEvent, () => ({ __proto__: dart.getGetters(html$.FetchEvent.__proto__), [S$1.$clientId]: dart.nullable(core.String), @@ -79956,12 +86765,21 @@ dart.setGetterSignature(html$.FetchEvent, () => ({ [S$1.$preloadResponse]: async.Future, [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.FetchEvent, I[148]); +dart.setLibraryUri(html$.FetchEvent, I[150]); dart.registerExtension("FetchEvent", html$.FetchEvent); html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FieldSetElement.__(); + } static new() { return html$.document.createElement("fieldset"); } + static ['_#new#tearOff']() { + return html$.FieldSetElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FieldSetElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -80014,6 +86832,7 @@ dart.setMethodSignature(html$.FieldSetElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.FieldSetElement, () => ['__', 'new']); dart.setGetterSignature(html$.FieldSetElement, () => ({ __proto__: dart.getGetters(html$.FieldSetElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -80030,18 +86849,26 @@ dart.setSetterSignature(html$.FieldSetElement, () => ({ [S$.$disabled]: dart.nullable(core.bool), [$name]: core.String })); -dart.setLibraryUri(html$.FieldSetElement, I[148]); +dart.setLibraryUri(html$.FieldSetElement, I[150]); dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); html$.File = class File$ extends html$.Blob { + static ['_#_#tearOff']() { + return html$.File.__(); + } static new(fileBits, fileName, options = null) { - if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); - if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.File._create_1(fileBits, fileName, options_1); } return html$.File._create_2(fileBits, fileName); } + static ['_#new#tearOff'](fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); + return html$.File.new(fileBits, fileName, options); + } static _create_1(fileBits, fileName, options) { return new File(fileBits, fileName, options); } @@ -80066,6 +86893,7 @@ html$.File = class File$ extends html$.Blob { }; dart.addTypeTests(html$.File); dart.addTypeCaches(html$.File); +dart.setStaticMethodSignature(html$.File, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.File, () => ({ __proto__: dart.getGetters(html$.File.__proto__), [S$1.$lastModified]: dart.nullable(core.int), @@ -80074,20 +86902,23 @@ dart.setGetterSignature(html$.File, () => ({ [$name]: core.String, [S$1.$relativePath]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.File, I[148]); +dart.setLibraryUri(html$.File, I[150]); dart.registerExtension("File", html$.File); html$.FileEntry = class FileEntry extends html$.Entry { + static ['_#_#tearOff']() { + return html$.FileEntry.__(); + } [S$1._createWriter](...args) { return this.createWriter.apply(this, args); } [S$1.$createWriter]() { let completer = T$0.CompleterOfFileWriter().new(); this[S$1._createWriter](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + if (value == null) dart.nullFailed(I[149], 16178, 20, "value"); _js_helper.applyExtension("FileWriter", value); completer.complete(value); }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80101,7 +86932,7 @@ html$.FileEntry = class FileEntry extends html$.Entry { _js_helper.applyExtension("File", value); completer.complete(value); }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80116,37 +86947,43 @@ dart.setMethodSignature(html$.FileEntry, () => ({ [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$file]: dart.fnType(async.Future$(html$.File), []) })); -dart.setLibraryUri(html$.FileEntry, I[148]); +dart.setStaticMethodSignature(html$.FileEntry, () => ['__']); +dart.setLibraryUri(html$.FileEntry, I[150]); dart.registerExtension("FileEntry", html$.FileEntry); -const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$0.new = function() { - Interceptor_ListMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$0.prototype; -dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); -const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; -(Interceptor_ImmutableListMixin$36$0.new = function() { - Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$0.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); -html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { +dart.registerExtension("webkitFileSystemFileEntry", html$.FileEntry); +dart.registerExtension("FileSystemFileEntry", html$.FileEntry); +const JavaScriptObject_ListMixin$36$0 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$0.new = function() { + JavaScriptObject_ListMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$0, collection.ListMixin$(html$.File)); +const JavaScriptObject_ImmutableListMixin$36$0 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$0 {}; +(JavaScriptObject_ImmutableListMixin$36$0.new = function() { + JavaScriptObject_ImmutableListMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); +html$.FileList = class FileList extends JavaScriptObject_ImmutableListMixin$36$0 { + static ['_#_#tearOff']() { + return html$.FileList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 16218, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + if (index == null) dart.nullFailed(I[149], 16224, 25, "index"); html$.File.as(value); - if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + if (value == null) dart.nullFailed(I[149], 16224, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + if (value == null) dart.nullFailed(I[149], 16230, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -80177,7 +87014,7 @@ html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + if (index == null) dart.nullFailed(I[149], 16258, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -80194,6 +87031,7 @@ dart.setMethodSignature(html$.FileList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) })); +dart.setStaticMethodSignature(html$.FileList, () => ['__']); dart.setGetterSignature(html$.FileList, () => ({ __proto__: dart.getGetters(html$.FileList.__proto__), [$length]: core.int @@ -80202,7 +87040,7 @@ dart.setSetterSignature(html$.FileList, () => ({ __proto__: dart.getSetters(html$.FileList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.FileList, I[148]); +dart.setLibraryUri(html$.FileList, I[150]); dart.registerExtension("FileList", html$.FileList); html$.FileReader = class FileReader$ extends html$.EventTarget { get [S.$result]() { @@ -80212,9 +87050,15 @@ html$.FileReader = class FileReader$ extends html$.EventTarget { } return res; } + static ['_#_#tearOff']() { + return html$.FileReader.__(); + } static new() { return html$.FileReader._create_1(); } + static ['_#new#tearOff']() { + return html$.FileReader.new(); + } static _create_1() { return new FileReader(); } @@ -80264,6 +87108,7 @@ dart.setMethodSignature(html$.FileReader, () => ({ [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.FileReader, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FileReader, () => ({ __proto__: dart.getGetters(html$.FileReader.__proto__), [S.$result]: dart.nullable(core.Object), @@ -80276,25 +87121,26 @@ dart.setGetterSignature(html$.FileReader, () => ({ [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), [S$.$onProgress]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.FileReader, I[148]); +dart.setLibraryUri(html$.FileReader, I[150]); +dart.setStaticFieldSignature(html$.FileReader, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'DONE', 'EMPTY', 'LOADING']); dart.defineLazy(html$.FileReader, { /*html$.FileReader.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileReader.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.FileReader.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.FileReader.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileReader.DONE*/get DONE() { return 2; @@ -80307,7 +87153,10 @@ dart.defineLazy(html$.FileReader, { } }, false); dart.registerExtension("FileReader", html$.FileReader); -html$.FileSystem = class FileSystem extends _interceptors.Interceptor { +html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FileSystem.__(); + } static get supported() { return !!window.webkitRequestFileSystem; } @@ -80320,14 +87169,22 @@ html$.FileSystem = class FileSystem extends _interceptors.Interceptor { }; dart.addTypeTests(html$.FileSystem); dart.addTypeCaches(html$.FileSystem); +dart.setStaticMethodSignature(html$.FileSystem, () => ['__']); dart.setGetterSignature(html$.FileSystem, () => ({ __proto__: dart.getGetters(html$.FileSystem.__proto__), [$name]: dart.nullable(core.String), [S$1.$root]: dart.nullable(html$.DirectoryEntry) })); -dart.setLibraryUri(html$.FileSystem, I[148]); +dart.setStaticGetterSignature(html$.FileSystem, () => ['supported']); +dart.setLibraryUri(html$.FileSystem, I[150]); dart.registerExtension("DOMFileSystem", html$.FileSystem); +dart.registerExtension("WebKitFileSystem", html$.FileSystem); +dart.registerExtension("webkitFileSystem", html$.FileSystem); +dart.registerExtension("FileSystem", html$.FileSystem); html$.FileWriter = class FileWriter extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FileWriter.__(); + } get [S.$error]() { return this.error; } @@ -80380,6 +87237,7 @@ dart.setMethodSignature(html$.FileWriter, () => ({ [$truncate]: dart.fnType(dart.void, [core.int]), [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) })); +dart.setStaticMethodSignature(html$.FileWriter, () => ['__']); dart.setGetterSignature(html$.FileWriter, () => ({ __proto__: dart.getGetters(html$.FileWriter.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -80393,25 +87251,26 @@ dart.setGetterSignature(html$.FileWriter, () => ({ [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.FileWriter, I[148]); +dart.setLibraryUri(html$.FileWriter, I[150]); +dart.setStaticFieldSignature(html$.FileWriter, () => ['abortEvent', 'errorEvent', 'progressEvent', 'writeEvent', 'writeEndEvent', 'writeStartEvent', 'DONE', 'INIT', 'WRITING']); dart.defineLazy(html$.FileWriter, { /*html$.FileWriter.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[336] || CT.C336; + return C[346] || CT.C346; }, /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[337] || CT.C337; + return C[347] || CT.C347; }, /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[338] || CT.C338; + return C[348] || CT.C348; }, /*html$.FileWriter.DONE*/get DONE() { return 2; @@ -80425,14 +87284,21 @@ dart.defineLazy(html$.FileWriter, { }, false); dart.registerExtension("FileWriter", html$.FileWriter); html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.FocusEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FocusEvent._create_1(type, eventInitDict_1); } return html$.FocusEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); + return html$.FocusEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FocusEvent(type, eventInitDict); } @@ -80448,23 +87314,32 @@ html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { }; dart.addTypeTests(html$.FocusEvent); dart.addTypeCaches(html$.FocusEvent); +dart.setStaticMethodSignature(html$.FocusEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FocusEvent, () => ({ __proto__: dart.getGetters(html$.FocusEvent.__proto__), [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), [S$1._get_relatedTarget]: dart.dynamic })); -dart.setLibraryUri(html$.FocusEvent, I[148]); +dart.setLibraryUri(html$.FocusEvent, I[150]); dart.registerExtension("FocusEvent", html$.FocusEvent); -html$.FontFace = class FontFace$ extends _interceptors.Interceptor { +html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFace.__(); + } static new(family, source, descriptors = null) { - if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); - if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); if (descriptors != null) { let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); return html$.FontFace._create_1(family, source, descriptors_1); } return html$.FontFace._create_2(family, source); } + static ['_#new#tearOff'](family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); + return html$.FontFace.new(family, source, descriptors); + } static _create_1(family, source, descriptors) { return new FontFace(family, source, descriptors); } @@ -80535,6 +87410,7 @@ dart.setMethodSignature(html$.FontFace, () => ({ __proto__: dart.getMethods(html$.FontFace.__proto__), [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) })); +dart.setStaticMethodSignature(html$.FontFace, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFace, () => ({ __proto__: dart.getGetters(html$.FontFace.__proto__), [S$0.$display]: dart.nullable(core.String), @@ -80559,9 +87435,12 @@ dart.setSetterSignature(html$.FontFace, () => ({ [S$1.$variant]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FontFace, I[148]); +dart.setLibraryUri(html$.FontFace, I[150]); dart.registerExtension("FontFace", html$.FontFace); html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FontFaceSet.__(); + } get [S$.$status]() { return this.status; } @@ -80597,13 +87476,14 @@ dart.addTypeTests(html$.FontFaceSet); dart.addTypeCaches(html$.FontFaceSet); dart.setMethodSignature(html$.FontFaceSet, () => ({ __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [$add]: dart.fnType(dart.nullable(html$.FontFaceSet), [html$.FontFace]), [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), [$clear]: dart.fnType(dart.void, []), [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) })); +dart.setStaticMethodSignature(html$.FontFaceSet, () => ['__']); dart.setGetterSignature(html$.FontFaceSet, () => ({ __proto__: dart.getGetters(html$.FontFaceSet.__proto__), [S$.$status]: dart.nullable(core.String), @@ -80611,28 +87491,36 @@ dart.setGetterSignature(html$.FontFaceSet, () => ({ [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) })); -dart.setLibraryUri(html$.FontFaceSet, I[148]); +dart.setLibraryUri(html$.FontFaceSet, I[150]); +dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); dart.defineLazy(html$.FontFaceSet, { /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[339] || CT.C339; + return C[349] || CT.C349; }, /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[340] || CT.C340; + return C[350] || CT.C350; }, /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - return C[341] || CT.C341; + return C[351] || CT.C351; } }, false); dart.registerExtension("FontFaceSet", html$.FontFaceSet); html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.FontFaceSetLoadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); } return html$.FontFaceSetLoadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); + return html$.FontFaceSetLoadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FontFaceSetLoadEvent(type, eventInitDict); } @@ -80645,32 +87533,45 @@ html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { }; dart.addTypeTests(html$.FontFaceSetLoadEvent); dart.addTypeCaches(html$.FontFaceSetLoadEvent); +dart.setStaticMethodSignature(html$.FontFaceSetLoadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) })); -dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); +dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[150]); dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); -html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { +html$.FontFaceSource = class FontFaceSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFaceSource.__(); + } get [S$1.$fonts]() { return this.fonts; } }; dart.addTypeTests(html$.FontFaceSource); dart.addTypeCaches(html$.FontFaceSource); +dart.setStaticMethodSignature(html$.FontFaceSource, () => ['__']); dart.setGetterSignature(html$.FontFaceSource, () => ({ __proto__: dart.getGetters(html$.FontFaceSource.__proto__), [S$1.$fonts]: dart.nullable(html$.FontFaceSet) })); -dart.setLibraryUri(html$.FontFaceSource, I[148]); +dart.setLibraryUri(html$.FontFaceSource, I[150]); dart.registerExtension("FontFaceSource", html$.FontFaceSource); html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ForeignFetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); + return html$.ForeignFetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ForeignFetchEvent(type, eventInitDict); } @@ -80690,20 +87591,27 @@ dart.setMethodSignature(html$.ForeignFetchEvent, () => ({ __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.ForeignFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), [S$.$origin]: dart.nullable(core.String), [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); +dart.setLibraryUri(html$.ForeignFetchEvent, I[150]); dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); -html$.FormData = class FormData$ extends _interceptors.Interceptor { +html$.FormData = class FormData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FormData.__(); + } static new(form = null) { if (form != null) { return html$.FormData._create_1(form); } return html$.FormData._create_2(); } + static ['_#new#tearOff'](form = null) { + return html$.FormData.new(form); + } static _create_1(form) { return new FormData(form); } @@ -80747,12 +87655,23 @@ dart.setMethodSignature(html$.FormData, () => ({ [S$.$has]: dart.fnType(core.bool, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) })); -dart.setLibraryUri(html$.FormData, I[148]); +dart.setStaticMethodSignature(html$.FormData, () => ['__', 'new', '_create_1', '_create_2']); +dart.setStaticGetterSignature(html$.FormData, () => ['supported']); +dart.setLibraryUri(html$.FormData, I[150]); dart.registerExtension("FormData", html$.FormData); html$.FormElement = class FormElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FormElement.__(); + } static new() { return html$.document.createElement("form"); } + static ['_#new#tearOff']() { + return html$.FormElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FormElement.created(); + } get [S$1.$acceptCharset]() { return this.acceptCharset; } @@ -80854,6 +87773,7 @@ dart.setMethodSignature(html$.FormElement, () => ({ [S$1.$reset]: dart.fnType(dart.void, []), [S$1.$submit]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.FormElement, () => ['__', 'new']); dart.setGetterSignature(html$.FormElement, () => ({ __proto__: dart.getGetters(html$.FormElement.__proto__), [S$1.$acceptCharset]: dart.nullable(core.String), @@ -80879,9 +87799,12 @@ dart.setSetterSignature(html$.FormElement, () => ({ [S$1.$noValidate]: dart.nullable(core.bool), [S.$target]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FormElement, I[148]); +dart.setLibraryUri(html$.FormElement, I[150]); dart.registerExtension("HTMLFormElement", html$.FormElement); -html$.Gamepad = class Gamepad extends _interceptors.Interceptor { +html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Gamepad.__(); + } get [S$1.$axes]() { return this.axes; } @@ -80915,6 +87838,7 @@ html$.Gamepad = class Gamepad extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Gamepad); dart.addTypeCaches(html$.Gamepad); +dart.setStaticMethodSignature(html$.Gamepad, () => ['__']); dart.setGetterSignature(html$.Gamepad, () => ({ __proto__: dart.getGetters(html$.Gamepad.__proto__), [S$1.$axes]: dart.nullable(core.List$(core.num)), @@ -80928,9 +87852,12 @@ dart.setGetterSignature(html$.Gamepad, () => ({ [S$1.$pose]: dart.nullable(html$.GamepadPose), [S$.$timestamp]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Gamepad, I[148]); +dart.setLibraryUri(html$.Gamepad, I[150]); dart.registerExtension("Gamepad", html$.Gamepad); -html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { +html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadButton.__(); + } get [S$.$pressed]() { return this.pressed; } @@ -80943,23 +87870,31 @@ html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { }; dart.addTypeTests(html$.GamepadButton); dart.addTypeCaches(html$.GamepadButton); +dart.setStaticMethodSignature(html$.GamepadButton, () => ['__']); dart.setGetterSignature(html$.GamepadButton, () => ({ __proto__: dart.getGetters(html$.GamepadButton.__proto__), [S$.$pressed]: dart.nullable(core.bool), [S$1.$touched]: dart.nullable(core.bool), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.GamepadButton, I[148]); +dart.setLibraryUri(html$.GamepadButton, I[150]); dart.registerExtension("GamepadButton", html$.GamepadButton); html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.GamepadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.GamepadEvent._create_1(type, eventInitDict_1); } return html$.GamepadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); + return html$.GamepadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new GamepadEvent(type, eventInitDict); } @@ -80972,13 +87907,17 @@ html$.GamepadEvent = class GamepadEvent$ extends html$.Event { }; dart.addTypeTests(html$.GamepadEvent); dart.addTypeCaches(html$.GamepadEvent); +dart.setStaticMethodSignature(html$.GamepadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.GamepadEvent, () => ({ __proto__: dart.getGetters(html$.GamepadEvent.__proto__), [S$1.$gamepad]: dart.nullable(html$.Gamepad) })); -dart.setLibraryUri(html$.GamepadEvent, I[148]); +dart.setLibraryUri(html$.GamepadEvent, I[150]); dart.registerExtension("GamepadEvent", html$.GamepadEvent); -html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { +html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -81006,6 +87945,7 @@ html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { }; dart.addTypeTests(html$.GamepadPose); dart.addTypeCaches(html$.GamepadPose); +dart.setStaticMethodSignature(html$.GamepadPose, () => ['__']); dart.setGetterSignature(html$.GamepadPose, () => ({ __proto__: dart.getGetters(html$.GamepadPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -81017,9 +87957,9 @@ dart.setGetterSignature(html$.GamepadPose, () => ({ [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.GamepadPose, I[148]); +dart.setLibraryUri(html$.GamepadPose, I[150]); dart.registerExtension("GamepadPose", html$.GamepadPose); -html$.Geolocation = class Geolocation extends _interceptors.Interceptor { +html$.Geolocation = class Geolocation extends _interceptors.JavaScriptObject { [S$1.$getCurrentPosition](opts) { let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; @@ -81037,10 +87977,9 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { let completer = T$0.CompleterOfGeoposition().new(); try { this[S$1._getCurrentPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); completer.complete(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); completer.completeError(error); }, T$0.PositionErrorTovoid()), options); } catch (e$) { @@ -81069,16 +88008,15 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { } let watchId = null; let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + if (!(watchId != null)) dart.assertFailed(null, I[149], 17005, 22, "watchId != null"); this[S$1._clearWatch](dart.nullCheck(watchId)); }, T$.VoidToNull())}); controller.onListen = dart.fn(() => { - if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + if (!(watchId == null)) dart.assertFailed(null, I[149], 17009, 14, "watchId == null"); watchId = this[S$1._watchPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); controller.add(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); controller.addError(error); }, T$0.PositionErrorTovoid()), options); }, T$.VoidTovoid()); @@ -81097,23 +88035,26 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { } return new html$._GeopositionWrapper.new(domPosition); } + static ['_#_#tearOff']() { + return html$.Geolocation.__(); + } [S$1._clearWatch](...args) { return this.clearWatch.apply(this, args); } [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17040, 46, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); return; } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); return; } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_3](successCallback_1); return; } @@ -81127,17 +88068,17 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { return this.getCurrentPosition.apply(this, args); } [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_2](successCallback_1, errorCallback); } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_3](successCallback_1); } [S$1._watchPosition_1](...args) { @@ -81158,18 +88099,22 @@ dart.setMethodSignature(html$.Geolocation, () => ({ [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), - [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) })); -dart.setLibraryUri(html$.Geolocation, I[148]); +dart.setStaticMethodSignature(html$.Geolocation, () => ['__']); +dart.setLibraryUri(html$.Geolocation, I[150]); dart.registerExtension("Geolocation", html$.Geolocation); html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + static ['_#new#tearOff'](_ptr) { + return new html$._GeopositionWrapper.new(_ptr); + } get coords() { return this[S$1._ptr].coords; } @@ -81191,13 +88136,16 @@ dart.setGetterSignature(html$._GeopositionWrapper, () => ({ timestamp: core.int, [S$.$timestamp]: core.int })); -dart.setLibraryUri(html$._GeopositionWrapper, I[148]); +dart.setLibraryUri(html$._GeopositionWrapper, I[150]); dart.setFieldSignature(html$._GeopositionWrapper, () => ({ __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), [S$1._ptr]: dart.fieldType(dart.dynamic) })); dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); -html$.Geoposition = class Geoposition extends _interceptors.Interceptor { +html$.Geoposition = class Geoposition extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Geoposition.__(); + } get [S$.$coords]() { return this.coords; } @@ -81207,14 +88155,19 @@ html$.Geoposition = class Geoposition extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Geoposition); dart.addTypeCaches(html$.Geoposition); +dart.setStaticMethodSignature(html$.Geoposition, () => ['__']); dart.setGetterSignature(html$.Geoposition, () => ({ __proto__: dart.getGetters(html$.Geoposition.__proto__), [S$.$coords]: dart.nullable(html$.Coordinates), [S$.$timestamp]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Geoposition, I[148]); +dart.setLibraryUri(html$.Geoposition, I[150]); dart.registerExtension("Position", html$.Geoposition); +dart.registerExtension("GeolocationPosition", html$.Geoposition); html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + static ['_#_#tearOff']() { + return html$.GlobalEventHandlers.__(); + } get onAbort() { return html$.GlobalEventHandlers.abortEvent.forTarget(this); } @@ -81392,6 +88345,7 @@ html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { dart.addTypeTests(html$.GlobalEventHandlers); dart.addTypeCaches(html$.GlobalEventHandlers); html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; +dart.setStaticMethodSignature(html$.GlobalEventHandlers, () => ['__']); dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), onAbort: async.Stream$(html$.Event), @@ -81453,43 +88407,43 @@ dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ onMouseDown: async.Stream$(html$.MouseEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), onMouseEnter: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), onMouseLeave: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), onMouseMove: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), onMouseOut: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), onMouseOver: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), onMouseUp: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), onMouseWheel: async.Stream$(html$.WheelEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), onPause: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), onPlay: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), onPlaying: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), onRateChange: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), onReset: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), onResize: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), onScroll: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), onSeeked: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), onSeeking: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), onSelect: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), onStalled: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), onSubmit: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), onSuspend: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), onTimeUpdate: async.Stream$(html$.Event), @@ -81509,7 +88463,8 @@ dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ onWheel: async.Stream$(html$.WheelEvent), [S$.$onWheel]: async.Stream$(html$.WheelEvent) })); -dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); +dart.setLibraryUri(html$.GlobalEventHandlers, I[150]); +dart.setStaticFieldSignature(html$.GlobalEventHandlers, () => ['abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ 'onAbort', 'onBlur', @@ -81571,178 +88526,181 @@ dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ ]); dart.defineLazy(html$.GlobalEventHandlers, { /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Gyroscope.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -81750,6 +88708,9 @@ html$.Gyroscope = class Gyroscope$ extends html$.Sensor { } return html$.Gyroscope._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Gyroscope.new(sensorOptions); + } static _create_1(sensorOptions) { return new Gyroscope(sensorOptions); } @@ -81768,18 +88729,28 @@ html$.Gyroscope = class Gyroscope$ extends html$.Sensor { }; dart.addTypeTests(html$.Gyroscope); dart.addTypeCaches(html$.Gyroscope); +dart.setStaticMethodSignature(html$.Gyroscope, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Gyroscope, () => ({ __proto__: dart.getGetters(html$.Gyroscope.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Gyroscope, I[148]); +dart.setLibraryUri(html$.Gyroscope, I[150]); dart.registerExtension("Gyroscope", html$.Gyroscope); html$.HRElement = class HRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HRElement.__(); + } static new() { return html$.document.createElement("hr"); } + static ['_#new#tearOff']() { + return html$.HRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HRElement.created(); + } get [S$0.$color]() { return this.color; } @@ -81793,6 +88764,7 @@ html$.HRElement = class HRElement extends html$.HtmlElement { }).prototype = html$.HRElement.prototype; dart.addTypeTests(html$.HRElement); dart.addTypeCaches(html$.HRElement); +dart.setStaticMethodSignature(html$.HRElement, () => ['__', 'new']); dart.setGetterSignature(html$.HRElement, () => ({ __proto__: dart.getGetters(html$.HRElement.__proto__), [S$0.$color]: core.String @@ -81801,28 +88773,42 @@ dart.setSetterSignature(html$.HRElement, () => ({ __proto__: dart.getSetters(html$.HRElement.__proto__), [S$0.$color]: core.String })); -dart.setLibraryUri(html$.HRElement, I[148]); +dart.setLibraryUri(html$.HRElement, I[150]); dart.registerExtension("HTMLHRElement", html$.HRElement); html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + return html$.HashChangeEvent.new(type, {canBubble: canBubble, cancelable: cancelable, oldUrl: oldUrl, newUrl: newUrl}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.HashChangeEvent._create_1(type, eventInitDict_1); } return html$.HashChangeEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); + return html$.HashChangeEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new HashChangeEvent(type, eventInitDict); } @@ -81841,17 +88827,28 @@ html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { }; dart.addTypeTests(html$.HashChangeEvent); dart.addTypeCaches(html$.HashChangeEvent); +dart.setStaticMethodSignature(html$.HashChangeEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.HashChangeEvent, () => ({ __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), [S$1.$newUrl]: dart.nullable(core.String), [S$1.$oldUrl]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HashChangeEvent, I[148]); +dart.setStaticGetterSignature(html$.HashChangeEvent, () => ['supported']); +dart.setLibraryUri(html$.HashChangeEvent, I[150]); dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); html$.HeadElement = class HeadElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadElement.__(); + } static new() { return html$.document.createElement("head"); } + static ['_#new#tearOff']() { + return html$.HeadElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HeadElement.created(); + } }; (html$.HeadElement.created = function() { html$.HeadElement.__proto__.created.call(this); @@ -81859,15 +88856,22 @@ html$.HeadElement = class HeadElement extends html$.HtmlElement { }).prototype = html$.HeadElement.prototype; dart.addTypeTests(html$.HeadElement); dart.addTypeCaches(html$.HeadElement); -dart.setLibraryUri(html$.HeadElement, I[148]); +dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); +dart.setLibraryUri(html$.HeadElement, I[150]); dart.registerExtension("HTMLHeadElement", html$.HeadElement); -html$.Headers = class Headers$ extends _interceptors.Interceptor { +html$.Headers = class Headers$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Headers.__(); + } static new(init = null) { if (init != null) { return html$.Headers._create_1(init); } return html$.Headers._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.Headers.new(init); + } static _create_1(init) { return new Headers(init); } @@ -81877,27 +88881,52 @@ html$.Headers = class Headers$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Headers); dart.addTypeCaches(html$.Headers); -dart.setLibraryUri(html$.Headers, I[148]); +dart.setStaticMethodSignature(html$.Headers, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.Headers, I[150]); dart.registerExtension("Headers", html$.Headers); html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadingElement.__(); + } static h1() { return html$.document.createElement("h1"); } + static ['_#h1#tearOff']() { + return html$.HeadingElement.h1(); + } static h2() { return html$.document.createElement("h2"); } + static ['_#h2#tearOff']() { + return html$.HeadingElement.h2(); + } static h3() { return html$.document.createElement("h3"); } + static ['_#h3#tearOff']() { + return html$.HeadingElement.h3(); + } static h4() { return html$.document.createElement("h4"); } + static ['_#h4#tearOff']() { + return html$.HeadingElement.h4(); + } static h5() { return html$.document.createElement("h5"); } + static ['_#h5#tearOff']() { + return html$.HeadingElement.h5(); + } static h6() { return html$.document.createElement("h6"); } + static ['_#h6#tearOff']() { + return html$.HeadingElement.h6(); + } + static ['_#created#tearOff']() { + return new html$.HeadingElement.created(); + } }; (html$.HeadingElement.created = function() { html$.HeadingElement.__proto__.created.call(this); @@ -81905,12 +88934,16 @@ html$.HeadingElement = class HeadingElement extends html$.HtmlElement { }).prototype = html$.HeadingElement.prototype; dart.addTypeTests(html$.HeadingElement); dart.addTypeCaches(html$.HeadingElement); -dart.setLibraryUri(html$.HeadingElement, I[148]); +dart.setStaticMethodSignature(html$.HeadingElement, () => ['__', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']); +dart.setLibraryUri(html$.HeadingElement, I[150]); dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); -html$.History = class History extends _interceptors.Interceptor { +html$.History = class History extends _interceptors.JavaScriptObject { static get supportsState() { return !!window.history.pushState; } + static ['_#_#tearOff']() { + return html$.History.__(); + } get [$length]() { return this.length; } @@ -81936,7 +88969,7 @@ html$.History = class History extends _interceptors.Interceptor { return this.go.apply(this, args); } [S$1.$pushState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + if (title == null) dart.nullFailed(I[149], 17686, 57, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._pushState_1](data_1, title, url); return; @@ -81945,7 +88978,7 @@ html$.History = class History extends _interceptors.Interceptor { return this.pushState.apply(this, args); } [S$1.$replaceState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + if (title == null) dart.nullFailed(I[149], 17703, 60, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._replaceState_1](data_1, title, url); return; @@ -81967,6 +89000,7 @@ dart.setMethodSignature(html$.History, () => ({ [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) })); +dart.setStaticMethodSignature(html$.History, () => ['__']); dart.setGetterSignature(html$.History, () => ({ __proto__: dart.getGetters(html$.History.__proto__), [$length]: core.int, @@ -81978,37 +89012,41 @@ dart.setSetterSignature(html$.History, () => ({ __proto__: dart.getSetters(html$.History.__proto__), [S$1.$scrollRestoration]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.History, I[148]); +dart.setStaticGetterSignature(html$.History, () => ['supportsState']); +dart.setLibraryUri(html$.History, I[150]); dart.registerExtension("History", html$.History); -const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$1.new = function() { - Interceptor_ListMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$1.prototype; -dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; -(Interceptor_ImmutableListMixin$36$1.new = function() { - Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$1.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); -html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { +const JavaScriptObject_ListMixin$36$1 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$1.new = function() { + JavaScriptObject_ListMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$1, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$1 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$1 {}; +(JavaScriptObject_ImmutableListMixin$36$1.new = function() { + JavaScriptObject_ImmutableListMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); +html$.HtmlCollection = class HtmlCollection extends JavaScriptObject_ImmutableListMixin$36$1 { + static ['_#_#tearOff']() { + return html$.HtmlCollection.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 17731, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + if (index == null) dart.nullFailed(I[149], 17737, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + if (value == null) dart.nullFailed(I[149], 17737, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + if (value == null) dart.nullFailed(I[149], 17743, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -82039,7 +89077,7 @@ html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMix dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + if (index == null) dart.nullFailed(I[149], 17771, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -82052,7 +89090,7 @@ html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMix html$.HtmlCollection.prototype[dart.isList] = true; dart.addTypeTests(html$.HtmlCollection); dart.addTypeCaches(html$.HtmlCollection); -html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$.HtmlCollection[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.HtmlCollection, () => ({ __proto__: dart.getMethods(html$.HtmlCollection.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -82060,6 +89098,7 @@ dart.setMethodSignature(html$.HtmlCollection, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) })); +dart.setStaticMethodSignature(html$.HtmlCollection, () => ['__']); dart.setGetterSignature(html$.HtmlCollection, () => ({ __proto__: dart.getGetters(html$.HtmlCollection.__proto__), [$length]: core.int @@ -82068,9 +89107,12 @@ dart.setSetterSignature(html$.HtmlCollection, () => ({ __proto__: dart.getSetters(html$.HtmlCollection.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.HtmlCollection, I[148]); +dart.setLibraryUri(html$.HtmlCollection, I[150]); dart.registerExtension("HTMLCollection", html$.HtmlCollection); html$.HtmlDocument = class HtmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.HtmlDocument.__(); + } get [S$1.$body]() { return this.body; } @@ -82081,18 +89123,18 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return this[S$1._caretRangeFromPoint](x, y); } [S$1.$elementFromPoint](x, y) { - if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); - if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + if (x == null) dart.nullFailed(I[149], 17800, 33, "x"); + if (y == null) dart.nullFailed(I[149], 17800, 40, "y"); return this[S$1._elementFromPoint](x, y); } get [S.$head]() { - return this[S$0._head$1]; + return this[S$1._head$1]; } get [S$1.$lastModified]() { - return this[S$0._lastModified]; + return this[S$1._lastModified]; } get [S$1.$preferredStylesheetSet]() { - return this[S$0._preferredStylesheetSet]; + return this[S$1._preferredStylesheetSet]; } get [S$1.$referrer]() { return this[S$1._referrer]; @@ -82110,24 +89152,24 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return this[S$1._title]; } set [S.$title](value) { - if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + if (value == null) dart.nullFailed(I[149], 17821, 20, "value"); this[S$1._title] = value; } [S$1.$exitFullscreen]() { this[S$1._webkitExitFullscreen](); } [S$1.$registerElement2](tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + if (tag == null) dart.nullFailed(I[149], 17894, 36, "tag"); return html$._registerCustomElement(window, this, tag, options); } [S$1.$register](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 17900, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 17900, 34, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); } static _determineVisibilityChangeEventType(e) { - if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (e == null) dart.nullFailed(I[149], 17917, 65, "e"); if (typeof e.hidden !== "undefined") { return "visibilitychange"; } else if (typeof e.mozHidden !== "undefined") { @@ -82143,7 +89185,7 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); } [S$1.$createElementUpgrader](type, opts) { - if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + if (type == null) dart.nullFailed(I[149], 17944, 46, "type"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return new html$._JSElementUpgrader.new(this, type, extendsTag); } @@ -82157,6 +89199,7 @@ dart.setMethodSignature(html$.HtmlDocument, () => ({ [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) })); +dart.setStaticMethodSignature(html$.HtmlDocument, () => ['__', '_determineVisibilityChangeEventType']); dart.setGetterSignature(html$.HtmlDocument, () => ({ __proto__: dart.getGetters(html$.HtmlDocument.__proto__), [S$1.$body]: dart.nullable(html$.BodyElement), @@ -82175,26 +89218,40 @@ dart.setSetterSignature(html$.HtmlDocument, () => ({ [S$1.$selectedStylesheetSet]: dart.nullable(core.String), [S.$title]: core.String })); -dart.setLibraryUri(html$.HtmlDocument, I[148]); +dart.setLibraryUri(html$.HtmlDocument, I[150]); +dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); dart.defineLazy(html$.HtmlDocument, { /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - return C[343] || CT.C343; + return C[353] || CT.C353; } }, false); dart.registerExtension("HTMLDocument", html$.HtmlDocument); html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlFormControlsCollection.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } }; dart.addTypeTests(html$.HtmlFormControlsCollection); dart.addTypeCaches(html$.HtmlFormControlsCollection); -dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); +dart.setStaticMethodSignature(html$.HtmlFormControlsCollection, () => ['__']); +dart.setLibraryUri(html$.HtmlFormControlsCollection, I[150]); dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HtmlHtmlElement.__(); + } static new() { return html$.document.createElement("html"); } + static ['_#new#tearOff']() { + return html$.HtmlHtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlHtmlElement.created(); + } }; (html$.HtmlHtmlElement.created = function() { html$.HtmlHtmlElement.__proto__.created.call(this); @@ -82202,9 +89259,13 @@ html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { }).prototype = html$.HtmlHtmlElement.prototype; dart.addTypeTests(html$.HtmlHtmlElement); dart.addTypeCaches(html$.HtmlHtmlElement); -dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); +dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); +dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); -html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { +html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.HtmlHyperlinkElementUtils.__(); + } get [S$.$hash]() { return this.hash; } @@ -82271,6 +89332,7 @@ html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _inter }; dart.addTypeTests(html$.HtmlHyperlinkElementUtils); dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); +dart.setStaticMethodSignature(html$.HtmlHyperlinkElementUtils, () => ['__']); dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -82298,9 +89360,12 @@ dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); +dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[150]); dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlOptionsCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -82311,9 +89376,13 @@ dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) })); -dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); +dart.setStaticMethodSignature(html$.HtmlOptionsCollection, () => ['__']); +dart.setLibraryUri(html$.HtmlOptionsCollection, I[150]); dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestEventTarget.__(); + } get [S.$onAbort]() { return html$.HttpRequestEventTarget.abortEvent.forTarget(this); } @@ -82338,6 +89407,7 @@ html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventT }; dart.addTypeTests(html$.HttpRequestEventTarget); dart.addTypeCaches(html$.HttpRequestEventTarget); +dart.setStaticMethodSignature(html$.HttpRequestEventTarget, () => ['__']); dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), [S.$onAbort]: async.Stream$(html$.ProgressEvent), @@ -82348,52 +89418,53 @@ dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); +dart.setLibraryUri(html$.HttpRequestEventTarget, I[150]); +dart.setStaticFieldSignature(html$.HttpRequestEventTarget, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'timeoutEvent']); dart.defineLazy(html$.HttpRequestEventTarget, { /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - return C[345] || CT.C345; + return C[355] || CT.C355; } }, false); dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { static getString(url, opts) { - if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + if (url == null) dart.nullFailed(I[149], 18116, 42, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18120, 28, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } static postFormData(url, data, opts) { - if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); - if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + if (url == null) dart.nullFailed(I[149], 18148, 50, "url"); + if (data == null) dart.nullFailed(I[149], 18148, 75, "data"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; let parts = []; data[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); - if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + if (key == null) dart.nullFailed(I[149], 18154, 19, "key"); + if (value == null) dart.nullFailed(I[149], 18154, 24, "value"); parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); }, T$0.StringAndStringTovoid())); let formData = parts[$join]("&"); @@ -82404,7 +89475,7 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); } static request(url, opts) { - if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + if (url == null) dart.nullFailed(I[149], 18229, 45, "url"); let method = opts && 'method' in opts ? opts.method : null; let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; @@ -82429,8 +89500,8 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { } if (requestHeaders != null) { requestHeaders[$forEach](dart.fn((header, value) => { - if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); - if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + if (header == null) dart.nullFailed(I[149], 18258, 31, "header"); + if (value == null) dart.nullFailed(I[149], 18258, 39, "value"); xhr.setRequestHeader(header, value); }, T$0.StringAndStringTovoid())); } @@ -82438,7 +89509,7 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { xhr[S$.$onProgress].listen(onProgress); } xhr[S.$onLoad].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + if (e == null) dart.nullFailed(I[149], 18267, 24, "e"); let status = dart.nullCheck(xhr.status); let accepted = status >= 200 && status < 300; let fileUri = status === 0; @@ -82475,12 +89546,12 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { return "overrideMimeType" in xhr; } static requestCrossOrigin(url, opts) { - if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + if (url == null) dart.nullFailed(I[149], 18340, 51, "url"); let method = opts && 'method' in opts ? opts.method : null; let sendData = opts && 'sendData' in opts ? opts.sendData : null; if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18343, 69, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } @@ -82535,6 +89606,12 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { [S.$open](...args) { return this.open.apply(this, args); } + static ['_#_#tearOff']() { + return html$.HttpRequest.__(); + } + static ['_#new#tearOff']() { + return html$.HttpRequest.new(); + } static new() { return html$.HttpRequest._create_1(); } @@ -82620,6 +89697,7 @@ dart.setMethodSignature(html$.HttpRequest, () => ({ [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) })); +dart.setStaticMethodSignature(html$.HttpRequest, () => ['getString', 'postFormData', 'request', 'requestCrossOrigin', '__', 'new', '_create_1']); dart.setGetterSignature(html$.HttpRequest, () => ({ __proto__: dart.getGetters(html$.HttpRequest.__proto__), [S$1.$responseHeaders]: core.Map$(core.String, core.String), @@ -82643,10 +89721,12 @@ dart.setSetterSignature(html$.HttpRequest, () => ({ [S$1.$timeout]: dart.nullable(core.int), [S$1.$withCredentials]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.HttpRequest, I[148]); +dart.setStaticGetterSignature(html$.HttpRequest, () => ['supportsProgressEvent', 'supportsCrossOrigin', 'supportsLoadEndEvent', 'supportsOverrideMimeType']); +dart.setLibraryUri(html$.HttpRequest, I[150]); +dart.setStaticFieldSignature(html$.HttpRequest, () => ['readyStateChangeEvent', 'DONE', 'HEADERS_RECEIVED', 'LOADING', 'OPENED', 'UNSENT']); dart.defineLazy(html$.HttpRequest, { /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.HttpRequest.DONE*/get DONE() { return 4; @@ -82665,15 +89745,29 @@ dart.defineLazy(html$.HttpRequest, { } }, false); dart.registerExtension("XMLHttpRequest", html$.HttpRequest); -html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; +html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestUpload.__(); + } +}; dart.addTypeTests(html$.HttpRequestUpload); dart.addTypeCaches(html$.HttpRequestUpload); -dart.setLibraryUri(html$.HttpRequestUpload, I[148]); +dart.setStaticMethodSignature(html$.HttpRequestUpload, () => ['__']); +dart.setLibraryUri(html$.HttpRequestUpload, I[150]); dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.IFrameElement.__(); + } static new() { return html$.document.createElement("iframe"); } + static ['_#new#tearOff']() { + return html$.IFrameElement.new(); + } + static ['_#created#tearOff']() { + return new html$.IFrameElement.created(); + } get [S$1.$allow]() { return this.allow; } @@ -82750,6 +89844,7 @@ html$.IFrameElement = class IFrameElement extends html$.HtmlElement { }).prototype = html$.IFrameElement.prototype; dart.addTypeTests(html$.IFrameElement); dart.addTypeCaches(html$.IFrameElement); +dart.setStaticMethodSignature(html$.IFrameElement, () => ['__', 'new']); dart.setGetterSignature(html$.IFrameElement, () => ({ __proto__: dart.getGetters(html$.IFrameElement.__proto__), [S$1.$allow]: dart.nullable(core.String), @@ -82779,9 +89874,12 @@ dart.setSetterSignature(html$.IFrameElement, () => ({ [S$1.$srcdoc]: dart.nullable(core.String), [$width]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.IFrameElement, I[148]); +dart.setLibraryUri(html$.IFrameElement, I[150]); dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); -html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { +html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IdleDeadline.__(); + } get [S$1.$didTimeout]() { return this.didTimeout; } @@ -82795,13 +89893,17 @@ dart.setMethodSignature(html$.IdleDeadline, () => ({ __proto__: dart.getMethods(html$.IdleDeadline.__proto__), [S$1.$timeRemaining]: dart.fnType(core.double, []) })); +dart.setStaticMethodSignature(html$.IdleDeadline, () => ['__']); dart.setGetterSignature(html$.IdleDeadline, () => ({ __proto__: dart.getGetters(html$.IdleDeadline.__proto__), [S$1.$didTimeout]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.IdleDeadline, I[148]); +dart.setLibraryUri(html$.IdleDeadline, I[150]); dart.registerExtension("IdleDeadline", html$.IdleDeadline); -html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { +html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmap.__(); + } get [$height]() { return this.height; } @@ -82818,14 +89920,18 @@ dart.setMethodSignature(html$.ImageBitmap, () => ({ __proto__: dart.getMethods(html$.ImageBitmap.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ImageBitmap, () => ['__']); dart.setGetterSignature(html$.ImageBitmap, () => ({ __proto__: dart.getGetters(html$.ImageBitmap.__proto__), [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ImageBitmap, I[148]); +dart.setLibraryUri(html$.ImageBitmap, I[150]); dart.registerExtension("ImageBitmap", html$.ImageBitmap); -html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { +html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmapRenderingContext.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -82839,17 +89945,25 @@ dart.setMethodSignature(html$.ImageBitmapRenderingContext, () => ({ __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) })); +dart.setStaticMethodSignature(html$.ImageBitmapRenderingContext, () => ['__']); dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); -dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); +dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[150]); dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); -html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { +html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageCapture.__(); + } static new(track) { - if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); return html$.ImageCapture._create_1(track); } + static ['_#new#tearOff'](track) { + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); + return html$.ImageCapture.new(track); + } static _create_1(track) { return new ImageCapture(track); } @@ -82866,7 +89980,7 @@ html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); } [S$1.$setOptions](photoSettings) { - if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + if (photoSettings == null) dart.nullFailed(I[149], 18991, 25, "photoSettings"); let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); } @@ -82888,15 +90002,19 @@ dart.setMethodSignature(html$.ImageCapture, () => ({ [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.ImageCapture, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ImageCapture, () => ({ __proto__: dart.getGetters(html$.ImageCapture.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.ImageCapture, I[148]); +dart.setLibraryUri(html$.ImageCapture, I[150]); dart.registerExtension("ImageCapture", html$.ImageCapture); -html$.ImageData = class ImageData$ extends _interceptors.Interceptor { +html$.ImageData = class ImageData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageData.__(); + } static new(data_OR_sw, sh_OR_sw, sh = null) { - if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); } @@ -82908,6 +90026,10 @@ html$.ImageData = class ImageData$ extends _interceptors.Interceptor { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); + return html$.ImageData.new(data_OR_sw, sh_OR_sw, sh); + } static _create_1(data_OR_sw, sh_OR_sw) { return new ImageData(data_OR_sw, sh_OR_sw); } @@ -82929,15 +90051,19 @@ html$.ImageData = class ImageData$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ImageData); dart.addTypeCaches(html$.ImageData); +dart.setStaticMethodSignature(html$.ImageData, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.ImageData, () => ({ __proto__: dart.getGetters(html$.ImageData.__proto__), [S$.$data]: typed_data.Uint8ClampedList, [$height]: core.int, [$width]: core.int })); -dart.setLibraryUri(html$.ImageData, I[148]); +dart.setLibraryUri(html$.ImageData, I[150]); dart.registerExtension("ImageData", html$.ImageData); html$.ImageElement = class ImageElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ImageElement.__(); + } static new(opts) { let src = opts && 'src' in opts ? opts.src : null; let width = opts && 'width' in opts ? opts.width : null; @@ -82948,6 +90074,15 @@ html$.ImageElement = class ImageElement extends html$.HtmlElement { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.ImageElement.new({src: src, width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.ImageElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -83041,6 +90176,7 @@ dart.setMethodSignature(html$.ImageElement, () => ({ __proto__: dart.getMethods(html$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(html$.ImageElement, () => ({ __proto__: dart.getGetters(html$.ImageElement.__proto__), [S$.$alt]: dart.nullable(core.String), @@ -83073,9 +90209,12 @@ dart.setSetterSignature(html$.ImageElement, () => ({ [S$1.$useMap]: dart.nullable(core.String), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ImageElement, I[148]); +dart.setLibraryUri(html$.ImageElement, I[150]); dart.registerExtension("HTMLImageElement", html$.ImageElement); -html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { +html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.InputDeviceCapabilities.__(); + } static new(deviceInitDict = null) { if (deviceInitDict != null) { let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); @@ -83083,6 +90222,9 @@ html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _intercep } return html$.InputDeviceCapabilities._create_2(); } + static ['_#new#tearOff'](deviceInitDict = null) { + return html$.InputDeviceCapabilities.new(deviceInitDict); + } static _create_1(deviceInitDict) { return new InputDeviceCapabilities(deviceInitDict); } @@ -83095,13 +90237,18 @@ html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _intercep }; dart.addTypeTests(html$.InputDeviceCapabilities); dart.addTypeCaches(html$.InputDeviceCapabilities); +dart.setStaticMethodSignature(html$.InputDeviceCapabilities, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), [S$1.$firesTouchEvents]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); +dart.setLibraryUri(html$.InputDeviceCapabilities, I[150]); dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); html$.InputElement = class InputElement extends html$.HtmlElement { + static ['_#new#tearOff'](opts) { + let type = opts && 'type' in opts ? opts.type : null; + return html$.InputElement.new({type: type}); + } static new(opts) { let type = opts && 'type' in opts ? opts.type : null; let e = html$.InputElement.as(html$.document[S.$createElement]("input")); @@ -83117,6 +90264,12 @@ html$.InputElement = class InputElement extends html$.HtmlElement { } return e; } + static ['_#_#tearOff']() { + return html$.InputElement.__(); + } + static ['_#created#tearOff']() { + return new html$.InputElement.created(); + } get [S$1.$accept]() { return this.accept; } @@ -83439,6 +90592,7 @@ dart.setMethodSignature(html$.InputElement, () => ({ [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.InputElement, () => ['new', '__']); dart.setGetterSignature(html$.InputElement, () => ({ __proto__: dart.getGetters(html$.InputElement.__proto__), [S$1.$accept]: dart.nullable(core.String), @@ -83538,7 +90692,7 @@ dart.setSetterSignature(html$.InputElement, () => ({ [S$1.$directory]: dart.nullable(core.bool), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.InputElement, I[148]); +dart.setLibraryUri(html$.InputElement, I[150]); dart.registerExtension("HTMLInputElement", html$.InputElement); html$.InputElementBase = class InputElementBase extends core.Object {}; (html$.InputElementBase.new = function() { @@ -83547,18 +90701,22 @@ html$.InputElementBase = class InputElementBase extends core.Object {}; dart.addTypeTests(html$.InputElementBase); dart.addTypeCaches(html$.InputElementBase); html$.InputElementBase[dart.implements] = () => [html$.Element]; -dart.setLibraryUri(html$.InputElementBase, I[148]); +dart.setLibraryUri(html$.InputElementBase, I[150]); html$.HiddenInputElement = class HiddenInputElement extends core.Object { static new() { return html$.InputElement.new({type: "hidden"}); } + static ['_#new#tearOff']() { + return html$.HiddenInputElement.new(); + } }; (html$.HiddenInputElement[dart.mixinNew] = function() { }).prototype = html$.HiddenInputElement.prototype; dart.addTypeTests(html$.HiddenInputElement); dart.addTypeCaches(html$.HiddenInputElement); html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.HiddenInputElement, I[148]); +dart.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); +dart.setLibraryUri(html$.HiddenInputElement, I[150]); html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; (html$.TextInputElementBase.new = function() { ; @@ -83566,11 +90724,14 @@ html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; dart.addTypeTests(html$.TextInputElementBase); dart.addTypeCaches(html$.TextInputElementBase); html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.TextInputElementBase, I[148]); +dart.setLibraryUri(html$.TextInputElementBase, I[150]); html$.SearchInputElement = class SearchInputElement extends core.Object { static new() { return html$.InputElement.new({type: "search"}); } + static ['_#new#tearOff']() { + return html$.SearchInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "search"}).type === "search"; } @@ -83580,22 +90741,31 @@ html$.SearchInputElement = class SearchInputElement extends core.Object { dart.addTypeTests(html$.SearchInputElement); dart.addTypeCaches(html$.SearchInputElement); html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.SearchInputElement, I[148]); +dart.setStaticMethodSignature(html$.SearchInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.SearchInputElement, () => ['supported']); +dart.setLibraryUri(html$.SearchInputElement, I[150]); html$.TextInputElement = class TextInputElement extends core.Object { static new() { return html$.InputElement.new({type: "text"}); } + static ['_#new#tearOff']() { + return html$.TextInputElement.new(); + } }; (html$.TextInputElement[dart.mixinNew] = function() { }).prototype = html$.TextInputElement.prototype; dart.addTypeTests(html$.TextInputElement); dart.addTypeCaches(html$.TextInputElement); html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.TextInputElement, I[148]); +dart.setStaticMethodSignature(html$.TextInputElement, () => ['new']); +dart.setLibraryUri(html$.TextInputElement, I[150]); html$.UrlInputElement = class UrlInputElement extends core.Object { static new() { return html$.InputElement.new({type: "url"}); } + static ['_#new#tearOff']() { + return html$.UrlInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "url"}).type === "url"; } @@ -83605,11 +90775,16 @@ html$.UrlInputElement = class UrlInputElement extends core.Object { dart.addTypeTests(html$.UrlInputElement); dart.addTypeCaches(html$.UrlInputElement); html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.UrlInputElement, I[148]); +dart.setStaticMethodSignature(html$.UrlInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.UrlInputElement, () => ['supported']); +dart.setLibraryUri(html$.UrlInputElement, I[150]); html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { static new() { return html$.InputElement.new({type: "tel"}); } + static ['_#new#tearOff']() { + return html$.TelephoneInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "tel"}).type === "tel"; } @@ -83619,11 +90794,16 @@ html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { dart.addTypeTests(html$.TelephoneInputElement); dart.addTypeCaches(html$.TelephoneInputElement); html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.TelephoneInputElement, I[148]); +dart.setStaticMethodSignature(html$.TelephoneInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.TelephoneInputElement, () => ['supported']); +dart.setLibraryUri(html$.TelephoneInputElement, I[150]); html$.EmailInputElement = class EmailInputElement extends core.Object { static new() { return html$.InputElement.new({type: "email"}); } + static ['_#new#tearOff']() { + return html$.EmailInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "email"}).type === "email"; } @@ -83633,18 +90813,24 @@ html$.EmailInputElement = class EmailInputElement extends core.Object { dart.addTypeTests(html$.EmailInputElement); dart.addTypeCaches(html$.EmailInputElement); html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.EmailInputElement, I[148]); +dart.setStaticMethodSignature(html$.EmailInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.EmailInputElement, () => ['supported']); +dart.setLibraryUri(html$.EmailInputElement, I[150]); html$.PasswordInputElement = class PasswordInputElement extends core.Object { static new() { return html$.InputElement.new({type: "password"}); } + static ['_#new#tearOff']() { + return html$.PasswordInputElement.new(); + } }; (html$.PasswordInputElement[dart.mixinNew] = function() { }).prototype = html$.PasswordInputElement.prototype; dart.addTypeTests(html$.PasswordInputElement); dart.addTypeCaches(html$.PasswordInputElement); html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.PasswordInputElement, I[148]); +dart.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); +dart.setLibraryUri(html$.PasswordInputElement, I[150]); html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; (html$.RangeInputElementBase.new = function() { ; @@ -83652,11 +90838,14 @@ html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {} dart.addTypeTests(html$.RangeInputElementBase); dart.addTypeCaches(html$.RangeInputElementBase); html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.RangeInputElementBase, I[148]); +dart.setLibraryUri(html$.RangeInputElementBase, I[150]); html$.DateInputElement = class DateInputElement extends core.Object { static new() { return html$.InputElement.new({type: "date"}); } + static ['_#new#tearOff']() { + return html$.DateInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "date"}).type === "date"; } @@ -83666,11 +90855,16 @@ html$.DateInputElement = class DateInputElement extends core.Object { dart.addTypeTests(html$.DateInputElement); dart.addTypeCaches(html$.DateInputElement); html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.DateInputElement, I[148]); +dart.setStaticMethodSignature(html$.DateInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.DateInputElement, () => ['supported']); +dart.setLibraryUri(html$.DateInputElement, I[150]); html$.MonthInputElement = class MonthInputElement extends core.Object { static new() { return html$.InputElement.new({type: "month"}); } + static ['_#new#tearOff']() { + return html$.MonthInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "month"}).type === "month"; } @@ -83680,11 +90874,16 @@ html$.MonthInputElement = class MonthInputElement extends core.Object { dart.addTypeTests(html$.MonthInputElement); dart.addTypeCaches(html$.MonthInputElement); html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.MonthInputElement, I[148]); +dart.setStaticMethodSignature(html$.MonthInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.MonthInputElement, () => ['supported']); +dart.setLibraryUri(html$.MonthInputElement, I[150]); html$.WeekInputElement = class WeekInputElement extends core.Object { static new() { return html$.InputElement.new({type: "week"}); } + static ['_#new#tearOff']() { + return html$.WeekInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "week"}).type === "week"; } @@ -83694,11 +90893,16 @@ html$.WeekInputElement = class WeekInputElement extends core.Object { dart.addTypeTests(html$.WeekInputElement); dart.addTypeCaches(html$.WeekInputElement); html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.WeekInputElement, I[148]); +dart.setStaticMethodSignature(html$.WeekInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.WeekInputElement, () => ['supported']); +dart.setLibraryUri(html$.WeekInputElement, I[150]); html$.TimeInputElement = class TimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "time"}); } + static ['_#new#tearOff']() { + return html$.TimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "time"}).type === "time"; } @@ -83708,11 +90912,16 @@ html$.TimeInputElement = class TimeInputElement extends core.Object { dart.addTypeTests(html$.TimeInputElement); dart.addTypeCaches(html$.TimeInputElement); html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.TimeInputElement, I[148]); +dart.setStaticMethodSignature(html$.TimeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.TimeInputElement, () => ['supported']); +dart.setLibraryUri(html$.TimeInputElement, I[150]); html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "datetime-local"}); } + static ['_#new#tearOff']() { + return html$.LocalDateTimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; } @@ -83722,11 +90931,16 @@ html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.O dart.addTypeTests(html$.LocalDateTimeInputElement); dart.addTypeCaches(html$.LocalDateTimeInputElement); html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); +dart.setStaticMethodSignature(html$.LocalDateTimeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.LocalDateTimeInputElement, () => ['supported']); +dart.setLibraryUri(html$.LocalDateTimeInputElement, I[150]); html$.NumberInputElement = class NumberInputElement extends core.Object { static new() { return html$.InputElement.new({type: "number"}); } + static ['_#new#tearOff']() { + return html$.NumberInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "number"}).type === "number"; } @@ -83736,11 +90950,16 @@ html$.NumberInputElement = class NumberInputElement extends core.Object { dart.addTypeTests(html$.NumberInputElement); dart.addTypeCaches(html$.NumberInputElement); html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.NumberInputElement, I[148]); +dart.setStaticMethodSignature(html$.NumberInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.NumberInputElement, () => ['supported']); +dart.setLibraryUri(html$.NumberInputElement, I[150]); html$.RangeInputElement = class RangeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "range"}); } + static ['_#new#tearOff']() { + return html$.RangeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "range"}).type === "range"; } @@ -83750,29 +90969,39 @@ html$.RangeInputElement = class RangeInputElement extends core.Object { dart.addTypeTests(html$.RangeInputElement); dart.addTypeCaches(html$.RangeInputElement); html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.RangeInputElement, I[148]); +dart.setStaticMethodSignature(html$.RangeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.RangeInputElement, () => ['supported']); +dart.setLibraryUri(html$.RangeInputElement, I[150]); html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { static new() { return html$.InputElement.new({type: "checkbox"}); } + static ['_#new#tearOff']() { + return html$.CheckboxInputElement.new(); + } }; (html$.CheckboxInputElement[dart.mixinNew] = function() { }).prototype = html$.CheckboxInputElement.prototype; dart.addTypeTests(html$.CheckboxInputElement); dart.addTypeCaches(html$.CheckboxInputElement); html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.CheckboxInputElement, I[148]); +dart.setStaticMethodSignature(html$.CheckboxInputElement, () => ['new']); +dart.setLibraryUri(html$.CheckboxInputElement, I[150]); html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "radio"}); } + static ['_#new#tearOff']() { + return html$.RadioButtonInputElement.new(); + } }; (html$.RadioButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.RadioButtonInputElement.prototype; dart.addTypeTests(html$.RadioButtonInputElement); dart.addTypeCaches(html$.RadioButtonInputElement); html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { get files() { return this[S$1.files]; @@ -83783,6 +91012,9 @@ html$.FileUploadInputElement = class FileUploadInputElement extends core.Object static new() { return html$.InputElement.new({type: "file"}); } + static ['_#new#tearOff']() { + return html$.FileUploadInputElement.new(); + } }; (html$.FileUploadInputElement[dart.mixinNew] = function() { this[S$1.files] = null; @@ -83790,7 +91022,8 @@ html$.FileUploadInputElement = class FileUploadInputElement extends core.Object dart.addTypeTests(html$.FileUploadInputElement); dart.addTypeCaches(html$.FileUploadInputElement); html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.FileUploadInputElement, I[148]); +dart.setStaticMethodSignature(html$.FileUploadInputElement, () => ['new']); +dart.setLibraryUri(html$.FileUploadInputElement, I[150]); dart.setFieldSignature(html$.FileUploadInputElement, () => ({ __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), files: dart.fieldType(dart.nullable(core.List$(html$.File))) @@ -83800,55 +91033,78 @@ html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Obj static new() { return html$.InputElement.new({type: "submit"}); } + static ['_#new#tearOff']() { + return html$.SubmitButtonInputElement.new(); + } }; (html$.SubmitButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.SubmitButtonInputElement.prototype; dart.addTypeTests(html$.SubmitButtonInputElement); dart.addTypeCaches(html$.SubmitButtonInputElement); html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.SubmitButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.SubmitButtonInputElement, I[150]); html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "image"}); } + static ['_#new#tearOff']() { + return html$.ImageButtonInputElement.new(); + } }; (html$.ImageButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ImageButtonInputElement.prototype; dart.addTypeTests(html$.ImageButtonInputElement); dart.addTypeCaches(html$.ImageButtonInputElement); html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ImageButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ImageButtonInputElement, I[150]); html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "reset"}); } + static ['_#new#tearOff']() { + return html$.ResetButtonInputElement.new(); + } }; (html$.ResetButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ResetButtonInputElement.prototype; dart.addTypeTests(html$.ResetButtonInputElement); dart.addTypeCaches(html$.ResetButtonInputElement); html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ResetButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ResetButtonInputElement, I[150]); html$.ButtonInputElement = class ButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "button"}); } + static ['_#new#tearOff']() { + return html$.ButtonInputElement.new(); + } }; (html$.ButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ButtonInputElement.prototype; dart.addTypeTests(html$.ButtonInputElement); dart.addTypeCaches(html$.ButtonInputElement); html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ButtonInputElement, I[150]); html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.InstallEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.InstallEvent._create_1(type, eventInitDict_1); } return html$.InstallEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); + return html$.InstallEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new InstallEvent(type, eventInitDict); } @@ -83856,7 +91112,7 @@ html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { return new InstallEvent(type); } [S$1.$registerForeignFetch](options) { - if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + if (options == null) dart.nullFailed(I[149], 19973, 33, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._registerForeignFetch_1](options_1); return; @@ -83872,11 +91128,15 @@ dart.setMethodSignature(html$.InstallEvent, () => ({ [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) })); -dart.setLibraryUri(html$.InstallEvent, I[148]); +dart.setStaticMethodSignature(html$.InstallEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.InstallEvent, I[150]); dart.registerExtension("InstallEvent", html$.InstallEvent); -html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { +html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserver.__(); + } static new(callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -83885,6 +91145,10 @@ html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.I let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); return html$.IntersectionObserver._create_2(callback_1); } + static ['_#new#tearOff'](callback, options = null) { + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); + return html$.IntersectionObserver.new(callback, options); + } static _create_1(callback, options) { return new IntersectionObserver(callback, options); } @@ -83922,15 +91186,19 @@ dart.setMethodSignature(html$.IntersectionObserver, () => ({ [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); +dart.setStaticMethodSignature(html$.IntersectionObserver, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.IntersectionObserver, () => ({ __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), [S$1.$root]: dart.nullable(html$.Element), [S$1.$rootMargin]: dart.nullable(core.String), [S$1.$thresholds]: dart.nullable(core.List$(core.num)) })); -dart.setLibraryUri(html$.IntersectionObserver, I[148]); +dart.setLibraryUri(html$.IntersectionObserver, I[150]); dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); -html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { +html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserverEntry.__(); + } get [S$1.$boundingClientRect]() { return this.boundingClientRect; } @@ -83955,6 +91223,7 @@ html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _inter }; dart.addTypeTests(html$.IntersectionObserverEntry); dart.addTypeCaches(html$.IntersectionObserverEntry); +dart.setStaticMethodSignature(html$.IntersectionObserverEntry, () => ['__']); dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), @@ -83965,9 +91234,12 @@ dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ [S.$target]: dart.nullable(html$.Element), [S$.$time]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); +dart.setLibraryUri(html$.IntersectionObserverEntry, I[150]); dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); html$.InterventionReport = class InterventionReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.InterventionReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -83980,50 +91252,70 @@ html$.InterventionReport = class InterventionReport extends html$.ReportBody { }; dart.addTypeTests(html$.InterventionReport); dart.addTypeCaches(html$.InterventionReport); +dart.setStaticMethodSignature(html$.InterventionReport, () => ['__']); dart.setGetterSignature(html$.InterventionReport, () => ({ __proto__: dart.getGetters(html$.InterventionReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.InterventionReport, I[148]); +dart.setLibraryUri(html$.InterventionReport, I[150]); dart.registerExtension("InterventionReport", html$.InterventionReport); html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { static new(type, opts) { - let t238; - if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let t219; + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); let location = opts && 'location' in opts ? opts.location : null; let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); if (view == null) { view = html$.window; } - location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + location == null ? location = (t219 = keyLocation, t219 == null ? 1 : t219) : null; let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); + return html$.KeyboardEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, location: location, keyLocation: keyLocation, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey}); + } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 20121, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 20122, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 20123, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 20125, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 20127, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 20128, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20129, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 20130, 12, "metaKey"); if (typeof this.initKeyEvent == "function") { this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); } else { @@ -84040,13 +91332,17 @@ html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { return this[S$._which]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.KeyboardEvent._create_1(type, eventInitDict_1); } return html$.KeyboardEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); + return html$.KeyboardEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new KeyboardEvent(type, eventInitDict); } @@ -84097,6 +91393,7 @@ dart.setMethodSignature(html$.KeyboardEvent, () => ({ [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); +dart.setStaticMethodSignature(html$.KeyboardEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.KeyboardEvent, () => ({ __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), [S$1.$keyCode]: core.int, @@ -84114,7 +91411,8 @@ dart.setGetterSignature(html$.KeyboardEvent, () => ({ [S$1.$repeat]: dart.nullable(core.bool), [S$1.$shiftKey]: core.bool })); -dart.setLibraryUri(html$.KeyboardEvent, I[148]); +dart.setLibraryUri(html$.KeyboardEvent, I[150]); +dart.setStaticFieldSignature(html$.KeyboardEvent, () => ['DOM_KEY_LOCATION_LEFT', 'DOM_KEY_LOCATION_NUMPAD', 'DOM_KEY_LOCATION_RIGHT', 'DOM_KEY_LOCATION_STANDARD']); dart.defineLazy(html$.KeyboardEvent, { /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { return 1; @@ -84131,12 +91429,18 @@ dart.defineLazy(html$.KeyboardEvent, { }, false); dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffectReadOnly.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffectReadOnly._create_1(target, effect, options); } return html$.KeyframeEffectReadOnly._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffectReadOnly.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffectReadOnly(target, effect, options); } @@ -84146,15 +91450,22 @@ html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.Anima }; dart.addTypeTests(html$.KeyframeEffectReadOnly); dart.addTypeCaches(html$.KeyframeEffectReadOnly); -dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); +dart.setStaticMethodSignature(html$.KeyframeEffectReadOnly, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[150]); dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffect.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffect._create_1(target, effect, options); } return html$.KeyframeEffect._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffect.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffect(target, effect, options); } @@ -84164,12 +91475,22 @@ html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnl }; dart.addTypeTests(html$.KeyframeEffect); dart.addTypeCaches(html$.KeyframeEffect); -dart.setLibraryUri(html$.KeyframeEffect, I[148]); +dart.setStaticMethodSignature(html$.KeyframeEffect, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.KeyframeEffect, I[150]); dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); html$.LIElement = class LIElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LIElement.__(); + } static new() { return html$.document.createElement("li"); } + static ['_#new#tearOff']() { + return html$.LIElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LIElement.created(); + } get [S.$value]() { return this.value; } @@ -84183,6 +91504,7 @@ html$.LIElement = class LIElement extends html$.HtmlElement { }).prototype = html$.LIElement.prototype; dart.addTypeTests(html$.LIElement); dart.addTypeCaches(html$.LIElement); +dart.setStaticMethodSignature(html$.LIElement, () => ['__', 'new']); dart.setGetterSignature(html$.LIElement, () => ({ __proto__: dart.getGetters(html$.LIElement.__proto__), [S.$value]: core.int @@ -84191,12 +91513,21 @@ dart.setSetterSignature(html$.LIElement, () => ({ __proto__: dart.getSetters(html$.LIElement.__proto__), [S.$value]: core.int })); -dart.setLibraryUri(html$.LIElement, I[148]); +dart.setLibraryUri(html$.LIElement, I[150]); dart.registerExtension("HTMLLIElement", html$.LIElement); html$.LabelElement = class LabelElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LabelElement.__(); + } static new() { return html$.document.createElement("label"); } + static ['_#new#tearOff']() { + return html$.LabelElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LabelElement.created(); + } get [S$1.$control]() { return this.control; } @@ -84216,6 +91547,7 @@ html$.LabelElement = class LabelElement extends html$.HtmlElement { }).prototype = html$.LabelElement.prototype; dart.addTypeTests(html$.LabelElement); dart.addTypeCaches(html$.LabelElement); +dart.setStaticMethodSignature(html$.LabelElement, () => ['__', 'new']); dart.setGetterSignature(html$.LabelElement, () => ({ __proto__: dart.getGetters(html$.LabelElement.__proto__), [S$1.$control]: dart.nullable(html$.HtmlElement), @@ -84226,12 +91558,21 @@ dart.setSetterSignature(html$.LabelElement, () => ({ __proto__: dart.getSetters(html$.LabelElement.__proto__), [S$1.$htmlFor]: core.String })); -dart.setLibraryUri(html$.LabelElement, I[148]); +dart.setLibraryUri(html$.LabelElement, I[150]); dart.registerExtension("HTMLLabelElement", html$.LabelElement); html$.LegendElement = class LegendElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LegendElement.__(); + } static new() { return html$.document.createElement("legend"); } + static ['_#new#tearOff']() { + return html$.LegendElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LegendElement.created(); + } get [S$.$form]() { return this.form; } @@ -84242,13 +91583,17 @@ html$.LegendElement = class LegendElement extends html$.HtmlElement { }).prototype = html$.LegendElement.prototype; dart.addTypeTests(html$.LegendElement); dart.addTypeCaches(html$.LegendElement); +dart.setStaticMethodSignature(html$.LegendElement, () => ['__', 'new']); dart.setGetterSignature(html$.LegendElement, () => ({ __proto__: dart.getGetters(html$.LegendElement.__proto__), [S$.$form]: dart.nullable(html$.FormElement) })); -dart.setLibraryUri(html$.LegendElement, I[148]); +dart.setLibraryUri(html$.LegendElement, I[150]); dart.registerExtension("HTMLLegendElement", html$.LegendElement); html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static ['_#_#tearOff']() { + return html$.LinearAccelerationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84256,6 +91601,9 @@ html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.A } return html$.LinearAccelerationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.LinearAccelerationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new LinearAccelerationSensor(sensorOptions); } @@ -84265,12 +91613,22 @@ html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.A }; dart.addTypeTests(html$.LinearAccelerationSensor); dart.addTypeCaches(html$.LinearAccelerationSensor); -dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); +dart.setStaticMethodSignature(html$.LinearAccelerationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.LinearAccelerationSensor, I[150]); dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); html$.LinkElement = class LinkElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LinkElement.__(); + } static new() { return html$.document.createElement("link"); } + static ['_#new#tearOff']() { + return html$.LinkElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LinkElement.created(); + } get [S$1.$as]() { return this.as; } @@ -84359,6 +91717,7 @@ html$.LinkElement = class LinkElement extends html$.HtmlElement { }).prototype = html$.LinkElement.prototype; dart.addTypeTests(html$.LinkElement); dart.addTypeCaches(html$.LinkElement); +dart.setStaticMethodSignature(html$.LinkElement, () => ['__', 'new']); dart.setGetterSignature(html$.LinkElement, () => ({ __proto__: dart.getGetters(html$.LinkElement.__proto__), [S$1.$as]: dart.nullable(core.String), @@ -84392,9 +91751,12 @@ dart.setSetterSignature(html$.LinkElement, () => ({ [S$1.$scope]: dart.nullable(core.String), [S.$type]: core.String })); -dart.setLibraryUri(html$.LinkElement, I[148]); +dart.setLibraryUri(html$.LinkElement, I[150]); dart.registerExtension("HTMLLinkElement", html$.LinkElement); -html$.Location = class Location extends _interceptors.Interceptor { +html$.Location = class Location extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Location.__(); + } get [S$1.$ancestorOrigins]() { return this.ancestorOrigins; } @@ -84480,6 +91842,7 @@ dart.setMethodSignature(html$.Location, () => ({ [S$1.$reload]: dart.fnType(dart.void, []), [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.Location, () => ['__']); dart.setGetterSignature(html$.Location, () => ({ __proto__: dart.getGetters(html$.Location.__proto__), [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), @@ -84506,9 +91869,12 @@ dart.setSetterSignature(html$.Location, () => ({ [S$.$search]: dart.nullable(core.String), [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) })); -dart.setLibraryUri(html$.Location, I[148]); +dart.setLibraryUri(html$.Location, I[150]); dart.registerExtension("Location", html$.Location); html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Magnetometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84516,6 +91882,9 @@ html$.Magnetometer = class Magnetometer$ extends html$.Sensor { } return html$.Magnetometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Magnetometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Magnetometer(sensorOptions); } @@ -84534,18 +91903,28 @@ html$.Magnetometer = class Magnetometer$ extends html$.Sensor { }; dart.addTypeTests(html$.Magnetometer); dart.addTypeCaches(html$.Magnetometer); +dart.setStaticMethodSignature(html$.Magnetometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Magnetometer, () => ({ __proto__: dart.getGetters(html$.Magnetometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Magnetometer, I[148]); +dart.setLibraryUri(html$.Magnetometer, I[150]); dart.registerExtension("Magnetometer", html$.Magnetometer); html$.MapElement = class MapElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MapElement.__(); + } static new() { return html$.document.createElement("map"); } + static ['_#new#tearOff']() { + return html$.MapElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MapElement.created(); + } get [S$1.$areas]() { return this.areas; } @@ -84562,6 +91941,7 @@ html$.MapElement = class MapElement extends html$.HtmlElement { }).prototype = html$.MapElement.prototype; dart.addTypeTests(html$.MapElement); dart.addTypeCaches(html$.MapElement); +dart.setStaticMethodSignature(html$.MapElement, () => ['__', 'new']); dart.setGetterSignature(html$.MapElement, () => ({ __proto__: dart.getGetters(html$.MapElement.__proto__), [S$1.$areas]: core.List$(html$.Node), @@ -84571,16 +91951,36 @@ dart.setSetterSignature(html$.MapElement, () => ({ __proto__: dart.getSetters(html$.MapElement.__proto__), [$name]: core.String })); -dart.setLibraryUri(html$.MapElement, I[148]); +dart.setLibraryUri(html$.MapElement, I[150]); dart.registerExtension("HTMLMapElement", html$.MapElement); -html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { +html$.MathMLElement = class MathMLElement extends html$.Element { + static ['_#_#tearOff']() { + return html$.MathMLElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MathMLElement.created(); + } +}; +(html$.MathMLElement.created = function() { + html$.MathMLElement.__proto__.created.call(this); + ; +}).prototype = html$.MathMLElement.prototype; +dart.addTypeTests(html$.MathMLElement); +dart.addTypeCaches(html$.MathMLElement); +dart.setStaticMethodSignature(html$.MathMLElement, () => ['__']); +dart.setLibraryUri(html$.MathMLElement, I[150]); +dart.registerExtension("MathMLElement", html$.MathMLElement); +html$.MediaCapabilities = class MediaCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilities.__(); + } [S$1.$decodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20602, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); } [S$1.$encodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20611, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); } @@ -84592,9 +91992,13 @@ dart.setMethodSignature(html$.MediaCapabilities, () => ({ [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) })); -dart.setLibraryUri(html$.MediaCapabilities, I[148]); +dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); +dart.setLibraryUri(html$.MediaCapabilities, I[150]); dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); -html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { +html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilitiesInfo.__(); + } get [S$1.$powerEfficient]() { return this.powerEfficient; } @@ -84607,15 +92011,19 @@ html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors. }; dart.addTypeTests(html$.MediaCapabilitiesInfo); dart.addTypeCaches(html$.MediaCapabilitiesInfo); +dart.setStaticMethodSignature(html$.MediaCapabilitiesInfo, () => ['__']); dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), [S$1.$powerEfficient]: dart.nullable(core.bool), [S$1.$smooth]: dart.nullable(core.bool), [S$1.$supported]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); +dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[150]); dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); -html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { +html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaDeviceInfo.__(); + } get [S$1.$deviceId]() { return this.deviceId; } @@ -84631,6 +92039,7 @@ html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor }; dart.addTypeTests(html$.MediaDeviceInfo); dart.addTypeCaches(html$.MediaDeviceInfo); +dart.setStaticMethodSignature(html$.MediaDeviceInfo, () => ['__']); dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), [S$1.$deviceId]: dart.nullable(core.String), @@ -84638,9 +92047,12 @@ dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); +dart.setLibraryUri(html$.MediaDeviceInfo, I[150]); dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); html$.MediaDevices = class MediaDevices extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaDevices.__(); + } [S$1.$enumerateDevices]() { return js_util.promiseToFuture(core.List, this.enumerateDevices()); } @@ -84667,17 +92079,25 @@ dart.setMethodSignature(html$.MediaDevices, () => ({ [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.MediaDevices, I[148]); +dart.setStaticMethodSignature(html$.MediaDevices, () => ['__']); +dart.setLibraryUri(html$.MediaDevices, I[150]); dart.registerExtension("MediaDevices", html$.MediaDevices); html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaEncryptedEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); } return html$.MediaEncryptedEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); + return html$.MediaEncryptedEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaEncryptedEvent(type, eventInitDict); } @@ -84693,14 +92113,18 @@ html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaEncryptedEvent); dart.addTypeCaches(html$.MediaEncryptedEvent); +dart.setStaticMethodSignature(html$.MediaEncryptedEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), [S$1.$initDataType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); +dart.setLibraryUri(html$.MediaEncryptedEvent, I[150]); dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); -html$.MediaError = class MediaError extends _interceptors.Interceptor { +html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaError.__(); + } get [S$.$code]() { return this.code; } @@ -84710,12 +92134,14 @@ html$.MediaError = class MediaError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MediaError); dart.addTypeCaches(html$.MediaError); +dart.setStaticMethodSignature(html$.MediaError, () => ['__']); dart.setGetterSignature(html$.MediaError, () => ({ __proto__: dart.getGetters(html$.MediaError.__proto__), [S$.$code]: core.int, [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaError, I[148]); +dart.setLibraryUri(html$.MediaError, I[150]); +dart.setStaticFieldSignature(html$.MediaError, () => ['MEDIA_ERR_ABORTED', 'MEDIA_ERR_DECODE', 'MEDIA_ERR_NETWORK', 'MEDIA_ERR_SRC_NOT_SUPPORTED']); dart.defineLazy(html$.MediaError, { /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { return 1; @@ -84732,12 +92158,20 @@ dart.defineLazy(html$.MediaError, { }, false); dart.registerExtension("MediaError", html$.MediaError); html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaKeyMessageEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); + return html$.MediaKeyMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaKeyMessageEvent(type, eventInitDict); } @@ -84750,14 +92184,18 @@ html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaKeyMessageEvent); dart.addTypeCaches(html$.MediaKeyMessageEvent); +dart.setStaticMethodSignature(html$.MediaKeyMessageEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), [$message]: dart.nullable(typed_data.ByteBuffer), [S$1.$messageType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); +dart.setLibraryUri(html$.MediaKeyMessageEvent, I[150]); dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaKeySession.__(); + } get [S$1.$closed]() { return js_util.promiseToFuture(dart.void, this.closed); } @@ -84774,11 +92212,11 @@ html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { return js_util.promiseToFuture(dart.dynamic, this.close()); } [S$1.$generateRequest](initDataType, initData) { - if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + if (initDataType == null) dart.nullFailed(I[149], 20946, 33, "initDataType"); return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); } [S$.$load](sessionId) { - if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + if (sessionId == null) dart.nullFailed(I[149], 20950, 22, "sessionId"); return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); } [$remove]() { @@ -84801,6 +92239,7 @@ dart.setMethodSignature(html$.MediaKeySession, () => ({ [$remove]: dart.fnType(async.Future, []), [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MediaKeySession, () => ['__']); dart.setGetterSignature(html$.MediaKeySession, () => ({ __proto__: dart.getGetters(html$.MediaKeySession.__proto__), [S$1.$closed]: async.Future$(dart.void), @@ -84809,14 +92248,18 @@ dart.setGetterSignature(html$.MediaKeySession, () => ({ [S$1.$sessionId]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.MediaKeySession, I[148]); +dart.setLibraryUri(html$.MediaKeySession, I[150]); +dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); dart.defineLazy(html$.MediaKeySession, { /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MediaKeySession", html$.MediaKeySession); -html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { +html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeyStatusMap.__(); + } get [S$.$size]() { return this.size; } @@ -84834,13 +92277,17 @@ dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MediaKeyStatusMap, () => ['__']); dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), [S$.$size]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); +dart.setLibraryUri(html$.MediaKeyStatusMap, I[150]); dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); -html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { +html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeySystemAccess.__(); + } get [S$1.$keySystem]() { return this.keySystem; } @@ -84862,18 +92309,22 @@ dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ [S$1.$getConfiguration]: dart.fnType(core.Map, []), [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) })); +dart.setStaticMethodSignature(html$.MediaKeySystemAccess, () => ['__']); dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), [S$1.$keySystem]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); +dart.setLibraryUri(html$.MediaKeySystemAccess, I[150]); dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); -html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { +html$.MediaKeys = class MediaKeys extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeys.__(); + } [S$1._createSession](...args) { return this.createSession.apply(this, args); } [S$1.$getStatusForPolicy](policy) { - if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + if (policy == null) dart.nullFailed(I[149], 21014, 45, "policy"); return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); } [S$1.$setServerCertificate](serverCertificate) { @@ -84888,14 +92339,22 @@ dart.setMethodSignature(html$.MediaKeys, () => ({ [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) })); -dart.setLibraryUri(html$.MediaKeys, I[148]); +dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); +dart.setLibraryUri(html$.MediaKeys, I[150]); dart.registerExtension("MediaKeys", html$.MediaKeys); -html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { +html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeysPolicy.__(); + } static new(init) { - if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.MediaKeysPolicy._create_1(init_1); } + static ['_#new#tearOff'](init) { + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); + return html$.MediaKeysPolicy.new(init); + } static _create_1(init) { return new MediaKeysPolicy(init); } @@ -84905,13 +92364,17 @@ html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor }; dart.addTypeTests(html$.MediaKeysPolicy); dart.addTypeCaches(html$.MediaKeysPolicy); +dart.setStaticMethodSignature(html$.MediaKeysPolicy, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), [S$1.$minHdcpVersion]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); +dart.setLibraryUri(html$.MediaKeysPolicy, I[150]); dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); -html$.MediaList = class MediaList extends _interceptors.Interceptor { +html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaList.__(); + } get [$length]() { return this.length; } @@ -84939,6 +92402,7 @@ dart.setMethodSignature(html$.MediaList, () => ({ [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); +dart.setStaticMethodSignature(html$.MediaList, () => ['__']); dart.setGetterSignature(html$.MediaList, () => ({ __proto__: dart.getGetters(html$.MediaList.__proto__), [$length]: dart.nullable(core.int), @@ -84948,9 +92412,12 @@ dart.setSetterSignature(html$.MediaList, () => ({ __proto__: dart.getSetters(html$.MediaList.__proto__), [S$1.$mediaText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaList, I[148]); +dart.setLibraryUri(html$.MediaList, I[150]); dart.registerExtension("MediaList", html$.MediaList); -html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { +html$.MediaMetadata = class MediaMetadata$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaMetadata.__(); + } static new(metadata = null) { if (metadata != null) { let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); @@ -84958,6 +92425,9 @@ html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { } return html$.MediaMetadata._create_2(); } + static ['_#new#tearOff'](metadata = null) { + return html$.MediaMetadata.new(metadata); + } static _create_1(metadata) { return new MediaMetadata(metadata); } @@ -84991,6 +92461,7 @@ html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MediaMetadata); dart.addTypeCaches(html$.MediaMetadata); +dart.setStaticMethodSignature(html$.MediaMetadata, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaMetadata, () => ({ __proto__: dart.getGetters(html$.MediaMetadata.__proto__), [S$1.$album]: dart.nullable(core.String), @@ -85005,9 +92476,12 @@ dart.setSetterSignature(html$.MediaMetadata, () => ({ [S$1.$artwork]: dart.nullable(core.List), [S.$title]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaMetadata, I[148]); +dart.setLibraryUri(html$.MediaMetadata, I[150]); dart.registerExtension("MediaMetadata", html$.MediaMetadata); html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaQueryList.__(); + } get [S.$matches]() { return this.matches; } @@ -85031,28 +92505,37 @@ dart.setMethodSignature(html$.MediaQueryList, () => ({ [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) })); +dart.setStaticMethodSignature(html$.MediaQueryList, () => ['__']); dart.setGetterSignature(html$.MediaQueryList, () => ({ __proto__: dart.getGetters(html$.MediaQueryList.__proto__), [S.$matches]: core.bool, [S$.$media]: core.String, [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaQueryList, I[148]); +dart.setLibraryUri(html$.MediaQueryList, I[150]); +dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); dart.defineLazy(html$.MediaQueryList, { /*html$.MediaQueryList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("MediaQueryList", html$.MediaQueryList); html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaQueryListEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); } return html$.MediaQueryListEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); + return html$.MediaQueryListEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaQueryListEvent(type, eventInitDict); } @@ -85068,22 +92551,30 @@ html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaQueryListEvent); dart.addTypeCaches(html$.MediaQueryListEvent); +dart.setStaticMethodSignature(html$.MediaQueryListEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), [S.$matches]: dart.nullable(core.bool), [S$.$media]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); +dart.setLibraryUri(html$.MediaQueryListEvent, I[150]); dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaRecorder.__(); + } static new(stream, options = null) { - if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.MediaRecorder._create_1(stream, options_1); } return html$.MediaRecorder._create_2(stream); } + static ['_#new#tearOff'](stream, options = null) { + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); + return html$.MediaRecorder.new(stream, options); + } static _create_1(stream, options) { return new MediaRecorder(stream, options); } @@ -85123,7 +92614,7 @@ html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { get [S.$onError]() { return html$.MediaRecorder.errorEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.MediaRecorder.pauseEvent.forTarget(this); } }; @@ -85137,6 +92628,7 @@ dart.setMethodSignature(html$.MediaRecorder, () => ({ [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MediaRecorder, () => ['__', 'new', '_create_1', '_create_2', 'isTypeSupported']); dart.setGetterSignature(html$.MediaRecorder, () => ({ __proto__: dart.getGetters(html$.MediaRecorder.__proto__), [S$1.$audioBitsPerSecond]: dart.nullable(core.int), @@ -85145,19 +92637,23 @@ dart.setGetterSignature(html$.MediaRecorder, () => ({ [S$1.$stream]: dart.nullable(html$.MediaStream), [S$1.$videoBitsPerSecond]: dart.nullable(core.int), [S.$onError]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event) + [S$.$onPause]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaRecorder, I[148]); +dart.setLibraryUri(html$.MediaRecorder, I[150]); +dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); dart.defineLazy(html$.MediaRecorder, { /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; } }, false); dart.registerExtension("MediaRecorder", html$.MediaRecorder); -html$.MediaSession = class MediaSession extends _interceptors.Interceptor { +html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSession.__(); + } get [S$1.$metadata]() { return this.metadata; } @@ -85180,6 +92676,7 @@ dart.setMethodSignature(html$.MediaSession, () => ({ __proto__: dart.getMethods(html$.MediaSession.__proto__), [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) })); +dart.setStaticMethodSignature(html$.MediaSession, () => ['__']); dart.setGetterSignature(html$.MediaSession, () => ({ __proto__: dart.getGetters(html$.MediaSession.__proto__), [S$1.$metadata]: dart.nullable(html$.MediaMetadata), @@ -85190,9 +92687,12 @@ dart.setSetterSignature(html$.MediaSession, () => ({ [S$1.$metadata]: dart.nullable(html$.MediaMetadata), [S$1.$playbackState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaSession, I[148]); +dart.setLibraryUri(html$.MediaSession, I[150]); dart.registerExtension("MediaSession", html$.MediaSession); -html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { +html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSettingsRange.__(); + } get [S$1.$max]() { return this.max; } @@ -85205,18 +92705,25 @@ html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interc }; dart.addTypeTests(html$.MediaSettingsRange); dart.addTypeCaches(html$.MediaSettingsRange); +dart.setStaticMethodSignature(html$.MediaSettingsRange, () => ['__']); dart.setGetterSignature(html$.MediaSettingsRange, () => ({ __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), [S$1.$max]: dart.nullable(core.num), [S$1.$min]: dart.nullable(core.num), [S$1.$step]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MediaSettingsRange, I[148]); +dart.setLibraryUri(html$.MediaSettingsRange, I[150]); dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaSource.__(); + } static new() { return html$.MediaSource._create_1(); } + static ['_#new#tearOff']() { + return html$.MediaSource.new(); + } static _create_1() { return new MediaSource(); } @@ -85264,6 +92771,7 @@ dart.setMethodSignature(html$.MediaSource, () => ({ [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(html$.MediaSource, () => ['__', 'new', '_create_1', 'isTypeSupported']); dart.setGetterSignature(html$.MediaSource, () => ({ __proto__: dart.getGetters(html$.MediaSource.__proto__), [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), @@ -85275,9 +92783,13 @@ dart.setSetterSignature(html$.MediaSource, () => ({ __proto__: dart.getSetters(html$.MediaSource.__proto__), [S$.$duration]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MediaSource, I[148]); +dart.setStaticGetterSignature(html$.MediaSource, () => ['supported']); +dart.setLibraryUri(html$.MediaSource, I[150]); dart.registerExtension("MediaSource", html$.MediaSource); html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStream.__(); + } static new(stream_OR_tracks = null) { if (stream_OR_tracks == null) { return html$.MediaStream._create_1(); @@ -85290,6 +92802,9 @@ html$.MediaStream = class MediaStream$ extends html$.EventTarget { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](stream_OR_tracks = null) { + return html$.MediaStream.new(stream_OR_tracks); + } static _create_1() { return new MediaStream(); } @@ -85348,6 +92863,7 @@ dart.setMethodSignature(html$.MediaStream, () => ({ [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) })); +dart.setStaticMethodSignature(html$.MediaStream, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.MediaStream, () => ({ __proto__: dart.getGetters(html$.MediaStream.__proto__), [S$1.$active]: dart.nullable(core.bool), @@ -85355,25 +92871,34 @@ dart.setGetterSignature(html$.MediaStream, () => ({ [S$1.$onAddTrack]: async.Stream$(html$.Event), [S$1.$onRemoveTrack]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaStream, I[148]); +dart.setStaticGetterSignature(html$.MediaStream, () => ['supported']); +dart.setLibraryUri(html$.MediaStream, I[150]); +dart.setStaticFieldSignature(html$.MediaStream, () => ['addTrackEvent', 'removeTrackEvent']); dart.defineLazy(html$.MediaStream, { /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { - return C[346] || CT.C346; + return C[356] || CT.C356; }, /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - return C[347] || CT.C347; + return C[357] || CT.C357; } }, false); dart.registerExtension("MediaStream", html$.MediaStream); html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamEvent._create_1(type, eventInitDict_1); } return html$.MediaStreamEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); + return html$.MediaStreamEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamEvent(type, eventInitDict); } @@ -85389,19 +92914,29 @@ html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaStreamEvent); dart.addTypeCaches(html$.MediaStreamEvent); +dart.setStaticMethodSignature(html$.MediaStreamEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaStreamEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(html$.MediaStreamEvent, I[148]); +dart.setStaticGetterSignature(html$.MediaStreamEvent, () => ['supported']); +dart.setLibraryUri(html$.MediaStreamEvent, I[150]); dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); + return html$.MediaStreamTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamTrackEvent(type, eventInitDict); } @@ -85414,13 +92949,18 @@ html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaStreamTrackEvent); dart.addTypeCaches(html$.MediaStreamTrackEvent); +dart.setStaticMethodSignature(html$.MediaStreamTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); +dart.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); +dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); -html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { +html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MemoryInfo.__(); + } get [S$1.$jsHeapSizeLimit]() { return this.jsHeapSizeLimit; } @@ -85433,18 +92973,28 @@ html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MemoryInfo); dart.addTypeCaches(html$.MemoryInfo); +dart.setStaticMethodSignature(html$.MemoryInfo, () => ['__']); dart.setGetterSignature(html$.MemoryInfo, () => ({ __proto__: dart.getGetters(html$.MemoryInfo.__proto__), [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), [S$1.$totalJSHeapSize]: dart.nullable(core.int), [S$1.$usedJSHeapSize]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.MemoryInfo, I[148]); +dart.setLibraryUri(html$.MemoryInfo, I[150]); dart.registerExtension("MemoryInfo", html$.MemoryInfo); html$.MenuElement = class MenuElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MenuElement.__(); + } static new() { return html$.document.createElement("menu"); } + static ['_#new#tearOff']() { + return html$.MenuElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MenuElement.created(); + } }; (html$.MenuElement.created = function() { html$.MenuElement.__proto__.created.call(this); @@ -85452,12 +93002,19 @@ html$.MenuElement = class MenuElement extends html$.HtmlElement { }).prototype = html$.MenuElement.prototype; dart.addTypeTests(html$.MenuElement); dart.addTypeCaches(html$.MenuElement); -dart.setLibraryUri(html$.MenuElement, I[148]); +dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); +dart.setLibraryUri(html$.MenuElement, I[150]); dart.registerExtension("HTMLMenuElement", html$.MenuElement); -html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { +html$.MessageChannel = class MessageChannel$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MessageChannel.__(); + } static new() { return html$.MessageChannel._create_1(); } + static ['_#new#tearOff']() { + return html$.MessageChannel.new(); + } static _create_1() { return new MessageChannel(); } @@ -85470,26 +93027,27 @@ html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MessageChannel); dart.addTypeCaches(html$.MessageChannel); +dart.setStaticMethodSignature(html$.MessageChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MessageChannel, () => ({ __proto__: dart.getGetters(html$.MessageChannel.__proto__), [S$1.$port1]: html$.MessagePort, [S$1.$port2]: html$.MessagePort })); -dart.setLibraryUri(html$.MessageChannel, I[148]); +dart.setLibraryUri(html$.MessageChannel, I[150]); dart.registerExtension("MessageChannel", html$.MessageChannel); html$.MessageEvent = class MessageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); let data = opts && 'data' in opts ? opts.data : null; let origin = opts && 'origin' in opts ? opts.origin : null; let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; let source = opts && 'source' in opts ? opts.source : null; - let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; - if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); if (source == null) { source = html$.window; } @@ -85500,6 +93058,20 @@ html$.MessageEvent = class MessageEvent$ extends html$.Event { event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); + return html$.MessageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, messagePorts: messagePorts}); + } get [S$.$data]() { return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); } @@ -85507,13 +93079,17 @@ html$.MessageEvent = class MessageEvent$ extends html$.Event { return this.data; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MessageEvent._create_1(type, eventInitDict_1); } return html$.MessageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); + return html$.MessageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MessageEvent(type, eventInitDict); } @@ -85554,6 +93130,7 @@ dart.setMethodSignature(html$.MessageEvent, () => ({ [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) })); +dart.setStaticMethodSignature(html$.MessageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MessageEvent, () => ({ __proto__: dart.getGetters(html$.MessageEvent.__proto__), [S$.$data]: dart.dynamic, @@ -85565,16 +93142,19 @@ dart.setGetterSignature(html$.MessageEvent, () => ({ [S$1._get_source]: dart.dynamic, [S$1.$suborigin]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MessageEvent, I[148]); +dart.setLibraryUri(html$.MessageEvent, I[150]); dart.registerExtension("MessageEvent", html$.MessageEvent); html$.MessagePort = class MessagePort extends html$.EventTarget { [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type == null) dart.nullFailed(I[149], 21738, 32, "type"); if (type === "message") { - this[S$1._start$4](); + this[S$1._start$5](); } super[S.$addEventListener](type, listener, useCapture); } + static ['_#_#tearOff']() { + return html$.MessagePort.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -85594,7 +93174,7 @@ html$.MessagePort = class MessagePort extends html$.EventTarget { [S$0._postMessage_2](...args) { return this.postMessage.apply(this, args); } - [S$1._start$4](...args) { + [S$1._start$5](...args) { return this.start.apply(this, args); } get [S$.$onMessage]() { @@ -85609,23 +93189,34 @@ dart.setMethodSignature(html$.MessagePort, () => ({ [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._start$4]: dart.fnType(dart.void, []) + [S$1._start$5]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MessagePort, () => ['__']); dart.setGetterSignature(html$.MessagePort, () => ({ __proto__: dart.getGetters(html$.MessagePort.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.MessagePort, I[148]); +dart.setLibraryUri(html$.MessagePort, I[150]); +dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); dart.defineLazy(html$.MessagePort, { /*html$.MessagePort.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MessagePort", html$.MessagePort); html$.MetaElement = class MetaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MetaElement.__(); + } static new() { return html$.document.createElement("meta"); } + static ['_#new#tearOff']() { + return html$.MetaElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MetaElement.created(); + } get [S$0.$content]() { return this.content; } @@ -85651,6 +93242,7 @@ html$.MetaElement = class MetaElement extends html$.HtmlElement { }).prototype = html$.MetaElement.prototype; dart.addTypeTests(html$.MetaElement); dart.addTypeCaches(html$.MetaElement); +dart.setStaticMethodSignature(html$.MetaElement, () => ['__', 'new']); dart.setGetterSignature(html$.MetaElement, () => ({ __proto__: dart.getGetters(html$.MetaElement.__proto__), [S$0.$content]: core.String, @@ -85663,9 +93255,12 @@ dart.setSetterSignature(html$.MetaElement, () => ({ [S$1.$httpEquiv]: dart.nullable(core.String), [$name]: core.String })); -dart.setLibraryUri(html$.MetaElement, I[148]); +dart.setLibraryUri(html$.MetaElement, I[150]); dart.registerExtension("HTMLMetaElement", html$.MetaElement); -html$.Metadata = class Metadata extends _interceptors.Interceptor { +html$.Metadata = class Metadata extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Metadata.__(); + } get [S$1.$modificationTime]() { return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); } @@ -85678,18 +93273,28 @@ html$.Metadata = class Metadata extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Metadata); dart.addTypeCaches(html$.Metadata); +dart.setStaticMethodSignature(html$.Metadata, () => ['__']); dart.setGetterSignature(html$.Metadata, () => ({ __proto__: dart.getGetters(html$.Metadata.__proto__), [S$1.$modificationTime]: core.DateTime, [S$1._get_modificationTime]: dart.dynamic, [S$.$size]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Metadata, I[148]); +dart.setLibraryUri(html$.Metadata, I[150]); dart.registerExtension("Metadata", html$.Metadata); html$.MeterElement = class MeterElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MeterElement.__(); + } static new() { return html$.MeterElement.as(html$.document[S.$createElement]("meter")); } + static ['_#new#tearOff']() { + return html$.MeterElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MeterElement.created(); + } static get supported() { return html$.Element.isTagSupported("meter"); } @@ -85739,6 +93344,7 @@ html$.MeterElement = class MeterElement extends html$.HtmlElement { }).prototype = html$.MeterElement.prototype; dart.addTypeTests(html$.MeterElement); dart.addTypeCaches(html$.MeterElement); +dart.setStaticMethodSignature(html$.MeterElement, () => ['__', 'new']); dart.setGetterSignature(html$.MeterElement, () => ({ __proto__: dart.getGetters(html$.MeterElement.__proto__), [S$1.$high]: dart.nullable(core.num), @@ -85758,9 +93364,13 @@ dart.setSetterSignature(html$.MeterElement, () => ({ [S$1.$optimum]: dart.nullable(core.num), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MeterElement, I[148]); +dart.setStaticGetterSignature(html$.MeterElement, () => ['supported']); +dart.setLibraryUri(html$.MeterElement, I[150]); dart.registerExtension("HTMLMeterElement", html$.MeterElement); html$.MidiAccess = class MidiAccess extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiAccess.__(); + } get [S$1.$inputs]() { return this.inputs; } @@ -85773,23 +93383,31 @@ html$.MidiAccess = class MidiAccess extends html$.EventTarget { }; dart.addTypeTests(html$.MidiAccess); dart.addTypeCaches(html$.MidiAccess); +dart.setStaticMethodSignature(html$.MidiAccess, () => ['__']); dart.setGetterSignature(html$.MidiAccess, () => ({ __proto__: dart.getGetters(html$.MidiAccess.__proto__), [S$1.$inputs]: dart.nullable(html$.MidiInputMap), [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), [S$1.$sysexEnabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MidiAccess, I[148]); +dart.setLibraryUri(html$.MidiAccess, I[150]); dart.registerExtension("MIDIAccess", html$.MidiAccess); html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiConnectionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); } return html$.MidiConnectionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); + return html$.MidiConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIConnectionEvent(type, eventInitDict); } @@ -85802,13 +93420,17 @@ html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { }; dart.addTypeTests(html$.MidiConnectionEvent); dart.addTypeCaches(html$.MidiConnectionEvent); +dart.setStaticMethodSignature(html$.MidiConnectionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), [S$.$port]: dart.nullable(html$.MidiPort) })); -dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); +dart.setLibraryUri(html$.MidiConnectionEvent, I[150]); dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); html$.MidiPort = class MidiPort extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiPort.__(); + } get [S$1.$connection]() { return this.connection; } @@ -85844,6 +93466,7 @@ dart.setMethodSignature(html$.MidiPort, () => ({ [S.$close]: dart.fnType(async.Future, []), [S.$open]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.MidiPort, () => ['__']); dart.setGetterSignature(html$.MidiPort, () => ({ __proto__: dart.getGetters(html$.MidiPort.__proto__), [S$1.$connection]: dart.nullable(core.String), @@ -85854,44 +93477,52 @@ dart.setGetterSignature(html$.MidiPort, () => ({ [S.$type]: dart.nullable(core.String), [S.$version]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MidiPort, I[148]); +dart.setLibraryUri(html$.MidiPort, I[150]); dart.registerExtension("MIDIPort", html$.MidiPort); html$.MidiInput = class MidiInput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiInput.__(); + } get [S$1.$onMidiMessage]() { return html$.MidiInput.midiMessageEvent.forTarget(this); } }; dart.addTypeTests(html$.MidiInput); dart.addTypeCaches(html$.MidiInput); +dart.setStaticMethodSignature(html$.MidiInput, () => ['__']); dart.setGetterSignature(html$.MidiInput, () => ({ __proto__: dart.getGetters(html$.MidiInput.__proto__), [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) })); -dart.setLibraryUri(html$.MidiInput, I[148]); +dart.setLibraryUri(html$.MidiInput, I[150]); +dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); dart.defineLazy(html$.MidiInput, { /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[349] || CT.C349; + return C[359] || CT.C359; } }, false); dart.registerExtension("MIDIInput", html$.MidiInput); -const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36.new = function() { - Interceptor_MapMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36.prototype; -dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); -html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { +const JavaScriptObject_MapMixin$36 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36.new = function() { + JavaScriptObject_MapMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiInputMap = class MidiInputMap extends JavaScriptObject_MapMixin$36 { + static ['_#_#tearOff']() { + return html$.MidiInputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + if (key == null) dart.nullFailed(I[149], 21984, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + if (other == null) dart.nullFailed(I[149], 21987, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + if (e == null) dart.nullFailed(I[149], 21991, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -85902,7 +93533,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -85913,7 +93544,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -85921,7 +93552,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -85938,15 +93569,15 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22025, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22029, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22029, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -85968,22 +93599,30 @@ dart.setMethodSignature(html$.MidiInputMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MidiInputMap, () => ['__']); dart.setGetterSignature(html$.MidiInputMap, () => ({ __proto__: dart.getGetters(html$.MidiInputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.MidiInputMap, I[148]); +dart.setLibraryUri(html$.MidiInputMap, I[150]); dart.registerExtension("MIDIInputMap", html$.MidiInputMap); html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiMessageEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiMessageEvent._create_1(type, eventInitDict_1); } return html$.MidiMessageEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); + return html$.MidiMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIMessageEvent(type, eventInitDict); } @@ -85996,13 +93635,17 @@ html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { }; dart.addTypeTests(html$.MidiMessageEvent); dart.addTypeCaches(html$.MidiMessageEvent); +dart.setStaticMethodSignature(html$.MidiMessageEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiMessageEvent, () => ({ __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), [S$.$data]: dart.nullable(typed_data.Uint8List) })); -dart.setLibraryUri(html$.MidiMessageEvent, I[148]); +dart.setLibraryUri(html$.MidiMessageEvent, I[150]); dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); html$.MidiOutput = class MidiOutput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiOutput.__(); + } [S$1.$send](...args) { return this.send.apply(this, args); } @@ -86013,26 +93656,30 @@ dart.setMethodSignature(html$.MidiOutput, () => ({ __proto__: dart.getMethods(html$.MidiOutput.__proto__), [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) })); -dart.setLibraryUri(html$.MidiOutput, I[148]); +dart.setStaticMethodSignature(html$.MidiOutput, () => ['__']); +dart.setLibraryUri(html$.MidiOutput, I[150]); dart.registerExtension("MIDIOutput", html$.MidiOutput); -const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$.new = function() { - Interceptor_MapMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$.prototype; -dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); -html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { +const JavaScriptObject_MapMixin$36$ = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$.new = function() { + JavaScriptObject_MapMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiOutputMap = class MidiOutputMap extends JavaScriptObject_MapMixin$36$ { + static ['_#_#tearOff']() { + return html$.MidiOutputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + if (key == null) dart.nullFailed(I[149], 22090, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + if (other == null) dart.nullFailed(I[149], 22093, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + if (e == null) dart.nullFailed(I[149], 22097, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -86043,7 +93690,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -86054,7 +93701,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -86062,7 +93709,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -86079,15 +93726,15 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22131, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22135, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22135, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -86109,14 +93756,18 @@ dart.setMethodSignature(html$.MidiOutputMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MidiOutputMap, () => ['__']); dart.setGetterSignature(html$.MidiOutputMap, () => ({ __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.MidiOutputMap, I[148]); +dart.setLibraryUri(html$.MidiOutputMap, I[150]); dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); -html$.MimeType = class MimeType extends _interceptors.Interceptor { +html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MimeType.__(); + } get [S$1.$description]() { return this.description; } @@ -86132,6 +93783,7 @@ html$.MimeType = class MimeType extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MimeType); dart.addTypeCaches(html$.MimeType); +dart.setStaticMethodSignature(html$.MimeType, () => ['__']); dart.setGetterSignature(html$.MimeType, () => ({ __proto__: dart.getGetters(html$.MimeType.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -86139,37 +93791,40 @@ dart.setGetterSignature(html$.MimeType, () => ({ [S$1.$suffixes]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MimeType, I[148]); +dart.setLibraryUri(html$.MimeType, I[150]); dart.registerExtension("MimeType", html$.MimeType); -const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$2.new = function() { - Interceptor_ListMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$2.prototype; -dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); -const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; -(Interceptor_ImmutableListMixin$36$2.new = function() { - Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$2.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); -html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { +const JavaScriptObject_ListMixin$36$2 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$2.new = function() { + JavaScriptObject_ListMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); +const JavaScriptObject_ImmutableListMixin$36$2 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$2 {}; +(JavaScriptObject_ImmutableListMixin$36$2.new = function() { + JavaScriptObject_ImmutableListMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); +html$.MimeTypeArray = class MimeTypeArray extends JavaScriptObject_ImmutableListMixin$36$2 { + static ['_#_#tearOff']() { + return html$.MimeTypeArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 22210, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + if (index == null) dart.nullFailed(I[149], 22216, 25, "index"); html$.MimeType.as(value); - if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + if (value == null) dart.nullFailed(I[149], 22216, 41, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + if (value == null) dart.nullFailed(I[149], 22222, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -86200,7 +93855,7 @@ html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + if (index == null) dart.nullFailed(I[149], 22250, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -86221,6 +93876,7 @@ dart.setMethodSignature(html$.MimeTypeArray, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); +dart.setStaticMethodSignature(html$.MimeTypeArray, () => ['__']); dart.setGetterSignature(html$.MimeTypeArray, () => ({ __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), [$length]: core.int @@ -86229,9 +93885,15 @@ dart.setSetterSignature(html$.MimeTypeArray, () => ({ __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.MimeTypeArray, I[148]); +dart.setLibraryUri(html$.MimeTypeArray, I[150]); dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); html$.ModElement = class ModElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ModElement.__(); + } + static ['_#created#tearOff']() { + return new html$.ModElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -86251,6 +93913,7 @@ html$.ModElement = class ModElement extends html$.HtmlElement { }).prototype = html$.ModElement.prototype; dart.addTypeTests(html$.ModElement); dart.addTypeCaches(html$.ModElement); +dart.setStaticMethodSignature(html$.ModElement, () => ['__']); dart.setGetterSignature(html$.ModElement, () => ({ __proto__: dart.getGetters(html$.ModElement.__proto__), [S$1.$cite]: core.String, @@ -86261,36 +93924,36 @@ dart.setSetterSignature(html$.ModElement, () => ({ [S$1.$cite]: core.String, [S$1.$dateTime]: core.String })); -dart.setLibraryUri(html$.ModElement, I[148]); +dart.setLibraryUri(html$.ModElement, I[150]); dart.registerExtension("HTMLModElement", html$.ModElement); html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; if (view == null) { view = html$.window; @@ -86299,8 +93962,42 @@ html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.MouseEvent.new(type, {view: view, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); + return html$.MouseEvent.__(type, eventInitDict); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MouseEvent._create_1(type, eventInitDict_1); @@ -86428,6 +94125,7 @@ dart.setMethodSignature(html$.MouseEvent, () => ({ [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MouseEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MouseEvent, () => ({ __proto__: dart.getGetters(html$.MouseEvent.__proto__), [S$1.$altKey]: core.bool, @@ -86459,10 +94157,13 @@ dart.setGetterSignature(html$.MouseEvent, () => ({ [S$0.$page]: math.Point$(core.num), [S$1.$dataTransfer]: html$.DataTransfer })); -dart.setLibraryUri(html$.MouseEvent, I[148]); +dart.setLibraryUri(html$.MouseEvent, I[150]); dart.registerExtension("MouseEvent", html$.MouseEvent); dart.registerExtension("DragEvent", html$.MouseEvent); html$.MutationEvent = class MutationEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MutationEvent.__(); + } get [S$1.$attrChange]() { return this.attrChange; } @@ -86488,6 +94189,7 @@ dart.setMethodSignature(html$.MutationEvent, () => ({ __proto__: dart.getMethods(html$.MutationEvent.__proto__), [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.MutationEvent, () => ['__']); dart.setGetterSignature(html$.MutationEvent, () => ({ __proto__: dart.getGetters(html$.MutationEvent.__proto__), [S$1.$attrChange]: dart.nullable(core.int), @@ -86496,7 +94198,8 @@ dart.setGetterSignature(html$.MutationEvent, () => ({ [S$1.$prevValue]: dart.nullable(core.String), [S$1.$relatedNode]: dart.nullable(html$.Node) })); -dart.setLibraryUri(html$.MutationEvent, I[148]); +dart.setLibraryUri(html$.MutationEvent, I[150]); +dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); dart.defineLazy(html$.MutationEvent, { /*html$.MutationEvent.ADDITION*/get ADDITION() { return 2; @@ -86509,24 +94212,24 @@ dart.defineLazy(html$.MutationEvent, { } }, false); dart.registerExtension("MutationEvent", html$.MutationEvent); -html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { +html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$1._observe](target, options = null) { - if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + [S$2._observe](target, options = null) { + if (target == null) dart.nullFailed(I[149], 22568, 22, "target"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](target, options_1); return; } - this[S$1._observe_2](target); + this[S$2._observe_2](target); return; } [S$1._observe_1$1](...args) { return this.observe.apply(this, args); } - [S$1._observe_2](...args) { + [S$2._observe_2](...args) { return this.observe.apply(this, args); } [S$1.$takeRecords](...args) { @@ -86536,7 +94239,7 @@ html$.MutationObserver = class MutationObserver extends _interceptors.Intercepto return !!(window.MutationObserver || window.WebKitMutationObserver); } [S.$observe](target, opts) { - if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + if (target == null) dart.nullFailed(I[149], 22604, 21, "target"); let childList = opts && 'childList' in opts ? opts.childList : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let characterData = opts && 'characterData' in opts ? opts.characterData : null; @@ -86558,67 +94261,77 @@ html$.MutationObserver = class MutationObserver extends _interceptors.Intercepto if (attributeFilter != null) { override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); } - this[S$1._call](target, parsedOptions); + this[S$2._call](target, parsedOptions); } static _createDict() { return {}; } static _add(m, key, value) { - if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); m[key] = value; } static _fixupList(list) { return list; } - [S$1._call](...args) { + [S$2._call](...args) { return this.observe.apply(this, args); } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); 0; return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); + return html$.MutationObserver.new(callback); + } }; dart.addTypeTests(html$.MutationObserver); dart.addTypeCaches(html$.MutationObserver); dart.setMethodSignature(html$.MutationObserver, () => ({ __proto__: dart.getMethods(html$.MutationObserver.__proto__), [S$1.$disconnect]: dart.fnType(dart.void, []), - [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$2._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), - [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$2._observe_2]: dart.fnType(dart.void, [html$.Node]), [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), - [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) + [S$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) })); -dart.setLibraryUri(html$.MutationObserver, I[148]); +dart.setStaticMethodSignature(html$.MutationObserver, () => ['_createDict', '_add', '_fixupList', 'new']); +dart.setStaticGetterSignature(html$.MutationObserver, () => ['supported']); +dart.setLibraryUri(html$.MutationObserver, I[150]); +dart.setStaticFieldSignature(html$.MutationObserver, () => ['_boolKeys']); dart.defineLazy(html$.MutationObserver, { /*html$.MutationObserver._boolKeys*/get _boolKeys() { - return C[350] || CT.C350; + return C[360] || CT.C360; } }, false); dart.registerExtension("MutationObserver", html$.MutationObserver); dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); -html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { - get [S$1.$addedNodes]() { +html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MutationRecord.__(); + } + get [S$2.$addedNodes]() { return this.addedNodes; } - get [S$1.$attributeName]() { + get [S$2.$attributeName]() { return this.attributeName; } - get [S$1.$attributeNamespace]() { + get [S$2.$attributeNamespace]() { return this.attributeNamespace; } - get [S$1.$nextSibling]() { + get [S$2.$nextSibling]() { return this.nextSibling; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } - get [S$1.$previousSibling]() { + get [S$2.$previousSibling]() { return this.previousSibling; } - get [S$1.$removedNodes]() { + get [S$2.$removedNodes]() { return this.removedNodes; } get [S.$target]() { @@ -86630,28 +94343,32 @@ html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MutationRecord); dart.addTypeCaches(html$.MutationRecord); +dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); dart.setGetterSignature(html$.MutationRecord, () => ({ __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), - [S$1.$attributeName]: dart.nullable(core.String), - [S$1.$attributeNamespace]: dart.nullable(core.String), - [S$1.$nextSibling]: dart.nullable(html$.Node), - [S$1.$oldValue]: dart.nullable(core.String), - [S$1.$previousSibling]: dart.nullable(html$.Node), - [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$attributeName]: dart.nullable(core.String), + [S$2.$attributeNamespace]: dart.nullable(core.String), + [S$2.$nextSibling]: dart.nullable(html$.Node), + [S$2.$oldValue]: dart.nullable(core.String), + [S$2.$previousSibling]: dart.nullable(html$.Node), + [S$2.$removedNodes]: dart.nullable(core.List$(html$.Node)), [S.$target]: dart.nullable(html$.Node), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MutationRecord, I[148]); +dart.setLibraryUri(html$.MutationRecord, I[150]); dart.registerExtension("MutationRecord", html$.MutationRecord); -html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { - [S$1.$disable]() { +html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigationPreloadManager.__(); + } + [S$2.$disable]() { return js_util.promiseToFuture(dart.dynamic, this.disable()); } - [S$1.$enable]() { + [S$2.$enable]() { return js_util.promiseToFuture(dart.dynamic, this.enable()); } - [S$1.$getState]() { + [S$2.$getState]() { return html$.promiseToFutureAsMap(this.getState()); } }; @@ -86659,28 +94376,33 @@ dart.addTypeTests(html$.NavigationPreloadManager); dart.addTypeCaches(html$.NavigationPreloadManager); dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [S$1.$disable]: dart.fnType(async.Future, []), - [S$1.$enable]: dart.fnType(async.Future, []), - [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) + [S$2.$disable]: dart.fnType(async.Future, []), + [S$2.$enable]: dart.fnType(async.Future, []), + [S$2.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) })); -dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); +dart.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); +dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); -html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { +html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorConcurrentHardware.__(); + } get [S$2.$hardwareConcurrency]() { return this.hardwareConcurrency; } }; dart.addTypeTests(html$.NavigatorConcurrentHardware); dart.addTypeCaches(html$.NavigatorConcurrentHardware); +dart.setStaticMethodSignature(html$.NavigatorConcurrentHardware, () => ['__']); dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), [S$2.$hardwareConcurrency]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); +dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[150]); dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$1.$getGamepads]() { - let gamepadList = this[S$1._getGamepads](); + [S$2.$getGamepads]() { + let gamepadList = this[S$2._getGamepads](); let jsProto = gamepadList.prototype; if (jsProto == null) { gamepadList.prototype = Object.create(null); @@ -86688,7 +94410,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { _js_helper.applyExtension("GamepadList", gamepadList); return gamepadList; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language || this.userLanguage; } [S$1.$getUserMedia](opts) { @@ -86696,43 +94418,46 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { let video = opts && 'video' in opts ? opts.video : false; let completer = T$0.CompleterOfMediaStream().new(); let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); - this[S$1._ensureGetUserMedia](); - this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { - if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + this[S$2._ensureGetUserMedia](); + this[S$2._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[149], 22785, 10, "stream"); completer.complete(stream); }, T$0.MediaStreamTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + if (error == null) dart.nullFailed(I[149], 22787, 9, "error"); completer.completeError(error); }, T$0.NavigatorUserMediaErrorTovoid())); return completer.future; } - [S$1._ensureGetUserMedia]() { + [S$2._ensureGetUserMedia]() { if (!this.getUserMedia) { this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; } } - [S$1._getUserMedia](...args) { + [S$2._getUserMedia](...args) { return this.getUserMedia.apply(this, args); } - get [S$1.$budget]() { + static ['_#_#tearOff']() { + return html$.Navigator.__(); + } + get [S$2.$budget]() { return this.budget; } - get [S$1.$clipboard]() { + get [S$2.$clipboard]() { return this.clipboard; } get [S$1.$connection]() { return this.connection; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } - get [S$1.$deviceMemory]() { + get [S$2.$deviceMemory]() { return this.deviceMemory; } - get [S$1.$doNotTrack]() { + get [S$2.$doNotTrack]() { return this.doNotTrack; } - get [S$1.$geolocation]() { + get [S$2.$geolocation]() { return this.geolocation; } get [S$2.$maxTouchPoints]() { @@ -86789,7 +94514,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { [S$2.$getBattery]() { return js_util.promiseToFuture(dart.dynamic, this.getBattery()); } - [S$1._getGamepads](...args) { + [S$2._getGamepads](...args) { return this.getGamepads.apply(this, args); } [S$2.$getInstalledRelatedApps]() { @@ -86809,7 +94534,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { return this[S$2._requestKeyboardLock_2](); } [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); } [S$2._requestKeyboardLock_2]() { @@ -86823,8 +94548,8 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); } [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { - if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); - if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + if (keySystem == null) dart.nullFailed(I[149], 22918, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[149], 22918, 39, "supportedConfigurations"); return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); } [S$2.$sendBeacon](...args) { @@ -86873,16 +94598,16 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { }; dart.addTypeTests(html$.Navigator); dart.addTypeCaches(html$.Navigator); -html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; +html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorID, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation]; dart.setMethodSignature(html$.Navigator, () => ({ __proto__: dart.getMethods(html$.Navigator.__proto__), - [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), - [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), - [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$2._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), [S$2.$getBattery]: dart.fnType(async.Future, []), - [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), [S$2.$getVRDisplays]: dart.fnType(async.Future, []), [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), @@ -86894,16 +94619,17 @@ dart.setMethodSignature(html$.Navigator, () => ({ [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.Navigator, () => ['__']); dart.setGetterSignature(html$.Navigator, () => ({ __proto__: dart.getGetters(html$.Navigator.__proto__), - [S$1.$language]: core.String, - [S$1.$budget]: dart.nullable(html$._BudgetService), - [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$2.$language]: core.String, + [S$2.$budget]: dart.nullable(html$._BudgetService), + [S$2.$clipboard]: dart.nullable(html$._Clipboard), [S$1.$connection]: dart.nullable(html$.NetworkInformation), - [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), - [S$1.$deviceMemory]: dart.nullable(core.num), - [S$1.$doNotTrack]: dart.nullable(core.String), - [S$1.$geolocation]: html$.Geolocation, + [S$2.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$2.$deviceMemory]: dart.nullable(core.num), + [S$2.$doNotTrack]: dart.nullable(core.String), + [S$2.$geolocation]: html$.Geolocation, [S$2.$maxTouchPoints]: dart.nullable(core.int), [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), @@ -86932,35 +94658,46 @@ dart.setGetterSignature(html$.Navigator, () => ({ [S$2.$languages]: dart.nullable(core.List$(core.String)), [S$2.$onLine]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Navigator, I[148]); +dart.setLibraryUri(html$.Navigator, I[150]); dart.registerExtension("Navigator", html$.Navigator); -html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { +html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorAutomationInformation.__(); + } get [S$2.$webdriver]() { return this.webdriver; } }; dart.addTypeTests(html$.NavigatorAutomationInformation); dart.addTypeCaches(html$.NavigatorAutomationInformation); +dart.setStaticMethodSignature(html$.NavigatorAutomationInformation, () => ['__']); dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), [S$2.$webdriver]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); +dart.setLibraryUri(html$.NavigatorAutomationInformation, I[150]); dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); -html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { +html$.NavigatorCookies = class NavigatorCookies extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorCookies.__(); + } get [S$2.$cookieEnabled]() { return this.cookieEnabled; } }; dart.addTypeTests(html$.NavigatorCookies); dart.addTypeCaches(html$.NavigatorCookies); +dart.setStaticMethodSignature(html$.NavigatorCookies, () => ['__']); dart.setGetterSignature(html$.NavigatorCookies, () => ({ __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), [S$2.$cookieEnabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorCookies, I[148]); +dart.setLibraryUri(html$.NavigatorCookies, I[150]); dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); -html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { +html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorID.__(); + } get appCodeName() { return this.appCodeName; } @@ -86985,6 +94722,7 @@ html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { }; dart.addTypeTests(html$.NavigatorID); dart.addTypeCaches(html$.NavigatorID); +dart.setStaticMethodSignature(html$.NavigatorID, () => ['__']); dart.setGetterSignature(html$.NavigatorID, () => ({ __proto__: dart.getGetters(html$.NavigatorID.__proto__), appCodeName: core.String, @@ -87002,7 +94740,7 @@ dart.setGetterSignature(html$.NavigatorID, () => ({ userAgent: core.String, [S$2.$userAgent]: core.String })); -dart.setLibraryUri(html$.NavigatorID, I[148]); +dart.setLibraryUri(html$.NavigatorID, I[150]); dart.defineExtensionAccessors(html$.NavigatorID, [ 'appCodeName', 'appName', @@ -87012,7 +94750,10 @@ dart.defineExtensionAccessors(html$.NavigatorID, [ 'product', 'userAgent' ]); -html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { +html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorLanguage.__(); + } get language() { return this.language; } @@ -87022,30 +94763,38 @@ html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Intercep }; dart.addTypeTests(html$.NavigatorLanguage); dart.addTypeCaches(html$.NavigatorLanguage); +dart.setStaticMethodSignature(html$.NavigatorLanguage, () => ['__']); dart.setGetterSignature(html$.NavigatorLanguage, () => ({ __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), language: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), languages: dart.nullable(core.List$(core.String)), [S$2.$languages]: dart.nullable(core.List$(core.String)) })); -dart.setLibraryUri(html$.NavigatorLanguage, I[148]); +dart.setLibraryUri(html$.NavigatorLanguage, I[150]); dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); -html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { +html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorOnLine.__(); + } get onLine() { return this.onLine; } }; dart.addTypeTests(html$.NavigatorOnLine); dart.addTypeCaches(html$.NavigatorOnLine); +dart.setStaticMethodSignature(html$.NavigatorOnLine, () => ['__']); dart.setGetterSignature(html$.NavigatorOnLine, () => ({ __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), onLine: dart.nullable(core.bool), [S$2.$onLine]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorOnLine, I[148]); +dart.setLibraryUri(html$.NavigatorOnLine, I[150]); dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); -html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { +html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorUserMediaError.__(); + } get [S$2.$constraintName]() { return this.constraintName; } @@ -87058,15 +94807,19 @@ html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _intercept }; dart.addTypeTests(html$.NavigatorUserMediaError); dart.addTypeCaches(html$.NavigatorUserMediaError); +dart.setStaticMethodSignature(html$.NavigatorUserMediaError, () => ['__']); dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), [S$2.$constraintName]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); +dart.setLibraryUri(html$.NavigatorUserMediaError, I[150]); dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.NetworkInformation.__(); + } get [S$2.$downlink]() { return this.downlink; } @@ -87088,6 +94841,7 @@ html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { }; dart.addTypeTests(html$.NetworkInformation); dart.addTypeCaches(html$.NetworkInformation); +dart.setStaticMethodSignature(html$.NetworkInformation, () => ['__']); dart.setGetterSignature(html$.NetworkInformation, () => ({ __proto__: dart.getGetters(html$.NetworkInformation.__proto__), [S$2.$downlink]: dart.nullable(core.num), @@ -87097,14 +94851,19 @@ dart.setGetterSignature(html$.NetworkInformation, () => ({ [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.NetworkInformation, I[148]); +dart.setLibraryUri(html$.NetworkInformation, I[150]); +dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); dart.defineLazy(html$.NetworkInformation, { /*html$.NetworkInformation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("NetworkInformation", html$.NetworkInformation); html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + static ['_#new#tearOff'](_this) { + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); + return new html$._ChildNodeListLazy.new(_this); + } get first() { let result = this[S$._this].firstChild; if (result == null) dart.throw(new core.StateError.new("No elements")); @@ -87129,12 +94888,12 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } add(value) { html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + if (value == null) dart.nullFailed(I[149], 23150, 17, "value"); this[S$._this][S.$append](value); } addAll(iterable) { T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23154, 30, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { let otherList = iterable; if (otherList[S$._this] != this[S$._this]) { @@ -87149,9 +94908,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } insert(index, node) { - if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); html$.Node.as(node); - if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (node == null) dart.nullFailed(I[149], 23170, 31, "node"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } @@ -87162,9 +94921,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -87173,9 +94932,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); } removeLast() { @@ -87186,7 +94945,7 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ return result; } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + if (index == null) dart.nullFailed(I[149], 23202, 21, "index"); let result = this._get(index); if (result != null) { this[S$._this][S$._removeChild](result); @@ -87201,8 +94960,8 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ return true; } [S$1._filter$2](test, removeMatching) { - if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + if (test == null) dart.nullFailed(I[149], 23218, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[149], 23218, 43, "removeMatching"); let child = this[S$._this].firstChild; while (child != null) { let nextChild = child[S.$nextNode]; @@ -87213,11 +94972,11 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23232, 25, "test"); this[S$1._filter$2](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23236, 25, "test"); this[S$1._filter$2](test, false); } clear() { @@ -87225,9 +94984,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); this[S$._this][S$._replaceChild](value, this._get(index)); return value$; } @@ -87241,33 +95000,33 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); - if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + if (start == null) dart.nullFailed(I[149], 23263, 21, "start"); + if (end == null) dart.nullFailed(I[149], 23263, 32, "end"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 23263, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 23264, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); - if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + if (start == null) dart.nullFailed(I[149], 23268, 22, "start"); + if (end == null) dart.nullFailed(I[149], 23268, 33, "end"); T$0.NodeN$1().as(fill); dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); - if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + if (start == null) dart.nullFailed(I[149], 23272, 24, "start"); + if (end == null) dart.nullFailed(I[149], 23272, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); } get length() { return this[S$._this].childNodes[$length]; } set length(value) { - if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23281, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); } _get(index) { - if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); return this[S$._this].childNodes[$_get](index); } get rawList() { @@ -87275,7 +95034,7 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } }; (html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); this[S$._this] = _this; ; }).prototype = html$._ChildNodeListLazy.prototype; @@ -87301,7 +95060,7 @@ dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); +dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), [S$._this]: dart.finalFieldType(html$.Node) @@ -87333,10 +95092,16 @@ dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ 'iterator', 'length' ]); -html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; +html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NodeFilter.__(); + } +}; dart.addTypeTests(html$.NodeFilter); dart.addTypeCaches(html$.NodeFilter); -dart.setLibraryUri(html$.NodeFilter, I[148]); +dart.setStaticMethodSignature(html$.NodeFilter, () => ['__']); +dart.setLibraryUri(html$.NodeFilter, I[150]); +dart.setStaticFieldSignature(html$.NodeFilter, () => ['FILTER_ACCEPT', 'FILTER_REJECT', 'FILTER_SKIP', 'SHOW_ALL', 'SHOW_COMMENT', 'SHOW_DOCUMENT', 'SHOW_DOCUMENT_FRAGMENT', 'SHOW_DOCUMENT_TYPE', 'SHOW_ELEMENT', 'SHOW_PROCESSING_INSTRUCTION', 'SHOW_TEXT']); dart.defineLazy(html$.NodeFilter, { /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { return 1; @@ -87373,12 +95138,20 @@ dart.defineLazy(html$.NodeFilter, { } }, false); dart.registerExtension("NodeFilter", html$.NodeFilter); -html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { +html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); return html$.document[S$1._createNodeIterator](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); + return html$.NodeIterator.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.NodeIterator.__(); + } get [S$2.$pointerBeforeReferenceNode]() { return this.pointerBeforeReferenceNode; } @@ -87409,6 +95182,7 @@ dart.setMethodSignature(html$.NodeIterator, () => ({ [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) })); +dart.setStaticMethodSignature(html$.NodeIterator, () => ['new', '__']); dart.setGetterSignature(html$.NodeIterator, () => ({ __proto__: dart.getGetters(html$.NodeIterator.__proto__), [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), @@ -87416,37 +95190,40 @@ dart.setGetterSignature(html$.NodeIterator, () => ({ [S$1.$root]: html$.Node, [S$2.$whatToShow]: core.int })); -dart.setLibraryUri(html$.NodeIterator, I[148]); +dart.setLibraryUri(html$.NodeIterator, I[150]); dart.registerExtension("NodeIterator", html$.NodeIterator); -const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$3.new = function() { - Interceptor_ListMixin$36$3.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$3.prototype; -dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; -(Interceptor_ImmutableListMixin$36$3.new = function() { - Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$3.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); -html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { +const JavaScriptObject_ListMixin$36$3 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$3.new = function() { + JavaScriptObject_ListMixin$36$3.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$3.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$3, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$3 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$3 {}; +(JavaScriptObject_ImmutableListMixin$36$3.new = function() { + JavaScriptObject_ImmutableListMixin$36$3.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$3.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); +html$.NodeList = class NodeList extends JavaScriptObject_ImmutableListMixin$36$3 { + static ['_#_#tearOff']() { + return html$.NodeList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 23733, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23739, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23739, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23745, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -87477,7 +95254,7 @@ html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23773, 22, "index"); return this[$_get](index); } [S$1._item](...args) { @@ -87487,13 +95264,14 @@ html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { html$.NodeList.prototype[dart.isList] = true; dart.addTypeTests(html$.NodeList); dart.addTypeCaches(html$.NodeList); -html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$.NodeList[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.NodeList, () => ({ __proto__: dart.getMethods(html$.NodeList.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); +dart.setStaticMethodSignature(html$.NodeList, () => ['__']); dart.setGetterSignature(html$.NodeList, () => ({ __proto__: dart.getGetters(html$.NodeList.__proto__), [$length]: core.int @@ -87502,10 +95280,13 @@ dart.setSetterSignature(html$.NodeList, () => ({ __proto__: dart.getSetters(html$.NodeList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.NodeList, I[148]); +dart.setLibraryUri(html$.NodeList, I[150]); dart.registerExtension("NodeList", html$.NodeList); dart.registerExtension("RadioNodeList", html$.NodeList); -html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { +html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonDocumentTypeChildNode.__(); + } get [S.$nextElementSibling]() { return this.nextElementSibling; } @@ -87515,14 +95296,18 @@ html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interce }; dart.addTypeTests(html$.NonDocumentTypeChildNode); dart.addTypeCaches(html$.NonDocumentTypeChildNode); +dart.setStaticMethodSignature(html$.NonDocumentTypeChildNode, () => ['__']); dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), [S.$nextElementSibling]: dart.nullable(html$.Element), [S.$previousElementSibling]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); +dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[150]); dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); -html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { +html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonElementParentNode.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -87533,9 +95318,13 @@ dart.setMethodSignature(html$.NonElementParentNode, () => ({ __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) })); -dart.setLibraryUri(html$.NonElementParentNode, I[148]); +dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); +dart.setLibraryUri(html$.NonElementParentNode, I[150]); dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); -html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { +html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NoncedElement.__(); + } get [S.$nonce]() { return this.nonce; } @@ -87545,6 +95334,7 @@ html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { }; dart.addTypeTests(html$.NoncedElement); dart.addTypeCaches(html$.NoncedElement); +dart.setStaticMethodSignature(html$.NoncedElement, () => ['__']); dart.setGetterSignature(html$.NoncedElement, () => ({ __proto__: dart.getGetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -87553,11 +95343,11 @@ dart.setSetterSignature(html$.NoncedElement, () => ({ __proto__: dart.getSetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NoncedElement, I[148]); +dart.setLibraryUri(html$.NoncedElement, I[150]); dart.registerExtension("NoncedElement", html$.NoncedElement); html$.Notification = class Notification$ extends html$.EventTarget { static new(title, opts) { - if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); let dir = opts && 'dir' in opts ? opts.dir : null; let body = opts && 'body' in opts ? opts.body : null; let lang = opts && 'lang' in opts ? opts.lang : null; @@ -87571,8 +95361,20 @@ html$.Notification = class Notification$ extends html$.EventTarget { if (icon != null) parsedOptions[$_set]("icon", icon); return html$.Notification._factoryNotification(title, parsedOptions); } + static ['_#new#tearOff'](title, opts) { + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + return html$.Notification.new(title, {dir: dir, body: body, lang: lang, tag: tag, icon: icon}); + } + static ['_#_#tearOff']() { + return html$.Notification.__(); + } static _factoryNotification(title, options = null) { - if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (title == null) dart.nullFailed(I[149], 23879, 51, "title"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.Notification._create_1(title, options_1); @@ -87639,9 +95441,9 @@ html$.Notification = class Notification$ extends html$.EventTarget { static requestPermission() { let completer = T$0.CompleterOfString().new(); dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); completer.complete(value); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); return completer.future; } get [S.$onClick]() { @@ -87663,6 +95465,7 @@ dart.setMethodSignature(html$.Notification, () => ({ __proto__: dart.getMethods(html$.Notification.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Notification, () => ['new', '__', '_factoryNotification', '_create_1', '_create_2', '_requestPermission', 'requestPermission']); dart.setGetterSignature(html$.Notification, () => ({ __proto__: dart.getGetters(html$.Notification.__proto__), [S$2.$actions]: dart.nullable(core.List), @@ -87685,29 +95488,39 @@ dart.setGetterSignature(html$.Notification, () => ({ [S.$onError]: async.Stream$(html$.Event), [S$2.$onShow]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.Notification, I[148]); +dart.setStaticGetterSignature(html$.Notification, () => ['supported', 'maxActions', 'permission']); +dart.setLibraryUri(html$.Notification, I[150]); +dart.setStaticFieldSignature(html$.Notification, () => ['clickEvent', 'closeEvent', 'errorEvent', 'showEvent']); dart.defineLazy(html$.Notification, { /*html$.Notification.clickEvent*/get clickEvent() { - return C[351] || CT.C351; + return C[361] || CT.C361; }, /*html$.Notification.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.Notification.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Notification.showEvent*/get showEvent() { - return C[352] || CT.C352; + return C[362] || CT.C362; } }, false); dart.registerExtension("Notification", html$.Notification); html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.NotificationEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.NotificationEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); + return html$.NotificationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new NotificationEvent(type, eventInitDict); } @@ -87723,18 +95536,28 @@ html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent }; dart.addTypeTests(html$.NotificationEvent); dart.addTypeCaches(html$.NotificationEvent); +dart.setStaticMethodSignature(html$.NotificationEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.NotificationEvent, () => ({ __proto__: dart.getGetters(html$.NotificationEvent.__proto__), [S$1.$action]: dart.nullable(core.String), [S$2.$notification]: dart.nullable(html$.Notification), [S$2.$reply]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NotificationEvent, I[148]); +dart.setLibraryUri(html$.NotificationEvent, I[150]); dart.registerExtension("NotificationEvent", html$.NotificationEvent); html$.OListElement = class OListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OListElement.__(); + } static new() { return html$.document.createElement("ol"); } + static ['_#new#tearOff']() { + return html$.OListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OListElement.created(); + } get [$reversed]() { return this.reversed; } @@ -87760,6 +95583,7 @@ html$.OListElement = class OListElement extends html$.HtmlElement { }).prototype = html$.OListElement.prototype; dart.addTypeTests(html$.OListElement); dart.addTypeCaches(html$.OListElement); +dart.setStaticMethodSignature(html$.OListElement, () => ['__', 'new']); dart.setGetterSignature(html$.OListElement, () => ({ __proto__: dart.getGetters(html$.OListElement.__proto__), [$reversed]: dart.nullable(core.bool), @@ -87772,12 +95596,21 @@ dart.setSetterSignature(html$.OListElement, () => ({ [S$.$start]: core.int, [S.$type]: core.String })); -dart.setLibraryUri(html$.OListElement, I[148]); +dart.setLibraryUri(html$.OListElement, I[150]); dart.registerExtension("HTMLOListElement", html$.OListElement); html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ObjectElement.__(); + } static new() { return html$.ObjectElement.as(html$.document[S.$createElement]("object")); } + static ['_#new#tearOff']() { + return html$.ObjectElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ObjectElement.created(); + } static get supported() { return html$.Element.isTagSupported("object"); } @@ -87865,6 +95698,7 @@ dart.setMethodSignature(html$.ObjectElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.ObjectElement, () => ['__', 'new']); dart.setGetterSignature(html$.ObjectElement, () => ({ __proto__: dart.getGetters(html$.ObjectElement.__proto__), [S$1.$contentWindow]: dart.nullable(html$.WindowBase), @@ -87889,14 +95723,23 @@ dart.setSetterSignature(html$.ObjectElement, () => ({ [S$1.$useMap]: core.String, [$width]: core.String })); -dart.setLibraryUri(html$.ObjectElement, I[148]); +dart.setStaticGetterSignature(html$.ObjectElement, () => ['supported']); +dart.setLibraryUri(html$.ObjectElement, I[150]); dart.registerExtension("HTMLObjectElement", html$.ObjectElement); html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.OffscreenCanvas.__(); + } static new(width, height) { - if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); - if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); return html$.OffscreenCanvas._create_1(width, height); } + static ['_#new#tearOff'](width, height) { + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); + return html$.OffscreenCanvas.new(width, height); + } static _create_1(width, height) { return new OffscreenCanvas(width, height); } @@ -87920,7 +95763,7 @@ html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); } [S$.$getContext](contextType, attributes = null) { - if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (contextType == null) dart.nullFailed(I[149], 24133, 29, "contextType"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextType, attributes_1); @@ -87947,6 +95790,7 @@ dart.setMethodSignature(html$.OffscreenCanvas, () => ({ [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) })); +dart.setStaticMethodSignature(html$.OffscreenCanvas, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OffscreenCanvas, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), [$height]: dart.nullable(core.int), @@ -87957,9 +95801,12 @@ dart.setSetterSignature(html$.OffscreenCanvas, () => ({ [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.OffscreenCanvas, I[148]); +dart.setLibraryUri(html$.OffscreenCanvas, I[150]); dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); -html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { +html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OffscreenCanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -88147,10 +95994,10 @@ html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2 return this.fillText.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 24323, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 24323, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 24323, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 24323, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -88169,9 +96016,9 @@ html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2 return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 24339, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 24339, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 24339, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -88306,6 +96153,7 @@ dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), @@ -88353,12 +96201,21 @@ dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ [S$.$textAlign]: dart.nullable(core.String), [S$.$textBaseline]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); +dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[150]); dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OptGroupElement.__(); + } static new() { return html$.document.createElement("optgroup"); } + static ['_#new#tearOff']() { + return html$.OptGroupElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OptGroupElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -88378,6 +96235,7 @@ html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { }).prototype = html$.OptGroupElement.prototype; dart.addTypeTests(html$.OptGroupElement); dart.addTypeCaches(html$.OptGroupElement); +dart.setStaticMethodSignature(html$.OptGroupElement, () => ['__', 'new']); dart.setGetterSignature(html$.OptGroupElement, () => ({ __proto__: dart.getGetters(html$.OptGroupElement.__proto__), [S$.$disabled]: core.bool, @@ -88388,18 +96246,27 @@ dart.setSetterSignature(html$.OptGroupElement, () => ({ [S$.$disabled]: core.bool, [S$.$label]: core.String })); -dart.setLibraryUri(html$.OptGroupElement, I[148]); +dart.setLibraryUri(html$.OptGroupElement, I[150]); dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); html$.OptionElement = class OptionElement extends html$.HtmlElement { static new(opts) { let data = opts && 'data' in opts ? opts.data : ""; - if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); let value = opts && 'value' in opts ? opts.value : ""; - if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); let selected = opts && 'selected' in opts ? opts.selected : false; - if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); return html$.OptionElement.__(data, value, null, selected); } + static ['_#new#tearOff'](opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); + return html$.OptionElement.new({data: data, value: value, selected: selected}); + } static __(data = null, value = null, defaultSelected = null, selected = null) { if (selected != null) { return html$.OptionElement._create_1(data, value, defaultSelected, selected); @@ -88415,6 +96282,9 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { } return html$.OptionElement._create_5(); } + static ['_#_#tearOff'](data = null, value = null, defaultSelected = null, selected = null) { + return html$.OptionElement.__(data, value, defaultSelected, selected); + } static _create_1(data, value, defaultSelected, selected) { return new Option(data, value, defaultSelected, selected); } @@ -88430,6 +96300,9 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { static _create_5() { return new Option(); } + static ['_#created#tearOff']() { + return new html$.OptionElement.created(); + } get [S$2.$defaultSelected]() { return this.defaultSelected; } @@ -88473,6 +96346,7 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { }).prototype = html$.OptionElement.prototype; dart.addTypeTests(html$.OptionElement); dart.addTypeCaches(html$.OptionElement); +dart.setStaticMethodSignature(html$.OptionElement, () => ['new', '__', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setGetterSignature(html$.OptionElement, () => ({ __proto__: dart.getGetters(html$.OptionElement.__proto__), [S$2.$defaultSelected]: core.bool, @@ -88491,12 +96365,21 @@ dart.setSetterSignature(html$.OptionElement, () => ({ [S$.$selected]: core.bool, [S.$value]: core.String })); -dart.setLibraryUri(html$.OptionElement, I[148]); +dart.setLibraryUri(html$.OptionElement, I[150]); dart.registerExtension("HTMLOptionElement", html$.OptionElement); html$.OutputElement = class OutputElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OutputElement.__(); + } static new() { return html$.OutputElement.as(html$.document[S.$createElement]("output")); } + static ['_#new#tearOff']() { + return html$.OutputElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OutputElement.created(); + } static get supported() { return html$.Element.isTagSupported("output"); } @@ -88561,6 +96444,7 @@ dart.setMethodSignature(html$.OutputElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.OutputElement, () => ['__', 'new']); dart.setGetterSignature(html$.OutputElement, () => ({ __proto__: dart.getGetters(html$.OutputElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.String), @@ -88580,14 +96464,23 @@ dart.setSetterSignature(html$.OutputElement, () => ({ [$name]: dart.nullable(core.String), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OutputElement, I[148]); +dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); +dart.setLibraryUri(html$.OutputElement, I[150]); dart.registerExtension("HTMLOutputElement", html$.OutputElement); -html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { +html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OverconstrainedError.__(); + } static new(constraint, message) { - if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); - if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); return html$.OverconstrainedError._create_1(constraint, message); } + static ['_#new#tearOff'](constraint, message) { + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); + return html$.OverconstrainedError.new(constraint, message); + } static _create_1(constraint, message) { return new OverconstrainedError(constraint, message); } @@ -88603,23 +96496,31 @@ html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.I }; dart.addTypeTests(html$.OverconstrainedError); dart.addTypeCaches(html$.OverconstrainedError); +dart.setStaticMethodSignature(html$.OverconstrainedError, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OverconstrainedError, () => ({ __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), [S$2.$constraint]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OverconstrainedError, I[148]); +dart.setLibraryUri(html$.OverconstrainedError, I[150]); dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PageTransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PageTransitionEvent._create_1(type, eventInitDict_1); } return html$.PageTransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); + return html$.PageTransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PageTransitionEvent(type, eventInitDict); } @@ -88632,13 +96533,17 @@ html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { }; dart.addTypeTests(html$.PageTransitionEvent); dart.addTypeCaches(html$.PageTransitionEvent); +dart.setStaticMethodSignature(html$.PageTransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PageTransitionEvent, () => ({ __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), [S$2.$persisted]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.PageTransitionEvent, I[148]); +dart.setLibraryUri(html$.PageTransitionEvent, I[150]); dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); -html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { +html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintRenderingContext2D.__(); + } get [S$.$currentTransform]() { return this.currentTransform; } @@ -88876,6 +96781,7 @@ dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(html$.PaintRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), [S$.$currentTransform]: dart.nullable(svg$.Matrix), @@ -88916,9 +96822,12 @@ dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ [S$.$shadowOffsetY]: dart.nullable(core.num), [S$.$strokeStyle]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); +dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); -html$.PaintSize = class PaintSize extends _interceptors.Interceptor { +html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintSize.__(); + } get [$height]() { return this.height; } @@ -88928,14 +96837,18 @@ html$.PaintSize = class PaintSize extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaintSize); dart.addTypeCaches(html$.PaintSize); +dart.setStaticMethodSignature(html$.PaintSize, () => ['__']); dart.setGetterSignature(html$.PaintSize, () => ({ __proto__: dart.getGetters(html$.PaintSize.__proto__), [$height]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PaintSize, I[148]); +dart.setLibraryUri(html$.PaintSize, I[150]); dart.registerExtension("PaintSize", html$.PaintSize); html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.PaintWorkletGlobalScope.__(); + } get [S$2.$devicePixelRatio]() { return this.devicePixelRatio; } @@ -88949,16 +96862,26 @@ dart.setMethodSignature(html$.PaintWorkletGlobalScope, () => ({ __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) })); +dart.setStaticMethodSignature(html$.PaintWorkletGlobalScope, () => ['__']); dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), [S$2.$devicePixelRatio]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); +dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[150]); dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParagraphElement.__(); + } static new() { return html$.document.createElement("p"); } + static ['_#new#tearOff']() { + return html$.ParagraphElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParagraphElement.created(); + } }; (html$.ParagraphElement.created = function() { html$.ParagraphElement.__proto__.created.call(this); @@ -88966,12 +96889,22 @@ html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { }).prototype = html$.ParagraphElement.prototype; dart.addTypeTests(html$.ParagraphElement); dart.addTypeCaches(html$.ParagraphElement); -dart.setLibraryUri(html$.ParagraphElement, I[148]); +dart.setStaticMethodSignature(html$.ParagraphElement, () => ['__', 'new']); +dart.setLibraryUri(html$.ParagraphElement, I[150]); dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); html$.ParamElement = class ParamElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParamElement.__(); + } static new() { return html$.document.createElement("param"); } + static ['_#new#tearOff']() { + return html$.ParamElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParamElement.created(); + } get [$name]() { return this.name; } @@ -88991,6 +96924,7 @@ html$.ParamElement = class ParamElement extends html$.HtmlElement { }).prototype = html$.ParamElement.prototype; dart.addTypeTests(html$.ParamElement); dart.addTypeCaches(html$.ParamElement); +dart.setStaticMethodSignature(html$.ParamElement, () => ['__', 'new']); dart.setGetterSignature(html$.ParamElement, () => ({ __proto__: dart.getGetters(html$.ParamElement.__proto__), [$name]: core.String, @@ -89001,9 +96935,12 @@ dart.setSetterSignature(html$.ParamElement, () => ({ [$name]: core.String, [S.$value]: core.String })); -dart.setLibraryUri(html$.ParamElement, I[148]); +dart.setLibraryUri(html$.ParamElement, I[150]); dart.registerExtension("HTMLParamElement", html$.ParamElement); -html$.ParentNode = class ParentNode extends _interceptors.Interceptor { +html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ParentNode.__(); + } get [S._childElementCount]() { return this._childElementCount; } @@ -89019,6 +96956,7 @@ html$.ParentNode = class ParentNode extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ParentNode); dart.addTypeCaches(html$.ParentNode); +dart.setStaticMethodSignature(html$.ParentNode, () => ['__']); dart.setGetterSignature(html$.ParentNode, () => ({ __proto__: dart.getGetters(html$.ParentNode.__proto__), [S._childElementCount]: core.int, @@ -89026,8 +96964,11 @@ dart.setGetterSignature(html$.ParentNode, () => ({ [S._firstElementChild]: dart.nullable(html$.Element), [S._lastElementChild]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.ParentNode, I[148]); +dart.setLibraryUri(html$.ParentNode, I[150]); html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PasswordCredential.__(); + } static new(data_OR_form) { if (core.Map.is(data_OR_form)) { let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); @@ -89038,6 +96979,9 @@ html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_form) { + return html$.PasswordCredential.new(data_OR_form); + } static _create_1(data_OR_form) { return new PasswordCredential(data_OR_form); } @@ -89075,6 +97019,7 @@ html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { dart.addTypeTests(html$.PasswordCredential); dart.addTypeCaches(html$.PasswordCredential); html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setStaticMethodSignature(html$.PasswordCredential, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PasswordCredential, () => ({ __proto__: dart.getGetters(html$.PasswordCredential.__proto__), [S$2.$additionalData]: dart.nullable(core.Object), @@ -89090,9 +97035,12 @@ dart.setSetterSignature(html$.PasswordCredential, () => ({ [S$2.$idName]: dart.nullable(core.String), [S$2.$passwordName]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PasswordCredential, I[148]); +dart.setLibraryUri(html$.PasswordCredential, I[150]); dart.registerExtension("PasswordCredential", html$.PasswordCredential); -html$.Path2D = class Path2D$ extends _interceptors.Interceptor { +html$.Path2D = class Path2D$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Path2D.__(); + } static new(path_OR_text = null) { if (path_OR_text == null) { return html$.Path2D._create_1(); @@ -89105,6 +97053,9 @@ html$.Path2D = class Path2D$ extends _interceptors.Interceptor { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](path_OR_text = null) { + return html$.Path2D.new(path_OR_text); + } static _create_1() { return new Path2D(); } @@ -89161,9 +97112,13 @@ dart.setMethodSignature(html$.Path2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); -dart.setLibraryUri(html$.Path2D, I[148]); +dart.setStaticMethodSignature(html$.Path2D, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); +dart.setLibraryUri(html$.Path2D, I[150]); dart.registerExtension("Path2D", html$.Path2D); -html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { +html$.PaymentAddress = class PaymentAddress extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentAddress.__(); + } get [S$2.$addressLine]() { return this.addressLine; } @@ -89200,6 +97155,7 @@ html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaymentAddress); dart.addTypeCaches(html$.PaymentAddress); +dart.setStaticMethodSignature(html$.PaymentAddress, () => ['__']); dart.setGetterSignature(html$.PaymentAddress, () => ({ __proto__: dart.getGetters(html$.PaymentAddress.__proto__), [S$2.$addressLine]: dart.nullable(core.List$(core.String)), @@ -89214,30 +97170,33 @@ dart.setGetterSignature(html$.PaymentAddress, () => ({ [S$1.$region]: dart.nullable(core.String), [S$2.$sortingCode]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentAddress, I[148]); +dart.setLibraryUri(html$.PaymentAddress, I[150]); dart.registerExtension("PaymentAddress", html$.PaymentAddress); -html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { +html$.PaymentInstruments = class PaymentInstruments extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentInstruments.__(); + } [$clear]() { return js_util.promiseToFuture(dart.dynamic, this.clear()); } [S.$delete](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25057, 30, "instrumentKey"); return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); } [S.$get](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25060, 44, "instrumentKey"); return html$.promiseToFutureAsMap(this.get(instrumentKey)); } [S$.$has](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25063, 21, "instrumentKey"); return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); } [$keys]() { return js_util.promiseToFuture(core.List, this.keys()); } [S$.$set](instrumentKey, details) { - if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); - if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + if (instrumentKey == null) dart.nullFailed(I[149], 25069, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[149], 25069, 40, "details"); let details_dict = html_common.convertDartToNative_Dictionary(details); return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); } @@ -89253,9 +97212,13 @@ dart.setMethodSignature(html$.PaymentInstruments, () => ({ [$keys]: dart.fnType(async.Future$(core.List), []), [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) })); -dart.setLibraryUri(html$.PaymentInstruments, I[148]); +dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); +dart.setLibraryUri(html$.PaymentInstruments, I[150]); dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); -html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { +html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentManager.__(); + } get [S$2.$instruments]() { return this.instruments; } @@ -89268,6 +97231,7 @@ html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaymentManager); dart.addTypeCaches(html$.PaymentManager); +dart.setStaticMethodSignature(html$.PaymentManager, () => ['__']); dart.setGetterSignature(html$.PaymentManager, () => ({ __proto__: dart.getGetters(html$.PaymentManager.__proto__), [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), @@ -89277,12 +97241,12 @@ dart.setSetterSignature(html$.PaymentManager, () => ({ __proto__: dart.getSetters(html$.PaymentManager.__proto__), [S$2.$userHint]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentManager, I[148]); +dart.setLibraryUri(html$.PaymentManager, I[150]); dart.registerExtension("PaymentManager", html$.PaymentManager); html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { static new(methodData, details, options = null) { - if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); - if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); let methodData_1 = []; for (let i of methodData) { methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); @@ -89295,12 +97259,20 @@ html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { let details_1 = html_common.convertDartToNative_Dictionary(details); return html$.PaymentRequest._create_2(methodData_1, details_1); } + static ['_#new#tearOff'](methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); + return html$.PaymentRequest.new(methodData, details, options); + } static _create_1(methodData, details, options) { return new PaymentRequest(methodData, details, options); } static _create_2(methodData, details) { return new PaymentRequest(methodData, details); } + static ['_#_#tearOff']() { + return html$.PaymentRequest.__(); + } get [S.$id]() { return this.id; } @@ -89331,6 +97303,7 @@ dart.setMethodSignature(html$.PaymentRequest, () => ({ [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) })); +dart.setStaticMethodSignature(html$.PaymentRequest, () => ['new', '_create_1', '_create_2', '__']); dart.setGetterSignature(html$.PaymentRequest, () => ({ __proto__: dart.getGetters(html$.PaymentRequest.__proto__), [S.$id]: dart.nullable(core.String), @@ -89338,15 +97311,23 @@ dart.setGetterSignature(html$.PaymentRequest, () => ({ [S$2.$shippingOption]: dart.nullable(core.String), [S$2.$shippingType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentRequest, I[148]); +dart.setLibraryUri(html$.PaymentRequest, I[150]); dart.registerExtension("PaymentRequest", html$.PaymentRequest); html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PaymentRequestEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); + return html$.PaymentRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestEvent(type, eventInitDict); } @@ -89372,7 +97353,7 @@ html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableE return this.total; } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } [S$.$respondWith](...args) { @@ -89386,6 +97367,7 @@ dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.PaymentRequestEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), [S$2.$instrumentKey]: dart.nullable(core.String), @@ -89396,17 +97378,24 @@ dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ [S$.$topLevelOrigin]: dart.nullable(core.String), [S$2.$total]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); +dart.setLibraryUri(html$.PaymentRequestEvent, I[150]); dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PaymentRequestUpdateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); } return html$.PaymentRequestUpdateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); + return html$.PaymentRequestUpdateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestUpdateEvent(type, eventInitDict); } @@ -89423,9 +97412,13 @@ dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); +dart.setStaticMethodSignature(html$.PaymentRequestUpdateEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[150]); dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); -html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { +html$.PaymentResponse = class PaymentResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentResponse.__(); + } get [S$.$details]() { return this.details; } @@ -89460,6 +97453,7 @@ dart.setMethodSignature(html$.PaymentResponse, () => ({ __proto__: dart.getMethods(html$.PaymentResponse.__proto__), [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.PaymentResponse, () => ['__']); dart.setGetterSignature(html$.PaymentResponse, () => ({ __proto__: dart.getGetters(html$.PaymentResponse.__proto__), [S$.$details]: dart.nullable(core.Object), @@ -89471,9 +97465,12 @@ dart.setGetterSignature(html$.PaymentResponse, () => ({ [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), [S$2.$shippingOption]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentResponse, I[148]); +dart.setLibraryUri(html$.PaymentResponse, I[150]); dart.registerExtension("PaymentResponse", html$.PaymentResponse); html$.Performance = class Performance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Performance.__(); + } static get supported() { return !!window.performance; } @@ -89507,10 +97504,47 @@ html$.Performance = class Performance extends html$.EventTarget { [S$2.$getEntriesByType](...args) { return this.getEntriesByType.apply(this, args); } - [S$2.$mark](...args) { + [S$2.$mark](markName, markOptions = null) { + if (markName == null) dart.nullFailed(I[149], 25279, 33, "markName"); + if (markOptions != null) { + let markOptions_1 = html_common.convertDartToNative_Dictionary(markOptions); + return this[S$2._mark_1](markName, markOptions_1); + } + return this[S$2._mark_2](markName); + } + [S$2._mark_1](...args) { return this.mark.apply(this, args); } - [S$2.$measure](...args) { + [S$2._mark_2](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](measureName, measureOptions_OR_startMark = null, endMark = null) { + if (measureName == null) dart.nullFailed(I[149], 25292, 38, "measureName"); + if (measureOptions_OR_startMark == null && endMark == null) { + return this[S$2._measure_1](measureName); + } + if ((typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) && endMark == null) { + return this[S$2._measure_2](measureName, T$.StringN().as(measureOptions_OR_startMark)); + } + if (typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) { + return this[S$2._measure_3](measureName, T$.StringN().as(measureOptions_OR_startMark), endMark); + } + if (core.Map.is(measureOptions_OR_startMark) && endMark == null) { + let measureOptions_1 = html_common.convertDartToNative_Dictionary(measureOptions_OR_startMark); + return this[S$2._measure_4](measureName, measureOptions_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$2._measure_1](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_2](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_3](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_4](...args) { return this.measure.apply(this, args); } [S$2.$now](...args) { @@ -89530,11 +97564,18 @@ dart.setMethodSignature(html$.Performance, () => ({ [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), - [S$2.$mark]: dart.fnType(dart.void, [core.String]), - [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$mark]: dart.fnType(dart.nullable(html$.PerformanceEntry), [core.String], [dart.nullable(core.Map)]), + [S$2._mark_1]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic, dart.dynamic]), + [S$2._mark_2]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic]), + [S$2.$measure]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [core.String], [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_1]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic]), + [S$2._measure_2]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_3]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String), dart.dynamic]), + [S$2._measure_4]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.dynamic]), [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.Performance, () => ['__']); dart.setGetterSignature(html$.Performance, () => ({ __proto__: dart.getGetters(html$.Performance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), @@ -89542,9 +97583,13 @@ dart.setGetterSignature(html$.Performance, () => ({ [S$2.$timeOrigin]: dart.nullable(core.num), [S$.$timing]: html$.PerformanceTiming })); -dart.setLibraryUri(html$.Performance, I[148]); +dart.setStaticGetterSignature(html$.Performance, () => ['supported']); +dart.setLibraryUri(html$.Performance, I[150]); dart.registerExtension("Performance", html$.Performance); -html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { +html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceEntry.__(); + } get [S$.$duration]() { return this.duration; } @@ -89560,6 +97605,7 @@ html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Intercepto }; dart.addTypeTests(html$.PerformanceEntry); dart.addTypeCaches(html$.PerformanceEntry); +dart.setStaticMethodSignature(html$.PerformanceEntry, () => ['__']); dart.setGetterSignature(html$.PerformanceEntry, () => ({ __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), [S$.$duration]: core.num, @@ -89567,32 +97613,49 @@ dart.setGetterSignature(html$.PerformanceEntry, () => ({ [$name]: core.String, [S$.$startTime]: core.num })); -dart.setLibraryUri(html$.PerformanceEntry, I[148]); +dart.setLibraryUri(html$.PerformanceEntry, I[150]); dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceLongTaskTiming.__(); + } get [S$2.$attribution]() { return this.attribution; } }; dart.addTypeTests(html$.PerformanceLongTaskTiming); dart.addTypeCaches(html$.PerformanceLongTaskTiming); +dart.setStaticMethodSignature(html$.PerformanceLongTaskTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) })); -dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); +dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[150]); dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); -html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; +html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMark.__(); + } +}; dart.addTypeTests(html$.PerformanceMark); dart.addTypeCaches(html$.PerformanceMark); -dart.setLibraryUri(html$.PerformanceMark, I[148]); +dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); +dart.setLibraryUri(html$.PerformanceMark, I[150]); dart.registerExtension("PerformanceMark", html$.PerformanceMark); -html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; +html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMeasure.__(); + } +}; dart.addTypeTests(html$.PerformanceMeasure); dart.addTypeCaches(html$.PerformanceMeasure); -dart.setLibraryUri(html$.PerformanceMeasure, I[148]); +dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); +dart.setLibraryUri(html$.PerformanceMeasure, I[150]); dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); -html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { +html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceNavigation.__(); + } get [S$2.$redirectCount]() { return this.redirectCount; } @@ -89602,12 +97665,14 @@ html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors. }; dart.addTypeTests(html$.PerformanceNavigation); dart.addTypeCaches(html$.PerformanceNavigation); +dart.setStaticMethodSignature(html$.PerformanceNavigation, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigation, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), [S$2.$redirectCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.PerformanceNavigation, I[148]); +dart.setLibraryUri(html$.PerformanceNavigation, I[150]); +dart.setStaticFieldSignature(html$.PerformanceNavigation, () => ['TYPE_BACK_FORWARD', 'TYPE_NAVIGATE', 'TYPE_RELOAD', 'TYPE_RESERVED']); dart.defineLazy(html$.PerformanceNavigation, { /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { return 2; @@ -89624,6 +97689,9 @@ dart.defineLazy(html$.PerformanceNavigation, { }, false); dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceResourceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89681,6 +97749,7 @@ html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$. }; dart.addTypeTests(html$.PerformanceResourceTiming); dart.addTypeCaches(html$.PerformanceResourceTiming); +dart.setStaticMethodSignature(html$.PerformanceResourceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), [S$2.$connectEnd]: core.num, @@ -89702,9 +97771,12 @@ dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ [S$2.$transferSize]: dart.nullable(core.int), [S$2.$workerStart]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); +dart.setLibraryUri(html$.PerformanceResourceTiming, I[150]); dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + static ['_#_#tearOff']() { + return html$.PerformanceNavigationTiming.__(); + } get [S$2.$domComplete]() { return this.domComplete; } @@ -89738,6 +97810,7 @@ html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends ht }; dart.addTypeTests(html$.PerformanceNavigationTiming); dart.addTypeCaches(html$.PerformanceNavigationTiming); +dart.setStaticMethodSignature(html$.PerformanceNavigationTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), [S$2.$domComplete]: dart.nullable(core.num), @@ -89751,14 +97824,21 @@ dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ [S$2.$unloadEventEnd]: dart.nullable(core.num), [S$2.$unloadEventStart]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); +dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); -html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { +html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); return html$.PerformanceObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); + return html$.PerformanceObserver.new(callback); + } static _create_1(callback) { return new PerformanceObserver(callback); } @@ -89766,7 +97846,7 @@ html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Int return this.disconnect.apply(this, args); } [S.$observe](options) { - if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + if (options == null) dart.nullFailed(I[149], 25457, 20, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](options_1); return; @@ -89783,9 +97863,13 @@ dart.setMethodSignature(html$.PerformanceObserver, () => ({ [S.$observe]: dart.fnType(dart.void, [core.Map]), [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) })); -dart.setLibraryUri(html$.PerformanceObserver, I[148]); +dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.PerformanceObserver, I[150]); dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); -html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { +html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserverEntryList.__(); + } [S$2.$getEntries](...args) { return this.getEntries.apply(this, args); } @@ -89804,14 +97888,23 @@ dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) })); -dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); +dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); +dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); -html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; +html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformancePaintTiming.__(); + } +}; dart.addTypeTests(html$.PerformancePaintTiming); dart.addTypeCaches(html$.PerformancePaintTiming); -dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); +dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); +dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); -html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { +html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceServerTiming.__(); + } get [S$1.$description]() { return this.description; } @@ -89824,15 +97917,19 @@ html$.PerformanceServerTiming = class PerformanceServerTiming extends _intercept }; dart.addTypeTests(html$.PerformanceServerTiming); dart.addTypeCaches(html$.PerformanceServerTiming); +dart.setStaticMethodSignature(html$.PerformanceServerTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), [S$1.$description]: dart.nullable(core.String), [S$.$duration]: dart.nullable(core.num), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); +dart.setLibraryUri(html$.PerformanceServerTiming, I[150]); dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); -html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { +html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89899,6 +97996,7 @@ html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Intercep }; dart.addTypeTests(html$.PerformanceTiming); dart.addTypeCaches(html$.PerformanceTiming); +dart.setStaticMethodSignature(html$.PerformanceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), [S$2.$connectEnd]: core.int, @@ -89923,9 +98021,12 @@ dart.setGetterSignature(html$.PerformanceTiming, () => ({ [S$2.$unloadEventEnd]: core.int, [S$2.$unloadEventStart]: core.int })); -dart.setLibraryUri(html$.PerformanceTiming, I[148]); +dart.setLibraryUri(html$.PerformanceTiming, I[150]); dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PermissionStatus.__(); + } get [S$.$state]() { return this.state; } @@ -89935,35 +98036,40 @@ html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { }; dart.addTypeTests(html$.PermissionStatus); dart.addTypeCaches(html$.PermissionStatus); +dart.setStaticMethodSignature(html$.PermissionStatus, () => ['__']); dart.setGetterSignature(html$.PermissionStatus, () => ({ __proto__: dart.getGetters(html$.PermissionStatus.__proto__), [S$.$state]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.PermissionStatus, I[148]); +dart.setLibraryUri(html$.PermissionStatus, I[150]); +dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); dart.defineLazy(html$.PermissionStatus, { /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PermissionStatus", html$.PermissionStatus); -html$.Permissions = class Permissions extends _interceptors.Interceptor { +html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Permissions.__(); + } [S$2.$query](permission) { - if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + if (permission == null) dart.nullFailed(I[149], 25650, 38, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); } [S$.$request](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25656, 40, "permissions"); let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); } [S$2.$requestAll](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25662, 49, "permissions"); return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); } [S$2.$revoke](permission) { - if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + if (permission == null) dart.nullFailed(I[149], 25666, 39, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); } @@ -89977,9 +98083,13 @@ dart.setMethodSignature(html$.Permissions, () => ({ [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) })); -dart.setLibraryUri(html$.Permissions, I[148]); +dart.setStaticMethodSignature(html$.Permissions, () => ['__']); +dart.setLibraryUri(html$.Permissions, I[150]); dart.registerExtension("Permissions", html$.Permissions); -html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { +html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PhotoCapabilities.__(); + } get [S$2.$fillLightMode]() { return this.fillLightMode; } @@ -89995,6 +98105,7 @@ html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Intercep }; dart.addTypeTests(html$.PhotoCapabilities); dart.addTypeCaches(html$.PhotoCapabilities); +dart.setStaticMethodSignature(html$.PhotoCapabilities, () => ['__']); dart.setGetterSignature(html$.PhotoCapabilities, () => ({ __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), [S$2.$fillLightMode]: dart.nullable(core.List), @@ -90002,18 +98113,29 @@ dart.setGetterSignature(html$.PhotoCapabilities, () => ({ [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), [S$2.$redEyeReduction]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PhotoCapabilities, I[148]); +dart.setLibraryUri(html$.PhotoCapabilities, I[150]); dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); -html$.PictureElement = class PictureElement extends html$.HtmlElement {}; +html$.PictureElement = class PictureElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PictureElement.__(); + } + static ['_#created#tearOff']() { + return new html$.PictureElement.created(); + } +}; (html$.PictureElement.created = function() { html$.PictureElement.__proto__.created.call(this); ; }).prototype = html$.PictureElement.prototype; dart.addTypeTests(html$.PictureElement); dart.addTypeCaches(html$.PictureElement); -dart.setLibraryUri(html$.PictureElement, I[148]); +dart.setStaticMethodSignature(html$.PictureElement, () => ['__']); +dart.setLibraryUri(html$.PictureElement, I[150]); dart.registerExtension("HTMLPictureElement", html$.PictureElement); -html$.Plugin = class Plugin extends _interceptors.Interceptor { +html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Plugin.__(); + } get [S$1.$description]() { return this.description; } @@ -90040,6 +98162,7 @@ dart.setMethodSignature(html$.Plugin, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); +dart.setStaticMethodSignature(html$.Plugin, () => ['__']); dart.setGetterSignature(html$.Plugin, () => ({ __proto__: dart.getGetters(html$.Plugin.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -90047,37 +98170,40 @@ dart.setGetterSignature(html$.Plugin, () => ({ [$length]: dart.nullable(core.int), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Plugin, I[148]); +dart.setLibraryUri(html$.Plugin, I[150]); dart.registerExtension("Plugin", html$.Plugin); -const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$4.new = function() { - Interceptor_ListMixin$36$4.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$4.prototype; -dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); -const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; -(Interceptor_ImmutableListMixin$36$4.new = function() { - Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$4.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); -html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { +const JavaScriptObject_ListMixin$36$4 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$4.new = function() { + JavaScriptObject_ListMixin$36$4.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$4.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); +const JavaScriptObject_ImmutableListMixin$36$4 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$4 {}; +(JavaScriptObject_ImmutableListMixin$36$4.new = function() { + JavaScriptObject_ImmutableListMixin$36$4.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$4.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); +html$.PluginArray = class PluginArray extends JavaScriptObject_ImmutableListMixin$36$4 { + static ['_#_#tearOff']() { + return html$.PluginArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 25746, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + if (index == null) dart.nullFailed(I[149], 25752, 25, "index"); html$.Plugin.as(value); - if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + if (value == null) dart.nullFailed(I[149], 25752, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + if (value == null) dart.nullFailed(I[149], 25758, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -90108,7 +98234,7 @@ html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$ dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + if (index == null) dart.nullFailed(I[149], 25786, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -90124,7 +98250,7 @@ html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$ html$.PluginArray.prototype[dart.isList] = true; dart.addTypeTests(html$.PluginArray); dart.addTypeCaches(html$.PluginArray); -html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; +html$.PluginArray[dart.implements] = () => [core.List$(html$.Plugin), _js_helper.JavaScriptIndexingBehavior$(html$.Plugin)]; dart.setMethodSignature(html$.PluginArray, () => ({ __proto__: dart.getMethods(html$.PluginArray.__proto__), [$_get]: dart.fnType(html$.Plugin, [core.int]), @@ -90133,6 +98259,7 @@ dart.setMethodSignature(html$.PluginArray, () => ({ [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.PluginArray, () => ['__']); dart.setGetterSignature(html$.PluginArray, () => ({ __proto__: dart.getGetters(html$.PluginArray.__proto__), [$length]: core.int @@ -90141,17 +98268,24 @@ dart.setSetterSignature(html$.PluginArray, () => ({ __proto__: dart.getSetters(html$.PluginArray.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.PluginArray, I[148]); +dart.setLibraryUri(html$.PluginArray, I[150]); dart.registerExtension("PluginArray", html$.PluginArray); html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static ['_#_#tearOff']() { + return html$.PointerEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PointerEvent._create_1(type, eventInitDict_1); } return html$.PointerEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); + return html$.PointerEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PointerEvent(type, eventInitDict); } @@ -90209,6 +98343,7 @@ dart.setMethodSignature(html$.PointerEvent, () => ({ __proto__: dart.getMethods(html$.PointerEvent.__proto__), [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) })); +dart.setStaticMethodSignature(html$.PointerEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PointerEvent, () => ({ __proto__: dart.getGetters(html$.PointerEvent.__proto__), [$height]: dart.nullable(core.num), @@ -90222,17 +98357,25 @@ dart.setGetterSignature(html$.PointerEvent, () => ({ [S$2.$twist]: dart.nullable(core.int), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PointerEvent, I[148]); +dart.setStaticGetterSignature(html$.PointerEvent, () => ['supported']); +dart.setLibraryUri(html$.PointerEvent, I[150]); dart.registerExtension("PointerEvent", html$.PointerEvent); html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PopStateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PopStateEvent._create_1(type, eventInitDict_1); } return html$.PopStateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); + return html$.PopStateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PopStateEvent(type, eventInitDict); } @@ -90248,14 +98391,18 @@ html$.PopStateEvent = class PopStateEvent$ extends html$.Event { }; dart.addTypeTests(html$.PopStateEvent); dart.addTypeCaches(html$.PopStateEvent); +dart.setStaticMethodSignature(html$.PopStateEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PopStateEvent, () => ({ __proto__: dart.getGetters(html$.PopStateEvent.__proto__), [S$.$state]: dart.dynamic, [S$1._get_state]: dart.dynamic })); -dart.setLibraryUri(html$.PopStateEvent, I[148]); +dart.setLibraryUri(html$.PopStateEvent, I[150]); dart.registerExtension("PopStateEvent", html$.PopStateEvent); -html$.PositionError = class PositionError extends _interceptors.Interceptor { +html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PositionError.__(); + } get [S$.$code]() { return this.code; } @@ -90265,12 +98412,14 @@ html$.PositionError = class PositionError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PositionError); dart.addTypeCaches(html$.PositionError); +dart.setStaticMethodSignature(html$.PositionError, () => ['__']); dart.setGetterSignature(html$.PositionError, () => ({ __proto__: dart.getGetters(html$.PositionError.__proto__), [S$.$code]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PositionError, I[148]); +dart.setLibraryUri(html$.PositionError, I[150]); +dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); dart.defineLazy(html$.PositionError, { /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { return 1; @@ -90283,10 +98432,20 @@ dart.defineLazy(html$.PositionError, { } }, false); dart.registerExtension("PositionError", html$.PositionError); +dart.registerExtension("GeolocationPositionError", html$.PositionError); html$.PreElement = class PreElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PreElement.__(); + } static new() { return html$.document.createElement("pre"); } + static ['_#new#tearOff']() { + return html$.PreElement.new(); + } + static ['_#created#tearOff']() { + return new html$.PreElement.created(); + } }; (html$.PreElement.created = function() { html$.PreElement.__proto__.created.call(this); @@ -90294,9 +98453,13 @@ html$.PreElement = class PreElement extends html$.HtmlElement { }).prototype = html$.PreElement.prototype; dart.addTypeTests(html$.PreElement); dart.addTypeCaches(html$.PreElement); -dart.setLibraryUri(html$.PreElement, I[148]); +dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); +dart.setLibraryUri(html$.PreElement, I[150]); dart.registerExtension("HTMLPreElement", html$.PreElement); -html$.Presentation = class Presentation extends _interceptors.Interceptor { +html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Presentation.__(); + } get [S$2.$defaultRequest]() { return this.defaultRequest; } @@ -90309,6 +98472,7 @@ html$.Presentation = class Presentation extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Presentation); dart.addTypeCaches(html$.Presentation); +dart.setStaticMethodSignature(html$.Presentation, () => ['__']); dart.setGetterSignature(html$.Presentation, () => ({ __proto__: dart.getGetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), @@ -90318,9 +98482,12 @@ dart.setSetterSignature(html$.Presentation, () => ({ __proto__: dart.getSetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) })); -dart.setLibraryUri(html$.Presentation, I[148]); +dart.setLibraryUri(html$.Presentation, I[150]); dart.registerExtension("Presentation", html$.Presentation); html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationAvailability.__(); + } get [S.$value]() { return this.value; } @@ -90330,19 +98497,24 @@ html$.PresentationAvailability = class PresentationAvailability extends html$.Ev }; dart.addTypeTests(html$.PresentationAvailability); dart.addTypeCaches(html$.PresentationAvailability); +dart.setStaticMethodSignature(html$.PresentationAvailability, () => ['__']); dart.setGetterSignature(html$.PresentationAvailability, () => ({ __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), [S.$value]: dart.nullable(core.bool), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.PresentationAvailability, I[148]); +dart.setLibraryUri(html$.PresentationAvailability, I[150]); +dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); dart.defineLazy(html$.PresentationAvailability, { /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnection.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -90379,6 +98551,7 @@ dart.setMethodSignature(html$.PresentationConnection, () => ({ [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.PresentationConnection, () => ['__']); dart.setGetterSignature(html$.PresentationConnection, () => ({ __proto__: dart.getGetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -90391,20 +98564,29 @@ dart.setSetterSignature(html$.PresentationConnection, () => ({ __proto__: dart.getSetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PresentationConnection, I[148]); +dart.setLibraryUri(html$.PresentationConnection, I[150]); +dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); dart.defineLazy(html$.PresentationConnection, { /*html$.PresentationConnection.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("PresentationConnection", html$.PresentationConnection); html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionAvailableEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); + return html$.PresentationConnectionAvailableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionAvailableEvent(type, eventInitDict); } @@ -90414,19 +98596,28 @@ html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailab }; dart.addTypeTests(html$.PresentationConnectionAvailableEvent); dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); +dart.setStaticMethodSignature(html$.PresentationConnectionAvailableEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), [S$1.$connection]: dart.nullable(html$.PresentationConnection) })); -dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); +dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[150]); dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionCloseEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); + return html$.PresentationConnectionCloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionCloseEvent(type, eventInitDict); } @@ -90439,40 +98630,52 @@ html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ }; dart.addTypeTests(html$.PresentationConnectionCloseEvent); dart.addTypeCaches(html$.PresentationConnectionCloseEvent); +dart.setStaticMethodSignature(html$.PresentationConnectionCloseEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), [$message]: dart.nullable(core.String), [S$.$reason]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); +dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[150]); dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnectionList.__(); + } get [S$2.$connections]() { return this.connections; } }; dart.addTypeTests(html$.PresentationConnectionList); dart.addTypeCaches(html$.PresentationConnectionList); +dart.setStaticMethodSignature(html$.PresentationConnectionList, () => ['__']); dart.setGetterSignature(html$.PresentationConnectionList, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) })); -dart.setLibraryUri(html$.PresentationConnectionList, I[148]); +dart.setLibraryUri(html$.PresentationConnectionList, I[150]); dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); -html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { +html$.PresentationReceiver = class PresentationReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PresentationReceiver.__(); + } get [S$2.$connectionList]() { return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); } }; dart.addTypeTests(html$.PresentationReceiver); dart.addTypeCaches(html$.PresentationReceiver); +dart.setStaticMethodSignature(html$.PresentationReceiver, () => ['__']); dart.setGetterSignature(html$.PresentationReceiver, () => ({ __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) })); -dart.setLibraryUri(html$.PresentationReceiver, I[148]); +dart.setLibraryUri(html$.PresentationReceiver, I[150]); dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationRequest.__(); + } static new(url_OR_urls) { if (typeof url_OR_urls == 'string') { return html$.PresentationRequest._create_1(url_OR_urls); @@ -90483,6 +98686,9 @@ html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](url_OR_urls) { + return html$.PresentationRequest.new(url_OR_urls); + } static _create_1(url_OR_urls) { return new PresentationRequest(url_OR_urls); } @@ -90493,7 +98699,7 @@ html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); } [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); } [S$.$start]() { @@ -90508,9 +98714,13 @@ dart.setMethodSignature(html$.PresentationRequest, () => ({ [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) })); -dart.setLibraryUri(html$.PresentationRequest, I[148]); +dart.setStaticMethodSignature(html$.PresentationRequest, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.PresentationRequest, I[150]); dart.registerExtension("PresentationRequest", html$.PresentationRequest); html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + static ['_#_#tearOff']() { + return html$.ProcessingInstruction.__(); + } get [S$1.$sheet]() { return this.sheet; } @@ -90520,17 +98730,27 @@ html$.ProcessingInstruction = class ProcessingInstruction extends html$.Characte }; dart.addTypeTests(html$.ProcessingInstruction); dart.addTypeCaches(html$.ProcessingInstruction); +dart.setStaticMethodSignature(html$.ProcessingInstruction, () => ['__']); dart.setGetterSignature(html$.ProcessingInstruction, () => ({ __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), [S$1.$sheet]: dart.nullable(html$.StyleSheet), [S.$target]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ProcessingInstruction, I[148]); +dart.setLibraryUri(html$.ProcessingInstruction, I[150]); dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ProgressElement.__(); + } static new() { return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); } + static ['_#new#tearOff']() { + return html$.ProgressElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ProgressElement.created(); + } static get supported() { return html$.Element.isTagSupported("progress"); } @@ -90559,6 +98779,7 @@ html$.ProgressElement = class ProgressElement extends html$.HtmlElement { }).prototype = html$.ProgressElement.prototype; dart.addTypeTests(html$.ProgressElement); dart.addTypeCaches(html$.ProgressElement); +dart.setStaticMethodSignature(html$.ProgressElement, () => ['__', 'new']); dart.setGetterSignature(html$.ProgressElement, () => ({ __proto__: dart.getGetters(html$.ProgressElement.__proto__), [S$.$labels]: dart.nullable(core.List$(html$.Node)), @@ -90571,17 +98792,25 @@ dart.setSetterSignature(html$.ProgressElement, () => ({ [S$1.$max]: core.num, [S.$value]: core.num })); -dart.setLibraryUri(html$.ProgressElement, I[148]); +dart.setStaticGetterSignature(html$.ProgressElement, () => ['supported']); +dart.setLibraryUri(html$.ProgressElement, I[150]); dart.registerExtension("HTMLProgressElement", html$.ProgressElement); html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ProgressEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ProgressEvent._create_1(type, eventInitDict_1); } return html$.ProgressEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); + return html$.ProgressEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ProgressEvent(type, eventInitDict); } @@ -90600,21 +98829,30 @@ html$.ProgressEvent = class ProgressEvent$ extends html$.Event { }; dart.addTypeTests(html$.ProgressEvent); dart.addTypeCaches(html$.ProgressEvent); +dart.setStaticMethodSignature(html$.ProgressEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ProgressEvent, () => ({ __proto__: dart.getGetters(html$.ProgressEvent.__proto__), [S$2.$lengthComputable]: core.bool, [S$1.$loaded]: dart.nullable(core.int), [S$2.$total]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ProgressEvent, I[148]); +dart.setLibraryUri(html$.ProgressEvent, I[150]); dart.registerExtension("ProgressEvent", html$.ProgressEvent); html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PromiseRejectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); + return html$.PromiseRejectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PromiseRejectionEvent(type, eventInitDict); } @@ -90627,14 +98865,18 @@ html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { }; dart.addTypeTests(html$.PromiseRejectionEvent); dart.addTypeCaches(html$.PromiseRejectionEvent); +dart.setStaticMethodSignature(html$.PromiseRejectionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), [S$2.$promise]: async.Future, [S$.$reason]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); +dart.setLibraryUri(html$.PromiseRejectionEvent, I[150]); dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PublicKeyCredential.__(); + } get [S$2.$rawId]() { return this.rawId; } @@ -90644,22 +98886,30 @@ html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { }; dart.addTypeTests(html$.PublicKeyCredential); dart.addTypeCaches(html$.PublicKeyCredential); +dart.setStaticMethodSignature(html$.PublicKeyCredential, () => ['__']); dart.setGetterSignature(html$.PublicKeyCredential, () => ({ __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), [S$.$response]: dart.nullable(html$.AuthenticatorResponse) })); -dart.setLibraryUri(html$.PublicKeyCredential, I[148]); +dart.setLibraryUri(html$.PublicKeyCredential, I[150]); dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PushEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PushEvent._create_1(type, eventInitDict_1); } return html$.PushEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); + return html$.PushEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PushEvent(type, eventInitDict); } @@ -90672,13 +98922,17 @@ html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { }; dart.addTypeTests(html$.PushEvent); dart.addTypeCaches(html$.PushEvent); +dart.setStaticMethodSignature(html$.PushEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PushEvent, () => ({ __proto__: dart.getGetters(html$.PushEvent.__proto__), [S$.$data]: dart.nullable(html$.PushMessageData) })); -dart.setLibraryUri(html$.PushEvent, I[148]); +dart.setLibraryUri(html$.PushEvent, I[150]); dart.registerExtension("PushEvent", html$.PushEvent); -html$.PushManager = class PushManager extends _interceptors.Interceptor { +html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushManager.__(); + } [S$2.$getSubscription]() { return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); } @@ -90705,9 +98959,14 @@ dart.setMethodSignature(html$.PushManager, () => ({ [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.PushManager, I[148]); +dart.setStaticMethodSignature(html$.PushManager, () => ['__']); +dart.setStaticGetterSignature(html$.PushManager, () => ['supportedContentEncodings']); +dart.setLibraryUri(html$.PushManager, I[150]); dart.registerExtension("PushManager", html$.PushManager); -html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { +html$.PushMessageData = class PushMessageData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushMessageData.__(); + } [S$.$arrayBuffer](...args) { return this.arrayBuffer.apply(this, args); } @@ -90730,9 +98989,13 @@ dart.setMethodSignature(html$.PushMessageData, () => ({ [S$.$json]: dart.fnType(core.Object, []), [S.$text]: dart.fnType(core.String, []) })); -dart.setLibraryUri(html$.PushMessageData, I[148]); +dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); +dart.setLibraryUri(html$.PushMessageData, I[150]); dart.registerExtension("PushMessageData", html$.PushMessageData); -html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { +html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscription.__(); + } get [S$2.$endpoint]() { return this.endpoint; } @@ -90756,15 +99019,19 @@ dart.setMethodSignature(html$.PushSubscription, () => ({ [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) })); +dart.setStaticMethodSignature(html$.PushSubscription, () => ['__']); dart.setGetterSignature(html$.PushSubscription, () => ({ __proto__: dart.getGetters(html$.PushSubscription.__proto__), [S$2.$endpoint]: dart.nullable(core.String), [S$2.$expirationTime]: dart.nullable(core.int), [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) })); -dart.setLibraryUri(html$.PushSubscription, I[148]); +dart.setLibraryUri(html$.PushSubscription, I[150]); dart.registerExtension("PushSubscription", html$.PushSubscription); -html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { +html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscriptionOptions.__(); + } get [S$2.$applicationServerKey]() { return this.applicationServerKey; } @@ -90774,17 +99041,27 @@ html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _intercept }; dart.addTypeTests(html$.PushSubscriptionOptions); dart.addTypeCaches(html$.PushSubscriptionOptions); +dart.setStaticMethodSignature(html$.PushSubscriptionOptions, () => ['__']); dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), [S$2.$userVisibleOnly]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); +dart.setLibraryUri(html$.PushSubscriptionOptions, I[150]); dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.QuoteElement.__(); + } static new() { return html$.document.createElement("q"); } + static ['_#new#tearOff']() { + return html$.QuoteElement.new(); + } + static ['_#created#tearOff']() { + return new html$.QuoteElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -90798,6 +99075,7 @@ html$.QuoteElement = class QuoteElement extends html$.HtmlElement { }).prototype = html$.QuoteElement.prototype; dart.addTypeTests(html$.QuoteElement); dart.addTypeCaches(html$.QuoteElement); +dart.setStaticMethodSignature(html$.QuoteElement, () => ['__', 'new']); dart.setGetterSignature(html$.QuoteElement, () => ({ __proto__: dart.getGetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String @@ -90806,16 +99084,26 @@ dart.setSetterSignature(html$.QuoteElement, () => ({ __proto__: dart.getSetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String })); -dart.setLibraryUri(html$.QuoteElement, I[148]); +dart.setLibraryUri(html$.QuoteElement, I[150]); dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); -html$.Range = class Range extends _interceptors.Interceptor { +html$.Range = class Range extends _interceptors.JavaScriptObject { static new() { return html$.document.createRange(); } + static ['_#new#tearOff']() { + return html$.Range.new(); + } + static ['_#fromPoint#tearOff'](point) { + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); + return html$.Range.fromPoint(point); + } static fromPoint(point) { - if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); } + static ['_#_#tearOff']() { + return html$.Range.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -90945,6 +99233,7 @@ dart.setMethodSignature(html$.Range, () => ({ [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) })); +dart.setStaticMethodSignature(html$.Range, () => ['new', 'fromPoint', '__']); dart.setGetterSignature(html$.Range, () => ({ __proto__: dart.getGetters(html$.Range.__proto__), [S$2.$collapsed]: core.bool, @@ -90954,7 +99243,9 @@ dart.setGetterSignature(html$.Range, () => ({ [S$2.$startContainer]: html$.Node, [S$2.$startOffset]: core.int })); -dart.setLibraryUri(html$.Range, I[148]); +dart.setStaticGetterSignature(html$.Range, () => ['supportsCreateContextualFragment']); +dart.setLibraryUri(html$.Range, I[150]); +dart.setStaticFieldSignature(html$.Range, () => ['END_TO_END', 'END_TO_START', 'START_TO_END', 'START_TO_START']); dart.defineLazy(html$.Range, { /*html$.Range.END_TO_END*/get END_TO_END() { return 2; @@ -90970,7 +99261,10 @@ dart.defineLazy(html$.Range, { } }, false); dart.registerExtension("Range", html$.Range); -html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { +html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RelatedApplication.__(); + } get [S.$id]() { return this.id; } @@ -90983,15 +99277,19 @@ html$.RelatedApplication = class RelatedApplication extends _interceptors.Interc }; dart.addTypeTests(html$.RelatedApplication); dart.addTypeCaches(html$.RelatedApplication); +dart.setStaticMethodSignature(html$.RelatedApplication, () => ['__']); dart.setGetterSignature(html$.RelatedApplication, () => ({ __proto__: dart.getGetters(html$.RelatedApplication.__proto__), [S.$id]: dart.nullable(core.String), [S$2.$platform]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RelatedApplication, I[148]); +dart.setLibraryUri(html$.RelatedApplication, I[150]); dart.registerExtension("RelatedApplication", html$.RelatedApplication); html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.RelativeOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -90999,6 +99297,9 @@ html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$ } return html$.RelativeOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.RelativeOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new RelativeOrientationSensor(sensorOptions); } @@ -91008,9 +99309,13 @@ html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$ }; dart.addTypeTests(html$.RelativeOrientationSensor); dart.addTypeCaches(html$.RelativeOrientationSensor); -dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); +dart.setStaticMethodSignature(html$.RelativeOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.RelativeOrientationSensor, I[150]); dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RemotePlayback.__(); + } get [S$.$state]() { return this.state; } @@ -91021,7 +99326,7 @@ html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { return js_util.promiseToFuture(dart.dynamic, this.prompt()); } [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); } }; @@ -91033,18 +99338,26 @@ dart.setMethodSignature(html$.RemotePlayback, () => ({ [S$.$prompt]: dart.fnType(async.Future, []), [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) })); +dart.setStaticMethodSignature(html$.RemotePlayback, () => ['__']); dart.setGetterSignature(html$.RemotePlayback, () => ({ __proto__: dart.getGetters(html$.RemotePlayback.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RemotePlayback, I[148]); +dart.setLibraryUri(html$.RemotePlayback, I[150]); dart.registerExtension("RemotePlayback", html$.RemotePlayback); -html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { +html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportingObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); return html$.ReportingObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); + return html$.ReportingObserver.new(callback); + } static _create_1(callback) { return new ReportingObserver(callback); } @@ -91062,14 +99375,22 @@ dart.setMethodSignature(html$.ReportingObserver, () => ({ [S$1.$disconnect]: dart.fnType(dart.void, []), [S.$observe]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.ReportingObserver, I[148]); +dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.ReportingObserver, I[150]); dart.registerExtension("ReportingObserver", html$.ReportingObserver); -html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { +html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); return html$.ResizeObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); + return html$.ResizeObserver.new(callback); + } static _create_1(callback) { return new ResizeObserver(callback); } @@ -91091,9 +99412,13 @@ dart.setMethodSignature(html$.ResizeObserver, () => ({ [S.$observe]: dart.fnType(dart.void, [html$.Element]), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); -dart.setLibraryUri(html$.ResizeObserver, I[148]); +dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.ResizeObserver, I[150]); dart.registerExtension("ResizeObserver", html$.ResizeObserver); -html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { +html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserverEntry.__(); + } get [S$2.$contentRect]() { return this.contentRect; } @@ -91103,14 +99428,18 @@ html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Inte }; dart.addTypeTests(html$.ResizeObserverEntry); dart.addTypeCaches(html$.ResizeObserverEntry); +dart.setStaticMethodSignature(html$.ResizeObserverEntry, () => ['__']); dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), [S.$target]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); +dart.setLibraryUri(html$.ResizeObserverEntry, I[150]); dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); -html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { +html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcCertificate.__(); + } get [S$2.$expires]() { return this.expires; } @@ -91124,13 +99453,17 @@ dart.setMethodSignature(html$.RtcCertificate, () => ({ __proto__: dart.getMethods(html$.RtcCertificate.__proto__), [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) })); +dart.setStaticMethodSignature(html$.RtcCertificate, () => ['__']); dart.setGetterSignature(html$.RtcCertificate, () => ({ __proto__: dart.getGetters(html$.RtcCertificate.__proto__), [S$2.$expires]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.RtcCertificate, I[148]); +dart.setLibraryUri(html$.RtcCertificate, I[150]); dart.registerExtension("RTCCertificate", html$.RtcCertificate); html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDataChannel.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -91215,6 +99548,7 @@ dart.setMethodSignature(html$.RtcDataChannel, () => ({ [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.RtcDataChannel, () => ['__']); dart.setGetterSignature(html$.RtcDataChannel, () => ({ __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -91239,30 +99573,39 @@ dart.setSetterSignature(html$.RtcDataChannel, () => ({ [S$2.$binaryType]: dart.nullable(core.String), [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.RtcDataChannel, I[148]); +dart.setLibraryUri(html$.RtcDataChannel, I[150]); +dart.setStaticFieldSignature(html$.RtcDataChannel, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent']); dart.defineLazy(html$.RtcDataChannel, { /*html$.RtcDataChannel.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.RtcDataChannel.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; } }, false); dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); dart.registerExtension("DataChannel", html$.RtcDataChannel); html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDataChannelEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); + return html$.RtcDataChannelEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDataChannelEvent(type, eventInitDict); } @@ -91272,13 +99615,17 @@ html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { }; dart.addTypeTests(html$.RtcDataChannelEvent); dart.addTypeCaches(html$.RtcDataChannelEvent); +dart.setStaticMethodSignature(html$.RtcDataChannelEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), [S$2.$channel]: dart.nullable(html$.RtcDataChannel) })); -dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); +dart.setLibraryUri(html$.RtcDataChannelEvent, I[150]); dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDtmfSender.__(); + } get [S$2.$canInsertDtmf]() { return this.canInsertDTMF; } @@ -91307,6 +99654,7 @@ dart.setMethodSignature(html$.RtcDtmfSender, () => ({ __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.RtcDtmfSender, () => ['__']); dart.setGetterSignature(html$.RtcDtmfSender, () => ({ __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), [S$2.$canInsertDtmf]: dart.nullable(core.bool), @@ -91316,20 +99664,29 @@ dart.setGetterSignature(html$.RtcDtmfSender, () => ({ [S$1.$track]: dart.nullable(html$.MediaStreamTrack), [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) })); -dart.setLibraryUri(html$.RtcDtmfSender, I[148]); +dart.setLibraryUri(html$.RtcDtmfSender, I[150]); +dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); dart.defineLazy(html$.RtcDtmfSender, { /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - return C[353] || CT.C353; + return C[363] || CT.C363; } }, false); dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDtmfToneChangeEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); + return html$.RtcDtmfToneChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDTMFToneChangeEvent(type, eventInitDict); } @@ -91339,18 +99696,26 @@ html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event }; dart.addTypeTests(html$.RtcDtmfToneChangeEvent); dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); +dart.setStaticMethodSignature(html$.RtcDtmfToneChangeEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), [S$2.$tone]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); +dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[150]); dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); -html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { +html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); let constructorName = window.RTCIceCandidate; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); + return html$.RtcIceCandidate.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcIceCandidate.__(); + } get [S$2.$candidate]() { return this.candidate; } @@ -91372,6 +99737,7 @@ html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor }; dart.addTypeTests(html$.RtcIceCandidate); dart.addTypeCaches(html$.RtcIceCandidate); +dart.setStaticMethodSignature(html$.RtcIceCandidate, () => ['new', '__']); dart.setGetterSignature(html$.RtcIceCandidate, () => ({ __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), [S$2.$candidate]: dart.nullable(core.String), @@ -91384,10 +99750,13 @@ dart.setSetterSignature(html$.RtcIceCandidate, () => ({ [S$2.$sdpMLineIndex]: dart.nullable(core.int), [S$2.$sdpMid]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcIceCandidate, I[148]); +dart.setLibraryUri(html$.RtcIceCandidate, I[150]); dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); -html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { +html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcLegacyStatsReport.__(); + } get [S.$id]() { return this.id; } @@ -91414,6 +99783,7 @@ dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ [S$2.$names]: dart.fnType(core.List$(core.String), []), [S$2.$stat]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(html$.RtcLegacyStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), [S.$id]: dart.nullable(core.String), @@ -91421,11 +99791,11 @@ dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ [S$2._get_timestamp]: dart.dynamic, [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); +dart.setLibraryUri(html$.RtcLegacyStatsReport, I[150]); dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { static new(rtcIceServers, mediaConstraints = null) { - if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); let constructorName = window.RTCPeerConnection; if (mediaConstraints != null) { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); @@ -91433,6 +99803,10 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); } } + static ['_#new#tearOff'](rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); + return html$.RtcPeerConnection.new(rtcIceServers, mediaConstraints); + } static get supported() { try { html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); @@ -91449,7 +99823,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { [S$2.$getLegacyStats](selector = null) { let completer = T$0.CompleterOfRtcStatsResponse().new(); this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); completer.complete(value); }, T$0.RtcStatsResponseTovoid()), selector); return completer.future; @@ -91460,6 +99834,12 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { static generateCertificate(keygenAlgorithm) { return generateCertificate(keygenAlgorithm); } + static ['_#_#tearOff']() { + return html$.RtcPeerConnection.__(); + } + get [S$2.$connectionState]() { + return this.connectionState; + } get [S$2.$iceConnectionState]() { return this.iceConnectionState; } @@ -91476,7 +99856,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.signalingState; } [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + if (candidate == null) dart.nullFailed(I[149], 27109, 33, "candidate"); return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); } [S$2.$addStream](stream, mediaConstraints = null) { @@ -91511,7 +99891,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.createDTMFSender.apply(this, args); } [S$2.$createDataChannel](label, dataChannelDict = null) { - if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (label == null) dart.nullFailed(I[149], 27149, 43, "label"); if (dataChannelDict != null) { let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); return this[S$2._createDataChannel_1](label, dataChannelDict_1); @@ -91553,7 +99933,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.removeTrack.apply(this, args); } [S$2.$setConfiguration](configuration) { - if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 27189, 29, "configuration"); let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); this[S$2._setConfiguration_1](configuration_1); return; @@ -91562,18 +99942,21 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.setConfiguration.apply(this, args); } [S$2.$setLocalDescription](description) { - if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + if (description == null) dart.nullFailed(I[149], 27198, 34, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); } [S$2.$setRemoteDescription](description) { - if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + if (description == null) dart.nullFailed(I[149], 27204, 35, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); } get [S$2.$onAddStream]() { return html$.RtcPeerConnection.addStreamEvent.forTarget(this); } + get [S$2.$onConnectionStateChange]() { + return html$.RtcPeerConnection.connectionStateChangeEvent.forTarget(this); + } get [S$2.$onDataChannel]() { return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); } @@ -91626,14 +100009,17 @@ dart.setMethodSignature(html$.RtcPeerConnection, () => ({ [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) })); +dart.setStaticMethodSignature(html$.RtcPeerConnection, () => ['new', 'generateCertificate', '__']); dart.setGetterSignature(html$.RtcPeerConnection, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$connectionState]: dart.nullable(core.String), [S$2.$iceConnectionState]: dart.nullable(core.String), [S$2.$iceGatheringState]: dart.nullable(core.String), [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$signalingState]: dart.nullable(core.String), [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onConnectionStateChange]: async.Stream$(html$.Event), [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), @@ -91642,45 +100028,57 @@ dart.setGetterSignature(html$.RtcPeerConnection, () => ({ [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) })); -dart.setLibraryUri(html$.RtcPeerConnection, I[148]); +dart.setStaticGetterSignature(html$.RtcPeerConnection, () => ['supported']); +dart.setLibraryUri(html$.RtcPeerConnection, I[150]); +dart.setStaticFieldSignature(html$.RtcPeerConnection, () => ['addStreamEvent', 'connectionStateChangeEvent', 'dataChannelEvent', 'iceCandidateEvent', 'iceConnectionStateChangeEvent', 'negotiationNeededEvent', 'removeStreamEvent', 'signalingStateChangeEvent', 'trackEvent']); dart.defineLazy(html$.RtcPeerConnection, { /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { - return C[354] || CT.C354; + return C[364] || CT.C364; + }, + /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { + return C[365] || CT.C365; }, /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[355] || CT.C355; + return C[366] || CT.C366; }, /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[356] || CT.C356; + return C[367] || CT.C367; }, /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[357] || CT.C357; + return C[368] || CT.C368; }, /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[358] || CT.C358; + return C[369] || CT.C369; }, /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[359] || CT.C359; + return C[370] || CT.C370; }, /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[360] || CT.C360; + return C[371] || CT.C371; }, /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - return C[361] || CT.C361; + return C[372] || CT.C372; } }, false); dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcPeerConnectionIceEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); } return html$.RtcPeerConnectionIceEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); + return html$.RtcPeerConnectionIceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCPeerConnectionIceEvent(type, eventInitDict); } @@ -91693,13 +100091,17 @@ html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$. }; dart.addTypeTests(html$.RtcPeerConnectionIceEvent); dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); +dart.setStaticMethodSignature(html$.RtcPeerConnectionIceEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) })); -dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); +dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[150]); dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); -html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { +html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpContributingSource.__(); + } get [S.$source]() { return this.source; } @@ -91709,14 +100111,18 @@ html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interce }; dart.addTypeTests(html$.RtcRtpContributingSource); dart.addTypeCaches(html$.RtcRtpContributingSource); +dart.setStaticMethodSignature(html$.RtcRtpContributingSource, () => ['__']); dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), [S.$source]: dart.nullable(core.int), [S$.$timestamp]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); +dart.setLibraryUri(html$.RtcRtpContributingSource, I[150]); dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); -html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { +html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpReceiver.__(); + } get [S$1.$track]() { return this.track; } @@ -91730,31 +100136,43 @@ dart.setMethodSignature(html$.RtcRtpReceiver, () => ({ __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) })); +dart.setStaticMethodSignature(html$.RtcRtpReceiver, () => ['__']); dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); +dart.setLibraryUri(html$.RtcRtpReceiver, I[150]); dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); -html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { +html$.RtcRtpSender = class RtcRtpSender extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpSender.__(); + } get [S$1.$track]() { return this.track; } }; dart.addTypeTests(html$.RtcRtpSender); dart.addTypeCaches(html$.RtcRtpSender); +dart.setStaticMethodSignature(html$.RtcRtpSender, () => ['__']); dart.setGetterSignature(html$.RtcRtpSender, () => ({ __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcRtpSender, I[148]); +dart.setLibraryUri(html$.RtcRtpSender, I[150]); dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); -html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { +html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); let constructorName = window.RTCSessionDescription; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); + return html$.RtcSessionDescription.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcSessionDescription.__(); + } get [S$2.$sdp]() { return this.sdp; } @@ -91770,6 +100188,7 @@ html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors. }; dart.addTypeTests(html$.RtcSessionDescription); dart.addTypeCaches(html$.RtcSessionDescription); +dart.setStaticMethodSignature(html$.RtcSessionDescription, () => ['new', '__']); dart.setGetterSignature(html$.RtcSessionDescription, () => ({ __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), [S$2.$sdp]: dart.nullable(core.String), @@ -91780,27 +100199,30 @@ dart.setSetterSignature(html$.RtcSessionDescription, () => ({ [S$2.$sdp]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcSessionDescription, I[148]); +dart.setLibraryUri(html$.RtcSessionDescription, I[150]); dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); -const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$0.new = function() { - Interceptor_MapMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$0.prototype; -dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); -html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { +const JavaScriptObject_MapMixin$36$0 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$0.new = function() { + JavaScriptObject_MapMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); +html$.RtcStatsReport = class RtcStatsReport extends JavaScriptObject_MapMixin$36$0 { + static ['_#_#tearOff']() { + return html$.RtcStatsReport.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + if (key == null) dart.nullFailed(I[149], 27351, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + if (other == null) dart.nullFailed(I[149], 27354, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + if (e == null) dart.nullFailed(I[149], 27358, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -91811,7 +100233,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -91822,7 +100244,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -91830,7 +100252,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -91847,15 +100269,15 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + if (key == null) dart.nullFailed(I[149], 27392, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 27396, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 27396, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -91877,14 +100299,18 @@ dart.setMethodSignature(html$.RtcStatsReport, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.RtcStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.RtcStatsReport, I[148]); +dart.setLibraryUri(html$.RtcStatsReport, I[150]); dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); -html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { +html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcStatsResponse.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } @@ -91899,15 +100325,24 @@ dart.setMethodSignature(html$.RtcStatsResponse, () => ({ [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) })); -dart.setLibraryUri(html$.RtcStatsResponse, I[148]); +dart.setStaticMethodSignature(html$.RtcStatsResponse, () => ['__']); +dart.setLibraryUri(html$.RtcStatsResponse, I[150]); dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); + return html$.RtcTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCTrackEvent(type, eventInitDict); } @@ -91923,18 +100358,22 @@ html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { }; dart.addTypeTests(html$.RtcTrackEvent); dart.addTypeCaches(html$.RtcTrackEvent); +dart.setStaticMethodSignature(html$.RtcTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcTrackEvent, () => ({ __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcTrackEvent, I[148]); +dart.setLibraryUri(html$.RtcTrackEvent, I[150]); dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); -html$.Screen = class Screen extends _interceptors.Interceptor { +html$.Screen = class Screen extends _interceptors.JavaScriptObject { get [S$2.$available]() { return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); } + static ['_#_#tearOff']() { + return html$.Screen.__(); + } get [S$2._availHeight]() { return this.availHeight; } @@ -91971,6 +100410,7 @@ html$.Screen = class Screen extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Screen); dart.addTypeCaches(html$.Screen); +dart.setStaticMethodSignature(html$.Screen, () => ['__']); dart.setGetterSignature(html$.Screen, () => ({ __proto__: dart.getGetters(html$.Screen.__proto__), [S$2.$available]: math.Rectangle$(core.num), @@ -91989,9 +100429,12 @@ dart.setSetterSignature(html$.Screen, () => ({ __proto__: dart.getSetters(html$.Screen.__proto__), [S$2.$keepAwake]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Screen, I[148]); +dart.setLibraryUri(html$.Screen, I[150]); dart.registerExtension("Screen", html$.Screen); html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ScreenOrientation.__(); + } get [S$.$angle]() { return this.angle; } @@ -91999,7 +100442,7 @@ html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { return this.type; } [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); } [S$2.$unlock](...args) { @@ -92016,23 +100459,34 @@ dart.setMethodSignature(html$.ScreenOrientation, () => ({ [S$2.$lock]: dart.fnType(async.Future, [core.String]), [S$2.$unlock]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ScreenOrientation, () => ['__']); dart.setGetterSignature(html$.ScreenOrientation, () => ({ __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), [S$.$angle]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ScreenOrientation, I[148]); +dart.setLibraryUri(html$.ScreenOrientation, I[150]); +dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); dart.defineLazy(html$.ScreenOrientation, { /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ScriptElement.__(); + } static new() { return html$.document.createElement("script"); } + static ['_#new#tearOff']() { + return html$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ScriptElement.created(); + } get [S$1.$async]() { return this.async; } @@ -92088,6 +100542,7 @@ html$.ScriptElement = class ScriptElement extends html$.HtmlElement { }).prototype = html$.ScriptElement.prototype; dart.addTypeTests(html$.ScriptElement); dart.addTypeCaches(html$.ScriptElement); +dart.setStaticMethodSignature(html$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(html$.ScriptElement, () => ({ __proto__: dart.getGetters(html$.ScriptElement.__proto__), [S$1.$async]: dart.nullable(core.bool), @@ -92110,9 +100565,12 @@ dart.setSetterSignature(html$.ScriptElement, () => ({ [S$.$src]: core.String, [S.$type]: core.String })); -dart.setLibraryUri(html$.ScriptElement, I[148]); +dart.setLibraryUri(html$.ScriptElement, I[150]); dart.registerExtension("HTMLScriptElement", html$.ScriptElement); -html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { +html$.ScrollState = class ScrollState$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ScrollState.__(); + } static new(scrollStateInit = null) { if (scrollStateInit != null) { let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); @@ -92120,6 +100578,9 @@ html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { } return html$.ScrollState._create_2(); } + static ['_#new#tearOff'](scrollStateInit = null) { + return html$.ScrollState.new(scrollStateInit); + } static _create_1(scrollStateInit) { return new ScrollState(scrollStateInit); } @@ -92176,6 +100637,7 @@ dart.setMethodSignature(html$.ScrollState, () => ({ [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ScrollState, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollState, () => ({ __proto__: dart.getGetters(html$.ScrollState.__proto__), [S$2.$deltaGranularity]: dart.nullable(core.num), @@ -92191,9 +100653,12 @@ dart.setGetterSignature(html$.ScrollState, () => ({ [S$2.$velocityX]: dart.nullable(core.num), [S$2.$velocityY]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.ScrollState, I[148]); +dart.setLibraryUri(html$.ScrollState, I[150]); dart.registerExtension("ScrollState", html$.ScrollState); html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.ScrollTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -92201,6 +100666,9 @@ html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { } return html$.ScrollTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.ScrollTimeline.new(options); + } static _create_1(options) { return new ScrollTimeline(options); } @@ -92219,23 +100687,31 @@ html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { }; dart.addTypeTests(html$.ScrollTimeline); dart.addTypeCaches(html$.ScrollTimeline); +dart.setStaticMethodSignature(html$.ScrollTimeline, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollTimeline, () => ({ __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), [S$.$orientation]: dart.nullable(core.String), [S$2.$scrollSource]: dart.nullable(html$.Element), [S$2.$timeRange]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.ScrollTimeline, I[148]); +dart.setLibraryUri(html$.ScrollTimeline, I[150]); dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SecurityPolicyViolationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); } return html$.SecurityPolicyViolationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); + return html$.SecurityPolicyViolationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SecurityPolicyViolationEvent(type, eventInitDict); } @@ -92281,6 +100757,7 @@ html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends }; dart.addTypeTests(html$.SecurityPolicyViolationEvent); dart.addTypeCaches(html$.SecurityPolicyViolationEvent); +dart.setStaticMethodSignature(html$.SecurityPolicyViolationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), [S$2.$blockedUri]: dart.nullable(core.String), @@ -92296,12 +100773,21 @@ dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ [S$2.$statusCode]: dart.nullable(core.int), [S$2.$violatedDirective]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); +dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[150]); dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); html$.SelectElement = class SelectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SelectElement.__(); + } + static ['_#new#tearOff']() { + return html$.SelectElement.new(); + } static new() { return html$.document.createElement("select"); } + static ['_#created#tearOff']() { + return new html$.SelectElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -92402,7 +100888,7 @@ html$.SelectElement = class SelectElement extends html$.HtmlElement { get [S$2.$selectedOptions]() { if (dart.nullCheck(this.multiple)) { let options = this[S$0.$options][$where](dart.fn(o => { - if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + if (o == null) dart.nullFailed(I[149], 27804, 41, "o"); return o.selected; }, T$0.OptionElementTobool()))[$toList](); return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); @@ -92427,6 +100913,7 @@ dart.setMethodSignature(html$.SelectElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.SelectElement, () => ['__', 'new']); dart.setGetterSignature(html$.SelectElement, () => ({ __proto__: dart.getGetters(html$.SelectElement.__proto__), [S$.$autofocus]: core.bool, @@ -92459,9 +100946,12 @@ dart.setSetterSignature(html$.SelectElement, () => ({ [S$.$size]: dart.nullable(core.int), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SelectElement, I[148]); +dart.setLibraryUri(html$.SelectElement, I[150]); dart.registerExtension("HTMLSelectElement", html$.SelectElement); -html$.Selection = class Selection extends _interceptors.Interceptor { +html$.Selection = class Selection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Selection.__(); + } get [S$2.$anchorNode]() { return this.anchorNode; } @@ -92561,6 +101051,7 @@ dart.setMethodSignature(html$.Selection, () => ({ [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.Selection, () => ['__']); dart.setGetterSignature(html$.Selection, () => ({ __proto__: dart.getGetters(html$.Selection.__proto__), [S$2.$anchorNode]: dart.nullable(html$.Node), @@ -92575,15 +101066,23 @@ dart.setGetterSignature(html$.Selection, () => ({ [S$2.$rangeCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Selection, I[148]); +dart.setLibraryUri(html$.Selection, I[150]); dart.registerExtension("Selection", html$.Selection); html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SensorErrorEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SensorErrorEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); + return html$.SensorErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SensorErrorEvent(type, eventInitDict); } @@ -92593,13 +101092,17 @@ html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { }; dart.addTypeTests(html$.SensorErrorEvent); dart.addTypeCaches(html$.SensorErrorEvent); +dart.setStaticMethodSignature(html$.SensorErrorEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SensorErrorEvent, () => ({ __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), [S.$error]: dart.nullable(html$.DomException) })); -dart.setLibraryUri(html$.SensorErrorEvent, I[148]); +dart.setLibraryUri(html$.SensorErrorEvent, I[150]); dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorker.__(); + } get [S$2.$scriptUrl]() { return this.scriptURL; } @@ -92635,20 +101138,25 @@ dart.setMethodSignature(html$.ServiceWorker, () => ({ [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.ServiceWorker, () => ['__']); dart.setGetterSignature(html$.ServiceWorker, () => ({ __proto__: dart.getGetters(html$.ServiceWorker.__proto__), [S$2.$scriptUrl]: dart.nullable(core.String), [S$.$state]: dart.nullable(core.String), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ServiceWorker, I[148]); +dart.setLibraryUri(html$.ServiceWorker, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); dart.defineLazy(html$.ServiceWorker, { /*html$.ServiceWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("ServiceWorker", html$.ServiceWorker); html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerContainer.__(); + } get [S$2.$controller]() { return this.controller; } @@ -92662,7 +101170,7 @@ html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventT return js_util.promiseToFuture(core.List, this.getRegistrations()); } [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92681,20 +101189,25 @@ dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.ServiceWorkerContainer, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), [S$2.$controller]: dart.nullable(html$.ServiceWorker), [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); +dart.setLibraryUri(html$.ServiceWorkerContainer, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); dart.defineLazy(html$.ServiceWorkerContainer, { /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.ServiceWorkerGlobalScope.__(); + } get [S$2.$clients]() { return this.clients; } @@ -92729,6 +101242,7 @@ dart.setMethodSignature(html$.ServiceWorkerGlobalScope, () => ({ __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$skipWaiting]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ServiceWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$clients]: dart.nullable(html$.Clients), @@ -92739,26 +101253,31 @@ dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ [S$2.$onInstall]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.ServiceWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorkerGlobalScope, () => ['activateEvent', 'fetchEvent', 'foreignfetchEvent', 'installEvent', 'messageEvent']); dart.defineLazy(html$.ServiceWorkerGlobalScope, { /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { - return C[362] || CT.C362; + return C[373] || CT.C373; }, /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[363] || CT.C363; + return C[374] || CT.C374; }, /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[364] || CT.C364; + return C[375] || CT.C375; }, /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[365] || CT.C365; + return C[376] || CT.C376; }, /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerRegistration.__(); + } get [S$1.$active]() { return this.active; } @@ -92794,7 +101313,7 @@ html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$. return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); } [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92817,6 +101336,7 @@ dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), [$update]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ServiceWorkerRegistration, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), [S$1.$active]: dart.nullable(html$.ServiceWorker), @@ -92829,12 +101349,21 @@ dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ [S$2.$sync]: dart.nullable(html$.SyncManager), [S$2.$waiting]: dart.nullable(html$.ServiceWorker) })); -dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); +dart.setLibraryUri(html$.ServiceWorkerRegistration, I[150]); dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ShadowElement.__(); + } static new() { return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); } + static ['_#new#tearOff']() { + return html$.ShadowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ShadowElement.created(); + } static get supported() { return html$.Element.isTagSupported("shadow"); } @@ -92852,9 +101381,14 @@ dart.setMethodSignature(html$.ShadowElement, () => ({ __proto__: dart.getMethods(html$.ShadowElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); -dart.setLibraryUri(html$.ShadowElement, I[148]); +dart.setStaticMethodSignature(html$.ShadowElement, () => ['__', 'new']); +dart.setStaticGetterSignature(html$.ShadowElement, () => ['supported']); +dart.setLibraryUri(html$.ShadowElement, I[150]); dart.registerExtension("HTMLShadowElement", html$.ShadowElement); html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + static ['_#_#tearOff']() { + return html$.ShadowRoot.__(); + } get [S$2.$delegatesFocus]() { return this.delegatesFocus; } @@ -92908,7 +101442,7 @@ html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { return false; } set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } get [S$2.$applyAuthorStyles]() { @@ -92916,7 +101450,7 @@ html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { return false; } set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } }; @@ -92929,6 +101463,7 @@ dart.setMethodSignature(html$.ShadowRoot, () => ({ [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); +dart.setStaticMethodSignature(html$.ShadowRoot, () => ['__', '_shadowRootDeprecationReport']); dart.setGetterSignature(html$.ShadowRoot, () => ({ __proto__: dart.getGetters(html$.ShadowRoot.__proto__), [S$2.$delegatesFocus]: dart.nullable(core.bool), @@ -92947,35 +101482,72 @@ dart.setSetterSignature(html$.ShadowRoot, () => ({ [S$2.$resetStyleInheritance]: core.bool, [S$2.$applyAuthorStyles]: core.bool })); -dart.setLibraryUri(html$.ShadowRoot, I[148]); +dart.setStaticGetterSignature(html$.ShadowRoot, () => ['supported']); +dart.setLibraryUri(html$.ShadowRoot, I[150]); +dart.setStaticFieldSignature(html$.ShadowRoot, () => ['_shadowRootDeprecationReported']); dart.defineLazy(html$.ShadowRoot, { /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { return false; }, - set _shadowRootDeprecationReported(_) {} + set _shadowRootDeprecationReported(value) { + if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); + } }, false); dart.registerExtension("ShadowRoot", html$.ShadowRoot); -html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { +html$.SharedArrayBuffer = class SharedArrayBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SharedArrayBuffer.__(); + } + static new(length = null) { + if (length != null) { + return html$.SharedArrayBuffer._create_1(length); + } + return html$.SharedArrayBuffer._create_2(); + } + static ['_#new#tearOff'](length = null) { + return html$.SharedArrayBuffer.new(length); + } + static _create_1(length) { + return new SharedArrayBuffer(length); + } + static _create_2() { + return new SharedArrayBuffer(); + } get [S$2.$byteLength]() { return this.byteLength; } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } }; dart.addTypeTests(html$.SharedArrayBuffer); dart.addTypeCaches(html$.SharedArrayBuffer); +dart.setMethodSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getMethods(html$.SharedArrayBuffer.__proto__), + [S$.$slice]: dart.fnType(html$.SharedArrayBuffer, [], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setStaticMethodSignature(html$.SharedArrayBuffer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), [S$2.$byteLength]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); +dart.setLibraryUri(html$.SharedArrayBuffer, I[150]); dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SharedWorker.__(); + } static new(scriptURL, name = null) { - if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); if (name != null) { return html$.SharedWorker._create_1(scriptURL, name); } return html$.SharedWorker._create_2(scriptURL); } + static ['_#new#tearOff'](scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); + return html$.SharedWorker.new(scriptURL, name); + } static _create_1(scriptURL, name) { return new SharedWorker(scriptURL, name); } @@ -92992,19 +101564,24 @@ html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { dart.addTypeTests(html$.SharedWorker); dart.addTypeCaches(html$.SharedWorker); html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setStaticMethodSignature(html$.SharedWorker, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedWorker, () => ({ __proto__: dart.getGetters(html$.SharedWorker.__proto__), [S$.$port]: dart.nullable(html$.MessagePort), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.SharedWorker, I[148]); +dart.setLibraryUri(html$.SharedWorker, I[150]); +dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); dart.defineLazy(html$.SharedWorker, { /*html$.SharedWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SharedWorker", html$.SharedWorker); html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.SharedWorkerGlobalScope.__(); + } get [$name]() { return this.name; } @@ -93040,15 +101617,18 @@ dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); +dart.setStaticMethodSignature(html$.SharedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), [$name]: dart.nullable(core.String), [S$2.$onConnect]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.SharedWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.SharedWorkerGlobalScope, () => ['connectEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.SharedWorkerGlobalScope, { /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { - return C[366] || CT.C366; + return C[377] || CT.C377; }, /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -93059,6 +101639,12 @@ dart.defineLazy(html$.SharedWorkerGlobalScope, { }, false); dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); html$.SlotElement = class SlotElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SlotElement.__(); + } + static ['_#created#tearOff']() { + return new html$.SlotElement.created(); + } get [$name]() { return this.name; } @@ -93091,6 +101677,7 @@ dart.setMethodSignature(html$.SlotElement, () => ({ [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) })); +dart.setStaticMethodSignature(html$.SlotElement, () => ['__']); dart.setGetterSignature(html$.SlotElement, () => ({ __proto__: dart.getGetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) @@ -93099,9 +101686,12 @@ dart.setSetterSignature(html$.SlotElement, () => ({ __proto__: dart.getSetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SlotElement, I[148]); +dart.setLibraryUri(html$.SlotElement, I[150]); dart.registerExtension("HTMLSlotElement", html$.SlotElement); html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SourceBuffer.__(); + } get [S$2.$appendWindowEnd]() { return this.appendWindowEnd; } @@ -93172,6 +101762,7 @@ dart.setMethodSignature(html$.SourceBuffer, () => ({ [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), [$remove]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(html$.SourceBuffer, () => ['__']); dart.setGetterSignature(html$.SourceBuffer, () => ({ __proto__: dart.getGetters(html$.SourceBuffer.__proto__), [S$2.$appendWindowEnd]: dart.nullable(core.num), @@ -93194,13 +101785,14 @@ dart.setSetterSignature(html$.SourceBuffer, () => ({ [S$2.$timestampOffset]: dart.nullable(core.num), [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) })); -dart.setLibraryUri(html$.SourceBuffer, I[148]); +dart.setLibraryUri(html$.SourceBuffer, I[150]); +dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); dart.defineLazy(html$.SourceBuffer, { /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SourceBuffer", html$.SourceBuffer); @@ -93215,24 +101807,27 @@ const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin e }).prototype = EventTarget_ImmutableListMixin$36.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.SourceBufferList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28438, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28444, 25, "index"); html$.SourceBuffer.as(value); - if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + if (value == null) dart.nullFailed(I[149], 28444, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28450, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93263,7 +101858,7 @@ html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableLis dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + if (index == null) dart.nullFailed(I[149], 28478, 30, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -93273,13 +101868,14 @@ html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableLis html$.SourceBufferList.prototype[dart.isList] = true; dart.addTypeTests(html$.SourceBufferList); dart.addTypeCaches(html$.SourceBufferList); -html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; +html$.SourceBufferList[dart.implements] = () => [core.List$(html$.SourceBuffer), _js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer)]; dart.setMethodSignature(html$.SourceBufferList, () => ({ __proto__: dart.getMethods(html$.SourceBufferList.__proto__), [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) })); +dart.setStaticMethodSignature(html$.SourceBufferList, () => ['__']); dart.setGetterSignature(html$.SourceBufferList, () => ({ __proto__: dart.getGetters(html$.SourceBufferList.__proto__), [$length]: core.int @@ -93288,12 +101884,21 @@ dart.setSetterSignature(html$.SourceBufferList, () => ({ __proto__: dart.getSetters(html$.SourceBufferList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.SourceBufferList, I[148]); +dart.setLibraryUri(html$.SourceBufferList, I[150]); dart.registerExtension("SourceBufferList", html$.SourceBufferList); html$.SourceElement = class SourceElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SourceElement.__(); + } static new() { return html$.document.createElement("source"); } + static ['_#new#tearOff']() { + return html$.SourceElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SourceElement.created(); + } get [S$.$media]() { return this.media; } @@ -93331,6 +101936,7 @@ html$.SourceElement = class SourceElement extends html$.HtmlElement { }).prototype = html$.SourceElement.prototype; dart.addTypeTests(html$.SourceElement); dart.addTypeCaches(html$.SourceElement); +dart.setStaticMethodSignature(html$.SourceElement, () => ['__', 'new']); dart.setGetterSignature(html$.SourceElement, () => ({ __proto__: dart.getGetters(html$.SourceElement.__proto__), [S$.$media]: core.String, @@ -93347,12 +101953,21 @@ dart.setSetterSignature(html$.SourceElement, () => ({ [S$1.$srcset]: dart.nullable(core.String), [S.$type]: core.String })); -dart.setLibraryUri(html$.SourceElement, I[148]); +dart.setLibraryUri(html$.SourceElement, I[150]); dart.registerExtension("HTMLSourceElement", html$.SourceElement); html$.SpanElement = class SpanElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SpanElement.__(); + } static new() { return html$.document.createElement("span"); } + static ['_#new#tearOff']() { + return html$.SpanElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SpanElement.created(); + } }; (html$.SpanElement.created = function() { html$.SpanElement.__proto__.created.call(this); @@ -93360,12 +101975,19 @@ html$.SpanElement = class SpanElement extends html$.HtmlElement { }).prototype = html$.SpanElement.prototype; dart.addTypeTests(html$.SpanElement); dart.addTypeCaches(html$.SpanElement); -dart.setLibraryUri(html$.SpanElement, I[148]); +dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); +dart.setLibraryUri(html$.SpanElement, I[150]); dart.registerExtension("HTMLSpanElement", html$.SpanElement); -html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { +html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechGrammar.__(); + } static new() { return html$.SpeechGrammar._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammar.new(); + } static _create_1() { return new SpeechGrammar(); } @@ -93384,6 +102006,7 @@ html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.SpeechGrammar); dart.addTypeCaches(html$.SpeechGrammar); +dart.setStaticMethodSignature(html$.SpeechGrammar, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammar, () => ({ __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), [S$.$src]: dart.nullable(core.String), @@ -93394,22 +102017,28 @@ dart.setSetterSignature(html$.SpeechGrammar, () => ({ [S$.$src]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.SpeechGrammar, I[148]); +dart.setLibraryUri(html$.SpeechGrammar, I[150]); dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); -const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$5.new = function() { - Interceptor_ListMixin$36$5.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$5.prototype; -dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); -const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; -(Interceptor_ImmutableListMixin$36$5.new = function() { - Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$5.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); -html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { +const JavaScriptObject_ListMixin$36$5 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$5.new = function() { + JavaScriptObject_ListMixin$36$5.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$5.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); +const JavaScriptObject_ImmutableListMixin$36$5 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$5 {}; +(JavaScriptObject_ImmutableListMixin$36$5.new = function() { + JavaScriptObject_ImmutableListMixin$36$5.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$5.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); +html$.SpeechGrammarList = class SpeechGrammarList$ extends JavaScriptObject_ImmutableListMixin$36$5 { + static ['_#_#tearOff']() { + return html$.SpeechGrammarList.__(); + } static new() { return html$.SpeechGrammarList._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammarList.new(); + } static _create_1() { return new SpeechGrammarList(); } @@ -93417,20 +102046,20 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28595, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28601, 25, "index"); html$.SpeechGrammar.as(value); - if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + if (value == null) dart.nullFailed(I[149], 28601, 46, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28607, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93461,7 +102090,7 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + if (index == null) dart.nullFailed(I[149], 28635, 31, "index"); return this[$_get](index); } [S$2.$addFromString](...args) { @@ -93477,7 +102106,7 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable html$.SpeechGrammarList.prototype[dart.isList] = true; dart.addTypeTests(html$.SpeechGrammarList); dart.addTypeCaches(html$.SpeechGrammarList); -html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; +html$.SpeechGrammarList[dart.implements] = () => [core.List$(html$.SpeechGrammar), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar)]; dart.setMethodSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), @@ -93486,6 +102115,7 @@ dart.setMethodSignature(html$.SpeechGrammarList, () => ({ [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) })); +dart.setStaticMethodSignature(html$.SpeechGrammarList, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), [$length]: core.int @@ -93494,9 +102124,12 @@ dart.setSetterSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.SpeechGrammarList, I[148]); +dart.setLibraryUri(html$.SpeechGrammarList, I[150]); dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechRecognition.__(); + } static get supported() { return !!(window.SpeechRecognition || window.webkitSpeechRecognition); } @@ -93581,6 +102214,9 @@ html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { static new() { return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); } + static ['_#new#tearOff']() { + return html$.SpeechRecognition.new(); + } }; dart.addTypeTests(html$.SpeechRecognition); dart.addTypeCaches(html$.SpeechRecognition); @@ -93590,6 +102226,7 @@ dart.setMethodSignature(html$.SpeechRecognition, () => ({ [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.SpeechRecognition, () => ['__', 'new']); dart.setGetterSignature(html$.SpeechRecognition, () => ({ __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), @@ -93619,44 +102256,49 @@ dart.setSetterSignature(html$.SpeechRecognition, () => ({ [S.$lang]: dart.nullable(core.String), [S$2.$maxAlternatives]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SpeechRecognition, I[148]); +dart.setStaticGetterSignature(html$.SpeechRecognition, () => ['supported']); +dart.setLibraryUri(html$.SpeechRecognition, I[150]); +dart.setStaticFieldSignature(html$.SpeechRecognition, () => ['audioEndEvent', 'audioStartEvent', 'endEvent', 'errorEvent', 'noMatchEvent', 'resultEvent', 'soundEndEvent', 'soundStartEvent', 'speechEndEvent', 'speechStartEvent', 'startEvent']); dart.defineLazy(html$.SpeechRecognition, { /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { - return C[367] || CT.C367; + return C[378] || CT.C378; }, /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[368] || CT.C368; + return C[379] || CT.C379; }, /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[369] || CT.C369; + return C[380] || CT.C380; }, /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[370] || CT.C370; + return C[381] || CT.C381; }, /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[371] || CT.C371; + return C[382] || CT.C382; }, /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[372] || CT.C372; + return C[383] || CT.C383; }, /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[373] || CT.C373; + return C[384] || CT.C384; }, /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[374] || CT.C374; + return C[385] || CT.C385; }, /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[375] || CT.C375; + return C[386] || CT.C386; }, /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[376] || CT.C376; + return C[387] || CT.C387; }, /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[377] || CT.C377; + return C[388] || CT.C388; } }, false); dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); -html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { +html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionAlternative.__(); + } get [S$2.$confidence]() { return this.confidence; } @@ -93666,22 +102308,30 @@ html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends }; dart.addTypeTests(html$.SpeechRecognitionAlternative); dart.addTypeCaches(html$.SpeechRecognitionAlternative); +dart.setStaticMethodSignature(html$.SpeechRecognitionAlternative, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), [S$2.$confidence]: dart.nullable(core.num), [S$2.$transcript]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[150]); dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionError.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionError._create_1(type, initDict_1); } return html$.SpeechRecognitionError._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); + return html$.SpeechRecognitionError.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionError(type, initDict); } @@ -93697,22 +102347,30 @@ html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event }; dart.addTypeTests(html$.SpeechRecognitionError); dart.addTypeCaches(html$.SpeechRecognitionError); +dart.setStaticMethodSignature(html$.SpeechRecognitionError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), [S.$error]: dart.nullable(core.String), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionError, I[150]); dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionEvent.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionEvent._create_1(type, initDict_1); } return html$.SpeechRecognitionEvent._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); + return html$.SpeechRecognitionEvent.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionEvent(type, initDict); } @@ -93734,6 +102392,7 @@ html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event }; dart.addTypeTests(html$.SpeechRecognitionEvent); dart.addTypeCaches(html$.SpeechRecognitionEvent); +dart.setStaticMethodSignature(html$.SpeechRecognitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), [S$2.$emma]: dart.nullable(html$.Document), @@ -93741,9 +102400,12 @@ dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ [S$2.$resultIndex]: dart.nullable(core.int), [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) })); -dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); -html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { +html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionResult.__(); + } get [S$2.$isFinal]() { return this.isFinal; } @@ -93760,12 +102422,13 @@ dart.setMethodSignature(html$.SpeechRecognitionResult, () => ({ __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) })); +dart.setStaticMethodSignature(html$.SpeechRecognitionResult, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), [S$2.$isFinal]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionResult, I[150]); dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { [S$2.$getVoices]() { @@ -93773,6 +102436,9 @@ html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); return voices; } + static ['_#_#tearOff']() { + return html$.SpeechSynthesis.__(); + } get [S$.$paused]() { return this.paused; } @@ -93809,15 +102475,19 @@ dart.setMethodSignature(html$.SpeechSynthesis, () => ({ [S$1.$resume]: dart.fnType(dart.void, []), [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) })); +dart.setStaticMethodSignature(html$.SpeechSynthesis, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesis, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), [S$.$paused]: dart.nullable(core.bool), [S$2.$pending]: dart.nullable(core.bool), [S$2.$speaking]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.SpeechSynthesis, I[148]); +dart.setLibraryUri(html$.SpeechSynthesis, I[150]); dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisEvent.__(); + } get [S$2.$charIndex]() { return this.charIndex; } @@ -93833,6 +102503,7 @@ html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { }; dart.addTypeTests(html$.SpeechSynthesisEvent); dart.addTypeCaches(html$.SpeechSynthesisEvent); +dart.setStaticMethodSignature(html$.SpeechSynthesisEvent, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), [S$2.$charIndex]: dart.nullable(core.int), @@ -93840,15 +102511,21 @@ dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ [$name]: dart.nullable(core.String), [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) })); -dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisEvent, I[150]); dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisUtterance.__(); + } static new(text = null) { if (text != null) { return html$.SpeechSynthesisUtterance._create_1(text); } return html$.SpeechSynthesisUtterance._create_2(); } + static ['_#new#tearOff'](text = null) { + return html$.SpeechSynthesisUtterance.new(text); + } static _create_1(text) { return new SpeechSynthesisUtterance(text); } @@ -93903,7 +102580,7 @@ html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.E get [S$2.$onMark]() { return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); } get [S$2.$onResume]() { @@ -93915,6 +102592,7 @@ html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.E }; dart.addTypeTests(html$.SpeechSynthesisUtterance); dart.addTypeCaches(html$.SpeechSynthesisUtterance); +dart.setStaticMethodSignature(html$.SpeechSynthesisUtterance, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), [S.$lang]: dart.nullable(core.String), @@ -93927,7 +102605,7 @@ dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), [S.$onError]: async.Stream$(html$.Event), [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) })); @@ -93940,32 +102618,36 @@ dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), [S$.$volume]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[150]); +dart.setStaticFieldSignature(html$.SpeechSynthesisUtterance, () => ['boundaryEvent', 'endEvent', 'errorEvent', 'markEvent', 'pauseEvent', 'resumeEvent', 'startEvent']); dart.defineLazy(html$.SpeechSynthesisUtterance, { /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { - return C[378] || CT.C378; + return C[389] || CT.C389; }, /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[379] || CT.C379; + return C[390] || CT.C390; }, /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[380] || CT.C380; + return C[391] || CT.C391; }, /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[381] || CT.C381; + return C[392] || CT.C392; }, /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[382] || CT.C382; + return C[393] || CT.C393; } }, false); dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); -html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { +html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisVoice.__(); + } get [S$1.$defaultValue]() { return this.default; } @@ -93984,6 +102666,7 @@ html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.In }; dart.addTypeTests(html$.SpeechSynthesisVoice); dart.addTypeCaches(html$.SpeechSynthesisVoice); +dart.setStaticMethodSignature(html$.SpeechSynthesisVoice, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -93992,9 +102675,12 @@ dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ [$name]: dart.nullable(core.String), [S$2.$voiceUri]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); -html$.StaticRange = class StaticRange extends _interceptors.Interceptor { +html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StaticRange.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -94013,6 +102699,7 @@ html$.StaticRange = class StaticRange extends _interceptors.Interceptor { }; dart.addTypeTests(html$.StaticRange); dart.addTypeCaches(html$.StaticRange); +dart.setStaticMethodSignature(html$.StaticRange, () => ['__']); dart.setGetterSignature(html$.StaticRange, () => ({ __proto__: dart.getGetters(html$.StaticRange.__proto__), [S$2.$collapsed]: dart.nullable(core.bool), @@ -94021,26 +102708,26 @@ dart.setGetterSignature(html$.StaticRange, () => ({ [S$2.$startContainer]: dart.nullable(html$.Node), [S$2.$startOffset]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.StaticRange, I[148]); +dart.setLibraryUri(html$.StaticRange, I[150]); dart.registerExtension("StaticRange", html$.StaticRange); -const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$1.new = function() { - Interceptor_MapMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$1.prototype; -dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); -html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { +const JavaScriptObject_MapMixin$36$1 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$1.new = function() { + JavaScriptObject_MapMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); +html$.Storage = class Storage extends JavaScriptObject_MapMixin$36$1 { [$addAll](other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + if (other == null) dart.nullFailed(I[149], 29183, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); - if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + if (k == null) dart.nullFailed(I[149], 29184, 20, "k"); + if (v == null) dart.nullFailed(I[149], 29184, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + if (e == null) dart.nullFailed(I[149], 29190, 52, "e"); return core.identical(e, value); }, T$.StringTobool())); } @@ -94053,17 +102740,17 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + if (value == null) dart.nullFailed(I[149], 29196, 40, "value"); this[S$2._setItem](key, value); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + if (key == null) dart.nullFailed(I[149], 29200, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 29200, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); return dart.nullCast(this[$_get](key), core.String); } @@ -94076,7 +102763,7 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { return this[S$0._clear$3](); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + if (f == null) dart.nullFailed(I[149], 29213, 21, "f"); for (let i = 0; true; i = i + 1) { let key = this[S$2._key](i); if (key == null) return; @@ -94086,8 +102773,8 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29224, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29224, 17, "v"); return keys[$add](k); }, T$0.StringAndStringTovoid())); return keys; @@ -94095,8 +102782,8 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$values]() { let values = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29230, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29230, 17, "v"); return values[$add](v); }, T$0.StringAndStringTovoid())); return values; @@ -94110,6 +102797,9 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$isNotEmpty]() { return !dart.test(this[$isEmpty]); } + static ['_#_#tearOff']() { + return html$.Storage.__(); + } get [S$2._length$3]() { return this.length; } @@ -94143,20 +102833,21 @@ dart.setMethodSignature(html$.Storage, () => ({ [S$2._removeItem]: dart.fnType(dart.void, [core.String]), [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) })); +dart.setStaticMethodSignature(html$.Storage, () => ['__']); dart.setGetterSignature(html$.Storage, () => ({ __proto__: dart.getGetters(html$.Storage.__proto__), [$keys]: core.Iterable$(core.String), [S$2._length$3]: core.int })); -dart.setLibraryUri(html$.Storage, I[148]); +dart.setLibraryUri(html$.Storage, I[150]); dart.registerExtension("Storage", html$.Storage); html$.StorageEvent = class StorageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); let key = opts && 'key' in opts ? opts.key : null; let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; let newValue = opts && 'newValue' in opts ? opts.newValue : null; @@ -94166,14 +102857,31 @@ html$.StorageEvent = class StorageEvent$ extends html$.Event { e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + return html$.StorageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, key: key, oldValue: oldValue, newValue: newValue, url: url, storageArea: storageArea}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.StorageEvent._create_1(type, eventInitDict_1); } return html$.StorageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); + return html$.StorageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new StorageEvent(type, eventInitDict); } @@ -94186,7 +102894,7 @@ html$.StorageEvent = class StorageEvent$ extends html$.Event { get [S$1.$newValue]() { return this.newValue; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } get [S$2.$storageArea]() { @@ -94205,17 +102913,21 @@ dart.setMethodSignature(html$.StorageEvent, () => ({ __proto__: dart.getMethods(html$.StorageEvent.__proto__), [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) })); +dart.setStaticMethodSignature(html$.StorageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.StorageEvent, () => ({ __proto__: dart.getGetters(html$.StorageEvent.__proto__), [S.$key]: dart.nullable(core.String), [S$1.$newValue]: dart.nullable(core.String), - [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$oldValue]: dart.nullable(core.String), [S$2.$storageArea]: dart.nullable(html$.Storage), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StorageEvent, I[148]); +dart.setLibraryUri(html$.StorageEvent, I[150]); dart.registerExtension("StorageEvent", html$.StorageEvent); -html$.StorageManager = class StorageManager extends _interceptors.Interceptor { +html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StorageManager.__(); + } [S$2.$estimate]() { return html$.promiseToFutureAsMap(this.estimate()); } @@ -94234,12 +102946,22 @@ dart.setMethodSignature(html$.StorageManager, () => ({ [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) })); -dart.setLibraryUri(html$.StorageManager, I[148]); +dart.setStaticMethodSignature(html$.StorageManager, () => ['__']); +dart.setLibraryUri(html$.StorageManager, I[150]); dart.registerExtension("StorageManager", html$.StorageManager); html$.StyleElement = class StyleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.StyleElement.__(); + } static new() { return html$.document.createElement("style"); } + static ['_#new#tearOff']() { + return html$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -94268,6 +102990,7 @@ html$.StyleElement = class StyleElement extends html$.HtmlElement { }).prototype = html$.StyleElement.prototype; dart.addTypeTests(html$.StyleElement); dart.addTypeCaches(html$.StyleElement); +dart.setStaticMethodSignature(html$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(html$.StyleElement, () => ({ __proto__: dart.getGetters(html$.StyleElement.__proto__), [S$.$disabled]: core.bool, @@ -94281,9 +103004,12 @@ dart.setSetterSignature(html$.StyleElement, () => ({ [S$.$media]: core.String, [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StyleElement, I[148]); +dart.setLibraryUri(html$.StyleElement, I[150]); dart.registerExtension("HTMLStyleElement", html$.StyleElement); -html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { +html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleMedia.__(); + } get [S.$type]() { return this.type; } @@ -94297,13 +103023,17 @@ dart.setMethodSignature(html$.StyleMedia, () => ({ __proto__: dart.getMethods(html$.StyleMedia.__proto__), [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.StyleMedia, () => ['__']); dart.setGetterSignature(html$.StyleMedia, () => ({ __proto__: dart.getGetters(html$.StyleMedia.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StyleMedia, I[148]); +dart.setLibraryUri(html$.StyleMedia, I[150]); dart.registerExtension("StyleMedia", html$.StyleMedia); -html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { +html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StylePropertyMapReadonly.__(); + } [S.$get](...args) { return this.get.apply(this, args); } @@ -94326,9 +103056,13 @@ dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), [S$.$has]: dart.fnType(core.bool, [core.String]) })); -dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); +dart.setStaticMethodSignature(html$.StylePropertyMapReadonly, () => ['__']); +dart.setLibraryUri(html$.StylePropertyMapReadonly, I[150]); dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + static ['_#_#tearOff']() { + return html$.StylePropertyMap.__(); + } [S.$append](...args) { return this.append.apply(this, args); } @@ -94347,15 +103081,24 @@ dart.setMethodSignature(html$.StylePropertyMap, () => ({ [S.$delete]: dart.fnType(dart.void, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) })); -dart.setLibraryUri(html$.StylePropertyMap, I[148]); +dart.setStaticMethodSignature(html$.StylePropertyMap, () => ['__']); +dart.setLibraryUri(html$.StylePropertyMap, I[150]); dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.SyncEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); - if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.SyncEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); + return html$.SyncEvent.new(type, init); + } static _create_1(type, init) { return new SyncEvent(type, init); } @@ -94368,19 +103111,23 @@ html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { }; dart.addTypeTests(html$.SyncEvent); dart.addTypeCaches(html$.SyncEvent); +dart.setStaticMethodSignature(html$.SyncEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SyncEvent, () => ({ __proto__: dart.getGetters(html$.SyncEvent.__proto__), [S$2.$lastChance]: dart.nullable(core.bool), [S$2.$tag]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SyncEvent, I[148]); +dart.setLibraryUri(html$.SyncEvent, I[150]); dart.registerExtension("SyncEvent", html$.SyncEvent); -html$.SyncManager = class SyncManager extends _interceptors.Interceptor { +html$.SyncManager = class SyncManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SyncManager.__(); + } [S$2.$getTags]() { return js_util.promiseToFuture(core.List, this.getTags()); } [S$1.$register](tag) { - if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + if (tag == null) dart.nullFailed(I[149], 29510, 26, "tag"); return js_util.promiseToFuture(dart.dynamic, this.register(tag)); } }; @@ -94391,12 +103138,22 @@ dart.setMethodSignature(html$.SyncManager, () => ({ [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.SyncManager, I[148]); +dart.setStaticMethodSignature(html$.SyncManager, () => ['__']); +dart.setLibraryUri(html$.SyncManager, I[150]); dart.registerExtension("SyncManager", html$.SyncManager); html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCaptionElement.__(); + } static new() { return html$.document.createElement("caption"); } + static ['_#new#tearOff']() { + return html$.TableCaptionElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCaptionElement.created(); + } }; (html$.TableCaptionElement.created = function() { html$.TableCaptionElement.__proto__.created.call(this); @@ -94404,12 +103161,22 @@ html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement }).prototype = html$.TableCaptionElement.prototype; dart.addTypeTests(html$.TableCaptionElement); dart.addTypeCaches(html$.TableCaptionElement); -dart.setLibraryUri(html$.TableCaptionElement, I[148]); +dart.setStaticMethodSignature(html$.TableCaptionElement, () => ['__', 'new']); +dart.setLibraryUri(html$.TableCaptionElement, I[150]); dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCellElement.__(); + } static new() { return html$.document.createElement("td"); } + static ['_#new#tearOff']() { + return html$.TableCellElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCellElement.created(); + } get [S$2.$cellIndex]() { return this.cellIndex; } @@ -94438,6 +103205,7 @@ html$.TableCellElement = class TableCellElement extends html$.HtmlElement { }).prototype = html$.TableCellElement.prototype; dart.addTypeTests(html$.TableCellElement); dart.addTypeCaches(html$.TableCellElement); +dart.setStaticMethodSignature(html$.TableCellElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableCellElement, () => ({ __proto__: dart.getGetters(html$.TableCellElement.__proto__), [S$2.$cellIndex]: core.int, @@ -94451,14 +103219,23 @@ dart.setSetterSignature(html$.TableCellElement, () => ({ [S$2.$headers]: dart.nullable(core.String), [S$.$rowSpan]: core.int })); -dart.setLibraryUri(html$.TableCellElement, I[148]); +dart.setLibraryUri(html$.TableCellElement, I[150]); dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); html$.TableColElement = class TableColElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableColElement.__(); + } static new() { return html$.document.createElement("col"); } + static ['_#new#tearOff']() { + return html$.TableColElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableColElement.created(); + } get [S$2.$span]() { return this.span; } @@ -94472,6 +103249,7 @@ html$.TableColElement = class TableColElement extends html$.HtmlElement { }).prototype = html$.TableColElement.prototype; dart.addTypeTests(html$.TableColElement); dart.addTypeCaches(html$.TableColElement); +dart.setStaticMethodSignature(html$.TableColElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableColElement, () => ({ __proto__: dart.getGetters(html$.TableColElement.__proto__), [S$2.$span]: core.int @@ -94480,7 +103258,7 @@ dart.setSetterSignature(html$.TableColElement, () => ({ __proto__: dart.getSetters(html$.TableColElement.__proto__), [S$2.$span]: core.int })); -dart.setLibraryUri(html$.TableColElement, I[148]); +dart.setLibraryUri(html$.TableColElement, I[150]); dart.registerExtension("HTMLTableColElement", html$.TableColElement); html$.TableElement = class TableElement extends html$.HtmlElement { get [S$2.$tBodies]() { @@ -94505,7 +103283,7 @@ html$.TableElement = class TableElement extends html$.HtmlElement { return this[S$2._createTHead](); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); return this[S$2._insertRow](index); } [S$2._createTBody]() { @@ -94531,9 +103309,18 @@ html$.TableElement = class TableElement extends html$.HtmlElement { fragment[S.$nodes][$addAll](table[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableElement.__(); + } static new() { return html$.document.createElement("table"); } + static ['_#new#tearOff']() { + return html$.TableElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableElement.created(); + } get [S$2.$caption]() { return this.caption; } @@ -94608,6 +103395,7 @@ dart.setMethodSignature(html$.TableElement, () => ({ [S$2.$deleteTHead]: dart.fnType(dart.void, []), [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableElement, () => ({ __proto__: dart.getGetters(html$.TableElement.__proto__), [S$2.$tBodies]: core.List$(html$.TableSectionElement), @@ -94624,7 +103412,7 @@ dart.setSetterSignature(html$.TableElement, () => ({ [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), [S$2.$tHead]: dart.nullable(html$.TableSectionElement) })); -dart.setLibraryUri(html$.TableElement, I[148]); +dart.setLibraryUri(html$.TableElement, I[150]); dart.registerExtension("HTMLTableElement", html$.TableElement); html$.TableRowElement = class TableRowElement extends html$.HtmlElement { get [S$2.$cells]() { @@ -94634,7 +103422,7 @@ html$.TableRowElement = class TableRowElement extends html$.HtmlElement { return this[S$2.$insertCell](-1); } [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); return html$.TableCellElement.as(this[S$2._insertCell](index)); } [S.$createFragment](html, opts) { @@ -94649,9 +103437,18 @@ html$.TableRowElement = class TableRowElement extends html$.HtmlElement { fragment[S.$nodes][$addAll](row[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableRowElement.__(); + } static new() { return html$.document.createElement("tr"); } + static ['_#new#tearOff']() { + return html$.TableRowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableRowElement.created(); + } get [S$2._cells]() { return this.cells; } @@ -94681,6 +103478,7 @@ dart.setMethodSignature(html$.TableRowElement, () => ({ [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableRowElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableRowElement, () => ({ __proto__: dart.getGetters(html$.TableRowElement.__proto__), [S$2.$cells]: core.List$(html$.TableCellElement), @@ -94688,7 +103486,7 @@ dart.setGetterSignature(html$.TableRowElement, () => ({ [S$.$rowIndex]: core.int, [S$2.$sectionRowIndex]: core.int })); -dart.setLibraryUri(html$.TableRowElement, I[148]); +dart.setLibraryUri(html$.TableRowElement, I[150]); dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { get [S$2.$rows]() { @@ -94698,7 +103496,7 @@ html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement return this[S$2.$insertRow](-1); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); return html$.TableRowElement.as(this[S$2._insertRow](index)); } [S.$createFragment](html, opts) { @@ -94712,6 +103510,12 @@ html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement fragment[S.$nodes][$addAll](section[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableSectionElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TableSectionElement.created(); + } get [S$2._rows]() { return this.rows; } @@ -94735,14 +103539,18 @@ dart.setMethodSignature(html$.TableSectionElement, () => ({ [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableSectionElement, () => ['__']); dart.setGetterSignature(html$.TableSectionElement, () => ({ __proto__: dart.getGetters(html$.TableSectionElement.__proto__), [S$2.$rows]: core.List$(html$.TableRowElement), [S$2._rows]: core.List$(html$.Node) })); -dart.setLibraryUri(html$.TableSectionElement, I[148]); +dart.setLibraryUri(html$.TableSectionElement, I[150]); dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.TaskAttributionTiming.__(); + } get [S$2.$containerId]() { return this.containerId; } @@ -94761,6 +103569,7 @@ html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.Performa }; dart.addTypeTests(html$.TaskAttributionTiming); dart.addTypeCaches(html$.TaskAttributionTiming); +dart.setStaticMethodSignature(html$.TaskAttributionTiming, () => ['__']); dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), [S$2.$containerId]: dart.nullable(core.String), @@ -94769,12 +103578,21 @@ dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ [S$2.$containerType]: dart.nullable(core.String), [S$2.$scriptUrl]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); +dart.setLibraryUri(html$.TaskAttributionTiming, I[150]); dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TemplateElement.__(); + } static new() { return html$.TemplateElement.as(html$.document[S.$createElement]("template")); } + static ['_#new#tearOff']() { + return html$.TemplateElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TemplateElement.created(); + } static get supported() { return html$.Element.isTagSupported("template"); } @@ -94796,16 +103614,27 @@ html$.TemplateElement = class TemplateElement extends html$.HtmlElement { }).prototype = html$.TemplateElement.prototype; dart.addTypeTests(html$.TemplateElement); dart.addTypeCaches(html$.TemplateElement); +dart.setStaticMethodSignature(html$.TemplateElement, () => ['__', 'new']); dart.setGetterSignature(html$.TemplateElement, () => ({ __proto__: dart.getGetters(html$.TemplateElement.__proto__), [S$0.$content]: dart.nullable(html$.DocumentFragment) })); -dart.setLibraryUri(html$.TemplateElement, I[148]); +dart.setStaticGetterSignature(html$.TemplateElement, () => ['supported']); +dart.setLibraryUri(html$.TemplateElement, I[150]); dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TextAreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.TextAreaElement.new(); + } static new() { return html$.document.createElement("textarea"); } + static ['_#created#tearOff']() { + return new html$.TextAreaElement.created(); + } get [S$1.$autocapitalize]() { return this.autocapitalize; } @@ -94969,6 +103798,7 @@ dart.setMethodSignature(html$.TextAreaElement, () => ({ [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.TextAreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.TextAreaElement, () => ({ __proto__: dart.getGetters(html$.TextAreaElement.__proto__), [S$1.$autocapitalize]: dart.nullable(core.String), @@ -95018,12 +103848,18 @@ dart.setSetterSignature(html$.TextAreaElement, () => ({ [S.$value]: dart.nullable(core.String), [S$2.$wrap]: core.String })); -dart.setLibraryUri(html$.TextAreaElement, I[148]); +dart.setLibraryUri(html$.TextAreaElement, I[150]); dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); -html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { +html$.TextDetector = class TextDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextDetector.__(); + } static new() { return html$.TextDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.TextDetector.new(); + } static _create_1() { return new TextDetector(); } @@ -95037,15 +103873,16 @@ dart.setMethodSignature(html$.TextDetector, () => ({ __proto__: dart.getMethods(html$.TextDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.TextDetector, I[148]); +dart.setStaticMethodSignature(html$.TextDetector, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.TextDetector, I[150]); dart.registerExtension("TextDetector", html$.TextDetector); html$.TextEvent = class TextEvent extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; if (view == null) { @@ -95055,6 +103892,19 @@ html$.TextEvent = class TextEvent extends html$.UIEvent { e[S$2._initTextEvent](type, canBubble, cancelable, view, data); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + return html$.TextEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data}); + } + static ['_#_#tearOff']() { + return html$.TextEvent.__(); + } get [S$.$data]() { return this.data; } @@ -95068,13 +103918,17 @@ dart.setMethodSignature(html$.TextEvent, () => ({ __proto__: dart.getMethods(html$.TextEvent.__proto__), [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.TextEvent, () => ['new', '__']); dart.setGetterSignature(html$.TextEvent, () => ({ __proto__: dart.getGetters(html$.TextEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TextEvent, I[148]); +dart.setLibraryUri(html$.TextEvent, I[150]); dart.registerExtension("TextEvent", html$.TextEvent); -html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { +html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextMetrics.__(); + } get [S$2.$actualBoundingBoxAscent]() { return this.actualBoundingBoxAscent; } @@ -95093,19 +103947,19 @@ html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { get [S$2.$emHeightAscent]() { return this.emHeightAscent; } - get [S$2.$emHeightDescent]() { + get [S$3.$emHeightDescent]() { return this.emHeightDescent; } - get [S$2.$fontBoundingBoxAscent]() { + get [S$3.$fontBoundingBoxAscent]() { return this.fontBoundingBoxAscent; } - get [S$2.$fontBoundingBoxDescent]() { + get [S$3.$fontBoundingBoxDescent]() { return this.fontBoundingBoxDescent; } - get [S$2.$hangingBaseline]() { + get [S$3.$hangingBaseline]() { return this.hangingBaseline; } - get [S$2.$ideographicBaseline]() { + get [S$3.$ideographicBaseline]() { return this.ideographicBaseline; } get [$width]() { @@ -95114,6 +103968,7 @@ html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { }; dart.addTypeTests(html$.TextMetrics); dart.addTypeCaches(html$.TextMetrics); +dart.setStaticMethodSignature(html$.TextMetrics, () => ['__']); dart.setGetterSignature(html$.TextMetrics, () => ({ __proto__: dart.getGetters(html$.TextMetrics.__proto__), [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), @@ -95122,20 +103977,23 @@ dart.setGetterSignature(html$.TextMetrics, () => ({ [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), [S$2.$alphabeticBaseline]: dart.nullable(core.num), [S$2.$emHeightAscent]: dart.nullable(core.num), - [S$2.$emHeightDescent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$hangingBaseline]: dart.nullable(core.num), - [S$2.$ideographicBaseline]: dart.nullable(core.num), + [S$3.$emHeightDescent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$3.$hangingBaseline]: dart.nullable(core.num), + [S$3.$ideographicBaseline]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.TextMetrics, I[148]); +dart.setLibraryUri(html$.TextMetrics, I[150]); dart.registerExtension("TextMetrics", html$.TextMetrics); html$.TextTrack = class TextTrack extends html$.EventTarget { - get [S$2.$activeCues]() { + static ['_#_#tearOff']() { + return html$.TextTrack.__(); + } + get [S$3.$activeCues]() { return this.activeCues; } - get [S$2.$cues]() { + get [S$3.$cues]() { return this.cues; } get [S.$id]() { @@ -95147,7 +104005,7 @@ html$.TextTrack = class TextTrack extends html$.EventTarget { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$mode]() { @@ -95156,13 +104014,13 @@ html$.TextTrack = class TextTrack extends html$.EventTarget { set [S.$mode](value) { this.mode = value; } - [S$2.$addCue](...args) { + [S$3.$addCue](...args) { return this.addCue.apply(this, args); } - [S$2.$removeCue](...args) { + [S$3.$removeCue](...args) { return this.removeCue.apply(this, args); } - get [S$2.$onCueChange]() { + get [S$3.$onCueChange]() { return html$.TextTrack.cueChangeEvent.forTarget(this); } }; @@ -95170,36 +104028,41 @@ dart.addTypeTests(html$.TextTrack); dart.addTypeCaches(html$.TextTrack); dart.setMethodSignature(html$.TextTrack, () => ({ __proto__: dart.getMethods(html$.TextTrack.__proto__), - [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), - [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) + [S$3.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$3.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) })); +dart.setStaticMethodSignature(html$.TextTrack, () => ['__']); dart.setGetterSignature(html$.TextTrack, () => ({ __proto__: dart.getGetters(html$.TextTrack.__proto__), - [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), - [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S$3.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$3.$cues]: dart.nullable(html$.TextTrackCueList), [S.$id]: core.String, [S$.$kind]: core.String, [S$.$label]: core.String, - [S$1.$language]: core.String, + [S$2.$language]: core.String, [S.$mode]: dart.nullable(core.String), - [S$2.$onCueChange]: async.Stream$(html$.Event) + [S$3.$onCueChange]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrack, () => ({ __proto__: dart.getSetters(html$.TextTrack.__proto__), [S.$mode]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TextTrack, I[148]); +dart.setLibraryUri(html$.TextTrack, I[150]); +dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); dart.defineLazy(html$.TextTrack, { /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[383] || CT.C383; + return C[394] || CT.C394; } }, false); dart.registerExtension("TextTrack", html$.TextTrack); html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - get [S$2.$endTime]() { + static ['_#_#tearOff']() { + return html$.TextTrackCue.__(); + } + get [S$3.$endTime]() { return this.endTime; } - set [S$2.$endTime](value) { + set [S$3.$endTime](value) { this.endTime = value; } get [S.$id]() { @@ -95208,10 +104071,10 @@ html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { set [S.$id](value) { this.id = value; } - get [S$2.$pauseOnExit]() { + get [S$3.$pauseOnExit]() { return this.pauseOnExit; } - set [S$2.$pauseOnExit](value) { + set [S$3.$pauseOnExit](value) { this.pauseOnExit = value; } get [S$.$startTime]() { @@ -95223,71 +104086,76 @@ html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { get [S$1.$track]() { return this.track; } - get [S$2.$onEnter]() { + get [S$3.$onEnter]() { return html$.TextTrackCue.enterEvent.forTarget(this); } - get [S$2.$onExit]() { + get [S$3.$onExit]() { return html$.TextTrackCue.exitEvent.forTarget(this); } }; dart.addTypeTests(html$.TextTrackCue); dart.addTypeCaches(html$.TextTrackCue); +dart.setStaticMethodSignature(html$.TextTrackCue, () => ['__']); dart.setGetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getGetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num), [S$1.$track]: dart.nullable(html$.TextTrack), - [S$2.$onEnter]: async.Stream$(html$.Event), - [S$2.$onExit]: async.Stream$(html$.Event) + [S$3.$onEnter]: async.Stream$(html$.Event), + [S$3.$onExit]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getSetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.TextTrackCue, I[148]); +dart.setLibraryUri(html$.TextTrackCue, I[150]); +dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); dart.defineLazy(html$.TextTrackCue, { /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[384] || CT.C384; + return C[395] || CT.C395; }, /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[385] || CT.C385; + return C[396] || CT.C396; } }, false); dart.registerExtension("TextTrackCue", html$.TextTrackCue); -const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$6.new = function() { - Interceptor_ListMixin$36$6.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$6.prototype; -dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); -const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; -(Interceptor_ImmutableListMixin$36$6.new = function() { - Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$6.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); -html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { +const JavaScriptObject_ListMixin$36$6 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$6.new = function() { + JavaScriptObject_ListMixin$36$6.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$6.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); +const JavaScriptObject_ImmutableListMixin$36$6 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$6 {}; +(JavaScriptObject_ImmutableListMixin$36$6.new = function() { + JavaScriptObject_ImmutableListMixin$36$6.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$6.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); +html$.TextTrackCueList = class TextTrackCueList extends JavaScriptObject_ImmutableListMixin$36$6 { + static ['_#_#tearOff']() { + return html$.TextTrackCueList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30243, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30249, 25, "index"); html$.TextTrackCue.as(value); - if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + if (value == null) dart.nullFailed(I[149], 30249, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30255, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95318,13 +104186,13 @@ html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableLis dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + if (index == null) dart.nullFailed(I[149], 30283, 30, "index"); return this[$_get](index); } [S$.__getter__](...args) { return this.__getter__.apply(this, args); } - [S$2.$getCueById](...args) { + [S$3.$getCueById](...args) { return this.getCueById.apply(this, args); } }; @@ -95337,8 +104205,9 @@ dart.setMethodSignature(html$.TextTrackCueList, () => ({ [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), - [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) + [S$3.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) })); +dart.setStaticMethodSignature(html$.TextTrackCueList, () => ['__']); dart.setGetterSignature(html$.TextTrackCueList, () => ({ __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), [$length]: core.int @@ -95347,7 +104216,7 @@ dart.setSetterSignature(html$.TextTrackCueList, () => ({ __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TextTrackCueList, I[148]); +dart.setLibraryUri(html$.TextTrackCueList, I[150]); dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; (EventTarget_ListMixin$36$._created = function() { @@ -95360,24 +104229,27 @@ const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin }).prototype = EventTarget_ImmutableListMixin$36$.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.TextTrackList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30317, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30323, 25, "index"); html$.TextTrack.as(value); - if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + if (value == null) dart.nullFailed(I[149], 30323, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30329, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95408,7 +104280,7 @@ html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + if (index == null) dart.nullFailed(I[149], 30357, 27, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -95435,6 +104307,7 @@ dart.setMethodSignature(html$.TextTrackList, () => ({ [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) })); +dart.setStaticMethodSignature(html$.TextTrackList, () => ['__']); dart.setGetterSignature(html$.TextTrackList, () => ({ __proto__: dart.getGetters(html$.TextTrackList.__proto__), [$length]: core.int, @@ -95445,17 +104318,24 @@ dart.setSetterSignature(html$.TextTrackList, () => ({ __proto__: dart.getSetters(html$.TextTrackList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TextTrackList, I[148]); +dart.setLibraryUri(html$.TextTrackList, I[150]); +dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); dart.defineLazy(html$.TextTrackList, { /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[386] || CT.C386; + return C[397] || CT.C397; }, /*html$.TextTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("TextTrackList", html$.TextTrackList); html$.TimeElement = class TimeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TimeElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TimeElement.created(); + } get [S$1.$dateTime]() { return this.dateTime; } @@ -95469,6 +104349,7 @@ html$.TimeElement = class TimeElement extends html$.HtmlElement { }).prototype = html$.TimeElement.prototype; dart.addTypeTests(html$.TimeElement); dart.addTypeCaches(html$.TimeElement); +dart.setStaticMethodSignature(html$.TimeElement, () => ['__']); dart.setGetterSignature(html$.TimeElement, () => ({ __proto__: dart.getGetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) @@ -95477,13 +104358,16 @@ dart.setSetterSignature(html$.TimeElement, () => ({ __proto__: dart.getSetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TimeElement, I[148]); +dart.setLibraryUri(html$.TimeElement, I[150]); dart.registerExtension("HTMLTimeElement", html$.TimeElement); -html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { +html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TimeRanges.__(); + } get [$length]() { return this.length; } - [S$2.$end](...args) { + [S$3.$end](...args) { return this.end.apply(this, args); } [S$.$start](...args) { @@ -95494,19 +104378,29 @@ dart.addTypeTests(html$.TimeRanges); dart.addTypeCaches(html$.TimeRanges); dart.setMethodSignature(html$.TimeRanges, () => ({ __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$3.$end]: dart.fnType(core.double, [core.int]), [S$.$start]: dart.fnType(core.double, [core.int]) })); +dart.setStaticMethodSignature(html$.TimeRanges, () => ['__']); dart.setGetterSignature(html$.TimeRanges, () => ({ __proto__: dart.getGetters(html$.TimeRanges.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TimeRanges, I[148]); +dart.setLibraryUri(html$.TimeRanges, I[150]); dart.registerExtension("TimeRanges", html$.TimeRanges); html$.TitleElement = class TitleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TitleElement.__(); + } static new() { return html$.document.createElement("title"); } + static ['_#new#tearOff']() { + return html$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TitleElement.created(); + } }; (html$.TitleElement.created = function() { html$.TitleElement.__proto__.created.call(this); @@ -95514,14 +104408,22 @@ html$.TitleElement = class TitleElement extends html$.HtmlElement { }).prototype = html$.TitleElement.prototype; dart.addTypeTests(html$.TitleElement); dart.addTypeCaches(html$.TitleElement); -dart.setLibraryUri(html$.TitleElement, I[148]); +dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); +dart.setLibraryUri(html$.TitleElement, I[150]); dart.registerExtension("HTMLTitleElement", html$.TitleElement); -html$.Touch = class Touch$ extends _interceptors.Interceptor { +html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Touch.__(); + } static new(initDict) { - if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.Touch._create_1(initDict_1); } + static ['_#new#tearOff'](initDict) { + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); + return html$.Touch.new(initDict); + } static _create_1(initDict) { return new Touch(initDict); } @@ -95531,10 +104433,10 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S$1._clientY]() { return this.clientY; } - get [S$2.$force]() { + get [S$3.$force]() { return this.force; } - get [S$2.$identifier]() { + get [S$3.$identifier]() { return this.identifier; } get [S$1._pageX]() { @@ -95543,16 +104445,16 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S$1._pageY]() { return this.pageY; } - get [S$2._radiusX]() { + get [S$3._radiusX]() { return this.radiusX; } - get [S$2._radiusY]() { + get [S$3._radiusY]() { return this.radiusY; } get [S$1.$region]() { return this.region; } - get [S$2.$rotationAngle]() { + get [S$3.$rotationAngle]() { return this.rotationAngle; } get [S$1._screenX]() { @@ -95567,89 +104469,97 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S._get_target]() { return this.target; } - get [S$2.__clientX]() { + get [S$3.__clientX]() { return this.clientX[$round](); } - get [S$2.__clientY]() { + get [S$3.__clientY]() { return this.clientY[$round](); } - get [S$2.__screenX]() { + get [S$3.__screenX]() { return this.screenX[$round](); } - get [S$2.__screenY]() { + get [S$3.__screenY]() { return this.screenY[$round](); } - get [S$2.__pageX]() { + get [S$3.__pageX]() { return this.pageX[$round](); } - get [S$2.__pageY]() { + get [S$3.__pageY]() { return this.pageY[$round](); } - get [S$2.__radiusX]() { + get [S$3.__radiusX]() { return this.radiusX[$round](); } - get [S$2.__radiusY]() { + get [S$3.__radiusY]() { return this.radiusY[$round](); } get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + return new (T$0.PointOfnum()).new(this[S$3.__clientX], this[S$3.__clientY]); } get [S$0.$page]() { - return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + return new (T$0.PointOfnum()).new(this[S$3.__pageX], this[S$3.__pageY]); } get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); } - get [S$2.$radiusX]() { - return this[S$2.__radiusX]; + get [S$3.$radiusX]() { + return this[S$3.__radiusX]; } - get [S$2.$radiusY]() { - return this[S$2.__radiusY]; + get [S$3.$radiusY]() { + return this[S$3.__radiusY]; } }; dart.addTypeTests(html$.Touch); dart.addTypeCaches(html$.Touch); +dart.setStaticMethodSignature(html$.Touch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Touch, () => ({ __proto__: dart.getGetters(html$.Touch.__proto__), [S$1._clientX]: dart.nullable(core.num), [S$1._clientY]: dart.nullable(core.num), - [S$2.$force]: dart.nullable(core.num), - [S$2.$identifier]: dart.nullable(core.int), + [S$3.$force]: dart.nullable(core.num), + [S$3.$identifier]: dart.nullable(core.int), [S$1._pageX]: dart.nullable(core.num), [S$1._pageY]: dart.nullable(core.num), - [S$2._radiusX]: dart.nullable(core.num), - [S$2._radiusY]: dart.nullable(core.num), + [S$3._radiusX]: dart.nullable(core.num), + [S$3._radiusY]: dart.nullable(core.num), [S$1.$region]: dart.nullable(core.String), - [S$2.$rotationAngle]: dart.nullable(core.num), + [S$3.$rotationAngle]: dart.nullable(core.num), [S$1._screenX]: dart.nullable(core.num), [S$1._screenY]: dart.nullable(core.num), [S.$target]: dart.nullable(html$.EventTarget), [S._get_target]: dart.dynamic, - [S$2.__clientX]: core.int, - [S$2.__clientY]: core.int, - [S$2.__screenX]: core.int, - [S$2.__screenY]: core.int, - [S$2.__pageX]: core.int, - [S$2.__pageY]: core.int, - [S$2.__radiusX]: core.int, - [S$2.__radiusY]: core.int, + [S$3.__clientX]: core.int, + [S$3.__clientY]: core.int, + [S$3.__screenX]: core.int, + [S$3.__screenY]: core.int, + [S$3.__pageX]: core.int, + [S$3.__pageY]: core.int, + [S$3.__radiusX]: core.int, + [S$3.__radiusY]: core.int, [S.$client]: math.Point$(core.num), [S$0.$page]: math.Point$(core.num), [S$1.$screen]: math.Point$(core.num), - [S$2.$radiusX]: core.int, - [S$2.$radiusY]: core.int + [S$3.$radiusX]: core.int, + [S$3.$radiusY]: core.int })); -dart.setLibraryUri(html$.Touch, I[148]); +dart.setLibraryUri(html$.Touch, I[150]); dart.registerExtension("Touch", html$.Touch); html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.TouchEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TouchEvent._create_1(type, eventInitDict_1); } return html$.TouchEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); + return html$.TouchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TouchEvent(type, eventInitDict); } @@ -95659,7 +104569,7 @@ html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { get [S$1.$altKey]() { return this.altKey; } - get [S$2.$changedTouches]() { + get [S$3.$changedTouches]() { return this.changedTouches; } get [S$1.$ctrlKey]() { @@ -95691,29 +104601,34 @@ html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { }; dart.addTypeTests(html$.TouchEvent); dart.addTypeCaches(html$.TouchEvent); +dart.setStaticMethodSignature(html$.TouchEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TouchEvent, () => ({ __proto__: dart.getGetters(html$.TouchEvent.__proto__), [S$1.$altKey]: dart.nullable(core.bool), - [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$3.$changedTouches]: dart.nullable(html$.TouchList), [S$1.$ctrlKey]: dart.nullable(core.bool), [S$1.$metaKey]: dart.nullable(core.bool), [S$1.$shiftKey]: dart.nullable(core.bool), [S$3.$targetTouches]: dart.nullable(html$.TouchList), [S$3.$touches]: dart.nullable(html$.TouchList) })); -dart.setLibraryUri(html$.TouchEvent, I[148]); +dart.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); +dart.setLibraryUri(html$.TouchEvent, I[150]); dart.registerExtension("TouchEvent", html$.TouchEvent); -const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$7.new = function() { - Interceptor_ListMixin$36$7.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$7.prototype; -dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); -const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; -(Interceptor_ImmutableListMixin$36$7.new = function() { - Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$7.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); -html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { +const JavaScriptObject_ListMixin$36$7 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$7.new = function() { + JavaScriptObject_ListMixin$36$7.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$7.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$7, collection.ListMixin$(html$.Touch)); +const JavaScriptObject_ImmutableListMixin$36$7 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$7 {}; +(JavaScriptObject_ImmutableListMixin$36$7.new = function() { + JavaScriptObject_ImmutableListMixin$36$7.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$7.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); +html$.TouchList = class TouchList extends JavaScriptObject_ImmutableListMixin$36$7 { + static ['_#_#tearOff']() { + return html$.TouchList.__(); + } static get supported() { return !!document.createTouchList; } @@ -95721,20 +104636,20 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30586, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30592, 25, "index"); html$.Touch.as(value); - if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + if (value == null) dart.nullFailed(I[149], 30592, 38, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30598, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95765,7 +104680,7 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + if (index == null) dart.nullFailed(I[149], 30626, 23, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -95775,13 +104690,14 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { html$.TouchList.prototype[dart.isList] = true; dart.addTypeTests(html$.TouchList); dart.addTypeCaches(html$.TouchList); -html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; +html$.TouchList[dart.implements] = () => [core.List$(html$.Touch), _js_helper.JavaScriptIndexingBehavior$(html$.Touch)]; dart.setMethodSignature(html$.TouchList, () => ({ __proto__: dart.getMethods(html$.TouchList.__proto__), [$_get]: dart.fnType(html$.Touch, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) })); +dart.setStaticMethodSignature(html$.TouchList, () => ['__']); dart.setGetterSignature(html$.TouchList, () => ({ __proto__: dart.getGetters(html$.TouchList.__proto__), [$length]: core.int @@ -95790,14 +104706,18 @@ dart.setSetterSignature(html$.TouchList, () => ({ __proto__: dart.getSetters(html$.TouchList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TouchList, I[148]); +dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); +dart.setLibraryUri(html$.TouchList, I[150]); dart.registerExtension("TouchList", html$.TouchList); -html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { +html$.TrackDefault = class TrackDefault$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefault.__(); + } static new(type, language, label, kinds, byteStreamTrackID = null) { - if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); - if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); - if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); - if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); if (byteStreamTrackID != null) { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); @@ -95805,6 +104725,13 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_2(type, language, label, kinds_1); } + static ['_#new#tearOff'](type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); + return html$.TrackDefault.new(type, language, label, kinds, byteStreamTrackID); + } static _create_1(type, language, label, kinds, byteStreamTrackID) { return new TrackDefault(type, language, label, kinds, byteStreamTrackID); } @@ -95820,7 +104747,7 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$type]() { @@ -95829,23 +104756,30 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.TrackDefault); dart.addTypeCaches(html$.TrackDefault); +dart.setStaticMethodSignature(html$.TrackDefault, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefault, () => ({ __proto__: dart.getGetters(html$.TrackDefault.__proto__), [S$3.$byteStreamTrackID]: dart.nullable(core.String), [S$3.$kinds]: dart.nullable(core.Object), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TrackDefault, I[148]); +dart.setLibraryUri(html$.TrackDefault, I[150]); dart.registerExtension("TrackDefault", html$.TrackDefault); -html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { +html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefaultList.__(); + } static new(trackDefaults = null) { if (trackDefaults != null) { return html$.TrackDefaultList._create_1(trackDefaults); } return html$.TrackDefaultList._create_2(); } + static ['_#new#tearOff'](trackDefaults = null) { + return html$.TrackDefaultList.new(trackDefaults); + } static _create_1(trackDefaults) { return new TrackDefaultList(trackDefaults); } @@ -95865,16 +104799,26 @@ dart.setMethodSignature(html$.TrackDefaultList, () => ({ __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) })); +dart.setStaticMethodSignature(html$.TrackDefaultList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefaultList, () => ({ __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.TrackDefaultList, I[148]); +dart.setLibraryUri(html$.TrackDefaultList, I[150]); dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); html$.TrackElement = class TrackElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TrackElement.__(); + } static new() { return html$.TrackElement.as(html$.document[S.$createElement]("track")); } + static ['_#new#tearOff']() { + return html$.TrackElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TrackElement.created(); + } static get supported() { return html$.Element.isTagSupported("track"); } @@ -95921,6 +104865,7 @@ html$.TrackElement = class TrackElement extends html$.HtmlElement { }).prototype = html$.TrackElement.prototype; dart.addTypeTests(html$.TrackElement); dart.addTypeCaches(html$.TrackElement); +dart.setStaticMethodSignature(html$.TrackElement, () => ['__', 'new']); dart.setGetterSignature(html$.TrackElement, () => ({ __proto__: dart.getGetters(html$.TrackElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -95939,7 +104884,9 @@ dart.setSetterSignature(html$.TrackElement, () => ({ [S$.$src]: dart.nullable(core.String), [S$3.$srclang]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TrackElement, I[148]); +dart.setStaticGetterSignature(html$.TrackElement, () => ['supported']); +dart.setLibraryUri(html$.TrackElement, I[150]); +dart.setStaticFieldSignature(html$.TrackElement, () => ['ERROR', 'LOADED', 'LOADING', 'NONE']); dart.defineLazy(html$.TrackElement, { /*html$.TrackElement.ERROR*/get ERROR() { return 3; @@ -95956,14 +104903,21 @@ dart.defineLazy(html$.TrackElement, { }, false); dart.registerExtension("HTMLTrackElement", html$.TrackElement); html$.TrackEvent = class TrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TrackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TrackEvent._create_1(type, eventInitDict_1); } return html$.TrackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); + return html$.TrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TrackEvent(type, eventInitDict); } @@ -95976,21 +104930,29 @@ html$.TrackEvent = class TrackEvent$ extends html$.Event { }; dart.addTypeTests(html$.TrackEvent); dart.addTypeCaches(html$.TrackEvent); +dart.setStaticMethodSignature(html$.TrackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackEvent, () => ({ __proto__: dart.getGetters(html$.TrackEvent.__proto__), [S$1.$track]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.TrackEvent, I[148]); +dart.setLibraryUri(html$.TrackEvent, I[150]); dart.registerExtension("TrackEvent", html$.TrackEvent); html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TransitionEvent._create_1(type, eventInitDict_1); } return html$.TransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); + return html$.TransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TransitionEvent(type, eventInitDict); } @@ -96009,21 +104971,30 @@ html$.TransitionEvent = class TransitionEvent$ extends html$.Event { }; dart.addTypeTests(html$.TransitionEvent); dart.addTypeCaches(html$.TransitionEvent); +dart.setStaticMethodSignature(html$.TransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TransitionEvent, () => ({ __proto__: dart.getGetters(html$.TransitionEvent.__proto__), [S$.$elapsedTime]: dart.nullable(core.num), [S$3.$propertyName]: dart.nullable(core.String), [S$3.$pseudoElement]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TransitionEvent, I[148]); +dart.setLibraryUri(html$.TransitionEvent, I[150]); dart.registerExtension("TransitionEvent", html$.TransitionEvent); dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); -html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { +html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); return html$.document[S$1._createTreeWalker](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); + return html$.TreeWalker.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.TreeWalker.__(); + } get [S$3.$currentNode]() { return this.currentNode; } @@ -96048,7 +105019,7 @@ html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { [S.$nextNode](...args) { return this.nextNode.apply(this, args); } - [S$1.$nextSibling](...args) { + [S$2.$nextSibling](...args) { return this.nextSibling.apply(this, args); } [S$.$parentNode](...args) { @@ -96057,7 +105028,7 @@ html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { [S$.$previousNode](...args) { return this.previousNode.apply(this, args); } - [S$1.$previousSibling](...args) { + [S$2.$previousSibling](...args) { return this.previousSibling.apply(this, args); } }; @@ -96068,11 +105039,12 @@ dart.setMethodSignature(html$.TreeWalker, () => ({ [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$2.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) + [S$2.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) })); +dart.setStaticMethodSignature(html$.TreeWalker, () => ['new', '__']); dart.setGetterSignature(html$.TreeWalker, () => ({ __proto__: dart.getGetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node, @@ -96084,27 +105056,51 @@ dart.setSetterSignature(html$.TreeWalker, () => ({ __proto__: dart.getSetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node })); -dart.setLibraryUri(html$.TreeWalker, I[148]); +dart.setLibraryUri(html$.TreeWalker, I[150]); dart.registerExtension("TreeWalker", html$.TreeWalker); -html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; +html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedHtml.__(); + } +}; dart.addTypeTests(html$.TrustedHtml); dart.addTypeCaches(html$.TrustedHtml); -dart.setLibraryUri(html$.TrustedHtml, I[148]); +dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedHtml, I[150]); dart.registerExtension("TrustedHTML", html$.TrustedHtml); -html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; +html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedScriptUrl.__(); + } +}; dart.addTypeTests(html$.TrustedScriptUrl); dart.addTypeCaches(html$.TrustedScriptUrl); -dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); +dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); -html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; +html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedUrl.__(); + } +}; dart.addTypeTests(html$.TrustedUrl); dart.addTypeCaches(html$.TrustedUrl); -dart.setLibraryUri(html$.TrustedUrl, I[148]); +dart.setStaticMethodSignature(html$.TrustedUrl, () => ['__', 'create', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedUrl, I[150]); dart.registerExtension("TrustedURL", html$.TrustedUrl); html$.UListElement = class UListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UListElement.__(); + } static new() { return html$.document.createElement("ul"); } + static ['_#new#tearOff']() { + return html$.UListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.UListElement.created(); + } }; (html$.UListElement.created = function() { html$.UListElement.__proto__.created.call(this); @@ -96112,9 +105108,13 @@ html$.UListElement = class UListElement extends html$.HtmlElement { }).prototype = html$.UListElement.prototype; dart.addTypeTests(html$.UListElement); dart.addTypeCaches(html$.UListElement); -dart.setLibraryUri(html$.UListElement, I[148]); +dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); +dart.setLibraryUri(html$.UListElement, I[150]); dart.registerExtension("HTMLUListElement", html$.UListElement); -html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { +html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UnderlyingSourceBase.__(); + } [S$.$cancel](reason) { return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); } @@ -96128,7 +105128,7 @@ html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.In return js_util.promiseToFuture(dart.dynamic, this.pull()); } [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); return js_util.promiseToFuture(dart.dynamic, this.start(stream)); } }; @@ -96142,40 +105142,52 @@ dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ [S$3.$pull]: dart.fnType(async.Future, []), [S$.$start]: dart.fnType(async.Future, [core.Object]) })); -dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); +dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); +dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); -html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; +html$.UnknownElement = class UnknownElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UnknownElement.__(); + } + static ['_#created#tearOff']() { + return new html$.UnknownElement.created(); + } +}; (html$.UnknownElement.created = function() { html$.UnknownElement.__proto__.created.call(this); ; }).prototype = html$.UnknownElement.prototype; dart.addTypeTests(html$.UnknownElement); dart.addTypeCaches(html$.UnknownElement); -dart.setLibraryUri(html$.UnknownElement, I[148]); +dart.setStaticMethodSignature(html$.UnknownElement, () => ['__']); +dart.setLibraryUri(html$.UnknownElement, I[150]); dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); -html$.Url = class Url extends _interceptors.Interceptor { +html$.Url = class Url extends _interceptors.JavaScriptObject { static createObjectUrl(blob_OR_source_OR_stream) { return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); } static createObjectUrlFromSource(source) { - if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + if (source == null) dart.nullFailed(I[149], 31028, 55, "source"); return (self.URL || self.webkitURL).createObjectURL(source); } static createObjectUrlFromStream(stream) { - if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + if (stream == null) dart.nullFailed(I[149], 31031, 55, "stream"); return (self.URL || self.webkitURL).createObjectURL(stream); } static createObjectUrlFromBlob(blob) { - if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + if (blob == null) dart.nullFailed(I[149], 31034, 46, "blob"); return (self.URL || self.webkitURL).createObjectURL(blob); } static revokeObjectUrl(url) { - if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + if (url == null) dart.nullFailed(I[149], 31037, 38, "url"); return (self.URL || self.webkitURL).revokeObjectURL(url); } [$toString]() { return String(this); } + static ['_#_#tearOff']() { + return html$.Url.__(); + } get [S$.$hash]() { return this.hash; } @@ -96245,6 +105257,7 @@ html$.Url = class Url extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Url); dart.addTypeCaches(html$.Url); +dart.setStaticMethodSignature(html$.Url, () => ['createObjectUrl', 'createObjectUrlFromSource', 'createObjectUrlFromStream', 'createObjectUrlFromBlob', 'revokeObjectUrl', '__']); dart.setGetterSignature(html$.Url, () => ({ __proto__: dart.getGetters(html$.Url.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -96273,15 +105286,21 @@ dart.setSetterSignature(html$.Url, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Url, I[148]); +dart.setLibraryUri(html$.Url, I[150]); dart.registerExtension("URL", html$.Url); -html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { +html$.UrlSearchParams = class UrlSearchParams extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlSearchParams.__(); + } static new(init = null) { if (init != null) { return html$.UrlSearchParams._create_1(init); } return html$.UrlSearchParams._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.UrlSearchParams.new(init); + } static _create_1(init) { return new URLSearchParams(init); } @@ -96322,9 +105341,13 @@ dart.setMethodSignature(html$.UrlSearchParams, () => ({ [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), [$sort]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.UrlSearchParams, I[148]); +dart.setStaticMethodSignature(html$.UrlSearchParams, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.UrlSearchParams, I[150]); dart.registerExtension("URLSearchParams", html$.UrlSearchParams); -html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { +html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlUtilsReadOnly.__(); + } get hash() { return this.hash; } @@ -96355,6 +105378,7 @@ html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Intercepto }; dart.addTypeTests(html$.UrlUtilsReadOnly); dart.addTypeCaches(html$.UrlUtilsReadOnly); +dart.setStaticMethodSignature(html$.UrlUtilsReadOnly, () => ['__']); dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), hash: dart.nullable(core.String), @@ -96376,7 +105400,7 @@ dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ search: dart.nullable(core.String), [S$.$search]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); +dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ 'hash', 'host', @@ -96389,6 +105413,9 @@ dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ 'search' ]); html$.VR = class VR extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VR.__(); + } [S$3.$getDevices]() { return js_util.promiseToFuture(dart.dynamic, this.getDevices()); } @@ -96399,9 +105426,13 @@ dart.setMethodSignature(html$.VR, () => ({ __proto__: dart.getMethods(html$.VR.__proto__), [S$3.$getDevices]: dart.fnType(async.Future, []) })); -dart.setLibraryUri(html$.VR, I[148]); +dart.setStaticMethodSignature(html$.VR, () => ['__']); +dart.setLibraryUri(html$.VR, I[150]); dart.registerExtension("VR", html$.VR); -html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { +html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRCoordinateSystem.__(); + } [S$3.$getTransformTo](...args) { return this.getTransformTo.apply(this, args); } @@ -96412,9 +105443,13 @@ dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) })); -dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); +dart.setStaticMethodSignature(html$.VRCoordinateSystem, () => ['__']); +dart.setLibraryUri(html$.VRCoordinateSystem, I[150]); dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); html$.VRDevice = class VRDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDevice.__(); + } get [S$3.$deviceName]() { return this.deviceName; } @@ -96443,20 +105478,29 @@ dart.setMethodSignature(html$.VRDevice, () => ({ [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.VRDevice, () => ['__']); dart.setGetterSignature(html$.VRDevice, () => ({ __proto__: dart.getGetters(html$.VRDevice.__proto__), [S$3.$deviceName]: dart.nullable(core.String), [S$3.$isExternal]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.VRDevice, I[148]); +dart.setLibraryUri(html$.VRDevice, I[150]); dart.registerExtension("VRDevice", html$.VRDevice); html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDeviceEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDeviceEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); + return html$.VRDeviceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDeviceEvent(type, eventInitDict); } @@ -96466,13 +105510,17 @@ html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRDeviceEvent); dart.addTypeCaches(html$.VRDeviceEvent); +dart.setStaticMethodSignature(html$.VRDeviceEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRDeviceEvent, () => ({ __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), [S$3.$device]: dart.nullable(html$.VRDevice) })); -dart.setLibraryUri(html$.VRDeviceEvent, I[148]); +dart.setLibraryUri(html$.VRDeviceEvent, I[150]); dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); html$.VRDisplay = class VRDisplay extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDisplay.__(); + } get [S$3.$capabilities]() { return this.capabilities; } @@ -96519,7 +105567,7 @@ html$.VRDisplay = class VRDisplay extends html$.EventTarget { return this.requestAnimationFrame.apply(this, args); } [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); } [S$3.$submitFrame](...args) { @@ -96539,6 +105587,7 @@ dart.setMethodSignature(html$.VRDisplay, () => ({ [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), [S$3.$submitFrame]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.VRDisplay, () => ['__']); dart.setGetterSignature(html$.VRDisplay, () => ({ __proto__: dart.getGetters(html$.VRDisplay.__proto__), [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), @@ -96554,9 +105603,12 @@ dart.setSetterSignature(html$.VRDisplay, () => ({ [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRDisplay, I[148]); +dart.setLibraryUri(html$.VRDisplay, I[150]); dart.registerExtension("VRDisplay", html$.VRDisplay); -html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { +html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRDisplayCapabilities.__(); + } get [S$3.$canPresent]() { return this.canPresent; } @@ -96572,6 +105624,7 @@ html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors. }; dart.addTypeTests(html$.VRDisplayCapabilities); dart.addTypeCaches(html$.VRDisplayCapabilities); +dart.setStaticMethodSignature(html$.VRDisplayCapabilities, () => ['__']); dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), [S$3.$canPresent]: dart.nullable(core.bool), @@ -96579,17 +105632,24 @@ dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ [S$1.$hasPosition]: dart.nullable(core.bool), [S$3.$maxLayers]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); +dart.setLibraryUri(html$.VRDisplayCapabilities, I[150]); dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDisplayEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDisplayEvent._create_1(type, eventInitDict_1); } return html$.VRDisplayEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); + return html$.VRDisplayEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDisplayEvent(type, eventInitDict); } @@ -96605,14 +105665,18 @@ html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRDisplayEvent); dart.addTypeCaches(html$.VRDisplayEvent); +dart.setStaticMethodSignature(html$.VRDisplayEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.VRDisplayEvent, () => ({ __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), [S$0.$display]: dart.nullable(html$.VRDisplay), [S$.$reason]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.VRDisplayEvent, I[148]); +dart.setLibraryUri(html$.VRDisplayEvent, I[150]); dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); -html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { +html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VREyeParameters.__(); + } get [S.$offset]() { return this.offset; } @@ -96625,18 +105689,25 @@ html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor }; dart.addTypeTests(html$.VREyeParameters); dart.addTypeCaches(html$.VREyeParameters); +dart.setStaticMethodSignature(html$.VREyeParameters, () => ['__']); dart.setGetterSignature(html$.VREyeParameters, () => ({ __proto__: dart.getGetters(html$.VREyeParameters.__proto__), [S.$offset]: dart.nullable(typed_data.Float32List), [S$3.$renderHeight]: dart.nullable(core.int), [S$3.$renderWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VREyeParameters, I[148]); +dart.setLibraryUri(html$.VREyeParameters, I[150]); dart.registerExtension("VREyeParameters", html$.VREyeParameters); -html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { +html$.VRFrameData = class VRFrameData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRFrameData.__(); + } static new() { return html$.VRFrameData._create_1(); } + static ['_#new#tearOff']() { + return html$.VRFrameData.new(); + } static _create_1() { return new VRFrameData(); } @@ -96658,6 +105729,7 @@ html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VRFrameData); dart.addTypeCaches(html$.VRFrameData); +dart.setStaticMethodSignature(html$.VRFrameData, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRFrameData, () => ({ __proto__: dart.getGetters(html$.VRFrameData.__proto__), [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), @@ -96666,9 +105738,12 @@ dart.setGetterSignature(html$.VRFrameData, () => ({ [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.VRFrameData, I[148]); +dart.setLibraryUri(html$.VRFrameData, I[150]); dart.registerExtension("VRFrameData", html$.VRFrameData); html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + static ['_#_#tearOff']() { + return html$.VRFrameOfReference.__(); + } get [S$3.$bounds]() { return this.bounds; } @@ -96678,14 +105753,18 @@ html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSy }; dart.addTypeTests(html$.VRFrameOfReference); dart.addTypeCaches(html$.VRFrameOfReference); +dart.setStaticMethodSignature(html$.VRFrameOfReference, () => ['__']); dart.setGetterSignature(html$.VRFrameOfReference, () => ({ __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), [S$3.$bounds]: dart.nullable(html$.VRStageBounds), [S$3.$emulatedHeight]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRFrameOfReference, I[148]); +dart.setLibraryUri(html$.VRFrameOfReference, I[150]); dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); -html$.VRPose = class VRPose extends _interceptors.Interceptor { +html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -96707,6 +105786,7 @@ html$.VRPose = class VRPose extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VRPose); dart.addTypeCaches(html$.VRPose); +dart.setStaticMethodSignature(html$.VRPose, () => ['__']); dart.setGetterSignature(html$.VRPose, () => ({ __proto__: dart.getGetters(html$.VRPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -96716,9 +105796,12 @@ dart.setGetterSignature(html$.VRPose, () => ({ [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.VRPose, I[148]); +dart.setLibraryUri(html$.VRPose, I[150]); dart.registerExtension("VRPose", html$.VRPose); html$.VRSession = class VRSession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRSession.__(); + } get [S$3.$depthFar]() { return this.depthFar; } @@ -96737,11 +105820,11 @@ html$.VRSession = class VRSession extends html$.EventTarget { get [S$3.$exclusive]() { return this.exclusive; } - [S$2.$end]() { + [S$3.$end]() { return js_util.promiseToFuture(dart.dynamic, this.end()); } [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -96759,9 +105842,10 @@ dart.addTypeTests(html$.VRSession); dart.addTypeCaches(html$.VRSession); dart.setMethodSignature(html$.VRSession, () => ({ __proto__: dart.getMethods(html$.VRSession.__proto__), - [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$end]: dart.fnType(async.Future, []), [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.VRSession, () => ['__']); dart.setGetterSignature(html$.VRSession, () => ({ __proto__: dart.getGetters(html$.VRSession.__proto__), [S$3.$depthFar]: dart.nullable(core.num), @@ -96776,23 +105860,32 @@ dart.setSetterSignature(html$.VRSession, () => ({ [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRSession, I[148]); +dart.setLibraryUri(html$.VRSession, I[150]); +dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); dart.defineLazy(html$.VRSession, { /*html$.VRSession.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.VRSession.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; } }, false); dart.registerExtension("VRSession", html$.VRSession); html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRSessionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRSessionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); + return html$.VRSessionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRSessionEvent(type, eventInitDict); } @@ -96802,26 +105895,34 @@ html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRSessionEvent); dart.addTypeCaches(html$.VRSessionEvent); +dart.setStaticMethodSignature(html$.VRSessionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRSessionEvent, () => ({ __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), [S$3.$session]: dart.nullable(html$.VRSession) })); -dart.setLibraryUri(html$.VRSessionEvent, I[148]); +dart.setLibraryUri(html$.VRSessionEvent, I[150]); dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); -html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { +html$.VRStageBounds = class VRStageBounds extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBounds.__(); + } get [S$3.$geometry]() { return this.geometry; } }; dart.addTypeTests(html$.VRStageBounds); dart.addTypeCaches(html$.VRStageBounds); +dart.setStaticMethodSignature(html$.VRStageBounds, () => ['__']); dart.setGetterSignature(html$.VRStageBounds, () => ({ __proto__: dart.getGetters(html$.VRStageBounds.__proto__), [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) })); -dart.setLibraryUri(html$.VRStageBounds, I[148]); +dart.setLibraryUri(html$.VRStageBounds, I[150]); dart.registerExtension("VRStageBounds", html$.VRStageBounds); -html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { +html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBoundsPoint.__(); + } get [S$.$x]() { return this.x; } @@ -96831,14 +105932,18 @@ html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interc }; dart.addTypeTests(html$.VRStageBoundsPoint); dart.addTypeCaches(html$.VRStageBoundsPoint); +dart.setStaticMethodSignature(html$.VRStageBoundsPoint, () => ['__']); dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); +dart.setLibraryUri(html$.VRStageBoundsPoint, I[150]); dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); -html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { +html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageParameters.__(); + } get [S$3.$sittingToStandingTransform]() { return this.sittingToStandingTransform; } @@ -96851,15 +105956,19 @@ html$.VRStageParameters = class VRStageParameters extends _interceptors.Intercep }; dart.addTypeTests(html$.VRStageParameters); dart.addTypeCaches(html$.VRStageParameters); +dart.setStaticMethodSignature(html$.VRStageParameters, () => ['__']); dart.setGetterSignature(html$.VRStageParameters, () => ({ __proto__: dart.getGetters(html$.VRStageParameters.__proto__), [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), [S$3.$sizeX]: dart.nullable(core.num), [S$3.$sizeZ]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRStageParameters, I[148]); +dart.setLibraryUri(html$.VRStageParameters, I[150]); dart.registerExtension("VRStageParameters", html$.VRStageParameters); -html$.ValidityState = class ValidityState extends _interceptors.Interceptor { +html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ValidityState.__(); + } get [S$3.$badInput]() { return this.badInput; } @@ -96896,6 +106005,7 @@ html$.ValidityState = class ValidityState extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ValidityState); dart.addTypeCaches(html$.ValidityState); +dart.setStaticMethodSignature(html$.ValidityState, () => ['__']); dart.setGetterSignature(html$.ValidityState, () => ({ __proto__: dart.getGetters(html$.ValidityState.__proto__), [S$3.$badInput]: dart.nullable(core.bool), @@ -96910,12 +106020,21 @@ dart.setGetterSignature(html$.ValidityState, () => ({ [S$3.$valid]: dart.nullable(core.bool), [S$3.$valueMissing]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.ValidityState, I[148]); +dart.setLibraryUri(html$.ValidityState, I[150]); dart.registerExtension("ValidityState", html$.ValidityState); html$.VideoElement = class VideoElement extends html$.MediaElement { + static ['_#_#tearOff']() { + return html$.VideoElement.__(); + } static new() { return html$.document.createElement("video"); } + static ['_#new#tearOff']() { + return html$.VideoElement.new(); + } + static ['_#created#tearOff']() { + return new html$.VideoElement.created(); + } get [$height]() { return this.height; } @@ -96969,6 +106088,7 @@ dart.setMethodSignature(html$.VideoElement, () => ({ [S$3.$enterFullscreen]: dart.fnType(dart.void, []), [S$1.$exitFullscreen]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.VideoElement, () => ['__', 'new']); dart.setGetterSignature(html$.VideoElement, () => ({ __proto__: dart.getGetters(html$.VideoElement.__proto__), [$height]: core.int, @@ -96985,9 +106105,12 @@ dart.setSetterSignature(html$.VideoElement, () => ({ [S$3.$poster]: core.String, [$width]: core.int })); -dart.setLibraryUri(html$.VideoElement, I[148]); +dart.setLibraryUri(html$.VideoElement, I[150]); dart.registerExtension("HTMLVideoElement", html$.VideoElement); -html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { +html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoPlaybackQuality.__(); + } get [S$3.$corruptedVideoFrames]() { return this.corruptedVideoFrames; } @@ -97003,6 +106126,7 @@ html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.In }; dart.addTypeTests(html$.VideoPlaybackQuality); dart.addTypeCaches(html$.VideoPlaybackQuality); +dart.setStaticMethodSignature(html$.VideoPlaybackQuality, () => ['__']); dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), [S$3.$corruptedVideoFrames]: dart.nullable(core.int), @@ -97010,9 +106134,12 @@ dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ [S$3.$droppedVideoFrames]: dart.nullable(core.int), [S$3.$totalVideoFrames]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); +dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); -html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { +html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoTrack.__(); + } get [S.$id]() { return this.id; } @@ -97022,7 +106149,7 @@ html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$.$selected]() { @@ -97037,12 +106164,13 @@ html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VideoTrack); dart.addTypeCaches(html$.VideoTrack); +dart.setStaticMethodSignature(html$.VideoTrack, () => ['__']); dart.setGetterSignature(html$.VideoTrack, () => ({ __proto__: dart.getGetters(html$.VideoTrack.__proto__), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$.$selected]: dart.nullable(core.bool), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); @@ -97050,9 +106178,12 @@ dart.setSetterSignature(html$.VideoTrack, () => ({ __proto__: dart.getSetters(html$.VideoTrack.__proto__), [S$.$selected]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.VideoTrack, I[148]); +dart.setLibraryUri(html$.VideoTrack, I[150]); dart.registerExtension("VideoTrack", html$.VideoTrack); html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VideoTrackList.__(); + } get [$length]() { return this.length; } @@ -97076,20 +106207,25 @@ dart.setMethodSignature(html$.VideoTrackList, () => ({ [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) })); +dart.setStaticMethodSignature(html$.VideoTrackList, () => ['__']); dart.setGetterSignature(html$.VideoTrackList, () => ({ __proto__: dart.getGetters(html$.VideoTrackList.__proto__), [$length]: dart.nullable(core.int), [S$2.$selectedIndex]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.VideoTrackList, I[148]); +dart.setLibraryUri(html$.VideoTrackList, I[150]); +dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); dart.defineLazy(html$.VideoTrackList, { /*html$.VideoTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("VideoTrackList", html$.VideoTrackList); html$.VisualViewport = class VisualViewport extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VisualViewport.__(); + } get [$height]() { return this.height; } @@ -97111,15 +106247,16 @@ html$.VisualViewport = class VisualViewport extends html$.EventTarget { get [$width]() { return this.width; } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.VisualViewport.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.VisualViewport.scrollEvent.forTarget(this); } }; dart.addTypeTests(html$.VisualViewport); dart.addTypeCaches(html$.VisualViewport); +dart.setStaticMethodSignature(html$.VisualViewport, () => ['__']); dart.setGetterSignature(html$.VisualViewport, () => ({ __proto__: dart.getGetters(html$.VisualViewport.__proto__), [$height]: dart.nullable(core.num), @@ -97129,26 +106266,36 @@ dart.setGetterSignature(html$.VisualViewport, () => ({ [S$3.$pageTop]: dart.nullable(core.num), [S$.$scale]: dart.nullable(core.num), [$width]: dart.nullable(core.num), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event) + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.VisualViewport, I[148]); +dart.setLibraryUri(html$.VisualViewport, I[150]); +dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); dart.defineLazy(html$.VisualViewport, { /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; } }, false); dart.registerExtension("VisualViewport", html$.VisualViewport); html$.VttCue = class VttCue extends html$.TextTrackCue { + static ['_#_#tearOff']() { + return html$.VttCue.__(); + } static new(startTime, endTime, text) { - if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); - if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); - if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); return html$.VttCue._create_1(startTime, endTime, text); } + static ['_#new#tearOff'](startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); + return html$.VttCue.new(startTime, endTime, text); + } static _create_1(startTime, endTime, text) { return new VTTCue(startTime, endTime, text); } @@ -97210,6 +106357,7 @@ dart.setMethodSignature(html$.VttCue, () => ({ __proto__: dart.getMethods(html$.VttCue.__proto__), [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) })); +dart.setStaticMethodSignature(html$.VttCue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttCue, () => ({ __proto__: dart.getGetters(html$.VttCue.__proto__), [S$3.$align]: dart.nullable(core.String), @@ -97232,12 +106380,18 @@ dart.setSetterSignature(html$.VttCue, () => ({ [S.$text]: dart.nullable(core.String), [S$3.$vertical]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.VttCue, I[148]); +dart.setLibraryUri(html$.VttCue, I[150]); dart.registerExtension("VTTCue", html$.VttCue); -html$.VttRegion = class VttRegion extends _interceptors.Interceptor { +html$.VttRegion = class VttRegion extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VttRegion.__(); + } static new() { return html$.VttRegion._create_1(); } + static ['_#new#tearOff']() { + return html$.VttRegion.new(); + } static _create_1() { return new VTTRegion(); } @@ -97292,6 +106446,7 @@ html$.VttRegion = class VttRegion extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VttRegion); dart.addTypeCaches(html$.VttRegion); +dart.setStaticMethodSignature(html$.VttRegion, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttRegion, () => ({ __proto__: dart.getGetters(html$.VttRegion.__proto__), [S.$id]: dart.nullable(core.String), @@ -97314,16 +106469,23 @@ dart.setSetterSignature(html$.VttRegion, () => ({ [S$3.$viewportAnchorY]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VttRegion, I[148]); +dart.setLibraryUri(html$.VttRegion, I[150]); dart.registerExtension("VTTRegion", html$.VttRegion); html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WebSocket.__(); + } static new(url, protocols = null) { - if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); if (protocols != null) { return html$.WebSocket._create_1(url, protocols); } return html$.WebSocket._create_2(url); } + static ['_#new#tearOff'](url, protocols = null) { + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); + return html$.WebSocket.new(url, protocols); + } static _create_1(url, protocols) { return new WebSocket(url, protocols); } @@ -97396,6 +106558,7 @@ dart.setMethodSignature(html$.WebSocket, () => ({ [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.WebSocket, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.WebSocket, () => ({ __proto__: dart.getGetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -97413,19 +106576,21 @@ dart.setSetterSignature(html$.WebSocket, () => ({ __proto__: dart.getSetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WebSocket, I[148]); +dart.setStaticGetterSignature(html$.WebSocket, () => ['supported']); +dart.setLibraryUri(html$.WebSocket, I[150]); +dart.setStaticFieldSignature(html$.WebSocket, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CLOSING', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.WebSocket, { /*html$.WebSocket.closeEvent*/get closeEvent() { - return C[387] || CT.C387; + return C[398] || CT.C398; }, /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WebSocket.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.WebSocket.CLOSED*/get CLOSED() { return 3; @@ -97443,40 +106608,40 @@ dart.defineLazy(html$.WebSocket, { dart.registerExtension("WebSocket", html$.WebSocket); html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; - if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; - if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; - if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; - if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); if (view == null) { @@ -97484,14 +106649,56 @@ html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { } return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.WheelEvent.new(type, {view: view, deltaX: deltaX, deltaY: deltaY, deltaZ: deltaZ, deltaMode: deltaMode, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.WheelEvent._create_1(type, eventInitDict_1); } return html$.WheelEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); + return html$.WheelEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new WheelEvent(type, eventInitDict); } @@ -97552,6 +106759,7 @@ dart.setMethodSignature(html$.WheelEvent, () => ({ [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) })); +dart.setStaticMethodSignature(html$.WheelEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.WheelEvent, () => ({ __proto__: dart.getGetters(html$.WheelEvent.__proto__), [S$3._deltaX]: dart.nullable(core.num), @@ -97566,7 +106774,8 @@ dart.setGetterSignature(html$.WheelEvent, () => ({ [S$3._hasInitMouseScrollEvent]: core.bool, [S$3._hasInitWheelEvent]: core.bool })); -dart.setLibraryUri(html$.WheelEvent, I[148]); +dart.setLibraryUri(html$.WheelEvent, I[150]); +dart.setStaticFieldSignature(html$.WheelEvent, () => ['DOM_DELTA_LINE', 'DOM_DELTA_PAGE', 'DOM_DELTA_PIXEL']); dart.defineLazy(html$.WheelEvent, { /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { return 1; @@ -97583,7 +106792,7 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$animationFrame]() { let completer = T$0.CompleterOfnum().sync(); this[S$3.$requestAnimationFrame](dart.fn(time => { - if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + if (time == null) dart.nullFailed(I[149], 32233, 28, "time"); completer.complete(time); }, T$0.numTovoid())); return completer.future; @@ -97598,8 +106807,8 @@ html$.Window = class Window extends html$.EventTarget { return this.open(url, name, options); } [S.$open](url, name, options = null) { - if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); - if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (url == null) dart.nullFailed(I[149], 32264, 26, "url"); + if (name == null) dart.nullFailed(I[149], 32264, 38, "name"); if (options == null) { return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); } else { @@ -97610,7 +106819,7 @@ html$.Window = class Window extends html$.EventTarget { return html$.Location.as(this[S$3._location]); } set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); this[S$3._location] = value; } get [S$3._location]() { @@ -97620,12 +106829,12 @@ html$.Window = class Window extends html$.EventTarget { this.location = value; } [S$3.$requestAnimationFrame](callback) { - if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + if (callback == null) dart.nullFailed(I[149], 32313, 50, "callback"); this[S$3._ensureRequestAnimationFrame](); return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); } [S$3.$cancelAnimationFrame](id) { - if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + if (id == null) dart.nullFailed(I[149], 32326, 33, "id"); this[S$3._ensureRequestAnimationFrame](); this[S$3._cancelAnimationFrame](id); } @@ -97661,14 +106870,17 @@ html$.Window = class Window extends html$.EventTarget { return html$.Console._safeConsole; } [S$3.$requestFileSystem](size, opts) { - if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + if (size == null) dart.nullFailed(I[149], 32394, 44, "size"); let persistent = opts && 'persistent' in opts ? opts.persistent : false; - if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + if (persistent == null) dart.nullFailed(I[149], 32394, 56, "persistent"); return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); } static get supportsPointConversions() { return html$.DomPoint.supported; } + static ['_#_#tearOff']() { + return html$.Window.__(); + } get [S$3.$animationWorklet]() { return this.animationWorklet; } @@ -97834,10 +107046,10 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$visualViewport]() { return this.visualViewport; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.window; } [S$.__getter__](index_OR_name) { @@ -97895,14 +107107,11 @@ html$.Window = class Window extends html$.EventTarget { [S$3.$moveBy](...args) { return this.moveBy.apply(this, args); } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } - [S$3._openDatabase](...args) { - return this.openDatabase.apply(this, args); - } [S$.$postMessage](message, targetOrigin, transfer = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 33158, 44, "targetOrigin"); if (transfer != null) { let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); this[S$0._postMessage_1](message_1, targetOrigin, transfer); @@ -97922,7 +107131,7 @@ html$.Window = class Window extends html$.EventTarget { return this.print.apply(this, args); } [S$3.$requestIdleCallback](callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (callback == null) dart.nullFailed(I[149], 33185, 47, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -98070,16 +107279,21 @@ html$.Window = class Window extends html$.EventTarget { return this.webkitRequestFileSystem.apply(this, args); } [S$3._requestFileSystem](type, size) { - if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); - if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + if (type == null) dart.nullFailed(I[149], 33518, 45, "type"); + if (size == null) dart.nullFailed(I[149], 33518, 55, "size"); let completer = T$0.CompleterOfFileSystem().new(); this[S$3.__requestFileSystem](type, size, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33520, 38, "value"); _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("WebKitFileSystem", value); + _js_helper.applyExtension("webkitFileSystem", value); + _js_helper.applyExtension("FileSystem", value); _js_helper.applyExtension("DirectoryEntry", value.root); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", value.root); + _js_helper.applyExtension("FileSystemDirectoryEntry", value.root); completer.complete(value); }, T$0.FileSystemTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33529, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98088,13 +107302,13 @@ html$.Window = class Window extends html$.EventTarget { return this.webkitResolveLocalFileSystemURL.apply(this, args); } [S$3.$resolveLocalFileSystemUrl](url) { - if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + if (url == null) dart.nullFailed(I[149], 33560, 50, "url"); let completer = T$0.CompleterOfEntry().new(); this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33562, 38, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98228,25 +107442,25 @@ html$.Window = class Window extends html$.EventTarget { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } get [S$.$onOffline]() { @@ -98261,13 +107475,13 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$onPageShow]() { return html$.Window.pageShowEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$.$onPopState]() { @@ -98276,37 +107490,37 @@ html$.Window = class Window extends html$.EventTarget { get [S$.$onProgress]() { return html$.Window.progressEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } get [S$.$onStorage]() { return html$.Window.storageEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -98355,21 +107569,8 @@ html$.Window = class Window extends html$.EventTarget { return html$.Element.wheelEvent.forTarget(this); } [S$.$moveTo](p) { - if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); - this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); - } - [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { - if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); - if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); - if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); - if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); - let db = null; - if (creationCallback == null) - db = this[S$3._openDatabase](name, version, displayName, estimatedSize); - else - db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); - _js_helper.applyExtension("Database", db); - return web_sql.SqlDatabase.as(db); + if (p == null) dart.nullFailed(I[149], 33846, 21, "p"); + this[S$1._moveTo](p.x[$toInt](), p.y[$toInt]()); } get [S$3.$pageXOffset]() { return this.pageXOffset[$round](); @@ -98386,7 +107587,7 @@ html$.Window = class Window extends html$.EventTarget { }; dart.addTypeTests(html$.Window); dart.addTypeCaches(html$.Window); -html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; +html$.Window[dart.implements] = () => [html$.GlobalEventHandlers, html$.WindowBase64, html$.WindowEventHandlers, html$._WindowTimers, html$.WindowBase]; dart.setMethodSignature(html$.Window, () => ({ __proto__: dart.getMethods(html$.Window.__proto__), [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), @@ -98413,8 +107614,7 @@ dart.setMethodSignature(html$.Window, () => ({ [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), - [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$1._moveTo]: dart.fnType(dart.void, [core.int, core.int]), [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), @@ -98455,9 +107655,9 @@ dart.setMethodSignature(html$.Window, () => ({ [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), - [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), - [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]) })); +dart.setStaticMethodSignature(html$.Window, () => ['__']); dart.setGetterSignature(html$.Window, () => ({ __proto__: dart.getGetters(html$.Window.__proto__), [S$3.$animationFrame]: async.Future$(core.num), @@ -98516,8 +107716,8 @@ dart.setGetterSignature(html$.Window, () => ({ [$top]: dart.nullable(html$.WindowBase), [S$3._get_top]: dart.dynamic, [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, [S$3.$onContentLoaded]: async.Stream$(html$.Event), [S.$onAbort]: async.Stream$(html$.Event), [S.$onBlur]: async.Stream$(html$.Event), @@ -98553,33 +107753,33 @@ dart.setGetterSignature(html$.Window, () => ({ [S$1.$onLoadStart]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), [S$.$onOffline]: async.Stream$(html$.Event), [S$.$onOnline]: async.Stream$(html$.Event), [S$3.$onPageHide]: async.Stream$(html$.Event), [S$3.$onPageShow]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$.$onPopState]: async.Stream$(html$.PopStateEvent), [S$.$onProgress]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), [S$.$onStorage]: async.Stream$(html$.StorageEvent), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -98610,58 +107810,60 @@ dart.setSetterSignature(html$.Window, () => ({ [S$3.$opener]: dart.nullable(html$.WindowBase), [S$.$status]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Window, I[148]); +dart.setStaticGetterSignature(html$.Window, () => ['supportsPointConversions']); +dart.setLibraryUri(html$.Window, I[150]); +dart.setStaticFieldSignature(html$.Window, () => ['contentLoadedEvent', 'deviceMotionEvent', 'deviceOrientationEvent', 'hashChangeEvent', 'loadStartEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'pageHideEvent', 'pageShowEvent', 'popStateEvent', 'progressEvent', 'storageEvent', 'unloadEvent', 'animationEndEvent', 'animationIterationEvent', 'animationStartEvent', 'PERSISTENT', 'TEMPORARY', 'beforeUnloadEvent']); dart.defineLazy(html$.Window, { /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { - return C[388] || CT.C388; + return C[399] || CT.C399; }, /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[389] || CT.C389; + return C[400] || CT.C400; }, /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[390] || CT.C390; + return C[401] || CT.C401; }, /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[391] || CT.C391; + return C[402] || CT.C402; }, /*html$.Window.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.Window.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.Window.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[392] || CT.C392; + return C[403] || CT.C403; }, /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[393] || CT.C393; + return C[404] || CT.C404; }, /*html$.Window.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.Window.progressEvent*/get progressEvent() { - return C[394] || CT.C394; + return C[405] || CT.C405; }, /*html$.Window.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.Window.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; }, /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[395] || CT.C395; + return C[406] || CT.C406; }, /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[396] || CT.C396; + return C[407] || CT.C407; }, /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[397] || CT.C397; + return C[408] || CT.C408; }, /*html$.Window.PERSISTENT*/get PERSISTENT() { return 1; @@ -98670,254 +107872,24 @@ dart.defineLazy(html$.Window, { return 0; }, /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[398] || CT.C398; + return C[409] || CT.C409; } }, false); dart.registerExtension("Window", html$.Window); dart.registerExtension("DOMWindow", html$.Window); -html$._WrappedEvent = class _WrappedEvent extends core.Object { - get wrapped() { - return this[S$3.wrapped]; - } - set wrapped(value) { - super.wrapped = value; - } - get bubbles() { - return dart.nullCheck(this.wrapped.bubbles); - } - get cancelable() { - return dart.nullCheck(this.wrapped.cancelable); - } - get composed() { - return dart.nullCheck(this.wrapped.composed); - } - get currentTarget() { - return this.wrapped[S.$currentTarget]; - } - get defaultPrevented() { - return this.wrapped.defaultPrevented; - } - get eventPhase() { - return this.wrapped.eventPhase; - } - get isTrusted() { - return dart.nullCheck(this.wrapped.isTrusted); - } - get target() { - return this.wrapped[S.$target]; - } - get timeStamp() { - return dart.nullCast(this.wrapped.timeStamp, core.double); - } - get type() { - return this.wrapped.type; - } - [S._initEvent](type, bubbles = null, cancelable = null) { - if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); - dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); - } - preventDefault() { - this.wrapped.preventDefault(); - } - stopImmediatePropagation() { - this.wrapped.stopImmediatePropagation(); - } - stopPropagation() { - this.wrapped.stopPropagation(); - } - composedPath() { - return this.wrapped.composedPath(); - } - get matchingTarget() { - if (this[S._selector] == null) { - dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); - } - let currentTarget = T$0.ElementN().as(this.currentTarget); - let target = T$0.ElementN().as(this.target); - do { - if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; - target = target[S.$parent]; - } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); - dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); - } - get path() { - return T$0.ListOfNode().as(this.wrapped[S.$path]); - } - get [S._get_currentTarget]() { - return this.wrapped[S._get_currentTarget]; - } - get [S._get_target]() { - return this.wrapped[S._get_target]; +html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WindowBase64.__(); } }; -(html$._WrappedEvent.new = function(wrapped) { - if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); - this[S._selector] = null; - this[S$3.wrapped] = wrapped; - ; -}).prototype = html$._WrappedEvent.prototype; -dart.addTypeTests(html$._WrappedEvent); -dart.addTypeCaches(html$._WrappedEvent); -html$._WrappedEvent[dart.implements] = () => [html$.Event]; -dart.setMethodSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getMethods(html$._WrappedEvent.__proto__), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - preventDefault: dart.fnType(dart.void, []), - [S.$preventDefault]: dart.fnType(dart.void, []), - stopImmediatePropagation: dart.fnType(dart.void, []), - [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), - stopPropagation: dart.fnType(dart.void, []), - [S.$stopPropagation]: dart.fnType(dart.void, []), - composedPath: dart.fnType(core.List$(html$.EventTarget), []), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) -})); -dart.setGetterSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getGetters(html$._WrappedEvent.__proto__), - bubbles: core.bool, - [S.$bubbles]: core.bool, - cancelable: core.bool, - [S.$cancelable]: core.bool, - composed: core.bool, - [S.$composed]: core.bool, - currentTarget: dart.nullable(html$.EventTarget), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - defaultPrevented: core.bool, - [S.$defaultPrevented]: core.bool, - eventPhase: core.int, - [S.$eventPhase]: core.int, - isTrusted: core.bool, - [S.$isTrusted]: core.bool, - target: dart.nullable(html$.EventTarget), - [S.$target]: dart.nullable(html$.EventTarget), - timeStamp: core.double, - [S.$timeStamp]: core.double, - type: core.String, - [S.$type]: core.String, - matchingTarget: html$.Element, - [S.$matchingTarget]: html$.Element, - path: core.List$(html$.Node), - [S.$path]: core.List$(html$.Node), - [S._get_currentTarget]: dart.dynamic, - [S._get_target]: dart.dynamic -})); -dart.setLibraryUri(html$._WrappedEvent, I[148]); -dart.setFieldSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getFields(html$._WrappedEvent.__proto__), - wrapped: dart.finalFieldType(html$.Event), - [S._selector]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); -dart.defineExtensionAccessors(html$._WrappedEvent, [ - 'bubbles', - 'cancelable', - 'composed', - 'currentTarget', - 'defaultPrevented', - 'eventPhase', - 'isTrusted', - 'target', - 'timeStamp', - 'type', - 'matchingTarget', - 'path' -]); -html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { - get returnValue() { - return this[S$3._returnValue]; - } - set returnValue(value) { - this[S$3._returnValue] = dart.nullCheck(value); - if ("returnValue" in this.wrapped) { - this.wrapped.returnValue = value; - } - } -}; -(html$._BeforeUnloadEvent.new = function(base) { - if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); - this[S$3._returnValue] = ""; - html$._BeforeUnloadEvent.__proto__.new.call(this, base); - ; -}).prototype = html$._BeforeUnloadEvent.prototype; -dart.addTypeTests(html$._BeforeUnloadEvent); -dart.addTypeCaches(html$._BeforeUnloadEvent); -html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; -dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), - returnValue: core.String, - [S$.$returnValue]: core.String -})); -dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), - returnValue: dart.nullable(core.String), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); -dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), - [S$3._returnValue]: dart.fieldType(core.String) -})); -dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); -html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { - get [S$3._eventType$1]() { - return this[S$3._eventType]; - } - set [S$3._eventType$1](value) { - super[S$3._eventType$1] = value; - } - forTarget(e, opts) { - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); - let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); - stream.listen(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); - let wrapped = new html$._BeforeUnloadEvent.new(event); - controller.add(wrapped); - }, T$0.BeforeUnloadEventTovoid())); - return controller.stream; - } - getEventType(target) { - if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); - return this[S$3._eventType$1]; - } - forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); - return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } - [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); - return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } -}; -(html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); - this[S$3._eventType] = _eventType; - ; -}).prototype = html$._BeforeUnloadEventStreamProvider.prototype; -dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); -dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); -html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; -dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]), - forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) -})); -dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); -dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) -})); -html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; dart.addTypeTests(html$.WindowBase64); dart.addTypeCaches(html$.WindowBase64); -dart.setLibraryUri(html$.WindowBase64, I[148]); +dart.setStaticMethodSignature(html$.WindowBase64, () => ['__']); +dart.setLibraryUri(html$.WindowBase64, I[150]); html$.WindowClient = class WindowClient extends html$.Client { + static ['_#_#tearOff']() { + return html$.WindowClient.__(); + } get [S$3.$focused]() { return this.focused; } @@ -98928,7 +107900,7 @@ html$.WindowClient = class WindowClient extends html$.Client { return js_util.promiseToFuture(html$.WindowClient, this.focus()); } [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); } }; @@ -98939,14 +107911,18 @@ dart.setMethodSignature(html$.WindowClient, () => ({ [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); +dart.setStaticMethodSignature(html$.WindowClient, () => ['__']); dart.setGetterSignature(html$.WindowClient, () => ({ __proto__: dart.getGetters(html$.WindowClient.__proto__), [S$3.$focused]: dart.nullable(core.bool), [S$1.$visibilityState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WindowClient, I[148]); +dart.setLibraryUri(html$.WindowClient, I[150]); dart.registerExtension("WindowClient", html$.WindowClient); html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WindowEventHandlers.__(); + } get onHashChange() { return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); } @@ -98971,6 +107947,7 @@ html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget }; dart.addTypeTests(html$.WindowEventHandlers); dart.addTypeCaches(html$.WindowEventHandlers); +dart.setStaticMethodSignature(html$.WindowEventHandlers, () => ['__']); dart.setGetterSignature(html$.WindowEventHandlers, () => ({ __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), onHashChange: async.Stream$(html$.Event), @@ -98988,7 +107965,8 @@ dart.setGetterSignature(html$.WindowEventHandlers, () => ({ onUnload: async.Stream$(html$.Event), [S$.$onUnload]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.WindowEventHandlers, I[148]); +dart.setLibraryUri(html$.WindowEventHandlers, I[150]); +dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); dart.defineExtensionAccessors(html$.WindowEventHandlers, [ 'onHashChange', 'onMessage', @@ -99000,32 +107978,39 @@ dart.defineExtensionAccessors(html$.WindowEventHandlers, [ ]); dart.defineLazy(html$.WindowEventHandlers, { /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); html$.Worker = class Worker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Worker.__(); + } static new(scriptUrl) { - if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); return html$.Worker._create_1(scriptUrl); } + static ['_#new#tearOff'](scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); + return html$.Worker.new(scriptUrl); + } static _create_1(scriptUrl) { return new Worker(scriptUrl); } @@ -99068,22 +108053,28 @@ dart.setMethodSignature(html$.Worker, () => ({ [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Worker, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Worker, () => ({ __proto__: dart.getGetters(html$.Worker.__proto__), [S.$onError]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.Worker, I[148]); +dart.setStaticGetterSignature(html$.Worker, () => ['supported']); +dart.setLibraryUri(html$.Worker, I[150]); +dart.setStaticFieldSignature(html$.Worker, () => ['errorEvent', 'messageEvent']); dart.defineLazy(html$.Worker, { /*html$.Worker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Worker.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("Worker", html$.Worker); html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerPerformance.__(); + } get [S$2.$memory]() { return this.memory; } @@ -99136,21 +108127,31 @@ dart.setMethodSignature(html$.WorkerPerformance, () => ({ [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.WorkerPerformance, () => ['__']); dart.setGetterSignature(html$.WorkerPerformance, () => ({ __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), [S$2.$timeOrigin]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.WorkerPerformance, I[148]); +dart.setLibraryUri(html$.WorkerPerformance, I[150]); dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); -html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { +html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletAnimation.__(); + } static new(animatorName, effects, timelines, options) { - if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); - if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); - if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); } + static ['_#new#tearOff'](animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); + return html$.WorkletAnimation.new(animatorName, effects, timelines, options); + } static _create_1(animatorName, effects, timelines, options) { return new WorkletAnimation(animatorName, effects, timelines, options); } @@ -99171,16 +108172,23 @@ dart.setMethodSignature(html$.WorkletAnimation, () => ({ [S$.$cancel]: dart.fnType(dart.void, []), [S$.$play]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.WorkletAnimation, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.WorkletAnimation, () => ({ __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), [S$.$playState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WorkletAnimation, I[148]); +dart.setLibraryUri(html$.WorkletAnimation, I[150]); dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); -html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { +html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathEvaluator.__(); + } static new() { return html$.XPathEvaluator._create_1(); } + static ['_#new#tearOff']() { + return html$.XPathEvaluator.new(); + } static _create_1() { return new XPathEvaluator(); } @@ -99202,9 +108210,13 @@ dart.setMethodSignature(html$.XPathEvaluator, () => ({ [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.XPathEvaluator, I[148]); +dart.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.XPathEvaluator, I[150]); dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); -html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { +html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathExpression.__(); + } [S$3.$evaluate](...args) { return this.evaluate.apply(this, args); } @@ -99215,9 +108227,13 @@ dart.setMethodSignature(html$.XPathExpression, () => ({ __proto__: dart.getMethods(html$.XPathExpression.__proto__), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.XPathExpression, I[148]); +dart.setStaticMethodSignature(html$.XPathExpression, () => ['__']); +dart.setLibraryUri(html$.XPathExpression, I[150]); dart.registerExtension("XPathExpression", html$.XPathExpression); -html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { +html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathNSResolver.__(); + } [S$3.$lookupNamespaceUri](...args) { return this.lookupNamespaceURI.apply(this, args); } @@ -99228,9 +108244,13 @@ dart.setMethodSignature(html$.XPathNSResolver, () => ({ __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) })); -dart.setLibraryUri(html$.XPathNSResolver, I[148]); +dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); +dart.setLibraryUri(html$.XPathNSResolver, I[150]); dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); -html$.XPathResult = class XPathResult extends _interceptors.Interceptor { +html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathResult.__(); + } get [S$3.$booleanValue]() { return this.booleanValue; } @@ -99266,6 +108286,7 @@ dart.setMethodSignature(html$.XPathResult, () => ({ [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); +dart.setStaticMethodSignature(html$.XPathResult, () => ['__']); dart.setGetterSignature(html$.XPathResult, () => ({ __proto__: dart.getGetters(html$.XPathResult.__proto__), [S$3.$booleanValue]: dart.nullable(core.bool), @@ -99276,7 +108297,8 @@ dart.setGetterSignature(html$.XPathResult, () => ({ [S$3.$snapshotLength]: dart.nullable(core.int), [S$3.$stringValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.XPathResult, I[148]); +dart.setLibraryUri(html$.XPathResult, I[150]); +dart.setStaticFieldSignature(html$.XPathResult, () => ['ANY_TYPE', 'ANY_UNORDERED_NODE_TYPE', 'BOOLEAN_TYPE', 'FIRST_ORDERED_NODE_TYPE', 'NUMBER_TYPE', 'ORDERED_NODE_ITERATOR_TYPE', 'ORDERED_NODE_SNAPSHOT_TYPE', 'STRING_TYPE', 'UNORDERED_NODE_ITERATOR_TYPE', 'UNORDERED_NODE_SNAPSHOT_TYPE']); dart.defineLazy(html$.XPathResult, { /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { return 0; @@ -99310,15 +108332,26 @@ dart.defineLazy(html$.XPathResult, { } }, false); dart.registerExtension("XPathResult", html$.XPathResult); -html$.XmlDocument = class XmlDocument extends html$.Document {}; +html$.XmlDocument = class XmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.XmlDocument.__(); + } +}; dart.addTypeTests(html$.XmlDocument); dart.addTypeCaches(html$.XmlDocument); -dart.setLibraryUri(html$.XmlDocument, I[148]); +dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); +dart.setLibraryUri(html$.XmlDocument, I[150]); dart.registerExtension("XMLDocument", html$.XmlDocument); -html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { +html$.XmlSerializer = class XmlSerializer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XmlSerializer.__(); + } static new() { return html$.XmlSerializer._create_1(); } + static ['_#new#tearOff']() { + return html$.XmlSerializer.new(); + } static _create_1() { return new XMLSerializer(); } @@ -99332,12 +108365,19 @@ dart.setMethodSignature(html$.XmlSerializer, () => ({ __proto__: dart.getMethods(html$.XmlSerializer.__proto__), [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) })); -dart.setLibraryUri(html$.XmlSerializer, I[148]); +dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.XmlSerializer, I[150]); dart.registerExtension("XMLSerializer", html$.XmlSerializer); -html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { +html$.XsltProcessor = class XsltProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XsltProcessor.__(); + } static new() { return html$.XsltProcessor._create_1(); } + static ['_#new#tearOff']() { + return html$.XsltProcessor.new(); + } static _create_1() { return new XSLTProcessor(); } @@ -99382,9 +108422,14 @@ dart.setMethodSignature(html$.XsltProcessor, () => ({ [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) })); -dart.setLibraryUri(html$.XsltProcessor, I[148]); +dart.setStaticMethodSignature(html$.XsltProcessor, () => ['__', 'new', '_create_1']); +dart.setStaticGetterSignature(html$.XsltProcessor, () => ['supported']); +dart.setLibraryUri(html$.XsltProcessor, I[150]); dart.registerExtension("XSLTProcessor", html$.XsltProcessor); html$._Attr = class _Attr extends html$.Node { + static ['_#_#tearOff']() { + return html$._Attr.__(); + } get [S._localName]() { return this.localName; } @@ -99403,6 +108448,7 @@ html$._Attr = class _Attr extends html$.Node { }; dart.addTypeTests(html$._Attr); dart.addTypeCaches(html$._Attr); +dart.setStaticMethodSignature(html$._Attr, () => ['__']); dart.setGetterSignature(html$._Attr, () => ({ __proto__: dart.getGetters(html$._Attr.__proto__), [S._localName]: dart.nullable(core.String), @@ -99414,53 +108460,91 @@ dart.setSetterSignature(html$._Attr, () => ({ __proto__: dart.getSetters(html$._Attr.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Attr, I[148]); +dart.setLibraryUri(html$._Attr, I[150]); dart.registerExtension("Attr", html$._Attr); -html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; +html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Bluetooth.__(); + } +}; dart.addTypeTests(html$._Bluetooth); dart.addTypeCaches(html$._Bluetooth); -dart.setLibraryUri(html$._Bluetooth, I[148]); +dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); +dart.setLibraryUri(html$._Bluetooth, I[150]); dart.registerExtension("Bluetooth", html$._Bluetooth); -html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; +html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothCharacteristicProperties.__(); + } +}; dart.addTypeTests(html$._BluetoothCharacteristicProperties); dart.addTypeCaches(html$._BluetoothCharacteristicProperties); -dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); +dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); +dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); -html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; +html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothDevice.__(); + } +}; dart.addTypeTests(html$._BluetoothDevice); dart.addTypeCaches(html$._BluetoothDevice); -dart.setLibraryUri(html$._BluetoothDevice, I[148]); +dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); +dart.setLibraryUri(html$._BluetoothDevice, I[150]); dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); -html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; +html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTCharacteristic.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); -dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); -html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; +html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTServer.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTServer); dart.addTypeCaches(html$._BluetoothRemoteGATTServer); -dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); -html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; +html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTService.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTService); dart.addTypeCaches(html$._BluetoothRemoteGATTService); -dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); -html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; +html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothUUID.__(); + } +}; dart.addTypeTests(html$._BluetoothUUID); dart.addTypeCaches(html$._BluetoothUUID); -dart.setLibraryUri(html$._BluetoothUUID, I[148]); +dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); +dart.setLibraryUri(html$._BluetoothUUID, I[150]); dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); -html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { +html$._BudgetService = class _BudgetService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BudgetService.__(); + } [S$3.$getBudget]() { return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); } [S$3.$getCost](operation) { - if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + if (operation == null) dart.nullFailed(I[149], 34482, 33, "operation"); return js_util.promiseToFuture(core.double, this.getCost(operation)); } [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); return js_util.promiseToFuture(core.bool, this.reserve(operation)); } }; @@ -99472,18 +108556,32 @@ dart.setMethodSignature(html$._BudgetService, () => ({ [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) })); -dart.setLibraryUri(html$._BudgetService, I[148]); +dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); +dart.setLibraryUri(html$._BudgetService, I[150]); dart.registerExtension("BudgetService", html$._BudgetService); -html$._Cache = class _Cache extends _interceptors.Interceptor {}; +html$._Cache = class _Cache extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Cache.__(); + } +}; dart.addTypeTests(html$._Cache); dart.addTypeCaches(html$._Cache); -dart.setLibraryUri(html$._Cache, I[148]); +dart.setStaticMethodSignature(html$._Cache, () => ['__']); +dart.setLibraryUri(html$._Cache, I[150]); dart.registerExtension("Cache", html$._Cache); -html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; +html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._CanvasPath.__(); + } +}; dart.addTypeTests(html$._CanvasPath); dart.addTypeCaches(html$._CanvasPath); -dart.setLibraryUri(html$._CanvasPath, I[148]); +dart.setStaticMethodSignature(html$._CanvasPath, () => ['__']); +dart.setLibraryUri(html$._CanvasPath, I[150]); html$._Clipboard = class _Clipboard extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._Clipboard.__(); + } [S$3.$read]() { return js_util.promiseToFuture(html$.DataTransfer, this.read()); } @@ -99491,11 +108589,11 @@ html$._Clipboard = class _Clipboard extends html$.EventTarget { return js_util.promiseToFuture(core.String, this.readText()); } [S$1.$write](data) { - if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + if (data == null) dart.nullFailed(I[149], 34526, 29, "data"); return js_util.promiseToFuture(dart.dynamic, this.write(data)); } [S$3.$writeText](data) { - if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + if (data == null) dart.nullFailed(I[149], 34529, 27, "data"); return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); } }; @@ -99508,37 +108606,41 @@ dart.setMethodSignature(html$._Clipboard, () => ({ [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), [S$3.$writeText]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$._Clipboard, I[148]); +dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); +dart.setLibraryUri(html$._Clipboard, I[150]); dart.registerExtension("Clipboard", html$._Clipboard); -const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$8.new = function() { - Interceptor_ListMixin$36$8.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$8.prototype; -dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); -const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; -(Interceptor_ImmutableListMixin$36$8.new = function() { - Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$8.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); -html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { +const JavaScriptObject_ListMixin$36$8 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$8.new = function() { + JavaScriptObject_ListMixin$36$8.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$8.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); +const JavaScriptObject_ImmutableListMixin$36$8 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$8 {}; +(JavaScriptObject_ImmutableListMixin$36$8.new = function() { + JavaScriptObject_ImmutableListMixin$36$8.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$8.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); +html$._CssRuleList = class _CssRuleList extends JavaScriptObject_ImmutableListMixin$36$8 { + static ['_#_#tearOff']() { + return html$._CssRuleList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34547, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34553, 25, "index"); html$.CssRule.as(value); - if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + if (value == null) dart.nullFailed(I[149], 34553, 40, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34559, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99569,7 +108671,7 @@ html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$3 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34587, 25, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99579,13 +108681,14 @@ html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$3 html$._CssRuleList.prototype[dart.isList] = true; dart.addTypeTests(html$._CssRuleList); dart.addTypeCaches(html$._CssRuleList); -html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; +html$._CssRuleList[dart.implements] = () => [core.List$(html$.CssRule), _js_helper.JavaScriptIndexingBehavior$(html$.CssRule)]; dart.setMethodSignature(html$._CssRuleList, () => ({ __proto__: dart.getMethods(html$._CssRuleList.__proto__), [$_get]: dart.fnType(html$.CssRule, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) })); +dart.setStaticMethodSignature(html$._CssRuleList, () => ['__']); dart.setGetterSignature(html$._CssRuleList, () => ({ __proto__: dart.getGetters(html$._CssRuleList.__proto__), [$length]: core.int @@ -99594,33 +108697,58 @@ dart.setSetterSignature(html$._CssRuleList, () => ({ __proto__: dart.getSetters(html$._CssRuleList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._CssRuleList, I[148]); +dart.setLibraryUri(html$._CssRuleList, I[150]); dart.registerExtension("CSSRuleList", html$._CssRuleList); -html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; +html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DOMFileSystemSync.__(); + } +}; dart.addTypeTests(html$._DOMFileSystemSync); dart.addTypeCaches(html$._DOMFileSystemSync); -dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); +dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); +dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); -html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; +html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._EntrySync.__(); + } +}; dart.addTypeTests(html$._EntrySync); dart.addTypeCaches(html$._EntrySync); -dart.setLibraryUri(html$._EntrySync, I[148]); +dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); +dart.setLibraryUri(html$._EntrySync, I[150]); dart.registerExtension("EntrySync", html$._EntrySync); -html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; +html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._DirectoryEntrySync.__(); + } +}; dart.addTypeTests(html$._DirectoryEntrySync); dart.addTypeCaches(html$._DirectoryEntrySync); -dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); +dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); +dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); -html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; +html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DirectoryReaderSync.__(); + } +}; dart.addTypeTests(html$._DirectoryReaderSync); dart.addTypeCaches(html$._DirectoryReaderSync); -dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); +dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); +dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); -html$._DocumentType = class _DocumentType extends html$.Node {}; +html$._DocumentType = class _DocumentType extends html$.Node { + static ['_#_#tearOff']() { + return html$._DocumentType.__(); + } +}; dart.addTypeTests(html$._DocumentType); dart.addTypeCaches(html$._DocumentType); html$._DocumentType[dart.implements] = () => [html$.ChildNode]; -dart.setLibraryUri(html$._DocumentType, I[148]); +dart.setStaticMethodSignature(html$._DocumentType, () => ['__']); +dart.setLibraryUri(html$._DocumentType, I[150]); dart.registerExtension("DocumentType", html$._DocumentType); html$._DomRect = class _DomRect extends html$.DomRectReadOnly { [$toString]() { @@ -99631,11 +108759,11 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + if (other == null) dart.nullFailed(I[149], 34672, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -99648,12 +108776,12 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + if (other == null) dart.nullFailed(I[149], 34690, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + if (other == null) dart.nullFailed(I[149], 34700, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -99661,11 +108789,11 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + if (another == null) dart.nullFailed(I[149], 34713, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + if (another == null) dart.nullFailed(I[149], 34723, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -99680,6 +108808,9 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$._DomRect.__(); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$._DomRect._create_1(x, y, width, height); @@ -99695,6 +108826,9 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { } return html$._DomRect._create_5(); } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$._DomRect.new(x, y, width, height); + } static _create_1(x, y, width, height) { return new DOMRect(x, y, width, height); } @@ -99744,6 +108878,7 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { dart.addTypeTests(html$._DomRect); dart.addTypeCaches(html$._DomRect); html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setStaticMethodSignature(html$._DomRect, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setSetterSignature(html$._DomRect, () => ({ __proto__: dart.getSetters(html$._DomRect.__proto__), [$height]: core.num, @@ -99751,86 +108886,79 @@ dart.setSetterSignature(html$._DomRect, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(html$._DomRect, I[148]); +dart.setLibraryUri(html$._DomRect, I[150]); dart.registerExtension("ClientRect", html$._DomRect); dart.registerExtension("DOMRect", html$._DomRect); -html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { - static combine(hash, value) { - if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); - if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); - hash = 536870911 & dart.notNull(hash) + dart.notNull(value); - hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); - return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; - } - static finish(hash) { - if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); - hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); - hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; - return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); - } - static hash2(a, b) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); - } - static hash4(a, b, c, d) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); +html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._FileEntrySync.__(); } }; -(html$._JenkinsSmiHash.new = function() { - ; -}).prototype = html$._JenkinsSmiHash.prototype; -dart.addTypeTests(html$._JenkinsSmiHash); -dart.addTypeCaches(html$._JenkinsSmiHash); -dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); -html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; dart.addTypeTests(html$._FileEntrySync); dart.addTypeCaches(html$._FileEntrySync); -dart.setLibraryUri(html$._FileEntrySync, I[148]); +dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); +dart.setLibraryUri(html$._FileEntrySync, I[150]); dart.registerExtension("FileEntrySync", html$._FileEntrySync); -html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { +html$._FileReaderSync = class _FileReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileReaderSync.__(); + } static new() { return html$._FileReaderSync._create_1(); } + static ['_#new#tearOff']() { + return html$._FileReaderSync.new(); + } static _create_1() { return new FileReaderSync(); } }; dart.addTypeTests(html$._FileReaderSync); dart.addTypeCaches(html$._FileReaderSync); -dart.setLibraryUri(html$._FileReaderSync, I[148]); +dart.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._FileReaderSync, I[150]); dart.registerExtension("FileReaderSync", html$._FileReaderSync); -html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; +html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileWriterSync.__(); + } +}; dart.addTypeTests(html$._FileWriterSync); dart.addTypeCaches(html$._FileWriterSync); -dart.setLibraryUri(html$._FileWriterSync, I[148]); +dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); +dart.setLibraryUri(html$._FileWriterSync, I[150]); dart.registerExtension("FileWriterSync", html$._FileWriterSync); -const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$9.new = function() { - Interceptor_ListMixin$36$9.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$9.prototype; -dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); -const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; -(Interceptor_ImmutableListMixin$36$9.new = function() { - Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$9.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); -html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { +const JavaScriptObject_ListMixin$36$9 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$9.new = function() { + JavaScriptObject_ListMixin$36$9.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$9.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); +const JavaScriptObject_ImmutableListMixin$36$9 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$9 {}; +(JavaScriptObject_ImmutableListMixin$36$9.new = function() { + JavaScriptObject_ImmutableListMixin$36$9.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$9.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); +html$._GamepadList = class _GamepadList extends JavaScriptObject_ImmutableListMixin$36$9 { + static ['_#_#tearOff']() { + return html$._GamepadList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34865, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34871, 25, "index"); T$0.GamepadN().as(value); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34877, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99861,7 +108989,7 @@ html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$3 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + if (index == null) dart.nullFailed(I[149], 34905, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99878,6 +109006,7 @@ dart.setMethodSignature(html$._GamepadList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$._GamepadList, () => ['__']); dart.setGetterSignature(html$._GamepadList, () => ({ __proto__: dart.getGetters(html$._GamepadList.__proto__), [$length]: core.int @@ -99886,9 +109015,12 @@ dart.setSetterSignature(html$._GamepadList, () => ({ __proto__: dart.getSetters(html$._GamepadList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._GamepadList, I[148]); +dart.setLibraryUri(html$._GamepadList, I[150]); dart.registerExtension("GamepadList", html$._GamepadList); -html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { +html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._HTMLAllCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -99899,36 +109031,56 @@ dart.setMethodSignature(html$._HTMLAllCollection, () => ({ __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) })); -dart.setLibraryUri(html$._HTMLAllCollection, I[148]); +dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); +dart.setLibraryUri(html$._HTMLAllCollection, I[150]); dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); -html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; +html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLDirectoryElement.__(); + } +}; (html$._HTMLDirectoryElement.created = function() { html$._HTMLDirectoryElement.__proto__.created.call(this); ; }).prototype = html$._HTMLDirectoryElement.prototype; dart.addTypeTests(html$._HTMLDirectoryElement); dart.addTypeCaches(html$._HTMLDirectoryElement); -dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); +dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); -html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; +html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFontElement.__(); + } +}; (html$._HTMLFontElement.created = function() { html$._HTMLFontElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFontElement.prototype; dart.addTypeTests(html$._HTMLFontElement); dart.addTypeCaches(html$._HTMLFontElement); -dart.setLibraryUri(html$._HTMLFontElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFontElement, I[150]); dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); -html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; +html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameElement.__(); + } +}; (html$._HTMLFrameElement.created = function() { html$._HTMLFrameElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFrameElement.prototype; dart.addTypeTests(html$._HTMLFrameElement); dart.addTypeCaches(html$._HTMLFrameElement); -dart.setLibraryUri(html$._HTMLFrameElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFrameElement, I[150]); dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); -html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; +html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameSetElement.__(); + } +}; (html$._HTMLFrameSetElement.created = function() { html$._HTMLFrameSetElement.__proto__.created.call(this); ; @@ -99936,35 +109088,58 @@ html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElemen dart.addTypeTests(html$._HTMLFrameSetElement); dart.addTypeCaches(html$._HTMLFrameSetElement); html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; -dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); -html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; +html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLMarqueeElement.__(); + } +}; (html$._HTMLMarqueeElement.created = function() { html$._HTMLMarqueeElement.__proto__.created.call(this); ; }).prototype = html$._HTMLMarqueeElement.prototype; dart.addTypeTests(html$._HTMLMarqueeElement); dart.addTypeCaches(html$._HTMLMarqueeElement); -dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); +dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); -html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; +html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Mojo.__(); + } +}; dart.addTypeTests(html$._Mojo); dart.addTypeCaches(html$._Mojo); -dart.setLibraryUri(html$._Mojo, I[148]); +dart.setStaticMethodSignature(html$._Mojo, () => ['__']); +dart.setLibraryUri(html$._Mojo, I[150]); dart.registerExtension("Mojo", html$._Mojo); -html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; +html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoHandle.__(); + } +}; dart.addTypeTests(html$._MojoHandle); dart.addTypeCaches(html$._MojoHandle); -dart.setLibraryUri(html$._MojoHandle, I[148]); +dart.setStaticMethodSignature(html$._MojoHandle, () => ['__']); +dart.setLibraryUri(html$._MojoHandle, I[150]); dart.registerExtension("MojoHandle", html$._MojoHandle); html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._MojoInterfaceInterceptor.__(); + } static new(interfaceName, scope = null) { - if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); if (scope != null) { return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); } return html$._MojoInterfaceInterceptor._create_2(interfaceName); } + static ['_#new#tearOff'](interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); + return html$._MojoInterfaceInterceptor.new(interfaceName, scope); + } static _create_1(interfaceName, scope) { return new MojoInterfaceInterceptor(interfaceName, scope); } @@ -99974,17 +109149,25 @@ html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$. }; dart.addTypeTests(html$._MojoInterfaceInterceptor); dart.addTypeCaches(html$._MojoInterfaceInterceptor); -dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); +dart.setStaticMethodSignature(html$._MojoInterfaceInterceptor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[150]); dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._MojoInterfaceRequestEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); } return html$._MojoInterfaceRequestEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); + return html$._MojoInterfaceRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MojoInterfaceRequestEvent(type, eventInitDict); } @@ -99994,47 +109177,61 @@ html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html }; dart.addTypeTests(html$._MojoInterfaceRequestEvent); dart.addTypeCaches(html$._MojoInterfaceRequestEvent); -dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); +dart.setStaticMethodSignature(html$._MojoInterfaceRequestEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[150]); dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); -html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; +html$._MojoWatcher = class _MojoWatcher extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoWatcher.__(); + } +}; dart.addTypeTests(html$._MojoWatcher); dart.addTypeCaches(html$._MojoWatcher); -dart.setLibraryUri(html$._MojoWatcher, I[148]); +dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); +dart.setLibraryUri(html$._MojoWatcher, I[150]); dart.registerExtension("MojoWatcher", html$._MojoWatcher); -html$._NFC = class _NFC extends _interceptors.Interceptor {}; +html$._NFC = class _NFC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._NFC.__(); + } +}; dart.addTypeTests(html$._NFC); dart.addTypeCaches(html$._NFC); -dart.setLibraryUri(html$._NFC, I[148]); +dart.setStaticMethodSignature(html$._NFC, () => ['__']); +dart.setLibraryUri(html$._NFC, I[150]); dart.registerExtension("NFC", html$._NFC); -const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$10.new = function() { - Interceptor_ListMixin$36$10.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$10.prototype; -dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; -(Interceptor_ImmutableListMixin$36$10.new = function() { - Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$10.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); -html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { +const JavaScriptObject_ListMixin$36$10 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$10.new = function() { + JavaScriptObject_ListMixin$36$10.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$10.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$10, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$10 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$10 {}; +(JavaScriptObject_ImmutableListMixin$36$10.new = function() { + JavaScriptObject_ImmutableListMixin$36$10.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$10.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); +html$._NamedNodeMap = class _NamedNodeMap extends JavaScriptObject_ImmutableListMixin$36$10 { + static ['_#_#tearOff']() { + return html$._NamedNodeMap.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35137, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35143, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + if (value == null) dart.nullFailed(I[149], 35143, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35149, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100065,7 +109262,7 @@ html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + if (index == null) dart.nullFailed(I[149], 35177, 22, "index"); return this[$_get](index); } [S$3.$getNamedItem](...args) { @@ -100093,7 +109290,7 @@ html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin html$._NamedNodeMap.prototype[dart.isList] = true; dart.addTypeTests(html$._NamedNodeMap); dart.addTypeCaches(html$._NamedNodeMap); -html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$._NamedNodeMap[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -100106,6 +109303,7 @@ dart.setMethodSignature(html$._NamedNodeMap, () => ({ [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) })); +dart.setStaticMethodSignature(html$._NamedNodeMap, () => ['__']); dart.setGetterSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), [$length]: core.int @@ -100114,15 +109312,23 @@ dart.setSetterSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._NamedNodeMap, I[148]); +dart.setLibraryUri(html$._NamedNodeMap, I[150]); dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); -html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; +html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._PagePopupController.__(); + } +}; dart.addTypeTests(html$._PagePopupController); dart.addTypeCaches(html$._PagePopupController); -dart.setLibraryUri(html$._PagePopupController, I[148]); +dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); +dart.setLibraryUri(html$._PagePopupController, I[150]); dart.registerExtension("PagePopupController", html$._PagePopupController); -html$._Report = class _Report extends _interceptors.Interceptor { +html$._Report = class _Report extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Report.__(); + } get [S$1.$body]() { return this.body; } @@ -100135,23 +109341,31 @@ html$._Report = class _Report extends _interceptors.Interceptor { }; dart.addTypeTests(html$._Report); dart.addTypeCaches(html$._Report); +dart.setStaticMethodSignature(html$._Report, () => ['__']); dart.setGetterSignature(html$._Report, () => ({ __proto__: dart.getGetters(html$._Report.__proto__), [S$1.$body]: dart.nullable(html$.ReportBody), [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Report, I[148]); +dart.setLibraryUri(html$._Report, I[150]); dart.registerExtension("Report", html$._Report); html$._Request = class _Request extends html$.Body { + static ['_#_#tearOff']() { + return html$._Request.__(); + } static new(input, requestInitDict = null) { - if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); if (requestInitDict != null) { let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); return html$._Request._create_1(input, requestInitDict_1); } return html$._Request._create_2(input); } + static ['_#new#tearOff'](input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); + return html$._Request.new(input, requestInitDict); + } static _create_1(input, requestInitDict) { return new Request(input, requestInitDict); } @@ -100161,7 +109375,7 @@ html$._Request = class _Request extends html$.Body { get [S$3.$cache]() { return this.cache; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } get [S$2.$headers]() { @@ -100195,10 +109409,11 @@ dart.setMethodSignature(html$._Request, () => ({ __proto__: dart.getMethods(html$._Request.__proto__), [S$.$clone]: dart.fnType(html$._Request, []) })); +dart.setStaticMethodSignature(html$._Request, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$._Request, () => ({ __proto__: dart.getGetters(html$._Request.__proto__), [S$3.$cache]: dart.nullable(core.String), - [S$1.$credentials]: dart.nullable(core.String), + [S$2.$credentials]: dart.nullable(core.String), [S$2.$headers]: dart.nullable(html$.Headers), [S$1.$integrity]: dart.nullable(core.String), [S.$mode]: dart.nullable(core.String), @@ -100207,14 +109422,22 @@ dart.setGetterSignature(html$._Request, () => ({ [S$.$referrerPolicy]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Request, I[148]); +dart.setLibraryUri(html$._Request, I[150]); dart.registerExtension("Request", html$._Request); -html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; +html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { + static ['_#_#tearOff']() { + return html$._ResourceProgressEvent.__(); + } +}; dart.addTypeTests(html$._ResourceProgressEvent); dart.addTypeCaches(html$._ResourceProgressEvent); -dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); +dart.setStaticMethodSignature(html$._ResourceProgressEvent, () => ['__']); +dart.setLibraryUri(html$._ResourceProgressEvent, I[150]); dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); html$._Response = class _Response extends html$.Body { + static ['_#_#tearOff']() { + return html$._Response.__(); + } static new(body = null, init = null) { if (init != null) { let init_1 = html_common.convertDartToNative_Dictionary(init); @@ -100225,6 +109448,9 @@ html$._Response = class _Response extends html$.Body { } return html$._Response._create_3(); } + static ['_#new#tearOff'](body = null, init = null) { + return html$._Response.new(body, init); + } static _create_1(body, init) { return new Response(body, init); } @@ -100237,37 +109463,41 @@ html$._Response = class _Response extends html$.Body { }; dart.addTypeTests(html$._Response); dart.addTypeCaches(html$._Response); -dart.setLibraryUri(html$._Response, I[148]); +dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); +dart.setLibraryUri(html$._Response, I[150]); dart.registerExtension("Response", html$._Response); -const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$11.new = function() { - Interceptor_ListMixin$36$11.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$11.prototype; -dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); -const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; -(Interceptor_ImmutableListMixin$36$11.new = function() { - Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$11.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); -html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { +const JavaScriptObject_ListMixin$36$11 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$11.new = function() { + JavaScriptObject_ListMixin$36$11.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$11.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); +const JavaScriptObject_ImmutableListMixin$36$11 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$11 {}; +(JavaScriptObject_ImmutableListMixin$36$11.new = function() { + JavaScriptObject_ImmutableListMixin$36$11.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$11.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); +html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends JavaScriptObject_ImmutableListMixin$36$11 { + static ['_#_#tearOff']() { + return html$._SpeechRecognitionResultList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35331, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35337, 25, "index"); html$.SpeechRecognitionResult.as(value); - if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + if (value == null) dart.nullFailed(I[149], 35337, 56, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35343, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100298,7 +109528,7 @@ html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + if (index == null) dart.nullFailed(I[149], 35371, 41, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -100308,13 +109538,14 @@ html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends html$._SpeechRecognitionResultList.prototype[dart.isList] = true; dart.addTypeTests(html$._SpeechRecognitionResultList); dart.addTypeCaches(html$._SpeechRecognitionResultList); -html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; +html$._SpeechRecognitionResultList[dart.implements] = () => [core.List$(html$.SpeechRecognitionResult), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult)]; dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) })); +dart.setStaticMethodSignature(html$._SpeechRecognitionResultList, () => ['__']); dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int @@ -100323,37 +109554,40 @@ dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); +dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); -const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$12.new = function() { - Interceptor_ListMixin$36$12.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$12.prototype; -dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); -const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; -(Interceptor_ImmutableListMixin$36$12.new = function() { - Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$12.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); -html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { +const JavaScriptObject_ListMixin$36$12 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$12.new = function() { + JavaScriptObject_ListMixin$36$12.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$12.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); +const JavaScriptObject_ImmutableListMixin$36$12 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$12 {}; +(JavaScriptObject_ImmutableListMixin$36$12.new = function() { + JavaScriptObject_ImmutableListMixin$36$12.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$12.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); +html$._StyleSheetList = class _StyleSheetList extends JavaScriptObject_ImmutableListMixin$36$12 { + static ['_#_#tearOff']() { + return html$._StyleSheetList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35391, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35397, 25, "index"); html$.StyleSheet.as(value); - if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + if (value == null) dart.nullFailed(I[149], 35397, 43, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35403, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100384,7 +109618,7 @@ html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListM dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + if (index == null) dart.nullFailed(I[149], 35431, 28, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -100405,6 +109639,7 @@ dart.setMethodSignature(html$._StyleSheetList, () => ({ [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) })); +dart.setStaticMethodSignature(html$._StyleSheetList, () => ['__']); dart.setGetterSignature(html$._StyleSheetList, () => ({ __proto__: dart.getGetters(html$._StyleSheetList.__proto__), [$length]: core.int @@ -100413,89 +109648,148 @@ dart.setSetterSignature(html$._StyleSheetList, () => ({ __proto__: dart.getSetters(html$._StyleSheetList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._StyleSheetList, I[148]); +dart.setLibraryUri(html$._StyleSheetList, I[150]); dart.registerExtension("StyleSheetList", html$._StyleSheetList); -html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; +html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._SubtleCrypto.__(); + } +}; dart.addTypeTests(html$._SubtleCrypto); dart.addTypeCaches(html$._SubtleCrypto); -dart.setLibraryUri(html$._SubtleCrypto, I[148]); +dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); +dart.setLibraryUri(html$._SubtleCrypto, I[150]); dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); -html$._USB = class _USB extends html$.EventTarget {}; +html$._USB = class _USB extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._USB.__(); + } +}; dart.addTypeTests(html$._USB); dart.addTypeCaches(html$._USB); -dart.setLibraryUri(html$._USB, I[148]); +dart.setStaticMethodSignature(html$._USB, () => ['__']); +dart.setLibraryUri(html$._USB, I[150]); dart.registerExtension("USB", html$._USB); -html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { +html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBAlternateInterface.__(); + } static new(deviceInterface, alternateSetting) { - if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); - if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); } + static ['_#new#tearOff'](deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); + return html$._USBAlternateInterface.new(deviceInterface, alternateSetting); + } static _create_1(deviceInterface, alternateSetting) { return new USBAlternateInterface(deviceInterface, alternateSetting); } }; dart.addTypeTests(html$._USBAlternateInterface); dart.addTypeCaches(html$._USBAlternateInterface); -dart.setLibraryUri(html$._USBAlternateInterface, I[148]); +dart.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBAlternateInterface, I[150]); dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); -html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { +html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBConfiguration.__(); + } static new(device, configurationValue) { - if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); - if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); return html$._USBConfiguration._create_1(device, configurationValue); } + static ['_#new#tearOff'](device, configurationValue) { + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); + return html$._USBConfiguration.new(device, configurationValue); + } static _create_1(device, configurationValue) { return new USBConfiguration(device, configurationValue); } }; dart.addTypeTests(html$._USBConfiguration); dart.addTypeCaches(html$._USBConfiguration); -dart.setLibraryUri(html$._USBConfiguration, I[148]); +dart.setStaticMethodSignature(html$._USBConfiguration, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBConfiguration, I[150]); dart.registerExtension("USBConfiguration", html$._USBConfiguration); html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._USBConnectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._USBConnectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); + return html$._USBConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new USBConnectionEvent(type, eventInitDict); } }; dart.addTypeTests(html$._USBConnectionEvent); dart.addTypeCaches(html$._USBConnectionEvent); -dart.setLibraryUri(html$._USBConnectionEvent, I[148]); +dart.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBConnectionEvent, I[150]); dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); -html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; +html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBDevice.__(); + } +}; dart.addTypeTests(html$._USBDevice); dart.addTypeCaches(html$._USBDevice); -dart.setLibraryUri(html$._USBDevice, I[148]); +dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); +dart.setLibraryUri(html$._USBDevice, I[150]); dart.registerExtension("USBDevice", html$._USBDevice); -html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { +html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBEndpoint.__(); + } static new(alternate, endpointNumber, direction) { - if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); - if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); - if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); } + static ['_#new#tearOff'](alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); + return html$._USBEndpoint.new(alternate, endpointNumber, direction); + } static _create_1(alternate, endpointNumber, direction) { return new USBEndpoint(alternate, endpointNumber, direction); } }; dart.addTypeTests(html$._USBEndpoint); dart.addTypeCaches(html$._USBEndpoint); -dart.setLibraryUri(html$._USBEndpoint, I[148]); +dart.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBEndpoint, I[150]); dart.registerExtension("USBEndpoint", html$._USBEndpoint); -html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { +html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInTransferResult.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); if (data != null) { return html$._USBInTransferResult._create_1(status, data); } return html$._USBInTransferResult._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); + return html$._USBInTransferResult.new(status, data); + } static _create_1(status, data) { return new USBInTransferResult(status, data); } @@ -100505,30 +109799,47 @@ html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.In }; dart.addTypeTests(html$._USBInTransferResult); dart.addTypeCaches(html$._USBInTransferResult); -dart.setLibraryUri(html$._USBInTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBInTransferResult, I[150]); dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); -html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { +html$._USBInterface = class _USBInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInterface.__(); + } static new(configuration, interfaceNumber) { - if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); - if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); return html$._USBInterface._create_1(configuration, interfaceNumber); } + static ['_#new#tearOff'](configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); + return html$._USBInterface.new(configuration, interfaceNumber); + } static _create_1(configuration, interfaceNumber) { return new USBInterface(configuration, interfaceNumber); } }; dart.addTypeTests(html$._USBInterface); dart.addTypeCaches(html$._USBInterface); -dart.setLibraryUri(html$._USBInterface, I[148]); +dart.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBInterface, I[150]); dart.registerExtension("USBInterface", html$._USBInterface); -html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { +html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferPacket.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); if (data != null) { return html$._USBIsochronousInTransferPacket._create_1(status, data); } return html$._USBIsochronousInTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); + return html$._USBIsochronousInTransferPacket.new(status, data); + } static _create_1(status, data) { return new USBIsochronousInTransferPacket(status, data); } @@ -100538,16 +109849,24 @@ html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket ex }; dart.addTypeTests(html$._USBIsochronousInTransferPacket); dart.addTypeCaches(html$._USBIsochronousInTransferPacket); -dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousInTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[150]); dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); -html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { +html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferResult.__(); + } static new(packets, data = null) { - if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); if (data != null) { return html$._USBIsochronousInTransferResult._create_1(packets, data); } return html$._USBIsochronousInTransferResult._create_2(packets); } + static ['_#new#tearOff'](packets, data = null) { + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); + return html$._USBIsochronousInTransferResult.new(packets, data); + } static _create_1(packets, data) { return new USBIsochronousInTransferResult(packets, data); } @@ -100557,16 +109876,24 @@ html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult ex }; dart.addTypeTests(html$._USBIsochronousInTransferResult); dart.addTypeCaches(html$._USBIsochronousInTransferResult); -dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[150]); dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); -html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { +html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferPacket.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); if (bytesWritten != null) { return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); } return html$._USBIsochronousOutTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); + return html$._USBIsochronousOutTransferPacket.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBIsochronousOutTransferPacket(status, bytesWritten); } @@ -100576,29 +109903,45 @@ html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket }; dart.addTypeTests(html$._USBIsochronousOutTransferPacket); dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); -dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousOutTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[150]); dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); -html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { +html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferResult.__(); + } static new(packets) { - if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); return html$._USBIsochronousOutTransferResult._create_1(packets); } + static ['_#new#tearOff'](packets) { + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); + return html$._USBIsochronousOutTransferResult.new(packets); + } static _create_1(packets) { return new USBIsochronousOutTransferResult(packets); } }; dart.addTypeTests(html$._USBIsochronousOutTransferResult); dart.addTypeCaches(html$._USBIsochronousOutTransferResult); -dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); -html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { +html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBOutTransferResult.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); if (bytesWritten != null) { return html$._USBOutTransferResult._create_1(status, bytesWritten); } return html$._USBOutTransferResult._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); + return html$._USBOutTransferResult.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBOutTransferResult(status, bytesWritten); } @@ -100608,36 +109951,57 @@ html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors. }; dart.addTypeTests(html$._USBOutTransferResult); dart.addTypeCaches(html$._USBOutTransferResult); -dart.setLibraryUri(html$._USBOutTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBOutTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBOutTransferResult, I[150]); dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); -html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; +html$._WindowTimers = class _WindowTimers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WindowTimers.__(); + } +}; dart.addTypeTests(html$._WindowTimers); dart.addTypeCaches(html$._WindowTimers); -dart.setLibraryUri(html$._WindowTimers, I[148]); -html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; +dart.setStaticMethodSignature(html$._WindowTimers, () => ['__']); +dart.setLibraryUri(html$._WindowTimers, I[150]); +html$._WorkerLocation = class _WorkerLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WorkerLocation.__(); + } +}; dart.addTypeTests(html$._WorkerLocation); dart.addTypeCaches(html$._WorkerLocation); html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; -dart.setLibraryUri(html$._WorkerLocation, I[148]); +dart.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); +dart.setLibraryUri(html$._WorkerLocation, I[150]); dart.registerExtension("WorkerLocation", html$._WorkerLocation); -html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; +html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware { + static ['_#_#tearOff']() { + return html$._WorkerNavigator.__(); + } +}; dart.addTypeTests(html$._WorkerNavigator); dart.addTypeCaches(html$._WorkerNavigator); -html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; -dart.setLibraryUri(html$._WorkerNavigator, I[148]); +html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorID, html$.NavigatorOnLine]; +dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); +dart.setLibraryUri(html$._WorkerNavigator, I[150]); dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); -html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; +html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Worklet.__(); + } +}; dart.addTypeTests(html$._Worklet); dart.addTypeCaches(html$._Worklet); -dart.setLibraryUri(html$._Worklet, I[148]); +dart.setStaticMethodSignature(html$._Worklet, () => ['__']); +dart.setLibraryUri(html$._Worklet, I[150]); dart.registerExtension("Worklet", html$._Worklet); html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35796, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35797, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35797, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } @@ -100654,9 +110018,9 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) { this[$_set](key, ifAbsent()); } @@ -100668,14 +110032,14 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + if (f == null) dart.nullFailed(I[149], 35825, 21, "f"); for (let key of this.keys) { let value = this[$_get](key); f(key, dart.nullCast(value, core.String)); } } get keys() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let keys = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100686,7 +110050,7 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin return keys; } get values() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let values = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100704,8 +110068,8 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } }; (html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._AttributeMap.prototype; dart.addTypeTests(html$._AttributeMap); @@ -100722,10 +110086,10 @@ dart.setGetterSignature(html$._AttributeMap, () => ({ keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); -dart.setLibraryUri(html$._AttributeMap, I[148]); +dart.setLibraryUri(html$._AttributeMap, I[150]); dart.setFieldSignature(html$._AttributeMap, () => ({ __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._AttributeMap, [ 'addAll', @@ -100737,41 +110101,45 @@ dart.defineExtensionMethods(html$._AttributeMap, [ ]); dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); + return new html$._ElementAttributeMap.new(element); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttribute](key)); } _get(key) { - return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + return this[S$1._element][S.$getAttribute](core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35890, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); - this[S$1._element$2][S.$setAttribute](key, value); + if (value == null) dart.nullFailed(I[149], 35890, 40, "value"); + this[S$1._element][S.$setAttribute](key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35904, 23, "node"); return node[S._namespaceUri] == null; } static _remove(element, key) { - if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); - if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + if (element == null) dart.nullFailed(I[149], 35909, 34, "element"); + if (key == null) dart.nullFailed(I[149], 35909, 50, "key"); let value = element.getAttribute(key); element.removeAttribute(key); return value; } }; (html$._ElementAttributeMap.new = function(element) { - if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); html$._ElementAttributeMap.__proto__.new.call(this, element); ; }).prototype = html$._ElementAttributeMap.prototype; @@ -100787,45 +110155,50 @@ dart.setMethodSignature(html$._ElementAttributeMap, () => ({ [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); -dart.setLibraryUri(html$._ElementAttributeMap, I[148]); +dart.setStaticMethodSignature(html$._ElementAttributeMap, () => ['_remove']); +dart.setLibraryUri(html$._ElementAttributeMap, I[150]); dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element, _namespace) { + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); + return new html$._NamespacedAttributeMap.new(element, _namespace); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttributeNS](this[S$3._namespace], key)); } _get(key) { - return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + return this[S$1._element][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35938, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); - this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + if (value == null) dart.nullFailed(I[149], 35938, 40, "value"); + this[S$1._element][S.$setAttributeNS](this[S$3._namespace], key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35953, 23, "node"); return node[S._namespaceUri] == this[S$3._namespace]; } static _remove(namespace, element, key) { - if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); - if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + if (element == null) dart.nullFailed(I[149], 35959, 53, "element"); + if (key == null) dart.nullFailed(I[149], 35959, 69, "key"); let value = element.getAttributeNS(namespace, key); element.removeAttributeNS(namespace, key); return value; } }; (html$._NamespacedAttributeMap.new = function(element, _namespace) { - if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); this[S$3._namespace] = _namespace; html$._NamespacedAttributeMap.__proto__.new.call(this, element); ; @@ -100842,7 +110215,8 @@ dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); -dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); +dart.setStaticMethodSignature(html$._NamespacedAttributeMap, () => ['_remove']); +dart.setLibraryUri(html$._NamespacedAttributeMap, I[150]); dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) @@ -100850,12 +110224,16 @@ dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + static ['_#new#tearOff'](_attributes) { + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); + return new html$._DataAttributeMap.new(_attributes); + } addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35984, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35985, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35985, 23, "v"); this._set(k, v); }, T$0.StringAndStringTovoid())); } @@ -100864,7 +110242,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } containsValue(value) { return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); return core.identical(v, value); }, T$.StringTobool())); } @@ -100877,17 +110255,17 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + if (value == null) dart.nullFailed(I[149], 35999, 40, "value"); this[S._attributes$1][$_set](this[S$3._attr](key), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + if (key == null) dart.nullFailed(I[149], 36003, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 36003, 41, "ifAbsent"); return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); } remove(key) { @@ -100899,10 +110277,10 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + if (f == null) dart.nullFailed(I[149], 36015, 21, "f"); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36016, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36016, 45, "value"); if (dart.test(this[S$3._matches](key))) { f(this[S$3._strip](key), value); } @@ -100911,8 +110289,8 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co get keys() { let keys = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36025, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36025, 45, "value"); if (dart.test(this[S$3._matches](key))) { keys[$add](this[S$3._strip](key)); } @@ -100922,8 +110300,8 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co get values() { let values = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36035, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36035, 45, "value"); if (dart.test(this[S$3._matches](key))) { values[$add](value); } @@ -100940,21 +110318,21 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co return !dart.test(this.isEmpty); } [S$3._attr](key) { - if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + if (key == null) dart.nullFailed(I[149], 36051, 23, "key"); return "data-" + dart.str(this[S$3._toHyphenedName](key)); } [S$3._matches](key) { - if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36052, 24, "key"); return key[$startsWith]("data-"); } [S$3._strip](key) { - if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36053, 24, "key"); return this[S$3._toCamelCase](key[$substring](5)); } [S$3._toCamelCase](hyphenedName, opts) { - if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + if (hyphenedName == null) dart.nullFailed(I[149], 36060, 30, "hyphenedName"); let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + if (startUppercase == null) dart.nullFailed(I[149], 36060, 50, "startUppercase"); let segments = hyphenedName[$split]("-"); let start = dart.test(startUppercase) ? 0 : 1; for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { @@ -100966,7 +110344,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co return segments[$join](""); } [S$3._toHyphenedName](word) { - if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + if (word == null) dart.nullFailed(I[149], 36074, 33, "word"); let sb = new core.StringBuffer.new(); for (let i = 0; i < word.length; i = i + 1) { let lower = word[$_get](i)[$toLowerCase](); @@ -100977,7 +110355,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } }; (html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); this[S._attributes$1] = _attributes; ; }).prototype = html$._DataAttributeMap.prototype; @@ -101006,7 +110384,7 @@ dart.setGetterSignature(html$._DataAttributeMap, () => ({ keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); -dart.setLibraryUri(html$._DataAttributeMap, I[148]); +dart.setLibraryUri(html$._DataAttributeMap, I[150]); dart.setFieldSignature(html$._DataAttributeMap, () => ({ __proto__: dart.getFields(html$._DataAttributeMap.__proto__), [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) @@ -101036,7 +110414,7 @@ html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; }).prototype = html$.CanvasImageSource.prototype; dart.addTypeTests(html$.CanvasImageSource); dart.addTypeCaches(html$.CanvasImageSource); -dart.setLibraryUri(html$.CanvasImageSource, I[148]); +dart.setLibraryUri(html$.CanvasImageSource, I[150]); html$.WindowBase = class WindowBase extends core.Object {}; (html$.WindowBase.new = function() { ; @@ -101044,21 +110422,21 @@ html$.WindowBase = class WindowBase extends core.Object {}; dart.addTypeTests(html$.WindowBase); dart.addTypeCaches(html$.WindowBase); html$.WindowBase[dart.implements] = () => [html$.EventTarget]; -dart.setLibraryUri(html$.WindowBase, I[148]); +dart.setLibraryUri(html$.WindowBase, I[150]); html$.LocationBase = class LocationBase extends core.Object {}; (html$.LocationBase.new = function() { ; }).prototype = html$.LocationBase.prototype; dart.addTypeTests(html$.LocationBase); dart.addTypeCaches(html$.LocationBase); -dart.setLibraryUri(html$.LocationBase, I[148]); +dart.setLibraryUri(html$.LocationBase, I[150]); html$.HistoryBase = class HistoryBase extends core.Object {}; (html$.HistoryBase.new = function() { ; }).prototype = html$.HistoryBase.prototype; dart.addTypeTests(html$.HistoryBase); dart.addTypeCaches(html$.HistoryBase); -dart.setLibraryUri(html$.HistoryBase, I[148]); +dart.setLibraryUri(html$.HistoryBase, I[150]); html$.CssClassSet = class CssClassSet extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -101070,7 +110448,7 @@ html$.CssClassSet = class CssClassSet extends core.Object { dart.addTypeTests(html$.CssClassSet); dart.addTypeCaches(html$.CssClassSet); html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; -dart.setLibraryUri(html$.CssClassSet, I[148]); +dart.setLibraryUri(html$.CssClassSet, I[150]); html$.CssRect = class CssRect extends core.Object { set height(newHeight) { dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); @@ -101079,9 +110457,9 @@ html$.CssRect = class CssRect extends core.Object { dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); } [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); - if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); - let styles = this[S$1._element$2][S.$getComputedStyle](); + if (dimensions == null) dart.nullFailed(I[149], 36625, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[149], 36625, 39, "augmentingMeasurement"); + let styles = this[S$1._element][S.$getComputedStyle](); let val = 0; for (let measurement of dimensions) { if (augmentingMeasurement == html$._MARGIN) { @@ -101110,11 +110488,11 @@ html$.CssRect = class CssRect extends core.Object { return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; } get hashCode() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + return core.Object.hash(this.left, this.top, this.right, this.bottom); } intersection(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + if (other == null) dart.nullFailed(I[149], 36690, 47, "other"); let x0 = math.max(core.num, this.left, other[$left]); let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -101127,12 +110505,12 @@ html$.CssRect = class CssRect extends core.Object { return null; } intersects(other) { - if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + if (other == null) dart.nullFailed(I[149], 36708, 34, "other"); return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); } boundingBox(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + if (other == null) dart.nullFailed(I[149], 36718, 45, "other"); let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this.left, other[$left]); @@ -101140,11 +110518,11 @@ html$.CssRect = class CssRect extends core.Object { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + if (another == null) dart.nullFailed(I[149], 36731, 41, "another"); return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + if (another == null) dart.nullFailed(I[149], 36741, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); } get topLeft() { @@ -101161,8 +110539,8 @@ html$.CssRect = class CssRect extends core.Object { } }; (html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); + this[S$1._element] = _element; ; }).prototype = html$.CssRect.prototype; dart.addTypeTests(html$.CssRect); @@ -101204,10 +110582,10 @@ dart.setSetterSignature(html$.CssRect, () => ({ width: dart.dynamic, [$width]: dart.dynamic })); -dart.setLibraryUri(html$.CssRect, I[148]); +dart.setLibraryUri(html$.CssRect, I[150]); dart.setFieldSignature(html$.CssRect, () => ({ __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element$2]: dart.fieldType(html$.Element) + [S$1._element]: dart.fieldType(html$.Element) })); dart.defineExtensionMethods(html$.CssRect, [ 'toString', @@ -101230,20 +110608,24 @@ dart.defineExtensionAccessors(html$.CssRect, [ 'bottomLeft' ]); html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); + return new html$._ContentCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); } set height(newHeight) { if (html$.Dimension.is(newHeight)) { let newHeightAsDimension = newHeight; if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); - this[S$1._element$2].style[$height] = dart.toString(newHeight); + this[S$1._element].style[$height] = dart.toString(newHeight); } else if (typeof newHeight == 'number') { if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + this[S$1._element].style[$height] = dart.str(newHeight) + "px"; } else { dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); } @@ -101252,23 +110634,23 @@ html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { if (html$.Dimension.is(newWidth)) { let newWidthAsDimension = newWidth; if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - this[S$1._element$2].style[$width] = dart.toString(newWidth); + this[S$1._element].style[$width] = dart.toString(newWidth); } else if (typeof newWidth == 'number') { if (dart.notNull(newWidth) < 0) newWidth = 0; - this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + this[S$1._element].style[$width] = dart.str(newWidth) + "px"; } else { dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); } } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); } }; (html$._ContentCssRect.new = function(element) { - if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); html$._ContentCssRect.__proto__.new.call(this, element); ; }).prototype = html$._ContentCssRect.prototype; @@ -101285,12 +110667,16 @@ dart.setGetterSignature(html$._ContentCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._ContentCssRect, I[148]); +dart.setLibraryUri(html$._ContentCssRect, I[150]); dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + static ['_#new#tearOff'](elementList) { + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); + return new html$._ContentCssListRect.new(elementList); + } set height(newHeight) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36480, 27, "e"); return e[S.$contentEdge].height = newHeight; }, T$0.ElementTovoid())); } @@ -101299,7 +110685,7 @@ html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssR } set width(newWidth) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); return e[S.$contentEdge].width = newWidth; }, T$0.ElementTovoid())); } @@ -101308,37 +110694,40 @@ html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssR } }; (html$._ContentCssListRect.new = function(elementList) { - if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); this[S$3._elementList] = elementList; html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); ; }).prototype = html$._ContentCssListRect.prototype; dart.addTypeTests(html$._ContentCssListRect); dart.addTypeCaches(html$._ContentCssListRect); -dart.setLibraryUri(html$._ContentCssListRect, I[148]); +dart.setLibraryUri(html$._ContentCssListRect, I[150]); dart.setFieldSignature(html$._ContentCssListRect, () => ({ __proto__: dart.getFields(html$._ContentCssListRect.__proto__), [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) })); dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._PaddingCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); } }; (html$._PaddingCssRect.new = function(element) { @@ -101358,26 +110747,29 @@ dart.setGetterSignature(html$._PaddingCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._PaddingCssRect, I[148]); +dart.setLibraryUri(html$._PaddingCssRect, I[150]); dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._BorderCssRect.new(element); + } get height() { - return this[S$1._element$2][S.$offsetHeight]; + return this[S$1._element][S.$offsetHeight]; } set height(value) { super.height = value; } get width() { - return this[S$1._element$2][S.$offsetWidth]; + return this[S$1._element][S.$offsetWidth]; } set width(value) { super.width = value; } get left() { - return this[S$1._element$2].getBoundingClientRect()[$left]; + return this[S$1._element].getBoundingClientRect()[$left]; } get top() { - return this[S$1._element$2].getBoundingClientRect()[$top]; + return this[S$1._element].getBoundingClientRect()[$top]; } }; (html$._BorderCssRect.new = function(element) { @@ -101397,26 +110789,29 @@ dart.setGetterSignature(html$._BorderCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._BorderCssRect, I[148]); +dart.setLibraryUri(html$._BorderCssRect, I[150]); dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._MarginCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); } }; (html$._MarginCssRect.new = function(element) { @@ -101436,11 +110831,11 @@ dart.setGetterSignature(html$._MarginCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._MarginCssRect, I[148]); +dart.setLibraryUri(html$._MarginCssRect, I[150]); dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { [S$3._validateToken](value) { - if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (value == null) dart.nullFailed(I[151], 10, 32, "value"); if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); } @@ -101448,7 +110843,7 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return this.readClasses()[$join](" "); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + if (value == null) dart.nullFailed(I[151], 26, 22, "value"); this[S$3._validateToken](value); let s = this.readClasses(); let result = false; @@ -101469,31 +110864,31 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return this.readClasses().iterator; } forEach(f) { - if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + if (f == null) dart.nullFailed(I[151], 52, 21, "f"); this.readClasses()[$forEach](f); } join(separator = "") { - if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + if (separator == null) dart.nullFailed(I[151], 56, 23, "separator"); return this.readClasses()[$join](separator); } map(T, f) { - if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + if (f == null) dart.nullFailed(I[151], 58, 24, "f"); return this.readClasses()[$map](T, f); } where(f) { - if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + if (f == null) dart.nullFailed(I[151], 60, 31, "f"); return this.readClasses()[$where](f); } expand(T, f) { - if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + if (f == null) dart.nullFailed(I[151], 62, 37, "f"); return this.readClasses()[$expand](T, f); } every(f) { - if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + if (f == null) dart.nullFailed(I[151], 65, 19, "f"); return this.readClasses()[$every](f); } any(f) { - if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + if (f == null) dart.nullFailed(I[151], 67, 17, "f"); return this.readClasses()[$any](f); } get isEmpty() { @@ -101507,11 +110902,11 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } reduce(combine) { T$0.StringAndStringToString().as(combine); - if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + if (combine == null) dart.nullFailed(I[151], 75, 24, "combine"); return this.readClasses()[$reduce](combine); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + if (combine == null) dart.nullFailed(I[151], 79, 31, "combine"); return this.readClasses()[$fold](T, initialValue, combine); } contains(value) { @@ -101523,14 +110918,14 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return dart.test(this.contains(value)) ? core.String.as(value) : null; } add(value) { - let t241; + let t222; core.String.as(value); - if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + if (value == null) dart.nullFailed(I[151], 107, 19, "value"); this[S$3._validateToken](value); - return core.bool.as((t241 = this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return core.bool.as((t222 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[151], 111, 20, "s"); return s.add(value); - }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + }, T$0.SetOfStringTobool())), t222 == null ? false : t222)); } remove(value) { if (!(typeof value == 'string')) return false; @@ -101542,62 +110937,62 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + if (s == null) dart.nullFailed(I[151], 138, 13, "s"); return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); }, T$0.SetOfStringTovoid())); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 147, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + if (s == null) dart.nullFailed(I[151], 148, 13, "s"); return s.removeAll(iterable); }, T$0.SetOfStringTovoid())); } toggleAll(iterable, shouldAdd = null) { - if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 161, 35, "iterable"); iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + if (e == null) dart.nullFailed(I[151], 162, 23, "e"); return this.toggle(e, shouldAdd); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + if (s == null) dart.nullFailed(I[151], 166, 13, "s"); return s.retainAll(iterable); }, T$0.SetOfStringTovoid())); } removeWhere(test) { - if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + if (test == null) dart.nullFailed(I[151], 169, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + if (s == null) dart.nullFailed(I[151], 170, 13, "s"); return s.removeWhere(test); }, T$0.SetOfStringTovoid())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + if (test == null) dart.nullFailed(I[151], 173, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + if (s == null) dart.nullFailed(I[151], 174, 13, "s"); return s.retainWhere(test); }, T$0.SetOfStringTovoid())); } containsAll(collection) { - if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + if (collection == null) dart.nullFailed(I[151], 177, 38, "collection"); return this.readClasses().containsAll(collection); } intersection(other) { - if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + if (other == null) dart.nullFailed(I[151], 180, 41, "other"); return this.readClasses().intersection(other); } union(other) { T$0.SetOfString().as(other); - if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + if (other == null) dart.nullFailed(I[151], 183, 33, "other"); return this.readClasses().union(other); } difference(other) { - if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + if (other == null) dart.nullFailed(I[151], 185, 39, "other"); return this.readClasses().difference(other); } get first() { @@ -101611,58 +111006,58 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + if (growable == null) dart.nullFailed(I[151], 190, 29, "growable"); return this.readClasses()[$toList]({growable: growable}); } toSet() { return this.readClasses().toSet(); } take(n) { - if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + if (n == null) dart.nullFailed(I[151], 193, 29, "n"); return this.readClasses()[$take](n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + if (test == null) dart.nullFailed(I[151], 194, 35, "test"); return this.readClasses()[$takeWhile](test); } skip(n) { - if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + if (n == null) dart.nullFailed(I[151], 196, 29, "n"); return this.readClasses()[$skip](n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + if (test == null) dart.nullFailed(I[151], 197, 35, "test"); return this.readClasses()[$skipWhile](test); } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + if (test == null) dart.nullFailed(I[151], 199, 26, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$firstWhere](test, {orElse: orElse}); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + if (test == null) dart.nullFailed(I[151], 201, 25, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$lastWhere](test, {orElse: orElse}); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + if (test == null) dart.nullFailed(I[151], 203, 27, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$singleWhere](test, {orElse: orElse}); } elementAt(index) { - if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + if (index == null) dart.nullFailed(I[151], 205, 24, "index"); return this.readClasses()[$elementAt](index); } clear() { this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + if (s == null) dart.nullFailed(I[151], 209, 13, "s"); return s.clear(); }, T$0.SetOfStringTovoid())); } modify(f) { - if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + if (f == null) dart.nullFailed(I[151], 222, 10, "f"); let s = this.readClasses(); let ret = f(s); this.writeClasses(s); @@ -101703,7 +111098,8 @@ dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); +dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); +dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); dart.defineExtensionMethods(html_common.CssClassSetImpl, [ 'toString', 'forEach', @@ -101743,53 +111139,62 @@ dart.defineLazy(html_common.CssClassSetImpl, { }, false); html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { static new(elements) { - if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + if (e == null) dart.nullFailed(I[149], 36777, 62, "e"); return e[S.$classes]; }, T$0.ElementToCssClassSet())))); } + static ['_#new#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); + return html$._MultiElementCssClassSet.new(elements); + } + static ['_#_#tearOff'](_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); + return new html$._MultiElementCssClassSet.__(_elementIterable, _sets); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36784, 36, "e"); return s.addAll(e.readClasses()); }, T$0.CssClassSetImplTovoid())); return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + if (s == null) dart.nullFailed(I[149], 36788, 33, "s"); let classes = s[$join](" "); for (let e of this[S$0._elementIterable]) { e.className = classes; } } modify(f) { - if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + if (f == null) dart.nullFailed(I[149], 36804, 10, "f"); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36805, 36, "e"); return e.modify(f); }, T$0.CssClassSetImplTovoid())); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + if (value == null) dart.nullFailed(I[149], 36815, 22, "value"); return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); - if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + if (changed == null) dart.nullFailed(I[149], 36817, 13, "changed"); + if (e == null) dart.nullFailed(I[149], 36817, 38, "e"); return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } remove(value) { return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); - if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + if (changed == null) dart.nullFailed(I[149], 36828, 20, "changed"); + if (e == null) dart.nullFailed(I[149], 36828, 45, "e"); return dart.test(e.remove(value)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } }; (html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { - if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); this[S$0._elementIterable] = _elementIterable; this[S$3._sets] = _sets; ; @@ -101801,16 +111206,21 @@ dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); -dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); +dart.setStaticMethodSignature(html$._MultiElementCssClassSet, () => ['new']); +dart.setLibraryUri(html$._MultiElementCssClassSet, I[150]); dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) })); html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + return new html$._ElementCssClassSet.new(_element); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); - let classname = this[S$1._element$2].className; + let classname = this[S$1._element].className; for (let name of classname[$split](" ")) { let trimmed = name[$trim](); if (!trimmed[$isEmpty]) { @@ -101820,11 +111230,11 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); - this[S$1._element$2].className = s[$join](" "); + if (s == null) dart.nullFailed(I[149], 36849, 33, "s"); + this[S$1._element].className = s[$join](" "); } get length() { - return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element])); } get isEmpty() { return this.length === 0; @@ -101833,81 +111243,81 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla return this.length !== 0; } clear() { - this[S$1._element$2].className = ""; + this[S$1._element].className = ""; } contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + return html$._ElementCssClassSet._contains(this[S$1._element], value); } add(value) { core.String.as(value); - if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); - return html$._ElementCssClassSet._add(this[S$1._element$2], value); + if (value == null) dart.nullFailed(I[149], 36865, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element], value); } remove(value) { - return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element], value)); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); - return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + if (value == null) dart.nullFailed(I[149], 36873, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element], value, shouldAdd); } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36877, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element], iterable); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); - html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36881, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element], iterable); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + if (iterable == null) dart.nullFailed(I[149], 36885, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], dart.bind(iterable[$toSet](), 'contains'), false); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + if (test == null) dart.nullFailed(I[149], 36889, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + if (test == null) dart.nullFailed(I[149], 36893, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, false); } static _contains(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 36897, 33, "_element"); return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); } static _add(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); - if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + if (_element == null) dart.nullFailed(I[149], 36902, 28, "_element"); + if (value == null) dart.nullFailed(I[149], 36902, 45, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); html$._ElementCssClassSet._classListAdd(list, value); return added; } static _remove(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36911, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36911, 48, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); html$._ElementCssClassSet._classListRemove(list, value); return removed; } static _toggle(_element, value, shouldAdd) { - if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36918, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36918, 48, "value"); return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); } static _toggleDefault(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); - if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + if (_element == null) dart.nullFailed(I[149], 36927, 38, "_element"); + if (value == null) dart.nullFailed(I[149], 36927, 55, "value"); let list = html$._ElementCssClassSet._classListOf(_element); return html$._ElementCssClassSet._classListToggle1(list, value); } static _toggleOnOff(_element, value, shouldAdd) { - let t241; - if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); - if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let t222; + if (_element == null) dart.nullFailed(I[149], 36932, 36, "_element"); + if (value == null) dart.nullFailed(I[149], 36932, 53, "value"); let list = html$._ElementCssClassSet._classListOf(_element); - if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + if (dart.test((t222 = shouldAdd, t222 == null ? false : t222))) { html$._ElementCssClassSet._classListAdd(list, value); return true; } else { @@ -101916,25 +111326,25 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla } } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36947, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36947, 58, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListAdd(list, value); } } static _removeAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36954, 34, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36954, 62, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); } } static _removeWhere(_element, test, doRemove) { - if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); - if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); - if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + if (_element == null) dart.nullFailed(I[149], 36962, 15, "_element"); + if (test == null) dart.nullFailed(I[149], 36962, 30, "test"); + if (doRemove == null) dart.nullFailed(I[149], 36962, 54, "doRemove"); let list = html$._ElementCssClassSet._classListOf(_element); let i = 0; while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { @@ -101947,47 +111357,47 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla } } static _classListOf(e) { - if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); return e.classList; } static _classListLength(list) { - if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); return list.length; } static _classListContains(list, value) { - if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); - if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + if (list == null) dart.nullFailed(I[149], 36987, 47, "list"); + if (value == null) dart.nullFailed(I[149], 36987, 60, "value"); return list.contains(value); } static _classListContainsBeforeAddOrRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); - if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + if (list == null) dart.nullFailed(I[149], 36991, 24, "list"); + if (value == null) dart.nullFailed(I[149], 36991, 37, "value"); return list.contains(value); } static _classListAdd(list, value) { - if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); - if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + if (list == null) dart.nullFailed(I[149], 37000, 42, "list"); + if (value == null) dart.nullFailed(I[149], 37000, 55, "value"); list.add(value); } static _classListRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); - if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + if (list == null) dart.nullFailed(I[149], 37005, 45, "list"); + if (value == null) dart.nullFailed(I[149], 37005, 58, "value"); list.remove(value); } static _classListToggle1(list, value) { - if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); - if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + if (list == null) dart.nullFailed(I[149], 37010, 46, "list"); + if (value == null) dart.nullFailed(I[149], 37010, 59, "value"); return list.toggle(value); } static _classListToggle2(list, value, shouldAdd) { - if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); - if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + if (list == null) dart.nullFailed(I[149], 37015, 20, "list"); + if (value == null) dart.nullFailed(I[149], 37015, 33, "value"); return list.toggle(value, shouldAdd); } }; (html$._ElementCssClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._ElementCssClassSet.prototype; dart.addTypeTests(html$._ElementCssClassSet); @@ -101997,14 +111407,55 @@ dart.setMethodSignature(html$._ElementCssClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); -dart.setLibraryUri(html$._ElementCssClassSet, I[148]); +dart.setStaticMethodSignature(html$._ElementCssClassSet, () => ['_contains', '_add', '_remove', '_toggle', '_toggleDefault', '_toggleOnOff', '_addAll', '_removeAll', '_removeWhere', '_classListOf', '_classListLength', '_classListContains', '_classListContainsBeforeAddOrRemove', '_classListAdd', '_classListRemove', '_classListToggle1', '_classListToggle2']); +dart.setLibraryUri(html$._ElementCssClassSet, I[150]); dart.setFieldSignature(html$._ElementCssClassSet, () => ({ __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); html$.Dimension = class Dimension extends core.Object { + static ['_#percent#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); + return new html$.Dimension.percent(_value); + } + static ['_#px#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); + return new html$.Dimension.px(_value); + } + static ['_#pc#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); + return new html$.Dimension.pc(_value); + } + static ['_#pt#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); + return new html$.Dimension.pt(_value); + } + static ['_#inch#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); + return new html$.Dimension.inch(_value); + } + static ['_#cm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); + return new html$.Dimension.cm(_value); + } + static ['_#mm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); + return new html$.Dimension.mm(_value); + } + static ['_#em#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); + return new html$.Dimension.em(_value); + } + static ['_#ex#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); + return new html$.Dimension.ex(_value); + } + static ['_#css#tearOff'](cssValue) { + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); + return new html$.Dimension.css(cssValue); + } toString() { return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); } @@ -102013,61 +111464,61 @@ html$.Dimension = class Dimension extends core.Object { } }; (html$.Dimension.percent = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "%"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.px = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "px"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pc = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pc"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pt = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pt"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.inch = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "in"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.cm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "cm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.mm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "mm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.em = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "em"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.ex = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "ex"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.css = function(cssValue) { - if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); this[S$3._unit] = ""; this[S$1._value$7] = 0; if (cssValue === "") cssValue = "0px"; @@ -102088,7 +111539,7 @@ dart.setGetterSignature(html$.Dimension, () => ({ __proto__: dart.getGetters(html$.Dimension.__proto__), value: core.num })); -dart.setLibraryUri(html$.Dimension, I[148]); +dart.setLibraryUri(html$.Dimension, I[150]); dart.setFieldSignature(html$.Dimension, () => ({ __proto__: dart.getFields(html$.Dimension.__proto__), [S$1._value$7]: dart.fieldType(core.num), @@ -102097,41 +111548,45 @@ dart.setFieldSignature(html$.Dimension, () => ({ dart.defineExtensionMethods(html$.Dimension, ['toString']); const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); html$.EventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class EventStreamProvider extends core.Object { get [S$3._eventType$1]() { - return this[S$3._eventType$2]; + return this[S$3._eventType]; } set [S$3._eventType$1](value) { super[S$3._eventType$1] = value; } + static ['_#new#tearOff'](T, _eventType) { + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + return new (html$.EventStreamProvider$(T)).new(_eventType); + } forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37141, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); } forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + if (e == null) dart.nullFailed(I[149], 37166, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37166, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + if (e == null) dart.nullFailed(I[149], 37185, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37186, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } getEventType(target) { - if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + if (target == null) dart.nullFailed(I[149], 37197, 35, "target"); return this[S$3._eventType$1]; } } (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); - this[S$3._eventType$2] = _eventType; + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + this[S$3._eventType] = _eventType; ; }).prototype = EventStreamProvider.prototype; dart.addTypeTests(EventStreamProvider); @@ -102144,7 +111599,7 @@ html$.EventStreamProvider$ = dart.generic(T => { [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), getEventType: dart.fnType(core.String, [html$.EventTarget]) })); - dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setLibraryUri(EventStreamProvider, I[150]); dart.setFieldSignature(EventStreamProvider, () => ({ __proto__: dart.getFields(EventStreamProvider.__proto__), [S$3._eventType$1]: dart.finalFieldType(core.String) @@ -102164,15 +111619,20 @@ html$.ElementStream$ = dart.generic(T => { ElementStream.prototype[_is_ElementStream_default] = true; dart.addTypeCaches(ElementStream); ElementStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(ElementStream, I[148]); + dart.setLibraryUri(ElementStream, I[150]); return ElementStream; }); html$.ElementStream = html$.ElementStream$(); dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); const _is__EventStream_default = Symbol('_is__EventStream_default'); html$._EventStream$ = dart.generic(T => { - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _EventStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); + return new (html$._EventStream$(T)).new(_target, _eventType, _useCapture); + } asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; @@ -102185,12 +111645,12 @@ html$._EventStream$ = dart.generic(T => { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); } } (_EventStream.new = function(_target, _eventType, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102204,7 +111664,7 @@ html$._EventStream$ = dart.generic(T => { __proto__: dart.getMethods(_EventStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EventStream, I[148]); + dart.setLibraryUri(_EventStream, I[150]); dart.setFieldSignature(_EventStream, () => ({ __proto__: dart.getFields(_EventStream.__proto__), [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), @@ -102217,24 +111677,27 @@ html$._EventStream = html$._EventStream$(); dart.addTypeTests(html$._EventStream, _is__EventStream_default); const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); html$._ElementEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _ElementEventStreamImpl extends html$._EventStream$(T) { + static ['_#new#tearOff'](T, target, eventType, useCapture) { + return new (html$._ElementEventStreamImpl$(T)).new(target, eventType, useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37270, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + if (onData == null) dart.nullFailed(I[149], 37276, 38, "onData"); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); } } (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { @@ -102250,44 +111713,50 @@ html$._ElementEventStreamImpl$ = dart.generic(T => { matches: dart.fnType(async.Stream$(T), [core.String]), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementEventStreamImpl, I[150]); return _ElementEventStreamImpl; }); html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); html$._ElementListEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_StreamPoolOfT = () => (__t$_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); class _ElementListEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, _targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); + return new (html$._ElementListEventStreamImpl$(T)).new(_targetList, _eventType, _useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37294, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let pool = new (_StreamPoolOfT()).broadcast(); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); } return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); - let pool = new (_StreamPoolOfT()).broadcast(); + if (onData == null) dart.nullFailed(I[149], 37311, 38, "onData"); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); } return pool.stream.listen(onData); } @@ -102301,9 +111770,9 @@ html$._ElementListEventStreamImpl$ = dart.generic(T => { } } (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { - if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); - if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); this[S$3._targetList] = _targetList; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102320,7 +111789,7 @@ html$._ElementListEventStreamImpl$ = dart.generic(T => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementListEventStreamImpl, I[150]); dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), @@ -102334,6 +111803,11 @@ dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStream const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); html$._EventStreamSubscription$ = dart.generic(T => { class _EventStreamSubscription extends async.StreamSubscription$(T) { + static ['_#new#tearOff'](T, _target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); + return new (html$._EventStreamSubscription$(T)).new(_target, _eventType, onData, _useCapture); + } cancel() { if (dart.test(this[S$3._canceled])) return _internal.nullFuture; this[S$3._unlisten](); @@ -102350,7 +111824,7 @@ html$._EventStreamSubscription$ = dart.generic(T => { } this[S$3._unlisten](); this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + if (e == null) dart.nullFailed(I[149], 37367, 29, "e"); return dart.dcall(handleData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102391,14 +111865,14 @@ html$._EventStreamSubscription$ = dart.generic(T => { } } (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); this[S$3._pauseCount$1] = 0; this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + if (e == null) dart.nullFailed(I[149], 37340, 33, "e"); return dart.dcall(onData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102423,7 +111897,7 @@ html$._EventStreamSubscription$ = dart.generic(T => { [S$3._canceled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setLibraryUri(_EventStreamSubscription, I[150]); dart.setFieldSignature(_EventStreamSubscription, () => ({ __proto__: dart.getFields(_EventStreamSubscription.__proto__), [S$3._pauseCount$1]: dart.fieldType(core.int), @@ -102447,15 +111921,19 @@ html$.CustomStream$ = dart.generic(T => { CustomStream.prototype[_is_CustomStream_default] = true; dart.addTypeCaches(CustomStream); CustomStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(CustomStream, I[148]); + dart.setLibraryUri(CustomStream, I[150]); return CustomStream; }); html$.CustomStream = html$.CustomStream$(); dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); html$._CustomEventStreamImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _CustomEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, type) { + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); + return new (html$._CustomEventStreamImpl$(T)).new(type); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -102472,14 +111950,14 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { } add(event) { T.as(event); - if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event == null) dart.nullFailed(I[149], 37450, 14, "event"); if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); } } (_CustomEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); this[S$3._type$5] = type; - this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); _CustomEventStreamImpl.__proto__.new.call(this); ; }).prototype = _CustomEventStreamImpl.prototype; @@ -102492,7 +111970,7 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setLibraryUri(_CustomEventStreamImpl, I[150]); dart.setFieldSignature(_CustomEventStreamImpl, () => ({ __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), [S$3._streamController]: dart.fieldType(async.StreamController$(T)), @@ -102502,6 +111980,156 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { }); html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); +html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + static ['_#new#tearOff'](wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + return new html$._WrappedEvent.new(wrapped); + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[149], 40783, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } +}; +(html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; +}).prototype = html$._WrappedEvent.prototype; +dart.addTypeTests(html$._WrappedEvent); +dart.addTypeCaches(html$._WrappedEvent); +html$._WrappedEvent[dart.implements] = () => [html$.Event]; +dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) +})); +dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic +})); +dart.setLibraryUri(html$._WrappedEvent, I[150]); +dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); +dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' +]); html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { get keyCode() { return this[S$3._shadowKeyCode]; @@ -102531,33 +112159,61 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); return _js_helper.makeLeafDispatchRecord(interceptor); } + static ['_#wrap#tearOff'](parent) { + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); + return new html$.KeyEvent.wrap(parent); + } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + return html$.KeyEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, keyCode: keyCode, charCode: charCode, location: location, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, currentTarget: currentTarget}); + } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; - if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); let charCode = opts && 'charCode' in opts ? opts.charCode : 0; - if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); let location = opts && 'location' in opts ? opts.location : 1; - if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; if (view == null) { view = html$.window; } let eventObj = null; - eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); Object.defineProperty(eventObj, 'keyCode', { get: function() { return this.keyCodeVal; @@ -102574,11 +112230,11 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { } }); let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj[S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); eventObj.keyCodeVal = keyCode; eventObj.charCodeVal = charCode; _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); - let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + let keyEvent = new html$.KeyEvent.wrap(eventObj); if (keyEvent[S$3._currentTarget] == null) { keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; } @@ -102591,8 +112247,8 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { return this[S$3._currentTarget]; } static _convertToHexString(charCode, keyCode) { - if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); - if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode == null) dart.nullFailed(I[149], 40652, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[149], 40652, 55, "keyCode"); if (charCode !== -1) { let hex = charCode[$toRadixString](16); let sb = new core.StringBuffer.new("U+"); @@ -102632,10 +112288,10 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { return this[S$3._parent$2][S$.$view]; } [S$._initUIEvent](type, canBubble, cancelable, view, detail) { - if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); - if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + if (type == null) dart.nullFailed(I[149], 40694, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40694, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40694, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[149], 40694, 71, "detail"); dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); } get [S$3._shadowKeyIdentifier]() { @@ -102654,18 +112310,18 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 40709, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40710, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40711, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 40713, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 40715, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 40716, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40717, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 40718, 12, "metaKey"); dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); } getModifierState(keyArgument) { - if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + if (keyArgument == null) dart.nullFailed(I[149], 40723, 32, "keyArgument"); return dart.throw(new core.UnimplementedError.new()); } get repeat() { @@ -102679,7 +112335,7 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { } }; (html$.KeyEvent.wrap = function(parent) { - if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); this[S$3._currentTarget] = null; this[S$3._parent$2] = parent; this[S$3._shadowAltKey] = false; @@ -102702,6 +112358,7 @@ dart.setMethodSignature(html$.KeyEvent, () => ({ getModifierState: dart.fnType(core.bool, [core.String]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); +dart.setStaticMethodSignature(html$.KeyEvent, () => ['_makeRecord', 'new', '_convertToHexString']); dart.setGetterSignature(html$.KeyEvent, () => ({ __proto__: dart.getGetters(html$.KeyEvent.__proto__), keyCode: core.int, @@ -102745,7 +112402,8 @@ dart.setGetterSignature(html$.KeyEvent, () => ({ isComposed: core.bool, [S$._get_view]: dart.dynamic })); -dart.setLibraryUri(html$.KeyEvent, I[148]); +dart.setStaticGetterSignature(html$.KeyEvent, () => ['canUseDispatchEvent']); +dart.setLibraryUri(html$.KeyEvent, I[150]); dart.setFieldSignature(html$.KeyEvent, () => ({ __proto__: dart.getFields(html$.KeyEvent.__proto__), [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), @@ -102754,6 +112412,7 @@ dart.setFieldSignature(html$.KeyEvent, () => ({ [S$3._shadowKeyCode]: dart.fieldType(core.int), [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) })); +dart.setStaticFieldSignature(html$.KeyEvent, () => ['_keyboardEventDispatchRecord', 'keyDownEvent', 'keyUpEvent', 'keyPressEvent']); dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); dart.defineExtensionAccessors(html$.KeyEvent, [ 'keyCode', @@ -102780,20 +112439,30 @@ dart.defineLazy(html$.KeyEvent, { /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { return new html$._KeyboardEventHandler.new("keydown"); }, - set keyDownEvent(_) {}, + set keyDownEvent(value) { + if (value == null) dart.nullFailed(I[149], 40667, 40, "keyDownEvent"); + }, /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { return new html$._KeyboardEventHandler.new("keyup"); }, - set keyUpEvent(_) {}, + set keyUpEvent(value) { + if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); + }, /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { return new html$._KeyboardEventHandler.new("keypress"); }, - set keyPressEvent(_) {} + set keyPressEvent(value) { + if (value == null) dart.nullFailed(I[149], 40673, 40, "keyPressEvent"); + } }, false); html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); + return new html$._CustomKeyEventStreamImpl.new(type); + } add(event) { html$.KeyEvent.as(event); - if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event == null) dart.nullFailed(I[149], 37459, 21, "event"); if (event.type == this[S$3._type$5]) { dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); this[S$3._streamController].add(event); @@ -102801,33 +112470,37 @@ html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$. } }; (html$._CustomKeyEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); ; }).prototype = html$._CustomKeyEventStreamImpl.prototype; dart.addTypeTests(html$._CustomKeyEventStreamImpl); dart.addTypeCaches(html$._CustomKeyEventStreamImpl); html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; -dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); +dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[150]); const _is__StreamPool_default = Symbol('_is__StreamPool_default'); html$._StreamPool$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(__t$StreamOfT(), __t$StreamSubscriptionOfT())))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _StreamPool extends core.Object { + static ['_#broadcast#tearOff'](T) { + return new (html$._StreamPool$(T)).broadcast(); + } get stream() { return dart.nullCheck(this[S$3._controller$2]).stream; } add(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37502, 22, "stream"); if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; - this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + this[S$3._subscriptions][$_set](stream, stream.listen(__t$TTovoid().as(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add')), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); } remove(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37509, 25, "stream"); let subscription = this[S$3._subscriptions][$remove](stream); if (subscription != null) subscription.cancel(); } @@ -102841,8 +112514,8 @@ html$._StreamPool$ = dart.generic(T => { } (_StreamPool.broadcast = function() { this[S$3._controller$2] = null; - this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); - this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + this[S$3._subscriptions] = new (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = __t$StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); }).prototype = _StreamPool.prototype; dart.addTypeTests(_StreamPool); _StreamPool.prototype[_is__StreamPool_default] = true; @@ -102857,7 +112530,7 @@ html$._StreamPool$ = dart.generic(T => { __proto__: dart.getGetters(_StreamPool.__proto__), stream: async.Stream$(T) })); - dart.setLibraryUri(_StreamPool, I[148]); + dart.setLibraryUri(_StreamPool, I[150]); dart.setFieldSignature(_StreamPool, () => ({ __proto__: dart.getFields(_StreamPool.__proto__), [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -102869,9 +112542,9 @@ html$._StreamPool = html$._StreamPool$(); dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); html$._CustomEventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class _CustomEventStreamProvider extends core.Object { get [S$3._eventTypeGetter$1]() { return this[S$3._eventTypeGetter]; @@ -102879,30 +112552,33 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { set [S$3._eventTypeGetter$1](value) { super[S$3._eventTypeGetter$1] = value; } + static ['_#new#tearOff'](T, _eventTypeGetter) { + return new (html$._CustomEventStreamProvider$(T)).new(_eventTypeGetter); + } forTarget(e, opts) { - let t241; + let t222; let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37533, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } forElement(e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37537, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37537, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, (t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222])), useCapture); } [S$1._forElementList](e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37541, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37542, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } getEventType(target) { - let t241; - if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); - return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + let t222; + if (target == null) dart.nullFailed(I[149], 37547, 35, "target"); + return core.String.as((t222 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))); } get [S$3._eventType$1]() { return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); @@ -102927,7 +112603,7 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), [S$3._eventType$1]: core.String })); - dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setLibraryUri(_CustomEventStreamProvider, I[150]); dart.setFieldSignature(_CustomEventStreamProvider, () => ({ __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) @@ -102937,14 +112613,18 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + if (element == null) dart.nullFailed(I[149], 37975, 30, "element"); return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + if (element == null) dart.nullFailed(I[149], 37979, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37979, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37979, 70, "value"); let tagName = html$.Element._safeTagName(element); let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); if (validator == null) { @@ -102956,30 +112636,30 @@ html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); } static _standardAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37991, 51, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37991, 67, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37992, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37992, 41, "context"); return true; } static _uriAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37996, 46, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37996, 62, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37997, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37997, 41, "context"); return context.uriPolicy.allowsUri(value); } }; (html$._Html5NodeValidator.new = function(opts) { - let t241; + let t222; let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + this.uriPolicy = (t222 = uriPolicy, t222 == null ? html$.UriPolicy.new() : t222); if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { for (let attr of html$._Html5NodeValidator._standardAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[410] || CT.C410); } for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); } } }).prototype = html$._Html5NodeValidator.prototype; @@ -102991,20 +112671,22 @@ dart.setMethodSignature(html$._Html5NodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._Html5NodeValidator, I[148]); +dart.setStaticMethodSignature(html$._Html5NodeValidator, () => ['_standardAttributeValidator', '_uriAttributeValidator']); +dart.setLibraryUri(html$._Html5NodeValidator, I[150]); dart.setFieldSignature(html$._Html5NodeValidator, () => ({ __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), uriPolicy: dart.finalFieldType(html$.UriPolicy) })); +dart.setStaticFieldSignature(html$._Html5NodeValidator, () => ['_allowedElements', '_standardAttributes', '_uriAttributes', '_attributeValidators']); dart.defineLazy(html$._Html5NodeValidator, { /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); }, /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { - return C[401] || CT.C401; + return C[412] || CT.C412; }, /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[402] || CT.C402; + return C[413] || CT.C413; }, /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { return new (T$0.IdentityMapOfString$Function()).new(); @@ -103012,7 +112694,7 @@ dart.defineLazy(html$._Html5NodeValidator, { }, false); html$.KeyCode = class KeyCode extends core.Object { static isCharacterKey(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38283, 34, "keyCode"); if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { return true; } @@ -103022,163 +112704,163 @@ html$.KeyCode = class KeyCode extends core.Object { return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; } static _convertKeyCodeToKeyName(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38323, 46, "keyCode"); switch (keyCode) { case 18: - { - return "Alt"; - } + { + return "Alt"; + } case 8: - { - return "Backspace"; - } + { + return "Backspace"; + } case 20: - { - return "CapsLock"; - } + { + return "CapsLock"; + } case 17: - { - return "Control"; - } + { + return "Control"; + } case 46: - { - return "Del"; - } + { + return "Del"; + } case 40: - { - return "Down"; - } + { + return "Down"; + } case 35: - { - return "End"; - } + { + return "End"; + } case 13: - { - return "Enter"; - } + { + return "Enter"; + } case 27: - { - return "Esc"; - } + { + return "Esc"; + } case 112: - { - return "F1"; - } + { + return "F1"; + } case 113: - { - return "F2"; - } + { + return "F2"; + } case 114: - { - return "F3"; - } + { + return "F3"; + } case 115: - { - return "F4"; - } + { + return "F4"; + } case 116: - { - return "F5"; - } + { + return "F5"; + } case 117: - { - return "F6"; - } + { + return "F6"; + } case 118: - { - return "F7"; - } + { + return "F7"; + } case 119: - { - return "F8"; - } + { + return "F8"; + } case 120: - { - return "F9"; - } + { + return "F9"; + } case 121: - { - return "F10"; - } + { + return "F10"; + } case 122: - { - return "F11"; - } + { + return "F11"; + } case 123: - { - return "F12"; - } + { + return "F12"; + } case 36: - { - return "Home"; - } + { + return "Home"; + } case 45: - { - return "Insert"; - } + { + return "Insert"; + } case 37: - { - return "Left"; - } + { + return "Left"; + } case 91: - { - return "Meta"; - } + { + return "Meta"; + } case 144: - { - return "NumLock"; - } + { + return "NumLock"; + } case 34: - { - return "PageDown"; - } + { + return "PageDown"; + } case 33: - { - return "PageUp"; - } + { + return "PageUp"; + } case 19: - { - return "Pause"; - } + { + return "Pause"; + } case 44: - { - return "PrintScreen"; - } + { + return "PrintScreen"; + } case 39: - { - return "Right"; - } + { + return "Right"; + } case 145: - { - return "Scroll"; - } + { + return "Scroll"; + } case 16: - { - return "Shift"; - } + { + return "Shift"; + } case 32: - { - return "Spacebar"; - } + { + return "Spacebar"; + } case 9: - { - return "Tab"; - } + { + return "Tab"; + } case 38: - { - return "Up"; - } + { + return "Up"; + } case 229: case 224: case 91: case 92: - { - return "Win"; - } + { + return "Win"; + } default: - { - return "Unidentified"; - } + { + return "Unidentified"; + } } return "Unidentified"; } @@ -103188,7 +112870,9 @@ html$.KeyCode = class KeyCode extends core.Object { }).prototype = html$.KeyCode.prototype; dart.addTypeTests(html$.KeyCode); dart.addTypeCaches(html$.KeyCode); -dart.setLibraryUri(html$.KeyCode, I[148]); +dart.setStaticMethodSignature(html$.KeyCode, () => ['isCharacterKey', '_convertKeyCodeToKeyName']); +dart.setLibraryUri(html$.KeyCode, I[150]); +dart.setStaticFieldSignature(html$.KeyCode, () => ['WIN_KEY_FF_LINUX', 'MAC_ENTER', 'BACKSPACE', 'TAB', 'NUM_CENTER', 'ENTER', 'SHIFT', 'CTRL', 'ALT', 'PAUSE', 'CAPS_LOCK', 'ESC', 'SPACE', 'PAGE_UP', 'PAGE_DOWN', 'END', 'HOME', 'LEFT', 'UP', 'RIGHT', 'DOWN', 'NUM_NORTH_EAST', 'NUM_SOUTH_EAST', 'NUM_SOUTH_WEST', 'NUM_NORTH_WEST', 'NUM_WEST', 'NUM_NORTH', 'NUM_EAST', 'NUM_SOUTH', 'PRINT_SCREEN', 'INSERT', 'NUM_INSERT', 'DELETE', 'NUM_DELETE', 'ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE', 'FF_SEMICOLON', 'FF_EQUALS', 'QUESTION_MARK', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'META', 'WIN_KEY_LEFT', 'WIN_KEY_RIGHT', 'CONTEXT_MENU', 'NUM_ZERO', 'NUM_ONE', 'NUM_TWO', 'NUM_THREE', 'NUM_FOUR', 'NUM_FIVE', 'NUM_SIX', 'NUM_SEVEN', 'NUM_EIGHT', 'NUM_NINE', 'NUM_MULTIPLY', 'NUM_PLUS', 'NUM_MINUS', 'NUM_PERIOD', 'NUM_DIVISION', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'NUMLOCK', 'SCROLL_LOCK', 'FIRST_MEDIA_KEY', 'LAST_MEDIA_KEY', 'SEMICOLON', 'DASH', 'EQUALS', 'COMMA', 'PERIOD', 'SLASH', 'APOSTROPHE', 'TILDE', 'SINGLE_QUOTE', 'OPEN_SQUARE_BRACKET', 'BACKSLASH', 'CLOSE_SQUARE_BRACKET', 'WIN_KEY', 'MAC_FF_META', 'WIN_IME', 'UNKNOWN']); dart.defineLazy(html$.KeyCode, { /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { return 0; @@ -103569,7 +113253,8 @@ html$.KeyLocation = class KeyLocation extends core.Object {}; }).prototype = html$.KeyLocation.prototype; dart.addTypeTests(html$.KeyLocation); dart.addTypeCaches(html$.KeyLocation); -dart.setLibraryUri(html$.KeyLocation, I[148]); +dart.setLibraryUri(html$.KeyLocation, I[150]); +dart.setStaticFieldSignature(html$.KeyLocation, () => ['STANDARD', 'LEFT', 'RIGHT', 'NUMPAD', 'MOBILE', 'JOYSTICK']); dart.defineLazy(html$.KeyLocation, { /*html$.KeyLocation.STANDARD*/get STANDARD() { return 0; @@ -103596,7 +113281,8 @@ html$._KeyName = class _KeyName extends core.Object {}; }).prototype = html$._KeyName.prototype; dart.addTypeTests(html$._KeyName); dart.addTypeCaches(html$._KeyName); -dart.setLibraryUri(html$._KeyName, I[148]); +dart.setLibraryUri(html$._KeyName, I[150]); +dart.setStaticFieldSignature(html$._KeyName, () => ['ACCEPT', 'ADD', 'AGAIN', 'ALL_CANDIDATES', 'ALPHANUMERIC', 'ALT', 'ALT_GRAPH', 'APPS', 'ATTN', 'BROWSER_BACK', 'BROWSER_FAVORTIES', 'BROWSER_FORWARD', 'BROWSER_NAME', 'BROWSER_REFRESH', 'BROWSER_SEARCH', 'BROWSER_STOP', 'CAMERA', 'CAPS_LOCK', 'CLEAR', 'CODE_INPUT', 'COMPOSE', 'CONTROL', 'CRSEL', 'CONVERT', 'COPY', 'CUT', 'DECIMAL', 'DIVIDE', 'DOWN', 'DOWN_LEFT', 'DOWN_RIGHT', 'EJECT', 'END', 'ENTER', 'ERASE_EOF', 'EXECUTE', 'EXSEL', 'FN', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'F20', 'F21', 'F22', 'F23', 'F24', 'FINAL_MODE', 'FIND', 'FULL_WIDTH', 'HALF_WIDTH', 'HANGUL_MODE', 'HANJA_MODE', 'HELP', 'HIRAGANA', 'HOME', 'INSERT', 'JAPANESE_HIRAGANA', 'JAPANESE_KATAKANA', 'JAPANESE_ROMAJI', 'JUNJA_MODE', 'KANA_MODE', 'KANJI_MODE', 'KATAKANA', 'LAUNCH_APPLICATION_1', 'LAUNCH_APPLICATION_2', 'LAUNCH_MAIL', 'LEFT', 'MENU', 'META', 'MEDIA_NEXT_TRACK', 'MEDIA_PAUSE_PLAY', 'MEDIA_PREVIOUS_TRACK', 'MEDIA_STOP', 'MODE_CHANGE', 'NEXT_CANDIDATE', 'NON_CONVERT', 'NUM_LOCK', 'PAGE_DOWN', 'PAGE_UP', 'PASTE', 'PAUSE', 'PLAY', 'POWER', 'PREVIOUS_CANDIDATE', 'PRINT_SCREEN', 'PROCESS', 'PROPS', 'RIGHT', 'ROMAN_CHARACTERS', 'SCROLL', 'SELECT', 'SELECT_MEDIA', 'SEPARATOR', 'SHIFT', 'SOFT_1', 'SOFT_2', 'SOFT_3', 'SOFT_4', 'STOP', 'SUBTRACT', 'SYMBOL_LOCK', 'UP', 'UP_LEFT', 'UP_RIGHT', 'UNDO', 'VOLUME_DOWN', 'VOLUMN_MUTE', 'VOLUMN_UP', 'WIN', 'ZOOM', 'BACKSPACE', 'TAB', 'CANCEL', 'ESC', 'SPACEBAR', 'DEL', 'DEAD_GRAVE', 'DEAD_EACUTE', 'DEAD_CIRCUMFLEX', 'DEAD_TILDE', 'DEAD_MACRON', 'DEAD_BREVE', 'DEAD_ABOVE_DOT', 'DEAD_UMLAUT', 'DEAD_ABOVE_RING', 'DEAD_DOUBLEACUTE', 'DEAD_CARON', 'DEAD_CEDILLA', 'DEAD_OGONEK', 'DEAD_IOTA', 'DEAD_VOICED_SOUND', 'DEC_SEMIVOICED_SOUND', 'UNIDENTIFIED']); dart.defineLazy(html$._KeyName, { /*html$._KeyName.ACCEPT*/get ACCEPT() { return "Accept"; @@ -104049,18 +113735,26 @@ dart.defineLazy(html$._KeyName, { html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + if (useCapture == null) dart.nullFailed(I[149], 39009, 58, "useCapture"); let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); return handler[S$3._stream$3]; } + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); + return new html$._KeyboardEventHandler.new(_type); + } + static ['_#initializeAllEventListeners#tearOff'](_type, _target) { + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); + return new html$._KeyboardEventHandler.initializeAllEventListeners(_type, _target); + } get [S$3._capsLockOn]() { return this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + if (element == null) dart.nullFailed(I[149], 39044, 29, "element"); return element.keyCode === 20; }, T$0.KeyEventTobool())); } [S$3._determineKeyCodeForKeypress](event) { - if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + if (event == null) dart.nullFailed(I[149], 39053, 50, "event"); for (let prevEvent of this[S$3._keyDownList]) { if (prevEvent[S$3._shadowCharCode] == event.charCode) { return prevEvent.keyCode; @@ -104072,123 +113766,123 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr return -1; } [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); if (event.location === 3) { switch (event.keyCode) { case 96: - { - return 48; - } + { + return 48; + } case 97: - { - return 49; - } + { + return 49; + } case 98: - { - return 50; - } + { + return 50; + } case 99: - { - return 51; - } + { + return 51; + } case 100: - { - return 52; - } + { + return 52; + } case 101: - { - return 53; - } + { + return 53; + } case 102: - { - return 54; - } + { + return 54; + } case 103: - { - return 55; - } + { + return 55; + } case 104: - { - return 56; - } + { + return 56; + } case 105: - { - return 57; - } + { + return 57; + } case 106: - { - return 42; - } + { + return 42; + } case 107: - { - return 43; - } + { + return 43; + } case 109: - { - return 45; - } + { + return 45; + } case 110: - { - return 46; - } + { + return 46; + } case 111: - { - return 47; - } + { + return 47; + } } } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); } switch (event.keyCode) { case 186: - { - return 59; - } + { + return 59; + } case 187: - { - return 61; - } + { + return 61; + } case 188: - { - return 44; - } + { + return 44; + } case 189: - { - return 45; - } + { + return 45; + } case 190: - { - return 46; - } + { + return 46; + } case 191: - { - return 47; - } + { + return 47; + } case 192: - { - return 96; - } + { + return 96; + } case 219: - { - return 91; - } + { + return 91; + } case 220: - { - return 92; - } + { + return 92; + } case 221: - { - return 93; - } + { + return 93; + } case 222: - { - return 39; - } + { + return 39; + } } return event.keyCode; } [S$3._firesKeyPressEvent](event) { - if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (event == null) dart.nullFailed(I[149], 39151, 37, "event"); if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { return true; } @@ -104206,42 +113900,42 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } switch (event.keyCode) { case 13: - { - return !dart.test(html_common.Device.isIE); - } + { + return !dart.test(html_common.Device.isIE); + } case 27: - { - return !dart.test(html_common.Device.isWebKit); - } + { + return !dart.test(html_common.Device.isWebKit); + } } return html$.KeyCode.isCharacterKey(event.keyCode); } [S$3._normalizeKeyCodes](event) { - if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (event == null) dart.nullFailed(I[149], 39208, 40, "event"); if (dart.test(html_common.Device.isFirefox)) { switch (event.keyCode) { case 61: - { - return 187; - } + { + return 187; + } case 59: - { - return 186; - } + { + return 186; + } case 224: - { - return 91; - } + { + return 91; + } case 0: - { - return 224; - } + { + return 224; + } } } return event.keyCode; } processKeyDown(e) { - if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (e == null) dart.nullFailed(I[149], 39226, 37, "e"); if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { this[S$3._keyDownList][$clear](); } @@ -104255,7 +113949,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr this[S$3._stream$3].add(event); } processKeyPress(event) { - if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + if (event == null) dart.nullFailed(I[149], 39258, 38, "event"); let e = new html$.KeyEvent.wrap(event); if (dart.test(html_common.Device.isIE)) { if (e.keyCode === 13 || e.keyCode === 27) { @@ -104271,13 +113965,13 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); } e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + if (element == null) dart.nullFailed(I[149], 39283, 45, "element"); return element.altKey; }, T$0.KeyEventTobool())); this[S$3._stream$3].add(e); } processKeyUp(event) { - if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + if (event == null) dart.nullFailed(I[149], 39288, 35, "event"); let e = new html$.KeyEvent.wrap(event); let toRemove = null; for (let key of this[S$3._keyDownList]) { @@ -104287,7 +113981,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } if (toRemove != null) { this[S$3._keyDownList][$removeWhere](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + if (element == null) dart.nullFailed(I[149], 39297, 33, "element"); return dart.equals(element, toRemove); }, T$0.KeyEventTobool())); } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { @@ -104297,7 +113991,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } }; (html$._KeyboardEventHandler.new = function(_type) { - if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); @@ -104306,7 +114000,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr ; }).prototype = html$._KeyboardEventHandler.prototype; (html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._target$2] = _target; @@ -104333,7 +114027,7 @@ dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), [S$3._capsLockOn]: core.bool })); -dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); +dart.setLibraryUri(html$._KeyboardEventHandler, I[150]); dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), @@ -104341,6 +114035,7 @@ dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) })); +dart.setStaticFieldSignature(html$._KeyboardEventHandler, () => ['_ROMAN_ALPHABET_OFFSET', '_EVENT_TYPE', '_keyIdentifier']); dart.defineLazy(html$._KeyboardEventHandler, { /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); @@ -104349,30 +114044,40 @@ dart.defineLazy(html$._KeyboardEventHandler, { return "KeyEvent"; }, /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[403] || CT.C403; + return C[414] || CT.C414; } }, false); html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { static onKeyPress(target) { - if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + if (target == null) dart.nullFailed(I[149], 39325, 56, "target"); return new html$._KeyboardEventHandler.new("keypress").forTarget(target); } static onKeyUp(target) { - if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + if (target == null) dart.nullFailed(I[149], 39329, 53, "target"); return new html$._KeyboardEventHandler.new("keyup").forTarget(target); } static onKeyDown(target) { - if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + if (target == null) dart.nullFailed(I[149], 39333, 55, "target"); return new html$._KeyboardEventHandler.new("keydown").forTarget(target); } + static ['_#new#tearOff']() { + return new html$.KeyboardEventStream.new(); + } }; (html$.KeyboardEventStream.new = function() { ; }).prototype = html$.KeyboardEventStream.prototype; dart.addTypeTests(html$.KeyboardEventStream); dart.addTypeCaches(html$.KeyboardEventStream); -dart.setLibraryUri(html$.KeyboardEventStream, I[148]); +dart.setStaticMethodSignature(html$.KeyboardEventStream, () => ['onKeyPress', 'onKeyUp', 'onKeyDown']); +dart.setLibraryUri(html$.KeyboardEventStream, I[150]); html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + static ['_#new#tearOff']() { + return new html$.NodeValidatorBuilder.new(); + } + static ['_#common#tearOff']() { + return new html$.NodeValidatorBuilder.common(); + } allowNavigation(uriPolicy = null) { if (uriPolicy == null) { uriPolicy = html$.UriPolicy.new(); @@ -104405,18 +114110,18 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._SvgNodeValidator.new()); } allowCustomElement(tagName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39484, 34, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39490, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39492, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104425,20 +114130,20 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); } allowTagExtension(tagName, baseName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); - if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39509, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[149], 39509, 49, "baseName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let baseNameUpper = baseName[$toUpperCase](); let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39516, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39518, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104447,7 +114152,7 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); } allowElement(tagName, opts) { - if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 39527, 28, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; @@ -104457,22 +114162,22 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._TemplatingNodeValidator.new()); } add(validator) { - if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + if (validator == null) dart.nullFailed(I[149], 39554, 26, "validator"); this[S$3._validators][$add](validator); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39558, 30, "element"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + if (v == null) dart.nullFailed(I[149], 39559, 29, "v"); return v.allowsElement(element); }, T$0.NodeValidatorTobool())); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39562, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39562, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39562, 70, "value"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + if (v == null) dart.nullFailed(I[149], 39564, 15, "v"); return v.allowsAttribute(element, attributeName, value); }, T$0.NodeValidatorTobool())); } @@ -104504,31 +114209,48 @@ dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); +dart.setLibraryUri(html$.NodeValidatorBuilder, I[150]); dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) })); html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { static allowNavigation(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[416] || CT.C416, allowedAttributes: C[417] || CT.C417, allowedUriAttributes: C[418] || CT.C418}); + } + static ['_#allowNavigation#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return html$._SimpleNodeValidator.allowNavigation(uriPolicy); } static allowImages(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[419] || CT.C419, allowedAttributes: C[420] || CT.C420, allowedUriAttributes: C[421] || CT.C421}); + } + static ['_#allowImages#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return html$._SimpleNodeValidator.allowImages(uriPolicy); } static allowTextElements() { - return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[422] || CT.C422}); + } + static ['_#allowTextElements#tearOff']() { + return html$._SimpleNodeValidator.allowTextElements(); + } + static ['_#new#tearOff'](uriPolicy, opts) { + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39662, 30, "element"); return this.allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39666, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39666, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39666, 70, "value"); let tagName = html$.Element._safeTagName(element); if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { return dart.nullCheck(this.uriPolicy).allowsUri(value); @@ -104547,7 +114269,7 @@ html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { } }; (html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - let t241, t241$, t241$0; + let t222, t222$, t222$0; let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; @@ -104555,15 +114277,15 @@ html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); this.uriPolicy = uriPolicy; - this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); - allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); - allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + this.allowedElements.addAll((t222 = allowedElements, t222 == null ? C[415] || CT.C415 : t222)); + allowedAttributes = (t222$ = allowedAttributes, t222$ == null ? C[415] || CT.C415 : t222$); + allowedUriAttributes = (t222$0 = allowedUriAttributes, t222$0 == null ? C[415] || CT.C415 : t222$0); let legalAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39654, 17, "x"); return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); }, T$.StringTobool())); let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39656, 17, "x"); return html$._Html5NodeValidator._uriAttributes[$contains](x); }, T$.StringTobool())); this.allowedAttributes.addAll(legalAttributes); @@ -104578,7 +114300,8 @@ dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); +dart.setStaticMethodSignature(html$._SimpleNodeValidator, () => ['allowNavigation', 'allowImages', 'allowTextElements']); +dart.setLibraryUri(html$._SimpleNodeValidator, I[150]); dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), allowedElements: dart.finalFieldType(core.Set$(core.String)), @@ -104587,8 +114310,15 @@ dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) })); html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff'](uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); + return new html$._CustomElementNodeValidator.new(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39703, 30, "element"); if (dart.test(this.allowTypeExtension)) { let isAttr = element[S.$attributes][$_get]("is"); if (isAttr != null) { @@ -104598,9 +114328,9 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39715, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39715, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39715, 70, "value"); if (dart.test(this.allowsElement(element))) { if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { return true; @@ -104611,10 +114341,10 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht } }; (html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { - if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); - if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); - if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); - if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); this.allowTypeExtension = allowTypeExtension === true; this.allowCustomTag = allowCustomTag === true; html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); @@ -104622,17 +114352,20 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht }).prototype = html$._CustomElementNodeValidator.prototype; dart.addTypeTests(html$._CustomElementNodeValidator); dart.addTypeCaches(html$._CustomElementNodeValidator); -dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); +dart.setLibraryUri(html$._CustomElementNodeValidator, I[150]); dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), allowTypeExtension: dart.finalFieldType(core.bool), allowCustomTag: dart.finalFieldType(core.bool) })); html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff']() { + return new html$._TemplatingNodeValidator.new(); + } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39746, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39746, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39746, 70, "value"); if (dart.test(super.allowsAttribute(element, attributeName, value))) { return true; } @@ -104648,25 +114381,26 @@ html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._S (html$._TemplatingNodeValidator.new = function() { this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { - if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + if (attr == null) dart.nullFailed(I[149], 39744, 38, "attr"); return "TEMPLATE::" + dart.str(attr); }, T$.StringToString()))}); }).prototype = html$._TemplatingNodeValidator.prototype; dart.addTypeTests(html$._TemplatingNodeValidator); dart.addTypeCaches(html$._TemplatingNodeValidator); -dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); +dart.setLibraryUri(html$._TemplatingNodeValidator, I[150]); dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) })); +dart.setStaticFieldSignature(html$._TemplatingNodeValidator, () => ['_TEMPLATE_ATTRS']); dart.defineLazy(html$._TemplatingNodeValidator, { /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { - return C[412] || CT.C412; + return C[423] || CT.C423; } }, false); html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); if (svg$.ScriptElement.is(element)) { return false; } @@ -104679,14 +114413,17 @@ html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { return false; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39781, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39781, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39781, 70, "value"); if (attributeName === "is" || attributeName[$startsWith]("on")) { return false; } return this.allowsElement(element); } + static ['_#new#tearOff']() { + return new html$._SvgNodeValidator.new(); + } }; (html$._SvgNodeValidator.new = function() { ; @@ -104699,14 +114436,15 @@ dart.setMethodSignature(html$._SvgNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._SvgNodeValidator, I[148]); +dart.setLibraryUri(html$._SvgNodeValidator, I[150]); html$.ReadyState = class ReadyState extends core.Object {}; (html$.ReadyState.new = function() { ; }).prototype = html$.ReadyState.prototype; dart.addTypeTests(html$.ReadyState); dart.addTypeCaches(html$.ReadyState); -dart.setLibraryUri(html$.ReadyState, I[148]); +dart.setLibraryUri(html$.ReadyState, I[150]); +dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); dart.defineLazy(html$.ReadyState, { /*html$.ReadyState.LOADING*/get LOADING() { return "loading"; @@ -104720,19 +114458,23 @@ dart.defineLazy(html$.ReadyState, { }, false); const _is__WrappedList_default = Symbol('_is__WrappedList_default'); html$._WrappedList$ = dart.generic(E => { - var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$_WrappedIteratorOfE = () => (__t$_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class _WrappedList extends collection.ListBase$(E) { + static ['_#new#tearOff'](E, _list) { + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); + return new (html$._WrappedList$(E)).new(_list); + } get iterator() { - return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + return new (__t$_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); } get length() { return this[S$3._list$19][$length]; } add(element) { E.as(element); - if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + if (element == null) dart.nullFailed(I[149], 39834, 14, "element"); this[S$3._list$19][$add](element); } remove(element) { @@ -104742,19 +114484,19 @@ html$._WrappedList$ = dart.generic(E => { this[S$3._list$19][$clear](); } _get(index) { - if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + if (index == null) dart.nullFailed(I[149], 39846, 21, "index"); return E.as(this[S$3._list$19][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + if (index == null) dart.nullFailed(I[149], 39848, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + if (value == null) dart.nullFailed(I[149], 39848, 34, "value"); this[S$3._list$19][$_set](index, value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 39852, 18, "newLength"); this[S$3._list$19][$length] = newLength; } sort(compare = null) { @@ -104762,53 +114504,53 @@ html$._WrappedList$ = dart.generic(E => { this[S$3._list$19][$sort](); } else { this[S$3._list$19][$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); - if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + if (a == null) dart.nullFailed(I[149], 39860, 24, "a"); + if (b == null) dart.nullFailed(I[149], 39860, 32, "b"); return compare(E.as(a), E.as(b)); }, T$0.NodeAndNodeToint())); } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + if (start == null) dart.nullFailed(I[149], 39864, 37, "start"); return this[S$3._list$19][$indexOf](html$.Node.as(element), start); } lastIndexOf(element, start = null) { return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + if (index == null) dart.nullFailed(I[149], 39870, 19, "index"); E.as(element); - if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + if (element == null) dart.nullFailed(I[149], 39870, 28, "element"); return this[S$3._list$19][$insert](index, element); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + if (index == null) dart.nullFailed(I[149], 39872, 18, "index"); return E.as(this[S$3._list$19][$removeAt](index)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); - if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 39874, 21, "start"); + if (end == null) dart.nullFailed(I[149], 39874, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39874, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 39874, 64, "skipCount"); this[S$3._list$19][$setRange](start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); - if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + if (start == null) dart.nullFailed(I[149], 39878, 24, "start"); + if (end == null) dart.nullFailed(I[149], 39878, 35, "end"); this[S$3._list$19][$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); - if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 39882, 25, "start"); + if (end == null) dart.nullFailed(I[149], 39882, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39882, 53, "iterable"); this[S$3._list$19][$replaceRange](start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); - if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 39886, 22, "start"); + if (end == null) dart.nullFailed(I[149], 39886, 33, "end"); + __t$EN().as(fillValue); this[S$3._list$19][$fillRange](start, end, fillValue); } get rawList() { @@ -104816,7 +114558,7 @@ html$._WrappedList$ = dart.generic(E => { } } (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); this[S$3._list$19] = _list; ; }).prototype = _WrappedList.prototype; @@ -104842,7 +114584,7 @@ html$._WrappedList$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_WrappedList, I[148]); + dart.setLibraryUri(_WrappedList, I[150]); dart.setFieldSignature(_WrappedList, () => ({ __proto__: dart.getFields(_WrappedList.__proto__), [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) @@ -104871,16 +114613,20 @@ dart.addTypeTests(html$._WrappedList, _is__WrappedList_default); const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); html$._WrappedIterator$ = dart.generic(E => { class _WrappedIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + return new (html$._WrappedIterator$(E)).new(_iterator); + } moveNext() { - return this[S$3._iterator$3].moveNext(); + return this[S$3._iterator$2].moveNext(); } get current() { - return E.as(this[S$3._iterator$3].current); + return E.as(this[S$3._iterator$2].current); } } (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); - this[S$3._iterator$3] = _iterator; + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + this[S$3._iterator$2] = _iterator; ; }).prototype = _WrappedIterator.prototype; dart.addTypeTests(_WrappedIterator); @@ -104895,10 +114641,10 @@ html$._WrappedIterator$ = dart.generic(E => { __proto__: dart.getGetters(_WrappedIterator.__proto__), current: E })); - dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setLibraryUri(_WrappedIterator, I[150]); dart.setFieldSignature(_WrappedIterator, () => ({ __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) })); return _WrappedIterator; }); @@ -104906,14 +114652,14 @@ html$._WrappedIterator = html$._WrappedIterator$(); dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { static get(url, onComplete, withCredentials) { - if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); - if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); - if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + if (url == null) dart.nullFailed(I[149], 39914, 14, "url"); + if (onComplete == null) dart.nullFailed(I[149], 39914, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[149], 39914, 57, "withCredentials"); let request = html$.HttpRequest.new(); request.open("GET", url, {async: true}); request.withCredentials = withCredentials; request[S$1.$onReadyStateChange].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (e == null) dart.nullFailed(I[149], 39920, 40, "e"); if (request.readyState === 4) { onComplete(request); } @@ -104921,34 +114667,42 @@ html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { request.send(); return request; } + static ['_#new#tearOff']() { + return new html$._HttpRequestUtils.new(); + } }; (html$._HttpRequestUtils.new = function() { ; }).prototype = html$._HttpRequestUtils.prototype; dart.addTypeTests(html$._HttpRequestUtils); dart.addTypeCaches(html$._HttpRequestUtils); -dart.setLibraryUri(html$._HttpRequestUtils, I[148]); +dart.setStaticMethodSignature(html$._HttpRequestUtils, () => ['get']); +dart.setLibraryUri(html$._HttpRequestUtils, I[150]); const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); html$.FixedSizeListIterator$ = dart.generic(T => { class FixedSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + return new (html$.FixedSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$2._length$3])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$2._length$3]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (FixedSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; this[S$2._length$3] = array[$length]; @@ -104966,13 +114720,13 @@ html$.FixedSizeListIterator$ = dart.generic(T => { __proto__: dart.getGetters(FixedSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setLibraryUri(FixedSizeListIterator, I[150]); dart.setFieldSignature(FixedSizeListIterator, () => ({ __proto__: dart.getFields(FixedSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$2._length$3]: dart.finalFieldType(core.int), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return FixedSizeListIterator; }); @@ -104981,24 +114735,28 @@ dart.addTypeTests(html$.FixedSizeListIterator, _is_FixedSizeListIterator_default const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); html$._VariableSizeListIterator$ = dart.generic(T => { class _VariableSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + return new (html$._VariableSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$3._array][$length])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$3._array][$length]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (_VariableSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; ; @@ -105015,18 +114773,21 @@ html$._VariableSizeListIterator$ = dart.generic(T => { __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setLibraryUri(_VariableSizeListIterator, I[150]); dart.setFieldSignature(_VariableSizeListIterator, () => ({ __proto__: dart.getFields(_VariableSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return _VariableSizeListIterator; }); html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); html$.Console = class Console extends core.Object { + static ['_#_safe#tearOff']() { + return new html$.Console._safe(); + } get [S$3._isConsoleDefined]() { return typeof console != "undefined"; } @@ -105139,15 +114900,21 @@ dart.setGetterSignature(html$.Console, () => ({ [S$3._isConsoleDefined]: core.bool, memory: dart.nullable(html$.MemoryInfo) })); -dart.setLibraryUri(html$.Console, I[148]); +dart.setLibraryUri(html$.Console, I[150]); +dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); dart.defineLazy(html$.Console, { /*html$.Console._safeConsole*/get _safeConsole() { - return C[413] || CT.C413; + return C[424] || CT.C424; } }, false); html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + static ['_#new#tearOff'](document, type, extendsTag) { + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); + return new html$._JSElementUpgrader.new(document, type, extendsTag); + } upgrade(element) { - if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (element == null) dart.nullFailed(I[149], 40336, 27, "element"); if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); @@ -105159,8 +114926,8 @@ html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { } }; (html$._JSElementUpgrader.new = function(document, type, extendsTag) { - if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); - if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); this[S$3._interceptor] = null; this[S$3._constructor] = null; this[S$3._nativeType] = null; @@ -105196,7 +114963,7 @@ dart.setMethodSignature(html$._JSElementUpgrader, () => ({ __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), upgrade: dart.fnType(html$.Element, [html$.Element]) })); -dart.setLibraryUri(html$._JSElementUpgrader, I[148]); +dart.setLibraryUri(html$._JSElementUpgrader, I[150]); dart.setFieldSignature(html$._JSElementUpgrader, () => ({ __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), [S$3._interceptor]: dart.fieldType(dart.dynamic), @@ -105226,13 +114993,16 @@ html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { return this[S$3._window].close(); } postMessage(message, targetOrigin, messagePorts = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 40381, 40, "targetOrigin"); if (messagePorts == null) { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); } else { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); } } + static ['_#new#tearOff'](_window) { + return new html$._DOMWindowCrossFrame.new(_window); + } static _createSafe(w) { if (core.identical(w, html$.window)) { return html$.WindowBase.as(w); @@ -105248,18 +115018,18 @@ html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } addEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + if (type == null) dart.nullFailed(I[149], 40418, 32, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } dispatchEvent(event) { - if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + if (event == null) dart.nullFailed(I[149], 40423, 28, "event"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } [S._removeEventListener](type, listener, useCapture = null) { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } removeEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + if (type == null) dart.nullFailed(I[149], 40431, 35, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } }; @@ -105285,6 +115055,7 @@ dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$._DOMWindowCrossFrame, () => ['_createSafe']); dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), history: html$.HistoryBase, @@ -105302,7 +115073,7 @@ dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ on: html$.Events, [S.$on]: html$.Events })); -dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); +dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), [S$3._window]: dart.finalFieldType(dart.dynamic) @@ -105325,12 +115096,15 @@ dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ ]); html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { set href(val) { - if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + if (val == null) dart.nullFailed(I[149], 40443, 19, "val"); return html$._LocationCrossFrame._setHref(this[S$3._location], val); } static _setHref(location, val) { location.href = val; } + static ['_#new#tearOff'](_location) { + return new html$._LocationCrossFrame.new(_location); + } static _createSafe(location) { if (core.identical(location, html$.window[S$0.$location])) { return html$.LocationBase.as(location); @@ -105346,12 +115120,13 @@ html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { dart.addTypeTests(html$._LocationCrossFrame); dart.addTypeCaches(html$._LocationCrossFrame); html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; +dart.setStaticMethodSignature(html$._LocationCrossFrame, () => ['_setHref', '_createSafe']); dart.setSetterSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), href: core.String, [S$.$href]: core.String })); -dart.setLibraryUri(html$._LocationCrossFrame, I[148]); +dart.setLibraryUri(html$._LocationCrossFrame, I[150]); dart.setFieldSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), [S$3._location]: dart.fieldType(dart.dynamic) @@ -105365,9 +115140,12 @@ html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { return this[S$3._history].forward(); } go(distance) { - if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + if (distance == null) dart.nullFailed(I[149], 40471, 15, "distance"); return this[S$3._history].go(distance); } + static ['_#new#tearOff'](_history) { + return new html$._HistoryCrossFrame.new(_history); + } static _createSafe(h) { if (core.identical(h, html$.window.history)) { return html$.HistoryBase.as(h); @@ -105392,19 +115170,25 @@ dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ go: dart.fnType(dart.void, [core.int]), [S$1.$go]: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); +dart.setStaticMethodSignature(html$._HistoryCrossFrame, () => ['_createSafe']); +dart.setLibraryUri(html$._HistoryCrossFrame, I[150]); dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), [S$3._history]: dart.fieldType(dart.dynamic) })); dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); -html$.Platform = class Platform extends core.Object {}; +html$.Platform = class Platform extends core.Object { + static ['_#new#tearOff']() { + return new html$.Platform.new(); + } +}; (html$.Platform.new = function() { ; }).prototype = html$.Platform.prototype; dart.addTypeTests(html$.Platform); dart.addTypeCaches(html$.Platform); -dart.setLibraryUri(html$.Platform, I[148]); +dart.setLibraryUri(html$.Platform, I[150]); +dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); dart.defineLazy(html$.Platform, { /*html$.Platform.supportsTypedData*/get supportsTypedData() { return !!window.ArrayBuffer; @@ -105419,41 +115203,59 @@ html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; }).prototype = html$.ElementUpgrader.prototype; dart.addTypeTests(html$.ElementUpgrader); dart.addTypeCaches(html$.ElementUpgrader); -dart.setLibraryUri(html$.ElementUpgrader, I[148]); +dart.setLibraryUri(html$.ElementUpgrader, I[150]); html$.NodeValidator = class NodeValidator extends core.Object { static new(opts) { let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); } + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return html$.NodeValidator.new({uriPolicy: uriPolicy}); + } static throws(base) { - if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); return new html$._ThrowsNodeValidator.new(base); } + static ['_#throws#tearOff'](base) { + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); + return html$.NodeValidator.throws(base); + } }; (html$.NodeValidator[dart.mixinNew] = function() { }).prototype = html$.NodeValidator.prototype; dart.addTypeTests(html$.NodeValidator); dart.addTypeCaches(html$.NodeValidator); -dart.setLibraryUri(html$.NodeValidator, I[148]); +dart.setStaticMethodSignature(html$.NodeValidator, () => ['new', 'throws']); +dart.setLibraryUri(html$.NodeValidator, I[150]); html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { static new(validator) { - if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); return new html$._ValidatingTreeSanitizer.new(validator); } + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); + return html$.NodeTreeSanitizer.new(validator); + } }; (html$.NodeTreeSanitizer[dart.mixinNew] = function() { }).prototype = html$.NodeTreeSanitizer.prototype; dart.addTypeTests(html$.NodeTreeSanitizer); dart.addTypeCaches(html$.NodeTreeSanitizer); -dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); +dart.setStaticMethodSignature(html$.NodeTreeSanitizer, () => ['new']); +dart.setLibraryUri(html$.NodeTreeSanitizer, I[150]); +dart.setStaticFieldSignature(html$.NodeTreeSanitizer, () => ['trusted']); dart.defineLazy(html$.NodeTreeSanitizer, { /*html$.NodeTreeSanitizer.trusted*/get trusted() { - return C[414] || CT.C414; + return C[425] || CT.C425; } }, false); html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + static ['_#new#tearOff']() { + return new html$._TrustedHtmlTreeSanitizer.new(); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + if (node == null) dart.nullFailed(I[149], 40983, 21, "node"); } }; (html$._TrustedHtmlTreeSanitizer.new = function() { @@ -105466,23 +115268,30 @@ dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), sanitizeTree: dart.fnType(dart.void, [html$.Node]) })); -dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); +dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[150]); html$.UriPolicy = class UriPolicy extends core.Object { static new() { return new html$._SameOriginUriPolicy.new(); } + static ['_#new#tearOff']() { + return html$.UriPolicy.new(); + } }; (html$.UriPolicy[dart.mixinNew] = function() { }).prototype = html$.UriPolicy.prototype; dart.addTypeTests(html$.UriPolicy); dart.addTypeCaches(html$.UriPolicy); -dart.setLibraryUri(html$.UriPolicy, I[148]); +dart.setStaticMethodSignature(html$.UriPolicy, () => ['new']); +dart.setLibraryUri(html$.UriPolicy, I[150]); html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { allowsUri(uri) { - if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + if (uri == null) dart.nullFailed(I[149], 41019, 25, "uri"); this[S$3._hiddenAnchor].href = uri; return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); } + static ['_#new#tearOff']() { + return new html$._SameOriginUriPolicy.new(); + } }; (html$._SameOriginUriPolicy.new = function() { this[S$3._hiddenAnchor] = html$.AnchorElement.new(); @@ -105496,24 +115305,28 @@ dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), allowsUri: dart.fnType(core.bool, [core.String]) })); -dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); +dart.setLibraryUri(html$._SameOriginUriPolicy, I[150]); dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), [S$3._loc]: dart.finalFieldType(html$.Location) })); html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); + return new html$._ThrowsNodeValidator.new(validator); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (element == null) dart.nullFailed(I[149], 41036, 30, "element"); if (!dart.test(this.validator.allowsElement(element))) { dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); } return true; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (element == null) dart.nullFailed(I[149], 41043, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 41043, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 41043, 70, "value"); if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); } @@ -105521,7 +115334,7 @@ html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { } }; (html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); this.validator = validator; }).prototype = html$._ThrowsNodeValidator.prototype; dart.addTypeTests(html$._ThrowsNodeValidator); @@ -105532,16 +115345,20 @@ dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); +dart.setLibraryUri(html$._ThrowsNodeValidator, I[150]); dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), validator: dart.finalFieldType(html$.NodeValidator) })); html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41063, 26, "node"); const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); this.sanitizeNode(node, parent); let child = node.lastChild; while (child != null) { @@ -105572,7 +115389,7 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); } [S$3._removeNode](node, parent) { - if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + if (node == null) dart.nullFailed(I[149], 41100, 25, "node"); this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; if (parent == null || !dart.equals(parent, node.parentNode)) { node[$remove](); @@ -105605,7 +115422,7 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj throw e$0; } try { - let elementTagName = html$.Element._safeTagName(element); + let elementTagName = html$.Element._safeTagName(html$.Element.as(element)); this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); } catch (e$1) { let ex = dart.getThrown(e$1); @@ -105620,11 +115437,11 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } } [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); - if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); - if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); - if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); - if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (element == null) dart.nullFailed(I[149], 41166, 33, "element"); + if (corrupted == null) dart.nullFailed(I[149], 41166, 61, "corrupted"); + if (text == null) dart.nullFailed(I[149], 41167, 14, "text"); + if (tag == null) dart.nullFailed(I[149], 41167, 27, "tag"); + if (attrs == null) dart.nullFailed(I[149], 41167, 36, "attrs"); if (false !== corrupted) { this[S$3._removeNode](element, parent); html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); @@ -105656,29 +115473,29 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } } sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); switch (node.nodeType) { case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } case 8: case 11: case 3: case 4: - { - break; - } + { + break; + } default: - { - this[S$3._removeNode](node, parent); - } + { + this[S$3._removeNode](node, parent); + } } } }; (html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); this.numTreeModifications = 0; this.validator = validator; }).prototype = html$._ValidatingTreeSanitizer.prototype; @@ -105693,18 +115510,18 @@ dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) })); -dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); +dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[150]); dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), validator: dart.fieldType(html$.NodeValidator), numTreeModifications: dart.fieldType(core.int) })); html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[426] || CT.C426); }; html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { - if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); - if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + if (event == null) dart.nullFailed(I[149], 37256, 34, "event"); + if (selector == null) dart.nullFailed(I[149], 37256, 48, "selector"); let target = event[S.$target]; return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; }; @@ -105746,13 +115563,19 @@ html$._callConstructor = function _callConstructor(constructor, interceptor) { }, T$.dynamicToObjectN()); }; html$._callAttached = function _callAttached(receiver) { - return dart.dsend(receiver, 'attached', []); + if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); + return receiver[S.$attached](); }; html$._callDetached = function _callDetached(receiver) { - return dart.dsend(receiver, 'detached', []); + if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); + return receiver[S.$detached](); }; html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { - return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); + if (receiver == null) dart.nullFailed(I[149], 40162, 13, "receiver"); + if (name == null) dart.nullFailed(I[149], 40162, 30, "name"); + if (oldValue == null) dart.nullFailed(I[149], 40162, 43, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 40162, 60, "newValue"); + return receiver[S.$attributeChanged](name, oldValue, newValue); }; html$._makeCallbackMethod = function _makeCallbackMethod(callback) { return (function(invokeCallback) { @@ -105769,15 +115592,16 @@ html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); }; html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { - if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); - if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); - if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (element == null) dart.nullFailed(I[149], 40195, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[149], 40195, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[149], 40195, 48, "baseClassName"); if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); } }; html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + if (document == null) dart.nullFailed(I[149], 40204, 51, "document"); + if (tag == null) dart.nullFailed(I[149], 40204, 68, "tag"); let extendsTagName = ""; let type = null; if (options != null) { @@ -105803,8 +115627,8 @@ html$._registerCustomElement = function _registerCustomElement(context, document dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); } } else { - let element = dart.dsend(document, 'createElement', [extendsTagName]); - html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + let element = document[S.$createElement](extendsTagName); + html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); } let baseConstructor = context[baseClassName]; let properties = {}; @@ -105822,7 +115646,7 @@ html$._registerCustomElement = function _registerCustomElement(context, document return document.registerElement(tag, opts); }; html$._initializeCustomElement = function _initializeCustomElement(e) { - if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); + if (e == null) dart.nullFailed(I[149], 40291, 39, "e"); }; html$._wrapZone = function _wrapZone(T, callback) { if (dart.equals(async.Zone.current, async.Zone.root)) return callback; @@ -105835,11 +115659,11 @@ html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); }; html$.querySelector = function querySelector(selectors) { - if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40872, 31, "selectors"); return html$.document.querySelector(selectors); }; html$.querySelectorAll = function querySelectorAll(T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40890, 59, "selectors"); return html$.document[S.$querySelectorAll](T, selectors); }; dart.copyProperties(html$, { @@ -105881,11 +115705,11 @@ html_common._StructuredClone = class _StructuredClone extends core.Object { return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + if (i == null) dart.nullFailed(I[153], 72, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + if (i == null) dart.nullFailed(I[153], 73, 17, "i"); this.copies[$_set](i, x); } cleanupSlots() { @@ -105938,8 +115762,8 @@ html_common._StructuredClone = class _StructuredClone extends core.Object { dart.throw(new core.UnimplementedError.new("structured clone of other type")); } copyList(e, slot) { - if (e == null) dart.nullFailed(I[151], 156, 22, "e"); - if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + if (e == null) dart.nullFailed(I[153], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[153], 156, 29, "slot"); let i = 0; let length = e[$length]; let copy = this.newJsList(length); @@ -105972,7 +115796,7 @@ dart.setMethodSignature(html_common._StructuredClone, () => ({ copyList: dart.fnType(core.List, [core.List, core.int]), convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) })); -dart.setLibraryUri(html_common._StructuredClone, I[150]); +dart.setLibraryUri(html_common._StructuredClone, I[152]); dart.setFieldSignature(html_common._StructuredClone, () => ({ __proto__: dart.getFields(html_common._StructuredClone.__proto__), values: dart.fieldType(core.List), @@ -105989,11 +115813,11 @@ html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.O return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + if (i == null) dart.nullFailed(I[153], 211, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + if (i == null) dart.nullFailed(I[153], 212, 17, "i"); this.copies[$_set](i, x); } walk(e) { @@ -106014,17 +115838,17 @@ html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.O let slot = this.findSlot(e); let copy = this.readSlot(slot); if (copy != null) return copy; - copy = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, copy); + let map = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, map); this.forEachJsField(e, dart.fn((key, value) => { - let t248, t247, t246; - t246 = copy; - t247 = key; - t248 = this.walk(value); - dart.dsend(t246, '_set', [t247, t248]); - return t248; + let t229, t228, t227; + t227 = map; + t228 = key; + t229 = this.walk(value); + t227[$_set](t228, t229); + return t229; }, T$0.dynamicAnddynamicTodynamic())); - return copy; + return map; } if (dart.test(html_common.isJavaScriptArray(e))) { let l = e; @@ -106064,7 +115888,7 @@ dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ walk: dart.fnType(dart.dynamic, [dart.dynamic]), convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) })); -dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); +dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), values: dart.fieldType(core.List), @@ -106076,53 +115900,70 @@ html_common.ContextAttributes = class ContextAttributes extends core.Object { return this[S$3.alpha]; } set alpha(value) { + if (value == null) dart.nullFailed(I[153], 289, 8, "alpha"); this[S$3.alpha] = value; } get antialias() { return this[S$3.antialias]; } set antialias(value) { + if (value == null) dart.nullFailed(I[153], 290, 8, "antialias"); this[S$3.antialias] = value; } get depth() { return this[S$3.depth]; } set depth(value) { + if (value == null) dart.nullFailed(I[153], 291, 8, "depth"); this[S$3.depth] = value; } get premultipliedAlpha() { return this[S$3.premultipliedAlpha]; } set premultipliedAlpha(value) { + if (value == null) dart.nullFailed(I[153], 292, 8, "premultipliedAlpha"); this[S$3.premultipliedAlpha] = value; } get preserveDrawingBuffer() { return this[S$3.preserveDrawingBuffer]; } set preserveDrawingBuffer(value) { + if (value == null) dart.nullFailed(I[153], 293, 8, "preserveDrawingBuffer"); this[S$3.preserveDrawingBuffer] = value; } get stencil() { return this[S$3.stencil]; } set stencil(value) { + if (value == null) dart.nullFailed(I[153], 294, 8, "stencil"); this[S$3.stencil] = value; } get failIfMajorPerformanceCaveat() { return this[S$3.failIfMajorPerformanceCaveat]; } set failIfMajorPerformanceCaveat(value) { + if (value == null) dart.nullFailed(I[153], 295, 8, "failIfMajorPerformanceCaveat"); this[S$3.failIfMajorPerformanceCaveat] = value; } + static ['_#new#tearOff'](alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); + return new html_common.ContextAttributes.new(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil); + } }; (html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { - if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); - if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); - if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); - if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); - if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); - if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); - if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); this[S$3.alpha] = alpha; this[S$3.antialias] = antialias; this[S$3.depth] = depth; @@ -106134,7 +115975,7 @@ html_common.ContextAttributes = class ContextAttributes extends core.Object { }).prototype = html_common.ContextAttributes.prototype; dart.addTypeTests(html_common.ContextAttributes); dart.addTypeCaches(html_common.ContextAttributes); -dart.setLibraryUri(html_common.ContextAttributes, I[150]); +dart.setLibraryUri(html_common.ContextAttributes, I[152]); dart.setFieldSignature(html_common.ContextAttributes, () => ({ __proto__: dart.getFields(html_common.ContextAttributes.__proto__), alpha: dart.fieldType(core.bool), @@ -106147,7 +115988,7 @@ dart.setFieldSignature(html_common.ContextAttributes, () => ({ })); html_common._TypedImageData = class _TypedImageData extends core.Object { get data() { - return this[S$3.data$1]; + return this[S$3.data$2]; } set data(value) { super.data = value; @@ -106164,12 +116005,18 @@ html_common._TypedImageData = class _TypedImageData extends core.Object { set width(value) { super.width = value; } + static ['_#new#tearOff'](data, height, width) { + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + return new html_common._TypedImageData.new(data, height, width); + } }; (html_common._TypedImageData.new = function(data, height, width) { - if (data == null) dart.nullFailed(I[151], 330, 24, "data"); - if (height == null) dart.nullFailed(I[151], 330, 35, "height"); - if (width == null) dart.nullFailed(I[151], 330, 48, "width"); - this[S$3.data$1] = data; + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + this[S$3.data$2] = data; this[S$3.height$1] = height; this[S$3.width$1] = width; ; @@ -106177,7 +116024,7 @@ html_common._TypedImageData = class _TypedImageData extends core.Object { dart.addTypeTests(html_common._TypedImageData); dart.addTypeCaches(html_common._TypedImageData); html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; -dart.setLibraryUri(html_common._TypedImageData, I[150]); +dart.setLibraryUri(html_common._TypedImageData, I[152]); dart.setFieldSignature(html_common._TypedImageData, () => ({ __proto__: dart.getFields(html_common._TypedImageData.__proto__), data: dart.finalFieldType(typed_data.Uint8ClampedList), @@ -106190,7 +116037,7 @@ html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html return {}; } forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + if (action == null) dart.nullFailed(I[154], 103, 33, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } @@ -106208,7 +116055,10 @@ html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html return new Array(length); } cloneNotRequired(e) { - return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e) || html$.SharedArrayBuffer.is(e); + } + static ['_#new#tearOff']() { + return new html_common._StructuredCloneDart2Js.new(); } }; (html_common._StructuredCloneDart2Js.new = function() { @@ -106227,7 +116077,7 @@ dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ newJsList: dart.fnType(core.List, [dart.dynamic]), cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) })); -dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); +dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { newJsList(length) { return new Array(length); @@ -106239,11 +116089,14 @@ html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js return core.identical(a, b); } forEachJsField(object, action) { - if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + if (action == null) dart.nullFailed(I[154], 127, 31, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } } + static ['_#new#tearOff']() { + return new html_common._AcceptStructuredCloneDart2Js.new(); + } }; (html_common._AcceptStructuredCloneDart2Js.new = function() { html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); @@ -106258,13 +116111,13 @@ dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) })); -dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); +dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[152]); html_common.Device = class Device extends core.Object { static get userAgent() { return html$.window.navigator.userAgent; } static isEventTypeSupported(eventType) { - if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + if (eventType == null) dart.nullFailed(I[155], 52, 43, "eventType"); try { let e = html$.Event.eventType(eventType, ""); return html$.Event.is(e); @@ -106276,13 +116129,19 @@ html_common.Device = class Device extends core.Object { } return false; } + static ['_#new#tearOff']() { + return new html_common.Device.new(); + } }; (html_common.Device.new = function() { ; }).prototype = html_common.Device.prototype; dart.addTypeTests(html_common.Device); dart.addTypeCaches(html_common.Device); -dart.setLibraryUri(html_common.Device, I[150]); +dart.setStaticMethodSignature(html_common.Device, () => ['isEventTypeSupported']); +dart.setStaticGetterSignature(html_common.Device, () => ['userAgent']); +dart.setLibraryUri(html_common.Device, I[152]); +dart.setStaticFieldSignature(html_common.Device, () => ['isOpera', 'isIE', 'isFirefox', 'isWebKit', 'cssPrefix', 'propertyPrefix']); dart.defineLazy(html_common.Device, { /*html_common.Device.isOpera*/get isOpera() { return html_common.Device.userAgent[$contains]("Opera", 0); @@ -106304,12 +116163,16 @@ dart.defineLazy(html_common.Device, { } }, false); html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + static ['_#new#tearOff'](node) { + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); + return new html_common.FilteredElementList.new(node); + } get [S$3._iterable$2]() { return this[S$3._childNodes][$where](dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + if (n == null) dart.nullFailed(I[156], 30, 26, "n"); return html$.Element.is(n); }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + if (n == null) dart.nullFailed(I[156], 30, 60, "n"); return html$.Element.as(n); }, T$0.NodeToElement())); } @@ -106317,19 +116180,19 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); } forEach(f) { - if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + if (f == null) dart.nullFailed(I[156], 34, 21, "f"); this[S$3._filtered][$forEach](f); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + if (index == null) dart.nullFailed(I[156], 40, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + if (value == null) dart.nullFailed(I[156], 40, 40, "value"); this._get(index)[S$.$replaceWith](value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[156], 44, 18, "newLength"); let len = this.length; if (dart.notNull(newLength) >= dart.notNull(len)) { return; @@ -106340,12 +116203,12 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + if (value == null) dart.nullFailed(I[156], 55, 20, "value"); this[S$3._childNodes][$add](value); } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 59, 33, "iterable"); for (let element of iterable) { this.add(element); } @@ -106362,30 +116225,33 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[154], 77, 21, "start"); - if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + if (start == null) dart.nullFailed(I[156], 77, 21, "start"); + if (end == null) dart.nullFailed(I[156], 77, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[156], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[156], 78, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[154], 82, 22, "start"); - if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + if (start == null) dart.nullFailed(I[156], 82, 22, "start"); + if (end == null) dart.nullFailed(I[156], 82, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[154], 86, 25, "start"); - if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + if (start == null) dart.nullFailed(I[156], 86, 25, "start"); + if (end == null) dart.nullFailed(I[156], 86, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 86, 59, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[154], 90, 24, "start"); - if (end == null) dart.nullFailed(I[154], 90, 35, "end"); - core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + if (start == null) dart.nullFailed(I[156], 90, 24, "start"); + if (end == null) dart.nullFailed(I[156], 90, 35, "end"); + T$0.ListOfElement().from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => { + if (el == null) dart.nullFailed(I[156], 92, 19, "el"); + return el[$remove](); + }, T$0.ElementTovoid())); } clear() { this[S$3._childNodes][$clear](); @@ -106398,9 +116264,9 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return result; } insert(index, value) { - if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + if (index == null) dart.nullFailed(I[156], 109, 19, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (value == null) dart.nullFailed(I[156], 109, 34, "value"); if (index == this.length) { this.add(value); } else { @@ -106409,9 +116275,9 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + if (index == null) dart.nullFailed(I[156], 118, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -106420,7 +116286,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } } removeAt(index) { - if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + if (index == null) dart.nullFailed(I[156], 127, 24, "index"); let result = this._get(index); result[$remove](); return result; @@ -106438,7 +116304,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return this[S$3._iterable$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + if (index == null) dart.nullFailed(I[156], 144, 27, "index"); return this[S$3._iterable$2][$elementAt](index); } get iterator() { @@ -106449,7 +116315,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } }; (html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); this[S$3._childNodes] = node[S.$nodes]; this[S$3._node] = node; ; @@ -106477,7 +116343,7 @@ dart.setSetterSignature(html_common.FilteredElementList, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html_common.FilteredElementList, I[150]); +dart.setLibraryUri(html_common.FilteredElementList, I[152]); dart.setFieldSignature(html_common.FilteredElementList, () => ({ __proto__: dart.getFields(html_common.FilteredElementList.__proto__), [S$3._node]: dart.finalFieldType(html$.Node), @@ -106505,10 +116371,10 @@ dart.defineExtensionMethods(html_common.FilteredElementList, [ dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); html_common.Lists = class Lists extends core.Object { static indexOf(a, element, startIndex, endIndex) { - if (a == null) dart.nullFailed(I[155], 13, 27, "a"); - if (element == null) dart.nullFailed(I[155], 13, 37, "element"); - if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); - if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (a == null) dart.nullFailed(I[157], 13, 27, "a"); + if (element == null) dart.nullFailed(I[157], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[157], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[157], 13, 66, "endIndex"); if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { return -1; } @@ -106523,9 +116389,9 @@ html_common.Lists = class Lists extends core.Object { return -1; } static lastIndexOf(a, element, startIndex) { - if (a == null) dart.nullFailed(I[155], 33, 31, "a"); - if (element == null) dart.nullFailed(I[155], 33, 41, "element"); - if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (a == null) dart.nullFailed(I[157], 33, 31, "a"); + if (element == null) dart.nullFailed(I[157], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[157], 33, 54, "startIndex"); if (dart.notNull(startIndex) < 0) { return -1; } @@ -106540,10 +116406,10 @@ html_common.Lists = class Lists extends core.Object { return -1; } static getRange(a, start, end, accumulator) { - if (a == null) dart.nullFailed(I[155], 55, 29, "a"); - if (start == null) dart.nullFailed(I[155], 55, 36, "start"); - if (end == null) dart.nullFailed(I[155], 55, 47, "end"); - if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (a == null) dart.nullFailed(I[157], 55, 29, "a"); + if (start == null) dart.nullFailed(I[157], 55, 36, "start"); + if (end == null) dart.nullFailed(I[157], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[157], 55, 57, "accumulator"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); @@ -106552,20 +116418,24 @@ html_common.Lists = class Lists extends core.Object { } return accumulator; } + static ['_#new#tearOff']() { + return new html_common.Lists.new(); + } }; (html_common.Lists.new = function() { ; }).prototype = html_common.Lists.prototype; dart.addTypeTests(html_common.Lists); dart.addTypeCaches(html_common.Lists); -dart.setLibraryUri(html_common.Lists, I[150]); +dart.setStaticMethodSignature(html_common.Lists, () => ['indexOf', 'lastIndexOf', 'getRange']); +dart.setLibraryUri(html_common.Lists, I[152]); html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; (html_common.NodeListWrapper.new = function() { ; }).prototype = html_common.NodeListWrapper.prototype; dart.addTypeTests(html_common.NodeListWrapper); dart.addTypeCaches(html_common.NodeListWrapper); -dart.setLibraryUri(html_common.NodeListWrapper, I[150]); +dart.setLibraryUri(html_common.NodeListWrapper, I[152]); html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { return html_common.convertDartToNative_PrepareForStructuredClone(value); }; @@ -106590,18 +116460,33 @@ html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageDa return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); }; html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { - if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (imageData == null) dart.nullFailed(I[153], 369, 41, "imageData"); if (html_common._TypedImageData.is(imageData)) { return {data: imageData.data, height: imageData.height, width: imageData.width}; } return imageData; }; +html_common._convertNativeToDart_Value = function _convertNativeToDart_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (dart.test(html_common.isJavaScriptSimpleObject(value))) { + return html_common.convertNativeToDart_Dictionary(value); + } + if (Array.isArray(value)) { + let values = []; + for (let i = 0; i < value.length; i = i + 1) { + values[$add](html_common._convertNativeToDart_Value(value[i])); + } + return values; + } + return value; +}; html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { if (object == null) return null; let dict = new (T$0.IdentityMapOfString$dynamic()).new(); let keys = Object.getOwnPropertyNames(object); for (let key of keys) { - dict[$_set](core.String.as(key), object[key]); + dict[$_set](key, html_common._convertNativeToDart_Value(object[key])); } return dict; }; @@ -106630,7 +116515,7 @@ html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictio return object; }; html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + if (input == null) dart.nullFailed(I[154], 78, 51, "input"); return input; }; html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { @@ -106638,7 +116523,7 @@ html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); }; html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + if (date == null) dart.nullFailed(I[154], 88, 39, "date"); return new Date(date.millisecondsSinceEpoch); }; html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { @@ -106654,10 +116539,10 @@ html_common.isJavaScriptDate = function isJavaScriptDate(value) { html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { return value instanceof RegExp; }; -html_common.isJavaScriptArray = function isJavaScriptArray(value) { +html_common.isJavaScriptArray = function isJavaScriptArray$(value) { return value instanceof Array; }; -html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { +html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { let proto = Object.getPrototypeOf(value); return proto === Object.prototype || proto === null; }; @@ -106672,50 +116557,67 @@ dart.defineLazy(html_common, { return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; }, /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[416] || CT.C416; + return C[427] || CT.C427; }, /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[417] || CT.C417; + return C[428] || CT.C428; } }, false); svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { static createSvgElement_tag(tag) { - if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + if (tag == null) dart.nullFailed(I[158], 30, 49, "tag"); let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); return svg$.SvgElement.as(temp); } + static ['_#new#tearOff']() { + return new svg$._SvgElementFactoryProvider.new(); + } }; (svg$._SvgElementFactoryProvider.new = function() { ; }).prototype = svg$._SvgElementFactoryProvider.prototype; dart.addTypeTests(svg$._SvgElementFactoryProvider); dart.addTypeCaches(svg$._SvgElementFactoryProvider); -dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); +dart.setStaticMethodSignature(svg$._SvgElementFactoryProvider, () => ['createSvgElement_tag']); +dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[159]); svg$.SvgElement = class SvgElement extends html$.Element { static tag(tag) { - if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); } + static ['_#tag#tearOff'](tag) { + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); + return svg$.SvgElement.tag(tag); + } static svg(svg, opts) { - let t247; - if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let t228; + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (validator == null && treeSanitizer == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); let parentElement = null; if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { - parentElement = html$.document.body; + parentElement = dart.nullCheck(html$.document.body); } else { parentElement = svg$.SvgSvgElement.new(); } - let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); - return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + let fragment = parentElement[S.$createFragment](svg, {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 3013, 34, "e"); + return svg$.SvgElement.is(e); + }, T$0.NodeTobool()))[$single]); + } + static ['_#svg#tearOff'](svg, opts) { + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgElement.svg(svg, {validator: validator, treeSanitizer: treeSanitizer}); } get [S.$classes]() { return new svg$.AttributeClassSet.new(this); @@ -106727,7 +116629,7 @@ svg$.SvgElement = class SvgElement extends html$.Element { return new html_common.FilteredElementList.new(this); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); let children = this[S.$children]; children[$clear](); children[$addAll](value); @@ -106748,14 +116650,14 @@ svg$.SvgElement = class SvgElement extends html$.Element { this[S.$setInnerHtml](value); } [S.$createFragment](svg, opts) { - let t247; + let t228; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { if (validator == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } treeSanitizer = html$.NodeTreeSanitizer.new(validator); @@ -106770,20 +116672,20 @@ svg$.SvgElement = class SvgElement extends html$.Element { return svgFragment; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3069, 48, "text"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); } [S.$insertAdjacentHtml](where, text, opts) { - if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3073, 48, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); - if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + if (where == null) dart.nullFailed(I[158], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[158], 3078, 55, "element"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); } get [S$3._children$1]() { @@ -106796,10 +116698,16 @@ svg$.SvgElement = class SvgElement extends html$.Element { dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + if (tag == null) dart.nullFailed(I[158], 3096, 37, "tag"); let e = svg$.SvgElement.tag(tag); return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); } + static ['_#_#tearOff']() { + return svg$.SvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgElement.created(); + } get [S$3._svgClassName]() { return this.className; } @@ -106908,61 +116816,61 @@ svg$.SvgElement = class SvgElement extends html$.Element { get [S.$onMouseDown]() { return svg$.SvgElement.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return svg$.SvgElement.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return svg$.SvgElement.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return svg$.SvgElement.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return svg$.SvgElement.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return svg$.SvgElement.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return svg$.SvgElement.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return svg$.SvgElement.mouseWheelEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return svg$.SvgElement.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return svg$.SvgElement.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return svg$.SvgElement.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return svg$.SvgElement.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return svg$.SvgElement.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return svg$.SvgElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return svg$.SvgElement.scrollEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return svg$.SvgElement.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return svg$.SvgElement.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return svg$.SvgElement.selectEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return svg$.SvgElement.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return svg$.SvgElement.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -107000,6 +116908,7 @@ svg$.SvgElement = class SvgElement extends html$.Element { dart.addTypeTests(svg$.SvgElement); dart.addTypeCaches(svg$.SvgElement); svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; +dart.setStaticMethodSignature(svg$.SvgElement, () => ['tag', 'svg', 'isTagSupported', '__']); dart.setGetterSignature(svg$.SvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgElement.__proto__), [S$3._children$1]: html$.HtmlCollection, @@ -107013,185 +116922,192 @@ dart.setSetterSignature(svg$.SvgElement, () => ({ __proto__: dart.getSetters(svg$.SvgElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.SvgElement, I[157]); +dart.setLibraryUri(svg$.SvgElement, I[159]); +dart.setStaticFieldSignature(svg$.SvgElement, () => ['_START_TAG_REGEXP', 'abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineLazy(svg$.SvgElement, { /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { return core.RegExp.new("<(\\w+)"); }, /*svg$.SvgElement.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*svg$.SvgElement.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("SVGElement", svg$.SvgElement); svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.GraphicsElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GraphicsElement.created(); + } get [S$3.$farthestViewportElement]() { return this.farthestViewportElement; } @@ -107230,6 +117146,7 @@ dart.setMethodSignature(svg$.GraphicsElement, () => ({ [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) })); +dart.setStaticMethodSignature(svg$.GraphicsElement, () => ['__']); dart.setGetterSignature(svg$.GraphicsElement, () => ({ __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), @@ -107238,12 +117155,21 @@ dart.setGetterSignature(svg$.GraphicsElement, () => ({ [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.GraphicsElement, I[157]); +dart.setLibraryUri(svg$.GraphicsElement, I[159]); dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); svg$.AElement = class AElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.AElement.__(); + } static new() { return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); } + static ['_#new#tearOff']() { + return svg$.AElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AElement.created(); + } get [S.$target]() { return this.target; } @@ -107258,14 +117184,18 @@ svg$.AElement = class AElement extends svg$.GraphicsElement { dart.addTypeTests(svg$.AElement); dart.addTypeCaches(svg$.AElement); svg$.AElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.AElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AElement, () => ({ __proto__: dart.getGetters(svg$.AElement.__proto__), [S.$target]: svg$.AnimatedString, [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.AElement, I[157]); +dart.setLibraryUri(svg$.AElement, I[159]); dart.registerExtension("SVGAElement", svg$.AElement); -svg$.Angle = class Angle extends _interceptors.Interceptor { +svg$.Angle = class Angle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Angle.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -107301,6 +117231,7 @@ dart.setMethodSignature(svg$.Angle, () => ({ [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); +dart.setStaticMethodSignature(svg$.Angle, () => ['__']); dart.setGetterSignature(svg$.Angle, () => ({ __proto__: dart.getGetters(svg$.Angle.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -107314,7 +117245,8 @@ dart.setSetterSignature(svg$.Angle, () => ({ [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Angle, I[157]); +dart.setLibraryUri(svg$.Angle, I[159]); +dart.setStaticFieldSignature(svg$.Angle, () => ['SVG_ANGLETYPE_DEG', 'SVG_ANGLETYPE_GRAD', 'SVG_ANGLETYPE_RAD', 'SVG_ANGLETYPE_UNKNOWN', 'SVG_ANGLETYPE_UNSPECIFIED']); dart.defineLazy(svg$.Angle, { /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { return 2; @@ -107334,9 +117266,18 @@ dart.defineLazy(svg$.Angle, { }, false); dart.registerExtension("SVGAngle", svg$.Angle); svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.AnimationElement.__(); + } static new() { return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); } + static ['_#new#tearOff']() { + return svg$.AnimationElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimationElement.created(); + } get [S$3.$targetElement]() { return this.targetElement; } @@ -107385,18 +117326,28 @@ dart.setMethodSignature(svg$.AnimationElement, () => ({ [S$3.$getSimpleDuration]: dart.fnType(core.double, []), [S$3.$getStartTime]: dart.fnType(core.double, []) })); +dart.setStaticMethodSignature(svg$.AnimationElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AnimationElement, () => ({ __proto__: dart.getGetters(svg$.AnimationElement.__proto__), [S$3.$targetElement]: dart.nullable(svg$.SvgElement), [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.AnimationElement, I[157]); +dart.setLibraryUri(svg$.AnimationElement, I[159]); dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateElement.__(); + } static new() { return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); } + static ['_#new#tearOff']() { + return svg$.AnimateElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); } @@ -107407,12 +117358,23 @@ svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { }).prototype = svg$.AnimateElement.prototype; dart.addTypeTests(svg$.AnimateElement); dart.addTypeCaches(svg$.AnimateElement); -dart.setLibraryUri(svg$.AnimateElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateElement, I[159]); dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateMotionElement.__(); + } static new() { return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); } + static ['_#new#tearOff']() { + return svg$.AnimateMotionElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateMotionElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); } @@ -107423,12 +117385,23 @@ svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationEle }).prototype = svg$.AnimateMotionElement.prototype; dart.addTypeTests(svg$.AnimateMotionElement); dart.addTypeCaches(svg$.AnimateMotionElement); -dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateMotionElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateMotionElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateMotionElement, I[159]); dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateTransformElement.__(); + } static new() { return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); } + static ['_#new#tearOff']() { + return svg$.AnimateTransformElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateTransformElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); } @@ -107439,9 +117412,14 @@ svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.Animat }).prototype = svg$.AnimateTransformElement.prototype; dart.addTypeTests(svg$.AnimateTransformElement); dart.addTypeCaches(svg$.AnimateTransformElement); -dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateTransformElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateTransformElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateTransformElement, I[159]); dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); -svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { +svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedAngle.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107451,14 +117429,18 @@ svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedAngle); dart.addTypeCaches(svg$.AnimatedAngle); +dart.setStaticMethodSignature(svg$.AnimatedAngle, () => ['__']); dart.setGetterSignature(svg$.AnimatedAngle, () => ({ __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), [S$3.$animVal]: dart.nullable(svg$.Angle), [S$3.$baseVal]: dart.nullable(svg$.Angle) })); -dart.setLibraryUri(svg$.AnimatedAngle, I[157]); +dart.setLibraryUri(svg$.AnimatedAngle, I[159]); dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); -svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { +svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedBoolean.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107471,6 +117453,7 @@ svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedBoolean); dart.addTypeCaches(svg$.AnimatedBoolean); +dart.setStaticMethodSignature(svg$.AnimatedBoolean, () => ['__']); dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), [S$3.$animVal]: dart.nullable(core.bool), @@ -107480,9 +117463,12 @@ dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), [S$3.$baseVal]: dart.nullable(core.bool) })); -dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); +dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); -svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { +svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedEnumeration.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107495,6 +117481,7 @@ svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Inter }; dart.addTypeTests(svg$.AnimatedEnumeration); dart.addTypeCaches(svg$.AnimatedEnumeration); +dart.setStaticMethodSignature(svg$.AnimatedEnumeration, () => ['__']); dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107504,9 +117491,12 @@ dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); +dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); -svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { +svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedInteger.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107519,6 +117509,7 @@ svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedInteger); dart.addTypeCaches(svg$.AnimatedInteger); +dart.setStaticMethodSignature(svg$.AnimatedInteger, () => ['__']); dart.setGetterSignature(svg$.AnimatedInteger, () => ({ __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107528,9 +117519,12 @@ dart.setSetterSignature(svg$.AnimatedInteger, () => ({ __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.AnimatedInteger, I[157]); +dart.setLibraryUri(svg$.AnimatedInteger, I[159]); dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); -svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { +svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLength.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107540,14 +117534,18 @@ svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedLength); dart.addTypeCaches(svg$.AnimatedLength); +dart.setStaticMethodSignature(svg$.AnimatedLength, () => ['__']); dart.setGetterSignature(svg$.AnimatedLength, () => ({ __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), [S$3.$animVal]: dart.nullable(svg$.Length), [S$3.$baseVal]: dart.nullable(svg$.Length) })); -dart.setLibraryUri(svg$.AnimatedLength, I[157]); +dart.setLibraryUri(svg$.AnimatedLength, I[159]); dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); -svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { +svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLengthList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107557,14 +117555,18 @@ svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interce }; dart.addTypeTests(svg$.AnimatedLengthList); dart.addTypeCaches(svg$.AnimatedLengthList); +dart.setStaticMethodSignature(svg$.AnimatedLengthList, () => ['__']); dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), [S$3.$animVal]: dart.nullable(svg$.LengthList), [S$3.$baseVal]: dart.nullable(svg$.LengthList) })); -dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); +dart.setLibraryUri(svg$.AnimatedLengthList, I[159]); dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); -svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { +svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumber.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107577,6 +117579,7 @@ svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedNumber); dart.addTypeCaches(svg$.AnimatedNumber); +dart.setStaticMethodSignature(svg$.AnimatedNumber, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumber, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), [S$3.$animVal]: dart.nullable(core.num), @@ -107586,9 +117589,12 @@ dart.setSetterSignature(svg$.AnimatedNumber, () => ({ __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), [S$3.$baseVal]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.AnimatedNumber, I[157]); +dart.setLibraryUri(svg$.AnimatedNumber, I[159]); dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); -svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { +svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumberList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107598,14 +117604,18 @@ svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interce }; dart.addTypeTests(svg$.AnimatedNumberList); dart.addTypeCaches(svg$.AnimatedNumberList); +dart.setStaticMethodSignature(svg$.AnimatedNumberList, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), [S$3.$animVal]: dart.nullable(svg$.NumberList), [S$3.$baseVal]: dart.nullable(svg$.NumberList) })); -dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); +dart.setLibraryUri(svg$.AnimatedNumberList, I[159]); dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); -svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { +svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedPreserveAspectRatio.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107615,14 +117625,18 @@ svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _in }; dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); +dart.setStaticMethodSignature(svg$.AnimatedPreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) })); -dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); +dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[159]); dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); -svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { +svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedRect.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107632,14 +117646,18 @@ svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedRect); dart.addTypeCaches(svg$.AnimatedRect); +dart.setStaticMethodSignature(svg$.AnimatedRect, () => ['__']); dart.setGetterSignature(svg$.AnimatedRect, () => ({ __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), [S$3.$animVal]: dart.nullable(svg$.Rect), [S$3.$baseVal]: dart.nullable(svg$.Rect) })); -dart.setLibraryUri(svg$.AnimatedRect, I[157]); +dart.setLibraryUri(svg$.AnimatedRect, I[159]); dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); -svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { +svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedString.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107652,6 +117670,7 @@ svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedString); dart.addTypeCaches(svg$.AnimatedString); +dart.setStaticMethodSignature(svg$.AnimatedString, () => ['__']); dart.setGetterSignature(svg$.AnimatedString, () => ({ __proto__: dart.getGetters(svg$.AnimatedString.__proto__), [S$3.$animVal]: dart.nullable(core.String), @@ -107661,9 +117680,12 @@ dart.setSetterSignature(svg$.AnimatedString, () => ({ __proto__: dart.getSetters(svg$.AnimatedString.__proto__), [S$3.$baseVal]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.AnimatedString, I[157]); +dart.setLibraryUri(svg$.AnimatedString, I[159]); dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); -svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { +svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedTransformList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107673,14 +117695,21 @@ svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.I }; dart.addTypeTests(svg$.AnimatedTransformList); dart.addTypeCaches(svg$.AnimatedTransformList); +dart.setStaticMethodSignature(svg$.AnimatedTransformList, () => ['__']); dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), [S$3.$animVal]: dart.nullable(svg$.TransformList), [S$3.$baseVal]: dart.nullable(svg$.TransformList) })); -dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); +dart.setLibraryUri(svg$.AnimatedTransformList, I[159]); dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GeometryElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GeometryElement.created(); + } get [S$3.$pathLength]() { return this.pathLength; } @@ -107710,16 +117739,26 @@ dart.setMethodSignature(svg$.GeometryElement, () => ({ [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) })); +dart.setStaticMethodSignature(svg$.GeometryElement, () => ['__']); dart.setGetterSignature(svg$.GeometryElement, () => ({ __proto__: dart.getGetters(svg$.GeometryElement.__proto__), [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.GeometryElement, I[157]); +dart.setLibraryUri(svg$.GeometryElement, I[159]); dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.CircleElement.__(); + } static new() { return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); } + static ['_#new#tearOff']() { + return svg$.CircleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.CircleElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107736,18 +117775,28 @@ svg$.CircleElement = class CircleElement extends svg$.GeometryElement { }).prototype = svg$.CircleElement.prototype; dart.addTypeTests(svg$.CircleElement); dart.addTypeCaches(svg$.CircleElement); +dart.setStaticMethodSignature(svg$.CircleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.CircleElement, () => ({ __proto__: dart.getGetters(svg$.CircleElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), [S$3.$cy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.CircleElement, I[157]); +dart.setLibraryUri(svg$.CircleElement, I[159]); dart.registerExtension("SVGCircleElement", svg$.CircleElement); svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ClipPathElement.__(); + } static new() { return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); } + static ['_#new#tearOff']() { + return svg$.ClipPathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ClipPathElement.created(); + } get [S$3.$clipPathUnits]() { return this.clipPathUnits; } @@ -107758,16 +117807,26 @@ svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { }).prototype = svg$.ClipPathElement.prototype; dart.addTypeTests(svg$.ClipPathElement); dart.addTypeCaches(svg$.ClipPathElement); +dart.setStaticMethodSignature(svg$.ClipPathElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ClipPathElement, () => ({ __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) })); -dart.setLibraryUri(svg$.ClipPathElement, I[157]); +dart.setLibraryUri(svg$.ClipPathElement, I[159]); dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.DefsElement.__(); + } static new() { return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); } + static ['_#new#tearOff']() { + return svg$.DefsElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DefsElement.created(); + } }; (svg$.DefsElement.created = function() { svg$.DefsElement.__proto__.created.call(this); @@ -107775,12 +117834,22 @@ svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { }).prototype = svg$.DefsElement.prototype; dart.addTypeTests(svg$.DefsElement); dart.addTypeCaches(svg$.DefsElement); -dart.setLibraryUri(svg$.DefsElement, I[157]); +dart.setStaticMethodSignature(svg$.DefsElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.DefsElement, I[159]); dart.registerExtension("SVGDefsElement", svg$.DefsElement); svg$.DescElement = class DescElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DescElement.__(); + } static new() { return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); } + static ['_#new#tearOff']() { + return svg$.DescElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DescElement.created(); + } }; (svg$.DescElement.created = function() { svg$.DescElement.__proto__.created.call(this); @@ -107788,21 +117857,39 @@ svg$.DescElement = class DescElement extends svg$.SvgElement { }).prototype = svg$.DescElement.prototype; dart.addTypeTests(svg$.DescElement); dart.addTypeCaches(svg$.DescElement); -dart.setLibraryUri(svg$.DescElement, I[157]); +dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.DescElement, I[159]); dart.registerExtension("SVGDescElement", svg$.DescElement); -svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; +svg$.DiscardElement = class DiscardElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DiscardElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.DiscardElement.created(); + } +}; (svg$.DiscardElement.created = function() { svg$.DiscardElement.__proto__.created.call(this); ; }).prototype = svg$.DiscardElement.prototype; dart.addTypeTests(svg$.DiscardElement); dart.addTypeCaches(svg$.DiscardElement); -dart.setLibraryUri(svg$.DiscardElement, I[157]); +dart.setStaticMethodSignature(svg$.DiscardElement, () => ['__']); +dart.setLibraryUri(svg$.DiscardElement, I[159]); dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.EllipseElement.__(); + } static new() { return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); } + static ['_#new#tearOff']() { + return svg$.EllipseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.EllipseElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107822,6 +117909,7 @@ svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { }).prototype = svg$.EllipseElement.prototype; dart.addTypeTests(svg$.EllipseElement); dart.addTypeCaches(svg$.EllipseElement); +dart.setStaticMethodSignature(svg$.EllipseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.EllipseElement, () => ({ __proto__: dart.getGetters(svg$.EllipseElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -107829,12 +117917,21 @@ dart.setGetterSignature(svg$.EllipseElement, () => ({ [S$3.$rx]: dart.nullable(svg$.AnimatedLength), [S$3.$ry]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.EllipseElement, I[157]); +dart.setLibraryUri(svg$.EllipseElement, I[159]); dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEBlendElement.__(); + } static new() { return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); } + static ['_#new#tearOff']() { + return svg$.FEBlendElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEBlendElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); } @@ -107870,6 +117967,7 @@ svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEBlendElement); dart.addTypeCaches(svg$.FEBlendElement); svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEBlendElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEBlendElement, () => ({ __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -107881,7 +117979,9 @@ dart.setGetterSignature(svg$.FEBlendElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEBlendElement, I[157]); +dart.setStaticGetterSignature(svg$.FEBlendElement, () => ['supported']); +dart.setLibraryUri(svg$.FEBlendElement, I[159]); +dart.setStaticFieldSignature(svg$.FEBlendElement, () => ['SVG_FEBLEND_MODE_DARKEN', 'SVG_FEBLEND_MODE_LIGHTEN', 'SVG_FEBLEND_MODE_MULTIPLY', 'SVG_FEBLEND_MODE_NORMAL', 'SVG_FEBLEND_MODE_SCREEN', 'SVG_FEBLEND_MODE_UNKNOWN']); dart.defineLazy(svg$.FEBlendElement, { /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { return 4; @@ -107904,9 +118004,18 @@ dart.defineLazy(svg$.FEBlendElement, { }, false); dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEColorMatrixElement.__(); + } static new() { return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEColorMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEColorMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); } @@ -107942,6 +118051,7 @@ svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEColorMatrixElement); dart.addTypeCaches(svg$.FEColorMatrixElement); svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEColorMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), [S$3.$in1]: svg$.AnimatedString, @@ -107953,7 +118063,9 @@ dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); +dart.setStaticGetterSignature(svg$.FEColorMatrixElement, () => ['supported']); +dart.setLibraryUri(svg$.FEColorMatrixElement, I[159]); +dart.setStaticFieldSignature(svg$.FEColorMatrixElement, () => ['SVG_FECOLORMATRIX_TYPE_HUEROTATE', 'SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA', 'SVG_FECOLORMATRIX_TYPE_MATRIX', 'SVG_FECOLORMATRIX_TYPE_SATURATE', 'SVG_FECOLORMATRIX_TYPE_UNKNOWN']); dart.defineLazy(svg$.FEColorMatrixElement, { /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { return 3; @@ -107973,9 +118085,18 @@ dart.defineLazy(svg$.FEColorMatrixElement, { }, false); dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEComponentTransferElement.__(); + } static new() { return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); } + static ['_#new#tearOff']() { + return svg$.FEComponentTransferElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEComponentTransferElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); } @@ -108005,6 +118126,7 @@ svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$. dart.addTypeTests(svg$.FEComponentTransferElement); dart.addTypeCaches(svg$.FEComponentTransferElement); svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEComponentTransferElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108014,9 +118136,16 @@ dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); +dart.setStaticGetterSignature(svg$.FEComponentTransferElement, () => ['supported']); +dart.setLibraryUri(svg$.FEComponentTransferElement, I[159]); dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FECompositeElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FECompositeElement.created(); + } get [S$3.$in1]() { return this.in1; } @@ -108061,6 +118190,7 @@ svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { dart.addTypeTests(svg$.FECompositeElement); dart.addTypeCaches(svg$.FECompositeElement); svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FECompositeElement, () => ['__']); dart.setGetterSignature(svg$.FECompositeElement, () => ({ __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108076,7 +118206,8 @@ dart.setGetterSignature(svg$.FECompositeElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FECompositeElement, I[157]); +dart.setLibraryUri(svg$.FECompositeElement, I[159]); +dart.setStaticFieldSignature(svg$.FECompositeElement, () => ['SVG_FECOMPOSITE_OPERATOR_ARITHMETIC', 'SVG_FECOMPOSITE_OPERATOR_ATOP', 'SVG_FECOMPOSITE_OPERATOR_IN', 'SVG_FECOMPOSITE_OPERATOR_OUT', 'SVG_FECOMPOSITE_OPERATOR_OVER', 'SVG_FECOMPOSITE_OPERATOR_UNKNOWN', 'SVG_FECOMPOSITE_OPERATOR_XOR']); dart.defineLazy(svg$.FECompositeElement, { /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { return 6; @@ -108102,9 +118233,18 @@ dart.defineLazy(svg$.FECompositeElement, { }, false); dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEConvolveMatrixElement.__(); + } static new() { return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEConvolveMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEConvolveMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); } @@ -108167,6 +118307,7 @@ svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgEle dart.addTypeTests(svg$.FEConvolveMatrixElement); dart.addTypeCaches(svg$.FEConvolveMatrixElement); svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEConvolveMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), @@ -108187,7 +118328,9 @@ dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); +dart.setStaticGetterSignature(svg$.FEConvolveMatrixElement, () => ['supported']); +dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[159]); +dart.setStaticFieldSignature(svg$.FEConvolveMatrixElement, () => ['SVG_EDGEMODE_DUPLICATE', 'SVG_EDGEMODE_NONE', 'SVG_EDGEMODE_UNKNOWN', 'SVG_EDGEMODE_WRAP']); dart.defineLazy(svg$.FEConvolveMatrixElement, { /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { return 1; @@ -108204,9 +118347,18 @@ dart.defineLazy(svg$.FEConvolveMatrixElement, { }, false); dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDiffuseLightingElement.__(); + } static new() { return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); } + static ['_#new#tearOff']() { + return svg$.FEDiffuseLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDiffuseLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); } @@ -108248,6 +118400,7 @@ svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgE dart.addTypeTests(svg$.FEDiffuseLightingElement); dart.addTypeCaches(svg$.FEDiffuseLightingElement); svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEDiffuseLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), @@ -108261,12 +118414,22 @@ dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDiffuseLightingElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[159]); dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDisplacementMapElement.__(); + } static new() { return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); } + static ['_#new#tearOff']() { + return svg$.FEDisplacementMapElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDisplacementMapElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); } @@ -108308,6 +118471,7 @@ svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgE dart.addTypeTests(svg$.FEDisplacementMapElement); dart.addTypeCaches(svg$.FEDisplacementMapElement); svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEDisplacementMapElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108321,7 +118485,9 @@ dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDisplacementMapElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDisplacementMapElement, I[159]); +dart.setStaticFieldSignature(svg$.FEDisplacementMapElement, () => ['SVG_CHANNEL_A', 'SVG_CHANNEL_B', 'SVG_CHANNEL_G', 'SVG_CHANNEL_R', 'SVG_CHANNEL_UNKNOWN']); dart.defineLazy(svg$.FEDisplacementMapElement, { /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { return 4; @@ -108341,9 +118507,18 @@ dart.defineLazy(svg$.FEDisplacementMapElement, { }, false); dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDistantLightElement.__(); + } static new() { return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); } + static ['_#new#tearOff']() { + return svg$.FEDistantLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDistantLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); } @@ -108360,17 +118535,28 @@ svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement }).prototype = svg$.FEDistantLightElement.prototype; dart.addTypeTests(svg$.FEDistantLightElement); dart.addTypeCaches(svg$.FEDistantLightElement); +dart.setStaticMethodSignature(svg$.FEDistantLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDistantLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDistantLightElement, I[159]); dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEFloodElement.__(); + } static new() { return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); } + static ['_#new#tearOff']() { + return svg$.FEFloodElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFloodElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); } @@ -108397,6 +118583,7 @@ svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEFloodElement); dart.addTypeCaches(svg$.FEFloodElement); svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEFloodElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEFloodElement, () => ({ __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108405,21 +118592,36 @@ dart.setGetterSignature(svg$.FEFloodElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEFloodElement, I[157]); +dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFloodElement, I[159]); dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); -svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; +svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGComponentTransferFunctionElement.__(); + } +}; (svg$._SVGComponentTransferFunctionElement.created = function() { svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); ; }).prototype = svg$._SVGComponentTransferFunctionElement.prototype; dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); -dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGComponentTransferFunctionElement, () => ['__']); +dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[159]); dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncAElement.__(); + } static new() { return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); } + static ['_#new#tearOff']() { + return svg$.FEFuncAElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncAElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); } @@ -108430,12 +118632,23 @@ svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncAElement.prototype; dart.addTypeTests(svg$.FEFuncAElement); dart.addTypeCaches(svg$.FEFuncAElement); -dart.setLibraryUri(svg$.FEFuncAElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncAElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncAElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncAElement, I[159]); dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncBElement.__(); + } static new() { return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); } + static ['_#new#tearOff']() { + return svg$.FEFuncBElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncBElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); } @@ -108446,12 +118659,23 @@ svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncBElement.prototype; dart.addTypeTests(svg$.FEFuncBElement); dart.addTypeCaches(svg$.FEFuncBElement); -dart.setLibraryUri(svg$.FEFuncBElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncBElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncBElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncBElement, I[159]); dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncGElement.__(); + } static new() { return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); } + static ['_#new#tearOff']() { + return svg$.FEFuncGElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncGElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); } @@ -108462,12 +118686,23 @@ svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncGElement.prototype; dart.addTypeTests(svg$.FEFuncGElement); dart.addTypeCaches(svg$.FEFuncGElement); -dart.setLibraryUri(svg$.FEFuncGElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncGElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncGElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncGElement, I[159]); dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncRElement.__(); + } static new() { return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); } + static ['_#new#tearOff']() { + return svg$.FEFuncRElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncRElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); } @@ -108478,12 +118713,23 @@ svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncRElement.prototype; dart.addTypeTests(svg$.FEFuncRElement); dart.addTypeCaches(svg$.FEFuncRElement); -dart.setLibraryUri(svg$.FEFuncRElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncRElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncRElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncRElement, I[159]); dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEGaussianBlurElement.__(); + } static new() { return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); } + static ['_#new#tearOff']() { + return svg$.FEGaussianBlurElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEGaussianBlurElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); } @@ -108526,6 +118772,7 @@ dart.setMethodSignature(svg$.FEGaussianBlurElement, () => ({ __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.FEGaussianBlurElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108537,12 +118784,22 @@ dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); +dart.setStaticGetterSignature(svg$.FEGaussianBlurElement, () => ['supported']); +dart.setLibraryUri(svg$.FEGaussianBlurElement, I[159]); dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEImageElement.__(); + } static new() { return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); } + static ['_#new#tearOff']() { + return svg$.FEImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEImageElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); } @@ -108575,6 +118832,7 @@ svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEImageElement); dart.addTypeCaches(svg$.FEImageElement); svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; +dart.setStaticMethodSignature(svg$.FEImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEImageElement, () => ({ __proto__: dart.getGetters(svg$.FEImageElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -108585,12 +118843,22 @@ dart.setGetterSignature(svg$.FEImageElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FEImageElement, I[157]); +dart.setStaticGetterSignature(svg$.FEImageElement, () => ['supported']); +dart.setLibraryUri(svg$.FEImageElement, I[159]); dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeElement.__(); + } static new() { return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); } + static ['_#new#tearOff']() { + return svg$.FEMergeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); } @@ -108617,6 +118885,7 @@ svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEMergeElement); dart.addTypeCaches(svg$.FEMergeElement); svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEMergeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108625,12 +118894,22 @@ dart.setGetterSignature(svg$.FEMergeElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEMergeElement, I[157]); +dart.setStaticGetterSignature(svg$.FEMergeElement, () => ['supported']); +dart.setLibraryUri(svg$.FEMergeElement, I[159]); dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeNodeElement.__(); + } static new() { return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); } + static ['_#new#tearOff']() { + return svg$.FEMergeNodeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeNodeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); } @@ -108644,23 +118923,31 @@ svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { }).prototype = svg$.FEMergeNodeElement.prototype; dart.addTypeTests(svg$.FEMergeNodeElement); dart.addTypeCaches(svg$.FEMergeNodeElement); +dart.setStaticMethodSignature(svg$.FEMergeNodeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); +dart.setStaticGetterSignature(svg$.FEMergeNodeElement, () => ['supported']); +dart.setLibraryUri(svg$.FEMergeNodeElement, I[159]); dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMorphologyElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FEMorphologyElement.created(); + } get [S$3.$in1]() { return this.in1; } get [S$3.$operator]() { return this.operator; } - get [S$2.$radiusX]() { + get [S$3.$radiusX]() { return this.radiusX; } - get [S$2.$radiusY]() { + get [S$3.$radiusY]() { return this.radiusY; } get [$height]() { @@ -108686,19 +118973,21 @@ svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEMorphologyElement); dart.addTypeCaches(svg$.FEMorphologyElement); svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEMorphologyElement, () => ['__']); dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), - [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusY]: dart.nullable(svg$.AnimatedNumber), [$height]: dart.nullable(svg$.AnimatedLength), [S.$result]: dart.nullable(svg$.AnimatedString), [$width]: dart.nullable(svg$.AnimatedLength), [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); +dart.setLibraryUri(svg$.FEMorphologyElement, I[159]); +dart.setStaticFieldSignature(svg$.FEMorphologyElement, () => ['SVG_MORPHOLOGY_OPERATOR_DILATE', 'SVG_MORPHOLOGY_OPERATOR_ERODE', 'SVG_MORPHOLOGY_OPERATOR_UNKNOWN']); dart.defineLazy(svg$.FEMorphologyElement, { /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { return 2; @@ -108712,9 +119001,18 @@ dart.defineLazy(svg$.FEMorphologyElement, { }, false); dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEOffsetElement.__(); + } static new() { return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); } + static ['_#new#tearOff']() { + return svg$.FEOffsetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEOffsetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); } @@ -108750,6 +119048,7 @@ svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEOffsetElement); dart.addTypeCaches(svg$.FEOffsetElement); svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEOffsetElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEOffsetElement, () => ({ __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), @@ -108761,12 +119060,22 @@ dart.setGetterSignature(svg$.FEOffsetElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEOffsetElement, I[157]); +dart.setStaticGetterSignature(svg$.FEOffsetElement, () => ['supported']); +dart.setLibraryUri(svg$.FEOffsetElement, I[159]); dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEPointLightElement.__(); + } static new() { return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); } + static ['_#new#tearOff']() { + return svg$.FEPointLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEPointLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); } @@ -108786,18 +119095,29 @@ svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { }).prototype = svg$.FEPointLightElement.prototype; dart.addTypeTests(svg$.FEPointLightElement); dart.addTypeCaches(svg$.FEPointLightElement); +dart.setStaticMethodSignature(svg$.FEPointLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEPointLightElement, () => ({ __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), [S$.$x]: dart.nullable(svg$.AnimatedNumber), [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FEPointLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FEPointLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FEPointLightElement, I[159]); dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpecularLightingElement.__(); + } static new() { return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); } + static ['_#new#tearOff']() { + return svg$.FESpecularLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpecularLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); } @@ -108842,6 +119162,7 @@ svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.Sv dart.addTypeTests(svg$.FESpecularLightingElement); dart.addTypeCaches(svg$.FESpecularLightingElement); svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FESpecularLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108856,12 +119177,22 @@ dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); +dart.setStaticGetterSignature(svg$.FESpecularLightingElement, () => ['supported']); +dart.setLibraryUri(svg$.FESpecularLightingElement, I[159]); dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpotLightElement.__(); + } static new() { return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); } + static ['_#new#tearOff']() { + return svg$.FESpotLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpotLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); } @@ -108896,6 +119227,7 @@ svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { }).prototype = svg$.FESpotLightElement.prototype; dart.addTypeTests(svg$.FESpotLightElement); dart.addTypeCaches(svg$.FESpotLightElement); +dart.setStaticMethodSignature(svg$.FESpotLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpotLightElement, () => ({ __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), @@ -108907,12 +119239,22 @@ dart.setGetterSignature(svg$.FESpotLightElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FESpotLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FESpotLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FESpotLightElement, I[159]); dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETileElement.__(); + } static new() { return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); } + static ['_#new#tearOff']() { + return svg$.FETileElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETileElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); } @@ -108942,6 +119284,7 @@ svg$.FETileElement = class FETileElement extends svg$.SvgElement { dart.addTypeTests(svg$.FETileElement); dart.addTypeCaches(svg$.FETileElement); svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FETileElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETileElement, () => ({ __proto__: dart.getGetters(svg$.FETileElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108951,12 +119294,22 @@ dart.setGetterSignature(svg$.FETileElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FETileElement, I[157]); +dart.setStaticGetterSignature(svg$.FETileElement, () => ['supported']); +dart.setLibraryUri(svg$.FETileElement, I[159]); dart.registerExtension("SVGFETileElement", svg$.FETileElement); svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETurbulenceElement.__(); + } static new() { return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); } + static ['_#new#tearOff']() { + return svg$.FETurbulenceElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETurbulenceElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); } @@ -109001,6 +119354,7 @@ svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { dart.addTypeTests(svg$.FETurbulenceElement); dart.addTypeCaches(svg$.FETurbulenceElement); svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FETurbulenceElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), @@ -109015,7 +119369,9 @@ dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); +dart.setStaticGetterSignature(svg$.FETurbulenceElement, () => ['supported']); +dart.setLibraryUri(svg$.FETurbulenceElement, I[159]); +dart.setStaticFieldSignature(svg$.FETurbulenceElement, () => ['SVG_STITCHTYPE_NOSTITCH', 'SVG_STITCHTYPE_STITCH', 'SVG_STITCHTYPE_UNKNOWN', 'SVG_TURBULENCE_TYPE_FRACTALNOISE', 'SVG_TURBULENCE_TYPE_TURBULENCE', 'SVG_TURBULENCE_TYPE_UNKNOWN']); dart.defineLazy(svg$.FETurbulenceElement, { /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { return 2; @@ -109038,9 +119394,18 @@ dart.defineLazy(svg$.FETurbulenceElement, { }, false); dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FilterElement.__(); + } static new() { return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); } + static ['_#new#tearOff']() { + return svg$.FilterElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FilterElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); } @@ -109073,6 +119438,7 @@ svg$.FilterElement = class FilterElement extends svg$.SvgElement { dart.addTypeTests(svg$.FilterElement); dart.addTypeCaches(svg$.FilterElement); svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.FilterElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FilterElement, () => ({ __proto__: dart.getGetters(svg$.FilterElement.__proto__), [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), @@ -109083,9 +119449,13 @@ dart.setGetterSignature(svg$.FilterElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FilterElement, I[157]); +dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); +dart.setLibraryUri(svg$.FilterElement, I[159]); dart.registerExtension("SVGFilterElement", svg$.FilterElement); -svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { +svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FilterPrimitiveStandardAttributes.__(); + } get height() { return this.height; } @@ -109104,6 +119474,7 @@ svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes }; dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); +dart.setStaticMethodSignature(svg$.FilterPrimitiveStandardAttributes, () => ['__']); dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), height: dart.nullable(svg$.AnimatedLength), @@ -109117,7 +119488,7 @@ dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ y: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); +dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ 'height', 'result', @@ -109125,7 +119496,10 @@ dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ 'x', 'y' ]); -svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { +svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FitToViewBox.__(); + } get preserveAspectRatio() { return this.preserveAspectRatio; } @@ -109135,6 +119509,7 @@ svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.FitToViewBox); dart.addTypeCaches(svg$.FitToViewBox); +dart.setStaticMethodSignature(svg$.FitToViewBox, () => ['__']); dart.setGetterSignature(svg$.FitToViewBox, () => ({ __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -109142,12 +119517,21 @@ dart.setGetterSignature(svg$.FitToViewBox, () => ({ viewBox: dart.nullable(svg$.AnimatedRect), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.FitToViewBox, I[157]); +dart.setLibraryUri(svg$.FitToViewBox, I[159]); dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ForeignObjectElement.__(); + } static new() { return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); } + static ['_#new#tearOff']() { + return svg$.ForeignObjectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ForeignObjectElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); } @@ -109170,6 +119554,7 @@ svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElem }).prototype = svg$.ForeignObjectElement.prototype; dart.addTypeTests(svg$.ForeignObjectElement); dart.addTypeCaches(svg$.ForeignObjectElement); +dart.setStaticMethodSignature(svg$.ForeignObjectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109177,12 +119562,22 @@ dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); +dart.setStaticGetterSignature(svg$.ForeignObjectElement, () => ['supported']); +dart.setLibraryUri(svg$.ForeignObjectElement, I[159]); dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); svg$.GElement = class GElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GElement.__(); + } static new() { return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); } + static ['_#new#tearOff']() { + return svg$.GElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.GElement.created(); + } }; (svg$.GElement.created = function() { svg$.GElement.__proto__.created.call(this); @@ -109190,12 +119585,22 @@ svg$.GElement = class GElement extends svg$.GraphicsElement { }).prototype = svg$.GElement.prototype; dart.addTypeTests(svg$.GElement); dart.addTypeCaches(svg$.GElement); -dart.setLibraryUri(svg$.GElement, I[157]); +dart.setStaticMethodSignature(svg$.GElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.GElement, I[159]); dart.registerExtension("SVGGElement", svg$.GElement); svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ImageElement.__(); + } static new() { return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); } + static ['_#new#tearOff']() { + return svg$.ImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ImageElement.created(); + } get [S$1.$async]() { return this.async; } @@ -109235,6 +119640,7 @@ dart.setMethodSignature(svg$.ImageElement, () => ({ __proto__: dart.getMethods(svg$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(svg$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ImageElement, () => ({ __proto__: dart.getGetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String), @@ -109249,9 +119655,12 @@ dart.setSetterSignature(svg$.ImageElement, () => ({ __proto__: dart.getSetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.ImageElement, I[157]); +dart.setLibraryUri(svg$.ImageElement, I[159]); dart.registerExtension("SVGImageElement", svg$.ImageElement); -svg$.Length = class Length extends _interceptors.Interceptor { +svg$.Length = class Length extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Length.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -109287,6 +119696,7 @@ dart.setMethodSignature(svg$.Length, () => ({ [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); +dart.setStaticMethodSignature(svg$.Length, () => ['__']); dart.setGetterSignature(svg$.Length, () => ({ __proto__: dart.getGetters(svg$.Length.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -109300,7 +119710,8 @@ dart.setSetterSignature(svg$.Length, () => ({ [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Length, I[157]); +dart.setLibraryUri(svg$.Length, I[159]); +dart.setStaticFieldSignature(svg$.Length, () => ['SVG_LENGTHTYPE_CM', 'SVG_LENGTHTYPE_EMS', 'SVG_LENGTHTYPE_EXS', 'SVG_LENGTHTYPE_IN', 'SVG_LENGTHTYPE_MM', 'SVG_LENGTHTYPE_NUMBER', 'SVG_LENGTHTYPE_PC', 'SVG_LENGTHTYPE_PERCENTAGE', 'SVG_LENGTHTYPE_PT', 'SVG_LENGTHTYPE_PX', 'SVG_LENGTHTYPE_UNKNOWN']); dart.defineLazy(svg$.Length, { /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { return 6; @@ -109337,17 +119748,20 @@ dart.defineLazy(svg$.Length, { } }, false); dart.registerExtension("SVGLength", svg$.Length); -const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$13.new = function() { - Interceptor_ListMixin$36$13.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$13.prototype; -dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); -const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; -(Interceptor_ImmutableListMixin$36$13.new = function() { - Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$13.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); -svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { +const JavaScriptObject_ListMixin$36$13 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$13.new = function() { + JavaScriptObject_ListMixin$36$13.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$13.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$13, collection.ListMixin$(svg$.Length)); +const JavaScriptObject_ImmutableListMixin$36$13 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$13 {}; +(JavaScriptObject_ImmutableListMixin$36$13.new = function() { + JavaScriptObject_ImmutableListMixin$36$13.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$13.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); +svg$.LengthList = class LengthList extends JavaScriptObject_ImmutableListMixin$36$13 { + static ['_#_#tearOff']() { + return svg$.LengthList.__(); + } get [$length]() { return this.length; } @@ -109355,20 +119769,20 @@ svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2059, 25, "index"); svg$.Length.as(value); - if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2059, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2065, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109399,7 +119813,7 @@ svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2093, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109443,6 +119857,7 @@ dart.setMethodSignature(svg$.LengthList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) })); +dart.setStaticMethodSignature(svg$.LengthList, () => ['__']); dart.setGetterSignature(svg$.LengthList, () => ({ __proto__: dart.getGetters(svg$.LengthList.__proto__), [$length]: core.int, @@ -109452,12 +119867,21 @@ dart.setSetterSignature(svg$.LengthList, () => ({ __proto__: dart.getSetters(svg$.LengthList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.LengthList, I[157]); +dart.setLibraryUri(svg$.LengthList, I[159]); dart.registerExtension("SVGLengthList", svg$.LengthList); svg$.LineElement = class LineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.LineElement.__(); + } static new() { return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); } + static ['_#new#tearOff']() { + return svg$.LineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LineElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109477,6 +119901,7 @@ svg$.LineElement = class LineElement extends svg$.GeometryElement { }).prototype = svg$.LineElement.prototype; dart.addTypeTests(svg$.LineElement); dart.addTypeCaches(svg$.LineElement); +dart.setStaticMethodSignature(svg$.LineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LineElement, () => ({ __proto__: dart.getGetters(svg$.LineElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109484,9 +119909,15 @@ dart.setGetterSignature(svg$.LineElement, () => ({ [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.LineElement, I[157]); +dart.setLibraryUri(svg$.LineElement, I[159]); dart.registerExtension("SVGLineElement", svg$.LineElement); svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._GradientElement.__(); + } + static ['_#created#tearOff']() { + return new svg$._GradientElement.created(); + } get [S$3.$gradientTransform]() { return this.gradientTransform; } @@ -109507,6 +119938,7 @@ svg$._GradientElement = class _GradientElement extends svg$.SvgElement { dart.addTypeTests(svg$._GradientElement); dart.addTypeCaches(svg$._GradientElement); svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$._GradientElement, () => ['__']); dart.setGetterSignature(svg$._GradientElement, () => ({ __proto__: dart.getGetters(svg$._GradientElement.__proto__), [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), @@ -109514,7 +119946,8 @@ dart.setGetterSignature(svg$._GradientElement, () => ({ [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$._GradientElement, I[157]); +dart.setLibraryUri(svg$._GradientElement, I[159]); +dart.setStaticFieldSignature(svg$._GradientElement, () => ['SVG_SPREADMETHOD_PAD', 'SVG_SPREADMETHOD_REFLECT', 'SVG_SPREADMETHOD_REPEAT', 'SVG_SPREADMETHOD_UNKNOWN']); dart.defineLazy(svg$._GradientElement, { /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { return 1; @@ -109531,9 +119964,18 @@ dart.defineLazy(svg$._GradientElement, { }, false); dart.registerExtension("SVGGradientElement", svg$._GradientElement); svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.LinearGradientElement.__(); + } static new() { return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); } + static ['_#new#tearOff']() { + return svg$.LinearGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LinearGradientElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109553,6 +119995,7 @@ svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientE }).prototype = svg$.LinearGradientElement.prototype; dart.addTypeTests(svg$.LinearGradientElement); dart.addTypeCaches(svg$.LinearGradientElement); +dart.setStaticMethodSignature(svg$.LinearGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LinearGradientElement, () => ({ __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109560,12 +120003,21 @@ dart.setGetterSignature(svg$.LinearGradientElement, () => ({ [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.LinearGradientElement, I[157]); +dart.setLibraryUri(svg$.LinearGradientElement, I[159]); dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MarkerElement.__(); + } static new() { return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); } + static ['_#new#tearOff']() { + return svg$.MarkerElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MarkerElement.created(); + } get [S$3.$markerHeight]() { return this.markerHeight; } @@ -109612,6 +120064,7 @@ dart.setMethodSignature(svg$.MarkerElement, () => ({ [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(svg$.MarkerElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MarkerElement, () => ({ __proto__: dart.getGetters(svg$.MarkerElement.__proto__), [S$3.$markerHeight]: svg$.AnimatedLength, @@ -109624,7 +120077,8 @@ dart.setGetterSignature(svg$.MarkerElement, () => ({ [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.MarkerElement, I[157]); +dart.setLibraryUri(svg$.MarkerElement, I[159]); +dart.setStaticFieldSignature(svg$.MarkerElement, () => ['SVG_MARKERUNITS_STROKEWIDTH', 'SVG_MARKERUNITS_UNKNOWN', 'SVG_MARKERUNITS_USERSPACEONUSE', 'SVG_MARKER_ORIENT_ANGLE', 'SVG_MARKER_ORIENT_AUTO', 'SVG_MARKER_ORIENT_UNKNOWN']); dart.defineLazy(svg$.MarkerElement, { /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { return 2; @@ -109647,9 +120101,18 @@ dart.defineLazy(svg$.MarkerElement, { }, false); dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MaskElement.__(); + } static new() { return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); } + static ['_#new#tearOff']() { + return svg$.MaskElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MaskElement.created(); + } get [$height]() { return this.height; } @@ -109682,6 +120145,7 @@ svg$.MaskElement = class MaskElement extends svg$.SvgElement { dart.addTypeTests(svg$.MaskElement); dart.addTypeCaches(svg$.MaskElement); svg$.MaskElement[dart.implements] = () => [svg$.Tests]; +dart.setStaticMethodSignature(svg$.MaskElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MaskElement, () => ({ __proto__: dart.getGetters(svg$.MaskElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109693,9 +120157,12 @@ dart.setGetterSignature(svg$.MaskElement, () => ({ [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.MaskElement, I[157]); +dart.setLibraryUri(svg$.MaskElement, I[159]); dart.registerExtension("SVGMaskElement", svg$.MaskElement); -svg$.Matrix = class Matrix extends _interceptors.Interceptor { +svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Matrix.__(); + } get [S$1.$a]() { return this.a; } @@ -109782,6 +120249,7 @@ dart.setMethodSignature(svg$.Matrix, () => ({ [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.Matrix, () => ['__']); dart.setGetterSignature(svg$.Matrix, () => ({ __proto__: dart.getGetters(svg$.Matrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -109800,18 +120268,29 @@ dart.setSetterSignature(svg$.Matrix, () => ({ [S$1.$e]: dart.nullable(core.num), [S$1.$f]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Matrix, I[157]); +dart.setLibraryUri(svg$.Matrix, I[159]); dart.registerExtension("SVGMatrix", svg$.Matrix); -svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; +svg$.MetadataElement = class MetadataElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MetadataElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.MetadataElement.created(); + } +}; (svg$.MetadataElement.created = function() { svg$.MetadataElement.__proto__.created.call(this); ; }).prototype = svg$.MetadataElement.prototype; dart.addTypeTests(svg$.MetadataElement); dart.addTypeCaches(svg$.MetadataElement); -dart.setLibraryUri(svg$.MetadataElement, I[157]); +dart.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); +dart.setLibraryUri(svg$.MetadataElement, I[159]); dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); -svg$.Number = class Number extends _interceptors.Interceptor { +svg$.Number = class Number extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Number.__(); + } get [S.$value]() { return this.value; } @@ -109821,6 +120300,7 @@ svg$.Number = class Number extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Number); dart.addTypeCaches(svg$.Number); +dart.setStaticMethodSignature(svg$.Number, () => ['__']); dart.setGetterSignature(svg$.Number, () => ({ __proto__: dart.getGetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) @@ -109829,19 +120309,22 @@ dart.setSetterSignature(svg$.Number, () => ({ __proto__: dart.getSetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Number, I[157]); +dart.setLibraryUri(svg$.Number, I[159]); dart.registerExtension("SVGNumber", svg$.Number); -const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$14.new = function() { - Interceptor_ListMixin$36$14.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$14.prototype; -dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); -const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; -(Interceptor_ImmutableListMixin$36$14.new = function() { - Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$14.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); -svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { +const JavaScriptObject_ListMixin$36$14 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$14.new = function() { + JavaScriptObject_ListMixin$36$14.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$14.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$14, collection.ListMixin$(svg$.Number)); +const JavaScriptObject_ImmutableListMixin$36$14 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$14 {}; +(JavaScriptObject_ImmutableListMixin$36$14.new = function() { + JavaScriptObject_ImmutableListMixin$36$14.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$14.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); +svg$.NumberList = class NumberList extends JavaScriptObject_ImmutableListMixin$36$14 { + static ['_#_#tearOff']() { + return svg$.NumberList.__(); + } get [$length]() { return this.length; } @@ -109849,20 +120332,20 @@ svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2384, 25, "index"); svg$.Number.as(value); - if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2384, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2390, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109893,7 +120376,7 @@ svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2418, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109937,6 +120420,7 @@ dart.setMethodSignature(svg$.NumberList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) })); +dart.setStaticMethodSignature(svg$.NumberList, () => ['__']); dart.setGetterSignature(svg$.NumberList, () => ({ __proto__: dart.getGetters(svg$.NumberList.__proto__), [$length]: core.int, @@ -109946,12 +120430,21 @@ dart.setSetterSignature(svg$.NumberList, () => ({ __proto__: dart.getSetters(svg$.NumberList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.NumberList, I[157]); +dart.setLibraryUri(svg$.NumberList, I[159]); dart.registerExtension("SVGNumberList", svg$.NumberList); svg$.PathElement = class PathElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PathElement.__(); + } static new() { return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); } + static ['_#new#tearOff']() { + return svg$.PathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PathElement.created(); + } }; (svg$.PathElement.created = function() { svg$.PathElement.__proto__.created.call(this); @@ -109959,12 +120452,22 @@ svg$.PathElement = class PathElement extends svg$.GeometryElement { }).prototype = svg$.PathElement.prototype; dart.addTypeTests(svg$.PathElement); dart.addTypeCaches(svg$.PathElement); -dart.setLibraryUri(svg$.PathElement, I[157]); +dart.setStaticMethodSignature(svg$.PathElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.PathElement, I[159]); dart.registerExtension("SVGPathElement", svg$.PathElement); svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.PatternElement.__(); + } static new() { return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); } + static ['_#new#tearOff']() { + return svg$.PatternElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PatternElement.created(); + } get [$height]() { return this.height; } @@ -110009,6 +120512,7 @@ svg$.PatternElement = class PatternElement extends svg$.SvgElement { dart.addTypeTests(svg$.PatternElement); dart.addTypeCaches(svg$.PatternElement); svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; +dart.setStaticMethodSignature(svg$.PatternElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PatternElement, () => ({ __proto__: dart.getGetters(svg$.PatternElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110024,9 +120528,12 @@ dart.setGetterSignature(svg$.PatternElement, () => ({ [S$3.$systemLanguage]: dart.nullable(svg$.StringList), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.PatternElement, I[157]); +dart.setLibraryUri(svg$.PatternElement, I[159]); dart.registerExtension("SVGPatternElement", svg$.PatternElement); -svg$.Point = class Point extends _interceptors.Interceptor { +svg$.Point = class Point extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Point.__(); + } get [S$.$x]() { return this.x; } @@ -110049,6 +120556,7 @@ dart.setMethodSignature(svg$.Point, () => ({ __proto__: dart.getMethods(svg$.Point.__proto__), [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) })); +dart.setStaticMethodSignature(svg$.Point, () => ['__']); dart.setGetterSignature(svg$.Point, () => ({ __proto__: dart.getGetters(svg$.Point.__proto__), [S$.$x]: dart.nullable(core.num), @@ -110059,9 +120567,12 @@ dart.setSetterSignature(svg$.Point, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Point, I[157]); +dart.setLibraryUri(svg$.Point, I[159]); dart.registerExtension("SVGPoint", svg$.Point); -svg$.PointList = class PointList extends _interceptors.Interceptor { +svg$.PointList = class PointList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PointList.__(); + } get [$length]() { return this.length; } @@ -110106,17 +120617,27 @@ dart.setMethodSignature(svg$.PointList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) })); +dart.setStaticMethodSignature(svg$.PointList, () => ['__']); dart.setGetterSignature(svg$.PointList, () => ({ __proto__: dart.getGetters(svg$.PointList.__proto__), [$length]: dart.nullable(core.int), [S$3.$numberOfItems]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.PointList, I[157]); +dart.setLibraryUri(svg$.PointList, I[159]); dart.registerExtension("SVGPointList", svg$.PointList); svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolygonElement.__(); + } static new() { return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); } + static ['_#new#tearOff']() { + return svg$.PolygonElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolygonElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110130,17 +120651,27 @@ svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { }).prototype = svg$.PolygonElement.prototype; dart.addTypeTests(svg$.PolygonElement); dart.addTypeCaches(svg$.PolygonElement); +dart.setStaticMethodSignature(svg$.PolygonElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolygonElement, () => ({ __proto__: dart.getGetters(svg$.PolygonElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); -dart.setLibraryUri(svg$.PolygonElement, I[157]); +dart.setLibraryUri(svg$.PolygonElement, I[159]); dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolylineElement.__(); + } static new() { return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); } + static ['_#new#tearOff']() { + return svg$.PolylineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolylineElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110154,14 +120685,18 @@ svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { }).prototype = svg$.PolylineElement.prototype; dart.addTypeTests(svg$.PolylineElement); dart.addTypeCaches(svg$.PolylineElement); +dart.setStaticMethodSignature(svg$.PolylineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolylineElement, () => ({ __proto__: dart.getGetters(svg$.PolylineElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); -dart.setLibraryUri(svg$.PolylineElement, I[157]); +dart.setLibraryUri(svg$.PolylineElement, I[159]); dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); -svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { +svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PreserveAspectRatio.__(); + } get [S$3.$align]() { return this.align; } @@ -110177,6 +120712,7 @@ svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Inter }; dart.addTypeTests(svg$.PreserveAspectRatio); dart.addTypeCaches(svg$.PreserveAspectRatio); +dart.setStaticMethodSignature(svg$.PreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), [S$3.$align]: dart.nullable(core.int), @@ -110187,7 +120723,8 @@ dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ [S$3.$align]: dart.nullable(core.int), [S$3.$meetOrSlice]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); +dart.setLibraryUri(svg$.PreserveAspectRatio, I[159]); +dart.setStaticFieldSignature(svg$.PreserveAspectRatio, () => ['SVG_MEETORSLICE_MEET', 'SVG_MEETORSLICE_SLICE', 'SVG_MEETORSLICE_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_NONE', 'SVG_PRESERVEASPECTRATIO_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_XMAXYMAX', 'SVG_PRESERVEASPECTRATIO_XMAXYMID', 'SVG_PRESERVEASPECTRATIO_XMAXYMIN', 'SVG_PRESERVEASPECTRATIO_XMIDYMAX', 'SVG_PRESERVEASPECTRATIO_XMIDYMID', 'SVG_PRESERVEASPECTRATIO_XMIDYMIN', 'SVG_PRESERVEASPECTRATIO_XMINYMAX', 'SVG_PRESERVEASPECTRATIO_XMINYMID', 'SVG_PRESERVEASPECTRATIO_XMINYMIN']); dart.defineLazy(svg$.PreserveAspectRatio, { /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { return 1; @@ -110234,9 +120771,18 @@ dart.defineLazy(svg$.PreserveAspectRatio, { }, false); dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.RadialGradientElement.__(); + } static new() { return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); } + static ['_#new#tearOff']() { + return svg$.RadialGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RadialGradientElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -110262,6 +120808,7 @@ svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientE }).prototype = svg$.RadialGradientElement.prototype; dart.addTypeTests(svg$.RadialGradientElement); dart.addTypeCaches(svg$.RadialGradientElement); +dart.setStaticMethodSignature(svg$.RadialGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RadialGradientElement, () => ({ __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -110271,9 +120818,12 @@ dart.setGetterSignature(svg$.RadialGradientElement, () => ({ [S$3.$fy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.RadialGradientElement, I[157]); +dart.setLibraryUri(svg$.RadialGradientElement, I[159]); dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); -svg$.Rect = class Rect extends _interceptors.Interceptor { +svg$.Rect = class Rect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Rect.__(); + } get [$height]() { return this.height; } @@ -110301,6 +120851,7 @@ svg$.Rect = class Rect extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Rect); dart.addTypeCaches(svg$.Rect); +dart.setStaticMethodSignature(svg$.Rect, () => ['__']); dart.setGetterSignature(svg$.Rect, () => ({ __proto__: dart.getGetters(svg$.Rect.__proto__), [$height]: dart.nullable(core.num), @@ -110315,12 +120866,21 @@ dart.setSetterSignature(svg$.Rect, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Rect, I[157]); +dart.setLibraryUri(svg$.Rect, I[159]); dart.registerExtension("SVGRect", svg$.Rect); svg$.RectElement = class RectElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.RectElement.__(); + } static new() { return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); } + static ['_#new#tearOff']() { + return svg$.RectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RectElement.created(); + } get [$height]() { return this.height; } @@ -110346,6 +120906,7 @@ svg$.RectElement = class RectElement extends svg$.GeometryElement { }).prototype = svg$.RectElement.prototype; dart.addTypeTests(svg$.RectElement); dart.addTypeCaches(svg$.RectElement); +dart.setStaticMethodSignature(svg$.RectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RectElement, () => ({ __proto__: dart.getGetters(svg$.RectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110355,12 +120916,21 @@ dart.setGetterSignature(svg$.RectElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.RectElement, I[157]); +dart.setLibraryUri(svg$.RectElement, I[159]); dart.registerExtension("SVGRectElement", svg$.RectElement); svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ScriptElement.__(); + } static new() { return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); } + static ['_#new#tearOff']() { + return svg$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ScriptElement.created(); + } get [S.$type]() { return this.type; } @@ -110378,6 +120948,7 @@ svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { dart.addTypeTests(svg$.ScriptElement); dart.addTypeCaches(svg$.ScriptElement); svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ScriptElement, () => ({ __proto__: dart.getGetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String), @@ -110387,12 +120958,21 @@ dart.setSetterSignature(svg$.ScriptElement, () => ({ __proto__: dart.getSetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.ScriptElement, I[157]); +dart.setLibraryUri(svg$.ScriptElement, I[159]); dart.registerExtension("SVGScriptElement", svg$.ScriptElement); svg$.SetElement = class SetElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.SetElement.__(); + } static new() { return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); } + static ['_#new#tearOff']() { + return svg$.SetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); } @@ -110403,12 +120983,23 @@ svg$.SetElement = class SetElement extends svg$.AnimationElement { }).prototype = svg$.SetElement.prototype; dart.addTypeTests(svg$.SetElement); dart.addTypeCaches(svg$.SetElement); -dart.setLibraryUri(svg$.SetElement, I[157]); +dart.setStaticMethodSignature(svg$.SetElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.SetElement, () => ['supported']); +dart.setLibraryUri(svg$.SetElement, I[159]); dart.registerExtension("SVGSetElement", svg$.SetElement); svg$.StopElement = class StopElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StopElement.__(); + } static new() { return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); } + static ['_#new#tearOff']() { + return svg$.StopElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StopElement.created(); + } get [S$3.$gradientOffset]() { return this.offset; } @@ -110419,23 +121010,27 @@ svg$.StopElement = class StopElement extends svg$.SvgElement { }).prototype = svg$.StopElement.prototype; dart.addTypeTests(svg$.StopElement); dart.addTypeCaches(svg$.StopElement); +dart.setStaticMethodSignature(svg$.StopElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StopElement, () => ({ __proto__: dart.getGetters(svg$.StopElement.__proto__), [S$3.$gradientOffset]: svg$.AnimatedNumber })); -dart.setLibraryUri(svg$.StopElement, I[157]); +dart.setLibraryUri(svg$.StopElement, I[159]); dart.registerExtension("SVGStopElement", svg$.StopElement); -const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$15.new = function() { - Interceptor_ListMixin$36$15.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$15.prototype; -dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); -const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; -(Interceptor_ImmutableListMixin$36$15.new = function() { - Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$15.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); -svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { +const JavaScriptObject_ListMixin$36$15 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$15.new = function() { + JavaScriptObject_ListMixin$36$15.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$15.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$15, collection.ListMixin$(core.String)); +const JavaScriptObject_ImmutableListMixin$36$15 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$15 {}; +(JavaScriptObject_ImmutableListMixin$36$15.new = function() { + JavaScriptObject_ImmutableListMixin$36$15.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$15.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); +svg$.StringList = class StringList extends JavaScriptObject_ImmutableListMixin$36$15 { + static ['_#_#tearOff']() { + return svg$.StringList.__(); + } get [$length]() { return this.length; } @@ -110443,20 +121038,20 @@ svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2867, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2867, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2873, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -110487,7 +121082,7 @@ svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2901, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -110531,6 +121126,7 @@ dart.setMethodSignature(svg$.StringList, () => ({ [S$3.$removeItem]: dart.fnType(core.String, [core.int]), [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) })); +dart.setStaticMethodSignature(svg$.StringList, () => ['__']); dart.setGetterSignature(svg$.StringList, () => ({ __proto__: dart.getGetters(svg$.StringList.__proto__), [$length]: core.int, @@ -110540,12 +121136,21 @@ dart.setSetterSignature(svg$.StringList, () => ({ __proto__: dart.getSetters(svg$.StringList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.StringList, I[157]); +dart.setLibraryUri(svg$.StringList, I[159]); dart.registerExtension("SVGStringList", svg$.StringList); svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StyleElement.__(); + } static new() { return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); } + static ['_#new#tearOff']() { + return svg$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -110574,6 +121179,7 @@ svg$.StyleElement = class StyleElement extends svg$.SvgElement { }).prototype = svg$.StyleElement.prototype; dart.addTypeTests(svg$.StyleElement); dart.addTypeCaches(svg$.StyleElement); +dart.setStaticMethodSignature(svg$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StyleElement, () => ({ __proto__: dart.getGetters(svg$.StyleElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -110587,11 +121193,15 @@ dart.setSetterSignature(svg$.StyleElement, () => ({ [S$.$media]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.StyleElement, I[157]); +dart.setLibraryUri(svg$.StyleElement, I[159]); dart.registerExtension("SVGStyleElement", svg$.StyleElement); svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + return new svg$.AttributeClassSet.new(_element); + } readClasses() { - let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + let classname = this[S$3._element$1][S.$attributes][$_get]("class"); if (svg$.AnimatedString.is(classname)) { classname = svg$.AnimatedString.as(classname).baseVal; } @@ -110608,13 +121218,13 @@ svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSet return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); - this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + if (s == null) dart.nullFailed(I[158], 2986, 25, "s"); + this[S$3._element$1][S.$setAttribute]("class", s[$join](" ")); } }; (svg$.AttributeClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); - this[S$3._element$3] = _element; + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + this[S$3._element$1] = _element; ; }).prototype = svg$.AttributeClassSet.prototype; dart.addTypeTests(svg$.AttributeClassSet); @@ -110624,17 +121234,26 @@ dart.setMethodSignature(svg$.AttributeClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set]) })); -dart.setLibraryUri(svg$.AttributeClassSet, I[157]); +dart.setLibraryUri(svg$.AttributeClassSet, I[159]); dart.setFieldSignature(svg$.AttributeClassSet, () => ({ __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [S$3._element$3]: dart.finalFieldType(html$.Element) + [S$3._element$1]: dart.finalFieldType(html$.Element) })); svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static ['_#new#tearOff']() { + return svg$.SvgSvgElement.new(); + } static new() { let el = svg$.SvgElement.tag("svg"); el[S.$attributes][$_set]("version", "1.1"); return svg$.SvgSvgElement.as(el); } + static ['_#_#tearOff']() { + return svg$.SvgSvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgSvgElement.created(); + } get [S$3.$currentScale]() { return this.currentScale; } @@ -110771,6 +121390,7 @@ dart.setMethodSignature(svg$.SvgSvgElement, () => ({ [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(svg$.SvgSvgElement, () => ['new', '__']); dart.setGetterSignature(svg$.SvgSvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), [S$3.$currentScale]: dart.nullable(core.num), @@ -110788,12 +121408,21 @@ dart.setSetterSignature(svg$.SvgSvgElement, () => ({ [S$3.$currentScale]: dart.nullable(core.num), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.SvgSvgElement, I[157]); +dart.setLibraryUri(svg$.SvgSvgElement, I[159]); dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.SwitchElement.__(); + } static new() { return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); } + static ['_#new#tearOff']() { + return svg$.SwitchElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SwitchElement.created(); + } }; (svg$.SwitchElement.created = function() { svg$.SwitchElement.__proto__.created.call(this); @@ -110801,12 +121430,22 @@ svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { }).prototype = svg$.SwitchElement.prototype; dart.addTypeTests(svg$.SwitchElement); dart.addTypeCaches(svg$.SwitchElement); -dart.setLibraryUri(svg$.SwitchElement, I[157]); +dart.setStaticMethodSignature(svg$.SwitchElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.SwitchElement, I[159]); dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.SymbolElement.__(); + } static new() { return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); } + static ['_#new#tearOff']() { + return svg$.SymbolElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SymbolElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -110821,14 +121460,21 @@ svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { dart.addTypeTests(svg$.SymbolElement); dart.addTypeCaches(svg$.SymbolElement); svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setStaticMethodSignature(svg$.SymbolElement, () => ['__', 'new']); dart.setGetterSignature(svg$.SymbolElement, () => ({ __proto__: dart.getGetters(svg$.SymbolElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.SymbolElement, I[157]); +dart.setLibraryUri(svg$.SymbolElement, I[159]); dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.TextContentElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextContentElement.created(); + } get [S$3.$lengthAdjust]() { return this.lengthAdjust; } @@ -110881,12 +121527,14 @@ dart.setMethodSignature(svg$.TextContentElement, () => ({ [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) })); +dart.setStaticMethodSignature(svg$.TextContentElement, () => ['__']); dart.setGetterSignature(svg$.TextContentElement, () => ({ __proto__: dart.getGetters(svg$.TextContentElement.__proto__), [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.TextContentElement, I[157]); +dart.setLibraryUri(svg$.TextContentElement, I[159]); +dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); dart.defineLazy(svg$.TextContentElement, { /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { return 1; @@ -110900,6 +121548,12 @@ dart.defineLazy(svg$.TextContentElement, { }, false); dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPositioningElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPositioningElement.created(); + } get [S$3.$dx]() { return this.dx; } @@ -110922,6 +121576,7 @@ svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextCont }).prototype = svg$.TextPositioningElement.prototype; dart.addTypeTests(svg$.TextPositioningElement); dart.addTypeCaches(svg$.TextPositioningElement); +dart.setStaticMethodSignature(svg$.TextPositioningElement, () => ['__']); dart.setGetterSignature(svg$.TextPositioningElement, () => ({ __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), @@ -110930,12 +121585,21 @@ dart.setGetterSignature(svg$.TextPositioningElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLengthList), [S$.$y]: dart.nullable(svg$.AnimatedLengthList) })); -dart.setLibraryUri(svg$.TextPositioningElement, I[157]); +dart.setLibraryUri(svg$.TextPositioningElement, I[159]); dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TSpanElement.__(); + } static new() { return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); } + static ['_#new#tearOff']() { + return svg$.TSpanElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TSpanElement.created(); + } }; (svg$.TSpanElement.created = function() { svg$.TSpanElement.__proto__.created.call(this); @@ -110943,9 +121607,13 @@ svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { }).prototype = svg$.TSpanElement.prototype; dart.addTypeTests(svg$.TSpanElement); dart.addTypeCaches(svg$.TSpanElement); -dart.setLibraryUri(svg$.TSpanElement, I[157]); +dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TSpanElement, I[159]); dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); -svg$.Tests = class Tests extends _interceptors.Interceptor { +svg$.Tests = class Tests extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Tests.__(); + } get requiredExtensions() { return this.requiredExtensions; } @@ -110955,6 +121623,7 @@ svg$.Tests = class Tests extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Tests); dart.addTypeCaches(svg$.Tests); +dart.setStaticMethodSignature(svg$.Tests, () => ['__']); dart.setGetterSignature(svg$.Tests, () => ({ __proto__: dart.getGetters(svg$.Tests.__proto__), requiredExtensions: dart.nullable(svg$.StringList), @@ -110962,12 +121631,21 @@ dart.setGetterSignature(svg$.Tests, () => ({ systemLanguage: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.Tests, I[157]); +dart.setLibraryUri(svg$.Tests, I[159]); dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TextElement.__(); + } static new() { return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); } + static ['_#new#tearOff']() { + return svg$.TextElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TextElement.created(); + } }; (svg$.TextElement.created = function() { svg$.TextElement.__proto__.created.call(this); @@ -110975,9 +121653,16 @@ svg$.TextElement = class TextElement extends svg$.TextPositioningElement { }).prototype = svg$.TextElement.prototype; dart.addTypeTests(svg$.TextElement); dart.addTypeCaches(svg$.TextElement); -dart.setLibraryUri(svg$.TextElement, I[157]); +dart.setStaticMethodSignature(svg$.TextElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TextElement, I[159]); dart.registerExtension("SVGTextElement", svg$.TextElement); svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPathElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPathElement.created(); + } get [S$1.$method]() { return this.method; } @@ -110998,6 +121683,7 @@ svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { dart.addTypeTests(svg$.TextPathElement); dart.addTypeCaches(svg$.TextPathElement); svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.TextPathElement, () => ['__']); dart.setGetterSignature(svg$.TextPathElement, () => ({ __proto__: dart.getGetters(svg$.TextPathElement.__proto__), [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), @@ -111005,7 +121691,8 @@ dart.setGetterSignature(svg$.TextPathElement, () => ({ [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.TextPathElement, I[157]); +dart.setLibraryUri(svg$.TextPathElement, I[159]); +dart.setStaticFieldSignature(svg$.TextPathElement, () => ['TEXTPATH_METHODTYPE_ALIGN', 'TEXTPATH_METHODTYPE_STRETCH', 'TEXTPATH_METHODTYPE_UNKNOWN', 'TEXTPATH_SPACINGTYPE_AUTO', 'TEXTPATH_SPACINGTYPE_EXACT', 'TEXTPATH_SPACINGTYPE_UNKNOWN']); dart.defineLazy(svg$.TextPathElement, { /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { return 1; @@ -111028,9 +121715,18 @@ dart.defineLazy(svg$.TextPathElement, { }, false); dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.TitleElement.__(); + } static new() { return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); } + static ['_#new#tearOff']() { + return svg$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TitleElement.created(); + } }; (svg$.TitleElement.created = function() { svg$.TitleElement.__proto__.created.call(this); @@ -111038,9 +121734,13 @@ svg$.TitleElement = class TitleElement extends svg$.SvgElement { }).prototype = svg$.TitleElement.prototype; dart.addTypeTests(svg$.TitleElement); dart.addTypeCaches(svg$.TitleElement); -dart.setLibraryUri(svg$.TitleElement, I[157]); +dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TitleElement, I[159]); dart.registerExtension("SVGTitleElement", svg$.TitleElement); -svg$.Transform = class Transform extends _interceptors.Interceptor { +svg$.Transform = class Transform extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Transform.__(); + } get [S$.$angle]() { return this.angle; } @@ -111080,13 +121780,15 @@ dart.setMethodSignature(svg$.Transform, () => ({ [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.Transform, () => ['__']); dart.setGetterSignature(svg$.Transform, () => ({ __proto__: dart.getGetters(svg$.Transform.__proto__), [S$.$angle]: dart.nullable(core.num), [S$.$matrix]: dart.nullable(svg$.Matrix), [S.$type]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.Transform, I[157]); +dart.setLibraryUri(svg$.Transform, I[159]); +dart.setStaticFieldSignature(svg$.Transform, () => ['SVG_TRANSFORM_MATRIX', 'SVG_TRANSFORM_ROTATE', 'SVG_TRANSFORM_SCALE', 'SVG_TRANSFORM_SKEWX', 'SVG_TRANSFORM_SKEWY', 'SVG_TRANSFORM_TRANSLATE', 'SVG_TRANSFORM_UNKNOWN']); dart.defineLazy(svg$.Transform, { /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { return 1; @@ -111111,17 +121813,20 @@ dart.defineLazy(svg$.Transform, { } }, false); dart.registerExtension("SVGTransform", svg$.Transform); -const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$16.new = function() { - Interceptor_ListMixin$36$16.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$16.prototype; -dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); -const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; -(Interceptor_ImmutableListMixin$36$16.new = function() { - Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$16.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); -svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { +const JavaScriptObject_ListMixin$36$16 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$16.new = function() { + JavaScriptObject_ListMixin$36$16.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$16.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); +const JavaScriptObject_ImmutableListMixin$36$16 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$16 {}; +(JavaScriptObject_ImmutableListMixin$36$16.new = function() { + JavaScriptObject_ImmutableListMixin$36$16.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$16.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); +svg$.TransformList = class TransformList extends JavaScriptObject_ImmutableListMixin$36$16 { + static ['_#_#tearOff']() { + return svg$.TransformList.__(); + } get [$length]() { return this.length; } @@ -111129,20 +121834,20 @@ svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$ return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + if (index == null) dart.nullFailed(I[158], 3856, 25, "index"); svg$.Transform.as(value); - if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + if (value == null) dart.nullFailed(I[158], 3856, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + if (value == null) dart.nullFailed(I[158], 3862, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -111173,7 +121878,7 @@ svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$ dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + if (index == null) dart.nullFailed(I[158], 3890, 27, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -111225,6 +121930,7 @@ dart.setMethodSignature(svg$.TransformList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) })); +dart.setStaticMethodSignature(svg$.TransformList, () => ['__']); dart.setGetterSignature(svg$.TransformList, () => ({ __proto__: dart.getGetters(svg$.TransformList.__proto__), [$length]: core.int, @@ -111234,12 +121940,18 @@ dart.setSetterSignature(svg$.TransformList, () => ({ __proto__: dart.getSetters(svg$.TransformList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.TransformList, I[157]); +dart.setLibraryUri(svg$.TransformList, I[159]); dart.registerExtension("SVGTransformList", svg$.TransformList); -svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; +svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UnitTypes.__(); + } +}; dart.addTypeTests(svg$.UnitTypes); dart.addTypeCaches(svg$.UnitTypes); -dart.setLibraryUri(svg$.UnitTypes, I[157]); +dart.setStaticMethodSignature(svg$.UnitTypes, () => ['__']); +dart.setLibraryUri(svg$.UnitTypes, I[159]); +dart.setStaticFieldSignature(svg$.UnitTypes, () => ['SVG_UNIT_TYPE_OBJECTBOUNDINGBOX', 'SVG_UNIT_TYPE_UNKNOWN', 'SVG_UNIT_TYPE_USERSPACEONUSE']); dart.defineLazy(svg$.UnitTypes, { /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { return 2; @@ -111252,24 +121964,37 @@ dart.defineLazy(svg$.UnitTypes, { } }, false); dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); -svg$.UriReference = class UriReference extends _interceptors.Interceptor { +svg$.UriReference = class UriReference extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UriReference.__(); + } get href() { return this.href; } }; dart.addTypeTests(svg$.UriReference); dart.addTypeCaches(svg$.UriReference); +dart.setStaticMethodSignature(svg$.UriReference, () => ['__']); dart.setGetterSignature(svg$.UriReference, () => ({ __proto__: dart.getGetters(svg$.UriReference.__proto__), href: dart.nullable(svg$.AnimatedString), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.UriReference, I[157]); +dart.setLibraryUri(svg$.UriReference, I[159]); dart.defineExtensionAccessors(svg$.UriReference, ['href']); svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.UseElement.__(); + } static new() { return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); } + static ['_#new#tearOff']() { + return svg$.UseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.UseElement.created(); + } get [$height]() { return this.height; } @@ -111293,6 +122018,7 @@ svg$.UseElement = class UseElement extends svg$.GraphicsElement { dart.addTypeTests(svg$.UseElement); dart.addTypeCaches(svg$.UseElement); svg$.UseElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.UseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.UseElement, () => ({ __proto__: dart.getGetters(svg$.UseElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -111301,12 +122027,21 @@ dart.setGetterSignature(svg$.UseElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.UseElement, I[157]); +dart.setLibraryUri(svg$.UseElement, I[159]); dart.registerExtension("SVGUseElement", svg$.UseElement); svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ViewElement.__(); + } static new() { return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); } + static ['_#new#tearOff']() { + return svg$.ViewElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ViewElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -111327,6 +122062,7 @@ svg$.ViewElement = class ViewElement extends svg$.SvgElement { dart.addTypeTests(svg$.ViewElement); dart.addTypeCaches(svg$.ViewElement); svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setStaticMethodSignature(svg$.ViewElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ViewElement, () => ({ __proto__: dart.getGetters(svg$.ViewElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -111337,9 +122073,12 @@ dart.setSetterSignature(svg$.ViewElement, () => ({ __proto__: dart.getSetters(svg$.ViewElement.__proto__), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.ViewElement, I[157]); +dart.setLibraryUri(svg$.ViewElement, I[159]); dart.registerExtension("SVGViewElement", svg$.ViewElement); -svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { +svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.ZoomAndPan.__(); + } get zoomAndPan() { return this.zoomAndPan; } @@ -111349,6 +122088,7 @@ svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.ZoomAndPan); dart.addTypeCaches(svg$.ZoomAndPan); +dart.setStaticMethodSignature(svg$.ZoomAndPan, () => ['__']); dart.setGetterSignature(svg$.ZoomAndPan, () => ({ __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), zoomAndPan: dart.nullable(core.int), @@ -111359,7 +122099,8 @@ dart.setSetterSignature(svg$.ZoomAndPan, () => ({ zoomAndPan: dart.nullable(core.int), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.ZoomAndPan, I[157]); +dart.setLibraryUri(svg$.ZoomAndPan, I[159]); +dart.setStaticFieldSignature(svg$.ZoomAndPan, () => ['SVG_ZOOMANDPAN_DISABLE', 'SVG_ZOOMANDPAN_MAGNIFY', 'SVG_ZOOMANDPAN_UNKNOWN']); dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); dart.defineLazy(svg$.ZoomAndPan, { /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { @@ -111372,7 +122113,11 @@ dart.defineLazy(svg$.ZoomAndPan, { return 0; } }, false); -svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; +svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGFEDropShadowElement.__(); + } +}; (svg$._SVGFEDropShadowElement.created = function() { svg$._SVGFEDropShadowElement.__proto__.created.call(this); ; @@ -111380,12 +122125,19 @@ svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgEle dart.addTypeTests(svg$._SVGFEDropShadowElement); dart.addTypeCaches(svg$._SVGFEDropShadowElement); svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGFEDropShadowElement, () => ['__']); +dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[159]); dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGMPathElement.__(); + } static new() { return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); } + static ['_#new#tearOff']() { + return svg$._SVGMPathElement.new(); + } }; (svg$._SVGMPathElement.created = function() { svg$._SVGMPathElement.__proto__.created.call(this); @@ -111394,9 +122146,13 @@ svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { dart.addTypeTests(svg$._SVGMPathElement); dart.addTypeCaches(svg$._SVGMPathElement); svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; -dart.setLibraryUri(svg$._SVGMPathElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGMPathElement, () => ['__', 'new']); +dart.setLibraryUri(svg$._SVGMPathElement, I[159]); dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); web_audio.AudioNode = class AudioNode extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioNode.__(); + } get [S$3.$channelCount]() { return this.channelCount; } @@ -111424,33 +122180,34 @@ web_audio.AudioNode = class AudioNode extends html$.EventTarget { get [S$3.$numberOfOutputs]() { return this.numberOfOutputs; } - [S$3._connect](...args) { + [S$4._connect](...args) { return this.connect.apply(this, args); } [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$3.$connectNode](destination, output = 0, input = 0) { - if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); - if (output == null) dart.nullFailed(I[158], 333, 48, "output"); - if (input == null) dart.nullFailed(I[158], 333, 64, "input"); - this[S$3._connect](destination, output, input); + [S$4.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[160], 393, 30, "destination"); + if (output == null) dart.nullFailed(I[160], 393, 48, "output"); + if (input == null) dart.nullFailed(I[160], 393, 64, "input"); + this[S$4._connect](destination, output, input); } - [S$3.$connectParam](destination, output = 0) { - if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); - if (output == null) dart.nullFailed(I[158], 337, 50, "output"); - this[S$3._connect](destination, output); + [S$4.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[160], 397, 32, "destination"); + if (output == null) dart.nullFailed(I[160], 397, 50, "output"); + this[S$4._connect](destination, output); } }; dart.addTypeTests(web_audio.AudioNode); dart.addTypeCaches(web_audio.AudioNode); dart.setMethodSignature(web_audio.AudioNode, () => ({ __proto__: dart.getMethods(web_audio.AudioNode.__proto__), - [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4._connect]: dart.fnType(dart.nullable(web_audio.AudioNode), [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), - [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), - [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) + [S$4.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$4.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) })); +dart.setStaticMethodSignature(web_audio.AudioNode, () => ['__']); dart.setGetterSignature(web_audio.AudioNode, () => ({ __proto__: dart.getGetters(web_audio.AudioNode.__proto__), [S$3.$channelCount]: dart.nullable(core.int), @@ -111466,17 +122223,24 @@ dart.setSetterSignature(web_audio.AudioNode, () => ({ [S$3.$channelCountMode]: dart.nullable(core.String), [S$3.$channelInterpretation]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.AudioNode, I[159]); +dart.setLibraryUri(web_audio.AudioNode, I[161]); dart.registerExtension("AudioNode", web_audio.AudioNode); web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AnalyserNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AnalyserNode._create_1(context, options_1); } return web_audio.AnalyserNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); + return web_audio.AnalyserNode.new(context, options); + } static _create_1(context, options) { return new AnalyserNode(context, options); } @@ -111532,6 +122296,7 @@ dart.setMethodSignature(web_audio.AnalyserNode, () => ({ [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) })); +dart.setStaticMethodSignature(web_audio.AnalyserNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AnalyserNode, () => ({ __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), [S$3.$fftSize]: dart.nullable(core.int), @@ -111547,15 +122312,22 @@ dart.setSetterSignature(web_audio.AnalyserNode, () => ({ [S$3.$minDecibels]: dart.nullable(core.num), [S$3.$smoothingTimeConstant]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AnalyserNode, I[159]); +dart.setLibraryUri(web_audio.AnalyserNode, I[161]); dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); -web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { +web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioBuffer.__(); + } static new(options) { - if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBuffer._create_1(options_1); } + static ['_#new#tearOff'](options) { + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); + return web_audio.AudioBuffer.new(options); + } static _create_1(options) { return new AudioBuffer(options); } @@ -111565,19 +122337,19 @@ web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { get [$length]() { return this.length; } - get [S$3.$numberOfChannels]() { + get [S$4.$numberOfChannels]() { return this.numberOfChannels; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } - [S$3.$copyFromChannel](...args) { + [S$4.$copyFromChannel](...args) { return this.copyFromChannel.apply(this, args); } - [S$3.$copyToChannel](...args) { + [S$4.$copyToChannel](...args) { return this.copyToChannel.apply(this, args); } - [S$3.$getChannelData](...args) { + [S$4.$getChannelData](...args) { return this.getChannelData.apply(this, args); } }; @@ -111585,21 +122357,25 @@ dart.addTypeTests(web_audio.AudioBuffer); dart.addTypeCaches(web_audio.AudioBuffer); dart.setMethodSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) + [S$4.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) })); +dart.setStaticMethodSignature(web_audio.AudioBuffer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), [S$.$duration]: dart.nullable(core.num), [$length]: dart.nullable(core.int), - [S$3.$numberOfChannels]: dart.nullable(core.int), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$numberOfChannels]: dart.nullable(core.int), + [S$4.$sampleRate]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioBuffer, I[159]); +dart.setLibraryUri(web_audio.AudioBuffer, I[161]); dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - [S$3.$start2](...args) { + static ['_#_#tearOff']() { + return web_audio.AudioScheduledSourceNode.__(); + } + [S$4.$start2](...args) { return this.start.apply(this, args); } [S$.$stop](...args) { @@ -111613,29 +122389,38 @@ dart.addTypeTests(web_audio.AudioScheduledSourceNode); dart.addTypeCaches(web_audio.AudioScheduledSourceNode); dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$4.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(web_audio.AudioScheduledSourceNode, () => ['__']); dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), [S.$onEnded]: async.Stream$(html$.Event) })); -dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); +dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[161]); +dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); dart.defineLazy(web_audio.AudioScheduledSourceNode, { /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; } }, false); dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.AudioBufferSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBufferSourceNode._create_1(context, options_1); } return web_audio.AudioBufferSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); + return web_audio.AudioBufferSourceNode.new(context, options); + } static _create_1(context, options) { return new AudioBufferSourceNode(context, options); } @@ -111648,7 +122433,7 @@ web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio set [$buffer](value) { this.buffer = value; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$.$loop]() { @@ -111657,16 +122442,16 @@ web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio set [S$.$loop](value) { this.loop = value; } - get [S$3.$loopEnd]() { + get [S$4.$loopEnd]() { return this.loopEnd; } - set [S$3.$loopEnd](value) { + set [S$4.$loopEnd](value) { this.loopEnd = value; } - get [S$3.$loopStart]() { + get [S$4.$loopStart]() { return this.loopStart; } - set [S$3.$loopStart](value) { + set [S$4.$loopStart](value) { this.loopStart = value; } get [S$.$playbackRate]() { @@ -111682,53 +122467,57 @@ dart.setMethodSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(web_audio.AudioBufferSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num), + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num), [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) })); dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num) + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); +dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[161]); dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.BaseAudioContext.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$destination]() { + get [S$4.$destination]() { return this.destination; } - get [S$3.$listener]() { + get [S$4.$listener]() { return this.listener; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } get [S$.$state]() { return this.state; } - [S$3.$createAnalyser](...args) { + [S$4.$createAnalyser](...args) { return this.createAnalyser.apply(this, args); } - [S$3.$createBiquadFilter](...args) { + [S$4.$createBiquadFilter](...args) { return this.createBiquadFilter.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } - [S$3.$createBufferSource](...args) { + [S$4.$createBufferSource](...args) { return this.createBufferSource.apply(this, args); } - [S$3.$createChannelMerger](...args) { + [S$4.$createChannelMerger](...args) { return this.createChannelMerger.apply(this, args); } [S$4.$createChannelSplitter](...args) { @@ -111746,7 +122535,7 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4.$createDynamicsCompressor](...args) { return this.createDynamicsCompressor.apply(this, args); } - [S$3.$createGain](...args) { + [S$4.$createGain](...args) { return this.createGain.apply(this, args); } [S$4.$createIirFilter](...args) { @@ -111768,8 +122557,8 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { return this.createPanner.apply(this, args); } [S$4.$createPeriodicWave](real, imag, options = null) { - if (real == null) dart.nullFailed(I[158], 658, 45, "real"); - if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (real == null) dart.nullFailed(I[160], 718, 45, "real"); + if (imag == null) dart.nullFailed(I[160], 718, 61, "imag"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$4._createPeriodicWave_1](real, imag, options_1); @@ -111782,7 +122571,7 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4._createPeriodicWave_2](...args) { return this.createPeriodicWave.apply(this, args); } - [S$3.$createScriptProcessor](...args) { + [S$4.$createScriptProcessor](...args) { return this.createScriptProcessor.apply(this, args); } [S$4.$createStereoPanner](...args) { @@ -111791,8 +122580,8 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4.$createWaveShaper](...args) { return this.createWaveShaper.apply(this, args); } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 742, 50, "audioData"); return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); } [S$1.$resume]() { @@ -111803,17 +122592,17 @@ dart.addTypeTests(web_audio.BaseAudioContext); dart.addTypeCaches(web_audio.BaseAudioContext); dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), - [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), - [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), - [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), - [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$4.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$4.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$4.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$4.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), - [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createGain]: dart.fnType(web_audio.GainNode, []), [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), @@ -111823,52 +122612,59 @@ dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), - [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), - [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$4.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$resume]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(web_audio.BaseAudioContext, () => ['__']); dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), - [S$3.$listener]: dart.nullable(web_audio.AudioListener), - [S$3.$sampleRate]: dart.nullable(core.num), + [S$4.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$4.$listener]: dart.nullable(web_audio.AudioListener), + [S$4.$sampleRate]: dart.nullable(core.num), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); +dart.setLibraryUri(web_audio.BaseAudioContext, I[161]); dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.AudioContext.__(); + } static get supported() { return !!(window.AudioContext || window.webkitAudioContext); } - get [S$3.$baseLatency]() { + get [S$4.$baseLatency]() { return this.baseLatency; } [S.$close]() { return js_util.promiseToFuture(dart.dynamic, this.close()); } - [S$3.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + [S$4.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); } - [S$3._getOutputTimestamp_1](...args) { + [S$4._getOutputTimestamp_1](...args) { return this.getOutputTimestamp.apply(this, args); } - [S$3.$suspend]() { + [S$4.$suspend]() { return js_util.promiseToFuture(dart.dynamic, this.suspend()); } static new() { return new (window.AudioContext || window.webkitAudioContext)(); } - [S$3.$createGain]() { + static ['_#new#tearOff']() { + return web_audio.AudioContext.new(); + } + [S$4.$createGain]() { if (this.createGain !== undefined) { return this.createGain(); } else { return this.createGainNode(); } } - [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + [S$4.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { let $function = this.createScriptProcessor || this.createJavaScriptNode; if (numberOfOutputChannels != null) { return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); @@ -111880,27 +122676,53 @@ web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { return $function.call(this); } } - [S$3._decodeAudioData](...args) { - return this.decodeAudioData.apply(this, args); - } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); - if (successCallback != null && errorCallback != null) { - return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); - } - let completer = T$0.CompleterOfAudioBuffer().new(); - this[S$3._decodeAudioData](audioData, dart.fn(value => { - if (value == null) dart.nullFailed(I[158], 241, 34, "value"); - completer.complete(value); - }, T$0.AudioBufferTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[158], 243, 9, "error"); - if (error == null) { - completer.completeError(""); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 228, 50, "audioData"); + if (!(successCallback == null === (errorCallback == null))) dart.assertFailed(null, I[160], 232, 12, "(successCallback == null) == (errorCallback == null)"); + let completer = T$0.CompleterOfObject().new(); + let errorInCallbackIsNull = false; + function success(decodedData) { + if (decodedData == null) dart.nullFailed(I[160], 242, 30, "decodedData"); + completer.complete(decodedData); + dart.nullCheck(successCallback)(decodedData); + } + dart.fn(success, T$0.AudioBufferTovoid()); + let nullErrorString = "[AudioContext.decodeAudioData] completed with a null error."; + function error(error) { + if (error != null) { + completer.complete(error); + dart.nullCheck(errorCallback)(error); } else { - completer.completeError(error); + completer.complete(nullErrorString); + errorInCallbackIsNull = true; } - }, T$0.DomExceptionTovoid())); - return completer.future; + } + dart.fn(error, T$0.DomExceptionNTovoid()); + let decodeResult = null; + if (successCallback == null) { + decodeResult = this.decodeAudioData(audioData); + } else { + decodeResult = this.decodeAudioData(audioData, _js_helper.convertDartClosureToJS(T$0.AudioBufferTovoid(), success, 1), _js_helper.convertDartClosureToJS(T$0.DomExceptionNTovoid(), error, 1)); + } + if (decodeResult != null) { + return js_util.promiseToFuture(web_audio.AudioBuffer, core.Object.as(decodeResult)).catchError(dart.fn(error => { + let t228; + if (errorInCallbackIsNull) { + if (error != null) { + t228 = errorCallback; + t228 == null ? null : t228(html$.DomException.as(error)); + } else { + dart.throw(nullErrorString); + } + } + dart.throw(error); + }, T$0.dynamicToNever())); + } + return completer.future.then(web_audio.AudioBuffer, dart.fn(value => { + if (value == null) dart.nullFailed(I[160], 307, 35, "value"); + if (web_audio.AudioBuffer.is(value)) return value; + dart.throw(value); + }, T$0.ObjectToAudioBuffer())); } }; dart.addTypeTests(web_audio.AudioContext); @@ -111908,32 +122730,40 @@ dart.addTypeCaches(web_audio.AudioContext); dart.setMethodSignature(web_audio.AudioContext, () => ({ __proto__: dart.getMethods(web_audio.AudioContext.__proto__), [S.$close]: dart.fnType(async.Future, []), - [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), - [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), - [S$3.$suspend]: dart.fnType(async.Future, []), - [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + [S$4.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$4._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$4.$suspend]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(web_audio.AudioContext, () => ['__', 'new']); dart.setGetterSignature(web_audio.AudioContext, () => ({ __proto__: dart.getGetters(web_audio.AudioContext.__proto__), - [S$3.$baseLatency]: dart.nullable(core.num) + [S$4.$baseLatency]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioContext, I[159]); +dart.setStaticGetterSignature(web_audio.AudioContext, () => ['supported']); +dart.setLibraryUri(web_audio.AudioContext, I[161]); dart.registerExtension("AudioContext", web_audio.AudioContext); dart.registerExtension("webkitAudioContext", web_audio.AudioContext); web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioDestinationNode.__(); + } get [S$4.$maxChannelCount]() { return this.maxChannelCount; } }; dart.addTypeTests(web_audio.AudioDestinationNode); dart.addTypeCaches(web_audio.AudioDestinationNode); +dart.setStaticMethodSignature(web_audio.AudioDestinationNode, () => ['__']); dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), [S$4.$maxChannelCount]: dart.nullable(core.int) })); -dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); +dart.setLibraryUri(web_audio.AudioDestinationNode, I[161]); dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); -web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { +web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioListener.__(); + } get [S$4.$forwardX]() { return this.forwardX; } @@ -111975,6 +122805,7 @@ dart.setMethodSignature(web_audio.AudioListener, () => ({ [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.AudioListener, () => ['__']); dart.setGetterSignature(web_audio.AudioListener, () => ({ __proto__: dart.getGetters(web_audio.AudioListener.__proto__), [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), @@ -111987,9 +122818,12 @@ dart.setGetterSignature(web_audio.AudioListener, () => ({ [S$4.$upY]: dart.nullable(web_audio.AudioParam), [S$4.$upZ]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.AudioListener, I[159]); +dart.setLibraryUri(web_audio.AudioListener, I[161]); dart.registerExtension("AudioListener", web_audio.AudioListener); -web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { +web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioParam.__(); + } get [S$1.$defaultValue]() { return this.defaultValue; } @@ -112039,6 +122873,7 @@ dart.setMethodSignature(web_audio.AudioParam, () => ({ [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.AudioParam, () => ['__']); dart.setGetterSignature(web_audio.AudioParam, () => ({ __proto__: dart.getGetters(web_audio.AudioParam.__proto__), [S$1.$defaultValue]: dart.nullable(core.num), @@ -112050,26 +122885,29 @@ dart.setSetterSignature(web_audio.AudioParam, () => ({ __proto__: dart.getSetters(web_audio.AudioParam.__proto__), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioParam, I[159]); +dart.setLibraryUri(web_audio.AudioParam, I[161]); dart.registerExtension("AudioParam", web_audio.AudioParam); -const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$2.new = function() { - Interceptor_MapMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$2.prototype; -dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); -web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { +const JavaScriptObject_MapMixin$36$2 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$2.new = function() { + JavaScriptObject_MapMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); +web_audio.AudioParamMap = class AudioParamMap extends JavaScriptObject_MapMixin$36$2 { + static ['_#_#tearOff']() { + return web_audio.AudioParamMap.__(); + } [S$4._getItem$1](key) { - if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + if (key == null) dart.nullFailed(I[160], 448, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + if (other == null) dart.nullFailed(I[160], 451, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + if (e == null) dart.nullFailed(I[160], 455, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -112080,7 +122918,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 return this[S$4._getItem$1](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + if (f == null) dart.nullFailed(I[160], 461, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -112091,7 +122929,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + if (k == null) dart.nullFailed(I[160], 473, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -112099,7 +122937,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + if (k == null) dart.nullFailed(I[160], 479, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -112116,15 +122954,15 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + if (key == null) dart.nullFailed(I[160], 489, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[158], 433, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[160], 493, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[160], 493, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -112146,20 +122984,29 @@ dart.setMethodSignature(web_audio.AudioParamMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(web_audio.AudioParamMap, () => ['__']); dart.setGetterSignature(web_audio.AudioParamMap, () => ({ __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(web_audio.AudioParamMap, I[159]); +dart.setLibraryUri(web_audio.AudioParamMap, I[161]); dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.AudioProcessingEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 456, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); + return web_audio.AudioProcessingEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AudioProcessingEvent(type, eventInitDict); } @@ -112175,15 +123022,19 @@ web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event }; dart.addTypeTests(web_audio.AudioProcessingEvent); dart.addTypeCaches(web_audio.AudioProcessingEvent); +dart.setStaticMethodSignature(web_audio.AudioProcessingEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$playbackTime]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); +dart.setLibraryUri(web_audio.AudioProcessingEvent, I[161]); dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); -web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { +web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioTrack.__(); + } get [S$.$enabled]() { return this.enabled; } @@ -112199,7 +123050,7 @@ web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$3.$sourceBuffer]() { @@ -112208,22 +123059,26 @@ web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { }; dart.addTypeTests(web_audio.AudioTrack); dart.addTypeCaches(web_audio.AudioTrack); +dart.setStaticMethodSignature(web_audio.AudioTrack, () => ['__']); dart.setGetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); dart.setSetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(web_audio.AudioTrack, I[159]); +dart.setLibraryUri(web_audio.AudioTrack, I[161]); dart.registerExtension("AudioTrack", web_audio.AudioTrack); web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioTrackList.__(); + } get [$length]() { return this.length; } @@ -112244,23 +123099,28 @@ dart.setMethodSignature(web_audio.AudioTrackList, () => ({ [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) })); +dart.setStaticMethodSignature(web_audio.AudioTrackList, () => ['__']); dart.setGetterSignature(web_audio.AudioTrackList, () => ({ __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), [$length]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(web_audio.AudioTrackList, I[159]); +dart.setLibraryUri(web_audio.AudioTrackList, I[161]); +dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); dart.defineLazy(web_audio.AudioTrackList, { /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletGlobalScope.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } [S$4.$registerProcessor](...args) { @@ -112273,23 +123133,32 @@ dart.setMethodSignature(web_audio.AudioWorkletGlobalScope, () => ({ __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) })); +dart.setStaticMethodSignature(web_audio.AudioWorkletGlobalScope, () => ['__']); dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$sampleRate]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); +dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[161]); dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletNode.__(); + } static new(context, name, options = null) { - if (context == null) dart.nullFailed(I[158], 568, 45, "context"); - if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioWorkletNode._create_1(context, name, options_1); } return web_audio.AudioWorkletNode._create_2(context, name); } + static ['_#new#tearOff'](context, name, options = null) { + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); + return web_audio.AudioWorkletNode.new(context, name, options); + } static _create_1(context, name, options) { return new AudioWorkletNode(context, name, options); } @@ -112302,26 +123171,39 @@ web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode }; dart.addTypeTests(web_audio.AudioWorkletNode); dart.addTypeCaches(web_audio.AudioWorkletNode); +dart.setStaticMethodSignature(web_audio.AudioWorkletNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) })); -dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); +dart.setLibraryUri(web_audio.AudioWorkletNode, I[161]); dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); -web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; +web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletProcessor.__(); + } +}; dart.addTypeTests(web_audio.AudioWorkletProcessor); dart.addTypeCaches(web_audio.AudioWorkletProcessor); -dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); +dart.setStaticMethodSignature(web_audio.AudioWorkletProcessor, () => ['__']); +dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[161]); dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.BiquadFilterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.BiquadFilterNode._create_1(context, options_1); } return web_audio.BiquadFilterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); + return web_audio.BiquadFilterNode.new(context, options); + } static _create_1(context, options) { return new BiquadFilterNode(context, options); } @@ -112331,7 +123213,7 @@ web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode get [S$4.$Q]() { return this.Q; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112356,10 +123238,11 @@ dart.setMethodSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); +dart.setStaticMethodSignature(web_audio.BiquadFilterNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), [S$4.$Q]: dart.nullable(web_audio.AudioParam), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S$4.$gain]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) @@ -112368,17 +123251,24 @@ dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); +dart.setLibraryUri(web_audio.BiquadFilterNode, I[161]); dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelMergerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelMergerNode._create_1(context, options_1); } return web_audio.ChannelMergerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); + return web_audio.ChannelMergerNode.new(context, options); + } static _create_1(context, options) { return new ChannelMergerNode(context, options); } @@ -112388,18 +123278,26 @@ web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNo }; dart.addTypeTests(web_audio.ChannelMergerNode); dart.addTypeCaches(web_audio.ChannelMergerNode); -dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); +dart.setStaticMethodSignature(web_audio.ChannelMergerNode, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.ChannelMergerNode, I[161]); dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelSplitterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelSplitterNode._create_1(context, options_1); } return web_audio.ChannelSplitterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); + return web_audio.ChannelSplitterNode.new(context, options); + } static _create_1(context, options) { return new ChannelSplitterNode(context, options); } @@ -112409,18 +123307,26 @@ web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.Aud }; dart.addTypeTests(web_audio.ChannelSplitterNode); dart.addTypeCaches(web_audio.ChannelSplitterNode); -dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); +dart.setStaticMethodSignature(web_audio.ChannelSplitterNode, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.ChannelSplitterNode, I[161]); dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.ConstantSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConstantSourceNode._create_1(context, options_1); } return web_audio.ConstantSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); + return web_audio.ConstantSourceNode.new(context, options); + } static _create_1(context, options) { return new ConstantSourceNode(context, options); } @@ -112433,21 +123339,29 @@ web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.Audio }; dart.addTypeTests(web_audio.ConstantSourceNode); dart.addTypeCaches(web_audio.ConstantSourceNode); +dart.setStaticMethodSignature(web_audio.ConstantSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), [S.$offset]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); +dart.setLibraryUri(web_audio.ConstantSourceNode, I[161]); dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ConvolverNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConvolverNode._create_1(context, options_1); } return web_audio.ConvolverNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); + return web_audio.ConvolverNode.new(context, options); + } static _create_1(context, options) { return new ConvolverNode(context, options); } @@ -112469,6 +123383,7 @@ web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.ConvolverNode); dart.addTypeCaches(web_audio.ConvolverNode); +dart.setStaticMethodSignature(web_audio.ConvolverNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConvolverNode, () => ({ __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), @@ -112479,17 +123394,24 @@ dart.setSetterSignature(web_audio.ConvolverNode, () => ({ [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$normalize]: dart.nullable(core.bool) })); -dart.setLibraryUri(web_audio.ConvolverNode, I[159]); +dart.setLibraryUri(web_audio.ConvolverNode, I[161]); dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DelayNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DelayNode._create_1(context, options_1); } return web_audio.DelayNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); + return web_audio.DelayNode.new(context, options); + } static _create_1(context, options) { return new DelayNode(context, options); } @@ -112502,21 +123424,29 @@ web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.DelayNode); dart.addTypeCaches(web_audio.DelayNode); +dart.setStaticMethodSignature(web_audio.DelayNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DelayNode, () => ({ __proto__: dart.getGetters(web_audio.DelayNode.__proto__), [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.DelayNode, I[159]); +dart.setLibraryUri(web_audio.DelayNode, I[161]); dart.registerExtension("DelayNode", web_audio.DelayNode); web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DynamicsCompressorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DynamicsCompressorNode._create_1(context, options_1); } return web_audio.DynamicsCompressorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); + return web_audio.DynamicsCompressorNode.new(context, options); + } static _create_1(context, options) { return new DynamicsCompressorNode(context, options); } @@ -112544,6 +123474,7 @@ web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_aud }; dart.addTypeTests(web_audio.DynamicsCompressorNode); dart.addTypeCaches(web_audio.DynamicsCompressorNode); +dart.setStaticMethodSignature(web_audio.DynamicsCompressorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), [S$4.$attack]: dart.nullable(web_audio.AudioParam), @@ -112553,17 +123484,24 @@ dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ [S$4.$release]: dart.nullable(web_audio.AudioParam), [S$4.$threshold]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); +dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[161]); dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.GainNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.GainNode._create_1(context, options_1); } return web_audio.GainNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); + return web_audio.GainNode.new(context, options); + } static _create_1(context, options) { return new GainNode(context, options); } @@ -112576,20 +123514,29 @@ web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.GainNode); dart.addTypeCaches(web_audio.GainNode); +dart.setStaticMethodSignature(web_audio.GainNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.GainNode, () => ({ __proto__: dart.getGetters(web_audio.GainNode.__proto__), [S$4.$gain]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.GainNode, I[159]); +dart.setLibraryUri(web_audio.GainNode, I[161]); dart.registerExtension("GainNode", web_audio.GainNode); dart.registerExtension("AudioGainNode", web_audio.GainNode); web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.IirFilterNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 934, 42, "context"); - if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.IirFilterNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); + return web_audio.IirFilterNode.new(context, options); + } static _create_1(context, options) { return new IIRFilterNode(context, options); } @@ -112603,15 +123550,24 @@ dart.setMethodSignature(web_audio.IirFilterNode, () => ({ __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); -dart.setLibraryUri(web_audio.IirFilterNode, I[159]); +dart.setStaticMethodSignature(web_audio.IirFilterNode, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(web_audio.IirFilterNode, I[161]); dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaElementAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 955, 56, "context"); - if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); + return web_audio.MediaElementAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaElementAudioSourceNode(context, options); } @@ -112621,21 +123577,29 @@ web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ exten }; dart.addTypeTests(web_audio.MediaElementAudioSourceNode); dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); +dart.setStaticMethodSignature(web_audio.MediaElementAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), [S$4.$mediaElement]: dart.nullable(html$.MediaElement) })); -dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); +dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[161]); dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioDestinationNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); } return web_audio.MediaStreamAudioDestinationNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); + return web_audio.MediaStreamAudioDestinationNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioDestinationNode(context, options); } @@ -112648,19 +123612,28 @@ web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNod }; dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); +dart.setStaticMethodSignature(web_audio.MediaStreamAudioDestinationNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); +dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[161]); dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); - if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); + return web_audio.MediaStreamAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioSourceNode(context, options); } @@ -112670,19 +123643,28 @@ web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends }; dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); +dart.setStaticMethodSignature(web_audio.MediaStreamAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), [S$4.$mediaStream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); +dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[161]); dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioCompletionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); + return web_audio.OfflineAudioCompletionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new OfflineAudioCompletionEvent(type, eventInitDict); } @@ -112692,13 +123674,17 @@ web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ exten }; dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); +dart.setStaticMethodSignature(web_audio.OfflineAudioCompletionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) })); -dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); +dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[161]); dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioContext.__(); + } static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); @@ -112709,6 +123695,9 @@ web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.Bas } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + return web_audio.OfflineAudioContext.new(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); } @@ -112722,7 +123711,7 @@ web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.Bas return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); } [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); } }; @@ -112733,28 +123722,36 @@ dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) })); +dart.setStaticMethodSignature(web_audio.OfflineAudioContext, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); +dart.setLibraryUri(web_audio.OfflineAudioContext, I[161]); dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.OscillatorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.OscillatorNode._create_1(context, options_1); } return web_audio.OscillatorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); + return web_audio.OscillatorNode.new(context, options); + } static _create_1(context, options) { return new OscillatorNode(context, options); } static _create_2(context) { return new OscillatorNode(context); } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112776,9 +123773,10 @@ dart.setMethodSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) })); +dart.setStaticMethodSignature(web_audio.OscillatorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) })); @@ -112786,18 +123784,25 @@ dart.setSetterSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.OscillatorNode, I[159]); +dart.setLibraryUri(web_audio.OscillatorNode, I[161]); dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); dart.registerExtension("Oscillator", web_audio.OscillatorNode); web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.PannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PannerNode._create_1(context, options_1); } return web_audio.PannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); + return web_audio.PannerNode.new(context, options); + } static _create_1(context, options) { return new PannerNode(context, options); } @@ -112884,6 +123889,7 @@ dart.setMethodSignature(web_audio.PannerNode, () => ({ [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.PannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.PannerNode, () => ({ __proto__: dart.getGetters(web_audio.PannerNode.__proto__), [S$4.$coneInnerAngle]: dart.nullable(core.num), @@ -112912,19 +123918,26 @@ dart.setSetterSignature(web_audio.PannerNode, () => ({ [S$4.$refDistance]: dart.nullable(core.num), [S$4.$rolloffFactor]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.PannerNode, I[159]); +dart.setLibraryUri(web_audio.PannerNode, I[161]); dart.registerExtension("PannerNode", web_audio.PannerNode); dart.registerExtension("AudioPannerNode", web_audio.PannerNode); dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); -web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { +web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.PeriodicWave.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PeriodicWave._create_1(context, options_1); } return web_audio.PeriodicWave._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); + return web_audio.PeriodicWave.new(context, options); + } static _create_1(context, options) { return new PeriodicWave(context, options); } @@ -112934,9 +123947,13 @@ web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { }; dart.addTypeTests(web_audio.PeriodicWave); dart.addTypeCaches(web_audio.PeriodicWave); -dart.setLibraryUri(web_audio.PeriodicWave, I[159]); +dart.setStaticMethodSignature(web_audio.PeriodicWave, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.PeriodicWave, I[161]); dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ScriptProcessorNode.__(); + } get [S$4.$bufferSize]() { return this.bufferSize; } @@ -112953,28 +123970,37 @@ dart.setMethodSignature(web_audio.ScriptProcessorNode, () => ({ __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) })); +dart.setStaticMethodSignature(web_audio.ScriptProcessorNode, () => ['__']); dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), [S$4.$bufferSize]: dart.nullable(core.int), [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) })); -dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); +dart.setLibraryUri(web_audio.ScriptProcessorNode, I[161]); +dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); dart.defineLazy(web_audio.ScriptProcessorNode, { /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - return C[418] || CT.C418; + return C[429] || CT.C429; } }, false); dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.StereoPannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.StereoPannerNode._create_1(context, options_1); } return web_audio.StereoPannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); + return web_audio.StereoPannerNode.new(context, options); + } static _create_1(context, options) { return new StereoPannerNode(context, options); } @@ -112987,21 +124013,29 @@ web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode }; dart.addTypeTests(web_audio.StereoPannerNode); dart.addTypeCaches(web_audio.StereoPannerNode); +dart.setStaticMethodSignature(web_audio.StereoPannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), [S$4.$pan]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); +dart.setLibraryUri(web_audio.StereoPannerNode, I[161]); dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.WaveShaperNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.WaveShaperNode._create_1(context, options_1); } return web_audio.WaveShaperNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); + return web_audio.WaveShaperNode.new(context, options); + } static _create_1(context, options) { return new WaveShaperNode(context, options); } @@ -113023,6 +124057,7 @@ web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.WaveShaperNode); dart.addTypeCaches(web_audio.WaveShaperNode); +dart.setStaticMethodSignature(web_audio.WaveShaperNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), [S$4.$curve]: dart.nullable(typed_data.Float32List), @@ -113033,9 +124068,12 @@ dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ [S$4.$curve]: dart.nullable(typed_data.Float32List), [S$4.$oversample]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); +dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); -web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { +web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ActiveInfo.__(); + } get [$name]() { return this.name; } @@ -113048,15 +124086,19 @@ web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.ActiveInfo); dart.addTypeCaches(web_gl.ActiveInfo); +dart.setStaticMethodSignature(web_gl.ActiveInfo, () => ['__']); dart.setGetterSignature(web_gl.ActiveInfo, () => ({ __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), [$name]: core.String, [S$.$size]: core.int, [S.$type]: core.int })); -dart.setLibraryUri(web_gl.ActiveInfo, I[160]); +dart.setLibraryUri(web_gl.ActiveInfo, I[162]); dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); -web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { +web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.AngleInstancedArrays.__(); + } [S$4.$drawArraysInstancedAngle](...args) { return this.drawArraysInstancedANGLE.apply(this, args); } @@ -113075,7 +124117,9 @@ dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) })); -dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); +dart.setStaticMethodSignature(web_gl.AngleInstancedArrays, () => ['__']); +dart.setLibraryUri(web_gl.AngleInstancedArrays, I[162]); +dart.setStaticFieldSignature(web_gl.AngleInstancedArrays, () => ['VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE']); dart.defineLazy(web_gl.AngleInstancedArrays, { /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { return 35070; @@ -113083,12 +124127,20 @@ dart.defineLazy(web_gl.AngleInstancedArrays, { }, false); dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); -web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; +web_gl.Buffer = class Buffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Buffer.__(); + } +}; dart.addTypeTests(web_gl.Buffer); dart.addTypeCaches(web_gl.Buffer); -dart.setLibraryUri(web_gl.Buffer, I[160]); +dart.setStaticMethodSignature(web_gl.Buffer, () => ['__']); +dart.setLibraryUri(web_gl.Buffer, I[162]); dart.registerExtension("WebGLBuffer", web_gl.Buffer); -web_gl.Canvas = class Canvas extends _interceptors.Interceptor { +web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Canvas.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -113098,22 +124150,34 @@ web_gl.Canvas = class Canvas extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.Canvas); dart.addTypeCaches(web_gl.Canvas); +dart.setStaticMethodSignature(web_gl.Canvas, () => ['__']); dart.setGetterSignature(web_gl.Canvas, () => ({ __proto__: dart.getGetters(web_gl.Canvas.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) })); -dart.setLibraryUri(web_gl.Canvas, I[160]); +dart.setLibraryUri(web_gl.Canvas, I[162]); dart.registerExtension("WebGLCanvas", web_gl.Canvas); -web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; +web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ColorBufferFloat.__(); + } +}; dart.addTypeTests(web_gl.ColorBufferFloat); dart.addTypeCaches(web_gl.ColorBufferFloat); -dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); +dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); -web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAstc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureAstc); dart.addTypeCaches(web_gl.CompressedTextureAstc); -dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureAstc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureAstc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureAstc, () => ['COMPRESSED_RGBA_ASTC_10x10_KHR', 'COMPRESSED_RGBA_ASTC_10x5_KHR', 'COMPRESSED_RGBA_ASTC_10x6_KHR', 'COMPRESSED_RGBA_ASTC_10x8_KHR', 'COMPRESSED_RGBA_ASTC_12x10_KHR', 'COMPRESSED_RGBA_ASTC_12x12_KHR', 'COMPRESSED_RGBA_ASTC_4x4_KHR', 'COMPRESSED_RGBA_ASTC_5x4_KHR', 'COMPRESSED_RGBA_ASTC_5x5_KHR', 'COMPRESSED_RGBA_ASTC_6x5_KHR', 'COMPRESSED_RGBA_ASTC_6x6_KHR', 'COMPRESSED_RGBA_ASTC_8x5_KHR', 'COMPRESSED_RGBA_ASTC_8x6_KHR', 'COMPRESSED_RGBA_ASTC_8x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR']); dart.defineLazy(web_gl.CompressedTextureAstc, { /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { return 37819; @@ -113201,10 +124265,16 @@ dart.defineLazy(web_gl.CompressedTextureAstc, { } }, false); dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); -web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureAtc); dart.addTypeCaches(web_gl.CompressedTextureAtc); -dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureAtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureAtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureAtc, () => ['COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL', 'COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL', 'COMPRESSED_RGB_ATC_WEBGL']); dart.defineLazy(web_gl.CompressedTextureAtc, { /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { return 35987; @@ -113218,10 +124288,16 @@ dart.defineLazy(web_gl.CompressedTextureAtc, { }, false); dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); -web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; +web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureETC1.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureETC1); dart.addTypeCaches(web_gl.CompressedTextureETC1); -dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureETC1, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureETC1, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureETC1, () => ['COMPRESSED_RGB_ETC1_WEBGL']); dart.defineLazy(web_gl.CompressedTextureETC1, { /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { return 36196; @@ -113229,10 +124305,16 @@ dart.defineLazy(web_gl.CompressedTextureETC1, { }, false); dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); -web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureEtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureEtc); dart.addTypeCaches(web_gl.CompressedTextureEtc); -dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureEtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureEtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureEtc, () => ['COMPRESSED_R11_EAC', 'COMPRESSED_RG11_EAC', 'COMPRESSED_RGB8_ETC2', 'COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2', 'COMPRESSED_RGBA8_ETC2_EAC', 'COMPRESSED_SIGNED_R11_EAC', 'COMPRESSED_SIGNED_RG11_EAC', 'COMPRESSED_SRGB8_ALPHA8_ETC2_EAC', 'COMPRESSED_SRGB8_ETC2', 'COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2']); dart.defineLazy(web_gl.CompressedTextureEtc, { /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { return 37488; @@ -113266,10 +124348,16 @@ dart.defineLazy(web_gl.CompressedTextureEtc, { } }, false); dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); -web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; +web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTexturePvrtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTexturePvrtc); dart.addTypeCaches(web_gl.CompressedTexturePvrtc); -dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTexturePvrtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTexturePvrtc, () => ['COMPRESSED_RGBA_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGBA_PVRTC_4BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_4BPPV1_IMG']); dart.defineLazy(web_gl.CompressedTexturePvrtc, { /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { return 35843; @@ -113286,10 +124374,16 @@ dart.defineLazy(web_gl.CompressedTexturePvrtc, { }, false); dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); -web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; +web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TC.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureS3TC); dart.addTypeCaches(web_gl.CompressedTextureS3TC); -dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureS3TC, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureS3TC, () => ['COMPRESSED_RGBA_S3TC_DXT1_EXT', 'COMPRESSED_RGBA_S3TC_DXT3_EXT', 'COMPRESSED_RGBA_S3TC_DXT5_EXT', 'COMPRESSED_RGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TC, { /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { return 33777; @@ -113306,10 +124400,16 @@ dart.defineLazy(web_gl.CompressedTextureS3TC, { }, false); dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); -web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; +web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TCsRgb.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); -dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureS3TCsRgb, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureS3TCsRgb, () => ['COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT', 'COMPRESSED_SRGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { return 35917; @@ -113326,14 +124426,21 @@ dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { }, false); dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); web_gl.ContextEvent = class ContextEvent extends html$.Event { + static ['_#_#tearOff']() { + return web_gl.ContextEvent.__(); + } static new(type, eventInit = null) { - if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); if (eventInit != null) { let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); return web_gl.ContextEvent._create_1(type, eventInit_1); } return web_gl.ContextEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInit = null) { + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); + return web_gl.ContextEvent.new(type, eventInit); + } static _create_1(type, eventInit) { return new WebGLContextEvent(type, eventInit); } @@ -113346,16 +124453,23 @@ web_gl.ContextEvent = class ContextEvent extends html$.Event { }; dart.addTypeTests(web_gl.ContextEvent); dart.addTypeCaches(web_gl.ContextEvent); +dart.setStaticMethodSignature(web_gl.ContextEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_gl.ContextEvent, () => ({ __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), [S$4.$statusMessage]: core.String })); -dart.setLibraryUri(web_gl.ContextEvent, I[160]); +dart.setLibraryUri(web_gl.ContextEvent, I[162]); dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); -web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; +web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugRendererInfo.__(); + } +}; dart.addTypeTests(web_gl.DebugRendererInfo); dart.addTypeCaches(web_gl.DebugRendererInfo); -dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); +dart.setStaticMethodSignature(web_gl.DebugRendererInfo, () => ['__']); +dart.setLibraryUri(web_gl.DebugRendererInfo, I[162]); +dart.setStaticFieldSignature(web_gl.DebugRendererInfo, () => ['UNMASKED_RENDERER_WEBGL', 'UNMASKED_VENDOR_WEBGL']); dart.defineLazy(web_gl.DebugRendererInfo, { /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { return 37446; @@ -113366,7 +124480,10 @@ dart.defineLazy(web_gl.DebugRendererInfo, { }, false); dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); -web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { +web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugShaders.__(); + } [S$4.$getTranslatedShaderSource](...args) { return this.getTranslatedShaderSource.apply(this, args); } @@ -113377,13 +124494,20 @@ dart.setMethodSignature(web_gl.DebugShaders, () => ({ __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) })); -dart.setLibraryUri(web_gl.DebugShaders, I[160]); +dart.setStaticMethodSignature(web_gl.DebugShaders, () => ['__']); +dart.setLibraryUri(web_gl.DebugShaders, I[162]); dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); -web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; +web_gl.DepthTexture = class DepthTexture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DepthTexture.__(); + } +}; dart.addTypeTests(web_gl.DepthTexture); dart.addTypeCaches(web_gl.DepthTexture); -dart.setLibraryUri(web_gl.DepthTexture, I[160]); +dart.setStaticMethodSignature(web_gl.DepthTexture, () => ['__']); +dart.setLibraryUri(web_gl.DepthTexture, I[162]); +dart.setStaticFieldSignature(web_gl.DepthTexture, () => ['UNSIGNED_INT_24_8_WEBGL']); dart.defineLazy(web_gl.DepthTexture, { /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { return 34042; @@ -113391,7 +124515,10 @@ dart.defineLazy(web_gl.DepthTexture, { }, false); dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); -web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { +web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DrawBuffers.__(); + } [S$4.$drawBuffersWebgl](...args) { return this.drawBuffersWEBGL.apply(this, args); } @@ -113402,13 +124529,20 @@ dart.setMethodSignature(web_gl.DrawBuffers, () => ({ __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) })); -dart.setLibraryUri(web_gl.DrawBuffers, I[160]); +dart.setStaticMethodSignature(web_gl.DrawBuffers, () => ['__']); +dart.setLibraryUri(web_gl.DrawBuffers, I[162]); dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); -web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; +web_gl.EXTsRgb = class EXTsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.EXTsRgb.__(); + } +}; dart.addTypeTests(web_gl.EXTsRgb); dart.addTypeCaches(web_gl.EXTsRgb); -dart.setLibraryUri(web_gl.EXTsRgb, I[160]); +dart.setStaticMethodSignature(web_gl.EXTsRgb, () => ['__']); +dart.setLibraryUri(web_gl.EXTsRgb, I[162]); +dart.setStaticFieldSignature(web_gl.EXTsRgb, () => ['FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT', 'SRGB8_ALPHA8_EXT', 'SRGB_ALPHA_EXT', 'SRGB_EXT']); dart.defineLazy(web_gl.EXTsRgb, { /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { return 33296; @@ -113425,10 +124559,16 @@ dart.defineLazy(web_gl.EXTsRgb, { }, false); dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); -web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; +web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtBlendMinMax.__(); + } +}; dart.addTypeTests(web_gl.ExtBlendMinMax); dart.addTypeCaches(web_gl.ExtBlendMinMax); -dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); +dart.setStaticMethodSignature(web_gl.ExtBlendMinMax, () => ['__']); +dart.setLibraryUri(web_gl.ExtBlendMinMax, I[162]); +dart.setStaticFieldSignature(web_gl.ExtBlendMinMax, () => ['MAX_EXT', 'MIN_EXT']); dart.defineLazy(web_gl.ExtBlendMinMax, { /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { return 32776; @@ -113439,17 +124579,30 @@ dart.defineLazy(web_gl.ExtBlendMinMax, { }, false); dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); -web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; +web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferFloat.__(); + } +}; dart.addTypeTests(web_gl.ExtColorBufferFloat); dart.addTypeCaches(web_gl.ExtColorBufferFloat); -dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); +dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); -web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; +web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferHalfFloat.__(); + } +}; dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); -dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); +dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); -web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { +web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQuery.__(); + } [S$4.$beginQueryExt](...args) { return this.beginQueryEXT.apply(this, args); } @@ -113488,7 +124641,9 @@ dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) })); -dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); +dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQuery, () => ['__']); +dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[162]); +dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQuery, () => ['CURRENT_QUERY_EXT', 'GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'QUERY_RESULT_AVAILABLE_EXT', 'QUERY_RESULT_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQuery, { /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { return 34917; @@ -113513,7 +124668,10 @@ dart.defineLazy(web_gl.ExtDisjointTimerQuery, { } }, false); dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); -web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { +web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQueryWebGL2.__(); + } [S$4.$queryCounterExt](...args) { return this.queryCounterEXT.apply(this, args); } @@ -113524,7 +124682,9 @@ dart.setMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ({ __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) })); -dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); +dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['__']); +dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[162]); +dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { return 36795; @@ -113540,22 +124700,38 @@ dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { } }, false); dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); -web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; +web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtFragDepth.__(); + } +}; dart.addTypeTests(web_gl.ExtFragDepth); dart.addTypeCaches(web_gl.ExtFragDepth); -dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); +dart.setStaticMethodSignature(web_gl.ExtFragDepth, () => ['__']); +dart.setLibraryUri(web_gl.ExtFragDepth, I[162]); dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); -web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; +web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtShaderTextureLod.__(); + } +}; dart.addTypeTests(web_gl.ExtShaderTextureLod); dart.addTypeCaches(web_gl.ExtShaderTextureLod); -dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); +dart.setStaticMethodSignature(web_gl.ExtShaderTextureLod, () => ['__']); +dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[162]); dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); -web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; +web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtTextureFilterAnisotropic.__(); + } +}; dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); -dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); +dart.setStaticMethodSignature(web_gl.ExtTextureFilterAnisotropic, () => ['__']); +dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[162]); +dart.setStaticFieldSignature(web_gl.ExtTextureFilterAnisotropic, () => ['MAX_TEXTURE_MAX_ANISOTROPY_EXT', 'TEXTURE_MAX_ANISOTROPY_EXT']); dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { return 34047; @@ -113566,16 +124742,24 @@ dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { }, false); dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); -web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; +web_gl.Framebuffer = class Framebuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Framebuffer.__(); + } +}; dart.addTypeTests(web_gl.Framebuffer); dart.addTypeCaches(web_gl.Framebuffer); -dart.setLibraryUri(web_gl.Framebuffer, I[160]); +dart.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); +dart.setLibraryUri(web_gl.Framebuffer, I[162]); dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); -web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { +web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.GetBufferSubDataAsync.__(); + } [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { - if (target == null) dart.nullFailed(I[161], 559, 36, "target"); - if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); - if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + if (target == null) dart.nullFailed(I[163], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[163], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[163], 559, 73, "dstData"); return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); } }; @@ -113585,9 +124769,13 @@ dart.setMethodSignature(web_gl.GetBufferSubDataAsync, () => ({ __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) })); -dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); +dart.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); +dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); -web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { +web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.LoseContext.__(); + } [S$4.$loseContext](...args) { return this.loseContext.apply(this, args); } @@ -113602,20 +124790,32 @@ dart.setMethodSignature(web_gl.LoseContext, () => ({ [S$4.$loseContext]: dart.fnType(dart.void, []), [S$4.$restoreContext]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(web_gl.LoseContext, I[160]); +dart.setStaticMethodSignature(web_gl.LoseContext, () => ['__']); +dart.setLibraryUri(web_gl.LoseContext, I[162]); dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); -web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; +web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesElementIndexUint.__(); + } +}; dart.addTypeTests(web_gl.OesElementIndexUint); dart.addTypeCaches(web_gl.OesElementIndexUint); -dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); +dart.setStaticMethodSignature(web_gl.OesElementIndexUint, () => ['__']); +dart.setLibraryUri(web_gl.OesElementIndexUint, I[162]); dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); -web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; +web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesStandardDerivatives.__(); + } +}; dart.addTypeTests(web_gl.OesStandardDerivatives); dart.addTypeCaches(web_gl.OesStandardDerivatives); -dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); +dart.setStaticMethodSignature(web_gl.OesStandardDerivatives, () => ['__']); +dart.setLibraryUri(web_gl.OesStandardDerivatives, I[162]); +dart.setStaticFieldSignature(web_gl.OesStandardDerivatives, () => ['FRAGMENT_SHADER_DERIVATIVE_HINT_OES']); dart.defineLazy(web_gl.OesStandardDerivatives, { /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { return 35723; @@ -113623,22 +124823,38 @@ dart.defineLazy(web_gl.OesStandardDerivatives, { }, false); dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); -web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; +web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloat.__(); + } +}; dart.addTypeTests(web_gl.OesTextureFloat); dart.addTypeCaches(web_gl.OesTextureFloat); -dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureFloat, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureFloat, I[162]); dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); -web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; +web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloatLinear.__(); + } +}; dart.addTypeTests(web_gl.OesTextureFloatLinear); dart.addTypeCaches(web_gl.OesTextureFloatLinear); -dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureFloatLinear, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[162]); dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); -web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; +web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloat.__(); + } +}; dart.addTypeTests(web_gl.OesTextureHalfFloat); dart.addTypeCaches(web_gl.OesTextureHalfFloat); -dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureHalfFloat, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[162]); +dart.setStaticFieldSignature(web_gl.OesTextureHalfFloat, () => ['HALF_FLOAT_OES']); dart.defineLazy(web_gl.OesTextureHalfFloat, { /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { return 36193; @@ -113646,13 +124862,21 @@ dart.defineLazy(web_gl.OesTextureHalfFloat, { }, false); dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); -web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; +web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloatLinear.__(); + } +}; dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); -dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureHalfFloatLinear, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[162]); dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); -web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { +web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesVertexArrayObject.__(); + } [S$4.$bindVertexArray](...args) { return this.bindVertexArrayOES.apply(this, args); } @@ -113675,7 +124899,9 @@ dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) })); -dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); +dart.setStaticMethodSignature(web_gl.OesVertexArrayObject, () => ['__']); +dart.setLibraryUri(web_gl.OesVertexArrayObject, I[162]); +dart.setStaticFieldSignature(web_gl.OesVertexArrayObject, () => ['VERTEX_ARRAY_BINDING_OES']); dart.defineLazy(web_gl.OesVertexArrayObject, { /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { return 34229; @@ -113683,22 +124909,40 @@ dart.defineLazy(web_gl.OesVertexArrayObject, { }, false); dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); -web_gl.Program = class Program extends _interceptors.Interceptor {}; +web_gl.Program = class Program extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Program.__(); + } +}; dart.addTypeTests(web_gl.Program); dart.addTypeCaches(web_gl.Program); -dart.setLibraryUri(web_gl.Program, I[160]); +dart.setStaticMethodSignature(web_gl.Program, () => ['__']); +dart.setLibraryUri(web_gl.Program, I[162]); dart.registerExtension("WebGLProgram", web_gl.Program); -web_gl.Query = class Query extends _interceptors.Interceptor {}; +web_gl.Query = class Query extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Query.__(); + } +}; dart.addTypeTests(web_gl.Query); dart.addTypeCaches(web_gl.Query); -dart.setLibraryUri(web_gl.Query, I[160]); +dart.setStaticMethodSignature(web_gl.Query, () => ['__']); +dart.setLibraryUri(web_gl.Query, I[162]); dart.registerExtension("WebGLQuery", web_gl.Query); -web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; +web_gl.Renderbuffer = class Renderbuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Renderbuffer.__(); + } +}; dart.addTypeTests(web_gl.Renderbuffer); dart.addTypeCaches(web_gl.Renderbuffer); -dart.setLibraryUri(web_gl.Renderbuffer, I[160]); +dart.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); +dart.setLibraryUri(web_gl.Renderbuffer, I[162]); dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); -web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { +web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext.__(); + } static get supported() { return !!window.WebGLRenderingContext; } @@ -113789,7 +125033,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -113840,7 +125084,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -113852,7 +125096,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -114021,11 +125265,11 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 980, 11, "target"); - if (level == null) dart.nullFailed(I[161], 981, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 981, 11, "target"); + if (level == null) dart.nullFailed(I[163], 982, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 983, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 984, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 985, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -114078,12 +125322,12 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 1098, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1099, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1100, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1101, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 1102, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 1103, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -114223,66 +125467,66 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); - if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); - if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); - if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); - if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); - if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + if (x == null) dart.nullFailed(I[163], 1274, 23, "x"); + if (y == null) dart.nullFailed(I[163], 1274, 30, "y"); + if (width == null) dart.nullFailed(I[163], 1274, 37, "width"); + if (height == null) dart.nullFailed(I[163], 1274, 48, "height"); + if (format == null) dart.nullFailed(I[163], 1274, 60, "format"); + if (type == null) dart.nullFailed(I[163], 1274, 72, "type"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); - if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); - if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1288, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1288, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1289, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[163], 1289, 31, "format"); + if (type == null) dart.nullFailed(I[163], 1289, 43, "type"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); } [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); - if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); - if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); - if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); - if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); - if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1300, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1300, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1300, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[163], 1301, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1301, 22, "height"); + if (border == null) dart.nullFailed(I[163], 1301, 34, "border"); + if (format == null) dart.nullFailed(I[163], 1301, 46, "format"); + if (type == null) dart.nullFailed(I[163], 1301, 58, "type"); + if (data == null) dart.nullFailed(I[163], 1301, 74, "data"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); } [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); - if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); - if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1314, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1314, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1314, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1315, 11, "yOffset"); + if (format == null) dart.nullFailed(I[163], 1315, 24, "format"); + if (type == null) dart.nullFailed(I[163], 1315, 36, "type"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); } [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); - if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); - if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1325, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1326, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1327, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1328, 11, "yOffset"); + if (width == null) dart.nullFailed(I[163], 1329, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1330, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1331, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1332, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1333, 11, "type"); + if (data == null) dart.nullFailed(I[163], 1334, 17, "data"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); } [S$4.$bufferDataTyped](target, data, usage) { - if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); - if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); - if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + if (target == null) dart.nullFailed(I[163], 1343, 28, "target"); + if (data == null) dart.nullFailed(I[163], 1343, 46, "data"); + if (usage == null) dart.nullFailed(I[163], 1343, 56, "usage"); this.bufferData(target, data, usage); } [S$4.$bufferSubDataTyped](target, offset, data) { - if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); - if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); - if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + if (target == null) dart.nullFailed(I[163], 1351, 31, "target"); + if (offset == null) dart.nullFailed(I[163], 1351, 43, "offset"); + if (data == null) dart.nullFailed(I[163], 1351, 61, "data"); this.bufferSubData(target, offset, data); } }; @@ -114317,7 +125561,7 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -114334,11 +125578,11 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -114449,15 +125693,20 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) })); +dart.setStaticMethodSignature(web_gl.RenderingContext, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.RenderingContext, I[160]); +dart.setStaticGetterSignature(web_gl.RenderingContext, () => ['supported']); +dart.setLibraryUri(web_gl.RenderingContext, I[162]); dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); -web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { +web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext2.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -114627,8 +125876,8 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.getUniformBlockIndex.apply(this, args); } [S$4.$getUniformIndices](program, uniformNames) { - if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); - if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + if (program == null) dart.nullFailed(I[163], 1538, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[163], 1538, 62, "uniformNames"); let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); return this[S$4._getUniformIndices_1](program, uniformNames_1); } @@ -114678,14 +125927,14 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.samplerParameteri.apply(this, args); } [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1580, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1581, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1582, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1583, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1584, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1585, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1586, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1587, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114739,15 +125988,15 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texImage2D.apply(this, args); } [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); - if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1716, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1717, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1718, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1719, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1720, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 1721, 11, "depth"); + if (border == null) dart.nullFailed(I[163], 1722, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1723, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1724, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114814,14 +126063,14 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texStorage3D.apply(this, args); } [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); - if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); - if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1886, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1887, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1888, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1889, 11, "yoffset"); + if (width == null) dart.nullFailed(I[163], 1890, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1891, 11, "height"); + if (format == null) dart.nullFailed(I[163], 1892, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1893, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114875,16 +126124,16 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texSubImage2D.apply(this, args); } [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); - if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); - if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); - if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); - if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); - if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (target == null) dart.nullFailed(I[163], 2022, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2023, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2024, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2025, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[163], 2026, 11, "zoffset"); + if (width == null) dart.nullFailed(I[163], 2027, 11, "width"); + if (height == null) dart.nullFailed(I[163], 2028, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 2029, 11, "depth"); + if (format == null) dart.nullFailed(I[163], 2030, 11, "format"); + if (type == null) dart.nullFailed(I[163], 2031, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114945,9 +126194,9 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texSubImage3D.apply(this, args); } [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { - if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); - if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); - if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + if (program == null) dart.nullFailed(I[163], 2192, 15, "program"); + if (varyings == null) dart.nullFailed(I[163], 2192, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[163], 2192, 51, "bufferMode"); let varyings_1 = html_common.convertDartToNative_StringArray(varyings); this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); return; @@ -115138,7 +126387,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -115189,7 +126438,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -115201,7 +126450,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -115370,11 +126619,11 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2534, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2535, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 2536, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 2537, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2538, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -115427,12 +126676,12 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2651, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2652, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2653, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2654, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 2655, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2656, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -115572,13 +126821,13 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); - if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); - if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); - if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); - if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); - if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); - if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + if (x == null) dart.nullFailed(I[163], 2827, 23, "x"); + if (y == null) dart.nullFailed(I[163], 2827, 30, "y"); + if (width == null) dart.nullFailed(I[163], 2827, 37, "width"); + if (height == null) dart.nullFailed(I[163], 2827, 48, "height"); + if (format == null) dart.nullFailed(I[163], 2827, 60, "format"); + if (type == null) dart.nullFailed(I[163], 2827, 72, "type"); + if (pixels == null) dart.nullFailed(I[163], 2828, 17, "pixels"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } }; @@ -115755,7 +127004,7 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -115772,11 +127021,11 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -115881,25 +127130,39 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) })); +dart.setStaticMethodSignature(web_gl.RenderingContext2, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext2, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), [S$.$canvas]: dart.nullable(web_gl.Canvas), [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.RenderingContext2, I[160]); +dart.setLibraryUri(web_gl.RenderingContext2, I[162]); dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); -web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; +web_gl.Sampler = class Sampler extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sampler.__(); + } +}; dart.addTypeTests(web_gl.Sampler); dart.addTypeCaches(web_gl.Sampler); -dart.setLibraryUri(web_gl.Sampler, I[160]); +dart.setStaticMethodSignature(web_gl.Sampler, () => ['__']); +dart.setLibraryUri(web_gl.Sampler, I[162]); dart.registerExtension("WebGLSampler", web_gl.Sampler); -web_gl.Shader = class Shader extends _interceptors.Interceptor {}; +web_gl.Shader = class Shader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Shader.__(); + } +}; dart.addTypeTests(web_gl.Shader); dart.addTypeCaches(web_gl.Shader); -dart.setLibraryUri(web_gl.Shader, I[160]); +dart.setStaticMethodSignature(web_gl.Shader, () => ['__']); +dart.setLibraryUri(web_gl.Shader, I[162]); dart.registerExtension("WebGLShader", web_gl.Shader); -web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { +web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ShaderPrecisionFormat.__(); + } get [S$4.$precision]() { return this.precision; } @@ -115912,20 +127175,29 @@ web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors }; dart.addTypeTests(web_gl.ShaderPrecisionFormat); dart.addTypeCaches(web_gl.ShaderPrecisionFormat); +dart.setStaticMethodSignature(web_gl.ShaderPrecisionFormat, () => ['__']); dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), [S$4.$precision]: core.int, [S$4.$rangeMax]: core.int, [S$4.$rangeMin]: core.int })); -dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); +dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[162]); dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); -web_gl.Sync = class Sync extends _interceptors.Interceptor {}; +web_gl.Sync = class Sync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sync.__(); + } +}; dart.addTypeTests(web_gl.Sync); dart.addTypeCaches(web_gl.Sync); -dart.setLibraryUri(web_gl.Sync, I[160]); +dart.setStaticMethodSignature(web_gl.Sync, () => ['__']); +dart.setLibraryUri(web_gl.Sync, I[162]); dart.registerExtension("WebGLSync", web_gl.Sync); -web_gl.Texture = class Texture extends _interceptors.Interceptor { +web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Texture.__(); + } get [S$4.$lastUploadedVideoFrameWasSkipped]() { return this.lastUploadedVideoFrameWasSkipped; } @@ -115941,6 +127213,7 @@ web_gl.Texture = class Texture extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.Texture); dart.addTypeCaches(web_gl.Texture); +dart.setStaticMethodSignature(web_gl.Texture, () => ['__']); dart.setGetterSignature(web_gl.Texture, () => ({ __proto__: dart.getGetters(web_gl.Texture.__proto__), [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), @@ -115948,39 +127221,70 @@ dart.setGetterSignature(web_gl.Texture, () => ({ [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.Texture, I[160]); +dart.setLibraryUri(web_gl.Texture, I[162]); dart.registerExtension("WebGLTexture", web_gl.Texture); -web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; +web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TimerQueryExt.__(); + } +}; dart.addTypeTests(web_gl.TimerQueryExt); dart.addTypeCaches(web_gl.TimerQueryExt); -dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); +dart.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); +dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); -web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; +web_gl.TransformFeedback = class TransformFeedback extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TransformFeedback.__(); + } +}; dart.addTypeTests(web_gl.TransformFeedback); dart.addTypeCaches(web_gl.TransformFeedback); -dart.setLibraryUri(web_gl.TransformFeedback, I[160]); +dart.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); +dart.setLibraryUri(web_gl.TransformFeedback, I[162]); dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); -web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; +web_gl.UniformLocation = class UniformLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.UniformLocation.__(); + } +}; dart.addTypeTests(web_gl.UniformLocation); dart.addTypeCaches(web_gl.UniformLocation); -dart.setLibraryUri(web_gl.UniformLocation, I[160]); +dart.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); +dart.setLibraryUri(web_gl.UniformLocation, I[162]); dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); -web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; +web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObject.__(); + } +}; dart.addTypeTests(web_gl.VertexArrayObject); dart.addTypeCaches(web_gl.VertexArrayObject); -dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); +dart.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); +dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); -web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; +web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObjectOes.__(); + } +}; dart.addTypeTests(web_gl.VertexArrayObjectOes); dart.addTypeCaches(web_gl.VertexArrayObjectOes); -dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); +dart.setStaticMethodSignature(web_gl.VertexArrayObjectOes, () => ['__']); +dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[162]); dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); -web_gl.WebGL = class WebGL extends core.Object {}; +web_gl.WebGL = class WebGL extends core.Object { + static ['_#_#tearOff']() { + return web_gl.WebGL.__(); + } +}; (web_gl.WebGL[dart.mixinNew] = function() { }).prototype = web_gl.WebGL.prototype; dart.addTypeTests(web_gl.WebGL); dart.addTypeCaches(web_gl.WebGL); -dart.setLibraryUri(web_gl.WebGL, I[160]); +dart.setStaticMethodSignature(web_gl.WebGL, () => ['__']); +dart.setLibraryUri(web_gl.WebGL, I[162]); +dart.setStaticFieldSignature(web_gl.WebGL, () => ['ACTIVE_ATTRIBUTES', 'ACTIVE_TEXTURE', 'ACTIVE_UNIFORMS', 'ACTIVE_UNIFORM_BLOCKS', 'ALIASED_LINE_WIDTH_RANGE', 'ALIASED_POINT_SIZE_RANGE', 'ALPHA', 'ALPHA_BITS', 'ALREADY_SIGNALED', 'ALWAYS', 'ANY_SAMPLES_PASSED', 'ANY_SAMPLES_PASSED_CONSERVATIVE', 'ARRAY_BUFFER', 'ARRAY_BUFFER_BINDING', 'ATTACHED_SHADERS', 'BACK', 'BLEND', 'BLEND_COLOR', 'BLEND_DST_ALPHA', 'BLEND_DST_RGB', 'BLEND_EQUATION', 'BLEND_EQUATION_ALPHA', 'BLEND_EQUATION_RGB', 'BLEND_SRC_ALPHA', 'BLEND_SRC_RGB', 'BLUE_BITS', 'BOOL', 'BOOL_VEC2', 'BOOL_VEC3', 'BOOL_VEC4', 'BROWSER_DEFAULT_WEBGL', 'BUFFER_SIZE', 'BUFFER_USAGE', 'BYTE', 'CCW', 'CLAMP_TO_EDGE', 'COLOR', 'COLOR_ATTACHMENT0', 'COLOR_ATTACHMENT0_WEBGL', 'COLOR_ATTACHMENT1', 'COLOR_ATTACHMENT10', 'COLOR_ATTACHMENT10_WEBGL', 'COLOR_ATTACHMENT11', 'COLOR_ATTACHMENT11_WEBGL', 'COLOR_ATTACHMENT12', 'COLOR_ATTACHMENT12_WEBGL', 'COLOR_ATTACHMENT13', 'COLOR_ATTACHMENT13_WEBGL', 'COLOR_ATTACHMENT14', 'COLOR_ATTACHMENT14_WEBGL', 'COLOR_ATTACHMENT15', 'COLOR_ATTACHMENT15_WEBGL', 'COLOR_ATTACHMENT1_WEBGL', 'COLOR_ATTACHMENT2', 'COLOR_ATTACHMENT2_WEBGL', 'COLOR_ATTACHMENT3', 'COLOR_ATTACHMENT3_WEBGL', 'COLOR_ATTACHMENT4', 'COLOR_ATTACHMENT4_WEBGL', 'COLOR_ATTACHMENT5', 'COLOR_ATTACHMENT5_WEBGL', 'COLOR_ATTACHMENT6', 'COLOR_ATTACHMENT6_WEBGL', 'COLOR_ATTACHMENT7', 'COLOR_ATTACHMENT7_WEBGL', 'COLOR_ATTACHMENT8', 'COLOR_ATTACHMENT8_WEBGL', 'COLOR_ATTACHMENT9', 'COLOR_ATTACHMENT9_WEBGL', 'COLOR_BUFFER_BIT', 'COLOR_CLEAR_VALUE', 'COLOR_WRITEMASK', 'COMPARE_REF_TO_TEXTURE', 'COMPILE_STATUS', 'COMPRESSED_TEXTURE_FORMATS', 'CONDITION_SATISFIED', 'CONSTANT_ALPHA', 'CONSTANT_COLOR', 'CONTEXT_LOST_WEBGL', 'COPY_READ_BUFFER', 'COPY_READ_BUFFER_BINDING', 'COPY_WRITE_BUFFER', 'COPY_WRITE_BUFFER_BINDING', 'CULL_FACE', 'CULL_FACE_MODE', 'CURRENT_PROGRAM', 'CURRENT_QUERY', 'CURRENT_VERTEX_ATTRIB', 'CW', 'DECR', 'DECR_WRAP', 'DELETE_STATUS', 'DEPTH', 'DEPTH24_STENCIL8', 'DEPTH32F_STENCIL8', 'DEPTH_ATTACHMENT', 'DEPTH_BITS', 'DEPTH_BUFFER_BIT', 'DEPTH_CLEAR_VALUE', 'DEPTH_COMPONENT', 'DEPTH_COMPONENT16', 'DEPTH_COMPONENT24', 'DEPTH_COMPONENT32F', 'DEPTH_FUNC', 'DEPTH_RANGE', 'DEPTH_STENCIL', 'DEPTH_STENCIL_ATTACHMENT', 'DEPTH_TEST', 'DEPTH_WRITEMASK', 'DITHER', 'DONT_CARE', 'DRAW_BUFFER0', 'DRAW_BUFFER0_WEBGL', 'DRAW_BUFFER1', 'DRAW_BUFFER10', 'DRAW_BUFFER10_WEBGL', 'DRAW_BUFFER11', 'DRAW_BUFFER11_WEBGL', 'DRAW_BUFFER12', 'DRAW_BUFFER12_WEBGL', 'DRAW_BUFFER13', 'DRAW_BUFFER13_WEBGL', 'DRAW_BUFFER14', 'DRAW_BUFFER14_WEBGL', 'DRAW_BUFFER15', 'DRAW_BUFFER15_WEBGL', 'DRAW_BUFFER1_WEBGL', 'DRAW_BUFFER2', 'DRAW_BUFFER2_WEBGL', 'DRAW_BUFFER3', 'DRAW_BUFFER3_WEBGL', 'DRAW_BUFFER4', 'DRAW_BUFFER4_WEBGL', 'DRAW_BUFFER5', 'DRAW_BUFFER5_WEBGL', 'DRAW_BUFFER6', 'DRAW_BUFFER6_WEBGL', 'DRAW_BUFFER7', 'DRAW_BUFFER7_WEBGL', 'DRAW_BUFFER8', 'DRAW_BUFFER8_WEBGL', 'DRAW_BUFFER9', 'DRAW_BUFFER9_WEBGL', 'DRAW_FRAMEBUFFER', 'DRAW_FRAMEBUFFER_BINDING', 'DST_ALPHA', 'DST_COLOR', 'DYNAMIC_COPY', 'DYNAMIC_DRAW', 'DYNAMIC_READ', 'ELEMENT_ARRAY_BUFFER', 'ELEMENT_ARRAY_BUFFER_BINDING', 'EQUAL', 'FASTEST', 'FLOAT', 'FLOAT_32_UNSIGNED_INT_24_8_REV', 'FLOAT_MAT2', 'FLOAT_MAT2x3', 'FLOAT_MAT2x4', 'FLOAT_MAT3', 'FLOAT_MAT3x2', 'FLOAT_MAT3x4', 'FLOAT_MAT4', 'FLOAT_MAT4x2', 'FLOAT_MAT4x3', 'FLOAT_VEC2', 'FLOAT_VEC3', 'FLOAT_VEC4', 'FRAGMENT_SHADER', 'FRAGMENT_SHADER_DERIVATIVE_HINT', 'FRAMEBUFFER', 'FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE', 'FRAMEBUFFER_ATTACHMENT_BLUE_SIZE', 'FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING', 'FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE', 'FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE', 'FRAMEBUFFER_ATTACHMENT_GREEN_SIZE', 'FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', 'FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', 'FRAMEBUFFER_ATTACHMENT_RED_SIZE', 'FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', 'FRAMEBUFFER_BINDING', 'FRAMEBUFFER_COMPLETE', 'FRAMEBUFFER_DEFAULT', 'FRAMEBUFFER_INCOMPLETE_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_DIMENSIONS', 'FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_MULTISAMPLE', 'FRAMEBUFFER_UNSUPPORTED', 'FRONT', 'FRONT_AND_BACK', 'FRONT_FACE', 'FUNC_ADD', 'FUNC_REVERSE_SUBTRACT', 'FUNC_SUBTRACT', 'GENERATE_MIPMAP_HINT', 'GEQUAL', 'GREATER', 'GREEN_BITS', 'HALF_FLOAT', 'HIGH_FLOAT', 'HIGH_INT', 'IMPLEMENTATION_COLOR_READ_FORMAT', 'IMPLEMENTATION_COLOR_READ_TYPE', 'INCR', 'INCR_WRAP', 'INT', 'INTERLEAVED_ATTRIBS', 'INT_2_10_10_10_REV', 'INT_SAMPLER_2D', 'INT_SAMPLER_2D_ARRAY', 'INT_SAMPLER_3D', 'INT_SAMPLER_CUBE', 'INT_VEC2', 'INT_VEC3', 'INT_VEC4', 'INVALID_ENUM', 'INVALID_FRAMEBUFFER_OPERATION', 'INVALID_INDEX', 'INVALID_OPERATION', 'INVALID_VALUE', 'INVERT', 'KEEP', 'LEQUAL', 'LESS', 'LINEAR', 'LINEAR_MIPMAP_LINEAR', 'LINEAR_MIPMAP_NEAREST', 'LINES', 'LINE_LOOP', 'LINE_STRIP', 'LINE_WIDTH', 'LINK_STATUS', 'LOW_FLOAT', 'LOW_INT', 'LUMINANCE', 'LUMINANCE_ALPHA', 'MAX', 'MAX_3D_TEXTURE_SIZE', 'MAX_ARRAY_TEXTURE_LAYERS', 'MAX_CLIENT_WAIT_TIMEOUT_WEBGL', 'MAX_COLOR_ATTACHMENTS', 'MAX_COLOR_ATTACHMENTS_WEBGL', 'MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_COMBINED_TEXTURE_IMAGE_UNITS', 'MAX_COMBINED_UNIFORM_BLOCKS', 'MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS', 'MAX_CUBE_MAP_TEXTURE_SIZE', 'MAX_DRAW_BUFFERS', 'MAX_DRAW_BUFFERS_WEBGL', 'MAX_ELEMENTS_INDICES', 'MAX_ELEMENTS_VERTICES', 'MAX_ELEMENT_INDEX', 'MAX_FRAGMENT_INPUT_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_BLOCKS', 'MAX_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_VECTORS', 'MAX_PROGRAM_TEXEL_OFFSET', 'MAX_RENDERBUFFER_SIZE', 'MAX_SAMPLES', 'MAX_SERVER_WAIT_TIMEOUT', 'MAX_TEXTURE_IMAGE_UNITS', 'MAX_TEXTURE_LOD_BIAS', 'MAX_TEXTURE_SIZE', 'MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS', 'MAX_UNIFORM_BLOCK_SIZE', 'MAX_UNIFORM_BUFFER_BINDINGS', 'MAX_VARYING_COMPONENTS', 'MAX_VARYING_VECTORS', 'MAX_VERTEX_ATTRIBS', 'MAX_VERTEX_OUTPUT_COMPONENTS', 'MAX_VERTEX_TEXTURE_IMAGE_UNITS', 'MAX_VERTEX_UNIFORM_BLOCKS', 'MAX_VERTEX_UNIFORM_COMPONENTS', 'MAX_VERTEX_UNIFORM_VECTORS', 'MAX_VIEWPORT_DIMS', 'MEDIUM_FLOAT', 'MEDIUM_INT', 'MIN', 'MIN_PROGRAM_TEXEL_OFFSET', 'MIRRORED_REPEAT', 'NEAREST', 'NEAREST_MIPMAP_LINEAR', 'NEAREST_MIPMAP_NEAREST', 'NEVER', 'NICEST', 'NONE', 'NOTEQUAL', 'NO_ERROR', 'OBJECT_TYPE', 'ONE', 'ONE_MINUS_CONSTANT_ALPHA', 'ONE_MINUS_CONSTANT_COLOR', 'ONE_MINUS_DST_ALPHA', 'ONE_MINUS_DST_COLOR', 'ONE_MINUS_SRC_ALPHA', 'ONE_MINUS_SRC_COLOR', 'OUT_OF_MEMORY', 'PACK_ALIGNMENT', 'PACK_ROW_LENGTH', 'PACK_SKIP_PIXELS', 'PACK_SKIP_ROWS', 'PIXEL_PACK_BUFFER', 'PIXEL_PACK_BUFFER_BINDING', 'PIXEL_UNPACK_BUFFER', 'PIXEL_UNPACK_BUFFER_BINDING', 'POINTS', 'POLYGON_OFFSET_FACTOR', 'POLYGON_OFFSET_FILL', 'POLYGON_OFFSET_UNITS', 'QUERY_RESULT', 'QUERY_RESULT_AVAILABLE', 'R11F_G11F_B10F', 'R16F', 'R16I', 'R16UI', 'R32F', 'R32I', 'R32UI', 'R8', 'R8I', 'R8UI', 'R8_SNORM', 'RASTERIZER_DISCARD', 'READ_BUFFER', 'READ_FRAMEBUFFER', 'READ_FRAMEBUFFER_BINDING', 'RED', 'RED_BITS', 'RED_INTEGER', 'RENDERBUFFER', 'RENDERBUFFER_ALPHA_SIZE', 'RENDERBUFFER_BINDING', 'RENDERBUFFER_BLUE_SIZE', 'RENDERBUFFER_DEPTH_SIZE', 'RENDERBUFFER_GREEN_SIZE', 'RENDERBUFFER_HEIGHT', 'RENDERBUFFER_INTERNAL_FORMAT', 'RENDERBUFFER_RED_SIZE', 'RENDERBUFFER_SAMPLES', 'RENDERBUFFER_STENCIL_SIZE', 'RENDERBUFFER_WIDTH', 'RENDERER', 'REPEAT', 'REPLACE', 'RG', 'RG16F', 'RG16I', 'RG16UI', 'RG32F', 'RG32I', 'RG32UI', 'RG8', 'RG8I', 'RG8UI', 'RG8_SNORM', 'RGB', 'RGB10_A2', 'RGB10_A2UI', 'RGB16F', 'RGB16I', 'RGB16UI', 'RGB32F', 'RGB32I', 'RGB32UI', 'RGB565', 'RGB5_A1', 'RGB8', 'RGB8I', 'RGB8UI', 'RGB8_SNORM', 'RGB9_E5', 'RGBA', 'RGBA16F', 'RGBA16I', 'RGBA16UI', 'RGBA32F', 'RGBA32I', 'RGBA32UI', 'RGBA4', 'RGBA8', 'RGBA8I', 'RGBA8UI', 'RGBA8_SNORM', 'RGBA_INTEGER', 'RGB_INTEGER', 'RG_INTEGER', 'SAMPLER_2D', 'SAMPLER_2D_ARRAY', 'SAMPLER_2D_ARRAY_SHADOW', 'SAMPLER_2D_SHADOW', 'SAMPLER_3D', 'SAMPLER_BINDING', 'SAMPLER_CUBE', 'SAMPLER_CUBE_SHADOW', 'SAMPLES', 'SAMPLE_ALPHA_TO_COVERAGE', 'SAMPLE_BUFFERS', 'SAMPLE_COVERAGE', 'SAMPLE_COVERAGE_INVERT', 'SAMPLE_COVERAGE_VALUE', 'SCISSOR_BOX', 'SCISSOR_TEST', 'SEPARATE_ATTRIBS', 'SHADER_TYPE', 'SHADING_LANGUAGE_VERSION', 'SHORT', 'SIGNALED', 'SIGNED_NORMALIZED', 'SRC_ALPHA', 'SRC_ALPHA_SATURATE', 'SRC_COLOR', 'SRGB', 'SRGB8', 'SRGB8_ALPHA8', 'STATIC_COPY', 'STATIC_DRAW', 'STATIC_READ', 'STENCIL', 'STENCIL_ATTACHMENT', 'STENCIL_BACK_FAIL', 'STENCIL_BACK_FUNC', 'STENCIL_BACK_PASS_DEPTH_FAIL', 'STENCIL_BACK_PASS_DEPTH_PASS', 'STENCIL_BACK_REF', 'STENCIL_BACK_VALUE_MASK', 'STENCIL_BACK_WRITEMASK', 'STENCIL_BITS', 'STENCIL_BUFFER_BIT', 'STENCIL_CLEAR_VALUE', 'STENCIL_FAIL', 'STENCIL_FUNC', 'STENCIL_INDEX8', 'STENCIL_PASS_DEPTH_FAIL', 'STENCIL_PASS_DEPTH_PASS', 'STENCIL_REF', 'STENCIL_TEST', 'STENCIL_VALUE_MASK', 'STENCIL_WRITEMASK', 'STREAM_COPY', 'STREAM_DRAW', 'STREAM_READ', 'SUBPIXEL_BITS', 'SYNC_CONDITION', 'SYNC_FENCE', 'SYNC_FLAGS', 'SYNC_FLUSH_COMMANDS_BIT', 'SYNC_GPU_COMMANDS_COMPLETE', 'SYNC_STATUS', 'TEXTURE', 'TEXTURE0', 'TEXTURE1', 'TEXTURE10', 'TEXTURE11', 'TEXTURE12', 'TEXTURE13', 'TEXTURE14', 'TEXTURE15', 'TEXTURE16', 'TEXTURE17', 'TEXTURE18', 'TEXTURE19', 'TEXTURE2', 'TEXTURE20', 'TEXTURE21', 'TEXTURE22', 'TEXTURE23', 'TEXTURE24', 'TEXTURE25', 'TEXTURE26', 'TEXTURE27', 'TEXTURE28', 'TEXTURE29', 'TEXTURE3', 'TEXTURE30', 'TEXTURE31', 'TEXTURE4', 'TEXTURE5', 'TEXTURE6', 'TEXTURE7', 'TEXTURE8', 'TEXTURE9', 'TEXTURE_2D', 'TEXTURE_2D_ARRAY', 'TEXTURE_3D', 'TEXTURE_BASE_LEVEL', 'TEXTURE_BINDING_2D', 'TEXTURE_BINDING_2D_ARRAY', 'TEXTURE_BINDING_3D', 'TEXTURE_BINDING_CUBE_MAP', 'TEXTURE_COMPARE_FUNC', 'TEXTURE_COMPARE_MODE', 'TEXTURE_CUBE_MAP', 'TEXTURE_CUBE_MAP_NEGATIVE_X', 'TEXTURE_CUBE_MAP_NEGATIVE_Y', 'TEXTURE_CUBE_MAP_NEGATIVE_Z', 'TEXTURE_CUBE_MAP_POSITIVE_X', 'TEXTURE_CUBE_MAP_POSITIVE_Y', 'TEXTURE_CUBE_MAP_POSITIVE_Z', 'TEXTURE_IMMUTABLE_FORMAT', 'TEXTURE_IMMUTABLE_LEVELS', 'TEXTURE_MAG_FILTER', 'TEXTURE_MAX_LEVEL', 'TEXTURE_MAX_LOD', 'TEXTURE_MIN_FILTER', 'TEXTURE_MIN_LOD', 'TEXTURE_WRAP_R', 'TEXTURE_WRAP_S', 'TEXTURE_WRAP_T', 'TIMEOUT_EXPIRED', 'TIMEOUT_IGNORED', 'TRANSFORM_FEEDBACK', 'TRANSFORM_FEEDBACK_ACTIVE', 'TRANSFORM_FEEDBACK_BINDING', 'TRANSFORM_FEEDBACK_BUFFER', 'TRANSFORM_FEEDBACK_BUFFER_BINDING', 'TRANSFORM_FEEDBACK_BUFFER_MODE', 'TRANSFORM_FEEDBACK_BUFFER_SIZE', 'TRANSFORM_FEEDBACK_BUFFER_START', 'TRANSFORM_FEEDBACK_PAUSED', 'TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', 'TRANSFORM_FEEDBACK_VARYINGS', 'TRIANGLES', 'TRIANGLE_FAN', 'TRIANGLE_STRIP', 'UNIFORM_ARRAY_STRIDE', 'UNIFORM_BLOCK_ACTIVE_UNIFORMS', 'UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', 'UNIFORM_BLOCK_BINDING', 'UNIFORM_BLOCK_DATA_SIZE', 'UNIFORM_BLOCK_INDEX', 'UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', 'UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', 'UNIFORM_BUFFER', 'UNIFORM_BUFFER_BINDING', 'UNIFORM_BUFFER_OFFSET_ALIGNMENT', 'UNIFORM_BUFFER_SIZE', 'UNIFORM_BUFFER_START', 'UNIFORM_IS_ROW_MAJOR', 'UNIFORM_MATRIX_STRIDE', 'UNIFORM_OFFSET', 'UNIFORM_SIZE', 'UNIFORM_TYPE', 'UNPACK_ALIGNMENT', 'UNPACK_COLORSPACE_CONVERSION_WEBGL', 'UNPACK_FLIP_Y_WEBGL', 'UNPACK_IMAGE_HEIGHT', 'UNPACK_PREMULTIPLY_ALPHA_WEBGL', 'UNPACK_ROW_LENGTH', 'UNPACK_SKIP_IMAGES', 'UNPACK_SKIP_PIXELS', 'UNPACK_SKIP_ROWS', 'UNSIGNALED', 'UNSIGNED_BYTE', 'UNSIGNED_INT', 'UNSIGNED_INT_10F_11F_11F_REV', 'UNSIGNED_INT_24_8', 'UNSIGNED_INT_2_10_10_10_REV', 'UNSIGNED_INT_5_9_9_9_REV', 'UNSIGNED_INT_SAMPLER_2D', 'UNSIGNED_INT_SAMPLER_2D_ARRAY', 'UNSIGNED_INT_SAMPLER_3D', 'UNSIGNED_INT_SAMPLER_CUBE', 'UNSIGNED_INT_VEC2', 'UNSIGNED_INT_VEC3', 'UNSIGNED_INT_VEC4', 'UNSIGNED_NORMALIZED', 'UNSIGNED_SHORT', 'UNSIGNED_SHORT_4_4_4_4', 'UNSIGNED_SHORT_5_5_5_1', 'UNSIGNED_SHORT_5_6_5', 'VALIDATE_STATUS', 'VENDOR', 'VERSION', 'VERTEX_ARRAY_BINDING', 'VERTEX_ATTRIB_ARRAY_BUFFER_BINDING', 'VERTEX_ATTRIB_ARRAY_DIVISOR', 'VERTEX_ATTRIB_ARRAY_ENABLED', 'VERTEX_ATTRIB_ARRAY_INTEGER', 'VERTEX_ATTRIB_ARRAY_NORMALIZED', 'VERTEX_ATTRIB_ARRAY_POINTER', 'VERTEX_ATTRIB_ARRAY_SIZE', 'VERTEX_ATTRIB_ARRAY_STRIDE', 'VERTEX_ATTRIB_ARRAY_TYPE', 'VERTEX_SHADER', 'VIEWPORT', 'WAIT_FAILED', 'ZERO']); dart.defineLazy(web_gl.WebGL, { /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { return 35721; @@ -117763,338 +129067,152 @@ dart.defineLazy(web_gl.WebGL, { } }, false); dart.registerExtension("WebGL", web_gl.WebGL); -web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; +web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGL2RenderingContextBase.__(); + } +}; dart.addTypeTests(web_gl._WebGL2RenderingContextBase); dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; -dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); +dart.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); +dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); -web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; -dart.addTypeTests(web_gl._WebGLRenderingContextBase); -dart.addTypeCaches(web_gl._WebGLRenderingContextBase); -dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); -web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { - static get supported() { - return !!window.openDatabase; - } - get [S.$version]() { - return this.version; - } - [S$4._changeVersion](...args) { - return this.changeVersion.apply(this, args); - } - [S$4.$changeVersion](oldVersion, newVersion) { - if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); - if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 121, 45, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 123, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S$4._readTransaction](...args) { - return this.readTransaction.apply(this, args); - } - [S$4.$readTransaction]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._readTransaction](dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 137, 23, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 139, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S.$transaction](...args) { - return this.transaction.apply(this, args); - } - [S$4.$transaction_future]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this.transaction(dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 152, 18, "value"); - _js_helper.applyExtension("SQLTransaction", value); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 155, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } -}; -dart.addTypeTests(web_sql.SqlDatabase); -dart.addTypeCaches(web_sql.SqlDatabase); -dart.setMethodSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), - [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), - [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), - [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) -})); -dart.setGetterSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), - [S.$version]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_sql.SqlDatabase, I[163]); -dart.registerExtension("Database", web_sql.SqlDatabase); -web_sql.SqlError = class SqlError extends _interceptors.Interceptor { - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -dart.addTypeTests(web_sql.SqlError); -dart.addTypeCaches(web_sql.SqlError); -dart.setGetterSignature(web_sql.SqlError, () => ({ - __proto__: dart.getGetters(web_sql.SqlError.__proto__), - [S$.$code]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_sql.SqlError, I[163]); -dart.defineLazy(web_sql.SqlError, { - /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { - return 6; - }, - /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { - return 1; - }, - /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { - return 4; - }, - /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { - return 5; - }, - /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { - return 7; - }, - /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { - return 3; - }, - /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { - return 0; - }, - /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { - return 2; - } -}, false); -dart.registerExtension("SQLError", web_sql.SqlError); -web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { - get [S$4.$insertId]() { - return this.insertId; - } - get [S$2.$rows]() { - return this.rows; - } - get [S$4.$rowsAffected]() { - return this.rowsAffected; +web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGLRenderingContextBase.__(); } }; -dart.addTypeTests(web_sql.SqlResultSet); -dart.addTypeCaches(web_sql.SqlResultSet); -dart.setGetterSignature(web_sql.SqlResultSet, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), - [S$4.$insertId]: dart.nullable(core.int), - [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), - [S$4.$rowsAffected]: dart.nullable(core.int) -})); -dart.setLibraryUri(web_sql.SqlResultSet, I[163]); -dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); -core.Map$ = dart.generic((K, V) => { - class Map extends core.Object { - static unmodifiable(other) { - if (other == null) dart.nullFailed(I[7], 562, 50, "other"); - return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); - } - static castFrom(K, V, K2, V2, source) { - if (source == null) dart.nullFailed(I[164], 166, 55, "source"); - return new (_internal.CastMap$(K, V, K2, V2)).new(source); - } - static fromEntries(entries) { - let t247; - if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); - t247 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - t247[$addEntries](entries); - return t247; - })(); - } - } - (Map[dart.mixinNew] = function() { - }).prototype = Map.prototype; - dart.addTypeTests(Map); - Map.prototype[dart.isMap] = true; - dart.addTypeCaches(Map); - dart.setLibraryUri(Map, I[8]); - return Map; +dart.addTypeTests(web_gl._WebGLRenderingContextBase); +dart.addTypeCaches(web_gl._WebGLRenderingContextBase); +dart.setStaticMethodSignature(web_gl._WebGLRenderingContextBase, () => ['__']); +dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[162]); +var _weakRef = dart.privateName(core, "_weakRef"); +const _is__WeakReferenceWrapper_default = Symbol('_is__WeakReferenceWrapper_default'); +core._WeakReferenceWrapper$ = dart.generic(T => { + class _WeakReferenceWrapper extends core.Object { + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + get target() { + let target = this[_weakRef].deref(); + if (target === void 0) return null; + return target; + } + } + (_WeakReferenceWrapper.new = function(object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + this[_weakRef] = new WeakRef(object); + ; + }).prototype = _WeakReferenceWrapper.prototype; + dart.addTypeTests(_WeakReferenceWrapper); + _WeakReferenceWrapper.prototype[_is__WeakReferenceWrapper_default] = true; + dart.addTypeCaches(_WeakReferenceWrapper); + _WeakReferenceWrapper[dart.implements] = () => [core.WeakReference$(T)]; + dart.setGetterSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getGetters(_WeakReferenceWrapper.__proto__), + target: dart.nullable(T) + })); + dart.setLibraryUri(_WeakReferenceWrapper, I[9]); + dart.setFieldSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getFields(_WeakReferenceWrapper.__proto__), + [_weakRef]: dart.finalFieldType(core.Object) + })); + return _WeakReferenceWrapper; }); -core.Map = core.Map$(); -dart.addTypeTests(core.Map, dart.isMap); -const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$17.new = function() { - Interceptor_ListMixin$36$17.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$17.prototype; -dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); -const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; -(Interceptor_ImmutableListMixin$36$17.new = function() { - Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$17.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); -web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.nullFailed(I[162], 224, 23, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); - return dart.nullCheck(this[S$.$item](index)); - } - [$_set](index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[162], 230, 25, "index"); - core.Map.as(value); - if (value == null) dart.nullFailed(I[162], 230, 36, "value"); - dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); - return value$; - } - set [$length](value) { - if (value == null) dart.nullFailed(I[162], 236, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; +core._WeakReferenceWrapper = core._WeakReferenceWrapper$(); +dart.addTypeTests(core._WeakReferenceWrapper, _is__WeakReferenceWrapper_default); +var _registry = dart.privateName(core, "_registry"); +const _is__FinalizationRegistryWrapper_default = Symbol('_is__FinalizationRegistryWrapper_default'); +core._FinalizationRegistryWrapper$ = dart.generic(T => { + class _FinalizationRegistryWrapper extends core.Object { + static ['_#new#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + return new (core._FinalizationRegistryWrapper$(T)).new(callback); + } + attach(value, token, opts) { + if (value == null) dart.nullFailed(I[7], 222, 22, "value"); + T.as(token); + let detach = opts && 'detach' in opts ? opts.detach : null; + if (detach != null) { + this[_registry].register(value, token, detach); + } else { + this[_registry].register(value, token); + } } - dart.throw(new core.StateError.new("No elements")); - } - set [$first](value) { - super[$first] = value; - } - get [$last]() { - let len = this[$length]; - if (dart.notNull(len) > 0) { - return this[dart.notNull(len) - 1]; + detach(detachToken) { + if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); + this[_registry].unregister(detachToken); } - dart.throw(new core.StateError.new("No elements")); } - set [$last](value) { - super[$last] = value; - } - get [$single]() { - let len = this[$length]; - if (len === 1) { - return this[0]; - } - if (len === 0) dart.throw(new core.StateError.new("No elements")); - dart.throw(new core.StateError.new("More than one element")); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[162], 264, 21, "index"); - return this[$_get](index); - } - [S$.$item](index) { - if (index == null) dart.nullFailed(I[162], 267, 17, "index"); - return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); - } - [S$4._item_1](...args) { - return this.item.apply(this, args); - } -}; -web_sql.SqlResultSetRowList.prototype[dart.isList] = true; -dart.addTypeTests(web_sql.SqlResultSetRowList); -dart.addTypeCaches(web_sql.SqlResultSetRowList); -web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; -dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), - [$_get]: dart.fnType(core.Map, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), - [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int -})); -dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); -dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); -web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { - [S$4._executeSql](...args) { - return this.executeSql.apply(this, args); - } - [S$4.$executeSql](sqlStatement, $arguments = null) { - if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); - let completer = T$0.CompleterOfSqlResultSet().new(); - this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { - if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); - if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); - _js_helper.applyExtension("SQLResultSet", resultSet); - _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); - completer.complete(resultSet); - }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { - if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); - if (error == null) dart.nullFailed(I[162], 302, 22, "error"); - completer.completeError(error); - }, T$0.SqlTransactionAndSqlErrorTovoid())); - return completer.future; - } -}; -dart.addTypeTests(web_sql.SqlTransaction); -dart.addTypeCaches(web_sql.SqlTransaction); -dart.setMethodSignature(web_sql.SqlTransaction, () => ({ - __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), - [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), - [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) -})); -dart.setLibraryUri(web_sql.SqlTransaction, I[163]); -dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); + (_FinalizationRegistryWrapper.new = function(callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + this[_registry] = new FinalizationRegistry(_js_helper.wrapZoneUnaryCallback(T, callback)); + ; + }).prototype = _FinalizationRegistryWrapper.prototype; + dart.addTypeTests(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper.prototype[_is__FinalizationRegistryWrapper_default] = true; + dart.addTypeCaches(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper[dart.implements] = () => [core.Finalizer$(T)]; + dart.setMethodSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getMethods(_FinalizationRegistryWrapper.__proto__), + attach: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)], {detach: dart.nullable(core.Object)}, {}), + detach: dart.fnType(dart.void, [core.Object]) + })); + dart.setLibraryUri(_FinalizationRegistryWrapper, I[9]); + dart.setFieldSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getFields(_FinalizationRegistryWrapper.__proto__), + [_registry]: dart.finalFieldType(core.Object) + })); + return _FinalizationRegistryWrapper; +}); +core._FinalizationRegistryWrapper = core._FinalizationRegistryWrapper$(); +dart.addTypeTests(core._FinalizationRegistryWrapper, _is__FinalizationRegistryWrapper_default); var _errorMsg$ = dart.privateName(core, "_errorMsg"); core._CompileTimeError = class _CompileTimeError extends core.Error { + static ['_#new#tearOff'](_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); + return new core._CompileTimeError.new(_errorMsg); + } toString() { return this[_errorMsg$]; } }; (core._CompileTimeError.new = function(_errorMsg) { - if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); this[_errorMsg$] = _errorMsg; core._CompileTimeError.__proto__.new.call(this); ; }).prototype = core._CompileTimeError.prototype; dart.addTypeTests(core._CompileTimeError); dart.addTypeCaches(core._CompileTimeError); -dart.setLibraryUri(core._CompileTimeError, I[8]); +dart.setLibraryUri(core._CompileTimeError, I[9]); dart.setFieldSignature(core._CompileTimeError, () => ({ __proto__: dart.getFields(core._CompileTimeError.__proto__), [_errorMsg$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._CompileTimeError, ['toString']); -var _name$6 = dart.privateName(core, "_name"); core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + static ['_#new#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + return new core._DuplicatedFieldInitializerError.new(_name); + } toString() { - return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + return "Error: field '" + dart.str(this[_name$4]) + "' is already initialized."; } }; (core._DuplicatedFieldInitializerError.new = function(_name) { - if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); - this[_name$6] = _name; + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + this[_name$4] = _name; ; }).prototype = core._DuplicatedFieldInitializerError.prototype; dart.addTypeTests(core._DuplicatedFieldInitializerError); dart.addTypeCaches(core._DuplicatedFieldInitializerError); -dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); +dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[9]); dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$6]: dart.finalFieldType(core.String) + [_name$4]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); var _used$ = dart.privateName(core, "_used"); @@ -118117,7 +129235,7 @@ var _toRadixCodeUnit = dart.privateName(core, "_toRadixCodeUnit"); var _toHexString = dart.privateName(core, "_toHexString"); core._BigIntImpl = class _BigIntImpl extends core.Object { static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + if (source == null) dart.nullFailed(I[7], 1112, 35, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let result = core._BigIntImpl._tryParse(source, {radix: radix}); if (result == null) { @@ -118126,8 +129244,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _parseDecimal(source, isNegative) { - if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); - if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1123, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1123, 56, "isNegative"); let part = 0; let result = core._BigIntImpl.zero; let digitInPartCount = 4 - source.length[$remainder](4); @@ -118144,17 +129262,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _codeUnitToRadixValue(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[7], 1153, 40, "codeUnit"); if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; let result = dart.notNull(codeUnit) - 97 + 10; return result; } static _parseHex(source, startPos, isNegative) { - let t247, t247$, t247$0, t247$1; - if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); - if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); - if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let t228, t228$, t228$0, t228$1; + if (source == null) dart.nullFailed(I[7], 1173, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1173, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1173, 67, "isNegative"); let hexDigitsPerChunk = (16 / 4)[$truncate](); let sourceLength = source.length - dart.notNull(startPos); let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); @@ -118164,27 +129282,27 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let i = startPos; let chunk = 0; for (let j = 0; j < lastDigitLength; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228 = i, i = dart.notNull(t228) + 1, t228))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + digits[$_set]((t228$ = digitIndex, digitIndex = t228$ - 1, t228$), chunk); while (dart.notNull(i) < source.length) { chunk = 0; for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228$0 = i, i = dart.notNull(t228$0) + 1, t228$0))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + digits[$_set]((t228$1 = digitIndex, digitIndex = t228$1 - 1, t228$1), chunk); } if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; return new core._BigIntImpl.__(isNegative, digits[$length], digits); } static _parseRadix(source, radix, isNegative) { - if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); - if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); - if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1207, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1207, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1207, 66, "isNegative"); let result = core._BigIntImpl.zero; let base = core._BigIntImpl._fromInt(radix); for (let i = 0; i < source.length; i = i + 1) { @@ -118196,8 +129314,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _tryParse(source, opts) { - let t247, t247$, t247$0; - if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let t228, t228$, t228$0; + if (source == null) dart.nullFailed(I[7], 1224, 40, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; if (source === "") return null; let match = core._BigIntImpl._parseRE.firstMatch(source); @@ -118226,25 +129344,37 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); } if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, isNegative); } - return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + return core._BigIntImpl._parseRadix((t228$0 = (t228$ = decimalMatch, t228$ == null ? nonDecimalMatch : t228$), t228$0 == null ? dart.nullCheck(hexMatch) : t228$0), radix, isNegative); } static _normalize(used, digits) { - if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); - if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + if (used == null) dart.nullFailed(I[7], 1271, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1271, 46, "digits"); while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) used = dart.notNull(used) - 1; return used; } + static ['_#_#tearOff'](isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); + return new core._BigIntImpl.__(isNegative, used, digits); + } + static ['_#_normalized#tearOff'](isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); + return new core._BigIntImpl._normalized(isNegative, _used, _digits); + } get [_isZero]() { return this[_used$] === 0; } static _cloneDigits(digits, from, to, length) { - if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); - if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); - if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); - if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + if (digits == null) dart.nullFailed(I[7], 1292, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1292, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1292, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1292, 48, "length"); let resultDigits = _native_typed_data.NativeUint16List.new(length); let n = dart.notNull(to) - dart.notNull(from); for (let i = 0; i < n; i = i + 1) { @@ -118253,7 +129383,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultDigits; } static from(value) { - if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); if (value === 0) return core._BigIntImpl.zero; if (value === 1) return core._BigIntImpl.one; if (value === 2) return core._BigIntImpl.two; @@ -118261,11 +129391,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); return core._BigIntImpl._fromInt(dart.asInt(value)); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); + return core._BigIntImpl.from(value); + } static _fromInt(value) { - let t247; - if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let t228; + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); let isNegative = dart.notNull(value) < 0; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1316, 12, "_digitBits == 16"); if (isNegative) { if (value === -9223372036854776000.0) { let digits = _native_typed_data.NativeUint16List.new(4); @@ -118289,13 +129423,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); let i = 0; while (value !== 0) { - digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + digits[$_set]((t228 = i, i = t228 + 1, t228), (dart.notNull(value) & 65535) >>> 0); value = (dart.notNull(value) / 65536)[$truncate](); } return new core._BigIntImpl.__(isNegative, digits[$length], digits); } + static ['_#_fromInt#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); + return core._BigIntImpl._fromInt(value); + } static _fromDouble(value) { - if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); if (value[$isNaN] || value[$isInfinite]) { dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); } @@ -118310,7 +129448,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); let exponent = biasedExponent - 1075; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1375, 12, "_digitBits == 16"); let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); @@ -118326,6 +129464,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (isNegative) return absResult._negate(); return absResult; } + static ['_#_fromDouble#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); + return core._BigIntImpl._fromDouble(value); + } _negate() { if (this[_used$] === 0) return this; return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); @@ -118334,7 +129476,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? this._negate() : this; } [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118348,10 +129490,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1434, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1434, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1434, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1434, 56, "resultDigits"); if (xUsed === 0) { return 0; } @@ -118368,7 +129510,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118393,11 +129535,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _lsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1485, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1485, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1485, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1485, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1486, 12, "xUsed > 0"); let digitShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118411,7 +129553,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](digitShift, carry); } ['<<'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1512, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118427,10 +129569,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _lShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1531, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1531, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1531, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1531, 56, "resultDigits"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); if (bitShift === 0) { @@ -118448,11 +129590,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } static _rsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1551, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1551, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1551, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1551, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1552, 12, "xUsed > 0"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118467,7 +129609,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](last, carry); } ['>>'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1576, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118499,12 +129641,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } [_absCompare](other) { - if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + if (other == null) dart.nullFailed(I[7], 1613, 31, "other"); return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); } compareTo(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (other == null) dart.nullFailed(I[7], 1623, 39, "other"); if (this[_isNegative] == other[_isNegative]) { let result = this[_absCompare](other); return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; @@ -118512,10 +129654,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? -1 : 1; } static _compareDigits(digits, used, otherDigits, otherUsed) { - if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); - if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + if (digits == null) dart.nullFailed(I[7], 1637, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1637, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1637, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1637, 64, "otherUsed"); let result = dart.notNull(used) - dart.notNull(otherUsed); if (result === 0) { for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { @@ -118526,12 +129668,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1650, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1650, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1650, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1651, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1651, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1652, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); @@ -118546,12 +129688,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](used, carry); } static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1669, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1669, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1669, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1670, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1670, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1671, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); @@ -118565,15 +129707,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } } [_absAddSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1691, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1691, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; if (dart.notNull(used) < dart.notNull(otherUsed)) { return other[_absAddSetSign](this, isNegative); } if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1698, 14, "!isNegative"); return core._BigIntImpl.zero; } if (otherUsed === 0) { @@ -118585,12 +129727,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absSubSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); - if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + if (other == null) dart.nullFailed(I[7], 1713, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1713, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1714, 12, "_absCompare(other) >= 0"); let used = this[_used$]; if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1717, 14, "!isNegative"); return core._BigIntImpl.zero; } let otherUsed = other[_used$]; @@ -118602,8 +129744,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, used, resultDigits); } [_absAndSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1730, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1730, 54, "isNegative"); let resultUsed = core._min(this[_used$], other[_used$]); let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118614,8 +129756,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absAndNotSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1742, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1742, 57, "isNegative"); let resultUsed = this[_used$]; let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118630,8 +129772,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absOrSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1758, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1758, 53, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118657,8 +129799,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absXorSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1785, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1785, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118685,7 +129827,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['&'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1821, 48, "other"); if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; if (this[_isNegative] == other[_isNegative]) { if (dart.test(this[_isNegative])) { @@ -118709,7 +129851,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['|'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1860, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118734,7 +129876,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['^'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1901, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118766,7 +129908,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['+'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1949, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118780,7 +129922,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['-'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1967, 48, "other"); if (dart.test(this[_isZero])) return other._negate(); if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118793,32 +129935,32 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return other[_absSubSetSign](this, !dart.test(isNegative)); } static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { - let t247, t247$, t247$0; - if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); - if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); - if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); - if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); - if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); - if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + let t228, t228$, t228$0; + if (x == null) dart.nullFailed(I[7], 1996, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1996, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1996, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1997, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1997, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1997, 48, "n"); if (x === 0) { return; } let c = 0; while ((n = dart.notNull(n) - 1) >= 0) { - let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t228 = i, i = dart.notNull(t228) + 1, t228))); let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + accumulatorDigits[$_set]((t228$ = j, j = dart.notNull(t228$) + 1, t228$), (combined & 65535) >>> 0); c = (combined / 65536)[$truncate](); } while (c !== 0) { let l = dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + accumulatorDigits[$_set]((t228$0 = j, j = dart.notNull(t228$0) + 1, t228$0), (l & 65535) >>> 0); c = (l / 65536)[$truncate](); } } ['*'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2019, 48, "other"); let used = this[_used$]; let otherUsed = other[_used$]; if (used === 0 || otherUsed === 0) { @@ -118836,14 +129978,14 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); } static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); - if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 2040, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2040, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 2040, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 2041, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 2041, 33, "resultDigits"); let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); let i = resultUsed; - if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 2044, 12, "resultDigits.length >= i"); while ((i = i - 1) >= 0) { resultDigits[$_set](i, 0); } @@ -118855,17 +129997,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } static _estimateQuotientDigit(topDigitDivisor, digits, i) { - if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); - if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); - if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (topDigitDivisor == null) dart.nullFailed(I[7], 2058, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 2058, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 2058, 51, "i"); if (digits[$_get](i) == topDigitDivisor) return 65535; let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); if (quotientDigit > 65535) return 65535; return quotientDigit; } [_div](other) { - if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2067, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2068, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return core._BigIntImpl.zero; } @@ -118879,8 +130021,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return quo; } [_rem](other) { - if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2086, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2087, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return this; } @@ -118896,12 +130038,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return rem; } [_divRem](other) { - let t247, t247$; - if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + let t228, t228$; + if (other == null) dart.nullFailed(I[7], 2114, 28, "other"); if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { return; } - if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2122, 12, "_used >= other._used"); let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; let resultDigits = null; let resultUsed = null; @@ -118924,11 +130066,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let tmpDigits = _native_typed_data.NativeUint16List.new(i); let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { - if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); - resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2155, 14, "i == resultUsed"); + resultDigits[$_set]((t228 = resultUsed, resultUsed = dart.notNull(t228) + 1, t228), 1); core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); } else { - resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + resultDigits[$_set]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); } let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); nyDigits[$_set](yUsed, 1); @@ -118958,15 +130100,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } get hashCode() { function combine(hash, value) { - if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); - if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + if (hash == null) dart.nullFailed(I[7], 2207, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2207, 31, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } dart.fn(combine, T$0.intAndintToint()); function finish(hash) { - if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + if (hash == null) dart.nullFailed(I[7], 2213, 20, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); @@ -118990,49 +130132,49 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['~/'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_div](other); } remainder(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_rem](other); } ['/'](other) { - if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + if (other == null) dart.nullFailed(I[7], 2308, 28, "other"); return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); } ['<'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2311, 41, "other"); return dart.notNull(this.compareTo(other)) < 0; } ['<='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2314, 42, "other"); return dart.notNull(this.compareTo(other)) <= 0; } ['>'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2317, 41, "other"); return dart.notNull(this.compareTo(other)) > 0; } ['>='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2320, 42, "other"); return dart.notNull(this.compareTo(other)) >= 0; } ['%'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2333, 48, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } let result = this[_rem](other); if (dart.test(result[_isNegative])) { @@ -119058,7 +130200,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return this[_isNegative]; } pow(exponent) { - if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2368, 23, "exponent"); if (dart.notNull(exponent) < 0) { dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); } @@ -119078,9 +130220,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } modPow(exponent, modulus) { core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2397, 61, "modulus"); if (dart.test(exponent[_isNegative])) { dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); } @@ -119118,9 +130260,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return z.revert(resultDigits, resultUsed); } static _binaryGcd(x, y, inv) { - if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); - if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); - if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + if (x == null) dart.nullFailed(I[7], 2443, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2443, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2443, 68, "inv"); let xDigits = x[_digits$]; let yDigits = y[_digits$]; let xUsed = x[_used$]; @@ -119340,7 +130482,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } modInverse(modulus) { core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2701, 48, "modulus"); if (dart.test(modulus['<='](core._BigIntImpl.zero))) { dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); } @@ -119353,17 +130495,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } gcd(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2726, 41, "other"); if (dart.test(this[_isZero])) return other.abs(); if (dart.test(other[_isZero])) return this.abs(); return core._BigIntImpl._binaryGcd(this, other, false); } toUnsigned(width) { - if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + if (width == null) dart.nullFailed(I[7], 2758, 30, "width"); return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); } toSigned(width) { - if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + if (width == null) dart.nullFailed(I[7], 2796, 28, "width"); let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); } @@ -119381,7 +130523,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? -result : result; } toDouble() { - let t248, t247, t248$, t247$; + let t229, t228, t229$, t228$; if (dart.test(this[_isZero])) return 0.0; let resultBits = _native_typed_data.NativeUint8List.new(8); let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; @@ -119391,14 +130533,14 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); let biasedExponent = length - 53 + 1075; resultBits[$_set](6, (biasedExponent & 15) << 4); - t247 = resultBits; - t248 = 7; - t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + t228 = resultBits; + t229 = 7; + t228[$_set](t229, (dart.notNull(t228[$_get](t229)) | biasedExponent[$rightShift](4)) >>> 0); let cachedBits = 0; let cachedBitsLength = 0; let digitIndex = dart.notNull(this[_used$]) - 1; const readBits = n => { - if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + if (n == null) dart.nullFailed(I[7], 2859, 22, "n"); while (cachedBitsLength < dart.notNull(n)) { let nextDigit = null; let nextDigitLength = 16; @@ -119420,9 +130562,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { }; dart.fn(readBits, T$0.intToint()); let leadingBits = dart.notNull(readBits(5)) & 15; - t247$ = resultBits; - t248$ = 6; - t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + t228$ = resultBits; + t229$ = 6; + t228$[$_set](t229$, (dart.notNull(t228$[$_get](t229$)) | leadingBits) >>> 0); for (let i = 5; i >= 0; i = i - 1) { resultBits[$_set](i, readBits(8)); } @@ -119475,13 +130617,13 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return decimalDigitChunks[$reversed][$join](); } [_toRadixCodeUnit](digit) { - if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (digit == null) dart.nullFailed(I[7], 2959, 28, "digit"); if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); return 97 + dart.notNull(digit) - 10; } toRadixString(radix) { - if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); - if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (radix == null) dart.nullFailed(I[7], 2974, 28, "radix"); + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); if (this[_used$] === 0) return "0"; if (this[_used$] === 1) { let digitString = this[_digits$][$_get](0)[$toRadixString](radix); @@ -119522,15 +130664,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } }; (core._BigIntImpl.__ = function(isNegative, used, digits) { - if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); - if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); - if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); }).prototype = core._BigIntImpl.prototype; (core._BigIntImpl._normalized = function(isNegative, _used, _digits) { - if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); - if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); - if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); this[_used$] = _used; this[_digits$] = _digits; this[_isNegative] = _used === 0 ? false : isNegative; @@ -119586,6 +130728,7 @@ dart.setMethodSignature(core._BigIntImpl, () => ({ toRadixString: dart.fnType(core.String, [core.int]), [_toHexString]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(core._BigIntImpl, () => ['parse', '_parseDecimal', '_codeUnitToRadixValue', '_parseHex', '_parseRadix', '_tryParse', '_normalize', '_cloneDigits', 'from', '_fromInt', '_fromDouble', '_dlShiftDigits', '_lsh', '_lShiftDigits', '_rsh', '_compareDigits', '_absAdd', '_absSub', '_mulAdd', '_mulDigits', '_estimateQuotientDigit', '_binaryGcd']); dart.setGetterSignature(core._BigIntImpl, () => ({ __proto__: dart.getGetters(core._BigIntImpl.__proto__), [_isZero]: core.bool, @@ -119596,13 +130739,14 @@ dart.setGetterSignature(core._BigIntImpl, () => ({ isNegative: core.bool, isValidInt: core.bool })); -dart.setLibraryUri(core._BigIntImpl, I[8]); +dart.setLibraryUri(core._BigIntImpl, I[9]); dart.setFieldSignature(core._BigIntImpl, () => ({ __proto__: dart.getFields(core._BigIntImpl.__proto__), [_isNegative]: dart.finalFieldType(core.bool), [_digits$]: dart.finalFieldType(typed_data.Uint16List), [_used$]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(core._BigIntImpl, () => ['_digitBits', '_digitBase', '_digitMask', 'zero', 'one', 'two', '_minusOne', '_bigInt10000', '_lastDividendDigits', '_lastDividendUsed', '_lastDivisorDigits', '_lastDivisorUsed', '_lastQuoRemDigits', '_lastQuoRemUsed', '_lastRemUsed', '_lastRem_nsh', '_parseRE', '_bitsForFromDouble', '_simpleValidIntDigits']); dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); dart.defineLazy(core._BigIntImpl, { @@ -119633,39 +130777,41 @@ dart.defineLazy(core._BigIntImpl, { /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { return null; }, - set _lastDividendDigits(_) {}, + set _lastDividendDigits(value) {}, /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { return null; }, - set _lastDividendUsed(_) {}, + set _lastDividendUsed(value) {}, /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { return null; }, - set _lastDivisorDigits(_) {}, + set _lastDivisorDigits(value) {}, /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { return null; }, - set _lastDivisorUsed(_) {}, + set _lastDivisorUsed(value) {}, /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { return null; }, - set _lastQuoRemDigits(_) {}, + set _lastQuoRemDigits(value) {}, /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { return null; }, - set _lastQuoRemUsed(_) {}, + set _lastQuoRemUsed(value) {}, /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { return null; }, - set _lastRemUsed(_) {}, + set _lastRemUsed(value) {}, /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { return null; }, - set _lastRem_nsh(_) {}, + set _lastRem_nsh(value) {}, /*core._BigIntImpl._parseRE*/get _parseRE() { return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); }, - set _parseRE(_) {}, + set _parseRE(value) { + if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); + }, /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { return _native_typed_data.NativeUint8List.new(8); }, @@ -119679,23 +130825,27 @@ core._BigIntReduction = class _BigIntReduction extends core.Object {}; }).prototype = core._BigIntReduction.prototype; dart.addTypeTests(core._BigIntReduction); dart.addTypeCaches(core._BigIntReduction); -dart.setLibraryUri(core._BigIntReduction, I[8]); +dart.setLibraryUri(core._BigIntReduction, I[9]); var _modulus$ = dart.privateName(core, "_modulus"); var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); var _reduce = dart.privateName(core, "_reduce"); core._BigIntClassic = class _BigIntClassic extends core.Object { + static ['_#new#tearOff'](_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); + return new core._BigIntClassic.new(_modulus); + } convert(x, resultDigits) { - if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); - if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + if (x == null) dart.nullFailed(I[7], 3044, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 3044, 41, "resultDigits"); let digits = null; let used = null; if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { let remainder = x[_rem](this[_modulus$]); if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { - if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3050, 16, "remainder._isNegative"); remainder = remainder['+'](this[_modulus$]); } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); used = remainder[_used$]; digits = remainder[_digits$]; } else { @@ -119709,13 +130859,13 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return used; } revert(xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3067, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3067, 46, "xUsed"); return new core._BigIntImpl.__(false, xUsed, xDigits); } [_reduce](xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3071, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { return xUsed; } @@ -119724,9 +130874,9 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return this.convert(rem, xDigits); } sqr(xDigits, xUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3080, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3080, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3080, 53, "resultDigits"); let b = new core._BigIntImpl.__(false, xUsed, xDigits); let b2 = b['*'](b); for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { @@ -119738,17 +130888,17 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); } mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); - if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); - if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3092, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3092, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3092, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3092, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3093, 18, "resultDigits"); let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); return this[_reduce](resultDigits, resultUsed); } }; (core._BigIntClassic.new = function(_modulus) { - if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); this[_modulus$] = _modulus; this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); ; @@ -119764,7 +130914,7 @@ dart.setMethodSignature(core._BigIntClassic, () => ({ sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) })); -dart.setLibraryUri(core._BigIntClassic, I[8]); +dart.setLibraryUri(core._BigIntClassic, I[9]); dart.setFieldSignature(core._BigIntClassic, () => ({ __proto__: dart.getFields(core._BigIntClassic.__proto__), [_modulus$]: dart.finalFieldType(core._BigIntImpl), @@ -119778,6 +130928,10 @@ core.Deprecated = class Deprecated extends core.Object { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); + return new core.Deprecated.new(message); + } get expires() { return this.message; } @@ -119786,7 +130940,7 @@ core.Deprecated = class Deprecated extends core.Object { } }; (core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); this[message$11] = message; ; }).prototype = core.Deprecated.prototype; @@ -119796,23 +130950,31 @@ dart.setGetterSignature(core.Deprecated, () => ({ __proto__: dart.getGetters(core.Deprecated.__proto__), expires: core.String })); -dart.setLibraryUri(core.Deprecated, I[8]); +dart.setLibraryUri(core.Deprecated, I[9]); dart.setFieldSignature(core.Deprecated, () => ({ __proto__: dart.getFields(core.Deprecated.__proto__), message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.Deprecated, ['toString']); -core._Override = class _Override extends core.Object {}; +core._Override = class _Override extends core.Object { + static ['_#new#tearOff']() { + return new core._Override.new(); + } +}; (core._Override.new = function() { ; }).prototype = core._Override.prototype; dart.addTypeTests(core._Override); dart.addTypeCaches(core._Override); -dart.setLibraryUri(core._Override, I[8]); +dart.setLibraryUri(core._Override, I[9]); core.Provisional = class Provisional extends core.Object { get message() { return null; } + static ['_#new#tearOff'](opts) { + let message = opts && 'message' in opts ? opts.message : null; + return new core.Provisional.new({message: message}); + } }; (core.Provisional.new = function(opts) { let message = opts && 'message' in opts ? opts.message : null; @@ -119824,7 +130986,7 @@ dart.setGetterSignature(core.Provisional, () => ({ __proto__: dart.getGetters(core.Provisional.__proto__), message: dart.nullable(core.String) })); -dart.setLibraryUri(core.Provisional, I[8]); +dart.setLibraryUri(core.Provisional, I[9]); var name$12 = dart.privateName(core, "pragma.name"); var options$ = dart.privateName(core, "pragma.options"); core.pragma = class pragma extends core.Object { @@ -119840,21 +131002,31 @@ core.pragma = class pragma extends core.Object { set options(value) { super.options = value; } + static ['_#new#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 186, 31, "name"); + return new core.pragma.__(name, options); + } + static ['_#_#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); + return new core.pragma.__(name, options); + } }; (core.pragma.__ = function(name, options = null) { - if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); this[name$12] = name; this[options$] = options; ; }).prototype = core.pragma.prototype; dart.addTypeTests(core.pragma); dart.addTypeCaches(core.pragma); -dart.setLibraryUri(core.pragma, I[8]); +dart.setStaticMethodSignature(core.pragma, () => ['new']); +dart.setLibraryUri(core.pragma, I[9]); dart.setFieldSignature(core.pragma, () => ({ __proto__: dart.getFields(core.pragma.__proto__), name: dart.finalFieldType(core.String), options: dart.finalFieldType(dart.nullable(core.Object)) })); +dart.setStaticFieldSignature(core.pragma, () => ['_redirecting#']); core.BigInt = class BigInt extends core.Object { static get zero() { return core._BigIntImpl.zero; @@ -119866,22 +131038,29 @@ core.BigInt = class BigInt extends core.Object { return core._BigIntImpl.two; } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + if (source == null) dart.nullFailed(I[7], 327, 30, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl.parse(source, {radix: radix}); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + if (source == null) dart.nullFailed(I[7], 331, 34, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl._tryParse(source, {radix: radix}); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 335, 27, "value"); + return core._BigIntImpl.from(value); + } }; (core.BigInt[dart.mixinNew] = function() { }).prototype = core.BigInt.prototype; dart.addTypeTests(core.BigInt); dart.addTypeCaches(core.BigInt); core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; -dart.setLibraryUri(core.BigInt, I[8]); +dart.setStaticMethodSignature(core.BigInt, () => ['parse', 'tryParse', 'from']); +dart.setStaticGetterSignature(core.BigInt, () => ['zero', 'one', 'two']); +dart.setLibraryUri(core.BigInt, I[9]); +dart.setStaticFieldSignature(core.BigInt, () => ['_redirecting#']); core.bool = class bool extends core.Object { static is(o) { return o === true || o === false; @@ -119891,28 +131070,38 @@ core.bool = class bool extends core.Object { return dart.as(o, core.bool); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; - if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); + return core.bool.fromEnvironment(name, {defaultValue: defaultValue}); + } static hasEnvironment(name) { - if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); } + static ['_#hasEnvironment#tearOff'](name) { + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); + return core.bool.hasEnvironment(name); + } get [$hashCode]() { return super[$hashCode]; } [$bitAnd](other) { - if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + if (other == null) dart.nullFailed(I[165], 103, 24, "other"); return dart.test(other) && this; } [$bitOr](other) { - if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + if (other == null) dart.nullFailed(I[165], 109, 24, "other"); return dart.test(other) || this; } [$bitXor](other) { - if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + if (other == null) dart.nullFailed(I[165], 115, 24, "other"); return !dart.test(other) === this; } [$toString]() { @@ -119928,13 +131117,14 @@ dart.setMethodSignature(core.bool, () => ({ [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); -dart.setLibraryUri(core.bool, I[8]); +dart.setStaticMethodSignature(core.bool, () => ['is', 'as', 'fromEnvironment', 'hasEnvironment']); +dart.setLibraryUri(core.bool, I[9]); const _is_Comparable_default = Symbol('_is_Comparable_default'); core.Comparable$ = dart.generic(T => { class Comparable extends core.Object { static compare(a, b) { - if (a == null) dart.nullFailed(I[167], 88, 33, "a"); - if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + if (a == null) dart.nullFailed(I[166], 88, 33, "a"); + if (b == null) dart.nullFailed(I[166], 88, 47, "b"); return a[$compareTo](b); } } @@ -119944,7 +131134,8 @@ core.Comparable$ = dart.generic(T => { dart.addTypeTests(Comparable); Comparable.prototype[_is_Comparable_default] = true; dart.addTypeCaches(Comparable); - dart.setLibraryUri(Comparable, I[8]); + dart.setStaticMethodSignature(Comparable, () => ['compare']); + dart.setLibraryUri(Comparable, I[9]); return Comparable; }); core.Comparable = core.Comparable$(); @@ -119959,11 +131150,36 @@ core.DateTime = class DateTime extends core.Object { super.isUtc = value; } static _microsecondInRoundedMilliseconds(microsecond) { - if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + if (microsecond == null) dart.nullFailed(I[7], 412, 52, "microsecond"); return (dart.notNull(microsecond) / 1000)[$round](); } + static ['_#new#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); + return new core.DateTime.new(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#utc#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); + return new core.DateTime.utc(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#now#tearOff']() { + return new core.DateTime.now(); + } static parse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 289, 32, "formattedString"); let re = core.DateTime._parseFormat; let match = re.firstMatch(formattedString); if (match != null) { @@ -119975,7 +131191,7 @@ core.DateTime = class DateTime extends core.Object { function parseMilliAndMicroseconds(matched) { if (matched == null) return 0; let length = matched.length; - if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + if (!(length >= 1)) dart.assertFailed(null, I[167], 304, 16, "length >= 1"); let result = 0; for (let i = 0; i < 6; i = i + 1) { result = result * 10; @@ -120017,7 +131233,7 @@ core.DateTime = class DateTime extends core.Object { } } static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); try { return core.DateTime.parse(formattedString); } catch (e) { @@ -120028,24 +131244,42 @@ core.DateTime = class DateTime extends core.Object { throw e; } } + static ['_#fromMillisecondsSinceEpoch#tearOff'](millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); + return new core.DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#fromMicrosecondsSinceEpoch#tearOff'](microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); + return new core.DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#_withValue#tearOff'](_value, opts) { + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); + return new core.DateTime._withValue(_value, {isUtc: isUtc}); + } _equals(other) { if (other == null) return false; return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; } isBefore(other) { - if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + if (other == null) dart.nullFailed(I[7], 497, 26, "other"); return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); } isAfter(other) { - if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + if (other == null) dart.nullFailed(I[7], 500, 25, "other"); return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); } isAtSameMomentAs(other) { - if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + if (other == null) dart.nullFailed(I[7], 503, 34, "other"); return this[_value$4] == other.millisecondsSinceEpoch; } compareTo(other) { - if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + if (other == null) dart.nullFailed(I[7], 507, 26, "other"); return this[_value$4][$compareTo](other.millisecondsSinceEpoch); } get hashCode() { @@ -120062,7 +131296,7 @@ core.DateTime = class DateTime extends core.Object { return new core.DateTime._withValue(this[_value$4], {isUtc: true}); } static _fourDigits(n) { - if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + if (n == null) dart.nullFailed(I[167], 540, 33, "n"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : ""; if (absN >= 1000) return dart.str(n); @@ -120071,21 +131305,21 @@ core.DateTime = class DateTime extends core.Object { return sign + "000" + dart.str(absN); } static _sixDigits(n) { - if (n == null) dart.nullFailed(I[168], 501, 32, "n"); - if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + if (n == null) dart.nullFailed(I[167], 549, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[167], 550, 12, "n < -9999 || n > 9999"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : "+"; if (absN >= 100000) return sign + dart.str(absN); return sign + "0" + dart.str(absN); } static _threeDigits(n) { - if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (n == null) dart.nullFailed(I[167], 557, 34, "n"); if (dart.notNull(n) >= 100) return dart.str(n); if (dart.notNull(n) >= 10) return "0" + dart.str(n); return "00" + dart.str(n); } static _twoDigits(n) { - if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (n == null) dart.nullFailed(I[167], 563, 32, "n"); if (dart.notNull(n) >= 10) return dart.str(n); return "0" + dart.str(n); } @@ -120120,27 +131354,42 @@ core.DateTime = class DateTime extends core.Object { } } add(duration) { - if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + if (duration == null) dart.nullFailed(I[7], 443, 25, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } subtract(duration) { - if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + if (duration == null) dart.nullFailed(I[7], 448, 30, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } difference(other) { - if (other == null) dart.nullFailed(I[7], 382, 32, "other"); - return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + if (other == null) dart.nullFailed(I[7], 453, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other.millisecondsSinceEpoch)}); + } + static ['_#_internal#tearOff'](year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); + return new core.DateTime._internal(year, month, day, hour, minute, second, millisecond, microsecond, isUtc); + } + static ['_#_now#tearOff']() { + return new core.DateTime._now(); } static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 346, 42, "year"); - if (month == null) dart.nullFailed(I[7], 346, 52, "month"); - if (day == null) dart.nullFailed(I[7], 346, 63, "day"); - if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); - if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); - if (second == null) dart.nullFailed(I[7], 347, 23, "second"); - if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + if (year == null) dart.nullFailed(I[7], 417, 42, "year"); + if (month == null) dart.nullFailed(I[7], 417, 52, "month"); + if (day == null) dart.nullFailed(I[7], 417, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 417, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 418, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 418, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 418, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 418, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 418, 70, "isUtc"); return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); } get millisecondsSinceEpoch() { @@ -120186,46 +131435,46 @@ core.DateTime = class DateTime extends core.Object { } }; (core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 172, 16, "year"); - if (month == null) dart.nullFailed(I[168], 173, 12, "month"); - if (day == null) dart.nullFailed(I[168], 174, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 177, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); }).prototype = core.DateTime.prototype; (core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 192, 20, "year"); - if (month == null) dart.nullFailed(I[168], 193, 12, "month"); - if (day == null) dart.nullFailed(I[168], 194, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 197, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); }).prototype = core.DateTime.prototype; (core.DateTime.now = function() { core.DateTime._now.call(this); }).prototype = core.DateTime.prototype; (core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { - if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { - if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime._withValue = function(_value, opts) { - if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); this[_value$4] = _value; this[isUtc$] = isUtc; if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { @@ -120234,15 +131483,15 @@ core.DateTime = class DateTime extends core.Object { _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); }).prototype = core.DateTime.prototype; (core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 320, 26, "year"); - if (month == null) dart.nullFailed(I[7], 320, 36, "month"); - if (day == null) dart.nullFailed(I[7], 320, 47, "day"); - if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); - if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); - if (second == null) dart.nullFailed(I[7], 321, 11, "second"); - if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); this[isUtc$] = isUtc; this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); ; @@ -120269,6 +131518,7 @@ dart.setMethodSignature(core.DateTime, () => ({ subtract: dart.fnType(core.DateTime, [core.Duration]), difference: dart.fnType(core.Duration, [core.DateTime]) })); +dart.setStaticMethodSignature(core.DateTime, () => ['_microsecondInRoundedMilliseconds', 'parse', 'tryParse', '_fourDigits', '_sixDigits', '_threeDigits', '_twoDigits', '_brokenDownDateToValue']); dart.setGetterSignature(core.DateTime, () => ({ __proto__: dart.getGetters(core.DateTime.__proto__), millisecondsSinceEpoch: core.int, @@ -120285,12 +131535,13 @@ dart.setGetterSignature(core.DateTime, () => ({ microsecond: core.int, weekday: core.int })); -dart.setLibraryUri(core.DateTime, I[8]); +dart.setLibraryUri(core.DateTime, I[9]); dart.setFieldSignature(core.DateTime, () => ({ __proto__: dart.getFields(core.DateTime.__proto__), [_value$4]: dart.finalFieldType(core.int), isUtc: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(core.DateTime, () => ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday', 'daysPerWeek', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december', 'monthsPerYear', '_maxMillisecondsSinceEpoch', '_parseFormat']); dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.DateTime, ['hashCode']); dart.defineLazy(core.DateTime, { @@ -120373,37 +131624,56 @@ core.Duration = class Duration extends core.Object { set [_duration](value) { super[_duration] = value; } + static ['_#new#tearOff'](opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + return new core.Duration.new({days: days, hours: hours, minutes: minutes, seconds: seconds, milliseconds: milliseconds, microseconds: microseconds}); + } + static ['_#_microseconds#tearOff'](_duration) { + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); + return new core.Duration._microseconds(_duration); + } ['+'](other) { - if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + if (other == null) dart.nullFailed(I[168], 193, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); } ['-'](other) { - if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + if (other == null) dart.nullFailed(I[168], 199, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + if (factor == null) dart.nullFailed(I[168], 208, 27, "factor"); return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); } ['~/'](quotient) { - if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient == null) dart.nullFailed(I[168], 216, 28, "quotient"); if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); } ['<'](other) { - if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + if (other == null) dart.nullFailed(I[168], 224, 28, "other"); return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); } ['>'](other) { - if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + if (other == null) dart.nullFailed(I[168], 227, 28, "other"); return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); } ['<='](other) { - if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + if (other == null) dart.nullFailed(I[168], 230, 29, "other"); return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); } ['>='](other) { - if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + if (other == null) dart.nullFailed(I[168], 233, 29, "other"); return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); } get inDays() { @@ -120433,33 +131703,23 @@ core.Duration = class Duration extends core.Object { } compareTo(other) { core.Duration.as(other); - if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + if (other == null) dart.nullFailed(I[168], 319, 26, "other"); return this[_duration][$compareTo](other[_duration]); } toString() { - function sixDigits(n) { - if (n == null) dart.nullFailed(I[169], 260, 26, "n"); - if (dart.notNull(n) >= 100000) return dart.str(n); - if (dart.notNull(n) >= 10000) return "0" + dart.str(n); - if (dart.notNull(n) >= 1000) return "00" + dart.str(n); - if (dart.notNull(n) >= 100) return "000" + dart.str(n); - if (dart.notNull(n) >= 10) return "0000" + dart.str(n); - return "00000" + dart.str(n); - } - dart.fn(sixDigits, T$0.intToString()); - function twoDigits(n) { - if (n == null) dart.nullFailed(I[169], 269, 26, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - dart.fn(twoDigits, T$0.intToString()); - if (dart.notNull(this.inMicroseconds) < 0) { - return "-" + dart.str(this._negate()); - } - let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); - let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); - let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); - return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + let microseconds = this.inMicroseconds; + let sign = dart.notNull(microseconds) < 0 ? "-" : ""; + let hours = (dart.notNull(microseconds) / 3600000000.0)[$truncate](); + microseconds = microseconds[$remainder](3600000000.0); + if (dart.notNull(microseconds) < 0) microseconds = -dart.notNull(microseconds); + let minutes = (dart.notNull(microseconds) / 60000000)[$truncate](); + microseconds = microseconds[$remainder](60000000); + let minutesPadding = minutes < 10 ? "0" : ""; + let seconds = (dart.notNull(microseconds) / 1000000)[$truncate](); + microseconds = microseconds[$remainder](1000000); + let secondsPadding = seconds < 10 ? "0" : ""; + let paddedMicroseconds = dart.toString(microseconds)[$padLeft](6, "0"); + return sign + dart.str(hours[$abs]()) + ":" + minutesPadding + dart.str(minutes) + ":" + secondsPadding + dart.str(seconds) + "." + paddedMicroseconds; } get isNegative() { return dart.notNull(this[_duration]) < 0; @@ -120473,21 +131733,21 @@ core.Duration = class Duration extends core.Object { }; (core.Duration.new = function(opts) { let days = opts && 'days' in opts ? opts.days : 0; - if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); let hours = opts && 'hours' in opts ? opts.hours : 0; - if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); let minutes = opts && 'minutes' in opts ? opts.minutes : 0; - if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); let seconds = opts && 'seconds' in opts ? opts.seconds : 0; - if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; - if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; - if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); - core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + core.Duration._microseconds.call(this, dart.notNull(microseconds) + 1000 * dart.notNull(milliseconds) + 1000000 * dart.notNull(seconds) + 60000000 * dart.notNull(minutes) + 3600000000.0 * dart.notNull(hours) + 86400000000.0 * dart.notNull(days)); }).prototype = core.Duration.prototype; (core.Duration._microseconds = function(_duration) { - if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); this[_duration$] = _duration; ; }).prototype = core.Duration.prototype; @@ -120519,11 +131779,12 @@ dart.setGetterSignature(core.Duration, () => ({ inMicroseconds: core.int, isNegative: core.bool })); -dart.setLibraryUri(core.Duration, I[8]); +dart.setLibraryUri(core.Duration, I[9]); dart.setFieldSignature(core.Duration, () => ({ __proto__: dart.getFields(core.Duration.__proto__), [_duration]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(core.Duration, () => ['microsecondsPerMillisecond', 'millisecondsPerSecond', 'secondsPerMinute', 'minutesPerHour', 'hoursPerDay', 'microsecondsPerSecond', 'microsecondsPerMinute', 'microsecondsPerHour', 'microsecondsPerDay', 'millisecondsPerMinute', 'millisecondsPerHour', 'millisecondsPerDay', 'secondsPerHour', 'secondsPerDay', 'minutesPerDay', 'zero']); dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.Duration, ['hashCode']); dart.defineLazy(core.Duration, { @@ -120573,26 +131834,56 @@ dart.defineLazy(core.Duration, { return 1440; }, /*core.Duration.zero*/get zero() { - return C[420] || CT.C420; + return C[431] || CT.C431; } }, false); -core.TypeError = class TypeError extends core.Error {}; +core.Enum = class Enum extends core.Object { + static compareByIndex(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 72, 47, "value1"); + if (value2 == null) dart.nullFailed(I[122], 72, 57, "value2"); + return dart.notNull(value1.index) - dart.notNull(value2.index); + } + static compareByName(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 95, 46, "value1"); + if (value2 == null) dart.nullFailed(I[122], 95, 56, "value2"); + return core['EnumName|get#name'](value1)[$compareTo](core['EnumName|get#name'](value2)); + } +}; +(core.Enum.new = function() { + ; +}).prototype = core.Enum.prototype; +dart.addTypeTests(core.Enum); +dart.addTypeCaches(core.Enum); +dart.setStaticMethodSignature(core.Enum, () => ['compareByIndex', 'compareByName']); +dart.setLibraryUri(core.Enum, I[9]); +core.TypeError = class TypeError extends core.Error { + static ['_#new#tearOff']() { + return new core.TypeError.new(); + } +}; (core.TypeError.new = function() { core.TypeError.__proto__.new.call(this); ; }).prototype = core.TypeError.prototype; dart.addTypeTests(core.TypeError); dart.addTypeCaches(core.TypeError); -dart.setLibraryUri(core.TypeError, I[8]); -core.CastError = class CastError extends core.Error {}; +dart.setLibraryUri(core.TypeError, I[9]); +core.CastError = class CastError extends core.Error { + static ['_#new#tearOff']() { + return new core.CastError.new(); + } +}; (core.CastError.new = function() { core.CastError.__proto__.new.call(this); ; }).prototype = core.CastError.prototype; dart.addTypeTests(core.CastError); dart.addTypeCaches(core.CastError); -dart.setLibraryUri(core.CastError, I[8]); +dart.setLibraryUri(core.CastError, I[9]); core.NullThrownError = class NullThrownError extends core.Error { + static ['_#new#tearOff']() { + return new core.NullThrownError.new(); + } toString() { return "Throw of null."; } @@ -120603,7 +131894,8 @@ core.NullThrownError = class NullThrownError extends core.Error { }).prototype = core.NullThrownError.prototype; dart.addTypeTests(core.NullThrownError); dart.addTypeCaches(core.NullThrownError); -dart.setLibraryUri(core.NullThrownError, I[8]); +core.NullThrownError[dart.implements] = () => [core.TypeError]; +dart.setLibraryUri(core.NullThrownError, I[9]); dart.defineExtensionMethods(core.NullThrownError, ['toString']); var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); var name$13 = dart.privateName(core, "ArgumentError.name"); @@ -120627,9 +131919,19 @@ core.ArgumentError = class ArgumentError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null, name = null) { + return new core.ArgumentError.new(message, name); + } + static ['_#value#tearOff'](value, name = null, message = null) { + return new core.ArgumentError.value(value, name, message); + } + static ['_#notNull#tearOff'](name = null) { + return new core.ArgumentError.notNull(name); + } static checkNotNull(T, argument, name = null) { - if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); - return argument; + let t230; + t230 = argument; + return t230 == null ? dart.throw(new core.ArgumentError.notNull(name)) : t230; } get [_errorName$]() { return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); @@ -120649,11 +131951,11 @@ core.ArgumentError = class ArgumentError extends core.Error { return prefix + dart.str(explanation) + ": " + dart.str(errorValue); } }; -(core.ArgumentError.new = function(message = null) { +(core.ArgumentError.new = function(message = null, name = null) { this[message$12] = message; + this[name$13] = name; this[invalidValue] = null; this[_hasValue$] = false; - this[name$13] = null; core.ArgumentError.__proto__.new.call(this); ; }).prototype = core.ArgumentError.prototype; @@ -120675,12 +131977,13 @@ core.ArgumentError = class ArgumentError extends core.Error { }).prototype = core.ArgumentError.prototype; dart.addTypeTests(core.ArgumentError); dart.addTypeCaches(core.ArgumentError); +dart.setStaticMethodSignature(core.ArgumentError, () => ['checkNotNull']); dart.setGetterSignature(core.ArgumentError, () => ({ __proto__: dart.getGetters(core.ArgumentError.__proto__), [_errorName$]: core.String, [_errorExplanation$]: core.String })); -dart.setLibraryUri(core.ArgumentError, I[8]); +dart.setLibraryUri(core.ArgumentError, I[9]); dart.setFieldSignature(core.ArgumentError, () => ({ __proto__: dart.getFields(core.ArgumentError.__proto__), [_hasValue$]: dart.finalFieldType(core.bool), @@ -120705,27 +132008,41 @@ core.RangeError = class RangeError extends core.ArgumentError { set end(value) { super.end = value; } + get invalidValue() { + return T$0.numN().as(super[$invalidValue]); + } + static ['_#new#tearOff'](message) { + return new core.RangeError.new(message); + } + static ['_#value#tearOff'](value, name = null, message = null) { + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); + return new core.RangeError.value(value, name, message); + } + static ['_#range#tearOff'](invalidValue, minValue, maxValue, name = null, message = null) { + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); + return new core.RangeError.range(invalidValue, minValue, maxValue, name, message); + } + static ['_#index#tearOff'](index, indexable, name = null, message = null, length = null) { + if (index == null) dart.nullFailed(I[28], 312, 32, "index"); + return new core.IndexError.new(index, indexable, name, message, length); + } static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { - if (value == null) dart.nullFailed(I[170], 274, 39, "value"); - if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); - if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (value == null) dart.nullFailed(I[28], 324, 39, "value"); + if (minValue == null) dart.nullFailed(I[28], 324, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[28], 324, 64, "maxValue"); if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); } return value; } static checkValidIndex(index, indexable, name = null, length = null, message = null) { - if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + if (index == null) dart.nullFailed(I[28], 347, 34, "index"); length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { - name == null ? name = "index" : null; - dart.throw(new core.IndexError.new(index, indexable, name, message, length)); - } - return index; + return core.IndexError.check(index, length, {indexable: indexable, name: name, message: message}); } static checkValidRange(start, end, length, startName = null, endName = null, message = null) { - if (start == null) dart.nullFailed(I[170], 322, 34, "start"); - if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (start == null) dart.nullFailed(I[28], 368, 34, "start"); + if (length == null) dart.nullFailed(I[28], 368, 55, "length"); if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { startName == null ? startName = "start" : null; dart.throw(new core.RangeError.range(start, 0, length, startName, message)); @@ -120740,10 +132057,10 @@ core.RangeError = class RangeError extends core.ArgumentError { return length; } static checkNotNegative(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 395, 35, "value"); if (dart.notNull(value) < 0) { - dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + dart.throw(new core.RangeError.range(value, 0, null, (t230 = name, t230 == null ? "index" : t230), message)); } return value; } @@ -120751,7 +132068,7 @@ core.RangeError = class RangeError extends core.ArgumentError { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); let explanation = ""; let start = this.start; let end = this.end; @@ -120778,29 +132095,37 @@ core.RangeError = class RangeError extends core.ArgumentError { ; }).prototype = core.RangeError.prototype; (core.RangeError.value = function(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); this[start] = null; this[end] = null; - core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + core.RangeError.__proto__.value.call(this, value, name, (t230 = message, t230 == null ? "Value not in range" : t230)); ; }).prototype = core.RangeError.prototype; (core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { - let t249; - if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); this[start] = minValue; this[end] = maxValue; - core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + core.RangeError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Invalid value" : t230)); ; }).prototype = core.RangeError.prototype; dart.addTypeTests(core.RangeError); dart.addTypeCaches(core.RangeError); -dart.setLibraryUri(core.RangeError, I[8]); +dart.setStaticMethodSignature(core.RangeError, () => ['index', 'checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'checkNotNegative']); +dart.setGetterSignature(core.RangeError, () => ({ + __proto__: dart.getGetters(core.RangeError.__proto__), + invalidValue: dart.nullable(core.num), + [$invalidValue]: dart.nullable(core.num) +})); +dart.setLibraryUri(core.RangeError, I[9]); dart.setFieldSignature(core.RangeError, () => ({ __proto__: dart.getFields(core.RangeError.__proto__), start: dart.finalFieldType(dart.nullable(core.num)), end: dart.finalFieldType(dart.nullable(core.num)) })); +dart.setStaticFieldSignature(core.RangeError, () => ['_redirecting#']); +dart.defineExtensionAccessors(core.RangeError, ['invalidValue']); var indexable$ = dart.privateName(core, "IndexError.indexable"); var length$ = dart.privateName(core, "IndexError.length"); core.IndexError = class IndexError extends core.ArgumentError { @@ -120816,6 +132141,33 @@ core.IndexError = class IndexError extends core.ArgumentError { set length(value) { super.length = value; } + get invalidValue() { + return core.int.as(super[$invalidValue]); + } + static ['_#new#tearOff'](invalidValue, indexable, name = null, message = null, length = null) { + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + return new core.IndexError.new(invalidValue, indexable, name, message, length); + } + static ['_#withLength#tearOff'](invalidValue, length, opts) { + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + return new core.IndexError.withLength(invalidValue, length, {indexable: indexable, name: name, message: message}); + } + static check(index, length, opts) { + if (index == null) dart.nullFailed(I[28], 489, 24, "index"); + if (length == null) dart.nullFailed(I[28], 489, 35, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.withLength(index, length, {indexable: indexable, name: name, message: message})); + } + return index; + } get start() { return 0; } @@ -120826,8 +132178,8 @@ core.IndexError = class IndexError extends core.ArgumentError { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); - let invalidValue = core.int.as(this[$invalidValue]); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 506, 12, "_hasValue"); + let invalidValue = this.invalidValue; if (dart.notNull(invalidValue) < 0) { return ": index must not be negative"; } @@ -120838,48 +132190,80 @@ core.IndexError = class IndexError extends core.ArgumentError { } }; (core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - let t249, t249$; - if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + let t230, t230$; + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t230 = length, t230 == null ? dart.dload(indexable, 'length') : t230)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230$ = message, t230$ == null ? "Index out of range" : t230$)); + ; +}).prototype = core.IndexError.prototype; +(core.IndexError.withLength = function(invalidValue, length, opts) { + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + this[length$] = length; this[indexable$] = indexable; - this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); - core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Index out of range" : t230)); ; }).prototype = core.IndexError.prototype; dart.addTypeTests(core.IndexError); dart.addTypeCaches(core.IndexError); core.IndexError[dart.implements] = () => [core.RangeError]; +dart.setStaticMethodSignature(core.IndexError, () => ['check']); dart.setGetterSignature(core.IndexError, () => ({ __proto__: dart.getGetters(core.IndexError.__proto__), + invalidValue: core.int, + [$invalidValue]: core.int, start: core.int, end: core.int })); -dart.setLibraryUri(core.IndexError, I[8]); +dart.setLibraryUri(core.IndexError, I[9]); dart.setFieldSignature(core.IndexError, () => ({ __proto__: dart.getFields(core.IndexError.__proto__), - indexable: dart.finalFieldType(dart.dynamic), + indexable: dart.finalFieldType(dart.nullable(core.Object)), length: dart.finalFieldType(core.int) })); +dart.defineExtensionAccessors(core.IndexError, ['invalidValue']); var _className = dart.privateName(core, "_className"); core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + static ['_#new#tearOff'](className) { + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); + return new core.AbstractClassInstantiationError.new(className); + } toString() { return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; } }; (core.AbstractClassInstantiationError.new = function(className) { - if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); this[_className] = className; core.AbstractClassInstantiationError.__proto__.new.call(this); ; }).prototype = core.AbstractClassInstantiationError.prototype; dart.addTypeTests(core.AbstractClassInstantiationError); dart.addTypeCaches(core.AbstractClassInstantiationError); -dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); +dart.setLibraryUri(core.AbstractClassInstantiationError, I[9]); dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), [_className]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + static ['_#_withInvocation#tearOff'](_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); + return new core.NoSuchMethodError._withInvocation(_receiver, invocation); + } + static ['_#withInvocation#tearOff'](receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 868, 40, "invocation"); + return new core.NoSuchMethodError._withInvocation(receiver, invocation); + } + static ['_#new#tearOff'](receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); + return new core.NoSuchMethodError.new(receiver, memberName, positionalArguments, namedArguments); + } toString() { let sb = new core.StringBuffer.new(""); let comma = ""; @@ -120894,7 +132278,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { let namedArguments = this[_namedArguments$]; if (namedArguments != null) { namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + if (key == null) dart.nullFailed(I[7], 891, 38, "key"); sb.write(comma); sb.write(core._symbolToString(key)); sb.write(": "); @@ -120911,7 +132295,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { } }; (core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); this[_receiver$] = _receiver; this[_memberName$] = invocation.memberName; this[_arguments$] = invocation.positionalArguments; @@ -120921,7 +132305,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { ; }).prototype = core.NoSuchMethodError.prototype; (core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); this[_receiver$] = receiver; this[_memberName$] = memberName; this[_arguments$] = positionalArguments; @@ -120932,7 +132316,8 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { }).prototype = core.NoSuchMethodError.prototype; dart.addTypeTests(core.NoSuchMethodError); dart.addTypeCaches(core.NoSuchMethodError); -dart.setLibraryUri(core.NoSuchMethodError, I[8]); +dart.setStaticMethodSignature(core.NoSuchMethodError, () => ['withInvocation']); +dart.setLibraryUri(core.NoSuchMethodError, I[9]); dart.setFieldSignature(core.NoSuchMethodError, () => ({ __proto__: dart.getFields(core.NoSuchMethodError.__proto__), [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -120941,6 +132326,7 @@ dart.setFieldSignature(core.NoSuchMethodError, () => ({ [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) })); +dart.setStaticFieldSignature(core.NoSuchMethodError, () => ['_redirecting#']); dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); var message$13 = dart.privateName(core, "UnsupportedError.message"); core.UnsupportedError = class UnsupportedError extends core.Error { @@ -120950,19 +132336,23 @@ core.UnsupportedError = class UnsupportedError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); + return new core.UnsupportedError.new(message); + } toString() { return "Unsupported operation: " + dart.str(this.message); } }; (core.UnsupportedError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); this[message$13] = message; core.UnsupportedError.__proto__.new.call(this); ; }).prototype = core.UnsupportedError.prototype; dart.addTypeTests(core.UnsupportedError); dart.addTypeCaches(core.UnsupportedError); -dart.setLibraryUri(core.UnsupportedError, I[8]); +dart.setLibraryUri(core.UnsupportedError, I[9]); dart.setFieldSignature(core.UnsupportedError, () => ({ __proto__: dart.getFields(core.UnsupportedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -120976,6 +132366,9 @@ core.UnimplementedError = class UnimplementedError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.UnimplementedError.new(message); + } toString() { let message = this.message; return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; @@ -120989,7 +132382,7 @@ core.UnimplementedError = class UnimplementedError extends core.Error { dart.addTypeTests(core.UnimplementedError); dart.addTypeCaches(core.UnimplementedError); core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; -dart.setLibraryUri(core.UnimplementedError, I[8]); +dart.setLibraryUri(core.UnimplementedError, I[9]); dart.setFieldSignature(core.UnimplementedError, () => ({ __proto__: dart.getFields(core.UnimplementedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -121003,19 +132396,23 @@ core.StateError = class StateError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); + return new core.StateError.new(message); + } toString() { return "Bad state: " + dart.str(this.message); } }; (core.StateError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); this[message$15] = message; core.StateError.__proto__.new.call(this); ; }).prototype = core.StateError.prototype; dart.addTypeTests(core.StateError); dart.addTypeCaches(core.StateError); -dart.setLibraryUri(core.StateError, I[8]); +dart.setLibraryUri(core.StateError, I[9]); dart.setFieldSignature(core.StateError, () => ({ __proto__: dart.getFields(core.StateError.__proto__), message: dart.finalFieldType(core.String) @@ -121029,6 +132426,9 @@ core.ConcurrentModificationError = class ConcurrentModificationError extends cor set modifiedObject(value) { super.modifiedObject = value; } + static ['_#new#tearOff'](modifiedObject = null) { + return new core.ConcurrentModificationError.new(modifiedObject); + } toString() { if (this.modifiedObject == null) { return "Concurrent modification during iteration."; @@ -121043,13 +132443,16 @@ core.ConcurrentModificationError = class ConcurrentModificationError extends cor }).prototype = core.ConcurrentModificationError.prototype; dart.addTypeTests(core.ConcurrentModificationError); dart.addTypeCaches(core.ConcurrentModificationError); -dart.setLibraryUri(core.ConcurrentModificationError, I[8]); +dart.setLibraryUri(core.ConcurrentModificationError, I[9]); dart.setFieldSignature(core.ConcurrentModificationError, () => ({ __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + static ['_#new#tearOff']() { + return new core.OutOfMemoryError.new(); + } toString() { return "Out of Memory"; } @@ -121068,10 +132471,13 @@ dart.setGetterSignature(core.OutOfMemoryError, () => ({ stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.OutOfMemoryError, I[8]); +dart.setLibraryUri(core.OutOfMemoryError, I[9]); dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); core.StackOverflowError = class StackOverflowError extends core.Object { + static ['_#new#tearOff']() { + return new core.StackOverflowError.new(); + } toString() { return "Stack Overflow"; } @@ -121090,7 +132496,7 @@ dart.setGetterSignature(core.StackOverflowError, () => ({ stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.StackOverflowError, I[8]); +dart.setLibraryUri(core.StackOverflowError, I[9]); dart.defineExtensionMethods(core.StackOverflowError, ['toString']); dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); @@ -121101,6 +132507,9 @@ core.CyclicInitializationError = class CyclicInitializationError extends core.Er set variableName(value) { super.variableName = value; } + static ['_#new#tearOff'](variableName = null) { + return new core.CyclicInitializationError.new(variableName); + } toString() { let variableName = this.variableName; return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; @@ -121113,7 +132522,7 @@ core.CyclicInitializationError = class CyclicInitializationError extends core.Er }).prototype = core.CyclicInitializationError.prototype; dart.addTypeTests(core.CyclicInitializationError); dart.addTypeCaches(core.CyclicInitializationError); -dart.setLibraryUri(core.CyclicInitializationError, I[8]); +dart.setLibraryUri(core.CyclicInitializationError, I[9]); dart.setFieldSignature(core.CyclicInitializationError, () => ({ __proto__: dart.getFields(core.CyclicInitializationError.__proto__), variableName: dart.finalFieldType(dart.nullable(core.String)) @@ -121123,13 +132532,20 @@ core.Exception = class Exception extends core.Object { static new(message = null) { return new core._Exception.new(message); } + static ['_#new#tearOff'](message = null) { + return core.Exception.new(message); + } }; (core.Exception[dart.mixinNew] = function() { }).prototype = core.Exception.prototype; dart.addTypeTests(core.Exception); dart.addTypeCaches(core.Exception); -dart.setLibraryUri(core.Exception, I[8]); +dart.setStaticMethodSignature(core.Exception, () => ['new']); +dart.setLibraryUri(core.Exception, I[9]); core._Exception = class _Exception extends core.Object { + static ['_#new#tearOff'](message = null) { + return new core._Exception.new(message); + } toString() { let message = this.message; if (message == null) return "Exception"; @@ -121143,7 +132559,7 @@ core._Exception = class _Exception extends core.Object { dart.addTypeTests(core._Exception); dart.addTypeCaches(core._Exception); core._Exception[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core._Exception, I[8]); +dart.setLibraryUri(core._Exception, I[9]); dart.setFieldSignature(core._Exception, () => ({ __proto__: dart.getFields(core._Exception.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -121171,6 +132587,10 @@ core.FormatException = class FormatException extends core.Object { set offset(value) { super.offset = value; } + static ['_#new#tearOff'](message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); + return new core.FormatException.new(message, source, offset); + } toString() { let report = "FormatException"; let message = this.message; @@ -121250,7 +132670,7 @@ core.FormatException = class FormatException extends core.Object { } }; (core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); this[message$16] = message; this[source$] = source; this[offset$] = offset; @@ -121259,7 +132679,7 @@ core.FormatException = class FormatException extends core.Object { dart.addTypeTests(core.FormatException); dart.addTypeCaches(core.FormatException); core.FormatException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.FormatException, I[8]); +dart.setLibraryUri(core.FormatException, I[9]); dart.setFieldSignature(core.FormatException, () => ({ __proto__: dart.getFields(core.FormatException.__proto__), message: dart.finalFieldType(core.String), @@ -121268,6 +132688,15 @@ dart.setFieldSignature(core.FormatException, () => ({ })); dart.defineExtensionMethods(core.FormatException, ['toString']); core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + get message() { + return "Division resulted in non-finite value"; + } + get stackTrace() { + return null; + } + static ['_#new#tearOff']() { + return new core.IntegerDivisionByZeroException.new(); + } toString() { return "IntegerDivisionByZeroException"; } @@ -121277,92 +132706,22 @@ core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException exten }).prototype = core.IntegerDivisionByZeroException.prototype; dart.addTypeTests(core.IntegerDivisionByZeroException); dart.addTypeCaches(core.IntegerDivisionByZeroException); -core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); +core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception, core.UnsupportedError]; +dart.setGetterSignature(core.IntegerDivisionByZeroException, () => ({ + __proto__: dart.getGetters(core.IntegerDivisionByZeroException.__proto__), + message: dart.nullable(core.String), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.IntegerDivisionByZeroException, I[9]); dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); -var name$14 = dart.privateName(core, "Expando.name"); -var _getKey = dart.privateName(core, "_getKey"); -const _is_Expando_default = Symbol('_is_Expando_default'); -core.Expando$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - class Expando extends core.Object { - get name() { - return this[name$14]; - } - set name(value) { - super.name = value; - } - [_getKey]() { - let t249; - let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); - if (key == null) { - key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); - _js_helper.Primitives.setProperty(this, "expando$key", key); - } - return key; - } - toString() { - return "Expando:" + dart.str(this.name); - } - _get(object) { - if (object == null) dart.nullFailed(I[7], 139, 25, "object"); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); - } - _set(object, value$) { - let value = value$; - if (object == null) dart.nullFailed(I[7], 147, 28, "object"); - TN().as(value); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - if (values == null) { - values = new core.Object.new(); - _js_helper.Primitives.setProperty(object, "expando$values", values); - } - _js_helper.Primitives.setProperty(values, this[_getKey](), value); - return value$; - } - } - (Expando.new = function(name = null) { - this[name$14] = name; - ; - }).prototype = Expando.prototype; - dart.addTypeTests(Expando); - Expando.prototype[_is_Expando_default] = true; - dart.addTypeCaches(Expando); - dart.setMethodSignature(Expando, () => ({ - __proto__: dart.getMethods(Expando.__proto__), - [_getKey]: dart.fnType(core.String, []), - _get: dart.fnType(dart.nullable(T), [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) - })); - dart.setLibraryUri(Expando, I[8]); - dart.setFieldSignature(Expando, () => ({ - __proto__: dart.getFields(Expando.__proto__), - name: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(Expando, ['toString']); - return Expando; -}); -core.Expando = core.Expando$(); -dart.defineLazy(core.Expando, { - /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { - return "expando$key"; - }, - /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { - return "expando$values"; - }, - /*core.Expando._keyCount*/get _keyCount() { - return 0; - }, - set _keyCount(_) {} -}, false); -dart.addTypeTests(core.Expando, _is_Expando_default); +dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); core.Function = class Function extends core.Object { static _toMangledNames(namedArguments) { - if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + if (namedArguments == null) dart.nullFailed(I[7], 124, 28, "namedArguments"); let result = new (T$0.IdentityMapOfString$dynamic()).new(); namedArguments[$forEach](dart.fn((symbol, value) => { - if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 126, 29, "symbol"); result[$_set](core._symbolToString(symbol), value); }, T$0.SymbolAnddynamicTovoid())); return result; @@ -121375,12 +132734,17 @@ core.Function = class Function extends core.Object { return dart.as(o, core.Function); } static apply($function, positionalArguments, namedArguments = null) { - if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); - positionalArguments == null ? positionalArguments = [] : null; + if ($function == null) dart.nullFailed(I[7], 98, 25, "function"); + let needsCopy = namedArguments != null && dart.test(namedArguments[$isNotEmpty]); + if (positionalArguments == null) { + positionalArguments = []; + } else if (needsCopy || !Array.isArray(positionalArguments)) { + positionalArguments = core.List.of(positionalArguments); + } if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { let map = {}; namedArguments[$forEach](dart.fn((symbol, arg) => { - if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 115, 31, "symbol"); map[core._symbolToString(symbol)] = arg; }, T$0.SymbolAnddynamicTovoid())); return dart.dcall($function, positionalArguments, map); @@ -121392,19 +132756,32 @@ core.Function = class Function extends core.Object { ; }).prototype = core.Function.prototype; dart.addTypeCaches(core.Function); -dart.setLibraryUri(core.Function, I[8]); +dart.setStaticMethodSignature(core.Function, () => ['_toMangledNames', 'is', 'as', 'apply']); +dart.setLibraryUri(core.Function, I[9]); var _positional = dart.privateName(core, "_positional"); var _named = dart.privateName(core, "_named"); core._Invocation = class _Invocation extends core.Object { + static ['_#method#tearOff'](memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); + return new core._Invocation.method(memberName, types, positional, named); + } + static ['_#getter#tearOff'](memberName) { + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); + return new core._Invocation.getter(memberName); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get positionalArguments() { - let t249; - t249 = this[_positional]; - return t249 == null ? C[423] || CT.C423 : t249; + let t230; + t230 = this[_positional]; + return t230 == null ? C[434] || CT.C434 : t230; } get namedArguments() { - let t249; - t249 = this[_named]; - return t249 == null ? C[424] || CT.C424 : t249; + let t230; + t230 = this[_named]; + return t230 == null ? C[435] || CT.C435 : t230; } get isMethod() { return this[_named] != null; @@ -121419,7 +132796,7 @@ core._Invocation = class _Invocation extends core.Object { return this[_named] == null; } static _ensureNonNullTypes(types) { - if (types == null) return C[0] || CT.C0; + if (types == null) return C[1] || CT.C1; let typeArguments = T$.ListOfType().unmodifiable(types); for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { if (typeArguments[$_get](i) == null) { @@ -121430,25 +132807,25 @@ core._Invocation = class _Invocation extends core.Object { } }; (core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); this.memberName = memberName; this.typeArguments = core._Invocation._ensureNonNullTypes(types); - this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); - this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + this[_positional] = positional == null ? C[432] || CT.C432 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[433] || CT.C433 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); ; }).prototype = core._Invocation.prototype; (core._Invocation.getter = function(memberName) { - if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = null; this[_named] = null; ; }).prototype = core._Invocation.prototype; (core._Invocation.setter = function(memberName, argument) { - if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); this[_named] = null; ; @@ -121456,6 +132833,7 @@ core._Invocation = class _Invocation extends core.Object { dart.addTypeTests(core._Invocation); dart.addTypeCaches(core._Invocation); core._Invocation[dart.implements] = () => [core.Invocation]; +dart.setStaticMethodSignature(core._Invocation, () => ['_ensureNonNullTypes']); dart.setGetterSignature(core._Invocation, () => ({ __proto__: dart.getGetters(core._Invocation.__proto__), positionalArguments: core.List, @@ -121465,7 +132843,7 @@ dart.setGetterSignature(core._Invocation, () => ({ isSetter: core.bool, isAccessor: core.bool })); -dart.setLibraryUri(core._Invocation, I[8]); +dart.setLibraryUri(core._Invocation, I[9]); dart.setFieldSignature(core._Invocation, () => ({ __proto__: dart.getFields(core._Invocation.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -121477,7 +132855,7 @@ var length$0 = dart.privateName(core, "_GeneratorIterable.length"); var _generator = dart.privateName(core, "_generator"); const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); core._GeneratorIterable$ = dart.generic(E => { - var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + var __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); class _GeneratorIterable extends _internal.ListIterable$(E) { get length() { return this[length$0]; @@ -121485,30 +132863,35 @@ core._GeneratorIterable$ = dart.generic(E => { set length(value) { super.length = value; } + static ['_#new#tearOff'](E, length, generator) { + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); + return new (core._GeneratorIterable$(E)).new(length, generator); + } elementAt(index) { - let t249; - if (index == null) dart.nullFailed(I[34], 620, 19, "index"); - core.RangeError.checkValidIndex(index, this); - t249 = index; - return this[_generator](t249); + let t230; + if (index == null) dart.nullFailed(I[36], 817, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); + t230 = index; + return this[_generator](t230); } static _id(n) { - if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + if (n == null) dart.nullFailed(I[36], 823, 22, "n"); return n; } } (_GeneratorIterable.new = function(length, generator) { - let t249; - if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + let t230; + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); this[length$0] = length; - this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + this[_generator] = (t230 = generator, t230 == null ? __t$intToE().as(C[436] || CT.C436) : t230); _GeneratorIterable.__proto__.new.call(this); ; }).prototype = _GeneratorIterable.prototype; dart.addTypeTests(_GeneratorIterable); _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; dart.addTypeCaches(_GeneratorIterable); - dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); + dart.setLibraryUri(_GeneratorIterable, I[9]); dart.setFieldSignature(_GeneratorIterable, () => ({ __proto__: dart.getFields(_GeneratorIterable.__proto__), length: dart.finalFieldType(core.int), @@ -121530,11 +132913,76 @@ core.BidirectionalIterator$ = dart.generic(E => { BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; dart.addTypeCaches(BidirectionalIterator); BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setLibraryUri(BidirectionalIterator, I[8]); + dart.setLibraryUri(BidirectionalIterator, I[9]); return BidirectionalIterator; }); core.BidirectionalIterator = core.BidirectionalIterator$(); dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); +core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 59, 24, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 71, 28, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } + static ['_#unmodifiable#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return core.Map$(K, V).unmodifiable(other); + } + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[170], 144, 37, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[170], 167, 41, "keys"); + if (values == null) dart.nullFailed(I[170], 167, 59, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[170], 187, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t230; + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + t230 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t230[$addEntries](entries); + return t230; + })(); + } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + return core.Map$(K, V).fromEntries(entries); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setStaticMethodSignature(Map, () => ['new', 'from', 'of', 'unmodifiable', 'identity', 'fromIterable', 'fromIterables', 'castFrom', 'fromEntries']); + dart.setLibraryUri(Map, I[9]); + dart.setStaticFieldSignature(Map, () => ['_redirecting#']); + return Map; +}); +core.Map = core.Map$(); +dart.addTypeTests(core.Map, dart.isMap); core.Null = class Null extends core.Object { static is(o) { return o == null; @@ -121543,6 +132991,9 @@ core.Null = class Null extends core.Object { if (o == null) return o; return dart.as(o, core.Null); } + static ['_#_uninstantiable#tearOff']() { + return core.Null._uninstantiable(); + } get hashCode() { return super[$hashCode]; } @@ -121553,7 +133004,8 @@ core.Null = class Null extends core.Object { (core.Null[dart.mixinNew] = function() { }).prototype = core.Null.prototype; dart.addTypeCaches(core.Null); -dart.setLibraryUri(core.Null, I[8]); +dart.setStaticMethodSignature(core.Null, () => ['is', 'as', '_uninstantiable']); +dart.setLibraryUri(core.Null, I[9]); dart.defineExtensionMethods(core.Null, ['toString']); dart.defineExtensionAccessors(core.Null, ['hashCode']); core.Pattern = class Pattern extends core.Object {}; @@ -121562,22 +133014,41 @@ core.Pattern = class Pattern extends core.Object {}; }).prototype = core.Pattern.prototype; dart.addTypeTests(core.Pattern); dart.addTypeCaches(core.Pattern); -dart.setLibraryUri(core.Pattern, I[8]); +dart.setLibraryUri(core.Pattern, I[9]); +core.Record = class Record extends core.Object {}; +(core.Record.new = function() { + ; +}).prototype = core.Record.prototype; +dart.addTypeTests(core.Record); +dart.addTypeCaches(core.Record); +dart.setLibraryUri(core.Record, I[9]); core.RegExp = class RegExp extends core.Object { static new(source, opts) { - if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); + return core.RegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } static escape(text) { - if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + if (text == null) dart.nullFailed(I[7], 769, 31, "text"); return _js_helper.quoteStringForRegExp(text); } }; @@ -121586,19 +133057,38 @@ core.RegExp = class RegExp extends core.Object { dart.addTypeTests(core.RegExp); dart.addTypeCaches(core.RegExp); core.RegExp[dart.implements] = () => [core.Pattern]; -dart.setLibraryUri(core.RegExp, I[8]); +dart.setStaticMethodSignature(core.RegExp, () => ['new', 'escape']); +dart.setLibraryUri(core.RegExp, I[9]); const _is_Set_default = Symbol('_is_Set_default'); core.Set$ = dart.generic(E => { class Set extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 76, 29, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 91, 30, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); return new (collection.UnmodifiableSetView$(E)).new((() => { - let t249 = collection.LinkedHashSet$(E).of(elements); - return t249; + let t230 = collection.LinkedHashSet$(E).of(elements); + return t230; })()); } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); + return core.Set$(E).unmodifiable(elements); + } static castFrom(S, T, source, opts) { - if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + if (source == null) dart.nullFailed(I[171], 128, 39, "source"); let newSet = opts && 'newSet' in opts ? opts.newSet : null; return new (_internal.CastSet$(S, T)).new(source, newSet); } @@ -121606,7 +133096,9 @@ core.Set$ = dart.generic(E => { dart.addTypeTests(Set); Set.prototype[_is_Set_default] = true; dart.addTypeCaches(Set); - dart.setLibraryUri(Set, I[8]); + dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); + dart.setLibraryUri(Set, I[9]); + dart.setStaticFieldSignature(Set, () => ['_redirecting#']); return Set; }); core.Set = core.Set$(); @@ -121620,13 +133112,17 @@ core.Sink$ = dart.generic(T => { dart.addTypeTests(Sink); Sink.prototype[_is_Sink_default] = true; dart.addTypeCaches(Sink); - dart.setLibraryUri(Sink, I[8]); + dart.setLibraryUri(Sink, I[9]); return Sink; }); core.Sink = core.Sink$(); dart.addTypeTests(core.Sink, _is_Sink_default); var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); core.StackTrace = class StackTrace extends core.Object { + static ['_#fromString#tearOff'](stackTraceString) { + if (stackTraceString == null) dart.nullFailed(I[172], 34, 40, "stackTraceString"); + return new core._StringStackTrace.new(stackTraceString); + } static get current() { return dart.stackTrace(Error()); } @@ -121636,10 +133132,13 @@ core.StackTrace = class StackTrace extends core.Object { }).prototype = core.StackTrace.prototype; dart.addTypeTests(core.StackTrace); dart.addTypeCaches(core.StackTrace); -dart.setLibraryUri(core.StackTrace, I[8]); +dart.setStaticMethodSignature(core.StackTrace, () => ['fromString']); +dart.setStaticGetterSignature(core.StackTrace, () => ['current']); +dart.setLibraryUri(core.StackTrace, I[9]); +dart.setStaticFieldSignature(core.StackTrace, () => ['empty', '_redirecting#']); dart.defineLazy(core.StackTrace, { /*core.StackTrace.empty*/get empty() { - return C[426] || CT.C426; + return C[437] || CT.C437; } }, false); var _stackTrace = dart.privateName(core, "_stackTrace"); @@ -121651,34 +133150,41 @@ core._StringStackTrace = class _StringStackTrace extends core.Object { set [_stackTrace](value) { super[_stackTrace] = value; } + static ['_#new#tearOff'](_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); + return new core._StringStackTrace.new(_stackTrace); + } toString() { return this[_stackTrace]; } }; (core._StringStackTrace.new = function(_stackTrace) { - if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); this[_stackTrace$] = _stackTrace; ; }).prototype = core._StringStackTrace.prototype; dart.addTypeTests(core._StringStackTrace); dart.addTypeCaches(core._StringStackTrace); core._StringStackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(core._StringStackTrace, I[8]); +dart.setLibraryUri(core._StringStackTrace, I[9]); dart.setFieldSignature(core._StringStackTrace, () => ({ __proto__: dart.getFields(core._StringStackTrace.__proto__), [_stackTrace]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._StringStackTrace, ['toString']); -var _start$2 = dart.privateName(core, "_start"); +var _start$3 = dart.privateName(core, "_start"); var _stop = dart.privateName(core, "_stop"); core.Stopwatch = class Stopwatch extends core.Object { + static ['_#new#tearOff']() { + return new core.Stopwatch.new(); + } get frequency() { return core.Stopwatch._frequency; } start() { let stop = this[_stop]; if (stop != null) { - this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_start$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); this[_stop] = null; } } @@ -121686,12 +133192,12 @@ core.Stopwatch = class Stopwatch extends core.Object { this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; } reset() { - let t250; - this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + let t231; + this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); } get elapsedTicks() { - let t250; - return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + let t231; + return dart.notNull((t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231)) - dart.notNull(this[_start$3]); } get elapsed() { return new core.Duration.new({microseconds: this.elapsedMicroseconds}); @@ -121699,13 +133205,13 @@ core.Stopwatch = class Stopwatch extends core.Object { get elapsedMicroseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000000) return ticks; - if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 527, 12, "_frequency == 1000"); return dart.notNull(ticks) * 1000; } get elapsedMilliseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000) return ticks; - if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 535, 12, "_frequency == 1000000"); return (dart.notNull(ticks) / 1000)[$truncate](); } get isRunning() { @@ -121720,7 +133226,7 @@ core.Stopwatch = class Stopwatch extends core.Object { } }; (core.Stopwatch.new = function() { - this[_start$2] = 0; + this[_start$3] = 0; this[_stop] = 0; core.Stopwatch._frequency; }).prototype = core.Stopwatch.prototype; @@ -121732,6 +133238,7 @@ dart.setMethodSignature(core.Stopwatch, () => ({ stop: dart.fnType(dart.void, []), reset: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(core.Stopwatch, () => ['_initTicker', '_now']); dart.setGetterSignature(core.Stopwatch, () => ({ __proto__: dart.getGetters(core.Stopwatch.__proto__), frequency: core.int, @@ -121741,12 +133248,13 @@ dart.setGetterSignature(core.Stopwatch, () => ({ elapsedMilliseconds: core.int, isRunning: core.bool })); -dart.setLibraryUri(core.Stopwatch, I[8]); +dart.setLibraryUri(core.Stopwatch, I[9]); dart.setFieldSignature(core.Stopwatch, () => ({ __proto__: dart.getFields(core.Stopwatch.__proto__), - [_start$2]: dart.fieldType(core.int), + [_start$3]: dart.fieldType(core.int), [_stop]: dart.fieldType(dart.nullable(core.int)) })); +dart.setStaticFieldSignature(core.Stopwatch, () => ['_frequency']); dart.defineLazy(core.Stopwatch, { /*core.Stopwatch._frequency*/get _frequency() { return core.Stopwatch._initTicker(); @@ -121760,6 +133268,10 @@ core.Runes = class Runes extends core.Iterable$(core.int) { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); + return new core.Runes.new(string); + } get iterator() { return new core.RuneIterator.new(this.string); } @@ -121779,7 +133291,7 @@ core.Runes = class Runes extends core.Iterable$(core.int) { } }; (core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); this[string$] = string; core.Runes.__proto__.new.call(this); ; @@ -121791,7 +133303,7 @@ dart.setGetterSignature(core.Runes, () => ({ iterator: core.RuneIterator, [$iterator]: core.RuneIterator })); -dart.setLibraryUri(core.Runes, I[8]); +dart.setLibraryUri(core.Runes, I[9]); dart.setFieldSignature(core.Runes, () => ({ __proto__: dart.getFields(core.Runes.__proto__), string: dart.finalFieldType(core.String) @@ -121809,8 +133321,17 @@ core.RuneIterator = class RuneIterator extends core.Object { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); + return new core.RuneIterator.new(string); + } + static ['_#at#tearOff'](string, index) { + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); + return new core.RuneIterator.at(string, index); + } [_checkSplitSurrogate](index) { - if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (index == null) dart.nullFailed(I[173], 841, 33, "index"); if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); } @@ -121819,13 +133340,13 @@ core.RuneIterator = class RuneIterator extends core.Object { return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; } set rawIndex(rawIndex) { - if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); - core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 863, 25, "rawIndex"); + core.IndexError.check(rawIndex, this.string.length, {indexable: this.string, name: "rawIndex"}); this.reset(rawIndex); this.moveNext(); } reset(rawIndex = 0) { - if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 879, 19, "rawIndex"); core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); this[_checkSplitSurrogate](rawIndex); this[_position$0] = this[_nextPosition] = rawIndex; @@ -121884,7 +133405,7 @@ core.RuneIterator = class RuneIterator extends core.Object { } }; (core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = 0; @@ -121892,8 +133413,8 @@ core.RuneIterator = class RuneIterator extends core.Object { ; }).prototype = core.RuneIterator.prototype; (core.RuneIterator.at = function(string, index) { - if (string == null) dart.nullFailed(I[174], 666, 26, "string"); - if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = index; @@ -121922,7 +133443,7 @@ dart.setSetterSignature(core.RuneIterator, () => ({ __proto__: dart.getSetters(core.RuneIterator.__proto__), rawIndex: core.int })); -dart.setLibraryUri(core.RuneIterator, I[8]); +dart.setLibraryUri(core.RuneIterator, I[9]); dart.setFieldSignature(core.RuneIterator, () => ({ __proto__: dart.getFields(core.RuneIterator.__proto__), string: dart.finalFieldType(core.String), @@ -121930,18 +133451,25 @@ dart.setFieldSignature(core.RuneIterator, () => ({ [_nextPosition]: dart.fieldType(core.int), [_currentCodePoint]: dart.fieldType(core.int) })); -core.Symbol = class Symbol extends core.Object {}; +core.Symbol = class Symbol extends core.Object { + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[174], 62, 31, "name"); + return new _internal.Symbol.new(name); + } +}; (core.Symbol[dart.mixinNew] = function() { }).prototype = core.Symbol.prototype; dart.addTypeTests(core.Symbol); dart.addTypeCaches(core.Symbol); -dart.setLibraryUri(core.Symbol, I[8]); +dart.setStaticMethodSignature(core.Symbol, () => ['new']); +dart.setLibraryUri(core.Symbol, I[9]); +dart.setStaticFieldSignature(core.Symbol, () => ['unaryMinus', 'empty', '_redirecting#']); dart.defineLazy(core.Symbol, { /*core.Symbol.unaryMinus*/get unaryMinus() { - return C[427] || CT.C427; + return C[438] || CT.C438; }, /*core.Symbol.empty*/get empty() { - return C[428] || CT.C428; + return C[439] || CT.C439; } }, false); core.Uri = class Uri extends core.Object { @@ -121950,33 +133478,83 @@ core.Uri = class Uri extends core.Object { if (uri != null) return core.Uri.parse(uri); dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); } + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 248, 12, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 249, 12, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 272, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 273, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 355, 27, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 372, 32, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); + } + static ['_#dataFromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); + return core.Uri.dataFromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static dataFromString(content, opts) { - if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); return data.uri; } static dataFromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); return data.uri; } + static ['_#dataFromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); + return core.Uri.dataFromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } get hasScheme() { return this.scheme[$isNotEmpty]; } static parse(uri, start = 0, end = null) { - let t250; - if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); - if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + let t231; + if (uri == null) dart.nullFailed(I[175], 843, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 843, 37, "start"); end == null ? end = uri.length : null; if (dart.notNull(end) >= dart.notNull(start) + 5) { let dataDelta = core._startsWithData(uri, start); @@ -121988,17 +133566,17 @@ core.Uri = class Uri extends core.Object { } } let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t250 = indices; + t231 = indices; (() => { - t250[$_set](0, 0); - t250[$_set](1, dart.notNull(start) - 1); - t250[$_set](2, dart.notNull(start) - 1); - t250[$_set](7, dart.notNull(start) - 1); - t250[$_set](3, start); - t250[$_set](4, start); - t250[$_set](5, end); - t250[$_set](6, end); - return t250; + t231[$_set](0, 0); + t231[$_set](1, dart.notNull(start) - 1); + t231[$_set](2, dart.notNull(start) - 1); + t231[$_set](7, dart.notNull(start) - 1); + t231[$_set](3, start); + t231[$_set](4, start); + t231[$_set](5, end); + t231[$_set](6, end); + return t231; })(); let state = core._scan(uri, start, end, 0, indices); if (dart.notNull(state) >= 14) { @@ -122024,18 +133602,20 @@ core.Uri = class Uri extends core.Object { pathStart = dart.notNull(schemeEnd) + 1; } if (dart.notNull(portStart) < hostStart) portStart = pathStart; - if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); - if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); - if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); - if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); - if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); - if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 982, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 983, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 984, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 985, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 986, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 987, 12, "queryStart <= fragmentStart"); let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); if (isSimple) { if (hostStart > dart.notNull(schemeEnd) + 3) { isSimple = false; } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { isSimple = false; + } else if (uri[$startsWith]("\\", pathStart) || hostStart > dart.notNull(start) && (uri[$startsWith]("\\", hostStart - 1) || uri[$startsWith]("\\", hostStart - 2))) { + isSimple = false; } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { isSimple = false; } else { @@ -122137,8 +133717,8 @@ core.Uri = class Uri extends core.Object { return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static tryParse(uri, start = 0, end = null) { - if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + if (uri == null) dart.nullFailed(I[175], 1159, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); try { return core.Uri.parse(uri, start, end); } catch (e) { @@ -122150,40 +133730,40 @@ core.Uri = class Uri extends core.Object { } } static encodeComponent(component) { - if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + if (component == null) dart.nullFailed(I[175], 1193, 40, "component"); return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); } static encodeQueryComponent(component, opts) { - if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + if (component == null) dart.nullFailed(I[175], 1230, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1231, 17, "encoding"); return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); } static decodeComponent(encodedComponent) { - if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + if (encodedComponent == null) dart.nullFailed(I[175], 1253, 40, "encodedComponent"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); } static decodeQueryComponent(encodedComponent, opts) { - if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + if (encodedComponent == null) dart.nullFailed(I[175], 1264, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1265, 17, "encoding"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); } static encodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1284, 35, "uri"); return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); } static decodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1301, 35, "uri"); return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); } static splitQueryString(query, opts) { - if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 1327, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1328, 17, "encoding"); return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { - if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + if (map == null) dart.nullFailed(I[175], 1329, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); let index = element[$indexOf]("="); if (index === -1) { if (element !== "") { @@ -122198,17 +133778,17 @@ core.Uri = class Uri extends core.Object { }, T$0.MapOfString$StringAndStringToMapOfString$String())); } static parseIPv4Address(host) { - if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + if (host == null) dart.nullFailed(I[175], 1350, 44, "host"); return core.Uri._parseIPv4Address(host, 0, host.length); } static _parseIPv4Address(host, start, end) { - let t252; - if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); - if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); - if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + let t233; + if (host == null) dart.nullFailed(I[175], 1354, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1354, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1354, 66, "end"); function error(msg, position) { - if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); - if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + if (msg == null) dart.nullFailed(I[175], 1355, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1355, 32, "position"); dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); } dart.fn(error, T$0.StringAndintTovoid()); @@ -122229,7 +133809,7 @@ core.Uri = class Uri extends core.Object { if (dart.notNull(part) > 255) { error("each part must be in the range 0..255", partStart); } - result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); partStart = dart.notNull(i) + 1; } } @@ -122244,17 +133824,17 @@ core.Uri = class Uri extends core.Object { return result; } static parseIPv6Address(host, start = 0, end = null) { - if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); - if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + if (host == null) dart.nullFailed(I[175], 1412, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1412, 55, "start"); end == null ? end = host.length : null; - function error(msg, position = null) { - if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); - dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1422, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, position)); } - dart.fn(error, T$0.StringAnddynamicTovoid$1()); + dart.fn(error, T$0.StringAndintNTovoid()); function parseHex(start, end) { - if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); - if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (start == null) dart.nullFailed(I[175], 1427, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1427, 33, "end"); if (dart.notNull(end) - dart.notNull(start) > 4) { error("an IPv6 part can only contain a maximum of 4 hex digits", start); } @@ -122265,7 +133845,7 @@ core.Uri = class Uri extends core.Object { return value; } dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short"); + if (host.length < 2) error("address is too short", null); let parts = T$.JSArrayOfint().of([]); let wildcardSeen = false; let seenDot = false; @@ -122294,7 +133874,7 @@ core.Uri = class Uri extends core.Object { seenDot = true; } } - if (parts[$length] === 0) error("too few parts"); + if (parts[$length] === 0) error("too few parts", null); let atEnd = partStart == end; let isLastWildcard = parts[$last] === -1; if (atEnd && !isLastWildcard) { @@ -122311,10 +133891,10 @@ core.Uri = class Uri extends core.Object { } if (wildcardSeen) { if (dart.notNull(parts[$length]) > 7) { - error("an address with a wildcard must have less than 7 parts"); + error("an address with a wildcard must have less than 7 parts", null); } } else if (parts[$length] !== 8) { - error("an address without a wildcard must contain exactly 8 parts"); + error("an address without a wildcard must contain exactly 8 parts", null); } let bytes = _native_typed_data.NativeUint8List.new(16); for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { @@ -122339,11 +133919,14 @@ core.Uri = class Uri extends core.Object { }).prototype = core.Uri.prototype; dart.addTypeTests(core.Uri); dart.addTypeCaches(core.Uri); +dart.setStaticMethodSignature(core.Uri, () => ['new', 'http', 'https', 'file', 'directory', 'dataFromString', 'dataFromBytes', 'parse', 'tryParse', 'encodeComponent', 'encodeQueryComponent', 'decodeComponent', 'decodeQueryComponent', 'encodeFull', 'decodeFull', 'splitQueryString', 'parseIPv4Address', '_parseIPv4Address', 'parseIPv6Address']); dart.setGetterSignature(core.Uri, () => ({ __proto__: dart.getGetters(core.Uri.__proto__), hasScheme: core.bool })); -dart.setLibraryUri(core.Uri, I[8]); +dart.setStaticGetterSignature(core.Uri, () => ['base']); +dart.setLibraryUri(core.Uri, I[9]); +dart.setStaticFieldSignature(core.Uri, () => ['_redirecting#']); var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); @@ -122366,71 +133949,89 @@ var _mergePaths = dart.privateName(core, "_mergePaths"); var _toFilePath = dart.privateName(core, "_toFilePath"); core._Uri = class _Uri extends core.Object { get [_text$]() { - let t253; + let t234; if (!dart.test(this[___Uri__text_isSet])) { - let t252 = this[_initializeText](); + let t233 = this[_initializeText](); if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t252; + this[___Uri__text] = t233; this[___Uri__text_isSet] = true; } - t253 = this[___Uri__text]; - return t253; + t234 = this[___Uri__text]; + return t234; } get pathSegments() { - let t254; + let t235; if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t253 = core._Uri._computePathSegments(this.path); + let t234 = core._Uri._computePathSegments(this.path); if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments] = t234; this[___Uri_pathSegments_isSet] = true; } - t254 = this[___Uri_pathSegments]; - return t254; + t235 = this[___Uri_pathSegments]; + return t235; } get hashCode() { - let t255; + let t236; if (!dart.test(this[___Uri_hashCode_isSet])) { - let t254 = dart.hashCode(this[_text$]); + let t235 = dart.hashCode(this[_text$]); if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t254; + this[___Uri_hashCode] = t235; this[___Uri_hashCode_isSet] = true; } - t255 = this[___Uri_hashCode]; - return t255; + t236 = this[___Uri_hashCode]; + return t236; } get queryParameters() { - let t256; + let t237; if (!dart.test(this[___Uri_queryParameters_isSet])) { - let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + let t236 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); - this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters] = t236; this[___Uri_queryParameters_isSet] = true; } - t256 = this[___Uri_queryParameters]; - return t256; + t237 = this[___Uri_queryParameters]; + return t237; } get queryParametersAll() { - let t257; + let t238; if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t256 = core._Uri._computeQueryParametersAll(this.query); + let t237 = core._Uri._computeQueryParametersAll(this.query); if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll] = t237; this[___Uri_queryParametersAll_isSet] = true; } - t257 = this[___Uri_queryParametersAll]; - return t257; + t238 = this[___Uri_queryParametersAll]; + return t238; + } + static ['_#_internal#tearOff'](scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); + return new core._Uri._internal(scheme, _userInfo, _host, _port, path, _query, _fragment); + } + static ['_#notSimple#tearOff'](uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { - let t257; - if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); - if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); - if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); - if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); - if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); - if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); - if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); - if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); - if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + let t238; + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); if (scheme == null) { scheme = ""; if (dart.notNull(schemeEnd) > dart.notNull(start)) { @@ -122450,7 +134051,7 @@ core._Uri = class _Uri extends core.Object { } host = core._Uri._makeHost(uri, hostStart, portStart, false); if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + let portNumber = (t238 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t238 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t238); port = core._Uri._makePort(portNumber, scheme); } } @@ -122509,14 +134110,36 @@ core._Uri = class _Uri extends core.Object { } return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } - static http(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static http(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); } - static https(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); } get authority() { @@ -122537,61 +134160,42 @@ core._Uri = class _Uri extends core.Object { return host; } get port() { - let t257; - t257 = this[_port$]; - return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + let t238; + t238 = this[_port$]; + return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; } static _defaultPort(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1719, 34, "scheme"); if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; } get query() { - let t257; - t257 = this[_query$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_query$]; + return t238 == null ? "" : t238; } get fragment() { - let t257; - t257 = this[_fragment$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_fragment$]; + return t238 == null ? "" : t238; } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1729, 24, "scheme"); let thisScheme = this.scheme; if (scheme == null) return thisScheme[$isEmpty]; if (scheme.length !== thisScheme.length) return false; - return core._Uri._compareScheme(scheme, thisScheme); - } - static _compareScheme(scheme, uri) { - if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); - if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); - for (let i = 0; i < scheme.length; i = i + 1) { - let schemeChar = scheme[$codeUnitAt](i); - let uriChar = uri[$codeUnitAt](i); - let delta = (schemeChar ^ uriChar) >>> 0; - if (delta !== 0) { - if (delta === 32) { - let lowerChar = (uriChar | delta) >>> 0; - if (97 <= lowerChar && lowerChar <= 122) { - continue; - } - } - return false; - } - } - return true; + return core._caseInsensitiveStartsWith(scheme, thisScheme, 0); } static _fail(uri, index, message) { - if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); - if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); - if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + if (uri == null) dart.nullFailed(I[175], 1737, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1737, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1737, 52, "message"); dart.throw(new core.FormatException.new(message, uri, index)); } static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { - if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + if (scheme == null) dart.nullFailed(I[175], 1741, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); let userInfo = ""; let host = null; let port = null; @@ -122639,23 +134243,33 @@ core._Uri = class _Uri extends core.Object { return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); } static file(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); } static directory(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); } static get _isWindows() { return core._Uri._isWindowsCached; } static _checkNonWindowsPathReservedCharacters(segments, argumentError) { - if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + if (segments == null) dart.nullFailed(I[175], 1824, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1824, 35, "argumentError"); for (let segment of segments) { if (segment[$contains]("/")) { if (dart.test(argumentError)) { @@ -122667,9 +134281,9 @@ core._Uri = class _Uri extends core.Object { } } static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); - if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + if (segments == null) dart.nullFailed(I[175], 1837, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1837, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1838, 12, "firstSegment"); for (let segment of segments[$skip](firstSegment)) { if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { if (dart.test(argumentError)) { @@ -122681,8 +134295,8 @@ core._Uri = class _Uri extends core.Object { } } static _checkWindowsDriveLetter(charCode, argumentError) { - if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); - if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (charCode == null) dart.nullFailed(I[175], 1850, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1850, 59, "argumentError"); if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { return; } @@ -122693,8 +134307,8 @@ core._Uri = class _Uri extends core.Object { } } static _makeFileUri(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1864, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1864, 45, "slashTerminated"); let segments = path[$split]("/"); if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { segments[$add](""); @@ -122706,8 +134320,8 @@ core._Uri = class _Uri extends core.Object { } } static _makeWindowsFileUrl(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1879, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1879, 48, "slashTerminated"); if (path[$startsWith]("\\\\?\\")) { if (path[$startsWith]("UNC\\", 4)) { path = path[$replaceRange](0, 7, "\\"); @@ -122825,16 +134439,16 @@ core._Uri = class _Uri extends core.Object { return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); } static _computePathSegments(pathToSplit) { - if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit == null) dart.nullFailed(I[175], 2023, 51, "pathToSplit"); if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { pathToSplit = pathToSplit[$substring](1); } - return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + return pathToSplit[$isEmpty] ? C[415] || CT.C415 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[440] || CT.C440)); } static _computeQueryParametersAll(query) { - if (query == null || query[$isEmpty]) return C[430] || CT.C430; + if (query == null || query[$isEmpty]) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } normalizePath() { @@ -122843,14 +134457,14 @@ core._Uri = class _Uri extends core.Object { return this.replace({path: path}); } static _makePort(port, scheme) { - if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2046, 43, "scheme"); if (port != null && port == core._Uri._defaultPort(scheme)) return null; return port; } static _makeHost(host, start, end, strictIPv6) { - if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); - if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); - if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (start == null) dart.nullFailed(I[175], 2061, 46, "start"); + if (end == null) dart.nullFailed(I[175], 2061, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 2061, 67, "strictIPv6"); if (host == null) return null; if (start == end) return ""; if (host[$codeUnitAt](start) === 91) { @@ -122884,23 +134498,23 @@ core._Uri = class _Uri extends core.Object { return core._Uri._normalizeRegName(host, start, end); } static _checkZoneID(host, start, end) { - if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); - if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); - if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + if (host == null) dart.nullFailed(I[175], 2102, 34, "host"); + if (start == null) dart.nullFailed(I[175], 2102, 44, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 55, "end"); let index = host[$indexOf]("%", start); index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; return index; } static _isZoneIDChar(char) { - if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + if (char == null) dart.nullFailed(I[175], 2108, 33, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeZoneID(host, start, end, prefix = "") { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); - if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); - if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); - if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2118, 41, "host"); + if (start == null) dart.nullFailed(I[175], 2118, 51, "start"); + if (end == null) dart.nullFailed(I[175], 2118, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 2119, 15, "prefix"); let buffer = null; if (prefix !== "") { buffer = new core.StringBuffer.new(prefix); @@ -122950,11 +134564,11 @@ core._Uri = class _Uri extends core.Object { } } let slice = host[$substring](sectionStart, index); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -122968,14 +134582,14 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _isRegNameChar(char) { - if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + if (char == null) dart.nullFailed(I[175], 2186, 34, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeRegName(host, start, end) { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); - if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); - if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2195, 42, "host"); + if (start == null) dart.nullFailed(I[175], 2195, 52, "start"); + if (end == null) dart.nullFailed(I[175], 2195, 63, "end"); let buffer = null; let sectionStart = start; let index = start; @@ -123027,11 +134641,11 @@ core._Uri = class _Uri extends core.Object { } let slice = host[$substring](sectionStart, index); if (!isNormalized) slice = slice[$toLowerCase](); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -123046,9 +134660,9 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _makeScheme(scheme, start, end) { - if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); - if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (scheme == null) dart.nullFailed(I[175], 2269, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2269, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2269, 59, "end"); if (start == end) return ""; let firstCodeUnit = scheme[$codeUnitAt](start); if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { @@ -123071,7 +134685,7 @@ core._Uri = class _Uri extends core.Object { return core._Uri._canonicalizeScheme(scheme); } static _canonicalizeScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2293, 44, "scheme"); if (scheme === "http") return "http"; if (scheme === "file") return "file"; if (scheme === "https") return "https"; @@ -123079,29 +134693,29 @@ core._Uri = class _Uri extends core.Object { return scheme; } static _makeUserInfo(userInfo, start, end) { - if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); - if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (start == null) dart.nullFailed(I[175], 2301, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2301, 64, "end"); if (userInfo == null) return ""; return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); } static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { - if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); - if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); - if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + if (start == null) dart.nullFailed(I[175], 2306, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2306, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2307, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2307, 59, "hasAuthority"); let isFile = scheme === "file"; let ensureLeadingSlash = isFile || dart.test(hasAuthority); let result = null; if (path == null) { if (pathSegments == null) return isFile ? "/" : ""; result = pathSegments[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + if (s == null) dart.nullFailed(I[175], 2314, 17, "s"); return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); }, T$.StringToString()))[$join]("/"); } else if (pathSegments != null) { dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); } else { - result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true, replaceBackslash: true}); } if (result[$isEmpty]) { if (isFile) return "/"; @@ -123112,17 +134726,17 @@ core._Uri = class _Uri extends core.Object { return result; } static _normalizePath(path, scheme, hasAuthority) { - if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); - if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); - if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + if (path == null) dart.nullFailed(I[175], 2336, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2336, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2336, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/") && !path[$startsWith]("\\")) { return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); } return core._Uri._removeDotSegments(path); } static _makeQuery(query, start, end, queryParameters) { - if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (start == null) dart.nullFailed(I[175], 2346, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2346, 59, "end"); if (query != null) { if (queryParameters != null) { dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); @@ -123133,7 +134747,7 @@ core._Uri = class _Uri extends core.Object { let result = new core.StringBuffer.new(); let separator = ""; function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); result.write(separator); separator = "&"; result.write(core.Uri.encodeQueryComponent(key)); @@ -123144,13 +134758,13 @@ core._Uri = class _Uri extends core.Object { } dart.fn(writeParameter, T$0.StringAndStringNTovoid()); queryParameters[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (key == null) dart.nullFailed(I[175], 2370, 30, "key"); if (value == null || typeof value == 'string') { writeParameter(key, T$.StringN().as(value)); } else { let values = core.Iterable.as(value); - for (let t257 of values) { - let value = core.String.as(t257); + for (let t238 of values) { + let value = core.String.as(t238); writeParameter(key, value); } } @@ -123158,16 +134772,16 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _makeFragment(fragment, start, end) { - if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); - if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (start == null) dart.nullFailed(I[175], 2383, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2383, 65, "end"); if (fragment == null) return null; return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); } static _normalizeEscape(source, index, lowerCase) { - if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); - if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); - if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); - if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (source == null) dart.nullFailed(I[175], 2400, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2400, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2400, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2401, 12, "source.codeUnitAt(index) == _PERCENT"); if (dart.notNull(index) + 2 >= source.length) { return "%"; } @@ -123191,8 +134805,8 @@ core._Uri = class _Uri extends core.Object { return null; } static _escapeChar(char) { - if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); - if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + if (char == null) dart.nullFailed(I[175], 2428, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2429, 12, "char <= 0x10ffff"); let codeUnits = null; if (dart.notNull(char) < 128) { codeUnits = _native_typed_data.NativeUint8List.new(3); @@ -123224,24 +134838,28 @@ core._Uri = class _Uri extends core.Object { return core.String.fromCharCodes(codeUnits); } static _normalizeOrSubstring(component, start, end, charTable, opts) { - let t258; - if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let t239; + if (component == null) dart.nullFailed(I[175], 2468, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2468, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2468, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2468, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); - t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); - return t258 == null ? component[$substring](start, end) : t258; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2469, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2469, 44, "replaceBackslash"); + t239 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters, replaceBackslash: replaceBackslash}); + return t239 == null ? component[$substring](start, end) : t239; } static _normalize(component, start, end, charTable, opts) { - let t258, t258$; - if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let t239, t239$; + if (component == null) dart.nullFailed(I[175], 2486, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2486, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2486, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2486, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + if (escapeDelimiters == null) dart.nullFailed(I[175], 2487, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2487, 44, "replaceBackslash"); let buffer = null; let sectionStart = start; let index = start; @@ -123264,6 +134882,9 @@ core._Uri = class _Uri extends core.Object { } else { sourceLength = 3; } + } else if (char === 92 && dart.test(replaceBackslash)) { + replacement = "/"; + sourceLength = 1; } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { core._Uri._fail(component, index, "Invalid character"); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); @@ -123281,11 +134902,11 @@ core._Uri = class _Uri extends core.Object { } replacement = core._Uri._escapeChar(char); } - t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); (() => { - t258$.write(component[$substring](sectionStart, index)); - t258$.write(replacement); - return t258$; + t239$.write(component[$substring](sectionStart, index)); + t239$.write(replacement); + return t239$; })(); index = dart.notNull(index) + dart.notNull(sourceLength); sectionStart = index; @@ -123300,19 +134921,19 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _isSchemeCharacter(ch) { - if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + if (ch == null) dart.nullFailed(I[175], 2550, 38, "ch"); return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } static _isGeneralDelimiter(ch) { - if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + if (ch == null) dart.nullFailed(I[175], 2554, 39, "ch"); return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } get isAbsolute() { return this.scheme !== "" && this.fragment === ""; } [_mergePaths](base, reference) { - if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + if (base == null) dart.nullFailed(I[175], 2562, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); let backCount = 0; let refStart = 0; while (reference[$startsWith]("../", refStart)) { @@ -123335,15 +134956,15 @@ core._Uri = class _Uri extends core.Object { return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); } static _mayContainDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path == null) dart.nullFailed(I[175], 2600, 45, "path"); if (path[$startsWith](".")) return true; let index = path[$indexOf]("/."); return index !== -1; } static _removeDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (path == null) dart.nullFailed(I[175], 2611, 43, "path"); if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2613, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123366,14 +134987,14 @@ core._Uri = class _Uri extends core.Object { return output[$join]("/"); } static _normalizeRelativePath(path, allowScheme) { - if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); - if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); - if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (path == null) dart.nullFailed(I[175], 2647, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2647, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2648, 12, "!path.startsWith('/')"); if (!dart.test(core._Uri._mayContainDotSegments(path))) { if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); return path; } - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2653, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123399,7 +135020,7 @@ core._Uri = class _Uri extends core.Object { return output[$join]("/"); } static _escapeScheme(path) { - if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path == null) dart.nullFailed(I[175], 2680, 38, "path"); if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { for (let i = 1; i < path.length; i = i + 1) { let char = path[$codeUnitAt](i); @@ -123414,19 +135035,19 @@ core._Uri = class _Uri extends core.Object { return path; } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2696, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } static _packageNameEnd(uri, path) { - if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); - if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (uri == null) dart.nullFailed(I[175], 2710, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2710, 46, "path"); if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(path, 0, path.length); } return -1; } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2717, 22, "reference"); let targetScheme = null; let targetUserInfo = ""; let targetHost = null; @@ -123467,9 +135088,9 @@ core._Uri = class _Uri extends core.Object { let basePath = this.path; let packageNameEnd = core._Uri._packageNameEnd(this, basePath); if (dart.notNull(packageNameEnd) > 0) { - if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); - if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); - if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2760, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2761, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2762, 20, "!this.hasEmptyPath"); let packageName = basePath[$substring](0, packageNameEnd); if (dart.test(reference.hasAbsolutePath)) { targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); @@ -123542,7 +135163,7 @@ core._Uri = class _Uri extends core.Object { return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (this.scheme !== "" && this.scheme !== "file") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -123553,7 +135174,7 @@ core._Uri = class _Uri extends core.Object { if (this.fragment !== "") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.test(this.hasAuthority) && this.host !== "") { @@ -123567,7 +135188,7 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _toWindowsFilePath(uri) { - if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + if (uri == null) dart.nullFailed(I[175], 2875, 40, "uri"); let hasDriveLetter = false; let segments = uri.pathSegments; if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { @@ -123592,7 +135213,7 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); if (this[_userInfo$][$isNotEmpty]) { ss.write(this[_userInfo$]); ss.write("@"); @@ -123610,14 +135231,14 @@ core._Uri = class _Uri extends core.Object { return this[_text$]; } [_initializeText]() { - let t258, t258$, t258$0; + let t239, t239$, t239$0; let sb = new core.StringBuffer.new(); if (this.scheme[$isNotEmpty]) { - t258 = sb; + t239 = sb; (() => { - t258.write(this.scheme); - t258.write(":"); - return t258; + t239.write(this.scheme); + t239.write(":"); + return t239; })(); } if (dart.test(this.hasAuthority) || this.scheme === "file") { @@ -123626,19 +135247,19 @@ core._Uri = class _Uri extends core.Object { } sb.write(this.path); if (this[_query$] != null) { - t258$ = sb; + t239$ = sb; (() => { - t258$.write("?"); - t258$.write(this[_query$]); - return t258$; + t239$.write("?"); + t239$.write(this[_query$]); + return t239$; })(); } if (this[_fragment$] != null) { - t258$0 = sb; + t239$0 = sb; (() => { - t258$0.write("#"); - t258$0.write(this[_fragment$]); - return t258$0; + t239$0.write("#"); + t239$0.write(this[_fragment$]); + return t239$0; })(); } return sb.toString(); @@ -123652,17 +135273,17 @@ core._Uri = class _Uri extends core.Object { return T$.JSArrayOfString().of([]); } static _splitQueryStringAll(query, opts) { - if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 2965, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 2966, 17, "encoding"); let result = new (T$0.IdentityMapOfString$ListOfString()).new(); let i = 0; let start = 0; let equalsIndex = -1; function parsePair(start, equalsIndex, end) { - if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); - if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); - if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + if (start == null) dart.nullFailed(I[175], 2972, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2972, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2972, 52, "end"); let key = null; let value = null; if (start == end) return; @@ -123673,7 +135294,7 @@ core._Uri = class _Uri extends core.Object { key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); } - result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + result[$putIfAbsent](key, C[443] || CT.C443)[$add](value); } dart.fn(parsePair, T$0.intAndintAndintTovoid()); while (i < query.length) { @@ -123691,10 +135312,10 @@ core._Uri = class _Uri extends core.Object { return result; } static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { - if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); - if (text == null) dart.nullFailed(I[7], 876, 61, "text"); - if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); - if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (canonicalTable == null) dart.nullFailed(I[7], 945, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 945, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 946, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 946, 31, "spaceToPlus"); if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { return text; } @@ -123715,8 +135336,8 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _hexCharPairToByte(s, pos) { - if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); - if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + if (s == null) dart.nullFailed(I[175], 3006, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 3006, 47, "pos"); let byte = 0; for (let i = 0; i < 2; i = i + 1) { let charCode = s[$codeUnitAt](dart.notNull(pos) + i); @@ -123734,14 +135355,14 @@ core._Uri = class _Uri extends core.Object { return byte; } static _uriDecode(text, start, end, encoding, plusToSpace) { - if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); - if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); - if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); - if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); - if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); - if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + if (text == null) dart.nullFailed(I[175], 3036, 14, "text"); + if (start == null) dart.nullFailed(I[175], 3036, 24, "start"); + if (end == null) dart.nullFailed(I[175], 3036, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 3036, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 3036, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 3037, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 3038, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 3039, 12, "end <= text.length"); let simple = true; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = text[$codeUnitAt](i); @@ -123780,19 +135401,19 @@ core._Uri = class _Uri extends core.Object { return encoding.decode(bytes); } static _isAlphabeticCharacter(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[175], 3081, 42, "codeUnit"); let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; return 97 <= lowerCase && lowerCase <= 122; } static _isUnreservedChar(char) { - if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + if (char == null) dart.nullFailed(I[175], 3086, 37, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } }; (core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { - if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); - if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); - if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); this[___Uri__text] = null; this[___Uri__text_isSet] = false; this[___Uri_pathSegments] = null; @@ -123829,6 +135450,7 @@ dart.setMethodSignature(core._Uri, () => ({ [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), [_initializeText]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(core._Uri, () => ['notSimple', 'new', 'http', 'https', '_defaultPort', '_fail', '_makeHttpUri', 'file', 'directory', '_checkNonWindowsPathReservedCharacters', '_checkWindowsPathReservedCharacters', '_checkWindowsDriveLetter', '_makeFileUri', '_makeWindowsFileUrl', '_computePathSegments', '_computeQueryParametersAll', '_makePort', '_makeHost', '_checkZoneID', '_isZoneIDChar', '_normalizeZoneID', '_isRegNameChar', '_normalizeRegName', '_makeScheme', '_canonicalizeScheme', '_makeUserInfo', '_makePath', '_normalizePath', '_makeQuery', '_makeFragment', '_normalizeEscape', '_escapeChar', '_normalizeOrSubstring', '_normalize', '_isSchemeCharacter', '_isGeneralDelimiter', '_mayContainDotSegments', '_removeDotSegments', '_normalizeRelativePath', '_escapeScheme', '_packageNameEnd', '_toWindowsFilePath', '_createList', '_splitQueryStringAll', '_uriEncode', '_hexCharPairToByte', '_uriDecode', '_isAlphabeticCharacter', '_isUnreservedChar']); dart.setGetterSignature(core._Uri, () => ({ __proto__: dart.getGetters(core._Uri.__proto__), [_text$]: core.String, @@ -123852,7 +135474,8 @@ dart.setGetterSignature(core._Uri, () => ({ origin: core.String, data: dart.nullable(core.UriData) })); -dart.setLibraryUri(core._Uri, I[8]); +dart.setStaticGetterSignature(core._Uri, () => ['_isWindows']); +dart.setLibraryUri(core._Uri, I[9]); dart.setFieldSignature(core._Uri, () => ({ __proto__: dart.getFields(core._Uri.__proto__), scheme: dart.finalFieldType(core.String), @@ -123873,6 +135496,7 @@ dart.setFieldSignature(core._Uri, () => ({ [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(core._Uri, () => ['_isWindowsCached', '_needsNoEncoding', '_unreservedTable', '_unreserved2396Table', '_encodeFullTable', '_schemeTable', '_genDelimitersTable', '_userinfoTable', '_regNameTable', '_pathCharTable', '_pathCharOrSlashTable', '_queryCharTable', '_zoneIDTable']); dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); dart.defineExtensionAccessors(core._Uri, ['hashCode']); dart.defineLazy(core._Uri, { @@ -123883,54 +135507,60 @@ dart.defineLazy(core._Uri, { return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); }, /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; }, /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[434] || CT.C434; + return C[445] || CT.C445; }, /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[435] || CT.C435; + return C[446] || CT.C446; }, /*core._Uri._schemeTable*/get _schemeTable() { - return C[436] || CT.C436; + return C[447] || CT.C447; }, /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[437] || CT.C437; + return C[448] || CT.C448; }, /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[438] || CT.C438; + return C[449] || CT.C449; }, /*core._Uri._regNameTable*/get _regNameTable() { - return C[439] || CT.C439; + return C[450] || CT.C450; }, /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[440] || CT.C440; + return C[451] || CT.C451; }, /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[441] || CT.C441; + return C[452] || CT.C452; }, /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; }, /*core._Uri._zoneIDTable*/get _zoneIDTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; } }, false); var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); var _uriCache$ = dart.privateName(core, "_uriCache"); var _computeUri = dart.privateName(core, "_computeUri"); +var _findCharsetIndex = dart.privateName(core, "_findCharsetIndex"); core.UriData = class UriData extends core.Object { + static ['_#_#tearOff'](_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); + return new core.UriData.__(_text, _separatorIndices, _uriCache); + } static fromString(content, opts) { - let t258; - if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let t239; + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); let encodingName = null; if (encoding == null) { if (charsetName != null) { @@ -123952,13 +135582,22 @@ core.UriData = class UriData extends core.Object { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); + return core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static fromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); core.UriData._writeUri(mimeType, null, parameters, buffer, indices); @@ -123973,9 +135612,18 @@ core.UriData = class UriData extends core.Object { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); + return core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); - if (uri.scheme !== "data") { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + if (!dart.test(uri.isScheme("data"))) { dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); } if (dart.test(uri.hasAuthority)) { @@ -123989,10 +135637,14 @@ core.UriData = class UriData extends core.Object { } return core.UriData._parse(dart.toString(uri), 5, uri); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + return core.UriData.fromUri(uri); + } static _writeUri(mimeType, charsetName, parameters, buffer, indices) { - let t258, t258$; - if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); - if (mimeType == null || mimeType === "text/plain") { + let t239, t239$; + if (buffer == null) dart.nullFailed(I[175], 3473, 20, "buffer"); + if (mimeType == null || dart.test(core._caseInsensitiveEquals("text/plain", mimeType))) { mimeType = ""; } if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { @@ -124007,40 +135659,38 @@ core.UriData = class UriData extends core.Object { buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); } if (charsetName != null) { - if (indices != null) { - t258 = indices; - (() => { - t258[$add](buffer.length); - t258[$add](dart.notNull(buffer.length) + 8); - return t258; - })(); - } + t239 = indices; + t239 == null ? null : (() => { + t239[$add](buffer.length); + t239[$add](dart.notNull(buffer.length) + 8); + return t239; + })(); buffer.write(";charset="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); } - t258$ = parameters; - t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { - let t259, t259$; - if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); - if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + t239$ = parameters; + t239$ == null ? null : t239$[$forEach](dart.fn((key, value) => { + let t240, t240$; + if (key == null) dart.nullFailed(I[175], 3499, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3499, 31, "value"); if (key[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); } if (value[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); } - t259 = indices; - t259 == null ? null : t259[$add](buffer.length); + t240 = indices; + t240 == null ? null : t240[$add](buffer.length); buffer.write(";"); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - t259$ = indices; - t259$ == null ? null : t259$[$add](buffer.length); + t240$ = indices; + t240$ == null ? null : t240$[$add](buffer.length); buffer.write("="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); }, T$0.StringAndStringTovoid())); } static _validateMimeType(mimeType) { - if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3524, 39, "mimeType"); let slashIndex = -1; for (let i = 0; i < mimeType.length; i = i + 1) { let char = mimeType[$codeUnitAt](i); @@ -124054,7 +135704,7 @@ core.UriData = class UriData extends core.Object { return slashIndex; } static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); if (uri.length >= 5) { let dataDelta = core._startsWithData(uri, 0); if (dataDelta === 0) { @@ -124067,9 +135717,9 @@ core.UriData = class UriData extends core.Object { dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); } get uri() { - let t258; - t258 = this[_uriCache$]; - return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + let t239; + t239 = this[_uriCache$]; + return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; } [_computeUri]() { let path = this[_text$]; @@ -124090,20 +135740,61 @@ core.UriData = class UriData extends core.Object { if (start === end) return "text/plain"; return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); } + isMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3637, 26, "mimeType"); + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) { + return mimeType[$isEmpty] || mimeType === "text/plain" || dart.test(core._caseInsensitiveEquals(mimeType, "text/plain")); + } + if (mimeType[$isEmpty]) mimeType = "text/plain"; + return mimeType.length === dart.notNull(end) - start && dart.test(core._caseInsensitiveStartsWith(mimeType, this[_text$], start)); + } get charset() { - let parameterStart = 1; - let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; - if (dart.test(this.isBase64)) { - parameterEnd = parameterEnd - 1; + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) >= 0) { + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false); } - for (let i = parameterStart; i < parameterEnd; i = i + 2) { - let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; - let keyEnd = this[_separatorIndices$][$_get](i + 1); - if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { - return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + return "US-ASCII"; + } + [_findCharsetIndex]() { + let separatorIndices = this[_separatorIndices$]; + for (let i = 3; i <= dart.notNull(separatorIndices[$length]); i = i + 2) { + let keyStart = dart.notNull(separatorIndices[$_get](i - 2)) + 1; + let keyEnd = separatorIndices[$_get](i - 1); + if (keyEnd === keyStart + "charset".length && dart.test(core._caseInsensitiveStartsWith("charset", this[_text$], keyStart))) { + return i - 2; } } - return "US-ASCII"; + return -1; + } + isCharset(charset) { + if (charset == null) dart.nullFailed(I[175], 3700, 25, "charset"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return charset[$isEmpty] || dart.test(core._caseInsensitiveEquals(charset, "US-ASCII")) || convert.Encoding.getByName(charset) == convert.ascii; + } + if (charset[$isEmpty]) charset = "US-ASCII"; + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + let length = dart.notNull(valueEnd) - valueStart; + if (charset.length === length && dart.test(core._caseInsensitiveStartsWith(charset, this[_text$], valueStart))) { + return true; + } + let checkedEncoding = convert.Encoding.getByName(charset); + return checkedEncoding != null && checkedEncoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); + } + isEncoding(encoding) { + if (encoding == null) dart.nullFailed(I[175], 3730, 28, "encoding"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return encoding == convert.ascii; + } + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return encoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); } get isBase64() { return this[_separatorIndices$][$length][$isOdd]; @@ -124112,7 +135803,7 @@ core.UriData = class UriData extends core.Object { return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); } contentAsBytes() { - let t258, t258$; + let t239, t239$; let text = this[_text$]; let start = dart.notNull(this[_separatorIndices$][$last]) + 1; if (dart.test(this.isBase64)) { @@ -124135,12 +135826,12 @@ core.UriData = class UriData extends core.Object { for (let i = start; i < text.length; i = i + 1) { let codeUnit = text[$codeUnitAt](i); if (codeUnit !== 37) { - result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + result[$_set]((t239 = index, index = t239 + 1, t239), codeUnit); } else { if (i + 2 < text.length) { let byte = _internal.parseHexByte(text, i + 1); if (dart.notNull(byte) >= 0) { - result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + result[$_set]((t239$ = index, index = t239$ + 1, t239$), byte); i = i + 2; continue; } @@ -124148,7 +135839,7 @@ core.UriData = class UriData extends core.Object { dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); } } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); return result; } contentAsString(opts) { @@ -124181,10 +135872,10 @@ core.UriData = class UriData extends core.Object { return result; } static _parse(text, start, sourceUri) { - if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); - if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); - if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); - if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + if (text == null) dart.nullFailed(I[175], 3857, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3857, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3858, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3859, 12, "(start == 5) == text.startsWith(\"data:\")"); let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); let slashIndex = -1; let char = null; @@ -124238,9 +135929,9 @@ core.UriData = class UriData extends core.Object { return new core.UriData.__(text, indices, sourceUri); } static _uriEncodeBytes(canonicalTable, bytes, buffer) { - if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); - if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); - if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + if (canonicalTable == null) dart.nullFailed(I[175], 3933, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3933, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3933, 61, "buffer"); let byteOr = 0; for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { let byte = bytes[$_get](i); @@ -124267,8 +135958,8 @@ core.UriData = class UriData extends core.Object { } }; (core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); - if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); this[_text$] = _text; this[_separatorIndices$] = _separatorIndices; this[_uriCache$] = _uriCache; @@ -124279,9 +135970,14 @@ dart.addTypeCaches(core.UriData); dart.setMethodSignature(core.UriData, () => ({ __proto__: dart.getMethods(core.UriData.__proto__), [_computeUri]: dart.fnType(core.Uri, []), + isMimeType: dart.fnType(core.bool, [core.String]), + [_findCharsetIndex]: dart.fnType(core.int, []), + isCharset: dart.fnType(core.bool, [core.String]), + isEncoding: dart.fnType(core.bool, [convert.Encoding]), contentAsBytes: dart.fnType(typed_data.Uint8List, []), contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) })); +dart.setStaticMethodSignature(core.UriData, () => ['fromString', 'fromBytes', 'fromUri', '_writeUri', '_validateMimeType', 'parse', '_parse', '_uriEncodeBytes']); dart.setGetterSignature(core.UriData, () => ({ __proto__: dart.getGetters(core.UriData.__proto__), uri: core.Uri, @@ -124291,26 +135987,27 @@ dart.setGetterSignature(core.UriData, () => ({ contentText: core.String, parameters: core.Map$(core.String, core.String) })); -dart.setLibraryUri(core.UriData, I[8]); +dart.setLibraryUri(core.UriData, I[9]); dart.setFieldSignature(core.UriData, () => ({ __proto__: dart.getFields(core.UriData.__proto__), [_text$]: dart.finalFieldType(core.String), [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) })); +dart.setStaticFieldSignature(core.UriData, () => ['_noScheme', '_base64', '_tokenCharTable', '_uricTable']); dart.defineExtensionMethods(core.UriData, ['toString']); dart.defineLazy(core.UriData, { /*core.UriData._noScheme*/get _noScheme() { return -1; }, /*core.UriData._base64*/get _base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[443] || CT.C443; + return C[454] || CT.C454; }, /*core.UriData._uricTable*/get _uricTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; } }, false); var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); @@ -124332,6 +136029,16 @@ var _isPort = dart.privateName(core, "_isPort"); var _simpleMerge = dart.privateName(core, "_simpleMerge"); var _toNonSimple = dart.privateName(core, "_toNonSimple"); core._SimpleUri = class _SimpleUri extends core.Object { + static ['_#new#tearOff'](_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); + return new core._SimpleUri.new(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache); + } get hasScheme() { return dart.notNull(this[_schemeEnd$]) > 0; } @@ -124363,7 +136070,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); } [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); } get hasAbsolutePath() { @@ -124376,15 +136083,15 @@ core._SimpleUri = class _SimpleUri extends core.Object { return dart.test(this.hasScheme) && !dart.test(this.hasFragment); } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4446, 24, "scheme"); if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; if (scheme.length !== this[_schemeEnd$]) return false; - return core._Uri._compareScheme(scheme, this[_uri$]); + return core._caseInsensitiveStartsWith(scheme, this[_uri$], 0); } get scheme() { - let t258; - t258 = this[_schemeCache$]; - return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + let t239; + t239 = this[_schemeCache$]; + return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; } [_computeScheme]() { if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; @@ -124438,7 +136145,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { let start = this[_pathStart$]; let end = this[_queryStart$]; if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - if (start == end) return C[404] || CT.C404; + if (start == end) return C[415] || CT.C415; let parts = T$.JSArrayOfString().of([]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = this[_uri$][$codeUnitAt](i); @@ -124451,17 +136158,17 @@ core._SimpleUri = class _SimpleUri extends core.Object { return T$.ListOfString().unmodifiable(parts); } get queryParameters() { - if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + if (!dart.test(this.hasQuery)) return C[455] || CT.C455; return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); } get queryParametersAll() { - if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + if (!dart.test(this.hasQuery)) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } [_isPort](port) { - if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + if (port == null) dart.nullFailed(I[175], 4538, 23, "port"); let portDigitStart = dart.notNull(this[_portStart$]) + 1; return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); } @@ -124534,26 +136241,26 @@ core._SimpleUri = class _SimpleUri extends core.Object { return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4622, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4626, 22, "reference"); if (core._SimpleUri.is(reference)) { return this[_simpleMerge](this, reference); } return this[_toNonSimple]().resolveUri(reference); } static _packageNameEnd(uri) { - if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (uri == null) dart.nullFailed(I[175], 4643, 41, "uri"); if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); } return -1; } [_simpleMerge](base, ref) { - if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); - if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (base == null) dart.nullFailed(I[175], 4657, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4657, 48, "ref"); if (dart.test(ref.hasScheme)) return ref; if (dart.test(ref.hasAuthority)) { if (!dart.test(base.hasScheme)) return ref; @@ -124640,7 +136347,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -124651,7 +136358,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { } dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { @@ -124660,13 +136367,13 @@ core._SimpleUri = class _SimpleUri extends core.Object { return this.path; } get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); return null; } get hashCode() { - let t258; - t258 = this[_hashCodeCache]; - return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + let t239; + t239 = this[_hashCodeCache]; + return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; } _equals(other) { if (other == null) return false; @@ -124681,13 +136388,13 @@ core._SimpleUri = class _SimpleUri extends core.Object { } }; (core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { - if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); - if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); - if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); - if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); - if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); - if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); - if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); this[_hashCodeCache] = null; this[_uri$] = _uri; this[_schemeEnd$] = _schemeEnd; @@ -124718,6 +136425,7 @@ dart.setMethodSignature(core._SimpleUri, () => ({ [_toFilePath]: dart.fnType(core.String, []), [_toNonSimple]: dart.fnType(core.Uri, []) })); +dart.setStaticMethodSignature(core._SimpleUri, () => ['_packageNameEnd']); dart.setGetterSignature(core._SimpleUri, () => ({ __proto__: dart.getGetters(core._SimpleUri.__proto__), hasScheme: core.bool, @@ -124747,7 +136455,7 @@ dart.setGetterSignature(core._SimpleUri, () => ({ queryParametersAll: core.Map$(core.String, core.List$(core.String)), data: dart.nullable(core.UriData) })); -dart.setLibraryUri(core._SimpleUri, I[8]); +dart.setLibraryUri(core._SimpleUri, I[9]); dart.setFieldSignature(core._SimpleUri, () => ({ __proto__: dart.getFields(core._SimpleUri.__proto__), [_uri$]: dart.finalFieldType(core.String), @@ -124764,38 +136472,210 @@ dart.defineExtensionMethods(core._SimpleUri, ['_equals', 'toString']); dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); var _data$0 = dart.privateName(core, "_data"); core._DataUri = class _DataUri extends core._Uri { + static ['_#new#tearOff'](_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); + return new core._DataUri.new(_data, path, query); + } get data() { return this[_data$0]; } }; (core._DataUri.new = function(_data, path, query) { - if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); - if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); this[_data$0] = _data; core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); ; }).prototype = core._DataUri.prototype; dart.addTypeTests(core._DataUri); dart.addTypeCaches(core._DataUri); -dart.setLibraryUri(core._DataUri, I[8]); +dart.setLibraryUri(core._DataUri, I[9]); dart.setFieldSignature(core._DataUri, () => ({ __proto__: dart.getFields(core._DataUri.__proto__), [_data$0]: dart.finalFieldType(core.UriData) })); +var name$14 = dart.privateName(core, "Expando.name"); +var _jsWeakMap = dart.privateName(core, "_jsWeakMap"); +const _is_Expando_default = Symbol('_is_Expando_default'); +core.Expando$ = dart.generic(T => { + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + static ['_#new#tearOff'](T, name = null) { + return new (core.Expando$(T)).new(name); + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 153, 25, "object"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string' || core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + return this[_jsWeakMap].get(object); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 170, 28, "object"); + __t$TN().as(value); + if (core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + this[_jsWeakMap].set(object, value); + return value$; + } + } + (Expando.new = function(name = null) { + this[_jsWeakMap] = new WeakMap(); + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[9]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + [_jsWeakMap]: dart.finalFieldType(core.Object), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; +}); +core.Expando = core.Expando$(); +dart.addTypeTests(core.Expando, _is_Expando_default); +const _is_WeakReference_default = Symbol('_is_WeakReference_default'); +core.WeakReference$ = dart.generic(T => { + class WeakReference extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return core.WeakReference$(T).new(object); + } + } + (WeakReference[dart.mixinNew] = function() { + }).prototype = WeakReference.prototype; + dart.addTypeTests(WeakReference); + WeakReference.prototype[_is_WeakReference_default] = true; + dart.addTypeCaches(WeakReference); + dart.setStaticMethodSignature(WeakReference, () => ['new']); + dart.setLibraryUri(WeakReference, I[9]); + return WeakReference; +}); +core.WeakReference = core.WeakReference$(); +dart.addTypeTests(core.WeakReference, _is_WeakReference_default); +const _is_Finalizer_default = Symbol('_is_Finalizer_default'); +core.Finalizer$ = dart.generic(T => { + class Finalizer extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return new (core._FinalizationRegistryWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return core.Finalizer$(T).new(object); + } + } + (Finalizer[dart.mixinNew] = function() { + }).prototype = Finalizer.prototype; + dart.addTypeTests(Finalizer); + Finalizer.prototype[_is_Finalizer_default] = true; + dart.addTypeCaches(Finalizer); + dart.setStaticMethodSignature(Finalizer, () => ['new']); + dart.setLibraryUri(Finalizer, I[9]); + return Finalizer; +}); +core.Finalizer = core.Finalizer$(); +dart.addTypeTests(core.Finalizer, _is_Finalizer_default); core._symbolToString = function _symbolToString(symbol) { if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); }; core._max = function _max(a, b) { - if (a == null) dart.nullFailed(I[7], 933, 14, "a"); - if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1001, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1001, 21, "b"); return dart.notNull(a) > dart.notNull(b) ? a : b; }; core._min = function _min(a, b) { - if (a == null) dart.nullFailed(I[7], 934, 14, "a"); - if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1002, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1002, 21, "b"); return dart.notNull(a) < dart.notNull(b) ? a : b; }; +core['DateTimeCopyWith|copyWith'] = function DateTimeCopyWith$124copyWith($this, opts) { + let t240, t240$, t240$0, t240$1, t240$2, t240$3, t240$4, t240$5, t240$6; + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return (dart.test((t240 = isUtc, t240 == null ? $this.isUtc : t240)) ? C[456] || CT.C456 : C[457] || CT.C457)((t240$ = year, t240$ == null ? $this.year : t240$), (t240$0 = month, t240$0 == null ? $this.month : t240$0), (t240$1 = day, t240$1 == null ? $this.day : t240$1), (t240$2 = hour, t240$2 == null ? $this.hour : t240$2), (t240$3 = minute, t240$3 == null ? $this.minute : t240$3), (t240$4 = second, t240$4 == null ? $this.second : t240$4), (t240$5 = millisecond, t240$5 == null ? $this.millisecond : t240$5), (t240$6 = microsecond, t240$6 == null ? $this.microsecond : t240$6)); +}; +core['DateTimeCopyWith|get#copyWith'] = function DateTimeCopyWith$124get$35copyWith($this) { + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + return dart.fn(opts => { + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return core['DateTimeCopyWith|copyWith']($this, {year: year, month: month, day: day, hour: hour, minute: minute, second: second, millisecond: millisecond, microsecond: microsecond, isUtc: isUtc}); + }, T$0.__ToDateTime()); +}; +core['EnumName|get#name'] = function EnumName$124get$35name($this) { + if ($this == null) dart.nullFailed(I[122], 136, 14, "#this"); + return $this[_name$4]; +}; +core['EnumByName|byName'] = function EnumByName$124byName(T, $this, name) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + for (let value of $this) { + if (value[_name$4] == name) return value; + } + dart.throw(new core.ArgumentError.value(name, "name", "No enum value with that name")); +}; +core['EnumByName|get#byName'] = function EnumByName$124get$35byName(T, $this) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + return dart.fn(name => { + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + return core['EnumByName|byName'](T, $this, name); + }, dart.fnType(T, [core.String])); +}; +core['EnumByName|asNameMap'] = function EnumByName$124asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return (() => { + let t245 = new (_js_helper.IdentityMap$(core.String, T)).new(); + for (let value of $this) + t245[$_set](value[_name$4], value); + return t245; + })(); +}; +core['EnumByName|get#asNameMap'] = function EnumByName$124get$35asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return dart.fn(() => core['EnumByName|asNameMap'](T, $this), dart.fnType(core.Map$(core.String, T), [])); +}; core.identical = function identical(a, b) { return a == null ? b == null : a === b; }; @@ -124809,7 +136689,7 @@ core.identityHashCode = function identityHashCode(object) { return hash; }; core.print = function print$0(object) { - let line = dart.toString(object); + let line = dart.str(object); let toZone = _internal.printToZone; if (toZone == null) { _internal.printToConsole(line); @@ -124818,38 +136698,38 @@ core.print = function print$0(object) { } }; core._isLeadSurrogate = function _isLeadSurrogate$(code) { - if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + if (code == null) dart.nullFailed(I[173], 791, 27, "code"); return (dart.notNull(code) & 64512) === 55296; }; core._isTrailSurrogate = function _isTrailSurrogate(code) { - if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + if (code == null) dart.nullFailed(I[173], 794, 28, "code"); return (dart.notNull(code) & 64512) === 56320; }; core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { - if (start == null) dart.nullFailed(I[174], 631, 31, "start"); - if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + if (start == null) dart.nullFailed(I[173], 797, 31, "start"); + if (end == null) dart.nullFailed(I[173], 797, 42, "end"); return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); }; core._createTables = function _createTables() { let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + if (_ == null) dart.nullFailed(I[175], 4180, 54, "_"); return _native_typed_data.NativeUint8List.new(96); }, T$0.intToUint8List())); function build(state, defaultTransition) { - let t258; - t258 = tables[$_get](core.int.as(state)); + let t247; + t247 = tables[$_get](core.int.as(state)); return (() => { - t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); - return t258; + t247[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t247; })(); } dart.fn(build, T$0.dynamicAnddynamicToUint8List()); function setChars(target, chars, transition) { - if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); - if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); - if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4191, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 4191, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 4191, 53, "transition"); for (let i = 0; i < chars.length; i = i + 1) { let char = chars[$codeUnitAt](i); target[$_set]((char ^ 96) >>> 0, transition); @@ -124857,9 +136737,9 @@ core._createTables = function _createTables() { } dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); function setRange(target, range, transition) { - if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); - if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); - if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4204, 27, "target"); + if (range == null) dart.nullFailed(I[175], 4204, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 4204, 53, "transition"); for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { target[$_set]((i ^ 96) >>> 0, transition); } @@ -124871,13 +136751,14 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), ".", 14); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(14, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ".", 15); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(15, (1 | 224) >>> 0); @@ -124885,23 +136766,27 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(1, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(2, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(3, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), ".", 18); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); @@ -124912,6 +136797,7 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(5, (5 | 224) >>> 0); @@ -124920,18 +136806,21 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(6, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "19", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(7, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "09", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(8, 8); @@ -124939,40 +136828,43 @@ core._createTables = function _createTables() { b = build(9, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 16); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(16, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 17); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(17, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(10, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 18); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(18, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 19); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(19, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(11, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(12, (12 | 224) >>> 0); @@ -124991,13 +136883,13 @@ core._createTables = function _createTables() { return tables; }; core._scan = function _scan(uri, start, end, state, indices) { - if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); - if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); - if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); - if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); - if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + if (uri == null) dart.nullFailed(I[175], 4384, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4384, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4384, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4384, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4384, 64, "indices"); let tables = core._scannerTables; - if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4386, 10, "end <= uri.length"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let table = tables[$_get](state); let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; @@ -125009,8 +136901,8 @@ core._scan = function _scan(uri, start, end, state, indices) { return state; }; core._startsWithData = function _startsWithData(text, start) { - if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); - if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + if (text == null) dart.nullFailed(I[175], 4911, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4911, 38, "start"); let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; @@ -125022,14 +136914,14 @@ core._stringOrNullLength = function _stringOrNullLength(s) { return s == null ? 0 : s.length; }; core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { - if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); - if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + if (key == null) dart.nullFailed(I[175], 4924, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4924, 65, "list"); return T$.ListOfString().unmodifiable(list); }; core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { - if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); - if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); - if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + if (source == null) dart.nullFailed(I[175], 4936, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4936, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4936, 57, "end"); let dots = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$codeUnitAt](i); @@ -125039,15 +136931,48 @@ core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) } return -1; }; +core._caseInsensitiveStartsWith = function _caseInsensitiveStartsWith(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4962, 40, "prefix"); + if (string == null) dart.nullFailed(I[175], 4962, 55, "string"); + if (start == null) dart.nullFailed(I[175], 4962, 67, "start"); + return dart.notNull(core._caseInsensitiveCompareStart(prefix, string, start)) >= 0; +}; +core._caseInsensitiveCompareStart = function _caseInsensitiveCompareStart(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4974, 41, "prefix"); + if (string == null) dart.nullFailed(I[175], 4974, 56, "string"); + if (start == null) dart.nullFailed(I[175], 4974, 68, "start"); + let result = 0; + for (let i = 0; i < prefix.length; i = i + 1) { + let prefixChar = prefix[$codeUnitAt](i); + let stringChar = string[$codeUnitAt](dart.notNull(start) + i); + let delta = (prefixChar ^ stringChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (stringChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; +}; +core._caseInsensitiveEquals = function _caseInsensitiveEquals(string1, string2) { + if (string1 == null) dart.nullFailed(I[175], 5000, 36, "string1"); + if (string2 == null) dart.nullFailed(I[175], 5000, 52, "string2"); + return string1.length === string2.length && dart.test(core._caseInsensitiveStartsWith(string1, string2, 0)); +}; dart.defineLazy(core, { /*core._dummyList*/get _dummyList() { return _native_typed_data.NativeUint16List.new(0); }, /*core.deprecated*/get deprecated() { - return C[445] || CT.C445; + return C[458] || CT.C458; }, /*core.override*/get override() { - return C[446] || CT.C446; + return C[459] || CT.C459; }, /*core.provisional*/get provisional() { return null; @@ -125055,6 +136980,9 @@ dart.defineLazy(core, { /*core.proxy*/get proxy() { return null; }, + /*core._hashSeed*/get _hashSeed() { + return core.identityHashCode(dart.wrapType(core.Object)); + }, /*core._SPACE*/get _SPACE() { return 32; }, @@ -125154,6 +137082,7 @@ _http.HttpServer = class HttpServer extends core.Object { return this[autoCompress]; } set autoCompress(value) { + if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); this[autoCompress] = value; } get idleTimeout() { @@ -125163,42 +137092,47 @@ _http.HttpServer = class HttpServer extends core.Object { this[idleTimeout] = value; } static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + if (port == null) dart.nullFailed(I[176], 189, 47, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 190, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 190, 34, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + if (shared == null) dart.nullFailed(I[176], 190, 55, "shared"); return _http._HttpServer.bind(address, port, backlog, v6Only, shared); } static bindSecure(address, port, context, opts) { - if (port == null) dart.nullFailed(I[176], 272, 24, "port"); - if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + if (port == null) dart.nullFailed(I[176], 232, 24, "port"); + if (context == null) dart.nullFailed(I[176], 232, 46, "context"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 233, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 234, 16, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[176], 235, 16, "requestClientCertificate"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + if (shared == null) dart.nullFailed(I[176], 236, 16, "shared"); return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); } static listenOn(serverSocket) { - if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); return new _http._HttpServer.listenOn(serverSocket); } + static ['_#listenOn#tearOff'](serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); + return _http.HttpServer.listenOn(serverSocket); + } }; (_http.HttpServer[dart.mixinNew] = function() { this[serverHeader] = null; this[autoCompress] = false; - this[idleTimeout] = C[447] || CT.C447; + this[idleTimeout] = C[460] || CT.C460; }).prototype = _http.HttpServer.prototype; _http.HttpServer.prototype[dart.isStream] = true; dart.addTypeTests(_http.HttpServer); dart.addTypeCaches(_http.HttpServer); _http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; +dart.setStaticMethodSignature(_http.HttpServer, () => ['bind', 'bindSecure', 'listenOn']); dart.setLibraryUri(_http.HttpServer, I[177]); dart.setFieldSignature(_http.HttpServer, () => ({ __proto__: dart.getFields(_http.HttpServer.__proto__), @@ -125215,26 +137149,33 @@ _http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { return this[total]; } set total(value) { + if (value == null) dart.nullFailed(I[176], 280, 7, "total"); this[total] = value; } get active() { return this[active]; } set active(value) { + if (value == null) dart.nullFailed(I[176], 284, 7, "active"); this[active] = value; } get idle() { return this[idle]; } set idle(value) { + if (value == null) dart.nullFailed(I[176], 287, 7, "idle"); this[idle] = value; } get closing() { return this[closing]; } set closing(value) { + if (value == null) dart.nullFailed(I[176], 293, 7, "closing"); this[closing] = value; } + static ['_#new#tearOff']() { + return new _http.HttpConnectionsInfo.new(); + } }; (_http.HttpConnectionsInfo.new = function() { this[total] = 0; @@ -125305,25 +137246,26 @@ _http.HttpHeaders = class HttpHeaders extends core.Object { return this[contentLength]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); this[contentLength] = value; } get persistentConnection() { - let t258; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t258) { - if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = t258; + this[__HttpHeaders_persistentConnection] = persistentConnection$35param; } get chunkedTransferEncoding() { - let t259; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + let t247; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); } - set chunkedTransferEncoding(t259) { - if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + set chunkedTransferEncoding(chunkedTransferEncoding$35param) { + if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = t259; + this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; } }; (_http.HttpHeaders.new = function() { @@ -125367,6 +137309,7 @@ dart.setFieldSignature(_http.HttpHeaders, () => ({ [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(_http.HttpHeaders, () => ['acceptHeader', 'acceptCharsetHeader', 'acceptEncodingHeader', 'acceptLanguageHeader', 'acceptRangesHeader', 'accessControlAllowCredentialsHeader', 'accessControlAllowHeadersHeader', 'accessControlAllowMethodsHeader', 'accessControlAllowOriginHeader', 'accessControlExposeHeadersHeader', 'accessControlMaxAgeHeader', 'accessControlRequestHeadersHeader', 'accessControlRequestMethodHeader', 'ageHeader', 'allowHeader', 'authorizationHeader', 'cacheControlHeader', 'connectionHeader', 'contentEncodingHeader', 'contentLanguageHeader', 'contentLengthHeader', 'contentLocationHeader', 'contentMD5Header', 'contentRangeHeader', 'contentTypeHeader', 'dateHeader', 'etagHeader', 'expectHeader', 'expiresHeader', 'fromHeader', 'hostHeader', 'ifMatchHeader', 'ifModifiedSinceHeader', 'ifNoneMatchHeader', 'ifRangeHeader', 'ifUnmodifiedSinceHeader', 'lastModifiedHeader', 'locationHeader', 'maxForwardsHeader', 'pragmaHeader', 'proxyAuthenticateHeader', 'proxyAuthorizationHeader', 'rangeHeader', 'refererHeader', 'retryAfterHeader', 'serverHeader', 'teHeader', 'trailerHeader', 'transferEncodingHeader', 'upgradeHeader', 'userAgentHeader', 'varyHeader', 'viaHeader', 'warningHeader', 'wwwAuthenticateHeader', 'cookieHeader', 'setCookieHeader', 'generalHeaders', 'entityHeaders', 'responseHeaders', 'requestHeaders']); dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { return "accept"; @@ -125383,6 +137326,30 @@ dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { return "accept-ranges"; }, + /*_http.HttpHeaders.accessControlAllowCredentialsHeader*/get accessControlAllowCredentialsHeader() { + return "access-control-allow-credentials"; + }, + /*_http.HttpHeaders.accessControlAllowHeadersHeader*/get accessControlAllowHeadersHeader() { + return "access-control-allow-headers"; + }, + /*_http.HttpHeaders.accessControlAllowMethodsHeader*/get accessControlAllowMethodsHeader() { + return "access-control-allow-methods"; + }, + /*_http.HttpHeaders.accessControlAllowOriginHeader*/get accessControlAllowOriginHeader() { + return "access-control-allow-origin"; + }, + /*_http.HttpHeaders.accessControlExposeHeadersHeader*/get accessControlExposeHeadersHeader() { + return "access-control-expose-headers"; + }, + /*_http.HttpHeaders.accessControlMaxAgeHeader*/get accessControlMaxAgeHeader() { + return "access-control-max-age"; + }, + /*_http.HttpHeaders.accessControlRequestHeadersHeader*/get accessControlRequestHeadersHeader() { + return "access-control-request-headers"; + }, + /*_http.HttpHeaders.accessControlRequestMethodHeader*/get accessControlRequestMethodHeader() { + return "access-control-request-method"; + }, /*_http.HttpHeaders.ageHeader*/get ageHeader() { return "age"; }, @@ -125509,197 +137476,43 @@ dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { return "www-authenticate"; }, - /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { - return "accept"; - }, - /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { - return "accept-charset"; - }, - /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { - return "accept-language"; - }, - /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { - return "accept-ranges"; - }, - /*_http.HttpHeaders.AGE*/get AGE() { - return "age"; - }, - /*_http.HttpHeaders.ALLOW*/get ALLOW() { - return "allow"; - }, - /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { - return "authorization"; - }, - /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { - return "cache-control"; - }, - /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { - return "connection"; - }, - /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { - return "content-encoding"; - }, - /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { - return "content-language"; - }, - /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { - return "content-length"; - }, - /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { - return "content-location"; - }, - /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { - return "content-md5"; - }, - /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { - return "content-range"; - }, - /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { - return "content-type"; - }, - /*_http.HttpHeaders.DATE*/get DATE() { - return "date"; - }, - /*_http.HttpHeaders.ETAG*/get ETAG() { - return "etag"; - }, - /*_http.HttpHeaders.EXPECT*/get EXPECT() { - return "expect"; - }, - /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { - return "expires"; - }, - /*_http.HttpHeaders.FROM*/get FROM() { - return "from"; - }, - /*_http.HttpHeaders.HOST*/get HOST() { - return "host"; - }, - /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { - return "if-match"; - }, - /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { - return "if-none-match"; - }, - /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { - return "if-range"; - }, - /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { - return "last-modified"; - }, - /*_http.HttpHeaders.LOCATION*/get LOCATION() { - return "location"; - }, - /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { - return "max-forwards"; - }, - /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { - return "pragma"; - }, - /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.RANGE*/get RANGE() { - return "range"; - }, - /*_http.HttpHeaders.REFERER*/get REFERER() { - return "referer"; - }, - /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { - return "retry-after"; - }, - /*_http.HttpHeaders.SERVER*/get SERVER() { - return "server"; - }, - /*_http.HttpHeaders.TE*/get TE() { - return "te"; - }, - /*_http.HttpHeaders.TRAILER*/get TRAILER() { - return "trailer"; - }, - /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { - return "upgrade"; - }, - /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { - return "user-agent"; - }, - /*_http.HttpHeaders.VARY*/get VARY() { - return "vary"; - }, - /*_http.HttpHeaders.VIA*/get VIA() { - return "via"; - }, - /*_http.HttpHeaders.WARNING*/get WARNING() { - return "warning"; - }, - /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { - return "www-authenticate"; - }, /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { return "cookie"; }, /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { return "set-cookie"; }, - /*_http.HttpHeaders.COOKIE*/get COOKIE() { - return "cookie"; - }, - /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { - return "set-cookie"; - }, /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[448] || CT.C448; - }, - /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { - return C[448] || CT.C448; + return C[461] || CT.C461; }, /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[449] || CT.C449; - }, - /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { - return C[449] || CT.C449; + return C[462] || CT.C462; }, /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[450] || CT.C450; - }, - /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { - return C[450] || CT.C450; + return C[463] || CT.C463; }, /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[451] || CT.C451; - }, - /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { - return C[451] || CT.C451; + return C[464] || CT.C464; } }, false); _http.HeaderValue = class HeaderValue extends core.Object { - static new(value = "", parameters = C[452] || CT.C452) { - if (value == null) dart.nullFailed(I[176], 805, 15, "value"); - if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + static new(value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); return new _http._HeaderValue.new(value, parameters); } + static ['_#new#tearOff'](value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); + return _http.HeaderValue.new(value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + if (value == null) dart.nullFailed(I[176], 615, 35, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[176], 616, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[176], 618, 12, "preserveBackslash"); return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); } }; @@ -125707,6 +137520,7 @@ _http.HeaderValue = class HeaderValue extends core.Object { }).prototype = _http.HeaderValue.prototype; dart.addTypeTests(_http.HeaderValue); dart.addTypeCaches(_http.HeaderValue); +dart.setStaticMethodSignature(_http.HeaderValue, () => ['new', 'parse']); dart.setLibraryUri(_http.HeaderValue, I[177]); _http.HttpSession = class HttpSession extends core.Object {}; (_http.HttpSession.new = function() { @@ -125719,15 +137533,23 @@ _http.HttpSession[dart.implements] = () => [core.Map]; dart.setLibraryUri(_http.HttpSession, I[177]); _http.ContentType = class ContentType extends core.Object { static new(primaryType, subType, opts) { - if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); - if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); let charset = opts && 'charset' in opts ? opts.charset : null; - let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; - if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); return new _http._ContentType.new(primaryType, subType, charset, parameters); } + static ['_#new#tearOff'](primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); + return _http.ContentType.new(primaryType, subType, {charset: charset, parameters: parameters}); + } static parse(value) { - if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + if (value == null) dart.nullFailed(I[176], 708, 35, "value"); return _http._ContentType.parse(value); } }; @@ -125736,31 +137558,21 @@ _http.ContentType = class ContentType extends core.Object { dart.addTypeTests(_http.ContentType); dart.addTypeCaches(_http.ContentType); _http.ContentType[dart.implements] = () => [_http.HeaderValue]; +dart.setStaticMethodSignature(_http.ContentType, () => ['new', 'parse']); dart.setLibraryUri(_http.ContentType, I[177]); +dart.setStaticFieldSignature(_http.ContentType, () => ['text', 'html', 'json', 'binary']); dart.defineLazy(_http.ContentType, { /*_http.ContentType.text*/get text() { return _http.ContentType.new("text", "plain", {charset: "utf-8"}); }, - /*_http.ContentType.TEXT*/get TEXT() { - return _http.ContentType.text; - }, /*_http.ContentType.html*/get html() { return _http.ContentType.new("text", "html", {charset: "utf-8"}); }, - /*_http.ContentType.HTML*/get HTML() { - return _http.ContentType.html; - }, /*_http.ContentType.json*/get json() { return _http.ContentType.new("application", "json", {charset: "utf-8"}); }, - /*_http.ContentType.JSON*/get JSON() { - return _http.ContentType.json; - }, /*_http.ContentType.binary*/get binary() { return _http.ContentType.new("application", "octet-stream"); - }, - /*_http.ContentType.BINARY*/get BINARY() { - return _http.ContentType.binary; } }, false); var expires$ = dart.privateName(_http, "Cookie.expires"); @@ -125802,41 +137614,52 @@ _http.Cookie = class Cookie extends core.Object { return this[secure]; } set secure(value) { + if (value == null) dart.nullFailed(I[176], 778, 8, "secure"); this[secure] = value; } get httpOnly() { return this[httpOnly]; } set httpOnly(value) { + if (value == null) dart.nullFailed(I[176], 782, 8, "httpOnly"); this[httpOnly] = value; } get name() { - let t260; - return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + let t247; + return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); } - set name(t260) { - if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + set name(name$35param) { + if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); this[__Cookie_name_isSet] = true; - this[__Cookie_name] = t260; + this[__Cookie_name] = name$35param; } get value() { - let t261; - return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + let t247; + return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); } - set value(t261) { - if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + set value(value$35param) { + if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); this[__Cookie_value_isSet] = true; - this[__Cookie_value] = t261; + this[__Cookie_value] = value$35param; } static new(name, value) { - if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); - if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); return new _http._Cookie.new(name, value); } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); + return _http.Cookie.new(name, value); + } static fromSetCookieValue(value) { - if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); return new _http._Cookie.fromSetCookieValue(value); } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); + return _http.Cookie.fromSetCookieValue(value); + } }; (_http.Cookie[dart.mixinNew] = function() { this[__Cookie_name] = null; @@ -125852,6 +137675,7 @@ _http.Cookie = class Cookie extends core.Object { }).prototype = _http.Cookie.prototype; dart.addTypeTests(_http.Cookie); dart.addTypeCaches(_http.Cookie); +dart.setStaticMethodSignature(_http.Cookie, () => ['new', 'fromSetCookieValue']); dart.setGetterSignature(_http.Cookie, () => ({ __proto__: dart.getGetters(_http.Cookie.__proto__), name: core.String, @@ -125898,12 +137722,14 @@ _http.HttpResponse = class HttpResponse extends core.Object { return this[contentLength$]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 970, 7, "contentLength"); this[contentLength$] = value; } get statusCode() { return this[statusCode]; } set statusCode(value) { + if (value == null) dart.nullFailed(I[176], 982, 7, "statusCode"); this[statusCode] = value; } get deadline() { @@ -125916,25 +137742,26 @@ _http.HttpResponse = class HttpResponse extends core.Object { return this[bufferOutput]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); this[bufferOutput] = value; } get reasonPhrase() { - let t262; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + let t247; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); } - set reasonPhrase(t262) { - if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + set reasonPhrase(reasonPhrase$35param) { + if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = t262; + this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; } get persistentConnection() { - let t263; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t263) { - if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = t263; + this[__HttpResponse_persistentConnection] = persistentConnection$35param; } }; (_http.HttpResponse.new = function() { @@ -125983,6 +137810,7 @@ _http.HttpClient = class HttpClient extends core.Object { return this[idleTimeout$]; } set idleTimeout(value) { + if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); this[idleTimeout$] = value; } get connectionTimeout() { @@ -126001,6 +137829,7 @@ _http.HttpClient = class HttpClient extends core.Object { return this[autoUncompress]; } set autoUncompress(value) { + if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); this[autoUncompress] = value; } get userAgent() { @@ -126010,7 +137839,7 @@ _http.HttpClient = class HttpClient extends core.Object { this[userAgent] = value; } static set enableTimelineLogging(value) { - if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + if (value == null) dart.nullFailed(I[176], 1157, 41, "value"); let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); if (enabled != _http.HttpClient._enableTimelineLogging) { developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); @@ -126028,8 +137857,12 @@ _http.HttpClient = class HttpClient extends core.Object { } return overrides.createHttpClient(context); } + static ['_#new#tearOff'](opts) { + let context = opts && 'context' in opts ? opts.context : null; + return _http.HttpClient.new({context: context}); + } static findProxyFromEnvironment(url, opts) { - if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + if (url == null) dart.nullFailed(I[176], 1514, 46, "url"); let environment = opts && 'environment' in opts ? opts.environment : null; let overrides = _http.HttpOverrides.current; if (overrides == null) { @@ -126039,7 +137872,7 @@ _http.HttpClient = class HttpClient extends core.Object { } }; (_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[453] || CT.C453; + this[idleTimeout$] = C[466] || CT.C466; this[connectionTimeout] = null; this[maxConnectionsPerHost] = null; this[autoUncompress] = true; @@ -126047,6 +137880,9 @@ _http.HttpClient = class HttpClient extends core.Object { }).prototype = _http.HttpClient.prototype; dart.addTypeTests(_http.HttpClient); dart.addTypeCaches(_http.HttpClient); +dart.setStaticMethodSignature(_http.HttpClient, () => ['new', 'findProxyFromEnvironment']); +dart.setStaticGetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); +dart.setStaticSetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); dart.setLibraryUri(_http.HttpClient, I[177]); dart.setFieldSignature(_http.HttpClient, () => ({ __proto__: dart.getFields(_http.HttpClient.__proto__), @@ -126056,23 +137892,20 @@ dart.setFieldSignature(_http.HttpClient, () => ({ autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_http.HttpClient, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); dart.defineLazy(_http.HttpClient, { /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { return 80; }, - /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { - return 80; - }, /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { return 443; }, - /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { - return 443; - }, /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { return false; }, - set _enableTimelineLogging(_) {} + set _enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1174, 15, "_enableTimelineLogging"); + } }, false); var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); @@ -126084,30 +137917,35 @@ _http.HttpClientRequest = class HttpClientRequest extends core.Object { return this[persistentConnection]; } set persistentConnection(value) { + if (value == null) dart.nullFailed(I[176], 1635, 8, "persistentConnection"); this[persistentConnection] = value; } get followRedirects() { return this[followRedirects]; } set followRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1687, 8, "followRedirects"); this[followRedirects] = value; } get maxRedirects() { return this[maxRedirects]; } set maxRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1694, 7, "maxRedirects"); this[maxRedirects] = value; } get contentLength() { return this[contentLength$0]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 1706, 7, "contentLength"); this[contentLength$0] = value; } get bufferOutput() { return this[bufferOutput$]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1714, 8, "bufferOutput"); this[bufferOutput$] = value; } }; @@ -126140,32 +137978,39 @@ dart.addTypeTests(_http.HttpClientResponse); dart.addTypeCaches(_http.HttpClientResponse); _http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; dart.setLibraryUri(_http.HttpClientResponse, I[177]); -var _name$7 = dart.privateName(_http, "_name"); -_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { - toString() { - return this[_name$7]; +_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core._Enum { + [_enumToString]() { + return "HttpClientResponseCompressionState." + dart.str(this[_name$4]); } }; -(_http.HttpClientResponseCompressionState.new = function(index, _name) { - if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); - if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); - this.index = index; - this[_name$7] = _name; +(_http.HttpClientResponseCompressionState.new = function(index, name) { + if (index == null) dart.nullFailed(I[176], 1891, 6, "#index"); + if (name == null) dart.nullFailed(I[176], 1891, 6, "#name"); + _http.HttpClientResponseCompressionState.__proto__.new.call(this, index, name); ; }).prototype = _http.HttpClientResponseCompressionState.prototype; dart.addTypeTests(_http.HttpClientResponseCompressionState); dart.addTypeCaches(_http.HttpClientResponseCompressionState); -dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); -dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), - index: dart.finalFieldType(core.int), - [_name$7]: dart.finalFieldType(core.String) +dart.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), + [_enumToString]: dart.fnType(core.String, []) })); -dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); -_http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; -_http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; -_http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; -_http.HttpClientResponseCompressionState.values = C[457] || CT.C457; +dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); +dart.setStaticFieldSignature(_http.HttpClientResponseCompressionState, () => ['values', 'notCompressed', 'decompressed', 'compressed']); +dart.defineLazy(_http.HttpClientResponseCompressionState, { + /*_http.HttpClientResponseCompressionState.values*/get values() { + return C[467] || CT.C467; + }, + /*_http.HttpClientResponseCompressionState.notCompressed*/get notCompressed() { + return C[468] || CT.C468; + }, + /*_http.HttpClientResponseCompressionState.decompressed*/get decompressed() { + return C[469] || CT.C469; + }, + /*_http.HttpClientResponseCompressionState.compressed*/get compressed() { + return C[470] || CT.C470; + } +}, false); _http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; (_http.HttpClientCredentials.new = function() { ; @@ -126175,23 +138020,35 @@ dart.addTypeCaches(_http.HttpClientCredentials); dart.setLibraryUri(_http.HttpClientCredentials, I[177]); _http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); - if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); return new _http._HttpClientBasicCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); + return _http.HttpClientBasicCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientBasicCredentials); dart.addTypeCaches(_http.HttpClientBasicCredentials); +dart.setStaticMethodSignature(_http.HttpClientBasicCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); _http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); - if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); return new _http._HttpClientDigestCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); + return _http.HttpClientDigestCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientDigestCredentials); dart.addTypeCaches(_http.HttpClientDigestCredentials); +dart.setStaticMethodSignature(_http.HttpClientDigestCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); _http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; (_http.HttpConnectionInfo.new = function() { @@ -126207,13 +138064,6 @@ _http.RedirectInfo = class RedirectInfo extends core.Object {}; dart.addTypeTests(_http.RedirectInfo); dart.addTypeCaches(_http.RedirectInfo); dart.setLibraryUri(_http.RedirectInfo, I[177]); -_http.DetachedSocket = class DetachedSocket extends core.Object {}; -(_http.DetachedSocket.new = function() { - ; -}).prototype = _http.DetachedSocket.prototype; -dart.addTypeTests(_http.DetachedSocket); -dart.addTypeCaches(_http.DetachedSocket); -dart.setLibraryUri(_http.DetachedSocket, I[177]); var message$17 = dart.privateName(_http, "HttpException.message"); var uri$0 = dart.privateName(_http, "HttpException.uri"); _http.HttpException = class HttpException extends core.Object { @@ -126229,12 +138079,17 @@ _http.HttpException = class HttpException extends core.Object { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new _http.HttpException.new(message, {uri: uri}); + } toString() { - let t264; - let b = (t264 = new core.StringBuffer.new(), (() => { - t264.write("HttpException: "); - t264.write(this.message); - return t264; + let t249; + let b = (t249 = new core.StringBuffer.new(), (() => { + t249.write("HttpException: "); + t249.write(this.message); + return t249; })()); let uri = this.uri; if (uri != null) { @@ -126244,7 +138099,7 @@ _http.HttpException = class HttpException extends core.Object { } }; (_http.HttpException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); let uri = opts && 'uri' in opts ? opts.uri : null; this[message$17] = message; this[uri$0] = uri; @@ -126275,16 +138130,21 @@ _http.RedirectException = class RedirectException extends core.Object { set redirects(value) { super.redirects = value; } + static ['_#new#tearOff'](message, redirects) { + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); + return new _http.RedirectException.new(message, redirects); + } toString() { return "RedirectException: " + dart.str(this.message); } get uri() { - return this.redirects[$last].location; + return dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; } }; (_http.RedirectException.new = function(message, redirects) { - if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); - if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); this[message$18] = message; this[redirects$] = redirects; ; @@ -126294,7 +138154,7 @@ dart.addTypeCaches(_http.RedirectException); _http.RedirectException[dart.implements] = () => [_http.HttpException]; dart.setGetterSignature(_http.RedirectException, () => ({ __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: core.Uri + uri: dart.nullable(core.Uri) })); dart.setLibraryUri(_http.RedirectException, I[177]); dart.setFieldSignature(_http.RedirectException, () => ({ @@ -126305,114 +138165,23 @@ dart.setFieldSignature(_http.RedirectException, () => ({ dart.defineExtensionMethods(_http.RedirectException, ['toString']); _http._CryptoUtils = class _CryptoUtils extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + if (count == null) dart.nullFailed(I[178], 8, 39, "count"); let result = _native_typed_data.NativeUint8List.new(count); for (let i = 0; i < dart.notNull(count); i = i + 1) { - result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + result[$_set](i, math.Random.secure().nextInt(255)); } return result; } static bytesToHex(bytes) { - if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + if (bytes == null) dart.nullFailed(I[178], 16, 38, "bytes"); let result = new core.StringBuffer.new(); for (let part of bytes) { result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); } return result.toString(); } - static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { - let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; - if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); - if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); - if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); - let len = bytes[$length]; - if (len === 0) { - return ""; - } - let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; - let remainderLength = len[$remainder](3); - let chunkLength = dart.notNull(len) - remainderLength; - let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); - if (dart.test(addLineSeparator)) { - outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); - } - let out = T$0.ListOfint().filled(outputLen, 0); - let j = 0; - let i = 0; - let c = 0; - while (i < chunkLength) { - let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; - out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); - out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); - out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); - out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); - if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { - out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); - out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); - c = 0; - } - } - if (remainderLength === 1) { - let x = bytes[$_get](i); - out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); - out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); - out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); - } else if (remainderLength === 2) { - let x = bytes[$_get](i); - let y = bytes[$_get](i + 1); - out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); - out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); - out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); - } - return core.String.fromCharCodes(out); - } - static base64StringToBytes(input, ignoreInvalidCharacters = true) { - let t264, t264$, t264$0, t264$1; - if (input == null) dart.nullFailed(I[178], 117, 47, "input"); - if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); - let len = input.length; - if (len === 0) { - return T$0.ListOfint().empty(); - } - let extrasLen = 0; - for (let i = 0; i < len; i = i + 1) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); - if (dart.notNull(c) < 0) { - extrasLen = extrasLen + 1; - if (c === -2 && !dart.test(ignoreInvalidCharacters)) { - dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); - } - } - } - if ((len - extrasLen)[$modulo](4) !== 0) { - dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); - } - let padLength = 0; - for (let i = len - 1; i >= 0; i = i - 1) { - let currentCodeUnit = input[$codeUnitAt](i); - if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; - if (currentCodeUnit === 61) padLength = padLength + 1; - } - let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; - let out = T$0.ListOfint().filled(outputLen, 0); - for (let i = 0, o = 0; o < outputLen;) { - let x = 0; - for (let j = 4; j > 0;) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); - if (dart.notNull(c) >= 0) { - x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; - j = j - 1; - } - } - out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); - if (o < outputLen) { - out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); - if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); - } - } - return out; + static ['_#new#tearOff']() { + return new _http._CryptoUtils.new(); } }; (_http._CryptoUtils.new = function() { @@ -126420,34 +138189,8 @@ _http._CryptoUtils = class _CryptoUtils extends core.Object { }).prototype = _http._CryptoUtils.prototype; dart.addTypeTests(_http._CryptoUtils); dart.addTypeCaches(_http._CryptoUtils); +dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); dart.setLibraryUri(_http._CryptoUtils, I[177]); -dart.defineLazy(_http._CryptoUtils, { - /*_http._CryptoUtils.PAD*/get PAD() { - return 61; - }, - /*_http._CryptoUtils.CR*/get CR() { - return 13; - }, - /*_http._CryptoUtils.LF*/get LF() { - return 10; - }, - /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { - return 76; - }, - /*_http._CryptoUtils._encodeTable*/get _encodeTable() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - }, - /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*_http._CryptoUtils._decodeTable*/get _decodeTable() { - return C[458] || CT.C458; - }, - /*_http._CryptoUtils._rng*/get _rng() { - return math.Random.secure(); - }, - set _rng(_) {} -}, false); var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); var _digestCalled = dart.privateName(_http, "_digestCalled"); var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); @@ -126466,7 +138209,7 @@ var _bytesToChunk = dart.privateName(_http, "_bytesToChunk"); var _updateHash = dart.privateName(_http, "_updateHash"); _http._HashBase = class _HashBase extends core.Object { add(data) { - if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (data == null) dart.nullFailed(I[178], 49, 22, "data"); if (dart.test(this[_digestCalled])) { dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); } @@ -126481,21 +138224,25 @@ _http._HashBase = class _HashBase extends core.Object { this[_digestCalled] = true; this[_finalizeData](); this[_iterate](); - if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + if (!dart.test(this[_pendingData][$isEmpty])) dart.assertFailed(null, I[178], 66, 12, "_pendingData.isEmpty"); return this[_resultAsBytes](); } get blockSize() { return dart.notNull(this[_chunkSizeInWords$]) * 4; } [_add32](x, y) { - return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + if (x == null) dart.nullFailed(I[178], 79, 18, "x"); + if (y == null) dart.nullFailed(I[178], 79, 25, "y"); + return (dart.notNull(x) + dart.notNull(y) & 4294967295.0) >>> 0; } [_roundUp](val, n) { - return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + if (val == null) dart.nullFailed(I[178], 80, 20, "val"); + if (n == null) dart.nullFailed(I[178], 80, 29, "n"); + return (dart.notNull(val) + dart.notNull(n) - 1 & -dart.notNull(n)) >>> 0; } [_rotl32](val, shift) { - if (val == null) dart.nullFailed(I[178], 234, 19, "val"); - if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + if (val == null) dart.nullFailed(I[178], 83, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 83, 28, "shift"); let mod_shift = dart.notNull(shift) & 31; return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; } @@ -126507,9 +138254,9 @@ _http._HashBase = class _HashBase extends core.Object { return result; } [_bytesToChunk](data, dataIndex) { - if (data == null) dart.nullFailed(I[178], 250, 27, "data"); - if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); - if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + if (data == null) dart.nullFailed(I[178], 99, 32, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 99, 42, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 100, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); @@ -126524,7 +138271,7 @@ _http._HashBase = class _HashBase extends core.Object { } } [_wordToBytes](word) { - if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + if (word == null) dart.nullFailed(I[178], 117, 30, "word"); let bytes = T$0.ListOfint().filled(4, 0); bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); @@ -126549,12 +138296,12 @@ _http._HashBase = class _HashBase extends core.Object { let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); - for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + let zeroPadding = dart.notNull(finalizedLength) - contentsLength; + for (let i = 0; i < zeroPadding; i = i + 1) { this[_pendingData][$add](0); } let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; - if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 153, 12, "lengthInBits < pow(2, 32)"); if (dart.test(this[_bigEndianWords$])) { this[_pendingData][$addAll](this[_wordToBytes](0)); this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); @@ -126565,32 +138312,32 @@ _http._HashBase = class _HashBase extends core.Object { } }; (_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { - if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); - if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); - if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 43, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 43, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 43, 65, "_bigEndianWords"); this[_lengthInBytes] = 0; this[_digestCalled] = false; this[_chunkSizeInWords$] = _chunkSizeInWords; this[_bigEndianWords$] = _bigEndianWords; this[_pendingData] = T$.JSArrayOfint().of([]); - this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); - this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + this[_currentChunk] = _native_typed_data.NativeUint32List.new(_chunkSizeInWords); + this[_h] = _native_typed_data.NativeUint32List.new(digestSizeInWords); ; }).prototype = _http._HashBase.prototype; dart.addTypeTests(_http._HashBase); dart.addTypeCaches(_http._HashBase); dart.setMethodSignature(_http._HashBase, () => ({ __proto__: dart.getMethods(_http._HashBase.__proto__), - add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + add: dart.fnType(dart.void, [core.List$(core.int)]), close: dart.fnType(core.List$(core.int), []), - [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_add32]: dart.fnType(core.int, [core.int, core.int]), + [_roundUp]: dart.fnType(core.int, [core.int, core.int]), [_rotl32]: dart.fnType(core.int, [core.int, core.int]), [_resultAsBytes]: dart.fnType(core.List$(core.int), []), - [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_bytesToChunk]: dart.fnType(dart.void, [core.List$(core.int), core.int]), [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.dynamic, []), - [_finalizeData]: dart.fnType(dart.dynamic, []) + [_iterate]: dart.fnType(dart.void, []), + [_finalizeData]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_http._HashBase, () => ({ __proto__: dart.getGetters(_http._HashBase.__proto__), @@ -126603,17 +138350,17 @@ dart.setFieldSignature(_http._HashBase, () => ({ [_bigEndianWords$]: dart.finalFieldType(core.bool), [_lengthInBytes]: dart.fieldType(core.int), [_pendingData]: dart.fieldType(core.List$(core.int)), - [_currentChunk]: dart.fieldType(core.List$(core.int)), - [_h]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.finalFieldType(typed_data.Uint32List), + [_h]: dart.finalFieldType(typed_data.Uint32List), [_digestCalled]: dart.fieldType(core.bool) })); _http._MD5 = class _MD5 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._MD5.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 352, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 196, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 197, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126637,13 +138384,13 @@ _http._MD5 = class _MD5 extends _http._HashBase { let temp = d; d = c; c = b; - b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + b = this[_add32](b, this[_rotl32](this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](t1))), _http._MD5._r[$_get](i))); a = temp; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); } }; (_http._MD5.new = function() { @@ -126657,26 +138404,26 @@ dart.addTypeTests(_http._MD5); dart.addTypeCaches(_http._MD5); dart.setMethodSignature(_http._MD5, () => ({ __proto__: dart.getMethods(_http._MD5.__proto__), - newInstance: dart.fnType(_http._MD5, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._MD5, I[177]); +dart.setStaticFieldSignature(_http._MD5, () => ['_k', '_r']); dart.defineLazy(_http._MD5, { /*_http._MD5._k*/get _k() { - return C[459] || CT.C459; + return C[471] || CT.C471; }, /*_http._MD5._r*/get _r() { - return C[460] || CT.C460; + return C[472] || CT.C472; } }, false); var _w = dart.privateName(_http, "_w"); _http._SHA1 = class _SHA1 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._SHA1.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 415, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 254, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 255, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126703,13 +138450,13 @@ _http._SHA1 = class _SHA1 extends _http._HashBase { d = c; c = this[_rotl32](b, 30); b = a; - a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + a = (dart.notNull(t) & 4294967295.0) >>> 0; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); - this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); + this[_h][$_set](4, this[_add32](e, this[_h][$_get](4))); } }; (_http._SHA1.new = function() { @@ -126725,54 +138472,53 @@ dart.addTypeTests(_http._SHA1); dart.addTypeCaches(_http._SHA1); dart.setMethodSignature(_http._SHA1, () => ({ __proto__: dart.getMethods(_http._SHA1.__proto__), - newInstance: dart.fnType(_http._SHA1, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._SHA1, I[177]); dart.setFieldSignature(_http._SHA1, () => ({ __proto__: dart.getFields(_http._SHA1.__proto__), - [_w]: dart.fieldType(core.List$(core.int)) + [_w]: dart.finalFieldType(core.List$(core.int)) })); _http.HttpDate = class HttpDate extends core.Object { static format(date) { - let t264; - if (date == null) dart.nullFailed(I[179], 40, 33, "date"); - let wkday = C[461] || CT.C461; - let month = C[462] || CT.C462; + let t249; + if (date == null) dart.nullFailed(I[179], 36, 33, "date"); + let wkday = C[473] || CT.C473; + let month = C[474] || CT.C474; let d = date.toUtc(); - let sb = (t264 = new core.StringBuffer.new(), (() => { - t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); - t264.write(", "); - t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); - t264.write(dart.toString(d.day)); - t264.write(" "); - t264.write(month[$_get](dart.notNull(d.month) - 1)); - t264.write(" "); - t264.write(dart.toString(d.year)); - t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); - t264.write(dart.toString(d.hour)); - t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.minute)); - t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.second)); - t264.write(" GMT"); - return t264; + let sb = (t249 = new core.StringBuffer.new(), (() => { + t249.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t249.write(", "); + t249.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t249.write(dart.toString(d.day)); + t249.write(" "); + t249.write(month[$_get](dart.notNull(d.month) - 1)); + t249.write(" "); + t249.write(dart.toString(d.year)); + t249.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t249.write(dart.toString(d.hour)); + t249.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.minute)); + t249.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.second)); + t249.write(" GMT"); + return t249; })()); return dart.toString(sb); } static parse(date) { - if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + if (date == null) dart.nullFailed(I[179], 85, 32, "date"); let SP = 32; - let wkdays = C[461] || CT.C461; - let weekdays = C[463] || CT.C463; - let months = C[462] || CT.C462; + let wkdays = C[473] || CT.C473; + let weekdays = C[475] || CT.C475; + let months = C[474] || CT.C474; let formatRfc1123 = 0; let formatRfc850 = 1; let formatAsctime = 2; let index = 0; let tmp = null; function expect(s) { - if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (s == null) dart.nullFailed(I[179], 119, 24, "s"); if (date.length - index < s.length) { dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); } @@ -126782,7 +138528,7 @@ _http.HttpDate = class HttpDate extends core.Object { } index = index + s.length; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function expectWeekday() { let weekday = null; let pos = date[$indexOf](",", index); @@ -126811,7 +138557,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(expectWeekday, T$.VoidToint()); function expectMonth(separator) { - if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + if (separator == null) dart.nullFailed(I[179], 158, 28, "separator"); let pos = date[$indexOf](separator, index); if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); tmp = date[$substring](index, pos); @@ -126822,9 +138568,9 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(expectMonth, T$0.StringToint()); function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); let pos = null; - if (separator.length > 0) { + if (separator[$isNotEmpty]) { pos = date[$indexOf](separator, index); } else { pos = date.length; @@ -126878,8 +138624,8 @@ _http.HttpDate = class HttpDate extends core.Object { return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); } static _parseCookieDate(date) { - if (date == null) dart.nullFailed(I[179], 227, 43, "date"); - let monthsLowerCase = C[464] || CT.C464; + if (date == null) dart.nullFailed(I[179], 221, 43, "date"); + let monthsLowerCase = C[476] || CT.C476; let position = 0; function error() { dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); @@ -126890,7 +138636,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isEnd, T$.VoidTobool()); function isDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + if (s == null) dart.nullFailed(I[179], 245, 29, "s"); let char = s[$codeUnitAt](0); if (char === 9) return true; if (char >= 32 && char <= 47) return true; @@ -126901,7 +138647,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isDelimiter, T$.StringTobool()); function isNonDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + if (s == null) dart.nullFailed(I[179], 255, 32, "s"); let char = s[$codeUnitAt](0); if (char >= 0 && char <= 8) return true; if (char >= 10 && char <= 31) return true; @@ -126914,27 +138660,27 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isNonDelimiter, T$.StringTobool()); function isDigit(s) { - if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + if (s == null) dart.nullFailed(I[179], 267, 25, "s"); let char = s[$codeUnitAt](0); if (char > 47 && char < 58) return true; return false; } dart.fn(isDigit, T$.StringTobool()); function getMonth(month) { - if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month == null) dart.nullFailed(I[179], 273, 25, "month"); if (month.length < 3) return -1; return monthsLowerCase[$indexOf](month[$substring](0, 3)); } dart.fn(getMonth, T$0.StringToint()); function toInt(s) { - if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + if (s == null) dart.nullFailed(I[179], 278, 22, "s"); let index = 0; for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) ; return core.int.parse(s[$substring](0, index)); } dart.fn(toInt, T$0.StringToint()); - let tokens = []; + let tokens = T$.JSArrayOfString().of([]); while (!dart.test(isEnd())) { while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) position = position + 1; @@ -126950,15 +138696,15 @@ _http.HttpDate = class HttpDate extends core.Object { let monthStr = null; let yearStr = null; for (let token of tokens) { - if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; - if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { - timeStr = T$.StringN().as(token); - } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { - dayOfMonthStr = T$.StringN().as(token); - } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { - monthStr = T$.StringN().as(token); - } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { - yearStr = T$.StringN().as(token); + if (token[$isEmpty]) continue; + if (timeStr == null && token.length >= 5 && dart.test(isDigit(token[$_get](0))) && (token[$_get](1) === ":" || dart.test(isDigit(token[$_get](1))) && token[$_get](2) === ":")) { + timeStr = token; + } else if (dayOfMonthStr == null && dart.test(isDigit(token[$_get](0)))) { + dayOfMonthStr = token; + } else if (monthStr == null && dart.notNull(getMonth(token)) >= 0) { + monthStr = token; + } else if (yearStr == null && token.length >= 2 && dart.test(isDigit(token[$_get](0))) && dart.test(isDigit(token[$_get](1)))) { + yearStr = token; } } if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { @@ -127001,13 +138747,18 @@ _http.HttpDate = class HttpDate extends core.Object { } return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); } + static ['_#new#tearOff']() { + return new _http.HttpDate.new(); + } }; (_http.HttpDate.new = function() { ; }).prototype = _http.HttpDate.prototype; dart.addTypeTests(_http.HttpDate); dart.addTypeCaches(_http.HttpDate); +dart.setStaticMethodSignature(_http.HttpDate, () => ['format', 'parse', '_parseCookieDate']); dart.setLibraryUri(_http.HttpDate, I[177]); +var protocolVersion$ = dart.privateName(_http, "_HttpHeaders.protocolVersion"); var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); var _mutable = dart.privateName(_http, "_mutable"); var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); @@ -127039,39 +138790,52 @@ var _finalize = dart.privateName(_http, "_finalize"); var _build = dart.privateName(_http, "_build"); var _parseCookies = dart.privateName(_http, "_parseCookies"); _http._HttpHeaders = class _HttpHeaders extends core.Object { + get protocolVersion() { + return this[protocolVersion$]; + } + set protocolVersion(value) { + super.protocolVersion = value; + } + static ['_#new#tearOff'](protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + return new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: defaultPortForScheme, initialHeaders: initialHeaders}); + } _get(name) { - if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + if (name == null) dart.nullFailed(I[180], 45, 36, "name"); return this[_headers][$_get](_http._HttpHeaders._validateField(name)); } value(name) { - if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + if (name == null) dart.nullFailed(I[180], 47, 24, "name"); name = _http._HttpHeaders._validateField(name); let values = this[_headers][$_get](name); if (values == null) return null; - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 51, 12, "values.isNotEmpty"); if (dart.notNull(values[$length]) > 1) { dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); } return values[$_get](0); } add(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 56, 19, "name"); - if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 58, 19, "name"); + if (value == null) dart.nullFailed(I[180], 58, 25, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 58, 38, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); } else { - t266$ = this[_originalHeaderNames]; - t266$ == null ? null : t266$[$remove](lowercaseName); + t251$ = this[_originalHeaderNames]; + t251$ == null ? null : t251$[$remove](lowercaseName); } this[_addAll](lowercaseName, value); } [_addAll](name, value) { - if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (name == null) dart.nullFailed(I[180], 70, 23, "name"); if (core.Iterable.is(value)) { for (let v of value) { this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); @@ -127081,16 +138845,16 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } set(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 78, 19, "name"); - if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 80, 19, "name"); + if (value == null) dart.nullFailed(I[180], 80, 32, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 80, 45, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); this[_headers][$remove](lowercaseName); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](lowercaseName); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](lowercaseName); if (lowercaseName === "content-length") { this[_contentLength] = -1; } @@ -127098,24 +138862,24 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_chunkedTransferEncoding] = false; } if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); } this[_addAll](lowercaseName, value); } remove(name, value) { - let t266; - if (name == null) dart.nullFailed(I[180], 95, 22, "name"); - if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + let t251; + if (name == null) dart.nullFailed(I[180], 97, 22, "name"); + if (value == null) dart.nullFailed(I[180], 97, 35, "value"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); value = _http._HttpHeaders._validateValue(value); let values = this[_headers][$_get](name); if (values != null) { values[$remove](this[_valueToString](value)); - if (values[$length] === 0) { + if (dart.test(values[$isEmpty])) { this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } } if (name === "transfer-encoding" && dart.equals(value, "chunked")) { @@ -127123,34 +138887,34 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } removeAll(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 114, 25, "name"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } forEach(action) { - if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + if (action == null) dart.nullFailed(I[180], 121, 64, "action"); this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 120, 30, "name"); - if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + if (name == null) dart.nullFailed(I[180], 122, 30, "name"); + if (values == null) dart.nullFailed(I[180], 122, 49, "values"); let originalName = this[_originalHeaderName](name); action(originalName, values); }, T$0.StringAndListOfStringTovoid())); } noFolding(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 128, 25, "name"); name = _http._HttpHeaders._validateField(name); - (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + (t251 = this[_noFoldingHeaders], t251 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t251)[$add](name); } get persistentConnection() { return this[_persistentConnection]; } set persistentConnection(persistentConnection) { - if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + if (persistentConnection == null) dart.nullFailed(I[180], 135, 38, "persistentConnection"); this[_checkMutable](); if (persistentConnection == this[_persistentConnection]) return; let originalName = this[_originalHeaderName]("connection"); @@ -127176,7 +138940,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return this[_contentLength]; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[180], 162, 30, "contentLength"); this[_checkMutable](); if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); @@ -127197,7 +138961,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return this[_chunkedTransferEncoding]; } set chunkedTransferEncoding(chunkedTransferEncoding) { - if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 186, 41, "chunkedTransferEncoding"); this[_checkMutable](); if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); @@ -127233,7 +138997,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get ifModifiedSince() { let values = this[_headers][$_get]("if-modified-since"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127258,7 +139022,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get date() { let values = this[_headers][$_get]("date"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127283,7 +139047,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get expires() { let values = this[_headers][$_get]("expires"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127331,79 +139095,85 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_port] = null; } [_add$1](name, value) { - if (name == null) dart.nullFailed(I[180], 322, 20, "name"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 324, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 325, 12, "name == _validateField(name)"); switch (name.length) { case 4: - { - if ("date" === name) { - this[_addDate](name, value); - return; - } - if ("host" === name) { - this[_addHost](name, value); - return; + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; } - break; - } case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; } - break; - } case 10: - { - if ("connection" === name) { - this[_addConnection](name, value); - return; + { + if ("connection" === name) { + this[_addConnection](name, core.String.as(value)); + return; + } + break; } - break; - } case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; } - break; - } case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; } - break; - } case 17: - { - if ("transfer-encoding" === name) { - this[_addTransferEncoding](name, value); - return; - } - if ("if-modified-since" === name) { - this[_addIfModifiedSince](name, value); - return; + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } } - } } this[_addValue](name, core.Object.as(value)); } [_addContentLength](name, value) { - if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (name == null) dart.nullFailed(I[180], 376, 33, "name"); if (core.int.is(value)) { - this.contentLength = value; + if (dart.notNull(value) < 0) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } } else if (typeof value == 'string') { - this.contentLength = core.int.parse(value); + if (!dart.test(_http._digitsValidator.hasMatch(value))) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } + value = core.int.parse(value); } else { dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); } + this.contentLength = value; } [_addTransferEncoding](name, value) { - if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (name == null) dart.nullFailed(I[180], 392, 36, "name"); if (dart.equals(value, "chunked")) { this.chunkedTransferEncoding = true; } else { @@ -127411,7 +139181,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (name == null) dart.nullFailed(I[180], 400, 24, "name"); if (core.DateTime.is(value)) { this.date = value; } else if (typeof value == 'string') { @@ -127421,7 +139191,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (name == null) dart.nullFailed(I[180], 410, 27, "name"); if (core.DateTime.is(value)) { this.expires = value; } else if (typeof value == 'string') { @@ -127431,7 +139201,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (name == null) dart.nullFailed(I[180], 420, 35, "name"); if (core.DateTime.is(value)) { this.ifModifiedSince = value; } else if (typeof value == 'string') { @@ -127441,10 +139211,10 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (name == null) dart.nullFailed(I[180], 430, 24, "name"); if (typeof value == 'string') { - let pos = value[$indexOf](":"); - if (pos === -1) { + let pos = value[$lastIndexOf](":"); + if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { this[_host] = value; this[_port] = 80; } else { @@ -127473,28 +139243,29 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addConnection](name, value) { - if (name == null) dart.nullFailed(I[180], 450, 30, "name"); - let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); - if (dart.equals(lowerCaseValue, "close")) { + if (name == null) dart.nullFailed(I[180], 463, 30, "name"); + if (value == null) dart.nullFailed(I[180], 463, 43, "value"); + let lowerCaseValue = value[$toLowerCase](); + if (lowerCaseValue === "close") { this[_persistentConnection] = false; - } else if (dart.equals(lowerCaseValue, "keep-alive")) { + } else if (lowerCaseValue === "keep-alive") { this[_persistentConnection] = true; } - this[_addValue](name, core.Object.as(value)); + this[_addValue](name, value); } [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + if (name == null) dart.nullFailed(I[180], 473, 31, "name"); this[_set]("content-type", core.String.as(value)); } [_addValue](name, value) { - let t277, t276, t275, t274; - if (name == null) dart.nullFailed(I[180], 464, 25, "name"); - if (value == null) dart.nullFailed(I[180], 464, 38, "value"); - let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + let t262, t261, t260, t259; + if (name == null) dart.nullFailed(I[180], 477, 25, "name"); + if (value == null) dart.nullFailed(I[180], 477, 38, "value"); + let values = (t259 = this[_headers], t260 = name, t261 = t259[$_get](t260), t261 == null ? (t262 = T$.JSArrayOfString().of([]), t259[$_set](t260, t262), t262) : t261); values[$add](this[_valueToString](value)); } [_valueToString](value) { - if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (value == null) dart.nullFailed(I[180], 482, 32, "value"); if (core.DateTime.is(value)) { return _http.HttpDate.format(value); } else if (typeof value == 'string') { @@ -127504,9 +139275,9 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_set](name, value) { - if (name == null) dart.nullFailed(I[180], 479, 20, "name"); - if (value == null) dart.nullFailed(I[180], 479, 33, "value"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 492, 20, "name"); + if (value == null) dart.nullFailed(I[180], 492, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 493, 12, "name == _validateField(name)"); this[_headers][$_set](name, T$.JSArrayOfString().of([value])); } [_checkMutable]() { @@ -127520,7 +139291,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_foldHeader](name) { - if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name == null) dart.nullFailed(I[180], 509, 27, "name"); if (name === "set-cookie") return false; let noFoldingHeaders = this[_noFoldingHeaders]; return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); @@ -127528,11 +139299,17 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { [_finalize]() { this[_mutable] = false; } - [_build](builder) { - if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + [_build](builder, opts) { + if (builder == null) dart.nullFailed(I[180], 519, 28, "builder"); + let skipZeroContentLength = opts && 'skipZeroContentLength' in opts ? opts.skipZeroContentLength : false; + if (skipZeroContentLength == null) dart.nullFailed(I[180], 519, 43, "skipZeroContentLength"); + let ignoreHeader = this[_contentLength] === 0 && dart.test(skipZeroContentLength) ? "content-length" : null; this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 507, 30, "name"); - if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + if (name == null) dart.nullFailed(I[180], 528, 30, "name"); + if (values == null) dart.nullFailed(I[180], 528, 49, "values"); + if (ignoreHeader == name) { + return; + } let originalName = this[_originalHeaderName](name); let fold = this[_foldHeader](name); let nameData = originalName[$codeUnits]; @@ -127561,15 +139338,15 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { toString() { let sb = new core.StringBuffer.new(); this[_headers][$forEach](dart.fn((name, values) => { - let t274, t274$; - if (name == null) dart.nullFailed(I[180], 536, 30, "name"); - if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let t259, t259$; + if (name == null) dart.nullFailed(I[180], 560, 30, "name"); + if (values == null) dart.nullFailed(I[180], 560, 49, "values"); let originalName = this[_originalHeaderName](name); - t274 = sb; + t259 = sb; (() => { - t274.write(originalName); - t274.write(": "); - return t274; + t259.write(originalName); + t259.write(": "); + return t259; })(); let fold = this[_foldHeader](name); for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { @@ -127577,12 +139354,12 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { if (dart.test(fold)) { sb.write(", "); } else { - t274$ = sb; + t259$ = sb; (() => { - t274$.write("\n"); - t274$.write(originalName); - t274$.write(": "); - return t274$; + t259$.write("\n"); + t259$.write(originalName); + t259$.write(": "); + return t259$; })(); } } @@ -127595,7 +139372,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { [_parseCookies]() { let cookies = T$0.JSArrayOfCookie().of([]); function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + if (s == null) dart.nullFailed(I[180], 587, 35, "s"); let index = 0; function done() { return index === -1 || index === s.length; @@ -127627,7 +139404,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (expected == null) dart.nullFailed(I[180], 617, 26, "expected"); if (dart.test(done())) return false; if (s[$_get](index) !== expected) return false; index = index + 1; @@ -127661,18 +139438,17 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } } - dart.fn(parseCookieString, T$.StringTovoid()); + dart.fn(parseCookieString, T$0.StringTovoid()); let values = this[_headers][$_get]("cookie"); if (values != null) { - values[$forEach](dart.fn(headerValue => { - if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); - return parseCookieString(headerValue); - }, T$.StringTovoid())); + for (let headerValue of values) { + parseCookieString(headerValue); + } } return cookies; } static _validateField(field) { - if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + if (field == null) dart.nullFailed(I[180], 658, 39, "field"); for (let i = 0; i < field.length; i = i + 1) { if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); @@ -127681,7 +139457,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return field[$toLowerCase](); } static _validateValue(value) { - if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (value == null) dart.nullFailed(I[180], 668, 39, "value"); if (!(typeof value == 'string')) return value; for (let i = 0; i < value.length; i = i + 1) { if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { @@ -127691,16 +139467,16 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return value; } [_originalHeaderName](name) { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 648, 37, "name"); - t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); - return t275$ == null ? name : t275$; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 679, 37, "name"); + t260$ = (t260 = this[_originalHeaderNames], t260 == null ? null : t260[$_get](name)); + return t260$ == null ? name : t260$; } }; (_http._HttpHeaders.new = function(protocolVersion, opts) { - if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; - if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_originalHeaderNames] = null; this[_mutable] = true; @@ -127710,19 +139486,19 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_chunkedTransferEncoding] = false; this[_host] = null; this[_port] = null; - this.protocolVersion = protocolVersion; + this[protocolVersion$] = protocolVersion; this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); this[_defaultPortForScheme] = defaultPortForScheme; if (initialHeaders != null) { initialHeaders[_headers][$forEach](dart.fn((name, value) => { - let t268, t267, t266; - if (name == null) dart.nullFailed(I[180], 30, 40, "name"); - if (value == null) dart.nullFailed(I[180], 30, 46, "value"); - t266 = this[_headers]; - t267 = name; - t268 = value; - t266[$_set](t267, t268); - return t268; + let t253, t252, t251; + if (name == null) dart.nullFailed(I[180], 32, 40, "name"); + if (value == null) dart.nullFailed(I[180], 32, 46, "value"); + t251 = this[_headers]; + t252 = name; + t253 = value; + t251[$_set](t252, t253); + return t253; }, T$0.StringAndListOfStringTovoid())); this[_contentLength] = initialHeaders[_contentLength]; this[_persistentConnection] = initialHeaders[_persistentConnection]; @@ -127757,7 +139533,7 @@ dart.setMethodSignature(_http._HttpHeaders, () => ({ [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, core.String]), [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), [_valueToString]: dart.fnType(core.String, [core.Object]), @@ -127766,10 +139542,11 @@ dart.setMethodSignature(_http._HttpHeaders, () => ({ [_updateHostHeader]: dart.fnType(dart.void, []), [_foldHeader]: dart.fnType(core.bool, [core.String]), [_finalize]: dart.fnType(dart.void, []), - [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder], {skipZeroContentLength: core.bool}, {}), [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), [_originalHeaderName]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(_http._HttpHeaders, () => ['_validateField', '_validateValue']); dart.setGetterSignature(_http._HttpHeaders, () => ({ __proto__: dart.getGetters(_http._HttpHeaders.__proto__), persistentConnection: core.bool, @@ -127816,13 +139593,18 @@ var _value$5 = dart.privateName(_http, "_value"); var _parse = dart.privateName(_http, "_parse"); var _ensureParameters = dart.privateName(_http, "_ensureParameters"); _http._HeaderValue = class _HeaderValue extends core.Object { + static ['_#new#tearOff'](_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); + return new _http._HeaderValue.new(_value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + if (value == null) dart.nullFailed(I[180], 697, 36, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[180], 698, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[180], 700, 12, "preserveBackslash"); let result = new _http._HeaderValue.new(); result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); return result; @@ -127831,24 +139613,24 @@ _http._HeaderValue = class _HeaderValue extends core.Object { return this[_value$5]; } [_ensureParameters]() { - let t275; - t275 = this[_parameters]; - return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + let t260; + t260 = this[_parameters]; + return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; } get parameters() { - let t275; - t275 = this[_unmodifiableParameters]; - return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + let t260; + t260 = this[_unmodifiableParameters]; + return t260 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t260; } static _isToken(token) { - if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token == null) dart.nullFailed(I[180], 715, 31, "token"); if (token[$isEmpty]) { return false; } let delimiters = "\"(),/:;<=>?@[]{}"; for (let i = 0; i < token.length; i = i + 1) { let codeUnit = token[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$contains](token[$_get](i))) { return false; } } @@ -127858,15 +139640,15 @@ _http._HeaderValue = class _HeaderValue extends core.Object { let sb = new core.StringBuffer.new(); sb.write(this[_value$5]); let parameters = this[_parameters]; - if (parameters != null && dart.notNull(parameters[$length]) > 0) { + if (parameters != null && dart.test(parameters[$isNotEmpty])) { parameters[$forEach](dart.fn((name, value) => { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 705, 34, "name"); - t275 = sb; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 734, 34, "name"); + t260 = sb; (() => { - t275.write("; "); - t275.write(name); - return t275; + t260.write("; "); + t260.write(name); + return t260; })(); if (value != null) { sb.write("="); @@ -127883,11 +139665,11 @@ _http._HeaderValue = class _HeaderValue extends core.Object { start = i; } } - t275$ = sb; + t260$ = sb; (() => { - t275$.write(value[$substring](start)); - t275$.write("\""); - return t275$; + t260$.write(value[$substring](start)); + t260$.write("\""); + return t260$; })(); } } @@ -127896,9 +139678,9 @@ _http._HeaderValue = class _HeaderValue extends core.Object { return sb.toString(); } [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { - if (s == null) dart.nullFailed(I[180], 732, 22, "s"); - if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); - if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + if (s == null) dart.nullFailed(I[180], 765, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 765, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 766, 12, "preserveBackslash"); let index = 0; function done() { return index === s.length; @@ -127922,15 +139704,15 @@ _http._HeaderValue = class _HeaderValue extends core.Object { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (expected == null) dart.nullFailed(I[180], 791, 24, "expected"); if (dart.test(done()) || s[$_get](index) !== expected) { dart.throw(new _http.HttpException.new("Failed to parse header value")); } index = index + 1; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); if (dart.test(done()) || !s[$startsWith](expected, index)) { return false; } @@ -128009,9 +139791,9 @@ _http._HeaderValue = class _HeaderValue extends core.Object { parseParameters(); } }; -(_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { - if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); - if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); +(_http._HeaderValue.new = function(_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); this[_parameters] = null; this[_unmodifiableParameters] = null; this[_value$5] = _value; @@ -128028,6 +139810,7 @@ dart.setMethodSignature(_http._HeaderValue, () => ({ [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) })); +dart.setStaticMethodSignature(_http._HeaderValue, () => ['parse', '_isToken']); dart.setGetterSignature(_http._HeaderValue, () => ({ __proto__: dart.getGetters(_http._HeaderValue.__proto__), value: core.String, @@ -128044,8 +139827,17 @@ dart.defineExtensionMethods(_http._HeaderValue, ['toString']); var _primaryType = dart.privateName(_http, "_primaryType"); var _subType = dart.privateName(_http, "_subType"); _http._ContentType = class _ContentType extends _http._HeaderValue { + static ['_#new#tearOff'](primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static ['_#_#tearOff']() { + return new _http._ContentType.__(); + } static parse(value) { - if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + if (value == null) dart.nullFailed(I[180], 920, 36, "value"); let result = new _http._ContentType.__(); result[_parse](value, ";", null, false); let index = result[_value$5][$indexOf]("/"); @@ -128071,20 +139863,20 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { } }; (_http._ContentType.new = function(primaryType, subType, charset, parameters) { - if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); - if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); - if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); this[_primaryType] = ""; this[_subType] = ""; this[_primaryType] = primaryType; this[_subType] = subType; _http._ContentType.__proto__.new.call(this, ""); function emptyIfNull(string) { - let t275; - t275 = string; - return t275 == null ? "" : t275; + let t260; + t260 = string; + return t260 == null ? "" : t260; } - dart.fn(emptyIfNull, T$0.StringNToString()); + dart.fn(emptyIfNull, T$1.StringNToString()); this[_primaryType] = emptyIfNull(this[_primaryType]); this[_subType] = emptyIfNull(this[_subType]); this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); @@ -128092,11 +139884,11 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { if (nullableParameters != null) { let parameterMap = this[_ensureParameters](); nullableParameters[$forEach](dart.fn((key, value) => { - let t275; - if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let t260; + if (key == null) dart.nullFailed(I[180], 905, 42, "key"); let lowerCaseKey = key[$toLowerCase](); if (lowerCaseKey === "charset") { - value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); } parameterMap[$_set](lowerCaseKey, value); }, T$0.StringAndStringNTovoid())); @@ -128114,6 +139906,7 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { dart.addTypeTests(_http._ContentType); dart.addTypeCaches(_http._ContentType); _http._ContentType[dart.implements] = () => [_http.ContentType]; +dart.setStaticMethodSignature(_http._ContentType, () => ['parse']); dart.setGetterSignature(_http._ContentType, () => ({ __proto__: dart.getGetters(_http._ContentType.__proto__), mimeType: core.String, @@ -128127,11 +139920,54 @@ dart.setFieldSignature(_http._ContentType, () => ({ [_primaryType]: dart.fieldType(core.String), [_subType]: dart.fieldType(core.String) })); +var expires$0 = dart.privateName(_http, "_Cookie.expires"); +var maxAge$ = dart.privateName(_http, "_Cookie.maxAge"); +var domain$ = dart.privateName(_http, "_Cookie.domain"); +var httpOnly$ = dart.privateName(_http, "_Cookie.httpOnly"); +var secure$ = dart.privateName(_http, "_Cookie.secure"); var _path$3 = dart.privateName(_http, "_path"); +var _name$8 = dart.privateName(_http, "_name"); var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); _http._Cookie = class _Cookie extends core.Object { + get expires() { + return this[expires$0]; + } + set expires(value) { + this[expires$0] = value; + } + get maxAge() { + return this[maxAge$]; + } + set maxAge(value) { + this[maxAge$] = value; + } + get domain() { + return this[domain$]; + } + set domain(value) { + this[domain$] = value; + } + get httpOnly() { + return this[httpOnly$]; + } + set httpOnly(value) { + if (value == null) dart.nullFailed(I[180], 950, 8, "httpOnly"); + this[httpOnly$] = value; + } + get secure() { + return this[secure$]; + } + set secure(value) { + if (value == null) dart.nullFailed(I[180], 951, 8, "secure"); + this[secure$] = value; + } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + return new _http._Cookie.new(name, value); + } get name() { - return this[_name$7]; + return this[_name$8]; } get value() { return this[_value$5]; @@ -128144,17 +139980,21 @@ _http._Cookie = class _Cookie extends core.Object { this[_path$3] = newPath; } set name(newName) { - if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); _http._Cookie._validateName(newName); - this[_name$7] = newName; + this[_name$8] = newName; } set value(newValue) { - if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 973, 20, "newValue"); _http._Cookie._validateValue(newValue); this[_value$5] = newValue; } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } [_parseSetCookieValue](s) { - if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + if (s == null) dart.nullFailed(I[180], 986, 36, "s"); let index = 0; function done() { return index === s.length; @@ -128221,8 +140061,8 @@ _http._Cookie = class _Cookie extends core.Object { } }; dart.fn(parseAttributes, T$.VoidTovoid()); - this[_name$7] = _http._Cookie._validateName(parseName()); - if (dart.test(done()) || this[_name$7].length === 0) { + this[_name$8] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$8][$isEmpty]) { dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); } index = index + 1; @@ -128232,46 +140072,46 @@ _http._Cookie = class _Cookie extends core.Object { parseAttributes(); } toString() { - let t275, t275$, t275$0, t275$1, t275$2; + let t260, t260$, t260$0, t260$1, t260$2; let sb = new core.StringBuffer.new(); - t275 = sb; + t260 = sb; (() => { - t275.write(this[_name$7]); - t275.write("="); - t275.write(this[_value$5]); - return t275; + t260.write(this[_name$8]); + t260.write("="); + t260.write(this[_value$5]); + return t260; })(); let expires = this.expires; if (expires != null) { - t275$ = sb; + t260$ = sb; (() => { - t275$.write("; Expires="); - t275$.write(_http.HttpDate.format(expires)); - return t275$; + t260$.write("; Expires="); + t260$.write(_http.HttpDate.format(expires)); + return t260$; })(); } if (this.maxAge != null) { - t275$0 = sb; + t260$0 = sb; (() => { - t275$0.write("; Max-Age="); - t275$0.write(this.maxAge); - return t275$0; + t260$0.write("; Max-Age="); + t260$0.write(this.maxAge); + return t260$0; })(); } if (this.domain != null) { - t275$1 = sb; + t260$1 = sb; (() => { - t275$1.write("; Domain="); - t275$1.write(this.domain); - return t275$1; + t260$1.write("; Domain="); + t260$1.write(this.domain); + return t260$1; })(); } if (this.path != null) { - t275$2 = sb; + t260$2 = sb; (() => { - t275$2.write("; Path="); - t275$2.write(this.path); - return t275$2; + t260$2.write("; Path="); + t260$2.write(this.path); + return t260$2; })(); } if (dart.test(this.secure)) sb.write("; Secure"); @@ -128279,19 +140119,19 @@ _http._Cookie = class _Cookie extends core.Object { return sb.toString(); } static _validateName(newName) { - if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); - let separators = C[465] || CT.C465; + if (newName == null) dart.nullFailed(I[180], 1095, 38, "newName"); + let separators = C[477] || CT.C477; if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); for (let i = 0; i < newName.length; i = i + 1) { let codeUnit = newName[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || dart.test(separators[$contains](newName[$_get](i)))) { dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); } } return newName; } static _validateValue(newValue) { - if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 1130, 39, "newValue"); if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); let start = 0; let end = newValue.length; @@ -128318,28 +140158,28 @@ _http._Cookie = class _Cookie extends core.Object { } }; (_http._Cookie.new = function(name, value) { - if (name == null) dart.nullFailed(I[180], 920, 18, "name"); - if (value == null) dart.nullFailed(I[180], 920, 31, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = _http._Cookie._validateName(name); + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = _http._Cookie._validateName(name); this[_value$5] = _http._Cookie._validateValue(value); - this.httpOnly = true; + this[httpOnly$] = true; ; }).prototype = _http._Cookie.prototype; (_http._Cookie.fromSetCookieValue = function(value) { - if (value == null) dart.nullFailed(I[180], 945, 37, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = ""; + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = ""; this[_value$5] = ""; this[_parseSetCookieValue](value); }).prototype = _http._Cookie.prototype; @@ -128350,6 +140190,7 @@ dart.setMethodSignature(_http._Cookie, () => ({ __proto__: dart.getMethods(_http._Cookie.__proto__), [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(_http._Cookie, () => ['_validateName', '_validateValue', '_validatePath']); dart.setGetterSignature(_http._Cookie, () => ({ __proto__: dart.getGetters(_http._Cookie.__proto__), name: core.String, @@ -128365,7 +140206,7 @@ dart.setSetterSignature(_http._Cookie, () => ({ dart.setLibraryUri(_http._Cookie, I[177]); dart.setFieldSignature(_http._Cookie, () => ({ __proto__: dart.getFields(_http._Cookie.__proto__), - [_name$7]: dart.fieldType(core.String), + [_name$8]: dart.fieldType(core.String), [_value$5]: dart.fieldType(core.String), expires: dart.fieldType(dart.nullable(core.DateTime)), maxAge: dart.fieldType(dart.nullable(core.int)), @@ -128378,11 +140219,11 @@ dart.defineExtensionMethods(_http._Cookie, ['toString']); var _timeline = dart.privateName(_http, "_timeline"); _http.HttpProfiler = class HttpProfiler extends core.Object { static startRequest(method, uri, opts) { - let t275; + let t260; if (method == null) dart.nullFailed(I[181], 13, 12, "method"); if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; - let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + let data = new _http._HttpProfileData.new(method, uri, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); _http.HttpProfiler._profile[$_set](data.id, data); return data; } @@ -128395,13 +140236,13 @@ _http.HttpProfiler = class HttpProfiler extends core.Object { } static toJson(updatedSince) { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t260 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { if (e == null) dart.nullFailed(I[181], 32, 12, "e"); return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); - }, T$0._HttpProfileDataTobool()))) - t275[$add](request.toJson()); - return t275; + }, T$1._HttpProfileDataTobool()))) + t260.push(request.toJson()); + return t260; })()])); } }; @@ -128410,24 +140251,29 @@ _http.HttpProfiler = class HttpProfiler extends core.Object { }).prototype = _http.HttpProfiler.prototype; dart.addTypeTests(_http.HttpProfiler); dart.addTypeCaches(_http.HttpProfiler); +dart.setStaticMethodSignature(_http.HttpProfiler, () => ['startRequest', 'getHttpProfileRequest', 'clear', 'toJson']); dart.setLibraryUri(_http.HttpProfiler, I[177]); +dart.setStaticFieldSignature(_http.HttpProfiler, () => ['_kType', '_profile']); dart.defineLazy(_http.HttpProfiler, { /*_http.HttpProfiler._kType*/get _kType() { return "HttpProfile"; }, /*_http.HttpProfiler._profile*/get _profile() { - return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); - }, - set _profile(_) {} + return new (T$1.IdentityMapOfint$_HttpProfileData()).new(); + } }, false); _http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + static ['_#new#tearOff'](name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + return new _http._HttpProfileEvent.new(name, $arguments); + } toJson() { return (() => { - let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); - t276[$_set]("timestamp", this.timestamp); - t276[$_set]("event", this.name); - if (this.arguments != null) t276[$_set]("arguments", this.arguments); - return t276; + let t261 = new (T$0.IdentityMapOfString$dynamic()).new(); + t261[$_set]("timestamp", this.timestamp); + t261[$_set]("event", this.name); + if (this.arguments != null) t261[$_set]("arguments", this.arguments); + return t261; })(); } }; @@ -128467,6 +140313,11 @@ var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_Htt var _updated = dart.privateName(_http, "_updated"); var _responseTimeline = dart.privateName(_http, "_responseTimeline"); _http._HttpProfileData = class _HttpProfileData extends core.Object { + static ['_#new#tearOff'](method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + return new _http._HttpProfileData.new(method, uri, parent); + } requestEvent(name, opts) { if (name == null) dart.nullFailed(I[181], 76, 28, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; @@ -128477,11 +140328,11 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { proxyEvent(proxy) { if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); this.proxyDetails = (() => { - let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (proxy.host != null) t277[$_set]("host", proxy.host); - if (proxy.port != null) t277[$_set]("port", proxy.port); - if (proxy.username != null) t277[$_set]("username", proxy.username); - return t277; + let t262 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t262[$_set]("host", proxy.host); + if (proxy.port != null) t262[$_set]("port", proxy.port); + if (proxy.username != null) t262[$_set]("username", proxy.username); + return t262; })(); this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); this[_updated](); @@ -128491,63 +140342,64 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this.requestBody[$addAll](data); this[_updated](); } - formatHeaders(r) { - let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); - dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { - headers[$_set](core.String.as(name), T$.ListOfString().as(values)); - }, T$.dynamicAnddynamicToNull())]); - return headers; + formatHeaders(headers) { + if (headers == null) dart.nullFailed(I[181], 99, 33, "headers"); + let newHeaders = new (T$0.IdentityMapOfString$ListOfString()).new(); + headers.forEach(dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[181], 101, 22, "name"); + if (values == null) dart.nullFailed(I[181], 101, 28, "values"); + newHeaders[$_set](name, values); + }, T$0.StringAndListOfStringTovoid())); + return newHeaders; } - formatConnectionInfo(r) { - let t278, t278$, t278$0; - return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + formatConnectionInfo(connectionInfo) { + return connectionInfo == null ? null : new _js_helper.LinkedMap.from(["localPort", connectionInfo.localPort, "remoteAddress", connectionInfo.remoteAddress.address, "remotePort", connectionInfo.remotePort]); } finishRequest(opts) { let request = opts && 'request' in opts ? opts.request : null; - if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + if (request == null) dart.nullFailed(I[181], 117, 32, "request"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; - this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { - let t278 = T$.JSArrayOfString().of([]); + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request.headers), "connectionInfo", this.formatConnectionInfo(request.connectionInfo), "contentLength", request.contentLength, "cookies", (() => { + let t263 = T$.JSArrayOfString().of([]); for (let cookie of request.cookies) - t278[$add](dart.toString(cookie)); - return t278; + t263.push(dart.toString(cookie)); + return t263; })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); this[_timeline].finish({arguments: this.requestDetails}); this[_updated](); } startResponse(opts) { let response = opts && 'response' in opts ? opts.response : null; - if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + if (response == null) dart.nullFailed(I[181], 143, 51, "response"); function formatRedirectInfo() { - let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + let redirects = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let redirect of response.redirects) { redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); } return redirects; } - dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); - this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { - let t279 = T$.JSArrayOfString().of([]); + dart.fn(formatRedirectInfo, T$1.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response.headers), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response.connectionInfo), "contentLength", response.contentLength, "cookies", (() => { + let t264 = T$.JSArrayOfString().of([]); for (let cookie of response.cookies) - t279[$add](dart.toString(cookie)); - return t279; + t264.push(dart.toString(cookie)); + return t264; })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); - if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 171, 12, "!requestInProgress"); this.responseInProgress = true; this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); this.responseStartTimestamp = developer.Timeline.now; this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { - let t280 = new _js_helper.LinkedMap.new(); - t280[$_set]("requestUri", dart.toString(this.uri)); - for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) - t280[$_set](t281.key, t281.value); - return t280; + let t265 = new _js_helper.LinkedMap.new(); + t265[$_set]("requestUri", dart.toString(this.uri)); + t265[$addAll](dart.nullCheck(this.responseDetails)); + return t265; })()}); this[_updated](); } finishRequestWithError(error) { - if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + if (error == null) dart.nullFailed(I[181], 189, 38, "error"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; this.requestError = error; @@ -128562,7 +140414,7 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this[_updated](); } finishResponseWithError(error) { - if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (error == null) dart.nullFailed(I[181], 207, 39, "error"); if (!dart.nullCheck(this.responseInProgress)) return; this.responseInProgress = false; this.responseEndTimestamp = developer.Timeline.now; @@ -128571,134 +140423,131 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this[_updated](); } appendResponseData(data) { - if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + if (data == null) dart.nullFailed(I[181], 220, 37, "data"); this.responseBody[$addAll](data); this[_updated](); } toJson(opts) { let ref = opts && 'ref' in opts ? opts.ref : true; - if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + if (ref == null) dart.nullFailed(I[181], 225, 37, "ref"); return (() => { - let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); - t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); - t282[$_set]("id", this.id); - t282[$_set]("isolateId", _http._HttpProfileData.isolateId); - t282[$_set]("method", this.method); - t282[$_set]("uri", dart.toString(this.uri)); - t282[$_set]("startTime", this.requestStartTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { - let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); - t283[$_set]("events", (() => { - let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t266 = new (T$0.IdentityMapOfString$dynamic()).new(); + t266[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t266[$_set]("id", this.id); + t266[$_set]("isolateId", _http._HttpProfileData.isolateId); + t266[$_set]("method", this.method); + t266[$_set]("uri", dart.toString(this.uri)); + t266[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("request", (() => { + let t267 = new (T$0.IdentityMapOfString$dynamic()).new(); + t267[$_set]("events", (() => { + let t268 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let event of this.requestEvents) - t284[$add](event.toJson()); - return t284; + t268.push(event.toJson()); + return t268; })()); - if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); - if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) - t283[$_set](t285.key, t285.value); - if (this.requestError != null) t283[$_set]("error", this.requestError); - return t283; + if (this.proxyDetails != null) t267[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) t267[$addAll](dart.nullCheck(this.requestDetails)); + if (this.requestError != null) t267[$_set]("error", this.requestError); + return t267; + })()); + if (this.responseInProgress != null) t266[$_set]("response", (() => { + let t269 = new (T$0.IdentityMapOfString$dynamic()).new(); + t269[$_set]("startTime", this.responseStartTimestamp); + t269[$addAll](dart.nullCheck(this.responseDetails)); + if (!dart.nullCheck(this.responseInProgress)) t269[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t269[$_set]("error", this.responseError); + return t269; })()); - if (this.responseInProgress != null) t282[$_set]("response", (() => { - let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); - t286[$_set]("startTime", this.responseStartTimestamp); - for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) - t286[$_set](t287.key, t287.value); - if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); - if (this.responseError != null) t286[$_set]("error", this.responseError); - return t286; + if (!dart.test(ref)) t266[$addAll]((() => { + let t270 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t270[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t270[$_set]("responseBody", this.responseBody); + return t270; })()); - if (!dart.test(ref)) for (let t289 of (() => { - let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); - if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); - return t288; - })()[$entries]) - t282[$_set](t289.key, t289.value); - return t282; + return t266; })(); } [_updated]() { return this[_lastUpdateTime] = developer.Timeline.now; } get id() { - let t290; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + let t271; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); } - set id(t290) { - if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + set id(id$35param) { + if (id$35param == null) dart.nullFailed(I[181], 264, 18, "id#param"); if (dart.test(this[___HttpProfileData_id_isSet])) dart.throw(new _internal.LateError.fieldAI("id")); else { this[___HttpProfileData_id_isSet] = true; - this[___HttpProfileData_id] = t290; + this[___HttpProfileData_id] = id$35param; } } get requestStartTimestamp() { - let t291; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); } - set requestStartTimestamp(t291) { - if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + set requestStartTimestamp(requestStartTimestamp$35param) { + if (requestStartTimestamp$35param == null) dart.nullFailed(I[181], 268, 18, "requestStartTimestamp#param"); if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); else { this[___HttpProfileData_requestStartTimestamp_isSet] = true; - this[___HttpProfileData_requestStartTimestamp] = t291; + this[___HttpProfileData_requestStartTimestamp] = requestStartTimestamp$35param; } } get requestEndTimestamp() { - let t292; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); } - set requestEndTimestamp(t292) { - if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + set requestEndTimestamp(requestEndTimestamp$35param) { + if (requestEndTimestamp$35param == null) dart.nullFailed(I[181], 269, 18, "requestEndTimestamp#param"); if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); else { this[___HttpProfileData_requestEndTimestamp_isSet] = true; - this[___HttpProfileData_requestEndTimestamp] = t292; + this[___HttpProfileData_requestEndTimestamp] = requestEndTimestamp$35param; } } get responseStartTimestamp() { - let t293; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); } - set responseStartTimestamp(t293) { - if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + set responseStartTimestamp(responseStartTimestamp$35param) { + if (responseStartTimestamp$35param == null) dart.nullFailed(I[181], 276, 18, "responseStartTimestamp#param"); if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); else { this[___HttpProfileData_responseStartTimestamp_isSet] = true; - this[___HttpProfileData_responseStartTimestamp] = t293; + this[___HttpProfileData_responseStartTimestamp] = responseStartTimestamp$35param; } } get responseEndTimestamp() { - let t294; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); } - set responseEndTimestamp(t294) { - if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + set responseEndTimestamp(responseEndTimestamp$35param) { + if (responseEndTimestamp$35param == null) dart.nullFailed(I[181], 277, 18, "responseEndTimestamp#param"); if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); else { this[___HttpProfileData_responseEndTimestamp_isSet] = true; - this[___HttpProfileData_responseEndTimestamp] = t294; + this[___HttpProfileData_responseEndTimestamp] = responseEndTimestamp$35param; } } get lastUpdateTime() { return this[_lastUpdateTime]; } get [_responseTimeline]() { - let t295; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + let t271; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); } - set [_responseTimeline](t295) { - if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + set [_responseTimeline](_responseTimeline$35param) { + if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = t295; + this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; } }; (_http._HttpProfileData.new = function(method, uri, parent) { @@ -128716,7 +140565,7 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this.proxyDetails = null; this.requestBody = T$.JSArrayOfint().of([]); this.requestError = null; - this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); this[___HttpProfileData_responseStartTimestamp] = null; this[___HttpProfileData_responseStartTimestamp_isSet] = false; this[___HttpProfileData_responseEndTimestamp] = null; @@ -128743,8 +140592,8 @@ dart.setMethodSignature(_http._HttpProfileData, () => ({ requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), proxyEvent: dart.fnType(dart.void, [_http._Proxy]), appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), - formatHeaders: dart.fnType(core.Map, [dart.dynamic]), - formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + formatHeaders: dart.fnType(core.Map, [_http.HttpHeaders]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.nullable(_http.HttpConnectionInfo)]), finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), finishRequestWithError: dart.fnType(dart.void, [core.String]), @@ -128799,10 +140648,11 @@ dart.setFieldSignature(_http._HttpProfileData, () => ({ responseBody: dart.finalFieldType(core.List$(core.int)), responseError: dart.fieldType(dart.nullable(core.String)), [_lastUpdateTime]: dart.fieldType(core.int), - [_timeline]: dart.fieldType(developer.TimelineTask), + [_timeline]: dart.finalFieldType(developer.TimelineTask), [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(_http._HttpProfileData, () => ['isolateId']); dart.defineLazy(_http._HttpProfileData, { /*_http._HttpProfileData.isolateId*/get isolateId() { return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); @@ -128820,18 +140670,19 @@ _http._ServiceObject = class _ServiceObject extends core.Object { return this[__serviceId$]; } set [__serviceId$0](value) { + if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); this[__serviceId$] = value; } get [_serviceId$]() { - let t296; - if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + let t271; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t271 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t271) + 1, t271); return this[__serviceId$0]; } get [_servicePath$]() { return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); } [_serviceType$](ref) { - if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (ref == null) dart.nullFailed(I[181], 305, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); return this[_serviceTypeName$]; } @@ -128860,15 +140711,19 @@ var _length$1 = dart.privateName(_http, "_length"); var _buffer$1 = dart.privateName(_http, "_buffer"); var _grow$0 = dart.privateName(_http, "_grow"); _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff'](initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); + return new _http._CopyingBytesBuilder.new(initialCapacity); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 325, 22, "bytes"); let bytesLength = bytes[$length]; if (bytesLength === 0) return; let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); if (dart.notNull(this[_buffer$1][$length]) < required) { this[_grow$0](required); } - if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 332, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer$1][$setRange](this[_length$1], required, bytes); } else { @@ -128879,16 +140734,16 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { this[_length$1] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (byte == null) dart.nullFailed(I[181], 343, 20, "byte"); if (this[_buffer$1][$length] == this[_length$1]) { this[_grow$0](this[_length$1]); } - if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 349, 12, "_buffer.length > _length"); this[_buffer$1][$_set](this[_length$1], byte); this[_length$1] = dart.notNull(this[_length$1]) + 1; } [_grow$0](required) { - if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + if (required == null) dart.nullFailed(I[181], 354, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -128923,8 +140778,8 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[181], 394, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + if (x == null) dart.nullFailed(I[181], 392, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 393, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -128935,7 +140790,7 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { } }; (_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); this[_length$1] = 0; this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); ; @@ -128952,6 +140807,7 @@ dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ toBytes: dart.fnType(typed_data.Uint8List, []), clear: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_http._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), length: core.int, @@ -128964,6 +140820,7 @@ dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ [_length$1]: dart.fieldType(core.int), [_buffer$1]: dart.fieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(_http._CopyingBytesBuilder, () => ['_INIT_SIZE', '_emptyList']); dart.defineLazy(_http._CopyingBytesBuilder, { /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { return 1024; @@ -128979,30 +140836,36 @@ _http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8 get transferLength() { return this[_transferLength$]; } + static ['_#new#tearOff'](headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + return new _http._HttpIncoming.new(headers, _transferLength, _stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; this.hasSubscriber = true; return this[_stream$1].handleError(dart.fn(error => { - dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); - }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + dart.throw(new _http.HttpException.new(_http.HttpException.as(error).message, {uri: this.uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => _http.HttpException.is(error), T$0.dynamicTobool())}).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } get dataDone() { return this[_dataCompleter].future; } close(closing) { - if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + if (closing == null) dart.nullFailed(I[181], 449, 19, "closing"); this.fullBodyRead = true; this.hasSubscriber = true; this[_dataCompleter].complete(closing); } }; (_http._HttpIncoming.new = function(headers, _transferLength, _stream) { - if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); - if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); - if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); - this[_dataCompleter] = async.Completer.new(); + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + this[_dataCompleter] = T$1.CompleterOfbool().new(); this.fullBodyRead = false; this.upgraded = false; this.statusCode = null; @@ -129026,14 +140889,14 @@ dart.setMethodSignature(_http._HttpIncoming, () => ({ dart.setGetterSignature(_http._HttpIncoming, () => ({ __proto__: dart.getGetters(_http._HttpIncoming.__proto__), transferLength: core.int, - dataDone: async.Future + dataDone: async.Future$(core.bool) })); dart.setLibraryUri(_http._HttpIncoming, I[177]); dart.setFieldSignature(_http._HttpIncoming, () => ({ __proto__: dart.getFields(_http._HttpIncoming.__proto__), [_transferLength$]: dart.finalFieldType(core.int), - [_dataCompleter]: dart.finalFieldType(async.Completer), - [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + [_dataCompleter]: dart.finalFieldType(async.Completer$(core.bool)), + [_stream$1]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), fullBodyRead: dart.fieldType(core.bool), headers: dart.finalFieldType(_http._HttpHeaders), upgraded: dart.fieldType(core.bool), @@ -129047,9 +140910,9 @@ var _cookies = dart.privateName(_http, "_cookies"); var _incoming$ = dart.privateName(_http, "_incoming"); _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129065,7 +140928,7 @@ _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends asyn } }; (_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessageListInt.__proto__.new.call(this); @@ -129089,9 +140952,9 @@ dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ })); _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129107,7 +140970,7 @@ _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(type } }; (_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessage.__proto__.new.call(this); @@ -129139,6 +141002,13 @@ var _markSeen = dart.privateName(_http, "_markSeen"); var _socket$0 = dart.privateName(_http, "_socket"); var _destroyed = dart.privateName(_http, "_destroyed"); _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + static ['_#new#tearOff'](response, _incoming, _httpServer, _httpConnection) { + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); + return new _http._HttpRequest.new(response, _incoming, _httpServer, _httpConnection); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -129187,11 +141057,11 @@ _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { } }; (_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { - let t296; - if (response == null) dart.nullFailed(I[181], 497, 21, "response"); - if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); - if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); - if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + let t271; + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); this[_session] = null; this[_requestedUri] = null; this.response = response; @@ -129199,21 +141069,21 @@ _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { this[_httpConnection$] = _httpConnection; _http._HttpRequest.__proto__.new.call(this, _incoming); if (this.headers.protocolVersion === "1.1") { - t296 = this.response.headers; + t271 = this.response.headers; (() => { - t296.chunkedTransferEncoding = true; - t296.persistentConnection = this.headers.persistentConnection; - return t296; + t271.chunkedTransferEncoding = true; + t271.persistentConnection = this.headers.persistentConnection; + return t271; })(); } if (this[_httpServer$][_sessionManagerInstance] != null) { let sessionIds = this.cookies[$where](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + if (cookie == null) dart.nullFailed(I[181], 507, 19, "cookie"); return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); return cookie.value; - }, T$0.CookieToString())); + }, T$1.CookieToString())); for (let sessionId of sessionIds) { let session = this[_httpServer$][_sessionManager$].getSession(sessionId); this[_session] = session; @@ -129269,9 +141139,15 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound get redirects() { return this[_httpRequest$][_responseRedirects]; } + static ['_#new#tearOff'](_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); + return new _http._HttpClientResponse.new(_incoming, _httpRequest, _httpClient, _profileData); + } static _getCompressionState(httpClient, headers) { - if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); - if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (httpClient == null) dart.nullFailed(I[181], 596, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 596, 44, "headers"); if (headers.value("content-encoding") === "gzip") { return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; } else { @@ -129328,72 +141204,71 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound if (followLoops !== true) { for (let redirect of this.redirects) { if (dart.equals(redirect.location, url)) { - return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); } } } - return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - let t296; - if (request == null) dart.nullFailed(I[181], 671, 16, "request"); - t296 = request[_responseRedirects]; + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$], {isRedirect: true}).then(_http.HttpClientResponse, dart.fn(request => { + let t271; + if (request == null) dart.nullFailed(I[181], 669, 16, "request"); + t271 = request[_responseRedirects]; (() => { - t296[$addAll](this.redirects); - t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t296; + t271[$addAll](this.redirects); + t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t271; })(); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); } listen(onData, opts) { - let t296; + let t271; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (dart.test(this[_incoming$].upgraded)) { - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); this[_httpRequest$][_httpClientConnection$].destroy(); - return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + return new (T$1._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); } let stream = this[_incoming$]; if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { - stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[478] || CT.C478); } if (this[_profileData$] != null) { stream = stream.map(typed_data.Uint8List, dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 698, 28, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendResponseData(data); + let t271; + if (data == null) dart.nullFailed(I[181], 696, 28, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendResponseData(data); return data; - }, T$0.Uint8ListToUint8List())); + }, T$1.Uint8ListToUint8List())); } return stream.listen(onData, {onError: dart.fn((e, st) => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); if (onError == null) { return; } - if (T$.ObjectTovoid().is(onError)) { - onError(core.Object.as(e)); + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + onError(core.Object.as(e), core.StackTrace.as(st)); } else { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); - dart.dcall(onError, [e, st]); + T$.ObjectTovoid().as(onError)(core.Object.as(e)); } }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponse(); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponse(); if (onDone != null) { onDone(); } }, T$.VoidTovoid()), cancelOnError: cancelOnError}); } detachSocket() { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Socket has been detached"); this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); return this[_httpRequest$][_httpClientConnection$].detachSocket(); } @@ -129409,58 +141284,59 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound return this.statusCode === 401 && challenge != null && challenge[$length] === 1; } [_authenticate](proxyAuth) { - let t296, t296$; - if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Authentication"); + let t271, t271$; + if (proxyAuth == null) dart.nullFailed(I[181], 743, 49, "proxyAuth"); + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Authentication"); const retry = () => { - let t296; - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Retrying"); - return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + let t271; + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$], {isRedirect: false}).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 753, 20, "request"); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); }; - dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + dart.fn(retry, T$1.VoidToFutureOfHttpClientResponse()); const authChallenge = () => { return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); }; - dart.fn(authChallenge, T$0.VoidToListNOfString()); + dart.fn(authChallenge, T$1.VoidToListNOfString()); const findCredentials = scheme => { - if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 763, 57, "scheme"); return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); }; - dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + dart.fn(findCredentials, T$1._AuthenticationSchemeTo_CredentialsN()); const removeCredentials = cr => { - if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (cr == null) dart.nullFailed(I[181], 769, 41, "cr"); if (dart.test(proxyAuth)) { this[_httpClient$][_removeProxyCredentials](cr); } else { this[_httpClient$][_removeCredentials](cr); } }; - dart.fn(removeCredentials, T$0._CredentialsTovoid()); + dart.fn(removeCredentials, T$1._CredentialsTovoid()); const requestAuthentication = (scheme, realm) => { - if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 778, 31, "scheme"); if (dart.test(proxyAuth)) { let authenticateProxy = this[_httpClient$][_authenticateProxy]; if (authenticateProxy == null) { return T$.FutureOfbool().value(false); } let proxy = this[_httpRequest$][_proxy$]; - return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); - } else { - let authenticate = this[_httpClient$][_authenticate]; - if (authenticate == null) { - return T$.FutureOfbool().value(false); + if (!dart.test(proxy.isDirect)) { + return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), dart.toString(scheme), realm); } - return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); } + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return authenticate(this[_httpRequest$].uri, dart.toString(scheme), realm); }; - dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + dart.fn(requestAuthentication, T$1._AuthenticationSchemeAndStringNToFutureOfbool()); let challenge = dart.nullCheck(authChallenge()); - if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 798, 12, "challenge.length == 1"); let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); let scheme = _http._AuthenticationScheme.fromString(header.value); let realm = header.parameters[$_get]("realm"); @@ -129475,13 +141351,13 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound let nonce = cr.nonce; if (nonce == null || nonce == header.parameters[$_get]("nonce")) { if (nonce == null) { - t296$ = cr; + t271$ = cr; (() => { - t296$.nonce = header.parameters[$_get]("nonce"); - t296$.algorithm = "MD5"; - t296$.qop = header.parameters[$_get]("qop"); - t296$.nonceCount = 0; - return t296$; + t271$.nonce = header.parameters[$_get]("nonce"); + t271$.algorithm = "MD5"; + t271$.qop = header.parameters[$_get]("qop"); + t271$.nonceCount = 0; + return t271$; })(); } return retry(); @@ -129500,20 +141376,20 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound cr = null; } return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { - if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (credsAvailable == null) dart.nullFailed(I[181], 853, 55, "credsAvailable"); if (dart.test(credsAvailable)) { cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); return retry(); } else { return this; } - }, T$0.boolToFutureOrOfHttpClientResponse())); + }, T$1.boolToFutureOrOfHttpClientResponse())); } }; (_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { - if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); - if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); - if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); this[_httpRequest$] = _httpRequest; this[_httpClient$] = _httpClient; this[_profileData$] = _profileData; @@ -129531,6 +141407,7 @@ dart.setMethodSignature(_http._HttpClientResponse, () => ({ detachSocket: dart.fnType(async.Future$(io.Socket), []), [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) })); +dart.setStaticMethodSignature(_http._HttpClientResponse, () => ['_getCompressionState']); dart.setGetterSignature(_http._HttpClientResponse, () => ({ __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), redirects: core.List$(_http.RedirectInfo), @@ -129551,14 +141428,17 @@ dart.setFieldSignature(_http._HttpClientResponse, () => ({ [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) })); _http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + static ['_#new#tearOff']() { + return new _http._ToUint8List.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + if (input == null) dart.nullFailed(I[181], 868, 31, "input"); return _native_typed_data.NativeUint8List.fromList(input); } startChunkedConversion(sink) { - T$0.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + T$1.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); return new _http._Uint8ListConversionSink.new(sink); } }; @@ -129582,9 +141462,13 @@ _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Obj set [_target$2](value) { super[_target$2] = value; } + static ['_#new#tearOff'](_target) { + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); + return new _http._Uint8ListConversionSink.new(_target); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + if (data == null) dart.nullFailed(I[181], 880, 22, "data"); this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); } close() { @@ -129592,7 +141476,7 @@ _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Obj } }; (_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); this[_target$1] = _target; ; }).prototype = _http._Uint8ListConversionSink.prototype; @@ -129621,9 +141505,13 @@ var _completeDoneValue$ = dart.privateName(_http, "_completeDoneValue"); var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); _http._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + return new (_http._StreamSinkImpl$(T)).new(_target); + } add(data) { T.as(data); if (dart.test(this[_isClosed$0])) { @@ -129632,15 +141520,15 @@ _http._StreamSinkImpl$ = dart.generic(T => { this[_controller$0].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (error == null) dart.nullFailed(I[181], 907, 24, "error"); if (dart.test(this[_isClosed$0])) { dart.throw(new core.StateError.new("StreamSink is closed")); } this[_controller$0].addError(error, stackTrace); } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 914, 30, "stream"); if (dart.test(this[_isBound$])) { dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); } @@ -129698,8 +141586,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { } } [_completeDoneError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[181], 979, 34, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 978, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 978, 52, "stackTrace"); if (!dart.test(this[_doneCompleter$].isCompleted)) { this[_hasError$0] = true; this[_doneCompleter$].completeError(error, stackTrace); @@ -129713,7 +141601,7 @@ _http._StreamSinkImpl$ = dart.generic(T => { dart.throw(new core.StateError.new("StreamSink is closed")); } if (this[_controllerInstance$] == null) { - this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerInstance$] = __t$StreamControllerOfT().new({sync: true}); this[_controllerCompleter$] = async.Completer.new(); this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { if (dart.test(this[_isBound$])) { @@ -129724,8 +141612,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { this[_closeTarget$](); } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 1005, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1005, 45, "stackTrace"); if (dart.test(this[_isBound$])) { dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); this[_controllerCompleter$] = null; @@ -129739,8 +141627,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { } } (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); - this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + this[_doneCompleter$] = T$1.CompleterOfvoid().new(); this[_controllerInstance$] = null; this[_controllerCompleter$] = null; this[_isClosed$0] = false; @@ -129784,7 +141672,6 @@ _http._StreamSinkImpl$ = dart.generic(T => { }); _http._StreamSinkImpl = _http._StreamSinkImpl$(); dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); -var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); var _encoding$0 = dart.privateName(_http, "_encoding"); var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); @@ -129792,33 +141679,32 @@ var __IOSink_encoding$ = dart.privateName(_http, "_#IOSink#encoding"); var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { - get [_profileData$]() { - return this[_profileData$0]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); + return new _http._IOSinkImpl.new(target, _encoding, _profileData); } get encoding() { return this[_encoding$0]; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (value == null) dart.nullFailed(I[181], 1033, 30, "value"); if (!dart.test(this[_encodingMutable$])) { dart.throw(new core.StateError.new("IOSink encoding is not mutable")); } this[_encoding$0] = value; } write(obj) { - let t296; + let t271; let string = dart.str(obj); if (string[$isEmpty]) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); super.add(this[_encoding$0].encode(string)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 1051, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1051, 43, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; if (separator[$isEmpty]) { @@ -129838,28 +141724,29 @@ _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$( this.write("\n"); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 1072, 26, "charCode"); this.write(core.String.fromCharCode(charCode)); } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 1022, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._IOSinkImpl.new = function(target, _encoding, _profileData) { - if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); this[_encodingMutable$] = true; this[_encoding$0] = _encoding; - this[_profileData$0] = _profileData; + this[_profileData$] = _profileData; _http._IOSinkImpl.__proto__.new.call(this, target); ; }).prototype = _http._IOSinkImpl.prototype; @@ -129876,13 +141763,13 @@ dart.setMethodSignature(_http._IOSinkImpl, () => ({ dart.setGetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._IOSinkImpl, I[177]); @@ -129904,26 +141791,26 @@ _http._HttpOutboundMessage$ = dart.generic(T => { return this.headers.contentLength; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[181], 1105, 30, "contentLength"); this.headers.contentLength = contentLength; } get persistentConnection() { return this.headers.persistentConnection; } set persistentConnection(p) { - if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + if (p == null) dart.nullFailed(I[181], 1110, 38, "p"); this.headers.persistentConnection = p; } get bufferOutput() { return this[_bufferOutput]; } set bufferOutput(bufferOutput) { - if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (bufferOutput == null) dart.nullFailed(I[181], 1115, 30, "bufferOutput"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_bufferOutput] = bufferOutput; } get encoding() { - let t296; + let t271; if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { return this[_encoding$0]; } @@ -129934,34 +141821,34 @@ _http._HttpOutboundMessage$ = dart.generic(T => { } else { charset = "iso-8859-1"; } - t296 = convert.Encoding.getByName(charset); - return t296 == null ? convert.latin1 : t296; + t271 = convert.Encoding.getByName(charset); + return t271 == null ? convert.latin1 : t271; } set encoding(value) { super.encoding = value; } add(data) { - let t296; + let t271; T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); - if (data[$length] === 0) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + if (data == null) dart.nullFailed(I[181], 1134, 22, "data"); + if (dart.test(data[$isEmpty])) return; + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); super.add(data); } addStream(s) { T$0.StreamOfListOfint().as(s); - if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (s == null) dart.nullFailed(I[181], 1140, 38, "s"); if (this[_profileData$] == null) { return super.addStream(s); } return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + let t271; + if (data == null) dart.nullFailed(I[181], 1144, 35, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); return data; - }, T$0.ListOfintToListOfint()))); + }, T$1.ListOfintToListOfint()))); } write(obj) { if (!dart.test(this[_encodingSet])) { @@ -129975,14 +141862,14 @@ _http._HttpOutboundMessage$ = dart.generic(T => { } } (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1089, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1089, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1089, 71, "outgoing"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_encodingSet] = false; this[_bufferOutput] = true; this[_uri] = uri; - this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: dart.test(uri.isScheme("https")) ? 443 : 80, initialHeaders: initialHeaders}); this[_outgoing] = outgoing; _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); this[_outgoing].outbound = this; @@ -130026,19 +141913,26 @@ var _findReasonPhrase = dart.privateName(_http, "_findReasonPhrase"); var _isNew = dart.privateName(_http, "_isNew"); var _writeHeader = dart.privateName(_http, "_writeHeader"); _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + static ['_#new#tearOff'](uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); + return new _http._HttpResponse.new(uri, protocolVersion, outgoing, defaultHeaders, serverHeader); + } get [_isConnectionClosed]() { return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; } get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t271; } get statusCode() { return this[_statusCode]; } set statusCode(statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1186, 27, "statusCode"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_statusCode] = statusCode; } @@ -130046,14 +141940,14 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h return this[_findReasonPhrase](this.statusCode); } set reasonPhrase(reasonPhrase) { - if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (reasonPhrase == null) dart.nullFailed(I[181], 1192, 32, "reasonPhrase"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_reasonPhrase] = reasonPhrase; } redirect(location, opts) { - if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + if (location == null) dart.nullFailed(I[181], 1197, 23, "location"); let status = opts && 'status' in opts ? opts.status : 302; - if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (status == null) dart.nullFailed(I[181], 1197, 38, "status"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this.statusCode = status; this.headers.set("location", dart.toString(location)); @@ -130061,13 +141955,13 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h } detachSocket(opts) { let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (writeHeaders == null) dart.nullFailed(I[181], 1204, 37, "writeHeaders"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); this.deadline = null; let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); if (dart.test(writeHeaders)) { let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); - if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1211, 14, "headersFuture == null"); } else { this[_outgoing].headersWritten = true; } @@ -130083,9 +141977,9 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h return this[_deadline]; } set deadline(d) { - let t296; - t296 = this[_deadlineTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_deadlineTimer]; + t271 == null ? null : t271.cancel(); this[_deadline] = d; if (d == null) return; this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { @@ -130093,7 +141987,7 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h }, T$.VoidTovoid())); } [_writeHeader]() { - let t296, t296$, t296$0; + let t271, t271$, t271$0; let buffer = new _http._CopyingBytesBuilder.new(8192); if (this.headers.protocolVersion === "1.1") { buffer.add(_http._Const.HTTP11); @@ -130112,30 +142006,30 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h let found = false; for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t296 = this.cookies[$_get](i); + t271 = this.cookies[$_get](i); (() => { - t296.value = session.id; - t296.httpOnly = true; - t296.path = "/"; - return t296; + t271.value = session.id; + t271.httpOnly = true; + t271.path = "/"; + return t271; })(); found = true; } } if (!found) { let cookie = _http.Cookie.new("DARTSESSID", session.id); - this.cookies[$add]((t296$ = cookie, (() => { - t296$.httpOnly = true; - t296$.path = "/"; - return t296$; + this.cookies[$add]((t271$ = cookie, (() => { + t271$.httpOnly = true; + t271$.path = "/"; + return t271$; })())); } } - t296$0 = this[_cookies]; - t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + t271$0 = this[_cookies]; + t271$0 == null ? null : t271$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1278, 24, "cookie"); this.headers.add("set-cookie", cookie); - }, T$0.CookieTovoid())); + }, T$1.CookieTovoid())); this.headers[_finalize](); this.headers[_build](buffer); buffer.addByte(13); @@ -130144,184 +142038,184 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h this[_outgoing].setHeader(headerBytes, headerBytes[$length]); } [_findReasonPhrase](statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1292, 32, "statusCode"); let reasonPhrase = this[_reasonPhrase]; if (reasonPhrase != null) { return reasonPhrase; } switch (statusCode) { case 100: - { - return "Continue"; - } + { + return "Continue"; + } case 101: - { - return "Switching Protocols"; - } + { + return "Switching Protocols"; + } case 200: - { - return "OK"; - } + { + return "OK"; + } case 201: - { - return "Created"; - } + { + return "Created"; + } case 202: - { - return "Accepted"; - } + { + return "Accepted"; + } case 203: - { - return "Non-Authoritative Information"; - } + { + return "Non-Authoritative Information"; + } case 204: - { - return "No Content"; - } + { + return "No Content"; + } case 205: - { - return "Reset Content"; - } + { + return "Reset Content"; + } case 206: - { - return "Partial Content"; - } + { + return "Partial Content"; + } case 300: - { - return "Multiple Choices"; - } + { + return "Multiple Choices"; + } case 301: - { - return "Moved Permanently"; - } + { + return "Moved Permanently"; + } case 302: - { - return "Found"; - } + { + return "Found"; + } case 303: - { - return "See Other"; - } + { + return "See Other"; + } case 304: - { - return "Not Modified"; - } + { + return "Not Modified"; + } case 305: - { - return "Use Proxy"; - } + { + return "Use Proxy"; + } case 307: - { - return "Temporary Redirect"; - } + { + return "Temporary Redirect"; + } case 400: - { - return "Bad Request"; - } + { + return "Bad Request"; + } case 401: - { - return "Unauthorized"; - } + { + return "Unauthorized"; + } case 402: - { - return "Payment Required"; - } + { + return "Payment Required"; + } case 403: - { - return "Forbidden"; - } + { + return "Forbidden"; + } case 404: - { - return "Not Found"; - } + { + return "Not Found"; + } case 405: - { - return "Method Not Allowed"; - } + { + return "Method Not Allowed"; + } case 406: - { - return "Not Acceptable"; - } + { + return "Not Acceptable"; + } case 407: - { - return "Proxy Authentication Required"; - } + { + return "Proxy Authentication Required"; + } case 408: - { - return "Request Time-out"; - } + { + return "Request Time-out"; + } case 409: - { - return "Conflict"; - } + { + return "Conflict"; + } case 410: - { - return "Gone"; - } + { + return "Gone"; + } case 411: - { - return "Length Required"; - } + { + return "Length Required"; + } case 412: - { - return "Precondition Failed"; - } + { + return "Precondition Failed"; + } case 413: - { - return "Request Entity Too Large"; - } + { + return "Request Entity Too Large"; + } case 414: - { - return "Request-URI Too Long"; - } + { + return "Request-URI Too Long"; + } case 415: - { - return "Unsupported Media Type"; - } + { + return "Unsupported Media Type"; + } case 416: - { - return "Requested range not satisfiable"; - } + { + return "Requested range not satisfiable"; + } case 417: - { - return "Expectation Failed"; - } + { + return "Expectation Failed"; + } case 500: - { - return "Internal Server Error"; - } + { + return "Internal Server Error"; + } case 501: - { - return "Not Implemented"; - } + { + return "Not Implemented"; + } case 502: - { - return "Bad Gateway"; - } + { + return "Bad Gateway"; + } case 503: - { - return "Service Unavailable"; - } + { + return "Service Unavailable"; + } case 504: - { - return "Gateway Time-out"; - } + { + return "Gateway Time-out"; + } case 505: - { - return "Http Version not supported"; - } + { + return "Http Version not supported"; + } default: - { - return "Status " + dart.str(statusCode); - } + { + return "Status " + dart.str(statusCode); + } } } }; (_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { - if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); - if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); this[_statusCode] = 200; this[_reasonPhrase] = null; this[_cookies] = null; @@ -130367,30 +142261,32 @@ dart.setFieldSignature(_http._HttpResponse, () => ({ [_deadline]: dart.fieldType(dart.nullable(core.Duration)), [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) })); -var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); var _responseCompleter = dart.privateName(_http, "_responseCompleter"); var _response = dart.privateName(_http, "_response"); var _followRedirects = dart.privateName(_http, "_followRedirects"); var _maxRedirects = dart.privateName(_http, "_maxRedirects"); var _aborted = dart.privateName(_http, "_aborted"); var _onIncoming = dart.privateName(_http, "_onIncoming"); -var _onError$ = dart.privateName(_http, "_onError"); +var _onError = dart.privateName(_http, "_onError"); var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); var _requestUri = dart.privateName(_http, "_requestUri"); _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - get [_profileData$]() { - return this[_profileData$1]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); + return new _http._HttpClientRequest.new(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData); } get done() { - let t296; - t296 = this[_response]; - return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); - return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); - }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + let t271; + t271 = this[_response]; + return t271 == null ? this[_response] = async.Future.wait(dart.dynamic, T$1.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1440, 18, "list"); + return T$1.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$1.ListToFutureOrOfHttpClientResponse())) : t271; } close() { if (!dart.test(this[_aborted])) { @@ -130402,7 +142298,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_maxRedirects]; } set maxRedirects(maxRedirects) { - if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (maxRedirects == null) dart.nullFailed(I[181], 1451, 29, "maxRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_maxRedirects] = maxRedirects; } @@ -130410,7 +142306,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_followRedirects]; } set followRedirects(followRedirects) { - if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (followRedirects == null) dart.nullFailed(I[181], 1457, 33, "followRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_followRedirects] = followRedirects; } @@ -130418,7 +142314,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_httpClientConnection$].connectionInfo; } [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); if (dart.test(this[_aborted])) { return; } @@ -130426,30 +142322,30 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM let future = null; if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$1.dynamicToFutureOfHttpClientResponse())); } else { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$1.dynamicToFutureOfHttpClientResponse())); } } else if (dart.test(response[_shouldAuthenticateProxy])) { future = response[_authenticate](true); } else if (dart.test(response[_shouldAuthenticate])) { future = response[_authenticate](false); } else { - future = T$0.FutureOfHttpClientResponse().value(response); + future = T$1.FutureOfHttpClientResponse().value(response); } future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].complete(v); } - }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + }, T$1.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); } }, T$.dynamicAnddynamicToNull())}); } - [_onError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + [_onError](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1503, 35, "stackTrace"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(error), stackTrace); } @@ -130480,8 +142376,8 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); - if (data[$length] === 0 || dart.test(this[_aborted])) return; + if (data == null) dart.nullFailed(I[181], 1539, 22, "data"); + if (dart.test(data[$isEmpty]) || dart.test(this[_aborted])) return; super.add(data); } write(obj) { @@ -130489,7 +142385,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM super.write(obj); } [_writeHeader]() { - let t296; + let t271; if (dart.test(this[_aborted])) { this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); return; @@ -130502,22 +142398,22 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM buffer.add(_http._Const.HTTP11); buffer.addByte(13); buffer.addByte(10); - if (!dart.test(this.cookies[$isEmpty])) { + if (dart.test(this.cookies[$isNotEmpty])) { let sb = new core.StringBuffer.new(); for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (i > 0) sb.write("; "); - t296 = sb; + t271 = sb; (() => { - t296.write(this.cookies[$_get](i).name); - t296.write("="); - t296.write(this.cookies[$_get](i).value); - return t296; + t271.write(this.cookies[$_get](i).name); + t271.write("="); + t271.write(this.cookies[$_get](i).value); + return t271; })(); } this.headers.add("cookie", sb.toString()); } this.headers[_finalize](); - this.headers[_build](buffer); + this.headers[_build](buffer, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); buffer.addByte(13); buffer.addByte(10); let headerBytes = buffer.takeBytes(); @@ -130533,44 +142429,41 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM } }; (_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - let t296, t296$; - if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); - if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); - if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); - if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); - if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); - if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + let t271; + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); this.cookies = T$0.JSArrayOfCookie().of([]); - this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_responseCompleter] = T$1.CompleterOfHttpClientResponse().new(); this[_response] = null; this[_followRedirects] = true; this[_maxRedirects] = 5; - this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); this[_aborted] = false; + this.uri = uri; this.method = method; this[_proxy$] = _proxy; this[_httpClient$] = _httpClient; this[_httpClientConnection$] = _httpClientConnection; - this[_profileData$1] = _profileData; - this.uri = uri; _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Request sent"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Request sent"); if (this.method === "GET" || this.method === "HEAD") { this.contentLength = 0; } else { this.headers.chunkedTransferEncoding = true; } - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.finishRequest({request: this}); this[_responseCompleter].future.then(core.Null, dart.fn(response => { - let t296, t296$; - if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.startResponse({response: response}); - }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + let t271, t271$; + if (response == null) dart.nullFailed(I[181], 1428, 37, "response"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Waiting (TTFB)"); + t271$ = _profileData; + t271$ == null ? null : t271$.startResponse({response: response}); + }, T$1.HttpClientResponseToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); }).prototype = _http._HttpClientRequest.prototype; dart.addTypeTests(_http._HttpClientRequest); @@ -130580,7 +142473,7 @@ dart.setMethodSignature(_http._HttpClientRequest, () => ({ __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), close: dart.fnType(async.Future$(_http.HttpClientResponse), []), [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), - [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_onError]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_requestUri]: dart.fnType(core.String, []), [_writeHeader]: dart.fnType(dart.void, []), abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) @@ -130605,43 +142498,46 @@ dart.setFieldSignature(_http._HttpClientRequest, () => ({ cookies: dart.finalFieldType(core.List$(_http.Cookie)), [_httpClient$]: dart.finalFieldType(_http._HttpClient), [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), [_proxy$]: dart.finalFieldType(_http._Proxy), [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), [_followRedirects]: dart.fieldType(core.bool), [_maxRedirects]: dart.fieldType(core.int), - [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_responseRedirects]: dart.finalFieldType(core.List$(_http.RedirectInfo)), [_aborted]: dart.fieldType(core.bool) })); var _consume$ = dart.privateName(_http, "_consume"); _http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_consume) { + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); + return new _http._HttpGZipSink.new(_consume); + } add(chunk) { - let t296; + let t271; T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); - t296 = chunk; - this[_consume$](t296); + if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); + t271 = chunk; + this[_consume$](t271); } addSlice(chunk, start, end, isLast) { - let t296, t296$; - if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); - if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); - if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); - if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + let t271, t271$; + if (chunk == null) dart.nullFailed(I[181], 1614, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1614, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1614, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1614, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { - t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296); + t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271); } else { - t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296$); + t271$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271$); } } close() { } }; (_http._HttpGZipSink.new = function(_consume) { - if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); this[_consume$] = _consume; _http._HttpGZipSink.__proto__.new.call(this); ; @@ -130671,13 +142567,17 @@ var _socketError = dart.privateName(_http, "_socketError"); var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); var _chunkHeader = dart.privateName(_http, "_chunkHeader"); var _addChunk$ = dart.privateName(_http, "_addChunk"); -var _ignoreError = dart.privateName(_http, "_ignoreError"); +var _ignoreError$ = dart.privateName(_http, "_ignoreError"); _http._HttpOutgoing = class _HttpOutgoing extends core.Object { + static ['_#new#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + return new _http._HttpOutgoing.new(socket); + } writeHeaders(opts) { let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; - if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + if (drainRequest == null) dart.nullFailed(I[181], 1687, 13, "drainRequest"); let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); if (dart.test(this.headersWritten)) return null; this.headersWritten = true; let drainFuture = null; @@ -130688,10 +142588,10 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); let contentEncoding = response.headers._get("content-encoding"); if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + if (list == null) dart.nullFailed(I[181], 1705, 26, "list"); return list[$split](","); - }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { - if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + }, T$1.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1706, 23, "encoding"); return encoding[$trim]()[$toLowerCase]() === "gzip"; }, T$.StringTobool())))) { response.headers.set("content-encoding", "gzip"); @@ -130716,7 +142616,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); } } response[_writeHeader](); @@ -130724,7 +142624,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 1735, 38, "stream"); if (dart.test(this[_socketError])) { stream.listen(null).cancel(); return async.Future.value(this.outbound); @@ -130734,23 +142634,23 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { }, T$.dynamicToNull())); let future = this.writeHeaders(); if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); } return this.close(); } - let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + let controller = T$1.StreamControllerOfListOfint().new({sync: true}); const onData = data => { - if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); if (dart.test(this[_socketError])) return; - if (data[$length] === 0) return; + if (dart.test(data[$isEmpty])) return; if (dart.test(this.chunked)) { if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(controller, 'add'); - this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = T$0.ListOfintTovoid().as(dart.bind(controller, 'add')); + this[_addGZipChunk](data, T$0.ListOfintTovoid().as(dart.bind(dart.nullCheck(this[_gzipSink]), 'add'))); this[_gzipAdd] = null; return; } - this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_addChunk$](this[_chunkHeader](data[$length]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); this[_pendingChunkedFooter] = 2; } else { let contentLength = this.contentLength; @@ -130762,7 +142662,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } } - this[_addChunk$](data, dart.bind(controller, 'add')); + this[_addChunk$](data, T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); }; dart.fn(onData, T$0.ListOfintTovoid()); let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); @@ -130774,16 +142674,16 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { sub.pause(future); } } - return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$1.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); this[_socketError] = true; this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return this.outbound; } else { dart.throw(error); } - }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); } close() { let closeFuture = this[_closeFuture]; @@ -130829,14 +142729,14 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { return this.socket.flush().then(dart.dynamic, dart.fn(_ => { this[_doneCompleter$].complete(this.socket); return outbound; - }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + }, T$1.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return outbound; } else { dart.throw(error); } - }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); }; dart.fn(finalize, T$0.VoidToFuture()); let future = this.writeHeaders(); @@ -130849,20 +142749,20 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { return this[_doneCompleter$].future; } setHeader(data, length) { - if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); - if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); - if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + if (data == null) dart.nullFailed(I[181], 1900, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1900, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1901, 12, "_length == 0"); this[_buffer$1] = typed_data.Uint8List.as(data); this[_length$1] = length; } set gzip(value) { - if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + if (value == null) dart.nullFailed(I[181], 1906, 22, "value"); this[_gzip] = value; if (dart.test(value)) { this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1910, 14, "_gzipSink == null"); this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { - if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (data == null) dart.nullFailed(I[181], 1912, 73, "data"); if (this[_gzipAdd] == null) return; this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); this[_pendingChunkedFooter] = 2; @@ -130870,12 +142770,12 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { }, T$0.ListOfintTovoid()))); } } - [_ignoreError](error) { + [_ignoreError$](error) { return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); } [_addGZipChunk](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); - if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + if (chunk == null) dart.nullFailed(I[181], 1926, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1926, 69, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { add(chunk); @@ -130897,8 +142797,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } [_addChunk$](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); - if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + if (chunk == null) dart.nullFailed(I[181], 1949, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1949, 65, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { if (this[_buffer$1] != null) { @@ -130922,8 +142822,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } [_chunkHeader](length) { - if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); - let hexDigits = C[471] || CT.C471; + if (length == null) dart.nullFailed(I[181], 1975, 30, "length"); + let hexDigits = C[483] || CT.C483; if (length === 0) { if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; return _http._HttpOutgoing._chunk0Length; @@ -130950,8 +142850,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } }; (_http._HttpOutgoing.new = function(socket) { - if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); - this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + this[_doneCompleter$] = T$1.CompleterOfSocket().new(); this.ignoreBody = false; this.headersWritten = false; this[_buffer$1] = null; @@ -130980,7 +142880,7 @@ dart.setMethodSignature(_http._HttpOutgoing, () => ({ addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []), setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_ignoreError$]: dart.fnType(core.bool, [dart.dynamic]), [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) @@ -131015,12 +142915,13 @@ dart.setFieldSignature(_http._HttpOutgoing, () => ({ [_socketError]: dart.fieldType(core.bool), outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) })); +dart.setStaticFieldSignature(_http._HttpOutgoing, () => ['_footerAndChunk0Length', '_chunk0Length']); dart.defineLazy(_http._HttpOutgoing, { /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { - return C[472] || CT.C472; + return C[484] || CT.C484; }, /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[473] || CT.C473; + return C[485] || CT.C485; } }, false); var _subscription$0 = dart.privateName(_http, "_subscription"); @@ -131035,12 +142936,19 @@ var _proxyCredentials = dart.privateName(_http, "_proxyCredentials"); var _returnConnection = dart.privateName(_http, "_returnConnection"); var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); _http._HttpClientConnection = class _HttpClientConnection extends core.Object { + static ['_#new#tearOff'](key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); + return new _http._HttpClientConnection.new(key, _socket, _httpClient, _proxyTunnel, _context); + } send(uri, port, method, proxy, profileData) { - let t296; - if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); - if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); - if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); - if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + let t271; + if (uri == null) dart.nullFailed(I[181], 2100, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2100, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2100, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2100, 68, "proxy"); if (dart.test(this.closed)) { dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); } @@ -131055,27 +142963,27 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); let host = uri.host; if (host[$contains](":")) host = "[" + dart.str(host) + "]"; - t296 = request.headers; + t271 = request.headers; (() => { - t296.host = host; - t296.port = port; - t296.add("accept-encoding", "gzip"); - return t296; + t271.host = host; + t271.port = port; + t271.add("accept-encoding", "gzip"); + return t271; })(); if (this[_httpClient$].userAgent != null) { request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); } if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); - } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + } else if (!dart.test(proxy.isDirect) && dart.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); if (proxyCreds != null) { proxyCreds.authorize(request); } } - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } else { creds = this[_httpClient$][_findCredentials](uri); @@ -131085,13 +142993,17 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } this[_httpParser].isHead = method === "HEAD"; this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); - let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + let t271; + if (s == null) dart.nullFailed(I[181], 2157, 56, "s"); + t271 = profileData; + t271 == null ? null : t271.finishRequest({request: request}); + let nextResponseCompleter = T$1.CompleterOf_HttpIncoming().new(); this[_nextResponseCompleter] = nextResponseCompleter; nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2166, 42, "incoming"); this[_currentUri] = null; incoming.dataDone.then(core.Null, dart.fn(closing => { + if (closing == null) dart.nullFailed(I[181], 2168, 33, "closing"); if (dart.test(incoming.upgraded)) { this[_httpClient$][_connectionClosed](this); this.startTimer(); @@ -131100,13 +143012,13 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { return; } - if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + if (!dart.test(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { this[_httpClient$][_returnConnection](this); dart.nullCheck(this[_subscription$0]).resume(); } else { this.destroy(); } - }, T$.dynamicToNull())); + }, T$.boolToNull())); if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { let authInfo = incoming.headers._get("proxy-authentication-info"); if (authInfo != null && authInfo[$length] === 1) { @@ -131124,28 +143036,28 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } } request[_onIncoming](incoming); - }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + }, T$1._HttpIncomingToNull())).catchError(dart.fn(error => { dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); }, T$0.dynamicToNever()), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + if (error == null) dart.nullFailed(I[181], 2221, 17, "error"); return core.StateError.is(error); }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { this.destroy(); - request[_onError$](error, core.StackTrace.as(stackTrace)); + request[_onError](error, core.StackTrace.as(stackTrace)); }, T$.dynamicAnddynamicToNull())); dart.nullCheck(this[_subscription$0]).resume(); return s; - }, T.SocketToSocket())); - T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + }, T$1.SocketToSocket())); + T$1.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { this.destroy(); }, T$.dynamicToNull())); return request; } detachSocket() { return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + if (_ == null) dart.nullFailed(I[181], 2239, 16, "_"); return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T.SocketTo_DetachedSocket())); + }, T$1.SocketTo_DetachedSocket())); } destroy() { this.closed = true; @@ -131161,74 +143073,74 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { this.closed = true; this[_httpClient$][_connectionClosed](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2259, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } closeFromExternal() { this.closed = true; this[_httpClient$][_connectionClosedNoFurtherClosing](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2267, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } createProxyTunnel(host, port, proxy, callback, profileData) { - let t296; - if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); - if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); - if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let t271; + if (host == null) dart.nullFailed(I[181], 2271, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2272, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2273, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2274, 50, "callback"); let method = "CONNECT"; let uri = core._Uri.new({host: host, port: port}); - t296 = profileData; - t296 == null ? null : t296.proxyEvent(proxy); + t271 = profileData; + t271 == null ? null : t271.proxyEvent(proxy); let proxyProfileData = null; if (profileData != null) { proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); } let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); } return request.close().then(io.SecureSocket, dart.fn(response => { - let t296; - if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + let t271; + if (response == null) dart.nullFailed(I[181], 2299, 34, "response"); if (response.statusCode !== 200) { let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; - t296 = profileData; - t296 == null ? null : t296.requestEvent(error); + t271 = profileData; + t271 == null ? null : t271.requestEvent(error); dart.throw(new _http.HttpException.new(error, {uri: request.uri})); } let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); - }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { - let t296; - if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + }, T$1.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t271; + if (secureSocket == null) dart.nullFailed(I[181], 2312, 14, "secureSocket"); let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); - t296 = profileData; - t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + t271 = profileData; + t271 == null ? null : t271.requestEvent("Proxy tunnel established"); return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, T.SecureSocketTo_HttpClientConnection())); + }, T$1.SecureSocketTo_HttpClientConnection())); } get connectionInfo() { return _http._HttpConnectionInfo.create(this[_socket$0]); } static makeKey(isSecure, host, port) { - if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); - if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2322, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2322, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2322, 50, "port"); return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); } stopTimer() { - let t296; - t296 = this[_idleTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_idleTimer]; + t271 == null ? null : t271.cancel(); this[_idleTimer] = null; } startTimer() { - if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2332, 12, "_idleTimer == null"); this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { this[_idleTimer] = null; this.close(); @@ -131236,10 +143148,10 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } }; (_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { - if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); - if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); - if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); - if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); this[_subscription$0] = null; this[_dispose] = false; this[_idleTimer] = null; @@ -131255,7 +143167,7 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { this[_httpParser] = _http._HttpParser.responseParser(); this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2044, 41, "incoming"); dart.nullCheck(this[_subscription$0]).pause(); if (this[_nextResponseCompleter] == null) { dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); @@ -131264,24 +143176,43 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { dart.nullCheck(this[_subscription$0]).resume(); }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { - if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); - dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + if (stackTrace == null) dart.nullFailed(I[181], 2062, 50, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull())); + }, T$1.dynamicAndStackTraceToNull()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2074, 19, "error"); + return _http.HttpException.is(error) || io.SocketException.is(error); + }, T$.ObjectTobool())}); } else { dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); this[_nextResponseCompleter] = null; } - }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { - let t296; - if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + }, T$1._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t271; + if (stackTrace == null) dart.nullFailed(I[181], 2079, 44, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + }, T$1.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t271; + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); this[_nextResponseCompleter] = null; this.close(); }, T$.VoidTovoid())}); @@ -131300,6 +143231,7 @@ dart.setMethodSignature(_http._HttpClientConnection, () => ({ stopTimer: dart.fnType(dart.void, []), startTimer: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_http._HttpClientConnection, () => ['makeKey']); dart.setGetterSignature(_http._HttpClientConnection, () => ({ __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), connectionInfo: dart.nullable(_http.HttpConnectionInfo) @@ -131321,10 +143253,16 @@ dart.setFieldSignature(_http._HttpClientConnection, () => ({ [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) })); -_http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; +_http._ConnectionInfo = class _ConnectionInfo extends core.Object { + static ['_#new#tearOff'](connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); + return new _http._ConnectionInfo.new(connection, proxy); + } +}; (_http._ConnectionInfo.new = function(connection, proxy) { - if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); this.connection = connection; this.proxy = proxy; ; @@ -131340,13 +143278,21 @@ dart.setFieldSignature(_http._ConnectionInfo, () => ({ var _idle = dart.privateName(_http, "_idle"); var _active = dart.privateName(_http, "_active"); var _socketTasks = dart.privateName(_http, "_socketTasks"); -var _pending = dart.privateName(_http, "_pending"); +var _pending$ = dart.privateName(_http, "_pending"); var _connecting = dart.privateName(_http, "_connecting"); var _checkPending = dart.privateName(_http, "_checkPending"); var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); +var _keyLog = dart.privateName(_http, "_keyLog"); var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); _http._ConnectionTarget = class _ConnectionTarget extends core.Object { + static ['_#new#tearOff'](key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + return new _http._ConnectionTarget.new(key, host, port, isSecure, context, connectionFactory); + } get isEmpty() { return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; } @@ -131357,7 +143303,7 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; } takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); let connection = this[_idle][$first]; this[_idle].remove(connection); connection.stopTimer(); @@ -131365,35 +143311,36 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { return connection; } [_checkPending]() { - if (dart.test(this[_pending][$isNotEmpty])) { - dart.dcall(this[_pending].removeFirst(), []); + if (dart.test(this[_pending$][$isNotEmpty])) { + this[_pending$].removeFirst()(); } } addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); this[_active].add(connection); } returnConnection(connection) { - if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); - if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2390, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2391, 12, "_active.contains(connection)"); this[_active].remove(connection); this[_idle].add(connection); connection.startTimer(); this[_checkPending](); } connectionClosed(connection) { - if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); - if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2398, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2399, 12, "!_active.contains(connection) || !_idle.contains(connection)"); this[_active].remove(connection); this[_idle].remove(connection); this[_checkPending](); } close(force) { - if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + if (force == null) dart.nullFailed(I[181], 2405, 19, "force"); for (let t of this[_socketTasks][$toList]()) { t.socket.then(core.Null, dart.fn(s => { - dart.dsend(s, 'destroy', []); - }, T$.dynamicToNull()), {onError: dart.fn(e => { + if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); + s.destroy(); + }, T$1.SocketToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); t.cancel(); } @@ -131410,35 +143357,46 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { } } } - connect(uriHost, uriPort, proxy, client, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); - if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); - if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + connect(uri, uriHost, uriPort, proxy, client, profileData) { + if (uri == null) dart.nullFailed(I[181], 2428, 39, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2428, 51, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2428, 64, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2429, 14, "proxy"); + if (client == null) dart.nullFailed(I[181], 2429, 33, "client"); if (dart.test(this.hasIdle)) { let connection = this.takeIdle(); client[_connectionsChanged](); - return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + return T$1.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); } let maxConnectionsPerHost = client.maxConnectionsPerHost; if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { - let completer = T.CompleterOf_ConnectionInfo().new(); - this[_pending].add(dart.fn(() => { - completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); - }, T$.VoidToNull())); + let completer = T$1.CompleterOf_ConnectionInfo().new(); + this[_pending$].add(dart.fn(() => { + completer.complete(this.connect(uri, uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidTovoid())); return completer.future; } let currentBadCertificateCallback = client[_badCertificateCallback]; function callback(certificate) { - if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (certificate == null) dart.nullFailed(I[181], 2447, 35, "certificate"); if (currentBadCertificateCallback == null) return false; return currentBadCertificateCallback(certificate, uriHost, uriPort); } - dart.fn(callback, T.X509CertificateTobool()); - let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + dart.fn(callback, T$1.X509CertificateTobool()); + let connectionTask = null; + let cf = this.connectionFactory; + if (cf != null) { + if (dart.test(proxy.isDirect)) { + connectionTask = cf(uri, null, null); + } else { + connectionTask = cf(uri, this.host, this.port); + } + } else { + connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback, keyLog: client[_keyLog]}) : io.Socket.startConnect(this.host, this.port); + } this[_connecting] = dart.notNull(this[_connecting]) + 1; return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { - if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + if (task == null) dart.nullFailed(I[181], 2469, 56, "task"); this[_socketTasks].add(task); let socketFuture = task.socket; let connectionTimeout = client.connectionTimeout; @@ -131446,25 +143404,28 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { socketFuture = socketFuture.timeout(connectionTimeout); } return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 2476, 33, "socket"); this[_connecting] = dart.notNull(this[_connecting]) - 1; - dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); - let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { + socket.setOption(io.SocketOption.tcpNoDelay, true); + } + let connection = new _http._HttpClientConnection.new(this.key, socket, client, false, this.context); if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { connection[_dispose] = true; return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { - if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + if (tunnel == null) dart.nullFailed(I[181], 2487, 22, "tunnel"); client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(tunnel, proxy); - }, T._HttpClientConnectionTo_ConnectionInfo())); + }, T$1._HttpClientConnectionTo_ConnectionInfo())); } else { this.addNewActive(connection); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(connection, proxy); } - }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { if (async.TimeoutException.is(error)) { - if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2506, 18, "connectionTimeout != null"); this[_connecting] = dart.notNull(this[_connecting]) - 1; this[_socketTasks].remove(task); task.cancel(); @@ -131474,27 +143435,28 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { this[_checkPending](); dart.throw(error); }, T$0.dynamicToNever())}); - }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { this[_connecting] = dart.notNull(this[_connecting]) - 1; dart.throw(error); }, T$0.dynamicToNever())}); } }; -(_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { - if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); - if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); - if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); - this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); - this[_pending] = new collection.ListQueue.new(); +(_http._ConnectionTarget.new = function(key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + this[_idle] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T$1._HashSetOfConnectionTaskOfSocket()).new(); + this[_pending$] = new (T$1.ListQueueOfVoidTovoid()).new(); this[_connecting] = 0; this.key = key; this.host = host; this.port = port; this.isSecure = isSecure; this.context = context; + this.connectionFactory = connectionFactory; ; }).prototype = _http._ConnectionTarget.prototype; dart.addTypeTests(_http._ConnectionTarget); @@ -131507,7 +143469,7 @@ dart.setMethodSignature(_http._ConnectionTarget, () => ({ returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), close: dart.fnType(dart.void, [core.bool]), - connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) })); dart.setGetterSignature(_http._ConnectionTarget, () => ({ __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), @@ -131523,20 +143485,24 @@ dart.setFieldSignature(_http._ConnectionTarget, () => ({ port: dart.finalFieldType(core.int), isSecure: dart.finalFieldType(core.bool), context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + connectionFactory: dart.finalFieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), - [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), - [_pending]: dart.finalFieldType(collection.Queue), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask$(io.Socket))), + [_pending$]: dart.finalFieldType(collection.ListQueue$(dart.fnType(dart.void, []))), [_connecting]: dart.fieldType(core.int) })); var _closing = dart.privateName(_http, "_closing"); var _closingForcefully = dart.privateName(_http, "_closingForcefully"); var _connectionTargets = dart.privateName(_http, "_connectionTargets"); var _credentials = dart.privateName(_http, "_credentials"); +var _connectionFactory = dart.privateName(_http, "_connectionFactory"); var _findProxy = dart.privateName(_http, "_findProxy"); var _idleTimeout = dart.privateName(_http, "_idleTimeout"); var _openUrl = dart.privateName(_http, "_openUrl"); var _closeConnections = dart.privateName(_http, "_closeConnections"); +var _isLoopback = dart.privateName(_http, "_isLoopback"); +var _isValidToken = dart.privateName(_http, "_isValidToken"); var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); var _Proxy_password = dart.privateName(_http, "_Proxy.password"); var _Proxy_username = dart.privateName(_http, "_Proxy.username"); @@ -131548,8 +143514,11 @@ _http._HttpClient = class _HttpClient extends core.Object { get idleTimeout() { return this[_idleTimeout]; } + static ['_#new#tearOff'](_context) { + return new _http._HttpClient.new(_context); + } set idleTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 2558, 33, "timeout"); this[_idleTimeout] = timeout; for (let c of this[_connectionTargets][$values]) { for (let idle of c[_idle]) { @@ -131561,11 +143530,14 @@ _http._HttpClient = class _HttpClient extends core.Object { set badCertificateCallback(callback) { this[_badCertificateCallback] = callback; } + set keyLog(callback) { + this[_keyLog] = callback; + } open(method, host, port, path) { - if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); - if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); - if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); - if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + if (method == null) dart.nullFailed(I[181], 2579, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2579, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2579, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2579, 52, "path"); let fragmentStart = path.length; let queryStart = path.length; for (let i = path.length - 1; i >= 0; i = i - 1) { @@ -131586,142 +143558,175 @@ _http._HttpClient = class _HttpClient extends core.Object { return this[_openUrl](method, uri); } openUrl(method, url) { - if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); - if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + if (method == null) dart.nullFailed(I[181], 2603, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2603, 56, "url"); return this[_openUrl](method, url); } get(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2606, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2606, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2606, 63, "path"); return this.open("get", host, port, path); } getUrl(url) { - if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2609, 40, "url"); return this[_openUrl]("get", url); } post(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2611, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2611, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2611, 64, "path"); return this.open("post", host, port, path); } postUrl(url) { - if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2614, 41, "url"); return this[_openUrl]("post", url); } put(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2616, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2616, 63, "path"); return this.open("put", host, port, path); } putUrl(url) { - if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2619, 40, "url"); return this[_openUrl]("put", url); } delete(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); - if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); - if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + if (host == null) dart.nullFailed(I[181], 2621, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2621, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2621, 66, "path"); return this.open("delete", host, port, path); } deleteUrl(url) { - if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + if (url == null) dart.nullFailed(I[181], 2624, 43, "url"); return this[_openUrl]("delete", url); } head(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2626, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2626, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2626, 64, "path"); return this.open("head", host, port, path); } headUrl(url) { - if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2629, 41, "url"); return this[_openUrl]("head", url); } patch(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); - if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); - if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + if (host == null) dart.nullFailed(I[181], 2631, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2631, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2631, 65, "path"); return this.open("patch", host, port, path); } patchUrl(url) { - if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + if (url == null) dart.nullFailed(I[181], 2634, 42, "url"); return this[_openUrl]("patch", url); } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + if (force == null) dart.nullFailed(I[181], 2636, 20, "force"); this[_closing] = true; this[_closingForcefully] = force; this[_closeConnections](this[_closingForcefully]); if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + if (s == null) dart.nullFailed(I[181], 2640, 44, "s"); return s.hasIdle; - }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + }, T$1._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2640, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + if (s == null) dart.nullFailed(I[181], 2642, 51, "s"); return s[_active][$isNotEmpty]; - }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + }, T$1._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2642, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); } set authenticate(f) { this[_authenticate] = f; } addCredentials(url, realm, cr) { - if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); - if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); - if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + if (url == null) dart.nullFailed(I[181], 2650, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2650, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2650, 68, "cr"); this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); } set authenticateProxy(f) { this[_authenticateProxy] = f; } addProxyCredentials(host, port, realm, cr) { - if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); - if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); - if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + if (host == null) dart.nullFailed(I[181], 2663, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2663, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2663, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2663, 66, "cr"); this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); } + set connectionFactory(f) { + return this[_connectionFactory] = f; + } set findProxy(f) { return this[_findProxy] = f; } + static _startRequestTimelineEvent(timeline, method, uri) { + let t271; + if (method == null) dart.nullFailed(I[181], 2677, 38, "method"); + if (uri == null) dart.nullFailed(I[181], 2677, 50, "uri"); + t271 = timeline; + t271 == null ? null : t271.start("HTTP CLIENT " + method[$toUpperCase](), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(uri)])}); + } + [_isLoopback](host) { + if (host == null) dart.nullFailed(I[181], 2684, 27, "host"); + if (host[$isEmpty]) return false; + if ("localhost" === host) return true; + try { + return io.InternetAddress.new(host).isLoopback; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + return false; + } else + throw e; + } + } + [_isValidToken](token) { + if (token == null) dart.nullFailed(I[181], 2694, 29, "token"); + _internal.checkNotNullable(core.String, token, "token"); + let _validChars = " ! #$%&' *+ -. 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ ^_`abcdefghijklmnopqrstuvwxyz | ~ "; + for (let codeUnit of token[$codeUnits]) { + if (dart.notNull(codeUnit) >= _validChars.length || _validChars[$codeUnitAt](codeUnit) === 32) { + return false; + } + } + return true; + } [_openUrl](method, uri) { - if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); - if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (method == null) dart.nullFailed(I[181], 2718, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2718, 58, "uri"); if (dart.test(this[_closing])) { dart.throw(new core.StateError.new("Client is closed")); } uri = uri.removeFragment(); - if (method == null) { - dart.throw(new core.ArgumentError.new(method)); + if (!dart.test(this[_isValidToken](method))) { + dart.throw(new core.ArgumentError.value(method, "method")); } if (method !== "CONNECT") { if (uri.host[$isEmpty]) { dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); - } else if (uri.scheme !== "http" && uri.scheme !== "https") { + } else if (this[_connectionFactory] == null && !dart.test(uri.isScheme("http")) && !dart.test(uri.isScheme("https"))) { dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); } } + _http._httpConnectionHook(uri); let isSecure = uri.isScheme("https"); - if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { - dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); - } let port = uri.port; if (port === 0) { port = dart.test(isSecure) ? 443 : 80; } - let proxyConf = C[475] || CT.C475; + let proxyConf = C[487] || CT.C487; let findProxy = this[_findProxy]; if (findProxy != null) { try { - proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + proxyConf = new _http._ProxyConfiguration.new(findProxy(uri)); } catch (e) { let error = dart.getThrown(e); let stackTrace = dart.stackTrace(e); if (core.Object.is(error)) { - return T.FutureOf_HttpClientRequest().error(error, stackTrace); + return T$1.FutureOf_HttpClientRequest().error(error, stackTrace); } else throw e; } @@ -131730,61 +143735,78 @@ _http._HttpClient = class _HttpClient extends core.Object { if (dart.test(_http.HttpClient.enableTimelineLogging)) { profileData = _http.HttpProfiler.startRequest(method, uri); } - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { - if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2767, 32, "info"); function send(info) { - let t297; - if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); - t297 = profileData; - t297 == null ? null : t297.requestEvent("Connection established"); + let t274; + if (info == null) dart.nullFailed(I[181], 2768, 47, "info"); + t274 = profileData; + t274 == null ? null : t274.requestEvent("Connection established"); return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); } - dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + dart.fn(send, T$1._ConnectionInfoTo_HttpClientRequest()); if (dart.test(info.connection.closed)) { - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); } return send(info); - }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { - let t297; - t297 = profileData; - t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + }, T$1._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t274; + t274 = profileData; + t274 == null ? null : t274.finishRequestWithError(dart.toString(error)); dart.throw(error); }, T$0.dynamicToNever())}); } - [_openUrlFromRequest](method, uri, previous) { - if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); - if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); - if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + static _isSubdomain(subdomain, domain) { + if (subdomain == null) dart.nullFailed(I[181], 2788, 32, "subdomain"); + if (domain == null) dart.nullFailed(I[181], 2788, 47, "domain"); + return dart.test(subdomain.isScheme(domain.scheme)) && subdomain.port == domain.port && (subdomain.host == domain.host || subdomain.host[$endsWith]("." + dart.notNull(domain.host))); + } + static shouldCopyHeaderOnRedirect(headerKey, originalUrl, redirectUri) { + if (headerKey == null) dart.nullFailed(I[181], 2797, 14, "headerKey"); + if (originalUrl == null) dart.nullFailed(I[181], 2797, 29, "originalUrl"); + if (redirectUri == null) dart.nullFailed(I[181], 2797, 46, "redirectUri"); + if (dart.test(_http._HttpClient._isSubdomain(redirectUri, originalUrl))) { + return true; + } + let nonRedirectHeaders = C[490] || CT.C490; + return !dart.test(nonRedirectHeaders[$contains](headerKey[$toLowerCase]())); + } + [_openUrlFromRequest](method, uri, previous, opts) { + if (method == null) dart.nullFailed(I[181], 2812, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2812, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2812, 50, "previous"); + let isRedirect = opts && 'isRedirect' in opts ? opts.isRedirect : null; + if (isRedirect == null) dart.nullFailed(I[181], 2813, 22, "isRedirect"); let resolved = previous.uri.resolveUri(uri); return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { - let t297, t297$; - if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); - t297 = request; + let t274, t274$; + if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); + t274 = request; (() => { - t297.followRedirects = previous.followRedirects; - t297.maxRedirects = previous.maxRedirects; - return t297; + t274.followRedirects = previous.followRedirects; + t274.maxRedirects = previous.maxRedirects; + return t274; })(); for (let header of previous.headers[_headers][$keys]) { - if (request.headers._get(header) == null) { + if (request.headers._get(header) == null && (!dart.test(isRedirect) || dart.test(_http._HttpClient.shouldCopyHeaderOnRedirect(header, resolved, previous.uri)))) { request.headers.set(header, dart.nullCheck(previous.headers._get(header))); } } - t297$ = request; + t274$ = request; return (() => { - t297$.headers.chunkedTransferEncoding = false; - t297$.contentLength = 0; - return t297$; + t274$.headers.chunkedTransferEncoding = false; + t274$.contentLength = 0; + return t274$; })(); - }, T._HttpClientRequestTo_HttpClientRequest())); + }, T$1._HttpClientRequestTo_HttpClientRequest())); } [_returnConnection](connection) { - if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2838, 48, "connection"); dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); this[_connectionsChanged](); } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2844, 48, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131796,7 +143818,7 @@ _http._HttpClient = class _HttpClient extends core.Object { } } [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131812,38 +143834,39 @@ _http._HttpClient = class _HttpClient extends core.Object { } } [_closeConnections](force) { - if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + if (force == null) dart.nullFailed(I[181], 2876, 31, "force"); for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { connectionTarget.close(force); } } [_getConnectionTarget](host, port, isSecure) { - if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); - if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2882, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2882, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2882, 70, "isSecure"); let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); - return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); - } - [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); - if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); - if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0], this[_connectionFactory]), T$1.VoidTo_ConnectionTarget())); + } + [_getConnection](uri, uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uri == null) dart.nullFailed(I[181], 2892, 11, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2893, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2894, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2895, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2896, 12, "isSecure"); let proxies = proxyConf.proxies[$iterator]; - const connect = error => { - if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + const connect = (error, stackTrace) => { + if (!dart.test(proxies.moveNext())) return T$1.FutureOf_ConnectionInfo().error(core.Object.as(error), T$.StackTraceN().as(stackTrace)); let proxy = proxies.current; let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); - return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + return this[_getConnectionTarget](host, port, isSecure).connect(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); }; - dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); - return connect(new _http.HttpException.new("No proxies given")); + dart.fn(connect, T$1.dynamicAnddynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given"), core.StackTrace.current); } [_findCredentials](url, scheme = null) { - if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); - let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { - if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + if (url == null) dart.nullFailed(I[181], 2914, 42, "url"); + let cr = this[_credentials][$fold](T$1._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2917, 58, "value"); let siteCredentials = _http._SiteCredentials.as(value); if (dart.test(siteCredentials.applies(url, scheme))) { if (prev == null) return value; @@ -131851,11 +143874,11 @@ _http._HttpClient = class _HttpClient extends core.Object { } else { return prev; } - }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); return cr; } [_findProxyCredentials](proxy, scheme = null) { - if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 2931, 51, "proxy"); for (let current of this[_proxyCredentials]) { if (dart.test(current.applies(proxy, scheme))) { return current; @@ -131864,23 +143887,23 @@ _http._HttpClient = class _HttpClient extends core.Object { return null; } [_removeCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + if (cr == null) dart.nullFailed(I[181], 2942, 40, "cr"); let index = this[_credentials][$indexOf](cr); if (index !== -1) { this[_credentials][$removeAt](index); } } [_removeProxyCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + if (cr == null) dart.nullFailed(I[181], 2949, 45, "cr"); this[_proxyCredentials][$remove](cr); } static _findProxyFromEnvironment(url, environment) { - let t297, t297$, t297$0; - if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + let t274, t274$, t274$0; + if (url == null) dart.nullFailed(I[181], 2954, 11, "url"); function checkNoProxy(option) { if (option == null) return null; let names = option[$split](",")[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + if (s == null) dart.nullFailed(I[181], 2957, 55, "s"); return s[$trim](); }, T$.StringToString()))[$iterator]; while (dart.test(names.moveNext())) { @@ -131891,7 +143914,7 @@ _http._HttpClient = class _HttpClient extends core.Object { } return null; } - dart.fn(checkNoProxy, T.StringNToStringN()); + dart.fn(checkNoProxy, T$1.StringNToStringN()); function checkProxy(option) { if (option == null) return null; option = option[$trim](); @@ -131908,26 +143931,26 @@ _http._HttpClient = class _HttpClient extends core.Object { let pos = option[$lastIndexOf](":"); if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; } else { - if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + if (!option[$contains](":")) option = dart.str(option) + ":1080"; } return "PROXY " + dart.str(option); } - dart.fn(checkProxy, T.StringNToStringN()); - if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + dart.fn(checkProxy, T$1.StringNToStringN()); + environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; let proxyCfg = null; - let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); proxyCfg = checkNoProxy(noProxy); if (proxyCfg != null) { return proxyCfg; } - if (url.scheme === "http") { - let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + if (dart.test(url.isScheme("http"))) { + let proxy = (t274$ = environment[$_get]("http_proxy"), t274$ == null ? environment[$_get]("HTTP_PROXY") : t274$); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; } - } else if (url.scheme === "https") { - let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + } else if (dart.test(url.isScheme("https"))) { + let proxy = (t274$0 = environment[$_get]("https_proxy"), t274$0 == null ? environment[$_get]("HTTPS_PROXY") : t274$0); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; @@ -131939,14 +143962,16 @@ _http._HttpClient = class _HttpClient extends core.Object { (_http._HttpClient.new = function(_context) { this[_closing] = false; this[_closingForcefully] = false; - this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); - this[_credentials] = T.JSArrayOf_Credentials().of([]); - this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_connectionTargets] = new (T$1.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T$1.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T$1.JSArrayOf_ProxyCredentials().of([]); + this[_connectionFactory] = null; this[_authenticate] = null; this[_authenticateProxy] = null; - this[_findProxy] = C[474] || CT.C474; - this[_idleTimeout] = C[453] || CT.C453; + this[_findProxy] = C[486] || CT.C486; + this[_idleTimeout] = C[466] || CT.C466; this[_badCertificateCallback] = null; + this[_keyLog] = null; this.connectionTimeout = null; this.maxConnectionsPerHost = null; this.autoUncompress = true; @@ -131976,20 +144001,23 @@ dart.setMethodSignature(_http._HttpClient, () => ({ close: dart.fnType(dart.void, [], {force: core.bool}, {}), addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_isLoopback]: dart.fnType(core.bool, [core.String]), + [_isValidToken]: dart.fnType(core.bool, [core.String]), [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), - [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest], {}, {isRedirect: core.bool}), [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionsChanged]: dart.fnType(dart.void, []), [_closeConnections]: dart.fnType(dart.void, [core.bool]), [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), - [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) })); +dart.setStaticMethodSignature(_http._HttpClient, () => ['_startRequestTimelineEvent', '_isSubdomain', 'shouldCopyHeaderOnRedirect', '_findProxyFromEnvironment']); dart.setGetterSignature(_http._HttpClient, () => ({ __proto__: dart.getGetters(_http._HttpClient.__proto__), idleTimeout: core.Duration @@ -131998,8 +144026,10 @@ dart.setSetterSignature(_http._HttpClient, () => ({ __proto__: dart.getSetters(_http._HttpClient.__proto__), idleTimeout: core.Duration, badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), - authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), - authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + keyLog: dart.nullable(dart.fnType(dart.dynamic, [core.String])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)])), + connectionFactory: dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)])), findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) })); dart.setLibraryUri(_http._HttpClient, I[177]); @@ -132011,21 +144041,23 @@ dart.setFieldSignature(_http._HttpClient, () => ({ [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_authenticate]: dart.fieldType(dart.nullable(core.Function)), - [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), - [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_connectionFactory]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), + [_authenticate]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)]))), + [_authenticateProxy]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)]))), + [_findProxy]: dart.fieldType(dart.nullable(dart.fnType(core.String, [core.Uri]))), [_idleTimeout]: dart.fieldType(core.Duration), [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + [_keyLog]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [core.String]))), connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_http._HttpClient, () => ['_platformEnvironmentCache']); dart.defineLazy(_http._HttpClient, { /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { return io.Platform.environment; - }, - set _platformEnvironmentCache(_) {} + } }, false); var _state$1 = dart.privateName(_http, "_state"); var _idleMark = dart.privateName(_http, "_idleMark"); @@ -132035,7 +144067,6 @@ var _handleRequest = dart.privateName(_http, "_handleRequest"); var _isActive = dart.privateName(_http, "_isActive"); var _isIdle = dart.privateName(_http, "_isIdle"); var _isDetached = dart.privateName(_http, "_isDetached"); -var _toJSON$ = dart.privateName(_http, "_toJSON"); const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; (LinkedListEntry__ServiceObject$36.new = function() { _http._ServiceObject.new.call(this); @@ -132043,6 +144074,11 @@ const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject e }).prototype = LinkedListEntry__ServiceObject$36.prototype; dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + static ['_#new#tearOff'](_socket, _httpServer) { + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); + return new _http._HttpConnection.new(_socket, _httpServer); + } markIdle() { this[_idleMark] = true; } @@ -132052,7 +144088,7 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb destroy() { if (this[_state$1] === 2 || this[_state$1] === 3) return; this[_state$1] = 2; - dart.dsend(this[_socket$0], 'destroy', []); + this[_socket$0].destroy(); this[_httpServer$][_connectionClosed](this); _http._HttpConnection._connections[$remove](this[_serviceId$]); } @@ -132062,11 +144098,11 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb let detachedIncoming = this[_httpParser].detachIncoming(); return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { _http._HttpConnection._connections[$remove](this[_serviceId$]); - return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); - }, T.dynamicTo_DetachedSocket())); + return new _http._DetachedSocket.new(this[_socket$0], detachedIncoming); + }, T$1.dynamicTo_DetachedSocket())); } get connectionInfo() { - return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + return _http._HttpConnectionInfo.create(this[_socket$0]); } get [_isActive]() { return this[_state$1] === 0; @@ -132086,55 +144122,10 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb get [_serviceTypeName$]() { return "HttpServerConnection"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); - let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - r[$_set]("server", this[_httpServer$][_toJSON$](true)); - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - switch (this[_state$1]) { - case 0: - { - r[$_set]("state", "Active"); - break; - } - case 1: - { - r[$_set]("state", "Idle"); - break; - } - case 2: - { - r[$_set]("state", "Closing"); - break; - } - case 3: - { - r[$_set]("state", "Detached"); - break; - } - default: - { - r[$_set]("state", "Unknown"); - break; - } - } - return r; - } }; (_http._HttpConnection.new = function(_socket, _httpServer) { - if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); this[_state$1] = 1; this[_subscription$0] = null; this[_idleMark] = false; @@ -132144,23 +144135,24 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb this[_httpParser] = _http._HttpParser.requestParser(); _http._HttpConnection.__proto__.new.call(this); _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); this[_httpServer$][_markActive](this); incoming.dataDone.then(core.Null, dart.fn(closing => { - if (dart.dtest(closing)) this.destroy(); - }, T$.dynamicToNull())); + if (closing == null) dart.nullFailed(I[181], 3049, 31, "closing"); + if (dart.test(closing)) this.destroy(); + }, T$.boolToNull())); dart.nullCheck(this[_subscription$0]).pause(); this[_state$1] = 0; - let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); if (incoming.statusCode === 400) { response.statusCode = 400; } let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + if (_ == null) dart.nullFailed(I[181], 3068, 43, "_"); response.deadline = null; if (this[_state$1] === 3) return; if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { @@ -132171,13 +144163,13 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb } else { this.destroy(); } - }, T.SocketToNull()), {onError: dart.fn(_ => { + }, T$1.SocketToNull()), {onError: dart.fn(_ => { this.destroy(); }, T$.dynamicToNull())}); outgoing.ignoreBody = request.method === "HEAD"; response[_httpRequest$] = request; this[_httpServer$][_handleRequest](request); - }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { this.destroy(); }, T$.VoidTovoid()), onError: dart.fn(error => { this.destroy(); @@ -132189,8 +144181,7 @@ dart.setMethodSignature(_http._HttpConnection, () => ({ __proto__: dart.getMethods(_http._HttpConnection.__proto__), markIdle: dart.fnType(dart.void, []), destroy: dart.fnType(dart.void, []), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + detachSocket: dart.fnType(async.Future$(io.Socket), []) })); dart.setGetterSignature(_http._HttpConnection, () => ({ __proto__: dart.getGetters(_http._HttpConnection.__proto__), @@ -132206,7 +144197,7 @@ dart.setGetterSignature(_http._HttpConnection, () => ({ dart.setLibraryUri(_http._HttpConnection, I[177]); dart.setFieldSignature(_http._HttpConnection, () => ({ __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(dart.dynamic), + [_socket$0]: dart.finalFieldType(io.Socket), [_httpServer$]: dart.finalFieldType(_http._HttpServer), [_httpParser]: dart.finalFieldType(_http._HttpParser), [_state$1]: dart.fieldType(core.int), @@ -132214,6 +144205,7 @@ dart.setFieldSignature(_http._HttpConnection, () => ({ [_idleMark]: dart.fieldType(core.bool), [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) })); +dart.setStaticFieldSignature(_http._HttpConnection, () => ['_ACTIVE', '_IDLE', '_CLOSING', '_DETACHED', '_connections']); dart.defineLazy(_http._HttpConnection, { /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { return 0; @@ -132228,10 +144220,25 @@ dart.defineLazy(_http._HttpConnection, { return 3; }, /*_http._HttpConnection._connections*/get _connections() { - return new (T.IdentityMapOfint$_HttpConnection()).new(); - }, - set _connections(_) {} + return new (T$1.IdentityMapOfint$_HttpConnection()).new(); + } }, false); +const _is_ServerSocketBase_default = Symbol('_is_ServerSocketBase_default'); +_http.ServerSocketBase$ = dart.generic(T => { + class ServerSocketBase extends core.Object {} + (ServerSocketBase.new = function() { + ; + }).prototype = ServerSocketBase.prototype; + ServerSocketBase.prototype[dart.isStream] = true; + dart.addTypeTests(ServerSocketBase); + ServerSocketBase.prototype[_is_ServerSocketBase_default] = true; + dart.addTypeCaches(ServerSocketBase); + ServerSocketBase[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ServerSocketBase, I[177]); + return ServerSocketBase; +}); +_http.ServerSocketBase = _http.ServerSocketBase$(); +dart.addTypeTests(_http.ServerSocketBase, _is_ServerSocketBase_default); var _activeConnections = dart.privateName(_http, "_activeConnections"); var _idleConnections = dart.privateName(_http, "_idleConnections"); var _serverSocket$ = dart.privateName(_http, "_serverSocket"); @@ -132249,25 +144256,34 @@ const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Strea dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { static bind(address, port, backlog, v6Only, shared) { - if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); - if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); - if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + if (port == null) dart.nullFailed(I[181], 3162, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3162, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3162, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3162, 57, "shared"); return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3165, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.ServerSocketTo_HttpServer())); + }, T$1.ServerSocketTo_HttpServer())); } static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { - if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); - if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); - if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); - if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + if (port == null) dart.nullFailed(I[181], 3172, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3174, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3175, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3176, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3177, 12, "shared"); return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3183, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.SecureServerSocketTo_HttpServer())); + }, T$1.SecureServerSocketTo_HttpServer())); + } + static ['_#_#tearOff'](_serverSocket, _closeServer) { + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); + return new _http._HttpServer.__(_serverSocket, _closeServer); + } + static ['_#listenOn#tearOff'](_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); + return new _http._HttpServer.listenOn(_serverSocket); } static _initDefaultResponseHeaders() { let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); @@ -132289,7 +144305,7 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimeout] = duration; if (duration != null) { this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); for (let idle of this[_idleConnections][$toList]()) { if (dart.test(idle.isMarkedIdle)) { idle.destroy(); @@ -132304,12 +144320,14 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + this[_serverSocket$].listen(dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3239, 34, "socket"); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { socket.setOption(io.SocketOption.tcpNoDelay, true); - let connection = new _http._HttpConnection.new(socket, this); - this[_idleConnections].add(connection); - }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + } + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { if (!io.HandshakeException.is(error)) { this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); } @@ -132318,11 +144336,11 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); this.closed = true; let result = null; - if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { - result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + if (dart.test(this[_closeServer$])) { + result = this[_serverSocket$].close(); } else { result = async.Future.value(); } @@ -132331,7 +144349,7 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { for (let c of this[_activeConnections][$toList]()) { c.destroy(); } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); } for (let c of this[_idleConnections][$toList]()) { c.destroy(); @@ -132349,18 +144367,18 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } get port() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return core.int.as(dart.dload(this[_serverSocket$], 'port')); + return this[_serverSocket$].port; } get address() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + return this[_serverSocket$].address; } set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); this[_sessionManager$].sessionTimeout = timeout; } [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); if (!dart.test(this.closed)) { this[_controller$0].add(request); } else { @@ -132368,47 +144386,44 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); connection.unlink(); this[_maybePerformCleanup$](); } [_markIdle](connection) { - if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + if (connection == null) dart.nullFailed(I[181], 3319, 34, "connection"); this[_activeConnections].remove(connection); this[_idleConnections].add(connection); } [_markActive](connection) { - if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + if (connection == null) dart.nullFailed(I[181], 3324, 36, "connection"); this[_idleConnections].remove(connection); this[_activeConnections].add(connection); } get [_sessionManager$]() { - let t298; - t298 = this[_sessionManagerInstance]; - return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + let t274; + t274 = this[_sessionManagerInstance]; + return t274 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t274; } connectionsInfo() { + let t274, t274$, t274$0; let result = new _http.HttpConnectionsInfo.new(); result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); - this[_activeConnections].forEach(dart.fn(conn => { - let t298, t298$; - if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + for (let conn of this[_activeConnections]) { if (dart.test(conn[_isActive])) { - t298 = result; - t298.active = dart.notNull(t298.active) + 1; + t274 = result; + t274.active = dart.notNull(t274.active) + 1; } else { - if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); - t298$ = result; - t298$.closing = dart.notNull(t298$.closing) + 1; - } - }, T._HttpConnectionTovoid())); - this[_idleConnections].forEach(dart.fn(conn => { - let t298; - if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); - t298 = result; - t298.idle = dart.notNull(t298.idle) + 1; - if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); - }, T._HttpConnectionTovoid())); + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3340, 16, "conn._isClosing"); + t274$ = result; + t274$.closing = dart.notNull(t274$.closing) + 1; + } + } + for (let conn of this[_idleConnections]) { + t274$0 = result; + t274$0.idle = dart.notNull(t274$0.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3346, 14, "conn._isIdle"); + } return result; } get [_serviceTypePath$]() { @@ -132417,37 +144432,10 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { get [_serviceTypeName$]() { return "HttpServer"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - r[$_set]("port", this.port); - r[$_set]("address", this.address.host); - r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("closed", this.closed); - return r; - } }; (_http._HttpServer.__ = function(_serverSocket, _closeServer) { - if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132455,17 +144443,18 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = _closeServer; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; (_http._HttpServer.listenOn = function(_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132473,14 +144462,14 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = false; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; dart.addTypeTests(_http._HttpServer); @@ -132495,9 +144484,9 @@ dart.setMethodSignature(_http._HttpServer, () => ({ [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), - connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []) })); +dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); dart.setGetterSignature(_http._HttpServer, () => ({ __proto__: dart.getGetters(_http._HttpServer.__proto__), idleTimeout: dart.nullable(core.Duration), @@ -132522,17 +144511,17 @@ dart.setFieldSignature(_http._HttpServer, () => ({ [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), closed: dart.fieldType(core.bool), - [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_serverSocket$]: dart.finalFieldType(_http.ServerSocketBase$(io.Socket)), [_closeServer$]: dart.finalFieldType(core.bool), [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), - [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.HttpRequest)) })); +dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); dart.defineLazy(_http._HttpServer, { /*_http._HttpServer._servers*/get _servers() { - return new (T.LinkedMapOfint$_HttpServer()).new(); - }, - set _servers(_) {} + return new (T$1.IdentityMapOfint$_HttpServer()).new(); + } }, false); const proxies = _ProxyConfiguration_proxies; _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { @@ -132542,18 +144531,24 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { set proxies(value) { super.proxies = value; } + static ['_#new#tearOff'](configuration) { + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + return new _http._ProxyConfiguration.new(configuration); + } + static ['_#direct#tearOff']() { + return new _http._ProxyConfiguration.direct(); + } }; (_http._ProxyConfiguration.new = function(configuration) { - if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); - this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + this[proxies] = T$1.JSArrayOf_Proxy().of([]); if (configuration == null) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } let list = configuration[$split](";"); - list[$forEach](dart.fn(proxy => { - if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + for (let proxy of list) { proxy = proxy[$trim](); - if (!proxy[$isEmpty]) { + if (proxy[$isNotEmpty]) { if (proxy[$startsWith]("PROXY ")) { let username = null; let password = null; @@ -132581,12 +144576,12 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { let port = null; try { port = core.int.parse(portString); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.FormatException.is(e)) { + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); } else - throw e$; + throw e; } this.proxies[$add](new _http._Proxy.new(host, port, username, password)); } else if (proxy[$trim]() === "DIRECT") { @@ -132595,10 +144590,10 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } } - }, T$.StringTovoid())); + } }).prototype = _http._ProxyConfiguration.prototype; (_http._ProxyConfiguration.direct = function() { - this[proxies] = C[476] || CT.C476; + this[proxies] = C[488] || CT.C488; ; }).prototype = _http._ProxyConfiguration.prototype; dart.addTypeTests(_http._ProxyConfiguration); @@ -132608,6 +144603,7 @@ dart.setFieldSignature(_http._ProxyConfiguration, () => ({ __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), proxies: dart.finalFieldType(core.List$(_http._Proxy)) })); +dart.setStaticFieldSignature(_http._ProxyConfiguration, () => ['PROXY_PREFIX', 'DIRECT_PREFIX']); dart.defineLazy(_http._ProxyConfiguration, { /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { return "PROXY "; @@ -132652,13 +144648,21 @@ _http._Proxy = class _Proxy extends core.Object { set isDirect(value) { super.isDirect = value; } + static ['_#new#tearOff'](host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); + return new _http._Proxy.new(host, port, username, password); + } + static ['_#direct#tearOff']() { + return new _http._Proxy.direct(); + } get isAuthenticated() { return this.username != null; } }; (_http._Proxy.new = function(host, port, username, password) { - if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); this[host$] = host; this[port$1] = port; this[username$] = username; @@ -132690,8 +144694,14 @@ dart.setFieldSignature(_http._Proxy, () => ({ isDirect: dart.finalFieldType(core.bool) })); _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static ['_#new#tearOff'](remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); + return new _http._HttpConnectionInfo.new(remoteAddress, remotePort, localPort); + } static create(socket) { - if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) dart.nullFailed(I[181], 3457, 45, "socket"); if (socket == null) return null; try { return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); @@ -132705,9 +144715,9 @@ _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { } }; (_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { - if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); - if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); - if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); this.remoteAddress = remoteAddress; this.remotePort = remotePort; this.localPort = localPort; @@ -132716,6 +144726,7 @@ _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { dart.addTypeTests(_http._HttpConnectionInfo); dart.addTypeCaches(_http._HttpConnectionInfo); _http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; +dart.setStaticMethodSignature(_http._HttpConnectionInfo, () => ['create']); dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), @@ -132723,7 +144734,13 @@ dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ remotePort: dart.fieldType(core.int), localPort: dart.fieldType(core.int) })); +var _detachRaw$ = dart.privateName(_http, "_detachRaw"); _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); + return new _http._DetachedSocket.new(_socket, _incoming); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -132734,7 +144751,7 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U return this[_socket$0].encoding; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); this[_socket$0].encoding = value; } write(obj) { @@ -132744,26 +144761,26 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U this[_socket$0].writeln(obj); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 3493, 26, "charCode"); this[_socket$0].writeCharCode(charCode); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 3497, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3497, 43, "separator"); this[_socket$0].writeAll(objects, separator); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 3501, 22, "bytes"); this[_socket$0].add(bytes); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + if (error == null) dart.nullFailed(I[181], 3505, 24, "error"); return this[_socket$0].addError(error, stackTrace); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 3508, 38, "stream"); return this[_socket$0].addStream(stream); } destroy() { @@ -132791,38 +144808,38 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U return this[_socket$0].remotePort; } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); - if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + if (option == null) dart.nullFailed(I[181], 3530, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3530, 44, "enabled"); return this[_socket$0].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + if (option == null) dart.nullFailed(I[181], 3534, 42, "option"); return this[_socket$0].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); this[_socket$0].setRawOption(option); } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); - return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); - } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); + } + [_detachRaw]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[491] || CT.C491, null, []))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 3467, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._DetachedSocket.new = function(_socket, _incoming) { - if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); - if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); this[_socket$0] = _socket; this[_incoming$] = _incoming; _http._DetachedSocket.__proto__.new.call(this); @@ -132847,7 +144864,7 @@ dart.setMethodSignature(_http._DetachedSocket, () => ({ setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) })); dart.setGetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getGetters(_http._DetachedSocket.__proto__), @@ -132857,13 +144874,13 @@ dart.setGetterSignature(_http._DetachedSocket, () => ({ address: io.InternetAddress, remoteAddress: io.InternetAddress, remotePort: core.int, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getSetters(_http._DetachedSocket.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._DetachedSocket, I[177]); @@ -132881,12 +144898,20 @@ _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { set [_scheme](value) { super[_scheme] = value; } + static ['_#new#tearOff'](_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); + return new _http._AuthenticationScheme.new(_scheme); + } static fromString(scheme) { - if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; return _http._AuthenticationScheme.UNKNOWN; } + static ['_#fromString#tearOff'](scheme) { + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); + return _http._AuthenticationScheme.fromString(scheme); + } toString() { if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; @@ -132894,27 +144919,29 @@ _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { } }; (_http._AuthenticationScheme.new = function(_scheme) { - if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); this[_scheme$] = _scheme; ; }).prototype = _http._AuthenticationScheme.prototype; dart.addTypeTests(_http._AuthenticationScheme); dart.addTypeCaches(_http._AuthenticationScheme); +dart.setStaticMethodSignature(_http._AuthenticationScheme, () => ['fromString']); dart.setLibraryUri(_http._AuthenticationScheme, I[177]); dart.setFieldSignature(_http._AuthenticationScheme, () => ({ __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), [_scheme]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(_http._AuthenticationScheme, () => ['UNKNOWN', 'BASIC', 'DIGEST']); dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); dart.defineLazy(_http._AuthenticationScheme, { /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { - return C[478] || CT.C478; + return C[492] || CT.C492; }, /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[479] || CT.C479; + return C[493] || CT.C493; }, /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[480] || CT.C480; + return C[494] || CT.C494; } }, false); _http._Credentials = class _Credentials extends core.Object { @@ -132923,9 +144950,9 @@ _http._Credentials = class _Credentials extends core.Object { } }; (_http._Credentials.new = function(credentials, realm) { - let t301; - if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); - if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + let t277; + if (credentials == null) dart.nullFailed(I[181], 3577, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3577, 39, "realm"); this.used = false; this.ha1 = null; this.nonce = null; @@ -132936,13 +144963,13 @@ _http._Credentials = class _Credentials extends core.Object { this.realm = realm; if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { let creds = _http._HttpClientDigestCredentials.as(this.credentials); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(convert.utf8.encode(creds.username)); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(this.realm[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(convert.utf8.encode(creds.password)); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(convert.utf8.encode(creds.username)); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(this.realm[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(convert.utf8.encode(creds.password)); + return t277; })()); this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); } @@ -132966,8 +144993,13 @@ dart.setFieldSignature(_http._Credentials, () => ({ nonceCount: dart.fieldType(dart.nullable(core.int)) })); _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + static ['_#new#tearOff'](uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); + return new _http._SiteCredentials.new(uri, realm, creds); + } applies(uri, scheme) { - if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (uri == null) dart.nullFailed(I[181], 3607, 20, "uri"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; if (uri.host != this.uri.host) return false; let thisPort = this.uri.port === 0 ? 80 : this.uri.port; @@ -132976,7 +145008,7 @@ _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { return uri.path[$startsWith](this.uri.path); } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -132985,8 +145017,8 @@ _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { } }; (_http._SiteCredentials.new = function(uri, realm, creds) { - if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); - if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); this.uri = uri; _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); ; @@ -133004,13 +145036,19 @@ dart.setFieldSignature(_http._SiteCredentials, () => ({ uri: dart.fieldType(core.Uri) })); _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + static ['_#new#tearOff'](host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); + return new _http._ProxyCredentials.new(host, port, realm, creds); + } applies(proxy, scheme) { - if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 3635, 23, "proxy"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; return proxy.host == this.host && proxy.port == this.port; } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3640, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -133018,9 +145056,9 @@ _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { } }; (_http._ProxyCredentials.new = function(host, port, realm, creds) { - if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); - if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); - if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); this.host = host; this.port = port; _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); @@ -133048,27 +145086,32 @@ dart.addTypeCaches(_http._HttpClientCredentials); _http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; dart.setLibraryUri(_http._HttpClientCredentials, I[177]); _http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.BASIC; } authorization() { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); return "Basic " + dart.str(auth); } authorize(_, request) { - if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); - if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + if (_ == null) dart.nullFailed(I[181], 3676, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3676, 52, "request"); request.headers.set("authorization", this.authorization()); } authorizeProxy(_, request) { - if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); - if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + if (_ == null) dart.nullFailed(I[181], 3680, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3680, 62, "request"); request.headers.set("proxy-authorization", this.authorization()); } }; (_http._HttpClientBasicCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); this.username = username; this.password = password; ; @@ -133093,28 +145136,33 @@ dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ password: dart.fieldType(core.String) })); _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.DIGEST; } authorization(credentials, request) { - let t301, t301$, t301$0, t301$1, t301$2, t301$3; - if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); - if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let t277, t277$, t277$0, t277$1, t277$2, t277$3; + if (credentials == null) dart.nullFailed(I[181], 3694, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3694, 69, "request"); let requestUri = request[_requestUri](); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(request.method[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(requestUri[$codeUnits]); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(request.method[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(requestUri[$codeUnits]); + return t277; })()); let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); let isAuth = false; let cnonce = ""; let nc = ""; - hasher = (t301$ = new _http._MD5.new(), (() => { - t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); - t301$.add(T$.JSArrayOfint().of([58])); - return t301$; + hasher = (t277$ = new _http._MD5.new(), (() => { + t277$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t277$.add(T$.JSArrayOfint().of([58])); + return t277$; })()); if (credentials.qop === "auth") { isAuth = true; @@ -133122,64 +145170,64 @@ _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; credentials.nonceCount = nonceCount; nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t301$0 = hasher; + t277$0 = hasher; (() => { - t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(nc[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(cnonce[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add("auth"[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(ha2[$codeUnits]); - return t301$0; + t277$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(nc[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(cnonce[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add("auth"[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(ha2[$codeUnits]); + return t277$0; })(); } else { - t301$1 = hasher; + t277$1 = hasher; (() => { - t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$1.add(T$.JSArrayOfint().of([58])); - t301$1.add(ha2[$codeUnits]); - return t301$1; + t277$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$1.add(T$.JSArrayOfint().of([58])); + t277$1.add(ha2[$codeUnits]); + return t277$1; })(); } let response = _http._CryptoUtils.bytesToHex(hasher.close()); - let buffer = (t301$2 = new core.StringBuffer.new(), (() => { - t301$2.write("Digest "); - t301$2.write("username=\"" + dart.str(this.username) + "\""); - t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); - t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); - t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); - t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); - return t301$2; + let buffer = (t277$2 = new core.StringBuffer.new(), (() => { + t277$2.write("Digest "); + t277$2.write("username=\"" + dart.str(this.username) + "\""); + t277$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t277$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t277$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t277$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t277$2; })()); if (isAuth) { - t301$3 = buffer; + t277$3 = buffer; (() => { - t301$3.write(", qop=\"auth\""); - t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); - t301$3.write(", nc=\"" + nc + "\""); - return t301$3; + t277$3.write(", qop=\"auth\""); + t277$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t277$3.write(", nc=\"" + nc + "\""); + return t277$3; })(); } buffer.write(", response=\"" + dart.str(response) + "\""); return dart.toString(buffer); } authorize(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); - if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + if (credentials == null) dart.nullFailed(I[181], 3749, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3749, 62, "request"); request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } authorizeProxy(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); - if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + if (credentials == null) dart.nullFailed(I[181], 3755, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3755, 56, "request"); request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } }; (_http._HttpClientDigestCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); this.username = username; this.password = password; ; @@ -133225,11 +145273,17 @@ _http._RedirectInfo = class _RedirectInfo extends core.Object { set location(value) { super.location = value; } + static ['_#new#tearOff'](statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); + return new _http._RedirectInfo.new(statusCode, method, location); + } }; (_http._RedirectInfo.new = function(statusCode, method, location) { - if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); - if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); - if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); this[statusCode$] = statusCode; this[method$] = method; this[location$] = location; @@ -133245,25 +145299,30 @@ dart.setFieldSignature(_http._RedirectInfo, () => ({ method: dart.finalFieldType(core.String), location: dart.finalFieldType(core.Uri) })); -_http._Const = class _Const extends core.Object {}; +_http._Const = class _Const extends core.Object { + static ['_#new#tearOff']() { + return new _http._Const.new(); + } +}; (_http._Const.new = function() { ; }).prototype = _http._Const.prototype; dart.addTypeTests(_http._Const); dart.addTypeCaches(_http._Const); dart.setLibraryUri(_http._Const, I[177]); +dart.setStaticFieldSignature(_http._Const, () => ['HTTP', 'HTTP1DOT', 'HTTP10', 'HTTP11', 'T', 'F', 'SEPARATOR_MAP']); dart.defineLazy(_http._Const, { /*_http._Const.HTTP*/get HTTP() { - return C[481] || CT.C481; + return C[495] || CT.C495; }, /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[482] || CT.C482; + return C[496] || CT.C496; }, /*_http._Const.HTTP10*/get HTTP10() { - return C[483] || CT.C483; + return C[497] || CT.C497; }, /*_http._Const.HTTP11*/get HTTP11() { - return C[484] || CT.C484; + return C[498] || CT.C498; }, /*_http._Const.T*/get T() { return true; @@ -133272,16 +145331,21 @@ dart.defineLazy(_http._Const, { return false; }, /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[485] || CT.C485; + return C[499] || CT.C499; } }, false); -_http._CharCode = class _CharCode extends core.Object {}; +_http._CharCode = class _CharCode extends core.Object { + static ['_#new#tearOff']() { + return new _http._CharCode.new(); + } +}; (_http._CharCode.new = function() { ; }).prototype = _http._CharCode.prototype; dart.addTypeTests(_http._CharCode); dart.addTypeCaches(_http._CharCode); dart.setLibraryUri(_http._CharCode, I[177]); +dart.setStaticFieldSignature(_http._CharCode, () => ['HT', 'LF', 'CR', 'SP', 'COMMA', 'SLASH', 'ZERO', 'ONE', 'COLON', 'SEMI_COLON']); dart.defineLazy(_http._CharCode, { /*_http._CharCode.HT*/get HT() { return 9; @@ -133295,15 +145359,9 @@ dart.defineLazy(_http._CharCode, { /*_http._CharCode.SP*/get SP() { return 32; }, - /*_http._CharCode.AMPERSAND*/get AMPERSAND() { - return 38; - }, /*_http._CharCode.COMMA*/get COMMA() { return 44; }, - /*_http._CharCode.DASH*/get DASH() { - return 45; - }, /*_http._CharCode.SLASH*/get SLASH() { return 47; }, @@ -133318,18 +145376,20 @@ dart.defineLazy(_http._CharCode, { }, /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { return 59; - }, - /*_http._CharCode.EQUAL*/get EQUAL() { - return 61; } }, false); -_http._State = class _State extends core.Object {}; +_http._State = class _State extends core.Object { + static ['_#new#tearOff']() { + return new _http._State.new(); + } +}; (_http._State.new = function() { ; }).prototype = _http._State.prototype; dart.addTypeTests(_http._State); dart.addTypeCaches(_http._State); dart.setLibraryUri(_http._State, I[177]); +dart.setStaticFieldSignature(_http._State, () => ['START', 'METHOD_OR_RESPONSE_HTTP_VERSION', 'RESPONSE_HTTP_VERSION', 'REQUEST_LINE_METHOD', 'REQUEST_LINE_URI', 'REQUEST_LINE_HTTP_VERSION', 'REQUEST_LINE_ENDING', 'RESPONSE_LINE_STATUS_CODE', 'RESPONSE_LINE_REASON_PHRASE', 'RESPONSE_LINE_ENDING', 'HEADER_START', 'HEADER_FIELD', 'HEADER_VALUE_START', 'HEADER_VALUE', 'HEADER_VALUE_FOLD_OR_END_CR', 'HEADER_VALUE_FOLD_OR_END', 'HEADER_ENDING', 'CHUNK_SIZE_STARTING_CR', 'CHUNK_SIZE_STARTING', 'CHUNK_SIZE', 'CHUNK_SIZE_EXTENSION', 'CHUNK_SIZE_ENDING', 'CHUNKED_BODY_DONE_CR', 'CHUNKED_BODY_DONE', 'BODY', 'CLOSED', 'UPGRADED', 'FAILURE', 'FIRST_BODY_STATE']); dart.defineLazy(_http._State, { /*_http._State.START*/get START() { return 0; @@ -133419,13 +145479,18 @@ dart.defineLazy(_http._State, { return 17; } }, false); -_http._HttpVersion = class _HttpVersion extends core.Object {}; +_http._HttpVersion = class _HttpVersion extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpVersion.new(); + } +}; (_http._HttpVersion.new = function() { ; }).prototype = _http._HttpVersion.prototype; dart.addTypeTests(_http._HttpVersion); dart.addTypeCaches(_http._HttpVersion); dart.setLibraryUri(_http._HttpVersion, I[177]); +dart.setStaticFieldSignature(_http._HttpVersion, () => ['UNDETERMINED', 'HTTP10', 'HTTP11']); dart.defineLazy(_http._HttpVersion, { /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133437,13 +145502,18 @@ dart.defineLazy(_http._HttpVersion, { return 2; } }, false); -_http._MessageType = class _MessageType extends core.Object {}; +_http._MessageType = class _MessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._MessageType.new(); + } +}; (_http._MessageType.new = function() { ; }).prototype = _http._MessageType.prototype; dart.addTypeTests(_http._MessageType); dart.addTypeCaches(_http._MessageType); dart.setLibraryUri(_http._MessageType, I[177]); +dart.setStaticFieldSignature(_http._MessageType, () => ['UNDETERMINED', 'REQUEST', 'RESPONSE']); dart.defineLazy(_http._MessageType, { /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133462,6 +145532,10 @@ var _injectData$ = dart.privateName(_http, "_injectData"); var _userOnData$ = dart.privateName(_http, "_userOnData"); var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + static ['_#new#tearOff'](_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); + return new _http._HttpDetachedStreamSubscription.new(_subscription, _injectData, _userOnData); + } get isPaused() { return this[_subscription$0].isPaused; } @@ -133506,19 +145580,19 @@ _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription ex if (this[_pauseCount$] !== 0) return; this[_scheduled] = true; async.scheduleMicrotask(dart.fn(() => { - let t301; + let t277; this[_scheduled] = false; if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = this[_injectData$]; + let data = dart.nullCheck(this[_injectData$]); this[_injectData$] = null; this[_subscription$0].resume(); - t301 = this[_userOnData$]; - t301 == null ? null : dart.dcall(t301, [data]); + t277 = this[_userOnData$]; + t277 == null ? null : t277(data); }, T$.VoidTovoid())); } }; (_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); this[_isCanceled$] = false; this[_scheduled] = false; this[_pauseCount$] = 1; @@ -133549,42 +145623,45 @@ dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_userOnData$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))), [_isCanceled$]: dart.fieldType(core.bool), [_scheduled]: dart.fieldType(core.bool), [_pauseCount$]: dart.fieldType(core.int) })); _http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](subscription, bufferedData) { + return new _http._HttpDetachedIncoming.new(subscription, bufferedData); + } listen(onData, opts) { - let t301, t301$, t301$0; + let t277, t277$, t277$0; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let subscription = this.subscription; if (subscription != null) { - t301 = subscription; + t277 = subscription; (() => { - t301.onData(onData); - t301.onError(onError); - t301.onDone(onDone); - return t301; + t277.onData(onData); + t277.onError(onError); + t277.onDone(onDone); + return t277; })(); if (this.bufferedData == null) { - t301$ = subscription; + t277$ = subscription; return (() => { - t301$.resume(); - return t301$; + t277$.resume(); + return t277$; })(); } - t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); return (() => { - t301$0.resume(); - return t301$0; + t277$0.resume(); + return t277$0; })(); } else { - return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } } }; @@ -133606,6 +145683,7 @@ dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) })); +var connectMethod = dart.privateName(_http, "_HttpParser.connectMethod"); var _parserCalled = dart.privateName(_http, "_parserCalled"); var _index$1 = dart.privateName(_http, "_index"); var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); @@ -133622,7 +145700,6 @@ var _chunked = dart.privateName(_http, "_chunked"); var _noMessageBody = dart.privateName(_http, "_noMessageBody"); var _remainingContent = dart.privateName(_http, "_remainingContent"); var _transferEncoding = dart.privateName(_http, "_transferEncoding"); -var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); var _paused = dart.privateName(_http, "_paused"); var _bodyPaused = dart.privateName(_http, "_bodyPaused"); @@ -133644,12 +145721,29 @@ var _expectHexDigit = dart.privateName(_http, "_expectHexDigit"); var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + get connectMethod() { + return this[connectMethod]; + } + set connectMethod(value) { + if (value == null) dart.nullFailed(I[182], 255, 8, "connectMethod"); + this[connectMethod] = value; + } static requestParser() { return new _http._HttpParser.__(true); } + static ['_#requestParser#tearOff']() { + return _http._HttpParser.requestParser(); + } + static ['_#responseParser#tearOff']() { + return _http._HttpParser.responseParser(); + } static responseParser() { return new _http._HttpParser.__(false); } + static ['_#_#tearOff'](_requestParser) { + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); + return new _http._HttpParser.__(_requestParser); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -133657,7 +145751,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } listenToStream(stream) { - if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + if (stream == null) dart.nullFailed(I[182], 307, 41, "stream"); this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); } [_parse]() { @@ -133733,7 +145827,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return true; } [_doParse]() { - if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 421, 12, "!_parserCalled"); this[_parserCalled] = true; if (this[_state$1] === 25) { dart.throw(new _http.HttpException.new("Data on closed connection")); @@ -133751,400 +145845,400 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_index$1] = dart.notNull(index) + 1; switch (this[_state$1]) { case 0: - { - if (byte == _http._Const.HTTP[$_get](0)) { - this[_httpVersionIndex] = 1; - this[_state$1] = 1; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid request method")); - } - this[_addWithValidation](this[_method$], byte); - if (!dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid response line")); - } - this[_state$1] = 3; - } - break; - } - case 1: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { - this[_httpVersionIndex] = httpVersionIndex + 1; - if (dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid request line")); - } - this[_state$1] = 2; - } else { - for (let i = 0; i < httpVersionIndex; i = i + 1) { - this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); - } - if (byte === 32) { - this[_state$1] = 4; + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } this[_addWithValidation](this[_method$], byte); - this[_httpVersion] = 0; if (!dart.test(this[_requestParser$])) { dart.throw(new _http.HttpException.new("Invalid response line")); } this[_state$1] = 3; } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; } - break; - } case 2: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { - this[_expect](byte, 32); - this[_state$1] = 7; - } else { - dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; } - break; - } case 3: - { - if (byte === 32) { - this[_state$1] = 4; - } else { - if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request method")); + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); } - this[_addWithValidation](this[_method$], byte); + break; } - break; - } case 4: - { - if (byte === 32) { - if (this[_uriOrReasonPhrase][$length] === 0) { - dart.throw(new _http.HttpException.new("Invalid request, empty URI")); - } - this[_state$1] = 5; - this[_httpVersionIndex] = 0; - } else { - if (byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + { + if (byte === 32) { + if (dart.test(this[_uriOrReasonPhrase][$isEmpty])) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); } - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + break; } - break; - } case 5: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { - if (byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } } else { - dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); - } - } else { - if (byte === 13) { - this[_state$1] = 6; - } else if (byte === 10) { - this[_state$1] = 6; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } } + break; } - break; - } case 6: - { - this[_expect](byte, 10); - this[_messageType] = 1; - this[_state$1] = 10; - break; - } + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } case 7: - { - if (byte === 32) { - this[_state$1] = 8; - } else if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; - if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { - dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); - } else if (dart.notNull(this[_statusCodeLength]) > 3) { - dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } } + break; } - break; - } case 8: - { - if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; } - break; - } case 9: - { - this[_expect](byte, 10); - this[_messageType] === 0; - if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { - this[_noMessageBody] = true; + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; } - this[_state$1] = 10; - break; - } case 10: - { - this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - this[_state$1] = 11; + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; } - break; - } case 11: - { - if (byte === 58) { - this[_state$1] = 12; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + break; } - break; - } case 12: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else if (byte !== 32 && byte !== 9) { - this[_addWithValidation](this[_headerValue], byte); - this[_state$1] = 13; + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; } - break; - } case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; } - break; - } case 14: - { - this[_expect](byte, 10); - this[_state$1] = 15; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } case 15: - { - if (byte === 32 || byte === 9) { - this[_state$1] = 12; - } else { - let headerField = core.String.fromCharCodes(this[_headerField]); - let headerValue = core.String.fromCharCodes(this[_headerValue]); - let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; - if (headerField === "content-length") { - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); - } else if (dart.test(this[_transferEncoding])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); - } - this[_contentLength] = true; - } else if (headerField === "transfer-encoding") { - this[_transferEncoding] = true; - if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { - this[_chunked] = true; - } - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } } - } - let headers = dart.nullCheck(this[_headers]); - if (headerField === "connection") { - let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); - let isResponse = this[_messageType] === 0; - let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; - for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { - let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); - if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { - this[_connectionUpgrade] = true; + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); } - headers[_add$1](headerField, tokens[$_get](i)); + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - } else { - headers[_add$1](headerField, headerValue); - } - this[_headerField][$clear](); - this[_headerValue][$clear](); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_state$1] = 11; - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } + break; } - break; - } case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; } - break; - } case 17: - { - if (byte === 10) { + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); this[_state$1] = 18; - this[_index$1] = dart.notNull(this[_index$1]) - 1; break; } - this[_expect](byte, 13); - this[_state$1] = 18; - break; - } case 18: - { - this[_expect](byte, 10); - this[_state$1] = 19; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } case 19: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else if (byte === 59) { - this[_state$1] = 20; - } else { - let value = this[_expectHexDigit](byte); - if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > (2147483647)[$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + break; } - break; - } case 20: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; } - break; - } case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; } - break; - } case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); break; } - this[_expect](byte, 13); - break; - } case 23: - { - this[_expect](byte, 10); - this[_reset](); - this[_closeIncoming](); - break; - } - case 24: - { - this[_index$1] = dart.notNull(this[_index$1]) - 1; - let buffer = dart.nullCheck(this[_buffer$1]); - let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); - if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { - dataAvailable = this[_remainingContent]; - } - let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); - dart.nullCheck(this[_bodyController]).add(data); - if (this[_remainingContent] !== -1) { - this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; } - this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); - if (this[_remainingContent] === 0) { - if (!dart.test(this[_chunked])) { - this[_reset](); - this[_closeIncoming](); - } else { - this[_state$1] = 17; + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; } - break; - } case 27: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); + break; + } default: - { - if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } } } this[_parserCalled] = false; @@ -134157,9 +146251,9 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_onData$1](buffer) { - if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + if (buffer == null) dart.nullFailed(I[182], 868, 26, "buffer"); dart.nullCheck(this[_socketSubscription$]).pause(); - if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 870, 12, "_buffer == null"); this[_buffer$1] = buffer; this[_index$1] = 0; this[_parse](); @@ -134203,13 +146297,13 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) get version() { switch (this[_httpVersion]) { case 1: - { - return "1.0"; - } + { + return "1.0"; + } case 2: - { - return "1.1"; - } + { + return "1.1"; + } } return null; } @@ -134226,7 +146320,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return this[_persistentConnection]; } set isHead(value) { - if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + if (value == null) dart.nullFailed(I[182], 944, 24, "value"); this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); } detachIncoming() { @@ -134269,15 +146363,15 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_index$1] = -1; } static _isTokenChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 997, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); } static _isValueChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 1001, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -134294,12 +146388,12 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return tokens; } static _toLowerCaseByte(x) { - if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + if (x == null) dart.nullFailed(I[182], 1022, 35, "x"); return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; } static _caseInsensitiveCompare(expected, value) { - if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); - if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected == null) dart.nullFailed(I[182], 1032, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1032, 69, "value"); if (expected[$length] != value[$length]) return false; for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; @@ -134307,14 +146401,14 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return true; } [_expect](val1, val2) { - if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); - if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 == null) dart.nullFailed(I[182], 1040, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1040, 30, "val2"); if (val1 != val2) { dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); } } [_expectHexDigit](byte) { - if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (byte == null) dart.nullFailed(I[182], 1046, 27, "byte"); if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { return dart.notNull(byte) - 48; } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { @@ -134326,8 +146420,8 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_addWithValidation](list, byte) { - if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); - if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + if (list == null) dart.nullFailed(I[182], 1059, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1059, 47, "byte"); this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; if (dart.notNull(this[_headersReceivedSize]) < 1048576) { list[$add](byte); @@ -134341,84 +146435,83 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) case 0: case 1: case 3: - { - method = "Method"; - break; - } + { + method = "Method"; + break; + } case 4: - { - method = "URI"; - break; - } + { + method = "URI"; + break; + } case 8: - { - method = "Reason phrase"; - break; - } + { + method = "Reason phrase"; + break; + } case 10: case 11: - { - method = "Header field"; - break; - } + { + method = "Header field"; + break; + } case 12: case 13: - { - method = "Header value"; - break; - } + { + method = "Header value"; + break; + } default: - { - dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); - break; - } + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + } } dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); } [_createIncoming](transferLength) { - let t302; - if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); - if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); - if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let t278; + if (transferLength == null) dart.nullFailed(I[182], 1102, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1103, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1104, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1105, 12, "!_bodyPaused"); let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); - t302 = controller; + t278 = controller; (() => { - t302.onListen = dart.fn(() => { + t278.onListen = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onPause = dart.fn(() => { + t278.onPause = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); this[_bodyPaused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onResume = dart.fn(() => { + t278.onResume = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onCancel = dart.fn(() => { - let t303; + t278.onCancel = dart.fn(() => { + let t279; if (!incoming[$_equals](this[_incoming$])) return; - t303 = this[_socketSubscription$]; - t303 == null ? null : t303.cancel(); + t279 = this[_socketSubscription$]; + t279 == null ? null : t279.cancel(); this[_closeIncoming](true); this[_controller$0].close(); }, T$.VoidToNull()); - return t302; + return t278; })(); this[_bodyPaused] = true; this[_pauseStateChanged](); return incoming; } [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); let tmp = this[_incoming$]; if (tmp == null) return; tmp.close(closing); @@ -134443,27 +146536,27 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_reportHttpError](error, stackTrace = null) { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); this[_controller$0].close(); } [_reportBodyError](error, stackTrace = null) { - let t302, t302$, t302$0; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278, t278$, t278$0; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; - t302$ = this[_bodyController]; - t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - t302$0 = this[_bodyController]; - t302$0 == null ? null : t302$0.close(); + t278$ = this[_bodyController]; + t278$ == null ? null : t278$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t278$0 = this[_bodyController]; + t278$0 == null ? null : t278$0.close(); } }; (_http._HttpParser.__ = function(_requestParser) { - let t301; - if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + let t277; + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); this[_parserCalled] = false; this[_buffer$1] = null; this[_index$1] = -1; @@ -134486,36 +146579,35 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_remainingContent] = -1; this[_contentLength] = false; this[_transferEncoding] = false; - this.connectMethod = false; + this[connectMethod] = false; this[_headers] = null; - this[_chunkSizeLimit] = 2147483647; this[_incoming$] = null; this[_socketSubscription$] = null; this[_paused] = true; this[_bodyPaused] = false; this[_bodyController] = null; this[_requestParser$] = _requestParser; - this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); _http._HttpParser.__proto__.new.call(this); - t301 = this[_controller$0]; + t277 = this[_controller$0]; (() => { - t301.onListen = dart.fn(() => { + t277.onListen = dart.fn(() => { this[_paused] = false; }, T$.VoidTovoid()); - t301.onPause = dart.fn(() => { + t277.onPause = dart.fn(() => { this[_paused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onResume = dart.fn(() => { + t277.onResume = dart.fn(() => { this[_paused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onCancel = dart.fn(() => { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + t277.onCancel = dart.fn(() => { + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); }, T$.VoidToNull()); - return t301; + return t277; })(); this[_reset](); }).prototype = _http._HttpParser.prototype; @@ -134544,6 +146636,7 @@ dart.setMethodSignature(_http._HttpParser, () => ({ [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) })); +dart.setStaticMethodSignature(_http._HttpParser, () => ['requestParser', 'responseParser', '_isTokenChar', '_isValueChar', '_tokenizeFieldValue', '_toLowerCaseByte', '_caseInsensitiveCompare']); dart.setGetterSignature(_http._HttpParser, () => ({ __proto__: dart.getGetters(_http._HttpParser.__proto__), version: dart.nullable(core.String), @@ -134584,7 +146677,6 @@ dart.setFieldSignature(_http._HttpParser, () => ({ [_transferEncoding]: dart.fieldType(core.bool), connectMethod: dart.fieldType(core.bool), [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_chunkSizeLimit]: dart.fieldType(core.int), [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), [_paused]: dart.fieldType(core.bool), @@ -134592,9 +146684,13 @@ dart.setFieldSignature(_http._HttpParser, () => ({ [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) })); +dart.setStaticFieldSignature(_http._HttpParser, () => ['_headerTotalSizeLimit', '_chunkSizeLimit']); dart.defineLazy(_http._HttpParser, { /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { return 1048576; + }, + /*_http._HttpParser._chunkSizeLimit*/get _chunkSizeLimit() { + return 2147483647; } }, false); var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); @@ -134606,6 +146702,11 @@ var _removeFromTimeoutQueue = dart.privateName(_http, "_removeFromTimeoutQueue") var _sessions = dart.privateName(_http, "_sessions"); var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); _http._HttpSession = class _HttpSession extends core.Object { + static ['_#new#tearOff'](_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + return new _http._HttpSession.new(_sessionManager, id); + } destroy() { if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); this[_destroyed] = true; @@ -134640,7 +146741,7 @@ _http._HttpSession = class _HttpSession extends core.Object { return value$; } putIfAbsent(key, ifAbsent) { - T$.VoidTodynamic().as(ifAbsent); + T$0.VoidTodynamic().as(ifAbsent); if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); return this[_data$1][$putIfAbsent](key, ifAbsent); } @@ -134663,7 +146764,7 @@ _http._HttpSession = class _HttpSession extends core.Object { return this[_data$1][$entries]; } addEntries(entries) { - T.IterableOfMapEntry().as(entries); + T$1.IterableOfMapEntry().as(entries); if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); this[_data$1][$addEntries](entries); } @@ -134682,7 +146783,7 @@ _http._HttpSession = class _HttpSession extends core.Object { T$.dynamicTodynamic().as(update); if (update == null) dart.nullFailed(I[183], 82, 15, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T.VoidToNdynamic().as(ifAbsent); + T$1.VoidToNdynamic().as(ifAbsent); return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { @@ -134788,8 +146889,8 @@ dart.setFieldSignature(_http._HttpSession, () => ({ [_destroyed]: dart.fieldType(core.bool), [_isNew]: dart.fieldType(core.bool), [_lastSeen]: dart.fieldType(core.DateTime), - [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), - [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_timeoutCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_sessionManager$]: dart.finalFieldType(_http._HttpSessionManager), [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), id: dart.finalFieldType(core.String), @@ -134830,6 +146931,9 @@ var _stopTimer = dart.privateName(_http, "_stopTimer"); var _startTimer = dart.privateName(_http, "_startTimer"); var _timerTimeout = dart.privateName(_http, "_timerTimeout"); _http._HttpSessionManager = class _HttpSessionManager extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpSessionManager.new(); + } createSessionId() { let data = _http._CryptoUtils.getRandomBytes(16); return _http._CryptoUtils.bytesToHex(data); @@ -134839,12 +146943,12 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { return this[_sessions][$_get](id); } createSession() { - let t304, t303, t302; + let t280, t279, t278; let id = this.createSessionId(); while (dart.test(this[_sessions][$containsKey](id))) { id = this.createSessionId(); } - let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); this[_addToTimeoutQueue](session); return session; } @@ -134877,15 +146981,15 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { } } [_removeFromTimeoutQueue](session) { - let t302, t302$; + let t278, t278$; if (session == null) dart.nullFailed(I[183], 162, 45, "session"); let next = session[_next$4]; let prev = session[_prev]; session[_next$4] = session[_prev] = null; - t302 = next; - t302 == null ? null : t302[_prev] = prev; - t302$ = prev; - t302$ == null ? null : t302$[_next$4] = next; + t278 = next; + t278 == null ? null : t278[_prev] = prev; + t278$ = prev; + t278$ == null ? null : t278$[_next$4] = next; if (dart.equals(this[_tail$], session)) { this[_tail$] = prev; } @@ -134896,12 +147000,12 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { } } [_timerTimeout]() { - let t302; + let t278; this[_stopTimer](); let session = dart.nullCheck(this[_head$]); session.destroy(); - t302 = session[_timeoutCallback]; - t302 == null ? null : dart.dcall(t302, []); + t278 = session[_timeoutCallback]; + t278 == null ? null : t278(); } [_startTimer]() { if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); @@ -134924,7 +147028,7 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { this[_head$] = null; this[_tail$] = null; this[_timer] = null; - this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); ; }).prototype = _http._HttpSessionManager.prototype; dart.addTypeTests(_http._HttpSessionManager); @@ -134949,7 +147053,7 @@ dart.setSetterSignature(_http._HttpSessionManager, () => ({ dart.setLibraryUri(_http._HttpSessionManager, I[177]); dart.setFieldSignature(_http._HttpSessionManager, () => ({ __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessions]: dart.finalFieldType(core.Map$(core.String, _http._HttpSession)), [_sessionTimeout]: dart.fieldType(core.int), [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), @@ -134957,29 +147061,29 @@ dart.setFieldSignature(_http._HttpSessionManager, () => ({ })); _http.HttpOverrides = class HttpOverrides extends core.Object { static get current() { - let t302; - return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + let t278; + return T$1.HttpOverridesN().as((t278 = async.Zone.current._get(_http._httpOverridesToken), t278 == null ? _http.HttpOverrides._global : t278)); } static set global(overrides) { _http.HttpOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + if (body == null) dart.nullFailed(I[184], 51, 37, "body"); let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } static runWithHttpOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[184], 63, 38, "body"); - if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + if (body == null) dart.nullFailed(I[184], 65, 49, "body"); + if (overrides == null) dart.nullFailed(I[184], 65, 69, "overrides"); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } createHttpClient(context) { return new _http._HttpClient.new(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + if (url == null) dart.nullFailed(I[184], 82, 39, "url"); return _http._HttpClient._findProxyFromEnvironment(url, environment); } }; @@ -134993,17 +147097,24 @@ dart.setMethodSignature(_http.HttpOverrides, () => ({ createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) })); +dart.setStaticMethodSignature(_http.HttpOverrides, () => ['runZoned', 'runWithHttpOverrides']); +dart.setStaticGetterSignature(_http.HttpOverrides, () => ['current']); +dart.setStaticSetterSignature(_http.HttpOverrides, () => ['global']); dart.setLibraryUri(_http.HttpOverrides, I[177]); +dart.setStaticFieldSignature(_http.HttpOverrides, () => ['_global']); dart.defineLazy(_http.HttpOverrides, { /*_http.HttpOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$5 = dart.privateName(_http, "_previous"); var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + static ['_#new#tearOff'](_createHttpClient, _findProxyFromEnvironment) { + return new _http._HttpOverridesScope.new(_createHttpClient, _findProxyFromEnvironment); + } createHttpClient(context) { let createHttpClient = this[_createHttpClient$]; if (createHttpClient != null) return createHttpClient(context); @@ -135012,7 +147123,7 @@ _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverride return super.createHttpClient(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + if (url == null) dart.nullFailed(I[184], 105, 39, "url"); let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; if (findProxyFromEnvironment != null) { return findProxyFromEnvironment(url, environment); @@ -135046,6 +147157,7 @@ _http.WebSocketStatus = class WebSocketStatus extends core.Object {}; dart.addTypeTests(_http.WebSocketStatus); dart.addTypeCaches(_http.WebSocketStatus); dart.setLibraryUri(_http.WebSocketStatus, I[177]); +dart.setStaticFieldSignature(_http.WebSocketStatus, () => ['normalClosure', 'goingAway', 'protocolError', 'unsupportedData', 'reserved1004', 'noStatusReceived', 'abnormalClosure', 'invalidFramePayloadData', 'policyViolation', 'messageTooBig', 'missingMandatoryExtension', 'internalServerError', 'reserved1015']); dart.defineLazy(_http.WebSocketStatus, { /*_http.WebSocketStatus.normalClosure*/get normalClosure() { return 1000; @@ -135085,45 +147197,6 @@ dart.defineLazy(_http.WebSocketStatus, { }, /*_http.WebSocketStatus.reserved1015*/get reserved1015() { return 1015; - }, - /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { - return 1000; - }, - /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { - return 1001; - }, - /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { - return 1002; - }, - /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { - return 1003; - }, - /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { - return 1004; - }, - /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { - return 1005; - }, - /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { - return 1006; - }, - /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { - return 1007; - }, - /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { - return 1008; - }, - /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { - return 1009; - }, - /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { - return 1010; - }, - /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 1011; - }, - /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { - return 1015; } }, false); var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); @@ -135165,15 +147238,26 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { set enabled(value) { super.enabled = value; } + static ['_#new#tearOff'](opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); + return new _http.CompressionOptions.new({clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover, clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, enabled: enabled}); + } [_createServerResponseHeader](requested) { - let t302, t302$, t302$0; + let t278, t278$, t278$0; let info = new _http._CompressionMaxWindowBits.new("", 0); - let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + let part = (t278 = requested, t278 == null ? null : t278.parameters[$_get]("server_max_window_bits")); if (part != null) { if (part.length >= 2 && part[$startsWith]("0")) { dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); } else { - let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + let mwb = (t278$0 = (t278$ = this.serverMaxWindowBits, t278$ == null ? core.int.tryParse(part) : t278$), t278$0 == null ? 15 : t278$0); info.headerValue = "; server_max_window_bits=" + dart.str(mwb); info.maxWindowBits = mwb; } @@ -135184,7 +147268,7 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { return info; } [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + if (size == null) dart.nullFailed(I[185], 122, 65, "size"); let info = ""; if (requested != null) { info = "; client_max_window_bits=" + dart.str(size); @@ -135201,38 +147285,38 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { return info; } [_createHeader](requested = null) { - let t302, t302$, t302$0, t302$1; + let t278, t278$, t278$0, t278$1; let info = new _http._CompressionMaxWindowBits.new("", 0); if (!dart.test(this.enabled)) { return info; } info.headerValue = "permessage-deflate"; - if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { - t302 = info; - t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t278 = info; + t278.headerValue = dart.notNull(t278.headerValue) + "; client_no_context_takeover"; } - if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { - t302$ = info; - t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + if (dart.test(this.serverNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t278$ = info; + t278$.headerValue = dart.notNull(t278$.headerValue) + "; server_no_context_takeover"; } let headerList = this[_createServerResponseHeader](requested); - t302$0 = info; - t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + t278$0 = info; + t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); info.maxWindowBits = headerList.maxWindowBits; - t302$1 = info; - t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + t278$1 = info; + t278$1.headerValue = dart.notNull(t278$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); return info; } }; (_http.CompressionOptions.new = function(opts) { let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; let enabled = opts && 'enabled' in opts ? opts.enabled : true; - if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); this[clientNoContextTakeover$] = clientNoContextTakeover; this[serverNoContextTakeover$] = serverNoContextTakeover; this[clientMaxWindowBits$] = clientMaxWindowBits; @@ -135257,36 +147341,37 @@ dart.setFieldSignature(_http.CompressionOptions, () => ({ serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), enabled: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(_http.CompressionOptions, () => ['compressionDefault', 'compressionOff']); dart.defineLazy(_http.CompressionOptions, { /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { - return C[486] || CT.C486; - }, - /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { - return C[486] || CT.C486; + return C[500] || CT.C500; }, /*_http.CompressionOptions.compressionOff*/get compressionOff() { - return C[487] || CT.C487; - }, - /*_http.CompressionOptions.OFF*/get OFF() { - return C[487] || CT.C487; + return C[501] || CT.C501; } }, false); _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { static new(opts) { let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); } + static ['_#new#tearOff'](opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); + return _http.WebSocketTransformer.new({protocolSelector: protocolSelector, compression: compression}); + } static upgrade(request, opts) { - if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + if (request == null) dart.nullFailed(I[185], 245, 48, "request"); let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 247, 26, "compression"); return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); } static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + if (request == null) dart.nullFailed(I[185], 253, 44, "request"); return _http._WebSocketTransformerImpl._isUpgradeRequest(request); } }; @@ -135295,6 +147380,7 @@ _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { dart.addTypeTests(_http.WebSocketTransformer); dart.addTypeCaches(_http.WebSocketTransformer); _http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; +dart.setStaticMethodSignature(_http.WebSocketTransformer, () => ['new', 'upgrade', 'isUpgradeRequest']); dart.setLibraryUri(_http.WebSocketTransformer, I[177]); var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); _http.WebSocket = class WebSocket extends core.Object { @@ -135305,24 +147391,33 @@ _http.WebSocket = class WebSocket extends core.Object { this[pingInterval] = value; } static connect(url, opts) { - if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + if (url == null) dart.nullFailed(I[185], 314, 43, "url"); let protocols = opts && 'protocols' in opts ? opts.protocols : null; let headers = opts && 'headers' in opts ? opts.headers : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); - return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 317, 30, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression, customClient: customClient}); } static fromUpgradedSocket(socket, opts) { - if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); let protocol = opts && 'protocol' in opts ? opts.protocol : null; let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); if (serverSide == null) { dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); } return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); } + static ['_#fromUpgradedSocket#tearOff'](socket, opts) { + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); + return _http.WebSocket.fromUpgradedSocket(socket, {protocol: protocol, serverSide: serverSide, compression: compression}); + } static get userAgent() { return _http._WebSocketImpl.userAgent; } @@ -135338,11 +147433,15 @@ _http.WebSocket.prototype[dart.isStream] = true; dart.addTypeTests(_http.WebSocket); dart.addTypeCaches(_http.WebSocket); _http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; +dart.setStaticMethodSignature(_http.WebSocket, () => ['connect', 'fromUpgradedSocket']); +dart.setStaticGetterSignature(_http.WebSocket, () => ['userAgent']); +dart.setStaticSetterSignature(_http.WebSocket, () => ['userAgent']); dart.setLibraryUri(_http.WebSocket, I[177]); dart.setFieldSignature(_http.WebSocket, () => ({ __proto__: dart.getFields(_http.WebSocket.__proto__), pingInterval: dart.fieldType(dart.nullable(core.Duration)) })); +dart.setStaticFieldSignature(_http.WebSocket, () => ['connecting', 'open', 'closing', 'closed']); dart.defineLazy(_http.WebSocket, { /*_http.WebSocket.connecting*/get connecting() { return 0; @@ -135355,18 +147454,6 @@ dart.defineLazy(_http.WebSocket, { }, /*_http.WebSocket.closed*/get closed() { return 3; - }, - /*_http.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*_http.WebSocket.OPEN*/get OPEN() { - return 1; - }, - /*_http.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*_http.WebSocket.CLOSED*/get CLOSED() { - return 3; } }, false); var message$19 = dart.privateName(_http, "WebSocketException.message"); @@ -135377,12 +147464,16 @@ _http.WebSocketException = class WebSocketException extends core.Object { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = "") { + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); + return new _http.WebSocketException.new(message); + } toString() { return "WebSocketException: " + dart.str(this.message); } }; (_http.WebSocketException.new = function(message = "") { - if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); this[message$19] = message; ; }).prototype = _http.WebSocketException.prototype; @@ -135395,13 +147486,18 @@ dart.setFieldSignature(_http.WebSocketException, () => ({ message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_http.WebSocketException, ['toString']); -_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; +_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketMessageType.new(); + } +}; (_http._WebSocketMessageType.new = function() { ; }).prototype = _http._WebSocketMessageType.prototype; dart.addTypeTests(_http._WebSocketMessageType); dart.addTypeCaches(_http._WebSocketMessageType); dart.setLibraryUri(_http._WebSocketMessageType, I[177]); +dart.setStaticFieldSignature(_http._WebSocketMessageType, () => ['NONE', 'TEXT', 'BINARY']); dart.defineLazy(_http._WebSocketMessageType, { /*_http._WebSocketMessageType.NONE*/get NONE() { return 0; @@ -135413,13 +147509,18 @@ dart.defineLazy(_http._WebSocketMessageType, { return 2; } }, false); -_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; +_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketOpcode.new(); + } +}; (_http._WebSocketOpcode.new = function() { ; }).prototype = _http._WebSocketOpcode.prototype; dart.addTypeTests(_http._WebSocketOpcode); dart.addTypeCaches(_http._WebSocketOpcode); dart.setLibraryUri(_http._WebSocketOpcode, I[177]); +dart.setStaticFieldSignature(_http._WebSocketOpcode, () => ['CONTINUATION', 'TEXT', 'BINARY', 'RESERVED_3', 'RESERVED_4', 'RESERVED_5', 'RESERVED_6', 'RESERVED_7', 'CLOSE', 'PING', 'PONG', 'RESERVED_B', 'RESERVED_C', 'RESERVED_D', 'RESERVED_E', 'RESERVED_F']); dart.defineLazy(_http._WebSocketOpcode, { /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { return 0; @@ -135470,7 +147571,12 @@ dart.defineLazy(_http._WebSocketOpcode, { return 15; } }, false); -_http._EncodedString = class _EncodedString extends core.Object {}; +_http._EncodedString = class _EncodedString extends core.Object { + static ['_#new#tearOff'](bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + return new _http._EncodedString.new(bytes); + } +}; (_http._EncodedString.new = function(bytes) { if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); this.bytes = bytes; @@ -135484,13 +147590,18 @@ dart.setFieldSignature(_http._EncodedString, () => ({ bytes: dart.finalFieldType(core.List$(core.int)) })); _http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + static ['_#new#tearOff'](headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); + return new _http._CompressionMaxWindowBits.new(headerValue, maxWindowBits); + } toString() { return this.headerValue; } }; (_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { - if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); this.headerValue = headerValue; this.maxWindowBits = maxWindowBits; ; @@ -135504,6 +147615,8 @@ dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ maxWindowBits: dart.fieldType(core.int) })); dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); +var closeCode = dart.privateName(_http, "_WebSocketProtocolTransformer.closeCode"); +var closeReason = dart.privateName(_http, "_WebSocketProtocolTransformer.closeReason"); var _fin = dart.privateName(_http, "_fin"); var _compressed = dart.privateName(_http, "_compressed"); var _opcode = dart.privateName(_http, "_opcode"); @@ -135528,20 +147641,38 @@ var _messageFrameEnd = dart.privateName(_http, "_messageFrameEnd"); var _startPayload = dart.privateName(_http, "_startPayload"); var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + get closeCode() { + return this[closeCode]; + } + set closeCode(value) { + if (value == null) dart.nullFailed(I[186], 88, 7, "closeCode"); + this[closeCode] = value; + } + get closeReason() { + return this[closeReason]; + } + set closeReason(value) { + if (value == null) dart.nullFailed(I[186], 89, 10, "closeReason"); + this[closeReason] = value; + } + static ['_#new#tearOff'](_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); + return new _http._WebSocketProtocolTransformer.new(_serverSide, _deflate); + } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + if (stream == null) dart.nullFailed(I[186], 101, 25, "stream"); return async.Stream.eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 102, 55, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used.")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkTo_WebSocketProtocolTransformer())); + }, T$1.EventSinkTo_WebSocketProtocolTransformer())); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + if (error == null) dart.nullFailed(I[186], 111, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -135549,9 +147680,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend dart.nullCheck(this[_eventSink$]).close(); } add(bytes) { - let t302; + let t278; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 122, 22, "bytes"); let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); let index = 0; let lastIndex = buffer[$length]; @@ -135583,7 +147714,7 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend dart.throw(new _http.WebSocketException.new("Protocol error")); } } else { - if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 159, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); if (this[_currentMessageType] !== 0) { dart.throw(new _http.WebSocketException.new("Protocol error")); } @@ -135610,11 +147741,11 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend this[_remainingLenBytes] = 8; this[_state$1] = 2; } else { - if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 189, 20, "_len < 126"); this[_lengthDone](); } } else { - if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 193, 18, "_state == LEN_REST"); this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; if (this[_remainingLenBytes] === 0) { @@ -135623,12 +147754,12 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } } else { if (this[_state$1] === 3) { - this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + this[_maskingBytes][$_set](4 - dart.notNull((t278 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t278) - 1, t278)), byte); if (this[_remainingMaskingKeyBytes] === 0) { this[_maskDone](); } } else { - if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 207, 18, "_state == PAYLOAD"); let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; if (dart.test(this[_masked])) { @@ -135651,17 +147782,17 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } } [_unmask](index, length, buffer) { - let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; - if (index == null) dart.nullFailed(I[186], 245, 20, "index"); - if (length == null) dart.nullFailed(I[186], 245, 31, "length"); - if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + let t280, t279, t278, t279$, t278$, t280$, t279$0, t278$0; + if (index == null) dart.nullFailed(I[186], 239, 20, "index"); + if (length == null) dart.nullFailed(I[186], 239, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 239, 49, "buffer"); if (dart.notNull(length) >= 16) { let startOffset = 16 - (dart.notNull(index) & 15); let end = dart.notNull(index) + startOffset; for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302 = buffer; - t303 = i; - t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + t278 = buffer; + t279 = i; + t278[$_set](t279, (dart.notNull(t278[$_get](t279)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280) + 1, t280)) & 3))) >>> 0); } index = dart.notNull(index) + startOffset; length = dart.notNull(length) - startOffset; @@ -135674,9 +147805,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t302$ = blockBuffer; - t303$ = i; - t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + t278$ = blockBuffer; + t279$ = i; + t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); } let bytes = blockCount * 16; index = dart.notNull(index) + bytes; @@ -135685,9 +147816,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } let end = dart.notNull(index) + dart.notNull(length); for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302$0 = buffer; - t303$0 = i; - t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + t278$0 = buffer; + t279$0 = i; + t278$0[$_set](t279$0, (dart.notNull(t278$0[$_get](t279$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280$) + 1, t280$)) & 3))) >>> 0); } } [_lengthDone]() { @@ -135713,21 +147844,21 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend if (dart.test(this[_isControlFrame]())) { switch (this[_opcode]) { case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } } this[_prepareForNextFrame](); } else { @@ -135746,15 +147877,15 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } switch (this[_currentMessageType]) { case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } } this[_currentMessageType] = 0; } @@ -135763,35 +147894,35 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend [_controlFrameEnd]() { switch (this[_opcode]) { case 8: - { - this.closeCode = 1005; - let payload = this[_payload].takeBytes(); - if (dart.notNull(payload[$length]) > 0) { - if (payload[$length] === 1) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; - if (this.closeCode === 1005) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (dart.notNull(payload[$length]) > 2) { - this.closeReason = convert.utf8.decode(payload[$sublist](2)); + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.test(payload[$isNotEmpty])) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; } - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } } this[_prepareForNextFrame](); } @@ -135810,7 +147941,7 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } }; (_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); this[_state$1] = 0; this[_fin] = false; this[_compressed] = false; @@ -135822,8 +147953,8 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend this[_remainingPayloadBytes] = -1; this[_unmaskingIndex] = 0; this[_currentMessageType] = 0; - this.closeCode = 1005; - this.closeReason = ""; + this[closeCode] = 1005; + this[closeReason] = ""; this[_eventSink$] = null; this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); this[_payload] = _internal.BytesBuilder.new({copy: false}); @@ -135870,8 +148001,9 @@ dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ [_serverSide$]: dart.finalFieldType(core.bool), [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflate$]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); +dart.setStaticFieldSignature(_http._WebSocketProtocolTransformer, () => ['START', 'LEN_FIRST', 'LEN_REST', 'MASK', 'PAYLOAD', 'CLOSED', 'FAILURE', 'FIN', 'RSV1', 'RSV2', 'RSV3', 'OPCODE']); dart.defineLazy(_http._WebSocketProtocolTransformer, { /*_http._WebSocketProtocolTransformer.START*/get START() { return 0; @@ -135910,7 +148042,11 @@ dart.defineLazy(_http._WebSocketProtocolTransformer, { return 15; } }, false); -_http._WebSocketPing = class _WebSocketPing extends core.Object {}; +_http._WebSocketPing = class _WebSocketPing extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPing.new(payload); + } +}; (_http._WebSocketPing.new = function(payload = null) { this.payload = payload; ; @@ -135922,7 +148058,11 @@ dart.setFieldSignature(_http._WebSocketPing, () => ({ __proto__: dart.getFields(_http._WebSocketPing.__proto__), payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) })); -_http._WebSocketPong = class _WebSocketPong extends core.Object {}; +_http._WebSocketPong = class _WebSocketPong extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPong.new(payload); + } +}; (_http._WebSocketPong.new = function(payload = null) { this.payload = payload; ; @@ -135937,22 +148077,26 @@ dart.setFieldSignature(_http._WebSocketPong, () => ({ var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); var _compression$ = dart.privateName(_http, "_compression"); _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + static ['_#new#tearOff'](_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + return new _http._WebSocketTransformerImpl.new(_protocolSelector, _compression); + } bind(stream) { - T.StreamOfHttpRequest().as(stream); - if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + T$1.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 416, 46, "stream"); stream.listen(dart.fn(request => { - if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + if (request == null) dart.nullFailed(I[186], 417, 20, "request"); _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); return this[_controller$0].add(webSocket); - }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); - }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + }, T$1.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T$1.HttpRequestTovoid()), {onDone: dart.fn(() => { this[_controller$0].close(); }, T$.VoidTovoid())}); return this[_controller$0].stream; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[186], 428, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -135969,32 +148113,32 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. return tokens; } static _upgrade(request, protocolSelector, compression) { - let t302; - if (request == null) dart.nullFailed(I[186], 450, 49, "request"); - if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let t278; + if (request == null) dart.nullFailed(I[186], 445, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 446, 63, "compression"); let response = request.response; if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { - t302 = response; + t278 = response; (() => { - t302.statusCode = 400; - t302.close(); - return t302; + t278.statusCode = 400; + t278.close(); + return t278; })(); - return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); } function upgrade(protocol) { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 101; - t302.headers.add("connection", "Upgrade"); - t302.headers.add("upgrade", "websocket"); - return t302; + t278.statusCode = 101; + t278.headers.add("connection", "Upgrade"); + t278.headers.add("upgrade", "websocket"); + return t278; })(); let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); let sha1 = new _http._SHA1.new(); sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); - let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + let accept = convert.base64Encode(sha1.close()); response.headers.add("Sec-WebSocket-Accept", accept); if (protocol != null) { response.headers.add("Sec-WebSocket-Protocol", protocol); @@ -136002,27 +148146,27 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); response.headers.contentLength = 0; return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 475, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T.SocketTo_WebSocketImpl())); + }, T$1.SocketTo_WebSocketImpl())); } - dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + dart.fn(upgrade, T$1.StringNToFutureOfWebSocket()); let protocols = request.headers._get("Sec-WebSocket-Protocol"); if (protocols != null && protocolSelector != null) { let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); - return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { - if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); - if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T$1.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 487, 26, "protocol"); + if (!dart.test(tokenizedProtocols[$contains](protocol))) { dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); } return protocol; }, T$.StringToString())).catchError(dart.fn(error => { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 500; - t302.close(); - return t302; + t278.statusCode = 500; + t278.close(); + return t278; })(); dart.throw(error); }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); @@ -136031,9 +148175,9 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. } } static _negotiateCompression(request, response, compression) { - if (request == null) dart.nullFailed(I[186], 509, 73, "request"); - if (response == null) dart.nullFailed(I[186], 510, 20, "response"); - if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + if (request == null) dart.nullFailed(I[186], 504, 73, "request"); + if (response == null) dart.nullFailed(I[186], 505, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 505, 49, "compression"); let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); extensionHeader == null ? extensionHeader = "" : null; let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); @@ -136048,7 +148192,7 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. return null; } static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request == null) dart.nullFailed(I[186], 534, 45, "request"); if (request.method !== "GET") { return false; } @@ -136080,8 +148224,8 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. } }; (_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); - this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + this[_controller$0] = T$1.StreamControllerOfWebSocket().new({sync: true}); this[_protocolSelector$] = _protocolSelector; this[_compression$] = _compression; _http._WebSocketTransformerImpl.__proto__.new.call(this); @@ -136094,6 +148238,7 @@ dart.setMethodSignature(_http._WebSocketTransformerImpl, () => ({ __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(_http._WebSocketTransformerImpl, () => ['_tokenizeFieldValue', '_upgrade', '_negotiateCompression', '_isUpgradeRequest']); dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), @@ -136104,25 +148249,37 @@ dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + static ['_#new#tearOff'](opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverSide: serverSide}); + } [_ensureDecoder]() { - let t302; - t302 = this.decoder; - return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.decoder; + return t278 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t278; } [_ensureEncoder]() { - let t302; - t302 = this.encoder; - return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.encoder; + return t278 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t278; } processIncomingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 591, 46, "msg"); let decoder = this[_ensureDecoder](); let data = T$.JSArrayOfint().of([]); data[$addAll](msg); - data[$addAll](C[488] || CT.C488); + data[$addAll](C[502] || CT.C502); decoder.process(data, 0, data[$length]); let result = _internal.BytesBuilder.new(); - let out = null; while (true) { let out = decoder.processed(); if (out == null) break; @@ -136134,7 +148291,7 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co return result.takeBytes(); } processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); let encoder = this[_ensureEncoder](); let result = T$.JSArrayOfint().of([]); let buffer = null; @@ -136160,7 +148317,7 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co if (dart.notNull(result[$length]) > 4) { result = result[$sublist](0, dart.notNull(result[$length]) - 4); } - if (result[$length] === 0) { + if (dart.test(result[$isEmpty])) { return T$.JSArrayOfint().of([0]); } return result; @@ -136168,15 +148325,15 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co }; (_http._WebSocketPerMessageDeflate.new = function(opts) { let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; - if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; - if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; - if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); this.decoder = null; this.encoder = null; this.clientMaxWindowBits = clientMaxWindowBits; @@ -136210,17 +148367,21 @@ var _deflateHelper = dart.privateName(_http, "_deflateHelper"); var _outCloseCode = dart.privateName(_http, "_outCloseCode"); var _outCloseReason = dart.privateName(_http, "_outCloseReason"); _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + static ['_#new#tearOff'](webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); + return new _http._WebSocketOutgoingTransformer.new(webSocket); + } bind(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + if (stream == null) dart.nullFailed(I[186], 673, 33, "stream"); return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 675, 31, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + }, T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); } add(message) { if (_http._WebSocketPong.is(message)) { @@ -136258,7 +148419,7 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend this.addFrame(opcode, data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + if (error == null) dart.nullFailed(I[186], 720, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -136268,26 +148429,26 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let data = null; if (code != null) { data = (() => { - let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); - if (reason != null) t302[$addAll](convert.utf8.encode(reason)); - return t302; + let t278 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t278[$addAll](convert.utf8.encode(reason)); + return t278; })(); } this.addFrame(8, data); dart.nullCheck(this[_eventSink$]).close(); } addFrame(opcode, data) { - if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + if (opcode == null) dart.nullFailed(I[186], 741, 21, "opcode"); _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + if (e == null) dart.nullFailed(I[186], 749, 19, "e"); dart.nullCheck(this[_eventSink$]).add(e); }, T$0.ListOfintTovoid())); } static createFrame(opcode, data, serverSide, compressed) { - let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; - if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); - if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); - if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let t279, t279$, t279$0, t279$1, t280, t279$2, t280$, t279$3, t280$0, t279$4; + if (opcode == null) dart.nullFailed(I[186], 755, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 755, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 755, 58, "compressed"); let mask = !dart.test(serverSide); let dataLength = data == null ? 0 : data[$length]; let headerSize = mask ? 6 : 2; @@ -136299,22 +148460,22 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let header = _native_typed_data.NativeUint8List.new(headerSize); let index = 0; let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; - header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + header[$_set]((t279 = index, index = t279 + 1, t279), hoc); let lengthBytes = 1; if (dart.notNull(dataLength) > 65535) { - header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); lengthBytes = 8; } else if (dart.notNull(dataLength) > 125) { - header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + header[$_set]((t279$0 = index, index = t279$0 + 1, t279$0), 126); lengthBytes = 2; } for (let i = 0; i < lengthBytes; i = i + 1) { - header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + header[$_set]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); } if (mask) { - t303$2 = header; - t304 = 1; - t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + t279$2 = header; + t280 = 1; + t279$2[$_set](t280, (dart.notNull(t279$2[$_get](t280)) | 1 << 7) >>> 0); let maskBytes = _http._CryptoUtils.getRandomBytes(4); header[$setRange](index, index + 4, maskBytes); index = index + 4; @@ -136344,20 +148505,20 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t303$3 = blockBuffer; - t304$ = i; - t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + t279$3 = blockBuffer; + t280$ = i; + t279$3[$_set](t280$, t279$3[$_get](t280$)['^'](blockMask)); } } for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { - t303$4 = list; - t304$0 = i; - t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + t279$4 = list; + t280$0 = i; + t279$4[$_set](t280$0, (dart.notNull(t279$4[$_get](t280$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); } data = list; } } - if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (!(index === headerSize)) dart.assertFailed(null, I[186], 834, 12, "index == headerSize"); if (data == null) { return T$0.JSArrayOfListOfint().of([header]); } else { @@ -136366,7 +148527,7 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend } }; (_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); this[_eventSink$] = null; this.webSocket = webSocket; this[_deflateHelper] = webSocket[_deflate$]; @@ -136384,12 +148545,13 @@ dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ close: dart.fnType(dart.void, []), addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) })); +dart.setStaticMethodSignature(_http._WebSocketOutgoingTransformer, () => ['createFrame']); dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), webSocket: dart.finalFieldType(_http._WebSocketImpl), [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), - [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflateHelper]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); var _issuedPause = dart.privateName(_http, "_issuedPause"); var _closed$ = dart.privateName(_http, "_closed"); @@ -136402,10 +148564,15 @@ var _cancel$ = dart.privateName(_http, "_cancel"); var _done = dart.privateName(_http, "_done"); var _ensureController = dart.privateName(_http, "_ensureController"); _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + static ['_#new#tearOff'](webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); + return new _http._WebSocketConsumer.new(webSocket, socket); + } [_onListen]() { - let t303; - t303 = this[_subscription$0]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); } [_onPause$]() { let subscription = this[_subscription$0]; @@ -136439,8 +148606,8 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { this[_done](); this[_closeCompleter$].complete(this.webSocket); }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[186], 904, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[186], 898, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 898, 43, "stackTrace"); this[_closed$] = true; this[_cancel$](); if (core.ArgumentError.is(error)) { @@ -136467,7 +148634,7 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 925, 27, "stream"); if (dart.test(this[_closed$])) { stream.listen(null).cancel(); return async.Future.value(this.webSocket); @@ -136486,7 +148653,7 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { close() { this[_ensureController]().close(); return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { - }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); } add(data) { if (dart.test(this[_closed$])) return; @@ -136501,13 +148668,13 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { } }; (_http._WebSocketConsumer.new = function(webSocket, socket) { - if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); - if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); this[_controller$0] = null; this[_subscription$0] = null; this[_issuedPause] = false; this[_closed$] = false; - this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_closeCompleter$] = T$1.CompleterOfWebSocket().new(); this[_completer] = null; this.webSocket = webSocket; this.socket = socket; @@ -136538,7 +148705,7 @@ dart.setFieldSignature(_http._WebSocketConsumer, () => ({ [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), [_issuedPause]: dart.fieldType(core.bool), [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.fieldType(async.Completer), + [_closeCompleter$]: dart.finalFieldType(async.Completer), [_completer]: dart.fieldType(dart.nullable(async.Completer)) })); var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); @@ -136567,29 +148734,31 @@ const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stre dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { get [_sink]() { - let t303; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + let t279; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); } - set [_sink](t303) { - if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + set [_sink](_sink$35param) { + if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = t303; + this[___WebSocketImpl__sink] = _sink$35param; } get [_consumer]() { - let t304; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + let t279; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); } - set [_consumer](t304) { - if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + set [_consumer](_consumer$35param) { + if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = t304; + this[___WebSocketImpl__consumer] = _consumer$35param; } static connect(url, protocols, headers, opts) { - if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let t279; + if (url == null) dart.nullFailed(I[186], 995, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[186], 996, 27, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; let uri = core.Uri.parse(url); - if (uri.scheme !== "ws" && uri.scheme !== "wss") { + if (!dart.test(uri.isScheme("ws")) && !dart.test(uri.isScheme("wss"))) { dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); } let random = math.Random.new(); @@ -136597,29 +148766,30 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { for (let i = 0; i < 16; i = i + 1) { nonceData[$_set](i, random.nextInt(256)); } - let nonce = _http._CryptoUtils.bytesToBase64(nonceData); - uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); - return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { - let t305; - if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + let nonce = convert.base64Encode(nonceData); + let callerStackTrace = core.StackTrace.current; + uri = core._Uri.new({scheme: dart.test(uri.isScheme("wss")) ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return (t279 = customClient, t279 == null ? _http._WebSocketImpl._httpClient : t279).openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t279; + if (request == null) dart.nullFailed(I[186], 1021, 68, "request"); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } if (headers != null) { headers[$forEach](dart.fn((field, value) => { - if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + if (field == null) dart.nullFailed(I[186], 1029, 26, "field"); return request.headers.add(field, core.Object.as(value)); }, T$0.StringAnddynamicTovoid())); } - t305 = request.headers; + t279 = request.headers; (() => { - t305.set("connection", "Upgrade"); - t305.set("upgrade", "websocket"); - t305.set("Sec-WebSocket-Key", nonce); - t305.set("Cache-Control", "no-cache"); - t305.set("Sec-WebSocket-Version", "13"); - return t305; + t279.set("connection", "Upgrade"); + t279.set("upgrade", "websocket"); + t279.set("Sec-WebSocket-Key", nonce); + t279.set("Cache-Control", "no-cache"); + t279.set("Sec-WebSocket-Version", "13"); + return t279; })(); if (protocols != null) { request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); @@ -136628,76 +148798,78 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); } return request.close(); - }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { - if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + }, T$1.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1048, 14, "response"); function error(message) { - if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + if (message == null) dart.nullFailed(I[186], 1049, 38, "message"); response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); socket.destroy(); - }, T.SocketToNull())); - dart.throw(new _http.WebSocketException.new(message)); + }, T$1.SocketToNull())); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); } - dart.fn(error, T.StringToNever()); + dart.fn(error, T$1.StringToFutureOfWebSocket()); let connectionHeader = response.headers._get("connection"); if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { - if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + if (value == null) dart.nullFailed(I[186], 1061, 34, "value"); return value[$toLowerCase]() === "upgrade"; }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); } let accept = response.headers.value("Sec-WebSocket-Accept"); if (accept == null) { - error("Response did not contain a 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response did not contain a 'Sec-WebSocket-Accept' header"); } let sha1 = new _http._SHA1.new(); sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); let expectedAccept = sha1.close(); - let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + let receivedAccept = convert.base64Decode(accept); if (expectedAccept[$length] != receivedAccept[$length]) { - error("Response header 'Sec-WebSocket-Accept' is the wrong length"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response header 'Sec-WebSocket-Accept' is the wrong length"); } for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { - error("Bad response 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Bad response 'Sec-WebSocket-Accept' header"); } } let protocol = response.headers.value("Sec-WebSocket-Protocol"); let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 1089, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T.SocketTo_WebSocketImpl())); - }, T.HttpClientResponseToFutureOfWebSocket())); + }, T$1.SocketTo_WebSocketImpl())); + }, T$1.HttpClientResponseToFutureOfWebSocket())); } static negotiateClientCompression(response, compression) { - let t305; - if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); - if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); - let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let t279; + if (response == null) dart.nullFailed(I[186], 1096, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1096, 55, "compression"); + let extensionHeader = (t279 = response.headers.value("Sec-WebSocket-Extensions"), t279 == null ? "" : t279); let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); function getWindowBits(type) { - let t305; - if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let t279; + if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); let o = hv.parameters[$_get](type); if (o == null) { return 15; } - t305 = core.int.tryParse(o); - return t305 == null ? 15 : t305; + t279 = core.int.tryParse(o); + return t279 == null ? 15 : t279; } dart.fn(getWindowBits, T$0.StringToint()); return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); } return null; } + static ['_#_fromSocket#tearOff'](_socket, protocol, compression, _serverSide = false, deflate = null) { + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); + return new _http._WebSocketImpl._fromSocket(_socket, protocol, compression, _serverSide, deflate); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -136708,19 +148880,19 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { return this[_pingInterval]; } set pingInterval(interval) { - let t305; + let t279; if (dart.test(this[_writeClosed])) return; - t305 = this[_pingTimer]; - t305 == null ? null : t305.cancel(); + t279 = this[_pingTimer]; + t279 == null ? null : t279.cancel(); this[_pingInterval] = interval; if (interval == null) return; this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { if (dart.test(this[_writeClosed])) return; this[_consumer].add(new _http._WebSocketPing.new()); this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { - let t305; - t305 = this[_closeTimer]; - t305 == null ? null : t305.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); this[_close$0](1001); this[_closeCode] = this[_outCloseCode]; this[_closeReason] = this[_outCloseReason]; @@ -136744,17 +148916,17 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_sink].add(data); } addUtf8Text(bytes) { - if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 1225, 30, "bytes"); core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); this[_sink].add(new _http._EncodedString.new(bytes)); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + if (error == null) dart.nullFailed(I[186], 1231, 24, "error"); this[_sink].addError(error, stackTrace); } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); return this[_sink].addStream(stream); } get done() { @@ -136770,19 +148942,17 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { } if (!dart.test(this[_controller$0].isClosed)) { if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { - this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); - } - if (this[_closeTimer] == null) { - this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { - let t305; - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - t305 = this[_subscription$0]; - t305 == null ? null : t305.cancel(); - this[_controller$0].close(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - }, T$.VoidTovoid())); + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T$1.dynamicToMap())); } + this[_closeTimer] == null ? this[_closeTimer] = async.Timer.new(C[503] || CT.C503, dart.fn(() => { + let t279; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())) : null; } return this[_sink].close(); } @@ -136808,33 +148978,15 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { get [_serviceTypeName$]() { return "WebSocket"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); - let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - return r; - } static _isReservedStatusCode(code) { return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); } }; (_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { - let t303; - if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); - if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); - if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + let t279; + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); this[_subscription$0] = null; this[___WebSocketImpl__sink] = null; this[___WebSocketImpl__sink_isSet] = false; @@ -136869,11 +149021,11 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_controller$0].add(data); } }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - let t303; - if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + if (error == null) dart.nullFailed(I[186], 1146, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1146, 43, "stackTrace"); + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (core.FormatException.is(error)) { this[_close$0](1007); } else { @@ -136883,9 +149035,9 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_closeReason] = this[_outCloseReason]; this[_controller$0].close(); }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - let t303; - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (this[_readyState] === 1) { this[_readyState] = 2; if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { @@ -136900,16 +149052,16 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_controller$0].close(); }, T$.VoidTovoid()), cancelOnError: true}); subscription.pause(); - t303 = this[_controller$0]; + t279 = this[_controller$0]; (() => { - t303.onListen = dart.bind(subscription, 'resume'); - t303.onCancel = dart.fn(() => { + t279.onListen = dart.bind(subscription, 'resume'); + t279.onCancel = dart.fn(() => { dart.nullCheck(this[_subscription$0]).cancel(); this[_subscription$0] = null; }, T$.VoidToNull()); - t303.onPause = dart.bind(subscription, 'pause'); - t303.onResume = dart.bind(subscription, 'resume'); - return t303; + t279.onPause = dart.bind(subscription, 'pause'); + t279.onResume = dart.bind(subscription, 'resume'); + return t279; })(); _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); }).prototype = _http._WebSocketImpl.prototype; @@ -136924,9 +149076,9 @@ dart.setMethodSignature(_http._WebSocketImpl, () => ({ addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); dart.setGetterSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), [_sink]: async.StreamSink, @@ -136946,6 +149098,8 @@ dart.setSetterSignature(_http._WebSocketImpl, () => ({ [_consumer]: _http._WebSocketConsumer, pingInterval: dart.nullable(core.Duration) })); +dart.setStaticGetterSignature(_http._WebSocketImpl, () => ['userAgent']); +dart.setStaticSetterSignature(_http._WebSocketImpl, () => ['userAgent']); dart.setLibraryUri(_http._WebSocketImpl, I[177]); dart.setFieldSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getFields(_http._WebSocketImpl.__proto__), @@ -136969,11 +149123,11 @@ dart.setFieldSignature(_http._WebSocketImpl, () => ({ [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); +dart.setStaticFieldSignature(_http._WebSocketImpl, () => ['_webSockets', 'DEFAULT_WINDOW_BITS', 'PER_MESSAGE_DEFLATE', '_httpClient']); dart.defineLazy(_http._WebSocketImpl, { /*_http._WebSocketImpl._webSockets*/get _webSockets() { - return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + return new (T$1.IdentityMapOfint$_WebSocketImpl()).new(); }, - set _webSockets(_) {}, /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { return 15; }, @@ -136990,6 +149144,34 @@ _http._getHttpVersion = function _getHttpVersion() { version = version[$substring](0, index); return "Dart/" + dart.str(version) + " (dart:io)"; }; +_http['Testing$HttpDate|test$_parseCookieDate'] = function Testing$36HttpDate$124test$36_parseCookieDate(date) { + if (date == null) dart.nullFailed(I[187], 45, 48, "date"); + return _http.HttpDate._parseCookieDate(date); +}; +_http['Testing$_HttpHeaders|test$_build'] = function Testing$36_HttpHeaders$124test$36_build($this, builder) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return $this[_build](builder); +}; +_http['Testing$_HttpHeaders|get#test$_build'] = function Testing$36_HttpHeaders$124get$35test$36_build($this) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + return dart.fn(builder => { + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return _http['Testing$_HttpHeaders|test$_build']($this, builder); + }, T$1.BytesBuilderTovoid()); +}; +_http['Testing$_HttpHeaders|test$_parseCookies'] = function Testing$36_HttpHeaders$124test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return $this[_parseCookies](); +}; +_http['Testing$_HttpHeaders|get#test$_parseCookies'] = function Testing$36_HttpHeaders$124get$35test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return dart.fn(() => _http['Testing$_HttpHeaders|test$_parseCookies']($this), T$1.VoidToListOfCookie()); +}; +_http['Testing$_WebSocketProtocolTransformer|get#test$_state'] = function Testing$36_WebSocketProtocolTransformer$124get$35test$36_state($this) { + if ($this == null) dart.nullFailed(I[187], 56, 11, "#this"); + return $this[_state$1]; +}; dart.defineLazy(_http, { /*_http._MASK_8*/get _MASK_8() { return 255; @@ -137003,10 +149185,23 @@ dart.defineLazy(_http, { /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { return 4; }, + /*_http._httpConnectionHook*/get _httpConnectionHook() { + return dart.fn(_ => { + if (_ == null) dart.nullFailed(I[188], 21, 43, "_"); + }, T$1.UriTovoid()); + }, + set _httpConnectionHook(value) { + if (value == null) dart.nullFailed(I[188], 21, 20, "_httpConnectionHook"); + }, + /*_http._digitsValidator*/get _digitsValidator() { + return core.RegExp.new("^\\d+$"); + }, /*_http._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); + }, /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { return 8192; }, @@ -137017,7 +149212,7 @@ dart.defineLazy(_http, { return new core.Object.new(); }, /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*_http._webSocketGUID*/get _webSocketGUID() { return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; @@ -137038,6 +149233,7 @@ dart.defineLazy(_http, { dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); dart.trackLibraries("dart_sdk", { "dart:_runtime": dart, + "dart:_dart2js_runtime_metrics": _dart2js_runtime_metrics, "dart:_debugger": _debugger, "dart:_foreign_helper": _foreign_helper, "dart:_interceptors": _interceptors, @@ -137063,29 +149259,29 @@ dart.trackLibraries("dart_sdk", { "dart:svg": svg$, "dart:web_audio": web_audio, "dart:web_gl": web_gl, - "dart:web_sql": web_sql, "dart:core": core, "dart:_http": _http }, { "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], "dart:_debugger": ["profile.dart"], "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], - "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "patch.dart", "print.dart", "sort.dart", "symbol.dart"], "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], - "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], "dart:isolate": ["capability.dart"], "dart:math": ["point.dart", "random.dart", "rectangle.dart"], "dart:typed_data": ["unmodifiable_typed_data.dart"], "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], - "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], - "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "enum.dart", "errors.dart", "exceptions.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "record.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart", "weak.dart"], + "dart:_http": ["crypto.dart", "embedder_config.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "http_testing.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] }, null); // Exports: exports.dart = dart; +exports._dart2js_runtime_metrics = _dart2js_runtime_metrics; exports._debugger = _debugger; exports._foreign_helper = _foreign_helper; exports._interceptors = _interceptors; @@ -137111,7 +149307,6 @@ exports.html_common = html_common; exports.svg = svg$; exports.web_audio = web_audio; exports.web_gl = web_gl; -exports.web_sql = web_sql; exports.core = core; exports._http = _http; exports.dartx = dartx; diff --git a/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js index 1b8fd9c92..815ce479b 100644 --- a/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js +++ b/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js @@ -1,6 +1,7 @@ const _library = Object.create(null); const dart = Object.create(_library); dart.library = _library; +var _dart2js_runtime_metrics = Object.create(dart.library); var _debugger = Object.create(dart.library); var _foreign_helper = Object.create(dart.library); var _interceptors = Object.create(dart.library); @@ -26,11 +27,10 @@ var html_common = Object.create(dart.library); var svg$ = Object.create(dart.library); var web_audio = Object.create(dart.library); var web_gl = Object.create(dart.library); -var web_sql = Object.create(dart.library); var core = Object.create(dart.library); var _http = Object.create(dart.library); var dartx = Object.create(dart.library); -export { dart, _debugger, _foreign_helper, _interceptors, _internal, _isolate_helper, _js_helper, _js_primitives, _metadata, _native_typed_data, async, collection, convert, developer, io, isolate$ as isolate, js, js_util, math, typed_data, indexed_db, html$ as html, html_common, svg$ as svg, web_audio, web_gl, web_sql, core, _http, dartx }; +export { dart, _dart2js_runtime_metrics, _debugger, _foreign_helper, _interceptors, _internal, _isolate_helper, _js_helper, _js_primitives, _metadata, _native_typed_data, async, collection, convert, developer, io, isolate$ as isolate, js, js_util, math, typed_data, indexed_db, html$ as html, html_common, svg$ as svg, web_audio, web_gl, core, _http, dartx }; const _privateNames = Symbol("_privateNames"); dart.privateName = function(library, name) { let names = library[_privateNames]; @@ -47,6 +47,7 @@ var $length = dartx.length = Symbol("dartx.length"); var $_equals = dartx._equals = Symbol("dartx._equals"); var $toString = dartx.toString = Symbol("dartx.toString"); var $noSuchMethod = dartx.noSuchMethod = Symbol("dartx.noSuchMethod"); +var $add = dartx.add = Symbol("dartx.add"); var $cast = dartx.cast = Symbol("dartx.cast"); var $addAll = dartx.addAll = Symbol("dartx.addAll"); var $_set = dartx._set = Symbol("dartx._set"); @@ -54,7 +55,6 @@ var $_get = dartx._get = Symbol("dartx._get"); var $clear = dartx.clear = Symbol("dartx.clear"); var $contains = dartx.contains = Symbol("dartx.contains"); var $indexOf = dartx.indexOf = Symbol("dartx.indexOf"); -var $add = dartx.add = Symbol("dartx.add"); var $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); var $map = dartx.map = Symbol("dartx.map"); var $toList = dartx.toList = Symbol("dartx.toList"); @@ -68,7 +68,6 @@ var $any = dartx.any = Symbol("dartx.any"); var $keys = dartx.keys = Symbol("dartx.keys"); var $remove = dartx.remove = Symbol("dartx.remove"); var $values = dartx.values = Symbol("dartx.values"); -var $entries = dartx.entries = Symbol("dartx.entries"); var $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); var $truncate = dartx.truncate = Symbol("dartx.truncate"); var $toInt = dartx.toInt = Symbol("dartx.toInt"); @@ -188,6 +187,7 @@ var $offsetInBytes = dartx.offsetInBytes = Symbol("dartx.offsetInBytes"); var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); var $update = dartx.update = Symbol("dartx.update"); var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); +var $entries = dartx.entries = Symbol("dartx.entries"); var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); @@ -258,6 +258,8 @@ var T$ = { IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + LinkedHashMapOfString$Object: () => (T$.LinkedHashMapOfString$Object = dart.constFn(collection.LinkedHashMap$(core.String, core.Object)))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), @@ -284,18 +286,15 @@ var T$ = { StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), - ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), - InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), - MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), - ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), - VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), @@ -306,7 +305,6 @@ var T$ = { ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), - ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), @@ -330,27 +328,65 @@ var T$ = { _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), - VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), - ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), - VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), - StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), - FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), - VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), - _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), - JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + ZoneAndZoneDelegateAndZone__ToR: () => (T$.ZoneAndZoneDelegateAndZone__ToR = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR())))(), + ZoneAndZoneDelegateAndZone__ToR$1: () => (T$.ZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR(), T]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$1())))(), + ZoneAndZoneDelegateAndZone__ToR$2: () => (T$.ZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [R, [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR(), T1, T2]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToR$2())))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [__t$VoidToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$VoidToR()]]; + }, R => { + var __t$VoidToR = () => (__t$VoidToR = dart.constFn(dart.fnType(R, [])))(); + return [T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [__t$TToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$TToR()]]; + }, (R, T) => { + var __t$TToR = () => (__t$TToR = dart.constFn(dart.fnType(R, [T])))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [__t$T1AndT2ToR(), [async.Zone, async.ZoneDelegate, async.Zone, __t$T1AndT2ToR()]]; + }, (R, T1, T2) => { + var __t$T1AndT2ToR = () => (__t$T1AndT2ToR = dart.constFn(dart.fnType(R, [T1, T2])))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToFn$2())))(), AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), @@ -371,16 +407,106 @@ var T$ = { _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL())))(), ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL(), __t$TL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$1())))(), ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$RL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL(), __t$T1L(), __t$T2L()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToRL$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLRL$2())))(), ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), - ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), - ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), - ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn = dart.constFn(dart.gFnType(R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [__t$VoidToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$VoidToLRL()]]; + }, R => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$VoidToRL = () => (__t$VoidToRL = dart.constFn(dart.fnType(__t$RL(), [])))(); + var __t$VoidToLRL = () => (__t$VoidToLRL = dart.constFn(dart.legacy(__t$VoidToRL())))(); + return [T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn())))(), + ZoneAndZoneDelegateAndZone__ToFn$3: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$3 = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1 = dart.constFn(dart.gFnType((R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [__t$TLToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$TLToLRL()]]; + }, (R, T) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$TLToRL = () => (__t$TLToRL = dart.constFn(dart.fnType(__t$RL(), [__t$TL()])))(); + var __t$TLToLRL = () => (__t$TLToLRL = dart.constFn(dart.legacy(__t$TLToRL())))(); + var __t$TL = () => (__t$TL = dart.constFn(dart.legacy(T)))(); + return [T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$1())))(), + ZoneAndZoneDelegateAndZone__ToFn$4: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$4 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [__t$T1LAndT2LToLRL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), __t$T1LAndT2LToLRL()]]; + }, (R, T1, T2) => { + var __t$RL = () => (__t$RL = dart.constFn(dart.legacy(R)))(); + var __t$T1LAndT2LToRL = () => (__t$T1LAndT2LToRL = dart.constFn(dart.fnType(__t$RL(), [__t$T1L(), __t$T2L()])))(); + var __t$T1LAndT2LToLRL = () => (__t$T1LAndT2LToLRL = dart.constFn(dart.legacy(__t$T1LAndT2LToRL())))(); + var __t$T1L = () => (__t$T1L = dart.constFn(dart.legacy(T1)))(); + var __t$T2L = () => (__t$T2L = dart.constFn(dart.legacy(T2)))(); + return [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()]; + })))(), + ZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToFn$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLFn$2())))(), + ZoneAndZoneDelegateAndZone__ToFn$5: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$5 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), @@ -413,21 +539,25 @@ var T$ = { ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), - NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), - StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), - HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), - JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), - ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), - ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), - LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() + ObjectNTo_FutureOfObjectN: () => (T$.ObjectNTo_FutureOfObjectN = dart.constFn(dart.fnType(T$._FutureOfObjectN(), [T$.ObjectN()])))(), + ObjectAndStackTraceNToObject: () => (T$.ObjectAndStackTraceNToObject = dart.constFn(dart.fnType(core.Object, [core.Object, T$.StackTraceN()])))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + ObjectNAndObjectNTovoid$1: () => (T$.ObjectNAndObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()], [T$.ObjectN()])))() }; var T$0 = { + StringTovoid: () => (T$0.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$0.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + ObjectNToint: () => (T$0.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$0.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$0.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))(), dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), - ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + StringTodynamic: () => (T$0.StringTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.String])))(), MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + VoidTodynamic: () => (T$0.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ListN: () => (T$0.ListN = dart.constFn(dart.nullable(core.List)))(), IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), @@ -441,40 +571,36 @@ var T$0 = { StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), - SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), - LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), - UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), - CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), - UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), - CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), - UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + UnmodifiableMapViewOfString$Metric: () => (T$0.UnmodifiableMapViewOfString$Metric = dart.constFn(collection.UnmodifiableMapView$(core.String, developer.Metric)))(), + IdentityMapOfString$Metric: () => (T$0.IdentityMapOfString$Metric = dart.constFn(_js_helper.IdentityMap$(core.String, developer.Metric)))(), + CompleterOfStringN: () => (T$0.CompleterOfStringN = dart.constFn(async.Completer$(T$.StringN())))(), + StringNTovoid: () => (T$0.StringNTovoid = dart.constFn(dart.fnType(dart.void, [T$.StringN()])))(), _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), - JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + _AsyncBlockN: () => (T$0._AsyncBlockN = dart.constFn(dart.nullable(developer._AsyncBlock)))(), + JSArrayOf_AsyncBlockN: () => (T$0.JSArrayOf_AsyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._AsyncBlockN())))(), LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), - VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), - Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), - dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), - dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + ObjectNTo_Directory: () => (T$0.ObjectNTo_Directory = dart.constFn(dart.fnType(io._Directory, [T$.ObjectN()])))(), + ObjectNToDirectory: () => (T$0.ObjectNToDirectory = dart.constFn(dart.fnType(io.Directory, [T$.ObjectN()])))(), JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), - FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), - dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), - dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + ObjectNToFileSystemEntityType: () => (T$0.ObjectNToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [T$.ObjectN()])))(), StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + ObjectNToNull: () => (T$0.ObjectNToNull = dart.constFn(dart.fnType(core.Null, [T$.ObjectN()])))(), StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), @@ -482,54 +608,51 @@ var T$0 = { FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), - StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), - VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), - StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + FutureOfObjectN: () => (T$0.FutureOfObjectN = dart.constFn(async.Future$(T$.ObjectN())))(), DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), - DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), - dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + DirectoryNToFutureOfObjectN: () => (T$0.DirectoryNToFutureOfObjectN = dart.constFn(dart.fnType(T$0.FutureOfObjectN(), [T$0.DirectoryN()])))(), + ObjectNTo_File: () => (T$0.ObjectNTo_File = dart.constFn(dart.fnType(io._File, [T$.ObjectN()])))(), FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), - dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), - dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), - FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), - dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), - dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + ObjectNToFile: () => (T$0.ObjectNToFile = dart.constFn(dart.fnType(io.File, [T$.ObjectN()])))(), + ObjectNTo_RandomAccessFile: () => (T$0.ObjectNTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [T$.ObjectN()])))(), + ObjectNToDateTime: () => (T$0.ObjectNToDateTime = dart.constFn(dart.fnType(core.DateTime, [T$.ObjectN()])))(), CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), - dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), - dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ObjectNToFileStat: () => (T$0.ObjectNToFileStat = dart.constFn(dart.fnType(io.FileStat, [T$.ObjectN()])))(), ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), - dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + ObjectNTo_Link: () => (T$0.ObjectNTo_Link = dart.constFn(dart.fnType(io._Link, [T$.ObjectN()])))(), FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), - dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + ObjectNToLink: () => (T$0.ObjectNToLink = dart.constFn(dart.fnType(io.Link, [T$.ObjectN()])))(), _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + IterableOfObjectN: () => (T$0.IterableOfObjectN = dart.constFn(core.Iterable$(T$.ObjectN())))(), _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), @@ -542,7 +665,7 @@ var T$0 = { StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), - dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + ListOfObjectNToFutureOfRawSecureSocket: () => (T$0.ListOfObjectNToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [T$.ListOfObjectN()])))(), StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), @@ -555,9 +678,12 @@ var T$0 = { intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), - JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), - StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + FutureOrNTovoid: () => (T$0.FutureOrNTovoid = dart.constFn(dart.fnType(dart.void, [], [dart.dynamic])))(), Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + _RemoteRunnerOfObjectN: () => (T$0._RemoteRunnerOfObjectN = dart.constFn(isolate$._RemoteRunner$(T$.ObjectN())))(), + _RemoteRunnerOfObjectNTovoid: () => (T$0._RemoteRunnerOfObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$0._RemoteRunnerOfObjectN()])))(), + IsolateToNull: () => (T$0.IsolateToNull = dart.constFn(dart.fnType(core.Null, [isolate$.Isolate])))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), @@ -606,13 +732,15 @@ var T$0 = { EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + RenderingContextN: () => (T$0.RenderingContextN = dart.constFn(dart.nullable(web_gl.RenderingContext)))(), CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), - dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementToCssStyleDeclaration: () => (T$0.ElementToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [html$.Element])))(), CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), @@ -626,7 +754,6 @@ var T$0 = { SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), - ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), @@ -638,7 +765,6 @@ var T$0 = { FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), - GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), @@ -709,12 +835,8 @@ var T$0 = { EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), - ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), - _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), - StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), - BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), - _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), - _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventL: () => (T$0.BeforeUnloadEventL = dart.constFn(dart.legacy(html$.BeforeUnloadEvent)))(), + EventStreamProviderOfBeforeUnloadEventL: () => (T$0.EventStreamProviderOfBeforeUnloadEventL = dart.constFn(html$.EventStreamProvider$(T$0.BeforeUnloadEventL())))(), GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), @@ -729,6 +851,7 @@ var T$0 = { SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), @@ -743,25 +866,23 @@ var T$0 = { TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), - CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + CompleterOfObject: () => (T$0.CompleterOfObject = dart.constFn(async.Completer$(core.Object)))(), AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + DomExceptionN: () => (T$0.DomExceptionN = dart.constFn(dart.nullable(html$.DomException)))(), + DomExceptionNTovoid: () => (T$0.DomExceptionNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.DomExceptionN()])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + ObjectToAudioBuffer: () => (T$0.ObjectToAudioBuffer = dart.constFn(dart.fnType(web_audio.AudioBuffer, [core.Object])))(), AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), - CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), - SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), - SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), - CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), - SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), - SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), - intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + numN: () => (T$0.numN = dart.constFn(dart.nullable(core.num)))(), SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), - StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + StringAndintNTovoid: () => (T$0.StringAndintNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.intN()])))(), ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), @@ -770,7 +891,8 @@ var T$0 = { IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), - _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + intAndintAndint__ToDateTime: () => (T$0.intAndintAndint__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [core.int], [core.int, core.int, core.int, core.int, core.int, core.int, core.int])))(), + __ToDateTime: () => (T$0.__ToDateTime = dart.constFn(dart.fnType(core.DateTime, [], {day: T$.intN(), hour: T$.intN(), isUtc: T$.boolN(), microsecond: T$.intN(), millisecond: T$.intN(), minute: T$.intN(), month: T$.intN(), second: T$.intN(), year: T$.intN()}, {})))(), ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), @@ -782,124 +904,127 @@ var T$0 = { JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), - UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), - StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), - JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), - _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), - IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), - JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), - VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), - dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), - CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), - CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), - FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), - _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), - _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), - Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), - dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), - VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), - VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), - _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), - _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), - _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), - _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), - FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), - boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), - SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), - CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), - EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), - ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), - CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), - CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), - JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), - HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), - JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), - ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), - CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), - StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), - voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), - voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), - StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), - _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), - dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), - dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), - dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() -}; -var T = { - dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), - dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), - _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), - CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), - _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), - SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), - SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), - FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), - SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), - SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), - FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), - HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), - SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), - _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), - _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), - FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), - CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), - X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), - _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), - FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), - dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), - ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), - IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), - JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), - JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), - MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), - Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), - _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), - _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), - FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), - _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), - FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), - _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), - _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), - VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), - dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), - _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), - _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), - StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), - StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), - SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), - dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), - IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), - LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), - StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), - ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), - SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), - _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), - _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), - LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), - JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), - StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), - IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), - VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), - IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), - HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), - EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), - StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), - StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), - WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), - HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), - FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), - SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), - StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), - VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), - EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), - EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), - CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), - dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), - HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), - StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), - HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), - dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), - LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))() +}; +var T$1 = { + StringNToString: () => (T$1.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$1.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$1._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$1.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$1.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$1.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + CompleterOfbool: () => (T$1.CompleterOfbool = dart.constFn(async.Completer$(core.bool)))(), + CookieTobool: () => (T$1.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$1.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$1.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$1._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$1._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$1.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$1.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$1.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$1.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$1._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$1._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$1._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$1._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$1._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$1.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$1.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$1.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$1.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + ListOfintToListOfint: () => (T$1.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$1.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$1.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$1.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$1.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$1.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$1.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$1.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$1.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$1.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$1.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$1.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$1._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$1.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$1._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$1.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessage: () => (T$1.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T$1.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T$1._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T$1.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T$1._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T$1.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T$1.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T$1.FutureOfSocketN = dart.constFn(async.Future$(T$1.SocketN())))(), + SocketTo_DetachedSocket: () => (T$1.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T$1.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T$1.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T$1.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T$1.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T$1.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T$1._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + ConnectionTaskOfSocket: () => (T$1.ConnectionTaskOfSocket = dart.constFn(io.ConnectionTask$(io.Socket)))(), + _HashSetOfConnectionTaskOfSocket: () => (T$1._HashSetOfConnectionTaskOfSocket = dart.constFn(collection._HashSet$(T$1.ConnectionTaskOfSocket())))(), + ListQueueOfVoidTovoid: () => (T$1.ListQueueOfVoidTovoid = dart.constFn(collection.ListQueue$(T$.VoidTovoid())))(), + SocketToNull: () => (T$1.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + FutureOf_ConnectionInfo: () => (T$1.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T$1.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T$1.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T$1._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T$1.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + SocketToFutureOrOf_ConnectionInfo: () => (T$1.SocketToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOrOf_ConnectionInfo(), [io.Socket])))(), + ConnectionTaskOfSocketToFutureOf_ConnectionInfo: () => (T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [T$1.ConnectionTaskOfSocket()])))(), + IdentityMapOfString$_ConnectionTarget: () => (T$1.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T$1.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T$1.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T$1.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T$1.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T$1.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T$1._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T$1._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T$1.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T$1._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T$1.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T$1._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T$1.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T$1._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T$1.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicAnddynamicToFutureOf_ConnectionInfo: () => (T$1.dynamicAnddynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T$1.FutureOf_ConnectionInfo(), [dart.dynamic, dart.dynamic])))(), + _SiteCredentialsN: () => (T$1._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T$1._SiteCredentialsN(), [T$1._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T$1.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + dynamicTo_DetachedSocket: () => (T$1.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T$1.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T$1.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T$1.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T$1.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T$1.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + IdentityMapOfint$_HttpServer: () => (T$1.IdentityMapOfint$_HttpServer = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T$1.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamOfUint8List: () => (T$1.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + StreamControllerOf_HttpIncoming: () => (T$1.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T$1.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T$1.VoidToNdynamic = dart.constFn(dart.nullable(T$0.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T$1.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T$1.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T$1.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T$1.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T$1.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T$1.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T$1.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T$1.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T$1.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T$1.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T$1.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T$1.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T$1.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T$1.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T$1.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T$1.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$1.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToFutureOfWebSocket: () => (T$1.StringToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T$1.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T$1.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T$1.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + IdentityMapOfint$_WebSocketImpl: () => (T$1.IdentityMapOfint$_WebSocketImpl = dart.constFn(_js_helper.IdentityMap$(core.int, _http._WebSocketImpl)))(), + BytesBuilderTovoid: () => (T$1.BytesBuilderTovoid = dart.constFn(dart.fnType(dart.void, [_internal.BytesBuilder])))(), + ListOfCookie: () => (T$1.ListOfCookie = dart.constFn(core.List$(_http.Cookie)))(), + VoidToListOfCookie: () => (T$1.VoidToListOfCookie = dart.constFn(dart.fnType(T$1.ListOfCookie(), [])))(), + UriTovoid: () => (T$1.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))() }; var S = { _delete$1: dart.privateName(indexed_db, "_delete"), @@ -1084,7 +1209,6 @@ var S = { _namespaceUri: dart.privateName(html$, "_namespaceUri"), $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), @@ -1118,6 +1242,7 @@ var S = { $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), $dir: dartx.dir = Symbol("dartx.dir"), $draggable: dartx.draggable = Symbol("dartx.draggable"), @@ -1173,12 +1298,12 @@ var S = { _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + $scrollIntoViewIfNeeded: dartx.scrollIntoViewIfNeeded = Symbol("dartx.scrollIntoViewIfNeeded"), _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), - $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), $after: dartx.after = Symbol("dartx.after"), $before: dartx.before = Symbol("dartx.before"), $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), @@ -1218,7 +1343,9 @@ var S = { $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown") +}; +var S$ = { $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), @@ -1240,9 +1367,7 @@ var S = { $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") -}; -var S$ = { + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), @@ -1720,7 +1845,9 @@ var S$ = { $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle") +}; +var S$0 = { $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), @@ -1742,9 +1869,7 @@ var S$ = { $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth") -}; -var S$0 = { + _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), _borderSpacing: dart.privateName(html$, "_borderSpacing"), $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), @@ -1969,6 +2094,7 @@ var S$0 = { $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $gap: dartx.gap = Symbol("dartx.gap"), $grid: dartx.grid = Symbol("dartx.grid"), $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), @@ -2052,6 +2178,7 @@ var S$0 = { $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), $resize: dartx.resize = Symbol("dartx.resize"), + $rowGap: dartx.rowGap = Symbol("dartx.rowGap"), $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), @@ -2119,8 +2246,8 @@ var S$0 = { $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), $zoom: dartx.zoom = Symbol("dartx.zoom"), - _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _elementIterable: dart.privateName(html$, "_elementIterable"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), _setAll: dart.privateName(html$, "_setAll"), $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), $rules: dartx.rules = Symbol("dartx.rules"), @@ -2220,7 +2347,9 @@ var S$0 = { $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $isFile: dartx.isFile = Symbol("dartx.isFile"), + $isFile: dartx.isFile = Symbol("dartx.isFile") +}; +var S$1 = { _copyTo: dart.privateName(html$, "_copyTo"), $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), _getMetadata: dart.privateName(html$, "_getMetadata"), @@ -2244,9 +2373,7 @@ var S$0 = { _head$1: dart.privateName(html$, "_head"), $implementation: dartx.implementation = Symbol("dartx.implementation"), _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") -}; -var S$1 = { + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), _referrer: dart.privateName(html$, "_referrer"), $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), @@ -2288,7 +2415,6 @@ var S$1 = { _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), @@ -2296,6 +2422,7 @@ var S$1 = { _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), $fonts: dartx.fonts = Symbol("dartx.fonts"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), @@ -2387,7 +2514,7 @@ var S$1 = { $supports: dartx.supports = Symbol("dartx.supports"), $toggle: dartx.toggle = Symbol("dartx.toggle"), _childElements: dart.privateName(html$, "_childElements"), - _element$2: dart.privateName(html$, "_element"), + _element: dart.privateName(html$, "_element"), _filter$2: dart.privateName(html$, "_filter"), _nodeList: dart.privateName(html$, "_nodeList"), _forElementList: dart.privateName(html$, "_forElementList"), @@ -2677,7 +2804,7 @@ var S$1 = { _get_data: dart.privateName(html$, "_get_data"), _get_source: dart.privateName(html$, "_get_source"), _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _start$4: dart.privateName(html$, "_start"), + _start$5: dart.privateName(html$, "_start"), $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), @@ -2722,7 +2849,9 @@ var S$1 = { $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), - _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_1$1: dart.privateName(html$, "_observe_1") +}; +var S$2 = { _observe_2: dart.privateName(html$, "_observe_2"), _observe: dart.privateName(html$, "_observe"), _call: dart.privateName(html$, "_call"), @@ -2746,9 +2875,7 @@ var S$1 = { $credentials: dartx.credentials = Symbol("dartx.credentials"), $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation") -}; -var S$2 = { + $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), @@ -2856,7 +2983,13 @@ var S$2 = { $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + _mark_1: dart.privateName(html$, "_mark_1"), + _mark_2: dart.privateName(html$, "_mark_2"), $mark: dartx.mark = Symbol("dartx.mark"), + _measure_1: dart.privateName(html$, "_measure_1"), + _measure_2: dart.privateName(html$, "_measure_2"), + _measure_3: dart.privateName(html$, "_measure_3"), + _measure_4: dart.privateName(html$, "_measure_4"), $measure: dartx.measure = Symbol("dartx.measure"), $now: dartx.now = Symbol("dartx.now"), $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), @@ -2983,6 +3116,7 @@ var S$2 = { $stat: dartx.stat = Symbol("dartx.stat"), _getStats: dart.privateName(html$, "_getStats"), $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $connectionState: dartx.connectionState = Symbol("dartx.connectionState"), $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), @@ -3009,6 +3143,7 @@ var S$2 = { $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onConnectionStateChange: dartx.onConnectionStateChange = Symbol("dartx.onConnectionStateChange"), $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), @@ -3216,7 +3351,9 @@ var S$2 = { $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent") +}; +var S$3 = { $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), @@ -3248,9 +3385,7 @@ var S$2 = { __radiusY: dart.privateName(html$, "__radiusY"), $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") -}; -var S$3 = { + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), $touches: dartx.touches = Symbol("dartx.touches"), $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), @@ -3403,7 +3538,6 @@ var S$3 = { $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - _openDatabase: dart.privateName(html$, "_openDatabase"), $print: dartx.print = Symbol("dartx.print"), _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), @@ -3428,16 +3562,10 @@ var S$3 = { $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _returnValue: dart.privateName(html$, "_returnValue"), - wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), - _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), - _eventType$1: dart.privateName(html$, "_eventType"), $focused: dartx.focused = Symbol("dartx.focused"), $navigate: dartx.navigate = Symbol("dartx.navigate"), $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), @@ -3486,7 +3614,8 @@ var S$3 = { _sets: dart.privateName(html$, "_sets"), _validateToken: dart.privateName(html_common, "_validateToken"), _unit: dart.privateName(html$, "_unit"), - _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), _target$2: dart.privateName(html$, "_target"), _useCapture: dart.privateName(html$, "_useCapture"), _targetList: dart.privateName(html$, "_targetList"), @@ -3507,6 +3636,7 @@ var S$3 = { _realKeyCode: dart.privateName(html$, "_realKeyCode"), _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), _controller$2: dart.privateName(html$, "_controller"), _subscriptions: dart.privateName(html$, "_subscriptions"), _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), @@ -3521,8 +3651,8 @@ var S$3 = { _validators: dart.privateName(html$, "_validators"), _templateAttrs: dart.privateName(html$, "_templateAttrs"), _list$19: dart.privateName(html$, "_list"), - _iterator$3: dart.privateName(html$, "_iterator"), - _current$4: dart.privateName(html$, "_current"), + _iterator$2: dart.privateName(html$, "_iterator"), + _current$5: dart.privateName(html$, "_current"), _array: dart.privateName(html$, "_array"), _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), _interceptor: dart.privateName(html$, "_interceptor"), @@ -3542,7 +3672,7 @@ var S$3 = { preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), stencil: dart.privateName(html_common, "ContextAttributes.stencil"), failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - data$1: dart.privateName(html_common, "_TypedImageData.data"), + data$2: dart.privateName(html_common, "_TypedImageData.data"), height$1: dart.privateName(html_common, "_TypedImageData.height"), width$1: dart.privateName(html_common, "_TypedImageData.width"), _childNodes: dart.privateName(html_common, "_childNodes"), @@ -3666,7 +3796,7 @@ var S$3 = { $fx: dartx.fx = Symbol("dartx.fx"), $fy: dartx.fy = Symbol("dartx.fy"), $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$3: dart.privateName(svg$, "_element"), + _element$1: dart.privateName(svg$, "_element"), $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), @@ -3723,7 +3853,9 @@ var S$3 = { $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), $context: dartx.context = Symbol("dartx.context"), $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs") +}; +var S$4 = { _connect: dart.privateName(web_audio, "_connect"), $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), @@ -3742,7 +3874,6 @@ var S$3 = { $suspend: dartx.suspend = Symbol("dartx.suspend"), $createGain: dartx.createGain = Symbol("dartx.createGain"), $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), $destination: dartx.destination = Symbol("dartx.destination"), $listener: dartx.listener = Symbol("dartx.listener"), @@ -3750,9 +3881,7 @@ var S$3 = { $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") -}; -var S$4 = { + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), @@ -4144,22 +4273,12 @@ var S$4 = { $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), - _changeVersion: dart.privateName(web_sql, "_changeVersion"), - $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), - _readTransaction: dart.privateName(web_sql, "_readTransaction"), - $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), - $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), - $insertId: dartx.insertId = Symbol("dartx.insertId"), - $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), - _item_1: dart.privateName(web_sql, "_item_1"), - _executeSql: dart.privateName(web_sql, "_executeSql"), - $executeSql: dartx.executeSql = Symbol("dartx.executeSql") + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") }; const CT = Object.create({ _: () => (C, CT) }); -var C = Array(490).fill(void 0); +var C = Array(504).fill(void 0); var I = [ "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", @@ -4169,6 +4288,7 @@ var I = [ "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "org-dartlang-sdk:///lib/core/object.dart", "dart:core", "dart:_runtime", "org-dartlang-sdk:///lib/core/invocation.dart", @@ -4188,6 +4308,7 @@ var I = [ "dart:collection", "dart:_internal", "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/internal/async_cast.dart", "org-dartlang-sdk:///lib/async/stream.dart", "dart:async", @@ -4221,6 +4342,7 @@ var I = [ "dart:_metadata", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", "dart:_native_typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", "dart:typed_data", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", "org-dartlang-sdk:///lib/async/async_error.dart", @@ -4253,8 +4375,8 @@ var I = [ "org-dartlang-sdk:///lib/convert/codec.dart", "org-dartlang-sdk:///lib/core/list.dart", "org-dartlang-sdk:///lib/convert/byte_conversion.dart", - "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", "org-dartlang-sdk:///lib/convert/html_escape.dart", "org-dartlang-sdk:///lib/convert/json.dart", "org-dartlang-sdk:///lib/convert/latin1.dart", @@ -4276,11 +4398,11 @@ var I = [ "org-dartlang-sdk:///lib/io/embedder_config.dart", "org-dartlang-sdk:///lib/io/file.dart", "org-dartlang-sdk:///lib/io/file_impl.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", "org-dartlang-sdk:///lib/io/link.dart", - "org-dartlang-sdk:///lib/io/network_policy.dart", "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/core/enum.dart", "org-dartlang-sdk:///lib/io/overrides.dart", "org-dartlang-sdk:///lib/io/platform_impl.dart", "org-dartlang-sdk:///lib/io/process.dart", @@ -4299,13 +4421,12 @@ var I = [ "org-dartlang-sdk:///lib/js/js.dart", "org-dartlang-sdk:///lib/js_util/js_util.dart", "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_shared/lib/js_util_patch.dart", "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", "dart:math", "org-dartlang-sdk:///lib/math/point.dart", "org-dartlang-sdk:///lib/math/rectangle.dart", "org-dartlang-sdk:///lib/typed_data/typed_data.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", - "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", "dart:indexed_db", "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", @@ -4323,19 +4444,17 @@ var I = [ "dart:web_audio", "dart:web_gl", "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", - "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", - "dart:web_sql", - "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/annotations.dart", "org-dartlang-sdk:///lib/core/bool.dart", "org-dartlang-sdk:///lib/core/comparable.dart", "org-dartlang-sdk:///lib/core/date_time.dart", "org-dartlang-sdk:///lib/core/duration.dart", - "org-dartlang-sdk:///lib/core/errors.dart", "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/map.dart", "org-dartlang-sdk:///lib/core/set.dart", "org-dartlang-sdk:///lib/core/stacktrace.dart", "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/symbol.dart", "org-dartlang-sdk:///lib/core/uri.dart", "org-dartlang-sdk:///lib/_http/http.dart", "dart:_http", @@ -4347,7 +4466,9 @@ var I = [ "org-dartlang-sdk:///lib/_http/http_session.dart", "org-dartlang-sdk:///lib/_http/overrides.dart", "org-dartlang-sdk:///lib/_http/websocket.dart", - "org-dartlang-sdk:///lib/_http/websocket_impl.dart" + "org-dartlang-sdk:///lib/_http/websocket_impl.dart", + "org-dartlang-sdk:///lib/_http/http_testing.dart", + "org-dartlang-sdk:///lib/_http/embedder_config.dart" ]; var _jsError$ = dart.privateName(dart, "_jsError"); var _type$ = dart.privateName(dart, "_type"); @@ -4442,7 +4563,6 @@ dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClas } let genericType = genericFutureOrType(typeArg); genericType[dart._originalDeclaration] = normalize; - dart.addTypeCaches(genericType); function is_FutureOr(obj) { return typeArg.is(obj) || async.Future$(typeArg).is(obj); } @@ -4499,7 +4619,6 @@ dart.generic = function generic(typeConstructor, setBaseClass) { return value; } makeGenericType[dart._genericTypeCtor] = typeConstructor; - dart.addTypeCaches(makeGenericType); return makeGenericType; }; dart.getGenericClass = function getGenericClass(type) { @@ -4570,6 +4689,7 @@ dart.isJsInterop = function isJsInterop(obj) { } if (typeof obj !== "object") return false; if (obj[dart._extensionType] != null) return false; + if (obj instanceof dart._RecordImpl) return false; return !(obj instanceof core.Object); }; dart.getMethodType = function getMethodType(type, name) { @@ -4722,14 +4842,14 @@ dart.applyExtensionForTesting = function applyExtensionForTesting(name) { dart._applyExtension(jsType, dartExtType); }; dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 566, 39, "memberNames"); let proto = type.prototype; for (let name of memberNames) { proto[dartx[name]] = proto[name]; } }; dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { - if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + if (memberNames == null) dart.nullFailed(I[0], 574, 46, "memberNames"); let proto = type.prototype; for (let name of memberNames) { let member = null; @@ -4764,12 +4884,31 @@ dart.addTypeTests = function addTypeTests(ctor, isClass) { return dart.as(obj, this); }; }; +dart.typeTagSymbol = function typeTagSymbol(recipe) { + if (recipe == null) dart.nullFailed(I[0], 648, 29, "recipe"); + let tag = dart.str("$is_") + dart.str(recipe); + let probe = dart._typeTagSymbols[tag]; + if (probe != null) return probe; + let tagSymbol = Symbol(tag); + dart._typeTagSymbols[tag] = tagSymbol; + return tagSymbol; +}; +dart.addRtiResources = function addRtiResources(classRef, recipe) { + if (classRef == null) dart.nullFailed(I[0], 664, 29, "classRef"); + if (recipe == null) dart.nullFailed(I[0], 664, 46, "recipe"); + classRef.$interfaceRecipe = recipe; + let prototype = classRef.prototype; + let tagSymbol = dart.typeTagSymbol(recipe); + prototype[tagSymbol] = true; +}; dart.addTypeCaches = function addTypeCaches(type) { - type[dart._cachedLegacy] = void 0; - type[dart._cachedNullable] = void 0; - let subtypeCacheMap = new Map(); - type[dart._subtypeCache] = subtypeCacheMap; - dart._cacheMaps.push(subtypeCacheMap); + { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); + } }; dart.argumentError = function argumentError(value) { dart.throw(new core.ArgumentError.value(value)); @@ -4786,11 +4925,18 @@ dart.assertFailed = function assertFailed(message, fileUri = null, line = null, }; dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { if (isModuleSound !== false) { - let sdkMode = false ? "sound" : "unsound"; + let sdkMode = "unsound"; let moduleMode = isModuleSound ? "sound" : "unsound"; dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); } }; +dart._checkModuleRuntimeTypes = function _checkModuleRuntimeTypes(useNewTypes) { + if (useNewTypes !== false) { + let sdkTypes = "old"; + let moduleTypes = useNewTypes ? "new" : "old"; + dart.throw(new core.AssertionError.new("The Dart SDK module is using the " + sdkTypes + " runtime " + "type representation and is incompatible with the " + moduleTypes + " " + "representation used in this module.")); + } +}; dart._nullFailedMessage = function _nullFailedMessage(variableName) { return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; }; @@ -4805,7 +4951,7 @@ dart.nullFailed = function nullFailed(fileUri, line, column, variable) { } }; dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + if (name == null) dart.nullFailed(I[1], 81, 37, "name"); dart.throw(new _internal.LateError.new(name)); }; dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { @@ -4820,7 +4966,21 @@ dart.castError = function castError(obj, expectedType) { dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart._castErrorMessage = function _castErrorMessage(from, to) { - return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; + let fromName = "'" + dart.typeName(from) + "'"; + let toName = "'" + dart.typeName(to) + "'"; + let toType = to; + if (to instanceof dart.NullableType || to instanceof dart.LegacyType) { + toType = dart.dload(to, 'type'); + } + let fromType = from; + if (from instanceof dart.NullableType || from instanceof dart.LegacyType) { + fromType = dart.dload(from, 'type'); + } + if (dart.typeName(fromType) === dart.typeName(toType)) { + fromName = fromName + (" (in " + dart.str(dart.getLibraryUri(fromType)) + ")"); + toName = toName + (" (in " + dart.str(dart.getLibraryUri(toType)) + ")"); + } + return "Expected a value of type " + toName + ", but got one of type " + fromName; }; dart.getThrown = function getThrown(error) { if (error != null) { @@ -4838,18 +4998,18 @@ dart.stackTrace = function stackTrace(error) { return error[dart._stackTrace] = new dart._StackTrace.new(error); }; dart.stackTraceForError = function stackTraceForError(error) { - if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + if (error == null) dart.nullFailed(I[1], 194, 37, "error"); return dart.stackTrace(error[dart._jsError]); }; dart.rethrow = function rethrow_(error) { - if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + if (error == null) dart.nullFailed(I[1], 203, 22, "error"); throw error; }; dart.throw = function throw_(exception) { throw new dart.DartError(exception); }; dart.createErrorWithStack = function createErrorWithStack(exception, trace) { - if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (exception == null) dart.nullFailed(I[1], 286, 37, "exception"); if (trace == null) { let error = exception[dart._jsError]; return error != null ? error : new dart.DartError(exception); @@ -4863,7 +5023,7 @@ dart.createErrorWithStack = function createErrorWithStack(exception, trace) { return new dart.RethrownDartError(exception, trace); }; dart.stackPrint = function stackPrint(error) { - if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + if (error == null) dart.nullFailed(I[1], 304, 24, "error"); console.log(error.stack ? error.stack : "No stack trace for: " + error); }; dart.bind = function bind(obj, name, method) { @@ -4887,10 +5047,12 @@ dart.bindCall = function bindCall(obj, name) { return f; }; dart.gbind = function gbind(f, ...typeArgs) { - if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[2], 92, 29, "typeArgs"); let type = f[dart._runtimeType]; type.checkBounds(typeArgs); let result = (...args) => f.apply(null, typeArgs.concat(args)); + result._originalFn = f; + result._typeArgs = dart.constList(typeArgs, core.Object); return dart.fn(result, type.instantiate(typeArgs)); }; dart.dloadRepl = function dloadRepl(obj, field) { @@ -4906,6 +5068,10 @@ dart.dload = function dload(obj, field) { let type = dart.getType(obj); if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (obj instanceof dart._RecordImpl && typeof f == 'string') { + let value = obj[f]; + if (value !== void 0) return value; + } if (dart.test(dart.isJsInterop(obj))) return obj[f]; } return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); @@ -4932,8 +5098,8 @@ dart.dput = function dput(obj, field, value) { return value; }; dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - if (type == null) dart.nullFailed(I[2], 147, 38, "type"); - if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + if (type == null) dart.nullFailed(I[2], 166, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 166, 49, "actuals"); let actualsCount = actuals.length; let required = type.args; let requiredCount = required.length; @@ -4961,10 +5127,8 @@ dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); if (dart.test(missingRequired[$isNotEmpty])) { let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; - if (!false) { + { dart._nullWarn(error); - } else { - return error; } } } @@ -4989,22 +5153,14 @@ dart._toDisplayName = function _toDisplayName(name) { if (name[0] === '_') { switch (name) { case '_get': - { return '[]'; - } case '_set': - { return '[]='; - } case '_negate': - { return 'unary-'; - } case '_constructor': case '_prototype': - { return name.substring(1); - } } } return name; @@ -5021,7 +5177,7 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named function callNSM(errorMessage) { return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); } - if (f == null) return callNSM('Dynamic call of null.'); + if (f == null) return callNSM("Dynamic call of null."); if (!(f instanceof Function)) { if (f != null) { originalTarget = f; @@ -5029,12 +5185,14 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named ftype = null; displayName = "call"; } - if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + if (f == null) { + return callNSM("Dynamic call of object has no instance method 'call'."); + } } if (ftype == null) ftype = f[dart._runtimeType]; if (ftype == null) { if (typeArgs != null) { - dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + dart.throwTypeError("call to JS object `" + obj + "` with type arguments <" + typeArgs + "> is not supported."); } if (named != null) args.push(named); return f.apply(obj, args); @@ -5044,13 +5202,13 @@ dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named if (typeArgs == null) { typeArgs = ftype.instantiateDefaultBounds(); } else if (typeArgs.length != formalCount) { - return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + return callNSM("Dynamic call with incorrect number of type arguments. " + "Expected: " + formalCount + " Actual: " + typeArgs.length); } else { ftype.checkBounds(typeArgs); } ftype = ftype.instantiate(typeArgs); } else if (typeArgs != null) { - return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + return callNSM("Dynamic call with unexpected type arguments. " + "Expected: 0 Actual: " + typeArgs.length); } let errorMessage = dart._argumentErrors(ftype, args, named); if (errorMessage == null) { @@ -5126,7 +5284,7 @@ dart.is = function instanceOf(obj, type) { return dart.isSubtypeOf(dart.getReifiedType(obj), type); }; dart.as = function cast(obj, type) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(type); return obj; } else { @@ -5141,7 +5299,7 @@ dart.test = function test(obj) { }; dart.dtest = function dtest(obj) { if (!(typeof obj == 'boolean')) { - dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.booleanConversionFailed(dart.test(T$.boolN().as(obj))); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } return obj; @@ -5152,7 +5310,7 @@ dart.booleanConversionFailed = function booleanConversionFailed(obj) { }; dart.asInt = function asInt(obj) { if (Math.floor(obj) != obj) { - if (obj == null && !false) { + if (obj == null && true) { dart._nullWarnOnType(core.int); return null; } else { @@ -5170,10 +5328,8 @@ dart.notNull = function _notNull(x) { }; dart.nullCast = function nullCast(x, type) { if (x == null) { - if (!false) { + { dart._nullWarnOnType(type); - } else { - dart.castError(x, type); } } return x; @@ -5183,14 +5339,14 @@ dart.nullCheck = function nullCheck(x) { return x; }; dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + if (map == null) dart.nullFailed(I[2], 572, 34, "map"); let result = map.get(key); if (result != null) return result; map.set(key, result = new Map()); return dart.nullCheck(result); }; dart.constMap = function constMap(K, V, elements) { - if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + if (elements == null) dart.nullFailed(I[2], 579, 34, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantMaps, count); for (let i = 0; i < count; i = i + 1) { @@ -5204,12 +5360,12 @@ dart.constMap = function constMap(K, V, elements) { return result; }; dart._createImmutableSet = function _createImmutableSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + if (elements == null) dart.nullFailed(I[2], 597, 42, "elements"); dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; return new (dart._immutableSetConstructor(E)).from(elements); }; dart.constSet = function constSet(E, elements) { - if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + if (elements == null) dart.nullFailed(I[2], 603, 31, "elements"); let count = elements[$length]; let map = dart._lookupNonTerminal(dart.constantSets, count); for (let i = 0; i < count; i = i + 1) { @@ -5265,7 +5421,7 @@ dart.constFn = function constFn(x) { return () => x; }; dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + if (name == null) dart.nullFailed(I[2], 721, 24, "name"); return dartx[name]; }; dart.equals = function equals(x, y) { @@ -5282,15 +5438,17 @@ dart.toString = function _toString(obj) { dart.str = function str(obj) { if (obj == null) return "null"; if (typeof obj == 'string') return obj; - return core.String.as(dart.notNull(obj[$toString]())); + let result = obj[$toString](); + if (typeof result == 'string') return result; + dart.throw(new core.ArgumentError.value(obj, "object", "toString method returned 'null'")); }; dart.noSuchMethod = function noSuchMethod(obj, invocation) { - if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (invocation == null) dart.nullFailed(I[2], 761, 30, "invocation"); if (obj == null) dart.defaultNoSuchMethod(obj, invocation); return obj[$noSuchMethod](invocation); }; dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { - if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + if (i == null) dart.nullFailed(I[2], 767, 37, "i"); dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); }; dart.runtimeType = function runtimeType(obj) { @@ -5321,7 +5479,7 @@ dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, im } }; dart.defineLazy = function defineLazy(to, from, useOldSemantics) { - if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + if (useOldSemantics == null) dart.nullFailed(I[2], 842, 32, "useOldSemantics"); for (let name of dart.getOwnNamesAndSymbols(from)) { if (dart.test(useOldSemantics)) { dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); @@ -5341,7 +5499,7 @@ dart.defineLazyField = function defineLazyField(to, name, desc) { if (init == null) return value; if (final && initialized) dart.throwLateInitializationError(name); if (!savedLocals) { - dart._resetFields.push(() => { + dart.resetFields.push(() => { init = initializer; value = null; savedLocals = false; @@ -5360,10 +5518,21 @@ dart.defineLazyField = function defineLazyField(to, name, desc) { return value; }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5372,15 +5541,20 @@ dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { const initializer = desc.get; let init = initializer; let value = null; + let savedLocals = false; desc.get = function() { if (init == null) return value; let f = init; init = dart.throwCyclicInitializationError; if (f === init) f(name); - dart._resetFields.push(() => { - init = initializer; - value = null; - }); + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } try { value = f(); init = null; @@ -5392,10 +5566,20 @@ dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { } }; desc.configurable = true; - if (desc.set != null) { + let setter = desc.set; + if (setter != null) { desc.set = function(x) { + if (!savedLocals) { + dart.resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + }); + savedLocals = true; + } init = null; value = x; + setter(x); }; } return dart.defineProperty(to, name, desc); @@ -5407,11 +5591,13 @@ dart.checkNativeNonNull = function checkNativeNonNull(variable) { return variable; }; dart.fn = function fn(closure, type) { - closure[dart._runtimeType] = type; + { + closure[dart._runtimeType] = type; + } return closure; }; dart.lazyFn = function lazyFn(closure, computeType) { - if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + if (computeType == null) dart.nullFailed(I[3], 67, 35, "computeType"); dart.defineAccessor(closure, dart._runtimeType, { get: () => dart.defineValue(closure, dart._runtimeType, computeType()), set: value => dart.defineValue(closure, dart._runtimeType, value), @@ -5423,73 +5609,104 @@ dart.getFunctionType = function getFunctionType(obj) { let args = Array(obj.length).fill(dart.dynamic); return dart.fnType(dart.bottom, args, void 0); }; -dart.getReifiedType = function getReifiedType(obj) { - switch (typeof obj) { - case "object": - { - if (obj == null) return core.Null; - if (obj instanceof core.Object) { - return obj.constructor; - } - let result = obj[dart._extensionType]; - if (result == null) return dart.jsobject; - return result; - } - case "function": - { - let result = obj[dart._runtimeType]; - if (result != null) return result; - return dart.jsobject; - } - case "undefined": - { - return core.Null; - } - case "number": - { - return Math.floor(obj) == obj ? core.int : core.double; - } - case "boolean": - { - return core.bool; +dart.getRecordType = function getRecordType(obj) { + if (obj == null) dart.nullFailed(I[3], 87, 38, "obj"); + let type = obj[dart._runtimeType]; + if (type == null) { + let shape = obj.shape; + let named = shape.named; + let positionals = shape.positionals; + let types = []; + let count = 0; + while (count < dart.notNull(positionals)) { + let name = "$" + dart.str(count); + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + count = count + 1; } - case "string": - { - return core.String; + if (named != null) { + for (let name of named) { + let field = obj[name]; + types[$add](dart.getReifiedType(field)); + } } - case "symbol": - default: - { - return dart.jsobject; + type = dart.recordType(shape, types); + obj[dart._runtimeType] = type; + } + return type; +}; +dart.getReifiedType = function getReifiedType(obj) { + { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof dart._RecordImpl) { + return dart.getRecordType(dart._RecordImpl.as(obj)); + } + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return _interceptors.LegacyJavaScriptObject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return _interceptors.LegacyJavaScriptObject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return _interceptors.LegacyJavaScriptObject; + } } } }; dart.getModuleName = function getModuleName(module) { - if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + if (module == null) dart.nullFailed(I[3], 184, 30, "module"); return module[dart._moduleName]; }; dart.getModuleNames = function getModuleNames() { return Array.from(dart._loadedModules.keys()); }; dart.getSourceMap = function getSourceMap(moduleName) { - if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + if (moduleName == null) dart.nullFailed(I[3], 194, 29, "moduleName"); return dart._loadedSourceMaps.get(moduleName); }; dart.getModuleLibraries = function getModuleLibraries(name) { - if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + if (name == null) dart.nullFailed(I[3], 199, 27, "name"); let module = dart._loadedModules.get(name); if (module == null) return null; module[dart._moduleName] = name; return module; }; dart.getModulePartMap = function getModulePartMap(name) { - if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + if (name == null) dart.nullFailed(I[3], 207, 25, "name"); return dart._loadedPartMaps.get(name); }; dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); - if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); - if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (moduleName == null) dart.nullFailed(I[3], 211, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 211, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 211, 49, "parts"); if (typeof parts == 'string') { sourceMap = parts; parts = {}; @@ -5521,7 +5738,7 @@ dart._computeLibraryMetadata = function _computeLibraryMetadata() { } }; dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); if (dart._libraryObjects == null) { dart._computeLibraryMetadata(); } @@ -5535,7 +5752,7 @@ dart.getLibraries = function getLibraries() { }; dart.getParts = function getParts(libraryUri) { let t0; - if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); if (dart._parts == null) { dart._computeLibraryMetadata(); } @@ -5606,18 +5823,18 @@ dart.polyfill = function polyfill(window) { return true; }; dart.trackProfile = function trackProfile(flag) { - if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + if (flag == null) dart.nullFailed(I[4], 154, 24, "flag"); dart.__trackProfile = flag; }; dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { - if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + if (value == null) dart.nullFailed(I[4], 179, 39, "value"); dart.startAsyncSynchronously = value; }; dart.hotRestart = function hotRestart() { dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart._resetFields) + for (let f of dart.resetFields) f(); - dart._resetFields[$clear](); + dart.resetFields[$clear](); for (let m of dart._cacheMaps) m.clear(); dart._cacheMaps[$clear](); @@ -5626,18 +5843,18 @@ dart.hotRestart = function hotRestart() { dart.deferredImports.clear(); }; dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { - if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + if (message == null) dart.nullFailed(I[5], 16, 31, "message"); return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); }; dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { - if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (showWarnings == null) dart.nullFailed(I[5], 26, 34, "showWarnings"); if (dart.test(showWarnings) && false) { dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); } dart._weakNullSafetyWarnings = showWarnings; }; dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { - if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (showErrors == null) dart.nullFailed(I[5], 43, 32, "showErrors"); if (dart.test(showErrors) && false) { dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); } @@ -5647,19 +5864,18 @@ dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { dart._weakNullSafetyErrors = showErrors; }; dart.nonNullAsserts = function nonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + if (enable == null) dart.nullFailed(I[5], 67, 26, "enable"); dart._nonNullAsserts = enable; }; dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { - if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + if (enable == null) dart.nullFailed(I[5], 79, 32, "enable"); dart._nativeNonNullAsserts = enable; }; dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === dart.jsobject; + return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; }; dart.assertInterop = function assertInterop(f) { - if (f == null) dart.nullFailed(I[5], 164, 39, "f"); - if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 179, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); return f; }; dart.isDartFunction = function isDartFunction(obj) { @@ -5694,22 +5910,12 @@ dart._nullWarnOnType = function _nullWarnOnType(type) { dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); } }; -dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { - if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); - if (name == null) dart.nullFailed(I[5], 304, 49, "name"); - let ret = dart._lazyJSTypes.get(name); - if (ret == null) { - ret = new dart.LazyJSType.new(getJSTypeCallback, name); - dart._lazyJSTypes.set(name, ret); - } - return ret; -}; -dart.anonymousJSType = function anonymousJSType(name) { - if (name == null) dart.nullFailed(I[5], 313, 24, "name"); - let ret = dart._anonymousJSTypes.get(name); +dart.packageJSType = function packageJSType(name, staticInterop) { + let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; + let ret = map.get(name); if (ret == null) { - ret = new dart.AnonymousJSType.new(name); - dart._anonymousJSTypes.set(name, ret); + ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); + map.set(name, ret); } return ret; }; @@ -5756,13 +5962,18 @@ dart.wrapType = function wrapType(type, isNormalized = false) { return result; }; dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 507, 10, "!_jsInstanceOf(type, LegacyType)"); function normalizeHelper(a) { return dart.unwrapType(dart.wrapType(a)); } if (type instanceof dart.GenericFunctionTypeIdentifier) { return dart.wrapType(type, true); } + if (type instanceof dart.RecordType) { + let normTypes = dart.dsend(dart.dsend(dart.dload(type, 'types'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.recordType(dart.Shape.as(dart.dload(type, 'shape')), core.List.as(normTypes)); + return dart.wrapType(normType, true); + } if (type instanceof dart.FunctionType) { let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); @@ -5820,17 +6031,17 @@ dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObj return dart.wrapType(normType, true); }; dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { - if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + if (transform == null) dart.nullFailed(I[5], 594, 56, "transform"); for (let key of dart.global.Object.keys(srcObject)) { dstObject[key] = dart.dcall(transform, [srcObject[key]]); } }; dart.unwrapType = function unwrapType(obj) { - if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + if (obj == null) dart.nullFailed(I[5], 605, 24, "obj"); return obj[_type$]; }; dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + if (count == null) dart.nullFailed(I[5], 650, 49, "count"); while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { dart._fillTypeVariable(); } @@ -5844,7 +6055,7 @@ dart._fillTypeVariable = function _fillTypeVariable() { } }; dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + if (create == null) dart.nullFailed(I[5], 672, 32, "create"); return (() => { let len = arr.length; map = dart._lookupNonTerminal(map, len); @@ -5858,7 +6069,7 @@ dart._memoizeArray = function _memoizeArray(map, arr, create) { })(); }; dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + if (array == null) dart.nullFailed(I[5], 684, 30, "array"); return dart._memoizeArray(map, array, () => array); }; dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { @@ -5873,7 +6084,7 @@ dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { return dart._memoizeArray(map, key, () => named); }; dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + if (required == null) dart.nullFailed(I[5], 704, 44, "required"); return (() => { let count = required.length; let map = dart._fnTypeSmallMap[count]; @@ -5893,7 +6104,7 @@ dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructo let end = str[$indexOf](hasParens ? ")" : "=>"); if (hasParens) { return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); return new dart.TypeVariable.new(n[$trim]()); })[$toList](); } else { @@ -5901,7 +6112,7 @@ dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructo } }; dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); return dart.FunctionType.create(returnType, args, optional, requiredNamed); }; dart.gFnType = function gFnType(instantiateFn, typeBounds) { @@ -5926,44 +6137,78 @@ dart.typeName = function typeName(type) { let name = type.name; let args = dart.getGenericArgs(type); if (args == null) return name; - if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; - let result = name; - result += '<'; - for (let i = 0; i < args.length; ++i) { - if (i > 0) result += ', '; - result += dart.typeName(args[i]); - } - result += '>'; + if (dart.getGenericClass(type) == _interceptors.JSArray$) { + name = "List"; + } + let result = name + "<"; + for (let i = 0; i < args.length; i = i + 1) { + if (i > 0) result = result + ", "; + result = result + dart.typeName(args[i]); + } + result = result + ">"; return result; } - if (tag) return "Not a type: " + tag.name; + if (!!tag) { + return "Not a type: " + tag.name; + } return "JSObject<" + type.name + ">"; }; +dart._isRecordSubtype = function _isRecordSubtype(t1, t2, strictMode) { + if (!dart.equals(t1.shape, t2.shape)) { + return false; + } + let positionals = t1.shape.positionals; + let types1 = t1.types; + let types2 = t2.types; + for (let i = 0; i < dart.notNull(positionals); i = i + 1) { + let type1 = types1[i]; + let type2 = types2[i]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + let named = t1.shape.named; + if (named != null) { + for (let i = 0; i < dart.notNull(named[$length]); i = i + 1) { + let index = dart.notNull(positionals) + i; + let type1 = types1[index]; + let type2 = types2[index]; + if (!dart._isSubtype(type1, type2, strictMode)) { + return false; + } + } + } + return true; +}; dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { let ret1 = ft1.returnType; let ret2 = ft2.returnType; let args1 = ft1.args; + let args1Length = args1.length; let args2 = ft2.args; - if (args1.length > args2.length) { + let args2Length = args2.length; + if (args1Length > args2Length) { return false; } - for (let i = 0; i < args1.length; ++i) { + for (let i = 0; i < args1Length; i = i + 1) { if (!dart._isSubtype(args2[i], args1[i], strictMode)) { return false; } } let optionals1 = ft1.optionals; + let optionals1Length = optionals1.length; let optionals2 = ft2.optionals; - if (args1.length + optionals1.length < args2.length + optionals2.length) { + let optionals2Length = optionals2.length; + if (args1Length + optionals1Length < args2Length + optionals2Length) { return false; } let j = 0; - for (let i = args1.length; i < args2.length; ++i, ++j) { + for (let i = args1Length; i < args2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { return false; } } - for (let i = 0; i < optionals2.length; ++i, ++j) { + for (let i = 0; i < optionals2Length; i = i + 1, j = j + 1) { if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { return false; } @@ -5979,7 +6224,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { requiredNamed2 = {}; } let names = dart.getOwnPropertyNames(requiredNamed1); - for (let i = 0; i < names.length; ++i) { + let namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n2 = requiredNamed2[name]; if (n2 === void 0) { @@ -5987,7 +6233,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { } } names = dart.getOwnPropertyNames(named2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name]; let n2 = named2[name]; @@ -5999,7 +6246,8 @@ dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { } } names = dart.getOwnPropertyNames(requiredNamed2); - for (let i = 0; i < names.length; ++i) { + namesLength = names.length; + for (let i = 0; i < namesLength; i = i + 1) { let name = names[i]; let n1 = named1[name] || requiredNamed1[name]; let n2 = requiredNamed2[name]; @@ -6016,8 +6264,10 @@ dart.isSubtypeOf = function isSubtypeOf(t1, t2) { let map = t1[dart._subtypeCache]; let result = map.get(t2); if (result !== void 0) return result; + dart._typeVariableCount = 0; let validSubtype = dart._isSubtype(t1, t2, true); - if (!validSubtype && !false) { + if (!validSubtype && true) { + dart._typeVariableCount = 0; validSubtype = dart._isSubtype(t1, t2, false); if (validSubtype) { dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); @@ -6035,7 +6285,7 @@ dart._isTop = function _isTop(type) { }; dart._isFutureOr = function _isFutureOr(type) { let genericClass = dart.getGenericClass(type); - return genericClass && genericClass === async.FutureOr$; + return !!genericClass && genericClass === async.FutureOr$; }; dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (!strictMode) { @@ -6053,7 +6303,7 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { return true; } if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + return dart._isSubtype(T$.ObjectN(), t2, strictMode); } if (t2 === core.Object) { if (dart._isFutureOr(t1)) { @@ -6103,11 +6353,29 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (t2 instanceof dart.NullableType) { return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); } + if (t2 === core.Record) { + return t1 === core.Record || t1 instanceof dart.RecordType; + } + if (t2 instanceof dart.RecordType) { + if (t1 instanceof dart.RecordType) { + return dart._isRecordSubtype(dart.RecordType.as(t1), dart.RecordType.as(t2), strictMode); + } + return false; + } if (!(t2 instanceof dart.AbstractFunctionType)) { if (t1 instanceof dart.AbstractFunctionType) { return t2 === core.Function; } - if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + if (dart._isInterfaceSubtype(t1, _interceptors.LegacyJavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._nonStaticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._nonStaticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.LegacyJavaScriptObject, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, _interceptors.JavaScriptObject, strictMode) && dart._isInterfaceSubtype(dart._staticInteropTypeForSubtyping, t2, strictMode)) { + return true; + } + if (dart._isInterfaceSubtype(t1, dart._staticInteropTypeForSubtyping, strictMode) && dart._isInterfaceSubtype(_interceptors.JavaScriptObject, t2, strictMode)) { return true; } return dart._isInterfaceSubtype(t1, t2, strictMode); @@ -6123,28 +6391,40 @@ dart._isSubtype = function _isSubtype(t1, t2, strictMode) { if (formalCount !== t2.formalCount) { return false; } - let fresh = t2.typeFormals; + let fresh1 = null; + let fresh2 = null; if (t1.hasTypeBounds || t2.hasTypeBounds) { - let t1Bounds = t1.instantiateTypeBounds(fresh); - let t2Bounds = t2.instantiateTypeBounds(fresh); - for (let i = 0; i < formalCount; i++) { - if (t1Bounds[i] != t2Bounds[i]) { - if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + fresh1 = new Array(formalCount); + fresh2 = new Array(formalCount); + for (let i = 0; i < formalCount; i = i + 1, dart._typeVariableCount = dart._typeVariableCount + 1) { + fresh1[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + fresh2[i] = new dart.TypeVariableForSubtype.new(dart._typeVariableCount); + } + let t1Bounds = t1.instantiateTypeBounds(fresh1); + let t2Bounds = t2.instantiateTypeBounds(fresh2); + for (let i = 0; i < formalCount; i = i + 1) { + let t1Bound = t1Bounds[i]; + let t2Bound = t2Bounds[i]; + if (t1Bound != t2Bound) { + if (!(dart._isSubtype(t1Bound, t2Bound, strictMode) && dart._isSubtype(t2Bound, t1Bound, strictMode))) { return false; } } + fresh1[i].bound = t1Bound; + fresh2[i].bound = t2Bound; } + } else { + fresh1 = t1.typeFormals; + fresh2 = fresh1; } - t1 = t1.instantiate(fresh); - t2 = t2.instantiate(fresh); + t1 = t1.instantiate(fresh1); + t2 = t2.instantiate(fresh2); } else if (t2 instanceof dart.GenericFunctionType) { return false; } return dart._isFunctionSubtype(t1, t2, strictMode); }; dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { - if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); - if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); if (t1 === t2) { return true; } @@ -6157,26 +6437,41 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { if (t1 == null) { return t2 === core.Object || t2 === dart.dynamic; } + if (t1 instanceof dart.TypeVariableForSubtype) { + if (t2 instanceof dart.TypeVariableForSubtype) { + return t1.index == t2.index; + } + return dart._isSubtype(t1.bound, t2, strictMode); + } + if ((t1 instanceof dart.NonStaticInteropType || t1 instanceof dart.StaticInteropType) && t2 instanceof dart.StaticInteropType) { + return true; + } + if (t1 instanceof dart.NonStaticInteropType && t2 instanceof dart.NonStaticInteropType) { + return true; + } let raw1 = dart.getGenericClass(t1); let raw2 = dart.getGenericClass(t2); if (raw1 != null && raw1 == raw2) { let typeArguments1 = dart.getGenericArgs(t1); let typeArguments2 = dart.getGenericArgs(t2); if (typeArguments1.length != typeArguments2.length) { - dart.assertFailed(); + dart.assertFailed("Internal type check failure."); } let variances = dart.getGenericArgVariances(t1); - for (let i = 0; i < typeArguments1.length; ++i) { - if (variances === void 0 || variances[i] == 1) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + for (let i = 0; i < typeArguments1.length; i = i + 1) { + let varianceType = variances && variances[i]; + let typeArg1 = typeArguments1[i]; + let typeArg2 = typeArguments2[i]; + if (varianceType === void 0 || varianceType == 1) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode)) { return false; } - } else if (variances[i] == 2) { - if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 2) { + if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } - } else if (variances[i] == 3) { - if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + } else if (varianceType == 3) { + if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { return false; } } @@ -6191,7 +6486,7 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { return true; } let getInterfaces = dart.getImplements(t1); - if (getInterfaces) { + if (getInterfaces != null) { for (let i1 of getInterfaces()) { if (dart._isInterfaceSubtype(i1, t2, strictMode)) { return true; @@ -6201,7 +6496,7 @@ dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { return false; }; dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { - if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (f == null) dart.nullFailed(I[5], 1842, 54, "f"); if (instance == null) { dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); } @@ -6215,13 +6510,13 @@ dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); } let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); - if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1860, 10, "supertype != null"); let typeArgs = dart.getGenericArgs(supertype); - if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1862, 10, "typeArgs != null && typeArgs.isNotEmpty"); return dart.dgcall(f, typeArgs, []); }; dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { - if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (supertype == null) dart.nullFailed(I[5], 2223, 55, "supertype"); if (core.identical(subtype, supertype)) return supertype; if (subtype == null || subtype === core.Object) return null; let subclass = dart.getGenericClass(subtype); @@ -6245,16 +6540,68 @@ dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) } return null; }; +dart.registerShape = function registerShape(shapeRecipe, positionals, named) { + let cached = dart._shapes.get(shapeRecipe); + if (cached != null) { + return cached; + } + let shape = new dart.Shape.new(positionals, named); + dart._shapes.set(shapeRecipe, shape); + return shape; +}; +dart.registerRecord = function registerRecord(shapeRecipe, positionals, named) { + let cached = dart._records.get(shapeRecipe); + if (cached != null) { + return cached; + } + let recordClass = class _Record extends dart._RecordImpl {}; + let newRecord = recordClass.new = function(shape, values) { + recordClass.__proto__.new.call(this, shape, values); + }; + newRecord.prototype = recordClass.prototype; + let recordPrototype = recordClass.prototype; + const _recordGet = index => { + return function recordGet() { + return this.values[index]; + }; + }; + let count = 0; + while (count < positionals) { + let name = "$" + dart.str(count); + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + if (named != null) { + for (let name of named) { + dart.defineAccessor(recordPrototype, name, {get: _recordGet(count), enumerable: true}); + count = count + 1; + } + } + dart._records.set(shapeRecipe, newRecord); + return newRecord; +}; +dart.recordType = function recordType(shape, types) { + return dart.RecordType.create(shape, types); +}; +dart.recordLiteral = function recordLiteral(shapeRecipe, positionals, named, values) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + let record = dart.registerRecord(shapeRecipe, positionals, named); + return new record(shape, values); +}; +dart.recordTypeLiteral = function recordTypeLiteral(shapeRecipe, positionals, named, types) { + let shape = dart.registerShape(shapeRecipe, positionals, named); + return dart.recordType(shape, types); +}; dart.defineValue = function defineValue(obj, name, value) { dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); return value; }; dart.throwTypeError = function throwTypeError(message) { - if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + if (message == null) dart.nullFailed(I[6], 40, 28, "message"); dart.throw(new _js_helper.TypeErrorImpl.new(message)); }; dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + if (message == null) dart.nullFailed(I[6], 45, 32, "message"); throw Error(message); }; dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { @@ -6310,7 +6657,7 @@ dart.JsSymbol = Symbol; dart.libraryPrototype = dart.library; dart.startAsyncSynchronously = true; dart._cacheMaps = []; -dart._resetFields = []; +dart.resetFields = []; dart.hotRestartIteration = 0; dart.addAsyncCallback = function() { }; @@ -6343,6 +6690,7 @@ dart._libraryUri = Symbol("libraryUri"); dart._extensionType = Symbol("extensionType"); dart.dartx = dartx; dart._extensionMap = new Map(); +dart._typeTagSymbols = new Map(); dart.isFuture = Symbol("_is_Future"); dart.isIterable = Symbol("_is_Iterable"); dart.isList = Symbol("_is_List"); @@ -6363,12 +6711,14 @@ dart._weakNullSafetyErrors = false; dart._nonNullAsserts = false; dart._nativeNonNullAsserts = false; dart.metadata = Symbol("metadata"); -dart._nullComparisonSet = new Set(); -dart._lazyJSTypes = new Map(); -dart._anonymousJSTypes = new Map(); dart._cachedNullable = Symbol("cachedNullable"); dart._cachedLegacy = Symbol("cachedLegacy"); dart._subtypeCache = Symbol("_subtypeCache"); +dart._nullComparisonSet = new Set(); +dart._nonStaticInteropTypes = new Map(); +dart._staticInteropTypes = new Map(); +var _dartName$ = dart.privateName(dart, "_dartName"); +var SentinelValue_id = dart.privateName(_internal, "SentinelValue.id"); core.Object = class Object { constructor() { throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); @@ -6379,6 +6729,9 @@ core.Object = class Object { static as(o) { return o == null ? dart.as(o, core.Object) : o; } + static ['_#new#tearOff']() { + return new core.Object.new(); + } _equals(other) { if (other == null) return false; return this === other; @@ -6396,6 +6749,82 @@ core.Object = class Object { get runtimeType() { return dart.wrapType(dart.getReifiedType(this)); } + static hash(object1, object2, object3 = C[0] || CT.C0, object4 = C[0] || CT.C0, object5 = C[0] || CT.C0, object6 = C[0] || CT.C0, object7 = C[0] || CT.C0, object8 = C[0] || CT.C0, object9 = C[0] || CT.C0, object10 = C[0] || CT.C0, object11 = C[0] || CT.C0, object12 = C[0] || CT.C0, object13 = C[0] || CT.C0, object14 = C[0] || CT.C0, object15 = C[0] || CT.C0, object16 = C[0] || CT.C0, object17 = C[0] || CT.C0, object18 = C[0] || CT.C0, object19 = C[0] || CT.C0, object20 = C[0] || CT.C0) { + if (dart.equals(_internal.sentinelValue, object3)) { + return _internal.SystemHash.hash2(dart.hashCode(object1), dart.hashCode(object2), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object4)) { + return _internal.SystemHash.hash3(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object5)) { + return _internal.SystemHash.hash4(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object6)) { + return _internal.SystemHash.hash5(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object7)) { + return _internal.SystemHash.hash6(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object8)) { + return _internal.SystemHash.hash7(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object9)) { + return _internal.SystemHash.hash8(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object10)) { + return _internal.SystemHash.hash9(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object11)) { + return _internal.SystemHash.hash10(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object12)) { + return _internal.SystemHash.hash11(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object13)) { + return _internal.SystemHash.hash12(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object14)) { + return _internal.SystemHash.hash13(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object15)) { + return _internal.SystemHash.hash14(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object16)) { + return _internal.SystemHash.hash15(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object17)) { + return _internal.SystemHash.hash16(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object18)) { + return _internal.SystemHash.hash17(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object19)) { + return _internal.SystemHash.hash18(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), core._hashSeed); + } + if (dart.equals(_internal.sentinelValue, object20)) { + return _internal.SystemHash.hash19(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), core._hashSeed); + } + return _internal.SystemHash.hash20(dart.hashCode(object1), dart.hashCode(object2), dart.hashCode(object3), dart.hashCode(object4), dart.hashCode(object5), dart.hashCode(object6), dart.hashCode(object7), dart.hashCode(object8), dart.hashCode(object9), dart.hashCode(object10), dart.hashCode(object11), dart.hashCode(object12), dart.hashCode(object13), dart.hashCode(object14), dart.hashCode(object15), dart.hashCode(object16), dart.hashCode(object17), dart.hashCode(object18), dart.hashCode(object19), dart.hashCode(object20), core._hashSeed); + } + static hashAll(objects) { + if (objects == null) dart.nullFailed(I[8], 512, 40, "objects"); + let hash = core._hashSeed; + for (let object of objects) { + hash = _internal.SystemHash.combine(hash, dart.hashCode(object)); + } + return _internal.SystemHash.finish(hash); + } + static hashAllUnordered(objects) { + if (objects == null) dart.nullFailed(I[8], 550, 49, "objects"); + let sum = 0; + let count = 0; + for (let object of objects) { + let objectHash = _internal.SystemHash.smear(dart.hashCode(object)); + sum = (sum + dart.notNull(objectHash) & 1073741823) >>> 0; + count = count + 1; + } + return _internal.SystemHash.hash2(sum, count); + } }; (core.Object.new = function() { ; @@ -6410,6 +6839,7 @@ dart.setMethodSignature(core.Object, () => ({ noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) })); +dart.setStaticMethodSignature(core.Object, () => ['is', 'as', 'hash', 'hashAll', 'hashAllUnordered']); dart.setGetterSignature(core.Object, () => ({ __proto__: Object.create(null), hashCode: core.int, @@ -6417,7 +6847,7 @@ dart.setGetterSignature(core.Object, () => ({ runtimeType: core.Type, [$runtimeType]: core.Type })); -dart.setLibraryUri(core.Object, I[8]); +dart.setLibraryUri(core.Object, I[9]); dart.lazyFn(core.Object, () => core.Type); dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); @@ -6432,9 +6862,14 @@ dart.DartType = class DartType extends core.Object { as(object) { return dart.as(object, this); } + static ['_#new#tearOff']() { + return new dart.DartType.new(); + } }; (dart.DartType.new = function() { - dart.addTypeCaches(this); + { + dart.addTypeCaches(this); + } }).prototype = dart.DartType.prototype; dart.addTypeTests(dart.DartType); dart.addTypeCaches(dart.DartType); @@ -6448,11 +6883,69 @@ dart.setGetterSignature(dart.DartType, () => ({ __proto__: dart.getGetters(dart.DartType.__proto__), name: core.String })); -dart.setLibraryUri(dart.DartType, I[9]); +dart.setLibraryUri(dart.DartType, I[10]); +dart.PackageJSType = class PackageJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } +}; +(dart.PackageJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 215, 22, "_dartName"); + this[_dartName$] = _dartName; + dart.PackageJSType.__proto__.new.call(this); + ; +}).prototype = dart.PackageJSType.prototype; +dart.addTypeTests(dart.PackageJSType); +dart.addTypeCaches(dart.PackageJSType); +dart.setLibraryUri(dart.PackageJSType, I[10]); +dart.setFieldSignature(dart.PackageJSType, () => ({ + __proto__: dart.getFields(dart.PackageJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.PackageJSType, ['toString']); +dart.NonStaticInteropType = class NonStaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + return new dart.NonStaticInteropType.new(_dartName); + } +}; +(dart.NonStaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 236, 30, "_dartName"); + dart.NonStaticInteropType.__proto__.new.call(this, _dartName); + ; +}).prototype = dart.NonStaticInteropType.prototype; +dart.addTypeTests(dart.NonStaticInteropType); +dart.addTypeCaches(dart.NonStaticInteropType); +dart.setLibraryUri(dart.NonStaticInteropType, I[10]); +dart._nonStaticInteropTypeForSubtyping = new dart.NonStaticInteropType.new(""); +dart.StaticInteropType = class StaticInteropType extends dart.PackageJSType { + static ['_#new#tearOff'](_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + return new dart.StaticInteropType.new(_dartName); + } +}; +(dart.StaticInteropType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 245, 27, "_dartName"); + dart.StaticInteropType.__proto__.new.call(this, _dartName); + ; +}).prototype = dart.StaticInteropType.prototype; +dart.addTypeTests(dart.StaticInteropType); +dart.addTypeCaches(dart.StaticInteropType); +dart.setLibraryUri(dart.StaticInteropType, I[10]); +dart._staticInteropTypeForSubtyping = new dart.StaticInteropType.new(""); dart.NeverType = class NeverType extends dart.DartType { toString() { return "Never"; } + static ['_#new#tearOff']() { + return new dart.NeverType.new(); + } }; (dart.NeverType.new = function() { dart.NeverType.__proto__.new.call(this); @@ -6460,7 +6953,7 @@ dart.NeverType = class NeverType extends dart.DartType { }).prototype = dart.NeverType.prototype; dart.addTypeTests(dart.NeverType); dart.addTypeCaches(dart.NeverType); -dart.setLibraryUri(dart.NeverType, I[9]); +dart.setLibraryUri(dart.NeverType, I[10]); dart.defineExtensionMethods(dart.NeverType, ['toString']); dart.Never = new dart.NeverType.new(); dart.DynamicType = class DynamicType extends dart.DartType { @@ -6473,6 +6966,9 @@ dart.DynamicType = class DynamicType extends dart.DartType { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.DynamicType.new(); + } }; (dart.DynamicType.new = function() { dart.DynamicType.__proto__.new.call(this); @@ -6484,7 +6980,7 @@ dart.setMethodSignature(dart.DynamicType, () => ({ __proto__: dart.getMethods(dart.DynamicType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(dart.DynamicType, I[9]); +dart.setLibraryUri(dart.DynamicType, I[10]); dart.defineExtensionMethods(dart.DynamicType, ['toString']); dart.dynamic = new dart.DynamicType.new(); dart.VoidType = class VoidType extends dart.DartType { @@ -6497,6 +6993,9 @@ dart.VoidType = class VoidType extends dart.DartType { as(object) { return object; } + static ['_#new#tearOff']() { + return new dart.VoidType.new(); + } }; (dart.VoidType.new = function() { dart.VoidType.__proto__.new.call(this); @@ -6508,29 +7007,20 @@ dart.setMethodSignature(dart.VoidType, () => ({ __proto__: dart.getMethods(dart.VoidType.__proto__), as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(dart.VoidType, I[9]); +dart.setLibraryUri(dart.VoidType, I[10]); dart.defineExtensionMethods(dart.VoidType, ['toString']); dart.void = new dart.VoidType.new(); -dart.JSObjectType = class JSObjectType extends dart.DartType { - toString() { - return "NativeJavaScriptObject"; - } -}; -(dart.JSObjectType.new = function() { - dart.JSObjectType.__proto__.new.call(this); - ; -}).prototype = dart.JSObjectType.prototype; -dart.addTypeTests(dart.JSObjectType); -dart.addTypeCaches(dart.JSObjectType); -dart.setLibraryUri(dart.JSObjectType, I[9]); -dart.defineExtensionMethods(dart.JSObjectType, ['toString']); -dart.jsobject = new dart.JSObjectType.new(); dart._typeObject = Symbol("typeObject"); dart._fnTypeNamedArgMap = new Map(); dart._fnTypeArrayArgMap = new Map(); dart._fnTypeTypeMap = new Map(); dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; dart._gFnTypeTypeMap = new Map(); +dart._typeVariableCount = 0; +dart._shapes = new Map(); +dart._records = new Map(); +dart._recordTypeArrayFieldMap = new Map(); +dart._recordTypeTypeMap = new Map(); dart._nullFailedSet = new Set(); dart._thrownValue = Symbol("_thrownValue"); dart._jsError = Symbol("_jsError"); @@ -6579,7 +7069,9 @@ dart.defineLazy(dart, { /*dart._assertInteropExpando*/get _assertInteropExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _assertInteropExpando(_) {}, + set _assertInteropExpando(value) { + if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); + }, /*dart.bottom*/get bottom() { return core.Null; }, @@ -6587,95 +7079,6 @@ dart.defineLazy(dart, { return T$.JSArrayOfTypeVariable().of([]); } }, false); -var _rawJSType = dart.privateName(dart, "_rawJSType"); -var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); -var _dartName$ = dart.privateName(dart, "_dartName"); -var _getRawJSType = dart.privateName(dart, "_getRawJSType"); -dart.LazyJSType = class LazyJSType extends dart.DartType { - toString() { - let raw = this[_getRawJSType](); - return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; - } - [_getRawJSType]() { - let raw = this[_rawJSType]; - if (raw != null) return raw; - try { - raw = this[_getRawJSTypeFn$](); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - if (raw == null) { - dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); - } else { - this[_rawJSType] = raw; - dart._resetFields.push(() => this[_rawJSType] = null); - } - return raw; - } - rawJSTypeForCheck() { - let t1; - t1 = this[_getRawJSType](); - return t1 == null ? dart.jsobject : t1; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return this.is(obj) ? obj : dart.castError(obj, this); - } -}; -(dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { - if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); - if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); - this[_rawJSType] = null; - this[_getRawJSTypeFn$] = _getRawJSTypeFn; - this[_dartName$] = _dartName; - dart.LazyJSType.__proto__.new.call(this); - ; -}).prototype = dart.LazyJSType.prototype; -dart.addTypeTests(dart.LazyJSType); -dart.addTypeCaches(dart.LazyJSType); -dart.setMethodSignature(dart.LazyJSType, () => ({ - __proto__: dart.getMethods(dart.LazyJSType.__proto__), - [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), - rawJSTypeForCheck: dart.fnType(core.Object, []) -})); -dart.setLibraryUri(dart.LazyJSType, I[9]); -dart.setFieldSignature(dart.LazyJSType, () => ({ - __proto__: dart.getFields(dart.LazyJSType.__proto__), - [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), - [_dartName$]: dart.finalFieldType(core.String), - [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) -})); -dart.defineExtensionMethods(dart.LazyJSType, ['toString']); -dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { - toString() { - return this[_dartName$]; - } - is(obj) { - return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); - } - as(obj) { - return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); - } -}; -(dart.AnonymousJSType.new = function(_dartName) { - if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); - this[_dartName$] = _dartName; - dart.AnonymousJSType.__proto__.new.call(this); - ; -}).prototype = dart.AnonymousJSType.prototype; -dart.addTypeTests(dart.AnonymousJSType); -dart.addTypeCaches(dart.AnonymousJSType); -dart.setLibraryUri(dart.AnonymousJSType, I[9]); -dart.setFieldSignature(dart.AnonymousJSType, () => ({ - __proto__: dart.getFields(dart.AnonymousJSType.__proto__), - [_dartName$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); var type$ = dart.privateName(dart, "NullableType.type"); dart.NullableType = class NullableType extends dart.DartType { get type() { @@ -6684,6 +7087,10 @@ dart.NullableType = class NullableType extends dart.DartType { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 385, 30, "type"); + return new dart.NullableType.new(type); + } get name() { return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; } @@ -6704,7 +7111,7 @@ dart.NullableType = class NullableType extends dart.DartType { }).prototype = dart.NullableType.prototype; dart.addTypeTests(dart.NullableType); dart.addTypeCaches(dart.NullableType); -dart.setLibraryUri(dart.NullableType, I[9]); +dart.setLibraryUri(dart.NullableType, I[10]); dart.setFieldSignature(dart.NullableType, () => ({ __proto__: dart.getFields(dart.NullableType.__proto__), type: dart.finalFieldType(core.Type) @@ -6718,6 +7125,10 @@ dart.LegacyType = class LegacyType extends dart.DartType { set type(value) { super.type = value; } + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[5], 406, 28, "type"); + return new dart.LegacyType.new(type); + } get name() { return dart.str(this.type); } @@ -6726,7 +7137,8 @@ dart.LegacyType = class LegacyType extends dart.DartType { } is(obj) { if (obj == null) { - return this.type === core.Object || this.type === dart.Never; + if (this.type === core.Object || this.type === dart.Never) return true; + return dart._isFutureOr(this.type) && dart.getGenericArgs(this.type)[0].is(obj); } return this.type.is(obj); } @@ -6741,7 +7153,7 @@ dart.LegacyType = class LegacyType extends dart.DartType { }).prototype = dart.LegacyType.prototype; dart.addTypeTests(dart.LegacyType); dart.addTypeCaches(dart.LegacyType); -dart.setLibraryUri(dart.LegacyType, I[9]); +dart.setLibraryUri(dart.LegacyType, I[10]); dart.setFieldSignature(dart.LegacyType, () => ({ __proto__: dart.getFields(dart.LegacyType.__proto__), type: dart.finalFieldType(core.Type) @@ -6751,6 +7163,9 @@ dart.BottomType = class BottomType extends dart.DartType { toString() { return "bottom"; } + static ['_#new#tearOff']() { + return new dart.BottomType.new(); + } }; (dart.BottomType.new = function() { dart.BottomType.__proto__.new.call(this); @@ -6758,7 +7173,7 @@ dart.BottomType = class BottomType extends dart.DartType { }).prototype = dart.BottomType.prototype; dart.addTypeTests(dart.BottomType); dart.addTypeCaches(dart.BottomType); -dart.setLibraryUri(dart.BottomType, I[9]); +dart.setLibraryUri(dart.BottomType, I[10]); dart.defineExtensionMethods(dart.BottomType, ['toString']); core.Type = class Type extends core.Object {}; (core.Type.new = function() { @@ -6766,8 +7181,12 @@ core.Type = class Type extends core.Object {}; }).prototype = core.Type.prototype; dart.addTypeTests(core.Type); dart.addTypeCaches(core.Type); -dart.setLibraryUri(core.Type, I[8]); +dart.setLibraryUri(core.Type, I[9]); dart._Type = class _Type extends core.Type { + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); + return new dart._Type.new(_type); + } toString() { return dart.typeName(this[_type$]); } @@ -6776,13 +7195,13 @@ dart._Type = class _Type extends core.Type { } }; (dart._Type.new = function(_type) { - if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + if (_type == null) dart.nullFailed(I[5], 475, 14, "_type"); this[_type$] = _type; ; }).prototype = dart._Type.prototype; dart.addTypeTests(dart._Type); dart.addTypeCaches(dart._Type); -dart.setLibraryUri(dart._Type, I[9]); +dart.setLibraryUri(dart._Type, I[10]); dart.setFieldSignature(dart._Type, () => ({ __proto__: dart.getFields(dart._Type.__proto__), [_type$]: dart.finalFieldType(core.Object) @@ -6796,7 +7215,7 @@ dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; }).prototype = dart.AbstractFunctionType.prototype; dart.addTypeTests(dart.AbstractFunctionType); dart.addTypeCaches(dart.AbstractFunctionType); -dart.setLibraryUri(dart.AbstractFunctionType, I[9]); +dart.setLibraryUri(dart.AbstractFunctionType, I[10]); var returnType$ = dart.privateName(dart, "FunctionType.returnType"); var args$ = dart.privateName(dart, "FunctionType.args"); var optionals$ = dart.privateName(dart, "FunctionType.optionals"); @@ -6836,7 +7255,7 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { super.requiredNamed = value; } static create(returnType, args, optionalArgs, requiredNamedArgs) { - if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + if (args == null) dart.nullFailed(I[5], 737, 24, "args"); let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; if (noOptionalArgs && args.length < 3) { return dart._createSmall(returnType, args); @@ -6859,6 +7278,12 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { } return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); } + static ['_#new#tearOff'](returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); + return new dart.FunctionType.new(returnType, args, optionals, named, requiredNamed); + } toString() { return this.name; } @@ -6869,12 +7294,12 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); } getPositionalParameter(i) { - if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + if (i == null) dart.nullFailed(I[5], 776, 30, "i"); let n = this.args[$length]; return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); } [_createNameMap](names) { - if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + if (names == null) dart.nullFailed(I[5], 782, 52, "names"); let result = new (T$.IdentityMapOfString$Object()).new(); names.sort(); for (let i = 0; i < names.length; i = i + 1) { @@ -6950,9 +7375,9 @@ dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { } }; (dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { - if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); - if (args == null) dart.nullFailed(I[5], 784, 38, "args"); - if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + if (returnType == null) dart.nullFailed(I[5], 768, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 768, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 768, 49, "optionals"); this[_stringValue] = null; this[returnType$] = returnType; this[args$] = args; @@ -6971,12 +7396,13 @@ dart.setMethodSignature(dart.FunctionType, () => ({ getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) })); +dart.setStaticMethodSignature(dart.FunctionType, () => ['create']); dart.setGetterSignature(dart.FunctionType, () => ({ __proto__: dart.getGetters(dart.FunctionType.__proto__), requiredParameterCount: core.int, positionalParameterCount: core.int })); -dart.setLibraryUri(dart.FunctionType, I[9]); +dart.setLibraryUri(dart.FunctionType, I[10]); dart.setFieldSignature(dart.FunctionType, () => ({ __proto__: dart.getFields(dart.FunctionType.__proto__), returnType: dart.finalFieldType(core.Type), @@ -6995,31 +7421,75 @@ dart.TypeVariable = class TypeVariable extends dart.DartType { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); + return new dart.TypeVariable.new(name); + } toString() { return this.name; } }; (dart.TypeVariable.new = function(name) { - if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + if (name == null) dart.nullFailed(I[5], 877, 21, "name"); this[name$] = name; dart.TypeVariable.__proto__.new.call(this); ; }).prototype = dart.TypeVariable.prototype; dart.addTypeTests(dart.TypeVariable); dart.addTypeCaches(dart.TypeVariable); -dart.setLibraryUri(dart.TypeVariable, I[9]); +dart.setLibraryUri(dart.TypeVariable, I[10]); dart.setFieldSignature(dart.TypeVariable, () => ({ __proto__: dart.getFields(dart.TypeVariable.__proto__), name: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(dart.TypeVariable, ['toString']); -dart.Variance = class Variance extends core.Object {}; +var index$ = dart.privateName(dart, "TypeVariableForSubtype.index"); +var bound = dart.privateName(dart, "TypeVariableForSubtype.bound"); +dart.TypeVariableForSubtype = class TypeVariableForSubtype extends dart.DartType { + get index() { + return this[index$]; + } + set index(value) { + super.index = value; + } + get bound() { + return this[bound]; + } + set bound(value) { + this[bound] = value; + } + static ['_#new#tearOff'](index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + return new dart.TypeVariableForSubtype.new(index); + } +}; +(dart.TypeVariableForSubtype.new = function(index) { + if (index == null) dart.nullFailed(I[5], 899, 31, "index"); + this[bound] = null; + this[index$] = index; + dart.TypeVariableForSubtype.__proto__.new.call(this); + ; +}).prototype = dart.TypeVariableForSubtype.prototype; +dart.addTypeTests(dart.TypeVariableForSubtype); +dart.addTypeCaches(dart.TypeVariableForSubtype); +dart.setLibraryUri(dart.TypeVariableForSubtype, I[10]); +dart.setFieldSignature(dart.TypeVariableForSubtype, () => ({ + __proto__: dart.getFields(dart.TypeVariableForSubtype.__proto__), + index: dart.finalFieldType(core.int), + bound: dart.fieldType(dart.nullable(dart.DartType)) +})); +dart.Variance = class Variance extends core.Object { + static ['_#new#tearOff']() { + return new dart.Variance.new(); + } +}; (dart.Variance.new = function() { ; }).prototype = dart.Variance.prototype; dart.addTypeTests(dart.Variance); dart.addTypeCaches(dart.Variance); -dart.setLibraryUri(dart.Variance, I[9]); +dart.setLibraryUri(dart.Variance, I[10]); +dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); dart.defineLazy(dart.Variance, { /*dart.Variance.unrelated*/get unrelated() { return 0; @@ -7056,6 +7526,10 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends set function(value) { super.function = value; } + static ['_#new#tearOff'](typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); + return new dart.GenericFunctionTypeIdentifier.new(typeFormals, typeBounds, $function); + } toString() { if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); let s = "<"; @@ -7065,7 +7539,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends if (i !== 0) s = s + ", "; s = s + typeFormals[i].name; let bound = dart.dsend(typeBounds, '_get', [i]); - if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || true && bound === core.Object) { continue; } s = s + (" extends " + dart.str(bound)); @@ -7075,7 +7549,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends } }; (dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); this[_stringValue] = null; this[typeFormals$] = typeFormals; this[typeBounds$] = typeBounds; @@ -7085,7 +7559,7 @@ dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends }).prototype = dart.GenericFunctionTypeIdentifier.prototype; dart.addTypeTests(dart.GenericFunctionTypeIdentifier); dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); -dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); +dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), typeFormals: dart.finalFieldType(dart.dynamic), @@ -7105,6 +7579,9 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti set formalCount(value) { super.formalCount = value; } + static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { + return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); + } get typeFormals() { return this[_typeFormals]; } @@ -7112,7 +7589,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti return this[_instantiateTypeBounds$] != null; } checkBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 969, 33, "typeArgs"); if (!dart.test(this.hasTypeBounds)) return; let bounds = this.instantiateTypeBounds(typeArgs); let typeFormals = this.typeFormals; @@ -7125,7 +7602,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); } instantiateTypeBounds(typeArgs) { - if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (typeArgs == null) dart.nullFailed(I[5], 987, 43, "typeArgs"); if (!dart.test(this.hasTypeBounds)) { return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); } @@ -7149,7 +7626,7 @@ dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFuncti instantiateDefaultBounds() { function defaultsToDynamic(type) { if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { return type.type === core.Object; } return false; @@ -7238,7 +7715,7 @@ dart.setGetterSignature(dart.GenericFunctionType, () => ({ typeFormals: core.List$(dart.TypeVariable), hasTypeBounds: core.bool })); -dart.setLibraryUri(dart.GenericFunctionType, I[9]); +dart.setLibraryUri(dart.GenericFunctionType, I[10]); dart.setFieldSignature(dart.GenericFunctionType, () => ({ __proto__: dart.getFields(dart.GenericFunctionType.__proto__), [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), @@ -7255,6 +7732,10 @@ var _isFunctionSubtypeMatch = dart.privateName(dart, "_isFunctionSubtypeMatch"); var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); var _isTop$ = dart.privateName(dart, "_isTop"); dart._TypeInferrer = class _TypeInferrer extends core.Object { + static ['_#new#tearOff'](typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); + return new dart._TypeInferrer.new(typeVariables); + } getInferredTypes() { let result = T$.JSArrayOfObject().of([]); for (let constraint of this[_typeVariables][$values]) { @@ -7269,24 +7750,24 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return result; } trySubtypeMatch(subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1898, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1898, 47, "supertype"); return this[_isSubtypeMatch](subtype, supertype); } [_constrainLower](parameter, lower) { - if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); - if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + if (parameter == null) dart.nullFailed(I[5], 1901, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1901, 55, "lower"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); } [_constrainUpper](parameter, upper) { - if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); - if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + if (parameter == null) dart.nullFailed(I[5], 1905, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1905, 55, "upper"); dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); } [_isFunctionSubtypeMatch](subtype, supertype) { - let t7; - if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + let t2; + if (subtype == null) dart.nullFailed(I[5], 1909, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1909, 67, "supertype"); if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { return false; } @@ -7305,22 +7786,16 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); let subtypeNamed = supertype.getNamedParameters(); let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - if (!false) { + { supertypeNamed = (() => { - let t1 = new (T$.IdentityMapOfString$Object()).new(); - for (let t2 of supertypeNamed[$entries]) - t1[$_set](t2.key, t2.value); - for (let t3 of supertypeRequiredNamed[$entries]) - t1[$_set](t3.key, t3.value); - return t1; + let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); + t0[$addAll](supertypeRequiredNamed); + return t0; })(); subtypeNamed = (() => { - let t4 = new (T$.IdentityMapOfString$Object()).new(); - for (let t5 of subtypeNamed[$entries]) - t4[$_set](t5.key, t5.value); - for (let t6 of subtypeRequiredNamed[$entries]) - t4[$_set](t6.key, t6.value); - return t4; + let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); + t1[$addAll](subtypeRequiredNamed); + return t1; })(); supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); @@ -7337,7 +7812,7 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { } } for (let name of supertypeRequiredNamed[$keys]) { - let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + let subtypeParamType = (t2 = subtypeRequiredNamed[$_get](name), t2 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t2); if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { return false; } @@ -7345,8 +7820,8 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return true; } [_isInterfaceSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 1985, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1985, 56, "supertype"); let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); if (matchingSupertype == null) return false; let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); @@ -7359,8 +7834,8 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return true; } [_isSubtypeMatch](subtype, supertype) { - if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); - if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (subtype == null) dart.nullFailed(I[5], 2029, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 2029, 47, "supertype"); if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { this[_constrainUpper](subtype, supertype); return true; @@ -7392,11 +7867,11 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { if (dart.GenericFunctionType.is(subtype)) { if (dart.GenericFunctionType.is(supertype)) { let formalCount = subtype.formalCount; - if (formalCount != supertype.formalCount) return false; + if (formalCount !== supertype.formalCount) return false; let fresh = supertype.typeFormals; let t1Bounds = subtype.instantiateTypeBounds(fresh); let t2Bounds = supertype.instantiateTypeBounds(fresh); - for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + for (let i = 0; i < formalCount; i = i + 1) { if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { return false; } @@ -7423,14 +7898,14 @@ dart._TypeInferrer = class _TypeInferrer extends core.Object { return this[_isInterfaceSubtypeMatch](subtype, supertype); } [_isTop$](type) { - if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + if (type == null) dart.nullFailed(I[5], 2172, 22, "type"); return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; } }; (dart._TypeInferrer.new = function(typeVariables) { - if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + if (typeVariables == null) dart.nullFailed(I[5], 1873, 40, "typeVariables"); this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); return new dart.TypeConstraint.new(); })); ; @@ -7448,7 +7923,7 @@ dart.setMethodSignature(dart._TypeInferrer, () => ({ [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), [_isTop$]: dart.fnType(core.bool, [core.Object]) })); -dart.setLibraryUri(dart._TypeInferrer, I[9]); +dart.setLibraryUri(dart._TypeInferrer, I[10]); dart.setFieldSignature(dart._TypeInferrer, () => ({ __proto__: dart.getFields(dart._TypeInferrer.__proto__), [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) @@ -7469,7 +7944,7 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { this[upper] = value; } [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); let _lower = this.lower; if (_lower != null) { if (dart.isSubtypeOf(_lower, type)) { @@ -7482,7 +7957,7 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { this.lower = type; } [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); let _upper = this.upper; if (_upper != null) { if (dart.isSubtypeOf(type, _upper)) { @@ -7497,6 +7972,9 @@ dart.TypeConstraint = class TypeConstraint extends core.Object { toString() { return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); } + static ['_#new#tearOff']() { + return new dart.TypeConstraint.new(); + } }; (dart.TypeConstraint.new = function() { this[lower] = null; @@ -7510,16 +7988,226 @@ dart.setMethodSignature(dart.TypeConstraint, () => ({ [_constrainLower]: dart.fnType(dart.void, [core.Object]), [_constrainUpper]: dart.fnType(dart.void, [core.Object]) })); -dart.setLibraryUri(dart.TypeConstraint, I[9]); +dart.setLibraryUri(dart.TypeConstraint, I[10]); dart.setFieldSignature(dart.TypeConstraint, () => ({ __proto__: dart.getFields(dart.TypeConstraint.__proto__), lower: dart.fieldType(dart.nullable(core.Object)), upper: dart.fieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); +var positionals$ = dart.privateName(dart, "Shape.positionals"); +var named$0 = dart.privateName(dart, "Shape.named"); +dart.Shape = class Shape extends core.Object { + get positionals() { + return this[positionals$]; + } + set positionals(value) { + if (value == null) dart.nullFailed(I[5], 2258, 7, "positionals"); + this[positionals$] = value; + } + get named() { + return this[named$0]; + } + set named(value) { + this[named$0] = value; + } + static ['_#new#tearOff'](positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + return new dart.Shape.new(positionals, named); + } + toString() { + let t2; + return "Shape(" + dart.str(this.positionals) + ", [" + dart.str((t2 = this.named, t2 == null ? null : t2[$join](", "))) + "])"; + } +}; +(dart.Shape.new = function(positionals, named) { + if (positionals == null) dart.nullFailed(I[5], 2260, 14, "positionals"); + this[positionals$] = positionals; + this[named$0] = named; + ; +}).prototype = dart.Shape.prototype; +dart.addTypeTests(dart.Shape); +dart.addTypeCaches(dart.Shape); +dart.setLibraryUri(dart.Shape, I[10]); +dart.setFieldSignature(dart.Shape, () => ({ + __proto__: dart.getFields(dart.Shape.__proto__), + positionals: dart.fieldType(core.int), + named: dart.fieldType(dart.nullable(core.List$(core.String))) +})); +dart.defineExtensionMethods(dart.Shape, ['toString']); +var _hashCode = dart.privateName(dart, "_hashCode"); +var _printed = dart.privateName(dart, "_printed"); +dart._RecordImpl = class _RecordImpl extends core.Object { + static ['_#new#tearOff'](shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + return new dart._RecordImpl.new(shape, values); + } + _equals(other) { + if (other == null) return false; + if (!dart._RecordImpl.is(other)) return false; + if (!dart.equals(this.shape, other.shape)) return false; + if (this.values[$length] != other.values[$length]) { + return false; + } + for (let i = 0; i < dart.notNull(this.values[$length]); i = i + 1) { + if (!dart.equals(this.values[$_get](i), other.values[$_get](i))) { + return false; + } + } + return true; + } + get hashCode() { + if (this[_hashCode] == null) { + this[_hashCode] = core.Object.hashAll((() => { + let t2 = T$.JSArrayOfObjectN().of([this.shape]); + t2[$addAll](this.values); + return t2; + })()); + } + return dart.nullCheck(this[_hashCode]); + } + toString() { + if (this[_printed] == null) { + let buffer = new core.StringBuffer.new(); + let posCount = this.shape.positionals; + let count = this.values[$length]; + buffer.write("("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i >= dart.notNull(posCount)) { + buffer.write(dart.str(dart.nullCheck(this.shape.named)[$_get](i - dart.notNull(posCount)))); + buffer.write(": "); + } + buffer.write(dart.str(this.values[$_get](i))); + if (i < dart.notNull(count) - 1) buffer.write(", "); + } + buffer.write(")"); + this[_printed] = buffer.toString(); + } + return dart.nullCheck(this[_printed]); + } +}; +(dart._RecordImpl.new = function(shape, values) { + if (shape == null) dart.nullFailed(I[5], 2275, 20, "shape"); + if (values == null) dart.nullFailed(I[5], 2275, 32, "values"); + this[_hashCode] = null; + this[_printed] = null; + this.shape = shape; + this.values = values; + ; +}).prototype = dart._RecordImpl.prototype; +dart.addTypeTests(dart._RecordImpl); +dart.addTypeCaches(dart._RecordImpl); +dart._RecordImpl[dart.implements] = () => [core.Record]; +dart.setMethodSignature(dart._RecordImpl, () => ({ + __proto__: dart.getMethods(dart._RecordImpl.__proto__), + _equals: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$_equals]: dart.fnType(core.bool, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart._RecordImpl, I[10]); +dart.setFieldSignature(dart._RecordImpl, () => ({ + __proto__: dart.getFields(dart._RecordImpl.__proto__), + shape: dart.fieldType(dart.Shape), + values: dart.fieldType(core.List), + [_hashCode]: dart.fieldType(dart.nullable(core.int)), + [_printed]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart._RecordImpl, ['_equals', 'toString']); +dart.defineExtensionAccessors(dart._RecordImpl, ['hashCode']); +var shape$ = dart.privateName(dart, "RecordType.shape"); +var types$ = dart.privateName(dart, "RecordType.types"); +dart.RecordType = class RecordType extends dart.DartType { + get shape() { + return this[shape$]; + } + set shape(value) { + super.shape = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } + static ['_#_#tearOff'](shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + return new dart.RecordType.__(shape, types); + } + static create(shape, types) { + let canonicalized = dart._canonicalizeArray(types, dart._recordTypeArrayFieldMap); + let keys = [shape, canonicalized]; + let createType = () => new dart.RecordType.__(shape, canonicalized); + return dart._memoizeArray(dart._recordTypeTypeMap, keys, createType); + } + toString() { + if (this[_printed] != null) return dart.nullCheck(this[_printed]); + let named = this.shape.named; + let posCount = this.shape.positionals; + let count = this.types[$length]; + let buffer = new core.StringBuffer.new(); + buffer.write("RecordType("); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + if (i < dart.notNull(posCount)) { + buffer.write(dart.str(this.types[$_get](i))); + } else { + if (i === posCount) { + buffer.write("{"); + } + buffer.write(dart.str(this.types[$_get](i)) + " " + dart.str(dart.nullCheck(named)[$_get](i - dart.notNull(posCount)))); + if (i === dart.notNull(count) - 1) { + buffer.write("}"); + } + } + if (i < dart.notNull(count) - 1) { + buffer.write(", "); + } + } + buffer.write(")"); + this[_printed] = buffer.toString(); + return dart.nullCheck(this[_printed]); + } + is(obj) { + if (obj instanceof dart._RecordImpl) { + let actual = dart.getReifiedType(obj); + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } +}; +(dart.RecordType.__ = function(shape, types) { + if (shape == null) dart.nullFailed(I[5], 2432, 21, "shape"); + if (types == null) dart.nullFailed(I[5], 2432, 33, "types"); + this[_printed] = null; + this[shape$] = shape; + this[types$] = types; + dart.RecordType.__proto__.new.call(this); + ; +}).prototype = dart.RecordType.prototype; +dart.addTypeTests(dart.RecordType); +dart.addTypeCaches(dart.RecordType); +dart.setStaticMethodSignature(dart.RecordType, () => ['create']); +dart.setLibraryUri(dart.RecordType, I[10]); +dart.setFieldSignature(dart.RecordType, () => ({ + __proto__: dart.getFields(dart.RecordType.__proto__), + shape: dart.finalFieldType(dart.Shape), + types: dart.finalFieldType(core.List), + [_printed]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.RecordType, ['toString']); var _trace = dart.privateName(dart, "_trace"); var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); dart._StackTrace = class _StackTrace extends core.Object { + static ['_#new#tearOff'](_jsError) { + return new dart._StackTrace.new(_jsError); + } + static ['_#missing#tearOff'](caughtObj) { + return new dart._StackTrace.missing(caughtObj); + } toString() { if (this[_trace] != null) return dart.nullCheck(this[_trace]); let e = this[_jsError$]; @@ -7562,7 +8250,7 @@ dart._StackTrace = class _StackTrace extends core.Object { dart.addTypeTests(dart._StackTrace); dart.addTypeCaches(dart._StackTrace); dart._StackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(dart._StackTrace, I[9]); +dart.setLibraryUri(dart._StackTrace, I[10]); dart.setFieldSignature(dart._StackTrace, () => ({ __proto__: dart.getFields(dart._StackTrace.__proto__), [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -7582,317 +8270,326 @@ let const$; let const$0; dart.defineLazy(CT, { get C0() { - return C[0] = dart.constList([], T$.TypeL()); + return C[0] = dart.const({ + __proto__: _internal.SentinelValue.prototype, + [SentinelValue_id]: 0 + }); }, get C1() { - return C[1] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); + return C[1] = dart.constList([], T$.TypeL()); }, get C2() { return C[2] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" + [name$0]: "none" }); }, get C3() { return C[3] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" + [name$0]: "skipDart" }); }, get C4() { return C[4] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" + [name$0]: "keyToString" }); }, get C5() { return C[5] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" + [name$0]: "asClass" }); }, get C6() { return C[6] = dart.const({ __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" + [name$0]: "asObject" }); }, get C7() { - return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + return C[7] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); }, get C8() { - return C[8] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); + return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); }, get C9() { - return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + return C[9] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); }, get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); }, get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); }, get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); }, get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); }, get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); }, get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); }, get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); }, get C17() { - return C[17] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); + return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); }, get C18() { - return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + return C[18] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); }, get C19() { - return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); }, get C20() { - return C[20] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); + return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); }, get C21() { - return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + return C[21] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); }, get C22() { - return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + return C[22] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); }, get C23() { - return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + return C[23] = dart.const({ + __proto__: _internal._Patch.prototype + }); }, get C24() { - return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); }, get C25() { - return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); }, get C26() { - return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); }, get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); }, get C28() { - return C[28] = dart.applyExtensionForTesting; + return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); }, get C29() { - return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); }, get C30() { - return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + return C[30] = dart.applyExtensionForTesting; }, get C31() { - return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); }, get C32() { - return C[32] = dart.const({ - __proto__: _js_helper._Patch.prototype - }); + return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); }, get C33() { - return C[33] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); + return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); }, get C34() { return C[34] = dart.const({ - __proto__: _js_helper._Undefined.prototype + __proto__: _js_helper._NotNull.prototype }); }, get C35() { return C[35] = dart.const({ - __proto__: _js_helper._NullCheck.prototype + __proto__: _js_helper._Undefined.prototype }); }, get C36() { return C[36] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false + __proto__: _js_helper._NullCheck.prototype }); }, get C37() { - return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + return C[37] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); }, get C38() { - return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); }, get C39() { - return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); }, get C40() { - return C[40] = dart.const({ - __proto__: async._DelayedDone.prototype - }); + return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); }, get C41() { - return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + return C[41] = dart.const({ + __proto__: async._DelayedDone.prototype + }); }, get C42() { - return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); }, get C43() { - return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + return C[43] = async._AsyncRun._scheduleImmediateJSOverride; }, get C44() { - return C[44] = dart.const({ + return C[44] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C45() { + return C[45] = dart.const({ __proto__: async._RootZone.prototype }); }, - get C46() { - return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + get C47() { + return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RunNullaryZoneFunction.prototype, - [$function$1]: C[46] || CT.C46, - [zone$0]: C[44] || CT.C44 + get C46() { + return C[46] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, + [$function$0]: C[47] || CT.C47, + [zone$]: C[45] || CT.C45 }); }, - get C48() { - return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + get C49() { + return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); }, - get C47() { - return C[47] = dart.const({ - __proto__: async._RunUnaryZoneFunction.prototype, - [$function$2]: C[48] || CT.C48, - [zone$1]: C[44] || CT.C44 + get C48() { + return C[48] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$1().prototype, + [$function$0]: C[49] || CT.C49, + [zone$]: C[45] || CT.C45 }); }, - get C50() { - return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + get C51() { + return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); }, - get C49() { - return C[49] = dart.const({ - __proto__: async._RunBinaryZoneFunction.prototype, - [$function$3]: C[50] || CT.C50, - [zone$2]: C[44] || CT.C44 + get C50() { + return C[50] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL$2().prototype, + [$function$0]: C[51] || CT.C51, + [zone$]: C[45] || CT.C45 }); }, - get C52() { - return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + get C53() { + return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); }, - get C51() { - return C[51] = dart.const({ - __proto__: async._RegisterNullaryZoneFunction.prototype, - [$function$4]: C[52] || CT.C52, - [zone$3]: C[44] || CT.C44 + get C52() { + return C[52] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, + [$function$0]: C[53] || CT.C53, + [zone$]: C[45] || CT.C45 }); }, - get C54() { - return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + get C55() { + return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); }, - get C53() { - return C[53] = dart.const({ - __proto__: async._RegisterUnaryZoneFunction.prototype, - [$function$5]: C[54] || CT.C54, - [zone$4]: C[44] || CT.C44 + get C54() { + return C[54] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$1().prototype, + [$function$0]: C[55] || CT.C55, + [zone$]: C[45] || CT.C45 }); }, - get C56() { - return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + get C57() { + return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); }, - get C55() { - return C[55] = dart.const({ - __proto__: async._RegisterBinaryZoneFunction.prototype, - [$function$6]: C[56] || CT.C56, - [zone$5]: C[44] || CT.C44 + get C56() { + return C[56] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn$2().prototype, + [$function$0]: C[57] || CT.C57, + [zone$]: C[45] || CT.C45 }); }, - get C58() { - return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + get C59() { + return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); }, - get C57() { - return C[57] = dart.const({ + get C58() { + return C[58] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[58] || CT.C58, - [zone$]: C[44] || CT.C44 + [$function$0]: C[59] || CT.C59, + [zone$]: C[45] || CT.C45 }); }, - get C60() { - return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + get C61() { + return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); }, - get C59() { - return C[59] = dart.const({ + get C60() { + return C[60] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[60] || CT.C60, - [zone$]: C[44] || CT.C44 + [$function$0]: C[61] || CT.C61, + [zone$]: C[45] || CT.C45 }); }, - get C62() { - return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + get C63() { + return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); }, - get C61() { - return C[61] = dart.const({ + get C62() { + return C[62] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[62] || CT.C62, - [zone$]: C[44] || CT.C44 + [$function$0]: C[63] || CT.C63, + [zone$]: C[45] || CT.C45 }); }, - get C64() { - return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + get C65() { + return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); }, - get C63() { - return C[63] = dart.const({ + get C64() { + return C[64] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[64] || CT.C64, - [zone$]: C[44] || CT.C44 + [$function$0]: C[65] || CT.C65, + [zone$]: C[45] || CT.C45 }); }, - get C66() { - return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + get C67() { + return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); }, - get C65() { - return C[65] = dart.const({ + get C66() { + return C[66] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[66] || CT.C66, - [zone$]: C[44] || CT.C44 + [$function$0]: C[67] || CT.C67, + [zone$]: C[45] || CT.C45 }); }, - get C68() { - return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + get C69() { + return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); }, - get C67() { - return C[67] = dart.const({ + get C68() { + return C[68] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[68] || CT.C68, - [zone$]: C[44] || CT.C44 + [$function$0]: C[69] || CT.C69, + [zone$]: C[45] || CT.C45 }); }, - get C70() { - return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + get C71() { + return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); }, - get C69() { - return C[69] = dart.const({ + get C70() { + return C[70] = dart.const({ __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[70] || CT.C70, - [zone$]: C[44] || CT.C44 + [$function$0]: C[71] || CT.C71, + [zone$]: C[45] || CT.C45 }); }, - get C71() { - return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); - }, get C72() { - return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); }, get C73() { - return C[73] = dart.const({ + return C[73] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C74() { + return C[74] = dart.fn(async._printToZone, T$0.StringTovoid()); + }, + get C75() { + return C[75] = dart.const({ __proto__: async._ZoneSpecification.prototype, [fork$]: null, [print$]: null, @@ -7909,69 +8606,84 @@ dart.defineLazy(CT, { [handleUncaughtError$]: null }); }, - get C74() { - return C[74] = dart.hashCode; - }, - get C75() { - return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); - }, get C76() { - return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + return C[76] = dart.hashCode; }, get C77() { - return C[77] = dart.equals; + return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); }, get C78() { - return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); }, get C79() { - return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + return C[79] = dart.equals; }, get C80() { - return C[80] = dart.const({ + return C[80] = dart.const(new _js_helper.PrivateSymbol.new('_link', _link$)); + }, + get C81() { + return C[81] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink', _nextLink$1)); + }, + get C82() { + return C[82] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink', _previousLink$1)); + }, + get C83() { + return C[83] = dart.const(new _js_helper.PrivateSymbol.new('_nextLink=', _nextLink_)); + }, + get C84() { + return C[84] = dart.const(new _js_helper.PrivateSymbol.new('_previousLink=', _previousLink_)); + }, + get C85() { + return C[85] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C86() { + return C[86] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C87() { + return C[87] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C81() { - return C[81] = dart.const({ + get C88() { + return C[88] = dart.const({ __proto__: convert.AsciiDecoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 127, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C82() { - return C[82] = dart.const({ + get C89() { + return C[89] = dart.const({ __proto__: convert.AsciiEncoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 127 }); }, - get C83() { - return C[83] = dart.constList([239, 191, 189], T$0.intL()); + get C90() { + return C[90] = dart.constList([239, 191, 189], T$0.intL()); }, - get C84() { - return C[84] = dart.const({ + get C91() { + return C[91] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: false }); }, - get C85() { - return C[85] = dart.const({ + get C92() { + return C[92] = dart.const({ __proto__: convert.Base64Encoder.prototype, [Base64Encoder__urlSafe]: true }); }, - get C86() { - return C[86] = dart.const({ + get C93() { + return C[93] = dart.const({ __proto__: convert.Base64Decoder.prototype }); }, - get C87() { - return C[87] = dart.constList([], T$0.intL()); + get C94() { + return C[94] = dart.constList([], T$0.intL()); }, - get C88() { - return C[88] = dart.const({ + get C95() { + return C[95] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: true, [escapeApos$]: true, @@ -7980,8 +8692,8 @@ dart.defineLazy(CT, { [_name$2]: "unknown" }); }, - get C89() { - return C[89] = dart.const({ + get C96() { + return C[96] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -7990,8 +8702,8 @@ dart.defineLazy(CT, { [_name$2]: "attribute" }); }, - get C90() { - return C[90] = dart.const({ + get C97() { + return C[97] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: true, @@ -8000,8 +8712,8 @@ dart.defineLazy(CT, { [_name$2]: "attribute" }); }, - get C91() { - return C[91] = dart.const({ + get C98() { + return C[98] = dart.const({ __proto__: convert.HtmlEscapeMode.prototype, [escapeSlash$]: false, [escapeApos$]: false, @@ -8010,689 +8722,701 @@ dart.defineLazy(CT, { [_name$2]: "element" }); }, - get C92() { - return C[92] = dart.const({ + get C99() { + return C[99] = dart.const({ __proto__: convert.JsonEncoder.prototype, [JsonEncoder__toEncodable]: null, [JsonEncoder_indent]: null }); }, - get C93() { - return C[93] = dart.const({ + get C100() { + return C[100] = dart.const({ __proto__: convert.JsonDecoder.prototype, [JsonDecoder__reviver]: null }); }, - get C94() { - return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + get C101() { + return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); }, - get C95() { - return C[95] = dart.const({ + get C102() { + return C[102] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: true }); }, - get C96() { - return C[96] = dart.const({ + get C103() { + return C[103] = dart.const({ __proto__: convert.Latin1Decoder.prototype, [_UnicodeSubsetDecoder__subsetMask]: 255, [_UnicodeSubsetDecoder__allowInvalid]: false }); }, - get C97() { - return C[97] = dart.const({ + get C104() { + return C[104] = dart.const({ __proto__: convert.Latin1Encoder.prototype, [_UnicodeSubsetEncoder__subsetMask]: 255 }); }, - get C98() { - return C[98] = dart.constList([65533], T$0.intL()); + get C105() { + return C[105] = dart.constList([65533], T$0.intL()); }, - get C99() { - return C[99] = dart.const({ + get C106() { + return C[106] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: true }); }, - get C100() { - return C[100] = dart.const({ + get C107() { + return C[107] = dart.const({ __proto__: convert.Utf8Decoder.prototype, [Utf8Decoder__allowMalformed]: false }); }, - get C101() { - return C[101] = dart.const({ + get C108() { + return C[108] = dart.const({ __proto__: convert.Utf8Encoder.prototype }); }, - get C102() { - return C[102] = dart.const({ + get C109() { + return C[109] = dart.const({ __proto__: convert.AsciiCodec.prototype, [_allowInvalid]: false }); }, - get C103() { - return C[103] = dart.const({ + get C110() { + return C[110] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[84] || CT.C84 + [_encoder]: C[91] || CT.C91 }); }, - get C104() { - return C[104] = dart.const({ + get C111() { + return C[111] = dart.const({ __proto__: convert.Base64Codec.prototype, - [_encoder]: C[85] || CT.C85 + [_encoder]: C[92] || CT.C92 }); }, - get C105() { - return C[105] = dart.const({ + get C112() { + return C[112] = dart.const({ __proto__: convert.HtmlEscape.prototype, - [mode$]: C[88] || CT.C88 + [mode$]: C[95] || CT.C95 }); }, - get C106() { - return C[106] = dart.const({ + get C113() { + return C[113] = dart.const({ __proto__: convert.JsonCodec.prototype, [_toEncodable]: null, [_reviver]: null }); }, - get C107() { - return C[107] = dart.const({ + get C114() { + return C[114] = dart.const({ __proto__: convert.Latin1Codec.prototype, [_allowInvalid$1]: false }); }, - get C108() { - return C[108] = dart.const({ + get C115() { + return C[115] = dart.const({ __proto__: convert.Utf8Codec.prototype, [_allowMalformed]: false }); }, - get C109() { - return C[109] = dart.const({ + get C116() { + return C[116] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 0 }); }, - get C110() { - return C[110] = dart.const({ + get C117() { + return C[117] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 1 }); }, - get C111() { - return C[111] = dart.const({ + get C118() { + return C[118] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 2 }); }, - get C112() { - return C[112] = dart.const({ + get C119() { + return C[119] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 3 }); }, - get C113() { - return C[113] = dart.const({ + get C120() { + return C[120] = dart.const({ __proto__: io.FileMode.prototype, [_mode$]: 4 }); }, - get C114() { - return C[114] = dart.const({ + get C121() { + return C[121] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 1 }); }, - get C115() { - return C[115] = dart.const({ + get C122() { + return C[122] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 2 }); }, - get C116() { - return C[116] = dart.const({ + get C123() { + return C[123] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 3 }); }, - get C117() { - return C[117] = dart.const({ + get C124() { + return C[124] = dart.const({ __proto__: io.FileLock.prototype, [_type$1]: 4 }); }, - get C118() { - return C[118] = dart.const({ + get C125() { + return C[125] = dart.const({ __proto__: convert.LineSplitter.prototype }); }, - get C119() { - return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C126() { + return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C120() { - return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + get C127() { + return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); }, - get C121() { - return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + get C128() { + return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); }, - get C122() { - return C[122] = dart.const({ + get C129() { + return C[129] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 0 }); }, - get C123() { - return C[123] = dart.const({ + get C130() { + return C[130] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 1 }); }, - get C124() { - return C[124] = dart.const({ + get C131() { + return C[131] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 2 }); }, - get C125() { - return C[125] = dart.const({ + get C132() { + return C[132] = dart.const({ __proto__: io.FileSystemEntityType.prototype, [_type$2]: 3 }); }, - get C126() { - return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + get C133() { + return C[133] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 4 + }); }, - get C127() { - return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + get C134() { + return C[134] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 5 + }); }, - get C128() { - return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + get C135() { + return C[135] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134], T$0.FileSystemEntityTypeL()); }, - get C129() { - return C[129] = dart.const({ + get C136() { + return C[136] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C137() { + return C[137] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C138() { + return C[138] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.startTime", - index: 0 + [_Enum__name]: "startTime", + [_Enum_index]: 0 }); }, - get C130() { - return C[130] = dart.const({ + get C139() { + return C[139] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.endTime", - index: 1 + [_Enum__name]: "endTime", + [_Enum_index]: 1 }); }, - get C131() { - return C[131] = dart.const({ + get C140() { + return C[140] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.address", - index: 2 + [_Enum__name]: "address", + [_Enum_index]: 2 }); }, - get C132() { - return C[132] = dart.const({ + get C141() { + return C[141] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.port", - index: 3 + [_Enum__name]: "port", + [_Enum_index]: 3 }); }, - get C133() { - return C[133] = dart.const({ + get C142() { + return C[142] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.socketType", - index: 4 + [_Enum__name]: "socketType", + [_Enum_index]: 4 }); }, - get C134() { - return C[134] = dart.const({ + get C143() { + return C[143] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.readBytes", - index: 5 + [_Enum__name]: "readBytes", + [_Enum_index]: 5 }); }, - get C135() { - return C[135] = dart.const({ + get C144() { + return C[144] = dart.const({ __proto__: io._SocketProfileType.prototype, - [_name$4]: "_SocketProfileType.writeBytes", - index: 6 + [_Enum__name]: "writeBytes", + [_Enum_index]: 6 }); }, - get C136() { - return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + get C145() { + return C[145] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141, C[142] || CT.C142, C[143] || CT.C143, C[144] || CT.C144], T$0._SocketProfileTypeL()); }, - get C138() { - return C[138] = dart.const({ + get C147() { + return C[147] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 0 }); }, - get C139() { - return C[139] = dart.const({ + get C148() { + return C[148] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 1 }); }, - get C140() { - return C[140] = dart.const({ + get C149() { + return C[149] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 2 }); }, - get C141() { - return C[141] = dart.const({ + get C150() { + return C[150] = dart.const({ __proto__: io.ProcessStartMode.prototype, [_mode$0]: 3 }); }, - get C137() { - return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + get C146() { + return C[146] = dart.constList([C[147] || CT.C147, C[148] || CT.C148, C[149] || CT.C149, C[150] || CT.C150], T$0.ProcessStartModeL()); }, - get C142() { - return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + get C151() { + return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); }, - get C143() { - return C[143] = dart.const({ + get C152() { + return C[152] = dart.const({ __proto__: io.SystemEncoding.prototype }); }, - get C144() { - return C[144] = dart.const({ + get C153() { + return C[153] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTERM", [ProcessSignal__signalNumber]: 15 }); }, - get C145() { - return C[145] = dart.const({ + get C154() { + return C[154] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGHUP", [ProcessSignal__signalNumber]: 1 }); }, - get C146() { - return C[146] = dart.const({ + get C155() { + return C[155] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGINT", [ProcessSignal__signalNumber]: 2 }); }, - get C147() { - return C[147] = dart.const({ + get C156() { + return C[156] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGQUIT", [ProcessSignal__signalNumber]: 3 }); }, - get C148() { - return C[148] = dart.const({ + get C157() { + return C[157] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGILL", [ProcessSignal__signalNumber]: 4 }); }, - get C149() { - return C[149] = dart.const({ + get C158() { + return C[158] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTRAP", [ProcessSignal__signalNumber]: 5 }); }, - get C150() { - return C[150] = dart.const({ + get C159() { + return C[159] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGABRT", [ProcessSignal__signalNumber]: 6 }); }, - get C151() { - return C[151] = dart.const({ + get C160() { + return C[160] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGBUS", [ProcessSignal__signalNumber]: 7 }); }, - get C152() { - return C[152] = dart.const({ + get C161() { + return C[161] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGFPE", [ProcessSignal__signalNumber]: 8 }); }, - get C153() { - return C[153] = dart.const({ + get C162() { + return C[162] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGKILL", [ProcessSignal__signalNumber]: 9 }); }, - get C154() { - return C[154] = dart.const({ + get C163() { + return C[163] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR1", [ProcessSignal__signalNumber]: 10 }); }, - get C155() { - return C[155] = dart.const({ + get C164() { + return C[164] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSEGV", [ProcessSignal__signalNumber]: 11 }); }, - get C156() { - return C[156] = dart.const({ + get C165() { + return C[165] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGUSR2", [ProcessSignal__signalNumber]: 12 }); }, - get C157() { - return C[157] = dart.const({ + get C166() { + return C[166] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPIPE", [ProcessSignal__signalNumber]: 13 }); }, - get C158() { - return C[158] = dart.const({ + get C167() { + return C[167] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGALRM", [ProcessSignal__signalNumber]: 14 }); }, - get C159() { - return C[159] = dart.const({ + get C168() { + return C[168] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCHLD", [ProcessSignal__signalNumber]: 17 }); }, - get C160() { - return C[160] = dart.const({ + get C169() { + return C[169] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGCONT", [ProcessSignal__signalNumber]: 18 }); }, - get C161() { - return C[161] = dart.const({ + get C170() { + return C[170] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSTOP", [ProcessSignal__signalNumber]: 19 }); }, - get C162() { - return C[162] = dart.const({ + get C171() { + return C[171] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTSTP", [ProcessSignal__signalNumber]: 20 }); }, - get C163() { - return C[163] = dart.const({ + get C172() { + return C[172] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTIN", [ProcessSignal__signalNumber]: 21 }); }, - get C164() { - return C[164] = dart.const({ + get C173() { + return C[173] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGTTOU", [ProcessSignal__signalNumber]: 22 }); }, - get C165() { - return C[165] = dart.const({ + get C174() { + return C[174] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGURG", [ProcessSignal__signalNumber]: 23 }); }, - get C166() { - return C[166] = dart.const({ + get C175() { + return C[175] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXCPU", [ProcessSignal__signalNumber]: 24 }); }, - get C167() { - return C[167] = dart.const({ + get C176() { + return C[176] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGXFSZ", [ProcessSignal__signalNumber]: 25 }); }, - get C168() { - return C[168] = dart.const({ + get C177() { + return C[177] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGVTALRM", [ProcessSignal__signalNumber]: 26 }); }, - get C169() { - return C[169] = dart.const({ + get C178() { + return C[178] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPROF", [ProcessSignal__signalNumber]: 27 }); }, - get C170() { - return C[170] = dart.const({ + get C179() { + return C[179] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGWINCH", [ProcessSignal__signalNumber]: 28 }); }, - get C171() { - return C[171] = dart.const({ + get C180() { + return C[180] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGPOLL", [ProcessSignal__signalNumber]: 29 }); }, - get C172() { - return C[172] = dart.const({ + get C181() { + return C[181] = dart.const({ __proto__: io.ProcessSignal.prototype, [ProcessSignal__name]: "SIGSYS", [ProcessSignal__signalNumber]: 31 }); }, - get C173() { - return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + get C182() { + return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); }, - get C174() { - return C[174] = dart.const({ + get C183() { + return C[183] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 0 }); }, - get C175() { - return C[175] = dart.const({ + get C184() { + return C[184] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 1 }); }, - get C176() { - return C[176] = dart.const({ + get C185() { + return C[185] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 2 }); }, - get C177() { - return C[177] = dart.const({ + get C186() { + return C[186] = dart.const({ __proto__: io.RawSocketEvent.prototype, [_value$]: 3 }); }, - get C178() { - return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + get C187() { + return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); }, - get C179() { - return C[179] = dart.const({ + get C188() { + return C[188] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 0 }); }, - get C180() { - return C[180] = dart.const({ + get C189() { + return C[189] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 1 }); }, - get C181() { - return C[181] = dart.const({ + get C190() { + return C[190] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: 2 }); }, - get C182() { - return C[182] = dart.const({ + get C191() { + return C[191] = dart.const({ __proto__: io.InternetAddressType.prototype, [_value$1]: -1 }); }, - get C183() { - return C[183] = dart.const({ + get C192() { + return C[192] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 0 }); }, - get C184() { - return C[184] = dart.const({ + get C193() { + return C[193] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 1 }); }, - get C185() { - return C[185] = dart.const({ + get C194() { + return C[194] = dart.const({ __proto__: io.SocketDirection.prototype, [_value$2]: 2 }); }, - get C186() { - return C[186] = dart.const({ + get C195() { + return C[195] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 0 }); }, - get C187() { - return C[187] = dart.const({ + get C196() { + return C[196] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 1 }); }, - get C188() { - return C[188] = dart.const({ + get C197() { + return C[197] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 2 }); }, - get C189() { - return C[189] = dart.const({ + get C198() { + return C[198] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 3 }); }, - get C190() { - return C[190] = dart.const({ + get C199() { + return C[199] = dart.const({ __proto__: io.SocketOption.prototype, [_value$3]: 4 }); }, - get C191() { - return C[191] = dart.const({ + get C201() { + return C[201] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.SOL_SOCKET", - index: 0 + [_Enum__name]: "SOL_SOCKET", + [_Enum_index]: 0 }); }, - get C192() { - return C[192] = dart.const({ + get C202() { + return C[202] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IP", - index: 1 + [_Enum__name]: "IPPROTO_IP", + [_Enum_index]: 1 }); }, - get C193() { - return C[193] = dart.const({ + get C203() { + return C[203] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", - index: 2 + [_Enum__name]: "IP_MULTICAST_IF", + [_Enum_index]: 2 }); }, - get C194() { - return C[194] = dart.const({ + get C204() { + return C[204] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", - index: 3 + [_Enum__name]: "IPPROTO_IPV6", + [_Enum_index]: 3 }); }, - get C195() { - return C[195] = dart.const({ + get C205() { + return C[205] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", - index: 4 + [_Enum__name]: "IPV6_MULTICAST_IF", + [_Enum_index]: 4 }); }, - get C196() { - return C[196] = dart.const({ + get C206() { + return C[206] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_TCP", - index: 5 + [_Enum__name]: "IPPROTO_TCP", + [_Enum_index]: 5 }); }, - get C197() { - return C[197] = dart.const({ + get C207() { + return C[207] = dart.const({ __proto__: io._RawSocketOptions.prototype, - [_name$4]: "_RawSocketOptions.IPPROTO_UDP", - index: 6 + [_Enum__name]: "IPPROTO_UDP", + [_Enum_index]: 6 }); }, - get C198() { - return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + get C200() { + return C[200] = dart.constList([C[201] || CT.C201, C[202] || CT.C202, C[203] || CT.C203, C[204] || CT.C204, C[205] || CT.C205, C[206] || CT.C206, C[207] || CT.C207], T$0._RawSocketOptionsL()); }, - get C199() { - return C[199] = dart.const({ + get C208() { + return C[208] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "terminal" }); }, - get C200() { - return C[200] = dart.const({ + get C209() { + return C[209] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "pipe" }); }, - get C201() { - return C[201] = dart.const({ + get C210() { + return C[210] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "file" }); }, - get C202() { - return C[202] = dart.const({ + get C211() { + return C[211] = dart.const({ __proto__: io.StdioType.prototype, [name$11]: "other" }); }, - get C203() { - return C[203] = dart.const({ + get C212() { + return C[212] = dart.const({ __proto__: io._WindowsCodePageEncoder.prototype }); }, - get C204() { - return C[204] = dart.const({ + get C213() { + return C[213] = dart.const({ __proto__: io._WindowsCodePageDecoder.prototype }); }, - get C205() { - return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + get C214() { + return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); }, - get C206() { - return C[206] = dart.const({ + get C215() { + return C[215] = dart.const({ __proto__: io.ZLibCodec.prototype, [dictionary$]: null, [raw$]: false, @@ -8703,8 +9427,8 @@ dart.defineLazy(CT, { [gzip$]: false }); }, - get C207() { - return C[207] = dart.const({ + get C216() { + return C[216] = dart.const({ __proto__: io.GZipCodec.prototype, [raw$0]: false, [dictionary$0]: null, @@ -8715,1394 +9439,1406 @@ dart.defineLazy(CT, { [gzip$0]: true }); }, - get C208() { - return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + get C217() { + return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); }, - get C209() { - return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + get C218() { + return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); }, - get C210() { - return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + get C219() { + return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); }, - get C211() { - return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + get C220() { + return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); }, - get C212() { - return C[212] = dart.const({ + get C221() { + return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C222() { + return C[222] = dart.const({ __proto__: math._JSRandom.prototype }); }, - get C213() { - return C[213] = dart.const({ + get C223() { + return C[223] = dart.const({ __proto__: typed_data.Endian.prototype, [Endian__littleEndian]: true }); }, - get C214() { - return C[214] = dart.const({ + get C224() { + return C[224] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "abort" }); }, - get C215() { - return C[215] = dart.const({ + get C225() { + return C[225] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "close" }); }, - get C216() { - return C[216] = dart.const({ + get C226() { + return C[226] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "error" }); }, - get C217() { - return C[217] = dart.const({ + get C227() { + return C[227] = dart.const({ __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, [S.EventStreamProvider__eventType]: "versionchange" }); }, - get C218() { - return C[218] = dart.const({ + get C228() { + return C[228] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "success" }); }, - get C219() { - return C[219] = dart.const({ + get C229() { + return C[229] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, [S.EventStreamProvider__eventType]: "blocked" }); }, - get C220() { - return C[220] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C221() { - return C[221] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C222() { - return C[222] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "JSExtendableArray|=Object|num|String" - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C224() { - return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); - }, - get C226() { - return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 - }); - }, - get C228() { - return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 - }); - }, - get C229() { - return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); - }, get C230() { return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" }); }, get C231() { return C[231] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" + [S.EventStreamProvider__eventType]: "complete" }); }, get C232() { return C[232] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" + __proto__: _js_helper.Creates.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" }); }, get C233() { return C[233] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" + __proto__: _js_helper.Returns.prototype, + [types$2]: "JSExtendableArray|=Object|num|String" }); }, get C234() { - return C[234] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); + return C[234] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C236() { + return C[236] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); }, get C235() { return C[235] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 }); }, - get C236() { - return C[236] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); + get C238() { + return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); }, get C237() { return C[237] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C238() { - return C[238] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 }); }, get C239() { - return C[239] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); + return C[239] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); }, get C240() { return C[240] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" }); }, get C241() { return C[241] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" + [S.EventStreamProvider__eventType]: "beforecut" }); }, get C242() { return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" }); }, get C243() { return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" }); }, get C244() { return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" }); }, get C245() { return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" }); }, get C246() { return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" }); }, get C247() { return C[247] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" + [S.EventStreamProvider__eventType]: "click" }); }, get C248() { return C[248] = dart.const({ __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" + [S.EventStreamProvider__eventType]: "contextmenu" }); }, get C249() { return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" }); }, get C250() { return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" }); }, get C251() { return C[251] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" + [S.EventStreamProvider__eventType]: "dblclick" }); }, get C252() { return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" }); }, get C253() { return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" }); }, get C254() { return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" }); }, get C255() { return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" }); }, get C256() { return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" }); }, get C257() { return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" }); }, get C258() { return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" }); }, get C259() { return C[259] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" + [S.EventStreamProvider__eventType]: "durationchange" }); }, get C260() { return C[260] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" + [S.EventStreamProvider__eventType]: "emptied" }); }, get C261() { return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" }); }, get C262() { return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" }); }, get C263() { return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" }); }, get C264() { return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" }); }, get C265() { return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" }); }, get C266() { return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" }); }, get C267() { return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" }); }, get C268() { return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" }); }, get C269() { return C[269] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" + [S.EventStreamProvider__eventType]: "loadeddata" }); }, get C270() { return C[270] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" + [S.EventStreamProvider__eventType]: "loadedmetadata" }); }, get C271() { return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" }); }, get C272() { return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" }); }, get C273() { return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" }); }, get C274() { return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" }); }, get C275() { return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" }); }, get C276() { return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" }); }, get C277() { return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" }); }, get C278() { return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" }); }, get C279() { return C[279] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" + [S.EventStreamProvider__eventType]: "pause" }); }, get C280() { return C[280] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" + [S.EventStreamProvider__eventType]: "play" }); }, get C281() { return C[281] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" + [S.EventStreamProvider__eventType]: "playing" }); }, get C282() { return C[282] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" + [S.EventStreamProvider__eventType]: "ratechange" }); }, get C283() { return C[283] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" + [S.EventStreamProvider__eventType]: "reset" }); }, get C284() { return C[284] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" + [S.EventStreamProvider__eventType]: "resize" }); }, get C285() { return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" }); }, get C286() { return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" }); }, get C287() { return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" }); }, get C288() { return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" }); }, get C289() { return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" }); }, get C290() { return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" }); }, get C291() { return C[291] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" + [S.EventStreamProvider__eventType]: "stalled" }); }, get C292() { return C[292] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" + [S.EventStreamProvider__eventType]: "submit" }); }, get C293() { return C[293] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + [S.EventStreamProvider__eventType]: "suspend" }); }, get C294() { return C[294] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + [S.EventStreamProvider__eventType]: "timeupdate" }); }, get C295() { return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" }); }, get C296() { return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" }); }, get C297() { return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" }); }, get C298() { return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" }); }, get C299() { return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" }); }, get C300() { return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" }); }, get C301() { return C[301] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + [S.EventStreamProvider__eventType]: "volumechange" }); }, get C302() { return C[302] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" + [S.EventStreamProvider__eventType]: "waiting" }); }, get C303() { return C[303] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" }); }, get C304() { return C[304] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" }); }, get C305() { return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" }); }, get C306() { return C[306] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" + [S.EventStreamProvider__eventType]: "accessibleclick" }); }, get C307() { return C[307] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" }); }, get C308() { return C[308] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" + [S.EventStreamProvider__eventType]: "accessibledecrement" }); }, get C309() { return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" }); }, get C310() { return C[310] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" + [S.EventStreamProvider__eventType]: "accessibleincrement" }); }, get C311() { return C[311] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" }); }, get C312() { return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" }); }, get C313() { return C[313] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" + [S.EventStreamProvider__eventType]: "finish" }); }, get C314() { return C[314] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" + [S.EventStreamProvider__eventType]: "cached" }); }, get C315() { return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" }); }, get C316() { return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" }); }, get C317() { return C[317] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" + [S.EventStreamProvider__eventType]: "noupdate" }); }, get C318() { return C[318] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" + [S.EventStreamProvider__eventType]: "obsolete" }); }, get C319() { return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" }); }, get C320() { return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" }); }, get C321() { return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" }); }, get C322() { return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" }); }, get C323() { return C[323] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" + [S.EventStreamProvider__eventType]: "offline" }); }, get C324() { return C[324] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" + [S.EventStreamProvider__eventType]: "online" }); }, get C325() { return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" }); }, get C326() { return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" }); }, get C327() { return C[327] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" }); }, get C328() { return C[328] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" }); }, get C329() { return C[329] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" }); }, get C330() { return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" }); }, get C331() { return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" }); }, get C332() { return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" }); }, get C333() { return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "load" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" }); }, get C334() { return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadend" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" }); }, get C335() { return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" }); }, get C336() { return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" }); }, get C337() { return C[337] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" }); }, get C338() { return C[338] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" }); }, get C339() { return C[339] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" }); }, get C340() { return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" }); }, get C341() { return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" }); }, get C342() { return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "mousewheel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, - get C344() { - return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); - }, get C343() { return C[343] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C344() { + return C[344] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" }); }, get C345() { return C[345] = dart.const({ __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" + [S.EventStreamProvider__eventType]: "loadstart" }); }, get C346() { return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" }); }, get C347() { return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" }); }, get C348() { - return C[348] = dart.constList([], T$0.MessagePortL()); + return C[348] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); }, get C349() { return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" }); }, get C350() { - return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + return C[350] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); }, get C351() { return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" }); }, get C352() { return C[352] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" }); }, + get C354() { + return C[354] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, get C353() { return C[353] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C354() { - return C[354] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 }); }, get C355() { return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" }); }, get C356() { return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C357() { return C[357] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + [S.EventStreamProvider__eventType]: "removetrack" }); }, get C358() { - return C[358] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); + return C[358] = dart.constList([], T$0.MessagePortL()); }, get C359() { return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" }); }, get C360() { - return C[360] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); + return C[360] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); }, get C361() { return C[361] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" }); }, get C362() { return C[362] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" + [S.EventStreamProvider__eventType]: "show" }); }, get C363() { return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" }); }, get C364() { return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" }); }, get C365() { return C[365] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" + [S.EventStreamProvider__eventType]: "connectionstatechange" }); }, get C366() { return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" }); }, get C367() { return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" }); }, get C368() { return C[368] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" }); }, get C369() { return C[369] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + [S.EventStreamProvider__eventType]: "negotiationneeded" }); }, get C370() { return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" }); }, get C371() { return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" }); }, get C372() { return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" }); }, get C373() { return C[373] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" + [S.EventStreamProvider__eventType]: "activate" }); }, get C374() { return C[374] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" + [S.EventStreamProvider__eventType]: "fetch" }); }, get C375() { return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" }); }, get C376() { return C[376] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" + [S.EventStreamProvider__eventType]: "install" }); }, get C377() { return C[377] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + [S.EventStreamProvider__eventType]: "connect" }); }, get C378() { return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" }); }, get C379() { return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" }); }, get C380() { return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C381() { return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" }); }, get C382() { return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" }); }, get C383() { return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" }); }, get C384() { return C[384] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" + [S.EventStreamProvider__eventType]: "soundend" }); }, get C385() { return C[385] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" + [S.EventStreamProvider__eventType]: "soundstart" }); }, get C386() { return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" }); }, get C387() { return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" }); }, get C388() { return C[388] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" + [S.EventStreamProvider__eventType]: "start" }); }, get C389() { return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" }); }, get C390() { return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" }); }, get C391() { return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" }); }, get C392() { return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" }); }, get C393() { return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" }); }, get C394() { return C[394] = dart.const({ __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" + [S.EventStreamProvider__eventType]: "cuechange" }); }, get C395() { return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" }); }, get C396() { return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" }); }, get C397() { return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" }); }, get C398() { return C[398] = dart.const({ - __proto__: html$._BeforeUnloadEventStreamProvider.prototype, - [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" }); }, get C399() { - return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[399] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); }, get C400() { - return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + return C[400] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); }, get C401() { - return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + return C[401] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); }, get C402() { - return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + return C[402] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); }, get C403() { - return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + return C[403] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); }, get C404() { - return C[404] = dart.constList([], T$.StringL()); + return C[404] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); }, get C405() { - return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + return C[405] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); }, get C406() { - return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + return C[406] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); }, get C407() { - return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + return C[407] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); }, get C408() { - return C[408] = dart.constList(["IMG"], T$.StringL()); + return C[408] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); }, get C409() { - return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + return C[409] = dart.const({ + __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, + [S.EventStreamProvider__eventType]: "beforeunload" + }); }, get C410() { - return C[410] = dart.constList(["IMG::src"], T$.StringL()); + return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C411() { - return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); }, get C412() { - return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + return C[412] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); }, get C413() { - return C[413] = dart.const({ - __proto__: html$.Console.prototype - }); + return C[413] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); }, get C414() { - return C[414] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); + return C[414] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); }, get C415() { - return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + return C[415] = dart.constList([], T$.StringL()); }, get C416() { - return C[416] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[416] = dart.constList(["A", "FORM"], T$.StringL()); }, get C417() { - return C[417] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); + return C[417] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); }, get C418() { - return C[418] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); + return C[418] = dart.constList(["A::href", "FORM::action"], T$.StringL()); }, get C419() { - return C[419] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); + return C[419] = dart.constList(["IMG"], T$.StringL()); }, get C420() { - return C[420] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); + return C[420] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); }, get C421() { - return C[421] = dart.constList([], T$.ObjectN()); + return C[421] = dart.constList(["IMG::src"], T$.StringL()); }, get C422() { - return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + return C[422] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); }, get C423() { - return C[423] = dart.constList([], T$.ObjectL()); + return C[423] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); }, get C424() { - return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + return C[424] = dart.const({ + __proto__: html$.Console.prototype + }); }, get C425() { - return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + return C[425] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); }, get C426() { - return C[426] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); + return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); }, get C427() { - return C[427] = dart.const(new _internal.Symbol.new('unary-')); + return C[427] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C428() { - return C[428] = dart.const(new _internal.Symbol.new('')); + return C[428] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); }, get C429() { - return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + return C[429] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); }, get C430() { - return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + return C[430] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); }, get C431() { - return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + return C[431] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); }, get C432() { - return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + return C[432] = dart.constList([], T$.ObjectN()); }, get C433() { - return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); }, get C434() { - return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + return C[434] = dart.constList([], T$.ObjectL()); }, get C435() { - return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); }, get C436() { - return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); }, get C437() { - return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + return C[437] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); }, get C438() { - return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + return C[438] = dart.const(new _internal.Symbol.new('unary-')); }, get C439() { - return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + return C[439] = dart.const(new _internal.Symbol.new('')); }, get C440() { - return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); }, get C441() { - return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); }, get C442() { - return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); }, get C443() { - return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); }, get C444() { - return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C445() { - return C[445] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); + return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); }, get C446() { - return C[446] = dart.const({ - __proto__: core._Override.prototype - }); + return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C447() { - return C[447] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); + return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); }, get C448() { - return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); }, get C449() { - return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); }, get C450() { - return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); }, get C451() { - return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C452() { - return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); }, get C453() { - return C[453] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); + return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); }, get C454() { - return C[454] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.notCompressed", - index: 0 - }); + return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); }, get C455() { - return C[455] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.decompressed", - index: 1 - }); + return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); }, get C456() { - return C[456] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_name$7]: "HttpClientResponseCompressionState.compressed", - index: 2 - }); + return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C457() { - return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); }, get C458() { - return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + return C[458] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); }, get C459() { - return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + return C[459] = dart.const({ + __proto__: core._Override.prototype + }); }, get C460() { - return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + return C[460] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); }, get C461() { - return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + return C[461] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); }, get C462() { - return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + return C[462] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); }, get C463() { - return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + return C[463] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); }, get C464() { - return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + return C[464] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); }, get C465() { - return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + return C[465] = dart.constMap(T$.StringL(), T$.StringN(), []); }, get C466() { return C[466] = dart.const({ - __proto__: _http._ToUint8List.prototype + __proto__: core.Duration.prototype, + [_duration$]: 15000000 }); }, - get C467() { - return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); - }, get C468() { - return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + return C[468] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "notCompressed", + [_Enum_index]: 0 + }); }, get C469() { - return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + return C[469] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "decompressed", + [_Enum_index]: 1 + }); }, get C470() { - return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + return C[470] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_Enum__name]: "compressed", + [_Enum_index]: 2 + }); + }, + get C467() { + return C[467] = dart.constList([C[468] || CT.C468, C[469] || CT.C469, C[470] || CT.C470], T$0.HttpClientResponseCompressionStateL()); }, get C471() { - return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + return C[471] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); }, get C472() { - return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + return C[472] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); }, get C473() { - return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + return C[473] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); }, get C474() { - return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + return C[474] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C475() { + return C[475] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C476() { + return C[476] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); }, get C477() { - return C[477] = dart.const({ + return C[477] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C479() { + return C[479] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C480() { + return C[480] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C481() { + return C[481] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C482() { + return C[482] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C483() { + return C[483] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C486() { + return C[486] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T$1.Uri__ToString()); + }, + get C489() { + return C[489] = dart.const({ __proto__: _http._Proxy.prototype, [_Proxy_isDirect]: true, [_Proxy_password]: null, @@ -10111,50 +10847,56 @@ dart.defineLazy(CT, { [_Proxy_host]: null }); }, - get C476() { - return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + get C488() { + return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); }, - get C475() { - return C[475] = dart.const({ + get C487() { + return C[487] = dart.const({ __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[476] || CT.C476 + [_ProxyConfiguration_proxies]: C[488] || CT.C488 }); }, - get C478() { - return C[478] = dart.const({ + get C490() { + return C[490] = dart.constList(["authorization", "www-authenticate", "cookie", "cookie2"], T$.StringL()); + }, + get C491() { + return C[491] = dart.const(new _js_helper.PrivateSymbol.new('_detachRaw', _detachRaw$)); + }, + get C492() { + return C[492] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: -1 }); }, - get C479() { - return C[479] = dart.const({ + get C493() { + return C[493] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 0 }); }, - get C480() { - return C[480] = dart.const({ + get C494() { + return C[494] = dart.const({ __proto__: _http._AuthenticationScheme.prototype, [_scheme$]: 1 }); }, - get C481() { - return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + get C495() { + return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); }, - get C482() { - return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + get C496() { + return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); }, - get C483() { - return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + get C497() { + return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); }, - get C484() { - return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + get C498() { + return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); }, - get C485() { - return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + get C499() { + return C[499] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); }, - get C486() { - return C[486] = dart.const({ + get C500() { + return C[500] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: true, [serverMaxWindowBits$]: null, @@ -10163,8 +10905,8 @@ dart.defineLazy(CT, { [clientNoContextTakeover$]: false }); }, - get C487() { - return C[487] = dart.const({ + get C501() { + return C[501] = dart.const({ __proto__: _http.CompressionOptions.prototype, [enabled$]: false, [serverMaxWindowBits$]: null, @@ -10173,11 +10915,11 @@ dart.defineLazy(CT, { [clientNoContextTakeover$]: false }); }, - get C488() { - return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + get C502() { + return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); }, - get C489() { - return C[489] = dart.const({ + get C503() { + return C[503] = dart.const({ __proto__: core.Duration.prototype, [_duration$]: 5000000 }); @@ -10185,15 +10927,31 @@ dart.defineLazy(CT, { }, false); core.Invocation = class Invocation extends core.Object { static method(memberName, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); } + static ['_#method#tearOff'](memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 21, 18, "memberName"); + return core.Invocation.method(memberName, positionalArguments, namedArguments); + } static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { - if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); } + static ['_#genericMethod#tearOff'](memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[11], 33, 43, "memberName"); + return core.Invocation.genericMethod(memberName, typeArguments, positionalArguments, namedArguments); + } + static ['_#getter#tearOff'](name) { + if (name == null) dart.nullFailed(I[11], 41, 36, "name"); + return new core._Invocation.getter(name); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 52, 36, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get typeArguments() { - return C[0] || CT.C0; + return C[1] || CT.C1; } get isAccessor() { return dart.test(this.isGetter) || dart.test(this.isSetter); @@ -10204,12 +10962,14 @@ core.Invocation = class Invocation extends core.Object { }).prototype = core.Invocation.prototype; dart.addTypeTests(core.Invocation); dart.addTypeCaches(core.Invocation); +dart.setStaticMethodSignature(core.Invocation, () => ['method', 'genericMethod', 'getter', 'setter']); dart.setGetterSignature(core.Invocation, () => ({ __proto__: dart.getGetters(core.Invocation.__proto__), typeArguments: core.List$(core.Type), isAccessor: core.bool })); -dart.setLibraryUri(core.Invocation, I[8]); +dart.setLibraryUri(core.Invocation, I[9]); +dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); dart.InvocationImpl = class InvocationImpl extends core.Invocation { get memberName() { return this[memberName$]; @@ -10259,6 +11019,21 @@ dart.InvocationImpl = class InvocationImpl extends core.Invocation { set failureMessage(value) { super.failureMessage = value; } + static ['_#new#tearOff'](memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + return new dart.InvocationImpl.new(memberName, positionalArguments, {namedArguments: namedArguments, typeArguments: typeArguments, isMethod: isMethod, isGetter: isGetter, isSetter: isSetter, failureMessage: failureMessage}); + } static _namedArgsToSymbols(namedArgs) { if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { @@ -10293,7 +11068,8 @@ dart.InvocationImpl = class InvocationImpl extends core.Invocation { }).prototype = dart.InvocationImpl.prototype; dart.addTypeTests(dart.InvocationImpl); dart.addTypeCaches(dart.InvocationImpl); -dart.setLibraryUri(dart.InvocationImpl, I[9]); +dart.setStaticMethodSignature(dart.InvocationImpl, () => ['_namedArgsToSymbols']); +dart.setLibraryUri(dart.InvocationImpl, I[10]); dart.setFieldSignature(dart.InvocationImpl, () => ({ __proto__: dart.getFields(dart.InvocationImpl.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -10305,6 +11081,14 @@ dart.setFieldSignature(dart.InvocationImpl, () => ({ isSetter: dart.finalFieldType(core.bool), failureMessage: dart.finalFieldType(core.String) })); +dart.copyProperties(_dart2js_runtime_metrics, { + get runtimeMetrics() { + return dart.throw(new core.UnimplementedError.new()); + }, + get startupMetrics() { + return dart.throw(new core.UnimplementedError.new()); + } +}); var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { get name() { @@ -10313,41 +11097,46 @@ _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); + return new _debugger.JsonMLConfig.new(name); + } toString() { return "JsonMLConfig(" + dart.str(this.name) + ")"; } }; (_debugger.JsonMLConfig.new = function(name) { - if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + if (name == null) dart.nullFailed(I[12], 28, 27, "name"); this[name$0] = name; ; }).prototype = _debugger.JsonMLConfig.prototype; dart.addTypeTests(_debugger.JsonMLConfig); dart.addTypeCaches(_debugger.JsonMLConfig); -dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); +dart.setLibraryUri(_debugger.JsonMLConfig, I[13]); dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), name: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(_debugger.JsonMLConfig, () => ['none', 'skipDart', 'keyToString', 'asClass', 'asObject', 'asMap']); dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); dart.defineLazy(_debugger.JsonMLConfig, { /*_debugger.JsonMLConfig.none*/get none() { - return C[1] || CT.C1; + return C[2] || CT.C2; }, /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[2] || CT.C2; + return C[3] || CT.C3; }, /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[3] || CT.C3; + return C[4] || CT.C4; }, /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[4] || CT.C4; + return C[5] || CT.C5; }, /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[5] || CT.C5; + return C[6] || CT.C6; }, /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[6] || CT.C6; + return C[7] || CT.C7; } }, false); _debugger.JSNative = class JSNative extends core.Object { @@ -10357,13 +11146,17 @@ _debugger.JSNative = class JSNative extends core.Object { static setProperty(object, name, value) { return object[name] = value; } + static ['_#new#tearOff']() { + return new _debugger.JSNative.new(); + } }; (_debugger.JSNative.new = function() { ; }).prototype = _debugger.JSNative.prototype; dart.addTypeTests(_debugger.JSNative); dart.addTypeCaches(_debugger.JSNative); -dart.setLibraryUri(_debugger.JSNative, I[12]); +dart.setStaticMethodSignature(_debugger.JSNative, () => ['getProperty', 'setProperty']); +dart.setLibraryUri(_debugger.JSNative, I[13]); var name$1 = dart.privateName(_debugger, "NameValuePair.name"); var value$ = dart.privateName(_debugger, "NameValuePair.value"); var config$ = dart.privateName(_debugger, "NameValuePair.config"); @@ -10393,6 +11186,16 @@ _debugger.NameValuePair = class NameValuePair extends core.Object { set hideName(value) { super.hideName = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); + return new _debugger.NameValuePair.new({name: name, value: value, config: config, hideName: hideName}); + } _equals(other) { if (other == null) return false; if (!_debugger.NameValuePair.is(other)) return false; @@ -10408,12 +11211,12 @@ _debugger.NameValuePair = class NameValuePair extends core.Object { }; (_debugger.NameValuePair.new = function(opts) { let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + if (name == null) dart.nullFailed(I[12], 172, 13, "name"); let value = opts && 'value' in opts ? opts.value : null; - let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; - if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let config = opts && 'config' in opts ? opts.config : C[2] || CT.C2; + if (config == null) dart.nullFailed(I[12], 174, 12, "config"); let hideName = opts && 'hideName' in opts ? opts.hideName : false; - if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + if (hideName == null) dart.nullFailed(I[12], 175, 12, "hideName"); this[name$1] = name; this[value$] = value; this[config$] = config; @@ -10426,7 +11229,7 @@ dart.setGetterSignature(_debugger.NameValuePair, () => ({ __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), displayName: core.String })); -dart.setLibraryUri(_debugger.NameValuePair, I[12]); +dart.setLibraryUri(_debugger.NameValuePair, I[13]); dart.setFieldSignature(_debugger.NameValuePair, () => ({ __proto__: dart.getFields(_debugger.NameValuePair.__proto__), name: dart.finalFieldType(core.String), @@ -10451,6 +11254,11 @@ _debugger.MapEntry = class MapEntry extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return new _debugger.MapEntry.new({key: key, value: value}); + } }; (_debugger.MapEntry.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; @@ -10461,7 +11269,7 @@ _debugger.MapEntry = class MapEntry extends core.Object { }).prototype = _debugger.MapEntry.prototype; dart.addTypeTests(_debugger.MapEntry); dart.addTypeCaches(_debugger.MapEntry); -dart.setLibraryUri(_debugger.MapEntry, I[12]); +dart.setLibraryUri(_debugger.MapEntry, I[13]); dart.setFieldSignature(_debugger.MapEntry, () => ({ __proto__: dart.getFields(_debugger.MapEntry.__proto__), key: dart.finalFieldType(dart.nullable(core.Object)), @@ -10489,6 +11297,12 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { set iterable(value) { super.iterable = value; } + static ['_#new#tearOff'](start, end, iterable) { + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); + return new _debugger.IterableSpan.new(start, end, iterable); + } get length() { return dart.notNull(this.end) - dart.notNull(this.start); } @@ -10505,7 +11319,7 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { let children = T$.JSArrayOfNameValuePair().of([]); if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { this.asMap()[$forEach](dart.fn((i, element) => { - if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + if (i == null) dart.nullFailed(I[12], 225, 24, "i"); children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); }, T$.intAnddynamicTovoid())); } else { @@ -10522,9 +11336,9 @@ _debugger.IterableSpan = class IterableSpan extends core.Object { } }; (_debugger.IterableSpan.new = function(start, end, iterable) { - if (start == null) dart.nullFailed(I[11], 203, 21, "start"); - if (end == null) dart.nullFailed(I[11], 203, 33, "end"); - if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + if (start == null) dart.nullFailed(I[12], 203, 21, "start"); + if (end == null) dart.nullFailed(I[12], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[12], 203, 43, "iterable"); this[start$] = start; this[end$] = end; this[iterable$] = iterable; @@ -10543,7 +11357,7 @@ dart.setGetterSignature(_debugger.IterableSpan, () => ({ maxPowerOfSubsetSize: core.int, subsetSize: core.int })); -dart.setLibraryUri(_debugger.IterableSpan, I[12]); +dart.setLibraryUri(_debugger.IterableSpan, I[13]); dart.setFieldSignature(_debugger.IterableSpan, () => ({ __proto__: dart.getFields(_debugger.IterableSpan.__proto__), start: dart.finalFieldType(core.int), @@ -10565,17 +11379,22 @@ _debugger.Library = class Library extends core.Object { set object(value) { super.object = value; } + static ['_#new#tearOff'](name, object) { + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); + return new _debugger.Library.new(name, object); + } }; (_debugger.Library.new = function(name, object) { - if (name == null) dart.nullFailed(I[11], 248, 16, "name"); - if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + if (name == null) dart.nullFailed(I[12], 248, 16, "name"); + if (object == null) dart.nullFailed(I[12], 248, 27, "object"); this[name$2] = name; this[object$] = object; ; }).prototype = _debugger.Library.prototype; dart.addTypeTests(_debugger.Library); dart.addTypeCaches(_debugger.Library); -dart.setLibraryUri(_debugger.Library, I[12]); +dart.setLibraryUri(_debugger.Library, I[13]); dart.setFieldSignature(_debugger.Library, () => ({ __proto__: dart.getFields(_debugger.Library.__proto__), name: dart.finalFieldType(core.String), @@ -10589,21 +11408,25 @@ _debugger.NamedConstructor = class NamedConstructor extends core.Object { set object(value) { super.object = value; } + static ['_#new#tearOff'](object) { + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); + return new _debugger.NamedConstructor.new(object); + } }; (_debugger.NamedConstructor.new = function(object) { - if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + if (object == null) dart.nullFailed(I[12], 255, 25, "object"); this[object$0] = object; ; }).prototype = _debugger.NamedConstructor.prototype; dart.addTypeTests(_debugger.NamedConstructor); dart.addTypeCaches(_debugger.NamedConstructor); -dart.setLibraryUri(_debugger.NamedConstructor, I[12]); +dart.setLibraryUri(_debugger.NamedConstructor, I[13]); dart.setFieldSignature(_debugger.NamedConstructor, () => ({ __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), object: dart.finalFieldType(core.Object) })); var name$3 = dart.privateName(_debugger, "HeritageClause.name"); -var types$ = dart.privateName(_debugger, "HeritageClause.types"); +var types$0 = dart.privateName(_debugger, "HeritageClause.types"); _debugger.HeritageClause = class HeritageClause extends core.Object { get name() { return this[name$3]; @@ -10612,22 +11435,27 @@ _debugger.HeritageClause = class HeritageClause extends core.Object { super.name = value; } get types() { - return this[types$]; + return this[types$0]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](name, types) { + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); + return new _debugger.HeritageClause.new(name, types); + } }; (_debugger.HeritageClause.new = function(name, types) { - if (name == null) dart.nullFailed(I[11], 261, 23, "name"); - if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + if (name == null) dart.nullFailed(I[12], 261, 23, "name"); + if (types == null) dart.nullFailed(I[12], 261, 34, "types"); this[name$3] = name; - this[types$] = types; + this[types$0] = types; ; }).prototype = _debugger.HeritageClause.prototype; dart.addTypeTests(_debugger.HeritageClause); dart.addTypeCaches(_debugger.HeritageClause); -dart.setLibraryUri(_debugger.HeritageClause, I[12]); +dart.setLibraryUri(_debugger.HeritageClause, I[13]); dart.setFieldSignature(_debugger.HeritageClause, () => ({ __proto__: dart.getFields(_debugger.HeritageClause.__proto__), name: dart.finalFieldType(core.String), @@ -10639,50 +11467,53 @@ var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement var _jsonML = dart.privateName(_debugger, "_jsonML"); _debugger.JsonMLElement = class JsonMLElement extends core.Object { get [_jsonML]() { - let t8; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + let t4; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); } - set [_jsonML](t8) { - if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + set [_jsonML](_jsonML$35param) { + if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); this[__JsonMLElement__jsonML_isSet] = true; - this[__JsonMLElement__jsonML] = t8; + this[__JsonMLElement__jsonML] = _jsonML$35param; + } + static ['_#new#tearOff'](tagName) { + return new _debugger.JsonMLElement.new(tagName); } appendChild(element) { this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); } createChild(tagName) { - if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + if (tagName == null) dart.nullFailed(I[12], 296, 36, "tagName"); let c = new _debugger.JsonMLElement.new(tagName); this[_jsonML][$add](c.toJsonML()); return c; } createObjectTag(object) { - let t9; - t9 = this.createChild("object"); + let t4; + t4 = this.createChild("object"); return (() => { - t9.addAttribute("object", object); - return t9; + t4.addAttribute("object", object); + return t4; })(); } setStyle(style) { - if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + if (style == null) dart.nullFailed(I[12], 305, 24, "style"); dart.dput(this[_attributes], 'style', style); } addStyle(style) { - let t9; - if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + let t4; + if (style == null) dart.nullFailed(I[12], 309, 19, "style"); if (dart.dload(this[_attributes], 'style') == null) { dart.dput(this[_attributes], 'style', style); } else { - t9 = this[_attributes]; - dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + t4 = this[_attributes]; + dart.dput(t4, 'style', dart.dsend(dart.dload(t4, 'style'), '+', [style])); } } addAttribute(key, value) { _debugger.JSNative.setProperty(this[_attributes], key, value); } createTextChild(text) { - if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + if (text == null) dart.nullFailed(I[12], 321, 26, "text"); this[_jsonML][$add](text); } toJsonML() { @@ -10717,7 +11548,7 @@ dart.setSetterSignature(_debugger.JsonMLElement, () => ({ __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), [_jsonML]: core.List })); -dart.setLibraryUri(_debugger.JsonMLElement, I[12]); +dart.setLibraryUri(_debugger.JsonMLElement, I[13]); dart.setFieldSignature(_debugger.JsonMLElement, () => ({ __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), [_attributes]: dart.fieldType(dart.dynamic), @@ -10731,14 +11562,19 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { return this[customFormattersOn]; } set customFormattersOn(value) { + if (value == null) dart.nullFailed(I[12], 359, 8, "customFormattersOn"); this[customFormattersOn] = value; } + static ['_#new#tearOff'](_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); + return new _debugger.JsonMLFormatter.new(_simpleFormatter); + } setMaxSpanLengthForTestingOnly(spanLength) { - if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + if (spanLength == null) dart.nullFailed(I[12], 363, 43, "spanLength"); _debugger._maxSpanLength = spanLength; } header(object, config) { - let t9; + let t4; this.customFormattersOn = true; if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { return null; @@ -10748,10 +11584,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { c = dart.toString(object); } - let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { - t9.setStyle("background-color: #d9edf7;color: black"); - t9.createTextChild(c); - return t9; + let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { + t4.setStyle("background-color: #d9edf7;color: black"); + t4.createTextChild(c); + return t4; })()); return element.toJsonML(); } @@ -10759,10 +11595,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { return this[_simpleFormatter$].hasChildren(object, config); } body(object, config) { - let t9, t9$, t9$0, t9$1, t9$2; - let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { - t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); - return t9; + let t4, t4$, t4$0, t4$1, t4$2; + let body = (t4 = new _debugger.JsonMLElement.new("ol"), (() => { + t4.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t4; })()); if (core.StackTrace.is(object)) { body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); @@ -10775,22 +11611,22 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { let nameSpan = null; let valueStyle = ""; if (!dart.test(child.hideName)) { - nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { - t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); - t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); - return t9$; + nameSpan = (t4$ = new _debugger.JsonMLElement.new("span"), (() => { + t4$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t4$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t4$; })()); valueStyle = "margin-left: 13px"; } if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { - let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { - t9$0.setStyle(valueStyle); - return t9$0; + let valueSpan = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { + t4$0.setStyle(valueStyle); + return t4$0; })()); - t9$1 = valueSpan.createObjectTag(child.value); + t4$1 = valueSpan.createObjectTag(child.value); (() => { - t9$1.addAttribute("config", child.config); - return t9$1; + t4$1.addAttribute("config", child.config); + return t4$1; })(); if (nameSpan != null) { li.appendChild(nameSpan); @@ -10801,10 +11637,10 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { if (nameSpan != null) { line.appendChild(nameSpan); } - line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { - t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); - t9$2.setStyle(valueStyle); - return t9$2; + line.appendChild((t4$2 = new _debugger.JsonMLElement.new("span"), (() => { + t4$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t4$2.setStyle(valueStyle); + return t4$2; })())); } } @@ -10812,7 +11648,7 @@ _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { } }; (_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); this[customFormattersOn] = false; this[_simpleFormatter$] = _simpleFormatter; ; @@ -10826,7 +11662,7 @@ dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) })); -dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); +dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), @@ -10838,10 +11674,13 @@ _debugger.Formatter = class Formatter extends core.Object {}; }).prototype = _debugger.Formatter.prototype; dart.addTypeTests(_debugger.Formatter); dart.addTypeCaches(_debugger.Formatter); -dart.setLibraryUri(_debugger.Formatter, I[12]); +dart.setLibraryUri(_debugger.Formatter, I[13]); var _formatters = dart.privateName(_debugger, "_formatters"); var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); _debugger.DartFormatter = class DartFormatter extends core.Object { + static ['_#new#tearOff']() { + return new _debugger.DartFormatter.new(); + } preview(object, config) { try { if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { @@ -10894,7 +11733,7 @@ _debugger.DartFormatter = class DartFormatter extends core.Object { return T$.JSArrayOfNameValuePair().of([]); } [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + if (message == null) dart.nullFailed(I[12], 523, 34, "message"); return window.console.error(message); } }; @@ -10911,7 +11750,7 @@ dart.setMethodSignature(_debugger.DartFormatter, () => ({ children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), [_printConsoleError]: dart.fnType(dart.void, [core.String]) })); -dart.setLibraryUri(_debugger.DartFormatter, I[12]); +dart.setLibraryUri(_debugger.DartFormatter, I[13]); dart.setFieldSignature(_debugger.DartFormatter, () => ({ __proto__: dart.getFields(_debugger.DartFormatter.__proto__), [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) @@ -10955,6 +11794,9 @@ _debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { _debugger.addMetadataChildren(object, ret); return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ObjectFormatter.new(); + } }; (_debugger.ObjectFormatter.new = function() { ; @@ -10968,7 +11810,7 @@ dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); +dart.setLibraryUri(_debugger.ObjectFormatter, I[13]); _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { accept(object, config) { return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); @@ -10976,13 +11818,16 @@ _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _deb preview(object) { return _debugger.getObjectTypeName(object); } + static ['_#new#tearOff']() { + return new _debugger.ObjectInternalsFormatter.new(); + } }; (_debugger.ObjectInternalsFormatter.new = function() { ; }).prototype = _debugger.ObjectInternalsFormatter.prototype; dart.addTypeTests(_debugger.ObjectInternalsFormatter); dart.addTypeCaches(_debugger.ObjectInternalsFormatter); -dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); +dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[13]); _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { accept(object, config) { return dart.getModuleName(core.Object.as(object)) != null; @@ -11005,6 +11850,9 @@ _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Obj } return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.LibraryModuleFormatter.new(); + } }; (_debugger.LibraryModuleFormatter.new = function() { ; @@ -11019,13 +11867,14 @@ dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); +dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[13]); var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { get genericParameters() { return this[genericParameters]; } set genericParameters(value) { + if (value == null) dart.nullFailed(I[12], 619, 7, "genericParameters"); this[genericParameters] = value; } accept(object, config) { @@ -11047,11 +11896,14 @@ _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { return children[$toList](); } classChild(name, child) { - if (name == null) dart.nullFailed(I[11], 644, 21, "name"); - if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + if (name == null) dart.nullFailed(I[12], 644, 21, "name"); + if (child == null) dart.nullFailed(I[12], 644, 34, "child"); let typeName = _debugger.getTypeName(child); return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); } + static ['_#new#tearOff']() { + return new _debugger.LibraryFormatter.new(); + } }; (_debugger.LibraryFormatter.new = function() { this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); @@ -11068,7 +11920,7 @@ dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) })); -dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); +dart.setLibraryUri(_debugger.LibraryFormatter, I[13]); dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) @@ -11095,6 +11947,9 @@ _debugger.FunctionFormatter = class FunctionFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.FunctionFormatter.new(); + } }; (_debugger.FunctionFormatter.new = function() { ; @@ -11109,7 +11964,7 @@ dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); +dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { accept(object, config) { return core.Map.is(object); @@ -11132,6 +11987,9 @@ _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); } + static ['_#new#tearOff']() { + return new _debugger.MapOverviewFormatter.new(); + } }; (_debugger.MapOverviewFormatter.new = function() { ; @@ -11146,7 +12004,7 @@ dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); +dart.setLibraryUri(_debugger.MapOverviewFormatter, I[13]); _debugger.MapFormatter = class MapFormatter extends core.Object { accept(object, config) { return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); @@ -11176,6 +12034,9 @@ _debugger.MapFormatter = class MapFormatter extends core.Object { _debugger.addMetadataChildren(object, entries); return entries[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.MapFormatter.new(); + } }; (_debugger.MapFormatter.new = function() { ; @@ -11190,7 +12051,7 @@ dart.setMethodSignature(_debugger.MapFormatter, () => ({ preview: dart.fnType(core.String, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapFormatter, I[12]); +dart.setLibraryUri(_debugger.MapFormatter, I[13]); _debugger.IterableFormatter = class IterableFormatter extends core.Object { accept(object, config) { return core.Iterable.is(object); @@ -11217,6 +12078,9 @@ _debugger.IterableFormatter = class IterableFormatter extends core.Object { _debugger.addMetadataChildren(object, children); return children[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.IterableFormatter.new(); + } }; (_debugger.IterableFormatter.new = function() { ; @@ -11231,7 +12095,7 @@ dart.setMethodSignature(_debugger.IterableFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.IterableFormatter, I[12]); +dart.setLibraryUri(_debugger.IterableFormatter, I[13]); _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { accept(object, config) { return _debugger.NamedConstructor.is(object); @@ -11245,6 +12109,9 @@ _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends co children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); } + static ['_#new#tearOff']() { + return new _debugger.NamedConstructorFormatter.new(); + } }; (_debugger.NamedConstructorFormatter.new = function() { ; @@ -11259,7 +12126,7 @@ dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); +dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { accept(object, config) { return _debugger.MapEntry.is(object); @@ -11274,6 +12141,9 @@ _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); } + static ['_#new#tearOff']() { + return new _debugger.MapEntryFormatter.new(); + } }; (_debugger.MapEntryFormatter.new = function() { ; @@ -11288,14 +12158,14 @@ dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); +dart.setLibraryUri(_debugger.MapEntryFormatter, I[13]); _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { accept(object, config) { return _debugger.HeritageClause.is(object); } preview(object) { let clause = _debugger.HeritageClause.as(object); - let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + let typeNames = clause.types[$map](core.String, C[8] || CT.C8); return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); } hasChildren(object) { @@ -11309,6 +12179,9 @@ _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.O } return children; } + static ['_#new#tearOff']() { + return new _debugger.HeritageClauseFormatter.new(); + } }; (_debugger.HeritageClauseFormatter.new = function() { ; @@ -11323,7 +12196,7 @@ dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); +dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { accept(object, config) { return _debugger.IterableSpan.is(object); @@ -11337,6 +12210,9 @@ _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Objec children(object) { return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); } + static ['_#new#tearOff']() { + return new _debugger.IterableSpanFormatter.new(); + } }; (_debugger.IterableSpanFormatter.new = function() { ; @@ -11351,7 +12227,7 @@ dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); +dart.setLibraryUri(_debugger.IterableSpanFormatter, I[13]); _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { accept(object, config) { return core.Error.is(object) || core.Exception.is(object); @@ -11362,7 +12238,7 @@ _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends preview(object) { let trace = dart.stackTrace(object); let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { - if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + if (l == null) dart.nullFailed(I[12], 862, 10, "l"); return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); @@ -11376,9 +12252,12 @@ _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends return entries[$toList](); } addInstanceMembers(object, ret) { - if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + if (ret == null) dart.nullFailed(I[12], 880, 54, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); } + static ['_#new#tearOff']() { + return new _debugger.ErrorAndExceptionFormatter.new(); + } }; (_debugger.ErrorAndExceptionFormatter.new = function() { ; @@ -11390,7 +12269,8 @@ dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) })); -dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); +dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[13]); +dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { return core.RegExp.new("\\d+\\:\\d+"); @@ -11408,10 +12288,13 @@ _debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { } children(object) { return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { - if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + if (line == null) dart.nullFailed(I[12], 901, 13, "line"); return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); }, T$.StringToNameValuePair()))[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.StackTraceFormatter.new(); + } }; (_debugger.StackTraceFormatter.new = function() { ; @@ -11426,7 +12309,7 @@ dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); +dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); _debugger.ClassFormatter = class ClassFormatter extends core.Object { accept(object, config) { return dart.equals(config, _debugger.JsonMLConfig.asClass); @@ -11435,7 +12318,7 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { let $implements = dart.getImplements(type); let typeName = _debugger.getTypeName(type); if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + let typeNames = $implements()[$map](core.String, C[8] || CT.C8); return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); } else { return typeName; @@ -11445,30 +12328,16 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { return true; } children(type) { - let t17, t17$; + let t12; let ret = new (T$._HashSetOfNameValuePair()).new(); - let staticProperties = new (T$._HashSetOfNameValuePair()).new(); - let staticMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); - _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); - if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { - t17 = ret; - (() => { - t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); - t17.addAll(_debugger.sortProperties(staticProperties)); - t17.addAll(_debugger.sortProperties(staticMethods)); - return t17; - })(); - } let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); if (dart.test(instanceMethods[$isNotEmpty])) { - t17$ = ret; + t12 = ret; (() => { - t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t17$.addAll(_debugger.sortProperties(instanceMethods)); - return t17$; + t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t12.addAll(_debugger.sortProperties(instanceMethods)); + return t12; })(); } let mixin = dart.getMixin(type); @@ -11481,6 +12350,9 @@ _debugger.ClassFormatter = class ClassFormatter extends core.Object { } return ret[$toList](); } + static ['_#new#tearOff']() { + return new _debugger.ClassFormatter.new(); + } }; (_debugger.ClassFormatter.new = function() { ; @@ -11495,7 +12367,7 @@ dart.setMethodSignature(_debugger.ClassFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.ClassFormatter, I[12]); +dart.setLibraryUri(_debugger.ClassFormatter, I[13]); _debugger.TypeFormatter = class TypeFormatter extends core.Object { accept(object, config) { return core.Type.is(object); @@ -11509,6 +12381,9 @@ _debugger.TypeFormatter = class TypeFormatter extends core.Object { children(object) { return T$.JSArrayOfNameValuePair().of([]); } + static ['_#new#tearOff']() { + return new _debugger.TypeFormatter.new(); + } }; (_debugger.TypeFormatter.new = function() { ; @@ -11523,11 +12398,17 @@ dart.setMethodSignature(_debugger.TypeFormatter, () => ({ hasChildren: dart.fnType(core.bool, [dart.dynamic]), children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) })); -dart.setLibraryUri(_debugger.TypeFormatter, I[12]); -_debugger._MethodStats = class _MethodStats extends core.Object {}; +dart.setLibraryUri(_debugger.TypeFormatter, I[13]); +_debugger._MethodStats = class _MethodStats extends core.Object { + static ['_#new#tearOff'](typeName, frame) { + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); + return new _debugger._MethodStats.new(typeName, frame); + } +}; (_debugger._MethodStats.new = function(typeName, frame) { - if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + if (typeName == null) dart.nullFailed(I[14], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); this.count = 0.0; this.typeName = typeName; this.frame = frame; @@ -11535,14 +12416,18 @@ _debugger._MethodStats = class _MethodStats extends core.Object {}; }).prototype = _debugger._MethodStats.prototype; dart.addTypeTests(_debugger._MethodStats); dart.addTypeCaches(_debugger._MethodStats); -dart.setLibraryUri(_debugger._MethodStats, I[12]); +dart.setLibraryUri(_debugger._MethodStats, I[13]); dart.setFieldSignature(_debugger._MethodStats, () => ({ __proto__: dart.getFields(_debugger._MethodStats.__proto__), typeName: dart.finalFieldType(core.String), frame: dart.finalFieldType(core.String), count: dart.fieldType(core.double) })); -_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; +_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object { + static ['_#new#tearOff'](jsError, type) { + return new _debugger._CallMethodRecord.new(jsError, type); + } +}; (_debugger._CallMethodRecord.new = function(jsError, type) { this.jsError = jsError; this.type = type; @@ -11550,7 +12435,7 @@ _debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; }).prototype = _debugger._CallMethodRecord.prototype; dart.addTypeTests(_debugger._CallMethodRecord); dart.addTypeCaches(_debugger._CallMethodRecord); -dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); +dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), jsError: dart.fieldType(dart.dynamic), @@ -11566,17 +12451,17 @@ _debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { return Object.getOwnPropertySymbols(object); }; _debugger.addMetadataChildren = function addMetadataChildren(object, ret) { - if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + if (ret == null) dart.nullFailed(I[12], 63, 53, "ret"); ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); }; _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { - let t17; - if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); - if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let t12; + if (properties == null) dart.nullFailed(I[12], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[12], 75, 54, "walkPrototypeChain"); let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; - let skippedNames = (t17 = new collection._HashSet.new(), (() => { - t17.add("hashCode"); - return t17; + let skippedNames = (t12 = new collection._HashSet.new(), (() => { + t12.add("hashCode"); + return t12; })()); let objectPrototype = Object.prototype; while (sig != null && !core.identical(sig, objectPrototype)) { @@ -11606,11 +12491,11 @@ _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, } }; _debugger.sortProperties = function sortProperties(properties) { - if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + if (properties == null) dart.nullFailed(I[12], 115, 60, "properties"); let sortedProperties = properties[$toList](); sortedProperties[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[11], 118, 26, "a"); - if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + if (a == null) dart.nullFailed(I[12], 118, 26, "a"); + if (b == null) dart.nullFailed(I[12], 118, 29, "b"); let aPrivate = a.name[$startsWith]("_"); let bPrivate = b.name[$startsWith]("_"); if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; @@ -11646,11 +12531,11 @@ _debugger.safePreview = function safePreview(object, config) { }; _debugger.symbolName = function symbolName(symbol) { let name = dart.toString(symbol); - if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[12], 157, 10, "name.startsWith('Symbol(')"); return name[$substring]("Symbol(".length, name.length - 1); }; _debugger.hasMethod = function hasMethod$(object, name) { - if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + if (name == null) dart.nullFailed(I[12], 161, 31, "name"); try { return dart.hasMethod(object, name); } catch (e$) { @@ -11662,8 +12547,8 @@ _debugger.hasMethod = function hasMethod$(object, name) { } }; _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { - if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); - if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + if (protoChain == null) dart.nullFailed(I[12], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[12], 267, 51, "name"); try { return _debugger.JSNative.getProperty(protoChain, name); } catch (e$) { @@ -11676,7 +12561,7 @@ _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { }; _debugger.safeProperties = function safeProperties(object) { return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { - if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + if (each == null) dart.nullFailed(I[12], 277, 17, "each"); return _debugger.safeGetProperty(core.Object.as(object), each) != null; }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); }; @@ -11695,11 +12580,11 @@ _debugger.getModuleNames = function getModuleNames$() { return dart.getModuleNames(); }; _debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); return dart.getModuleLibraries(name); }; _debugger.getDynamicStats = function getDynamicStats() { - let t20; + let t15; let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); @@ -11707,15 +12592,15 @@ _debugger.getDynamicStats = function getDynamicStats() { let stackStr = record.jsError.stack; let frames = stackStr[$split]("\n"); let src = frames[$skip](2)[$map](core.String, dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + if (f == null) dart.nullFailed(I[14], 66, 17, "f"); return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); }, T$.StringToString()))[$firstWhere](dart.fn(f => { - if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + if (f == null) dart.nullFailed(I[14], 68, 24, "f"); return !f[$startsWith]("dart:"); }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); let actualTypeName = dart.typeName(record.type); - t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); - t20.count = dart.notNull(t20.count) + recordRatio; + t15 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t15.count = dart.notNull(t15.count) + recordRatio; } if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { for (let k of callMethodStats[$keys][$toList]()) { @@ -11731,8 +12616,8 @@ _debugger.getDynamicStats = function getDynamicStats() { _debugger._totalCallRecords = 0; let keys = callMethodStats[$keys][$toList](); keys[$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[13], 94, 8, "a"); - if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + if (a == null) dart.nullFailed(I[14], 94, 8, "a"); + if (b == null) dart.nullFailed(I[14], 94, 11, "b"); return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); }, T$.StringAndStringToint())); let ret = T$.JSArrayOfListOfObject().of([]); @@ -11773,35 +12658,51 @@ dart.defineLazy(_debugger, { /*_debugger._maxSpanLength*/get _maxSpanLength() { return 100; }, - set _maxSpanLength(_) {}, + set _maxSpanLength(value) { + if (value == null) dart.nullFailed(I[12], 40, 5, "_maxSpanLength"); + }, /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); }, - set _devtoolsFormatter(_) {}, + set _devtoolsFormatter(value) { + if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); + }, /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { return 100; }, - set maxFormatterStringLength(_) {}, + set maxFormatterStringLength(value) { + if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); + }, /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { return 5000; }, - set _callRecordSampleSize(_) {}, + set _callRecordSampleSize(value) { + if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); + }, /*_debugger._callMethodRecords*/get _callMethodRecords() { return T$.JSArrayOf_CallMethodRecord().of([]); }, - set _callMethodRecords(_) {}, + set _callMethodRecords(value) { + if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); + }, /*_debugger._totalCallRecords*/get _totalCallRecords() { return 0; }, - set _totalCallRecords(_) {}, + set _totalCallRecords(value) { + if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); + }, /*_debugger._minCount*/get _minCount() { return 2; }, - set _minCount(_) {}, + set _minCount(value) { + if (value == null) dart.nullFailed(I[14], 38, 5, "_minCount"); + }, /*_debugger._frameMappingCache*/get _frameMappingCache() { return new (T$.IdentityMapOfString$String()).new(); }, - set _frameMappingCache(_) {} + set _frameMappingCache(value) { + if (value == null) dart.nullFailed(I[14], 44, 5, "_frameMappingCache"); + } }, false); var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); _foreign_helper.JSExportName = class JSExportName extends core.Object { @@ -11811,15 +12712,19 @@ _foreign_helper.JSExportName = class JSExportName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); + return new _foreign_helper.JSExportName.new(name); + } }; (_foreign_helper.JSExportName.new = function(name) { - if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + if (name == null) dart.nullFailed(I[15], 144, 27, "name"); this[name$4] = name; ; }).prototype = _foreign_helper.JSExportName.prototype; dart.addTypeTests(_foreign_helper.JSExportName); dart.addTypeCaches(_foreign_helper.JSExportName); -dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); +dart.setLibraryUri(_foreign_helper.JSExportName, I[16]); dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), name: dart.finalFieldType(core.String) @@ -11832,41 +12737,63 @@ _foreign_helper.JS_CONST = class JS_CONST extends core.Object { set code(value) { super.code = value; } + static ['_#new#tearOff'](code) { + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); + return new _foreign_helper.JS_CONST.new(code); + } }; (_foreign_helper.JS_CONST.new = function(code) { - if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + if (code == null) dart.nullFailed(I[15], 265, 23, "code"); this[code$] = code; ; }).prototype = _foreign_helper.JS_CONST.prototype; dart.addTypeTests(_foreign_helper.JS_CONST); dart.addTypeCaches(_foreign_helper.JS_CONST); -dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); +dart.setLibraryUri(_foreign_helper.JS_CONST, I[16]); dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), code: dart.finalFieldType(core.String) })); -_foreign_helper._Rest = class _Rest extends core.Object {}; +_foreign_helper._Rest = class _Rest extends core.Object { + static ['_#new#tearOff']() { + return new _foreign_helper._Rest.new(); + } +}; (_foreign_helper._Rest.new = function() { ; }).prototype = _foreign_helper._Rest.prototype; dart.addTypeTests(_foreign_helper._Rest); dart.addTypeCaches(_foreign_helper._Rest); -dart.setLibraryUri(_foreign_helper._Rest, I[15]); +dart.setLibraryUri(_foreign_helper._Rest, I[16]); _foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { }; _foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { - if (type == null) dart.nullFailed(I[14], 157, 30, "type"); + if (type == null) dart.nullFailed(I[15], 162, 30, "type"); }; _foreign_helper.JS_EFFECT = function JS_EFFECT(code) { - if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + if (code == null) dart.nullFailed(I[15], 250, 25, "code"); dart.dcall(code, [null]); }; _foreign_helper.spread = function spread(args) { dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); }; +_foreign_helper.getInterceptor = function getInterceptor(obj) { + let classRef = null; + if (obj == null) { + classRef = core.Null; + } else if (typeof obj === "function") { + let signature = obj.$signature; + if (signature != null) classRef = core.Function; + } + if (classRef == null) dart.throw("Unknown interceptor for object: (" + dart.str(obj) + ")"); + return classRef.prototype; +}; +_foreign_helper.getJSArrayInteropRti = function getJSArrayInteropRti() { + return _interceptors.JSArray; +}; dart.defineLazy(_foreign_helper, { /*_foreign_helper.rest*/get rest() { - return C[8] || CT.C8; + return C[9] || CT.C9; } }, false); _interceptors.Interceptor = class Interceptor extends core.Object { @@ -11879,9 +12806,12 @@ _interceptors.Interceptor = class Interceptor extends core.Object { }).prototype = _interceptors.Interceptor.prototype; dart.addTypeTests(_interceptors.Interceptor); dart.addTypeCaches(_interceptors.Interceptor); -dart.setLibraryUri(_interceptors.Interceptor, I[16]); +dart.setLibraryUri(_interceptors.Interceptor, I[17]); dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); _interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSBool.new(); + } [$toString]() { return String(this); } @@ -11917,7 +12847,7 @@ dart.setMethodSignature(_interceptors.JSBool, () => ({ [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); -dart.setLibraryUri(_interceptors.JSBool, I[16]); +dart.setLibraryUri(_interceptors.JSBool, I[17]); dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); dart.registerExtension("Boolean", _interceptors.JSBool); const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); @@ -11929,7 +12859,7 @@ _interceptors.JSIndexable$ = dart.generic(E => { dart.addTypeTests(JSIndexable); JSIndexable.prototype[_is_JSIndexable_default] = true; dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[16]); + dart.setLibraryUri(JSIndexable, I[17]); return JSIndexable; }); _interceptors.JSIndexable = _interceptors.JSIndexable$(); @@ -11943,7 +12873,7 @@ _interceptors.JSMutableIndexable$ = dart.generic(E => { dart.addTypeTests(JSMutableIndexable); JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[16]); + dart.setLibraryUri(JSMutableIndexable, I[17]); return JSMutableIndexable; }); _interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); @@ -11954,13 +12884,10 @@ _interceptors.JSObject = class JSObject extends core.Object {}; }).prototype = _interceptors.JSObject.prototype; dart.addTypeTests(_interceptors.JSObject); dart.addTypeCaches(_interceptors.JSObject); -dart.setLibraryUri(_interceptors.JSObject, I[16]); +dart.setLibraryUri(_interceptors.JSObject, I[17]); _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - get hashCode() { - return 0; - } - get runtimeType() { - return dart.wrapType(_interceptors.JSObject); + static ['_#new#tearOff']() { + return new _interceptors.JavaScriptObject.new(); } }; (_interceptors.JavaScriptObject.new = function() { @@ -11969,20 +12896,35 @@ _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.In }).prototype = _interceptors.JavaScriptObject.prototype; dart.addTypeTests(_interceptors.JavaScriptObject); dart.addTypeCaches(_interceptors.JavaScriptObject); -_interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; -dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); -dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); -_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; +dart.setLibraryUri(_interceptors.JavaScriptObject, I[17]); +_interceptors.LegacyJavaScriptObject = class LegacyJavaScriptObject extends _interceptors.JavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.LegacyJavaScriptObject.new(); + } +}; +(_interceptors.LegacyJavaScriptObject.new = function() { + _interceptors.LegacyJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.LegacyJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.LegacyJavaScriptObject); +dart.addTypeCaches(_interceptors.LegacyJavaScriptObject); +_interceptors.LegacyJavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; +dart.setLibraryUri(_interceptors.LegacyJavaScriptObject, I[17]); +_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.PlainJavaScriptObject.new(); + } +}; (_interceptors.PlainJavaScriptObject.new = function() { _interceptors.PlainJavaScriptObject.__proto__.new.call(this); ; }).prototype = _interceptors.PlainJavaScriptObject.prototype; dart.addTypeTests(_interceptors.PlainJavaScriptObject); dart.addTypeCaches(_interceptors.PlainJavaScriptObject); -dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); -_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { - toString() { - return String(this); +dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[17]); +_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { + static ['_#new#tearOff']() { + return new _interceptors.UnknownJavaScriptObject.new(); } }; (_interceptors.UnknownJavaScriptObject.new = function() { @@ -11991,12 +12933,14 @@ _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _i }).prototype = _interceptors.UnknownJavaScriptObject.prototype; dart.addTypeTests(_interceptors.UnknownJavaScriptObject); dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); -dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); -dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); +dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[17]); _interceptors.NativeError = class NativeError extends _interceptors.Interceptor { dartStack() { return this.stack; } + static ['_#new#tearOff']() { + return new _interceptors.NativeError.new(); + } }; (_interceptors.NativeError.new = function() { _interceptors.NativeError.__proto__.new.call(this); @@ -12009,7 +12953,7 @@ dart.setMethodSignature(_interceptors.NativeError, () => ({ dartStack: dart.fnType(core.String, []), [$dartStack]: dart.fnType(core.String, []) })); -dart.setLibraryUri(_interceptors.NativeError, I[16]); +dart.setLibraryUri(_interceptors.NativeError, I[17]); dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); var _fieldName = dart.privateName(_interceptors, "_fieldName"); var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); @@ -12025,16 +12969,16 @@ var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); var _namedArguments$ = dart.privateName(core, "_namedArguments"); _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { [_fieldName](message) { - let t20; - if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let t15; + if (message == null) dart.nullFailed(I[18], 131, 29, "message"); let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); if (match == null) return null; let name = dart.nullCheck(match._get(1)); - match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + match = (t15 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t15 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t15); return match != null ? match._get(1) : name; } [_functionCallTarget](message) { - if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + if (message == null) dart.nullFailed(I[18], 139, 38, "message"); let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); return match != null ? match._get(1) : null; } @@ -12058,20 +13002,23 @@ _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _intercept } return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; } + static ['_#new#tearOff']() { + return new _interceptors.JSNoSuchMethodError.new(); + } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); } }; (_interceptors.JSNoSuchMethodError.new = function() { @@ -12095,7 +13042,8 @@ dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); +dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[17]); +dart.setStaticFieldSignature(_interceptors.JSNoSuchMethodError, () => ['_nullError', '_notAFunction', '_extensionName', '_privateName']); dart.defineLazy(_interceptors.JSNoSuchMethodError, { /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { return core.RegExp.new("^Cannot read property '(.+)' of null$"); @@ -12118,10 +13066,40 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { } [$_equals](other) { if (other == null) return false; - if (other == null) return false; - let boundObj = this._boundObject; - if (boundObj == null) return this === other; - return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + if (this === other) return true; + let boundObj = null; + let otherFn = null; + let originalFn = this._originalFn; + if (originalFn == null) { + boundObj = this._boundObject; + if (boundObj == null) return false; + originalFn = this; + otherFn = other; + } else { + let typeArgs = this._typeArgs; + let otherTypeArgs = other._typeArgs; + { + let typeArgCount = typeArgs.length; + if (!otherTypeArgs || typeArgCount !== otherTypeArgs.length) { + return false; + } + for (let i = 0; i < typeArgCount; i = i + 1) { + { + let typeArg = typeArgs[i]; + let otherTypeArg = otherTypeArgs[i]; + if (dart.wrapType(typeArg) !== dart.wrapType(otherTypeArg)) { + return false; + } + } + } + } + boundObj = originalFn._boundObject; + otherFn = other._originalFn; + if (boundObj == null) { + return originalFn === otherFn; + } + } + return boundObj === otherFn._boundObject && originalFn._boundMethod === otherFn._boundMethod; } get [$hashCode]() { let boundObj = this._boundObject; @@ -12133,6 +13111,9 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { get [$runtimeType]() { return dart.wrapType(dart.getReifiedType(this)); } + static ['_#new#tearOff']() { + return new _interceptors.JSFunction.new(); + } }; (_interceptors.JSFunction.new = function() { _interceptors.JSFunction.__proto__.new.call(this); @@ -12140,23 +13121,26 @@ _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { }).prototype = _interceptors.JSFunction.prototype; dart.addTypeTests(_interceptors.JSFunction); dart.addTypeCaches(_interceptors.JSFunction); -dart.setLibraryUri(_interceptors.JSFunction, I[16]); +dart.setLibraryUri(_interceptors.JSFunction, I[17]); dart.registerExtension("Function", _interceptors.JSFunction); _interceptors.JSNull = class JSNull extends core.Object { toString() { return "null"; } noSuchMethod(i) { - if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + if (i == null) dart.nullFailed(I[18], 280, 27, "i"); return dart.defaultNoSuchMethod(null, i); } + static ['_#new#tearOff']() { + return new _interceptors.JSNull.new(); + } }; (_interceptors.JSNull.new = function() { ; }).prototype = _interceptors.JSNull.prototype; dart.addTypeTests(_interceptors.JSNull); dart.addTypeCaches(_interceptors.JSNull); -dart.setLibraryUri(_interceptors.JSNull, I[16]); +dart.setLibraryUri(_interceptors.JSNull, I[17]); dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); var _hasValue = dart.privateName(_interceptors, "_hasValue"); var _hasValue$ = dart.privateName(core, "_hasValue"); @@ -12180,14 +13164,17 @@ _interceptors.JSRangeError = class JSRangeError extends _interceptors.Intercepto [$toString]() { return "Invalid argument: " + dart.str(this[$message]); } + static ['_#new#tearOff']() { + return new _interceptors.JSRangeError.new(); + } get [_hasValue$]() { - return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); } get [_errorExplanation$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); } get [_errorName$]() { - return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); } }; (_interceptors.JSRangeError.new = function() { @@ -12207,41 +13194,54 @@ dart.setGetterSignature(_interceptors.JSRangeError, () => ({ [_errorExplanation$]: core.String, [_errorName$]: core.String })); -dart.setLibraryUri(_interceptors.JSRangeError, I[16]); +dart.setLibraryUri(_interceptors.JSRangeError, I[17]); dart.registerExtension("RangeError", _interceptors.JSRangeError); var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); const _is_JSArray_default = Symbol('_is_JSArray_default'); _interceptors.JSArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$EAndEToint = () => (__t$EAndEToint = dart.constFn(dart.fnType(core.int, [E, E])))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$ArrayIteratorOfE = () => (__t$ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); class JSArray extends core.Object { constructor() { return []; } + static ['_#new#tearOff'](E) { + return new (_interceptors.JSArray$(E)).new(); + } + static ['_#of#tearOff'](E, list) { + return _interceptors.JSArray$(E).of(list); + } static of(list) { list.__proto__ = JSArray.prototype; return list; } + static ['_#fixed#tearOff'](E, list) { + return _interceptors.JSArray$(E).fixed(list); + } static fixed(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; return list; } + static ['_#unmodifiable#tearOff'](E, list) { + return _interceptors.JSArray$(E).unmodifiable(list); + } static unmodifiable(list) { list.__proto__ = JSArray.prototype; list.fixed$length = Array; @@ -12292,8 +13292,8 @@ _interceptors.JSArray$ = dart.generic(E => { } [$insertAll](index, iterable) { if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 93, 52, "iterable"); this[$checkGrowable]("insertAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (!_internal.EfficientLengthIterable.is(iterable)) { @@ -12306,14 +13306,14 @@ _interceptors.JSArray$ = dart.generic(E => { this[$setRange](index, end, iterable); } [$setAll](index, iterable) { - let t20; + let t15; if (index == null) dart.argumentError(index); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 107, 49, "iterable"); this[$checkMutable]("setAll"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); for (let element of iterable) { - this[$_set]((t20 = index, index = t20 + 1, t20), element); + this[$_set]((t15 = index, index = t15 + 1, t15), element); } } [$removeLast]() { @@ -12333,18 +13333,18 @@ _interceptors.JSArray$ = dart.generic(E => { return false; } [$removeWhere](test) { - if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + if (test == null) dart.nullFailed(I[19], 136, 37, "test"); this[$checkGrowable]("removeWhere"); this[_removeWhere](test, true); } [$retainWhere](test) { - if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + if (test == null) dart.nullFailed(I[19], 141, 37, "test"); this[$checkGrowable]("retainWhere"); this[_removeWhere](test, false); } [_removeWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[18], 146, 38, "test"); - if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + if (test == null) dart.nullFailed(I[19], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[19], 146, 49, "removeMatching"); let retained = []; let end = this[$length]; for (let i = 0; i < end; i = i + 1) { @@ -12362,20 +13362,20 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$where](f) { - if (f == null) dart.nullFailed(I[18], 175, 38, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[19], 175, 38, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } [$expand](T, f) { - if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + if (f == null) dart.nullFailed(I[19], 179, 49, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } [$addAll](collection) { - IterableOfE().as(collection); - if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + __t$IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[19], 183, 27, "collection"); let i = this[$length]; this[$checkGrowable]("addAll"); for (let e of collection) { - if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); i = i + 1; this.push(e); } @@ -12384,7 +13384,7 @@ _interceptors.JSArray$ = dart.generic(E => { this[$length] = 0; } [$forEach](f) { - if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + if (f == null) dart.nullFailed(I[19], 197, 33, "f"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12393,11 +13393,11 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$map](T, f) { - if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + if (f == null) dart.nullFailed(I[19], 206, 36, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } [$join](separator = "") { - if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + if (separator == null) dart.nullFailed(I[19], 210, 23, "separator"); let length = this[$length]; let list = T$.ListOfString().filled(length, ""); for (let i = 0; i < length; i = i + 1) { @@ -12406,24 +13406,24 @@ _interceptors.JSArray$ = dart.generic(E => { return list.join(separator); } [$take](n) { - if (n == null) dart.nullFailed(I[18], 219, 24, "n"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + if (n == null) dart.nullFailed(I[19], 219, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); } [$takeWhile](test) { - if (test == null) dart.nullFailed(I[18], 223, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 223, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } [$skip](n) { - if (n == null) dart.nullFailed(I[18], 227, 24, "n"); - return new (SubListIterableOfE()).new(this, n, null); + if (n == null) dart.nullFailed(I[19], 227, 24, "n"); + return new (__t$SubListIterableOfE()).new(this, n, null); } [$skipWhile](test) { - if (test == null) dart.nullFailed(I[18], 231, 42, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[19], 231, 42, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } [$reduce](combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[19], 235, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -12435,7 +13435,7 @@ _interceptors.JSArray$ = dart.generic(E => { return value; } [$fold](T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + if (combine == null) dart.nullFailed(I[19], 247, 68, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < length; i = i + 1) { @@ -12446,9 +13446,9 @@ _interceptors.JSArray$ = dart.generic(E => { return value; } [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + if (test == null) dart.nullFailed(I[19], 258, 33, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12459,9 +13459,9 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + if (test == null) dart.nullFailed(I[19], 269, 32, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = length - 1; i >= 0; i = i - 1) { let element = this[i]; @@ -12474,9 +13474,9 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + if (test == null) dart.nullFailed(I[19], 282, 34, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let matchFound = false; @@ -12498,7 +13498,7 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + if (index == null) dart.nullFailed(I[19], 304, 19, "index"); return this[$_get](index); } [$sublist](start, end = null) { @@ -12514,14 +13514,14 @@ _interceptors.JSArray$ = dart.generic(E => { dart.throw(new core.RangeError.range(end, start, this[$length], "end")); } } - if (start === end) return JSArrayOfE().of([]); - return JSArrayOfE().of(this.slice(start, end)); + if (start === end) return __t$JSArrayOfE().of([]); + return __t$JSArrayOfE().of(this.slice(start, end)); } [$getRange](start, end) { - if (start == null) dart.nullFailed(I[18], 325, 28, "start"); - if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + if (start == null) dart.nullFailed(I[19], 325, 28, "start"); + if (end == null) dart.nullFailed(I[19], 325, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } get [$first]() { if (this[$length] > 0) return this[$_get](0); @@ -12547,17 +13547,17 @@ _interceptors.JSArray$ = dart.generic(E => { [$setRange](start, end, iterable, skipCount = 0) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[19], 353, 71, "iterable"); if (skipCount == null) dart.argumentError(skipCount); this[$checkMutable]("set range"); core.RangeError.checkValidRange(start, end, this[$length]); let length = end - start; if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); - let otherList = JSArrayOfE().of([]); + let otherList = __t$JSArrayOfE().of([]); let otherStart = 0; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -12582,7 +13582,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$fillRange](start, end, fillValue = null) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - EN().as(fillValue); + __t$EN().as(fillValue); this[$checkMutable]("fill range"); core.RangeError.checkValidRange(start, end, this[$length]); let checkedFillValue = E.as(fillValue); @@ -12593,8 +13593,8 @@ _interceptors.JSArray$ = dart.generic(E => { [$replaceRange](start, end, replacement) { if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); - IterableOfE().as(replacement); - if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + __t$IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[19], 404, 61, "replacement"); this[$checkGrowable]("replace range"); core.RangeError.checkValidRange(start, end, this[$length]); if (!_internal.EfficientLengthIterable.is(replacement)) { @@ -12621,7 +13621,7 @@ _interceptors.JSArray$ = dart.generic(E => { } } [$any](test) { - if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + if (test == null) dart.nullFailed(I[19], 432, 29, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12631,7 +13631,7 @@ _interceptors.JSArray$ = dart.generic(E => { return false; } [$every](test) { - if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + if (test == null) dart.nullFailed(I[19], 442, 31, "test"); let end = this[$length]; for (let i = 0; i < end; i = i + 1) { let element = this[i]; @@ -12641,12 +13641,12 @@ _interceptors.JSArray$ = dart.generic(E => { return true; } get [$reversed]() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } [$sort](compare = null) { this[$checkMutable]("sort"); if (compare == null) { - _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), __t$EAndEToint())); } else { _internal.Sort.sort(E, this, compare); } @@ -12680,8 +13680,8 @@ _interceptors.JSArray$ = dart.generic(E => { return -1; } [$lastIndexOf](element, startIndex = null) { - let t20; - let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + let t15; + let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); if (start >= this[$length]) { start = this[$length] - 1; } else if (start < 0) { @@ -12716,13 +13716,13 @@ _interceptors.JSArray$ = dart.generic(E => { if (growable == null) dart.argumentError(growable); let list = this.slice(); if (!growable) _interceptors.JSArray.markFixedList(list); - return JSArrayOfE().of(list); + return __t$JSArrayOfE().of(list); } [$toSet]() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get [$iterator]() { - return new (ArrayIteratorOfE()).new(this); + return new (__t$ArrayIteratorOfE()).new(this); } get [$hashCode]() { return core.identityHashCode(this); @@ -12744,56 +13744,56 @@ _interceptors.JSArray$ = dart.generic(E => { this.length = newLength; } [_setLengthUnsafe](newLength) { - if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (newLength == null) dart.nullFailed(I[19], 566, 29, "newLength"); if (dart.notNull(newLength) < 0) { dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); } this.length = newLength; } [$_get](index) { - if (index == null) dart.nullFailed(I[18], 576, 21, "index"); - if (index == null || index >= this.length || index < 0) { + if (index == null) dart.nullFailed(I[19], 576, 21, "index"); + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + if (index == null) dart.nullFailed(I[19], 586, 25, "index"); E.as(value); this[$checkMutable]("indexed set"); - if (index == null || index >= this.length || index < 0) { + if (index == null || !(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } this[index] = value; return value$; } [$asMap]() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } get [$runtimeType]() { return dart.wrapType(core.List$(E)); } [$followedBy](other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[18], 603, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[19], 603, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } [$whereType](T) { return new (_internal.WhereTypeIterable$(T)).new(this); } [$plus](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[19], 608, 30, "other"); return (() => { - let t20 = ListOfE().of(this); - t20[$addAll](other); - return t20; + let t15 = __t$ListOfE().of(this); + t15[$addAll](other); + return t15; })(); } [$indexWhere](test, start = 0) { - if (test == null) dart.nullFailed(I[18], 610, 35, "test"); - if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (test == null) dart.nullFailed(I[19], 610, 35, "test"); + if (start == null) dart.nullFailed(I[19], 610, 46, "start"); if (dart.notNull(start) >= this[$length]) return -1; if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { @@ -12802,7 +13802,7 @@ _interceptors.JSArray$ = dart.generic(E => { return -1; } [$lastIndexWhere](test, start = null) { - if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (test == null) dart.nullFailed(I[19], 619, 39, "test"); if (start == null) start = this[$length] - 1; if (dart.notNull(start) < 0) return -1; for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -12812,12 +13812,12 @@ _interceptors.JSArray$ = dart.generic(E => { } set [$first](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](0, element); } set [$last](element) { E.as(element); - if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + if (this[$isEmpty]) dart.throw(new core.IndexError.withLength(0, this[$length], {indexable: this})); this[$_set](this[$length] - 1, element); } } @@ -12887,6 +13887,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) })); + dart.setStaticMethodSignature(JSArray, () => ['of', 'fixed', 'unmodifiable', 'markFixedList', 'markUnmodifiableList']); dart.setGetterSignature(JSArray, () => ({ __proto__: dart.getGetters(JSArray.__proto__), [$first]: E, @@ -12904,7 +13905,7 @@ _interceptors.JSArray$ = dart.generic(E => { [$first]: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(JSArray, I[16]); + dart.setLibraryUri(JSArray, I[17]); return JSArray; }); _interceptors.JSArray = _interceptors.JSArray$(); @@ -12912,7 +13913,11 @@ dart.addTypeTests(_interceptors.JSArray, _is_JSArray_default); dart.registerExtension("Array", _interceptors.JSArray); const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); _interceptors.JSMutableArray$ = dart.generic(E => { - class JSMutableArray extends _interceptors.JSArray$(E) {} + class JSMutableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSMutableArray$(E)).new(); + } + } (JSMutableArray.new = function() { JSMutableArray.__proto__.new.call(this); ; @@ -12921,14 +13926,18 @@ _interceptors.JSMutableArray$ = dart.generic(E => { JSMutableArray.prototype[_is_JSMutableArray_default] = true; dart.addTypeCaches(JSMutableArray); JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - dart.setLibraryUri(JSMutableArray, I[16]); + dart.setLibraryUri(JSMutableArray, I[17]); return JSMutableArray; }); _interceptors.JSMutableArray = _interceptors.JSMutableArray$(); dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); _interceptors.JSFixedArray$ = dart.generic(E => { - class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + class JSFixedArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSFixedArray$(E)).new(); + } + } (JSFixedArray.new = function() { JSFixedArray.__proto__.new.call(this); ; @@ -12936,14 +13945,18 @@ _interceptors.JSFixedArray$ = dart.generic(E => { dart.addTypeTests(JSFixedArray); JSFixedArray.prototype[_is_JSFixedArray_default] = true; dart.addTypeCaches(JSFixedArray); - dart.setLibraryUri(JSFixedArray, I[16]); + dart.setLibraryUri(JSFixedArray, I[17]); return JSFixedArray; }); _interceptors.JSFixedArray = _interceptors.JSFixedArray$(); dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); _interceptors.JSExtendableArray$ = dart.generic(E => { - class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + class JSExtendableArray extends _interceptors.JSMutableArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSExtendableArray$(E)).new(); + } + } (JSExtendableArray.new = function() { JSExtendableArray.__proto__.new.call(this); ; @@ -12951,14 +13964,18 @@ _interceptors.JSExtendableArray$ = dart.generic(E => { dart.addTypeTests(JSExtendableArray); JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; dart.addTypeCaches(JSExtendableArray); - dart.setLibraryUri(JSExtendableArray, I[16]); + dart.setLibraryUri(JSExtendableArray, I[17]); return JSExtendableArray; }); _interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); _interceptors.JSUnmodifiableArray$ = dart.generic(E => { - class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + class JSUnmodifiableArray extends _interceptors.JSArray$(E) { + static ['_#new#tearOff'](E) { + return new (_interceptors.JSUnmodifiableArray$(E)).new(); + } + } (JSUnmodifiableArray.new = function() { JSUnmodifiableArray.__proto__.new.call(this); ; @@ -12966,7 +13983,7 @@ _interceptors.JSUnmodifiableArray$ = dart.generic(E => { dart.addTypeTests(JSUnmodifiableArray); JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[16]); + dart.setLibraryUri(JSUnmodifiableArray, I[17]); return JSUnmodifiableArray; }); _interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); @@ -12978,6 +13995,10 @@ var _index = dart.privateName(_interceptors, "_index"); const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); _interceptors.ArrayIterator$ = dart.generic(E => { class ArrayIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); + return new (_interceptors.ArrayIterator$(E)).new(iterable); + } get current() { return E.as(this[_current]); } @@ -12996,7 +14017,7 @@ _interceptors.ArrayIterator$ = dart.generic(E => { } } (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); this[_current] = null; this[_iterable] = iterable; this[_length] = iterable[$length]; @@ -13015,7 +14036,7 @@ _interceptors.ArrayIterator$ = dart.generic(E => { __proto__: dart.getGetters(ArrayIterator.__proto__), current: E })); - dart.setLibraryUri(ArrayIterator, I[16]); + dart.setLibraryUri(ArrayIterator, I[17]); dart.setFieldSignature(ArrayIterator, () => ({ __proto__: dart.getFields(ArrayIterator.__proto__), [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), @@ -13033,6 +14054,9 @@ var _shlPositive = dart.privateName(_interceptors, "_shlPositive"); var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSNumber.new(); + } [$compareTo](b) { core.num.as(b); if (b == null) dart.argumentError(b); @@ -13077,7 +14101,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return Math.abs(this); } get [$sign]() { - return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + return this > 0 ? 1 : this < 0 ? -1 : this; } [$toInt]() { if (this >= -2147483648 && this <= 2147483647) { @@ -13180,7 +14204,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return _interceptors.JSNumber._handleIEtoString(result); } static _handleIEtoString(result) { - if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + if (result == null) dart.nullFailed(I[20], 205, 42, "result"); let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); if (match == null) { dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); @@ -13239,7 +14263,9 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { [$modulo](other) { if (other == null) dart.argumentError(other); let result = this % other; - if (result === 0) return _interceptors.JSNumber.as(0); + if (result === 0) { + return 0; + } if (result > 0) return result; if (other < 0) { return result - other; @@ -13259,7 +14285,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { } } [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + if (other == null) dart.nullFailed(I[20], 321, 21, "other"); return (this / other)[$toInt](); } [$leftShift](other) { @@ -13339,11 +14365,12 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { return wordBits - _interceptors.JSNumber._clz32(nonneg); } static _clz32(uint32) { - return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + return Math.clz32(uint32); } [$modPow](e, m) { if (e == null) dart.argumentError(e); if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (e === 0) return 1; @@ -13444,6 +14471,7 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { } [$modInverse](m) { if (m == null) dart.argumentError(m); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); if (m === 1) return 0; let t = this; @@ -13464,37 +14492,6 @@ _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { if (x === 1 || y === 1) return 1; return _interceptors.JSNumber._binaryGcd(x, y, false); } - static _bitCount(i) { - i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); - i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); - i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); - i = i + _interceptors.JSNumber._shru(i, 8); - i = i + _interceptors.JSNumber._shru(i, 16); - return i & 63; - } - static _shru(value, shift) { - if (value == null) dart.nullFailed(I[19], 613, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); - return value >>> shift; - } - static _shrs(value, shift) { - if (value == null) dart.nullFailed(I[19], 616, 24, "value"); - if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); - return value >> shift; - } - static _ors(a, b) { - if (a == null) dart.nullFailed(I[19], 619, 23, "a"); - if (b == null) dart.nullFailed(I[19], 619, 30, "b"); - return a | b; - } - static _spread(i) { - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); - i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); - i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); - return i; - } [$bitNot]() { return ~this >>> 0; } @@ -13555,6 +14552,7 @@ dart.setMethodSignature(_interceptors.JSNumber, () => ({ [$gcd]: dart.fnType(core.int, [core.int]), [$bitNot]: dart.fnType(core.int, []) })); +dart.setStaticMethodSignature(_interceptors.JSNumber, () => ['_handleIEtoString', '_clz32', '_binaryGcd']); dart.setGetterSignature(_interceptors.JSNumber, () => ({ __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), [$isNegative]: core.bool, @@ -13566,7 +14564,8 @@ dart.setGetterSignature(_interceptors.JSNumber, () => ({ [$isOdd]: core.bool, [$bitLength]: core.int })); -dart.setLibraryUri(_interceptors.JSNumber, I[16]); +dart.setLibraryUri(_interceptors.JSNumber, I[17]); +dart.setStaticFieldSignature(_interceptors.JSNumber, () => ['_MIN_INT32', '_MAX_INT32']); dart.defineLazy(_interceptors.JSNumber, { /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { return -2147483648; @@ -13577,13 +14576,42 @@ dart.defineLazy(_interceptors.JSNumber, { }, false); dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); dart.registerExtension("Number", _interceptors.JSNumber); +_interceptors.JSInt = class JSInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSInt.new(); + } +}; +(_interceptors.JSInt.new = function() { + _interceptors.JSInt.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSInt.prototype; +dart.addTypeTests(_interceptors.JSInt); +dart.addTypeCaches(_interceptors.JSInt); +_interceptors.JSInt[dart.implements] = () => [core.int]; +dart.setLibraryUri(_interceptors.JSInt, I[17]); +_interceptors.JSNumNotInt = class JSNumNotInt extends _interceptors.JSNumber { + static ['_#new#tearOff']() { + return new _interceptors.JSNumNotInt.new(); + } +}; +(_interceptors.JSNumNotInt.new = function() { + _interceptors.JSNumNotInt.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNumNotInt.prototype; +dart.addTypeTests(_interceptors.JSNumNotInt); +dart.addTypeCaches(_interceptors.JSNumNotInt); +_interceptors.JSNumNotInt[dart.implements] = () => [core.double]; +dart.setLibraryUri(_interceptors.JSNumNotInt, I[17]); var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); _interceptors.JSString = class JSString extends _interceptors.Interceptor { + static ['_#new#tearOff']() { + return new _interceptors.JSString.new(); + } [$codeUnitAt](index) { if (index == null) dart.argumentError(index); let len = this.length; if (index < 0 || index >= len) { - dart.throw(new core.IndexError.new(index, this, "index", null, len)); + dart.throw(new core.IndexError.withLength(index, len, {indexable: this, name: "index"})); } return this.charCodeAt(index); } @@ -13624,30 +14652,30 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return other === this[$substring](thisLength - otherLength); } [$replaceAll](from, to) { - if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (from == null) dart.nullFailed(I[21], 67, 29, "from"); if (to == null) dart.argumentError(to); return _js_helper.stringReplaceAllUnchecked(this, from, to); } [$replaceAllMapped](from, convert) { - if (from == null) dart.nullFailed(I[20], 72, 35, "from"); - if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + if (from == null) dart.nullFailed(I[21], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[21], 72, 64, "convert"); return this[$splitMapJoin](from, {onMatch: convert}); } [$splitMapJoin](from, opts) { - if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + if (from == null) dart.nullFailed(I[21], 77, 31, "from"); let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); } [$replaceFirst](from, to, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (from == null) dart.nullFailed(I[21], 83, 31, "from"); if (to == null) dart.argumentError(to); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); } [$replaceFirstMapped](from, replace, startIndex = 0) { - if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (from == null) dart.nullFailed(I[21], 91, 15, "from"); if (replace == null) dart.argumentError(replace); if (startIndex == null) dart.argumentError(startIndex); core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); @@ -13671,7 +14699,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); } [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); let result = T$.JSArrayOfString().of([]); let start = 0; let length = 1; @@ -13692,7 +14720,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return result; } [$startsWith](pattern, index = 0) { - if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (pattern == null) dart.nullFailed(I[21], 148, 27, "pattern"); if (index == null) dart.argumentError(index); let length = this.length; if (index < 0 || index > length) { @@ -13707,15 +14735,10 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } return pattern[$matchAsPrefix](this, index) != null; } - [$substring](startIndex, _endIndex = null) { - let t21; - if (startIndex == null) dart.argumentError(startIndex); - let length = this.length; - let endIndex = (t21 = _endIndex, t21 == null ? length : t21); - if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); - if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); - if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); - return this.substring(startIndex, endIndex); + [$substring](start, end = null) { + if (start == null) dart.argumentError(start); + end = core.RangeError.checkValidRange(start, end, this.length); + return this.substring(start, end); } [$toLowerCase]() { return this.toLowerCase(); @@ -13734,13 +14757,13 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { case 32: case 133: case 160: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } switch (codeUnit) { @@ -13762,17 +14785,17 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { case 8287: case 12288: case 65279: - { - return true; - } + { + return true; + } default: - { - return false; - } + { + return false; + } } } static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (string == null) dart.nullFailed(I[21], 243, 44, "string"); if (index == null) dart.argumentError(index); let stringLength = string.length; while (index < stringLength) { @@ -13785,7 +14808,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return index; } static _skipTrailingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (string == null) dart.nullFailed(I[21], 262, 45, "string"); if (index == null) dart.argumentError(index); while (index > 0) { let codeUnit = string[$codeUnitAt](index - 1); @@ -13856,7 +14879,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { if (0 >= times) return ""; if (times === 1 || this.length === 0) return this; if (times !== times >>> 0) { - dart.throw(C[17] || CT.C17); + dart.throw(C[18] || CT.C18); } let result = ""; let s = this; @@ -13870,14 +14893,14 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } [$padLeft](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + if (padding == null) dart.nullFailed(I[21], 386, 48, "padding"); let delta = width - this.length; if (delta <= 0) return this; return padding[$times](delta) + this; } [$padRight](width, padding = " ") { if (width == null) dart.argumentError(width); - if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + if (padding == null) dart.nullFailed(I[21], 393, 49, "padding"); let delta = width - this.length; if (delta <= 0) return this; return this[$plus](padding[$times](delta)); @@ -13909,10 +14932,10 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { return -1; } [$lastIndexOf](pattern, _start = null) { - let t21; + let t16; if (pattern == null) dart.argumentError(pattern); let length = this.length; - let start = (t21 = _start, t21 == null ? length : t21); + let start = (t16 = _start, t16 == null ? length : t16); if (dart.notNull(start) < 0 || dart.notNull(start) > length) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -13970,7 +14993,7 @@ _interceptors.JSString = class JSString extends _interceptors.Interceptor { } [$_get](index) { if (index == null) dart.argumentError(index); - if (index >= this.length || index < 0) { + if (!(index >= 0 && index < this.length)) { dart.throw(_js_helper.diagnoseIndexError(this, index)); } return this[index]; @@ -14014,6 +15037,7 @@ dart.setMethodSignature(_interceptors.JSString, () => ({ [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), [$_get]: dart.fnType(core.String, [core.int]) })); +dart.setStaticMethodSignature(_interceptors.JSString, () => ['_isWhitespace', '_skipLeadingWhitespace', '_skipTrailingWhitespace']); dart.setGetterSignature(_interceptors.JSString, () => ({ __proto__: dart.getGetters(_interceptors.JSString.__proto__), [$codeUnits]: core.List$(core.int), @@ -14022,16 +15046,13 @@ dart.setGetterSignature(_interceptors.JSString, () => ({ [$isNotEmpty]: core.bool, [$length]: core.int })); -dart.setLibraryUri(_interceptors.JSString, I[16]); +dart.setLibraryUri(_interceptors.JSString, I[17]); dart.definePrimitiveHashCode(_interceptors.JSString.prototype); dart.registerExtension("String", _interceptors.JSString); -_interceptors.getInterceptor = function getInterceptor(obj) { - return obj; -}; _interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { }; _interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[17], 239, 57, "name"); + if (name == null) dart.nullFailed(I[18], 304, 57, "name"); }; _interceptors.getNativeInterceptor = function getNativeInterceptor(object) { }; @@ -14049,41 +15070,40 @@ var _closeGap = dart.privateName(collection, "_closeGap"); var _filter = dart.privateName(collection, "_filter"); const _is_ListMixin_default = Symbol('_is_ListMixin_default'); collection.ListMixin$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); - var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$JSArrayOfE = () => (__t$JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var __t$ListMapViewOfE = () => (__t$ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ReversedListIterableOfE = () => (__t$ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); class ListMixin extends core.Object { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } elementAt(index) { - if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + if (index == null) dart.nullFailed(I[24], 78, 19, "index"); return this[$_get](index); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[23], 80, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[24], 80, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } forEach(action) { - if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + if (action == null) dart.nullFailed(I[24], 83, 21, "action"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this[$_get](i)); @@ -14132,7 +15152,7 @@ collection.ListMixin$ = dart.generic(E => { return false; } every(test) { - if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + if (test == null) dart.nullFailed(I[24], 135, 19, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this[$_get](i)))) return false; @@ -14143,7 +15163,7 @@ collection.ListMixin$ = dart.generic(E => { return true; } any(test) { - if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + if (test == null) dart.nullFailed(I[24], 146, 17, "test"); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this[$_get](i)))) return true; @@ -14154,9 +15174,9 @@ collection.ListMixin$ = dart.generic(E => { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + if (test == null) dart.nullFailed(I[24], 157, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14169,9 +15189,9 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + if (test == null) dart.nullFailed(I[24], 170, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this[$_get](i); @@ -14184,21 +15204,19 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + if (test == null) dart.nullFailed(I[24], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this[$length]; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t24) { + function match$35set(match$35param) { match$35isSet = true; - return match = t24; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14218,33 +15236,33 @@ collection.ListMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - let t26; - if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + let t20; + if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); if (this[$length] === 0) return ""; - let buffer = (t26 = new core.StringBuffer.new(), (() => { - t26.writeAll(this, separator); - return t26; + let buffer = (t20 = new core.StringBuffer.new(), (() => { + t20.writeAll(this, separator); + return t20; })()); return dart.toString(buffer); } where(test) { - if (test == null) dart.nullFailed(I[23], 211, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 211, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } map(T, f) { - if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + if (f == null) dart.nullFailed(I[24], 215, 24, "f"); return new (_internal.MappedListIterable$(E, T)).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + if (f == null) dart.nullFailed(I[24], 217, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[24], 220, 14, "combine"); let length = this[$length]; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this[$_get](0); @@ -14257,7 +15275,7 @@ collection.ListMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + if (combine == null) dart.nullFailed(I[24], 233, 31, "combine"); let value = initialValue; let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -14269,50 +15287,50 @@ collection.ListMixin$ = dart.generic(E => { return value; } skip(count) { - if (count == null) dart.nullFailed(I[23], 245, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[24], 245, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[23], 247, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 247, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } take(count) { - if (count == null) dart.nullFailed(I[23], 251, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[24], 251, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[23], 254, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[24], 254, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[24], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); let first = this[$_get](0); - let result = ListOfE().filled(this[$length], first, {growable: growable}); + let result = __t$ListOfE().filled(this[$length], first, {growable: growable}); for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { result[$_set](i, this[$_get](i)); } return result; } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { result.add(this[$_get](i)); } return result; } add(element) { - let t26; + let t20; E.as(element); - this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 282, 27, "iterable"); let i = this[$length]; for (let element of iterable) { - if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); this[$add](element); i = dart.notNull(i) + 1; } @@ -14327,12 +15345,12 @@ collection.ListMixin$ = dart.generic(E => { return false; } [_closeGap](start, end) { - if (start == null) dart.nullFailed(I[23], 303, 22, "start"); - if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + if (start == null) dart.nullFailed(I[24], 303, 22, "start"); + if (end == null) dart.nullFailed(I[24], 303, 33, "end"); let length = this[$length]; - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); - if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); - if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[24], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[24], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[24], 307, 12, "end <= length"); let size = dart.notNull(end) - dart.notNull(start); for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { this[$_set](dart.notNull(i) - size, this[$_get](i)); @@ -14340,17 +15358,17 @@ collection.ListMixin$ = dart.generic(E => { this[$length] = dart.notNull(length) - size; } removeWhere(test) { - if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + if (test == null) dart.nullFailed(I[24], 315, 25, "test"); this[_filter](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + if (test == null) dart.nullFailed(I[24], 319, 25, "test"); this[_filter](test, true); } [_filter](test, retainMatching) { - if (test == null) dart.nullFailed(I[23], 323, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); - let retained = JSArrayOfE().of([]); + if (test == null) dart.nullFailed(I[24], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[24], 323, 43, "retainMatching"); + let retained = __t$JSArrayOfE().of([]); let length = this[$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this[$_get](i); @@ -14381,8 +15399,8 @@ collection.ListMixin$ = dart.generic(E => { return result; } sort(compare = null) { - let t26; - _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + let t20; + _internal.Sort.sort(E, this, (t20 = compare, t20 == null ? C[19] || CT.C19 : t20)); } static _compareAny(a, b) { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); @@ -14400,43 +15418,43 @@ collection.ListMixin$ = dart.generic(E => { } } asMap() { - return new (ListMapViewOfE()).new(this); + return new (__t$ListMapViewOfE()).new(this); } ['+'](other) { - ListOfE().as(other); - if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + __t$ListOfE().as(other); + if (other == null) dart.nullFailed(I[24], 381, 30, "other"); return (() => { - let t26 = ListOfE().of(this); - t26[$addAll](other); - return t26; + let t20 = __t$ListOfE().of(this); + t20[$addAll](other); + return t20; })(); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + if (start == null) dart.nullFailed(I[24], 383, 23, "start"); let listLength = this[$length]; end == null ? end = listLength : null; if (end == null) dart.throw("!"); core.RangeError.checkValidRange(start, end, listLength); - return ListOfE().from(this[$getRange](start, end)); + return __t$ListOfE().from(this[$getRange](start, end)); } getRange(start, end) { - if (start == null) dart.nullFailed(I[23], 392, 28, "start"); - if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + if (start == null) dart.nullFailed(I[24], 392, 28, "start"); + if (end == null) dart.nullFailed(I[24], 392, 39, "end"); core.RangeError.checkValidRange(start, end, this[$length]); - return new (SubListIterableOfE()).new(this, start, end); + return new (__t$SubListIterableOfE()).new(this, start, end); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[23], 397, 24, "start"); - if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + if (start == null) dart.nullFailed(I[24], 397, 24, "start"); + if (end == null) dart.nullFailed(I[24], 397, 35, "end"); core.RangeError.checkValidRange(start, end, this[$length]); if (dart.notNull(end) > dart.notNull(start)) { this[_closeGap](start, end); } } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[23], 404, 22, "start"); - if (end == null) dart.nullFailed(I[23], 404, 33, "end"); - EN().as(fill); + if (start == null) dart.nullFailed(I[24], 404, 22, "start"); + if (end == null) dart.nullFailed(I[24], 404, 33, "end"); + __t$EN().as(fill); let value = E.as(fill); core.RangeError.checkValidRange(start, end, this[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -14444,18 +15462,18 @@ collection.ListMixin$ = dart.generic(E => { } } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[23], 414, 21, "start"); - if (end == null) dart.nullFailed(I[23], 414, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + if (start == null) dart.nullFailed(I[24], 414, 21, "start"); + if (end == null) dart.nullFailed(I[24], 414, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[24], 414, 64, "skipCount"); core.RangeError.checkValidRange(start, end, this[$length]); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; core.RangeError.checkNotNegative(skipCount, "skipCount"); let otherList = null; let otherStart = null; - if (ListOfE().is(iterable)) { + if (__t$ListOfE().is(iterable)) { otherList = iterable; otherStart = skipCount; } else { @@ -14476,10 +15494,10 @@ collection.ListMixin$ = dart.generic(E => { } } replaceRange(start, end, newContents) { - if (start == null) dart.nullFailed(I[23], 445, 25, "start"); - if (end == null) dart.nullFailed(I[23], 445, 36, "end"); - IterableOfE().as(newContents); - if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + if (start == null) dart.nullFailed(I[24], 445, 25, "start"); + if (end == null) dart.nullFailed(I[24], 445, 36, "end"); + __t$IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[24], 445, 53, "newContents"); core.RangeError.checkValidRange(start, end, this[$length]); if (start == this[$length]) { this[$addAll](newContents); @@ -14520,7 +15538,7 @@ collection.ListMixin$ = dart.generic(E => { } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (start == null) dart.nullFailed(I[24], 486, 37, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.equals(this[$_get](i), element)) return i; @@ -14528,8 +15546,8 @@ collection.ListMixin$ = dart.generic(E => { return -1; } indexWhere(test, start = 0) { - if (test == null) dart.nullFailed(I[23], 494, 23, "test"); - if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (test == null) dart.nullFailed(I[24], 494, 23, "test"); + if (start == null) dart.nullFailed(I[24], 494, 45, "start"); if (dart.notNull(start) < 0) start = 0; for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { if (dart.test(test(this[$_get](i)))) return i; @@ -14545,7 +15563,7 @@ collection.ListMixin$ = dart.generic(E => { return -1; } lastIndexWhere(test, start = null) { - if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (test == null) dart.nullFailed(I[24], 514, 27, "test"); if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; if (start == null) dart.throw("!"); for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { @@ -14554,7 +15572,7 @@ collection.ListMixin$ = dart.generic(E => { return -1; } insert(index, element) { - if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + if (index == null) dart.nullFailed(I[24], 526, 19, "index"); E.as(element); _internal.checkNotNullable(core.int, index, "index"); let length = this[$length]; @@ -14566,15 +15584,15 @@ collection.ListMixin$ = dart.generic(E => { } } removeAt(index) { - if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + if (index == null) dart.nullFailed(I[24], 537, 18, "index"); let result = this[$_get](index); this[_closeGap](index, dart.notNull(index) + 1); return result; } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[23], 543, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + if (index == null) dart.nullFailed(I[24], 543, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 543, 41, "iterable"); core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); if (index == this[$length]) { this[$addAll](iterable); @@ -14602,20 +15620,20 @@ collection.ListMixin$ = dart.generic(E => { this[$setAll](index, iterable); } setAll(index, iterable) { - let t27; - if (index == null) dart.nullFailed(I[23], 576, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + let t21; + if (index == null) dart.nullFailed(I[24], 576, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[24], 576, 38, "iterable"); if (core.List.is(iterable)) { this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); } else { for (let element of iterable) { - this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + this[$_set]((t21 = index, index = dart.notNull(t21) + 1, t21), element); } } } get reversed() { - return new (ReversedListIterableOfE()).new(this); + return new (__t$ReversedListIterableOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "[", "]"); @@ -14730,6 +15748,7 @@ collection.ListMixin$ = dart.generic(E => { setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(ListMixin, () => ['_compareAny']); dart.setGetterSignature(ListMixin, () => ({ __proto__: dart.getGetters(ListMixin.__proto__), iterator: core.Iterator$(E), @@ -14754,7 +15773,7 @@ collection.ListMixin$ = dart.generic(E => { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(ListMixin, I[24]); + dart.setLibraryUri(ListMixin, I[25]); dart.defineExtensionMethods(ListMixin, [ 'elementAt', 'followedBy', @@ -14827,7 +15846,7 @@ collection.ListBase$ = dart.generic(E => { dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); class ListBase extends Object_ListMixin$36 { static listToString(list) { - if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + if (list == null) dart.nullFailed(I[24], 42, 35, "list"); return collection.IterableBase.iterableToFullString(list, "[", "]"); } } @@ -14837,25 +15856,26 @@ collection.ListBase$ = dart.generic(E => { dart.addTypeTests(ListBase); ListBase.prototype[_is_ListBase_default] = true; dart.addTypeCaches(ListBase); - dart.setLibraryUri(ListBase, I[24]); + dart.setStaticMethodSignature(ListBase, () => ['listToString']); + dart.setLibraryUri(ListBase, I[25]); return ListBase; }); collection.ListBase = collection.ListBase$(); dart.addTypeTests(collection.ListBase, _is_ListBase_default); const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); _internal.UnmodifiableListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class UnmodifiableListMixin extends core.Object { _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + if (index == null) dart.nullFailed(I[23], 89, 25, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 94, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); } set first(element) { @@ -14867,9 +15887,9 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 108, 19, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + if (at == null) dart.nullFailed(I[23], 108, 19, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 108, 35, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } add(value) { @@ -14877,30 +15897,30 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + if (index == null) dart.nullFailed(I[23], 118, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 123, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 123, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 123, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 128, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + if (test == null) dart.nullFailed(I[23], 138, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + if (test == null) dart.nullFailed(I[23], 143, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } sort(compare = null) { @@ -14913,36 +15933,36 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + if (index == null) dart.nullFailed(I[23], 163, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 173, 21, "start"); - if (end == null) dart.nullFailed(I[22], 173, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + if (start == null) dart.nullFailed(I[23], 173, 21, "start"); + if (end == null) dart.nullFailed(I[23], 173, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 173, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 178, 24, "start"); - if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + if (start == null) dart.nullFailed(I[23], 178, 24, "start"); + if (end == null) dart.nullFailed(I[23], 178, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 183, 25, "start"); - if (end == null) dart.nullFailed(I[22], 183, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 183, 25, "start"); + if (end == null) dart.nullFailed(I[23], 183, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 183, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 188, 22, "start"); - if (end == null) dart.nullFailed(I[22], 188, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 188, 22, "start"); + if (end == null) dart.nullFailed(I[23], 188, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); } [Symbol.iterator]() { @@ -15005,7 +16025,7 @@ _internal.UnmodifiableListMixin$ = dart.generic(E => { last: dart.nullable(core.Object), [$last]: dart.nullable(core.Object) })); - dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.setLibraryUri(UnmodifiableListMixin, I[26]); dart.defineExtensionMethods(UnmodifiableListMixin, [ '_set', 'setAll', @@ -15033,15 +16053,15 @@ _internal.UnmodifiableListMixin = _internal.UnmodifiableListMixin$(); dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); _internal.UnmodifiableListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; (ListBase_UnmodifiableListMixin$36.new = function() { }).prototype = ListBase_UnmodifiableListMixin$36.prototype; dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 208, 16, "newLength"); return super.length = newLength; } set first(element) { @@ -15060,15 +16080,15 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(value); super._set(index, value); return value$; } setAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.setAll(at, iterable); } add(value) { @@ -15076,30 +16096,30 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { return super.add(value); } insert(index, element) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); E.as(element); return super.insert(index, element); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 208, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 208, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.insertAll(at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.addAll(iterable); } remove(element) { return super.remove(element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.removeWhere(test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + if (test == null) dart.nullFailed(I[23], 208, 16, "test"); return super.retainWhere(test); } sort(compare = null) { @@ -15112,36 +16132,36 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { return super.clear(); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + if (index == null) dart.nullFailed(I[23], 208, 16, "index"); return super.removeAt(index); } removeLast() { return super.removeLast(); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); - if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 208, 16, "skipCount"); return super.setRange(start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); return super.removeRange(start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 208, 16, "iterable"); return super.replaceRange(start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[22], 208, 16, "start"); - if (end == null) dart.nullFailed(I[22], 208, 16, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[23], 208, 16, "start"); + if (end == null) dart.nullFailed(I[23], 208, 16, "end"); + __t$EN().as(fillValue); return super.fillRange(start, end, fillValue); } } @@ -15161,7 +16181,7 @@ _internal.UnmodifiableListBase$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.setLibraryUri(UnmodifiableListBase, I[26]); dart.defineExtensionMethods(UnmodifiableListBase, [ '_set', 'setAll', @@ -15196,18 +16216,18 @@ core.num = class num extends core.Object { return dart.as(o, core.num); } static parse(input, onError = null) { - if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + if (input == null) dart.nullFailed(I[27], 573, 27, "input"); let result = core.num.tryParse(input); if (result != null) return result; if (onError == null) dart.throw(new core.FormatException.new(input)); return onError(input); } static tryParse(input) { - let t27; - if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let t21; + if (input == null) dart.nullFailed(I[27], 600, 31, "input"); let source = input[$trim](); - t27 = core.int.tryParse(source); - return t27 == null ? core.double.tryParse(source) : t27; + t21 = core.int.tryParse(source); + return t21 == null ? core.double.tryParse(source) : t21; } }; (core.num.new = function() { @@ -15215,7 +16235,8 @@ core.num = class num extends core.Object { }).prototype = core.num.prototype; dart.addTypeCaches(core.num); core.num[dart.implements] = () => [core.Comparable$(core.num)]; -dart.setLibraryUri(core.num, I[8]); +dart.setStaticMethodSignature(core.num, () => ['is', 'as', 'parse', 'tryParse']); +dart.setLibraryUri(core.num, I[9]); core.int = class int extends core.num { static is(o) { return typeof o == "number" && Math.floor(o) == o; @@ -15227,13 +16248,19 @@ core.int = class int extends core.num { return dart.as(o, core.int); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; - if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 252, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 252, 49, "defaultValue"); + return core.int.fromEnvironment(name, {defaultValue: defaultValue}); + } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + if (source == null) dart.nullFailed(I[7], 238, 27, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let onError = opts && 'onError' in opts ? opts.onError : null; let value = core.int.tryParse(source, {radix: radix}); @@ -15242,14 +16269,19 @@ core.int = class int extends core.num { dart.throw(new core.FormatException.new(source)); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + if (source == null) dart.nullFailed(I[7], 247, 31, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return _js_helper.Primitives.parseInt(source, radix); } }; dart.addTypeCaches(core.int); -dart.setLibraryUri(core.int, I[8]); +dart.setStaticMethodSignature(core.int, () => ['is', 'as', 'fromEnvironment', 'parse', 'tryParse']); +dart.setLibraryUri(core.int, I[9]); _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + static ['_#new#tearOff'](_string) { + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); + return new _internal.CodeUnits.new(_string); + } get length() { return this[_string$].length; } @@ -15257,16 +16289,16 @@ _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(co super.length = value; } _get(i) { - if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + if (i == null) dart.nullFailed(I[22], 95, 23, "i"); return this[_string$][$codeUnitAt](i); } static stringOf(u) { - if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + if (u == null) dart.nullFailed(I[22], 97, 36, "u"); return u[_string$]; } }; (_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); this[_string$] = _string; ; }).prototype = _internal.CodeUnits.prototype; @@ -15277,12 +16309,13 @@ dart.setMethodSignature(_internal.CodeUnits, () => ({ _get: dart.fnType(core.int, [core.int]), [$_get]: dart.fnType(core.int, [core.int]) })); +dart.setStaticMethodSignature(_internal.CodeUnits, () => ['stringOf']); dart.setGetterSignature(_internal.CodeUnits, () => ({ __proto__: dart.getGetters(_internal.CodeUnits.__proto__), length: core.int, [$length]: core.int })); -dart.setLibraryUri(_internal.CodeUnits, I[25]); +dart.setLibraryUri(_internal.CodeUnits, I[26]); dart.setFieldSignature(_internal.CodeUnits, () => ({ __proto__: dart.getFields(_internal.CodeUnits.__proto__), [_string$]: dart.finalFieldType(core.String) @@ -15297,70 +16330,78 @@ _internal.ExternalName = class ExternalName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); + return new _internal.ExternalName.new(name); + } }; (_internal.ExternalName.new = function(name) { - if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + if (name == null) dart.nullFailed(I[22], 109, 27, "name"); this[name$5] = name; ; }).prototype = _internal.ExternalName.prototype; dart.addTypeTests(_internal.ExternalName); dart.addTypeCaches(_internal.ExternalName); -dart.setLibraryUri(_internal.ExternalName, I[25]); +dart.setLibraryUri(_internal.ExternalName, I[26]); dart.setFieldSignature(_internal.ExternalName, () => ({ __proto__: dart.getFields(_internal.ExternalName.__proto__), name: dart.finalFieldType(core.String) })); _internal.SystemHash = class SystemHash extends core.Object { static combine(hash, value) { - if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); - if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + if (hash == null) dart.nullFailed(I[22], 183, 26, "hash"); + if (value == null) dart.nullFailed(I[22], 183, 36, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } static finish(hash) { - if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + if (hash == null) dart.nullFailed(I[22], 189, 25, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); } - static hash2(v1, v2) { - if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); - let hash = 0; + static hash2(v1, v2, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 195, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 195, 32, "v2"); + if (seed == null) dart.nullFailed(I[22], 195, 56, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); return _internal.SystemHash.finish(hash); } - static hash3(v1, v2, v3) { - if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); - let hash = 0; + static hash3(v1, v2, v3, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 202, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 202, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 202, 40, "v3"); + if (seed == null) dart.nullFailed(I[22], 202, 64, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); return _internal.SystemHash.finish(hash); } - static hash4(v1, v2, v3, v4) { - if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); - let hash = 0; + static hash4(v1, v2, v3, v4, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 210, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 210, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 210, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 210, 48, "v4"); + if (seed == null) dart.nullFailed(I[22], 211, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); hash = _internal.SystemHash.combine(hash, v4); return _internal.SystemHash.finish(hash); } - static hash5(v1, v2, v3, v4, v5) { - if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); - let hash = 0; + static hash5(v1, v2, v3, v4, v5, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 220, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 220, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 220, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 220, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 220, 56, "v5"); + if (seed == null) dart.nullFailed(I[22], 221, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15368,14 +16409,15 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v5); return _internal.SystemHash.finish(hash); } - static hash6(v1, v2, v3, v4, v5, v6) { - if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); - let hash = 0; + static hash6(v1, v2, v3, v4, v5, v6, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 231, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 231, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 231, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 231, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 231, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 231, 64, "v6"); + if (seed == null) dart.nullFailed(I[22], 232, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15384,15 +16426,16 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v6); return _internal.SystemHash.finish(hash); } - static hash7(v1, v2, v3, v4, v5, v6, v7) { - if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); - if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); - if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); - if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); - if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); - if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); - if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); - let hash = 0; + static hash7(v1, v2, v3, v4, v5, v6, v7, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 243, 24, "v1"); + if (v2 == null) dart.nullFailed(I[22], 243, 32, "v2"); + if (v3 == null) dart.nullFailed(I[22], 243, 40, "v3"); + if (v4 == null) dart.nullFailed(I[22], 243, 48, "v4"); + if (v5 == null) dart.nullFailed(I[22], 243, 56, "v5"); + if (v6 == null) dart.nullFailed(I[22], 243, 64, "v6"); + if (v7 == null) dart.nullFailed(I[22], 243, 72, "v7"); + if (seed == null) dart.nullFailed(I[22], 244, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15402,16 +16445,17 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v7); return _internal.SystemHash.finish(hash); } - static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { - if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); - let hash = 0; + static hash8(v1, v2, v3, v4, v5, v6, v7, v8, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 257, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 257, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 257, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 257, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 257, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 257, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 257, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 257, 67, "v8"); + if (seed == null) dart.nullFailed(I[22], 258, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15422,17 +16466,18 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v8); return _internal.SystemHash.finish(hash); } - static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); - if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); - if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); - if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); - if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); - if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); - if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); - if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); - if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); - let hash = 0; + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 272, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 272, 19, "v2"); + if (v3 == null) dart.nullFailed(I[22], 272, 27, "v3"); + if (v4 == null) dart.nullFailed(I[22], 272, 35, "v4"); + if (v5 == null) dart.nullFailed(I[22], 272, 43, "v5"); + if (v6 == null) dart.nullFailed(I[22], 272, 51, "v6"); + if (v7 == null) dart.nullFailed(I[22], 272, 59, "v7"); + if (v8 == null) dart.nullFailed(I[22], 272, 67, "v8"); + if (v9 == null) dart.nullFailed(I[22], 272, 75, "v9"); + if (seed == null) dart.nullFailed(I[22], 273, 27, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15444,18 +16489,243 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v9); return _internal.SystemHash.finish(hash); } - static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { - if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); - if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); - if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); - if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); - if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); - if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); - if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); - if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); - if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); - if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); - let hash = 0; + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 287, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 287, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 287, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 287, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 287, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 287, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 287, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 288, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 288, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 288, 27, "v10"); + if (seed == null) dart.nullFailed(I[22], 289, 27, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static hash11(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 305, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 305, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 305, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 305, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 305, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 305, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 305, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 306, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 306, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 306, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 306, 36, "v11"); + if (seed == null) dart.nullFailed(I[22], 307, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + return _internal.SystemHash.finish(hash); + } + static hash12(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 324, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 324, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 324, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 324, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 324, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 324, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 324, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 325, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 325, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 325, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 325, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 325, 45, "v12"); + if (seed == null) dart.nullFailed(I[22], 326, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + return _internal.SystemHash.finish(hash); + } + static hash13(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 344, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 344, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 344, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 344, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 344, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 344, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 344, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 345, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 345, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 345, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 345, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 345, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 345, 54, "v13"); + if (seed == null) dart.nullFailed(I[22], 346, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + return _internal.SystemHash.finish(hash); + } + static hash14(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 365, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 365, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 365, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 365, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 365, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 365, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 365, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 366, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 366, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 366, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 366, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 366, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 366, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 366, 63, "v14"); + if (seed == null) dart.nullFailed(I[22], 367, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + return _internal.SystemHash.finish(hash); + } + static hash15(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 387, 25, "v1"); + if (v2 == null) dart.nullFailed(I[22], 387, 33, "v2"); + if (v3 == null) dart.nullFailed(I[22], 387, 41, "v3"); + if (v4 == null) dart.nullFailed(I[22], 387, 49, "v4"); + if (v5 == null) dart.nullFailed(I[22], 387, 57, "v5"); + if (v6 == null) dart.nullFailed(I[22], 387, 65, "v6"); + if (v7 == null) dart.nullFailed(I[22], 387, 73, "v7"); + if (v8 == null) dart.nullFailed(I[22], 388, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 388, 19, "v9"); + if (v10 == null) dart.nullFailed(I[22], 388, 27, "v10"); + if (v11 == null) dart.nullFailed(I[22], 388, 36, "v11"); + if (v12 == null) dart.nullFailed(I[22], 388, 45, "v12"); + if (v13 == null) dart.nullFailed(I[22], 388, 54, "v13"); + if (v14 == null) dart.nullFailed(I[22], 388, 63, "v14"); + if (v15 == null) dart.nullFailed(I[22], 388, 72, "v15"); + if (seed == null) dart.nullFailed(I[22], 389, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + return _internal.SystemHash.finish(hash); + } + static hash16(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 411, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 412, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 413, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 414, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 415, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 416, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 417, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 418, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 419, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 420, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 421, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 422, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 423, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 424, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 425, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 426, 11, "v16"); + if (seed == null) dart.nullFailed(I[22], 427, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + return _internal.SystemHash.finish(hash); + } + static hash17(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 450, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 451, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 452, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 453, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 454, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 455, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 456, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 457, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 458, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 459, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 460, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 461, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 462, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 463, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 464, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 465, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 466, 11, "v17"); + if (seed == null) dart.nullFailed(I[22], 467, 12, "seed"); + let hash = seed; hash = _internal.SystemHash.combine(hash, v1); hash = _internal.SystemHash.combine(hash, v2); hash = _internal.SystemHash.combine(hash, v3); @@ -15466,10 +16736,146 @@ _internal.SystemHash = class SystemHash extends core.Object { hash = _internal.SystemHash.combine(hash, v8); hash = _internal.SystemHash.combine(hash, v9); hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + return _internal.SystemHash.finish(hash); + } + static hash18(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 491, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 492, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 493, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 494, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 495, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 496, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 497, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 498, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 499, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 500, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 501, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 502, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 503, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 504, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 505, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 506, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 507, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 508, 11, "v18"); + if (seed == null) dart.nullFailed(I[22], 509, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + return _internal.SystemHash.finish(hash); + } + static hash19(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 534, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 535, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 536, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 537, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 538, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 539, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 540, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 541, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 542, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 543, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 544, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 545, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 546, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 547, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 548, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 549, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 550, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 551, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 552, 11, "v19"); + if (seed == null) dart.nullFailed(I[22], 553, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + return _internal.SystemHash.finish(hash); + } + static hash20(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, seed = 0) { + if (v1 == null) dart.nullFailed(I[22], 579, 11, "v1"); + if (v2 == null) dart.nullFailed(I[22], 580, 11, "v2"); + if (v3 == null) dart.nullFailed(I[22], 581, 11, "v3"); + if (v4 == null) dart.nullFailed(I[22], 582, 11, "v4"); + if (v5 == null) dart.nullFailed(I[22], 583, 11, "v5"); + if (v6 == null) dart.nullFailed(I[22], 584, 11, "v6"); + if (v7 == null) dart.nullFailed(I[22], 585, 11, "v7"); + if (v8 == null) dart.nullFailed(I[22], 586, 11, "v8"); + if (v9 == null) dart.nullFailed(I[22], 587, 11, "v9"); + if (v10 == null) dart.nullFailed(I[22], 588, 11, "v10"); + if (v11 == null) dart.nullFailed(I[22], 589, 11, "v11"); + if (v12 == null) dart.nullFailed(I[22], 590, 11, "v12"); + if (v13 == null) dart.nullFailed(I[22], 591, 11, "v13"); + if (v14 == null) dart.nullFailed(I[22], 592, 11, "v14"); + if (v15 == null) dart.nullFailed(I[22], 593, 11, "v15"); + if (v16 == null) dart.nullFailed(I[22], 594, 11, "v16"); + if (v17 == null) dart.nullFailed(I[22], 595, 11, "v17"); + if (v18 == null) dart.nullFailed(I[22], 596, 11, "v18"); + if (v19 == null) dart.nullFailed(I[22], 597, 11, "v19"); + if (v20 == null) dart.nullFailed(I[22], 598, 11, "v20"); + if (seed == null) dart.nullFailed(I[22], 599, 12, "seed"); + let hash = seed; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + hash = _internal.SystemHash.combine(hash, v11); + hash = _internal.SystemHash.combine(hash, v12); + hash = _internal.SystemHash.combine(hash, v13); + hash = _internal.SystemHash.combine(hash, v14); + hash = _internal.SystemHash.combine(hash, v15); + hash = _internal.SystemHash.combine(hash, v16); + hash = _internal.SystemHash.combine(hash, v17); + hash = _internal.SystemHash.combine(hash, v18); + hash = _internal.SystemHash.combine(hash, v19); + hash = _internal.SystemHash.combine(hash, v20); return _internal.SystemHash.finish(hash); } static smear(x) { - if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + if (x == null) dart.nullFailed(I[22], 635, 24, "x"); x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; @@ -15477,13 +16883,42 @@ _internal.SystemHash = class SystemHash extends core.Object { x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; return x; } + static ['_#new#tearOff']() { + return new _internal.SystemHash.new(); + } }; (_internal.SystemHash.new = function() { ; }).prototype = _internal.SystemHash.prototype; dart.addTypeTests(_internal.SystemHash); dart.addTypeCaches(_internal.SystemHash); -dart.setLibraryUri(_internal.SystemHash, I[25]); +dart.setStaticMethodSignature(_internal.SystemHash, () => ['combine', 'finish', 'hash2', 'hash3', 'hash4', 'hash5', 'hash6', 'hash7', 'hash8', 'hash9', 'hash10', 'hash11', 'hash12', 'hash13', 'hash14', 'hash15', 'hash16', 'hash17', 'hash18', 'hash19', 'hash20', 'smear']); +dart.setLibraryUri(_internal.SystemHash, I[26]); +const id$ = SentinelValue_id; +_internal.SentinelValue = class SentinelValue extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + return new _internal.SentinelValue.new(id); + } +}; +(_internal.SentinelValue.new = function(id) { + if (id == null) dart.nullFailed(I[22], 650, 28, "id"); + this[id$] = id; + ; +}).prototype = _internal.SentinelValue.prototype; +dart.addTypeTests(_internal.SentinelValue); +dart.addTypeCaches(_internal.SentinelValue); +dart.setLibraryUri(_internal.SentinelValue, I[26]); +dart.setFieldSignature(_internal.SentinelValue, () => ({ + __proto__: dart.getFields(_internal.SentinelValue.__proto__), + id: dart.finalFieldType(core.int) +})); var version$ = dart.privateName(_internal, "Since.version"); _internal.Since = class Since extends core.Object { get version() { @@ -15492,21 +16927,28 @@ _internal.Since = class Since extends core.Object { set version(value) { super.version = value; } + static ['_#new#tearOff'](version) { + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); + return new _internal.Since.new(version); + } }; (_internal.Since.new = function(version) { - if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + if (version == null) dart.nullFailed(I[22], 745, 20, "version"); this[version$] = version; ; }).prototype = _internal.Since.prototype; dart.addTypeTests(_internal.Since); dart.addTypeCaches(_internal.Since); -dart.setLibraryUri(_internal.Since, I[25]); +dart.setLibraryUri(_internal.Since, I[26]); dart.setFieldSignature(_internal.Since, () => ({ __proto__: dart.getFields(_internal.Since.__proto__), version: dart.finalFieldType(core.String) })); var _name$ = dart.privateName(_internal, "_name"); core.Error = class Error extends core.Object { + static ['_#new#tearOff']() { + return new core.Error.new(); + } static safeToString(object) { if (typeof object == 'number' || typeof object == 'boolean' || object == null) { return dart.toString(object); @@ -15517,38 +16959,57 @@ core.Error = class Error extends core.Object { return core.Error._objectToString(object); } static _stringToSafeString(string) { - if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + if (string == null) dart.nullFailed(I[7], 346, 44, "string"); return JSON.stringify(string); } static _objectToString(object) { - if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + if (object == null) dart.nullFailed(I[7], 341, 40, "object"); return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; } get stackTrace() { return dart.stackTraceForError(this); } + static throwWithStackTrace(error, stackTrace) { + if (error == null) dart.nullFailed(I[28], 117, 43, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 117, 61, "stackTrace"); + _internal.checkNotNullable(core.Object, error, "error"); + _internal.checkNotNullable(core.StackTrace, stackTrace, "stackTrace"); + core.Error._throw(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + static _throw(error, stackTrace) { + if (error == null) dart.nullFailed(I[7], 354, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[7], 354, 48, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); + dart.throw("unreachable"); + } }; (core.Error.new = function() { ; }).prototype = core.Error.prototype; dart.addTypeTests(core.Error); dart.addTypeCaches(core.Error); +dart.setStaticMethodSignature(core.Error, () => ['safeToString', '_stringToSafeString', '_objectToString', 'throwWithStackTrace', '_throw']); dart.setGetterSignature(core.Error, () => ({ __proto__: dart.getGetters(core.Error.__proto__), stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.Error, I[8]); +dart.setLibraryUri(core.Error, I[9]); dart.defineExtensionAccessors(core.Error, ['stackTrace']); const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); _internal.NotNullableError$ = dart.generic(T => { class NotNullableError extends core.Error { + static ['_#new#tearOff'](T, _name) { + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); + return new (_internal.NotNullableError$(T)).new(_name); + } toString() { - return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + return "Null is not a valid value for '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; } } (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); this[_name$] = _name; NotNullableError.__proto__.new.call(this); ; @@ -15557,7 +17018,7 @@ _internal.NotNullableError$ = dart.generic(T => { NotNullableError.prototype[_is_NotNullableError_default] = true; dart.addTypeCaches(NotNullableError); NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[25]); + dart.setLibraryUri(NotNullableError, I[26]); dart.setFieldSignature(NotNullableError, () => ({ __proto__: dart.getFields(NotNullableError.__proto__), [_name$]: dart.finalFieldType(core.String) @@ -15573,7 +17034,8 @@ _internal.HttpStatus = class HttpStatus extends core.Object {}; }).prototype = _internal.HttpStatus.prototype; dart.addTypeTests(_internal.HttpStatus); dart.addTypeCaches(_internal.HttpStatus); -dart.setLibraryUri(_internal.HttpStatus, I[25]); +dart.setLibraryUri(_internal.HttpStatus, I[26]); +dart.setStaticFieldSignature(_internal.HttpStatus, () => ['continue__', 'switchingProtocols', 'processing', 'ok', 'created', 'accepted', 'nonAuthoritativeInformation', 'noContent', 'resetContent', 'partialContent', 'multiStatus', 'alreadyReported', 'imUsed', 'multipleChoices', 'movedPermanently', 'found', 'movedTemporarily', 'seeOther', 'notModified', 'useProxy', 'temporaryRedirect', 'permanentRedirect', 'badRequest', 'unauthorized', 'paymentRequired', 'forbidden', 'notFound', 'methodNotAllowed', 'notAcceptable', 'proxyAuthenticationRequired', 'requestTimeout', 'conflict', 'gone', 'lengthRequired', 'preconditionFailed', 'requestEntityTooLarge', 'requestUriTooLong', 'unsupportedMediaType', 'requestedRangeNotSatisfiable', 'expectationFailed', 'misdirectedRequest', 'unprocessableEntity', 'locked', 'failedDependency', 'upgradeRequired', 'preconditionRequired', 'tooManyRequests', 'requestHeaderFieldsTooLarge', 'connectionClosedWithoutResponse', 'unavailableForLegalReasons', 'clientClosedRequest', 'internalServerError', 'notImplemented', 'badGateway', 'serviceUnavailable', 'gatewayTimeout', 'httpVersionNotSupported', 'variantAlsoNegotiates', 'insufficientStorage', 'loopDetected', 'notExtended', 'networkAuthenticationRequired', 'networkConnectTimeoutError', 'CONTINUE', 'SWITCHING_PROTOCOLS', 'OK', 'CREATED', 'ACCEPTED', 'NON_AUTHORITATIVE_INFORMATION', 'NO_CONTENT', 'RESET_CONTENT', 'PARTIAL_CONTENT', 'MULTIPLE_CHOICES', 'MOVED_PERMANENTLY', 'FOUND', 'MOVED_TEMPORARILY', 'SEE_OTHER', 'NOT_MODIFIED', 'USE_PROXY', 'TEMPORARY_REDIRECT', 'BAD_REQUEST', 'UNAUTHORIZED', 'PAYMENT_REQUIRED', 'FORBIDDEN', 'NOT_FOUND', 'METHOD_NOT_ALLOWED', 'NOT_ACCEPTABLE', 'PROXY_AUTHENTICATION_REQUIRED', 'REQUEST_TIMEOUT', 'CONFLICT', 'GONE', 'LENGTH_REQUIRED', 'PRECONDITION_FAILED', 'REQUEST_ENTITY_TOO_LARGE', 'REQUEST_URI_TOO_LONG', 'UNSUPPORTED_MEDIA_TYPE', 'REQUESTED_RANGE_NOT_SATISFIABLE', 'EXPECTATION_FAILED', 'UPGRADE_REQUIRED', 'INTERNAL_SERVER_ERROR', 'NOT_IMPLEMENTED', 'BAD_GATEWAY', 'SERVICE_UNAVAILABLE', 'GATEWAY_TIMEOUT', 'HTTP_VERSION_NOT_SUPPORTED', 'NETWORK_CONNECT_TIMEOUT_ERROR']); dart.defineLazy(_internal.HttpStatus, { /*_internal.HttpStatus.continue__*/get continue__() { return 100; @@ -15894,6 +17356,101 @@ dart.defineLazy(_internal.HttpStatus, { return 599; } }, false); +var _previousLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._previousLink"); +var _nextLink = dart.privateName(_internal, "DoubleLinkedQueueEntry._nextLink"); +var element$ = dart.privateName(_internal, "DoubleLinkedQueueEntry.element"); +var _previousLink$ = dart.privateName(_internal, "_previousLink"); +var _nextLink$ = dart.privateName(_internal, "_nextLink"); +var _link = dart.privateName(_internal, "_link"); +const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); +_internal.DoubleLinkedQueueEntry$ = dart.generic(E => { + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); + class DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = __t$DoubleLinkedQueueEntryNOfE().as(value); + } + get element() { + return this[element$]; + } + set element(value) { + this[element$] = E.as(value); + } + static ['_#new#tearOff'](E, element) { + return new (_internal.DoubleLinkedQueueEntry$(E)).new(element); + } + [_link](previous, next) { + let t21, t21$; + this[_nextLink$] = next; + this[_previousLink$] = previous; + t21 = previous; + t21 == null ? null : t21[_nextLink$] = this; + t21$ = next; + t21$ == null ? null : t21$[_previousLink$] = this; + } + append(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (__t$DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + let t21, t21$; + t21 = this[_previousLink$]; + t21 == null ? null : t21[_nextLink$] = this[_nextLink$]; + t21$ = this[_nextLink$]; + t21$ == null ? null : t21$[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(element) { + this[_previousLink] = null; + this[_nextLink] = null; + this[element$] = element; + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), dart.nullable(_internal.DoubleLinkedQueueEntry$(E))]), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[26]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + [_nextLink$]: dart.fieldType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E))), + element: dart.fieldType(E) + })); + return DoubleLinkedQueueEntry; +}); +_internal.DoubleLinkedQueueEntry = _internal.DoubleLinkedQueueEntry$(); +dart.addTypeTests(_internal.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); var _source$ = dart.privateName(_internal, "_source"); var _add = dart.privateName(async, "_add"); var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); @@ -15902,53 +17459,64 @@ var _completeError = dart.privateName(async, "_completeError"); var _complete = dart.privateName(async, "_complete"); var _sink$ = dart.privateName(async, "_sink"); async.Stream$ = dart.generic(T => { - var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); - var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); - var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); - var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); - var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); - var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); - var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); - var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); - var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); - var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); - var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); - var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); - var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); - var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); - var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); - var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); - var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + var __t$_AsBroadcastStreamOfT = () => (__t$_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var __t$_WhereStreamOfT = () => (__t$_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_HandleErrorStreamOfT = () => (__t$_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var __t$StreamConsumerOfT = () => (__t$StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var __t$TAndTToT = () => (__t$TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$ListOfT = () => (__t$ListOfT = dart.constFn(core.List$(T)))(); + var __t$_FutureOfListOfT = () => (__t$_FutureOfListOfT = dart.constFn(async._Future$(__t$ListOfT())))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); + var __t$_FutureOfSetOfT = () => (__t$_FutureOfSetOfT = dart.constFn(async._Future$(__t$SetOfT())))(); + var __t$_TakeStreamOfT = () => (__t$_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var __t$_TakeWhileStreamOfT = () => (__t$_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var __t$_SkipStreamOfT = () => (__t$_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var __t$_SkipWhileStreamOfT = () => (__t$_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var __t$_DistinctStreamOfT = () => (__t$_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrOfTTovoid = () => (__t$FutureOrOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$FutureOrOfT()])))(); + var __t$_SyncBroadcastStreamControllerOfT = () => (__t$_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var __t$_SyncStreamControllerOfT = () => (__t$_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_ControllerEventSinkWrapperOfT = () => (__t$_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); class Stream extends core.Object { + static ['_#empty#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } static value(value) { - let t27; - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_add](value); - t27[_closeUnchecked](); - return t27; + let t21; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_add](value); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#value#tearOff'](T, value) { + return async.Stream$(T).value(value); + } static error(error, stackTrace = null) { - let t28, t27; - if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + let t22, t21; + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); - return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { - t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); - t27[_closeUnchecked](); - return t27; + return (t21 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t21[_addError](error, (t22 = stackTrace, t22 == null ? async.AsyncError.defaultStackTrace(error) : t22)); + t21[_closeUnchecked](); + return t21; })()).stream; } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[30], 212, 31, "error"); + return async.Stream$(T).error(error, stackTrace); + } static fromFuture(future) { - if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); future.then(core.Null, dart.fn(value => { controller[_add](value); @@ -15959,8 +17527,12 @@ async.Stream$ = dart.generic(T => { }, T$.dynamicAnddynamicToNull())}); return controller.stream; } + static ['_#fromFuture#tearOff'](T, future) { + if (future == null) dart.nullFailed(I[30], 241, 39, "future"); + return async.Stream$(T).fromFuture(future); + } static fromFutures(futures) { - if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let count = 0; function onValue(value) { @@ -15971,8 +17543,8 @@ async.Stream$ = dart.generic(T => { } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[28], 199, 25, "error"); - if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (error == null) dart.nullFailed(I[30], 305, 25, "error"); + if (stack == null) dart.nullFailed(I[30], 305, 43, "stack"); if (!dart.test(controller.isClosed)) { controller[_addError](error, stack); if ((count = count - 1) === 0) controller[_closeUnchecked](); @@ -15986,33 +17558,114 @@ async.Stream$ = dart.generic(T => { if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); return controller.stream; } + static ['_#fromFutures#tearOff'](T, futures) { + if (futures == null) dart.nullFailed(I[30], 291, 50, "futures"); + return async.Stream$(T).fromFutures(futures); + } + static ['_#fromIterable#tearOff'](T, elements) { + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).fromIterable(elements); + } static fromIterable(elements) { - if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); - return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + if (elements == null) dart.nullFailed(I[30], 344, 43, "elements"); + return async.Stream$(T).multi(dart.fn(controller => { + if (controller == null) dart.nullFailed(I[30], 345, 24, "controller"); + let iterator = null; + try { + iterator = elements[$iterator]; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + controller.close(); + return; + } else + throw e$; + } + let zone = async.Zone.current; + let isScheduled = true; + function next() { + if (!dart.test(controller.hasListener) || dart.test(controller.isPaused)) { + isScheduled = false; + return; + } + let hasNext = null; + try { + hasNext = iterator.moveNext(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + controller.closeSync(); + return; + } else + throw e$; + } + if (dart.test(hasNext)) { + try { + controller.addSync(iterator.current); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + controller.addErrorSync(e, s); + } else + throw e$0; + } + if (dart.test(controller.hasListener) && !dart.test(controller.isPaused)) { + zone.scheduleMicrotask(next); + } else { + isScheduled = false; + } + } else { + controller.closeSync(); + } + } + dart.fn(next, T$.VoidTovoid()); + controller.onResume = dart.fn(() => { + if (!isScheduled) { + isScheduled = true; + zone.scheduleMicrotask(next); + } + }, T$.VoidTovoid()); + zone.scheduleMicrotask(next); + }, dart.fnType(dart.void, [async.MultiStreamController$(T)]))); + } + static ['_#multi#tearOff'](T, onListen, opts) { + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); + return async.Stream$(T).multi(onListen, {isBroadcast: isBroadcast}); } static multi(onListen, opts) { - if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + if (onListen == null) dart.nullFailed(I[30], 461, 64, "onListen"); let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + if (isBroadcast == null) dart.nullFailed(I[30], 462, 13, "isBroadcast"); return new (async._MultiStream$(T)).new(onListen, isBroadcast); } + static ['_#periodic#tearOff'](T, period, computation = null) { + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); + return async.Stream$(T).periodic(period, computation); + } static periodic(period, computation = null) { - if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (period == null) dart.nullFailed(I[30], 487, 36, "period"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); } let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); let watch = new core.Stopwatch.new(); controller.onListen = dart.fn(() => { - let t28; + let t25; let computationCount = 0; function sendEvent(_) { - let t27; + let t24; watch.reset(); if (computation != null) { let event = null; try { - event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -16029,17 +17682,17 @@ async.Stream$ = dart.generic(T => { } dart.fn(sendEvent, T$.dynamicTovoid()); let timer = async.Timer.periodic(period, sendEvent); - t28 = controller; + t25 = controller; (() => { - t28.onCancel = dart.fn(() => { + t25.onCancel = dart.fn(() => { timer.cancel(); return async.Future._nullFuture; }, T$.VoidTo_FutureOfNull()); - t28.onPause = dart.fn(() => { + t25.onPause = dart.fn(() => { watch.stop(); timer.cancel(); }, T$.VoidTovoid()); - t28.onResume = dart.fn(() => { + t25.onResume = dart.fn(() => { let elapsed = watch.elapsed; watch.start(); timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { @@ -16047,18 +17700,23 @@ async.Stream$ = dart.generic(T => { sendEvent(null); }, T$.VoidTovoid())); }, T$.VoidTovoid()); - return t28; + return t25; })(); }, T$.VoidTovoid()); return controller.stream; } static eventTransformed(source, mapSink) { - if (source == null) dart.nullFailed(I[28], 403, 23, "source"); - if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); } + static ['_#eventTransformed#tearOff'](T, source, mapSink) { + if (source == null) dart.nullFailed(I[30], 575, 23, "source"); + if (mapSink == null) dart.nullFailed(I[30], 575, 50, "mapSink"); + return async.Stream$(T).eventTransformed(source, mapSink); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + if (source == null) dart.nullFailed(I[30], 585, 45, "source"); return new (_internal.CastStream$(S, T)).new(source); } get isBroadcast() { @@ -16067,18 +17725,18 @@ async.Stream$ = dart.generic(T => { asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); } where(test) { - if (test == null) dart.nullFailed(I[28], 493, 24, "test"); - return new (_WhereStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 725, 24, "test"); + return new (__t$_WhereStreamOfT()).new(this, test); } map(S, convert) { - if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + if (convert == null) dart.nullFailed(I[30], 769, 22, "convert"); return new (async._MapStream$(T, S)).new(this, convert); } asyncMap(E, convert) { - if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + if (convert == null) dart.nullFailed(I[30], 781, 37, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16086,7 +17744,7 @@ async.Stream$ = dart.generic(T => { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t29; + let t26; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); function add(value) { controller.add(value); @@ -16113,21 +17771,21 @@ async.Stream$ = dart.generic(T => { } else { controller.add(E.as(newValue)); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t29 = controller; + t26 = controller; (() => { - t29.onPause = dart.bind(subscription, 'pause'); - t29.onResume = resume; - return t29; + t26.onPause = dart.bind(subscription, 'pause'); + t26.onResume = resume; + return t26; })(); } }, T$.VoidTovoid()); return controller.stream; } asyncExpand(E, convert) { - if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + if (convert == null) dart.nullFailed(I[30], 841, 39, "convert"); let controller = null; if (dart.test(this.isBroadcast)) { controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); @@ -16135,7 +17793,7 @@ async.Stream$ = dart.generic(T => { controller = new (async._SyncStreamController$(E)).new(null, null, null, null); } controller.onListen = dart.fn(() => { - let t30; + let t27; let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); subscription.onData(dart.fn(event => { let newStream = null; @@ -16154,54 +17812,64 @@ async.Stream$ = dart.generic(T => { subscription.pause(); controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); } - }, TTovoid())); + }, __t$TTovoid())); controller.onCancel = dart.bind(subscription, 'cancel'); if (!dart.test(this.isBroadcast)) { - t30 = controller; + t27 = controller; (() => { - t30.onPause = dart.bind(subscription, 'pause'); - t30.onResume = dart.bind(subscription, 'resume'); - return t30; + t27.onPause = dart.bind(subscription, 'pause'); + t27.onResume = dart.bind(subscription, 'resume'); + return t27; })(); } }, T$.VoidTovoid()); return controller.stream; } handleError(onError, opts) { - if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + if (onError == null) dart.nullFailed(I[30], 923, 34, "onError"); let test = opts && 'test' in opts ? opts.test : null; - return new (_HandleErrorStreamOfT()).new(this, onError, test); + let callback = null; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + callback = onError; + } else if (T$.ObjectTovoid().is(onError)) { + callback = dart.fn((error, _) => { + if (error == null) dart.nullFailed(I[30], 928, 26, "error"); + if (_ == null) dart.nullFailed(I[30], 928, 44, "_"); + onError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments.")); + } + return new (__t$_HandleErrorStreamOfT()).new(this, callback, test); } expand(S, convert) { - if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + if (convert == null) dart.nullFailed(I[30], 958, 35, "convert"); return new (async._ExpandStream$(T, S)).new(this, convert); } pipe(streamConsumer) { - StreamConsumerOfT().as(streamConsumer); - if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + __t$StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[30], 976, 33, "streamConsumer"); return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); } transform(S, streamTransformer) { async.StreamTransformer$(T, S).as(streamTransformer); - if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + if (streamTransformer == null) dart.nullFailed(I[30], 1005, 50, "streamTransformer"); return streamTransformer.bind(this); } reduce(combine) { - TAndTToT().as(combine); - if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); - let result = new (_FutureOfT()).new(); + __t$TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[30], 1033, 22, "combine"); + let result = new (__t$_FutureOfT()).new(); let seenFirst = false; let value = null; let value$35isSet = false; function value$35get() { return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); } - dart.fn(value$35get, VoidToT()); - function value$35set(t33) { + function value$35set(value$35param) { value$35isSet = true; - return value = t33; + return value = value$35param; } - dart.fn(value$35set, TTodynamic()); let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { if (!seenFirst) { try { @@ -16220,18 +17888,18 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { value$35set(newValue); - }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); } else { value$35set(element); seenFirst = true; } - }, TTovoid())); + }, __t$TTovoid())); return result; } fold(S, initialValue, combine) { - if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + if (combine == null) dart.nullFailed(I[30], 1087, 39, "combine"); let result = new (async._Future$(S)).new(); let value = initialValue; let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { @@ -16241,11 +17909,11 @@ async.Stream$ = dart.generic(T => { async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { value = newValue; }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); - }, TTovoid())); + }, __t$TTovoid())); return result; } join(separator = "") { - if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + if (separator == null) dart.nullFailed(I[30], 1121, 31, "separator"); let result = new (T$._FutureOfString()).new(); let buffer = new core.StringBuffer.new(); let first = true; @@ -16263,7 +17931,7 @@ async.Stream$ = dart.generic(T => { } else throw e$; } - }, TTovoid()) : dart.fn(element => { + }, __t$TTovoid()) : dart.fn(element => { if (!first) { buffer.write(separator); } @@ -16278,7 +17946,7 @@ async.Stream$ = dart.generic(T => { } else throw e$; } - }, TTovoid())); + }, __t$TTovoid())); return result; } contains(needle) { @@ -16288,16 +17956,16 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1175, 53, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } forEach(action) { - if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + if (action == null) dart.nullFailed(I[30], 1192, 23, "action"); let future = new async._Future.new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](null); @@ -16305,39 +17973,39 @@ async.Stream$ = dart.generic(T => { subscription.onData(dart.fn(element => { async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } every(test) { - if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + if (test == null) dart.nullFailed(I[30], 1226, 27, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](true); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1233, 47, "isMatch"); if (!dart.test(isMatch)) { async._cancelAndValue(subscription, future, false); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } any(test) { - if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + if (test == null) dart.nullFailed(I[30], 1264, 25, "test"); let future = new (T$._FutureOfbool()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](false); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(element => { async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1271, 47, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, true); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } get length() { @@ -16345,7 +18013,7 @@ async.Stream$ = dart.generic(T => { let count = 0; this.listen(dart.fn(_ => { count = count + 1; - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](count); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16357,28 +18025,28 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(_ => { async._cancelAndValue(subscription, future, false); - }, TTovoid())); + }, __t$TTovoid())); return future; } cast(R) { return async.Stream.castFrom(T, R, this); } toList() { - let result = JSArrayOfT().of([]); - let future = new (_FutureOfListOfT()).new(); + let result = __t$JSArrayOfT().of([]); + let future = new (__t$_FutureOfListOfT()).new(); this.listen(dart.fn(data => { result[$add](data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; } toSet() { - let result = new (_HashSetOfT()).new(); - let future = new (_FutureOfSetOfT()).new(); + let result = new (__t$_HashSetOfT()).new(); + let future = new (__t$_FutureOfSetOfT()).new(); this.listen(dart.fn(data => { result.add(data); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { future[_complete](result); }, T$.VoidTovoid()), cancelOnError: true}); return future; @@ -16390,26 +18058,26 @@ async.Stream$ = dart.generic(T => { return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); } take(count) { - if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); - return new (_TakeStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1444, 22, "count"); + return new (__t$_TakeStreamOfT()).new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); - return new (_TakeWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1475, 28, "test"); + return new (__t$_TakeWhileStreamOfT()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); - return new (_SkipStreamOfT()).new(this, count); + if (count == null) dart.nullFailed(I[30], 1499, 22, "count"); + return new (__t$_SkipStreamOfT()).new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); - return new (_SkipWhileStreamOfT()).new(this, test); + if (test == null) dart.nullFailed(I[30], 1527, 28, "test"); + return new (__t$_SkipWhileStreamOfT()).new(this, test); } distinct(equals = null) { - return new (_DistinctStreamOfT()).new(this, equals); + return new (__t$_DistinctStreamOfT()).new(this, equals); } get first() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { try { dart.throw(_internal.IterableElementError.noElement()); @@ -16424,27 +18092,25 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._cancelAndValue(subscription, future, value); - }, TTovoid())); + }, __t$TTovoid())); return future; } get last() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t42) { + function result$35set(result$35param) { result$35isSet = true; - return result = t42; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; this.listen(dart.fn(value => { foundResult = true; result$35set(value); - }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { future[_complete](result$35get()); return; @@ -16463,18 +18129,16 @@ async.Stream$ = dart.generic(T => { return future; } get single() { - let future = new (_FutureOfT()).new(); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t48) { + function result$35set(result$35param) { result$35isSet = true; - return result = t48; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16508,17 +18172,17 @@ async.Stream$ = dart.generic(T => { } foundResult = true; result$35set(value); - }, TTovoid())); + }, __t$TTovoid())); return future; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16534,30 +18198,28 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1716, 45, "isMatch"); if (dart.test(isMatch)) { async._cancelAndValue(subscription, future, value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t56) { + function result$35set(result$35param) { result$35isSet = true; - return result = t56; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16565,7 +18227,7 @@ async.Stream$ = dart.generic(T => { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16581,31 +18243,29 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1767, 45, "isMatch"); if (dart.test(isMatch)) { foundResult = true; result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - let future = new (_FutureOfT()).new(); + __t$VoidToNT().as(orElse); + let future = new (__t$_FutureOfT()).new(); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToT()); - function result$35set(t62) { + function result$35set(result$35param) { result$35isSet = true; - return result = t62; + return result = result$35param; } - dart.fn(result$35set, TTodynamic()); let foundResult = false; let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { if (foundResult) { @@ -16613,7 +18273,7 @@ async.Stream$ = dart.generic(T => { return; } if (orElse != null) { - async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); return; } try { @@ -16629,7 +18289,7 @@ async.Stream$ = dart.generic(T => { }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { - if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (isMatch == null) dart.nullFailed(I[30], 1818, 45, "isMatch"); if (dart.test(isMatch)) { if (foundResult) { try { @@ -16648,17 +18308,17 @@ async.Stream$ = dart.generic(T => { result$35set(value); } }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, TTovoid())); + }, __t$TTovoid())); return future; } elementAt(index) { - if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); core.RangeError.checkNotNegative(index, "index"); - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); let elementIndex = 0; let subscription = null; subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + result[_completeError](new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); }, T$.VoidTovoid()), cancelOnError: true}); subscription.onData(dart.fn(value => { if (index === elementIndex) { @@ -16666,17 +18326,17 @@ async.Stream$ = dart.generic(T => { return; } elementIndex = elementIndex + 1; - }, TTovoid())); + }, __t$TTovoid())); return result; } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[30], 1924, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; let controller = null; if (dart.test(this.isBroadcast)) { - controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + controller = new (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); } else { - controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); } let zone = async.Zone.current; let timeoutCallback = null; @@ -16685,54 +18345,54 @@ async.Stream$ = dart.generic(T => { controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); }, T$.VoidTovoid()); } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); - let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); + let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); timeoutCallback = dart.fn(() => { wrapper[_sink$] = controller; - zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); wrapper[_sink$] = null; }, T$.VoidTovoid()); } controller.onListen = dart.fn(() => { - let t66, t66$; + let t58, t58$; let timer = zone.createTimer(timeLimit, timeoutCallback); let subscription = this.listen(null); - t66 = subscription; + t58 = subscription; (() => { - t66.onData(dart.fn(event => { + t58.onData(dart.fn(event => { timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller.add(event); - }, TTovoid())); - t66.onError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + }, __t$TTovoid())); + t58.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[30], 1966, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[30], 1966, 45, "stackTrace"); timer.cancel(); timer = zone.createTimer(timeLimit, timeoutCallback); controller[_addError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())); - t66.onDone(dart.fn(() => { + t58.onDone(dart.fn(() => { timer.cancel(); controller.close(); }, T$.VoidTovoid())); - return t66; + return t58; })(); controller.onCancel = dart.fn(() => { timer.cancel(); return subscription.cancel(); }, T$.VoidToFutureOfvoid()); if (!dart.test(this.isBroadcast)) { - t66$ = controller; + t58$ = controller; (() => { - t66$.onPause = dart.fn(() => { + t58$.onPause = dart.fn(() => { timer.cancel(); subscription.pause(); }, T$.VoidTovoid()); - t66$.onResume = dart.fn(() => { + t58$.onResume = dart.fn(() => { subscription.resume(); timer = zone.createTimer(timeLimit, timeoutCallback); }, T$.VoidTovoid()); - return t66$; + return t58$; })(); } }, T$.VoidTovoid()); @@ -16781,6 +18441,7 @@ async.Stream$ = dart.generic(T => { elementAt: dart.fnType(async.Future$(T), [core.int]), timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) })); + dart.setStaticMethodSignature(Stream, () => ['empty', 'value', 'error', 'fromFuture', 'fromFutures', 'fromIterable', 'multi', 'periodic', 'eventTransformed', 'castFrom']); dart.setGetterSignature(Stream, () => ({ __proto__: dart.getGetters(Stream.__proto__), isBroadcast: core.bool, @@ -16790,28 +18451,33 @@ async.Stream$ = dart.generic(T => { last: async.Future$(T), single: async.Future$(T) })); - dart.setLibraryUri(Stream, I[29]); + dart.setLibraryUri(Stream, I[31]); + dart.setStaticFieldSignature(Stream, () => ['_redirecting#']); return Stream; }); async.Stream = async.Stream$(); dart.addTypeTests(async.Stream, dart.isStream); const _is_CastStream_default = Symbol('_is_CastStream_default'); _internal.CastStream$ = dart.generic((S, T) => { - var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + var __t$CastStreamSubscriptionOfS$T = () => (__t$CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); class CastStream extends async.Stream$(T) { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); + return new (_internal.CastStream$(S, T)).new(_source); + } get isBroadcast() { return this[_source$].isBroadcast; } listen(onData, opts) { - let t27; + let t21; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); return (() => { - t27.onData(onData); - t27.onError(onError); - return t27; + t21.onData(onData); + t21.onError(onError); + return t21; })(); } cast(R) { @@ -16819,7 +18485,7 @@ _internal.CastStream$ = dart.generic((S, T) => { } } (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); this[_source$] = _source; CastStream.__proto__.new.call(this); ; @@ -16832,7 +18498,7 @@ _internal.CastStream$ = dart.generic((S, T) => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStream, I[25]); + dart.setLibraryUri(CastStream, I[26]); dart.setFieldSignature(CastStream, () => ({ __proto__: dart.getFields(CastStream.__proto__), [_source$]: dart.finalFieldType(async.Stream$(S)) @@ -16848,6 +18514,10 @@ var _onData = dart.privateName(_internal, "_onData"); const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); _internal.CastStreamSubscription$ = dart.generic((S, T) => { class CastStreamSubscription extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); + return new (_internal.CastStreamSubscription$(S, T)).new(_source); + } cancel() { return this[_source$].cancel(); } @@ -16907,7 +18577,7 @@ _internal.CastStreamSubscription$ = dart.generic((S, T) => { } } (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); this[_zone] = async.Zone.current; this[_handleData] = null; this[_handleError] = null; @@ -16934,7 +18604,7 @@ _internal.CastStreamSubscription$ = dart.generic((S, T) => { __proto__: dart.getGetters(CastStreamSubscription.__proto__), isPaused: core.bool })); - dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setLibraryUri(CastStreamSubscription, I[26]); dart.setFieldSignature(CastStreamSubscription, () => ({ __proto__: dart.getFields(CastStreamSubscription.__proto__), [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), @@ -16964,26 +18634,30 @@ async.StreamTransformerBase$ = dart.generic((S, T) => { __proto__: dart.getMethods(StreamTransformerBase.__proto__), cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(StreamTransformerBase, I[29]); + dart.setLibraryUri(StreamTransformerBase, I[31]); return StreamTransformerBase; }); async.StreamTransformerBase = async.StreamTransformerBase$(); dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(_source); + } cast(RS, RT) { return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 108, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } } (CastStreamTransformer.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + if (_source == null) dart.nullFailed(I[29], 104, 30, "_source"); this[_source$] = _source; CastStreamTransformer.__proto__.new.call(this); ; @@ -16996,7 +18670,7 @@ _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setLibraryUri(CastStreamTransformer, I[26]); dart.setFieldSignature(CastStreamTransformer, () => ({ __proto__: dart.getFields(CastStreamTransformer.__proto__), [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) @@ -17007,29 +18681,29 @@ _internal.CastStreamTransformer = _internal.CastStreamTransformer$(); dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); const _is_Converter_default = Symbol('_is_Converter_default'); convert.Converter$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class Converter extends async.StreamTransformerBase$(S, T) { static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + if (source == null) dart.nullFailed(I[32], 21, 71, "source"); return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); } fuse(TT, other) { convert.Converter$(T, TT).as(other); - if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + if (other == null) dart.nullFailed(I[32], 31, 46, "other"); return new (convert._FusedConverter$(S, T, TT)).new(this, other); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 39, 42, "sink"); dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); - return StreamOfT().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[32], 44, 28, "stream"); + return __t$StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[32], 46, 28, "sink"); return new convert._ConverterStreamEventSink.new(this, sink); }, T$.EventSinkTo_ConverterStreamEventSink())); } @@ -17051,22 +18725,27 @@ convert.Converter$ = dart.generic((S, T) => { bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(Converter, I[31]); + dart.setStaticMethodSignature(Converter, () => ['castFrom']); + dart.setLibraryUri(Converter, I[33]); return Converter; }); convert.Converter = convert.Converter$(); dart.addTypeTests(convert.Converter, _is_Converter_default); const _is_CastConverter_default = Symbol('_is_CastConverter_default'); _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { - var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + var __t$StreamOfTS = () => (__t$StreamOfTS = dart.constFn(async.Stream$(TS)))(); class CastConverter extends convert.Converter$(TS, TT) { + static ['_#new#tearOff'](SS, ST, TS, TT, _source) { + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(_source); + } convert(input) { TS.as(input); return TT.as(this[_source$].convert(SS.as(input))); } bind(stream) { - StreamOfTS().as(stream); - if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + __t$StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[29], 120, 30, "stream"); return this[_source$].bind(stream.cast(SS)).cast(TT); } cast(RS, RT) { @@ -17074,7 +18753,7 @@ _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { } } (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); this[_source$] = _source; CastConverter.__proto__.new.call(this); ; @@ -17087,7 +18766,7 @@ _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { convert: dart.fnType(TT, [dart.nullable(core.Object)]), cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastConverter, I[25]); + dart.setLibraryUri(CastConverter, I[26]); dart.setFieldSignature(CastConverter, () => ({ __proto__: dart.getFields(CastConverter.__proto__), [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) @@ -17099,29 +18778,38 @@ dart.addTypeTests(_internal.CastConverter, _is_CastConverter_default); _internal.BytesBuilder = class BytesBuilder extends core.Object { static new(opts) { let copy = opts && 'copy' in opts ? opts.copy : true; - if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); } + static ['_#new#tearOff'](opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[34], 30, 30, "copy"); + return _internal.BytesBuilder.new({copy: copy}); + } }; (_internal.BytesBuilder[dart.mixinNew] = function() { }).prototype = _internal.BytesBuilder.prototype; dart.addTypeTests(_internal.BytesBuilder); dart.addTypeCaches(_internal.BytesBuilder); -dart.setLibraryUri(_internal.BytesBuilder, I[25]); +dart.setStaticMethodSignature(_internal.BytesBuilder, () => ['new']); +dart.setLibraryUri(_internal.BytesBuilder, I[26]); var _length$ = dart.privateName(_internal, "_length"); var _buffer = dart.privateName(_internal, "_buffer"); var _grow = dart.privateName(_internal, "_grow"); var _clear = dart.privateName(_internal, "_clear"); _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff']() { + return new _internal._CopyingBytesBuilder.new(); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 89, 22, "bytes"); let byteCount = bytes[$length]; if (byteCount === 0) return; let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); if (dart.notNull(this[_buffer][$length]) < required) { this[_grow](required); } - if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[34], 96, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer][$setRange](this[_length$], required, bytes); } else { @@ -17132,16 +18820,16 @@ _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object this[_length$] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (byte == null) dart.nullFailed(I[34], 107, 20, "byte"); if (this[_buffer][$length] == this[_length$]) { this[_grow](this[_length$]); } - if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[34], 113, 12, "_buffer.length > _length"); this[_buffer][$_set](this[_length$], byte); this[_length$] = dart.notNull(this[_length$]) + 1; } [_grow](required) { - if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + if (required == null) dart.nullFailed(I[34], 118, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -17179,8 +18867,8 @@ _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object this[_buffer] = _internal._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[32], 161, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + if (x == null) dart.nullFailed(I[34], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[34], 162, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -17208,18 +18896,20 @@ dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ clear: dart.fnType(dart.void, []), [_clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_internal._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); +dart.setLibraryUri(_internal._CopyingBytesBuilder, I[26]); dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_buffer]: dart.fieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(_internal._CopyingBytesBuilder, () => ['_initSize', '_emptyList']); dart.defineLazy(_internal._CopyingBytesBuilder, { /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { return 1024; @@ -17231,7 +18921,7 @@ dart.defineLazy(_internal._CopyingBytesBuilder, { var _chunks = dart.privateName(_internal, "_chunks"); _internal._BytesBuilder = class _BytesBuilder extends core.Object { add(bytes) { - if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); let typedBytes = null; if (typed_data.Uint8List.is(bytes)) { typedBytes = bytes; @@ -17242,11 +18932,11 @@ _internal._BytesBuilder = class _BytesBuilder extends core.Object { this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); } addByte(byte) { - let t67; - if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); - this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { - t67[$_set](0, byte); - return t67; + let t59; + if (byte == null) dart.nullFailed(I[34], 192, 20, "byte"); + this[_chunks][$add]((t59 = _native_typed_data.NativeUint8List.new(1), (() => { + t59[$_set](0, byte); + return t59; })())); this[_length$] = dart.notNull(this[_length$]) + 1; } @@ -17292,6 +18982,9 @@ _internal._BytesBuilder = class _BytesBuilder extends core.Object { this[_length$] = 0; this[_chunks][$clear](); } + static ['_#new#tearOff']() { + return new _internal._BytesBuilder.new(); + } }; (_internal._BytesBuilder.new = function() { this[_length$] = 0; @@ -17316,35 +19009,41 @@ dart.setGetterSignature(_internal._BytesBuilder, () => ({ isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(_internal._BytesBuilder, I[25]); +dart.setLibraryUri(_internal._BytesBuilder, I[26]); dart.setFieldSignature(_internal._BytesBuilder, () => ({ __proto__: dart.getFields(_internal._BytesBuilder.__proto__), [_length$]: dart.fieldType(core.int), [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) })); core.Iterable$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class Iterable extends core.Object { static generate(count, generator = null) { - if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); return new (core._GeneratorIterable$(E)).new(count, generator); } + static ['_#generate#tearOff'](E, count, generator = null) { + if (count == null) dart.nullFailed(I[36], 102, 33, "count"); + return core.Iterable$(E).generate(count, generator); + } + static ['_#empty#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + if (source == null) dart.nullFailed(I[36], 119, 49, "source"); return _internal.CastIterable$(S, T).new(source); } [Symbol.iterator]() { @@ -17354,28 +19053,28 @@ core.Iterable$ = dart.generic(E => { return core.Iterable.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[36], 172, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } - map(T, f) { - if (f == null) dart.nullFailed(I[34], 185, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[36], 217, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } where(test) { - if (test == null) dart.nullFailed(I[34], 199, 26, "test"); - return new (WhereIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 239, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[34], 230, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[36], 280, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } contains(element) { for (let e of this) { @@ -17383,14 +19082,14 @@ core.Iterable$ = dart.generic(E => { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[36], 324, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[36], 350, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -17402,21 +19101,21 @@ core.Iterable$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + if (combine == null) dart.nullFailed(I[36], 383, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(test) { - if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + if (test == null) dart.nullFailed(I[36], 401, 19, "test"); for (let element of this) { if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + if (separator == null) dart.nullFailed(I[36], 421, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -17434,7 +19133,7 @@ core.Iterable$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + if (test == null) dart.nullFailed(I[36], 450, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -17442,14 +19141,14 @@ core.Iterable$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().of(this); + return __t$LinkedHashSetOfE().of(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[36], 494, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -17464,20 +19163,20 @@ core.Iterable$ = dart.generic(E => { return !dart.test(this[$isEmpty]); } take(count) { - if (count == null) dart.nullFailed(I[34], 412, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 543, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[34], 424, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 564, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[34], 442, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[36], 589, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[34], 456, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[36], 612, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -17505,9 +19204,9 @@ core.Iterable$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + if (test == null) dart.nullFailed(I[36], 676, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -17515,20 +19214,18 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + if (test == null) dart.nullFailed(I[36], 705, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t70) { + function result$35set(result$35param) { result$35isSet = true; - return result = t70; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17541,20 +19238,18 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + if (test == null) dart.nullFailed(I[36], 742, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t75) { + function result$35set(result$35param) { result$35isSet = true; - return result = t75; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -17570,14 +19265,14 @@ core.Iterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + if (index == null) dart.nullFailed(I[36], 774, 19, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; for (let element of this) { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -17638,6 +19333,7 @@ core.Iterable$ = dart.generic(E => { elementAt: dart.fnType(E, [core.int]), [$elementAt]: dart.fnType(E, [core.int]) })); + dart.setStaticMethodSignature(Iterable, () => ['generate', 'empty', 'castFrom']); dart.setGetterSignature(Iterable, () => ({ __proto__: dart.getGetters(Iterable.__proto__), length: core.int, @@ -17653,7 +19349,8 @@ core.Iterable$ = dart.generic(E => { single: E, [$single]: E })); - dart.setLibraryUri(Iterable, I[8]); + dart.setLibraryUri(Iterable, I[9]); + dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); dart.defineExtensionMethods(Iterable, [ 'cast', 'followedBy', @@ -17694,15 +19391,15 @@ core.Iterable = core.Iterable$(); dart.addTypeTests(core.Iterable, dart.isIterable); const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); _internal._CastIterableBase$ = dart.generic((S, T) => { - var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); - var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); - var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var __t$CastIteratorOfS$T = () => (__t$CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$VoidToS = () => (__t$VoidToS = dart.constFn(dart.fnType(S, [])))(); + var __t$VoidToT = () => (__t$VoidToT = dart.constFn(dart.fnType(T, [])))(); + var __t$VoidToNT = () => (__t$VoidToNT = dart.constFn(dart.nullable(__t$VoidToT())))(); class _CastIterableBase extends core.Iterable$(T) { get iterator() { - return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + return new (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); } get length() { return this[_source$][$length]; @@ -17714,15 +19411,15 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { return this[_source$][$isNotEmpty]; } skip(count) { - if (count == null) dart.nullFailed(I[33], 39, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$skip](count)); + if (count == null) dart.nullFailed(I[35], 39, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$skip](count)); } take(count) { - if (count == null) dart.nullFailed(I[33], 40, 24, "count"); - return CastIterableOfS$T().new(this[_source$][$take](count)); + if (count == null) dart.nullFailed(I[35], 40, 24, "count"); + return __t$CastIterableOfS$T().new(this[_source$][$take](count)); } elementAt(index) { - if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + if (index == null) dart.nullFailed(I[35], 42, 19, "index"); return T.as(this[_source$][$elementAt](index)); } get first() { @@ -17738,10 +19435,10 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { return this[_source$][$contains](other); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + if (test == null) dart.nullFailed(I[35], 51, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNT().as(orElse); - return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + __t$VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), __t$STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), __t$VoidToS())})); } toString() { return dart.toString(this[_source$]); @@ -17759,7 +19456,7 @@ _internal._CastIterableBase$ = dart.generic((S, T) => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(_CastIterableBase, I[25]); + dart.setLibraryUri(_CastIterableBase, I[26]); dart.defineExtensionMethods(_CastIterableBase, [ 'skip', 'take', @@ -17784,6 +19481,10 @@ dart.addTypeTests(_internal._CastIterableBase, _is__CastIterableBase_default); const _is_CastIterator_default = Symbol('_is_CastIterator_default'); _internal.CastIterator$ = dart.generic((S, T) => { class CastIterator extends core.Object { + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); + return new (_internal.CastIterator$(S, T)).new(_source); + } moveNext() { return this[_source$].moveNext(); } @@ -17792,7 +19493,7 @@ _internal.CastIterator$ = dart.generic((S, T) => { } } (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); this[_source$] = _source; ; }).prototype = CastIterator.prototype; @@ -17808,7 +19509,7 @@ _internal.CastIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(CastIterator.__proto__), current: T })); - dart.setLibraryUri(CastIterator, I[25]); + dart.setLibraryUri(CastIterator, I[26]); dart.setFieldSignature(CastIterator, () => ({ __proto__: dart.getFields(CastIterator.__proto__), [_source$]: dart.fieldType(core.Iterator$(S)) @@ -17827,19 +19528,27 @@ _internal.CastIterable$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#_#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); + return new (_internal.CastIterable$(S, T)).__(_source); + } static new(source) { - if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); if (_internal.EfficientLengthIterable$(S).is(source)) { return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); } return new (_internal.CastIterable$(S, T)).__(source); } + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 70, 36, "source"); + return _internal.CastIterable$(S, T).new(source); + } cast(R) { return _internal.CastIterable$(S, R).new(this[_source$]); } } (CastIterable.__ = function(_source) { - if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + if (_source == null) dart.nullFailed(I[35], 68, 23, "_source"); this[_source$0] = _source; CastIterable.__proto__.new.call(this); ; @@ -17852,7 +19561,8 @@ _internal.CastIterable$ = dart.generic((S, T) => { cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastIterable, I[25]); + dart.setStaticMethodSignature(CastIterable, () => ['new']); + dart.setLibraryUri(CastIterable, I[26]); dart.setFieldSignature(CastIterable, () => ({ __proto__: dart.getFields(CastIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)) @@ -17864,9 +19574,14 @@ _internal.CastIterable = _internal.CastIterable$(); dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { - class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) { + static ['_#new#tearOff'](S, T, source) { + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + } (_EfficientLengthCastIterable.new = function(source) { - if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + if (source == null) dart.nullFailed(I[35], 82, 59, "source"); _EfficientLengthCastIterable.__proto__.__.call(this, source); ; }).prototype = _EfficientLengthCastIterable.prototype; @@ -17874,19 +19589,19 @@ _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; dart.addTypeCaches(_EfficientLengthCastIterable); _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + dart.setLibraryUri(_EfficientLengthCastIterable, I[26]); return _EfficientLengthCastIterable; }); _internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); const _is__CastListBase_default = Symbol('_is__CastListBase_default'); _internal._CastListBase$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$SAndSToint = () => (__t$SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastIterableOfS$T = () => (__t$CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; (_CastIterableBase_ListMixin$36.new = function() { _CastIterableBase_ListMixin$36.__proto__.new.call(this); @@ -17894,18 +19609,18 @@ _internal._CastListBase$ = dart.generic((S, T) => { dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); class _CastListBase extends _CastIterableBase_ListMixin$36 { _get(index) { - if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + if (index == null) dart.nullFailed(I[35], 99, 21, "index"); return T.as(this[_source$][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + if (index == null) dart.nullFailed(I[35], 101, 25, "index"); T.as(value); this[_source$][$_set](index, S.as(value)); return value$; } set length(length) { - if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + if (length == null) dart.nullFailed(I[35], 105, 23, "length"); this[_source$][$length] = length; } get length() { @@ -17916,81 +19631,81 @@ _internal._CastListBase$ = dart.generic((S, T) => { this[_source$][$add](S.as(value)); } addAll(values) { - IterableOfT().as(values); - if (values == null) dart.nullFailed(I[33], 113, 27, "values"); - this[_source$][$addAll](CastIterableOfT$S().new(values)); + __t$IterableOfT().as(values); + if (values == null) dart.nullFailed(I[35], 113, 27, "values"); + this[_source$][$addAll](__t$CastIterableOfT$S().new(values)); } sort(compare = null) { - this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), __t$SAndSToint())); } shuffle(random = null) { this[_source$][$shuffle](random); } insert(index, element) { - if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + if (index == null) dart.nullFailed(I[35], 126, 19, "index"); T.as(element); this[_source$][$insert](index, S.as(element)); } insertAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 130, 22, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); - this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 130, 22, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 130, 41, "elements"); + this[_source$][$insertAll](index, __t$CastIterableOfT$S().new(elements)); } setAll(index, elements) { - if (index == null) dart.nullFailed(I[33], 134, 19, "index"); - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); - this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + if (index == null) dart.nullFailed(I[35], 134, 19, "index"); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 134, 38, "elements"); + this[_source$][$setAll](index, __t$CastIterableOfT$S().new(elements)); } remove(value) { return this[_source$][$remove](value); } removeAt(index) { - if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + if (index == null) dart.nullFailed(I[35], 140, 18, "index"); return T.as(this[_source$][$removeAt](index)); } removeLast() { return T.as(this[_source$][$removeLast]()); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 148, 25, "test"); - this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), __t$STobool())); } getRange(start, end) { - if (start == null) dart.nullFailed(I[33], 152, 28, "start"); - if (end == null) dart.nullFailed(I[33], 152, 39, "end"); - return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + if (start == null) dart.nullFailed(I[35], 152, 28, "start"); + if (end == null) dart.nullFailed(I[35], 152, 39, "end"); + return __t$CastIterableOfS$T().new(this[_source$][$getRange](start, end)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[33], 155, 21, "start"); - if (end == null) dart.nullFailed(I[33], 155, 32, "end"); - IterableOfT().as(iterable); - if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); - this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + if (start == null) dart.nullFailed(I[35], 155, 21, "start"); + if (end == null) dart.nullFailed(I[35], 155, 32, "end"); + __t$IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[35], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[35], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, __t$CastIterableOfT$S().new(iterable), skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[33], 159, 24, "start"); - if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + if (start == null) dart.nullFailed(I[35], 159, 24, "start"); + if (end == null) dart.nullFailed(I[35], 159, 35, "end"); this[_source$][$removeRange](start, end); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[33], 163, 22, "start"); - if (end == null) dart.nullFailed(I[33], 163, 33, "end"); - TN().as(fillValue); + if (start == null) dart.nullFailed(I[35], 163, 22, "start"); + if (end == null) dart.nullFailed(I[35], 163, 33, "end"); + __t$TN().as(fillValue); this[_source$][$fillRange](start, end, S.as(fillValue)); } replaceRange(start, end, replacement) { - if (start == null) dart.nullFailed(I[33], 167, 25, "start"); - if (end == null) dart.nullFailed(I[33], 167, 36, "end"); - IterableOfT().as(replacement); - if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); - this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + if (start == null) dart.nullFailed(I[35], 167, 25, "start"); + if (end == null) dart.nullFailed(I[35], 167, 36, "end"); + __t$IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[35], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, __t$CastIterableOfT$S().new(replacement)); } } (_CastListBase.new = function() { @@ -18012,7 +19727,7 @@ _internal._CastListBase$ = dart.generic((S, T) => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_CastListBase, I[25]); + dart.setLibraryUri(_CastListBase, I[26]); dart.defineExtensionMethods(_CastListBase, [ '_get', '_set', @@ -18049,12 +19764,16 @@ _internal.CastList$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); + return new (_internal.CastList$(S, T)).new(_source); + } cast(R) { return new (_internal.CastList$(S, R)).new(this[_source$]); } } (CastList.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + if (_source == null) dart.nullFailed(I[35], 174, 17, "_source"); this[_source$1] = _source; CastList.__proto__.new.call(this); ; @@ -18067,7 +19786,7 @@ _internal.CastList$ = dart.generic((S, T) => { cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastList, I[25]); + dart.setLibraryUri(CastList, I[26]); dart.setFieldSignature(CastList, () => ({ __proto__: dart.getFields(CastList.__proto__), [_source$]: dart.finalFieldType(core.List$(S)) @@ -18083,12 +19802,12 @@ var _conditionalAdd = dart.privateName(_internal, "_conditionalAdd"); var _clone = dart.privateName(_internal, "_clone"); const _is_CastSet_default = Symbol('_is_CastSet_default'); _internal.CastSet$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); - var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); - var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$CastSetOfS$T = () => (__t$CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$_HashSetOfT = () => (__t$_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var __t$SetOfT = () => (__t$SetOfT = dart.constFn(core.Set$(T)))(); class CastSet extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$2]; @@ -18096,8 +19815,9 @@ _internal.CastSet$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } - static _defaultEmptySet(R) { - return new (collection._HashSet$(R)).new(); + static ['_#new#tearOff'](S, T, _source, _emptySet) { + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); + return new (_internal.CastSet$(S, T)).new(_source, _emptySet); } cast(R) { return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); @@ -18107,48 +19827,48 @@ _internal.CastSet$ = dart.generic((S, T) => { return this[_source$].add(S.as(value)); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 192, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } remove(object) { return this[_source$].remove(object); } removeAll(objects) { - if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 198, 36, "objects"); this[_source$].removeAll(objects); } retainAll(objects) { - if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); this[_source$].retainAll(objects); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 208, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 206, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 212, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 210, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } containsAll(objects) { - if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); return this[_source$].containsAll(objects); } intersection(other) { - if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (other == null) dart.nullFailed(I[35], 216, 36, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); } difference(other) { - if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (other == null) dart.nullFailed(I[35], 221, 34, "other"); if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); } [_conditionalAdd](other, otherContains) { - if (other == null) dart.nullFailed(I[33], 228, 39, "other"); - if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + if (other == null) dart.nullFailed(I[35], 226, 39, "other"); + if (otherContains == null) dart.nullFailed(I[35], 226, 51, "otherContains"); let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); for (let element of this[_source$]) { let castElement = T.as(element); if (otherContains == other.contains(castElement)) result.add(castElement); @@ -18156,13 +19876,13 @@ _internal.CastSet$ = dart.generic((S, T) => { return result; } union(other) { - let t77; - SetOfT().as(other); - if (other == null) dart.nullFailed(I[33], 238, 23, "other"); - t77 = this[_clone](); + let t67; + __t$SetOfT().as(other); + if (other == null) dart.nullFailed(I[35], 236, 23, "other"); + t67 = this[_clone](); return (() => { - t77.addAll(other); - return t77; + t67.addAll(other); + return t67; })(); } clear() { @@ -18170,7 +19890,7 @@ _internal.CastSet$ = dart.generic((S, T) => { } [_clone]() { let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); result.addAll(this); return result; } @@ -18182,7 +19902,7 @@ _internal.CastSet$ = dart.generic((S, T) => { } } (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); this[_source$2] = _source; this[_emptySet$] = _emptySet; CastSet.__proto__.new.call(this); @@ -18212,7 +19932,7 @@ _internal.CastSet$ = dart.generic((S, T) => { [_clone]: dart.fnType(core.Set$(T), []), lookup: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(CastSet, I[25]); + dart.setLibraryUri(CastSet, I[26]); dart.setFieldSignature(CastSet, () => ({ __proto__: dart.getFields(CastSet.__proto__), [_source$]: dart.finalFieldType(core.Set$(S)), @@ -18225,32 +19945,33 @@ _internal.CastSet = _internal.CastSet$(); dart.addTypeTests(_internal.CastSet, _is_CastSet_default); const _is_MapMixin_default = Symbol('_is_MapMixin_default'); collection.MapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); - var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$KToMapEntryOfK$V = () => (__t$KToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [K])))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$JSArrayOfK = () => (__t$JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var __t$_MapBaseValueIterableOfK$V = () => (__t$_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapMixin extends core.Object { cast(RK, RV) { return core.Map.castFrom(K, V, RK, RV, this); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + if (action == null) dart.nullFailed(I[37], 121, 21, "action"); for (let key of this[$keys]) { action(key, V.as(this[$_get](key))); } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 127, 25, "other"); - for (let key of other[$keys]) { - this[$_set](key, V.as(other[$_get](key))); - } + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 127, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this[$_set](key, value); + }, __t$KAndVTovoid())); } containsValue(value) { for (let key of this[$keys]) { @@ -18259,51 +19980,51 @@ collection.MapMixin$ = dart.generic((K, V) => { return false; } putIfAbsent(key, ifAbsent) { - let t78, t77; + let t68, t67; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 140, 26, "ifAbsent"); if (dart.test(this[$containsKey](key))) { return V.as(this[$_get](key)); } - t77 = key; - t78 = ifAbsent(); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = ifAbsent(); + this[$_set](t67, t68); + return t68; } update(key, update, opts) { - let t78, t77, t78$, t77$; + let t68, t67, t68$, t67$; K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 147, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); if (dart.test(this[$containsKey](key))) { - t77 = key; - t78 = update(V.as(this[$_get](key))); - this[$_set](t77, t78); - return t78; + t67 = key; + t68 = update(V.as(this[$_get](key))); + this[$_set](t67, t68); + return t68; } if (ifAbsent != null) { - t77$ = key; - t78$ = ifAbsent(); - this[$_set](t77$, t78$); - return t78$; + t67$ = key; + t68$ = ifAbsent(); + this[$_set](t67$, t68$); + return t68$; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 157, 20, "update"); for (let key of this[$keys]) { this[$_set](key, update(key, V.as(this[$_get](key)))); } } get entries() { - return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + return this[$keys][$map](__t$MapEntryOfK$V(), dart.fn(key => new (__t$MapEntryOfK$V()).__(key, V.as(this[$_get](key))), __t$KToMapEntryOfK$V())); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 167, 44, "transform"); let result = new (_js_helper.LinkedMap$(K2, V2)).new(); for (let key of this[$keys]) { let entry = transform(key, V.as(this[$_get](key))); @@ -18312,15 +20033,15 @@ collection.MapMixin$ = dart.generic((K, V) => { return result; } addEntries(newEntries) { - IterableOfMapEntryOfK$V().as(newEntries); - if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + __t$IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[37], 176, 44, "newEntries"); for (let entry of newEntries) { this[$_set](entry.key, entry.value); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 182, 25, "test"); - let keysToRemove = JSArrayOfK().of([]); + if (test == null) dart.nullFailed(I[37], 182, 25, "test"); + let keysToRemove = __t$JSArrayOfK().of([]); for (let key of this[$keys]) { if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); } @@ -18341,7 +20062,7 @@ collection.MapMixin$ = dart.generic((K, V) => { return this[$keys][$isNotEmpty]; } get values() { - return new (_MapBaseValueIterableOfK$V()).new(this); + return new (__t$_MapBaseValueIterableOfK$V()).new(this); } toString() { return collection.MapBase.mapToString(this); @@ -18393,7 +20114,7 @@ collection.MapMixin$ = dart.generic((K, V) => { values: core.Iterable$(V), [$values]: core.Iterable$(V) })); - dart.setLibraryUri(MapMixin, I[24]); + dart.setLibraryUri(MapMixin, I[25]); dart.defineExtensionMethods(MapMixin, [ 'cast', 'forEach', @@ -18423,7 +20144,7 @@ const _is_MapBase_default = Symbol('_is_MapBase_default'); collection.MapBase$ = dart.generic((K, V) => { class MapBase extends collection.MapMixin$(K, V) { static mapToString(m) { - if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (m == null) dart.nullFailed(I[37], 22, 51, "m"); if (dart.test(collection._isToStringVisiting(m))) { return "{...}"; } @@ -18443,7 +20164,7 @@ collection.MapBase$ = dart.generic((K, V) => { }, T$.ObjectNAndObjectNTovoid())); result.write("}"); } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); collection._toStringVisiting[$removeLast](); } return result.toString(); @@ -18452,10 +20173,10 @@ collection.MapBase$ = dart.generic((K, V) => { return x; } static _fillMapWithMappedIterable(map, iterable, key, value) { - if (map == null) dart.nullFailed(I[35], 58, 29, "map"); - if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); - key == null ? key = C[19] || CT.C19 : null; - value == null ? value = C[19] || CT.C19 : null; + if (map == null) dart.nullFailed(I[37], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[37], 59, 25, "iterable"); + key == null ? key = C[20] || CT.C20 : null; + value == null ? value = C[20] || CT.C20 : null; if (key == null) dart.throw("!"); if (value == null) dart.throw("!"); for (let element of iterable) { @@ -18463,9 +20184,9 @@ collection.MapBase$ = dart.generic((K, V) => { } } static _fillMapWithIterables(map, keys, values) { - if (map == null) dart.nullFailed(I[35], 77, 59, "map"); - if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); - if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + if (map == null) dart.nullFailed(I[37], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[37], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[37], 78, 49, "values"); let keyIterator = keys[$iterator]; let valueIterator = values[$iterator]; let hasNextKey = keyIterator.moveNext(); @@ -18486,32 +20207,37 @@ collection.MapBase$ = dart.generic((K, V) => { dart.addTypeTests(MapBase); MapBase.prototype[_is_MapBase_default] = true; dart.addTypeCaches(MapBase); - dart.setLibraryUri(MapBase, I[24]); + dart.setStaticMethodSignature(MapBase, () => ['mapToString', '_id', '_fillMapWithMappedIterable', '_fillMapWithIterables']); + dart.setLibraryUri(MapBase, I[25]); return MapBase; }); collection.MapBase = collection.MapBase$(); dart.addTypeTests(collection.MapBase, _is_MapBase_default); const _is_CastMap_default = Symbol('_is_CastMap_default'); _internal.CastMap$ = dart.generic((SK, SV, K, V) => { - var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); - var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); - var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); - var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); - var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); - var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); - var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); - var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); - var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); - var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var VN = () => (VN = dart.constFn(dart.nullable(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$CastMapOfK$V$SK$SV = () => (__t$CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var __t$SKAndSVTovoid = () => (__t$SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var __t$CastIterableOfSK$K = () => (__t$CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var __t$SKAndSVToSV = () => (__t$SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var __t$MapEntryOfSK$SV = () => (__t$MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var __t$MapEntryOfSK$SVToMapEntryOfK$V = () => (__t$MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(__t$MapEntryOfK$V(), [__t$MapEntryOfSK$SV()])))(); + var __t$SKAndSVTobool = () => (__t$SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var __t$VoidToSV = () => (__t$VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var __t$CastIterableOfSV$V = () => (__t$CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var __t$SVToSV = () => (__t$SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$VN = () => (__t$VN = dart.constFn(dart.nullable(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class CastMap extends collection.MapBase$(K, V) { + static ['_#new#tearOff'](SK, SV, K, V, _source) { + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); + return new (_internal.CastMap$(SK, SV, K, V)).new(_source); + } cast(RK, RV) { return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); } @@ -18522,7 +20248,7 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { return this[_source$][$containsKey](key); } _get(key) { - return VN().as(this[_source$][$_get](key)); + return __t$VN().as(this[_source$][$_get](key)); } _set(key, value$) { let value = value$; @@ -18533,32 +20259,32 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); - return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 271, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV()))); } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[33], 276, 25, "other"); - this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 274, 25, "other"); + this[_source$][$addAll](new (__t$CastMapOfK$V$SK$SV()).new(other)); } remove(key) { - return VN().as(this[_source$][$remove](key)); + return __t$VN().as(this[_source$][$remove](key)); } clear() { this[_source$][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + if (f == null) dart.nullFailed(I[35], 284, 21, "f"); this[_source$][$forEach](dart.fn((key, value) => { f(K.as(key), V.as(value)); - }, SKAndSVTovoid())); + }, __t$SKAndSVTovoid())); } get keys() { - return CastIterableOfSK$K().new(this[_source$][$keys]); + return __t$CastIterableOfSK$K().new(this[_source$][$keys]); } get values() { - return CastIterableOfSV$V().new(this[_source$][$values]); + return __t$CastIterableOfSV$V().new(this[_source$][$values]); } get length() { return this[_source$][$length]; @@ -18571,37 +20297,37 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[35], 300, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); - return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + __t$VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), __t$SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), __t$VoidToSV())})); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[33], 307, 20, "update"); - this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 305, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), __t$SKAndSVToSV())); } get entries() { - return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { - if (e == null) dart.nullFailed(I[33], 313, 27, "e"); - return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); - }, MapEntryOfSK$SVToMapEntryOfK$V())); + return this[_source$][$entries][$map](__t$MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[35], 311, 27, "e"); + return new (__t$MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, __t$MapEntryOfSK$SVToMapEntryOfK$V())); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 314, 44, "entries"); for (let entry of entries) { this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); } } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 322, 25, "test"); - this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + if (test == null) dart.nullFailed(I[35], 320, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), __t$SKAndSVTobool())); } } (CastMap.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + if (_source == null) dart.nullFailed(I[35], 257, 16, "_source"); this[_source$] = _source; ; }).prototype = CastMap.prototype; @@ -18626,7 +20352,7 @@ _internal.CastMap$ = dart.generic((SK, SV, K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CastMap, I[25]); + dart.setLibraryUri(CastMap, I[26]); dart.setFieldSignature(CastMap, () => ({ __proto__: dart.getFields(CastMap.__proto__), [_source$]: dart.finalFieldType(core.Map$(SK, SV)) @@ -18662,9 +20388,9 @@ dart.addTypeTests(_internal.CastMap, _is_CastMap_default); var _source$3 = dart.privateName(_internal, "CastQueue._source"); const _is_CastQueue_default = Symbol('_is_CastQueue_default'); _internal.CastQueue$ = dart.generic((S, T) => { - var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); - var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); - var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var __t$CastIterableOfT$S = () => (__t$CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var __t$STobool = () => (__t$STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var __t$IterableOfT = () => (__t$IterableOfT = dart.constFn(core.Iterable$(T)))(); class CastQueue extends _internal._CastIterableBase$(S, T) { get [_source$]() { return this[_source$3]; @@ -18672,6 +20398,10 @@ _internal.CastQueue$ = dart.generic((S, T) => { set [_source$](value) { super[_source$] = value; } + static ['_#new#tearOff'](S, T, _source) { + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); + return new (_internal.CastQueue$(S, T)).new(_source); + } cast(R) { return new (_internal.CastQueue$(S, R)).new(this[_source$]); } @@ -18697,24 +20427,24 @@ _internal.CastQueue$ = dart.generic((S, T) => { return this[_source$].remove(other); } addAll(elements) { - IterableOfT().as(elements); - if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); - this[_source$].addAll(CastIterableOfT$S().new(elements)); + __t$IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[35], 346, 27, "elements"); + this[_source$].addAll(__t$CastIterableOfT$S().new(elements)); } removeWhere(test) { - if (test == null) dart.nullFailed(I[33], 352, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 350, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[33], 356, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + if (test == null) dart.nullFailed(I[35], 354, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); } clear() { this[_source$].clear(); } } (CastQueue.new = function(_source) { - if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + if (_source == null) dart.nullFailed(I[35], 327, 18, "_source"); this[_source$3] = _source; CastQueue.__proto__.new.call(this); ; @@ -18738,7 +20468,7 @@ _internal.CastQueue$ = dart.generic((S, T) => { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), clear: dart.fnType(dart.void, []) })); - dart.setLibraryUri(CastQueue, I[25]); + dart.setLibraryUri(CastQueue, I[26]); dart.setFieldSignature(CastQueue, () => ({ __proto__: dart.getFields(CastQueue.__proto__), [_source$]: dart.finalFieldType(collection.Queue$(S)) @@ -18750,6 +20480,33 @@ _internal.CastQueue = _internal.CastQueue$(); dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); var _message$ = dart.privateName(_internal, "_message"); _internal.LateError = class LateError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.LateError.new(_message); + } + static ['_#fieldADI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); + return new _internal.LateError.fieldADI(fieldName); + } + static ['_#localADI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); + return new _internal.LateError.localADI(localName); + } + static ['_#fieldNI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); + return new _internal.LateError.fieldNI(fieldName); + } + static ['_#localNI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); + return new _internal.LateError.localNI(localName); + } + static ['_#fieldAI#tearOff'](fieldName) { + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); + return new _internal.LateError.fieldAI(fieldName); + } + static ['_#localAI#tearOff'](localName) { + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); + return new _internal.LateError.localAI(localName); + } toString() { let message = this[_message$]; return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; @@ -18761,50 +20518,53 @@ _internal.LateError = class LateError extends core.Error { ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldADI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 16, 29, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localADI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + if (localName == null) dart.nullFailed(I[38], 20, 29, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldNI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 25, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localNI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 28, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.fieldAI = function(fieldName) { - if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + if (fieldName == null) dart.nullFailed(I[38], 31, 28, "fieldName"); this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; (_internal.LateError.localAI = function(localName) { - if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + if (localName == null) dart.nullFailed(I[38], 34, 28, "localName"); this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; _internal.LateError.__proto__.new.call(this); ; }).prototype = _internal.LateError.prototype; dart.addTypeTests(_internal.LateError); dart.addTypeCaches(_internal.LateError); -dart.setLibraryUri(_internal.LateError, I[25]); +dart.setLibraryUri(_internal.LateError, I[26]); dart.setFieldSignature(_internal.LateError, () => ({ __proto__: dart.getFields(_internal.LateError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) })); dart.defineExtensionMethods(_internal.LateError, ['toString']); _internal.ReachabilityError = class ReachabilityError extends core.Error { + static ['_#new#tearOff'](_message = null) { + return new _internal.ReachabilityError.new(_message); + } toString() { let message = this[_message$]; return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; @@ -18817,7 +20577,7 @@ _internal.ReachabilityError = class ReachabilityError extends core.Error { }).prototype = _internal.ReachabilityError.prototype; dart.addTypeTests(_internal.ReachabilityError); dart.addTypeCaches(_internal.ReachabilityError); -dart.setLibraryUri(_internal.ReachabilityError, I[25]); +dart.setLibraryUri(_internal.ReachabilityError, I[26]); dart.setFieldSignature(_internal.ReachabilityError, () => ({ __proto__: dart.getFields(_internal.ReachabilityError.__proto__), [_message$]: dart.finalFieldType(dart.nullable(core.String)) @@ -18833,27 +20593,26 @@ _internal.EfficientLengthIterable$ = dart.generic(T => { dart.addTypeTests(EfficientLengthIterable); EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; dart.addTypeCaches(EfficientLengthIterable); - dart.setLibraryUri(EfficientLengthIterable, I[25]); + dart.setLibraryUri(EfficientLengthIterable, I[26]); return EfficientLengthIterable; }); _internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); const _is_ListIterable_default = Symbol('_is_ListIterable_default'); _internal.ListIterable$ = dart.generic(E => { - var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$ListIteratorOfE = () => (__t$ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class ListIterable extends _internal.EfficientLengthIterable$(E) { get iterator() { - return new (ListIteratorOfE()).new(this); + return new (__t$ListIteratorOfE()).new(this); } forEach(action) { - if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + if (action == null) dart.nullFailed(I[39], 36, 21, "action"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { action(this.elementAt(i)); @@ -18889,7 +20648,7 @@ _internal.ListIterable$ = dart.generic(E => { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + if (test == null) dart.nullFailed(I[39], 75, 19, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (!dart.test(test(this.elementAt(i)))) return false; @@ -18900,7 +20659,7 @@ _internal.ListIterable$ = dart.generic(E => { return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + if (test == null) dart.nullFailed(I[39], 86, 17, "test"); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { if (dart.test(test(this.elementAt(i)))) return true; @@ -18911,9 +20670,9 @@ _internal.ListIterable$ = dart.generic(E => { return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + if (test == null) dart.nullFailed(I[39], 97, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18926,9 +20685,9 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + if (test == null) dart.nullFailed(I[39], 110, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { let element = this.elementAt(i); @@ -18941,21 +20700,19 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + if (test == null) dart.nullFailed(I[39], 123, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let length = this.length; let match = null; let match$35isSet = false; function match$35get() { return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); } - dart.fn(match$35get, VoidToE()); - function match$35set(t80) { + function match$35set(match$35param) { match$35isSet = true; - return match = t80; + return match = match$35param; } - dart.fn(match$35set, ETodynamic()); let matchFound = false; for (let i = 0; i < dart.notNull(length); i = i + 1) { let element = this.elementAt(i); @@ -18975,7 +20732,7 @@ _internal.ListIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); let length = this.length; if (!separator[$isEmpty]) { if (length === 0) return ""; @@ -19004,16 +20761,16 @@ _internal.ListIterable$ = dart.generic(E => { } } where(test) { - if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + if (test == null) dart.nullFailed(I[39], 174, 26, "test"); return super[$where](test); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 176, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); + return new (_internal.MappedListIterable$(E, T)).new(this, toElement); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 179, 14, "combine"); let length = this.length; if (length === 0) dart.throw(_internal.IterableElementError.noElement()); let value = this.elementAt(0); @@ -19026,7 +20783,7 @@ _internal.ListIterable$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 192, 31, "combine"); let value = initialValue; let length = this.length; for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -19038,28 +20795,28 @@ _internal.ListIterable$ = dart.generic(E => { return value; } skip(count) { - if (count == null) dart.nullFailed(I[37], 203, 24, "count"); - return new (SubListIterableOfE()).new(this, count, null); + if (count == null) dart.nullFailed(I[39], 204, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, count, null); } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + if (test == null) dart.nullFailed(I[39], 206, 30, "test"); return super[$skipWhile](test); } take(count) { - if (count == null) dart.nullFailed(I[37], 207, 24, "count"); - return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + if (count == null) dart.nullFailed(I[39], 208, 24, "count"); + return new (__t$SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + if (test == null) dart.nullFailed(I[39], 211, 30, "test"); return super[$takeWhile](test); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[39], 213, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } toSet() { - let result = new (_HashSetOfE()).new(); + let result = new (__t$_HashSetOfE()).new(); for (let i = 0; i < dart.notNull(this.length); i = i + 1) { result.add(this.elementAt(i)); } @@ -19085,7 +20842,7 @@ _internal.ListIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ListIterable, I[25]); + dart.setLibraryUri(ListIterable, I[26]); dart.defineExtensionMethods(ListIterable, [ 'forEach', 'contains', @@ -19124,10 +20881,15 @@ var _endIndex = dart.privateName(_internal, "_endIndex"); var _startIndex = dart.privateName(_internal, "_startIndex"); const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); _internal.SubListIterable$ = dart.generic(E => { - var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var __t$EmptyIterableOfE = () => (__t$EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); class SubListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); + return new (_internal.SubListIterable$(E)).new(_iterable, _start, _endOrLength); + } get [_endIndex]() { let length = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; @@ -19149,45 +20911,45 @@ _internal.SubListIterable$ = dart.generic(E => { return dart.notNull(endOrLength) - dart.notNull(this[_start$]); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + if (index == null) dart.nullFailed(I[39], 265, 19, "index"); let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { - dart.throw(new core.IndexError.new(index, this, "index")); + dart.throw(new core.IndexError.withLength(index, this.length, {indexable: this, name: "index"})); } return this[_iterable$][$elementAt](realIndex); } skip(count) { - if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + if (count == null) dart.nullFailed(I[39], 274, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let newStart = dart.notNull(this[_start$]) + dart.notNull(count); let endOrLength = this[_endOrLength$]; if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { - return new (EmptyIterableOfE()).new(); + return new (__t$EmptyIterableOfE()).new(); } - return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); } take(count) { - if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + if (count == null) dart.nullFailed(I[39], 284, 24, "count"); core.RangeError.checkNotNegative(count, "count"); let endOrLength = this[_endOrLength$]; if (endOrLength == null) { - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); } else { let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); if (dart.notNull(endOrLength) < newEnd) return this; - return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + return new (__t$SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); } } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + if (growable == null) dart.nullFailed(I[39], 296, 24, "growable"); let start = this[_start$]; let end = this[_iterable$][$length]; let endOrLength = this[_endOrLength$]; if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; let length = dart.notNull(end) - dart.notNull(start); - if (length <= 0) return ListOfE().empty({growable: growable}); - let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + if (length <= 0) return __t$ListOfE().empty({growable: growable}); + let result = __t$ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); for (let i = 1; i < length; i = i + 1) { result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); @@ -19196,8 +20958,8 @@ _internal.SubListIterable$ = dart.generic(E => { } } (SubListIterable.new = function(_iterable, _start, _endOrLength) { - if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); - if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + if (_iterable == null) dart.nullFailed(I[39], 231, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[39], 231, 40, "_start"); this[_iterable$] = _iterable; this[_start$] = _start; this[_endOrLength$] = _endOrLength; @@ -19219,7 +20981,7 @@ _internal.SubListIterable$ = dart.generic(E => { [_endIndex]: core.int, [_startIndex]: core.int })); - dart.setLibraryUri(SubListIterable, I[25]); + dart.setLibraryUri(SubListIterable, I[26]); dart.setFieldSignature(SubListIterable, () => ({ __proto__: dart.getFields(SubListIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19237,6 +20999,10 @@ var _index$ = dart.privateName(_internal, "_index"); const _is_ListIterator_default = Symbol('_is_ListIterator_default'); _internal.ListIterator$ = dart.generic(E => { class ListIterator extends core.Object { + static ['_#new#tearOff'](E, iterable) { + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); + return new (_internal.ListIterator$(E)).new(iterable); + } get current() { return E.as(this[_current$]); } @@ -19255,7 +21021,7 @@ _internal.ListIterator$ = dart.generic(E => { } } (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); this[_current$] = null; this[_iterable$] = iterable; this[_length$] = iterable[$length]; @@ -19274,7 +21040,7 @@ _internal.ListIterator$ = dart.generic(E => { __proto__: dart.getGetters(ListIterator.__proto__), current: E })); - dart.setLibraryUri(ListIterator, I[25]); + dart.setLibraryUri(ListIterator, I[26]); dart.setFieldSignature(ListIterator, () => ({ __proto__: dart.getFields(ListIterator.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19289,18 +21055,28 @@ dart.addTypeTests(_internal.ListIterator, _is_ListIterator_default); var _f$ = dart.privateName(_internal, "_f"); const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); _internal.MappedIterable$ = dart.generic((S, T) => { - var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + var __t$MappedIteratorOfS$T = () => (__t$MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); class MappedIterable extends core.Iterable$(T) { static new(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); - if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); if (_internal.EfficientLengthIterable.is(iterable)) { return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); } return new (_internal.MappedIterable$(S, T)).__(iterable, $function); } + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 356, 38, "iterable"); + if ($function == null) dart.nullFailed(I[39], 356, 50, "function"); + return _internal.MappedIterable$(S, T).new(iterable, $function); + } + static ['_#_#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); + return new (_internal.MappedIterable$(S, T)).__(_iterable, _f); + } get iterator() { - return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } get length() { return this[_iterable$][$length]; @@ -19309,30 +21085,30 @@ _internal.MappedIterable$ = dart.generic((S, T) => { return this[_iterable$][$isEmpty]; } get first() { - let t82; - t82 = this[_iterable$][$first]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$first]; + return this[_f$](t71); } get last() { - let t82; - t82 = this[_iterable$][$last]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$last]; + return this[_f$](t71); } get single() { - let t82; - t82 = this[_iterable$][$single]; - return this[_f$](t82); + let t71; + t71 = this[_iterable$][$single]; + return this[_f$](t71); } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 372, 19, "index"); - t82 = this[_iterable$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 375, 19, "index"); + t71 = this[_iterable$][$elementAt](index); + return this[_f$](t71); } } (MappedIterable.__ = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 363, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 363, 41, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; MappedIterable.__proto__.new.call(this); @@ -19341,12 +21117,13 @@ _internal.MappedIterable$ = dart.generic((S, T) => { dart.addTypeTests(MappedIterable); MappedIterable.prototype[_is_MappedIterable_default] = true; dart.addTypeCaches(MappedIterable); + dart.setStaticMethodSignature(MappedIterable, () => ['new']); dart.setGetterSignature(MappedIterable, () => ({ __proto__: dart.getGetters(MappedIterable.__proto__), iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(MappedIterable, I[25]); + dart.setLibraryUri(MappedIterable, I[26]); dart.setFieldSignature(MappedIterable, () => ({ __proto__: dart.getFields(MappedIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19367,10 +21144,16 @@ _internal.MappedIterable = _internal.MappedIterable$(); dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { - class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) { + static ['_#new#tearOff'](S, T, iterable, $function) { + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + } (EfficientLengthMappedIterable.new = function(iterable, $function) { - if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); - if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + if (iterable == null) dart.nullFailed(I[39], 380, 45, "iterable"); + if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); ; }).prototype = EfficientLengthMappedIterable.prototype; @@ -19378,7 +21161,7 @@ _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; dart.addTypeCaches(EfficientLengthMappedIterable); EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); return EfficientLengthMappedIterable; }); _internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); @@ -19393,7 +21176,7 @@ core.Iterator$ = dart.generic(E => { dart.addTypeTests(Iterator); Iterator.prototype[_is_Iterator_default] = true; dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[8]); + dart.setLibraryUri(Iterator, I[9]); return Iterator; }); core.Iterator = core.Iterator$(); @@ -19401,10 +21184,15 @@ dart.addTypeTests(core.Iterator, _is_Iterator_default); const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); _internal.MappedIterator$ = dart.generic((S, T) => { class MappedIterator extends core.Iterator$(T) { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); + return new (_internal.MappedIterator$(S, T)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); return true; } this[_current$] = null; @@ -19415,8 +21203,8 @@ _internal.MappedIterator$ = dart.generic((S, T) => { } } (MappedIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 389, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 389, 39, "_f"); this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19433,7 +21221,7 @@ _internal.MappedIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(MappedIterator.__proto__), current: T })); - dart.setLibraryUri(MappedIterator, I[25]); + dart.setLibraryUri(MappedIterator, I[26]); dart.setFieldSignature(MappedIterator, () => ({ __proto__: dart.getFields(MappedIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -19447,19 +21235,24 @@ dart.addTypeTests(_internal.MappedIterator, _is_MappedIterator_default); const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); _internal.MappedListIterable$ = dart.generic((S, T) => { class MappedListIterable extends _internal.ListIterable$(T) { + static ['_#new#tearOff'](S, T, _source, _f) { + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); + return new (_internal.MappedListIterable$(S, T)).new(_source, _f); + } get length() { return this[_source$][$length]; } elementAt(index) { - let t82; - if (index == null) dart.nullFailed(I[37], 412, 19, "index"); - t82 = this[_source$][$elementAt](index); - return this[_f$](t82); + let t71; + if (index == null) dart.nullFailed(I[39], 415, 19, "index"); + t71 = this[_source$][$elementAt](index); + return this[_f$](t71); } } (MappedListIterable.new = function(_source, _f) { - if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); - if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + if (_source == null) dart.nullFailed(I[39], 412, 27, "_source"); + if (_f == null) dart.nullFailed(I[39], 412, 41, "_f"); this[_source$] = _source; this[_f$] = _f; MappedListIterable.__proto__.new.call(this); @@ -19468,7 +21261,7 @@ _internal.MappedListIterable$ = dart.generic((S, T) => { dart.addTypeTests(MappedListIterable); MappedListIterable.prototype[_is_MappedListIterable_default] = true; dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[25]); + dart.setLibraryUri(MappedListIterable, I[26]); dart.setFieldSignature(MappedListIterable, () => ({ __proto__: dart.getFields(MappedListIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(S)), @@ -19482,19 +21275,24 @@ _internal.MappedListIterable = _internal.MappedListIterable$(); dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); _internal.WhereIterable$ = dart.generic(E => { - var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + var __t$WhereIteratorOfE = () => (__t$WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); class WhereIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); + return new (_internal.WhereIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 426, 24, "f"); - return new (_internal.MappedIterable$(E, T)).__(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 429, 24, "toElement"); + return new (_internal.MappedIterable$(E, T)).__(this, toElement); } } (WhereIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 424, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 424, 38, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; WhereIterable.__proto__.new.call(this); @@ -19513,7 +21311,7 @@ _internal.WhereIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(WhereIterable, I[25]); + dart.setLibraryUri(WhereIterable, I[26]); dart.setFieldSignature(WhereIterable, () => ({ __proto__: dart.getFields(WhereIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19528,10 +21326,15 @@ dart.addTypeTests(_internal.WhereIterable, _is_WhereIterable_default); const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); _internal.WhereIterator$ = dart.generic(E => { class WhereIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); + return new (_internal.WhereIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { return true; } } @@ -19542,8 +21345,8 @@ _internal.WhereIterator$ = dart.generic(E => { } } (WhereIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 437, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 437, 38, "_f"); this[_iterator$] = _iterator; this[_f$] = _f; ; @@ -19559,7 +21362,7 @@ _internal.WhereIterator$ = dart.generic(E => { __proto__: dart.getGetters(WhereIterator.__proto__), current: E })); - dart.setLibraryUri(WhereIterator, I[25]); + dart.setLibraryUri(WhereIterator, I[26]); dart.setFieldSignature(WhereIterator, () => ({ __proto__: dart.getFields(WhereIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19571,15 +21374,20 @@ _internal.WhereIterator = _internal.WhereIterator$(); dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); _internal.ExpandIterable$ = dart.generic((S, T) => { - var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + var __t$ExpandIteratorOfS$T = () => (__t$ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); class ExpandIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](S, T, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); + return new (_internal.ExpandIterable$(S, T)).new(_iterable, _f); + } get iterator() { - return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); } } (ExpandIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 457, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 457, 39, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; ExpandIterable.__proto__.new.call(this); @@ -19593,7 +21401,7 @@ _internal.ExpandIterable$ = dart.generic((S, T) => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(ExpandIterable, I[25]); + dart.setLibraryUri(ExpandIterable, I[26]); dart.setFieldSignature(ExpandIterable, () => ({ __proto__: dart.getFields(ExpandIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(S)), @@ -19608,17 +21416,22 @@ var _currentExpansion = dart.privateName(_internal, "_currentExpansion"); const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); _internal.ExpandIterator$ = dart.generic((S, T) => { class ExpandIterator extends core.Object { + static ['_#new#tearOff'](S, T, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + return new (_internal.ExpandIterator$(S, T)).new(_iterator, _f); + } get current() { return T.as(this[_current$]); } moveNext() { - let t82; + let t71; if (this[_currentExpansion] == null) return false; while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { this[_current$] = null; if (dart.test(this[_iterator$].moveNext())) { this[_currentExpansion] = null; - this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + this[_currentExpansion] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; } else { return false; } @@ -19628,9 +21441,9 @@ _internal.ExpandIterator$ = dart.generic((S, T) => { } } (ExpandIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); - this[_currentExpansion] = C[20] || CT.C20; + if (_iterator == null) dart.nullFailed(I[39], 471, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 471, 39, "_f"); + this[_currentExpansion] = C[21] || CT.C21; this[_current$] = null; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19648,7 +21461,7 @@ _internal.ExpandIterator$ = dart.generic((S, T) => { __proto__: dart.getGetters(ExpandIterator.__proto__), current: T })); - dart.setLibraryUri(ExpandIterator, I[25]); + dart.setLibraryUri(ExpandIterator, I[26]); dart.setFieldSignature(ExpandIterator, () => ({ __proto__: dart.getFields(ExpandIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(S)), @@ -19663,11 +21476,11 @@ dart.addTypeTests(_internal.ExpandIterator, _is_ExpandIterator_default); var _takeCount$ = dart.privateName(_internal, "_takeCount"); const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); _internal.TakeIterable$ = dart.generic(E => { - var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + var __t$TakeIteratorOfE = () => (__t$TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); class TakeIterable extends core.Iterable$(E) { static new(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); core.RangeError.checkNotNegative(takeCount, "takeCount"); if (_internal.EfficientLengthIterable.is(iterable)) { @@ -19675,13 +21488,23 @@ _internal.TakeIterable$ = dart.generic(E => { } return new (_internal.TakeIterable$(E)).__(iterable, takeCount); } + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 497, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 497, 50, "takeCount"); + return _internal.TakeIterable$(E).new(iterable, takeCount); + } + static ['_#_#tearOff'](E, _iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); + return new (_internal.TakeIterable$(E)).__(_iterable, _takeCount); + } get iterator() { - return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + return new (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); } } (TakeIterable.__ = function(_iterable, _takeCount) { - if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); - if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + if (_iterable == null) dart.nullFailed(I[39], 506, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[39], 506, 39, "_takeCount"); this[_iterable$] = _iterable; this[_takeCount$] = _takeCount; TakeIterable.__proto__.new.call(this); @@ -19690,12 +21513,13 @@ _internal.TakeIterable$ = dart.generic(E => { dart.addTypeTests(TakeIterable); TakeIterable.prototype[_is_TakeIterable_default] = true; dart.addTypeCaches(TakeIterable); + dart.setStaticMethodSignature(TakeIterable, () => ['new']); dart.setGetterSignature(TakeIterable, () => ({ __proto__: dart.getGetters(TakeIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeIterable, I[25]); + dart.setLibraryUri(TakeIterable, I[26]); dart.setFieldSignature(TakeIterable, () => ({ __proto__: dart.getFields(TakeIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19709,6 +21533,11 @@ dart.addTypeTests(_internal.TakeIterable, _is_TakeIterable_default); const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); _internal.EfficientLengthTakeIterable$ = dart.generic(E => { class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + static ['_#new#tearOff'](E, iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } get length() { let iterableLength = this[_iterable$][$length]; if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; @@ -19716,8 +21545,8 @@ _internal.EfficientLengthTakeIterable$ = dart.generic(E => { } } (EfficientLengthTakeIterable.new = function(iterable, takeCount) { - if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); - if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + if (iterable == null) dart.nullFailed(I[39], 515, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[39], 515, 57, "takeCount"); EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); ; }).prototype = EfficientLengthTakeIterable.prototype; @@ -19725,7 +21554,7 @@ _internal.EfficientLengthTakeIterable$ = dart.generic(E => { EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; dart.addTypeCaches(EfficientLengthTakeIterable); EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); return EfficientLengthTakeIterable; }); @@ -19735,6 +21564,11 @@ var _remaining$ = dart.privateName(_internal, "_remaining"); const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); _internal.TakeIterator$ = dart.generic(E => { class TakeIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); + return new (_internal.TakeIterator$(E)).new(_iterator, _remaining); + } moveNext() { this[_remaining$] = dart.notNull(this[_remaining$]) - 1; if (dart.notNull(this[_remaining$]) >= 0) { @@ -19749,11 +21583,11 @@ _internal.TakeIterator$ = dart.generic(E => { } } (TakeIterator.new = function(_iterator, _remaining) { - if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); - if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + if (_iterator == null) dart.nullFailed(I[39], 529, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[39], 529, 37, "_remaining"); this[_iterator$] = _iterator; this[_remaining$] = _remaining; - if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[39], 530, 12, "_remaining >= 0"); }).prototype = TakeIterator.prototype; dart.addTypeTests(TakeIterator); TakeIterator.prototype[_is_TakeIterator_default] = true; @@ -19766,7 +21600,7 @@ _internal.TakeIterator$ = dart.generic(E => { __proto__: dart.getGetters(TakeIterator.__proto__), current: E })); - dart.setLibraryUri(TakeIterator, I[25]); + dart.setLibraryUri(TakeIterator, I[26]); dart.setFieldSignature(TakeIterator, () => ({ __proto__: dart.getFields(TakeIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19778,15 +21612,20 @@ _internal.TakeIterator = _internal.TakeIterator$(); dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); _internal.TakeWhileIterable$ = dart.generic(E => { - var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + var __t$TakeWhileIteratorOfE = () => (__t$TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); class TakeWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); + return new (_internal.TakeWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (TakeWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 556, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 556, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; TakeWhileIterable.__proto__.new.call(this); @@ -19800,7 +21639,7 @@ _internal.TakeWhileIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setLibraryUri(TakeWhileIterable, I[26]); dart.setFieldSignature(TakeWhileIterable, () => ({ __proto__: dart.getFields(TakeWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19815,10 +21654,15 @@ var _isFinished = dart.privateName(_internal, "_isFinished"); const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); _internal.TakeWhileIterator$ = dart.generic(E => { class TakeWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); + return new (_internal.TakeWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { this[_isFinished] = true; return false; } @@ -19830,8 +21674,8 @@ _internal.TakeWhileIterator$ = dart.generic(E => { } } (TakeWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 568, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 568, 42, "_f"); this[_isFinished] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -19848,7 +21692,7 @@ _internal.TakeWhileIterator$ = dart.generic(E => { __proto__: dart.getGetters(TakeWhileIterator.__proto__), current: E })); - dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setLibraryUri(TakeWhileIterator, I[26]); dart.setFieldSignature(TakeWhileIterator, () => ({ __proto__: dart.getFields(TakeWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19862,28 +21706,38 @@ dart.addTypeTests(_internal.TakeWhileIterator, _is_TakeWhileIterator_default); var _skipCount$ = dart.privateName(_internal, "_skipCount"); const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); _internal.SkipIterable$ = dart.generic(E => { - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipIteratorOfE = () => (__t$SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); class SkipIterable extends core.Iterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); - if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); if (_internal.EfficientLengthIterable.is(iterable)) { return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); } return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 589, 36, "iterable"); + if (count == null) dart.nullFailed(I[39], 589, 50, "count"); + return _internal.SkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, _iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); + return new (_internal.SkipIterable$(E)).__(_iterable, _skipCount); + } skip(count) { - if (count == null) dart.nullFailed(I[37], 594, 24, "count"); - return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 598, 24, "count"); + return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } get iterator() { - return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); } } (SkipIterable.__ = function(_iterable, _skipCount) { - if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); - if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + if (_iterable == null) dart.nullFailed(I[39], 596, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[39], 596, 39, "_skipCount"); this[_iterable$] = _iterable; this[_skipCount$] = _skipCount; SkipIterable.__proto__.new.call(this); @@ -19892,12 +21746,13 @@ _internal.SkipIterable$ = dart.generic(E => { dart.addTypeTests(SkipIterable); SkipIterable.prototype[_is_SkipIterable_default] = true; dart.addTypeCaches(SkipIterable); + dart.setStaticMethodSignature(SkipIterable, () => ['new']); dart.setGetterSignature(SkipIterable, () => ({ __proto__: dart.getGetters(SkipIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipIterable, I[25]); + dart.setLibraryUri(SkipIterable, I[26]); dart.setFieldSignature(SkipIterable, () => ({ __proto__: dart.getFields(SkipIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -19911,26 +21766,36 @@ _internal.SkipIterable = _internal.SkipIterable$(); dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); _internal.EfficientLengthSkipIterable$ = dart.generic(E => { - var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + var __t$EfficientLengthSkipIterableOfE = () => (__t$EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { static new(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); - if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); } + static ['_#new#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 609, 51, "iterable"); + if (count == null) dart.nullFailed(I[39], 609, 65, "count"); + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + static ['_#_#tearOff'](E, iterable, count) { + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, count); + } get length() { let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); if (length >= 0) return length; return 0; } skip(count) { - if (count == null) dart.nullFailed(I[37], 618, 24, "count"); - return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + if (count == null) dart.nullFailed(I[39], 622, 24, "count"); + return new (__t$EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); } } (EfficientLengthSkipIterable.__ = function(iterable, count) { - if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); - if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + if (iterable == null) dart.nullFailed(I[39], 613, 45, "iterable"); + if (count == null) dart.nullFailed(I[39], 613, 59, "count"); EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); ; }).prototype = EfficientLengthSkipIterable.prototype; @@ -19938,7 +21803,8 @@ _internal.EfficientLengthSkipIterable$ = dart.generic(E => { EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; dart.addTypeCaches(EfficientLengthSkipIterable); EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); + dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); return EfficientLengthSkipIterable; @@ -19948,6 +21814,11 @@ dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkip const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); _internal.SkipIterator$ = dart.generic(E => { class SkipIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); + return new (_internal.SkipIterator$(E)).new(_iterator, _skipCount); + } moveNext() { for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) this[_iterator$].moveNext(); @@ -19959,11 +21830,11 @@ _internal.SkipIterator$ = dart.generic(E => { } } (SkipIterator.new = function(_iterator, _skipCount) { - if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); - if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + if (_iterator == null) dart.nullFailed(I[39], 638, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[39], 638, 37, "_skipCount"); this[_iterator$] = _iterator; this[_skipCount$] = _skipCount; - if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[39], 639, 12, "_skipCount >= 0"); }).prototype = SkipIterator.prototype; dart.addTypeTests(SkipIterator); SkipIterator.prototype[_is_SkipIterator_default] = true; @@ -19976,7 +21847,7 @@ _internal.SkipIterator$ = dart.generic(E => { __proto__: dart.getGetters(SkipIterator.__proto__), current: E })); - dart.setLibraryUri(SkipIterator, I[25]); + dart.setLibraryUri(SkipIterator, I[26]); dart.setFieldSignature(SkipIterator, () => ({ __proto__: dart.getFields(SkipIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -19988,15 +21859,20 @@ _internal.SkipIterator = _internal.SkipIterator$(); dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); _internal.SkipWhileIterable$ = dart.generic(E => { - var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + var __t$SkipWhileIteratorOfE = () => (__t$SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); class SkipWhileIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _iterable, _f) { + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); + return new (_internal.SkipWhileIterable$(E)).new(_iterable, _f); + } get iterator() { - return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + return new (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); } } (SkipWhileIterable.new = function(_iterable, _f) { - if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); - if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + if (_iterable == null) dart.nullFailed(I[39], 655, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[39], 655, 42, "_f"); this[_iterable$] = _iterable; this[_f$] = _f; SkipWhileIterable.__proto__.new.call(this); @@ -20010,7 +21886,7 @@ _internal.SkipWhileIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setLibraryUri(SkipWhileIterable, I[26]); dart.setFieldSignature(SkipWhileIterable, () => ({ __proto__: dart.getFields(SkipWhileIterable.__proto__), [_iterable$]: dart.finalFieldType(core.Iterable$(E)), @@ -20025,12 +21901,17 @@ var _hasSkipped = dart.privateName(_internal, "_hasSkipped"); const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); _internal.SkipWhileIterator$ = dart.generic(E => { class SkipWhileIterator extends core.Iterator$(E) { + static ['_#new#tearOff'](E, _iterator, _f) { + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); + return new (_internal.SkipWhileIterator$(E)).new(_iterator, _f); + } moveNext() { - let t82; + let t71; if (!dart.test(this[_hasSkipped])) { this[_hasSkipped] = true; while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; } } return this[_iterator$].moveNext(); @@ -20040,8 +21921,8 @@ _internal.SkipWhileIterator$ = dart.generic(E => { } } (SkipWhileIterator.new = function(_iterator, _f) { - if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); - if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + if (_iterator == null) dart.nullFailed(I[39], 667, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[39], 667, 42, "_f"); this[_hasSkipped] = false; this[_iterator$] = _iterator; this[_f$] = _f; @@ -20058,7 +21939,7 @@ _internal.SkipWhileIterator$ = dart.generic(E => { __proto__: dart.getGetters(SkipWhileIterator.__proto__), current: E })); - dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setLibraryUri(SkipWhileIterator, I[26]); dart.setFieldSignature(SkipWhileIterator, () => ({ __proto__: dart.getFields(SkipWhileIterator.__proto__), [_iterator$]: dart.finalFieldType(core.Iterator$(E)), @@ -20071,17 +21952,20 @@ _internal.SkipWhileIterator = _internal.SkipWhileIterator$(); dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); _internal.EmptyIterable$ = dart.generic(E => { - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterable$(E)).new(); + } get iterator() { - return C[20] || CT.C20; + return C[21] || CT.C21; } forEach(action) { - if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + if (action == null) dart.nullFailed(I[39], 690, 21, "action"); } get isEmpty() { return true; @@ -20099,87 +21983,87 @@ _internal.EmptyIterable$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + if (index == null) dart.nullFailed(I[39], 708, 19, "index"); dart.throw(new core.RangeError.range(index, 0, 0, "index")); } contains(element) { return false; } every(test) { - if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + if (test == null) dart.nullFailed(I[39], 714, 19, "test"); return true; } any(test) { - if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + if (test == null) dart.nullFailed(I[39], 716, 17, "test"); return false; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + if (test == null) dart.nullFailed(I[39], 718, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + if (test == null) dart.nullFailed(I[39], 723, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + if (test == null) dart.nullFailed(I[39], 728, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); if (orElse != null) return orElse(); dart.throw(_internal.IterableElementError.noElement()); } join(separator = "") { - if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); return ""; } where(test) { - if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + if (test == null) dart.nullFailed(I[39], 735, 26, "test"); return this; } - map(T, f) { - if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); return new (_internal.EmptyIterable$(T)).new(); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 739, 14, "combine"); dart.throw(_internal.IterableElementError.noElement()); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + if (combine == null) dart.nullFailed(I[39], 743, 31, "combine"); return initialValue; } skip(count) { - if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + if (count == null) dart.nullFailed(I[39], 747, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } skipWhile(test) { - if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + if (test == null) dart.nullFailed(I[39], 752, 30, "test"); return this; } take(count) { - if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + if (count == null) dart.nullFailed(I[39], 754, 24, "count"); core.RangeError.checkNotNegative(count, "count"); return this; } takeWhile(test) { - if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + if (test == null) dart.nullFailed(I[39], 759, 30, "test"); return this; } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); - return ListOfE().empty({growable: growable}); + if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); + return __t$ListOfE().empty({growable: growable}); } toSet() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } } (EmptyIterable.new = function() { @@ -20201,7 +22085,7 @@ _internal.EmptyIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(EmptyIterable, I[25]); + dart.setLibraryUri(EmptyIterable, I[26]); dart.defineExtensionMethods(EmptyIterable, [ 'forEach', 'elementAt', @@ -20238,6 +22122,9 @@ dart.addTypeTests(_internal.EmptyIterable, _is_EmptyIterable_default); const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); _internal.EmptyIterator$ = dart.generic(E => { class EmptyIterator extends core.Object { + static ['_#new#tearOff'](E) { + return new (_internal.EmptyIterator$(E)).new(); + } moveNext() { return false; } @@ -20260,7 +22147,7 @@ _internal.EmptyIterator$ = dart.generic(E => { __proto__: dart.getGetters(EmptyIterator.__proto__), current: E })); - dart.setLibraryUri(EmptyIterator, I[25]); + dart.setLibraryUri(EmptyIterator, I[26]); return EmptyIterator; }); _internal.EmptyIterator = _internal.EmptyIterator$(); @@ -20269,18 +22156,28 @@ var _first$ = dart.privateName(_internal, "_first"); var _second$ = dart.privateName(_internal, "_second"); const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); _internal.FollowedByIterable$ = dart.generic(E => { - var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + var __t$FollowedByIteratorOfE = () => (__t$FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); class FollowedByIterable extends core.Iterable$(E) { + static ['_#new#tearOff'](E, _first, _second) { + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); + return new (_internal.FollowedByIterable$(E)).new(_first, _second); + } static firstEfficient(first, second) { - if (first == null) dart.nullFailed(I[37], 777, 34, "first"); - if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); if (_internal.EfficientLengthIterable$(E).is(second)) { return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); } return new (_internal.FollowedByIterable$(E)).new(first, second); } + static ['_#firstEfficient#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 781, 34, "first"); + if (second == null) dart.nullFailed(I[39], 781, 53, "second"); + return _internal.FollowedByIterable$(E).firstEfficient(first, second); + } get iterator() { - return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + return new (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); } get length() { return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); @@ -20311,8 +22208,8 @@ _internal.FollowedByIterable$ = dart.generic(E => { } } (FollowedByIterable.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); - if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + if (_first == null) dart.nullFailed(I[39], 778, 27, "_first"); + if (_second == null) dart.nullFailed(I[39], 778, 40, "_second"); this[_first$] = _first; this[_second$] = _second; FollowedByIterable.__proto__.new.call(this); @@ -20321,12 +22218,13 @@ _internal.FollowedByIterable$ = dart.generic(E => { dart.addTypeTests(FollowedByIterable); FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; dart.addTypeCaches(FollowedByIterable); + dart.setStaticMethodSignature(FollowedByIterable, () => ['firstEfficient']); dart.setGetterSignature(FollowedByIterable, () => ({ __proto__: dart.getGetters(FollowedByIterable.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setLibraryUri(FollowedByIterable, I[26]); dart.setFieldSignature(FollowedByIterable, () => ({ __proto__: dart.getFields(FollowedByIterable.__proto__), [_first$]: dart.finalFieldType(core.Iterable$(E)), @@ -20348,8 +22246,13 @@ dart.addTypeTests(_internal.FollowedByIterable, _is_FollowedByIterable_default); const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + static ['_#new#tearOff'](E, first, second) { + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } elementAt(index) { - if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + if (index == null) dart.nullFailed(I[39], 824, 19, "index"); let firstLength = this[_first$][$length]; if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); @@ -20364,8 +22267,8 @@ _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { } } (EfficientLengthFollowedByIterable.new = function(first, second) { - if (first == null) dart.nullFailed(I[37], 817, 34, "first"); - if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + if (first == null) dart.nullFailed(I[39], 821, 34, "first"); + if (second == null) dart.nullFailed(I[39], 821, 68, "second"); EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); ; }).prototype = EfficientLengthFollowedByIterable.prototype; @@ -20373,7 +22276,7 @@ _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; dart.addTypeCaches(EfficientLengthFollowedByIterable); EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); return EfficientLengthFollowedByIterable; @@ -20385,6 +22288,10 @@ var _currentIterator = dart.privateName(_internal, "_currentIterator"); const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); _internal.FollowedByIterator$ = dart.generic(E => { class FollowedByIterator extends core.Object { + static ['_#new#tearOff'](E, first, _nextIterable) { + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); + return new (_internal.FollowedByIterator$(E)).new(first, _nextIterable); + } moveNext() { if (dart.test(this[_currentIterator].moveNext())) return true; if (this[_nextIterable$] != null) { @@ -20399,7 +22306,7 @@ _internal.FollowedByIterator$ = dart.generic(E => { } } (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + if (first == null) dart.nullFailed(I[39], 845, 34, "first"); this[_nextIterable$] = _nextIterable; this[_currentIterator] = first[$iterator]; ; @@ -20416,7 +22323,7 @@ _internal.FollowedByIterator$ = dart.generic(E => { __proto__: dart.getGetters(FollowedByIterator.__proto__), current: E })); - dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setLibraryUri(FollowedByIterator, I[26]); dart.setFieldSignature(FollowedByIterator, () => ({ __proto__: dart.getFields(FollowedByIterator.__proto__), [_currentIterator]: dart.fieldType(core.Iterator$(E)), @@ -20428,14 +22335,18 @@ _internal.FollowedByIterator = _internal.FollowedByIterator$(); dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); _internal.WhereTypeIterable$ = dart.generic(T => { - var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + var __t$WhereTypeIteratorOfT = () => (__t$WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); class WhereTypeIterable extends core.Iterable$(T) { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); + return new (_internal.WhereTypeIterable$(T)).new(_source); + } get iterator() { - return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + return new (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); } } (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); this[_source$] = _source; WhereTypeIterable.__proto__.new.call(this); ; @@ -20448,7 +22359,7 @@ _internal.WhereTypeIterable$ = dart.generic(T => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setLibraryUri(WhereTypeIterable, I[26]); dart.setFieldSignature(WhereTypeIterable, () => ({ __proto__: dart.getFields(WhereTypeIterable.__proto__), [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) @@ -20461,6 +22372,10 @@ dart.addTypeTests(_internal.WhereTypeIterable, _is_WhereTypeIterable_default); const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); _internal.WhereTypeIterator$ = dart.generic(T => { class WhereTypeIterator extends core.Object { + static ['_#new#tearOff'](T, _source) { + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); + return new (_internal.WhereTypeIterator$(T)).new(_source); + } moveNext() { while (dart.test(this[_source$].moveNext())) { if (T.is(this[_source$].current)) return true; @@ -20472,7 +22387,7 @@ _internal.WhereTypeIterator$ = dart.generic(T => { } } (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); this[_source$] = _source; ; }).prototype = WhereTypeIterator.prototype; @@ -20488,7 +22403,7 @@ _internal.WhereTypeIterator$ = dart.generic(T => { __proto__: dart.getGetters(WhereTypeIterator.__proto__), current: T })); - dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setLibraryUri(WhereTypeIterator, I[26]); dart.setFieldSignature(WhereTypeIterator, () => ({ __proto__: dart.getFields(WhereTypeIterator.__proto__), [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) @@ -20513,13 +22428,14 @@ _internal.IterableElementError = class IterableElementError extends core.Object }).prototype = _internal.IterableElementError.prototype; dart.addTypeTests(_internal.IterableElementError); dart.addTypeCaches(_internal.IterableElementError); -dart.setLibraryUri(_internal.IterableElementError, I[25]); +dart.setStaticMethodSignature(_internal.IterableElementError, () => ['noElement', 'tooMany', 'tooFew']); +dart.setLibraryUri(_internal.IterableElementError, I[26]); const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); _internal.FixedLengthListMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class FixedLengthListMixin extends core.Object { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 14, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); } add(value) { @@ -20527,52 +22443,52 @@ _internal.FixedLengthListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + if (index == null) dart.nullFailed(I[23], 25, 19, "index"); E.as(value); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 30, 22, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + if (at == null) dart.nullFailed(I[23], 30, 22, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 30, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 35, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); } remove(element) { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + if (test == null) dart.nullFailed(I[23], 45, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + if (test == null) dart.nullFailed(I[23], 50, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } clear() { dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + if (index == null) dart.nullFailed(I[23], 60, 18, "index"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeLast() { dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 70, 24, "start"); - if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + if (start == null) dart.nullFailed(I[23], 70, 24, "start"); + if (end == null) dart.nullFailed(I[23], 70, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 75, 25, "start"); - if (end == null) dart.nullFailed(I[22], 75, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + if (start == null) dart.nullFailed(I[23], 75, 25, "start"); + if (end == null) dart.nullFailed(I[23], 75, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 75, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); } } @@ -20614,7 +22530,7 @@ _internal.FixedLengthListMixin$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.setLibraryUri(FixedLengthListMixin, I[26]); dart.defineExtensionMethods(FixedLengthListMixin, [ 'add', 'insert', @@ -20636,14 +22552,14 @@ _internal.FixedLengthListMixin = _internal.FixedLengthListMixin$(); dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); _internal.FixedLengthListBase$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; (ListBase_FixedLengthListMixin$36.new = function() { }).prototype = ListBase_FixedLengthListMixin$36.prototype; dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { set length(newLength) { - if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + if (newLength == null) dart.nullFailed(I[23], 199, 16, "newLength"); return super[$length] = newLength; } add(value) { @@ -20651,52 +22567,52 @@ _internal.FixedLengthListBase$ = dart.generic(E => { return super[$add](value); } insert(index, value) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); E.as(value); return super[$insert](index, value); } insertAll(at, iterable) { - if (at == null) dart.nullFailed(I[22], 199, 16, "at"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (at == null) dart.nullFailed(I[23], 199, 16, "at"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$insertAll](at, iterable); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$addAll](iterable); } remove(element) { return super[$remove](element); } removeWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$removeWhere](test); } retainWhere(test) { - if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + if (test == null) dart.nullFailed(I[23], 199, 16, "test"); return super[$retainWhere](test); } clear() { return super[$clear](); } removeAt(index) { - if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + if (index == null) dart.nullFailed(I[23], 199, 16, "index"); return super[$removeAt](index); } removeLast() { return super[$removeLast](); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); return super[$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[22], 199, 16, "start"); - if (end == null) dart.nullFailed(I[22], 199, 16, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + if (start == null) dart.nullFailed(I[23], 199, 16, "start"); + if (end == null) dart.nullFailed(I[23], 199, 16, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 199, 16, "iterable"); return super[$replaceRange](start, end, iterable); } } @@ -20711,7 +22627,7 @@ _internal.FixedLengthListBase$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.setLibraryUri(FixedLengthListBase, I[26]); dart.defineExtensionMethods(FixedLengthListBase, [ 'add', 'insert', @@ -20733,24 +22649,28 @@ _internal.FixedLengthListBase = _internal.FixedLengthListBase$(); dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); var _backedList$ = dart.privateName(_internal, "_backedList"); _internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + static ['_#new#tearOff'](_backedList) { + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); + return new _internal._ListIndicesIterable.new(_backedList); + } get length() { return this[_backedList$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 217, 21, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[23], 217, 21, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return index; } }; (_internal._ListIndicesIterable.new = function(_backedList) { - if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + if (_backedList == null) dart.nullFailed(I[23], 214, 29, "_backedList"); this[_backedList$] = _backedList; _internal._ListIndicesIterable.__proto__.new.call(this); ; }).prototype = _internal._ListIndicesIterable.prototype; dart.addTypeTests(_internal._ListIndicesIterable); dart.addTypeCaches(_internal._ListIndicesIterable); -dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); +dart.setLibraryUri(_internal._ListIndicesIterable, I[26]); dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), [_backedList$]: dart.fieldType(core.List) @@ -20760,13 +22680,13 @@ dart.defineExtensionAccessors(_internal._ListIndicesIterable, ['length']); var _values$ = dart.privateName(_internal, "_values"); const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class _UnmodifiableMapMixin extends core.Object { _set(key, value$) { let value = value$; @@ -20776,13 +22696,13 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 273, 25, "other"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 278, 44, "entries"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } clear() { @@ -20792,26 +22712,26 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + if (test == null) dart.nullFailed(I[37], 293, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 298, 26, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 303, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 308, 20, "update"); dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); } } @@ -20844,7 +22764,7 @@ collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); dart.defineExtensionMethods(_UnmodifiableMapMixin, [ '_set', 'addAll', @@ -20862,13 +22782,13 @@ collection._UnmodifiableMapMixin = collection._UnmodifiableMapMixin$(); dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); collection.UnmodifiableMapBase$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; (MapBase__UnmodifiableMapMixin$36.new = function() { }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; @@ -20882,13 +22802,13 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 217, 16, "other"); return super.addAll(other); } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); return super.addEntries(entries); } clear() { @@ -20898,26 +22818,26 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { return super.remove(key); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + if (test == null) dart.nullFailed(I[37], 217, 16, "test"); return super.removeWhere(test); } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 217, 16, "ifAbsent"); return super.putIfAbsent(key, ifAbsent); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return super.update(key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 217, 16, "update"); return super.updateAll(update); } } @@ -20936,7 +22856,7 @@ collection.UnmodifiableMapBase$ = dart.generic((K, V) => { remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.setLibraryUri(UnmodifiableMapBase, I[25]); dart.defineExtensionMethods(UnmodifiableMapBase, [ '_set', 'addAll', @@ -20954,8 +22874,12 @@ collection.UnmodifiableMapBase = collection.UnmodifiableMapBase$(); dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); const _is_ListMapView_default = Symbol('_is_ListMapView_default'); _internal.ListMapView$ = dart.generic(E => { - var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var __t$SubListIterableOfE = () => (__t$SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + static ['_#new#tearOff'](E, _values) { + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); + return new (_internal.ListMapView$(E)).new(_values); + } _get(key) { return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; } @@ -20963,7 +22887,7 @@ _internal.ListMapView$ = dart.generic(E => { return this[_values$][$length]; } get values() { - return new (SubListIterableOfE()).new(this[_values$], 0, null); + return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); } get keys() { return new _internal._ListIndicesIterable.new(this[_values$]); @@ -20981,7 +22905,7 @@ _internal.ListMapView$ = dart.generic(E => { return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); } forEach(f) { - if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + if (f == null) dart.nullFailed(I[23], 239, 21, "f"); let length = this[_values$][$length]; for (let i = 0; i < dart.notNull(length); i = i + 1) { f(i, this[_values$][$_get](i)); @@ -20992,7 +22916,7 @@ _internal.ListMapView$ = dart.generic(E => { } } (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); this[_values$] = _values; ; }).prototype = ListMapView.prototype; @@ -21009,7 +22933,7 @@ _internal.ListMapView$ = dart.generic(E => { keys: core.Iterable$(core.int), [$keys]: core.Iterable$(core.int) })); - dart.setLibraryUri(ListMapView, I[25]); + dart.setLibraryUri(ListMapView, I[26]); dart.setFieldSignature(ListMapView, () => ({ __proto__: dart.getFields(ListMapView.__proto__), [_values$]: dart.fieldType(core.List$(E)) @@ -21029,16 +22953,20 @@ dart.addTypeTests(_internal.ListMapView, _is_ListMapView_default); const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); _internal.ReversedListIterable$ = dart.generic(E => { class ReversedListIterable extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, _source) { + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); + return new (_internal.ReversedListIterable$(E)).new(_source); + } get length() { return this[_source$][$length]; } elementAt(index) { - if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + if (index == null) dart.nullFailed(I[23], 256, 19, "index"); return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); } } (ReversedListIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + if (_source == null) dart.nullFailed(I[23], 252, 29, "_source"); this[_source$] = _source; ReversedListIterable.__proto__.new.call(this); ; @@ -21046,7 +22974,7 @@ _internal.ReversedListIterable$ = dart.generic(E => { dart.addTypeTests(ReversedListIterable); ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setLibraryUri(ReversedListIterable, I[26]); dart.setFieldSignature(ReversedListIterable, () => ({ __proto__: dart.getFields(ReversedListIterable.__proto__), [_source$]: dart.fieldType(core.Iterable$(E)) @@ -21076,7 +23004,8 @@ _internal.UnmodifiableListError = class UnmodifiableListError extends core.Objec }).prototype = _internal.UnmodifiableListError.prototype; dart.addTypeTests(_internal.UnmodifiableListError); dart.addTypeCaches(_internal.UnmodifiableListError); -dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); +dart.setStaticMethodSignature(_internal.UnmodifiableListError, () => ['add', 'change', 'length', 'remove']); +dart.setLibraryUri(_internal.UnmodifiableListError, I[26]); _internal.NonGrowableListError = class NonGrowableListError extends core.Object { static add() { return new core.UnsupportedError.new("Cannot add to non-growable List"); @@ -21093,7 +23022,8 @@ _internal.NonGrowableListError = class NonGrowableListError extends core.Object }).prototype = _internal.NonGrowableListError.prototype; dart.addTypeTests(_internal.NonGrowableListError); dart.addTypeCaches(_internal.NonGrowableListError); -dart.setLibraryUri(_internal.NonGrowableListError, I[25]); +dart.setStaticMethodSignature(_internal.NonGrowableListError, () => ['add', 'length', 'remove']); +dart.setLibraryUri(_internal.NonGrowableListError, I[26]); var length = dart.privateName(_internal, "LinkedList.length"); var _last = dart.privateName(_internal, "_last"); var _next = dart.privateName(_internal, "_next"); @@ -21103,10 +23033,10 @@ const _is_IterableBase_default = Symbol('_is_IterableBase_default'); collection.IterableBase$ = dart.generic(E => { class IterableBase extends core.Iterable$(E) { static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - let t82; - if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + let t71; + if (iterable == null) dart.nullFailed(I[41], 228, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 229, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 229, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { if (leftDelimiter === "(" && rightDelimiter === ")") { return "(...)"; @@ -21118,19 +23048,19 @@ collection.IterableBase$ = dart.generic(E => { try { collection._iterablePartsToStrings(iterable, parts); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } - return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { - t82.writeAll(parts, ", "); - t82.write(rightDelimiter); - return t82; + return (t71 = new core.StringBuffer.new(leftDelimiter), (() => { + t71.writeAll(parts, ", "); + t71.write(rightDelimiter); + return t71; })()).toString(); } static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { - if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); - if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); - if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (iterable == null) dart.nullFailed(I[41], 261, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[41], 262, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[41], 262, 43, "rightDelimiter"); if (dart.test(collection._isToStringVisiting(iterable))) { return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); } @@ -21139,7 +23069,7 @@ collection.IterableBase$ = dart.generic(E => { try { buffer.writeAll(iterable, ", "); } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); collection._toStringVisiting[$removeLast](); } buffer.write(rightDelimiter); @@ -21153,19 +23083,21 @@ collection.IterableBase$ = dart.generic(E => { dart.addTypeTests(IterableBase); IterableBase.prototype[_is_IterableBase_default] = true; dart.addTypeCaches(IterableBase); - dart.setLibraryUri(IterableBase, I[24]); + dart.setStaticMethodSignature(IterableBase, () => ['iterableToShortString', 'iterableToFullString']); + dart.setLibraryUri(IterableBase, I[25]); return IterableBase; }); collection.IterableBase = collection.IterableBase$(); dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); const _is_LinkedList_default = Symbol('_is_LinkedList_default'); _internal.LinkedList$ = dart.generic(T => { - var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + var __t$_LinkedListIteratorOfT = () => (__t$_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); class LinkedList extends collection.IterableBase$(T) { get length() { return this[length]; } set length(value) { + if (value == null) dart.nullFailed(I[40], 15, 7, "length"); this[length] = value; } get first() { @@ -21179,10 +23111,10 @@ _internal.LinkedList$ = dart.generic(T => { } add(newLast) { T.as(newLast); - if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); - if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (newLast == null) dart.nullFailed(I[40], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[40], 23, 12, "newLast._next == null && newLast._previous == null"); if (this[_last] != null) { - if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[40], 25, 14, "_last!._next == null"); dart.nullCheck(this[_last])[_next] = newLast; } else { this[_first$] = newLast; @@ -21194,9 +23126,9 @@ _internal.LinkedList$ = dart.generic(T => { } addFirst(newFirst) { T.as(newFirst); - if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (newFirst == null) dart.nullFailed(I[40], 39, 19, "newFirst"); if (this[_first$] != null) { - if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[40], 41, 14, "_first!._previous == null"); dart.nullCheck(this[_first$])[_previous] = newFirst; } else { this[_last] = newFirst; @@ -21208,17 +23140,17 @@ _internal.LinkedList$ = dart.generic(T => { } remove(node) { T.as(node); - if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (node == null) dart.nullFailed(I[40], 59, 17, "node"); if (!dart.equals(node[_list], this)) return; this.length = dart.notNull(this.length) - 1; if (node[_previous] == null) { - if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + if (!(node == this[_first$])) dart.assertFailed(null, I[40], 63, 14, "identical(node, _first)"); this[_first$] = node[_next]; } else { dart.nullCheck(node[_previous])[_next] = node[_next]; } if (node[_next] == null) { - if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + if (!(node == this[_last])) dart.assertFailed(null, I[40], 69, 14, "identical(node, _last)"); this[_last] = node[_previous]; } else { dart.nullCheck(node[_next])[_previous] = node[_previous]; @@ -21227,7 +23159,10 @@ _internal.LinkedList$ = dart.generic(T => { node[_list] = null; } get iterator() { - return new (_LinkedListIteratorOfT()).new(this); + return new (__t$_LinkedListIteratorOfT()).new(this); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedList$(T)).new(); } } (LinkedList.new = function() { @@ -21251,7 +23186,7 @@ _internal.LinkedList$ = dart.generic(T => { iterator: core.Iterator$(T), [$iterator]: core.Iterator$(T) })); - dart.setLibraryUri(LinkedList, I[25]); + dart.setLibraryUri(LinkedList, I[26]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_first$]: dart.fieldType(dart.nullable(T)), @@ -21274,32 +23209,35 @@ var _previous$ = dart.privateName(_internal, "LinkedListEntry._previous"); var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); _internal.LinkedListEntry$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); - var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + var __t$LinkedListOfT = () => (__t$LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var __t$LinkedListNOfT = () => (__t$LinkedListNOfT = dart.constFn(dart.nullable(__t$LinkedListOfT())))(); class LinkedListEntry extends core.Object { get [_next]() { return this[_next$]; } set [_next](value) { - this[_next$] = TN().as(value); + this[_next$] = __t$TN().as(value); } get [_previous]() { return this[_previous$]; } set [_previous](value) { - this[_previous$] = TN().as(value); + this[_previous$] = __t$TN().as(value); } get [_list]() { return this[_list$]; } set [_list](value) { - this[_list$] = LinkedListNOfT().as(value); + this[_list$] = __t$LinkedListNOfT().as(value); } unlink() { - let t82; - t82 = this[_list]; - t82 == null ? null : t82.remove(T.as(this)); + let t71; + t71 = this[_list]; + t71 == null ? null : t71.remove(T.as(this)); + } + static ['_#new#tearOff'](T) { + return new (_internal.LinkedListEntry$(T)).new(); } } (LinkedListEntry.new = function() { @@ -21315,7 +23253,7 @@ _internal.LinkedListEntry$ = dart.generic(T => { __proto__: dart.getMethods(LinkedListEntry.__proto__), unlink: dart.fnType(dart.void, []) })); - dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setLibraryUri(LinkedListEntry, I[26]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_next]: dart.fieldType(dart.nullable(T)), @@ -21332,11 +23270,15 @@ _internal._LinkedListIterator$ = dart.generic(T => { get current() { return dart.nullCast(this[_current$], T); } + static ['_#new#tearOff'](T, list) { + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); + return new (_internal._LinkedListIterator$(T)).new(list); + } moveNext() { if (this[_current$] == null) { let list = this[_list]; if (list == null) return false; - if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[40], 123, 14, "list.length > 0"); this[_current$] = list.first; this[_list] = null; return true; @@ -21346,7 +23288,7 @@ _internal._LinkedListIterator$ = dart.generic(T => { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + if (list == null) dart.nullFailed(I[40], 113, 37, "list"); this[_current$] = null; this[_list] = list; if (list.length === 0) this[_list] = null; @@ -21363,7 +23305,7 @@ _internal._LinkedListIterator$ = dart.generic(T => { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: T })); - dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setLibraryUri(_LinkedListIterator, I[26]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_current$]: dart.fieldType(dart.nullable(T)), @@ -21373,27 +23315,38 @@ _internal._LinkedListIterator$ = dart.generic(T => { }); _internal._LinkedListIterator = _internal._LinkedListIterator$(); dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); +_internal._Patch = class _Patch extends core.Object { + static ['_#new#tearOff']() { + return new _internal._Patch.new(); + } +}; +(_internal._Patch.new = function() { + ; +}).prototype = _internal._Patch.prototype; +dart.addTypeTests(_internal._Patch); +dart.addTypeCaches(_internal._Patch); +dart.setLibraryUri(_internal._Patch, I[26]); _internal.Sort = class Sort extends core.Object { static sort(E, a, compare) { - if (a == null) dart.nullFailed(I[40], 32, 31, "a"); - if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + if (a == null) dart.nullFailed(I[42], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[42], 32, 38, "compare"); _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); } static sortRange(E, a, from, to, compare) { - if (a == null) dart.nullFailed(I[40], 45, 36, "a"); - if (from == null) dart.nullFailed(I[40], 45, 43, "from"); - if (to == null) dart.nullFailed(I[40], 45, 53, "to"); - if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (a == null) dart.nullFailed(I[42], 45, 36, "a"); + if (from == null) dart.nullFailed(I[42], 45, 43, "from"); + if (to == null) dart.nullFailed(I[42], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[42], 45, 61, "compare"); if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { dart.throw("OutOfRange"); } _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); } static _doSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 56, 15, "a"); - if (left == null) dart.nullFailed(I[40], 56, 22, "left"); - if (right == null) dart.nullFailed(I[40], 56, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 56, 15, "a"); + if (left == null) dart.nullFailed(I[42], 56, 22, "left"); + if (right == null) dart.nullFailed(I[42], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 56, 43, "compare"); if (dart.notNull(right) - dart.notNull(left) <= 32) { _internal.Sort._insertionSort(E, a, left, right, compare); } else { @@ -21401,10 +23354,10 @@ _internal.Sort = class Sort extends core.Object { } } static _insertionSort(E, a, left, right, compare) { - if (a == null) dart.nullFailed(I[40], 65, 15, "a"); - if (left == null) dart.nullFailed(I[40], 65, 22, "left"); - if (right == null) dart.nullFailed(I[40], 65, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + if (a == null) dart.nullFailed(I[42], 65, 15, "a"); + if (left == null) dart.nullFailed(I[42], 65, 22, "left"); + if (right == null) dart.nullFailed(I[42], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 65, 43, "compare"); for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { let el = a[$_get](i); let j = i; @@ -21416,12 +23369,12 @@ _internal.Sort = class Sort extends core.Object { } } static _dualPivotQuicksort(E, a, left, right, compare) { - let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; - if (a == null) dart.nullFailed(I[40], 78, 15, "a"); - if (left == null) dart.nullFailed(I[40], 78, 22, "left"); - if (right == null) dart.nullFailed(I[40], 78, 32, "right"); - if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); - if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let t71, t71$, t71$0, t71$1, t71$2, t71$3, t71$4, t71$5, t71$6; + if (a == null) dart.nullFailed(I[42], 78, 15, "a"); + if (left == null) dart.nullFailed(I[42], 78, 22, "left"); + if (right == null) dart.nullFailed(I[42], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[42], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[42], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); let index1 = dart.notNull(left) + sixth; let index5 = dart.notNull(right) - sixth; @@ -21508,12 +23461,12 @@ _internal.Sort = class Sort extends core.Object { continue; } else if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); - a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + a[$_set]((t71 = less, less = t71 + 1, t71), a[$_get](great)); + a[$_set]((t71$ = great, great = t71$ - 1, t71$), ak); break; } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + a[$_set]((t71$0 = great, great = t71$0 - 1, t71$0), ak); break; } } @@ -21542,11 +23495,11 @@ _internal.Sort = class Sort extends core.Object { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); - a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + a[$_set]((t71$1 = less, less = t71$1 + 1, t71$1), a[$_get](great)); + a[$_set]((t71$2 = great, great = t71$2 - 1, t71$2), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + a[$_set]((t71$3 = great, great = t71$3 - 1, t71$3), ak); } break; } @@ -21593,11 +23546,11 @@ _internal.Sort = class Sort extends core.Object { comp = compare(a[$_get](great), pivot1); if (dart.notNull(comp) < 0) { a[$_set](k, a[$_get](less)); - a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); - a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + a[$_set]((t71$4 = less, less = t71$4 + 1, t71$4), a[$_get](great)); + a[$_set]((t71$5 = great, great = t71$5 - 1, t71$5), ak); } else { a[$_set](k, a[$_get](great)); - a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + a[$_set]((t71$6 = great, great = t71$6 - 1, t71$6), ak); } break; } @@ -21610,13 +23563,18 @@ _internal.Sort = class Sort extends core.Object { _internal.Sort._doSort(E, a, less, great, compare); } } + static ['_#new#tearOff']() { + return new _internal.Sort.new(); + } }; (_internal.Sort.new = function() { ; }).prototype = _internal.Sort.prototype; dart.addTypeTests(_internal.Sort); dart.addTypeCaches(_internal.Sort); -dart.setLibraryUri(_internal.Sort, I[25]); +dart.setStaticMethodSignature(_internal.Sort, () => ['sort', 'sortRange', '_doSort', '_insertionSort', '_dualPivotQuicksort']); +dart.setLibraryUri(_internal.Sort, I[26]); +dart.setStaticFieldSignature(_internal.Sort, () => ['_INSERTION_SORT_THRESHOLD']); dart.defineLazy(_internal.Sort, { /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { return 32; @@ -21630,6 +23588,14 @@ _internal.Symbol = class Symbol extends core.Object { set [_name$](value) { super[_name$] = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); + return new _internal.Symbol.new(name); + } + static ['_#unvalidated#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); + return new _internal.Symbol.unvalidated(_name); + } _equals(other) { if (other == null) return false; return _internal.Symbol.is(other) && this[_name$] == other[_name$]; @@ -21645,41 +23611,24 @@ _internal.Symbol = class Symbol extends core.Object { return "Symbol(\"" + dart.str(this[_name$]) + "\")"; } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); return symbol[_name$]; } - static validatePublicSymbol(name) { - if (name == null) dart.nullFailed(I[42], 121, 45, "name"); - if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; - if (name[$startsWith]("_")) { - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); - } - dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); - } - static isValidSymbol(name) { - if (name == null) dart.nullFailed(I[42], 137, 36, "name"); - return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); - } static computeUnmangledName(symbol) { - if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + if (symbol == null) dart.nullFailed(I[43], 36, 45, "symbol"); return symbol[_name$]; } }; (_internal.Symbol.new = function(name) { - if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + if (name == null) dart.nullFailed(I[43], 20, 23, "name"); this[_name$0] = name; ; }).prototype = _internal.Symbol.prototype; (_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); this[_name$0] = _name; ; }).prototype = _internal.Symbol.prototype; -(_internal.Symbol.validated = function(name) { - if (name == null) dart.nullFailed(I[42], 110, 27, "name"); - this[_name$0] = _internal.Symbol.validatePublicSymbol(name); - ; -}).prototype = _internal.Symbol.prototype; dart.addTypeTests(_internal.Symbol); dart.addTypeCaches(_internal.Symbol); _internal.Symbol[dart.implements] = () => [core.Symbol]; @@ -21688,33 +23637,14 @@ dart.setMethodSignature(_internal.Symbol, () => ({ toString: dart.fnType(dart.dynamic, []), [$toString]: dart.fnType(dart.dynamic, []) })); -dart.setLibraryUri(_internal.Symbol, I[25]); +dart.setStaticMethodSignature(_internal.Symbol, () => ['getName', 'computeUnmangledName']); +dart.setLibraryUri(_internal.Symbol, I[26]); dart.setFieldSignature(_internal.Symbol, () => ({ __proto__: dart.getFields(_internal.Symbol.__proto__), [_name$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); -dart.defineLazy(_internal.Symbol, { - /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { - return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; - }, - /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; - }, - /*_internal.Symbol.identifierRE*/get identifierRE() { - return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; - }, - /*_internal.Symbol.operatorRE*/get operatorRE() { - return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; - }, - /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); - }, - /*_internal.Symbol.symbolPattern*/get symbolPattern() { - return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); - } -}, false); _internal.createSentinel = function createSentinel(T) { return dart.throw(new core.UnsupportedError.new("createSentinel")); }; @@ -21722,11 +23652,14 @@ _internal.isSentinel = function isSentinel(value) { return dart.throw(new core.UnsupportedError.new("isSentinel")); }; _internal.typeAcceptsNull = function typeAcceptsNull(T) { - return !false || T.is(null); + return true || T.is(null); +}; +_internal.unsafeCast = function unsafeCast(T, v) { + return T.as(v); }; _internal.hexDigitValue = function hexDigitValue(char) { - if (char == null) dart.nullFailed(I[21], 100, 23, "char"); - if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + if (char == null) dart.nullFailed(I[22], 117, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[22], 118, 10, "char >= 0 && char <= 0xFFFF"); let digit = (dart.notNull(char) ^ 48) >>> 0; if (digit <= 9) return digit; let letter = (dart.notNull(char) | 32) >>> 0; @@ -21734,28 +23667,28 @@ _internal.hexDigitValue = function hexDigitValue(char) { return -1; }; _internal.parseHexByte = function parseHexByte(source, index) { - if (source == null) dart.nullFailed(I[21], 115, 25, "source"); - if (index == null) dart.nullFailed(I[21], 115, 37, "index"); - if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + if (source == null) dart.nullFailed(I[22], 132, 25, "source"); + if (index == null) dart.nullFailed(I[22], 132, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[22], 133, 10, "index + 2 <= source.length"); let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); }; _internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { - if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + if (extract == null) dart.nullFailed(I[43], 57, 54, "extract"); return dart.extractTypeArguments(T, instance, extract); }; _internal.checkNotNullable = function checkNotNullable(T, value, name) { - if (value == null) dart.nullFailed(I[21], 402, 40, "value"); - if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) dart.nullFailed(I[22], 758, 40, "value"); + if (name == null) dart.nullFailed(I[22], 758, 54, "name"); if (value == null) { dart.throw(new (_internal.NotNullableError$(T)).new(name)); } return value; }; _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { - if (value == null) dart.nullFailed(I[21], 427, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) dart.nullFailed(I[22], 782, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); if (value == null) { return defaultVal; } else { @@ -21763,41 +23696,57 @@ _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamW } }; _internal._checkCount = function _checkCount(count) { - if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + if (count == null) dart.nullFailed(I[39], 628, 21, "count"); core.ArgumentError.checkNotNull(core.int, count, "count"); core.RangeError.checkNotNegative(count, "count"); return count; }; _internal.makeListFixedLength = function makeListFixedLength(T, growableList) { - if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + if (growableList == null) dart.nullFailed(I[43], 45, 40, "growableList"); _interceptors.JSArray.markFixedList(growableList); return growableList; }; _internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { - if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + if (fixedLengthList == null) dart.nullFailed(I[43], 51, 46, "fixedLengthList"); _interceptors.JSArray.markUnmodifiableList(fixedLengthList); return fixedLengthList; }; _internal.printToConsole = function printToConsole(line) { - if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + if (line == null) dart.nullFailed(I[43], 40, 28, "line"); _js_primitives.printString(dart.str(line)); }; dart.defineLazy(_internal, { /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - return C[21] || CT.C21; + return C[22] || CT.C22; }, /*_internal.nullFuture*/get nullFuture() { return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); }, + /*_internal.sentinelValue*/get sentinelValue() { + return C[0] || CT.C0; + }, + /*_internal.patch*/get patch() { + return C[23] || CT.C23; + }, /*_internal.printToZone*/get printToZone() { return null; }, - set printToZone(_) {} + set printToZone(value) {} }, false); var _handle = dart.privateName(_isolate_helper, "_handle"); var _tick = dart.privateName(_isolate_helper, "_tick"); var _once = dart.privateName(_isolate_helper, "_once"); _isolate_helper.TimerImpl = class TimerImpl extends core.Object { + static ['_#new#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static ['_#periodic#tearOff'](milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } get tick() { return this[_tick]; } @@ -21820,8 +23769,8 @@ _isolate_helper.TimerImpl = class TimerImpl extends core.Object { } }; (_isolate_helper.TimerImpl.new = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 40, 36, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = true; @@ -21843,8 +23792,8 @@ _isolate_helper.TimerImpl = class TimerImpl extends core.Object { } }).prototype = _isolate_helper.TimerImpl.prototype; (_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { - if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); - if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + if (milliseconds == null) dart.nullFailed(I[45], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[45], 61, 45, "callback"); this[_handle] = null; this[_tick] = 0; this[_once] = false; @@ -21883,7 +23832,7 @@ dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ tick: core.int, isActive: core.bool })); -dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); +dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), [_once]: dart.finalFieldType(core.bool), @@ -21911,18 +23860,14 @@ dart.defineLazy(_isolate_helper, { return dart.global; } }, false); -_js_helper._Patch = class _Patch extends core.Object {}; -(_js_helper._Patch.new = function() { - ; -}).prototype = _js_helper._Patch.prototype; -dart.addTypeTests(_js_helper._Patch); -dart.addTypeCaches(_js_helper._Patch); -dart.setLibraryUri(_js_helper._Patch, I[45]); var _current$0 = dart.privateName(_js_helper, "_current"); var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); const _is_DartIterator_default = Symbol('_is_DartIterator_default'); _js_helper.DartIterator$ = dart.generic(E => { class DartIterator extends core.Object { + static ['_#new#tearOff'](E, _jsIterator) { + return new (_js_helper.DartIterator$(E)).new(_jsIterator); + } get current() { return E.as(this[_current$0]); } @@ -21949,7 +23894,7 @@ _js_helper.DartIterator$ = dart.generic(E => { __proto__: dart.getGetters(DartIterator.__proto__), current: E })); - dart.setLibraryUri(DartIterator, I[45]); + dart.setLibraryUri(DartIterator, I[47]); dart.setFieldSignature(DartIterator, () => ({ __proto__: dart.getFields(DartIterator.__proto__), [_jsIterator$]: dart.finalFieldType(dart.dynamic), @@ -21962,17 +23907,21 @@ dart.addTypeTests(_js_helper.DartIterator, _is_DartIterator_default); var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); _js_helper.SyncIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class SyncIterable extends collection.IterableBase$(E) { + static ['_#new#tearOff'](E, _initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); + return new (_js_helper.SyncIterable$(E)).new(_initGenerator); + } [Symbol.iterator]() { return this[_initGenerator$](); } get iterator() { - return new (DartIteratorOfE()).new(this[_initGenerator$]()); + return new (__t$DartIteratorOfE()).new(this[_initGenerator$]()); } } (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); this[_initGenerator$] = _initGenerator; SyncIterable.__proto__.new.call(this); ; @@ -21989,7 +23938,7 @@ _js_helper.SyncIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SyncIterable, I[45]); + dart.setLibraryUri(SyncIterable, I[47]); dart.setFieldSignature(SyncIterable, () => ({ __proto__: dart.getFields(SyncIterable.__proto__), [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) @@ -22034,7 +23983,7 @@ _js_helper.Primitives = class Primitives extends core.Object { } else { maxCharCode = 97 - 10 - 1 + radix; } - if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[48], 123, 14, "match[digitsIndex] is String"); let digitsPart = match[digitsIndex]; for (let i = 0; i < digitsPart.length; i = i + 1) { let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; @@ -22088,7 +24037,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return ""; } static _fromCharCodeApply(array) { - if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + if (array == null) dart.nullFailed(I[48], 210, 46, "array"); let end = dart.notNull(array[$length]); if (end <= 500) { return String.fromCharCode.apply(null, array); @@ -22101,7 +24050,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return result; } static stringFromCodePoints(codePoints) { - if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + if (codePoints == null) dart.nullFailed(I[48], 232, 51, "codePoints"); let a = T$.JSArrayOfint().of([]); for (let i of codePoints) { if (i == null) dart.argumentError(i); @@ -22119,7 +24068,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return _js_helper.Primitives._fromCharCodeApply(a); } static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); for (let i of charCodes) { if (i == null) dart.argumentError(i); { @@ -22130,7 +24079,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return _js_helper.Primitives._fromCharCodeApply(charCodes); } static stringFromNativeUint8List(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (charCodes == null) dart.nullFailed(I[48], 259, 23, "charCodes"); if (start == null) dart.argumentError(start); if (end == null) dart.argumentError(end); if (end <= 500 && start === 0 && end === charCodes[$length]) { @@ -22159,11 +24108,11 @@ _js_helper.Primitives = class Primitives extends core.Object { dart.throw(new core.RangeError.range(charCode, 0, 1114111)); } static flattenString(str) { - if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + if (str == null) dart.nullFailed(I[48], 294, 38, "str"); return str.charCodeAt(0) == 0 ? str : str; } static getTimeZoneName(receiver) { - if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 298, 42, "receiver"); let d = _js_helper.Primitives.lazyAsJsDate(receiver); let match = /\((.*)\)/.exec(d.toString()); if (match != null) return match[$_get](1); @@ -22174,7 +24123,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return ""; } static getTimeZoneOffsetInMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 338, 50, "receiver"); return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); } static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { @@ -22214,42 +24163,42 @@ _js_helper.Primitives = class Primitives extends core.Object { return date.valueOf(); } static lazyAsJsDate(receiver) { - if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 390, 32, "receiver"); if (receiver.date === void 0) { receiver.date = new Date(receiver.millisecondsSinceEpoch); } return receiver.date; } static getYear(receiver) { - if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 402, 31, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; } static getMonth(receiver) { - if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 408, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; } static getDay(receiver) { - if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 414, 30, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; } static getHours(receiver) { - if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 420, 32, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; } static getMinutes(receiver) { - if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 426, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; } static getSeconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 432, 34, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; } static getMilliseconds(receiver) { - if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 438, 39, "receiver"); return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; } static getWeekday(receiver) { - if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + if (receiver == null) dart.nullFailed(I[48], 444, 34, "receiver"); let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; return (weekday + 6)[$modulo](7) + 1; } @@ -22260,7 +24209,7 @@ _js_helper.Primitives = class Primitives extends core.Object { return value; } static getProperty(object, key) { - if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (key == null) dart.nullFailed(I[48], 459, 53, "key"); if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { dart.throw(_js_helper.argumentErrorValue(object)); } @@ -22272,13 +24221,19 @@ _js_helper.Primitives = class Primitives extends core.Object { } object[key] = value; } + static ['_#new#tearOff']() { + return new _js_helper.Primitives.new(); + } }; (_js_helper.Primitives.new = function() { ; }).prototype = _js_helper.Primitives.prototype; dart.addTypeTests(_js_helper.Primitives); dart.addTypeCaches(_js_helper.Primitives); -dart.setLibraryUri(_js_helper.Primitives, I[45]); +dart.setStaticMethodSignature(_js_helper.Primitives, () => ['parseInt', 'parseDouble', 'dateNow', 'initTicker', 'currentUri', '_fromCharCodeApply', 'stringFromCodePoints', 'stringFromCharCodes', 'stringFromNativeUint8List', 'stringFromCharCode', 'flattenString', 'getTimeZoneName', 'getTimeZoneOffsetInMinutes', 'valueFromDecomposedDate', 'patchUpY2K', 'lazyAsJsDate', 'getYear', 'getMonth', 'getDay', 'getHours', 'getMinutes', 'getSeconds', 'getMilliseconds', 'getWeekday', 'valueFromDateString', 'getProperty', 'setProperty']); +dart.setStaticGetterSignature(_js_helper.Primitives, () => ['isD8', 'isJsshell']); +dart.setLibraryUri(_js_helper.Primitives, I[47]); +dart.setStaticFieldSignature(_js_helper.Primitives, () => ['DOLLAR_CHAR_VALUE', 'timerFrequency', 'timerTicks']); dart.defineLazy(_js_helper.Primitives, { /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { return 36; @@ -22286,11 +24241,15 @@ dart.defineLazy(_js_helper.Primitives, { /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { return 0; }, - set timerFrequency(_) {}, + set timerFrequency(value) { + if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); + }, /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[22] || CT.C22; + return C[24] || CT.C24; }, - set timerTicks(_) {} + set timerTicks(value) { + if (value == null) dart.nullFailed(I[48], 183, 25, "timerTicks"); + } }, false); var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); var _message$0 = dart.privateName(_js_helper, "_message"); @@ -22307,6 +24266,9 @@ _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { set [_receiver$1](value) { super[_receiver$1] = value; } + static ['_#new#tearOff'](_message, match) { + return new _js_helper.JsNoSuchMethodError.new(_message, match); + } toString() { if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); if (this[_receiver$1] == null) { @@ -22315,19 +24277,19 @@ _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.JsNoSuchMethodError.new = function(_message, match) { @@ -22348,7 +24310,7 @@ dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); +dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[47]); dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), [_message$0]: dart.finalFieldType(dart.nullable(core.String)), @@ -22357,62 +24319,74 @@ dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ })); dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); _js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); + return new _js_helper.UnknownJsTypeError.new(_message); + } toString() { return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); } }; (_js_helper.UnknownJsTypeError.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + if (_message == null) dart.nullFailed(I[48], 564, 27, "_message"); this[_message$0] = _message; _js_helper.UnknownJsTypeError.__proto__.new.call(this); ; }).prototype = _js_helper.UnknownJsTypeError.prototype; dart.addTypeTests(_js_helper.UnknownJsTypeError); dart.addTypeCaches(_js_helper.UnknownJsTypeError); -dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); +dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[47]); dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); -var types$0 = dart.privateName(_js_helper, "Creates.types"); +var types$1 = dart.privateName(_js_helper, "Creates.types"); _js_helper.Creates = class Creates extends core.Object { get types() { - return this[types$0]; + return this[types$1]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + return new _js_helper.Creates.new(types); + } }; (_js_helper.Creates.new = function(types) { - if (types == null) dart.nullFailed(I[46], 644, 22, "types"); - this[types$0] = types; + if (types == null) dart.nullFailed(I[48], 638, 22, "types"); + this[types$1] = types; ; }).prototype = _js_helper.Creates.prototype; dart.addTypeTests(_js_helper.Creates); dart.addTypeCaches(_js_helper.Creates); -dart.setLibraryUri(_js_helper.Creates, I[45]); +dart.setLibraryUri(_js_helper.Creates, I[47]); dart.setFieldSignature(_js_helper.Creates, () => ({ __proto__: dart.getFields(_js_helper.Creates.__proto__), types: dart.finalFieldType(core.String) })); -var types$1 = dart.privateName(_js_helper, "Returns.types"); +var types$2 = dart.privateName(_js_helper, "Returns.types"); _js_helper.Returns = class Returns extends core.Object { get types() { - return this[types$1]; + return this[types$2]; } set types(value) { super.types = value; } + static ['_#new#tearOff'](types) { + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + return new _js_helper.Returns.new(types); + } }; (_js_helper.Returns.new = function(types) { - if (types == null) dart.nullFailed(I[46], 670, 22, "types"); - this[types$1] = types; + if (types == null) dart.nullFailed(I[48], 664, 22, "types"); + this[types$2] = types; ; }).prototype = _js_helper.Returns.prototype; dart.addTypeTests(_js_helper.Returns); dart.addTypeCaches(_js_helper.Returns); -dart.setLibraryUri(_js_helper.Returns, I[45]); +dart.setLibraryUri(_js_helper.Returns, I[47]); dart.setFieldSignature(_js_helper.Returns, () => ({ __proto__: dart.getFields(_js_helper.Returns.__proto__), types: dart.finalFieldType(core.String) @@ -22425,15 +24399,19 @@ _js_helper.JSName = class JSName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); + return new _js_helper.JSName.new(name); + } }; (_js_helper.JSName.new = function(name) { - if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + if (name == null) dart.nullFailed(I[48], 681, 21, "name"); this[name$6] = name; ; }).prototype = _js_helper.JSName.prototype; dart.addTypeTests(_js_helper.JSName); dart.addTypeCaches(_js_helper.JSName); -dart.setLibraryUri(_js_helper.JSName, I[45]); +dart.setLibraryUri(_js_helper.JSName, I[47]); dart.setFieldSignature(_js_helper.JSName, () => ({ __proto__: dart.getFields(_js_helper.JSName.__proto__), name: dart.finalFieldType(core.String) @@ -22447,18 +24425,22 @@ _js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { dart.addTypeTests(JavaScriptIndexingBehavior); JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; dart.addTypeCaches(JavaScriptIndexingBehavior); - dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[47]); return JavaScriptIndexingBehavior; }); _js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + static ['_#new#tearOff'](_message) { + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); + return new _js_helper.TypeErrorImpl.new(_message); + } toString() { return this[_message$0]; } }; (_js_helper.TypeErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + if (_message == null) dart.nullFailed(I[48], 695, 22, "_message"); this[_message$0] = _message; _js_helper.TypeErrorImpl.__proto__.new.call(this); ; @@ -22466,33 +24448,21 @@ _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { dart.addTypeTests(_js_helper.TypeErrorImpl); dart.addTypeCaches(_js_helper.TypeErrorImpl); _js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; -dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); +dart.setLibraryUri(_js_helper.TypeErrorImpl, I[47]); dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), [_message$0]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); -_js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { - toString() { - return this[_message$0]; - } -}; -(_js_helper.CastErrorImpl.new = function(_message) { - if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); - this[_message$0] = _message; - _js_helper.CastErrorImpl.__proto__.new.call(this); - ; -}).prototype = _js_helper.CastErrorImpl.prototype; -dart.addTypeTests(_js_helper.CastErrorImpl); -dart.addTypeCaches(_js_helper.CastErrorImpl); -_js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; -dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); -dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ - __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), - [_message$0]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); core.FallThroughError = class FallThroughError extends core.Error { + static ['_#new#tearOff']() { + return new core.FallThroughError.new(); + } + static ['_#_create#tearOff'](url, line) { + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); + return new core.FallThroughError._create(url, line); + } toString() { return super[$toString](); } @@ -22502,19 +24472,22 @@ core.FallThroughError = class FallThroughError extends core.Error { ; }).prototype = core.FallThroughError.prototype; (core.FallThroughError._create = function(url, line) { - if (url == null) dart.nullFailed(I[7], 292, 35, "url"); - if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + if (url == null) dart.nullFailed(I[7], 363, 35, "url"); + if (line == null) dart.nullFailed(I[7], 363, 44, "line"); core.FallThroughError.__proto__.new.call(this); ; }).prototype = core.FallThroughError.prototype; dart.addTypeTests(core.FallThroughError); dart.addTypeCaches(core.FallThroughError); -dart.setLibraryUri(core.FallThroughError, I[8]); +dart.setLibraryUri(core.FallThroughError, I[9]); dart.defineExtensionMethods(core.FallThroughError, ['toString']); _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { toString() { return "Switch case fall-through."; } + static ['_#new#tearOff']() { + return new _js_helper.FallThroughErrorImplementation.new(); + } }; (_js_helper.FallThroughErrorImplementation.new = function() { _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); @@ -22522,7 +24495,7 @@ _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation }).prototype = _js_helper.FallThroughErrorImplementation.prototype; dart.addTypeTests(_js_helper.FallThroughErrorImplementation); dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); -dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); +dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[47]); dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); var message$ = dart.privateName(_js_helper, "RuntimeError.message"); _js_helper.RuntimeError = class RuntimeError extends core.Error { @@ -22532,6 +24505,9 @@ _js_helper.RuntimeError = class RuntimeError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + return new _js_helper.RuntimeError.new(message); + } toString() { return "RuntimeError: " + dart.str(this.message); } @@ -22543,7 +24519,7 @@ _js_helper.RuntimeError = class RuntimeError extends core.Error { }).prototype = _js_helper.RuntimeError.prototype; dart.addTypeTests(_js_helper.RuntimeError); dart.addTypeCaches(_js_helper.RuntimeError); -dart.setLibraryUri(_js_helper.RuntimeError, I[45]); +dart.setLibraryUri(_js_helper.RuntimeError, I[47]); dart.setFieldSignature(_js_helper.RuntimeError, () => ({ __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -22556,36 +24532,43 @@ _js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Er return this[enclosingLibrary$]; } set enclosingLibrary(value) { + if (value == null) dart.nullFailed(I[48], 714, 10, "enclosingLibrary"); this[enclosingLibrary$] = value; } get importPrefix() { return this[importPrefix$]; } set importPrefix(value) { + if (value == null) dart.nullFailed(I[48], 715, 10, "importPrefix"); this[importPrefix$] = value; } + static ['_#new#tearOff'](enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); + return new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix); + } toString() { return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; } get [_receiver$]() { - return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); } get [_arguments$]() { - return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); } get [_memberName$]() { - return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); } get [_invocation$]() { - return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); } get [_namedArguments$]() { - return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); } }; (_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { - if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); - if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + if (enclosingLibrary == null) dart.nullFailed(I[48], 717, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[48], 717, 54, "importPrefix"); this[enclosingLibrary$] = enclosingLibrary; this[importPrefix$] = importPrefix; _js_helper.DeferredNotLoadedError.__proto__.new.call(this); @@ -22602,7 +24585,7 @@ dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ [_invocation$]: dart.nullable(core.Invocation), [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) })); -dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); +dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), enclosingLibrary: dart.fieldType(core.String), @@ -22621,6 +24604,9 @@ core.AssertionError = class AssertionError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.AssertionError.new(message); + } toString() { if (this.message != null) { return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); @@ -22635,13 +24621,16 @@ core.AssertionError = class AssertionError extends core.Error { }).prototype = core.AssertionError.prototype; dart.addTypeTests(core.AssertionError); dart.addTypeCaches(core.AssertionError); -dart.setLibraryUri(core.AssertionError, I[8]); +dart.setLibraryUri(core.AssertionError, I[9]); dart.setFieldSignature(core.AssertionError, () => ({ __proto__: dart.getFields(core.AssertionError.__proto__), message: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.AssertionError, ['toString']); _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + static ['_#new#tearOff'](message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + return new _js_helper.AssertionErrorImpl.new(message, _fileUri, _line, _column, _conditionSource); + } toString() { let failureMessage = ""; if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { @@ -22661,7 +24650,7 @@ _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionE }).prototype = _js_helper.AssertionErrorImpl.prototype; dart.addTypeTests(_js_helper.AssertionErrorImpl); dart.addTypeCaches(_js_helper.AssertionErrorImpl); -dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); +dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[47]); dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), @@ -22674,6 +24663,9 @@ _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionErr toString() { return "Failed assertion: boolean expression must not be null"; } + static ['_#new#tearOff']() { + return new _js_helper.BooleanConversionAssertionError.new(); + } }; (_js_helper.BooleanConversionAssertionError.new = function() { _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); @@ -22681,7 +24673,7 @@ _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionErr }).prototype = _js_helper.BooleanConversionAssertionError.prototype; dart.addTypeTests(_js_helper.BooleanConversionAssertionError); dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); -dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); +dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[47]); dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); @@ -22700,12 +24692,17 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { set [_nativeSymbol](value) { super[_nativeSymbol] = value; } + static ['_#new#tearOff'](_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); + return new _js_helper.PrivateSymbol.new(_name, _nativeSymbol); + } static getName(symbol) { - if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 800, 32, "symbol"); return _js_helper.PrivateSymbol.as(symbol)[_name]; } static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; return null; } @@ -22721,8 +24718,8 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { } }; (_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { - if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); - if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + if (_name == null) dart.nullFailed(I[48], 798, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[48], 798, 40, "_nativeSymbol"); this[_name$1] = _name; this[_nativeSymbol$] = _nativeSymbol; ; @@ -22730,7 +24727,8 @@ _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { dart.addTypeTests(_js_helper.PrivateSymbol); dart.addTypeCaches(_js_helper.PrivateSymbol); _js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; -dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); +dart.setStaticMethodSignature(_js_helper.PrivateSymbol, () => ['getName', 'getNativeSymbol']); +dart.setLibraryUri(_js_helper.PrivateSymbol, I[47]); dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), [_name]: dart.finalFieldType(core.String), @@ -22738,27 +24736,39 @@ dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ })); dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); -_js_helper.ForceInline = class ForceInline extends core.Object {}; +_js_helper.ForceInline = class ForceInline extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.ForceInline.new(); + } +}; (_js_helper.ForceInline.new = function() { ; }).prototype = _js_helper.ForceInline.prototype; dart.addTypeTests(_js_helper.ForceInline); dart.addTypeCaches(_js_helper.ForceInline); -dart.setLibraryUri(_js_helper.ForceInline, I[45]); -_js_helper._NotNull = class _NotNull extends core.Object {}; +dart.setLibraryUri(_js_helper.ForceInline, I[47]); +_js_helper._NotNull = class _NotNull extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NotNull.new(); + } +}; (_js_helper._NotNull.new = function() { ; }).prototype = _js_helper._NotNull.prototype; dart.addTypeTests(_js_helper._NotNull); dart.addTypeCaches(_js_helper._NotNull); -dart.setLibraryUri(_js_helper._NotNull, I[45]); -_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; +dart.setLibraryUri(_js_helper._NotNull, I[47]); +_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.NoReifyGeneric.new(); + } +}; (_js_helper.NoReifyGeneric.new = function() { ; }).prototype = _js_helper.NoReifyGeneric.prototype; dart.addTypeTests(_js_helper.NoReifyGeneric); dart.addTypeCaches(_js_helper.NoReifyGeneric); -dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); +dart.setLibraryUri(_js_helper.NoReifyGeneric, I[47]); var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { get value() { @@ -22767,47 +24777,45 @@ _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](value) { + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); + return new _js_helper.ReifyFunctionTypes.new(value); + } }; (_js_helper.ReifyFunctionTypes.new = function(value) { - if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + if (value == null) dart.nullFailed(I[49], 39, 33, "value"); this[value$1] = value; ; }).prototype = _js_helper.ReifyFunctionTypes.prototype; dart.addTypeTests(_js_helper.ReifyFunctionTypes); dart.addTypeCaches(_js_helper.ReifyFunctionTypes); -dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); +dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[47]); dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), value: dart.finalFieldType(core.bool) })); -_js_helper._NullCheck = class _NullCheck extends core.Object {}; +_js_helper._NullCheck = class _NullCheck extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._NullCheck.new(); + } +}; (_js_helper._NullCheck.new = function() { ; }).prototype = _js_helper._NullCheck.prototype; dart.addTypeTests(_js_helper._NullCheck); dart.addTypeCaches(_js_helper._NullCheck); -dart.setLibraryUri(_js_helper._NullCheck, I[45]); -_js_helper._Undefined = class _Undefined extends core.Object {}; +dart.setLibraryUri(_js_helper._NullCheck, I[47]); +_js_helper._Undefined = class _Undefined extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper._Undefined.new(); + } +}; (_js_helper._Undefined.new = function() { ; }).prototype = _js_helper._Undefined.prototype; dart.addTypeTests(_js_helper._Undefined); dart.addTypeCaches(_js_helper._Undefined); -dart.setLibraryUri(_js_helper._Undefined, I[45]); -_js_helper.NoThrows = class NoThrows extends core.Object {}; -(_js_helper.NoThrows.new = function() { - ; -}).prototype = _js_helper.NoThrows.prototype; -dart.addTypeTests(_js_helper.NoThrows); -dart.addTypeCaches(_js_helper.NoThrows); -dart.setLibraryUri(_js_helper.NoThrows, I[45]); -_js_helper.NoInline = class NoInline extends core.Object {}; -(_js_helper.NoInline.new = function() { - ; -}).prototype = _js_helper.NoInline.prototype; -dart.addTypeTests(_js_helper.NoInline); -dart.addTypeCaches(_js_helper.NoInline); -dart.setLibraryUri(_js_helper.NoInline, I[45]); +dart.setLibraryUri(_js_helper._Undefined, I[47]); var name$7 = dart.privateName(_js_helper, "Native.name"); _js_helper.Native = class Native extends core.Object { get name() { @@ -22816,15 +24824,19 @@ _js_helper.Native = class Native extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); + return new _js_helper.Native.new(name); + } }; (_js_helper.Native.new = function(name) { - if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + if (name == null) dart.nullFailed(I[49], 65, 21, "name"); this[name$7] = name; ; }).prototype = _js_helper.Native.prototype; dart.addTypeTests(_js_helper.Native); dart.addTypeCaches(_js_helper.Native); -dart.setLibraryUri(_js_helper.Native, I[45]); +dart.setLibraryUri(_js_helper.Native, I[47]); dart.setFieldSignature(_js_helper.Native, () => ({ __proto__: dart.getFields(_js_helper.Native.__proto__), name: dart.finalFieldType(core.String) @@ -22837,34 +24849,43 @@ _js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); + return new _js_helper.JsPeerInterface.new({name: name}); + } }; (_js_helper.JsPeerInterface.new = function(opts) { let name = opts && 'name' in opts ? opts.name : null; - if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + if (name == null) dart.nullFailed(I[49], 73, 40, "name"); this[name$8] = name; ; }).prototype = _js_helper.JsPeerInterface.prototype; dart.addTypeTests(_js_helper.JsPeerInterface); dart.addTypeCaches(_js_helper.JsPeerInterface); -dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); +dart.setLibraryUri(_js_helper.JsPeerInterface, I[47]); dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), name: dart.finalFieldType(core.String) })); -_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; +_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object { + static ['_#new#tearOff']() { + return new _js_helper.SupportJsExtensionMethods.new(); + } +}; (_js_helper.SupportJsExtensionMethods.new = function() { ; }).prototype = _js_helper.SupportJsExtensionMethods.prototype; dart.addTypeTests(_js_helper.SupportJsExtensionMethods); dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); -dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); +dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[47]); var _modifications = dart.privateName(_js_helper, "_modifications"); var _map$ = dart.privateName(_js_helper, "_map"); const _is_InternalMap_default = Symbol('_is_InternalMap_default'); _js_helper.InternalMap$ = dart.generic((K, V) => { class InternalMap extends collection.MapBase$(K, V) { forEach(action) { - if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + if (action == null) dart.nullFailed(I[50], 18, 21, "action"); let modifications = this[_modifications]; for (let entry of this[_map$].entries()) { action(entry[0], entry[1]); @@ -22881,7 +24902,7 @@ _js_helper.InternalMap$ = dart.generic((K, V) => { InternalMap.prototype[_is_InternalMap_default] = true; dart.addTypeCaches(InternalMap); InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[45]); + dart.setLibraryUri(InternalMap, I[47]); dart.defineExtensionMethods(InternalMap, ['forEach']); return InternalMap; }); @@ -22892,11 +24913,11 @@ var _modifications$ = dart.privateName(_js_helper, "LinkedMap._modifications"); var _keyMap = dart.privateName(_js_helper, "_keyMap"); const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); _js_helper.LinkedMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class LinkedMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map]; @@ -22910,6 +24931,13 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); + return new (_js_helper.LinkedMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -22920,16 +24948,16 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22947,8 +24975,8 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 121, 25, "other"); let map = this[_map$]; let length = map.size; other[$forEach](dart.fn((key, value) => { @@ -22958,16 +24986,16 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { key = _js_helper.putLinkedMapKey(key, this[_keyMap]); } this[_map$].set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { let k = buckets[i]; @@ -22992,21 +25020,21 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 171, 26, "ifAbsent"); let map = this[_map$]; if (key == null) { key = null; if (map.has(null)) return map.get(null); } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) { this[_keyMap].set(hash, [key]); @@ -23025,14 +25053,14 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { value = null; } map.set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { if (key == null) { key = null; } else if (key[$_equals] !== dart.identityEquals) { - let hash = dart.hashCode(key) & 0x3ffffff; + let hash = dart.hashCode(key) & 0x3fffffff; let buckets = this[_keyMap].get(hash); if (buckets == null) return null; for (let i = 0, n = buckets.length;;) { @@ -23052,7 +25080,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { let map = this[_map$]; let value = map.get(key); if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } @@ -23061,7 +25089,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23072,7 +25100,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { ; }).prototype = LinkedMap.prototype; (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); this[_map] = new Map(); this[_keyMap] = new Map(); this[_modifications$] = 0; @@ -23108,7 +25136,7 @@ _js_helper.LinkedMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(LinkedMap, I[45]); + dart.setLibraryUri(LinkedMap, I[47]); dart.setFieldSignature(LinkedMap, () => ({ __proto__: dart.getFields(LinkedMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23138,8 +25166,12 @@ _js_helper.LinkedMap = _js_helper.LinkedMap$(); dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); _js_helper.ImmutableMap$ = dart.generic((K, V) => { - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); + return new (_js_helper.ImmutableMap$(K, V)).from(entries); + } _set(key, value$) { let value = value$; K.as(key); @@ -23149,7 +25181,7 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } addAll(other) { core.Object.as(other); - if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + if (other == null) dart.nullFailed(I[50], 268, 22, "other"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } clear() { @@ -23160,8 +25192,8 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); return dart.throw(_js_helper.ImmutableMap._unsupported()); } static _unsupported() { @@ -23169,14 +25201,15 @@ _js_helper.ImmutableMap$ = dart.generic((K, V) => { } } (ImmutableMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + if (entries == null) dart.nullFailed(I[50], 262, 29, "entries"); ImmutableMap.__proto__.from.call(this, entries); ; }).prototype = ImmutableMap.prototype; dart.addTypeTests(ImmutableMap); ImmutableMap.prototype[_is_ImmutableMap_default] = true; dart.addTypeCaches(ImmutableMap); - dart.setLibraryUri(ImmutableMap, I[45]); + dart.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); + dart.setLibraryUri(ImmutableMap, I[47]); dart.defineExtensionMethods(ImmutableMap, [ '_set', 'addAll', @@ -23192,11 +25225,11 @@ var _map$0 = dart.privateName(_js_helper, "IdentityMap._map"); var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); _js_helper.IdentityMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class IdentityMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$0]; @@ -23210,6 +25243,13 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$0] = value; } + static ['_#new#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); + return new (_js_helper.IdentityMap$(K, V)).from(entries); + } get length() { return this[_map$].size; } @@ -23220,10 +25260,10 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { return this[_map$].has(key); @@ -23235,14 +25275,14 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[51], 47, 25, "other"); if (dart.test(other[$isNotEmpty])) { let map = this[_map$]; other[$forEach](dart.fn((key, value) => { map.set(key, value); - }, KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 67108863; + }, __t$KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 1073741823; } } _get(key) { @@ -23257,34 +25297,34 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { let length = map.size; map.set(key, value); if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[51], 71, 26, "ifAbsent"); if (this[_map$].has(key)) { return this[_map$].get(key); } let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { let value = this[_map$].get(key); if (this[_map$].delete(key)) { - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } return value == null ? null : value; } clear() { if (this[_map$].size > 0) { this[_map$].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } @@ -23294,7 +25334,7 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { ; }).prototype = IdentityMap.prototype; (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); this[_map$0] = new Map(); this[_modifications$0] = 0; let map = this[_map$]; @@ -23321,7 +25361,7 @@ _js_helper.IdentityMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(IdentityMap, I[45]); + dart.setLibraryUri(IdentityMap, I[47]); dart.setFieldSignature(IdentityMap, () => ({ __proto__: dart.getFields(IdentityMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23351,8 +25391,13 @@ dart.addTypeTests(_js_helper.IdentityMap, _is_IdentityMap_default); var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); _js_helper._JSMapIterable$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E, _map, _isKeys) { + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); + return new (_js_helper._JSMapIterable$(E)).new(_map, _isKeys); + } get length() { return this[_map$][$length]; } @@ -23373,20 +25418,20 @@ _js_helper._JSMapIterable$ = dart.generic(E => { }; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } contains(element) { return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); } forEach(f) { - if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + if (f == null) dart.nullFailed(I[51], 134, 33, "f"); for (let entry of this) f(entry); } } (_JSMapIterable.new = function(_map, _isKeys) { - if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); - if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + if (_map == null) dart.nullFailed(I[51], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[51], 102, 34, "_isKeys"); this[_map$] = _map; this[_isKeys$] = _isKeys; _JSMapIterable.__proto__.new.call(this); @@ -23404,7 +25449,7 @@ _js_helper._JSMapIterable$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setLibraryUri(_JSMapIterable, I[47]); dart.setFieldSignature(_JSMapIterable, () => ({ __proto__: dart.getFields(_JSMapIterable.__proto__), [_map$]: dart.finalFieldType(_js_helper.InternalMap), @@ -23423,11 +25468,11 @@ var _equals$ = dart.privateName(_js_helper, "_equals"); var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); _js_helper.CustomHashMap$ = dart.generic((K, V) => { - var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$_JSMapIterableOfK = () => (__t$_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_JSMapIterableOfV = () => (__t$_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); class CustomHashMap extends _js_helper.InternalMap$(K, V) { get [_map$]() { return this[_map$1]; @@ -23441,6 +25486,11 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { set [_modifications](value) { this[_modifications$1] = value; } + static ['_#new#tearOff'](K, V, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); + return new (_js_helper.CustomHashMap$(K, V)).new(_equals, _hashCode); + } get length() { return this[_map$].size; } @@ -23451,15 +25501,15 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { return this[_map$].size != 0; } get keys() { - return new (_JSMapIterableOfK()).new(this, true); + return new (__t$_JSMapIterableOfK()).new(this, true); } get values() { - return new (_JSMapIterableOfV()).new(this, false); + return new (__t$_JSMapIterableOfV()).new(this, false); } containsKey(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23477,16 +25527,16 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { return false; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[52], 91, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } _get(key) { - let t82; + let t71; if (K.is(key)) { - let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + let buckets = this[_keyMap].get((t71 = key, this[_hashCode$](t71)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -23502,11 +25552,11 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { } _set(key, value$) { let value = value$; - let t82; + let t71; K.as(key); V.as(value); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23525,16 +25575,16 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { } } this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value$; } putIfAbsent(key, ifAbsent) { - let t82; + let t71; K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); let keyMap = this[_keyMap]; - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -23549,13 +25599,13 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { let value = ifAbsent(); if (value == null) value = null; this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value; } remove(key) { - let t82; + let t71; if (K.is(key)) { - let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; let keyMap = this[_keyMap]; let buckets = keyMap.get(hash); if (buckets == null) return null; @@ -23571,7 +25621,7 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { let map = this[_map$]; let value = map.get(k); map.delete(k); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; return value == null ? null : value; } } @@ -23583,13 +25633,13 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { if (map.size > 0) { map.clear(); this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 67108863; + this[_modifications] = this[_modifications] + 1 & 1073741823; } } } (CustomHashMap.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); - if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + if (_equals == null) dart.nullFailed(I[52], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[52], 55, 36, "_hashCode"); this[_map$1] = new Map(); this[_keyMap] = new Map(); this[_modifications$1] = 0; @@ -23616,7 +25666,7 @@ _js_helper.CustomHashMap$ = dart.generic((K, V) => { keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(CustomHashMap, I[45]); + dart.setLibraryUri(CustomHashMap, I[47]); dart.setFieldSignature(CustomHashMap, () => ({ __proto__: dart.getFields(CustomHashMap.__proto__), [_map$]: dart.finalFieldType(dart.dynamic), @@ -23649,26 +25699,32 @@ dart.addTypeTests(_js_helper.CustomHashMap, _is_CustomHashMap_default); const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + static ['_#new#tearOff'](K, V, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); + return new (_js_helper.CustomKeyHashMap$(K, V)).new(equals, hashCode, _validKey); + } containsKey(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; return super.containsKey(key); } _get(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super._get(key); } remove(key) { - let t82; - if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + let t71; + if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; return super.remove(key); } } (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); - if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); - if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + if (equals == null) dart.nullFailed(I[52], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[52], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[52], 9, 67, "_validKey"); this[_validKey$] = _validKey; CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); ; @@ -23676,7 +25732,7 @@ _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { dart.addTypeTests(CustomKeyHashMap); CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setLibraryUri(CustomKeyHashMap, I[47]); dart.setFieldSignature(CustomKeyHashMap, () => ({ __proto__: dart.getFields(CustomKeyHashMap.__proto__), [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -23708,6 +25764,18 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { toString() { return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } get [_nativeGlobalVersion]() { if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); @@ -23730,11 +25798,11 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { } static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { if (source == null) dart.argumentError(source); - if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); - if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); - if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); - if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); - if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + if (multiLine == null) dart.nullFailed(I[53], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[53], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[53], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[53], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[53], 87, 59, "global"); let m = dart.test(multiLine) ? "m" : ""; let i = dart.test(caseSensitive) ? "" : "i"; let u = dart.test(unicode) ? "u" : ""; @@ -23762,7 +25830,7 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return this[_nativeRegExp].test(string); } stringMatch(string) { - if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + if (string == null) dart.nullFailed(I[53], 131, 30, "string"); let match = this.firstMatch(string); if (match != null) return match.group(0); return null; @@ -23776,8 +25844,8 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return new _js_helper._AllMatchesIterable.new(this, string, start); } [_execGlobal](string, start) { - if (string == null) dart.nullFailed(I[51], 145, 35, "string"); - if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + if (string == null) dart.nullFailed(I[53], 145, 35, "string"); + if (start == null) dart.nullFailed(I[53], 145, 47, "start"); let regexp = core.Object.as(this[_nativeGlobalVersion]); regexp.lastIndex = start; let match = regexp.exec(string); @@ -23785,21 +25853,21 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { return new _js_helper._MatchImplementation.new(this, match); } [_execAnchored](string, start) { - let t82; - if (string == null) dart.nullFailed(I[51], 155, 37, "string"); - if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let t71; + if (string == null) dart.nullFailed(I[53], 155, 37, "string"); + if (start == null) dart.nullFailed(I[53], 155, 49, "start"); let regexp = core.Object.as(this[_nativeAnchoredVersion]); regexp.lastIndex = start; let match = regexp.exec(string); if (match == null) return null; if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; - t82 = match; - t82[$length] = dart.notNull(t82[$length]) - 1; + t71 = match; + t71[$length] = dart.notNull(t71[$length]) - 1; return new _js_helper._MatchImplementation.new(this, match); } matchAsPrefix(string, start = 0) { - if (string == null) dart.nullFailed(I[51], 169, 31, "string"); - if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (string == null) dart.nullFailed(I[53], 169, 31, "string"); + if (start == null) dart.nullFailed(I[53], 169, 44, "start"); if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { dart.throw(new core.RangeError.range(start, 0, string.length)); } @@ -23819,15 +25887,15 @@ _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { } }; (_js_helper.JSSyntaxRegExp.new = function(source, opts) { - if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + if (source == null) dart.nullFailed(I[53], 53, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + if (multiLine == null) dart.nullFailed(I[53], 54, 13, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[53], 55, 12, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + if (unicode == null) dart.nullFailed(I[53], 56, 12, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + if (dotAll == null) dart.nullFailed(I[53], 57, 12, "dotAll"); this[_nativeGlobalRegExp] = null; this[_nativeAnchoredRegExp] = null; this[pattern] = source; @@ -23849,6 +25917,7 @@ dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) })); +dart.setStaticMethodSignature(_js_helper.JSSyntaxRegExp, () => ['makeNative']); dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), [_nativeGlobalVersion]: dart.dynamic, @@ -23862,7 +25931,7 @@ dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ isUnicode: core.bool, isDotAll: core.bool })); -dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); +dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), pattern: dart.finalFieldType(core.String), @@ -23873,6 +25942,11 @@ dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); var _match$ = dart.privateName(_js_helper, "_match"); _js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + static ['_#new#tearOff'](pattern, _match) { + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); + return new _js_helper._MatchImplementation.new(pattern, _match); + } get input() { return this[_match$].input; } @@ -23883,18 +25957,18 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; } group(index) { - if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + if (index == null) dart.nullFailed(I[53], 200, 21, "index"); return this[_match$][$_get](index); } _get(index) { - if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + if (index == null) dart.nullFailed(I[53], 201, 27, "index"); return this.group(index); } get groupCount() { return dart.notNull(this[_match$][$length]) - 1; } groups(groups) { - if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + if (groups == null) dart.nullFailed(I[53], 204, 34, "groups"); let out = T$.JSArrayOfStringN().of([]); for (let i of groups) { out[$add](this.group(i)); @@ -23902,7 +25976,7 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object return out; } namedGroup(name) { - if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + if (name == null) dart.nullFailed(I[53], 212, 29, "name"); let groups = this[_match$].groups; if (groups != null) { let result = groups[name]; @@ -23922,12 +25996,12 @@ _js_helper._MatchImplementation = class _MatchImplementation extends core.Object } }; (_js_helper._MatchImplementation.new = function(pattern, _match) { - if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); - if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + if (pattern == null) dart.nullFailed(I[53], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[53], 191, 43, "_match"); this.pattern = pattern; this[_match$] = _match; - if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); - if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[53], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[53], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); }).prototype = _js_helper._MatchImplementation.prototype; dart.addTypeTests(_js_helper._MatchImplementation); dart.addTypeCaches(_js_helper._MatchImplementation); @@ -23947,7 +26021,7 @@ dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ groupCount: core.int, groupNames: core.Iterable$(core.String) })); -dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); +dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), pattern: dart.finalFieldType(core.Pattern), @@ -23963,16 +26037,22 @@ core.RegExpMatch = class RegExpMatch extends core.Object {}; dart.addTypeTests(core.RegExpMatch); dart.addTypeCaches(core.RegExpMatch); core.RegExpMatch[dart.implements] = () => [core.Match]; -dart.setLibraryUri(core.RegExpMatch, I[8]); +dart.setLibraryUri(core.RegExpMatch, I[9]); _js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + static ['_#new#tearOff'](_re, _string, _start) { + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); + return new _js_helper._AllMatchesIterable.new(_re, _string, _start); + } get iterator() { return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); } }; (_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { - if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); - if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); - if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + if (_re == null) dart.nullFailed(I[53], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[53], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[53], 238, 52, "_start"); this[_re$] = _re; this[_string$0] = _string; this[_start$0] = _start; @@ -23986,7 +26066,7 @@ dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ iterator: core.Iterator$(core.RegExpMatch), [$iterator]: core.Iterator$(core.RegExpMatch) })); -dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); +dart.setLibraryUri(_js_helper._AllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -23997,15 +26077,20 @@ dart.defineExtensionAccessors(_js_helper._AllMatchesIterable, ['iterator']); var _regExp$ = dart.privateName(_js_helper, "_regExp"); var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); + return new _js_helper._AllMatchesIterator.new(_regExp, _string, _nextIndex); + } get current() { return dart.nullCast(this[_current$0], core.RegExpMatch); } static _isLeadSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + if (c == null) dart.nullFailed(I[53], 254, 36, "c"); return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; } static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + if (c == null) dart.nullFailed(I[53], 258, 37, "c"); return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; } moveNext() { @@ -24032,8 +26117,8 @@ _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { } }; (_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { - if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); - if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + if (_regExp == null) dart.nullFailed(I[53], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[53], 250, 56, "_nextIndex"); this[_current$0] = null; this[_regExp$] = _regExp; this[_string$0] = _string; @@ -24047,11 +26132,12 @@ dart.setMethodSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), moveNext: dart.fnType(core.bool, []) })); +dart.setStaticMethodSignature(_js_helper._AllMatchesIterator, () => ['_isLeadSurrogate', '_isTrailSurrogate']); dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), current: core.RegExpMatch })); -dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); +dart.setLibraryUri(_js_helper._AllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), @@ -24081,25 +26167,31 @@ _js_helper.StringMatch = class StringMatch extends core.Object { set pattern(value) { super.pattern = value; } + static ['_#new#tearOff'](start, input, pattern) { + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); + return new _js_helper.StringMatch.new(start, input, pattern); + } get end() { return dart.notNull(this.start) + this.pattern.length; } _get(g) { - if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + if (g == null) dart.nullFailed(I[54], 31, 26, "g"); return this.group(g); } get groupCount() { return 0; } group(group_) { - if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ == null) dart.nullFailed(I[54], 34, 20, "group_"); if (group_ !== 0) { dart.throw(new core.RangeError.value(group_)); } return this.pattern; } groups(groups_) { - if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + if (groups_ == null) dart.nullFailed(I[54], 41, 33, "groups_"); let result = T$.JSArrayOfString().of([]); for (let g of groups_) { result[$add](this.group(g)); @@ -24108,9 +26200,9 @@ _js_helper.StringMatch = class StringMatch extends core.Object { } }; (_js_helper.StringMatch.new = function(start, input, pattern) { - if (start == null) dart.nullFailed(I[52], 28, 30, "start"); - if (input == null) dart.nullFailed(I[52], 28, 49, "input"); - if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + if (start == null) dart.nullFailed(I[54], 28, 30, "start"); + if (input == null) dart.nullFailed(I[54], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[54], 28, 68, "pattern"); this[start$0] = start; this[input$] = input; this[pattern$] = pattern; @@ -24130,7 +26222,7 @@ dart.setGetterSignature(_js_helper.StringMatch, () => ({ end: core.int, groupCount: core.int })); -dart.setLibraryUri(_js_helper.StringMatch, I[45]); +dart.setLibraryUri(_js_helper.StringMatch, I[47]); dart.setFieldSignature(_js_helper.StringMatch, () => ({ __proto__: dart.getFields(_js_helper.StringMatch.__proto__), start: dart.finalFieldType(core.int), @@ -24146,8 +26238,14 @@ core.Match = class Match extends core.Object {}; }).prototype = core.Match.prototype; dart.addTypeTests(core.Match); dart.addTypeCaches(core.Match); -dart.setLibraryUri(core.Match, I[8]); +dart.setLibraryUri(core.Match, I[9]); _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); + return new _js_helper._StringAllMatchesIterable.new(_input, _pattern, _index); + } get iterator() { return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); } @@ -24160,9 +26258,9 @@ _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends c } }; (_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 64, 62, "_index"); this[_input$] = _input; this[_pattern$] = _pattern; this[_index$0] = _index; @@ -24176,7 +26274,7 @@ dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ iterator: core.Iterator$(core.Match), [$iterator]: core.Iterator$(core.Match) })); -dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); +dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24185,6 +26283,12 @@ dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ })); dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + static ['_#new#tearOff'](_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); + return new _js_helper._StringAllMatchesIterator.new(_input, _pattern, _index); + } moveNext() { if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { this[_current$0] = null; @@ -24207,9 +26311,9 @@ _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends c } }; (_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { - if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); - if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); - if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + if (_input == null) dart.nullFailed(I[54], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[54], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[54], 84, 62, "_index"); this[_current$0] = null; this[_input$] = _input; this[_pattern$] = _pattern; @@ -24227,7 +26331,7 @@ dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), current: core.Match })); -dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); +dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), [_input$]: dart.finalFieldType(core.String), @@ -24236,15 +26340,15 @@ dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ [_current$0]: dart.fieldType(dart.nullable(core.Match)) })); _js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { - if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + if (index == null) dart.nullFailed(I[48], 478, 41, "index"); let length = core.int.as(dart.dload(indexable, 'length')); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { - return new core.IndexError.new(index, indexable, "index", null, length); + return new core.IndexError.withLength(index, length, {indexable: indexable, name: "index"}); } return new core.RangeError.value(index, "index"); }; _js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { - if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (length == null) dart.nullFailed(I[48], 495, 52, "length"); if (start == null) { return new core.ArgumentError.value(start, "start"); } @@ -24281,23 +26385,23 @@ _js_helper.throwConcurrentModificationError = function throwConcurrentModificati dart.throw(new core.ConcurrentModificationError.new(collection)); }; _js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { - let t82, t82$; - if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let t71, t71$; + if (result == null) dart.nullFailed(I[48], 573, 35, "result"); let index = 0; let length = _js_helper.getLength(keyValuePairs); while (index < dart.notNull(length)) { - let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); - let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + let key = _js_helper.getIndex(keyValuePairs, (t71 = index, index = t71 + 1, t71)); + let value = _js_helper.getIndex(keyValuePairs, (t71$ = index, index = t71$ + 1, t71$)); result[$_set](key, value); } return result; }; _js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + if (property == null) dart.nullFailed(I[48], 586, 40, "property"); return jsObject.hasOwnProperty(property); }; _js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + if (property == null) dart.nullFailed(I[48], 590, 35, "property"); return jsObject[property]; }; _js_helper.getFallThroughError = function getFallThroughError() { @@ -24324,33 +26428,38 @@ _js_helper.applyExtension = function applyExtension$(name, nativeObject) { dart.applyExtension(name, nativeObject); }; _js_helper.applyTestExtensions = function applyTestExtensions(names) { - if (names == null) dart.nullFailed(I[46], 802, 39, "names"); - names[$forEach](C[28] || CT.C28); + if (names == null) dart.nullFailed(I[48], 787, 39, "names"); + names[$forEach](C[30] || CT.C30); }; _js_helper.assertInterop = function assertInterop$(value) { if (core.Function.is(value)) dart.assertInterop(value); }; _js_helper.assertInteropArgs = function assertInteropArgs(args) { - if (args == null) dart.nullFailed(I[46], 843, 38, "args"); - return args[$forEach](C[29] || CT.C29); + if (args == null) dart.nullFailed(I[48], 828, 38, "args"); + return args[$forEach](C[31] || CT.C31); +}; +_js_helper.wrapZoneUnaryCallback = function wrapZoneUnaryCallback(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); }; _js_helper.getRuntimeType = function getRuntimeType(object) { return dart.getReifiedType(object); }; _js_helper.getIndex = function getIndex(array, index) { - if (index == null) dart.nullFailed(I[53], 13, 21, "index"); - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + if (index == null) dart.nullFailed(I[55], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 14, 10, "isJsArray(array)"); return array[index]; }; _js_helper.getLength = function getLength(array) { - if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[55], 20, 10, "isJsArray(array)"); return array.length; }; _js_helper.isJsArray = function isJsArray(value) { return _interceptors.JSArray.is(value); }; _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { - let hash = key[$hashCode] & 0x3ffffff; + let hash = key[$hashCode] & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -24364,7 +26473,7 @@ _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { return key; }; _js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); return closure; }; _js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { @@ -24374,25 +26483,25 @@ _js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInter _js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { }; _js_helper.regExpGetNative = function regExpGetNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 8, 32, "regexp"); return regexp[_nativeRegExp]; }; _js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { - if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 19, 38, "regexp"); let nativeRegexp = regexp[_nativeGlobalVersion]; nativeRegexp.lastIndex = 0; return nativeRegexp; }; _js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { - if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + if (regexp == null) dart.nullFailed(I[53], 35, 39, "regexp"); let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; let match = nativeAnchoredRegExp.exec(''); return match[$length] - 2; }; _js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { - if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); - if (string == null) dart.nullFailed(I[51], 293, 60, "string"); - if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + if (regExp == null) dart.nullFailed(I[53], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[53], 293, 60, "string"); + if (start == null) dart.nullFailed(I[53], 293, 72, "start"); return regExp[_execGlobal](string, start); }; _js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { @@ -24408,13 +26517,13 @@ _js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecke return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; }; _js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { - if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); - if (string == null) dart.nullFailed(I[52], 55, 28, "string"); - if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + if (pattern == null) dart.nullFailed(I[54], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[54], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[54], 55, 40, "startIndex"); return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); }; _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { - if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (startIndex == null) dart.nullFailed(I[54], 110, 51, "startIndex"); if (typeof other == 'string') { return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); } else if (_js_helper.JSSyntaxRegExp.is(other)) { @@ -24425,15 +26534,15 @@ _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, } }; _js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { - if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); - if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[54], 122, 58, "replacement"); replacement = replacement.replace(/\$/g, "$$$$"); return receiver.replace(replacer, replacement); }; _js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { - if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); - if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + if (regexp == null) dart.nullFailed(I[54], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[54], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 132, 29, "startIndex"); let match = regexp[_execGlobal](receiver, startIndex); if (match == null) return receiver; let start = match.start; @@ -24467,22 +26576,30 @@ _js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiv let re = _js_helper.regExpGetGlobalNative(pattern); return _js_helper.stringReplaceJS(receiver, re, replacement); } else { - dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + let startIndex = 0; + let result = new core.StringBuffer.new(); + for (let match of pattern[$allMatches](receiver)) { + result.write(_js_helper.substring2Unchecked(receiver, startIndex, match.start)); + result.write(replacement); + startIndex = match.end; + } + result.write(_js_helper.substring1Unchecked(receiver, startIndex)); + return result.toString(); } }; _js_helper._matchString = function _matchString(match) { - if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + if (match == null) dart.nullFailed(I[54], 184, 27, "match"); return dart.nullCheck(match._get(0)); }; _js_helper._stringIdentity = function _stringIdentity(string) { - if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + if (string == null) dart.nullFailed(I[54], 185, 31, "string"); return string; }; _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (receiver == null) dart.nullFailed(I[54], 189, 12, "receiver"); if (pattern == null) dart.argumentError(pattern); - if (onMatch == null) onMatch = C[30] || CT.C30; - if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (onMatch == null) onMatch = C[32] || CT.C32; + if (onNonMatch == null) onNonMatch = C[33] || CT.C33; if (typeof pattern == 'string') { return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); } @@ -24497,9 +26614,9 @@ _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecke return buffer.toString(); }; _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); - if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 211, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[54], 212, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 212, 41, "onNonMatch"); let buffer = new core.StringBuffer.new(); let length = receiver.length; let i = 0; @@ -24523,10 +26640,10 @@ _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFu return buffer.toString(); }; _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { - if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); - if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); - if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + if (receiver == null) dart.nullFailed(I[54], 241, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 241, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[54], 242, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[54], 242, 41, "onNonMatch"); let patternLength = pattern.length; if (patternLength === 0) { return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); @@ -24548,8 +26665,8 @@ _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllString }; _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); - if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (replacement == null) dart.nullFailed(I[54], 265, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[54], 265, 57, "startIndex"); if (typeof pattern == 'string') { let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); if (index < 0) return receiver; @@ -24565,10 +26682,10 @@ _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(re return receiver[$replaceRange](match.start, match.end, replacement); }; _js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { - if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); - if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); - if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); - if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + if (receiver == null) dart.nullFailed(I[54], 284, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[54], 284, 67, "pattern"); + if (replace == null) dart.nullFailed(I[54], 285, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[54], 285, 40, "startIndex"); let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; if (!dart.test(matches.moveNext())) return receiver; let match = matches.current; @@ -24579,30 +26696,27 @@ _js_helper.stringJoinUnchecked = function stringJoinUnchecked(array, separator) return array.join(separator); }; _js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { - if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); - if (start == null) dart.nullFailed(I[52], 293, 26, "start"); - if (end == null) dart.nullFailed(I[52], 293, 37, "end"); - if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + if (receiver == null) dart.nullFailed(I[54], 300, 12, "receiver"); + if (start == null) dart.nullFailed(I[54], 300, 26, "start"); + if (end == null) dart.nullFailed(I[54], 300, 37, "end"); + if (replacement == null) dart.nullFailed(I[54], 300, 49, "replacement"); let prefix = receiver.substring(0, start); let suffix = receiver.substring(end); return prefix + dart.str(replacement) + suffix; }; dart.defineLazy(_js_helper, { - /*_js_helper.patch*/get patch() { - return C[32] || CT.C32; - }, /*_js_helper.notNull*/get notNull() { - return C[33] || CT.C33; + return C[34] || CT.C34; }, /*_js_helper.undefined*/get undefined() { - return C[34] || CT.C34; + return C[35] || CT.C35; }, /*_js_helper.nullCheck*/get nullCheck() { - return C[35] || CT.C35; + return C[36] || CT.C36; } }, false); _js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (string == null) dart.nullFailed(I[57], 20, 25, "string"); if (typeof dartPrint == "function") { dartPrint(string); return; @@ -24635,21 +26749,26 @@ _metadata.SupportedBrowser = class SupportedBrowser extends core.Object { set minimumVersion(value) { super.minimumVersion = value; } + static ['_#new#tearOff'](browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); + return new _metadata.SupportedBrowser.new(browserName, minimumVersion); + } }; (_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { - if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + if (browserName == null) dart.nullFailed(I[58], 28, 31, "browserName"); this[browserName$] = browserName; this[minimumVersion$] = minimumVersion; ; }).prototype = _metadata.SupportedBrowser.prototype; dart.addTypeTests(_metadata.SupportedBrowser); dart.addTypeCaches(_metadata.SupportedBrowser); -dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); +dart.setLibraryUri(_metadata.SupportedBrowser, I[59]); dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), browserName: dart.finalFieldType(core.String), minimumVersion: dart.finalFieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_metadata.SupportedBrowser, () => ['CHROME', 'FIREFOX', 'IE', 'OPERA', 'SAFARI']); dart.defineLazy(_metadata.SupportedBrowser, { /*_metadata.SupportedBrowser.CHROME*/get CHROME() { return "Chrome"; @@ -24667,13 +26786,17 @@ dart.defineLazy(_metadata.SupportedBrowser, { return "Safari"; } }, false); -_metadata.Experimental = class Experimental extends core.Object {}; +_metadata.Experimental = class Experimental extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Experimental.new(); + } +}; (_metadata.Experimental.new = function() { ; }).prototype = _metadata.Experimental.prototype; dart.addTypeTests(_metadata.Experimental); dart.addTypeCaches(_metadata.Experimental); -dart.setLibraryUri(_metadata.Experimental, I[57]); +dart.setLibraryUri(_metadata.Experimental, I[59]); var name$9 = dart.privateName(_metadata, "DomName.name"); _metadata.DomName = class DomName extends core.Object { get name() { @@ -24682,33 +26805,45 @@ _metadata.DomName = class DomName extends core.Object { set name(value) { super.name = value; } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); + return new _metadata.DomName.new(name); + } }; (_metadata.DomName.new = function(name) { - if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + if (name == null) dart.nullFailed(I[58], 54, 22, "name"); this[name$9] = name; ; }).prototype = _metadata.DomName.prototype; dart.addTypeTests(_metadata.DomName); dart.addTypeCaches(_metadata.DomName); -dart.setLibraryUri(_metadata.DomName, I[57]); +dart.setLibraryUri(_metadata.DomName, I[59]); dart.setFieldSignature(_metadata.DomName, () => ({ __proto__: dart.getFields(_metadata.DomName.__proto__), name: dart.finalFieldType(core.String) })); -_metadata.DocsEditable = class DocsEditable extends core.Object {}; +_metadata.DocsEditable = class DocsEditable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.DocsEditable.new(); + } +}; (_metadata.DocsEditable.new = function() { ; }).prototype = _metadata.DocsEditable.prototype; dart.addTypeTests(_metadata.DocsEditable); dart.addTypeCaches(_metadata.DocsEditable); -dart.setLibraryUri(_metadata.DocsEditable, I[57]); -_metadata.Unstable = class Unstable extends core.Object {}; +dart.setLibraryUri(_metadata.DocsEditable, I[59]); +_metadata.Unstable = class Unstable extends core.Object { + static ['_#new#tearOff']() { + return new _metadata.Unstable.new(); + } +}; (_metadata.Unstable.new = function() { ; }).prototype = _metadata.Unstable.prototype; dart.addTypeTests(_metadata.Unstable); dart.addTypeCaches(_metadata.Unstable); -dart.setLibraryUri(_metadata.Unstable, I[57]); +dart.setLibraryUri(_metadata.Unstable, I[59]); _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { get [$lengthInBytes]() { return this.byteLength; @@ -24717,71 +26852,74 @@ _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object return dart.wrapType(typed_data.ByteBuffer); } [$asUint8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 33, 30, "offsetInBytes"); return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); } [$asInt8List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 37, 28, "offsetInBytes"); return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); } [$asUint8ClampedList](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 41, 44, "offsetInBytes"); return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); } [$asUint16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 45, 32, "offsetInBytes"); return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); } [$asInt16List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 49, 30, "offsetInBytes"); return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); } [$asUint32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 53, 32, "offsetInBytes"); return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); } [$asInt32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 57, 30, "offsetInBytes"); return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); } [$asUint64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 61, 32, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); } [$asInt64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 65, 30, "offsetInBytes"); dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); } [$asInt32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 69, 34, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeInt32x4List._externalStorage(storage); } [$asFloat32List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 75, 34, "offsetInBytes"); return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); } [$asFloat64List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 79, 34, "offsetInBytes"); return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); } [$asFloat32x4List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 83, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); } [$asFloat64x2List](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 89, 38, "offsetInBytes"); length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); } [$asByteData](offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + if (offsetInBytes == null) dart.nullFailed(I[60], 95, 28, "offsetInBytes"); return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeByteBuffer.new(); + } }; (_native_typed_data.NativeByteBuffer.new = function() { ; @@ -24811,15 +26949,40 @@ dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), [$lengthInBytes]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); +dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[61]); dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); var _storage$ = dart.privateName(_native_typed_data, "_storage"); -typed_data.Float32x4 = class Float32x4 extends core.Object {}; +typed_data.Float32x4 = class Float32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 158, 28, "x"); + if (y == null) dart.nullFailed(I[62], 158, 38, "y"); + if (z == null) dart.nullFailed(I[62], 158, 48, "z"); + if (w == null) dart.nullFailed(I[62], 158, 58, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 160, 34, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 164, 45, "x"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); + } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 167, 45, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } +}; (typed_data.Float32x4[dart.mixinNew] = function() { }).prototype = typed_data.Float32x4.prototype; dart.addTypeTests(typed_data.Float32x4); dart.addTypeCaches(typed_data.Float32x4); -dart.setLibraryUri(typed_data.Float32x4, I[60]); +dart.setStaticMethodSignature(typed_data.Float32x4, () => ['new', 'splat', 'zero', 'fromInt32x4Bits', 'fromFloat64x2']); +dart.setLibraryUri(typed_data.Float32x4, I[63]); +dart.setStaticFieldSignature(typed_data.Float32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Float32x4, { /*typed_data.Float32x4.xxxx*/get xxxx() { return 0; @@ -25599,17 +27762,33 @@ const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends }).prototype = Object_FixedLengthListMixin$36.prototype; dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); + return new _native_typed_data.NativeFloat32x4List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); if (_native_typed_data.NativeFloat32x4List.is(list)) { return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 129, 56, "list"); + return _native_typed_data.NativeFloat32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -25629,7 +27808,7 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + if (index == null) dart.nullFailed(I[60], 148, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -25639,9 +27818,9 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + if (index == null) dart.nullFailed(I[60], 157, 25, "index"); typed_data.Float32x4.as(value); - if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + if (value == null) dart.nullFailed(I[60], 157, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -25650,23 +27829,23 @@ _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Objec return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + if (start == null) dart.nullFailed(I[60], 165, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeFloat32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + if (length == null) dart.nullFailed(I[60], 110, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 112, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat32x4List.prototype; (_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + if (list == null) dart.nullFailed(I[60], 114, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -25688,6 +27867,7 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -25701,7 +27881,7 @@ dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float32List) @@ -25715,12 +27895,33 @@ dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ 'elementSizeInBytes', 'length' ]); -typed_data.Int32x4 = class Int32x4 extends core.Object {}; +typed_data.Int32x4 = class Int32x4 extends core.Object { + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 173, 23, "x"); + if (y == null) dart.nullFailed(I[62], 173, 30, "y"); + if (z == null) dart.nullFailed(I[62], 173, 37, "z"); + if (w == null) dart.nullFailed(I[62], 173, 44, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[62], 175, 29, "x"); + if (y == null) dart.nullFailed(I[62], 175, 37, "y"); + if (z == null) dart.nullFailed(I[62], 175, 45, "z"); + if (w == null) dart.nullFailed(I[62], 175, 53, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); + } + static ['_#fromFloat32x4Bits#tearOff'](x) { + if (x == null) dart.nullFailed(I[62], 177, 47, "x"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); + } +}; (typed_data.Int32x4[dart.mixinNew] = function() { }).prototype = typed_data.Int32x4.prototype; dart.addTypeTests(typed_data.Int32x4); dart.addTypeCaches(typed_data.Int32x4); -dart.setLibraryUri(typed_data.Int32x4, I[60]); +dart.setStaticMethodSignature(typed_data.Int32x4, () => ['new', 'bool', 'fromFloat32x4Bits']); +dart.setLibraryUri(typed_data.Int32x4, I[63]); +dart.setStaticFieldSignature(typed_data.Int32x4, () => ['xxxx', 'xxxy', 'xxxz', 'xxxw', 'xxyx', 'xxyy', 'xxyz', 'xxyw', 'xxzx', 'xxzy', 'xxzz', 'xxzw', 'xxwx', 'xxwy', 'xxwz', 'xxww', 'xyxx', 'xyxy', 'xyxz', 'xyxw', 'xyyx', 'xyyy', 'xyyz', 'xyyw', 'xyzx', 'xyzy', 'xyzz', 'xyzw', 'xywx', 'xywy', 'xywz', 'xyww', 'xzxx', 'xzxy', 'xzxz', 'xzxw', 'xzyx', 'xzyy', 'xzyz', 'xzyw', 'xzzx', 'xzzy', 'xzzz', 'xzzw', 'xzwx', 'xzwy', 'xzwz', 'xzww', 'xwxx', 'xwxy', 'xwxz', 'xwxw', 'xwyx', 'xwyy', 'xwyz', 'xwyw', 'xwzx', 'xwzy', 'xwzz', 'xwzw', 'xwwx', 'xwwy', 'xwwz', 'xwww', 'yxxx', 'yxxy', 'yxxz', 'yxxw', 'yxyx', 'yxyy', 'yxyz', 'yxyw', 'yxzx', 'yxzy', 'yxzz', 'yxzw', 'yxwx', 'yxwy', 'yxwz', 'yxww', 'yyxx', 'yyxy', 'yyxz', 'yyxw', 'yyyx', 'yyyy', 'yyyz', 'yyyw', 'yyzx', 'yyzy', 'yyzz', 'yyzw', 'yywx', 'yywy', 'yywz', 'yyww', 'yzxx', 'yzxy', 'yzxz', 'yzxw', 'yzyx', 'yzyy', 'yzyz', 'yzyw', 'yzzx', 'yzzy', 'yzzz', 'yzzw', 'yzwx', 'yzwy', 'yzwz', 'yzww', 'ywxx', 'ywxy', 'ywxz', 'ywxw', 'ywyx', 'ywyy', 'ywyz', 'ywyw', 'ywzx', 'ywzy', 'ywzz', 'ywzw', 'ywwx', 'ywwy', 'ywwz', 'ywww', 'zxxx', 'zxxy', 'zxxz', 'zxxw', 'zxyx', 'zxyy', 'zxyz', 'zxyw', 'zxzx', 'zxzy', 'zxzz', 'zxzw', 'zxwx', 'zxwy', 'zxwz', 'zxww', 'zyxx', 'zyxy', 'zyxz', 'zyxw', 'zyyx', 'zyyy', 'zyyz', 'zyyw', 'zyzx', 'zyzy', 'zyzz', 'zyzw', 'zywx', 'zywy', 'zywz', 'zyww', 'zzxx', 'zzxy', 'zzxz', 'zzxw', 'zzyx', 'zzyy', 'zzyz', 'zzyw', 'zzzx', 'zzzy', 'zzzz', 'zzzw', 'zzwx', 'zzwy', 'zzwz', 'zzww', 'zwxx', 'zwxy', 'zwxz', 'zwxw', 'zwyx', 'zwyy', 'zwyz', 'zwyw', 'zwzx', 'zwzy', 'zwzz', 'zwzw', 'zwwx', 'zwwy', 'zwwz', 'zwww', 'wxxx', 'wxxy', 'wxxz', 'wxxw', 'wxyx', 'wxyy', 'wxyz', 'wxyw', 'wxzx', 'wxzy', 'wxzz', 'wxzw', 'wxwx', 'wxwy', 'wxwz', 'wxww', 'wyxx', 'wyxy', 'wyxz', 'wyxw', 'wyyx', 'wyyy', 'wyyz', 'wyyw', 'wyzx', 'wyzy', 'wyzz', 'wyzw', 'wywx', 'wywy', 'wywz', 'wyww', 'wzxx', 'wzxy', 'wzxz', 'wzxw', 'wzyx', 'wzyy', 'wzyz', 'wzyw', 'wzzx', 'wzzy', 'wzzz', 'wzzw', 'wzwx', 'wzwy', 'wzwz', 'wzww', 'wwxx', 'wwxy', 'wwxz', 'wwxw', 'wwyx', 'wwyy', 'wwyz', 'wwyw', 'wwzx', 'wwzy', 'wwzz', 'wwzw', 'wwwx', 'wwwy', 'wwwz', 'wwww', '_redirecting#']); dart.defineLazy(typed_data.Int32x4, { /*typed_data.Int32x4.xxxx*/get xxxx() { return 0; @@ -26500,17 +28701,33 @@ const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extend }).prototype = Object_FixedLengthListMixin$36$.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#_externalStorage#tearOff'](storage) { + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Int32x4List); } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); if (_native_typed_data.NativeInt32x4List.is(list)) { return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeInt32x4List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 201, 52, "list"); + return _native_typed_data.NativeInt32x4List.fromList(list); + } get buffer() { return this[_storage$][$buffer]; } @@ -26530,7 +28747,7 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + if (index == null) dart.nullFailed(I[60], 220, 27, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); @@ -26540,9 +28757,9 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + if (index == null) dart.nullFailed(I[60], 229, 25, "index"); typed_data.Int32x4.as(value); - if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + if (value == null) dart.nullFailed(I[60], 229, 40, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); @@ -26551,23 +28768,23 @@ _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_Fi return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + if (start == null) dart.nullFailed(I[60], 237, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); } }; (_native_typed_data.NativeInt32x4List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + if (length == null) dart.nullFailed(I[60], 182, 25, "length"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { - if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + if (storage == null) dart.nullFailed(I[60], 184, 48, "storage"); this[_storage$] = storage; ; }).prototype = _native_typed_data.NativeInt32x4List.prototype; (_native_typed_data.NativeInt32x4List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + if (list == null) dart.nullFailed(I[60], 186, 49, "list"); this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26589,6 +28806,7 @@ dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), buffer: typed_data.ByteBuffer, @@ -26602,7 +28820,7 @@ dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Int32List) @@ -26616,12 +28834,31 @@ dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ 'elementSizeInBytes', 'length' ]); -typed_data.Float64x2 = class Float64x2 extends core.Object {}; +typed_data.Float64x2 = class Float64x2 extends core.Object { + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[62], 184, 28, "x"); + if (y == null) dart.nullFailed(I[62], 184, 38, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 186, 34, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[62], 190, 45, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } +}; (typed_data.Float64x2[dart.mixinNew] = function() { }).prototype = typed_data.Float64x2.prototype; dart.addTypeTests(typed_data.Float64x2); dart.addTypeCaches(typed_data.Float64x2); -dart.setLibraryUri(typed_data.Float64x2, I[60]); +dart.setStaticMethodSignature(typed_data.Float64x2, () => ['new', 'splat', 'zero', 'fromFloat32x4']); +dart.setLibraryUri(typed_data.Float64x2, I[63]); +dart.setStaticFieldSignature(typed_data.Float64x2, () => ['_redirecting#']); const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; (Object_ListMixin$36$0.new = function() { }).prototype = Object_ListMixin$36$0.prototype; @@ -26631,14 +28868,30 @@ const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin exten }).prototype = Object_FixedLengthListMixin$36$0.prototype; dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#_externalStorage#tearOff'](_storage) { + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); + return new _native_typed_data.NativeFloat64x2List._externalStorage(_storage); + } + static ['_#_slowFromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); if (_native_typed_data.NativeFloat64x2List.is(list)) { return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); } else { return new _native_typed_data.NativeFloat64x2List._slowFromList(list); } } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 269, 56, "list"); + return _native_typed_data.NativeFloat64x2List.fromList(list); + } get runtimeType() { return dart.wrapType(typed_data.Float64x2List); } @@ -26661,7 +28914,7 @@ _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Objec super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + if (index == null) dart.nullFailed(I[60], 290, 29, "index"); _native_typed_data._checkValidIndex(index, this, this.length); let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); @@ -26669,32 +28922,32 @@ _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Objec } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + if (index == null) dart.nullFailed(I[60], 297, 25, "index"); typed_data.Float64x2.as(value); - if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + if (value == null) dart.nullFailed(I[60], 297, 42, "value"); _native_typed_data._checkValidIndex(index, this, this.length); this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); return value$; } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + if (start == null) dart.nullFailed(I[60], 303, 29, "start"); let stop = _native_typed_data._checkValidRange(start, end, this.length); return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); } }; (_native_typed_data.NativeFloat64x2List.new = function(length) { - if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + if (length == null) dart.nullFailed(I[60], 254, 27, "length"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { - if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + if (_storage == null) dart.nullFailed(I[60], 256, 45, "_storage"); this[_storage$] = _storage; ; }).prototype = _native_typed_data.NativeFloat64x2List.prototype; (_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { - if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + if (list == null) dart.nullFailed(I[60], 258, 53, "list"); this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { let e = list[$_get](i); @@ -26714,6 +28967,7 @@ dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat64x2List, () => ['fromList']); dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), buffer: typed_data.ByteBuffer, @@ -26727,7 +28981,7 @@ dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), [_storage$]: dart.finalFieldType(typed_data.Float64List) @@ -26757,9 +29011,9 @@ _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { return this.BYTES_PER_ELEMENT; } [_invalidPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 330, 29, "position"); - if (length == null) dart.nullFailed(I[58], 330, 43, "length"); - if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (position == null) dart.nullFailed(I[60], 330, 29, "position"); + if (length == null) dart.nullFailed(I[60], 330, 43, "length"); + if (name == null) dart.nullFailed(I[60], 330, 58, "name"); if (!core.int.is(position)) { dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); } else { @@ -26767,13 +29021,16 @@ _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { } } [_checkPosition](position, length, name) { - if (position == null) dart.nullFailed(I[58], 338, 27, "position"); - if (length == null) dart.nullFailed(I[58], 338, 41, "length"); - if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position == null) dart.nullFailed(I[60], 338, 27, "position"); + if (length == null) dart.nullFailed(I[60], 338, 41, "length"); + if (name == null) dart.nullFailed(I[60], 338, 56, "name"); if (position >>> 0 !== position || position > dart.notNull(length)) { this[_invalidPosition](position, length, name); } } + static ['_#new#tearOff']() { + return new _native_typed_data.NativeTypedData.new(); + } }; (_native_typed_data.NativeTypedData.new = function() { ; @@ -26793,7 +29050,7 @@ dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ [$offsetInBytes]: core.int, [$elementSizeInBytes]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedData, I[61]); dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); @@ -26810,12 +29067,21 @@ var _setUint16 = dart.privateName(_native_typed_data, "_setUint16"); var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { static new(length) { - if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 386, 30, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(buffer, offsetInBytes, length); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 399, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); } @@ -26825,137 +29091,137 @@ _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_d get [$elementSizeInBytes]() { return 1; } - [$getFloat32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + [$getFloat32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 416, 45, "endian"); return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat32](...args) { return this.getFloat32.apply(this, args); } - [$getFloat64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + [$getFloat64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 429, 45, "endian"); return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getFloat64](...args) { return this.getFloat64.apply(this, args); } - [$getInt16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + [$getInt16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 444, 40, "endian"); return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt16](...args) { return this.getInt16.apply(this, args); } - [$getInt32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + [$getInt32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 459, 40, "endian"); return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getInt32](...args) { return this.getInt32.apply(this, args); } - [$getInt64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + [$getInt64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 474, 40, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$getInt8](...args) { return this.getInt8.apply(this, args); } - [$getUint16](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + [$getUint16](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 493, 41, "endian"); return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint16](...args) { return this.getUint16.apply(this, args); } - [$getUint32](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + [$getUint32](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 507, 41, "endian"); return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); } [_getUint32](...args) { return this.getUint32.apply(this, args); } - [$getUint64](byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + [$getUint64](byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[60], 521, 41, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$getUint8](...args) { return this.getUint8.apply(this, args); } - [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 548, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + [$setFloat32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 548, 54, "endian"); return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat32](...args) { return this.setFloat32.apply(this, args); } - [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 560, 39, "value"); - if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + [$setFloat64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[60], 560, 54, "endian"); return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setFloat64](...args) { return this.setFloat64.apply(this, args); } - [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 573, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + [$setInt16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 573, 52, "endian"); return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt16](...args) { return this.setInt16.apply(this, args); } - [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 586, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + [$setInt32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 586, 52, "endian"); return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setInt32](...args) { return this.setInt32.apply(this, args); } - [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 599, 37, "value"); - if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + [$setInt64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[60], 599, 52, "endian"); dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); } [$setInt8](...args) { return this.setInt8.apply(this, args); } - [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 619, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + [$setUint16](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 619, 53, "endian"); return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint16](...args) { return this.setUint16.apply(this, args); } - [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 632, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + [$setUint32](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 632, 53, "endian"); return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); } [_setUint32](...args) { return this.setUint32.apply(this, args); } - [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[58], 645, 38, "value"); - if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + [$setUint64](byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[60], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[60], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[60], 645, 53, "endian"); dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); } [$setUint8](...args) { @@ -27009,17 +29275,18 @@ dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) })); -dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeByteData, () => ['new', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeByteData, I[61]); dart.registerExtension("DataView", _native_typed_data.NativeByteData); var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); _native_typed_data.NativeTypedArray$ = dart.generic(E => { class NativeTypedArray extends _native_typed_data.NativeTypedData { [_setRangeFast](start, end, source, skipCount) { - if (start == null) dart.nullFailed(I[58], 673, 11, "start"); - if (end == null) dart.nullFailed(I[58], 673, 22, "end"); - if (source == null) dart.nullFailed(I[58], 673, 44, "source"); - if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + if (start == null) dart.nullFailed(I[60], 673, 11, "start"); + if (end == null) dart.nullFailed(I[60], 673, 22, "end"); + if (source == null) dart.nullFailed(I[60], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[60], 673, 56, "skipCount"); let targetLength = this[$length]; this[_checkPosition](start, targetLength, "start"); this[_checkPosition](end, targetLength, "end"); @@ -27047,7 +29314,7 @@ _native_typed_data.NativeTypedArray$ = dart.generic(E => { __proto__: dart.getMethods(NativeTypedArray.__proto__), [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) })); - dart.setLibraryUri(NativeTypedArray, I[59]); + dart.setLibraryUri(NativeTypedArray, I[61]); return NativeTypedArray; }); _native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); @@ -27061,14 +29328,14 @@ core.double = class double extends core.num { return dart.as(o, core.double); } static parse(source, onError = null) { - if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + if (source == null) dart.nullFailed(I[7], 276, 30, "source"); let value = core.double.tryParse(source); if (value != null) return value; if (onError != null) return onError(source); dart.throw(new core.FormatException.new("Invalid double", source)); } static tryParse(source) { - if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + if (source == null) dart.nullFailed(I[7], 285, 34, "source"); return _js_helper.Primitives.parseDouble(source); } }; @@ -27076,7 +29343,9 @@ core.double = class double extends core.num { ; }).prototype = core.double.prototype; dart.addTypeCaches(core.double); -dart.setLibraryUri(core.double, I[8]); +dart.setStaticMethodSignature(core.double, () => ['is', 'as', 'parse', 'tryParse']); +dart.setLibraryUri(core.double, I[9]); +dart.setStaticFieldSignature(core.double, () => ['nan', 'infinity', 'negativeInfinity', 'minPositive', 'maxFinite']); dart.defineLazy(core.double, { /*core.double.nan*/get nan() { return 0 / 0; @@ -27110,25 +29379,25 @@ _native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble ext super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + if (index == null) dart.nullFailed(I[60], 699, 26, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + if (index == null) dart.nullFailed(I[60], 704, 25, "index"); core.num.as(value); - if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + if (value == null) dart.nullFailed(I[60], 704, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 709, 21, "start"); - if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + if (start == null) dart.nullFailed(I[60], 709, 21, "start"); + if (end == null) dart.nullFailed(I[60], 709, 32, "end"); T$.IterableOfdouble().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 710, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27153,7 +29422,7 @@ dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; @@ -27173,19 +29442,19 @@ _native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends N } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + if (index == null) dart.nullFailed(I[60], 727, 25, "index"); core.int.as(value); - if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + if (value == null) dart.nullFailed(I[60], 727, 36, "value"); _native_typed_data._checkValidIndex(index, this, this[$length]); this[index] = value; return value$; } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[58], 732, 21, "start"); - if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + if (start == null) dart.nullFailed(I[60], 732, 21, "start"); + if (end == null) dart.nullFailed(I[60], 732, 32, "end"); T$.IterableOfint().as(iterable); - if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); - if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[60], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[60], 733, 12, "skipCount"); if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { this[_setRangeFast](start, end, iterable, skipCount); return; @@ -27210,30 +29479,43 @@ dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[61]); dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); _native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 745, 33, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 751, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float32List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + if (start == null) dart.nullFailed(I[60], 760, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat32List._create1(source); @@ -27252,29 +29534,43 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32List, () => ({ __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[61]); dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); _native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { static new(length) { - if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 777, 33, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 783, 30, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Float64List); } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + if (start == null) dart.nullFailed(I[60], 792, 27, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeFloat64List._create1(source); @@ -27293,34 +29589,48 @@ dart.setMethodSignature(_native_typed_data.NativeFloat64List, () => ({ __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat64List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[61]); dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); _native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 807, 31, "length"); + return _native_typed_data.NativeInt16List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 809, 46, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 813, 36, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + if (index == null) dart.nullFailed(I[60], 822, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + if (start == null) dart.nullFailed(I[60], 827, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt16List._create1(source); @@ -27340,34 +29650,48 @@ dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt16List, I[61]); dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); _native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 842, 31, "length"); + return _native_typed_data.NativeInt32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 844, 46, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 848, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + if (index == null) dart.nullFailed(I[60], 857, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + if (start == null) dart.nullFailed(I[60], 862, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt32List._create1(source); @@ -27387,33 +29711,47 @@ dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt32List, I[61]); dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); _native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 878, 30, "length"); + return _native_typed_data.NativeInt8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 880, 45, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 884, 30, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Int8List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + if (index == null) dart.nullFailed(I[60], 893, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + if (start == null) dart.nullFailed(I[60], 898, 24, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeInt8List._create1(source); @@ -27436,34 +29774,48 @@ dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeInt8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeInt8List, I[61]); dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); _native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 916, 32, "length"); + return _native_typed_data.NativeUint16List.new(length); + } static fromList(list) { - if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[60], 918, 47, "list"); + return _native_typed_data.NativeUint16List.fromList(list); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 922, 30, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint16List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + if (index == null) dart.nullFailed(I[60], 931, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + if (start == null) dart.nullFailed(I[60], 936, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint16List._create1(source); @@ -27483,34 +29835,48 @@ dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint16List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint16List, I[61]); dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); _native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 952, 32, "length"); + return _native_typed_data.NativeUint32List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 954, 47, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 958, 30, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint32List); } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + if (index == null) dart.nullFailed(I[60], 967, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + if (start == null) dart.nullFailed(I[60], 972, 26, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint32List._create1(source); @@ -27530,23 +29896,37 @@ dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint32List, () => ['new', 'fromList', 'view', '_create1', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint32List, I[61]); dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 995, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8ClampedList); } @@ -27557,12 +29937,12 @@ _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1006, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + if (start == null) dart.nullFailed(I[60], 1011, 32, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8ClampedList._create1(source); @@ -27585,24 +29965,38 @@ dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[61]); dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { static new(length) { - if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[60], 1039, 31, "length"); + return _native_typed_data.NativeUint8List.new(length); + } static fromList(elements) { - if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[60], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } static view(buffer, offsetInBytes, length) { - if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); } + static ['_#view#tearOff'](buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[60], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[60], 1045, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(buffer, offsetInBytes, length); + } get [$runtimeType]() { return dart.wrapType(typed_data.Uint8List); } @@ -27613,12 +30007,12 @@ _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed super[$length] = value; } [$_get](index) { - if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + if (index == null) dart.nullFailed(I[60], 1056, 23, "index"); _native_typed_data._checkValidIndex(index, this, this[$length]); return this[index]; } [$sublist](start, end = null) { - if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + if (start == null) dart.nullFailed(I[60], 1061, 25, "start"); let stop = _native_typed_data._checkValidRange(start, end, this[$length]); let source = this.subarray(start, stop); return _native_typed_data.NativeUint8List._create1(source); @@ -27641,7 +30035,8 @@ dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ [$_get]: dart.fnType(core.int, [core.int]), [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) })); -dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); +dart.setStaticMethodSignature(_native_typed_data.NativeUint8List, () => ['new', 'fromList', 'view', '_create1', '_create2', '_create3']); +dart.setLibraryUri(_native_typed_data.NativeUint8List, I[61]); dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); @@ -27673,22 +30068,58 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { super.w = value; } static _truncate(x) { - _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); - return _native_typed_data.NativeFloat32x4._list[$_get](0); + _native_typed_data.NativeFloat32x4._list[0] = x; + return _native_typed_data.NativeFloat32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + return new _native_typed_data.NativeFloat32x4.new(x, y, z, w); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); + return new _native_typed_data.NativeFloat32x4.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat32x4.zero(); + } + static ['_#fromInt32x4Bits#tearOff'](i) { + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); + return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(i); } static fromInt32x4Bits(i) { - if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + if (i == null) dart.nullFailed(I[60], 1114, 51, "i"); _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); } + static ['_#fromFloat64x2#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); + } + static ['_#_doubles#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + return new _native_typed_data.NativeFloat32x4._doubles(x, y, z, w); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); + return new _native_typed_data.NativeFloat32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1146, 34, "other"); let _x = dart.notNull(this.x) + dart.notNull(other.x); let _y = dart.notNull(this.y) + dart.notNull(other.y); let _z = dart.notNull(this.z) + dart.notNull(other.z); @@ -27699,7 +30130,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1160, 34, "other"); let _x = dart.notNull(this.x) - dart.notNull(other.x); let _y = dart.notNull(this.y) - dart.notNull(other.y); let _z = dart.notNull(this.z) - dart.notNull(other.z); @@ -27707,7 +30138,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1169, 34, "other"); let _x = dart.notNull(this.x) * dart.notNull(other.x); let _y = dart.notNull(this.y) * dart.notNull(other.y); let _z = dart.notNull(this.z) * dart.notNull(other.z); @@ -27715,7 +30146,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1178, 34, "other"); let _x = dart.notNull(this.x) / dart.notNull(other.x); let _y = dart.notNull(this.y) / dart.notNull(other.y); let _z = dart.notNull(this.z) / dart.notNull(other.z); @@ -27723,7 +30154,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); } lessThan(other) { - if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1187, 30, "other"); let _cx = dart.notNull(this.x) < dart.notNull(other.x); let _cy = dart.notNull(this.y) < dart.notNull(other.y); let _cz = dart.notNull(this.z) < dart.notNull(other.z); @@ -27731,7 +30162,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } lessThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + if (other == null) dart.nullFailed(I[60], 1197, 37, "other"); let _cx = dart.notNull(this.x) <= dart.notNull(other.x); let _cy = dart.notNull(this.y) <= dart.notNull(other.y); let _cz = dart.notNull(this.z) <= dart.notNull(other.z); @@ -27739,7 +30170,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThan(other) { - if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + if (other == null) dart.nullFailed(I[60], 1207, 33, "other"); let _cx = dart.notNull(this.x) > dart.notNull(other.x); let _cy = dart.notNull(this.y) > dart.notNull(other.y); let _cz = dart.notNull(this.z) > dart.notNull(other.z); @@ -27747,7 +30178,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } greaterThanOrEqual(other) { - if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + if (other == null) dart.nullFailed(I[60], 1217, 40, "other"); let _cx = dart.notNull(this.x) >= dart.notNull(other.x); let _cy = dart.notNull(this.y) >= dart.notNull(other.y); let _cz = dart.notNull(this.z) >= dart.notNull(other.z); @@ -27755,7 +30186,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } equal(other) { - if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1227, 27, "other"); let _cx = this.x == other.x; let _cy = this.y == other.y; let _cz = this.z == other.z; @@ -27763,7 +30194,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } notEqual(other) { - if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1237, 30, "other"); let _cx = this.x != other.x; let _cy = this.y != other.y; let _cz = this.z != other.z; @@ -27771,7 +30202,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1247, 26, "s"); let _x = dart.notNull(s) * dart.notNull(this.x); let _y = dart.notNull(s) * dart.notNull(this.y); let _z = dart.notNull(s) * dart.notNull(this.z); @@ -27786,8 +30217,8 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1265, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1265, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _lz = lowerLimit.z; @@ -27827,7 +30258,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (mask == null) dart.nullFailed(I[60], 1307, 25, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27842,8 +30273,8 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); - if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (other == null) dart.nullFailed(I[60], 1326, 34, "other"); + if (mask == null) dart.nullFailed(I[60], 1326, 45, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -27862,27 +30293,27 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } withX(newX) { - if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); core.ArgumentError.checkNotNull(core.double, newX); - return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._truncate(newX), this.y, this.z, this.w); } withY(newY) { - if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + if (newY == null) dart.nullFailed(I[60], 1353, 26, "newY"); core.ArgumentError.checkNotNull(core.double, newY); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, _native_typed_data.NativeFloat32x4._truncate(newY), this.z, this.w); } withZ(newZ) { - if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + if (newZ == null) dart.nullFailed(I[60], 1359, 26, "newZ"); core.ArgumentError.checkNotNull(core.double, newZ); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, _native_typed_data.NativeFloat32x4._truncate(newZ), this.w); } withW(newW) { - if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + if (newW == null) dart.nullFailed(I[60], 1365, 26, "newW"); core.ArgumentError.checkNotNull(core.double, newW); - return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, _native_typed_data.NativeFloat32x4._truncate(newW)); } min(other) { - if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1371, 27, "other"); let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; @@ -27890,7 +30321,7 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); } max(other) { - if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1380, 27, "other"); let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; @@ -27920,46 +30351,46 @@ _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { } }; (_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); - if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); - if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); - if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1097, 26, "x"); + if (y == null) dart.nullFailed(I[60], 1097, 36, "y"); + if (z == null) dart.nullFailed(I[60], 1097, 46, "z"); + if (w == null) dart.nullFailed(I[60], 1097, 56, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1110, 32, "v"); _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.zero = function() { _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { - if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); - _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); + if (v == null) dart.nullFailed(I[60], 1122, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, _native_typed_data.NativeFloat32x4._truncate(v.x), _native_typed_data.NativeFloat32x4._truncate(v.y), 0.0, 0.0); }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); - if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); - if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); - this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); - this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); - this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); - this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1128, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1128, 45, "y"); + if (z == null) dart.nullFailed(I[60], 1128, 55, "z"); + if (w == null) dart.nullFailed(I[60], 1128, 65, "w"); + this[x$] = _native_typed_data.NativeFloat32x4._truncate(x); + this[y$] = _native_typed_data.NativeFloat32x4._truncate(y); + this[z$] = _native_typed_data.NativeFloat32x4._truncate(z); + this[w$] = _native_typed_data.NativeFloat32x4._truncate(w); ; }).prototype = _native_typed_data.NativeFloat32x4.prototype; (_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); - if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); - if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); - if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + if (x == null) dart.nullFailed(I[60], 1139, 35, "x"); + if (y == null) dart.nullFailed(I[60], 1139, 43, "y"); + if (z == null) dart.nullFailed(I[60], 1139, 51, "z"); + if (w == null) dart.nullFailed(I[60], 1139, 59, "w"); this[x$] = x; this[y$] = y; this[z$] = z; @@ -27997,11 +30428,12 @@ dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ reciprocal: dart.fnType(typed_data.Float32x4, []), reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) })); +dart.setStaticMethodSignature(_native_typed_data.NativeFloat32x4, () => ['_truncate', 'fromInt32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), signMask: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), x: dart.finalFieldType(core.double), @@ -28009,6 +30441,7 @@ dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ z: dart.finalFieldType(core.double), w: dart.finalFieldType(core.double) })); +dart.setStaticFieldSignature(_native_typed_data.NativeFloat32x4, () => ['_list', '_uint32view']); dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat32x4, { /*_native_typed_data.NativeFloat32x4._list*/get _list() { @@ -28048,11 +30481,25 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { super.w = value; } static _truncate(x) { - _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); - return _native_typed_data.NativeInt32x4._list[$_get](0); + _native_typed_data.NativeInt32x4._list[0] = x; + return _native_typed_data.NativeInt32x4._list[0]; + } + static ['_#new#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + return new _native_typed_data.NativeInt32x4.new(x, y, z, w); + } + static ['_#bool#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); + return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); } static fromFloat32x4Bits(f) { - if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); let floatList = _native_typed_data.NativeFloat32x4._list; floatList[$_set](0, f.x); floatList[$_set](1, f.y); @@ -28061,27 +30508,38 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { let view = floatList.buffer[$asInt32List](); return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); } + static ['_#fromFloat32x4Bits#tearOff'](f) { + if (f == null) dart.nullFailed(I[60], 1452, 53, "f"); + return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(f); + } + static ['_#_truncated#tearOff'](x, y, z, w) { + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); + return new _native_typed_data.NativeInt32x4._truncated(x, y, z, w); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; } ['|'](other) { - if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1467, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); } ['&'](other) { - if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1478, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); } ['^'](other) { - if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1489, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1499, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + if (other == null) dart.nullFailed(I[60], 1508, 30, "other"); return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); } _negate() { @@ -28095,7 +30553,7 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; } shuffle(mask) { - if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (mask == null) dart.nullFailed(I[60], 1536, 23, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28110,8 +30568,8 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } shuffleMix(other, mask) { - if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); - if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (other == null) dart.nullFailed(I[60], 1554, 30, "other"); + if (mask == null) dart.nullFailed(I[60], 1554, 41, "mask"); if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); } @@ -28130,27 +30588,27 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); } withX(x) { - if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); core.ArgumentError.checkNotNull(core.int, x); - let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + let _x = _native_typed_data.NativeInt32x4._truncate(x); return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + if (y == null) dart.nullFailed(I[60], 1582, 21, "y"); core.ArgumentError.checkNotNull(core.int, y); - let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + let _y = _native_typed_data.NativeInt32x4._truncate(y); return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withZ(z) { - if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + if (z == null) dart.nullFailed(I[60], 1589, 21, "z"); core.ArgumentError.checkNotNull(core.int, z); - let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + let _z = _native_typed_data.NativeInt32x4._truncate(z); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withW(w) { - if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + if (w == null) dart.nullFailed(I[60], 1596, 21, "w"); core.ArgumentError.checkNotNull(core.int, w); - let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + let _w = _native_typed_data.NativeInt32x4._truncate(w); return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } get flagX() { @@ -28166,28 +30624,28 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { return this.w !== 0; } withFlagX(flagX) { - if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + if (flagX == null) dart.nullFailed(I[60], 1615, 26, "flagX"); let _x = dart.test(flagX) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); } withFlagY(flagY) { - if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + if (flagY == null) dart.nullFailed(I[60], 1621, 26, "flagY"); let _y = dart.test(flagY) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); } withFlagZ(flagZ) { - if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + if (flagZ == null) dart.nullFailed(I[60], 1627, 26, "flagZ"); let _z = dart.test(flagZ) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); } withFlagW(flagW) { - if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + if (flagW == null) dart.nullFailed(I[60], 1633, 26, "flagW"); let _w = dart.test(flagW) ? -1 : 0; return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); } select(trueValue, falseValue) { - if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); - if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + if (trueValue == null) dart.nullFailed(I[60], 1641, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[60], 1641, 51, "falseValue"); let floatList = _native_typed_data.NativeFloat32x4._list; let intView = _native_typed_data.NativeFloat32x4._uint32view; floatList[$_set](0, trueValue.x); @@ -28218,24 +30676,24 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { } }; (_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); - if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); - if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); - if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); - this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); - this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); - this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); - this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x == null) dart.nullFailed(I[60], 1434, 21, "x"); + if (y == null) dart.nullFailed(I[60], 1434, 28, "y"); + if (z == null) dart.nullFailed(I[60], 1434, 35, "z"); + if (w == null) dart.nullFailed(I[60], 1434, 42, "w"); + this[x$0] = _native_typed_data.NativeInt32x4._truncate(x); + this[y$0] = _native_typed_data.NativeInt32x4._truncate(y); + this[z$0] = _native_typed_data.NativeInt32x4._truncate(z); + this[w$0] = _native_typed_data.NativeInt32x4._truncate(w); if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); - if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); - if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); - if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + if (x == null) dart.nullFailed(I[60], 1445, 27, "x"); + if (y == null) dart.nullFailed(I[60], 1445, 35, "y"); + if (z == null) dart.nullFailed(I[60], 1445, 43, "z"); + if (w == null) dart.nullFailed(I[60], 1445, 51, "w"); this[x$0] = dart.test(x) ? -1 : 0; this[y$0] = dart.test(y) ? -1 : 0; this[z$0] = dart.test(z) ? -1 : 0; @@ -28243,10 +30701,10 @@ _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { ; }).prototype = _native_typed_data.NativeInt32x4.prototype; (_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { - if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); - if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); - if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + if (x == null) dart.nullFailed(I[60], 1462, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1462, 41, "y"); + if (z == null) dart.nullFailed(I[60], 1462, 49, "z"); + if (w == null) dart.nullFailed(I[60], 1462, 57, "w"); this[x$0] = x; this[y$0] = y; this[z$0] = z; @@ -28276,6 +30734,7 @@ dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) })); +dart.setStaticMethodSignature(_native_typed_data.NativeInt32x4, () => ['_truncate', 'fromFloat32x4Bits']); dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), signMask: core.int, @@ -28284,7 +30743,7 @@ dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ flagZ: core.bool, flagW: core.bool })); -dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); +dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[61]); dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), x: dart.finalFieldType(core.int), @@ -28292,6 +30751,7 @@ dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ z: dart.finalFieldType(core.int), w: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(_native_typed_data.NativeInt32x4, () => ['_list']); dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); dart.defineLazy(_native_typed_data.NativeInt32x4, { /*_native_typed_data.NativeInt32x4._list*/get _list() { @@ -28313,38 +30773,59 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { set y(value) { super.y = value; } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); + return new _native_typed_data.NativeFloat64x2.new(x, y); + } + static ['_#splat#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); + return new _native_typed_data.NativeFloat64x2.splat(v); + } + static ['_#zero#tearOff']() { + return new _native_typed_data.NativeFloat64x2.zero(); + } + static ['_#fromFloat32x4#tearOff'](v) { + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); + return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); + } + static ['_#_doubles#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); + return new _native_typed_data.NativeFloat64x2._doubles(x, y); + } toString() { return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; } ['+'](other) { - if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1699, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); } _negate() { return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); } ['-'](other) { - if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1709, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); } ['*'](other) { - if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1714, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); } ['/'](other) { - if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + if (other == null) dart.nullFailed(I[60], 1719, 34, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); } scale(s) { - if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + if (s == null) dart.nullFailed(I[60], 1724, 26, "s"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); } abs() { return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); } clamp(lowerLimit, upperLimit) { - if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); - if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + if (lowerLimit == null) dart.nullFailed(I[60], 1734, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[60], 1734, 51, "upperLimit"); let _lx = lowerLimit.x; let _ly = lowerLimit.y; let _ux = upperLimit.x; @@ -28366,21 +30847,21 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { return (mx | my << 1 >>> 0) >>> 0; } withX(x) { - if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (x == null) dart.nullFailed(I[60], 1760, 26, "x"); if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); } withY(y) { - if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (y == null) dart.nullFailed(I[60], 1766, 26, "y"); if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); } min(other) { - if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1772, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); } max(other) { - if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + if (other == null) dart.nullFailed(I[60], 1778, 27, "other"); return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); } sqrt() { @@ -28388,27 +30869,27 @@ _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { } }; (_native_typed_data.NativeFloat64x2.new = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); - if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + if (x == null) dart.nullFailed(I[60], 1682, 24, "x"); + if (y == null) dart.nullFailed(I[60], 1682, 32, "y"); this[x$1] = x; this[y$1] = y; if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.splat = function(v) { - if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + if (v == null) dart.nullFailed(I[60], 1687, 32, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v, v); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.zero = function() { _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { - if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + if (v == null) dart.nullFailed(I[60], 1691, 43, "v"); _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); }).prototype = _native_typed_data.NativeFloat64x2.prototype; (_native_typed_data.NativeFloat64x2._doubles = function(x, y) { - if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); - if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + if (x == null) dart.nullFailed(I[60], 1694, 33, "x"); + if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); this[x$1] = x; this[y$1] = y; ; @@ -28436,22 +30917,27 @@ dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), signMask: core.int })); -dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[61]); dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), x: dart.finalFieldType(core.double), y: dart.finalFieldType(core.double) })); +dart.setStaticFieldSignature(_native_typed_data.NativeFloat64x2, () => ['_list', '_uint32View']); dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); dart.defineLazy(_native_typed_data.NativeFloat64x2, { /*_native_typed_data.NativeFloat64x2._list*/get _list() { return _native_typed_data.NativeFloat64List.new(2); }, - set _list(_) {}, + set _list(value) { + if (value == null) dart.nullFailed(I[60], 1679, 28, "_list"); + }, /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); }, - set _uint32View(_) {} + set _uint32View(value) { + if (value == null) dart.nullFailed(I[60], 1680, 21, "_uint32View"); + } }, false); _native_typed_data._checkLength = function _checkLength(length) { if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); @@ -28469,7 +30955,7 @@ _native_typed_data._checkViewArguments = function _checkViewArguments(buffer, of } }; _native_typed_data._ensureNativeList = function _ensureNativeList(list) { - if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (list == null) dart.nullFailed(I[60], 373, 29, "list"); if (_interceptors.JSIndexable.is(list)) return list; let result = core.List.filled(list[$length], null); for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { @@ -28478,20 +30964,20 @@ _native_typed_data._ensureNativeList = function _ensureNativeList(list) { return result; }; _native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { - if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + if (index == null) dart.nullFailed(I[60], 1791, 31, "index"); return index >>> 0 !== index; }; _native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { - if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); - if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); - if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (index == null) dart.nullFailed(I[60], 1798, 27, "index"); + if (list == null) dart.nullFailed(I[60], 1798, 39, "list"); + if (length == null) dart.nullFailed(I[60], 1798, 49, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { dart.throw(_js_helper.diagnoseIndexError(list, index)); } }; _native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { - if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); - if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (start == null) dart.nullFailed(I[60], 1811, 26, "start"); + if (length == null) dart.nullFailed(I[60], 1811, 47, "length"); if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { dart.throw(_js_helper.diagnoseRangeError(start, end, length)); } @@ -28509,27 +30995,31 @@ var _thenAwait = dart.privateName(async, "_thenAwait"); var _fatal = dart.privateName(async, "_fatal"); const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); async._AsyncStarImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _AsyncStarImpl extends core.Object { get controller() { - let t83; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + let t72; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); } - set controller(t83) { - StreamControllerOfT().as(t83); - if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + set controller(controller$35param) { + __t$StreamControllerOfT().as(controller$35param); + if (controller$35param == null) dart.nullFailed(I[64], 224, 28, "controller#param"); this[___AsyncStarImpl_controller_isSet] = true; - this[___AsyncStarImpl_controller] = t83; + this[___AsyncStarImpl_controller] = controller$35param; } get jsIterator() { - let t84; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + let t72; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); } - set jsIterator(t84) { - if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + set jsIterator(jsIterator$35param) { + if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); this[___AsyncStarImpl_jsIterator_isSet] = true; - this[___AsyncStarImpl_jsIterator] = t84; + this[___AsyncStarImpl_jsIterator] = jsIterator$35param; + } + static ['_#new#tearOff'](T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); + return new (async._AsyncStarImpl$(T)).new(initGenerator); } get stream() { return this.controller.stream; @@ -28537,8 +31027,8 @@ async._AsyncStarImpl$ = dart.generic(T => { get handleError() { if (this[_handleErrorCallback] == null) { this[_handleErrorCallback] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[61], 282, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 277, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 277, 49, "stackTrace"); try { this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); } catch (e$) { @@ -28619,8 +31109,8 @@ async._AsyncStarImpl$ = dart.generic(T => { return false; } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[64], 397, 28, "stream"); if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); if (!dart.test(this.controller.hasListener)) return true; this.isSuspendedAtYieldStar = true; @@ -28633,8 +31123,8 @@ async._AsyncStarImpl$ = dart.generic(T => { return false; } addError(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 416, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + if (error == null) dart.nullFailed(I[64], 411, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 411, 42, "stackTrace"); core.ArgumentError.checkNotNull(core.Object, error, "error"); let completer = this.cancellationCompleter; if (completer != null && !dart.test(completer.isCompleted)) { @@ -28652,7 +31142,7 @@ async._AsyncStarImpl$ = dart.generic(T => { this.controller.close(); } onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); this.onListenReceived = true; this.scheduleGenerator(); } @@ -28674,12 +31164,12 @@ async._AsyncStarImpl$ = dart.generic(T => { return dart.nullCheck(this.cancellationCompleter).future; } [_fatal](message) { - if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + if (message == null) dart.nullFailed(I[64], 466, 17, "message"); return dart.throw(new core.StateError.new(message)); } } (_AsyncStarImpl.new = function(initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 245, 23, "initGenerator"); this[___AsyncStarImpl_controller] = null; this[___AsyncStarImpl_controller_isSet] = false; this.isSuspendedAtYieldStar = false; @@ -28693,7 +31183,7 @@ async._AsyncStarImpl$ = dart.generic(T => { this[_handleErrorCallback] = null; this[_runBodyCallback] = null; this.initGenerator = initGenerator; - this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.controller = __t$StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); this.jsIterator = this.initGenerator(this)[Symbol.iterator](); }).prototype = _AsyncStarImpl.prototype; dart.addTypeTests(_AsyncStarImpl); @@ -28724,7 +31214,7 @@ async._AsyncStarImpl$ = dart.generic(T => { controller: dart.nullable(core.Object), jsIterator: core.Object })); - dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setLibraryUri(_AsyncStarImpl, I[31]); dart.setFieldSignature(_AsyncStarImpl, () => ({ __proto__: dart.getFields(_AsyncStarImpl.__proto__), [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -28760,8 +31250,12 @@ async.AsyncError = class AsyncError extends core.Object { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); + return new async.AsyncError.new(error, stackTrace); + } static defaultStackTrace(error) { - if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (error == null) dart.nullFailed(I[65], 24, 46, "error"); if (core.Error.is(error)) { let stackTrace = error[$stackTrace]; if (stackTrace != null) return stackTrace; @@ -28773,16 +31267,17 @@ async.AsyncError = class AsyncError extends core.Object { } }; (async.AsyncError.new = function(error, stackTrace) { - let t87; - if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + let t74; + if (error == null) dart.nullFailed(I[65], 15, 21, "error"); this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + this[stackTrace$] = (t74 = stackTrace, t74 == null ? async.AsyncError.defaultStackTrace(error) : t74); ; }).prototype = async.AsyncError.prototype; dart.addTypeTests(async.AsyncError); dart.addTypeCaches(async.AsyncError); async.AsyncError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(async.AsyncError, I[29]); +dart.setStaticMethodSignature(async.AsyncError, () => ['defaultStackTrace']); +dart.setLibraryUri(async.AsyncError, I[31]); dart.setFieldSignature(async.AsyncError, () => ({ __proto__: dart.getFields(async.AsyncError.__proto__), error: dart.finalFieldType(core.Object), @@ -28796,7 +31291,7 @@ var _createSubscription = dart.privateName(async, "_createSubscription"); var _onListen$ = dart.privateName(async, "_onListen"); const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); async._StreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); class _StreamImpl extends async.Stream$(T) { listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -28808,11 +31303,11 @@ async._StreamImpl$ = dart.generic(T => { return subscription; } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); - return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[68], 479, 47, "cancelOnError"); + return new (__t$_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); } [_onListen$](subscription) { - if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + if (subscription == null) dart.nullFailed(I[68], 485, 37, "subscription"); } } (_StreamImpl.new = function() { @@ -28828,7 +31323,7 @@ async._StreamImpl$ = dart.generic(T => { [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) })); - dart.setLibraryUri(_StreamImpl, I[29]); + dart.setLibraryUri(_StreamImpl, I[31]); return _StreamImpl; }); async._StreamImpl = async._StreamImpl$(); @@ -28836,8 +31331,12 @@ dart.addTypeTests(async._StreamImpl, _is__StreamImpl_default); const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); async._ControllerStream$ = dart.generic(T => { class _ControllerStream extends async._StreamImpl$(T) { + static ['_#new#tearOff'](T, _controller) { + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); + return new (async._ControllerStream$(T)).new(_controller); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 826, 51, "cancelOnError"); return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); } get hashCode() { @@ -28850,7 +31349,7 @@ async._ControllerStream$ = dart.generic(T => { } } (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); this[_controller$] = _controller; _ControllerStream.__proto__.new.call(this); ; @@ -28858,7 +31357,7 @@ async._ControllerStream$ = dart.generic(T => { dart.addTypeTests(_ControllerStream); _ControllerStream.prototype[_is__ControllerStream_default] = true; dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[29]); + dart.setLibraryUri(_ControllerStream, I[31]); dart.setFieldSignature(_ControllerStream, () => ({ __proto__: dart.getFields(_ControllerStream.__proto__), [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) @@ -28872,19 +31371,23 @@ dart.addTypeTests(async._ControllerStream, _is__ControllerStream_default); const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); async._BroadcastStream$ = dart.generic(T => { class _BroadcastStream extends async._ControllerStream$(T) { + static ['_#new#tearOff'](T, controller) { + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); + return new (async._BroadcastStream$(T)).new(controller); + } get isBroadcast() { return true; } } (_BroadcastStream.new = function(controller) { - if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + if (controller == null) dart.nullFailed(I[66], 8, 50, "controller"); _BroadcastStream.__proto__.new.call(this, controller); ; }).prototype = _BroadcastStream.prototype; dart.addTypeTests(_BroadcastStream); _BroadcastStream.prototype[_is__BroadcastStream_default] = true; dart.addTypeCaches(_BroadcastStream); - dart.setLibraryUri(_BroadcastStream, I[29]); + dart.setLibraryUri(_BroadcastStream, I[31]); return _BroadcastStream; }); async._BroadcastStream = async._BroadcastStream$(); @@ -28906,11 +31409,11 @@ var _onCancel = dart.privateName(async, "_onCancel"); var _recordPause = dart.privateName(async, "_recordPause"); var _recordResume = dart.privateName(async, "_recordResume"); var _cancelFuture = dart.privateName(async, "_cancelFuture"); -var _pending$ = dart.privateName(async, "_pending"); +var _pending = dart.privateName(async, "_pending"); var _zone$ = dart.privateName(async, "_zone"); var _state = dart.privateName(async, "_state"); var _onData$ = dart.privateName(async, "_onData"); -var _onError = dart.privateName(async, "_onError"); +var _onError$ = dart.privateName(async, "_onError"); var _onDone$ = dart.privateName(async, "_onDone"); var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); var _isCanceled = dart.privateName(async, "_isCanceled"); @@ -28934,17 +31437,24 @@ var _close = dart.privateName(async, "_close"); var _checkState = dart.privateName(async, "_checkState"); const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); async._BufferingStreamSubscription$ = dart.generic(T => { - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _BufferingStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).new(onData, onError, onDone, cancelOnError); + } + static ['_#zoned#tearOff'](T, _zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); + return new (async._BufferingStreamSubscription$(T)).zoned(_zone, onData, onError, onDone, cancelOnError); + } [_setPendingEvents](pendingEvents) { - _PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + __t$_PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); if (pendingEvents == null) return; - this[_pending$] = pendingEvents; + this[_pending] = pendingEvents; if (!dart.test(pendingEvents.isEmpty)) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; pendingEvents.schedule(this); @@ -28954,16 +31464,16 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); } static _registerDataHandler(T, zone, handleData) { - let t87; - if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); - return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t74 = handleData, t74 == null ? C[38] || CT.C38 : t74)); } onError(handleError) { - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); } static _registerErrorHandler(zone, handleError) { - if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); - handleError == null ? handleError = C[38] || CT.C38 : null; + if (zone == null) dart.nullFailed(I[68], 141, 46, "zone"); + handleError == null ? handleError = C[39] || CT.C39 : null; if (T$.ObjectAndStackTraceTovoid().is(handleError)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); } @@ -28976,21 +31486,21 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); } static _registerDoneHandler(zone, handleDone) { - let t87; - if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); - return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + let t74; + if (zone == null) dart.nullFailed(I[68], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t74 = handleDone, t74 == null ? C[40] || CT.C40 : t74)); } pause(resumeSignal = null) { - let t87, t87$; + let t74, t74$; if (dart.test(this[_isCanceled])) return; let wasPaused = this[_isPaused]; let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; - t87 = resumeSignal; - t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + t74 = resumeSignal; + t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); if (!dart.test(wasPaused)) { - t87$ = this[_pending$]; - t87$ == null ? null : t87$.cancelSchedule(); + t74$ = this[_pending]; + t74$ == null ? null : t74$.cancelSchedule(); } if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); } @@ -28999,10 +31509,10 @@ async._BufferingStreamSubscription$ = dart.generic(T => { if (dart.test(this[_isPaused])) { this[_decrementPauseCount](); if (!dart.test(this[_isPaused])) { - if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { - dart.nullCheck(this[_pending$]).schedule(this); + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending]).isEmpty)) { + dart.nullCheck(this[_pending]).schedule(this); } else { - if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[68], 184, 18, "_mayResumeInput"); this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); } @@ -29010,13 +31520,13 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } cancel() { - let t87; + let t74; this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; if (!dart.test(this[_isCanceled])) { this[_cancel](); } - t87 = this[_cancelFuture]; - return t87 == null ? async.Future._nullFuture : t87; + t74 = this[_cancelFuture]; + return t74 == null ? async.Future._nullFuture : t74; } asFuture(E, futureValue = null) { let resultValue = null; @@ -29032,9 +31542,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_onDone$] = dart.fn(() => { result[_complete](resultValue); }, T$.VoidTovoid()); - this[_onError] = dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[65], 218, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + this[_onError$] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 218, 42, "stackTrace"); let cancelFuture = this.cancel(); if (cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => { @@ -29071,8 +31581,8 @@ async._BufferingStreamSubscription$ = dart.generic(T => { return dart.notNull(this[_state]) < 32; } get [_mayResumeInput]() { - let t87, t87$; - return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + let t74, t74$; + return !dart.test(this[_isPaused]) && dart.test((t74$ = (t74 = this[_pending], t74 == null ? null : t74.isEmpty), t74$ == null ? true : t74$)); } get [_cancelOnError]() { return (dart.notNull(this[_state]) & 1) !== 0; @@ -29083,28 +31593,28 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_cancel]() { this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending$]).cancelSchedule(); + dart.nullCheck(this[_pending]).cancelSchedule(); } - if (!dart.test(this[_inCallback])) this[_pending$] = null; + if (!dart.test(this[_inCallback])) this[_pending] = null; this[_cancelFuture] = this[_onCancel](); } [_decrementPauseCount]() { - if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 261, 12, "_isPaused"); this[_state] = dart.notNull(this[_state]) - 128; } [_add](data) { T.as(data); - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 268, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendData](data); } else { - this[_addPending](new (_DelayedDataOfT()).new(data)); + this[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 277, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 277, 43, "stackTrace"); if (dart.test(this[_isCanceled])) return; if (dart.test(this[_canFire])) { this[_sendError](error, stackTrace); @@ -29113,30 +31623,29 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_close]() { - if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[68], 287, 12, "!_isClosed"); if (dart.test(this[_isCanceled])) return; this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; if (dart.test(this[_canFire])) { this[_sendDone](); } else { - this[_addPending](C[40] || CT.C40); + this[_addPending](C[41] || CT.C41); } } [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); } [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); } [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); return null; } [_addPending](event) { - if (event == null) dart.nullFailed(I[65], 320, 34, "event"); - let pending = _StreamImplEventsNOfT().as(this[_pending$]); - pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; - this[_pending$] = pending; + let t74; + if (event == null) dart.nullFailed(I[68], 320, 34, "event"); + let pending = (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74); pending.add(event); if (!dart.test(this[_hasPending])) { this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; @@ -29146,9 +31655,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_sendData](data) { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 334, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 335, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 336, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; this[_zone$].runUnaryGuarded(T, this[_onData$], data); @@ -29156,20 +31665,20 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_checkState](wasInputPaused); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 346, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + if (error == null) dart.nullFailed(I[68], 344, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 344, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 345, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 346, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 347, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; const sendError = () => { if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; - let onError = this[_onError]; + let onError = this[_onError$]; if (T$.ObjectAndStackTraceTovoid().is(onError)) { this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); } else { - this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError$]), error); } this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; }; @@ -29189,9 +31698,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_sendDone]() { - if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); - if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 383, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[68], 384, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 385, 12, "!_inCallback"); const sendDone = () => { if (!dart.test(this[_waitsForCancel])) return; this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; @@ -29209,8 +31718,8 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } } [_guardCallback](callback) { - if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + if (callback == null) dart.nullFailed(I[68], 411, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 412, 12, "!_inCallback"); let wasInputPaused = this[_isInputPaused]; this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; callback(); @@ -29218,9 +31727,9 @@ async._BufferingStreamSubscription$ = dart.generic(T => { this[_checkState](wasInputPaused); } [_checkState](wasInputPaused) { - if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); - if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); - if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + if (wasInputPaused == null) dart.nullFailed(I[68], 428, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[68], 429, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending]).isEmpty)) { this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; @@ -29228,7 +31737,7 @@ async._BufferingStreamSubscription$ = dart.generic(T => { } while (true) { if (dart.test(this[_isCanceled])) { - this[_pending$] = null; + this[_pending] = null; return; } let isInputPaused = this[_isInputPaused]; @@ -29243,23 +31752,23 @@ async._BufferingStreamSubscription$ = dart.generic(T => { wasInputPaused = isInputPaused; } if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending$]).schedule(this); + dart.nullCheck(this[_pending]).schedule(this); } } } (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[68], 102, 28, "cancelOnError"); _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); }).prototype = _BufferingStreamSubscription.prototype; (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { - if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + if (_zone == null) dart.nullFailed(I[68], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); this[_cancelFuture] = null; - this[_pending$] = null; + this[_pending] = null; this[_zone$] = _zone; this[_state] = dart.test(cancelOnError) ? 1 : 0; this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); - this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onError$] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); ; }).prototype = _BufferingStreamSubscription.prototype; @@ -29293,6 +31802,7 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), [_checkState]: dart.fnType(dart.void, [core.bool]) })); + dart.setStaticMethodSignature(_BufferingStreamSubscription, () => ['_registerDataHandler', '_registerErrorHandler', '_registerDoneHandler']); dart.setGetterSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), [_isInputPaused]: core.bool, @@ -29307,17 +31817,18 @@ async._BufferingStreamSubscription$ = dart.generic(T => { [_cancelOnError]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setLibraryUri(_BufferingStreamSubscription, I[31]); dart.setFieldSignature(_BufferingStreamSubscription, () => ({ __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), - [_onError]: dart.fieldType(core.Function), + [_onError$]: dart.fieldType(core.Function), [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), - [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); + dart.setStaticFieldSignature(_BufferingStreamSubscription, () => ['_STATE_CANCEL_ON_ERROR', '_STATE_CLOSED', '_STATE_INPUT_PAUSED', '_STATE_CANCELED', '_STATE_WAIT_FOR_CANCEL', '_STATE_IN_CALLBACK', '_STATE_HAS_PENDING', '_STATE_PAUSE_COUNT']); return _BufferingStreamSubscription; }); async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); @@ -29351,6 +31862,11 @@ dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscr const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); async._ControllerSubscription$ = dart.generic(T => { class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](T, _controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); + return new (async._ControllerSubscription$(T)).new(_controller, onData, onError, onDone, cancelOnError); + } [_onCancel]() { return this[_controller$][_recordCancel](this); } @@ -29362,8 +31878,8 @@ async._ControllerSubscription$ = dart.generic(T => { } } (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { - if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); - if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + if (_controller == null) dart.nullFailed(I[67], 845, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[67], 846, 47, "cancelOnError"); this[_controller$] = _controller; _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); ; @@ -29371,7 +31887,7 @@ async._ControllerSubscription$ = dart.generic(T => { dart.addTypeTests(_ControllerSubscription); _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setLibraryUri(_ControllerSubscription, I[31]); dart.setFieldSignature(_ControllerSubscription, () => ({ __proto__: dart.getFields(_ControllerSubscription.__proto__), [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) @@ -29382,23 +31898,28 @@ async._ControllerSubscription = async._ControllerSubscription$(); dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); async._BroadcastSubscription$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BroadcastSubscriptionNOfT = () => (__t$_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(__t$_BroadcastSubscriptionOfT())))(); class _BroadcastSubscription extends async._ControllerSubscription$(T) { get [_next$1]() { return this[_next$0]; } set [_next$1](value) { - this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + this[_next$0] = __t$_BroadcastSubscriptionNOfT().as(value); } get [_previous$1]() { return this[_previous$0]; } set [_previous$1](value) { - this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + this[_previous$0] = __t$_BroadcastSubscriptionNOfT().as(value); + } + static ['_#new#tearOff'](T, controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); + return new (async._BroadcastSubscription$(T)).new(controller, onData, onError, onDone, cancelOnError); } [_expectsEvent](eventId) { - if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + if (eventId == null) dart.nullFailed(I[66], 36, 26, "eventId"); return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; } [_toggleEventId]() { @@ -29408,7 +31929,7 @@ async._BroadcastSubscription$ = dart.generic(T => { return (dart.notNull(this[_eventState]) & 2) !== 0; } [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; } get [_removeAfterFiring]() { @@ -29420,8 +31941,8 @@ async._BroadcastSubscription$ = dart.generic(T => { } } (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { - if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); - if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + if (controller == null) dart.nullFailed(I[66], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[66], 31, 12, "cancelOnError"); this[_eventState] = 0; this[_next$0] = null; this[_previous$0] = null; @@ -29442,13 +31963,14 @@ async._BroadcastSubscription$ = dart.generic(T => { [_isFiring]: core.bool, [_removeAfterFiring]: core.bool })); - dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setLibraryUri(_BroadcastSubscription, I[31]); dart.setFieldSignature(_BroadcastSubscription, () => ({ __proto__: dart.getFields(_BroadcastSubscription.__proto__), [_eventState]: dart.fieldType(core.int), [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) })); + dart.setStaticFieldSignature(_BroadcastSubscription, () => ['_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_REMOVE_AFTER_FIRING']); return _BroadcastSubscription; }); async._BroadcastSubscription = async._BroadcastSubscription$(); @@ -29482,12 +32004,12 @@ var _mayComplete = dart.privateName(async, "_mayComplete"); var _asyncComplete = dart.privateName(async, "_asyncComplete"); const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); async._BroadcastStreamController$ = dart.generic(T => { - var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + var __t$_BroadcastStreamOfT = () => (__t$_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_AddStreamStateOfT = () => (__t$_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); class _BroadcastStreamController extends core.Object { get onPause() { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); @@ -29502,10 +32024,10 @@ async._BroadcastStreamController$ = dart.generic(T => { dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); } get stream() { - return new (_BroadcastStreamOfT()).new(this); + return new (__t$_BroadcastStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get isClosed() { return (dart.notNull(this[_state]) & 4) !== 0; @@ -29517,7 +32039,7 @@ async._BroadcastStreamController$ = dart.generic(T => { return !dart.test(this[_isEmpty]); } get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); return this[_firstSubscription] == this[_lastSubscription]; } get [_isFiring]() { @@ -29530,16 +32052,16 @@ async._BroadcastStreamController$ = dart.generic(T => { return dart.notNull(this[_state]) < 4; } [_ensureDoneFuture]() { - let t87; - t87 = this[_doneFuture]; - return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + let t74; + t74 = this[_doneFuture]; + return t74 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t74; } get [_isEmpty]() { return this[_firstSubscription] == null; } [_addListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); - if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[66], 160, 12, "identical(subscription._next, subscription)"); subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; let oldLast = this[_lastSubscription]; this[_lastSubscription] = subscription; @@ -29552,9 +32074,9 @@ async._BroadcastStreamController$ = dart.generic(T => { } } [_removeListener](subscription) { - if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); - if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); - if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + if (subscription == null) dart.nullFailed(I[66], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[66], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[66], 176, 12, "!identical(subscription._next, subscription)"); let previous = subscription[_previous$1]; let next = subscription[_next$1]; if (previous == null) { @@ -29570,11 +32092,11 @@ async._BroadcastStreamController$ = dart.generic(T => { subscription[_next$1] = subscription[_previous$1] = subscription; } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); if (dart.test(this.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); this[_addListener](subscription); if (this[_firstSubscription] == this[_lastSubscription]) { async._runGuarded(this.onListen); @@ -29582,8 +32104,8 @@ async._BroadcastStreamController$ = dart.generic(T => { return subscription; } [_recordCancel](sub) { - if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); - let subscription = _BroadcastSubscriptionOfT().as(sub); + if (sub == null) dart.nullFailed(I[66], 212, 53, "sub"); + let subscription = __t$_BroadcastSubscriptionOfT().as(sub); if (subscription[_next$1] == subscription) return null; if (dart.test(subscription[_isFiring])) { subscription[_setRemoveAfterFiring](); @@ -29596,16 +32118,16 @@ async._BroadcastStreamController$ = dart.generic(T => { return null; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 230, 44, "subscription"); } [_addEventError]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add new events after calling close"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 238, 12, "_isAddingStream"); return new core.StateError.new("Cannot add new events while doing an addStream"); } add(data) { @@ -29614,7 +32136,7 @@ async._BroadcastStreamController$ = dart.generic(T => { this[_sendData](data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + if (error == null) dart.nullFailed(I[66], 247, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -29624,12 +32146,11 @@ async._BroadcastStreamController$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_sendError](error, stackTrace); } close() { if (dart.test(this.isClosed)) { - if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[66], 262, 14, "_doneFuture != null"); return dart.nullCheck(this[_doneFuture]); } if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); @@ -29642,13 +32163,13 @@ async._BroadcastStreamController$ = dart.generic(T => { return this[_ensureDoneFuture](); } addStream(stream, opts) { - let t87; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let t74; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[66], 274, 30, "stream"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + let addStreamState = new (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); this[_addStreamState] = addStreamState; return addStreamState.addStreamFuture; } @@ -29656,20 +32177,20 @@ async._BroadcastStreamController$ = dart.generic(T => { this[_sendData](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 289, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 288, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 288, 43, "stackTrace"); this[_sendError](error, stackTrace); } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[66], 293, 12, "_isAddingStream"); let addState = dart.nullCheck(this[_addStreamState]); this[_addStreamState] = null; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_forEachListener](action) { - let t87, t87$; - if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + let t74, t74$; + if (action == null) dart.nullFailed(I[66], 302, 12, "action"); if (dart.test(this[_isFiring])) { dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); } @@ -29679,16 +32200,16 @@ async._BroadcastStreamController$ = dart.generic(T => { let subscription = this[_firstSubscription]; while (subscription != null) { if (dart.test(subscription[_expectsEvent](id))) { - t87 = subscription; - t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + t74 = subscription; + t74[_eventState] = (dart.notNull(t74[_eventState]) | 2) >>> 0; action(subscription); subscription[_toggleEventId](); let next = subscription[_next$1]; if (dart.test(subscription[_removeAfterFiring])) { this[_removeListener](subscription); } - t87$ = subscription; - t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + t74$ = subscription; + t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; subscription = next; } else { subscription = subscription[_next$1]; @@ -29700,7 +32221,7 @@ async._BroadcastStreamController$ = dart.generic(T => { } } [_callOnCancel]() { - if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 342, 12, "_isEmpty"); if (dart.test(this.isClosed)) { let doneFuture = dart.nullCheck(this[_doneFuture]); if (dart.test(doneFuture[_mayComplete])) { @@ -29765,7 +32286,7 @@ async._BroadcastStreamController$ = dart.generic(T => { onPause: dart.nullable(dart.fnType(dart.void, [])), onResume: dart.nullable(dart.fnType(dart.void, [])) })); - dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setLibraryUri(_BroadcastStreamController, I[31]); dart.setFieldSignature(_BroadcastStreamController, () => ({ __proto__: dart.getFields(_BroadcastStreamController.__proto__), onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), @@ -29776,6 +32297,7 @@ async._BroadcastStreamController$ = dart.generic(T => { [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) })); + dart.setStaticFieldSignature(_BroadcastStreamController, () => ['_STATE_INITIAL', '_STATE_EVENT_ID', '_STATE_FIRING', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _BroadcastStreamController; }); async._BroadcastStreamController = async._BroadcastStreamController$(); @@ -29799,10 +32321,13 @@ dart.defineLazy(async._BroadcastStreamController, { dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); async._SyncBroadcastStreamController$ = dart.generic(T => { - var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + var __t$_BroadcastSubscriptionOfT = () => (__t$_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfT = () => (__t$_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var __t$_BufferingStreamSubscriptionOfTTovoid = () => (__t$_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [__t$_BufferingStreamSubscriptionOfT()])))(); class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_mayAddEvent]() { return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); } @@ -29816,7 +32341,7 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { if (dart.test(this[_isEmpty])) return; if (dart.test(this[_hasOneListener])) { this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); firstSubscription[_add](data); this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; if (dart.test(this[_isEmpty])) { @@ -29825,27 +32350,27 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { return; } this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); subscription[_add](data); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 390, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 389, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 389, 44, "stackTrace"); if (dart.test(this[_isEmpty])) return; this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 391, 55, "subscription"); subscription[_addError](error, stackTrace); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } [_sendDone]() { if (!dart.test(this[_isEmpty])) { this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); subscription[_close](); - }, _BufferingStreamSubscriptionOfTTovoid())); + }, __t$_BufferingStreamSubscriptionOfTTovoid())); } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 402, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29864,23 +32389,26 @@ async._SyncBroadcastStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_SyncBroadcastStreamController, I[31]); return _SyncBroadcastStreamController; }); async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); async._AsyncBroadcastStreamController$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } [_sendData](data) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](new (_DelayedDataOfT()).new(data)); + subscription[_addPending](new (__t$_DelayedDataOfT()).new(data)); } } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[63], 423, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[66], 422, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[66], 422, 44, "stackTrace"); for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { subscription[_addPending](new async._DelayedError.new(error, stackTrace)); } @@ -29888,10 +32416,10 @@ async._AsyncBroadcastStreamController$ = dart.generic(T => { [_sendDone]() { if (!dart.test(this[_isEmpty])) { for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[40] || CT.C40); + subscription[_addPending](C[41] || CT.C41); } } else { - if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[66], 438, 14, "_doneFuture != null && _doneFuture!._mayComplete"); dart.nullCheck(this[_doneFuture])[_asyncComplete](null); } } @@ -29909,7 +32437,7 @@ async._AsyncBroadcastStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); return _AsyncBroadcastStreamController; }); async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); @@ -29918,29 +32446,32 @@ var _addPendingEvent = dart.privateName(async, "_addPendingEvent"); var _flushPending = dart.privateName(async, "_flushPending"); const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); async._AsBroadcastStreamController$ = dart.generic(T => { - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + static ['_#new#tearOff'](T, onListen, onCancel) { + return new (async._AsBroadcastStreamController$(T)).new(onListen, onCancel); + } get [_hasPending]() { - let pending = this[_pending$]; + let pending = this[_pending]; return pending != null && !dart.test(pending.isEmpty); } [_addPendingEvent](event) { - let t87; - if (event == null) dart.nullFailed(I[63], 466, 39, "event"); - (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + let t74; + if (event == null) dart.nullFailed(I[66], 465, 39, "event"); + (t74 = this[_pending], t74 == null ? this[_pending] = new (__t$_PendingEventsOfT()).new() : t74).add(event); } add(data) { T.as(data); if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + this[_addPendingEvent](new (__t$_DelayedDataOfT()).new(data)); return; } super.add(data); this[_flushPending](); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + if (error == null) dart.nullFailed(I[66], 478, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { @@ -29952,33 +32483,34 @@ async._AsBroadcastStreamController$ = dart.generic(T => { this[_flushPending](); } [_flushPending]() { - let pending = this[_pending$]; - while (pending != null && !dart.test(pending.isEmpty)) { - pending.handleNext(this); - pending = this[_pending$]; + let pending = this[_pending]; + if (pending != null) { + while (!dart.test(pending.isEmpty)) { + pending.handleNext(this); + } } } close() { if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { - this[_addPendingEvent](C[40] || CT.C40); + this[_addPendingEvent](C[41] || CT.C41); this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; return super.done; } let result = super.close(); - if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[66], 506, 12, "!_hasPending"); return result; } [_callOnCancel]() { - let pending = this[_pending$]; + let pending = this[_pending]; if (pending != null) { pending.clear(); - this[_pending$] = null; + this[_pending] = null; } super[_callOnCancel](); } } (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending$] = null; + this[_pending] = null; _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); ; }).prototype = _AsBroadcastStreamController.prototype; @@ -29995,10 +32527,10 @@ async._AsBroadcastStreamController$ = dart.generic(T => { __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), [_hasPending]: core.bool })); - dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setLibraryUri(_AsBroadcastStreamController, I[31]); dart.setFieldSignature(_AsBroadcastStreamController, () => ({ __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) })); return _AsBroadcastStreamController; }); @@ -30019,12 +32551,17 @@ async.DeferredLibrary = class DeferredLibrary extends core.Object { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new async.DeferredLibrary.new(libraryName, {uri: uri}); + } load() { dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); } }; (async.DeferredLibrary.new = function(libraryName, opts) { - if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + if (libraryName == null) dart.nullFailed(I[69], 17, 30, "libraryName"); let uri = opts && 'uri' in opts ? opts.uri : null; this[libraryName$] = libraryName; this[uri$] = uri; @@ -30036,7 +32573,7 @@ dart.setMethodSignature(async.DeferredLibrary, () => ({ __proto__: dart.getMethods(async.DeferredLibrary.__proto__), load: dart.fnType(async.Future$(core.Null), []) })); -dart.setLibraryUri(async.DeferredLibrary, I[29]); +dart.setLibraryUri(async.DeferredLibrary, I[31]); dart.setFieldSignature(async.DeferredLibrary, () => ({ __proto__: dart.getFields(async.DeferredLibrary.__proto__), libraryName: dart.finalFieldType(core.String), @@ -30044,19 +32581,23 @@ dart.setFieldSignature(async.DeferredLibrary, () => ({ })); var _s = dart.privateName(async, "_s"); async.DeferredLoadException = class DeferredLoadException extends core.Object { + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); + return new async.DeferredLoadException.new(message); + } toString() { return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; } }; (async.DeferredLoadException.new = function(message) { - if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + if (message == null) dart.nullFailed(I[69], 28, 32, "message"); this[_s] = message; ; }).prototype = async.DeferredLoadException.prototype; dart.addTypeTests(async.DeferredLoadException); dart.addTypeCaches(async.DeferredLoadException); async.DeferredLoadException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.DeferredLoadException, I[29]); +dart.setLibraryUri(async.DeferredLoadException, I[31]); dart.setFieldSignature(async.DeferredLoadException, () => ({ __proto__: dart.getFields(async.DeferredLoadException.__proto__), [_s]: dart.finalFieldType(core.String) @@ -30068,7 +32609,7 @@ async.FutureOr$ = dart.normalizeFutureOr(T => { dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); }).prototype = FutureOr.prototype; dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[29]); + dart.setLibraryUri(FutureOr, I[31]); return FutureOr; }); async.FutureOr = async.FutureOr$(); @@ -30077,7 +32618,7 @@ var _completeWithValue = dart.privateName(async, "_completeWithValue"); async.Future$ = dart.generic(T => { class Future extends core.Object { static new(computation) { - if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); let result = new (async._Future$(T)).new(); async.Timer.run(dart.fn(() => { try { @@ -30093,8 +32634,12 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#new#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 249, 30, "computation"); + return async.Future$(T).new(computation); + } static microtask(computation) { - if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); let result = new (async._Future$(T)).new(); async.scheduleMicrotask(dart.fn(() => { try { @@ -30110,8 +32655,12 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#microtask#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 273, 40, "computation"); + return async.Future$(T).microtask(computation); + } static sync(computation) { - if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); try { let result = computation(); if (async.Future$(T).is(result)) { @@ -30135,11 +32684,18 @@ async.Future$ = dart.generic(T => { throw e; } } + static ['_#sync#tearOff'](T, computation) { + if (computation == null) dart.nullFailed(I[70], 300, 35, "computation"); + return async.Future$(T).sync(computation); + } static value(value = null) { return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); } + static ['_#value#tearOff'](T, value = null) { + return async.Future$(T).value(value); + } static error(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (async.Zone.current != async._rootZone) { let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30151,8 +32707,12 @@ async.Future$ = dart.generic(T => { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; return new (async._Future$(T)).immediateError(error, stackTrace); } + static ['_#error#tearOff'](T, error, stackTrace = null) { + if (error == null) dart.nullFailed(I[70], 369, 31, "error"); + return async.Future$(T).error(error, stackTrace); + } static delayed(duration, computation = null) { - if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); } @@ -30175,11 +32735,15 @@ async.Future$ = dart.generic(T => { }, T$.VoidTovoid())); return result; } + static ['_#delayed#tearOff'](T, duration, computation = null) { + if (duration == null) dart.nullFailed(I[70], 413, 35, "duration"); + return async.Future$(T).delayed(duration, computation); + } static wait(T, futures, opts) { - let t101; - if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let t86; + if (futures == null) dart.nullFailed(I[70], 479, 54, "futures"); let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; - if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + if (eagerError == null) dart.nullFailed(I[70], 480, 13, "eagerError"); let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; let _future = new (async._Future$(core.List$(T))).new(); let values = null; @@ -30189,28 +32753,24 @@ async.Future$ = dart.generic(T => { function error$35get() { return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); } - dart.fn(error$35get, T$.VoidToObject()); - function error$35set(t94) { - if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + function error$35set(error$35param) { + if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); error$35isSet = true; - return error = t94; + return error = error$35param; } - dart.fn(error$35set, T$.ObjectTodynamic()); let stackTrace = null; let stackTrace$35isSet = false; function stackTrace$35get() { return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); } - dart.fn(stackTrace$35get, T$.VoidToStackTrace()); - function stackTrace$35set(t99) { - if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + function stackTrace$35set(stackTrace$35param) { + if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); stackTrace$35isSet = true; - return stackTrace = t99; + return stackTrace = stackTrace$35param; } - dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); function handleError(theError, theStackTrace) { - if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); - if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + if (theError == null) dart.nullFailed(I[70], 490, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[70], 490, 50, "theStackTrace"); remaining = remaining - 1; let valueList = values; if (valueList != null) { @@ -30261,10 +32821,10 @@ async.Future$ = dart.generic(T => { remaining = remaining + 1; } if (remaining === 0) { - t101 = _future; + t86 = _future; return (() => { - t101[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t101; + t86[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t86; })(); } values = core.List$(dart.nullable(T)).filled(remaining, null); @@ -30284,15 +32844,15 @@ async.Future$ = dart.generic(T => { return _future; } static any(T, futures) { - if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + if (futures == null) dart.nullFailed(I[70], 610, 47, "futures"); let completer = async.Completer$(T).sync(); function onValue(value) { if (!dart.test(completer.isCompleted)) completer.complete(value); } dart.fn(onValue, dart.fnType(dart.void, [T])); function onError(error, stack) { - if (error == null) dart.nullFailed(I[67], 465, 25, "error"); - if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (error == null) dart.nullFailed(I[70], 616, 25, "error"); + if (stack == null) dart.nullFailed(I[70], 616, 43, "stack"); if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); } dart.fn(onError, T$.ObjectAndStackTraceTovoid()); @@ -30302,13 +32862,13 @@ async.Future$ = dart.generic(T => { return completer.future; } static forEach(T, elements, action) { - if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); - if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + if (elements == null) dart.nullFailed(I[70], 642, 40, "elements"); + if (action == null) dart.nullFailed(I[70], 642, 59, "action"); let iterator = elements[$iterator]; return async.Future.doWhile(dart.fn(() => { if (!dart.test(iterator.moveNext())) return false; let result = action(iterator.current); - if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + if (async.Future.is(result)) return result.then(core.bool, C[42] || CT.C42); return true; }, T$.VoidToFutureOrOfbool())); } @@ -30316,22 +32876,20 @@ async.Future$ = dart.generic(T => { return true; } static doWhile(action) { - if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + if (action == null) dart.nullFailed(I[70], 692, 40, "action"); let doneSignal = new (T$._FutureOfvoid()).new(); let nextIteration = null; let nextIteration$35isSet = false; function nextIteration$35get() { return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); } - dart.fn(nextIteration$35get, T$.VoidToFn()); - function nextIteration$35set(t105) { - if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + function nextIteration$35set(nextIteration$35param) { + if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); nextIteration$35isSet = true; - return nextIteration = t105; + return nextIteration = nextIteration$35param; } - dart.fn(nextIteration$35set, T$.FnTodynamic()); nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); while (dart.test(keepGoing)) { let result = null; try { @@ -30362,7 +32920,9 @@ async.Future$ = dart.generic(T => { dart.addTypeTests(Future); Future.prototype[dart.isFuture] = true; dart.addTypeCaches(Future); - dart.setLibraryUri(Future, I[29]); + dart.setStaticMethodSignature(Future, () => ['new', 'microtask', 'sync', 'value', 'error', 'delayed', 'wait', 'any', 'forEach', '_kTrue', 'doWhile']); + dart.setLibraryUri(Future, I[31]); + dart.setStaticFieldSignature(Future, () => ['_nullFuture', '_falseFuture']); return Future; }); async.Future = async.Future$(); @@ -30390,6 +32950,9 @@ async.TimeoutException = class TimeoutException extends core.Object { set duration(value) { super.duration = value; } + static ['_#new#tearOff'](message, duration = null) { + return new async.TimeoutException.new(message, duration); + } toString() { let result = "TimeoutException"; if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); @@ -30405,7 +32968,7 @@ async.TimeoutException = class TimeoutException extends core.Object { dart.addTypeTests(async.TimeoutException); dart.addTypeCaches(async.TimeoutException); async.TimeoutException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.TimeoutException, I[29]); +dart.setLibraryUri(async.TimeoutException, I[31]); dart.setFieldSignature(async.TimeoutException, () => ({ __proto__: dart.getFields(async.TimeoutException.__proto__), message: dart.finalFieldType(dart.nullable(core.String)), @@ -30418,26 +32981,33 @@ async.Completer$ = dart.generic(T => { static new() { return new (async._AsyncCompleter$(T)).new(); } + static ['_#new#tearOff'](T) { + return async.Completer$(T).new(); + } static sync() { return new (async._SyncCompleter$(T)).new(); } + static ['_#sync#tearOff'](T) { + return async.Completer$(T).sync(); + } } (Completer[dart.mixinNew] = function() { }).prototype = Completer.prototype; dart.addTypeTests(Completer); Completer.prototype[_is_Completer_default] = true; dart.addTypeCaches(Completer); - dart.setLibraryUri(Completer, I[29]); + dart.setStaticMethodSignature(Completer, () => ['new', 'sync']); + dart.setLibraryUri(Completer, I[31]); return Completer; }); async.Completer = async.Completer$(); dart.addTypeTests(async.Completer, _is_Completer_default); const _is__Completer_default = Symbol('_is__Completer_default'); async._Completer$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); class _Completer extends core.Object { completeError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + if (error == null) dart.nullFailed(I[71], 12, 29, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -30447,7 +33017,6 @@ async._Completer$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_completeError](error, stackTrace); } get isCompleted() { @@ -30455,7 +33024,7 @@ async._Completer$ = dart.generic(T => { } } (_Completer.new = function() { - this.future = new (_FutureOfT()).new(); + this.future = new (__t$_FutureOfT()).new(); ; }).prototype = _Completer.prototype; dart.addTypeTests(_Completer); @@ -30470,7 +33039,7 @@ async._Completer$ = dart.generic(T => { __proto__: dart.getGetters(_Completer.__proto__), isCompleted: core.bool })); - dart.setLibraryUri(_Completer, I[29]); + dart.setLibraryUri(_Completer, I[31]); dart.setFieldSignature(_Completer, () => ({ __proto__: dart.getFields(_Completer.__proto__), future: dart.finalFieldType(async._Future$(T)) @@ -30481,19 +33050,22 @@ async._Completer = async._Completer$(); dart.addTypeTests(async._Completer, _is__Completer_default); const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); async._AsyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _AsyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 49, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 39, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 39, 48, "stackTrace"); this.future[_asyncCompleteError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._AsyncCompleter$(T)).new(); + } } (_AsyncCompleter.new = function() { _AsyncCompleter.__proto__.new.call(this); @@ -30507,26 +33079,29 @@ async._AsyncCompleter$ = dart.generic(T => { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_AsyncCompleter, I[29]); + dart.setLibraryUri(_AsyncCompleter, I[31]); return _AsyncCompleter; }); async._AsyncCompleter = async._AsyncCompleter$(); dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); async._SyncCompleter$ = dart.generic(T => { - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOrNOfT = () => (__t$FutureOrNOfT = dart.constFn(dart.nullable(__t$FutureOrOfT())))(); class _SyncCompleter extends async._Completer$(T) { complete(value = null) { - FutureOrNOfT().as(value); + __t$FutureOrNOfT().as(value); if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 60, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 50, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 50, 48, "stackTrace"); this.future[_completeError](error, stackTrace); } + static ['_#new#tearOff'](T) { + return new (async._SyncCompleter$(T)).new(); + } } (_SyncCompleter.new = function() { _SyncCompleter.__proto__.new.call(this); @@ -30540,7 +33115,7 @@ async._SyncCompleter$ = dart.generic(T => { complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) })); - dart.setLibraryUri(_SyncCompleter, I[29]); + dart.setLibraryUri(_SyncCompleter, I[31]); return _SyncCompleter; }); async._SyncCompleter = async._SyncCompleter$(); @@ -30551,10 +33126,28 @@ var _errorTest = dart.privateName(async, "_errorTest"); var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); const _is__FutureListener_default = Symbol('_is__FutureListener_default'); async._FutureListener$ = dart.generic((S, T) => { - var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); class _FutureListener extends core.Object { + static ['_#then#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); + return new (async._FutureListener$(S, T)).then(result, onValue, errorCallback); + } + static ['_#thenAwait#tearOff'](S, T, result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); + return new (async._FutureListener$(S, T)).thenAwait(result, onValue, errorCallback); + } + static ['_#catchError#tearOff'](S, T, result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); + return new (async._FutureListener$(S, T)).catchError(result, errorCallback, callback); + } + static ['_#whenComplete#tearOff'](S, T, result, callback) { + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); + return new (async._FutureListener$(S, T)).whenComplete(result, callback); + } get [_zone$]() { return this.result[_zone$]; } @@ -30570,59 +33163,69 @@ async._FutureListener$ = dart.generic((S, T) => { get handlesComplete() { return (dart.notNull(this.state) & 15) >>> 0 === 8; } - get isAwait() { - return (dart.notNull(this.state) & 16) !== 0; - } get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); - return SToFutureOrOfT().as(this.callback); + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); + return this.callback; } - get [_onError]() { + get [_onError$]() { return this.errorCallback; } get [_errorTest]() { - if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); - return T$.ObjectTobool().as(this.callback); + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[71], 127, 12, "hasErrorTest"); + return this.callback; } get [_whenCompleteAction]() { - if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); - return T$.VoidTodynamic().as(this.callback); + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[71], 132, 12, "handlesComplete"); + return this.callback; } get hasErrorCallback() { - if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); - return this[_onError] != null; + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 140, 12, "handlesError"); + return this[_onError$] != null; } handleValue(sourceResult) { S.as(sourceResult); - return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + return this[_zone$].runUnary(__t$FutureOrOfT(), S, this[_onValue], sourceResult); } matchesErrorTest(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (asyncError == null) dart.nullFailed(I[71], 150, 36, "asyncError"); if (!dart.test(this.hasErrorTest)) return true; return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); } handleError(asyncError) { - if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); - if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + if (asyncError == null) dart.nullFailed(I[71], 155, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[71], 156, 12, "handlesError && hasErrorCallback"); let errorCallback = this.errorCallback; + let result = null; if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { - return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); } else { - return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + result = this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error); + } + try { + return __t$FutureOrOfT().as(result); + } catch (e) { + let ex = dart.getThrown(e); + if (core.TypeError.is(ex)) { + if (dart.test(this.handlesValue)) { + dart.throw(new core.ArgumentError.new("The error handler of Future.then" + " must return a value of the returned future's type", "onError")); + } + dart.throw(new core.ArgumentError.new("The error handler of " + "Future.catchError must return a value of the future's type", "onError")); + } else + throw e; } } handleWhenComplete() { - if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[71], 189, 12, "!handlesError"); return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); } shouldChain(value) { - if (value == null) dart.nullFailed(I[68], 185, 36, "value"); - return FutureOfT().is(value) || !T.is(value); + if (value == null) dart.nullFailed(I[71], 196, 36, "value"); + return __t$FutureOfT().is(value) || !T.is(value); } } (_FutureListener.then = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 100, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + if (result == null) dart.nullFailed(I[71], 94, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); this[_nextListener] = null; this.result = result; this.callback = onValue; @@ -30631,18 +33234,18 @@ async._FutureListener$ = dart.generic((S, T) => { ; }).prototype = _FutureListener.prototype; (_FutureListener.thenAwait = function(result, onValue, errorCallback) { - if (result == null) dart.nullFailed(I[68], 106, 12, "result"); - if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); - if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + if (result == null) dart.nullFailed(I[71], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[71], 100, 44, "onValue"); + if (errorCallback == null) dart.nullFailed(I[71], 100, 62, "errorCallback"); this[_nextListener] = null; this.result = result; this.callback = onValue; this.errorCallback = errorCallback; - this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + this.state = 3; ; }).prototype = _FutureListener.prototype; (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + if (result == null) dart.nullFailed(I[71], 105, 35, "result"); this[_nextListener] = null; this.result = result; this.errorCallback = errorCallback; @@ -30651,7 +33254,7 @@ async._FutureListener$ = dart.generic((S, T) => { ; }).prototype = _FutureListener.prototype; (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + if (result == null) dart.nullFailed(I[71], 108, 37, "result"); this[_nextListener] = null; this.result = result; this.callback = callback; @@ -30677,14 +33280,13 @@ async._FutureListener$ = dart.generic((S, T) => { handlesError: core.bool, hasErrorTest: core.bool, handlesComplete: core.bool, - isAwait: core.bool, [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError]: dart.nullable(core.Function), + [_onError$]: dart.nullable(core.Function), [_errorTest]: dart.fnType(core.bool, [core.Object]), [_whenCompleteAction]: dart.fnType(dart.dynamic, []), hasErrorCallback: core.bool })); - dart.setLibraryUri(_FutureListener, I[29]); + dart.setLibraryUri(_FutureListener, I[31]); dart.setFieldSignature(_FutureListener, () => ({ __proto__: dart.getFields(_FutureListener.__proto__), [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), @@ -30693,6 +33295,7 @@ async._FutureListener$ = dart.generic((S, T) => { callback: dart.finalFieldType(dart.nullable(core.Function)), errorCallback: dart.finalFieldType(dart.nullable(core.Function)) })); + dart.setStaticFieldSignature(_FutureListener, () => ['maskValue', 'maskError', 'maskTestError', 'maskWhenComplete', 'stateChain', 'stateThen', 'stateThenOnerror', 'stateCatchError', 'stateCatchErrorTest', 'stateWhenComplete', 'maskType']); return _FutureListener; }); async._FutureListener = async._FutureListener$(); @@ -30729,9 +33332,6 @@ dart.defineLazy(async._FutureListener, { }, /*async._FutureListener.maskType*/get maskType() { return 15; - }, - /*async._FutureListener.stateIsAwait*/get stateIsAwait() { - return 16; } }, false); dart.addTypeTests(async._FutureListener, _is__FutureListener_default); @@ -30742,7 +33342,9 @@ var _mayAddListener = dart.privateName(async, "_mayAddListener"); var _isChained = dart.privateName(async, "_isChained"); var _isComplete = dart.privateName(async, "_isComplete"); var _hasError = dart.privateName(async, "_hasError"); +var _ignoreError = dart.privateName(async, "_ignoreError"); var _setChained = dart.privateName(async, "_setChained"); +var _ignore = dart.privateName(async, "_ignore"); var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); var _error = dart.privateName(async, "_error"); @@ -30755,65 +33357,72 @@ var _reverseListeners = dart.privateName(async, "_reverseListeners"); var _removeListeners = dart.privateName(async, "_removeListeners"); var _chainFuture = dart.privateName(async, "_chainFuture"); var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); +var _asyncCompleteUnchecked = dart.privateName(async, "_asyncCompleteUnchecked"); +var _asyncCompleteUncheckedNoFuture = dart.privateName(async, "_asyncCompleteUncheckedNoFuture"); const _is__Future_default = Symbol('_is__Future_default'); async._Future$ = dart.generic(T => { - var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); - var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); - var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); - var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); - var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); - var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); + var __t$_FutureListenerOfT$T = () => (__t$_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$FutureOrOfT = () => (__t$FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var __t$FutureOfT = () => (__t$FutureOfT = dart.constFn(async.Future$(T)))(); + var __t$VoidToFutureOrOfT = () => (__t$VoidToFutureOrOfT = dart.constFn(dart.fnType(__t$FutureOrOfT(), [])))(); + var __t$VoidToNFutureOrOfT = () => (__t$VoidToNFutureOrOfT = dart.constFn(dart.nullable(__t$VoidToFutureOrOfT())))(); + var __t$TToNull = () => (__t$TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); class _Future extends core.Object { + static ['_#new#tearOff'](T) { + return new (async._Future$(T)).new(); + } + static ['_#immediate#tearOff'](T, result) { + return new (async._Future$(T)).immediate(result); + } + static ['_#zoneValue#tearOff'](T, value, _zone) { + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); + return new (async._Future$(T)).zoneValue(value, _zone); + } + static ['_#immediateError#tearOff'](T, error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static ['_#value#tearOff'](T, value) { + return new (async._Future$(T)).value(value); + } get [_mayComplete]() { - return this[_state] === 0; + return (dart.notNull(this[_state]) & 30) >>> 0 === 0; } get [_isPendingComplete]() { - return this[_state] === 1; + return (dart.notNull(this[_state]) & 2) !== 0; } get [_mayAddListener]() { - return dart.notNull(this[_state]) <= 1; + return dart.notNull(this[_state]) <= (2 | 1) >>> 0; } get [_isChained]() { - return this[_state] === 2; + return (dart.notNull(this[_state]) & 4) !== 0; } get [_isComplete]() { - return dart.notNull(this[_state]) >= 4; + return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; } get [_hasError]() { - return this[_state] === 8; + return (dart.notNull(this[_state]) & 16) !== 0; } - static _continuationFunctions(future) { - let t108; - if (future == null) dart.nullFailed(I[68], 263, 65, "future"); - let result = null; - while (true) { - if (dart.test(future[_mayAddListener])) return result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); - if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); - let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); - if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { - (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); - future = listener.result; - if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); - } else { - break; - } - } - return result; + get [_ignoreError]() { + return (dart.notNull(this[_state]) & 1) !== 0; } [_setChained](source) { - if (source == null) dart.nullFailed(I[68], 284, 28, "source"); - if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); - this[_state] = 2; + if (source == null) dart.nullFailed(I[71], 296, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[71], 297, 12, "_mayAddListener"); + this[_state] = (4 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source; } then(R, f, opts) { - if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + if (f == null) dart.nullFailed(I[71], 302, 33, "f"); let onError = opts && 'onError' in opts ? opts.onError : null; let currentZone = async.Zone.current; - if (currentZone != async._rootZone) { + if (currentZone == async._rootZone) { + if (onError != null && !T$.ObjectAndStackTraceTodynamic().is(onError) && !T$.ObjectTodynamic().is(onError)) { + dart.throw(new core.ArgumentError.value(onError, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); + } + } else { f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); if (onError != null) { onError = async._registerErrorHandler(onError, currentZone); @@ -30824,78 +33433,81 @@ async._Future$ = dart.generic(T => { return result; } [_thenAwait](E, f, onError) { - if (f == null) dart.nullFailed(I[68], 312, 39, "f"); - if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + if (f == null) dart.nullFailed(I[71], 332, 39, "f"); + if (onError == null) dart.nullFailed(I[71], 332, 60, "onError"); let result = new (async._Future$(E)).new(); this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); return result; } + [_ignore]() { + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + } catchError(onError, opts) { - if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + if (onError == null) dart.nullFailed(I[71], 342, 33, "onError"); let test = opts && 'test' in opts ? opts.test : null; - let result = new (_FutureOfT()).new(); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { onError = async._registerErrorHandler(onError, result[_zone$]); if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); } - this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + this[_addListener](new (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); return result; } whenComplete(action) { - if (action == null) dart.nullFailed(I[68], 328, 34, "action"); - let result = new (_FutureOfT()).new(); + if (action == null) dart.nullFailed(I[71], 352, 34, "action"); + let result = new (__t$_FutureOfT()).new(); if (result[_zone$] != async._rootZone) { action = result[_zone$].registerCallback(dart.dynamic, action); } - this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + this[_addListener](new (__t$_FutureListenerOfT$T()).whenComplete(result, action)); return result; } asStream() { - return StreamOfT().fromFuture(this); + return __t$StreamOfT().fromFuture(this); } [_setPendingComplete]() { - if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); - this[_state] = 1; + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[71], 364, 12, "_mayComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (0 ^ 2) >>> 0) >>> 0; } [_clearPendingComplete]() { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); - this[_state] = 0; + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 369, 12, "_isPendingComplete"); + this[_state] = (dart.notNull(this[_state]) ^ (2 ^ 0) >>> 0) >>> 0; } get [_error]() { - if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[71], 374, 12, "_hasError"); return async.AsyncError.as(this[_resultOrListeners]); } get [_chainSource]() { - if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[71], 379, 12, "_isChained"); return async._Future.as(this[_resultOrListeners]); } [_setValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); - this[_state] = 4; + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 385, 12, "!_isComplete"); + this[_state] = 8; this[_resultOrListeners] = value; } [_setErrorObject](error) { - if (error == null) dart.nullFailed(I[68], 366, 35, "error"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); - this[_state] = 8; + if (error == null) dart.nullFailed(I[71], 390, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 391, 12, "!_isComplete"); + this[_state] = (16 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = error; } [_setError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 372, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[71], 396, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 396, 43, "stackTrace"); this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); } [_cloneResult](source) { - if (source == null) dart.nullFailed(I[68], 379, 29, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); - this[_state] = source[_state]; + if (source == null) dart.nullFailed(I[71], 403, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 404, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 405, 12, "source._isComplete"); + this[_state] = (dart.notNull(source[_state]) & 30 | (dart.notNull(this[_state]) & 1) >>> 0) >>> 0; this[_resultOrListeners] = source[_resultOrListeners]; } [_addListener](listener) { - if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); - if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (listener == null) dart.nullFailed(I[71], 411, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[71], 412, 12, "listener._nextListener == null"); if (dart.test(this[_mayAddListener])) { listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = listener; @@ -30908,7 +33520,7 @@ async._Future$ = dart.generic(T => { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 428, 14, "_isComplete"); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listener); }, T$.VoidTovoid())); @@ -30937,7 +33549,7 @@ async._Future$ = dart.generic(T => { } this[_cloneResult](source); } - if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 462, 14, "_isComplete"); listeners = this[_reverseListeners](listeners); this[_zone$].scheduleMicrotask(dart.fn(() => { async._Future._propagateToListeners(this, listeners); @@ -30945,7 +33557,7 @@ async._Future$ = dart.generic(T => { } } [_removeListeners]() { - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 473, 12, "!_isComplete"); let current = T$._FutureListenerN().as(this[_resultOrListeners]); this[_resultOrListeners] = null; return this[_reverseListeners](current); @@ -30962,13 +33574,13 @@ async._Future$ = dart.generic(T => { return prev; } [_chainForeignFuture](source) { - if (source == null) dart.nullFailed(I[68], 470, 35, "source"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); - if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + if (source == null) dart.nullFailed(I[71], 495, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 496, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[71], 497, 12, "source is! _Future"); this[_setPendingComplete](); try { source.then(core.Null, dart.fn(value => { - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 503, 16, "_isPendingComplete"); this[_clearPendingComplete](); try { this[_completeWithValue](T.as(value)); @@ -30981,9 +33593,9 @@ async._Future$ = dart.generic(T => { throw e; } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[68], 485, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); - if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + if (error == null) dart.nullFailed(I[71], 510, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 510, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[71], 511, 16, "_isPendingComplete"); this[_completeError](error, stackTrace); }, T$.ObjectAndStackTraceToNull())}); } catch (e$) { @@ -30998,9 +33610,9 @@ async._Future$ = dart.generic(T => { } } static _chainCoreFuture(source, target) { - if (source == null) dart.nullFailed(I[68], 502, 40, "source"); - if (target == null) dart.nullFailed(I[68], 502, 56, "target"); - if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + if (source == null) dart.nullFailed(I[71], 527, 40, "source"); + if (target == null) dart.nullFailed(I[71], 527, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[71], 528, 12, "target._mayAddListener"); while (dart.test(source[_isChained])) { source = source[_chainSource]; } @@ -31015,10 +33627,10 @@ async._Future$ = dart.generic(T => { } } [_complete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); - if (FutureOfT().is(value)) { - if (_FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 544, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { + if (__t$_FutureOfT().is(value)) { async._Future._chainCoreFuture(value, this); } else { this[_chainForeignFuture](value); @@ -31031,28 +33643,41 @@ async._Future$ = dart.generic(T => { } [_completeWithValue](value) { T.as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 563, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setValue](value); async._Future._propagateToListeners(this, listeners); } [_completeError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 545, 30, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 570, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 570, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 571, 12, "!_isComplete"); let listeners = this[_removeListeners](); this[_setError](error, stackTrace); async._Future._propagateToListeners(this, listeners); } [_asyncComplete](value) { - FutureOrOfT().as(value); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); - if (FutureOfT().is(value)) { + __t$FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 579, 12, "!_isComplete"); + if (__t$FutureOfT().is(value)) { this[_chainFuture](value); return; } this[_asyncCompleteWithValue](T.as(value)); } + [_asyncCompleteUnchecked](value) { + if (!core.identical(__t$FutureOrOfT().as(value), value)) dart.assertFailed(null, I[71], 610, 12, "identical(value as FutureOr, value)"); + let typedValue = value; + if (__t$FutureOfT().is(typedValue)) { + this[_chainFuture](typedValue); + return; + } + this[_asyncCompleteWithValue](typedValue); + } + [_asyncCompleteUncheckedNoFuture](value) { + if (!core.identical(T.as(value), value)) dart.assertFailed(null, I[71], 633, 12, "identical(value as T, value)"); + this[_asyncCompleteWithValue](value); + } [_asyncCompleteWithValue](value) { T.as(value); this[_setPendingComplete](); @@ -31061,8 +33686,8 @@ async._Future$ = dart.generic(T => { }, T$.VoidTovoid())); } [_chainFuture](value) { - if (value == null) dart.nullFailed(I[68], 584, 31, "value"); - if (_FutureOfT().is(value)) { + if (value == null) dart.nullFailed(I[71], 644, 31, "value"); + if (__t$_FutureOfT().is(value)) { if (dart.test(value[_hasError])) { this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { @@ -31076,21 +33701,21 @@ async._Future$ = dart.generic(T => { this[_chainForeignFuture](value); } [_asyncCompleteError](error, stackTrace) { - if (error == null) dart.nullFailed(I[68], 601, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); - if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + if (error == null) dart.nullFailed(I[71], 661, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 661, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[71], 662, 12, "!_isComplete"); this[_setPendingComplete](); this[_zone$].scheduleMicrotask(dart.fn(() => { this[_completeError](error, stackTrace); }, T$.VoidTovoid())); } static _propagateToListeners(source, listeners) { - if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + if (source == null) dart.nullFailed(I[71], 673, 15, "source"); while (true) { - if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[71], 675, 14, "source._isComplete"); let hasError = source[_hasError]; if (listeners == null) { - if (dart.test(hasError)) { + if (dart.test(hasError) && !dart.test(source[_ignoreError])) { let asyncError = source[_error]; source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); } @@ -31119,8 +33744,8 @@ async._Future$ = dart.generic(T => { oldZone = async.Zone._enter(zone); } function handleWhenCompleteCallback() { - if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); - if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[71], 733, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[71], 734, 18, "!listener.handlesError"); let completeResult = null; try { completeResult = listener.handleWhenComplete(); @@ -31230,11 +33855,11 @@ async._Future$ = dart.generic(T => { } } timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - VoidToNFutureOrOfT().as(onTimeout); - if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); - let _future = new (_FutureOfT()).new(); + __t$VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (__t$_FutureOfT()).immediate(this); + let _future = new (__t$_FutureOfT()).new(); let timer = null; if (onTimeout == null) { timer = async.Timer.new(timeLimit, dart.fn(() => { @@ -31242,10 +33867,10 @@ async._Future$ = dart.generic(T => { }, T$.VoidTovoid())); } else { let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); timer = async.Timer.new(timeLimit, dart.fn(() => { try { - _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -31261,9 +33886,9 @@ async._Future$ = dart.generic(T => { timer.cancel(); _future[_completeWithValue](v); } - }, TToNull()), {onError: dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[68], 816, 25, "e"); - if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + }, __t$TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[71], 876, 25, "e"); + if (s == null) dart.nullFailed(I[71], 876, 39, "s"); if (dart.test(timer.isActive)) { timer.cancel(); _future[_completeError](e, s); @@ -31285,14 +33910,14 @@ async._Future$ = dart.generic(T => { this[_asyncComplete](result); }).prototype = _Future.prototype; (_Future.zoneValue = function(value, _zone) { - if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + if (_zone == null) dart.nullFailed(I[71], 275, 35, "_zone"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = _zone; this[_setValue](value); }).prototype = _Future.prototype; (_Future.immediateError = function(error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[71], 279, 48, "stackTrace"); this[_state] = 0; this[_resultOrListeners] = null; this[_zone$] = async.Zone._current; @@ -31311,6 +33936,7 @@ async._Future$ = dart.generic(T => { [_setChained]: dart.fnType(dart.void, [async._Future]), then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + [_ignore]: dart.fnType(dart.void, []), catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), asStream: dart.fnType(async.Stream$(T), []), @@ -31329,11 +33955,14 @@ async._Future$ = dart.generic(T => { [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteUnchecked]: dart.fnType(dart.void, [dart.dynamic]), + [_asyncCompleteUncheckedNoFuture]: dart.fnType(dart.void, [dart.dynamic]), [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) })); + dart.setStaticMethodSignature(_Future, () => ['_chainCoreFuture', '_propagateToListeners']); dart.setGetterSignature(_Future, () => ({ __proto__: dart.getGetters(_Future.__proto__), [_mayComplete]: core.bool, @@ -31342,16 +33971,18 @@ async._Future$ = dart.generic(T => { [_isChained]: core.bool, [_isComplete]: core.bool, [_hasError]: core.bool, + [_ignoreError]: core.bool, [_error]: async.AsyncError, [_chainSource]: async._Future })); - dart.setLibraryUri(_Future, I[29]); + dart.setLibraryUri(_Future, I[31]); dart.setFieldSignature(_Future, () => ({ __proto__: dart.getFields(_Future.__proto__), [_state]: dart.fieldType(core.int), [_zone$]: dart.finalFieldType(async._Zone), [_resultOrListeners]: dart.fieldType(dart.dynamic) })); + dart.setStaticFieldSignature(_Future, () => ['_stateIncomplete', '_stateIgnoreError', '_statePendingComplete', '_stateChained', '_stateValue', '_stateError', '_completionStateMask']); return _Future; }); async._Future = async._Future$(); @@ -31359,30 +33990,41 @@ dart.defineLazy(async._Future, { /*async._Future._stateIncomplete*/get _stateIncomplete() { return 0; }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { + /*async._Future._stateIgnoreError*/get _stateIgnoreError() { return 1; }, - /*async._Future._stateChained*/get _stateChained() { + /*async._Future._statePendingComplete*/get _statePendingComplete() { return 2; }, - /*async._Future._stateValue*/get _stateValue() { + /*async._Future._stateChained*/get _stateChained() { return 4; }, - /*async._Future._stateError*/get _stateError() { + /*async._Future._stateValue*/get _stateValue() { return 8; + }, + /*async._Future._stateError*/get _stateError() { + return 16; + }, + /*async._Future._completionStateMask*/get _completionStateMask() { + return 30; } }, false); dart.addTypeTests(async._Future, _is__Future_default); -async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; +async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); + return new async._AsyncCallbackEntry.new(callback); + } +}; (async._AsyncCallbackEntry.new = function(callback) { - if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + if (callback == null) dart.nullFailed(I[72], 12, 28, "callback"); this.next = null; this.callback = callback; ; }).prototype = async._AsyncCallbackEntry.prototype; dart.addTypeTests(async._AsyncCallbackEntry); dart.addTypeCaches(async._AsyncCallbackEntry); -dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); +dart.setLibraryUri(async._AsyncCallbackEntry, I[31]); dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), callback: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -31391,12 +34033,12 @@ dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ async._AsyncRun = class _AsyncRun extends core.Object { static _initializeScheduleImmediate() { if (dart.global.scheduleImmediate != null) { - return C[42] || CT.C42; + return C[43] || CT.C43; } - return C[43] || CT.C43; + return C[44] || CT.C44; } static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); dart.addAsyncCallback(); dart.global.scheduleImmediate(() => { dart.removeAsyncCallback(); @@ -31404,7 +34046,7 @@ async._AsyncRun = class _AsyncRun extends core.Object { }); } static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); dart.addAsyncCallback(); dart.global.Promise.resolve(null).then(() => { dart.removeAsyncCallback(); @@ -31412,16 +34054,21 @@ async._AsyncRun = class _AsyncRun extends core.Object { }); } static _scheduleImmediate(callback) { - if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + if (callback == null) dart.nullFailed(I[64], 135, 50, "callback"); async._AsyncRun._scheduleImmediateClosure(callback); } + static ['_#new#tearOff']() { + return new async._AsyncRun.new(); + } }; (async._AsyncRun.new = function() { ; }).prototype = async._AsyncRun.prototype; dart.addTypeTests(async._AsyncRun); dart.addTypeCaches(async._AsyncRun); -dart.setLibraryUri(async._AsyncRun, I[29]); +dart.setStaticMethodSignature(async._AsyncRun, () => ['_initializeScheduleImmediate', '_scheduleImmediateJSOverride', '_scheduleImmediateWithPromise', '_scheduleImmediate']); +dart.setLibraryUri(async._AsyncRun, I[31]); +dart.setStaticFieldSignature(async._AsyncRun, () => ['_scheduleImmediateClosure']); dart.defineLazy(async._AsyncRun, { /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { return async._AsyncRun._initializeScheduleImmediate(); @@ -31435,7 +34082,7 @@ async.StreamSubscription$ = dart.generic(T => { dart.addTypeTests(StreamSubscription); StreamSubscription.prototype[dart.isStreamSubscription] = true; dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[29]); + dart.setLibraryUri(StreamSubscription, I[31]); return StreamSubscription; }); async.StreamSubscription = async.StreamSubscription$(); @@ -31450,7 +34097,7 @@ async.EventSink$ = dart.generic(T => { EventSink.prototype[_is_EventSink_default] = true; dart.addTypeCaches(EventSink); EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[29]); + dart.setLibraryUri(EventSink, I[31]); return EventSink; }); async.EventSink = async.EventSink$(); @@ -31466,6 +34113,10 @@ async.StreamView$ = dart.generic(T => { set [_stream$](value) { super[_stream$] = value; } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); + return new (async.StreamView$(T)).new(stream); + } get isBroadcast() { return this[_stream$].isBroadcast; } @@ -31482,7 +34133,7 @@ async.StreamView$ = dart.generic(T => { } } (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); this[_stream] = stream; StreamView.__proto__._internal.call(this); ; @@ -31494,7 +34145,7 @@ async.StreamView$ = dart.generic(T => { __proto__: dart.getMethods(StreamView.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(StreamView, I[29]); + dart.setLibraryUri(StreamView, I[31]); dart.setFieldSignature(StreamView, () => ({ __proto__: dart.getFields(StreamView.__proto__), [_stream$]: dart.finalFieldType(async.Stream$(T)) @@ -31512,7 +34163,7 @@ async.StreamConsumer$ = dart.generic(S => { dart.addTypeTests(StreamConsumer); StreamConsumer.prototype[_is_StreamConsumer_default] = true; dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[29]); + dart.setLibraryUri(StreamConsumer, I[31]); return StreamConsumer; }); async.StreamConsumer = async.StreamConsumer$(); @@ -31527,7 +34178,7 @@ async.StreamSink$ = dart.generic(S => { StreamSink.prototype[_is_StreamSink_default] = true; dart.addTypeCaches(StreamSink); StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[29]); + dart.setLibraryUri(StreamSink, I[31]); return StreamSink; }); async.StreamSink = async.StreamSink$(); @@ -31535,8 +34186,22 @@ dart.addTypeTests(async.StreamSink, _is_StreamSink_default); const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); async.StreamTransformer$ = dart.generic((S, T) => { class StreamTransformer extends core.Object { + static ['_#new#tearOff'](S, T, onListen) { + if (onListen == null) dart.nullFailed(I[30], 2383, 33, "onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(onListen); + } + static ['_#fromHandlers#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } + static ['_#fromBind#tearOff'](S, T, bind) { + if (bind == null) dart.nullFailed(I[30], 2448, 68, "bind"); + return new (async._StreamBindTransformer$(S, T)).new(bind); + } static castFrom(SS, ST, TS, TT, source) { - if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + if (source == null) dart.nullFailed(I[30], 2460, 33, "source"); return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); } } @@ -31545,7 +34210,9 @@ async.StreamTransformer$ = dart.generic((S, T) => { dart.addTypeTests(StreamTransformer); StreamTransformer.prototype[_is_StreamTransformer_default] = true; dart.addTypeCaches(StreamTransformer); - dart.setLibraryUri(StreamTransformer, I[29]); + dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); + dart.setLibraryUri(StreamTransformer, I[31]); + dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); return StreamTransformer; }); async.StreamTransformer = async.StreamTransformer$(); @@ -31554,16 +34221,21 @@ const _is_StreamIterator_default = Symbol('_is_StreamIterator_default'); async.StreamIterator$ = dart.generic(T => { class StreamIterator extends core.Object { static new(stream) { - if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); return new (async._StreamIterator$(T)).new(stream); } + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[30], 2524, 36, "stream"); + return async.StreamIterator$(T).new(stream); + } } (StreamIterator[dart.mixinNew] = function() { }).prototype = StreamIterator.prototype; dart.addTypeTests(StreamIterator); StreamIterator.prototype[_is_StreamIterator_default] = true; dart.addTypeCaches(StreamIterator); - dart.setLibraryUri(StreamIterator, I[29]); + dart.setStaticMethodSignature(StreamIterator, () => ['new']); + dart.setLibraryUri(StreamIterator, I[31]); return StreamIterator; }); async.StreamIterator = async.StreamIterator$(); @@ -31572,6 +34244,9 @@ var _ensureSink = dart.privateName(async, "_ensureSink"); const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); async._ControllerEventSinkWrapper$ = dart.generic(T => { class _ControllerEventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + return new (async._ControllerEventSinkWrapper$(T)).new(_sink); + } [_ensureSink]() { let sink = this[_sink$]; if (sink == null) dart.throw(new core.StateError.new("Sink not available")); @@ -31582,7 +34257,7 @@ async._ControllerEventSinkWrapper$ = dart.generic(T => { this[_ensureSink]().add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); this[_ensureSink]().addError(error, stackTrace); } close() { @@ -31604,7 +34279,7 @@ async._ControllerEventSinkWrapper$ = dart.generic(T => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) @@ -31623,7 +34298,7 @@ async.MultiStreamController$ = dart.generic(T => { MultiStreamController.prototype[_is_MultiStreamController_default] = true; dart.addTypeCaches(MultiStreamController); MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[29]); + dart.setLibraryUri(MultiStreamController, I[31]); return MultiStreamController; }); async.MultiStreamController = async.MultiStreamController$(); @@ -31637,16 +34312,32 @@ async.StreamController$ = dart.generic(T => { let onResume = opts && 'onResume' in opts ? opts.onResume : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); } + static ['_#new#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 115, 12, "sync"); + return async.StreamController$(T).new({onListen: onListen, onPause: onPause, onResume: onResume, onCancel: onCancel, sync: sync}); + } static broadcast(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; let sync = opts && 'sync' in opts ? opts.sync : false; - if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); } + static ['_#broadcast#tearOff'](T, opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[67], 171, 49, "sync"); + return async.StreamController$(T).broadcast({onListen: onListen, onCancel: onCancel, sync: sync}); + } } (StreamController[dart.mixinNew] = function() { }).prototype = StreamController.prototype; @@ -31654,7 +34345,8 @@ async.StreamController$ = dart.generic(T => { StreamController.prototype[_is_StreamController_default] = true; dart.addTypeCaches(StreamController); StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setLibraryUri(StreamController, I[29]); + dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); + dart.setLibraryUri(StreamController, I[31]); return StreamController; }); async.StreamController = async.StreamController$(); @@ -31669,26 +34361,26 @@ async.SynchronousStreamController$ = dart.generic(T => { SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; dart.addTypeCaches(SynchronousStreamController); SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(SynchronousStreamController, I[29]); + dart.setLibraryUri(SynchronousStreamController, I[31]); return SynchronousStreamController; }); async.SynchronousStreamController = async.SynchronousStreamController$(); dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); async._StreamControllerLifecycle$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); class _StreamControllerLifecycle extends core.Object { [_recordPause](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); } [_recordResume](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); } [_recordCancel](subscription) { - StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + __t$StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); return null; } } @@ -31704,7 +34396,7 @@ async._StreamControllerLifecycle$ = dart.generic(T => { [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + dart.setLibraryUri(_StreamControllerLifecycle, I[31]); return _StreamControllerLifecycle; }); async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); @@ -31719,7 +34411,7 @@ async._StreamControllerBase$ = dart.generic(T => { _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; dart.addTypeCaches(_StreamControllerBase); _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setLibraryUri(_StreamControllerBase, I[29]); + dart.setLibraryUri(_StreamControllerBase, I[31]); return _StreamControllerBase; }); async._StreamControllerBase = async._StreamControllerBase$(); @@ -31732,21 +34424,20 @@ var _ensurePendingEvents = dart.privateName(async, "_ensurePendingEvents"); var _badEventState = dart.privateName(async, "_badEventState"); const _is__StreamController_default = Symbol('_is__StreamController_default'); async._StreamController$ = dart.generic(T => { - var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); - var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); - var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); - var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); - var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); - var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); - var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_ControllerStreamOfT = () => (__t$_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var __t$_StreamSinkWrapperOfT = () => (__t$_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var __t$_PendingEventsOfT = () => (__t$_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var __t$_PendingEventsNOfT = () => (__t$_PendingEventsNOfT = dart.constFn(dart.nullable(__t$_PendingEventsOfT())))(); + var __t$_StreamControllerAddStreamStateOfT = () => (__t$_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var __t$_ControllerSubscriptionOfT = () => (__t$_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _StreamController extends core.Object { get stream() { - return new (_ControllerStreamOfT()).new(this); + return new (__t$_ControllerStreamOfT()).new(this); } get sink() { - return new (_StreamSinkWrapperOfT()).new(this); + return new (__t$_StreamSinkWrapperOfT()).new(this); } get [_isCanceled]() { return (dart.notNull(this[_state]) & 2) !== 0; @@ -31770,53 +34461,53 @@ async._StreamController$ = dart.generic(T => { return dart.notNull(this[_state]) < 4; } get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { - return _PendingEventsNOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(this[_varData]); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); - return _PendingEventsNOfT().as(state.varData); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); + return __t$_PendingEventsNOfT().as(state.varData); } [_ensurePendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 531, 12, "_isInitialState"); if (!dart.test(this[_isAddingStream])) { let events = this[_varData]; if (events == null) { - this[_varData] = events = new (_StreamImplEventsOfT()).new(); + this[_varData] = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } - let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); let events = state.varData; if (events == null) { - state.varData = events = new (_StreamImplEventsOfT()).new(); + state.varData = events = new (__t$_PendingEventsOfT()).new(); } - return _StreamImplEventsOfT().as(events); + return __t$_PendingEventsOfT().as(events); } get [_subscription]() { - if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[67], 551, 12, "hasListener"); let varData = this[_varData]; if (dart.test(this[_isAddingStream])) { let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); varData = streamState.varData; } - return _ControllerSubscriptionOfT().as(varData); + return __t$_ControllerSubscriptionOfT().as(varData); } [_badEventState]() { if (dart.test(this.isClosed)) { return new core.StateError.new("Cannot add event after closing"); } - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 567, 12, "_isAddingStream"); return new core.StateError.new("Cannot add event while adding a stream"); } addStream(source, opts) { - let t114; - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let t100; + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 572, 30, "source"); let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); - let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + let addState = new (__t$_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t100 = cancelOnError, t100 == null ? false : t100)); this[_varData] = addState; this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; return addState.addStreamFuture; @@ -31825,9 +34516,9 @@ async._StreamController$ = dart.generic(T => { return this[_ensureDoneFuture](); } [_ensureDoneFuture]() { - let t114; - t114 = this[_doneFuture]; - return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + let t100; + t100 = this[_doneFuture]; + return t100 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t100; } add(value) { T.as(value); @@ -31835,7 +34526,7 @@ async._StreamController$ = dart.generic(T => { this[_add](value); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + if (error == null) dart.nullFailed(I[67], 600, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); let replacement = async.Zone.current.errorCallback(error, stackTrace); @@ -31845,7 +34536,6 @@ async._StreamController$ = dart.generic(T => { } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); this[_addError](error, stackTrace); } close() { @@ -31861,7 +34551,7 @@ async._StreamController$ = dart.generic(T => { if (dart.test(this.hasListener)) { this[_sendDone](); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[40] || CT.C40); + this[_ensurePendingEvents]().add(C[41] || CT.C41); } } [_add](value) { @@ -31869,12 +34559,12 @@ async._StreamController$ = dart.generic(T => { if (dart.test(this.hasListener)) { this[_sendData](value); } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); } } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 613, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 654, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 654, 43, "stackTrace"); if (dart.test(this.hasListener)) { this[_sendError](error, stackTrace); } else if (dart.test(this[_isInitialState])) { @@ -31882,22 +34572,22 @@ async._StreamController$ = dart.generic(T => { } } [_close]() { - if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[67], 664, 12, "_isAddingStream"); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); this[_varData] = addState.varData; this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; addState.complete(); } [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[67], 674, 28, "cancelOnError"); if (!dart.test(this[_isInitialState])) { dart.throw(new core.StateError.new("Stream has already been listened to.")); } - let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let subscription = new (__t$_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); let pendingEvents = this[_pendingEvents]; this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.varData = subscription; addState.resume(); } else { @@ -31910,11 +34600,11 @@ async._StreamController$ = dart.generic(T => { return subscription; } [_recordCancel](subscription) { - let t115; - if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let t101; + if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); let result = null; if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); result = addState.cancel(); } this[_varData] = null; @@ -31931,9 +34621,9 @@ async._StreamController$ = dart.generic(T => { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - result = (t115 = new (T$._FutureOfvoid()).new(), (() => { - t115[_asyncCompleteError](e, s); - return t115; + result = (t101 = new (T$._FutureOfvoid()).new(), (() => { + t101[_asyncCompleteError](e, s); + return t101; })()); } else throw e$; @@ -31957,17 +34647,17 @@ async._StreamController$ = dart.generic(T => { return result; } [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.pause(); } async._runGuarded(this.onPause); } [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); if (dart.test(this[_isAddingStream])) { - let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); addState.resume(); } async._runGuarded(this.onResume); @@ -31989,7 +34679,7 @@ async._StreamController$ = dart.generic(T => { _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; dart.setMethodSignature(_StreamController, () => ({ __proto__: dart.getMethods(_StreamController.__proto__), - [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_ensurePendingEvents]: dart.fnType(async._PendingEvents$(T), []), [_badEventState]: dart.fnType(core.Error, []), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), @@ -32020,7 +34710,7 @@ async._StreamController$ = dart.generic(T => { [_subscription]: async._ControllerSubscription$(T), done: async.Future$(dart.void) })); - dart.setLibraryUri(_StreamController, I[29]); + dart.setLibraryUri(_StreamController, I[31]); dart.setFieldSignature(_StreamController, () => ({ __proto__: dart.getFields(_StreamController.__proto__), [_varData]: dart.fieldType(dart.nullable(core.Object)), @@ -32031,6 +34721,7 @@ async._StreamController$ = dart.generic(T => { onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_StreamController, () => ['_STATE_INITIAL', '_STATE_SUBSCRIBED', '_STATE_CANCELED', '_STATE_SUBSCRIPTION_MASK', '_STATE_CLOSED', '_STATE_ADDSTREAM']); return _StreamController; }); async._StreamController = async._StreamController$(); @@ -32062,8 +34753,8 @@ async._SyncStreamControllerDispatch$ = dart.generic(T => { this[_subscription][_add](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 736, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 777, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 777, 44, "stackTrace"); this[_subscription][_addError](error, stackTrace); } [_sendDone]() { @@ -32083,25 +34774,25 @@ async._SyncStreamControllerDispatch$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[31]); return _SyncStreamControllerDispatch; }); async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); async._AsyncStreamControllerDispatch$ = dart.generic(T => { - var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); class _AsyncStreamControllerDispatch extends core.Object { [_sendData](data) { - this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 751, 26, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 792, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 792, 44, "stackTrace"); this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); } [_sendDone]() { - this[_subscription][_addPending](C[40] || CT.C40); + this[_subscription][_addPending](C[41] || CT.C41); } } (_AsyncStreamControllerDispatch.new = function() { @@ -32117,7 +34808,7 @@ async._AsyncStreamControllerDispatch$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); return _AsyncStreamControllerDispatch; }); async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); @@ -32130,12 +34821,15 @@ async._AsyncStreamController$ = dart.generic(T => { }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 764, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 805, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32155,7 +34849,7 @@ async._AsyncStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AsyncStreamController, I[29]); + dart.setLibraryUri(_AsyncStreamController, I[31]); return _AsyncStreamController; }); async._AsyncStreamController = async._AsyncStreamController$(); @@ -32168,12 +34862,15 @@ async._SyncStreamController$ = dart.generic(T => { }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + static ['_#new#tearOff'](T, onListen, onPause, onResume, onCancel) { + return new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } [_sendData](data) { return super[_sendData](data); } [_sendError](error, stackTrace) { - if (error == null) dart.nullFailed(I[64], 767, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + if (error == null) dart.nullFailed(I[67], 808, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); return super[_sendError](error, stackTrace); } [_sendDone]() { @@ -32193,7 +34890,7 @@ async._SyncStreamController$ = dart.generic(T => { [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_sendDone]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SyncStreamController, I[29]); + dart.setLibraryUri(_SyncStreamController, I[31]); return _SyncStreamController; }); async._SyncStreamController = async._SyncStreamController$(); @@ -32201,22 +34898,26 @@ dart.addTypeTests(async._SyncStreamController, _is__SyncStreamController_default var _target$ = dart.privateName(async, "_target"); const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); async._StreamSinkWrapper$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); + return new (async._StreamSinkWrapper$(T)).new(_target); + } add(data) { T.as(data); this[_target$].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + if (error == null) dart.nullFailed(I[67], 870, 24, "error"); this[_target$].addError(error, stackTrace); } close() { return this[_target$].close(); } addStream(source) { - StreamOfT().as(source); - if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + __t$StreamOfT().as(source); + if (source == null) dart.nullFailed(I[67], 876, 30, "source"); return this[_target$].addStream(source); } get done() { @@ -32224,7 +34925,7 @@ async._StreamSinkWrapper$ = dart.generic(T => { } } (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); this[_target$] = _target; ; }).prototype = _StreamSinkWrapper.prototype; @@ -32243,7 +34944,7 @@ async._StreamSinkWrapper$ = dart.generic(T => { __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), done: async.Future })); - dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setLibraryUri(_StreamSinkWrapper, I[31]); dart.setFieldSignature(_StreamSinkWrapper, () => ({ __proto__: dart.getFields(_StreamSinkWrapper.__proto__), [_target$]: dart.finalFieldType(async.StreamController) @@ -32254,12 +34955,19 @@ async._StreamSinkWrapper = async._StreamSinkWrapper$(); dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); async._AddStreamState$ = dart.generic(T => { + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _AddStreamState extends core.Object { + static ['_#new#tearOff'](T, controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); + return new (async._AddStreamState$(T)).new(controller, source, cancelOnError); + } static makeErrorHandler(controller) { - if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + if (controller == null) dart.nullFailed(I[67], 899, 38, "controller"); return dart.fn((e, s) => { - if (e == null) dart.nullFailed(I[64], 858, 61, "e"); - if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + if (e == null) dart.nullFailed(I[67], 899, 61, "e"); + if (s == null) dart.nullFailed(I[67], 899, 75, "s"); controller[_addError](e, s); controller[_close](); }, T$.ObjectAndStackTraceToNull()); @@ -32285,11 +34993,11 @@ async._AddStreamState$ = dart.generic(T => { } } (_AddStreamState.new = function(controller, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); - if (source == null) dart.nullFailed(I[64], 849, 43, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 890, 21, "controller"); + if (source == null) dart.nullFailed(I[67], 890, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 890, 56, "cancelOnError"); this.addStreamFuture = new async._Future.new(); - this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + this.addSubscription = source.listen(__t$TTovoid().as(dart.bind(controller, _add)), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); ; }).prototype = _AddStreamState.prototype; dart.addTypeTests(_AddStreamState); @@ -32302,7 +35010,8 @@ async._AddStreamState$ = dart.generic(T => { cancel: dart.fnType(async.Future$(dart.void), []), complete: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_AddStreamState, I[29]); + dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); + dart.setLibraryUri(_AddStreamState, I[31]); dart.setFieldSignature(_AddStreamState, () => ({ __proto__: dart.getFields(_AddStreamState.__proto__), addStreamFuture: dart.finalFieldType(async._Future), @@ -32314,11 +35023,18 @@ async._AddStreamState = async._AddStreamState$(); dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); async._StreamControllerAddStreamState$ = dart.generic(T => { - class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + class _StreamControllerAddStreamState extends async._AddStreamState$(T) { + static ['_#new#tearOff'](T, controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); + return new (async._StreamControllerAddStreamState$(T)).new(controller, varData, source, cancelOnError); + } + } (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { - if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); - if (source == null) dart.nullFailed(I[64], 900, 17, "source"); - if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + if (controller == null) dart.nullFailed(I[67], 940, 56, "controller"); + if (source == null) dart.nullFailed(I[67], 941, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[67], 941, 30, "cancelOnError"); this.varData = varData; _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); if (dart.test(controller.isPaused)) { @@ -32328,7 +35044,7 @@ async._StreamControllerAddStreamState$ = dart.generic(T => { dart.addTypeTests(_StreamControllerAddStreamState); _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), varData: dart.fieldType(dart.dynamic) @@ -32346,7 +35062,7 @@ async._EventSink$ = dart.generic(T => { dart.addTypeTests(_EventSink); _EventSink.prototype[_is__EventSink_default] = true; dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[29]); + dart.setLibraryUri(_EventSink, I[31]); return _EventSink; }); async._EventSink = async._EventSink$(); @@ -32360,186 +35076,11 @@ async._EventDispatch$ = dart.generic(T => { dart.addTypeTests(_EventDispatch); _EventDispatch.prototype[_is__EventDispatch_default] = true; dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[29]); + dart.setLibraryUri(_EventDispatch, I[31]); return _EventDispatch; }); async._EventDispatch = async._EventDispatch$(); dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); -var _isUsed = dart.privateName(async, "_isUsed"); -const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); -async._GeneratedStreamImpl$ = dart.generic(T => { - var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); - class _GeneratedStreamImpl extends async._StreamImpl$(T) { - [_createSubscription](onData, onError, onDone, cancelOnError) { - let t115; - if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); - if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); - this[_isUsed] = true; - t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); - return (() => { - t115[_setPendingEvents](this[_pending$]()); - return t115; - })(); - } - } - (_GeneratedStreamImpl.new = function(_pending) { - if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); - this[_isUsed] = false; - this[_pending$] = _pending; - _GeneratedStreamImpl.__proto__.new.call(this); - ; - }).prototype = _GeneratedStreamImpl.prototype; - dart.addTypeTests(_GeneratedStreamImpl); - _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; - dart.addTypeCaches(_GeneratedStreamImpl); - dart.setLibraryUri(_GeneratedStreamImpl, I[29]); - dart.setFieldSignature(_GeneratedStreamImpl, () => ({ - __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), - [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), - [_isUsed]: dart.fieldType(core.bool) - })); - return _GeneratedStreamImpl; -}); -async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); -dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); -var _iterator = dart.privateName(async, "_iterator"); -var _eventScheduled = dart.privateName(async, "_eventScheduled"); -const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); -async._PendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _PendingEvents extends core.Object { - get isScheduled() { - return this[_state] === 1; - } - get [_eventScheduled]() { - return dart.notNull(this[_state]) >= 1; - } - schedule(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); - if (dart.test(this.isScheduled)) return; - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); - if (dart.test(this[_eventScheduled])) { - if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); - this[_state] = 1; - return; - } - async.scheduleMicrotask(dart.fn(() => { - let oldState = this[_state]; - this[_state] = 0; - if (oldState === 3) return; - this.handleNext(dispatch); - }, T$.VoidTovoid())); - this[_state] = 1; - } - cancelSchedule() { - if (dart.test(this.isScheduled)) this[_state] = 3; - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - ; - }).prototype = _PendingEvents.prototype; - dart.addTypeTests(_PendingEvents); - _PendingEvents.prototype[_is__PendingEvents_default] = true; - dart.addTypeCaches(_PendingEvents); - dart.setMethodSignature(_PendingEvents, () => ({ - __proto__: dart.getMethods(_PendingEvents.__proto__), - schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), - cancelSchedule: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool - })); - dart.setLibraryUri(_PendingEvents, I[29]); - dart.setFieldSignature(_PendingEvents, () => ({ - __proto__: dart.getFields(_PendingEvents.__proto__), - [_state]: dart.fieldType(core.int) - })); - return _PendingEvents; -}); -async._PendingEvents = async._PendingEvents$(); -dart.defineLazy(async._PendingEvents, { - /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { - return 0; - }, - /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { - return 1; - }, - /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { - return 3; - } -}, false); -dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); -const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); -async._IterablePendingEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _IterablePendingEvents extends async._PendingEvents$(T) { - get isEmpty() { - return this[_iterator] == null; - } - handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); - let iterator = this[_iterator]; - if (iterator == null) { - dart.throw(new core.StateError.new("No events pending.")); - } - let movedNext = false; - try { - if (dart.test(iterator.moveNext())) { - movedNext = true; - dispatch[_sendData](iterator.current); - } else { - this[_iterator] = null; - dispatch[_sendDone](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (!movedNext) { - this[_iterator] = C[20] || CT.C20; - } - dispatch[_sendError](e, s); - } else - throw e$; - } - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this[_iterator] = null; - } - } - (_IterablePendingEvents.new = function(data) { - if (data == null) dart.nullFailed(I[65], 519, 38, "data"); - this[_iterator] = data[$iterator]; - _IterablePendingEvents.__proto__.new.call(this); - ; - }).prototype = _IterablePendingEvents.prototype; - dart.addTypeTests(_IterablePendingEvents); - _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; - dart.addTypeCaches(_IterablePendingEvents); - dart.setMethodSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getMethods(_IterablePendingEvents.__proto__), - handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getGetters(_IterablePendingEvents.__proto__), - isEmpty: core.bool - })); - dart.setLibraryUri(_IterablePendingEvents, I[29]); - dart.setFieldSignature(_IterablePendingEvents, () => ({ - __proto__: dart.getFields(_IterablePendingEvents.__proto__), - [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) - })); - return _IterablePendingEvents; -}); -async._IterablePendingEvents = async._IterablePendingEvents$(); -dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); async._DelayedEvent$ = dart.generic(T => { class _DelayedEvent extends core.Object {} @@ -32550,7 +35091,7 @@ async._DelayedEvent$ = dart.generic(T => { dart.addTypeTests(_DelayedEvent); _DelayedEvent.prototype[_is__DelayedEvent_default] = true; dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setLibraryUri(_DelayedEvent, I[31]); dart.setFieldSignature(_DelayedEvent, () => ({ __proto__: dart.getFields(_DelayedEvent.__proto__), next: dart.fieldType(dart.nullable(async._DelayedEvent)) @@ -32561,11 +35102,14 @@ async._DelayedEvent = async._DelayedEvent$(); dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); const _is__DelayedData_default = Symbol('_is__DelayedData_default'); async._DelayedData$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); class _DelayedData extends async._DelayedEvent$(T) { + static ['_#new#tearOff'](T, value) { + return new (async._DelayedData$(T)).new(value); + } perform(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); dispatch[_sendData](this.value); } } @@ -32581,7 +35125,7 @@ async._DelayedData$ = dart.generic(T => { __proto__: dart.getMethods(_DelayedData.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_DelayedData, I[29]); + dart.setLibraryUri(_DelayedData, I[31]); dart.setFieldSignature(_DelayedData, () => ({ __proto__: dart.getFields(_DelayedData.__proto__), value: dart.finalFieldType(T) @@ -32591,15 +35135,20 @@ async._DelayedData$ = dart.generic(T => { async._DelayedData = async._DelayedData$(); dart.addTypeTests(async._DelayedData, _is__DelayedData_default); async._DelayedError = class _DelayedError extends async._DelayedEvent { + static ['_#new#tearOff'](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); + return new async._DelayedError.new(error, stackTrace); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 525, 31, "dispatch"); dispatch[_sendError](this.error, this.stackTrace); } }; (async._DelayedError.new = function(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 600, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 524, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 524, 34, "stackTrace"); this.error = error; this.stackTrace = stackTrace; async._DelayedError.__proto__.new.call(this); @@ -32611,16 +35160,19 @@ dart.setMethodSignature(async._DelayedError, () => ({ __proto__: dart.getMethods(async._DelayedError.__proto__), perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(async._DelayedError, I[29]); +dart.setLibraryUri(async._DelayedError, I[31]); dart.setFieldSignature(async._DelayedError, () => ({ __proto__: dart.getFields(async._DelayedError.__proto__), error: dart.finalFieldType(core.Object), stackTrace: dart.finalFieldType(core.StackTrace) })); async._DelayedDone = class _DelayedDone extends core.Object { + static ['_#new#tearOff']() { + return new async._DelayedDone.new(); + } perform(dispatch) { async._EventDispatch.as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + if (dispatch == null) dart.nullFailed(I[68], 533, 31, "dispatch"); dispatch[_sendDone](); } get next() { @@ -32648,16 +35200,44 @@ dart.setSetterSignature(async._DelayedDone, () => ({ __proto__: dart.getSetters(async._DelayedDone.__proto__), next: dart.nullable(async._DelayedEvent) })); -dart.setLibraryUri(async._DelayedDone, I[29]); -const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); -async._StreamImplEvents$ = dart.generic(T => { - var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); - class _StreamImplEvents extends async._PendingEvents$(T) { +dart.setLibraryUri(async._DelayedDone, I[31]); +var _eventScheduled = dart.privateName(async, "_eventScheduled"); +const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); +async._PendingEvents$ = dart.generic(T => { + var __t$_EventDispatchOfT = () => (__t$_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 579, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 581, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[68], 583, 14, "_state == stateCanceled"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } get isEmpty() { return this.lastPendingEvent == null; } add(event) { - if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + if (event == null) dart.nullFailed(I[68], 602, 26, "event"); let lastEvent = this.lastPendingEvent; if (lastEvent == null) { this.firstPendingEvent = this.lastPendingEvent = event; @@ -32666,10 +35246,10 @@ async._StreamImplEvents$ = dart.generic(T => { } } handleNext(dispatch) { - _EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); - if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); - if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + __t$_EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[68], 611, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[68], 612, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[68], 613, 12, "!isEmpty"); let event = dart.nullCheck(this.firstPendingEvent); let nextEvent = event.next; this.firstPendingEvent = nextEvent; @@ -32682,42 +35262,65 @@ async._StreamImplEvents$ = dart.generic(T => { if (dart.test(this.isScheduled)) this.cancelSchedule(); this.firstPendingEvent = this.lastPendingEvent = null; } + static ['_#new#tearOff'](T) { + return new (async._PendingEvents$(T)).new(); + } } - (_StreamImplEvents.new = function() { + (_PendingEvents.new = function() { + this[_state] = 0; this.firstPendingEvent = null; this.lastPendingEvent = null; - _StreamImplEvents.__proto__.new.call(this); ; - }).prototype = _StreamImplEvents.prototype; - dart.addTypeTests(_StreamImplEvents); - _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; - dart.addTypeCaches(_StreamImplEvents); - dart.setMethodSignature(_StreamImplEvents, () => ({ - __proto__: dart.getMethods(_StreamImplEvents.__proto__), + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [async._DelayedEvent]), handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); - dart.setGetterSignature(_StreamImplEvents, () => ({ - __proto__: dart.getGetters(_StreamImplEvents.__proto__), + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool, isEmpty: core.bool })); - dart.setLibraryUri(_StreamImplEvents, I[29]); - dart.setFieldSignature(_StreamImplEvents, () => ({ - __proto__: dart.getFields(_StreamImplEvents.__proto__), + dart.setLibraryUri(_PendingEvents, I[31]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int), firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) })); - return _StreamImplEvents; + dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); + return _PendingEvents; }); -async._StreamImplEvents = async._StreamImplEvents$(); -dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); +async._PendingEvents = async._PendingEvents$(); +dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents.stateUnscheduled*/get stateUnscheduled() { + return 0; + }, + /*async._PendingEvents.stateScheduled*/get stateScheduled() { + return 1; + }, + /*async._PendingEvents.stateCanceled*/get stateCanceled() { + return 3; + } +}, false); +dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); var _schedule = dart.privateName(async, "_schedule"); var _isSent = dart.privateName(async, "_isSent"); var _isScheduled = dart.privateName(async, "_isScheduled"); const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); async._DoneStreamSubscription$ = dart.generic(T => { class _DoneStreamSubscription extends core.Object { + static ['_#new#tearOff'](T, _onDone) { + return new (async._DoneStreamSubscription$(T)).new(_onDone); + } get [_isSent]() { return (dart.notNull(this[_state]) & 1) !== 0; } @@ -32807,13 +35410,14 @@ async._DoneStreamSubscription$ = dart.generic(T => { [_isScheduled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setLibraryUri(_DoneStreamSubscription, I[31]); dart.setFieldSignature(_DoneStreamSubscription, () => ({ __proto__: dart.getFields(_DoneStreamSubscription.__proto__), [_zone$]: dart.finalFieldType(async.Zone), [_state]: dart.fieldType(core.int), [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) })); + dart.setStaticFieldSignature(_DoneStreamSubscription, () => ['_DONE_SENT', '_SCHEDULED', '_PAUSED']); return _DoneStreamSubscription; }); async._DoneStreamSubscription = async._DoneStreamSubscription$(); @@ -32838,32 +35442,37 @@ var _resumeSubscription = dart.privateName(async, "_resumeSubscription"); var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); async._AsBroadcastStream$ = dart.generic(T => { - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$_AsBroadcastStreamControllerOfT = () => (__t$_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var __t$_BroadcastSubscriptionWrapperOfT = () => (__t$_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); class _AsBroadcastStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); + return new (async._AsBroadcastStream$(T)).new(_source, onListenHandler, onCancelHandler); + } get isBroadcast() { return true; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let controller = this[_controller$]; if (controller == null || dart.test(controller.isClosed)) { - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(__t$TTovoid().as(dart.bind(controller, 'add')), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_onCancel]() { let controller = this[_controller$]; let shutdown = controller == null || dart.test(controller.isClosed); let cancelHandler = this[_onCancelHandler]; if (cancelHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } if (shutdown) { let subscription = this[_subscription]; @@ -32876,7 +35485,7 @@ async._AsBroadcastStream$ = dart.generic(T => { [_onListen$]() { let listenHandler = this[_onListenHandler]; if (listenHandler != null) { - this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); } } [_cancelSubscription]() { @@ -32888,31 +35497,31 @@ async._AsBroadcastStream$ = dart.generic(T => { } } [_pauseSubscription](resumeSignal) { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(resumeSignal); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(resumeSignal); } [_resumeSubscription]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } get [_isSubscriptionPaused]() { - let t116, t116$; - t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); - return t116$ == null ? false : t116$; + let t101, t101$; + t101$ = (t101 = this[_subscription], t101 == null ? null : t101.isPaused); + return t101$ == null ? false : t101$; } } (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { - if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + if (_source == null) dart.nullFailed(I[68], 713, 12, "_source"); this[_controller$] = null; this[_subscription] = null; this[_source$4] = _source; - this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); - this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, __t$StreamSubscriptionOfT(), onCancelHandler); this[_zone$] = async.Zone.current; _AsBroadcastStream.__proto__.new.call(this); - this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + this[_controller$] = new (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); }).prototype = _AsBroadcastStream.prototype; dart.addTypeTests(_AsBroadcastStream); _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; @@ -32930,7 +35539,7 @@ async._AsBroadcastStream$ = dart.generic(T => { __proto__: dart.getGetters(_AsBroadcastStream.__proto__), [_isSubscriptionPaused]: core.bool })); - dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setLibraryUri(_AsBroadcastStream, I[31]); dart.setFieldSignature(_AsBroadcastStream, () => ({ __proto__: dart.getFields(_AsBroadcastStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(T)), @@ -32947,6 +35556,10 @@ dart.addTypeTests(async._AsBroadcastStream, _is__AsBroadcastStream_default); const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); async._BroadcastSubscriptionWrapper$ = dart.generic(T => { class _BroadcastSubscriptionWrapper extends core.Object { + static ['_#new#tearOff'](T, _stream) { + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); + return new (async._BroadcastSubscriptionWrapper$(T)).new(_stream); + } onData(handleData) { dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); } @@ -32974,7 +35587,7 @@ async._BroadcastSubscriptionWrapper$ = dart.generic(T => { } } (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); this[_stream$] = _stream; ; }).prototype = _BroadcastSubscriptionWrapper.prototype; @@ -32997,7 +35610,7 @@ async._BroadcastSubscriptionWrapper$ = dart.generic(T => { __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), isPaused: core.bool })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), [_stream$]: dart.finalFieldType(async._AsBroadcastStream) @@ -33011,8 +35624,12 @@ var _stateData = dart.privateName(async, "_stateData"); var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); async._StreamIterator$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); class _StreamIterator extends core.Object { + static ['_#new#tearOff'](T, stream) { + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } get current() { if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); return T.as(null); @@ -33032,13 +35649,13 @@ async._StreamIterator$ = dart.generic(T => { return this[_initializeOrDone](); } [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); let stateData = this[_stateData]; if (stateData != null) { - let stream = StreamOfT().as(stateData); + let stream = __t$StreamOfT().as(stateData); let future = new (T$._FutureOfbool()).new(); this[_stateData] = future; - let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError$), onDone: dart.bind(this, _onDone$), cancelOnError: true}); if (this[_stateData] != null) { this[_subscription] = subscription; } @@ -33063,7 +35680,7 @@ async._StreamIterator$ = dart.generic(T => { return async.Future._nullFuture; } [_onData$](data) { - let t116; + let t101; T.as(data); if (this[_subscription] == null) return; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); @@ -33071,13 +35688,13 @@ async._StreamIterator$ = dart.generic(T => { this[_hasValue$0] = true; moveNextFuture[_complete](true); if (dart.test(this[_hasValue$0])) { - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } } - [_onError](error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + [_onError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 981, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 981, 42, "stackTrace"); let subscription = this[_subscription]; let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); this[_subscription] = null; @@ -33101,7 +35718,7 @@ async._StreamIterator$ = dart.generic(T => { } } (_StreamIterator.new = function(stream) { - if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + if (stream == null) dart.nullFailed(I[68], 898, 35, "stream"); this[_subscription] = null; this[_hasValue$0] = false; this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); @@ -33117,14 +35734,14 @@ async._StreamIterator$ = dart.generic(T => { [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), cancel: dart.fnType(async.Future, []), [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), [_onDone$]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_StreamIterator, () => ({ __proto__: dart.getGetters(_StreamIterator.__proto__), current: T })); - dart.setLibraryUri(_StreamIterator, I[29]); + dart.setLibraryUri(_StreamIterator, I[31]); dart.setFieldSignature(_StreamIterator, () => ({ __proto__: dart.getFields(_StreamIterator.__proto__), [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), @@ -33137,8 +35754,11 @@ async._StreamIterator = async._StreamIterator$(); dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); async._EmptyStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); class _EmptyStream extends async.Stream$(T) { + static ['_#new#tearOff'](T) { + return new (async._EmptyStream$(T)).new(); + } get isBroadcast() { return true; } @@ -33146,7 +35766,7 @@ async._EmptyStream$ = dart.generic(T => { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } } (_EmptyStream.new = function() { @@ -33160,7 +35780,7 @@ async._EmptyStream$ = dart.generic(T => { __proto__: dart.getMethods(_EmptyStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EmptyStream, I[29]); + dart.setLibraryUri(_EmptyStream, I[31]); return _EmptyStream; }); async._EmptyStream = async._EmptyStream$(); @@ -33168,7 +35788,7 @@ dart.addTypeTests(async._EmptyStream, _is__EmptyStream_default); var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); const _is__MultiStream_default = Symbol('_is__MultiStream_default'); async._MultiStream$ = dart.generic(T => { - var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + var __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); class _MultiStream extends async.Stream$(T) { get isBroadcast() { return this[isBroadcast$]; @@ -33176,23 +35796,28 @@ async._MultiStream$ = dart.generic(T => { set isBroadcast(value) { super.isBroadcast = value; } + static ['_#new#tearOff'](T, _onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); + return new (async._MultiStream$(T)).new(_onListen, isBroadcast); + } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let controller = new (_MultiStreamControllerOfT()).new(); + let controller = new (__t$_MultiStreamControllerOfT()).new(); controller.onListen = dart.fn(() => { - let t116; - t116 = controller; - this[_onListen$](t116); + let t101; + t101 = controller; + this[_onListen$](t101); }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } } (_MultiStream.new = function(_onListen, isBroadcast) { - if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); - if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + if (_onListen == null) dart.nullFailed(I[68], 1025, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[68], 1025, 37, "isBroadcast"); this[_onListen$] = _onListen; this[isBroadcast$] = isBroadcast; _MultiStream.__proto__.new.call(this); @@ -33205,7 +35830,7 @@ async._MultiStream$ = dart.generic(T => { __proto__: dart.getMethods(_MultiStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_MultiStream, I[29]); + dart.setLibraryUri(_MultiStream, I[31]); dart.setFieldSignature(_MultiStream, () => ({ __proto__: dart.getFields(_MultiStream.__proto__), isBroadcast: dart.finalFieldType(core.bool), @@ -33218,17 +35843,20 @@ dart.addTypeTests(async._MultiStream, _is__MultiStream_default); const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); async._MultiStreamController$ = dart.generic(T => { class _MultiStreamController extends async._AsyncStreamController$(T) { + static ['_#new#tearOff'](T) { + return new (async._MultiStreamController$(T)).new(); + } addSync(data) { T.as(data); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) this[_subscription][_add](data); } addErrorSync(error, stackTrace = null) { - let t116; - if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + let t101; + if (error == null) dart.nullFailed(I[68], 1047, 28, "error"); if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); if (dart.test(this.hasListener)) { - this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + this[_subscription][_addError](error, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); } } closeSync() { @@ -33255,7 +35883,7 @@ async._MultiStreamController$ = dart.generic(T => { addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), closeSync: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_MultiStreamController, I[29]); + dart.setLibraryUri(_MultiStreamController, I[31]); return _MultiStreamController; }); async._MultiStreamController = async._MultiStreamController$(); @@ -33264,38 +35892,38 @@ var _handleError$ = dart.privateName(async, "_handleError"); var _handleDone$ = dart.privateName(async, "_handleDone"); const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); async._ForwardingStream$ = dart.generic((S, T) => { - var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); - var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + var __t$_ForwardingStreamSubscriptionOfS$T = () => (__t$_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var __t$_EventSinkOfT = () => (__t$_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); class _ForwardingStream extends async.Stream$(T) { get isBroadcast() { return this[_source$4].isBroadcast; } listen(onData, opts) { - let t116; + let t101; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + return this[_createSubscription](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); - return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + if (cancelOnError == null) dart.nullFailed(I[73], 85, 47, "cancelOnError"); + return new (__t$_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 94, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + if (error == null) dart.nullFailed(I[73], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 94, 46, "stackTrace"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 94, 72, "sink"); sink[_addError](error, stackTrace); } [_handleDone$](sink) { - _EventSinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + __t$_EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[73], 98, 34, "sink"); sink[_close](); } } (_ForwardingStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + if (_source == null) dart.nullFailed(I[73], 75, 26, "_source"); this[_source$4] = _source; _ForwardingStream.__proto__.new.call(this); ; @@ -33310,7 +35938,7 @@ async._ForwardingStream$ = dart.generic((S, T) => { [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setLibraryUri(_ForwardingStream, I[31]); dart.setFieldSignature(_ForwardingStream, () => ({ __proto__: dart.getFields(_ForwardingStream.__proto__), [_source$4]: dart.finalFieldType(async.Stream$(S)) @@ -33323,26 +35951,31 @@ var _handleData$ = dart.privateName(async, "_handleData"); const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); async._ForwardingStreamSubscription$ = dart.generic((S, T) => { class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + static ['_#new#tearOff'](S, T, _stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); + return new (async._ForwardingStreamSubscription$(S, T)).new(_stream, onData, onError, onDone, cancelOnError); + } [_add](data) { T.as(data); if (dart.test(this[_isClosed])) return; super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[70], 126, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 126, 43, "stackTrace"); if (dart.test(this[_isClosed])) return; super[_addError](error, stackTrace); } [_onPause]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.pause(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.pause(); } [_onResume]() { - let t116; - t116 = this[_subscription]; - t116 == null ? null : t116.resume(); + let t101; + t101 = this[_subscription]; + t101 == null ? null : t101.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -33357,7 +35990,7 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { this[_stream$][_handleData$](data, this); } [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); } [_handleDone$]() { @@ -33365,8 +35998,8 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { } } (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { - if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + if (_stream == null) dart.nullFailed(I[73], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 111, 47, "cancelOnError"); this[_subscription] = null; this[_stream$] = _stream; _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); @@ -33381,7 +36014,7 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_handleDone$]: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), @@ -33391,16 +36024,21 @@ async._ForwardingStreamSubscription$ = dart.generic((S, T) => { }); async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); -var _test = dart.privateName(async, "_test"); +var _test$ = dart.privateName(async, "_test"); const _is__WhereStream_default = Symbol('_is__WhereStream_default'); async._WhereStream$ = dart.generic(T => { class _WhereStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + return new (async._WhereStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t116; - if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let t101; + if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); let satisfies = null; try { - satisfies = (t116 = inputEvent, this[_test](t116)); + satisfies = (t101 = inputEvent, this[_test$](t101)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33416,9 +36054,9 @@ async._WhereStream$ = dart.generic(T => { } } (_WhereStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 182, 26, "source"); - if (test == null) dart.nullFailed(I[70], 182, 39, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 182, 26, "source"); + if (test == null) dart.nullFailed(I[73], 182, 39, "test"); + this[_test$] = test; _WhereStream.__proto__.new.call(this, source); ; }).prototype = _WhereStream.prototype; @@ -33429,10 +36067,10 @@ async._WhereStream$ = dart.generic(T => { __proto__: dart.getMethods(_WhereStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_WhereStream, I[29]); + dart.setLibraryUri(_WhereStream, I[31]); dart.setFieldSignature(_WhereStream, () => ({ __proto__: dart.getFields(_WhereStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _WhereStream; }); @@ -33442,12 +36080,17 @@ var _transform = dart.privateName(async, "_transform"); const _is__MapStream_default = Symbol('_is__MapStream_default'); async._MapStream$ = dart.generic((S, T) => { class _MapStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, transform) { + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); + return new (async._MapStream$(S, T)).new(source, transform); + } [_handleData$](inputEvent, sink) { - let t117; - if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let t102; + if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); let outputEvent = null; try { - outputEvent = (t117 = inputEvent, this[_transform](t117)); + outputEvent = (t102 = inputEvent, this[_transform](t102)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33461,8 +36104,8 @@ async._MapStream$ = dart.generic((S, T) => { } } (_MapStream.new = function(source, transform) { - if (source == null) dart.nullFailed(I[70], 206, 24, "source"); - if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + if (source == null) dart.nullFailed(I[73], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[73], 206, 34, "transform"); this[_transform] = transform; _MapStream.__proto__.new.call(this, source); ; @@ -33474,7 +36117,7 @@ async._MapStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_MapStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_MapStream, I[29]); + dart.setLibraryUri(_MapStream, I[31]); dart.setFieldSignature(_MapStream, () => ({ __proto__: dart.getFields(_MapStream.__proto__), [_transform]: dart.finalFieldType(dart.fnType(T, [S])) @@ -33487,11 +36130,16 @@ var _expand = dart.privateName(async, "_expand"); const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); async._ExpandStream$ = dart.generic((S, T) => { class _ExpandStream extends async._ForwardingStream$(S, T) { + static ['_#new#tearOff'](S, T, source, expand) { + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); + return new (async._ExpandStream$(S, T)).new(source, expand); + } [_handleData$](inputEvent, sink) { - let t118; - if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + let t103; + if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); try { - for (let value of (t118 = inputEvent, this[_expand](t118))) { + for (let value of (t103 = inputEvent, this[_expand](t103))) { sink[_add](value); } } catch (e$) { @@ -33505,8 +36153,8 @@ async._ExpandStream$ = dart.generic((S, T) => { } } (_ExpandStream.new = function(source, expand) { - if (source == null) dart.nullFailed(I[70], 226, 27, "source"); - if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + if (source == null) dart.nullFailed(I[73], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[73], 226, 47, "expand"); this[_expand] = expand; _ExpandStream.__proto__.new.call(this, source); ; @@ -33518,7 +36166,7 @@ async._ExpandStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_ExpandStream.__proto__), [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) })); - dart.setLibraryUri(_ExpandStream, I[29]); + dart.setLibraryUri(_ExpandStream, I[31]); dart.setFieldSignature(_ExpandStream, () => ({ __proto__: dart.getFields(_ExpandStream.__proto__), [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) @@ -33530,16 +36178,22 @@ dart.addTypeTests(async._ExpandStream, _is__ExpandStream_default); const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); async._HandleErrorStream$ = dart.generic(T => { class _HandleErrorStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + return new (async._HandleErrorStream$(T)).new(source, _onError, _test); + } [_handleData$](data, sink) { - if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + if (sink == null) dart.nullFailed(I[73], 252, 42, "sink"); sink[_add](data); } [_handleError$](error, stackTrace, sink) { - if (error == null) dart.nullFailed(I[70], 259, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); - if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let t106, t105; + if (error == null) dart.nullFailed(I[73], 256, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 256, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 256, 72, "sink"); let matches = true; - let test = this[_test]; + let test = this[_test$]; if (test != null) { try { matches = test(error); @@ -33555,7 +36209,9 @@ async._HandleErrorStream$ = dart.generic(T => { } if (dart.test(matches)) { try { - async._invokeErrorHandler(this[_transform], error, stackTrace); + t105 = error; + t106 = stackTrace; + this[_onError$](t105, t106); } catch (e$0) { let e = dart.getThrown(e$0); let s = dart.stackTrace(e$0); @@ -33574,11 +36230,11 @@ async._HandleErrorStream$ = dart.generic(T => { } } } - (_HandleErrorStream.new = function(source, onError, test) { - if (source == null) dart.nullFailed(I[70], 250, 17, "source"); - if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); - this[_transform] = onError; - this[_test] = test; + (_HandleErrorStream.new = function(source, _onError, _test) { + if (source == null) dart.nullFailed(I[73], 249, 32, "source"); + if (_onError == null) dart.nullFailed(I[73], 249, 45, "_onError"); + this[_onError$] = _onError; + this[_test$] = _test; _HandleErrorStream.__proto__.new.call(this, source); ; }).prototype = _HandleErrorStream.prototype; @@ -33590,11 +36246,11 @@ async._HandleErrorStream$ = dart.generic(T => { [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) })); - dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setLibraryUri(_HandleErrorStream, I[31]); dart.setFieldSignature(_HandleErrorStream, () => ({ __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_transform]: dart.finalFieldType(core.Function), - [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), + [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) })); return _HandleErrorStream; }); @@ -33604,20 +36260,25 @@ var _count = dart.privateName(async, "_count"); var _subState = dart.privateName(async, "_subState"); const _is__TakeStream_default = Symbol('_is__TakeStream_default'); async._TakeStream$ = dart.generic(T => { - var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_DoneStreamSubscriptionOfT = () => (__t$_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _TakeStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); + return new (async._TakeStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (cancelOnError == null) dart.nullFailed(I[73], 292, 47, "cancelOnError"); if (this[_count] === 0) { this[_source$4].listen(null).cancel(); - return new (_DoneStreamSubscriptionOfT()).new(onDone); + return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); } - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 301, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { sink[_add](inputEvent); @@ -33630,8 +36291,8 @@ async._TakeStream$ = dart.generic(T => { } } (_TakeStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 290, 25, "source"); - if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + if (source == null) dart.nullFailed(I[73], 287, 25, "source"); + if (count == null) dart.nullFailed(I[73], 287, 37, "count"); this[_count] = count; _TakeStream.__proto__.new.call(this, source); ; @@ -33643,7 +36304,7 @@ async._TakeStream$ = dart.generic(T => { __proto__: dart.getMethods(_TakeStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeStream, I[29]); + dart.setLibraryUri(_TakeStream, I[31]); dart.setFieldSignature(_TakeStream, () => ({ __proto__: dart.getFields(_TakeStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33662,10 +36323,15 @@ async._StateStreamSubscription$ = dart.generic((S, T) => { set [_subState](value) { this[_subState$] = S.as(value); } + static ['_#new#tearOff'](S, T, stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); + return new (async._StateStreamSubscription$(S, T)).new(stream, onData, onError, onDone, cancelOnError, _subState); + } } (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { - if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); - if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + if (stream == null) dart.nullFailed(I[73], 324, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[73], 325, 47, "cancelOnError"); this[_subState$] = _subState; _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); ; @@ -33673,7 +36339,7 @@ async._StateStreamSubscription$ = dart.generic((S, T) => { dart.addTypeTests(_StateStreamSubscription); _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setLibraryUri(_StateStreamSubscription, I[31]); dart.setFieldSignature(_StateStreamSubscription, () => ({ __proto__: dart.getFields(_StateStreamSubscription.__proto__), [_subState]: dart.fieldType(S) @@ -33685,12 +36351,17 @@ dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_d const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); async._TakeWhileStream$ = dart.generic(T => { class _TakeWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + return new (async._TakeWhileStream$(T)).new(source, test); + } [_handleData$](inputEvent, sink) { - let t121; - if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let t106; + if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); let satisfies = null; try { - satisfies = (t121 = inputEvent, this[_test](t121)); + satisfies = (t106 = inputEvent, this[_test$](t106)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33709,9 +36380,9 @@ async._TakeWhileStream$ = dart.generic(T => { } } (_TakeWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 335, 30, "source"); - if (test == null) dart.nullFailed(I[70], 335, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 332, 30, "source"); + if (test == null) dart.nullFailed(I[73], 332, 43, "test"); + this[_test$] = test; _TakeWhileStream.__proto__.new.call(this, source); ; }).prototype = _TakeWhileStream.prototype; @@ -33722,10 +36393,10 @@ async._TakeWhileStream$ = dart.generic(T => { __proto__: dart.getMethods(_TakeWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setLibraryUri(_TakeWhileStream, I[31]); dart.setFieldSignature(_TakeWhileStream, () => ({ __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _TakeWhileStream; }); @@ -33733,15 +36404,20 @@ async._TakeWhileStream = async._TakeWhileStream$(); dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); const _is__SkipStream_default = Symbol('_is__SkipStream_default'); async._SkipStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + var __t$_StateStreamSubscriptionOfint$T = () => (__t$_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); class _SkipStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, count) { + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); + return new (async._SkipStream$(T)).new(source, count); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + if (cancelOnError == null) dart.nullFailed(I[73], 366, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); - let subscription = _StateStreamSubscriptionOfint$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 371, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfint$T().as(sink); let count = subscription[_subState]; if (dart.notNull(count) > 0) { subscription[_subState] = dart.notNull(count) - 1; @@ -33751,8 +36427,8 @@ async._SkipStream$ = dart.generic(T => { } } (_SkipStream.new = function(source, count) { - if (source == null) dart.nullFailed(I[70], 360, 25, "source"); - if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + if (source == null) dart.nullFailed(I[73], 357, 25, "source"); + if (count == null) dart.nullFailed(I[73], 357, 37, "count"); this[_count] = count; _SkipStream.__proto__.new.call(this, source); core.RangeError.checkNotNegative(count, "count"); @@ -33764,7 +36440,7 @@ async._SkipStream$ = dart.generic(T => { __proto__: dart.getMethods(_SkipStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipStream, I[29]); + dart.setLibraryUri(_SkipStream, I[31]); dart.setFieldSignature(_SkipStream, () => ({ __proto__: dart.getFields(_SkipStream.__proto__), [_count]: dart.finalFieldType(core.int) @@ -33775,16 +36451,21 @@ async._SkipStream = async._SkipStream$(); dart.addTypeTests(async._SkipStream, _is__SkipStream_default); const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); async._SkipWhileStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + var __t$_StateStreamSubscriptionOfbool$T = () => (__t$_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); class _SkipWhileStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, test) { + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + return new (async._SkipWhileStream$(T)).new(source, test); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + if (cancelOnError == null) dart.nullFailed(I[73], 390, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); } [_handleData$](inputEvent, sink) { - let t122; - if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); - let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let t107; + if (sink == null) dart.nullFailed(I[73], 395, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfbool$T().as(sink); let hasFailed = subscription[_subState]; if (dart.test(hasFailed)) { sink[_add](inputEvent); @@ -33792,7 +36473,7 @@ async._SkipWhileStream$ = dart.generic(T => { } let satisfies = null; try { - satisfies = (t122 = inputEvent, this[_test](t122)); + satisfies = (t107 = inputEvent, this[_test$](t107)); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); @@ -33810,9 +36491,9 @@ async._SkipWhileStream$ = dart.generic(T => { } } (_SkipWhileStream.new = function(source, test) { - if (source == null) dart.nullFailed(I[70], 388, 30, "source"); - if (test == null) dart.nullFailed(I[70], 388, 43, "test"); - this[_test] = test; + if (source == null) dart.nullFailed(I[73], 385, 30, "source"); + if (test == null) dart.nullFailed(I[73], 385, 43, "test"); + this[_test$] = test; _SkipWhileStream.__proto__.new.call(this, source); ; }).prototype = _SkipWhileStream.prototype; @@ -33823,10 +36504,10 @@ async._SkipWhileStream$ = dart.generic(T => { __proto__: dart.getMethods(_SkipWhileStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setLibraryUri(_SkipWhileStream, I[31]); dart.setFieldSignature(_SkipWhileStream, () => ({ __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) })); return _SkipWhileStream; }); @@ -33835,15 +36516,19 @@ dart.addTypeTests(async._SkipWhileStream, _is__SkipWhileStream_default); var _equals = dart.privateName(async, "_equals"); const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); async._DistinctStream$ = dart.generic(T => { - var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + var __t$_StateStreamSubscriptionOfObjectN$T = () => (__t$_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); class _DistinctStream extends async._ForwardingStream$(T, T) { + static ['_#new#tearOff'](T, source, equals) { + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); + return new (async._DistinctStream$(T)).new(source, equals); + } [_createSubscription](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); - return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + if (cancelOnError == null) dart.nullFailed(I[73], 428, 47, "cancelOnError"); + return new (__t$_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); } [_handleData$](inputEvent, sink) { - if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); - let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + if (sink == null) dart.nullFailed(I[73], 433, 48, "sink"); + let subscription = __t$_StateStreamSubscriptionOfObjectN$T().as(sink); let previous = subscription[_subState]; if (core.identical(previous, async._DistinctStream._SENTINEL)) { subscription[_subState] = inputEvent; @@ -33875,7 +36560,7 @@ async._DistinctStream$ = dart.generic(T => { } } (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + if (source == null) dart.nullFailed(I[73], 423, 29, "source"); this[_equals] = equals; _DistinctStream.__proto__.new.call(this, source); ; @@ -33887,11 +36572,12 @@ async._DistinctStream$ = dart.generic(T => { __proto__: dart.getMethods(_DistinctStream.__proto__), [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) })); - dart.setLibraryUri(_DistinctStream, I[29]); + dart.setLibraryUri(_DistinctStream, I[31]); dart.setFieldSignature(_DistinctStream, () => ({ __proto__: dart.getFields(_DistinctStream.__proto__), [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) })); + dart.setStaticFieldSignature(_DistinctStream, () => ['_SENTINEL']); return _DistinctStream; }); async._DistinctStream = async._DistinctStream$(); @@ -33904,21 +36590,25 @@ dart.addTypeTests(async._DistinctStream, _is__DistinctStream_default); const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); async._EventSinkWrapper$ = dart.generic(T => { class _EventSinkWrapper extends core.Object { + static ['_#new#tearOff'](T, _sink) { + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); + return new (async._EventSinkWrapper$(T)).new(_sink); + } add(data) { T.as(data); this[_sink$][_add](data); } addError(error, stackTrace = null) { - let t124; - if (error == null) dart.nullFailed(I[71], 16, 24, "error"); - this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + let t109; + if (error == null) dart.nullFailed(I[74], 16, 24, "error"); + this[_sink$][_addError](error, (t109 = stackTrace, t109 == null ? async.AsyncError.defaultStackTrace(error) : t109)); } close() { this[_sink$][_close](); } } (_EventSinkWrapper.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 10, 26, "_sink"); this[_sink$] = _sink; ; }).prototype = _EventSinkWrapper.prototype; @@ -33932,7 +36622,7 @@ async._EventSinkWrapper$ = dart.generic(T => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setLibraryUri(_EventSinkWrapper, I[31]); dart.setFieldSignature(_EventSinkWrapper, () => ({ __proto__: dart.getFields(_EventSinkWrapper.__proto__), [_sink$]: dart.fieldType(async._EventSink$(T)) @@ -33946,16 +36636,22 @@ var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateNa var _transformerSink = dart.privateName(async, "_transformerSink"); const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { get [_transformerSink]() { - let t124; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + let t109; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); } - set [_transformerSink](t124) { - if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + set [_transformerSink](_transformerSink$35param) { + if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - this[___SinkTransformerStreamSubscription__transformerSink] = t124; + this[___SinkTransformerStreamSubscription__transformerSink] = _transformerSink$35param; + } + static ['_#new#tearOff'](S, T, source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); + return new (async._SinkTransformerStreamSubscription$(S, T)).new(source, mapper, onData, onError, onDone, cancelOnError); } [_add](data) { if (dart.test(this[_isClosed])) { @@ -33964,8 +36660,8 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { super[_add](data); } [_addError](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 71, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 71, 43, "stackTrace"); if (dart.test(this[_isClosed])) { dart.throw(new core.StateError.new("Stream is already closed")); } @@ -33978,14 +36674,14 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { super[_close](); } [_onPause]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.pause(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.pause(); } [_onResume]() { - let t125; - t125 = this[_subscription]; - t125 == null ? null : t125.resume(); + let t109; + t109 = this[_subscription]; + t109 == null ? null : t109.resume(); } [_onCancel]() { let subscription = this[_subscription]; @@ -34009,8 +36705,8 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { } } [_handleError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[71], 117, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + if (error == null) dart.nullFailed(I[74], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[74], 117, 46, "stackTrace"); try { this[_transformerSink].addError(error, stackTrace); } catch (e$) { @@ -34041,14 +36737,14 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { } } (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { - if (source == null) dart.nullFailed(I[71], 39, 17, "source"); - if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); - if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + if (source == null) dart.nullFailed(I[74], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[74], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[74], 44, 12, "cancelOnError"); this[___SinkTransformerStreamSubscription__transformerSink] = null; this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; this[_subscription] = null; _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_transformerSink] = mapper(new (__t$_EventSinkWrapperOfT()).new(this)); this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); }).prototype = _SinkTransformerStreamSubscription.prototype; dart.addTypeTests(_SinkTransformerStreamSubscription); @@ -34069,7 +36765,7 @@ async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), [_transformerSink]: async.EventSink$(S) })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), @@ -34084,8 +36780,8 @@ var _sinkMapper$ = dart.privateName(async, "_StreamSinkTransformer._sinkMapper") var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); async._StreamSinkTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSinkStreamOfS$T = () => (__t$_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { get [_sinkMapper$0]() { return this[_sinkMapper$]; @@ -34093,14 +36789,18 @@ async._StreamSinkTransformer$ = dart.generic((S, T) => { set [_sinkMapper$0](value) { super[_sinkMapper$0] = value; } + static ['_#new#tearOff'](S, T, _sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); + return new (async._StreamSinkTransformer$(S, T)).new(_sinkMapper); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); - return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 151, 28, "stream"); + return new (__t$_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); } } (_StreamSinkTransformer.new = function(_sinkMapper) { - if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + if (_sinkMapper == null) dart.nullFailed(I[74], 149, 37, "_sinkMapper"); this[_sinkMapper$] = _sinkMapper; _StreamSinkTransformer.__proto__.new.call(this); ; @@ -34112,7 +36812,7 @@ async._StreamSinkTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setLibraryUri(_StreamSinkTransformer, I[31]); dart.setFieldSignature(_StreamSinkTransformer, () => ({ __proto__: dart.getFields(_StreamSinkTransformer.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) @@ -34123,23 +36823,28 @@ async._StreamSinkTransformer = async._StreamSinkTransformer$(); dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); async._BoundSinkStream$ = dart.generic((S, T) => { - var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + var __t$_SinkTransformerStreamSubscriptionOfS$T = () => (__t$_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); class _BoundSinkStream extends async.Stream$(T) { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); + return new (async._BoundSinkStream$(S, T)).new(_stream, _sinkMapper); + } listen(onData, opts) { - let t128; + let t112; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + let subscription = new (__t$_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t112 = cancelOnError, t112 == null ? false : t112)); return subscription; } } (_BoundSinkStream.new = function(_stream, _sinkMapper) { - if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); - if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + if (_stream == null) dart.nullFailed(I[74], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[74], 166, 39, "_sinkMapper"); this[_stream$] = _stream; this[_sinkMapper$0] = _sinkMapper; _BoundSinkStream.__proto__.new.call(this); @@ -34152,7 +36857,7 @@ async._BoundSinkStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_BoundSinkStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setLibraryUri(_BoundSinkStream, I[31]); dart.setFieldSignature(_BoundSinkStream, () => ({ __proto__: dart.getFields(_BoundSinkStream.__proto__), [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), @@ -34165,6 +36870,10 @@ dart.addTypeTests(async._BoundSinkStream, _is__BoundSinkStream_default); const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); async._HandlerEventSink$ = dart.generic((S, T) => { class _HandlerEventSink extends core.Object { + static ['_#new#tearOff'](S, T, _handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); + return new (async._HandlerEventSink$(S, T)).new(_handleData, _handleError, _handleDone, _sink); + } add(data) { S.as(data); let sink = this[_sink$]; @@ -34179,7 +36888,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { } } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + if (error == null) dart.nullFailed(I[74], 215, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); let sink = this[_sink$]; if (sink == null) { @@ -34206,7 +36915,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { } } (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); this[_handleData$] = _handleData; this[_handleError$] = _handleError; this[_handleDone$] = _handleDone; @@ -34223,7 +36932,7 @@ async._HandlerEventSink$ = dart.generic((S, T) => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setLibraryUri(_HandlerEventSink, I[31]); dart.setFieldSignature(_HandlerEventSink, () => ({ __proto__: dart.getFields(_HandlerEventSink.__proto__), [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), @@ -34237,14 +36946,20 @@ async._HandlerEventSink = async._HandlerEventSink$(); dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); async._StreamHandlerTransformer$ = dart.generic((S, T) => { - var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); - var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var __t$_HandlerEventSinkOfS$T = () => (__t$_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var __t$EventSinkOfTTo_HandlerEventSinkOfS$T = () => (__t$EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(__t$_HandlerEventSinkOfS$T(), [__t$EventSinkOfT()])))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$EventSinkOfT = () => (__t$EventSinkOfT = dart.constFn(async.EventSink$(T)))(); class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + static ['_#new#tearOff'](S, T, opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + return new (async._StreamHandlerTransformer$(S, T)).new({handleData: handleData, handleError: handleError, handleDone: handleDone}); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); return super.bind(stream); } } @@ -34253,15 +36968,15 @@ async._StreamHandlerTransformer$ = dart.generic((S, T) => { let handleError = opts && 'handleError' in opts ? opts.handleError : null; let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); - return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); - }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + if (outputSink == null) dart.nullFailed(I[74], 251, 29, "outputSink"); + return new (__t$_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, __t$EventSinkOfTTo_HandlerEventSinkOfS$T())); ; }).prototype = _StreamHandlerTransformer.prototype; dart.addTypeTests(_StreamHandlerTransformer); _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; dart.addTypeCaches(_StreamHandlerTransformer); - dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + dart.setLibraryUri(_StreamHandlerTransformer, I[31]); return _StreamHandlerTransformer; }); async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); @@ -34269,18 +36984,22 @@ dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer var _bind$ = dart.privateName(async, "_bind"); const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); async._StreamBindTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + static ['_#new#tearOff'](S, T, _bind) { + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); + return new (async._StreamBindTransformer$(S, T)).new(_bind); + } bind(stream) { - let t128; - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); - t128 = stream; - return this[_bind$](t128); + let t112; + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 266, 28, "stream"); + t112 = stream; + return this[_bind$](t112); } } (_StreamBindTransformer.new = function(_bind) { - if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + if (_bind == null) dart.nullFailed(I[74], 264, 31, "_bind"); this[_bind$] = _bind; _StreamBindTransformer.__proto__.new.call(this); ; @@ -34292,7 +37011,7 @@ async._StreamBindTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamBindTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setLibraryUri(_StreamBindTransformer, I[31]); dart.setFieldSignature(_StreamBindTransformer, () => ({ __proto__: dart.getFields(_StreamBindTransformer.__proto__), [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) @@ -34304,8 +37023,8 @@ dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_defau var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { - var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); - var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + var __t$StreamOfS = () => (__t$StreamOfS = dart.constFn(async.Stream$(S)))(); + var __t$_BoundSubscriptionStreamOfS$T = () => (__t$_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { get [_onListen$]() { return this[_onListen$0]; @@ -34313,14 +37032,18 @@ async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { set [_onListen$](value) { super[_onListen$] = value; } + static ['_#new#tearOff'](S, T, _onListen) { + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); + return new (async._StreamSubscriptionTransformer$(S, T)).new(_onListen); + } bind(stream) { - StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); - return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + __t$StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[74], 288, 28, "stream"); + return new (__t$_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); } } (_StreamSubscriptionTransformer.new = function(_onListen) { - if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + if (_onListen == null) dart.nullFailed(I[74], 286, 45, "_onListen"); this[_onListen$0] = _onListen; _StreamSubscriptionTransformer.__proto__.new.call(this); ; @@ -34332,7 +37055,7 @@ async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[31]); dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) @@ -34347,12 +37070,17 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { get isBroadcast() { return this[_stream$].isBroadcast; } + static ['_#new#tearOff'](S, T, _stream, _onListen) { + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); + return new (async._BoundSubscriptionStream$(S, T)).new(_stream, _onListen); + } listen(onData, opts) { - let t128, t129, t128$; + let t112, t113, t112$; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + let result = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); result.onData(onData); result.onError(onError); result.onDone(onDone); @@ -34360,8 +37088,8 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { } } (_BoundSubscriptionStream.new = function(_stream, _onListen) { - if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); - if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + if (_stream == null) dart.nullFailed(I[74], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[74], 303, 47, "_onListen"); this[_stream$] = _stream; this[_onListen$] = _onListen; _BoundSubscriptionStream.__proto__.new.call(this); @@ -34374,7 +37102,7 @@ async._BoundSubscriptionStream$ = dart.generic((S, T) => { __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setLibraryUri(_BoundSubscriptionStream, I[31]); dart.setFieldSignature(_BoundSubscriptionStream, () => ({ __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), @@ -34386,36 +37114,46 @@ async._BoundSubscriptionStream = async._BoundSubscriptionStream$(); dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); async.Timer = class Timer extends core.Object { static new(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); - if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createTimer(duration, callback); } return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); } + static ['_#new#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 47, 26, "duration"); + if (callback == null) dart.nullFailed(I[75], 47, 52, "callback"); + return async.Timer.new(duration, callback); + } static periodic(duration, callback) { - if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); - if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); if (dart.equals(async.Zone.current, async.Zone.root)) { return async.Zone.current.createPeriodicTimer(duration, callback); } let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); return async.Zone.current.createPeriodicTimer(duration, boundCallback); } + static ['_#periodic#tearOff'](duration, callback) { + if (duration == null) dart.nullFailed(I[75], 91, 35, "duration"); + if (callback == null) dart.nullFailed(I[75], 91, 50, "callback"); + return async.Timer.periodic(duration, callback); + } static run(callback) { - if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + if (callback == null) dart.nullFailed(I[75], 109, 35, "callback"); async.Timer.new(core.Duration.zero, callback); } static _createTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); - if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + if (duration == null) dart.nullFailed(I[64], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[64], 183, 64, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.new(milliseconds, callback); } static _createPeriodicTimer(duration, callback) { - if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); - if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + if (duration == null) dart.nullFailed(I[64], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[64], 191, 31, "callback"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) milliseconds = 0; return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); @@ -34425,7 +37163,8 @@ async.Timer = class Timer extends core.Object { }).prototype = async.Timer.prototype; dart.addTypeTests(async.Timer); dart.addTypeCaches(async.Timer); -dart.setLibraryUri(async.Timer, I[29]); +dart.setStaticMethodSignature(async.Timer, () => ['new', 'periodic', 'run', '_createTimer', '_createPeriodicTimer']); +dart.setLibraryUri(async.Timer, I[31]); var zone$ = dart.privateName(async, "_ZoneFunction.zone"); var $function$0 = dart.privateName(async, "_ZoneFunction.function"); const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); @@ -34443,10 +37182,15 @@ async._ZoneFunction$ = dart.generic(T => { set function(value) { super.function = value; } + static ['_#new#tearOff'](T, zone, $function) { + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); + return new (async._ZoneFunction$(T)).new(zone, $function); + } } (_ZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); - if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + if (zone == null) dart.nullFailed(I[76], 303, 28, "zone"); + if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); this[zone$] = zone; this[$function$0] = $function; ; @@ -34454,7 +37198,7 @@ async._ZoneFunction$ = dart.generic(T => { dart.addTypeTests(_ZoneFunction); _ZoneFunction.prototype[_is__ZoneFunction_default] = true; dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setLibraryUri(_ZoneFunction, I[31]); dart.setFieldSignature(_ZoneFunction, () => ({ __proto__: dart.getFields(_ZoneFunction.__proto__), zone: dart.finalFieldType(async._Zone), @@ -34464,196 +37208,26 @@ async._ZoneFunction$ = dart.generic(T => { }); async._ZoneFunction = async._ZoneFunction$(); dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); -var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); -var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); -async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$0]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$1]; - } - set function(value) { - super.function = value; - } -}; -(async._RunNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); - if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); - this[zone$0] = zone; - this[$function$1] = $function; - ; -}).prototype = async._RunNullaryZoneFunction.prototype; -dart.addTypeTests(async._RunNullaryZoneFunction); -dart.addTypeCaches(async._RunNullaryZoneFunction); -dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) -})); -var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); -var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); -async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$1]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$2]; - } - set function(value) { - super.function = value; - } -}; -(async._RunUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); - if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); - this[zone$1] = zone; - this[$function$2] = $function; - ; -}).prototype = async._RunUnaryZoneFunction.prototype; -dart.addTypeTests(async._RunUnaryZoneFunction); -dart.addTypeCaches(async._RunUnaryZoneFunction); -dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); -var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); -async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$2]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$3]; - } - set function(value) { - super.function = value; - } -}; -(async._RunBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); - if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); - this[zone$2] = zone; - this[$function$3] = $function; - ; -}).prototype = async._RunBinaryZoneFunction.prototype; -dart.addTypeTests(async._RunBinaryZoneFunction); -dart.addTypeCaches(async._RunBinaryZoneFunction); -dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); -dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); -var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); -async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { - get zone() { - return this[zone$3]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$4]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterNullaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); - if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); - this[zone$3] = zone; - this[$function$4] = $function; - ; -}).prototype = async._RegisterNullaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterNullaryZoneFunction); -dart.addTypeCaches(async._RegisterNullaryZoneFunction); -dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) -})); -var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); -var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); -async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { - get zone() { - return this[zone$4]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$5]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterUnaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); - if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); - this[zone$4] = zone; - this[$function$5] = $function; - ; -}).prototype = async._RegisterUnaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterUnaryZoneFunction); -dart.addTypeCaches(async._RegisterUnaryZoneFunction); -dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) -})); -var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); -var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); -async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { - get zone() { - return this[zone$5]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$6]; - } - set function(value) { - super.function = value; - } -}; -(async._RegisterBinaryZoneFunction.new = function(zone, $function) { - if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); - if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); - this[zone$5] = zone; - this[$function$6] = $function; - ; -}).prototype = async._RegisterBinaryZoneFunction.prototype; -dart.addTypeTests(async._RegisterBinaryZoneFunction); -dart.addTypeCaches(async._RegisterBinaryZoneFunction); -dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); -dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ - __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) -})); async.ZoneSpecification = class ZoneSpecification extends core.Object { + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } static from(other, opts) { - let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; - if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let t112, t112$, t112$0, t112$1, t112$2, t112$3, t112$4, t112$5, t112$6, t112$7, t112$8, t112$9, t112$10; + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; let run = opts && 'run' in opts ? opts.run : null; let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; @@ -34667,14 +37241,33 @@ async.ZoneSpecification = class ZoneSpecification extends core.Object { let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; let print = opts && 'print' in opts ? opts.print : null; let fork = opts && 'fork' in opts ? opts.fork : null; - return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + return new async._ZoneSpecification.new({handleUncaughtError: (t112 = handleUncaughtError, t112 == null ? other.handleUncaughtError : t112), run: (t112$ = run, t112$ == null ? other.run : t112$), runUnary: (t112$0 = runUnary, t112$0 == null ? other.runUnary : t112$0), runBinary: (t112$1 = runBinary, t112$1 == null ? other.runBinary : t112$1), registerCallback: (t112$2 = registerCallback, t112$2 == null ? other.registerCallback : t112$2), registerUnaryCallback: (t112$3 = registerUnaryCallback, t112$3 == null ? other.registerUnaryCallback : t112$3), registerBinaryCallback: (t112$4 = registerBinaryCallback, t112$4 == null ? other.registerBinaryCallback : t112$4), errorCallback: (t112$5 = errorCallback, t112$5 == null ? other.errorCallback : t112$5), scheduleMicrotask: (t112$6 = scheduleMicrotask, t112$6 == null ? other.scheduleMicrotask : t112$6), createTimer: (t112$7 = createTimer, t112$7 == null ? other.createTimer : t112$7), createPeriodicTimer: (t112$8 = createPeriodicTimer, t112$8 == null ? other.createPeriodicTimer : t112$8), print: (t112$9 = print, t112$9 == null ? other.print : t112$9), fork: (t112$10 = fork, t112$10 == null ? other.fork : t112$10)}); + } + static ['_#from#tearOff'](other, opts) { + if (other == null) dart.nullFailed(I[76], 354, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return async.ZoneSpecification.from(other, {handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); } }; (async.ZoneSpecification[dart.mixinNew] = function() { }).prototype = async.ZoneSpecification.prototype; dart.addTypeTests(async.ZoneSpecification); dart.addTypeCaches(async.ZoneSpecification); -dart.setLibraryUri(async.ZoneSpecification, I[29]); +dart.setStaticMethodSignature(async.ZoneSpecification, () => ['new', 'from']); +dart.setLibraryUri(async.ZoneSpecification, I[31]); +dart.setStaticFieldSignature(async.ZoneSpecification, () => ['_redirecting#']); var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); var run$ = dart.privateName(async, "_ZoneSpecification.run"); var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); @@ -34767,6 +37360,22 @@ async._ZoneSpecification = class _ZoneSpecification extends core.Object { set fork(value) { super.fork = value; } + static ['_#new#tearOff'](opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: handleUncaughtError, run: run, runUnary: runUnary, runBinary: runBinary, registerCallback: registerCallback, registerUnaryCallback: registerUnaryCallback, registerBinaryCallback: registerBinaryCallback, errorCallback: errorCallback, scheduleMicrotask: scheduleMicrotask, createTimer: createTimer, createPeriodicTimer: createPeriodicTimer, print: print, fork: fork}); + } }; (async._ZoneSpecification.new = function(opts) { let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; @@ -34800,7 +37409,7 @@ async._ZoneSpecification = class _ZoneSpecification extends core.Object { dart.addTypeTests(async._ZoneSpecification); dart.addTypeCaches(async._ZoneSpecification); async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; -dart.setLibraryUri(async._ZoneSpecification, I[29]); +dart.setLibraryUri(async._ZoneSpecification, I[31]); dart.setFieldSignature(async._ZoneSpecification, () => ({ __proto__: dart.getFields(async._ZoneSpecification.__proto__), handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), @@ -34823,21 +37432,21 @@ async.ZoneDelegate = class ZoneDelegate extends core.Object {}; }).prototype = async.ZoneDelegate.prototype; dart.addTypeTests(async.ZoneDelegate); dart.addTypeCaches(async.ZoneDelegate); -dart.setLibraryUri(async.ZoneDelegate, I[29]); +dart.setLibraryUri(async.ZoneDelegate, I[31]); async.Zone = class Zone extends core.Object { static get current() { return async.Zone._current; } static _enter(zone) { - if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); - if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + if (zone == null) dart.nullFailed(I[76], 911, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[76], 912, 12, "!identical(zone, _current)"); let previous = async.Zone._current; async.Zone._current = zone; return previous; } static _leave(previous) { - if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + if (previous == null) dart.nullFailed(I[76], 921, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); async.Zone._current = previous; } }; @@ -34846,20 +37455,25 @@ async.Zone = class Zone extends core.Object { }).prototype = async.Zone.prototype; dart.addTypeTests(async.Zone); dart.addTypeCaches(async.Zone); -dart.setLibraryUri(async.Zone, I[29]); +dart.setStaticMethodSignature(async.Zone, () => ['_enter', '_leave']); +dart.setStaticGetterSignature(async.Zone, () => ['current']); +dart.setLibraryUri(async.Zone, I[31]); +dart.setStaticFieldSignature(async.Zone, () => ['root', '_current']); dart.defineLazy(async.Zone, { /*async.Zone.root*/get root() { - return C[44] || CT.C44; + return C[45] || CT.C45; }, /*async.Zone._current*/get _current() { return async._rootZone; }, - set _current(_) {} + set _current(value) { + if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); + } }, false); var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); -var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); -var _parentDelegate = dart.privateName(async, "_parentDelegate"); +var _processUncaughtError = dart.privateName(async, "_processUncaughtError"); var _run = dart.privateName(async, "_run"); +var _parentDelegate = dart.privateName(async, "_parentDelegate"); var _runUnary = dart.privateName(async, "_runUnary"); var _runBinary = dart.privateName(async, "_runBinary"); var _registerCallback = dart.privateName(async, "_registerCallback"); @@ -34872,66 +37486,67 @@ var _createPeriodicTimer = dart.privateName(async, "_createPeriodicTimer"); var _print = dart.privateName(async, "_print"); var _fork = dart.privateName(async, "_fork"); async._ZoneDelegate = class _ZoneDelegate extends core.Object { + static ['_#new#tearOff'](_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); + return new async._ZoneDelegate.new(_delegationTarget); + } handleUncaughtError(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); - if (error == null) dart.nullFailed(I[73], 917, 46, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); - let implementation = this[_delegationTarget$][_handleUncaughtError]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + if (zone == null) dart.nullFailed(I[76], 943, 33, "zone"); + if (error == null) dart.nullFailed(I[76], 943, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 943, 64, "stackTrace"); + this[_delegationTarget$][_processUncaughtError](zone, error, stackTrace); } run(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); - if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + if (zone == null) dart.nullFailed(I[76], 947, 17, "zone"); + if (f == null) dart.nullFailed(I[76], 947, 25, "f"); let implementation = this[_delegationTarget$][_run]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } runUnary(R, T, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); - if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + if (zone == null) dart.nullFailed(I[76], 954, 25, "zone"); + if (f == null) dart.nullFailed(I[76], 954, 33, "f"); let implementation = this[_delegationTarget$][_runUnary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); } runBinary(R, T1, T2, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + if (zone == null) dart.nullFailed(I[76], 961, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 961, 39, "f"); let implementation = this[_delegationTarget$][_runBinary]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); } registerCallback(R, zone, f) { - if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 968, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 968, 52, "f"); let implementation = this[_delegationTarget$][_registerCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, implZone, implZone[_parentDelegate], zone, f); } registerUnaryCallback(R, T, zone, f) { - if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); - if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + if (zone == null) dart.nullFailed(I[76], 975, 60, "zone"); + if (f == null) dart.nullFailed(I[76], 975, 68, "f"); let implementation = this[_delegationTarget$][_registerUnaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T, implZone, implZone[_parentDelegate], zone, f); } registerBinaryCallback(R, T1, T2, zone, f) { - if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); - if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + if (zone == null) dart.nullFailed(I[76], 983, 12, "zone"); + if (f == null) dart.nullFailed(I[76], 983, 20, "f"); let implementation = this[_delegationTarget$][_registerBinaryCallback]; let implZone = implementation.zone; let handler = implementation.function; return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); } errorCallback(zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); - if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + if (zone == null) dart.nullFailed(I[76], 990, 34, "zone"); + if (error == null) dart.nullFailed(I[76], 990, 47, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_delegationTarget$][_errorCallback]; let implZone = implementation.zone; @@ -34940,41 +37555,41 @@ async._ZoneDelegate = class _ZoneDelegate extends core.Object { return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); } scheduleMicrotask(zone, f) { - if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); - if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + if (zone == null) dart.nullFailed(I[76], 999, 31, "zone"); + if (f == null) dart.nullFailed(I[76], 999, 37, "f"); let implementation = this[_delegationTarget$][_scheduleMicrotask]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, f); } createTimer(zone, duration, f) { - if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); - if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); - if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + if (zone == null) dart.nullFailed(I[76], 1006, 26, "zone"); + if (duration == null) dart.nullFailed(I[76], 1006, 41, "duration"); + if (f == null) dart.nullFailed(I[76], 1006, 56, "f"); let implementation = this[_delegationTarget$][_createTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, duration, f); } createPeriodicTimer(zone, period, f) { - if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); - if (period == null) dart.nullFailed(I[73], 990, 49, "period"); - if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1013, 34, "zone"); + if (period == null) dart.nullFailed(I[76], 1013, 49, "period"); + if (f == null) dart.nullFailed(I[76], 1013, 62, "f"); let implementation = this[_delegationTarget$][_createPeriodicTimer]; let implZone = implementation.zone; let handler = implementation.function; return handler(implZone, implZone[_parentDelegate], zone, period, f); } print(zone, line) { - if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); - if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + if (zone == null) dart.nullFailed(I[76], 1020, 19, "zone"); + if (line == null) dart.nullFailed(I[76], 1020, 32, "line"); let implementation = this[_delegationTarget$][_print]; let implZone = implementation.zone; let handler = implementation.function; handler(implZone, implZone[_parentDelegate], zone, line); } fork(zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + if (zone == null) dart.nullFailed(I[76], 1027, 18, "zone"); let implementation = this[_delegationTarget$][_fork]; let implZone = implementation.zone; let handler = implementation.function; @@ -34982,7 +37597,7 @@ async._ZoneDelegate = class _ZoneDelegate extends core.Object { } }; (async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); this[_delegationTarget$] = _delegationTarget; ; }).prototype = async._ZoneDelegate.prototype; @@ -35005,16 +37620,45 @@ dart.setMethodSignature(async._ZoneDelegate, () => ({ print: dart.fnType(dart.void, [async.Zone, core.String]), fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) })); -dart.setLibraryUri(async._ZoneDelegate, I[29]); +dart.setLibraryUri(async._ZoneDelegate, I[31]); dart.setFieldSignature(async._ZoneDelegate, () => ({ __proto__: dart.getFields(async._ZoneDelegate.__proto__), [_delegationTarget$]: dart.finalFieldType(async._Zone) })); +var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); async._Zone = class _Zone extends core.Object { inSameErrorZone(otherZone) { - if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + if (otherZone == null) dart.nullFailed(I[76], 1062, 29, "otherZone"); return this === otherZone || this.errorZone == otherZone.errorZone; } + [_processUncaughtError](zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[76], 1067, 35, "zone"); + if (error == null) dart.nullFailed(I[76], 1067, 48, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1067, 66, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let implZone = implementation.zone; + if (implZone == async._rootZone) { + async._rootHandleError(error, stackTrace); + return; + } + let handler = implementation.function; + let parentDelegate = implZone[_parentDelegate]; + let parentZone = dart.nullCheck(implZone.parent); + let currentZone = async.Zone._current; + try { + async.Zone._current = parentZone; + handler(implZone, parentDelegate, zone, error, stackTrace); + async.Zone._current = currentZone; + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone._current = currentZone; + parentZone[_processUncaughtError](implZone, e, core.identical(error, e) ? stackTrace : s); + } else + throw e$; + } + } }; (async._Zone.new = function() { ; @@ -35024,9 +37668,10 @@ dart.addTypeCaches(async._Zone); async._Zone[dart.implements] = () => [async.Zone]; dart.setMethodSignature(async._Zone, () => ({ __proto__: dart.getMethods(async._Zone.__proto__), - inSameErrorZone: dart.fnType(core.bool, [async.Zone]) + inSameErrorZone: dart.fnType(core.bool, [async.Zone]), + [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) })); -dart.setLibraryUri(async._Zone, I[29]); +dart.setLibraryUri(async._Zone, I[31]); var _run$ = dart.privateName(async, "_CustomZone._run"); var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); @@ -35050,78 +37695,91 @@ async._CustomZone = class _CustomZone extends async._Zone { return this[_run$]; } set [_run](value) { + if (value == null) dart.nullFailed(I[76], 1095, 29, "_run"); this[_run$] = value; } get [_runUnary]() { return this[_runUnary$]; } set [_runUnary](value) { + if (value == null) dart.nullFailed(I[76], 1096, 34, "_runUnary"); this[_runUnary$] = value; } get [_runBinary]() { return this[_runBinary$]; } set [_runBinary](value) { + if (value == null) dart.nullFailed(I[76], 1097, 35, "_runBinary"); this[_runBinary$] = value; } get [_registerCallback]() { return this[_registerCallback$]; } set [_registerCallback](value) { + if (value == null) dart.nullFailed(I[76], 1098, 42, "_registerCallback"); this[_registerCallback$] = value; } get [_registerUnaryCallback]() { return this[_registerUnaryCallback$]; } set [_registerUnaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1099, 47, "_registerUnaryCallback"); this[_registerUnaryCallback$] = value; } get [_registerBinaryCallback]() { return this[_registerBinaryCallback$]; } set [_registerBinaryCallback](value) { + if (value == null) dart.nullFailed(I[76], 1100, 48, "_registerBinaryCallback"); this[_registerBinaryCallback$] = value; } get [_errorCallback]() { return this[_errorCallback$]; } set [_errorCallback](value) { + if (value == null) dart.nullFailed(I[76], 1101, 39, "_errorCallback"); this[_errorCallback$] = value; } get [_scheduleMicrotask]() { return this[_scheduleMicrotask$]; } set [_scheduleMicrotask](value) { + if (value == null) dart.nullFailed(I[76], 1102, 43, "_scheduleMicrotask"); this[_scheduleMicrotask$] = value; } get [_createTimer]() { return this[_createTimer$]; } set [_createTimer](value) { + if (value == null) dart.nullFailed(I[76], 1103, 37, "_createTimer"); this[_createTimer$] = value; } get [_createPeriodicTimer]() { return this[_createPeriodicTimer$]; } set [_createPeriodicTimer](value) { + if (value == null) dart.nullFailed(I[76], 1104, 45, "_createPeriodicTimer"); this[_createPeriodicTimer$] = value; } get [_print]() { return this[_print$]; } set [_print](value) { + if (value == null) dart.nullFailed(I[76], 1105, 31, "_print"); this[_print$] = value; } get [_fork]() { return this[_fork$]; } set [_fork](value) { + if (value == null) dart.nullFailed(I[76], 1106, 30, "_fork"); this[_fork$] = value; } get [_handleUncaughtError]() { return this[_handleUncaughtError$]; } set [_handleUncaughtError](value) { + if (value == null) dart.nullFailed(I[76], 1107, 45, "_handleUncaughtError"); this[_handleUncaughtError$] = value; } get parent() { @@ -35137,18 +37795,24 @@ async._CustomZone = class _CustomZone extends async._Zone { super[_map$3] = value; } get [_delegate]() { - let t128; - t128 = this[_delegateCache]; - return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + let t113; + t113 = this[_delegateCache]; + return t113 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t113; } get [_parentDelegate]() { return this.parent[_delegate]; } + static ['_#new#tearOff'](parent, specification, _map) { + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); + return new async._CustomZone.new(parent, specification, _map); + } get errorZone() { return this[_handleUncaughtError].zone; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1206, 24, "f"); try { this.run(dart.void, f); } catch (e$) { @@ -35161,7 +37825,7 @@ async._CustomZone = class _CustomZone extends async._Zone { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); try { this.runUnary(dart.void, T, f, arg); } catch (e$) { @@ -35174,7 +37838,7 @@ async._CustomZone = class _CustomZone extends async._Zone { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); try { this.runBinary(dart.void, T1, T2, f, arg1, arg2); } catch (e$) { @@ -35187,32 +37851,32 @@ async._CustomZone = class _CustomZone extends async._Zone { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1230, 37, "f"); let registered = this.registerCallback(R, f); return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1235, 53, "f"); let registered = this.registerUnaryCallback(R, T, f); return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1241, 9, "f"); let registered = this.registerBinaryCallback(R, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1246, 44, "f"); let registered = this.registerCallback(dart.void, f); return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1251, 53, "f"); let registered = this.registerUnaryCallback(dart.void, T, f); return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1257, 12, "f"); let registered = this.registerBinaryCallback(dart.void, T1, T2, f); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } @@ -35226,16 +37890,13 @@ async._CustomZone = class _CustomZone extends async._Zone { } return value; } - if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[76], 1277, 12, "this == _rootZone"); return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); - let implementation = this[_handleUncaughtError]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1283, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1283, 53, "stackTrace"); + this[_processUncaughtError](this, error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35246,49 +37907,49 @@ async._CustomZone = class _CustomZone extends async._Zone { return handler(implementation.zone, parentDelegate, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1296, 14, "f"); let implementation = this[_run]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1303, 22, "f"); let implementation = this[_runUnary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1310, 28, "f"); let implementation = this[_runBinary]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); } registerCallback(R, callback) { - if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + if (callback == null) dart.nullFailed(I[76], 1317, 41, "callback"); let implementation = this[_registerCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, implementation.zone, parentDelegate, this, callback); } registerUnaryCallback(R, T, callback) { - if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + if (callback == null) dart.nullFailed(I[76], 1324, 57, "callback"); let implementation = this[_registerUnaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T, implementation.zone, parentDelegate, this, callback); } registerBinaryCallback(R, T1, T2, callback) { - if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + if (callback == null) dart.nullFailed(I[76], 1332, 9, "callback"); let implementation = this[_registerBinaryCallback]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1339, 36, "error"); _internal.checkNotNullable(core.Object, error, "error"); let implementation = this[_errorCallback]; let implementationZone = implementation.zone; @@ -35298,30 +37959,30 @@ async._CustomZone = class _CustomZone extends async._Zone { return handler(implementationZone, parentDelegate, this, error, stackTrace); } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1349, 31, "f"); let implementation = this[_scheduleMicrotask]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1356, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1356, 45, "f"); let implementation = this[_createTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1363, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1363, 53, "f"); let implementation = this[_createPeriodicTimer]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; return handler(implementation.zone, parentDelegate, this, duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1370, 21, "line"); let implementation = this[_print]; let parentDelegate = implementation.zone[_parentDelegate]; let handler = implementation.function; @@ -35329,9 +37990,9 @@ async._CustomZone = class _CustomZone extends async._Zone { } }; (async._CustomZone.new = function(parent, specification, _map) { - if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); - if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); - if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + if (parent == null) dart.nullFailed(I[76], 1123, 20, "parent"); + if (specification == null) dart.nullFailed(I[76], 1123, 46, "specification"); + if (_map == null) dart.nullFailed(I[76], 1123, 66, "_map"); this[_delegateCache] = null; this[parent$] = parent; this[_map$2] = _map; @@ -35351,27 +38012,27 @@ async._CustomZone = class _CustomZone extends async._Zone { async._CustomZone.__proto__.new.call(this); let run = specification.run; if (run != null) { - this[_run] = new async._RunNullaryZoneFunction.new(this, run); + this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); } let runUnary = specification.runUnary; if (runUnary != null) { - this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); } let runBinary = specification.runBinary; if (runBinary != null) { - this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); } let registerCallback = specification.registerCallback; if (registerCallback != null) { - this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); } let registerUnaryCallback = specification.registerUnaryCallback; if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); } let registerBinaryCallback = specification.registerBinaryCallback; if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); } let errorCallback = specification.errorCallback; if (errorCallback != null) { @@ -35436,15 +38097,15 @@ dart.setGetterSignature(async._CustomZone, () => ({ [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); -dart.setLibraryUri(async._CustomZone, I[29]); +dart.setLibraryUri(async._CustomZone, I[31]); dart.setFieldSignature(async._CustomZone, () => ({ __proto__: dart.getFields(async._CustomZone.__proto__), - [_run]: dart.fieldType(async._RunNullaryZoneFunction), - [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), - [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), - [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), - [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), - [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_run]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_runUnary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_runBinary]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + [_registerUnaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_registerBinaryCallback]: dart.fieldType(async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), @@ -35457,44 +38118,47 @@ dart.setFieldSignature(async._CustomZone, () => ({ [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) })); async._RootZone = class _RootZone extends async._Zone { + static ['_#new#tearOff']() { + return new async._RootZone.new(); + } get [_run]() { - return C[45] || CT.C45; + return C[46] || CT.C46; } get [_runUnary]() { - return C[47] || CT.C47; + return C[48] || CT.C48; } get [_runBinary]() { - return C[49] || CT.C49; + return C[50] || CT.C50; } get [_registerCallback]() { - return C[51] || CT.C51; + return C[52] || CT.C52; } get [_registerUnaryCallback]() { - return C[53] || CT.C53; + return C[54] || CT.C54; } get [_registerBinaryCallback]() { - return C[55] || CT.C55; + return C[56] || CT.C56; } get [_errorCallback]() { - return C[57] || CT.C57; + return C[58] || CT.C58; } get [_scheduleMicrotask]() { - return C[59] || CT.C59; + return C[60] || CT.C60; } get [_createTimer]() { - return C[61] || CT.C61; + return C[62] || CT.C62; } get [_createPeriodicTimer]() { - return C[63] || CT.C63; + return C[64] || CT.C64; } get [_print]() { - return C[65] || CT.C65; + return C[66] || CT.C66; } get [_fork]() { - return C[67] || CT.C67; + return C[68] || CT.C68; } get [_handleUncaughtError]() { - return C[69] || CT.C69; + return C[70] || CT.C70; } get parent() { return null; @@ -35503,9 +38167,9 @@ async._RootZone = class _RootZone extends async._Zone { return async._RootZone._rootMap; } get [_delegate]() { - let t131; - t131 = async._RootZone._rootDelegate; - return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + let t116; + t116 = async._RootZone._rootDelegate; + return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; } get [_parentDelegate]() { return this[_delegate]; @@ -35514,7 +38178,7 @@ async._RootZone = class _RootZone extends async._Zone { return this; } runGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); try { if (async._rootZone == async.Zone._current) { f(); @@ -35531,7 +38195,7 @@ async._RootZone = class _RootZone extends async._Zone { } } runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); try { if (async._rootZone == async.Zone._current) { f(arg); @@ -35548,7 +38212,7 @@ async._RootZone = class _RootZone extends async._Zone { } } runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); try { if (async._rootZone == async.Zone._current) { f(arg1, arg2); @@ -35565,36 +38229,36 @@ async._RootZone = class _RootZone extends async._Zone { } } bindCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + if (f == null) dart.nullFailed(I[76], 1614, 37, "f"); return dart.fn(() => this.run(R, f), dart.fnType(R, [])); } bindUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1618, 53, "f"); return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); } bindBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + if (f == null) dart.nullFailed(I[76], 1623, 9, "f"); return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); } bindCallbackGuarded(f) { - if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + if (f == null) dart.nullFailed(I[76], 1627, 44, "f"); return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); } bindUnaryCallbackGuarded(T, f) { - if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + if (f == null) dart.nullFailed(I[76], 1631, 53, "f"); return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); } bindBinaryCallbackGuarded(T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + if (f == null) dart.nullFailed(I[76], 1636, 12, "f"); return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); } _get(key) { return null; } handleUncaughtError(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); - async._rootHandleUncaughtError(null, null, this, error, stackTrace); + if (error == null) dart.nullFailed(I[76], 1644, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1644, 53, "stackTrace"); + async._rootHandleError(error, stackTrace); } fork(opts) { let specification = opts && 'specification' in opts ? opts.specification : null; @@ -35602,52 +38266,52 @@ async._RootZone = class _RootZone extends async._Zone { return async._rootFork(null, null, this, specification, zoneValues); } run(R, f) { - if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (f == null) dart.nullFailed(I[76], 1653, 14, "f"); if (async.Zone._current == async._rootZone) return f(); return async._rootRun(R, null, null, this, f); } runUnary(R, T, f, arg) { - if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (f == null) dart.nullFailed(I[76], 1659, 22, "f"); if (async.Zone._current == async._rootZone) return f(arg); return async._rootRunUnary(R, T, null, null, this, f, arg); } runBinary(R, T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (f == null) dart.nullFailed(I[76], 1664, 28, "f"); if (async.Zone._current == async._rootZone) return f(arg1, arg2); return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); } registerCallback(R, f) { - if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + if (f == null) dart.nullFailed(I[76], 1669, 41, "f"); return f; } registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); return f; } registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); return f; } errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); return null; } scheduleMicrotask(f) { - if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + if (f == null) dart.nullFailed(I[76], 1679, 31, "f"); async._rootScheduleMicrotask(null, null, this, f); } createTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); - if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + if (duration == null) dart.nullFailed(I[76], 1683, 30, "duration"); + if (f == null) dart.nullFailed(I[76], 1683, 45, "f"); return async.Timer._createTimer(duration, f); } createPeriodicTimer(duration, f) { - if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); - if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + if (duration == null) dart.nullFailed(I[76], 1687, 38, "duration"); + if (f == null) dart.nullFailed(I[76], 1687, 53, "f"); return async.Timer._createPeriodicTimer(duration, f); } print(line) { - if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + if (line == null) dart.nullFailed(I[76], 1691, 21, "line"); _internal.printToConsole(line); } }; @@ -35685,12 +38349,12 @@ dart.setMethodSignature(async._RootZone, () => ({ })); dart.setGetterSignature(async._RootZone, () => ({ __proto__: dart.getGetters(async._RootZone.__proto__), - [_run]: async._RunNullaryZoneFunction, - [_runUnary]: async._RunUnaryZoneFunction, - [_runBinary]: async._RunBinaryZoneFunction, - [_registerCallback]: async._RegisterNullaryZoneFunction, - [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, - [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_run]: async._ZoneFunction$(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_runUnary]: async._ZoneFunction$(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_runBinary]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerCallback]: async._ZoneFunction$(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])), + [_registerUnaryCallback]: async._ZoneFunction$(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])), + [_registerBinaryCallback]: async._ZoneFunction$(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])), [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), @@ -35704,7 +38368,8 @@ dart.setGetterSignature(async._RootZone, () => ({ [_parentDelegate]: async.ZoneDelegate, errorZone: async.Zone })); -dart.setLibraryUri(async._RootZone, I[29]); +dart.setLibraryUri(async._RootZone, I[31]); +dart.setStaticFieldSignature(async._RootZone, () => ['_rootMap', '_rootDelegate']); dart.defineLazy(async._RootZone, { /*async._RootZone._rootMap*/get _rootMap() { return new _js_helper.LinkedMap.new(); @@ -35712,30 +38377,30 @@ dart.defineLazy(async._RootZone, { /*async._RootZone._rootDelegate*/get _rootDelegate() { return null; }, - set _rootDelegate(_) {} + set _rootDelegate(value) {} }, false); async.async = function _async(T, initGenerator) { - if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + if (initGenerator == null) dart.nullFailed(I[64], 25, 22, "initGenerator"); let iter = null; let onValue = null; let onValue$35isSet = false; function onValue$35get() { return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); } - function onValue$35set(t137) { - if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + function onValue$35set(onValue$35param) { + if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); onValue$35isSet = true; - return onValue = t137; + return onValue = onValue$35param; } let onError = null; let onError$35isSet = false; function onError$35get() { return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); } - function onError$35set(t142) { - if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + function onError$35set(onError$35param) { + if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); onError$35isSet = true; - return onError = t142; + return onError = onError$35param; } function onAwait(value) { let f = null; @@ -35750,17 +38415,18 @@ async.async = function _async(T, initGenerator) { f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); return f; } - onValue$35set(value => { + dart.fn(onAwait, T$.ObjectNTo_FutureOfObjectN()); + onValue$35set(dart.fn(value => { let iteratorResult = iter.next(value); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); - onError$35set((value, stackTrace) => { - if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + }, T$.ObjectNToObjectN())); + onError$35set(dart.fn((value, stackTrace) => { + if (value == null) dart.nullFailed(I[64], 58, 14, "value"); let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); value = iteratorResult.value; return iteratorResult.done ? value : onAwait(value); - }); + }, T$.ObjectAndStackTraceNToObject())); let zone = async.Zone.current; if (zone != async._rootZone) { onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); @@ -35801,6 +38467,7 @@ async.async = function _async(T, initGenerator) { throw e$; } } + dart.fn(runBody, T$.VoidToNull()); if (dart.test(dart.startAsyncSynchronously)) { runBody(); isRunningAsEvent = true; @@ -35810,49 +38477,55 @@ async.async = function _async(T, initGenerator) { } return asyncFuture; }; -async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { - if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); - if (error == null) dart.nullFailed(I[62], 37, 35, "error"); - if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); - let handler = errorHandler; - if (T$.NeverAndNeverTodynamic().is(handler)) { - return dart.dcall(errorHandler, [error, stackTrace]); - } else { - return dart.dcall(errorHandler, [error]); - } +async.unawaited = function unawaited(future) { }; async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return $this.catchError(dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[67], 769, 17, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + if (error == null) dart.nullFailed(I[70], 1047, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 1047, 35, "stackTrace"); return handleError(E.as(error), stackTrace); }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + if (error == null) dart.nullFailed(I[70], 1049, 23, "error"); return E.is(error) && (test == null || dart.test(test(error))); }, T$.ObjectTobool())}); }; async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { - if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if ($this == null) dart.nullFailed(I[70], 1041, 13, "#this"); return dart.fn((E, handleError, opts) => { - if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + if (handleError == null) dart.nullFailed(I[70], 1042, 19, "handleError"); let test = opts && 'test' in opts ? opts.test : null; return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); }, dart.gFnType(E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); - return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: __t$EToNbool()}, {}]; }, E => { - var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); - var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + var __t$ETobool = () => (__t$ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var __t$EToNbool = () => (__t$EToNbool = dart.constFn(dart.nullable(__t$ETobool())))(); return [core.Object]; })); }; +async['FutureExtensions|ignore'] = function FutureExtensions$124ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + let self = $this; + if (async._Future$(T).is(self)) { + self[_ignore](); + } else { + self.then(dart.void, C[72] || CT.C72, {onError: C[72] || CT.C72}); + } +}; +async['FutureExtensions|get#ignore'] = function FutureExtensions$124get$35ignore(T, $this) { + if ($this == null) dart.nullFailed(I[70], 1067, 8, "#this"); + return dart.fn(() => async['FutureExtensions|ignore'](T, $this), T$.VoidTovoid()); +}; +async['FutureExtensions|_ignore'] = function FutureExtensions$124_ignore(_, __ = null) { +}; async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 963, 13, "result"); - if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1267, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1267, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35860,12 +38533,11 @@ async._completeWithErrorCallback = function _completeWithErrorCallback(result, e } else { stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; } - if (stackTrace == null) dart.throw("unreachable"); result[_completeError](error, stackTrace); }; async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - if (result == null) dart.nullFailed(I[67], 977, 13, "result"); - if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + if (result == null) dart.nullFailed(I[70], 1280, 13, "result"); + if (error == null) dart.nullFailed(I[70], 1280, 28, "error"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -35879,15 +38551,15 @@ async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback result[_asyncCompleteError](error, stackTrace); }; async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { - if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); - if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (errorHandler == null) dart.nullFailed(I[71], 897, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[71], 897, 60, "zone"); if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); } if (T$.ObjectTodynamic().is(errorHandler)) { return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); } - dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a value of the returned future's type")); }; async._microtaskLoop = function _microtaskLoop() { for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { @@ -35906,18 +38578,18 @@ async._startMicrotaskLoop = function _startMicrotaskLoop() { async._lastPriorityCallback = null; async._isInCallbackLoop = false; if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } }; async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + if (callback == null) dart.nullFailed(I[72], 63, 44, "callback"); let newEntry = new async._AsyncCallbackEntry.new(callback); let lastCallback = async._lastCallback; if (lastCallback == null) { async._nextCallback = async._lastCallback = newEntry; if (!dart.test(async._isInCallbackLoop)) { - async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + async._AsyncRun._scheduleImmediate(C[73] || CT.C73); } } else { lastCallback.next = newEntry; @@ -35925,7 +38597,7 @@ async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { } }; async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); if (async._nextCallback == null) { async._scheduleAsyncCallback(callback); async._lastPriorityCallback = async._lastCallback; @@ -35947,7 +38619,7 @@ async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(c } }; async.scheduleMicrotask = function scheduleMicrotask(callback) { - if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + if (callback == null) dart.nullFailed(I[72], 129, 40, "callback"); let currentZone = async.Zone._current; if (async._rootZone == currentZone) { async._rootScheduleMicrotask(null, null, async._rootZone, callback); @@ -35976,16 +38648,16 @@ async._runGuarded = function _runGuarded(notificationHandler) { async._nullDataHandler = function _nullDataHandler(value) { }; async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { - if (error == null) dart.nullFailed(I[65], 570, 31, "error"); - if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + if (error == null) dart.nullFailed(I[68], 494, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 494, 49, "stackTrace"); async.Zone.current.handleUncaughtError(error, stackTrace); }; async._nullDoneHandler = function _nullDoneHandler() { }; async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { - if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); - if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); - if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + if (userCode == null) dart.nullFailed(I[73], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[73], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[73], 9, 5, "onError"); try { onSuccess(userCode()); } catch (e$) { @@ -36005,10 +38677,10 @@ async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { } }; async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 26, 63, "future"); - if (error == null) dart.nullFailed(I[70], 27, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 26, 63, "future"); + if (error == null) dart.nullFailed(I[73], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 27, 30, "stackTrace"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); @@ -36017,10 +38689,10 @@ async._cancelAndError = function _cancelAndError(subscription, future, error, st } }; async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { - if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); - if (future == null) dart.nullFailed(I[70], 37, 13, "future"); - if (error == null) dart.nullFailed(I[70], 37, 28, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + if (subscription == null) dart.nullFailed(I[73], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[73], 37, 13, "future"); + if (error == null) dart.nullFailed(I[73], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 37, 46, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36029,17 +38701,17 @@ async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(s async._cancelAndError(subscription, future, error, stackTrace); }; async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { - if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); - if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + if (subscription == null) dart.nullFailed(I[73], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[73], 48, 46, "future"); return dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[70], 49, 18, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + if (error == null) dart.nullFailed(I[73], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 49, 36, "stackTrace"); async._cancelAndError(subscription, future, error, stackTrace); }, T$.ObjectAndStackTraceTovoid()); }; async._cancelAndValue = function _cancelAndValue(subscription, future, value) { - if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); - if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + if (subscription == null) dart.nullFailed(I[73], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[73], 56, 63, "future"); let cancelFuture = subscription.cancel(); if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); @@ -36048,9 +38720,9 @@ async._cancelAndValue = function _cancelAndValue(subscription, future, value) { } }; async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { - if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); - if (error == null) dart.nullFailed(I[70], 170, 29, "error"); - if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + if (sink == null) dart.nullFailed(I[73], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[73], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 170, 47, "stackTrace"); let replacement = async.Zone.current.errorCallback(error, stackTrace); if (replacement != null) { error = replacement.error; @@ -36059,21 +38731,22 @@ async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, sink[_addError](error, stackTrace); }; async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { - if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); - if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + if (zone == null) dart.nullFailed(I[76], 1378, 70, "zone"); + if (error == null) dart.nullFailed(I[76], 1379, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1379, 30, "stackTrace"); + async._rootHandleError(error, stackTrace); +}; +async._rootHandleError = function _rootHandleError(error, stackTrace) { + if (error == null) dart.nullFailed(I[76], 1383, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1383, 48, "stackTrace"); async._schedulePriorityAsyncCallback(dart.fn(() => { - async._rethrow(error, stackTrace); + core.Error.throwWithStackTrace(error, stackTrace); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }, T$.VoidTovoid())); }; -async._rethrow = function _rethrow(error, stackTrace) { - if (error == null) dart.nullFailed(I[61], 199, 22, "error"); - if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); - throw dart.createErrorWithStack(error, stackTrace); -}; async._rootRun = function _rootRun(R, self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); - if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (zone == null) dart.nullFailed(I[76], 1389, 54, "zone"); + if (f == null) dart.nullFailed(I[76], 1389, 62, "f"); if (async.Zone._current == zone) return f(); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36086,8 +38759,8 @@ async._rootRun = function _rootRun(R, self, parent, zone, f) { } }; async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (zone == null) dart.nullFailed(I[76], 1405, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1405, 52, "f"); if (async.Zone._current == zone) return f(arg); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36100,8 +38773,8 @@ async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { } }; async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); - if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (zone == null) dart.nullFailed(I[76], 1420, 68, "zone"); + if (f == null) dart.nullFailed(I[76], 1421, 7, "f"); if (async.Zone._current == zone) return f(arg1, arg2); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); @@ -36114,36 +38787,36 @@ async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, } }; async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1437, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1437, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1437, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1437, 50, "f"); return f; }; async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1442, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1442, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1442, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1442, 50, "f"); return f; }; async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { - if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); - if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); - if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); - if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + if (self == null) dart.nullFailed(I[76], 1447, 10, "self"); + if (parent == null) dart.nullFailed(I[76], 1447, 29, "parent"); + if (zone == null) dart.nullFailed(I[76], 1447, 42, "zone"); + if (f == null) dart.nullFailed(I[76], 1447, 50, "f"); return f; }; async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { - if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); - if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + if (self == null) dart.nullFailed(I[76], 1451, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1451, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1451, 69, "zone"); + if (error == null) dart.nullFailed(I[76], 1452, 16, "error"); return null; }; async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { - if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); - if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (zone == null) dart.nullFailed(I[76], 1456, 44, "zone"); + if (f == null) dart.nullFailed(I[76], 1456, 55, "f"); if (async._rootZone != zone) { let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); if (hasErrorHandler) { @@ -36155,46 +38828,46 @@ async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zon async._scheduleAsyncCallback(f); }; async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); - if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); - if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); - if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (self == null) dart.nullFailed(I[76], 1468, 29, "self"); + if (parent == null) dart.nullFailed(I[76], 1468, 48, "parent"); + if (zone == null) dart.nullFailed(I[76], 1468, 61, "zone"); + if (duration == null) dart.nullFailed(I[76], 1469, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1469, 40, "callback"); if (async._rootZone != zone) { callback = zone.bindCallback(dart.void, callback); } return async.Timer._createTimer(duration, callback); }; async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { - if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); - if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); - if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); - if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); - if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (self == null) dart.nullFailed(I[76], 1476, 37, "self"); + if (parent == null) dart.nullFailed(I[76], 1476, 56, "parent"); + if (zone == null) dart.nullFailed(I[76], 1476, 69, "zone"); + if (duration == null) dart.nullFailed(I[76], 1477, 14, "duration"); + if (callback == null) dart.nullFailed(I[76], 1477, 29, "callback"); if (async._rootZone != zone) { callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); } return async.Timer._createPeriodicTimer(duration, callback); }; async._rootPrint = function _rootPrint(self, parent, zone, line) { - if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); - if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); - if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); - if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + if (self == null) dart.nullFailed(I[76], 1484, 22, "self"); + if (parent == null) dart.nullFailed(I[76], 1484, 41, "parent"); + if (zone == null) dart.nullFailed(I[76], 1484, 54, "zone"); + if (line == null) dart.nullFailed(I[76], 1484, 67, "line"); _internal.printToConsole(line); }; async._printToZone = function _printToZone(line) { - if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + if (line == null) dart.nullFailed(I[76], 1488, 26, "line"); async.Zone.current.print(line); }; async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (zone == null) dart.nullFailed(I[76], 1492, 55, "zone"); if (!async._Zone.is(zone)) { dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); } - _internal.printToZone = C[72] || CT.C72; + _internal.printToZone = C[74] || CT.C74; if (specification == null) { - specification = C[73] || CT.C73; + specification = C[75] || CT.C75; } else if (!async._ZoneSpecification.is(specification)) { specification = async.ZoneSpecification.from(specification); } @@ -36202,13 +38875,13 @@ async._rootFork = function _rootFork(self, parent, zone, specification, zoneValu if (zoneValues == null) { valueMap = zone[_map$3]; } else { - valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + valueMap = T$0.HashMapOfObjectN$ObjectN().from(zoneValues); } if (specification == null) dart.throw("unreachable"); return new async._CustomZone.new(zone, specification, valueMap); }; async.runZoned = function runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + if (body == null) dart.nullFailed(I[76], 1727, 17, "body"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; let onError = opts && 'onError' in opts ? opts.onError : null; @@ -36218,8 +38891,8 @@ async.runZoned = function runZoned(R, body, opts) { if (T$.ObjectTovoid().is(onError)) { let originalOnError = onError; onError = dart.fn((error, stack) => { - if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); - if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + if (error == null) dart.nullFailed(I[76], 1737, 27, "error"); + if (stack == null) dart.nullFailed(I[76], 1737, 45, "stack"); return originalOnError(error); }, T$.ObjectAndStackTraceTovoid()); } else { @@ -36231,19 +38904,19 @@ async.runZoned = function runZoned(R, body, opts) { return async._runZoned(R, body, zoneValues, zoneSpecification); }; async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); - if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + if (body == null) dart.nullFailed(I[76], 1767, 25, "body"); + if (onError == null) dart.nullFailed(I[76], 1767, 38, "onError"); let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; _internal.checkNotNullable(dart.fnType(R, []), body, "body"); _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); let parentZone = async.Zone._current; let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { - if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); - if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); - if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); - if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + if (self == null) dart.nullFailed(I[76], 1772, 51, "self"); + if (parent == null) dart.nullFailed(I[76], 1772, 70, "parent"); + if (zone == null) dart.nullFailed(I[76], 1773, 12, "zone"); + if (error == null) dart.nullFailed(I[76], 1773, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[76], 1773, 43, "stackTrace"); try { parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); } catch (e$) { @@ -36277,28 +38950,30 @@ async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { return null; }; async._runZoned = function _runZoned(R, body, zoneValues, specification) { - if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + if (body == null) dart.nullFailed(I[76], 1799, 18, "body"); return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); }; dart.defineLazy(async, { /*async._nextCallback*/get _nextCallback() { return null; }, - set _nextCallback(_) {}, + set _nextCallback(value) {}, /*async._lastCallback*/get _lastCallback() { return null; }, - set _lastCallback(_) {}, + set _lastCallback(value) {}, /*async._lastPriorityCallback*/get _lastPriorityCallback() { return null; }, - set _lastPriorityCallback(_) {}, + set _lastPriorityCallback(value) {}, /*async._isInCallbackLoop*/get _isInCallbackLoop() { return false; }, - set _isInCallbackLoop(_) {}, + set _isInCallbackLoop(value) { + if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); + }, /*async._rootZone*/get _rootZone() { - return C[44] || CT.C44; + return C[45] || CT.C45; } }, false); var _map$4 = dart.privateName(collection, "_HashSet._map"); @@ -36310,19 +38985,18 @@ var _newSet = dart.privateName(collection, "_newSet"); var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); const _is_SetMixin_default = Symbol('_is_SetMixin_default'); collection.SetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class SetMixin extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -36337,9 +39011,9 @@ collection.SetMixin$ = dart.generic(E => { return core.Set.castFrom(E, R, this); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[75], 47, 38, "other"); - return FollowedByIterableOfE().firstEfficient(this, other); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[78], 47, 38, "other"); + return __t$FollowedByIterableOfE().firstEfficient(this, other); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); @@ -36348,18 +39022,18 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(this.toList()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 56, 27, "elements"); for (let element of elements) this.add(element); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 60, 36, "elements"); for (let element of elements) this.remove(element); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); let toRemove = this.toSet(); for (let o of elements) { toRemove.remove(o); @@ -36367,7 +39041,7 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + if (test == null) dart.nullFailed(I[78], 74, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (dart.test(test(element))) toRemove[$add](element); @@ -36375,7 +39049,7 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + if (test == null) dart.nullFailed(I[78], 82, 25, "test"); let toRemove = T$.JSArrayOfObjectN().of([]); for (let element of this) { if (!dart.test(test(element))) toRemove[$add](element); @@ -36383,24 +39057,24 @@ collection.SetMixin$ = dart.generic(E => { this.removeAll(toRemove); } containsAll(other) { - if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + if (other == null) dart.nullFailed(I[78], 90, 38, "other"); for (let o of other) { if (!dart.test(this.contains(o))) return false; } return true; } union(other) { - let t151; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[75], 97, 23, "other"); - t151 = this.toSet(); + let t136; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[78], 97, 23, "other"); + t136 = this.toSet(); return (() => { - t151.addAll(other); - return t151; + t136.addAll(other); + return t136; })(); } intersection(other) { - if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + if (other == null) dart.nullFailed(I[78], 101, 36, "other"); let result = this.toSet(); for (let element of this) { if (!dart.test(other.contains(element))) result.remove(element); @@ -36408,7 +39082,7 @@ collection.SetMixin$ = dart.generic(E => { return result; } difference(other) { - if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + if (other == null) dart.nullFailed(I[78], 109, 34, "other"); let result = this.toSet(); for (let element of this) { if (dart.test(other.contains(element))) result.remove(element); @@ -36417,11 +39091,11 @@ collection.SetMixin$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); - return ListOfE().of(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[78], 117, 24, "growable"); + return __t$ListOfE().of(this, {growable: growable}); } map(T, f) { - if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + if (f == null) dart.nullFailed(I[78], 120, 24, "f"); return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); } get single() { @@ -36435,21 +39109,21 @@ collection.SetMixin$ = dart.generic(E => { return collection.IterableBase.iterableToFullString(this, "{", "}"); } where(f) { - if (f == null) dart.nullFailed(I[75], 136, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + if (f == null) dart.nullFailed(I[78], 136, 26, "f"); + return new (__t$WhereIterableOfE()).new(this, f); } expand(T, f) { - if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + if (f == null) dart.nullFailed(I[78], 138, 37, "f"); return new (_internal.ExpandIterable$(E, T)).new(this, f); } forEach(f) { - if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + if (f == null) dart.nullFailed(I[78], 141, 21, "f"); for (let element of this) f(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[78], 145, 14, "combine"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -36461,21 +39135,21 @@ collection.SetMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + if (combine == null) dart.nullFailed(I[78], 157, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } every(f) { - if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + if (f == null) dart.nullFailed(I[78], 163, 19, "f"); for (let element of this) { if (!dart.test(f(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + if (separator == null) dart.nullFailed(I[78], 170, 23, "separator"); let iterator = this.iterator; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -36493,27 +39167,27 @@ collection.SetMixin$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + if (test == null) dart.nullFailed(I[78], 188, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } return false; } take(n) { - if (n == null) dart.nullFailed(I[75], 195, 24, "n"); - return TakeIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 195, 24, "n"); + return __t$TakeIterableOfE().new(this, n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[75], 199, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 199, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(n) { - if (n == null) dart.nullFailed(I[75], 203, 24, "n"); - return SkipIterableOfE().new(this, n); + if (n == null) dart.nullFailed(I[78], 203, 24, "n"); + return __t$SkipIterableOfE().new(this, n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[75], 207, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[78], 207, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this.iterator; @@ -36534,9 +39208,9 @@ collection.SetMixin$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + if (test == null) dart.nullFailed(I[78], 231, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -36544,20 +39218,18 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + if (test == null) dart.nullFailed(I[78], 239, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t154) { + function result$35set(result$35param) { result$35isSet = true; - return result = t154; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36570,20 +39242,18 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + if (test == null) dart.nullFailed(I[78], 253, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t159) { + function result$35set(result$35param) { result$35isSet = true; - return result = t159; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -36599,7 +39269,7 @@ collection.SetMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + if (index == null) dart.nullFailed(I[78], 270, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -36607,7 +39277,7 @@ collection.SetMixin$ = dart.generic(E => { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } } (SetMixin.new = function() { @@ -36685,7 +39355,7 @@ collection.SetMixin$ = dart.generic(E => { last: E, [$last]: E })); - dart.setLibraryUri(SetMixin, I[24]); + dart.setLibraryUri(SetMixin, I[25]); dart.defineExtensionMethods(SetMixin, [ 'cast', 'followedBy', @@ -36732,7 +39402,7 @@ collection._SetBase$ = dart.generic(E => { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); } difference(other) { - if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + if (other == null) dart.nullFailed(I[78], 324, 34, "other"); let result = this[_newSet](); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); @@ -36740,7 +39410,7 @@ collection._SetBase$ = dart.generic(E => { return result; } intersection(other) { - if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + if (other == null) dart.nullFailed(I[78], 332, 36, "other"); let result = this[_newSet](); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); @@ -36748,11 +39418,11 @@ collection._SetBase$ = dart.generic(E => { return result; } toSet() { - let t151; - t151 = this[_newSet](); + let t136; + t136 = this[_newSet](); return (() => { - t151.addAll(this); - return t151; + t136.addAll(this); + return t136; })(); } } @@ -36769,7 +39439,7 @@ collection._SetBase$ = dart.generic(E => { toSet: dart.fnType(core.Set$(E), []), [$toSet]: dart.fnType(core.Set$(E), []) })); - dart.setLibraryUri(_SetBase, I[24]); + dart.setLibraryUri(_SetBase, I[25]); dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); return _SetBase; }); @@ -36777,7 +39447,7 @@ collection._SetBase = collection._SetBase$(); dart.addTypeTests(collection._SetBase, _is__SetBase_default); const _is__InternalSet_default = Symbol('_is__InternalSet_default'); collection._InternalSet$ = dart.generic(E => { - var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + var __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); class _InternalSet extends collection._SetBase$(E) { get length() { return this[_map$5].size; @@ -36789,7 +39459,7 @@ collection._InternalSet$ = dart.generic(E => { return this[_map$5].size != 0; } get iterator() { - return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); } [Symbol.iterator]() { let self = this; @@ -36823,7 +39493,7 @@ collection._InternalSet$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(_InternalSet, I[24]); + dart.setLibraryUri(_InternalSet, I[25]); dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); return _InternalSet; }); @@ -36831,8 +39501,8 @@ collection._InternalSet = collection._InternalSet$(); dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); const _is__HashSet_default = Symbol('_is__HashSet_default'); collection._HashSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _HashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$4]; @@ -36846,8 +39516,11 @@ collection._HashSet$ = dart.generic(E => { set [_modifications$3](value) { this[_modifications$2] = value; } + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -36857,7 +39530,7 @@ collection._HashSet$ = dart.generic(E => { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36872,7 +39545,7 @@ collection._HashSet$ = dart.generic(E => { if (key == null) return null; if (key[$_equals] !== dart.identityEquals) { let k = key; - let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3fffffff); if (buckets != null) { for (let i = 0, n = buckets.length; i < n; i = i + 1) { k = buckets[i]; @@ -36892,7 +39565,7 @@ collection._HashSet$ = dart.generic(E => { } else if (key[$_equals] !== dart.identityEquals) { let keyMap = this[_keyMap$]; let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -36907,12 +39580,12 @@ collection._HashSet$ = dart.generic(E => { return false; } map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 244, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { @@ -36924,7 +39597,7 @@ collection._HashSet$ = dart.generic(E => { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(key) { @@ -36932,7 +39605,7 @@ collection._HashSet$ = dart.generic(E => { key = null; } else if (key[$_equals] !== dart.identityEquals) { let k = key; - let hash = dart.hashCode(k) & 0x3ffffff; + let hash = dart.hashCode(k) & 0x3fffffff; let buckets = this[_keyMap$].get(hash); if (buckets == null) return false; for (let i = 0, n = buckets.length;;) { @@ -36951,7 +39624,7 @@ collection._HashSet$ = dart.generic(E => { } let map = this[_map$5]; if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -36961,7 +39634,7 @@ collection._HashSet$ = dart.generic(E => { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -36986,7 +39659,7 @@ collection._HashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_HashSet, I[24]); + dart.setLibraryUri(_HashSet, I[25]); dart.setFieldSignature(_HashSet, () => ({ __proto__: dart.getFields(_HashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37000,15 +39673,19 @@ collection._HashSet = collection._HashSet$(); dart.addTypeTests(collection._HashSet, _is__HashSet_default); const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); collection._ImmutableSet$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _ImmutableSet extends collection._HashSet$(E) { + static ['_#from#tearOff'](E, entries) { + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); + return new (collection._ImmutableSet$(E)).from(entries); + } add(value) { E.as(value); return dart.throw(collection._ImmutableSet._unsupported()); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); return dart.throw(collection._ImmutableSet._unsupported()); } clear() { @@ -37022,7 +39699,7 @@ collection._ImmutableSet$ = dart.generic(E => { } } (_ImmutableSet.from = function(entries) { - if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + if (entries == null) dart.nullFailed(I[77], 307, 33, "entries"); _ImmutableSet.__proto__.new.call(this); let map = this[_map$5]; for (let key of entries) { @@ -37037,7 +39714,8 @@ collection._ImmutableSet$ = dart.generic(E => { dart.addTypeTests(_ImmutableSet); _ImmutableSet.prototype[_is__ImmutableSet_default] = true; dart.addTypeCaches(_ImmutableSet); - dart.setLibraryUri(_ImmutableSet, I[24]); + dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); + dart.setLibraryUri(_ImmutableSet, I[25]); return _ImmutableSet; }); collection._ImmutableSet = collection._ImmutableSet$(); @@ -37046,8 +39724,8 @@ var _map$6 = dart.privateName(collection, "_IdentityHashSet._map"); var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); collection._IdentityHashSet$ = dart.generic(E => { - var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_IdentityHashSetOfE = () => (__t$_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _IdentityHashSet extends collection._InternalSet$(E) { get [_map$5]() { return this[_map$6]; @@ -37061,8 +39739,11 @@ collection._IdentityHashSet$ = dart.generic(E => { set [_modifications$3](value) { this[_modifications$4] = value; } + static ['_#new#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } [_newSet]() { - return new (_IdentityHashSetOfE()).new(); + return new (__t$_IdentityHashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._IdentityHashSet$(R)).new(); @@ -37078,24 +39759,24 @@ collection._IdentityHashSet$ = dart.generic(E => { let map = this[_map$5]; if (map.has(element)) return false; map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 363, 27, "objects"); let map = this[_map$5]; let length = map.size; for (let key of objects) { map.add(key); } if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } remove(element) { if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } return false; @@ -37104,7 +39785,7 @@ collection._IdentityHashSet$ = dart.generic(E => { let map = this[_map$5]; if (map.size > 0) { map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } @@ -37128,7 +39809,7 @@ collection._IdentityHashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setLibraryUri(_IdentityHashSet, I[25]); dart.setFieldSignature(_IdentityHashSet, () => ({ __proto__: dart.getFields(_IdentityHashSet.__proto__), [_map$5]: dart.finalFieldType(dart.dynamic), @@ -37146,8 +39827,8 @@ var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modificatio var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); collection._CustomHashSet$ = dart.generic(E => { - var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_CustomHashSetOfE = () => (__t$_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _CustomHashSet extends collection._InternalSet$(E) { get [_modifications$3]() { return this[_modifications$5]; @@ -37161,16 +39842,21 @@ collection._CustomHashSet$ = dart.generic(E => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); + return new (collection._CustomHashSet$(E)).new(_equals, _hashCode); + } [_newSet]() { - return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + return new (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37182,9 +39868,9 @@ collection._CustomHashSet$ = dart.generic(E => { return false; } lookup(key) { - let t161; + let t144; if (E.is(key)) { - let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + let buckets = this[_keyMap$].get((t144 = key, this[_hashCode$0](t144)) & 0x3fffffff); if (buckets != null) { let equals = this[_equals$0]; for (let i = 0, n = buckets.length; i < n; i = i + 1) { @@ -37196,10 +39882,10 @@ collection._CustomHashSet$ = dart.generic(E => { return null; } add(key) { - let t161; + let t144; E.as(key); let keyMap = this[_keyMap$]; - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let buckets = keyMap.get(hash); if (buckets == null) { keyMap.set(hash, [key]); @@ -37212,19 +39898,19 @@ collection._CustomHashSet$ = dart.generic(E => { buckets.push(key); } this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } addAll(objects) { - IterableOfE().as(objects); - if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + __t$IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[77], 497, 27, "objects"); for (let element of objects) this.add(element); } remove(key) { - let t161; + let t144; if (E.is(key)) { - let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; let keyMap = this[_keyMap$]; let buckets = keyMap.get(hash); if (buckets == null) return false; @@ -37238,7 +39924,7 @@ collection._CustomHashSet$ = dart.generic(E => { buckets.splice(i, 1); } this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; return true; } } @@ -37250,13 +39936,13 @@ collection._CustomHashSet$ = dart.generic(E => { if (map.size > 0) { map.clear(); this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; } } } (_CustomHashSet.new = function(_equals, _hashCode) { - if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); - if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + if (_equals == null) dart.nullFailed(I[77], 445, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[77], 445, 37, "_hashCode"); this[_modifications$5] = 0; this[_map$7] = new Set(); this[_keyMap$] = new Map(); @@ -37279,7 +39965,7 @@ collection._CustomHashSet$ = dart.generic(E => { add: dart.fnType(core.bool, [dart.nullable(core.Object)]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setLibraryUri(_CustomHashSet, I[25]); dart.setFieldSignature(_CustomHashSet, () => ({ __proto__: dart.getFields(_CustomHashSet.__proto__), [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), @@ -37295,34 +39981,40 @@ collection._CustomHashSet = collection._CustomHashSet$(); dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); collection._CustomKeyHashSet$ = dart.generic(E => { - var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + var __t$_CustomKeyHashSetOfE = () => (__t$_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + static ['_#new#tearOff'](E, equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); + return new (collection._CustomKeyHashSet$(E)).new(equals, hashCode, _validKey); + } [_newSet]() { - return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + return new (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); } contains(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.contains(element); } lookup(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; return super.lookup(element); } remove(element) { - let t161; - if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + let t144; + if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; return super.remove(element); } } (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { - if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); - if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); - if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + if (equals == null) dart.nullFailed(I[77], 393, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[77], 393, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[77], 393, 68, "_validKey"); this[_validKey$0] = _validKey; _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); ; @@ -37334,7 +40026,7 @@ collection._CustomKeyHashSet$ = dart.generic(E => { __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setLibraryUri(_CustomKeyHashSet, I[25]); dart.setFieldSignature(_CustomKeyHashSet, () => ({ __proto__: dart.getFields(_CustomKeyHashSet.__proto__), [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) @@ -37348,6 +40040,10 @@ var _source = dart.privateName(collection, "_source"); const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); collection.UnmodifiableListView$ = dart.generic(E => { class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); + return new (collection.UnmodifiableListView$(E)).new(source); + } cast(R) { return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); } @@ -37358,12 +40054,12 @@ collection.UnmodifiableListView$ = dart.generic(E => { super.length = value; } _get(index) { - if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + if (index == null) dart.nullFailed(I[79], 34, 21, "index"); return this[_source][$elementAt](index); } } (UnmodifiableListView.new = function(source) { - if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + if (source == null) dart.nullFailed(I[79], 29, 36, "source"); this[_source] = source; ; }).prototype = UnmodifiableListView.prototype; @@ -37382,7 +40078,7 @@ collection.UnmodifiableListView$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setLibraryUri(UnmodifiableListView, I[25]); dart.setFieldSignature(UnmodifiableListView, () => ({ __proto__: dart.getFields(UnmodifiableListView.__proto__), [_source]: dart.finalFieldType(core.Iterable$(E)) @@ -37397,7 +40093,7 @@ const _is_HashMap_default = Symbol('_is_HashMap_default'); collection.HashMap$ = dart.generic((K, V) => { class HashMap extends core.Object { static new(opts) { - let t161, t161$, t161$0; + let t144, t144$, t144$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37409,55 +40105,87 @@ collection.HashMap$ = dart.generic((K, V) => { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t144$ = equals, t144$ == null ? C[79] || CT.C79 : t144$), (t144$0 = hashCode, t144$0 == null ? C[76] || CT.C76 : t144$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 195, 46, "other"); + return collection.HashMap$(K, V).from(other); + } static of(other) { - let t161; - if (other == null) dart.nullFailed(I[77], 110, 32, "other"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addAll](other); - return t161; + t144[$addAll](other); + return t144; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[80], 210, 32, "other"); + return collection.HashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 230, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.HashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); - if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[80], 254, 45, "keys"); + if (values == null) dart.nullFailed(I[80], 254, 63, "values"); + return collection.HashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t161; - if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); - t161 = new (_js_helper.LinkedMap$(K, V)).new(); + let t144; + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + t144 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t161[$addEntries](entries); - return t161; + t144[$addEntries](entries); + return t144; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); + return collection.HashMap$(K, V).fromEntries(entries); + } } (HashMap[dart.mixinNew] = function() { }).prototype = HashMap.prototype; @@ -37466,7 +40194,9 @@ collection.HashMap$ = dart.generic((K, V) => { HashMap.prototype[_is_HashMap_default] = true; dart.addTypeCaches(HashMap); HashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(HashMap, I[24]); + dart.setStaticMethodSignature(HashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(HashMap, I[25]); + dart.setStaticFieldSignature(HashMap, () => ['_redirecting#']); return HashMap; }); collection.HashMap = collection.HashMap$(); @@ -37475,7 +40205,7 @@ const _is_HashSet_default = Symbol('_is_HashSet_default'); collection.HashSet$ = dart.generic(E => { class HashSet extends core.Object { static new(opts) { - let t161, t161$, t161$0, t161$1; + let t144, t144$, t144$0, t144$1; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37487,30 +40217,47 @@ collection.HashSet$ = dart.generic(E => { } return new (collection._HashSet$(E)).new(); } - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + return new (collection._CustomHashSet$(E)).new((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), (t144$ = hashCode, t144$ == null ? C[76] || CT.C76 : t144$)); } - return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t144$0 = equals, t144$0 == null ? C[79] || CT.C79 : t144$0), (t144$1 = hashCode, t144$1 == null ? C[76] || CT.C76 : t144$1), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.HashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); let result = new (collection._HashSet$(E)).new(); for (let e of elements) { result.add(E.as(e)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 169, 42, "elements"); + return collection.HashSet$(E).from(elements); + } static of(elements) { - let t161; - if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); - t161 = new (collection._HashSet$(E)).new(); + let t144; + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + t144 = new (collection._HashSet$(E)).new(); return (() => { - t161.addAll(elements); - return t161; + t144.addAll(elements); + return t144; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); + return collection.HashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -37521,54 +40268,55 @@ collection.HashSet$ = dart.generic(E => { HashSet.prototype[_is_HashSet_default] = true; dart.addTypeCaches(HashSet); HashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(HashSet, I[24]); + dart.setStaticMethodSignature(HashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(HashSet, I[25]); + dart.setStaticFieldSignature(HashSet, () => ['_redirecting#']); return HashSet; }); collection.HashSet = collection.HashSet$(); dart.addTypeTests(collection.HashSet, _is_HashSet_default); const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); collection.IterableMixin$ = dart.generic(E => { - var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); - var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); - var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); - var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); - var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); - var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); - var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); - var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); - var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); - var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var __t$WhereIterableOfE = () => (__t$WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EfficientLengthIterableOfE = () => (__t$EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var __t$FollowedByIterableOfE = () => (__t$FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var __t$EAndEToE = () => (__t$EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$LinkedHashSetOfE = () => (__t$LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var __t$TakeIterableOfE = () => (__t$TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var __t$TakeWhileIterableOfE = () => (__t$TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var __t$SkipIterableOfE = () => (__t$SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var __t$SkipWhileIterableOfE = () => (__t$SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var __t$VoidToE = () => (__t$VoidToE = dart.constFn(dart.fnType(E, [])))(); + var __t$VoidToNE = () => (__t$VoidToNE = dart.constFn(dart.nullable(__t$VoidToE())))(); class IterableMixin extends core.Object { cast(R) { return core.Iterable.castFrom(E, R, this); } - map(T, f) { - if (f == null) dart.nullFailed(I[39], 17, 24, "f"); - return _internal.MappedIterable$(E, T).new(this, f); + map(T, toElement) { + if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); + return _internal.MappedIterable$(E, T).new(this, toElement); } - where(f) { - if (f == null) dart.nullFailed(I[39], 19, 26, "f"); - return new (WhereIterableOfE()).new(this, f); + where(test) { + if (test == null) dart.nullFailed(I[41], 20, 26, "test"); + return new (__t$WhereIterableOfE()).new(this, test); } whereType(T) { return new (_internal.WhereTypeIterable$(T)).new(this); } - expand(T, f) { - if (f == null) dart.nullFailed(I[39], 23, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); + expand(T, toElements) { + if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); + return new (_internal.ExpandIterable$(E, T)).new(this, toElements); } followedBy(other) { - IterableOfE().as(other); - if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + __t$IterableOfE().as(other); + if (other == null) dart.nullFailed(I[41], 27, 38, "other"); let self = this; - if (EfficientLengthIterableOfE().is(self)) { - return FollowedByIterableOfE().firstEfficient(self, other); + if (__t$EfficientLengthIterableOfE().is(self)) { + return __t$FollowedByIterableOfE().firstEfficient(self, other); } - return new (FollowedByIterableOfE()).new(this, other); + return new (__t$FollowedByIterableOfE()).new(this, other); } contains(element) { for (let e of this) { @@ -37576,14 +40324,14 @@ collection.IterableMixin$ = dart.generic(E => { } return false; } - forEach(f) { - if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + forEach(action) { + if (action == null) dart.nullFailed(I[41], 44, 21, "action"); for (let element of this) - f(element); + action(element); } reduce(combine) { - EAndEToE().as(combine); - if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + __t$EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[41], 48, 14, "combine"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) { dart.throw(_internal.IterableElementError.noElement()); @@ -37595,21 +40343,21 @@ collection.IterableMixin$ = dart.generic(E => { return value; } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + if (combine == null) dart.nullFailed(I[41], 60, 31, "combine"); let value = initialValue; for (let element of this) value = combine(value, element); return value; } - every(f) { - if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + every(test) { + if (test == null) dart.nullFailed(I[41], 66, 19, "test"); for (let element of this) { - if (!dart.test(f(element))) return false; + if (!dart.test(test(element))) return false; } return true; } join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + if (separator == null) dart.nullFailed(I[41], 73, 23, "separator"); let iterator = this[$iterator]; if (!dart.test(iterator.moveNext())) return ""; let buffer = new core.StringBuffer.new(); @@ -37627,7 +40375,7 @@ collection.IterableMixin$ = dart.generic(E => { return buffer.toString(); } any(test) { - if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + if (test == null) dart.nullFailed(I[41], 91, 17, "test"); for (let element of this) { if (dart.test(test(element))) return true; } @@ -37635,14 +40383,14 @@ collection.IterableMixin$ = dart.generic(E => { } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); - return ListOfE().from(this, {growable: growable}); + if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); + return __t$ListOfE().from(this, {growable: growable}); } toSet() { - return LinkedHashSetOfE().from(this); + return __t$LinkedHashSetOfE().from(this); } get length() { - if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[41], 104, 12, "this is! EfficientLengthIterable"); let count = 0; let it = this[$iterator]; while (dart.test(it.moveNext())) { @@ -37657,20 +40405,20 @@ collection.IterableMixin$ = dart.generic(E => { return !dart.test(this.isEmpty); } take(count) { - if (count == null) dart.nullFailed(I[39], 116, 24, "count"); - return TakeIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 117, 24, "count"); + return __t$TakeIterableOfE().new(this, count); } takeWhile(test) { - if (test == null) dart.nullFailed(I[39], 120, 30, "test"); - return new (TakeWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 121, 30, "test"); + return new (__t$TakeWhileIterableOfE()).new(this, test); } skip(count) { - if (count == null) dart.nullFailed(I[39], 124, 24, "count"); - return SkipIterableOfE().new(this, count); + if (count == null) dart.nullFailed(I[41], 125, 24, "count"); + return __t$SkipIterableOfE().new(this, count); } skipWhile(test) { - if (test == null) dart.nullFailed(I[39], 128, 30, "test"); - return new (SkipWhileIterableOfE()).new(this, test); + if (test == null) dart.nullFailed(I[41], 129, 30, "test"); + return new (__t$SkipWhileIterableOfE()).new(this, test); } get first() { let it = this[$iterator]; @@ -37698,9 +40446,9 @@ collection.IterableMixin$ = dart.generic(E => { return result; } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + if (test == null) dart.nullFailed(I[41], 161, 21, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); for (let element of this) { if (dart.test(test(element))) return element; } @@ -37708,20 +40456,18 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + if (test == null) dart.nullFailed(I[41], 169, 20, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t164) { + function result$35set(result$35param) { result$35isSet = true; - return result = t164; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37734,20 +40480,18 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + if (test == null) dart.nullFailed(I[41], 183, 22, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; - VoidToNE().as(orElse); + __t$VoidToNE().as(orElse); let result = null; let result$35isSet = false; function result$35get() { return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); } - dart.fn(result$35get, VoidToE()); - function result$35set(t169) { + function result$35set(result$35param) { result$35isSet = true; - return result = t169; + return result = result$35param; } - dart.fn(result$35set, ETodynamic()); let foundMatching = false; for (let element of this) { if (dart.test(test(element))) { @@ -37763,7 +40507,7 @@ collection.IterableMixin$ = dart.generic(E => { dart.throw(_internal.IterableElementError.noElement()); } elementAt(index) { - if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + if (index == null) dart.nullFailed(I[41], 200, 19, "index"); _internal.checkNotNullable(core.int, index, "index"); core.RangeError.checkNotNegative(index, "index"); let elementIndex = 0; @@ -37771,7 +40515,7 @@ collection.IterableMixin$ = dart.generic(E => { if (index === elementIndex) return element; elementIndex = elementIndex + 1; } - dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); } toString() { return collection.IterableBase.iterableToShortString(this, "(", ")"); @@ -37852,7 +40596,7 @@ collection.IterableMixin$ = dart.generic(E => { single: E, [$single]: E })); - dart.setLibraryUri(IterableMixin, I[24]); + dart.setLibraryUri(IterableMixin, I[25]); dart.defineExtensionMethods(IterableMixin, [ 'cast', 'map', @@ -37897,13 +40641,17 @@ var _move = dart.privateName(collection, "_move"); const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); collection.HasNextIterator$ = dart.generic(E => { class HasNextIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); + return new (collection.HasNextIterator$(E)).new(_iterator); + } get hasNext() { if (this[_state$] === 2) this[_move](); return this[_state$] === 0; } next() { if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); - if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); let result = this[_iterator$0].current; this[_move](); return result; @@ -37917,7 +40665,7 @@ collection.HasNextIterator$ = dart.generic(E => { } } (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); this[_state$] = 2; this[_iterator$0] = _iterator; ; @@ -37934,12 +40682,13 @@ collection.HasNextIterator$ = dart.generic(E => { __proto__: dart.getGetters(HasNextIterator.__proto__), hasNext: core.bool })); - dart.setLibraryUri(HasNextIterator, I[24]); + dart.setLibraryUri(HasNextIterator, I[25]); dart.setFieldSignature(HasNextIterator, () => ({ __proto__: dart.getFields(HasNextIterator.__proto__), [_iterator$0]: dart.fieldType(core.Iterator$(E)), [_state$]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(HasNextIterator, () => ['_HAS_NEXT_AND_NEXT_IN_CURRENT', '_NO_NEXT', '_NOT_MOVED_YET']); return HasNextIterator; }); collection.HasNextIterator = collection.HasNextIterator$(); @@ -37959,7 +40708,7 @@ const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); collection.LinkedHashMap$ = dart.generic((K, V) => { class LinkedHashMap extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -37971,55 +40720,87 @@ collection.LinkedHashMap$ = dart.generic((K, V) => { } return new (_js_helper.LinkedMap$(K, V)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (_js_helper.IdentityMap$(K, V)).new(); } - return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (_js_helper.CustomHashMap$(K, V)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](K, V, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashMap$(K, V).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); } static from(other) { - if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); let result = new (_js_helper.LinkedMap$(K, V)).new(); other[$forEach](dart.fn((k, v) => { result[$_set](K.as(k), V.as(v)); }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 184, 52, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } static of(other) { - let t171; - if (other == null) dart.nullFailed(I[80], 94, 38, "other"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addAll](other); - return t171; + t152[$addAll](other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[83], 199, 38, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[83], 220, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } static fromIterables(keys, values) { - if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); - if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); let map = new (_js_helper.LinkedMap$(K, V)).new(); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[83], 244, 51, "keys"); + if (values == null) dart.nullFailed(I[83], 244, 69, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } static fromEntries(entries) { - let t171; - if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); - t171 = new (_js_helper.LinkedMap$(K, V)).new(); + let t152; + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + t152 = new (_js_helper.LinkedMap$(K, V)).new(); return (() => { - t171[$addEntries](entries); - return t171; + t152[$addEntries](entries); + return t152; })(); } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); + return collection.LinkedHashMap$(K, V).fromEntries(entries); + } } (LinkedHashMap[dart.mixinNew] = function() { }).prototype = LinkedHashMap.prototype; @@ -38028,7 +40809,9 @@ collection.LinkedHashMap$ = dart.generic((K, V) => { LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; dart.addTypeCaches(LinkedHashMap); LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - dart.setLibraryUri(LinkedHashMap, I[24]); + dart.setStaticMethodSignature(LinkedHashMap, () => ['new', 'identity', 'from', 'of', 'fromIterable', 'fromIterables', 'fromEntries']); + dart.setLibraryUri(LinkedHashMap, I[25]); + dart.setStaticFieldSignature(LinkedHashMap, () => ['_redirecting#']); return LinkedHashMap; }); collection.LinkedHashMap = collection.LinkedHashMap$(); @@ -38037,7 +40820,7 @@ const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); collection.LinkedHashSet$ = dart.generic(E => { class LinkedHashSet extends core.Object { static new(opts) { - let t171, t171$, t171$0; + let t152, t152$, t152$0; let equals = opts && 'equals' in opts ? opts.equals : null; let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; @@ -38049,31 +40832,48 @@ collection.LinkedHashSet$ = dart.generic(E => { } return new (collection._HashSet$(E)).new(); } - hashCode = C[74] || CT.C74; - } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + hashCode = C[76] || CT.C76; + } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { return new (collection._IdentityHashSet$(E)).new(); } - return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + return new (collection._CustomHashSet$(E)).new((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); } - return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + return new (collection._CustomKeyHashSet$(E)).new((t152$ = equals, t152$ == null ? C[79] || CT.C79 : t152$), (t152$0 = hashCode, t152$0 == null ? C[76] || CT.C76 : t152$0), isValidKey); + } + static ['_#new#tearOff'](E, opts) { + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.LinkedHashSet$(E).new({equals: equals, hashCode: hashCode, isValidKey: isValidKey}); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); let result = new (collection._HashSet$(E)).new(); for (let element of elements) { result.add(E.as(element)); } return result; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 173, 48, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } static of(elements) { - let t171; - if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); - t171 = new (collection._HashSet$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + t152 = new (collection._HashSet$(E)).new(); return (() => { - t171.addAll(elements); - return t171; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); } @@ -38084,7 +40884,9 @@ collection.LinkedHashSet$ = dart.generic(E => { LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; dart.addTypeCaches(LinkedHashSet); LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setLibraryUri(LinkedHashSet, I[24]); + dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); + dart.setLibraryUri(LinkedHashSet, I[25]); + dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); return LinkedHashSet; }); collection.LinkedHashSet = collection.LinkedHashSet$(); @@ -38099,38 +40901,41 @@ var _next$2 = dart.privateName(collection, "_next"); var _previous$2 = dart.privateName(collection, "_previous"); const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); collection.LinkedList$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_LinkedListIteratorOfE = () => (__t$_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedList extends core.Iterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection.LinkedList$(E)).new(); + } addFirst(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + if (entry == null) dart.nullFailed(I[85], 90, 19, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: true}); this[_first] = entry; } add(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + if (entry == null) dart.nullFailed(I[85], 96, 14, "entry"); this[_insertBefore](this[_first], entry, {updateFirst: false}); } addAll(entries) { - IterableOfE().as(entries); - if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + __t$IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[85], 101, 27, "entries"); entries[$forEach](dart.bind(this, 'add')); } remove(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (entry == null) dart.nullFailed(I[85], 111, 17, "entry"); if (!dart.equals(entry[_list$0], this)) return false; this[_unlink](entry); return true; } contains(entry) { - return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; } get iterator() { - return new (_LinkedListIteratorOfE()).new(this); + return new (__t$_LinkedListIteratorOfE()).new(this); } get length() { return this[_length$0]; @@ -38169,7 +40974,7 @@ collection.LinkedList$ = dart.generic(E => { return dart.nullCheck(this[_first]); } forEach(action) { - if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + if (action == null) dart.nullFailed(I[85], 171, 21, "action"); let modificationCount = this[_modificationCount]; if (dart.test(this.isEmpty)) return; let current = dart.nullCheck(this[_first]); @@ -38185,18 +40990,18 @@ collection.LinkedList$ = dart.generic(E => { return this[_length$0] === 0; } [_insertBefore](entry, newEntry, opts) { - EN().as(entry); + __t$EN().as(entry); E.as(newEntry); - if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + if (newEntry == null) dart.nullFailed(I[85], 191, 34, "newEntry"); let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; - if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (updateFirst == null) dart.nullFailed(I[85], 191, 59, "updateFirst"); if (newEntry.list != null) { dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); } this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; newEntry[_list$0] = this; if (dart.test(this.isEmpty)) { - if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + if (!(entry == null)) dart.assertFailed(null, I[85], 199, 14, "entry == null"); newEntry[_previous$2] = newEntry[_next$2] = newEntry; this[_first] = newEntry; this[_length$0] = dart.notNull(this[_length$0]) + 1; @@ -38215,7 +41020,7 @@ collection.LinkedList$ = dart.generic(E => { } [_unlink](entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + if (entry == null) dart.nullFailed(I[85], 217, 18, "entry"); this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; @@ -38253,7 +41058,7 @@ collection.LinkedList$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(LinkedList, I[24]); + dart.setLibraryUri(LinkedList, I[25]); dart.setFieldSignature(LinkedList, () => ({ __proto__: dart.getFields(LinkedList.__proto__), [_modificationCount]: dart.fieldType(core.int), @@ -38278,6 +41083,10 @@ var _visitedFirst = dart.privateName(collection, "_visitedFirst"); const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); collection._LinkedListIterator$ = dart.generic(E => { class _LinkedListIterator extends core.Object { + static ['_#new#tearOff'](E, list) { + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); + return new (collection._LinkedListIterator$(E)).new(list); + } get current() { return dart.nullCast(this[_current$1], E); } @@ -38296,7 +41105,7 @@ collection._LinkedListIterator$ = dart.generic(E => { } } (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + if (list == null) dart.nullFailed(I[85], 238, 37, "list"); this[_current$1] = null; this[_list$0] = list; this[_modificationCount] = list[_modificationCount]; @@ -38316,7 +41125,7 @@ collection._LinkedListIterator$ = dart.generic(E => { __proto__: dart.getGetters(_LinkedListIterator.__proto__), current: E })); - dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setLibraryUri(_LinkedListIterator, I[25]); dart.setFieldSignature(_LinkedListIterator, () => ({ __proto__: dart.getFields(_LinkedListIterator.__proto__), [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), @@ -38334,27 +41143,27 @@ var _next$3 = dart.privateName(collection, "LinkedListEntry._next"); var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); collection.LinkedListEntry$ = dart.generic(E => { - var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); - var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$LinkedListOfE = () => (__t$LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var __t$LinkedListNOfE = () => (__t$LinkedListNOfE = dart.constFn(dart.nullable(__t$LinkedListOfE())))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class LinkedListEntry extends core.Object { get [_list$0]() { return this[_list$1]; } set [_list$0](value) { - this[_list$1] = LinkedListNOfE().as(value); + this[_list$1] = __t$LinkedListNOfE().as(value); } get [_next$2]() { return this[_next$3]; } set [_next$2](value) { - this[_next$3] = EN().as(value); + this[_next$3] = __t$EN().as(value); } get [_previous$2]() { return this[_previous$3]; } set [_previous$2](value) { - this[_previous$3] = EN().as(value); + this[_previous$3] = __t$EN().as(value); } get list() { return this[_list$0]; @@ -38372,12 +41181,12 @@ collection.LinkedListEntry$ = dart.generic(E => { } insertAfter(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + if (entry == null) dart.nullFailed(I[85], 312, 22, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); } insertBefore(entry) { E.as(entry); - if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + if (entry == null) dart.nullFailed(I[85], 320, 23, "entry"); dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); } } @@ -38402,7 +41211,7 @@ collection.LinkedListEntry$ = dart.generic(E => { next: dart.nullable(E), previous: dart.nullable(E) })); - dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setLibraryUri(LinkedListEntry, I[25]); dart.setFieldSignature(LinkedListEntry, () => ({ __proto__: dart.getFields(LinkedListEntry.__proto__), [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), @@ -38415,8 +41224,12 @@ collection.LinkedListEntry = collection.LinkedListEntry$(); dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); collection._MapBaseValueIterable$ = dart.generic((K, V) => { - var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + var __t$_MapBaseValueIteratorOfK$V = () => (__t$_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); + return new (collection._MapBaseValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][$length]; } @@ -38436,11 +41249,11 @@ collection._MapBaseValueIterable$ = dart.generic((K, V) => { return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); } get iterator() { - return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); } } (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); this[_map$5] = _map; _MapBaseValueIterable.__proto__.new.call(this); ; @@ -38453,7 +41266,7 @@ collection._MapBaseValueIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setLibraryUri(_MapBaseValueIterable, I[25]); dart.setFieldSignature(_MapBaseValueIterable, () => ({ __proto__: dart.getFields(_MapBaseValueIterable.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38475,6 +41288,10 @@ var _keys = dart.privateName(collection, "_keys"); const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); collection._MapBaseValueIterator$ = dart.generic((K, V) => { class _MapBaseValueIterator extends core.Object { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); + return new (collection._MapBaseValueIterator$(K, V)).new(map); + } moveNext() { if (dart.test(this[_keys].moveNext())) { this[_current$1] = this[_map$5][$_get](this[_keys].current); @@ -38488,7 +41305,7 @@ collection._MapBaseValueIterator$ = dart.generic((K, V) => { } } (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + if (map == null) dart.nullFailed(I[37], 248, 35, "map"); this[_current$1] = null; this[_map$5] = map; this[_keys] = map[$keys][$iterator]; @@ -38506,7 +41323,7 @@ collection._MapBaseValueIterator$ = dart.generic((K, V) => { __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), current: V })); - dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setLibraryUri(_MapBaseValueIterator, I[25]); dart.setFieldSignature(_MapBaseValueIterator, () => ({ __proto__: dart.getFields(_MapBaseValueIterator.__proto__), [_keys]: dart.finalFieldType(core.Iterator$(K)), @@ -38520,13 +41337,13 @@ dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_de var _map$8 = dart.privateName(collection, "MapView._map"); const _is_MapView_default = Symbol('_is_MapView_default'); collection.MapView$ = dart.generic((K, V) => { - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); - var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$MapEntryOfK$V = () => (__t$MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var __t$IterableOfMapEntryOfK$V = () => (__t$IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(__t$MapEntryOfK$V())))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); class MapView extends core.Object { get [_map$5]() { return this[_map$8]; @@ -38534,6 +41351,10 @@ collection.MapView$ = dart.generic((K, V) => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); + return new (collection.MapView$(K, V)).new(map); + } cast(RK, RV) { return this[_map$5][$cast](RK, RV); } @@ -38548,8 +41369,8 @@ collection.MapView$ = dart.generic((K, V) => { return value$; } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[37], 330, 25, "other"); this[_map$5][$addAll](other); } clear() { @@ -38557,8 +41378,8 @@ collection.MapView$ = dart.generic((K, V) => { } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); return this[_map$5][$putIfAbsent](key, ifAbsent); } containsKey(key) { @@ -38568,7 +41389,7 @@ collection.MapView$ = dart.generic((K, V) => { return this[_map$5][$containsValue](value); } forEach(action) { - if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + if (action == null) dart.nullFailed(I[37], 341, 21, "action"); this[_map$5][$forEach](action); } get isEmpty() { @@ -38596,34 +41417,34 @@ collection.MapView$ = dart.generic((K, V) => { return this[_map$5][$entries]; } addEntries(entries) { - IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + __t$IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[37], 355, 44, "entries"); this[_map$5][$addEntries](entries); } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + if (transform == null) dart.nullFailed(I[37], 359, 44, "transform"); return this[_map$5][$map](K2, V2, transform); } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[37], 362, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[37], 365, 20, "update"); this[_map$5][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + if (test == null) dart.nullFailed(I[37], 369, 25, "test"); this[_map$5][$removeWhere](test); } } (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + if (map == null) dart.nullFailed(I[37], 322, 27, "map"); this[_map$8] = map; ; }).prototype = MapView.prototype; @@ -38680,7 +41501,7 @@ collection.MapView$ = dart.generic((K, V) => { entries: core.Iterable$(core.MapEntry$(K, V)), [$entries]: core.Iterable$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(MapView, I[24]); + dart.setLibraryUri(MapView, I[25]); dart.setFieldSignature(MapView, () => ({ __proto__: dart.getFields(MapView.__proto__), [_map$5]: dart.finalFieldType(core.Map$(K, V)) @@ -38723,12 +41544,16 @@ collection.UnmodifiableMapView$ = dart.generic((K, V) => { }).prototype = MapView__UnmodifiableMapMixin$36.prototype; dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); + return new (collection.UnmodifiableMapView$(K, V)).new(map); + } cast(RK, RV) { return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); } } (UnmodifiableMapView.new = function(map) { - if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + if (map == null) dart.nullFailed(I[37], 392, 33, "map"); UnmodifiableMapView.__proto__.new.call(this, map); ; }).prototype = UnmodifiableMapView.prototype; @@ -38740,7 +41565,7 @@ collection.UnmodifiableMapView$ = dart.generic((K, V) => { cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.setLibraryUri(UnmodifiableMapView, I[25]); dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); return UnmodifiableMapView; }); @@ -38749,8 +41574,19 @@ dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_defaul const _is_Queue_default = Symbol('_is_Queue_default'); collection.Queue$ = dart.generic(E => { class Queue extends core.Object { + static ['_#new#tearOff'](E) { + return new (collection.ListQueue$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 52, 31, "elements"); + return collection.ListQueue$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 58, 32, "elements"); + return collection.ListQueue$(E).of(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + if (source == null) dart.nullFailed(I[86], 76, 43, "source"); return new (_internal.CastQueue$(S, T)).new(source); } [Symbol.iterator]() { @@ -38763,176 +41599,71 @@ collection.Queue$ = dart.generic(E => { Queue.prototype[_is_Queue_default] = true; dart.addTypeCaches(Queue); Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(Queue, I[24]); + dart.setStaticMethodSignature(Queue, () => ['new', 'from', 'of', 'castFrom']); + dart.setLibraryUri(Queue, I[25]); + dart.setStaticFieldSignature(Queue, () => ['_redirecting#']); return Queue; }); collection.Queue = collection.Queue$(); dart.addTypeTests(collection.Queue, _is_Queue_default); -var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); -var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); -var _previousLink$ = dart.privateName(collection, "_previousLink"); -var _nextLink$ = dart.privateName(collection, "_nextLink"); -var _link = dart.privateName(collection, "_link"); -const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); -collection._DoubleLink$ = dart.generic(Link => { - var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); - class _DoubleLink extends core.Object { - get [_previousLink$]() { - return this[_previousLink]; - } - set [_previousLink$](value) { - this[_previousLink] = LinkN().as(value); - } - get [_nextLink$]() { - return this[_nextLink]; - } - set [_nextLink$](value) { - this[_nextLink] = LinkN().as(value); - } - [_link](previous, next) { - this[_nextLink$] = next; - this[_previousLink$] = previous; - if (previous != null) previous[_nextLink$] = Link.as(this); - if (next != null) next[_previousLink$] = Link.as(this); - } - [_unlink]() { - if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; - if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; - this[_nextLink$] = null; - this[_previousLink$] = null; - } - } - (_DoubleLink.new = function() { - this[_previousLink] = null; - this[_nextLink] = null; - ; - }).prototype = _DoubleLink.prototype; - dart.addTypeTests(_DoubleLink); - _DoubleLink.prototype[_is__DoubleLink_default] = true; - dart.addTypeCaches(_DoubleLink); - dart.setMethodSignature(_DoubleLink, () => ({ - __proto__: dart.getMethods(_DoubleLink.__proto__), - [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), - [_unlink]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_DoubleLink, I[24]); - dart.setFieldSignature(_DoubleLink, () => ({ - __proto__: dart.getFields(_DoubleLink.__proto__), - [_previousLink$]: dart.fieldType(dart.nullable(Link)), - [_nextLink$]: dart.fieldType(dart.nullable(Link)) - })); - return _DoubleLink; -}); -collection._DoubleLink = collection._DoubleLink$(); -dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); -var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); -var _element = dart.privateName(collection, "_element"); -const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); -collection.DoubleLinkedQueueEntry$ = dart.generic(E => { - var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); - class DoubleLinkedQueueEntry extends collection._DoubleLink { - get [_element]() { - return this[_element$]; - } - set [_element](value) { - this[_element$] = value; - } - get element() { - return E.as(this[_element]); - } - set element(element) { - E.as(element); - this[_element] = element; - } - append(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); - } - prepend(e) { - E.as(e); - new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); - } - remove() { - this[_unlink](); - return this.element; - } - previousEntry() { - return this[_previousLink$]; - } - nextEntry() { - return this[_nextLink$]; - } - } - (DoubleLinkedQueueEntry.new = function(_element) { - this[_element$] = _element; - DoubleLinkedQueueEntry.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueueEntry.prototype; - dart.addTypeTests(DoubleLinkedQueueEntry); - DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; - dart.addTypeCaches(DoubleLinkedQueueEntry); - dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), - append: dart.fnType(dart.void, [dart.nullable(core.Object)]), - prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(E, []), - previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) - })); - dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), - element: E - })); - dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), - element: dart.nullable(core.Object) - })); - dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); - dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), - [_element]: dart.fieldType(dart.nullable(E)) - })); - return DoubleLinkedQueueEntry; -}, E => { - dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); -}); -collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); -dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); -var _queue$ = dart.privateName(collection, "_queue"); +var _previousLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._previousLink"); +var _nextLink$0 = dart.privateName(collection, "_DoubleLinkedQueueEntry._nextLink"); +var _previousLink$1 = dart.privateName(collection, "_previousLink"); +var _nextLink$1 = dart.privateName(collection, "_nextLink"); +var _link$ = dart.privateName(collection, "_link"); var _append = dart.privateName(collection, "_append"); var _prepend = dart.privateName(collection, "_prepend"); -var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { - [_append](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); - } - [_prepend](e) { - E.as(e); - new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + var __t$_DoubleLinkedQueueEntryOfE = () => (__t$_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var __t$_DoubleLinkedQueueEntryNOfE = () => (__t$_DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$_DoubleLinkedQueueEntryOfE())))(); + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$_DoubleLinkedQueueElementOfE = () => (__t$_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + class _DoubleLinkedQueueEntry extends core.Object { + get [_previousLink$1]() { + return this[_previousLink$0]; + } + set [_previousLink$1](value) { + this[_previousLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + get [_nextLink$1]() { + return this[_nextLink$0]; + } + set [_nextLink$1](value) { + this[_nextLink$0] = __t$_DoubleLinkedQueueEntryNOfE().as(value); + } + [_link$](previous, next) { + let t152, t152$; + this[_nextLink$1] = next; + this[_previousLink$1] = previous; + t152 = previous; + t152 == null ? null : t152[_nextLink$1] = this; + t152$ = next; + t152$ == null ? null : t152$[_previousLink$1] = this; } - get [_element]() { - return E.as(super[_element]); - } - set [_element](value) { - super[_element] = value; - } - nextEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); - return entry[_asNonSentinelEntry](); + [_unlink]() { + let t152, t152$; + t152 = this[_previousLink$1]; + t152 == null ? null : t152[_nextLink$1] = this[_nextLink$1]; + t152$ = this[_nextLink$1]; + t152$ == null ? null : t152$[_previousLink$1] = this[_previousLink$1]; + this[_previousLink$1] = this[_nextLink$1] = null; + } + [_append](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this, this[_nextLink$1]); } - previousEntry() { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); - return entry[_asNonSentinelEntry](); + [_prepend](element, queue) { + E.as(element); + __t$DoubleLinkedQueueNOfE().as(queue); + new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); } } - (_DoubleLinkedQueueEntry.new = function(element, _queue) { - this[_queue$] = _queue; - _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + (_DoubleLinkedQueueEntry.new = function() { + this[_previousLink$0] = null; + this[_nextLink$0] = null; ; }).prototype = _DoubleLinkedQueueEntry.prototype; dart.addTypeTests(_DoubleLinkedQueueEntry); @@ -38940,75 +41671,146 @@ collection._DoubleLinkedQueueEntry$ = dart.generic(E => { dart.addTypeCaches(_DoubleLinkedQueueEntry); dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), - [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + [_link$]: dart.fnType(dart.void, [dart.nullable(collection._DoubleLinkedQueueEntry$(E)), dart.nullable(collection._DoubleLinkedQueueEntry$(E))]), + [_unlink]: dart.fnType(dart.void, []), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) })); - dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), - [_element]: E - })); - dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + [_previousLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), + [_nextLink$1]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))) })); return _DoubleLinkedQueueEntry; }); collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); +var _queue$ = dart.privateName(collection, "_DoubleLinkedQueueElement._queue"); +var element$0 = dart.privateName(collection, "_DoubleLinkedQueueElement.element"); +var _queue$0 = dart.privateName(collection, "_queue"); var _elementCount = dart.privateName(collection, "_elementCount"); var _remove = dart.privateName(collection, "_remove"); +var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); +var _nextLink_ = dart.privateName(collection, "_nextLink="); +var _previousLink_ = dart.privateName(collection, "_previousLink="); const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); collection._DoubleLinkedQueueElement$ = dart.generic(E => { + var __t$DoubleLinkedQueueOfE = () => (__t$DoubleLinkedQueueOfE = dart.constFn(collection.DoubleLinkedQueue$(E)))(); + var __t$DoubleLinkedQueueNOfE = () => (__t$DoubleLinkedQueueNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueOfE())))(); + var __t$DoubleLinkedQueueEntryOfE = () => (__t$DoubleLinkedQueueEntryOfE = dart.constFn(_internal.DoubleLinkedQueueEntry$(E)))(); + var __t$DoubleLinkedQueueEntryNOfE = () => (__t$DoubleLinkedQueueEntryNOfE = dart.constFn(dart.nullable(__t$DoubleLinkedQueueEntryOfE())))(); class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + get [_queue$0]() { + return this[_queue$]; + } + set [_queue$0](value) { + this[_queue$] = __t$DoubleLinkedQueueNOfE().as(value); + } + get element() { + return this[element$0]; + } + set element(value) { + this[element$0] = E.as(value); + } + static ['_#new#tearOff'](E, element, _queue) { + return new (collection._DoubleLinkedQueueElement$(E)).new(element, _queue); + } append(e) { - let t171; + let t152; E.as(e); - this[_append](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_append](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } prepend(e) { - let t171; + let t152; E.as(e); - this[_prepend](e); - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; - } + this[_prepend](e, this[_queue$0]); + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; } [_remove]() { - this[_queue$] = null; + this[_queue$0] = null; this[_unlink](); return this.element; } remove() { - let t171; - if (this[_queue$] != null) { - t171 = dart.nullCheck(this[_queue$]); - t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; - } + let t152; + t152 = this[_queue$0]; + t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) - 1; return this[_remove](); } [_asNonSentinelEntry]() { return this; } + previousEntry() { + let t152; + t152 = this[_previousLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + nextEntry() { + let t152; + t152 = this[_nextLink$1]; + return t152 == null ? null : t152[_asNonSentinelEntry](); + } + [_link](previous, next) { + __t$DoubleLinkedQueueEntryNOfE().as(previous); + __t$DoubleLinkedQueueEntryNOfE().as(next); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[80] || CT.C80, null, [previous, next]))); + } + get [_nextLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[81] || CT.C81))); + } + get [_previousLink$]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[82] || CT.C82))); + } + set [_nextLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[83] || CT.C83, value))); + } + set [_previousLink$](value) { + __t$DoubleLinkedQueueEntryNOfE().as(value); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[84] || CT.C84, value))); + } } - (_DoubleLinkedQueueElement.new = function(element, queue) { - _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + (_DoubleLinkedQueueElement.new = function(element, _queue) { + this[element$0] = element; + this[_queue$] = _queue; + _DoubleLinkedQueueElement.__proto__.new.call(this); ; }).prototype = _DoubleLinkedQueueElement.prototype; dart.addTypeTests(_DoubleLinkedQueueElement); _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; dart.addTypeCaches(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement[dart.implements] = () => [_internal.DoubleLinkedQueueEntry$(E)]; dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_remove]: dart.fnType(E, []), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + remove: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(collection._DoubleLinkedQueueElement$(E), []), + previousEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + [_link]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), + [_previousLink$]: dart.nullable(_internal.DoubleLinkedQueueEntry$(E)) + })); + dart.setSetterSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getSetters(_DoubleLinkedQueueElement.__proto__), + [_nextLink$]: dart.nullable(core.Object), + [_previousLink$]: dart.nullable(core.Object) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[25]); + dart.setFieldSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueElement.__proto__), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + element: dart.fieldType(E) })); - dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); return _DoubleLinkedQueueElement; }); collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); @@ -39016,80 +41818,76 @@ dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueEl const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + static ['_#new#tearOff'](E) { + return new (collection._DoubleLinkedQueueSentinel$(E)).new(); + } [_asNonSentinelEntry]() { return null; } [_remove]() { dart.throw(_internal.IterableElementError.noElement()); } - get [_element]() { + get element() { dart.throw(_internal.IterableElementError.noElement()); } - set [_element](value) { - super[_element] = value; - } } - (_DoubleLinkedQueueSentinel.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); - _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); - this[_previousLink$] = this; - this[_nextLink$] = this; + (_DoubleLinkedQueueSentinel.new = function() { + _DoubleLinkedQueueSentinel.__proto__.new.call(this); + this[_previousLink$1] = this; + this[_nextLink$1] = this; }).prototype = _DoubleLinkedQueueSentinel.prototype; dart.addTypeTests(_DoubleLinkedQueueSentinel); _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; dart.addTypeCaches(_DoubleLinkedQueueSentinel); dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), - [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_asNonSentinelEntry]: dart.fnType(core.Null, []), [_remove]: dart.fnType(E, []) })); - dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + dart.setGetterSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueSentinel.__proto__), + element: E + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[25]); return _DoubleLinkedQueueSentinel; }); collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); -var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); -var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); var _sentinel = dart.privateName(collection, "_sentinel"); const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); collection.DoubleLinkedQueue$ = dart.generic(E => { - var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); - var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); - var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + var __t$_DoubleLinkedQueueSentinelOfE = () => (__t$_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$_DoubleLinkedQueueIteratorOfE = () => (__t$_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); class DoubleLinkedQueue extends core.Iterable$(E) { - get [_sentinel]() { - let t171; - if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { - this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - } - t171 = this[__DoubleLinkedQueue__sentinel]; - return t171; - } - set [_sentinel](t171) { - if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); - this[__DoubleLinkedQueue__sentinel_isSet] = true; - this[__DoubleLinkedQueue__sentinel] = t171; + static ['_#new#tearOff'](E) { + return new (collection.DoubleLinkedQueue$(E)).new(); } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); let list = new (collection.DoubleLinkedQueue$(E)).new(); for (let e of elements) { list.addLast(E.as(e)); } return list; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 286, 52, "elements"); + return collection.DoubleLinkedQueue$(E).from(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); - t172 = new (collection.DoubleLinkedQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + t152 = new (collection.DoubleLinkedQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); + return collection.DoubleLinkedQueue$(E).of(elements); + } cast(R) { return collection.Queue.castFrom(E, R, this); } @@ -39098,44 +41896,44 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { } addLast(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addFirst(value) { E.as(value); - this[_sentinel][_append](value); + this[_sentinel][_append](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } add(value) { E.as(value); - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[86], 320, 27, "iterable"); for (let value of iterable) { - this[_sentinel][_prepend](value); + this[_sentinel][_prepend](value, this); this[_elementCount] = dart.notNull(this[_elementCount]) + 1; } } removeLast() { - let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); - let result = lastEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } removeFirst() { - let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - let result = firstEntry[_remove](); + let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return result; } remove(o) { - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let equals = dart.equals(entry[_element], o); - if (this !== entry[_queue$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return false; + let equals = dart.equals(elementEntry.element, o); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } if (equals) { @@ -39143,89 +41941,101 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { this[_elementCount] = dart.notNull(this[_elementCount]) - 1; return true; } - entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + entry = dart.nullCheck(entry[_nextLink$1]); } - return false; } [_filter](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 366, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let matches = test(entry[_element]); - if (this !== entry[_queue$]) { + if (test == null) dart.nullFailed(I[86], 360, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 360, 43, "removeMatching"); + let entry = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let elementEntry = entry[_asNonSentinelEntry](); + if (elementEntry == null) return; + let matches = test(elementEntry.element); + if (this !== elementEntry[_queue$0]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - let next = dart.nullCheck(entry[_nextLink$]); + let next = dart.nullCheck(entry[_nextLink$1]); if (removeMatching == matches) { - entry[_remove](); + elementEntry[_remove](); this[_elementCount] = dart.notNull(this[_elementCount]) - 1; } - entry = _DoubleLinkedQueueEntryOfE().as(next); + entry = next; } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + if (test == null) dart.nullFailed(I[86], 379, 25, "test"); this[_filter](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + if (test == null) dart.nullFailed(I[86], 383, 25, "test"); this[_filter](test, false); } get first() { - let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(firstEntry[_element]); + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } get last() { - let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); - return E.as(lastEntry[_element]); + return dart.nullCheck(this[_sentinel][_previousLink$1]).element; } get single() { - if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { - let entry = dart.nullCheck(this[_sentinel][_nextLink$]); - return E.as(entry[_element]); + if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { + return dart.nullCheck(this[_sentinel][_nextLink$1]).element; } dart.throw(_internal.IterableElementError.tooMany()); } firstEntry() { - return this[_sentinel].nextEntry(); + return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); } lastEntry() { - return this[_sentinel].previousEntry(); + return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); } get isEmpty() { - return this[_sentinel][_nextLink$] == this[_sentinel]; + return this[_sentinel][_nextLink$1] == this[_sentinel]; } clear() { - this[_sentinel][_nextLink$] = this[_sentinel]; - this[_sentinel][_previousLink$] = this[_sentinel]; + let t152; + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let entry = cursor[_asNonSentinelEntry](); + if (entry == null) break; + cursor = dart.nullCheck(cursor[_nextLink$1]); + t152 = entry; + (() => { + t152[_nextLink$1] = null; + t152[_previousLink$1] = null; + t152[_queue$0] = null; + return t152; + })(); + } + this[_sentinel][_nextLink$1] = this[_sentinel]; + this[_sentinel][_previousLink$1] = this[_sentinel]; this[_elementCount] = 0; } forEachEntry(action) { - if (action == null) dart.nullFailed(I[83], 466, 26, "action"); - let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); - while (entry != this[_sentinel]) { - let element = _DoubleLinkedQueueElementOfE().as(entry); - let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); - action(element); - if (this === entry[_queue$]) { - next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); - } else if (this !== next[_queue$]) { + if (action == null) dart.nullFailed(I[86], 462, 26, "action"); + let cursor = dart.nullCheck(this[_sentinel][_nextLink$1]); + while (true) { + let element = cursor[_asNonSentinelEntry](); + if (element == null) break; + if (element[_queue$0] !== this) { dart.throw(new core.ConcurrentModificationError.new(this)); } - entry = next; + cursor = dart.nullCheck(cursor[_nextLink$1]); + action(element); + if (this === element[_queue$0]) { + cursor = dart.nullCheck(element[_nextLink$1]); + } } } get iterator() { - return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); } toString() { return collection.IterableBase.iterableToFullString(this, "{", "}"); } } (DoubleLinkedQueue.new = function() { - this[__DoubleLinkedQueue__sentinel] = null; - this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); this[_elementCount] = 0; DoubleLinkedQueue.__proto__.new.call(this); ; @@ -39248,26 +42058,21 @@ collection.DoubleLinkedQueue$ = dart.generic(E => { [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), - lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + firstEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(_internal.DoubleLinkedQueueEntry$(E)), []), clear: dart.fnType(dart.void, []), - forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [_internal.DoubleLinkedQueueEntry$(E)])]) })); + dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); dart.setGetterSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), iterator: collection._DoubleLinkedQueueIterator$(E), [$iterator]: collection._DoubleLinkedQueueIterator$(E) })); - dart.setSetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), - [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setLibraryUri(DoubleLinkedQueue, I[25]); dart.setFieldSignature(DoubleLinkedQueue, () => ({ __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), [_elementCount]: dart.fieldType(core.int) })); dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); @@ -39286,32 +42091,36 @@ dart.addTypeTests(collection.DoubleLinkedQueue, _is_DoubleLinkedQueue_default); var _nextEntry = dart.privateName(collection, "_nextEntry"); const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); collection._DoubleLinkedQueueIterator$ = dart.generic(E => { - var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); class _DoubleLinkedQueueIterator extends core.Object { + static ['_#new#tearOff'](E, _queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); + return new (collection._DoubleLinkedQueueIterator$(E)).new(_queue); + } moveNext() { - if (this[_nextEntry] == this[_sentinel]) { + let t152; + let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); + if (nextElement == null) { this[_current$1] = null; this[_nextEntry] = null; - this[_sentinel] = null; + this[_queue$0] = null; return false; } - let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); - if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { - dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + if (this[_queue$0] != nextElement[_queue$0]) { + dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); } - this[_current$1] = elementEntry[_element]; - this[_nextEntry] = elementEntry[_nextLink$]; + this[_current$1] = nextElement.element; + this[_nextEntry] = nextElement[_nextLink$1]; return true; } get current() { return E.as(this[_current$1]); } } - (_DoubleLinkedQueueIterator.new = function(sentinel) { - if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + (_DoubleLinkedQueueIterator.new = function(_queue) { + if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); this[_current$1] = null; - this[_sentinel] = sentinel; - this[_nextEntry] = sentinel[_nextLink$]; + this[_queue$0] = _queue; + this[_nextEntry] = _queue[_sentinel][_nextLink$1]; ; }).prototype = _DoubleLinkedQueueIterator.prototype; dart.addTypeTests(_DoubleLinkedQueueIterator); @@ -39326,11 +42135,11 @@ collection._DoubleLinkedQueueIterator$ = dart.generic(E => { __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), - [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_queue$0]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueEntry$(E))), [_current$1]: dart.fieldType(dart.nullable(E)) })); return _DoubleLinkedQueueIterator; @@ -39348,27 +42157,34 @@ var _grow$ = dart.privateName(collection, "_grow"); var _writeToList = dart.privateName(collection, "_writeToList"); const _is_ListQueue_default = Symbol('_is_ListQueue_default'); collection.ListQueue$ = dart.generic(E => { - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); - var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); - var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); - var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); + var __t$ListOfEN = () => (__t$ListOfEN = dart.constFn(core.List$(__t$EN())))(); + var __t$_ListQueueIteratorOfE = () => (__t$_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var __t$ListOfE = () => (__t$ListOfE = dart.constFn(core.List$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class ListQueue extends _internal.ListIterable$(E) { + static ['_#new#tearOff'](E, initialCapacity = null) { + return new (collection.ListQueue$(E)).new(initialCapacity); + } static _calculateCapacity(initialCapacity) { if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { return 8; } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { return collection.ListQueue._nextPowerOf2(initialCapacity); } - if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[86], 608, 12, "_isPowerOf2(initialCapacity)"); return initialCapacity; } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); + return collection.ListQueue$(E).from(elements); + } static from(elements) { - if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (elements == null) dart.nullFailed(I[86], 631, 44, "elements"); if (core.List.is(elements)) { let length = elements[$length]; let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); - if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[86], 635, 14, "queue._table.length > length"); for (let i = 0; i < dart.notNull(length); i = i + 1) { queue[_table][$_set](i, E.as(elements[$_get](i))); } @@ -39386,23 +42202,27 @@ collection.ListQueue$ = dart.generic(E => { return result; } } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + return collection.ListQueue$(E).of(elements); + } static of(elements) { - let t172; - if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); - t172 = new (collection.ListQueue$(E)).new(); + let t152; + if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); + t152 = new (collection.ListQueue$(E)).new(); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } cast(R) { return collection.Queue.castFrom(E, R, this); } get iterator() { - return new (_ListQueueIteratorOfE()).new(this); + return new (__t$_ListQueueIteratorOfE()).new(this); } forEach(f) { - if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + if (f == null) dart.nullFailed(I[86], 672, 21, "f"); let modificationCount = this[_modificationCount]; for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { f(E.as(this[_table][$_get](i))); @@ -39429,17 +42249,17 @@ collection.ListQueue$ = dart.generic(E => { return E.as(this[_table][$_get](this[_head])); } elementAt(index) { - if (index == null) dart.nullFailed(I[83], 633, 19, "index"); - core.RangeError.checkValidIndex(index, this); + if (index == null) dart.nullFailed(I[86], 700, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + if (growable == null) dart.nullFailed(I[86], 705, 24, "growable"); let mask = dart.notNull(this[_table][$length]) - 1; let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; - if (length === 0) return ListOfE().empty({growable: growable}); - let list = ListOfE().filled(length, this.first, {growable: growable}); + if (length === 0) return __t$ListOfE().empty({growable: growable}); + let list = __t$ListOfE().filled(length, this.first, {growable: growable}); for (let i = 0; i < length; i = i + 1) { list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); } @@ -39450,9 +42270,9 @@ collection.ListQueue$ = dart.generic(E => { this[_add$](value); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); - if (ListOfE().is(elements)) { + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[86], 723, 27, "elements"); + if (__t$ListOfE().is(elements)) { let list = elements; let addCount = list[$length]; let length = this.length; @@ -39490,8 +42310,8 @@ collection.ListQueue$ = dart.generic(E => { return false; } [_filterWhere](test, removeMatching) { - if (test == null) dart.nullFailed(I[83], 697, 26, "test"); - if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + if (test == null) dart.nullFailed(I[86], 764, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[86], 764, 48, "removeMatching"); let modificationCount = this[_modificationCount]; let i = this[_head]; while (i != this[_tail]) { @@ -39507,11 +42327,11 @@ collection.ListQueue$ = dart.generic(E => { } } removeWhere(test) { - if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + if (test == null) dart.nullFailed(I[86], 784, 25, "test"); this[_filterWhere](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + if (test == null) dart.nullFailed(I[86], 792, 25, "test"); this[_filterWhere](test, false); } clear() { @@ -39554,12 +42374,12 @@ collection.ListQueue$ = dart.generic(E => { return result; } static _isPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + if (number == null) dart.nullFailed(I[86], 844, 31, "number"); return (dart.notNull(number) & dart.notNull(number) - 1) === 0; } static _nextPowerOf2(number) { - if (number == null) dart.nullFailed(I[83], 784, 32, "number"); - if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + if (number == null) dart.nullFailed(I[86], 851, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[86], 852, 12, "number > 0"); number = (dart.notNull(number) << 1 >>> 0) - 1; for (;;) { let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; @@ -39568,7 +42388,7 @@ collection.ListQueue$ = dart.generic(E => { } } [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); if (expectedModificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } @@ -39580,7 +42400,7 @@ collection.ListQueue$ = dart.generic(E => { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_remove](offset) { - if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + if (offset == null) dart.nullFailed(I[86], 884, 19, "offset"); let mask = dart.notNull(this[_table][$length]) - 1; let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; @@ -39607,7 +42427,7 @@ collection.ListQueue$ = dart.generic(E => { } } [_grow$]() { - let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let newTable = __t$ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); newTable[$setRange](0, split, this[_table], this[_head]); newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); @@ -39616,8 +42436,8 @@ collection.ListQueue$ = dart.generic(E => { this[_table] = newTable; } [_writeToList](target) { - if (target == null) dart.nullFailed(I[83], 856, 29, "target"); - if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (target == null) dart.nullFailed(I[86], 923, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 924, 12, "target.length >= length"); if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); target[$setRange](0, length, this[_table], this[_head]); @@ -39630,11 +42450,11 @@ collection.ListQueue$ = dart.generic(E => { } } [_preGrow](newElementCount) { - if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); - if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + if (newElementCount == null) dart.nullFailed(I[86], 938, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[86], 939, 12, "newElementCount >= length"); newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); - let newTable = ListOfEN().filled(newCapacity, null); + let newTable = __t$ListOfEN().filled(newCapacity, null); this[_tail] = this[_writeToList](newTable); this[_table] = newTable; this[_head] = 0; @@ -39644,7 +42464,7 @@ collection.ListQueue$ = dart.generic(E => { this[_modificationCount] = 0; this[_head] = 0; this[_tail] = 0; - this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); ListQueue.__proto__.new.call(this); ; }).prototype = ListQueue.prototype; @@ -39674,7 +42494,8 @@ collection.ListQueue$ = dart.generic(E => { [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), [_preGrow]: dart.fnType(dart.void, [core.int]) })); - dart.setLibraryUri(ListQueue, I[24]); + dart.setStaticMethodSignature(ListQueue, () => ['_calculateCapacity', 'from', 'of', '_isPowerOf2', '_nextPowerOf2']); + dart.setLibraryUri(ListQueue, I[25]); dart.setFieldSignature(ListQueue, () => ({ __proto__: dart.getFields(ListQueue.__proto__), [_table]: dart.fieldType(core.List$(dart.nullable(E))), @@ -39682,6 +42503,7 @@ collection.ListQueue$ = dart.generic(E => { [_tail]: dart.fieldType(core.int), [_modificationCount]: dart.fieldType(core.int) })); + dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); dart.defineExtensionMethods(ListQueue, [ 'cast', 'forEach', @@ -39711,24 +42533,28 @@ var _position = dart.privateName(collection, "_position"); const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); collection._ListQueueIterator$ = dart.generic(E => { class _ListQueueIterator extends core.Object { + static ['_#new#tearOff'](E, queue) { + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); + return new (collection._ListQueueIterator$(E)).new(queue); + } get current() { return E.as(this[_current$1]); } moveNext() { - this[_queue$][_checkModification](this[_modificationCount]); + this[_queue$0][_checkModification](this[_modificationCount]); if (this[_position] == this[_end]) { this[_current$1] = null; return false; } - this[_current$1] = this[_queue$][_table][$_get](this[_position]); - this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + this[_current$1] = this[_queue$0][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$0][_table][$length]) - 1) >>> 0; return true; } } (_ListQueueIterator.new = function(queue) { - if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + if (queue == null) dart.nullFailed(I[86], 962, 35, "queue"); this[_current$1] = null; - this[_queue$] = queue; + this[_queue$0] = queue; this[_end] = queue[_tail]; this[_modificationCount] = queue[_modificationCount]; this[_position] = queue[_head]; @@ -39746,10 +42572,10 @@ collection._ListQueueIterator$ = dart.generic(E => { __proto__: dart.getGetters(_ListQueueIterator.__proto__), current: E })); - dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setLibraryUri(_ListQueueIterator, I[25]); dart.setFieldSignature(_ListQueueIterator, () => ({ __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), [_end]: dart.finalFieldType(core.int), [_modificationCount]: dart.finalFieldType(core.int), [_position]: dart.fieldType(core.int), @@ -39767,7 +42593,7 @@ collection.SetBase$ = dart.generic(E => { dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); class SetBase extends Object_SetMixin$36 { static setToString(set) { - if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + if (set == null) dart.nullFailed(I[78], 307, 33, "set"); return collection.IterableBase.iterableToFullString(set, "{", "}"); } } @@ -39777,14 +42603,15 @@ collection.SetBase$ = dart.generic(E => { dart.addTypeTests(SetBase); SetBase.prototype[_is_SetBase_default] = true; dart.addTypeCaches(SetBase); - dart.setLibraryUri(SetBase, I[24]); + dart.setStaticMethodSignature(SetBase, () => ['setToString']); + dart.setLibraryUri(SetBase, I[25]); return SetBase; }); collection.SetBase = collection.SetBase$(); dart.addTypeTests(collection.SetBase, _is_SetBase_default); const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); collection._UnmodifiableSetMixin$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); class _UnmodifiableSetMixin extends core.Object { static _throwUnmodifiable() { dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); @@ -39799,28 +42626,28 @@ collection._UnmodifiableSetMixin$ = dart.generic(E => { return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[78], 356, 27, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeAll(elements) { - if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 359, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainAll(elements) { - if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + if (elements == null) dart.nullFailed(I[78], 362, 36, "elements"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + if (test == null) dart.nullFailed(I[78], 365, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + if (test == null) dart.nullFailed(I[78], 368, 25, "test"); collection._UnmodifiableSetMixin._throwUnmodifiable(); return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); } @@ -39850,7 +42677,8 @@ collection._UnmodifiableSetMixin$ = dart.generic(E => { retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); + dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); return _UnmodifiableSetMixin; }); collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); @@ -39858,7 +42686,7 @@ dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_de var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); collection._UnmodifiableSet$ = dart.generic(E => { - var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var __t$_HashSetOfE = () => (__t$_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; (_SetBase__UnmodifiableSetMixin$36.new = function() { _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); @@ -39871,8 +42699,12 @@ collection._UnmodifiableSet$ = dart.generic(E => { set [_map$5](value) { super[_map$5] = value; } + static ['_#new#tearOff'](E, _map) { + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); + return new (collection._UnmodifiableSet$(E)).new(_map); + } [_newSet]() { - return new (_HashSetOfE()).new(); + return new (__t$_HashSetOfE()).new(); } [_newSimilarSet](R) { return new (collection._HashSet$(R)).new(); @@ -39894,7 +42726,7 @@ collection._UnmodifiableSet$ = dart.generic(E => { } } (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); this[_map$9] = _map; _UnmodifiableSet.__proto__.new.call(this); ; @@ -39917,7 +42749,7 @@ collection._UnmodifiableSet$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setLibraryUri(_UnmodifiableSet, I[25]); dart.setFieldSignature(_UnmodifiableSet, () => ({ __proto__: dart.getFields(_UnmodifiableSet.__proto__), [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) @@ -39935,6 +42767,10 @@ collection.UnmodifiableSetView$ = dart.generic(E => { }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + static ['_#new#tearOff'](E, source) { + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); + return new (collection.UnmodifiableSetView$(E)).new(source); + } contains(element) { return this[_source].contains(element); } @@ -39952,7 +42788,7 @@ collection.UnmodifiableSetView$ = dart.generic(E => { } } (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + if (source == null) dart.nullFailed(I[78], 420, 30, "source"); this[_source] = source; ; }).prototype = UnmodifiableSetView.prototype; @@ -39974,7 +42810,7 @@ collection.UnmodifiableSetView$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setLibraryUri(UnmodifiableSetView, I[25]); dart.setFieldSignature(UnmodifiableSetView, () => ({ __proto__: dart.getFields(UnmodifiableSetView.__proto__), [_source]: dart.finalFieldType(core.Set$(E)) @@ -39991,19 +42827,22 @@ var _left$ = dart.privateName(collection, "_left"); var _right$ = dart.privateName(collection, "_right"); const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); collection._SplayTreeNode$ = dart.generic((K, Node) => { - var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + var __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); class _SplayTreeNode extends core.Object { get [_left$]() { return this[_left]; } set [_left$](value) { - this[_left] = NodeN().as(value); + this[_left] = __t$NodeN().as(value); } get [_right$]() { return this[_right]; } set [_right$](value) { - this[_right] = NodeN().as(value); + this[_right] = __t$NodeN().as(value); + } + static ['_#new#tearOff'](K, Node, key) { + return new (collection._SplayTreeNode$(K, Node)).new(key); } } (_SplayTreeNode.new = function(key) { @@ -40015,7 +42854,7 @@ collection._SplayTreeNode$ = dart.generic((K, Node) => { dart.addTypeTests(_SplayTreeNode); _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setLibraryUri(_SplayTreeNode, I[25]); dart.setFieldSignature(_SplayTreeNode, () => ({ __proto__: dart.getFields(_SplayTreeNode.__proto__), key: dart.finalFieldType(K), @@ -40028,7 +42867,11 @@ collection._SplayTreeNode = collection._SplayTreeNode$(); dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); collection._SplayTreeSetNode$ = dart.generic(K => { - class _SplayTreeSetNode extends collection._SplayTreeNode {} + class _SplayTreeSetNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, key) { + return new (collection._SplayTreeSetNode$(K)).new(key); + } + } (_SplayTreeSetNode.new = function(key) { _SplayTreeSetNode.__proto__.new.call(this, key); ; @@ -40036,7 +42879,7 @@ collection._SplayTreeSetNode$ = dart.generic(K => { dart.addTypeTests(_SplayTreeSetNode); _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[24]); + dart.setLibraryUri(_SplayTreeSetNode, I[25]); return _SplayTreeSetNode; }, K => { dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); @@ -40046,16 +42889,19 @@ dart.addTypeTests(collection._SplayTreeSetNode, _is__SplayTreeSetNode_default); var _replaceValue = dart.privateName(collection, "_replaceValue"); const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); collection._SplayTreeMapNode$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); class _SplayTreeMapNode extends collection._SplayTreeNode { + static ['_#new#tearOff'](K, V, key, value) { + return new (collection._SplayTreeMapNode$(K, V)).new(key, value); + } [_replaceValue](value) { - let t172; + let t152; V.as(value); - t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); return (() => { - t172[_left$] = this[_left$]; - t172[_right$] = this[_right$]; - return t172; + t152[_left$] = this[_left$]; + t152[_right$] = this[_right$]; + return t152; })(); } toString() { @@ -40075,7 +42921,7 @@ collection._SplayTreeMapNode$ = dart.generic((K, V) => { __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setLibraryUri(_SplayTreeMapNode, I[25]); dart.setFieldSignature(_SplayTreeMapNode, () => ({ __proto__: dart.getFields(_SplayTreeMapNode.__proto__), value: dart.finalFieldType(V) @@ -40102,13 +42948,13 @@ const _is__SplayTree_default = Symbol('_is__SplayTree_default'); collection._SplayTree$ = dart.generic((K, Node) => { class _SplayTree extends core.Object { [_splay](key) { - let t173, t172; + let t153, t152; K.as(key); let root = this[_root]; if (root == null) { - t172 = key; - t173 = key; - this[_compare](t172, t173); + t152 = key; + t153 = key; + this[_compare](t152, t153); return -1; } let right = null; @@ -40175,7 +43021,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { return comp; } [_splayMin](node) { - if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + if (node == null) dart.nullFailed(I[87], 173, 23, "node"); let current = node; let nextLeft = current[_left$]; while (nextLeft != null) { @@ -40188,7 +43034,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { return current; } [_splayMax](node) { - if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + if (node == null) dart.nullFailed(I[87], 191, 23, "node"); let current = node; let nextRight = current[_right$]; while (nextRight != null) { @@ -40220,8 +43066,8 @@ collection._SplayTree$ = dart.generic((K, Node) => { return result; } [_addNewRoot](node, comp) { - if (node == null) dart.nullFailed(I[84], 233, 25, "node"); - if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + if (node == null) dart.nullFailed(I[87], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[87], 233, 35, "comp"); this[_count$] = dart.notNull(this[_count$]) + 1; this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; let root = this[_root]; @@ -40258,8 +43104,8 @@ collection._SplayTree$ = dart.generic((K, Node) => { this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; } [_containsKey](key) { - let t172; - return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + let t152; + return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; } } (_SplayTree.new = function() { @@ -40286,7 +43132,7 @@ collection._SplayTree$ = dart.generic((K, Node) => { [_first]: dart.nullable(Node), [_last$]: dart.nullable(Node) })); - dart.setLibraryUri(_SplayTree, I[24]); + dart.setLibraryUri(_SplayTree, I[25]); dart.setFieldSignature(_SplayTree, () => ({ __proto__: dart.getFields(_SplayTree.__proto__), [_count$]: dart.fieldType(core.int), @@ -40302,19 +43148,19 @@ var _compare$ = dart.privateName(collection, "SplayTreeMap._compare"); var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); collection.SplayTreeMap$ = dart.generic((K, V) => { - var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); - var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); - var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); - var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); - var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); - var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); - var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); - var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); - var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var __t$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var __t$KAndVToV = () => (__t$KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$MapOfK$V = () => (__t$MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var __t$KAndVTovoid = () => (__t$KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var __t$_SplayTreeMapNodeNOfK$V = () => (__t$_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(__t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeMapNodeNOfK$VTobool = () => (__t$_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [__t$_SplayTreeMapNodeNOfK$V()])))(); + var __t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, __t$_SplayTreeMapNodeOfK$V())))(); + var __t$_SplayTreeValueIterableOfK$V = () => (__t$_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var __t$_SplayTreeMapEntryIterableOfK$V = () => (__t$_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; (_SplayTree_MapMixin$36.new = function() { _SplayTree_MapMixin$36.__proto__.new.call(this); @@ -40331,16 +43177,21 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return this[_compare$]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 397, 17, "_compare"); this[_compare$] = value; } get [_validKey$0]() { return this[_validKey]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 398, 14, "_validKey"); this[_validKey] = value; } + static ['_#new#tearOff'](K, V, compare = null, isValidKey = null) { + return new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + } static from(other, compare = null, isValidKey = null) { - if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); if (core.Map$(K, V).is(other)) { return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); } @@ -40350,17 +43201,25 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { }, T$.dynamicAnddynamicTovoid())); return result; } + static ['_#from#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 416, 51, "other"); + return collection.SplayTreeMap$(K, V).from(other, compare, isValidKey); + } static of(other, compare = null, isValidKey = null) { - let t172; - if (other == null) dart.nullFailed(I[84], 344, 37, "other"); - t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + let t152; + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } + static ['_#of#tearOff'](K, V, other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[87], 436, 37, "other"); + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } static fromIterable(iterable, opts) { - if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); let key = opts && 'key' in opts ? opts.key : null; let value = opts && 'value' in opts ? opts.value : null; let compare = opts && 'compare' in opts ? opts.compare : null; @@ -40369,16 +43228,29 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); return map; } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[87], 460, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + return collection.SplayTreeMap$(K, V).fromIterable(iterable, {key: key, value: value, compare: compare, isValidKey: isValidKey}); + } static fromIterables(keys, values, compare = null, isValidKey = null) { - if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); - if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); collection.MapBase._fillMapWithIterables(map, keys, values); return map; } + static ['_#fromIterables#tearOff'](K, V, keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[87], 486, 50, "keys"); + if (values == null) dart.nullFailed(I[87], 486, 68, "values"); + return collection.SplayTreeMap$(K, V).fromIterables(keys, values, compare, isValidKey); + } _get(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; if (this[_root] != null) { let comp = this[_splay](K.as(key)); if (comp === 0) { @@ -40388,8 +43260,8 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return null; } remove(key) { - let t172; - if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = key, this[_validKey$0](t152)))) return null; let mapRoot = this[_remove](K.as(key)); if (mapRoot != null) return mapRoot.value; return null; @@ -40404,13 +43276,13 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { this[_splayCount] = dart.notNull(this[_splayCount]) + 1; return value$; } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value$; } putIfAbsent(key, ifAbsent) { K.as(key); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[87], 525, 26, "ifAbsent"); let comp = this[_splay](key); if (comp === 0) { return dart.nullCheck(this[_root]).value; @@ -40423,17 +43295,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } if (splayCount != this[_splayCount]) { comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); return value; } update(key, update, opts) { K.as(key); - VToV().as(update); - if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[87], 545, 21, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); let comp = this[_splay](key); if (comp === 0) { let modificationCount = this[_modificationCount]; @@ -40459,17 +43331,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { if (splayCount != this[_splayCount]) { comp = this[_splay](key); } - this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); return newValue; } dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); } updateAll(update) { - KAndVToV().as(update); - if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + __t$KAndVToV().as(update); + if (update == null) dart.nullFailed(I[87], 577, 20, "update"); let root = this[_root]; if (root == null) return; - let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + let iterator = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(iterator.moveNext())) { let node = iterator.current; let newValue = update(node.key, node.value); @@ -40477,11 +43349,11 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } } addAll(other) { - MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + __t$MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[87], 588, 25, "other"); other[$forEach](dart.fn((key, value) => { this._set(key, value); - }, KAndVTovoid())); + }, __t$KAndVTovoid())); } get isEmpty() { return this[_root] == null; @@ -40490,8 +43362,8 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { return !dart.test(this.isEmpty); } forEach(f) { - if (f == null) dart.nullFailed(I[84], 493, 21, "f"); - let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + if (f == null) dart.nullFailed(I[87], 600, 21, "f"); + let nodes = new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); while (dart.test(nodes.moveNext())) { let node = nodes.current; f(node.key, node.value); @@ -40521,17 +43393,17 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } return false; }; - dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); return visit(this[_root]); } get keys() { - return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); } get values() { - return new (_SplayTreeValueIterableOfK$V()).new(this); + return new (__t$_SplayTreeValueIterableOfK$V()).new(this); } get entries() { - return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); } firstKey() { if (this[_root] == null) return null; @@ -40573,10 +43445,10 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { } } (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$] = null; - this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); - this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + this[_compare$] = (t152 = compare, t152 == null ? collection._defaultCompare(K) : t152); + this[_validKey] = (t152$ = isValidKey, t152$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t152$); SplayTreeMap.__proto__.new.call(this); ; }).prototype = SplayTreeMap.prototype; @@ -40598,12 +43470,13 @@ collection.SplayTreeMap$ = dart.generic((K, V) => { lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) })); + dart.setStaticMethodSignature(SplayTreeMap, () => ['from', 'of', 'fromIterable', 'fromIterables']); dart.setGetterSignature(SplayTreeMap, () => ({ __proto__: dart.getGetters(SplayTreeMap.__proto__), keys: core.Iterable$(K), [$keys]: core.Iterable$(K) })); - dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setLibraryUri(SplayTreeMap, I[25]); dart.setFieldSignature(SplayTreeMap, () => ({ __proto__: dart.getFields(SplayTreeMap.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), @@ -40642,7 +43515,7 @@ var _rebuildPath = dart.privateName(collection, "_rebuildPath"); var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { - var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + var __t$JSArrayOfNode = () => (__t$JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); class _SplayTreeIterator extends core.Object { get current() { if (dart.test(this[_path][$isEmpty])) return T.as(null); @@ -40695,8 +43568,8 @@ collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { } } (_SplayTreeIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); - this[_path] = JSArrayOfNode().of([]); + if (tree == null) dart.nullFailed(I[87], 722, 42, "tree"); + this[_path] = __t$JSArrayOfNode().of([]); this[_modificationCount] = null; this[_tree$] = tree; this[_splayCount] = tree[_splayCount]; @@ -40716,7 +43589,7 @@ collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { __proto__: dart.getGetters(_SplayTreeIterator.__proto__), current: T })); - dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setLibraryUri(_SplayTreeIterator, I[25]); dart.setFieldSignature(_SplayTreeIterator, () => ({ __proto__: dart.getFields(_SplayTreeIterator.__proto__), [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), @@ -40731,10 +43604,14 @@ dart.addTypeTests(collection._SplayTreeIterator, _is__SplayTreeIterator_default) var _copyNode = dart.privateName(collection, "_copyNode"); const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { - var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); - var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); - var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + var __t$_SplayTreeKeyIteratorOfK$Node = () => (__t$_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var __t$SplayTreeSetOfK = () => (__t$SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var __t$KAndKToint = () => (__t$KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + static ['_#new#tearOff'](K, Node, _tree) { + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); + return new (collection._SplayTreeKeyIterable$(K, Node)).new(_tree); + } get length() { return this[_tree$][_count$]; } @@ -40742,20 +43619,20 @@ collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { return this[_tree$][_count$] === 0; } get iterator() { - return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); } contains(o) { return this[_tree$][_containsKey](o); } toSet() { - let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + let set = new (__t$SplayTreeSetOfK()).new(__t$KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); set[_count$] = this[_tree$][_count$]; set[_root] = set[_copyNode](Node, this[_tree$][_root]); return set; } } (_SplayTreeKeyIterable.new = function(_tree) { - if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + if (_tree == null) dart.nullFailed(I[87], 791, 30, "_tree"); this[_tree$] = _tree; _SplayTreeKeyIterable.__proto__.new.call(this); ; @@ -40768,7 +43645,7 @@ collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { iterator: core.Iterator$(K), [$iterator]: core.Iterator$(K) })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) @@ -40781,8 +43658,12 @@ collection._SplayTreeKeyIterable = collection._SplayTreeKeyIterable$(); dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); collection._SplayTreeValueIterable$ = dart.generic((K, V) => { - var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + var __t$_SplayTreeValueIteratorOfK$V = () => (__t$_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); + return new (collection._SplayTreeValueIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40790,11 +43671,11 @@ collection._SplayTreeValueIterable$ = dart.generic((K, V) => { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); this[_map$5] = _map; _SplayTreeValueIterable.__proto__.new.call(this); ; @@ -40807,7 +43688,7 @@ collection._SplayTreeValueIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(V), [$iterator]: core.Iterator$(V) })); - dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setLibraryUri(_SplayTreeValueIterable, I[25]); dart.setFieldSignature(_SplayTreeValueIterable, () => ({ __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40834,6 +43715,12 @@ core.MapEntry$ = dart.generic((K, V) => { set value(value) { super.value = value; } + static ['_#new#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } + static ['_#_#tearOff'](K, V, key, value) { + return new (core.MapEntry$(K, V)).__(key, value); + } toString() { return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; } @@ -40846,12 +43733,14 @@ core.MapEntry$ = dart.generic((K, V) => { dart.addTypeTests(MapEntry); MapEntry.prototype[_is_MapEntry_default] = true; dart.addTypeCaches(MapEntry); - dart.setLibraryUri(MapEntry, I[8]); + dart.setStaticMethodSignature(MapEntry, () => ['new']); + dart.setLibraryUri(MapEntry, I[9]); dart.setFieldSignature(MapEntry, () => ({ __proto__: dart.getFields(MapEntry.__proto__), key: dart.finalFieldType(K), value: dart.finalFieldType(V) })); + dart.setStaticFieldSignature(MapEntry, () => ['_redirecting#']); dart.defineExtensionMethods(MapEntry, ['toString']); return MapEntry; }); @@ -40859,8 +43748,12 @@ core.MapEntry = core.MapEntry$(); dart.addTypeTests(core.MapEntry, _is_MapEntry_default); const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { - var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var __t$_SplayTreeMapEntryIteratorOfK$V = () => (__t$_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, _map) { + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); + return new (collection._SplayTreeMapEntryIterable$(K, V)).new(_map); + } get length() { return this[_map$5][_count$]; } @@ -40868,11 +43761,11 @@ collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { return this[_map$5][_count$] === 0; } get iterator() { - return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); } } (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); this[_map$5] = _map; _SplayTreeMapEntryIterable.__proto__.new.call(this); ; @@ -40885,7 +43778,7 @@ collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { iterator: core.Iterator$(core.MapEntry$(K, V)), [$iterator]: core.Iterator$(core.MapEntry$(K, V)) })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) @@ -40898,13 +43791,17 @@ dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryI const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + static ['_#new#tearOff'](K, Node, map) { + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); + return new (collection._SplayTreeKeyIterator$(K, Node)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + if (node == null) dart.nullFailed(I[87], 827, 20, "node"); return node.key; } } (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + if (map == null) dart.nullFailed(I[87], 826, 45, "map"); _SplayTreeKeyIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeKeyIterator.prototype; @@ -40915,7 +43812,7 @@ collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), [_getValue]: dart.fnType(K, [Node]) })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); return _SplayTreeKeyIterator; }); collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); @@ -40923,13 +43820,17 @@ dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_de const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); collection._SplayTreeValueIterator$ = dart.generic((K, V) => { class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + static ['_#new#tearOff'](K, V, map) { + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); + return new (collection._SplayTreeValueIterator$(K, V)).new(map); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + if (node == null) dart.nullFailed(I[87], 833, 39, "node"); return node.value; } } (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + if (map == null) dart.nullFailed(I[87], 832, 46, "map"); _SplayTreeValueIterator.__proto__.new.call(this, map); ; }).prototype = _SplayTreeValueIterator.prototype; @@ -40940,7 +43841,7 @@ collection._SplayTreeValueIterator$ = dart.generic((K, V) => { __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) })); - dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + dart.setLibraryUri(_SplayTreeValueIterator, I[25]); return _SplayTreeValueIterator; }); collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); @@ -40948,14 +43849,18 @@ dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterato const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + static ['_#new#tearOff'](K, V, tree) { + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); + return new (collection._SplayTreeMapEntryIterator$(K, V)).new(tree); + } [_getValue](node) { - if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + if (node == null) dart.nullFailed(I[87], 839, 52, "node"); return node; } [_replaceValue](value) { - let t172; + let t152; V.as(value); - if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[87], 843, 12, "_path.isNotEmpty"); if (this[_modificationCount] != this[_tree$][_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); } @@ -40971,16 +43876,16 @@ collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { if (last == parent[_left$]) { parent[_left$] = newLast; } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); parent[_right$] = newLast; } } this[_path][$add](newLast); - this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); } } (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); ; }).prototype = _SplayTreeMapEntryIterator.prototype; @@ -40992,7 +43897,7 @@ collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); return _SplayTreeMapEntryIterator; }); collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); @@ -41003,12 +43908,12 @@ var _validKey$1 = dart.privateName(collection, "SplayTreeSet._validKey"); var _clone$ = dart.privateName(collection, "_clone"); const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); collection.SplayTreeSet$ = dart.generic(E => { - var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); - var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); - var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); - var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var __t$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var __t$_SplayTreeSetNodeNOfE = () => (__t$_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(__t$_SplayTreeSetNodeOfE())))(); + var __t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, __t$_SplayTreeSetNodeOfE())))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$SplayTreeSetOfE = () => (__t$SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var __t$SetOfE = () => (__t$SetOfE = dart.constFn(core.Set$(E)))(); const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; (_SplayTree_IterableMixin$36.new = function() { _SplayTree_IterableMixin$36.__proto__.new.call(this); @@ -41024,22 +43929,27 @@ collection.SplayTreeSet$ = dart.generic(E => { return this[_root$0]; } set [_root](value) { - this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + this[_root$0] = __t$_SplayTreeSetNodeNOfE().as(value); } get [_compare]() { return this[_compare$0]; } set [_compare](value) { + if (value == null) dart.nullFailed(I[87], 954, 17, "_compare"); this[_compare$0] = value; } get [_validKey$0]() { return this[_validKey$1]; } set [_validKey$0](value) { + if (value == null) dart.nullFailed(I[87], 955, 14, "_validKey"); this[_validKey$1] = value; } + static ['_#new#tearOff'](E, compare = null, isValidKey = null) { + return new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + } static from(elements, compare = null, isValidKey = null) { - if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); if (core.Iterable$(E).is(elements)) { return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); } @@ -41049,28 +43959,36 @@ collection.SplayTreeSet$ = dart.generic(E => { } return result; } + static ['_#from#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1004, 38, "elements"); + return collection.SplayTreeSet$(E).from(elements, compare, isValidKey); + } static of(elements, compare = null, isValidKey = null) { - let t172; - if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); - t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + let t152; + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); return (() => { - t172.addAll(elements); - return t172; + t152.addAll(elements); + return t152; })(); } + static ['_#of#tearOff'](E, elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } [_newSet](T) { return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { - let t173, t172; - t172 = E.as(a); - t173 = E.as(b); - return this[_compare](t172, t173); + let t153, t152; + t152 = E.as(a); + t153 = E.as(b); + return this[_compare](t152, t153); }, dart.fnType(core.int, [T, T])), this[_validKey$0]); } cast(R) { return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); } get iterator() { - return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + return new (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); } get length() { return this[_count$]; @@ -41095,8 +44013,8 @@ collection.SplayTreeSet$ = dart.generic(E => { return dart.nullCheck(this[_root]).key; } contains(element) { - let t172; - return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + let t152; + return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; } add(element) { E.as(element); @@ -41105,38 +44023,38 @@ collection.SplayTreeSet$ = dart.generic(E => { [_add$](element) { let compare = this[_splay](element); if (compare === 0) return false; - this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); return true; } remove(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; return this[_remove](E.as(object)) != null; } addAll(elements) { - IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + __t$IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[87], 1082, 27, "elements"); for (let element of elements) { this[_add$](element); } } removeAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + let t152; + if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); for (let element of elements) { - if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); } } retainAll(elements) { - let t172; - if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); - let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let t152; + if (elements == null) dart.nullFailed(I[87], 1094, 36, "elements"); + let retainSet = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); let modificationCount = this[_modificationCount]; for (let object of elements) { if (modificationCount != this[_modificationCount]) { dart.throw(new core.ConcurrentModificationError.new(this)); } - if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + if (dart.test((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { retainSet.add(dart.nullCheck(this[_root]).key); } } @@ -41147,70 +44065,70 @@ collection.SplayTreeSet$ = dart.generic(E => { } } lookup(object) { - let t172; - if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let t152; + if (!dart.test((t152 = object, this[_validKey$0](t152)))) return null; let comp = this[_splay](E.as(object)); if (comp !== 0) return null; return dart.nullCheck(this[_root]).key; } intersection(other) { - if (other == null) dart.nullFailed(I[84], 936, 36, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1123, 36, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (dart.test(other.contains(element))) result.add(element); } return result; } difference(other) { - if (other == null) dart.nullFailed(I[84], 944, 34, "other"); - let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + if (other == null) dart.nullFailed(I[87], 1131, 34, "other"); + let result = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); for (let element of this) { if (!dart.test(other.contains(element))) result.add(element); } return result; } union(other) { - let t172; - SetOfE().as(other); - if (other == null) dart.nullFailed(I[84], 952, 23, "other"); - t172 = this[_clone$](); + let t152; + __t$SetOfE().as(other); + if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); + t152 = this[_clone$](); return (() => { - t172.addAll(other); - return t172; + t152.addAll(other); + return t152; })(); } [_clone$]() { - let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); set[_count$] = this[_count$]; - set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + set[_root] = this[_copyNode](__t$_SplayTreeSetNodeOfE(), this[_root]); return set; } [_copyNode](Node, node) { dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); if (node == null) return null; function copyChildren(node, dest) { - if (node == null) dart.nullFailed(I[84], 972, 28, "node"); - if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + if (node == null) dart.nullFailed(I[87], 1159, 28, "node"); + if (dest == null) dart.nullFailed(I[87], 1159, 55, "dest"); let left = null; let right = null; do { left = node[_left$]; right = node[_right$]; if (left != null) { - let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + let newLeft = new (__t$_SplayTreeSetNodeOfE()).new(left.key); dest[_left$] = newLeft; copyChildren(left, newLeft); } if (right != null) { - let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + let newRight = new (__t$_SplayTreeSetNodeOfE()).new(right.key); dest[_right$] = newRight; node = right; dest = newRight; } } while (right != null); } - dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); - let result = new (_SplayTreeSetNodeOfE()).new(node.key); + dart.fn(copyChildren, dart.fnType(dart.void, [Node, __t$_SplayTreeSetNodeOfE()])); + let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); copyChildren(node, result); return result; } @@ -41225,10 +44143,10 @@ collection.SplayTreeSet$ = dart.generic(E => { } } (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t172, t172$; + let t152, t152$; this[_root$0] = null; - this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); - this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + this[_compare$0] = (t152 = compare, t152 == null ? collection._defaultCompare(E) : t152); + this[_validKey$1] = (t152$ = isValidKey, t152$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t152$); SplayTreeSet.__proto__.new.call(this); ; }).prototype = SplayTreeSet.prototype; @@ -41247,12 +44165,13 @@ collection.SplayTreeSet$ = dart.generic(E => { [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) })); + dart.setStaticMethodSignature(SplayTreeSet, () => ['from', 'of']); dart.setGetterSignature(SplayTreeSet, () => ({ __proto__: dart.getGetters(SplayTreeSet.__proto__), iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setLibraryUri(SplayTreeSet, I[25]); dart.setFieldSignature(SplayTreeSet, () => ({ __proto__: dart.getFields(SplayTreeSet.__proto__), [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), @@ -41280,15 +44199,15 @@ collection._defaultHashCode = function _defaultHashCode(a) { return dart.hashCode(a); }; collection._isToStringVisiting = function _isToStringVisiting(o) { - if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + if (o == null) dart.nullFailed(I[41], 283, 33, "o"); for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; } return false; }; collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { - if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); - if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + if (iterable == null) dart.nullFailed(I[41], 291, 48, "iterable"); + if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); let length = 0; let count = 0; let it = iterable[$iterator]; @@ -41319,7 +44238,7 @@ collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, } else { let ultimate = it.current; count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); while (dart.test(it.moveNext())) { penultimate = ultimate; ultimate = it.current; @@ -41360,11 +44279,11 @@ collection._dynamicCompare = function _dynamicCompare(a, b) { return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); }; collection._defaultCompare = function _defaultCompare(K) { - let compare = C[78] || CT.C78; + let compare = C[85] || CT.C85; if (dart.fnType(core.int, [K, K]).is(compare)) { return compare; } - return C[79] || CT.C79; + return C[86] || CT.C86; }; dart.defineLazy(collection, { /*collection._toStringVisiting*/get _toStringVisiting() { @@ -41381,7 +44300,7 @@ var _computeKeys = dart.privateName(convert, "_computeKeys"); var _upgrade = dart.privateName(convert, "_upgrade"); core.String = class String extends core.Object { static _stringFromJSArray(list, start, endOrNull) { - if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + if (start == null) dart.nullFailed(I[7], 668, 35, "start"); let len = core.int.as(dart.dload(list, 'length')); let end = core.RangeError.checkValidRange(start, endOrNull, len); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { @@ -41390,15 +44309,15 @@ core.String = class String extends core.Object { return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); } static _stringFromUint8List(charCodes, start, endOrNull) { - if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); - if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + if (charCodes == null) dart.nullFailed(I[7], 678, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 678, 38, "start"); let len = charCodes[$length]; let end = core.RangeError.checkValidRange(start, endOrNull, len); return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); } static _stringFromIterable(charCodes, start, end) { - if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); - if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (charCodes == null) dart.nullFailed(I[7], 685, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 685, 36, "start"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); if (end != null && dart.notNull(end) < dart.notNull(start)) { dart.throw(new core.RangeError.range(end, start, charCodes[$length])); @@ -41431,8 +44350,8 @@ core.String = class String extends core.Object { return dart.as(o, core.String); } static fromCharCodes(charCodes, start = 0, end = null) { - if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); - if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); if (_interceptors.JSArray.is(charCodes)) { return core.String._stringFromJSArray(charCodes, start, end); } @@ -41441,14 +44360,29 @@ core.String = class String extends core.Object { } return core.String._stringFromIterable(charCodes, start, end); } + static ['_#fromCharCodes#tearOff'](charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 644, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 645, 12, "start"); + return core.String.fromCharCodes(charCodes, start, end); + } + static ['_#fromCharCode#tearOff'](charCode) { + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); + return core.String.fromCharCode(charCode); + } static fromCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 656, 35, "charCode"); return _js_helper.Primitives.stringFromCharCode(charCode); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); + return core.String.fromEnvironment(name, {defaultValue: defaultValue}); + } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + if (name == null) dart.nullFailed(I[7], 661, 41, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; - if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 661, 55, "defaultValue"); dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); } }; @@ -41456,8 +44390,12 @@ core.String = class String extends core.Object { }).prototype = core.String.prototype; dart.addTypeCaches(core.String); core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; -dart.setLibraryUri(core.String, I[8]); +dart.setStaticMethodSignature(core.String, () => ['_stringFromJSArray', '_stringFromUint8List', '_stringFromIterable', 'is', 'as', 'fromCharCodes', 'fromCharCode', 'fromEnvironment']); +dart.setLibraryUri(core.String, I[9]); convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + static ['_#new#tearOff'](_original) { + return new convert._JsonMap.new(_original); + } _get(key) { if (dart.test(this[_isUpgraded])) { return this[_upgradedMap][$_get](key); @@ -41484,12 +44422,15 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } get values() { if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => { + if (each == null) dart.nullFailed(I[88], 167, 44, "each"); + return this._get(each); + }, T$0.StringTodynamic())); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (key == null) dart.nullFailed(I[88], 170, 16, "key"); if (dart.test(this[_isUpgraded])) { this[_upgradedMap][$_set](key, value); } else if (dart.test(this.containsKey(key))) { @@ -41506,9 +44447,9 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } addAll(other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + if (other == null) dart.nullFailed(I[88], 185, 36, "other"); other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + if (key == null) dart.nullFailed(I[88], 186, 20, "key"); this._set(key, value); }, T$0.StringAnddynamicTovoid())); } @@ -41528,9 +44469,9 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[85], 207, 15, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (key == null) dart.nullFailed(I[88], 207, 15, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[88], 207, 20, "ifAbsent"); if (dart.test(this.containsKey(key))) return this._get(key); let value = ifAbsent(); this._set(key, value); @@ -41552,7 +44493,7 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } } forEach(f) { - if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (f == null) dart.nullFailed(I[88], 234, 21, "f"); if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); let keys = this[_computeKeys](); for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { @@ -41572,12 +44513,12 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. return this[_processed] == null; } get [_upgradedMap]() { - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 266, 12, "_isUpgraded"); return this[_data]; } [_computeKeys]() { - if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); - let keys = T$.ListN().as(this[_data]); + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 274, 12, "!_isUpgraded"); + let keys = T$0.ListN().as(this[_data]); if (keys == null) { keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); } @@ -41598,25 +44539,25 @@ convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart. } this[_original$] = this[_processed] = null; this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); return result; } [_process](key) { - if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (key == null) dart.nullFailed(I[88], 311, 19, "key"); if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); return convert._JsonMap._setProperty(this[_processed], key, result); } static _hasProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + if (key == null) dart.nullFailed(I[88], 321, 43, "key"); return Object.prototype.hasOwnProperty.call(object, key); } static _getProperty(object, key) { - if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + if (key == null) dart.nullFailed(I[88], 323, 38, "key"); return object[key]; } static _setProperty(object, key, value) { - if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + if (key == null) dart.nullFailed(I[88], 324, 38, "key"); return object[key] = value; } static _getPropertyNames(object) { @@ -41651,6 +44592,7 @@ dart.setMethodSignature(convert._JsonMap, () => ({ [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_process]: dart.fnType(dart.dynamic, [core.String]) })); +dart.setStaticMethodSignature(convert._JsonMap, () => ['_hasProperty', '_getProperty', '_setProperty', '_getPropertyNames', '_isUnprocessed', '_newJavaScriptObject']); dart.setGetterSignature(convert._JsonMap, () => ({ __proto__: dart.getGetters(convert._JsonMap.__proto__), keys: core.Iterable$(core.String), @@ -41658,7 +44600,7 @@ dart.setGetterSignature(convert._JsonMap, () => ({ [_isUpgraded]: core.bool, [_upgradedMap]: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(convert._JsonMap, I[31]); +dart.setLibraryUri(convert._JsonMap, I[33]); dart.setFieldSignature(convert._JsonMap, () => ({ __proto__: dart.getFields(convert._JsonMap.__proto__), [_original$]: dart.fieldType(dart.dynamic), @@ -41685,11 +44627,15 @@ dart.defineExtensionAccessors(convert._JsonMap, [ ]); var _parent$ = dart.privateName(convert, "_parent"); convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + static ['_#new#tearOff'](_parent) { + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); + return new convert._JsonMapKeyIterable.new(_parent); + } get length() { return this[_parent$].length; } elementAt(index) { - if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + if (index == null) dart.nullFailed(I[88], 340, 24, "index"); return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); } get iterator() { @@ -41700,14 +44646,14 @@ convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIt } }; (convert._JsonMapKeyIterable.new = function(_parent) { - if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + if (_parent == null) dart.nullFailed(I[88], 336, 28, "_parent"); this[_parent$] = _parent; convert._JsonMapKeyIterable.__proto__.new.call(this); ; }).prototype = convert._JsonMapKeyIterable.prototype; dart.addTypeTests(convert._JsonMapKeyIterable); dart.addTypeCaches(convert._JsonMapKeyIterable); -dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); +dart.setLibraryUri(convert._JsonMapKeyIterable, I[33]); dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), [_parent$]: dart.finalFieldType(convert._JsonMap) @@ -41720,11 +44666,11 @@ var _stringSink$ = dart.privateName(convert, "_stringSink"); convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + if (str == null) dart.nullFailed(I[89], 162, 19, "str"); this.addSlice(str, 0, str.length, false); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); return new convert._Utf8ConversionSink.new(this, allowMalformed); } asStringSink() { @@ -41743,24 +44689,28 @@ dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), asStringSink: dart.fnType(convert.ClosableStringSink, []) })); -dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); +dart.setLibraryUri(convert.StringConversionSinkMixin, I[33]); convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; (convert.StringConversionSinkBase.new = function() { ; }).prototype = convert.StringConversionSinkBase.prototype; dart.addTypeTests(convert.StringConversionSinkBase); dart.addTypeCaches(convert.StringConversionSinkBase); -dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); +dart.setLibraryUri(convert.StringConversionSinkBase, I[33]); const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); convert._StringSinkConversionSink$ = dart.generic(TStringSink => { class _StringSinkConversionSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](TStringSink, _stringSink) { + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); + return new (convert._StringSinkConversionSink$(TStringSink)).new(_stringSink); + } close() { } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 183, 24, "str"); - if (start == null) dart.nullFailed(I[86], 183, 33, "start"); - if (end == null) dart.nullFailed(I[86], 183, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 183, 24, "str"); + if (start == null) dart.nullFailed(I[89], 183, 33, "start"); + if (end == null) dart.nullFailed(I[89], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 183, 54, "isLast"); if (start !== 0 || end !== str.length) { for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); @@ -41772,11 +44722,11 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + if (str == null) dart.nullFailed(I[89], 194, 19, "str"); this[_stringSink$].write(str); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } asStringSink() { @@ -41784,7 +44734,7 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { } } (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); this[_stringSink$] = _stringSink; ; }).prototype = _StringSinkConversionSink.prototype; @@ -41796,7 +44746,7 @@ convert._StringSinkConversionSink$ = dart.generic(TStringSink => { close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); - dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setLibraryUri(_StringSinkConversionSink, I[33]); dart.setFieldSignature(_StringSinkConversionSink, () => ({ __proto__: dart.getFields(_StringSinkConversionSink.__proto__), [_stringSink$]: dart.finalFieldType(TStringSink) @@ -41812,9 +44762,9 @@ core.StringBuffer = class StringBuffer extends core.Object { this[_contents] = this[_contents] + str; } static _writeAll(string, objects, separator) { - if (string == null) dart.nullFailed(I[7], 751, 34, "string"); - if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); - if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + if (string == null) dart.nullFailed(I[7], 820, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 820, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 820, 67, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return string; if (separator[$isEmpty]) { @@ -41833,6 +44783,10 @@ core.StringBuffer = class StringBuffer extends core.Object { static _writeOne(string, obj) { return string + dart.str(obj); } + static ['_#new#tearOff'](content = "") { + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); + return new core.StringBuffer.new(content); + } get length() { return this[_contents].length; } @@ -41846,12 +44800,12 @@ core.StringBuffer = class StringBuffer extends core.Object { this[_writeString](dart.str(obj)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[7], 794, 26, "charCode"); this[_writeString](core.String.fromCharCode(charCode)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + if (objects == null) dart.nullFailed(I[7], 799, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); } writeln(obj = "") { @@ -41865,7 +44819,7 @@ core.StringBuffer = class StringBuffer extends core.Object { } }; (core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + if (content == null) dart.nullFailed(I[7], 783, 24, "content"); this[_contents] = dart.str(content); ; }).prototype = core.StringBuffer.prototype; @@ -41881,19 +44835,24 @@ dart.setMethodSignature(core.StringBuffer, () => ({ writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), clear: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(core.StringBuffer, () => ['_writeAll', '_writeOne']); dart.setGetterSignature(core.StringBuffer, () => ({ __proto__: dart.getGetters(core.StringBuffer.__proto__), length: core.int, isEmpty: core.bool, isNotEmpty: core.bool })); -dart.setLibraryUri(core.StringBuffer, I[8]); +dart.setLibraryUri(core.StringBuffer, I[9]); dart.setFieldSignature(core.StringBuffer, () => ({ __proto__: dart.getFields(core.StringBuffer.__proto__), [_contents]: dart.fieldType(core.String) })); dart.defineExtensionMethods(core.StringBuffer, ['toString']); convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); + return new convert._JsonDecoderSink.new(_reviver, _sink); + } close() { super.close(); let accumulated = dart.toString(this[_stringSink$]); @@ -41904,7 +44863,7 @@ convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkCon } }; (convert._JsonDecoderSink.new = function(_reviver, _sink) { - if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + if (_sink == null) dart.nullFailed(I[88], 379, 40, "_sink"); this[_reviver$] = _reviver; this[_sink$0] = _sink; convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); @@ -41912,7 +44871,7 @@ convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkCon }).prototype = convert._JsonDecoderSink.prototype; dart.addTypeTests(convert._JsonDecoderSink); dart.addTypeCaches(convert._JsonDecoderSink); -dart.setLibraryUri(convert._JsonDecoderSink, I[31]); +dart.setLibraryUri(convert._JsonDecoderSink, I[33]); dart.setFieldSignature(convert._JsonDecoderSink, () => ({ __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -41925,7 +44884,7 @@ var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSub var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); const _is_Codec_default = Symbol('_is_Codec_default'); convert.Codec$ = dart.generic((S, T) => { - var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); class Codec extends core.Object { encode(input) { S.as(input); @@ -41937,11 +44896,11 @@ convert.Codec$ = dart.generic((S, T) => { } fuse(R, other) { convert.Codec$(T, R).as(other); - if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + if (other == null) dart.nullFailed(I[92], 64, 35, "other"); return new (convert._FusedCodec$(S, T, R)).new(this, other); } get inverted() { - return new (_InvertedCodecOfT$S()).new(this); + return new (__t$_InvertedCodecOfT$S()).new(this); } } (Codec.new = function() { @@ -41960,7 +44919,7 @@ convert.Codec$ = dart.generic((S, T) => { __proto__: dart.getGetters(Codec.__proto__), inverted: convert.Codec$(T, S) })); - dart.setLibraryUri(Codec, I[31]); + dart.setLibraryUri(Codec, I[33]); return Codec; }); convert.Codec = convert.Codec$(); @@ -41982,26 +44941,46 @@ core.List$ = dart.generic(E => { } return _interceptors.JSArray$(E).of(list); } + static ['_#new#tearOff'](E, length = null) { + return core.List$(E).new(length); + } static filled(length, fill, opts) { if (length == null) dart.argumentError(length); let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); let list = _interceptors.JSArray$(E).of(new Array(length)); list.fill(fill); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#filled#tearOff'](E, length, fill, opts) { + if (length == null) dart.nullFailed(I[7], 568, 38, "length"); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 568, 60, "growable"); + return core.List$(E).filled(length, fill, {growable: growable}); + } static empty(opts) { let growable = opts && 'growable' in opts ? opts.growable : false; - if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); let list = _interceptors.JSArray$(E).of(new Array()); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#empty#tearOff'](E, opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 561, 28, "growable"); + return core.List$(E).empty({growable: growable}); + } + static ['_#from#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); + return core.List$(E).from(elements, {growable: growable}); + } static from(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + if (elements == null) dart.nullFailed(I[7], 576, 30, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + if (growable == null) dart.nullFailed(I[7], 576, 46, "growable"); let list = _interceptors.JSArray$(E).of([]); if (core.Iterable$(E).is(elements)) { for (let e of elements) { @@ -42015,10 +44994,16 @@ core.List$ = dart.generic(E => { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#of#tearOff'](E, elements, opts) { + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); + return core.List$(E).of(elements, {growable: growable}); + } static of(elements, opts) { - if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + if (elements == null) dart.nullFailed(I[7], 598, 31, "elements"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); let list = _interceptors.JSArray$(E).of([]); for (let e of elements) { list.push(e); @@ -42026,11 +45011,18 @@ core.List$ = dart.generic(E => { if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); return list; } + static ['_#generate#tearOff'](E, length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); + return core.List$(E).generate(length, generator, {growable: growable}); + } static generate(length, generator, opts) { - if (length == null) dart.nullFailed(I[7], 539, 29, "length"); - if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + if (length == null) dart.nullFailed(I[7], 610, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 610, 39, "generator"); let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + if (growable == null) dart.nullFailed(I[7], 611, 13, "growable"); let result = _interceptors.JSArray$(E).of(new Array(length)); if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); for (let i = 0; i < dart.notNull(length); i = i + 1) { @@ -42039,19 +45031,23 @@ core.List$ = dart.generic(E => { return result; } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); let list = core.List$(E).from(elements); _interceptors.JSArray.markUnmodifiableList(list); return list; } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[7], 623, 38, "elements"); + return core.List$(E).unmodifiable(elements); + } static castFrom(S, T, source) { - if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + if (source == null) dart.nullFailed(I[93], 292, 41, "source"); return new (_internal.CastList$(S, T)).new(source); } static copyRange(T, target, at, source, start = null, end = null) { - if (target == null) dart.nullFailed(I[90], 206, 36, "target"); - if (at == null) dart.nullFailed(I[90], 206, 48, "at"); - if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + if (target == null) dart.nullFailed(I[93], 308, 36, "target"); + if (at == null) dart.nullFailed(I[93], 308, 48, "at"); + if (source == null) dart.nullFailed(I[93], 308, 60, "source"); start == null ? start = 0 : null; end = core.RangeError.checkValidRange(start, end, source[$length]); if (end == null) { @@ -42072,15 +45068,15 @@ core.List$ = dart.generic(E => { } } static writeIterable(T, target, at, source) { - if (target == null) dart.nullFailed(I[90], 241, 40, "target"); - if (at == null) dart.nullFailed(I[90], 241, 52, "at"); - if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + if (target == null) dart.nullFailed(I[93], 343, 40, "target"); + if (at == null) dart.nullFailed(I[93], 343, 52, "at"); + if (source == null) dart.nullFailed(I[93], 343, 68, "source"); core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); let index = at; let targetLength = target[$length]; for (let element of source) { if (index == targetLength) { - dart.throw(new core.IndexError.new(targetLength, target)); + dart.throw(new core.IndexError.withLength(index, targetLength, {indexable: target})); } target[$_set](index, element); index = dart.notNull(index) + 1; @@ -42096,25 +45092,26 @@ core.List$ = dart.generic(E => { List.prototype[dart.isList] = true; dart.addTypeCaches(List); List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(List, I[8]); + dart.setStaticMethodSignature(List, () => ['new', 'filled', 'empty', 'from', 'of', 'generate', 'unmodifiable', 'castFrom', 'copyRange', 'writeIterable']); + dart.setLibraryUri(List, I[9]); return List; }); core.List = core.List$(); dart.addTypeTests(core.List, dart.isList); convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { decodeStream(byteStream) { - if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + if (byteStream == null) dart.nullFailed(I[91], 21, 49, "byteStream"); return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - let t172; - if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); - if (string == null) dart.nullFailed(I[88], 25, 42, "string"); - t172 = buffer; + let t152; + if (buffer == null) dart.nullFailed(I[91], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[91], 25, 42, "string"); + t152 = buffer; return (() => { - t172.write(string); - return t172; + t152.write(string); + return t152; })(); }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); return dart.toString(buffer); }, T$0.StringBufferToString())); } @@ -42133,7 +45130,9 @@ dart.setMethodSignature(convert.Encoding, () => ({ __proto__: dart.getMethods(convert.Encoding.__proto__), decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) })); -dart.setLibraryUri(convert.Encoding, I[31]); +dart.setStaticMethodSignature(convert.Encoding, () => ['getByName']); +dart.setLibraryUri(convert.Encoding, I[33]); +dart.setStaticFieldSignature(convert.Encoding, () => ['_nameToEncoding']); dart.defineLazy(convert.Encoding, { /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); @@ -42146,35 +45145,40 @@ convert.AsciiCodec = class AsciiCodec extends convert.Encoding { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); + return new convert.AsciiCodec.new({allowInvalid: allowInvalid}); + } get name() { return "us-ascii"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + if (source == null) dart.nullFailed(I[90], 41, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t172; + let t152; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { - return (C[80] || CT.C80).convert(bytes); + if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { + return (C[87] || CT.C87).convert(bytes); } else { - return (C[81] || CT.C81).convert(bytes); + return (C[88] || CT.C88).convert(bytes); } } get encoder() { - return C[82] || CT.C82; + return C[89] || CT.C89; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + return dart.test(this[_allowInvalid$]) ? C[87] || CT.C87 : C[88] || CT.C88; } }; (convert.AsciiCodec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 36, 26, "allowInvalid"); this[_allowInvalid] = allowInvalid; convert.AsciiCodec.__proto__.new.call(this); ; @@ -42192,7 +45196,7 @@ dart.setGetterSignature(convert.AsciiCodec, () => ({ encoder: convert.AsciiEncoder, decoder: convert.AsciiDecoder })); -dart.setLibraryUri(convert.AsciiCodec, I[31]); +dart.setLibraryUri(convert.AsciiCodec, I[33]); dart.setFieldSignature(convert.AsciiCodec, () => ({ __proto__: dart.getFields(convert.AsciiCodec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) @@ -42206,15 +45210,16 @@ convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Conv set [_subsetMask$](value) { super[_subsetMask$] = value; } + static ['_#new#tearOff'](_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); + return new convert._UnicodeSubsetEncoder.new(_subsetMask); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[87], 77, 28, "string"); - if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + if (string == null) dart.nullFailed(I[90], 77, 28, "string"); + if (start == null) dart.nullFailed(I[90], 77, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); let result = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -42228,17 +45233,17 @@ convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Conv } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + if (sink == null) dart.nullFailed(I[90], 97, 63, "sink"); return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 103, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); this[_subsetMask$0] = _subsetMask; convert._UnicodeSubsetEncoder.__proto__.new.call(this); ; @@ -42250,28 +45255,37 @@ dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), [_subsetMask$]: dart.finalFieldType(core.int) })); -convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; +convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.AsciiEncoder.new(); + } +}; (convert.AsciiEncoder.new = function() { convert.AsciiEncoder.__proto__.new.call(this, 127); ; }).prototype = convert.AsciiEncoder.prototype; dart.addTypeTests(convert.AsciiEncoder); dart.addTypeCaches(convert.AsciiEncoder); -dart.setLibraryUri(convert.AsciiEncoder, I[31]); +dart.setLibraryUri(convert.AsciiEncoder, I[33]); convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); + return new convert._UnicodeSubsetEncoderSink.new(_subsetMask, _sink); + } close() { this[_sink$0].close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 127, 24, "source"); - if (start == null) dart.nullFailed(I[87], 127, 36, "start"); - if (end == null) dart.nullFailed(I[87], 127, 47, "end"); - if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + if (source == null) dart.nullFailed(I[90], 131, 24, "source"); + if (start == null) dart.nullFailed(I[90], 131, 36, "start"); + if (end == null) dart.nullFailed(I[90], 131, 47, "end"); + if (isLast == null) dart.nullFailed(I[90], 131, 57, "isLast"); core.RangeError.checkValidRange(start, end, source.length); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = source[$codeUnitAt](i); @@ -42286,8 +45300,8 @@ convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends conv } }; (convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { - if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); - if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + if (_subsetMask == null) dart.nullFailed(I[90], 125, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[90], 125, 52, "_sink"); this[_subsetMask$] = _subsetMask; this[_sink$0] = _sink; ; @@ -42299,7 +45313,7 @@ dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -42323,12 +45337,9 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv } convert(bytes, start = 0, end = null) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); - if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + if (bytes == null) dart.nullFailed(I[90], 172, 28, "bytes"); + if (start == null) dart.nullFailed(I[90], 172, 40, "start"); end = core.RangeError.checkValidRange(start, end, bytes[$length]); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let byte = bytes[$_get](i); if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { @@ -42341,9 +45352,9 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv return core.String.fromCharCodes(bytes, start, end); } [_convertInvalid](bytes, start, end) { - if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); - if (start == null) dart.nullFailed(I[87], 186, 47, "start"); - if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + if (bytes == null) dart.nullFailed(I[90], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[90], 186, 47, "start"); + if (end == null) dart.nullFailed(I[90], 186, 58, "end"); let buffer = new core.StringBuffer.new(); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let value = bytes[$_get](i); @@ -42354,13 +45365,13 @@ convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Conv } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + if (stream == null) dart.nullFailed(I[90], 203, 41, "stream"); return super.bind(stream); } }; (convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { - if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); - if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + if (_allowInvalid == null) dart.nullFailed(I[90], 165, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[90], 165, 56, "_subsetMask"); this[_allowInvalid$0] = _allowInvalid; this[_subsetMask$1] = _subsetMask; convert._UnicodeSubsetDecoder.__proto__.new.call(this); @@ -42373,16 +45384,21 @@ dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) })); -dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); +dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[33]); dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool), [_subsetMask$]: dart.finalFieldType(core.int) })); convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); + return new convert.AsciiDecoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + if (sink == null) dart.nullFailed(I[90], 237, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -42398,7 +45414,7 @@ convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder }; (convert.AsciiDecoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); ; }).prototype = convert.AsciiDecoder.prototype; @@ -42408,11 +45424,16 @@ dart.setMethodSignature(convert.AsciiDecoder, () => ({ __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.AsciiDecoder, I[31]); +dart.setLibraryUri(convert.AsciiDecoder, I[33]); var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); convert.ChunkedConversionSink$ = dart.generic(T => { - class ChunkedConversionSink extends core.Object {} + class ChunkedConversionSink extends core.Object { + static ['_#withCallback#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[95], 19, 12, "callback"); + return new (convert._SimpleCallbackSink$(T)).new(callback); + } + } (ChunkedConversionSink.new = function() { ; }).prototype = ChunkedConversionSink.prototype; @@ -42420,25 +45441,38 @@ convert.ChunkedConversionSink$ = dart.generic(T => { ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; dart.addTypeCaches(ChunkedConversionSink); ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(ChunkedConversionSink, I[31]); + dart.setStaticMethodSignature(ChunkedConversionSink, () => ['withCallback']); + dart.setLibraryUri(ChunkedConversionSink, I[33]); + dart.setStaticFieldSignature(ChunkedConversionSink, () => ['_redirecting#']); return ChunkedConversionSink; }); convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); -convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; +convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 19, 12, "callback"); + return new convert._ByteCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[94], 20, 51, "sink"); + return new convert._ByteAdapterSink.new(sink); + } +}; (convert.ByteConversionSink.new = function() { convert.ByteConversionSink.__proto__.new.call(this); ; }).prototype = convert.ByteConversionSink.prototype; dart.addTypeTests(convert.ByteConversionSink); dart.addTypeCaches(convert.ByteConversionSink); -dart.setLibraryUri(convert.ByteConversionSink, I[31]); +dart.setStaticMethodSignature(convert.ByteConversionSink, () => ['withCallback', 'from']); +dart.setLibraryUri(convert.ByteConversionSink, I[33]); +dart.setStaticFieldSignature(convert.ByteConversionSink, () => ['_redirecting#']); convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); - if (start == null) dart.nullFailed(I[91], 42, 38, "start"); - if (end == null) dart.nullFailed(I[91], 42, 49, "end"); - if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[94], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[94], 42, 38, "start"); + if (end == null) dart.nullFailed(I[94], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[94], 42, 59, "isLast"); this.add(chunk[$sublist](start, end)); if (dart.test(isLast)) this.close(); } @@ -42453,26 +45487,30 @@ dart.setMethodSignature(convert.ByteConversionSinkBase, () => ({ __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); +dart.setLibraryUri(convert.ByteConversionSinkBase, I[33]); convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); + return new convert._ErrorHandlingAsciiDecoderSink.new(_utf8Sink); + } close() { this[_utf8Sink$].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + if (source == null) dart.nullFailed(I[90], 264, 22, "source"); this.addSlice(source, 0, source[$length], false); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 245, 27, "source"); - if (start == null) dart.nullFailed(I[87], 245, 39, "start"); - if (end == null) dart.nullFailed(I[87], 245, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 268, 27, "source"); + if (start == null) dart.nullFailed(I[90], 268, 39, "start"); + if (end == null) dart.nullFailed(I[90], 268, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 268, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); - this[_utf8Sink$].add(C[83] || CT.C83); + this[_utf8Sink$].add(C[90] || CT.C90); start = dart.notNull(i) + 1; } } @@ -42484,7 +45522,7 @@ convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink ex } }; (convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); this[_utf8Sink$] = _utf8Sink; convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); ; @@ -42496,18 +45534,22 @@ dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); +dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) })); convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); + return new convert._SimpleAsciiDecoderSink.new(_sink); + } close() { this[_sink$0].close(); } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + if (source == null) dart.nullFailed(I[90], 294, 22, "source"); for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); @@ -42516,10 +45558,10 @@ convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert. this[_sink$0].add(core.String.fromCharCodes(source)); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[87], 280, 27, "source"); - if (start == null) dart.nullFailed(I[87], 280, 39, "start"); - if (end == null) dart.nullFailed(I[87], 280, 50, "end"); - if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + if (source == null) dart.nullFailed(I[90], 303, 27, "source"); + if (start == null) dart.nullFailed(I[90], 303, 39, "start"); + if (end == null) dart.nullFailed(I[90], 303, 50, "end"); + if (isLast == null) dart.nullFailed(I[90], 303, 60, "isLast"); let length = source[$length]; core.RangeError.checkValidRange(start, end, length); if (dart.notNull(start) < dart.notNull(end)) { @@ -42532,7 +45574,7 @@ convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert. } }; (convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); this[_sink$0] = _sink; convert._SimpleAsciiDecoderSink.__proto__.new.call(this); ; @@ -42544,7 +45586,7 @@ dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); +dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), [_sink$0]: dart.fieldType(core.Sink) @@ -42559,25 +45601,28 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i set [_encoder$](value) { super[_encoder$] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Codec.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Codec.urlSafe(); + } get encoder() { return this[_encoder$]; } get decoder() { - return C[86] || CT.C86; + return C[93] || CT.C93; } decode(encoded) { core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); return this.decoder.convert(encoded); } normalize(source, start = 0, end = null) { - let t172, t172$, t172$0, t172$1, t172$2; - if (source == null) dart.nullFailed(I[92], 97, 27, "source"); - if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + let t152, t152$, t152$0, t152$1, t152$2; + if (source == null) dart.nullFailed(I[96], 97, 27, "source"); + if (start == null) dart.nullFailed(I[96], 97, 40, "start"); end = core.RangeError.checkValidRange(start, end, source.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let buffer = null; let sliceStart = start; let alphabet = convert._Base64Encoder._base64Alphabet; @@ -42587,7 +45632,7 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i let paddingCount = 0; for (let i = start; dart.notNull(i) < dart.notNull(end);) { let sliceEnd = i; - let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let char = source[$codeUnitAt]((t152 = i, i = dart.notNull(t152) + 1, t152)); let originalChar = char; if (char === 37) { if (dart.notNull(i) + 2 <= dart.notNull(end)) { @@ -42605,18 +45650,18 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i if (char == originalChar) continue; } else if (value === -1) { if (firstPadding < 0) { - firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPadding = dart.notNull((t152$0 = (t152$ = buffer, t152$ == null ? null : t152$.length), t152$0 == null ? 0 : t152$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); firstPaddingSourceIndex = sliceEnd; } paddingCount = paddingCount + 1; if (originalChar === 61) continue; } if (value !== -2) { - t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); (() => { - t172$2.write(source[$substring](sliceStart, sliceEnd)); - t172$2.writeCharCode(char); - return t172$2; + t152$2.write(source[$substring](sliceStart, sliceEnd)); + t152$2.writeCharCode(char); + return t152$2; })(); sliceStart = i; continue; @@ -42655,12 +45700,12 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i return source; } static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { - if (source == null) dart.nullFailed(I[92], 199, 36, "source"); - if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); - if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); - if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); - if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); - if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (source == null) dart.nullFailed(I[96], 195, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[96], 195, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[96], 195, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[96], 196, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[96], 196, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[96], 196, 47, "length"); if (length[$modulo](4) !== 0) { dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); } @@ -42673,12 +45718,12 @@ convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.i } }; (convert.Base64Codec.new = function() { - this[_encoder] = C[84] || CT.C84; + this[_encoder] = C[91] || CT.C91; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; (convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[85] || CT.C85; + this[_encoder] = C[92] || CT.C92; convert.Base64Codec.__proto__.new.call(this); ; }).prototype = convert.Base64Codec.prototype; @@ -42689,12 +45734,13 @@ dart.setMethodSignature(convert.Base64Codec, () => ({ decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(convert.Base64Codec, () => ['_checkPadding']); dart.setGetterSignature(convert.Base64Codec, () => ({ __proto__: dart.getGetters(convert.Base64Codec.__proto__), encoder: convert.Base64Encoder, decoder: convert.Base64Decoder })); -dart.setLibraryUri(convert.Base64Codec, I[31]); +dart.setLibraryUri(convert.Base64Codec, I[33]); dart.setFieldSignature(convert.Base64Codec, () => ({ __proto__: dart.getFields(convert.Base64Codec.__proto__), [_encoder$]: dart.finalFieldType(convert.Base64Encoder) @@ -42708,9 +45754,15 @@ convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List set [_urlSafe](value) { super[_urlSafe] = value; } + static ['_#new#tearOff']() { + return new convert.Base64Encoder.new(); + } + static ['_#urlSafe#tearOff']() { + return new convert.Base64Encoder.urlSafe(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (input == null) dart.nullFailed(I[96], 240, 28, "input"); if (dart.test(input[$isEmpty])) return ""; let encoder = new convert._Base64Encoder.new(this[_urlSafe]); let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); @@ -42718,7 +45770,7 @@ convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (sink == null) dart.nullFailed(I[96], 247, 58, "sink"); if (convert.StringConversionSink.is(sink)) { return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); } @@ -42742,7 +45794,7 @@ dart.setMethodSignature(convert.Base64Encoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Base64Encoder, I[31]); +dart.setLibraryUri(convert.Base64Encoder, I[33]); dart.setFieldSignature(convert.Base64Encoder, () => ({ __proto__: dart.getFields(convert.Base64Encoder.__proto__), [_urlSafe]: dart.finalFieldType(core.bool) @@ -42750,32 +45802,36 @@ dart.setFieldSignature(convert.Base64Encoder, () => ({ var _state$0 = dart.privateName(convert, "_state"); var _alphabet = dart.privateName(convert, "_alphabet"); convert._Base64Encoder = class _Base64Encoder extends core.Object { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); + return new convert._Base64Encoder.new(urlSafe); + } static _encodeState(count, bits) { - if (count == null) dart.nullFailed(I[92], 283, 31, "count"); - if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); - if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + if (count == null) dart.nullFailed(I[96], 287, 31, "count"); + if (bits == null) dart.nullFailed(I[96], 287, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[96], 288, 12, "count <= _countMask"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + if (state == null) dart.nullFailed(I[96], 293, 29, "state"); return state[$rightShift](2); } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + if (state == null) dart.nullFailed(I[96], 296, 30, "state"); return (dart.notNull(state) & 3) >>> 0; } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 299, 30, "bufferLength"); return _native_typed_data.NativeUint8List.new(bufferLength); } encode(bytes, start, end, isLast) { - if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); - if (start == null) dart.nullFailed(I[92], 308, 42, "start"); - if (end == null) dart.nullFailed(I[92], 308, 53, "end"); - if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); - if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + if (bytes == null) dart.nullFailed(I[96], 312, 31, "bytes"); + if (start == null) dart.nullFailed(I[96], 312, 42, "start"); + if (end == null) dart.nullFailed(I[96], 312, 53, "end"); + if (isLast == null) dart.nullFailed(I[96], 312, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 313, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 314, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[96], 315, 12, "end <= bytes.length"); let length = dart.notNull(end) - dart.notNull(start); let count = convert._Base64Encoder._stateCount(this[_state$0]); let byteCount = dart.notNull(count) + length; @@ -42791,15 +45847,15 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { return null; } static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { - let t172, t172$, t172$0, t172$1; - if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); - if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); - if (start == null) dart.nullFailed(I[92], 331, 64, "start"); - if (end == null) dart.nullFailed(I[92], 331, 75, "end"); - if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); - if (output == null) dart.nullFailed(I[92], 332, 30, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); - if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let t152, t152$, t152$0, t152$1; + if (alphabet == null) dart.nullFailed(I[96], 335, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[96], 335, 53, "bytes"); + if (start == null) dart.nullFailed(I[96], 335, 64, "start"); + if (end == null) dart.nullFailed(I[96], 335, 75, "end"); + if (isLast == null) dart.nullFailed(I[96], 336, 12, "isLast"); + if (output == null) dart.nullFailed(I[96], 336, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 336, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[96], 336, 59, "state"); let bits = convert._Base64Encoder._stateBits(state); let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); let byteOr = 0; @@ -42809,10 +45865,10 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; expectedChars = expectedChars - 1; if (expectedChars === 0) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); expectedChars = 3; bits = 0; } @@ -42833,29 +45889,29 @@ convert._Base64Encoder = class _Base64Encoder extends core.Object { dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); } static writeFinalChunk(alphabet, output, outputIndex, count, bits) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; - if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); - if (output == null) dart.nullFailed(I[92], 379, 34, "output"); - if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); - if (count == null) dart.nullFailed(I[92], 379, 63, "count"); - if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); - if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3, t152$4, t152$5; + if (alphabet == null) dart.nullFailed(I[96], 383, 14, "alphabet"); + if (output == null) dart.nullFailed(I[96], 383, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[96], 383, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[96], 383, 63, "count"); + if (bits == null) dart.nullFailed(I[96], 383, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[96], 384, 12, "count > 0"); if (count === 1) { - output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); - output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); - output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); - output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + output[$_set]((t152 = outputIndex, outputIndex = dart.notNull(t152) + 1, t152), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t152$ = outputIndex, outputIndex = dart.notNull(t152$) + 1, t152$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t152$0 = outputIndex, outputIndex = dart.notNull(t152$0) + 1, t152$0), 61); + output[$_set]((t152$1 = outputIndex, outputIndex = dart.notNull(t152$1) + 1, t152$1), 61); } else { - if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); - output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); - output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); - output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); - output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + if (!(count === 2)) dart.assertFailed(null, I[96], 391, 14, "count == 2"); + output[$_set]((t152$2 = outputIndex, outputIndex = dart.notNull(t152$2) + 1, t152$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t152$3 = outputIndex, outputIndex = dart.notNull(t152$3) + 1, t152$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t152$4 = outputIndex, outputIndex = dart.notNull(t152$4) + 1, t152$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t152$5 = outputIndex, outputIndex = dart.notNull(t152$5) + 1, t152$5), 61); } } }; (convert._Base64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 283, 23, "urlSafe"); this[_state$0] = 0; this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; ; @@ -42867,12 +45923,14 @@ dart.setMethodSignature(convert._Base64Encoder, () => ({ createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Base64Encoder, I[31]); +dart.setStaticMethodSignature(convert._Base64Encoder, () => ['_encodeState', '_stateBits', '_stateCount', 'encodeChunk', 'writeFinalChunk']); +dart.setLibraryUri(convert._Base64Encoder, I[33]); dart.setFieldSignature(convert._Base64Encoder, () => ({ __proto__: dart.getFields(convert._Base64Encoder.__proto__), [_state$0]: dart.fieldType(core.int), [_alphabet]: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(convert._Base64Encoder, () => ['_base64Alphabet', '_base64UrlAlphabet', '_valueShift', '_countMask', '_sixBitMask']); dart.defineLazy(convert._Base64Encoder, { /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -42891,27 +45949,28 @@ dart.defineLazy(convert._Base64Encoder, { } }, false); convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + static ['_#new#tearOff'](urlSafe) { + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); + return new convert._BufferCachingBase64Encoder.new(urlSafe); + } createBuffer(bufferLength) { - if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + if (bufferLength == null) dart.nullFailed(I[96], 409, 30, "bufferLength"); let buffer = this.bufferCache; if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); } - if (buffer == null) { - dart.throw("unreachable"); - } return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); } }; (convert._BufferCachingBase64Encoder.new = function(urlSafe) { - if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + if (urlSafe == null) dart.nullFailed(I[96], 407, 36, "urlSafe"); this.bufferCache = null; convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); ; }).prototype = convert._BufferCachingBase64Encoder.prototype; dart.addTypeTests(convert._BufferCachingBase64Encoder); dart.addTypeCaches(convert._BufferCachingBase64Encoder); -dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); +dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[33]); dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) @@ -42920,17 +45979,17 @@ var _add$0 = dart.privateName(convert, "_add"); convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + if (source == null) dart.nullFailed(I[96], 420, 22, "source"); this[_add$0](source, 0, source[$length], false); } close() { - this[_add$0](C[87] || CT.C87, 0, 0, true); + this[_add$0](C[94] || CT.C94, 0, 0, true); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 428, 27, "source"); - if (start == null) dart.nullFailed(I[92], 428, 39, "start"); - if (end == null) dart.nullFailed(I[92], 428, 50, "end"); - if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (source == null) dart.nullFailed(I[96], 428, 27, "source"); + if (start == null) dart.nullFailed(I[96], 428, 39, "start"); + if (end == null) dart.nullFailed(I[96], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 428, 60, "isLast"); if (end == null) dart.throw(new core.ArgumentError.notNull("end")); core.RangeError.checkValidRange(start, end, source[$length]); this[_add$0](source, start, end, isLast); @@ -42947,13 +46006,18 @@ dart.setMethodSignature(convert._Base64EncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._Base64EncoderSink, I[31]); +dart.setLibraryUri(convert._Base64EncoderSink, I[33]); convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); + return new convert._AsciiBase64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 444, 23, "source"); - if (start == null) dart.nullFailed(I[92], 444, 35, "start"); - if (end == null) dart.nullFailed(I[92], 444, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 444, 23, "source"); + if (start == null) dart.nullFailed(I[96], 444, 35, "start"); + if (end == null) dart.nullFailed(I[96], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 444, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { let string = core.String.fromCharCodes(buffer); @@ -42965,8 +46029,8 @@ convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert. } }; (convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 441, 44, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); convert._AsciiBase64EncoderSink.__proto__.new.call(this); @@ -42978,18 +46042,23 @@ dart.setMethodSignature(convert._AsciiBase64EncoderSink, () => ({ __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); +dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[33]); dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + static ['_#new#tearOff'](_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); + return new convert._Utf8Base64EncoderSink.new(_sink, urlSafe); + } [_add$0](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[92], 463, 23, "source"); - if (start == null) dart.nullFailed(I[92], 463, 35, "start"); - if (end == null) dart.nullFailed(I[92], 463, 46, "end"); - if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + if (source == null) dart.nullFailed(I[96], 463, 23, "source"); + if (start == null) dart.nullFailed(I[96], 463, 35, "start"); + if (end == null) dart.nullFailed(I[96], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[96], 463, 56, "isLast"); let buffer = this[_encoder$].encode(source, start, end, isLast); if (buffer != null) { this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); @@ -42997,8 +46066,8 @@ convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._B } }; (convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { - if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); - if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + if (_sink == null) dart.nullFailed(I[96], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[96], 460, 43, "urlSafe"); this[_sink$0] = _sink; this[_encoder$] = new convert._Base64Encoder.new(urlSafe); convert._Utf8Base64EncoderSink.__proto__.new.call(this); @@ -43010,21 +46079,21 @@ dart.setMethodSignature(convert._Utf8Base64EncoderSink, () => ({ __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); +dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), [_encoder$]: dart.finalFieldType(convert._Base64Encoder) })); convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Base64Decoder.new(); + } convert(input, start = 0, end = null) { core.String.as(input); - if (input == null) dart.nullFailed(I[92], 491, 28, "input"); - if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + if (input == null) dart.nullFailed(I[96], 505, 28, "input"); + if (start == null) dart.nullFailed(I[96], 505, 40, "start"); end = core.RangeError.checkValidRange(start, end, input.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } if (start == end) return _native_typed_data.NativeUint8List.new(0); let decoder = new convert._Base64Decoder.new(); let buffer = dart.nullCheck(decoder.decode(input, start, end)); @@ -43033,7 +46102,7 @@ convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.Stri } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); return new convert._Base64DecoderSink.new(sink); } }; @@ -43048,46 +46117,46 @@ dart.setMethodSignature(convert.Base64Decoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Base64Decoder, I[31]); +dart.setLibraryUri(convert.Base64Decoder, I[33]); convert._Base64Decoder = class _Base64Decoder extends core.Object { static _encodeCharacterState(count, bits) { - if (count == null) dart.nullFailed(I[92], 572, 40, "count"); - if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); - if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + if (count == null) dart.nullFailed(I[96], 582, 40, "count"); + if (bits == null) dart.nullFailed(I[96], 582, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[96], 583, 12, "count == (count & _countMask)"); return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; } static _stateCount(state) { - if (state == null) dart.nullFailed(I[92], 578, 30, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 588, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 589, 12, "state >= 0"); return (dart.notNull(state) & 3) >>> 0; } static _stateBits(state) { - if (state == null) dart.nullFailed(I[92], 584, 29, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + if (state == null) dart.nullFailed(I[96], 594, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 595, 12, "state >= 0"); return state[$rightShift](2); } static _encodePaddingState(expectedPadding) { - if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + if (expectedPadding == null) dart.nullFailed(I[96], 600, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 601, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[96], 602, 12, "expectedPadding <= 5"); return -dart.notNull(expectedPadding) - 1; } static _statePadding(state) { - if (state == null) dart.nullFailed(I[92], 597, 32, "state"); - if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + if (state == null) dart.nullFailed(I[96], 607, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[96], 608, 12, "state < 0"); return -dart.notNull(state) - 1; } static _hasSeenPadding(state) { - if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + if (state == null) dart.nullFailed(I[96], 612, 35, "state"); return dart.notNull(state) < 0; } decode(input, start, end) { - if (input == null) dart.nullFailed(I[92], 609, 28, "input"); - if (start == null) dart.nullFailed(I[92], 609, 39, "start"); - if (end == null) dart.nullFailed(I[92], 609, 50, "end"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); - if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (input == null) dart.nullFailed(I[96], 619, 28, "input"); + if (start == null) dart.nullFailed(I[96], 619, 39, "start"); + if (end == null) dart.nullFailed(I[96], 619, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[96], 620, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[96], 621, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[96], 622, 12, "end <= input.length"); if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); return null; @@ -43107,14 +46176,14 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { this[_state$0] = convert._Base64Decoder._encodePaddingState(0); } static decodeChunk(input, start, end, output, outIndex, state) { - let t172, t172$, t172$0, t172$1, t172$2, t172$3; - if (input == null) dart.nullFailed(I[92], 640, 33, "input"); - if (start == null) dart.nullFailed(I[92], 640, 44, "start"); - if (end == null) dart.nullFailed(I[92], 640, 55, "end"); - if (output == null) dart.nullFailed(I[92], 640, 70, "output"); - if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); - if (state == null) dart.nullFailed(I[92], 641, 25, "state"); - if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let t152, t152$, t152$0, t152$1, t152$2, t152$3; + if (input == null) dart.nullFailed(I[96], 650, 33, "input"); + if (start == null) dart.nullFailed(I[96], 650, 44, "start"); + if (end == null) dart.nullFailed(I[96], 650, 55, "end"); + if (output == null) dart.nullFailed(I[96], 650, 70, "output"); + if (outIndex == null) dart.nullFailed(I[96], 651, 11, "outIndex"); + if (state == null) dart.nullFailed(I[96], 651, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 652, 12, "!_hasSeenPadding(state)"); let bits = convert._Base64Decoder._stateBits(state); let count = convert._Base64Decoder._stateCount(state); let charOr = 0; @@ -43127,10 +46196,10 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; count = dart.notNull(count) + 1 & 3; if (count === 0) { - if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); - output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); - output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); - output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[96], 674, 18, "outIndex + 3 <= output.length"); + output[$_set]((t152 = outIndex, outIndex = dart.notNull(t152) + 1, t152), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t152$ = outIndex, outIndex = dart.notNull(t152$) + 1, t152$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t152$0 = outIndex, outIndex = dart.notNull(t152$0) + 1, t152$0), (dart.notNull(bits) & 255) >>> 0); bits = 0; } continue; @@ -43140,13 +46209,13 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { if ((dart.notNull(bits) & 3) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); - output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + output[$_set]((t152$1 = outIndex, outIndex = dart.notNull(t152$1) + 1, t152$1), bits[$rightShift](10)); + output[$_set]((t152$2 = outIndex, outIndex = dart.notNull(t152$2) + 1, t152$2), bits[$rightShift](2)); } else { if ((dart.notNull(bits) & 15) !== 0) { dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); } - output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + output[$_set]((t152$3 = outIndex, outIndex = dart.notNull(t152$3) + 1, t152$3), bits[$rightShift](4)); } let expectedPadding = (3 - dart.notNull(count)) * 3; if (char === 37) expectedPadding = expectedPadding + 2; @@ -43159,18 +46228,18 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return convert._Base64Decoder._encodeCharacterState(count, bits); } let i = null; - for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + for (let t152$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = input[$codeUnitAt](i); if (char < 0 || char > 127) break; } dart.throw(new core.FormatException.new("Invalid character", input, i)); } static _allocateBuffer(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 715, 14, "input"); - if (start == null) dart.nullFailed(I[92], 715, 25, "start"); - if (end == null) dart.nullFailed(I[92], 715, 36, "end"); - if (state == null) dart.nullFailed(I[92], 715, 45, "state"); - if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + if (input == null) dart.nullFailed(I[96], 725, 14, "input"); + if (start == null) dart.nullFailed(I[96], 725, 25, "start"); + if (end == null) dart.nullFailed(I[96], 725, 36, "end"); + if (state == null) dart.nullFailed(I[96], 725, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[96], 726, 12, "state >= 0"); let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); let bufferLength = length[$rightShift](2) * 3; @@ -43182,9 +46251,9 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return convert._Base64Decoder._emptyBuffer; } static _trimPaddingChars(input, start, end) { - if (input == null) dart.nullFailed(I[92], 744, 39, "input"); - if (start == null) dart.nullFailed(I[92], 744, 50, "start"); - if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + if (input == null) dart.nullFailed(I[96], 754, 39, "input"); + if (start == null) dart.nullFailed(I[96], 754, 50, "start"); + if (end == null) dart.nullFailed(I[96], 754, 61, "end"); let padding = 0; let index = end; let newEnd = end; @@ -43216,15 +46285,15 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { return newEnd; } static _checkPadding(input, start, end, state) { - if (input == null) dart.nullFailed(I[92], 796, 35, "input"); - if (start == null) dart.nullFailed(I[92], 796, 46, "start"); - if (end == null) dart.nullFailed(I[92], 796, 57, "end"); - if (state == null) dart.nullFailed(I[92], 796, 66, "state"); - if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (input == null) dart.nullFailed(I[96], 806, 35, "input"); + if (start == null) dart.nullFailed(I[96], 806, 46, "start"); + if (end == null) dart.nullFailed(I[96], 806, 57, "end"); + if (state == null) dart.nullFailed(I[96], 806, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[96], 807, 12, "_hasSeenPadding(state)"); if (start == end) return state; let expectedPadding = convert._Base64Decoder._statePadding(state); - if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); - if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[96], 810, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[96], 811, 12, "expectedPadding < 6"); while (dart.notNull(expectedPadding) > 0) { let char = input[$codeUnitAt](start); if (expectedPadding === 3) { @@ -43261,6 +46330,9 @@ convert._Base64Decoder = class _Base64Decoder extends core.Object { } return convert._Base64Decoder._encodePaddingState(expectedPadding); } + static ['_#new#tearOff']() { + return new convert._Base64Decoder.new(); + } }; (convert._Base64Decoder.new = function() { this[_state$0] = 0; @@ -43273,11 +46345,13 @@ dart.setMethodSignature(convert._Base64Decoder, () => ({ decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) })); -dart.setLibraryUri(convert._Base64Decoder, I[31]); +dart.setStaticMethodSignature(convert._Base64Decoder, () => ['_encodeCharacterState', '_stateCount', '_stateBits', '_encodePaddingState', '_statePadding', '_hasSeenPadding', 'decodeChunk', '_allocateBuffer', '_trimPaddingChars', '_checkPadding']); +dart.setLibraryUri(convert._Base64Decoder, I[33]); dart.setFieldSignature(convert._Base64Decoder, () => ({ __proto__: dart.getFields(convert._Base64Decoder.__proto__), [_state$0]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._Base64Decoder, () => ['_valueShift', '_countMask', '_invalid', '_padding', '___', '_p', '_inverseAlphabet', '_char_percent', '_char_3', '_char_d', '_emptyBuffer']); dart.defineLazy(convert._Base64Decoder, { /*convert._Base64Decoder._valueShift*/get _valueShift() { return 2; @@ -43312,13 +46386,19 @@ dart.defineLazy(convert._Base64Decoder, { /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { return _native_typed_data.NativeUint8List.new(0); }, - set _emptyBuffer(_) {} + set _emptyBuffer(value) { + if (value == null) dart.nullFailed(I[96], 719, 20, "_emptyBuffer"); + } }, false); var _decoder = dart.privateName(convert, "_decoder"); convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); + return new convert._Base64DecoderSink.new(_sink); + } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string == null) dart.nullFailed(I[96], 860, 19, "string"); if (string[$isEmpty]) return; let buffer = this[_decoder].decode(string, 0, string.length); if (buffer != null) this[_sink$0].add(buffer); @@ -43328,10 +46408,10 @@ convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConv this[_sink$0].close(); } addSlice(string, start, end, isLast) { - if (string == null) dart.nullFailed(I[92], 861, 24, "string"); - if (start == null) dart.nullFailed(I[92], 861, 36, "start"); - if (end == null) dart.nullFailed(I[92], 861, 47, "end"); - if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + if (string == null) dart.nullFailed(I[96], 871, 24, "string"); + if (start == null) dart.nullFailed(I[96], 871, 36, "start"); + if (end == null) dart.nullFailed(I[96], 871, 47, "end"); + if (isLast == null) dart.nullFailed(I[96], 871, 57, "isLast"); core.RangeError.checkValidRange(start, end, string.length); if (start == end) return; let buffer = this[_decoder].decode(string, start, end); @@ -43343,7 +46423,7 @@ convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConv } }; (convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); this[_decoder] = new convert._Base64Decoder.new(); this[_sink$0] = _sink; ; @@ -43355,16 +46435,20 @@ dart.setMethodSignature(convert._Base64DecoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Base64DecoderSink, I[31]); +dart.setLibraryUri(convert._Base64DecoderSink, I[33]); dart.setFieldSignature(convert._Base64DecoderSink, () => ({ __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), [_decoder]: dart.finalFieldType(convert._Base64Decoder) })); convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); + return new convert._ByteAdapterSink.new(_sink); + } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 57, 22, "chunk"); this[_sink$0].add(chunk); } close() { @@ -43372,7 +46456,7 @@ convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversion } }; (convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); this[_sink$0] = _sink; convert._ByteAdapterSink.__proto__.new.call(this); ; @@ -43384,7 +46468,7 @@ dart.setMethodSignature(convert._ByteAdapterSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._ByteAdapterSink, I[31]); +dart.setLibraryUri(convert._ByteAdapterSink, I[33]); dart.setFieldSignature(convert._ByteAdapterSink, () => ({ __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) @@ -43393,9 +46477,13 @@ var _buffer$ = dart.privateName(convert, "_buffer"); var _bufferIndex = dart.privateName(convert, "_bufferIndex"); var _callback$ = dart.privateName(convert, "_callback"); convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); + return new convert._ByteCallbackSink.new(callback); + } add(chunk) { T$.IterableOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + if (chunk == null) dart.nullFailed(I[94], 80, 26, "chunk"); let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); if (dart.notNull(chunk[$length]) > freeCount) { let oldLength = this[_buffer$][$length]; @@ -43408,8 +46496,8 @@ convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversi this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); } static _roundToPowerOf2(v) { - if (v == null) dart.nullFailed(I[91], 94, 35, "v"); - if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + if (v == null) dart.nullFailed(I[94], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[94], 95, 12, "v > 0"); v = dart.notNull(v) - 1; v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; @@ -43420,13 +46508,13 @@ convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversi return v; } close() { - let t173; - t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t173); + let t153; + t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t153); } }; (convert._ByteCallbackSink.new = function(callback) { - if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + if (callback == null) dart.nullFailed(I[94], 77, 26, "callback"); this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); this[_bufferIndex] = 0; this[_callback$] = callback; @@ -43440,13 +46528,15 @@ dart.setMethodSignature(convert._ByteCallbackSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._ByteCallbackSink, I[31]); +dart.setStaticMethodSignature(convert._ByteCallbackSink, () => ['_roundToPowerOf2']); +dart.setLibraryUri(convert._ByteCallbackSink, I[33]); dart.setFieldSignature(convert._ByteCallbackSink, () => ({ __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), [_buffer$]: dart.fieldType(core.List$(core.int)), [_bufferIndex]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._ByteCallbackSink, () => ['_INITIAL_BUFFER_SIZE']); dart.defineLazy(convert._ByteCallbackSink, { /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { return 1024; @@ -43455,21 +46545,25 @@ dart.defineLazy(convert._ByteCallbackSink, { var _accumulated = dart.privateName(convert, "_accumulated"); const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); convert._SimpleCallbackSink$ = dart.generic(T => { - var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var __t$JSArrayOfT = () => (__t$JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + static ['_#new#tearOff'](T, _callback) { + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + return new (convert._SimpleCallbackSink$(T)).new(_callback); + } add(chunk) { T.as(chunk); this[_accumulated][$add](chunk); } close() { - let t173; - t173 = this[_accumulated]; - this[_callback$](t173); + let t153; + t153 = this[_accumulated]; + this[_callback$](t153); } } (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); - this[_accumulated] = JSArrayOfT().of([]); + if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); + this[_accumulated] = __t$JSArrayOfT().of([]); this[_callback$] = _callback; _SimpleCallbackSink.__proto__.new.call(this); ; @@ -43482,7 +46576,7 @@ convert._SimpleCallbackSink$ = dart.generic(T => { add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setLibraryUri(_SimpleCallbackSink, I[33]); dart.setFieldSignature(_SimpleCallbackSink, () => ({ __proto__: dart.getFields(_SimpleCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), @@ -43497,12 +46591,17 @@ var _chunkedSink$ = dart.privateName(convert, "_chunkedSink"); const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); convert._ConverterStreamEventSink$ = dart.generic((S, T) => { class _ConverterStreamEventSink extends core.Object { + static ['_#new#tearOff'](S, T, converter, sink) { + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); + return new (convert._ConverterStreamEventSink$(S, T)).new(converter, sink); + } add(o) { S.as(o); this[_chunkedSink$].add(o); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + if (error == null) dart.nullFailed(I[95], 75, 24, "error"); _internal.checkNotNullable(core.Object, error, "error"); this[_eventSink].addError(error, stackTrace); } @@ -43511,8 +46610,8 @@ convert._ConverterStreamEventSink$ = dart.generic((S, T) => { } } (_ConverterStreamEventSink.new = function(converter, sink) { - if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); - if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + if (converter == null) dart.nullFailed(I[95], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[95], 67, 69, "sink"); this[_eventSink] = sink; this[_chunkedSink$] = converter.startChunkedConversion(sink); ; @@ -43527,7 +46626,7 @@ convert._ConverterStreamEventSink$ = dart.generic((S, T) => { addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), close: dart.fnType(dart.void, []) })); - dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setLibraryUri(_ConverterStreamEventSink, I[33]); dart.setFieldSignature(_ConverterStreamEventSink, () => ({ __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(T)), @@ -43548,10 +46647,15 @@ convert._FusedCodec$ = dart.generic((S, M, T) => { get decoder() { return this[_second$0].decoder.fuse(S, this[_first$0].decoder); } + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); + return new (convert._FusedCodec$(S, M, T)).new(_first, _second); + } } (_FusedCodec.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); - if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + if (_first == null) dart.nullFailed(I[92], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[92], 85, 33, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedCodec.__proto__.new.call(this); @@ -43565,7 +46669,7 @@ convert._FusedCodec$ = dart.generic((S, M, T) => { encoder: convert.Converter$(S, T), decoder: convert.Converter$(T, S) })); - dart.setLibraryUri(_FusedCodec, I[31]); + dart.setLibraryUri(_FusedCodec, I[33]); dart.setFieldSignature(_FusedCodec, () => ({ __proto__: dart.getFields(_FusedCodec.__proto__), [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), @@ -43579,6 +46683,10 @@ var _codec = dart.privateName(convert, "_codec"); const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); convert._InvertedCodec$ = dart.generic((T, S) => { class _InvertedCodec extends convert.Codec$(T, S) { + static ['_#new#tearOff'](T, S, codec) { + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); + return new (convert._InvertedCodec$(T, S)).new(codec); + } get encoder() { return this[_codec].decoder; } @@ -43590,7 +46698,7 @@ convert._InvertedCodec$ = dart.generic((T, S) => { } } (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); this[_codec] = codec; _InvertedCodec.__proto__.new.call(this); ; @@ -43603,7 +46711,7 @@ convert._InvertedCodec$ = dart.generic((T, S) => { encoder: convert.Converter$(T, S), decoder: convert.Converter$(S, T) })); - dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setLibraryUri(_InvertedCodec, I[33]); dart.setFieldSignature(_InvertedCodec, () => ({ __proto__: dart.getFields(_InvertedCodec.__proto__), [_codec]: dart.finalFieldType(convert.Codec$(S, T)) @@ -43614,21 +46722,26 @@ convert._InvertedCodec = convert._InvertedCodec$(); dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); convert._FusedConverter$ = dart.generic((S, M, T) => { - var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var __t$SinkOfT = () => (__t$SinkOfT = dart.constFn(core.Sink$(T)))(); class _FusedConverter extends convert.Converter$(S, T) { + static ['_#new#tearOff'](S, M, T, _first, _second) { + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); + return new (convert._FusedConverter$(S, M, T)).new(_first, _second); + } convert(input) { S.as(input); return this[_second$0].convert(this[_first$0].convert(input)); } startChunkedConversion(sink) { - SinkOfT().as(sink); - if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + __t$SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[32], 69, 42, "sink"); return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); } } (_FusedConverter.new = function(_first, _second) { - if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); - if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + if (_first == null) dart.nullFailed(I[32], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[32], 65, 37, "_second"); this[_first$0] = _first; this[_second$0] = _second; _FusedConverter.__proto__.new.call(this); @@ -43641,7 +46754,7 @@ convert._FusedConverter$ = dart.generic((S, M, T) => { __proto__: dart.getMethods(_FusedConverter.__proto__), convert: dart.fnType(T, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_FusedConverter, I[31]); + dart.setLibraryUri(_FusedConverter, I[33]); dart.setFieldSignature(_FusedConverter, () => ({ __proto__: dart.getFields(_FusedConverter.__proto__), [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), @@ -43688,16 +46801,37 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { set escapeSlash(value) { super.escapeSlash = value; } + static ['_#_#tearOff'](_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); + return new convert.HtmlEscapeMode.__(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash); + } + static ['_#new#tearOff'](opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); + return new convert.HtmlEscapeMode.new({name: name, escapeLtGt: escapeLtGt, escapeQuot: escapeQuot, escapeApos: escapeApos, escapeSlash: escapeSlash}); + } toString() { return this[_name$3]; } }; (convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { - if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); - if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); - if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); - if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); - if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + if (_name == null) dart.nullFailed(I[97], 134, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[97], 134, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[97], 134, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[97], 135, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[97], 135, 29, "escapeSlash"); this[_name$2] = _name; this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; @@ -43707,15 +46841,15 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { }).prototype = convert.HtmlEscapeMode.prototype; (convert.HtmlEscapeMode.new = function(opts) { let name = opts && 'name' in opts ? opts.name : "custom"; - if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + if (name == null) dart.nullFailed(I[97], 143, 15, "name"); let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; - if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + if (escapeLtGt == null) dart.nullFailed(I[97], 144, 12, "escapeLtGt"); let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; - if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + if (escapeQuot == null) dart.nullFailed(I[97], 145, 12, "escapeQuot"); let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; - if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + if (escapeApos == null) dart.nullFailed(I[97], 146, 12, "escapeApos"); let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; - if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + if (escapeSlash == null) dart.nullFailed(I[97], 147, 12, "escapeSlash"); this[escapeLtGt$] = escapeLtGt; this[escapeQuot$] = escapeQuot; this[escapeApos$] = escapeApos; @@ -43725,7 +46859,7 @@ convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { }).prototype = convert.HtmlEscapeMode.prototype; dart.addTypeTests(convert.HtmlEscapeMode); dart.addTypeCaches(convert.HtmlEscapeMode); -dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); +dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), [_name$3]: dart.finalFieldType(core.String), @@ -43734,19 +46868,20 @@ dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ escapeApos: dart.finalFieldType(core.bool), escapeSlash: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(convert.HtmlEscapeMode, () => ['unknown', 'attribute', 'sqAttribute', 'element']); dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); dart.defineLazy(convert.HtmlEscapeMode, { /*convert.HtmlEscapeMode.unknown*/get unknown() { - return C[88] || CT.C88; + return C[95] || CT.C95; }, /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[89] || CT.C89; + return C[96] || CT.C96; }, /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[90] || CT.C90; + return C[97] || CT.C97; }, /*convert.HtmlEscapeMode.element*/get element() { - return C[91] || CT.C91; + return C[98] || CT.C98; } }, false); var mode$ = dart.privateName(convert, "HtmlEscape.mode"); @@ -43758,57 +46893,58 @@ convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, co set mode(value) { super.mode = value; } + static ['_#new#tearOff'](mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); + return new convert.HtmlEscape.new(mode); + } convert(text) { core.String.as(text); - if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + if (text == null) dart.nullFailed(I[97], 208, 25, "text"); let val = this[_convert](text, 0, text.length); return val == null ? text : val; } [_convert](text, start, end) { - if (text == null) dart.nullFailed(I[94], 161, 27, "text"); - if (start == null) dart.nullFailed(I[94], 161, 37, "start"); - if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + if (text == null) dart.nullFailed(I[97], 217, 27, "text"); + if (start == null) dart.nullFailed(I[97], 217, 37, "start"); + if (end == null) dart.nullFailed(I[97], 217, 48, "end"); let result = null; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let ch = text[$_get](i); let replacement = null; switch (ch) { case "&": - { - replacement = "&"; - break; - } + { + replacement = "&"; + break; + } case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } } if (replacement != null) { result == null ? result = new core.StringBuffer.new() : null; - if (result == null) { - dart.throw("unreachable"); - } if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); result.write(replacement); start = dart.notNull(i) + 1; @@ -43820,12 +46956,12 @@ convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, co } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + if (sink == null) dart.nullFailed(I[97], 254, 60, "sink"); return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } }; -(convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { - if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); +(convert.HtmlEscape.new = function(mode = C[95] || CT.C95) { + if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); this[mode$] = mode; convert.HtmlEscape.__proto__.new.call(this); ; @@ -43838,18 +46974,23 @@ dart.setMethodSignature(convert.HtmlEscape, () => ({ [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.HtmlEscape, I[31]); +dart.setLibraryUri(convert.HtmlEscape, I[33]); dart.setFieldSignature(convert.HtmlEscape, () => ({ __proto__: dart.getFields(convert.HtmlEscape.__proto__), mode: dart.finalFieldType(convert.HtmlEscapeMode) })); var _escape$ = dart.privateName(convert, "_escape"); convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_escape, _sink) { + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); + return new convert._HtmlEscapeSink.new(_escape, _sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); - if (start == null) dart.nullFailed(I[94], 215, 35, "start"); - if (end == null) dart.nullFailed(I[94], 215, 46, "end"); - if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[97], 266, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 266, 35, "start"); + if (end == null) dart.nullFailed(I[97], 266, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 266, 56, "isLast"); let val = this[_escape$][_convert](chunk, start, end); if (val == null) { this[_sink$0].addSlice(chunk, start, end, isLast); @@ -43863,8 +47004,8 @@ convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversion } }; (convert._HtmlEscapeSink.new = function(_escape, _sink) { - if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); - if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + if (_escape == null) dart.nullFailed(I[97], 264, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[97], 264, 38, "_sink"); this[_escape$] = _escape; this[_sink$0] = _sink; ; @@ -43876,7 +47017,7 @@ dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); +dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), [_escape$]: dart.finalFieldType(convert.HtmlEscape), @@ -43904,6 +47045,11 @@ convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends co set partialResult(value) { super.partialResult = value; } + static ['_#new#tearOff'](unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + return new convert.JsonUnsupportedObjectError.new(unsupportedObject, {cause: cause, partialResult: partialResult}); + } toString() { let safeString = core.Error.safeToString(this.unsupportedObject); let prefix = null; @@ -43926,7 +47072,7 @@ convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends co }).prototype = convert.JsonUnsupportedObjectError.prototype; dart.addTypeTests(convert.JsonUnsupportedObjectError); dart.addTypeCaches(convert.JsonUnsupportedObjectError); -dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); +dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), @@ -43935,6 +47081,9 @@ dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ })); dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + static ['_#new#tearOff'](object) { + return new convert.JsonCyclicError.new(object); + } toString() { return "Cyclic error in JSON stringify"; } @@ -43945,7 +47094,7 @@ convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedO }).prototype = convert.JsonCyclicError.prototype; dart.addTypeTests(convert.JsonCyclicError); dart.addTypeCaches(convert.JsonCyclicError); -dart.setLibraryUri(convert.JsonCyclicError, I[31]); +dart.setLibraryUri(convert.JsonCyclicError, I[33]); dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); var _reviver = dart.privateName(convert, "JsonCodec._reviver"); var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); @@ -43966,9 +47115,18 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return new convert.JsonCodec.new({reviver: reviver, toEncodable: toEncodable}); + } + static ['_#withReviver#tearOff'](reviver) { + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); + return new convert.JsonCodec.withReviver(reviver); + } decode(source, opts) { core.String.as(source); - if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + if (source == null) dart.nullFailed(I[98], 213, 25, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; reviver == null ? reviver = this[_reviver$] : null; if (reviver == null) return this.decoder.convert(source); @@ -43981,11 +47139,11 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob return new convert.JsonEncoder.new(toEncodable).convert(value); } get encoder() { - if (this[_toEncodable$] == null) return C[92] || CT.C92; + if (this[_toEncodable$] == null) return C[99] || CT.C99; return new convert.JsonEncoder.new(this[_toEncodable$]); } get decoder() { - if (this[_reviver$] == null) return C[93] || CT.C93; + if (this[_reviver$] == null) return C[100] || CT.C100; return new convert.JsonDecoder.new(this[_reviver$]); } }; @@ -43998,7 +47156,7 @@ convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Ob ; }).prototype = convert.JsonCodec.prototype; (convert.JsonCodec.withReviver = function(reviver) { - if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + if (reviver == null) dart.nullFailed(I[98], 202, 33, "reviver"); convert.JsonCodec.new.call(this, {reviver: reviver}); }).prototype = convert.JsonCodec.prototype; dart.addTypeTests(convert.JsonCodec); @@ -44013,7 +47171,7 @@ dart.setGetterSignature(convert.JsonCodec, () => ({ encoder: convert.JsonEncoder, decoder: convert.JsonDecoder })); -dart.setLibraryUri(convert.JsonCodec, I[31]); +dart.setLibraryUri(convert.JsonCodec, I[33]); dart.setFieldSignature(convert.JsonCodec, () => ({ __proto__: dart.getFields(convert.JsonCodec.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), @@ -44034,12 +47192,18 @@ convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable set [_toEncodable$](value) { super[_toEncodable$] = value; } + static ['_#new#tearOff'](toEncodable = null) { + return new convert.JsonEncoder.new(toEncodable); + } + static ['_#withIndent#tearOff'](indent, toEncodable = null) { + return new convert.JsonEncoder.withIndent(indent, toEncodable); + } convert(object) { return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (sink == null) dart.nullFailed(I[98], 354, 70, "sink"); if (convert._Utf8EncoderSink.is(sink)) { return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); } @@ -44047,12 +47211,12 @@ convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 369, 39, "stream"); return super.bind(stream); } fuse(T, other) { convert.Converter$(core.String, T).as(other); - if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (other == null) dart.nullFailed(I[98], 371, 54, "other"); if (convert.Utf8Encoder.is(other)) { return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); } @@ -44079,7 +47243,7 @@ dart.setMethodSignature(convert.JsonEncoder, () => ({ startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.JsonEncoder, I[31]); +dart.setLibraryUri(convert.JsonEncoder, I[33]); dart.setFieldSignature(convert.JsonEncoder, () => ({ __proto__: dart.getFields(convert.JsonEncoder.__proto__), indent: dart.finalFieldType(dart.nullable(core.String)), @@ -44088,6 +47252,9 @@ dart.setFieldSignature(convert.JsonEncoder, () => ({ var _indent$ = dart.privateName(convert, "_indent"); var _bufferSize$ = dart.privateName(convert, "_bufferSize"); convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static ['_#new#tearOff'](indent = null, toEncodable = null, bufferSize = null) { + return new convert.JsonUtf8Encoder.new(indent, toEncodable, bufferSize); + } static _utf8Encode(string) { if (string == null) return null; if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); @@ -44102,9 +47269,9 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. convert(object) { let bytes = T$0.JSArrayOfListOfint().of([]); function addChunk(chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); - if (start == null) dart.nullFailed(I[95], 365, 40, "start"); - if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (chunk == null) dart.nullFailed(I[98], 446, 29, "chunk"); + if (start == null) dart.nullFailed(I[98], 446, 40, "start"); + if (end == null) dart.nullFailed(I[98], 446, 51, "end"); if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { let length = dart.notNull(end) - dart.notNull(start); chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); @@ -44129,7 +47296,7 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); let byteSink = null; if (convert.ByteConversionSink.is(sink)) { byteSink = sink; @@ -44140,15 +47307,15 @@ convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart. } bind(stream) { T$0.StreamOfObjectN().as(stream); - if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + if (stream == null) dart.nullFailed(I[98], 489, 42, "stream"); return super.bind(stream); } }; (convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { - let t173; + let t153; this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); convert.JsonUtf8Encoder.__proto__.new.call(this); ; }).prototype = convert.JsonUtf8Encoder.prototype; @@ -44159,23 +47326,26 @@ dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); +dart.setStaticMethodSignature(convert.JsonUtf8Encoder, () => ['_utf8Encode']); +dart.setLibraryUri(convert.JsonUtf8Encoder, I[33]); dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), [_bufferSize$]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(convert.JsonUtf8Encoder, () => ['_defaultBufferSize']); dart.defineLazy(convert.JsonUtf8Encoder, { /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { return 256; - }, - /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { - return 256; } }, false); var _isDone = dart.privateName(convert, "_isDone"); convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); + return new convert._JsonEncoderSink.new(_sink, _toEncodable, _indent); + } add(o) { if (dart.test(this[_isDone])) { dart.throw(new core.StateError.new("Only one call to add allowed")); @@ -44189,7 +47359,7 @@ convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConvers } }; (convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44204,7 +47374,7 @@ dart.setMethodSignature(convert._JsonEncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._JsonEncoderSink, I[31]); +dart.setLibraryUri(convert._JsonEncoderSink, I[33]); dart.setFieldSignature(convert._JsonEncoderSink, () => ({ __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), [_indent$]: dart.finalFieldType(dart.nullable(core.String)), @@ -44214,10 +47384,15 @@ dart.setFieldSignature(convert._JsonEncoderSink, () => ({ })); var _addChunk = dart.privateName(convert, "_addChunk"); convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + static ['_#new#tearOff'](_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); + return new convert._JsonUtf8EncoderSink.new(_sink, _toEncodable, _indent, _bufferSize); + } [_addChunk](chunk, start, end) { - if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); - if (start == null) dart.nullFailed(I[95], 454, 39, "start"); - if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + if (chunk == null) dart.nullFailed(I[98], 535, 28, "chunk"); + if (start == null) dart.nullFailed(I[98], 535, 39, "start"); + if (end == null) dart.nullFailed(I[98], 535, 50, "end"); this[_sink$0].addSlice(chunk, start, end, false); } add(object) { @@ -44236,8 +47411,8 @@ convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.Chunke } }; (convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { - if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); - if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + if (_sink == null) dart.nullFailed(I[98], 532, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[98], 532, 57, "_bufferSize"); this[_isDone] = false; this[_sink$0] = _sink; this[_toEncodable$] = _toEncodable; @@ -44254,7 +47429,7 @@ dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); +dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), @@ -44271,18 +47446,21 @@ convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, set [_reviver$](value) { super[_reviver$] = value; } + static ['_#new#tearOff'](reviver = null) { + return new convert.JsonDecoder.new(reviver); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + if (input == null) dart.nullFailed(I[98], 610, 26, "input"); return convert._parseJson(input, this[_reviver$]); } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + if (sink == null) dart.nullFailed(I[88], 363, 61, "sink"); return new convert._JsonDecoderSink.new(this[_reviver$], sink); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + if (stream == null) dart.nullFailed(I[98], 618, 39, "stream"); return super.bind(stream); } }; @@ -44298,7 +47476,7 @@ dart.setMethodSignature(convert.JsonDecoder, () => ({ convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert.JsonDecoder, I[31]); +dart.setLibraryUri(convert.JsonDecoder, I[33]); dart.setFieldSignature(convert.JsonDecoder, () => ({ __proto__: dart.getFields(convert.JsonDecoder.__proto__), [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) @@ -44309,11 +47487,11 @@ var _removeSeen = dart.privateName(convert, "_removeSeen"); var _partialResult = dart.privateName(convert, "_partialResult"); convert._JsonStringifier = class _JsonStringifier extends core.Object { static hexDigit(x) { - if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + if (x == null) dart.nullFailed(I[98], 679, 27, "x"); return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); } writeStringContent(s) { - if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + if (s == null) dart.nullFailed(I[98], 682, 34, "s"); let offset = 0; let length = s.length; for (let i = 0; i < length; i = i + 1) { @@ -44339,39 +47517,39 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this.writeCharCode(92); switch (charCode) { case 8: - { - this.writeCharCode(98); - break; - } + { + this.writeCharCode(98); + break; + } case 9: - { - this.writeCharCode(116); - break; - } + { + this.writeCharCode(116); + break; + } case 10: - { - this.writeCharCode(110); - break; - } + { + this.writeCharCode(110); + break; + } case 12: - { - this.writeCharCode(102); - break; - } + { + this.writeCharCode(102); + break; + } case 13: - { - this.writeCharCode(114); - break; - } + { + this.writeCharCode(114); + break; + } default: - { - this.writeCharCode(117); - this.writeCharCode(48); - this.writeCharCode(48); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - break; - } + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } } } else if (charCode === 34 || charCode === 92) { if (i > offset) this.writeStringSlice(s, offset, i); @@ -44395,16 +47573,16 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this[_seen][$add](object); } [_removeSeen](object) { - if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); - if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[98], 771, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[98], 772, 12, "identical(_seen.last, object)"); this[_seen][$removeLast](); } writeObject(object) { - let t173; + let t153; if (dart.test(this.writeJsonValue(object))) return; this[_checkCycle](object); try { - let customJson = (t173 = object, this[_toEncodable$](t173)); + let customJson = (t153 = object, this[_toEncodable$](t153)); if (!dart.test(this.writeJsonValue(customJson))) { dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); } @@ -44451,7 +47629,7 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { } } writeList(list) { - if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + if (list == null) dart.nullFailed(I[98], 838, 32, "list"); this.writeString("["); if (dart.test(list[$isNotEmpty])) { this.writeObject(list[$_get](0)); @@ -44463,7 +47641,7 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { this.writeString("]"); } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (map == null) dart.nullFailed(I[98], 851, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44472,12 +47650,12 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{"); @@ -44494,9 +47672,9 @@ convert._JsonStringifier = class _JsonStringifier extends core.Object { } }; (convert._JsonStringifier.new = function(toEncodable) { - let t173; + let t153; this[_seen] = []; - this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); ; }).prototype = convert._JsonStringifier.prototype; dart.addTypeTests(convert._JsonStringifier); @@ -44511,12 +47689,14 @@ dart.setMethodSignature(convert._JsonStringifier, () => ({ writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert._JsonStringifier, I[31]); +dart.setStaticMethodSignature(convert._JsonStringifier, () => ['hexDigit']); +dart.setLibraryUri(convert._JsonStringifier, I[33]); dart.setFieldSignature(convert._JsonStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringifier.__proto__), [_seen]: dart.finalFieldType(core.List), [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) })); +dart.setStaticFieldSignature(convert._JsonStringifier, () => ['backspace', 'tab', 'newline', 'carriageReturn', 'formFeed', 'quote', 'char_0', 'backslash', 'char_b', 'char_d', 'char_f', 'char_n', 'char_r', 'char_t', 'char_u', 'surrogateMin', 'surrogateMask', 'surrogateLead', 'surrogateTrail']); dart.defineLazy(convert._JsonStringifier, { /*convert._JsonStringifier.backspace*/get backspace() { return 8; @@ -44583,10 +47763,11 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object return this[_indentLevel]; } set [_indentLevel$](value) { + if (value == null) dart.nullFailed(I[98], 886, 7, "_indentLevel"); this[_indentLevel] = value; } writeList(list) { - if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (list == null) dart.nullFailed(I[98], 891, 32, "list"); if (dart.test(list[$isEmpty])) { this.writeString("[]"); } else { @@ -44606,7 +47787,7 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object } } writeMap(map) { - if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (map == null) dart.nullFailed(I[98], 911, 39, "map"); if (dart.test(map[$isEmpty])) { this.writeString("{}"); return true; @@ -44615,12 +47796,12 @@ convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object let i = 0; let allStringKeys = true; map[$forEach](dart.fn((key, value) => { - let t174, t174$; + let t154, t154$; if (!(typeof key == 'string')) { allStringKeys = false; } - keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); - keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + keyValueList[$_set]((t154 = i, i = t154 + 1, t154), key); + keyValueList[$_set]((t154$ = i, i = t154$ + 1, t154$), value); }, T$.ObjectNAndObjectNTovoid())); if (!allStringKeys) return false; this.writeString("{\n"); @@ -44654,19 +47835,23 @@ dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) })); -dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); +dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[33]); dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), [_indentLevel$]: dart.fieldType(core.int) })); convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); + return new convert._JsonStringStringifier.new(_sink, _toEncodable); + } static stringify(object, toEncodable, indent) { let output = new core.StringBuffer.new(); convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); return output.toString(); } static printOn(object, output, toEncodable, indent) { - if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + if (output == null) dart.nullFailed(I[98], 974, 50, "output"); let stringifier = null; if (indent == null) { stringifier = new convert._JsonStringStringifier.new(output, toEncodable); @@ -44679,26 +47864,26 @@ convert._JsonStringStringifier = class _JsonStringStringifier extends convert._J return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + if (number == null) dart.nullFailed(I[98], 987, 24, "number"); this[_sink$0].write(dart.toString(number)); } writeString(string) { - if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + if (string == null) dart.nullFailed(I[98], 991, 27, "string"); this[_sink$0].write(string); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 890, 32, "string"); - if (start == null) dart.nullFailed(I[95], 890, 44, "start"); - if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + if (string == null) dart.nullFailed(I[98], 995, 32, "string"); + if (start == null) dart.nullFailed(I[98], 995, 44, "start"); + if (end == null) dart.nullFailed(I[98], 995, 55, "end"); this[_sink$0].write(string[$substring](start, end)); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 999, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } }; (convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); this[_sink$0] = _sink; convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); ; @@ -44712,11 +47897,12 @@ dart.setMethodSignature(convert._JsonStringStringifier, () => ({ writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), writeCharCode: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(convert._JsonStringStringifier, () => ['stringify', 'printOn']); dart.setGetterSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); -dart.setLibraryUri(convert._JsonStringStringifier, I[31]); +dart.setLibraryUri(convert._JsonStringStringifier, I[33]); dart.setFieldSignature(convert._JsonStringStringifier, () => ({ __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), [_sink$0]: dart.finalFieldType(core.StringSink) @@ -44728,15 +47914,20 @@ const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringi }).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); + return new convert._JsonStringStringifierPretty.new(sink, toEncodable, _indent); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1012, 29, "count"); for (let i = 0; i < dart.notNull(count); i = i + 1) this.writeString(this[_indent$]); } }; (convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { - if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); - if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + if (sink == null) dart.nullFailed(I[98], 1009, 18, "sink"); + if (_indent == null) dart.nullFailed(I[98], 1009, 62, "_indent"); this[_indent$] = _indent; convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); ; @@ -44747,15 +47938,20 @@ dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); +dart.setLibraryUri(convert._JsonStringStringifierPretty, I[33]); dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), [_indent$]: dart.finalFieldType(core.String) })); convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static ['_#new#tearOff'](toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); + return new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } static stringify(object, indent, toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1045, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1046, 12, "addChunk"); let stringifier = null; if (indent != null) { stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); @@ -44766,12 +47962,12 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS stringifier.flush(); } flush() { - let t176, t175, t174; + let t156, t155, t154; if (dart.notNull(this.index) > 0) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); } this.buffer = _native_typed_data.NativeUint8List.new(0); this.index = 0; @@ -44780,25 +47976,25 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS return null; } writeNumber(number) { - if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); this.writeAsciiString(dart.toString(number)); } writeAsciiString(string) { - if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + if (string == null) dart.nullFailed(I[98], 1075, 32, "string"); for (let i = 0; i < string.length; i = i + 1) { let char = string[$codeUnitAt](i); - if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + if (!(char <= 127)) dart.assertFailed(null, I[98], 1080, 14, "char <= 0x7f"); this.writeByte(char); } } writeString(string) { - if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + if (string == null) dart.nullFailed(I[98], 1085, 27, "string"); this.writeStringSlice(string, 0, string.length); } writeStringSlice(string, start, end) { - if (string == null) dart.nullFailed(I[95], 984, 32, "string"); - if (start == null) dart.nullFailed(I[95], 984, 44, "start"); - if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + if (string == null) dart.nullFailed(I[98], 1089, 32, "string"); + if (start == null) dart.nullFailed(I[98], 1089, 44, "start"); + if (end == null) dart.nullFailed(I[98], 1089, 55, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = string[$codeUnitAt](i); if (char <= 127) { @@ -44822,7 +48018,7 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS } } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); if (dart.notNull(charCode) <= 127) { this.writeByte(charCode); return; @@ -44830,7 +48026,7 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS this.writeMultiByteCharCode(charCode); } writeMultiByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (charCode == null) dart.nullFailed(I[98], 1128, 35, "charCode"); if (dart.notNull(charCode) <= 2047) { this.writeByte((192 | charCode[$rightShift](6)) >>> 0); this.writeByte(128 | dart.notNull(charCode) & 63); @@ -44845,31 +48041,31 @@ convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonS this.writeFourByteCharCode(charCode); } writeFourByteCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); - if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + if (charCode == null) dart.nullFailed(I[98], 1143, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[98], 1144, 12, "charCode <= 0x10ffff"); this.writeByte((240 | charCode[$rightShift](18)) >>> 0); this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); this.writeByte(128 | dart.notNull(charCode) & 63); } writeByte(byte) { - let t176, t175, t174, t174$; - if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); - if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + let t156, t155, t154, t154$; + if (byte == null) dart.nullFailed(I[98], 1151, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[98], 1152, 12, "byte <= 0xff"); if (this.index == this.buffer[$length]) { - t174 = this.buffer; - t175 = 0; - t176 = this.index; - this.addChunk(t174, t175, t176); + t154 = this.buffer; + t155 = 0; + t156 = this.index; + this.addChunk(t154, t155, t156); this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); this.index = 0; } - this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + this.buffer[$_set]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); } }; (convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { - if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + if (bufferSize == null) dart.nullFailed(I[98], 1028, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1028, 62, "addChunk"); this.index = 0; this.bufferSize = bufferSize; this.addChunk = addChunk; @@ -44891,11 +48087,12 @@ dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ writeFourByteCharCode: dart.fnType(dart.void, [core.int]), writeByte: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(convert._JsonUtf8Stringifier, () => ['stringify']); dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), [_partialResult]: dart.nullable(core.String) })); -dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); +dart.setLibraryUri(convert._JsonUtf8Stringifier, I[33]); dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), bufferSize: dart.finalFieldType(core.int), @@ -44910,8 +48107,14 @@ const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier }).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + static ['_#new#tearOff'](toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); + return new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } writeIndentation(count) { - if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + if (count == null) dart.nullFailed(I[98], 1170, 29, "count"); let indent = this.indent; let indentLength = indent[$length]; if (indentLength === 1) { @@ -44937,9 +48140,9 @@ convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _J } }; (convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { - if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); - if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); - if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + if (indent == null) dart.nullFailed(I[98], 1166, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[98], 1167, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[98], 1167, 28, "addChunk"); this.indent = indent; convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); ; @@ -44950,7 +48153,7 @@ dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), writeIndentation: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); +dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), indent: dart.finalFieldType(core.List$(core.int)) @@ -44963,35 +48166,40 @@ convert.Latin1Codec = class Latin1Codec extends convert.Encoding { set [_allowInvalid$](value) { super[_allowInvalid$] = value; } + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); + return new convert.Latin1Codec.new({allowInvalid: allowInvalid}); + } get name() { return "iso-8859-1"; } encode(source) { core.String.as(source); - if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + if (source == null) dart.nullFailed(I[99], 40, 27, "source"); return this.encoder.convert(source); } decode(bytes, opts) { - let t174; + let t154; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { - return (C[95] || CT.C95).convert(bytes); + if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { + return (C[102] || CT.C102).convert(bytes); } else { - return (C[96] || CT.C96).convert(bytes); + return (C[103] || CT.C103).convert(bytes); } } get encoder() { - return C[97] || CT.C97; + return C[104] || CT.C104; } get decoder() { - return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + return dart.test(this[_allowInvalid$]) ? C[102] || CT.C102 : C[103] || CT.C103; } }; (convert.Latin1Codec.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 35, 27, "allowInvalid"); this[_allowInvalid$1] = allowInvalid; convert.Latin1Codec.__proto__.new.call(this); ; @@ -45009,23 +48217,32 @@ dart.setGetterSignature(convert.Latin1Codec, () => ({ encoder: convert.Latin1Encoder, decoder: convert.Latin1Decoder })); -dart.setLibraryUri(convert.Latin1Codec, I[31]); +dart.setLibraryUri(convert.Latin1Codec, I[33]); dart.setFieldSignature(convert.Latin1Codec, () => ({ __proto__: dart.getFields(convert.Latin1Codec.__proto__), [_allowInvalid$]: dart.finalFieldType(core.bool) })); -convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; +convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder { + static ['_#new#tearOff']() { + return new convert.Latin1Encoder.new(); + } +}; (convert.Latin1Encoder.new = function() { convert.Latin1Encoder.__proto__.new.call(this, 255); ; }).prototype = convert.Latin1Encoder.prototype; dart.addTypeTests(convert.Latin1Encoder); dart.addTypeCaches(convert.Latin1Encoder); -dart.setLibraryUri(convert.Latin1Encoder, I[31]); +dart.setLibraryUri(convert.Latin1Encoder, I[33]); convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + static ['_#new#tearOff'](opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); + return new convert.Latin1Decoder.new({allowInvalid: allowInvalid}); + } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + if (sink == null) dart.nullFailed(I[99], 124, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45038,7 +48255,7 @@ convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecode }; (convert.Latin1Decoder.new = function(opts) { let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); ; }).prototype = convert.Latin1Decoder.prototype; @@ -45048,31 +48265,34 @@ dart.setMethodSignature(convert.Latin1Decoder, () => ({ __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Latin1Decoder, I[31]); +dart.setLibraryUri(convert.Latin1Decoder, I[33]); var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + return new convert._Latin1DecoderSink.new(_sink); + } close() { dart.nullCheck(this[_sink$0]).close(); this[_sink$0] = null; } add(source) { T$0.ListOfint().as(source); - if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + if (source == null) dart.nullFailed(I[99], 146, 22, "source"); this.addSlice(source, 0, source[$length], false); } [_addSliceToSink](source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 114, 34, "source"); - if (start == null) dart.nullFailed(I[96], 114, 46, "start"); - if (end == null) dart.nullFailed(I[96], 114, 57, "end"); - if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + if (source == null) dart.nullFailed(I[99], 150, 34, "source"); + if (start == null) dart.nullFailed(I[99], 150, 46, "start"); + if (end == null) dart.nullFailed(I[99], 150, 57, "end"); + if (isLast == null) dart.nullFailed(I[99], 150, 67, "isLast"); dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); if (dart.test(isLast)) this.close(); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 123, 27, "source"); - if (start == null) dart.nullFailed(I[96], 123, 39, "start"); - if (end == null) dart.nullFailed(I[96], 123, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 159, 27, "source"); + if (start == null) dart.nullFailed(I[99], 159, 39, "start"); + if (end == null) dart.nullFailed(I[99], 159, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 159, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); if (start == end) return; if (!typed_data.Uint8List.is(source)) { @@ -45081,9 +48301,9 @@ convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConver this[_addSliceToSink](source, start, end, isLast); } static _checkValidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 135, 43, "source"); - if (start == null) dart.nullFailed(I[96], 135, 55, "start"); - if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + if (source == null) dart.nullFailed(I[99], 171, 43, "source"); + if (start == null) dart.nullFailed(I[99], 171, 55, "start"); + if (end == null) dart.nullFailed(I[99], 171, 66, "end"); let mask = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { mask = (mask | dart.notNull(source[$_get](i))) >>> 0; @@ -45094,16 +48314,16 @@ convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConver convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); } static _reportInvalidLatin1(source, start, end) { - if (source == null) dart.nullFailed(I[96], 146, 46, "source"); - if (start == null) dart.nullFailed(I[96], 146, 58, "start"); - if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + if (source == null) dart.nullFailed(I[99], 182, 46, "source"); + if (start == null) dart.nullFailed(I[99], 182, 58, "start"); + if (end == null) dart.nullFailed(I[99], 182, 69, "end"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); } } - if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + if (!false) dart.assertFailed(null, I[99], 192, 12, "false"); } }; (convert._Latin1DecoderSink.new = function(_sink) { @@ -45119,23 +48339,28 @@ dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); +dart.setStaticMethodSignature(convert._Latin1DecoderSink, () => ['_checkValidLatin1', '_reportInvalidLatin1']); +dart.setLibraryUri(convert._Latin1DecoderSink, I[33]); dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) })); convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + static ['_#new#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); + return new convert._Latin1AllowInvalidDecoderSink.new(sink); + } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[96], 163, 27, "source"); - if (start == null) dart.nullFailed(I[96], 163, 39, "start"); - if (end == null) dart.nullFailed(I[96], 163, 50, "end"); - if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + if (source == null) dart.nullFailed(I[99], 199, 27, "source"); + if (start == null) dart.nullFailed(I[99], 199, 39, "start"); + if (end == null) dart.nullFailed(I[99], 199, 50, "end"); + if (isLast == null) dart.nullFailed(I[99], 199, 60, "isLast"); core.RangeError.checkValidRange(start, end, source[$length]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$_get](i); if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); - this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + this[_addSliceToSink](C[105] || CT.C105, 0, 1, false); start = dart.notNull(i) + 1; } } @@ -45148,44 +48373,25 @@ convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink ex } }; (convert._Latin1AllowInvalidDecoderSink.new = function(sink) { - if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + if (sink == null) dart.nullFailed(I[99], 197, 55, "sink"); convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); ; }).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); -dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); +dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[33]); convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static ['_#new#tearOff']() { + return new convert.LineSplitter.new(); + } static split(lines, start = 0, end = null) { - if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); - if (start == null) dart.nullFailed(I[97], 28, 52, "start"); - return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { - end = core.RangeError.checkValidRange(start, end, lines.length); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } - let sliceStart = start; - let char = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - yield lines[$substring](sliceStart, i); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - yield lines[$substring](sliceStart, end); - } - })(end)); + if (lines == null) dart.nullFailed(I[100], 47, 40, "lines"); + if (start == null) dart.nullFailed(I[100], 47, 52, "start"); + end = core.RangeError.checkValidRange(start, end, lines.length); + return new convert._LineSplitIterable.new(lines, start, end); } convert(data) { - if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + if (data == null) dart.nullFailed(I[100], 52, 31, "data"); let lines = T$.JSArrayOfString().of([]); let end = data.length; let sliceStart = 0; @@ -45209,14 +48415,14 @@ convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(c return lines; } startChunkedConversion(sink) { - if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + if (sink == null) dart.nullFailed(I[100], 76, 60, "sink"); return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + if (stream == null) dart.nullFailed(I[100], 81, 38, "stream"); return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); return new convert._LineSplitterEventSink.new(sink); }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); } @@ -45233,16 +48439,21 @@ dart.setMethodSignature(convert.LineSplitter, () => ({ startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.LineSplitter, I[31]); +dart.setStaticMethodSignature(convert.LineSplitter, () => ['split']); +dart.setLibraryUri(convert.LineSplitter, I[33]); var _carry = dart.privateName(convert, "_carry"); var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); var _addLines = dart.privateName(convert, "_addLines"); convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); + return new convert._LineSplitterSink.new(_sink); + } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); - if (start == null) dart.nullFailed(I[97], 109, 35, "start"); - if (end == null) dart.nullFailed(I[97], 109, 46, "end"); - if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + if (chunk == null) dart.nullFailed(I[100], 107, 24, "chunk"); + if (start == null) dart.nullFailed(I[100], 107, 35, "start"); + if (end == null) dart.nullFailed(I[100], 107, 46, "end"); + if (isLast == null) dart.nullFailed(I[100], 107, 56, "isLast"); end = core.RangeError.checkValidRange(start, end, chunk.length); if (dart.notNull(start) >= dart.notNull(end)) { if (dart.test(isLast)) this.close(); @@ -45250,7 +48461,7 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver } let carry = this[_carry]; if (carry != null) { - if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[100], 117, 14, "!_skipLeadingLF"); chunk = dart.notNull(carry) + chunk[$substring](start, end); start = 0; end = chunk.length; @@ -45272,9 +48483,9 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver this[_sink$0].close(); } [_addLines](lines, start, end) { - if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); - if (start == null) dart.nullFailed(I[97], 142, 36, "start"); - if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + if (lines == null) dart.nullFailed(I[100], 140, 25, "lines"); + if (start == null) dart.nullFailed(I[100], 140, 36, "start"); + if (end == null) dart.nullFailed(I[100], 140, 47, "end"); let sliceStart = start; let char = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { @@ -45298,7 +48509,7 @@ convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConver } }; (convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); this[_carry] = null; this[_skipLeadingLF] = false; this[_sink$0] = _sink; @@ -45312,7 +48523,7 @@ dart.setMethodSignature(convert._LineSplitterSink, () => ({ close: dart.fnType(dart.void, []), [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) })); -dart.setLibraryUri(convert._LineSplitterSink, I[31]); +dart.setLibraryUri(convert._LineSplitterSink, I[33]); dart.setFieldSignature(convert._LineSplitterSink, () => ({ __proto__: dart.getFields(convert._LineSplitterSink.__proto__), [_sink$0]: dart.finalFieldType(convert.StringConversionSink), @@ -45320,13 +48531,17 @@ dart.setFieldSignature(convert._LineSplitterSink, () => ({ [_skipLeadingLF]: dart.fieldType(core.bool) })); convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + static ['_#new#tearOff'](eventSink) { + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); + return new convert._LineSplitterEventSink.new(eventSink); + } addError(o, stackTrace = null) { - if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + if (o == null) dart.nullFailed(I[100], 172, 24, "o"); this[_eventSink].addError(o, stackTrace); } }; (convert._LineSplitterEventSink.new = function(eventSink) { - if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + if (eventSink == null) dart.nullFailed(I[100], 168, 44, "eventSink"); this[_eventSink] = eventSink; convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); ; @@ -45338,36 +48553,178 @@ dart.setMethodSignature(convert._LineSplitterEventSink, () => ({ __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) })); -dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); +dart.setLibraryUri(convert._LineSplitterEventSink, I[33]); dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) })); -convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; +var _source$5 = dart.privateName(convert, "_source"); +var _start$1 = dart.privateName(convert, "_start"); +var _end$ = dart.privateName(convert, "_end"); +convert._LineSplitIterable = class _LineSplitIterable extends core.Iterable$(core.String) { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + return new convert._LineSplitIterable.new(_source, _start, _end); + } + get iterator() { + return new convert._LineSplitIterator.new(this[_source$5], this[_start$1], this[_end$]); + } +}; +(convert._LineSplitIterable.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 180, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 180, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 180, 54, "_end"); + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + convert._LineSplitIterable.__proto__.new.call(this); + ; +}).prototype = convert._LineSplitIterable.prototype; +dart.addTypeTests(convert._LineSplitIterable); +dart.addTypeCaches(convert._LineSplitIterable); +dart.setGetterSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterable.__proto__), + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String) +})); +dart.setLibraryUri(convert._LineSplitIterable, I[33]); +dart.setFieldSignature(convert._LineSplitIterable, () => ({ + __proto__: dart.getFields(convert._LineSplitIterable.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_start$1]: dart.finalFieldType(core.int), + [_end$]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(convert._LineSplitIterable, ['iterator']); +var _lineStart = dart.privateName(convert, "_lineStart"); +var _lineEnd = dart.privateName(convert, "_lineEnd"); +var _current$2 = dart.privateName(convert, "_current"); +convert._LineSplitIterator = class _LineSplitIterator extends core.Object { + static ['_#new#tearOff'](_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + return new convert._LineSplitIterator.new(_source, _start, _end); + } + moveNext() { + this[_current$2] = null; + this[_lineStart] = this[_start$1]; + this[_lineEnd] = -1; + let eolLength = 1; + for (let i = this[_start$1]; dart.notNull(i) < dart.notNull(this[_end$]); i = dart.notNull(i) + 1) { + let char = this[_source$5][$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + } else { + if (dart.notNull(i) + 1 < dart.notNull(this[_end$]) && this[_source$5][$codeUnitAt](dart.notNull(i) + 1) === 10) { + eolLength = 2; + } + } + this[_lineEnd] = i; + this[_start$1] = dart.notNull(i) + eolLength; + return true; + } + if (dart.notNull(this[_start$1]) < dart.notNull(this[_end$])) { + this[_lineEnd] = this[_end$]; + this[_start$1] = this[_end$]; + return true; + } + this[_start$1] = this[_end$]; + return false; + } + get current() { + let t154; + t154 = this[_current$2]; + return t154 == null ? this[_current$2] = dart.notNull(this[_lineEnd]) >= 0 ? this[_source$5][$substring](this[_lineStart], this[_lineEnd]) : dart.throw(new core.StateError.new("No element")) : t154; + } +}; +(convert._LineSplitIterator.new = function(_source, _start, _end) { + if (_source == null) dart.nullFailed(I[100], 191, 27, "_source"); + if (_start == null) dart.nullFailed(I[100], 191, 41, "_start"); + if (_end == null) dart.nullFailed(I[100], 191, 54, "_end"); + this[_lineStart] = 0; + this[_lineEnd] = -1; + this[_current$2] = null; + this[_source$5] = _source; + this[_start$1] = _start; + this[_end$] = _end; + ; +}).prototype = convert._LineSplitIterator.prototype; +dart.addTypeTests(convert._LineSplitIterator); +dart.addTypeCaches(convert._LineSplitIterator); +convert._LineSplitIterator[dart.implements] = () => [core.Iterator$(core.String)]; +dart.setMethodSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getMethods(convert._LineSplitIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getGetters(convert._LineSplitIterator.__proto__), + current: core.String +})); +dart.setLibraryUri(convert._LineSplitIterator, I[33]); +dart.setFieldSignature(convert._LineSplitIterator, () => ({ + __proto__: dart.getFields(convert._LineSplitIterator.__proto__), + [_source$5]: dart.finalFieldType(core.String), + [_end$]: dart.finalFieldType(core.int), + [_start$1]: dart.fieldType(core.int), + [_lineStart]: dart.fieldType(core.int), + [_lineEnd]: dart.fieldType(core.int), + [_current$2]: dart.fieldType(dart.nullable(core.String)) +})); +convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) { + static ['_#withCallback#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[89], 20, 50, "callback"); + return new convert._StringCallbackSink.new(callback); + } + static ['_#from#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 22, 50, "sink"); + return new convert._StringAdapterSink.new(sink); + } + static ['_#fromStringSink#tearOff'](sink) { + if (sink == null) dart.nullFailed(I[89], 29, 58, "sink"); + return new (T$0._StringSinkConversionSinkOfStringSink()).new(sink); + } +}; (convert.StringConversionSink.new = function() { convert.StringConversionSink.__proto__.new.call(this); ; }).prototype = convert.StringConversionSink.prototype; dart.addTypeTests(convert.StringConversionSink); dart.addTypeCaches(convert.StringConversionSink); -dart.setLibraryUri(convert.StringConversionSink, I[31]); +dart.setStaticMethodSignature(convert.StringConversionSink, () => ['withCallback', 'from', 'fromStringSink']); +dart.setLibraryUri(convert.StringConversionSink, I[33]); +dart.setStaticFieldSignature(convert.StringConversionSink, () => ['_redirecting#']); core.StringSink = class StringSink extends core.Object {}; (core.StringSink.new = function() { ; }).prototype = core.StringSink.prototype; dart.addTypeTests(core.StringSink); dart.addTypeCaches(core.StringSink); -dart.setLibraryUri(core.StringSink, I[8]); -convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; +dart.setLibraryUri(core.StringSink, I[9]); +convert.ClosableStringSink = class ClosableStringSink extends core.StringSink { + static ['_#fromStringSink#tearOff'](sink, onClose) { + if (sink == null) dart.nullFailed(I[89], 59, 56, "sink"); + if (onClose == null) dart.nullFailed(I[89], 59, 67, "onClose"); + return new convert._ClosableStringSink.new(sink, onClose); + } +}; dart.addTypeTests(convert.ClosableStringSink); dart.addTypeCaches(convert.ClosableStringSink); -dart.setLibraryUri(convert.ClosableStringSink, I[31]); +dart.setStaticMethodSignature(convert.ClosableStringSink, () => ['fromStringSink']); +dart.setLibraryUri(convert.ClosableStringSink, I[33]); +dart.setStaticFieldSignature(convert.ClosableStringSink, () => ['_redirecting#']); convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + static ['_#new#tearOff'](_sink, _callback) { + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); + return new convert._ClosableStringSink.new(_sink, _callback); + } close() { this[_callback$](); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 78, 26, "charCode"); this[_sink$0].writeCharCode(charCode); } write(o) { @@ -45377,14 +48734,14 @@ convert._ClosableStringSink = class _ClosableStringSink extends core.Object { this[_sink$0].writeln(o); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 90, 43, "separator"); this[_sink$0].writeAll(objects, separator); } }; (convert._ClosableStringSink.new = function(_sink, _callback) { - if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + if (_sink == null) dart.nullFailed(I[89], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); this[_sink$0] = _sink; this[_callback$] = _callback; ; @@ -45400,7 +48757,7 @@ dart.setMethodSignature(convert._ClosableStringSink, () => ({ writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) })); -dart.setLibraryUri(convert._ClosableStringSink, I[31]); +dart.setLibraryUri(convert._ClosableStringSink, I[33]); dart.setFieldSignature(convert._ClosableStringSink, () => ({ __proto__: dart.getFields(convert._ClosableStringSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), @@ -45408,12 +48765,16 @@ dart.setFieldSignature(convert._ClosableStringSink, () => ({ })); var _flush = dart.privateName(convert, "_flush"); convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + static ['_#new#tearOff'](_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); + return new convert._StringConversionSinkAsStringSinkAdapter.new(_chunkedSink); + } close() { if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); this[_chunkedSink$].close(); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[89], 113, 26, "charCode"); this[_buffer$].writeCharCode(charCode); if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } @@ -45426,8 +48787,8 @@ convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAs if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); - if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (objects == null) dart.nullFailed(I[89], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[89], 128, 43, "separator"); if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; @@ -45450,7 +48811,7 @@ convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAs } }; (convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); this[_chunkedSink$] = _chunkedSink; this[_buffer$] = new core.StringBuffer.new(); ; @@ -45467,54 +48828,63 @@ dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), [_flush]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); +dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[33]); dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), [_buffer$]: dart.finalFieldType(core.StringBuffer), [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) })); +dart.setStaticFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ['_MIN_STRING_SIZE']); dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { return 16; } }, false); convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + static ['_#new#tearOff'](_callback) { + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); + return new convert._StringCallbackSink.new(_callback); + } close() { - let t174; + let t154; let accumulated = dart.toString(this[_stringSink$]); this[_stringSink$].clear(); - t174 = accumulated; - this[_callback$](t174); + t154 = accumulated; + this[_callback$](t154); } asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[89], 222, 38, "allowMalformed"); return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); } }; (convert._StringCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + if (_callback == null) dart.nullFailed(I[89], 214, 28, "_callback"); this[_callback$] = _callback; convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); ; }).prototype = convert._StringCallbackSink.prototype; dart.addTypeTests(convert._StringCallbackSink); dart.addTypeCaches(convert._StringCallbackSink); -dart.setLibraryUri(convert._StringCallbackSink, I[31]); +dart.setLibraryUri(convert._StringCallbackSink, I[33]); dart.setFieldSignature(convert._StringCallbackSink, () => ({ __proto__: dart.getFields(convert._StringCallbackSink.__proto__), [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) })); convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); + return new convert._StringAdapterSink.new(_sink); + } add(str) { core.String.as(str); - if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + if (str == null) dart.nullFailed(I[89], 237, 19, "str"); this[_sink$0].add(str); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[86], 241, 24, "str"); - if (start == null) dart.nullFailed(I[86], 241, 33, "start"); - if (end == null) dart.nullFailed(I[86], 241, 44, "end"); - if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (str == null) dart.nullFailed(I[89], 241, 24, "str"); + if (start == null) dart.nullFailed(I[89], 241, 33, "start"); + if (end == null) dart.nullFailed(I[89], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[89], 241, 54, "isLast"); if (start === 0 && end === str.length) { this.add(str); } else { @@ -45527,7 +48897,7 @@ convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConv } }; (convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); this[_sink$0] = _sink; ; }).prototype = convert._StringAdapterSink.prototype; @@ -45538,34 +48908,40 @@ dart.setMethodSignature(convert._StringAdapterSink, () => ({ addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(convert._StringAdapterSink, I[31]); +dart.setLibraryUri(convert._StringAdapterSink, I[33]); dart.setFieldSignature(convert._StringAdapterSink, () => ({ __proto__: dart.getFields(convert._StringAdapterSink.__proto__), [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) })); convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(_sink, _stringSink, allowMalformed); + } close() { this[_decoder].flush(this[_stringSink$]); this[_sink$0].close(); } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 271, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(codeUnits, startIndex, endIndex, isLast) { - if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); - if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + if (codeUnits == null) dart.nullFailed(I[89], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[89], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 276, 63, "isLast"); this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); if (dart.test(isLast)) this.close(); } }; (convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { - if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); - if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); - if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + if (_sink == null) dart.nullFailed(I[89], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[89], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[89], 263, 61, "allowMalformed"); this[_sink$0] = _sink; this[_stringSink$] = _stringSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); @@ -45580,7 +48956,7 @@ dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); +dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[33]); dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45588,6 +48964,17 @@ dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ [_stringSink$]: dart.finalFieldType(core.StringSink) })); convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); + return new convert._Utf8ConversionSink.new(sink, allowMalformed); + } + static ['_#_#tearOff'](_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); + return new convert._Utf8ConversionSink.__(_chunkedSink, stringBuffer, allowMalformed); + } close() { this[_decoder].flush(this[_buffer$]); if (dart.test(this[_buffer$].isNotEmpty)) { @@ -45600,14 +48987,14 @@ convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConv } add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[89], 309, 22, "chunk"); this.addSlice(chunk, 0, chunk[$length], false); } addSlice(chunk, startIndex, endIndex, isLast) { - if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); - if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); - if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); - if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + if (chunk == null) dart.nullFailed(I[89], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[89], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[89], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[89], 313, 69, "isLast"); this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); if (dart.test(this[_buffer$].isNotEmpty)) { let accumulated = dart.toString(this[_buffer$]); @@ -45619,14 +49006,14 @@ convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConv } }; (convert._Utf8ConversionSink.new = function(sink, allowMalformed) { - if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); - if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + if (sink == null) dart.nullFailed(I[89], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[89], 290, 55, "allowMalformed"); convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); }).prototype = convert._Utf8ConversionSink.prototype; (convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { - if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); - if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); - if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + if (_chunkedSink == null) dart.nullFailed(I[89], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[89], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[89], 294, 58, "allowMalformed"); this[_chunkedSink$] = _chunkedSink; this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); this[_buffer$] = stringBuffer; @@ -45641,7 +49028,7 @@ dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ add: dart.fnType(dart.void, [dart.nullable(core.Object)]), addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); +dart.setLibraryUri(convert._Utf8ConversionSink, I[33]); dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), [_decoder]: dart.finalFieldType(convert._Utf8Decoder), @@ -45658,27 +49045,32 @@ convert.Utf8Codec = class Utf8Codec extends convert.Encoding { set [_allowMalformed$](value) { super[_allowMalformed$] = value; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); + return new convert.Utf8Codec.new({allowMalformed: allowMalformed}); + } get name() { return "utf-8"; } decode(codeUnits, opts) { - let t174; + let t154; T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + let decoder = dart.test((t154 = allowMalformed, t154 == null ? this[_allowMalformed$] : t154)) ? C[106] || CT.C106 : C[107] || CT.C107; return decoder.convert(codeUnits); } get encoder() { - return C[101] || CT.C101; + return C[108] || CT.C108; } get decoder() { - return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + return dart.test(this[_allowMalformed$]) ? C[106] || CT.C106 : C[107] || CT.C107; } }; (convert.Utf8Codec.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 40, 25, "allowMalformed"); this[_allowMalformed] = allowMalformed; convert.Utf8Codec.__proto__.new.call(this); ; @@ -45695,7 +49087,7 @@ dart.setGetterSignature(convert.Utf8Codec, () => ({ encoder: convert.Utf8Encoder, decoder: convert.Utf8Decoder })); -dart.setLibraryUri(convert.Utf8Codec, I[31]); +dart.setLibraryUri(convert.Utf8Codec, I[33]); dart.setFieldSignature(convert.Utf8Codec, () => ({ __proto__: dart.getFields(convert.Utf8Codec.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) @@ -45703,35 +49095,35 @@ dart.setFieldSignature(convert.Utf8Codec, () => ({ var _fillBuffer = dart.privateName(convert, "_fillBuffer"); var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new convert.Utf8Encoder.new(); + } convert(string, start = 0, end = null) { core.String.as(string); - if (string == null) dart.nullFailed(I[98], 88, 28, "string"); - if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + if (string == null) dart.nullFailed(I[101], 96, 28, "string"); + if (start == null) dart.nullFailed(I[101], 96, 41, "start"); let stringLength = string.length; end = core.RangeError.checkValidRange(start, end, stringLength); - if (end == null) { - dart.throw(new core.RangeError.new("Invalid range")); - } let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return _native_typed_data.NativeUint8List.new(0); let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); let endPosition = encoder[_fillBuffer](string, start, end); - if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[101], 105, 12, "endPosition >= end - 1"); if (endPosition != end) { let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); - if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[101], 111, 14, "_isLeadSurrogate(lastCodeUnit)"); encoder[_writeReplacementCharacter](); } return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + if (sink == null) dart.nullFailed(I[101], 122, 63, "sink"); return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); } bind(stream) { T$0.StreamOfString().as(stream); - if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 128, 41, "stream"); return super.bind(stream); } }; @@ -45746,31 +49138,38 @@ dart.setMethodSignature(convert.Utf8Encoder, () => ({ convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Utf8Encoder, I[31]); +dart.setLibraryUri(convert.Utf8Encoder, I[33]); var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static ['_#new#tearOff']() { + return new convert._Utf8Encoder.new(); + } + static ['_#withBufferSize#tearOff'](bufferSize) { + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); + return new convert._Utf8Encoder.withBufferSize(bufferSize); + } static _createBuffer(size) { - if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + if (size == null) dart.nullFailed(I[101], 146, 38, "size"); return _native_typed_data.NativeUint8List.new(size); } [_writeReplacementCharacter]() { - let t174, t174$, t174$0; - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + let t154, t154$, t154$0; + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), 239); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 191); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 189); } [_writeSurrogate](leadingSurrogate, nextCodeUnit) { - let t174, t174$, t174$0, t174$1; - if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); - if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + let t154, t154$, t154$0, t154$1; + if (leadingSurrogate == null) dart.nullFailed(I[101], 164, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[101], 164, 50, "nextCodeUnit"); if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); - if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); - if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); - this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); - this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); - this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); - this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[101], 169, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[101], 170, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t154 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154) + 1, t154), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t154$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$) + 1, t154$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t154$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$0) + 1, t154$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t154$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t154$1) + 1, t154$1), 128 | dart.notNull(rune) & 63); return true; } else { this[_writeReplacementCharacter](); @@ -45778,19 +49177,19 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { } } [_fillBuffer](str, start, end) { - let t175, t175$, t175$0, t175$1, t175$2, t175$3; - if (str == null) dart.nullFailed(I[98], 186, 26, "str"); - if (start == null) dart.nullFailed(I[98], 186, 35, "start"); - if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + let t155, t155$, t155$0, t155$1, t155$2, t155$3; + if (str == null) dart.nullFailed(I[101], 190, 26, "str"); + if (start == null) dart.nullFailed(I[101], 190, 35, "start"); + if (end == null) dart.nullFailed(I[101], 190, 46, "end"); if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { end = dart.notNull(end) - 1; } let stringIndex = null; - for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + for (let t154 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { let codeUnit = str[$codeUnitAt](stringIndex); if (codeUnit <= 127) { if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + this[_buffer$][$_set]((t155 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155) + 1, t155), codeUnit); } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); @@ -45803,14 +49202,14 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { let rune = codeUnit; if (rune <= 2047) { if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); - this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + this[_buffer$][$_set]((t155$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$) + 1, t155$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t155$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$0) + 1, t155$0), 128 | rune & 63); } else { - if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (!(rune <= 65535)) dart.assertFailed(null, I[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); - this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); - this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + this[_buffer$][$_set]((t155$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$1) + 1, t155$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t155$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$2) + 1, t155$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t155$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t155$3) + 1, t155$3), 128 | rune & 63); } } } @@ -45821,7 +49220,7 @@ convert._Utf8Encoder = class _Utf8Encoder extends core.Object { convert._Utf8Encoder.withBufferSize.call(this, 1024); }).prototype = convert._Utf8Encoder.prototype; (convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); this[_carry] = 0; this[_bufferIndex] = 0; this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); @@ -45835,13 +49234,15 @@ dart.setMethodSignature(convert._Utf8Encoder, () => ({ [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) })); -dart.setLibraryUri(convert._Utf8Encoder, I[31]); +dart.setStaticMethodSignature(convert._Utf8Encoder, () => ['_createBuffer']); +dart.setLibraryUri(convert._Utf8Encoder, I[33]); dart.setFieldSignature(convert._Utf8Encoder, () => ({ __proto__: dart.getFields(convert._Utf8Encoder.__proto__), [_carry]: dart.fieldType(core.int), [_bufferIndex]: dart.fieldType(core.int), [_buffer$]: dart.finalFieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(convert._Utf8Encoder, () => ['_DEFAULT_BYTE_BUFFER_SIZE']); dart.defineLazy(convert._Utf8Encoder, { /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { return 1024; @@ -45856,6 +49257,10 @@ const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConve }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); + return new convert._Utf8EncoderSink.new(_sink); + } close() { if (this[_carry] !== 0) { this.addSlice("", 0, 0, true); @@ -45864,10 +49269,10 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon this[_sink$0].close(); } addSlice(str, start, end, isLast) { - if (str == null) dart.nullFailed(I[98], 245, 24, "str"); - if (start == null) dart.nullFailed(I[98], 245, 33, "start"); - if (end == null) dart.nullFailed(I[98], 245, 44, "end"); - if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + if (str == null) dart.nullFailed(I[101], 249, 24, "str"); + if (start == null) dart.nullFailed(I[101], 249, 33, "start"); + if (end == null) dart.nullFailed(I[101], 249, 44, "end"); + if (isLast == null) dart.nullFailed(I[101], 249, 54, "isLast"); this[_bufferIndex] = 0; if (start == end && !dart.test(isLast)) { return; @@ -45877,10 +49282,10 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon if (start != end) { nextCodeUnit = str[$codeUnitAt](start); } else { - if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + if (!dart.test(isLast)) dart.assertFailed(null, I[101], 261, 16, "isLast"); } let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); - if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[101], 265, 14, "!wasCombined || start != end"); if (dart.test(wasCombined)) start = dart.notNull(start) + 1; this[_carry] = 0; } @@ -45902,7 +49307,7 @@ convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringCon } }; (convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); this[_sink$0] = _sink; convert._Utf8EncoderSink.__proto__.new.call(this); ; @@ -45914,7 +49319,7 @@ dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); +dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) @@ -45928,10 +49333,10 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co super[_allowMalformed$] = value; } static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 433, 59, "start"); - if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + if (allowMalformed == null) dart.nullFailed(I[88], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 433, 59, "start"); + if (end == null) dart.nullFailed(I[88], 433, 70, "end"); let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; if (decoder == null) return null; if (0 === start && end == codeUnits[$length]) { @@ -45942,7 +49347,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); } static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); try { return decoder.decode(codeUnits); } catch (e$) { @@ -45953,10 +49358,15 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } return null; } + static ['_#new#tearOff'](opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); + return new convert.Utf8Decoder.new({allowMalformed: allowMalformed}); + } convert(codeUnits, start = 0, end = null) { T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + if (codeUnits == null) dart.nullFailed(I[101], 343, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 343, 44, "start"); let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); if (result != null) { return result; @@ -45965,7 +49375,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); let stringSink = null; if (convert.StringConversionSink.is(sink)) { stringSink = sink; @@ -45976,17 +49386,17 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); return super.bind(stream); } fuse(T, next) { - if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + if (next == null) dart.nullFailed(I[88], 398, 56, "next"); return super.fuse(T, next); } static _convertIntercepted(allowMalformed, codeUnits, start, end) { - if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); - if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (allowMalformed == null) dart.nullFailed(I[88], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[88], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 405, 53, "start"); if (codeUnits instanceof Uint8Array) { let casted = codeUnits; end == null ? end = casted[$length] : null; @@ -46006,7 +49416,7 @@ convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(co }; (convert.Utf8Decoder.new = function(opts) { let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); this[_allowMalformed$0] = allowMalformed; convert.Utf8Decoder.__proto__.new.call(this); ; @@ -46019,11 +49429,13 @@ dart.setMethodSignature(convert.Utf8Decoder, () => ({ startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) })); -dart.setLibraryUri(convert.Utf8Decoder, I[31]); +dart.setStaticMethodSignature(convert.Utf8Decoder, () => ['_convertInterceptedUint8List', '_useTextDecoder', '_convertIntercepted']); +dart.setLibraryUri(convert.Utf8Decoder, I[33]); dart.setFieldSignature(convert.Utf8Decoder, () => ({ __proto__: dart.getFields(convert.Utf8Decoder.__proto__), [_allowMalformed$]: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(convert.Utf8Decoder, () => ['_shortInputThreshold', '_decoder', '_decoderNonfatal']); dart.defineLazy(convert.Utf8Decoder, { /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { return 15; @@ -46059,60 +49471,64 @@ var _charOrIndex = dart.privateName(convert, "_charOrIndex"); var _convertRecursive = dart.privateName(convert, "_convertRecursive"); convert._Utf8Decoder = class _Utf8Decoder extends core.Object { static isErrorState(state) { - if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + if (state == null) dart.nullFailed(I[101], 528, 32, "state"); return (dart.notNull(state) & 1) !== 0; } static errorDescription(state) { - if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + if (state == null) dart.nullFailed(I[101], 530, 38, "state"); switch (state) { case 65: - { - return "Missing extension byte"; - } + { + return "Missing extension byte"; + } case 67: - { - return "Unexpected extension byte"; - } + { + return "Unexpected extension byte"; + } case 69: - { - return "Invalid UTF-8 byte"; - } + { + return "Invalid UTF-8 byte"; + } case 71: - { - return "Overlong encoding"; - } + { + return "Overlong encoding"; + } case 73: - { - return "Out of unicode range"; - } + { + return "Out of unicode range"; + } case 75: - { - return "Encoded surrogate"; - } + { + return "Encoded surrogate"; + } case 77: - { - return "Unfinished UTF-8 octet sequence"; - } + { + return "Unfinished UTF-8 octet sequence"; + } default: - { - return ""; - } + { + return ""; + } } } + static ['_#new#tearOff'](allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); + return new convert._Utf8Decoder.new(allowMalformed); + } convertSingle(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 479, 49, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, true); } convertChunked(codeUnits, start, maybeEnd) { - if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); - if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + if (codeUnits == null) dart.nullFailed(I[88], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[88], 484, 50, "start"); return this.convertGeneral(codeUnits, start, maybeEnd, false); } convertGeneral(codeUnits, start, maybeEnd, single) { - if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 529, 32, "start"); - if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + if (codeUnits == null) dart.nullFailed(I[101], 558, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 558, 32, "start"); + if (single == null) dart.nullFailed(I[101], 558, 59, "single"); let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); if (start == end) return ""; let bytes = null; @@ -46135,10 +49551,10 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return result; } [_convertRecursive](bytes, start, end, single) { - if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); - if (start == null) dart.nullFailed(I[98], 556, 49, "start"); - if (end == null) dart.nullFailed(I[98], 556, 60, "end"); - if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (bytes == null) dart.nullFailed(I[101], 585, 38, "bytes"); + if (start == null) dart.nullFailed(I[101], 585, 49, "start"); + if (end == null) dart.nullFailed(I[101], 585, 60, "end"); + if (single == null) dart.nullFailed(I[101], 585, 70, "single"); if (dart.notNull(end) - dart.notNull(start) > 1000) { let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); let s1 = this[_convertRecursive](bytes, start, mid, false); @@ -46149,7 +49565,7 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return this.decodeGeneral(bytes, start, end, single); } flush(sink) { - if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + if (sink == null) dart.nullFailed(I[101], 602, 25, "sink"); let state = this[_state$0]; this[_state$0] = 0; if (dart.notNull(state) <= 32) { @@ -46162,18 +49578,18 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } } decodeGeneral(bytes, start, end, single) { - let t178, t178$, t178$0, t178$1; - if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); - if (start == null) dart.nullFailed(I[98], 587, 45, "start"); - if (end == null) dart.nullFailed(I[98], 587, 56, "end"); - if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let t158, t158$, t158$0, t158$1; + if (bytes == null) dart.nullFailed(I[101], 616, 34, "bytes"); + if (start == null) dart.nullFailed(I[101], 616, 45, "start"); + if (end == null) dart.nullFailed(I[101], 616, 56, "end"); + if (single == null) dart.nullFailed(I[101], 616, 66, "single"); let typeTable = convert._Utf8Decoder.typeTable; let transitionTable = convert._Utf8Decoder.transitionTable; let state = this[_state$0]; let char = this[_charOrIndex]; let buffer = new core.StringBuffer.new(); let i = start; - let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + let byte = bytes[$_get]((t158 = i, i = dart.notNull(t158) + 1, t158)); L1: while (true) { while (true) { @@ -46189,22 +49605,22 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { switch (state) { case 69: case 67: - { - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + break; + } case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } } state = 0; } else { @@ -46214,20 +49630,20 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } } if (i == end) break L1; - byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); } let markStart = i; - byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + byte = bytes[$_get]((t158$0 = i, i = dart.notNull(t158$0) + 1, t158$0)); if (dart.notNull(byte) < 128) { let markEnd = end; while (dart.notNull(i) < dart.notNull(end)) { - byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + byte = bytes[$_get]((t158$1 = i, i = dart.notNull(t158$1) + 1, t158$1)); if (dart.notNull(byte) >= 128) { markEnd = dart.notNull(i) - 1; break; } } - if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[101], 681, 16, "markStart < markEnd"); if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { buffer.writeCharCode(bytes[$_get](m)); @@ -46252,9 +49668,9 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { return buffer.toString(); } static _makeUint8List(codeUnits, start, end) { - if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); - if (start == null) dart.nullFailed(I[98], 679, 60, "start"); - if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + if (codeUnits == null) dart.nullFailed(I[101], 708, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[101], 708, 60, "start"); + if (end == null) dart.nullFailed(I[101], 708, 71, "end"); let length = dart.notNull(end) - dart.notNull(start); let bytes = _native_typed_data.NativeUint8List.new(length); for (let i = 0; i < length; i = i + 1) { @@ -46268,7 +49684,7 @@ convert._Utf8Decoder = class _Utf8Decoder extends core.Object { } }; (convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); this[_charOrIndex] = 0; this.allowMalformed = allowMalformed; this[_state$0] = 16; @@ -46285,13 +49701,15 @@ dart.setMethodSignature(convert._Utf8Decoder, () => ({ flush: dart.fnType(dart.void, [core.StringSink]), decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) })); -dart.setLibraryUri(convert._Utf8Decoder, I[31]); +dart.setStaticMethodSignature(convert._Utf8Decoder, () => ['isErrorState', 'errorDescription', '_makeUint8List']); +dart.setLibraryUri(convert._Utf8Decoder, I[33]); dart.setFieldSignature(convert._Utf8Decoder, () => ({ __proto__: dart.getFields(convert._Utf8Decoder.__proto__), allowMalformed: dart.finalFieldType(core.bool), [_state$0]: dart.fieldType(core.int), [_charOrIndex]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(convert._Utf8Decoder, () => ['typeMask', 'shiftedByteMask', 'typeTable', 'IA', 'BB', 'AB', 'X1', 'X2', 'X3', 'TO', 'TS', 'QO', 'QR', 'B1', 'B2', 'E1', 'E2', 'E3', 'E4', 'E5', 'E6', 'E7', '_IA', '_BB', '_AB', '_X1', '_X2', '_X3', '_TO', '_TS', '_QO', '_QR', '_B1', '_B2', '_E1', '_E2', '_E3', '_E4', '_E5', '_E6', '_E7', 'transitionTable', 'initial', 'accept', 'beforeBom', 'afterBom', 'errorMissingExtension', 'errorUnexpectedExtension', 'errorInvalid', 'errorOverlong', 'errorOutOfRange', 'errorSurrogate', 'errorUnfinished']); dart.defineLazy(convert._Utf8Decoder, { /*convert._Utf8Decoder.typeMask*/get typeMask() { return 31; @@ -46454,7 +49872,7 @@ dart.defineLazy(convert._Utf8Decoder, { } }, false); convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); function walk(e) { if (e == null || typeof e != "object") { return e; @@ -46495,15 +49913,15 @@ convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { return object; }; convert.base64Encode = function base64Encode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 41, 31, "bytes"); return convert.base64.encode(bytes); }; convert.base64UrlEncode = function base64UrlEncode(bytes) { - if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + if (bytes == null) dart.nullFailed(I[96], 46, 34, "bytes"); return convert.base64Url.encode(bytes); }; convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + if (source == null) dart.nullFailed(I[96], 52, 31, "source"); return convert.base64.decode(source); }; convert.jsonEncode = function jsonEncode(object, opts) { @@ -46511,12 +49929,12 @@ convert.jsonEncode = function jsonEncode(object, opts) { return convert.json.encode(object, {toEncodable: toEncodable}); }; convert.jsonDecode = function jsonDecode(source, opts) { - if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + if (source == null) dart.nullFailed(I[98], 153, 27, "source"); let reviver = opts && 'reviver' in opts ? opts.reviver : null; return convert.json.decode(source, {reviver: reviver}); }; convert._parseJson = function _parseJson(source, reviver) { - if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (source == null) dart.nullFailed(I[88], 31, 19, "source"); if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); let parsed = null; try { @@ -46538,42 +49956,42 @@ convert._defaultToEncodable = function _defaultToEncodable(object) { return dart.dsend(object, 'toJson', []); }; convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 389, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; }; convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[101], 391, 27, "codeUnit"); return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; }; convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { - if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); - if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + if (lead == null) dart.nullFailed(I[101], 393, 31, "lead"); + if (tail == null) dart.nullFailed(I[101], 393, 41, "tail"); return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; }; dart.defineLazy(convert, { /*convert.ascii*/get ascii() { - return C[102] || CT.C102; + return C[109] || CT.C109; }, /*convert._asciiMask*/get _asciiMask() { return 127; }, /*convert.base64*/get base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*convert.base64Url*/get base64Url() { - return C[104] || CT.C104; + return C[111] || CT.C111; }, /*convert._paddingChar*/get _paddingChar() { return 61; }, /*convert.htmlEscape*/get htmlEscape() { - return C[105] || CT.C105; + return C[112] || CT.C112; }, /*convert.json*/get json() { - return C[106] || CT.C106; + return C[113] || CT.C113; }, /*convert.latin1*/get latin1() { - return C[107] || CT.C107; + return C[114] || CT.C114; }, /*convert._latin1Mask*/get _latin1Mask() { return 255; @@ -46591,7 +50009,7 @@ dart.defineLazy(convert, { return 65279; }, /*convert.utf8*/get utf8() { - return C[108] || CT.C108; + return C[115] || CT.C115; }, /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { return 127; @@ -46619,9 +50037,13 @@ dart.defineLazy(convert, { } }, false); developer._FakeUserTag = class _FakeUserTag extends core.Object { + static ['_#real#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); + return new developer._FakeUserTag.real(label); + } static new(label) { - let t181, t180, t179; - if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let t161, t160, t159; + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); let existingTag = developer._FakeUserTag._instances[$_get](label); if (existingTag != null) { return existingTag; @@ -46629,11 +50051,15 @@ developer._FakeUserTag = class _FakeUserTag extends core.Object { if (developer._FakeUserTag._instances[$length] === 64) { dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); } - t179 = developer._FakeUserTag._instances; - t180 = label; - t181 = new developer._FakeUserTag.real(label); - t179[$_set](t180, t181); - return t181; + t159 = developer._FakeUserTag._instances; + t160 = label; + t161 = new developer._FakeUserTag.real(label); + t159[$_set](t160, t161); + return t161; + } + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 202, 31, "label"); + return developer._FakeUserTag.new(label); } makeCurrent() { let old = developer._currentTag; @@ -46642,7 +50068,7 @@ developer._FakeUserTag = class _FakeUserTag extends core.Object { } }; (developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + if (label == null) dart.nullFailed(I[102], 200, 26, "label"); this.label = label; ; }).prototype = developer._FakeUserTag.prototype; @@ -46653,11 +50079,13 @@ dart.setMethodSignature(developer._FakeUserTag, () => ({ __proto__: dart.getMethods(developer._FakeUserTag.__proto__), makeCurrent: dart.fnType(developer.UserTag, []) })); -dart.setLibraryUri(developer._FakeUserTag, I[100]); +dart.setStaticMethodSignature(developer._FakeUserTag, () => ['new']); +dart.setLibraryUri(developer._FakeUserTag, I[103]); dart.setFieldSignature(developer._FakeUserTag, () => ({ __proto__: dart.getFields(developer._FakeUserTag.__proto__), label: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(developer._FakeUserTag, () => ['_instances', '_defaultTag']); dart.defineLazy(developer._FakeUserTag, { /*developer._FakeUserTag._instances*/get _instances() { return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); @@ -46689,8 +50117,17 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core set errorDetail(value) { super.errorDetail = value; } + static ['_#result#tearOff'](result) { + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); + return new developer.ServiceExtensionResponse.result(result); + } + static ['_#error#tearOff'](errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); + return new developer.ServiceExtensionResponse.error(errorCode, errorDetail); + } static _errorCodeMessage(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 60, 39, "errorCode"); developer.ServiceExtensionResponse._validateErrorCode(errorCode); if (errorCode === -32602) { return "Invalid params"; @@ -46698,8 +50135,8 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core return "Server error"; } static _validateErrorCode(errorCode) { - if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); - core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode == null) dart.nullFailed(I[104], 68, 33, "errorCode"); + _internal.checkNotNullable(core.int, errorCode, "errorCode"); if (errorCode === -32602) return; if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { return; @@ -46710,26 +50147,26 @@ developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core return this.errorCode != null && this.errorDetail != null; } [_toString$]() { - let t179; - t179 = this.result; - return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + let t159; + t159 = this.result; + return t159 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t159; } }; (developer.ServiceExtensionResponse.result = function(result) { - if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + if (result == null) dart.nullFailed(I[104], 25, 42, "result"); this[result$] = result; this[errorCode$] = null; this[errorDetail$] = null; - core.ArgumentError.checkNotNull(core.String, result, "result"); + _internal.checkNotNullable(core.String, result, "result"); }).prototype = developer.ServiceExtensionResponse.prototype; (developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { - if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); - if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + if (errorCode == null) dart.nullFailed(I[104], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[104], 39, 56, "errorDetail"); this[result$] = null; this[errorCode$] = errorCode; this[errorDetail$] = errorDetail; developer.ServiceExtensionResponse._validateErrorCode(errorCode); - core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); + _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); }).prototype = developer.ServiceExtensionResponse.prototype; dart.addTypeTests(developer.ServiceExtensionResponse); dart.addTypeCaches(developer.ServiceExtensionResponse); @@ -46738,26 +50175,16 @@ dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ isError: dart.fnType(core.bool, []), [_toString$]: dart.fnType(core.String, []) })); -dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); +dart.setStaticMethodSignature(developer.ServiceExtensionResponse, () => ['_errorCodeMessage', '_validateErrorCode']); +dart.setLibraryUri(developer.ServiceExtensionResponse, I[103]); dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), result: dart.finalFieldType(dart.nullable(core.String)), errorCode: dart.finalFieldType(dart.nullable(core.int)), errorDetail: dart.finalFieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(developer.ServiceExtensionResponse, () => ['invalidParams', 'extensionError', 'extensionErrorMax', 'extensionErrorMin']); dart.defineLazy(developer.ServiceExtensionResponse, { - /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { - return -32016; - }, /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { return -32602; }, @@ -46772,6 +50199,10 @@ dart.defineLazy(developer.ServiceExtensionResponse, { } }, false); developer.UserTag = class UserTag extends core.Object { + static ['_#new#tearOff'](label) { + if (label == null) dart.nullFailed(I[102], 191, 26, "label"); + return developer._FakeUserTag.new(label); + } static get defaultTag() { return developer._FakeUserTag._defaultTag; } @@ -46780,8 +50211,14 @@ developer.UserTag = class UserTag extends core.Object { }).prototype = developer.UserTag.prototype; dart.addTypeTests(developer.UserTag); dart.addTypeCaches(developer.UserTag); -dart.setLibraryUri(developer.UserTag, I[100]); +dart.setStaticMethodSignature(developer.UserTag, () => ['new']); +dart.setStaticGetterSignature(developer.UserTag, () => ['defaultTag']); +dart.setLibraryUri(developer.UserTag, I[103]); +dart.setStaticFieldSignature(developer.UserTag, () => ['maxUserTags', 'MAX_USER_TAGS', '_redirecting#']); dart.defineLazy(developer.UserTag, { + /*developer.UserTag.maxUserTags*/get maxUserTags() { + return 64; + }, /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { return 64; } @@ -46803,8 +50240,8 @@ developer.Metric = class Metric extends core.Object { } }; (developer.Metric.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 39, 15, "name"); - if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + if (name == null) dart.nullFailed(I[105], 46, 15, "name"); + if (description == null) dart.nullFailed(I[105], 46, 26, "description"); this[name$10] = name; this[description$] = description; if (this.name === "vm" || this.name[$contains]("/")) { @@ -46813,7 +50250,7 @@ developer.Metric = class Metric extends core.Object { }).prototype = developer.Metric.prototype; dart.addTypeTests(developer.Metric); dart.addTypeCaches(developer.Metric); -dart.setLibraryUri(developer.Metric, I[100]); +dart.setLibraryUri(developer.Metric, I[103]); dart.setFieldSignature(developer.Metric, () => ({ __proto__: dart.getFields(developer.Metric.__proto__), name: dart.finalFieldType(core.String), @@ -46840,7 +50277,7 @@ developer.Gauge = class Gauge extends developer.Metric { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (v == null) dart.nullFailed(I[105], 64, 20, "v"); if (dart.notNull(v) < dart.notNull(this.min)) { v = this.min; } else if (dart.notNull(v) > dart.notNull(this.max)) { @@ -46848,16 +50285,23 @@ developer.Gauge = class Gauge extends developer.Metric { } this[_value] = v; } + static ['_#new#tearOff'](name, description, min, max) { + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); + return new developer.Gauge.new(name, description, min, max); + } [_toJSON]() { let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); return map; } }; (developer.Gauge.new = function(name, description, min, max) { - if (name == null) dart.nullFailed(I[102], 65, 16, "name"); - if (description == null) dart.nullFailed(I[102], 65, 29, "description"); - if (min == null) dart.nullFailed(I[102], 65, 47, "min"); - if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + if (name == null) dart.nullFailed(I[105], 73, 16, "name"); + if (description == null) dart.nullFailed(I[105], 73, 29, "description"); + if (min == null) dart.nullFailed(I[105], 73, 47, "min"); + if (max == null) dart.nullFailed(I[105], 73, 57, "max"); this[min$] = min; this[max$] = max; this[_value] = min; @@ -46880,7 +50324,7 @@ dart.setSetterSignature(developer.Gauge, () => ({ __proto__: dart.getSetters(developer.Gauge.__proto__), value: core.double })); -dart.setLibraryUri(developer.Gauge, I[100]); +dart.setLibraryUri(developer.Gauge, I[103]); dart.setFieldSignature(developer.Gauge, () => ({ __proto__: dart.getFields(developer.Gauge.__proto__), min: dart.finalFieldType(core.double), @@ -46888,11 +50332,16 @@ dart.setFieldSignature(developer.Gauge, () => ({ [_value]: dart.fieldType(core.double) })); developer.Counter = class Counter extends developer.Metric { + static ['_#new#tearOff'](name, description) { + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); + return new developer.Counter.new(name, description); + } get value() { return this[_value]; } set value(v) { - if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + if (v == null) dart.nullFailed(I[105], 103, 20, "v"); this[_value] = v; } [_toJSON]() { @@ -46901,8 +50350,8 @@ developer.Counter = class Counter extends developer.Metric { } }; (developer.Counter.new = function(name, description) { - if (name == null) dart.nullFailed(I[102], 90, 18, "name"); - if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + if (name == null) dart.nullFailed(I[105], 99, 18, "name"); + if (description == null) dart.nullFailed(I[105], 99, 31, "description"); this[_value] = 0.0; developer.Counter.__proto__.new.call(this, name, description); ; @@ -46921,14 +50370,17 @@ dart.setSetterSignature(developer.Counter, () => ({ __proto__: dart.getSetters(developer.Counter.__proto__), value: core.double })); -dart.setLibraryUri(developer.Counter, I[100]); +dart.setLibraryUri(developer.Counter, I[103]); dart.setFieldSignature(developer.Counter, () => ({ __proto__: dart.getFields(developer.Counter.__proto__), [_value]: dart.fieldType(core.double) })); developer.Metrics = class Metrics extends core.Object { + static get current() { + return new (T$0.UnmodifiableMapViewOfString$Metric()).new(developer.Metrics._metrics); + } static register(metric) { - if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + if (metric == null) dart.nullFailed(I[105], 129, 31, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); if (developer.Metrics._metrics[$_get](metric.name) != null) { dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); @@ -46936,12 +50388,12 @@ developer.Metrics = class Metrics extends core.Object { developer.Metrics._metrics[$_set](metric.name, metric); } static deregister(metric) { - if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + if (metric == null) dart.nullFailed(I[105], 139, 33, "metric"); core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); developer.Metrics._metrics[$remove](metric.name); } static _printMetric(id) { - if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + if (id == null) dart.nullFailed(I[105], 146, 38, "id"); let metric = developer.Metrics._metrics[$_get](id); if (metric == null) { return null; @@ -46956,16 +50408,22 @@ developer.Metrics = class Metrics extends core.Object { let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); return convert.json.encode(map); } + static ['_#new#tearOff']() { + return new developer.Metrics.new(); + } }; (developer.Metrics.new = function() { ; }).prototype = developer.Metrics.prototype; dart.addTypeTests(developer.Metrics); dart.addTypeCaches(developer.Metrics); -dart.setLibraryUri(developer.Metrics, I[100]); +dart.setStaticMethodSignature(developer.Metrics, () => ['register', 'deregister', '_printMetric', '_printMetrics']); +dart.setStaticGetterSignature(developer.Metrics, () => ['current']); +dart.setLibraryUri(developer.Metrics, I[103]); +dart.setStaticFieldSignature(developer.Metrics, () => ['_metrics']); dart.defineLazy(developer.Metrics, { /*developer.Metrics._metrics*/get _metrics() { - return new (T$0.LinkedMapOfString$Metric()).new(); + return new (T$0.IdentityMapOfString$Metric()).new(); } }, false); var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); @@ -46990,6 +50448,24 @@ developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { set serverUri(value) { super.serverUri = value; } + get serverWebSocketUri() { + let uri = this.serverUri; + if (uri != null) { + let pathSegments = T$.JSArrayOfString().of([]); + if (dart.test(uri.pathSegments[$isNotEmpty])) { + pathSegments[$addAll](uri.pathSegments[$where](dart.fn(s => { + if (s == null) dart.nullFailed(I[106], 35, 12, "s"); + return s[$isNotEmpty]; + }, T$.StringTobool()))); + } + pathSegments[$add]("ws"); + uri = uri.replace({scheme: "ws", pathSegments: pathSegments}); + } + return uri; + } + static ['_#new#tearOff'](serverUri) { + return new developer.ServiceProtocolInfo.new(serverUri); + } toString() { if (this.serverUri != null) { return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); @@ -47006,7 +50482,11 @@ developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { }).prototype = developer.ServiceProtocolInfo.prototype; dart.addTypeTests(developer.ServiceProtocolInfo); dart.addTypeCaches(developer.ServiceProtocolInfo); -dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); +dart.setGetterSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getGetters(developer.ServiceProtocolInfo.__proto__), + serverWebSocketUri: dart.nullable(core.Uri) +})); +dart.setLibraryUri(developer.ServiceProtocolInfo, I[103]); dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), majorVersion: dart.finalFieldType(core.int), @@ -47018,121 +50498,110 @@ developer.Service = class Service extends core.Object { static getInfo() { return async.async(developer.ServiceProtocolInfo, function* getInfo() { let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); - let uriCompleter = T$0.CompleterOfUriN().new(); - receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._getServerInfo(receivePort.sendPort); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static controlWebServer(opts) { let enable = opts && 'enable' in opts ? opts.enable : false; - if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + if (enable == null) dart.nullFailed(I[106], 83, 13, "enable"); let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { core.ArgumentError.checkNotNull(core.bool, enable, "enable"); let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); - let uriCompleter = T$0.CompleterOfUri().new(); - receivePort.handler = dart.fn(uri => { - if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); - return uriCompleter.complete(uri); - }, T$0.UriTovoid()); + let completer = T$0.CompleterOfStringN().new(); + receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - let uri = (yield uriCompleter.future); + let uriString = (yield completer.future); + let uri = uriString == null ? null : core.Uri.parse(uriString); receivePort.close(); return new developer.ServiceProtocolInfo.new(uri); }); } static getIsolateID(isolate) { - if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + if (isolate == null) dart.nullFailed(I[106], 105, 39, "isolate"); core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); return developer._getIsolateIDFromSendPort(isolate.controlPort); } + static ['_#new#tearOff']() { + return new developer.Service.new(); + } }; (developer.Service.new = function() { ; }).prototype = developer.Service.prototype; dart.addTypeTests(developer.Service); dart.addTypeCaches(developer.Service); -dart.setLibraryUri(developer.Service, I[100]); -var id$ = dart.privateName(developer, "Flow.id"); +dart.setStaticMethodSignature(developer.Service, () => ['getInfo', 'controlWebServer', 'getIsolateID']); +dart.setLibraryUri(developer.Service, I[103]); +var id$0 = dart.privateName(developer, "Flow.id"); var _type$0 = dart.privateName(developer, "_type"); developer.Flow = class Flow extends core.Object { get id() { - return this[id$]; + return this[id$0]; } set id(value) { super.id = value; } + static ['_#_#tearOff'](_type, id) { + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); + return new developer.Flow.__(_type, id); + } static begin(opts) { - let t179; + let t159; let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); } static step(id) { - if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + if (id == null) dart.nullFailed(I[107], 77, 24, "id"); return new developer.Flow.__(10, id); } static end(id) { - if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + if (id == null) dart.nullFailed(I[107], 84, 23, "id"); return new developer.Flow.__(11, id); } }; (developer.Flow.__ = function(_type, id) { - if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); - if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + if (_type == null) dart.nullFailed(I[107], 61, 15, "_type"); + if (id == null) dart.nullFailed(I[107], 61, 27, "id"); this[_type$0] = _type; - this[id$] = id; + this[id$0] = id; ; }).prototype = developer.Flow.prototype; dart.addTypeTests(developer.Flow); dart.addTypeCaches(developer.Flow); -dart.setLibraryUri(developer.Flow, I[100]); +dart.setStaticMethodSignature(developer.Flow, () => ['begin', 'step', 'end']); +dart.setLibraryUri(developer.Flow, I[103]); dart.setFieldSignature(developer.Flow, () => ({ __proto__: dart.getFields(developer.Flow.__proto__), [_type$0]: dart.finalFieldType(core.int), id: dart.finalFieldType(core.int) })); -dart.defineLazy(developer.Flow, { - /*developer.Flow._begin*/get _begin() { - return 9; - }, - /*developer.Flow._step*/get _step() { - return 10; - }, - /*developer.Flow._end*/get _end() { - return 11; - } -}, false); -var _arguments$1 = dart.privateName(developer, "_arguments"); var _startSync = dart.privateName(developer, "_startSync"); developer.Timeline = class Timeline extends core.Object { static startSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + if (name == null) dart.nullFailed(I[107], 112, 32, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { developer.Timeline._stack[$add](null); return; } - let block = new developer._SyncBlock.__(name); - if ($arguments != null) { - block[_arguments$1] = $arguments; - } - if (flow != null) { - block.flow = flow; - } + let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); developer.Timeline._stack[$add](block); block[_startSync](); } static finishSync() { - if (!true) { - return; - } - if (developer.Timeline._stack[$length] === 0) { + ; + if (dart.test(developer.Timeline._stack[$isEmpty])) { dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); } let block = developer.Timeline._stack[$removeLast](); @@ -47142,22 +50611,19 @@ developer.Timeline = class Timeline extends core.Object { block.finish(); } static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + if (name == null) dart.nullFailed(I[107], 146, 34, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); if (!dart.test(developer._isDartStreamEnabled())) { return; } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + let taskId = 0; + developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); } static timeSync(T, name, $function, opts) { - if (name == null) dart.nullFailed(I[104], 159, 31, "name"); - if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + if (name == null) dart.nullFailed(I[107], 162, 31, "name"); + if ($function == null) dart.nullFailed(I[107], 162, 61, "function"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; let flow = opts && 'flow' in opts ? opts.flow : null; developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); @@ -47170,13 +50636,19 @@ developer.Timeline = class Timeline extends core.Object { static get now() { return developer._getTraceClock(); } + static ['_#new#tearOff']() { + return new developer.Timeline.new(); + } }; (developer.Timeline.new = function() { ; }).prototype = developer.Timeline.prototype; dart.addTypeTests(developer.Timeline); dart.addTypeCaches(developer.Timeline); -dart.setLibraryUri(developer.Timeline, I[100]); +dart.setStaticMethodSignature(developer.Timeline, () => ['startSync', 'finishSync', 'instantSync', 'timeSync']); +dart.setStaticGetterSignature(developer.Timeline, () => ['now']); +dart.setLibraryUri(developer.Timeline, I[103]); +dart.setStaticFieldSignature(developer.Timeline, () => ['_stack']); dart.defineLazy(developer.Timeline, { /*developer.Timeline._stack*/get _stack() { return T$0.JSArrayOf_SyncBlockN().of([]); @@ -47189,11 +50661,25 @@ var _taskId$ = dart.privateName(developer, "_taskId"); var _start = dart.privateName(developer, "_start"); var _finish = dart.privateName(developer, "_finish"); developer.TimelineTask = class TimelineTask extends core.Object { + static ['_#new#tearOff'](opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.new({parent: parent, filterKey: filterKey}); + } + static ['_#withTaskId#tearOff'](taskId, opts) { + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + return new developer.TimelineTask.withTaskId(taskId, {filterKey: filterKey}); + } start(name, opts) { - if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + if (name == null) dart.nullFailed(I[107], 221, 21, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + this[_stack][$add](null); + return; + } let block = new developer._AsyncBlock.__(name, this[_taskId$]); this[_stack][$add](block); let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); @@ -47207,10 +50693,13 @@ developer.TimelineTask = class TimelineTask extends core.Object { block[_start](map); } instant(name, opts) { - if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + if (name == null) dart.nullFailed(I[107], 249, 23, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) return; + ; core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } let instantArguments = null; if ($arguments != null) { instantArguments = collection.LinkedHashMap.from($arguments); @@ -47219,13 +50708,11 @@ developer.TimelineTask = class TimelineTask extends core.Object { instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; instantArguments[$_set]("filterKey", this[_filterKey]); } - developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); } finish(opts) { let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - if (!true) { - return; - } + ; if (this[_stack][$length] === 0) { dart.throw(new core.StateError.new("Uneven calls to start and finish")); } @@ -47234,6 +50721,9 @@ developer.TimelineTask = class TimelineTask extends core.Object { $arguments[$_set]("filterKey", this[_filterKey]); } let block = this[_stack][$removeLast](); + if (block == null) { + return; + } block[_finish]($arguments); } pass() { @@ -47247,15 +50737,15 @@ developer.TimelineTask = class TimelineTask extends core.Object { (developer.TimelineTask.new = function(opts) { let parent = opts && 'parent' in opts ? opts.parent : null; let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = parent; this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextAsyncId(); + this[_taskId$] = developer._getNextTaskId(); }).prototype = developer.TimelineTask.prototype; (developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); this[_parent] = null; this[_filterKey] = filterKey; this[_taskId$] = taskId; @@ -47270,32 +50760,37 @@ dart.setMethodSignature(developer.TimelineTask, () => ({ finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), pass: dart.fnType(core.int, []) })); -dart.setLibraryUri(developer.TimelineTask, I[100]); +dart.setLibraryUri(developer.TimelineTask, I[103]); dart.setFieldSignature(developer.TimelineTask, () => ({ __proto__: dart.getFields(developer.TimelineTask.__proto__), [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), [_taskId$]: dart.finalFieldType(core.int), - [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) + [_stack]: dart.finalFieldType(core.List$(dart.nullable(developer._AsyncBlock))) })); +dart.setStaticFieldSignature(developer.TimelineTask, () => ['_kFilterKey']); dart.defineLazy(developer.TimelineTask, { /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { return "filterKey"; } }, false); developer._AsyncBlock = class _AsyncBlock extends core.Object { + static ['_#_#tearOff'](name, _taskId) { + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); + return new developer._AsyncBlock.__(name, _taskId); + } [_start]($arguments) { - if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + if ($arguments == null) dart.nullFailed(I[107], 322, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); } [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); } }; (developer._AsyncBlock.__ = function(name, _taskId) { - if (name == null) dart.nullFailed(I[104], 306, 22, "name"); - if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); - this.category = "Dart"; + if (name == null) dart.nullFailed(I[107], 319, 22, "name"); + if (_taskId == null) dart.nullFailed(I[107], 319, 33, "_taskId"); this.name = name; this[_taskId$] = _taskId; ; @@ -47307,35 +50802,56 @@ dart.setMethodSignature(developer._AsyncBlock, () => ({ [_start]: dart.fnType(dart.void, [core.Map]), [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) })); -dart.setLibraryUri(developer._AsyncBlock, I[100]); +dart.setLibraryUri(developer._AsyncBlock, I[103]); dart.setFieldSignature(developer._AsyncBlock, () => ({ __proto__: dart.getFields(developer._AsyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), [_taskId$]: dart.finalFieldType(core.int) })); -var _flow = dart.privateName(developer, "_flow"); +var ___SyncBlock__jsonArguments = dart.privateName(developer, "_#_SyncBlock#_jsonArguments"); +var ___SyncBlock__jsonArguments_isSet = dart.privateName(developer, "_#_SyncBlock#_jsonArguments#isSet"); +var _jsonArguments = dart.privateName(developer, "_jsonArguments"); developer._SyncBlock = class _SyncBlock extends core.Object { + get [_jsonArguments]() { + let t160; + if (!dart.test(this[___SyncBlock__jsonArguments_isSet])) { + let t159 = developer._argumentsAsJson(this.arguments); + if (dart.test(this[___SyncBlock__jsonArguments_isSet])) dart.throw(new _internal.LateError.fieldADI("_jsonArguments")); + this[___SyncBlock__jsonArguments] = t159; + this[___SyncBlock__jsonArguments_isSet] = true; + } + t160 = this[___SyncBlock__jsonArguments]; + return t160; + } + static ['_#_#tearOff'](name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + return new developer._SyncBlock.__(name, taskId, {arguments: $arguments, flow: flow}); + } [_startSync]() { - developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + developer._reportTaskEvent(this.taskId, 1, this.name, this[_jsonArguments]); } finish() { - developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); - if (this[_flow] != null) { - developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + developer._reportTaskEvent(this.taskId, 2, this.name, this[_jsonArguments]); + let tempFlow = this.flow; + if (tempFlow != null) { + developer._reportTaskEvent(tempFlow.id, tempFlow[_type$0], dart.str(tempFlow.id), developer._argumentsAsJson(null)); } } - set flow(f) { - if (f == null) dart.nullFailed(I[104], 353, 22, "f"); - this[_flow] = f; - } }; -(developer._SyncBlock.__ = function(name) { - if (name == null) dart.nullFailed(I[104], 335, 21, "name"); - this.category = "Dart"; - this[_arguments$1] = null; - this[_flow] = null; +(developer._SyncBlock.__ = function(name, taskId, opts) { + if (name == null) dart.nullFailed(I[107], 350, 21, "name"); + if (taskId == null) dart.nullFailed(I[107], 350, 32, "taskId"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + this[___SyncBlock__jsonArguments] = null; + this[___SyncBlock__jsonArguments_isSet] = false; this.name = name; + this.taskId = taskId; + this.arguments = $arguments; + this.flow = flow; ; }).prototype = developer._SyncBlock.prototype; dart.addTypeTests(developer._SyncBlock); @@ -47345,24 +50861,26 @@ dart.setMethodSignature(developer._SyncBlock, () => ({ [_startSync]: dart.fnType(dart.void, []), finish: dart.fnType(dart.void, []) })); -dart.setSetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getSetters(developer._SyncBlock.__proto__), - flow: developer.Flow +dart.setGetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getGetters(developer._SyncBlock.__proto__), + [_jsonArguments]: core.String })); -dart.setLibraryUri(developer._SyncBlock, I[100]); +dart.setLibraryUri(developer._SyncBlock, I[103]); dart.setFieldSignature(developer._SyncBlock, () => ({ __proto__: dart.getFields(developer._SyncBlock.__proto__), - category: dart.finalFieldType(core.String), name: dart.finalFieldType(core.String), - [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), - [_flow]: dart.fieldType(dart.nullable(developer.Flow)) + taskId: dart.finalFieldType(core.int), + arguments: dart.finalFieldType(dart.nullable(core.Map)), + flow: dart.finalFieldType(dart.nullable(developer.Flow)), + [___SyncBlock__jsonArguments]: dart.fieldType(dart.nullable(core.String)), + [___SyncBlock__jsonArguments_isSet]: dart.fieldType(core.bool) })); developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { - if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); - if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + if (methodName == null) dart.nullFailed(I[102], 106, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[102], 106, 44, "encodedJson"); return new dart.global.Promise((resolve, reject) => { - if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); - if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + if (resolve == null) dart.nullFailed(I[102], 109, 25, "resolve"); + if (reject == null) dart.nullFailed(I[102], 109, 51, "reject"); return async.async(core.Null, function*() { try { let method = dart.nullCheck(developer._lookupExtension(methodName)); @@ -47381,7 +50899,7 @@ developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { }; developer.debugger = function $debugger(opts) { let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + if (when == null) dart.nullFailed(I[102], 26, 21, "when"); let message = opts && 'message' in opts ? opts.message : null; if (dart.test(when)) { debugger; @@ -47393,13 +50911,13 @@ developer.inspect = function inspect(object) { return object; }; developer.log = function log(message, opts) { - if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + if (message == null) dart.nullFailed(I[102], 42, 17, "message"); let time = opts && 'time' in opts ? opts.time : null; let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; let level = opts && 'level' in opts ? opts.level : 0; - if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + if (level == null) dart.nullFailed(I[102], 45, 9, "level"); let name = opts && 'name' in opts ? opts.name : ""; - if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + if (name == null) dart.nullFailed(I[102], 46, 12, "name"); let zone = opts && 'zone' in opts ? opts.zone : null; let error = opts && 'error' in opts ? opts.error : null; let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; @@ -47414,51 +50932,70 @@ developer.log = function log(message, opts) { console.debug("dart.developer.log", items); }; developer.registerExtension = function registerExtension$(method, handler) { - if (method == null) dart.nullFailed(I[101], 130, 31, "method"); - if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); - core.ArgumentError.checkNotNull(core.String, method, "method"); + if (method == null) dart.nullFailed(I[104], 114, 31, "method"); + if (handler == null) dart.nullFailed(I[104], 114, 63, "handler"); + _internal.checkNotNullable(core.String, method, "method"); if (!method[$startsWith]("ext.")) { dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); } if (developer._lookupExtension(method) != null) { dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); } - core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); developer._registerExtension(method, handler); }; developer.postEvent = function postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); - if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); - core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); - core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + if (eventKind == null) dart.nullFailed(I[104], 149, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[104], 149, 38, "eventData"); + if (!dart.test(developer.extensionStreamHasListener)) { + return; + } + _internal.checkNotNullable(core.String, eventKind, "eventKind"); + _internal.checkNotNullable(core.Map, eventData, "eventData"); let eventDataAsString = convert.json.encode(eventData); developer._postEvent(eventKind, eventDataAsString); }; developer._postEvent = function _postEvent(eventKind, eventData) { - if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); - if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + if (eventKind == null) dart.nullFailed(I[102], 126, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[102], 126, 42, "eventData"); + if (!!dart.global.$emitDebugEvent) { + dart.global.$emitDebugEvent(eventKind, eventData); + return; + } console.debug("dart.developer.postEvent", eventKind, eventData); }; developer._lookupExtension = function _lookupExtension(method) { - if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + if (method == null) dart.nullFailed(I[102], 69, 50, "method"); return developer._extensions[$_get](method); }; developer._registerExtension = function _registerExtension(method, handler) { - if (method == null) dart.nullFailed(I[99], 61, 27, "method"); - if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); - developer._extensions[$_set](method, handler); + if (method == null) dart.nullFailed(I[102], 74, 27, "method"); + if (handler == null) dart.nullFailed(I[102], 74, 59, "handler"); + if (!dart.test(developer._debuggerAttached)) { + if (!dart.test(developer._issuedRegisterExtensionWarning)) { + let message = "registerExtension() " + dart.str(developer._developerSupportWarning); + console.warn(message); + developer._issuedRegisterExtensionWarning = true; + } + return; + } + if (!!dart.global.$emitRegisterEvent) { + developer._extensions[$_set](method, handler); + dart.global.$emitRegisterEvent(method); + return; + } console.debug("dart.developer.registerExtension", method); }; developer.getCurrentTag = function getCurrentTag() { return developer._currentTag; }; developer._getServerInfo = function _getServerInfo(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 174, 30, "sendPort"); sendPort.send(null); }; developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); - if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + if (sendPort == null) dart.nullFailed(I[102], 179, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[102], 179, 48, "enable"); sendPort.send(null); }; developer._getServiceMajorVersion = function _getServiceMajorVersion() { @@ -47468,7 +51005,7 @@ developer._getServiceMinorVersion = function _getServiceMinorVersion() { return 0; }; developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); return null; }; developer._argumentsAsJson = function _argumentsAsJson($arguments) { @@ -47480,48 +51017,86 @@ developer._argumentsAsJson = function _argumentsAsJson($arguments) { developer._isDartStreamEnabled = function _isDartStreamEnabled() { return false; }; -developer._getNextAsyncId = function _getNextAsyncId() { +developer._getNextTaskId = function _getNextTaskId() { return 0; }; developer._getTraceClock = function _getTraceClock() { - let t180; - t180 = developer._clockValue; - developer._clockValue = dart.notNull(t180) + 1; - return t180; -}; -developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { - if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); - if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); - if (category == null) dart.nullFailed(I[99], 129, 56, "category"); - if (name == null) dart.nullFailed(I[99], 129, 73, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); -}; -developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 114, 12, "category"); - if (name == null) dart.nullFailed(I[99], 114, 29, "name"); - if (type == null) dart.nullFailed(I[99], 114, 39, "type"); - if (id == null) dart.nullFailed(I[99], 114, 49, "id"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); -}; -developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { - if (category == null) dart.nullFailed(I[99], 119, 33, "category"); - if (name == null) dart.nullFailed(I[99], 119, 50, "name"); - if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); -}; + let t161; + t161 = developer._clockValue; + developer._clockValue = dart.notNull(t161) + 1; + return t161; +}; +developer._reportTaskEvent = function _reportTaskEvent(taskId, type, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[102], 159, 9, "taskId"); + if (type == null) dart.nullFailed(I[102], 159, 21, "type"); + if (name == null) dart.nullFailed(I[102], 159, 34, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[102], 159, 47, "argumentsAsJson"); +}; +dart.copyProperties(developer, { + get _debuggerAttached() { + return !!dart.global.$dwdsVersion; + }, + get reachabilityBarrier() { + return 0; + }, + get extensionStreamHasListener() { + return developer._debuggerAttached; + } +}); dart.defineLazy(developer, { + /*developer._issuedRegisterExtensionWarning*/get _issuedRegisterExtensionWarning() { + return false; + }, + set _issuedRegisterExtensionWarning(value) { + if (value == null) dart.nullFailed(I[102], 15, 5, "_issuedRegisterExtensionWarning"); + }, + /*developer._developerSupportWarning*/get _developerSupportWarning() { + return "from dart:developer is only supported in " + "build/run/test environments where the developer event method hooks have " + "been set by package:dwds v11.1.0 or higher."; + }, /*developer._extensions*/get _extensions() { return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); }, /*developer._clockValue*/get _clockValue() { return 0; }, - set _clockValue(_) {}, + set _clockValue(value) { + if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); + }, /*developer._currentTag*/get _currentTag() { return developer._FakeUserTag._defaultTag; }, - set _currentTag(_) {}, + set _currentTag(value) { + if (value == null) dart.nullFailed(I[102], 227, 5, "_currentTag"); + }, /*developer._hasTimeline*/get _hasTimeline() { return true; + }, + /*developer._begin*/get _begin() { + return 1; + }, + /*developer._end*/get _end() { + return 2; + }, + /*developer._instant*/get _instant() { + return 4; + }, + /*developer._asyncBegin*/get _asyncBegin() { + return 5; + }, + /*developer._asyncInstant*/get _asyncInstant() { + return 6; + }, + /*developer._asyncEnd*/get _asyncEnd() { + return 7; + }, + /*developer._flowBegin*/get _flowBegin() { + return 9; + }, + /*developer._flowStep*/get _flowStep() { + return 10; + }, + /*developer._flowEnd*/get _flowEnd() { + return 11; } }, false); io.IOException = class IOException extends core.Object { @@ -47535,7 +51110,7 @@ io.IOException = class IOException extends core.Object { dart.addTypeTests(io.IOException); dart.addTypeCaches(io.IOException); io.IOException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(io.IOException, I[105]); +dart.setLibraryUri(io.IOException, I[108]); dart.defineExtensionMethods(io.IOException, ['toString']); var message$2 = dart.privateName(io, "OSError.message"); var errorCode$0 = dart.privateName(io, "OSError.errorCode"); @@ -47552,39 +51127,44 @@ io.OSError = class OSError extends core.Object { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); + return new io.OSError.new(message, errorCode); + } toString() { - let t180, t180$, t180$0; + let t161, t161$, t161$0; let sb = new core.StringBuffer.new(); sb.write("OS Error"); if (this.message[$isNotEmpty]) { - t180 = sb; + t161 = sb; (() => { - t180.write(": "); - t180.write(this.message); - return t180; + t161.write(": "); + t161.write(this.message); + return t161; })(); if (this.errorCode !== -1) { - t180$ = sb; + t161$ = sb; (() => { - t180$.write(", errno = "); - t180$.write(dart.toString(this.errorCode)); - return t180$; + t161$.write(", errno = "); + t161$.write(dart.toString(this.errorCode)); + return t161$; })(); } } else if (this.errorCode !== -1) { - t180$0 = sb; + t161$0 = sb; (() => { - t180$0.write(": errno = "); - t180$0.write(dart.toString(this.errorCode)); - return t180$0; + t161$0.write(": errno = "); + t161$0.write(dart.toString(this.errorCode)); + return t161$0; })(); } return sb.toString(); } }; (io.OSError.new = function(message = "", errorCode = -1) { - if (message == null) dart.nullFailed(I[106], 63, 23, "message"); - if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + if (message == null) dart.nullFailed(I[109], 75, 23, "message"); + if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); this[message$2] = message; this[errorCode$0] = errorCode; ; @@ -47592,29 +51172,36 @@ io.OSError = class OSError extends core.Object { dart.addTypeTests(io.OSError); dart.addTypeCaches(io.OSError); io.OSError[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(io.OSError, I[105]); +dart.setLibraryUri(io.OSError, I[108]); dart.setFieldSignature(io.OSError, () => ({ __proto__: dart.getFields(io.OSError.__proto__), message: dart.finalFieldType(core.String), errorCode: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.OSError, () => ['noErrorCode']); dart.defineExtensionMethods(io.OSError, ['toString']); dart.defineLazy(io.OSError, { /*io.OSError.noErrorCode*/get noErrorCode() { return -1; } }, false); -io._BufferAndStart = class _BufferAndStart extends core.Object {}; +io._BufferAndStart = class _BufferAndStart extends core.Object { + static ['_#new#tearOff'](buffer, start) { + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); + return new io._BufferAndStart.new(buffer, start); + } +}; (io._BufferAndStart.new = function(buffer, start) { - if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); - if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + if (buffer == null) dart.nullFailed(I[109], 103, 24, "buffer"); + if (start == null) dart.nullFailed(I[109], 103, 37, "start"); this.buffer = buffer; this.start = start; ; }).prototype = io._BufferAndStart.prototype; dart.addTypeTests(io._BufferAndStart); dart.addTypeCaches(io._BufferAndStart); -dart.setLibraryUri(io._BufferAndStart, I[105]); +dart.setLibraryUri(io._BufferAndStart, I[108]); dart.setFieldSignature(io._BufferAndStart, () => ({ __proto__: dart.getFields(io._BufferAndStart.__proto__), buffer: dart.fieldType(core.List$(core.int)), @@ -47622,107 +51209,70 @@ dart.setFieldSignature(io._BufferAndStart, () => ({ })); io._IOCrypto = class _IOCrypto extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + if (count == null) dart.nullFailed(I[110], 225, 39, "count"); dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); } + static ['_#new#tearOff']() { + return new io._IOCrypto.new(); + } }; (io._IOCrypto.new = function() { ; }).prototype = io._IOCrypto.prototype; dart.addTypeTests(io._IOCrypto); dart.addTypeCaches(io._IOCrypto); -dart.setLibraryUri(io._IOCrypto, I[105]); +dart.setStaticMethodSignature(io._IOCrypto, () => ['getRandomBytes']); +dart.setLibraryUri(io._IOCrypto, I[108]); io.ZLibOption = class ZLibOption extends core.Object {}; (io.ZLibOption.new = function() { ; }).prototype = io.ZLibOption.prototype; dart.addTypeTests(io.ZLibOption); dart.addTypeCaches(io.ZLibOption); -dart.setLibraryUri(io.ZLibOption, I[105]); +dart.setLibraryUri(io.ZLibOption, I[108]); +dart.setStaticFieldSignature(io.ZLibOption, () => ['minWindowBits', 'maxWindowBits', 'defaultWindowBits', 'minLevel', 'maxLevel', 'defaultLevel', 'minMemLevel', 'maxMemLevel', 'defaultMemLevel', 'strategyFiltered', 'strategyHuffmanOnly', 'strategyRle', 'strategyFixed', 'strategyDefault']); dart.defineLazy(io.ZLibOption, { /*io.ZLibOption.minWindowBits*/get minWindowBits() { return 8; }, - /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { - return 8; - }, /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { return 15; }, - /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { return 15; }, - /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, /*io.ZLibOption.minLevel*/get minLevel() { return -1; }, - /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { - return -1; - }, /*io.ZLibOption.maxLevel*/get maxLevel() { return 9; }, - /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultLevel*/get defaultLevel() { return 6; }, - /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { - return 6; - }, /*io.ZLibOption.minMemLevel*/get minMemLevel() { return 1; }, - /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { - return 1; - }, /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { return 9; }, - /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { - return 9; - }, /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { return 8; }, - /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { - return 8; - }, /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { return 1; }, - /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { - return 1; - }, /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { return 2; }, - /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { - return 2; - }, /*io.ZLibOption.strategyRle*/get strategyRle() { return 3; }, - /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { - return 3; - }, /*io.ZLibOption.strategyFixed*/get strategyFixed() { return 4; }, - /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { - return 4; - }, /*io.ZLibOption.strategyDefault*/get strategyDefault() { return 0; - }, - /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { - return 0; } }, false); var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); @@ -47775,6 +51325,25 @@ io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core set dictionary(value) { super.dictionary = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); + return new io.ZLibCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.ZLibCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47784,18 +51353,18 @@ io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core }; (io.ZLibCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + if (level == null) dart.nullFailed(I[111], 110, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 111, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 112, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 113, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 115, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 116, 12, "gzip"); this[level$] = level; this[windowBits$] = windowBits; this[memLevel$] = memLevel; @@ -47827,7 +51396,7 @@ dart.setGetterSignature(io.ZLibCodec, () => ({ encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); -dart.setLibraryUri(io.ZLibCodec, I[105]); +dart.setLibraryUri(io.ZLibCodec, I[108]); dart.setFieldSignature(io.ZLibCodec, () => ({ __proto__: dart.getFields(io.ZLibCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -47888,6 +51457,25 @@ io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); + return new io.GZipCodec.new({level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw, gzip: gzip}); + } + static ['_#_default#tearOff']() { + return new io.GZipCodec._default(); + } get encoder() { return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); } @@ -47897,18 +51485,18 @@ io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core }; (io.GZipCodec.new = function(opts) { let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + if (level == null) dart.nullFailed(I[111], 204, 13, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 205, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 206, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 207, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 209, 12, "raw"); let gzip = opts && 'gzip' in opts ? opts.gzip : true; - if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 210, 12, "gzip"); this[level$0] = level; this[windowBits$0] = windowBits; this[memLevel$0] = memLevel; @@ -47940,7 +51528,7 @@ dart.setGetterSignature(io.GZipCodec, () => ({ encoder: io.ZLibEncoder, decoder: io.ZLibDecoder })); -dart.setLibraryUri(io.GZipCodec, I[105]); +dart.setLibraryUri(io.GZipCodec, I[108]); dart.setFieldSignature(io.GZipCodec, () => ({ __proto__: dart.getFields(io.GZipCodec.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48001,22 +51589,38 @@ io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.in set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); + return new io.ZLibEncoder.new({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48025,18 +51629,18 @@ io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.in }; (io.ZLibEncoder.new = function(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 292, 13, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + if (level == null) dart.nullFailed(I[111], 293, 12, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 294, 12, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 295, 12, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 296, 12, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 298, 12, "raw"); this[gzip$1] = gzip; this[level$1] = level; this[windowBits$1] = windowBits; @@ -48057,7 +51661,7 @@ dart.setMethodSignature(io.ZLibEncoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io.ZLibEncoder, I[105]); +dart.setLibraryUri(io.ZLibEncoder, I[108]); dart.setFieldSignature(io.ZLibEncoder, () => ({ __proto__: dart.getFields(io.ZLibEncoder.__proto__), gzip: dart.finalFieldType(core.bool), @@ -48090,22 +51694,30 @@ io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.in set raw(value) { super.raw = value; } + static ['_#new#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); + return new io.ZLibDecoder.new({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } convert(bytes) { - let t180; + let t161; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); let sink = new io._BufferSink.new(); - t180 = this.startChunkedConversion(sink); + t161 = this.startChunkedConversion(sink); (() => { - t180.add(bytes); - t180.close(); - return t180; + t161.add(bytes); + t161.close(); + return t161; })(); return sink.builder.takeBytes(); } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); if (!convert.ByteConversionSink.is(sink)) { sink = new convert._ByteAdapterSink.new(sink); } @@ -48114,10 +51726,10 @@ io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.in }; (io.ZLibDecoder.new = function(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 352, 13, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + if (raw == null) dart.nullFailed(I[111], 354, 12, "raw"); this[windowBits$2] = windowBits; this[dictionary$2] = dictionary; this[raw$2] = raw; @@ -48131,7 +51743,7 @@ dart.setMethodSignature(io.ZLibDecoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io.ZLibDecoder, I[105]); +dart.setLibraryUri(io.ZLibDecoder, I[108]); dart.setFieldSignature(io.ZLibDecoder, () => ({ __proto__: dart.getFields(io.ZLibDecoder.__proto__), windowBits: dart.finalFieldType(core.int), @@ -48141,40 +51753,64 @@ dart.setFieldSignature(io.ZLibDecoder, () => ({ io.RawZLibFilter = class RawZLibFilter extends core.Object { static deflateFilter(opts) { let gzip = opts && 'gzip' in opts ? opts.gzip : false; - if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); let level = opts && 'level' in opts ? opts.level : 6; - if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; - if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); let strategy = opts && 'strategy' in opts ? opts.strategy : 0; - if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); } + static ['_#deflateFilter#tearOff'](opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[111], 386, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[111], 387, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 388, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[111], 389, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[111], 390, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 392, 10, "raw"); + return io.RawZLibFilter.deflateFilter({gzip: gzip, level: level, windowBits: windowBits, memLevel: memLevel, strategy: strategy, dictionary: dictionary, raw: raw}); + } static inflateFilter(opts) { let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; - if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; let raw = opts && 'raw' in opts ? opts.raw : false; - if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); } + static ['_#inflateFilter#tearOff'](opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[111], 401, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[111], 403, 10, "raw"); + return io.RawZLibFilter.inflateFilter({windowBits: windowBits, dictionary: dictionary, raw: raw}); + } static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); - if (level == null) dart.nullFailed(I[107], 615, 11, "level"); - if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); - if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + if (gzip == null) dart.nullFailed(I[110], 666, 12, "gzip"); + if (level == null) dart.nullFailed(I[110], 667, 11, "level"); + if (windowBits == null) dart.nullFailed(I[110], 668, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[110], 669, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[110], 670, 11, "strategy"); + if (raw == null) dart.nullFailed(I[110], 672, 12, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); } static _makeZLibInflateFilter(windowBits, dictionary, raw) { - if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + if (windowBits == null) dart.nullFailed(I[110], 678, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); } }; @@ -48182,18 +51818,19 @@ io.RawZLibFilter = class RawZLibFilter extends core.Object { }).prototype = io.RawZLibFilter.prototype; dart.addTypeTests(io.RawZLibFilter); dart.addTypeCaches(io.RawZLibFilter); -dart.setLibraryUri(io.RawZLibFilter, I[105]); +dart.setStaticMethodSignature(io.RawZLibFilter, () => ['deflateFilter', 'inflateFilter', '_makeZLibDeflateFilter', '_makeZLibInflateFilter']); +dart.setLibraryUri(io.RawZLibFilter, I[108]); io._BufferSink = class _BufferSink extends convert.ByteConversionSink { add(chunk) { T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + if (chunk == null) dart.nullFailed(I[111], 440, 22, "chunk"); this.builder.add(chunk); } addSlice(chunk, start, end, isLast) { - if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); - if (start == null) dart.nullFailed(I[108], 476, 38, "start"); - if (end == null) dart.nullFailed(I[108], 476, 49, "end"); - if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (chunk == null) dart.nullFailed(I[111], 444, 27, "chunk"); + if (start == null) dart.nullFailed(I[111], 444, 38, "start"); + if (end == null) dart.nullFailed(I[111], 444, 49, "end"); + if (isLast == null) dart.nullFailed(I[111], 444, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { let list = chunk; this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); @@ -48203,6 +51840,9 @@ io._BufferSink = class _BufferSink extends convert.ByteConversionSink { } close() { } + static ['_#new#tearOff']() { + return new io._BufferSink.new(); + } }; (io._BufferSink.new = function() { this.builder = _internal.BytesBuilder.new({copy: false}); @@ -48217,7 +51857,7 @@ dart.setMethodSignature(io._BufferSink, () => ({ addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(io._BufferSink, I[105]); +dart.setLibraryUri(io._BufferSink, I[108]); dart.setFieldSignature(io._BufferSink, () => ({ __proto__: dart.getFields(io._BufferSink.__proto__), builder: dart.finalFieldType(_internal.BytesBuilder) @@ -48227,16 +51867,21 @@ var _empty = dart.privateName(io, "_empty"); var _sink$1 = dart.privateName(io, "_sink"); var _filter$ = dart.privateName(io, "_filter"); io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_sink, _filter) { + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); + return new io._FilterSink.new(_sink, _filter); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + if (data == null) dart.nullFailed(I[111], 488, 22, "data"); this.addSlice(data, 0, data[$length], false); } addSlice(data, start, end, isLast) { - if (data == null) dart.nullFailed(I[108], 524, 27, "data"); - if (start == null) dart.nullFailed(I[108], 524, 37, "start"); - if (end == null) dart.nullFailed(I[108], 524, 48, "end"); - if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + if (data == null) dart.nullFailed(I[111], 492, 27, "data"); + if (start == null) dart.nullFailed(I[111], 492, 37, "start"); + if (end == null) dart.nullFailed(I[111], 492, 48, "end"); + if (isLast == null) dart.nullFailed(I[111], 492, 58, "isLast"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (dart.test(this[_closed])) return; core.RangeError.checkValidRange(start, end, data[$length]); @@ -48262,7 +51907,7 @@ io._FilterSink = class _FilterSink extends convert.ByteConversionSink { } close() { if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); try { while (true) { let out = this[_filter$].processed({end: true}); @@ -48282,8 +51927,8 @@ io._FilterSink = class _FilterSink extends convert.ByteConversionSink { } }; (io._FilterSink.new = function(_sink, _filter) { - if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); - if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + if (_sink == null) dart.nullFailed(I[111], 486, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[111], 486, 32, "_filter"); this[_closed] = false; this[_empty] = true; this[_sink$1] = _sink; @@ -48299,7 +51944,7 @@ dart.setMethodSignature(io._FilterSink, () => ({ addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), close: dart.fnType(dart.void, []) })); -dart.setLibraryUri(io._FilterSink, I[105]); +dart.setLibraryUri(io._FilterSink, I[108]); dart.setFieldSignature(io._FilterSink, () => ({ __proto__: dart.getFields(io._FilterSink.__proto__), [_filter$]: dart.finalFieldType(io.RawZLibFilter), @@ -48307,49 +51952,79 @@ dart.setFieldSignature(io._FilterSink, () => ({ [_closed]: dart.fieldType(core.bool), [_empty]: dart.fieldType(core.bool) })); -io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; +io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); + return new io._ZLibEncoderSink.__(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } +}; (io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); - if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); - if (level == null) dart.nullFailed(I[108], 493, 11, "level"); - if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); - if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); - if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); - if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + if (sink == null) dart.nullFailed(I[111], 459, 26, "sink"); + if (gzip == null) dart.nullFailed(I[111], 460, 12, "gzip"); + if (level == null) dart.nullFailed(I[111], 461, 11, "level"); + if (windowBits == null) dart.nullFailed(I[111], 462, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[111], 463, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[111], 464, 11, "strategy"); + if (raw == null) dart.nullFailed(I[111], 466, 12, "raw"); io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); ; }).prototype = io._ZLibEncoderSink.prototype; dart.addTypeTests(io._ZLibEncoderSink); dart.addTypeCaches(io._ZLibEncoderSink); -dart.setLibraryUri(io._ZLibEncoderSink, I[105]); -io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; +dart.setLibraryUri(io._ZLibEncoderSink, I[108]); +io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink { + static ['_#_#tearOff'](sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); + return new io._ZLibDecoderSink.__(sink, windowBits, dictionary, raw); + } +}; (io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { - if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); - if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); - if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + if (sink == null) dart.nullFailed(I[111], 475, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[111], 475, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[111], 475, 76, "raw"); io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); ; }).prototype = io._ZLibDecoderSink.prototype; dart.addTypeTests(io._ZLibDecoderSink); dart.addTypeCaches(io._ZLibDecoderSink); -dart.setLibraryUri(io._ZLibDecoderSink, I[105]); +dart.setLibraryUri(io._ZLibDecoderSink, I[108]); io.Directory = class Directory extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Directory.new(path); } return overrides.createDirectory(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 112, 28, "path"); + return io.Directory.new(path); + } static fromRawPath(path) { - if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); return new io._Directory.fromRawPath(path); } + static ['_#fromRawPath#tearOff'](path) { + if (path == null) dart.nullFailed(I[112], 121, 43, "path"); + return io.Directory.fromRawPath(path); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); return io.Directory.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[112], 129, 33, "uri"); + return io.Directory.fromUri(uri); + } static get current() { let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48378,13 +52053,14 @@ io.Directory = class Directory extends core.Object { dart.addTypeTests(io.Directory); dart.addTypeCaches(io.Directory); io.Directory[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.Directory, I[105]); +dart.setStaticMethodSignature(io.Directory, () => ['new', 'fromRawPath', 'fromUri']); +dart.setStaticGetterSignature(io.Directory, () => ['current', 'systemTemp']); +dart.setStaticSetterSignature(io.Directory, () => ['current']); +dart.setLibraryUri(io.Directory, I[108]); var _path$ = dart.privateName(io, "_Directory._path"); var _rawPath = dart.privateName(io, "_Directory._rawPath"); var _path$0 = dart.privateName(io, "_path"); var _rawPath$ = dart.privateName(io, "_rawPath"); -var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); -var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); var _absolutePath = dart.privateName(io, "_absolutePath"); var _delete = dart.privateName(io, "_delete"); var _deleteSync = dart.privateName(io, "_deleteSync"); @@ -48394,11 +52070,9 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } resolveSymbolicLinks() { return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot resolve symbolic links", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } resolveSymbolicLinksSync() { let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); @@ -48413,19 +52087,19 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } delete(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 406, 41, "recursive"); return this[_delete]({recursive: recursive}); } deleteSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 423, 25, "recursive"); return this[_deleteSync]({recursive: recursive}); } watch(opts) { let events = opts && 'events' in opts ? opts.events : 15; - if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + if (events == null) dart.nullFailed(I[114], 468, 12, "events"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + if (recursive == null) dart.nullFailed(I[114], 468, 47, "recursive"); let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); let overrides = io.IOOverrides.current; if (overrides == null) { @@ -48434,18 +52108,16 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return overrides.fsWatch(trimmedPath, events, recursive); } static _identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); - if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + if (path1 == null) dart.nullFailed(I[114], 481, 41, "path1"); + if (path2 == null) dart.nullFailed(I[114], 481, 55, "path2"); return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", ""); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static identical(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); - if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + if (path1 == null) dart.nullFailed(I[114], 502, 40, "path1"); + if (path2 == null) dart.nullFailed(I[114], 502, 54, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identical(path1, path2); @@ -48456,7 +52128,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return io.FileSystemEntity._isAbsolute(this.path); } static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (path == null) dart.nullFailed(I[114], 533, 34, "path"); if (dart.test(io.Platform.isWindows)) { return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); } else { @@ -48474,19 +52146,19 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _windowsDriveLetter(path) { - if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path == null) dart.nullFailed(I[114], 568, 41, "path"); if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; if (first >= 65 && first <= 91) return first; return -1; } static _absoluteWindowsPath(path) { - if (path == null) dart.nullFailed(I[111], 552, 45, "path"); - if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); - if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + if (path == null) dart.nullFailed(I[114], 576, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[114], 577, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[114], 578, 12, "!_isAbsolute(path)"); let current = io.Directory.current.path; if (path[$startsWith]("\\")) { - if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[114], 583, 14, "!path.startsWith(r'\\', 1)"); let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); if (dart.notNull(currentDrive) >= 0) { return current[$_get](0) + ":" + dart.str(path); @@ -48507,7 +52179,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return path[$_get](0) + ":\\" + dart.str(path); } path = path[$substring](2); - if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[114], 620, 14, "!path.startsWith(r'\\\\')"); } if (current[$endsWith]("\\") || current[$endsWith]("/")) { return dart.str(current) + dart.str(path); @@ -48515,15 +52187,15 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return dart.str(current) + "\\" + dart.str(path); } static _identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); - if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + if (path1 == null) dart.nullFailed(I[114], 628, 37, "path1"); + if (path2 == null) dart.nullFailed(I[114], 628, 51, "path2"); let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); return core.bool.as(result); } static identicalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); - if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + if (path1 == null) dart.nullFailed(I[114], 644, 36, "path1"); + if (path2 == null) dart.nullFailed(I[114], 644, 50, "path2"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._identicalSync(path1, path2); @@ -48538,12 +52210,12 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return overrides.fsWatchIsSupported(); } static _toUtf8Array(s) { - if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + if (s == null) dart.nullFailed(I[114], 665, 40, "s"); return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); } static _toNullTerminatedUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 644, 57, "l"); - if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + if (l == null) dart.nullFailed(I[114], 668, 57, "l"); + if (dart.test(l[$isEmpty]) || dart.test(l[$isNotEmpty]) && l[$last] !== 0) { let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); tmp[$setRange](0, l[$length], l); return tmp; @@ -48552,7 +52224,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _toStringFromUtf8Array(l) { - if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + if (l == null) dart.nullFailed(I[114], 678, 50, "l"); let nonNullTerminated = l; if (l[$last] === 0) { nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); @@ -48560,76 +52232,76 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); } static type(path, opts) { - if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + if (path == null) dart.nullFailed(I[114], 691, 51, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 692, 13, "followLinks"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); } static typeSync(path, opts) { - if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + if (path == null) dart.nullFailed(I[114], 703, 47, "path"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + if (followLinks == null) dart.nullFailed(I[114], 703, 59, "followLinks"); return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); } static isLink(path) { - if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + if (path == null) dart.nullFailed(I[114], 711, 37, "path"); return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRaw(rawPath) { - if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + if (rawPath == null) dart.nullFailed(I[114], 713, 44, "rawPath"); return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + if (type == null) dart.nullFailed(I[114], 714, 14, "type"); return dart.equals(type, io.FileSystemEntityType.link); }, T$0.FileSystemEntityTypeTobool())); } static isFile(path) { - if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + if (path == null) dart.nullFailed(I[114], 719, 37, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + if (type == null) dart.nullFailed(I[114], 720, 14, "type"); return dart.equals(type, io.FileSystemEntityType.file); }, T$0.FileSystemEntityTypeTobool())); } static isDirectory(path) { - if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + if (path == null) dart.nullFailed(I[114], 725, 42, "path"); return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { - if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + if (type == null) dart.nullFailed(I[114], 727, 18, "type"); return dart.equals(type, io.FileSystemEntityType.directory); }, T$0.FileSystemEntityTypeTobool())); } static isLinkSync(path) { - if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + if (path == null) dart.nullFailed(I[114], 733, 33, "path"); return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); } static _isLinkRawSync(rawPath) { return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); } static isFileSync(path) { - if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + if (path == null) dart.nullFailed(I[114], 742, 33, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); } static isDirectorySync(path) { - if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + if (path == null) dart.nullFailed(I[114], 749, 38, "path"); return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); } static _getTypeNative(namespace, rawPath, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); - if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[110], 93, 53, "followLinks"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); } static _identicalNative(namespace, path1, path2) { - if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); - if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); - if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + if (namespace == null) dart.nullFailed(I[110], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[110], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[110], 98, 70, "path2"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); } static _resolveSymbolicLinks(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 103, 64, "rawPath"); dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); } static parentOf(path) { - if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + if (path == null) dart.nullFailed(I[114], 773, 33, "path"); let rootEnd = -1; if (dart.test(io.Platform.isWindows)) { if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { @@ -48654,43 +52326,41 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); } static _getTypeSyncHelper(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 802, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 802, 31, "followLinks"); let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); return io.FileSystemEntityType._lookup(core.int.as(result)); } static _getTypeSync(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 809, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 809, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); } - return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetTypeSync(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _getTypeRequest(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 819, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 819, 31, "followLinks"); return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); - } + io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.dynamicToFileSystemEntityType())); + }, T$0.ObjectNToFileSystemEntityType())); } static _getType(rawPath, followLinks) { - if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); - if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + if (rawPath == null) dart.nullFailed(I[114], 829, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[114], 829, 31, "followLinks"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); } - return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + return overrides.fseGetType(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); } static _throwIfError(result, msg, path = null) { - if (result == null) dart.nullFailed(I[111], 816, 31, "result"); - if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (result == null) dart.nullFailed(I[114], 837, 31, "result"); + if (msg == null) dart.nullFailed(I[114], 837, 46, "msg"); if (io.OSError.is(result)) { dart.throw(new io.FileSystemException.new(msg, path, result)); } else if (core.ArgumentError.is(result)) { @@ -48698,7 +52368,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { } } static _trimTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + if (path == null) dart.nullFailed(I[114], 846, 52, "path"); core.ArgumentError.checkNotNull(core.String, path, "path"); if (dart.test(io.Platform.isWindows)) { while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { @@ -48712,7 +52382,7 @@ io.FileSystemEntity = class FileSystemEntity extends core.Object { return path; } static _ensureTrailingPathSeparators(path) { - if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path == null) dart.nullFailed(I[114], 863, 54, "path"); if (path[$isEmpty]) path = "."; if (dart.test(io.Platform.isWindows)) { while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { @@ -48741,6 +52411,7 @@ dart.setMethodSignature(io.FileSystemEntity, () => ({ deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) })); +dart.setStaticMethodSignature(io.FileSystemEntity, () => ['_identical', 'identical', '_isAbsolute', '_windowsDriveLetter', '_absoluteWindowsPath', '_identicalSync', 'identicalSync', '_toUtf8Array', '_toNullTerminatedUtf8Array', '_toStringFromUtf8Array', 'type', 'typeSync', 'isLink', '_isLinkRaw', 'isFile', 'isDirectory', 'isLinkSync', '_isLinkRawSync', 'isFileSync', 'isDirectorySync', '_getTypeNative', '_identicalNative', '_resolveSymbolicLinks', 'parentOf', '_getTypeSyncHelper', '_getTypeSync', '_getTypeRequest', '_getType', '_throwIfError', '_trimTrailingPathSeparators', '_ensureTrailingPathSeparators']); dart.setGetterSignature(io.FileSystemEntity, () => ({ __proto__: dart.getGetters(io.FileSystemEntity.__proto__), uri: core.Uri, @@ -48748,7 +52419,9 @@ dart.setGetterSignature(io.FileSystemEntity, () => ({ [_absolutePath]: core.String, parent: io.Directory })); -dart.setLibraryUri(io.FileSystemEntity, I[105]); +dart.setStaticGetterSignature(io.FileSystemEntity, () => ['isWatchSupported']); +dart.setLibraryUri(io.FileSystemEntity, I[108]); +dart.setStaticFieldSignature(io.FileSystemEntity, () => ['_backslashChar', '_slashChar', '_colonChar', '_absoluteWindowsPathPattern', '_parentRegExp']); dart.defineLazy(io.FileSystemEntity, { /*io.FileSystemEntity._backslashChar*/get _backslashChar() { return 92; @@ -48779,61 +52452,69 @@ io._Directory = class _Directory extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); + return new io._Directory.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); + return new io._Directory.fromRawPath(rawPath); + } get path() { return this[_path$0]; } static _current(namespace) { - if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 14, 30, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._current")); } static _setCurrent(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 19, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); } static _createTemp(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 24, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._createTemp")); } static _systemTemp(namespace) { - if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + if (namespace == null) dart.nullFailed(I[110], 29, 40, "namespace"); dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 34, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._exists")); } static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 39, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("Directory._create")); } static _deleteNative(namespace, rawPath, recursive) { - if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + if (namespace == null) dart.nullFailed(I[110], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 45, 53, "recursive"); dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); } static _rename(namespace, rawPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); - if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[110], 50, 66, "newPath"); dart.throw(new core.UnsupportedError.new("Directory._rename")); } static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { - if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); - if (list == null) dart.nullFailed(I[107], 57, 30, "list"); - if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); - if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); - if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + if (namespace == null) dart.nullFailed(I[110], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[110], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[110], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 60, 12, "followLinks"); dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); } static get current() { let result = io._Directory._current(io._Namespace._namespace); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + dart.throw(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); } return new io._Directory.new(core.String.as(result)); } @@ -48843,13 +52524,11 @@ io._Directory = class _Directory extends io.FileSystemEntity { function _rawPath$35get() { return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); } - dart.fn(_rawPath$35get, T$0.VoidToUint8List()); - function _rawPath$35set(t185) { - if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + function _rawPath$35set(_rawPath$35param) { + if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); _rawPath$35isSet = true; - return _rawPath = t185; + return _rawPath = _rawPath$35param; } - dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); if (io._Directory.is(path)) { _rawPath$35set(path[_rawPath$]); } else if (io.Directory.is(path)) { @@ -48865,19 +52544,17 @@ io._Directory = class _Directory extends io.FileSystemEntity { let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); if (core.ArgumentError.is(result)) dart.throw(result); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + dart.throw(io.FileSystemException._fromOSError(result, "Setting current working directory failed", dart.toString(path))); } } get uri() { return core._Uri.directory(this.path); } exists() { - return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); - } + return io._File._dispatchWithNamespace(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + io._checkForErrorResponse(response, "Exists failed", this.path); return dart.equals(response, 1); - }, T$0.dynamicTobool())); + }, T$.ObjectNTobool())); } existsSync() { let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); @@ -48891,14 +52568,14 @@ io._Directory = class _Directory extends io.FileSystemEntity { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 99, 34, "recursive"); if (dart.test(recursive)) { return this.exists().then(io.Directory, dart.fn(exists => { - if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (exists == null) dart.nullFailed(I[113], 101, 29, "exists"); if (dart.test(exists)) return this; if (this.path != this.parent.path) { return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + if (_ == null) dart.nullFailed(I[113], 104, 55, "_"); return this.create(); }, T$0.DirectoryToFutureOfDirectory())); } else { @@ -48906,17 +52583,15 @@ io._Directory = class _Directory extends io.FileSystemEntity { } }, T$0.boolToFutureOrOfDirectory())); } else { - return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); - } + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 120, 25, "recursive"); if (dart.test(recursive)) { if (dart.test(this.existsSync())) return; if (this.path != this.parent.path) { @@ -48925,7 +52600,7 @@ io._Directory = class _Directory extends io.FileSystemEntity { } let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); } } static get systemTemp() { @@ -48942,12 +52617,10 @@ io._Directory = class _Directory extends io.FileSystemEntity { } else { fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); } - return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); - } + return io._File._dispatchWithNamespace(38, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Creation of temporary directory failed", this.path); return io.Directory.new(core.String.as(response)); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } createTempSync(prefix = null) { prefix == null ? prefix = "" : null; @@ -48962,58 +52635,54 @@ io._Directory = class _Directory extends io.FileSystemEntity { } let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Creation of temporary directory failed", fullPrefix)); } return io.Directory.new(core.String.as(result)); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); - return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); - } + if (recursive == null) dart.nullFailed(I[113], 181, 35, "recursive"); + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Deletion failed", this.path); return this; - }, T$0.dynamicTo_Directory())); + }, T$0.ObjectNTo_Directory())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 190, 26, "recursive"); let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); } } rename(newPath) { - if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); - return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); - } + if (newPath == null) dart.nullFailed(I[113], 197, 35, "newPath"); + return io._File._dispatchWithNamespace(42, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + io._checkForErrorResponse(response, "Rename failed", this.path); return io.Directory.new(newPath); - }, T$0.dynamicToDirectory())); + }, T$0.ObjectNToDirectory())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + if (newPath == null) dart.nullFailed(I[113], 205, 31, "newPath"); core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + dart.throw(io.FileSystemException._fromOSError(result, "Rename failed", this.path)); } return io.Directory.new(newPath); } list(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 216, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 216, 37, "followLinks"); return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; } listSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + if (recursive == null) dart.nullFailed(I[113], 228, 13, "recursive"); let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + if (followLinks == null) dart.nullFailed(I[113], 228, 37, "followLinks"); core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); let result = T$0.JSArrayOfFileSystemEntity().of([]); @@ -49023,42 +52692,20 @@ io._Directory = class _Directory extends io.FileSystemEntity { toString() { return "Directory: '" + dart.str(this.path) + "'"; } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionOrErrorFromResponse](response, message) { - if (message == null) dart.nullFailed(I[110], 260, 50, "message"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, this.path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } - } - } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + if (name == null) dart.nullFailed(I[113], 248, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._Directory.new = function(path) { - if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + if (path == null) dart.nullFailed(I[113], 11, 21, "path"); this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Directory.prototype; (io._Directory.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + if (rawPath == null) dart.nullFailed(I[113], 15, 36, "rawPath"); this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -49079,16 +52726,17 @@ dart.setMethodSignature(io._Directory, () => ({ rename: dart.fnType(async.Future$(io.Directory), [core.String]), renameSync: dart.fnType(io.Directory, [core.String]), list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}) })); +dart.setStaticMethodSignature(io._Directory, () => ['_current', '_setCurrent', '_createTemp', '_systemTemp', '_exists', '_create', '_deleteNative', '_rename', '_fillWithDirectoryListing', '_checkNotNull']); dart.setGetterSignature(io._Directory, () => ({ __proto__: dart.getGetters(io._Directory.__proto__), path: core.String, absolute: io.Directory })); -dart.setLibraryUri(io._Directory, I[105]); +dart.setStaticGetterSignature(io._Directory, () => ['current', 'systemTemp']); +dart.setStaticSetterSignature(io._Directory, () => ['current']); +dart.setLibraryUri(io._Directory, I[108]); dart.setFieldSignature(io._Directory, () => ({ __proto__: dart.getFields(io._Directory.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -49097,29 +52745,40 @@ dart.setFieldSignature(io._Directory, () => ({ dart.defineExtensionMethods(io._Directory, ['toString']); io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); dart.throw(new core.UnsupportedError.new("Directory._list")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 68, 40, "pointer"); + return io._AsyncDirectoryListerOps.new(pointer); + } }; (io._AsyncDirectoryListerOps[dart.mixinNew] = function() { }).prototype = io._AsyncDirectoryListerOps.prototype; dart.addTypeTests(io._AsyncDirectoryListerOps); dart.addTypeCaches(io._AsyncDirectoryListerOps); -dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); +dart.setStaticMethodSignature(io._AsyncDirectoryListerOps, () => ['new']); +dart.setLibraryUri(io._AsyncDirectoryListerOps, I[108]); var _ops = dart.privateName(io, "_ops"); var _pointer = dart.privateName(io, "_pointer"); var _cleanup = dart.privateName(io, "_cleanup"); io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + static ['_#new#tearOff'](rawPath, recursive, followLinks) { + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); + return new io._AsyncDirectoryLister.new(rawPath, recursive, followLinks); + } [_pointer]() { - let t187; - t187 = this[_ops]; - return t187 == null ? null : t187.getPointer(); + let t167; + t167 = this[_ops]; + return t167 == null ? null : t167.getPointer(); } get stream() { return this.controller.stream; } onListen() { - io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + io._File._dispatchWithNamespace(39, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { if (core.int.is(response)) { this[_ops] = io._AsyncDirectoryListerOps.new(response); this.next(); @@ -49127,10 +52786,10 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { this.controller.addError(response, response[$stackTrace]); this.close(); } else { - this.error(response); + this.error(T$.ListOfObjectN().as(response)); this.close(); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } onResume() { if (!dart.test(this.nextRunning)) { @@ -49157,46 +52816,46 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { return; } this.nextRunning = true; - io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { - let t187; + io._IOService._dispatch(40, [pointer]).then(core.Null, dart.fn(result => { + let t167; this.nextRunning = false; if (core.List.is(result)) { this.next(); - if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[113], 351, 16, "result.length % 2 == 0"); for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { - if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); - switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[113], 353, 18, "i % 2 == 0"); + switch (result[$_get]((t167 = i, i = t167 + 1, t167))) { case 0: - { - this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 1: - { - this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 2: - { - this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); - break; - } + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } case 3: - { - this.error(result[$_get](i)); - break; - } + { + this.error(T$.ListOfObjectN().as(result[$_get](i))); + break; + } case 4: - { - this.canceled = true; - return; - } + { + this.canceled = true; + return; + } } } } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } [_cleanup]() { this.controller.close(); @@ -49215,33 +52874,34 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { if (pointer == null) { this[_cleanup](); } else { - io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); } } error(message) { - let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (message == null) dart.nullFailed(I[113], 402, 28, "message"); + let errorResponseInfo = T$.ListOfObjectN().as(dart.nullCheck(message[$_get](2))); + let errorType = errorResponseInfo[$_get](0); if (dart.equals(errorType, 1)) { this.controller.addError(new core.ArgumentError.new()); } else if (dart.equals(errorType, 2)) { - let responseErrorInfo = dart.dsend(message, '_get', [2]); - let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); - let errorPath = dart.dsend(message, '_get', [1]); + let err = new io.OSError.new(core.String.as(errorResponseInfo[$_get](2)), core.int.as(errorResponseInfo[$_get](1))); + let errorPath = message[$_get](1); if (errorPath == null) { errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); } else if (typed_data.Uint8List.is(errorPath)) { - errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + errorPath = convert.utf8.decode(errorPath, {allowMalformed: true}); } - this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + this.controller.addError(io.FileSystemException._fromOSError(err, "Directory listing failed", core.String.as(errorPath))); } else { this.controller.addError(new io.FileSystemException.new("Internal error")); } } }; (io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { - let t187; - if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); - if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); - if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + let t167; + if (rawPath == null) dart.nullFailed(I[113], 283, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[113], 283, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[113], 283, 60, "followLinks"); this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); this.canceled = false; this.nextRunning = false; @@ -49251,12 +52911,12 @@ io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { this.rawPath = rawPath; this.recursive = recursive; this.followLinks = followLinks; - t187 = this.controller; + t167 = this.controller; (() => { - t187.onListen = dart.bind(this, 'onListen'); - t187.onResume = dart.bind(this, 'onResume'); - t187.onCancel = dart.bind(this, 'onCancel'); - return t187; + t167.onListen = dart.bind(this, 'onListen'); + t167.onResume = dart.bind(this, 'onResume'); + t167.onCancel = dart.bind(this, 'onCancel'); + return t167; })(); }).prototype = io._AsyncDirectoryLister.prototype; dart.addTypeTests(io._AsyncDirectoryLister); @@ -49270,13 +52930,13 @@ dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ next: dart.fnType(dart.void, []), [_cleanup]: dart.fnType(dart.void, []), close: dart.fnType(dart.void, []), - error: dart.fnType(dart.void, [dart.dynamic]) + error: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]) })); dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), stream: async.Stream$(io.FileSystemEntity) })); -dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); +dart.setLibraryUri(io._AsyncDirectoryLister, I[108]); dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), rawPath: dart.finalFieldType(typed_data.Uint8List), @@ -49289,6 +52949,7 @@ dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), closeCompleter: dart.fieldType(async.Completer) })); +dart.setStaticFieldSignature(io._AsyncDirectoryLister, () => ['listFile', 'listDirectory', 'listLink', 'listError', 'listDone', 'responseType', 'responsePath', 'responseComplete', 'responseError']); dart.defineLazy(io._AsyncDirectoryLister, { /*io._AsyncDirectoryLister.listFile*/get listFile() { return 0; @@ -49318,57 +52979,69 @@ dart.defineLazy(io._AsyncDirectoryLister, { return 2; } }, false); -io._EmbedderConfig = class _EmbedderConfig extends core.Object { - static _setDomainPolicies(domainNetworkPolicyJson) { - if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); - io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); - } -}; +io._EmbedderConfig = class _EmbedderConfig extends core.Object {}; (io._EmbedderConfig.new = function() { ; }).prototype = io._EmbedderConfig.prototype; dart.addTypeTests(io._EmbedderConfig); dart.addTypeCaches(io._EmbedderConfig); -dart.setLibraryUri(io._EmbedderConfig, I[105]); +dart.setLibraryUri(io._EmbedderConfig, I[108]); +dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); dart.defineLazy(io._EmbedderConfig, { /*io._EmbedderConfig._mayChdir*/get _mayChdir() { return true; }, - set _mayChdir(_) {}, + set _mayChdir(value) { + if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); + }, /*io._EmbedderConfig._mayExit*/get _mayExit() { return true; }, - set _mayExit(_) {}, + set _mayExit(value) { + if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); + }, /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { return true; }, - set _maySetEchoMode(_) {}, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + set _maySetEchoMode(value) { + if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); + }, + /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { return true; }, - set _maySetLineMode(_) {}, - /*io._EmbedderConfig._maySleep*/get _maySleep() { + set _maySetEchoNewlineMode(value) { + if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); + }, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { return true; }, - set _maySleep(_) {}, - /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + set _maySetLineMode(value) { + if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); + }, + /*io._EmbedderConfig._maySleep*/get _maySleep() { return true; }, - set _mayInsecurelyConnectToAllDomains(_) {} + set _maySleep(value) { + if (value == null) dart.nullFailed(I[115], 37, 15, "_maySleep"); + } }, false); io._EventHandler = class _EventHandler extends core.Object { static _sendData(sender, sendPort, data) { - if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); - if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + if (sendPort == null) dart.nullFailed(I[110], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[110], 76, 64, "data"); dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); } + static ['_#new#tearOff']() { + return new io._EventHandler.new(); + } }; (io._EventHandler.new = function() { ; }).prototype = io._EventHandler.prototype; dart.addTypeTests(io._EventHandler); dart.addTypeCaches(io._EventHandler); -dart.setLibraryUri(io._EventHandler, I[105]); +dart.setStaticMethodSignature(io._EventHandler, () => ['_sendData']); +dart.setLibraryUri(io._EventHandler, I[108]); var _mode$ = dart.privateName(io, "FileMode._mode"); var _mode = dart.privateName(io, "_mode"); io.FileMode = class FileMode extends core.Object { @@ -49378,49 +53051,39 @@ io.FileMode = class FileMode extends core.Object { set [_mode](value) { super[_mode] = value; } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); + return new io.FileMode._internal(_mode); + } }; (io.FileMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + if (_mode == null) dart.nullFailed(I[116], 32, 33, "_mode"); this[_mode$] = _mode; ; }).prototype = io.FileMode.prototype; dart.addTypeTests(io.FileMode); dart.addTypeCaches(io.FileMode); -dart.setLibraryUri(io.FileMode, I[105]); +dart.setLibraryUri(io.FileMode, I[108]); dart.setFieldSignature(io.FileMode, () => ({ __proto__: dart.getFields(io.FileMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileMode, () => ['read', 'write', 'append', 'writeOnly', 'writeOnlyAppend']); dart.defineLazy(io.FileMode, { /*io.FileMode.read*/get read() { - return C[109] || CT.C109; - }, - /*io.FileMode.READ*/get READ() { - return C[109] || CT.C109; + return C[116] || CT.C116; }, /*io.FileMode.write*/get write() { - return C[110] || CT.C110; - }, - /*io.FileMode.WRITE*/get WRITE() { - return C[110] || CT.C110; + return C[117] || CT.C117; }, /*io.FileMode.append*/get append() { - return C[111] || CT.C111; - }, - /*io.FileMode.APPEND*/get APPEND() { - return C[111] || CT.C111; + return C[118] || CT.C118; }, /*io.FileMode.writeOnly*/get writeOnly() { - return C[112] || CT.C112; - }, - /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + return C[119] || CT.C119; }, /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[113] || CT.C113; - }, - /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + return C[120] || CT.C120; } }, false); var _type$1 = dart.privateName(io, "FileLock._type"); @@ -49432,60 +53095,65 @@ io.FileLock = class FileLock extends core.Object { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); + return new io.FileLock._internal(_type); + } }; (io.FileLock._internal = function(_type) { - if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + if (_type == null) dart.nullFailed(I[116], 51, 33, "_type"); this[_type$1] = _type; ; }).prototype = io.FileLock.prototype; dart.addTypeTests(io.FileLock); dart.addTypeCaches(io.FileLock); -dart.setLibraryUri(io.FileLock, I[105]); +dart.setLibraryUri(io.FileLock, I[108]); dart.setFieldSignature(io.FileLock, () => ({ __proto__: dart.getFields(io.FileLock.__proto__), [_type]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileLock, () => ['shared', 'exclusive', 'blockingShared', 'blockingExclusive']); dart.defineLazy(io.FileLock, { /*io.FileLock.shared*/get shared() { - return C[114] || CT.C114; - }, - /*io.FileLock.SHARED*/get SHARED() { - return C[114] || CT.C114; + return C[121] || CT.C121; }, /*io.FileLock.exclusive*/get exclusive() { - return C[115] || CT.C115; - }, - /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { - return C[115] || CT.C115; + return C[122] || CT.C122; }, /*io.FileLock.blockingShared*/get blockingShared() { - return C[116] || CT.C116; - }, - /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { - return C[116] || CT.C116; + return C[123] || CT.C123; }, /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[117] || CT.C117; - }, - /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { - return C[117] || CT.C117; + return C[124] || CT.C124; } }, false); io.File = class File extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._File.new(path); } return overrides.createFile(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[116], 193, 23, "path"); + return io.File.new(path); + } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); + return io.File.fromUri(uri); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + if (uri == null) dart.nullFailed(I[116], 204, 28, "uri"); return io.File.new(uri.toFilePath()); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); + return io.File.fromRawPath(rawPath); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[116], 210, 38, "rawPath"); return new io._File.fromRawPath(rawPath); } }; @@ -49494,17 +53162,19 @@ io.File = class File extends core.Object { dart.addTypeTests(io.File); dart.addTypeCaches(io.File); io.File[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.File, I[105]); +dart.setStaticMethodSignature(io.File, () => ['new', 'fromUri', 'fromRawPath']); +dart.setLibraryUri(io.File, I[108]); io.RandomAccessFile = class RandomAccessFile extends core.Object {}; (io.RandomAccessFile.new = function() { ; }).prototype = io.RandomAccessFile.prototype; dart.addTypeTests(io.RandomAccessFile); dart.addTypeCaches(io.RandomAccessFile); -dart.setLibraryUri(io.RandomAccessFile, I[105]); +dart.setLibraryUri(io.RandomAccessFile, I[108]); var message$3 = dart.privateName(io, "FileSystemException.message"); var path$ = dart.privateName(io, "FileSystemException.path"); var osError$ = dart.privateName(io, "FileSystemException.osError"); +var _toStringHelper = dart.privateName(io, "_toStringHelper"); io.FileSystemException = class FileSystemException extends core.Object { get message() { return this[message$3]; @@ -49524,9 +53194,53 @@ io.FileSystemException = class FileSystemException extends core.Object { set osError(value) { super.osError = value; } - toString() { + static ['_#new#tearOff'](message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); + return new io.FileSystemException.new(message, path, osError); + } + static _fromOSError(err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + if (dart.test(io.Platform.isWindows)) { + switch (err.errorCode) { + case 2: + case 3: + case 15: + case 18: + case 53: + case 67: + case 161: + case 206: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } else { + switch (err.errorCode) { + case 2: + { + return new io.PathNotFoundException.new(dart.nullCheck(path), err, message); + } + default: + { + return new io.FileSystemException.new(message, path, err); + } + } + } + } + static ['_#_fromOSError#tearOff'](err, message, path) { + if (err == null) dart.nullFailed(I[116], 903, 15, "err"); + if (message == null) dart.nullFailed(I[116], 903, 27, "message"); + return io.FileSystemException._fromOSError(err, message, path); + } + [_toStringHelper](className) { + if (className == null) dart.nullFailed(I[116], 928, 33, "className"); let sb = new core.StringBuffer.new(); - sb.write("FileSystemException"); + sb.write(className); if (this.message[$isNotEmpty]) { sb.write(": " + dart.str(this.message)); if (this.path != null) { @@ -49545,9 +53259,12 @@ io.FileSystemException = class FileSystemException extends core.Object { } return sb.toString(); } + toString() { + return this[_toStringHelper]("FileSystemException"); + } }; (io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + if (message == null) dart.nullFailed(I[116], 895, 35, "message"); this[message$3] = message; this[path$] = path; this[osError$] = osError; @@ -49556,7 +53273,12 @@ io.FileSystemException = class FileSystemException extends core.Object { dart.addTypeTests(io.FileSystemException); dart.addTypeCaches(io.FileSystemException); io.FileSystemException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.FileSystemException, I[105]); +dart.setMethodSignature(io.FileSystemException, () => ({ + __proto__: dart.getMethods(io.FileSystemException.__proto__), + [_toStringHelper]: dart.fnType(core.String, [core.String]) +})); +dart.setStaticMethodSignature(io.FileSystemException, () => ['_fromOSError']); +dart.setLibraryUri(io.FileSystemException, I[108]); dart.setFieldSignature(io.FileSystemException, () => ({ __proto__: dart.getFields(io.FileSystemException.__proto__), message: dart.finalFieldType(core.String), @@ -49564,45 +53286,100 @@ dart.setFieldSignature(io.FileSystemException, () => ({ osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.FileSystemException, ['toString']); +io.PathNotFoundException = class PathNotFoundException extends io.FileSystemException { + static ['_#new#tearOff'](path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + return new io.PathNotFoundException.new(path, osError, message); + } + toString() { + return this[_toStringHelper]("PathNotFoundException"); + } +}; +(io.PathNotFoundException.new = function(path, osError, message = "") { + if (path == null) dart.nullFailed(I[116], 958, 38, "path"); + if (osError == null) dart.nullFailed(I[116], 958, 52, "osError"); + if (message == null) dart.nullFailed(I[116], 959, 15, "message"); + io.PathNotFoundException.__proto__.new.call(this, message, path, osError); + ; +}).prototype = io.PathNotFoundException.prototype; +dart.addTypeTests(io.PathNotFoundException); +dart.addTypeCaches(io.PathNotFoundException); +dart.setLibraryUri(io.PathNotFoundException, I[108]); +dart.defineExtensionMethods(io.PathNotFoundException, ['toString']); +io.ReadPipe = class ReadPipe extends core.Object {}; +(io.ReadPipe.new = function() { + ; +}).prototype = io.ReadPipe.prototype; +io.ReadPipe.prototype[dart.isStream] = true; +dart.addTypeTests(io.ReadPipe); +dart.addTypeCaches(io.ReadPipe); +io.ReadPipe[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setLibraryUri(io.ReadPipe, I[108]); +io.WritePipe = class WritePipe extends core.Object {}; +(io.WritePipe.new = function() { + ; +}).prototype = io.WritePipe.prototype; +dart.addTypeTests(io.WritePipe); +dart.addTypeCaches(io.WritePipe); +io.WritePipe[dart.implements] = () => [io.IOSink]; +dart.setLibraryUri(io.WritePipe, I[108]); +io.Pipe = class Pipe extends core.Object { + static create() { + return io._Pipe.create(); + } + static createSync() { + return io._Pipe.createSync(); + } + static ['_#createSync#tearOff']() { + return io.Pipe.createSync(); + } +}; +(io.Pipe[dart.mixinNew] = function() { +}).prototype = io.Pipe.prototype; +dart.addTypeTests(io.Pipe); +dart.addTypeCaches(io.Pipe); +dart.setStaticMethodSignature(io.Pipe, () => ['create', 'createSync']); +dart.setLibraryUri(io.Pipe, I[108]); var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); -var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); -var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); var _closeCompleter = dart.privateName(io, "_closeCompleter"); var _unsubscribed = dart.privateName(io, "_unsubscribed"); var _readInProgress = dart.privateName(io, "_readInProgress"); var _atEnd = dart.privateName(io, "_atEnd"); -var _end$ = dart.privateName(io, "_end"); +var _openedFile = dart.privateName(io, "_openedFile"); +var _end$0 = dart.privateName(io, "_end"); var _position$ = dart.privateName(io, "_position"); var _controller = dart.privateName(io, "_controller"); -var _openedFile = dart.privateName(io, "_openedFile"); -var _start$1 = dart.privateName(io, "_start"); +var _start$2 = dart.privateName(io, "_start"); var _readBlock = dart.privateName(io, "_readBlock"); var _closeFile = dart.privateName(io, "_closeFile"); io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { get [_controller]() { - let t187; - return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t167; + return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t187) { - if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = t187; + this[___FileStream__controller] = _controller$35param; + } + static ['_#new#tearOff'](_path, position, _end) { + return new io._FileStream.new(_path, position, _end); } - get [_openedFile]() { - let t188; - return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + static ['_#forStdin#tearOff']() { + return new io._FileStream.forStdin(); } - set [_openedFile](t188) { - if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); - this[___FileStream__openedFile_isSet] = true; - this[___FileStream__openedFile] = t188; + static ['_#forRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + return new io._FileStream.forRandomAccessFile(f); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { this[_unsubscribed] = true; return this[_closeFile](); }, T$0.VoidToFuture())}); @@ -49618,7 +53395,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { this[_controller].close(); }; dart.fn(done, T$.VoidTovoid()); - this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); return this[_closeCompleter].future; } [_readBlock]() { @@ -49629,7 +53406,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } this[_readInProgress] = true; let readBytes = 65536; - let end = this[_end$]; + let end = this[_end$0]; if (end != null) { readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); if (readBytes < 0) { @@ -49642,21 +53419,23 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { return; } } - this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { - if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + dart.nullCheck(this[_openedFile]).read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[117], 89, 40, "block"); this[_readInProgress] = false; if (dart.test(this[_unsubscribed])) { this[_closeFile](); return; } this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); - if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + if (block[$length] === 0 || this[_end$0] != null && this[_position$] == this[_end$0]) { this[_atEnd] = true; } if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { this[_readBlock](); } - this[_controller].add(block); + if (dart.notNull(block[$length]) > 0) { + this[_controller].add(block); + } if (dart.test(this[_atEnd])) { this[_closeFile](); } @@ -49668,7 +53447,7 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } }, T$.dynamicAnddynamicToNull())); } - [_start$1]() { + [_start$2]() { if (dart.notNull(this[_position$]) < 0) { this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); this[_controller].close(); @@ -49676,14 +53455,14 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { return; } const onReady = file => { - if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + if (file == null) dart.nullFailed(I[117], 130, 35, "file"); this[_openedFile] = file; this[_readInProgress] = false; this[_readBlock](); }; dart.fn(onReady, T$0.RandomAccessFileTovoid()); const onOpenFile = file => { - if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (file == null) dart.nullFailed(I[117], 136, 38, "file"); if (dart.notNull(this[_position$]) > 0) { file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); @@ -49702,7 +53481,10 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { }; dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); let path = this[_path$0]; - if (path != null) { + let openedFile = this[_openedFile]; + if (openedFile != null) { + onOpenFile(openedFile); + } else if (path != null) { io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); } else { try { @@ -49719,35 +53501,49 @@ io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { } }; (io._FileStream.new = function(_path, position, _end) { - let t187; + let t167; this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; + this[_openedFile] = null; this[_path$0] = _path; - this[_end$] = _end; - this[_position$] = (t187 = position, t187 == null ? 0 : t187); + this[_end$0] = _end; + this[_position$] = (t167 = position, t167 == null ? 0 : t167); io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; (io._FileStream.forStdin = function() { this[___FileStream__controller] = null; this[___FileStream__controller_isSet] = false; - this[___FileStream__openedFile] = null; - this[___FileStream__openedFile_isSet] = false; this[_closeCompleter] = async.Completer.new(); this[_unsubscribed] = false; this[_readInProgress] = true; this[_closed] = false; this[_atEnd] = false; - this[_end$] = null; + this[_openedFile] = null; + this[_end$0] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +(io._FileStream.forRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 34, 52, "f"); + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$0] = null; this[_path$0] = null; this[_position$] = 0; + this[_openedFile] = f; io._FileStream.__proto__.new.call(this); ; }).prototype = io._FileStream.prototype; @@ -49758,28 +53554,25 @@ dart.setMethodSignature(io._FileStream, () => ({ listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), [_closeFile]: dart.fnType(async.Future, []), [_readBlock]: dart.fnType(dart.void, []), - [_start$1]: dart.fnType(dart.void, []) + [_start$2]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._FileStream, () => ({ __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); dart.setSetterSignature(io._FileStream, () => ({ __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List), - [_openedFile]: io.RandomAccessFile + [_controller]: async.StreamController$(typed_data.Uint8List) })); -dart.setLibraryUri(io._FileStream, I[105]); +dart.setLibraryUri(io._FileStream, I[108]); dart.setFieldSignature(io._FileStream, () => ({ __proto__: dart.getFields(io._FileStream.__proto__), [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), [___FileStream__controller_isSet]: dart.fieldType(core.bool), [_path$0]: dart.fieldType(dart.nullable(core.String)), - [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), [_position$]: dart.fieldType(core.int), - [_end$]: dart.fieldType(dart.nullable(core.int)), + [_end$0]: dart.fieldType(dart.nullable(core.int)), [_closeCompleter]: dart.finalFieldType(async.Completer), [_unsubscribed]: dart.fieldType(core.bool), [_readInProgress]: dart.fieldType(core.bool), @@ -49789,37 +53582,48 @@ dart.setFieldSignature(io._FileStream, () => ({ var _file = dart.privateName(io, "_file"); var _openFuture = dart.privateName(io, "_openFuture"); io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + static ['_#new#tearOff'](file, mode) { + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); + return new io._FileStreamConsumer.new(file, mode); + } + static ['_#fromStdio#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); + return new io._FileStreamConsumer.fromStdio(fd); + } + static ['_#fromRandomAccessFile#tearOff'](f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + return new io._FileStreamConsumer.fromRandomAccessFile(f); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + if (stream == null) dart.nullFailed(I[117], 186, 45, "stream"); let completer = T$0.CompleterOfFileN().sync(); this[_openFuture].then(core.Null, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 188, 23, "openedFile"); let _subscription = null; let _subscription$35isSet = false; function _subscription$35get() { return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); } - dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); - function _subscription$35set(t193) { - if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + function _subscription$35set(_subscription$35param) { + if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); _subscription$35isSet = true; - return _subscription = t193; + return _subscription = _subscription$35param; } - dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); function error(e, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + if (stackTrace == null) dart.nullFailed(I[117], 190, 32, "stackTrace"); _subscription$35get().cancel(); openedFile.close(); completer.completeError(core.Object.as(e), stackTrace); } dart.fn(error, T$0.dynamicAndStackTraceTovoid()); _subscription$35set(stream.listen(dart.fn(d => { - if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + if (d == null) dart.nullFailed(I[117], 196, 38, "d"); _subscription$35get().pause(); try { openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); return _subscription$35get().resume(); }, T$0.RandomAccessFileTovoid()), {onError: error}); } catch (e$) { @@ -49838,24 +53642,30 @@ io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$ } close() { return this[_openFuture].then(dart.void, dart.fn(openedFile => { - if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + if (openedFile == null) dart.nullFailed(I[117], 213, 25, "openedFile"); return openedFile.close(); }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); } }; (io._FileStreamConsumer.new = function(file, mode) { - if (file == null) dart.nullFailed(I[114], 162, 28, "file"); - if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + if (file == null) dart.nullFailed(I[117], 176, 28, "file"); + if (mode == null) dart.nullFailed(I[117], 176, 43, "mode"); this[_file] = file; this[_openFuture] = file.open({mode: mode}); ; }).prototype = io._FileStreamConsumer.prototype; (io._FileStreamConsumer.fromStdio = function(fd) { - if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + if (fd == null) dart.nullFailed(I[117], 180, 37, "fd"); this[_file] = null; this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); ; }).prototype = io._FileStreamConsumer.prototype; +(io._FileStreamConsumer.fromRandomAccessFile = function(f) { + if (f == null) dart.nullFailed(I[117], 183, 61, "f"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(f); + ; +}).prototype = io._FileStreamConsumer.prototype; dart.addTypeTests(io._FileStreamConsumer); dart.addTypeCaches(io._FileStreamConsumer); dart.setMethodSignature(io._FileStreamConsumer, () => ({ @@ -49863,7 +53673,7 @@ dart.setMethodSignature(io._FileStreamConsumer, () => ({ addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), close: dart.fnType(async.Future$(dart.nullable(io.File)), []) })); -dart.setLibraryUri(io._FileStreamConsumer, I[105]); +dart.setLibraryUri(io._FileStreamConsumer, I[108]); dart.setFieldSignature(io._FileStreamConsumer, () => ({ __proto__: dart.getFields(io._FileStreamConsumer.__proto__), [_file]: dart.fieldType(dart.nullable(io.File)), @@ -49885,6 +53695,14 @@ io._File = class _File extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); + return new io._File.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); + return new io._File.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -49892,22 +53710,20 @@ io._File = class _File extends io.FileSystemEntity { return io._Namespace._namespacePointer; } static _dispatchWithNamespace(request, data) { - if (request == null) dart.nullFailed(I[114], 222, 44, "request"); - if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + if (request == null) dart.nullFailed(I[117], 239, 53, "request"); + if (data == null) dart.nullFailed(I[117], 239, 67, "data"); data[$_set](0, io._File._namespacePointer()); return io._IOService._dispatch(request, data); } exists() { return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); - } - return T$.FutureOrOfbool().as(response); - }, T$0.dynamicToFutureOrOfbool())); + io._checkForErrorResponse(response, "Cannot check existence", this.path); + return core.bool.as(response); + }, T$.ObjectNTobool())); } static _exists(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); dart.throw(new core.UnsupportedError.new("File._exists")); } existsSync() { @@ -49920,69 +53736,74 @@ io._File = class _File extends io.FileSystemEntity { } create(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 262, 29, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 262, 53, "exclusive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$], exclusive]), T$0.DirectoryNToFutureOfObjectN())).then(io.File, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } - static _create(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + static _create(namespace, rawPath, exclusive) { + if (namespace == null) dart.nullFailed(I[110], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 116, 50, "rawPath"); + if (exclusive == null) dart.nullFailed(I[110], 116, 64, "exclusive"); dart.throw(new core.UnsupportedError.new("File._create")); } static _createLink(namespace, rawPath, target) { - if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); - if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + if (namespace == null) dart.nullFailed(I[110], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[110], 121, 70, "target"); dart.throw(new core.UnsupportedError.new("File._createLink")); } + static _createPipe(namespace) { + if (namespace == null) dart.nullFailed(I[110], 126, 47, "namespace"); + dart.throw(new core.UnsupportedError.new("File._createPipe")); + } static _linkTarget(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 131, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 131, 54, "rawPath"); dart.throw(new core.UnsupportedError.new("File._linkTarget")); } createSync(opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 284, 25, "recursive"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[117], 284, 49, "exclusive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } - let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + let result = io._File._create(io._Namespace._namespace, this[_rawPath$], exclusive); io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 292, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + if (_ == null) dart.nullFailed(I[117], 294, 64, "_"); return this; }, T$0.FileSystemEntityTo_File())); } return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete file", this.path); return this; - }, T$0.dynamicTo_File())); + }, T$0.ObjectNTo_File())); } static _deleteNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 136, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 136, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteNative")); } static _deleteLinkNative(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 141, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 141, 60, "rawPath"); dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[117], 307, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -49990,77 +53811,69 @@ io._File = class _File extends io.FileSystemEntity { io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 315, 30, "newPath"); return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _rename(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 146, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 146, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 146, 66, "newPath"); dart.throw(new core.UnsupportedError.new("File._rename")); } static _renameLink(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 151, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 151, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 151, 70, "newPath"); dart.throw(new core.UnsupportedError.new("File._renameLink")); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 330, 26, "newPath"); let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } copy(newPath) { - if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 336, 28, "newPath"); return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); - }, T$0.dynamicToFile())); + }, T$0.ObjectNToFile())); } static _copy(namespace, oldPath, newPath) { - if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); - if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); - if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + if (namespace == null) dart.nullFailed(I[110], 156, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[110], 156, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[110], 156, 64, "newPath"); dart.throw(new core.UnsupportedError.new("File._copy")); } copySync(newPath) { - if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + if (newPath == null) dart.nullFailed(I[117], 347, 24, "newPath"); let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); return io.File.new(newPath); } open(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 353, 43, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); } return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); - } + io._checkForErrorResponse(response, "Cannot open file", this.path); return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } length() { return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "Cannot retrieve length of file", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } static _lengthFromPath(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 161, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); } lengthSync() { @@ -50070,15 +53883,13 @@ io._File = class _File extends io.FileSystemEntity { } lastAccessed() { return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastAccessed(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 171, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 171, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastAccessed")); } lastAccessedSync() { @@ -50087,23 +53898,21 @@ io._File = class _File extends io.FileSystemEntity { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastAccessed(time) { - if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + if (time == null) dart.nullFailed(I[117], 401, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set access time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastAccessed(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 181, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 181, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 181, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); } setLastAccessedSync(time) { - if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + if (time == null) dart.nullFailed(I[117], 414, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50112,15 +53921,13 @@ io._File = class _File extends io.FileSystemEntity { } lastModified() { return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.dynamicToDateTime())); + }, T$0.ObjectNToDateTime())); } static _lastModified(namespace, rawPath) { - if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + if (namespace == null) dart.nullFailed(I[110], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 166, 56, "rawPath"); dart.throw(new core.UnsupportedError.new("File._lastModified")); } lastModifiedSync() { @@ -50129,23 +53936,21 @@ io._File = class _File extends io.FileSystemEntity { return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); } setLastModified(time) { - if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + if (time == null) dart.nullFailed(I[117], 440, 35, "time"); let millis = time.millisecondsSinceEpoch; return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); - } + io._checkForErrorResponse(response, "Cannot set modification time", this.path); return null; - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } static _setLastModified(namespace, rawPath, millis) { - if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); - if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + if (namespace == null) dart.nullFailed(I[110], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[110], 176, 72, "millis"); dart.throw(new core.UnsupportedError.new("File._setLastModified")); } setLastModifiedSync(time) { - if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + if (time == null) dart.nullFailed(I[117], 453, 37, "time"); let millis = time.millisecondsSinceEpoch; let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); if (io.OSError.is(result)) { @@ -50153,14 +53958,14 @@ io._File = class _File extends io.FileSystemEntity { } } static _open(namespace, rawPath, mode) { - if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); - if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); - if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + if (namespace == null) dart.nullFailed(I[110], 186, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[110], 186, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[110], 186, 61, "mode"); dart.throw(new core.UnsupportedError.new("File._open")); } openSync(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; - if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + let mode = opts && 'mode' in opts ? opts.mode : C[116] || CT.C116; + if (mode == null) dart.nullFailed(I[117], 464, 39, "mode"); if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50169,11 +53974,11 @@ io._File = class _File extends io.FileSystemEntity { return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); } static _openStdio(fd) { - if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + if (fd == null) dart.nullFailed(I[110], 191, 29, "fd"); dart.throw(new core.UnsupportedError.new("File._openStdio")); } static _openStdioSync(fd) { - if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + if (fd == null) dart.nullFailed(I[117], 479, 46, "fd"); let id = io._File._openStdio(fd); if (id === 0) { dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); @@ -50184,10 +53989,10 @@ io._File = class _File extends io.FileSystemEntity { return new io._FileStream.new(this.path, start, end); } openWrite(opts) { - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 491, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 491, 62, "encoding"); if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); } @@ -50196,12 +54001,12 @@ io._File = class _File extends io.FileSystemEntity { } readAsBytes() { function readDataChunked(file) { - if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + if (file == null) dart.nullFailed(I[117], 503, 56, "file"); let builder = _internal.BytesBuilder.new({copy: false}); let completer = T$0.CompleterOfUint8List().new(); function read() { file.read(65536).then(core.Null, dart.fn(data => { - if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (data == null) dart.nullFailed(I[117], 507, 37, "data"); if (dart.notNull(data[$length]) > 0) { builder.add(data); read(); @@ -50216,9 +54021,9 @@ io._File = class _File extends io.FileSystemEntity { } dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); return this.open().then(typed_data.Uint8List, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + if (file == null) dart.nullFailed(I[117], 521, 25, "file"); return file.length().then(typed_data.Uint8List, dart.fn(length => { - if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length == null) dart.nullFailed(I[117], 522, 34, "length"); if (length === 0) { return readDataChunked(file); } @@ -50247,8 +54052,8 @@ io._File = class _File extends io.FileSystemEntity { } } [_tryDecode](bytes, encoding) { - if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); - if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + if (bytes == null) dart.nullFailed(I[117], 554, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[117], 554, 47, "encoding"); try { return encoding.decode(bytes); } catch (e) { @@ -50260,11 +54065,11 @@ io._File = class _File extends io.FileSystemEntity { } } readAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 563, 41, "encoding"); let stack = core.StackTrace.current; return this.readAsBytes().then(core.String, dart.fn(bytes => { - if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 568, 32, "bytes"); try { return this[_tryDecode](bytes, encoding); } catch (e$) { @@ -50277,32 +54082,32 @@ io._File = class _File extends io.FileSystemEntity { }, T$0.Uint8ListToFutureOrOfString())); } readAsStringSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 577, 37, "encoding"); return this[_tryDecode](this.readAsBytesSync(), encoding); } readAsLines(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); - return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 580, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[125] || CT.C125, 'convert')); } readAsLinesSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); - return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 583, 42, "encoding"); + return (C[125] || CT.C125).convert(this.readAsStringSync({encoding: encoding})); } writeAsBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 586, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 587, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 587, 45, "flush"); return this.open({mode: mode}).then(io.File, dart.fn(file => { - if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + if (file == null) dart.nullFailed(I[117], 588, 35, "file"); return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (_ == null) dart.nullFailed(I[117], 589, 65, "_"); if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); return this; }, T$0.RandomAccessFileTo_File())); return this; @@ -50310,11 +54115,11 @@ io._File = class _File extends io.FileSystemEntity { }, T$0.RandomAccessFileToFutureOfFile())); } writeAsBytesSync(bytes, opts) { - if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + if (bytes == null) dart.nullFailed(I[117], 596, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 597, 17, "mode"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + if (flush == null) dart.nullFailed(I[117], 597, 45, "flush"); let opened = this.openSync({mode: mode}); try { opened.writeFromSync(bytes, 0, bytes[$length]); @@ -50324,13 +54129,13 @@ io._File = class _File extends io.FileSystemEntity { } } writeAsString(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 607, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 608, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 609, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 610, 12, "flush"); try { return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); } catch (e$) { @@ -50342,40 +54147,40 @@ io._File = class _File extends io.FileSystemEntity { } } writeAsStringSync(contents, opts) { - if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); - let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; - if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + if (contents == null) dart.nullFailed(I[117], 618, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[117] || CT.C117; + if (mode == null) dart.nullFailed(I[117], 619, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 620, 16, "encoding"); let flush = opts && 'flush' in opts ? opts.flush : false; - if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + if (flush == null) dart.nullFailed(I[117], 621, 12, "flush"); this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); } toString() { return "File: '" + dart.str(this.path) + "'"; } static throwIfError(result, msg, path) { - if (result == null) dart.nullFailed(I[114], 633, 30, "result"); - if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); - if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (result == null) dart.nullFailed(I[117], 627, 30, "result"); + if (msg == null) dart.nullFailed(I[117], 627, 45, "msg"); + if (path == null) dart.nullFailed(I[117], 627, 57, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } static _checkNotNull(T, t, name) { - if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + if (name == null) dart.nullFailed(I[117], 634, 41, "name"); core.ArgumentError.checkNotNull(T, t, name); return t; } }; (io._File.new = function(path) { - if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + if (path == null) dart.nullFailed(I[117], 221, 16, "path"); this[_path$1] = io._File._checkNotNull(core.String, path, "path"); this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._File.prototype; (io._File.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[117], 225, 31, "rawPath"); this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -50387,8 +54192,8 @@ dart.setMethodSignature(io._File, () => ({ __proto__: dart.getMethods(io._File.__proto__), exists: dart.fnType(async.Future$(core.bool), []), existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + create: dart.fnType(async.Future$(io.File), [], {exclusive: core.bool, recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {exclusive: core.bool, recursive: core.bool}, {}), [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), rename: dart.fnType(async.Future$(io.File), [core.String]), @@ -50421,12 +54226,13 @@ dart.setMethodSignature(io._File, () => ({ writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) })); +dart.setStaticMethodSignature(io._File, () => ['_namespacePointer', '_dispatchWithNamespace', '_exists', '_create', '_createLink', '_createPipe', '_linkTarget', '_deleteNative', '_deleteLinkNative', '_rename', '_renameLink', '_copy', '_lengthFromPath', '_lastAccessed', '_setLastAccessed', '_lastModified', '_setLastModified', '_open', '_openStdio', '_openStdioSync', 'throwIfError', '_checkNotNull']); dart.setGetterSignature(io._File, () => ({ __proto__: dart.getGetters(io._File.__proto__), path: core.String, absolute: io.File })); -dart.setLibraryUri(io._File, I[105]); +dart.setLibraryUri(io._File, I[108]); dart.setFieldSignature(io._File, () => ({ __proto__: dart.getFields(io._File.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -50435,15 +54241,20 @@ dart.setFieldSignature(io._File, () => ({ dart.defineExtensionMethods(io._File, ['toString']); io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { static new(pointer) { - if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); dart.throw(new core.UnsupportedError.new("RandomAccessFile")); } + static ['_#new#tearOff'](pointer) { + if (pointer == null) dart.nullFailed(I[110], 217, 36, "pointer"); + return io._RandomAccessFileOps.new(pointer); + } }; (io._RandomAccessFileOps[dart.mixinNew] = function() { }).prototype = io._RandomAccessFileOps.prototype; dart.addTypeTests(io._RandomAccessFileOps); dart.addTypeCaches(io._RandomAccessFileOps); -dart.setLibraryUri(io._RandomAccessFileOps, I[105]); +dart.setStaticMethodSignature(io._RandomAccessFileOps, () => ['new']); +dart.setLibraryUri(io._RandomAccessFileOps, I[108]); var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); @@ -50454,14 +54265,19 @@ var _dispatch = dart.privateName(io, "_dispatch"); var _checkAvailable = dart.privateName(io, "_checkAvailable"); var _fileLockValue = dart.privateName(io, "_fileLockValue"); io._RandomAccessFile = class _RandomAccessFile extends core.Object { + set [_resourceInfo](_resourceInfo$35param) { + if (_resourceInfo$35param == null) dart.nullFailed(I[117], 667, 26, "_resourceInfo#param"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = _resourceInfo$35param; + } get [_resourceInfo]() { - let t199; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + let t176; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); } - set [_resourceInfo](t199) { - if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); - this[___RandomAccessFile__resourceInfo_isSet] = true; - this[___RandomAccessFile__resourceInfo] = t199; + static ['_#new#tearOff'](pointer, path) { + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); + return new io._RandomAccessFile.new(pointer, path); } [_maybePerformCleanup]() { if (dart.test(this.closed)) { @@ -50470,8 +54286,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } [_maybeConnectHandler]() { if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); - developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); + developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); io._RandomAccessFile._connectedResourceHandler = true; } } @@ -50482,7 +54298,7 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } this.closed = dart.test(this.closed) || dart.equals(result, 0); this[_maybePerformCleanup](); - }, T$.dynamicToNull())); + }, T$0.ObjectNToNull())); } closeSync() { this[_checkAvailable](); @@ -50495,12 +54311,10 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } readByte() { return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); - } + io._checkForErrorResponse(response, "readByte failed", this.path); this[_resourceInfo].addRead(1); - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + return core.int.as(response); + }, T$0.ObjectNToint())); } readByteSync() { this[_checkAvailable](); @@ -50512,31 +54326,29 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } read(bytes) { - if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 736, 30, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); - } - this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); - let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + io._checkForErrorResponse(response, "read failed", this.path); + let result = typed_data.Uint8List.as(T$.ListOfObjectN().as(response)[$_get](1)); + this[_resourceInfo].addRead(result[$length]); return result; - }, T$0.dynamicToUint8List())); + }, T$0.ObjectNToUint8List())); } readSync(bytes) { - if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + if (bytes == null) dart.nullFailed(I[117], 747, 26, "bytes"); core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); this[_checkAvailable](); let result = this[_ops].read(bytes); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + if (!typed_data.Uint8List.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); } - this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); - return typed_data.Uint8List.as(result); + this[_resourceInfo].addRead(result[$length]); + return result; } readInto(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); - if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + if (buffer == null) dart.nullFailed(I[117], 759, 34, "buffer"); + if (start == null) dart.nullFailed(I[117], 759, 47, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); if (end == start) { @@ -50544,19 +54356,18 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } let length = dart.notNull(end) - dart.notNull(start); return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); - } - let read = core.int.as(dart.dsend(response, '_get', [1])); - let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + io._checkForErrorResponse(response, "readInto failed", this.path); + let responseList = T$.ListOfObjectN().as(response); + let read = core.int.as(responseList[$_get](1)); + let data = T$0.ListOfint().as(responseList[$_get](2)); buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); this[_resourceInfo].addRead(read); return read; - }, T$0.dynamicToint())); + }, T$0.ObjectNToint())); } readIntoSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); - if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + if (buffer == null) dart.nullFailed(I[117], 778, 30, "buffer"); + if (start == null) dart.nullFailed(I[117], 778, 43, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); this[_checkAvailable](); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50571,18 +54382,16 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } writeByte(value) { - if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + if (value == null) dart.nullFailed(I[117], 794, 42, "value"); core.ArgumentError.checkNotNull(core.int, value, "value"); return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); - } + io._checkForErrorResponse(response, "writeByte failed", this.path); this[_resourceInfo].addWrite(1); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeByteSync(value) { - if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + if (value == null) dart.nullFailed(I[117], 804, 25, "value"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, value, "value"); let result = this[_ops].writeByte(value); @@ -50593,8 +54402,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } writeFrom(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); - if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + if (buffer == null) dart.nullFailed(I[117], 816, 48, "buffer"); + if (start == null) dart.nullFailed(I[117], 817, 12, "start"); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); end = core.RangeError.checkValidRange(start, end, buffer[$length]); @@ -50617,16 +54426,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { request[$_set](2, result.start); request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); - } + io._checkForErrorResponse(response, "writeFrom failed", this.path); this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } writeFromSync(buffer, start = 0, end = null) { - if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); - if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + if (buffer == null) dart.nullFailed(I[117], 844, 32, "buffer"); + if (start == null) dart.nullFailed(I[117], 844, 45, "start"); this[_checkAvailable](); core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50642,28 +54449,26 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); } writeString(string, opts) { - if (string == null) dart.nullFailed(I[114], 875, 47, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + if (string == null) dart.nullFailed(I[117], 863, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 864, 17, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); return this.writeFrom(data, 0, data[$length]); } writeStringSync(string, opts) { - if (string == null) dart.nullFailed(I[114], 883, 31, "string"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + if (string == null) dart.nullFailed(I[117], 871, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[117], 871, 49, "encoding"); core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); let data = encoding.encode(string); this.writeFromSync(data, 0, data[$length]); } position() { return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "position failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } positionSync() { this[_checkAvailable](); @@ -50674,16 +54479,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { return core.int.as(result); } setPosition(position) { - if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + if (position == null) dart.nullFailed(I[117], 894, 44, "position"); return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); - } + io._checkForErrorResponse(response, "setPosition failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } setPositionSync(position) { - if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + if (position == null) dart.nullFailed(I[117], 902, 28, "position"); this[_checkAvailable](); let result = this[_ops].setPosition(position); if (io.OSError.is(result)) { @@ -50691,16 +54494,14 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } truncate(length) { - if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + if (length == null) dart.nullFailed(I[117], 910, 41, "length"); return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); - } + io._checkForErrorResponse(response, "truncate failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } truncateSync(length) { - if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + if (length == null) dart.nullFailed(I[117], 917, 25, "length"); this[_checkAvailable](); let result = this[_ops].truncate(length); if (io.OSError.is(result)) { @@ -50709,11 +54510,9 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } length() { return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); - } - return T$0.FutureOrOfint().as(response); - }, T$0.dynamicToFutureOrOfint())); + io._checkForErrorResponse(response, "length failed", this.path); + return core.int.as(response); + }, T$0.ObjectNToint())); } lengthSync() { this[_checkAvailable](); @@ -50725,11 +54524,9 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } flush() { return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); - } + io._checkForErrorResponse(response, "flush failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } flushSync() { this[_checkAvailable](); @@ -50739,13 +54536,13 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); return fl[_type]; } - lock(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 987, 48, "start"); - if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + lock(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 965, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 965, 48, "start"); + if (end == null) dart.nullFailed(I[117], 965, 63, "end"); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50754,31 +54551,27 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } let lock = this[_fileLockValue](mode); return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); - } + io._checkForErrorResponse(response, "lock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } unlock(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); - if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + if (start == null) dart.nullFailed(I[117], 981, 40, "start"); + if (end == null) dart.nullFailed(I[117], 981, 55, "end"); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); if (start == end) { dart.throw(new core.ArgumentError.new()); } return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { - dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); - } + io._checkForErrorResponse(response, "unlock failed", this.path); return this; - }, T$0.dynamicTo_RandomAccessFile())); + }, T$0.ObjectNTo_RandomAccessFile())); } - lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { - if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); - if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); - if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + lockSync(mode = C[122] || CT.C122, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[117], 996, 17, "mode"); + if (start == null) dart.nullFailed(I[117], 996, 48, "start"); + if (end == null) dart.nullFailed(I[117], 996, 63, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); core.ArgumentError.checkNotNull(core.int, start, "start"); @@ -50793,8 +54586,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } } unlockSync(start = 0, end = -1) { - if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); - if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + if (start == null) dart.nullFailed(I[117], 1012, 24, "start"); + if (end == null) dart.nullFailed(I[117], 1012, 39, "end"); this[_checkAvailable](); core.ArgumentError.checkNotNull(core.int, start, "start"); core.ArgumentError.checkNotNull(core.int, end, "end"); @@ -50806,20 +54599,23 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); } } + get fd() { + return this[_ops].fd; + } [_pointer]() { return this[_ops].getPointer(); } [_dispatch](request, data, opts) { - if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); - if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + if (request == null) dart.nullFailed(I[117], 1037, 33, "request"); + if (data == null) dart.nullFailed(I[117], 1037, 47, "data"); let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; - if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (markClosed == null) dart.nullFailed(I[117], 1037, 59, "markClosed"); if (dart.test(this.closed)) { - return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new("File closed", this.path)); } if (dart.test(this[_asyncDispatched])) { let msg = "An async operation is currently pending"; - return async.Future.error(new io.FileSystemException.new(msg, this.path)); + return T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); } if (dart.test(markClosed)) { this.closed = true; @@ -50840,8 +54636,8 @@ io._RandomAccessFile = class _RandomAccessFile extends core.Object { } }; (io._RandomAccessFile.new = function(pointer, path) { - if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); - if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + if (pointer == null) dart.nullFailed(I[117], 671, 25, "pointer"); + if (path == null) dart.nullFailed(I[117], 671, 39, "path"); this[_asyncDispatched] = false; this[___RandomAccessFile__resourceInfo] = null; this[___RandomAccessFile__resourceInfo_isSet] = false; @@ -50888,18 +54684,19 @@ dart.setMethodSignature(io._RandomAccessFile, () => ({ lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), [_pointer]: dart.fnType(core.int, []), - [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_dispatch]: dart.fnType(async.Future$(dart.nullable(core.Object)), [core.int, core.List], {markClosed: core.bool}, {}), [_checkAvailable]: dart.fnType(dart.void, []) })); dart.setGetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getGetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo + [_resourceInfo]: io._FileResourceInfo, + fd: core.int })); dart.setSetterSignature(io._RandomAccessFile, () => ({ __proto__: dart.getSetters(io._RandomAccessFile.__proto__), [_resourceInfo]: io._FileResourceInfo })); -dart.setLibraryUri(io._RandomAccessFile, I[105]); +dart.setLibraryUri(io._RandomAccessFile, I[108]); dart.setFieldSignature(io._RandomAccessFile, () => ({ __proto__: dart.getFields(io._RandomAccessFile.__proto__), path: dart.finalFieldType(core.String), @@ -50909,15 +54706,353 @@ dart.setFieldSignature(io._RandomAccessFile, () => ({ [_ops]: dart.fieldType(io._RandomAccessFileOps), closed: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(io._RandomAccessFile, () => ['_connectedResourceHandler', 'lockUnlock']); dart.defineLazy(io._RandomAccessFile, { /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { return false; }, - set _connectedResourceHandler(_) {}, + set _connectedResourceHandler(value) { + if (value == null) dart.nullFailed(I[117], 661, 15, "_connectedResourceHandler"); + }, /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { return 0; } }, false); +io._ReadPipe = class _ReadPipe extends io._FileStream { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + return new io._ReadPipe.new(file); + } +}; +(io._ReadPipe.new = function(file) { + if (file == null) dart.nullFailed(I[117], 1069, 30, "file"); + io._ReadPipe.__proto__.forRandomAccessFile.call(this, file); + ; +}).prototype = io._ReadPipe.prototype; +dart.addTypeTests(io._ReadPipe); +dart.addTypeCaches(io._ReadPipe); +io._ReadPipe[dart.implements] = () => [io.ReadPipe]; +dart.setLibraryUri(io._ReadPipe, I[108]); +var _encodingMutable = dart.privateName(io, "_encodingMutable"); +var _encoding$ = dart.privateName(io, "_encoding"); +var _doneCompleter = dart.privateName(io, "_doneCompleter"); +var _controllerInstance = dart.privateName(io, "_controllerInstance"); +var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); +var _isClosed$ = dart.privateName(io, "_isClosed"); +var _isBound = dart.privateName(io, "_isBound"); +var _hasError$ = dart.privateName(io, "_hasError"); +var _target$0 = dart.privateName(io, "_target"); +var _closeTarget = dart.privateName(io, "_closeTarget"); +var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); +var _completeDoneError = dart.privateName(io, "_completeDoneError"); +const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); +io._StreamSinkImpl$ = dart.generic(T => { + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + return new (io._StreamSinkImpl$(T)).new(_target); + } + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[118], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t177; + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[118], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t177 = this[_controllerInstance]; + t177 == null ? null : t177.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = __t$StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[118], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[108]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +io._StreamSinkImpl = io._StreamSinkImpl$(); +dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); +io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + static ['_#new#tearOff'](target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + return new io._IOSinkImpl.new(target, _encoding); + } + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[118], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[118], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[118], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[118], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } +}; +(io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[118], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[118], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = io._IOSinkImpl.prototype; +dart.addTypeTests(io._IOSinkImpl); +dart.addTypeCaches(io._IOSinkImpl); +io._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._IOSinkImpl, I[108]); +dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) +})); +io._WritePipe = class _WritePipe extends io._IOSinkImpl { + static ['_#new#tearOff'](file) { + return new io._WritePipe.new(file); + } +}; +(io._WritePipe.new = function(file) { + this[_file] = io.RandomAccessFile.as(file); + io._WritePipe.__proto__.new.call(this, new io._FileStreamConsumer.fromRandomAccessFile(io.RandomAccessFile.as(file)), convert.utf8); + ; +}).prototype = io._WritePipe.prototype; +dart.addTypeTests(io._WritePipe); +dart.addTypeCaches(io._WritePipe); +io._WritePipe[dart.implements] = () => [io.WritePipe]; +dart.setLibraryUri(io._WritePipe, I[108]); +dart.setFieldSignature(io._WritePipe, () => ({ + __proto__: dart.getFields(io._WritePipe.__proto__), + [_file]: dart.fieldType(io.RandomAccessFile) +})); +var _readPipe$ = dart.privateName(io, "_readPipe"); +var _writePipe$ = dart.privateName(io, "_writePipe"); +io._Pipe = class _Pipe extends core.Object { + get read() { + return this[_readPipe$]; + } + get write() { + return this[_writePipe$]; + } + static ['_#new#tearOff'](_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + return new io._Pipe.new(_readPipe, _writePipe); + } + static create() { + let completer = T$0.CompleterOf_Pipe().sync(); + io._File._dispatchWithNamespace(31, [null]).then(core.Null, dart.fn(response => { + let filePointers = core.List.as(response)[$cast](core.int); + completer.complete(new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(filePointers[$_get](0), "")), new io._WritePipe.new(new io._RandomAccessFile.new(filePointers[$_get](1), "")))); + }, T$0.ObjectNToNull())); + return completer.future; + } + static createSync() { + let filePointers = io._File._createPipe(io._Namespace._namespace); + return new io._Pipe.new(new io._ReadPipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](0)), "")), new io._WritePipe.new(new io._RandomAccessFile.new(core.int.as(filePointers[$_get](1)), ""))); + } + static ['_#createSync#tearOff']() { + return io._Pipe.createSync(); + } +}; +(io._Pipe.new = function(_readPipe, _writePipe) { + if (_readPipe == null) dart.nullFailed(I[117], 1086, 14, "_readPipe"); + if (_writePipe == null) dart.nullFailed(I[117], 1086, 30, "_writePipe"); + this[_readPipe$] = _readPipe; + this[_writePipe$] = _writePipe; + ; +}).prototype = io._Pipe.prototype; +dart.addTypeTests(io._Pipe); +dart.addTypeCaches(io._Pipe); +io._Pipe[dart.implements] = () => [io.Pipe]; +dart.setStaticMethodSignature(io._Pipe, () => ['create', 'createSync']); +dart.setGetterSignature(io._Pipe, () => ({ + __proto__: dart.getGetters(io._Pipe.__proto__), + read: io.ReadPipe, + write: io.WritePipe +})); +dart.setLibraryUri(io._Pipe, I[108]); +dart.setFieldSignature(io._Pipe, () => ({ + __proto__: dart.getFields(io._Pipe.__proto__), + [_readPipe$]: dart.finalFieldType(io.ReadPipe), + [_writePipe$]: dart.finalFieldType(io.WritePipe) +})); var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); io.FileSystemEntityType = class FileSystemEntityType extends core.Object { get [_type]() { @@ -50926,54 +55061,57 @@ io.FileSystemEntityType = class FileSystemEntityType extends core.Object { set [_type](value) { super[_type] = value; } + static ['_#_internal#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); + return new io.FileSystemEntityType._internal(_type); + } static _lookup(type) { - if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + if (type == null) dart.nullFailed(I[114], 39, 43, "type"); return io.FileSystemEntityType._typeList[$_get](type); } toString() { - return (C[121] || CT.C121)[$_get](this[_type]); + return (C[128] || CT.C128)[$_get](this[_type]); } }; (io.FileSystemEntityType._internal = function(_type) { - if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + if (_type == null) dart.nullFailed(I[114], 37, 45, "_type"); this[_type$2] = _type; ; }).prototype = io.FileSystemEntityType.prototype; dart.addTypeTests(io.FileSystemEntityType); dart.addTypeCaches(io.FileSystemEntityType); -dart.setLibraryUri(io.FileSystemEntityType, I[105]); +dart.setStaticMethodSignature(io.FileSystemEntityType, () => ['_lookup']); +dart.setLibraryUri(io.FileSystemEntityType, I[108]); dart.setFieldSignature(io.FileSystemEntityType, () => ({ __proto__: dart.getFields(io.FileSystemEntityType.__proto__), [_type]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileSystemEntityType, () => ['file', 'directory', 'link', 'unixDomainSock', 'pipe', 'notFound', 'NOT_FOUND', '_typeList']); dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); dart.defineLazy(io.FileSystemEntityType, { /*io.FileSystemEntityType.file*/get file() { - return C[122] || CT.C122; - }, - /*io.FileSystemEntityType.FILE*/get FILE() { - return C[122] || CT.C122; + return C[129] || CT.C129; }, /*io.FileSystemEntityType.directory*/get directory() { - return C[123] || CT.C123; - }, - /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { - return C[123] || CT.C123; + return C[130] || CT.C130; }, /*io.FileSystemEntityType.link*/get link() { - return C[124] || CT.C124; + return C[131] || CT.C131; }, - /*io.FileSystemEntityType.LINK*/get LINK() { - return C[124] || CT.C124; + /*io.FileSystemEntityType.unixDomainSock*/get unixDomainSock() { + return C[132] || CT.C132; + }, + /*io.FileSystemEntityType.pipe*/get pipe() { + return C[133] || CT.C133; }, /*io.FileSystemEntityType.notFound*/get notFound() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[125] || CT.C125; + return C[134] || CT.C134; }, /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[126] || CT.C126; + return C[135] || CT.C135; } }, false); var changed$ = dart.privateName(io, "FileStat.changed"); @@ -51019,13 +55157,22 @@ io.FileStat = class FileStat extends core.Object { set size(value) { super.size = value; } + static ['_#_internal#tearOff'](changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); + return new io.FileStat._internal(changed, modified, accessed, type, mode, size); + } static _statSync(namespace, path) { - if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); - if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + if (namespace == null) dart.nullFailed(I[110], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[110], 84, 49, "path"); dart.throw(new core.UnsupportedError.new("FileStat.stat")); } static statSync(path) { - if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + if (path == null) dart.nullFailed(I[114], 109, 35, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._statSyncInternal(path); @@ -51033,16 +55180,16 @@ io.FileStat = class FileStat extends core.Object { return overrides.statSync(path); } static _statSyncInternal(path) { - if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (path == null) dart.nullFailed(I[114], 117, 44, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } let data = io.FileStat._statSync(io._Namespace._namespace, path); - if (io.OSError.is(data)) return io.FileStat._notFound; - return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + if (!typed_data.Int64List.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](1)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](2)), new core.DateTime.fromMillisecondsSinceEpoch(data[$_get](3)), io.FileSystemEntityType._lookup(data[$_get](0)), data[$_get](4), data[$_get](5)); } static stat(path) { - if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + if (path == null) dart.nullFailed(I[114], 140, 39, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.FileStat._stat(path); @@ -51050,46 +55197,46 @@ io.FileStat = class FileStat extends core.Object { return overrides.stat(path); } static _stat(path) { - if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (path == null) dart.nullFailed(I[114], 148, 40, "path"); if (dart.test(io.Platform.isWindows)) { path = io.FileSystemEntity._trimTrailingPathSeparators(path); } return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { - if (dart.test(io._isErrorResponse(response))) { + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { return io.FileStat._notFound; } - let data = core.List.as(dart.dsend(response, '_get', [1])); + let data = T$.ListOfObjectN().as(core.List.as(response)[$_get](1)); return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); - }, T$0.dynamicToFileStat())); + }, T$0.ObjectNToFileStat())); } toString() { return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); } modeString() { - let t201; + let t177; let permissions = dart.notNull(this.mode) & 4095; - let codes = C[127] || CT.C127; + let codes = C[136] || CT.C136; let result = []; if ((permissions & 2048) !== 0) result[$add]("(suid) "); if ((permissions & 1024) !== 0) result[$add]("(guid) "); if ((permissions & 512) !== 0) result[$add]("(sticky) "); - t201 = result; + t177 = result; (() => { - t201[$add](codes[$_get](permissions >> 6 & 7)); - t201[$add](codes[$_get](permissions >> 3 & 7)); - t201[$add](codes[$_get](permissions & 7)); - return t201; + t177[$add](codes[$_get](permissions >> 6 & 7)); + t177[$add](codes[$_get](permissions >> 3 & 7)); + t177[$add](codes[$_get](permissions & 7)); + return t177; })(); return result[$join](); } }; (io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { - if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); - if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); - if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); - if (type == null) dart.nullFailed(I[111], 89, 71, "type"); - if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); - if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + if (changed == null) dart.nullFailed(I[114], 96, 27, "changed"); + if (modified == null) dart.nullFailed(I[114], 96, 41, "modified"); + if (accessed == null) dart.nullFailed(I[114], 96, 56, "accessed"); + if (type == null) dart.nullFailed(I[114], 96, 71, "type"); + if (mode == null) dart.nullFailed(I[114], 97, 12, "mode"); + if (size == null) dart.nullFailed(I[114], 97, 23, "size"); this[changed$] = changed; this[modified$] = modified; this[accessed$] = accessed; @@ -51104,7 +55251,8 @@ dart.setMethodSignature(io.FileStat, () => ({ __proto__: dart.getMethods(io.FileStat.__proto__), modeString: dart.fnType(core.String, []) })); -dart.setLibraryUri(io.FileStat, I[105]); +dart.setStaticMethodSignature(io.FileStat, () => ['_statSync', 'statSync', '_statSyncInternal', 'stat', '_stat']); +dart.setLibraryUri(io.FileStat, I[108]); dart.setFieldSignature(io.FileStat, () => ({ __proto__: dart.getFields(io.FileStat.__proto__), changed: dart.finalFieldType(core.DateTime), @@ -51114,6 +55262,7 @@ dart.setFieldSignature(io.FileStat, () => ({ mode: dart.finalFieldType(core.int), size: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.FileStat, () => ['_type', '_changedTime', '_modifiedTime', '_accessedTime', '_mode', '_size', '_epoch', '_notFound']); dart.defineExtensionMethods(io.FileStat, ['toString']); dart.defineLazy(io.FileStat, { /*io.FileStat._type*/get _type() { @@ -51163,11 +55312,17 @@ io.FileSystemEvent = class FileSystemEvent extends core.Object { set isDirectory(value) { super.isDirectory = value; } + static ['_#_#tearOff'](type, path, isDirectory) { + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); + return new io.FileSystemEvent.__(type, path, isDirectory); + } }; (io.FileSystemEvent.__ = function(type, path, isDirectory) { - if (type == null) dart.nullFailed(I[111], 905, 26, "type"); - if (path == null) dart.nullFailed(I[111], 905, 37, "path"); - if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + if (type == null) dart.nullFailed(I[114], 916, 26, "type"); + if (path == null) dart.nullFailed(I[114], 916, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[114], 916, 48, "isDirectory"); this[type$2] = type; this[path$0] = path; this[isDirectory$] = isDirectory; @@ -51175,44 +55330,30 @@ io.FileSystemEvent = class FileSystemEvent extends core.Object { }).prototype = io.FileSystemEvent.prototype; dart.addTypeTests(io.FileSystemEvent); dart.addTypeCaches(io.FileSystemEvent); -dart.setLibraryUri(io.FileSystemEvent, I[105]); +dart.setLibraryUri(io.FileSystemEvent, I[108]); dart.setFieldSignature(io.FileSystemEvent, () => ({ __proto__: dart.getFields(io.FileSystemEvent.__proto__), type: dart.finalFieldType(core.int), path: dart.finalFieldType(core.String), isDirectory: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(io.FileSystemEvent, () => ['create', 'modify', 'delete', 'move', 'all', '_modifyAttributes', '_deleteSelf', '_isDir']); dart.defineLazy(io.FileSystemEvent, { /*io.FileSystemEvent.create*/get create() { return 1; }, - /*io.FileSystemEvent.CREATE*/get CREATE() { - return 1; - }, /*io.FileSystemEvent.modify*/get modify() { return 2; }, - /*io.FileSystemEvent.MODIFY*/get MODIFY() { - return 2; - }, /*io.FileSystemEvent.delete*/get delete() { return 4; }, - /*io.FileSystemEvent.DELETE*/get DELETE() { - return 4; - }, /*io.FileSystemEvent.move*/get move() { return 8; }, - /*io.FileSystemEvent.MOVE*/get MOVE() { - return 8; - }, /*io.FileSystemEvent.all*/get all() { return 15; }, - /*io.FileSystemEvent.ALL*/get ALL() { - return 15; - }, /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { return 16; }, @@ -51224,6 +55365,9 @@ dart.defineLazy(io.FileSystemEvent, { } }, false); io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemCreateEvent.__(path, isDirectory); + } toString() { return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; } @@ -51234,7 +55378,7 @@ io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEven }).prototype = io.FileSystemCreateEvent.prototype; dart.addTypeTests(io.FileSystemCreateEvent); dart.addTypeCaches(io.FileSystemCreateEvent); -dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); +dart.setLibraryUri(io.FileSystemCreateEvent, I[108]); dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { @@ -51244,25 +55388,32 @@ io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEven set contentChanged(value) { super.contentChanged = value; } + static ['_#_#tearOff'](path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); + return new io.FileSystemModifyEvent.__(path, isDirectory, contentChanged); + } toString() { return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; } }; (io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { - if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + if (contentChanged == null) dart.nullFailed(I[114], 933, 51, "contentChanged"); this[contentChanged$] = contentChanged; io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); ; }).prototype = io.FileSystemModifyEvent.prototype; dart.addTypeTests(io.FileSystemModifyEvent); dart.addTypeCaches(io.FileSystemModifyEvent); -dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); +dart.setLibraryUri(io.FileSystemModifyEvent, I[108]); dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), contentChanged: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + static ['_#_#tearOff'](path, isDirectory) { + return new io.FileSystemDeleteEvent.__(path, isDirectory); + } toString() { return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; } @@ -51273,7 +55424,7 @@ io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEven }).prototype = io.FileSystemDeleteEvent.prototype; dart.addTypeTests(io.FileSystemDeleteEvent); dart.addTypeCaches(io.FileSystemDeleteEvent); -dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); +dart.setLibraryUri(io.FileSystemDeleteEvent, I[108]); dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { @@ -51283,6 +55434,9 @@ io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { set destination(value) { super.destination = value; } + static ['_#_#tearOff'](path, isDirectory, destination) { + return new io.FileSystemMoveEvent.__(path, isDirectory, destination); + } toString() { let buffer = new core.StringBuffer.new(); buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); @@ -51298,7 +55452,7 @@ io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { }).prototype = io.FileSystemMoveEvent.prototype; dart.addTypeTests(io.FileSystemMoveEvent); dart.addTypeCaches(io.FileSystemMoveEvent); -dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); +dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), destination: dart.finalFieldType(dart.nullable(core.String)) @@ -51306,9 +55460,9 @@ dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { static _watch(path, events, recursive) { - if (path == null) dart.nullFailed(I[107], 691, 14, "path"); - if (events == null) dart.nullFailed(I[107], 691, 24, "events"); - if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + if (path == null) dart.nullFailed(I[110], 753, 14, "path"); + if (events == null) dart.nullFailed(I[110], 753, 24, "events"); + if (recursive == null) dart.nullFailed(I[110], 753, 37, "recursive"); dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); } static get isSupported() { @@ -51320,7 +55474,9 @@ io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { }).prototype = io._FileSystemWatcher.prototype; dart.addTypeTests(io._FileSystemWatcher); dart.addTypeCaches(io._FileSystemWatcher); -dart.setLibraryUri(io._FileSystemWatcher, I[105]); +dart.setStaticMethodSignature(io._FileSystemWatcher, () => ['_watch']); +dart.setStaticGetterSignature(io._FileSystemWatcher, () => ['isSupported']); +dart.setLibraryUri(io._FileSystemWatcher, I[108]); io._IOResourceInfo = class _IOResourceInfo extends core.Object { static get timestamp() { return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); @@ -51329,40 +55485,45 @@ io._IOResourceInfo = class _IOResourceInfo extends core.Object { return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); } static getNextID() { - let t201; - t201 = io._IOResourceInfo._count; - io._IOResourceInfo._count = dart.notNull(t201) + 1; - return t201; + let t177; + t177 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t177) + 1; + return t177; } }; (io._IOResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + if (type == null) dart.nullFailed(I[119], 18, 24, "type"); this.type = type; this.id = io._IOResourceInfo.getNextID(); ; }).prototype = io._IOResourceInfo.prototype; dart.addTypeTests(io._IOResourceInfo); dart.addTypeCaches(io._IOResourceInfo); +dart.setStaticMethodSignature(io._IOResourceInfo, () => ['getNextID']); dart.setGetterSignature(io._IOResourceInfo, () => ({ __proto__: dart.getGetters(io._IOResourceInfo.__proto__), referenceValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._IOResourceInfo, I[105]); +dart.setStaticGetterSignature(io._IOResourceInfo, () => ['timestamp']); +dart.setLibraryUri(io._IOResourceInfo, I[108]); dart.setFieldSignature(io._IOResourceInfo, () => ({ __proto__: dart.getFields(io._IOResourceInfo.__proto__), type: dart.finalFieldType(core.String), id: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io._IOResourceInfo, () => ['_count', '_sw', '_startTime']); dart.defineLazy(io._IOResourceInfo, { /*io._IOResourceInfo._count*/get _count() { return 0; }, - set _count(_) {}, + set _count(value) { + if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); + }, /*io._IOResourceInfo._sw*/get _sw() { - let t201; - return t201 = new core.Stopwatch.new(), (() => { - t201.start(); - return t201; + let t177; + return t177 = new core.Stopwatch.new(), (() => { + t177.start(); + return t177; })(); }, /*io._IOResourceInfo._startTime*/get _startTime() { @@ -51371,7 +55532,7 @@ dart.defineLazy(io._IOResourceInfo, { }, false); io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { addRead(bytes) { - if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 47, 20, "bytes"); this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); this.readCount = dart.notNull(this.readCount) + 1; this.lastReadTime = io._IOResourceInfo.timestamp; @@ -51380,7 +55541,7 @@ io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceI this.addRead(0); } addWrite(bytes) { - if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + if (bytes == null) dart.nullFailed(I[119], 60, 21, "bytes"); this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); this.writeCount = dart.notNull(this.writeCount) + 1; this.lastWriteTime = io._IOResourceInfo.timestamp; @@ -51390,7 +55551,7 @@ io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceI } }; (io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + if (type == null) dart.nullFailed(I[119], 66, 33, "type"); this.readBytes = 0; this.writeBytes = 0; this.readCount = 0; @@ -51412,7 +55573,7 @@ dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), fullValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); +dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), readBytes: dart.fieldType(core.int), @@ -51423,24 +55584,30 @@ dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ lastWriteTime: dart.fieldType(core.int) })); io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static ['_#new#tearOff'](file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); + return new io._FileResourceInfo.new(file); + } static fileOpened(info) { - if (info == null) dart.nullFailed(I[115], 99, 39, "info"); - if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 100, 12, "!openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$_set](info.id, info); } static fileClosed(info) { - if (info == null) dart.nullFailed(I[115], 104, 39, "info"); - if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[119], 105, 12, "openFiles.containsKey(info.id)"); io._FileResourceInfo.openFiles[$remove](info.id); } static getOpenFilesList() { return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + if (e == null) dart.nullFailed(I[119], 111, 8, "e"); return e.referenceValueMap; }, T$0._FileResourceInfoToMapOfString$dynamic()))); } static getOpenFiles($function, params) { - if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + if ($function == null) dart.nullFailed(I[119], 116, 14, "function"); + if (params == null) dart.nullFailed(I[119], 116, 44, "params"); + if (!($function === "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[119], 117, 12, "function == 'ext.dart.io.getOpenFiles'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); @@ -51449,32 +55616,37 @@ io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo return this.fullValueMap; } static getOpenFileInfoMapByID($function, params) { - let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + if ($function == null) dart.nullFailed(I[119], 129, 14, "function"); + if (params == null) dart.nullFailed(I[119], 129, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } get name() { - return core.String.as(dart.dload(this.file, 'path')); + return this.file.path; } }; (io._FileResourceInfo.new = function(file) { + if (file == null) dart.nullFailed(I[119], 95, 26, "file"); this.file = file; io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); io._FileResourceInfo.fileOpened(this); }).prototype = io._FileResourceInfo.prototype; dart.addTypeTests(io._FileResourceInfo); dart.addTypeCaches(io._FileResourceInfo); +dart.setStaticMethodSignature(io._FileResourceInfo, () => ['fileOpened', 'fileClosed', 'getOpenFilesList', 'getOpenFiles', 'getOpenFileInfoMapByID']); dart.setGetterSignature(io._FileResourceInfo, () => ({ __proto__: dart.getGetters(io._FileResourceInfo.__proto__), fileInfoMap: core.Map$(core.String, dart.dynamic), name: core.String })); -dart.setLibraryUri(io._FileResourceInfo, I[105]); +dart.setLibraryUri(io._FileResourceInfo, I[108]); dart.setFieldSignature(io._FileResourceInfo, () => ({ __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(dart.dynamic) + file: dart.finalFieldType(io.RandomAccessFile) })); +dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); dart.defineLazy(io._FileResourceInfo, { /*io._FileResourceInfo._type*/get _type() { return "OpenFile"; @@ -51482,47 +55654,61 @@ dart.defineLazy(io._FileResourceInfo, { /*io._FileResourceInfo.openFiles*/get openFiles() { return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); }, - set openFiles(_) {} + set openFiles(value) { + if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); + } }, false); -var _arguments$2 = dart.privateName(io, "_arguments"); +io._Process = class _Process extends core.Object {}; +(io._Process.new = function() { + ; +}).prototype = io._Process.prototype; +dart.addTypeTests(io._Process); +dart.addTypeCaches(io._Process); +io._Process[dart.implements] = () => [io.Process]; +dart.setLibraryUri(io._Process, I[108]); +var _arguments$1 = dart.privateName(io, "_arguments"); var _workingDirectory = dart.privateName(io, "_workingDirectory"); io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + static ['_#new#tearOff'](process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); + return new io._SpawnedProcessResourceInfo.new(process); + } get name() { - return core.String.as(dart.dload(this.process, _path$0)); + return this.process[_path$0]; } stopped() { return io._SpawnedProcessResourceInfo.processStopped(this); } get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", this.process.pid, "startedAt", this.startedAt, "arguments", this.process[_arguments$1], "workingDirectory", this.process[_workingDirectory] == null ? "." : this.process[_workingDirectory]]); } static processStarted(info) { - if (info == null) dart.nullFailed(I[115], 167, 53, "info"); - if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 174, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 175, 12, "!startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); } static processStopped(info) { - if (info == null) dart.nullFailed(I[115], 172, 53, "info"); - if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + if (info == null) dart.nullFailed(I[119], 179, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[119], 180, 12, "startedProcesses.containsKey(info.id)"); io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); } static getStartedProcessesList() { return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + if (e == null) dart.nullFailed(I[119], 186, 10, "e"); return e.referenceValueMap; }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); } static getStartedProcesses($function, params) { - if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); - if (params == null) dart.nullFailed(I[115], 183, 44, "params"); - if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + if ($function == null) dart.nullFailed(I[119], 190, 14, "function"); + if (params == null) dart.nullFailed(I[119], 190, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[119], 191, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); let jsonValue = convert.json.encode(data); return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); } static getProcessInfoMapById($function, params) { - if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); - if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + if ($function == null) dart.nullFailed(I[119], 201, 14, "function"); + if (params == null) dart.nullFailed(I[119], 201, 44, "params"); let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); let jsonValue = convert.json.encode(result); @@ -51530,6 +55716,7 @@ io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._I } }; (io._SpawnedProcessResourceInfo.new = function(process) { + if (process == null) dart.nullFailed(I[119], 153, 36, "process"); this.process = process; this.startedAt = io._IOResourceInfo.timestamp; io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); @@ -51541,17 +55728,19 @@ dart.setMethodSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), stopped: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(io._SpawnedProcessResourceInfo, () => ['processStarted', 'processStopped', 'getStartedProcessesList', 'getStartedProcesses', 'getProcessInfoMapById']); dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), name: core.String, fullValueMap: core.Map$(core.String, dart.dynamic) })); -dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); +dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[108]); dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - process: dart.finalFieldType(dart.dynamic), + process: dart.finalFieldType(io._Process), startedAt: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io._SpawnedProcessResourceInfo, () => ['_type', 'startedProcesses']); dart.defineLazy(io._SpawnedProcessResourceInfo, { /*io._SpawnedProcessResourceInfo._type*/get _type() { return "SpawnedProcess"; @@ -51559,25 +55748,33 @@ dart.defineLazy(io._SpawnedProcessResourceInfo, { /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); }, - set startedProcesses(_) {} + set startedProcesses(value) { + if (value == null) dart.nullFailed(I[119], 150, 48, "startedProcesses"); + } }, false); var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); io.IOSink = class IOSink extends core.Object { static new(target, opts) { - if (target == null) dart.nullFailed(I[116], 23, 44, "target"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); return new io._IOSinkImpl.new(target, encoding); } + static ['_#new#tearOff'](target, opts) { + if (target == null) dart.nullFailed(I[118], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[118], 24, 21, "encoding"); + return io.IOSink.new(target, {encoding: encoding}); + } get encoding() { - let t201; - return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + let t177; + return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); } - set encoding(t201) { - if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + set encoding(encoding$35param) { + if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = t201; + this[__IOSink_encoding] = encoding$35param; } }; (io.IOSink[dart.mixinNew] = function() { @@ -51587,6 +55784,7 @@ io.IOSink = class IOSink extends core.Object { dart.addTypeTests(io.IOSink); dart.addTypeCaches(io.IOSink); io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; +dart.setStaticMethodSignature(io.IOSink, () => ['new']); dart.setGetterSignature(io.IOSink, () => ({ __proto__: dart.getGetters(io.IOSink.__proto__), encoding: convert.Encoding @@ -51595,266 +55793,30 @@ dart.setSetterSignature(io.IOSink, () => ({ __proto__: dart.getSetters(io.IOSink.__proto__), encoding: convert.Encoding })); -dart.setLibraryUri(io.IOSink, I[105]); +dart.setLibraryUri(io.IOSink, I[108]); dart.setFieldSignature(io.IOSink, () => ({ __proto__: dart.getFields(io.IOSink.__proto__), [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), [__IOSink_encoding_isSet]: dart.fieldType(core.bool) })); -var _doneCompleter = dart.privateName(io, "_doneCompleter"); -var _controllerInstance = dart.privateName(io, "_controllerInstance"); -var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); -var _isClosed$ = dart.privateName(io, "_isClosed"); -var _isBound = dart.privateName(io, "_isBound"); -var _hasError$ = dart.privateName(io, "_hasError"); -var _target$0 = dart.privateName(io, "_target"); -var _closeTarget = dart.privateName(io, "_closeTarget"); -var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); -var _completeDoneError = dart.privateName(io, "_completeDoneError"); -const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); -io._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); - class _StreamSinkImpl extends core.Object { - add(data) { - T.as(data); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[116], 139, 17, "error"); - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller].addError(error, stackTrace); - } - addStream(stream) { - let t202; - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); - } - if (dart.test(this[_hasError$])) return this.done; - this[_isBound] = true; - let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); - t202 = this[_controllerInstance]; - t202 == null ? null : t202.close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - flush() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (this[_controllerInstance] == null) return async.Future.value(this); - this[_isBound] = true; - let future = dart.nullCheck(this[_controllerCompleter]).future; - dart.nullCheck(this[_controllerInstance]).close(); - return future.whenComplete(dart.fn(() => { - this[_isBound] = false; - }, T$.VoidToNull())); - } - close() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (!dart.test(this[_isClosed$])) { - this[_isClosed$] = true; - if (this[_controllerInstance] != null) { - dart.nullCheck(this[_controllerInstance]).close(); - } else { - this[_closeTarget](); - } - } - return this.done; - } - [_closeTarget]() { - this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); - } - get done() { - return this[_doneCompleter].future; - } - [_completeDoneValue](value) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_doneCompleter].complete(value); - } - } - [_completeDoneError](error, stackTrace) { - if (!dart.test(this[_doneCompleter].isCompleted)) { - this[_hasError$] = true; - this[_doneCompleter].completeError(core.Object.as(error), stackTrace); - } - } - get [_controller]() { - if (dart.test(this[_isBound])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - if (this[_controllerInstance] == null) { - this[_controllerInstance] = StreamControllerOfT().new({sync: true}); - this[_controllerCompleter] = async.Completer.new(); - this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).complete(this); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_closeTarget](); - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (dart.test(this[_isBound])) { - dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controllerCompleter] = null; - this[_controllerInstance] = null; - } else { - this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull())}); - } - return dart.nullCheck(this[_controllerInstance]); - } - } - (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); - this[_doneCompleter] = async.Completer.new(); - this[_controllerInstance] = null; - this[_controllerCompleter] = null; - this[_isClosed$] = false; - this[_isBound] = false; - this[_hasError$] = false; - this[_target$0] = _target; - ; - }).prototype = _StreamSinkImpl.prototype; - dart.addTypeTests(_StreamSinkImpl); - _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; - dart.addTypeCaches(_StreamSinkImpl); - _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getMethods(_StreamSinkImpl.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - [_closeTarget]: dart.fnType(dart.void, []), - [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), - [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[105]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter]: dart.finalFieldType(async.Completer), - [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$]: dart.fieldType(core.bool), - [_isBound]: dart.fieldType(core.bool), - [_hasError$]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; -}); -io._StreamSinkImpl = io._StreamSinkImpl$(); -dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); -var _encodingMutable = dart.privateName(io, "_encodingMutable"); -var _encoding$ = dart.privateName(io, "_encoding"); -io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { - get encoding() { - return this[_encoding$]; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[116], 259, 30, "value"); - if (!dart.test(this[_encodingMutable])) { - dart.throw(new core.StateError.new("IOSink encoding is not mutable")); - } - this[_encoding$] = value; - } - write(obj) { - let string = dart.str(obj); - if (string[$isEmpty]) return; - this.add(this[_encoding$].encode(string)); - } - writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); - if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); - let iterator = objects[$iterator]; - if (!dart.test(iterator.moveNext())) return; - if (separator[$isEmpty]) { - do { - this.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - this.write(iterator.current); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this.write(iterator.current); - } - } - } - writeln(object = "") { - this.write(object); - this.write("\n"); - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } -}; -(io._IOSinkImpl.new = function(target, _encoding) { - if (target == null) dart.nullFailed(I[116], 255, 41, "target"); - if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); - this[_encodingMutable] = true; - this[_encoding$] = _encoding; - io._IOSinkImpl.__proto__.new.call(this, target); - ; -}).prototype = io._IOSinkImpl.prototype; -dart.addTypeTests(io._IOSinkImpl); -dart.addTypeCaches(io._IOSinkImpl); -io._IOSinkImpl[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getMethods(io._IOSinkImpl.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]) -})); -dart.setGetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getGetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding -})); -dart.setSetterSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getSetters(io._IOSinkImpl.__proto__), - encoding: convert.Encoding -})); -dart.setLibraryUri(io._IOSinkImpl, I[105]); -dart.setFieldSignature(io._IOSinkImpl, () => ({ - __proto__: dart.getFields(io._IOSinkImpl.__proto__), - [_encoding$]: dart.fieldType(convert.Encoding), - [_encodingMutable]: dart.fieldType(core.bool) -})); io._IOService = class _IOService extends core.Object { static _dispatch(request, data) { - if (request == null) dart.nullFailed(I[107], 704, 31, "request"); - if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + if (request == null) dart.nullFailed(I[110], 766, 40, "request"); + if (data == null) dart.nullFailed(I[110], 766, 54, "data"); dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); } + static ['_#new#tearOff']() { + return new io._IOService.new(); + } }; (io._IOService.new = function() { ; }).prototype = io._IOService.prototype; dart.addTypeTests(io._IOService); dart.addTypeCaches(io._IOService); -dart.setLibraryUri(io._IOService, I[105]); +dart.setStaticMethodSignature(io._IOService, () => ['_dispatch']); +dart.setLibraryUri(io._IOService, I[108]); +dart.setStaticFieldSignature(io._IOService, () => ['fileExists', 'fileCreate', 'fileDelete', 'fileRename', 'fileCopy', 'fileOpen', 'fileResolveSymbolicLinks', 'fileClose', 'filePosition', 'fileSetPosition', 'fileTruncate', 'fileLength', 'fileLengthFromPath', 'fileLastAccessed', 'fileSetLastAccessed', 'fileLastModified', 'fileSetLastModified', 'fileFlush', 'fileReadByte', 'fileWriteByte', 'fileRead', 'fileReadInto', 'fileWriteFrom', 'fileCreateLink', 'fileDeleteLink', 'fileRenameLink', 'fileLinkTarget', 'fileType', 'fileIdentical', 'fileStat', 'fileLock', 'fileCreatePipe', 'socketLookup', 'socketListInterfaces', 'socketReverseLookup', 'directoryCreate', 'directoryDelete', 'directoryExists', 'directoryCreateTemp', 'directoryListStart', 'directoryListNext', 'directoryListStop', 'directoryRename', 'sslProcessFilter']); dart.defineLazy(io._IOService, { /*io._IOService.fileExists*/get fileExists() { return 0; @@ -51949,70 +55911,85 @@ dart.defineLazy(io._IOService, { /*io._IOService.fileLock*/get fileLock() { return 30; }, - /*io._IOService.socketLookup*/get socketLookup() { + /*io._IOService.fileCreatePipe*/get fileCreatePipe() { return 31; }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + /*io._IOService.socketLookup*/get socketLookup() { return 32; }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { return 33; }, - /*io._IOService.directoryCreate*/get directoryCreate() { + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { return 34; }, - /*io._IOService.directoryDelete*/get directoryDelete() { + /*io._IOService.directoryCreate*/get directoryCreate() { return 35; }, - /*io._IOService.directoryExists*/get directoryExists() { + /*io._IOService.directoryDelete*/get directoryDelete() { return 36; }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + /*io._IOService.directoryExists*/get directoryExists() { return 37; }, - /*io._IOService.directoryListStart*/get directoryListStart() { + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { return 38; }, - /*io._IOService.directoryListNext*/get directoryListNext() { + /*io._IOService.directoryListStart*/get directoryListStart() { return 39; }, - /*io._IOService.directoryListStop*/get directoryListStop() { + /*io._IOService.directoryListNext*/get directoryListNext() { return 40; }, - /*io._IOService.directoryRename*/get directoryRename() { + /*io._IOService.directoryListStop*/get directoryListStop() { return 41; }, - /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + /*io._IOService.directoryRename*/get directoryRename() { return 42; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 43; } }, false); io.Link = class Link extends core.Object { static new(path) { - if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); let overrides = io.IOOverrides.current; if (overrides == null) { return new io._Link.new(path); } return overrides.createLink(path); } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 12, 23, "path"); + return io.Link.new(path); + } static fromRawPath(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); return new io._Link.fromRawPath(rawPath); } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 21, 38, "rawPath"); + return io.Link.fromRawPath(rawPath); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); return io.Link.new(uri.toFilePath()); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[120], 33, 28, "uri"); + return io.Link.fromUri(uri); + } }; (io.Link[dart.mixinNew] = function() { }).prototype = io.Link.prototype; dart.addTypeTests(io.Link); dart.addTypeCaches(io.Link); io.Link[dart.implements] = () => [io.FileSystemEntity]; -dart.setLibraryUri(io.Link, I[105]); +dart.setStaticMethodSignature(io.Link, () => ['new', 'fromRawPath', 'fromUri']); +dart.setLibraryUri(io.Link, I[108]); var _path$2 = dart.privateName(io, "_Link._path"); var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); -var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); io._Link = class _Link extends io.FileSystemEntity { get [_path$0]() { return this[_path$2]; @@ -52026,6 +56003,14 @@ io._Link = class _Link extends io.FileSystemEntity { set [_rawPath$](value) { super[_rawPath$] = value; } + static ['_#new#tearOff'](path) { + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); + return new io._Link.new(path); + } + static ['_#fromRawPath#tearOff'](rawPath) { + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } get path() { return this[_path$0]; } @@ -52042,21 +56027,19 @@ io._Link = class _Link extends io.FileSystemEntity { return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); } create(target, opts) { - if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + if (target == null) dart.nullFailed(I[120], 164, 30, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 164, 44, "recursive"); let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); - } + return result.then(T$.ObjectN(), dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFutureOfObjectN())).then(io.Link, dart.fn(response => { + io._checkForErrorResponse(response, "Cannot create link to target '" + dart.str(target) + "'", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } createSync(target, opts) { - if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + if (target == null) dart.nullFailed(I[120], 177, 26, "target"); let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 177, 40, "recursive"); if (dart.test(recursive)) { this.parent.createSync({recursive: true}); } @@ -52064,36 +56047,34 @@ io._Link = class _Link extends io.FileSystemEntity { io._Link.throwIfError(result, "Cannot create link", this.path); } updateSync(target) { - if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + if (target == null) dart.nullFailed(I[120], 185, 26, "target"); this.deleteSync(); this.createSync(target); } update(target) { - if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + if (target == null) dart.nullFailed(I[120], 194, 30, "target"); return this.delete().then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + if (_ == null) dart.nullFailed(I[120], 199, 33, "_"); return this.create(target); }, T$0.FileSystemEntityToFutureOfLink())); } [_delete](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 202, 30, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + if (_ == null) dart.nullFailed(I[120], 206, 18, "_"); return this; }, T$0.FileSystemEntityTo_Link())); } return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); - } + io._checkForErrorResponse(response, "Cannot delete link", this.path); return this; - }, T$0.dynamicTo_Link())); + }, T$0.ObjectNTo_Link())); } [_deleteSync](opts) { let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); if (dart.test(recursive)) { return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); } @@ -52101,27 +56082,23 @@ io._Link = class _Link extends io.FileSystemEntity { io._Link.throwIfError(result, "Cannot delete link", this.path); } rename(newPath) { - if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 223, 30, "newPath"); return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); - } + io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); return io.Link.new(newPath); - }, T$0.dynamicToLink())); + }, T$0.ObjectNToLink())); } renameSync(newPath) { - if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + if (newPath == null) dart.nullFailed(I[120], 232, 26, "newPath"); let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); return io.Link.new(newPath); } target() { return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - if (dart.test(this[_isErrorResponse](response))) { - dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); - } - return T$0.FutureOrOfString().as(response); - }, T$0.dynamicToFutureOrOfString())); + io._checkForErrorResponse(response, "Cannot get target of link", this.path); + return core.String.as(response); + }, T$0.ObjectNToString())); } targetSync() { let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); @@ -52129,44 +56106,21 @@ io._Link = class _Link extends io.FileSystemEntity { return core.String.as(result); } static throwIfError(result, msg, path = "") { - if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); - if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (msg == null) dart.nullFailed(I[120], 252, 46, "msg"); + if (path == null) dart.nullFailed(I[120], 252, 59, "path"); if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new(msg, path, result)); - } - } - [_isErrorResponse](response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); - } - [_exceptionFromResponse](response, message, path) { - if (message == null) dart.nullFailed(I[117], 271, 43, "message"); - if (path == null) dart.nullFailed(I[117], 271, 59, "path"); - if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - default: - { - return core.Exception.new("Unknown error"); - } + dart.throw(io.FileSystemException._fromOSError(result, msg, path)); } } }; (io._Link.new = function(path) { - if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + if (path == null) dart.nullFailed(I[120], 146, 16, "path"); this[_path$2] = path; this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); ; }).prototype = io._Link.prototype; (io._Link.fromRawPath = function(rawPath) { - if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + if (rawPath == null) dart.nullFailed(I[120], 150, 31, "rawPath"); this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); ; @@ -52187,16 +56141,15 @@ dart.setMethodSignature(io._Link, () => ({ rename: dart.fnType(async.Future$(io.Link), [core.String]), renameSync: dart.fnType(io.Link, [core.String]), target: dart.fnType(async.Future$(core.String), []), - targetSync: dart.fnType(core.String, []), - [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), - [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) + targetSync: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(io._Link, () => ['throwIfError']); dart.setGetterSignature(io._Link, () => ({ __proto__: dart.getGetters(io._Link.__proto__), path: core.String, absolute: io.Link })); -dart.setLibraryUri(io._Link, I[105]); +dart.setLibraryUri(io._Link, I[108]); dart.setFieldSignature(io._Link, () => ({ __proto__: dart.getFields(io._Link.__proto__), [_path$0]: dart.finalFieldType(core.String), @@ -52219,162 +56172,102 @@ io._Namespace = class _Namespace extends core.Object { }).prototype = io._Namespace.prototype; dart.addTypeTests(io._Namespace); dart.addTypeCaches(io._Namespace); -dart.setLibraryUri(io._Namespace, I[105]); -io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { - matchScore(host) { - if (host == null) dart.nullFailed(I[118], 100, 25, "host"); - let domainLength = this.domain.length; - let hostLength = host.length; - let lengthDelta = hostLength - domainLength; - if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { - return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); - } - return -1; - } - checkConflict(existingPolicies) { - if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); - for (let existingPolicy of existingPolicies) { - if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { - if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { - return false; - } - dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); - } - } - return true; - } - toString() { - let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; - let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; - return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; - } -}; -(io._DomainNetworkPolicy.new = function(domain, opts) { - if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); - let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; - if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); - let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; - if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); - this.domain = domain; - this.includesSubDomains = includesSubDomains; - this.allowInsecureConnections = allowInsecureConnections; - if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { - dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); - } -}).prototype = io._DomainNetworkPolicy.prototype; -dart.addTypeTests(io._DomainNetworkPolicy); -dart.addTypeCaches(io._DomainNetworkPolicy); -dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), - matchScore: dart.fnType(core.int, [core.String]), - checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) -})); -dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); -dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ - __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), - domain: dart.finalFieldType(core.String), - allowInsecureConnections: dart.finalFieldType(core.bool), - includesSubDomains: dart.finalFieldType(core.bool) -})); -dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); -dart.defineLazy(io._DomainNetworkPolicy, { - /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { - return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); - } -}, false); +dart.setStaticMethodSignature(io._Namespace, () => ['_setupNamespace']); +dart.setStaticGetterSignature(io._Namespace, () => ['_namespace', '_namespacePointer']); +dart.setLibraryUri(io._Namespace, I[108]); io._NetworkProfiling = class _NetworkProfiling extends core.Object { static _registerServiceExtension() { - developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); - developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); - developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); - developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getSocketProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getVersion", C[137] || CT.C137); + developer.registerExtension("ext.dart.io.getHttpProfile", C[137] || CT.C137); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[137] || CT.C137); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[137] || CT.C137); } static _serviceExtensionHandler(method, parameters) { - if (method == null) dart.nullFailed(I[119], 60, 14, "method"); - if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + if (method == null) dart.nullFailed(I[121], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[121], 60, 42, "parameters"); try { let responseJson = null; switch (method) { case "ext.dart.io.getHttpEnableTimelineLogging": - { - responseJson = io._getHttpEnableTimelineLogging(); - break; - } + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } case "ext.dart.io.setHttpEnableTimelineLogging": - { - responseJson = io._setHttpEnableTimelineLogging(parameters); - break; - } + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } case "ext.dart.io.httpEnableTimelineLogging": - { - if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { - if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[121], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); } - io._setHttpEnableTimelineLogging(parameters); + responseJson = io._getHttpEnableTimelineLogging(); + break; } - responseJson = io._getHttpEnableTimelineLogging(); - break; - } case "ext.dart.io.getHttpProfile": - { - responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); - break; - } + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } + { + responseJson = io._SocketProfile.toJson(); + break; + } case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } + { + responseJson = io._SocketProfile.start(); + break; + } case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } + { + responseJson = io._SocketProfile.pause(); + break; + } case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } + { + responseJson = io._SocketProfile.clear(); + break; + } case "ext.dart.io.getVersion": - { - responseJson = io._NetworkProfiling.getVersion(); - break; - } + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } default: - { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); - } + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } } return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); } catch (e) { @@ -52394,7 +56287,9 @@ io._NetworkProfiling = class _NetworkProfiling extends core.Object { }).prototype = io._NetworkProfiling.prototype; dart.addTypeTests(io._NetworkProfiling); dart.addTypeCaches(io._NetworkProfiling); -dart.setLibraryUri(io._NetworkProfiling, I[105]); +dart.setStaticMethodSignature(io._NetworkProfiling, () => ['_registerServiceExtension', '_serviceExtensionHandler', 'getVersion']); +dart.setLibraryUri(io._NetworkProfiling, I[108]); +dart.setStaticFieldSignature(io._NetworkProfiling, () => ['_kGetHttpEnableTimelineLogging', '_kSetHttpEnableTimelineLogging', '_kHttpEnableTimelineLogging', '_kGetHttpProfileRPC', '_kGetHttpProfileRequestRPC', '_kClearHttpProfileRPC', '_kClearSocketProfileRPC', '_kGetSocketProfileRPC', '_kSocketProfilingEnabledRPC', '_kPauseSocketProfilingRPC', '_kStartSocketProfilingRPC', '_kGetVersionRPC']); dart.defineLazy(io._NetworkProfiling, { /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { return "ext.dart.io.getHttpEnableTimelineLogging"; @@ -52433,10 +56328,11 @@ dart.defineLazy(io._NetworkProfiling, { return "ext.dart.io.getVersion"; } }, false); -var _name$4 = dart.privateName(io, "_name"); +var _Enum__name = dart.privateName(core, "_Enum._name"); +var _Enum_index = dart.privateName(core, "_Enum.index"); io._SocketProfile = class _SocketProfile extends core.Object { static set enableSocketProfiling(enabled) { - if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled == null) dart.nullFailed(I[121], 205, 41, "enabled"); if (enabled != io._SocketProfile._enableSocketProfiling) { developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); io._SocketProfile._enableSocketProfiling = enabled; @@ -52447,78 +56343,78 @@ io._SocketProfile = class _SocketProfile extends core.Object { } static toJson() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { - if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + if (f == null) dart.nullFailed(I[121], 222, 53, "f"); return f.toMap(); }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); } static collectNewSocket(id, type, addr, port) { - if (id == null) dart.nullFailed(I[119], 226, 11, "id"); - if (type == null) dart.nullFailed(I[119], 226, 22, "type"); - if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); - if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + if (id == null) dart.nullFailed(I[121], 226, 11, "id"); + if (type == null) dart.nullFailed(I[121], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[121], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[121], 226, 54, "port"); io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); } static collectStatistic(id, type, object = null) { - let t206, t205, t204, t203, t203$, t203$0; - if (id == null) dart.nullFailed(I[119], 233, 36, "id"); - if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + let t181, t180, t179, t178, t178$, t178$0; + if (id == null) dart.nullFailed(I[121], 233, 36, "id"); + if (type == null) dart.nullFailed(I[121], 233, 59, "type"); if (!dart.test(io._SocketProfile._enableSocketProfiling)) { return; } if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; - let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + let stats = (t178 = io._SocketProfile._idToSocketStatistic, t179 = id, t180 = t178[$_get](t179), t180 == null ? (t181 = new io._SocketStatistic.new(id), t178[$_set](t179, t181), t181) : t180); switch (type) { - case C[129] || CT.C129: - { - stats.startTime = developer.Timeline.now; - break; - } - case C[130] || CT.C130: - { - stats.endTime = developer.Timeline.now; - break; - } - case C[131] || CT.C131: - { - if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); - stats.address = dart.toString(io.InternetAddress.as(object)); - break; - } - case C[132] || CT.C132: - { - if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); - stats.port = T$.intN().as(object); - break; - } - case C[133] || CT.C133: - { - if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); - stats.socketType = T$.StringN().as(object); - break; - } - case C[134] || CT.C134: - { - if (object == null) return; - t203$ = stats; - t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); - stats.lastReadTime = developer.Timeline.now; - break; - } - case C[135] || CT.C135: - { - if (object == null) return; - t203$0 = stats; - t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); - stats.lastWriteTime = developer.Timeline.now; - break; - } + case C[138] || CT.C138: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[139] || CT.C139: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[140] || CT.C140: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[121], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[141] || CT.C141: + { + if (!core.int.is(object)) dart.assertFailed(null, I[121], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[142] || CT.C142: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[121], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[143] || CT.C143: + { + if (object == null) return; + t178$ = stats; + t178$.readBytes = dart.notNull(t178$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[144] || CT.C144: + { + if (object == null) return; + t178$0 = stats; + t178$0.writeBytes = dart.notNull(t178$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } default: - { - dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); - } + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } } } static start() { @@ -52539,7 +56435,11 @@ io._SocketProfile = class _SocketProfile extends core.Object { }).prototype = io._SocketProfile.prototype; dart.addTypeTests(io._SocketProfile); dart.addTypeCaches(io._SocketProfile); -dart.setLibraryUri(io._SocketProfile, I[105]); +dart.setStaticMethodSignature(io._SocketProfile, () => ['toJson', 'collectNewSocket', 'collectStatistic', 'start', 'pause', 'clear']); +dart.setStaticGetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); +dart.setStaticSetterSignature(io._SocketProfile, () => ['enableSocketProfiling']); +dart.setLibraryUri(io._SocketProfile, I[108]); +dart.setStaticFieldSignature(io._SocketProfile, () => ['_kType', '_enableSocketProfiling', '_idToSocketStatistic']); dart.defineLazy(io._SocketProfile, { /*io._SocketProfile._kType*/get _kType() { return "SocketProfile"; @@ -52547,43 +56447,105 @@ dart.defineLazy(io._SocketProfile, { /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { return false; }, - set _enableSocketProfiling(_) {}, + set _enableSocketProfiling(value) { + if (value == null) dart.nullFailed(I[121], 217, 15, "_enableSocketProfiling"); + }, /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); }, - set _idToSocketStatistic(_) {} + set _idToSocketStatistic(value) { + if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); + } }, false); -io._SocketProfileType = class _SocketProfileType extends core.Object { +var _name$4 = dart.privateName(core, "_name"); +var _enumToString = dart.privateName(core, "_enumToString"); +const index$0 = _Enum_index; +const _name$5 = _Enum__name; +core._Enum = class _Enum extends core.Object { + get index() { + return this[index$0]; + } + set index(value) { + super.index = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } toString() { - return this[_name$4]; + return this[_enumToString](); } }; -(io._SocketProfileType.new = function(index, _name) { - if (index == null) dart.nullFailed(I[119], 295, 6, "index"); - if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); - this.index = index; - this[_name$4] = _name; +(core._Enum.new = function(index, _name) { + if (index == null) dart.nullFailed(I[122], 103, 20, "index"); + if (_name == null) dart.nullFailed(I[122], 103, 32, "_name"); + this[index$0] = index; + this[_name$5] = _name; ; -}).prototype = io._SocketProfileType.prototype; -dart.addTypeTests(io._SocketProfileType); -dart.addTypeCaches(io._SocketProfileType); -dart.setLibraryUri(io._SocketProfileType, I[105]); -dart.setFieldSignature(io._SocketProfileType, () => ({ - __proto__: dart.getFields(io._SocketProfileType.__proto__), +}).prototype = core._Enum.prototype; +dart.addTypeTests(core._Enum); +dart.addTypeCaches(core._Enum); +core._Enum[dart.implements] = () => [core.Enum]; +dart.setLibraryUri(core._Enum, I[9]); +dart.setFieldSignature(core._Enum, () => ({ + __proto__: dart.getFields(core._Enum.__proto__), index: dart.finalFieldType(core.int), [_name$4]: dart.finalFieldType(core.String) })); -dart.defineExtensionMethods(io._SocketProfileType, ['toString']); -io._SocketProfileType.startTime = C[129] || CT.C129; -io._SocketProfileType.endTime = C[130] || CT.C130; -io._SocketProfileType.address = C[131] || CT.C131; -io._SocketProfileType.port = C[132] || CT.C132; -io._SocketProfileType.socketType = C[133] || CT.C133; -io._SocketProfileType.readBytes = C[134] || CT.C134; -io._SocketProfileType.writeBytes = C[135] || CT.C135; -io._SocketProfileType.values = C[136] || CT.C136; +dart.defineExtensionMethods(core._Enum, ['toString']); +io._SocketProfileType = class _SocketProfileType extends core._Enum { + [_enumToString]() { + return "_SocketProfileType." + dart.str(this[_name$4]); + } +}; +(io._SocketProfileType.new = function(index, name) { + if (index == null) dart.nullFailed(I[121], 295, 6, "#index"); + if (name == null) dart.nullFailed(I[121], 295, 6, "#name"); + io._SocketProfileType.__proto__.new.call(this, index, name); + ; +}).prototype = io._SocketProfileType.prototype; +dart.addTypeTests(io._SocketProfileType); +dart.addTypeCaches(io._SocketProfileType); +dart.setMethodSignature(io._SocketProfileType, () => ({ + __proto__: dart.getMethods(io._SocketProfileType.__proto__), + [_enumToString]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io._SocketProfileType, I[108]); +dart.setStaticFieldSignature(io._SocketProfileType, () => ['values', 'startTime', 'endTime', 'address', 'port', 'socketType', 'readBytes', 'writeBytes']); +dart.defineLazy(io._SocketProfileType, { + /*io._SocketProfileType.values*/get values() { + return C[145] || CT.C145; + }, + /*io._SocketProfileType.startTime*/get startTime() { + return C[138] || CT.C138; + }, + /*io._SocketProfileType.endTime*/get endTime() { + return C[139] || CT.C139; + }, + /*io._SocketProfileType.address*/get address() { + return C[140] || CT.C140; + }, + /*io._SocketProfileType.port*/get port() { + return C[141] || CT.C141; + }, + /*io._SocketProfileType.socketType*/get socketType() { + return C[142] || CT.C142; + }, + /*io._SocketProfileType.readBytes*/get readBytes() { + return C[143] || CT.C143; + }, + /*io._SocketProfileType.writeBytes*/get writeBytes() { + return C[144] || CT.C144; + } +}, false); var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); io._SocketStatistic = class _SocketStatistic extends core.Object { + static ['_#new#tearOff'](id) { + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); + return new io._SocketStatistic.new(id); + } toMap() { let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); this[_setIfNotNull](map, "startTime", this.startTime); @@ -52598,14 +56560,14 @@ io._SocketStatistic = class _SocketStatistic extends core.Object { return map; } [_setIfNotNull](json, key, value) { - if (json == null) dart.nullFailed(I[119], 336, 43, "json"); - if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (json == null) dart.nullFailed(I[121], 336, 43, "json"); + if (key == null) dart.nullFailed(I[121], 336, 56, "key"); if (value == null) return; json[$_set](key, value); } }; (io._SocketStatistic.new = function(id) { - if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + if (id == null) dart.nullFailed(I[121], 318, 25, "id"); this.startTime = null; this.endTime = null; this.address = null; @@ -52625,7 +56587,7 @@ dart.setMethodSignature(io._SocketStatistic, () => ({ toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._SocketStatistic, I[105]); +dart.setLibraryUri(io._SocketStatistic, I[108]); dart.setFieldSignature(io._SocketStatistic, () => ({ __proto__: dart.getFields(io._SocketStatistic.__proto__), id: dart.finalFieldType(core.int), @@ -52641,14 +56603,14 @@ dart.setFieldSignature(io._SocketStatistic, () => ({ })); io.IOOverrides = class IOOverrides extends core.Object { static get current() { - let t203; - return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + let t180; + return T$0.IOOverridesN().as((t180 = async.Zone.current._get(io._ioOverridesToken), t180 == null ? io.IOOverrides._global : t180)); } static set global(overrides) { io.IOOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + if (body == null) dart.nullFailed(I[123], 54, 26, "body"); let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; @@ -52666,94 +56628,110 @@ io.IOOverrides = class IOOverrides extends core.Object { let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; - let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + let stdin = opts && 'stdin' in opts ? opts.stdin : null; + let stdout = opts && 'stdout' in opts ? opts.stdout : null; + let stderr = opts && 'stderr' in opts ? opts.stderr : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind, stdin, stdout, stderr); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } static runWithIOOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[120], 135, 36, "body"); - if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + if (body == null) dart.nullFailed(I[123], 145, 36, "body"); + if (overrides == null) dart.nullFailed(I[123], 145, 56, "overrides"); return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + if (path == null) dart.nullFailed(I[123], 155, 36, "path"); return new io._Directory.new(path); } getCurrentDirectory() { return io._Directory.current; } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + if (path == null) dart.nullFailed(I[123], 167, 35, "path"); io._Directory.current = path; } getSystemTempDirectory() { return io._Directory.systemTemp; } createFile(path) { - if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + if (path == null) dart.nullFailed(I[123], 183, 26, "path"); return new io._File.new(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + if (path == null) dart.nullFailed(I[123], 191, 32, "path"); return io.FileStat._stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + if (path == null) dart.nullFailed(I[123], 199, 28, "path"); return io.FileStat._statSyncInternal(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 210, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 210, 50, "path2"); return io.FileSystemEntity._identical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 219, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 219, 46, "path2"); return io.FileSystemEntity._identicalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 217, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 227, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 227, 61, "followLinks"); return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 226, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 236, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 236, 57, "followLinks"); return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 237, 42, "path"); - if (events == null) dart.nullFailed(I[120], 237, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 247, 42, "path"); + if (events == null) dart.nullFailed(I[123], 247, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 247, 65, "recursive"); return io._FileSystemWatcher._watch(path, events, recursive); } fsWatchIsSupported() { return io._FileSystemWatcher.isSupported; } createLink(path) { - if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + if (path == null) dart.nullFailed(I[123], 263, 26, "path"); return new io._Link.new(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + if (port == null) dart.nullFailed(I[123], 271, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 272, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + if (port == null) dart.nullFailed(I[123], 282, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 283, 27, "sourcePort"); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + if (port == null) dart.nullFailed(I[123], 295, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 296, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 296, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 296, 51, "shared"); return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + return io._stdin; + } + get stdout() { + return io._stdout; + } + get stderr() { + return io._stderr; + } }; (io.IOOverrides.new = function() { ; @@ -52776,16 +56754,26 @@ dart.setMethodSignature(io.IOOverrides, () => ({ fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), fsWatchIsSupported: dart.fnType(core.bool, []), createLink: dart.fnType(io.Link, [core.String]), - socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), - socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}), serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) })); -dart.setLibraryUri(io.IOOverrides, I[105]); +dart.setStaticMethodSignature(io.IOOverrides, () => ['runZoned', 'runWithIOOverrides']); +dart.setGetterSignature(io.IOOverrides, () => ({ + __proto__: dart.getGetters(io.IOOverrides.__proto__), + stdin: io.Stdin, + stdout: io.Stdout, + stderr: io.Stdout +})); +dart.setStaticGetterSignature(io.IOOverrides, () => ['current']); +dart.setStaticSetterSignature(io.IOOverrides, () => ['global']); +dart.setLibraryUri(io.IOOverrides, I[108]); +dart.setStaticFieldSignature(io.IOOverrides, () => ['_global']); dart.defineLazy(io.IOOverrides, { /*io.IOOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$4 = dart.privateName(io, "_previous"); var _createDirectory$ = dart.privateName(io, "_createDirectory"); @@ -52805,9 +56793,15 @@ var _createLink$ = dart.privateName(io, "_createLink"); var _socketConnect$ = dart.privateName(io, "_socketConnect"); var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); +var _stdin$ = dart.privateName(io, "_stdin"); +var _stdout$ = dart.privateName(io, "_stdout"); +var _stderr$ = dart.privateName(io, "_stderr"); io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + static ['_#new#tearOff'](_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { + return new io._IOOverridesScope.new(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr); + } createDirectory(path) { - if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (path == null) dart.nullFailed(I[123], 416, 36, "path"); if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); return super.createDirectory(path); @@ -52818,7 +56812,7 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.getCurrentDirectory(); } setCurrentDirectory(path) { - if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (path == null) dart.nullFailed(I[123], 430, 35, "path"); if (this[_setCurrentDirectory$] != null) dart.nullCheck(this[_setCurrentDirectory$])(path); else if (this[_previous$4] != null) @@ -52832,55 +56826,55 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.getSystemTempDirectory(); } createFile(path) { - if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (path == null) dart.nullFailed(I[123], 448, 26, "path"); if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); return super.createFile(path); } stat(path) { - if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (path == null) dart.nullFailed(I[123], 456, 32, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); return super.stat(path); } statSync(path) { - if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (path == null) dart.nullFailed(I[123], 463, 28, "path"); if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); return super.statSync(path); } fseIdentical(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); - if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (path1 == null) dart.nullFailed(I[123], 471, 36, "path1"); + if (path2 == null) dart.nullFailed(I[123], 471, 50, "path2"); if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); return super.fseIdentical(path1, path2); } fseIdenticalSync(path1, path2) { - if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); - if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (path1 == null) dart.nullFailed(I[123], 478, 32, "path1"); + if (path2 == null) dart.nullFailed(I[123], 478, 46, "path2"); if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); return super.fseIdenticalSync(path1, path2); } fseGetType(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 436, 50, "path"); - if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (path == null) dart.nullFailed(I[123], 485, 50, "path"); + if (followLinks == null) dart.nullFailed(I[123], 485, 61, "followLinks"); if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); return super.fseGetType(path, followLinks); } fseGetTypeSync(path, followLinks) { - if (path == null) dart.nullFailed(I[120], 443, 46, "path"); - if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (path == null) dart.nullFailed(I[123], 492, 46, "path"); + if (followLinks == null) dart.nullFailed(I[123], 492, 57, "followLinks"); if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); return super.fseGetTypeSync(path, followLinks); } fsWatch(path, events, recursive) { - if (path == null) dart.nullFailed(I[120], 451, 42, "path"); - if (events == null) dart.nullFailed(I[120], 451, 52, "events"); - if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (path == null) dart.nullFailed(I[123], 500, 42, "path"); + if (events == null) dart.nullFailed(I[123], 500, 52, "events"); + if (recursive == null) dart.nullFailed(I[123], 500, 65, "recursive"); if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); return super.fsWatch(path, events, recursive); @@ -52891,42 +56885,46 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { return super.fsWatchIsSupported(); } createLink(path) { - if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (path == null) dart.nullFailed(I[123], 515, 26, "path"); if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); return super.createLink(path); } socketConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + if (port == null) dart.nullFailed(I[123], 523, 42, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 524, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; if (this[_socketConnect$] != null) { return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + if (port == null) dart.nullFailed(I[123], 540, 63, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[123], 541, 27, "sourcePort"); if (this[_socketStartConnect$] != null) { - return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } serverSocketBind(address, port, opts) { - if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + if (port == null) dart.nullFailed(I[123], 557, 54, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[123], 558, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[123], 558, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (shared == null) dart.nullFailed(I[123], 558, 51, "shared"); if (this[_serverSocketBind$] != null) { return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } @@ -52935,8 +56933,23 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { } return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } + get stdin() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdin$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdin) : t180$); + return t180$0 == null ? super.stdin : t180$0; + } + get stdout() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stdout$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stdout) : t180$); + return t180$0 == null ? super.stdout : t180$0; + } + get stderr() { + let t180, t181, t180$, t180$0; + t180$0 = (t180$ = (t180 = this[_stderr$], t180 == null ? null : t180()), t180$ == null ? (t181 = this[_previous$4], t181 == null ? null : t181.stderr) : t180$); + return t180$0 == null ? super.stderr : t180$0; + } }; -(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { +(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind, _stdin, _stdout, _stderr) { this[_previous$4] = io.IOOverrides.current; this[_createDirectory$] = _createDirectory; this[_getCurrentDirectory$] = _getCurrentDirectory; @@ -52955,11 +56968,14 @@ io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { this[_socketConnect$] = _socketConnect; this[_socketStartConnect$] = _socketStartConnect; this[_serverSocketBind$] = _serverSocketBind; + this[_stdin$] = _stdin; + this[_stdout$] = _stdout; + this[_stderr$] = _stderr; ; }).prototype = io._IOOverridesScope.prototype; dart.addTypeTests(io._IOOverridesScope); dart.addTypeCaches(io._IOOverridesScope); -dart.setLibraryUri(io._IOOverridesScope, I[105]); +dart.setLibraryUri(io._IOOverridesScope, I[108]); dart.setFieldSignature(io._IOOverridesScope, () => ({ __proto__: dart.getFields(io._IOOverridesScope.__proto__), [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), @@ -52977,9 +56993,12 @@ dart.setFieldSignature(io._IOOverridesScope, () => ({ [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), - [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), - [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), - [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, sourcePort: core.int}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))), + [_stdin$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdin, []))), + [_stdout$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))), + [_stderr$]: dart.fieldType(dart.nullable(dart.fnType(io.Stdout, []))) })); io.Platform = class Platform extends core.Object { static get numberOfProcessors() { @@ -53015,22 +57034,24 @@ io.Platform = class Platform extends core.Object { static get executableArguments() { return io._Platform.executableArguments; } - static get packageRoot() { - return null; - } static get packageConfig() { return io._Platform.packageConfig; } static get version() { return io.Platform._version; } + static ['_#new#tearOff']() { + return new io.Platform.new(); + } }; (io.Platform.new = function() { ; }).prototype = io.Platform.prototype; dart.addTypeTests(io.Platform); dart.addTypeCaches(io.Platform); -dart.setLibraryUri(io.Platform, I[105]); +dart.setStaticGetterSignature(io.Platform, () => ['numberOfProcessors', 'pathSeparator', 'localeName', 'operatingSystem', 'operatingSystemVersion', 'localHostname', 'environment', 'executable', 'resolvedExecutable', 'script', 'executableArguments', 'packageConfig', 'version']); +dart.setLibraryUri(io.Platform, I[108]); +dart.setStaticFieldSignature(io.Platform, () => ['_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_version', 'isLinux', 'isMacOS', 'isWindows', 'isAndroid', 'isIOS', 'isFuchsia']); dart.defineLazy(io.Platform, { /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { return io._Platform.numberOfProcessors; @@ -53154,16 +57175,17 @@ io._Platform = class _Platform extends core.Object { static get environment() { if (io._Platform._environmentCache == null) { let env = io._Platform._environment(); - if (!io.OSError.is(env)) { + if (T$0.IterableOfObjectN().is(env)) { let isWindows = io._Platform.operatingSystem === "windows"; let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); - for (let str of core.Iterable.as(env)) { - if (str == null) { + for (let environmentEntry of env) { + if (environmentEntry == null) { continue; } - let equalsIndex = dart.dsend(str, 'indexOf', ["="]); - if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { - result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + let text = core.String.as(environmentEntry); + let equalsIndex = text[$indexOf]("="); + if (equalsIndex > 0) { + result[$_set](text[$substring](0, equalsIndex), text[$substring](equalsIndex + 1)); } } io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); @@ -53180,49 +57202,59 @@ io._Platform = class _Platform extends core.Object { static get version() { return io._Platform._version(); } + static ['_#new#tearOff']() { + return new io._Platform.new(); + } }; (io._Platform.new = function() { ; }).prototype = io._Platform.prototype; dart.addTypeTests(io._Platform); dart.addTypeCaches(io._Platform); -dart.setLibraryUri(io._Platform, I[105]); +dart.setStaticMethodSignature(io._Platform, () => ['_packageRoot', '_numberOfProcessors', '_pathSeparator', '_operatingSystem', '_operatingSystemVersion', '_localHostname', '_executable', '_resolvedExecutable', '_environment', '_executableArguments', '_packageConfig', '_version', '_localeName', '_script', 'localeName']); +dart.setStaticGetterSignature(io._Platform, () => ['numberOfProcessors', 'pathSeparator', 'operatingSystem', 'script', 'operatingSystemVersion', 'localHostname', 'executableArguments', 'environment', 'version']); +dart.setLibraryUri(io._Platform, I[108]); +dart.setStaticFieldSignature(io._Platform, () => ['executable', 'resolvedExecutable', 'packageConfig', '_localeClosure', '_environmentCache', '_cachedOSVersion']); dart.defineLazy(io._Platform, { /*io._Platform.executable*/get executable() { return core.String.as(io._Platform._executable()); }, - set executable(_) {}, + set executable(value) { + if (value == null) dart.nullFailed(I[124], 36, 17, "executable"); + }, /*io._Platform.resolvedExecutable*/get resolvedExecutable() { return core.String.as(io._Platform._resolvedExecutable()); }, - set resolvedExecutable(_) {}, + set resolvedExecutable(value) { + if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); + }, /*io._Platform.packageConfig*/get packageConfig() { return io._Platform._packageConfig(); }, - set packageConfig(_) {}, + set packageConfig(value) {}, /*io._Platform._localeClosure*/get _localeClosure() { return null; }, - set _localeClosure(_) {}, + set _localeClosure(value) {}, /*io._Platform._environmentCache*/get _environmentCache() { return null; }, - set _environmentCache(_) {}, + set _environmentCache(value) {}, /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { return null; }, - set _cachedOSVersion(_) {} + set _cachedOSVersion(value) {} }, false); var _map$10 = dart.privateName(io, "_map"); const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); io._CaseInsensitiveStringMap$ = dart.generic(V => { - var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); - var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); - var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); - var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); - var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); - var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); - var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + var __t$LinkedMapOfString$V = () => (__t$LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var __t$VoidToV = () => (__t$VoidToV = dart.constFn(dart.fnType(V, [])))(); + var __t$MapOfString$V = () => (__t$MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var __t$StringAndVTovoid = () => (__t$StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var __t$VToV = () => (__t$VToV = dart.constFn(dart.fnType(V, [V])))(); + var __t$VoidToNV = () => (__t$VoidToNV = dart.constFn(dart.nullable(__t$VoidToV())))(); + var __t$StringAndVToV = () => (__t$StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { containsKey(key) { return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); @@ -53236,29 +57268,29 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + if (key == null) dart.nullFailed(I[124], 134, 28, "key"); V.as(value); this[_map$10][$_set](key[$toUpperCase](), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 133, 24, "key"); - VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + if (key == null) dart.nullFailed(I[124], 138, 24, "key"); + __t$VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[124], 138, 31, "ifAbsent"); return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); } addAll(other) { - MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + __t$MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[124], 142, 30, "other"); other[$forEach](dart.fn((key, value) => { - let t204, t203; - if (key == null) dart.nullFailed(I[121], 138, 20, "key"); - t203 = key[$toUpperCase](); - t204 = value; - this._set(t203, t204); - return t204; - }, StringAndVTovoid())); + let t181, t180; + if (key == null) dart.nullFailed(I[124], 143, 20, "key"); + t180 = key[$toUpperCase](); + t181 = value; + this._set(t180, t181); + return t181; + }, __t$StringAndVTovoid())); } remove(key) { return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; @@ -53267,7 +57299,7 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { this[_map$10][$clear](); } forEach(f) { - if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + if (f == null) dart.nullFailed(I[124], 153, 21, "f"); this[_map$10][$forEach](f); } get keys() { @@ -53289,33 +57321,36 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { return this[_map$10][$entries]; } map(K2, V2, transform) { - if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + if (transform == null) dart.nullFailed(I[124], 165, 44, "transform"); return this[_map$10][$map](K2, V2, transform); } update(key, update, opts) { core.String.as(key); - if (key == null) dart.nullFailed(I[121], 163, 19, "key"); - VToV().as(update); - if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + if (key == null) dart.nullFailed(I[124], 168, 19, "key"); + __t$VToV().as(update); + if (update == null) dart.nullFailed(I[124], 168, 26, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - VoidToNV().as(ifAbsent); + __t$VoidToNV().as(ifAbsent); return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); } updateAll(update) { - StringAndVToV().as(update); - if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + __t$StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[124], 171, 20, "update"); this[_map$10][$updateAll](update); } removeWhere(test) { - if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + if (test == null) dart.nullFailed(I[124], 175, 25, "test"); this[_map$10][$removeWhere](test); } toString() { return dart.toString(this[_map$10]); } + static ['_#new#tearOff'](V) { + return new (io._CaseInsensitiveStringMap$(V)).new(); + } } (_CaseInsensitiveStringMap.new = function() { - this[_map$10] = new (LinkedMapOfString$V()).new(); + this[_map$10] = new (__t$LinkedMapOfString$V()).new(); ; }).prototype = _CaseInsensitiveStringMap.prototype; dart.addTypeTests(_CaseInsensitiveStringMap); @@ -53339,7 +57374,7 @@ io._CaseInsensitiveStringMap$ = dart.generic(V => { keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) @@ -53374,34 +57409,38 @@ io._CaseInsensitiveStringMap = io._CaseInsensitiveStringMap$(); dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); io._ProcessUtils = class _ProcessUtils extends core.Object { static _exit(status) { - if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + if (status == null) dart.nullFailed(I[110], 306, 26, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); } static _setExitCode(status) { - if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + if (status == null) dart.nullFailed(I[110], 311, 32, "status"); dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); } static _getExitCode() { dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); } static _sleep(millis) { - if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + if (millis == null) dart.nullFailed(I[110], 321, 26, "millis"); dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); } static _pid(process) { dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); } static _watchSignal(signal) { - if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + if (signal == null) dart.nullFailed(I[110], 331, 59, "signal"); dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); } + static ['_#new#tearOff']() { + return new io._ProcessUtils.new(); + } }; (io._ProcessUtils.new = function() { ; }).prototype = io._ProcessUtils.prototype; dart.addTypeTests(io._ProcessUtils); dart.addTypeCaches(io._ProcessUtils); -dart.setLibraryUri(io._ProcessUtils, I[105]); +dart.setStaticMethodSignature(io._ProcessUtils, () => ['_exit', '_setExitCode', '_getExitCode', '_sleep', '_pid', '_watchSignal']); +dart.setLibraryUri(io._ProcessUtils, I[108]); io.ProcessInfo = class ProcessInfo extends core.Object { static get currentRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); @@ -53409,13 +57448,17 @@ io.ProcessInfo = class ProcessInfo extends core.Object { static get maxRss() { dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); } + static ['_#new#tearOff']() { + return new io.ProcessInfo.new(); + } }; (io.ProcessInfo.new = function() { ; }).prototype = io.ProcessInfo.prototype; dart.addTypeTests(io.ProcessInfo); dart.addTypeCaches(io.ProcessInfo); -dart.setLibraryUri(io.ProcessInfo, I[105]); +dart.setStaticGetterSignature(io.ProcessInfo, () => ['currentRss', 'maxRss']); +dart.setLibraryUri(io.ProcessInfo, I[108]); var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); io.ProcessStartMode = class ProcessStartMode extends core.Object { get [_mode]() { @@ -53425,100 +57468,90 @@ io.ProcessStartMode = class ProcessStartMode extends core.Object { super[_mode] = value; } static get values() { - return C[137] || CT.C137; + return C[146] || CT.C146; } toString() { - return (C[142] || CT.C142)[$_get](this[_mode]); + return (C[151] || CT.C151)[$_get](this[_mode]); + } + static ['_#_internal#tearOff'](_mode) { + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); + return new io.ProcessStartMode._internal(_mode); } }; (io.ProcessStartMode._internal = function(_mode) { - if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + if (_mode == null) dart.nullFailed(I[125], 154, 41, "_mode"); this[_mode$0] = _mode; ; }).prototype = io.ProcessStartMode.prototype; dart.addTypeTests(io.ProcessStartMode); dart.addTypeCaches(io.ProcessStartMode); -dart.setLibraryUri(io.ProcessStartMode, I[105]); +dart.setStaticGetterSignature(io.ProcessStartMode, () => ['values']); +dart.setLibraryUri(io.ProcessStartMode, I[108]); dart.setFieldSignature(io.ProcessStartMode, () => ({ __proto__: dart.getFields(io.ProcessStartMode.__proto__), [_mode]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.ProcessStartMode, () => ['normal', 'inheritStdio', 'detached', 'detachedWithStdio']); dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); dart.defineLazy(io.ProcessStartMode, { /*io.ProcessStartMode.normal*/get normal() { - return C[138] || CT.C138; - }, - /*io.ProcessStartMode.NORMAL*/get NORMAL() { - return C[138] || CT.C138; + return C[147] || CT.C147; }, /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[139] || CT.C139; - }, - /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { - return C[139] || CT.C139; + return C[148] || CT.C148; }, /*io.ProcessStartMode.detached*/get detached() { - return C[140] || CT.C140; - }, - /*io.ProcessStartMode.DETACHED*/get DETACHED() { - return C[140] || CT.C140; + return C[149] || CT.C149; }, /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - return C[141] || CT.C141; - }, - /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { - return C[141] || CT.C141; + return C[150] || CT.C150; } }, false); var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); io.Process = class Process extends core.Object { static start(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 352, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 355, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); - let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; - if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + if (runInShell == null) dart.nullFailed(I[110], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[147] || CT.C147; + if (mode == null) dart.nullFailed(I[110], 357, 24, "mode"); dart.throw(new core.UnsupportedError.new("Process.start")); } static run(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + if (executable == null) dart.nullFailed(I[110], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 362, 68, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 365, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.run")); } static runSync(executable, $arguments, opts) { - if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); - if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + if (executable == null) dart.nullFailed(I[110], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[110], 373, 64, "arguments"); let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; let environment = opts && 'environment' in opts ? opts.environment : null; let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; - if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + if (includeParentEnvironment == null) dart.nullFailed(I[110], 376, 12, "includeParentEnvironment"); let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); - let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; - if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); - let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; - if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + if (runInShell == null) dart.nullFailed(I[110], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[152] || CT.C152; + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[152] || CT.C152; dart.throw(new core.UnsupportedError.new("Process.runSync")); } - static killPid(pid, signal = C[144] || CT.C144) { - if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); - if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + static killPid(pid, signal = C[153] || CT.C153) { + if (pid == null) dart.nullFailed(I[110], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[110], 384, 47, "signal"); dart.throw(new core.UnsupportedError.new("Process.killPid")); } }; @@ -53527,7 +57560,8 @@ io.Process = class Process extends core.Object { }).prototype = io.Process.prototype; dart.addTypeTests(io.Process); dart.addTypeCaches(io.Process); -dart.setLibraryUri(io.Process, I[105]); +dart.setStaticMethodSignature(io.Process, () => ['start', 'run', 'runSync', 'killPid']); +dart.setLibraryUri(io.Process, I[108]); var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); var stdout$ = dart.privateName(io, "ProcessResult.stdout"); var stderr$ = dart.privateName(io, "ProcessResult.stderr"); @@ -53557,10 +57591,15 @@ io.ProcessResult = class ProcessResult extends core.Object { set pid(value) { super.pid = value; } + static ['_#new#tearOff'](pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); + return new io.ProcessResult.new(pid, exitCode, stdout, stderr); + } }; (io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { - if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + if (pid == null) dart.nullFailed(I[125], 467, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); this[pid$] = pid; this[exitCode$] = exitCode; this[stdout$] = stdout; @@ -53569,7 +57608,7 @@ io.ProcessResult = class ProcessResult extends core.Object { }).prototype = io.ProcessResult.prototype; dart.addTypeTests(io.ProcessResult); dart.addTypeCaches(io.ProcessResult); -dart.setLibraryUri(io.ProcessResult, I[105]); +dart.setLibraryUri(io.ProcessResult, I[108]); dart.setFieldSignature(io.ProcessResult, () => ({ __proto__: dart.getFields(io.ProcessResult.__proto__), exitCode: dart.finalFieldType(core.int), @@ -53578,8 +57617,9 @@ dart.setFieldSignature(io.ProcessResult, () => ({ pid: dart.finalFieldType(core.int) })); var _signalNumber = dart.privateName(io, "_signalNumber"); +var _name$6 = dart.privateName(io, "_name"); const _signalNumber$ = ProcessSignal__signalNumber; -const _name$5 = ProcessSignal__name; +const _name$7 = ProcessSignal__name; io.ProcessSignal = class ProcessSignal extends core.Object { get [_signalNumber]() { return this[_signalNumber$]; @@ -53587,24 +57627,29 @@ io.ProcessSignal = class ProcessSignal extends core.Object { set [_signalNumber](value) { super[_signalNumber] = value; } - get [_name$4]() { - return this[_name$5]; + get [_name$6]() { + return this[_name$7]; } - set [_name$4](value) { - super[_name$4] = value; + set [_name$6](value) { + super[_name$6] = value; + } + static ['_#_#tearOff'](_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); + return new io.ProcessSignal.__(_signalNumber, _name); } toString() { - return this[_name$4]; + return this[_name$6]; } watch() { return io._ProcessUtils._watchSignal(this); } }; (io.ProcessSignal.__ = function(_signalNumber, _name) { - if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); - if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + if (_signalNumber == null) dart.nullFailed(I[125], 510, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[125], 510, 50, "_name"); this[_signalNumber$] = _signalNumber; - this[_name$5] = _name; + this[_name$7] = _name; ; }).prototype = io.ProcessSignal.prototype; dart.addTypeTests(io.ProcessSignal); @@ -53613,187 +57658,101 @@ dart.setMethodSignature(io.ProcessSignal, () => ({ __proto__: dart.getMethods(io.ProcessSignal.__proto__), watch: dart.fnType(async.Stream$(io.ProcessSignal), []) })); -dart.setLibraryUri(io.ProcessSignal, I[105]); +dart.setLibraryUri(io.ProcessSignal, I[108]); dart.setFieldSignature(io.ProcessSignal, () => ({ __proto__: dart.getFields(io.ProcessSignal.__proto__), [_signalNumber]: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) + [_name$6]: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(io.ProcessSignal, () => ['sighup', 'sigint', 'sigquit', 'sigill', 'sigtrap', 'sigabrt', 'sigbus', 'sigfpe', 'sigkill', 'sigusr1', 'sigsegv', 'sigusr2', 'sigpipe', 'sigalrm', 'sigterm', 'sigchld', 'sigcont', 'sigstop', 'sigtstp', 'sigttin', 'sigttou', 'sigurg', 'sigxcpu', 'sigxfsz', 'sigvtalrm', 'sigprof', 'sigwinch', 'sigpoll', 'sigsys']); dart.defineExtensionMethods(io.ProcessSignal, ['toString']); dart.defineLazy(io.ProcessSignal, { /*io.ProcessSignal.sighup*/get sighup() { - return C[145] || CT.C145; + return C[154] || CT.C154; }, /*io.ProcessSignal.sigint*/get sigint() { - return C[146] || CT.C146; + return C[155] || CT.C155; }, /*io.ProcessSignal.sigquit*/get sigquit() { - return C[147] || CT.C147; + return C[156] || CT.C156; }, /*io.ProcessSignal.sigill*/get sigill() { - return C[148] || CT.C148; + return C[157] || CT.C157; }, /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[149] || CT.C149; + return C[158] || CT.C158; }, /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[150] || CT.C150; + return C[159] || CT.C159; }, /*io.ProcessSignal.sigbus*/get sigbus() { - return C[151] || CT.C151; + return C[160] || CT.C160; }, /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[152] || CT.C152; + return C[161] || CT.C161; }, /*io.ProcessSignal.sigkill*/get sigkill() { - return C[153] || CT.C153; + return C[162] || CT.C162; }, /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[154] || CT.C154; + return C[163] || CT.C163; }, /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[155] || CT.C155; + return C[164] || CT.C164; }, /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[156] || CT.C156; + return C[165] || CT.C165; }, /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[157] || CT.C157; + return C[166] || CT.C166; }, /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[158] || CT.C158; + return C[167] || CT.C167; }, /*io.ProcessSignal.sigterm*/get sigterm() { - return C[144] || CT.C144; + return C[153] || CT.C153; }, /*io.ProcessSignal.sigchld*/get sigchld() { - return C[159] || CT.C159; + return C[168] || CT.C168; }, /*io.ProcessSignal.sigcont*/get sigcont() { - return C[160] || CT.C160; + return C[169] || CT.C169; }, /*io.ProcessSignal.sigstop*/get sigstop() { - return C[161] || CT.C161; + return C[170] || CT.C170; }, /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[162] || CT.C162; + return C[171] || CT.C171; }, /*io.ProcessSignal.sigttin*/get sigttin() { - return C[163] || CT.C163; + return C[172] || CT.C172; }, /*io.ProcessSignal.sigttou*/get sigttou() { - return C[164] || CT.C164; + return C[173] || CT.C173; }, /*io.ProcessSignal.sigurg*/get sigurg() { - return C[165] || CT.C165; + return C[174] || CT.C174; }, /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[166] || CT.C166; + return C[175] || CT.C175; }, /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[167] || CT.C167; + return C[176] || CT.C176; }, /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[168] || CT.C168; + return C[177] || CT.C177; }, /*io.ProcessSignal.sigprof*/get sigprof() { - return C[169] || CT.C169; + return C[178] || CT.C178; }, /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[170] || CT.C170; + return C[179] || CT.C179; }, /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[171] || CT.C171; + return C[180] || CT.C180; }, /*io.ProcessSignal.sigsys*/get sigsys() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.SIGHUP*/get SIGHUP() { - return C[145] || CT.C145; - }, - /*io.ProcessSignal.SIGINT*/get SIGINT() { - return C[146] || CT.C146; - }, - /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { - return C[147] || CT.C147; - }, - /*io.ProcessSignal.SIGILL*/get SIGILL() { - return C[148] || CT.C148; - }, - /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { - return C[149] || CT.C149; - }, - /*io.ProcessSignal.SIGABRT*/get SIGABRT() { - return C[150] || CT.C150; - }, - /*io.ProcessSignal.SIGBUS*/get SIGBUS() { - return C[151] || CT.C151; - }, - /*io.ProcessSignal.SIGFPE*/get SIGFPE() { - return C[152] || CT.C152; - }, - /*io.ProcessSignal.SIGKILL*/get SIGKILL() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { - return C[154] || CT.C154; - }, - /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.SIGALRM*/get SIGALRM() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.SIGTERM*/get SIGTERM() { - return C[144] || CT.C144; - }, - /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.SIGCONT*/get SIGCONT() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.SIGURG*/get SIGURG() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.SIGPROF*/get SIGPROF() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.SIGSYS*/get SIGSYS() { - return C[172] || CT.C172; + return C[181] || CT.C181; } }, false); var message$4 = dart.privateName(io, "SignalException.message"); @@ -53811,6 +57770,10 @@ io.SignalException = class SignalException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); + return new io.SignalException.new(message, osError); + } toString() { let msg = ""; if (this.osError != null) { @@ -53820,7 +57783,7 @@ io.SignalException = class SignalException extends core.Object { } }; (io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + if (message == null) dart.nullFailed(I[125], 536, 30, "message"); this[message$4] = message; this[osError$0] = osError; ; @@ -53828,7 +57791,7 @@ io.SignalException = class SignalException extends core.Object { dart.addTypeTests(io.SignalException); dart.addTypeCaches(io.SignalException); io.SignalException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SignalException, I[105]); +dart.setLibraryUri(io.SignalException, I[108]); dart.setFieldSignature(io.SignalException, () => ({ __proto__: dart.getFields(io.SignalException.__proto__), message: dart.finalFieldType(core.String), @@ -53864,16 +57827,23 @@ io.ProcessException = class ProcessException extends core.Object { set errorCode(value) { super.errorCode = value; } + static ['_#new#tearOff'](executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); + return new io.ProcessException.new(executable, $arguments, message, errorCode); + } toString() { let args = this.arguments[$join](" "); return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); } }; (io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { - if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); - if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); - if (message == null) dart.nullFailed(I[122], 626, 13, "message"); - if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + if (executable == null) dart.nullFailed(I[125], 564, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[125], 564, 48, "arguments"); + if (message == null) dart.nullFailed(I[125], 565, 13, "message"); + if (errorCode == null) dart.nullFailed(I[125], 565, 32, "errorCode"); this[executable$] = executable; this[$arguments$] = $arguments; this[message$5] = message; @@ -53883,7 +57853,7 @@ io.ProcessException = class ProcessException extends core.Object { dart.addTypeTests(io.ProcessException); dart.addTypeCaches(io.ProcessException); io.ProcessException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.ProcessException, I[105]); +dart.setLibraryUri(io.ProcessException, I[108]); dart.setFieldSignature(io.ProcessException, () => ({ __proto__: dart.getFields(io.ProcessException.__proto__), executable: dart.finalFieldType(core.String), @@ -53897,52 +57867,65 @@ var _owner = dart.privateName(io, "_owner"); var _onCancel$ = dart.privateName(io, "_onCancel"); var _detachRaw = dart.privateName(io, "_detachRaw"); io.SecureSocket = class SecureSocket extends core.Object { + static ['_#_#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 559, 42, "rawSocket"); + return io.SecureSocket.__(rawSocket); + } static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + if (port == null) dart.nullFailed(I[127], 54, 49, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; - return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[127], 66, 16, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + if (port == null) dart.nullFailed(I[127], 72, 70, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[127], 82, 16, "rawState"); let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[127], 84, 33, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())); return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + if (socket == null) dart.nullFailed(I[127], 141, 45, "socket"); let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 147, 55, "detachedRaw"); + return io.RawSecureSocket.secure(io.RawSocket.as(detachedRaw[$_get](0)), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), host: host, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 155, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + if (socket == null) dart.nullFailed(I[127], 179, 14, "socket"); let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 181, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { - if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return socket[_detachRaw]().then(io.RawSecureSocket, dart.fn(detachedRaw => { + if (detachedRaw == null) dart.nullFailed(I[127], 184, 55, "detachedRaw"); + return io.RawSecureSocket.secureServer(io.RawSocket.as(detachedRaw[$_get](0)), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(detachedRaw[$_get](1)), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + }, T$0.ListOfObjectNToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[127], 191, 28, "raw"); return io.SecureSocket.__(raw); }, T$0.RawSecureSocketToSecureSocket())); } @@ -53952,23 +57935,28 @@ io.SecureSocket = class SecureSocket extends core.Object { dart.addTypeTests(io.SecureSocket); dart.addTypeCaches(io.SecureSocket); io.SecureSocket[dart.implements] = () => [io.Socket]; -dart.setLibraryUri(io.SecureSocket, I[105]); +dart.setStaticMethodSignature(io.SecureSocket, () => ['__', 'connect', 'startConnect', 'secure', 'secureServer']); +dart.setLibraryUri(io.SecureSocket, I[108]); io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static ['_#_#tearOff'](_socket) { + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); + return new io.SecureServerSocket.__(_socket); + } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + if (port == null) dart.nullFailed(I[126], 67, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 68, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 69, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 70, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 71, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 73, 12, "shared"); return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 81, 16, "serverSocket"); return new io.SecureServerSocket.__(serverSocket); }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53977,7 +57965,7 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + if (rawSocket == null) dart.nullFailed(I[126], 86, 25, "rawSocket"); return io.SecureSocket.__(rawSocket); }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } @@ -53989,7 +57977,7 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure } close() { return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); return this; }, T$0.RawSecureServerSocketToSecureServerSocket())); } @@ -53998,18 +57986,20 @@ io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.Secure } }; (io.SecureServerSocket.__ = function(_socket) { - if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + if (_socket == null) dart.nullFailed(I[126], 14, 29, "_socket"); this[_socket$] = _socket; io.SecureServerSocket.__proto__.new.call(this); ; }).prototype = io.SecureServerSocket.prototype; dart.addTypeTests(io.SecureServerSocket); dart.addTypeCaches(io.SecureServerSocket); +io.SecureServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.SecureSocket)]; dart.setMethodSignature(io.SecureServerSocket, () => ({ __proto__: dart.getMethods(io.SecureServerSocket.__proto__), listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), close: dart.fnType(async.Future$(io.SecureServerSocket), []) })); +dart.setStaticMethodSignature(io.SecureServerSocket, () => ['bind']); dart.setGetterSignature(io.SecureServerSocket, () => ({ __proto__: dart.getGetters(io.SecureServerSocket.__proto__), port: core.int, @@ -54019,7 +58009,7 @@ dart.setSetterSignature(io.SecureServerSocket, () => ({ __proto__: dart.getSetters(io.SecureServerSocket.__proto__), [_owner]: dart.dynamic })); -dart.setLibraryUri(io.SecureServerSocket, I[105]); +dart.setLibraryUri(io.SecureServerSocket, I[108]); dart.setFieldSignature(io.SecureServerSocket, () => ({ __proto__: dart.getFields(io.SecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) @@ -54036,50 +58026,53 @@ var _onPauseStateChange = dart.privateName(io, "_onPauseStateChange"); var _onData$0 = dart.privateName(io, "_onData"); io.RawSecureSocket = class RawSecureSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + if (port == null) dart.nullFailed(I[127], 273, 52, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; io._RawSecureSocket._verifyFields(host, port, false, false); return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); - return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (socket == null) dart.nullFailed(I[127], 280, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + if (port == null) dart.nullFailed(I[127], 292, 73, "port"); let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { - if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + if (rawState == null) dart.nullFailed(I[127], 298, 42, "rawState"); let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); - return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + if (rawSocket == null) dart.nullFailed(I[127], 299, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); }, T$0.RawSocketToFutureOfRawSecureSocket())); return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); } static secure(socket, opts) { - if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + if (socket == null) dart.nullFailed(I[127], 362, 51, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let host = opts && 'host' in opts ? opts.host : null; let context = opts && 'context' in opts ? opts.context : null; let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; - return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, keyLog: keyLog, supportedProtocols: supportedProtocols}); } static secureServer(socket, context, opts) { - if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + if (socket == null) dart.nullFailed(I[127], 403, 17, "socket"); let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 406, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 407, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; socket.readEventsEnabled = false; socket.writeEventsEnabled = false; @@ -54092,7 +58085,8 @@ io.RawSecureSocket = class RawSecureSocket extends core.Object { dart.addTypeTests(io.RawSecureSocket); dart.addTypeCaches(io.RawSecureSocket); io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; -dart.setLibraryUri(io.RawSecureSocket, I[105]); +dart.setStaticMethodSignature(io.RawSecureSocket, () => ['connect', 'startConnect', 'secure', 'secureServer']); +dart.setLibraryUri(io.RawSecureSocket, I[108]); io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { get requestClientCertificate() { return this[requestClientCertificate$]; @@ -54113,29 +58107,35 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. super.supportedProtocols = value; } get [_controller]() { - let t203; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + let t180; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); } - set [_controller](t203) { - if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + set [_controller](_controller$35param) { + if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); this[__RawSecureServerSocket__controller_isSet] = true; - this[__RawSecureServerSocket__controller] = t203; + this[__RawSecureServerSocket__controller] = _controller$35param; + } + static ['_#_#tearOff'](_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); + return new io.RawSecureServerSocket.__(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols); } static bind(address, port, context, opts) { - if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + if (port == null) dart.nullFailed(I[126], 187, 20, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[126], 188, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + if (v6Only == null) dart.nullFailed(I[126], 189, 12, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 190, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 191, 12, "requireClientCertificate"); let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + if (shared == null) dart.nullFailed(I[126], 193, 12, "shared"); return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { - if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[126], 196, 16, "serverSocket"); return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); }, T$0.RawServerSocketToRawSecureServerSocket())); } @@ -54154,12 +58154,12 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. close() { this[_closed] = true; return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); return this; }, T$0.RawServerSocketToRawSecureServerSocket())); } [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); let remotePort = null; try { remotePort = connection.remotePort; @@ -54171,7 +58171,7 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. throw e$; } io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { - if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (secureConnection == null) dart.nullFailed(I[126], 239, 32, "secureConnection"); if (dart.test(this[_closed])) { secureConnection.close(); } else { @@ -54198,13 +58198,13 @@ io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io. } } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } }; (io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { - if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + if (_socket == null) dart.nullFailed(I[126], 124, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[126], 126, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[126], 127, 12, "requireClientCertificate"); this[__RawSecureServerSocket__controller] = null; this[__RawSecureServerSocket__controller_isSet] = false; this[_subscription$] = null; @@ -54227,6 +58227,7 @@ dart.setMethodSignature(io.RawSecureServerSocket, () => ({ [_onPauseStateChange]: dart.fnType(dart.void, []), [_onSubscriptionStateChange]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(io.RawSecureServerSocket, () => ['bind']); dart.setGetterSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), [_controller]: async.StreamController$(io.RawSecureSocket), @@ -54238,7 +58239,7 @@ dart.setSetterSignature(io.RawSecureServerSocket, () => ({ [_controller]: async.StreamController$(io.RawSecureSocket), [_owner]: dart.dynamic })); -dart.setLibraryUri(io.RawSecureServerSocket, I[105]); +dart.setLibraryUri(io.RawSecureServerSocket, I[108]); dart.setFieldSignature(io.RawSecureServerSocket, () => ({ __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawServerSocket), @@ -54251,13 +58252,22 @@ dart.setFieldSignature(io.RawSecureServerSocket, () => ({ supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), [_closed]: dart.fieldType(core.bool) })); -io.X509Certificate = class X509Certificate extends core.Object {}; +io.X509Certificate = class X509Certificate extends core.Object { + static ['_#_#tearOff']() { + return io.X509Certificate.__(); + } +}; (io.X509Certificate[dart.mixinNew] = function() { }).prototype = io.X509Certificate.prototype; dart.addTypeTests(io.X509Certificate); dart.addTypeCaches(io.X509Certificate); -dart.setLibraryUri(io.X509Certificate, I[105]); -io._FilterStatus = class _FilterStatus extends core.Object {}; +dart.setStaticMethodSignature(io.X509Certificate, () => ['__']); +dart.setLibraryUri(io.X509Certificate, I[108]); +io._FilterStatus = class _FilterStatus extends core.Object { + static ['_#new#tearOff']() { + return new io._FilterStatus.new(); + } +}; (io._FilterStatus.new = function() { this.progress = false; this.readEmpty = true; @@ -54270,7 +58280,7 @@ io._FilterStatus = class _FilterStatus extends core.Object {}; }).prototype = io._FilterStatus.prototype; dart.addTypeTests(io._FilterStatus); dart.addTypeCaches(io._FilterStatus); -dart.setLibraryUri(io._FilterStatus, I[105]); +dart.setLibraryUri(io._FilterStatus, I[108]); dart.setFieldSignature(io._FilterStatus, () => ({ __proto__: dart.getFields(io._FilterStatus.__proto__), progress: dart.fieldType(core.bool), @@ -54281,6 +58291,13 @@ dart.setFieldSignature(io._FilterStatus, () => ({ readEncryptedNoLongerFull: dart.fieldType(core.bool), writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) })); +io._RawSocketBase = class _RawSocketBase extends core.Object {}; +(io._RawSocketBase.new = function() { + ; +}).prototype = io._RawSocketBase.prototype; +dart.addTypeTests(io._RawSocketBase); +dart.addTypeCaches(io._RawSocketBase); +dart.setLibraryUri(io._RawSocketBase, I[108]); var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); @@ -54307,6 +58324,7 @@ var _socketSubscription = dart.privateName(io, "_socketSubscription"); var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); var _reportError = dart.privateName(io, "_reportError"); var _doneHandler = dart.privateName(io, "_doneHandler"); +var _closedReadEventSent = dart.privateName(io, "_closedReadEventSent"); var _secureHandshake = dart.privateName(io, "_secureHandshake"); var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); @@ -54331,80 +58349,74 @@ io.RawSocketEvent = class RawSocketEvent extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); + return new io.RawSocketEvent.__(_value); + } toString() { - return (C[173] || CT.C173)[$_get](this[_value$0]); + return (C[182] || CT.C182)[$_get](this[_value$0]); } }; (io.RawSocketEvent.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + if (_value == null) dart.nullFailed(I[128], 485, 31, "_value"); this[_value$] = _value; ; }).prototype = io.RawSocketEvent.prototype; dart.addTypeTests(io.RawSocketEvent); dart.addTypeCaches(io.RawSocketEvent); -dart.setLibraryUri(io.RawSocketEvent, I[105]); +dart.setLibraryUri(io.RawSocketEvent, I[108]); dart.setFieldSignature(io.RawSocketEvent, () => ({ __proto__: dart.getFields(io.RawSocketEvent.__proto__), [_value$0]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.RawSocketEvent, () => ['read', 'write', 'readClosed', 'closed']); dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); dart.defineLazy(io.RawSocketEvent, { /*io.RawSocketEvent.read*/get read() { - return C[174] || CT.C174; + return C[183] || CT.C183; }, /*io.RawSocketEvent.write*/get write() { - return C[175] || CT.C175; + return C[184] || CT.C184; }, /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[176] || CT.C176; + return C[185] || CT.C185; }, /*io.RawSocketEvent.closed*/get closed() { - return C[177] || CT.C177; - }, - /*io.RawSocketEvent.READ*/get READ() { - return C[174] || CT.C174; - }, - /*io.RawSocketEvent.WRITE*/get WRITE() { - return C[175] || CT.C175; - }, - /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { - return C[176] || CT.C176; - }, - /*io.RawSocketEvent.CLOSED*/get CLOSED() { - return C[177] || CT.C177; + return C[186] || CT.C186; } }, false); io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); return dart.notNull(identifier) >= 2; } get [_socketSubscription]() { - let t206; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + let t183; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); } - set [_socketSubscription](t206) { - if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + set [_socketSubscription](_socketSubscription$35param) { + if (_socketSubscription$35param == null) dart.nullFailed(I[127], 511, 49, "_socketSubscription#param"); if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); else { this[___RawSecureSocket__socketSubscription_isSet] = true; - this[___RawSecureSocket__socketSubscription] = t206; + this[___RawSecureSocket__socketSubscription] = _socketSubscription$35param; } } static connect(host, requestedPort, isServer, socket, opts) { - let t207; - if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); - if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let t183; + if (requestedPort == null) dart.nullFailed(I[127], 544, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 545, 12, "isServer"); + if (socket == null) dart.nullFailed(I[127], 546, 17, "socket"); let context = opts && 'context' in opts ? opts.context : null; let subscription = opts && 'subscription' in opts ? opts.subscription : null; let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 550, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 551, 12, "requireClientCertificate"); let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let keyLog = opts && 'keyLog' in opts ? opts.keyLog : null; let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); if (io.InternetAddress.is(host)) host = host.host; @@ -54412,7 +58424,17 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE if (host != null) { address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); } - return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t183 = context, t183 == null ? io.SecurityContext.defaultContext : t183), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols)[_handshakeComplete].future; + } + static ['_#new#tearOff'](address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); + return new io._RawSecureSocket.new(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; @@ -54422,9 +58444,9 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { - if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (requestedPort == null) dart.nullFailed(I[127], 669, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 670, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 670, 43, "requireClientCertificate"); if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); } @@ -54445,7 +58467,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_socket$].remotePort; } set [_owner](owner) { - dart.dput(this[_socket$], _owner, owner); + io._RawSocketBase.as(this[_socket$])[_owner] = owner; } available() { return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; @@ -54458,6 +58480,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); } [_close$]() { + let t183; this[_closedWrite] = true; this[_closedRead] = true; this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); @@ -54467,6 +58490,8 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE dart.nullCheck(this[_secureFilter]).destroy(); this[_secureFilter] = null; } + t183 = this.keyLogPort; + t183 == null ? null : t183.close(); if (this[_socketSubscription] != null) { this[_socketSubscription].cancel(); } @@ -54474,7 +58499,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_status] = 203; } shutdown(direction) { - if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (direction == null) dart.nullFailed(I[127], 729, 33, "direction"); if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { this[_closedWrite] = true; if (dart.test(this[_filterStatus].writeEmpty)) { @@ -54498,7 +58523,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_writeEventsEnabled]; } set writeEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + if (value == null) dart.nullFailed(I[127], 754, 36, "value"); this[_writeEventsEnabled] = value; if (dart.test(value)) { async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); @@ -54508,7 +58533,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_readEventsEnabled]; } set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + if (value == null) dart.nullFailed(I[127], 763, 35, "value"); this[_readEventsEnabled] = value; this[_scheduleReadEvent](); } @@ -54526,14 +58551,17 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_scheduleFilter](); return result; } + readMessage(count = null) { + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } static _fixOffset(offset) { - let t207; - t207 = offset; - return t207 == null ? 0 : t207; + let t183; + t183 = offset; + return t183 == null ? 0 : t183; } write(data, offset = 0, bytes = null) { - if (data == null) dart.nullFailed(I[124], 675, 23, "data"); - if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (data == null) dart.nullFailed(I[127], 791, 23, "data"); + if (offset == null) dart.nullFailed(I[127], 791, 34, "offset"); if (bytes != null && dart.notNull(bytes) < 0) { dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); } @@ -54554,6 +58582,12 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_scheduleFilter](); return written; } + sendMessage(controlMessages, data, offset = 0, count = null) { + if (controlMessages == null) dart.nullFailed(I[127], 818, 46, "controlMessages"); + if (data == null) dart.nullFailed(I[127], 818, 73, "data"); + if (offset == null) dart.nullFailed(I[127], 819, 12, "offset"); + dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); + } get peerCertificate() { return dart.nullCheck(this[_secureFilter]).peerCertificate; } @@ -54561,25 +58595,25 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE return this[_selectedProtocol]; } [_onBadCertificateWrapper](certificate) { - if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (certificate == null) dart.nullFailed(I[127], 827, 49, "certificate"); if (this.onBadCertificate == null) return false; return dart.nullCheck(this.onBadCertificate)(certificate); } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[124], 711, 31, "option"); - if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + if (option == null) dart.nullFailed(I[127], 832, 31, "option"); + if (enabled == null) dart.nullFailed(I[127], 832, 44, "enabled"); return this[_socket$].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + if (option == null) dart.nullFailed(I[127], 836, 42, "option"); return this[_socket$].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + if (option == null) dart.nullFailed(I[127], 840, 37, "option"); this[_socket$].setRawOption(option); } [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + if (event == null) dart.nullFailed(I[127], 844, 40, "event"); try { if (dart.equals(event, io.RawSocketEvent.read)) { this[_readHandler](); @@ -54668,15 +58702,14 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE } renegotiate(opts) { let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + if (useSessionCache == null) dart.nullFailed(I[127], 932, 13, "useSessionCache"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 933, 12, "requestClientCertificate"); let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 934, 12, "requireClientCertificate"); if (this[_status] !== 202) { dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); } - dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); this[_status] = 201; this[_filterStatus].writeEmpty = false; this[_scheduleFilter](); @@ -54792,7 +58825,7 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE }).bind(this)); } [_readSocketOrBufferedData](bytes) { - if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + if (bytes == null) dart.nullFailed(I[127], 1053, 44, "bytes"); let bufferedData = this[_bufferedData$]; if (bufferedData != null) { if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { @@ -54856,22 +58889,22 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE args[$_set](2 * i + 2, bufs[$_get](i).start); args[$_set](2 * i + 3, bufs[$_get](i).end); } - let response = (yield io._IOService._dispatch(42, args)); - if (dart.equals(dart.dload(response, 'length'), 2)) { + let response = T$.ListOfObjectN().as(yield io._IOService._dispatch(43, args)); + if (response[$length] === 2) { if (wasInHandshake) { - this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.HandshakeException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } else { - this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + this[_reportError](new io.TlsException.new(dart.str(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); } } function start(index) { - if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + if (index == null) dart.nullFailed(I[127], 1154, 19, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index))); } dart.fn(start, T$0.intToint()); function end(index) { - if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); - return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + if (index == null) dart.nullFailed(I[127], 1155, 17, "index"); + return core.int.as(response[$_get](2 * dart.notNull(index) + 1)); } dart.fn(end, T$0.intToint()); let status = new io._FilterStatus.new(); @@ -54918,20 +58951,21 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE }).bind(this)); } }; -(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { - let t205, t205$; - if (address == null) dart.nullFailed(I[124], 486, 12, "address"); - if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); - if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); - if (context == null) dart.nullFailed(I[124], 489, 12, "context"); - if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); - if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); - if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); +(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, keyLog, supportedProtocols) { + let t181, t182; + if (address == null) dart.nullFailed(I[127], 580, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[127], 581, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[127], 582, 12, "isServer"); + if (context == null) dart.nullFailed(I[127], 583, 12, "context"); + if (_socket == null) dart.nullFailed(I[127], 584, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[127], 587, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[127], 588, 12, "requireClientCertificate"); this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); this[___RawSecureSocket__socketSubscription] = null; this[___RawSecureSocket__socketSubscription_isSet] = false; this[_bufferedDataIndex] = 0; + this.keyLogPort = null; this[_status] = 201; this[_writeEventsEnabled] = true; this[_readEventsEnabled] = true; @@ -54956,18 +58990,37 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this.requestClientCertificate = requestClientCertificate; this.requireClientCertificate = requireClientCertificate; this.onBadCertificate = onBadCertificate; + this.keyLog = keyLog; io._RawSecureSocket.__proto__.new.call(this); - t205 = this[_controller]; + t181 = this[_controller]; (() => { - t205.onListen = dart.bind(this, _onSubscriptionStateChange); - t205.onPause = dart.bind(this, _onPauseStateChange); - t205.onResume = dart.bind(this, _onPauseStateChange); - t205.onCancel = dart.bind(this, _onSubscriptionStateChange); - return t205; + t181.onListen = dart.bind(this, _onSubscriptionStateChange); + t181.onPause = dart.bind(this, _onPauseStateChange); + t181.onResume = dart.bind(this, _onPauseStateChange); + t181.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t181; })(); let secureFilter = dart.nullCheck(this[_secureFilter]); secureFilter.init(); secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.keyLog != null) { + let port = new isolate$._ReceivePort.new(); + port.listen(dart.fn(line => { + try { + dart.nullCheck(this.keyLog)(dart.notNull(core.String.as(line)) + "\n"); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + io.stderr.writeln("Failure in keyLog callback:"); + io.stderr.writeln(s); + } else + throw e$; + } + }, T$.dynamicTovoid())); + secureFilter.registerKeyLogPort(port.sendPort); + this.keyLogPort = port; + } if (this.onBadCertificate != null) { secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); } @@ -54981,16 +59034,15 @@ io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketE this[_socket$].close(); dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); } - let s = this[_socket$]; - if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { this[_eventDispatcher](io.RawSocketEvent.readClosed); } - t205$ = this[_socketSubscription]; + t182 = this[_socketSubscription]; (() => { - t205$.onData(dart.bind(this, _eventDispatcher)); - t205$.onError(dart.bind(this, _reportError)); - t205$.onDone(dart.bind(this, _doneHandler)); - return t205$; + t182.onData(dart.bind(this, _eventDispatcher)); + t182.onError(dart.bind(this, _reportError)); + t182.onDone(dart.bind(this, _doneHandler)); + return t182; })(); } try { @@ -55018,7 +59070,9 @@ dart.setMethodSignature(io._RawSecureSocket, () => ({ [_close$]: dart.fnType(dart.void, []), shutdown: dart.fnType(dart.void, [io.SocketDirection]), read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + readMessage: dart.fnType(dart.nullable(io.SocketMessage), [], [dart.nullable(core.int)]), write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + sendMessage: dart.fnType(core.int, [core.List$(io.SocketControlMessage), core.List$(core.int)], [core.int, dart.nullable(core.int)]), [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), @@ -55044,6 +59098,7 @@ dart.setMethodSignature(io._RawSecureSocket, () => ({ [_sendWriteEvent]: dart.fnType(dart.dynamic, []), [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) })); +dart.setStaticMethodSignature(io._RawSecureSocket, () => ['_isBufferEncrypted', 'connect', '_verifyFields', '_fixOffset']); dart.setGetterSignature(io._RawSecureSocket, () => ({ __proto__: dart.getGetters(io._RawSecureSocket.__proto__), [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), @@ -55062,7 +59117,7 @@ dart.setSetterSignature(io._RawSecureSocket, () => ({ writeEventsEnabled: core.bool, readEventsEnabled: core.bool })); -dart.setLibraryUri(io._RawSecureSocket, I[105]); +dart.setLibraryUri(io._RawSecureSocket, I[108]); dart.setFieldSignature(io._RawSecureSocket, () => ({ __proto__: dart.getFields(io._RawSecureSocket.__proto__), [_socket$]: dart.finalFieldType(io.RawSocket), @@ -55078,6 +59133,8 @@ dart.setFieldSignature(io._RawSecureSocket, () => ({ requestClientCertificate: dart.finalFieldType(core.bool), requireClientCertificate: dart.finalFieldType(core.bool), onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + keyLog: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + keyLogPort: dart.fieldType(dart.nullable(isolate$.ReceivePort)), [_status]: dart.fieldType(core.int), [_writeEventsEnabled]: dart.fieldType(core.bool), [_readEventsEnabled]: dart.fieldType(core.bool), @@ -55095,6 +59152,7 @@ dart.setFieldSignature(io._RawSecureSocket, () => ({ [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(io._RawSecureSocket, () => ['handshakeStatus', 'connectedStatus', 'closedStatus', 'readPlaintextId', 'writePlaintextId', 'readEncryptedId', 'writeEncryptedId', 'bufferCount']); dart.defineLazy(io._RawSecureSocket, { /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { return 201; @@ -55122,24 +59180,28 @@ dart.defineLazy(io._RawSecureSocket, { } }, false); io._ExternalBuffer = class _ExternalBuffer extends core.Object { + static ['_#new#tearOff'](size) { + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); + return new io._ExternalBuffer.new(size); + } advanceStart(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); - if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + if (bytes == null) dart.nullFailed(I[127], 1232, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1233, 12, "start > end || start + bytes <= end"); this.start = dart.notNull(this.start) + dart.notNull(bytes); if (dart.notNull(this.start) >= dart.notNull(this.size)) { this.start = dart.notNull(this.start) - dart.notNull(this.size); - if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); - if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[127], 1237, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1238, 14, "start < size"); } } advanceEnd(bytes) { - if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); - if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + if (bytes == null) dart.nullFailed(I[127], 1242, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[127], 1243, 12, "start <= end || start > end + bytes"); this.end = dart.notNull(this.end) + dart.notNull(bytes); if (dart.notNull(this.end) >= dart.notNull(this.size)) { this.end = dart.notNull(this.end) - dart.notNull(this.size); - if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); - if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[127], 1247, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[127], 1248, 14, "end < size"); } } get isEmpty() { @@ -55177,9 +59239,9 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return result; } write(inputData, offset, bytes) { - if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); - if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); - if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (inputData == null) dart.nullFailed(I[127], 1285, 23, "inputData"); + if (offset == null) dart.nullFailed(I[127], 1285, 38, "offset"); + if (bytes == null) dart.nullFailed(I[127], 1285, 50, "bytes"); if (dart.notNull(bytes) > dart.notNull(this.free)) { bytes = this.free; } @@ -55195,7 +59257,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return written; } writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); let written = 0; let toWrite = this.linearFree; while (dart.notNull(toWrite) > 0) { @@ -55210,7 +59272,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { return written; } readToSocket(socket) { - if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); while (true) { let toWrite = this.linearLength; if (toWrite === 0) return false; @@ -55223,7 +59285,7 @@ io._ExternalBuffer = class _ExternalBuffer extends core.Object { } }; (io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); this.data = null; this.size = size; this.start = (dart.notNull(size) / 2)[$truncate](); @@ -55249,7 +59311,7 @@ dart.setGetterSignature(io._ExternalBuffer, () => ({ free: core.int, linearFree: core.int })); -dart.setLibraryUri(io._ExternalBuffer, I[105]); +dart.setLibraryUri(io._ExternalBuffer, I[108]); dart.setFieldSignature(io._ExternalBuffer, () => ({ __proto__: dart.getFields(io._ExternalBuffer.__proto__), data: dart.fieldType(dart.nullable(core.List$(core.int))), @@ -55257,12 +59319,17 @@ dart.setFieldSignature(io._ExternalBuffer, () => ({ end: dart.fieldType(core.int), size: dart.finalFieldType(core.int) })); -io._SecureFilter = class _SecureFilter extends core.Object {}; +io._SecureFilter = class _SecureFilter extends core.Object { + static ['_#_#tearOff']() { + return io._SecureFilter.__(); + } +}; (io._SecureFilter[dart.mixinNew] = function() { }).prototype = io._SecureFilter.prototype; dart.addTypeTests(io._SecureFilter); dart.addTypeCaches(io._SecureFilter); -dart.setLibraryUri(io._SecureFilter, I[105]); +dart.setStaticMethodSignature(io._SecureFilter, () => ['__']); +dart.setLibraryUri(io._SecureFilter, I[108]); var type$3 = dart.privateName(io, "TlsException.type"); var message$6 = dart.privateName(io, "TlsException.message"); var osError$1 = dart.privateName(io, "TlsException.osError"); @@ -55285,6 +59352,15 @@ io.TlsException = class TlsException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); + return new io.TlsException.new(message, osError); + } + static ['_#_#tearOff'](type, message, osError) { + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); + return new io.TlsException.__(type, message, osError); + } toString() { let sb = new core.StringBuffer.new(); sb.write(this.type); @@ -55300,12 +59376,12 @@ io.TlsException = class TlsException extends core.Object { } }; (io.TlsException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + if (message == null) dart.nullFailed(I[127], 1371, 30, "message"); io.TlsException.__.call(this, "TlsException", message, osError); }).prototype = io.TlsException.prototype; (io.TlsException.__ = function(type, message, osError) { - if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); - if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + if (type == null) dart.nullFailed(I[127], 1374, 29, "type"); + if (message == null) dart.nullFailed(I[127], 1374, 40, "message"); this[type$3] = type; this[message$6] = message; this[osError$1] = osError; @@ -55314,7 +59390,7 @@ io.TlsException = class TlsException extends core.Object { dart.addTypeTests(io.TlsException); dart.addTypeCaches(io.TlsException); io.TlsException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.TlsException, I[105]); +dart.setLibraryUri(io.TlsException, I[108]); dart.setFieldSignature(io.TlsException, () => ({ __proto__: dart.getFields(io.TlsException.__proto__), type: dart.finalFieldType(core.String), @@ -55322,30 +59398,45 @@ dart.setFieldSignature(io.TlsException, () => ({ osError: dart.finalFieldType(dart.nullable(io.OSError)) })); dart.defineExtensionMethods(io.TlsException, ['toString']); -io.HandshakeException = class HandshakeException extends io.TlsException {}; +io.HandshakeException = class HandshakeException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); + return new io.HandshakeException.new(message, osError); + } +}; (io.HandshakeException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + if (message == null) dart.nullFailed(I[127], 1396, 36, "message"); io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); ; }).prototype = io.HandshakeException.prototype; dart.addTypeTests(io.HandshakeException); dart.addTypeCaches(io.HandshakeException); -dart.setLibraryUri(io.HandshakeException, I[105]); -io.CertificateException = class CertificateException extends io.TlsException {}; +dart.setLibraryUri(io.HandshakeException, I[108]); +io.CertificateException = class CertificateException extends io.TlsException { + static ['_#new#tearOff'](message = "", osError = null) { + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); + return new io.CertificateException.new(message, osError); + } +}; (io.CertificateException.new = function(message = "", osError = null) { - if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + if (message == null) dart.nullFailed(I[127], 1405, 38, "message"); io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); ; }).prototype = io.CertificateException.prototype; dart.addTypeTests(io.CertificateException); dart.addTypeCaches(io.CertificateException); -dart.setLibraryUri(io.CertificateException, I[105]); +dart.setLibraryUri(io.CertificateException, I[108]); io.SecurityContext = class SecurityContext extends core.Object { static new(opts) { let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; - if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); } + static ['_#new#tearOff'](opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[110], 583, 33, "withTrustedRoots"); + return io.SecurityContext.new({withTrustedRoots: withTrustedRoots}); + } static get defaultContext() { dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); } @@ -55353,7 +59444,7 @@ io.SecurityContext = class SecurityContext extends core.Object { dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); } static _protocolsToLengthEncoding(protocols) { - let t211, t211$; + let t187, t187$; if (protocols == null || protocols[$length] === 0) { return _native_typed_data.NativeUint8List.new(0); } @@ -55374,12 +59465,12 @@ io.SecurityContext = class SecurityContext extends core.Object { let bytesOffset = 0; for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { let proto = protocols[$_get](i); - bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + bytes[$_set]((t187 = bytesOffset, bytesOffset = t187 + 1, t187), proto.length); let bits = 0; for (let j = 0; j < proto.length; j = j + 1) { let char = proto[$codeUnitAt](j); bits = (bits | char) >>> 0; - bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + bytes[$_set]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); } if (bits > 127) { return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); @@ -55388,10 +59479,10 @@ io.SecurityContext = class SecurityContext extends core.Object { return bytes; } static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); function addProtocol(outBytes, protocol) { - if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); - if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + if (outBytes == null) dart.nullFailed(I[129], 244, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[129], 244, 49, "protocol"); let protocolBytes = convert.utf8.encode(protocol); let len = protocolBytes[$length]; if (dart.notNull(len) > 255) { @@ -55415,7 +59506,9 @@ io.SecurityContext = class SecurityContext extends core.Object { }).prototype = io.SecurityContext.prototype; dart.addTypeTests(io.SecurityContext); dart.addTypeCaches(io.SecurityContext); -dart.setLibraryUri(io.SecurityContext, I[105]); +dart.setStaticMethodSignature(io.SecurityContext, () => ['new', '_protocolsToLengthEncoding', '_protocolsToLengthEncodingNonAsciiBailout']); +dart.setStaticGetterSignature(io.SecurityContext, () => ['defaultContext', 'alpnSupported']); +dart.setLibraryUri(io.SecurityContext, I[108]); var __serviceId = dart.privateName(io, "__serviceId"); var _serviceId = dart.privateName(io, "_serviceId"); var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); @@ -55424,15 +59517,15 @@ var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); var _serviceType = dart.privateName(io, "_serviceType"); io._ServiceObject = class _ServiceObject extends core.Object { get [_serviceId]() { - let t211; - if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + let t187; + if (this[__serviceId] === 0) this[__serviceId] = (t187 = io._nextServiceId, io._nextServiceId = dart.notNull(t187) + 1, t187); return this[__serviceId]; } get [_servicePath]() { return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); } [_serviceType](ref) { - if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (ref == null) dart.nullFailed(I[130], 23, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); return this[_serviceTypeName]; } @@ -55452,7 +59545,7 @@ dart.setGetterSignature(io._ServiceObject, () => ({ [_serviceId]: core.int, [_servicePath]: core.String })); -dart.setLibraryUri(io._ServiceObject, I[105]); +dart.setLibraryUri(io._ServiceObject, I[108]); dart.setFieldSignature(io._ServiceObject, () => ({ __proto__: dart.getFields(io._ServiceObject.__proto__), [__serviceId]: dart.fieldType(core.int) @@ -55465,108 +59558,107 @@ io.InternetAddressType = class InternetAddressType extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); + return new io.InternetAddressType.__(_value); + } static _from(value) { - if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); } + static ['_#_from#tearOff'](value) { + if (value == null) dart.nullFailed(I[128], 23, 41, "value"); + return io.InternetAddressType._from(value); + } get name() { - return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + return (C[187] || CT.C187)[$_get](dart.notNull(this[_value$0]) + 1); } toString() { return "InternetAddressType: " + dart.str(this.name); } }; (io.InternetAddressType.__ = function(_value) { - if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + if (_value == null) dart.nullFailed(I[128], 21, 36, "_value"); this[_value$1] = _value; ; }).prototype = io.InternetAddressType.prototype; dart.addTypeTests(io.InternetAddressType); dart.addTypeCaches(io.InternetAddressType); +dart.setStaticMethodSignature(io.InternetAddressType, () => ['_from']); dart.setGetterSignature(io.InternetAddressType, () => ({ __proto__: dart.getGetters(io.InternetAddressType.__proto__), name: core.String })); -dart.setLibraryUri(io.InternetAddressType, I[105]); +dart.setLibraryUri(io.InternetAddressType, I[108]); dart.setFieldSignature(io.InternetAddressType, () => ({ __proto__: dart.getFields(io.InternetAddressType.__proto__), [_value$0]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(io.InternetAddressType, () => ['IPv4', 'IPv6', 'unix', 'any']); dart.defineExtensionMethods(io.InternetAddressType, ['toString']); dart.defineLazy(io.InternetAddressType, { /*io.InternetAddressType.IPv4*/get IPv4() { - return C[179] || CT.C179; + return C[188] || CT.C188; }, /*io.InternetAddressType.IPv6*/get IPv6() { - return C[180] || CT.C180; + return C[189] || CT.C189; }, /*io.InternetAddressType.unix*/get unix() { - return C[181] || CT.C181; + return C[190] || CT.C190; }, /*io.InternetAddressType.any*/get any() { - return C[182] || CT.C182; - }, - /*io.InternetAddressType.IP_V4*/get IP_V4() { - return C[179] || CT.C179; - }, - /*io.InternetAddressType.IP_V6*/get IP_V6() { - return C[180] || CT.C180; - }, - /*io.InternetAddressType.ANY*/get ANY() { - return C[182] || CT.C182; + return C[191] || CT.C191; } }, false); io.InternetAddress = class InternetAddress extends core.Object { static get loopbackIPv4() { - return io.InternetAddress.LOOPBACK_IP_V4; - } - static get LOOPBACK_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); } static get loopbackIPv6() { - return io.InternetAddress.LOOPBACK_IP_V6; - } - static get LOOPBACK_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); } static get anyIPv4() { - return io.InternetAddress.ANY_IP_V4; - } - static get ANY_IP_V4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); } static get anyIPv6() { - return io.InternetAddress.ANY_IP_V6; - } - static get ANY_IP_V6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); } static new(address, opts) { - if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress")); } + static ['_#new#tearOff'](address, opts) { + if (address == null) dart.nullFailed(I[110], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.new(address, {type: type}); + } static fromRawAddress(rawAddress, opts) { - if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); let type = opts && 'type' in opts ? opts.type : null; dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); } + static ['_#fromRawAddress#tearOff'](rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[110], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + return io.InternetAddress.fromRawAddress(rawAddress, {type: type}); + } static lookup(host, opts) { - if (host == null) dart.nullFailed(I[107], 423, 54, "host"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + if (host == null) dart.nullFailed(I[110], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 424, 28, "type"); dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); } static _cloneWithNewHost(address, host) { - if (address == null) dart.nullFailed(I[107], 430, 23, "address"); - if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + if (address == null) dart.nullFailed(I[110], 430, 23, "address"); + if (host == null) dart.nullFailed(I[110], 430, 39, "host"); dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); } static tryParse(address) { - if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + if (address == null) dart.nullFailed(I[110], 435, 43, "address"); dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); } }; @@ -55574,18 +59666,20 @@ io.InternetAddress = class InternetAddress extends core.Object { }).prototype = io.InternetAddress.prototype; dart.addTypeTests(io.InternetAddress); dart.addTypeCaches(io.InternetAddress); -dart.setLibraryUri(io.InternetAddress, I[105]); +dart.setStaticMethodSignature(io.InternetAddress, () => ['new', 'fromRawAddress', 'lookup', '_cloneWithNewHost', 'tryParse']); +dart.setStaticGetterSignature(io.InternetAddress, () => ['loopbackIPv4', 'loopbackIPv6', 'anyIPv4', 'anyIPv6']); +dart.setLibraryUri(io.InternetAddress, I[108]); io.NetworkInterface = class NetworkInterface extends core.Object { static get listSupported() { dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); } static list(opts) { let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; - if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + if (includeLoopback == null) dart.nullFailed(I[110], 449, 13, "includeLoopback"); let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); - let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; - if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + if (includeLinkLocal == null) dart.nullFailed(I[110], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[191] || CT.C191; + if (type == null) dart.nullFailed(I[110], 451, 27, "type"); dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); } }; @@ -55594,16 +59688,18 @@ io.NetworkInterface = class NetworkInterface extends core.Object { }).prototype = io.NetworkInterface.prototype; dart.addTypeTests(io.NetworkInterface); dart.addTypeCaches(io.NetworkInterface); -dart.setLibraryUri(io.NetworkInterface, I[105]); +dart.setStaticMethodSignature(io.NetworkInterface, () => ['list']); +dart.setStaticGetterSignature(io.NetworkInterface, () => ['listSupported']); +dart.setLibraryUri(io.NetworkInterface, I[108]); io.RawServerSocket = class RawServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + if (port == null) dart.nullFailed(I[110], 459, 52, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 460, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 460, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); } }; @@ -55614,16 +59710,17 @@ io.RawServerSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.RawServerSocket); dart.addTypeCaches(io.RawServerSocket); io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; -dart.setLibraryUri(io.RawServerSocket, I[105]); +dart.setStaticMethodSignature(io.RawServerSocket, () => ['bind']); +dart.setLibraryUri(io.RawServerSocket, I[108]); io.ServerSocket = class ServerSocket extends core.Object { static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + if (port == null) dart.nullFailed(I[128], 303, 49, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[128], 304, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[128], 304, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + if (shared == null) dart.nullFailed(I[128], 304, 51, "shared"); let overrides = io.IOOverrides.current; if (overrides == null) { return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); @@ -55631,24 +59728,24 @@ io.ServerSocket = class ServerSocket extends core.Object { return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); } static _bind(address, port, opts) { - if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + if (port == null) dart.nullFailed(I[110], 468, 50, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + if (backlog == null) dart.nullFailed(I[110], 469, 12, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + if (v6Only == null) dart.nullFailed(I[110], 469, 30, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + if (shared == null) dart.nullFailed(I[110], 469, 51, "shared"); dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); } }; (io.ServerSocket.new = function() { ; }).prototype = io.ServerSocket.prototype; -io.ServerSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.ServerSocket); dart.addTypeCaches(io.ServerSocket); -io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; -dart.setLibraryUri(io.ServerSocket, I[105]); +io.ServerSocket[dart.implements] = () => [_http.ServerSocketBase$(io.Socket)]; +dart.setStaticMethodSignature(io.ServerSocket, () => ['bind', '_bind']); +dart.setLibraryUri(io.ServerSocket, I[108]); var _value$2 = dart.privateName(io, "SocketDirection._value"); io.SocketDirection = class SocketDirection extends core.Object { get [_value$0]() { @@ -55657,6 +59754,9 @@ io.SocketDirection = class SocketDirection extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketDirection.__(_value); + } }; (io.SocketDirection.__ = function(_value) { this[_value$2] = _value; @@ -55664,29 +59764,21 @@ io.SocketDirection = class SocketDirection extends core.Object { }).prototype = io.SocketDirection.prototype; dart.addTypeTests(io.SocketDirection); dart.addTypeCaches(io.SocketDirection); -dart.setLibraryUri(io.SocketDirection, I[105]); +dart.setLibraryUri(io.SocketDirection, I[108]); dart.setFieldSignature(io.SocketDirection, () => ({ __proto__: dart.getFields(io.SocketDirection.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(io.SocketDirection, () => ['receive', 'send', 'both']); dart.defineLazy(io.SocketDirection, { /*io.SocketDirection.receive*/get receive() { - return C[183] || CT.C183; + return C[192] || CT.C192; }, /*io.SocketDirection.send*/get send() { - return C[184] || CT.C184; + return C[193] || CT.C193; }, /*io.SocketDirection.both*/get both() { - return C[185] || CT.C185; - }, - /*io.SocketDirection.RECEIVE*/get RECEIVE() { - return C[183] || CT.C183; - }, - /*io.SocketDirection.SEND*/get SEND() { - return C[184] || CT.C184; - }, - /*io.SocketDirection.BOTH*/get BOTH() { - return C[185] || CT.C185; + return C[194] || CT.C194; } }, false); var _value$3 = dart.privateName(io, "SocketOption._value"); @@ -55697,6 +59789,9 @@ io.SocketOption = class SocketOption extends core.Object { set [_value$0](value) { super[_value$0] = value; } + static ['_#_#tearOff'](_value) { + return new io.SocketOption.__(_value); + } }; (io.SocketOption.__ = function(_value) { this[_value$3] = _value; @@ -55704,60 +59799,74 @@ io.SocketOption = class SocketOption extends core.Object { }).prototype = io.SocketOption.prototype; dart.addTypeTests(io.SocketOption); dart.addTypeCaches(io.SocketOption); -dart.setLibraryUri(io.SocketOption, I[105]); +dart.setLibraryUri(io.SocketOption, I[108]); dart.setFieldSignature(io.SocketOption, () => ({ __proto__: dart.getFields(io.SocketOption.__proto__), [_value$0]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(io.SocketOption, () => ['tcpNoDelay', '_ipMulticastLoop', '_ipMulticastHops', '_ipMulticastIf', '_ipBroadcast']); dart.defineLazy(io.SocketOption, { /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { - return C[186] || CT.C186; - }, - /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { - return C[186] || CT.C186; + return C[195] || CT.C195; }, /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[187] || CT.C187; + return C[196] || CT.C196; }, /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[188] || CT.C188; + return C[197] || CT.C197; }, /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[189] || CT.C189; + return C[198] || CT.C198; }, /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[190] || CT.C190; + return C[199] || CT.C199; } }, false); -io._RawSocketOptions = class _RawSocketOptions extends core.Object { - toString() { - return this[_name$4]; +io._RawSocketOptions = class _RawSocketOptions extends core._Enum { + [_enumToString]() { + return "_RawSocketOptions." + dart.str(this[_name$4]); } }; -(io._RawSocketOptions.new = function(index, _name) { - if (index == null) dart.nullFailed(I[125], 390, 6, "index"); - if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); - this.index = index; - this[_name$4] = _name; +(io._RawSocketOptions.new = function(index, name) { + if (index == null) dart.nullFailed(I[128], 366, 6, "#index"); + if (name == null) dart.nullFailed(I[128], 366, 6, "#name"); + io._RawSocketOptions.__proto__.new.call(this, index, name); ; }).prototype = io._RawSocketOptions.prototype; dart.addTypeTests(io._RawSocketOptions); dart.addTypeCaches(io._RawSocketOptions); -dart.setLibraryUri(io._RawSocketOptions, I[105]); -dart.setFieldSignature(io._RawSocketOptions, () => ({ - __proto__: dart.getFields(io._RawSocketOptions.__proto__), - index: dart.finalFieldType(core.int), - [_name$4]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); -io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; -io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; -io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; -io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; -io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; -io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; -io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; -io._RawSocketOptions.values = C[198] || CT.C198; +dart.setMethodSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getMethods(io._RawSocketOptions.__proto__), + [_enumToString]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io._RawSocketOptions, I[108]); +dart.setStaticFieldSignature(io._RawSocketOptions, () => ['values', 'SOL_SOCKET', 'IPPROTO_IP', 'IP_MULTICAST_IF', 'IPPROTO_IPV6', 'IPV6_MULTICAST_IF', 'IPPROTO_TCP', 'IPPROTO_UDP']); +dart.defineLazy(io._RawSocketOptions, { + /*io._RawSocketOptions.values*/get values() { + return C[200] || CT.C200; + }, + /*io._RawSocketOptions.SOL_SOCKET*/get SOL_SOCKET() { + return C[201] || CT.C201; + }, + /*io._RawSocketOptions.IPPROTO_IP*/get IPPROTO_IP() { + return C[202] || CT.C202; + }, + /*io._RawSocketOptions.IP_MULTICAST_IF*/get IP_MULTICAST_IF() { + return C[203] || CT.C203; + }, + /*io._RawSocketOptions.IPPROTO_IPV6*/get IPPROTO_IPV6() { + return C[204] || CT.C204; + }, + /*io._RawSocketOptions.IPV6_MULTICAST_IF*/get IPV6_MULTICAST_IF() { + return C[205] || CT.C205; + }, + /*io._RawSocketOptions.IPPROTO_TCP*/get IPPROTO_TCP() { + return C[206] || CT.C206; + }, + /*io._RawSocketOptions.IPPROTO_UDP*/get IPPROTO_UDP() { + return C[207] || CT.C207; + } +}, false); var level$2 = dart.privateName(io, "RawSocketOption.level"); var option$ = dart.privateName(io, "RawSocketOption.option"); var value$3 = dart.privateName(io, "RawSocketOption.value"); @@ -55780,21 +59889,39 @@ io.RawSocketOption = class RawSocketOption extends core.Object { set value(value) { super.value = value; } + static ['_#new#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); + return new io.RawSocketOption.new(level, option, value); + } static fromInt(level, option, value) { - if (level == null) dart.nullFailed(I[125], 426, 39, "level"); - if (option == null) dart.nullFailed(I[125], 426, 50, "option"); - if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); let list = _native_typed_data.NativeUint8List.new(4); let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); buffer[$setInt32](0, value, typed_data.Endian.host); return new io.RawSocketOption.new(level, option, list); } + static ['_#fromInt#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 402, 39, "level"); + if (option == null) dart.nullFailed(I[128], 402, 50, "option"); + if (value == null) dart.nullFailed(I[128], 402, 62, "value"); + return io.RawSocketOption.fromInt(level, option, value); + } static fromBool(level, option, value) { - if (level == null) dart.nullFailed(I[125], 434, 40, "level"); - if (option == null) dart.nullFailed(I[125], 434, 51, "option"); - if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); } + static ['_#fromBool#tearOff'](level, option, value) { + if (level == null) dart.nullFailed(I[128], 410, 40, "level"); + if (option == null) dart.nullFailed(I[128], 410, 51, "option"); + if (value == null) dart.nullFailed(I[128], 410, 64, "value"); + return io.RawSocketOption.fromBool(level, option, value); + } static get levelSocket() { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); } @@ -55817,14 +59944,14 @@ io.RawSocketOption = class RawSocketOption extends core.Object { return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); } static _getOptionValue(key) { - if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + if (key == null) dart.nullFailed(I[110], 575, 34, "key"); dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); } }; (io.RawSocketOption.new = function(level, option, value) { - if (level == null) dart.nullFailed(I[125], 423, 30, "level"); - if (option == null) dart.nullFailed(I[125], 423, 42, "option"); - if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + if (level == null) dart.nullFailed(I[128], 399, 30, "level"); + if (option == null) dart.nullFailed(I[128], 399, 42, "option"); + if (value == null) dart.nullFailed(I[128], 399, 55, "value"); this[level$2] = level; this[option$] = option; this[value$3] = value; @@ -55832,7 +59959,9 @@ io.RawSocketOption = class RawSocketOption extends core.Object { }).prototype = io.RawSocketOption.prototype; dart.addTypeTests(io.RawSocketOption); dart.addTypeCaches(io.RawSocketOption); -dart.setLibraryUri(io.RawSocketOption, I[105]); +dart.setStaticMethodSignature(io.RawSocketOption, () => ['fromInt', 'fromBool', '_getOptionValue']); +dart.setStaticGetterSignature(io.RawSocketOption, () => ['levelSocket', 'levelIPv4', 'IPv4MulticastInterface', 'levelIPv6', 'IPv6MulticastInterface', 'levelTcp', 'levelUdp']); +dart.setLibraryUri(io.RawSocketOption, I[108]); dart.setFieldSignature(io.RawSocketOption, () => ({ __proto__: dart.getFields(io.RawSocketOption.__proto__), level: dart.finalFieldType(core.int), @@ -55849,13 +59978,18 @@ io.ConnectionTask$ = dart.generic(S => { set socket(value) { super.socket = value; } + static ['_#_#tearOff'](S, socket, onCancel) { + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); + return new (io.ConnectionTask$(S)).__(socket, onCancel); + } cancel() { this[_onCancel$](); } } (ConnectionTask.__ = function(socket, onCancel) { - if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + if (socket == null) dart.nullFailed(I[128], 509, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); this[socket$] = socket; this[_onCancel$] = onCancel; ; @@ -55867,7 +60001,7 @@ io.ConnectionTask$ = dart.generic(S => { __proto__: dart.getMethods(ConnectionTask.__proto__), cancel: dart.fnType(dart.void, []) })); - dart.setLibraryUri(ConnectionTask, I[105]); + dart.setLibraryUri(ConnectionTask, I[108]); dart.setFieldSignature(ConnectionTask, () => ({ __proto__: dart.getFields(ConnectionTask.__proto__), socket: dart.finalFieldType(async.Future$(S)), @@ -55879,14 +60013,18 @@ io.ConnectionTask = io.ConnectionTask$(); dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); io.RawSocket = class RawSocket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + if (port == null) dart.nullFailed(I[110], 477, 54, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 478, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + if (port == null) dart.nullFailed(I[110], 483, 75, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 484, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("RawSocket constructor")); } }; @@ -55897,36 +60035,45 @@ io.RawSocket.prototype[dart.isStream] = true; dart.addTypeTests(io.RawSocket); dart.addTypeCaches(io.RawSocket); io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; -dart.setLibraryUri(io.RawSocket, I[105]); +dart.setStaticMethodSignature(io.RawSocket, () => ['connect', 'startConnect']); +dart.setLibraryUri(io.RawSocket, I[108]); io.Socket = class Socket extends core.Object { static connect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + if (port == null) dart.nullFailed(I[128], 743, 43, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 744, 27, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); } static startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + if (port == null) dart.nullFailed(I[128], 759, 64, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[128], 760, 27, "sourcePort"); let overrides = io.IOOverrides.current; if (overrides == null) { - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); } static _connect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + if (port == null) dart.nullFailed(I[110], 492, 52, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 493, 35, "sourcePort"); let timeout = opts && 'timeout' in opts ? opts.timeout : null; dart.throw(new core.UnsupportedError.new("Socket constructor")); } static _startConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + if (port == null) dart.nullFailed(I[110], 498, 73, "port"); let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let sourcePort = opts && 'sourcePort' in opts ? opts.sourcePort : 0; + if (sourcePort == null) dart.nullFailed(I[110], 499, 35, "sourcePort"); dart.throw(new core.UnsupportedError.new("Socket constructor")); } }; @@ -55937,7 +60084,8 @@ io.Socket.prototype[dart.isStream] = true; dart.addTypeTests(io.Socket); dart.addTypeCaches(io.Socket); io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; -dart.setLibraryUri(io.Socket, I[105]); +dart.setStaticMethodSignature(io.Socket, () => ['connect', 'startConnect', '_connect', '_startConnect']); +dart.setLibraryUri(io.Socket, I[108]); var data$ = dart.privateName(io, "Datagram.data"); var address$ = dart.privateName(io, "Datagram.address"); var port$ = dart.privateName(io, "Datagram.port"); @@ -55946,25 +60094,34 @@ io.Datagram = class Datagram extends core.Object { return this[data$]; } set data(value) { + if (value == null) dart.nullFailed(I[128], 845, 13, "data"); this[data$] = value; } get address() { return this[address$]; } set address(value) { + if (value == null) dart.nullFailed(I[128], 848, 19, "address"); this[address$] = value; } get port() { return this[port$]; } set port(value) { + if (value == null) dart.nullFailed(I[128], 851, 7, "port"); this[port$] = value; } + static ['_#new#tearOff'](data, address, port) { + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); + return new io.Datagram.new(data, address, port); + } }; (io.Datagram.new = function(data, address, port) { - if (data == null) dart.nullFailed(I[125], 825, 17, "data"); - if (address == null) dart.nullFailed(I[125], 825, 28, "address"); - if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + if (data == null) dart.nullFailed(I[128], 853, 17, "data"); + if (address == null) dart.nullFailed(I[128], 853, 28, "address"); + if (port == null) dart.nullFailed(I[128], 853, 42, "port"); this[data$] = data; this[address$] = address; this[port$] = port; @@ -55972,13 +60129,137 @@ io.Datagram = class Datagram extends core.Object { }).prototype = io.Datagram.prototype; dart.addTypeTests(io.Datagram); dart.addTypeCaches(io.Datagram); -dart.setLibraryUri(io.Datagram, I[105]); +dart.setLibraryUri(io.Datagram, I[108]); dart.setFieldSignature(io.Datagram, () => ({ __proto__: dart.getFields(io.Datagram.__proto__), data: dart.fieldType(typed_data.Uint8List), address: dart.fieldType(io.InternetAddress), port: dart.fieldType(core.int) })); +io.ResourceHandle = class ResourceHandle extends core.Object { + static fromFile(file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromFile constructor")); + } + static ['_#fromFile#tearOff'](file) { + if (file == null) dart.nullFailed(I[110], 515, 52, "file"); + return io.ResourceHandle.fromFile(file); + } + static fromSocket(socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromSocket constructor")); + } + static ['_#fromSocket#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[110], 520, 44, "socket"); + return io.ResourceHandle.fromSocket(socket); + } + static fromRawSocket(rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawSocket constructor")); + } + static ['_#fromRawSocket#tearOff'](rawSocket) { + if (rawSocket == null) dart.nullFailed(I[110], 525, 50, "rawSocket"); + return io.ResourceHandle.fromRawSocket(rawSocket); + } + static fromRawDatagramSocket(rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromRawDatagramSocket constructor")); + } + static ['_#fromRawDatagramSocket#tearOff'](rawDatagramSocket) { + if (rawDatagramSocket == null) dart.nullFailed(I[110], 531, 25, "rawDatagramSocket"); + return io.ResourceHandle.fromRawDatagramSocket(rawDatagramSocket); + } + static fromStdin(stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdin constructor")); + } + static ['_#fromStdin#tearOff'](stdin) { + if (stdin == null) dart.nullFailed(I[110], 536, 42, "stdin"); + return io.ResourceHandle.fromStdin(stdin); + } + static fromStdout(stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromStdout constructor")); + } + static ['_#fromStdout#tearOff'](stdout) { + if (stdout == null) dart.nullFailed(I[110], 541, 44, "stdout"); + return io.ResourceHandle.fromStdout(stdout); + } + static fromReadPipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromReadPipe constructor")); + } + static ['_#fromReadPipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 546, 48, "pipe"); + return io.ResourceHandle.fromReadPipe(pipe); + } + static fromWritePipe(pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + dart.throw(new core.UnsupportedError.new("ResourceHandle.fromWritePipe constructor")); + } + static ['_#fromWritePipe#tearOff'](pipe) { + if (pipe == null) dart.nullFailed(I[110], 551, 50, "pipe"); + return io.ResourceHandle.fromWritePipe(pipe); + } +}; +(io.ResourceHandle[dart.mixinNew] = function() { +}).prototype = io.ResourceHandle.prototype; +dart.addTypeTests(io.ResourceHandle); +dart.addTypeCaches(io.ResourceHandle); +dart.setStaticMethodSignature(io.ResourceHandle, () => ['fromFile', 'fromSocket', 'fromRawSocket', 'fromRawDatagramSocket', 'fromStdin', 'fromStdout', 'fromReadPipe', 'fromWritePipe']); +dart.setLibraryUri(io.ResourceHandle, I[108]); +io.SocketControlMessage = class SocketControlMessage extends core.Object { + static fromHandles(handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + dart.throw(new core.UnsupportedError.new("SocketControlMessage constructor")); + } + static ['_#fromHandles#tearOff'](handles) { + if (handles == null) dart.nullFailed(I[110], 507, 65, "handles"); + return io.SocketControlMessage.fromHandles(handles); + } +}; +(io.SocketControlMessage[dart.mixinNew] = function() { +}).prototype = io.SocketControlMessage.prototype; +dart.addTypeTests(io.SocketControlMessage); +dart.addTypeCaches(io.SocketControlMessage); +dart.setStaticMethodSignature(io.SocketControlMessage, () => ['fromHandles']); +dart.setLibraryUri(io.SocketControlMessage, I[108]); +var data$0 = dart.privateName(io, "SocketMessage.data"); +var controlMessages$ = dart.privateName(io, "SocketMessage.controlMessages"); +io.SocketMessage = class SocketMessage extends core.Object { + get data() { + return this[data$0]; + } + set data(value) { + super.data = value; + } + get controlMessages() { + return this[controlMessages$]; + } + set controlMessages(value) { + super.controlMessages = value; + } + static ['_#new#tearOff'](data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + return new io.SocketMessage.new(data, controlMessages); + } +}; +(io.SocketMessage.new = function(data, controlMessages) { + if (data == null) dart.nullFailed(I[128], 1017, 22, "data"); + if (controlMessages == null) dart.nullFailed(I[128], 1017, 33, "controlMessages"); + this[data$0] = data; + this[controlMessages$] = controlMessages; + ; +}).prototype = io.SocketMessage.prototype; +dart.addTypeTests(io.SocketMessage); +dart.addTypeCaches(io.SocketMessage); +dart.setLibraryUri(io.SocketMessage, I[108]); +dart.setFieldSignature(io.SocketMessage, () => ({ + __proto__: dart.getFields(io.SocketMessage.__proto__), + data: dart.finalFieldType(typed_data.Uint8List), + controlMessages: dart.finalFieldType(core.List$(io.SocketControlMessage)) +})); var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { get multicastInterface() { @@ -55988,13 +60269,13 @@ io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocke this[multicastInterface] = value; } static bind(host, port, opts) { - if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + if (port == null) dart.nullFailed(I[110], 609, 59, "port"); let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; - if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + if (reuseAddress == null) dart.nullFailed(I[110], 610, 13, "reuseAddress"); let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + if (reusePort == null) dart.nullFailed(I[110], 610, 39, "reusePort"); let ttl = opts && 'ttl' in opts ? opts.ttl : 1; - if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + if (ttl == null) dart.nullFailed(I[110], 610, 62, "ttl"); dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); } }; @@ -56005,7 +60286,8 @@ io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocke }).prototype = io.RawDatagramSocket.prototype; dart.addTypeTests(io.RawDatagramSocket); dart.addTypeCaches(io.RawDatagramSocket); -dart.setLibraryUri(io.RawDatagramSocket, I[105]); +dart.setStaticMethodSignature(io.RawDatagramSocket, () => ['bind']); +dart.setLibraryUri(io.RawDatagramSocket, I[108]); dart.setFieldSignature(io.RawDatagramSocket, () => ({ __proto__: dart.getFields(io.RawDatagramSocket.__proto__), multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) @@ -56039,6 +60321,16 @@ io.SocketException = class SocketException extends core.Object { set port(value) { super.port = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + return new io.SocketException.new(message, {osError: osError, address: address, port: port}); + } + static ['_#closed#tearOff']() { + return new io.SocketException.closed(); + } toString() { let sb = new core.StringBuffer.new(); sb.write("SocketException"); @@ -56060,7 +60352,7 @@ io.SocketException = class SocketException extends core.Object { } }; (io.SocketException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + if (message == null) dart.nullFailed(I[128], 1177, 30, "message"); let osError = opts && 'osError' in opts ? opts.osError : null; let address = opts && 'address' in opts ? opts.address : null; let port = opts && 'port' in opts ? opts.port : null; @@ -56080,7 +60372,7 @@ io.SocketException = class SocketException extends core.Object { dart.addTypeTests(io.SocketException); dart.addTypeCaches(io.SocketException); io.SocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SocketException, I[105]); +dart.setLibraryUri(io.SocketException, I[108]); dart.setFieldSignature(io.SocketException, () => ({ __proto__: dart.getFields(io.SocketException.__proto__), message: dart.finalFieldType(core.String), @@ -56091,6 +60383,10 @@ dart.setFieldSignature(io.SocketException, () => ({ dart.defineExtensionMethods(io.SocketException, ['toString']); var _stream$0 = dart.privateName(io, "_stream"); io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + static ['_#new#tearOff'](_stream) { + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); + return new io._StdStream.new(_stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -56099,7 +60395,7 @@ io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { } }; (io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); this[_stream$0] = _stream; io._StdStream.__proto__.new.call(this); ; @@ -56110,18 +60406,23 @@ dart.setMethodSignature(io._StdStream, () => ({ __proto__: dart.getMethods(io._StdStream.__proto__), listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); -dart.setLibraryUri(io._StdStream, I[105]); +dart.setLibraryUri(io._StdStream, I[108]); dart.setFieldSignature(io._StdStream, () => ({ __proto__: dart.getFields(io._StdStream.__proto__), [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) })); var _fd$ = dart.privateName(io, "_fd"); io.Stdin = class Stdin extends io._StdStream { + static ['_#_#tearOff'](stream, _fd) { + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); + return new io.Stdin.__(stream, _fd); + } readLineSync(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; - if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[152] || CT.C152; + if (encoding == null) dart.nullFailed(I[131], 57, 17, "encoding"); let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; - if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + if (retainNewlines == null) dart.nullFailed(I[131], 57, 49, "retainNewlines"); let line = T$.JSArrayOfint().of([]); let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); if (dart.test(retainNewlines)) { @@ -56171,14 +60472,21 @@ io.Stdin = class Stdin extends io._StdStream { dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } set echoMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 696, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); } + get echoNewlineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } + set echoNewlineMode(enabled) { + if (enabled == null) dart.nullFailed(I[110], 706, 33, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoNewlineMode")); + } get lineMode() { dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } set lineMode(enabled) { - if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + if (enabled == null) dart.nullFailed(I[110], 716, 26, "enabled"); dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); } get supportsAnsiEscapes() { @@ -56200,8 +60508,8 @@ io.Stdin = class Stdin extends io._StdStream { } }; (io.Stdin.__ = function(stream, _fd) { - if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); - if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + if (stream == null) dart.nullFailed(I[131], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[131], 36, 42, "_fd"); this[_fd$] = _fd; io.Stdin.__proto__.new.call(this, stream); ; @@ -56218,6 +60526,7 @@ dart.setMethodSignature(io.Stdin, () => ({ dart.setGetterSignature(io.Stdin, () => ({ __proto__: dart.getGetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool, supportsAnsiEscapes: core.bool, hasTerminal: core.bool @@ -56225,9 +60534,10 @@ dart.setGetterSignature(io.Stdin, () => ({ dart.setSetterSignature(io.Stdin, () => ({ __proto__: dart.getSetters(io.Stdin.__proto__), echoMode: core.bool, + echoNewlineMode: core.bool, lineMode: core.bool })); -dart.setLibraryUri(io.Stdin, I[105]); +dart.setLibraryUri(io.Stdin, I[108]); dart.setFieldSignature(io.Stdin, () => ({ __proto__: dart.getFields(io.Stdin.__proto__), [_fd$]: dart.fieldType(core.int) @@ -56237,11 +60547,15 @@ var _hasTerminal = dart.privateName(io, "_hasTerminal"); var _terminalColumns = dart.privateName(io, "_terminalColumns"); var _terminalLines = dart.privateName(io, "_terminalLines"); io._StdSink = class _StdSink extends core.Object { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); + return new io._StdSink.new(_sink); + } get encoding() { return this[_sink$1].encoding; } set encoding(encoding) { - if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + if (encoding == null) dart.nullFailed(I[131], 333, 30, "encoding"); this[_sink$1].encoding = encoding; } write(object) { @@ -56251,26 +60565,26 @@ io._StdSink = class _StdSink extends core.Object { this[_sink$1].writeln(object); } writeAll(objects, sep = "") { - if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); - if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + if (objects == null) dart.nullFailed(I[131], 345, 26, "objects"); + if (sep == null) dart.nullFailed(I[131], 345, 43, "sep"); this[_sink$1].writeAll(objects, sep); } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + if (data == null) dart.nullFailed(I[131], 349, 22, "data"); this[_sink$1].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + if (error == null) dart.nullFailed(I[131], 353, 17, "error"); this[_sink$1].addError(error, stackTrace); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[131], 357, 26, "charCode"); this[_sink$1].writeCharCode(charCode); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 361, 38, "stream"); return this[_sink$1].addStream(stream); } flush() { @@ -56284,7 +60598,7 @@ io._StdSink = class _StdSink extends core.Object { } }; (io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._StdSink.prototype; @@ -56312,12 +60626,17 @@ dart.setSetterSignature(io._StdSink, () => ({ __proto__: dart.getSetters(io._StdSink.__proto__), encoding: convert.Encoding })); -dart.setLibraryUri(io._StdSink, I[105]); +dart.setLibraryUri(io._StdSink, I[108]); dart.setFieldSignature(io._StdSink, () => ({ __proto__: dart.getFields(io._StdSink.__proto__), [_sink$1]: dart.finalFieldType(io.IOSink) })); io.Stdout = class Stdout extends io._StdSink { + static ['_#_#tearOff'](sink, _fd) { + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); + return new io.Stdout.__(sink, _fd); + } get hasTerminal() { return this[_hasTerminal](this[_fd$]); } @@ -56331,30 +60650,30 @@ io.Stdout = class Stdout extends io._StdSink { return io.Stdout._supportsAnsiEscapes(this[_fd$]); } [_hasTerminal](fd) { - if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + if (fd == null) dart.nullFailed(I[110], 729, 25, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); } [_terminalColumns](fd) { - if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + if (fd == null) dart.nullFailed(I[110], 734, 28, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); } [_terminalLines](fd) { - if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + if (fd == null) dart.nullFailed(I[110], 739, 26, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); } static _supportsAnsiEscapes(fd) { - if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + if (fd == null) dart.nullFailed(I[110], 744, 40, "fd"); dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); } get nonBlocking() { - let t212; - t212 = this[_nonBlocking]; - return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + let t190; + t190 = this[_nonBlocking]; + return t190 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t190; } }; (io.Stdout.__ = function(sink, _fd) { - if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); - if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + if (sink == null) dart.nullFailed(I[131], 219, 19, "sink"); + if (_fd == null) dart.nullFailed(I[131], 219, 30, "_fd"); this[_nonBlocking] = null; this[_fd$] = _fd; io.Stdout.__proto__.new.call(this, sink); @@ -56369,6 +60688,7 @@ dart.setMethodSignature(io.Stdout, () => ({ [_terminalColumns]: dart.fnType(core.int, [core.int]), [_terminalLines]: dart.fnType(core.int, [core.int]) })); +dart.setStaticMethodSignature(io.Stdout, () => ['_supportsAnsiEscapes']); dart.setGetterSignature(io.Stdout, () => ({ __proto__: dart.getGetters(io.Stdout.__proto__), hasTerminal: core.bool, @@ -56377,7 +60697,7 @@ dart.setGetterSignature(io.Stdout, () => ({ supportsAnsiEscapes: core.bool, nonBlocking: io.IOSink })); -dart.setLibraryUri(io.Stdout, I[105]); +dart.setLibraryUri(io.Stdout, I[108]); dart.setFieldSignature(io.Stdout, () => ({ __proto__: dart.getFields(io.Stdout.__proto__), [_fd$]: dart.finalFieldType(core.int), @@ -56398,12 +60718,16 @@ io.StdoutException = class StdoutException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); + return new io.StdoutException.new(message, osError); + } toString() { return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdoutException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + if (message == null) dart.nullFailed(I[131], 277, 30, "message"); this[message$8] = message; this[osError$3] = osError; ; @@ -56411,7 +60735,7 @@ io.StdoutException = class StdoutException extends core.Object { dart.addTypeTests(io.StdoutException); dart.addTypeCaches(io.StdoutException); io.StdoutException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdoutException, I[105]); +dart.setLibraryUri(io.StdoutException, I[108]); dart.setFieldSignature(io.StdoutException, () => ({ __proto__: dart.getFields(io.StdoutException.__proto__), message: dart.finalFieldType(core.String), @@ -56433,12 +60757,16 @@ io.StdinException = class StdinException extends core.Object { set osError(value) { super.osError = value; } + static ['_#new#tearOff'](message, osError = null) { + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); + return new io.StdinException.new(message, osError); + } toString() { return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); } }; (io.StdinException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + if (message == null) dart.nullFailed(I[131], 292, 29, "message"); this[message$9] = message; this[osError$4] = osError; ; @@ -56446,7 +60774,7 @@ io.StdinException = class StdinException extends core.Object { dart.addTypeTests(io.StdinException); dart.addTypeCaches(io.StdinException); io.StdinException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdinException, I[105]); +dart.setLibraryUri(io.StdinException, I[108]); dart.setFieldSignature(io.StdinException, () => ({ __proto__: dart.getFields(io.StdinException.__proto__), message: dart.finalFieldType(core.String), @@ -56454,34 +60782,47 @@ dart.setFieldSignature(io.StdinException, () => ({ })); dart.defineExtensionMethods(io.StdinException, ['toString']); io._StdConsumer = class _StdConsumer extends core.Object { + static ['_#new#tearOff'](fd) { + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); + return new io._StdConsumer.new(fd); + } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + if (stream == null) dart.nullFailed(I[131], 304, 38, "stream"); let completer = async.Completer.new(); let sub = null; - sub = stream.listen(dart.fn(data => { - if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + let sub$35isSet = false; + function sub$35get() { + return sub$35isSet ? sub : dart.throw(new _internal.LateError.localNI("sub")); + } + function sub$35set(sub$35param) { + if (sub$35param == null) dart.nullFailed(I[131], 306, 40, "sub#param"); + sub$35isSet = true; + return sub = sub$35param; + } + sub$35set(stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[131], 307, 26, "data"); try { - dart.dsend(this[_file], 'writeFromSync', [data]); + this[_file].writeFromSync(data); } catch (e$) { let e = dart.getThrown(e$); let s = dart.stackTrace(e$); if (core.Object.is(e)) { - dart.dsend(sub, 'cancel', []); + sub$35get().cancel(); completer.completeError(e, s); } else throw e$; } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); return completer.future; } close() { - dart.dsend(this[_file], 'closeSync', []); + this[_file].closeSync(); return async.Future.value(); } }; (io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); this[_file] = io._File._openStdioSync(fd); ; }).prototype = io._StdConsumer.prototype; @@ -56493,10 +60834,10 @@ dart.setMethodSignature(io._StdConsumer, () => ({ addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []) })); -dart.setLibraryUri(io._StdConsumer, I[105]); +dart.setLibraryUri(io._StdConsumer, I[108]); dart.setFieldSignature(io._StdConsumer, () => ({ __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(dart.dynamic) + [_file]: dart.finalFieldType(io.RandomAccessFile) })); var name$11 = dart.privateName(io, "StdioType.name"); io.StdioType = class StdioType extends core.Object { @@ -56506,99 +60847,99 @@ io.StdioType = class StdioType extends core.Object { set name(value) { super.name = value; } + static ['_#_#tearOff'](name) { + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); + return new io.StdioType.__(name); + } toString() { return "StdioType: " + dart.str(this.name); } }; (io.StdioType.__ = function(name) { - if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + if (name == null) dart.nullFailed(I[131], 375, 26, "name"); this[name$11] = name; ; }).prototype = io.StdioType.prototype; dart.addTypeTests(io.StdioType); dart.addTypeCaches(io.StdioType); -dart.setLibraryUri(io.StdioType, I[105]); +dart.setLibraryUri(io.StdioType, I[108]); dart.setFieldSignature(io.StdioType, () => ({ __proto__: dart.getFields(io.StdioType.__proto__), name: dart.finalFieldType(core.String) })); +dart.setStaticFieldSignature(io.StdioType, () => ['terminal', 'pipe', 'file', 'other']); dart.defineExtensionMethods(io.StdioType, ['toString']); dart.defineLazy(io.StdioType, { /*io.StdioType.terminal*/get terminal() { - return C[199] || CT.C199; + return C[208] || CT.C208; }, /*io.StdioType.pipe*/get pipe() { - return C[200] || CT.C200; + return C[209] || CT.C209; }, /*io.StdioType.file*/get file() { - return C[201] || CT.C201; + return C[210] || CT.C210; }, /*io.StdioType.other*/get other() { - return C[202] || CT.C202; - }, - /*io.StdioType.TERMINAL*/get TERMINAL() { - return C[199] || CT.C199; - }, - /*io.StdioType.PIPE*/get PIPE() { - return C[200] || CT.C200; - }, - /*io.StdioType.FILE*/get FILE() { - return C[201] || CT.C201; - }, - /*io.StdioType.OTHER*/get OTHER() { - return C[202] || CT.C202; + return C[211] || CT.C211; } }, false); io._StdIOUtils = class _StdIOUtils extends core.Object { static _getStdioOutputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + if (fd == null) dart.nullFailed(I[110], 631, 36, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); } static _getStdioInputStream(fd) { - if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + if (fd == null) dart.nullFailed(I[110], 626, 41, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); } static _socketType(socket) { - if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + if (socket == null) dart.nullFailed(I[110], 636, 33, "socket"); dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); } static _getStdioHandleType(fd) { - if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + if (fd == null) dart.nullFailed(I[110], 641, 34, "fd"); dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); } + static ['_#new#tearOff']() { + return new io._StdIOUtils.new(); + } }; (io._StdIOUtils.new = function() { ; }).prototype = io._StdIOUtils.prototype; dart.addTypeTests(io._StdIOUtils); dart.addTypeCaches(io._StdIOUtils); -dart.setLibraryUri(io._StdIOUtils, I[105]); +dart.setStaticMethodSignature(io._StdIOUtils, () => ['_getStdioOutputStream', '_getStdioInputStream', '_socketType', '_getStdioHandleType']); +dart.setLibraryUri(io._StdIOUtils, I[108]); io.SystemEncoding = class SystemEncoding extends convert.Encoding { + static ['_#new#tearOff']() { + return new io.SystemEncoding.new(); + } get name() { return "system"; } encode(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + if (input == null) dart.nullFailed(I[132], 26, 27, "input"); return this.encoder.convert(input); } decode(encoded) { T$0.ListOfint().as(encoded); - if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + if (encoded == null) dart.nullFailed(I[132], 27, 27, "encoded"); return this.decoder.convert(encoded); } get encoder() { if (io.Platform.operatingSystem === "windows") { - return C[203] || CT.C203; + return C[212] || CT.C212; } else { - return C[101] || CT.C101; + return C[108] || CT.C108; } } get decoder() { if (io.Platform.operatingSystem === "windows") { - return C[204] || CT.C204; + return C[213] || CT.C213; } else { - return C[100] || CT.C100; + return C[107] || CT.C107; } } }; @@ -56614,11 +60955,14 @@ dart.setGetterSignature(io.SystemEncoding, () => ({ encoder: convert.Converter$(core.String, core.List$(core.int)), decoder: convert.Converter$(core.List$(core.int), core.String) })); -dart.setLibraryUri(io.SystemEncoding, I[105]); +dart.setLibraryUri(io.SystemEncoding, I[108]); io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageEncoder.new(); + } convert(input) { core.String.as(input); - if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + if (input == null) dart.nullFailed(I[132], 49, 28, "input"); let encoded = io._WindowsCodePageEncoder._encodeString(input); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56627,11 +60971,11 @@ io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Conve } startChunkedConversion(sink) { T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + if (sink == null) dart.nullFailed(I[132], 58, 63, "sink"); return new io._WindowsCodePageEncoderSink.new(sink); } static _encodeString(string) { - if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + if (string == null) dart.nullFailed(I[110], 657, 41, "string"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); } }; @@ -56646,14 +60990,19 @@ dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); +dart.setStaticMethodSignature(io._WindowsCodePageEncoder, () => ['_encodeString']); +dart.setLibraryUri(io._WindowsCodePageEncoder, I[108]); io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); + return new io._WindowsCodePageEncoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(string) { core.String.as(string); - if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + if (string == null) dart.nullFailed(I[132], 77, 19, "string"); let encoded = io._WindowsCodePageEncoder._encodeString(string); if (encoded == null) { dart.throw(new core.FormatException.new("Invalid character for encoding")); @@ -56661,10 +61010,10 @@ io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends conve this[_sink$1].add(encoded); } addSlice(source, start, end, isLast) { - if (source == null) dart.nullFailed(I[129], 87, 24, "source"); - if (start == null) dart.nullFailed(I[129], 87, 36, "start"); - if (end == null) dart.nullFailed(I[129], 87, 47, "end"); - if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (source == null) dart.nullFailed(I[132], 85, 24, "source"); + if (start == null) dart.nullFailed(I[132], 85, 36, "start"); + if (end == null) dart.nullFailed(I[132], 85, 47, "end"); + if (isLast == null) dart.nullFailed(I[132], 85, 57, "isLast"); if (start !== 0 || end !== source.length) { source = source[$substring](start, end); } @@ -56673,7 +61022,7 @@ io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends conve } }; (io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); this[_sink$1] = _sink; ; }).prototype = io._WindowsCodePageEncoderSink.prototype; @@ -56684,24 +61033,27 @@ dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ close: dart.fnType(dart.void, []), addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) })); -dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); +dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) })); io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + static ['_#new#tearOff']() { + return new io._WindowsCodePageDecoder.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + if (input == null) dart.nullFailed(I[132], 97, 28, "input"); return io._WindowsCodePageDecoder._decodeBytes(input); } startChunkedConversion(sink) { T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + if (sink == null) dart.nullFailed(I[132], 102, 58, "sink"); return new io._WindowsCodePageDecoderSink.new(sink); } static _decodeBytes(bytes) { - if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + if (bytes == null) dart.nullFailed(I[110], 649, 40, "bytes"); dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); } }; @@ -56716,19 +61068,24 @@ dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ convert: dart.fnType(core.String, [dart.nullable(core.Object)]), startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); +dart.setStaticMethodSignature(io._WindowsCodePageDecoder, () => ['_decodeBytes']); +dart.setLibraryUri(io._WindowsCodePageDecoder, I[108]); io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + static ['_#new#tearOff'](_sink) { + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); + return new io._WindowsCodePageDecoderSink.new(_sink); + } close() { this[_sink$1].close(); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[132], 121, 22, "bytes"); this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); } }; (io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); this[_sink$1] = _sink; io._WindowsCodePageDecoderSink.__proto__.new.call(this); ; @@ -56740,14 +61097,14 @@ dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ close: dart.fnType(dart.void, []), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); -dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); +dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[108]); dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) })); io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { static connectSync(host, port) { - if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + if (port == null) dart.nullFailed(I[110], 567, 61, "port"); dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); } }; @@ -56756,39 +61113,38 @@ io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { }).prototype = io.RawSynchronousSocket.prototype; dart.addTypeTests(io.RawSynchronousSocket); dart.addTypeCaches(io.RawSynchronousSocket); -dart.setLibraryUri(io.RawSynchronousSocket, I[105]); -io._isErrorResponse = function _isErrorResponse$(response) { - return core.List.is(response) && !dart.equals(response[$_get](0), 0); -}; -io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { - if (message == null) dart.nullFailed(I[106], 23, 41, "message"); - if (path == null) dart.nullFailed(I[106], 23, 57, "path"); - if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); - switch (dart.dsend(response, '_get', [0])) { - case 1: - { - return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); - } - case 2: - { - let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); - return new io.FileSystemException.new(message, path, err); - } - case 3: - { - return new io.FileSystemException.new("File closed", path); - } - default: - { - return core.Exception.new("Unknown error"); +dart.setStaticMethodSignature(io.RawSynchronousSocket, () => ['connectSync']); +dart.setLibraryUri(io.RawSynchronousSocket, I[108]); +io._checkForErrorResponse = function _checkForErrorResponse(response, message, path) { + if (message == null) dart.nullFailed(I[109], 34, 54, "message"); + if (path == null) dart.nullFailed(I[109], 34, 70, "path"); + if (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { + switch (response[$_get](0)) { + case 1: + { + dart.throw(new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path))); + } + case 2: + { + let err = new io.OSError.new(core.String.as(response[$_get](2)), core.int.as(response[$_get](1))); + dart.throw(io.FileSystemException._fromOSError(err, message, path)); + } + case 3: + { + dart.throw(new io.FileSystemException.new("File closed", path)); + } + default: + { + dart.throw(new core.AssertionError.new("Unknown error")); + } } } }; io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { - if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); - if (start == null) dart.nullFailed(I[106], 93, 27, "start"); - if (end == null) dart.nullFailed(I[106], 93, 38, "end"); - if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + if (buffer == null) dart.nullFailed(I[109], 108, 15, "buffer"); + if (start == null) dart.nullFailed(I[109], 108, 27, "start"); + if (end == null) dart.nullFailed(I[109], 108, 38, "end"); + if (typed_data.Uint8List.is(buffer) && buffer[$buffer][$lengthInBytes] == buffer[$length]) { return new io._BufferAndStart.new(buffer, start); } let length = dart.notNull(end) - dart.notNull(start); @@ -56796,104 +61152,47 @@ io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteD newBuffer[$setRange](0, length, buffer, start); return new io._BufferAndStart.new(newBuffer, 0); }; -io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { - if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); - dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); -}; io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { - if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (windowBits == null) dart.nullFailed(I[111], 538, 34, "windowBits"); if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { dart.throw(new core.RangeError.range(windowBits, 8, 15)); } }; io._validateZLibeLevel = function _validateZLibeLevel(level) { - if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (level == null) dart.nullFailed(I[111], 546, 30, "level"); if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { dart.throw(new core.RangeError.range(level, -1, 9)); } }; io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { - if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (memLevel == null) dart.nullFailed(I[111], 552, 32, "memLevel"); if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { dart.throw(new core.RangeError.range(memLevel, 1, 9)); } }; io._validateZLibStrategy = function _validateZLibStrategy(strategy) { - if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); - let strategies = C[205] || CT.C205; + if (strategy == null) dart.nullFailed(I[111], 559, 32, "strategy"); + let strategies = C[214] || CT.C214; if (strategies[$indexOf](strategy) === -1) { dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); } }; -io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { - let t215, t215$; - let hostString = null; - if (typeof host == 'string') { - try { - if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; - } catch (e) { - let ex = dart.getThrown(e); - if (core.ArgumentError.is(ex)) { - } else - throw e; - } - hostString = host; - } else if (io.InternetAddress.is(host)) { - if (dart.test(host.isLoopback)) return true; - hostString = host.host; - } else { - dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); - } - let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); - let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); - t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); - return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; -}; -io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { - if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); - let topScore = 0; - let topPolicy = null; - for (let policy of io._domainPolicies) { - let score = policy.matchScore(domain); - if (dart.notNull(score) > dart.notNull(topScore)) { - topScore = score; - topPolicy = policy; - } - } - return topPolicy; -}; -io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { - let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); - domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; - if (domainPoliciesString[$isNotEmpty]) { - let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); - for (let t215 of policiesJson) { - let policyJson = core.List.as(t215); - if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); - let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); - if (dart.test(policy.checkConflict(domainPolicies))) { - domainPolicies[$add](policy); - } - } - } - return domainPolicies; -}; io._success = function _success() { return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); }; io._invalidArgument = function _invalidArgument(argument, value) { - if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 148, 32, "argument"); return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); }; io._missingArgument = function _missingArgument(argument) { - if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + if (argument == null) dart.nullFailed(I[121], 151, 32, "argument"); return "Parameter '" + dart.str(argument) + "' is required"; }; io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); }; io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { - if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 158, 58, "parameters"); if (!dart.test(parameters[$containsKey]("enable"))) { dart.throw(io._missingArgument("enable")); } @@ -56905,7 +61204,7 @@ io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parame return io._success(); }; io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); if (!dart.test(parameters[$containsKey]("id"))) { dart.throw(io._missingArgument("id")); } @@ -56920,7 +61219,7 @@ io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { return convert.json.encode(request.toJson({ref: false})); }; io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { - if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (parameters == null) dart.nullFailed(I[121], 188, 52, "parameters"); if (dart.test(parameters[$containsKey]("enabled"))) { let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); if (enable !== "true" && enable !== "false") { @@ -56931,7 +61230,7 @@ io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); }; io.exit = function exit(code) { - if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + if (code == null) dart.nullFailed(I[125], 50, 16, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); if (!dart.test(io._EmbedderConfig._mayExit)) { dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); @@ -56940,7 +61239,7 @@ io.exit = function exit(code) { dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); }; io.sleep = function sleep(duration) { - if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + if (duration == null) dart.nullFailed(I[125], 94, 21, "duration"); let milliseconds = duration.inMilliseconds; if (dart.notNull(milliseconds) < 0) { dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); @@ -56951,9 +61250,9 @@ io.sleep = function sleep(duration) { io._ProcessUtils._sleep(milliseconds); }; io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { - if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); - if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); - if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + if (stdin == null) dart.nullFailed(I[131], 390, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[131], 390, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[131], 390, 46, "stderr"); io._stdinFD = stdin; io._stdoutFD = stdout; io._stderrFD = stderr; @@ -56969,17 +61268,17 @@ io.stdioType = function stdioType(object) { } switch (type) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._FileStream.is(object)) { @@ -56990,17 +61289,17 @@ io.stdioType = function stdioType(object) { if (socketType == null) return io.StdioType.other; switch (socketType) { case 0: - { - return io.StdioType.terminal; - } + { + return io.StdioType.terminal; + } case 1: - { - return io.StdioType.pipe; - } + { + return io.StdioType.pipe; + } case 2: - { - return io.StdioType.file; - } + { + return io.StdioType.file; + } } } if (io._IOSinkImpl.is(object)) { @@ -57018,22 +61317,8 @@ io.stdioType = function stdioType(object) { return io.StdioType.other; }; dart.copyProperties(io, { - get _domainPolicies() { - let t217; - if (!dart.test(io['_#_domainPolicies#isSet'])) { - io['_#_domainPolicies'] = io._constructDomainPolicies(null); - io['_#_domainPolicies#isSet'] = true; - } - t217 = io['_#_domainPolicies']; - return t217; - }, - set _domainPolicies(t217) { - if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); - io['_#_domainPolicies#isSet'] = true; - io['_#_domainPolicies'] = t217; - }, set exitCode(code) { - if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + if (code == null) dart.nullFailed(I[125], 69, 23, "code"); core.ArgumentError.checkNotNull(core.int, code, "code"); io._ProcessUtils._setExitCode(code); }, @@ -57044,17 +61329,19 @@ dart.copyProperties(io, { return io._ProcessUtils._pid(null); }, get stdin() { - let t218; - t218 = io._stdin; - return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); + return t196$ == null ? io._stdin : t196$; }, get stdout() { - let t218; - return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); + return t196$ == null ? io._stdout : t196$; }, get stderr() { - let t218; - return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + let t196, t196$; + t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); + return t196$ == null ? io._stderr : t196$; } }); dart.defineLazy(io, { @@ -57079,44 +61366,42 @@ dart.defineLazy(io, { /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { return 2; }, - /*io.zlib*/get zlib() { - return C[206] || CT.C206; + /*io._eNoEnt*/get _eNoEnt() { + return 2; }, - /*io.ZLIB*/get ZLIB() { - return C[206] || CT.C206; + /*io._errorFileNotFound*/get _errorFileNotFound() { + return 2; }, - /*io.gzip*/get gzip() { - return C[207] || CT.C207; + /*io._errorPathNotFound*/get _errorPathNotFound() { + return 3; }, - /*io.GZIP*/get GZIP() { - return C[207] || CT.C207; + /*io._errorInvalidDrive*/get _errorInvalidDrive() { + return 15; }, - /*io.READ*/get READ() { - return C[109] || CT.C109; + /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { + return 18; }, - /*io.WRITE*/get WRITE() { - return C[110] || CT.C110; + /*io._errorBadNetpath*/get _errorBadNetpath() { + return 53; }, - /*io.APPEND*/get APPEND() { - return C[111] || CT.C111; + /*io._errorBadNetName*/get _errorBadNetName() { + return 67; }, - /*io.WRITE_ONLY*/get WRITE_ONLY() { - return C[112] || CT.C112; + /*io._errorBadPathName*/get _errorBadPathName() { + return 161; }, - /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { - return C[113] || CT.C113; + /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { + return 206; }, - /*io._blockSize*/get _blockSize() { - return 65536; + /*io.zlib*/get zlib() { + return C[215] || CT.C215; }, - /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { - return null; + /*io.gzip*/get gzip() { + return C[216] || CT.C216; }, - set ['_#_domainPolicies'](_) {}, - /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { - return false; + /*io._blockSize*/get _blockSize() { + return 65536; }, - set ['_#_domainPolicies#isSet'](_) {}, /*io._versionMajor*/get _versionMajor() { return 1; }, @@ -57133,12 +61418,14 @@ dart.defineLazy(io, { return new core.Object.new(); }, /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*io._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); + }, /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { return 0; }, @@ -57158,37 +61445,41 @@ dart.defineLazy(io, { return 5; }, /*io._stdin*/get _stdin() { - return null; + return io._StdIOUtils._getStdioInputStream(io._stdinFD); }, - set _stdin(_) {}, /*io._stdout*/get _stdout() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); }, - set _stdout(_) {}, /*io._stderr*/get _stderr() { - return null; + return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); }, - set _stderr(_) {}, /*io._stdinFD*/get _stdinFD() { return 0; }, - set _stdinFD(_) {}, + set _stdinFD(value) { + if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); + }, /*io._stdoutFD*/get _stdoutFD() { return 1; }, - set _stdoutFD(_) {}, + set _stdoutFD(value) { + if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); + }, /*io._stderrFD*/get _stderrFD() { return 2; }, - set _stderrFD(_) {}, - /*io.systemEncoding*/get systemEncoding() { - return C[143] || CT.C143; + set _stderrFD(value) { + if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); }, - /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { - return C[143] || CT.C143; + /*io.systemEncoding*/get systemEncoding() { + return C[152] || CT.C152; } }, false); isolate$._ReceivePort = class _ReceivePort extends async.Stream { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } close() { } get sendPort() { @@ -57202,7 +61493,7 @@ isolate$._ReceivePort = class _ReceivePort extends async.Stream { } }; (isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); isolate$._ReceivePort.__proto__.new.call(this); ; }).prototype = isolate$._ReceivePort.prototype; @@ -57218,7 +61509,7 @@ dart.setGetterSignature(isolate$._ReceivePort, () => ({ __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), sendPort: isolate$.SendPort })); -dart.setLibraryUri(isolate$._ReceivePort, I[131]); +dart.setLibraryUri(isolate$._ReceivePort, I[134]); var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { get message() { @@ -57227,19 +61518,23 @@ isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); + return new isolate$.IsolateSpawnException.new(message); + } toString() { return "IsolateSpawnException: " + dart.str(this.message); } }; (isolate$.IsolateSpawnException.new = function(message) { - if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + if (message == null) dart.nullFailed(I[135], 38, 30, "message"); this[message$10] = message; ; }).prototype = isolate$.IsolateSpawnException.prototype; dart.addTypeTests(isolate$.IsolateSpawnException); dart.addTypeCaches(isolate$.IsolateSpawnException); isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); +dart.setLibraryUri(isolate$.IsolateSpawnException, I[134]); dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), message: dart.finalFieldType(core.String) @@ -57268,47 +61563,96 @@ isolate$.Isolate = class Isolate extends core.Object { set terminateCapability(value) { super.terminateCapability = value; } - get debugName() { + static get packageRoot() { return isolate$._unsupported(); } - static get current() { + get debugName() { return isolate$._unsupported(); } - static get packageRoot() { + static ['_#new#tearOff'](controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + return new isolate$.Isolate.new(controlPort, {pauseCapability: pauseCapability, terminateCapability: terminateCapability}); + } + static run(R, computation, opts) { + if (computation == null) dart.nullFailed(I[135], 206, 39, "computation"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + let result = async.Completer$(R).new(); + let resultPort = isolate$.RawReceivePort.new(); + resultPort.handler = dart.fn(response => { + resultPort.close(); + if (response == null) { + result.completeError(new isolate$.RemoteError.new("Computation ended without result", ""), core.StackTrace.empty); + return; + } + let list = T$.ListOfObjectN().as(response); + if (list[$length] === 2) { + let remoteError = list[$_get](0); + let remoteStack = list[$_get](1); + if (core.StackTrace.is(remoteStack)) { + result.completeError(dart.nullCheck(remoteError), remoteStack); + } else { + let error = new isolate$.RemoteError.new(dart.toString(remoteError), dart.toString(remoteStack)); + result.completeError(error, error.stackTrace); + } + } else { + if (!(list[$length] === 1)) dart.assertFailed(null, I[135], 233, 16, "list.length == 1"); + result.complete(R.as(list[$_get](0))); + } + }, T$.dynamicToNull()); + try { + isolate$.Isolate.spawn(isolate$._RemoteRunner$(R), C[218] || CT.C218, new (isolate$._RemoteRunner$(R)).new(computation, resultPort.sendPort), {onError: resultPort.sendPort, onExit: resultPort.sendPort, errorsAreFatal: true, debugName: debugName}).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[135], 244, 24, "_"); + }, T$0.IsolateToNull()), {onError: dart.fn((error, stack) => { + resultPort.close(); + result.completeError(core.Object.as(error), T$.StackTraceN().as(stack)); + }, T$.dynamicAnddynamicToNull())}); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Object.is(ex)) { + resultPort.close(); + dart.rethrow(e); + } else + throw e; + } + return result.future; + } + static get current() { return isolate$._unsupported(); } static get packageConfig() { return isolate$._unsupported(); } static resolvePackageUri(packageUri) { - if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + if (packageUri == null) dart.nullFailed(I[133], 29, 45, "packageUri"); return isolate$._unsupported(); } static spawn(T, entryPoint, message, opts) { - if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + if (entryPoint == null) dart.nullFailed(I[133], 32, 40, "entryPoint"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 33, 17, "paused"); let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 34, 16, "errorsAreFatal"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; return isolate$._unsupported(); } static spawnUri(uri, args, message, opts) { - if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); - if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + if (uri == null) dart.nullFailed(I[133], 40, 39, "uri"); + if (args == null) dart.nullFailed(I[133], 40, 57, "args"); let paused = opts && 'paused' in opts ? opts.paused : false; - if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + if (paused == null) dart.nullFailed(I[133], 41, 17, "paused"); let onExit = opts && 'onExit' in opts ? opts.onExit : null; let onError = opts && 'onError' in opts ? opts.onError : null; let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 44, 16, "errorsAreFatal"); let checked = opts && 'checked' in opts ? opts.checked : null; let environment = opts && 'environment' in opts ? opts.environment : null; let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; - if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + if (automaticPackageResolution == null) dart.nullFailed(I[133], 49, 16, "automaticPackageResolution"); let debugName = opts && 'debugName' in opts ? opts.debugName : null; return isolate$._unsupported(); } @@ -57318,44 +61662,44 @@ isolate$.Isolate = class Isolate extends core.Object { return resumeCapability; } [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); return isolate$._unsupported(); } resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); return isolate$._unsupported(); } addOnExitListener(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 60, 35, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; return isolate$._unsupported(); } removeOnExitListener(responsePort) { - if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 64, 38, "responsePort"); return isolate$._unsupported(); } setErrorsFatal(errorsAreFatal) { - if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + if (errorsAreFatal == null) dart.nullFailed(I[133], 67, 28, "errorsAreFatal"); return isolate$._unsupported(); } kill(opts) { let priority = opts && 'priority' in opts ? opts.priority : 1; - if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + if (priority == null) dart.nullFailed(I[133], 70, 18, "priority"); return isolate$._unsupported(); } ping(responsePort, opts) { - if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + if (responsePort == null) dart.nullFailed(I[133], 72, 22, "responsePort"); let response = opts && 'response' in opts ? opts.response : null; let priority = opts && 'priority' in opts ? opts.priority : 0; - if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + if (priority == null) dart.nullFailed(I[133], 73, 34, "priority"); return isolate$._unsupported(); } addErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + if (port == null) dart.nullFailed(I[133], 77, 34, "port"); return isolate$._unsupported(); } removeErrorListener(port) { - if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + if (port == null) dart.nullFailed(I[133], 80, 37, "port"); return isolate$._unsupported(); } get errors() { @@ -57382,9 +61726,13 @@ isolate$.Isolate = class Isolate extends core.Object { }, T$.VoidToNull()); return controller.stream; } + static exit(finalMessagePort = null, message = null) { + isolate$._unsupported(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } }; (isolate$.Isolate.new = function(controlPort, opts) { - if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + if (controlPort == null) dart.nullFailed(I[135], 151, 16, "controlPort"); let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; this[controlPort$] = controlPort; @@ -57407,18 +61755,21 @@ dart.setMethodSignature(isolate$.Isolate, () => ({ addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) })); +dart.setStaticMethodSignature(isolate$.Isolate, () => ['run', 'resolvePackageUri', 'spawn', 'spawnUri', 'exit']); dart.setGetterSignature(isolate$.Isolate, () => ({ __proto__: dart.getGetters(isolate$.Isolate.__proto__), debugName: dart.nullable(core.String), errors: async.Stream })); -dart.setLibraryUri(isolate$.Isolate, I[131]); +dart.setStaticGetterSignature(isolate$.Isolate, () => ['packageRoot', 'current', 'packageConfig']); +dart.setLibraryUri(isolate$.Isolate, I[134]); dart.setFieldSignature(isolate$.Isolate, () => ({ __proto__: dart.getFields(isolate$.Isolate.__proto__), controlPort: dart.finalFieldType(isolate$.SendPort), pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) })); +dart.setStaticFieldSignature(isolate$.Isolate, () => ['immediate', 'beforeNextEvent']); dart.defineLazy(isolate$.Isolate, { /*isolate$.Isolate.immediate*/get immediate() { return 0; @@ -57434,12 +61785,20 @@ isolate$.SendPort = class SendPort extends core.Object {}; dart.addTypeTests(isolate$.SendPort); dart.addTypeCaches(isolate$.SendPort); isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; -dart.setLibraryUri(isolate$.SendPort, I[131]); +dart.setLibraryUri(isolate$.SendPort, I[134]); isolate$.ReceivePort = class ReceivePort extends core.Object { + static ['_#new#tearOff'](debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 91, 31, "debugName"); + return new isolate$._ReceivePort.new(debugName); + } static fromRawReceivePort(rawPort) { - if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); return isolate$._unsupported(); } + static ['_#fromRawReceivePort#tearOff'](rawPort) { + if (rawPort == null) dart.nullFailed(I[133], 94, 57, "rawPort"); + return isolate$.ReceivePort.fromRawReceivePort(rawPort); + } }; (isolate$.ReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.ReceivePort.prototype; @@ -57447,18 +61806,25 @@ isolate$.ReceivePort.prototype[dart.isStream] = true; dart.addTypeTests(isolate$.ReceivePort); dart.addTypeCaches(isolate$.ReceivePort); isolate$.ReceivePort[dart.implements] = () => [async.Stream]; -dart.setLibraryUri(isolate$.ReceivePort, I[131]); +dart.setStaticMethodSignature(isolate$.ReceivePort, () => ['new', 'fromRawReceivePort']); +dart.setLibraryUri(isolate$.ReceivePort, I[134]); +dart.setStaticFieldSignature(isolate$.ReceivePort, () => ['_redirecting#']); isolate$.RawReceivePort = class RawReceivePort extends core.Object { static new(handler = null, debugName = "") { - if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); return isolate$._unsupported(); } + static ['_#new#tearOff'](handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[133], 118, 53, "debugName"); + return isolate$.RawReceivePort.new(handler, debugName); + } }; (isolate$.RawReceivePort[dart.mixinNew] = function() { }).prototype = isolate$.RawReceivePort.prototype; dart.addTypeTests(isolate$.RawReceivePort); dart.addTypeCaches(isolate$.RawReceivePort); -dart.setLibraryUri(isolate$.RawReceivePort, I[131]); +dart.setStaticMethodSignature(isolate$.RawReceivePort, () => ['new']); +dart.setLibraryUri(isolate$.RawReceivePort, I[134]); var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); var _description = dart.privateName(isolate$, "_description"); isolate$.RemoteError = class RemoteError extends core.Object { @@ -57468,13 +61834,18 @@ isolate$.RemoteError = class RemoteError extends core.Object { set stackTrace(value) { super.stackTrace = value; } + static ['_#new#tearOff'](description, stackDescription) { + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); + return new isolate$.RemoteError.new(description, stackDescription); + } toString() { return this[_description]; } }; (isolate$.RemoteError.new = function(description, stackDescription) { - if (description == null) dart.nullFailed(I[132], 714, 22, "description"); - if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + if (description == null) dart.nullFailed(I[135], 883, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[135], 883, 42, "stackDescription"); this[_description] = description; this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); ; @@ -57482,7 +61853,7 @@ isolate$.RemoteError = class RemoteError extends core.Object { dart.addTypeTests(isolate$.RemoteError); dart.addTypeCaches(isolate$.RemoteError); isolate$.RemoteError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(isolate$.RemoteError, I[131]); +dart.setLibraryUri(isolate$.RemoteError, I[134]); dart.setFieldSignature(isolate$.RemoteError, () => ({ __proto__: dart.getFields(isolate$.RemoteError.__proto__), [_description]: dart.finalFieldType(core.String), @@ -57492,46 +61863,138 @@ dart.defineExtensionMethods(isolate$.RemoteError, ['toString']); dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { static fromList(list) { - if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); return isolate$._unsupported(); } + static ['_#fromList#tearOff'](list) { + if (list == null) dart.nullFailed(I[133], 131, 58, "list"); + return isolate$.TransferableTypedData.fromList(list); + } }; (isolate$.TransferableTypedData[dart.mixinNew] = function() { }).prototype = isolate$.TransferableTypedData.prototype; dart.addTypeTests(isolate$.TransferableTypedData); dart.addTypeCaches(isolate$.TransferableTypedData); -dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); +dart.setStaticMethodSignature(isolate$.TransferableTypedData, () => ['fromList']); +dart.setLibraryUri(isolate$.TransferableTypedData, I[134]); +var _run$0 = dart.privateName(isolate$, "_run"); +const _is__RemoteRunner_default = Symbol('_is__RemoteRunner_default'); +isolate$._RemoteRunner$ = dart.generic(R => { + var __t$FutureOfR = () => (__t$FutureOfR = dart.constFn(async.Future$(R)))(); + class _RemoteRunner extends core.Object { + static ['_#new#tearOff'](R, computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + return new (isolate$._RemoteRunner$(R)).new(computation, resultPort); + } + static _remoteExecute(runner) { + if (runner == null) dart.nullFailed(I[135], 947, 53, "runner"); + runner[_run$0](); + } + [_run$0]() { + return async.async(dart.void, (function* _run() { + let result = null; + try { + let potentiallyAsyncResult = this.computation(); + if (__t$FutureOfR().is(potentiallyAsyncResult)) { + result = (yield potentiallyAsyncResult); + } else { + result = potentiallyAsyncResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list2(e, s)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else + throw e$; + } + isolate$.Isolate.exit(this.resultPort, isolate$._RemoteRunner._list1(result)); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + }).bind(this)); + } + static _list1(value) { + return T$.ListOfObjectN().filled(1, value); + } + static _list2(value1, value2) { + let t199; + t199 = T$.ListOfObjectN().filled(2, value1); + return (() => { + t199[$_set](1, value2); + return t199; + })(); + } + } + (_RemoteRunner.new = function(computation, resultPort) { + if (computation == null) dart.nullFailed(I[135], 938, 22, "computation"); + if (resultPort == null) dart.nullFailed(I[135], 938, 40, "resultPort"); + this.computation = computation; + this.resultPort = resultPort; + ; + }).prototype = _RemoteRunner.prototype; + dart.addTypeTests(_RemoteRunner); + _RemoteRunner.prototype[_is__RemoteRunner_default] = true; + dart.addTypeCaches(_RemoteRunner); + dart.setMethodSignature(_RemoteRunner, () => ({ + __proto__: dart.getMethods(_RemoteRunner.__proto__), + [_run$0]: dart.fnType(dart.void, []) + })); + dart.setStaticMethodSignature(_RemoteRunner, () => ['_remoteExecute', '_list1', '_list2']); + dart.setLibraryUri(_RemoteRunner, I[134]); + dart.setFieldSignature(_RemoteRunner, () => ({ + __proto__: dart.getFields(_RemoteRunner.__proto__), + computation: dart.finalFieldType(dart.fnType(async.FutureOr$(R), [])), + resultPort: dart.finalFieldType(isolate$.SendPort) + })); + return _RemoteRunner; +}); +isolate$._RemoteRunner = isolate$._RemoteRunner$(); +dart.addTypeTests(isolate$._RemoteRunner, _is__RemoteRunner_default); isolate$.Capability = class Capability extends core.Object { static new() { return isolate$._unsupported(); } + static ['_#new#tearOff']() { + return isolate$.Capability.new(); + } }; (isolate$.Capability[dart.mixinNew] = function() { }).prototype = isolate$.Capability.prototype; dart.addTypeTests(isolate$.Capability); dart.addTypeCaches(isolate$.Capability); -dart.setLibraryUri(isolate$.Capability, I[131]); +dart.setStaticMethodSignature(isolate$.Capability, () => ['new']); +dart.setLibraryUri(isolate$.Capability, I[134]); isolate$._unsupported = function _unsupported() { dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); }; var _dartObj$ = dart.privateName(js, "_dartObj"); -js._DartObject = class _DartObject extends core.Object {}; +js._DartObject = class _DartObject extends core.Object { + static ['_#new#tearOff'](_dartObj) { + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); + return new js._DartObject.new(_dartObj); + } +}; (js._DartObject.new = function(_dartObj) { - if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + if (_dartObj == null) dart.nullFailed(I[136], 329, 20, "_dartObj"); this[_dartObj$] = _dartObj; ; }).prototype = js._DartObject.prototype; dart.addTypeTests(js._DartObject); dart.addTypeCaches(js._DartObject); -dart.setLibraryUri(js._DartObject, I[134]); +dart.setLibraryUri(js._DartObject, I[137]); dart.setFieldSignature(js._DartObject, () => ({ __proto__: dart.getFields(js._DartObject.__proto__), [_dartObj$]: dart.finalFieldType(core.Object) })); var _jsObject$ = dart.privateName(js, "_jsObject"); js.JsObject = class JsObject extends core.Object { + static ['_#_fromJs#tearOff'](_jsObject) { + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); + return new js.JsObject._fromJs(_jsObject); + } static _convertDataTree(data) { - if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + if (data == null) dart.nullFailed(I[136], 57, 34, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -57557,30 +62020,42 @@ js.JsObject = class JsObject extends core.Object { return _convert(data); } static new(constructor, $arguments = null) { - if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); let ctor = constructor[_jsObject$]; if ($arguments == null) { return js._wrapToDart(new ctor()); } - let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[219] || CT.C219)); return js._wrapToDart(new ctor(...unwrapped)); } + static ['_#new#tearOff'](constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[136], 32, 31, "constructor"); + return js.JsObject.new(constructor, $arguments); + } static fromBrowserObject(object) { - if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); } return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); } + static ['_#fromBrowserObject#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 42, 45, "object"); + return js.JsObject.fromBrowserObject(object); + } static jsify(object) { - if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); if (!core.Map.is(object) && !core.Iterable.is(object)) { dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); } return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); } + static ['_#jsify#tearOff'](object) { + if (object == null) dart.nullFailed(I[136], 50, 33, "object"); + return js.JsObject.jsify(object); + } _get(property) { - if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (property == null) dart.nullFailed(I[136], 85, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57588,7 +62063,7 @@ js.JsObject = class JsObject extends core.Object { } _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (property == null) dart.nullFailed(I[136], 93, 28, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } @@ -57603,21 +62078,21 @@ js.JsObject = class JsObject extends core.Object { return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; } hasProperty(property) { - if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (property == null) dart.nullFailed(I[136], 105, 27, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } return property in this[_jsObject$]; } deleteProperty(property) { - if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (property == null) dart.nullFailed(I[136], 113, 30, "property"); if (!(typeof property == 'string') && !(typeof property == 'number')) { dart.throw(new core.ArgumentError.new("property is not a String or num")); } delete this[_jsObject$][property]; } instanceof(type) { - if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + if (type == null) dart.nullFailed(I[136], 121, 30, "type"); return this[_jsObject$] instanceof js._convertToJS(type); } toString() { @@ -57632,11 +62107,11 @@ js.JsObject = class JsObject extends core.Object { } } callMethod(method, args = null) { - if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (method == null) dart.nullFailed(I[136], 135, 29, "method"); if (!(typeof method == 'string') && !(typeof method == 'number')) { dart.throw(new core.ArgumentError.new("method is not a String or num")); } - if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[219] || CT.C219)); let fn = this[_jsObject$][method]; if (typeof fn !== "function") { dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); @@ -57645,9 +62120,9 @@ js.JsObject = class JsObject extends core.Object { } }; (js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); this[_jsObject$] = _jsObject; - if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[136], 28, 12, "_jsObject != null"); }).prototype = js.JsObject.prototype; dart.addTypeTests(js.JsObject); dart.addTypeCaches(js.JsObject); @@ -57660,7 +62135,8 @@ dart.setMethodSignature(js.JsObject, () => ({ instanceof: dart.fnType(core.bool, [js.JsFunction]), callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) })); -dart.setLibraryUri(js.JsObject, I[134]); +dart.setStaticMethodSignature(js.JsObject, () => ['_convertDataTree', 'new', 'fromBrowserObject', 'jsify']); +dart.setLibraryUri(js.JsObject, I[137]); dart.setFieldSignature(js.JsObject, () => ({ __proto__: dart.getFields(js.JsObject.__proto__), [_jsObject$]: dart.finalFieldType(core.Object) @@ -57668,8 +62144,12 @@ dart.setFieldSignature(js.JsObject, () => ({ dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); dart.defineExtensionAccessors(js.JsObject, ['hashCode']); js.JsFunction = class JsFunction extends js.JsObject { + static ['_#_fromJs#tearOff'](jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); + return new js.JsFunction._fromJs(jsObject); + } static withThis(f) { - if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); return new js.JsFunction._fromJs(function() { let args = [js._convertToDart(this)]; for (let arg of arguments) { @@ -57678,14 +62158,18 @@ js.JsFunction = class JsFunction extends js.JsObject { return js._convertToJS(f(...args)); }); } + static ['_#withThis#tearOff'](f) { + if (f == null) dart.nullFailed(I[136], 151, 40, "f"); + return js.JsFunction.withThis(f); + } apply(args, opts) { - if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + if (args == null) dart.nullFailed(I[136], 170, 22, "args"); let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); } }; (js.JsFunction._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 167, 29, "jsObject"); js.JsFunction.__proto__._fromJs.call(this, jsObject); ; }).prototype = js.JsFunction.prototype; @@ -57695,16 +62179,17 @@ dart.setMethodSignature(js.JsFunction, () => ({ __proto__: dart.getMethods(js.JsFunction.__proto__), apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) })); -dart.setLibraryUri(js.JsFunction, I[134]); +dart.setStaticMethodSignature(js.JsFunction, () => ['withThis']); +dart.setLibraryUri(js.JsFunction, I[137]); var _checkIndex = dart.privateName(js, "_checkIndex"); var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); const _is_JsArray_default = Symbol('_is_JsArray_default'); js.JsArray$ = dart.generic(E => { - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { _set(property, value$) { let value = value$; - if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + if (property == null) dart.nullFailed(I[138], 175, 7, "property"); super._set(property, value); return value$; } @@ -57714,22 +62199,26 @@ js.JsArray$ = dart.generic(E => { }).prototype = JsObject_ListMixin$36.prototype; dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); class JsArray extends JsObject_ListMixin$36 { + static ['_#_fromJs#tearOff'](E, jsObject) { + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); + return new (js.JsArray$(E))._fromJs(jsObject); + } [_checkIndex](index) { - if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (index == null) dart.nullFailed(I[136], 190, 19, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } [_checkInsertIndex](index) { - if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (index == null) dart.nullFailed(I[136], 196, 25, "index"); if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { dart.throw(new core.RangeError.range(index, 0, this.length)); } } static _checkRange(start, end, length) { - if (start == null) dart.nullFailed(I[133], 200, 26, "start"); - if (end == null) dart.nullFailed(I[133], 200, 37, "end"); - if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (start == null) dart.nullFailed(I[136], 202, 26, "start"); + if (end == null) dart.nullFailed(I[136], 202, 37, "end"); + if (length == null) dart.nullFailed(I[136], 202, 46, "length"); if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { dart.throw(new core.RangeError.range(start, 0, length)); } @@ -57740,16 +62229,23 @@ js.JsArray$ = dart.generic(E => { static new() { return new (js.JsArray$(E))._fromJs([]); } + static ['_#new#tearOff'](E) { + return js.JsArray$(E).new(); + } static from(other) { - let t219; - if (other == null) dart.nullFailed(I[133], 183, 36, "other"); - return new (js.JsArray$(E))._fromJs((t219 = [], (() => { - t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); - return t219; + let t200; + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return new (js.JsArray$(E))._fromJs((t200 = [], (() => { + t200[$addAll](other[$map](dart.dynamic, C[219] || CT.C219)); + return t200; })())); } + static ['_#from#tearOff'](E, other) { + if (other == null) dart.nullFailed(I[136], 185, 36, "other"); + return js.JsArray$(E).from(other); + } _get(index) { - if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (index == null) dart.nullFailed(I[136], 212, 24, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57757,7 +62253,7 @@ js.JsArray$ = dart.generic(E => { } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (index == null) dart.nullFailed(I[136], 220, 28, "index"); if (core.int.is(index)) { this[_checkIndex](index); } @@ -57772,7 +62268,7 @@ js.JsArray$ = dart.generic(E => { dart.throw(new core.StateError.new("Bad JsArray length")); } set length(length) { - if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + if (length == null) dart.nullFailed(I[136], 240, 23, "length"); super._set("length", length); } add(value) { @@ -57780,19 +62276,19 @@ js.JsArray$ = dart.generic(E => { this.callMethod("push", [value]); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 250, 27, "iterable"); let list = iterable instanceof Array ? iterable : core.List.from(iterable); this.callMethod("push", list); } insert(index, element) { - if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + if (index == null) dart.nullFailed(I[136], 258, 19, "index"); E.as(element); this[_checkInsertIndex](index); this.callMethod("splice", [index, 0, element]); } removeAt(index) { - if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + if (index == null) dart.nullFailed(I[136], 264, 18, "index"); this[_checkIndex](index); return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); } @@ -57801,25 +62297,25 @@ js.JsArray$ = dart.generic(E => { return E.as(this.callMethod("pop")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[133], 274, 24, "start"); - if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + if (start == null) dart.nullFailed(I[136], 276, 24, "start"); + if (end == null) dart.nullFailed(I[136], 276, 35, "end"); js.JsArray._checkRange(start, end, this.length); this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); } setRange(start, end, iterable, skipCount = 0) { - let t219; - if (start == null) dart.nullFailed(I[133], 280, 21, "start"); - if (end == null) dart.nullFailed(I[133], 280, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + let t200; + if (start == null) dart.nullFailed(I[136], 282, 21, "start"); + if (end == null) dart.nullFailed(I[136], 282, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[136], 282, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[136], 282, 64, "skipCount"); js.JsArray._checkRange(start, end, this.length); let length = dart.notNull(end) - dart.notNull(start); if (length === 0) return; if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t219[$addAll](iterable[$skip](skipCount)[$take](length)); - return t219; + let args = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t200[$addAll](iterable[$skip](skipCount)[$take](length)); + return t200; })()); this.callMethod("splice", args); } @@ -57828,7 +62324,7 @@ js.JsArray$ = dart.generic(E => { } } (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); JsArray.__proto__._fromJs.call(this, jsObject); ; }).prototype = JsArray.prototype; @@ -57844,6 +62340,7 @@ js.JsArray$ = dart.generic(E => { _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) })); + dart.setStaticMethodSignature(JsArray, () => ['_checkRange', 'new', 'from']); dart.setGetterSignature(JsArray, () => ({ __proto__: dart.getGetters(JsArray.__proto__), length: core.int, @@ -57854,7 +62351,7 @@ js.JsArray$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(JsArray, I[134]); + dart.setLibraryUri(JsArray, I[137]); dart.defineExtensionMethods(JsArray, [ '_get', '_set', @@ -57873,7 +62370,7 @@ js.JsArray$ = dart.generic(E => { js.JsArray = js.JsArray$(); dart.addTypeTests(js.JsArray, _is_JsArray_default); js._isBrowserType = function _isBrowserType(o) { - if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + if (o == null) dart.nullFailed(I[136], 303, 28, "o"); return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); }; js._convertToJS = function _convertToJS(o) { @@ -57884,16 +62381,16 @@ js._convertToJS = function _convertToJS(o) { } else if (js.JsObject.is(o)) { return o[_jsObject$]; } else if (core.Function.is(o)) { - return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + return js._putIfAbsent(js._jsProxies, o, C[220] || CT.C220); } else { return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { - if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + if (o == null) dart.nullFailed(I[136], 344, 41, "o"); return new js._DartObject.new(o); }, T$0.ObjectTo_DartObject())); } }; js._wrapDartFunction = function _wrapDartFunction(f) { - if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + if (f == null) dart.nullFailed(I[136], 348, 33, "f"); let wrapper = function() { let args = Array.prototype.map.call(arguments, js._convertToDart); return js._convertToJS(f(...args)); @@ -57907,18 +62404,18 @@ js._convertToDart = function _convertToDart(o) { } else if (o instanceof Date) { let ms = o.getTime(); return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + } else if (js._DartObject.is(o) && dart.getReifiedType(o) !== _interceptors.LegacyJavaScriptObject) { return o[_dartObj$]; } else { return js._wrapToDart(o); } }; js._wrapToDart = function _wrapToDart(o) { - if (o == null) dart.nullFailed(I[133], 377, 29, "o"); - return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); + if (o == null) dart.nullFailed(I[136], 380, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[221] || CT.C221); }; js._wrapToDartHelper = function _wrapToDartHelper(o) { - if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (o == null) dart.nullFailed(I[136], 383, 35, "o"); if (typeof o == "function") { return new js.JsFunction._fromJs(o); } @@ -57928,9 +62425,9 @@ js._wrapToDartHelper = function _wrapToDartHelper(o) { return new js.JsObject._fromJs(o); }; js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { - if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); - if (o == null) dart.nullFailed(I[133], 394, 42, "o"); - if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + if (weakMap == null) dart.nullFailed(I[136], 397, 26, "weakMap"); + if (o == null) dart.nullFailed(I[136], 397, 42, "o"); + if (getValue == null) dart.nullFailed(I[136], 397, 47, "getValue"); let value = weakMap.get(o); if (value == null) { value = getValue(o); @@ -57939,7 +62436,7 @@ js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { return value; }; js.allowInterop = function allowInterop(F, f) { - if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (f == null) dart.nullFailed(I[136], 410, 38, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = dart.nullable(F).as(js._interopExpando._get(f)); if (ret == null) { @@ -57951,7 +62448,7 @@ js.allowInterop = function allowInterop(F, f) { return ret; }; js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { - if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (f == null) dart.nullFailed(I[136], 429, 43, "f"); if (!dart.test(dart.isDartFunction(f))) return f; let ret = js._interopCaptureThisExpando._get(f); if (ret == null) { @@ -57982,11 +62479,15 @@ dart.defineLazy(js, { /*js._interopExpando*/get _interopExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopExpando(_) {}, + set _interopExpando(value) { + if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); + }, /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { return new (T$.ExpandoOfFunction()).new(); }, - set _interopCaptureThisExpando(_) {} + set _interopCaptureThisExpando(value) { + if (value == null) dart.nullFailed(I[136], 426, 19, "_interopCaptureThisExpando"); + } }, false); var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); js_util.NullRejectionException = class NullRejectionException extends core.Object { @@ -57996,34 +62497,31 @@ js_util.NullRejectionException = class NullRejectionException extends core.Objec set isUndefined(value) { super.isUndefined = value; } + static ['_#_#tearOff'](isUndefined) { + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); + return new js_util.NullRejectionException.__(isUndefined); + } toString() { let value = dart.test(this.isUndefined) ? "undefined" : "null"; return "Promise was rejected with a value of `" + value + "`."; } }; (js_util.NullRejectionException.__ = function(isUndefined) { - if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + if (isUndefined == null) dart.nullFailed(I[139], 109, 33, "isUndefined"); this[isUndefined$] = isUndefined; ; }).prototype = js_util.NullRejectionException.prototype; dart.addTypeTests(js_util.NullRejectionException); dart.addTypeCaches(js_util.NullRejectionException); js_util.NullRejectionException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(js_util.NullRejectionException, I[137]); +dart.setLibraryUri(js_util.NullRejectionException, I[140]); dart.setFieldSignature(js_util.NullRejectionException, () => ({ __proto__: dart.getFields(js_util.NullRejectionException.__proto__), isUndefined: dart.finalFieldType(core.bool) })); dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); -js_util.jsify = function jsify(object) { - if (object == null) dart.nullFailed(I[136], 33, 22, "object"); - if (!core.Map.is(object) && !core.Iterable.is(object)) { - dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); - } - return js_util._convertDataTree(object); -}; js_util._convertDataTree = function _convertDataTree(data) { - if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + if (data == null) dart.nullFailed(I[141], 21, 32, "data"); let _convertedObjects = new _js_helper.IdentityMap.new(); function _convert(o) { if (dart.test(_convertedObjects[$containsKey](o))) { @@ -58048,41 +62546,148 @@ js_util._convertDataTree = function _convertDataTree(data) { dart.fn(_convert, T$.ObjectNToObjectN()); return dart.nullCheck(_convert(data)); }; -js_util.newObject = function newObject() { +js_util._getPropertyTrustType = function _getPropertyTrustType(T, o, name) { + if (o == null) dart.nullFailed(I[141], 63, 35, "o"); + if (name == null) dart.nullFailed(I[141], 63, 45, "name"); + return o[name]; +}; +js_util._setPropertyUnchecked = function _setPropertyUnchecked(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 74, 35, "o"); + if (name == null) dart.nullFailed(I[141], 74, 45, "name"); + return o[name] = value; +}; +js_util._callMethodTrustType = function _callMethodTrustType(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 85, 34, "o"); + if (method == null) dart.nullFailed(I[141], 85, 44, "method"); + if (args == null) dart.nullFailed(I[141], 85, 66, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); +}; +js_util._callMethodUnchecked0 = function _callMethodUnchecked0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 92, 35, "o"); + if (method == null) dart.nullFailed(I[141], 92, 45, "method"); + return T.as(o[method]()); +}; +js_util._callMethodUncheckedTrustType0 = function _callMethodUncheckedTrustType0(T, o, method) { + if (o == null) dart.nullFailed(I[141], 99, 44, "o"); + if (method == null) dart.nullFailed(I[141], 99, 54, "method"); + return o[method](); +}; +js_util._callMethodUnchecked1 = function _callMethodUnchecked1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 105, 35, "o"); + if (method == null) dart.nullFailed(I[141], 105, 45, "method"); + return T.as(o[method](arg1)); +}; +js_util._callMethodUncheckedTrustType1 = function _callMethodUncheckedTrustType1(T, o, method, arg1) { + if (o == null) dart.nullFailed(I[141], 112, 44, "o"); + if (method == null) dart.nullFailed(I[141], 112, 54, "method"); + return o[method](arg1); +}; +js_util._callMethodUnchecked2 = function _callMethodUnchecked2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 119, 12, "o"); + if (method == null) dart.nullFailed(I[141], 119, 22, "method"); + return T.as(o[method](arg1, arg2)); +}; +js_util._callMethodUncheckedTrustType2 = function _callMethodUncheckedTrustType2(T, o, method, arg1, arg2) { + if (o == null) dart.nullFailed(I[141], 127, 12, "o"); + if (method == null) dart.nullFailed(I[141], 127, 22, "method"); + return o[method](arg1, arg2); +}; +js_util._callMethodUnchecked3 = function _callMethodUnchecked3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 134, 12, "o"); + if (method == null) dart.nullFailed(I[141], 134, 22, "method"); + return T.as(o[method](arg1, arg2, arg3)); +}; +js_util._callMethodUncheckedTrustType3 = function _callMethodUncheckedTrustType3(T, o, method, arg1, arg2, arg3) { + if (o == null) dart.nullFailed(I[141], 143, 12, "o"); + if (method == null) dart.nullFailed(I[141], 143, 22, "method"); + return o[method](arg1, arg2, arg3); +}; +js_util._callMethodUnchecked4 = function _callMethodUnchecked4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 149, 35, "o"); + if (method == null) dart.nullFailed(I[141], 149, 45, "method"); + return T.as(o[method](arg1, arg2, arg3, arg4)); +}; +js_util._callMethodUncheckedTrustType4 = function _callMethodUncheckedTrustType4(T, o, method, arg1, arg2, arg3, arg4) { + if (o == null) dart.nullFailed(I[141], 158, 44, "o"); + if (method == null) dart.nullFailed(I[141], 158, 54, "method"); + return o[method](arg1, arg2, arg3, arg4); +}; +js_util._callConstructorUnchecked0 = function _callConstructorUnchecked0(T, constr) { + if (constr == null) dart.nullFailed(I[141], 233, 40, "constr"); + return T.as(new constr()); +}; +js_util._callConstructorUnchecked1 = function _callConstructorUnchecked1(T, constr, arg1) { + if (constr == null) dart.nullFailed(I[141], 239, 40, "constr"); + return T.as(new constr(arg1)); +}; +js_util._callConstructorUnchecked2 = function _callConstructorUnchecked2(T, constr, arg1, arg2) { + if (constr == null) dart.nullFailed(I[141], 245, 40, "constr"); + return T.as(new constr(arg1, arg2)); +}; +js_util._callConstructorUnchecked3 = function _callConstructorUnchecked3(T, constr, arg1, arg2, arg3) { + if (constr == null) dart.nullFailed(I[141], 252, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3)); +}; +js_util._callConstructorUnchecked4 = function _callConstructorUnchecked4(T, constr, arg1, arg2, arg3, arg4) { + if (constr == null) dart.nullFailed(I[141], 259, 12, "constr"); + return T.as(new constr(arg1, arg2, arg3, arg4)); +}; +js_util._isJavaScriptDate = function _isJavaScriptDate(value) { + return value instanceof Date; +}; +js_util._isJavaScriptRegExp = function _isJavaScriptRegExp(value) { + return value instanceof RegExp; +}; +js_util._isJavaScriptPromise = function _isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; +}; +js_util._dateToDateTime = function _dateToDateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); +}; +js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[141], 14, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); +}; +js_util.newObject = function newObject(T) { return {}; }; js_util.hasProperty = function hasProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 69, 25, "o"); - if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + if (o == null) dart.nullFailed(I[141], 56, 25, "o"); + if (name == null) dart.nullFailed(I[141], 56, 35, "name"); return name in o; }; -js_util.getProperty = function getProperty(o, name) { - if (o == null) dart.nullFailed(I[136], 71, 28, "o"); - if (name == null) dart.nullFailed(I[136], 71, 38, "name"); - return o[name]; +js_util.getProperty = function getProperty(T, o, name) { + if (o == null) dart.nullFailed(I[141], 59, 25, "o"); + if (name == null) dart.nullFailed(I[141], 59, 35, "name"); + return T.as(o[name]); }; -js_util.setProperty = function setProperty(o, name, value) { - if (o == null) dart.nullFailed(I[136], 74, 28, "o"); - if (name == null) dart.nullFailed(I[136], 74, 38, "name"); +js_util.setProperty = function setProperty(T, o, name, value) { + if (o == null) dart.nullFailed(I[141], 67, 25, "o"); + if (name == null) dart.nullFailed(I[141], 67, 35, "name"); _js_helper.assertInterop(value); return o[name] = value; }; -js_util.callMethod = function callMethod$(o, method, args) { - if (o == null) dart.nullFailed(I[136], 79, 27, "o"); - if (method == null) dart.nullFailed(I[136], 79, 37, "method"); - if (args == null) dart.nullFailed(I[136], 79, 59, "args"); +js_util.callMethod = function callMethod$(T, o, method, args) { + if (o == null) dart.nullFailed(I[141], 79, 24, "o"); + if (method == null) dart.nullFailed(I[141], 79, 34, "method"); + if (args == null) dart.nullFailed(I[141], 79, 56, "args"); _js_helper.assertInteropArgs(args); - return o[method].apply(o, args); + return T.as(o[method].apply(o, args)); }; js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + if (type == null) dart.nullFailed(I[141], 165, 35, "type"); return o instanceof type; }; -js_util.callConstructor = function callConstructor(constr, $arguments) { - let t219; - if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); +js_util.callConstructor = function callConstructor(T, constr, $arguments) { + let t200; + if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); if ($arguments == null) { - return new constr(); + return T.as(new constr()); } else { _js_helper.assertInteropArgs($arguments); } @@ -58090,47 +62695,89 @@ js_util.callConstructor = function callConstructor(constr, $arguments) { let argumentCount = $arguments.length; switch (argumentCount) { case 0: - { - return new constr(); - } + { + return T.as(new constr()); + } case 1: - { - let arg0 = $arguments[0]; - return new constr(arg0); - } + { + let arg0 = $arguments[0]; + return T.as(new constr(arg0)); + } case 2: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - return new constr(arg0, arg1); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return T.as(new constr(arg0, arg1)); + } case 3: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - return new constr(arg0, arg1, arg2); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return T.as(new constr(arg0, arg1, arg2)); + } case 4: - { - let arg0 = $arguments[0]; - let arg1 = $arguments[1]; - let arg2 = $arguments[2]; - let arg3 = $arguments[3]; - return new constr(arg0, arg1, arg2, arg3); - } + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return T.as(new constr(arg0, arg1, arg2, arg3)); + } } } - let args = (t219 = [null], (() => { - t219[$addAll]($arguments); - return t219; + let args = (t200 = [null], (() => { + t200[$addAll]($arguments); + return t200; })()); let factoryFunction = constr.bind.apply(constr, args); String(factoryFunction); - return new factoryFunction(); + return T.as(new factoryFunction()); +}; +js_util.add = function add(T, first, second) { + return T.as(first + second); +}; +js_util.subtract = function subtract(T, first, second) { + return T.as(first - second); +}; +js_util.multiply = function multiply(T, first, second) { + return T.as(first * second); +}; +js_util.divide = function divide(T, first, second) { + return T.as(first / second); +}; +js_util.exponentiate = function exponentiate(T, first, second) { + return T.as(first ** second); +}; +js_util.modulo = function modulo(T, first, second) { + return T.as(first % second); +}; +js_util.equal = function equal(T, first, second) { + return first == second; +}; +js_util.strictEqual = function strictEqual(T, first, second) { + return first === second; +}; +js_util.notEqual = function notEqual(T, first, second) { + return first != second; +}; +js_util.strictNotEqual = function strictNotEqual(T, first, second) { + return first !== second; +}; +js_util.greaterThan = function greaterThan(T, first, second) { + return first > second; +}; +js_util.greaterThanOrEqual = function greaterThanOrEqual(T, first, second) { + return first >= second; +}; +js_util.lessThan = function lessThan(T, first, second) { + return first < second; +}; +js_util.lessThanOrEqual = function lessThanOrEqual(T, first, second) { + return first <= second; }; js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { - if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + if (jsPromise == null) dart.nullFailed(I[141], 349, 37, "jsPromise"); let completer = async.Completer$(T).new(); let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { @@ -58142,9 +62789,90 @@ js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { jsPromise.then(success, error); return completer.future; }; +js_util._getConstructor = function _getConstructor(constructorName) { + if (constructorName == null) dart.nullFailed(I[139], 132, 32, "constructorName"); + return js_util.getProperty(T$.ObjectN(), js_util.globalThis, constructorName); +}; +js_util.instanceOfString = function instanceOfString(element, objectType) { + if (objectType == null) dart.nullFailed(I[139], 137, 47, "objectType"); + let constructor = js_util._getConstructor(objectType); + return constructor != null && dart.test(js_util.instanceof(element, constructor)); +}; +js_util.objectGetPrototypeOf = function objectGetPrototypeOf(object) { + return Object.getPrototypeOf(object); +}; +js_util.objectKeys = function objectKeys(object) { + return Object.keys(object); +}; +js_util.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; +}; +js_util.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; +}; +js_util.dartify = function dartify(o) { + let _convertedObjects = new _js_helper.IdentityMap.new(); + function convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (o == null || typeof o == 'boolean' || typeof o == 'number' || typeof o == 'string') return o; + if (dart.test(js_util._isJavaScriptDate(o))) { + return js_util._dateToDateTime(o); + } + if (dart.test(js_util._isJavaScriptRegExp(o))) { + dart.throw(new core.ArgumentError.new("structured clone of RegExp")); + } + if (dart.test(js_util._isJavaScriptPromise(o))) { + return js_util.promiseToFuture(dart.dynamic, o); + } + if (dart.test(js_util.isJavaScriptSimpleObject(o))) { + let dartObject = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + _convertedObjects[$_set](o, dartObject); + let originalKeys = js_util.objectKeys(o); + let dartKeys = T$.JSArrayOfObjectN().of([]); + for (let key of originalKeys) { + dartKeys[$add](js_util.dartify(key)); + } + for (let i = 0; i < dart.notNull(originalKeys[$length]); i = i + 1) { + let jsKey = originalKeys[$_get](i); + let dartKey = dartKeys[$_get](i); + if (jsKey != null) { + dartObject[$_set](dartKey, convert(js_util.getProperty(T$.ObjectN(), o, jsKey))); + } + } + return dartObject; + } + if (dart.test(js_util.isJavaScriptArray(o))) { + let l = o; + let dartObject = T$.JSArrayOfObjectN().of([]); + _convertedObjects[$_set](o, dartObject); + let length = js_util.getProperty(core.int, o, "length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + dartObject[$add](convert(l[$_get](i))); + } + return dartObject; + } + return o; + } + dart.fn(convert, T$.ObjectNToObjectN()); + return convert(o); +}; +dart.copyProperties(js_util, { + get globalThis() { + return globalThis; + }, + get objectPrototype() { + return Object.prototype; + } +}); math._JSRandom = class _JSRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSRandom.new(); + } nextInt(max) { - if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (max == null) dart.nullFailed(I[142], 86, 19, "max"); if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); } @@ -58169,11 +62897,15 @@ dart.setMethodSignature(math._JSRandom, () => ({ nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); -dart.setLibraryUri(math._JSRandom, I[139]); +dart.setLibraryUri(math._JSRandom, I[143]); var _lo = dart.privateName(math, "_lo"); var _hi = dart.privateName(math, "_hi"); var _nextState = dart.privateName(math, "_nextState"); math._Random = class _Random extends core.Object { + static ['_#new#tearOff'](seed) { + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); + return new math._Random.new(seed); + } [_nextState]() { let tmpHi = 4294901760 * this[_lo]; let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; @@ -58185,8 +62917,8 @@ math._Random = class _Random extends core.Object { this[_lo] = (newLo & 4294967295.0) >>> 0; let newLoHi = newLo - this[_lo]; this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; - if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); - if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[142], 222, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[142], 223, 12, "_hi < _POW2_32"); } nextInt(max) { if (max == null) dart.argumentError(max); @@ -58219,7 +62951,7 @@ math._Random = class _Random extends core.Object { } }; (math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); this[_lo] = 0; this[_hi] = 0; let empty_seed = 0; @@ -58283,12 +63015,13 @@ dart.setMethodSignature(math._Random, () => ({ nextDouble: dart.fnType(core.double, []), nextBool: dart.fnType(core.bool, []) })); -dart.setLibraryUri(math._Random, I[139]); +dart.setLibraryUri(math._Random, I[143]); dart.setFieldSignature(math._Random, () => ({ __proto__: dart.getFields(math._Random.__proto__), [_lo]: dart.fieldType(core.int), [_hi]: dart.fieldType(core.int) })); +dart.setStaticFieldSignature(math._Random, () => ['_POW2_53_D', '_POW2_27_D', '_MASK32']); dart.defineLazy(math._Random, { /*math._Random._POW2_53_D*/get _POW2_53_D() { return 9007199254740992.0; @@ -58303,9 +63036,12 @@ dart.defineLazy(math._Random, { var _buffer$0 = dart.privateName(math, "_buffer"); var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); math._JSSecureRandom = class _JSSecureRandom extends core.Object { + static ['_#new#tearOff']() { + return new math._JSSecureRandom.new(); + } [_getRandomBytes](start, length) { - if (start == null) dart.nullFailed(I[138], 279, 28, "start"); - if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + if (start == null) dart.nullFailed(I[142], 280, 28, "start"); + if (length == null) dart.nullFailed(I[142], 280, 39, "length"); crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); } nextBool() { @@ -58375,7 +63111,7 @@ dart.setMethodSignature(math._JSSecureRandom, () => ({ nextDouble: dart.fnType(core.double, []), nextInt: dart.fnType(core.int, [core.int]) })); -dart.setLibraryUri(math._JSSecureRandom, I[139]); +dart.setLibraryUri(math._JSSecureRandom, I[143]); dart.setFieldSignature(math._JSSecureRandom, () => ({ __proto__: dart.getFields(math._JSSecureRandom.__proto__), [_buffer$0]: dart.finalFieldType(typed_data.ByteData) @@ -58384,7 +63120,7 @@ var x$2 = dart.privateName(math, "Point.x"); var y$2 = dart.privateName(math, "Point.y"); const _is_Point_default = Symbol('_is_Point_default'); math.Point$ = dart.generic(T => { - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class Point extends core.Object { get x() { return this[x$2]; @@ -58398,6 +63134,11 @@ math.Point$ = dart.generic(T => { set y(value) { super.y = value; } + static ['_#new#tearOff'](T, x, y) { + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); + return new (math.Point$(T)).new(x, y); + } toString() { return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; } @@ -58409,40 +63150,40 @@ math.Point$ = dart.generic(T => { return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); } ['+'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 32, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 50, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); } ['-'](other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 39, 32, "other"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 63, 32, "other"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); - return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + if (factor == null) dart.nullFailed(I[144], 85, 37, "factor"); + return new (__t$PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); } get magnitude() { return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); } distanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 108, 30, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return math.sqrt(dx * dx + dy * dy); } squaredDistanceTo(other) { - PointOfT().as(other); - if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + __t$PointOfT().as(other); + if (other == null) dart.nullFailed(I[144], 130, 32, "other"); let dx = dart.notNull(this.x) - dart.notNull(other.x); let dy = dart.notNull(this.y) - dart.notNull(other.y); return T.as(dx * dx + dy * dy); } } (Point.new = function(x, y) { - if (x == null) dart.nullFailed(I[140], 13, 17, "x"); - if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + if (x == null) dart.nullFailed(I[144], 19, 17, "x"); + if (y == null) dart.nullFailed(I[144], 19, 22, "y"); this[x$2] = x; this[y$2] = y; ; @@ -58462,7 +63203,7 @@ math.Point$ = dart.generic(T => { __proto__: dart.getGetters(Point.__proto__), magnitude: core.double })); - dart.setLibraryUri(Point, I[139]); + dart.setLibraryUri(Point, I[143]); dart.setFieldSignature(Point, () => ({ __proto__: dart.getFields(Point.__proto__), x: dart.finalFieldType(T), @@ -58476,29 +63217,34 @@ math.Point = math.Point$(); dart.addTypeTests(math.Point, _is_Point_default); math.Random = class Random extends core.Object { static new(seed = null) { - return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + return seed == null ? C[222] || CT.C222 : new math._Random.new(seed); + } + static ['_#new#tearOff'](seed = null) { + return math.Random.new(seed); } static secure() { - let t219; - t219 = math.Random._secureRandom; - return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + return math.Random._secureRandom; + } + static ['_#secure#tearOff']() { + return math.Random.secure(); } }; (math.Random[dart.mixinNew] = function() { }).prototype = math.Random.prototype; dart.addTypeTests(math.Random); dart.addTypeCaches(math.Random); -dart.setLibraryUri(math.Random, I[139]); +dart.setStaticMethodSignature(math.Random, () => ['new', 'secure']); +dart.setLibraryUri(math.Random, I[143]); +dart.setStaticFieldSignature(math.Random, () => ['_secureRandom']); dart.defineLazy(math.Random, { /*math.Random._secureRandom*/get _secureRandom() { - return null; - }, - set _secureRandom(_) {} + return new math._JSSecureRandom.new(); + } }, false); const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); math._RectangleBase$ = dart.generic(T => { - var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); - var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + var __t$RectangleOfT = () => (__t$RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); class _RectangleBase extends core.Object { get right() { return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); @@ -58517,51 +63263,51 @@ math._RectangleBase$ = dart.generic(T => { return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); } intersection(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 61, 43, "other"); let x0 = math.max(T, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { let y0 = math.max(T, this[$top], other[$top]); let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); if (y0 <= y1) { - return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + return new (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); } } return null; } intersects(other) { - if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + if (other == null) dart.nullFailed(I[145], 77, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } boundingBox(other) { - RectangleOfT().as(other); - if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + __t$RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[145], 85, 41, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(T, this[$left], other[$left]); let top = math.min(T, this[$top], other[$top]); - return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + return new (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + if (another == null) dart.nullFailed(I[145], 96, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + if (another == null) dart.nullFailed(I[145], 104, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get topLeft() { - return new (PointOfT()).new(this[$left], this[$top]); + return new (__t$PointOfT()).new(this[$left], this[$top]); } get topRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); } get bottomRight() { - return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } get bottomLeft() { - return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + return new (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); } } (_RectangleBase.new = function() { @@ -58598,7 +63344,7 @@ math._RectangleBase$ = dart.generic(T => { bottomLeft: math.Point$(T), [$bottomLeft]: math.Point$(T) })); - dart.setLibraryUri(_RectangleBase, I[139]); + dart.setLibraryUri(_RectangleBase, I[143]); dart.defineExtensionMethods(_RectangleBase, [ 'toString', '_equals', @@ -58652,32 +63398,45 @@ math.Rectangle$ = dart.generic(T => { set height(value) { super.height = value; } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); + return new (math.Rectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 154, 41, "a"); - if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.Rectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 179, 41, "a"); + if (b == null) dart.nullFailed(I[145], 179, 53, "b"); + return math.Rectangle$(T).fromPoints(a, b); + } } (Rectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 138, 24, "left"); - if (top == null) dart.nullFailed(I[141], 138, 35, "top"); - if (width == null) dart.nullFailed(I[141], 138, 42, "width"); - if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + if (left == null) dart.nullFailed(I[145], 147, 24, "left"); + if (top == null) dart.nullFailed(I[145], 147, 35, "top"); + if (width == null) dart.nullFailed(I[145], 147, 42, "width"); + if (height == null) dart.nullFailed(I[145], 147, 51, "height"); this[left$] = left; this[top$] = top; - this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); - this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + this[width$] = T.as(dart.notNull(width) < 0 ? width === -1 / 0 ? 0.0 : -dart.notNull(width) * 0 : dart.notNull(width) + 0); + this[height$] = T.as(dart.notNull(height) < 0 ? height === -1 / 0 ? 0.0 : -dart.notNull(height) * 0 : dart.notNull(height) + 0); Rectangle.__proto__.new.call(this); ; }).prototype = Rectangle.prototype; dart.addTypeTests(Rectangle); Rectangle.prototype[_is_Rectangle_default] = true; dart.addTypeCaches(Rectangle); - dart.setLibraryUri(Rectangle, I[139]); + dart.setStaticMethodSignature(Rectangle, () => ['fromPoints']); + dart.setLibraryUri(Rectangle, I[143]); dart.setFieldSignature(Rectangle, () => ({ __proto__: dart.getFields(Rectangle.__proto__), left: dart.finalFieldType(T), @@ -58701,29 +63460,43 @@ math.MutableRectangle$ = dart.generic(T => { return this[left$0]; } set left(value) { + if (value == null) dart.nullFailed(I[145], 195, 5, "left"); this[left$0] = T.as(value); } get top() { return this[top$0]; } set top(value) { + if (value == null) dart.nullFailed(I[145], 200, 5, "top"); this[top$0] = T.as(value); } + static ['_#new#tearOff'](T, left, top, width, height) { + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } static fromPoints(a, b) { - if (a == null) dart.nullFailed(I[141], 205, 48, "a"); - if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); let left = math.min(T, a.x, b.x); let width = T.as(math.max(T, a.x, b.x) - left); let top = math.min(T, a.y, b.y); let height = T.as(math.max(T, a.y, b.y) - top); return new (math.MutableRectangle$(T)).new(left, top, width, height); } + static ['_#fromPoints#tearOff'](T, a, b) { + if (a == null) dart.nullFailed(I[145], 264, 48, "a"); + if (b == null) dart.nullFailed(I[145], 264, 60, "b"); + return math.MutableRectangle$(T).fromPoints(a, b); + } get width() { return this[_width]; } set width(width) { T.as(width); - if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (width == null) dart.nullFailed(I[145], 281, 15, "width"); if (dart.notNull(width) < 0) width = math._clampToZero(T, width); this[_width] = width; } @@ -58732,20 +63505,20 @@ math.MutableRectangle$ = dart.generic(T => { } set height(height) { T.as(height); - if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (height == null) dart.nullFailed(I[145], 295, 16, "height"); if (dart.notNull(height) < 0) height = math._clampToZero(T, height); this[_height] = height; } } (MutableRectangle.new = function(left, top, width, height) { - if (left == null) dart.nullFailed(I[141], 191, 25, "left"); - if (top == null) dart.nullFailed(I[141], 191, 36, "top"); - if (width == null) dart.nullFailed(I[141], 191, 43, "width"); - if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + if (left == null) dart.nullFailed(I[145], 236, 25, "left"); + if (top == null) dart.nullFailed(I[145], 236, 36, "top"); + if (width == null) dart.nullFailed(I[145], 236, 43, "width"); + if (height == null) dart.nullFailed(I[145], 236, 52, "height"); this[left$0] = left; this[top$0] = top; - this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; - this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + this[_width] = T.as(dart.notNull(width) < 0 ? math._clampToZero(T, width) : dart.notNull(width) + 0); + this[_height] = T.as(dart.notNull(height) < 0 ? math._clampToZero(T, height) : dart.notNull(height) + 0); MutableRectangle.__proto__.new.call(this); ; }).prototype = MutableRectangle.prototype; @@ -58753,6 +63526,7 @@ math.MutableRectangle$ = dart.generic(T => { MutableRectangle.prototype[_is_MutableRectangle_default] = true; dart.addTypeCaches(MutableRectangle); MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setStaticMethodSignature(MutableRectangle, () => ['fromPoints']); dart.setGetterSignature(MutableRectangle, () => ({ __proto__: dart.getGetters(MutableRectangle.__proto__), width: T, @@ -58767,7 +63541,7 @@ math.MutableRectangle$ = dart.generic(T => { height: dart.nullable(core.Object), [$height]: dart.nullable(core.Object) })); - dart.setLibraryUri(MutableRectangle, I[139]); + dart.setLibraryUri(MutableRectangle, I[143]); dart.setFieldSignature(MutableRectangle, () => ({ __proto__: dart.getFields(MutableRectangle.__proto__), left: dart.fieldType(T), @@ -58837,8 +63611,9 @@ math.log = function log$(x) { return Math.log(x); }; math._clampToZero = function _clampToZero(T, value) { - if (value == null) dart.nullFailed(I[141], 245, 33, "value"); - if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + if (value == null) dart.nullFailed(I[145], 304, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[145], 305, 10, "value < 0"); + if (value === -1 / 0) return T.as(0.0); return T.as(-dart.notNull(value) * 0); }; dart.defineLazy(math, { @@ -58870,644 +63645,86 @@ dart.defineLazy(math, { return 1.4142135623730951; } }, false); -typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; -(typed_data.ByteBuffer.new = function() { - ; -}).prototype = typed_data.ByteBuffer.prototype; -dart.addTypeTests(typed_data.ByteBuffer); -dart.addTypeCaches(typed_data.ByteBuffer); -dart.setLibraryUri(typed_data.ByteBuffer, I[60]); -typed_data.TypedData = class TypedData extends core.Object {}; -(typed_data.TypedData.new = function() { - ; -}).prototype = typed_data.TypedData.prototype; -dart.addTypeTests(typed_data.TypedData); -dart.addTypeCaches(typed_data.TypedData); -dart.setLibraryUri(typed_data.TypedData, I[60]); -typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; -(typed_data._TypedIntList.new = function() { - ; -}).prototype = typed_data._TypedIntList.prototype; -dart.addTypeTests(typed_data._TypedIntList); -dart.addTypeCaches(typed_data._TypedIntList); -dart.setLibraryUri(typed_data._TypedIntList, I[60]); -typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; -(typed_data._TypedFloatList.new = function() { - ; -}).prototype = typed_data._TypedFloatList.prototype; -dart.addTypeTests(typed_data._TypedFloatList); -dart.addTypeCaches(typed_data._TypedFloatList); -dart.setLibraryUri(typed_data._TypedFloatList, I[60]); -var _littleEndian = dart.privateName(typed_data, "_littleEndian"); -const _littleEndian$ = Endian__littleEndian; -typed_data.Endian = class Endian extends core.Object { - get [_littleEndian]() { - return this[_littleEndian$]; - } - set [_littleEndian](value) { - super[_littleEndian] = value; - } -}; -(typed_data.Endian.__ = function(_littleEndian) { - if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); - this[_littleEndian$] = _littleEndian; - ; -}).prototype = typed_data.Endian.prototype; -dart.addTypeTests(typed_data.Endian); -dart.addTypeCaches(typed_data.Endian); -dart.setLibraryUri(typed_data.Endian, I[60]); -dart.setFieldSignature(typed_data.Endian, () => ({ - __proto__: dart.getFields(typed_data.Endian.__proto__), - [_littleEndian]: dart.finalFieldType(core.bool) -})); -dart.defineLazy(typed_data.Endian, { - /*typed_data.Endian.big*/get big() { - return C[36] || CT.C36; - }, - /*typed_data.Endian.little*/get little() { - return C[213] || CT.C213; - }, - /*typed_data.Endian.host*/get host() { - return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; - } -}, false); -typed_data.ByteData = class ByteData extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); - return buffer[$asByteData](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 474, 42, "data"); - if (start == null) dart.nullFailed(I[142], 474, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } -}; -(typed_data.ByteData[dart.mixinNew] = function() { -}).prototype = typed_data.ByteData.prototype; -dart.addTypeTests(typed_data.ByteData); -dart.addTypeCaches(typed_data.ByteData); -typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; -dart.setLibraryUri(typed_data.ByteData, I[60]); -typed_data.Int8List = class Int8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); - return buffer[$asInt8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 770, 42, "data"); - if (start == null) dart.nullFailed(I[142], 770, 53, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int8List[dart.mixinNew] = function() { -}).prototype = typed_data.Int8List.prototype; -typed_data.Int8List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int8List); -dart.addTypeCaches(typed_data.Int8List); -typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int8List, I[60]); -dart.defineLazy(typed_data.Int8List, { - /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Uint8List = class Uint8List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); - return buffer[$asUint8List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 881, 43, "data"); - if (start == null) dart.nullFailed(I[142], 881, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint8List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint8List.prototype; -typed_data.Uint8List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint8List); -dart.addTypeCaches(typed_data.Uint8List); -typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint8List, I[60]); -dart.defineLazy(typed_data.Uint8List, { - /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); - return buffer[$asUint8ClampedList](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); - if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint8ClampedList[dart.mixinNew] = function() { -}).prototype = typed_data.Uint8ClampedList.prototype; -typed_data.Uint8ClampedList.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint8ClampedList); -dart.addTypeCaches(typed_data.Uint8ClampedList); -typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); -dart.defineLazy(typed_data.Uint8ClampedList, { - /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { - return 1; - } -}, false); -typed_data.Int16List = class Int16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); - return buffer[$asInt16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int16List[dart.mixinNew] = function() { -}).prototype = typed_data.Int16List.prototype; -typed_data.Int16List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int16List); -dart.addTypeCaches(typed_data.Int16List); -typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int16List, I[60]); -dart.defineLazy(typed_data.Int16List, { - /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { - return 2; - } -}, false); -typed_data.Uint16List = class Uint16List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); - return buffer[$asUint16List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](2) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); - } - return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint16List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint16List.prototype; -typed_data.Uint16List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint16List); -dart.addTypeCaches(typed_data.Uint16List); -typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint16List, I[60]); -dart.defineLazy(typed_data.Uint16List, { - /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { - return 2; - } -}, false); -typed_data.Int32List = class Int32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); - return buffer[$asInt32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int32List[dart.mixinNew] = function() { -}).prototype = typed_data.Int32List.prototype; -typed_data.Int32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int32List); -dart.addTypeCaches(typed_data.Int32List); -typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int32List, I[60]); -dart.defineLazy(typed_data.Int32List, { - /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Uint32List = class Uint32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); - return buffer[$asUint32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint32List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint32List.prototype; -typed_data.Uint32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint32List); -dart.addTypeCaches(typed_data.Uint32List); -typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint32List, I[60]); -dart.defineLazy(typed_data.Uint32List, { - /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Int64List = class Int64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 101, 25, "length"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); - dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); - return buffer[$asInt64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); - if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int64List[dart.mixinNew] = function() { -}).prototype = typed_data.Int64List.prototype; -typed_data.Int64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int64List); -dart.addTypeCaches(typed_data.Int64List); -typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Int64List, I[60]); -dart.defineLazy(typed_data.Int64List, { - /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Uint64List = class Uint64List extends core.Object { - static new(length) { - if (length == null) dart.nullFailed(I[143], 114, 26, "length"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static fromList(elements) { - if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); - dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); - } - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); - return buffer[$asUint64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); - if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Uint64List[dart.mixinNew] = function() { -}).prototype = typed_data.Uint64List.prototype; -typed_data.Uint64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Uint64List); -dart.addTypeCaches(typed_data.Uint64List); -typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; -dart.setLibraryUri(typed_data.Uint64List, I[60]); -dart.defineLazy(typed_data.Uint64List, { - /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Float32List = class Float32List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); - return buffer[$asFloat32List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](4) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); - } - return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float32List[dart.mixinNew] = function() { -}).prototype = typed_data.Float32List.prototype; -typed_data.Float32List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float32List); -dart.addTypeCaches(typed_data.Float32List); -typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; -dart.setLibraryUri(typed_data.Float32List, I[60]); -dart.defineLazy(typed_data.Float32List, { - /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { - return 4; - } -}, false); -typed_data.Float64List = class Float64List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); - return buffer[$asFloat64List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); - if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](8) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); - } - return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float64List[dart.mixinNew] = function() { -}).prototype = typed_data.Float64List.prototype; -typed_data.Float64List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float64List); -dart.addTypeCaches(typed_data.Float64List); -typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; -dart.setLibraryUri(typed_data.Float64List, I[60]); -dart.defineLazy(typed_data.Float64List, { - /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { - return 8; - } -}, false); -typed_data.Float32x4List = class Float32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); - return buffer[$asFloat32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float32x4List[dart.mixinNew] = function() { -}).prototype = typed_data.Float32x4List.prototype; -typed_data.Float32x4List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float32x4List); -dart.addTypeCaches(typed_data.Float32x4List); -typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Float32x4List, I[60]); -dart.defineLazy(typed_data.Float32x4List, { - /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); -typed_data.Int32x4List = class Int32x4List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); - return buffer[$asInt32x4List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); - if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Int32x4List[dart.mixinNew] = function() { -}).prototype = typed_data.Int32x4List.prototype; -typed_data.Int32x4List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Int32x4List); -dart.addTypeCaches(typed_data.Int32x4List); -typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Int32x4List, I[60]); -dart.defineLazy(typed_data.Int32x4List, { - /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); -typed_data.Float64x2List = class Float64x2List extends core.Object { - static view(buffer, offsetInBytes = 0, length = null) { - if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); - if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); - return buffer[$asFloat64x2List](offsetInBytes, length); - } - static sublistView(data, start = 0, end = null) { - if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); - if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); - let elementSize = data[$elementSizeInBytes]; - end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); - if (end == null) dart.throw("unreachable"); - let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); - if (byteLength[$modulo](16) !== 0) { - dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); - } - return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(typed_data.Float64x2List[dart.mixinNew] = function() { -}).prototype = typed_data.Float64x2List.prototype; -typed_data.Float64x2List.prototype[dart.isList] = true; -dart.addTypeTests(typed_data.Float64x2List); -dart.addTypeCaches(typed_data.Float64x2List); -typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; -dart.setLibraryUri(typed_data.Float64x2List, I[60]); -dart.defineLazy(typed_data.Float64x2List, { - /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { - return 16; - } -}, false); var _data$ = dart.privateName(typed_data, "_data"); -typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { +typed_data._UnmodifiableByteBufferView = class _UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } get lengthInBytes() { return this[_data$][$lengthInBytes]; } asUint8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 205, 30, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); } asInt8List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); - return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 208, 28, "offsetInBytes"); + return new typed_data._UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); } asUint8ClampedList(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); - return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 211, 44, "offsetInBytes"); + return new typed_data._UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); } asUint16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 215, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); } asInt16List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 218, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); } asUint32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 221, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); } asInt32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 224, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); } asUint64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); - return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 227, 32, "offsetInBytes"); + return new typed_data._UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); } asInt64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); - return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 230, 30, "offsetInBytes"); + return new typed_data._UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); } asInt32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); - return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 233, 34, "offsetInBytes"); + return new typed_data._UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); } asFloat32List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 237, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); } asFloat64List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 241, 34, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); } asFloat32x4List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 245, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); } asFloat64x2List(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); - return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 249, 38, "offsetInBytes"); + return new typed_data._UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); } asByteData(offsetInBytes = 0, length = null) { - if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); - return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + if (offsetInBytes == null) dart.nullFailed(I[62], 253, 28, "offsetInBytes"); + return new typed_data._UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); } }; -(typed_data.UnmodifiableByteBufferView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 11, 41, "data"); +(typed_data._UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 201, 42, "data"); this[_data$] = data; ; -}).prototype = typed_data.UnmodifiableByteBufferView.prototype; -dart.addTypeTests(typed_data.UnmodifiableByteBufferView); -dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); -typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; -dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), +}).prototype = typed_data._UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data._UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data._UnmodifiableByteBufferView); +typed_data._UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer, typed_data.UnmodifiableByteBufferView]; +dart.setMethodSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteBufferView.__proto__), asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), @@ -59539,17 +63756,17 @@ dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) })); -dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), +dart.setGetterSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteBufferView.__proto__), lengthInBytes: core.int, [$lengthInBytes]: core.int })); -dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableByteBufferView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteBufferView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteBuffer) })); -dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableByteBufferView, [ 'asUint8List', 'asInt8List', 'asUint8ClampedList', @@ -59566,113 +63783,117 @@ dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ 'asFloat64x2List', 'asByteData' ]); -dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); +dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); var _unsupported$ = dart.privateName(typed_data, "_unsupported"); -typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { +typed_data._UnmodifiableByteDataView = class _UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } getInt8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 266, 19, "byteOffset"); return this[_data$][$getInt8](byteOffset); } setInt8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 268, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 268, 36, "value"); return this[_unsupported$](); } getUint8(byteOffset) { - if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + if (byteOffset == null) dart.nullFailed(I[62], 270, 20, "byteOffset"); return this[_data$][$getUint8](byteOffset); } setUint8(byteOffset, value) { - if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + if (byteOffset == null) dart.nullFailed(I[62], 272, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 272, 37, "value"); return this[_unsupported$](); } - getInt16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + getInt16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 274, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 274, 40, "endian"); return this[_data$][$getInt16](byteOffset, endian); } - setInt16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 84, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + setInt16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 277, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 277, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 277, 52, "endian"); return this[_unsupported$](); } - getUint16(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + getUint16(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 280, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 280, 41, "endian"); return this[_data$][$getUint16](byteOffset, endian); } - setUint16(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 90, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + setUint16(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 283, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 283, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 283, 53, "endian"); return this[_unsupported$](); } - getInt32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + getInt32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 286, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 286, 40, "endian"); return this[_data$][$getInt32](byteOffset, endian); } - setInt32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 96, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + setInt32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 289, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 289, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 289, 52, "endian"); return this[_unsupported$](); } - getUint32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + getUint32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 292, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 292, 41, "endian"); return this[_data$][$getUint32](byteOffset, endian); } - setUint32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 102, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + setUint32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 295, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 295, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 295, 53, "endian"); return this[_unsupported$](); } - getInt64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + getInt64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 298, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 298, 40, "endian"); return this[_data$][$getInt64](byteOffset, endian); } - setInt64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 108, 37, "value"); - if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + setInt64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 301, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 301, 37, "value"); + if (endian == null) dart.nullFailed(I[62], 301, 52, "endian"); return this[_unsupported$](); } - getUint64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + getUint64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 304, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 304, 41, "endian"); return this[_data$][$getUint64](byteOffset, endian); } - setUint64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 114, 38, "value"); - if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + setUint64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 307, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 307, 38, "value"); + if (endian == null) dart.nullFailed(I[62], 307, 53, "endian"); return this[_unsupported$](); } - getFloat32(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + getFloat32(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 310, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 310, 45, "endian"); return this[_data$][$getFloat32](byteOffset, endian); } - setFloat32(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 120, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + setFloat32(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 313, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 313, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 313, 57, "endian"); return this[_unsupported$](); } - getFloat64(byteOffset, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); - if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + getFloat64(byteOffset, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 316, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[62], 316, 45, "endian"); return this[_data$][$getFloat64](byteOffset, endian); } - setFloat64(byteOffset, value, endian = C[36] || CT.C36) { - if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); - if (value == null) dart.nullFailed(I[144], 126, 42, "value"); - if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + setFloat64(byteOffset, value, endian = C[37] || CT.C37) { + if (byteOffset == null) dart.nullFailed(I[62], 319, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[62], 319, 42, "value"); + if (endian == null) dart.nullFailed(I[62], 319, 57, "endian"); return this[_unsupported$](); } get elementSizeInBytes() { @@ -59685,22 +63906,22 @@ typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends cor return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } [_unsupported$]() { dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); } }; -(typed_data.UnmodifiableByteDataView.new = function(data) { - if (data == null) dart.nullFailed(I[144], 71, 37, "data"); +(typed_data._UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[62], 264, 38, "data"); this[_data$] = data; ; -}).prototype = typed_data.UnmodifiableByteDataView.prototype; -dart.addTypeTests(typed_data.UnmodifiableByteDataView); -dart.addTypeCaches(typed_data.UnmodifiableByteDataView); -typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; -dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), +}).prototype = typed_data._UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data._UnmodifiableByteDataView); +dart.addTypeCaches(typed_data._UnmodifiableByteDataView); +typed_data._UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData, typed_data.UnmodifiableByteDataView]; +dart.setMethodSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableByteDataView.__proto__), getInt8: dart.fnType(core.int, [core.int]), [$getInt8]: dart.fnType(core.int, [core.int]), setInt8: dart.fnType(dart.void, [core.int, core.int]), @@ -59743,8 +63964,8 @@ dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), [_unsupported$]: dart.fnType(dart.void, []) })); -dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), +dart.setGetterSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data._UnmodifiableByteDataView.__proto__), elementSizeInBytes: core.int, [$elementSizeInBytes]: core.int, offsetInBytes: core.int, @@ -59754,12 +63975,12 @@ dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ buffer: typed_data.ByteBuffer, [$buffer]: typed_data.ByteBuffer })); -dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableByteDataView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableByteDataView.__proto__), [_data$]: dart.finalFieldType(typed_data.ByteData) })); -dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableByteDataView, [ 'getInt8', 'setInt8', 'getUint8', @@ -59781,7 +64002,7 @@ dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ 'getFloat64', 'setFloat64' ]); -dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); +dart.defineExtensionAccessors(typed_data._UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); var _list$2 = dart.privateName(typed_data, "_list"); var _createList = dart.privateName(typed_data, "_createList"); const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); @@ -59794,7 +64015,7 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { return this[_list$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + if (index == null) dart.nullFailed(I[62], 343, 21, "index"); return this[_list$2][$_get](index); } get elementSizeInBytes() { @@ -59807,10 +64028,10 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { return this[_data$][$lengthInBytes]; } get buffer() { - return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); } sublist(start, end = null) { - if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + if (start == null) dart.nullFailed(I[62], 355, 17, "start"); let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); let sublistLength = dart.notNull(endIndex) - dart.notNull(start); let result = this[_createList](sublistLength); @@ -59838,614 +64059,1784 @@ typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { lengthInBytes: core.int, buffer: typed_data.ByteBuffer })); - dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + dart.setLibraryUri(_UnmodifiableListMixin, I[63]); return _UnmodifiableListMixin; }); typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); -var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); +var _list$3 = dart.privateName(typed_data, "_UnmodifiableUint8ListView._list"); +typed_data.Uint8List = class Uint8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 93, 25, "length"); + return _native_typed_data.NativeUint8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 96, 40, "elements"); + return _native_typed_data.NativeUint8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 881, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 882, 12, "offsetInBytes"); + return typed_data.Uint8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 903, 43, "data"); + if (start == null) dart.nullFailed(I[146], 903, 54, "start"); + return typed_data.Uint8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8List.prototype; +typed_data.Uint8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8List); +dart.addTypeCaches(typed_data.Uint8List); +typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint8List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint8List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint8List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); -typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { +typed_data._UnmodifiableUint8ListView = class _UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { get [_list$2]() { return this[_list$3]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + if (length == null) dart.nullFailed(I[62], 375, 29, "length"); return _native_typed_data.NativeUint8List.new(length); } }; -(typed_data.UnmodifiableUint8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 177, 39, "list"); +(typed_data._UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 373, 40, "list"); this[_list$3] = list; ; -}).prototype = typed_data.UnmodifiableUint8ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint8ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); -typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; -dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint8ListView); +typed_data._UnmodifiableUint8ListView[dart.implements] = () => [typed_data.UnmodifiableUint8ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint8ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); +var _list$4 = dart.privateName(typed_data, "_UnmodifiableInt8ListView._list"); +typed_data.Int8List = class Int8List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 56, 24, "length"); + return _native_typed_data.NativeInt8List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 59, 39, "elements"); + return _native_typed_data.NativeInt8List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 768, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 769, 12, "offsetInBytes"); + return typed_data.Int8List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 790, 42, "data"); + if (start == null) dart.nullFailed(I[146], 790, 53, "start"); + return typed_data.Int8List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int8List[dart.mixinNew] = function() { +}).prototype = typed_data.Int8List.prototype; +typed_data.Int8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int8List); +dart.addTypeCaches(typed_data.Int8List); +typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int8List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int8List, I[63]); +dart.setStaticFieldSignature(typed_data.Int8List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); -typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { +typed_data._UnmodifiableInt8ListView = class _UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { get [_list$2]() { return this[_list$4]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + if (length == null) dart.nullFailed(I[62], 388, 28, "length"); return _native_typed_data.NativeInt8List.new(length); } }; -(typed_data.UnmodifiableInt8ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 187, 37, "list"); +(typed_data._UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 386, 38, "list"); this[_list$4] = list; ; -}).prototype = typed_data.UnmodifiableInt8ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt8ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); -typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; -dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt8ListView); +typed_data._UnmodifiableInt8ListView[dart.implements] = () => [typed_data.UnmodifiableInt8ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt8ListView.__proto__), [_createList]: dart.fnType(typed_data.Int8List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt8ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt8ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int8List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt8ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); +var _list$5 = dart.privateName(typed_data, "_UnmodifiableUint8ClampedListView._list"); +typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 83, 32, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 86, 47, "elements"); + return _native_typed_data.NativeUint8ClampedList.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1002, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1003, 12, "offsetInBytes"); + return typed_data.Uint8ClampedList.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1024, 50, "data"); + if (start == null) dart.nullFailed(I[146], 1025, 12, "start"); + return typed_data.Uint8ClampedList.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8ClampedList[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8ClampedList.prototype; +typed_data.Uint8ClampedList.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8ClampedList); +dart.addTypeCaches(typed_data.Uint8ClampedList); +typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint8ClampedList, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint8ClampedList, I[63]); +dart.setStaticFieldSignature(typed_data.Uint8ClampedList, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); -typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { +typed_data._UnmodifiableUint8ClampedListView = class _UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { get [_list$2]() { return this[_list$5]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + if (length == null) dart.nullFailed(I[62], 401, 36, "length"); return _native_typed_data.NativeUint8ClampedList.new(length); } }; -(typed_data.UnmodifiableUint8ClampedListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 197, 53, "list"); +(typed_data._UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 399, 54, "list"); this[_list$5] = list; ; -}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); -dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); -typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; -dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), +}).prototype = typed_data._UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data._UnmodifiableUint8ClampedListView); +typed_data._UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.UnmodifiableUint8ClampedListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint8ClampedListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint8ClampedListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint8ClampedListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint8ClampedListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); +var _list$6 = dart.privateName(typed_data, "_UnmodifiableUint16ListView._list"); +typed_data.Uint16List = class Uint16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 74, 26, "length"); + return _native_typed_data.NativeUint16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 77, 41, "elements"); + return _native_typed_data.NativeUint16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1246, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1247, 12, "offsetInBytes"); + return typed_data.Uint16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1271, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1271, 55, "start"); + return typed_data.Uint16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint16List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint16List.prototype; +typed_data.Uint16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint16List); +dart.addTypeCaches(typed_data.Uint16List); +typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint16List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint16List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint16List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); -typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { +typed_data._UnmodifiableUint16ListView = class _UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { get [_list$2]() { return this[_list$6]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + if (length == null) dart.nullFailed(I[62], 414, 30, "length"); return _native_typed_data.NativeUint16List.new(length); } }; -(typed_data.UnmodifiableUint16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 207, 41, "list"); +(typed_data._UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 412, 42, "list"); this[_list$6] = list; ; -}).prototype = typed_data.UnmodifiableUint16ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint16ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); -typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; -dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint16ListView); +typed_data._UnmodifiableUint16ListView[dart.implements] = () => [typed_data.UnmodifiableUint16ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint16ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint16ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint16List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); +var _list$7 = dart.privateName(typed_data, "_UnmodifiableInt16ListView._list"); +typed_data.Int16List = class Int16List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 38, 25, "length"); + return _native_typed_data.NativeInt16List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 41, 40, "elements"); + return _native_typed_data.NativeInt16List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1120, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1121, 12, "offsetInBytes"); + return typed_data.Int16List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1145, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1145, 54, "start"); + return typed_data.Int16List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int16List[dart.mixinNew] = function() { +}).prototype = typed_data.Int16List.prototype; +typed_data.Int16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int16List); +dart.addTypeCaches(typed_data.Int16List); +typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int16List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int16List, I[63]); +dart.setStaticFieldSignature(typed_data.Int16List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); -typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { +typed_data._UnmodifiableInt16ListView = class _UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { get [_list$2]() { return this[_list$7]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + if (length == null) dart.nullFailed(I[62], 427, 29, "length"); return _native_typed_data.NativeInt16List.new(length); } }; -(typed_data.UnmodifiableInt16ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 217, 39, "list"); +(typed_data._UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 425, 40, "list"); this[_list$7] = list; ; -}).prototype = typed_data.UnmodifiableInt16ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt16ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); -typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; -dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt16ListView); +typed_data._UnmodifiableInt16ListView[dart.implements] = () => [typed_data.UnmodifiableInt16ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt16ListView.__proto__), [_createList]: dart.fnType(typed_data.Int16List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt16ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt16ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int16List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt16ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); +var _list$8 = dart.privateName(typed_data, "_UnmodifiableUint32ListView._list"); +typed_data.Uint32List = class Uint32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 65, 26, "length"); + return _native_typed_data.NativeUint32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 68, 41, "elements"); + return _native_typed_data.NativeUint32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1497, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1498, 12, "offsetInBytes"); + return typed_data.Uint32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1522, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1522, 55, "start"); + return typed_data.Uint32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint32List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint32List.prototype; +typed_data.Uint32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint32List); +dart.addTypeCaches(typed_data.Uint32List); +typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint32List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); -typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { +typed_data._UnmodifiableUint32ListView = class _UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { get [_list$2]() { return this[_list$8]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + if (length == null) dart.nullFailed(I[62], 440, 30, "length"); return _native_typed_data.NativeUint32List.new(length); } }; -(typed_data.UnmodifiableUint32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 227, 41, "list"); +(typed_data._UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 438, 42, "list"); this[_list$8] = list; ; -}).prototype = typed_data.UnmodifiableUint32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint32ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); -typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; -dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint32ListView); +typed_data._UnmodifiableUint32ListView[dart.implements] = () => [typed_data.UnmodifiableUint32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint32ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); +var _list$9 = dart.privateName(typed_data, "_UnmodifiableInt32ListView._list"); +typed_data.Int32List = class Int32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 47, 25, "length"); + return _native_typed_data.NativeInt32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 50, 40, "elements"); + return _native_typed_data.NativeInt32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1371, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1372, 12, "offsetInBytes"); + return typed_data.Int32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1396, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1396, 54, "start"); + return typed_data.Int32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32List.prototype; +typed_data.Int32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32List); +dart.addTypeCaches(typed_data.Int32List); +typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int32List, I[63]); +dart.setStaticFieldSignature(typed_data.Int32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); -typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { +typed_data._UnmodifiableInt32ListView = class _UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { get [_list$2]() { return this[_list$9]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + if (length == null) dart.nullFailed(I[62], 453, 29, "length"); return _native_typed_data.NativeInt32List.new(length); } }; -(typed_data.UnmodifiableInt32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 237, 39, "list"); +(typed_data._UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 451, 40, "list"); this[_list$9] = list; ; -}).prototype = typed_data.UnmodifiableInt32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt32ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); -typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; -dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt32ListView); +typed_data._UnmodifiableInt32ListView[dart.implements] = () => [typed_data.UnmodifiableInt32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); +var _list$10 = dart.privateName(typed_data, "_UnmodifiableUint64ListView._list"); +typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 115, 26, "length"); + return typed_data.Uint64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 120, 41, "elements"); + return typed_data.Uint64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1748, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1749, 12, "offsetInBytes"); + return typed_data.Uint64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1773, 44, "data"); + if (start == null) dart.nullFailed(I[146], 1773, 55, "start"); + return typed_data.Uint64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint64List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint64List.prototype; +typed_data.Uint64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint64List); +dart.addTypeCaches(typed_data.Uint64List); +typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Uint64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Uint64List, I[63]); +dart.setStaticFieldSignature(typed_data.Uint64List, () => ['bytesPerElement']); +dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); -typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { +typed_data._UnmodifiableUint64ListView = class _UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { get [_list$2]() { return this[_list$10]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + if (length == null) dart.nullFailed(I[62], 466, 30, "length"); return typed_data.Uint64List.new(length); } }; -(typed_data.UnmodifiableUint64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 247, 41, "list"); +(typed_data._UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 464, 42, "list"); this[_list$10] = list; ; -}).prototype = typed_data.UnmodifiableUint64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableUint64ListView); -dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); -typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; -dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), +}).prototype = typed_data._UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data._UnmodifiableUint64ListView); +typed_data._UnmodifiableUint64ListView[dart.implements] = () => [typed_data.UnmodifiableUint64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableUint64ListView.__proto__), [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableUint64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableUint64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Uint64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableUint64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableUint64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); +var _list$11 = dart.privateName(typed_data, "_UnmodifiableInt64ListView._list"); +typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 102, 25, "length"); + return typed_data.Int64List.new(length); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 107, 40, "elements"); + return typed_data.Int64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1622, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1623, 12, "offsetInBytes"); + return typed_data.Int64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1647, 43, "data"); + if (start == null) dart.nullFailed(I[146], 1647, 54, "start"); + return typed_data.Int64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int64List[dart.mixinNew] = function() { +}).prototype = typed_data.Int64List.prototype; +typed_data.Int64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int64List); +dart.addTypeCaches(typed_data.Int64List); +typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setStaticMethodSignature(typed_data.Int64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int64List, I[63]); +dart.setStaticFieldSignature(typed_data.Int64List, () => ['bytesPerElement']); +dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); -typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { +typed_data._UnmodifiableInt64ListView = class _UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { get [_list$2]() { return this[_list$11]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + if (length == null) dart.nullFailed(I[62], 479, 29, "length"); return typed_data.Int64List.new(length); } }; -(typed_data.UnmodifiableInt64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 257, 39, "list"); +(typed_data._UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 477, 40, "list"); this[_list$11] = list; ; -}).prototype = typed_data.UnmodifiableInt64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt64ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); -typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; -dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt64ListView); +typed_data._UnmodifiableInt64ListView[dart.implements] = () => [typed_data.UnmodifiableInt64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt64ListView.__proto__), [_createList]: dart.fnType(typed_data.Int64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); +var _list$12 = dart.privateName(typed_data, "_UnmodifiableInt32x4ListView._list"); +typed_data.Int32x4List = class Int32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 128, 27, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 131, 46, "elements"); + return _native_typed_data.NativeInt32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2232, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2233, 12, "offsetInBytes"); + return typed_data.Int32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2257, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2257, 56, "start"); + return typed_data.Int32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4List.prototype; +typed_data.Int32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32x4List); +dart.addTypeCaches(typed_data.Int32x4List); +typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Int32x4List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Int32x4List, I[63]); +dart.setStaticFieldSignature(typed_data.Int32x4List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); -typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { +typed_data._UnmodifiableInt32x4ListView = class _UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { get [_list$2]() { return this[_list$12]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + if (length == null) dart.nullFailed(I[62], 492, 31, "length"); return new _native_typed_data.NativeInt32x4List.new(length); } }; -(typed_data.UnmodifiableInt32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 267, 43, "list"); +(typed_data._UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 490, 44, "list"); this[_list$12] = list; ; -}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); -dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); -typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; -dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), +}).prototype = typed_data._UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data._UnmodifiableInt32x4ListView); +typed_data._UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.UnmodifiableInt32x4ListView]; +dart.setMethodSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableInt32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableInt32x4ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableInt32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Int32x4List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableInt32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableInt32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); +var _list$13 = dart.privateName(typed_data, "_UnmodifiableFloat32x4ListView._list"); +typed_data.Float32x4List = class Float32x4List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 138, 29, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 141, 50, "elements"); + return _native_typed_data.NativeFloat32x4List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2111, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2112, 12, "offsetInBytes"); + return typed_data.Float32x4List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2136, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2136, 58, "start"); + return typed_data.Float32x4List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4List.prototype; +typed_data.Float32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32x4List); +dart.addTypeCaches(typed_data.Float32x4List); +typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Float32x4List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float32x4List, I[63]); +dart.setStaticFieldSignature(typed_data.Float32x4List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); -typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { +typed_data._UnmodifiableFloat32x4ListView = class _UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { get [_list$2]() { return this[_list$13]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + if (length == null) dart.nullFailed(I[62], 505, 33, "length"); return new _native_typed_data.NativeFloat32x4List.new(length); } }; -(typed_data.UnmodifiableFloat32x4ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 277, 47, "list"); +(typed_data._UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 503, 48, "list"); this[_list$13] = list; ; -}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); -typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat32x4ListView); +typed_data._UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32x4ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat32x4ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32x4ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32x4List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32x4ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); +var _list$14 = dart.privateName(typed_data, "_UnmodifiableFloat64x2ListView._list"); +typed_data.Float64x2List = class Float64x2List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 148, 29, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 151, 50, "elements"); + return _native_typed_data.NativeFloat64x2List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 2362, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 2363, 12, "offsetInBytes"); + return typed_data.Float64x2List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2387, 47, "data"); + if (start == null) dart.nullFailed(I[146], 2387, 58, "start"); + return typed_data.Float64x2List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64x2List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2List.prototype; +typed_data.Float64x2List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64x2List); +dart.addTypeCaches(typed_data.Float64x2List); +typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.Float64x2List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float64x2List, I[63]); +dart.setStaticFieldSignature(typed_data.Float64x2List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); -typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { +typed_data._UnmodifiableFloat64x2ListView = class _UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { get [_list$2]() { return this[_list$14]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + if (length == null) dart.nullFailed(I[62], 518, 33, "length"); return new _native_typed_data.NativeFloat64x2List.new(length); } }; -(typed_data.UnmodifiableFloat64x2ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 287, 47, "list"); +(typed_data._UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 516, 48, "list"); this[_list$14] = list; ; -}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); -typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat64x2ListView); +typed_data._UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64x2ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat64x2ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64x2ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64x2List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat64x2ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64x2ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); +var _list$15 = dart.privateName(typed_data, "_UnmodifiableFloat32ListView._list"); +typed_data.Float32List = class Float32List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 18, 27, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 21, 45, "elements"); + return _native_typed_data.NativeFloat32List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1874, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1875, 12, "offsetInBytes"); + return typed_data.Float32List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 1899, 45, "data"); + if (start == null) dart.nullFailed(I[146], 1899, 56, "start"); + return typed_data.Float32List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32List.prototype; +typed_data.Float32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32List); +dart.addTypeCaches(typed_data.Float32List); +typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setStaticMethodSignature(typed_data.Float32List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float32List, I[63]); +dart.setStaticFieldSignature(typed_data.Float32List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); -typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { +typed_data._UnmodifiableFloat32ListView = class _UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { get [_list$2]() { return this[_list$15]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + if (length == null) dart.nullFailed(I[62], 531, 31, "length"); return _native_typed_data.NativeFloat32List.new(length); } }; -(typed_data.UnmodifiableFloat32ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 297, 43, "list"); +(typed_data._UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 529, 44, "list"); this[_list$15] = list; ; -}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); -typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat32ListView); +typed_data._UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.UnmodifiableFloat32ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat32ListView.__proto__), [_createList]: dart.fnType(typed_data.Float32List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat32ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat32ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float32List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat32ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); -var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); +var _list$16 = dart.privateName(typed_data, "_UnmodifiableFloat64ListView._list"); +typed_data.Float64List = class Float64List extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 28, 27, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } + static ['_#fromList#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[62], 31, 45, "elements"); + return _native_typed_data.NativeFloat64List.fromList(elements); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 1993, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 1994, 12, "offsetInBytes"); + return typed_data.Float64List.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 2018, 45, "data"); + if (start == null) dart.nullFailed(I[146], 2018, 56, "start"); + return typed_data.Float64List.sublistView(data, start, end); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64List.prototype; +typed_data.Float64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64List); +dart.addTypeCaches(typed_data.Float64List); +typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setStaticMethodSignature(typed_data.Float64List, () => ['new', 'fromList', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.Float64List, I[63]); +dart.setStaticFieldSignature(typed_data.Float64List, () => ['bytesPerElement', '_redirecting#']); +dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; (UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); -typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { +typed_data._UnmodifiableFloat64ListView = class _UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { get [_list$2]() { return this[_list$16]; } set [_list$2](value) { super[_list$2] = value; } + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } [_createList](length) { - if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + if (length == null) dart.nullFailed(I[62], 544, 31, "length"); return _native_typed_data.NativeFloat64List.new(length); } }; -(typed_data.UnmodifiableFloat64ListView.new = function(list) { - if (list == null) dart.nullFailed(I[144], 307, 43, "list"); +(typed_data._UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[62], 542, 44, "list"); this[_list$16] = list; ; -}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; -dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); -dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); -typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; -dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), +}).prototype = typed_data._UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data._UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data._UnmodifiableFloat64ListView); +typed_data._UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.UnmodifiableFloat64ListView]; +dart.setMethodSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data._UnmodifiableFloat64ListView.__proto__), [_createList]: dart.fnType(typed_data.Float64List, [core.int]) })); -dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); -dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ - __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), +dart.setLibraryUri(typed_data._UnmodifiableFloat64ListView, I[63]); +dart.setFieldSignature(typed_data._UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data._UnmodifiableFloat64ListView.__proto__), [_list$2]: dart.finalFieldType(typed_data.Float64List) })); -dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); -dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ +dart.defineExtensionMethods(typed_data._UnmodifiableFloat64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data._UnmodifiableFloat64ListView, [ 'length', 'elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer' ]); +typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; +(typed_data.ByteBuffer.new = function() { + ; +}).prototype = typed_data.ByteBuffer.prototype; +dart.addTypeTests(typed_data.ByteBuffer); +dart.addTypeCaches(typed_data.ByteBuffer); +dart.setLibraryUri(typed_data.ByteBuffer, I[63]); +typed_data.TypedData = class TypedData extends core.Object {}; +(typed_data.TypedData.new = function() { + ; +}).prototype = typed_data.TypedData.prototype; +dart.addTypeTests(typed_data.TypedData); +dart.addTypeCaches(typed_data.TypedData); +dart.setLibraryUri(typed_data.TypedData, I[63]); +typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; +(typed_data._TypedIntList.new = function() { + ; +}).prototype = typed_data._TypedIntList.prototype; +dart.addTypeTests(typed_data._TypedIntList); +dart.addTypeCaches(typed_data._TypedIntList); +dart.setLibraryUri(typed_data._TypedIntList, I[63]); +typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; +(typed_data._TypedFloatList.new = function() { + ; +}).prototype = typed_data._TypedFloatList.prototype; +dart.addTypeTests(typed_data._TypedFloatList); +dart.addTypeCaches(typed_data._TypedFloatList); +dart.setLibraryUri(typed_data._TypedFloatList, I[63]); +var _littleEndian = dart.privateName(typed_data, "_littleEndian"); +const _littleEndian$ = Endian__littleEndian; +typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } + static ['_#_#tearOff'](_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + return new typed_data.Endian.__(_littleEndian); + } +}; +(typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[146], 391, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; +}).prototype = typed_data.Endian.prototype; +dart.addTypeTests(typed_data.Endian); +dart.addTypeCaches(typed_data.Endian); +dart.setLibraryUri(typed_data.Endian, I[63]); +dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) +})); +dart.setStaticFieldSignature(typed_data.Endian, () => ['big', 'little', 'host']); +dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[37] || CT.C37; + }, + /*typed_data.Endian.little*/get little() { + return C[223] || CT.C223; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } +}, false); +typed_data.ByteData = class ByteData extends core.Object { + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[62], 12, 24, "length"); + return _native_typed_data.NativeByteData.new(length); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static ['_#view#tearOff'](buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[146], 471, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[146], 472, 12, "offsetInBytes"); + return typed_data.ByteData.view(buffer, offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + static ['_#sublistView#tearOff'](data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[146], 493, 42, "data"); + if (start == null) dart.nullFailed(I[146], 493, 53, "start"); + return typed_data.ByteData.sublistView(data, start, end); + } +}; +(typed_data.ByteData[dart.mixinNew] = function() { +}).prototype = typed_data.ByteData.prototype; +dart.addTypeTests(typed_data.ByteData); +dart.addTypeCaches(typed_data.ByteData); +typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; +dart.setStaticMethodSignature(typed_data.ByteData, () => ['new', 'view', 'sublistView']); +dart.setLibraryUri(typed_data.ByteData, I[63]); +dart.setStaticFieldSignature(typed_data.ByteData, () => ['_redirecting#']); +typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 549, 49, "data"); + return new typed_data._UnmodifiableByteBufferView.new(data); + } +}; +(typed_data.UnmodifiableByteBufferView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); +typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setStaticMethodSignature(typed_data.UnmodifiableByteBufferView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableByteBufferView, () => ['_redirecting#']); +typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[62], 555, 45, "data"); + return new typed_data._UnmodifiableByteDataView.new(data); + } +}; +(typed_data.UnmodifiableByteDataView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteDataView); +dart.addTypeCaches(typed_data.UnmodifiableByteDataView); +typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; +dart.setStaticMethodSignature(typed_data.UnmodifiableByteDataView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableByteDataView, () => ['_redirecting#']); +typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 560, 47, "list"); + return new typed_data._UnmodifiableUint8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint8ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); +typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 566, 45, "list"); + return new typed_data._UnmodifiableInt8ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt8ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); +typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt8ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt8ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 571, 61, "list"); + return new typed_data._UnmodifiableUint8ClampedListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint8ClampedListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); +typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 577, 49, "list"); + return new typed_data._UnmodifiableUint16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint16ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); +typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint16ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint16ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 583, 47, "list"); + return new typed_data._UnmodifiableInt16ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt16ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); +typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt16ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt16ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 589, 49, "list"); + return new typed_data._UnmodifiableUint32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); +typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 595, 47, "list"); + return new typed_data._UnmodifiableInt32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); +typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 601, 49, "list"); + return new typed_data._UnmodifiableUint64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableUint64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); +typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableUint64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableUint64ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 607, 47, "list"); + return new typed_data._UnmodifiableInt64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); +typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt64ListView, () => ['_redirecting#']); +typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 613, 51, "list"); + return new typed_data._UnmodifiableInt32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableInt32x4ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); +typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 619, 55, "list"); + return new typed_data._UnmodifiableFloat32x4ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat32x4ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); +typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 625, 55, "list"); + return new typed_data._UnmodifiableFloat64x2ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat64x2ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); +typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 631, 51, "list"); + return new typed_data._UnmodifiableFloat32ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat32ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); +typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ['_redirecting#']); +typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends core.Object { + static ['_#new#tearOff'](list) { + if (list == null) dart.nullFailed(I[62], 637, 51, "list"); + return new typed_data._UnmodifiableFloat64ListView.new(list); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.UnmodifiableFloat64ListView[dart.mixinNew] = function() { +}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); +typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; +dart.setStaticMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ['new']); +dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[63]); +dart.setStaticFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ['_redirecting#']); indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { static createKeyRange_only(value) { return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); } static createKeyRange_lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + if (open == null) dart.nullFailed(I[147], 93, 17, "open"); return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + if (open == null) dart.nullFailed(I[147], 97, 17, "open"); return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); } static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 101, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 101, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); } static _class() { @@ -60470,20 +65861,25 @@ indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends cor static _bound(cls, lower, upper, lowerOpen, upperOpen) { return cls.bound(lower, upper, lowerOpen, upperOpen); } + static ['_#new#tearOff']() { + return new indexed_db._KeyRangeFactoryProvider.new(); + } }; (indexed_db._KeyRangeFactoryProvider.new = function() { ; }).prototype = indexed_db._KeyRangeFactoryProvider.prototype; dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); -dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); +dart.setStaticMethodSignature(indexed_db._KeyRangeFactoryProvider, () => ['createKeyRange_only', 'createKeyRange_lowerBound', 'createKeyRange_upperBound', 'createKeyRange_bound', '_class', '_uncachedClass', '_translateKey', '_only', '_lowerBound', '_upperBound', '_bound']); +dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[148]); +dart.setStaticFieldSignature(indexed_db._KeyRangeFactoryProvider, () => ['_cachedClass']); dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { return null; }, - set _cachedClass(_) {} + set _cachedClass(value) {} }, false); -indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { +indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { [S.$delete]() { try { return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); @@ -60515,6 +65911,9 @@ indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { this.continue(key); } } + static ['_#_#tearOff']() { + return indexed_db.Cursor.__(); + } get [S.$direction]() { return this.direction; } @@ -60557,6 +65956,7 @@ dart.setMethodSignature(indexed_db.Cursor, () => ({ [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); +dart.setStaticMethodSignature(indexed_db.Cursor, () => ['__']); dart.setGetterSignature(indexed_db.Cursor, () => ({ __proto__: dart.getGetters(indexed_db.Cursor.__proto__), [S.$direction]: dart.nullable(core.String), @@ -60564,9 +65964,12 @@ dart.setGetterSignature(indexed_db.Cursor, () => ({ [S.$primaryKey]: dart.nullable(core.Object), [S.$source]: dart.nullable(core.Object) })); -dart.setLibraryUri(indexed_db.Cursor, I[146]); +dart.setLibraryUri(indexed_db.Cursor, I[148]); dart.registerExtension("IDBCursor", indexed_db.Cursor); indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + static ['_#_#tearOff']() { + return indexed_db.CursorWithValue.__(); + } get [S.$value]() { return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); } @@ -60576,29 +65979,36 @@ indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { }; dart.addTypeTests(indexed_db.CursorWithValue); dart.addTypeCaches(indexed_db.CursorWithValue); +dart.setStaticMethodSignature(indexed_db.CursorWithValue, () => ['__']); dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), [S.$value]: dart.dynamic, [S._get_value]: dart.dynamic })); -dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); +dart.setLibraryUri(indexed_db.CursorWithValue, I[148]); dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); -html$.EventTarget = class EventTarget extends _interceptors.Interceptor { +html$.EventTarget = class EventTarget extends _interceptors.JavaScriptObject { + static ['_#_created#tearOff']() { + return new html$.EventTarget._created(); + } get [S.$on]() { return new html$.Events.new(this); } [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (type == null) dart.nullFailed(I[149], 15879, 32, "type"); if (listener != null) { this[S._addEventListener](type, listener, useCapture); } } [S.$removeEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (type == null) dart.nullFailed(I[149], 15889, 35, "type"); if (listener != null) { this[S._removeEventListener](type, listener, useCapture); } } + static ['_#_#tearOff']() { + return html$.EventTarget.__(); + } [S._addEventListener](...args) { return this.addEventListener.apply(this, args); } @@ -60623,15 +66033,16 @@ dart.setMethodSignature(html$.EventTarget, () => ({ [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.EventTarget, () => ['__']); dart.setGetterSignature(html$.EventTarget, () => ({ __proto__: dart.getGetters(html$.EventTarget.__proto__), [S.$on]: html$.Events })); -dart.setLibraryUri(html$.EventTarget, I[148]); +dart.setLibraryUri(html$.EventTarget, I[150]); dart.registerExtension("EventTarget", html$.EventTarget); indexed_db.Database = class Database extends html$.EventTarget { [S.$createObjectStore](name, opts) { - if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + if (name == null) dart.nullFailed(I[147], 300, 40, "name"); let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; let options = new _js_helper.LinkedMap.new(); @@ -60644,23 +66055,23 @@ indexed_db.Database = class Database extends html$.EventTarget { return this[S._createObjectStore](name, options); } [S.$transaction](storeName_OR_storeNames, mode) { - if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode == null) dart.nullFailed(I[147], 312, 59, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName_OR_storeNames, mode); } [S.$transactionStore](storeName, mode) { - if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); - if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (storeName == null) dart.nullFailed(I[147], 326, 39, "storeName"); + if (mode == null) dart.nullFailed(I[147], 326, 57, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } return this[S._transaction](storeName, mode); } [S.$transactionList](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 336, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 336, 63, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60668,8 +66079,8 @@ indexed_db.Database = class Database extends html$.EventTarget { return this[S._transaction](storeNames_1, mode); } [S.$transactionStores](storeNames, mode) { - if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); - if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (storeNames == null) dart.nullFailed(I[147], 344, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[147], 344, 66, "mode"); if (mode !== "readonly" && mode !== "readwrite") { dart.throw(new core.ArgumentError.new(mode)); } @@ -60678,6 +66089,9 @@ indexed_db.Database = class Database extends html$.EventTarget { [S._transaction](...args) { return this.transaction.apply(this, args); } + static ['_#_#tearOff']() { + return indexed_db.Database.__(); + } get [$name]() { return this.name; } @@ -60691,7 +66105,7 @@ indexed_db.Database = class Database extends html$.EventTarget { return this.close.apply(this, args); } [S._createObjectStore](name, options = null) { - if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (name == null) dart.nullFailed(I[147], 407, 41, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createObjectStore_1](name, options_1); @@ -60736,6 +66150,7 @@ dart.setMethodSignature(indexed_db.Database, () => ({ [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(indexed_db.Database, () => ['__']); dart.setGetterSignature(indexed_db.Database, () => ({ __proto__: dart.getGetters(indexed_db.Database.__proto__), [$name]: dart.nullable(core.String), @@ -60746,28 +66161,29 @@ dart.setGetterSignature(indexed_db.Database, () => ({ [S.$onError]: async.Stream$(html$.Event), [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) })); -dart.setLibraryUri(indexed_db.Database, I[146]); +dart.setLibraryUri(indexed_db.Database, I[148]); +dart.setStaticFieldSignature(indexed_db.Database, () => ['abortEvent', 'closeEvent', 'errorEvent', 'versionChangeEvent']); dart.defineLazy(indexed_db.Database, { /*indexed_db.Database.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[217] || CT.C217; + return C[227] || CT.C227; } }, false); dart.registerExtension("IDBDatabase", indexed_db.Database); -indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { +indexed_db.IdbFactory = class IdbFactory extends _interceptors.JavaScriptObject { static get supported() { return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); } [S.$open](name, opts) { - if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + if (name == null) dart.nullFailed(I[147], 463, 32, "name"); let version = opts && 'version' in opts ? opts.version : null; let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; @@ -60798,7 +66214,7 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } } [S.$deleteDatabase](name, opts) { - if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + if (name == null) dart.nullFailed(I[147], 491, 44, "name"); let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; try { let request = this[S._deleteDatabase](name); @@ -60807,7 +66223,7 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } let completer = T$0.CompleterOfIdbFactory().sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + if (e == null) dart.nullFailed(I[147], 499, 33, "e"); completer.complete(this); }, T$0.EventTovoid())); request[S.$onError].listen(dart.bind(completer, 'completeError')); @@ -60822,7 +66238,10 @@ indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { } } get [S.$supportsDatabaseNames]() { - return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + return false; + } + static ['_#_#tearOff']() { + return indexed_db.IdbFactory.__(); } [S.$cmp](...args) { return this.cmp.apply(this, args); @@ -60844,13 +66263,15 @@ dart.setMethodSignature(indexed_db.IdbFactory, () => ({ [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(indexed_db.IdbFactory, () => ['__']); dart.setGetterSignature(indexed_db.IdbFactory, () => ({ __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), [S.$supportsDatabaseNames]: core.bool })); -dart.setLibraryUri(indexed_db.IdbFactory, I[146]); +dart.setStaticGetterSignature(indexed_db.IdbFactory, () => ['supported']); +dart.setLibraryUri(indexed_db.IdbFactory, I[148]); dart.registerExtension("IDBFactory", indexed_db.IdbFactory); -indexed_db.Index = class Index extends _interceptors.Interceptor { +indexed_db.Index = class Index extends _interceptors.JavaScriptObject { [S.$count](key_OR_range = null) { try { let request = this[S._count$2](key_OR_range); @@ -60934,6 +66355,9 @@ indexed_db.Index = class Index extends _interceptors.Interceptor { } return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); } + static ['_#_#tearOff']() { + return indexed_db.Index.__(); + } get [S.$keyPath]() { return this.keyPath; } @@ -60991,6 +66415,7 @@ dart.setMethodSignature(indexed_db.Index, () => ({ [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(indexed_db.Index, () => ['__']); dart.setGetterSignature(indexed_db.Index, () => ({ __proto__: dart.getGetters(indexed_db.Index.__proto__), [S.$keyPath]: dart.nullable(core.Object), @@ -61003,25 +66428,44 @@ dart.setSetterSignature(indexed_db.Index, () => ({ __proto__: dart.getSetters(indexed_db.Index.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(indexed_db.Index, I[146]); +dart.setLibraryUri(indexed_db.Index, I[148]); dart.registerExtension("IDBIndex", indexed_db.Index); -indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { +indexed_db.KeyRange = class KeyRange extends _interceptors.JavaScriptObject { static only(value) { return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); } + static ['_#only#tearOff'](value) { + return indexed_db.KeyRange.only(value); + } static lowerBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); } + static ['_#lowerBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 699, 52, "open"); + return indexed_db.KeyRange.lowerBound(bound, open); + } static upperBound(bound, open = false) { - if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); } + static ['_#upperBound#tearOff'](bound, open = false) { + if (open == null) dart.nullFailed(I[147], 702, 52, "open"); + return indexed_db.KeyRange.upperBound(bound, open); + } static bound(lower, upper, lowerOpen = false, upperOpen = false) { - if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); - if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); } + static ['_#bound#tearOff'](lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[147], 706, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[147], 706, 41, "upperOpen"); + return indexed_db.KeyRange.bound(lower, upper, lowerOpen, upperOpen); + } + static ['_#_#tearOff']() { + return indexed_db.KeyRange.__(); + } get [S.$lower]() { return this.lower; } @@ -61044,6 +66488,7 @@ dart.setMethodSignature(indexed_db.KeyRange, () => ({ __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), [S.$includes]: dart.fnType(core.bool, [core.Object]) })); +dart.setStaticMethodSignature(indexed_db.KeyRange, () => ['only', 'lowerBound', 'upperBound', 'bound', '__', 'bound__', 'lowerBound__', 'only__', 'upperBound__']); dart.setGetterSignature(indexed_db.KeyRange, () => ({ __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), [S.$lower]: dart.nullable(core.Object), @@ -61051,9 +66496,9 @@ dart.setGetterSignature(indexed_db.KeyRange, () => ({ [S.$upper]: dart.nullable(core.Object), [S.$upperOpen]: dart.nullable(core.bool) })); -dart.setLibraryUri(indexed_db.KeyRange, I[146]); +dart.setLibraryUri(indexed_db.KeyRange, I[148]); dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); -indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { +indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { [$add](value, key = null) { try { let request = null; @@ -61163,7 +66608,7 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); } [S.$createIndex](name, keyPath, opts) { - if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + if (name == null) dart.nullFailed(I[147], 853, 28, "name"); let unique = opts && 'unique' in opts ? opts.unique : null; let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; let options = new _js_helper.LinkedMap.new(); @@ -61175,6 +66620,9 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { } return this[S._createIndex](name, core.Object.as(keyPath), options); } + static ['_#_#tearOff']() { + return indexed_db.ObjectStore.__(); + } get [S.$autoIncrement]() { return this.autoIncrement; } @@ -61215,8 +66663,8 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return this.count.apply(this, args); } [S._createIndex](name, keyPath, options = null) { - if (name == null) dart.nullFailed(I[145], 923, 29, "name"); - if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (name == null) dart.nullFailed(I[147], 915, 29, "name"); + if (keyPath == null) dart.nullFailed(I[147], 915, 42, "keyPath"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S._createIndex_1](name, keyPath, options_1); @@ -61272,11 +66720,11 @@ indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { return this.put.apply(this, args); } static _cursorStreamFromResult(T, request, autoAdvance) { - if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + if (request == null) dart.nullFailed(I[147], 983, 15, "request"); let controller = async.StreamController$(T).new({sync: true}); request[S.$onError].listen(dart.bind(controller, 'addError')); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + if (e == null) dart.nullFailed(I[147], 992, 31, "e"); let cursor = dart.nullable(T).as(request[S.$result]); if (cursor == null) { controller.close(); @@ -61323,6 +66771,7 @@ dart.setMethodSignature(indexed_db.ObjectStore, () => ({ [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) })); +dart.setStaticMethodSignature(indexed_db.ObjectStore, () => ['__', '_cursorStreamFromResult']); dart.setGetterSignature(indexed_db.ObjectStore, () => ({ __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), [S.$autoIncrement]: dart.nullable(core.bool), @@ -61335,9 +66784,12 @@ dart.setSetterSignature(indexed_db.ObjectStore, () => ({ __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(indexed_db.ObjectStore, I[146]); +dart.setLibraryUri(indexed_db.ObjectStore, I[148]); dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); -indexed_db.Observation = class Observation extends _interceptors.Interceptor { +indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observation.__(); + } get [S.$key]() { return this.key; } @@ -61350,27 +66802,35 @@ indexed_db.Observation = class Observation extends _interceptors.Interceptor { }; dart.addTypeTests(indexed_db.Observation); dart.addTypeCaches(indexed_db.Observation); +dart.setStaticMethodSignature(indexed_db.Observation, () => ['__']); dart.setGetterSignature(indexed_db.Observation, () => ({ __proto__: dart.getGetters(indexed_db.Observation.__proto__), [S.$key]: dart.nullable(core.Object), [S.$type]: dart.nullable(core.String), [S.$value]: dart.nullable(core.Object) })); -dart.setLibraryUri(indexed_db.Observation, I[146]); +dart.setLibraryUri(indexed_db.Observation, I[148]); dart.registerExtension("IDBObservation", indexed_db.Observation); -indexed_db.Observer = class Observer extends _interceptors.Interceptor { +indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.Observer.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); return indexed_db.Observer._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[147], 1034, 37, "callback"); + return indexed_db.Observer.new(callback); + } static _create_1(callback) { return new IDBObserver(callback); } [S.$observe](db, tx, options) { - if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); - if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); - if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + if (db == null) dart.nullFailed(I[147], 1041, 25, "db"); + if (tx == null) dart.nullFailed(I[147], 1041, 41, "tx"); + if (options == null) dart.nullFailed(I[147], 1041, 49, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S._observe_1](db, tx, options_1); return; @@ -61390,9 +66850,13 @@ dart.setMethodSignature(indexed_db.Observer, () => ({ [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) })); -dart.setLibraryUri(indexed_db.Observer, I[146]); +dart.setStaticMethodSignature(indexed_db.Observer, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(indexed_db.Observer, I[148]); dart.registerExtension("IDBObserver", indexed_db.Observer); -indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { +indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return indexed_db.ObserverChanges.__(); + } get [S.$database]() { return this.database; } @@ -61405,15 +66869,19 @@ indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interce }; dart.addTypeTests(indexed_db.ObserverChanges); dart.addTypeCaches(indexed_db.ObserverChanges); +dart.setStaticMethodSignature(indexed_db.ObserverChanges, () => ['__']); dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), [S.$database]: dart.nullable(indexed_db.Database), [S.$records]: dart.nullable(core.Object), [S.$transaction]: dart.nullable(indexed_db.Transaction) })); -dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); +dart.setLibraryUri(indexed_db.ObserverChanges, I[148]); dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); indexed_db.Request = class Request extends html$.EventTarget { + static ['_#_#tearOff']() { + return indexed_db.Request.__(); + } get [S.$error]() { return this.error; } @@ -61441,6 +66909,7 @@ indexed_db.Request = class Request extends html$.EventTarget { }; dart.addTypeTests(indexed_db.Request); dart.addTypeCaches(indexed_db.Request); +dart.setStaticMethodSignature(indexed_db.Request, () => ['__']); dart.setGetterSignature(indexed_db.Request, () => ({ __proto__: dart.getGetters(indexed_db.Request.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -61452,17 +66921,21 @@ dart.setGetterSignature(indexed_db.Request, () => ({ [S.$onError]: async.Stream$(html$.Event), [S.$onSuccess]: async.Stream$(html$.Event) })); -dart.setLibraryUri(indexed_db.Request, I[146]); +dart.setLibraryUri(indexed_db.Request, I[148]); +dart.setStaticFieldSignature(indexed_db.Request, () => ['errorEvent', 'successEvent']); dart.defineLazy(indexed_db.Request, { /*indexed_db.Request.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*indexed_db.Request.successEvent*/get successEvent() { - return C[218] || CT.C218; + return C[228] || CT.C228; } }, false); dart.registerExtension("IDBRequest", indexed_db.Request); indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + static ['_#_#tearOff']() { + return indexed_db.OpenDBRequest.__(); + } get [S.$onBlocked]() { return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); } @@ -61472,18 +66945,20 @@ indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { }; dart.addTypeTests(indexed_db.OpenDBRequest); dart.addTypeCaches(indexed_db.OpenDBRequest); +dart.setStaticMethodSignature(indexed_db.OpenDBRequest, () => ['__']); dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), [S.$onBlocked]: async.Stream$(html$.Event), [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) })); -dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); +dart.setLibraryUri(indexed_db.OpenDBRequest, I[148]); +dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); dart.defineLazy(indexed_db.OpenDBRequest, { /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[219] || CT.C219; + return C[229] || CT.C229; }, /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[220] || CT.C220; + return C[230] || CT.C230; } }, false); dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); @@ -61492,21 +66967,24 @@ indexed_db.Transaction = class Transaction extends html$.EventTarget { get [S.$completed]() { let completer = T$0.CompleterOfDatabase().new(); this[S.$onComplete].first.then(core.Null, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + if (_ == null) dart.nullFailed(I[147], 1173, 33, "_"); completer.complete(this.db); }, T$0.EventToNull())); this[S.$onError].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1177, 30, "e"); completer.completeError(e); }, T$0.EventToNull())); this[S.$onAbort].first.then(core.Null, dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (e == null) dart.nullFailed(I[147], 1181, 30, "e"); if (!dart.test(completer.isCompleted)) { completer.completeError(e); } }, T$0.EventToNull())); return completer.future; } + static ['_#_#tearOff']() { + return indexed_db.Transaction.__(); + } get [S.$db]() { return this.db; } @@ -61542,6 +67020,7 @@ dart.setMethodSignature(indexed_db.Transaction, () => ({ [S.$abort]: dart.fnType(dart.void, []), [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) })); +dart.setStaticMethodSignature(indexed_db.Transaction, () => ['__']); dart.setGetterSignature(indexed_db.Transaction, () => ({ __proto__: dart.getGetters(indexed_db.Transaction.__proto__), [S.$completed]: async.Future$(indexed_db.Database), @@ -61553,39 +67032,57 @@ dart.setGetterSignature(indexed_db.Transaction, () => ({ [S.$onComplete]: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(indexed_db.Transaction, I[146]); +dart.setLibraryUri(indexed_db.Transaction, I[148]); +dart.setStaticFieldSignature(indexed_db.Transaction, () => ['abortEvent', 'completeEvent', 'errorEvent']); dart.defineLazy(indexed_db.Transaction, { /*indexed_db.Transaction.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[221] || CT.C221; + return C[231] || CT.C231; }, /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("IDBTransaction", indexed_db.Transaction); -html$.Event = class Event$ extends _interceptors.Interceptor { +html$.Event = class Event$ extends _interceptors.JavaScriptObject { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 15569, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15569, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15569, 59, "cancelable"); + return html$.Event.new(type, {canBubble: canBubble, cancelable: cancelable}); + } static eventType(type, name, opts) { - if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); - if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); let e = html$.document[S._createEvent](type); e[S._initEvent](name, canBubble, cancelable); return e; } + static ['_#eventType#tearOff'](type, name, opts) { + if (type == null) dart.nullFailed(I[149], 15582, 34, "type"); + if (name == null) dart.nullFailed(I[149], 15582, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 15583, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 15583, 36, "cancelable"); + return html$.Event.eventType(type, name, {canBubble: canBubble, cancelable: cancelable}); + } get [S._selector]() { return this._selector; } @@ -61609,13 +67106,17 @@ html$.Event = class Event$ extends _interceptors.Interceptor { return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.Event._create_1(type, eventInitDict_1); } return html$.Event._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15616, 26, "type"); + return html$.Event.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new Event(type, eventInitDict); } @@ -61684,6 +67185,7 @@ dart.setMethodSignature(html$.Event, () => ({ [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), [S.$stopPropagation]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Event, () => ['new', 'eventType', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.Event, () => ({ __proto__: dart.getGetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String), @@ -61706,7 +67208,8 @@ dart.setSetterSignature(html$.Event, () => ({ __proto__: dart.getSetters(html$.Event.__proto__), [S._selector]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Event, I[148]); +dart.setLibraryUri(html$.Event, I[150]); +dart.setStaticFieldSignature(html$.Event, () => ['AT_TARGET', 'BUBBLING_PHASE', 'CAPTURING_PHASE']); dart.defineLazy(html$.Event, { /*html$.Event.AT_TARGET*/get AT_TARGET() { return 2; @@ -61722,14 +67225,21 @@ dart.registerExtension("Event", html$.Event); dart.registerExtension("InputEvent", html$.Event); dart.registerExtension("SubmitEvent", html$.Event); indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return indexed_db.VersionChangeEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); } return indexed_db.VersionChangeEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1258, 37, "type"); + return indexed_db.VersionChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new IDBVersionChangeEvent(type, eventInitDict); } @@ -61754,6 +67264,7 @@ indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { }; dart.addTypeTests(indexed_db.VersionChangeEvent); dart.addTypeCaches(indexed_db.VersionChangeEvent); +dart.setStaticMethodSignature(indexed_db.VersionChangeEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), [S.$dataLoss]: dart.nullable(core.String), @@ -61762,7 +67273,7 @@ dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ [S.$oldVersion]: dart.nullable(core.int), [S.$target]: indexed_db.OpenDBRequest })); -dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); +dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { function containsDate(object) { @@ -61787,10 +67298,10 @@ indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(ob return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); }; indexed_db._completeRequest = function _completeRequest(T, request) { - if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + if (request == null) dart.nullFailed(I[147], 536, 39, "request"); let completer = async.Completer$(T).sync(); request[S.$onSuccess].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + if (e == null) dart.nullFailed(I[147], 540, 29, "e"); let result = T.as(request[S.$result]); completer.complete(result); }, T$0.EventTovoid())); @@ -61802,18 +67313,21 @@ dart.defineLazy(indexed_db, { return "JSExtendableArray|=Object|num|String"; }, /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[222] || CT.C222; + return C[232] || CT.C232; }, /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - return C[223] || CT.C223; + return C[233] || CT.C233; } }, false); html$.Node = class Node extends html$.EventTarget { + static ['_#_created#tearOff']() { + return new html$.Node._created(); + } get [S.$nodes]() { return new html$._ChildNodeListLazy.new(this); } set [S.$nodes](value) { - if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + if (value == null) dart.nullFailed(I[149], 23302, 28, "value"); let copy = value[$toList](); this[S.$text] = ""; for (let node of copy) { @@ -61827,7 +67341,7 @@ html$.Node = class Node extends html$.EventTarget { } } [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); try { let parent = dart.nullCheck(this.parentNode); parent[S$._replaceChild](otherNode, this); @@ -61839,20 +67353,20 @@ html$.Node = class Node extends html$.EventTarget { } return this; } - [S$.$insertAllBefore](newNodes, refChild) { - if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); - if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + [S$.$insertAllBefore](newNodes, child) { + if (newNodes == null) dart.nullFailed(I[149], 23342, 39, "newNodes"); + if (child == null) dart.nullFailed(I[149], 23342, 54, "child"); if (html$._ChildNodeListLazy.is(newNodes)) { let otherList = newNodes; if (otherList[S$._this] === this) { dart.throw(new core.ArgumentError.new(newNodes)); } for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), child); } } else { for (let node of newNodes) { - this.insertBefore(node, refChild); + this.insertBefore(node, child); } } } @@ -61868,6 +67382,9 @@ html$.Node = class Node extends html$.EventTarget { get [S$.$childNodes]() { return this.childNodes; } + static ['_#_#tearOff']() { + return html$.Node.__(); + } get [S.$baseUri]() { return this.baseURI; } @@ -61968,6 +67485,7 @@ dart.setMethodSignature(html$.Node, () => ({ [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) })); +dart.setStaticMethodSignature(html$.Node, () => ['__']); dart.setGetterSignature(html$.Node, () => ({ __proto__: dart.getGetters(html$.Node.__proto__), [S.$nodes]: core.List$(html$.Node), @@ -61991,7 +67509,8 @@ dart.setSetterSignature(html$.Node, () => ({ [S.$nodes]: core.Iterable$(html$.Node), [S.$text]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Node, I[148]); +dart.setLibraryUri(html$.Node, I[150]); +dart.setStaticFieldSignature(html$.Node, () => ['ATTRIBUTE_NODE', 'CDATA_SECTION_NODE', 'COMMENT_NODE', 'DOCUMENT_FRAGMENT_NODE', 'DOCUMENT_NODE', 'DOCUMENT_TYPE_NODE', 'ELEMENT_NODE', 'ENTITY_NODE', 'ENTITY_REFERENCE_NODE', 'NOTATION_NODE', 'PROCESSING_INSTRUCTION_NODE', 'TEXT_NODE']); dart.defineLazy(html$.Node, { /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { return 2; @@ -62037,98 +67556,197 @@ html$.Element = class Element extends html$.Node { let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + if (e == null) dart.nullFailed(I[149], 12777, 34, "e"); return html$.Element.is(e); }, T$0.NodeTobool()))[$single]); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.Element.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static ['_#created#tearOff']() { + return new html$.Element.created(); + } static tag(tag, typeExtension = null) { - if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); } + static ['_#tag#tearOff'](tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[149], 12822, 30, "tag"); + return html$.Element.tag(tag, typeExtension); + } static a() { return html$.AnchorElement.new(); } + static ['_#a#tearOff']() { + return html$.Element.a(); + } + static ['_#article#tearOff']() { + return html$.Element.article(); + } static article() { return html$.Element.tag("article"); } + static ['_#aside#tearOff']() { + return html$.Element.aside(); + } static aside() { return html$.Element.tag("aside"); } static audio() { return html$.Element.tag("audio"); } + static ['_#audio#tearOff']() { + return html$.Element.audio(); + } static br() { return html$.BRElement.new(); } + static ['_#br#tearOff']() { + return html$.Element.br(); + } static canvas() { return html$.CanvasElement.new(); } + static ['_#canvas#tearOff']() { + return html$.Element.canvas(); + } + static ['_#div#tearOff']() { + return html$.Element.div(); + } static div() { return html$.DivElement.new(); } static footer() { return html$.Element.tag("footer"); } + static ['_#footer#tearOff']() { + return html$.Element.footer(); + } static header() { return html$.Element.tag("header"); } + static ['_#header#tearOff']() { + return html$.Element.header(); + } static hr() { return html$.Element.tag("hr"); } + static ['_#hr#tearOff']() { + return html$.Element.hr(); + } static iframe() { return html$.Element.tag("iframe"); } + static ['_#iframe#tearOff']() { + return html$.Element.iframe(); + } static img() { return html$.Element.tag("img"); } + static ['_#img#tearOff']() { + return html$.Element.img(); + } static li() { return html$.Element.tag("li"); } + static ['_#li#tearOff']() { + return html$.Element.li(); + } static nav() { return html$.Element.tag("nav"); } + static ['_#nav#tearOff']() { + return html$.Element.nav(); + } + static ['_#ol#tearOff']() { + return html$.Element.ol(); + } static ol() { return html$.Element.tag("ol"); } + static ['_#option#tearOff']() { + return html$.Element.option(); + } static option() { return html$.Element.tag("option"); } + static ['_#p#tearOff']() { + return html$.Element.p(); + } static p() { return html$.Element.tag("p"); } + static ['_#pre#tearOff']() { + return html$.Element.pre(); + } static pre() { return html$.Element.tag("pre"); } static section() { return html$.Element.tag("section"); } + static ['_#section#tearOff']() { + return html$.Element.section(); + } static select() { return html$.Element.tag("select"); } + static ['_#select#tearOff']() { + return html$.Element.select(); + } + static ['_#span#tearOff']() { + return html$.Element.span(); + } static span() { return html$.Element.tag("span"); } static svg() { return html$.Element.tag("svg"); } + static ['_#svg#tearOff']() { + return html$.Element.svg(); + } static table() { return html$.Element.tag("table"); } + static ['_#table#tearOff']() { + return html$.Element.table(); + } static td() { return html$.Element.tag("td"); } + static ['_#td#tearOff']() { + return html$.Element.td(); + } static textarea() { return html$.Element.tag("textarea"); } + static ['_#textarea#tearOff']() { + return html$.Element.textarea(); + } + static ['_#th#tearOff']() { + return html$.Element.th(); + } static th() { return html$.Element.tag("th"); } + static ['_#tr#tearOff']() { + return html$.Element.tr(); + } static tr() { return html$.Element.tag("tr"); } + static ['_#ul#tearOff']() { + return html$.Element.ul(); + } static ul() { return html$.Element.tag("ul"); } + static ['_#video#tearOff']() { + return html$.Element.video(); + } static video() { return html$.Element.tag("video"); } @@ -62136,7 +67754,7 @@ html$.Element = class Element extends html$.Node { return new html$._ElementAttributeMap.new(this); } set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); let attributes = this[S.$attributes]; attributes[$clear](); for (let key of value[$keys]) { @@ -62144,45 +67762,45 @@ html$.Element = class Element extends html$.Node { } } [S.$getAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12991, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 12994, 12, "name != null"); return this[S._getAttribute](name); } [S.$getAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 12999, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13003, 12, "name != null"); return this[S._getAttributeNS](namespaceURI, name); } [S.$hasAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13008, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13011, 12, "name != null"); return this[S._hasAttribute](name); } [S.$hasAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13016, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13020, 12, "name != null"); return this[S._hasAttributeNS](namespaceURI, name); } [S.$removeAttribute](name) { - if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13025, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13028, 12, "name != null"); this[S._removeAttribute](name); } [S.$removeAttributeNS](namespaceURI, name) { - if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13033, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13036, 12, "name != null"); this[S._removeAttributeNS](namespaceURI, name); } [S.$setAttribute](name, value) { - if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); - if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13041, 28, "name"); + if (value == null) dart.nullFailed(I[149], 13041, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13044, 12, "name != null"); this[S._setAttribute](name, value); } [S.$setAttributeNS](namespaceURI, name, value) { - if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); - if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); - if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + if (name == null) dart.nullFailed(I[149], 13050, 52, "name"); + if (value == null) dart.nullFailed(I[149], 13050, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[149], 13053, 12, "name != null"); this[S._setAttributeNS](namespaceURI, name, value); } get [S.$children]() { @@ -62192,24 +67810,24 @@ html$.Element = class Element extends html$.Node { return this.children; } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + if (value == null) dart.nullFailed(I[149], 13082, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13101, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } [S._setApplyScroll](...args) { return this.setApplyScroll.apply(this, args); } [S.$setApplyScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13108, 45, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62218,10 +67836,10 @@ html$.Element = class Element extends html$.Node { return this.setDistributeScroll.apply(this, args); } [S.$setDistributeScroll](nativeScrollBehavior) { - if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + if (nativeScrollBehavior == null) dart.nullFailed(I[149], 13120, 50, "nativeScrollBehavior"); let completer = T$0.CompleterOfScrollState().new(); this[S._setDistributeScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + if (value == null) dart.nullFailed(I[149], 13122, 27, "value"); completer.complete(value); }, T$0.ScrollStateTovoid()), nativeScrollBehavior); return completer.future; @@ -62230,7 +67848,7 @@ html$.Element = class Element extends html$.Node { return new html$._ElementCssClassSet.new(this); } set [S.$classes](value) { - if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); let classSet = this[S.$classes]; classSet.clear(); classSet.addAll(value); @@ -62239,7 +67857,7 @@ html$.Element = class Element extends html$.Node { return new html$._DataAttributeMap.new(this[S.$attributes]); } set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); let data = this[S.$dataset]; data[$clear](); for (let key of value[$keys]) { @@ -62247,7 +67865,7 @@ html$.Element = class Element extends html$.Node { } } [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); return new html$._NamespacedAttributeMap.new(this, namespace); } [S.$getComputedStyle](pseudoElement = null) { @@ -62263,17 +67881,17 @@ html$.Element = class Element extends html$.Node { return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13231, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + if (text == null) dart.nullFailed(I[149], 13239, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + if (tag == null) dart.nullFailed(I[149], 13250, 37, "tag"); let e = html$._ElementFactoryProvider.createElement_tag(tag, null); return html$.Element.is(e) && !html$.UnknownElement.is(e); } @@ -62297,16 +67915,16 @@ html$.Element = class Element extends html$.Node { [S.$leftView]() { } [S.$animate](frames, timing = null) { - if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (frames == null) dart.nullFailed(I[149], 13326, 52, "frames"); if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + if (x == null) dart.nullFailed(I[149], 13327, 48, "x"); return core.Map.is(x); }, T$0.MapOfString$dynamicTobool())))) { dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); } let convertedFrames = null; if (core.Iterable.is(frames)) { - convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + convertedFrames = frames[$map](dart.dynamic, C[234] || CT.C234)[$toList](); } else { convertedFrames = frames; } @@ -62317,9 +67935,9 @@ html$.Element = class Element extends html$.Node { return this.animate.apply(this, args); } [S.$attributeChanged](name, oldValue, newValue) { - if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); - if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); - if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + if (name == null) dart.nullFailed(I[149], 13349, 32, "name"); + if (oldValue == null) dart.nullFailed(I[149], 13349, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 13349, 62, "newValue"); } get [S.$localName]() { return this[S._localName]; @@ -62339,20 +67957,20 @@ html$.Element = class Element extends html$.Node { this[S._scrollIntoView](false); } else if (hasScrollIntoViewIfNeeded) { if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this[S._scrollIntoViewIfNeeded](true); + this.scrollIntoViewIfNeeded(true); } else { - this[S._scrollIntoViewIfNeeded](); + this.scrollIntoViewIfNeeded(); } } else { this[S._scrollIntoView](); } } static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); return "wheel"; } static _determineTransitionEventType(e) { - if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (e == null) dart.nullFailed(I[149], 13438, 59, "e"); if (dart.test(html_common.Device.isWebKit)) { return "webkitTransitionEnd"; } else if (dart.test(html_common.Device.isOpera)) { @@ -62361,8 +67979,8 @@ html$.Element = class Element extends html$.Node { return "transitionend"; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); - if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (where == null) dart.nullFailed(I[149], 13458, 34, "where"); + if (text == null) dart.nullFailed(I[149], 13458, 48, "text"); if (!!this.insertAdjacentText) { this[S._insertAdjacentText](where, text); } else { @@ -62373,8 +67991,8 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentText.apply(this, args); } [S.$insertAdjacentHtml](where, html, opts) { - if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); - if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + if (where == null) dart.nullFailed(I[149], 13493, 34, "where"); + if (html == null) dart.nullFailed(I[149], 13493, 48, "html"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { @@ -62387,8 +68005,8 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentHTML.apply(this, args); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); - if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (where == null) dart.nullFailed(I[149], 13518, 40, "where"); + if (element == null) dart.nullFailed(I[149], 13518, 55, "element"); if (!!this.insertAdjacentElement) { this[S._insertAdjacentElement](where, element); } else { @@ -62400,38 +68018,38 @@ html$.Element = class Element extends html$.Node { return this.insertAdjacentElement.apply(this, args); } [S._insertAdjacentNode](where, node) { - if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); - if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + if (where == null) dart.nullFailed(I[149], 13530, 35, "where"); + if (node == null) dart.nullFailed(I[149], 13530, 47, "node"); switch (where[$toLowerCase]()) { case "beforebegin": - { - dart.nullCheck(this.parentNode).insertBefore(node, this); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } case "afterbegin": - { - let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; - this.insertBefore(node, first); - break; - } + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } case "beforeend": - { - this[S.$append](node); - break; - } + { + this[S.$append](node); + break; + } case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } } } [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); if (!!this.matches) { return this.matches(selectors); } else if (!!this.webkitMatchesSelector) { @@ -62447,7 +68065,7 @@ html$.Element = class Element extends html$.Node { } } [S.$matchesWithAncestors](selectors) { - if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 13570, 36, "selectors"); let elem = this; do { if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; @@ -62477,11 +68095,11 @@ html$.Element = class Element extends html$.Node { return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); } [S.$offsetTo](parent) { - if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + if (parent == null) dart.nullFailed(I[149], 13702, 26, "parent"); return html$.Element._offsetToHelper(this, parent); } static _offsetToHelper(current, parent) { - if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + if (parent == null) dart.nullFailed(I[149], 13706, 58, "parent"); let sameAsParent = current == parent; let foundAsParent = sameAsParent || parent.tagName === "HTML"; if (current == null || sameAsParent) { @@ -62493,7 +68111,7 @@ html$.Element = class Element extends html$.Node { return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); } [S.$createFragment](html, opts) { - let t232; + let t213; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { @@ -62527,21 +68145,21 @@ html$.Element = class Element extends html$.Node { contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); } else { contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](contextElement); } let fragment = null; if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); } else { - dart.dput(contextElement, S._innerHtml, html); + contextElement[S._innerHtml] = html; fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (dart.dload(contextElement, 'firstChild') != null) { - fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + while (contextElement.firstChild != null) { + fragment[S.$append](dart.nullCheck(contextElement.firstChild)); } } if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - dart.dsend(contextElement, 'remove', []); + contextElement[$remove](); } dart.nullCheck(treeSanitizer).sanitizeTree(fragment); html$.document.adoptNode(fragment); @@ -62579,7 +68197,7 @@ html$.Element = class Element extends html$.Node { return new html$.ElementEvents.new(this); } static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); return (function(element) { if (!(element.attributes instanceof NamedNodeMap)) { return true; @@ -62610,14 +68228,15 @@ html$.Element = class Element extends html$.Node { })(element); } static _hasCorruptedAttributesAdditionalCheck(element) { - if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + if (element == null) dart.nullFailed(I[149], 13967, 62, "element"); return !(element.attributes instanceof NamedNodeMap); } static _safeTagName(element) { + if (element == null) dart.nullFailed(I[149], 13971, 38, "element"); let result = "element tag unavailable"; try { - if (typeof dart.dload(element, 'tagName') == 'string') { - result = core.String.as(dart.dload(element, 'tagName')); + if (typeof element.tagName == 'string') { + result = element.tagName; } } catch (e$) { let e = dart.getThrown(e$); @@ -62649,19 +68268,32 @@ html$.Element = class Element extends html$.Node { return this.scrollLeft[$round](); } set [S.$scrollLeft](value) { - if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + if (value == null) dart.nullFailed(I[149], 13994, 22, "value"); this.scrollLeft = value[$round](); } get [S.$scrollTop]() { return this.scrollTop[$round](); } set [S.$scrollTop](value) { - if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + if (value == null) dart.nullFailed(I[149], 14000, 21, "value"); this.scrollTop = value[$round](); } get [S.$scrollWidth]() { return this.scrollWidth[$round](); } + [S.$requestFullscreen](options = null) { + let retValue = null; + if (options != null) { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this, html_common.convertDartToNative_Dictionary(options)); + } else { + retValue = (this.requestFullscreen || this.webkitRequestFullscreen).call(this); + } + if (retValue != null) return js_util.promiseToFuture(dart.void, core.Object.as(retValue)); + return T$.FutureOfvoid().value(); + } + static ['_#_#tearOff']() { + return html$.Element.__(); + } get [S.$contentEditable]() { return this.contentEditable; } @@ -62828,7 +68460,7 @@ html$.Element = class Element extends html$.Node { return this.tagName; } [S.$attachShadow](shadowRootInitDict) { - if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + if (shadowRootInitDict == null) dart.nullFailed(I[149], 14758, 31, "shadowRootInitDict"); let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); return this[S._attachShadow_1](shadowRootInitDict_1); } @@ -62939,7 +68571,7 @@ html$.Element = class Element extends html$.Node { [S._scrollIntoView](...args) { return this.scrollIntoView.apply(this, args); } - [S._scrollIntoViewIfNeeded](...args) { + [S.$scrollIntoViewIfNeeded](...args) { return this.scrollIntoViewIfNeeded.apply(this, args); } [S.$scrollTo](options_OR_x = null, y = null) { @@ -62976,9 +68608,6 @@ html$.Element = class Element extends html$.Node { [S.$setPointerCapture](...args) { return this.setPointerCapture.apply(this, args); } - [S.$requestFullscreen](...args) { - return this.webkitRequestFullscreen.apply(this, args); - } [S.$after](...args) { return this.after.apply(this, args); } @@ -63108,70 +68737,70 @@ html$.Element = class Element extends html$.Node { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forElement(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forElement(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forElement(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -63223,7 +68852,7 @@ html$.Element = class Element extends html$.Node { }).prototype = html$.Element.prototype; dart.addTypeTests(html$.Element); dart.addTypeCaches(html$.Element); -html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; +html$.Element[dart.implements] = () => [html$.ParentNode, html$.ChildNode, html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers]; dart.setMethodSignature(html$.Element, () => ({ __proto__: dart.getMethods(html$.Element.__proto__), [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), @@ -63232,8 +68861,8 @@ dart.setMethodSignature(html$.Element, () => ({ [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), @@ -63265,6 +68894,7 @@ dart.setMethodSignature(html$.Element, () => ({ [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$requestFullscreen]: dart.fnType(async.Future$(dart.void), [], [dart.nullable(core.Map)]), [S.$blur]: dart.fnType(dart.void, []), [S.$click]: dart.fnType(dart.void, []), [S.$focus]: dart.fnType(dart.void, []), @@ -63296,20 +68926,20 @@ dart.setMethodSignature(html$.Element, () => ({ [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), [S._scrollTo_1]: dart.fnType(dart.void, []), [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.Object]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [S.$requestFullscreen]: dart.fnType(dart.void, []), [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); +dart.setStaticMethodSignature(html$.Element, () => ['html', 'tag', 'a', 'article', 'aside', 'audio', 'br', 'canvas', 'div', 'footer', 'header', 'hr', 'iframe', 'img', 'li', 'nav', 'ol', 'option', 'p', 'pre', 'section', 'select', 'span', 'svg', 'table', 'td', 'textarea', 'th', 'tr', 'ul', 'video', 'isTagSupported', '_determineMouseWheelEventType', '_determineTransitionEventType', '_offsetToHelper', '_hasCorruptedAttributes', '_hasCorruptedAttributesAdditionalCheck', '_safeTagName', '__']); dart.setGetterSignature(html$.Element, () => ({ __proto__: dart.getGetters(html$.Element.__proto__), [S.$attributes]: core.Map$(core.String, core.String), @@ -63415,28 +69045,28 @@ dart.setGetterSignature(html$.Element, () => ({ [S.$onLoadedData]: html$.ElementStream$(html$.Event), [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), - [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), - [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onPause]: html$.ElementStream$(html$.Event), - [S.$onPlay]: html$.ElementStream$(html$.Event), - [S.$onPlaying]: html$.ElementStream$(html$.Event), - [S.$onRateChange]: html$.ElementStream$(html$.Event), - [S.$onReset]: html$.ElementStream$(html$.Event), - [S.$onResize]: html$.ElementStream$(html$.Event), - [S.$onScroll]: html$.ElementStream$(html$.Event), - [S.$onSearch]: html$.ElementStream$(html$.Event), - [S.$onSeeked]: html$.ElementStream$(html$.Event), - [S.$onSeeking]: html$.ElementStream$(html$.Event), - [S.$onSelect]: html$.ElementStream$(html$.Event), - [S.$onSelectStart]: html$.ElementStream$(html$.Event), - [S.$onStalled]: html$.ElementStream$(html$.Event), - [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S$.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S$.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S$.$onPause]: html$.ElementStream$(html$.Event), + [S$.$onPlay]: html$.ElementStream$(html$.Event), + [S$.$onPlaying]: html$.ElementStream$(html$.Event), + [S$.$onRateChange]: html$.ElementStream$(html$.Event), + [S$.$onReset]: html$.ElementStream$(html$.Event), + [S$.$onResize]: html$.ElementStream$(html$.Event), + [S$.$onScroll]: html$.ElementStream$(html$.Event), + [S$.$onSearch]: html$.ElementStream$(html$.Event), + [S$.$onSeeked]: html$.ElementStream$(html$.Event), + [S$.$onSeeking]: html$.ElementStream$(html$.Event), + [S$.$onSelect]: html$.ElementStream$(html$.Event), + [S$.$onSelectStart]: html$.ElementStream$(html$.Event), + [S$.$onStalled]: html$.ElementStream$(html$.Event), + [S$.$onSubmit]: html$.ElementStream$(html$.Event), [S$.$onSuspend]: html$.ElementStream$(html$.Event), [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), @@ -63480,236 +69110,237 @@ dart.setSetterSignature(html$.Element, () => ({ [S._scrollTop]: core.num, [S.$slot]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Element, I[148]); +dart.setLibraryUri(html$.Element, I[150]); +dart.setStaticFieldSignature(html$.Element, () => ['mouseWheelEvent', 'transitionEndEvent', '_parseDocument', '_parseRange', '_defaultValidator', '_defaultSanitizer', '_tagsForWhichCreateContextualFragmentIsNotSupported', 'abortEvent', 'beforeCopyEvent', 'beforeCutEvent', 'beforePasteEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'copyEvent', 'cutEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'pasteEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'searchEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'selectStartEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchEnterEvent', 'touchLeaveEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'fullscreenChangeEvent', 'fullscreenErrorEvent', 'wheelEvent']); dart.defineLazy(html$.Element, { /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { - return C[225] || CT.C225; + return C[235] || CT.C235; }, /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[227] || CT.C227; + return C[237] || CT.C237; }, /*html$.Element._parseDocument*/get _parseDocument() { return null; }, - set _parseDocument(_) {}, + set _parseDocument(value) {}, /*html$.Element._parseRange*/get _parseRange() { return null; }, - set _parseRange(_) {}, + set _parseRange(value) {}, /*html$.Element._defaultValidator*/get _defaultValidator() { return null; }, - set _defaultValidator(_) {}, + set _defaultValidator(value) {}, /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { return null; }, - set _defaultSanitizer(_) {}, + set _defaultSanitizer(value) {}, /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[229] || CT.C229; + return C[239] || CT.C239; }, /*html$.Element.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[230] || CT.C230; + return C[240] || CT.C240; }, /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[231] || CT.C231; + return C[241] || CT.C241; }, /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[232] || CT.C232; + return C[242] || CT.C242; }, /*html$.Element.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.Element.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.Element.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.Element.copyEvent*/get copyEvent() { - return C[239] || CT.C239; + return C[249] || CT.C249; }, /*html$.Element.cutEvent*/get cutEvent() { - return C[240] || CT.C240; + return C[250] || CT.C250; }, /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.Element.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.Element.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.Element.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.Element.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Element.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.Element.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.Element.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.Element.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.Element.pasteEvent*/get pasteEvent() { - return C[268] || CT.C268; + return C[278] || CT.C278; }, /*html$.Element.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.Element.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.Element.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.Element.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.Element.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.Element.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.Element.searchEvent*/get searchEvent() { - return C[276] || CT.C276; + return C[286] || CT.C286; }, /*html$.Element.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.Element.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.Element.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[280] || CT.C280; + return C[290] || CT.C290; }, /*html$.Element.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.Element.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.Element.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[287] || CT.C287; + return C[297] || CT.C297; }, /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[288] || CT.C288; + return C[298] || CT.C298; }, /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.Element.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[293] || CT.C293; + return C[303] || CT.C303; }, /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[294] || CT.C294; + return C[304] || CT.C304; }, /*html$.Element.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("Element", html$.Element); @@ -63717,6 +69348,12 @@ html$.HtmlElement = class HtmlElement extends html$.Element { static new() { dart.throw(new core.UnsupportedError.new("Not supported")); } + static ['_#new#tearOff']() { + return html$.HtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlElement.created(); + } get [S.$nonce]() { return this.nonce; } @@ -63731,6 +69368,7 @@ html$.HtmlElement = class HtmlElement extends html$.Element { dart.addTypeTests(html$.HtmlElement); dart.addTypeCaches(html$.HtmlElement); html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; +dart.setStaticMethodSignature(html$.HtmlElement, () => ['new']); dart.setGetterSignature(html$.HtmlElement, () => ({ __proto__: dart.getGetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -63739,17 +69377,24 @@ dart.setSetterSignature(html$.HtmlElement, () => ({ __proto__: dart.getSetters(html$.HtmlElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HtmlElement, I[148]); +dart.setLibraryUri(html$.HtmlElement, I[150]); dart.registerExtension("HTMLElement", html$.HtmlElement); html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ExtendableEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ExtendableEvent._create_1(type, eventInitDict_1); } return html$.ExtendableEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15925, 34, "type"); + return html$.ExtendableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ExtendableEvent(type, eventInitDict); } @@ -63766,15 +69411,24 @@ dart.setMethodSignature(html$.ExtendableEvent, () => ({ __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.ExtendableEvent, I[148]); +dart.setStaticMethodSignature(html$.ExtendableEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.ExtendableEvent, I[150]); dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.AbortPaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 141, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 141, 46, "eventInitDict"); + return html$.AbortPaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AbortPaymentEvent(type, eventInitDict); } @@ -63788,9 +69442,13 @@ dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); +dart.setStaticMethodSignature(html$.AbortPaymentEvent, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.AbortPaymentEvent, I[150]); dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); html$.Sensor = class Sensor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Sensor.__(); + } get [S$.$activated]() { return this.activated; } @@ -63817,6 +69475,7 @@ dart.setMethodSignature(html$.Sensor, () => ({ [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Sensor, () => ['__']); dart.setGetterSignature(html$.Sensor, () => ({ __proto__: dart.getGetters(html$.Sensor.__proto__), [S$.$activated]: dart.nullable(core.bool), @@ -63824,14 +69483,18 @@ dart.setGetterSignature(html$.Sensor, () => ({ [S$.$timestamp]: dart.nullable(core.num), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.Sensor, I[148]); +dart.setLibraryUri(html$.Sensor, I[150]); +dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); dart.defineLazy(html$.Sensor, { /*html$.Sensor.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("Sensor", html$.Sensor); html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.OrientationSensor.__(); + } get [S$.$quaternion]() { return this.quaternion; } @@ -63845,13 +69508,17 @@ dart.setMethodSignature(html$.OrientationSensor, () => ({ __proto__: dart.getMethods(html$.OrientationSensor.__proto__), [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.OrientationSensor, () => ['__']); dart.setGetterSignature(html$.OrientationSensor, () => ({ __proto__: dart.getGetters(html$.OrientationSensor.__proto__), [S$.$quaternion]: dart.nullable(core.List$(core.num)) })); -dart.setLibraryUri(html$.OrientationSensor, I[148]); +dart.setLibraryUri(html$.OrientationSensor, I[150]); dart.registerExtension("OrientationSensor", html$.OrientationSensor); html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.AbsoluteOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63859,6 +69526,9 @@ html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$ } return html$.AbsoluteOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AbsoluteOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AbsoluteOrientationSensor(sensorOptions); } @@ -63868,9 +69538,13 @@ html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$ }; dart.addTypeTests(html$.AbsoluteOrientationSensor); dart.addTypeCaches(html$.AbsoluteOrientationSensor); -dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); +dart.setStaticMethodSignature(html$.AbsoluteOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[150]); dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); -html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { +html$.AbstractWorker = class AbstractWorker extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AbstractWorker.__(); + } get onError() { return html$.AbstractWorker.errorEvent.forTarget(this); } @@ -63878,19 +69552,24 @@ html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { dart.addTypeTests(html$.AbstractWorker); dart.addTypeCaches(html$.AbstractWorker); html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; +dart.setStaticMethodSignature(html$.AbstractWorker, () => ['__']); dart.setGetterSignature(html$.AbstractWorker, () => ({ __proto__: dart.getGetters(html$.AbstractWorker.__proto__), onError: async.Stream$(html$.Event), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.AbstractWorker, I[148]); +dart.setLibraryUri(html$.AbstractWorker, I[150]); +dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); dart.defineLazy(html$.AbstractWorker, { /*html$.AbstractWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Accelerometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -63898,6 +69577,9 @@ html$.Accelerometer = class Accelerometer$ extends html$.Sensor { } return html$.Accelerometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Accelerometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Accelerometer(sensorOptions); } @@ -63916,15 +69598,22 @@ html$.Accelerometer = class Accelerometer$ extends html$.Sensor { }; dart.addTypeTests(html$.Accelerometer); dart.addTypeCaches(html$.Accelerometer); +dart.setStaticMethodSignature(html$.Accelerometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Accelerometer, () => ({ __proto__: dart.getGetters(html$.Accelerometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Accelerometer, I[148]); +dart.setLibraryUri(html$.Accelerometer, I[150]); dart.registerExtension("Accelerometer", html$.Accelerometer); html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.AccessibleNode.__(); + } + static ['_#new#tearOff']() { + return html$.AccessibleNode.new(); + } static new() { return html$.AccessibleNode._create_1(); } @@ -64241,6 +69930,7 @@ dart.setMethodSignature(html$.AccessibleNode, () => ({ __proto__: dart.getMethods(html$.AccessibleNode.__proto__), [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) })); +dart.setStaticMethodSignature(html$.AccessibleNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.AccessibleNode, () => ({ __proto__: dart.getGetters(html$.AccessibleNode.__proto__), [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), @@ -64347,35 +70037,42 @@ dart.setSetterSignature(html$.AccessibleNode, () => ({ [S$.$valueNow]: dart.nullable(core.num), [S$.$valueText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AccessibleNode, I[148]); +dart.setLibraryUri(html$.AccessibleNode, I[150]); +dart.setStaticFieldSignature(html$.AccessibleNode, () => ['accessibleClickEvent', 'accessibleContextMenuEvent', 'accessibleDecrementEvent', 'accessibleFocusEvent', 'accessibleIncrementEvent', 'accessibleScrollIntoViewEvent']); dart.defineLazy(html$.AccessibleNode, { /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { - return C[296] || CT.C296; + return C[306] || CT.C306; }, /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[297] || CT.C297; + return C[307] || CT.C307; }, /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[298] || CT.C298; + return C[308] || CT.C308; }, /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[299] || CT.C299; + return C[309] || CT.C309; }, /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[300] || CT.C300; + return C[310] || CT.C310; }, /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[301] || CT.C301; + return C[311] || CT.C311; } }, false); dart.registerExtension("AccessibleNode", html$.AccessibleNode); -html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { +html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AccessibleNodeList.__(); + } static new(nodes = null) { if (nodes != null) { return html$.AccessibleNodeList._create_1(nodes); } return html$.AccessibleNodeList._create_2(); } + static ['_#new#tearOff'](nodes = null) { + return html$.AccessibleNodeList.new(nodes); + } static _create_1(nodes) { return new AccessibleNodeList(nodes); } @@ -64410,6 +70107,7 @@ dart.setMethodSignature(html$.AccessibleNodeList, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), [$remove]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.AccessibleNodeList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AccessibleNodeList, () => ({ __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) @@ -64418,9 +70116,12 @@ dart.setSetterSignature(html$.AccessibleNodeList, () => ({ __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.AccessibleNodeList, I[148]); +dart.setLibraryUri(html$.AccessibleNodeList, I[150]); dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.AmbientLightSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -64428,6 +70129,9 @@ html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { } return html$.AmbientLightSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.AmbientLightSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new AmbientLightSensor(sensorOptions); } @@ -64440,19 +70144,30 @@ html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { }; dart.addTypeTests(html$.AmbientLightSensor); dart.addTypeCaches(html$.AmbientLightSensor); +dart.setStaticMethodSignature(html$.AmbientLightSensor, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AmbientLightSensor, () => ({ __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), [S$.$illuminance]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AmbientLightSensor, I[148]); +dart.setLibraryUri(html$.AmbientLightSensor, I[150]); dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AnchorElement.__(); + } + static ['_#new#tearOff'](opts) { + let href = opts && 'href' in opts ? opts.href : null; + return html$.AnchorElement.new({href: href}); + } static new(opts) { let href = opts && 'href' in opts ? opts.href : null; let e = html$.document.createElement("a"); if (href != null) e.href = href; return e; } + static ['_#created#tearOff']() { + return new html$.AnchorElement.created(); + } get [S$.$download]() { return this.download; } @@ -64563,6 +70278,7 @@ html$.AnchorElement = class AnchorElement extends html$.HtmlElement { dart.addTypeTests(html$.AnchorElement); dart.addTypeCaches(html$.AnchorElement); html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setStaticMethodSignature(html$.AnchorElement, () => ['__', 'new']); dart.setGetterSignature(html$.AnchorElement, () => ({ __proto__: dart.getGetters(html$.AnchorElement.__proto__), [S$.$download]: dart.nullable(core.String), @@ -64602,9 +70318,12 @@ dart.setSetterSignature(html$.AnchorElement, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AnchorElement, I[148]); +dart.setLibraryUri(html$.AnchorElement, I[150]); dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); html$.Animation = class Animation$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Animation.__(); + } static new(effect = null, timeline = null) { if (timeline != null) { return html$.Animation._create_1(effect, timeline); @@ -64614,6 +70333,9 @@ html$.Animation = class Animation$ extends html$.EventTarget { } return html$.Animation._create_3(); } + static ['_#new#tearOff'](effect = null, timeline = null) { + return html$.Animation.new(effect, timeline); + } static _create_1(effect, timeline) { return new Animation(effect, timeline); } @@ -64700,6 +70422,7 @@ dart.setMethodSignature(html$.Animation, () => ({ [S$.$play]: dart.fnType(dart.void, []), [S$.$reverse]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Animation, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.Animation, () => ({ __proto__: dart.getGetters(html$.Animation.__proto__), [S$.$currentTime]: dart.nullable(core.num), @@ -64722,17 +70445,22 @@ dart.setSetterSignature(html$.Animation, () => ({ [S$.$playbackRate]: dart.nullable(core.num), [S$.$startTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Animation, I[148]); +dart.setStaticGetterSignature(html$.Animation, () => ['supported']); +dart.setLibraryUri(html$.Animation, I[150]); +dart.setStaticFieldSignature(html$.Animation, () => ['cancelEvent', 'finishEvent']); dart.defineLazy(html$.Animation, { /*html$.Animation.cancelEvent*/get cancelEvent() { - return C[302] || CT.C302; + return C[312] || CT.C312; }, /*html$.Animation.finishEvent*/get finishEvent() { - return C[303] || CT.C303; + return C[313] || CT.C313; } }, false); dart.registerExtension("Animation", html$.Animation); -html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { +html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectReadOnly.__(); + } get [S$.$timing]() { return this.timing; } @@ -64750,13 +70478,17 @@ dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ [S$.$getComputedTiming]: dart.fnType(core.Map, []), [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) })); +dart.setStaticMethodSignature(html$.AnimationEffectReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) })); -dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); +dart.setLibraryUri(html$.AnimationEffectReadOnly, I[150]); dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); -html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { +html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationEffectTimingReadOnly.__(); + } get [S$.$delay]() { return this.delay; } @@ -64784,6 +70516,7 @@ html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extend }; dart.addTypeTests(html$.AnimationEffectTimingReadOnly); dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); +dart.setStaticMethodSignature(html$.AnimationEffectTimingReadOnly, () => ['__']); dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64795,9 +70528,12 @@ dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); +dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[150]); dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + static ['_#_#tearOff']() { + return html$.AnimationEffectTiming.__(); + } get [S$.$delay]() { return this.delay; } @@ -64849,6 +70585,7 @@ html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.Animatio }; dart.addTypeTests(html$.AnimationEffectTiming); dart.addTypeCaches(html$.AnimationEffectTiming); +dart.setStaticMethodSignature(html$.AnimationEffectTiming, () => ['__']); dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), [S$.$delay]: dart.nullable(core.num), @@ -64860,17 +70597,24 @@ dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ [S$.$iterationStart]: dart.nullable(core.num), [S$.$iterations]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); +dart.setLibraryUri(html$.AnimationEffectTiming, I[150]); dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationEvent._create_1(type, eventInitDict_1); } return html$.AnimationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 821, 33, "type"); + return html$.AnimationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationEvent(type, eventInitDict); } @@ -64886,22 +70630,30 @@ html$.AnimationEvent = class AnimationEvent$ extends html$.Event { }; dart.addTypeTests(html$.AnimationEvent); dart.addTypeCaches(html$.AnimationEvent); +dart.setStaticMethodSignature(html$.AnimationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationEvent, () => ({ __proto__: dart.getGetters(html$.AnimationEvent.__proto__), [S$.$animationName]: dart.nullable(core.String), [S$.$elapsedTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationEvent, I[148]); +dart.setLibraryUri(html$.AnimationEvent, I[150]); dart.registerExtension("AnimationEvent", html$.AnimationEvent); html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.AnimationPlaybackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); } return html$.AnimationPlaybackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 848, 41, "type"); + return html$.AnimationPlaybackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AnimationPlaybackEvent(type, eventInitDict); } @@ -64917,32 +70669,45 @@ html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event }; dart.addTypeTests(html$.AnimationPlaybackEvent); dart.addTypeCaches(html$.AnimationPlaybackEvent); +dart.setStaticMethodSignature(html$.AnimationPlaybackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), [S$.$currentTime]: dart.nullable(core.num), [S$.$timelineTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); +dart.setLibraryUri(html$.AnimationPlaybackEvent, I[150]); dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); -html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { +html$.AnimationTimeline = class AnimationTimeline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AnimationTimeline.__(); + } get [S$.$currentTime]() { return this.currentTime; } }; dart.addTypeTests(html$.AnimationTimeline); dart.addTypeCaches(html$.AnimationTimeline); +dart.setStaticMethodSignature(html$.AnimationTimeline, () => ['__']); dart.setGetterSignature(html$.AnimationTimeline, () => ({ __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), [S$.$currentTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.AnimationTimeline, I[148]); +dart.setLibraryUri(html$.AnimationTimeline, I[150]); dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); -html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; +html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletGlobalScope.__(); + } +}; dart.addTypeTests(html$.WorkletGlobalScope); dart.addTypeCaches(html$.WorkletGlobalScope); -dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); +dart.setStaticMethodSignature(html$.WorkletGlobalScope, () => ['__']); +dart.setLibraryUri(html$.WorkletGlobalScope, I[150]); dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.AnimationWorkletGlobalScope.__(); + } [S$.$registerAnimator](...args) { return this.registerAnimator.apply(this, args); } @@ -64953,9 +70718,13 @@ dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) })); -dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); +dart.setStaticMethodSignature(html$.AnimationWorkletGlobalScope, () => ['__']); +dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[150]); dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ApplicationCache.__(); + } static get supported() { return !!window.applicationCache; } @@ -65004,6 +70773,7 @@ dart.setMethodSignature(html$.ApplicationCache, () => ({ [S$.$swapCache]: dart.fnType(dart.void, []), [$update]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ApplicationCache, () => ['__']); dart.setGetterSignature(html$.ApplicationCache, () => ({ __proto__: dart.getGetters(html$.ApplicationCache.__proto__), [S$.$status]: dart.nullable(core.int), @@ -65016,31 +70786,33 @@ dart.setGetterSignature(html$.ApplicationCache, () => ({ [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$.$onUpdateReady]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ApplicationCache, I[148]); +dart.setStaticGetterSignature(html$.ApplicationCache, () => ['supported']); +dart.setLibraryUri(html$.ApplicationCache, I[150]); +dart.setStaticFieldSignature(html$.ApplicationCache, () => ['cachedEvent', 'checkingEvent', 'downloadingEvent', 'errorEvent', 'noUpdateEvent', 'obsoleteEvent', 'progressEvent', 'updateReadyEvent', 'CHECKING', 'DOWNLOADING', 'IDLE', 'OBSOLETE', 'UNCACHED', 'UPDATEREADY']); dart.defineLazy(html$.ApplicationCache, { /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { - return C[304] || CT.C304; + return C[314] || CT.C314; }, /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[305] || CT.C305; + return C[315] || CT.C315; }, /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[306] || CT.C306; + return C[316] || CT.C316; }, /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[307] || CT.C307; + return C[317] || CT.C317; }, /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[308] || CT.C308; + return C[318] || CT.C318; }, /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[310] || CT.C310; + return C[320] || CT.C320; }, /*html$.ApplicationCache.CHECKING*/get CHECKING() { return 2; @@ -65065,14 +70837,21 @@ dart.registerExtension("ApplicationCache", html$.ApplicationCache); dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); dart.registerExtension("OfflineResourceList", html$.ApplicationCache); html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ApplicationCacheErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); } return html$.ApplicationCacheErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1043, 45, "type"); + return html$.ApplicationCacheErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ApplicationCacheErrorEvent(type, eventInitDict); } @@ -65094,6 +70873,7 @@ html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends htm }; dart.addTypeTests(html$.ApplicationCacheErrorEvent); dart.addTypeCaches(html$.ApplicationCacheErrorEvent); +dart.setStaticMethodSignature(html$.ApplicationCacheErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), [$message]: dart.nullable(core.String), @@ -65101,12 +70881,21 @@ dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ [S$.$status]: dart.nullable(core.int), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); +dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[150]); dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); html$.AreaElement = class AreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.AreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.AreaElement.new(); + } static new() { return html$.document.createElement("area"); } + static ['_#created#tearOff']() { + return new html$.AreaElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -65223,6 +71012,7 @@ html$.AreaElement = class AreaElement extends html$.HtmlElement { dart.addTypeTests(html$.AreaElement); dart.addTypeCaches(html$.AreaElement); html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setStaticMethodSignature(html$.AreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.AreaElement, () => ({ __proto__: dart.getGetters(html$.AreaElement.__proto__), [S$.$alt]: core.String, @@ -65264,9 +71054,15 @@ dart.setSetterSignature(html$.AreaElement, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.AreaElement, I[148]); +dart.setLibraryUri(html$.AreaElement, I[150]); dart.registerExtension("HTMLAreaElement", html$.AreaElement); html$.MediaElement = class MediaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MediaElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MediaElement.created(); + } get [S$.$audioTracks]() { return this.audioTracks; } @@ -65433,7 +71229,7 @@ html$.MediaElement = class MediaElement extends html$.HtmlElement { return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); } [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); } }; @@ -65454,6 +71250,7 @@ dart.setMethodSignature(html$.MediaElement, () => ({ [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) })); +dart.setStaticMethodSignature(html$.MediaElement, () => ['__']); dart.setGetterSignature(html$.MediaElement, () => ({ __proto__: dart.getGetters(html$.MediaElement.__proto__), [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), @@ -65508,7 +71305,8 @@ dart.setSetterSignature(html$.MediaElement, () => ({ [S$.$srcObject]: dart.nullable(html$.MediaStream), [S$.$volume]: core.num })); -dart.setLibraryUri(html$.MediaElement, I[148]); +dart.setLibraryUri(html$.MediaElement, I[150]); +dart.setStaticFieldSignature(html$.MediaElement, () => ['HAVE_CURRENT_DATA', 'HAVE_ENOUGH_DATA', 'HAVE_FUTURE_DATA', 'HAVE_METADATA', 'HAVE_NOTHING', 'NETWORK_EMPTY', 'NETWORK_IDLE', 'NETWORK_LOADING', 'NETWORK_NO_SOURCE']); dart.defineLazy(html$.MediaElement, { /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { return 2; @@ -65546,15 +71344,24 @@ html$.AudioElement = class AudioElement extends html$.MediaElement { } return html$.AudioElement._create_2(); } + static ['_#_#tearOff'](src = null) { + return html$.AudioElement.__(src); + } static _create_1(src) { return new Audio(src); } static _create_2() { return new Audio(); } + static ['_#created#tearOff']() { + return new html$.AudioElement.created(); + } static new(src = null) { return html$.AudioElement.__(src); } + static ['_#new#tearOff'](src = null) { + return html$.AudioElement.new(src); + } }; (html$.AudioElement.created = function() { html$.AudioElement.__proto__.created.call(this); @@ -65562,22 +71369,30 @@ html$.AudioElement = class AudioElement extends html$.MediaElement { }).prototype = html$.AudioElement.prototype; dart.addTypeTests(html$.AudioElement); dart.addTypeCaches(html$.AudioElement); -dart.setLibraryUri(html$.AudioElement, I[148]); +dart.setStaticMethodSignature(html$.AudioElement, () => ['__', '_create_1', '_create_2', 'new']); +dart.setLibraryUri(html$.AudioElement, I[150]); dart.registerExtension("HTMLAudioElement", html$.AudioElement); -html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { +html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.AuthenticatorResponse.__(); + } get [S$.$clientDataJson]() { return this.clientDataJSON; } }; dart.addTypeTests(html$.AuthenticatorResponse); dart.addTypeCaches(html$.AuthenticatorResponse); +dart.setStaticMethodSignature(html$.AuthenticatorResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorResponse, I[150]); dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAssertionResponse.__(); + } get [S$.$authenticatorData]() { return this.authenticatorData; } @@ -65587,30 +71402,44 @@ html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse exte }; dart.addTypeTests(html$.AuthenticatorAssertionResponse); dart.addTypeCaches(html$.AuthenticatorAssertionResponse); +dart.setStaticMethodSignature(html$.AuthenticatorAssertionResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), [S$.$signature]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[150]); dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + static ['_#_#tearOff']() { + return html$.AuthenticatorAttestationResponse.__(); + } get [S$.$attestationObject]() { return this.attestationObject; } }; dart.addTypeTests(html$.AuthenticatorAttestationResponse); dart.addTypeCaches(html$.AuthenticatorAttestationResponse); +dart.setStaticMethodSignature(html$.AuthenticatorAttestationResponse, () => ['__']); dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) })); -dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); +dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[150]); dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); html$.BRElement = class BRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BRElement.__(); + } static new() { return html$.document.createElement("br"); } + static ['_#new#tearOff']() { + return html$.BRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BRElement.created(); + } }; (html$.BRElement.created = function() { html$.BRElement.__proto__.created.call(this); @@ -65618,15 +71447,24 @@ html$.BRElement = class BRElement extends html$.HtmlElement { }).prototype = html$.BRElement.prototype; dart.addTypeTests(html$.BRElement); dart.addTypeCaches(html$.BRElement); -dart.setLibraryUri(html$.BRElement, I[148]); +dart.setStaticMethodSignature(html$.BRElement, () => ['__', 'new']); +dart.setLibraryUri(html$.BRElement, I[150]); dart.registerExtension("HTMLBRElement", html$.BRElement); html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); - if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[149], 1295, 49, "init"); + return html$.BackgroundFetchEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchEvent(type, init); } @@ -65636,19 +71474,28 @@ html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.Extendabl }; dart.addTypeTests(html$.BackgroundFetchEvent); dart.addTypeCaches(html$.BackgroundFetchEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), [S.$id]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchEvent, I[150]); dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchClickEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); - if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchClickEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[149], 1272, 54, "init"); + return html$.BackgroundFetchClickEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchClickEvent(type, init); } @@ -65658,19 +71505,28 @@ html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$ }; dart.addTypeTests(html$.BackgroundFetchClickEvent); dart.addTypeCaches(html$.BackgroundFetchClickEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchClickEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[150]); dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFailEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); - if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchFailEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[149], 1315, 53, "init"); + return html$.BackgroundFetchFailEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchFailEvent(type, init); } @@ -65680,29 +71536,37 @@ html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.B }; dart.addTypeTests(html$.BackgroundFetchFailEvent); dart.addTypeCaches(html$.BackgroundFetchFailEvent); +dart.setStaticMethodSignature(html$.BackgroundFetchFailEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); -dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[150]); dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); -html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { +html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchFetch.__(); + } get [S$.$request]() { return this.request; } }; dart.addTypeTests(html$.BackgroundFetchFetch); dart.addTypeCaches(html$.BackgroundFetchFetch); +dart.setStaticMethodSignature(html$.BackgroundFetchFetch, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); +dart.setLibraryUri(html$.BackgroundFetchFetch, I[150]); dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); -html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { +html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BackgroundFetchManager.__(); + } [S$.$fetch](id, requests, options = null) { - if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); - if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + if (id == null) dart.nullFailed(I[149], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[149], 1351, 63, "requests"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -65710,7 +71574,7 @@ html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptor return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); } [S$.$getIds]() { @@ -65725,9 +71589,13 @@ dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), [S$.$getIds]: dart.fnType(async.Future$(core.List), []) })); -dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); +dart.setStaticMethodSignature(html$.BackgroundFetchManager, () => ['__']); +dart.setLibraryUri(html$.BackgroundFetchManager, I[150]); dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BackgroundFetchRegistration.__(); + } get [S$.$downloadTotal]() { return this.downloadTotal; } @@ -65759,6 +71627,7 @@ dart.setMethodSignature(html$.BackgroundFetchRegistration, () => ({ __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), [S.$abort]: dart.fnType(async.Future$(core.bool), []) })); +dart.setStaticMethodSignature(html$.BackgroundFetchRegistration, () => ['__']); dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), [S$.$downloadTotal]: dart.nullable(core.int), @@ -65769,14 +71638,22 @@ dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ [S$.$uploadTotal]: dart.nullable(core.int), [S$.$uploaded]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); +dart.setLibraryUri(html$.BackgroundFetchRegistration, I[150]); dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static ['_#_#tearOff']() { + return html$.BackgroundFetchSettledFetch.__(); + } static new(request, response) { - if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); - if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); return html$.BackgroundFetchSettledFetch._create_1(request, response); } + static ['_#new#tearOff'](request, response) { + if (request == null) dart.nullFailed(I[149], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[149], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch.new(request, response); + } static _create_1(request, response) { return new BackgroundFetchSettledFetch(request, response); } @@ -65786,19 +71663,28 @@ html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends h }; dart.addTypeTests(html$.BackgroundFetchSettledFetch); dart.addTypeCaches(html$.BackgroundFetchSettledFetch); +dart.setStaticMethodSignature(html$.BackgroundFetchSettledFetch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), [S$.$response]: dart.nullable(html$._Response) })); -dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); +dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[150]); dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static ['_#_#tearOff']() { + return html$.BackgroundFetchedEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); - if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.BackgroundFetchedEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[149], 1433, 51, "init"); + return html$.BackgroundFetchedEvent.new(type, init); + } static _create_1(type, init) { return new BackgroundFetchedEvent(type, init); } @@ -65806,7 +71692,7 @@ html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.Backg return this.fetches; } [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); } }; @@ -65816,29 +71702,40 @@ dart.setMethodSignature(html$.BackgroundFetchedEvent, () => ({ __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), [S$.$updateUI]: dart.fnType(async.Future, [core.String]) })); +dart.setStaticMethodSignature(html$.BackgroundFetchedEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) })); -dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); +dart.setLibraryUri(html$.BackgroundFetchedEvent, I[150]); dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); -html$.BarProp = class BarProp extends _interceptors.Interceptor { +html$.BarProp = class BarProp extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarProp.__(); + } get [S$.$visible]() { return this.visible; } }; dart.addTypeTests(html$.BarProp); dart.addTypeCaches(html$.BarProp); +dart.setStaticMethodSignature(html$.BarProp, () => ['__']); dart.setGetterSignature(html$.BarProp, () => ({ __proto__: dart.getGetters(html$.BarProp.__proto__), [S$.$visible]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.BarProp, I[148]); +dart.setLibraryUri(html$.BarProp, I[150]); dart.registerExtension("BarProp", html$.BarProp); -html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { +html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BarcodeDetector.__(); + } static new() { return html$.BarcodeDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.BarcodeDetector.new(); + } static _create_1() { return new BarcodeDetector(); } @@ -65852,12 +71749,22 @@ dart.setMethodSignature(html$.BarcodeDetector, () => ({ __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.BarcodeDetector, I[148]); +dart.setStaticMethodSignature(html$.BarcodeDetector, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.BarcodeDetector, I[150]); dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); html$.BaseElement = class BaseElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BaseElement.__(); + } static new() { return html$.document.createElement("base"); } + static ['_#new#tearOff']() { + return html$.BaseElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BaseElement.created(); + } get [S$.$href]() { return this.href; } @@ -65877,6 +71784,7 @@ html$.BaseElement = class BaseElement extends html$.HtmlElement { }).prototype = html$.BaseElement.prototype; dart.addTypeTests(html$.BaseElement); dart.addTypeCaches(html$.BaseElement); +dart.setStaticMethodSignature(html$.BaseElement, () => ['__', 'new']); dart.setGetterSignature(html$.BaseElement, () => ({ __proto__: dart.getGetters(html$.BaseElement.__proto__), [S$.$href]: core.String, @@ -65887,9 +71795,12 @@ dart.setSetterSignature(html$.BaseElement, () => ({ [S$.$href]: core.String, [S.$target]: core.String })); -dart.setLibraryUri(html$.BaseElement, I[148]); +dart.setLibraryUri(html$.BaseElement, I[150]); dart.registerExtension("HTMLBaseElement", html$.BaseElement); html$.BatteryManager = class BatteryManager extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BatteryManager.__(); + } get [S$.$charging]() { return this.charging; } @@ -65905,6 +71816,7 @@ html$.BatteryManager = class BatteryManager extends html$.EventTarget { }; dart.addTypeTests(html$.BatteryManager); dart.addTypeCaches(html$.BatteryManager); +dart.setStaticMethodSignature(html$.BatteryManager, () => ['__']); dart.setGetterSignature(html$.BatteryManager, () => ({ __proto__: dart.getGetters(html$.BatteryManager.__proto__), [S$.$charging]: dart.nullable(core.bool), @@ -65912,17 +71824,24 @@ dart.setGetterSignature(html$.BatteryManager, () => ({ [S$.$dischargingTime]: dart.nullable(core.num), [S$.$level]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.BatteryManager, I[148]); +dart.setLibraryUri(html$.BatteryManager, I[150]); dart.registerExtension("BatteryManager", html$.BatteryManager); html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeInstallPromptEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); } return html$.BeforeInstallPromptEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 1541, 43, "type"); + return html$.BeforeInstallPromptEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BeforeInstallPromptEvent(type, eventInitDict); } @@ -65945,14 +71864,18 @@ dart.setMethodSignature(html$.BeforeInstallPromptEvent, () => ({ __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), [S$.$prompt]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.BeforeInstallPromptEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), [S$.$platforms]: dart.nullable(core.List$(core.String)), [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) })); -dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); +dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[150]); dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.BeforeUnloadEvent.__(); + } get [S$.$returnValue]() { return this.returnValue; } @@ -65962,6 +71885,7 @@ html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { }; dart.addTypeTests(html$.BeforeUnloadEvent); dart.addTypeCaches(html$.BeforeUnloadEvent); +dart.setStaticMethodSignature(html$.BeforeUnloadEvent, () => ['__']); dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) @@ -65970,9 +71894,12 @@ dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), [S$.$returnValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); +dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); -html$.Blob = class Blob extends _interceptors.Interceptor { +html$.Blob = class Blob extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Blob.__(); + } get [S$.$size]() { return this.size; } @@ -65983,7 +71910,7 @@ html$.Blob = class Blob extends _interceptors.Interceptor { return this.slice.apply(this, args); } static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); if (type == null && endings == null) { return html$.Blob.as(html$.Blob._create_1(blobParts)); } @@ -65992,6 +71919,10 @@ html$.Blob = class Blob extends _interceptors.Interceptor { if (endings != null) html$.Blob._bag_set(bag, "endings", endings); return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); } + static ['_#new#tearOff'](blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); + return html$.Blob.new(blobParts, type, endings); + } static _create_1(parts) { return new self.Blob(parts); } @@ -66011,20 +71942,29 @@ dart.setMethodSignature(html$.Blob, () => ({ __proto__: dart.getMethods(html$.Blob.__proto__), [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.Blob, () => ['__', 'new', '_create_1', '_create_2', '_create_bag', '_bag_set']); dart.setGetterSignature(html$.Blob, () => ({ __proto__: dart.getGetters(html$.Blob.__proto__), [S$.$size]: core.int, [S.$type]: core.String })); -dart.setLibraryUri(html$.Blob, I[148]); +dart.setLibraryUri(html$.Blob, I[150]); dart.registerExtension("Blob", html$.Blob); html$.BlobEvent = class BlobEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.BlobEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.BlobEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 1636, 38, "eventInitDict"); + return html$.BlobEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new BlobEvent(type, eventInitDict); } @@ -66037,14 +71977,18 @@ html$.BlobEvent = class BlobEvent$ extends html$.Event { }; dart.addTypeTests(html$.BlobEvent); dart.addTypeCaches(html$.BlobEvent); +dart.setStaticMethodSignature(html$.BlobEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BlobEvent, () => ({ __proto__: dart.getGetters(html$.BlobEvent.__proto__), [S$.$data]: dart.nullable(html$.Blob), [S$.$timecode]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.BlobEvent, I[148]); +dart.setLibraryUri(html$.BlobEvent, I[150]); dart.registerExtension("BlobEvent", html$.BlobEvent); -html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { +html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BluetoothRemoteGattDescriptor.__(); + } get [S$.$characteristic]() { return this.characteristic; } @@ -66068,15 +72012,19 @@ dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ [S$.$readValue]: dart.fnType(async.Future, []), [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ['__']); dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), [S$.$uuid]: dart.nullable(core.String), [S.$value]: dart.nullable(typed_data.ByteData) })); -dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); +dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[150]); dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); -html$.Body = class Body extends _interceptors.Interceptor { +html$.Body = class Body extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Body.__(); + } get [S$.$bodyUsed]() { return this.bodyUsed; } @@ -66106,16 +72054,26 @@ dart.setMethodSignature(html$.Body, () => ({ [S$.$json]: dart.fnType(async.Future, []), [S.$text]: dart.fnType(async.Future$(core.String), []) })); +dart.setStaticMethodSignature(html$.Body, () => ['__']); dart.setGetterSignature(html$.Body, () => ({ __proto__: dart.getGetters(html$.Body.__proto__), [S$.$bodyUsed]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Body, I[148]); +dart.setLibraryUri(html$.Body, I[150]); dart.registerExtension("Body", html$.Body); html$.BodyElement = class BodyElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.BodyElement.__(); + } static new() { return html$.document.createElement("body"); } + static ['_#new#tearOff']() { + return html$.BodyElement.new(); + } + static ['_#created#tearOff']() { + return new html$.BodyElement.created(); + } get [S.$onBlur]() { return html$.BodyElement.blurEvent.forElement(this); } @@ -66143,10 +72101,10 @@ html$.BodyElement = class BodyElement extends html$.HtmlElement { get [S$.$onPopState]() { return html$.BodyElement.popStateEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.BodyElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.BodyElement.scrollEvent.forElement(this); } get [S$.$onStorage]() { @@ -66163,6 +72121,7 @@ html$.BodyElement = class BodyElement extends html$.HtmlElement { dart.addTypeTests(html$.BodyElement); dart.addTypeCaches(html$.BodyElement); html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setStaticMethodSignature(html$.BodyElement, () => ['__', 'new']); dart.setGetterSignature(html$.BodyElement, () => ({ __proto__: dart.getGetters(html$.BodyElement.__proto__), [S$.$onHashChange]: html$.ElementStream$(html$.Event), @@ -66173,54 +72132,62 @@ dart.setGetterSignature(html$.BodyElement, () => ({ [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), [S$.$onUnload]: html$.ElementStream$(html$.Event) })); -dart.setLibraryUri(html$.BodyElement, I[148]); +dart.setLibraryUri(html$.BodyElement, I[150]); +dart.setStaticFieldSignature(html$.BodyElement, () => ['blurEvent', 'errorEvent', 'focusEvent', 'hashChangeEvent', 'loadEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'resizeEvent', 'scrollEvent', 'storageEvent', 'unloadEvent']); dart.defineLazy(html$.BodyElement, { /*html$.BodyElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.BodyElement.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); dart.registerExtension("HTMLBodyElement", html$.BodyElement); html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.BroadcastChannel.__(); + } static new(name) { - if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); return html$.BroadcastChannel._create_1(name); } + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[149], 1880, 35, "name"); + return html$.BroadcastChannel.new(name); + } static _create_1(name) { return new BroadcastChannel(name); } @@ -66244,19 +72211,24 @@ dart.setMethodSignature(html$.BroadcastChannel, () => ({ [S.$close]: dart.fnType(dart.void, []), [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.BroadcastChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.BroadcastChannel, () => ({ __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), [$name]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.BroadcastChannel, I[148]); +dart.setLibraryUri(html$.BroadcastChannel, I[150]); +dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); dart.defineLazy(html$.BroadcastChannel, { /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); -html$.BudgetState = class BudgetState extends _interceptors.Interceptor { +html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.BudgetState.__(); + } get [S$.$budgetAt]() { return this.budgetAt; } @@ -66266,17 +72238,27 @@ html$.BudgetState = class BudgetState extends _interceptors.Interceptor { }; dart.addTypeTests(html$.BudgetState); dart.addTypeCaches(html$.BudgetState); +dart.setStaticMethodSignature(html$.BudgetState, () => ['__']); dart.setGetterSignature(html$.BudgetState, () => ({ __proto__: dart.getGetters(html$.BudgetState.__proto__), [S$.$budgetAt]: dart.nullable(core.num), [S$.$time]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.BudgetState, I[148]); +dart.setLibraryUri(html$.BudgetState, I[150]); dart.registerExtension("BudgetState", html$.BudgetState); html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ButtonElement.__(); + } static new() { return html$.document.createElement("button"); } + static ['_#new#tearOff']() { + return html$.ButtonElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ButtonElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -66374,6 +72356,7 @@ dart.setMethodSignature(html$.ButtonElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.ButtonElement, () => ['__', 'new']); dart.setGetterSignature(html$.ButtonElement, () => ({ __proto__: dart.getGetters(html$.ButtonElement.__proto__), [S$.$autofocus]: core.bool, @@ -66405,9 +72388,12 @@ dart.setSetterSignature(html$.ButtonElement, () => ({ [S.$type]: core.String, [S.$value]: core.String })); -dart.setLibraryUri(html$.ButtonElement, I[148]); +dart.setLibraryUri(html$.ButtonElement, I[150]); dart.registerExtension("HTMLButtonElement", html$.ButtonElement); html$.CharacterData = class CharacterData extends html$.Node { + static ['_#_#tearOff']() { + return html$.CharacterData.__(); + } get [S$.$data]() { return this.data; } @@ -66447,7 +72433,7 @@ html$.CharacterData = class CharacterData extends html$.Node { }; dart.addTypeTests(html$.CharacterData); dart.addTypeCaches(html$.CharacterData); -html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; +html$.CharacterData[dart.implements] = () => [html$.ChildNode, html$.NonDocumentTypeChildNode]; dart.setMethodSignature(html$.CharacterData, () => ({ __proto__: dart.getMethods(html$.CharacterData.__proto__), [S$.$appendData]: dart.fnType(dart.void, [core.String]), @@ -66458,6 +72444,7 @@ dart.setMethodSignature(html$.CharacterData, () => ({ [S.$after]: dart.fnType(dart.void, [core.Object]), [S.$before]: dart.fnType(dart.void, [core.Object]) })); +dart.setStaticMethodSignature(html$.CharacterData, () => ['__']); dart.setGetterSignature(html$.CharacterData, () => ({ __proto__: dart.getGetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String), @@ -66469,13 +72456,20 @@ dart.setSetterSignature(html$.CharacterData, () => ({ __proto__: dart.getSetters(html$.CharacterData.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CharacterData, I[148]); +dart.setLibraryUri(html$.CharacterData, I[150]); dart.registerExtension("CharacterData", html$.CharacterData); html$.Text = class Text extends html$.CharacterData { static new(data) { - if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); return html$.document.createTextNode(data); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 29901, 23, "data"); + return html$.Text.new(data); + } + static ['_#_#tearOff']() { + return html$.Text.__(); + } get [S.$assignedSlot]() { return this.assignedSlot; } @@ -66496,25 +72490,34 @@ dart.setMethodSignature(html$.Text, () => ({ [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), [S$.$splitText]: dart.fnType(html$.Text, [core.int]) })); +dart.setStaticMethodSignature(html$.Text, () => ['new', '__']); dart.setGetterSignature(html$.Text, () => ({ __proto__: dart.getGetters(html$.Text.__proto__), [S.$assignedSlot]: dart.nullable(html$.SlotElement), [S$.$wholeText]: core.String })); -dart.setLibraryUri(html$.Text, I[148]); +dart.setLibraryUri(html$.Text, I[150]); dart.registerExtension("Text", html$.Text); -html$.CDataSection = class CDataSection extends html$.Text {}; +html$.CDataSection = class CDataSection extends html$.Text { + static ['_#_#tearOff']() { + return html$.CDataSection.__(); + } +}; dart.addTypeTests(html$.CDataSection); dart.addTypeCaches(html$.CDataSection); -dart.setLibraryUri(html$.CDataSection, I[148]); +dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); +dart.setLibraryUri(html$.CDataSection, I[150]); dart.registerExtension("CDATASection", html$.CDataSection); -html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { +html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CacheStorage.__(); + } [S.$delete](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2015, 24, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); } [S$.$has](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2018, 21, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); } [$keys]() { @@ -66528,7 +72531,7 @@ html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); } [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); } }; @@ -66542,15 +72545,24 @@ dart.setMethodSignature(html$.CacheStorage, () => ({ [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), [S.$open]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.CacheStorage, I[148]); +dart.setStaticMethodSignature(html$.CacheStorage, () => ['__']); +dart.setLibraryUri(html$.CacheStorage, I[150]); dart.registerExtension("CacheStorage", html$.CacheStorage); html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.CanMakePaymentEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 2046, 48, "eventInitDict"); + return html$.CanMakePaymentEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CanMakePaymentEvent(type, eventInitDict); } @@ -66576,6 +72588,7 @@ dart.setMethodSignature(html$.CanMakePaymentEvent, () => ({ __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.CanMakePaymentEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), [S$.$methodData]: dart.nullable(core.List), @@ -66583,9 +72596,12 @@ dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ [S$.$paymentRequestOrigin]: dart.nullable(core.String), [S$.$topLevelOrigin]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); +dart.setLibraryUri(html$.CanMakePaymentEvent, I[150]); dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStreamTrack.__(); + } get [S$.$contentHint]() { return this.contentHint; } @@ -66668,6 +72684,7 @@ dart.setMethodSignature(html$.MediaStreamTrack, () => ({ [S$._getSettings_1]: dart.fnType(dart.dynamic, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.MediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), [S$.$contentHint]: dart.nullable(core.String), @@ -66686,20 +72703,24 @@ dart.setSetterSignature(html$.MediaStreamTrack, () => ({ [S$.$contentHint]: dart.nullable(core.String), [S$.$enabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MediaStreamTrack, I[148]); +dart.setLibraryUri(html$.MediaStreamTrack, I[150]); +dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); dart.defineLazy(html$.MediaStreamTrack, { /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[318] || CT.C318; + return C[328] || CT.C328; }, /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - return C[319] || CT.C319; + return C[329] || CT.C329; } }, false); dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + static ['_#_#tearOff']() { + return html$.CanvasCaptureMediaStreamTrack.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -66713,13 +72734,17 @@ dart.setMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$requestFrame]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ['__']); dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); -dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); +dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[150]); dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.CanvasElement.__(); + } static new(opts) { let width = opts && 'width' in opts ? opts.width : null; let height = opts && 'height' in opts ? opts.height : null; @@ -66728,6 +72753,14 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.CanvasElement.new({width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.CanvasElement.created(); + } get [$height]() { return this.height; } @@ -66744,7 +72777,7 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { return this.captureStream.apply(this, args); } [S$.$getContext](contextId, attributes = null) { - if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (contextId == null) dart.nullFailed(I[149], 2143, 29, "contextId"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextId, attributes_1); @@ -66784,10 +72817,10 @@ html$.CanvasElement = class CanvasElement extends html$.HtmlElement { if (context == null) { context = this[S$.$getContext]("experimental-webgl", options); } - return web_gl.RenderingContext.as(context); + return T$0.RenderingContextN().as(context); } [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); return this[S$._toDataUrl](type, quality); } [S$._toBlob](...args) { @@ -66816,11 +72849,12 @@ dart.setMethodSignature(html$.CanvasElement, () => ({ [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), - [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$getContext3d]: dart.fnType(dart.nullable(web_gl.RenderingContext), [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(html$.CanvasElement, () => ['__', 'new']); dart.setGetterSignature(html$.CanvasElement, () => ({ __proto__: dart.getGetters(html$.CanvasElement.__proto__), [$height]: dart.nullable(core.int), @@ -66834,17 +72868,21 @@ dart.setSetterSignature(html$.CanvasElement, () => ({ [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CanvasElement, I[148]); +dart.setLibraryUri(html$.CanvasElement, I[150]); +dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); dart.defineLazy(html$.CanvasElement, { /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[320] || CT.C320; + return C[330] || CT.C330; }, /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[321] || CT.C321; + return C[331] || CT.C331; } }, false); dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); -html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { +html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasGradient.__(); + } [S$.$addColorStop](...args) { return this.addColorStop.apply(this, args); } @@ -66855,9 +72893,13 @@ dart.setMethodSignature(html$.CanvasGradient, () => ({ __proto__: dart.getMethods(html$.CanvasGradient.__proto__), [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) })); -dart.setLibraryUri(html$.CanvasGradient, I[148]); +dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); +dart.setLibraryUri(html$.CanvasGradient, I[150]); dart.registerExtension("CanvasGradient", html$.CanvasGradient); -html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { +html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasPattern.__(); + } [S$.$setTransform](...args) { return this.setTransform.apply(this, args); } @@ -66868,7 +72910,8 @@ dart.setMethodSignature(html$.CanvasPattern, () => ({ __proto__: dart.getMethods(html$.CanvasPattern.__proto__), [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) })); -dart.setLibraryUri(html$.CanvasPattern, I[148]); +dart.setStaticMethodSignature(html$.CanvasPattern, () => ['__']); +dart.setLibraryUri(html$.CanvasPattern, I[150]); dart.registerExtension("CanvasPattern", html$.CanvasPattern); html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; (html$.CanvasRenderingContext.new = function() { @@ -66876,8 +72919,11 @@ html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object }).prototype = html$.CanvasRenderingContext.prototype; dart.addTypeTests(html$.CanvasRenderingContext); dart.addTypeCaches(html$.CanvasRenderingContext); -dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); -html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { +dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); +html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -67089,10 +73135,10 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.getContextAttributes.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 2584, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 2584, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 2584, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 2584, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -67114,9 +73160,9 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 2604, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 2604, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 2604, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -67202,54 +73248,54 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.rect.apply(this, args); } [S$.$createImageDataFromImageData](imagedata) { - if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + if (imagedata == null) dart.nullFailed(I[149], 2682, 52, "imagedata"); return this.createImageData(imagedata); } [S$.$setFillColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); - if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); - if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); - if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + if (r == null) dart.nullFailed(I[149], 2689, 28, "r"); + if (g == null) dart.nullFailed(I[149], 2689, 35, "g"); + if (b == null) dart.nullFailed(I[149], 2689, 42, "b"); + if (a == null) dart.nullFailed(I[149], 2689, 50, "a"); this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setFillColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); - if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); - if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); - if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + if (h == null) dart.nullFailed(I[149], 2699, 28, "h"); + if (s == null) dart.nullFailed(I[149], 2699, 35, "s"); + if (l == null) dart.nullFailed(I[149], 2699, 42, "l"); + if (a == null) dart.nullFailed(I[149], 2699, 50, "a"); this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$setStrokeColorRgb](r, g, b, a = 1) { - if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); - if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); - if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); - if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + if (r == null) dart.nullFailed(I[149], 2707, 30, "r"); + if (g == null) dart.nullFailed(I[149], 2707, 37, "g"); + if (b == null) dart.nullFailed(I[149], 2707, 44, "b"); + if (a == null) dart.nullFailed(I[149], 2707, 52, "a"); this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; } [S$.$setStrokeColorHsl](h, s, l, a = 1) { - if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); - if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); - if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); - if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + if (h == null) dart.nullFailed(I[149], 2717, 30, "h"); + if (s == null) dart.nullFailed(I[149], 2717, 37, "s"); + if (l == null) dart.nullFailed(I[149], 2717, 44, "l"); + if (a == null) dart.nullFailed(I[149], 2717, 52, "a"); this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; } [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { - if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); - if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); - if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); - if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); - if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); - if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + if (x == null) dart.nullFailed(I[149], 2721, 16, "x"); + if (y == null) dart.nullFailed(I[149], 2721, 23, "y"); + if (radius == null) dart.nullFailed(I[149], 2721, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[149], 2721, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[149], 2721, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[149], 2722, 13, "anticlockwise"); this.arc(x, y, radius, startAngle, endAngle, anticlockwise); } [S$.$createPatternFromImage](image, repetitionType) { - if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); - if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + if (image == null) dart.nullFailed(I[149], 2729, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[149], 2729, 38, "repetitionType"); return this.createPattern(image, repetitionType); } [S$.$drawImageToRect](source, destRect, opts) { - if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); - if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + if (source == null) dart.nullFailed(I[149], 2772, 42, "source"); + if (destRect == null) dart.nullFailed(I[149], 2772, 60, "destRect"); let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; if (sourceRect == null) { this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); @@ -67270,7 +73316,7 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return this.lineDashOffset || this.webkitLineDashOffset; } set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; } [S$.$getLineDash]() { @@ -67282,7 +73328,7 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce return T$0.JSArrayOfnum().of([]); } [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); if (!!this.setLineDash) { this.setLineDash(dash); } else if (!!this.webkitLineDash) { @@ -67290,9 +73336,9 @@ html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interce } } [S$.$fillText](text, x, y, maxWidth = null) { - if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); - if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); - if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (text == null) dart.nullFailed(I[149], 2964, 24, "text"); + if (x == null) dart.nullFailed(I[149], 2964, 34, "x"); + if (y == null) dart.nullFailed(I[149], 2964, 41, "y"); if (maxWidth != null) { this.fillText(text, x, y, maxWidth); } else { @@ -67376,6 +73422,7 @@ dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.CanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), [S$.$canvas]: html$.CanvasElement, @@ -67426,13 +73473,21 @@ dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ [S$.$textBaseline]: core.String, [S$.$lineDashOffset]: core.num })); -dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); +dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); -html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; +html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ChildNode.__(); + } +}; dart.addTypeTests(html$.ChildNode); dart.addTypeCaches(html$.ChildNode); -dart.setLibraryUri(html$.ChildNode, I[148]); -html$.Client = class Client extends _interceptors.Interceptor { +dart.setStaticMethodSignature(html$.ChildNode, () => ['__']); +dart.setLibraryUri(html$.ChildNode, I[150]); +html$.Client = class Client extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Client.__(); + } get [S$.$frameType]() { return this.frameType; } @@ -67455,6 +73510,7 @@ dart.setMethodSignature(html$.Client, () => ({ __proto__: dart.getMethods(html$.Client.__proto__), [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) })); +dart.setStaticMethodSignature(html$.Client, () => ['__']); dart.setGetterSignature(html$.Client, () => ({ __proto__: dart.getGetters(html$.Client.__proto__), [S$.$frameType]: dart.nullable(core.String), @@ -67462,14 +73518,17 @@ dart.setGetterSignature(html$.Client, () => ({ [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Client, I[148]); +dart.setLibraryUri(html$.Client, I[150]); dart.registerExtension("Client", html$.Client); -html$.Clients = class Clients extends _interceptors.Interceptor { +html$.Clients = class Clients extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Clients.__(); + } [S$.$claim]() { return js_util.promiseToFuture(dart.dynamic, this.claim()); } [S.$get](id) { - if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + if (id == null) dart.nullFailed(I[149], 3066, 21, "id"); return js_util.promiseToFuture(dart.dynamic, this.get(id)); } [S$.$matchAll](options = null) { @@ -67480,7 +73539,7 @@ html$.Clients = class Clients extends _interceptors.Interceptor { return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } }; @@ -67493,17 +73552,25 @@ dart.setMethodSignature(html$.Clients, () => ({ [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); -dart.setLibraryUri(html$.Clients, I[148]); +dart.setStaticMethodSignature(html$.Clients, () => ['__']); +dart.setLibraryUri(html$.Clients, I[150]); dart.registerExtension("Clients", html$.Clients); html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ClipboardEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ClipboardEvent._create_1(type, eventInitDict_1); } return html$.ClipboardEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3091, 33, "type"); + return html$.ClipboardEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ClipboardEvent(type, eventInitDict); } @@ -67516,21 +73583,29 @@ html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { }; dart.addTypeTests(html$.ClipboardEvent); dart.addTypeCaches(html$.ClipboardEvent); +dart.setStaticMethodSignature(html$.ClipboardEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ClipboardEvent, () => ({ __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), [S$.$clipboardData]: dart.nullable(html$.DataTransfer) })); -dart.setLibraryUri(html$.ClipboardEvent, I[148]); +dart.setLibraryUri(html$.ClipboardEvent, I[150]); dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); html$.CloseEvent = class CloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.CloseEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CloseEvent._create_1(type, eventInitDict_1); } return html$.CloseEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3116, 29, "type"); + return html$.CloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CloseEvent(type, eventInitDict); } @@ -67549,33 +73624,41 @@ html$.CloseEvent = class CloseEvent$ extends html$.Event { }; dart.addTypeTests(html$.CloseEvent); dart.addTypeCaches(html$.CloseEvent); +dart.setStaticMethodSignature(html$.CloseEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CloseEvent, () => ({ __proto__: dart.getGetters(html$.CloseEvent.__proto__), [S$.$code]: dart.nullable(core.int), [S$.$reason]: dart.nullable(core.String), [S$.$wasClean]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.CloseEvent, I[148]); +dart.setLibraryUri(html$.CloseEvent, I[150]); dart.registerExtension("CloseEvent", html$.CloseEvent); html$.Comment = class Comment extends html$.CharacterData { static new(data = null) { return html$.document.createComment(data == null ? "" : data); } + static ['_#new#tearOff'](data = null) { + return html$.Comment.new(data); + } + static ['_#_#tearOff']() { + return html$.Comment.__(); + } }; dart.addTypeTests(html$.Comment); dart.addTypeCaches(html$.Comment); -dart.setLibraryUri(html$.Comment, I[148]); +dart.setStaticMethodSignature(html$.Comment, () => ['new', '__']); +dart.setLibraryUri(html$.Comment, I[150]); dart.registerExtension("Comment", html$.Comment); html$.UIEvent = class UIEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); if (view == null) { view = html$.window; } @@ -67583,14 +73666,29 @@ html$.UIEvent = class UIEvent$ extends html$.Event { e[S$._initUIEvent](type, canBubble, cancelable, view, detail); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30912, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 30914, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 30915, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 30916, 12, "cancelable"); + return html$.UIEvent.new(type, {view: view, detail: detail, canBubble: canBubble, cancelable: cancelable}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.UIEvent._create_1(type, eventInitDict_1); } return html$.UIEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30925, 28, "type"); + return html$.UIEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new UIEvent(type, eventInitDict); } @@ -67622,6 +73720,7 @@ dart.setMethodSignature(html$.UIEvent, () => ({ __proto__: dart.getMethods(html$.UIEvent.__proto__), [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) })); +dart.setStaticMethodSignature(html$.UIEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.UIEvent, () => ({ __proto__: dart.getGetters(html$.UIEvent.__proto__), [S$.$detail]: dart.nullable(core.int), @@ -67630,15 +73729,15 @@ dart.setGetterSignature(html$.UIEvent, () => ({ [S$._get_view]: dart.dynamic, [S$._which]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.UIEvent, I[148]); +dart.setLibraryUri(html$.UIEvent, I[150]); dart.registerExtension("UIEvent", html$.UIEvent); html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; let locale = opts && 'locale' in opts ? opts.locale : null; @@ -67653,14 +73752,29 @@ html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 3157, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 3158, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 3159, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + return html$.CompositionEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data, locale: locale}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CompositionEvent._create_1(type, eventInitDict_1); } return html$.CompositionEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 3180, 37, "type"); + return html$.CompositionEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CompositionEvent(type, eventInitDict); } @@ -67680,16 +73794,26 @@ dart.setMethodSignature(html$.CompositionEvent, () => ({ __proto__: dart.getMethods(html$.CompositionEvent.__proto__), [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.CompositionEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CompositionEvent, () => ({ __proto__: dart.getGetters(html$.CompositionEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CompositionEvent, I[148]); +dart.setLibraryUri(html$.CompositionEvent, I[150]); dart.registerExtension("CompositionEvent", html$.CompositionEvent); html$.ContentElement = class ContentElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ContentElement.__(); + } static new() { return html$.ContentElement.as(html$.document[S.$createElement]("content")); } + static ['_#new#tearOff']() { + return html$.ContentElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ContentElement.created(); + } static get supported() { return html$.Element.isTagSupported("content"); } @@ -67713,6 +73837,7 @@ dart.setMethodSignature(html$.ContentElement, () => ({ __proto__: dart.getMethods(html$.ContentElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); +dart.setStaticMethodSignature(html$.ContentElement, () => ['__', 'new']); dart.setGetterSignature(html$.ContentElement, () => ({ __proto__: dart.getGetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) @@ -67721,9 +73846,13 @@ dart.setSetterSignature(html$.ContentElement, () => ({ __proto__: dart.getSetters(html$.ContentElement.__proto__), [S$.$select]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ContentElement, I[148]); +dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); +dart.setLibraryUri(html$.ContentElement, I[150]); dart.registerExtension("HTMLContentElement", html$.ContentElement); -html$.CookieStore = class CookieStore extends _interceptors.Interceptor { +html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CookieStore.__(); + } [S.$getAll](options = null) { let options_dict = null; if (options != null) { @@ -67732,8 +73861,8 @@ html$.CookieStore = class CookieStore extends _interceptors.Interceptor { return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); } [S$.$set](name, value, options = null) { - if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); - if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + if (name == null) dart.nullFailed(I[149], 3249, 21, "name"); + if (value == null) dart.nullFailed(I[149], 3249, 34, "value"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -67748,9 +73877,13 @@ dart.setMethodSignature(html$.CookieStore, () => ({ [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.CookieStore, I[148]); +dart.setStaticMethodSignature(html$.CookieStore, () => ['__']); +dart.setLibraryUri(html$.CookieStore, I[150]); dart.registerExtension("CookieStore", html$.CookieStore); -html$.Coordinates = class Coordinates extends _interceptors.Interceptor { +html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Coordinates.__(); + } get [S$.$accuracy]() { return this.accuracy; } @@ -67775,6 +73908,7 @@ html$.Coordinates = class Coordinates extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Coordinates); dart.addTypeCaches(html$.Coordinates); +dart.setStaticMethodSignature(html$.Coordinates, () => ['__']); dart.setGetterSignature(html$.Coordinates, () => ({ __proto__: dart.getGetters(html$.Coordinates.__proto__), [S$.$accuracy]: dart.nullable(core.num), @@ -67785,9 +73919,12 @@ dart.setGetterSignature(html$.Coordinates, () => ({ [S$.$longitude]: dart.nullable(core.num), [S$.$speed]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Coordinates, I[148]); +dart.setLibraryUri(html$.Coordinates, I[150]); dart.registerExtension("Coordinates", html$.Coordinates); -html$.Credential = class Credential extends _interceptors.Interceptor { +html$.Credential = class Credential extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Credential.__(); + } get [S.$id]() { return this.id; } @@ -67797,14 +73934,18 @@ html$.Credential = class Credential extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Credential); dart.addTypeCaches(html$.Credential); +dart.setStaticMethodSignature(html$.Credential, () => ['__']); dart.setGetterSignature(html$.Credential, () => ({ __proto__: dart.getGetters(html$.Credential.__proto__), [S.$id]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Credential, I[148]); +dart.setLibraryUri(html$.Credential, I[150]); dart.registerExtension("Credential", html$.Credential); -html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { +html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialUserData.__(); + } get [S$.$iconUrl]() { return this.iconURL; } @@ -67814,14 +73955,18 @@ html$.CredentialUserData = class CredentialUserData extends _interceptors.Interc }; dart.addTypeTests(html$.CredentialUserData); dart.addTypeCaches(html$.CredentialUserData); +dart.setStaticMethodSignature(html$.CredentialUserData, () => ['__']); dart.setGetterSignature(html$.CredentialUserData, () => ({ __proto__: dart.getGetters(html$.CredentialUserData.__proto__), [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CredentialUserData, I[148]); +dart.setLibraryUri(html$.CredentialUserData, I[150]); dart.registerExtension("CredentialUserData", html$.CredentialUserData); -html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { +html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CredentialsContainer.__(); + } [S$.$create](options = null) { let options_dict = null; if (options != null) { @@ -67843,7 +73988,7 @@ html$.CredentialsContainer = class CredentialsContainer extends _interceptors.In return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); } [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); return js_util.promiseToFuture(dart.dynamic, this.store(credential)); } }; @@ -67857,13 +74002,17 @@ dart.setMethodSignature(html$.CredentialsContainer, () => ({ [S$.$requireUserMediation]: dart.fnType(async.Future, []), [S$.$store]: dart.fnType(async.Future, [html$.Credential]) })); -dart.setLibraryUri(html$.CredentialsContainer, I[148]); +dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); +dart.setLibraryUri(html$.CredentialsContainer, I[150]); dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); -html$.Crypto = class Crypto extends _interceptors.Interceptor { +html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { [S$.$getRandomValues](array) { - if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + if (array == null) dart.nullFailed(I[149], 3360, 39, "array"); return this[S$._getRandomValues](array); } + static ['_#_#tearOff']() { + return html$.Crypto.__(); + } static get supported() { return !!(window.crypto && window.crypto.getRandomValues); } @@ -67881,13 +74030,18 @@ dart.setMethodSignature(html$.Crypto, () => ({ [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.Crypto, () => ['__']); dart.setGetterSignature(html$.Crypto, () => ({ __proto__: dart.getGetters(html$.Crypto.__proto__), [S$.$subtle]: dart.nullable(html$._SubtleCrypto) })); -dart.setLibraryUri(html$.Crypto, I[148]); +dart.setStaticGetterSignature(html$.Crypto, () => ['supported']); +dart.setLibraryUri(html$.Crypto, I[150]); dart.registerExtension("Crypto", html$.Crypto); -html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { +html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CryptoKey.__(); + } get [S$.$algorithm]() { return this.algorithm; } @@ -67903,6 +74057,7 @@ html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { }; dart.addTypeTests(html$.CryptoKey); dart.addTypeCaches(html$.CryptoKey); +dart.setStaticMethodSignature(html$.CryptoKey, () => ['__']); dart.setGetterSignature(html$.CryptoKey, () => ({ __proto__: dart.getGetters(html$.CryptoKey.__proto__), [S$.$algorithm]: dart.nullable(core.Object), @@ -67910,11 +74065,14 @@ dart.setGetterSignature(html$.CryptoKey, () => ({ [S.$type]: dart.nullable(core.String), [S$.$usages]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.CryptoKey, I[148]); +dart.setLibraryUri(html$.CryptoKey, I[150]); dart.registerExtension("CryptoKey", html$.CryptoKey); -html$.Css = class Css extends _interceptors.Interceptor { +html$.Css = class Css extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Css.__(); + } static registerProperty(descriptor) { - if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + if (descriptor == null) dart.nullFailed(I[149], 3458, 36, "descriptor"); let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); dart.global.CSS.registerProperty(descriptor_1); return; @@ -67922,9 +74080,14 @@ html$.Css = class Css extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Css); dart.addTypeCaches(html$.Css); -dart.setLibraryUri(html$.Css, I[148]); +dart.setStaticMethodSignature(html$.Css, () => ['__', 'Hz', 'ch', 'cm', 'deg', 'dpcm', 'dpi', 'dppx', 'em', 'escape', 'ex', 'fr', 'grad', 'inch', 'kHz', 'mm', 'ms', 'number', 'pc', 'percent', 'pt', 'px', 'rad', 'registerProperty', '_registerProperty_1', 'rem', 's', 'supports', 'supportsCondition', 'turn', 'vh', 'vmax', 'vmin', 'vw']); +dart.setStaticGetterSignature(html$.Css, () => ['paintWorklet']); +dart.setLibraryUri(html$.Css, I[150]); dart.registerExtension("CSS", html$.Css); -html$.CssRule = class CssRule extends _interceptors.Interceptor { +html$.CssRule = class CssRule extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssRule.__(); + } get [S$.$cssText]() { return this.cssText; } @@ -67943,6 +74106,7 @@ html$.CssRule = class CssRule extends _interceptors.Interceptor { }; dart.addTypeTests(html$.CssRule); dart.addTypeCaches(html$.CssRule); +dart.setStaticMethodSignature(html$.CssRule, () => ['__']); dart.setGetterSignature(html$.CssRule, () => ({ __proto__: dart.getGetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String), @@ -67954,7 +74118,8 @@ dart.setSetterSignature(html$.CssRule, () => ({ __proto__: dart.getSetters(html$.CssRule.__proto__), [S$.$cssText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssRule, I[148]); +dart.setLibraryUri(html$.CssRule, I[150]); +dart.setStaticFieldSignature(html$.CssRule, () => ['CHARSET_RULE', 'FONT_FACE_RULE', 'IMPORT_RULE', 'KEYFRAMES_RULE', 'KEYFRAME_RULE', 'MEDIA_RULE', 'NAMESPACE_RULE', 'PAGE_RULE', 'STYLE_RULE', 'SUPPORTS_RULE', 'VIEWPORT_RULE']); dart.defineLazy(html$.CssRule, { /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { return 2; @@ -67992,6 +74157,9 @@ dart.defineLazy(html$.CssRule, { }, false); dart.registerExtension("CSSRule", html$.CssRule); html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssCharsetRule.__(); + } get [S$.$encoding]() { return this.encoding; } @@ -68001,6 +74169,7 @@ html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { }; dart.addTypeTests(html$.CssCharsetRule); dart.addTypeCaches(html$.CssCharsetRule); +dart.setStaticMethodSignature(html$.CssCharsetRule, () => ['__']); dart.setGetterSignature(html$.CssCharsetRule, () => ({ __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) @@ -68009,9 +74178,12 @@ dart.setSetterSignature(html$.CssCharsetRule, () => ({ __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), [S$.$encoding]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssCharsetRule, I[148]); +dart.setLibraryUri(html$.CssCharsetRule, I[150]); dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssGroupingRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68029,57 +74201,78 @@ dart.setMethodSignature(html$.CssGroupingRule, () => ({ [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) })); +dart.setStaticMethodSignature(html$.CssGroupingRule, () => ['__']); dart.setGetterSignature(html$.CssGroupingRule, () => ({ __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) })); -dart.setLibraryUri(html$.CssGroupingRule, I[148]); +dart.setLibraryUri(html$.CssGroupingRule, I[150]); dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + static ['_#_#tearOff']() { + return html$.CssConditionRule.__(); + } get [S$.$conditionText]() { return this.conditionText; } }; dart.addTypeTests(html$.CssConditionRule); dart.addTypeCaches(html$.CssConditionRule); +dart.setStaticMethodSignature(html$.CssConditionRule, () => ['__']); dart.setGetterSignature(html$.CssConditionRule, () => ({ __proto__: dart.getGetters(html$.CssConditionRule.__proto__), [S$.$conditionText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssConditionRule, I[148]); +dart.setLibraryUri(html$.CssConditionRule, I[150]); dart.registerExtension("CSSConditionRule", html$.CssConditionRule); html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssFontFaceRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssFontFaceRule); dart.addTypeCaches(html$.CssFontFaceRule); +dart.setStaticMethodSignature(html$.CssFontFaceRule, () => ['__']); dart.setGetterSignature(html$.CssFontFaceRule, () => ({ __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); -dart.setLibraryUri(html$.CssFontFaceRule, I[148]); +dart.setLibraryUri(html$.CssFontFaceRule, I[150]); dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); -html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; +html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssStyleValue.__(); + } +}; dart.addTypeTests(html$.CssStyleValue); dart.addTypeCaches(html$.CssStyleValue); -dart.setLibraryUri(html$.CssStyleValue, I[148]); +dart.setStaticMethodSignature(html$.CssStyleValue, () => ['__', 'parse']); +dart.setLibraryUri(html$.CssStyleValue, I[150]); dart.registerExtension("CSSStyleValue", html$.CssStyleValue); html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssResourceValue.__(); + } get [S$.$state]() { return this.state; } }; dart.addTypeTests(html$.CssResourceValue); dart.addTypeCaches(html$.CssResourceValue); +dart.setStaticMethodSignature(html$.CssResourceValue, () => ['__']); dart.setGetterSignature(html$.CssResourceValue, () => ({ __proto__: dart.getGetters(html$.CssResourceValue.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssResourceValue, I[148]); +dart.setLibraryUri(html$.CssResourceValue, I[150]); dart.registerExtension("CSSResourceValue", html$.CssResourceValue); html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + static ['_#_#tearOff']() { + return html$.CssImageValue.__(); + } get [S$.$intrinsicHeight]() { return this.intrinsicHeight; } @@ -68092,15 +74285,19 @@ html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { }; dart.addTypeTests(html$.CssImageValue); dart.addTypeCaches(html$.CssImageValue); +dart.setStaticMethodSignature(html$.CssImageValue, () => ['__']); dart.setGetterSignature(html$.CssImageValue, () => ({ __proto__: dart.getGetters(html$.CssImageValue.__proto__), [S$.$intrinsicHeight]: dart.nullable(core.num), [S$.$intrinsicRatio]: dart.nullable(core.num), [S$.$intrinsicWidth]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssImageValue, I[148]); +dart.setLibraryUri(html$.CssImageValue, I[150]); dart.registerExtension("CSSImageValue", html$.CssImageValue); html$.CssImportRule = class CssImportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssImportRule.__(); + } get [S$.$href]() { return this.href; } @@ -68113,15 +74310,19 @@ html$.CssImportRule = class CssImportRule extends html$.CssRule { }; dart.addTypeTests(html$.CssImportRule); dart.addTypeCaches(html$.CssImportRule); +dart.setStaticMethodSignature(html$.CssImportRule, () => ['__']); dart.setGetterSignature(html$.CssImportRule, () => ({ __proto__: dart.getGetters(html$.CssImportRule.__proto__), [S$.$href]: dart.nullable(core.String), [S$.$media]: dart.nullable(html$.MediaList), [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) })); -dart.setLibraryUri(html$.CssImportRule, I[148]); +dart.setLibraryUri(html$.CssImportRule, I[150]); dart.registerExtension("CSSImportRule", html$.CssImportRule); html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframeRule.__(); + } get [S$.$keyText]() { return this.keyText; } @@ -68134,6 +74335,7 @@ html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { }; dart.addTypeTests(html$.CssKeyframeRule); dart.addTypeCaches(html$.CssKeyframeRule); +dart.setStaticMethodSignature(html$.CssKeyframeRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframeRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String), @@ -68143,11 +74345,14 @@ dart.setSetterSignature(html$.CssKeyframeRule, () => ({ __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), [S$.$keyText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeyframeRule, I[148]); +dart.setLibraryUri(html$.CssKeyframeRule, I[150]); dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssKeyframesRule.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -68179,6 +74384,7 @@ dart.setMethodSignature(html$.CssKeyframesRule, () => ({ [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) })); +dart.setStaticMethodSignature(html$.CssKeyframesRule, () => ['__']); dart.setGetterSignature(html$.CssKeyframesRule, () => ({ __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), @@ -68188,15 +74394,22 @@ dart.setSetterSignature(html$.CssKeyframesRule, () => ({ __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeyframesRule, I[148]); +dart.setLibraryUri(html$.CssKeyframesRule, I[150]); dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssKeywordValue.__(); + } static new(keyword) { - if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); return html$.CssKeywordValue._create_1(keyword); } + static ['_#new#tearOff'](keyword) { + if (keyword == null) dart.nullFailed(I[149], 3635, 34, "keyword"); + return html$.CssKeywordValue.new(keyword); + } static _create_1(keyword) { return new CSSKeywordValue(keyword); } @@ -68209,6 +74422,7 @@ html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { }; dart.addTypeTests(html$.CssKeywordValue); dart.addTypeCaches(html$.CssKeywordValue); +dart.setStaticMethodSignature(html$.CssKeywordValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssKeywordValue, () => ({ __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) @@ -68217,9 +74431,12 @@ dart.setSetterSignature(html$.CssKeywordValue, () => ({ __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssKeywordValue, I[148]); +dart.setLibraryUri(html$.CssKeywordValue, I[150]); dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); -html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { +html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssTransformComponent.__(); + } get [S$.$is2D]() { return this.is2D; } @@ -68229,6 +74446,7 @@ html$.CssTransformComponent = class CssTransformComponent extends _interceptors. }; dart.addTypeTests(html$.CssTransformComponent); dart.addTypeCaches(html$.CssTransformComponent); +dart.setStaticMethodSignature(html$.CssTransformComponent, () => ['__']); dart.setGetterSignature(html$.CssTransformComponent, () => ({ __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) @@ -68237,17 +74455,24 @@ dart.setSetterSignature(html$.CssTransformComponent, () => ({ __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), [S$.$is2D]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.CssTransformComponent, I[148]); +dart.setLibraryUri(html$.CssTransformComponent, I[150]); dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssMatrixComponent.__(); + } static new(matrix, options = null) { - if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.CssMatrixComponent._create_1(matrix, options_1); } return html$.CssMatrixComponent._create_2(matrix); } + static ['_#new#tearOff'](matrix, options = null) { + if (matrix == null) dart.nullFailed(I[149], 3656, 48, "matrix"); + return html$.CssMatrixComponent.new(matrix, options); + } static _create_1(matrix, options) { return new CSSMatrixComponent(matrix, options); } @@ -68263,6 +74488,7 @@ html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformCo }; dart.addTypeTests(html$.CssMatrixComponent); dart.addTypeCaches(html$.CssMatrixComponent); +dart.setStaticMethodSignature(html$.CssMatrixComponent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssMatrixComponent, () => ({ __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) @@ -68271,22 +74497,29 @@ dart.setSetterSignature(html$.CssMatrixComponent, () => ({ __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), [S$.$matrix]: dart.nullable(html$.DomMatrix) })); -dart.setLibraryUri(html$.CssMatrixComponent, I[148]); +dart.setLibraryUri(html$.CssMatrixComponent, I[150]); dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssMediaRule.__(); + } get [S$.$media]() { return this.media; } }; dart.addTypeTests(html$.CssMediaRule); dart.addTypeCaches(html$.CssMediaRule); +dart.setStaticMethodSignature(html$.CssMediaRule, () => ['__']); dart.setGetterSignature(html$.CssMediaRule, () => ({ __proto__: dart.getGetters(html$.CssMediaRule.__proto__), [S$.$media]: dart.nullable(html$.MediaList) })); -dart.setLibraryUri(html$.CssMediaRule, I[148]); +dart.setLibraryUri(html$.CssMediaRule, I[150]); dart.registerExtension("CSSMediaRule", html$.CssMediaRule); html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssNamespaceRule.__(); + } get [S.$namespaceUri]() { return this.namespaceURI; } @@ -68296,14 +74529,18 @@ html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { }; dart.addTypeTests(html$.CssNamespaceRule); dart.addTypeCaches(html$.CssNamespaceRule); +dart.setStaticMethodSignature(html$.CssNamespaceRule, () => ['__']); dart.setGetterSignature(html$.CssNamespaceRule, () => ({ __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), [S.$namespaceUri]: dart.nullable(core.String), [S$.$prefix]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssNamespaceRule, I[148]); +dart.setLibraryUri(html$.CssNamespaceRule, I[150]); dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssNumericValue.__(); + } [$add](...args) { return this.add.apply(this, args); } @@ -68330,9 +74567,13 @@ dart.setMethodSignature(html$.CssNumericValue, () => ({ [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) })); -dart.setLibraryUri(html$.CssNumericValue, I[148]); +dart.setStaticMethodSignature(html$.CssNumericValue, () => ['__', 'parse']); +dart.setLibraryUri(html$.CssNumericValue, I[150]); dart.registerExtension("CSSNumericValue", html$.CssNumericValue); html$.CssPageRule = class CssPageRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssPageRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -68345,6 +74586,7 @@ html$.CssPageRule = class CssPageRule extends html$.CssRule { }; dart.addTypeTests(html$.CssPageRule); dart.addTypeCaches(html$.CssPageRule); +dart.setStaticMethodSignature(html$.CssPageRule, () => ['__']); dart.setGetterSignature(html$.CssPageRule, () => ({ __proto__: dart.getGetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String), @@ -68354,13 +74596,20 @@ dart.setSetterSignature(html$.CssPageRule, () => ({ __proto__: dart.getSetters(html$.CssPageRule.__proto__), [S$.$selectorText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssPageRule, I[148]); +dart.setLibraryUri(html$.CssPageRule, I[150]); dart.registerExtension("CSSPageRule", html$.CssPageRule); html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssPerspective.__(); + } static new(length) { - if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); return html$.CssPerspective._create_1(length); } + static ['_#new#tearOff'](length) { + if (length == null) dart.nullFailed(I[149], 3752, 42, "length"); + return html$.CssPerspective.new(length); + } static _create_1(length) { return new CSSPerspective(length); } @@ -68373,6 +74622,7 @@ html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent }; dart.addTypeTests(html$.CssPerspective); dart.addTypeCaches(html$.CssPerspective); +dart.setStaticMethodSignature(html$.CssPerspective, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPerspective, () => ({ __proto__: dart.getGetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) @@ -68381,14 +74631,22 @@ dart.setSetterSignature(html$.CssPerspective, () => ({ __proto__: dart.getSetters(html$.CssPerspective.__proto__), [$length]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssPerspective, I[148]); +dart.setLibraryUri(html$.CssPerspective, I[150]); dart.registerExtension("CSSPerspective", html$.CssPerspective); html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssPositionValue.__(); + } static new(x, y) { - if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); - if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); return html$.CssPositionValue._create_1(x, y); } + static ['_#new#tearOff'](x, y) { + if (x == null) dart.nullFailed(I[149], 3773, 44, "x"); + if (y == null) dart.nullFailed(I[149], 3773, 63, "y"); + return html$.CssPositionValue.new(x, y); + } static _create_1(x, y) { return new CSSPositionValue(x, y); } @@ -68407,6 +74665,7 @@ html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { }; dart.addTypeTests(html$.CssPositionValue); dart.addTypeCaches(html$.CssPositionValue); +dart.setStaticMethodSignature(html$.CssPositionValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssPositionValue, () => ({ __proto__: dart.getGetters(html$.CssPositionValue.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -68417,9 +74676,12 @@ dart.setSetterSignature(html$.CssPositionValue, () => ({ [S$.$x]: dart.nullable(html$.CssNumericValue), [S$.$y]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssPositionValue, I[148]); +dart.setLibraryUri(html$.CssPositionValue, I[150]); dart.registerExtension("CSSPositionValue", html$.CssPositionValue); html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssRotation.__(); + } static new(angleValue_OR_x, y = null, z = null, angle = null) { if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { return html$.CssRotation._create_1(angleValue_OR_x); @@ -68429,6 +74691,9 @@ html$.CssRotation = class CssRotation extends html$.CssTransformComponent { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](angleValue_OR_x, y = null, z = null, angle = null) { + return html$.CssRotation.new(angleValue_OR_x, y, z, angle); + } static _create_1(angleValue_OR_x) { return new CSSRotation(angleValue_OR_x); } @@ -68462,6 +74727,7 @@ html$.CssRotation = class CssRotation extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssRotation); dart.addTypeCaches(html$.CssRotation); +dart.setStaticMethodSignature(html$.CssRotation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssRotation, () => ({ __proto__: dart.getGetters(html$.CssRotation.__proto__), [S$.$angle]: dart.nullable(html$.CssNumericValue), @@ -68476,12 +74742,15 @@ dart.setSetterSignature(html$.CssRotation, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssRotation, I[148]); +dart.setLibraryUri(html$.CssRotation, I[150]); dart.registerExtension("CSSRotation", html$.CssRotation); html$.CssScale = class CssScale extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssScale.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); - if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); if (typeof y == 'number' && typeof x == 'number' && z == null) { return html$.CssScale._create_1(x, y); } @@ -68490,6 +74759,11 @@ html$.CssScale = class CssScale extends html$.CssTransformComponent { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 3902, 24, "x"); + if (y == null) dart.nullFailed(I[149], 3902, 31, "y"); + return html$.CssScale.new(x, y, z); + } static _create_1(x, y) { return new CSSScale(x, y); } @@ -68517,6 +74791,7 @@ html$.CssScale = class CssScale extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssScale); dart.addTypeCaches(html$.CssScale); +dart.setStaticMethodSignature(html$.CssScale, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssScale, () => ({ __proto__: dart.getGetters(html$.CssScale.__proto__), [S$.$x]: dart.nullable(core.num), @@ -68529,14 +74804,22 @@ dart.setSetterSignature(html$.CssScale, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssScale, I[148]); +dart.setLibraryUri(html$.CssScale, I[150]); dart.registerExtension("CSSScale", html$.CssScale); html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssSkew.__(); + } static new(ax, ay) { - if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); - if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); return html$.CssSkew._create_1(ax, ay); } + static ['_#new#tearOff'](ax, ay) { + if (ax == null) dart.nullFailed(I[149], 3938, 35, "ax"); + if (ay == null) dart.nullFailed(I[149], 3938, 55, "ay"); + return html$.CssSkew.new(ax, ay); + } static _create_1(ax, ay) { return new CSSSkew(ax, ay); } @@ -68555,6 +74838,7 @@ html$.CssSkew = class CssSkew extends html$.CssTransformComponent { }; dart.addTypeTests(html$.CssSkew); dart.addTypeCaches(html$.CssSkew); +dart.setStaticMethodSignature(html$.CssSkew, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssSkew, () => ({ __proto__: dart.getGetters(html$.CssSkew.__proto__), [S$.$ax]: dart.nullable(html$.CssNumericValue), @@ -68565,2401 +74849,2415 @@ dart.setSetterSignature(html$.CssSkew, () => ({ [S$.$ax]: dart.nullable(html$.CssNumericValue), [S$.$ay]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssSkew, I[148]); +dart.setLibraryUri(html$.CssSkew, I[150]); dart.registerExtension("CSSSkew", html$.CssSkew); html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { get alignContent() { return this[S$.$getPropertyValue]("align-content"); } set alignContent(value) { - if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5924, 27, "value"); this[S$.$setProperty]("align-content", value, ""); } get alignItems() { return this[S$.$getPropertyValue]("align-items"); } set alignItems(value) { - if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5932, 25, "value"); this[S$.$setProperty]("align-items", value, ""); } get alignSelf() { return this[S$.$getPropertyValue]("align-self"); } set alignSelf(value) { - if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5940, 24, "value"); this[S$.$setProperty]("align-self", value, ""); } get animation() { return this[S$.$getPropertyValue]("animation"); } set animation(value) { - if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5948, 24, "value"); this[S$.$setProperty]("animation", value, ""); } get animationDelay() { return this[S$.$getPropertyValue]("animation-delay"); } set animationDelay(value) { - if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5956, 29, "value"); this[S$.$setProperty]("animation-delay", value, ""); } get animationDirection() { return this[S$.$getPropertyValue]("animation-direction"); } set animationDirection(value) { - if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5964, 33, "value"); this[S$.$setProperty]("animation-direction", value, ""); } get animationDuration() { return this[S$.$getPropertyValue]("animation-duration"); } set animationDuration(value) { - if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5972, 32, "value"); this[S$.$setProperty]("animation-duration", value, ""); } get animationFillMode() { return this[S$.$getPropertyValue]("animation-fill-mode"); } set animationFillMode(value) { - if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5980, 32, "value"); this[S$.$setProperty]("animation-fill-mode", value, ""); } get animationIterationCount() { return this[S$.$getPropertyValue]("animation-iteration-count"); } set animationIterationCount(value) { - if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + if (value == null) dart.nullFailed(I[149], 5989, 38, "value"); this[S$.$setProperty]("animation-iteration-count", value, ""); } get animationName() { return this[S$.$getPropertyValue]("animation-name"); } set animationName(value) { - if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5997, 28, "value"); this[S$.$setProperty]("animation-name", value, ""); } get animationPlayState() { return this[S$.$getPropertyValue]("animation-play-state"); } set animationPlayState(value) { - if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6005, 33, "value"); this[S$.$setProperty]("animation-play-state", value, ""); } get animationTimingFunction() { return this[S$.$getPropertyValue]("animation-timing-function"); } set animationTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6014, 38, "value"); this[S$.$setProperty]("animation-timing-function", value, ""); } get appRegion() { return this[S$.$getPropertyValue]("app-region"); } set appRegion(value) { - if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6022, 24, "value"); this[S$.$setProperty]("app-region", value, ""); } get appearance() { return this[S$.$getPropertyValue]("appearance"); } set appearance(value) { - if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6030, 25, "value"); this[S$.$setProperty]("appearance", value, ""); } get aspectRatio() { return this[S$.$getPropertyValue]("aspect-ratio"); } set aspectRatio(value) { - if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6038, 26, "value"); this[S$.$setProperty]("aspect-ratio", value, ""); } get backfaceVisibility() { return this[S$.$getPropertyValue]("backface-visibility"); } set backfaceVisibility(value) { - if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6046, 33, "value"); this[S$.$setProperty]("backface-visibility", value, ""); } get background() { return this[S$.$getPropertyValue]("background"); } set background(value) { - if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6054, 25, "value"); this[S$.$setProperty]("background", value, ""); } get backgroundAttachment() { return this[S$.$getPropertyValue]("background-attachment"); } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6062, 35, "value"); this[S$.$setProperty]("background-attachment", value, ""); } get backgroundBlendMode() { return this[S$.$getPropertyValue]("background-blend-mode"); } set backgroundBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6070, 34, "value"); this[S$.$setProperty]("background-blend-mode", value, ""); } get backgroundClip() { return this[S$.$getPropertyValue]("background-clip"); } set backgroundClip(value) { - if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6078, 29, "value"); this[S$.$setProperty]("background-clip", value, ""); } get backgroundColor() { return this[S$.$getPropertyValue]("background-color"); } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6086, 30, "value"); this[S$.$setProperty]("background-color", value, ""); } get backgroundComposite() { return this[S$.$getPropertyValue]("background-composite"); } set backgroundComposite(value) { - if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6094, 34, "value"); this[S$.$setProperty]("background-composite", value, ""); } get backgroundImage() { return this[S$.$getPropertyValue]("background-image"); } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6102, 30, "value"); this[S$.$setProperty]("background-image", value, ""); } get backgroundOrigin() { return this[S$.$getPropertyValue]("background-origin"); } set backgroundOrigin(value) { - if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6110, 31, "value"); this[S$.$setProperty]("background-origin", value, ""); } get backgroundPosition() { return this[S$.$getPropertyValue]("background-position"); } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6118, 33, "value"); this[S$.$setProperty]("background-position", value, ""); } get backgroundPositionX() { return this[S$.$getPropertyValue]("background-position-x"); } set backgroundPositionX(value) { - if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6126, 34, "value"); this[S$.$setProperty]("background-position-x", value, ""); } get backgroundPositionY() { return this[S$.$getPropertyValue]("background-position-y"); } set backgroundPositionY(value) { - if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6134, 34, "value"); this[S$.$setProperty]("background-position-y", value, ""); } get backgroundRepeat() { return this[S$.$getPropertyValue]("background-repeat"); } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6142, 31, "value"); this[S$.$setProperty]("background-repeat", value, ""); } get backgroundRepeatX() { return this[S$.$getPropertyValue]("background-repeat-x"); } set backgroundRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6150, 32, "value"); this[S$.$setProperty]("background-repeat-x", value, ""); } get backgroundRepeatY() { return this[S$.$getPropertyValue]("background-repeat-y"); } set backgroundRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6158, 32, "value"); this[S$.$setProperty]("background-repeat-y", value, ""); } get backgroundSize() { return this[S$.$getPropertyValue]("background-size"); } set backgroundSize(value) { - if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6166, 29, "value"); this[S$.$setProperty]("background-size", value, ""); } get border() { return this[S$.$getPropertyValue]("border"); } set border(value) { - if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6174, 21, "value"); this[S$.$setProperty]("border", value, ""); } get borderAfter() { return this[S$.$getPropertyValue]("border-after"); } set borderAfter(value) { - if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6182, 26, "value"); this[S$.$setProperty]("border-after", value, ""); } get borderAfterColor() { return this[S$.$getPropertyValue]("border-after-color"); } set borderAfterColor(value) { - if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6190, 31, "value"); this[S$.$setProperty]("border-after-color", value, ""); } get borderAfterStyle() { return this[S$.$getPropertyValue]("border-after-style"); } set borderAfterStyle(value) { - if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6198, 31, "value"); this[S$.$setProperty]("border-after-style", value, ""); } get borderAfterWidth() { return this[S$.$getPropertyValue]("border-after-width"); } set borderAfterWidth(value) { - if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6206, 31, "value"); this[S$.$setProperty]("border-after-width", value, ""); } get borderBefore() { return this[S$.$getPropertyValue]("border-before"); } set borderBefore(value) { - if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6214, 27, "value"); this[S$.$setProperty]("border-before", value, ""); } get borderBeforeColor() { return this[S$.$getPropertyValue]("border-before-color"); } set borderBeforeColor(value) { - if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6222, 32, "value"); this[S$.$setProperty]("border-before-color", value, ""); } get borderBeforeStyle() { return this[S$.$getPropertyValue]("border-before-style"); } set borderBeforeStyle(value) { - if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6230, 32, "value"); this[S$.$setProperty]("border-before-style", value, ""); } get borderBeforeWidth() { return this[S$.$getPropertyValue]("border-before-width"); } set borderBeforeWidth(value) { - if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6238, 32, "value"); this[S$.$setProperty]("border-before-width", value, ""); } get borderBottom() { return this[S$.$getPropertyValue]("border-bottom"); } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6246, 27, "value"); this[S$.$setProperty]("border-bottom", value, ""); } get borderBottomColor() { return this[S$.$getPropertyValue]("border-bottom-color"); } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6254, 32, "value"); this[S$.$setProperty]("border-bottom-color", value, ""); } get borderBottomLeftRadius() { return this[S$.$getPropertyValue]("border-bottom-left-radius"); } set borderBottomLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + if (value == null) dart.nullFailed(I[149], 6263, 37, "value"); this[S$.$setProperty]("border-bottom-left-radius", value, ""); } get borderBottomRightRadius() { return this[S$.$getPropertyValue]("border-bottom-right-radius"); } set borderBottomRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6272, 38, "value"); this[S$.$setProperty]("border-bottom-right-radius", value, ""); } get borderBottomStyle() { return this[S$.$getPropertyValue]("border-bottom-style"); } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6280, 32, "value"); this[S$.$setProperty]("border-bottom-style", value, ""); } get borderBottomWidth() { return this[S$.$getPropertyValue]("border-bottom-width"); } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6288, 32, "value"); this[S$.$setProperty]("border-bottom-width", value, ""); } get borderCollapse() { return this[S$.$getPropertyValue]("border-collapse"); } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6296, 29, "value"); this[S$.$setProperty]("border-collapse", value, ""); } get borderColor() { return this[S$.$getPropertyValue]("border-color"); } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6304, 26, "value"); this[S$.$setProperty]("border-color", value, ""); } get borderEnd() { return this[S$.$getPropertyValue]("border-end"); } set borderEnd(value) { - if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6312, 24, "value"); this[S$.$setProperty]("border-end", value, ""); } get borderEndColor() { return this[S$.$getPropertyValue]("border-end-color"); } set borderEndColor(value) { - if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6320, 29, "value"); this[S$.$setProperty]("border-end-color", value, ""); } get borderEndStyle() { return this[S$.$getPropertyValue]("border-end-style"); } set borderEndStyle(value) { - if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6328, 29, "value"); this[S$.$setProperty]("border-end-style", value, ""); } get borderEndWidth() { return this[S$.$getPropertyValue]("border-end-width"); } set borderEndWidth(value) { - if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6336, 29, "value"); this[S$.$setProperty]("border-end-width", value, ""); } get borderFit() { return this[S$.$getPropertyValue]("border-fit"); } set borderFit(value) { - if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6344, 24, "value"); this[S$.$setProperty]("border-fit", value, ""); } get borderHorizontalSpacing() { return this[S$.$getPropertyValue]("border-horizontal-spacing"); } set borderHorizontalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + if (value == null) dart.nullFailed(I[149], 6353, 38, "value"); this[S$.$setProperty]("border-horizontal-spacing", value, ""); } get borderImage() { return this[S$.$getPropertyValue]("border-image"); } set borderImage(value) { - if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6361, 26, "value"); this[S$.$setProperty]("border-image", value, ""); } get borderImageOutset() { return this[S$.$getPropertyValue]("border-image-outset"); } set borderImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6369, 32, "value"); this[S$.$setProperty]("border-image-outset", value, ""); } get borderImageRepeat() { return this[S$.$getPropertyValue]("border-image-repeat"); } set borderImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6377, 32, "value"); this[S$.$setProperty]("border-image-repeat", value, ""); } get borderImageSlice() { return this[S$.$getPropertyValue]("border-image-slice"); } set borderImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6385, 31, "value"); this[S$.$setProperty]("border-image-slice", value, ""); } get borderImageSource() { return this[S$.$getPropertyValue]("border-image-source"); } set borderImageSource(value) { - if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6393, 32, "value"); this[S$.$setProperty]("border-image-source", value, ""); } get borderImageWidth() { return this[S$.$getPropertyValue]("border-image-width"); } set borderImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6401, 31, "value"); this[S$.$setProperty]("border-image-width", value, ""); } get borderLeft() { return this[S$.$getPropertyValue]("border-left"); } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6409, 25, "value"); this[S$.$setProperty]("border-left", value, ""); } get borderLeftColor() { return this[S$.$getPropertyValue]("border-left-color"); } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6417, 30, "value"); this[S$.$setProperty]("border-left-color", value, ""); } get borderLeftStyle() { return this[S$.$getPropertyValue]("border-left-style"); } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6425, 30, "value"); this[S$.$setProperty]("border-left-style", value, ""); } get borderLeftWidth() { return this[S$.$getPropertyValue]("border-left-width"); } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6433, 30, "value"); this[S$.$setProperty]("border-left-width", value, ""); } get borderRadius() { return this[S$.$getPropertyValue]("border-radius"); } set borderRadius(value) { - if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6441, 27, "value"); this[S$.$setProperty]("border-radius", value, ""); } get borderRight() { return this[S$.$getPropertyValue]("border-right"); } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6449, 26, "value"); this[S$.$setProperty]("border-right", value, ""); } get borderRightColor() { return this[S$.$getPropertyValue]("border-right-color"); } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6457, 31, "value"); this[S$.$setProperty]("border-right-color", value, ""); } get borderRightStyle() { return this[S$.$getPropertyValue]("border-right-style"); } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6465, 31, "value"); this[S$.$setProperty]("border-right-style", value, ""); } get borderRightWidth() { return this[S$.$getPropertyValue]("border-right-width"); } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6473, 31, "value"); this[S$.$setProperty]("border-right-width", value, ""); } get borderSpacing() { return this[S$.$getPropertyValue]("border-spacing"); } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6481, 28, "value"); this[S$.$setProperty]("border-spacing", value, ""); } get borderStart() { return this[S$.$getPropertyValue]("border-start"); } set borderStart(value) { - if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6489, 26, "value"); this[S$.$setProperty]("border-start", value, ""); } get borderStartColor() { return this[S$.$getPropertyValue]("border-start-color"); } set borderStartColor(value) { - if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6497, 31, "value"); this[S$.$setProperty]("border-start-color", value, ""); } get borderStartStyle() { return this[S$.$getPropertyValue]("border-start-style"); } set borderStartStyle(value) { - if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6505, 31, "value"); this[S$.$setProperty]("border-start-style", value, ""); } get borderStartWidth() { return this[S$.$getPropertyValue]("border-start-width"); } set borderStartWidth(value) { - if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6513, 31, "value"); this[S$.$setProperty]("border-start-width", value, ""); } get borderStyle() { return this[S$.$getPropertyValue]("border-style"); } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6521, 26, "value"); this[S$.$setProperty]("border-style", value, ""); } get borderTop() { return this[S$.$getPropertyValue]("border-top"); } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6529, 24, "value"); this[S$.$setProperty]("border-top", value, ""); } get borderTopColor() { return this[S$.$getPropertyValue]("border-top-color"); } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6537, 29, "value"); this[S$.$setProperty]("border-top-color", value, ""); } get borderTopLeftRadius() { return this[S$.$getPropertyValue]("border-top-left-radius"); } set borderTopLeftRadius(value) { - if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6545, 34, "value"); this[S$.$setProperty]("border-top-left-radius", value, ""); } get borderTopRightRadius() { return this[S$.$getPropertyValue]("border-top-right-radius"); } set borderTopRightRadius(value) { - if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + if (value == null) dart.nullFailed(I[149], 6554, 35, "value"); this[S$.$setProperty]("border-top-right-radius", value, ""); } get borderTopStyle() { return this[S$.$getPropertyValue]("border-top-style"); } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6562, 29, "value"); this[S$.$setProperty]("border-top-style", value, ""); } get borderTopWidth() { return this[S$.$getPropertyValue]("border-top-width"); } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + if (value == null) dart.nullFailed(I[149], 6570, 29, "value"); this[S$.$setProperty]("border-top-width", value, ""); } get borderVerticalSpacing() { return this[S$.$getPropertyValue]("border-vertical-spacing"); } set borderVerticalSpacing(value) { - if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + if (value == null) dart.nullFailed(I[149], 6579, 36, "value"); this[S$.$setProperty]("border-vertical-spacing", value, ""); } get borderWidth() { return this[S$.$getPropertyValue]("border-width"); } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6587, 26, "value"); this[S$.$setProperty]("border-width", value, ""); } get bottom() { return this[S$.$getPropertyValue]("bottom"); } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6595, 21, "value"); this[S$.$setProperty]("bottom", value, ""); } get boxAlign() { return this[S$.$getPropertyValue]("box-align"); } set boxAlign(value) { - if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6603, 23, "value"); this[S$.$setProperty]("box-align", value, ""); } get boxDecorationBreak() { return this[S$.$getPropertyValue]("box-decoration-break"); } set boxDecorationBreak(value) { - if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + if (value == null) dart.nullFailed(I[149], 6611, 33, "value"); this[S$.$setProperty]("box-decoration-break", value, ""); } get boxDirection() { return this[S$.$getPropertyValue]("box-direction"); } set boxDirection(value) { - if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6619, 27, "value"); this[S$.$setProperty]("box-direction", value, ""); } get boxFlex() { return this[S$.$getPropertyValue]("box-flex"); } set boxFlex(value) { - if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6627, 22, "value"); this[S$.$setProperty]("box-flex", value, ""); } get boxFlexGroup() { return this[S$.$getPropertyValue]("box-flex-group"); } set boxFlexGroup(value) { - if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6635, 27, "value"); this[S$.$setProperty]("box-flex-group", value, ""); } get boxLines() { return this[S$.$getPropertyValue]("box-lines"); } set boxLines(value) { - if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6643, 23, "value"); this[S$.$setProperty]("box-lines", value, ""); } get boxOrdinalGroup() { return this[S$.$getPropertyValue]("box-ordinal-group"); } set boxOrdinalGroup(value) { - if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6651, 30, "value"); this[S$.$setProperty]("box-ordinal-group", value, ""); } get boxOrient() { return this[S$.$getPropertyValue]("box-orient"); } set boxOrient(value) { - if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6659, 24, "value"); this[S$.$setProperty]("box-orient", value, ""); } get boxPack() { return this[S$.$getPropertyValue]("box-pack"); } set boxPack(value) { - if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6667, 22, "value"); this[S$.$setProperty]("box-pack", value, ""); } get boxReflect() { return this[S$.$getPropertyValue]("box-reflect"); } set boxReflect(value) { - if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6675, 25, "value"); this[S$.$setProperty]("box-reflect", value, ""); } get boxShadow() { return this[S$.$getPropertyValue]("box-shadow"); } set boxShadow(value) { - if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6683, 24, "value"); this[S$.$setProperty]("box-shadow", value, ""); } get boxSizing() { return this[S$.$getPropertyValue]("box-sizing"); } set boxSizing(value) { - if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6691, 24, "value"); this[S$.$setProperty]("box-sizing", value, ""); } get captionSide() { return this[S$.$getPropertyValue]("caption-side"); } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6699, 26, "value"); this[S$.$setProperty]("caption-side", value, ""); } get clear() { return this[S$.$getPropertyValue]("clear"); } set clear(value) { - if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6707, 20, "value"); this[S$.$setProperty]("clear", value, ""); } get clip() { return this[S$.$getPropertyValue]("clip"); } set clip(value) { - if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6715, 19, "value"); this[S$.$setProperty]("clip", value, ""); } get clipPath() { return this[S$.$getPropertyValue]("clip-path"); } set clipPath(value) { - if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6723, 23, "value"); this[S$.$setProperty]("clip-path", value, ""); } get color() { return this[S$.$getPropertyValue]("color"); } set color(value) { - if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6731, 20, "value"); this[S$.$setProperty]("color", value, ""); } get columnBreakAfter() { return this[S$.$getPropertyValue]("column-break-after"); } set columnBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6739, 31, "value"); this[S$.$setProperty]("column-break-after", value, ""); } get columnBreakBefore() { return this[S$.$getPropertyValue]("column-break-before"); } set columnBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6747, 32, "value"); this[S$.$setProperty]("column-break-before", value, ""); } get columnBreakInside() { return this[S$.$getPropertyValue]("column-break-inside"); } set columnBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + if (value == null) dart.nullFailed(I[149], 6755, 32, "value"); this[S$.$setProperty]("column-break-inside", value, ""); } get columnCount() { return this[S$.$getPropertyValue]("column-count"); } set columnCount(value) { - if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6763, 26, "value"); this[S$.$setProperty]("column-count", value, ""); } get columnFill() { return this[S$.$getPropertyValue]("column-fill"); } set columnFill(value) { - if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6771, 25, "value"); this[S$.$setProperty]("column-fill", value, ""); } get columnGap() { return this[S$.$getPropertyValue]("column-gap"); } set columnGap(value) { - if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6779, 24, "value"); this[S$.$setProperty]("column-gap", value, ""); } get columnRule() { return this[S$.$getPropertyValue]("column-rule"); } set columnRule(value) { - if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6787, 25, "value"); this[S$.$setProperty]("column-rule", value, ""); } get columnRuleColor() { return this[S$.$getPropertyValue]("column-rule-color"); } set columnRuleColor(value) { - if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6795, 30, "value"); this[S$.$setProperty]("column-rule-color", value, ""); } get columnRuleStyle() { return this[S$.$getPropertyValue]("column-rule-style"); } set columnRuleStyle(value) { - if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6803, 30, "value"); this[S$.$setProperty]("column-rule-style", value, ""); } get columnRuleWidth() { return this[S$.$getPropertyValue]("column-rule-width"); } set columnRuleWidth(value) { - if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + if (value == null) dart.nullFailed(I[149], 6811, 30, "value"); this[S$.$setProperty]("column-rule-width", value, ""); } get columnSpan() { return this[S$.$getPropertyValue]("column-span"); } set columnSpan(value) { - if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6819, 25, "value"); this[S$.$setProperty]("column-span", value, ""); } get columnWidth() { return this[S$.$getPropertyValue]("column-width"); } set columnWidth(value) { - if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6827, 26, "value"); this[S$.$setProperty]("column-width", value, ""); } get columns() { return this[S$.$getPropertyValue]("columns"); } set columns(value) { - if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6835, 22, "value"); this[S$.$setProperty]("columns", value, ""); } get content() { return this[S$.$getPropertyValue]("content"); } set content(value) { - if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6843, 22, "value"); this[S$.$setProperty]("content", value, ""); } get counterIncrement() { return this[S$.$getPropertyValue]("counter-increment"); } set counterIncrement(value) { - if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + if (value == null) dart.nullFailed(I[149], 6851, 31, "value"); this[S$.$setProperty]("counter-increment", value, ""); } get counterReset() { return this[S$.$getPropertyValue]("counter-reset"); } set counterReset(value) { - if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + if (value == null) dart.nullFailed(I[149], 6859, 27, "value"); this[S$.$setProperty]("counter-reset", value, ""); } get cursor() { return this[S$.$getPropertyValue]("cursor"); } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6867, 21, "value"); this[S$.$setProperty]("cursor", value, ""); } get direction() { return this[S$.$getPropertyValue]("direction"); } set direction(value) { - if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6875, 24, "value"); this[S$.$setProperty]("direction", value, ""); } get display() { return this[S$.$getPropertyValue]("display"); } set display(value) { - if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + if (value == null) dart.nullFailed(I[149], 6883, 22, "value"); this[S$.$setProperty]("display", value, ""); } get emptyCells() { return this[S$.$getPropertyValue]("empty-cells"); } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6891, 25, "value"); this[S$.$setProperty]("empty-cells", value, ""); } get filter() { return this[S$.$getPropertyValue]("filter"); } set filter(value) { - if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + if (value == null) dart.nullFailed(I[149], 6899, 21, "value"); this[S$.$setProperty]("filter", value, ""); } get flex() { return this[S$.$getPropertyValue]("flex"); } set flex(value) { - if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6907, 19, "value"); this[S$.$setProperty]("flex", value, ""); } get flexBasis() { return this[S$.$getPropertyValue]("flex-basis"); } set flexBasis(value) { - if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + if (value == null) dart.nullFailed(I[149], 6915, 24, "value"); this[S$.$setProperty]("flex-basis", value, ""); } get flexDirection() { return this[S$.$getPropertyValue]("flex-direction"); } set flexDirection(value) { - if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + if (value == null) dart.nullFailed(I[149], 6923, 28, "value"); this[S$.$setProperty]("flex-direction", value, ""); } get flexFlow() { return this[S$.$getPropertyValue]("flex-flow"); } set flexFlow(value) { - if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6931, 23, "value"); this[S$.$setProperty]("flex-flow", value, ""); } get flexGrow() { return this[S$.$getPropertyValue]("flex-grow"); } set flexGrow(value) { - if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6939, 23, "value"); this[S$.$setProperty]("flex-grow", value, ""); } get flexShrink() { return this[S$.$getPropertyValue]("flex-shrink"); } set flexShrink(value) { - if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6947, 25, "value"); this[S$.$setProperty]("flex-shrink", value, ""); } get flexWrap() { return this[S$.$getPropertyValue]("flex-wrap"); } set flexWrap(value) { - if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + if (value == null) dart.nullFailed(I[149], 6955, 23, "value"); this[S$.$setProperty]("flex-wrap", value, ""); } get float() { return this[S$.$getPropertyValue]("float"); } set float(value) { - if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + if (value == null) dart.nullFailed(I[149], 6963, 20, "value"); this[S$.$setProperty]("float", value, ""); } get font() { return this[S$.$getPropertyValue]("font"); } set font(value) { - if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + if (value == null) dart.nullFailed(I[149], 6971, 19, "value"); this[S$.$setProperty]("font", value, ""); } get fontFamily() { return this[S$.$getPropertyValue]("font-family"); } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + if (value == null) dart.nullFailed(I[149], 6979, 25, "value"); this[S$.$setProperty]("font-family", value, ""); } get fontFeatureSettings() { return this[S$.$getPropertyValue]("font-feature-settings"); } set fontFeatureSettings(value) { - if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + if (value == null) dart.nullFailed(I[149], 6987, 34, "value"); this[S$.$setProperty]("font-feature-settings", value, ""); } get fontKerning() { return this[S$.$getPropertyValue]("font-kerning"); } set fontKerning(value) { - if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + if (value == null) dart.nullFailed(I[149], 6995, 26, "value"); this[S$.$setProperty]("font-kerning", value, ""); } get fontSize() { return this[S$.$getPropertyValue]("font-size"); } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7003, 23, "value"); this[S$.$setProperty]("font-size", value, ""); } get fontSizeDelta() { return this[S$.$getPropertyValue]("font-size-delta"); } set fontSizeDelta(value) { - if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7011, 28, "value"); this[S$.$setProperty]("font-size-delta", value, ""); } get fontSmoothing() { return this[S$.$getPropertyValue]("font-smoothing"); } set fontSmoothing(value) { - if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7019, 28, "value"); this[S$.$setProperty]("font-smoothing", value, ""); } get fontStretch() { return this[S$.$getPropertyValue]("font-stretch"); } set fontStretch(value) { - if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7027, 26, "value"); this[S$.$setProperty]("font-stretch", value, ""); } get fontStyle() { return this[S$.$getPropertyValue]("font-style"); } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7035, 24, "value"); this[S$.$setProperty]("font-style", value, ""); } get fontVariant() { return this[S$.$getPropertyValue]("font-variant"); } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7043, 26, "value"); this[S$.$setProperty]("font-variant", value, ""); } get fontVariantLigatures() { return this[S$.$getPropertyValue]("font-variant-ligatures"); } set fontVariantLigatures(value) { - if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7051, 35, "value"); this[S$.$setProperty]("font-variant-ligatures", value, ""); } get fontWeight() { return this[S$.$getPropertyValue]("font-weight"); } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7059, 25, "value"); this[S$.$setProperty]("font-weight", value, ""); } + get gap() { + return this[S$.$getPropertyValue]("gap"); + } + set gap(value) { + if (value == null) dart.nullFailed(I[149], 7067, 18, "value"); + this[S$.$setProperty]("gap", value, ""); + } get grid() { return this[S$.$getPropertyValue]("grid"); } set grid(value) { - if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7075, 19, "value"); this[S$.$setProperty]("grid", value, ""); } get gridArea() { return this[S$.$getPropertyValue]("grid-area"); } set gridArea(value) { - if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7083, 23, "value"); this[S$.$setProperty]("grid-area", value, ""); } get gridAutoColumns() { return this[S$.$getPropertyValue]("grid-auto-columns"); } set gridAutoColumns(value) { - if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7091, 30, "value"); this[S$.$setProperty]("grid-auto-columns", value, ""); } get gridAutoFlow() { return this[S$.$getPropertyValue]("grid-auto-flow"); } set gridAutoFlow(value) { - if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7099, 27, "value"); this[S$.$setProperty]("grid-auto-flow", value, ""); } get gridAutoRows() { return this[S$.$getPropertyValue]("grid-auto-rows"); } set gridAutoRows(value) { - if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7107, 27, "value"); this[S$.$setProperty]("grid-auto-rows", value, ""); } get gridColumn() { return this[S$.$getPropertyValue]("grid-column"); } set gridColumn(value) { - if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7115, 25, "value"); this[S$.$setProperty]("grid-column", value, ""); } get gridColumnEnd() { return this[S$.$getPropertyValue]("grid-column-end"); } set gridColumnEnd(value) { - if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7123, 28, "value"); this[S$.$setProperty]("grid-column-end", value, ""); } get gridColumnStart() { return this[S$.$getPropertyValue]("grid-column-start"); } set gridColumnStart(value) { - if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7131, 30, "value"); this[S$.$setProperty]("grid-column-start", value, ""); } get gridRow() { return this[S$.$getPropertyValue]("grid-row"); } set gridRow(value) { - if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7139, 22, "value"); this[S$.$setProperty]("grid-row", value, ""); } get gridRowEnd() { return this[S$.$getPropertyValue]("grid-row-end"); } set gridRowEnd(value) { - if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7147, 25, "value"); this[S$.$setProperty]("grid-row-end", value, ""); } get gridRowStart() { return this[S$.$getPropertyValue]("grid-row-start"); } set gridRowStart(value) { - if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7155, 27, "value"); this[S$.$setProperty]("grid-row-start", value, ""); } get gridTemplate() { return this[S$.$getPropertyValue]("grid-template"); } set gridTemplate(value) { - if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7163, 27, "value"); this[S$.$setProperty]("grid-template", value, ""); } get gridTemplateAreas() { return this[S$.$getPropertyValue]("grid-template-areas"); } set gridTemplateAreas(value) { - if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7171, 32, "value"); this[S$.$setProperty]("grid-template-areas", value, ""); } get gridTemplateColumns() { return this[S$.$getPropertyValue]("grid-template-columns"); } set gridTemplateColumns(value) { - if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7179, 34, "value"); this[S$.$setProperty]("grid-template-columns", value, ""); } get gridTemplateRows() { return this[S$.$getPropertyValue]("grid-template-rows"); } set gridTemplateRows(value) { - if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7187, 31, "value"); this[S$.$setProperty]("grid-template-rows", value, ""); } get height() { return this[S$.$getPropertyValue]("height"); } set height(value) { - if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7195, 21, "value"); this[S$.$setProperty]("height", value, ""); } get highlight() { return this[S$.$getPropertyValue]("highlight"); } set highlight(value) { - if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7203, 24, "value"); this[S$.$setProperty]("highlight", value, ""); } get hyphenateCharacter() { return this[S$.$getPropertyValue]("hyphenate-character"); } set hyphenateCharacter(value) { - if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7211, 33, "value"); this[S$.$setProperty]("hyphenate-character", value, ""); } get imageRendering() { return this[S$.$getPropertyValue]("image-rendering"); } set imageRendering(value) { - if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7219, 29, "value"); this[S$.$setProperty]("image-rendering", value, ""); } get isolation() { return this[S$.$getPropertyValue]("isolation"); } set isolation(value) { - if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7227, 24, "value"); this[S$.$setProperty]("isolation", value, ""); } get justifyContent() { return this[S$.$getPropertyValue]("justify-content"); } set justifyContent(value) { - if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7235, 29, "value"); this[S$.$setProperty]("justify-content", value, ""); } get justifySelf() { return this[S$.$getPropertyValue]("justify-self"); } set justifySelf(value) { - if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7243, 26, "value"); this[S$.$setProperty]("justify-self", value, ""); } get left() { return this[S$.$getPropertyValue]("left"); } set left(value) { - if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7251, 19, "value"); this[S$.$setProperty]("left", value, ""); } get letterSpacing() { return this[S$.$getPropertyValue]("letter-spacing"); } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7259, 28, "value"); this[S$.$setProperty]("letter-spacing", value, ""); } get lineBoxContain() { return this[S$.$getPropertyValue]("line-box-contain"); } set lineBoxContain(value) { - if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7267, 29, "value"); this[S$.$setProperty]("line-box-contain", value, ""); } get lineBreak() { return this[S$.$getPropertyValue]("line-break"); } set lineBreak(value) { - if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7275, 24, "value"); this[S$.$setProperty]("line-break", value, ""); } get lineClamp() { return this[S$.$getPropertyValue]("line-clamp"); } set lineClamp(value) { - if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7283, 24, "value"); this[S$.$setProperty]("line-clamp", value, ""); } get lineHeight() { return this[S$.$getPropertyValue]("line-height"); } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7291, 25, "value"); this[S$.$setProperty]("line-height", value, ""); } get listStyle() { return this[S$.$getPropertyValue]("list-style"); } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7299, 24, "value"); this[S$.$setProperty]("list-style", value, ""); } get listStyleImage() { return this[S$.$getPropertyValue]("list-style-image"); } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7307, 29, "value"); this[S$.$setProperty]("list-style-image", value, ""); } get listStylePosition() { return this[S$.$getPropertyValue]("list-style-position"); } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7315, 32, "value"); this[S$.$setProperty]("list-style-position", value, ""); } get listStyleType() { return this[S$.$getPropertyValue]("list-style-type"); } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7323, 28, "value"); this[S$.$setProperty]("list-style-type", value, ""); } get locale() { return this[S$.$getPropertyValue]("locale"); } set locale(value) { - if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7331, 21, "value"); this[S$.$setProperty]("locale", value, ""); } get logicalHeight() { return this[S$.$getPropertyValue]("logical-height"); } set logicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7339, 28, "value"); this[S$.$setProperty]("logical-height", value, ""); } get logicalWidth() { return this[S$.$getPropertyValue]("logical-width"); } set logicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7347, 27, "value"); this[S$.$setProperty]("logical-width", value, ""); } get margin() { return this[S$.$getPropertyValue]("margin"); } set margin(value) { - if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7355, 21, "value"); this[S$.$setProperty]("margin", value, ""); } get marginAfter() { return this[S$.$getPropertyValue]("margin-after"); } set marginAfter(value) { - if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7363, 26, "value"); this[S$.$setProperty]("margin-after", value, ""); } get marginAfterCollapse() { return this[S$.$getPropertyValue]("margin-after-collapse"); } set marginAfterCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + if (value == null) dart.nullFailed(I[149], 7371, 34, "value"); this[S$.$setProperty]("margin-after-collapse", value, ""); } get marginBefore() { return this[S$.$getPropertyValue]("margin-before"); } set marginBefore(value) { - if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7379, 27, "value"); this[S$.$setProperty]("margin-before", value, ""); } get marginBeforeCollapse() { return this[S$.$getPropertyValue]("margin-before-collapse"); } set marginBeforeCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7387, 35, "value"); this[S$.$setProperty]("margin-before-collapse", value, ""); } get marginBottom() { return this[S$.$getPropertyValue]("margin-bottom"); } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7395, 27, "value"); this[S$.$setProperty]("margin-bottom", value, ""); } get marginBottomCollapse() { return this[S$.$getPropertyValue]("margin-bottom-collapse"); } set marginBottomCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + if (value == null) dart.nullFailed(I[149], 7403, 35, "value"); this[S$.$setProperty]("margin-bottom-collapse", value, ""); } get marginCollapse() { return this[S$.$getPropertyValue]("margin-collapse"); } set marginCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7411, 29, "value"); this[S$.$setProperty]("margin-collapse", value, ""); } get marginEnd() { return this[S$.$getPropertyValue]("margin-end"); } set marginEnd(value) { - if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7419, 24, "value"); this[S$.$setProperty]("margin-end", value, ""); } get marginLeft() { return this[S$.$getPropertyValue]("margin-left"); } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7427, 25, "value"); this[S$.$setProperty]("margin-left", value, ""); } get marginRight() { return this[S$.$getPropertyValue]("margin-right"); } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7435, 26, "value"); this[S$.$setProperty]("margin-right", value, ""); } get marginStart() { return this[S$.$getPropertyValue]("margin-start"); } set marginStart(value) { - if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7443, 26, "value"); this[S$.$setProperty]("margin-start", value, ""); } get marginTop() { return this[S$.$getPropertyValue]("margin-top"); } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7451, 24, "value"); this[S$.$setProperty]("margin-top", value, ""); } get marginTopCollapse() { return this[S$.$getPropertyValue]("margin-top-collapse"); } set marginTopCollapse(value) { - if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7459, 32, "value"); this[S$.$setProperty]("margin-top-collapse", value, ""); } get mask() { return this[S$.$getPropertyValue]("mask"); } set mask(value) { - if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7467, 19, "value"); this[S$.$setProperty]("mask", value, ""); } get maskBoxImage() { return this[S$.$getPropertyValue]("mask-box-image"); } set maskBoxImage(value) { - if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7475, 27, "value"); this[S$.$setProperty]("mask-box-image", value, ""); } get maskBoxImageOutset() { return this[S$.$getPropertyValue]("mask-box-image-outset"); } set maskBoxImageOutset(value) { - if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7483, 33, "value"); this[S$.$setProperty]("mask-box-image-outset", value, ""); } get maskBoxImageRepeat() { return this[S$.$getPropertyValue]("mask-box-image-repeat"); } set maskBoxImageRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7491, 33, "value"); this[S$.$setProperty]("mask-box-image-repeat", value, ""); } get maskBoxImageSlice() { return this[S$.$getPropertyValue]("mask-box-image-slice"); } set maskBoxImageSlice(value) { - if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7499, 32, "value"); this[S$.$setProperty]("mask-box-image-slice", value, ""); } get maskBoxImageSource() { return this[S$.$getPropertyValue]("mask-box-image-source"); } set maskBoxImageSource(value) { - if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7507, 33, "value"); this[S$.$setProperty]("mask-box-image-source", value, ""); } get maskBoxImageWidth() { return this[S$.$getPropertyValue]("mask-box-image-width"); } set maskBoxImageWidth(value) { - if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7515, 32, "value"); this[S$.$setProperty]("mask-box-image-width", value, ""); } get maskClip() { return this[S$.$getPropertyValue]("mask-clip"); } set maskClip(value) { - if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7523, 23, "value"); this[S$.$setProperty]("mask-clip", value, ""); } get maskComposite() { return this[S$.$getPropertyValue]("mask-composite"); } set maskComposite(value) { - if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7531, 28, "value"); this[S$.$setProperty]("mask-composite", value, ""); } get maskImage() { return this[S$.$getPropertyValue]("mask-image"); } set maskImage(value) { - if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7539, 24, "value"); this[S$.$setProperty]("mask-image", value, ""); } get maskOrigin() { return this[S$.$getPropertyValue]("mask-origin"); } set maskOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7547, 25, "value"); this[S$.$setProperty]("mask-origin", value, ""); } get maskPosition() { return this[S$.$getPropertyValue]("mask-position"); } set maskPosition(value) { - if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7555, 27, "value"); this[S$.$setProperty]("mask-position", value, ""); } get maskPositionX() { return this[S$.$getPropertyValue]("mask-position-x"); } set maskPositionX(value) { - if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7563, 28, "value"); this[S$.$setProperty]("mask-position-x", value, ""); } get maskPositionY() { return this[S$.$getPropertyValue]("mask-position-y"); } set maskPositionY(value) { - if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7571, 28, "value"); this[S$.$setProperty]("mask-position-y", value, ""); } get maskRepeat() { return this[S$.$getPropertyValue]("mask-repeat"); } set maskRepeat(value) { - if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7579, 25, "value"); this[S$.$setProperty]("mask-repeat", value, ""); } get maskRepeatX() { return this[S$.$getPropertyValue]("mask-repeat-x"); } set maskRepeatX(value) { - if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7587, 26, "value"); this[S$.$setProperty]("mask-repeat-x", value, ""); } get maskRepeatY() { return this[S$.$getPropertyValue]("mask-repeat-y"); } set maskRepeatY(value) { - if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7595, 26, "value"); this[S$.$setProperty]("mask-repeat-y", value, ""); } get maskSize() { return this[S$.$getPropertyValue]("mask-size"); } set maskSize(value) { - if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7603, 23, "value"); this[S$.$setProperty]("mask-size", value, ""); } get maskSourceType() { return this[S$.$getPropertyValue]("mask-source-type"); } set maskSourceType(value) { - if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7611, 29, "value"); this[S$.$setProperty]("mask-source-type", value, ""); } get maxHeight() { return this[S$.$getPropertyValue]("max-height"); } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7619, 24, "value"); this[S$.$setProperty]("max-height", value, ""); } get maxLogicalHeight() { return this[S$.$getPropertyValue]("max-logical-height"); } set maxLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7627, 31, "value"); this[S$.$setProperty]("max-logical-height", value, ""); } get maxLogicalWidth() { return this[S$.$getPropertyValue]("max-logical-width"); } set maxLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7635, 30, "value"); this[S$.$setProperty]("max-logical-width", value, ""); } get maxWidth() { return this[S$.$getPropertyValue]("max-width"); } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7643, 23, "value"); this[S$.$setProperty]("max-width", value, ""); } get maxZoom() { return this[S$.$getPropertyValue]("max-zoom"); } set maxZoom(value) { - if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7651, 22, "value"); this[S$.$setProperty]("max-zoom", value, ""); } get minHeight() { return this[S$.$getPropertyValue]("min-height"); } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7659, 24, "value"); this[S$.$setProperty]("min-height", value, ""); } get minLogicalHeight() { return this[S$.$getPropertyValue]("min-logical-height"); } set minLogicalHeight(value) { - if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7667, 31, "value"); this[S$.$setProperty]("min-logical-height", value, ""); } get minLogicalWidth() { return this[S$.$getPropertyValue]("min-logical-width"); } set minLogicalWidth(value) { - if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7675, 30, "value"); this[S$.$setProperty]("min-logical-width", value, ""); } get minWidth() { return this[S$.$getPropertyValue]("min-width"); } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7683, 23, "value"); this[S$.$setProperty]("min-width", value, ""); } get minZoom() { return this[S$.$getPropertyValue]("min-zoom"); } set minZoom(value) { - if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7691, 22, "value"); this[S$.$setProperty]("min-zoom", value, ""); } get mixBlendMode() { return this[S$.$getPropertyValue]("mix-blend-mode"); } set mixBlendMode(value) { - if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7699, 27, "value"); this[S$.$setProperty]("mix-blend-mode", value, ""); } get objectFit() { return this[S$.$getPropertyValue]("object-fit"); } set objectFit(value) { - if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7707, 24, "value"); this[S$.$setProperty]("object-fit", value, ""); } get objectPosition() { return this[S$.$getPropertyValue]("object-position"); } set objectPosition(value) { - if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7715, 29, "value"); this[S$.$setProperty]("object-position", value, ""); } get opacity() { return this[S$.$getPropertyValue]("opacity"); } set opacity(value) { - if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7723, 22, "value"); this[S$.$setProperty]("opacity", value, ""); } get order() { return this[S$.$getPropertyValue]("order"); } set order(value) { - if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + if (value == null) dart.nullFailed(I[149], 7731, 20, "value"); this[S$.$setProperty]("order", value, ""); } get orientation() { return this[S$.$getPropertyValue]("orientation"); } set orientation(value) { - if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7739, 26, "value"); this[S$.$setProperty]("orientation", value, ""); } get orphans() { return this[S$.$getPropertyValue]("orphans"); } set orphans(value) { - if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7747, 22, "value"); this[S$.$setProperty]("orphans", value, ""); } get outline() { return this[S$.$getPropertyValue]("outline"); } set outline(value) { - if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7755, 22, "value"); this[S$.$setProperty]("outline", value, ""); } get outlineColor() { return this[S$.$getPropertyValue]("outline-color"); } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7763, 27, "value"); this[S$.$setProperty]("outline-color", value, ""); } get outlineOffset() { return this[S$.$getPropertyValue]("outline-offset"); } set outlineOffset(value) { - if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7771, 28, "value"); this[S$.$setProperty]("outline-offset", value, ""); } get outlineStyle() { return this[S$.$getPropertyValue]("outline-style"); } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7779, 27, "value"); this[S$.$setProperty]("outline-style", value, ""); } get outlineWidth() { return this[S$.$getPropertyValue]("outline-width"); } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7787, 27, "value"); this[S$.$setProperty]("outline-width", value, ""); } get overflow() { return this[S$.$getPropertyValue]("overflow"); } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7795, 23, "value"); this[S$.$setProperty]("overflow", value, ""); } get overflowWrap() { return this[S$.$getPropertyValue]("overflow-wrap"); } set overflowWrap(value) { - if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7803, 27, "value"); this[S$.$setProperty]("overflow-wrap", value, ""); } get overflowX() { return this[S$.$getPropertyValue]("overflow-x"); } set overflowX(value) { - if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7811, 24, "value"); this[S$.$setProperty]("overflow-x", value, ""); } get overflowY() { return this[S$.$getPropertyValue]("overflow-y"); } set overflowY(value) { - if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + if (value == null) dart.nullFailed(I[149], 7819, 24, "value"); this[S$.$setProperty]("overflow-y", value, ""); } get padding() { return this[S$.$getPropertyValue]("padding"); } set padding(value) { - if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + if (value == null) dart.nullFailed(I[149], 7827, 22, "value"); this[S$.$setProperty]("padding", value, ""); } get paddingAfter() { return this[S$.$getPropertyValue]("padding-after"); } set paddingAfter(value) { - if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7835, 27, "value"); this[S$.$setProperty]("padding-after", value, ""); } get paddingBefore() { return this[S$.$getPropertyValue]("padding-before"); } set paddingBefore(value) { - if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7843, 28, "value"); this[S$.$setProperty]("padding-before", value, ""); } get paddingBottom() { return this[S$.$getPropertyValue]("padding-bottom"); } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7851, 28, "value"); this[S$.$setProperty]("padding-bottom", value, ""); } get paddingEnd() { return this[S$.$getPropertyValue]("padding-end"); } set paddingEnd(value) { - if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7859, 25, "value"); this[S$.$setProperty]("padding-end", value, ""); } get paddingLeft() { return this[S$.$getPropertyValue]("padding-left"); } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7867, 26, "value"); this[S$.$setProperty]("padding-left", value, ""); } get paddingRight() { return this[S$.$getPropertyValue]("padding-right"); } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7875, 27, "value"); this[S$.$setProperty]("padding-right", value, ""); } get paddingStart() { return this[S$.$getPropertyValue]("padding-start"); } set paddingStart(value) { - if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + if (value == null) dart.nullFailed(I[149], 7883, 27, "value"); this[S$.$setProperty]("padding-start", value, ""); } get paddingTop() { return this[S$.$getPropertyValue]("padding-top"); } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + if (value == null) dart.nullFailed(I[149], 7891, 25, "value"); this[S$.$setProperty]("padding-top", value, ""); } get page() { return this[S$.$getPropertyValue]("page"); } set page(value) { - if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + if (value == null) dart.nullFailed(I[149], 7899, 19, "value"); this[S$.$setProperty]("page", value, ""); } get pageBreakAfter() { return this[S$.$getPropertyValue]("page-break-after"); } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + if (value == null) dart.nullFailed(I[149], 7907, 29, "value"); this[S$.$setProperty]("page-break-after", value, ""); } get pageBreakBefore() { return this[S$.$getPropertyValue]("page-break-before"); } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7915, 30, "value"); this[S$.$setProperty]("page-break-before", value, ""); } get pageBreakInside() { return this[S$.$getPropertyValue]("page-break-inside"); } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + if (value == null) dart.nullFailed(I[149], 7923, 30, "value"); this[S$.$setProperty]("page-break-inside", value, ""); } get perspective() { return this[S$.$getPropertyValue]("perspective"); } set perspective(value) { - if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + if (value == null) dart.nullFailed(I[149], 7931, 26, "value"); this[S$.$setProperty]("perspective", value, ""); } get perspectiveOrigin() { return this[S$.$getPropertyValue]("perspective-origin"); } set perspectiveOrigin(value) { - if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + if (value == null) dart.nullFailed(I[149], 7939, 32, "value"); this[S$.$setProperty]("perspective-origin", value, ""); } get perspectiveOriginX() { return this[S$.$getPropertyValue]("perspective-origin-x"); } set perspectiveOriginX(value) { - if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7947, 33, "value"); this[S$.$setProperty]("perspective-origin-x", value, ""); } get perspectiveOriginY() { return this[S$.$getPropertyValue]("perspective-origin-y"); } set perspectiveOriginY(value) { - if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + if (value == null) dart.nullFailed(I[149], 7955, 33, "value"); this[S$.$setProperty]("perspective-origin-y", value, ""); } get pointerEvents() { return this[S$.$getPropertyValue]("pointer-events"); } set pointerEvents(value) { - if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + if (value == null) dart.nullFailed(I[149], 7963, 28, "value"); this[S$.$setProperty]("pointer-events", value, ""); } get position() { return this[S$.$getPropertyValue]("position"); } set position(value) { - if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + if (value == null) dart.nullFailed(I[149], 7971, 23, "value"); this[S$.$setProperty]("position", value, ""); } get printColorAdjust() { return this[S$.$getPropertyValue]("print-color-adjust"); } set printColorAdjust(value) { - if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + if (value == null) dart.nullFailed(I[149], 7979, 31, "value"); this[S$.$setProperty]("print-color-adjust", value, ""); } get quotes() { return this[S$.$getPropertyValue]("quotes"); } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7987, 21, "value"); this[S$.$setProperty]("quotes", value, ""); } get resize() { return this[S$.$getPropertyValue]("resize"); } set resize(value) { - if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + if (value == null) dart.nullFailed(I[149], 7995, 21, "value"); this[S$.$setProperty]("resize", value, ""); } get right() { return this[S$.$getPropertyValue]("right"); } set right(value) { - if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8003, 20, "value"); this[S$.$setProperty]("right", value, ""); } + get rowGap() { + return this[S$.$getPropertyValue]("row-gap"); + } + set rowGap(value) { + if (value == null) dart.nullFailed(I[149], 8011, 21, "value"); + this[S$.$setProperty]("row-gap", value, ""); + } get rtlOrdering() { return this[S$.$getPropertyValue]("rtl-ordering"); } set rtlOrdering(value) { - if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8019, 26, "value"); this[S$.$setProperty]("rtl-ordering", value, ""); } get rubyPosition() { return this[S$.$getPropertyValue]("ruby-position"); } set rubyPosition(value) { - if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8027, 27, "value"); this[S$.$setProperty]("ruby-position", value, ""); } get scrollBehavior() { return this[S$.$getPropertyValue]("scroll-behavior"); } set scrollBehavior(value) { - if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8035, 29, "value"); this[S$.$setProperty]("scroll-behavior", value, ""); } get shapeImageThreshold() { return this[S$.$getPropertyValue]("shape-image-threshold"); } set shapeImageThreshold(value) { - if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8043, 34, "value"); this[S$.$setProperty]("shape-image-threshold", value, ""); } get shapeMargin() { return this[S$.$getPropertyValue]("shape-margin"); } set shapeMargin(value) { - if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8051, 26, "value"); this[S$.$setProperty]("shape-margin", value, ""); } get shapeOutside() { return this[S$.$getPropertyValue]("shape-outside"); } set shapeOutside(value) { - if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8059, 27, "value"); this[S$.$setProperty]("shape-outside", value, ""); } get size() { return this[S$.$getPropertyValue]("size"); } set size(value) { - if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8067, 19, "value"); this[S$.$setProperty]("size", value, ""); } get speak() { return this[S$.$getPropertyValue]("speak"); } set speak(value) { - if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8075, 20, "value"); this[S$.$setProperty]("speak", value, ""); } get src() { return this[S$.$getPropertyValue]("src"); } set src(value) { - if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8083, 18, "value"); this[S$.$setProperty]("src", value, ""); } get tabSize() { return this[S$.$getPropertyValue]("tab-size"); } set tabSize(value) { - if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + if (value == null) dart.nullFailed(I[149], 8091, 22, "value"); this[S$.$setProperty]("tab-size", value, ""); } get tableLayout() { return this[S$.$getPropertyValue]("table-layout"); } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8099, 26, "value"); this[S$.$setProperty]("table-layout", value, ""); } get tapHighlightColor() { return this[S$.$getPropertyValue]("tap-highlight-color"); } set tapHighlightColor(value) { - if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8107, 32, "value"); this[S$.$setProperty]("tap-highlight-color", value, ""); } get textAlign() { return this[S$.$getPropertyValue]("text-align"); } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8115, 24, "value"); this[S$.$setProperty]("text-align", value, ""); } get textAlignLast() { return this[S$.$getPropertyValue]("text-align-last"); } set textAlignLast(value) { - if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8123, 28, "value"); this[S$.$setProperty]("text-align-last", value, ""); } get textCombine() { return this[S$.$getPropertyValue]("text-combine"); } set textCombine(value) { - if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8131, 26, "value"); this[S$.$setProperty]("text-combine", value, ""); } get textDecoration() { return this[S$.$getPropertyValue]("text-decoration"); } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8139, 29, "value"); this[S$.$setProperty]("text-decoration", value, ""); } get textDecorationColor() { return this[S$.$getPropertyValue]("text-decoration-color"); } set textDecorationColor(value) { - if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8147, 34, "value"); this[S$.$setProperty]("text-decoration-color", value, ""); } get textDecorationLine() { return this[S$.$getPropertyValue]("text-decoration-line"); } set textDecorationLine(value) { - if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8155, 33, "value"); this[S$.$setProperty]("text-decoration-line", value, ""); } get textDecorationStyle() { return this[S$.$getPropertyValue]("text-decoration-style"); } set textDecorationStyle(value) { - if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8163, 34, "value"); this[S$.$setProperty]("text-decoration-style", value, ""); } get textDecorationsInEffect() { return this[S$.$getPropertyValue]("text-decorations-in-effect"); } set textDecorationsInEffect(value) { - if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + if (value == null) dart.nullFailed(I[149], 8172, 38, "value"); this[S$.$setProperty]("text-decorations-in-effect", value, ""); } get textEmphasis() { return this[S$.$getPropertyValue]("text-emphasis"); } set textEmphasis(value) { - if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8180, 27, "value"); this[S$.$setProperty]("text-emphasis", value, ""); } get textEmphasisColor() { return this[S$.$getPropertyValue]("text-emphasis-color"); } set textEmphasisColor(value) { - if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8188, 32, "value"); this[S$.$setProperty]("text-emphasis-color", value, ""); } get textEmphasisPosition() { return this[S$.$getPropertyValue]("text-emphasis-position"); } set textEmphasisPosition(value) { - if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8196, 35, "value"); this[S$.$setProperty]("text-emphasis-position", value, ""); } get textEmphasisStyle() { return this[S$.$getPropertyValue]("text-emphasis-style"); } set textEmphasisStyle(value) { - if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8204, 32, "value"); this[S$.$setProperty]("text-emphasis-style", value, ""); } get textFillColor() { return this[S$.$getPropertyValue]("text-fill-color"); } set textFillColor(value) { - if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8212, 28, "value"); this[S$.$setProperty]("text-fill-color", value, ""); } get textIndent() { return this[S$.$getPropertyValue]("text-indent"); } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8220, 25, "value"); this[S$.$setProperty]("text-indent", value, ""); } get textJustify() { return this[S$.$getPropertyValue]("text-justify"); } set textJustify(value) { - if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8228, 26, "value"); this[S$.$setProperty]("text-justify", value, ""); } get textLineThroughColor() { return this[S$.$getPropertyValue]("text-line-through-color"); } set textLineThroughColor(value) { - if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8237, 35, "value"); this[S$.$setProperty]("text-line-through-color", value, ""); } get textLineThroughMode() { return this[S$.$getPropertyValue]("text-line-through-mode"); } set textLineThroughMode(value) { - if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + if (value == null) dart.nullFailed(I[149], 8245, 34, "value"); this[S$.$setProperty]("text-line-through-mode", value, ""); } get textLineThroughStyle() { return this[S$.$getPropertyValue]("text-line-through-style"); } set textLineThroughStyle(value) { - if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8254, 35, "value"); this[S$.$setProperty]("text-line-through-style", value, ""); } get textLineThroughWidth() { return this[S$.$getPropertyValue]("text-line-through-width"); } set textLineThroughWidth(value) { - if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + if (value == null) dart.nullFailed(I[149], 8263, 35, "value"); this[S$.$setProperty]("text-line-through-width", value, ""); } get textOrientation() { return this[S$.$getPropertyValue]("text-orientation"); } set textOrientation(value) { - if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8271, 30, "value"); this[S$.$setProperty]("text-orientation", value, ""); } get textOverflow() { return this[S$.$getPropertyValue]("text-overflow"); } set textOverflow(value) { - if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8279, 27, "value"); this[S$.$setProperty]("text-overflow", value, ""); } get textOverlineColor() { return this[S$.$getPropertyValue]("text-overline-color"); } set textOverlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8287, 32, "value"); this[S$.$setProperty]("text-overline-color", value, ""); } get textOverlineMode() { return this[S$.$getPropertyValue]("text-overline-mode"); } set textOverlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8295, 31, "value"); this[S$.$setProperty]("text-overline-mode", value, ""); } get textOverlineStyle() { return this[S$.$getPropertyValue]("text-overline-style"); } set textOverlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8303, 32, "value"); this[S$.$setProperty]("text-overline-style", value, ""); } get textOverlineWidth() { return this[S$.$getPropertyValue]("text-overline-width"); } set textOverlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8311, 32, "value"); this[S$.$setProperty]("text-overline-width", value, ""); } get textRendering() { return this[S$.$getPropertyValue]("text-rendering"); } set textRendering(value) { - if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8319, 28, "value"); this[S$.$setProperty]("text-rendering", value, ""); } get textSecurity() { return this[S$.$getPropertyValue]("text-security"); } set textSecurity(value) { - if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8327, 27, "value"); this[S$.$setProperty]("text-security", value, ""); } get textShadow() { return this[S$.$getPropertyValue]("text-shadow"); } set textShadow(value) { - if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8335, 25, "value"); this[S$.$setProperty]("text-shadow", value, ""); } get textStroke() { return this[S$.$getPropertyValue]("text-stroke"); } set textStroke(value) { - if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8343, 25, "value"); this[S$.$setProperty]("text-stroke", value, ""); } get textStrokeColor() { return this[S$.$getPropertyValue]("text-stroke-color"); } set textStrokeColor(value) { - if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8351, 30, "value"); this[S$.$setProperty]("text-stroke-color", value, ""); } get textStrokeWidth() { return this[S$.$getPropertyValue]("text-stroke-width"); } set textStrokeWidth(value) { - if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8359, 30, "value"); this[S$.$setProperty]("text-stroke-width", value, ""); } get textTransform() { return this[S$.$getPropertyValue]("text-transform"); } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8367, 28, "value"); this[S$.$setProperty]("text-transform", value, ""); } get textUnderlineColor() { return this[S$.$getPropertyValue]("text-underline-color"); } set textUnderlineColor(value) { - if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8375, 33, "value"); this[S$.$setProperty]("text-underline-color", value, ""); } get textUnderlineMode() { return this[S$.$getPropertyValue]("text-underline-mode"); } set textUnderlineMode(value) { - if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + if (value == null) dart.nullFailed(I[149], 8383, 32, "value"); this[S$.$setProperty]("text-underline-mode", value, ""); } get textUnderlinePosition() { return this[S$.$getPropertyValue]("text-underline-position"); } set textUnderlinePosition(value) { - if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + if (value == null) dart.nullFailed(I[149], 8392, 36, "value"); this[S$.$setProperty]("text-underline-position", value, ""); } get textUnderlineStyle() { return this[S$.$getPropertyValue]("text-underline-style"); } set textUnderlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8400, 33, "value"); this[S$.$setProperty]("text-underline-style", value, ""); } get textUnderlineWidth() { return this[S$.$getPropertyValue]("text-underline-width"); } set textUnderlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8408, 33, "value"); this[S$.$setProperty]("text-underline-width", value, ""); } get top() { return this[S$.$getPropertyValue]("top"); } set top(value) { - if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + if (value == null) dart.nullFailed(I[149], 8416, 18, "value"); this[S$.$setProperty]("top", value, ""); } get touchAction() { return this[S$.$getPropertyValue]("touch-action"); } set touchAction(value) { - if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8424, 26, "value"); this[S$.$setProperty]("touch-action", value, ""); } get touchActionDelay() { return this[S$.$getPropertyValue]("touch-action-delay"); } set touchActionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8432, 31, "value"); this[S$.$setProperty]("touch-action-delay", value, ""); } get transform() { return this[S$.$getPropertyValue]("transform"); } set transform(value) { - if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8440, 24, "value"); this[S$.$setProperty]("transform", value, ""); } get transformOrigin() { return this[S$.$getPropertyValue]("transform-origin"); } set transformOrigin(value) { - if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8448, 30, "value"); this[S$.$setProperty]("transform-origin", value, ""); } get transformOriginX() { return this[S$.$getPropertyValue]("transform-origin-x"); } set transformOriginX(value) { - if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8456, 31, "value"); this[S$.$setProperty]("transform-origin-x", value, ""); } get transformOriginY() { return this[S$.$getPropertyValue]("transform-origin-y"); } set transformOriginY(value) { - if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8464, 31, "value"); this[S$.$setProperty]("transform-origin-y", value, ""); } get transformOriginZ() { return this[S$.$getPropertyValue]("transform-origin-z"); } set transformOriginZ(value) { - if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + if (value == null) dart.nullFailed(I[149], 8472, 31, "value"); this[S$.$setProperty]("transform-origin-z", value, ""); } get transformStyle() { return this[S$.$getPropertyValue]("transform-style"); } set transformStyle(value) { - if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + if (value == null) dart.nullFailed(I[149], 8480, 29, "value"); this[S$.$setProperty]("transform-style", value, ""); } get transition() { return this[S$.$getPropertyValue]("transition"); } set transition(value) { - if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8496, 25, "value"); this[S$.$setProperty]("transition", value, ""); } get transitionDelay() { return this[S$.$getPropertyValue]("transition-delay"); } set transitionDelay(value) { - if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + if (value == null) dart.nullFailed(I[149], 8504, 30, "value"); this[S$.$setProperty]("transition-delay", value, ""); } get transitionDuration() { return this[S$.$getPropertyValue]("transition-duration"); } set transitionDuration(value) { - if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8512, 33, "value"); this[S$.$setProperty]("transition-duration", value, ""); } get transitionProperty() { return this[S$.$getPropertyValue]("transition-property"); } set transitionProperty(value) { - if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + if (value == null) dart.nullFailed(I[149], 8520, 33, "value"); this[S$.$setProperty]("transition-property", value, ""); } get transitionTimingFunction() { return this[S$.$getPropertyValue]("transition-timing-function"); } set transitionTimingFunction(value) { - if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + if (value == null) dart.nullFailed(I[149], 8529, 39, "value"); this[S$.$setProperty]("transition-timing-function", value, ""); } get unicodeBidi() { return this[S$.$getPropertyValue]("unicode-bidi"); } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8537, 26, "value"); this[S$.$setProperty]("unicode-bidi", value, ""); } get unicodeRange() { return this[S$.$getPropertyValue]("unicode-range"); } set unicodeRange(value) { - if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + if (value == null) dart.nullFailed(I[149], 8545, 27, "value"); this[S$.$setProperty]("unicode-range", value, ""); } get userDrag() { return this[S$.$getPropertyValue]("user-drag"); } set userDrag(value) { - if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8553, 23, "value"); this[S$.$setProperty]("user-drag", value, ""); } get userModify() { return this[S$.$getPropertyValue]("user-modify"); } set userModify(value) { - if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8561, 25, "value"); this[S$.$setProperty]("user-modify", value, ""); } get userSelect() { return this[S$.$getPropertyValue]("user-select"); } set userSelect(value) { - if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8569, 25, "value"); this[S$.$setProperty]("user-select", value, ""); } get userZoom() { return this[S$.$getPropertyValue]("user-zoom"); } set userZoom(value) { - if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8577, 23, "value"); this[S$.$setProperty]("user-zoom", value, ""); } get verticalAlign() { return this[S$.$getPropertyValue]("vertical-align"); } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + if (value == null) dart.nullFailed(I[149], 8585, 28, "value"); this[S$.$setProperty]("vertical-align", value, ""); } get visibility() { return this[S$.$getPropertyValue]("visibility"); } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8593, 25, "value"); this[S$.$setProperty]("visibility", value, ""); } get whiteSpace() { return this[S$.$getPropertyValue]("white-space"); } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8601, 25, "value"); this[S$.$setProperty]("white-space", value, ""); } get widows() { return this[S$.$getPropertyValue]("widows"); } set widows(value) { - if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8609, 21, "value"); this[S$.$setProperty]("widows", value, ""); } get width() { return this[S$.$getPropertyValue]("width"); } set width(value) { - if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + if (value == null) dart.nullFailed(I[149], 8617, 20, "value"); this[S$.$setProperty]("width", value, ""); } get willChange() { return this[S$.$getPropertyValue]("will-change"); } set willChange(value) { - if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + if (value == null) dart.nullFailed(I[149], 8625, 25, "value"); this[S$.$setProperty]("will-change", value, ""); } get wordBreak() { return this[S$.$getPropertyValue]("word-break"); } set wordBreak(value) { - if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + if (value == null) dart.nullFailed(I[149], 8633, 24, "value"); this[S$.$setProperty]("word-break", value, ""); } get wordSpacing() { return this[S$.$getPropertyValue]("word-spacing"); } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8641, 26, "value"); this[S$.$setProperty]("word-spacing", value, ""); } get wordWrap() { return this[S$.$getPropertyValue]("word-wrap"); } set wordWrap(value) { - if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8649, 23, "value"); this[S$.$setProperty]("word-wrap", value, ""); } get wrapFlow() { return this[S$.$getPropertyValue]("wrap-flow"); } set wrapFlow(value) { - if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + if (value == null) dart.nullFailed(I[149], 8657, 23, "value"); this[S$.$setProperty]("wrap-flow", value, ""); } get wrapThrough() { return this[S$.$getPropertyValue]("wrap-through"); } set wrapThrough(value) { - if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8665, 26, "value"); this[S$.$setProperty]("wrap-through", value, ""); } get writingMode() { return this[S$.$getPropertyValue]("writing-mode"); } set writingMode(value) { - if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + if (value == null) dart.nullFailed(I[149], 8673, 26, "value"); this[S$.$setProperty]("writing-mode", value, ""); } get zIndex() { return this[S$.$getPropertyValue]("z-index"); } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + if (value == null) dart.nullFailed(I[149], 8681, 21, "value"); this[S$.$setProperty]("z-index", value, ""); } get zoom() { return this[S$.$getPropertyValue]("zoom"); } set zoom(value) { - if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + if (value == null) dart.nullFailed(I[149], 8689, 19, "value"); this[S$.$setProperty]("zoom", value, ""); } }; @@ -71059,13 +77357,13 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71091,21 +77389,21 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71254,6 +77552,8 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -71488,6 +77788,8 @@ dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -71746,13 +78048,13 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ borderBottomRightRadius: core.String, [S$0.$borderBottomRightRadius]: core.String, borderBottomStyle: core.String, - [S$.$borderBottomStyle]: core.String, + [S$0.$borderBottomStyle]: core.String, borderBottomWidth: core.String, - [S$.$borderBottomWidth]: core.String, + [S$0.$borderBottomWidth]: core.String, borderCollapse: core.String, - [S$.$borderCollapse]: core.String, + [S$0.$borderCollapse]: core.String, borderColor: core.String, - [S$.$borderColor]: core.String, + [S$0.$borderColor]: core.String, borderEnd: core.String, [S$0.$borderEnd]: core.String, borderEndColor: core.String, @@ -71778,21 +78080,21 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ borderImageWidth: core.String, [S$0.$borderImageWidth]: core.String, borderLeft: core.String, - [S$.$borderLeft]: core.String, + [S$0.$borderLeft]: core.String, borderLeftColor: core.String, - [S$.$borderLeftColor]: core.String, + [S$0.$borderLeftColor]: core.String, borderLeftStyle: core.String, - [S$.$borderLeftStyle]: core.String, + [S$0.$borderLeftStyle]: core.String, borderLeftWidth: core.String, - [S$.$borderLeftWidth]: core.String, + [S$0.$borderLeftWidth]: core.String, borderRadius: core.String, [S$0.$borderRadius]: core.String, borderRight: core.String, - [S$.$borderRight]: core.String, + [S$0.$borderRight]: core.String, borderRightColor: core.String, - [S$.$borderRightColor]: core.String, + [S$0.$borderRightColor]: core.String, borderRightStyle: core.String, - [S$.$borderRightStyle]: core.String, + [S$0.$borderRightStyle]: core.String, borderRightWidth: core.String, [S$0.$borderRightWidth]: core.String, borderSpacing: core.String, @@ -71941,6 +78243,8 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$fontVariantLigatures]: core.String, fontWeight: core.String, [S$0.$fontWeight]: core.String, + gap: core.String, + [S$0.$gap]: core.String, grid: core.String, [S$0.$grid]: core.String, gridArea: core.String, @@ -72175,6 +78479,8 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ [S$0.$resize]: core.String, right: core.String, [$right]: core.String, + rowGap: core.String, + [S$0.$rowGap]: core.String, rtlOrdering: core.String, [S$0.$rtlOrdering]: core.String, rubyPosition: core.String, @@ -72342,7 +78648,7 @@ dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ zoom: core.String, [S$0.$zoom]: core.String })); -dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); +dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'alignContent', 'alignItems', @@ -72486,6 +78792,7 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'fontVariant', 'fontVariantLigatures', 'fontWeight', + 'gap', 'grid', 'gridArea', 'gridAutoColumns', @@ -72603,6 +78910,7 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'quotes', 'resize', 'right', + 'rowGap', 'rtlOrdering', 'rubyPosition', 'scrollBehavior', @@ -72687,43 +78995,50 @@ dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ 'zIndex', 'zoom' ]); -const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; -(Interceptor_CssStyleDeclarationBase$36.new = function() { - Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); -}).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; -dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); -html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { +const JavaScriptObject_CssStyleDeclarationBase$36 = class JavaScriptObject_CssStyleDeclarationBase extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_CssStyleDeclarationBase$36.new = function() { + JavaScriptObject_CssStyleDeclarationBase$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(JavaScriptObject_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$.CssStyleDeclaration = class CssStyleDeclaration extends JavaScriptObject_CssStyleDeclarationBase$36 { static new() { return html$.CssStyleDeclaration.css(""); } + static ['_#new#tearOff']() { + return html$.CssStyleDeclaration.new(); + } static css(css) { - if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); let style = html$.DivElement.new().style; style.cssText = css; return style; } + static ['_#css#tearOff'](css) { + if (css == null) dart.nullFailed(I[149], 3967, 42, "css"); + return html$.CssStyleDeclaration.css(css); + } [S$.$getPropertyValue](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3978, 34, "propertyName"); return this[S$._getPropertyValueHelper](propertyName); } [S$._getPropertyValueHelper](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3982, 41, "propertyName"); return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); } [S$.$supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3994, 32, "propertyName"); return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); } [S$._supportsProperty](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 3999, 33, "propertyName"); return propertyName in this; } [S$.$setProperty](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4003, 27, "propertyName"); return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); } [S$._browserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4008, 38, "propertyName"); let name = html$.CssStyleDeclaration._readCache(propertyName); if (typeof name == 'string') return name; name = this[S$._supportedBrowserPropertyName](propertyName); @@ -72731,7 +79046,7 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty return name; } [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { return propertyName; } @@ -72742,23 +79057,23 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty return propertyName; } static _readCache(key) { - if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + if (key == null) dart.nullFailed(I[149], 4029, 36, "key"); return html$.CssStyleDeclaration._propertyCache[key]; } static _writeCache(key, value) { - if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); - if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + if (key == null) dart.nullFailed(I[149], 4031, 34, "key"); + if (value == null) dart.nullFailed(I[149], 4031, 46, "value"); html$.CssStyleDeclaration._propertyCache[key] = value; } static _camelCase(hyphenated) { - if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + if (hyphenated == null) dart.nullFailed(I[149], 4035, 35, "hyphenated"); let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { return letter.toUpperCase(); }); } [S$._setPropertyHelper](propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 4044, 34, "propertyName"); if (value == null) value = ""; if (priority == null) priority = ""; this.setProperty(propertyName, value, priority); @@ -72766,6 +79081,9 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty static get supportsTransitions() { return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); } + static ['_#_#tearOff']() { + return html$.CssStyleDeclaration.__(); + } get [S$.$cssFloat]() { return this.cssFloat; } @@ -72904,10 +79222,10 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty set [S$._borderBottomColor](value) { this.borderBottomColor = value; } - get [S$.$borderBottomStyle]() { + get [S$0.$borderBottomStyle]() { return this[S$._borderBottomStyle]; } - set [S$.$borderBottomStyle](value) { + set [S$0.$borderBottomStyle](value) { this[S$._borderBottomStyle] = value == null ? "" : value; } get [S$._borderBottomStyle]() { @@ -72916,136 +79234,136 @@ html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssSty set [S$._borderBottomStyle](value) { this.borderBottomStyle = value; } - get [S$.$borderBottomWidth]() { - return this[S$._borderBottomWidth]; + get [S$0.$borderBottomWidth]() { + return this[S$0._borderBottomWidth]; } - set [S$.$borderBottomWidth](value) { - this[S$._borderBottomWidth] = value == null ? "" : value; + set [S$0.$borderBottomWidth](value) { + this[S$0._borderBottomWidth] = value == null ? "" : value; } - get [S$._borderBottomWidth]() { + get [S$0._borderBottomWidth]() { return this.borderBottomWidth; } - set [S$._borderBottomWidth](value) { + set [S$0._borderBottomWidth](value) { this.borderBottomWidth = value; } - get [S$.$borderCollapse]() { - return this[S$._borderCollapse]; + get [S$0.$borderCollapse]() { + return this[S$0._borderCollapse]; } - set [S$.$borderCollapse](value) { - this[S$._borderCollapse] = value == null ? "" : value; + set [S$0.$borderCollapse](value) { + this[S$0._borderCollapse] = value == null ? "" : value; } - get [S$._borderCollapse]() { + get [S$0._borderCollapse]() { return this.borderCollapse; } - set [S$._borderCollapse](value) { + set [S$0._borderCollapse](value) { this.borderCollapse = value; } - get [S$.$borderColor]() { - return this[S$._borderColor]; + get [S$0.$borderColor]() { + return this[S$0._borderColor]; } - set [S$.$borderColor](value) { - this[S$._borderColor] = value == null ? "" : value; + set [S$0.$borderColor](value) { + this[S$0._borderColor] = value == null ? "" : value; } - get [S$._borderColor]() { + get [S$0._borderColor]() { return this.borderColor; } - set [S$._borderColor](value) { + set [S$0._borderColor](value) { this.borderColor = value; } - get [S$.$borderLeft]() { - return this[S$._borderLeft]; + get [S$0.$borderLeft]() { + return this[S$0._borderLeft]; } - set [S$.$borderLeft](value) { - this[S$._borderLeft] = value == null ? "" : value; + set [S$0.$borderLeft](value) { + this[S$0._borderLeft] = value == null ? "" : value; } - get [S$._borderLeft]() { + get [S$0._borderLeft]() { return this.borderLeft; } - set [S$._borderLeft](value) { + set [S$0._borderLeft](value) { this.borderLeft = value; } - get [S$.$borderLeftColor]() { - return this[S$._borderLeftColor]; + get [S$0.$borderLeftColor]() { + return this[S$0._borderLeftColor]; } - set [S$.$borderLeftColor](value) { - this[S$._borderLeftColor] = value == null ? "" : value; + set [S$0.$borderLeftColor](value) { + this[S$0._borderLeftColor] = value == null ? "" : value; } - get [S$._borderLeftColor]() { + get [S$0._borderLeftColor]() { return this.borderLeftColor; } - set [S$._borderLeftColor](value) { + set [S$0._borderLeftColor](value) { this.borderLeftColor = value; } - get [S$.$borderLeftStyle]() { - return this[S$._borderLeftStyle]; + get [S$0.$borderLeftStyle]() { + return this[S$0._borderLeftStyle]; } - set [S$.$borderLeftStyle](value) { - this[S$._borderLeftStyle] = value == null ? "" : value; + set [S$0.$borderLeftStyle](value) { + this[S$0._borderLeftStyle] = value == null ? "" : value; } - get [S$._borderLeftStyle]() { + get [S$0._borderLeftStyle]() { return this.borderLeftStyle; } - set [S$._borderLeftStyle](value) { + set [S$0._borderLeftStyle](value) { this.borderLeftStyle = value; } - get [S$.$borderLeftWidth]() { - return this[S$._borderLeftWidth]; + get [S$0.$borderLeftWidth]() { + return this[S$0._borderLeftWidth]; } - set [S$.$borderLeftWidth](value) { - this[S$._borderLeftWidth] = value == null ? "" : value; + set [S$0.$borderLeftWidth](value) { + this[S$0._borderLeftWidth] = value == null ? "" : value; } - get [S$._borderLeftWidth]() { + get [S$0._borderLeftWidth]() { return this.borderLeftWidth; } - set [S$._borderLeftWidth](value) { + set [S$0._borderLeftWidth](value) { this.borderLeftWidth = value; } - get [S$.$borderRight]() { - return this[S$._borderRight]; + get [S$0.$borderRight]() { + return this[S$0._borderRight]; } - set [S$.$borderRight](value) { - this[S$._borderRight] = value == null ? "" : value; + set [S$0.$borderRight](value) { + this[S$0._borderRight] = value == null ? "" : value; } - get [S$._borderRight]() { + get [S$0._borderRight]() { return this.borderRight; } - set [S$._borderRight](value) { + set [S$0._borderRight](value) { this.borderRight = value; } - get [S$.$borderRightColor]() { - return this[S$._borderRightColor]; + get [S$0.$borderRightColor]() { + return this[S$0._borderRightColor]; } - set [S$.$borderRightColor](value) { - this[S$._borderRightColor] = value == null ? "" : value; + set [S$0.$borderRightColor](value) { + this[S$0._borderRightColor] = value == null ? "" : value; } - get [S$._borderRightColor]() { + get [S$0._borderRightColor]() { return this.borderRightColor; } - set [S$._borderRightColor](value) { + set [S$0._borderRightColor](value) { this.borderRightColor = value; } - get [S$.$borderRightStyle]() { - return this[S$._borderRightStyle]; + get [S$0.$borderRightStyle]() { + return this[S$0._borderRightStyle]; } - set [S$.$borderRightStyle](value) { - this[S$._borderRightStyle] = value == null ? "" : value; + set [S$0.$borderRightStyle](value) { + this[S$0._borderRightStyle] = value == null ? "" : value; } - get [S$._borderRightStyle]() { + get [S$0._borderRightStyle]() { return this.borderRightStyle; } - set [S$._borderRightStyle](value) { + set [S$0._borderRightStyle](value) { this.borderRightStyle = value; } get [S$0.$borderRightWidth]() { - return this[S$._borderRightWidth]; + return this[S$0._borderRightWidth]; } set [S$0.$borderRightWidth](value) { - this[S$._borderRightWidth] = value == null ? "" : value; + this[S$0._borderRightWidth] = value == null ? "" : value; } - get [S$._borderRightWidth]() { + get [S$0._borderRightWidth]() { return this.borderRightWidth; } - set [S$._borderRightWidth](value) { + set [S$0._borderRightWidth](value) { this.borderRightWidth = value; } get [S$0.$borderSpacing]() { @@ -73894,6 +80212,7 @@ dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ [S$.$item]: dart.fnType(core.String, [core.int]), [S$.$removeProperty]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(html$.CssStyleDeclaration, () => ['new', 'css', '_readCache', '_writeCache', '_camelCase', '__']); dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), [S$.$cssFloat]: dart.nullable(core.String), @@ -73910,17 +80229,17 @@ dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ [S$._borderBottom]: core.String, [S$._borderBottomColor]: core.String, [S$._borderBottomStyle]: core.String, - [S$._borderBottomWidth]: core.String, - [S$._borderCollapse]: core.String, - [S$._borderColor]: core.String, - [S$._borderLeft]: core.String, - [S$._borderLeftColor]: core.String, - [S$._borderLeftStyle]: core.String, - [S$._borderLeftWidth]: core.String, - [S$._borderRight]: core.String, - [S$._borderRightColor]: core.String, - [S$._borderRightStyle]: core.String, - [S$._borderRightWidth]: core.String, + [S$0._borderBottomWidth]: core.String, + [S$0._borderCollapse]: core.String, + [S$0._borderColor]: core.String, + [S$0._borderLeft]: core.String, + [S$0._borderLeftColor]: core.String, + [S$0._borderLeftStyle]: core.String, + [S$0._borderLeftWidth]: core.String, + [S$0._borderRight]: core.String, + [S$0._borderRightColor]: core.String, + [S$0._borderRightStyle]: core.String, + [S$0._borderRightWidth]: core.String, [S$0._borderSpacing]: core.String, [S$0._borderStyle]: core.String, [S$0._borderTop]: core.String, @@ -74013,30 +80332,30 @@ dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ [S$._borderBottom]: core.String, [S$.$borderBottomColor]: dart.nullable(core.String), [S$._borderBottomColor]: core.String, - [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$0.$borderBottomStyle]: dart.nullable(core.String), [S$._borderBottomStyle]: core.String, - [S$.$borderBottomWidth]: dart.nullable(core.String), - [S$._borderBottomWidth]: core.String, - [S$.$borderCollapse]: dart.nullable(core.String), - [S$._borderCollapse]: core.String, - [S$.$borderColor]: dart.nullable(core.String), - [S$._borderColor]: core.String, - [S$.$borderLeft]: dart.nullable(core.String), - [S$._borderLeft]: core.String, - [S$.$borderLeftColor]: dart.nullable(core.String), - [S$._borderLeftColor]: core.String, - [S$.$borderLeftStyle]: dart.nullable(core.String), - [S$._borderLeftStyle]: core.String, - [S$.$borderLeftWidth]: dart.nullable(core.String), - [S$._borderLeftWidth]: core.String, - [S$.$borderRight]: dart.nullable(core.String), - [S$._borderRight]: core.String, - [S$.$borderRightColor]: dart.nullable(core.String), - [S$._borderRightColor]: core.String, - [S$.$borderRightStyle]: dart.nullable(core.String), - [S$._borderRightStyle]: core.String, + [S$0.$borderBottomWidth]: dart.nullable(core.String), + [S$0._borderBottomWidth]: core.String, + [S$0.$borderCollapse]: dart.nullable(core.String), + [S$0._borderCollapse]: core.String, + [S$0.$borderColor]: dart.nullable(core.String), + [S$0._borderColor]: core.String, + [S$0.$borderLeft]: dart.nullable(core.String), + [S$0._borderLeft]: core.String, + [S$0.$borderLeftColor]: dart.nullable(core.String), + [S$0._borderLeftColor]: core.String, + [S$0.$borderLeftStyle]: dart.nullable(core.String), + [S$0._borderLeftStyle]: core.String, + [S$0.$borderLeftWidth]: dart.nullable(core.String), + [S$0._borderLeftWidth]: core.String, + [S$0.$borderRight]: dart.nullable(core.String), + [S$0._borderRight]: core.String, + [S$0.$borderRightColor]: dart.nullable(core.String), + [S$0._borderRightColor]: core.String, + [S$0.$borderRightStyle]: dart.nullable(core.String), + [S$0._borderRightStyle]: core.String, [S$0.$borderRightWidth]: dart.nullable(core.String), - [S$._borderRightWidth]: core.String, + [S$0._borderRightWidth]: core.String, [S$0.$borderSpacing]: dart.nullable(core.String), [S$0._borderSpacing]: core.String, [S$0.$borderStyle]: dart.nullable(core.String), @@ -74176,7 +80495,9 @@ dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ [S$0.$zIndex]: dart.nullable(core.String), [S$0._zIndex]: core.String })); -dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); +dart.setStaticGetterSignature(html$.CssStyleDeclaration, () => ['supportsTransitions']); +dart.setLibraryUri(html$.CssStyleDeclaration, I[150]); +dart.setStaticFieldSignature(html$.CssStyleDeclaration, () => ['_propertyCache']); dart.defineLazy(html$.CssStyleDeclaration, { /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { return {}; @@ -74190,649 +80511,653 @@ const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase e }).prototype = Object_CssStyleDeclarationBase$36.prototype; dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + static ['_#new#tearOff'](_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); + return new html$._CssStyleDeclarationSet.new(_elementIterable); + } getPropertyValue(propertyName) { - if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); - return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + if (propertyName == null) dart.nullFailed(I[149], 5443, 34, "propertyName"); + return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); } setProperty(propertyName, value, priority = null) { - if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); - dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + if (propertyName == null) dart.nullFailed(I[149], 5447, 27, "propertyName"); + this[S$0._elementCssStyleDeclarationSetIterable][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5449, 19, "e"); return e[S$.$setProperty](propertyName, value, priority); }, T$0.CssStyleDeclarationTovoid())); } [S$0._setAll](propertyName, value) { - if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + if (propertyName == null) dart.nullFailed(I[149], 5452, 23, "propertyName"); value = value == null ? "" : value; for (let element of this[S$0._elementIterable]) { element.style[propertyName] = value; } } set background(value) { - if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5460, 25, "value"); this[S$0._setAll]("background", value); } get background() { return super.background; } set backgroundAttachment(value) { - if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + if (value == null) dart.nullFailed(I[149], 5465, 35, "value"); this[S$0._setAll]("backgroundAttachment", value); } get backgroundAttachment() { return super.backgroundAttachment; } set backgroundColor(value) { - if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5470, 30, "value"); this[S$0._setAll]("backgroundColor", value); } get backgroundColor() { return super.backgroundColor; } set backgroundImage(value) { - if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5475, 30, "value"); this[S$0._setAll]("backgroundImage", value); } get backgroundImage() { return super.backgroundImage; } set backgroundPosition(value) { - if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + if (value == null) dart.nullFailed(I[149], 5480, 33, "value"); this[S$0._setAll]("backgroundPosition", value); } get backgroundPosition() { return super.backgroundPosition; } set backgroundRepeat(value) { - if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5485, 31, "value"); this[S$0._setAll]("backgroundRepeat", value); } get backgroundRepeat() { return super.backgroundRepeat; } set border(value) { - if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5490, 21, "value"); this[S$0._setAll]("border", value); } get border() { return super.border; } set borderBottom(value) { - if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5495, 27, "value"); this[S$0._setAll]("borderBottom", value); } get borderBottom() { return super.borderBottom; } set borderBottomColor(value) { - if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5500, 32, "value"); this[S$0._setAll]("borderBottomColor", value); } get borderBottomColor() { return super.borderBottomColor; } set borderBottomStyle(value) { - if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5505, 32, "value"); this[S$0._setAll]("borderBottomStyle", value); } get borderBottomStyle() { return super.borderBottomStyle; } set borderBottomWidth(value) { - if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5510, 32, "value"); this[S$0._setAll]("borderBottomWidth", value); } get borderBottomWidth() { return super.borderBottomWidth; } set borderCollapse(value) { - if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5515, 29, "value"); this[S$0._setAll]("borderCollapse", value); } get borderCollapse() { return super.borderCollapse; } set borderColor(value) { - if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5520, 26, "value"); this[S$0._setAll]("borderColor", value); } get borderColor() { return super.borderColor; } set borderLeft(value) { - if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5525, 25, "value"); this[S$0._setAll]("borderLeft", value); } get borderLeft() { return super.borderLeft; } set borderLeftColor(value) { - if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5530, 30, "value"); this[S$0._setAll]("borderLeftColor", value); } get borderLeftColor() { return super.borderLeftColor; } set borderLeftStyle(value) { - if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5535, 30, "value"); this[S$0._setAll]("borderLeftStyle", value); } get borderLeftStyle() { return super.borderLeftStyle; } set borderLeftWidth(value) { - if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5540, 30, "value"); this[S$0._setAll]("borderLeftWidth", value); } get borderLeftWidth() { return super.borderLeftWidth; } set borderRight(value) { - if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5545, 26, "value"); this[S$0._setAll]("borderRight", value); } get borderRight() { return super.borderRight; } set borderRightColor(value) { - if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5550, 31, "value"); this[S$0._setAll]("borderRightColor", value); } get borderRightColor() { return super.borderRightColor; } set borderRightStyle(value) { - if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5555, 31, "value"); this[S$0._setAll]("borderRightStyle", value); } get borderRightStyle() { return super.borderRightStyle; } set borderRightWidth(value) { - if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + if (value == null) dart.nullFailed(I[149], 5560, 31, "value"); this[S$0._setAll]("borderRightWidth", value); } get borderRightWidth() { return super.borderRightWidth; } set borderSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5565, 28, "value"); this[S$0._setAll]("borderSpacing", value); } get borderSpacing() { return super.borderSpacing; } set borderStyle(value) { - if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5570, 26, "value"); this[S$0._setAll]("borderStyle", value); } get borderStyle() { return super.borderStyle; } set borderTop(value) { - if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5575, 24, "value"); this[S$0._setAll]("borderTop", value); } get borderTop() { return super.borderTop; } set borderTopColor(value) { - if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5580, 29, "value"); this[S$0._setAll]("borderTopColor", value); } get borderTopColor() { return super.borderTopColor; } set borderTopStyle(value) { - if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5585, 29, "value"); this[S$0._setAll]("borderTopStyle", value); } get borderTopStyle() { return super.borderTopStyle; } set borderTopWidth(value) { - if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5590, 29, "value"); this[S$0._setAll]("borderTopWidth", value); } get borderTopWidth() { return super.borderTopWidth; } set borderWidth(value) { - if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5595, 26, "value"); this[S$0._setAll]("borderWidth", value); } get borderWidth() { return super.borderWidth; } set bottom(value) { - if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5600, 21, "value"); this[S$0._setAll]("bottom", value); } get bottom() { return super.bottom; } set captionSide(value) { - if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5605, 26, "value"); this[S$0._setAll]("captionSide", value); } get captionSide() { return super.captionSide; } set clear(value) { - if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5610, 20, "value"); this[S$0._setAll]("clear", value); } get clear() { return super.clear; } set clip(value) { - if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5615, 19, "value"); this[S$0._setAll]("clip", value); } get clip() { return super.clip; } set color(value) { - if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5620, 20, "value"); this[S$0._setAll]("color", value); } get color() { return super.color; } set content(value) { - if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5625, 22, "value"); this[S$0._setAll]("content", value); } get content() { return super.content; } set cursor(value) { - if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5630, 21, "value"); this[S$0._setAll]("cursor", value); } get cursor() { return super.cursor; } set direction(value) { - if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5635, 24, "value"); this[S$0._setAll]("direction", value); } get direction() { return super.direction; } set display(value) { - if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5640, 22, "value"); this[S$0._setAll]("display", value); } get display() { return super.display; } set emptyCells(value) { - if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5645, 25, "value"); this[S$0._setAll]("emptyCells", value); } get emptyCells() { return super.emptyCells; } set font(value) { - if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5650, 19, "value"); this[S$0._setAll]("font", value); } get font() { return super.font; } set fontFamily(value) { - if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5655, 25, "value"); this[S$0._setAll]("fontFamily", value); } get fontFamily() { return super.fontFamily; } set fontSize(value) { - if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5660, 23, "value"); this[S$0._setAll]("fontSize", value); } get fontSize() { return super.fontSize; } set fontStyle(value) { - if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5665, 24, "value"); this[S$0._setAll]("fontStyle", value); } get fontStyle() { return super.fontStyle; } set fontVariant(value) { - if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5670, 26, "value"); this[S$0._setAll]("fontVariant", value); } get fontVariant() { return super.fontVariant; } set fontWeight(value) { - if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5675, 25, "value"); this[S$0._setAll]("fontWeight", value); } get fontWeight() { return super.fontWeight; } set height(value) { - if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5680, 21, "value"); this[S$0._setAll]("height", value); } get height() { return super.height; } set left(value) { - if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + if (value == null) dart.nullFailed(I[149], 5685, 19, "value"); this[S$0._setAll]("left", value); } get left() { return super.left; } set letterSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5690, 28, "value"); this[S$0._setAll]("letterSpacing", value); } get letterSpacing() { return super.letterSpacing; } set lineHeight(value) { - if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5695, 25, "value"); this[S$0._setAll]("lineHeight", value); } get lineHeight() { return super.lineHeight; } set listStyle(value) { - if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5700, 24, "value"); this[S$0._setAll]("listStyle", value); } get listStyle() { return super.listStyle; } set listStyleImage(value) { - if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5705, 29, "value"); this[S$0._setAll]("listStyleImage", value); } get listStyleImage() { return super.listStyleImage; } set listStylePosition(value) { - if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + if (value == null) dart.nullFailed(I[149], 5710, 32, "value"); this[S$0._setAll]("listStylePosition", value); } get listStylePosition() { return super.listStylePosition; } set listStyleType(value) { - if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5715, 28, "value"); this[S$0._setAll]("listStyleType", value); } get listStyleType() { return super.listStyleType; } set margin(value) { - if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5720, 21, "value"); this[S$0._setAll]("margin", value); } get margin() { return super.margin; } set marginBottom(value) { - if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5725, 27, "value"); this[S$0._setAll]("marginBottom", value); } get marginBottom() { return super.marginBottom; } set marginLeft(value) { - if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5730, 25, "value"); this[S$0._setAll]("marginLeft", value); } get marginLeft() { return super.marginLeft; } set marginRight(value) { - if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5735, 26, "value"); this[S$0._setAll]("marginRight", value); } get marginRight() { return super.marginRight; } set marginTop(value) { - if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5740, 24, "value"); this[S$0._setAll]("marginTop", value); } get marginTop() { return super.marginTop; } set maxHeight(value) { - if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5745, 24, "value"); this[S$0._setAll]("maxHeight", value); } get maxHeight() { return super.maxHeight; } set maxWidth(value) { - if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5750, 23, "value"); this[S$0._setAll]("maxWidth", value); } get maxWidth() { return super.maxWidth; } set minHeight(value) { - if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5755, 24, "value"); this[S$0._setAll]("minHeight", value); } get minHeight() { return super.minHeight; } set minWidth(value) { - if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5760, 23, "value"); this[S$0._setAll]("minWidth", value); } get minWidth() { return super.minWidth; } set outline(value) { - if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5765, 22, "value"); this[S$0._setAll]("outline", value); } get outline() { return super.outline; } set outlineColor(value) { - if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5770, 27, "value"); this[S$0._setAll]("outlineColor", value); } get outlineColor() { return super.outlineColor; } set outlineStyle(value) { - if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5775, 27, "value"); this[S$0._setAll]("outlineStyle", value); } get outlineStyle() { return super.outlineStyle; } set outlineWidth(value) { - if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5780, 27, "value"); this[S$0._setAll]("outlineWidth", value); } get outlineWidth() { return super.outlineWidth; } set overflow(value) { - if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5785, 23, "value"); this[S$0._setAll]("overflow", value); } get overflow() { return super.overflow; } set padding(value) { - if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + if (value == null) dart.nullFailed(I[149], 5790, 22, "value"); this[S$0._setAll]("padding", value); } get padding() { return super.padding; } set paddingBottom(value) { - if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5795, 28, "value"); this[S$0._setAll]("paddingBottom", value); } get paddingBottom() { return super.paddingBottom; } set paddingLeft(value) { - if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5800, 26, "value"); this[S$0._setAll]("paddingLeft", value); } get paddingLeft() { return super.paddingLeft; } set paddingRight(value) { - if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + if (value == null) dart.nullFailed(I[149], 5805, 27, "value"); this[S$0._setAll]("paddingRight", value); } get paddingRight() { return super.paddingRight; } set paddingTop(value) { - if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5810, 25, "value"); this[S$0._setAll]("paddingTop", value); } get paddingTop() { return super.paddingTop; } set pageBreakAfter(value) { - if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5815, 29, "value"); this[S$0._setAll]("pageBreakAfter", value); } get pageBreakAfter() { return super.pageBreakAfter; } set pageBreakBefore(value) { - if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5820, 30, "value"); this[S$0._setAll]("pageBreakBefore", value); } get pageBreakBefore() { return super.pageBreakBefore; } set pageBreakInside(value) { - if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + if (value == null) dart.nullFailed(I[149], 5825, 30, "value"); this[S$0._setAll]("pageBreakInside", value); } get pageBreakInside() { return super.pageBreakInside; } set position(value) { - if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + if (value == null) dart.nullFailed(I[149], 5830, 23, "value"); this[S$0._setAll]("position", value); } get position() { return super.position; } set quotes(value) { - if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5835, 21, "value"); this[S$0._setAll]("quotes", value); } get quotes() { return super.quotes; } set right(value) { - if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5840, 20, "value"); this[S$0._setAll]("right", value); } get right() { return super.right; } set tableLayout(value) { - if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5845, 26, "value"); this[S$0._setAll]("tableLayout", value); } get tableLayout() { return super.tableLayout; } set textAlign(value) { - if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + if (value == null) dart.nullFailed(I[149], 5850, 24, "value"); this[S$0._setAll]("textAlign", value); } get textAlign() { return super.textAlign; } set textDecoration(value) { - if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + if (value == null) dart.nullFailed(I[149], 5855, 29, "value"); this[S$0._setAll]("textDecoration", value); } get textDecoration() { return super.textDecoration; } set textIndent(value) { - if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5860, 25, "value"); this[S$0._setAll]("textIndent", value); } get textIndent() { return super.textIndent; } set textTransform(value) { - if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5865, 28, "value"); this[S$0._setAll]("textTransform", value); } get textTransform() { return super.textTransform; } set top(value) { - if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + if (value == null) dart.nullFailed(I[149], 5870, 18, "value"); this[S$0._setAll]("top", value); } get top() { return super.top; } set unicodeBidi(value) { - if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5875, 26, "value"); this[S$0._setAll]("unicodeBidi", value); } get unicodeBidi() { return super.unicodeBidi; } set verticalAlign(value) { - if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + if (value == null) dart.nullFailed(I[149], 5880, 28, "value"); this[S$0._setAll]("verticalAlign", value); } get verticalAlign() { return super.verticalAlign; } set visibility(value) { - if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5885, 25, "value"); this[S$0._setAll]("visibility", value); } get visibility() { return super.visibility; } set whiteSpace(value) { - if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + if (value == null) dart.nullFailed(I[149], 5890, 25, "value"); this[S$0._setAll]("whiteSpace", value); } get whiteSpace() { return super.whiteSpace; } set width(value) { - if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + if (value == null) dart.nullFailed(I[149], 5895, 20, "value"); this[S$0._setAll]("width", value); } get width() { return super.width; } set wordSpacing(value) { - if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + if (value == null) dart.nullFailed(I[149], 5900, 26, "value"); this[S$0._setAll]("wordSpacing", value); } get wordSpacing() { return super.wordSpacing; } set zIndex(value) { - if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); this[S$0._setAll]("zIndex", value); } get zIndex() { @@ -74840,10 +81165,13 @@ html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_Css } }; (html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); - this[S$0._elementCssStyleDeclarationSetIterable] = null; + if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); this[S$0._elementIterable] = _elementIterable; - this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); + this[S$0._elementCssStyleDeclarationSetIterable] = T$0.ListOfElement().of(_elementIterable)[$map](html$.CssStyleDeclaration, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 5441, 48, "e"); + return e.style; + }, T$0.ElementToCssStyleDeclaration())); + ; }).prototype = html$._CssStyleDeclarationSet.prototype; dart.addTypeTests(html$._CssStyleDeclarationSet); dart.addTypeCaches(html$._CssStyleDeclarationSet); @@ -74855,11 +81183,11 @@ dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) })); -dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); +dart.setLibraryUri(html$._CssStyleDeclarationSet, I[150]); dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(core.Iterable$(html$.CssStyleDeclaration)) })); dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ @@ -74955,6 +81283,9 @@ dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ 'zIndex' ]); html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssStyleRule.__(); + } get [S$.$selectorText]() { return this.selectorText; } @@ -74967,6 +81298,7 @@ html$.CssStyleRule = class CssStyleRule extends html$.CssRule { }; dart.addTypeTests(html$.CssStyleRule); dart.addTypeCaches(html$.CssStyleRule); +dart.setStaticMethodSignature(html$.CssStyleRule, () => ['__']); dart.setGetterSignature(html$.CssStyleRule, () => ({ __proto__: dart.getGetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String, @@ -74976,9 +81308,12 @@ dart.setSetterSignature(html$.CssStyleRule, () => ({ __proto__: dart.getSetters(html$.CssStyleRule.__proto__), [S$.$selectorText]: core.String })); -dart.setLibraryUri(html$.CssStyleRule, I[148]); +dart.setLibraryUri(html$.CssStyleRule, I[150]); dart.registerExtension("CSSStyleRule", html$.CssStyleRule); -html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { +html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleSheet.__(); + } get [S$.$disabled]() { return this.disabled; } @@ -75006,6 +81341,7 @@ html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { }; dart.addTypeTests(html$.StyleSheet); dart.addTypeCaches(html$.StyleSheet); +dart.setStaticMethodSignature(html$.StyleSheet, () => ['__']); dart.setGetterSignature(html$.StyleSheet, () => ({ __proto__: dart.getGetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -75020,9 +81356,12 @@ dart.setSetterSignature(html$.StyleSheet, () => ({ __proto__: dart.getSetters(html$.StyleSheet.__proto__), [S$.$disabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.StyleSheet, I[148]); +dart.setLibraryUri(html$.StyleSheet, I[150]); dart.registerExtension("StyleSheet", html$.StyleSheet); html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + static ['_#_#tearOff']() { + return html$.CssStyleSheet.__(); + } get [S$.$cssRules]() { return this.cssRules; } @@ -75054,20 +81393,29 @@ dart.setMethodSignature(html$.CssStyleSheet, () => ({ [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.CssStyleSheet, () => ['__']); dart.setGetterSignature(html$.CssStyleSheet, () => ({ __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), [S$.$cssRules]: core.List$(html$.CssRule), [S$0.$ownerRule]: dart.nullable(html$.CssRule), [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) })); -dart.setLibraryUri(html$.CssStyleSheet, I[148]); +dart.setLibraryUri(html$.CssStyleSheet, I[150]); dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); -html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; +html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { + static ['_#_#tearOff']() { + return html$.CssSupportsRule.__(); + } +}; dart.addTypeTests(html$.CssSupportsRule); dart.addTypeCaches(html$.CssSupportsRule); -dart.setLibraryUri(html$.CssSupportsRule, I[148]); +dart.setStaticMethodSignature(html$.CssSupportsRule, () => ['__']); +dart.setLibraryUri(html$.CssSupportsRule, I[150]); dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssTransformValue.__(); + } static new(transformComponents = null) { if (transformComponents == null) { return html$.CssTransformValue._create_1(); @@ -75077,6 +81425,9 @@ html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](transformComponents = null) { + return html$.CssTransformValue.new(transformComponents); + } static _create_1() { return new CSSTransformValue(); } @@ -75103,17 +81454,21 @@ dart.setMethodSignature(html$.CssTransformValue, () => ({ [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) })); +dart.setStaticMethodSignature(html$.CssTransformValue, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTransformValue, () => ({ __proto__: dart.getGetters(html$.CssTransformValue.__proto__), [S$.$is2D]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CssTransformValue, I[148]); +dart.setLibraryUri(html$.CssTransformValue, I[150]); dart.registerExtension("CSSTransformValue", html$.CssTransformValue); html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static ['_#_#tearOff']() { + return html$.CssTranslation.__(); + } static new(x, y, z = null) { - if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); - if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { return html$.CssTranslation._create_1(x, y); } @@ -75122,6 +81477,11 @@ html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](x, y, z = null) { + if (x == null) dart.nullFailed(I[149], 8823, 42, "x"); + if (y == null) dart.nullFailed(I[149], 8823, 61, "y"); + return html$.CssTranslation.new(x, y, z); + } static _create_1(x, y) { return new CSSTranslation(x, y); } @@ -75149,6 +81509,7 @@ html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent }; dart.addTypeTests(html$.CssTranslation); dart.addTypeCaches(html$.CssTranslation); +dart.setStaticMethodSignature(html$.CssTranslation, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.CssTranslation, () => ({ __proto__: dart.getGetters(html$.CssTranslation.__proto__), [S$.$x]: dart.nullable(html$.CssNumericValue), @@ -75161,14 +81522,22 @@ dart.setSetterSignature(html$.CssTranslation, () => ({ [S$.$y]: dart.nullable(html$.CssNumericValue), [S$.$z]: dart.nullable(html$.CssNumericValue) })); -dart.setLibraryUri(html$.CssTranslation, I[148]); +dart.setLibraryUri(html$.CssTranslation, I[150]); dart.registerExtension("CSSTranslation", html$.CssTranslation); html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static ['_#_#tearOff']() { + return html$.CssUnitValue.__(); + } static new(value, unit) { - if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); - if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); return html$.CssUnitValue._create_1(value, unit); } + static ['_#new#tearOff'](value, unit) { + if (value == null) dart.nullFailed(I[149], 8863, 28, "value"); + if (unit == null) dart.nullFailed(I[149], 8863, 42, "unit"); + return html$.CssUnitValue.new(value, unit); + } static _create_1(value, unit) { return new CSSUnitValue(value, unit); } @@ -75190,6 +81559,7 @@ html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { }; dart.addTypeTests(html$.CssUnitValue); dart.addTypeCaches(html$.CssUnitValue); +dart.setStaticMethodSignature(html$.CssUnitValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssUnitValue, () => ({ __proto__: dart.getGetters(html$.CssUnitValue.__proto__), [S.$type]: dart.nullable(core.String), @@ -75201,9 +81571,12 @@ dart.setSetterSignature(html$.CssUnitValue, () => ({ [S$0.$unit]: dart.nullable(core.String), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.CssUnitValue, I[148]); +dart.setLibraryUri(html$.CssUnitValue, I[150]); dart.registerExtension("CSSUnitValue", html$.CssUnitValue); html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + static ['_#_#tearOff']() { + return html$.CssUnparsedValue.__(); + } get [$length]() { return this.length; } @@ -75217,13 +81590,17 @@ dart.setMethodSignature(html$.CssUnparsedValue, () => ({ __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) })); +dart.setStaticMethodSignature(html$.CssUnparsedValue, () => ['__']); dart.setGetterSignature(html$.CssUnparsedValue, () => ({ __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.CssUnparsedValue, I[148]); +dart.setLibraryUri(html$.CssUnparsedValue, I[150]); dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); -html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { +html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CssVariableReferenceValue.__(); + } get [S$0.$fallback]() { return this.fallback; } @@ -75233,31 +81610,43 @@ html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _inter }; dart.addTypeTests(html$.CssVariableReferenceValue); dart.addTypeCaches(html$.CssVariableReferenceValue); +dart.setStaticMethodSignature(html$.CssVariableReferenceValue, () => ['__']); dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), [S$0.$variable]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); +dart.setLibraryUri(html$.CssVariableReferenceValue, I[150]); dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + static ['_#_#tearOff']() { + return html$.CssViewportRule.__(); + } get [S.$style]() { return this.style; } }; dart.addTypeTests(html$.CssViewportRule); dart.addTypeCaches(html$.CssViewportRule); +dart.setStaticMethodSignature(html$.CssViewportRule, () => ['__']); dart.setGetterSignature(html$.CssViewportRule, () => ({ __proto__: dart.getGetters(html$.CssViewportRule.__proto__), [S.$style]: dart.nullable(html$.CssStyleDeclaration) })); -dart.setLibraryUri(html$.CssViewportRule, I[148]); +dart.setLibraryUri(html$.CssViewportRule, I[150]); dart.registerExtension("CSSViewportRule", html$.CssViewportRule); html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static ['_#_#tearOff']() { + return html$.CssurlImageValue.__(); + } static new(url) { - if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); return html$.CssurlImageValue._create_1(url); } + static ['_#new#tearOff'](url) { + if (url == null) dart.nullFailed(I[149], 8933, 35, "url"); + return html$.CssurlImageValue.new(url); + } static _create_1(url) { return new CSSURLImageValue(url); } @@ -75267,16 +81656,20 @@ html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { }; dart.addTypeTests(html$.CssurlImageValue); dart.addTypeCaches(html$.CssurlImageValue); +dart.setStaticMethodSignature(html$.CssurlImageValue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.CssurlImageValue, () => ({ __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.CssurlImageValue, I[148]); +dart.setLibraryUri(html$.CssurlImageValue, I[150]); dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); -html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { +html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.CustomElementRegistry.__(); + } [S$0.$define](name, constructor, options = null) { - if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); - if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (name == null) dart.nullFailed(I[149], 8961, 22, "name"); + if (constructor == null) dart.nullFailed(I[149], 8961, 35, "constructor"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$0._define_1](name, constructor, options_1); @@ -75295,7 +81688,7 @@ html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors. return this.get.apply(this, args); } [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); } }; @@ -75309,7 +81702,8 @@ dart.setMethodSignature(html$.CustomElementRegistry, () => ({ [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.CustomElementRegistry, I[148]); +dart.setStaticMethodSignature(html$.CustomElementRegistry, () => ['__']); +dart.setLibraryUri(html$.CustomElementRegistry, I[150]); dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); html$.CustomEvent = class CustomEvent$ extends html$.Event { get [S$0._dartDetail]() { @@ -75319,11 +81713,11 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { this._dartDetail = value; } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); let detail = opts && 'detail' in opts ? opts.detail : null; let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); e[S$0._dartDetail] = detail; @@ -75343,6 +81737,15 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { } return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 8992, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 8993, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 8993, 36, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + return html$.CustomEvent.new(type, {canBubble: canBubble, cancelable: cancelable, detail: detail}); + } get [S$.$detail]() { if (this[S$0._dartDetail] != null) { return this[S$0._dartDetail]; @@ -75350,13 +81753,17 @@ html$.CustomEvent = class CustomEvent$ extends html$.Event { return this[S$0._detail]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.CustomEvent._create_1(type, eventInitDict_1); } return html$.CustomEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9021, 32, "type"); + return html$.CustomEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new CustomEvent(type, eventInitDict); } @@ -75379,22 +81786,32 @@ dart.setMethodSignature(html$.CustomEvent, () => ({ __proto__: dart.getMethods(html$.CustomEvent.__proto__), [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(html$.CustomEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.CustomEvent, () => ({ __proto__: dart.getGetters(html$.CustomEvent.__proto__), [S$.$detail]: dart.dynamic, [S$0._detail]: dart.dynamic, [S$0._get__detail]: dart.dynamic })); -dart.setLibraryUri(html$.CustomEvent, I[148]); +dart.setLibraryUri(html$.CustomEvent, I[150]); dart.setFieldSignature(html$.CustomEvent, () => ({ __proto__: dart.getFields(html$.CustomEvent.__proto__), [S$0._dartDetail]: dart.fieldType(dart.dynamic) })); dart.registerExtension("CustomEvent", html$.CustomEvent); html$.DListElement = class DListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DListElement.__(); + } static new() { return html$.document.createElement("dl"); } + static ['_#new#tearOff']() { + return html$.DListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DListElement.created(); + } }; (html$.DListElement.created = function() { html$.DListElement.__proto__.created.call(this); @@ -75402,9 +81819,16 @@ html$.DListElement = class DListElement extends html$.HtmlElement { }).prototype = html$.DListElement.prototype; dart.addTypeTests(html$.DListElement); dart.addTypeCaches(html$.DListElement); -dart.setLibraryUri(html$.DListElement, I[148]); +dart.setStaticMethodSignature(html$.DListElement, () => ['__', 'new']); +dart.setLibraryUri(html$.DListElement, I[150]); dart.registerExtension("HTMLDListElement", html$.DListElement); html$.DataElement = class DataElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DataElement.created(); + } get [S.$value]() { return this.value; } @@ -75418,6 +81842,7 @@ html$.DataElement = class DataElement extends html$.HtmlElement { }).prototype = html$.DataElement.prototype; dart.addTypeTests(html$.DataElement); dart.addTypeCaches(html$.DataElement); +dart.setStaticMethodSignature(html$.DataElement, () => ['__']); dart.setGetterSignature(html$.DataElement, () => ({ __proto__: dart.getGetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) @@ -75426,12 +81851,21 @@ dart.setSetterSignature(html$.DataElement, () => ({ __proto__: dart.getSetters(html$.DataElement.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataElement, I[148]); +dart.setLibraryUri(html$.DataElement, I[150]); dart.registerExtension("HTMLDataElement", html$.DataElement); html$.DataListElement = class DataListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DataListElement.__(); + } static new() { return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); } + static ['_#new#tearOff']() { + return html$.DataListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DataListElement.created(); + } static get supported() { return html$.Element.isTagSupported("datalist"); } @@ -75445,16 +81879,24 @@ html$.DataListElement = class DataListElement extends html$.HtmlElement { }).prototype = html$.DataListElement.prototype; dart.addTypeTests(html$.DataListElement); dart.addTypeCaches(html$.DataListElement); +dart.setStaticMethodSignature(html$.DataListElement, () => ['__', 'new']); dart.setGetterSignature(html$.DataListElement, () => ({ __proto__: dart.getGetters(html$.DataListElement.__proto__), [S$0.$options]: dart.nullable(core.List$(html$.Node)) })); -dart.setLibraryUri(html$.DataListElement, I[148]); +dart.setStaticGetterSignature(html$.DataListElement, () => ['supported']); +dart.setLibraryUri(html$.DataListElement, I[150]); dart.registerExtension("HTMLDataListElement", html$.DataListElement); -html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { +html$.DataTransfer = class DataTransfer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransfer.__(); + } static new() { return html$.DataTransfer._create_1(); } + static ['_#new#tearOff']() { + return html$.DataTransfer.new(); + } static _create_1() { return new DataTransfer(); } @@ -75501,6 +81943,7 @@ dart.setMethodSignature(html$.DataTransfer, () => ({ [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) })); +dart.setStaticMethodSignature(html$.DataTransfer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DataTransfer, () => ({ __proto__: dart.getGetters(html$.DataTransfer.__proto__), [S$0.$dropEffect]: dart.nullable(core.String), @@ -75514,19 +81957,29 @@ dart.setSetterSignature(html$.DataTransfer, () => ({ [S$0.$dropEffect]: dart.nullable(core.String), [S$0.$effectAllowed]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataTransfer, I[148]); +dart.setLibraryUri(html$.DataTransfer, I[150]); dart.registerExtension("DataTransfer", html$.DataTransfer); -html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { +html$.DataTransferItem = class DataTransferItem extends _interceptors.JavaScriptObject { [S$0.$getAsEntry]() { let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { _js_helper.applyExtension("DirectoryEntry", entry); - else + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } else { _js_helper.applyExtension("Entry", entry); + _js_helper.applyExtension("webkitFileSystemEntry", entry); + _js_helper.applyExtension("FileSystemEntry", entry); + } return entry; } + static ['_#_#tearOff']() { + return html$.DataTransferItem.__(); + } get [S$.$kind]() { return this.kind; } @@ -75548,14 +82001,18 @@ dart.setMethodSignature(html$.DataTransferItem, () => ({ [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) })); +dart.setStaticMethodSignature(html$.DataTransferItem, () => ['__']); dart.setGetterSignature(html$.DataTransferItem, () => ({ __proto__: dart.getGetters(html$.DataTransferItem.__proto__), [S$.$kind]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DataTransferItem, I[148]); +dart.setLibraryUri(html$.DataTransferItem, I[150]); dart.registerExtension("DataTransferItem", html$.DataTransferItem); -html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { +html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DataTransferItemList.__(); + } get [$length]() { return this.length; } @@ -75578,7 +82035,7 @@ html$.DataTransferItemList = class DataTransferItemList extends _interceptors.In return this.remove.apply(this, args); } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); return this[index]; } }; @@ -75594,13 +82051,17 @@ dart.setMethodSignature(html$.DataTransferItemList, () => ({ [$remove]: dart.fnType(dart.void, [core.int]), [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) })); +dart.setStaticMethodSignature(html$.DataTransferItemList, () => ['__']); dart.setGetterSignature(html$.DataTransferItemList, () => ({ __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.DataTransferItemList, I[148]); +dart.setLibraryUri(html$.DataTransferItemList, I[150]); dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerGlobalScope.__(); + } get [S$0.$addressSpace]() { return this.addressSpace; } @@ -75674,7 +82135,7 @@ html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { }; dart.addTypeTests(html$.WorkerGlobalScope); dart.addTypeCaches(html$.WorkerGlobalScope); -html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; +html$.WorkerGlobalScope[dart.implements] = () => [html$.WindowBase64, html$._WindowTimers]; dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), @@ -75688,6 +82149,7 @@ dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), @@ -75702,14 +82164,19 @@ dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ [S$0.$self]: html$.WorkerGlobalScope, [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.WorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.WorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.WorkerGlobalScope, () => ['errorEvent']); dart.defineLazy(html$.WorkerGlobalScope, { /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.DedicatedWorkerGlobalScope.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -75761,14 +82228,17 @@ dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); +dart.setStaticMethodSignature(html$.DedicatedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.DedicatedWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.DedicatedWorkerGlobalScope, () => ['messageEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DedicatedWorkerGlobalScope, { /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -75778,7 +82248,10 @@ dart.defineLazy(html$.DedicatedWorkerGlobalScope, { } }, false); dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); -html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { +html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageInfo.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75793,7 +82266,9 @@ dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); -dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); +dart.setStaticMethodSignature(html$.DeprecatedStorageInfo, () => ['__']); +dart.setLibraryUri(html$.DeprecatedStorageInfo, I[150]); +dart.setStaticFieldSignature(html$.DeprecatedStorageInfo, () => ['PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.DeprecatedStorageInfo, { /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { return 1; @@ -75803,7 +82278,10 @@ dart.defineLazy(html$.DeprecatedStorageInfo, { } }, false); dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); -html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { +html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeprecatedStorageQuota.__(); + } [S$0.$queryUsageAndQuota](...args) { return this.queryUsageAndQuota.apply(this, args); } @@ -75818,14 +82296,23 @@ dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) })); -dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); +dart.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); +dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); -html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; +html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportBody.__(); + } +}; dart.addTypeTests(html$.ReportBody); dart.addTypeCaches(html$.ReportBody); -dart.setLibraryUri(html$.ReportBody, I[148]); +dart.setStaticMethodSignature(html$.ReportBody, () => ['__']); +dart.setLibraryUri(html$.ReportBody, I[150]); dart.registerExtension("ReportBody", html$.ReportBody); html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.DeprecationReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -75838,18 +82325,28 @@ html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { }; dart.addTypeTests(html$.DeprecationReport); dart.addTypeCaches(html$.DeprecationReport); +dart.setStaticMethodSignature(html$.DeprecationReport, () => ['__']); dart.setGetterSignature(html$.DeprecationReport, () => ({ __proto__: dart.getGetters(html$.DeprecationReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DeprecationReport, I[148]); +dart.setLibraryUri(html$.DeprecationReport, I[150]); dart.registerExtension("DeprecationReport", html$.DeprecationReport); html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DetailsElement.__(); + } static new() { return html$.DetailsElement.as(html$.document[S.$createElement]("details")); } + static ['_#new#tearOff']() { + return html$.DetailsElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DetailsElement.created(); + } static get supported() { return html$.Element.isTagSupported("details"); } @@ -75866,6 +82363,7 @@ html$.DetailsElement = class DetailsElement extends html$.HtmlElement { }).prototype = html$.DetailsElement.prototype; dart.addTypeTests(html$.DetailsElement); dart.addTypeCaches(html$.DetailsElement); +dart.setStaticMethodSignature(html$.DetailsElement, () => ['__', 'new']); dart.setGetterSignature(html$.DetailsElement, () => ({ __proto__: dart.getGetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) @@ -75874,12 +82372,19 @@ dart.setSetterSignature(html$.DetailsElement, () => ({ __proto__: dart.getSetters(html$.DetailsElement.__proto__), [S.$open]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.DetailsElement, I[148]); +dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); +dart.setLibraryUri(html$.DetailsElement, I[150]); dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); -html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { +html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedBarcode.__(); + } static new() { return html$.DetectedBarcode._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedBarcode.new(); + } static _create_1() { return new DetectedBarcode(); } @@ -75895,18 +82400,25 @@ html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor }; dart.addTypeTests(html$.DetectedBarcode); dart.addTypeCaches(html$.DetectedBarcode); +dart.setStaticMethodSignature(html$.DetectedBarcode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedBarcode, () => ({ __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DetectedBarcode, I[148]); +dart.setLibraryUri(html$.DetectedBarcode, I[150]); dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); -html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { +html$.DetectedFace = class DetectedFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedFace.__(); + } static new() { return html$.DetectedFace._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedFace.new(); + } static _create_1() { return new DetectedFace(); } @@ -75919,17 +82431,24 @@ html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DetectedFace); dart.addTypeCaches(html$.DetectedFace); +dart.setStaticMethodSignature(html$.DetectedFace, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedFace, () => ({ __proto__: dart.getGetters(html$.DetectedFace.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$landmarks]: dart.nullable(core.List) })); -dart.setLibraryUri(html$.DetectedFace, I[148]); +dart.setLibraryUri(html$.DetectedFace, I[150]); dart.registerExtension("DetectedFace", html$.DetectedFace); -html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { +html$.DetectedText = class DetectedText$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DetectedText.__(); + } static new() { return html$.DetectedText._create_1(); } + static ['_#new#tearOff']() { + return html$.DetectedText.new(); + } static _create_1() { return new DetectedText(); } @@ -75945,15 +82464,19 @@ html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DetectedText); dart.addTypeCaches(html$.DetectedText); +dart.setStaticMethodSignature(html$.DetectedText, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.DetectedText, () => ({ __proto__: dart.getGetters(html$.DetectedText.__proto__), [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), [S$0.$cornerPoints]: dart.nullable(core.List), [S$0.$rawValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DetectedText, I[148]); +dart.setLibraryUri(html$.DetectedText, I[150]); dart.registerExtension("DetectedText", html$.DetectedText); -html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { +html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceAcceleration.__(); + } get [S$.$x]() { return this.x; } @@ -75966,23 +82489,31 @@ html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interc }; dart.addTypeTests(html$.DeviceAcceleration); dart.addTypeCaches(html$.DeviceAcceleration); +dart.setStaticMethodSignature(html$.DeviceAcceleration, () => ['__']); dart.setGetterSignature(html$.DeviceAcceleration, () => ({ __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceAcceleration, I[148]); +dart.setLibraryUri(html$.DeviceAcceleration, I[150]); dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceMotionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); } return html$.DeviceMotionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9499, 36, "type"); + return html$.DeviceMotionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceMotionEvent(type, eventInitDict); } @@ -76004,6 +82535,7 @@ html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { }; dart.addTypeTests(html$.DeviceMotionEvent); dart.addTypeCaches(html$.DeviceMotionEvent); +dart.setStaticMethodSignature(html$.DeviceMotionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), @@ -76011,17 +82543,24 @@ dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ [S$0.$interval]: dart.nullable(core.num), [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) })); -dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); +dart.setLibraryUri(html$.DeviceMotionEvent, I[150]); dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.DeviceOrientationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); } return html$.DeviceOrientationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 9530, 41, "type"); + return html$.DeviceOrientationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new DeviceOrientationEvent(type, eventInitDict); } @@ -76043,6 +82582,7 @@ html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event }; dart.addTypeTests(html$.DeviceOrientationEvent); dart.addTypeCaches(html$.DeviceOrientationEvent); +dart.setStaticMethodSignature(html$.DeviceOrientationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), [S$0.$absolute]: dart.nullable(core.bool), @@ -76050,9 +82590,12 @@ dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); +dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); -html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { +html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DeviceRotationRate.__(); + } get [S$0.$alpha]() { return this.alpha; } @@ -76065,15 +82608,22 @@ html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interc }; dart.addTypeTests(html$.DeviceRotationRate); dart.addTypeCaches(html$.DeviceRotationRate); +dart.setStaticMethodSignature(html$.DeviceRotationRate, () => ['__']); dart.setGetterSignature(html$.DeviceRotationRate, () => ({ __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), [S$0.$alpha]: dart.nullable(core.num), [S$0.$beta]: dart.nullable(core.num), [S$0.$gamma]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DeviceRotationRate, I[148]); +dart.setLibraryUri(html$.DeviceRotationRate, I[150]); dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); html$.DialogElement = class DialogElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DialogElement.__(); + } + static ['_#created#tearOff']() { + return new html$.DialogElement.created(); + } get [S.$open]() { return this.open; } @@ -76108,6 +82658,7 @@ dart.setMethodSignature(html$.DialogElement, () => ({ [S$0.$show]: dart.fnType(dart.void, []), [S$0.$showModal]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.DialogElement, () => ['__']); dart.setGetterSignature(html$.DialogElement, () => ({ __proto__: dart.getGetters(html$.DialogElement.__proto__), [S.$open]: dart.nullable(core.bool), @@ -76118,9 +82669,12 @@ dart.setSetterSignature(html$.DialogElement, () => ({ [S.$open]: dart.nullable(core.bool), [S$.$returnValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DialogElement, I[148]); +dart.setLibraryUri(html$.DialogElement, I[150]); dart.registerExtension("HTMLDialogElement", html$.DialogElement); -html$.Entry = class Entry extends _interceptors.Interceptor { +html$.Entry = class Entry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Entry.__(); + } get [S$0.$filesystem]() { return this.filesystem; } @@ -76136,82 +82690,84 @@ html$.Entry = class Entry extends _interceptors.Interceptor { get [$name]() { return this.name; } - [S$0._copyTo](...args) { + [S$1._copyTo](...args) { return this.copyTo.apply(this, args); } - [S$0.$copyTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + [S$1.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[149], 15427, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._copyTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + this[S$1._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15429, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15431, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getMetadata](...args) { + [S$1._getMetadata](...args) { return this.getMetadata.apply(this, args); } - [S$0.$getMetadata]() { + [S$1.$getMetadata]() { let completer = T$0.CompleterOfMetadata().new(); - this[S$0._getMetadata](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + this[S$1._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15444, 19, "value"); _js_helper.applyExtension("Metadata", value); completer.complete(value); }, T$0.MetadataTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15447, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._getParent](...args) { + [S$1._getParent](...args) { return this.getParent.apply(this, args); } - [S$0.$getParent]() { + [S$1.$getParent]() { let completer = T$0.CompleterOfEntry().new(); - this[S$0._getParent](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + this[S$1._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15460, 17, "value"); _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15465, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } [S$.$moveTo](parent, opts) { - if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + if (parent == null) dart.nullFailed(I[149], 15478, 39, "parent"); let name = opts && 'name' in opts ? opts.name : null; let completer = T$0.CompleterOfEntry().new(); - this[S$0._moveTo](parent, name, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + this[S$1._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[149], 15480, 28, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15482, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0._remove$1](...args) { + [S$1._remove$1](...args) { return this.remove.apply(this, args); } [$remove]() { let completer = async.Completer.new(); - this[S$0._remove$1](dart.fn(() => { + this[S$1._remove$1](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; } - [S$0.$toUrl](...args) { + [S$1.$toUrl](...args) { return this.toURL.apply(this, args); } }; @@ -76219,18 +82775,19 @@ dart.addTypeTests(html$.Entry); dart.addTypeCaches(html$.Entry); dart.setMethodSignature(html$.Entry, () => ({ __proto__: dart.getMethods(html$.Entry.__proto__), - [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), - [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), - [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$1._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$1._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$1._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), - [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [$remove]: dart.fnType(async.Future, []), - [S$0.$toUrl]: dart.fnType(core.String, []) + [S$1.$toUrl]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(html$.Entry, () => ['__']); dart.setGetterSignature(html$.Entry, () => ({ __proto__: dart.getGetters(html$.Entry.__proto__), [S$0.$filesystem]: dart.nullable(html$.FileSystem), @@ -76239,34 +82796,42 @@ dart.setGetterSignature(html$.Entry, () => ({ [S$0.$isFile]: dart.nullable(core.bool), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Entry, I[148]); +dart.setLibraryUri(html$.Entry, I[150]); dart.registerExtension("Entry", html$.Entry); +dart.registerExtension("webkitFileSystemEntry", html$.Entry); +dart.registerExtension("FileSystemEntry", html$.Entry); html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { [S$0.$createDirectory](path, opts) { - if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + if (path == null) dart.nullFailed(I[149], 9614, 40, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9614, 52, "exclusive"); return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$createReader]() { let reader = this[S$0._createReader](); _js_helper.applyExtension("DirectoryReader", reader); + _js_helper.applyExtension("WebKitDirectoryReader", reader); + _js_helper.applyExtension("webkitFileSystemDirectoryReader", reader); + _js_helper.applyExtension("FileSystemDirectoryReader", reader); return reader; } [S$0.$getDirectory](path) { - if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + if (path == null) dart.nullFailed(I[149], 9633, 37, "path"); return this[S$0._getDirectory](path); } [S$0.$createFile](path, opts) { - if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + if (path == null) dart.nullFailed(I[149], 9642, 35, "path"); let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + if (exclusive == null) dart.nullFailed(I[149], 9642, 47, "exclusive"); return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); } [S$0.$getFile](path) { - if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + if (path == null) dart.nullFailed(I[149], 9651, 32, "path"); return this[S$0._getFile](path); } + static ['_#_#tearOff']() { + return html$.DirectoryEntry.__(); + } [S$0._createReader](...args) { return this.createReader.apply(this, args); } @@ -76305,10 +82870,10 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getDirectory](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + if (value == null) dart.nullFailed(I[149], 9699, 36, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76348,11 +82913,13 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { let options = opts && 'options' in opts ? opts.options : null; let completer = T$0.CompleterOfEntry().new(); this[S$0.__getFile](path, options, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + if (value == null) dart.nullFailed(I[149], 9743, 31, "value"); _js_helper.applyExtension("FileEntry", value); + _js_helper.applyExtension("webkitFileSystemFileEntry", value); + _js_helper.applyExtension("FileSystemFileEntry", value); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9748, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76365,7 +82932,7 @@ html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { this[S$0._removeRecursively](dart.fn(() => { completer.complete(); }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76396,26 +82963,40 @@ dart.setMethodSignature(html$.DirectoryEntry, () => ({ [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$0.$removeRecursively]: dart.fnType(async.Future, []) })); -dart.setLibraryUri(html$.DirectoryEntry, I[148]); +dart.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); +dart.setLibraryUri(html$.DirectoryEntry, I[150]); dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); -html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { - [S$0._readEntries](...args) { +dart.registerExtension("webkitFileSystemDirectoryEntry", html$.DirectoryEntry); +dart.registerExtension("FileSystemDirectoryEntry", html$.DirectoryEntry); +html$.DirectoryReader = class DirectoryReader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DirectoryReader.__(); + } + [S$1._readEntries](...args) { return this.readEntries.apply(this, args); } - [S$0.$readEntries]() { + [S$1.$readEntries]() { let completer = T$0.CompleterOfListOfEntry().new(); - this[S$0._readEntries](dart.fn(values => { - if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + this[S$1._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[149], 9787, 19, "values"); values[$forEach](dart.fn(value => { _js_helper.applyExtension("Entry", value); + _js_helper.applyExtension("webkitFileSystemEntry", value); + _js_helper.applyExtension("FileSystemEntry", value); let entry = html$.Entry.as(value); - if (dart.nullCheck(entry.isFile)) + if (dart.nullCheck(entry.isFile)) { _js_helper.applyExtension("FileEntry", entry); - else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemFileEntry", entry); + _js_helper.applyExtension("FileSystemFileEntry", entry); + } else if (dart.nullCheck(entry.isDirectory)) { + _js_helper.applyExtension("DirectoryEntry", entry); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", entry); + _js_helper.applyExtension("FileSystemDirectoryEntry", entry); + } }, T$.dynamicTovoid())); completer.complete(T$0.ListOfEntry().from(values)); }, T$0.ListTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + if (error == null) dart.nullFailed(I[149], 9804, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -76425,15 +83006,28 @@ dart.addTypeTests(html$.DirectoryReader); dart.addTypeCaches(html$.DirectoryReader); dart.setMethodSignature(html$.DirectoryReader, () => ({ __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) + [S$1._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) })); -dart.setLibraryUri(html$.DirectoryReader, I[148]); +dart.setStaticMethodSignature(html$.DirectoryReader, () => ['__']); +dart.setLibraryUri(html$.DirectoryReader, I[150]); dart.registerExtension("DirectoryReader", html$.DirectoryReader); +dart.registerExtension("WebKitDirectoryReader", html$.DirectoryReader); +dart.registerExtension("webkitFileSystemDirectoryReader", html$.DirectoryReader); +dart.registerExtension("FileSystemDirectoryReader", html$.DirectoryReader); html$.DivElement = class DivElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.DivElement.__(); + } static new() { return html$.document.createElement("div"); } + static ['_#new#tearOff']() { + return html$.DivElement.new(); + } + static ['_#created#tearOff']() { + return new html$.DivElement.created(); + } }; (html$.DivElement.created = function() { html$.DivElement.__proto__.created.call(this); @@ -76441,67 +83035,74 @@ html$.DivElement = class DivElement extends html$.HtmlElement { }).prototype = html$.DivElement.prototype; dart.addTypeTests(html$.DivElement); dart.addTypeCaches(html$.DivElement); -dart.setLibraryUri(html$.DivElement, I[148]); +dart.setStaticMethodSignature(html$.DivElement, () => ['__', 'new']); +dart.setLibraryUri(html$.DivElement, I[150]); dart.registerExtension("HTMLDivElement", html$.DivElement); html$.Document = class Document$ extends html$.Node { + static ['_#_#tearOff']() { + return html$.Document.__(); + } static new() { return html$.Document._create_1(); } + static ['_#new#tearOff']() { + return html$.Document.new(); + } static _create_1() { return new Document(); } get [S$0.$addressSpace]() { return this.addressSpace; } - get [S$0._body]() { + get [S$1._body]() { return this.body; } - set [S$0._body](value) { + set [S$1._body](value) { this.body = value; } - get [S$0.$contentType]() { + get [S$1.$contentType]() { return this.contentType; } - get [S$0.$cookie]() { + get [S$1.$cookie]() { return this.cookie; } - set [S$0.$cookie](value) { + set [S$1.$cookie](value) { this.cookie = value; } - get [S$0.$currentScript]() { + get [S$1.$currentScript]() { return this.currentScript; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.defaultView; } - get [S$0.$documentElement]() { + get [S$1.$documentElement]() { return this.documentElement; } - get [S$0.$domain]() { + get [S$1.$domain]() { return this.domain; } - get [S$0.$fullscreenEnabled]() { + get [S$1.$fullscreenEnabled]() { return this.fullscreenEnabled; } - get [S$0._head$1]() { + get [S$1._head$1]() { return this.head; } get [S.$hidden]() { return this.hidden; } - get [S$0.$implementation]() { + get [S$1.$implementation]() { return this.implementation; } - get [S$0._lastModified]() { + get [S$1._lastModified]() { return this.lastModified; } get [S$.$origin]() { return this.origin; } - get [S$0._preferredStylesheetSet]() { + get [S$1._preferredStylesheetSet]() { return this.preferredStylesheetSet; } get [S.$readyState]() { @@ -76580,13 +83181,13 @@ html$.Document = class Document$ extends html$.Node { return this.createTextNode.apply(this, args); } [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { - if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); - if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); - if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); - if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); - if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); - if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); - if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (view == null) dart.nullFailed(I[149], 10036, 29, "view"); + if (target == null) dart.nullFailed(I[149], 10036, 47, "target"); + if (identifier == null) dart.nullFailed(I[149], 10036, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[149], 10036, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[149], 10037, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[149], 10037, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[149], 10037, 35, "screenY"); if (force != null) { let target_1 = html$._convertDartToNative_EventTarget(target); return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); @@ -76664,7 +83265,7 @@ html$.Document = class Document$ extends html$.Node { return this.queryCommandValue.apply(this, args); } [S$1.$registerElement2](type, options = null) { - if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (type == null) dart.nullFailed(I[149], 10116, 36, "type"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$1._registerElement2_1](type, options_1); @@ -76680,9 +83281,6 @@ html$.Document = class Document$ extends html$.Node { [S$1._webkitExitFullscreen](...args) { return this.webkitExitFullscreen.apply(this, args); } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } get [S$1.$activeElement]() { return this.activeElement; } @@ -76704,6 +83302,9 @@ html$.Document = class Document$ extends html$.Node { get [S$1.$fonts]() { return this.fonts; } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } get [S._childElementCount]() { return this.childElementCount; } @@ -76824,37 +83425,37 @@ html$.Document = class Document$ extends html$.Node { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } - get [S.$onPaste]() { + get [S$.$onPaste]() { return html$.Element.pasteEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$1.$onPointerLockChange]() { @@ -76863,46 +83464,46 @@ html$.Document = class Document$ extends html$.Node { get [S$1.$onPointerLockError]() { return html$.Document.pointerLockErrorEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } get [S$1.$onReadyStateChange]() { return html$.Document.readyStateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } get [S$1.$onSecurityPolicyViolation]() { return html$.Document.securityPolicyViolationEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } get [S$1.$onSelectionChange]() { return html$.Document.selectionChangeEvent.forTarget(this); } - get [S.$onSelectStart]() { + get [S$.$onSelectStart]() { return html$.Element.selectStartEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -76936,7 +83537,7 @@ html$.Document = class Document$ extends html$.Node { return html$.Element.fullscreenErrorEvent.forTarget(this); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10424, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S$1.$supportsRegisterElement]() { @@ -76946,35 +83547,35 @@ html$.Document = class Document$ extends html$.Node { return this[S$1.$supportsRegisterElement]; } [S$1.$registerElement](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 10444, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 10444, 41, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); } [S.$createElement](tagName, typeExtension = null) { - if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10451, 32, "tagName"); return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); } [S$1._createElement_2](tagName) { - if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 10459, 27, "tagName"); return this.createElement(tagName); } [S$1._createElementNS_2](namespaceURI, qualifiedName) { - if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10464, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10464, 50, "qualifiedName"); return this.createElementNS(namespaceURI, qualifiedName); } [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { - if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); - if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + if (namespaceURI == null) dart.nullFailed(I[149], 10467, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[149], 10467, 55, "qualifiedName"); return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); } [S$1._createNodeIterator](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + if (root == null) dart.nullFailed(I[149], 10474, 41, "root"); return this.createNodeIterator(root, whatToShow, filter, false); } [S$1._createTreeWalker](root, whatToShow = null, filter = null) { - if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + if (root == null) dart.nullFailed(I[149], 10479, 37, "root"); return this.createTreeWalker(root, whatToShow, filter, false); } get [S$1.$visibilityState]() { @@ -77017,9 +83618,9 @@ dart.setMethodSignature(html$.Document, () => ({ [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77031,24 +83632,25 @@ dart.setMethodSignature(html$.Document, () => ({ [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) })); +dart.setStaticMethodSignature(html$.Document, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Document, () => ({ __proto__: dart.getGetters(html$.Document.__proto__), [S$0.$addressSpace]: dart.nullable(core.String), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$contentType]: dart.nullable(core.String), - [S$0.$cookie]: dart.nullable(core.String), - [S$0.$currentScript]: dart.nullable(html$.ScriptElement), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, - [S$0.$documentElement]: dart.nullable(html$.Element), - [S$0.$domain]: dart.nullable(core.String), - [S$0.$fullscreenEnabled]: dart.nullable(core.bool), - [S$0._head$1]: dart.nullable(html$.HeadElement), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$contentType]: dart.nullable(core.String), + [S$1.$cookie]: dart.nullable(core.String), + [S$1.$currentScript]: dart.nullable(html$.ScriptElement), + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, + [S$1.$documentElement]: dart.nullable(html$.Element), + [S$1.$domain]: dart.nullable(core.String), + [S$1.$fullscreenEnabled]: dart.nullable(core.bool), + [S$1._head$1]: dart.nullable(html$.HeadElement), [S.$hidden]: dart.nullable(core.bool), - [S$0.$implementation]: dart.nullable(html$.DomImplementation), - [S$0._lastModified]: dart.nullable(core.String), + [S$1.$implementation]: dart.nullable(html$.DomImplementation), + [S$1._lastModified]: dart.nullable(core.String), [S$.$origin]: dart.nullable(core.String), - [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S$1._preferredStylesheetSet]: dart.nullable(core.String), [S.$readyState]: dart.nullable(core.String), [S$1._referrer]: core.String, [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), @@ -77106,33 +83708,33 @@ dart.setGetterSignature(html$.Document, () => ({ [S.$onLoadedData]: async.Stream$(html$.Event), [S.$onLoadedMetadata]: async.Stream$(html$.Event), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), - [S.$onPaste]: async.Stream$(html$.ClipboardEvent), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$1.$onPointerLockChange]: async.Stream$(html$.Event), [S$1.$onPointerLockError]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), [S$1.$onReadyStateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), [S$1.$onSelectionChange]: async.Stream$(html$.Event), - [S.$onSelectStart]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSelectStart]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -77149,28 +83751,29 @@ dart.setGetterSignature(html$.Document, () => ({ })); dart.setSetterSignature(html$.Document, () => ({ __proto__: dart.getSetters(html$.Document.__proto__), - [S$0._body]: dart.nullable(html$.HtmlElement), - [S$0.$cookie]: dart.nullable(core.String), + [S$1._body]: dart.nullable(html$.HtmlElement), + [S$1.$cookie]: dart.nullable(core.String), [S$1.$rootScroller]: dart.nullable(html$.Element), [S$1._selectedStylesheetSet]: dart.nullable(core.String), [S$1._title]: core.String })); -dart.setLibraryUri(html$.Document, I[148]); +dart.setLibraryUri(html$.Document, I[150]); +dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); dart.defineLazy(html$.Document, { /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[322] || CT.C322; + return C[332] || CT.C332; }, /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[323] || CT.C323; + return C[333] || CT.C333; }, /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[325] || CT.C325; + return C[335] || CT.C335; }, /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[326] || CT.C326; + return C[336] || CT.C336; } }, false); dart.registerExtension("Document", html$.Document); @@ -77184,16 +83787,29 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { static new() { return html$.document.createDocumentFragment(); } + static ['_#new#tearOff']() { + return html$.DocumentFragment.new(); + } static html(html, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#html#tearOff'](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.html(html, {validator: validator, treeSanitizer: treeSanitizer}); + } static svg(svgContent, opts) { let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); } + static ['_#svg#tearOff'](svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return html$.DocumentFragment.svg(svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } get [S._children]() { return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); } @@ -77204,14 +83820,14 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { return dart.nullCheck(this[S$1._docChildren]); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + if (value == null) dart.nullFailed(I[149], 10532, 30, "value"); let copy = value[$toList](); let children = this[S.$children]; children[$clear](); children[$addAll](copy); } [S.$querySelectorAll](T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 10551, 61, "selectors"); return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); } get [S.$innerHtml]() { @@ -77229,15 +83845,18 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); } [S.$appendText](text) { - if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10578, 26, "text"); this[S.$append](html$.Text.new(text)); } [S.$appendHtml](text, opts) { - if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + if (text == null) dart.nullFailed(I[149], 10586, 26, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); } + static ['_#_#tearOff']() { + return html$.DocumentFragment.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -77259,7 +83878,7 @@ html$.DocumentFragment = class DocumentFragment extends html$.Node { }; dart.addTypeTests(html$.DocumentFragment); dart.addTypeCaches(html$.DocumentFragment); -html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; +html$.DocumentFragment[dart.implements] = () => [html$.ParentNode, html$.NonElementParentNode]; dart.setMethodSignature(html$.DocumentFragment, () => ({ __proto__: dart.getMethods(html$.DocumentFragment.__proto__), [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), @@ -77270,6 +83889,7 @@ dart.setMethodSignature(html$.DocumentFragment, () => ({ [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) })); +dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); dart.setGetterSignature(html$.DocumentFragment, () => ({ __proto__: dart.getGetters(html$.DocumentFragment.__proto__), [S._children]: html$.HtmlCollection, @@ -77284,13 +83904,16 @@ dart.setSetterSignature(html$.DocumentFragment, () => ({ [S.$children]: core.List$(html$.Element), [S.$innerHtml]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DocumentFragment, I[148]); +dart.setLibraryUri(html$.DocumentFragment, I[150]); dart.setFieldSignature(html$.DocumentFragment, () => ({ __proto__: dart.getFields(html$.DocumentFragment.__proto__), [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) })); dart.registerExtension("DocumentFragment", html$.DocumentFragment); -html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { +html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DocumentOrShadowRoot.__(); + } get [S$1.$activeElement]() { return this.activeElement; } @@ -77321,6 +83944,7 @@ dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); +dart.setStaticMethodSignature(html$.DocumentOrShadowRoot, () => ['__']); dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), [S$1.$activeElement]: dart.nullable(html$.Element), @@ -77328,9 +83952,12 @@ dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ [S$1.$pointerLockElement]: dart.nullable(html$.Element), [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) })); -dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); +dart.setLibraryUri(html$.DocumentOrShadowRoot, I[150]); dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.DocumentTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -77338,6 +83965,9 @@ html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline } return html$.DocumentTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.DocumentTimeline.new(options); + } static _create_1(options) { return new DocumentTimeline(options); } @@ -77347,16 +83977,24 @@ html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline }; dart.addTypeTests(html$.DocumentTimeline); dart.addTypeCaches(html$.DocumentTimeline); -dart.setLibraryUri(html$.DocumentTimeline, I[148]); +dart.setStaticMethodSignature(html$.DocumentTimeline, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.DocumentTimeline, I[150]); dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); -html$.DomError = class DomError extends _interceptors.Interceptor { +html$.DomError = class DomError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomError.__(); + } static new(name, message = null) { - if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); if (message != null) { return html$.DomError._create_1(name, message); } return html$.DomError._create_2(name); } + static ['_#new#tearOff'](name, message = null) { + if (name == null) dart.nullFailed(I[149], 10692, 27, "name"); + return html$.DomError.new(name, message); + } static _create_1(name, message) { return new DOMError(name, message); } @@ -77372,20 +84010,24 @@ html$.DomError = class DomError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DomError); dart.addTypeCaches(html$.DomError); +dart.setStaticMethodSignature(html$.DomError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.DomError, () => ({ __proto__: dart.getGetters(html$.DomError.__proto__), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomError, I[148]); +dart.setLibraryUri(html$.DomError, I[150]); dart.registerExtension("DOMError", html$.DomError); -html$.DomException = class DomException extends _interceptors.Interceptor { +html$.DomException = class DomException extends _interceptors.JavaScriptObject { get [$name]() { let errorName = this.name; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; return core.String.as(errorName); } + static ['_#_#tearOff']() { + return html$.DomException.__(); + } get [$message]() { return this.message; } @@ -77395,12 +84037,14 @@ html$.DomException = class DomException extends _interceptors.Interceptor { }; dart.addTypeTests(html$.DomException); dart.addTypeCaches(html$.DomException); +dart.setStaticMethodSignature(html$.DomException, () => ['__']); dart.setGetterSignature(html$.DomException, () => ({ __proto__: dart.getGetters(html$.DomException.__proto__), [$name]: core.String, [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomException, I[148]); +dart.setLibraryUri(html$.DomException, I[150]); +dart.setStaticFieldSignature(html$.DomException, () => ['INDEX_SIZE', 'HIERARCHY_REQUEST', 'WRONG_DOCUMENT', 'INVALID_CHARACTER', 'NO_MODIFICATION_ALLOWED', 'NOT_FOUND', 'NOT_SUPPORTED', 'INVALID_STATE', 'SYNTAX', 'INVALID_MODIFICATION', 'NAMESPACE', 'INVALID_ACCESS', 'TYPE_MISMATCH', 'SECURITY', 'NETWORK', 'ABORT', 'URL_MISMATCH', 'QUOTA_EXCEEDED', 'TIMEOUT', 'INVALID_NODE_TYPE', 'DATA_CLONE', 'ENCODING', 'NOT_READABLE', 'UNKNOWN', 'CONSTRAINT', 'TRANSACTION_INACTIVE', 'READ_ONLY', 'VERSION', 'OPERATION', 'NOT_ALLOWED', 'TYPE_ERROR']); dart.defineLazy(html$.DomException, { /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { return "IndexSizeError"; @@ -77497,7 +84141,10 @@ dart.defineLazy(html$.DomException, { } }, false); dart.registerExtension("DOMException", html$.DomException); -html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { +html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomImplementation.__(); + } [S$1.$createDocument](...args) { return this.createDocument.apply(this, args); } @@ -77520,9 +84167,13 @@ dart.setMethodSignature(html$.DomImplementation, () => ({ [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), [S$1.$hasFeature]: dart.fnType(core.bool, []) })); -dart.setLibraryUri(html$.DomImplementation, I[148]); +dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); +dart.setLibraryUri(html$.DomImplementation, I[150]); dart.registerExtension("DOMImplementation", html$.DomImplementation); -html$.DomIterator = class DomIterator extends _interceptors.Interceptor { +html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomIterator.__(); + } [S.$next](...args) { return this.next.apply(this, args); } @@ -77533,9 +84184,16 @@ dart.setMethodSignature(html$.DomIterator, () => ({ __proto__: dart.getMethods(html$.DomIterator.__proto__), [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.DomIterator, I[148]); +dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); +dart.setLibraryUri(html$.DomIterator, I[150]); dart.registerExtension("Iterator", html$.DomIterator); -html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { +html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomMatrixReadOnly.__(); + } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrixReadOnly.new(init); + } static new(init = null) { if (init != null) { return html$.DomMatrixReadOnly._create_1(init); @@ -77717,6 +84375,7 @@ dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.DomMatrixReadOnly, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -77744,15 +84403,21 @@ dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); +dart.setLibraryUri(html$.DomMatrixReadOnly, I[150]); dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static ['_#_#tearOff']() { + return html$.DomMatrix.__(); + } static new(init = null) { if (init != null) { return html$.DomMatrix._create_1(init); } return html$.DomMatrix._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.DomMatrix.new(init); + } static _create_1(init) { return new DOMMatrix(init); } @@ -77976,6 +84641,7 @@ dart.setMethodSignature(html$.DomMatrix, () => ({ [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(html$.DomMatrix, () => ['__', 'new', '_create_1', '_create_2', 'fromFloat32Array', 'fromFloat64Array', 'fromMatrix', '_fromMatrix_1', '_fromMatrix_2']); dart.setSetterSignature(html$.DomMatrix, () => ({ __proto__: dart.getSetters(html$.DomMatrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -78001,12 +84667,18 @@ dart.setSetterSignature(html$.DomMatrix, () => ({ [S$1.$m43]: dart.nullable(core.num), [S$1.$m44]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomMatrix, I[148]); +dart.setLibraryUri(html$.DomMatrix, I[150]); dart.registerExtension("DOMMatrix", html$.DomMatrix); -html$.DomParser = class DomParser extends _interceptors.Interceptor { +html$.DomParser = class DomParser extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomParser.__(); + } static new() { return html$.DomParser._create_1(); } + static ['_#new#tearOff']() { + return html$.DomParser.new(); + } static _create_1() { return new DOMParser(); } @@ -78020,9 +84692,13 @@ dart.setMethodSignature(html$.DomParser, () => ({ __proto__: dart.getMethods(html$.DomParser.__proto__), [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) })); -dart.setLibraryUri(html$.DomParser, I[148]); +dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.DomParser, I[150]); dart.registerExtension("DOMParser", html$.DomParser); -html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { +html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomPointReadOnly.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPointReadOnly._create_1(x, y, z, w); @@ -78038,6 +84714,9 @@ html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Intercepto } return html$.DomPointReadOnly._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPointReadOnly.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPointReadOnly(x, y, z, w); } @@ -78094,6 +84773,7 @@ dart.setMethodSignature(html$.DomPointReadOnly, () => ({ [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) })); +dart.setStaticMethodSignature(html$.DomPointReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setGetterSignature(html$.DomPointReadOnly, () => ({ __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78101,9 +84781,12 @@ dart.setGetterSignature(html$.DomPointReadOnly, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomPointReadOnly, I[148]); +dart.setLibraryUri(html$.DomPointReadOnly, I[150]); dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static ['_#_#tearOff']() { + return html$.DomPoint.__(); + } static new(x = null, y = null, z = null, w = null) { if (w != null) { return html$.DomPoint._create_1(x, y, z, w); @@ -78119,6 +84802,9 @@ html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { } return html$.DomPoint._create_5(); } + static ['_#new#tearOff'](x = null, y = null, z = null, w = null) { + return html$.DomPoint.new(x, y, z, w); + } static _create_1(x, y, z, w) { return new DOMPoint(x, y, z, w); } @@ -78171,6 +84857,7 @@ html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { }; dart.addTypeTests(html$.DomPoint); dart.addTypeCaches(html$.DomPoint); +dart.setStaticMethodSignature(html$.DomPoint, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromPoint', '_fromPoint_1', '_fromPoint_2']); dart.setSetterSignature(html$.DomPoint, () => ({ __proto__: dart.getSetters(html$.DomPoint.__proto__), [S$1.$w]: dart.nullable(core.num), @@ -78178,9 +84865,13 @@ dart.setSetterSignature(html$.DomPoint, () => ({ [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomPoint, I[148]); +dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); +dart.setLibraryUri(html$.DomPoint, I[150]); dart.registerExtension("DOMPoint", html$.DomPoint); -html$.DomQuad = class DomQuad extends _interceptors.Interceptor { +html$.DomQuad = class DomQuad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomQuad.__(); + } static new(p1 = null, p2 = null, p3 = null, p4 = null) { if (p4 != null) { let p1_1 = html_common.convertDartToNative_Dictionary(p1); @@ -78206,6 +84897,9 @@ html$.DomQuad = class DomQuad extends _interceptors.Interceptor { } return html$.DomQuad._create_5(); } + static ['_#new#tearOff'](p1 = null, p2 = null, p3 = null, p4 = null) { + return html$.DomQuad.new(p1, p2, p3, p4); + } static _create_1(p1, p2, p3, p4) { return new DOMQuad(p1, p2, p3, p4); } @@ -78257,6 +84951,7 @@ dart.setMethodSignature(html$.DomQuad, () => ({ __proto__: dart.getMethods(html$.DomQuad.__proto__), [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) })); +dart.setStaticMethodSignature(html$.DomQuad, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromQuad', '_fromQuad_1', '_fromQuad_2', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomQuad, () => ({ __proto__: dart.getGetters(html$.DomQuad.__proto__), [S$1.$p1]: dart.nullable(html$.DomPoint), @@ -78264,16 +84959,16 @@ dart.setGetterSignature(html$.DomQuad, () => ({ [S$1.$p3]: dart.nullable(html$.DomPoint), [S$1.$p4]: dart.nullable(html$.DomPoint) })); -dart.setLibraryUri(html$.DomQuad, I[148]); +dart.setLibraryUri(html$.DomQuad, I[150]); dart.registerExtension("DOMQuad", html$.DomQuad); const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); html$.ImmutableListMixin$ = dart.generic(E => { - var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$FixedSizeListIteratorOfE = () => (__t$FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class ImmutableListMixin extends core.Object { get iterator() { - return new (FixedSizeListIteratorOfE()).new(this); + return new (__t$FixedSizeListIteratorOfE()).new(this); } [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -78283,8 +84978,8 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } addAll(iterable) { - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38019, 27, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } sort(compare = null) { @@ -78294,24 +84989,24 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + if (index == null) dart.nullFailed(I[149], 38031, 19, "index"); E.as(element); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + if (index == null) dart.nullFailed(I[149], 38035, 22, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38035, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + if (index == null) dart.nullFailed(I[149], 38039, 19, "index"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38039, 38, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } removeAt(pos) { - if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + if (pos == null) dart.nullFailed(I[149], 38043, 18, "pos"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeLast() { @@ -78321,37 +85016,37 @@ html$.ImmutableListMixin$ = dart.generic(E => { dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38055, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + if (test == null) dart.nullFailed(I[149], 38059, 25, "test"); dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); - if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 38063, 21, "start"); + if (end == null) dart.nullFailed(I[149], 38063, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38063, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 38063, 64, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); - if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + if (start == null) dart.nullFailed(I[149], 38067, 24, "start"); + if (end == null) dart.nullFailed(I[149], 38067, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); - if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 38071, 25, "start"); + if (end == null) dart.nullFailed(I[149], 38071, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 38071, 53, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); - if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 38075, 22, "start"); + if (end == null) dart.nullFailed(I[149], 38075, 33, "end"); + __t$EN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); } } @@ -78403,7 +85098,7 @@ html$.ImmutableListMixin$ = dart.generic(E => { iterator: core.Iterator$(E), [$iterator]: core.Iterator$(E) })); - dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.setLibraryUri(ImmutableListMixin, I[150]); dart.defineExtensionMethods(ImmutableListMixin, [ 'add', 'addAll', @@ -78427,35 +85122,38 @@ html$.ImmutableListMixin$ = dart.generic(E => { }); html$.ImmutableListMixin = html$.ImmutableListMixin$(); dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); -const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36.new = function() { - Interceptor_ListMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36.prototype; -dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); -const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; -(Interceptor_ImmutableListMixin$36.new = function() { - Interceptor_ImmutableListMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); -html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { +const JavaScriptObject_ListMixin$36 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36.new = function() { + JavaScriptObject_ListMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); +const JavaScriptObject_ImmutableListMixin$36 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36 {}; +(JavaScriptObject_ImmutableListMixin$36.new = function() { + JavaScriptObject_ImmutableListMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); +html$.DomRectList = class DomRectList extends JavaScriptObject_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.DomRectList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11428, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11434, 25, "index"); T$0.RectangleOfnum().as(value); - if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + if (value == null) dart.nullFailed(I[149], 11434, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11440, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78486,7 +85184,7 @@ html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11468, 27, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78503,6 +85201,7 @@ dart.setMethodSignature(html$.DomRectList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) })); +dart.setStaticMethodSignature(html$.DomRectList, () => ['__']); dart.setGetterSignature(html$.DomRectList, () => ({ __proto__: dart.getGetters(html$.DomRectList.__proto__), [$length]: core.int @@ -78511,10 +85210,10 @@ dart.setSetterSignature(html$.DomRectList, () => ({ __proto__: dart.getSetters(html$.DomRectList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.DomRectList, I[148]); +dart.setLibraryUri(html$.DomRectList, I[150]); dart.registerExtension("ClientRectList", html$.DomRectList); dart.registerExtension("DOMRectList", html$.DomRectList); -html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { +html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.JavaScriptObject { [$toString]() { return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); } @@ -78523,11 +85222,11 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + if (other == null) dart.nullFailed(I[149], 11502, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -78540,12 +85239,12 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + if (other == null) dart.nullFailed(I[149], 11520, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + if (other == null) dart.nullFailed(I[149], 11530, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -78553,11 +85252,11 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + if (another == null) dart.nullFailed(I[149], 11543, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + if (another == null) dart.nullFailed(I[149], 11553, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -78572,6 +85271,12 @@ html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$.DomRectReadOnly.__(); + } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$.DomRectReadOnly.new(x, y, width, height); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$.DomRectReadOnly._create_1(x, y, width, height); @@ -78663,6 +85368,7 @@ dart.setMethodSignature(html$.DomRectReadOnly, () => ({ [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) })); +dart.setStaticMethodSignature(html$.DomRectReadOnly, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5', 'fromRect', '_fromRect_1', '_fromRect_2']); dart.setGetterSignature(html$.DomRectReadOnly, () => ({ __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), [$topLeft]: math.Point$(core.num), @@ -78684,37 +85390,40 @@ dart.setGetterSignature(html$.DomRectReadOnly, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.DomRectReadOnly, I[148]); +dart.setLibraryUri(html$.DomRectReadOnly, I[150]); dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); -const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$.new = function() { - Interceptor_ListMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$.prototype; -dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); -const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; -(Interceptor_ImmutableListMixin$36$.new = function() { - Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); -html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { +const JavaScriptObject_ListMixin$36$ = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$.new = function() { + JavaScriptObject_ListMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$, collection.ListMixin$(core.String)); +const JavaScriptObject_ImmutableListMixin$36$ = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$ {}; +(JavaScriptObject_ImmutableListMixin$36$.new = function() { + JavaScriptObject_ImmutableListMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); +html$.DomStringList = class DomStringList extends JavaScriptObject_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.DomStringList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 11678, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11684, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + if (value == null) dart.nullFailed(I[149], 11684, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + if (value == null) dart.nullFailed(I[149], 11690, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -78745,7 +85454,7 @@ html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11718, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -78755,13 +85464,14 @@ html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin html$.DomStringList.prototype[dart.isList] = true; dart.addTypeTests(html$.DomStringList); dart.addTypeCaches(html$.DomStringList); -html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; +html$.DomStringList[dart.implements] = () => [core.List$(core.String), _js_helper.JavaScriptIndexingBehavior$(core.String)]; dart.setMethodSignature(html$.DomStringList, () => ({ __proto__: dart.getMethods(html$.DomStringList.__proto__), [$_get]: dart.fnType(core.String, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); +dart.setStaticMethodSignature(html$.DomStringList, () => ['__']); dart.setGetterSignature(html$.DomStringList, () => ({ __proto__: dart.getGetters(html$.DomStringList.__proto__), [$length]: core.int @@ -78770,9 +85480,12 @@ dart.setSetterSignature(html$.DomStringList, () => ({ __proto__: dart.getSetters(html$.DomStringList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.DomStringList, I[148]); +dart.setLibraryUri(html$.DomStringList, I[150]); dart.registerExtension("DOMStringList", html$.DomStringList); -html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { +html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomStringMap.__(); + } [S$1.__delete__](...args) { return this.__delete__.apply(this, args); } @@ -78791,9 +85504,13 @@ dart.setMethodSignature(html$.DomStringMap, () => ({ [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), [S$.$item]: dart.fnType(core.String, [core.String]) })); -dart.setLibraryUri(html$.DomStringMap, I[148]); +dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); +dart.setLibraryUri(html$.DomStringMap, I[150]); dart.registerExtension("DOMStringMap", html$.DomStringMap); -html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { +html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.DomTokenList.__(); + } get [$length]() { return this.length; } @@ -78837,6 +85554,7 @@ dart.setMethodSignature(html$.DomTokenList, () => ({ [S$1.$supports]: dart.fnType(core.bool, [core.String]), [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.DomTokenList, () => ['__']); dart.setGetterSignature(html$.DomTokenList, () => ({ __proto__: dart.getGetters(html$.DomTokenList.__proto__), [$length]: core.int, @@ -78846,38 +85564,42 @@ dart.setSetterSignature(html$.DomTokenList, () => ({ __proto__: dart.getSetters(html$.DomTokenList.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.DomTokenList, I[148]); +dart.setLibraryUri(html$.DomTokenList, I[150]); dart.registerExtension("DOMTokenList", html$.DomTokenList); html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + static ['_#_wrap#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); + return new html$._ChildrenElementList._wrap(element); + } contains(element) { return this[S$1._childElements][$contains](element); } get isEmpty() { - return this[S$1._element$2][S._firstElementChild] == null; + return this[S$1._element][S._firstElementChild] == null; } get length() { return this[S$1._childElements][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + if (index == null) dart.nullFailed(I[149], 11795, 27, "index"); return html$.Element.as(this[S$1._childElements][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + if (index == null) dart.nullFailed(I[149], 11799, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); - this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + if (value == null) dart.nullFailed(I[149], 11799, 40, "value"); + this[S$1._element][S$._replaceChild](value, this[S$1._childElements][$_get](index)); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 11803, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); - this[S$1._element$2][S.$append](value); + if (value == null) dart.nullFailed(I[149], 11808, 23, "value"); + this[S$1._element][S.$append](value); return value; } get iterator() { @@ -78885,12 +85607,12 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); - html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 11815, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element], iterable); } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (_element == null) dart.nullFailed(I[149], 11819, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 11819, 59, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { iterable = T$0.ListOfElement().from(iterable); } @@ -78905,59 +85627,59 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11837, 25, "test"); this[S$1._filter$2](test, false); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + if (test == null) dart.nullFailed(I[149], 11841, 25, "test"); this[S$1._filter$2](test, true); } [S$1._filter$2](test, retainMatching) { - if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); - if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + if (test == null) dart.nullFailed(I[149], 11845, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[149], 11845, 49, "retainMatching"); let removed = null; if (dart.test(retainMatching)) { - removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + removed = this[S$1._element][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 11848, 42, "e"); return !dart.test(test(e)); }, T$0.ElementTobool())); } else { - removed = this[S$1._element$2][S.$children][$where](test); + removed = this[S$1._element][S.$children][$where](test); } - for (let e of core.Iterable.as(removed)) - dart.dsend(e, 'remove', []); + for (let e of removed) + e[$remove](); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); - if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + if (start == null) dart.nullFailed(I[149], 11855, 22, "start"); + if (end == null) dart.nullFailed(I[149], 11855, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnimplementedError.new()); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); - if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + if (start == null) dart.nullFailed(I[149], 11859, 25, "start"); + if (end == null) dart.nullFailed(I[149], 11859, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11859, 59, "iterable"); dart.throw(new core.UnimplementedError.new()); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); - if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + if (start == null) dart.nullFailed(I[149], 11863, 24, "start"); + if (end == null) dart.nullFailed(I[149], 11863, 35, "end"); dart.throw(new core.UnimplementedError.new()); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); - if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + if (start == null) dart.nullFailed(I[149], 11867, 21, "start"); + if (end == null) dart.nullFailed(I[149], 11867, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 11867, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 11868, 12, "skipCount"); dart.throw(new core.UnimplementedError.new()); } remove(object) { - return html$._ChildrenElementList._remove(this[S$1._element$2], object); + return html$._ChildrenElementList._remove(this[S$1._element], object); } static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); if (html$.Element.is(object)) { let element = object; if (element.parentNode == _element) { @@ -78968,60 +85690,60 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB return false; } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); html$.Element.as(element); - if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (element == null) dart.nullFailed(I[149], 11887, 34, "element"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } if (index == this.length) { - this[S$1._element$2][S.$append](element); + this[S$1._element][S.$append](element); } else { - this[S$1._element$2].insertBefore(element, this._get(index)); + this[S$1._element].insertBefore(element, this._get(index)); } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11898, 47, "iterable"); dart.throw(new core.UnimplementedError.new()); } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + if (index == null) dart.nullFailed(I[149], 11902, 19, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); dart.throw(new core.UnimplementedError.new()); } clear() { - this[S$1._element$2][S$._clearChildren](); + this[S$1._element][S$._clearChildren](); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); let result = this._get(index); if (result != null) { - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); } return result; } removeLast() { let result = this.last; - this[S$1._element$2][S$._removeChild](result); + this[S$1._element][S$._removeChild](result); return result; } get first() { - return html$._ChildrenElementList._first(this[S$1._element$2]); + return html$._ChildrenElementList._first(this[S$1._element]); } set first(value) { super.first = value; } static _first(_element) { - if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 11928, 33, "_element"); let result = _element[S._firstElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } get last() { - let result = this[S$1._element$2][S._lastElementChild]; + let result = this[S$1._element][S._lastElementChild]; if (result == null) dart.throw(new core.StateError.new("No elements")); return result; } @@ -79037,9 +85759,9 @@ html$._ChildrenElementList = class _ChildrenElementList extends collection.ListB } }; (html$._ChildrenElementList._wrap = function(element) { - if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + if (element == null) dart.nullFailed(I[149], 11781, 38, "element"); this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); - this[S$1._element$2] = element; + this[S$1._element] = element; ; }).prototype = html$._ChildrenElementList.prototype; dart.addTypeTests(html$._ChildrenElementList); @@ -79055,6 +85777,7 @@ dart.setMethodSignature(html$._ChildrenElementList, () => ({ [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) })); +dart.setStaticMethodSignature(html$._ChildrenElementList, () => ['_addAll', '_remove', '_first']); dart.setGetterSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), length: core.int, @@ -79066,10 +85789,10 @@ dart.setSetterSignature(html$._ChildrenElementList, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html$._ChildrenElementList, I[148]); +dart.setLibraryUri(html$._ChildrenElementList, I[150]); dart.setFieldSignature(html$._ChildrenElementList, () => ({ __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._element]: dart.finalFieldType(html$.Element), [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) })); dart.defineExtensionMethods(html$._ChildrenElementList, [ @@ -79111,32 +85834,36 @@ html$.ElementList$ = dart.generic(T => { dart.addTypeTests(ElementList); ElementList.prototype[_is_ElementList_default] = true; dart.addTypeCaches(ElementList); - dart.setLibraryUri(ElementList, I[148]); + dart.setLibraryUri(ElementList, I[150]); return ElementList; }); html$.ElementList = html$.ElementList$(); dart.addTypeTests(html$.ElementList, _is_ElementList_default); const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); html$._FrozenElementList$ = dart.generic(E => { - var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + var __t$ETovoid = () => (__t$ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); class _FrozenElementList extends collection.ListBase$(E) { + static ['_#_wrap#tearOff'](E, _nodeList) { + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); + return new (html$._FrozenElementList$(E))._wrap(_nodeList); + } get length() { return this[S$1._nodeList][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + if (index == null) dart.nullFailed(I[149], 12343, 21, "index"); return E.as(this[S$1._nodeList][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + if (index == null) dart.nullFailed(I[149], 12345, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + if (value == null) dart.nullFailed(I[149], 12345, 34, "value"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 12349, 18, "newLength"); dart.throw(new core.UnsupportedError.new("Cannot modify list")); } sort(compare = null) { @@ -79167,11 +85894,11 @@ html$._FrozenElementList$ = dart.generic(E => { return new html$._CssStyleDeclarationSet.new(this); } set classes(value) { - if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); return e[S.$classes] = value; - }, ETovoid())); + }, __t$ETovoid())); } get contentEdge() { return new html$._ContentCssListRect.new(this); @@ -79400,15 +86127,15 @@ html$._FrozenElementList$ = dart.generic(E => { } } (_FrozenElementList._wrap = function(_nodeList) { - if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + if (_nodeList == null) dart.nullFailed(I[149], 12336, 33, "_nodeList"); this[S$1._nodeList] = _nodeList; if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + if (element == null) dart.nullFailed(I[149], 12337, 34, "element"); return E.is(element); }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + if (e == null) dart.nullFailed(I[149], 12338, 93, "e"); return !E.is(e); - }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }, T$0.NodeTobool()))), I[149], 12337, 12, "this._nodeList.every((element) => element is E)"); }).prototype = _FrozenElementList.prototype; dart.addTypeTests(_FrozenElementList); _FrozenElementList.prototype[_is__FrozenElementList_default] = true; @@ -79509,7 +86236,7 @@ html$._FrozenElementList$ = dart.generic(E => { [$length]: core.int, classes: core.Iterable$(core.String) })); - dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setLibraryUri(_FrozenElementList, I[150]); dart.setFieldSignature(_FrozenElementList, () => ({ __proto__: dart.getFields(_FrozenElementList.__proto__), [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) @@ -79522,19 +86249,23 @@ html$._FrozenElementList = html$._FrozenElementList$(); dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { static createElement_tag(tag, typeExtension) { - if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (tag == null) dart.nullFailed(I[149], 15311, 43, "tag"); if (typeExtension != null) { return document.createElement(tag, typeExtension); } return document.createElement(tag); } + static ['_#new#tearOff']() { + return new html$._ElementFactoryProvider.new(); + } }; (html$._ElementFactoryProvider.new = function() { ; }).prototype = html$._ElementFactoryProvider.prototype; dart.addTypeTests(html$._ElementFactoryProvider); dart.addTypeCaches(html$._ElementFactoryProvider); -dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); +dart.setStaticMethodSignature(html$._ElementFactoryProvider, () => ['createElement_tag']); +dart.setLibraryUri(html$._ElementFactoryProvider, I[150]); html$.ScrollAlignment = class ScrollAlignment extends core.Object { get [S$1._value$7]() { return this[S$1._value$6]; @@ -79542,6 +86273,9 @@ html$.ScrollAlignment = class ScrollAlignment extends core.Object { set [S$1._value$7](value) { super[S$1._value$7] = value; } + static ['_#_internal#tearOff'](_value) { + return new html$.ScrollAlignment._internal(_value); + } toString() { return "ScrollAlignment." + dart.str(this[S$1._value$7]); } @@ -79552,27 +86286,37 @@ html$.ScrollAlignment = class ScrollAlignment extends core.Object { }).prototype = html$.ScrollAlignment.prototype; dart.addTypeTests(html$.ScrollAlignment); dart.addTypeCaches(html$.ScrollAlignment); -dart.setLibraryUri(html$.ScrollAlignment, I[148]); +dart.setLibraryUri(html$.ScrollAlignment, I[150]); dart.setFieldSignature(html$.ScrollAlignment, () => ({ __proto__: dart.getFields(html$.ScrollAlignment.__proto__), [S$1._value$7]: dart.finalFieldType(dart.dynamic) })); +dart.setStaticFieldSignature(html$.ScrollAlignment, () => ['TOP', 'CENTER', 'BOTTOM']); dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); dart.defineLazy(html$.ScrollAlignment, { /*html$.ScrollAlignment.TOP*/get TOP() { - return C[327] || CT.C327; + return C[337] || CT.C337; }, /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[328] || CT.C328; + return C[338] || CT.C338; }, /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - return C[329] || CT.C329; + return C[339] || CT.C339; } }, false); html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.EmbedElement.__(); + } static new() { return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); } + static ['_#new#tearOff']() { + return html$.EmbedElement.new(); + } + static ['_#created#tearOff']() { + return new html$.EmbedElement.created(); + } static get supported() { return html$.Element.isTagSupported("embed"); } @@ -79624,6 +86368,7 @@ dart.setMethodSignature(html$.EmbedElement, () => ({ [S$.__getter__]: dart.fnType(html$.Node, [core.String]), [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) })); +dart.setStaticMethodSignature(html$.EmbedElement, () => ['__', 'new']); dart.setGetterSignature(html$.EmbedElement, () => ({ __proto__: dart.getGetters(html$.EmbedElement.__proto__), [$height]: core.String, @@ -79640,17 +86385,25 @@ dart.setSetterSignature(html$.EmbedElement, () => ({ [S.$type]: core.String, [$width]: core.String })); -dart.setLibraryUri(html$.EmbedElement, I[148]); +dart.setStaticGetterSignature(html$.EmbedElement, () => ['supported']); +dart.setLibraryUri(html$.EmbedElement, I[150]); dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ErrorEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ErrorEvent._create_1(type, eventInitDict_1); } return html$.ErrorEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 15532, 29, "type"); + return html$.ErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ErrorEvent(type, eventInitDict); } @@ -79675,6 +86428,7 @@ html$.ErrorEvent = class ErrorEvent$ extends html$.Event { }; dart.addTypeTests(html$.ErrorEvent); dart.addTypeCaches(html$.ErrorEvent); +dart.setStaticMethodSignature(html$.ErrorEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ErrorEvent, () => ({ __proto__: dart.getGetters(html$.ErrorEvent.__proto__), [S$1.$colno]: dart.nullable(core.int), @@ -79683,17 +86437,25 @@ dart.setGetterSignature(html$.ErrorEvent, () => ({ [S$1.$lineno]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ErrorEvent, I[148]); +dart.setLibraryUri(html$.ErrorEvent, I[150]); dart.registerExtension("ErrorEvent", html$.ErrorEvent); html$.EventSource = class EventSource$ extends html$.EventTarget { static new(url, opts) { - if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); return html$.EventSource._factoryEventSource(url, parsedOptions); } + static ['_#new#tearOff'](url, opts) { + if (url == null) dart.nullFailed(I[149], 15704, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + return html$.EventSource.new(url, {withCredentials: withCredentials}); + } + static ['_#_#tearOff']() { + return html$.EventSource.__(); + } static _factoryEventSource(url, eventSourceInitDict = null) { - if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (url == null) dart.nullFailed(I[149], 15742, 49, "url"); if (eventSourceInitDict != null) { let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); return html$.EventSource._create_1(url, eventSourceInitDict_1); @@ -79734,6 +86496,7 @@ dart.setMethodSignature(html$.EventSource, () => ({ __proto__: dart.getMethods(html$.EventSource.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.EventSource, () => ['new', '__', '_factoryEventSource', '_create_1', '_create_2']); dart.setGetterSignature(html$.EventSource, () => ({ __proto__: dart.getGetters(html$.EventSource.__proto__), [S.$readyState]: dart.nullable(core.int), @@ -79743,16 +86506,17 @@ dart.setGetterSignature(html$.EventSource, () => ({ [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S$1.$onOpen]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.EventSource, I[148]); +dart.setLibraryUri(html$.EventSource, I[150]); +dart.setStaticFieldSignature(html$.EventSource, () => ['errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.EventSource, { /*html$.EventSource.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.EventSource.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.EventSource.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.EventSource.CLOSED*/get CLOSED() { return 2; @@ -79766,13 +86530,17 @@ dart.defineLazy(html$.EventSource, { }, false); dart.registerExtension("EventSource", html$.EventSource); html$.Events = class Events extends core.Object { + static ['_#new#tearOff'](_ptr) { + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); + return new html$.Events.new(_ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15826, 36, "type"); return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); } }; (html$.Events.new = function(_ptr) { - if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + if (_ptr == null) dart.nullFailed(I[149], 15824, 15, "_ptr"); this[S$1._ptr] = _ptr; ; }).prototype = html$.Events.prototype; @@ -79782,14 +86550,18 @@ dart.setMethodSignature(html$.Events, () => ({ __proto__: dart.getMethods(html$.Events.__proto__), _get: dart.fnType(async.Stream$(html$.Event), [core.String]) })); -dart.setLibraryUri(html$.Events, I[148]); +dart.setLibraryUri(html$.Events, I[150]); dart.setFieldSignature(html$.Events, () => ({ __proto__: dart.getFields(html$.Events.__proto__), [S$1._ptr]: dart.finalFieldType(html$.EventTarget) })); html$.ElementEvents = class ElementEvents extends html$.Events { + static ['_#new#tearOff'](ptr) { + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); + return new html$.ElementEvents.new(ptr); + } _get(type) { - if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (type == null) dart.nullFailed(I[149], 15851, 36, "type"); if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { if (dart.test(html_common.Device.isWebKit)) { return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); @@ -79799,19 +86571,23 @@ html$.ElementEvents = class ElementEvents extends html$.Events { } }; (html$.ElementEvents.new = function(ptr) { - if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + if (ptr == null) dart.nullFailed(I[149], 15849, 25, "ptr"); html$.ElementEvents.__proto__.new.call(this, ptr); ; }).prototype = html$.ElementEvents.prototype; dart.addTypeTests(html$.ElementEvents); dart.addTypeCaches(html$.ElementEvents); -dart.setLibraryUri(html$.ElementEvents, I[148]); +dart.setLibraryUri(html$.ElementEvents, I[150]); +dart.setStaticFieldSignature(html$.ElementEvents, () => ['webkitEvents']); dart.defineLazy(html$.ElementEvents, { /*html$.ElementEvents.webkitEvents*/get webkitEvents() { return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); } }, false); html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ExtendableMessageEvent.__(); + } get [S$.$data]() { return this.data; } @@ -79830,6 +86606,7 @@ html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.Extend }; dart.addTypeTests(html$.ExtendableMessageEvent); dart.addTypeCaches(html$.ExtendableMessageEvent); +dart.setStaticMethodSignature(html$.ExtendableMessageEvent, () => ['__']); dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), [S$.$data]: dart.nullable(core.Object), @@ -79838,9 +86615,12 @@ dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), [S.$source]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); +dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); -html$.External = class External extends _interceptors.Interceptor { +html$.External = class External extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.External.__(); + } [S$1.$AddSearchProvider](...args) { return this.AddSearchProvider.apply(this, args); } @@ -79855,9 +86635,13 @@ dart.setMethodSignature(html$.External, () => ({ [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.External, I[148]); +dart.setStaticMethodSignature(html$.External, () => ['__']); +dart.setLibraryUri(html$.External, I[150]); dart.registerExtension("External", html$.External); -html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { +html$.FaceDetector = class FaceDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FaceDetector.__(); + } static new(faceDetectorOptions = null) { if (faceDetectorOptions != null) { let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); @@ -79865,6 +86649,9 @@ html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { } return html$.FaceDetector._create_2(); } + static ['_#new#tearOff'](faceDetectorOptions = null) { + return html$.FaceDetector.new(faceDetectorOptions); + } static _create_1(faceDetectorOptions) { return new FaceDetector(faceDetectorOptions); } @@ -79881,14 +86668,22 @@ dart.setMethodSignature(html$.FaceDetector, () => ({ __proto__: dart.getMethods(html$.FaceDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.FaceDetector, I[148]); +dart.setStaticMethodSignature(html$.FaceDetector, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.FaceDetector, I[150]); dart.registerExtension("FaceDetector", html$.FaceDetector); html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.FederatedCredential.__(); + } static new(data) { - if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); let data_1 = html_common.convertDartToNative_Dictionary(data); return html$.FederatedCredential._create_1(data_1); } + static ['_#new#tearOff'](data) { + if (data == null) dart.nullFailed(I[149], 16016, 35, "data"); + return html$.FederatedCredential.new(data); + } static _create_1(data) { return new FederatedCredential(data); } @@ -79908,6 +86703,7 @@ html$.FederatedCredential = class FederatedCredential$ extends html$.Credential dart.addTypeTests(html$.FederatedCredential); dart.addTypeCaches(html$.FederatedCredential); html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setStaticMethodSignature(html$.FederatedCredential, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FederatedCredential, () => ({ __proto__: dart.getGetters(html$.FederatedCredential.__proto__), [S$.$protocol]: dart.nullable(core.String), @@ -79915,15 +86711,23 @@ dart.setGetterSignature(html$.FederatedCredential, () => ({ [S$.$iconUrl]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FederatedCredential, I[148]); +dart.setLibraryUri(html$.FederatedCredential, I[150]); dart.registerExtension("FederatedCredential", html$.FederatedCredential); html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.FetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16045, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16045, 39, "eventInitDict"); + return html$.FetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FetchEvent(type, eventInitDict); } @@ -79949,6 +86753,7 @@ dart.setMethodSignature(html$.FetchEvent, () => ({ __proto__: dart.getMethods(html$.FetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.FetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FetchEvent, () => ({ __proto__: dart.getGetters(html$.FetchEvent.__proto__), [S$1.$clientId]: dart.nullable(core.String), @@ -79956,12 +86761,21 @@ dart.setGetterSignature(html$.FetchEvent, () => ({ [S$1.$preloadResponse]: async.Future, [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.FetchEvent, I[148]); +dart.setLibraryUri(html$.FetchEvent, I[150]); dart.registerExtension("FetchEvent", html$.FetchEvent); html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FieldSetElement.__(); + } static new() { return html$.document.createElement("fieldset"); } + static ['_#new#tearOff']() { + return html$.FieldSetElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FieldSetElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -80014,6 +86828,7 @@ dart.setMethodSignature(html$.FieldSetElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.FieldSetElement, () => ['__', 'new']); dart.setGetterSignature(html$.FieldSetElement, () => ({ __proto__: dart.getGetters(html$.FieldSetElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -80030,18 +86845,26 @@ dart.setSetterSignature(html$.FieldSetElement, () => ({ [S$.$disabled]: dart.nullable(core.bool), [$name]: core.String })); -dart.setLibraryUri(html$.FieldSetElement, I[148]); +dart.setLibraryUri(html$.FieldSetElement, I[150]); dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); html$.File = class File$ extends html$.Blob { + static ['_#_#tearOff']() { + return html$.File.__(); + } static new(fileBits, fileName, options = null) { - if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); - if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.File._create_1(fileBits, fileName, options_1); } return html$.File._create_2(fileBits, fileName); } + static ['_#new#tearOff'](fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[149], 16126, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[149], 16126, 46, "fileName"); + return html$.File.new(fileBits, fileName, options); + } static _create_1(fileBits, fileName, options) { return new File(fileBits, fileName, options); } @@ -80066,6 +86889,7 @@ html$.File = class File$ extends html$.Blob { }; dart.addTypeTests(html$.File); dart.addTypeCaches(html$.File); +dart.setStaticMethodSignature(html$.File, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.File, () => ({ __proto__: dart.getGetters(html$.File.__proto__), [S$1.$lastModified]: dart.nullable(core.int), @@ -80074,20 +86898,23 @@ dart.setGetterSignature(html$.File, () => ({ [$name]: core.String, [S$1.$relativePath]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.File, I[148]); +dart.setLibraryUri(html$.File, I[150]); dart.registerExtension("File", html$.File); html$.FileEntry = class FileEntry extends html$.Entry { + static ['_#_#tearOff']() { + return html$.FileEntry.__(); + } [S$1._createWriter](...args) { return this.createWriter.apply(this, args); } [S$1.$createWriter]() { let completer = T$0.CompleterOfFileWriter().new(); this[S$1._createWriter](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + if (value == null) dart.nullFailed(I[149], 16178, 20, "value"); _js_helper.applyExtension("FileWriter", value); completer.complete(value); }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80101,7 +86928,7 @@ html$.FileEntry = class FileEntry extends html$.Entry { _js_helper.applyExtension("File", value); completer.complete(value); }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -80116,37 +86943,43 @@ dart.setMethodSignature(html$.FileEntry, () => ({ [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$file]: dart.fnType(async.Future$(html$.File), []) })); -dart.setLibraryUri(html$.FileEntry, I[148]); +dart.setStaticMethodSignature(html$.FileEntry, () => ['__']); +dart.setLibraryUri(html$.FileEntry, I[150]); dart.registerExtension("FileEntry", html$.FileEntry); -const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$0.new = function() { - Interceptor_ListMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$0.prototype; -dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); -const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; -(Interceptor_ImmutableListMixin$36$0.new = function() { - Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$0.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); -html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { +dart.registerExtension("webkitFileSystemFileEntry", html$.FileEntry); +dart.registerExtension("FileSystemFileEntry", html$.FileEntry); +const JavaScriptObject_ListMixin$36$0 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$0.new = function() { + JavaScriptObject_ListMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$0, collection.ListMixin$(html$.File)); +const JavaScriptObject_ImmutableListMixin$36$0 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$0 {}; +(JavaScriptObject_ImmutableListMixin$36$0.new = function() { + JavaScriptObject_ImmutableListMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); +html$.FileList = class FileList extends JavaScriptObject_ImmutableListMixin$36$0 { + static ['_#_#tearOff']() { + return html$.FileList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 16218, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + if (index == null) dart.nullFailed(I[149], 16224, 25, "index"); html$.File.as(value); - if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + if (value == null) dart.nullFailed(I[149], 16224, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + if (value == null) dart.nullFailed(I[149], 16230, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -80177,7 +87010,7 @@ html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + if (index == null) dart.nullFailed(I[149], 16258, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -80194,6 +87027,7 @@ dart.setMethodSignature(html$.FileList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) })); +dart.setStaticMethodSignature(html$.FileList, () => ['__']); dart.setGetterSignature(html$.FileList, () => ({ __proto__: dart.getGetters(html$.FileList.__proto__), [$length]: core.int @@ -80202,7 +87036,7 @@ dart.setSetterSignature(html$.FileList, () => ({ __proto__: dart.getSetters(html$.FileList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.FileList, I[148]); +dart.setLibraryUri(html$.FileList, I[150]); dart.registerExtension("FileList", html$.FileList); html$.FileReader = class FileReader$ extends html$.EventTarget { get [S.$result]() { @@ -80212,9 +87046,15 @@ html$.FileReader = class FileReader$ extends html$.EventTarget { } return res; } + static ['_#_#tearOff']() { + return html$.FileReader.__(); + } static new() { return html$.FileReader._create_1(); } + static ['_#new#tearOff']() { + return html$.FileReader.new(); + } static _create_1() { return new FileReader(); } @@ -80264,6 +87104,7 @@ dart.setMethodSignature(html$.FileReader, () => ({ [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.FileReader, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.FileReader, () => ({ __proto__: dart.getGetters(html$.FileReader.__proto__), [S.$result]: dart.nullable(core.Object), @@ -80276,25 +87117,26 @@ dart.setGetterSignature(html$.FileReader, () => ({ [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), [S$.$onProgress]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.FileReader, I[148]); +dart.setLibraryUri(html$.FileReader, I[150]); +dart.setStaticFieldSignature(html$.FileReader, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'DONE', 'EMPTY', 'LOADING']); dart.defineLazy(html$.FileReader, { /*html$.FileReader.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileReader.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.FileReader.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.FileReader.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileReader.DONE*/get DONE() { return 2; @@ -80307,7 +87149,10 @@ dart.defineLazy(html$.FileReader, { } }, false); dart.registerExtension("FileReader", html$.FileReader); -html$.FileSystem = class FileSystem extends _interceptors.Interceptor { +html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FileSystem.__(); + } static get supported() { return !!window.webkitRequestFileSystem; } @@ -80320,14 +87165,22 @@ html$.FileSystem = class FileSystem extends _interceptors.Interceptor { }; dart.addTypeTests(html$.FileSystem); dart.addTypeCaches(html$.FileSystem); +dart.setStaticMethodSignature(html$.FileSystem, () => ['__']); dart.setGetterSignature(html$.FileSystem, () => ({ __proto__: dart.getGetters(html$.FileSystem.__proto__), [$name]: dart.nullable(core.String), [S$1.$root]: dart.nullable(html$.DirectoryEntry) })); -dart.setLibraryUri(html$.FileSystem, I[148]); +dart.setStaticGetterSignature(html$.FileSystem, () => ['supported']); +dart.setLibraryUri(html$.FileSystem, I[150]); dart.registerExtension("DOMFileSystem", html$.FileSystem); +dart.registerExtension("WebKitFileSystem", html$.FileSystem); +dart.registerExtension("webkitFileSystem", html$.FileSystem); +dart.registerExtension("FileSystem", html$.FileSystem); html$.FileWriter = class FileWriter extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FileWriter.__(); + } get [S.$error]() { return this.error; } @@ -80380,6 +87233,7 @@ dart.setMethodSignature(html$.FileWriter, () => ({ [$truncate]: dart.fnType(dart.void, [core.int]), [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) })); +dart.setStaticMethodSignature(html$.FileWriter, () => ['__']); dart.setGetterSignature(html$.FileWriter, () => ({ __proto__: dart.getGetters(html$.FileWriter.__proto__), [S.$error]: dart.nullable(html$.DomException), @@ -80393,25 +87247,26 @@ dart.setGetterSignature(html$.FileWriter, () => ({ [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.FileWriter, I[148]); +dart.setLibraryUri(html$.FileWriter, I[150]); +dart.setStaticFieldSignature(html$.FileWriter, () => ['abortEvent', 'errorEvent', 'progressEvent', 'writeEvent', 'writeEndEvent', 'writeStartEvent', 'DONE', 'INIT', 'WRITING']); dart.defineLazy(html$.FileWriter, { /*html$.FileWriter.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[336] || CT.C336; + return C[346] || CT.C346; }, /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[337] || CT.C337; + return C[347] || CT.C347; }, /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[338] || CT.C338; + return C[348] || CT.C348; }, /*html$.FileWriter.DONE*/get DONE() { return 2; @@ -80425,14 +87280,21 @@ dart.defineLazy(html$.FileWriter, { }, false); dart.registerExtension("FileWriter", html$.FileWriter); html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.FocusEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FocusEvent._create_1(type, eventInitDict_1); } return html$.FocusEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16527, 29, "type"); + return html$.FocusEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FocusEvent(type, eventInitDict); } @@ -80448,23 +87310,32 @@ html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { }; dart.addTypeTests(html$.FocusEvent); dart.addTypeCaches(html$.FocusEvent); +dart.setStaticMethodSignature(html$.FocusEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FocusEvent, () => ({ __proto__: dart.getGetters(html$.FocusEvent.__proto__), [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), [S$1._get_relatedTarget]: dart.dynamic })); -dart.setLibraryUri(html$.FocusEvent, I[148]); +dart.setLibraryUri(html$.FocusEvent, I[150]); dart.registerExtension("FocusEvent", html$.FocusEvent); -html$.FontFace = class FontFace$ extends _interceptors.Interceptor { +html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFace.__(); + } static new(family, source, descriptors = null) { - if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); - if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); if (descriptors != null) { let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); return html$.FontFace._create_1(family, source, descriptors_1); } return html$.FontFace._create_2(family, source); } + static ['_#new#tearOff'](family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[149], 16556, 27, "family"); + if (source == null) dart.nullFailed(I[149], 16556, 42, "source"); + return html$.FontFace.new(family, source, descriptors); + } static _create_1(family, source, descriptors) { return new FontFace(family, source, descriptors); } @@ -80535,6 +87406,7 @@ dart.setMethodSignature(html$.FontFace, () => ({ __proto__: dart.getMethods(html$.FontFace.__proto__), [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) })); +dart.setStaticMethodSignature(html$.FontFace, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFace, () => ({ __proto__: dart.getGetters(html$.FontFace.__proto__), [S$0.$display]: dart.nullable(core.String), @@ -80559,9 +87431,12 @@ dart.setSetterSignature(html$.FontFace, () => ({ [S$1.$variant]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FontFace, I[148]); +dart.setLibraryUri(html$.FontFace, I[150]); dart.registerExtension("FontFace", html$.FontFace); html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.FontFaceSet.__(); + } get [S$.$status]() { return this.status; } @@ -80597,13 +87472,14 @@ dart.addTypeTests(html$.FontFaceSet); dart.addTypeCaches(html$.FontFaceSet); dart.setMethodSignature(html$.FontFaceSet, () => ({ __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [$add]: dart.fnType(dart.nullable(html$.FontFaceSet), [html$.FontFace]), [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), [$clear]: dart.fnType(dart.void, []), [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) })); +dart.setStaticMethodSignature(html$.FontFaceSet, () => ['__']); dart.setGetterSignature(html$.FontFaceSet, () => ({ __proto__: dart.getGetters(html$.FontFaceSet.__proto__), [S$.$status]: dart.nullable(core.String), @@ -80611,28 +87487,36 @@ dart.setGetterSignature(html$.FontFaceSet, () => ({ [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) })); -dart.setLibraryUri(html$.FontFaceSet, I[148]); +dart.setLibraryUri(html$.FontFaceSet, I[150]); +dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); dart.defineLazy(html$.FontFaceSet, { /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[339] || CT.C339; + return C[349] || CT.C349; }, /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[340] || CT.C340; + return C[350] || CT.C350; }, /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - return C[341] || CT.C341; + return C[351] || CT.C351; } }, false); dart.registerExtension("FontFaceSet", html$.FontFaceSet); html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.FontFaceSetLoadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); } return html$.FontFaceSetLoadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16661, 39, "type"); + return html$.FontFaceSetLoadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new FontFaceSetLoadEvent(type, eventInitDict); } @@ -80645,32 +87529,45 @@ html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { }; dart.addTypeTests(html$.FontFaceSetLoadEvent); dart.addTypeCaches(html$.FontFaceSetLoadEvent); +dart.setStaticMethodSignature(html$.FontFaceSetLoadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) })); -dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); +dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[150]); dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); -html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { +html$.FontFaceSource = class FontFaceSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FontFaceSource.__(); + } get [S$1.$fonts]() { return this.fonts; } }; dart.addTypeTests(html$.FontFaceSource); dart.addTypeCaches(html$.FontFaceSource); +dart.setStaticMethodSignature(html$.FontFaceSource, () => ['__']); dart.setGetterSignature(html$.FontFaceSource, () => ({ __proto__: dart.getGetters(html$.FontFaceSource.__proto__), [S$1.$fonts]: dart.nullable(html$.FontFaceSet) })); -dart.setLibraryUri(html$.FontFaceSource, I[148]); +dart.setLibraryUri(html$.FontFaceSource, I[150]); dart.registerExtension("FontFaceSource", html$.FontFaceSource); html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.ForeignFetchEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 16702, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 16702, 46, "eventInitDict"); + return html$.ForeignFetchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ForeignFetchEvent(type, eventInitDict); } @@ -80690,20 +87587,27 @@ dart.setMethodSignature(html$.ForeignFetchEvent, () => ({ __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.ForeignFetchEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), [S$.$origin]: dart.nullable(core.String), [S$.$request]: dart.nullable(html$._Request) })); -dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); +dart.setLibraryUri(html$.ForeignFetchEvent, I[150]); dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); -html$.FormData = class FormData$ extends _interceptors.Interceptor { +html$.FormData = class FormData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.FormData.__(); + } static new(form = null) { if (form != null) { return html$.FormData._create_1(form); } return html$.FormData._create_2(); } + static ['_#new#tearOff'](form = null) { + return html$.FormData.new(form); + } static _create_1(form) { return new FormData(form); } @@ -80747,12 +87651,23 @@ dart.setMethodSignature(html$.FormData, () => ({ [S$.$has]: dart.fnType(core.bool, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) })); -dart.setLibraryUri(html$.FormData, I[148]); +dart.setStaticMethodSignature(html$.FormData, () => ['__', 'new', '_create_1', '_create_2']); +dart.setStaticGetterSignature(html$.FormData, () => ['supported']); +dart.setLibraryUri(html$.FormData, I[150]); dart.registerExtension("FormData", html$.FormData); html$.FormElement = class FormElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.FormElement.__(); + } static new() { return html$.document.createElement("form"); } + static ['_#new#tearOff']() { + return html$.FormElement.new(); + } + static ['_#created#tearOff']() { + return new html$.FormElement.created(); + } get [S$1.$acceptCharset]() { return this.acceptCharset; } @@ -80854,6 +87769,7 @@ dart.setMethodSignature(html$.FormElement, () => ({ [S$1.$reset]: dart.fnType(dart.void, []), [S$1.$submit]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.FormElement, () => ['__', 'new']); dart.setGetterSignature(html$.FormElement, () => ({ __proto__: dart.getGetters(html$.FormElement.__proto__), [S$1.$acceptCharset]: dart.nullable(core.String), @@ -80879,9 +87795,12 @@ dart.setSetterSignature(html$.FormElement, () => ({ [S$1.$noValidate]: dart.nullable(core.bool), [S.$target]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.FormElement, I[148]); +dart.setLibraryUri(html$.FormElement, I[150]); dart.registerExtension("HTMLFormElement", html$.FormElement); -html$.Gamepad = class Gamepad extends _interceptors.Interceptor { +html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Gamepad.__(); + } get [S$1.$axes]() { return this.axes; } @@ -80915,6 +87834,7 @@ html$.Gamepad = class Gamepad extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Gamepad); dart.addTypeCaches(html$.Gamepad); +dart.setStaticMethodSignature(html$.Gamepad, () => ['__']); dart.setGetterSignature(html$.Gamepad, () => ({ __proto__: dart.getGetters(html$.Gamepad.__proto__), [S$1.$axes]: dart.nullable(core.List$(core.num)), @@ -80928,9 +87848,12 @@ dart.setGetterSignature(html$.Gamepad, () => ({ [S$1.$pose]: dart.nullable(html$.GamepadPose), [S$.$timestamp]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Gamepad, I[148]); +dart.setLibraryUri(html$.Gamepad, I[150]); dart.registerExtension("Gamepad", html$.Gamepad); -html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { +html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadButton.__(); + } get [S$.$pressed]() { return this.pressed; } @@ -80943,23 +87866,31 @@ html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { }; dart.addTypeTests(html$.GamepadButton); dart.addTypeCaches(html$.GamepadButton); +dart.setStaticMethodSignature(html$.GamepadButton, () => ['__']); dart.setGetterSignature(html$.GamepadButton, () => ({ __proto__: dart.getGetters(html$.GamepadButton.__proto__), [S$.$pressed]: dart.nullable(core.bool), [S$1.$touched]: dart.nullable(core.bool), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.GamepadButton, I[148]); +dart.setLibraryUri(html$.GamepadButton, I[150]); dart.registerExtension("GamepadButton", html$.GamepadButton); html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.GamepadEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.GamepadEvent._create_1(type, eventInitDict_1); } return html$.GamepadEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 16914, 31, "type"); + return html$.GamepadEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new GamepadEvent(type, eventInitDict); } @@ -80972,13 +87903,17 @@ html$.GamepadEvent = class GamepadEvent$ extends html$.Event { }; dart.addTypeTests(html$.GamepadEvent); dart.addTypeCaches(html$.GamepadEvent); +dart.setStaticMethodSignature(html$.GamepadEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.GamepadEvent, () => ({ __proto__: dart.getGetters(html$.GamepadEvent.__proto__), [S$1.$gamepad]: dart.nullable(html$.Gamepad) })); -dart.setLibraryUri(html$.GamepadEvent, I[148]); +dart.setLibraryUri(html$.GamepadEvent, I[150]); dart.registerExtension("GamepadEvent", html$.GamepadEvent); -html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { +html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.GamepadPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -81006,6 +87941,7 @@ html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { }; dart.addTypeTests(html$.GamepadPose); dart.addTypeCaches(html$.GamepadPose); +dart.setStaticMethodSignature(html$.GamepadPose, () => ['__']); dart.setGetterSignature(html$.GamepadPose, () => ({ __proto__: dart.getGetters(html$.GamepadPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -81017,9 +87953,9 @@ dart.setGetterSignature(html$.GamepadPose, () => ({ [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.GamepadPose, I[148]); +dart.setLibraryUri(html$.GamepadPose, I[150]); dart.registerExtension("GamepadPose", html$.GamepadPose); -html$.Geolocation = class Geolocation extends _interceptors.Interceptor { +html$.Geolocation = class Geolocation extends _interceptors.JavaScriptObject { [S$1.$getCurrentPosition](opts) { let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; let timeout = opts && 'timeout' in opts ? opts.timeout : null; @@ -81037,10 +87973,9 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { let completer = T$0.CompleterOfGeoposition().new(); try { this[S$1._getCurrentPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); completer.complete(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); completer.completeError(error); }, T$0.PositionErrorTovoid()), options); } catch (e$) { @@ -81069,16 +88004,15 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { } let watchId = null; let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + if (!(watchId != null)) dart.assertFailed(null, I[149], 17005, 22, "watchId != null"); this[S$1._clearWatch](dart.nullCheck(watchId)); }, T$.VoidToNull())}); controller.onListen = dart.fn(() => { - if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + if (!(watchId == null)) dart.assertFailed(null, I[149], 17009, 14, "watchId == null"); watchId = this[S$1._watchPosition](dart.fn(position => { - if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); controller.add(this[S$1._ensurePosition](position)); - }, T$0.GeopositionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + }, T$.dynamicTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); controller.addError(error); }, T$0.PositionErrorTovoid()), options); }, T$.VoidTovoid()); @@ -81097,23 +88031,26 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { } return new html$._GeopositionWrapper.new(domPosition); } + static ['_#_#tearOff']() { + return html$.Geolocation.__(); + } [S$1._clearWatch](...args) { return this.clearWatch.apply(this, args); } [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17040, 46, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); return; } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); return; } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); this[S$1._getCurrentPosition_3](successCallback_1); return; } @@ -81127,17 +88064,17 @@ html$.Geolocation = class Geolocation extends _interceptors.Interceptor { return this.getCurrentPosition.apply(this, args); } [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); if (options != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); } if (errorCallback != null) { - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_2](successCallback_1, errorCallback); } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); return this[S$1._watchPosition_3](successCallback_1); } [S$1._watchPosition_1](...args) { @@ -81158,18 +88095,22 @@ dart.setMethodSignature(html$.Geolocation, () => ({ [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), - [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [dart.dynamic])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) })); -dart.setLibraryUri(html$.Geolocation, I[148]); +dart.setStaticMethodSignature(html$.Geolocation, () => ['__']); +dart.setLibraryUri(html$.Geolocation, I[150]); dart.registerExtension("Geolocation", html$.Geolocation); html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + static ['_#new#tearOff'](_ptr) { + return new html$._GeopositionWrapper.new(_ptr); + } get coords() { return this[S$1._ptr].coords; } @@ -81191,13 +88132,16 @@ dart.setGetterSignature(html$._GeopositionWrapper, () => ({ timestamp: core.int, [S$.$timestamp]: core.int })); -dart.setLibraryUri(html$._GeopositionWrapper, I[148]); +dart.setLibraryUri(html$._GeopositionWrapper, I[150]); dart.setFieldSignature(html$._GeopositionWrapper, () => ({ __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), [S$1._ptr]: dart.fieldType(dart.dynamic) })); dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); -html$.Geoposition = class Geoposition extends _interceptors.Interceptor { +html$.Geoposition = class Geoposition extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Geoposition.__(); + } get [S$.$coords]() { return this.coords; } @@ -81207,14 +88151,19 @@ html$.Geoposition = class Geoposition extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Geoposition); dart.addTypeCaches(html$.Geoposition); +dart.setStaticMethodSignature(html$.Geoposition, () => ['__']); dart.setGetterSignature(html$.Geoposition, () => ({ __proto__: dart.getGetters(html$.Geoposition.__proto__), [S$.$coords]: dart.nullable(html$.Coordinates), [S$.$timestamp]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Geoposition, I[148]); +dart.setLibraryUri(html$.Geoposition, I[150]); dart.registerExtension("Position", html$.Geoposition); +dart.registerExtension("GeolocationPosition", html$.Geoposition); html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + static ['_#_#tearOff']() { + return html$.GlobalEventHandlers.__(); + } get onAbort() { return html$.GlobalEventHandlers.abortEvent.forTarget(this); } @@ -81392,6 +88341,7 @@ html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { dart.addTypeTests(html$.GlobalEventHandlers); dart.addTypeCaches(html$.GlobalEventHandlers); html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; +dart.setStaticMethodSignature(html$.GlobalEventHandlers, () => ['__']); dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), onAbort: async.Stream$(html$.Event), @@ -81453,43 +88403,43 @@ dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ onMouseDown: async.Stream$(html$.MouseEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), onMouseEnter: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), onMouseLeave: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), onMouseMove: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), onMouseOut: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), onMouseOver: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), onMouseUp: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), onMouseWheel: async.Stream$(html$.WheelEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), onPause: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), onPlay: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), onPlaying: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), onRateChange: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), onReset: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), onResize: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), onScroll: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), onSeeked: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), onSeeking: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), onSelect: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), onStalled: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), onSubmit: async.Stream$(html$.Event), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), onSuspend: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), onTimeUpdate: async.Stream$(html$.Event), @@ -81509,7 +88459,8 @@ dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ onWheel: async.Stream$(html$.WheelEvent), [S$.$onWheel]: async.Stream$(html$.WheelEvent) })); -dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); +dart.setLibraryUri(html$.GlobalEventHandlers, I[150]); +dart.setStaticFieldSignature(html$.GlobalEventHandlers, () => ['abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ 'onAbort', 'onBlur', @@ -81571,178 +88522,181 @@ dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ ]); dart.defineLazy(html$.GlobalEventHandlers, { /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Gyroscope.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -81750,6 +88704,9 @@ html$.Gyroscope = class Gyroscope$ extends html$.Sensor { } return html$.Gyroscope._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Gyroscope.new(sensorOptions); + } static _create_1(sensorOptions) { return new Gyroscope(sensorOptions); } @@ -81768,18 +88725,28 @@ html$.Gyroscope = class Gyroscope$ extends html$.Sensor { }; dart.addTypeTests(html$.Gyroscope); dart.addTypeCaches(html$.Gyroscope); +dart.setStaticMethodSignature(html$.Gyroscope, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Gyroscope, () => ({ __proto__: dart.getGetters(html$.Gyroscope.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Gyroscope, I[148]); +dart.setLibraryUri(html$.Gyroscope, I[150]); dart.registerExtension("Gyroscope", html$.Gyroscope); html$.HRElement = class HRElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HRElement.__(); + } static new() { return html$.document.createElement("hr"); } + static ['_#new#tearOff']() { + return html$.HRElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HRElement.created(); + } get [S$0.$color]() { return this.color; } @@ -81793,6 +88760,7 @@ html$.HRElement = class HRElement extends html$.HtmlElement { }).prototype = html$.HRElement.prototype; dart.addTypeTests(html$.HRElement); dart.addTypeCaches(html$.HRElement); +dart.setStaticMethodSignature(html$.HRElement, () => ['__', 'new']); dart.setGetterSignature(html$.HRElement, () => ({ __proto__: dart.getGetters(html$.HRElement.__proto__), [S$0.$color]: core.String @@ -81801,28 +88769,42 @@ dart.setSetterSignature(html$.HRElement, () => ({ __proto__: dart.getSetters(html$.HRElement.__proto__), [S$0.$color]: core.String })); -dart.setLibraryUri(html$.HRElement, I[148]); +dart.setLibraryUri(html$.HRElement, I[150]); dart.registerExtension("HTMLHRElement", html$.HRElement); html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 17510, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 17511, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 17512, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + return html$.HashChangeEvent.new(type, {canBubble: canBubble, cancelable: cancelable, oldUrl: oldUrl, newUrl: newUrl}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.HashChangeEvent._create_1(type, eventInitDict_1); } return html$.HashChangeEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 17525, 36, "type"); + return html$.HashChangeEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new HashChangeEvent(type, eventInitDict); } @@ -81841,17 +88823,28 @@ html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { }; dart.addTypeTests(html$.HashChangeEvent); dart.addTypeCaches(html$.HashChangeEvent); +dart.setStaticMethodSignature(html$.HashChangeEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.HashChangeEvent, () => ({ __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), [S$1.$newUrl]: dart.nullable(core.String), [S$1.$oldUrl]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HashChangeEvent, I[148]); +dart.setStaticGetterSignature(html$.HashChangeEvent, () => ['supported']); +dart.setLibraryUri(html$.HashChangeEvent, I[150]); dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); html$.HeadElement = class HeadElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadElement.__(); + } static new() { return html$.document.createElement("head"); } + static ['_#new#tearOff']() { + return html$.HeadElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HeadElement.created(); + } }; (html$.HeadElement.created = function() { html$.HeadElement.__proto__.created.call(this); @@ -81859,15 +88852,22 @@ html$.HeadElement = class HeadElement extends html$.HtmlElement { }).prototype = html$.HeadElement.prototype; dart.addTypeTests(html$.HeadElement); dart.addTypeCaches(html$.HeadElement); -dart.setLibraryUri(html$.HeadElement, I[148]); +dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); +dart.setLibraryUri(html$.HeadElement, I[150]); dart.registerExtension("HTMLHeadElement", html$.HeadElement); -html$.Headers = class Headers$ extends _interceptors.Interceptor { +html$.Headers = class Headers$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Headers.__(); + } static new(init = null) { if (init != null) { return html$.Headers._create_1(init); } return html$.Headers._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.Headers.new(init); + } static _create_1(init) { return new Headers(init); } @@ -81877,27 +88877,52 @@ html$.Headers = class Headers$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Headers); dart.addTypeCaches(html$.Headers); -dart.setLibraryUri(html$.Headers, I[148]); +dart.setStaticMethodSignature(html$.Headers, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.Headers, I[150]); dart.registerExtension("Headers", html$.Headers); html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HeadingElement.__(); + } static h1() { return html$.document.createElement("h1"); } + static ['_#h1#tearOff']() { + return html$.HeadingElement.h1(); + } static h2() { return html$.document.createElement("h2"); } + static ['_#h2#tearOff']() { + return html$.HeadingElement.h2(); + } static h3() { return html$.document.createElement("h3"); } + static ['_#h3#tearOff']() { + return html$.HeadingElement.h3(); + } static h4() { return html$.document.createElement("h4"); } + static ['_#h4#tearOff']() { + return html$.HeadingElement.h4(); + } static h5() { return html$.document.createElement("h5"); } + static ['_#h5#tearOff']() { + return html$.HeadingElement.h5(); + } static h6() { return html$.document.createElement("h6"); } + static ['_#h6#tearOff']() { + return html$.HeadingElement.h6(); + } + static ['_#created#tearOff']() { + return new html$.HeadingElement.created(); + } }; (html$.HeadingElement.created = function() { html$.HeadingElement.__proto__.created.call(this); @@ -81905,12 +88930,16 @@ html$.HeadingElement = class HeadingElement extends html$.HtmlElement { }).prototype = html$.HeadingElement.prototype; dart.addTypeTests(html$.HeadingElement); dart.addTypeCaches(html$.HeadingElement); -dart.setLibraryUri(html$.HeadingElement, I[148]); +dart.setStaticMethodSignature(html$.HeadingElement, () => ['__', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']); +dart.setLibraryUri(html$.HeadingElement, I[150]); dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); -html$.History = class History extends _interceptors.Interceptor { +html$.History = class History extends _interceptors.JavaScriptObject { static get supportsState() { return !!window.history.pushState; } + static ['_#_#tearOff']() { + return html$.History.__(); + } get [$length]() { return this.length; } @@ -81936,7 +88965,7 @@ html$.History = class History extends _interceptors.Interceptor { return this.go.apply(this, args); } [S$1.$pushState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + if (title == null) dart.nullFailed(I[149], 17686, 57, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._pushState_1](data_1, title, url); return; @@ -81945,7 +88974,7 @@ html$.History = class History extends _interceptors.Interceptor { return this.pushState.apply(this, args); } [S$1.$replaceState](data, title, url) { - if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + if (title == null) dart.nullFailed(I[149], 17703, 60, "title"); let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); this[S$1._replaceState_1](data_1, title, url); return; @@ -81967,6 +88996,7 @@ dart.setMethodSignature(html$.History, () => ({ [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) })); +dart.setStaticMethodSignature(html$.History, () => ['__']); dart.setGetterSignature(html$.History, () => ({ __proto__: dart.getGetters(html$.History.__proto__), [$length]: core.int, @@ -81978,37 +89008,41 @@ dart.setSetterSignature(html$.History, () => ({ __proto__: dart.getSetters(html$.History.__proto__), [S$1.$scrollRestoration]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.History, I[148]); +dart.setStaticGetterSignature(html$.History, () => ['supportsState']); +dart.setLibraryUri(html$.History, I[150]); dart.registerExtension("History", html$.History); -const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$1.new = function() { - Interceptor_ListMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$1.prototype; -dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; -(Interceptor_ImmutableListMixin$36$1.new = function() { - Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$1.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); -html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { +const JavaScriptObject_ListMixin$36$1 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$1.new = function() { + JavaScriptObject_ListMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$1, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$1 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$1 {}; +(JavaScriptObject_ImmutableListMixin$36$1.new = function() { + JavaScriptObject_ImmutableListMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); +html$.HtmlCollection = class HtmlCollection extends JavaScriptObject_ImmutableListMixin$36$1 { + static ['_#_#tearOff']() { + return html$.HtmlCollection.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 17731, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + if (index == null) dart.nullFailed(I[149], 17737, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + if (value == null) dart.nullFailed(I[149], 17737, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + if (value == null) dart.nullFailed(I[149], 17743, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -82039,7 +89073,7 @@ html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMix dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + if (index == null) dart.nullFailed(I[149], 17771, 22, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -82052,7 +89086,7 @@ html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMix html$.HtmlCollection.prototype[dart.isList] = true; dart.addTypeTests(html$.HtmlCollection); dart.addTypeCaches(html$.HtmlCollection); -html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$.HtmlCollection[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.HtmlCollection, () => ({ __proto__: dart.getMethods(html$.HtmlCollection.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -82060,6 +89094,7 @@ dart.setMethodSignature(html$.HtmlCollection, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) })); +dart.setStaticMethodSignature(html$.HtmlCollection, () => ['__']); dart.setGetterSignature(html$.HtmlCollection, () => ({ __proto__: dart.getGetters(html$.HtmlCollection.__proto__), [$length]: core.int @@ -82068,9 +89103,12 @@ dart.setSetterSignature(html$.HtmlCollection, () => ({ __proto__: dart.getSetters(html$.HtmlCollection.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.HtmlCollection, I[148]); +dart.setLibraryUri(html$.HtmlCollection, I[150]); dart.registerExtension("HTMLCollection", html$.HtmlCollection); html$.HtmlDocument = class HtmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.HtmlDocument.__(); + } get [S$1.$body]() { return this.body; } @@ -82081,18 +89119,18 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return this[S$1._caretRangeFromPoint](x, y); } [S$1.$elementFromPoint](x, y) { - if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); - if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + if (x == null) dart.nullFailed(I[149], 17800, 33, "x"); + if (y == null) dart.nullFailed(I[149], 17800, 40, "y"); return this[S$1._elementFromPoint](x, y); } get [S.$head]() { - return this[S$0._head$1]; + return this[S$1._head$1]; } get [S$1.$lastModified]() { - return this[S$0._lastModified]; + return this[S$1._lastModified]; } get [S$1.$preferredStylesheetSet]() { - return this[S$0._preferredStylesheetSet]; + return this[S$1._preferredStylesheetSet]; } get [S$1.$referrer]() { return this[S$1._referrer]; @@ -82110,24 +89148,24 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return this[S$1._title]; } set [S.$title](value) { - if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + if (value == null) dart.nullFailed(I[149], 17821, 20, "value"); this[S$1._title] = value; } [S$1.$exitFullscreen]() { this[S$1._webkitExitFullscreen](); } [S$1.$registerElement2](tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + if (tag == null) dart.nullFailed(I[149], 17894, 36, "tag"); return html$._registerCustomElement(window, this, tag, options); } [S$1.$register](tag, customElementClass, opts) { - if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); - if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + if (tag == null) dart.nullFailed(I[149], 17900, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[149], 17900, 34, "customElementClass"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); } static _determineVisibilityChangeEventType(e) { - if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (e == null) dart.nullFailed(I[149], 17917, 65, "e"); if (typeof e.hidden !== "undefined") { return "visibilitychange"; } else if (typeof e.mozHidden !== "undefined") { @@ -82143,7 +89181,7 @@ html$.HtmlDocument = class HtmlDocument extends html$.Document { return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); } [S$1.$createElementUpgrader](type, opts) { - if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + if (type == null) dart.nullFailed(I[149], 17944, 46, "type"); let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; return new html$._JSElementUpgrader.new(this, type, extendsTag); } @@ -82157,6 +89195,7 @@ dart.setMethodSignature(html$.HtmlDocument, () => ({ [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) })); +dart.setStaticMethodSignature(html$.HtmlDocument, () => ['__', '_determineVisibilityChangeEventType']); dart.setGetterSignature(html$.HtmlDocument, () => ({ __proto__: dart.getGetters(html$.HtmlDocument.__proto__), [S$1.$body]: dart.nullable(html$.BodyElement), @@ -82175,26 +89214,40 @@ dart.setSetterSignature(html$.HtmlDocument, () => ({ [S$1.$selectedStylesheetSet]: dart.nullable(core.String), [S.$title]: core.String })); -dart.setLibraryUri(html$.HtmlDocument, I[148]); +dart.setLibraryUri(html$.HtmlDocument, I[150]); +dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); dart.defineLazy(html$.HtmlDocument, { /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - return C[343] || CT.C343; + return C[353] || CT.C353; } }, false); dart.registerExtension("HTMLDocument", html$.HtmlDocument); html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlFormControlsCollection.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } }; dart.addTypeTests(html$.HtmlFormControlsCollection); dart.addTypeCaches(html$.HtmlFormControlsCollection); -dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); +dart.setStaticMethodSignature(html$.HtmlFormControlsCollection, () => ['__']); +dart.setLibraryUri(html$.HtmlFormControlsCollection, I[150]); dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.HtmlHtmlElement.__(); + } static new() { return html$.document.createElement("html"); } + static ['_#new#tearOff']() { + return html$.HtmlHtmlElement.new(); + } + static ['_#created#tearOff']() { + return new html$.HtmlHtmlElement.created(); + } }; (html$.HtmlHtmlElement.created = function() { html$.HtmlHtmlElement.__proto__.created.call(this); @@ -82202,9 +89255,13 @@ html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { }).prototype = html$.HtmlHtmlElement.prototype; dart.addTypeTests(html$.HtmlHtmlElement); dart.addTypeCaches(html$.HtmlHtmlElement); -dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); +dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); +dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); -html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { +html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.HtmlHyperlinkElementUtils.__(); + } get [S$.$hash]() { return this.hash; } @@ -82271,6 +89328,7 @@ html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _inter }; dart.addTypeTests(html$.HtmlHyperlinkElementUtils); dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); +dart.setStaticMethodSignature(html$.HtmlHyperlinkElementUtils, () => ['__']); dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -82298,9 +89356,12 @@ dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); +dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[150]); dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + static ['_#_#tearOff']() { + return html$.HtmlOptionsCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -82311,9 +89372,13 @@ dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) })); -dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); +dart.setStaticMethodSignature(html$.HtmlOptionsCollection, () => ['__']); +dart.setLibraryUri(html$.HtmlOptionsCollection, I[150]); dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestEventTarget.__(); + } get [S.$onAbort]() { return html$.HttpRequestEventTarget.abortEvent.forTarget(this); } @@ -82338,6 +89403,7 @@ html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventT }; dart.addTypeTests(html$.HttpRequestEventTarget); dart.addTypeCaches(html$.HttpRequestEventTarget); +dart.setStaticMethodSignature(html$.HttpRequestEventTarget, () => ['__']); dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), [S.$onAbort]: async.Stream$(html$.ProgressEvent), @@ -82348,52 +89414,53 @@ dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ [S$.$onProgress]: async.Stream$(html$.ProgressEvent), [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) })); -dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); +dart.setLibraryUri(html$.HttpRequestEventTarget, I[150]); +dart.setStaticFieldSignature(html$.HttpRequestEventTarget, () => ['abortEvent', 'errorEvent', 'loadEvent', 'loadEndEvent', 'loadStartEvent', 'progressEvent', 'timeoutEvent']); dart.defineLazy(html$.HttpRequestEventTarget, { /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { - return C[331] || CT.C331; + return C[341] || CT.C341; }, /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[332] || CT.C332; + return C[342] || CT.C342; }, /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[333] || CT.C333; + return C[343] || CT.C343; }, /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[334] || CT.C334; + return C[344] || CT.C344; }, /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[335] || CT.C335; + return C[345] || CT.C345; }, /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[309] || CT.C309; + return C[319] || CT.C319; }, /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - return C[345] || CT.C345; + return C[355] || CT.C355; } }, false); dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { static getString(url, opts) { - if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + if (url == null) dart.nullFailed(I[149], 18116, 42, "url"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18120, 28, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } static postFormData(url, data, opts) { - if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); - if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + if (url == null) dart.nullFailed(I[149], 18148, 50, "url"); + if (data == null) dart.nullFailed(I[149], 18148, 75, "data"); let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; let parts = []; data[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); - if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + if (key == null) dart.nullFailed(I[149], 18154, 19, "key"); + if (value == null) dart.nullFailed(I[149], 18154, 24, "value"); parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); }, T$0.StringAndStringTovoid())); let formData = parts[$join]("&"); @@ -82404,7 +89471,7 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); } static request(url, opts) { - if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + if (url == null) dart.nullFailed(I[149], 18229, 45, "url"); let method = opts && 'method' in opts ? opts.method : null; let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; let responseType = opts && 'responseType' in opts ? opts.responseType : null; @@ -82429,8 +89496,8 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { } if (requestHeaders != null) { requestHeaders[$forEach](dart.fn((header, value) => { - if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); - if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + if (header == null) dart.nullFailed(I[149], 18258, 31, "header"); + if (value == null) dart.nullFailed(I[149], 18258, 39, "value"); xhr.setRequestHeader(header, value); }, T$0.StringAndStringTovoid())); } @@ -82438,7 +89505,7 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { xhr[S$.$onProgress].listen(onProgress); } xhr[S.$onLoad].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + if (e == null) dart.nullFailed(I[149], 18267, 24, "e"); let status = dart.nullCheck(xhr.status); let accepted = status >= 200 && status < 300; let fileUri = status === 0; @@ -82475,12 +89542,12 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { return "overrideMimeType" in xhr; } static requestCrossOrigin(url, opts) { - if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + if (url == null) dart.nullFailed(I[149], 18340, 51, "url"); let method = opts && 'method' in opts ? opts.method : null; let sendData = opts && 'sendData' in opts ? opts.sendData : null; if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { - if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + if (xhr == null) dart.nullFailed(I[149], 18343, 69, "xhr"); return dart.nullCheck(xhr.responseText); }, T$0.HttpRequestToString())); } @@ -82535,6 +89602,12 @@ html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { [S.$open](...args) { return this.open.apply(this, args); } + static ['_#_#tearOff']() { + return html$.HttpRequest.__(); + } + static ['_#new#tearOff']() { + return html$.HttpRequest.new(); + } static new() { return html$.HttpRequest._create_1(); } @@ -82620,6 +89693,7 @@ dart.setMethodSignature(html$.HttpRequest, () => ({ [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) })); +dart.setStaticMethodSignature(html$.HttpRequest, () => ['getString', 'postFormData', 'request', 'requestCrossOrigin', '__', 'new', '_create_1']); dart.setGetterSignature(html$.HttpRequest, () => ({ __proto__: dart.getGetters(html$.HttpRequest.__proto__), [S$1.$responseHeaders]: core.Map$(core.String, core.String), @@ -82643,10 +89717,12 @@ dart.setSetterSignature(html$.HttpRequest, () => ({ [S$1.$timeout]: dart.nullable(core.int), [S$1.$withCredentials]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.HttpRequest, I[148]); +dart.setStaticGetterSignature(html$.HttpRequest, () => ['supportsProgressEvent', 'supportsCrossOrigin', 'supportsLoadEndEvent', 'supportsOverrideMimeType']); +dart.setLibraryUri(html$.HttpRequest, I[150]); +dart.setStaticFieldSignature(html$.HttpRequest, () => ['readyStateChangeEvent', 'DONE', 'HEADERS_RECEIVED', 'LOADING', 'OPENED', 'UNSENT']); dart.defineLazy(html$.HttpRequest, { /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[324] || CT.C324; + return C[334] || CT.C334; }, /*html$.HttpRequest.DONE*/get DONE() { return 4; @@ -82665,15 +89741,29 @@ dart.defineLazy(html$.HttpRequest, { } }, false); dart.registerExtension("XMLHttpRequest", html$.HttpRequest); -html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; +html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { + static ['_#_#tearOff']() { + return html$.HttpRequestUpload.__(); + } +}; dart.addTypeTests(html$.HttpRequestUpload); dart.addTypeCaches(html$.HttpRequestUpload); -dart.setLibraryUri(html$.HttpRequestUpload, I[148]); +dart.setStaticMethodSignature(html$.HttpRequestUpload, () => ['__']); +dart.setLibraryUri(html$.HttpRequestUpload, I[150]); dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.IFrameElement.__(); + } static new() { return html$.document.createElement("iframe"); } + static ['_#new#tearOff']() { + return html$.IFrameElement.new(); + } + static ['_#created#tearOff']() { + return new html$.IFrameElement.created(); + } get [S$1.$allow]() { return this.allow; } @@ -82750,6 +89840,7 @@ html$.IFrameElement = class IFrameElement extends html$.HtmlElement { }).prototype = html$.IFrameElement.prototype; dart.addTypeTests(html$.IFrameElement); dart.addTypeCaches(html$.IFrameElement); +dart.setStaticMethodSignature(html$.IFrameElement, () => ['__', 'new']); dart.setGetterSignature(html$.IFrameElement, () => ({ __proto__: dart.getGetters(html$.IFrameElement.__proto__), [S$1.$allow]: dart.nullable(core.String), @@ -82779,9 +89870,12 @@ dart.setSetterSignature(html$.IFrameElement, () => ({ [S$1.$srcdoc]: dart.nullable(core.String), [$width]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.IFrameElement, I[148]); +dart.setLibraryUri(html$.IFrameElement, I[150]); dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); -html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { +html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IdleDeadline.__(); + } get [S$1.$didTimeout]() { return this.didTimeout; } @@ -82795,13 +89889,17 @@ dart.setMethodSignature(html$.IdleDeadline, () => ({ __proto__: dart.getMethods(html$.IdleDeadline.__proto__), [S$1.$timeRemaining]: dart.fnType(core.double, []) })); +dart.setStaticMethodSignature(html$.IdleDeadline, () => ['__']); dart.setGetterSignature(html$.IdleDeadline, () => ({ __proto__: dart.getGetters(html$.IdleDeadline.__proto__), [S$1.$didTimeout]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.IdleDeadline, I[148]); +dart.setLibraryUri(html$.IdleDeadline, I[150]); dart.registerExtension("IdleDeadline", html$.IdleDeadline); -html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { +html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmap.__(); + } get [$height]() { return this.height; } @@ -82818,14 +89916,18 @@ dart.setMethodSignature(html$.ImageBitmap, () => ({ __proto__: dart.getMethods(html$.ImageBitmap.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ImageBitmap, () => ['__']); dart.setGetterSignature(html$.ImageBitmap, () => ({ __proto__: dart.getGetters(html$.ImageBitmap.__proto__), [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ImageBitmap, I[148]); +dart.setLibraryUri(html$.ImageBitmap, I[150]); dart.registerExtension("ImageBitmap", html$.ImageBitmap); -html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { +html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageBitmapRenderingContext.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -82839,17 +89941,25 @@ dart.setMethodSignature(html$.ImageBitmapRenderingContext, () => ({ __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) })); +dart.setStaticMethodSignature(html$.ImageBitmapRenderingContext, () => ['__']); dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), [S$.$canvas]: dart.nullable(html$.CanvasElement) })); -dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); +dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[150]); dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); -html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { +html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageCapture.__(); + } static new(track) { - if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); return html$.ImageCapture._create_1(track); } + static ['_#new#tearOff'](track) { + if (track == null) dart.nullFailed(I[149], 18973, 41, "track"); + return html$.ImageCapture.new(track); + } static _create_1(track) { return new ImageCapture(track); } @@ -82866,7 +89976,7 @@ html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); } [S$1.$setOptions](photoSettings) { - if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + if (photoSettings == null) dart.nullFailed(I[149], 18991, 25, "photoSettings"); let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); } @@ -82888,15 +89998,19 @@ dart.setMethodSignature(html$.ImageCapture, () => ({ [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.ImageCapture, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.ImageCapture, () => ({ __proto__: dart.getGetters(html$.ImageCapture.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.ImageCapture, I[148]); +dart.setLibraryUri(html$.ImageCapture, I[150]); dart.registerExtension("ImageCapture", html$.ImageCapture); -html$.ImageData = class ImageData$ extends _interceptors.Interceptor { +html$.ImageData = class ImageData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ImageData.__(); + } static new(data_OR_sw, sh_OR_sw, sh = null) { - if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); } @@ -82908,6 +90022,10 @@ html$.ImageData = class ImageData$ extends _interceptors.Interceptor { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[149], 19016, 37, "sh_OR_sw"); + return html$.ImageData.new(data_OR_sw, sh_OR_sw, sh); + } static _create_1(data_OR_sw, sh_OR_sw) { return new ImageData(data_OR_sw, sh_OR_sw); } @@ -82929,15 +90047,19 @@ html$.ImageData = class ImageData$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ImageData); dart.addTypeCaches(html$.ImageData); +dart.setStaticMethodSignature(html$.ImageData, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.ImageData, () => ({ __proto__: dart.getGetters(html$.ImageData.__proto__), [S$.$data]: typed_data.Uint8ClampedList, [$height]: core.int, [$width]: core.int })); -dart.setLibraryUri(html$.ImageData, I[148]); +dart.setLibraryUri(html$.ImageData, I[150]); dart.registerExtension("ImageData", html$.ImageData); html$.ImageElement = class ImageElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ImageElement.__(); + } static new(opts) { let src = opts && 'src' in opts ? opts.src : null; let width = opts && 'width' in opts ? opts.width : null; @@ -82948,6 +90070,15 @@ html$.ImageElement = class ImageElement extends html$.HtmlElement { if (height != null) e.height = height; return e; } + static ['_#new#tearOff'](opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + return html$.ImageElement.new({src: src, width: width, height: height}); + } + static ['_#created#tearOff']() { + return new html$.ImageElement.created(); + } get [S$.$alt]() { return this.alt; } @@ -83041,6 +90172,7 @@ dart.setMethodSignature(html$.ImageElement, () => ({ __proto__: dart.getMethods(html$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(html$.ImageElement, () => ({ __proto__: dart.getGetters(html$.ImageElement.__proto__), [S$.$alt]: dart.nullable(core.String), @@ -83073,9 +90205,12 @@ dart.setSetterSignature(html$.ImageElement, () => ({ [S$1.$useMap]: dart.nullable(core.String), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ImageElement, I[148]); +dart.setLibraryUri(html$.ImageElement, I[150]); dart.registerExtension("HTMLImageElement", html$.ImageElement); -html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { +html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.InputDeviceCapabilities.__(); + } static new(deviceInitDict = null) { if (deviceInitDict != null) { let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); @@ -83083,6 +90218,9 @@ html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _intercep } return html$.InputDeviceCapabilities._create_2(); } + static ['_#new#tearOff'](deviceInitDict = null) { + return html$.InputDeviceCapabilities.new(deviceInitDict); + } static _create_1(deviceInitDict) { return new InputDeviceCapabilities(deviceInitDict); } @@ -83095,13 +90233,18 @@ html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _intercep }; dart.addTypeTests(html$.InputDeviceCapabilities); dart.addTypeCaches(html$.InputDeviceCapabilities); +dart.setStaticMethodSignature(html$.InputDeviceCapabilities, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), [S$1.$firesTouchEvents]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); +dart.setLibraryUri(html$.InputDeviceCapabilities, I[150]); dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); html$.InputElement = class InputElement extends html$.HtmlElement { + static ['_#new#tearOff'](opts) { + let type = opts && 'type' in opts ? opts.type : null; + return html$.InputElement.new({type: type}); + } static new(opts) { let type = opts && 'type' in opts ? opts.type : null; let e = html$.InputElement.as(html$.document[S.$createElement]("input")); @@ -83117,6 +90260,12 @@ html$.InputElement = class InputElement extends html$.HtmlElement { } return e; } + static ['_#_#tearOff']() { + return html$.InputElement.__(); + } + static ['_#created#tearOff']() { + return new html$.InputElement.created(); + } get [S$1.$accept]() { return this.accept; } @@ -83439,6 +90588,7 @@ dart.setMethodSignature(html$.InputElement, () => ({ [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.InputElement, () => ['new', '__']); dart.setGetterSignature(html$.InputElement, () => ({ __proto__: dart.getGetters(html$.InputElement.__proto__), [S$1.$accept]: dart.nullable(core.String), @@ -83538,7 +90688,7 @@ dart.setSetterSignature(html$.InputElement, () => ({ [S$1.$directory]: dart.nullable(core.bool), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.InputElement, I[148]); +dart.setLibraryUri(html$.InputElement, I[150]); dart.registerExtension("HTMLInputElement", html$.InputElement); html$.InputElementBase = class InputElementBase extends core.Object {}; (html$.InputElementBase.new = function() { @@ -83547,18 +90697,22 @@ html$.InputElementBase = class InputElementBase extends core.Object {}; dart.addTypeTests(html$.InputElementBase); dart.addTypeCaches(html$.InputElementBase); html$.InputElementBase[dart.implements] = () => [html$.Element]; -dart.setLibraryUri(html$.InputElementBase, I[148]); +dart.setLibraryUri(html$.InputElementBase, I[150]); html$.HiddenInputElement = class HiddenInputElement extends core.Object { static new() { return html$.InputElement.new({type: "hidden"}); } + static ['_#new#tearOff']() { + return html$.HiddenInputElement.new(); + } }; (html$.HiddenInputElement[dart.mixinNew] = function() { }).prototype = html$.HiddenInputElement.prototype; dart.addTypeTests(html$.HiddenInputElement); dart.addTypeCaches(html$.HiddenInputElement); html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.HiddenInputElement, I[148]); +dart.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); +dart.setLibraryUri(html$.HiddenInputElement, I[150]); html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; (html$.TextInputElementBase.new = function() { ; @@ -83566,11 +90720,14 @@ html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; dart.addTypeTests(html$.TextInputElementBase); dart.addTypeCaches(html$.TextInputElementBase); html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.TextInputElementBase, I[148]); +dart.setLibraryUri(html$.TextInputElementBase, I[150]); html$.SearchInputElement = class SearchInputElement extends core.Object { static new() { return html$.InputElement.new({type: "search"}); } + static ['_#new#tearOff']() { + return html$.SearchInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "search"}).type === "search"; } @@ -83580,22 +90737,31 @@ html$.SearchInputElement = class SearchInputElement extends core.Object { dart.addTypeTests(html$.SearchInputElement); dart.addTypeCaches(html$.SearchInputElement); html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.SearchInputElement, I[148]); +dart.setStaticMethodSignature(html$.SearchInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.SearchInputElement, () => ['supported']); +dart.setLibraryUri(html$.SearchInputElement, I[150]); html$.TextInputElement = class TextInputElement extends core.Object { static new() { return html$.InputElement.new({type: "text"}); } + static ['_#new#tearOff']() { + return html$.TextInputElement.new(); + } }; (html$.TextInputElement[dart.mixinNew] = function() { }).prototype = html$.TextInputElement.prototype; dart.addTypeTests(html$.TextInputElement); dart.addTypeCaches(html$.TextInputElement); html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.TextInputElement, I[148]); +dart.setStaticMethodSignature(html$.TextInputElement, () => ['new']); +dart.setLibraryUri(html$.TextInputElement, I[150]); html$.UrlInputElement = class UrlInputElement extends core.Object { static new() { return html$.InputElement.new({type: "url"}); } + static ['_#new#tearOff']() { + return html$.UrlInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "url"}).type === "url"; } @@ -83605,11 +90771,16 @@ html$.UrlInputElement = class UrlInputElement extends core.Object { dart.addTypeTests(html$.UrlInputElement); dart.addTypeCaches(html$.UrlInputElement); html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.UrlInputElement, I[148]); +dart.setStaticMethodSignature(html$.UrlInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.UrlInputElement, () => ['supported']); +dart.setLibraryUri(html$.UrlInputElement, I[150]); html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { static new() { return html$.InputElement.new({type: "tel"}); } + static ['_#new#tearOff']() { + return html$.TelephoneInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "tel"}).type === "tel"; } @@ -83619,11 +90790,16 @@ html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { dart.addTypeTests(html$.TelephoneInputElement); dart.addTypeCaches(html$.TelephoneInputElement); html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.TelephoneInputElement, I[148]); +dart.setStaticMethodSignature(html$.TelephoneInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.TelephoneInputElement, () => ['supported']); +dart.setLibraryUri(html$.TelephoneInputElement, I[150]); html$.EmailInputElement = class EmailInputElement extends core.Object { static new() { return html$.InputElement.new({type: "email"}); } + static ['_#new#tearOff']() { + return html$.EmailInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "email"}).type === "email"; } @@ -83633,18 +90809,24 @@ html$.EmailInputElement = class EmailInputElement extends core.Object { dart.addTypeTests(html$.EmailInputElement); dart.addTypeCaches(html$.EmailInputElement); html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.EmailInputElement, I[148]); +dart.setStaticMethodSignature(html$.EmailInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.EmailInputElement, () => ['supported']); +dart.setLibraryUri(html$.EmailInputElement, I[150]); html$.PasswordInputElement = class PasswordInputElement extends core.Object { static new() { return html$.InputElement.new({type: "password"}); } + static ['_#new#tearOff']() { + return html$.PasswordInputElement.new(); + } }; (html$.PasswordInputElement[dart.mixinNew] = function() { }).prototype = html$.PasswordInputElement.prototype; dart.addTypeTests(html$.PasswordInputElement); dart.addTypeCaches(html$.PasswordInputElement); html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; -dart.setLibraryUri(html$.PasswordInputElement, I[148]); +dart.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); +dart.setLibraryUri(html$.PasswordInputElement, I[150]); html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; (html$.RangeInputElementBase.new = function() { ; @@ -83652,11 +90834,14 @@ html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {} dart.addTypeTests(html$.RangeInputElementBase); dart.addTypeCaches(html$.RangeInputElementBase); html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.RangeInputElementBase, I[148]); +dart.setLibraryUri(html$.RangeInputElementBase, I[150]); html$.DateInputElement = class DateInputElement extends core.Object { static new() { return html$.InputElement.new({type: "date"}); } + static ['_#new#tearOff']() { + return html$.DateInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "date"}).type === "date"; } @@ -83666,11 +90851,16 @@ html$.DateInputElement = class DateInputElement extends core.Object { dart.addTypeTests(html$.DateInputElement); dart.addTypeCaches(html$.DateInputElement); html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.DateInputElement, I[148]); +dart.setStaticMethodSignature(html$.DateInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.DateInputElement, () => ['supported']); +dart.setLibraryUri(html$.DateInputElement, I[150]); html$.MonthInputElement = class MonthInputElement extends core.Object { static new() { return html$.InputElement.new({type: "month"}); } + static ['_#new#tearOff']() { + return html$.MonthInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "month"}).type === "month"; } @@ -83680,11 +90870,16 @@ html$.MonthInputElement = class MonthInputElement extends core.Object { dart.addTypeTests(html$.MonthInputElement); dart.addTypeCaches(html$.MonthInputElement); html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.MonthInputElement, I[148]); +dart.setStaticMethodSignature(html$.MonthInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.MonthInputElement, () => ['supported']); +dart.setLibraryUri(html$.MonthInputElement, I[150]); html$.WeekInputElement = class WeekInputElement extends core.Object { static new() { return html$.InputElement.new({type: "week"}); } + static ['_#new#tearOff']() { + return html$.WeekInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "week"}).type === "week"; } @@ -83694,11 +90889,16 @@ html$.WeekInputElement = class WeekInputElement extends core.Object { dart.addTypeTests(html$.WeekInputElement); dart.addTypeCaches(html$.WeekInputElement); html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.WeekInputElement, I[148]); +dart.setStaticMethodSignature(html$.WeekInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.WeekInputElement, () => ['supported']); +dart.setLibraryUri(html$.WeekInputElement, I[150]); html$.TimeInputElement = class TimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "time"}); } + static ['_#new#tearOff']() { + return html$.TimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "time"}).type === "time"; } @@ -83708,11 +90908,16 @@ html$.TimeInputElement = class TimeInputElement extends core.Object { dart.addTypeTests(html$.TimeInputElement); dart.addTypeCaches(html$.TimeInputElement); html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.TimeInputElement, I[148]); +dart.setStaticMethodSignature(html$.TimeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.TimeInputElement, () => ['supported']); +dart.setLibraryUri(html$.TimeInputElement, I[150]); html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "datetime-local"}); } + static ['_#new#tearOff']() { + return html$.LocalDateTimeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; } @@ -83722,11 +90927,16 @@ html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.O dart.addTypeTests(html$.LocalDateTimeInputElement); dart.addTypeCaches(html$.LocalDateTimeInputElement); html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); +dart.setStaticMethodSignature(html$.LocalDateTimeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.LocalDateTimeInputElement, () => ['supported']); +dart.setLibraryUri(html$.LocalDateTimeInputElement, I[150]); html$.NumberInputElement = class NumberInputElement extends core.Object { static new() { return html$.InputElement.new({type: "number"}); } + static ['_#new#tearOff']() { + return html$.NumberInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "number"}).type === "number"; } @@ -83736,11 +90946,16 @@ html$.NumberInputElement = class NumberInputElement extends core.Object { dart.addTypeTests(html$.NumberInputElement); dart.addTypeCaches(html$.NumberInputElement); html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.NumberInputElement, I[148]); +dart.setStaticMethodSignature(html$.NumberInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.NumberInputElement, () => ['supported']); +dart.setLibraryUri(html$.NumberInputElement, I[150]); html$.RangeInputElement = class RangeInputElement extends core.Object { static new() { return html$.InputElement.new({type: "range"}); } + static ['_#new#tearOff']() { + return html$.RangeInputElement.new(); + } static get supported() { return html$.InputElement.new({type: "range"}).type === "range"; } @@ -83750,29 +90965,39 @@ html$.RangeInputElement = class RangeInputElement extends core.Object { dart.addTypeTests(html$.RangeInputElement); dart.addTypeCaches(html$.RangeInputElement); html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -dart.setLibraryUri(html$.RangeInputElement, I[148]); +dart.setStaticMethodSignature(html$.RangeInputElement, () => ['new']); +dart.setStaticGetterSignature(html$.RangeInputElement, () => ['supported']); +dart.setLibraryUri(html$.RangeInputElement, I[150]); html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { static new() { return html$.InputElement.new({type: "checkbox"}); } + static ['_#new#tearOff']() { + return html$.CheckboxInputElement.new(); + } }; (html$.CheckboxInputElement[dart.mixinNew] = function() { }).prototype = html$.CheckboxInputElement.prototype; dart.addTypeTests(html$.CheckboxInputElement); dart.addTypeCaches(html$.CheckboxInputElement); html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.CheckboxInputElement, I[148]); +dart.setStaticMethodSignature(html$.CheckboxInputElement, () => ['new']); +dart.setLibraryUri(html$.CheckboxInputElement, I[150]); html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "radio"}); } + static ['_#new#tearOff']() { + return html$.RadioButtonInputElement.new(); + } }; (html$.RadioButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.RadioButtonInputElement.prototype; dart.addTypeTests(html$.RadioButtonInputElement); dart.addTypeCaches(html$.RadioButtonInputElement); html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { get files() { return this[S$1.files]; @@ -83783,6 +91008,9 @@ html$.FileUploadInputElement = class FileUploadInputElement extends core.Object static new() { return html$.InputElement.new({type: "file"}); } + static ['_#new#tearOff']() { + return html$.FileUploadInputElement.new(); + } }; (html$.FileUploadInputElement[dart.mixinNew] = function() { this[S$1.files] = null; @@ -83790,7 +91018,8 @@ html$.FileUploadInputElement = class FileUploadInputElement extends core.Object dart.addTypeTests(html$.FileUploadInputElement); dart.addTypeCaches(html$.FileUploadInputElement); html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.FileUploadInputElement, I[148]); +dart.setStaticMethodSignature(html$.FileUploadInputElement, () => ['new']); +dart.setLibraryUri(html$.FileUploadInputElement, I[150]); dart.setFieldSignature(html$.FileUploadInputElement, () => ({ __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), files: dart.fieldType(dart.nullable(core.List$(html$.File))) @@ -83800,55 +91029,78 @@ html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Obj static new() { return html$.InputElement.new({type: "submit"}); } + static ['_#new#tearOff']() { + return html$.SubmitButtonInputElement.new(); + } }; (html$.SubmitButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.SubmitButtonInputElement.prototype; dart.addTypeTests(html$.SubmitButtonInputElement); dart.addTypeCaches(html$.SubmitButtonInputElement); html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.SubmitButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.SubmitButtonInputElement, I[150]); html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "image"}); } + static ['_#new#tearOff']() { + return html$.ImageButtonInputElement.new(); + } }; (html$.ImageButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ImageButtonInputElement.prototype; dart.addTypeTests(html$.ImageButtonInputElement); dart.addTypeCaches(html$.ImageButtonInputElement); html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ImageButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ImageButtonInputElement, I[150]); html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "reset"}); } + static ['_#new#tearOff']() { + return html$.ResetButtonInputElement.new(); + } }; (html$.ResetButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ResetButtonInputElement.prototype; dart.addTypeTests(html$.ResetButtonInputElement); dart.addTypeCaches(html$.ResetButtonInputElement); html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ResetButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ResetButtonInputElement, I[150]); html$.ButtonInputElement = class ButtonInputElement extends core.Object { static new() { return html$.InputElement.new({type: "button"}); } + static ['_#new#tearOff']() { + return html$.ButtonInputElement.new(); + } }; (html$.ButtonInputElement[dart.mixinNew] = function() { }).prototype = html$.ButtonInputElement.prototype; dart.addTypeTests(html$.ButtonInputElement); dart.addTypeCaches(html$.ButtonInputElement); html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; -dart.setLibraryUri(html$.ButtonInputElement, I[148]); +dart.setStaticMethodSignature(html$.ButtonInputElement, () => ['new']); +dart.setLibraryUri(html$.ButtonInputElement, I[150]); html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.InstallEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.InstallEvent._create_1(type, eventInitDict_1); } return html$.InstallEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 19961, 31, "type"); + return html$.InstallEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new InstallEvent(type, eventInitDict); } @@ -83856,7 +91108,7 @@ html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { return new InstallEvent(type); } [S$1.$registerForeignFetch](options) { - if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + if (options == null) dart.nullFailed(I[149], 19973, 33, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._registerForeignFetch_1](options_1); return; @@ -83872,11 +91124,15 @@ dart.setMethodSignature(html$.InstallEvent, () => ({ [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) })); -dart.setLibraryUri(html$.InstallEvent, I[148]); +dart.setStaticMethodSignature(html$.InstallEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.InstallEvent, I[150]); dart.registerExtension("InstallEvent", html$.InstallEvent); -html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { +html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserver.__(); + } static new(callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -83885,6 +91141,10 @@ html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.I let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); return html$.IntersectionObserver._create_2(callback_1); } + static ['_#new#tearOff'](callback, options = null) { + if (callback == null) dart.nullFailed(I[149], 19993, 61, "callback"); + return html$.IntersectionObserver.new(callback, options); + } static _create_1(callback, options) { return new IntersectionObserver(callback, options); } @@ -83922,15 +91182,19 @@ dart.setMethodSignature(html$.IntersectionObserver, () => ({ [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); +dart.setStaticMethodSignature(html$.IntersectionObserver, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.IntersectionObserver, () => ({ __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), [S$1.$root]: dart.nullable(html$.Element), [S$1.$rootMargin]: dart.nullable(core.String), [S$1.$thresholds]: dart.nullable(core.List$(core.num)) })); -dart.setLibraryUri(html$.IntersectionObserver, I[148]); +dart.setLibraryUri(html$.IntersectionObserver, I[150]); dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); -html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { +html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.IntersectionObserverEntry.__(); + } get [S$1.$boundingClientRect]() { return this.boundingClientRect; } @@ -83955,6 +91219,7 @@ html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _inter }; dart.addTypeTests(html$.IntersectionObserverEntry); dart.addTypeCaches(html$.IntersectionObserverEntry); +dart.setStaticMethodSignature(html$.IntersectionObserverEntry, () => ['__']); dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), @@ -83965,9 +91230,12 @@ dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ [S.$target]: dart.nullable(html$.Element), [S$.$time]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); +dart.setLibraryUri(html$.IntersectionObserverEntry, I[150]); dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); html$.InterventionReport = class InterventionReport extends html$.ReportBody { + static ['_#_#tearOff']() { + return html$.InterventionReport.__(); + } get [S$0.$lineNumber]() { return this.lineNumber; } @@ -83980,50 +91248,70 @@ html$.InterventionReport = class InterventionReport extends html$.ReportBody { }; dart.addTypeTests(html$.InterventionReport); dart.addTypeCaches(html$.InterventionReport); +dart.setStaticMethodSignature(html$.InterventionReport, () => ['__']); dart.setGetterSignature(html$.InterventionReport, () => ({ __proto__: dart.getGetters(html$.InterventionReport.__proto__), [S$0.$lineNumber]: dart.nullable(core.int), [$message]: dart.nullable(core.String), [S$0.$sourceFile]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.InterventionReport, I[148]); +dart.setLibraryUri(html$.InterventionReport, I[150]); dart.registerExtension("InterventionReport", html$.InterventionReport); html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { static new(type, opts) { - let t238; - if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let t219; + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); let location = opts && 'location' in opts ? opts.location : null; let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); if (view == null) { view = html$.window; } - location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + location == null ? location = (t219 = keyLocation, t219 == null ? 1 : t219) : null; let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 20100, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 20102, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 20103, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 20106, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 20107, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 20108, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 20109, 12, "metaKey"); + return html$.KeyboardEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, location: location, keyLocation: keyLocation, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey}); + } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 20121, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 20122, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 20123, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 20125, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 20127, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 20128, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 20129, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 20130, 12, "metaKey"); if (typeof this.initKeyEvent == "function") { this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); } else { @@ -84040,13 +91328,17 @@ html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { return this[S$._which]; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.KeyboardEvent._create_1(type, eventInitDict_1); } return html$.KeyboardEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20163, 34, "type"); + return html$.KeyboardEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new KeyboardEvent(type, eventInitDict); } @@ -84097,6 +91389,7 @@ dart.setMethodSignature(html$.KeyboardEvent, () => ({ [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); +dart.setStaticMethodSignature(html$.KeyboardEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.KeyboardEvent, () => ({ __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), [S$1.$keyCode]: core.int, @@ -84114,7 +91407,8 @@ dart.setGetterSignature(html$.KeyboardEvent, () => ({ [S$1.$repeat]: dart.nullable(core.bool), [S$1.$shiftKey]: core.bool })); -dart.setLibraryUri(html$.KeyboardEvent, I[148]); +dart.setLibraryUri(html$.KeyboardEvent, I[150]); +dart.setStaticFieldSignature(html$.KeyboardEvent, () => ['DOM_KEY_LOCATION_LEFT', 'DOM_KEY_LOCATION_NUMPAD', 'DOM_KEY_LOCATION_RIGHT', 'DOM_KEY_LOCATION_STANDARD']); dart.defineLazy(html$.KeyboardEvent, { /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { return 1; @@ -84131,12 +91425,18 @@ dart.defineLazy(html$.KeyboardEvent, { }, false); dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffectReadOnly.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffectReadOnly._create_1(target, effect, options); } return html$.KeyframeEffectReadOnly._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffectReadOnly.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffectReadOnly(target, effect, options); } @@ -84146,15 +91446,22 @@ html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.Anima }; dart.addTypeTests(html$.KeyframeEffectReadOnly); dart.addTypeCaches(html$.KeyframeEffectReadOnly); -dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); +dart.setStaticMethodSignature(html$.KeyframeEffectReadOnly, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[150]); dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static ['_#_#tearOff']() { + return html$.KeyframeEffect.__(); + } static new(target, effect, options = null) { if (options != null) { return html$.KeyframeEffect._create_1(target, effect, options); } return html$.KeyframeEffect._create_2(target, effect); } + static ['_#new#tearOff'](target, effect, options = null) { + return html$.KeyframeEffect.new(target, effect, options); + } static _create_1(target, effect, options) { return new KeyframeEffect(target, effect, options); } @@ -84164,12 +91471,22 @@ html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnl }; dart.addTypeTests(html$.KeyframeEffect); dart.addTypeCaches(html$.KeyframeEffect); -dart.setLibraryUri(html$.KeyframeEffect, I[148]); +dart.setStaticMethodSignature(html$.KeyframeEffect, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.KeyframeEffect, I[150]); dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); html$.LIElement = class LIElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LIElement.__(); + } static new() { return html$.document.createElement("li"); } + static ['_#new#tearOff']() { + return html$.LIElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LIElement.created(); + } get [S.$value]() { return this.value; } @@ -84183,6 +91500,7 @@ html$.LIElement = class LIElement extends html$.HtmlElement { }).prototype = html$.LIElement.prototype; dart.addTypeTests(html$.LIElement); dart.addTypeCaches(html$.LIElement); +dart.setStaticMethodSignature(html$.LIElement, () => ['__', 'new']); dart.setGetterSignature(html$.LIElement, () => ({ __proto__: dart.getGetters(html$.LIElement.__proto__), [S.$value]: core.int @@ -84191,12 +91509,21 @@ dart.setSetterSignature(html$.LIElement, () => ({ __proto__: dart.getSetters(html$.LIElement.__proto__), [S.$value]: core.int })); -dart.setLibraryUri(html$.LIElement, I[148]); +dart.setLibraryUri(html$.LIElement, I[150]); dart.registerExtension("HTMLLIElement", html$.LIElement); html$.LabelElement = class LabelElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LabelElement.__(); + } static new() { return html$.document.createElement("label"); } + static ['_#new#tearOff']() { + return html$.LabelElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LabelElement.created(); + } get [S$1.$control]() { return this.control; } @@ -84216,6 +91543,7 @@ html$.LabelElement = class LabelElement extends html$.HtmlElement { }).prototype = html$.LabelElement.prototype; dart.addTypeTests(html$.LabelElement); dart.addTypeCaches(html$.LabelElement); +dart.setStaticMethodSignature(html$.LabelElement, () => ['__', 'new']); dart.setGetterSignature(html$.LabelElement, () => ({ __proto__: dart.getGetters(html$.LabelElement.__proto__), [S$1.$control]: dart.nullable(html$.HtmlElement), @@ -84226,12 +91554,21 @@ dart.setSetterSignature(html$.LabelElement, () => ({ __proto__: dart.getSetters(html$.LabelElement.__proto__), [S$1.$htmlFor]: core.String })); -dart.setLibraryUri(html$.LabelElement, I[148]); +dart.setLibraryUri(html$.LabelElement, I[150]); dart.registerExtension("HTMLLabelElement", html$.LabelElement); html$.LegendElement = class LegendElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LegendElement.__(); + } static new() { return html$.document.createElement("legend"); } + static ['_#new#tearOff']() { + return html$.LegendElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LegendElement.created(); + } get [S$.$form]() { return this.form; } @@ -84242,13 +91579,17 @@ html$.LegendElement = class LegendElement extends html$.HtmlElement { }).prototype = html$.LegendElement.prototype; dart.addTypeTests(html$.LegendElement); dart.addTypeCaches(html$.LegendElement); +dart.setStaticMethodSignature(html$.LegendElement, () => ['__', 'new']); dart.setGetterSignature(html$.LegendElement, () => ({ __proto__: dart.getGetters(html$.LegendElement.__proto__), [S$.$form]: dart.nullable(html$.FormElement) })); -dart.setLibraryUri(html$.LegendElement, I[148]); +dart.setLibraryUri(html$.LegendElement, I[150]); dart.registerExtension("HTMLLegendElement", html$.LegendElement); html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static ['_#_#tearOff']() { + return html$.LinearAccelerationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84256,6 +91597,9 @@ html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.A } return html$.LinearAccelerationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.LinearAccelerationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new LinearAccelerationSensor(sensorOptions); } @@ -84265,12 +91609,22 @@ html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.A }; dart.addTypeTests(html$.LinearAccelerationSensor); dart.addTypeCaches(html$.LinearAccelerationSensor); -dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); +dart.setStaticMethodSignature(html$.LinearAccelerationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.LinearAccelerationSensor, I[150]); dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); html$.LinkElement = class LinkElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.LinkElement.__(); + } static new() { return html$.document.createElement("link"); } + static ['_#new#tearOff']() { + return html$.LinkElement.new(); + } + static ['_#created#tearOff']() { + return new html$.LinkElement.created(); + } get [S$1.$as]() { return this.as; } @@ -84359,6 +91713,7 @@ html$.LinkElement = class LinkElement extends html$.HtmlElement { }).prototype = html$.LinkElement.prototype; dart.addTypeTests(html$.LinkElement); dart.addTypeCaches(html$.LinkElement); +dart.setStaticMethodSignature(html$.LinkElement, () => ['__', 'new']); dart.setGetterSignature(html$.LinkElement, () => ({ __proto__: dart.getGetters(html$.LinkElement.__proto__), [S$1.$as]: dart.nullable(core.String), @@ -84392,9 +91747,12 @@ dart.setSetterSignature(html$.LinkElement, () => ({ [S$1.$scope]: dart.nullable(core.String), [S.$type]: core.String })); -dart.setLibraryUri(html$.LinkElement, I[148]); +dart.setLibraryUri(html$.LinkElement, I[150]); dart.registerExtension("HTMLLinkElement", html$.LinkElement); -html$.Location = class Location extends _interceptors.Interceptor { +html$.Location = class Location extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Location.__(); + } get [S$1.$ancestorOrigins]() { return this.ancestorOrigins; } @@ -84480,6 +91838,7 @@ dart.setMethodSignature(html$.Location, () => ({ [S$1.$reload]: dart.fnType(dart.void, []), [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.Location, () => ['__']); dart.setGetterSignature(html$.Location, () => ({ __proto__: dart.getGetters(html$.Location.__proto__), [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), @@ -84506,9 +91865,12 @@ dart.setSetterSignature(html$.Location, () => ({ [S$.$search]: dart.nullable(core.String), [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) })); -dart.setLibraryUri(html$.Location, I[148]); +dart.setLibraryUri(html$.Location, I[150]); dart.registerExtension("Location", html$.Location); html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static ['_#_#tearOff']() { + return html$.Magnetometer.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -84516,6 +91878,9 @@ html$.Magnetometer = class Magnetometer$ extends html$.Sensor { } return html$.Magnetometer._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.Magnetometer.new(sensorOptions); + } static _create_1(sensorOptions) { return new Magnetometer(sensorOptions); } @@ -84534,18 +91899,28 @@ html$.Magnetometer = class Magnetometer$ extends html$.Sensor { }; dart.addTypeTests(html$.Magnetometer); dart.addTypeCaches(html$.Magnetometer); +dart.setStaticMethodSignature(html$.Magnetometer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.Magnetometer, () => ({ __proto__: dart.getGetters(html$.Magnetometer.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.Magnetometer, I[148]); +dart.setLibraryUri(html$.Magnetometer, I[150]); dart.registerExtension("Magnetometer", html$.Magnetometer); html$.MapElement = class MapElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MapElement.__(); + } static new() { return html$.document.createElement("map"); } + static ['_#new#tearOff']() { + return html$.MapElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MapElement.created(); + } get [S$1.$areas]() { return this.areas; } @@ -84562,6 +91937,7 @@ html$.MapElement = class MapElement extends html$.HtmlElement { }).prototype = html$.MapElement.prototype; dart.addTypeTests(html$.MapElement); dart.addTypeCaches(html$.MapElement); +dart.setStaticMethodSignature(html$.MapElement, () => ['__', 'new']); dart.setGetterSignature(html$.MapElement, () => ({ __proto__: dart.getGetters(html$.MapElement.__proto__), [S$1.$areas]: core.List$(html$.Node), @@ -84571,16 +91947,36 @@ dart.setSetterSignature(html$.MapElement, () => ({ __proto__: dart.getSetters(html$.MapElement.__proto__), [$name]: core.String })); -dart.setLibraryUri(html$.MapElement, I[148]); +dart.setLibraryUri(html$.MapElement, I[150]); dart.registerExtension("HTMLMapElement", html$.MapElement); -html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { +html$.MathMLElement = class MathMLElement extends html$.Element { + static ['_#_#tearOff']() { + return html$.MathMLElement.__(); + } + static ['_#created#tearOff']() { + return new html$.MathMLElement.created(); + } +}; +(html$.MathMLElement.created = function() { + html$.MathMLElement.__proto__.created.call(this); + ; +}).prototype = html$.MathMLElement.prototype; +dart.addTypeTests(html$.MathMLElement); +dart.addTypeCaches(html$.MathMLElement); +dart.setStaticMethodSignature(html$.MathMLElement, () => ['__']); +dart.setLibraryUri(html$.MathMLElement, I[150]); +dart.registerExtension("MathMLElement", html$.MathMLElement); +html$.MediaCapabilities = class MediaCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilities.__(); + } [S$1.$decodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20602, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); } [S$1.$encodingInfo](configuration) { - if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 20611, 50, "configuration"); let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); } @@ -84592,9 +91988,13 @@ dart.setMethodSignature(html$.MediaCapabilities, () => ({ [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) })); -dart.setLibraryUri(html$.MediaCapabilities, I[148]); +dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); +dart.setLibraryUri(html$.MediaCapabilities, I[150]); dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); -html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { +html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaCapabilitiesInfo.__(); + } get [S$1.$powerEfficient]() { return this.powerEfficient; } @@ -84607,15 +92007,19 @@ html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors. }; dart.addTypeTests(html$.MediaCapabilitiesInfo); dart.addTypeCaches(html$.MediaCapabilitiesInfo); +dart.setStaticMethodSignature(html$.MediaCapabilitiesInfo, () => ['__']); dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), [S$1.$powerEfficient]: dart.nullable(core.bool), [S$1.$smooth]: dart.nullable(core.bool), [S$1.$supported]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); +dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[150]); dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); -html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { +html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaDeviceInfo.__(); + } get [S$1.$deviceId]() { return this.deviceId; } @@ -84631,6 +92035,7 @@ html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor }; dart.addTypeTests(html$.MediaDeviceInfo); dart.addTypeCaches(html$.MediaDeviceInfo); +dart.setStaticMethodSignature(html$.MediaDeviceInfo, () => ['__']); dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), [S$1.$deviceId]: dart.nullable(core.String), @@ -84638,9 +92043,12 @@ dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); +dart.setLibraryUri(html$.MediaDeviceInfo, I[150]); dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); html$.MediaDevices = class MediaDevices extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaDevices.__(); + } [S$1.$enumerateDevices]() { return js_util.promiseToFuture(core.List, this.enumerateDevices()); } @@ -84667,17 +92075,25 @@ dart.setMethodSignature(html$.MediaDevices, () => ({ [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.MediaDevices, I[148]); +dart.setStaticMethodSignature(html$.MediaDevices, () => ['__']); +dart.setLibraryUri(html$.MediaDevices, I[150]); dart.registerExtension("MediaDevices", html$.MediaDevices); html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaEncryptedEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); } return html$.MediaEncryptedEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 20854, 38, "type"); + return html$.MediaEncryptedEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaEncryptedEvent(type, eventInitDict); } @@ -84693,14 +92109,18 @@ html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaEncryptedEvent); dart.addTypeCaches(html$.MediaEncryptedEvent); +dart.setStaticMethodSignature(html$.MediaEncryptedEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), [S$1.$initDataType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); +dart.setLibraryUri(html$.MediaEncryptedEvent, I[150]); dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); -html$.MediaError = class MediaError extends _interceptors.Interceptor { +html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaError.__(); + } get [S$.$code]() { return this.code; } @@ -84710,12 +92130,14 @@ html$.MediaError = class MediaError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MediaError); dart.addTypeCaches(html$.MediaError); +dart.setStaticMethodSignature(html$.MediaError, () => ['__']); dart.setGetterSignature(html$.MediaError, () => ({ __proto__: dart.getGetters(html$.MediaError.__proto__), [S$.$code]: core.int, [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaError, I[148]); +dart.setLibraryUri(html$.MediaError, I[150]); +dart.setStaticFieldSignature(html$.MediaError, () => ['MEDIA_ERR_ABORTED', 'MEDIA_ERR_DECODE', 'MEDIA_ERR_NETWORK', 'MEDIA_ERR_SRC_NOT_SUPPORTED']); dart.defineLazy(html$.MediaError, { /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { return 1; @@ -84732,12 +92154,20 @@ dart.defineLazy(html$.MediaError, { }, false); dart.registerExtension("MediaError", html$.MediaError); html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaKeyMessageEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 20908, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 20908, 49, "eventInitDict"); + return html$.MediaKeyMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaKeyMessageEvent(type, eventInitDict); } @@ -84750,14 +92180,18 @@ html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaKeyMessageEvent); dart.addTypeCaches(html$.MediaKeyMessageEvent); +dart.setStaticMethodSignature(html$.MediaKeyMessageEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), [$message]: dart.nullable(typed_data.ByteBuffer), [S$1.$messageType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); +dart.setLibraryUri(html$.MediaKeyMessageEvent, I[150]); dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaKeySession.__(); + } get [S$1.$closed]() { return js_util.promiseToFuture(dart.void, this.closed); } @@ -84774,11 +92208,11 @@ html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { return js_util.promiseToFuture(dart.dynamic, this.close()); } [S$1.$generateRequest](initDataType, initData) { - if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + if (initDataType == null) dart.nullFailed(I[149], 20946, 33, "initDataType"); return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); } [S$.$load](sessionId) { - if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + if (sessionId == null) dart.nullFailed(I[149], 20950, 22, "sessionId"); return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); } [$remove]() { @@ -84801,6 +92235,7 @@ dart.setMethodSignature(html$.MediaKeySession, () => ({ [$remove]: dart.fnType(async.Future, []), [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MediaKeySession, () => ['__']); dart.setGetterSignature(html$.MediaKeySession, () => ({ __proto__: dart.getGetters(html$.MediaKeySession.__proto__), [S$1.$closed]: async.Future$(dart.void), @@ -84809,14 +92244,18 @@ dart.setGetterSignature(html$.MediaKeySession, () => ({ [S$1.$sessionId]: dart.nullable(core.String), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.MediaKeySession, I[148]); +dart.setLibraryUri(html$.MediaKeySession, I[150]); +dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); dart.defineLazy(html$.MediaKeySession, { /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MediaKeySession", html$.MediaKeySession); -html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { +html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeyStatusMap.__(); + } get [S$.$size]() { return this.size; } @@ -84834,13 +92273,17 @@ dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MediaKeyStatusMap, () => ['__']); dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), [S$.$size]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); +dart.setLibraryUri(html$.MediaKeyStatusMap, I[150]); dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); -html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { +html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeySystemAccess.__(); + } get [S$1.$keySystem]() { return this.keySystem; } @@ -84862,18 +92305,22 @@ dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ [S$1.$getConfiguration]: dart.fnType(core.Map, []), [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) })); +dart.setStaticMethodSignature(html$.MediaKeySystemAccess, () => ['__']); dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), [S$1.$keySystem]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); +dart.setLibraryUri(html$.MediaKeySystemAccess, I[150]); dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); -html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { +html$.MediaKeys = class MediaKeys extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeys.__(); + } [S$1._createSession](...args) { return this.createSession.apply(this, args); } [S$1.$getStatusForPolicy](policy) { - if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + if (policy == null) dart.nullFailed(I[149], 21014, 45, "policy"); return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); } [S$1.$setServerCertificate](serverCertificate) { @@ -84888,14 +92335,22 @@ dart.setMethodSignature(html$.MediaKeys, () => ({ [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) })); -dart.setLibraryUri(html$.MediaKeys, I[148]); +dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); +dart.setLibraryUri(html$.MediaKeys, I[150]); dart.registerExtension("MediaKeys", html$.MediaKeys); -html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { +html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaKeysPolicy.__(); + } static new(init) { - if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.MediaKeysPolicy._create_1(init_1); } + static ['_#new#tearOff'](init) { + if (init == null) dart.nullFailed(I[149], 21032, 31, "init"); + return html$.MediaKeysPolicy.new(init); + } static _create_1(init) { return new MediaKeysPolicy(init); } @@ -84905,13 +92360,17 @@ html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor }; dart.addTypeTests(html$.MediaKeysPolicy); dart.addTypeCaches(html$.MediaKeysPolicy); +dart.setStaticMethodSignature(html$.MediaKeysPolicy, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), [S$1.$minHdcpVersion]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); +dart.setLibraryUri(html$.MediaKeysPolicy, I[150]); dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); -html$.MediaList = class MediaList extends _interceptors.Interceptor { +html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaList.__(); + } get [$length]() { return this.length; } @@ -84939,6 +92398,7 @@ dart.setMethodSignature(html$.MediaList, () => ({ [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) })); +dart.setStaticMethodSignature(html$.MediaList, () => ['__']); dart.setGetterSignature(html$.MediaList, () => ({ __proto__: dart.getGetters(html$.MediaList.__proto__), [$length]: dart.nullable(core.int), @@ -84948,9 +92408,12 @@ dart.setSetterSignature(html$.MediaList, () => ({ __proto__: dart.getSetters(html$.MediaList.__proto__), [S$1.$mediaText]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaList, I[148]); +dart.setLibraryUri(html$.MediaList, I[150]); dart.registerExtension("MediaList", html$.MediaList); -html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { +html$.MediaMetadata = class MediaMetadata$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaMetadata.__(); + } static new(metadata = null) { if (metadata != null) { let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); @@ -84958,6 +92421,9 @@ html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { } return html$.MediaMetadata._create_2(); } + static ['_#new#tearOff'](metadata = null) { + return html$.MediaMetadata.new(metadata); + } static _create_1(metadata) { return new MediaMetadata(metadata); } @@ -84991,6 +92457,7 @@ html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MediaMetadata); dart.addTypeCaches(html$.MediaMetadata); +dart.setStaticMethodSignature(html$.MediaMetadata, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaMetadata, () => ({ __proto__: dart.getGetters(html$.MediaMetadata.__proto__), [S$1.$album]: dart.nullable(core.String), @@ -85005,9 +92472,12 @@ dart.setSetterSignature(html$.MediaMetadata, () => ({ [S$1.$artwork]: dart.nullable(core.List), [S.$title]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaMetadata, I[148]); +dart.setLibraryUri(html$.MediaMetadata, I[150]); dart.registerExtension("MediaMetadata", html$.MediaMetadata); html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaQueryList.__(); + } get [S.$matches]() { return this.matches; } @@ -85031,28 +92501,37 @@ dart.setMethodSignature(html$.MediaQueryList, () => ({ [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) })); +dart.setStaticMethodSignature(html$.MediaQueryList, () => ['__']); dart.setGetterSignature(html$.MediaQueryList, () => ({ __proto__: dart.getGetters(html$.MediaQueryList.__proto__), [S.$matches]: core.bool, [S$.$media]: core.String, [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaQueryList, I[148]); +dart.setLibraryUri(html$.MediaQueryList, I[150]); +dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); dart.defineLazy(html$.MediaQueryList, { /*html$.MediaQueryList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("MediaQueryList", html$.MediaQueryList); html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaQueryListEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); } return html$.MediaQueryListEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21140, 38, "type"); + return html$.MediaQueryListEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaQueryListEvent(type, eventInitDict); } @@ -85068,22 +92547,30 @@ html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaQueryListEvent); dart.addTypeCaches(html$.MediaQueryListEvent); +dart.setStaticMethodSignature(html$.MediaQueryListEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), [S.$matches]: dart.nullable(core.bool), [S$.$media]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); +dart.setLibraryUri(html$.MediaQueryListEvent, I[150]); dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaRecorder.__(); + } static new(stream, options = null) { - if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.MediaRecorder._create_1(stream, options_1); } return html$.MediaRecorder._create_2(stream); } + static ['_#new#tearOff'](stream, options = null) { + if (stream == null) dart.nullFailed(I[149], 21176, 37, "stream"); + return html$.MediaRecorder.new(stream, options); + } static _create_1(stream, options) { return new MediaRecorder(stream, options); } @@ -85123,7 +92610,7 @@ html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { get [S.$onError]() { return html$.MediaRecorder.errorEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.MediaRecorder.pauseEvent.forTarget(this); } }; @@ -85137,6 +92624,7 @@ dart.setMethodSignature(html$.MediaRecorder, () => ({ [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MediaRecorder, () => ['__', 'new', '_create_1', '_create_2', 'isTypeSupported']); dart.setGetterSignature(html$.MediaRecorder, () => ({ __proto__: dart.getGetters(html$.MediaRecorder.__proto__), [S$1.$audioBitsPerSecond]: dart.nullable(core.int), @@ -85145,19 +92633,23 @@ dart.setGetterSignature(html$.MediaRecorder, () => ({ [S$1.$stream]: dart.nullable(html$.MediaStream), [S$1.$videoBitsPerSecond]: dart.nullable(core.int), [S.$onError]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event) + [S$.$onPause]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaRecorder, I[148]); +dart.setLibraryUri(html$.MediaRecorder, I[150]); +dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); dart.defineLazy(html$.MediaRecorder, { /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; } }, false); dart.registerExtension("MediaRecorder", html$.MediaRecorder); -html$.MediaSession = class MediaSession extends _interceptors.Interceptor { +html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSession.__(); + } get [S$1.$metadata]() { return this.metadata; } @@ -85180,6 +92672,7 @@ dart.setMethodSignature(html$.MediaSession, () => ({ __proto__: dart.getMethods(html$.MediaSession.__proto__), [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) })); +dart.setStaticMethodSignature(html$.MediaSession, () => ['__']); dart.setGetterSignature(html$.MediaSession, () => ({ __proto__: dart.getGetters(html$.MediaSession.__proto__), [S$1.$metadata]: dart.nullable(html$.MediaMetadata), @@ -85190,9 +92683,12 @@ dart.setSetterSignature(html$.MediaSession, () => ({ [S$1.$metadata]: dart.nullable(html$.MediaMetadata), [S$1.$playbackState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MediaSession, I[148]); +dart.setLibraryUri(html$.MediaSession, I[150]); dart.registerExtension("MediaSession", html$.MediaSession); -html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { +html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MediaSettingsRange.__(); + } get [S$1.$max]() { return this.max; } @@ -85205,18 +92701,25 @@ html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interc }; dart.addTypeTests(html$.MediaSettingsRange); dart.addTypeCaches(html$.MediaSettingsRange); +dart.setStaticMethodSignature(html$.MediaSettingsRange, () => ['__']); dart.setGetterSignature(html$.MediaSettingsRange, () => ({ __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), [S$1.$max]: dart.nullable(core.num), [S$1.$min]: dart.nullable(core.num), [S$1.$step]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MediaSettingsRange, I[148]); +dart.setLibraryUri(html$.MediaSettingsRange, I[150]); dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaSource.__(); + } static new() { return html$.MediaSource._create_1(); } + static ['_#new#tearOff']() { + return html$.MediaSource.new(); + } static _create_1() { return new MediaSource(); } @@ -85264,6 +92767,7 @@ dart.setMethodSignature(html$.MediaSource, () => ({ [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(html$.MediaSource, () => ['__', 'new', '_create_1', 'isTypeSupported']); dart.setGetterSignature(html$.MediaSource, () => ({ __proto__: dart.getGetters(html$.MediaSource.__proto__), [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), @@ -85275,9 +92779,13 @@ dart.setSetterSignature(html$.MediaSource, () => ({ __proto__: dart.getSetters(html$.MediaSource.__proto__), [S$.$duration]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MediaSource, I[148]); +dart.setStaticGetterSignature(html$.MediaSource, () => ['supported']); +dart.setLibraryUri(html$.MediaSource, I[150]); dart.registerExtension("MediaSource", html$.MediaSource); html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MediaStream.__(); + } static new(stream_OR_tracks = null) { if (stream_OR_tracks == null) { return html$.MediaStream._create_1(); @@ -85290,6 +92798,9 @@ html$.MediaStream = class MediaStream$ extends html$.EventTarget { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](stream_OR_tracks = null) { + return html$.MediaStream.new(stream_OR_tracks); + } static _create_1() { return new MediaStream(); } @@ -85348,6 +92859,7 @@ dart.setMethodSignature(html$.MediaStream, () => ({ [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) })); +dart.setStaticMethodSignature(html$.MediaStream, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); dart.setGetterSignature(html$.MediaStream, () => ({ __proto__: dart.getGetters(html$.MediaStream.__proto__), [S$1.$active]: dart.nullable(core.bool), @@ -85355,25 +92867,34 @@ dart.setGetterSignature(html$.MediaStream, () => ({ [S$1.$onAddTrack]: async.Stream$(html$.Event), [S$1.$onRemoveTrack]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.MediaStream, I[148]); +dart.setStaticGetterSignature(html$.MediaStream, () => ['supported']); +dart.setLibraryUri(html$.MediaStream, I[150]); +dart.setStaticFieldSignature(html$.MediaStream, () => ['addTrackEvent', 'removeTrackEvent']); dart.defineLazy(html$.MediaStream, { /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { - return C[346] || CT.C346; + return C[356] || CT.C356; }, /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - return C[347] || CT.C347; + return C[357] || CT.C357; } }, false); dart.registerExtension("MediaStream", html$.MediaStream); html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamEvent._create_1(type, eventInitDict_1); } return html$.MediaStreamEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21407, 35, "type"); + return html$.MediaStreamEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamEvent(type, eventInitDict); } @@ -85389,19 +92910,29 @@ html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaStreamEvent); dart.addTypeCaches(html$.MediaStreamEvent); +dart.setStaticMethodSignature(html$.MediaStreamEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MediaStreamEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(html$.MediaStreamEvent, I[148]); +dart.setStaticGetterSignature(html$.MediaStreamEvent, () => ['supported']); +dart.setLibraryUri(html$.MediaStreamEvent, I[150]); dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.MediaStreamTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 21536, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 21536, 50, "eventInitDict"); + return html$.MediaStreamTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MediaStreamTrackEvent(type, eventInitDict); } @@ -85414,13 +92945,18 @@ html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { }; dart.addTypeTests(html$.MediaStreamTrackEvent); dart.addTypeCaches(html$.MediaStreamTrackEvent); +dart.setStaticMethodSignature(html$.MediaStreamTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); +dart.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); +dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); -html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { +html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MemoryInfo.__(); + } get [S$1.$jsHeapSizeLimit]() { return this.jsHeapSizeLimit; } @@ -85433,18 +92969,28 @@ html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MemoryInfo); dart.addTypeCaches(html$.MemoryInfo); +dart.setStaticMethodSignature(html$.MemoryInfo, () => ['__']); dart.setGetterSignature(html$.MemoryInfo, () => ({ __proto__: dart.getGetters(html$.MemoryInfo.__proto__), [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), [S$1.$totalJSHeapSize]: dart.nullable(core.int), [S$1.$usedJSHeapSize]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.MemoryInfo, I[148]); +dart.setLibraryUri(html$.MemoryInfo, I[150]); dart.registerExtension("MemoryInfo", html$.MemoryInfo); html$.MenuElement = class MenuElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MenuElement.__(); + } static new() { return html$.document.createElement("menu"); } + static ['_#new#tearOff']() { + return html$.MenuElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MenuElement.created(); + } }; (html$.MenuElement.created = function() { html$.MenuElement.__proto__.created.call(this); @@ -85452,12 +92998,19 @@ html$.MenuElement = class MenuElement extends html$.HtmlElement { }).prototype = html$.MenuElement.prototype; dart.addTypeTests(html$.MenuElement); dart.addTypeCaches(html$.MenuElement); -dart.setLibraryUri(html$.MenuElement, I[148]); +dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); +dart.setLibraryUri(html$.MenuElement, I[150]); dart.registerExtension("HTMLMenuElement", html$.MenuElement); -html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { +html$.MessageChannel = class MessageChannel$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MessageChannel.__(); + } static new() { return html$.MessageChannel._create_1(); } + static ['_#new#tearOff']() { + return html$.MessageChannel.new(); + } static _create_1() { return new MessageChannel(); } @@ -85470,26 +93023,27 @@ html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MessageChannel); dart.addTypeCaches(html$.MessageChannel); +dart.setStaticMethodSignature(html$.MessageChannel, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.MessageChannel, () => ({ __proto__: dart.getGetters(html$.MessageChannel.__proto__), [S$1.$port1]: html$.MessagePort, [S$1.$port2]: html$.MessagePort })); -dart.setLibraryUri(html$.MessageChannel, I[148]); +dart.setLibraryUri(html$.MessageChannel, I[150]); dart.registerExtension("MessageChannel", html$.MessageChannel); html$.MessageEvent = class MessageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); let data = opts && 'data' in opts ? opts.data : null; let origin = opts && 'origin' in opts ? opts.origin : null; let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; let source = opts && 'source' in opts ? opts.source : null; - let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; - if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); if (source == null) { source = html$.window; } @@ -85500,6 +93054,20 @@ html$.MessageEvent = class MessageEvent$ extends html$.Event { event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 21639, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 21640, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 21641, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[358] || CT.C358; + if (messagePorts == null) dart.nullFailed(I[149], 21646, 25, "messagePorts"); + return html$.MessageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, messagePorts: messagePorts}); + } get [S$.$data]() { return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); } @@ -85507,13 +93075,17 @@ html$.MessageEvent = class MessageEvent$ extends html$.Event { return this.data; } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MessageEvent._create_1(type, eventInitDict_1); } return html$.MessageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21681, 33, "type"); + return html$.MessageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MessageEvent(type, eventInitDict); } @@ -85554,6 +93126,7 @@ dart.setMethodSignature(html$.MessageEvent, () => ({ [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) })); +dart.setStaticMethodSignature(html$.MessageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MessageEvent, () => ({ __proto__: dart.getGetters(html$.MessageEvent.__proto__), [S$.$data]: dart.dynamic, @@ -85565,16 +93138,19 @@ dart.setGetterSignature(html$.MessageEvent, () => ({ [S$1._get_source]: dart.dynamic, [S$1.$suborigin]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MessageEvent, I[148]); +dart.setLibraryUri(html$.MessageEvent, I[150]); dart.registerExtension("MessageEvent", html$.MessageEvent); html$.MessagePort = class MessagePort extends html$.EventTarget { [S.$addEventListener](type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type == null) dart.nullFailed(I[149], 21738, 32, "type"); if (type === "message") { - this[S$1._start$4](); + this[S$1._start$5](); } super[S.$addEventListener](type, listener, useCapture); } + static ['_#_#tearOff']() { + return html$.MessagePort.__(); + } [S.$close](...args) { return this.close.apply(this, args); } @@ -85594,7 +93170,7 @@ html$.MessagePort = class MessagePort extends html$.EventTarget { [S$0._postMessage_2](...args) { return this.postMessage.apply(this, args); } - [S$1._start$4](...args) { + [S$1._start$5](...args) { return this.start.apply(this, args); } get [S$.$onMessage]() { @@ -85609,23 +93185,34 @@ dart.setMethodSignature(html$.MessagePort, () => ({ [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), - [S$1._start$4]: dart.fnType(dart.void, []) + [S$1._start$5]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MessagePort, () => ['__']); dart.setGetterSignature(html$.MessagePort, () => ({ __proto__: dart.getGetters(html$.MessagePort.__proto__), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.MessagePort, I[148]); +dart.setLibraryUri(html$.MessagePort, I[150]); +dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); dart.defineLazy(html$.MessagePort, { /*html$.MessagePort.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("MessagePort", html$.MessagePort); html$.MetaElement = class MetaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MetaElement.__(); + } static new() { return html$.document.createElement("meta"); } + static ['_#new#tearOff']() { + return html$.MetaElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MetaElement.created(); + } get [S$0.$content]() { return this.content; } @@ -85651,6 +93238,7 @@ html$.MetaElement = class MetaElement extends html$.HtmlElement { }).prototype = html$.MetaElement.prototype; dart.addTypeTests(html$.MetaElement); dart.addTypeCaches(html$.MetaElement); +dart.setStaticMethodSignature(html$.MetaElement, () => ['__', 'new']); dart.setGetterSignature(html$.MetaElement, () => ({ __proto__: dart.getGetters(html$.MetaElement.__proto__), [S$0.$content]: core.String, @@ -85663,9 +93251,12 @@ dart.setSetterSignature(html$.MetaElement, () => ({ [S$1.$httpEquiv]: dart.nullable(core.String), [$name]: core.String })); -dart.setLibraryUri(html$.MetaElement, I[148]); +dart.setLibraryUri(html$.MetaElement, I[150]); dart.registerExtension("HTMLMetaElement", html$.MetaElement); -html$.Metadata = class Metadata extends _interceptors.Interceptor { +html$.Metadata = class Metadata extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Metadata.__(); + } get [S$1.$modificationTime]() { return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); } @@ -85678,18 +93269,28 @@ html$.Metadata = class Metadata extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Metadata); dart.addTypeCaches(html$.Metadata); +dart.setStaticMethodSignature(html$.Metadata, () => ['__']); dart.setGetterSignature(html$.Metadata, () => ({ __proto__: dart.getGetters(html$.Metadata.__proto__), [S$1.$modificationTime]: core.DateTime, [S$1._get_modificationTime]: dart.dynamic, [S$.$size]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.Metadata, I[148]); +dart.setLibraryUri(html$.Metadata, I[150]); dart.registerExtension("Metadata", html$.Metadata); html$.MeterElement = class MeterElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.MeterElement.__(); + } static new() { return html$.MeterElement.as(html$.document[S.$createElement]("meter")); } + static ['_#new#tearOff']() { + return html$.MeterElement.new(); + } + static ['_#created#tearOff']() { + return new html$.MeterElement.created(); + } static get supported() { return html$.Element.isTagSupported("meter"); } @@ -85739,6 +93340,7 @@ html$.MeterElement = class MeterElement extends html$.HtmlElement { }).prototype = html$.MeterElement.prototype; dart.addTypeTests(html$.MeterElement); dart.addTypeCaches(html$.MeterElement); +dart.setStaticMethodSignature(html$.MeterElement, () => ['__', 'new']); dart.setGetterSignature(html$.MeterElement, () => ({ __proto__: dart.getGetters(html$.MeterElement.__proto__), [S$1.$high]: dart.nullable(core.num), @@ -85758,9 +93360,13 @@ dart.setSetterSignature(html$.MeterElement, () => ({ [S$1.$optimum]: dart.nullable(core.num), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.MeterElement, I[148]); +dart.setStaticGetterSignature(html$.MeterElement, () => ['supported']); +dart.setLibraryUri(html$.MeterElement, I[150]); dart.registerExtension("HTMLMeterElement", html$.MeterElement); html$.MidiAccess = class MidiAccess extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiAccess.__(); + } get [S$1.$inputs]() { return this.inputs; } @@ -85773,23 +93379,31 @@ html$.MidiAccess = class MidiAccess extends html$.EventTarget { }; dart.addTypeTests(html$.MidiAccess); dart.addTypeCaches(html$.MidiAccess); +dart.setStaticMethodSignature(html$.MidiAccess, () => ['__']); dart.setGetterSignature(html$.MidiAccess, () => ({ __proto__: dart.getGetters(html$.MidiAccess.__proto__), [S$1.$inputs]: dart.nullable(html$.MidiInputMap), [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), [S$1.$sysexEnabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.MidiAccess, I[148]); +dart.setLibraryUri(html$.MidiAccess, I[150]); dart.registerExtension("MIDIAccess", html$.MidiAccess); html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiConnectionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); } return html$.MidiConnectionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 21932, 38, "type"); + return html$.MidiConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIConnectionEvent(type, eventInitDict); } @@ -85802,13 +93416,17 @@ html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { }; dart.addTypeTests(html$.MidiConnectionEvent); dart.addTypeCaches(html$.MidiConnectionEvent); +dart.setStaticMethodSignature(html$.MidiConnectionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), [S$.$port]: dart.nullable(html$.MidiPort) })); -dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); +dart.setLibraryUri(html$.MidiConnectionEvent, I[150]); dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); html$.MidiPort = class MidiPort extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.MidiPort.__(); + } get [S$1.$connection]() { return this.connection; } @@ -85844,6 +93462,7 @@ dart.setMethodSignature(html$.MidiPort, () => ({ [S.$close]: dart.fnType(async.Future, []), [S.$open]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.MidiPort, () => ['__']); dart.setGetterSignature(html$.MidiPort, () => ({ __proto__: dart.getGetters(html$.MidiPort.__proto__), [S$1.$connection]: dart.nullable(core.String), @@ -85854,44 +93473,52 @@ dart.setGetterSignature(html$.MidiPort, () => ({ [S.$type]: dart.nullable(core.String), [S.$version]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MidiPort, I[148]); +dart.setLibraryUri(html$.MidiPort, I[150]); dart.registerExtension("MIDIPort", html$.MidiPort); html$.MidiInput = class MidiInput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiInput.__(); + } get [S$1.$onMidiMessage]() { return html$.MidiInput.midiMessageEvent.forTarget(this); } }; dart.addTypeTests(html$.MidiInput); dart.addTypeCaches(html$.MidiInput); +dart.setStaticMethodSignature(html$.MidiInput, () => ['__']); dart.setGetterSignature(html$.MidiInput, () => ({ __proto__: dart.getGetters(html$.MidiInput.__proto__), [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) })); -dart.setLibraryUri(html$.MidiInput, I[148]); +dart.setLibraryUri(html$.MidiInput, I[150]); +dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); dart.defineLazy(html$.MidiInput, { /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[349] || CT.C349; + return C[359] || CT.C359; } }, false); dart.registerExtension("MIDIInput", html$.MidiInput); -const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36.new = function() { - Interceptor_MapMixin$36.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36.prototype; -dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); -html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { +const JavaScriptObject_MapMixin$36 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36.new = function() { + JavaScriptObject_MapMixin$36.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiInputMap = class MidiInputMap extends JavaScriptObject_MapMixin$36 { + static ['_#_#tearOff']() { + return html$.MidiInputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + if (key == null) dart.nullFailed(I[149], 21984, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + if (other == null) dart.nullFailed(I[149], 21987, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + if (e == null) dart.nullFailed(I[149], 21991, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -85902,7 +93529,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -85913,7 +93540,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -85921,7 +93548,7 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -85938,15 +93565,15 @@ html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22025, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22029, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22029, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -85968,22 +93595,30 @@ dart.setMethodSignature(html$.MidiInputMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MidiInputMap, () => ['__']); dart.setGetterSignature(html$.MidiInputMap, () => ({ __proto__: dart.getGetters(html$.MidiInputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.MidiInputMap, I[148]); +dart.setLibraryUri(html$.MidiInputMap, I[150]); dart.registerExtension("MIDIInputMap", html$.MidiInputMap); html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MidiMessageEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MidiMessageEvent._create_1(type, eventInitDict_1); } return html$.MidiMessageEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22052, 35, "type"); + return html$.MidiMessageEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MIDIMessageEvent(type, eventInitDict); } @@ -85996,13 +93631,17 @@ html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { }; dart.addTypeTests(html$.MidiMessageEvent); dart.addTypeCaches(html$.MidiMessageEvent); +dart.setStaticMethodSignature(html$.MidiMessageEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.MidiMessageEvent, () => ({ __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), [S$.$data]: dart.nullable(typed_data.Uint8List) })); -dart.setLibraryUri(html$.MidiMessageEvent, I[148]); +dart.setLibraryUri(html$.MidiMessageEvent, I[150]); dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); html$.MidiOutput = class MidiOutput extends html$.MidiPort { + static ['_#_#tearOff']() { + return html$.MidiOutput.__(); + } [S$1.$send](...args) { return this.send.apply(this, args); } @@ -86013,26 +93652,30 @@ dart.setMethodSignature(html$.MidiOutput, () => ({ __proto__: dart.getMethods(html$.MidiOutput.__proto__), [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) })); -dart.setLibraryUri(html$.MidiOutput, I[148]); +dart.setStaticMethodSignature(html$.MidiOutput, () => ['__']); +dart.setLibraryUri(html$.MidiOutput, I[150]); dart.registerExtension("MIDIOutput", html$.MidiOutput); -const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$.new = function() { - Interceptor_MapMixin$36$.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$.prototype; -dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); -html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { +const JavaScriptObject_MapMixin$36$ = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$.new = function() { + JavaScriptObject_MapMixin$36$.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiOutputMap = class MidiOutputMap extends JavaScriptObject_MapMixin$36$ { + static ['_#_#tearOff']() { + return html$.MidiOutputMap.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + if (key == null) dart.nullFailed(I[149], 22090, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + if (other == null) dart.nullFailed(I[149], 22093, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + if (e == null) dart.nullFailed(I[149], 22097, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -86043,7 +93686,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -86054,7 +93697,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -86062,7 +93705,7 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -86079,15 +93722,15 @@ html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + if (key == null) dart.nullFailed(I[149], 22131, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 22135, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 22135, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -86109,14 +93752,18 @@ dart.setMethodSignature(html$.MidiOutputMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.MidiOutputMap, () => ['__']); dart.setGetterSignature(html$.MidiOutputMap, () => ({ __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.MidiOutputMap, I[148]); +dart.setLibraryUri(html$.MidiOutputMap, I[150]); dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); -html$.MimeType = class MimeType extends _interceptors.Interceptor { +html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MimeType.__(); + } get [S$1.$description]() { return this.description; } @@ -86132,6 +93779,7 @@ html$.MimeType = class MimeType extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MimeType); dart.addTypeCaches(html$.MimeType); +dart.setStaticMethodSignature(html$.MimeType, () => ['__']); dart.setGetterSignature(html$.MimeType, () => ({ __proto__: dart.getGetters(html$.MimeType.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -86139,37 +93787,40 @@ dart.setGetterSignature(html$.MimeType, () => ({ [S$1.$suffixes]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MimeType, I[148]); +dart.setLibraryUri(html$.MimeType, I[150]); dart.registerExtension("MimeType", html$.MimeType); -const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$2.new = function() { - Interceptor_ListMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$2.prototype; -dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); -const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; -(Interceptor_ImmutableListMixin$36$2.new = function() { - Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$2.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); -html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { +const JavaScriptObject_ListMixin$36$2 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$2.new = function() { + JavaScriptObject_ListMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); +const JavaScriptObject_ImmutableListMixin$36$2 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$2 {}; +(JavaScriptObject_ImmutableListMixin$36$2.new = function() { + JavaScriptObject_ImmutableListMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); +html$.MimeTypeArray = class MimeTypeArray extends JavaScriptObject_ImmutableListMixin$36$2 { + static ['_#_#tearOff']() { + return html$.MimeTypeArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 22210, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + if (index == null) dart.nullFailed(I[149], 22216, 25, "index"); html$.MimeType.as(value); - if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + if (value == null) dart.nullFailed(I[149], 22216, 41, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + if (value == null) dart.nullFailed(I[149], 22222, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -86200,7 +93851,7 @@ html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + if (index == null) dart.nullFailed(I[149], 22250, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -86221,6 +93872,7 @@ dart.setMethodSignature(html$.MimeTypeArray, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); +dart.setStaticMethodSignature(html$.MimeTypeArray, () => ['__']); dart.setGetterSignature(html$.MimeTypeArray, () => ({ __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), [$length]: core.int @@ -86229,9 +93881,15 @@ dart.setSetterSignature(html$.MimeTypeArray, () => ({ __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.MimeTypeArray, I[148]); +dart.setLibraryUri(html$.MimeTypeArray, I[150]); dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); html$.ModElement = class ModElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ModElement.__(); + } + static ['_#created#tearOff']() { + return new html$.ModElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -86251,6 +93909,7 @@ html$.ModElement = class ModElement extends html$.HtmlElement { }).prototype = html$.ModElement.prototype; dart.addTypeTests(html$.ModElement); dart.addTypeCaches(html$.ModElement); +dart.setStaticMethodSignature(html$.ModElement, () => ['__']); dart.setGetterSignature(html$.ModElement, () => ({ __proto__: dart.getGetters(html$.ModElement.__proto__), [S$1.$cite]: core.String, @@ -86261,36 +93920,36 @@ dart.setSetterSignature(html$.ModElement, () => ({ [S$1.$cite]: core.String, [S$1.$dateTime]: core.String })); -dart.setLibraryUri(html$.ModElement, I[148]); +dart.setLibraryUri(html$.ModElement, I[150]); dart.registerExtension("HTMLModElement", html$.ModElement); html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; if (view == null) { view = html$.window; @@ -86299,8 +93958,42 @@ html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); return event; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 22296, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 22298, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 22299, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 22300, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 22301, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 22302, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 22303, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 22304, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 22305, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 22306, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 22307, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 22308, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 22309, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.MouseEvent.new(type, {view: view, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); + return html$.MouseEvent.__(type, eventInitDict); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (type == null) dart.nullFailed(I[149], 22334, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.MouseEvent._create_1(type, eventInitDict_1); @@ -86428,6 +94121,7 @@ dart.setMethodSignature(html$.MouseEvent, () => ({ [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) })); +dart.setStaticMethodSignature(html$.MouseEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.MouseEvent, () => ({ __proto__: dart.getGetters(html$.MouseEvent.__proto__), [S$1.$altKey]: core.bool, @@ -86459,10 +94153,13 @@ dart.setGetterSignature(html$.MouseEvent, () => ({ [S$0.$page]: math.Point$(core.num), [S$1.$dataTransfer]: html$.DataTransfer })); -dart.setLibraryUri(html$.MouseEvent, I[148]); +dart.setLibraryUri(html$.MouseEvent, I[150]); dart.registerExtension("MouseEvent", html$.MouseEvent); dart.registerExtension("DragEvent", html$.MouseEvent); html$.MutationEvent = class MutationEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.MutationEvent.__(); + } get [S$1.$attrChange]() { return this.attrChange; } @@ -86488,6 +94185,7 @@ dart.setMethodSignature(html$.MutationEvent, () => ({ __proto__: dart.getMethods(html$.MutationEvent.__proto__), [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.MutationEvent, () => ['__']); dart.setGetterSignature(html$.MutationEvent, () => ({ __proto__: dart.getGetters(html$.MutationEvent.__proto__), [S$1.$attrChange]: dart.nullable(core.int), @@ -86496,7 +94194,8 @@ dart.setGetterSignature(html$.MutationEvent, () => ({ [S$1.$prevValue]: dart.nullable(core.String), [S$1.$relatedNode]: dart.nullable(html$.Node) })); -dart.setLibraryUri(html$.MutationEvent, I[148]); +dart.setLibraryUri(html$.MutationEvent, I[150]); +dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); dart.defineLazy(html$.MutationEvent, { /*html$.MutationEvent.ADDITION*/get ADDITION() { return 2; @@ -86509,24 +94208,24 @@ dart.defineLazy(html$.MutationEvent, { } }, false); dart.registerExtension("MutationEvent", html$.MutationEvent); -html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { +html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$1._observe](target, options = null) { - if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + [S$2._observe](target, options = null) { + if (target == null) dart.nullFailed(I[149], 22568, 22, "target"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](target, options_1); return; } - this[S$1._observe_2](target); + this[S$2._observe_2](target); return; } [S$1._observe_1$1](...args) { return this.observe.apply(this, args); } - [S$1._observe_2](...args) { + [S$2._observe_2](...args) { return this.observe.apply(this, args); } [S$1.$takeRecords](...args) { @@ -86536,7 +94235,7 @@ html$.MutationObserver = class MutationObserver extends _interceptors.Intercepto return !!(window.MutationObserver || window.WebKitMutationObserver); } [S.$observe](target, opts) { - if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + if (target == null) dart.nullFailed(I[149], 22604, 21, "target"); let childList = opts && 'childList' in opts ? opts.childList : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let characterData = opts && 'characterData' in opts ? opts.characterData : null; @@ -86558,67 +94257,77 @@ html$.MutationObserver = class MutationObserver extends _interceptors.Intercepto if (attributeFilter != null) { override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); } - this[S$1._call](target, parsedOptions); + this[S$2._call](target, parsedOptions); } static _createDict() { return {}; } static _add(m, key, value) { - if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); m[key] = value; } static _fixupList(list) { return list; } - [S$1._call](...args) { + [S$2._call](...args) { return this.observe.apply(this, args); } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); 0; return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 22654, 45, "callback"); + return html$.MutationObserver.new(callback); + } }; dart.addTypeTests(html$.MutationObserver); dart.addTypeCaches(html$.MutationObserver); dart.setMethodSignature(html$.MutationObserver, () => ({ __proto__: dart.getMethods(html$.MutationObserver.__proto__), [S$1.$disconnect]: dart.fnType(dart.void, []), - [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$2._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), - [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$2._observe_2]: dart.fnType(dart.void, [html$.Node]), [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), - [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) + [S$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) })); -dart.setLibraryUri(html$.MutationObserver, I[148]); +dart.setStaticMethodSignature(html$.MutationObserver, () => ['_createDict', '_add', '_fixupList', 'new']); +dart.setStaticGetterSignature(html$.MutationObserver, () => ['supported']); +dart.setLibraryUri(html$.MutationObserver, I[150]); +dart.setStaticFieldSignature(html$.MutationObserver, () => ['_boolKeys']); dart.defineLazy(html$.MutationObserver, { /*html$.MutationObserver._boolKeys*/get _boolKeys() { - return C[350] || CT.C350; + return C[360] || CT.C360; } }, false); dart.registerExtension("MutationObserver", html$.MutationObserver); dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); -html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { - get [S$1.$addedNodes]() { +html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.MutationRecord.__(); + } + get [S$2.$addedNodes]() { return this.addedNodes; } - get [S$1.$attributeName]() { + get [S$2.$attributeName]() { return this.attributeName; } - get [S$1.$attributeNamespace]() { + get [S$2.$attributeNamespace]() { return this.attributeNamespace; } - get [S$1.$nextSibling]() { + get [S$2.$nextSibling]() { return this.nextSibling; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } - get [S$1.$previousSibling]() { + get [S$2.$previousSibling]() { return this.previousSibling; } - get [S$1.$removedNodes]() { + get [S$2.$removedNodes]() { return this.removedNodes; } get [S.$target]() { @@ -86630,28 +94339,32 @@ html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { }; dart.addTypeTests(html$.MutationRecord); dart.addTypeCaches(html$.MutationRecord); +dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); dart.setGetterSignature(html$.MutationRecord, () => ({ __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), - [S$1.$attributeName]: dart.nullable(core.String), - [S$1.$attributeNamespace]: dart.nullable(core.String), - [S$1.$nextSibling]: dart.nullable(html$.Node), - [S$1.$oldValue]: dart.nullable(core.String), - [S$1.$previousSibling]: dart.nullable(html$.Node), - [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$2.$attributeName]: dart.nullable(core.String), + [S$2.$attributeNamespace]: dart.nullable(core.String), + [S$2.$nextSibling]: dart.nullable(html$.Node), + [S$2.$oldValue]: dart.nullable(core.String), + [S$2.$previousSibling]: dart.nullable(html$.Node), + [S$2.$removedNodes]: dart.nullable(core.List$(html$.Node)), [S.$target]: dart.nullable(html$.Node), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.MutationRecord, I[148]); +dart.setLibraryUri(html$.MutationRecord, I[150]); dart.registerExtension("MutationRecord", html$.MutationRecord); -html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { - [S$1.$disable]() { +html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigationPreloadManager.__(); + } + [S$2.$disable]() { return js_util.promiseToFuture(dart.dynamic, this.disable()); } - [S$1.$enable]() { + [S$2.$enable]() { return js_util.promiseToFuture(dart.dynamic, this.enable()); } - [S$1.$getState]() { + [S$2.$getState]() { return html$.promiseToFutureAsMap(this.getState()); } }; @@ -86659,28 +94372,33 @@ dart.addTypeTests(html$.NavigationPreloadManager); dart.addTypeCaches(html$.NavigationPreloadManager); dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [S$1.$disable]: dart.fnType(async.Future, []), - [S$1.$enable]: dart.fnType(async.Future, []), - [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) + [S$2.$disable]: dart.fnType(async.Future, []), + [S$2.$enable]: dart.fnType(async.Future, []), + [S$2.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) })); -dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); +dart.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); +dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); -html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { +html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorConcurrentHardware.__(); + } get [S$2.$hardwareConcurrency]() { return this.hardwareConcurrency; } }; dart.addTypeTests(html$.NavigatorConcurrentHardware); dart.addTypeCaches(html$.NavigatorConcurrentHardware); +dart.setStaticMethodSignature(html$.NavigatorConcurrentHardware, () => ['__']); dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), [S$2.$hardwareConcurrency]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); +dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[150]); dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$1.$getGamepads]() { - let gamepadList = this[S$1._getGamepads](); + [S$2.$getGamepads]() { + let gamepadList = this[S$2._getGamepads](); let jsProto = gamepadList.prototype; if (jsProto == null) { gamepadList.prototype = Object.create(null); @@ -86688,7 +94406,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { _js_helper.applyExtension("GamepadList", gamepadList); return gamepadList; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language || this.userLanguage; } [S$1.$getUserMedia](opts) { @@ -86696,43 +94414,46 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { let video = opts && 'video' in opts ? opts.video : false; let completer = T$0.CompleterOfMediaStream().new(); let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); - this[S$1._ensureGetUserMedia](); - this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { - if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + this[S$2._ensureGetUserMedia](); + this[S$2._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[149], 22785, 10, "stream"); completer.complete(stream); }, T$0.MediaStreamTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + if (error == null) dart.nullFailed(I[149], 22787, 9, "error"); completer.completeError(error); }, T$0.NavigatorUserMediaErrorTovoid())); return completer.future; } - [S$1._ensureGetUserMedia]() { + [S$2._ensureGetUserMedia]() { if (!this.getUserMedia) { this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; } } - [S$1._getUserMedia](...args) { + [S$2._getUserMedia](...args) { return this.getUserMedia.apply(this, args); } - get [S$1.$budget]() { + static ['_#_#tearOff']() { + return html$.Navigator.__(); + } + get [S$2.$budget]() { return this.budget; } - get [S$1.$clipboard]() { + get [S$2.$clipboard]() { return this.clipboard; } get [S$1.$connection]() { return this.connection; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } - get [S$1.$deviceMemory]() { + get [S$2.$deviceMemory]() { return this.deviceMemory; } - get [S$1.$doNotTrack]() { + get [S$2.$doNotTrack]() { return this.doNotTrack; } - get [S$1.$geolocation]() { + get [S$2.$geolocation]() { return this.geolocation; } get [S$2.$maxTouchPoints]() { @@ -86789,7 +94510,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { [S$2.$getBattery]() { return js_util.promiseToFuture(dart.dynamic, this.getBattery()); } - [S$1._getGamepads](...args) { + [S$2._getGamepads](...args) { return this.getGamepads.apply(this, args); } [S$2.$getInstalledRelatedApps]() { @@ -86809,7 +94530,7 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { return this[S$2._requestKeyboardLock_2](); } [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); } [S$2._requestKeyboardLock_2]() { @@ -86823,8 +94544,8 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); } [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { - if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); - if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + if (keySystem == null) dart.nullFailed(I[149], 22918, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[149], 22918, 39, "supportedConfigurations"); return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); } [S$2.$sendBeacon](...args) { @@ -86873,16 +94594,16 @@ html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { }; dart.addTypeTests(html$.Navigator); dart.addTypeCaches(html$.Navigator); -html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; +html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorID, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation]; dart.setMethodSignature(html$.Navigator, () => ({ __proto__: dart.getMethods(html$.Navigator.__proto__), - [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), - [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), - [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$2._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), [S$2.$getBattery]: dart.fnType(async.Future, []), - [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), [S$2.$getVRDisplays]: dart.fnType(async.Future, []), [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), @@ -86894,16 +94615,17 @@ dart.setMethodSignature(html$.Navigator, () => ({ [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.Navigator, () => ['__']); dart.setGetterSignature(html$.Navigator, () => ({ __proto__: dart.getGetters(html$.Navigator.__proto__), - [S$1.$language]: core.String, - [S$1.$budget]: dart.nullable(html$._BudgetService), - [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$2.$language]: core.String, + [S$2.$budget]: dart.nullable(html$._BudgetService), + [S$2.$clipboard]: dart.nullable(html$._Clipboard), [S$1.$connection]: dart.nullable(html$.NetworkInformation), - [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), - [S$1.$deviceMemory]: dart.nullable(core.num), - [S$1.$doNotTrack]: dart.nullable(core.String), - [S$1.$geolocation]: html$.Geolocation, + [S$2.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$2.$deviceMemory]: dart.nullable(core.num), + [S$2.$doNotTrack]: dart.nullable(core.String), + [S$2.$geolocation]: html$.Geolocation, [S$2.$maxTouchPoints]: dart.nullable(core.int), [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), @@ -86932,35 +94654,46 @@ dart.setGetterSignature(html$.Navigator, () => ({ [S$2.$languages]: dart.nullable(core.List$(core.String)), [S$2.$onLine]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Navigator, I[148]); +dart.setLibraryUri(html$.Navigator, I[150]); dart.registerExtension("Navigator", html$.Navigator); -html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { +html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorAutomationInformation.__(); + } get [S$2.$webdriver]() { return this.webdriver; } }; dart.addTypeTests(html$.NavigatorAutomationInformation); dart.addTypeCaches(html$.NavigatorAutomationInformation); +dart.setStaticMethodSignature(html$.NavigatorAutomationInformation, () => ['__']); dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), [S$2.$webdriver]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); +dart.setLibraryUri(html$.NavigatorAutomationInformation, I[150]); dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); -html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { +html$.NavigatorCookies = class NavigatorCookies extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorCookies.__(); + } get [S$2.$cookieEnabled]() { return this.cookieEnabled; } }; dart.addTypeTests(html$.NavigatorCookies); dart.addTypeCaches(html$.NavigatorCookies); +dart.setStaticMethodSignature(html$.NavigatorCookies, () => ['__']); dart.setGetterSignature(html$.NavigatorCookies, () => ({ __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), [S$2.$cookieEnabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorCookies, I[148]); +dart.setLibraryUri(html$.NavigatorCookies, I[150]); dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); -html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { +html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorID.__(); + } get appCodeName() { return this.appCodeName; } @@ -86985,6 +94718,7 @@ html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { }; dart.addTypeTests(html$.NavigatorID); dart.addTypeCaches(html$.NavigatorID); +dart.setStaticMethodSignature(html$.NavigatorID, () => ['__']); dart.setGetterSignature(html$.NavigatorID, () => ({ __proto__: dart.getGetters(html$.NavigatorID.__proto__), appCodeName: core.String, @@ -87002,7 +94736,7 @@ dart.setGetterSignature(html$.NavigatorID, () => ({ userAgent: core.String, [S$2.$userAgent]: core.String })); -dart.setLibraryUri(html$.NavigatorID, I[148]); +dart.setLibraryUri(html$.NavigatorID, I[150]); dart.defineExtensionAccessors(html$.NavigatorID, [ 'appCodeName', 'appName', @@ -87012,7 +94746,10 @@ dart.defineExtensionAccessors(html$.NavigatorID, [ 'product', 'userAgent' ]); -html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { +html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorLanguage.__(); + } get language() { return this.language; } @@ -87022,30 +94759,38 @@ html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Intercep }; dart.addTypeTests(html$.NavigatorLanguage); dart.addTypeCaches(html$.NavigatorLanguage); +dart.setStaticMethodSignature(html$.NavigatorLanguage, () => ['__']); dart.setGetterSignature(html$.NavigatorLanguage, () => ({ __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), language: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), languages: dart.nullable(core.List$(core.String)), [S$2.$languages]: dart.nullable(core.List$(core.String)) })); -dart.setLibraryUri(html$.NavigatorLanguage, I[148]); +dart.setLibraryUri(html$.NavigatorLanguage, I[150]); dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); -html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { +html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorOnLine.__(); + } get onLine() { return this.onLine; } }; dart.addTypeTests(html$.NavigatorOnLine); dart.addTypeCaches(html$.NavigatorOnLine); +dart.setStaticMethodSignature(html$.NavigatorOnLine, () => ['__']); dart.setGetterSignature(html$.NavigatorOnLine, () => ({ __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), onLine: dart.nullable(core.bool), [S$2.$onLine]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.NavigatorOnLine, I[148]); +dart.setLibraryUri(html$.NavigatorOnLine, I[150]); dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); -html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { +html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NavigatorUserMediaError.__(); + } get [S$2.$constraintName]() { return this.constraintName; } @@ -87058,15 +94803,19 @@ html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _intercept }; dart.addTypeTests(html$.NavigatorUserMediaError); dart.addTypeCaches(html$.NavigatorUserMediaError); +dart.setStaticMethodSignature(html$.NavigatorUserMediaError, () => ['__']); dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), [S$2.$constraintName]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); +dart.setLibraryUri(html$.NavigatorUserMediaError, I[150]); dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.NetworkInformation.__(); + } get [S$2.$downlink]() { return this.downlink; } @@ -87088,6 +94837,7 @@ html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { }; dart.addTypeTests(html$.NetworkInformation); dart.addTypeCaches(html$.NetworkInformation); +dart.setStaticMethodSignature(html$.NetworkInformation, () => ['__']); dart.setGetterSignature(html$.NetworkInformation, () => ({ __proto__: dart.getGetters(html$.NetworkInformation.__proto__), [S$2.$downlink]: dart.nullable(core.num), @@ -87097,14 +94847,19 @@ dart.setGetterSignature(html$.NetworkInformation, () => ({ [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.NetworkInformation, I[148]); +dart.setLibraryUri(html$.NetworkInformation, I[150]); +dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); dart.defineLazy(html$.NetworkInformation, { /*html$.NetworkInformation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("NetworkInformation", html$.NetworkInformation); html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + static ['_#new#tearOff'](_this) { + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); + return new html$._ChildNodeListLazy.new(_this); + } get first() { let result = this[S$._this].firstChild; if (result == null) dart.throw(new core.StateError.new("No elements")); @@ -87129,12 +94884,12 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } add(value) { html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + if (value == null) dart.nullFailed(I[149], 23150, 17, "value"); this[S$._this][S.$append](value); } addAll(iterable) { T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23154, 30, "iterable"); if (html$._ChildNodeListLazy.is(iterable)) { let otherList = iterable; if (otherList[S$._this] != this[S$._this]) { @@ -87149,9 +94904,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } insert(index, node) { - if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); html$.Node.as(node); - if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (node == null) dart.nullFailed(I[149], 23170, 31, "node"); if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { dart.throw(new core.RangeError.range(index, 0, this.length)); } @@ -87162,9 +94917,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -87173,9 +94928,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } setAll(index, iterable) { - if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); } removeLast() { @@ -87186,7 +94941,7 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ return result; } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + if (index == null) dart.nullFailed(I[149], 23202, 21, "index"); let result = this._get(index); if (result != null) { this[S$._this][S$._removeChild](result); @@ -87201,8 +94956,8 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ return true; } [S$1._filter$2](test, removeMatching) { - if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); - if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + if (test == null) dart.nullFailed(I[149], 23218, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[149], 23218, 43, "removeMatching"); let child = this[S$._this].firstChild; while (child != null) { let nextChild = child[S.$nextNode]; @@ -87213,11 +94968,11 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23232, 25, "test"); this[S$1._filter$2](test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + if (test == null) dart.nullFailed(I[149], 23236, 25, "test"); this[S$1._filter$2](test, false); } clear() { @@ -87225,9 +94980,9 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); this[S$._this][S$._replaceChild](value, this._get(index)); return value$; } @@ -87241,33 +94996,33 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); - if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + if (start == null) dart.nullFailed(I[149], 23263, 21, "start"); + if (end == null) dart.nullFailed(I[149], 23263, 32, "end"); T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[149], 23263, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 23264, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); } fillRange(start, end, fill = null) { - if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); - if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + if (start == null) dart.nullFailed(I[149], 23268, 22, "start"); + if (end == null) dart.nullFailed(I[149], 23268, 33, "end"); T$0.NodeN$1().as(fill); dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); - if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + if (start == null) dart.nullFailed(I[149], 23272, 24, "start"); + if (end == null) dart.nullFailed(I[149], 23272, 35, "end"); dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); } get length() { return this[S$._this].childNodes[$length]; } set length(value) { - if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23281, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); } _get(index) { - if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); return this[S$._this].childNodes[$_get](index); } get rawList() { @@ -87275,7 +95030,7 @@ html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$ } }; (html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); this[S$._this] = _this; ; }).prototype = html$._ChildNodeListLazy.prototype; @@ -87301,7 +95056,7 @@ dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); +dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), [S$._this]: dart.finalFieldType(html$.Node) @@ -87333,10 +95088,16 @@ dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ 'iterator', 'length' ]); -html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; +html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NodeFilter.__(); + } +}; dart.addTypeTests(html$.NodeFilter); dart.addTypeCaches(html$.NodeFilter); -dart.setLibraryUri(html$.NodeFilter, I[148]); +dart.setStaticMethodSignature(html$.NodeFilter, () => ['__']); +dart.setLibraryUri(html$.NodeFilter, I[150]); +dart.setStaticFieldSignature(html$.NodeFilter, () => ['FILTER_ACCEPT', 'FILTER_REJECT', 'FILTER_SKIP', 'SHOW_ALL', 'SHOW_COMMENT', 'SHOW_DOCUMENT', 'SHOW_DOCUMENT_FRAGMENT', 'SHOW_DOCUMENT_TYPE', 'SHOW_ELEMENT', 'SHOW_PROCESSING_INSTRUCTION', 'SHOW_TEXT']); dart.defineLazy(html$.NodeFilter, { /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { return 1; @@ -87373,12 +95134,20 @@ dart.defineLazy(html$.NodeFilter, { } }, false); dart.registerExtension("NodeFilter", html$.NodeFilter); -html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { +html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); return html$.document[S$1._createNodeIterator](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 23696, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 23696, 39, "whatToShow"); + return html$.NodeIterator.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.NodeIterator.__(); + } get [S$2.$pointerBeforeReferenceNode]() { return this.pointerBeforeReferenceNode; } @@ -87409,6 +95178,7 @@ dart.setMethodSignature(html$.NodeIterator, () => ({ [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) })); +dart.setStaticMethodSignature(html$.NodeIterator, () => ['new', '__']); dart.setGetterSignature(html$.NodeIterator, () => ({ __proto__: dart.getGetters(html$.NodeIterator.__proto__), [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), @@ -87416,37 +95186,40 @@ dart.setGetterSignature(html$.NodeIterator, () => ({ [S$1.$root]: html$.Node, [S$2.$whatToShow]: core.int })); -dart.setLibraryUri(html$.NodeIterator, I[148]); +dart.setLibraryUri(html$.NodeIterator, I[150]); dart.registerExtension("NodeIterator", html$.NodeIterator); -const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$3.new = function() { - Interceptor_ListMixin$36$3.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$3.prototype; -dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; -(Interceptor_ImmutableListMixin$36$3.new = function() { - Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$3.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); -html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { +const JavaScriptObject_ListMixin$36$3 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$3.new = function() { + JavaScriptObject_ListMixin$36$3.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$3.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$3, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$3 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$3 {}; +(JavaScriptObject_ImmutableListMixin$36$3.new = function() { + JavaScriptObject_ImmutableListMixin$36$3.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$3.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); +html$.NodeList = class NodeList extends JavaScriptObject_ImmutableListMixin$36$3 { + static ['_#_#tearOff']() { + return html$.NodeList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 23733, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + if (index == null) dart.nullFailed(I[149], 23739, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + if (value == null) dart.nullFailed(I[149], 23739, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + if (value == null) dart.nullFailed(I[149], 23745, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -87477,7 +95250,7 @@ html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + if (index == null) dart.nullFailed(I[149], 23773, 22, "index"); return this[$_get](index); } [S$1._item](...args) { @@ -87487,13 +95260,14 @@ html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { html$.NodeList.prototype[dart.isList] = true; dart.addTypeTests(html$.NodeList); dart.addTypeCaches(html$.NodeList); -html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$.NodeList[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$.NodeList, () => ({ __proto__: dart.getMethods(html$.NodeList.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); +dart.setStaticMethodSignature(html$.NodeList, () => ['__']); dart.setGetterSignature(html$.NodeList, () => ({ __proto__: dart.getGetters(html$.NodeList.__proto__), [$length]: core.int @@ -87502,10 +95276,13 @@ dart.setSetterSignature(html$.NodeList, () => ({ __proto__: dart.getSetters(html$.NodeList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.NodeList, I[148]); +dart.setLibraryUri(html$.NodeList, I[150]); dart.registerExtension("NodeList", html$.NodeList); dart.registerExtension("RadioNodeList", html$.NodeList); -html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { +html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonDocumentTypeChildNode.__(); + } get [S.$nextElementSibling]() { return this.nextElementSibling; } @@ -87515,14 +95292,18 @@ html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interce }; dart.addTypeTests(html$.NonDocumentTypeChildNode); dart.addTypeCaches(html$.NonDocumentTypeChildNode); +dart.setStaticMethodSignature(html$.NonDocumentTypeChildNode, () => ['__']); dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), [S.$nextElementSibling]: dart.nullable(html$.Element), [S.$previousElementSibling]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); +dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[150]); dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); -html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { +html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NonElementParentNode.__(); + } [S$1.$getElementById](...args) { return this.getElementById.apply(this, args); } @@ -87533,9 +95314,13 @@ dart.setMethodSignature(html$.NonElementParentNode, () => ({ __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) })); -dart.setLibraryUri(html$.NonElementParentNode, I[148]); +dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); +dart.setLibraryUri(html$.NonElementParentNode, I[150]); dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); -html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { +html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.NoncedElement.__(); + } get [S.$nonce]() { return this.nonce; } @@ -87545,6 +95330,7 @@ html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { }; dart.addTypeTests(html$.NoncedElement); dart.addTypeCaches(html$.NoncedElement); +dart.setStaticMethodSignature(html$.NoncedElement, () => ['__']); dart.setGetterSignature(html$.NoncedElement, () => ({ __proto__: dart.getGetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) @@ -87553,11 +95339,11 @@ dart.setSetterSignature(html$.NoncedElement, () => ({ __proto__: dart.getSetters(html$.NoncedElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NoncedElement, I[148]); +dart.setLibraryUri(html$.NoncedElement, I[150]); dart.registerExtension("NoncedElement", html$.NoncedElement); html$.Notification = class Notification$ extends html$.EventTarget { static new(title, opts) { - if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); let dir = opts && 'dir' in opts ? opts.dir : null; let body = opts && 'body' in opts ? opts.body : null; let lang = opts && 'lang' in opts ? opts.lang : null; @@ -87571,8 +95357,20 @@ html$.Notification = class Notification$ extends html$.EventTarget { if (icon != null) parsedOptions[$_set]("icon", icon); return html$.Notification._factoryNotification(title, parsedOptions); } + static ['_#new#tearOff'](title, opts) { + if (title == null) dart.nullFailed(I[149], 23828, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + return html$.Notification.new(title, {dir: dir, body: body, lang: lang, tag: tag, icon: icon}); + } + static ['_#_#tearOff']() { + return html$.Notification.__(); + } static _factoryNotification(title, options = null) { - if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (title == null) dart.nullFailed(I[149], 23879, 51, "title"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return html$.Notification._create_1(title, options_1); @@ -87639,9 +95437,9 @@ html$.Notification = class Notification$ extends html$.EventTarget { static requestPermission() { let completer = T$0.CompleterOfString().new(); dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); completer.complete(value); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); return completer.future; } get [S.$onClick]() { @@ -87663,6 +95461,7 @@ dart.setMethodSignature(html$.Notification, () => ({ __proto__: dart.getMethods(html$.Notification.__proto__), [S.$close]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Notification, () => ['new', '__', '_factoryNotification', '_create_1', '_create_2', '_requestPermission', 'requestPermission']); dart.setGetterSignature(html$.Notification, () => ({ __proto__: dart.getGetters(html$.Notification.__proto__), [S$2.$actions]: dart.nullable(core.List), @@ -87685,29 +95484,39 @@ dart.setGetterSignature(html$.Notification, () => ({ [S.$onError]: async.Stream$(html$.Event), [S$2.$onShow]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.Notification, I[148]); +dart.setStaticGetterSignature(html$.Notification, () => ['supported', 'maxActions', 'permission']); +dart.setLibraryUri(html$.Notification, I[150]); +dart.setStaticFieldSignature(html$.Notification, () => ['clickEvent', 'closeEvent', 'errorEvent', 'showEvent']); dart.defineLazy(html$.Notification, { /*html$.Notification.clickEvent*/get clickEvent() { - return C[351] || CT.C351; + return C[361] || CT.C361; }, /*html$.Notification.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.Notification.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Notification.showEvent*/get showEvent() { - return C[352] || CT.C352; + return C[362] || CT.C362; } }, false); dart.registerExtension("Notification", html$.Notification); html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.NotificationEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.NotificationEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 23969, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 23969, 46, "eventInitDict"); + return html$.NotificationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new NotificationEvent(type, eventInitDict); } @@ -87723,18 +95532,28 @@ html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent }; dart.addTypeTests(html$.NotificationEvent); dart.addTypeCaches(html$.NotificationEvent); +dart.setStaticMethodSignature(html$.NotificationEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.NotificationEvent, () => ({ __proto__: dart.getGetters(html$.NotificationEvent.__proto__), [S$1.$action]: dart.nullable(core.String), [S$2.$notification]: dart.nullable(html$.Notification), [S$2.$reply]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.NotificationEvent, I[148]); +dart.setLibraryUri(html$.NotificationEvent, I[150]); dart.registerExtension("NotificationEvent", html$.NotificationEvent); html$.OListElement = class OListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OListElement.__(); + } static new() { return html$.document.createElement("ol"); } + static ['_#new#tearOff']() { + return html$.OListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OListElement.created(); + } get [$reversed]() { return this.reversed; } @@ -87760,6 +95579,7 @@ html$.OListElement = class OListElement extends html$.HtmlElement { }).prototype = html$.OListElement.prototype; dart.addTypeTests(html$.OListElement); dart.addTypeCaches(html$.OListElement); +dart.setStaticMethodSignature(html$.OListElement, () => ['__', 'new']); dart.setGetterSignature(html$.OListElement, () => ({ __proto__: dart.getGetters(html$.OListElement.__proto__), [$reversed]: dart.nullable(core.bool), @@ -87772,12 +95592,21 @@ dart.setSetterSignature(html$.OListElement, () => ({ [S$.$start]: core.int, [S.$type]: core.String })); -dart.setLibraryUri(html$.OListElement, I[148]); +dart.setLibraryUri(html$.OListElement, I[150]); dart.registerExtension("HTMLOListElement", html$.OListElement); html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ObjectElement.__(); + } static new() { return html$.ObjectElement.as(html$.document[S.$createElement]("object")); } + static ['_#new#tearOff']() { + return html$.ObjectElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ObjectElement.created(); + } static get supported() { return html$.Element.isTagSupported("object"); } @@ -87865,6 +95694,7 @@ dart.setMethodSignature(html$.ObjectElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.ObjectElement, () => ['__', 'new']); dart.setGetterSignature(html$.ObjectElement, () => ({ __proto__: dart.getGetters(html$.ObjectElement.__proto__), [S$1.$contentWindow]: dart.nullable(html$.WindowBase), @@ -87889,14 +95719,23 @@ dart.setSetterSignature(html$.ObjectElement, () => ({ [S$1.$useMap]: core.String, [$width]: core.String })); -dart.setLibraryUri(html$.ObjectElement, I[148]); +dart.setStaticGetterSignature(html$.ObjectElement, () => ['supported']); +dart.setLibraryUri(html$.ObjectElement, I[150]); dart.registerExtension("HTMLObjectElement", html$.ObjectElement); html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.OffscreenCanvas.__(); + } static new(width, height) { - if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); - if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); return html$.OffscreenCanvas._create_1(width, height); } + static ['_#new#tearOff'](width, height) { + if (width == null) dart.nullFailed(I[149], 24110, 31, "width"); + if (height == null) dart.nullFailed(I[149], 24110, 42, "height"); + return html$.OffscreenCanvas.new(width, height); + } static _create_1(width, height) { return new OffscreenCanvas(width, height); } @@ -87920,7 +95759,7 @@ html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); } [S$.$getContext](contextType, attributes = null) { - if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (contextType == null) dart.nullFailed(I[149], 24133, 29, "contextType"); if (attributes != null) { let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); return this[S$._getContext_1](contextType, attributes_1); @@ -87947,6 +95786,7 @@ dart.setMethodSignature(html$.OffscreenCanvas, () => ({ [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) })); +dart.setStaticMethodSignature(html$.OffscreenCanvas, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OffscreenCanvas, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), [$height]: dart.nullable(core.int), @@ -87957,9 +95797,12 @@ dart.setSetterSignature(html$.OffscreenCanvas, () => ({ [$height]: dart.nullable(core.int), [$width]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.OffscreenCanvas, I[148]); +dart.setLibraryUri(html$.OffscreenCanvas, I[150]); dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); -html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { +html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OffscreenCanvasRenderingContext2D.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -88147,10 +95990,10 @@ html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2 return this.fillText.apply(this, args); } [S$.$getImageData](sx, sy, sw, sh) { - if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); - if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); - if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); - if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + if (sx == null) dart.nullFailed(I[149], 24323, 30, "sx"); + if (sy == null) dart.nullFailed(I[149], 24323, 38, "sy"); + if (sw == null) dart.nullFailed(I[149], 24323, 46, "sw"); + if (sh == null) dart.nullFailed(I[149], 24323, 54, "sh"); return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); } [S$._getImageData_1](...args) { @@ -88169,9 +96012,9 @@ html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2 return this.measureText.apply(this, args); } [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { - if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); - if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); - if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (imagedata == null) dart.nullFailed(I[149], 24339, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[149], 24339, 46, "dx"); + if (dy == null) dart.nullFailed(I[149], 24339, 54, "dy"); if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); this[S$._putImageData_1](imagedata_1, dx, dy); @@ -88306,6 +96149,7 @@ dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), @@ -88353,12 +96197,21 @@ dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ [S$.$textAlign]: dart.nullable(core.String), [S$.$textBaseline]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); +dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[150]); dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OptGroupElement.__(); + } static new() { return html$.document.createElement("optgroup"); } + static ['_#new#tearOff']() { + return html$.OptGroupElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OptGroupElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -88378,6 +96231,7 @@ html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { }).prototype = html$.OptGroupElement.prototype; dart.addTypeTests(html$.OptGroupElement); dart.addTypeCaches(html$.OptGroupElement); +dart.setStaticMethodSignature(html$.OptGroupElement, () => ['__', 'new']); dart.setGetterSignature(html$.OptGroupElement, () => ({ __proto__: dart.getGetters(html$.OptGroupElement.__proto__), [S$.$disabled]: core.bool, @@ -88388,18 +96242,27 @@ dart.setSetterSignature(html$.OptGroupElement, () => ({ [S$.$disabled]: core.bool, [S$.$label]: core.String })); -dart.setLibraryUri(html$.OptGroupElement, I[148]); +dart.setLibraryUri(html$.OptGroupElement, I[150]); dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); html$.OptionElement = class OptionElement extends html$.HtmlElement { static new(opts) { let data = opts && 'data' in opts ? opts.data : ""; - if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); let value = opts && 'value' in opts ? opts.value : ""; - if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); let selected = opts && 'selected' in opts ? opts.selected : false; - if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); return html$.OptionElement.__(data, value, null, selected); } + static ['_#new#tearOff'](opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[149], 24452, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[149], 24452, 33, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[149], 24452, 50, "selected"); + return html$.OptionElement.new({data: data, value: value, selected: selected}); + } static __(data = null, value = null, defaultSelected = null, selected = null) { if (selected != null) { return html$.OptionElement._create_1(data, value, defaultSelected, selected); @@ -88415,6 +96278,9 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { } return html$.OptionElement._create_5(); } + static ['_#_#tearOff'](data = null, value = null, defaultSelected = null, selected = null) { + return html$.OptionElement.__(data, value, defaultSelected, selected); + } static _create_1(data, value, defaultSelected, selected) { return new Option(data, value, defaultSelected, selected); } @@ -88430,6 +96296,9 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { static _create_5() { return new Option(); } + static ['_#created#tearOff']() { + return new html$.OptionElement.created(); + } get [S$2.$defaultSelected]() { return this.defaultSelected; } @@ -88473,6 +96342,7 @@ html$.OptionElement = class OptionElement extends html$.HtmlElement { }).prototype = html$.OptionElement.prototype; dart.addTypeTests(html$.OptionElement); dart.addTypeCaches(html$.OptionElement); +dart.setStaticMethodSignature(html$.OptionElement, () => ['new', '__', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setGetterSignature(html$.OptionElement, () => ({ __proto__: dart.getGetters(html$.OptionElement.__proto__), [S$2.$defaultSelected]: core.bool, @@ -88491,12 +96361,21 @@ dart.setSetterSignature(html$.OptionElement, () => ({ [S$.$selected]: core.bool, [S.$value]: core.String })); -dart.setLibraryUri(html$.OptionElement, I[148]); +dart.setLibraryUri(html$.OptionElement, I[150]); dart.registerExtension("HTMLOptionElement", html$.OptionElement); html$.OutputElement = class OutputElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.OutputElement.__(); + } static new() { return html$.OutputElement.as(html$.document[S.$createElement]("output")); } + static ['_#new#tearOff']() { + return html$.OutputElement.new(); + } + static ['_#created#tearOff']() { + return new html$.OutputElement.created(); + } static get supported() { return html$.Element.isTagSupported("output"); } @@ -88561,6 +96440,7 @@ dart.setMethodSignature(html$.OutputElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.OutputElement, () => ['__', 'new']); dart.setGetterSignature(html$.OutputElement, () => ({ __proto__: dart.getGetters(html$.OutputElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.String), @@ -88580,14 +96460,23 @@ dart.setSetterSignature(html$.OutputElement, () => ({ [$name]: dart.nullable(core.String), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OutputElement, I[148]); +dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); +dart.setLibraryUri(html$.OutputElement, I[150]); dart.registerExtension("HTMLOutputElement", html$.OutputElement); -html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { +html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.OverconstrainedError.__(); + } static new(constraint, message) { - if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); - if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); return html$.OverconstrainedError._create_1(constraint, message); } + static ['_#new#tearOff'](constraint, message) { + if (constraint == null) dart.nullFailed(I[149], 24603, 39, "constraint"); + if (message == null) dart.nullFailed(I[149], 24603, 58, "message"); + return html$.OverconstrainedError.new(constraint, message); + } static _create_1(constraint, message) { return new OverconstrainedError(constraint, message); } @@ -88603,23 +96492,31 @@ html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.I }; dart.addTypeTests(html$.OverconstrainedError); dart.addTypeCaches(html$.OverconstrainedError); +dart.setStaticMethodSignature(html$.OverconstrainedError, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.OverconstrainedError, () => ({ __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), [S$2.$constraint]: dart.nullable(core.String), [$message]: dart.nullable(core.String), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.OverconstrainedError, I[148]); +dart.setLibraryUri(html$.OverconstrainedError, I[150]); dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PageTransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PageTransitionEvent._create_1(type, eventInitDict_1); } return html$.PageTransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 24629, 38, "type"); + return html$.PageTransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PageTransitionEvent(type, eventInitDict); } @@ -88632,13 +96529,17 @@ html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { }; dart.addTypeTests(html$.PageTransitionEvent); dart.addTypeCaches(html$.PageTransitionEvent); +dart.setStaticMethodSignature(html$.PageTransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PageTransitionEvent, () => ({ __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), [S$2.$persisted]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.PageTransitionEvent, I[148]); +dart.setLibraryUri(html$.PageTransitionEvent, I[150]); dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); -html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { +html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintRenderingContext2D.__(); + } get [S$.$currentTransform]() { return this.currentTransform; } @@ -88876,6 +96777,7 @@ dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(html$.PaintRenderingContext2D, () => ['__']); dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), [S$.$currentTransform]: dart.nullable(svg$.Matrix), @@ -88916,9 +96818,12 @@ dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ [S$.$shadowOffsetY]: dart.nullable(core.num), [S$.$strokeStyle]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); +dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); -html$.PaintSize = class PaintSize extends _interceptors.Interceptor { +html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaintSize.__(); + } get [$height]() { return this.height; } @@ -88928,14 +96833,18 @@ html$.PaintSize = class PaintSize extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaintSize); dart.addTypeCaches(html$.PaintSize); +dart.setStaticMethodSignature(html$.PaintSize, () => ['__']); dart.setGetterSignature(html$.PaintSize, () => ({ __proto__: dart.getGetters(html$.PaintSize.__proto__), [$height]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PaintSize, I[148]); +dart.setLibraryUri(html$.PaintSize, I[150]); dart.registerExtension("PaintSize", html$.PaintSize); html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return html$.PaintWorkletGlobalScope.__(); + } get [S$2.$devicePixelRatio]() { return this.devicePixelRatio; } @@ -88949,16 +96858,26 @@ dart.setMethodSignature(html$.PaintWorkletGlobalScope, () => ({ __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) })); +dart.setStaticMethodSignature(html$.PaintWorkletGlobalScope, () => ['__']); dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), [S$2.$devicePixelRatio]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); +dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[150]); dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParagraphElement.__(); + } static new() { return html$.document.createElement("p"); } + static ['_#new#tearOff']() { + return html$.ParagraphElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParagraphElement.created(); + } }; (html$.ParagraphElement.created = function() { html$.ParagraphElement.__proto__.created.call(this); @@ -88966,12 +96885,22 @@ html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { }).prototype = html$.ParagraphElement.prototype; dart.addTypeTests(html$.ParagraphElement); dart.addTypeCaches(html$.ParagraphElement); -dart.setLibraryUri(html$.ParagraphElement, I[148]); +dart.setStaticMethodSignature(html$.ParagraphElement, () => ['__', 'new']); +dart.setLibraryUri(html$.ParagraphElement, I[150]); dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); html$.ParamElement = class ParamElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ParamElement.__(); + } static new() { return html$.document.createElement("param"); } + static ['_#new#tearOff']() { + return html$.ParamElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ParamElement.created(); + } get [$name]() { return this.name; } @@ -88991,6 +96920,7 @@ html$.ParamElement = class ParamElement extends html$.HtmlElement { }).prototype = html$.ParamElement.prototype; dart.addTypeTests(html$.ParamElement); dart.addTypeCaches(html$.ParamElement); +dart.setStaticMethodSignature(html$.ParamElement, () => ['__', 'new']); dart.setGetterSignature(html$.ParamElement, () => ({ __proto__: dart.getGetters(html$.ParamElement.__proto__), [$name]: core.String, @@ -89001,9 +96931,12 @@ dart.setSetterSignature(html$.ParamElement, () => ({ [$name]: core.String, [S.$value]: core.String })); -dart.setLibraryUri(html$.ParamElement, I[148]); +dart.setLibraryUri(html$.ParamElement, I[150]); dart.registerExtension("HTMLParamElement", html$.ParamElement); -html$.ParentNode = class ParentNode extends _interceptors.Interceptor { +html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ParentNode.__(); + } get [S._childElementCount]() { return this._childElementCount; } @@ -89019,6 +96952,7 @@ html$.ParentNode = class ParentNode extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ParentNode); dart.addTypeCaches(html$.ParentNode); +dart.setStaticMethodSignature(html$.ParentNode, () => ['__']); dart.setGetterSignature(html$.ParentNode, () => ({ __proto__: dart.getGetters(html$.ParentNode.__proto__), [S._childElementCount]: core.int, @@ -89026,8 +96960,11 @@ dart.setGetterSignature(html$.ParentNode, () => ({ [S._firstElementChild]: dart.nullable(html$.Element), [S._lastElementChild]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.ParentNode, I[148]); +dart.setLibraryUri(html$.ParentNode, I[150]); html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PasswordCredential.__(); + } static new(data_OR_form) { if (core.Map.is(data_OR_form)) { let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); @@ -89038,6 +96975,9 @@ html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](data_OR_form) { + return html$.PasswordCredential.new(data_OR_form); + } static _create_1(data_OR_form) { return new PasswordCredential(data_OR_form); } @@ -89075,6 +97015,7 @@ html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { dart.addTypeTests(html$.PasswordCredential); dart.addTypeCaches(html$.PasswordCredential); html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setStaticMethodSignature(html$.PasswordCredential, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PasswordCredential, () => ({ __proto__: dart.getGetters(html$.PasswordCredential.__proto__), [S$2.$additionalData]: dart.nullable(core.Object), @@ -89090,9 +97031,12 @@ dart.setSetterSignature(html$.PasswordCredential, () => ({ [S$2.$idName]: dart.nullable(core.String), [S$2.$passwordName]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PasswordCredential, I[148]); +dart.setLibraryUri(html$.PasswordCredential, I[150]); dart.registerExtension("PasswordCredential", html$.PasswordCredential); -html$.Path2D = class Path2D$ extends _interceptors.Interceptor { +html$.Path2D = class Path2D$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Path2D.__(); + } static new(path_OR_text = null) { if (path_OR_text == null) { return html$.Path2D._create_1(); @@ -89105,6 +97049,9 @@ html$.Path2D = class Path2D$ extends _interceptors.Interceptor { } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](path_OR_text = null) { + return html$.Path2D.new(path_OR_text); + } static _create_1() { return new Path2D(); } @@ -89161,9 +97108,13 @@ dart.setMethodSignature(html$.Path2D, () => ({ [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) })); -dart.setLibraryUri(html$.Path2D, I[148]); +dart.setStaticMethodSignature(html$.Path2D, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); +dart.setLibraryUri(html$.Path2D, I[150]); dart.registerExtension("Path2D", html$.Path2D); -html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { +html$.PaymentAddress = class PaymentAddress extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentAddress.__(); + } get [S$2.$addressLine]() { return this.addressLine; } @@ -89200,6 +97151,7 @@ html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaymentAddress); dart.addTypeCaches(html$.PaymentAddress); +dart.setStaticMethodSignature(html$.PaymentAddress, () => ['__']); dart.setGetterSignature(html$.PaymentAddress, () => ({ __proto__: dart.getGetters(html$.PaymentAddress.__proto__), [S$2.$addressLine]: dart.nullable(core.List$(core.String)), @@ -89214,30 +97166,33 @@ dart.setGetterSignature(html$.PaymentAddress, () => ({ [S$1.$region]: dart.nullable(core.String), [S$2.$sortingCode]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentAddress, I[148]); +dart.setLibraryUri(html$.PaymentAddress, I[150]); dart.registerExtension("PaymentAddress", html$.PaymentAddress); -html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { +html$.PaymentInstruments = class PaymentInstruments extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentInstruments.__(); + } [$clear]() { return js_util.promiseToFuture(dart.dynamic, this.clear()); } [S.$delete](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25057, 30, "instrumentKey"); return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); } [S.$get](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25060, 44, "instrumentKey"); return html$.promiseToFutureAsMap(this.get(instrumentKey)); } [S$.$has](instrumentKey) { - if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + if (instrumentKey == null) dart.nullFailed(I[149], 25063, 21, "instrumentKey"); return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); } [$keys]() { return js_util.promiseToFuture(core.List, this.keys()); } [S$.$set](instrumentKey, details) { - if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); - if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + if (instrumentKey == null) dart.nullFailed(I[149], 25069, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[149], 25069, 40, "details"); let details_dict = html_common.convertDartToNative_Dictionary(details); return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); } @@ -89253,9 +97208,13 @@ dart.setMethodSignature(html$.PaymentInstruments, () => ({ [$keys]: dart.fnType(async.Future$(core.List), []), [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) })); -dart.setLibraryUri(html$.PaymentInstruments, I[148]); +dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); +dart.setLibraryUri(html$.PaymentInstruments, I[150]); dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); -html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { +html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentManager.__(); + } get [S$2.$instruments]() { return this.instruments; } @@ -89268,6 +97227,7 @@ html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PaymentManager); dart.addTypeCaches(html$.PaymentManager); +dart.setStaticMethodSignature(html$.PaymentManager, () => ['__']); dart.setGetterSignature(html$.PaymentManager, () => ({ __proto__: dart.getGetters(html$.PaymentManager.__proto__), [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), @@ -89277,12 +97237,12 @@ dart.setSetterSignature(html$.PaymentManager, () => ({ __proto__: dart.getSetters(html$.PaymentManager.__proto__), [S$2.$userHint]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentManager, I[148]); +dart.setLibraryUri(html$.PaymentManager, I[150]); dart.registerExtension("PaymentManager", html$.PaymentManager); html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { static new(methodData, details, options = null) { - if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); - if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); let methodData_1 = []; for (let i of methodData) { methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); @@ -89295,12 +97255,20 @@ html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { let details_1 = html_common.convertDartToNative_Dictionary(details); return html$.PaymentRequest._create_2(methodData_1, details_1); } + static ['_#new#tearOff'](methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[149], 25098, 36, "methodData"); + if (details == null) dart.nullFailed(I[149], 25098, 52, "details"); + return html$.PaymentRequest.new(methodData, details, options); + } static _create_1(methodData, details, options) { return new PaymentRequest(methodData, details, options); } static _create_2(methodData, details) { return new PaymentRequest(methodData, details); } + static ['_#_#tearOff']() { + return html$.PaymentRequest.__(); + } get [S.$id]() { return this.id; } @@ -89331,6 +97299,7 @@ dart.setMethodSignature(html$.PaymentRequest, () => ({ [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) })); +dart.setStaticMethodSignature(html$.PaymentRequest, () => ['new', '_create_1', '_create_2', '__']); dart.setGetterSignature(html$.PaymentRequest, () => ({ __proto__: dart.getGetters(html$.PaymentRequest.__proto__), [S.$id]: dart.nullable(core.String), @@ -89338,15 +97307,23 @@ dart.setGetterSignature(html$.PaymentRequest, () => ({ [S$2.$shippingOption]: dart.nullable(core.String), [S$2.$shippingType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentRequest, I[148]); +dart.setLibraryUri(html$.PaymentRequest, I[150]); dart.registerExtension("PaymentRequest", html$.PaymentRequest); html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PaymentRequestEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 25154, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 25154, 48, "eventInitDict"); + return html$.PaymentRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestEvent(type, eventInitDict); } @@ -89372,7 +97349,7 @@ html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableE return this.total; } [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); } [S$.$respondWith](...args) { @@ -89386,6 +97363,7 @@ dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) })); +dart.setStaticMethodSignature(html$.PaymentRequestEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), [S$2.$instrumentKey]: dart.nullable(core.String), @@ -89396,17 +97374,24 @@ dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ [S$.$topLevelOrigin]: dart.nullable(core.String), [S$2.$total]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); +dart.setLibraryUri(html$.PaymentRequestEvent, I[150]); dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PaymentRequestUpdateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); } return html$.PaymentRequestUpdateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25194, 44, "type"); + return html$.PaymentRequestUpdateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PaymentRequestUpdateEvent(type, eventInitDict); } @@ -89423,9 +97408,13 @@ dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) })); -dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); +dart.setStaticMethodSignature(html$.PaymentRequestUpdateEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[150]); dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); -html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { +html$.PaymentResponse = class PaymentResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PaymentResponse.__(); + } get [S$.$details]() { return this.details; } @@ -89460,6 +97449,7 @@ dart.setMethodSignature(html$.PaymentResponse, () => ({ __proto__: dart.getMethods(html$.PaymentResponse.__proto__), [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.PaymentResponse, () => ['__']); dart.setGetterSignature(html$.PaymentResponse, () => ({ __proto__: dart.getGetters(html$.PaymentResponse.__proto__), [S$.$details]: dart.nullable(core.Object), @@ -89471,9 +97461,12 @@ dart.setGetterSignature(html$.PaymentResponse, () => ({ [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), [S$2.$shippingOption]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PaymentResponse, I[148]); +dart.setLibraryUri(html$.PaymentResponse, I[150]); dart.registerExtension("PaymentResponse", html$.PaymentResponse); html$.Performance = class Performance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Performance.__(); + } static get supported() { return !!window.performance; } @@ -89507,10 +97500,47 @@ html$.Performance = class Performance extends html$.EventTarget { [S$2.$getEntriesByType](...args) { return this.getEntriesByType.apply(this, args); } - [S$2.$mark](...args) { + [S$2.$mark](markName, markOptions = null) { + if (markName == null) dart.nullFailed(I[149], 25279, 33, "markName"); + if (markOptions != null) { + let markOptions_1 = html_common.convertDartToNative_Dictionary(markOptions); + return this[S$2._mark_1](markName, markOptions_1); + } + return this[S$2._mark_2](markName); + } + [S$2._mark_1](...args) { return this.mark.apply(this, args); } - [S$2.$measure](...args) { + [S$2._mark_2](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](measureName, measureOptions_OR_startMark = null, endMark = null) { + if (measureName == null) dart.nullFailed(I[149], 25292, 38, "measureName"); + if (measureOptions_OR_startMark == null && endMark == null) { + return this[S$2._measure_1](measureName); + } + if ((typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) && endMark == null) { + return this[S$2._measure_2](measureName, T$.StringN().as(measureOptions_OR_startMark)); + } + if (typeof measureOptions_OR_startMark == 'string' || measureOptions_OR_startMark == null) { + return this[S$2._measure_3](measureName, T$.StringN().as(measureOptions_OR_startMark), endMark); + } + if (core.Map.is(measureOptions_OR_startMark) && endMark == null) { + let measureOptions_1 = html_common.convertDartToNative_Dictionary(measureOptions_OR_startMark); + return this[S$2._measure_4](measureName, measureOptions_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$2._measure_1](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_2](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_3](...args) { + return this.measure.apply(this, args); + } + [S$2._measure_4](...args) { return this.measure.apply(this, args); } [S$2.$now](...args) { @@ -89530,11 +97560,18 @@ dart.setMethodSignature(html$.Performance, () => ({ [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), - [S$2.$mark]: dart.fnType(dart.void, [core.String]), - [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$mark]: dart.fnType(dart.nullable(html$.PerformanceEntry), [core.String], [dart.nullable(core.Map)]), + [S$2._mark_1]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic, dart.dynamic]), + [S$2._mark_2]: dart.fnType(dart.nullable(html$.PerformanceEntry), [dart.dynamic]), + [S$2.$measure]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [core.String], [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_1]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic]), + [S$2._measure_2]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String)]), + [S$2._measure_3]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.nullable(core.String), dart.dynamic]), + [S$2._measure_4]: dart.fnType(dart.nullable(html$.PerformanceMeasure), [dart.dynamic, dart.dynamic]), [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.Performance, () => ['__']); dart.setGetterSignature(html$.Performance, () => ({ __proto__: dart.getGetters(html$.Performance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), @@ -89542,9 +97579,13 @@ dart.setGetterSignature(html$.Performance, () => ({ [S$2.$timeOrigin]: dart.nullable(core.num), [S$.$timing]: html$.PerformanceTiming })); -dart.setLibraryUri(html$.Performance, I[148]); +dart.setStaticGetterSignature(html$.Performance, () => ['supported']); +dart.setLibraryUri(html$.Performance, I[150]); dart.registerExtension("Performance", html$.Performance); -html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { +html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceEntry.__(); + } get [S$.$duration]() { return this.duration; } @@ -89560,6 +97601,7 @@ html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Intercepto }; dart.addTypeTests(html$.PerformanceEntry); dart.addTypeCaches(html$.PerformanceEntry); +dart.setStaticMethodSignature(html$.PerformanceEntry, () => ['__']); dart.setGetterSignature(html$.PerformanceEntry, () => ({ __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), [S$.$duration]: core.num, @@ -89567,32 +97609,49 @@ dart.setGetterSignature(html$.PerformanceEntry, () => ({ [$name]: core.String, [S$.$startTime]: core.num })); -dart.setLibraryUri(html$.PerformanceEntry, I[148]); +dart.setLibraryUri(html$.PerformanceEntry, I[150]); dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceLongTaskTiming.__(); + } get [S$2.$attribution]() { return this.attribution; } }; dart.addTypeTests(html$.PerformanceLongTaskTiming); dart.addTypeCaches(html$.PerformanceLongTaskTiming); +dart.setStaticMethodSignature(html$.PerformanceLongTaskTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) })); -dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); +dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[150]); dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); -html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; +html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMark.__(); + } +}; dart.addTypeTests(html$.PerformanceMark); dart.addTypeCaches(html$.PerformanceMark); -dart.setLibraryUri(html$.PerformanceMark, I[148]); +dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); +dart.setLibraryUri(html$.PerformanceMark, I[150]); dart.registerExtension("PerformanceMark", html$.PerformanceMark); -html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; +html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceMeasure.__(); + } +}; dart.addTypeTests(html$.PerformanceMeasure); dart.addTypeCaches(html$.PerformanceMeasure); -dart.setLibraryUri(html$.PerformanceMeasure, I[148]); +dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); +dart.setLibraryUri(html$.PerformanceMeasure, I[150]); dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); -html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { +html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceNavigation.__(); + } get [S$2.$redirectCount]() { return this.redirectCount; } @@ -89602,12 +97661,14 @@ html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors. }; dart.addTypeTests(html$.PerformanceNavigation); dart.addTypeCaches(html$.PerformanceNavigation); +dart.setStaticMethodSignature(html$.PerformanceNavigation, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigation, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), [S$2.$redirectCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.PerformanceNavigation, I[148]); +dart.setLibraryUri(html$.PerformanceNavigation, I[150]); +dart.setStaticFieldSignature(html$.PerformanceNavigation, () => ['TYPE_BACK_FORWARD', 'TYPE_NAVIGATE', 'TYPE_RELOAD', 'TYPE_RESERVED']); dart.defineLazy(html$.PerformanceNavigation, { /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { return 2; @@ -89624,6 +97685,9 @@ dart.defineLazy(html$.PerformanceNavigation, { }, false); dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformanceResourceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89681,6 +97745,7 @@ html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$. }; dart.addTypeTests(html$.PerformanceResourceTiming); dart.addTypeCaches(html$.PerformanceResourceTiming); +dart.setStaticMethodSignature(html$.PerformanceResourceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), [S$2.$connectEnd]: core.num, @@ -89702,9 +97767,12 @@ dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ [S$2.$transferSize]: dart.nullable(core.int), [S$2.$workerStart]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); +dart.setLibraryUri(html$.PerformanceResourceTiming, I[150]); dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + static ['_#_#tearOff']() { + return html$.PerformanceNavigationTiming.__(); + } get [S$2.$domComplete]() { return this.domComplete; } @@ -89738,6 +97806,7 @@ html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends ht }; dart.addTypeTests(html$.PerformanceNavigationTiming); dart.addTypeCaches(html$.PerformanceNavigationTiming); +dart.setStaticMethodSignature(html$.PerformanceNavigationTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), [S$2.$domComplete]: dart.nullable(core.num), @@ -89751,14 +97820,21 @@ dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ [S$2.$unloadEventEnd]: dart.nullable(core.num), [S$2.$unloadEventStart]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); +dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); -html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { +html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); return html$.PerformanceObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 25448, 59, "callback"); + return html$.PerformanceObserver.new(callback); + } static _create_1(callback) { return new PerformanceObserver(callback); } @@ -89766,7 +97842,7 @@ html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Int return this.disconnect.apply(this, args); } [S.$observe](options) { - if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + if (options == null) dart.nullFailed(I[149], 25457, 20, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); this[S$1._observe_1$1](options_1); return; @@ -89783,9 +97859,13 @@ dart.setMethodSignature(html$.PerformanceObserver, () => ({ [S.$observe]: dart.fnType(dart.void, [core.Map]), [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) })); -dart.setLibraryUri(html$.PerformanceObserver, I[148]); +dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.PerformanceObserver, I[150]); dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); -html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { +html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceObserverEntryList.__(); + } [S$2.$getEntries](...args) { return this.getEntries.apply(this, args); } @@ -89804,14 +97884,23 @@ dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) })); -dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); +dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); +dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); -html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; +html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.PerformancePaintTiming.__(); + } +}; dart.addTypeTests(html$.PerformancePaintTiming); dart.addTypeCaches(html$.PerformancePaintTiming); -dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); +dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); +dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); -html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { +html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceServerTiming.__(); + } get [S$1.$description]() { return this.description; } @@ -89824,15 +97913,19 @@ html$.PerformanceServerTiming = class PerformanceServerTiming extends _intercept }; dart.addTypeTests(html$.PerformanceServerTiming); dart.addTypeCaches(html$.PerformanceServerTiming); +dart.setStaticMethodSignature(html$.PerformanceServerTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), [S$1.$description]: dart.nullable(core.String), [S$.$duration]: dart.nullable(core.num), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); +dart.setLibraryUri(html$.PerformanceServerTiming, I[150]); dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); -html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { +html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PerformanceTiming.__(); + } get [S$2.$connectEnd]() { return this.connectEnd; } @@ -89899,6 +97992,7 @@ html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Intercep }; dart.addTypeTests(html$.PerformanceTiming); dart.addTypeCaches(html$.PerformanceTiming); +dart.setStaticMethodSignature(html$.PerformanceTiming, () => ['__']); dart.setGetterSignature(html$.PerformanceTiming, () => ({ __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), [S$2.$connectEnd]: core.int, @@ -89923,9 +98017,12 @@ dart.setGetterSignature(html$.PerformanceTiming, () => ({ [S$2.$unloadEventEnd]: core.int, [S$2.$unloadEventStart]: core.int })); -dart.setLibraryUri(html$.PerformanceTiming, I[148]); +dart.setLibraryUri(html$.PerformanceTiming, I[150]); dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PermissionStatus.__(); + } get [S$.$state]() { return this.state; } @@ -89935,35 +98032,40 @@ html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { }; dart.addTypeTests(html$.PermissionStatus); dart.addTypeCaches(html$.PermissionStatus); +dart.setStaticMethodSignature(html$.PermissionStatus, () => ['__']); dart.setGetterSignature(html$.PermissionStatus, () => ({ __proto__: dart.getGetters(html$.PermissionStatus.__proto__), [S$.$state]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.PermissionStatus, I[148]); +dart.setLibraryUri(html$.PermissionStatus, I[150]); +dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); dart.defineLazy(html$.PermissionStatus, { /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PermissionStatus", html$.PermissionStatus); -html$.Permissions = class Permissions extends _interceptors.Interceptor { +html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Permissions.__(); + } [S$2.$query](permission) { - if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + if (permission == null) dart.nullFailed(I[149], 25650, 38, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); } [S$.$request](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25656, 40, "permissions"); let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); } [S$2.$requestAll](permissions) { - if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + if (permissions == null) dart.nullFailed(I[149], 25662, 49, "permissions"); return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); } [S$2.$revoke](permission) { - if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + if (permission == null) dart.nullFailed(I[149], 25666, 39, "permission"); let permission_dict = html_common.convertDartToNative_Dictionary(permission); return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); } @@ -89977,9 +98079,13 @@ dart.setMethodSignature(html$.Permissions, () => ({ [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) })); -dart.setLibraryUri(html$.Permissions, I[148]); +dart.setStaticMethodSignature(html$.Permissions, () => ['__']); +dart.setLibraryUri(html$.Permissions, I[150]); dart.registerExtension("Permissions", html$.Permissions); -html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { +html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PhotoCapabilities.__(); + } get [S$2.$fillLightMode]() { return this.fillLightMode; } @@ -89995,6 +98101,7 @@ html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Intercep }; dart.addTypeTests(html$.PhotoCapabilities); dart.addTypeCaches(html$.PhotoCapabilities); +dart.setStaticMethodSignature(html$.PhotoCapabilities, () => ['__']); dart.setGetterSignature(html$.PhotoCapabilities, () => ({ __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), [S$2.$fillLightMode]: dart.nullable(core.List), @@ -90002,18 +98109,29 @@ dart.setGetterSignature(html$.PhotoCapabilities, () => ({ [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), [S$2.$redEyeReduction]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PhotoCapabilities, I[148]); +dart.setLibraryUri(html$.PhotoCapabilities, I[150]); dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); -html$.PictureElement = class PictureElement extends html$.HtmlElement {}; +html$.PictureElement = class PictureElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PictureElement.__(); + } + static ['_#created#tearOff']() { + return new html$.PictureElement.created(); + } +}; (html$.PictureElement.created = function() { html$.PictureElement.__proto__.created.call(this); ; }).prototype = html$.PictureElement.prototype; dart.addTypeTests(html$.PictureElement); dart.addTypeCaches(html$.PictureElement); -dart.setLibraryUri(html$.PictureElement, I[148]); +dart.setStaticMethodSignature(html$.PictureElement, () => ['__']); +dart.setLibraryUri(html$.PictureElement, I[150]); dart.registerExtension("HTMLPictureElement", html$.PictureElement); -html$.Plugin = class Plugin extends _interceptors.Interceptor { +html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Plugin.__(); + } get [S$1.$description]() { return this.description; } @@ -90040,6 +98158,7 @@ dart.setMethodSignature(html$.Plugin, () => ({ [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) })); +dart.setStaticMethodSignature(html$.Plugin, () => ['__']); dart.setGetterSignature(html$.Plugin, () => ({ __proto__: dart.getGetters(html$.Plugin.__proto__), [S$1.$description]: dart.nullable(core.String), @@ -90047,37 +98166,40 @@ dart.setGetterSignature(html$.Plugin, () => ({ [$length]: dart.nullable(core.int), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Plugin, I[148]); +dart.setLibraryUri(html$.Plugin, I[150]); dart.registerExtension("Plugin", html$.Plugin); -const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$4.new = function() { - Interceptor_ListMixin$36$4.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$4.prototype; -dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); -const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; -(Interceptor_ImmutableListMixin$36$4.new = function() { - Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$4.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); -html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { +const JavaScriptObject_ListMixin$36$4 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$4.new = function() { + JavaScriptObject_ListMixin$36$4.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$4.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); +const JavaScriptObject_ImmutableListMixin$36$4 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$4 {}; +(JavaScriptObject_ImmutableListMixin$36$4.new = function() { + JavaScriptObject_ImmutableListMixin$36$4.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$4.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); +html$.PluginArray = class PluginArray extends JavaScriptObject_ImmutableListMixin$36$4 { + static ['_#_#tearOff']() { + return html$.PluginArray.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 25746, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + if (index == null) dart.nullFailed(I[149], 25752, 25, "index"); html$.Plugin.as(value); - if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + if (value == null) dart.nullFailed(I[149], 25752, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + if (value == null) dart.nullFailed(I[149], 25758, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -90108,7 +98230,7 @@ html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$ dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + if (index == null) dart.nullFailed(I[149], 25786, 24, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -90124,7 +98246,7 @@ html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$ html$.PluginArray.prototype[dart.isList] = true; dart.addTypeTests(html$.PluginArray); dart.addTypeCaches(html$.PluginArray); -html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; +html$.PluginArray[dart.implements] = () => [core.List$(html$.Plugin), _js_helper.JavaScriptIndexingBehavior$(html$.Plugin)]; dart.setMethodSignature(html$.PluginArray, () => ({ __proto__: dart.getMethods(html$.PluginArray.__proto__), [$_get]: dart.fnType(html$.Plugin, [core.int]), @@ -90133,6 +98255,7 @@ dart.setMethodSignature(html$.PluginArray, () => ({ [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$.PluginArray, () => ['__']); dart.setGetterSignature(html$.PluginArray, () => ({ __proto__: dart.getGetters(html$.PluginArray.__proto__), [$length]: core.int @@ -90141,17 +98264,24 @@ dart.setSetterSignature(html$.PluginArray, () => ({ __proto__: dart.getSetters(html$.PluginArray.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.PluginArray, I[148]); +dart.setLibraryUri(html$.PluginArray, I[150]); dart.registerExtension("PluginArray", html$.PluginArray); html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static ['_#_#tearOff']() { + return html$.PointerEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PointerEvent._create_1(type, eventInitDict_1); } return html$.PointerEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25808, 31, "type"); + return html$.PointerEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PointerEvent(type, eventInitDict); } @@ -90209,6 +98339,7 @@ dart.setMethodSignature(html$.PointerEvent, () => ({ __proto__: dart.getMethods(html$.PointerEvent.__proto__), [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) })); +dart.setStaticMethodSignature(html$.PointerEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PointerEvent, () => ({ __proto__: dart.getGetters(html$.PointerEvent.__proto__), [$height]: dart.nullable(core.num), @@ -90222,17 +98353,25 @@ dart.setGetterSignature(html$.PointerEvent, () => ({ [S$2.$twist]: dart.nullable(core.int), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.PointerEvent, I[148]); +dart.setStaticGetterSignature(html$.PointerEvent, () => ['supported']); +dart.setLibraryUri(html$.PointerEvent, I[150]); dart.registerExtension("PointerEvent", html$.PointerEvent); html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PopStateEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PopStateEvent._create_1(type, eventInitDict_1); } return html$.PopStateEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 25868, 32, "type"); + return html$.PopStateEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PopStateEvent(type, eventInitDict); } @@ -90248,14 +98387,18 @@ html$.PopStateEvent = class PopStateEvent$ extends html$.Event { }; dart.addTypeTests(html$.PopStateEvent); dart.addTypeCaches(html$.PopStateEvent); +dart.setStaticMethodSignature(html$.PopStateEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PopStateEvent, () => ({ __proto__: dart.getGetters(html$.PopStateEvent.__proto__), [S$.$state]: dart.dynamic, [S$1._get_state]: dart.dynamic })); -dart.setLibraryUri(html$.PopStateEvent, I[148]); +dart.setLibraryUri(html$.PopStateEvent, I[150]); dart.registerExtension("PopStateEvent", html$.PopStateEvent); -html$.PositionError = class PositionError extends _interceptors.Interceptor { +html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PositionError.__(); + } get [S$.$code]() { return this.code; } @@ -90265,12 +98408,14 @@ html$.PositionError = class PositionError extends _interceptors.Interceptor { }; dart.addTypeTests(html$.PositionError); dart.addTypeCaches(html$.PositionError); +dart.setStaticMethodSignature(html$.PositionError, () => ['__']); dart.setGetterSignature(html$.PositionError, () => ({ __proto__: dart.getGetters(html$.PositionError.__proto__), [S$.$code]: dart.nullable(core.int), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PositionError, I[148]); +dart.setLibraryUri(html$.PositionError, I[150]); +dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); dart.defineLazy(html$.PositionError, { /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { return 1; @@ -90283,10 +98428,20 @@ dart.defineLazy(html$.PositionError, { } }, false); dart.registerExtension("PositionError", html$.PositionError); +dart.registerExtension("GeolocationPositionError", html$.PositionError); html$.PreElement = class PreElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.PreElement.__(); + } static new() { return html$.document.createElement("pre"); } + static ['_#new#tearOff']() { + return html$.PreElement.new(); + } + static ['_#created#tearOff']() { + return new html$.PreElement.created(); + } }; (html$.PreElement.created = function() { html$.PreElement.__proto__.created.call(this); @@ -90294,9 +98449,13 @@ html$.PreElement = class PreElement extends html$.HtmlElement { }).prototype = html$.PreElement.prototype; dart.addTypeTests(html$.PreElement); dart.addTypeCaches(html$.PreElement); -dart.setLibraryUri(html$.PreElement, I[148]); +dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); +dart.setLibraryUri(html$.PreElement, I[150]); dart.registerExtension("HTMLPreElement", html$.PreElement); -html$.Presentation = class Presentation extends _interceptors.Interceptor { +html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Presentation.__(); + } get [S$2.$defaultRequest]() { return this.defaultRequest; } @@ -90309,6 +98468,7 @@ html$.Presentation = class Presentation extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Presentation); dart.addTypeCaches(html$.Presentation); +dart.setStaticMethodSignature(html$.Presentation, () => ['__']); dart.setGetterSignature(html$.Presentation, () => ({ __proto__: dart.getGetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), @@ -90318,9 +98478,12 @@ dart.setSetterSignature(html$.Presentation, () => ({ __proto__: dart.getSetters(html$.Presentation.__proto__), [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) })); -dart.setLibraryUri(html$.Presentation, I[148]); +dart.setLibraryUri(html$.Presentation, I[150]); dart.registerExtension("Presentation", html$.Presentation); html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationAvailability.__(); + } get [S.$value]() { return this.value; } @@ -90330,19 +98493,24 @@ html$.PresentationAvailability = class PresentationAvailability extends html$.Ev }; dart.addTypeTests(html$.PresentationAvailability); dart.addTypeCaches(html$.PresentationAvailability); +dart.setStaticMethodSignature(html$.PresentationAvailability, () => ['__']); dart.setGetterSignature(html$.PresentationAvailability, () => ({ __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), [S.$value]: dart.nullable(core.bool), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.PresentationAvailability, I[148]); +dart.setLibraryUri(html$.PresentationAvailability, I[150]); +dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); dart.defineLazy(html$.PresentationAvailability, { /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnection.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -90379,6 +98547,7 @@ dart.setMethodSignature(html$.PresentationConnection, () => ({ [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.PresentationConnection, () => ['__']); dart.setGetterSignature(html$.PresentationConnection, () => ({ __proto__: dart.getGetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -90391,20 +98560,29 @@ dart.setSetterSignature(html$.PresentationConnection, () => ({ __proto__: dart.getSetters(html$.PresentationConnection.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PresentationConnection, I[148]); +dart.setLibraryUri(html$.PresentationConnection, I[150]); +dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); dart.defineLazy(html$.PresentationConnection, { /*html$.PresentationConnection.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("PresentationConnection", html$.PresentationConnection); html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionAvailableEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26026, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26026, 65, "eventInitDict"); + return html$.PresentationConnectionAvailableEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionAvailableEvent(type, eventInitDict); } @@ -90414,19 +98592,28 @@ html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailab }; dart.addTypeTests(html$.PresentationConnectionAvailableEvent); dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); +dart.setStaticMethodSignature(html$.PresentationConnectionAvailableEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), [S$1.$connection]: dart.nullable(html$.PresentationConnection) })); -dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); +dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[150]); dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PresentationConnectionCloseEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26048, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26048, 61, "eventInitDict"); + return html$.PresentationConnectionCloseEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PresentationConnectionCloseEvent(type, eventInitDict); } @@ -90439,40 +98626,52 @@ html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ }; dart.addTypeTests(html$.PresentationConnectionCloseEvent); dart.addTypeCaches(html$.PresentationConnectionCloseEvent); +dart.setStaticMethodSignature(html$.PresentationConnectionCloseEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), [$message]: dart.nullable(core.String), [S$.$reason]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); +dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[150]); dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationConnectionList.__(); + } get [S$2.$connections]() { return this.connections; } }; dart.addTypeTests(html$.PresentationConnectionList); dart.addTypeCaches(html$.PresentationConnectionList); +dart.setStaticMethodSignature(html$.PresentationConnectionList, () => ['__']); dart.setGetterSignature(html$.PresentationConnectionList, () => ({ __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) })); -dart.setLibraryUri(html$.PresentationConnectionList, I[148]); +dart.setLibraryUri(html$.PresentationConnectionList, I[150]); dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); -html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { +html$.PresentationReceiver = class PresentationReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PresentationReceiver.__(); + } get [S$2.$connectionList]() { return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); } }; dart.addTypeTests(html$.PresentationReceiver); dart.addTypeCaches(html$.PresentationReceiver); +dart.setStaticMethodSignature(html$.PresentationReceiver, () => ['__']); dart.setGetterSignature(html$.PresentationReceiver, () => ({ __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) })); -dart.setLibraryUri(html$.PresentationReceiver, I[148]); +dart.setLibraryUri(html$.PresentationReceiver, I[150]); dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.PresentationRequest.__(); + } static new(url_OR_urls) { if (typeof url_OR_urls == 'string') { return html$.PresentationRequest._create_1(url_OR_urls); @@ -90483,6 +98682,9 @@ html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](url_OR_urls) { + return html$.PresentationRequest.new(url_OR_urls); + } static _create_1(url_OR_urls) { return new PresentationRequest(url_OR_urls); } @@ -90493,7 +98695,7 @@ html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); } [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); } [S$.$start]() { @@ -90508,9 +98710,13 @@ dart.setMethodSignature(html$.PresentationRequest, () => ({ [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) })); -dart.setLibraryUri(html$.PresentationRequest, I[148]); +dart.setStaticMethodSignature(html$.PresentationRequest, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.PresentationRequest, I[150]); dart.registerExtension("PresentationRequest", html$.PresentationRequest); html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + static ['_#_#tearOff']() { + return html$.ProcessingInstruction.__(); + } get [S$1.$sheet]() { return this.sheet; } @@ -90520,17 +98726,27 @@ html$.ProcessingInstruction = class ProcessingInstruction extends html$.Characte }; dart.addTypeTests(html$.ProcessingInstruction); dart.addTypeCaches(html$.ProcessingInstruction); +dart.setStaticMethodSignature(html$.ProcessingInstruction, () => ['__']); dart.setGetterSignature(html$.ProcessingInstruction, () => ({ __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), [S$1.$sheet]: dart.nullable(html$.StyleSheet), [S.$target]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.ProcessingInstruction, I[148]); +dart.setLibraryUri(html$.ProcessingInstruction, I[150]); dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ProgressElement.__(); + } static new() { return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); } + static ['_#new#tearOff']() { + return html$.ProgressElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ProgressElement.created(); + } static get supported() { return html$.Element.isTagSupported("progress"); } @@ -90559,6 +98775,7 @@ html$.ProgressElement = class ProgressElement extends html$.HtmlElement { }).prototype = html$.ProgressElement.prototype; dart.addTypeTests(html$.ProgressElement); dart.addTypeCaches(html$.ProgressElement); +dart.setStaticMethodSignature(html$.ProgressElement, () => ['__', 'new']); dart.setGetterSignature(html$.ProgressElement, () => ({ __proto__: dart.getGetters(html$.ProgressElement.__proto__), [S$.$labels]: dart.nullable(core.List$(html$.Node)), @@ -90571,17 +98788,25 @@ dart.setSetterSignature(html$.ProgressElement, () => ({ [S$1.$max]: core.num, [S.$value]: core.num })); -dart.setLibraryUri(html$.ProgressElement, I[148]); +dart.setStaticGetterSignature(html$.ProgressElement, () => ['supported']); +dart.setLibraryUri(html$.ProgressElement, I[150]); dart.registerExtension("HTMLProgressElement", html$.ProgressElement); html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.ProgressEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.ProgressEvent._create_1(type, eventInitDict_1); } return html$.ProgressEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26197, 32, "type"); + return html$.ProgressEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new ProgressEvent(type, eventInitDict); } @@ -90600,21 +98825,30 @@ html$.ProgressEvent = class ProgressEvent$ extends html$.Event { }; dart.addTypeTests(html$.ProgressEvent); dart.addTypeCaches(html$.ProgressEvent); +dart.setStaticMethodSignature(html$.ProgressEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ProgressEvent, () => ({ __proto__: dart.getGetters(html$.ProgressEvent.__proto__), [S$2.$lengthComputable]: core.bool, [S$1.$loaded]: dart.nullable(core.int), [S$2.$total]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.ProgressEvent, I[148]); +dart.setLibraryUri(html$.ProgressEvent, I[150]); dart.registerExtension("ProgressEvent", html$.ProgressEvent); html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.PromiseRejectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26226, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26226, 50, "eventInitDict"); + return html$.PromiseRejectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PromiseRejectionEvent(type, eventInitDict); } @@ -90627,14 +98861,18 @@ html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { }; dart.addTypeTests(html$.PromiseRejectionEvent); dart.addTypeCaches(html$.PromiseRejectionEvent); +dart.setStaticMethodSignature(html$.PromiseRejectionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), [S$2.$promise]: async.Future, [S$.$reason]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); +dart.setLibraryUri(html$.PromiseRejectionEvent, I[150]); dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + static ['_#_#tearOff']() { + return html$.PublicKeyCredential.__(); + } get [S$2.$rawId]() { return this.rawId; } @@ -90644,22 +98882,30 @@ html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { }; dart.addTypeTests(html$.PublicKeyCredential); dart.addTypeCaches(html$.PublicKeyCredential); +dart.setStaticMethodSignature(html$.PublicKeyCredential, () => ['__']); dart.setGetterSignature(html$.PublicKeyCredential, () => ({ __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), [S$.$response]: dart.nullable(html$.AuthenticatorResponse) })); -dart.setLibraryUri(html$.PublicKeyCredential, I[148]); +dart.setLibraryUri(html$.PublicKeyCredential, I[150]); dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.PushEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.PushEvent._create_1(type, eventInitDict_1); } return html$.PushEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 26266, 28, "type"); + return html$.PushEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new PushEvent(type, eventInitDict); } @@ -90672,13 +98918,17 @@ html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { }; dart.addTypeTests(html$.PushEvent); dart.addTypeCaches(html$.PushEvent); +dart.setStaticMethodSignature(html$.PushEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.PushEvent, () => ({ __proto__: dart.getGetters(html$.PushEvent.__proto__), [S$.$data]: dart.nullable(html$.PushMessageData) })); -dart.setLibraryUri(html$.PushEvent, I[148]); +dart.setLibraryUri(html$.PushEvent, I[150]); dart.registerExtension("PushEvent", html$.PushEvent); -html$.PushManager = class PushManager extends _interceptors.Interceptor { +html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushManager.__(); + } [S$2.$getSubscription]() { return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); } @@ -90705,9 +98955,14 @@ dart.setMethodSignature(html$.PushManager, () => ({ [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) })); -dart.setLibraryUri(html$.PushManager, I[148]); +dart.setStaticMethodSignature(html$.PushManager, () => ['__']); +dart.setStaticGetterSignature(html$.PushManager, () => ['supportedContentEncodings']); +dart.setLibraryUri(html$.PushManager, I[150]); dart.registerExtension("PushManager", html$.PushManager); -html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { +html$.PushMessageData = class PushMessageData extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushMessageData.__(); + } [S$.$arrayBuffer](...args) { return this.arrayBuffer.apply(this, args); } @@ -90730,9 +98985,13 @@ dart.setMethodSignature(html$.PushMessageData, () => ({ [S$.$json]: dart.fnType(core.Object, []), [S.$text]: dart.fnType(core.String, []) })); -dart.setLibraryUri(html$.PushMessageData, I[148]); +dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); +dart.setLibraryUri(html$.PushMessageData, I[150]); dart.registerExtension("PushMessageData", html$.PushMessageData); -html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { +html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscription.__(); + } get [S$2.$endpoint]() { return this.endpoint; } @@ -90756,15 +99015,19 @@ dart.setMethodSignature(html$.PushSubscription, () => ({ [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) })); +dart.setStaticMethodSignature(html$.PushSubscription, () => ['__']); dart.setGetterSignature(html$.PushSubscription, () => ({ __proto__: dart.getGetters(html$.PushSubscription.__proto__), [S$2.$endpoint]: dart.nullable(core.String), [S$2.$expirationTime]: dart.nullable(core.int), [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) })); -dart.setLibraryUri(html$.PushSubscription, I[148]); +dart.setLibraryUri(html$.PushSubscription, I[150]); dart.registerExtension("PushSubscription", html$.PushSubscription); -html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { +html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.PushSubscriptionOptions.__(); + } get [S$2.$applicationServerKey]() { return this.applicationServerKey; } @@ -90774,17 +99037,27 @@ html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _intercept }; dart.addTypeTests(html$.PushSubscriptionOptions); dart.addTypeCaches(html$.PushSubscriptionOptions); +dart.setStaticMethodSignature(html$.PushSubscriptionOptions, () => ['__']); dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), [S$2.$userVisibleOnly]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); +dart.setLibraryUri(html$.PushSubscriptionOptions, I[150]); dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.QuoteElement.__(); + } static new() { return html$.document.createElement("q"); } + static ['_#new#tearOff']() { + return html$.QuoteElement.new(); + } + static ['_#created#tearOff']() { + return new html$.QuoteElement.created(); + } get [S$1.$cite]() { return this.cite; } @@ -90798,6 +99071,7 @@ html$.QuoteElement = class QuoteElement extends html$.HtmlElement { }).prototype = html$.QuoteElement.prototype; dart.addTypeTests(html$.QuoteElement); dart.addTypeCaches(html$.QuoteElement); +dart.setStaticMethodSignature(html$.QuoteElement, () => ['__', 'new']); dart.setGetterSignature(html$.QuoteElement, () => ({ __proto__: dart.getGetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String @@ -90806,16 +99080,26 @@ dart.setSetterSignature(html$.QuoteElement, () => ({ __proto__: dart.getSetters(html$.QuoteElement.__proto__), [S$1.$cite]: core.String })); -dart.setLibraryUri(html$.QuoteElement, I[148]); +dart.setLibraryUri(html$.QuoteElement, I[150]); dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); -html$.Range = class Range extends _interceptors.Interceptor { +html$.Range = class Range extends _interceptors.JavaScriptObject { static new() { return html$.document.createRange(); } + static ['_#new#tearOff']() { + return html$.Range.new(); + } + static ['_#fromPoint#tearOff'](point) { + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); + return html$.Range.fromPoint(point); + } static fromPoint(point) { - if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + if (point == null) dart.nullFailed(I[149], 26428, 33, "point"); return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); } + static ['_#_#tearOff']() { + return html$.Range.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -90945,6 +99229,7 @@ dart.setMethodSignature(html$.Range, () => ({ [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) })); +dart.setStaticMethodSignature(html$.Range, () => ['new', 'fromPoint', '__']); dart.setGetterSignature(html$.Range, () => ({ __proto__: dart.getGetters(html$.Range.__proto__), [S$2.$collapsed]: core.bool, @@ -90954,7 +99239,9 @@ dart.setGetterSignature(html$.Range, () => ({ [S$2.$startContainer]: html$.Node, [S$2.$startOffset]: core.int })); -dart.setLibraryUri(html$.Range, I[148]); +dart.setStaticGetterSignature(html$.Range, () => ['supportsCreateContextualFragment']); +dart.setLibraryUri(html$.Range, I[150]); +dart.setStaticFieldSignature(html$.Range, () => ['END_TO_END', 'END_TO_START', 'START_TO_END', 'START_TO_START']); dart.defineLazy(html$.Range, { /*html$.Range.END_TO_END*/get END_TO_END() { return 2; @@ -90970,7 +99257,10 @@ dart.defineLazy(html$.Range, { } }, false); dart.registerExtension("Range", html$.Range); -html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { +html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RelatedApplication.__(); + } get [S.$id]() { return this.id; } @@ -90983,15 +99273,19 @@ html$.RelatedApplication = class RelatedApplication extends _interceptors.Interc }; dart.addTypeTests(html$.RelatedApplication); dart.addTypeCaches(html$.RelatedApplication); +dart.setStaticMethodSignature(html$.RelatedApplication, () => ['__']); dart.setGetterSignature(html$.RelatedApplication, () => ({ __proto__: dart.getGetters(html$.RelatedApplication.__proto__), [S.$id]: dart.nullable(core.String), [S$2.$platform]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RelatedApplication, I[148]); +dart.setLibraryUri(html$.RelatedApplication, I[150]); dart.registerExtension("RelatedApplication", html$.RelatedApplication); html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static ['_#_#tearOff']() { + return html$.RelativeOrientationSensor.__(); + } static new(sensorOptions = null) { if (sensorOptions != null) { let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); @@ -90999,6 +99293,9 @@ html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$ } return html$.RelativeOrientationSensor._create_2(); } + static ['_#new#tearOff'](sensorOptions = null) { + return html$.RelativeOrientationSensor.new(sensorOptions); + } static _create_1(sensorOptions) { return new RelativeOrientationSensor(sensorOptions); } @@ -91008,9 +99305,13 @@ html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$ }; dart.addTypeTests(html$.RelativeOrientationSensor); dart.addTypeCaches(html$.RelativeOrientationSensor); -dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); +dart.setStaticMethodSignature(html$.RelativeOrientationSensor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.RelativeOrientationSensor, I[150]); dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RemotePlayback.__(); + } get [S$.$state]() { return this.state; } @@ -91021,7 +99322,7 @@ html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { return js_util.promiseToFuture(dart.dynamic, this.prompt()); } [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); } }; @@ -91033,18 +99334,26 @@ dart.setMethodSignature(html$.RemotePlayback, () => ({ [S$.$prompt]: dart.fnType(async.Future, []), [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) })); +dart.setStaticMethodSignature(html$.RemotePlayback, () => ['__']); dart.setGetterSignature(html$.RemotePlayback, () => ({ __proto__: dart.getGetters(html$.RemotePlayback.__proto__), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RemotePlayback, I[148]); +dart.setLibraryUri(html$.RemotePlayback, I[150]); dart.registerExtension("RemotePlayback", html$.RemotePlayback); -html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { +html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ReportingObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); return html$.ReportingObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26620, 55, "callback"); + return html$.ReportingObserver.new(callback); + } static _create_1(callback) { return new ReportingObserver(callback); } @@ -91062,14 +99371,22 @@ dart.setMethodSignature(html$.ReportingObserver, () => ({ [S$1.$disconnect]: dart.fnType(dart.void, []), [S.$observe]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.ReportingObserver, I[148]); +dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.ReportingObserver, I[150]); dart.registerExtension("ReportingObserver", html$.ReportingObserver); -html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { +html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserver.__(); + } static new(callback) { - if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); return html$.ResizeObserver._create_1(callback_1); } + static ['_#new#tearOff'](callback) { + if (callback == null) dart.nullFailed(I[149], 26657, 49, "callback"); + return html$.ResizeObserver.new(callback); + } static _create_1(callback) { return new ResizeObserver(callback); } @@ -91091,9 +99408,13 @@ dart.setMethodSignature(html$.ResizeObserver, () => ({ [S.$observe]: dart.fnType(dart.void, [html$.Element]), [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) })); -dart.setLibraryUri(html$.ResizeObserver, I[148]); +dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.ResizeObserver, I[150]); dart.registerExtension("ResizeObserver", html$.ResizeObserver); -html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { +html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ResizeObserverEntry.__(); + } get [S$2.$contentRect]() { return this.contentRect; } @@ -91103,14 +99424,18 @@ html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Inte }; dart.addTypeTests(html$.ResizeObserverEntry); dart.addTypeCaches(html$.ResizeObserverEntry); +dart.setStaticMethodSignature(html$.ResizeObserverEntry, () => ['__']); dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), [S.$target]: dart.nullable(html$.Element) })); -dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); +dart.setLibraryUri(html$.ResizeObserverEntry, I[150]); dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); -html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { +html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcCertificate.__(); + } get [S$2.$expires]() { return this.expires; } @@ -91124,13 +99449,17 @@ dart.setMethodSignature(html$.RtcCertificate, () => ({ __proto__: dart.getMethods(html$.RtcCertificate.__proto__), [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) })); +dart.setStaticMethodSignature(html$.RtcCertificate, () => ['__']); dart.setGetterSignature(html$.RtcCertificate, () => ({ __proto__: dart.getGetters(html$.RtcCertificate.__proto__), [S$2.$expires]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.RtcCertificate, I[148]); +dart.setLibraryUri(html$.RtcCertificate, I[150]); dart.registerExtension("RTCCertificate", html$.RtcCertificate); html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDataChannel.__(); + } get [S$2.$binaryType]() { return this.binaryType; } @@ -91215,6 +99544,7 @@ dart.setMethodSignature(html$.RtcDataChannel, () => ({ [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.RtcDataChannel, () => ['__']); dart.setGetterSignature(html$.RtcDataChannel, () => ({ __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -91239,30 +99569,39 @@ dart.setSetterSignature(html$.RtcDataChannel, () => ({ [S$2.$binaryType]: dart.nullable(core.String), [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.RtcDataChannel, I[148]); +dart.setLibraryUri(html$.RtcDataChannel, I[150]); +dart.setStaticFieldSignature(html$.RtcDataChannel, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent']); dart.defineLazy(html$.RtcDataChannel, { /*html$.RtcDataChannel.closeEvent*/get closeEvent() { - return C[215] || CT.C215; + return C[225] || CT.C225; }, /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.RtcDataChannel.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; } }, false); dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); dart.registerExtension("DataChannel", html$.RtcDataChannel); html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDataChannelEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26821, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26821, 48, "eventInitDict"); + return html$.RtcDataChannelEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDataChannelEvent(type, eventInitDict); } @@ -91272,13 +99611,17 @@ html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { }; dart.addTypeTests(html$.RtcDataChannelEvent); dart.addTypeCaches(html$.RtcDataChannelEvent); +dart.setStaticMethodSignature(html$.RtcDataChannelEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), [S$2.$channel]: dart.nullable(html$.RtcDataChannel) })); -dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); +dart.setLibraryUri(html$.RtcDataChannelEvent, I[150]); dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.RtcDtmfSender.__(); + } get [S$2.$canInsertDtmf]() { return this.canInsertDTMF; } @@ -91307,6 +99650,7 @@ dart.setMethodSignature(html$.RtcDtmfSender, () => ({ __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.RtcDtmfSender, () => ['__']); dart.setGetterSignature(html$.RtcDtmfSender, () => ({ __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), [S$2.$canInsertDtmf]: dart.nullable(core.bool), @@ -91316,20 +99660,29 @@ dart.setGetterSignature(html$.RtcDtmfSender, () => ({ [S$1.$track]: dart.nullable(html$.MediaStreamTrack), [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) })); -dart.setLibraryUri(html$.RtcDtmfSender, I[148]); +dart.setLibraryUri(html$.RtcDtmfSender, I[150]); +dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); dart.defineLazy(html$.RtcDtmfSender, { /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - return C[353] || CT.C353; + return C[363] || CT.C363; } }, false); dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcDtmfToneChangeEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 26882, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 26882, 51, "eventInitDict"); + return html$.RtcDtmfToneChangeEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCDTMFToneChangeEvent(type, eventInitDict); } @@ -91339,18 +99692,26 @@ html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event }; dart.addTypeTests(html$.RtcDtmfToneChangeEvent); dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); +dart.setStaticMethodSignature(html$.RtcDtmfToneChangeEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), [S$2.$tone]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); +dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[150]); dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); -html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { +html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); let constructorName = window.RTCIceCandidate; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 26901, 31, "dictionary"); + return html$.RtcIceCandidate.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcIceCandidate.__(); + } get [S$2.$candidate]() { return this.candidate; } @@ -91372,6 +99733,7 @@ html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor }; dart.addTypeTests(html$.RtcIceCandidate); dart.addTypeCaches(html$.RtcIceCandidate); +dart.setStaticMethodSignature(html$.RtcIceCandidate, () => ['new', '__']); dart.setGetterSignature(html$.RtcIceCandidate, () => ({ __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), [S$2.$candidate]: dart.nullable(core.String), @@ -91384,10 +99746,13 @@ dart.setSetterSignature(html$.RtcIceCandidate, () => ({ [S$2.$sdpMLineIndex]: dart.nullable(core.int), [S$2.$sdpMid]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcIceCandidate, I[148]); +dart.setLibraryUri(html$.RtcIceCandidate, I[150]); dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); -html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { +html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcLegacyStatsReport.__(); + } get [S.$id]() { return this.id; } @@ -91414,6 +99779,7 @@ dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ [S$2.$names]: dart.fnType(core.List$(core.String), []), [S$2.$stat]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(html$.RtcLegacyStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), [S.$id]: dart.nullable(core.String), @@ -91421,11 +99787,11 @@ dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ [S$2._get_timestamp]: dart.dynamic, [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); +dart.setLibraryUri(html$.RtcLegacyStatsReport, I[150]); dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { static new(rtcIceServers, mediaConstraints = null) { - if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); let constructorName = window.RTCPeerConnection; if (mediaConstraints != null) { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); @@ -91433,6 +99799,10 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); } } + static ['_#new#tearOff'](rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[149], 26953, 33, "rtcIceServers"); + return html$.RtcPeerConnection.new(rtcIceServers, mediaConstraints); + } static get supported() { try { html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); @@ -91449,7 +99819,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { [S$2.$getLegacyStats](selector = null) { let completer = T$0.CompleterOfRtcStatsResponse().new(); this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); completer.complete(value); }, T$0.RtcStatsResponseTovoid()), selector); return completer.future; @@ -91460,6 +99830,12 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { static generateCertificate(keygenAlgorithm) { return generateCertificate(keygenAlgorithm); } + static ['_#_#tearOff']() { + return html$.RtcPeerConnection.__(); + } + get [S$2.$connectionState]() { + return this.connectionState; + } get [S$2.$iceConnectionState]() { return this.iceConnectionState; } @@ -91476,7 +99852,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.signalingState; } [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + if (candidate == null) dart.nullFailed(I[149], 27109, 33, "candidate"); return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); } [S$2.$addStream](stream, mediaConstraints = null) { @@ -91511,7 +99887,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.createDTMFSender.apply(this, args); } [S$2.$createDataChannel](label, dataChannelDict = null) { - if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (label == null) dart.nullFailed(I[149], 27149, 43, "label"); if (dataChannelDict != null) { let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); return this[S$2._createDataChannel_1](label, dataChannelDict_1); @@ -91553,7 +99929,7 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.removeTrack.apply(this, args); } [S$2.$setConfiguration](configuration) { - if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + if (configuration == null) dart.nullFailed(I[149], 27189, 29, "configuration"); let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); this[S$2._setConfiguration_1](configuration_1); return; @@ -91562,18 +99938,21 @@ html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { return this.setConfiguration.apply(this, args); } [S$2.$setLocalDescription](description) { - if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + if (description == null) dart.nullFailed(I[149], 27198, 34, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); } [S$2.$setRemoteDescription](description) { - if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + if (description == null) dart.nullFailed(I[149], 27204, 35, "description"); let description_dict = html_common.convertDartToNative_Dictionary(description); return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); } get [S$2.$onAddStream]() { return html$.RtcPeerConnection.addStreamEvent.forTarget(this); } + get [S$2.$onConnectionStateChange]() { + return html$.RtcPeerConnection.connectionStateChangeEvent.forTarget(this); + } get [S$2.$onDataChannel]() { return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); } @@ -91626,14 +100005,17 @@ dart.setMethodSignature(html$.RtcPeerConnection, () => ({ [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) })); +dart.setStaticMethodSignature(html$.RtcPeerConnection, () => ['new', 'generateCertificate', '__']); dart.setGetterSignature(html$.RtcPeerConnection, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$connectionState]: dart.nullable(core.String), [S$2.$iceConnectionState]: dart.nullable(core.String), [S$2.$iceGatheringState]: dart.nullable(core.String), [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), [S$2.$signalingState]: dart.nullable(core.String), [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onConnectionStateChange]: async.Stream$(html$.Event), [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), @@ -91642,45 +100024,57 @@ dart.setGetterSignature(html$.RtcPeerConnection, () => ({ [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) })); -dart.setLibraryUri(html$.RtcPeerConnection, I[148]); +dart.setStaticGetterSignature(html$.RtcPeerConnection, () => ['supported']); +dart.setLibraryUri(html$.RtcPeerConnection, I[150]); +dart.setStaticFieldSignature(html$.RtcPeerConnection, () => ['addStreamEvent', 'connectionStateChangeEvent', 'dataChannelEvent', 'iceCandidateEvent', 'iceConnectionStateChangeEvent', 'negotiationNeededEvent', 'removeStreamEvent', 'signalingStateChangeEvent', 'trackEvent']); dart.defineLazy(html$.RtcPeerConnection, { /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { - return C[354] || CT.C354; + return C[364] || CT.C364; + }, + /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { + return C[365] || CT.C365; }, /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[355] || CT.C355; + return C[366] || CT.C366; }, /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[356] || CT.C356; + return C[367] || CT.C367; }, /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[357] || CT.C357; + return C[368] || CT.C368; }, /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[358] || CT.C358; + return C[369] || CT.C369; }, /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[359] || CT.C359; + return C[370] || CT.C370; }, /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[360] || CT.C360; + return C[371] || CT.C371; }, /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - return C[361] || CT.C361; + return C[372] || CT.C372; } }, false); dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcPeerConnectionIceEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); } return html$.RtcPeerConnectionIceEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27255, 44, "type"); + return html$.RtcPeerConnectionIceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCPeerConnectionIceEvent(type, eventInitDict); } @@ -91693,13 +100087,17 @@ html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$. }; dart.addTypeTests(html$.RtcPeerConnectionIceEvent); dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); +dart.setStaticMethodSignature(html$.RtcPeerConnectionIceEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) })); -dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); +dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[150]); dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); -html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { +html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpContributingSource.__(); + } get [S.$source]() { return this.source; } @@ -91709,14 +100107,18 @@ html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interce }; dart.addTypeTests(html$.RtcRtpContributingSource); dart.addTypeCaches(html$.RtcRtpContributingSource); +dart.setStaticMethodSignature(html$.RtcRtpContributingSource, () => ['__']); dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), [S.$source]: dart.nullable(core.int), [S$.$timestamp]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); +dart.setLibraryUri(html$.RtcRtpContributingSource, I[150]); dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); -html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { +html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpReceiver.__(); + } get [S$1.$track]() { return this.track; } @@ -91730,31 +100132,43 @@ dart.setMethodSignature(html$.RtcRtpReceiver, () => ({ __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) })); +dart.setStaticMethodSignature(html$.RtcRtpReceiver, () => ['__']); dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); +dart.setLibraryUri(html$.RtcRtpReceiver, I[150]); dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); -html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { +html$.RtcRtpSender = class RtcRtpSender extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcRtpSender.__(); + } get [S$1.$track]() { return this.track; } }; dart.addTypeTests(html$.RtcRtpSender); dart.addTypeCaches(html$.RtcRtpSender); +dart.setStaticMethodSignature(html$.RtcRtpSender, () => ['__']); dart.setGetterSignature(html$.RtcRtpSender, () => ({ __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcRtpSender, I[148]); +dart.setLibraryUri(html$.RtcRtpSender, I[150]); dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); -html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { +html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { static new(dictionary) { - if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); let constructorName = window.RTCSessionDescription; return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); } + static ['_#new#tearOff'](dictionary) { + if (dictionary == null) dart.nullFailed(I[149], 27322, 37, "dictionary"); + return html$.RtcSessionDescription.new(dictionary); + } + static ['_#_#tearOff']() { + return html$.RtcSessionDescription.__(); + } get [S$2.$sdp]() { return this.sdp; } @@ -91770,6 +100184,7 @@ html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors. }; dart.addTypeTests(html$.RtcSessionDescription); dart.addTypeCaches(html$.RtcSessionDescription); +dart.setStaticMethodSignature(html$.RtcSessionDescription, () => ['new', '__']); dart.setGetterSignature(html$.RtcSessionDescription, () => ({ __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), [S$2.$sdp]: dart.nullable(core.String), @@ -91780,27 +100195,30 @@ dart.setSetterSignature(html$.RtcSessionDescription, () => ({ [S$2.$sdp]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.RtcSessionDescription, I[148]); +dart.setLibraryUri(html$.RtcSessionDescription, I[150]); dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); -const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$0.new = function() { - Interceptor_MapMixin$36$0.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$0.prototype; -dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); -html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { +const JavaScriptObject_MapMixin$36$0 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$0.new = function() { + JavaScriptObject_MapMixin$36$0.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$0.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); +html$.RtcStatsReport = class RtcStatsReport extends JavaScriptObject_MapMixin$36$0 { + static ['_#_#tearOff']() { + return html$.RtcStatsReport.__(); + } [S$1._getItem](key) { - if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + if (key == null) dart.nullFailed(I[149], 27351, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + if (other == null) dart.nullFailed(I[149], 27354, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + if (e == null) dart.nullFailed(I[149], 27358, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -91811,7 +100229,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { return this[S$1._getItem](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -91822,7 +100240,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -91830,7 +100248,7 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -91847,15 +100265,15 @@ html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + if (key == null) dart.nullFailed(I[149], 27392, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[149], 27396, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[149], 27396, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -91877,14 +100295,18 @@ dart.setMethodSignature(html$.RtcStatsReport, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.RtcStatsReport, () => ['__']); dart.setGetterSignature(html$.RtcStatsReport, () => ({ __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(html$.RtcStatsReport, I[148]); +dart.setLibraryUri(html$.RtcStatsReport, I[150]); dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); -html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { +html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.RtcStatsResponse.__(); + } [S$1.$namedItem](...args) { return this.namedItem.apply(this, args); } @@ -91899,15 +100321,24 @@ dart.setMethodSignature(html$.RtcStatsResponse, () => ({ [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) })); -dart.setLibraryUri(html$.RtcStatsResponse, I[148]); +dart.setStaticMethodSignature(html$.RtcStatsResponse, () => ['__']); +dart.setLibraryUri(html$.RtcStatsResponse, I[150]); dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.RtcTrackEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.RtcTrackEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27434, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27434, 42, "eventInitDict"); + return html$.RtcTrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new RTCTrackEvent(type, eventInitDict); } @@ -91923,18 +100354,22 @@ html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { }; dart.addTypeTests(html$.RtcTrackEvent); dart.addTypeCaches(html$.RtcTrackEvent); +dart.setStaticMethodSignature(html$.RtcTrackEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.RtcTrackEvent, () => ({ __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), [S$1.$track]: dart.nullable(html$.MediaStreamTrack) })); -dart.setLibraryUri(html$.RtcTrackEvent, I[148]); +dart.setLibraryUri(html$.RtcTrackEvent, I[150]); dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); -html$.Screen = class Screen extends _interceptors.Interceptor { +html$.Screen = class Screen extends _interceptors.JavaScriptObject { get [S$2.$available]() { return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); } + static ['_#_#tearOff']() { + return html$.Screen.__(); + } get [S$2._availHeight]() { return this.availHeight; } @@ -91971,6 +100406,7 @@ html$.Screen = class Screen extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Screen); dart.addTypeCaches(html$.Screen); +dart.setStaticMethodSignature(html$.Screen, () => ['__']); dart.setGetterSignature(html$.Screen, () => ({ __proto__: dart.getGetters(html$.Screen.__proto__), [S$2.$available]: math.Rectangle$(core.num), @@ -91989,9 +100425,12 @@ dart.setSetterSignature(html$.Screen, () => ({ __proto__: dart.getSetters(html$.Screen.__proto__), [S$2.$keepAwake]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.Screen, I[148]); +dart.setLibraryUri(html$.Screen, I[150]); dart.registerExtension("Screen", html$.Screen); html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ScreenOrientation.__(); + } get [S$.$angle]() { return this.angle; } @@ -91999,7 +100438,7 @@ html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { return this.type; } [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); } [S$2.$unlock](...args) { @@ -92016,23 +100455,34 @@ dart.setMethodSignature(html$.ScreenOrientation, () => ({ [S$2.$lock]: dart.fnType(async.Future, [core.String]), [S$2.$unlock]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ScreenOrientation, () => ['__']); dart.setGetterSignature(html$.ScreenOrientation, () => ({ __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), [S$.$angle]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ScreenOrientation, I[148]); +dart.setLibraryUri(html$.ScreenOrientation, I[150]); +dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); dart.defineLazy(html$.ScreenOrientation, { /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ScriptElement.__(); + } static new() { return html$.document.createElement("script"); } + static ['_#new#tearOff']() { + return html$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ScriptElement.created(); + } get [S$1.$async]() { return this.async; } @@ -92088,6 +100538,7 @@ html$.ScriptElement = class ScriptElement extends html$.HtmlElement { }).prototype = html$.ScriptElement.prototype; dart.addTypeTests(html$.ScriptElement); dart.addTypeCaches(html$.ScriptElement); +dart.setStaticMethodSignature(html$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(html$.ScriptElement, () => ({ __proto__: dart.getGetters(html$.ScriptElement.__proto__), [S$1.$async]: dart.nullable(core.bool), @@ -92110,9 +100561,12 @@ dart.setSetterSignature(html$.ScriptElement, () => ({ [S$.$src]: core.String, [S.$type]: core.String })); -dart.setLibraryUri(html$.ScriptElement, I[148]); +dart.setLibraryUri(html$.ScriptElement, I[150]); dart.registerExtension("HTMLScriptElement", html$.ScriptElement); -html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { +html$.ScrollState = class ScrollState$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ScrollState.__(); + } static new(scrollStateInit = null) { if (scrollStateInit != null) { let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); @@ -92120,6 +100574,9 @@ html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { } return html$.ScrollState._create_2(); } + static ['_#new#tearOff'](scrollStateInit = null) { + return html$.ScrollState.new(scrollStateInit); + } static _create_1(scrollStateInit) { return new ScrollState(scrollStateInit); } @@ -92176,6 +100633,7 @@ dart.setMethodSignature(html$.ScrollState, () => ({ [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.ScrollState, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollState, () => ({ __proto__: dart.getGetters(html$.ScrollState.__proto__), [S$2.$deltaGranularity]: dart.nullable(core.num), @@ -92191,9 +100649,12 @@ dart.setGetterSignature(html$.ScrollState, () => ({ [S$2.$velocityX]: dart.nullable(core.num), [S$2.$velocityY]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.ScrollState, I[148]); +dart.setLibraryUri(html$.ScrollState, I[150]); dart.registerExtension("ScrollState", html$.ScrollState); html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static ['_#_#tearOff']() { + return html$.ScrollTimeline.__(); + } static new(options = null) { if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); @@ -92201,6 +100662,9 @@ html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { } return html$.ScrollTimeline._create_2(); } + static ['_#new#tearOff'](options = null) { + return html$.ScrollTimeline.new(options); + } static _create_1(options) { return new ScrollTimeline(options); } @@ -92219,23 +100683,31 @@ html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { }; dart.addTypeTests(html$.ScrollTimeline); dart.addTypeCaches(html$.ScrollTimeline); +dart.setStaticMethodSignature(html$.ScrollTimeline, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.ScrollTimeline, () => ({ __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), [S$.$orientation]: dart.nullable(core.String), [S$2.$scrollSource]: dart.nullable(html$.Element), [S$2.$timeRange]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.ScrollTimeline, I[148]); +dart.setLibraryUri(html$.ScrollTimeline, I[150]); dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SecurityPolicyViolationEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); } return html$.SecurityPolicyViolationEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 27663, 47, "type"); + return html$.SecurityPolicyViolationEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SecurityPolicyViolationEvent(type, eventInitDict); } @@ -92281,6 +100753,7 @@ html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends }; dart.addTypeTests(html$.SecurityPolicyViolationEvent); dart.addTypeCaches(html$.SecurityPolicyViolationEvent); +dart.setStaticMethodSignature(html$.SecurityPolicyViolationEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), [S$2.$blockedUri]: dart.nullable(core.String), @@ -92296,12 +100769,21 @@ dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ [S$2.$statusCode]: dart.nullable(core.int), [S$2.$violatedDirective]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); +dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[150]); dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); html$.SelectElement = class SelectElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SelectElement.__(); + } + static ['_#new#tearOff']() { + return html$.SelectElement.new(); + } static new() { return html$.document.createElement("select"); } + static ['_#created#tearOff']() { + return new html$.SelectElement.created(); + } get [S$.$autofocus]() { return this.autofocus; } @@ -92402,7 +100884,7 @@ html$.SelectElement = class SelectElement extends html$.HtmlElement { get [S$2.$selectedOptions]() { if (dart.nullCheck(this.multiple)) { let options = this[S$0.$options][$where](dart.fn(o => { - if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + if (o == null) dart.nullFailed(I[149], 27804, 41, "o"); return o.selected; }, T$0.OptionElementTobool()))[$toList](); return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); @@ -92427,6 +100909,7 @@ dart.setMethodSignature(html$.SelectElement, () => ({ [S$.$reportValidity]: dart.fnType(core.bool, []), [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(html$.SelectElement, () => ['__', 'new']); dart.setGetterSignature(html$.SelectElement, () => ({ __proto__: dart.getGetters(html$.SelectElement.__proto__), [S$.$autofocus]: core.bool, @@ -92459,9 +100942,12 @@ dart.setSetterSignature(html$.SelectElement, () => ({ [S$.$size]: dart.nullable(core.int), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SelectElement, I[148]); +dart.setLibraryUri(html$.SelectElement, I[150]); dart.registerExtension("HTMLSelectElement", html$.SelectElement); -html$.Selection = class Selection extends _interceptors.Interceptor { +html$.Selection = class Selection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Selection.__(); + } get [S$2.$anchorNode]() { return this.anchorNode; } @@ -92561,6 +101047,7 @@ dart.setMethodSignature(html$.Selection, () => ({ [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.Selection, () => ['__']); dart.setGetterSignature(html$.Selection, () => ({ __proto__: dart.getGetters(html$.Selection.__proto__), [S$2.$anchorNode]: dart.nullable(html$.Node), @@ -92575,15 +101062,23 @@ dart.setGetterSignature(html$.Selection, () => ({ [S$2.$rangeCount]: dart.nullable(core.int), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Selection, I[148]); +dart.setLibraryUri(html$.Selection, I[150]); dart.registerExtension("Selection", html$.Selection); html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SensorErrorEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.SensorErrorEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 27912, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 27912, 45, "eventInitDict"); + return html$.SensorErrorEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new SensorErrorEvent(type, eventInitDict); } @@ -92593,13 +101088,17 @@ html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { }; dart.addTypeTests(html$.SensorErrorEvent); dart.addTypeCaches(html$.SensorErrorEvent); +dart.setStaticMethodSignature(html$.SensorErrorEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SensorErrorEvent, () => ({ __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), [S.$error]: dart.nullable(html$.DomException) })); -dart.setLibraryUri(html$.SensorErrorEvent, I[148]); +dart.setLibraryUri(html$.SensorErrorEvent, I[150]); dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorker.__(); + } get [S$2.$scriptUrl]() { return this.scriptURL; } @@ -92635,20 +101134,25 @@ dart.setMethodSignature(html$.ServiceWorker, () => ({ [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) })); +dart.setStaticMethodSignature(html$.ServiceWorker, () => ['__']); dart.setGetterSignature(html$.ServiceWorker, () => ({ __proto__: dart.getGetters(html$.ServiceWorker.__proto__), [S$2.$scriptUrl]: dart.nullable(core.String), [S$.$state]: dart.nullable(core.String), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.ServiceWorker, I[148]); +dart.setLibraryUri(html$.ServiceWorker, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); dart.defineLazy(html$.ServiceWorker, { /*html$.ServiceWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("ServiceWorker", html$.ServiceWorker); html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerContainer.__(); + } get [S$2.$controller]() { return this.controller; } @@ -92662,7 +101166,7 @@ html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventT return js_util.promiseToFuture(core.List, this.getRegistrations()); } [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92681,20 +101185,25 @@ dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.ServiceWorkerContainer, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), [S$2.$controller]: dart.nullable(html$.ServiceWorker), [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); +dart.setLibraryUri(html$.ServiceWorkerContainer, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); dart.defineLazy(html$.ServiceWorkerContainer, { /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.ServiceWorkerGlobalScope.__(); + } get [S$2.$clients]() { return this.clients; } @@ -92729,6 +101238,7 @@ dart.setMethodSignature(html$.ServiceWorkerGlobalScope, () => ({ __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$skipWaiting]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ServiceWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), [S$2.$clients]: dart.nullable(html$.Clients), @@ -92739,26 +101249,31 @@ dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ [S$2.$onInstall]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.ServiceWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.ServiceWorkerGlobalScope, () => ['activateEvent', 'fetchEvent', 'foreignfetchEvent', 'installEvent', 'messageEvent']); dart.defineLazy(html$.ServiceWorkerGlobalScope, { /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { - return C[362] || CT.C362; + return C[373] || CT.C373; }, /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[363] || CT.C363; + return C[374] || CT.C374; }, /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[364] || CT.C364; + return C[375] || CT.C375; }, /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[365] || CT.C365; + return C[376] || CT.C376; }, /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.ServiceWorkerRegistration.__(); + } get [S$1.$active]() { return this.active; } @@ -92794,7 +101309,7 @@ html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$. return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); } [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -92817,6 +101332,7 @@ dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), [$update]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(html$.ServiceWorkerRegistration, () => ['__']); dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), [S$1.$active]: dart.nullable(html$.ServiceWorker), @@ -92829,12 +101345,21 @@ dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ [S$2.$sync]: dart.nullable(html$.SyncManager), [S$2.$waiting]: dart.nullable(html$.ServiceWorker) })); -dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); +dart.setLibraryUri(html$.ServiceWorkerRegistration, I[150]); dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.ShadowElement.__(); + } static new() { return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); } + static ['_#new#tearOff']() { + return html$.ShadowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.ShadowElement.created(); + } static get supported() { return html$.Element.isTagSupported("shadow"); } @@ -92852,9 +101377,14 @@ dart.setMethodSignature(html$.ShadowElement, () => ({ __proto__: dart.getMethods(html$.ShadowElement.__proto__), [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) })); -dart.setLibraryUri(html$.ShadowElement, I[148]); +dart.setStaticMethodSignature(html$.ShadowElement, () => ['__', 'new']); +dart.setStaticGetterSignature(html$.ShadowElement, () => ['supported']); +dart.setLibraryUri(html$.ShadowElement, I[150]); dart.registerExtension("HTMLShadowElement", html$.ShadowElement); html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + static ['_#_#tearOff']() { + return html$.ShadowRoot.__(); + } get [S$2.$delegatesFocus]() { return this.delegatesFocus; } @@ -92908,7 +101438,7 @@ html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { return false; } set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } get [S$2.$applyAuthorStyles]() { @@ -92916,7 +101446,7 @@ html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { return false; } set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); html$.ShadowRoot._shadowRootDeprecationReport(); } }; @@ -92929,6 +101459,7 @@ dart.setMethodSignature(html$.ShadowRoot, () => ({ [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) })); +dart.setStaticMethodSignature(html$.ShadowRoot, () => ['__', '_shadowRootDeprecationReport']); dart.setGetterSignature(html$.ShadowRoot, () => ({ __proto__: dart.getGetters(html$.ShadowRoot.__proto__), [S$2.$delegatesFocus]: dart.nullable(core.bool), @@ -92947,35 +101478,72 @@ dart.setSetterSignature(html$.ShadowRoot, () => ({ [S$2.$resetStyleInheritance]: core.bool, [S$2.$applyAuthorStyles]: core.bool })); -dart.setLibraryUri(html$.ShadowRoot, I[148]); +dart.setStaticGetterSignature(html$.ShadowRoot, () => ['supported']); +dart.setLibraryUri(html$.ShadowRoot, I[150]); +dart.setStaticFieldSignature(html$.ShadowRoot, () => ['_shadowRootDeprecationReported']); dart.defineLazy(html$.ShadowRoot, { /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { return false; }, - set _shadowRootDeprecationReported(_) {} + set _shadowRootDeprecationReported(value) { + if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); + } }, false); dart.registerExtension("ShadowRoot", html$.ShadowRoot); -html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { +html$.SharedArrayBuffer = class SharedArrayBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SharedArrayBuffer.__(); + } + static new(length = null) { + if (length != null) { + return html$.SharedArrayBuffer._create_1(length); + } + return html$.SharedArrayBuffer._create_2(); + } + static ['_#new#tearOff'](length = null) { + return html$.SharedArrayBuffer.new(length); + } + static _create_1(length) { + return new SharedArrayBuffer(length); + } + static _create_2() { + return new SharedArrayBuffer(); + } get [S$2.$byteLength]() { return this.byteLength; } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } }; dart.addTypeTests(html$.SharedArrayBuffer); dart.addTypeCaches(html$.SharedArrayBuffer); +dart.setMethodSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getMethods(html$.SharedArrayBuffer.__proto__), + [S$.$slice]: dart.fnType(html$.SharedArrayBuffer, [], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setStaticMethodSignature(html$.SharedArrayBuffer, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), [S$2.$byteLength]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); +dart.setLibraryUri(html$.SharedArrayBuffer, I[150]); dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SharedWorker.__(); + } static new(scriptURL, name = null) { - if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); if (name != null) { return html$.SharedWorker._create_1(scriptURL, name); } return html$.SharedWorker._create_2(scriptURL); } + static ['_#new#tearOff'](scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[149], 28256, 31, "scriptURL"); + return html$.SharedWorker.new(scriptURL, name); + } static _create_1(scriptURL, name) { return new SharedWorker(scriptURL, name); } @@ -92992,19 +101560,24 @@ html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { dart.addTypeTests(html$.SharedWorker); dart.addTypeCaches(html$.SharedWorker); html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setStaticMethodSignature(html$.SharedWorker, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SharedWorker, () => ({ __proto__: dart.getGetters(html$.SharedWorker.__proto__), [S$.$port]: dart.nullable(html$.MessagePort), [S.$onError]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.SharedWorker, I[148]); +dart.setLibraryUri(html$.SharedWorker, I[150]); +dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); dart.defineLazy(html$.SharedWorker, { /*html$.SharedWorker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SharedWorker", html$.SharedWorker); html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + static ['_#_#tearOff']() { + return html$.SharedWorkerGlobalScope.__(); + } get [$name]() { return this.name; } @@ -93040,15 +101613,18 @@ dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) })); +dart.setStaticMethodSignature(html$.SharedWorkerGlobalScope, () => ['__']); dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), [$name]: dart.nullable(core.String), [S$2.$onConnect]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); +dart.setStaticGetterSignature(html$.SharedWorkerGlobalScope, () => ['instance']); +dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[150]); +dart.setStaticFieldSignature(html$.SharedWorkerGlobalScope, () => ['connectEvent', 'PERSISTENT', 'TEMPORARY']); dart.defineLazy(html$.SharedWorkerGlobalScope, { /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { - return C[366] || CT.C366; + return C[377] || CT.C377; }, /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { return 1; @@ -93059,6 +101635,12 @@ dart.defineLazy(html$.SharedWorkerGlobalScope, { }, false); dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); html$.SlotElement = class SlotElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SlotElement.__(); + } + static ['_#created#tearOff']() { + return new html$.SlotElement.created(); + } get [$name]() { return this.name; } @@ -93091,6 +101673,7 @@ dart.setMethodSignature(html$.SlotElement, () => ({ [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) })); +dart.setStaticMethodSignature(html$.SlotElement, () => ['__']); dart.setGetterSignature(html$.SlotElement, () => ({ __proto__: dart.getGetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) @@ -93099,9 +101682,12 @@ dart.setSetterSignature(html$.SlotElement, () => ({ __proto__: dart.getSetters(html$.SlotElement.__proto__), [$name]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SlotElement, I[148]); +dart.setLibraryUri(html$.SlotElement, I[150]); dart.registerExtension("HTMLSlotElement", html$.SlotElement); html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SourceBuffer.__(); + } get [S$2.$appendWindowEnd]() { return this.appendWindowEnd; } @@ -93172,6 +101758,7 @@ dart.setMethodSignature(html$.SourceBuffer, () => ({ [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), [$remove]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(html$.SourceBuffer, () => ['__']); dart.setGetterSignature(html$.SourceBuffer, () => ({ __proto__: dart.getGetters(html$.SourceBuffer.__proto__), [S$2.$appendWindowEnd]: dart.nullable(core.num), @@ -93194,13 +101781,14 @@ dart.setSetterSignature(html$.SourceBuffer, () => ({ [S$2.$timestampOffset]: dart.nullable(core.num), [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) })); -dart.setLibraryUri(html$.SourceBuffer, I[148]); +dart.setLibraryUri(html$.SourceBuffer, I[150]); +dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); dart.defineLazy(html$.SourceBuffer, { /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; } }, false); dart.registerExtension("SourceBuffer", html$.SourceBuffer); @@ -93215,24 +101803,27 @@ const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin e }).prototype = EventTarget_ImmutableListMixin$36.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + static ['_#_#tearOff']() { + return html$.SourceBufferList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28438, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28444, 25, "index"); html$.SourceBuffer.as(value); - if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + if (value == null) dart.nullFailed(I[149], 28444, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28450, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93263,7 +101854,7 @@ html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableLis dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + if (index == null) dart.nullFailed(I[149], 28478, 30, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -93273,13 +101864,14 @@ html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableLis html$.SourceBufferList.prototype[dart.isList] = true; dart.addTypeTests(html$.SourceBufferList); dart.addTypeCaches(html$.SourceBufferList); -html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; +html$.SourceBufferList[dart.implements] = () => [core.List$(html$.SourceBuffer), _js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer)]; dart.setMethodSignature(html$.SourceBufferList, () => ({ __proto__: dart.getMethods(html$.SourceBufferList.__proto__), [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) })); +dart.setStaticMethodSignature(html$.SourceBufferList, () => ['__']); dart.setGetterSignature(html$.SourceBufferList, () => ({ __proto__: dart.getGetters(html$.SourceBufferList.__proto__), [$length]: core.int @@ -93288,12 +101880,21 @@ dart.setSetterSignature(html$.SourceBufferList, () => ({ __proto__: dart.getSetters(html$.SourceBufferList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.SourceBufferList, I[148]); +dart.setLibraryUri(html$.SourceBufferList, I[150]); dart.registerExtension("SourceBufferList", html$.SourceBufferList); html$.SourceElement = class SourceElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SourceElement.__(); + } static new() { return html$.document.createElement("source"); } + static ['_#new#tearOff']() { + return html$.SourceElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SourceElement.created(); + } get [S$.$media]() { return this.media; } @@ -93331,6 +101932,7 @@ html$.SourceElement = class SourceElement extends html$.HtmlElement { }).prototype = html$.SourceElement.prototype; dart.addTypeTests(html$.SourceElement); dart.addTypeCaches(html$.SourceElement); +dart.setStaticMethodSignature(html$.SourceElement, () => ['__', 'new']); dart.setGetterSignature(html$.SourceElement, () => ({ __proto__: dart.getGetters(html$.SourceElement.__proto__), [S$.$media]: core.String, @@ -93347,12 +101949,21 @@ dart.setSetterSignature(html$.SourceElement, () => ({ [S$1.$srcset]: dart.nullable(core.String), [S.$type]: core.String })); -dart.setLibraryUri(html$.SourceElement, I[148]); +dart.setLibraryUri(html$.SourceElement, I[150]); dart.registerExtension("HTMLSourceElement", html$.SourceElement); html$.SpanElement = class SpanElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.SpanElement.__(); + } static new() { return html$.document.createElement("span"); } + static ['_#new#tearOff']() { + return html$.SpanElement.new(); + } + static ['_#created#tearOff']() { + return new html$.SpanElement.created(); + } }; (html$.SpanElement.created = function() { html$.SpanElement.__proto__.created.call(this); @@ -93360,12 +101971,19 @@ html$.SpanElement = class SpanElement extends html$.HtmlElement { }).prototype = html$.SpanElement.prototype; dart.addTypeTests(html$.SpanElement); dart.addTypeCaches(html$.SpanElement); -dart.setLibraryUri(html$.SpanElement, I[148]); +dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); +dart.setLibraryUri(html$.SpanElement, I[150]); dart.registerExtension("HTMLSpanElement", html$.SpanElement); -html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { +html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechGrammar.__(); + } static new() { return html$.SpeechGrammar._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammar.new(); + } static _create_1() { return new SpeechGrammar(); } @@ -93384,6 +102002,7 @@ html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.SpeechGrammar); dart.addTypeCaches(html$.SpeechGrammar); +dart.setStaticMethodSignature(html$.SpeechGrammar, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammar, () => ({ __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), [S$.$src]: dart.nullable(core.String), @@ -93394,22 +102013,28 @@ dart.setSetterSignature(html$.SpeechGrammar, () => ({ [S$.$src]: dart.nullable(core.String), [S$1.$weight]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.SpeechGrammar, I[148]); +dart.setLibraryUri(html$.SpeechGrammar, I[150]); dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); -const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$5.new = function() { - Interceptor_ListMixin$36$5.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$5.prototype; -dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); -const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; -(Interceptor_ImmutableListMixin$36$5.new = function() { - Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$5.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); -html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { +const JavaScriptObject_ListMixin$36$5 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$5.new = function() { + JavaScriptObject_ListMixin$36$5.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$5.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); +const JavaScriptObject_ImmutableListMixin$36$5 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$5 {}; +(JavaScriptObject_ImmutableListMixin$36$5.new = function() { + JavaScriptObject_ImmutableListMixin$36$5.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$5.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); +html$.SpeechGrammarList = class SpeechGrammarList$ extends JavaScriptObject_ImmutableListMixin$36$5 { + static ['_#_#tearOff']() { + return html$.SpeechGrammarList.__(); + } static new() { return html$.SpeechGrammarList._create_1(); } + static ['_#new#tearOff']() { + return html$.SpeechGrammarList.new(); + } static _create_1() { return new SpeechGrammarList(); } @@ -93417,20 +102042,20 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 28595, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + if (index == null) dart.nullFailed(I[149], 28601, 25, "index"); html$.SpeechGrammar.as(value); - if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + if (value == null) dart.nullFailed(I[149], 28601, 46, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + if (value == null) dart.nullFailed(I[149], 28607, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -93461,7 +102086,7 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + if (index == null) dart.nullFailed(I[149], 28635, 31, "index"); return this[$_get](index); } [S$2.$addFromString](...args) { @@ -93477,7 +102102,7 @@ html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_Immutable html$.SpeechGrammarList.prototype[dart.isList] = true; dart.addTypeTests(html$.SpeechGrammarList); dart.addTypeCaches(html$.SpeechGrammarList); -html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; +html$.SpeechGrammarList[dart.implements] = () => [core.List$(html$.SpeechGrammar), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar)]; dart.setMethodSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), @@ -93486,6 +102111,7 @@ dart.setMethodSignature(html$.SpeechGrammarList, () => ({ [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) })); +dart.setStaticMethodSignature(html$.SpeechGrammarList, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), [$length]: core.int @@ -93494,9 +102120,12 @@ dart.setSetterSignature(html$.SpeechGrammarList, () => ({ __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.SpeechGrammarList, I[148]); +dart.setLibraryUri(html$.SpeechGrammarList, I[150]); dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechRecognition.__(); + } static get supported() { return !!(window.SpeechRecognition || window.webkitSpeechRecognition); } @@ -93581,6 +102210,9 @@ html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { static new() { return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); } + static ['_#new#tearOff']() { + return html$.SpeechRecognition.new(); + } }; dart.addTypeTests(html$.SpeechRecognition); dart.addTypeCaches(html$.SpeechRecognition); @@ -93590,6 +102222,7 @@ dart.setMethodSignature(html$.SpeechRecognition, () => ({ [S$.$start]: dart.fnType(dart.void, []), [S$.$stop]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.SpeechRecognition, () => ['__', 'new']); dart.setGetterSignature(html$.SpeechRecognition, () => ({ __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), @@ -93619,44 +102252,49 @@ dart.setSetterSignature(html$.SpeechRecognition, () => ({ [S.$lang]: dart.nullable(core.String), [S$2.$maxAlternatives]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SpeechRecognition, I[148]); +dart.setStaticGetterSignature(html$.SpeechRecognition, () => ['supported']); +dart.setLibraryUri(html$.SpeechRecognition, I[150]); +dart.setStaticFieldSignature(html$.SpeechRecognition, () => ['audioEndEvent', 'audioStartEvent', 'endEvent', 'errorEvent', 'noMatchEvent', 'resultEvent', 'soundEndEvent', 'soundStartEvent', 'speechEndEvent', 'speechStartEvent', 'startEvent']); dart.defineLazy(html$.SpeechRecognition, { /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { - return C[367] || CT.C367; + return C[378] || CT.C378; }, /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[368] || CT.C368; + return C[379] || CT.C379; }, /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[369] || CT.C369; + return C[380] || CT.C380; }, /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[370] || CT.C370; + return C[381] || CT.C381; }, /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[371] || CT.C371; + return C[382] || CT.C382; }, /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[372] || CT.C372; + return C[383] || CT.C383; }, /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[373] || CT.C373; + return C[384] || CT.C384; }, /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[374] || CT.C374; + return C[385] || CT.C385; }, /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[375] || CT.C375; + return C[386] || CT.C386; }, /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[376] || CT.C376; + return C[387] || CT.C387; }, /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[377] || CT.C377; + return C[388] || CT.C388; } }, false); dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); -html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { +html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionAlternative.__(); + } get [S$2.$confidence]() { return this.confidence; } @@ -93666,22 +102304,30 @@ html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends }; dart.addTypeTests(html$.SpeechRecognitionAlternative); dart.addTypeCaches(html$.SpeechRecognitionAlternative); +dart.setStaticMethodSignature(html$.SpeechRecognitionAlternative, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), [S$2.$confidence]: dart.nullable(core.num), [S$2.$transcript]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[150]); dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionError.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionError._create_1(type, initDict_1); } return html$.SpeechRecognitionError._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28855, 41, "type"); + return html$.SpeechRecognitionError.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionError(type, initDict); } @@ -93697,22 +102343,30 @@ html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event }; dart.addTypeTests(html$.SpeechRecognitionError); dart.addTypeCaches(html$.SpeechRecognitionError); +dart.setStaticMethodSignature(html$.SpeechRecognitionError, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), [S.$error]: dart.nullable(core.String), [$message]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionError, I[150]); dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionEvent.__(); + } static new(type, initDict = null) { - if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); if (initDict != null) { let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.SpeechRecognitionEvent._create_1(type, initDict_1); } return html$.SpeechRecognitionEvent._create_2(type); } + static ['_#new#tearOff'](type, initDict = null) { + if (type == null) dart.nullFailed(I[149], 28886, 41, "type"); + return html$.SpeechRecognitionEvent.new(type, initDict); + } static _create_1(type, initDict) { return new SpeechRecognitionEvent(type, initDict); } @@ -93734,6 +102388,7 @@ html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event }; dart.addTypeTests(html$.SpeechRecognitionEvent); dart.addTypeCaches(html$.SpeechRecognitionEvent); +dart.setStaticMethodSignature(html$.SpeechRecognitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), [S$2.$emma]: dart.nullable(html$.Document), @@ -93741,9 +102396,12 @@ dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ [S$2.$resultIndex]: dart.nullable(core.int), [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) })); -dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); -html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { +html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechRecognitionResult.__(); + } get [S$2.$isFinal]() { return this.isFinal; } @@ -93760,12 +102418,13 @@ dart.setMethodSignature(html$.SpeechRecognitionResult, () => ({ __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) })); +dart.setStaticMethodSignature(html$.SpeechRecognitionResult, () => ['__']); dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), [S$2.$isFinal]: dart.nullable(core.bool), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); +dart.setLibraryUri(html$.SpeechRecognitionResult, I[150]); dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { [S$2.$getVoices]() { @@ -93773,6 +102432,9 @@ html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); return voices; } + static ['_#_#tearOff']() { + return html$.SpeechSynthesis.__(); + } get [S$.$paused]() { return this.paused; } @@ -93809,15 +102471,19 @@ dart.setMethodSignature(html$.SpeechSynthesis, () => ({ [S$1.$resume]: dart.fnType(dart.void, []), [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) })); +dart.setStaticMethodSignature(html$.SpeechSynthesis, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesis, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), [S$.$paused]: dart.nullable(core.bool), [S$2.$pending]: dart.nullable(core.bool), [S$2.$speaking]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.SpeechSynthesis, I[148]); +dart.setLibraryUri(html$.SpeechSynthesis, I[150]); dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisEvent.__(); + } get [S$2.$charIndex]() { return this.charIndex; } @@ -93833,6 +102499,7 @@ html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { }; dart.addTypeTests(html$.SpeechSynthesisEvent); dart.addTypeCaches(html$.SpeechSynthesisEvent); +dart.setStaticMethodSignature(html$.SpeechSynthesisEvent, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), [S$2.$charIndex]: dart.nullable(core.int), @@ -93840,15 +102507,21 @@ dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ [$name]: dart.nullable(core.String), [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) })); -dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisEvent, I[150]); dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisUtterance.__(); + } static new(text = null) { if (text != null) { return html$.SpeechSynthesisUtterance._create_1(text); } return html$.SpeechSynthesisUtterance._create_2(); } + static ['_#new#tearOff'](text = null) { + return html$.SpeechSynthesisUtterance.new(text); + } static _create_1(text) { return new SpeechSynthesisUtterance(text); } @@ -93903,7 +102576,7 @@ html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.E get [S$2.$onMark]() { return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); } get [S$2.$onResume]() { @@ -93915,6 +102588,7 @@ html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.E }; dart.addTypeTests(html$.SpeechSynthesisUtterance); dart.addTypeCaches(html$.SpeechSynthesisUtterance); +dart.setStaticMethodSignature(html$.SpeechSynthesisUtterance, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), [S.$lang]: dart.nullable(core.String), @@ -93927,7 +102601,7 @@ dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), [S.$onError]: async.Stream$(html$.Event), [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), - [S.$onPause]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) })); @@ -93940,32 +102614,36 @@ dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), [S$.$volume]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[150]); +dart.setStaticFieldSignature(html$.SpeechSynthesisUtterance, () => ['boundaryEvent', 'endEvent', 'errorEvent', 'markEvent', 'pauseEvent', 'resumeEvent', 'startEvent']); dart.defineLazy(html$.SpeechSynthesisUtterance, { /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { - return C[378] || CT.C378; + return C[389] || CT.C389; }, /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[379] || CT.C379; + return C[390] || CT.C390; }, /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[380] || CT.C380; + return C[391] || CT.C391; }, /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[381] || CT.C381; + return C[392] || CT.C392; }, /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[382] || CT.C382; + return C[393] || CT.C393; } }, false); dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); -html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { +html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SpeechSynthesisVoice.__(); + } get [S$1.$defaultValue]() { return this.default; } @@ -93984,6 +102662,7 @@ html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.In }; dart.addTypeTests(html$.SpeechSynthesisVoice); dart.addTypeCaches(html$.SpeechSynthesisVoice); +dart.setStaticMethodSignature(html$.SpeechSynthesisVoice, () => ['__']); dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -93992,9 +102671,12 @@ dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ [$name]: dart.nullable(core.String), [S$2.$voiceUri]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); +dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); -html$.StaticRange = class StaticRange extends _interceptors.Interceptor { +html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StaticRange.__(); + } get [S$2.$collapsed]() { return this.collapsed; } @@ -94013,6 +102695,7 @@ html$.StaticRange = class StaticRange extends _interceptors.Interceptor { }; dart.addTypeTests(html$.StaticRange); dart.addTypeCaches(html$.StaticRange); +dart.setStaticMethodSignature(html$.StaticRange, () => ['__']); dart.setGetterSignature(html$.StaticRange, () => ({ __proto__: dart.getGetters(html$.StaticRange.__proto__), [S$2.$collapsed]: dart.nullable(core.bool), @@ -94021,26 +102704,26 @@ dart.setGetterSignature(html$.StaticRange, () => ({ [S$2.$startContainer]: dart.nullable(html$.Node), [S$2.$startOffset]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.StaticRange, I[148]); +dart.setLibraryUri(html$.StaticRange, I[150]); dart.registerExtension("StaticRange", html$.StaticRange); -const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$1.new = function() { - Interceptor_MapMixin$36$1.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$1.prototype; -dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); -html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { +const JavaScriptObject_MapMixin$36$1 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$1.new = function() { + JavaScriptObject_MapMixin$36$1.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$1.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); +html$.Storage = class Storage extends JavaScriptObject_MapMixin$36$1 { [$addAll](other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + if (other == null) dart.nullFailed(I[149], 29183, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); - if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + if (k == null) dart.nullFailed(I[149], 29184, 20, "k"); + if (v == null) dart.nullFailed(I[149], 29184, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + if (e == null) dart.nullFailed(I[149], 29190, 52, "e"); return core.identical(e, value); }, T$.StringTobool())); } @@ -94053,17 +102736,17 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + if (value == null) dart.nullFailed(I[149], 29196, 40, "value"); this[S$2._setItem](key, value); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + if (key == null) dart.nullFailed(I[149], 29200, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 29200, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); return dart.nullCast(this[$_get](key), core.String); } @@ -94076,7 +102759,7 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { return this[S$0._clear$3](); } [$forEach](f) { - if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + if (f == null) dart.nullFailed(I[149], 29213, 21, "f"); for (let i = 0; true; i = i + 1) { let key = this[S$2._key](i); if (key == null) return; @@ -94086,8 +102769,8 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29224, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29224, 17, "v"); return keys[$add](k); }, T$0.StringAndStringTovoid())); return keys; @@ -94095,8 +102778,8 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$values]() { let values = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); - if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + if (k == null) dart.nullFailed(I[149], 29230, 14, "k"); + if (v == null) dart.nullFailed(I[149], 29230, 17, "v"); return values[$add](v); }, T$0.StringAndStringTovoid())); return values; @@ -94110,6 +102793,9 @@ html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { get [$isNotEmpty]() { return !dart.test(this[$isEmpty]); } + static ['_#_#tearOff']() { + return html$.Storage.__(); + } get [S$2._length$3]() { return this.length; } @@ -94143,20 +102829,21 @@ dart.setMethodSignature(html$.Storage, () => ({ [S$2._removeItem]: dart.fnType(dart.void, [core.String]), [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) })); +dart.setStaticMethodSignature(html$.Storage, () => ['__']); dart.setGetterSignature(html$.Storage, () => ({ __proto__: dart.getGetters(html$.Storage.__proto__), [$keys]: core.Iterable$(core.String), [S$2._length$3]: core.int })); -dart.setLibraryUri(html$.Storage, I[148]); +dart.setLibraryUri(html$.Storage, I[150]); dart.registerExtension("Storage", html$.Storage); html$.StorageEvent = class StorageEvent$ extends html$.Event { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); let key = opts && 'key' in opts ? opts.key : null; let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; let newValue = opts && 'newValue' in opts ? opts.newValue : null; @@ -94166,14 +102853,31 @@ html$.StorageEvent = class StorageEvent$ extends html$.Event { e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 29278, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 29279, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 29280, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + return html$.StorageEvent.new(type, {canBubble: canBubble, cancelable: cancelable, key: key, oldValue: oldValue, newValue: newValue, url: url, storageArea: storageArea}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.StorageEvent._create_1(type, eventInitDict_1); } return html$.StorageEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 29292, 33, "type"); + return html$.StorageEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new StorageEvent(type, eventInitDict); } @@ -94186,7 +102890,7 @@ html$.StorageEvent = class StorageEvent$ extends html$.Event { get [S$1.$newValue]() { return this.newValue; } - get [S$1.$oldValue]() { + get [S$2.$oldValue]() { return this.oldValue; } get [S$2.$storageArea]() { @@ -94205,17 +102909,21 @@ dart.setMethodSignature(html$.StorageEvent, () => ({ __proto__: dart.getMethods(html$.StorageEvent.__proto__), [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) })); +dart.setStaticMethodSignature(html$.StorageEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.StorageEvent, () => ({ __proto__: dart.getGetters(html$.StorageEvent.__proto__), [S.$key]: dart.nullable(core.String), [S$1.$newValue]: dart.nullable(core.String), - [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$oldValue]: dart.nullable(core.String), [S$2.$storageArea]: dart.nullable(html$.Storage), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StorageEvent, I[148]); +dart.setLibraryUri(html$.StorageEvent, I[150]); dart.registerExtension("StorageEvent", html$.StorageEvent); -html$.StorageManager = class StorageManager extends _interceptors.Interceptor { +html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StorageManager.__(); + } [S$2.$estimate]() { return html$.promiseToFutureAsMap(this.estimate()); } @@ -94234,12 +102942,22 @@ dart.setMethodSignature(html$.StorageManager, () => ({ [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) })); -dart.setLibraryUri(html$.StorageManager, I[148]); +dart.setStaticMethodSignature(html$.StorageManager, () => ['__']); +dart.setLibraryUri(html$.StorageManager, I[150]); dart.registerExtension("StorageManager", html$.StorageManager); html$.StyleElement = class StyleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.StyleElement.__(); + } static new() { return html$.document.createElement("style"); } + static ['_#new#tearOff']() { + return html$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -94268,6 +102986,7 @@ html$.StyleElement = class StyleElement extends html$.HtmlElement { }).prototype = html$.StyleElement.prototype; dart.addTypeTests(html$.StyleElement); dart.addTypeCaches(html$.StyleElement); +dart.setStaticMethodSignature(html$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(html$.StyleElement, () => ({ __proto__: dart.getGetters(html$.StyleElement.__proto__), [S$.$disabled]: core.bool, @@ -94281,9 +103000,12 @@ dart.setSetterSignature(html$.StyleElement, () => ({ [S$.$media]: core.String, [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StyleElement, I[148]); +dart.setLibraryUri(html$.StyleElement, I[150]); dart.registerExtension("HTMLStyleElement", html$.StyleElement); -html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { +html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StyleMedia.__(); + } get [S.$type]() { return this.type; } @@ -94297,13 +103019,17 @@ dart.setMethodSignature(html$.StyleMedia, () => ({ __proto__: dart.getMethods(html$.StyleMedia.__proto__), [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.StyleMedia, () => ['__']); dart.setGetterSignature(html$.StyleMedia, () => ({ __proto__: dart.getGetters(html$.StyleMedia.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.StyleMedia, I[148]); +dart.setLibraryUri(html$.StyleMedia, I[150]); dart.registerExtension("StyleMedia", html$.StyleMedia); -html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { +html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.StylePropertyMapReadonly.__(); + } [S.$get](...args) { return this.get.apply(this, args); } @@ -94326,9 +103052,13 @@ dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), [S$.$has]: dart.fnType(core.bool, [core.String]) })); -dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); +dart.setStaticMethodSignature(html$.StylePropertyMapReadonly, () => ['__']); +dart.setLibraryUri(html$.StylePropertyMapReadonly, I[150]); dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + static ['_#_#tearOff']() { + return html$.StylePropertyMap.__(); + } [S.$append](...args) { return this.append.apply(this, args); } @@ -94347,15 +103077,24 @@ dart.setMethodSignature(html$.StylePropertyMap, () => ({ [S.$delete]: dart.fnType(dart.void, [core.String]), [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) })); -dart.setLibraryUri(html$.StylePropertyMap, I[148]); +dart.setStaticMethodSignature(html$.StylePropertyMap, () => ['__']); +dart.setLibraryUri(html$.StylePropertyMap, I[150]); dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static ['_#_#tearOff']() { + return html$.SyncEvent.__(); + } static new(type, init) { - if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); - if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); let init_1 = html_common.convertDartToNative_Dictionary(init); return html$.SyncEvent._create_1(type, init_1); } + static ['_#new#tearOff'](type, init) { + if (type == null) dart.nullFailed(I[149], 29485, 28, "type"); + if (init == null) dart.nullFailed(I[149], 29485, 38, "init"); + return html$.SyncEvent.new(type, init); + } static _create_1(type, init) { return new SyncEvent(type, init); } @@ -94368,19 +103107,23 @@ html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { }; dart.addTypeTests(html$.SyncEvent); dart.addTypeCaches(html$.SyncEvent); +dart.setStaticMethodSignature(html$.SyncEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.SyncEvent, () => ({ __proto__: dart.getGetters(html$.SyncEvent.__proto__), [S$2.$lastChance]: dart.nullable(core.bool), [S$2.$tag]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.SyncEvent, I[148]); +dart.setLibraryUri(html$.SyncEvent, I[150]); dart.registerExtension("SyncEvent", html$.SyncEvent); -html$.SyncManager = class SyncManager extends _interceptors.Interceptor { +html$.SyncManager = class SyncManager extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.SyncManager.__(); + } [S$2.$getTags]() { return js_util.promiseToFuture(core.List, this.getTags()); } [S$1.$register](tag) { - if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + if (tag == null) dart.nullFailed(I[149], 29510, 26, "tag"); return js_util.promiseToFuture(dart.dynamic, this.register(tag)); } }; @@ -94391,12 +103134,22 @@ dart.setMethodSignature(html$.SyncManager, () => ({ [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), [S$1.$register]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$.SyncManager, I[148]); +dart.setStaticMethodSignature(html$.SyncManager, () => ['__']); +dart.setLibraryUri(html$.SyncManager, I[150]); dart.registerExtension("SyncManager", html$.SyncManager); html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCaptionElement.__(); + } static new() { return html$.document.createElement("caption"); } + static ['_#new#tearOff']() { + return html$.TableCaptionElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCaptionElement.created(); + } }; (html$.TableCaptionElement.created = function() { html$.TableCaptionElement.__proto__.created.call(this); @@ -94404,12 +103157,22 @@ html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement }).prototype = html$.TableCaptionElement.prototype; dart.addTypeTests(html$.TableCaptionElement); dart.addTypeCaches(html$.TableCaptionElement); -dart.setLibraryUri(html$.TableCaptionElement, I[148]); +dart.setStaticMethodSignature(html$.TableCaptionElement, () => ['__', 'new']); +dart.setLibraryUri(html$.TableCaptionElement, I[150]); dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableCellElement.__(); + } static new() { return html$.document.createElement("td"); } + static ['_#new#tearOff']() { + return html$.TableCellElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableCellElement.created(); + } get [S$2.$cellIndex]() { return this.cellIndex; } @@ -94438,6 +103201,7 @@ html$.TableCellElement = class TableCellElement extends html$.HtmlElement { }).prototype = html$.TableCellElement.prototype; dart.addTypeTests(html$.TableCellElement); dart.addTypeCaches(html$.TableCellElement); +dart.setStaticMethodSignature(html$.TableCellElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableCellElement, () => ({ __proto__: dart.getGetters(html$.TableCellElement.__proto__), [S$2.$cellIndex]: core.int, @@ -94451,14 +103215,23 @@ dart.setSetterSignature(html$.TableCellElement, () => ({ [S$2.$headers]: dart.nullable(core.String), [S$.$rowSpan]: core.int })); -dart.setLibraryUri(html$.TableCellElement, I[148]); +dart.setLibraryUri(html$.TableCellElement, I[150]); dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); html$.TableColElement = class TableColElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TableColElement.__(); + } static new() { return html$.document.createElement("col"); } + static ['_#new#tearOff']() { + return html$.TableColElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableColElement.created(); + } get [S$2.$span]() { return this.span; } @@ -94472,6 +103245,7 @@ html$.TableColElement = class TableColElement extends html$.HtmlElement { }).prototype = html$.TableColElement.prototype; dart.addTypeTests(html$.TableColElement); dart.addTypeCaches(html$.TableColElement); +dart.setStaticMethodSignature(html$.TableColElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableColElement, () => ({ __proto__: dart.getGetters(html$.TableColElement.__proto__), [S$2.$span]: core.int @@ -94480,7 +103254,7 @@ dart.setSetterSignature(html$.TableColElement, () => ({ __proto__: dart.getSetters(html$.TableColElement.__proto__), [S$2.$span]: core.int })); -dart.setLibraryUri(html$.TableColElement, I[148]); +dart.setLibraryUri(html$.TableColElement, I[150]); dart.registerExtension("HTMLTableColElement", html$.TableColElement); html$.TableElement = class TableElement extends html$.HtmlElement { get [S$2.$tBodies]() { @@ -94505,7 +103279,7 @@ html$.TableElement = class TableElement extends html$.HtmlElement { return this[S$2._createTHead](); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); return this[S$2._insertRow](index); } [S$2._createTBody]() { @@ -94531,9 +103305,18 @@ html$.TableElement = class TableElement extends html$.HtmlElement { fragment[S.$nodes][$addAll](table[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableElement.__(); + } static new() { return html$.document.createElement("table"); } + static ['_#new#tearOff']() { + return html$.TableElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableElement.created(); + } get [S$2.$caption]() { return this.caption; } @@ -94608,6 +103391,7 @@ dart.setMethodSignature(html$.TableElement, () => ({ [S$2.$deleteTHead]: dart.fnType(dart.void, []), [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableElement, () => ({ __proto__: dart.getGetters(html$.TableElement.__proto__), [S$2.$tBodies]: core.List$(html$.TableSectionElement), @@ -94624,7 +103408,7 @@ dart.setSetterSignature(html$.TableElement, () => ({ [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), [S$2.$tHead]: dart.nullable(html$.TableSectionElement) })); -dart.setLibraryUri(html$.TableElement, I[148]); +dart.setLibraryUri(html$.TableElement, I[150]); dart.registerExtension("HTMLTableElement", html$.TableElement); html$.TableRowElement = class TableRowElement extends html$.HtmlElement { get [S$2.$cells]() { @@ -94634,7 +103418,7 @@ html$.TableRowElement = class TableRowElement extends html$.HtmlElement { return this[S$2.$insertCell](-1); } [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); return html$.TableCellElement.as(this[S$2._insertCell](index)); } [S.$createFragment](html, opts) { @@ -94649,9 +103433,18 @@ html$.TableRowElement = class TableRowElement extends html$.HtmlElement { fragment[S.$nodes][$addAll](row[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableRowElement.__(); + } static new() { return html$.document.createElement("tr"); } + static ['_#new#tearOff']() { + return html$.TableRowElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TableRowElement.created(); + } get [S$2._cells]() { return this.cells; } @@ -94681,6 +103474,7 @@ dart.setMethodSignature(html$.TableRowElement, () => ({ [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableRowElement, () => ['__', 'new']); dart.setGetterSignature(html$.TableRowElement, () => ({ __proto__: dart.getGetters(html$.TableRowElement.__proto__), [S$2.$cells]: core.List$(html$.TableCellElement), @@ -94688,7 +103482,7 @@ dart.setGetterSignature(html$.TableRowElement, () => ({ [S$.$rowIndex]: core.int, [S$2.$sectionRowIndex]: core.int })); -dart.setLibraryUri(html$.TableRowElement, I[148]); +dart.setLibraryUri(html$.TableRowElement, I[150]); dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { get [S$2.$rows]() { @@ -94698,7 +103492,7 @@ html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement return this[S$2.$insertRow](-1); } [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); return html$.TableRowElement.as(this[S$2._insertRow](index)); } [S.$createFragment](html, opts) { @@ -94712,6 +103506,12 @@ html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement fragment[S.$nodes][$addAll](section[S.$nodes]); return fragment; } + static ['_#_#tearOff']() { + return html$.TableSectionElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TableSectionElement.created(); + } get [S$2._rows]() { return this.rows; } @@ -94735,14 +103535,18 @@ dart.setMethodSignature(html$.TableSectionElement, () => ({ [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$.TableSectionElement, () => ['__']); dart.setGetterSignature(html$.TableSectionElement, () => ({ __proto__: dart.getGetters(html$.TableSectionElement.__proto__), [S$2.$rows]: core.List$(html$.TableRowElement), [S$2._rows]: core.List$(html$.Node) })); -dart.setLibraryUri(html$.TableSectionElement, I[148]); +dart.setLibraryUri(html$.TableSectionElement, I[150]); dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + static ['_#_#tearOff']() { + return html$.TaskAttributionTiming.__(); + } get [S$2.$containerId]() { return this.containerId; } @@ -94761,6 +103565,7 @@ html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.Performa }; dart.addTypeTests(html$.TaskAttributionTiming); dart.addTypeCaches(html$.TaskAttributionTiming); +dart.setStaticMethodSignature(html$.TaskAttributionTiming, () => ['__']); dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), [S$2.$containerId]: dart.nullable(core.String), @@ -94769,12 +103574,21 @@ dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ [S$2.$containerType]: dart.nullable(core.String), [S$2.$scriptUrl]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); +dart.setLibraryUri(html$.TaskAttributionTiming, I[150]); dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TemplateElement.__(); + } static new() { return html$.TemplateElement.as(html$.document[S.$createElement]("template")); } + static ['_#new#tearOff']() { + return html$.TemplateElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TemplateElement.created(); + } static get supported() { return html$.Element.isTagSupported("template"); } @@ -94796,16 +103610,27 @@ html$.TemplateElement = class TemplateElement extends html$.HtmlElement { }).prototype = html$.TemplateElement.prototype; dart.addTypeTests(html$.TemplateElement); dart.addTypeCaches(html$.TemplateElement); +dart.setStaticMethodSignature(html$.TemplateElement, () => ['__', 'new']); dart.setGetterSignature(html$.TemplateElement, () => ({ __proto__: dart.getGetters(html$.TemplateElement.__proto__), [S$0.$content]: dart.nullable(html$.DocumentFragment) })); -dart.setLibraryUri(html$.TemplateElement, I[148]); +dart.setStaticGetterSignature(html$.TemplateElement, () => ['supported']); +dart.setLibraryUri(html$.TemplateElement, I[150]); dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TextAreaElement.__(); + } + static ['_#new#tearOff']() { + return html$.TextAreaElement.new(); + } static new() { return html$.document.createElement("textarea"); } + static ['_#created#tearOff']() { + return new html$.TextAreaElement.created(); + } get [S$1.$autocapitalize]() { return this.autocapitalize; } @@ -94969,6 +103794,7 @@ dart.setMethodSignature(html$.TextAreaElement, () => ({ [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.TextAreaElement, () => ['__', 'new']); dart.setGetterSignature(html$.TextAreaElement, () => ({ __proto__: dart.getGetters(html$.TextAreaElement.__proto__), [S$1.$autocapitalize]: dart.nullable(core.String), @@ -95018,12 +103844,18 @@ dart.setSetterSignature(html$.TextAreaElement, () => ({ [S.$value]: dart.nullable(core.String), [S$2.$wrap]: core.String })); -dart.setLibraryUri(html$.TextAreaElement, I[148]); +dart.setLibraryUri(html$.TextAreaElement, I[150]); dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); -html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { +html$.TextDetector = class TextDetector$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextDetector.__(); + } static new() { return html$.TextDetector._create_1(); } + static ['_#new#tearOff']() { + return html$.TextDetector.new(); + } static _create_1() { return new TextDetector(); } @@ -95037,15 +103869,16 @@ dart.setMethodSignature(html$.TextDetector, () => ({ __proto__: dart.getMethods(html$.TextDetector.__proto__), [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) })); -dart.setLibraryUri(html$.TextDetector, I[148]); +dart.setStaticMethodSignature(html$.TextDetector, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.TextDetector, I[150]); dart.registerExtension("TextDetector", html$.TextDetector); html$.TextEvent = class TextEvent extends html$.UIEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; - if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; - if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); let view = opts && 'view' in opts ? opts.view : null; let data = opts && 'data' in opts ? opts.data : null; if (view == null) { @@ -95055,6 +103888,19 @@ html$.TextEvent = class TextEvent extends html$.UIEvent { e[S$2._initTextEvent](type, canBubble, cancelable, view, data); return e; } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 30074, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[149], 30075, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[149], 30076, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + return html$.TextEvent.new(type, {canBubble: canBubble, cancelable: cancelable, view: view, data: data}); + } + static ['_#_#tearOff']() { + return html$.TextEvent.__(); + } get [S$.$data]() { return this.data; } @@ -95068,13 +103914,17 @@ dart.setMethodSignature(html$.TextEvent, () => ({ __proto__: dart.getMethods(html$.TextEvent.__proto__), [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(html$.TextEvent, () => ['new', '__']); dart.setGetterSignature(html$.TextEvent, () => ({ __proto__: dart.getGetters(html$.TextEvent.__proto__), [S$.$data]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TextEvent, I[148]); +dart.setLibraryUri(html$.TextEvent, I[150]); dart.registerExtension("TextEvent", html$.TextEvent); -html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { +html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TextMetrics.__(); + } get [S$2.$actualBoundingBoxAscent]() { return this.actualBoundingBoxAscent; } @@ -95093,19 +103943,19 @@ html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { get [S$2.$emHeightAscent]() { return this.emHeightAscent; } - get [S$2.$emHeightDescent]() { + get [S$3.$emHeightDescent]() { return this.emHeightDescent; } - get [S$2.$fontBoundingBoxAscent]() { + get [S$3.$fontBoundingBoxAscent]() { return this.fontBoundingBoxAscent; } - get [S$2.$fontBoundingBoxDescent]() { + get [S$3.$fontBoundingBoxDescent]() { return this.fontBoundingBoxDescent; } - get [S$2.$hangingBaseline]() { + get [S$3.$hangingBaseline]() { return this.hangingBaseline; } - get [S$2.$ideographicBaseline]() { + get [S$3.$ideographicBaseline]() { return this.ideographicBaseline; } get [$width]() { @@ -95114,6 +103964,7 @@ html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { }; dart.addTypeTests(html$.TextMetrics); dart.addTypeCaches(html$.TextMetrics); +dart.setStaticMethodSignature(html$.TextMetrics, () => ['__']); dart.setGetterSignature(html$.TextMetrics, () => ({ __proto__: dart.getGetters(html$.TextMetrics.__proto__), [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), @@ -95122,20 +103973,23 @@ dart.setGetterSignature(html$.TextMetrics, () => ({ [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), [S$2.$alphabeticBaseline]: dart.nullable(core.num), [S$2.$emHeightAscent]: dart.nullable(core.num), - [S$2.$emHeightDescent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), - [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$hangingBaseline]: dart.nullable(core.num), - [S$2.$ideographicBaseline]: dart.nullable(core.num), + [S$3.$emHeightDescent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$3.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$3.$hangingBaseline]: dart.nullable(core.num), + [S$3.$ideographicBaseline]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.TextMetrics, I[148]); +dart.setLibraryUri(html$.TextMetrics, I[150]); dart.registerExtension("TextMetrics", html$.TextMetrics); html$.TextTrack = class TextTrack extends html$.EventTarget { - get [S$2.$activeCues]() { + static ['_#_#tearOff']() { + return html$.TextTrack.__(); + } + get [S$3.$activeCues]() { return this.activeCues; } - get [S$2.$cues]() { + get [S$3.$cues]() { return this.cues; } get [S.$id]() { @@ -95147,7 +104001,7 @@ html$.TextTrack = class TextTrack extends html$.EventTarget { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$mode]() { @@ -95156,13 +104010,13 @@ html$.TextTrack = class TextTrack extends html$.EventTarget { set [S.$mode](value) { this.mode = value; } - [S$2.$addCue](...args) { + [S$3.$addCue](...args) { return this.addCue.apply(this, args); } - [S$2.$removeCue](...args) { + [S$3.$removeCue](...args) { return this.removeCue.apply(this, args); } - get [S$2.$onCueChange]() { + get [S$3.$onCueChange]() { return html$.TextTrack.cueChangeEvent.forTarget(this); } }; @@ -95170,36 +104024,41 @@ dart.addTypeTests(html$.TextTrack); dart.addTypeCaches(html$.TextTrack); dart.setMethodSignature(html$.TextTrack, () => ({ __proto__: dart.getMethods(html$.TextTrack.__proto__), - [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), - [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) + [S$3.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$3.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) })); +dart.setStaticMethodSignature(html$.TextTrack, () => ['__']); dart.setGetterSignature(html$.TextTrack, () => ({ __proto__: dart.getGetters(html$.TextTrack.__proto__), - [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), - [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S$3.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$3.$cues]: dart.nullable(html$.TextTrackCueList), [S.$id]: core.String, [S$.$kind]: core.String, [S$.$label]: core.String, - [S$1.$language]: core.String, + [S$2.$language]: core.String, [S.$mode]: dart.nullable(core.String), - [S$2.$onCueChange]: async.Stream$(html$.Event) + [S$3.$onCueChange]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrack, () => ({ __proto__: dart.getSetters(html$.TextTrack.__proto__), [S.$mode]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TextTrack, I[148]); +dart.setLibraryUri(html$.TextTrack, I[150]); +dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); dart.defineLazy(html$.TextTrack, { /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[383] || CT.C383; + return C[394] || CT.C394; } }, false); dart.registerExtension("TextTrack", html$.TextTrack); html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - get [S$2.$endTime]() { + static ['_#_#tearOff']() { + return html$.TextTrackCue.__(); + } + get [S$3.$endTime]() { return this.endTime; } - set [S$2.$endTime](value) { + set [S$3.$endTime](value) { this.endTime = value; } get [S.$id]() { @@ -95208,10 +104067,10 @@ html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { set [S.$id](value) { this.id = value; } - get [S$2.$pauseOnExit]() { + get [S$3.$pauseOnExit]() { return this.pauseOnExit; } - set [S$2.$pauseOnExit](value) { + set [S$3.$pauseOnExit](value) { this.pauseOnExit = value; } get [S$.$startTime]() { @@ -95223,71 +104082,76 @@ html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { get [S$1.$track]() { return this.track; } - get [S$2.$onEnter]() { + get [S$3.$onEnter]() { return html$.TextTrackCue.enterEvent.forTarget(this); } - get [S$2.$onExit]() { + get [S$3.$onExit]() { return html$.TextTrackCue.exitEvent.forTarget(this); } }; dart.addTypeTests(html$.TextTrackCue); dart.addTypeCaches(html$.TextTrackCue); +dart.setStaticMethodSignature(html$.TextTrackCue, () => ['__']); dart.setGetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getGetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num), [S$1.$track]: dart.nullable(html$.TextTrack), - [S$2.$onEnter]: async.Stream$(html$.Event), - [S$2.$onExit]: async.Stream$(html$.Event) + [S$3.$onEnter]: async.Stream$(html$.Event), + [S$3.$onExit]: async.Stream$(html$.Event) })); dart.setSetterSignature(html$.TextTrackCue, () => ({ __proto__: dart.getSetters(html$.TextTrackCue.__proto__), - [S$2.$endTime]: dart.nullable(core.num), + [S$3.$endTime]: dart.nullable(core.num), [S.$id]: dart.nullable(core.String), - [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$3.$pauseOnExit]: dart.nullable(core.bool), [S$.$startTime]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.TextTrackCue, I[148]); +dart.setLibraryUri(html$.TextTrackCue, I[150]); +dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); dart.defineLazy(html$.TextTrackCue, { /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[384] || CT.C384; + return C[395] || CT.C395; }, /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[385] || CT.C385; + return C[396] || CT.C396; } }, false); dart.registerExtension("TextTrackCue", html$.TextTrackCue); -const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$6.new = function() { - Interceptor_ListMixin$36$6.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$6.prototype; -dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); -const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; -(Interceptor_ImmutableListMixin$36$6.new = function() { - Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$6.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); -html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { +const JavaScriptObject_ListMixin$36$6 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$6.new = function() { + JavaScriptObject_ListMixin$36$6.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$6.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); +const JavaScriptObject_ImmutableListMixin$36$6 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$6 {}; +(JavaScriptObject_ImmutableListMixin$36$6.new = function() { + JavaScriptObject_ImmutableListMixin$36$6.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$6.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); +html$.TextTrackCueList = class TextTrackCueList extends JavaScriptObject_ImmutableListMixin$36$6 { + static ['_#_#tearOff']() { + return html$.TextTrackCueList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30243, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30249, 25, "index"); html$.TextTrackCue.as(value); - if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + if (value == null) dart.nullFailed(I[149], 30249, 45, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30255, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95318,13 +104182,13 @@ html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableLis dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + if (index == null) dart.nullFailed(I[149], 30283, 30, "index"); return this[$_get](index); } [S$.__getter__](...args) { return this.__getter__.apply(this, args); } - [S$2.$getCueById](...args) { + [S$3.$getCueById](...args) { return this.getCueById.apply(this, args); } }; @@ -95337,8 +104201,9 @@ dart.setMethodSignature(html$.TextTrackCueList, () => ({ [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), - [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) + [S$3.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) })); +dart.setStaticMethodSignature(html$.TextTrackCueList, () => ['__']); dart.setGetterSignature(html$.TextTrackCueList, () => ({ __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), [$length]: core.int @@ -95347,7 +104212,7 @@ dart.setSetterSignature(html$.TextTrackCueList, () => ({ __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TextTrackCueList, I[148]); +dart.setLibraryUri(html$.TextTrackCueList, I[150]); dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; (EventTarget_ListMixin$36$._created = function() { @@ -95360,24 +104225,27 @@ const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin }).prototype = EventTarget_ImmutableListMixin$36$.prototype; dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + static ['_#_#tearOff']() { + return html$.TextTrackList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30317, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30323, 25, "index"); html$.TextTrack.as(value); - if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + if (value == null) dart.nullFailed(I[149], 30323, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30329, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95408,7 +104276,7 @@ html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + if (index == null) dart.nullFailed(I[149], 30357, 27, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -95435,6 +104303,7 @@ dart.setMethodSignature(html$.TextTrackList, () => ({ [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) })); +dart.setStaticMethodSignature(html$.TextTrackList, () => ['__']); dart.setGetterSignature(html$.TextTrackList, () => ({ __proto__: dart.getGetters(html$.TextTrackList.__proto__), [$length]: core.int, @@ -95445,17 +104314,24 @@ dart.setSetterSignature(html$.TextTrackList, () => ({ __proto__: dart.getSetters(html$.TextTrackList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TextTrackList, I[148]); +dart.setLibraryUri(html$.TextTrackList, I[150]); +dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); dart.defineLazy(html$.TextTrackList, { /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[386] || CT.C386; + return C[397] || CT.C397; }, /*html$.TextTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("TextTrackList", html$.TextTrackList); html$.TimeElement = class TimeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TimeElement.__(); + } + static ['_#created#tearOff']() { + return new html$.TimeElement.created(); + } get [S$1.$dateTime]() { return this.dateTime; } @@ -95469,6 +104345,7 @@ html$.TimeElement = class TimeElement extends html$.HtmlElement { }).prototype = html$.TimeElement.prototype; dart.addTypeTests(html$.TimeElement); dart.addTypeCaches(html$.TimeElement); +dart.setStaticMethodSignature(html$.TimeElement, () => ['__']); dart.setGetterSignature(html$.TimeElement, () => ({ __proto__: dart.getGetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) @@ -95477,13 +104354,16 @@ dart.setSetterSignature(html$.TimeElement, () => ({ __proto__: dart.getSetters(html$.TimeElement.__proto__), [S$1.$dateTime]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TimeElement, I[148]); +dart.setLibraryUri(html$.TimeElement, I[150]); dart.registerExtension("HTMLTimeElement", html$.TimeElement); -html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { +html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TimeRanges.__(); + } get [$length]() { return this.length; } - [S$2.$end](...args) { + [S$3.$end](...args) { return this.end.apply(this, args); } [S$.$start](...args) { @@ -95494,19 +104374,29 @@ dart.addTypeTests(html$.TimeRanges); dart.addTypeCaches(html$.TimeRanges); dart.setMethodSignature(html$.TimeRanges, () => ({ __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$3.$end]: dart.fnType(core.double, [core.int]), [S$.$start]: dart.fnType(core.double, [core.int]) })); +dart.setStaticMethodSignature(html$.TimeRanges, () => ['__']); dart.setGetterSignature(html$.TimeRanges, () => ({ __proto__: dart.getGetters(html$.TimeRanges.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TimeRanges, I[148]); +dart.setLibraryUri(html$.TimeRanges, I[150]); dart.registerExtension("TimeRanges", html$.TimeRanges); html$.TitleElement = class TitleElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TitleElement.__(); + } static new() { return html$.document.createElement("title"); } + static ['_#new#tearOff']() { + return html$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TitleElement.created(); + } }; (html$.TitleElement.created = function() { html$.TitleElement.__proto__.created.call(this); @@ -95514,14 +104404,22 @@ html$.TitleElement = class TitleElement extends html$.HtmlElement { }).prototype = html$.TitleElement.prototype; dart.addTypeTests(html$.TitleElement); dart.addTypeCaches(html$.TitleElement); -dart.setLibraryUri(html$.TitleElement, I[148]); +dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); +dart.setLibraryUri(html$.TitleElement, I[150]); dart.registerExtension("HTMLTitleElement", html$.TitleElement); -html$.Touch = class Touch$ extends _interceptors.Interceptor { +html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.Touch.__(); + } static new(initDict) { - if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); return html$.Touch._create_1(initDict_1); } + static ['_#new#tearOff'](initDict) { + if (initDict == null) dart.nullFailed(I[149], 30449, 21, "initDict"); + return html$.Touch.new(initDict); + } static _create_1(initDict) { return new Touch(initDict); } @@ -95531,10 +104429,10 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S$1._clientY]() { return this.clientY; } - get [S$2.$force]() { + get [S$3.$force]() { return this.force; } - get [S$2.$identifier]() { + get [S$3.$identifier]() { return this.identifier; } get [S$1._pageX]() { @@ -95543,16 +104441,16 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S$1._pageY]() { return this.pageY; } - get [S$2._radiusX]() { + get [S$3._radiusX]() { return this.radiusX; } - get [S$2._radiusY]() { + get [S$3._radiusY]() { return this.radiusY; } get [S$1.$region]() { return this.region; } - get [S$2.$rotationAngle]() { + get [S$3.$rotationAngle]() { return this.rotationAngle; } get [S$1._screenX]() { @@ -95567,89 +104465,97 @@ html$.Touch = class Touch$ extends _interceptors.Interceptor { get [S._get_target]() { return this.target; } - get [S$2.__clientX]() { + get [S$3.__clientX]() { return this.clientX[$round](); } - get [S$2.__clientY]() { + get [S$3.__clientY]() { return this.clientY[$round](); } - get [S$2.__screenX]() { + get [S$3.__screenX]() { return this.screenX[$round](); } - get [S$2.__screenY]() { + get [S$3.__screenY]() { return this.screenY[$round](); } - get [S$2.__pageX]() { + get [S$3.__pageX]() { return this.pageX[$round](); } - get [S$2.__pageY]() { + get [S$3.__pageY]() { return this.pageY[$round](); } - get [S$2.__radiusX]() { + get [S$3.__radiusX]() { return this.radiusX[$round](); } - get [S$2.__radiusY]() { + get [S$3.__radiusY]() { return this.radiusY[$round](); } get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + return new (T$0.PointOfnum()).new(this[S$3.__clientX], this[S$3.__clientY]); } get [S$0.$page]() { - return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + return new (T$0.PointOfnum()).new(this[S$3.__pageX], this[S$3.__pageY]); } get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); } - get [S$2.$radiusX]() { - return this[S$2.__radiusX]; + get [S$3.$radiusX]() { + return this[S$3.__radiusX]; } - get [S$2.$radiusY]() { - return this[S$2.__radiusY]; + get [S$3.$radiusY]() { + return this[S$3.__radiusY]; } }; dart.addTypeTests(html$.Touch); dart.addTypeCaches(html$.Touch); +dart.setStaticMethodSignature(html$.Touch, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Touch, () => ({ __proto__: dart.getGetters(html$.Touch.__proto__), [S$1._clientX]: dart.nullable(core.num), [S$1._clientY]: dart.nullable(core.num), - [S$2.$force]: dart.nullable(core.num), - [S$2.$identifier]: dart.nullable(core.int), + [S$3.$force]: dart.nullable(core.num), + [S$3.$identifier]: dart.nullable(core.int), [S$1._pageX]: dart.nullable(core.num), [S$1._pageY]: dart.nullable(core.num), - [S$2._radiusX]: dart.nullable(core.num), - [S$2._radiusY]: dart.nullable(core.num), + [S$3._radiusX]: dart.nullable(core.num), + [S$3._radiusY]: dart.nullable(core.num), [S$1.$region]: dart.nullable(core.String), - [S$2.$rotationAngle]: dart.nullable(core.num), + [S$3.$rotationAngle]: dart.nullable(core.num), [S$1._screenX]: dart.nullable(core.num), [S$1._screenY]: dart.nullable(core.num), [S.$target]: dart.nullable(html$.EventTarget), [S._get_target]: dart.dynamic, - [S$2.__clientX]: core.int, - [S$2.__clientY]: core.int, - [S$2.__screenX]: core.int, - [S$2.__screenY]: core.int, - [S$2.__pageX]: core.int, - [S$2.__pageY]: core.int, - [S$2.__radiusX]: core.int, - [S$2.__radiusY]: core.int, + [S$3.__clientX]: core.int, + [S$3.__clientY]: core.int, + [S$3.__screenX]: core.int, + [S$3.__screenY]: core.int, + [S$3.__pageX]: core.int, + [S$3.__pageY]: core.int, + [S$3.__radiusX]: core.int, + [S$3.__radiusY]: core.int, [S.$client]: math.Point$(core.num), [S$0.$page]: math.Point$(core.num), [S$1.$screen]: math.Point$(core.num), - [S$2.$radiusX]: core.int, - [S$2.$radiusY]: core.int + [S$3.$radiusX]: core.int, + [S$3.$radiusY]: core.int })); -dart.setLibraryUri(html$.Touch, I[148]); +dart.setLibraryUri(html$.Touch, I[150]); dart.registerExtension("Touch", html$.Touch); html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static ['_#_#tearOff']() { + return html$.TouchEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TouchEvent._create_1(type, eventInitDict_1); } return html$.TouchEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30531, 29, "type"); + return html$.TouchEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TouchEvent(type, eventInitDict); } @@ -95659,7 +104565,7 @@ html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { get [S$1.$altKey]() { return this.altKey; } - get [S$2.$changedTouches]() { + get [S$3.$changedTouches]() { return this.changedTouches; } get [S$1.$ctrlKey]() { @@ -95691,29 +104597,34 @@ html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { }; dart.addTypeTests(html$.TouchEvent); dart.addTypeCaches(html$.TouchEvent); +dart.setStaticMethodSignature(html$.TouchEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TouchEvent, () => ({ __proto__: dart.getGetters(html$.TouchEvent.__proto__), [S$1.$altKey]: dart.nullable(core.bool), - [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$3.$changedTouches]: dart.nullable(html$.TouchList), [S$1.$ctrlKey]: dart.nullable(core.bool), [S$1.$metaKey]: dart.nullable(core.bool), [S$1.$shiftKey]: dart.nullable(core.bool), [S$3.$targetTouches]: dart.nullable(html$.TouchList), [S$3.$touches]: dart.nullable(html$.TouchList) })); -dart.setLibraryUri(html$.TouchEvent, I[148]); +dart.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); +dart.setLibraryUri(html$.TouchEvent, I[150]); dart.registerExtension("TouchEvent", html$.TouchEvent); -const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$7.new = function() { - Interceptor_ListMixin$36$7.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$7.prototype; -dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); -const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; -(Interceptor_ImmutableListMixin$36$7.new = function() { - Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$7.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); -html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { +const JavaScriptObject_ListMixin$36$7 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$7.new = function() { + JavaScriptObject_ListMixin$36$7.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$7.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$7, collection.ListMixin$(html$.Touch)); +const JavaScriptObject_ImmutableListMixin$36$7 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$7 {}; +(JavaScriptObject_ImmutableListMixin$36$7.new = function() { + JavaScriptObject_ImmutableListMixin$36$7.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$7.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); +html$.TouchList = class TouchList extends JavaScriptObject_ImmutableListMixin$36$7 { + static ['_#_#tearOff']() { + return html$.TouchList.__(); + } static get supported() { return !!document.createTouchList; } @@ -95721,20 +104632,20 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 30586, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + if (index == null) dart.nullFailed(I[149], 30592, 25, "index"); html$.Touch.as(value); - if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + if (value == null) dart.nullFailed(I[149], 30592, 38, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + if (value == null) dart.nullFailed(I[149], 30598, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -95765,7 +104676,7 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + if (index == null) dart.nullFailed(I[149], 30626, 23, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -95775,13 +104686,14 @@ html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { html$.TouchList.prototype[dart.isList] = true; dart.addTypeTests(html$.TouchList); dart.addTypeCaches(html$.TouchList); -html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; +html$.TouchList[dart.implements] = () => [core.List$(html$.Touch), _js_helper.JavaScriptIndexingBehavior$(html$.Touch)]; dart.setMethodSignature(html$.TouchList, () => ({ __proto__: dart.getMethods(html$.TouchList.__proto__), [$_get]: dart.fnType(html$.Touch, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) })); +dart.setStaticMethodSignature(html$.TouchList, () => ['__']); dart.setGetterSignature(html$.TouchList, () => ({ __proto__: dart.getGetters(html$.TouchList.__proto__), [$length]: core.int @@ -95790,14 +104702,18 @@ dart.setSetterSignature(html$.TouchList, () => ({ __proto__: dart.getSetters(html$.TouchList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$.TouchList, I[148]); +dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); +dart.setLibraryUri(html$.TouchList, I[150]); dart.registerExtension("TouchList", html$.TouchList); -html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { +html$.TrackDefault = class TrackDefault$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefault.__(); + } static new(type, language, label, kinds, byteStreamTrackID = null) { - if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); - if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); - if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); - if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); if (byteStreamTrackID != null) { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); @@ -95805,6 +104721,13 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { let kinds_1 = html_common.convertDartToNative_StringArray(kinds); return html$.TrackDefault._create_2(type, language, label, kinds_1); } + static ['_#new#tearOff'](type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[149], 30643, 14, "type"); + if (language == null) dart.nullFailed(I[149], 30643, 27, "language"); + if (label == null) dart.nullFailed(I[149], 30643, 44, "label"); + if (kinds == null) dart.nullFailed(I[149], 30643, 64, "kinds"); + return html$.TrackDefault.new(type, language, label, kinds, byteStreamTrackID); + } static _create_1(type, language, label, kinds, byteStreamTrackID) { return new TrackDefault(type, language, label, kinds, byteStreamTrackID); } @@ -95820,7 +104743,7 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S.$type]() { @@ -95829,23 +104752,30 @@ html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.TrackDefault); dart.addTypeCaches(html$.TrackDefault); +dart.setStaticMethodSignature(html$.TrackDefault, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefault, () => ({ __proto__: dart.getGetters(html$.TrackDefault.__proto__), [S$3.$byteStreamTrackID]: dart.nullable(core.String), [S$3.$kinds]: dart.nullable(core.Object), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TrackDefault, I[148]); +dart.setLibraryUri(html$.TrackDefault, I[150]); dart.registerExtension("TrackDefault", html$.TrackDefault); -html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { +html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrackDefaultList.__(); + } static new(trackDefaults = null) { if (trackDefaults != null) { return html$.TrackDefaultList._create_1(trackDefaults); } return html$.TrackDefaultList._create_2(); } + static ['_#new#tearOff'](trackDefaults = null) { + return html$.TrackDefaultList.new(trackDefaults); + } static _create_1(trackDefaults) { return new TrackDefaultList(trackDefaults); } @@ -95865,16 +104795,26 @@ dart.setMethodSignature(html$.TrackDefaultList, () => ({ __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) })); +dart.setStaticMethodSignature(html$.TrackDefaultList, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackDefaultList, () => ({ __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.TrackDefaultList, I[148]); +dart.setLibraryUri(html$.TrackDefaultList, I[150]); dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); html$.TrackElement = class TrackElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.TrackElement.__(); + } static new() { return html$.TrackElement.as(html$.document[S.$createElement]("track")); } + static ['_#new#tearOff']() { + return html$.TrackElement.new(); + } + static ['_#created#tearOff']() { + return new html$.TrackElement.created(); + } static get supported() { return html$.Element.isTagSupported("track"); } @@ -95921,6 +104861,7 @@ html$.TrackElement = class TrackElement extends html$.HtmlElement { }).prototype = html$.TrackElement.prototype; dart.addTypeTests(html$.TrackElement); dart.addTypeCaches(html$.TrackElement); +dart.setStaticMethodSignature(html$.TrackElement, () => ['__', 'new']); dart.setGetterSignature(html$.TrackElement, () => ({ __proto__: dart.getGetters(html$.TrackElement.__proto__), [S$1.$defaultValue]: dart.nullable(core.bool), @@ -95939,7 +104880,9 @@ dart.setSetterSignature(html$.TrackElement, () => ({ [S$.$src]: dart.nullable(core.String), [S$3.$srclang]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TrackElement, I[148]); +dart.setStaticGetterSignature(html$.TrackElement, () => ['supported']); +dart.setLibraryUri(html$.TrackElement, I[150]); +dart.setStaticFieldSignature(html$.TrackElement, () => ['ERROR', 'LOADED', 'LOADING', 'NONE']); dart.defineLazy(html$.TrackElement, { /*html$.TrackElement.ERROR*/get ERROR() { return 3; @@ -95956,14 +104899,21 @@ dart.defineLazy(html$.TrackElement, { }, false); dart.registerExtension("HTMLTrackElement", html$.TrackElement); html$.TrackEvent = class TrackEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TrackEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TrackEvent._create_1(type, eventInitDict_1); } return html$.TrackEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30772, 29, "type"); + return html$.TrackEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TrackEvent(type, eventInitDict); } @@ -95976,21 +104926,29 @@ html$.TrackEvent = class TrackEvent$ extends html$.Event { }; dart.addTypeTests(html$.TrackEvent); dart.addTypeCaches(html$.TrackEvent); +dart.setStaticMethodSignature(html$.TrackEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TrackEvent, () => ({ __proto__: dart.getGetters(html$.TrackEvent.__proto__), [S$1.$track]: dart.nullable(core.Object) })); -dart.setLibraryUri(html$.TrackEvent, I[148]); +dart.setLibraryUri(html$.TrackEvent, I[150]); dart.registerExtension("TrackEvent", html$.TrackEvent); html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.TransitionEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.TransitionEvent._create_1(type, eventInitDict_1); } return html$.TransitionEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 30798, 34, "type"); + return html$.TransitionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new TransitionEvent(type, eventInitDict); } @@ -96009,21 +104967,30 @@ html$.TransitionEvent = class TransitionEvent$ extends html$.Event { }; dart.addTypeTests(html$.TransitionEvent); dart.addTypeCaches(html$.TransitionEvent); +dart.setStaticMethodSignature(html$.TransitionEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.TransitionEvent, () => ({ __proto__: dart.getGetters(html$.TransitionEvent.__proto__), [S$.$elapsedTime]: dart.nullable(core.num), [S$3.$propertyName]: dart.nullable(core.String), [S$3.$pseudoElement]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.TransitionEvent, I[148]); +dart.setLibraryUri(html$.TransitionEvent, I[150]); dart.registerExtension("TransitionEvent", html$.TransitionEvent); dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); -html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { +html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { static new(root, whatToShow) { - if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); - if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); return html$.document[S$1._createTreeWalker](root, whatToShow, null); } + static ['_#new#tearOff'](root, whatToShow) { + if (root == null) dart.nullFailed(I[149], 30823, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[149], 30823, 37, "whatToShow"); + return html$.TreeWalker.new(root, whatToShow); + } + static ['_#_#tearOff']() { + return html$.TreeWalker.__(); + } get [S$3.$currentNode]() { return this.currentNode; } @@ -96048,7 +105015,7 @@ html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { [S.$nextNode](...args) { return this.nextNode.apply(this, args); } - [S$1.$nextSibling](...args) { + [S$2.$nextSibling](...args) { return this.nextSibling.apply(this, args); } [S$.$parentNode](...args) { @@ -96057,7 +105024,7 @@ html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { [S$.$previousNode](...args) { return this.previousNode.apply(this, args); } - [S$1.$previousSibling](...args) { + [S$2.$previousSibling](...args) { return this.previousSibling.apply(this, args); } }; @@ -96068,11 +105035,12 @@ dart.setMethodSignature(html$.TreeWalker, () => ({ [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$2.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), - [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) + [S$2.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) })); +dart.setStaticMethodSignature(html$.TreeWalker, () => ['new', '__']); dart.setGetterSignature(html$.TreeWalker, () => ({ __proto__: dart.getGetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node, @@ -96084,27 +105052,51 @@ dart.setSetterSignature(html$.TreeWalker, () => ({ __proto__: dart.getSetters(html$.TreeWalker.__proto__), [S$3.$currentNode]: html$.Node })); -dart.setLibraryUri(html$.TreeWalker, I[148]); +dart.setLibraryUri(html$.TreeWalker, I[150]); dart.registerExtension("TreeWalker", html$.TreeWalker); -html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; +html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedHtml.__(); + } +}; dart.addTypeTests(html$.TrustedHtml); dart.addTypeCaches(html$.TrustedHtml); -dart.setLibraryUri(html$.TrustedHtml, I[148]); +dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedHtml, I[150]); dart.registerExtension("TrustedHTML", html$.TrustedHtml); -html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; +html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedScriptUrl.__(); + } +}; dart.addTypeTests(html$.TrustedScriptUrl); dart.addTypeCaches(html$.TrustedScriptUrl); -dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); +dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); -html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; +html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.TrustedUrl.__(); + } +}; dart.addTypeTests(html$.TrustedUrl); dart.addTypeCaches(html$.TrustedUrl); -dart.setLibraryUri(html$.TrustedUrl, I[148]); +dart.setStaticMethodSignature(html$.TrustedUrl, () => ['__', 'create', 'unsafelyCreate']); +dart.setLibraryUri(html$.TrustedUrl, I[150]); dart.registerExtension("TrustedURL", html$.TrustedUrl); html$.UListElement = class UListElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UListElement.__(); + } static new() { return html$.document.createElement("ul"); } + static ['_#new#tearOff']() { + return html$.UListElement.new(); + } + static ['_#created#tearOff']() { + return new html$.UListElement.created(); + } }; (html$.UListElement.created = function() { html$.UListElement.__proto__.created.call(this); @@ -96112,9 +105104,13 @@ html$.UListElement = class UListElement extends html$.HtmlElement { }).prototype = html$.UListElement.prototype; dart.addTypeTests(html$.UListElement); dart.addTypeCaches(html$.UListElement); -dart.setLibraryUri(html$.UListElement, I[148]); +dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); +dart.setLibraryUri(html$.UListElement, I[150]); dart.registerExtension("HTMLUListElement", html$.UListElement); -html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { +html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UnderlyingSourceBase.__(); + } [S$.$cancel](reason) { return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); } @@ -96128,7 +105124,7 @@ html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.In return js_util.promiseToFuture(dart.dynamic, this.pull()); } [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); return js_util.promiseToFuture(dart.dynamic, this.start(stream)); } }; @@ -96142,40 +105138,52 @@ dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ [S$3.$pull]: dart.fnType(async.Future, []), [S$.$start]: dart.fnType(async.Future, [core.Object]) })); -dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); +dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); +dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); -html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; +html$.UnknownElement = class UnknownElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$.UnknownElement.__(); + } + static ['_#created#tearOff']() { + return new html$.UnknownElement.created(); + } +}; (html$.UnknownElement.created = function() { html$.UnknownElement.__proto__.created.call(this); ; }).prototype = html$.UnknownElement.prototype; dart.addTypeTests(html$.UnknownElement); dart.addTypeCaches(html$.UnknownElement); -dart.setLibraryUri(html$.UnknownElement, I[148]); +dart.setStaticMethodSignature(html$.UnknownElement, () => ['__']); +dart.setLibraryUri(html$.UnknownElement, I[150]); dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); -html$.Url = class Url extends _interceptors.Interceptor { +html$.Url = class Url extends _interceptors.JavaScriptObject { static createObjectUrl(blob_OR_source_OR_stream) { return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); } static createObjectUrlFromSource(source) { - if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + if (source == null) dart.nullFailed(I[149], 31028, 55, "source"); return (self.URL || self.webkitURL).createObjectURL(source); } static createObjectUrlFromStream(stream) { - if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + if (stream == null) dart.nullFailed(I[149], 31031, 55, "stream"); return (self.URL || self.webkitURL).createObjectURL(stream); } static createObjectUrlFromBlob(blob) { - if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + if (blob == null) dart.nullFailed(I[149], 31034, 46, "blob"); return (self.URL || self.webkitURL).createObjectURL(blob); } static revokeObjectUrl(url) { - if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + if (url == null) dart.nullFailed(I[149], 31037, 38, "url"); return (self.URL || self.webkitURL).revokeObjectURL(url); } [$toString]() { return String(this); } + static ['_#_#tearOff']() { + return html$.Url.__(); + } get [S$.$hash]() { return this.hash; } @@ -96245,6 +105253,7 @@ html$.Url = class Url extends _interceptors.Interceptor { }; dart.addTypeTests(html$.Url); dart.addTypeCaches(html$.Url); +dart.setStaticMethodSignature(html$.Url, () => ['createObjectUrl', 'createObjectUrlFromSource', 'createObjectUrlFromStream', 'createObjectUrlFromBlob', 'revokeObjectUrl', '__']); dart.setGetterSignature(html$.Url, () => ({ __proto__: dart.getGetters(html$.Url.__proto__), [S$.$hash]: dart.nullable(core.String), @@ -96273,15 +105282,21 @@ dart.setSetterSignature(html$.Url, () => ({ [S$.$search]: dart.nullable(core.String), [S$.$username]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Url, I[148]); +dart.setLibraryUri(html$.Url, I[150]); dart.registerExtension("URL", html$.Url); -html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { +html$.UrlSearchParams = class UrlSearchParams extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlSearchParams.__(); + } static new(init = null) { if (init != null) { return html$.UrlSearchParams._create_1(init); } return html$.UrlSearchParams._create_2(); } + static ['_#new#tearOff'](init = null) { + return html$.UrlSearchParams.new(init); + } static _create_1(init) { return new URLSearchParams(init); } @@ -96322,9 +105337,13 @@ dart.setMethodSignature(html$.UrlSearchParams, () => ({ [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), [$sort]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(html$.UrlSearchParams, I[148]); +dart.setStaticMethodSignature(html$.UrlSearchParams, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$.UrlSearchParams, I[150]); dart.registerExtension("URLSearchParams", html$.UrlSearchParams); -html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { +html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.UrlUtilsReadOnly.__(); + } get hash() { return this.hash; } @@ -96355,6 +105374,7 @@ html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Intercepto }; dart.addTypeTests(html$.UrlUtilsReadOnly); dart.addTypeCaches(html$.UrlUtilsReadOnly); +dart.setStaticMethodSignature(html$.UrlUtilsReadOnly, () => ['__']); dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), hash: dart.nullable(core.String), @@ -96376,7 +105396,7 @@ dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ search: dart.nullable(core.String), [S$.$search]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); +dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ 'hash', 'host', @@ -96389,6 +105409,9 @@ dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ 'search' ]); html$.VR = class VR extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VR.__(); + } [S$3.$getDevices]() { return js_util.promiseToFuture(dart.dynamic, this.getDevices()); } @@ -96399,9 +105422,13 @@ dart.setMethodSignature(html$.VR, () => ({ __proto__: dart.getMethods(html$.VR.__proto__), [S$3.$getDevices]: dart.fnType(async.Future, []) })); -dart.setLibraryUri(html$.VR, I[148]); +dart.setStaticMethodSignature(html$.VR, () => ['__']); +dart.setLibraryUri(html$.VR, I[150]); dart.registerExtension("VR", html$.VR); -html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { +html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRCoordinateSystem.__(); + } [S$3.$getTransformTo](...args) { return this.getTransformTo.apply(this, args); } @@ -96412,9 +105439,13 @@ dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) })); -dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); +dart.setStaticMethodSignature(html$.VRCoordinateSystem, () => ['__']); +dart.setLibraryUri(html$.VRCoordinateSystem, I[150]); dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); html$.VRDevice = class VRDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDevice.__(); + } get [S$3.$deviceName]() { return this.deviceName; } @@ -96443,20 +105474,29 @@ dart.setMethodSignature(html$.VRDevice, () => ({ [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.VRDevice, () => ['__']); dart.setGetterSignature(html$.VRDevice, () => ({ __proto__: dart.getGetters(html$.VRDevice.__proto__), [S$3.$deviceName]: dart.nullable(core.String), [S$3.$isExternal]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.VRDevice, I[148]); +dart.setLibraryUri(html$.VRDevice, I[150]); dart.registerExtension("VRDevice", html$.VRDevice); html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDeviceEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDeviceEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31223, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31223, 42, "eventInitDict"); + return html$.VRDeviceEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDeviceEvent(type, eventInitDict); } @@ -96466,13 +105506,17 @@ html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRDeviceEvent); dart.addTypeCaches(html$.VRDeviceEvent); +dart.setStaticMethodSignature(html$.VRDeviceEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRDeviceEvent, () => ({ __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), [S$3.$device]: dart.nullable(html$.VRDevice) })); -dart.setLibraryUri(html$.VRDeviceEvent, I[148]); +dart.setLibraryUri(html$.VRDeviceEvent, I[150]); dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); html$.VRDisplay = class VRDisplay extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRDisplay.__(); + } get [S$3.$capabilities]() { return this.capabilities; } @@ -96519,7 +105563,7 @@ html$.VRDisplay = class VRDisplay extends html$.EventTarget { return this.requestAnimationFrame.apply(this, args); } [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); } [S$3.$submitFrame](...args) { @@ -96539,6 +105583,7 @@ dart.setMethodSignature(html$.VRDisplay, () => ({ [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), [S$3.$submitFrame]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.VRDisplay, () => ['__']); dart.setGetterSignature(html$.VRDisplay, () => ({ __proto__: dart.getGetters(html$.VRDisplay.__proto__), [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), @@ -96554,9 +105599,12 @@ dart.setSetterSignature(html$.VRDisplay, () => ({ [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRDisplay, I[148]); +dart.setLibraryUri(html$.VRDisplay, I[150]); dart.registerExtension("VRDisplay", html$.VRDisplay); -html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { +html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRDisplayCapabilities.__(); + } get [S$3.$canPresent]() { return this.canPresent; } @@ -96572,6 +105620,7 @@ html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors. }; dart.addTypeTests(html$.VRDisplayCapabilities); dart.addTypeCaches(html$.VRDisplayCapabilities); +dart.setStaticMethodSignature(html$.VRDisplayCapabilities, () => ['__']); dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), [S$3.$canPresent]: dart.nullable(core.bool), @@ -96579,17 +105628,24 @@ dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ [S$1.$hasPosition]: dart.nullable(core.bool), [S$3.$maxLayers]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); +dart.setLibraryUri(html$.VRDisplayCapabilities, I[150]); dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRDisplayEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRDisplayEvent._create_1(type, eventInitDict_1); } return html$.VRDisplayEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 31308, 33, "type"); + return html$.VRDisplayEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRDisplayEvent(type, eventInitDict); } @@ -96605,14 +105661,18 @@ html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRDisplayEvent); dart.addTypeCaches(html$.VRDisplayEvent); +dart.setStaticMethodSignature(html$.VRDisplayEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.VRDisplayEvent, () => ({ __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), [S$0.$display]: dart.nullable(html$.VRDisplay), [S$.$reason]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.VRDisplayEvent, I[148]); +dart.setLibraryUri(html$.VRDisplayEvent, I[150]); dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); -html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { +html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VREyeParameters.__(); + } get [S.$offset]() { return this.offset; } @@ -96625,18 +105685,25 @@ html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor }; dart.addTypeTests(html$.VREyeParameters); dart.addTypeCaches(html$.VREyeParameters); +dart.setStaticMethodSignature(html$.VREyeParameters, () => ['__']); dart.setGetterSignature(html$.VREyeParameters, () => ({ __proto__: dart.getGetters(html$.VREyeParameters.__proto__), [S.$offset]: dart.nullable(typed_data.Float32List), [S$3.$renderHeight]: dart.nullable(core.int), [S$3.$renderWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VREyeParameters, I[148]); +dart.setLibraryUri(html$.VREyeParameters, I[150]); dart.registerExtension("VREyeParameters", html$.VREyeParameters); -html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { +html$.VRFrameData = class VRFrameData$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRFrameData.__(); + } static new() { return html$.VRFrameData._create_1(); } + static ['_#new#tearOff']() { + return html$.VRFrameData.new(); + } static _create_1() { return new VRFrameData(); } @@ -96658,6 +105725,7 @@ html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VRFrameData); dart.addTypeCaches(html$.VRFrameData); +dart.setStaticMethodSignature(html$.VRFrameData, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRFrameData, () => ({ __proto__: dart.getGetters(html$.VRFrameData.__proto__), [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), @@ -96666,9 +105734,12 @@ dart.setGetterSignature(html$.VRFrameData, () => ({ [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.VRFrameData, I[148]); +dart.setLibraryUri(html$.VRFrameData, I[150]); dart.registerExtension("VRFrameData", html$.VRFrameData); html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + static ['_#_#tearOff']() { + return html$.VRFrameOfReference.__(); + } get [S$3.$bounds]() { return this.bounds; } @@ -96678,14 +105749,18 @@ html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSy }; dart.addTypeTests(html$.VRFrameOfReference); dart.addTypeCaches(html$.VRFrameOfReference); +dart.setStaticMethodSignature(html$.VRFrameOfReference, () => ['__']); dart.setGetterSignature(html$.VRFrameOfReference, () => ({ __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), [S$3.$bounds]: dart.nullable(html$.VRStageBounds), [S$3.$emulatedHeight]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRFrameOfReference, I[148]); +dart.setLibraryUri(html$.VRFrameOfReference, I[150]); dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); -html$.VRPose = class VRPose extends _interceptors.Interceptor { +html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRPose.__(); + } get [S$1.$angularAcceleration]() { return this.angularAcceleration; } @@ -96707,6 +105782,7 @@ html$.VRPose = class VRPose extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VRPose); dart.addTypeCaches(html$.VRPose); +dart.setStaticMethodSignature(html$.VRPose, () => ['__']); dart.setGetterSignature(html$.VRPose, () => ({ __proto__: dart.getGetters(html$.VRPose.__proto__), [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), @@ -96716,9 +105792,12 @@ dart.setGetterSignature(html$.VRPose, () => ({ [S$.$orientation]: dart.nullable(typed_data.Float32List), [S$0.$position]: dart.nullable(typed_data.Float32List) })); -dart.setLibraryUri(html$.VRPose, I[148]); +dart.setLibraryUri(html$.VRPose, I[150]); dart.registerExtension("VRPose", html$.VRPose); html$.VRSession = class VRSession extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VRSession.__(); + } get [S$3.$depthFar]() { return this.depthFar; } @@ -96737,11 +105816,11 @@ html$.VRSession = class VRSession extends html$.EventTarget { get [S$3.$exclusive]() { return this.exclusive; } - [S$2.$end]() { + [S$3.$end]() { return js_util.promiseToFuture(dart.dynamic, this.end()); } [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); let options_dict = null; if (options != null) { options_dict = html_common.convertDartToNative_Dictionary(options); @@ -96759,9 +105838,10 @@ dart.addTypeTests(html$.VRSession); dart.addTypeCaches(html$.VRSession); dart.setMethodSignature(html$.VRSession, () => ({ __proto__: dart.getMethods(html$.VRSession.__proto__), - [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$end]: dart.fnType(async.Future, []), [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) })); +dart.setStaticMethodSignature(html$.VRSession, () => ['__']); dart.setGetterSignature(html$.VRSession, () => ({ __proto__: dart.getGetters(html$.VRSession.__proto__), [S$3.$depthFar]: dart.nullable(core.num), @@ -96776,23 +105856,32 @@ dart.setSetterSignature(html$.VRSession, () => ({ [S$3.$depthFar]: dart.nullable(core.num), [S$3.$depthNear]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRSession, I[148]); +dart.setLibraryUri(html$.VRSession, I[150]); +dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); dart.defineLazy(html$.VRSession, { /*html$.VRSession.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*html$.VRSession.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; } }, false); dart.registerExtension("VRSession", html$.VRSession); html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return html$.VRSessionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.VRSessionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 31460, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 31460, 43, "eventInitDict"); + return html$.VRSessionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new VRSessionEvent(type, eventInitDict); } @@ -96802,26 +105891,34 @@ html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { }; dart.addTypeTests(html$.VRSessionEvent); dart.addTypeCaches(html$.VRSessionEvent); +dart.setStaticMethodSignature(html$.VRSessionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VRSessionEvent, () => ({ __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), [S$3.$session]: dart.nullable(html$.VRSession) })); -dart.setLibraryUri(html$.VRSessionEvent, I[148]); +dart.setLibraryUri(html$.VRSessionEvent, I[150]); dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); -html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { +html$.VRStageBounds = class VRStageBounds extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBounds.__(); + } get [S$3.$geometry]() { return this.geometry; } }; dart.addTypeTests(html$.VRStageBounds); dart.addTypeCaches(html$.VRStageBounds); +dart.setStaticMethodSignature(html$.VRStageBounds, () => ['__']); dart.setGetterSignature(html$.VRStageBounds, () => ({ __proto__: dart.getGetters(html$.VRStageBounds.__proto__), [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) })); -dart.setLibraryUri(html$.VRStageBounds, I[148]); +dart.setLibraryUri(html$.VRStageBounds, I[150]); dart.registerExtension("VRStageBounds", html$.VRStageBounds); -html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { +html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageBoundsPoint.__(); + } get [S$.$x]() { return this.x; } @@ -96831,14 +105928,18 @@ html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interc }; dart.addTypeTests(html$.VRStageBoundsPoint); dart.addTypeCaches(html$.VRStageBoundsPoint); +dart.setStaticMethodSignature(html$.VRStageBoundsPoint, () => ['__']); dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), [S$.$x]: dart.nullable(core.num), [S$.$z]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); +dart.setLibraryUri(html$.VRStageBoundsPoint, I[150]); dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); -html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { +html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VRStageParameters.__(); + } get [S$3.$sittingToStandingTransform]() { return this.sittingToStandingTransform; } @@ -96851,15 +105952,19 @@ html$.VRStageParameters = class VRStageParameters extends _interceptors.Intercep }; dart.addTypeTests(html$.VRStageParameters); dart.addTypeCaches(html$.VRStageParameters); +dart.setStaticMethodSignature(html$.VRStageParameters, () => ['__']); dart.setGetterSignature(html$.VRStageParameters, () => ({ __proto__: dart.getGetters(html$.VRStageParameters.__proto__), [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), [S$3.$sizeX]: dart.nullable(core.num), [S$3.$sizeZ]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VRStageParameters, I[148]); +dart.setLibraryUri(html$.VRStageParameters, I[150]); dart.registerExtension("VRStageParameters", html$.VRStageParameters); -html$.ValidityState = class ValidityState extends _interceptors.Interceptor { +html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.ValidityState.__(); + } get [S$3.$badInput]() { return this.badInput; } @@ -96896,6 +106001,7 @@ html$.ValidityState = class ValidityState extends _interceptors.Interceptor { }; dart.addTypeTests(html$.ValidityState); dart.addTypeCaches(html$.ValidityState); +dart.setStaticMethodSignature(html$.ValidityState, () => ['__']); dart.setGetterSignature(html$.ValidityState, () => ({ __proto__: dart.getGetters(html$.ValidityState.__proto__), [S$3.$badInput]: dart.nullable(core.bool), @@ -96910,12 +106016,21 @@ dart.setGetterSignature(html$.ValidityState, () => ({ [S$3.$valid]: dart.nullable(core.bool), [S$3.$valueMissing]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.ValidityState, I[148]); +dart.setLibraryUri(html$.ValidityState, I[150]); dart.registerExtension("ValidityState", html$.ValidityState); html$.VideoElement = class VideoElement extends html$.MediaElement { + static ['_#_#tearOff']() { + return html$.VideoElement.__(); + } static new() { return html$.document.createElement("video"); } + static ['_#new#tearOff']() { + return html$.VideoElement.new(); + } + static ['_#created#tearOff']() { + return new html$.VideoElement.created(); + } get [$height]() { return this.height; } @@ -96969,6 +106084,7 @@ dart.setMethodSignature(html$.VideoElement, () => ({ [S$3.$enterFullscreen]: dart.fnType(dart.void, []), [S$1.$exitFullscreen]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.VideoElement, () => ['__', 'new']); dart.setGetterSignature(html$.VideoElement, () => ({ __proto__: dart.getGetters(html$.VideoElement.__proto__), [$height]: core.int, @@ -96985,9 +106101,12 @@ dart.setSetterSignature(html$.VideoElement, () => ({ [S$3.$poster]: core.String, [$width]: core.int })); -dart.setLibraryUri(html$.VideoElement, I[148]); +dart.setLibraryUri(html$.VideoElement, I[150]); dart.registerExtension("HTMLVideoElement", html$.VideoElement); -html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { +html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoPlaybackQuality.__(); + } get [S$3.$corruptedVideoFrames]() { return this.corruptedVideoFrames; } @@ -97003,6 +106122,7 @@ html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.In }; dart.addTypeTests(html$.VideoPlaybackQuality); dart.addTypeCaches(html$.VideoPlaybackQuality); +dart.setStaticMethodSignature(html$.VideoPlaybackQuality, () => ['__']); dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), [S$3.$corruptedVideoFrames]: dart.nullable(core.int), @@ -97010,9 +106130,12 @@ dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ [S$3.$droppedVideoFrames]: dart.nullable(core.int), [S$3.$totalVideoFrames]: dart.nullable(core.int) })); -dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); +dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); -html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { +html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VideoTrack.__(); + } get [S.$id]() { return this.id; } @@ -97022,7 +106145,7 @@ html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$.$selected]() { @@ -97037,12 +106160,13 @@ html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VideoTrack); dart.addTypeCaches(html$.VideoTrack); +dart.setStaticMethodSignature(html$.VideoTrack, () => ['__']); dart.setGetterSignature(html$.VideoTrack, () => ({ __proto__: dart.getGetters(html$.VideoTrack.__proto__), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$.$selected]: dart.nullable(core.bool), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); @@ -97050,9 +106174,12 @@ dart.setSetterSignature(html$.VideoTrack, () => ({ __proto__: dart.getSetters(html$.VideoTrack.__proto__), [S$.$selected]: dart.nullable(core.bool) })); -dart.setLibraryUri(html$.VideoTrack, I[148]); +dart.setLibraryUri(html$.VideoTrack, I[150]); dart.registerExtension("VideoTrack", html$.VideoTrack); html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VideoTrackList.__(); + } get [$length]() { return this.length; } @@ -97076,20 +106203,25 @@ dart.setMethodSignature(html$.VideoTrackList, () => ({ [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) })); +dart.setStaticMethodSignature(html$.VideoTrackList, () => ['__']); dart.setGetterSignature(html$.VideoTrackList, () => ({ __proto__: dart.getGetters(html$.VideoTrackList.__proto__), [$length]: dart.nullable(core.int), [S$2.$selectedIndex]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.VideoTrackList, I[148]); +dart.setLibraryUri(html$.VideoTrackList, I[150]); +dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); dart.defineLazy(html$.VideoTrackList, { /*html$.VideoTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("VideoTrackList", html$.VideoTrackList); html$.VisualViewport = class VisualViewport extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.VisualViewport.__(); + } get [$height]() { return this.height; } @@ -97111,15 +106243,16 @@ html$.VisualViewport = class VisualViewport extends html$.EventTarget { get [$width]() { return this.width; } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.VisualViewport.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.VisualViewport.scrollEvent.forTarget(this); } }; dart.addTypeTests(html$.VisualViewport); dart.addTypeCaches(html$.VisualViewport); +dart.setStaticMethodSignature(html$.VisualViewport, () => ['__']); dart.setGetterSignature(html$.VisualViewport, () => ({ __proto__: dart.getGetters(html$.VisualViewport.__proto__), [$height]: dart.nullable(core.num), @@ -97129,26 +106262,36 @@ dart.setGetterSignature(html$.VisualViewport, () => ({ [S$3.$pageTop]: dart.nullable(core.num), [S$.$scale]: dart.nullable(core.num), [$width]: dart.nullable(core.num), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event) + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.VisualViewport, I[148]); +dart.setLibraryUri(html$.VisualViewport, I[150]); +dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); dart.defineLazy(html$.VisualViewport, { /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; } }, false); dart.registerExtension("VisualViewport", html$.VisualViewport); html$.VttCue = class VttCue extends html$.TextTrackCue { + static ['_#_#tearOff']() { + return html$.VttCue.__(); + } static new(startTime, endTime, text) { - if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); - if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); - if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); return html$.VttCue._create_1(startTime, endTime, text); } + static ['_#new#tearOff'](startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[149], 31729, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[149], 31729, 37, "endTime"); + if (text == null) dart.nullFailed(I[149], 31729, 53, "text"); + return html$.VttCue.new(startTime, endTime, text); + } static _create_1(startTime, endTime, text) { return new VTTCue(startTime, endTime, text); } @@ -97210,6 +106353,7 @@ dart.setMethodSignature(html$.VttCue, () => ({ __proto__: dart.getMethods(html$.VttCue.__proto__), [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) })); +dart.setStaticMethodSignature(html$.VttCue, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttCue, () => ({ __proto__: dart.getGetters(html$.VttCue.__proto__), [S$3.$align]: dart.nullable(core.String), @@ -97232,12 +106376,18 @@ dart.setSetterSignature(html$.VttCue, () => ({ [S.$text]: dart.nullable(core.String), [S$3.$vertical]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.VttCue, I[148]); +dart.setLibraryUri(html$.VttCue, I[150]); dart.registerExtension("VTTCue", html$.VttCue); -html$.VttRegion = class VttRegion extends _interceptors.Interceptor { +html$.VttRegion = class VttRegion extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.VttRegion.__(); + } static new() { return html$.VttRegion._create_1(); } + static ['_#new#tearOff']() { + return html$.VttRegion.new(); + } static _create_1() { return new VTTRegion(); } @@ -97292,6 +106442,7 @@ html$.VttRegion = class VttRegion extends _interceptors.Interceptor { }; dart.addTypeTests(html$.VttRegion); dart.addTypeCaches(html$.VttRegion); +dart.setStaticMethodSignature(html$.VttRegion, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.VttRegion, () => ({ __proto__: dart.getGetters(html$.VttRegion.__proto__), [S.$id]: dart.nullable(core.String), @@ -97314,16 +106465,23 @@ dart.setSetterSignature(html$.VttRegion, () => ({ [S$3.$viewportAnchorY]: dart.nullable(core.num), [$width]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.VttRegion, I[148]); +dart.setLibraryUri(html$.VttRegion, I[150]); dart.registerExtension("VTTRegion", html$.VttRegion); html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WebSocket.__(); + } static new(url, protocols = null) { - if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); if (protocols != null) { return html$.WebSocket._create_1(url, protocols); } return html$.WebSocket._create_2(url); } + static ['_#new#tearOff'](url, protocols = null) { + if (url == null) dart.nullFailed(I[149], 31908, 28, "url"); + return html$.WebSocket.new(url, protocols); + } static _create_1(url, protocols) { return new WebSocket(url, protocols); } @@ -97396,6 +106554,7 @@ dart.setMethodSignature(html$.WebSocket, () => ({ [S$2.$sendString]: dart.fnType(dart.void, [core.String]), [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) })); +dart.setStaticMethodSignature(html$.WebSocket, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$.WebSocket, () => ({ __proto__: dart.getGetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String), @@ -97413,19 +106572,21 @@ dart.setSetterSignature(html$.WebSocket, () => ({ __proto__: dart.getSetters(html$.WebSocket.__proto__), [S$2.$binaryType]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WebSocket, I[148]); +dart.setStaticGetterSignature(html$.WebSocket, () => ['supported']); +dart.setLibraryUri(html$.WebSocket, I[150]); +dart.setStaticFieldSignature(html$.WebSocket, () => ['closeEvent', 'errorEvent', 'messageEvent', 'openEvent', 'CLOSED', 'CLOSING', 'CONNECTING', 'OPEN']); dart.defineLazy(html$.WebSocket, { /*html$.WebSocket.closeEvent*/get closeEvent() { - return C[387] || CT.C387; + return C[398] || CT.C398; }, /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WebSocket.openEvent*/get openEvent() { - return C[330] || CT.C330; + return C[340] || CT.C340; }, /*html$.WebSocket.CLOSED*/get CLOSED() { return 3; @@ -97443,40 +106604,40 @@ dart.defineLazy(html$.WebSocket, { dart.registerExtension("WebSocket", html$.WebSocket); html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); let view = opts && 'view' in opts ? opts.view : null; let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; - if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; - if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; - if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; - if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); let detail = opts && 'detail' in opts ? opts.detail : 0; - if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); let screenX = opts && 'screenX' in opts ? opts.screenX : 0; - if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); let screenY = opts && 'screenY' in opts ? opts.screenY : 0; - if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); let clientX = opts && 'clientX' in opts ? opts.clientX : 0; - if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); let clientY = opts && 'clientY' in opts ? opts.clientY : 0; - if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); let button = opts && 'button' in opts ? opts.button : 0; - if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); if (view == null) { @@ -97484,14 +106645,56 @@ html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { } return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 32013, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[149], 32015, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[149], 32016, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[149], 32017, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[149], 32018, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[149], 32019, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[149], 32020, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[149], 32021, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[149], 32022, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[149], 32023, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[149], 32024, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 32025, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 32026, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 32027, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 32028, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 32029, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 32030, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + return html$.WheelEvent.new(type, {view: view, deltaX: deltaX, deltaY: deltaY, deltaZ: deltaZ, deltaMode: deltaMode, detail: detail, screenX: screenX, screenY: screenY, clientX: clientX, clientY: clientY, button: button, canBubble: canBubble, cancelable: cancelable, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, relatedTarget: relatedTarget}); + } static __(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$.WheelEvent._create_1(type, eventInitDict_1); } return html$.WheelEvent._create_2(type); } + static ['_#_#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 32061, 31, "type"); + return html$.WheelEvent.__(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new WheelEvent(type, eventInitDict); } @@ -97552,6 +106755,7 @@ dart.setMethodSignature(html$.WheelEvent, () => ({ [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) })); +dart.setStaticMethodSignature(html$.WheelEvent, () => ['new', '__', '_create_1', '_create_2']); dart.setGetterSignature(html$.WheelEvent, () => ({ __proto__: dart.getGetters(html$.WheelEvent.__proto__), [S$3._deltaX]: dart.nullable(core.num), @@ -97566,7 +106770,8 @@ dart.setGetterSignature(html$.WheelEvent, () => ({ [S$3._hasInitMouseScrollEvent]: core.bool, [S$3._hasInitWheelEvent]: core.bool })); -dart.setLibraryUri(html$.WheelEvent, I[148]); +dart.setLibraryUri(html$.WheelEvent, I[150]); +dart.setStaticFieldSignature(html$.WheelEvent, () => ['DOM_DELTA_LINE', 'DOM_DELTA_PAGE', 'DOM_DELTA_PIXEL']); dart.defineLazy(html$.WheelEvent, { /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { return 1; @@ -97583,7 +106788,7 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$animationFrame]() { let completer = T$0.CompleterOfnum().sync(); this[S$3.$requestAnimationFrame](dart.fn(time => { - if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + if (time == null) dart.nullFailed(I[149], 32233, 28, "time"); completer.complete(time); }, T$0.numTovoid())); return completer.future; @@ -97598,8 +106803,8 @@ html$.Window = class Window extends html$.EventTarget { return this.open(url, name, options); } [S.$open](url, name, options = null) { - if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); - if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (url == null) dart.nullFailed(I[149], 32264, 26, "url"); + if (name == null) dart.nullFailed(I[149], 32264, 38, "name"); if (options == null) { return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); } else { @@ -97610,7 +106815,7 @@ html$.Window = class Window extends html$.EventTarget { return html$.Location.as(this[S$3._location]); } set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); this[S$3._location] = value; } get [S$3._location]() { @@ -97620,12 +106825,12 @@ html$.Window = class Window extends html$.EventTarget { this.location = value; } [S$3.$requestAnimationFrame](callback) { - if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + if (callback == null) dart.nullFailed(I[149], 32313, 50, "callback"); this[S$3._ensureRequestAnimationFrame](); return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); } [S$3.$cancelAnimationFrame](id) { - if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + if (id == null) dart.nullFailed(I[149], 32326, 33, "id"); this[S$3._ensureRequestAnimationFrame](); this[S$3._cancelAnimationFrame](id); } @@ -97661,14 +106866,17 @@ html$.Window = class Window extends html$.EventTarget { return html$.Console._safeConsole; } [S$3.$requestFileSystem](size, opts) { - if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + if (size == null) dart.nullFailed(I[149], 32394, 44, "size"); let persistent = opts && 'persistent' in opts ? opts.persistent : false; - if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + if (persistent == null) dart.nullFailed(I[149], 32394, 56, "persistent"); return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); } static get supportsPointConversions() { return html$.DomPoint.supported; } + static ['_#_#tearOff']() { + return html$.Window.__(); + } get [S$3.$animationWorklet]() { return this.animationWorklet; } @@ -97834,10 +107042,10 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$visualViewport]() { return this.visualViewport; } - get [S$0.$window]() { - return html$._convertNativeToDart_Window(this[S$0._get_window]); + get [S$1.$window]() { + return html$._convertNativeToDart_Window(this[S$1._get_window]); } - get [S$0._get_window]() { + get [S$1._get_window]() { return this.window; } [S$.__getter__](index_OR_name) { @@ -97895,14 +107103,11 @@ html$.Window = class Window extends html$.EventTarget { [S$3.$moveBy](...args) { return this.moveBy.apply(this, args); } - [S$0._moveTo](...args) { + [S$1._moveTo](...args) { return this.moveTo.apply(this, args); } - [S$3._openDatabase](...args) { - return this.openDatabase.apply(this, args); - } [S$.$postMessage](message, targetOrigin, transfer = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 33158, 44, "targetOrigin"); if (transfer != null) { let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); this[S$0._postMessage_1](message_1, targetOrigin, transfer); @@ -97922,7 +107127,7 @@ html$.Window = class Window extends html$.EventTarget { return this.print.apply(this, args); } [S$3.$requestIdleCallback](callback, options = null) { - if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (callback == null) dart.nullFailed(I[149], 33185, 47, "callback"); if (options != null) { let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); let options_2 = html_common.convertDartToNative_Dictionary(options); @@ -98070,16 +107275,21 @@ html$.Window = class Window extends html$.EventTarget { return this.webkitRequestFileSystem.apply(this, args); } [S$3._requestFileSystem](type, size) { - if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); - if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + if (type == null) dart.nullFailed(I[149], 33518, 45, "type"); + if (size == null) dart.nullFailed(I[149], 33518, 55, "size"); let completer = T$0.CompleterOfFileSystem().new(); this[S$3.__requestFileSystem](type, size, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33520, 38, "value"); _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("WebKitFileSystem", value); + _js_helper.applyExtension("webkitFileSystem", value); + _js_helper.applyExtension("FileSystem", value); _js_helper.applyExtension("DirectoryEntry", value.root); + _js_helper.applyExtension("webkitFileSystemDirectoryEntry", value.root); + _js_helper.applyExtension("FileSystemDirectoryEntry", value.root); completer.complete(value); }, T$0.FileSystemTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33529, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98088,13 +107298,13 @@ html$.Window = class Window extends html$.EventTarget { return this.webkitResolveLocalFileSystemURL.apply(this, args); } [S$3.$resolveLocalFileSystemUrl](url) { - if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + if (url == null) dart.nullFailed(I[149], 33560, 50, "url"); let completer = T$0.CompleterOfEntry().new(); this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { - if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + if (value == null) dart.nullFailed(I[149], 33562, 38, "value"); completer.complete(value); }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); completer.completeError(error); }, T$0.DomExceptionTovoid())); return completer.future; @@ -98228,25 +107438,25 @@ html$.Window = class Window extends html$.EventTarget { get [S.$onMouseDown]() { return html$.Element.mouseDownEvent.forTarget(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return html$.Element.mouseEnterEvent.forTarget(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return html$.Element.mouseLeaveEvent.forTarget(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return html$.Element.mouseMoveEvent.forTarget(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return html$.Element.mouseOutEvent.forTarget(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return html$.Element.mouseOverEvent.forTarget(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return html$.Element.mouseUpEvent.forTarget(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return html$.Element.mouseWheelEvent.forTarget(this); } get [S$.$onOffline]() { @@ -98261,13 +107471,13 @@ html$.Window = class Window extends html$.EventTarget { get [S$3.$onPageShow]() { return html$.Window.pageShowEvent.forTarget(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return html$.Element.pauseEvent.forTarget(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return html$.Element.playEvent.forTarget(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return html$.Element.playingEvent.forTarget(this); } get [S$.$onPopState]() { @@ -98276,37 +107486,37 @@ html$.Window = class Window extends html$.EventTarget { get [S$.$onProgress]() { return html$.Window.progressEvent.forTarget(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return html$.Element.rateChangeEvent.forTarget(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return html$.Element.resetEvent.forTarget(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return html$.Element.resizeEvent.forTarget(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return html$.Element.scrollEvent.forTarget(this); } - get [S.$onSearch]() { + get [S$.$onSearch]() { return html$.Element.searchEvent.forTarget(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return html$.Element.seekedEvent.forTarget(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return html$.Element.seekingEvent.forTarget(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return html$.Element.selectEvent.forTarget(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return html$.Element.stalledEvent.forTarget(this); } get [S$.$onStorage]() { return html$.Window.storageEvent.forTarget(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return html$.Element.submitEvent.forTarget(this); } get [S$.$onSuspend]() { @@ -98355,21 +107565,8 @@ html$.Window = class Window extends html$.EventTarget { return html$.Element.wheelEvent.forTarget(this); } [S$.$moveTo](p) { - if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); - this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); - } - [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { - if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); - if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); - if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); - if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); - let db = null; - if (creationCallback == null) - db = this[S$3._openDatabase](name, version, displayName, estimatedSize); - else - db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); - _js_helper.applyExtension("Database", db); - return web_sql.SqlDatabase.as(db); + if (p == null) dart.nullFailed(I[149], 33846, 21, "p"); + this[S$1._moveTo](p.x[$toInt](), p.y[$toInt]()); } get [S$3.$pageXOffset]() { return this.pageXOffset[$round](); @@ -98386,7 +107583,7 @@ html$.Window = class Window extends html$.EventTarget { }; dart.addTypeTests(html$.Window); dart.addTypeCaches(html$.Window); -html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; +html$.Window[dart.implements] = () => [html$.GlobalEventHandlers, html$.WindowBase64, html$.WindowEventHandlers, html$._WindowTimers, html$.WindowBase]; dart.setMethodSignature(html$.Window, () => ({ __proto__: dart.getMethods(html$.Window.__proto__), [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), @@ -98413,8 +107610,7 @@ dart.setMethodSignature(html$.Window, () => ({ [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), - [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$1._moveTo]: dart.fnType(dart.void, [core.int, core.int]), [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), @@ -98455,9 +107651,9 @@ dart.setMethodSignature(html$.Window, () => ({ [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), - [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), - [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]) })); +dart.setStaticMethodSignature(html$.Window, () => ['__']); dart.setGetterSignature(html$.Window, () => ({ __proto__: dart.getGetters(html$.Window.__proto__), [S$3.$animationFrame]: async.Future$(core.num), @@ -98516,8 +107712,8 @@ dart.setGetterSignature(html$.Window, () => ({ [$top]: dart.nullable(html$.WindowBase), [S$3._get_top]: dart.dynamic, [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [S$0.$window]: dart.nullable(html$.WindowBase), - [S$0._get_window]: dart.dynamic, + [S$1.$window]: dart.nullable(html$.WindowBase), + [S$1._get_window]: dart.dynamic, [S$3.$onContentLoaded]: async.Stream$(html$.Event), [S.$onAbort]: async.Stream$(html$.Event), [S.$onBlur]: async.Stream$(html$.Event), @@ -98553,33 +107749,33 @@ dart.setGetterSignature(html$.Window, () => ({ [S$1.$onLoadStart]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent), [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), - [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), - [S.$onMouseMove]: async.Stream$(html$.MouseEvent), - [S.$onMouseOut]: async.Stream$(html$.MouseEvent), - [S.$onMouseOver]: async.Stream$(html$.MouseEvent), - [S.$onMouseUp]: async.Stream$(html$.MouseEvent), - [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), [S$.$onOffline]: async.Stream$(html$.Event), [S$.$onOnline]: async.Stream$(html$.Event), [S$3.$onPageHide]: async.Stream$(html$.Event), [S$3.$onPageShow]: async.Stream$(html$.Event), - [S.$onPause]: async.Stream$(html$.Event), - [S.$onPlay]: async.Stream$(html$.Event), - [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPause]: async.Stream$(html$.Event), + [S$.$onPlay]: async.Stream$(html$.Event), + [S$.$onPlaying]: async.Stream$(html$.Event), [S$.$onPopState]: async.Stream$(html$.PopStateEvent), [S$.$onProgress]: async.Stream$(html$.Event), - [S.$onRateChange]: async.Stream$(html$.Event), - [S.$onReset]: async.Stream$(html$.Event), - [S.$onResize]: async.Stream$(html$.Event), - [S.$onScroll]: async.Stream$(html$.Event), - [S.$onSearch]: async.Stream$(html$.Event), - [S.$onSeeked]: async.Stream$(html$.Event), - [S.$onSeeking]: async.Stream$(html$.Event), - [S.$onSelect]: async.Stream$(html$.Event), - [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onRateChange]: async.Stream$(html$.Event), + [S$.$onReset]: async.Stream$(html$.Event), + [S$.$onResize]: async.Stream$(html$.Event), + [S$.$onScroll]: async.Stream$(html$.Event), + [S$.$onSearch]: async.Stream$(html$.Event), + [S$.$onSeeked]: async.Stream$(html$.Event), + [S$.$onSeeking]: async.Stream$(html$.Event), + [S$.$onSelect]: async.Stream$(html$.Event), + [S$.$onStalled]: async.Stream$(html$.Event), [S$.$onStorage]: async.Stream$(html$.StorageEvent), - [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSubmit]: async.Stream$(html$.Event), [S$.$onSuspend]: async.Stream$(html$.Event), [S$.$onTimeUpdate]: async.Stream$(html$.Event), [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), @@ -98610,58 +107806,60 @@ dart.setSetterSignature(html$.Window, () => ({ [S$3.$opener]: dart.nullable(html$.WindowBase), [S$.$status]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.Window, I[148]); +dart.setStaticGetterSignature(html$.Window, () => ['supportsPointConversions']); +dart.setLibraryUri(html$.Window, I[150]); +dart.setStaticFieldSignature(html$.Window, () => ['contentLoadedEvent', 'deviceMotionEvent', 'deviceOrientationEvent', 'hashChangeEvent', 'loadStartEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'pageHideEvent', 'pageShowEvent', 'popStateEvent', 'progressEvent', 'storageEvent', 'unloadEvent', 'animationEndEvent', 'animationIterationEvent', 'animationStartEvent', 'PERSISTENT', 'TEMPORARY', 'beforeUnloadEvent']); dart.defineLazy(html$.Window, { /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { - return C[388] || CT.C388; + return C[399] || CT.C399; }, /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[389] || CT.C389; + return C[400] || CT.C400; }, /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[390] || CT.C390; + return C[401] || CT.C401; }, /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[391] || CT.C391; + return C[402] || CT.C402; }, /*html$.Window.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.Window.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.Window.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[392] || CT.C392; + return C[403] || CT.C403; }, /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[393] || CT.C393; + return C[404] || CT.C404; }, /*html$.Window.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.Window.progressEvent*/get progressEvent() { - return C[394] || CT.C394; + return C[405] || CT.C405; }, /*html$.Window.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.Window.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; }, /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[395] || CT.C395; + return C[406] || CT.C406; }, /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[396] || CT.C396; + return C[407] || CT.C407; }, /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[397] || CT.C397; + return C[408] || CT.C408; }, /*html$.Window.PERSISTENT*/get PERSISTENT() { return 1; @@ -98670,254 +107868,24 @@ dart.defineLazy(html$.Window, { return 0; }, /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[398] || CT.C398; + return C[409] || CT.C409; } }, false); dart.registerExtension("Window", html$.Window); dart.registerExtension("DOMWindow", html$.Window); -html$._WrappedEvent = class _WrappedEvent extends core.Object { - get wrapped() { - return this[S$3.wrapped]; - } - set wrapped(value) { - super.wrapped = value; - } - get bubbles() { - return dart.nullCheck(this.wrapped.bubbles); - } - get cancelable() { - return dart.nullCheck(this.wrapped.cancelable); - } - get composed() { - return dart.nullCheck(this.wrapped.composed); - } - get currentTarget() { - return this.wrapped[S.$currentTarget]; - } - get defaultPrevented() { - return this.wrapped.defaultPrevented; - } - get eventPhase() { - return this.wrapped.eventPhase; - } - get isTrusted() { - return dart.nullCheck(this.wrapped.isTrusted); - } - get target() { - return this.wrapped[S.$target]; - } - get timeStamp() { - return dart.nullCast(this.wrapped.timeStamp, core.double); - } - get type() { - return this.wrapped.type; - } - [S._initEvent](type, bubbles = null, cancelable = null) { - if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); - dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); - } - preventDefault() { - this.wrapped.preventDefault(); - } - stopImmediatePropagation() { - this.wrapped.stopImmediatePropagation(); - } - stopPropagation() { - this.wrapped.stopPropagation(); - } - composedPath() { - return this.wrapped.composedPath(); - } - get matchingTarget() { - if (this[S._selector] == null) { - dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); - } - let currentTarget = T$0.ElementN().as(this.currentTarget); - let target = T$0.ElementN().as(this.target); - do { - if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; - target = target[S.$parent]; - } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); - dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); - } - get path() { - return T$0.ListOfNode().as(this.wrapped[S.$path]); - } - get [S._get_currentTarget]() { - return this.wrapped[S._get_currentTarget]; - } - get [S._get_target]() { - return this.wrapped[S._get_target]; +html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WindowBase64.__(); } }; -(html$._WrappedEvent.new = function(wrapped) { - if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); - this[S._selector] = null; - this[S$3.wrapped] = wrapped; - ; -}).prototype = html$._WrappedEvent.prototype; -dart.addTypeTests(html$._WrappedEvent); -dart.addTypeCaches(html$._WrappedEvent); -html$._WrappedEvent[dart.implements] = () => [html$.Event]; -dart.setMethodSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getMethods(html$._WrappedEvent.__proto__), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - preventDefault: dart.fnType(dart.void, []), - [S.$preventDefault]: dart.fnType(dart.void, []), - stopImmediatePropagation: dart.fnType(dart.void, []), - [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), - stopPropagation: dart.fnType(dart.void, []), - [S.$stopPropagation]: dart.fnType(dart.void, []), - composedPath: dart.fnType(core.List$(html$.EventTarget), []), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) -})); -dart.setGetterSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getGetters(html$._WrappedEvent.__proto__), - bubbles: core.bool, - [S.$bubbles]: core.bool, - cancelable: core.bool, - [S.$cancelable]: core.bool, - composed: core.bool, - [S.$composed]: core.bool, - currentTarget: dart.nullable(html$.EventTarget), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - defaultPrevented: core.bool, - [S.$defaultPrevented]: core.bool, - eventPhase: core.int, - [S.$eventPhase]: core.int, - isTrusted: core.bool, - [S.$isTrusted]: core.bool, - target: dart.nullable(html$.EventTarget), - [S.$target]: dart.nullable(html$.EventTarget), - timeStamp: core.double, - [S.$timeStamp]: core.double, - type: core.String, - [S.$type]: core.String, - matchingTarget: html$.Element, - [S.$matchingTarget]: html$.Element, - path: core.List$(html$.Node), - [S.$path]: core.List$(html$.Node), - [S._get_currentTarget]: dart.dynamic, - [S._get_target]: dart.dynamic -})); -dart.setLibraryUri(html$._WrappedEvent, I[148]); -dart.setFieldSignature(html$._WrappedEvent, () => ({ - __proto__: dart.getFields(html$._WrappedEvent.__proto__), - wrapped: dart.finalFieldType(html$.Event), - [S._selector]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); -dart.defineExtensionAccessors(html$._WrappedEvent, [ - 'bubbles', - 'cancelable', - 'composed', - 'currentTarget', - 'defaultPrevented', - 'eventPhase', - 'isTrusted', - 'target', - 'timeStamp', - 'type', - 'matchingTarget', - 'path' -]); -html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { - get returnValue() { - return this[S$3._returnValue]; - } - set returnValue(value) { - this[S$3._returnValue] = dart.nullCheck(value); - if ("returnValue" in this.wrapped) { - this.wrapped.returnValue = value; - } - } -}; -(html$._BeforeUnloadEvent.new = function(base) { - if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); - this[S$3._returnValue] = ""; - html$._BeforeUnloadEvent.__proto__.new.call(this, base); - ; -}).prototype = html$._BeforeUnloadEvent.prototype; -dart.addTypeTests(html$._BeforeUnloadEvent); -dart.addTypeCaches(html$._BeforeUnloadEvent); -html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; -dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), - returnValue: core.String, - [S$.$returnValue]: core.String -})); -dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), - returnValue: dart.nullable(core.String), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); -dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), - [S$3._returnValue]: dart.fieldType(core.String) -})); -dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); -html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { - get [S$3._eventType$1]() { - return this[S$3._eventType]; - } - set [S$3._eventType$1](value) { - super[S$3._eventType$1] = value; - } - forTarget(e, opts) { - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); - let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); - stream.listen(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); - let wrapped = new html$._BeforeUnloadEvent.new(event); - controller.add(wrapped); - }, T$0.BeforeUnloadEventTovoid())); - return controller.stream; - } - getEventType(target) { - if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); - return this[S$3._eventType$1]; - } - forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); - return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } - [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); - return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); - } -}; -(html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); - this[S$3._eventType] = _eventType; - ; -}).prototype = html$._BeforeUnloadEventStreamProvider.prototype; -dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); -dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); -html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; -dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]), - forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) -})); -dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); -dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ - __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) -})); -html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; dart.addTypeTests(html$.WindowBase64); dart.addTypeCaches(html$.WindowBase64); -dart.setLibraryUri(html$.WindowBase64, I[148]); +dart.setStaticMethodSignature(html$.WindowBase64, () => ['__']); +dart.setLibraryUri(html$.WindowBase64, I[150]); html$.WindowClient = class WindowClient extends html$.Client { + static ['_#_#tearOff']() { + return html$.WindowClient.__(); + } get [S$3.$focused]() { return this.focused; } @@ -98928,7 +107896,7 @@ html$.WindowClient = class WindowClient extends html$.Client { return js_util.promiseToFuture(html$.WindowClient, this.focus()); } [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); } }; @@ -98939,14 +107907,18 @@ dart.setMethodSignature(html$.WindowClient, () => ({ [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) })); +dart.setStaticMethodSignature(html$.WindowClient, () => ['__']); dart.setGetterSignature(html$.WindowClient, () => ({ __proto__: dart.getGetters(html$.WindowClient.__proto__), [S$3.$focused]: dart.nullable(core.bool), [S$1.$visibilityState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WindowClient, I[148]); +dart.setLibraryUri(html$.WindowClient, I[150]); dart.registerExtension("WindowClient", html$.WindowClient); html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WindowEventHandlers.__(); + } get onHashChange() { return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); } @@ -98971,6 +107943,7 @@ html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget }; dart.addTypeTests(html$.WindowEventHandlers); dart.addTypeCaches(html$.WindowEventHandlers); +dart.setStaticMethodSignature(html$.WindowEventHandlers, () => ['__']); dart.setGetterSignature(html$.WindowEventHandlers, () => ({ __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), onHashChange: async.Stream$(html$.Event), @@ -98988,7 +107961,8 @@ dart.setGetterSignature(html$.WindowEventHandlers, () => ({ onUnload: async.Stream$(html$.Event), [S$.$onUnload]: async.Stream$(html$.Event) })); -dart.setLibraryUri(html$.WindowEventHandlers, I[148]); +dart.setLibraryUri(html$.WindowEventHandlers, I[150]); +dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); dart.defineExtensionAccessors(html$.WindowEventHandlers, [ 'onHashChange', 'onMessage', @@ -99000,32 +107974,39 @@ dart.defineExtensionAccessors(html$.WindowEventHandlers, [ ]); dart.defineLazy(html$.WindowEventHandlers, { /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[311] || CT.C311; + return C[321] || CT.C321; }, /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; }, /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[313] || CT.C313; + return C[323] || CT.C323; }, /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[314] || CT.C314; + return C[324] || CT.C324; }, /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[315] || CT.C315; + return C[325] || CT.C325; }, /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[316] || CT.C316; + return C[326] || CT.C326; }, /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - return C[317] || CT.C317; + return C[327] || CT.C327; } }, false); html$.Worker = class Worker$ extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.Worker.__(); + } static new(scriptUrl) { - if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); return html$.Worker._create_1(scriptUrl); } + static ['_#new#tearOff'](scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[149], 33995, 25, "scriptUrl"); + return html$.Worker.new(scriptUrl); + } static _create_1(scriptUrl) { return new Worker(scriptUrl); } @@ -99068,22 +108049,28 @@ dart.setMethodSignature(html$.Worker, () => ({ [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), [S$2.$terminate]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.Worker, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.Worker, () => ({ __proto__: dart.getGetters(html$.Worker.__proto__), [S.$onError]: async.Stream$(html$.Event), [S$.$onMessage]: async.Stream$(html$.MessageEvent) })); -dart.setLibraryUri(html$.Worker, I[148]); +dart.setStaticGetterSignature(html$.Worker, () => ['supported']); +dart.setLibraryUri(html$.Worker, I[150]); +dart.setStaticFieldSignature(html$.Worker, () => ['errorEvent', 'messageEvent']); dart.defineLazy(html$.Worker, { /*html$.Worker.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*html$.Worker.messageEvent*/get messageEvent() { - return C[312] || CT.C312; + return C[322] || CT.C322; } }, false); dart.registerExtension("Worker", html$.Worker); html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$.WorkerPerformance.__(); + } get [S$2.$memory]() { return this.memory; } @@ -99136,21 +108123,31 @@ dart.setMethodSignature(html$.WorkerPerformance, () => ({ [S$2.$now]: dart.fnType(core.double, []), [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) })); +dart.setStaticMethodSignature(html$.WorkerPerformance, () => ['__']); dart.setGetterSignature(html$.WorkerPerformance, () => ({ __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), [S$2.$memory]: dart.nullable(html$.MemoryInfo), [S$2.$timeOrigin]: dart.nullable(core.num) })); -dart.setLibraryUri(html$.WorkerPerformance, I[148]); +dart.setLibraryUri(html$.WorkerPerformance, I[150]); dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); -html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { +html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.WorkletAnimation.__(); + } static new(animatorName, effects, timelines, options) { - if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); - if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); - if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); } + static ['_#new#tearOff'](animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[149], 34163, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[149], 34164, 36, "effects"); + if (timelines == null) dart.nullFailed(I[149], 34165, 20, "timelines"); + return html$.WorkletAnimation.new(animatorName, effects, timelines, options); + } static _create_1(animatorName, effects, timelines, options) { return new WorkletAnimation(animatorName, effects, timelines, options); } @@ -99171,16 +108168,23 @@ dart.setMethodSignature(html$.WorkletAnimation, () => ({ [S$.$cancel]: dart.fnType(dart.void, []), [S$.$play]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(html$.WorkletAnimation, () => ['__', 'new', '_create_1']); dart.setGetterSignature(html$.WorkletAnimation, () => ({ __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), [S$.$playState]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.WorkletAnimation, I[148]); +dart.setLibraryUri(html$.WorkletAnimation, I[150]); dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); -html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { +html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathEvaluator.__(); + } static new() { return html$.XPathEvaluator._create_1(); } + static ['_#new#tearOff']() { + return html$.XPathEvaluator.new(); + } static _create_1() { return new XPathEvaluator(); } @@ -99202,9 +108206,13 @@ dart.setMethodSignature(html$.XPathEvaluator, () => ({ [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.XPathEvaluator, I[148]); +dart.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.XPathEvaluator, I[150]); dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); -html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { +html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathExpression.__(); + } [S$3.$evaluate](...args) { return this.evaluate.apply(this, args); } @@ -99215,9 +108223,13 @@ dart.setMethodSignature(html$.XPathExpression, () => ({ __proto__: dart.getMethods(html$.XPathExpression.__proto__), [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) })); -dart.setLibraryUri(html$.XPathExpression, I[148]); +dart.setStaticMethodSignature(html$.XPathExpression, () => ['__']); +dart.setLibraryUri(html$.XPathExpression, I[150]); dart.registerExtension("XPathExpression", html$.XPathExpression); -html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { +html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathNSResolver.__(); + } [S$3.$lookupNamespaceUri](...args) { return this.lookupNamespaceURI.apply(this, args); } @@ -99228,9 +108240,13 @@ dart.setMethodSignature(html$.XPathNSResolver, () => ({ __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) })); -dart.setLibraryUri(html$.XPathNSResolver, I[148]); +dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); +dart.setLibraryUri(html$.XPathNSResolver, I[150]); dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); -html$.XPathResult = class XPathResult extends _interceptors.Interceptor { +html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XPathResult.__(); + } get [S$3.$booleanValue]() { return this.booleanValue; } @@ -99266,6 +108282,7 @@ dart.setMethodSignature(html$.XPathResult, () => ({ [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) })); +dart.setStaticMethodSignature(html$.XPathResult, () => ['__']); dart.setGetterSignature(html$.XPathResult, () => ({ __proto__: dart.getGetters(html$.XPathResult.__proto__), [S$3.$booleanValue]: dart.nullable(core.bool), @@ -99276,7 +108293,8 @@ dart.setGetterSignature(html$.XPathResult, () => ({ [S$3.$snapshotLength]: dart.nullable(core.int), [S$3.$stringValue]: dart.nullable(core.String) })); -dart.setLibraryUri(html$.XPathResult, I[148]); +dart.setLibraryUri(html$.XPathResult, I[150]); +dart.setStaticFieldSignature(html$.XPathResult, () => ['ANY_TYPE', 'ANY_UNORDERED_NODE_TYPE', 'BOOLEAN_TYPE', 'FIRST_ORDERED_NODE_TYPE', 'NUMBER_TYPE', 'ORDERED_NODE_ITERATOR_TYPE', 'ORDERED_NODE_SNAPSHOT_TYPE', 'STRING_TYPE', 'UNORDERED_NODE_ITERATOR_TYPE', 'UNORDERED_NODE_SNAPSHOT_TYPE']); dart.defineLazy(html$.XPathResult, { /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { return 0; @@ -99310,15 +108328,26 @@ dart.defineLazy(html$.XPathResult, { } }, false); dart.registerExtension("XPathResult", html$.XPathResult); -html$.XmlDocument = class XmlDocument extends html$.Document {}; +html$.XmlDocument = class XmlDocument extends html$.Document { + static ['_#_#tearOff']() { + return html$.XmlDocument.__(); + } +}; dart.addTypeTests(html$.XmlDocument); dart.addTypeCaches(html$.XmlDocument); -dart.setLibraryUri(html$.XmlDocument, I[148]); +dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); +dart.setLibraryUri(html$.XmlDocument, I[150]); dart.registerExtension("XMLDocument", html$.XmlDocument); -html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { +html$.XmlSerializer = class XmlSerializer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XmlSerializer.__(); + } static new() { return html$.XmlSerializer._create_1(); } + static ['_#new#tearOff']() { + return html$.XmlSerializer.new(); + } static _create_1() { return new XMLSerializer(); } @@ -99332,12 +108361,19 @@ dart.setMethodSignature(html$.XmlSerializer, () => ({ __proto__: dart.getMethods(html$.XmlSerializer.__proto__), [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) })); -dart.setLibraryUri(html$.XmlSerializer, I[148]); +dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$.XmlSerializer, I[150]); dart.registerExtension("XMLSerializer", html$.XmlSerializer); -html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { +html$.XsltProcessor = class XsltProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$.XsltProcessor.__(); + } static new() { return html$.XsltProcessor._create_1(); } + static ['_#new#tearOff']() { + return html$.XsltProcessor.new(); + } static _create_1() { return new XSLTProcessor(); } @@ -99382,9 +108418,14 @@ dart.setMethodSignature(html$.XsltProcessor, () => ({ [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) })); -dart.setLibraryUri(html$.XsltProcessor, I[148]); +dart.setStaticMethodSignature(html$.XsltProcessor, () => ['__', 'new', '_create_1']); +dart.setStaticGetterSignature(html$.XsltProcessor, () => ['supported']); +dart.setLibraryUri(html$.XsltProcessor, I[150]); dart.registerExtension("XSLTProcessor", html$.XsltProcessor); html$._Attr = class _Attr extends html$.Node { + static ['_#_#tearOff']() { + return html$._Attr.__(); + } get [S._localName]() { return this.localName; } @@ -99403,6 +108444,7 @@ html$._Attr = class _Attr extends html$.Node { }; dart.addTypeTests(html$._Attr); dart.addTypeCaches(html$._Attr); +dart.setStaticMethodSignature(html$._Attr, () => ['__']); dart.setGetterSignature(html$._Attr, () => ({ __proto__: dart.getGetters(html$._Attr.__proto__), [S._localName]: dart.nullable(core.String), @@ -99414,53 +108456,91 @@ dart.setSetterSignature(html$._Attr, () => ({ __proto__: dart.getSetters(html$._Attr.__proto__), [S.$value]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Attr, I[148]); +dart.setLibraryUri(html$._Attr, I[150]); dart.registerExtension("Attr", html$._Attr); -html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; +html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Bluetooth.__(); + } +}; dart.addTypeTests(html$._Bluetooth); dart.addTypeCaches(html$._Bluetooth); -dart.setLibraryUri(html$._Bluetooth, I[148]); +dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); +dart.setLibraryUri(html$._Bluetooth, I[150]); dart.registerExtension("Bluetooth", html$._Bluetooth); -html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; +html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothCharacteristicProperties.__(); + } +}; dart.addTypeTests(html$._BluetoothCharacteristicProperties); dart.addTypeCaches(html$._BluetoothCharacteristicProperties); -dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); +dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); +dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); -html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; +html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothDevice.__(); + } +}; dart.addTypeTests(html$._BluetoothDevice); dart.addTypeCaches(html$._BluetoothDevice); -dart.setLibraryUri(html$._BluetoothDevice, I[148]); +dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); +dart.setLibraryUri(html$._BluetoothDevice, I[150]); dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); -html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; +html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTCharacteristic.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); -dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); -html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; +html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTServer.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTServer); dart.addTypeCaches(html$._BluetoothRemoteGATTServer); -dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); -html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; +html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothRemoteGATTService.__(); + } +}; dart.addTypeTests(html$._BluetoothRemoteGATTService); dart.addTypeCaches(html$._BluetoothRemoteGATTService); -dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); +dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); +dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); -html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; +html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BluetoothUUID.__(); + } +}; dart.addTypeTests(html$._BluetoothUUID); dart.addTypeCaches(html$._BluetoothUUID); -dart.setLibraryUri(html$._BluetoothUUID, I[148]); +dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); +dart.setLibraryUri(html$._BluetoothUUID, I[150]); dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); -html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { +html$._BudgetService = class _BudgetService extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._BudgetService.__(); + } [S$3.$getBudget]() { return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); } [S$3.$getCost](operation) { - if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + if (operation == null) dart.nullFailed(I[149], 34482, 33, "operation"); return js_util.promiseToFuture(core.double, this.getCost(operation)); } [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); return js_util.promiseToFuture(core.bool, this.reserve(operation)); } }; @@ -99472,18 +108552,32 @@ dart.setMethodSignature(html$._BudgetService, () => ({ [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) })); -dart.setLibraryUri(html$._BudgetService, I[148]); +dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); +dart.setLibraryUri(html$._BudgetService, I[150]); dart.registerExtension("BudgetService", html$._BudgetService); -html$._Cache = class _Cache extends _interceptors.Interceptor {}; +html$._Cache = class _Cache extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Cache.__(); + } +}; dart.addTypeTests(html$._Cache); dart.addTypeCaches(html$._Cache); -dart.setLibraryUri(html$._Cache, I[148]); +dart.setStaticMethodSignature(html$._Cache, () => ['__']); +dart.setLibraryUri(html$._Cache, I[150]); dart.registerExtension("Cache", html$._Cache); -html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; +html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._CanvasPath.__(); + } +}; dart.addTypeTests(html$._CanvasPath); dart.addTypeCaches(html$._CanvasPath); -dart.setLibraryUri(html$._CanvasPath, I[148]); +dart.setStaticMethodSignature(html$._CanvasPath, () => ['__']); +dart.setLibraryUri(html$._CanvasPath, I[150]); html$._Clipboard = class _Clipboard extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._Clipboard.__(); + } [S$3.$read]() { return js_util.promiseToFuture(html$.DataTransfer, this.read()); } @@ -99491,11 +108585,11 @@ html$._Clipboard = class _Clipboard extends html$.EventTarget { return js_util.promiseToFuture(core.String, this.readText()); } [S$1.$write](data) { - if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + if (data == null) dart.nullFailed(I[149], 34526, 29, "data"); return js_util.promiseToFuture(dart.dynamic, this.write(data)); } [S$3.$writeText](data) { - if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + if (data == null) dart.nullFailed(I[149], 34529, 27, "data"); return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); } }; @@ -99508,37 +108602,41 @@ dart.setMethodSignature(html$._Clipboard, () => ({ [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), [S$3.$writeText]: dart.fnType(async.Future, [core.String]) })); -dart.setLibraryUri(html$._Clipboard, I[148]); +dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); +dart.setLibraryUri(html$._Clipboard, I[150]); dart.registerExtension("Clipboard", html$._Clipboard); -const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$8.new = function() { - Interceptor_ListMixin$36$8.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$8.prototype; -dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); -const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; -(Interceptor_ImmutableListMixin$36$8.new = function() { - Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$8.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); -html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { +const JavaScriptObject_ListMixin$36$8 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$8.new = function() { + JavaScriptObject_ListMixin$36$8.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$8.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); +const JavaScriptObject_ImmutableListMixin$36$8 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$8 {}; +(JavaScriptObject_ImmutableListMixin$36$8.new = function() { + JavaScriptObject_ImmutableListMixin$36$8.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$8.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); +html$._CssRuleList = class _CssRuleList extends JavaScriptObject_ImmutableListMixin$36$8 { + static ['_#_#tearOff']() { + return html$._CssRuleList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34547, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34553, 25, "index"); html$.CssRule.as(value); - if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + if (value == null) dart.nullFailed(I[149], 34553, 40, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34559, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99569,7 +108667,7 @@ html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$3 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34587, 25, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99579,13 +108677,14 @@ html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$3 html$._CssRuleList.prototype[dart.isList] = true; dart.addTypeTests(html$._CssRuleList); dart.addTypeCaches(html$._CssRuleList); -html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; +html$._CssRuleList[dart.implements] = () => [core.List$(html$.CssRule), _js_helper.JavaScriptIndexingBehavior$(html$.CssRule)]; dart.setMethodSignature(html$._CssRuleList, () => ({ __proto__: dart.getMethods(html$._CssRuleList.__proto__), [$_get]: dart.fnType(html$.CssRule, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) })); +dart.setStaticMethodSignature(html$._CssRuleList, () => ['__']); dart.setGetterSignature(html$._CssRuleList, () => ({ __proto__: dart.getGetters(html$._CssRuleList.__proto__), [$length]: core.int @@ -99594,33 +108693,58 @@ dart.setSetterSignature(html$._CssRuleList, () => ({ __proto__: dart.getSetters(html$._CssRuleList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._CssRuleList, I[148]); +dart.setLibraryUri(html$._CssRuleList, I[150]); dart.registerExtension("CSSRuleList", html$._CssRuleList); -html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; +html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DOMFileSystemSync.__(); + } +}; dart.addTypeTests(html$._DOMFileSystemSync); dart.addTypeCaches(html$._DOMFileSystemSync); -dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); +dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); +dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); -html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; +html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._EntrySync.__(); + } +}; dart.addTypeTests(html$._EntrySync); dart.addTypeCaches(html$._EntrySync); -dart.setLibraryUri(html$._EntrySync, I[148]); +dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); +dart.setLibraryUri(html$._EntrySync, I[150]); dart.registerExtension("EntrySync", html$._EntrySync); -html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; +html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._DirectoryEntrySync.__(); + } +}; dart.addTypeTests(html$._DirectoryEntrySync); dart.addTypeCaches(html$._DirectoryEntrySync); -dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); +dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); +dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); -html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; +html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._DirectoryReaderSync.__(); + } +}; dart.addTypeTests(html$._DirectoryReaderSync); dart.addTypeCaches(html$._DirectoryReaderSync); -dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); +dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); +dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); -html$._DocumentType = class _DocumentType extends html$.Node {}; +html$._DocumentType = class _DocumentType extends html$.Node { + static ['_#_#tearOff']() { + return html$._DocumentType.__(); + } +}; dart.addTypeTests(html$._DocumentType); dart.addTypeCaches(html$._DocumentType); html$._DocumentType[dart.implements] = () => [html$.ChildNode]; -dart.setLibraryUri(html$._DocumentType, I[148]); +dart.setStaticMethodSignature(html$._DocumentType, () => ['__']); +dart.setLibraryUri(html$._DocumentType, I[150]); dart.registerExtension("DocumentType", html$._DocumentType); html$._DomRect = class _DomRect extends html$.DomRectReadOnly { [$toString]() { @@ -99631,11 +108755,11 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; } get [$hashCode]() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + return core.Object.hash(this[$left], this[$top], this[$width], this[$height]); } [$intersection](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + if (other == null) dart.nullFailed(I[149], 34672, 37, "other"); let x0 = math.max(core.num, this[$left], other[$left]); let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -99648,12 +108772,12 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return null; } [$intersects](other) { - if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + if (other == null) dart.nullFailed(I[149], 34690, 34, "other"); return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } [$boundingBox](other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + if (other == null) dart.nullFailed(I[149], 34700, 35, "other"); let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this[$left], other[$left]); @@ -99661,11 +108785,11 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } [$containsRectangle](another) { - if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + if (another == null) dart.nullFailed(I[149], 34713, 41, "another"); return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } [$containsPoint](another) { - if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + if (another == null) dart.nullFailed(I[149], 34723, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); } get [$topLeft]() { @@ -99680,6 +108804,9 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { get [$bottomLeft]() { return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); } + static ['_#_#tearOff']() { + return html$._DomRect.__(); + } static new(x = null, y = null, width = null, height = null) { if (height != null) { return html$._DomRect._create_1(x, y, width, height); @@ -99695,6 +108822,9 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { } return html$._DomRect._create_5(); } + static ['_#new#tearOff'](x = null, y = null, width = null, height = null) { + return html$._DomRect.new(x, y, width, height); + } static _create_1(x, y, width, height) { return new DOMRect(x, y, width, height); } @@ -99744,6 +108874,7 @@ html$._DomRect = class _DomRect extends html$.DomRectReadOnly { dart.addTypeTests(html$._DomRect); dart.addTypeCaches(html$._DomRect); html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setStaticMethodSignature(html$._DomRect, () => ['__', 'new', '_create_1', '_create_2', '_create_3', '_create_4', '_create_5']); dart.setSetterSignature(html$._DomRect, () => ({ __proto__: dart.getSetters(html$._DomRect.__proto__), [$height]: core.num, @@ -99751,86 +108882,79 @@ dart.setSetterSignature(html$._DomRect, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(html$._DomRect, I[148]); +dart.setLibraryUri(html$._DomRect, I[150]); dart.registerExtension("ClientRect", html$._DomRect); dart.registerExtension("DOMRect", html$._DomRect); -html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { - static combine(hash, value) { - if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); - if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); - hash = 536870911 & dart.notNull(hash) + dart.notNull(value); - hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); - return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; - } - static finish(hash) { - if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); - hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); - hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; - return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); - } - static hash2(a, b) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); - } - static hash4(a, b, c, d) { - return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); +html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { + static ['_#_#tearOff']() { + return html$._FileEntrySync.__(); } }; -(html$._JenkinsSmiHash.new = function() { - ; -}).prototype = html$._JenkinsSmiHash.prototype; -dart.addTypeTests(html$._JenkinsSmiHash); -dart.addTypeCaches(html$._JenkinsSmiHash); -dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); -html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; dart.addTypeTests(html$._FileEntrySync); dart.addTypeCaches(html$._FileEntrySync); -dart.setLibraryUri(html$._FileEntrySync, I[148]); +dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); +dart.setLibraryUri(html$._FileEntrySync, I[150]); dart.registerExtension("FileEntrySync", html$._FileEntrySync); -html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { +html$._FileReaderSync = class _FileReaderSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileReaderSync.__(); + } static new() { return html$._FileReaderSync._create_1(); } + static ['_#new#tearOff']() { + return html$._FileReaderSync.new(); + } static _create_1() { return new FileReaderSync(); } }; dart.addTypeTests(html$._FileReaderSync); dart.addTypeCaches(html$._FileReaderSync); -dart.setLibraryUri(html$._FileReaderSync, I[148]); +dart.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._FileReaderSync, I[150]); dart.registerExtension("FileReaderSync", html$._FileReaderSync); -html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; +html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._FileWriterSync.__(); + } +}; dart.addTypeTests(html$._FileWriterSync); dart.addTypeCaches(html$._FileWriterSync); -dart.setLibraryUri(html$._FileWriterSync, I[148]); +dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); +dart.setLibraryUri(html$._FileWriterSync, I[150]); dart.registerExtension("FileWriterSync", html$._FileWriterSync); -const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$9.new = function() { - Interceptor_ListMixin$36$9.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$9.prototype; -dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); -const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; -(Interceptor_ImmutableListMixin$36$9.new = function() { - Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$9.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); -html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { +const JavaScriptObject_ListMixin$36$9 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$9.new = function() { + JavaScriptObject_ListMixin$36$9.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$9.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); +const JavaScriptObject_ImmutableListMixin$36$9 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$9 {}; +(JavaScriptObject_ImmutableListMixin$36$9.new = function() { + JavaScriptObject_ImmutableListMixin$36$9.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$9.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); +html$._GamepadList = class _GamepadList extends JavaScriptObject_ImmutableListMixin$36$9 { + static ['_#_#tearOff']() { + return html$._GamepadList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 34865, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + if (index == null) dart.nullFailed(I[149], 34871, 25, "index"); T$0.GamepadN().as(value); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + if (value == null) dart.nullFailed(I[149], 34877, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -99861,7 +108985,7 @@ html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$3 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + if (index == null) dart.nullFailed(I[149], 34905, 26, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -99878,6 +109002,7 @@ dart.setMethodSignature(html$._GamepadList, () => ({ [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) })); +dart.setStaticMethodSignature(html$._GamepadList, () => ['__']); dart.setGetterSignature(html$._GamepadList, () => ({ __proto__: dart.getGetters(html$._GamepadList.__proto__), [$length]: core.int @@ -99886,9 +109011,12 @@ dart.setSetterSignature(html$._GamepadList, () => ({ __proto__: dart.getSetters(html$._GamepadList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._GamepadList, I[148]); +dart.setLibraryUri(html$._GamepadList, I[150]); dart.registerExtension("GamepadList", html$._GamepadList); -html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { +html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._HTMLAllCollection.__(); + } [S$1._item](...args) { return this.item.apply(this, args); } @@ -99899,36 +109027,56 @@ dart.setMethodSignature(html$._HTMLAllCollection, () => ({ __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) })); -dart.setLibraryUri(html$._HTMLAllCollection, I[148]); +dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); +dart.setLibraryUri(html$._HTMLAllCollection, I[150]); dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); -html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; +html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLDirectoryElement.__(); + } +}; (html$._HTMLDirectoryElement.created = function() { html$._HTMLDirectoryElement.__proto__.created.call(this); ; }).prototype = html$._HTMLDirectoryElement.prototype; dart.addTypeTests(html$._HTMLDirectoryElement); dart.addTypeCaches(html$._HTMLDirectoryElement); -dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); +dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); -html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; +html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFontElement.__(); + } +}; (html$._HTMLFontElement.created = function() { html$._HTMLFontElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFontElement.prototype; dart.addTypeTests(html$._HTMLFontElement); dart.addTypeCaches(html$._HTMLFontElement); -dart.setLibraryUri(html$._HTMLFontElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFontElement, I[150]); dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); -html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; +html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameElement.__(); + } +}; (html$._HTMLFrameElement.created = function() { html$._HTMLFrameElement.__proto__.created.call(this); ; }).prototype = html$._HTMLFrameElement.prototype; dart.addTypeTests(html$._HTMLFrameElement); dart.addTypeCaches(html$._HTMLFrameElement); -dart.setLibraryUri(html$._HTMLFrameElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFrameElement, I[150]); dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); -html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; +html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLFrameSetElement.__(); + } +}; (html$._HTMLFrameSetElement.created = function() { html$._HTMLFrameSetElement.__proto__.created.call(this); ; @@ -99936,35 +109084,58 @@ html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElemen dart.addTypeTests(html$._HTMLFrameSetElement); dart.addTypeCaches(html$._HTMLFrameSetElement); html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; -dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); +dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); -html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; +html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement { + static ['_#_#tearOff']() { + return html$._HTMLMarqueeElement.__(); + } +}; (html$._HTMLMarqueeElement.created = function() { html$._HTMLMarqueeElement.__proto__.created.call(this); ; }).prototype = html$._HTMLMarqueeElement.prototype; dart.addTypeTests(html$._HTMLMarqueeElement); dart.addTypeCaches(html$._HTMLMarqueeElement); -dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); +dart.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); +dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); -html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; +html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Mojo.__(); + } +}; dart.addTypeTests(html$._Mojo); dart.addTypeCaches(html$._Mojo); -dart.setLibraryUri(html$._Mojo, I[148]); +dart.setStaticMethodSignature(html$._Mojo, () => ['__']); +dart.setLibraryUri(html$._Mojo, I[150]); dart.registerExtension("Mojo", html$._Mojo); -html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; +html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoHandle.__(); + } +}; dart.addTypeTests(html$._MojoHandle); dart.addTypeCaches(html$._MojoHandle); -dart.setLibraryUri(html$._MojoHandle, I[148]); +dart.setStaticMethodSignature(html$._MojoHandle, () => ['__']); +dart.setLibraryUri(html$._MojoHandle, I[150]); dart.registerExtension("MojoHandle", html$._MojoHandle); html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._MojoInterfaceInterceptor.__(); + } static new(interfaceName, scope = null) { - if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); if (scope != null) { return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); } return html$._MojoInterfaceInterceptor._create_2(interfaceName); } + static ['_#new#tearOff'](interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[149], 35056, 44, "interfaceName"); + return html$._MojoInterfaceInterceptor.new(interfaceName, scope); + } static _create_1(interfaceName, scope) { return new MojoInterfaceInterceptor(interfaceName, scope); } @@ -99974,17 +109145,25 @@ html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$. }; dart.addTypeTests(html$._MojoInterfaceInterceptor); dart.addTypeCaches(html$._MojoInterfaceInterceptor); -dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); +dart.setStaticMethodSignature(html$._MojoInterfaceInterceptor, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[150]); dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._MojoInterfaceRequestEvent.__(); + } static new(type, eventInitDict = null) { - if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); if (eventInitDict != null) { let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); } return html$._MojoInterfaceRequestEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[149], 35083, 45, "type"); + return html$._MojoInterfaceRequestEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new MojoInterfaceRequestEvent(type, eventInitDict); } @@ -99994,47 +109173,61 @@ html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html }; dart.addTypeTests(html$._MojoInterfaceRequestEvent); dart.addTypeCaches(html$._MojoInterfaceRequestEvent); -dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); +dart.setStaticMethodSignature(html$._MojoInterfaceRequestEvent, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[150]); dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); -html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; +html$._MojoWatcher = class _MojoWatcher extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._MojoWatcher.__(); + } +}; dart.addTypeTests(html$._MojoWatcher); dart.addTypeCaches(html$._MojoWatcher); -dart.setLibraryUri(html$._MojoWatcher, I[148]); +dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); +dart.setLibraryUri(html$._MojoWatcher, I[150]); dart.registerExtension("MojoWatcher", html$._MojoWatcher); -html$._NFC = class _NFC extends _interceptors.Interceptor {}; +html$._NFC = class _NFC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._NFC.__(); + } +}; dart.addTypeTests(html$._NFC); dart.addTypeCaches(html$._NFC); -dart.setLibraryUri(html$._NFC, I[148]); +dart.setStaticMethodSignature(html$._NFC, () => ['__']); +dart.setLibraryUri(html$._NFC, I[150]); dart.registerExtension("NFC", html$._NFC); -const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$10.new = function() { - Interceptor_ListMixin$36$10.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$10.prototype; -dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); -const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; -(Interceptor_ImmutableListMixin$36$10.new = function() { - Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$10.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); -html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { +const JavaScriptObject_ListMixin$36$10 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$10.new = function() { + JavaScriptObject_ListMixin$36$10.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$10.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$10, collection.ListMixin$(html$.Node)); +const JavaScriptObject_ImmutableListMixin$36$10 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$10 {}; +(JavaScriptObject_ImmutableListMixin$36$10.new = function() { + JavaScriptObject_ImmutableListMixin$36$10.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$10.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); +html$._NamedNodeMap = class _NamedNodeMap extends JavaScriptObject_ImmutableListMixin$36$10 { + static ['_#_#tearOff']() { + return html$._NamedNodeMap.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35137, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35143, 25, "index"); html$.Node.as(value); - if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + if (value == null) dart.nullFailed(I[149], 35143, 37, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35149, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100065,7 +109258,7 @@ html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + if (index == null) dart.nullFailed(I[149], 35177, 22, "index"); return this[$_get](index); } [S$3.$getNamedItem](...args) { @@ -100093,7 +109286,7 @@ html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin html$._NamedNodeMap.prototype[dart.isList] = true; dart.addTypeTests(html$._NamedNodeMap); dart.addTypeCaches(html$._NamedNodeMap); -html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +html$._NamedNodeMap[dart.implements] = () => [core.List$(html$.Node), _js_helper.JavaScriptIndexingBehavior$(html$.Node)]; dart.setMethodSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), [$_get]: dart.fnType(html$.Node, [core.int]), @@ -100106,6 +109299,7 @@ dart.setMethodSignature(html$._NamedNodeMap, () => ({ [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) })); +dart.setStaticMethodSignature(html$._NamedNodeMap, () => ['__']); dart.setGetterSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), [$length]: core.int @@ -100114,15 +109308,23 @@ dart.setSetterSignature(html$._NamedNodeMap, () => ({ __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._NamedNodeMap, I[148]); +dart.setLibraryUri(html$._NamedNodeMap, I[150]); dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); -html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; +html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._PagePopupController.__(); + } +}; dart.addTypeTests(html$._PagePopupController); dart.addTypeCaches(html$._PagePopupController); -dart.setLibraryUri(html$._PagePopupController, I[148]); +dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); +dart.setLibraryUri(html$._PagePopupController, I[150]); dart.registerExtension("PagePopupController", html$._PagePopupController); -html$._Report = class _Report extends _interceptors.Interceptor { +html$._Report = class _Report extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Report.__(); + } get [S$1.$body]() { return this.body; } @@ -100135,23 +109337,31 @@ html$._Report = class _Report extends _interceptors.Interceptor { }; dart.addTypeTests(html$._Report); dart.addTypeCaches(html$._Report); +dart.setStaticMethodSignature(html$._Report, () => ['__']); dart.setGetterSignature(html$._Report, () => ({ __proto__: dart.getGetters(html$._Report.__proto__), [S$1.$body]: dart.nullable(html$.ReportBody), [S.$type]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Report, I[148]); +dart.setLibraryUri(html$._Report, I[150]); dart.registerExtension("Report", html$._Report); html$._Request = class _Request extends html$.Body { + static ['_#_#tearOff']() { + return html$._Request.__(); + } static new(input, requestInitDict = null) { - if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); if (requestInitDict != null) { let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); return html$._Request._create_1(input, requestInitDict_1); } return html$._Request._create_2(input); } + static ['_#new#tearOff'](input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[149], 35242, 27, "input"); + return html$._Request.new(input, requestInitDict); + } static _create_1(input, requestInitDict) { return new Request(input, requestInitDict); } @@ -100161,7 +109371,7 @@ html$._Request = class _Request extends html$.Body { get [S$3.$cache]() { return this.cache; } - get [S$1.$credentials]() { + get [S$2.$credentials]() { return this.credentials; } get [S$2.$headers]() { @@ -100195,10 +109405,11 @@ dart.setMethodSignature(html$._Request, () => ({ __proto__: dart.getMethods(html$._Request.__proto__), [S$.$clone]: dart.fnType(html$._Request, []) })); +dart.setStaticMethodSignature(html$._Request, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(html$._Request, () => ({ __proto__: dart.getGetters(html$._Request.__proto__), [S$3.$cache]: dart.nullable(core.String), - [S$1.$credentials]: dart.nullable(core.String), + [S$2.$credentials]: dart.nullable(core.String), [S$2.$headers]: dart.nullable(html$.Headers), [S$1.$integrity]: dart.nullable(core.String), [S.$mode]: dart.nullable(core.String), @@ -100207,14 +109418,22 @@ dart.setGetterSignature(html$._Request, () => ({ [S$.$referrerPolicy]: dart.nullable(core.String), [S$.$url]: dart.nullable(core.String) })); -dart.setLibraryUri(html$._Request, I[148]); +dart.setLibraryUri(html$._Request, I[150]); dart.registerExtension("Request", html$._Request); -html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; +html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { + static ['_#_#tearOff']() { + return html$._ResourceProgressEvent.__(); + } +}; dart.addTypeTests(html$._ResourceProgressEvent); dart.addTypeCaches(html$._ResourceProgressEvent); -dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); +dart.setStaticMethodSignature(html$._ResourceProgressEvent, () => ['__']); +dart.setLibraryUri(html$._ResourceProgressEvent, I[150]); dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); html$._Response = class _Response extends html$.Body { + static ['_#_#tearOff']() { + return html$._Response.__(); + } static new(body = null, init = null) { if (init != null) { let init_1 = html_common.convertDartToNative_Dictionary(init); @@ -100225,6 +109444,9 @@ html$._Response = class _Response extends html$.Body { } return html$._Response._create_3(); } + static ['_#new#tearOff'](body = null, init = null) { + return html$._Response.new(body, init); + } static _create_1(body, init) { return new Response(body, init); } @@ -100237,37 +109459,41 @@ html$._Response = class _Response extends html$.Body { }; dart.addTypeTests(html$._Response); dart.addTypeCaches(html$._Response); -dart.setLibraryUri(html$._Response, I[148]); +dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); +dart.setLibraryUri(html$._Response, I[150]); dart.registerExtension("Response", html$._Response); -const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$11.new = function() { - Interceptor_ListMixin$36$11.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$11.prototype; -dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); -const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; -(Interceptor_ImmutableListMixin$36$11.new = function() { - Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$11.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); -html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { +const JavaScriptObject_ListMixin$36$11 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$11.new = function() { + JavaScriptObject_ListMixin$36$11.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$11.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); +const JavaScriptObject_ImmutableListMixin$36$11 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$11 {}; +(JavaScriptObject_ImmutableListMixin$36$11.new = function() { + JavaScriptObject_ImmutableListMixin$36$11.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$11.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); +html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends JavaScriptObject_ImmutableListMixin$36$11 { + static ['_#_#tearOff']() { + return html$._SpeechRecognitionResultList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35331, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35337, 25, "index"); html$.SpeechRecognitionResult.as(value); - if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + if (value == null) dart.nullFailed(I[149], 35337, 56, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35343, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100298,7 +109524,7 @@ html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + if (index == null) dart.nullFailed(I[149], 35371, 41, "index"); return this[$_get](index); } [S$.$item](...args) { @@ -100308,13 +109534,14 @@ html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends html$._SpeechRecognitionResultList.prototype[dart.isList] = true; dart.addTypeTests(html$._SpeechRecognitionResultList); dart.addTypeCaches(html$._SpeechRecognitionResultList); -html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; +html$._SpeechRecognitionResultList[dart.implements] = () => [core.List$(html$.SpeechRecognitionResult), _js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult)]; dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) })); +dart.setStaticMethodSignature(html$._SpeechRecognitionResultList, () => ['__']); dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int @@ -100323,37 +109550,40 @@ dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); +dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); -const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$12.new = function() { - Interceptor_ListMixin$36$12.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$12.prototype; -dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); -const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; -(Interceptor_ImmutableListMixin$36$12.new = function() { - Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$12.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); -html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { +const JavaScriptObject_ListMixin$36$12 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$12.new = function() { + JavaScriptObject_ListMixin$36$12.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$12.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); +const JavaScriptObject_ImmutableListMixin$36$12 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$12 {}; +(JavaScriptObject_ImmutableListMixin$36$12.new = function() { + JavaScriptObject_ImmutableListMixin$36$12.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$12.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); +html$._StyleSheetList = class _StyleSheetList extends JavaScriptObject_ImmutableListMixin$36$12 { + static ['_#_#tearOff']() { + return html$._StyleSheetList.__(); + } get [$length]() { return this.length; } [$_get](index) { - if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[149], 35391, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this[index]; } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + if (index == null) dart.nullFailed(I[149], 35397, 25, "index"); html$.StyleSheet.as(value); - if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + if (value == null) dart.nullFailed(I[149], 35397, 43, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + if (value == null) dart.nullFailed(I[149], 35403, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -100384,7 +109614,7 @@ html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListM dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + if (index == null) dart.nullFailed(I[149], 35431, 28, "index"); return this[$_get](index); } [S$.__getter__](...args) { @@ -100405,6 +109635,7 @@ dart.setMethodSignature(html$._StyleSheetList, () => ({ [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) })); +dart.setStaticMethodSignature(html$._StyleSheetList, () => ['__']); dart.setGetterSignature(html$._StyleSheetList, () => ({ __proto__: dart.getGetters(html$._StyleSheetList.__proto__), [$length]: core.int @@ -100413,89 +109644,148 @@ dart.setSetterSignature(html$._StyleSheetList, () => ({ __proto__: dart.getSetters(html$._StyleSheetList.__proto__), [$length]: core.int })); -dart.setLibraryUri(html$._StyleSheetList, I[148]); +dart.setLibraryUri(html$._StyleSheetList, I[150]); dart.registerExtension("StyleSheetList", html$._StyleSheetList); -html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; +html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._SubtleCrypto.__(); + } +}; dart.addTypeTests(html$._SubtleCrypto); dart.addTypeCaches(html$._SubtleCrypto); -dart.setLibraryUri(html$._SubtleCrypto, I[148]); +dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); +dart.setLibraryUri(html$._SubtleCrypto, I[150]); dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); -html$._USB = class _USB extends html$.EventTarget {}; +html$._USB = class _USB extends html$.EventTarget { + static ['_#_#tearOff']() { + return html$._USB.__(); + } +}; dart.addTypeTests(html$._USB); dart.addTypeCaches(html$._USB); -dart.setLibraryUri(html$._USB, I[148]); +dart.setStaticMethodSignature(html$._USB, () => ['__']); +dart.setLibraryUri(html$._USB, I[150]); dart.registerExtension("USB", html$._USB); -html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { +html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBAlternateInterface.__(); + } static new(deviceInterface, alternateSetting) { - if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); - if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); } + static ['_#new#tearOff'](deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[149], 35472, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[149], 35472, 42, "alternateSetting"); + return html$._USBAlternateInterface.new(deviceInterface, alternateSetting); + } static _create_1(deviceInterface, alternateSetting) { return new USBAlternateInterface(deviceInterface, alternateSetting); } }; dart.addTypeTests(html$._USBAlternateInterface); dart.addTypeCaches(html$._USBAlternateInterface); -dart.setLibraryUri(html$._USBAlternateInterface, I[148]); +dart.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBAlternateInterface, I[150]); dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); -html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { +html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBConfiguration.__(); + } static new(device, configurationValue) { - if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); - if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); return html$._USBConfiguration._create_1(device, configurationValue); } + static ['_#new#tearOff'](device, configurationValue) { + if (device == null) dart.nullFailed(I[149], 35490, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[149], 35490, 52, "configurationValue"); + return html$._USBConfiguration.new(device, configurationValue); + } static _create_1(device, configurationValue) { return new USBConfiguration(device, configurationValue); } }; dart.addTypeTests(html$._USBConfiguration); dart.addTypeCaches(html$._USBConfiguration); -dart.setLibraryUri(html$._USBConfiguration, I[148]); +dart.setStaticMethodSignature(html$._USBConfiguration, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBConfiguration, I[150]); dart.registerExtension("USBConfiguration", html$._USBConfiguration); html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static ['_#_#tearOff']() { + return html$._USBConnectionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); - if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return html$._USBConnectionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[149], 35510, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[149], 35510, 48, "eventInitDict"); + return html$._USBConnectionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new USBConnectionEvent(type, eventInitDict); } }; dart.addTypeTests(html$._USBConnectionEvent); dart.addTypeCaches(html$._USBConnectionEvent); -dart.setLibraryUri(html$._USBConnectionEvent, I[148]); +dart.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBConnectionEvent, I[150]); dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); -html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; +html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBDevice.__(); + } +}; dart.addTypeTests(html$._USBDevice); dart.addTypeCaches(html$._USBDevice); -dart.setLibraryUri(html$._USBDevice, I[148]); +dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); +dart.setLibraryUri(html$._USBDevice, I[150]); dart.registerExtension("USBDevice", html$._USBDevice); -html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { +html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBEndpoint.__(); + } static new(alternate, endpointNumber, direction) { - if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); - if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); - if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); } + static ['_#new#tearOff'](alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[149], 35543, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[149], 35543, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[149], 35543, 68, "direction"); + return html$._USBEndpoint.new(alternate, endpointNumber, direction); + } static _create_1(alternate, endpointNumber, direction) { return new USBEndpoint(alternate, endpointNumber, direction); } }; dart.addTypeTests(html$._USBEndpoint); dart.addTypeCaches(html$._USBEndpoint); -dart.setLibraryUri(html$._USBEndpoint, I[148]); +dart.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBEndpoint, I[150]); dart.registerExtension("USBEndpoint", html$._USBEndpoint); -html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { +html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInTransferResult.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); if (data != null) { return html$._USBInTransferResult._create_1(status, data); } return html$._USBInTransferResult._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35564, 39, "status"); + return html$._USBInTransferResult.new(status, data); + } static _create_1(status, data) { return new USBInTransferResult(status, data); } @@ -100505,30 +109795,47 @@ html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.In }; dart.addTypeTests(html$._USBInTransferResult); dart.addTypeCaches(html$._USBInTransferResult); -dart.setLibraryUri(html$._USBInTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBInTransferResult, I[150]); dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); -html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { +html$._USBInterface = class _USBInterface extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBInterface.__(); + } static new(configuration, interfaceNumber) { - if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); - if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); return html$._USBInterface._create_1(configuration, interfaceNumber); } + static ['_#new#tearOff'](configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[149], 35586, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[149], 35586, 62, "interfaceNumber"); + return html$._USBInterface.new(configuration, interfaceNumber); + } static _create_1(configuration, interfaceNumber) { return new USBInterface(configuration, interfaceNumber); } }; dart.addTypeTests(html$._USBInterface); dart.addTypeCaches(html$._USBInterface); -dart.setLibraryUri(html$._USBInterface, I[148]); +dart.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBInterface, I[150]); dart.registerExtension("USBInterface", html$._USBInterface); -html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { +html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferPacket.__(); + } static new(status, data = null) { - if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); if (data != null) { return html$._USBIsochronousInTransferPacket._create_1(status, data); } return html$._USBIsochronousInTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, data = null) { + if (status == null) dart.nullFailed(I[149], 35603, 50, "status"); + return html$._USBIsochronousInTransferPacket.new(status, data); + } static _create_1(status, data) { return new USBIsochronousInTransferPacket(status, data); } @@ -100538,16 +109845,24 @@ html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket ex }; dart.addTypeTests(html$._USBIsochronousInTransferPacket); dart.addTypeCaches(html$._USBIsochronousInTransferPacket); -dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousInTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[150]); dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); -html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { +html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousInTransferResult.__(); + } static new(packets, data = null) { - if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); if (data != null) { return html$._USBIsochronousInTransferResult._create_1(packets, data); } return html$._USBIsochronousInTransferResult._create_2(packets); } + static ['_#new#tearOff'](packets, data = null) { + if (packets == null) dart.nullFailed(I[149], 35631, 45, "packets"); + return html$._USBIsochronousInTransferResult.new(packets, data); + } static _create_1(packets, data) { return new USBIsochronousInTransferResult(packets, data); } @@ -100557,16 +109872,24 @@ html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult ex }; dart.addTypeTests(html$._USBIsochronousInTransferResult); dart.addTypeCaches(html$._USBIsochronousInTransferResult); -dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousInTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[150]); dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); -html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { +html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferPacket.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); if (bytesWritten != null) { return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); } return html$._USBIsochronousOutTransferPacket._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35659, 51, "status"); + return html$._USBIsochronousOutTransferPacket.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBIsochronousOutTransferPacket(status, bytesWritten); } @@ -100576,29 +109899,45 @@ html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket }; dart.addTypeTests(html$._USBIsochronousOutTransferPacket); dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); -dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousOutTransferPacket, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[150]); dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); -html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { +html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBIsochronousOutTransferResult.__(); + } static new(packets) { - if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); return html$._USBIsochronousOutTransferResult._create_1(packets); } + static ['_#new#tearOff'](packets) { + if (packets == null) dart.nullFailed(I[149], 35687, 46, "packets"); + return html$._USBIsochronousOutTransferResult.new(packets); + } static _create_1(packets) { return new USBIsochronousOutTransferResult(packets); } }; dart.addTypeTests(html$._USBIsochronousOutTransferResult); dart.addTypeCaches(html$._USBIsochronousOutTransferResult); -dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); -html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { +html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._USBOutTransferResult.__(); + } static new(status, bytesWritten = null) { - if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); if (bytesWritten != null) { return html$._USBOutTransferResult._create_1(status, bytesWritten); } return html$._USBOutTransferResult._create_2(status); } + static ['_#new#tearOff'](status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[149], 35706, 40, "status"); + return html$._USBOutTransferResult.new(status, bytesWritten); + } static _create_1(status, bytesWritten) { return new USBOutTransferResult(status, bytesWritten); } @@ -100608,36 +109947,57 @@ html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors. }; dart.addTypeTests(html$._USBOutTransferResult); dart.addTypeCaches(html$._USBOutTransferResult); -dart.setLibraryUri(html$._USBOutTransferResult, I[148]); +dart.setStaticMethodSignature(html$._USBOutTransferResult, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(html$._USBOutTransferResult, I[150]); dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); -html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; +html$._WindowTimers = class _WindowTimers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WindowTimers.__(); + } +}; dart.addTypeTests(html$._WindowTimers); dart.addTypeCaches(html$._WindowTimers); -dart.setLibraryUri(html$._WindowTimers, I[148]); -html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; +dart.setStaticMethodSignature(html$._WindowTimers, () => ['__']); +dart.setLibraryUri(html$._WindowTimers, I[150]); +html$._WorkerLocation = class _WorkerLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._WorkerLocation.__(); + } +}; dart.addTypeTests(html$._WorkerLocation); dart.addTypeCaches(html$._WorkerLocation); html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; -dart.setLibraryUri(html$._WorkerLocation, I[148]); +dart.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); +dart.setLibraryUri(html$._WorkerLocation, I[150]); dart.registerExtension("WorkerLocation", html$._WorkerLocation); -html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; +html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware { + static ['_#_#tearOff']() { + return html$._WorkerNavigator.__(); + } +}; dart.addTypeTests(html$._WorkerNavigator); dart.addTypeCaches(html$._WorkerNavigator); -html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; -dart.setLibraryUri(html$._WorkerNavigator, I[148]); +html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorID, html$.NavigatorOnLine]; +dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); +dart.setLibraryUri(html$._WorkerNavigator, I[150]); dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); -html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; +html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return html$._Worklet.__(); + } +}; dart.addTypeTests(html$._Worklet); dart.addTypeCaches(html$._Worklet); -dart.setLibraryUri(html$._Worklet, I[148]); +dart.setStaticMethodSignature(html$._Worklet, () => ['__']); +dart.setLibraryUri(html$._Worklet, I[150]); dart.registerExtension("Worklet", html$._Worklet); html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35796, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35797, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35797, 23, "v"); this[$_set](k, v); }, T$0.StringAndStringTovoid())); } @@ -100654,9 +110014,9 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); if (!dart.test(this[$containsKey](key))) { this[$_set](key, ifAbsent()); } @@ -100668,14 +110028,14 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + if (f == null) dart.nullFailed(I[149], 35825, 21, "f"); for (let key of this.keys) { let value = this[$_get](key); f(key, dart.nullCast(value, core.String)); } } get keys() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let keys = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100686,7 +110046,7 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin return keys; } get values() { - let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let attributes = dart.nullCheck(this[S$1._element][S._attributes$1]); let values = T$.JSArrayOfString().of([]); for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { let attr = html$._Attr.as(attributes[$_get](i)); @@ -100704,8 +110064,8 @@ html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.Strin } }; (html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._AttributeMap.prototype; dart.addTypeTests(html$._AttributeMap); @@ -100722,10 +110082,10 @@ dart.setGetterSignature(html$._AttributeMap, () => ({ keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); -dart.setLibraryUri(html$._AttributeMap, I[148]); +dart.setLibraryUri(html$._AttributeMap, I[150]); dart.setFieldSignature(html$._AttributeMap, () => ({ __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._AttributeMap, [ 'addAll', @@ -100737,41 +110097,45 @@ dart.defineExtensionMethods(html$._AttributeMap, [ ]); dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); + return new html$._ElementAttributeMap.new(element); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttribute](key)); } _get(key) { - return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + return this[S$1._element][S.$getAttribute](core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35890, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); - this[S$1._element$2][S.$setAttribute](key, value); + if (value == null) dart.nullFailed(I[149], 35890, 40, "value"); + this[S$1._element][S.$setAttribute](key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35904, 23, "node"); return node[S._namespaceUri] == null; } static _remove(element, key) { - if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); - if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + if (element == null) dart.nullFailed(I[149], 35909, 34, "element"); + if (key == null) dart.nullFailed(I[149], 35909, 50, "key"); let value = element.getAttribute(key); element.removeAttribute(key); return value; } }; (html$._ElementAttributeMap.new = function(element) { - if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + if (element == null) dart.nullFailed(I[149], 35880, 32, "element"); html$._ElementAttributeMap.__proto__.new.call(this, element); ; }).prototype = html$._ElementAttributeMap.prototype; @@ -100787,45 +110151,50 @@ dart.setMethodSignature(html$._ElementAttributeMap, () => ({ [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); -dart.setLibraryUri(html$._ElementAttributeMap, I[148]); +dart.setStaticMethodSignature(html$._ElementAttributeMap, () => ['_remove']); +dart.setLibraryUri(html$._ElementAttributeMap, I[150]); dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + static ['_#new#tearOff'](element, _namespace) { + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); + return new html$._NamespacedAttributeMap.new(element, _namespace); + } containsKey(key) { - return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + return typeof key == 'string' && dart.test(this[S$1._element][S._hasAttributeNS](this[S$3._namespace], key)); } _get(key) { - return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + return this[S$1._element][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); } _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35938, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); - this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + if (value == null) dart.nullFailed(I[149], 35938, 40, "value"); + this[S$1._element][S.$setAttributeNS](this[S$3._namespace], key, value); return value$; } remove(key) { - return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element], key) : null; } get length() { return this.keys[$length]; } [S$3._matches](node) { - if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + if (node == null) dart.nullFailed(I[149], 35953, 23, "node"); return node[S._namespaceUri] == this[S$3._namespace]; } static _remove(namespace, element, key) { - if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); - if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + if (element == null) dart.nullFailed(I[149], 35959, 53, "element"); + if (key == null) dart.nullFailed(I[149], 35959, 69, "key"); let value = element.getAttributeNS(namespace, key); element.removeAttributeNS(namespace, key); return value; } }; (html$._NamespacedAttributeMap.new = function(element, _namespace) { - if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + if (element == null) dart.nullFailed(I[149], 35928, 35, "element"); this[S$3._namespace] = _namespace; html$._NamespacedAttributeMap.__proto__.new.call(this, element); ; @@ -100842,7 +110211,8 @@ dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) })); -dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); +dart.setStaticMethodSignature(html$._NamespacedAttributeMap, () => ['_remove']); +dart.setLibraryUri(html$._NamespacedAttributeMap, I[150]); dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) @@ -100850,12 +110220,16 @@ dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + static ['_#new#tearOff'](_attributes) { + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); + return new html$._DataAttributeMap.new(_attributes); + } addAll(other) { T$0.MapOfString$String().as(other); - if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + if (other == null) dart.nullFailed(I[149], 35984, 35, "other"); other[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); - if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + if (k == null) dart.nullFailed(I[149], 35985, 20, "k"); + if (v == null) dart.nullFailed(I[149], 35985, 23, "v"); this._set(k, v); }, T$0.StringAndStringTovoid())); } @@ -100864,7 +110238,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } containsValue(value) { return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); return core.identical(v, value); }, T$.StringTobool())); } @@ -100877,17 +110251,17 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co _set(key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); core.String.as(value); - if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + if (value == null) dart.nullFailed(I[149], 35999, 40, "value"); this[S._attributes$1][$_set](this[S$3._attr](key), value); return value$; } putIfAbsent(key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + if (key == null) dart.nullFailed(I[149], 36003, 29, "key"); T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + if (ifAbsent == null) dart.nullFailed(I[149], 36003, 41, "ifAbsent"); return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); } remove(key) { @@ -100899,10 +110273,10 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } } forEach(f) { - if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + if (f == null) dart.nullFailed(I[149], 36015, 21, "f"); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36016, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36016, 45, "value"); if (dart.test(this[S$3._matches](key))) { f(this[S$3._strip](key), value); } @@ -100911,8 +110285,8 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co get keys() { let keys = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36025, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36025, 45, "value"); if (dart.test(this[S$3._matches](key))) { keys[$add](this[S$3._strip](key)); } @@ -100922,8 +110296,8 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co get values() { let values = T$.JSArrayOfString().of([]); this[S._attributes$1][$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); - if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (key == null) dart.nullFailed(I[149], 36035, 33, "key"); + if (value == null) dart.nullFailed(I[149], 36035, 45, "value"); if (dart.test(this[S$3._matches](key))) { values[$add](value); } @@ -100940,21 +110314,21 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co return !dart.test(this.isEmpty); } [S$3._attr](key) { - if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + if (key == null) dart.nullFailed(I[149], 36051, 23, "key"); return "data-" + dart.str(this[S$3._toHyphenedName](key)); } [S$3._matches](key) { - if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36052, 24, "key"); return key[$startsWith]("data-"); } [S$3._strip](key) { - if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + if (key == null) dart.nullFailed(I[149], 36053, 24, "key"); return this[S$3._toCamelCase](key[$substring](5)); } [S$3._toCamelCase](hyphenedName, opts) { - if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + if (hyphenedName == null) dart.nullFailed(I[149], 36060, 30, "hyphenedName"); let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + if (startUppercase == null) dart.nullFailed(I[149], 36060, 50, "startUppercase"); let segments = hyphenedName[$split]("-"); let start = dart.test(startUppercase) ? 0 : 1; for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { @@ -100966,7 +110340,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co return segments[$join](""); } [S$3._toHyphenedName](word) { - if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + if (word == null) dart.nullFailed(I[149], 36074, 33, "word"); let sb = new core.StringBuffer.new(); for (let i = 0; i < word.length; i = i + 1) { let lower = word[$_get](i)[$toLowerCase](); @@ -100977,7 +110351,7 @@ html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(co } }; (html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); this[S._attributes$1] = _attributes; ; }).prototype = html$._DataAttributeMap.prototype; @@ -101006,7 +110380,7 @@ dart.setGetterSignature(html$._DataAttributeMap, () => ({ keys: core.Iterable$(core.String), [$keys]: core.Iterable$(core.String) })); -dart.setLibraryUri(html$._DataAttributeMap, I[148]); +dart.setLibraryUri(html$._DataAttributeMap, I[150]); dart.setFieldSignature(html$._DataAttributeMap, () => ({ __proto__: dart.getFields(html$._DataAttributeMap.__proto__), [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) @@ -101036,7 +110410,7 @@ html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; }).prototype = html$.CanvasImageSource.prototype; dart.addTypeTests(html$.CanvasImageSource); dart.addTypeCaches(html$.CanvasImageSource); -dart.setLibraryUri(html$.CanvasImageSource, I[148]); +dart.setLibraryUri(html$.CanvasImageSource, I[150]); html$.WindowBase = class WindowBase extends core.Object {}; (html$.WindowBase.new = function() { ; @@ -101044,21 +110418,21 @@ html$.WindowBase = class WindowBase extends core.Object {}; dart.addTypeTests(html$.WindowBase); dart.addTypeCaches(html$.WindowBase); html$.WindowBase[dart.implements] = () => [html$.EventTarget]; -dart.setLibraryUri(html$.WindowBase, I[148]); +dart.setLibraryUri(html$.WindowBase, I[150]); html$.LocationBase = class LocationBase extends core.Object {}; (html$.LocationBase.new = function() { ; }).prototype = html$.LocationBase.prototype; dart.addTypeTests(html$.LocationBase); dart.addTypeCaches(html$.LocationBase); -dart.setLibraryUri(html$.LocationBase, I[148]); +dart.setLibraryUri(html$.LocationBase, I[150]); html$.HistoryBase = class HistoryBase extends core.Object {}; (html$.HistoryBase.new = function() { ; }).prototype = html$.HistoryBase.prototype; dart.addTypeTests(html$.HistoryBase); dart.addTypeCaches(html$.HistoryBase); -dart.setLibraryUri(html$.HistoryBase, I[148]); +dart.setLibraryUri(html$.HistoryBase, I[150]); html$.CssClassSet = class CssClassSet extends core.Object { [Symbol.iterator]() { return new dart.JsIterator(this[$iterator]); @@ -101070,7 +110444,7 @@ html$.CssClassSet = class CssClassSet extends core.Object { dart.addTypeTests(html$.CssClassSet); dart.addTypeCaches(html$.CssClassSet); html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; -dart.setLibraryUri(html$.CssClassSet, I[148]); +dart.setLibraryUri(html$.CssClassSet, I[150]); html$.CssRect = class CssRect extends core.Object { set height(newHeight) { dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); @@ -101079,9 +110453,9 @@ html$.CssRect = class CssRect extends core.Object { dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); } [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); - if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); - let styles = this[S$1._element$2][S.$getComputedStyle](); + if (dimensions == null) dart.nullFailed(I[149], 36625, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[149], 36625, 39, "augmentingMeasurement"); + let styles = this[S$1._element][S.$getComputedStyle](); let val = 0; for (let measurement of dimensions) { if (augmentingMeasurement == html$._MARGIN) { @@ -101110,11 +110484,11 @@ html$.CssRect = class CssRect extends core.Object { return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; } get hashCode() { - return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + return core.Object.hash(this.left, this.top, this.right, this.bottom); } intersection(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + if (other == null) dart.nullFailed(I[149], 36690, 47, "other"); let x0 = math.max(core.num, this.left, other[$left]); let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); if (x0 <= x1) { @@ -101127,12 +110501,12 @@ html$.CssRect = class CssRect extends core.Object { return null; } intersects(other) { - if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + if (other == null) dart.nullFailed(I[149], 36708, 34, "other"); return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); } boundingBox(other) { T$0.RectangleOfnum().as(other); - if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + if (other == null) dart.nullFailed(I[149], 36718, 45, "other"); let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); let left = math.min(core.num, this.left, other[$left]); @@ -101140,11 +110514,11 @@ html$.CssRect = class CssRect extends core.Object { return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); } containsRectangle(another) { - if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + if (another == null) dart.nullFailed(I[149], 36731, 41, "another"); return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); } containsPoint(another) { - if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + if (another == null) dart.nullFailed(I[149], 36741, 33, "another"); return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); } get topLeft() { @@ -101161,8 +110535,8 @@ html$.CssRect = class CssRect extends core.Object { } }; (html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); + this[S$1._element] = _element; ; }).prototype = html$.CssRect.prototype; dart.addTypeTests(html$.CssRect); @@ -101204,10 +110578,10 @@ dart.setSetterSignature(html$.CssRect, () => ({ width: dart.dynamic, [$width]: dart.dynamic })); -dart.setLibraryUri(html$.CssRect, I[148]); +dart.setLibraryUri(html$.CssRect, I[150]); dart.setFieldSignature(html$.CssRect, () => ({ __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element$2]: dart.fieldType(html$.Element) + [S$1._element]: dart.fieldType(html$.Element) })); dart.defineExtensionMethods(html$.CssRect, [ 'toString', @@ -101230,20 +110604,24 @@ dart.defineExtensionAccessors(html$.CssRect, [ 'bottomLeft' ]); html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); + return new html$._ContentCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); } set height(newHeight) { if (html$.Dimension.is(newHeight)) { let newHeightAsDimension = newHeight; if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); - this[S$1._element$2].style[$height] = dart.toString(newHeight); + this[S$1._element].style[$height] = dart.toString(newHeight); } else if (typeof newHeight == 'number') { if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + this[S$1._element].style[$height] = dart.str(newHeight) + "px"; } else { dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); } @@ -101252,23 +110630,23 @@ html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { if (html$.Dimension.is(newWidth)) { let newWidthAsDimension = newWidth; if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - this[S$1._element$2].style[$width] = dart.toString(newWidth); + this[S$1._element].style[$width] = dart.toString(newWidth); } else if (typeof newWidth == 'number') { if (dart.notNull(newWidth) < 0) newWidth = 0; - this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + this[S$1._element].style[$width] = dart.str(newWidth) + "px"; } else { dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); } } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); } }; (html$._ContentCssRect.new = function(element) { - if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + if (element == null) dart.nullFailed(I[149], 36401, 27, "element"); html$._ContentCssRect.__proto__.new.call(this, element); ; }).prototype = html$._ContentCssRect.prototype; @@ -101285,12 +110663,16 @@ dart.setGetterSignature(html$._ContentCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._ContentCssRect, I[148]); +dart.setLibraryUri(html$._ContentCssRect, I[150]); dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + static ['_#new#tearOff'](elementList) { + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); + return new html$._ContentCssListRect.new(elementList); + } set height(newHeight) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36480, 27, "e"); return e[S.$contentEdge].height = newHeight; }, T$0.ElementTovoid())); } @@ -101299,7 +110681,7 @@ html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssR } set width(newWidth) { this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); return e[S.$contentEdge].width = newWidth; }, T$0.ElementTovoid())); } @@ -101308,37 +110690,40 @@ html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssR } }; (html$._ContentCssListRect.new = function(elementList) { - if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + if (elementList == null) dart.nullFailed(I[149], 36467, 37, "elementList"); this[S$3._elementList] = elementList; html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); ; }).prototype = html$._ContentCssListRect.prototype; dart.addTypeTests(html$._ContentCssListRect); dart.addTypeCaches(html$._ContentCssListRect); -dart.setLibraryUri(html$._ContentCssListRect, I[148]); +dart.setLibraryUri(html$._ContentCssListRect, I[150]); dart.setFieldSignature(html$._ContentCssListRect, () => ({ __proto__: dart.getFields(html$._ContentCssListRect.__proto__), [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) })); dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._PaddingCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); } }; (html$._PaddingCssRect.new = function(element) { @@ -101358,26 +110743,29 @@ dart.setGetterSignature(html$._PaddingCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._PaddingCssRect, I[148]); +dart.setLibraryUri(html$._PaddingCssRect, I[150]); dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._BorderCssRect.new(element); + } get height() { - return this[S$1._element$2][S.$offsetHeight]; + return this[S$1._element][S.$offsetHeight]; } set height(value) { super.height = value; } get width() { - return this[S$1._element$2][S.$offsetWidth]; + return this[S$1._element][S.$offsetWidth]; } set width(value) { super.width = value; } get left() { - return this[S$1._element$2].getBoundingClientRect()[$left]; + return this[S$1._element].getBoundingClientRect()[$left]; } get top() { - return this[S$1._element$2].getBoundingClientRect()[$top]; + return this[S$1._element].getBoundingClientRect()[$top]; } }; (html$._BorderCssRect.new = function(element) { @@ -101397,26 +110785,29 @@ dart.setGetterSignature(html$._BorderCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._BorderCssRect, I[148]); +dart.setLibraryUri(html$._BorderCssRect, I[150]); dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + static ['_#new#tearOff'](element) { + return new html$._MarginCssRect.new(element); + } get height() { - return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); } set height(value) { super.height = value; } get width() { - return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + return dart.notNull(this[S$1._element][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); } set width(value) { super.width = value; } get left() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); } get top() { - return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + return dart.notNull(this[S$1._element].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); } }; (html$._MarginCssRect.new = function(element) { @@ -101436,11 +110827,11 @@ dart.setGetterSignature(html$._MarginCssRect, () => ({ top: core.num, [$top]: core.num })); -dart.setLibraryUri(html$._MarginCssRect, I[148]); +dart.setLibraryUri(html$._MarginCssRect, I[150]); dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { [S$3._validateToken](value) { - if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (value == null) dart.nullFailed(I[151], 10, 32, "value"); if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); } @@ -101448,7 +110839,7 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return this.readClasses()[$join](" "); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + if (value == null) dart.nullFailed(I[151], 26, 22, "value"); this[S$3._validateToken](value); let s = this.readClasses(); let result = false; @@ -101469,31 +110860,31 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return this.readClasses().iterator; } forEach(f) { - if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + if (f == null) dart.nullFailed(I[151], 52, 21, "f"); this.readClasses()[$forEach](f); } join(separator = "") { - if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + if (separator == null) dart.nullFailed(I[151], 56, 23, "separator"); return this.readClasses()[$join](separator); } map(T, f) { - if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + if (f == null) dart.nullFailed(I[151], 58, 24, "f"); return this.readClasses()[$map](T, f); } where(f) { - if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + if (f == null) dart.nullFailed(I[151], 60, 31, "f"); return this.readClasses()[$where](f); } expand(T, f) { - if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + if (f == null) dart.nullFailed(I[151], 62, 37, "f"); return this.readClasses()[$expand](T, f); } every(f) { - if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + if (f == null) dart.nullFailed(I[151], 65, 19, "f"); return this.readClasses()[$every](f); } any(f) { - if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + if (f == null) dart.nullFailed(I[151], 67, 17, "f"); return this.readClasses()[$any](f); } get isEmpty() { @@ -101507,11 +110898,11 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } reduce(combine) { T$0.StringAndStringToString().as(combine); - if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + if (combine == null) dart.nullFailed(I[151], 75, 24, "combine"); return this.readClasses()[$reduce](combine); } fold(T, initialValue, combine) { - if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + if (combine == null) dart.nullFailed(I[151], 79, 31, "combine"); return this.readClasses()[$fold](T, initialValue, combine); } contains(value) { @@ -101523,14 +110914,14 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( return dart.test(this.contains(value)) ? core.String.as(value) : null; } add(value) { - let t241; + let t222; core.String.as(value); - if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + if (value == null) dart.nullFailed(I[151], 107, 19, "value"); this[S$3._validateToken](value); - return core.bool.as((t241 = this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return core.bool.as((t222 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[151], 111, 20, "s"); return s.add(value); - }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + }, T$0.SetOfStringTobool())), t222 == null ? false : t222)); } remove(value) { if (!(typeof value == 'string')) return false; @@ -101542,62 +110933,62 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + if (s == null) dart.nullFailed(I[151], 138, 13, "s"); return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); }, T$0.SetOfStringTovoid())); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 147, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + if (s == null) dart.nullFailed(I[151], 148, 13, "s"); return s.removeAll(iterable); }, T$0.SetOfStringTovoid())); } toggleAll(iterable, shouldAdd = null) { - if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 161, 35, "iterable"); iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + if (e == null) dart.nullFailed(I[151], 162, 23, "e"); return this.toggle(e, shouldAdd); - }, T$.StringTovoid())); + }, T$0.StringTovoid())); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + if (s == null) dart.nullFailed(I[151], 166, 13, "s"); return s.retainAll(iterable); }, T$0.SetOfStringTovoid())); } removeWhere(test) { - if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + if (test == null) dart.nullFailed(I[151], 169, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + if (s == null) dart.nullFailed(I[151], 170, 13, "s"); return s.removeWhere(test); }, T$0.SetOfStringTovoid())); } retainWhere(test) { - if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + if (test == null) dart.nullFailed(I[151], 173, 25, "test"); this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + if (s == null) dart.nullFailed(I[151], 174, 13, "s"); return s.retainWhere(test); }, T$0.SetOfStringTovoid())); } containsAll(collection) { - if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + if (collection == null) dart.nullFailed(I[151], 177, 38, "collection"); return this.readClasses().containsAll(collection); } intersection(other) { - if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + if (other == null) dart.nullFailed(I[151], 180, 41, "other"); return this.readClasses().intersection(other); } union(other) { T$0.SetOfString().as(other); - if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + if (other == null) dart.nullFailed(I[151], 183, 33, "other"); return this.readClasses().union(other); } difference(other) { - if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + if (other == null) dart.nullFailed(I[151], 185, 39, "other"); return this.readClasses().difference(other); } get first() { @@ -101611,58 +111002,58 @@ html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$( } toList(opts) { let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + if (growable == null) dart.nullFailed(I[151], 190, 29, "growable"); return this.readClasses()[$toList]({growable: growable}); } toSet() { return this.readClasses().toSet(); } take(n) { - if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + if (n == null) dart.nullFailed(I[151], 193, 29, "n"); return this.readClasses()[$take](n); } takeWhile(test) { - if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + if (test == null) dart.nullFailed(I[151], 194, 35, "test"); return this.readClasses()[$takeWhile](test); } skip(n) { - if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + if (n == null) dart.nullFailed(I[151], 196, 29, "n"); return this.readClasses()[$skip](n); } skipWhile(test) { - if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + if (test == null) dart.nullFailed(I[151], 197, 35, "test"); return this.readClasses()[$skipWhile](test); } firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + if (test == null) dart.nullFailed(I[151], 199, 26, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$firstWhere](test, {orElse: orElse}); } lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + if (test == null) dart.nullFailed(I[151], 201, 25, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$lastWhere](test, {orElse: orElse}); } singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + if (test == null) dart.nullFailed(I[151], 203, 27, "test"); let orElse = opts && 'orElse' in opts ? opts.orElse : null; T$0.VoidToNString().as(orElse); return this.readClasses()[$singleWhere](test, {orElse: orElse}); } elementAt(index) { - if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + if (index == null) dart.nullFailed(I[151], 205, 24, "index"); return this.readClasses()[$elementAt](index); } clear() { this.modify(dart.fn(s => { - if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + if (s == null) dart.nullFailed(I[151], 209, 13, "s"); return s.clear(); }, T$0.SetOfStringTovoid())); } modify(f) { - if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + if (f == null) dart.nullFailed(I[151], 222, 10, "f"); let s = this.readClasses(); let ret = f(s); this.writeClasses(s); @@ -101703,7 +111094,8 @@ dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); +dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); +dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); dart.defineExtensionMethods(html_common.CssClassSetImpl, [ 'toString', 'forEach', @@ -101743,53 +111135,62 @@ dart.defineLazy(html_common.CssClassSetImpl, { }, false); html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { static new(elements) { - if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + if (e == null) dart.nullFailed(I[149], 36777, 62, "e"); return e[S.$classes]; }, T$0.ElementToCssClassSet())))); } + static ['_#new#tearOff'](elements) { + if (elements == null) dart.nullFailed(I[149], 36775, 54, "elements"); + return html$._MultiElementCssClassSet.new(elements); + } + static ['_#_#tearOff'](_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); + return new html$._MultiElementCssClassSet.__(_elementIterable, _sets); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36784, 36, "e"); return s.addAll(e.readClasses()); }, T$0.CssClassSetImplTovoid())); return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + if (s == null) dart.nullFailed(I[149], 36788, 33, "s"); let classes = s[$join](" "); for (let e of this[S$0._elementIterable]) { e.className = classes; } } modify(f) { - if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + if (f == null) dart.nullFailed(I[149], 36804, 10, "f"); this[S$3._sets][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + if (e == null) dart.nullFailed(I[149], 36805, 36, "e"); return e.modify(f); }, T$0.CssClassSetImplTovoid())); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + if (value == null) dart.nullFailed(I[149], 36815, 22, "value"); return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); - if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + if (changed == null) dart.nullFailed(I[149], 36817, 13, "changed"); + if (e == null) dart.nullFailed(I[149], 36817, 38, "e"); return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } remove(value) { return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { - if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); - if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + if (changed == null) dart.nullFailed(I[149], 36828, 20, "changed"); + if (e == null) dart.nullFailed(I[149], 36828, 45, "e"); return dart.test(e.remove(value)) || dart.test(changed); }, T$0.boolAndCssClassSetImplTobool())); } }; (html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { - if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + if (_elementIterable == null) dart.nullFailed(I[149], 36780, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); this[S$0._elementIterable] = _elementIterable; this[S$3._sets] = _sets; ; @@ -101801,16 +111202,21 @@ dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); -dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); +dart.setStaticMethodSignature(html$._MultiElementCssClassSet, () => ['new']); +dart.setLibraryUri(html$._MultiElementCssClassSet, I[150]); dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) })); html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + return new html$._ElementCssClassSet.new(_element); + } readClasses() { let s = new (T$0._IdentityHashSetOfString()).new(); - let classname = this[S$1._element$2].className; + let classname = this[S$1._element].className; for (let name of classname[$split](" ")) { let trimmed = name[$trim](); if (!trimmed[$isEmpty]) { @@ -101820,11 +111226,11 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); - this[S$1._element$2].className = s[$join](" "); + if (s == null) dart.nullFailed(I[149], 36849, 33, "s"); + this[S$1._element].className = s[$join](" "); } get length() { - return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element])); } get isEmpty() { return this.length === 0; @@ -101833,81 +111239,81 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla return this.length !== 0; } clear() { - this[S$1._element$2].className = ""; + this[S$1._element].className = ""; } contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + return html$._ElementCssClassSet._contains(this[S$1._element], value); } add(value) { core.String.as(value); - if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); - return html$._ElementCssClassSet._add(this[S$1._element$2], value); + if (value == null) dart.nullFailed(I[149], 36865, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element], value); } remove(value) { - return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element], value)); } toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); - return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + if (value == null) dart.nullFailed(I[149], 36873, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element], value, shouldAdd); } addAll(iterable) { T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36877, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element], iterable); } removeAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); - html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + if (iterable == null) dart.nullFailed(I[149], 36881, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element], iterable); } retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + if (iterable == null) dart.nullFailed(I[149], 36885, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], dart.bind(iterable[$toSet](), 'contains'), false); } removeWhere(test) { - if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + if (test == null) dart.nullFailed(I[149], 36889, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); } retainWhere(test) { - if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + if (test == null) dart.nullFailed(I[149], 36893, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element], test, false); } static _contains(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + if (_element == null) dart.nullFailed(I[149], 36897, 33, "_element"); return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); } static _add(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); - if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + if (_element == null) dart.nullFailed(I[149], 36902, 28, "_element"); + if (value == null) dart.nullFailed(I[149], 36902, 45, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); html$._ElementCssClassSet._classListAdd(list, value); return added; } static _remove(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36911, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36911, 48, "value"); let list = html$._ElementCssClassSet._classListOf(_element); let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); html$._ElementCssClassSet._classListRemove(list, value); return removed; } static _toggle(_element, value, shouldAdd) { - if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); - if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + if (_element == null) dart.nullFailed(I[149], 36918, 31, "_element"); + if (value == null) dart.nullFailed(I[149], 36918, 48, "value"); return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); } static _toggleDefault(_element, value) { - if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); - if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + if (_element == null) dart.nullFailed(I[149], 36927, 38, "_element"); + if (value == null) dart.nullFailed(I[149], 36927, 55, "value"); let list = html$._ElementCssClassSet._classListOf(_element); return html$._ElementCssClassSet._classListToggle1(list, value); } static _toggleOnOff(_element, value, shouldAdd) { - let t241; - if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); - if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let t222; + if (_element == null) dart.nullFailed(I[149], 36932, 36, "_element"); + if (value == null) dart.nullFailed(I[149], 36932, 53, "value"); let list = html$._ElementCssClassSet._classListOf(_element); - if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + if (dart.test((t222 = shouldAdd, t222 == null ? false : t222))) { html$._ElementCssClassSet._classListAdd(list, value); return true; } else { @@ -101916,25 +111322,25 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla } } static _addAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36947, 31, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36947, 58, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListAdd(list, value); } } static _removeAll(_element, iterable) { - if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); - if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + if (_element == null) dart.nullFailed(I[149], 36954, 34, "_element"); + if (iterable == null) dart.nullFailed(I[149], 36954, 62, "iterable"); let list = html$._ElementCssClassSet._classListOf(_element); for (let value of iterable) { html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); } } static _removeWhere(_element, test, doRemove) { - if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); - if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); - if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + if (_element == null) dart.nullFailed(I[149], 36962, 15, "_element"); + if (test == null) dart.nullFailed(I[149], 36962, 30, "test"); + if (doRemove == null) dart.nullFailed(I[149], 36962, 54, "doRemove"); let list = html$._ElementCssClassSet._classListOf(_element); let i = 0; while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { @@ -101947,47 +111353,47 @@ html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssCla } } static _classListOf(e) { - if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); return e.classList; } static _classListLength(list) { - if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); return list.length; } static _classListContains(list, value) { - if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); - if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + if (list == null) dart.nullFailed(I[149], 36987, 47, "list"); + if (value == null) dart.nullFailed(I[149], 36987, 60, "value"); return list.contains(value); } static _classListContainsBeforeAddOrRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); - if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + if (list == null) dart.nullFailed(I[149], 36991, 24, "list"); + if (value == null) dart.nullFailed(I[149], 36991, 37, "value"); return list.contains(value); } static _classListAdd(list, value) { - if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); - if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + if (list == null) dart.nullFailed(I[149], 37000, 42, "list"); + if (value == null) dart.nullFailed(I[149], 37000, 55, "value"); list.add(value); } static _classListRemove(list, value) { - if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); - if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + if (list == null) dart.nullFailed(I[149], 37005, 45, "list"); + if (value == null) dart.nullFailed(I[149], 37005, 58, "value"); list.remove(value); } static _classListToggle1(list, value) { - if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); - if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + if (list == null) dart.nullFailed(I[149], 37010, 46, "list"); + if (value == null) dart.nullFailed(I[149], 37010, 59, "value"); return list.toggle(value); } static _classListToggle2(list, value, shouldAdd) { - if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); - if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + if (list == null) dart.nullFailed(I[149], 37015, 20, "list"); + if (value == null) dart.nullFailed(I[149], 37015, 33, "value"); return list.toggle(value, shouldAdd); } }; (html$._ElementCssClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); - this[S$1._element$2] = _element; + if (_element == null) dart.nullFailed(I[149], 36834, 28, "_element"); + this[S$1._element] = _element; ; }).prototype = html$._ElementCssClassSet.prototype; dart.addTypeTests(html$._ElementCssClassSet); @@ -101997,14 +111403,55 @@ dart.setMethodSignature(html$._ElementCssClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) })); -dart.setLibraryUri(html$._ElementCssClassSet, I[148]); +dart.setStaticMethodSignature(html$._ElementCssClassSet, () => ['_contains', '_add', '_remove', '_toggle', '_toggleDefault', '_toggleOnOff', '_addAll', '_removeAll', '_removeWhere', '_classListOf', '_classListLength', '_classListContains', '_classListContainsBeforeAddOrRemove', '_classListAdd', '_classListRemove', '_classListToggle1', '_classListToggle2']); +dart.setLibraryUri(html$._ElementCssClassSet, I[150]); dart.setFieldSignature(html$._ElementCssClassSet, () => ({ __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), - [S$1._element$2]: dart.finalFieldType(html$.Element) + [S$1._element]: dart.finalFieldType(html$.Element) })); dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); html$.Dimension = class Dimension extends core.Object { + static ['_#percent#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); + return new html$.Dimension.percent(_value); + } + static ['_#px#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); + return new html$.Dimension.px(_value); + } + static ['_#pc#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); + return new html$.Dimension.pc(_value); + } + static ['_#pt#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); + return new html$.Dimension.pt(_value); + } + static ['_#inch#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); + return new html$.Dimension.inch(_value); + } + static ['_#cm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); + return new html$.Dimension.cm(_value); + } + static ['_#mm#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); + return new html$.Dimension.mm(_value); + } + static ['_#em#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); + return new html$.Dimension.em(_value); + } + static ['_#ex#tearOff'](_value) { + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); + return new html$.Dimension.ex(_value); + } + static ['_#css#tearOff'](cssValue) { + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); + return new html$.Dimension.css(cssValue); + } toString() { return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); } @@ -102013,61 +111460,61 @@ html$.Dimension = class Dimension extends core.Object { } }; (html$.Dimension.percent = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + if (_value == null) dart.nullFailed(I[149], 37030, 26, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "%"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.px = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37033, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "px"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pc = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37036, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pc"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.pt = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37039, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "pt"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.inch = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + if (_value == null) dart.nullFailed(I[149], 37042, 23, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "in"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.cm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37045, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "cm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.mm = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37048, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "mm"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.em = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37057, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "em"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.ex = function(_value) { - if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + if (_value == null) dart.nullFailed(I[149], 37066, 21, "_value"); this[S$1._value$7] = _value; this[S$3._unit] = "ex"; ; }).prototype = html$.Dimension.prototype; (html$.Dimension.css = function(cssValue) { - if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + if (cssValue == null) dart.nullFailed(I[149], 37077, 24, "cssValue"); this[S$3._unit] = ""; this[S$1._value$7] = 0; if (cssValue === "") cssValue = "0px"; @@ -102088,7 +111535,7 @@ dart.setGetterSignature(html$.Dimension, () => ({ __proto__: dart.getGetters(html$.Dimension.__proto__), value: core.num })); -dart.setLibraryUri(html$.Dimension, I[148]); +dart.setLibraryUri(html$.Dimension, I[150]); dart.setFieldSignature(html$.Dimension, () => ({ __proto__: dart.getFields(html$.Dimension.__proto__), [S$1._value$7]: dart.fieldType(core.num), @@ -102097,41 +111544,45 @@ dart.setFieldSignature(html$.Dimension, () => ({ dart.defineExtensionMethods(html$.Dimension, ['toString']); const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); html$.EventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class EventStreamProvider extends core.Object { get [S$3._eventType$1]() { - return this[S$3._eventType$2]; + return this[S$3._eventType]; } set [S$3._eventType$1](value) { super[S$3._eventType$1] = value; } + static ['_#new#tearOff'](T, _eventType) { + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + return new (html$.EventStreamProvider$(T)).new(_eventType); + } forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37141, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); } forElement(e, opts) { - if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + if (e == null) dart.nullFailed(I[149], 37166, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37166, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } [S$1._forElementList](e, opts) { - if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + if (e == null) dart.nullFailed(I[149], 37185, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37186, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); } getEventType(target) { - if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + if (target == null) dart.nullFailed(I[149], 37197, 35, "target"); return this[S$3._eventType$1]; } } (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); - this[S$3._eventType$2] = _eventType; + if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); + this[S$3._eventType] = _eventType; ; }).prototype = EventStreamProvider.prototype; dart.addTypeTests(EventStreamProvider); @@ -102144,7 +111595,7 @@ html$.EventStreamProvider$ = dart.generic(T => { [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), getEventType: dart.fnType(core.String, [html$.EventTarget]) })); - dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setLibraryUri(EventStreamProvider, I[150]); dart.setFieldSignature(EventStreamProvider, () => ({ __proto__: dart.getFields(EventStreamProvider.__proto__), [S$3._eventType$1]: dart.finalFieldType(core.String) @@ -102164,15 +111615,20 @@ html$.ElementStream$ = dart.generic(T => { ElementStream.prototype[_is_ElementStream_default] = true; dart.addTypeCaches(ElementStream); ElementStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(ElementStream, I[148]); + dart.setLibraryUri(ElementStream, I[150]); return ElementStream; }); html$.ElementStream = html$.ElementStream$(); dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); const _is__EventStream_default = Symbol('_is__EventStream_default'); html$._EventStream$ = dart.generic(T => { - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _EventStream extends async.Stream$(T) { + static ['_#new#tearOff'](T, _target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); + return new (html$._EventStream$(T)).new(_target, _eventType, _useCapture); + } asBroadcastStream(opts) { let onListen = opts && 'onListen' in opts ? opts.onListen : null; let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; @@ -102185,12 +111641,12 @@ html$._EventStream$ = dart.generic(T => { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); } } (_EventStream.new = function(_target, _eventType, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37237, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37237, 52, "_useCapture"); this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102204,7 +111660,7 @@ html$._EventStream$ = dart.generic(T => { __proto__: dart.getMethods(_EventStream.__proto__), listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) })); - dart.setLibraryUri(_EventStream, I[148]); + dart.setLibraryUri(_EventStream, I[150]); dart.setFieldSignature(_EventStream, () => ({ __proto__: dart.getFields(_EventStream.__proto__), [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), @@ -102217,24 +111673,27 @@ html$._EventStream = html$._EventStream$(); dart.addTypeTests(html$._EventStream, _is__EventStream_default); const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); html$._ElementEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_EventStreamSubscriptionOfT = () => (__t$_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); class _ElementEventStreamImpl extends html$._EventStream$(T) { + static ['_#new#tearOff'](T, target, eventType, useCapture) { + return new (html$._ElementEventStreamImpl$(T)).new(target, eventType, useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37270, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); - return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + if (onData == null) dart.nullFailed(I[149], 37276, 38, "onData"); + return new (__t$_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); } } (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { @@ -102250,44 +111709,50 @@ html$._ElementEventStreamImpl$ = dart.generic(T => { matches: dart.fnType(async.Stream$(T), [core.String]), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementEventStreamImpl, I[150]); return _ElementEventStreamImpl; }); html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); html$._ElementListEventStreamImpl$ = dart.generic(T => { - var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); - var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); - var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$TTobool = () => (__t$TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var __t$TToT = () => (__t$TToT = dart.constFn(dart.fnType(T, [T])))(); + var __t$_StreamPoolOfT = () => (__t$_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); class _ElementListEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, _targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); + return new (html$._ElementListEventStreamImpl$(T)).new(_targetList, _eventType, _useCapture); + } matches(selector) { - if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + if (selector == null) dart.nullFailed(I[149], 37294, 28, "selector"); return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); return html$._matchesWithAncestors(event, selector); - }, TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + }, __t$TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); e[S._selector] = selector; return e; - }, TToT())); + }, __t$TToT())); } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - let pool = new (_StreamPoolOfT()).broadcast(); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); } return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } capture(onData) { - if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); - let pool = new (_StreamPoolOfT()).broadcast(); + if (onData == null) dart.nullFailed(I[149], 37311, 38, "onData"); + let pool = new (__t$_StreamPoolOfT()).broadcast(); for (let target of this[S$3._targetList]) { - pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); } return pool.stream.listen(onData); } @@ -102301,9 +111766,9 @@ html$._ElementListEventStreamImpl$ = dart.generic(T => { } } (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { - if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); - if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + if (_targetList == null) dart.nullFailed(I[149], 37292, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[149], 37292, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37292, 47, "_useCapture"); this[S$3._targetList] = _targetList; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; @@ -102320,7 +111785,7 @@ html$._ElementListEventStreamImpl$ = dart.generic(T => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) })); - dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setLibraryUri(_ElementListEventStreamImpl, I[150]); dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), @@ -102334,6 +111799,11 @@ dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStream const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); html$._EventStreamSubscription$ = dart.generic(T => { class _EventStreamSubscription extends async.StreamSubscription$(T) { + static ['_#new#tearOff'](T, _target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); + return new (html$._EventStreamSubscription$(T)).new(_target, _eventType, onData, _useCapture); + } cancel() { if (dart.test(this[S$3._canceled])) return _internal.nullFuture; this[S$3._unlisten](); @@ -102350,7 +111820,7 @@ html$._EventStreamSubscription$ = dart.generic(T => { } this[S$3._unlisten](); this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + if (e == null) dart.nullFailed(I[149], 37367, 29, "e"); return dart.dcall(handleData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102391,14 +111861,14 @@ html$._EventStreamSubscription$ = dart.generic(T => { } } (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { - if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); - if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + if (_eventType == null) dart.nullFailed(I[149], 37334, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[149], 37334, 66, "_useCapture"); this[S$3._pauseCount$1] = 0; this[S$3._target$2] = _target; this[S$3._eventType$1] = _eventType; this[S$3._useCapture] = _useCapture; this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + if (e == null) dart.nullFailed(I[149], 37340, 33, "e"); return dart.dcall(onData, [e]); }, T$0.EventTovoid())); this[S$3._tryResume](); @@ -102423,7 +111893,7 @@ html$._EventStreamSubscription$ = dart.generic(T => { [S$3._canceled]: core.bool, isPaused: core.bool })); - dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setLibraryUri(_EventStreamSubscription, I[150]); dart.setFieldSignature(_EventStreamSubscription, () => ({ __proto__: dart.getFields(_EventStreamSubscription.__proto__), [S$3._pauseCount$1]: dart.fieldType(core.int), @@ -102447,15 +111917,19 @@ html$.CustomStream$ = dart.generic(T => { CustomStream.prototype[_is_CustomStream_default] = true; dart.addTypeCaches(CustomStream); CustomStream[dart.implements] = () => [async.Stream$(T)]; - dart.setLibraryUri(CustomStream, I[148]); + dart.setLibraryUri(CustomStream, I[150]); return CustomStream; }); html$.CustomStream = html$.CustomStream$(); dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); html$._CustomEventStreamImpl$ = dart.generic(T => { - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _CustomEventStreamImpl extends async.Stream$(T) { + static ['_#new#tearOff'](T, type) { + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); + return new (html$._CustomEventStreamImpl$(T)).new(type); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -102472,14 +111946,14 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { } add(event) { T.as(event); - if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event == null) dart.nullFailed(I[149], 37450, 14, "event"); if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); } } (_CustomEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + if (type == null) dart.nullFailed(I[149], 37432, 33, "type"); this[S$3._type$5] = type; - this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); _CustomEventStreamImpl.__proto__.new.call(this); ; }).prototype = _CustomEventStreamImpl.prototype; @@ -102492,7 +111966,7 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), add: dart.fnType(dart.void, [dart.nullable(core.Object)]) })); - dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setLibraryUri(_CustomEventStreamImpl, I[150]); dart.setFieldSignature(_CustomEventStreamImpl, () => ({ __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), [S$3._streamController]: dart.fieldType(async.StreamController$(T)), @@ -102502,6 +111976,156 @@ html$._CustomEventStreamImpl$ = dart.generic(T => { }); html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); +html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + static ['_#new#tearOff'](wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + return new html$._WrappedEvent.new(wrapped); + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[149], 40783, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } +}; +(html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[149], 40761, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; +}).prototype = html$._WrappedEvent.prototype; +dart.addTypeTests(html$._WrappedEvent); +dart.addTypeCaches(html$._WrappedEvent); +html$._WrappedEvent[dart.implements] = () => [html$.Event]; +dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) +})); +dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic +})); +dart.setLibraryUri(html$._WrappedEvent, I[150]); +dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); +dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' +]); html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { get keyCode() { return this[S$3._shadowKeyCode]; @@ -102531,33 +112155,61 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); return _js_helper.makeLeafDispatchRecord(interceptor); } + static ['_#wrap#tearOff'](parent) { + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); + return new html$.KeyEvent.wrap(parent); + } + static ['_#new#tearOff'](type, opts) { + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + return html$.KeyEvent.new(type, {view: view, canBubble: canBubble, cancelable: cancelable, keyCode: keyCode, charCode: charCode, location: location, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, currentTarget: currentTarget}); + } static new(type, opts) { - if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + if (type == null) dart.nullFailed(I[149], 40580, 27, "type"); let view = opts && 'view' in opts ? opts.view : null; let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; - if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + if (canBubble == null) dart.nullFailed(I[149], 40582, 12, "canBubble"); let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; - if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + if (cancelable == null) dart.nullFailed(I[149], 40583, 12, "cancelable"); let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; - if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 40584, 11, "keyCode"); let charCode = opts && 'charCode' in opts ? opts.charCode : 0; - if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + if (charCode == null) dart.nullFailed(I[149], 40585, 11, "charCode"); let location = opts && 'location' in opts ? opts.location : 1; - if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + if (location == null) dart.nullFailed(I[149], 40586, 11, "location"); let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; - if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + if (ctrlKey == null) dart.nullFailed(I[149], 40587, 12, "ctrlKey"); let altKey = opts && 'altKey' in opts ? opts.altKey : false; - if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + if (altKey == null) dart.nullFailed(I[149], 40588, 12, "altKey"); let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; - if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40589, 12, "shiftKey"); let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; - if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + if (metaKey == null) dart.nullFailed(I[149], 40590, 12, "metaKey"); let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; if (view == null) { view = html$.window; } let eventObj = null; - eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); Object.defineProperty(eventObj, 'keyCode', { get: function() { return this.keyCodeVal; @@ -102574,11 +112226,11 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { } }); let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj[S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); eventObj.keyCodeVal = keyCode; eventObj.charCodeVal = charCode; _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); - let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + let keyEvent = new html$.KeyEvent.wrap(eventObj); if (keyEvent[S$3._currentTarget] == null) { keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; } @@ -102591,8 +112243,8 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { return this[S$3._currentTarget]; } static _convertToHexString(charCode, keyCode) { - if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); - if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode == null) dart.nullFailed(I[149], 40652, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[149], 40652, 55, "keyCode"); if (charCode !== -1) { let hex = charCode[$toRadixString](16); let sb = new core.StringBuffer.new("U+"); @@ -102632,10 +112284,10 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { return this[S$3._parent$2][S$.$view]; } [S$._initUIEvent](type, canBubble, cancelable, view, detail) { - if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); - if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + if (type == null) dart.nullFailed(I[149], 40694, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40694, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40694, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[149], 40694, 71, "detail"); dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); } get [S$3._shadowKeyIdentifier]() { @@ -102654,18 +112306,18 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); } [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { - if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); - if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); - if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); - if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); - if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); - if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); - if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); - if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + if (type == null) dart.nullFailed(I[149], 40709, 14, "type"); + if (canBubble == null) dart.nullFailed(I[149], 40710, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[149], 40711, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[149], 40713, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[149], 40715, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[149], 40716, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[149], 40717, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[149], 40718, 12, "metaKey"); dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); } getModifierState(keyArgument) { - if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + if (keyArgument == null) dart.nullFailed(I[149], 40723, 32, "keyArgument"); return dart.throw(new core.UnimplementedError.new()); } get repeat() { @@ -102679,7 +112331,7 @@ html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { } }; (html$.KeyEvent.wrap = function(parent) { - if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + if (parent == null) dart.nullFailed(I[149], 40566, 31, "parent"); this[S$3._currentTarget] = null; this[S$3._parent$2] = parent; this[S$3._shadowAltKey] = false; @@ -102702,6 +112354,7 @@ dart.setMethodSignature(html$.KeyEvent, () => ({ getModifierState: dart.fnType(core.bool, [core.String]), [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) })); +dart.setStaticMethodSignature(html$.KeyEvent, () => ['_makeRecord', 'new', '_convertToHexString']); dart.setGetterSignature(html$.KeyEvent, () => ({ __proto__: dart.getGetters(html$.KeyEvent.__proto__), keyCode: core.int, @@ -102745,7 +112398,8 @@ dart.setGetterSignature(html$.KeyEvent, () => ({ isComposed: core.bool, [S$._get_view]: dart.dynamic })); -dart.setLibraryUri(html$.KeyEvent, I[148]); +dart.setStaticGetterSignature(html$.KeyEvent, () => ['canUseDispatchEvent']); +dart.setLibraryUri(html$.KeyEvent, I[150]); dart.setFieldSignature(html$.KeyEvent, () => ({ __proto__: dart.getFields(html$.KeyEvent.__proto__), [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), @@ -102754,6 +112408,7 @@ dart.setFieldSignature(html$.KeyEvent, () => ({ [S$3._shadowKeyCode]: dart.fieldType(core.int), [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) })); +dart.setStaticFieldSignature(html$.KeyEvent, () => ['_keyboardEventDispatchRecord', 'keyDownEvent', 'keyUpEvent', 'keyPressEvent']); dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); dart.defineExtensionAccessors(html$.KeyEvent, [ 'keyCode', @@ -102780,20 +112435,30 @@ dart.defineLazy(html$.KeyEvent, { /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { return new html$._KeyboardEventHandler.new("keydown"); }, - set keyDownEvent(_) {}, + set keyDownEvent(value) { + if (value == null) dart.nullFailed(I[149], 40667, 40, "keyDownEvent"); + }, /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { return new html$._KeyboardEventHandler.new("keyup"); }, - set keyUpEvent(_) {}, + set keyUpEvent(value) { + if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); + }, /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { return new html$._KeyboardEventHandler.new("keypress"); }, - set keyPressEvent(_) {} + set keyPressEvent(value) { + if (value == null) dart.nullFailed(I[149], 40673, 40, "keyPressEvent"); + } }, false); html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + static ['_#new#tearOff'](type) { + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); + return new html$._CustomKeyEventStreamImpl.new(type); + } add(event) { html$.KeyEvent.as(event); - if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event == null) dart.nullFailed(I[149], 37459, 21, "event"); if (event.type == this[S$3._type$5]) { dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); this[S$3._streamController].add(event); @@ -102801,33 +112466,37 @@ html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$. } }; (html$._CustomKeyEventStreamImpl.new = function(type) { - if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + if (type == null) dart.nullFailed(I[149], 37457, 36, "type"); html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); ; }).prototype = html$._CustomKeyEventStreamImpl.prototype; dart.addTypeTests(html$._CustomKeyEventStreamImpl); dart.addTypeCaches(html$._CustomKeyEventStreamImpl); html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; -dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); +dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[150]); const _is__StreamPool_default = Symbol('_is__StreamPool_default'); html$._StreamPool$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var __t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(__t$StreamOfT(), __t$StreamSubscriptionOfT())))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$TTovoid = () => (__t$TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); class _StreamPool extends core.Object { + static ['_#broadcast#tearOff'](T) { + return new (html$._StreamPool$(T)).broadcast(); + } get stream() { return dart.nullCheck(this[S$3._controller$2]).stream; } add(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37502, 22, "stream"); if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; - this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + this[S$3._subscriptions][$_set](stream, stream.listen(__t$TTovoid().as(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add')), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); } remove(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[149], 37509, 25, "stream"); let subscription = this[S$3._subscriptions][$remove](stream); if (subscription != null) subscription.cancel(); } @@ -102841,8 +112510,8 @@ html$._StreamPool$ = dart.generic(T => { } (_StreamPool.broadcast = function() { this[S$3._controller$2] = null; - this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); - this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + this[S$3._subscriptions] = new (__t$LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = __t$StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); }).prototype = _StreamPool.prototype; dart.addTypeTests(_StreamPool); _StreamPool.prototype[_is__StreamPool_default] = true; @@ -102857,7 +112526,7 @@ html$._StreamPool$ = dart.generic(T => { __proto__: dart.getGetters(_StreamPool.__proto__), stream: async.Stream$(T) })); - dart.setLibraryUri(_StreamPool, I[148]); + dart.setLibraryUri(_StreamPool, I[150]); dart.setFieldSignature(_StreamPool, () => ({ __proto__: dart.getFields(_StreamPool.__proto__), [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), @@ -102869,9 +112538,9 @@ html$._StreamPool = html$._StreamPool$(); dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); html$._CustomEventStreamProvider$ = dart.generic(T => { - var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); - var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); - var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + var __t$_EventStreamOfT = () => (__t$_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var __t$_ElementEventStreamImplOfT = () => (__t$_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var __t$_ElementListEventStreamImplOfT = () => (__t$_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); class _CustomEventStreamProvider extends core.Object { get [S$3._eventTypeGetter$1]() { return this[S$3._eventTypeGetter]; @@ -102879,30 +112548,33 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { set [S$3._eventTypeGetter$1](value) { super[S$3._eventTypeGetter$1] = value; } + static ['_#new#tearOff'](T, _eventTypeGetter) { + return new (html$._CustomEventStreamProvider$(T)).new(_eventTypeGetter); + } forTarget(e, opts) { - let t241; + let t222; let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); - return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37533, 45, "useCapture"); + return new (__t$_EventStreamOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } forElement(e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37537, 39, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); - return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37537, 48, "useCapture"); + return new (__t$_ElementEventStreamImplOfT()).new(e, (t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222])), useCapture); } [S$1._forElementList](e, opts) { - let t241; - if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let t222; + if (e == null) dart.nullFailed(I[149], 37541, 57, "e"); let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); - return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + if (useCapture == null) dart.nullFailed(I[149], 37542, 13, "useCapture"); + return new (__t$_ElementListEventStreamImplOfT()).new(e, core.String.as((t222 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))), useCapture); } getEventType(target) { - let t241; - if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); - return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + let t222; + if (target == null) dart.nullFailed(I[149], 37547, 35, "target"); + return core.String.as((t222 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t222]))); } get [S$3._eventType$1]() { return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); @@ -102927,7 +112599,7 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), [S$3._eventType$1]: core.String })); - dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setLibraryUri(_CustomEventStreamProvider, I[150]); dart.setFieldSignature(_CustomEventStreamProvider, () => ({ __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) @@ -102937,14 +112609,18 @@ html$._CustomEventStreamProvider$ = dart.generic(T => { html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + if (element == null) dart.nullFailed(I[149], 37975, 30, "element"); return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + if (element == null) dart.nullFailed(I[149], 37979, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37979, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37979, 70, "value"); let tagName = html$.Element._safeTagName(element); let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); if (validator == null) { @@ -102956,30 +112632,30 @@ html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); } static _standardAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37991, 51, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37991, 67, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37992, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37992, 41, "context"); return true; } static _uriAttributeValidator(element, attributeName, value, context) { - if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); - if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); - if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); - if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + if (element == null) dart.nullFailed(I[149], 37996, 46, "element"); + if (attributeName == null) dart.nullFailed(I[149], 37996, 62, "attributeName"); + if (value == null) dart.nullFailed(I[149], 37997, 14, "value"); + if (context == null) dart.nullFailed(I[149], 37997, 41, "context"); return context.uriPolicy.allowsUri(value); } }; (html$._Html5NodeValidator.new = function(opts) { - let t241; + let t222; let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + this.uriPolicy = (t222 = uriPolicy, t222 == null ? html$.UriPolicy.new() : t222); if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { for (let attr of html$._Html5NodeValidator._standardAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[410] || CT.C410); } for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); } } }).prototype = html$._Html5NodeValidator.prototype; @@ -102991,20 +112667,22 @@ dart.setMethodSignature(html$._Html5NodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._Html5NodeValidator, I[148]); +dart.setStaticMethodSignature(html$._Html5NodeValidator, () => ['_standardAttributeValidator', '_uriAttributeValidator']); +dart.setLibraryUri(html$._Html5NodeValidator, I[150]); dart.setFieldSignature(html$._Html5NodeValidator, () => ({ __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), uriPolicy: dart.finalFieldType(html$.UriPolicy) })); +dart.setStaticFieldSignature(html$._Html5NodeValidator, () => ['_allowedElements', '_standardAttributes', '_uriAttributes', '_attributeValidators']); dart.defineLazy(html$._Html5NodeValidator, { /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); }, /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { - return C[401] || CT.C401; + return C[412] || CT.C412; }, /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[402] || CT.C402; + return C[413] || CT.C413; }, /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { return new (T$0.IdentityMapOfString$Function()).new(); @@ -103012,7 +112690,7 @@ dart.defineLazy(html$._Html5NodeValidator, { }, false); html$.KeyCode = class KeyCode extends core.Object { static isCharacterKey(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38283, 34, "keyCode"); if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { return true; } @@ -103022,163 +112700,163 @@ html$.KeyCode = class KeyCode extends core.Object { return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; } static _convertKeyCodeToKeyName(keyCode) { - if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + if (keyCode == null) dart.nullFailed(I[149], 38323, 46, "keyCode"); switch (keyCode) { case 18: - { - return "Alt"; - } + { + return "Alt"; + } case 8: - { - return "Backspace"; - } + { + return "Backspace"; + } case 20: - { - return "CapsLock"; - } + { + return "CapsLock"; + } case 17: - { - return "Control"; - } + { + return "Control"; + } case 46: - { - return "Del"; - } + { + return "Del"; + } case 40: - { - return "Down"; - } + { + return "Down"; + } case 35: - { - return "End"; - } + { + return "End"; + } case 13: - { - return "Enter"; - } + { + return "Enter"; + } case 27: - { - return "Esc"; - } + { + return "Esc"; + } case 112: - { - return "F1"; - } + { + return "F1"; + } case 113: - { - return "F2"; - } + { + return "F2"; + } case 114: - { - return "F3"; - } + { + return "F3"; + } case 115: - { - return "F4"; - } + { + return "F4"; + } case 116: - { - return "F5"; - } + { + return "F5"; + } case 117: - { - return "F6"; - } + { + return "F6"; + } case 118: - { - return "F7"; - } + { + return "F7"; + } case 119: - { - return "F8"; - } + { + return "F8"; + } case 120: - { - return "F9"; - } + { + return "F9"; + } case 121: - { - return "F10"; - } + { + return "F10"; + } case 122: - { - return "F11"; - } + { + return "F11"; + } case 123: - { - return "F12"; - } + { + return "F12"; + } case 36: - { - return "Home"; - } + { + return "Home"; + } case 45: - { - return "Insert"; - } + { + return "Insert"; + } case 37: - { - return "Left"; - } + { + return "Left"; + } case 91: - { - return "Meta"; - } + { + return "Meta"; + } case 144: - { - return "NumLock"; - } + { + return "NumLock"; + } case 34: - { - return "PageDown"; - } + { + return "PageDown"; + } case 33: - { - return "PageUp"; - } + { + return "PageUp"; + } case 19: - { - return "Pause"; - } + { + return "Pause"; + } case 44: - { - return "PrintScreen"; - } + { + return "PrintScreen"; + } case 39: - { - return "Right"; - } + { + return "Right"; + } case 145: - { - return "Scroll"; - } + { + return "Scroll"; + } case 16: - { - return "Shift"; - } + { + return "Shift"; + } case 32: - { - return "Spacebar"; - } + { + return "Spacebar"; + } case 9: - { - return "Tab"; - } + { + return "Tab"; + } case 38: - { - return "Up"; - } + { + return "Up"; + } case 229: case 224: case 91: case 92: - { - return "Win"; - } + { + return "Win"; + } default: - { - return "Unidentified"; - } + { + return "Unidentified"; + } } return "Unidentified"; } @@ -103188,7 +112866,9 @@ html$.KeyCode = class KeyCode extends core.Object { }).prototype = html$.KeyCode.prototype; dart.addTypeTests(html$.KeyCode); dart.addTypeCaches(html$.KeyCode); -dart.setLibraryUri(html$.KeyCode, I[148]); +dart.setStaticMethodSignature(html$.KeyCode, () => ['isCharacterKey', '_convertKeyCodeToKeyName']); +dart.setLibraryUri(html$.KeyCode, I[150]); +dart.setStaticFieldSignature(html$.KeyCode, () => ['WIN_KEY_FF_LINUX', 'MAC_ENTER', 'BACKSPACE', 'TAB', 'NUM_CENTER', 'ENTER', 'SHIFT', 'CTRL', 'ALT', 'PAUSE', 'CAPS_LOCK', 'ESC', 'SPACE', 'PAGE_UP', 'PAGE_DOWN', 'END', 'HOME', 'LEFT', 'UP', 'RIGHT', 'DOWN', 'NUM_NORTH_EAST', 'NUM_SOUTH_EAST', 'NUM_SOUTH_WEST', 'NUM_NORTH_WEST', 'NUM_WEST', 'NUM_NORTH', 'NUM_EAST', 'NUM_SOUTH', 'PRINT_SCREEN', 'INSERT', 'NUM_INSERT', 'DELETE', 'NUM_DELETE', 'ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE', 'FF_SEMICOLON', 'FF_EQUALS', 'QUESTION_MARK', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'META', 'WIN_KEY_LEFT', 'WIN_KEY_RIGHT', 'CONTEXT_MENU', 'NUM_ZERO', 'NUM_ONE', 'NUM_TWO', 'NUM_THREE', 'NUM_FOUR', 'NUM_FIVE', 'NUM_SIX', 'NUM_SEVEN', 'NUM_EIGHT', 'NUM_NINE', 'NUM_MULTIPLY', 'NUM_PLUS', 'NUM_MINUS', 'NUM_PERIOD', 'NUM_DIVISION', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'NUMLOCK', 'SCROLL_LOCK', 'FIRST_MEDIA_KEY', 'LAST_MEDIA_KEY', 'SEMICOLON', 'DASH', 'EQUALS', 'COMMA', 'PERIOD', 'SLASH', 'APOSTROPHE', 'TILDE', 'SINGLE_QUOTE', 'OPEN_SQUARE_BRACKET', 'BACKSLASH', 'CLOSE_SQUARE_BRACKET', 'WIN_KEY', 'MAC_FF_META', 'WIN_IME', 'UNKNOWN']); dart.defineLazy(html$.KeyCode, { /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { return 0; @@ -103569,7 +113249,8 @@ html$.KeyLocation = class KeyLocation extends core.Object {}; }).prototype = html$.KeyLocation.prototype; dart.addTypeTests(html$.KeyLocation); dart.addTypeCaches(html$.KeyLocation); -dart.setLibraryUri(html$.KeyLocation, I[148]); +dart.setLibraryUri(html$.KeyLocation, I[150]); +dart.setStaticFieldSignature(html$.KeyLocation, () => ['STANDARD', 'LEFT', 'RIGHT', 'NUMPAD', 'MOBILE', 'JOYSTICK']); dart.defineLazy(html$.KeyLocation, { /*html$.KeyLocation.STANDARD*/get STANDARD() { return 0; @@ -103596,7 +113277,8 @@ html$._KeyName = class _KeyName extends core.Object {}; }).prototype = html$._KeyName.prototype; dart.addTypeTests(html$._KeyName); dart.addTypeCaches(html$._KeyName); -dart.setLibraryUri(html$._KeyName, I[148]); +dart.setLibraryUri(html$._KeyName, I[150]); +dart.setStaticFieldSignature(html$._KeyName, () => ['ACCEPT', 'ADD', 'AGAIN', 'ALL_CANDIDATES', 'ALPHANUMERIC', 'ALT', 'ALT_GRAPH', 'APPS', 'ATTN', 'BROWSER_BACK', 'BROWSER_FAVORTIES', 'BROWSER_FORWARD', 'BROWSER_NAME', 'BROWSER_REFRESH', 'BROWSER_SEARCH', 'BROWSER_STOP', 'CAMERA', 'CAPS_LOCK', 'CLEAR', 'CODE_INPUT', 'COMPOSE', 'CONTROL', 'CRSEL', 'CONVERT', 'COPY', 'CUT', 'DECIMAL', 'DIVIDE', 'DOWN', 'DOWN_LEFT', 'DOWN_RIGHT', 'EJECT', 'END', 'ENTER', 'ERASE_EOF', 'EXECUTE', 'EXSEL', 'FN', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'F20', 'F21', 'F22', 'F23', 'F24', 'FINAL_MODE', 'FIND', 'FULL_WIDTH', 'HALF_WIDTH', 'HANGUL_MODE', 'HANJA_MODE', 'HELP', 'HIRAGANA', 'HOME', 'INSERT', 'JAPANESE_HIRAGANA', 'JAPANESE_KATAKANA', 'JAPANESE_ROMAJI', 'JUNJA_MODE', 'KANA_MODE', 'KANJI_MODE', 'KATAKANA', 'LAUNCH_APPLICATION_1', 'LAUNCH_APPLICATION_2', 'LAUNCH_MAIL', 'LEFT', 'MENU', 'META', 'MEDIA_NEXT_TRACK', 'MEDIA_PAUSE_PLAY', 'MEDIA_PREVIOUS_TRACK', 'MEDIA_STOP', 'MODE_CHANGE', 'NEXT_CANDIDATE', 'NON_CONVERT', 'NUM_LOCK', 'PAGE_DOWN', 'PAGE_UP', 'PASTE', 'PAUSE', 'PLAY', 'POWER', 'PREVIOUS_CANDIDATE', 'PRINT_SCREEN', 'PROCESS', 'PROPS', 'RIGHT', 'ROMAN_CHARACTERS', 'SCROLL', 'SELECT', 'SELECT_MEDIA', 'SEPARATOR', 'SHIFT', 'SOFT_1', 'SOFT_2', 'SOFT_3', 'SOFT_4', 'STOP', 'SUBTRACT', 'SYMBOL_LOCK', 'UP', 'UP_LEFT', 'UP_RIGHT', 'UNDO', 'VOLUME_DOWN', 'VOLUMN_MUTE', 'VOLUMN_UP', 'WIN', 'ZOOM', 'BACKSPACE', 'TAB', 'CANCEL', 'ESC', 'SPACEBAR', 'DEL', 'DEAD_GRAVE', 'DEAD_EACUTE', 'DEAD_CIRCUMFLEX', 'DEAD_TILDE', 'DEAD_MACRON', 'DEAD_BREVE', 'DEAD_ABOVE_DOT', 'DEAD_UMLAUT', 'DEAD_ABOVE_RING', 'DEAD_DOUBLEACUTE', 'DEAD_CARON', 'DEAD_CEDILLA', 'DEAD_OGONEK', 'DEAD_IOTA', 'DEAD_VOICED_SOUND', 'DEC_SEMIVOICED_SOUND', 'UNIDENTIFIED']); dart.defineLazy(html$._KeyName, { /*html$._KeyName.ACCEPT*/get ACCEPT() { return "Accept"; @@ -104049,18 +113731,26 @@ dart.defineLazy(html$._KeyName, { html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { forTarget(e, opts) { let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + if (useCapture == null) dart.nullFailed(I[149], 39009, 58, "useCapture"); let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); return handler[S$3._stream$3]; } + static ['_#new#tearOff'](_type) { + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); + return new html$._KeyboardEventHandler.new(_type); + } + static ['_#initializeAllEventListeners#tearOff'](_type, _target) { + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); + return new html$._KeyboardEventHandler.initializeAllEventListeners(_type, _target); + } get [S$3._capsLockOn]() { return this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + if (element == null) dart.nullFailed(I[149], 39044, 29, "element"); return element.keyCode === 20; }, T$0.KeyEventTobool())); } [S$3._determineKeyCodeForKeypress](event) { - if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + if (event == null) dart.nullFailed(I[149], 39053, 50, "event"); for (let prevEvent of this[S$3._keyDownList]) { if (prevEvent[S$3._shadowCharCode] == event.charCode) { return prevEvent.keyCode; @@ -104072,123 +113762,123 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr return -1; } [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); if (event.location === 3) { switch (event.keyCode) { case 96: - { - return 48; - } + { + return 48; + } case 97: - { - return 49; - } + { + return 49; + } case 98: - { - return 50; - } + { + return 50; + } case 99: - { - return 51; - } + { + return 51; + } case 100: - { - return 52; - } + { + return 52; + } case 101: - { - return 53; - } + { + return 53; + } case 102: - { - return 54; - } + { + return 54; + } case 103: - { - return 55; - } + { + return 55; + } case 104: - { - return 56; - } + { + return 56; + } case 105: - { - return 57; - } + { + return 57; + } case 106: - { - return 42; - } + { + return 42; + } case 107: - { - return 43; - } + { + return 43; + } case 109: - { - return 45; - } + { + return 45; + } case 110: - { - return 46; - } + { + return 46; + } case 111: - { - return 47; - } + { + return 47; + } } } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); } switch (event.keyCode) { case 186: - { - return 59; - } + { + return 59; + } case 187: - { - return 61; - } + { + return 61; + } case 188: - { - return 44; - } + { + return 44; + } case 189: - { - return 45; - } + { + return 45; + } case 190: - { - return 46; - } + { + return 46; + } case 191: - { - return 47; - } + { + return 47; + } case 192: - { - return 96; - } + { + return 96; + } case 219: - { - return 91; - } + { + return 91; + } case 220: - { - return 92; - } + { + return 92; + } case 221: - { - return 93; - } + { + return 93; + } case 222: - { - return 39; - } + { + return 39; + } } return event.keyCode; } [S$3._firesKeyPressEvent](event) { - if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (event == null) dart.nullFailed(I[149], 39151, 37, "event"); if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { return true; } @@ -104206,42 +113896,42 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } switch (event.keyCode) { case 13: - { - return !dart.test(html_common.Device.isIE); - } + { + return !dart.test(html_common.Device.isIE); + } case 27: - { - return !dart.test(html_common.Device.isWebKit); - } + { + return !dart.test(html_common.Device.isWebKit); + } } return html$.KeyCode.isCharacterKey(event.keyCode); } [S$3._normalizeKeyCodes](event) { - if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (event == null) dart.nullFailed(I[149], 39208, 40, "event"); if (dart.test(html_common.Device.isFirefox)) { switch (event.keyCode) { case 61: - { - return 187; - } + { + return 187; + } case 59: - { - return 186; - } + { + return 186; + } case 224: - { - return 91; - } + { + return 91; + } case 0: - { - return 224; - } + { + return 224; + } } } return event.keyCode; } processKeyDown(e) { - if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (e == null) dart.nullFailed(I[149], 39226, 37, "e"); if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { this[S$3._keyDownList][$clear](); } @@ -104255,7 +113945,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr this[S$3._stream$3].add(event); } processKeyPress(event) { - if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + if (event == null) dart.nullFailed(I[149], 39258, 38, "event"); let e = new html$.KeyEvent.wrap(event); if (dart.test(html_common.Device.isIE)) { if (e.keyCode === 13 || e.keyCode === 27) { @@ -104271,13 +113961,13 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); } e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + if (element == null) dart.nullFailed(I[149], 39283, 45, "element"); return element.altKey; }, T$0.KeyEventTobool())); this[S$3._stream$3].add(e); } processKeyUp(event) { - if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + if (event == null) dart.nullFailed(I[149], 39288, 35, "event"); let e = new html$.KeyEvent.wrap(event); let toRemove = null; for (let key of this[S$3._keyDownList]) { @@ -104287,7 +113977,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } if (toRemove != null) { this[S$3._keyDownList][$removeWhere](dart.fn(element => { - if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + if (element == null) dart.nullFailed(I[149], 39297, 33, "element"); return dart.equals(element, toRemove); }, T$0.KeyEventTobool())); } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { @@ -104297,7 +113987,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr } }; (html$._KeyboardEventHandler.new = function(_type) { - if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + if (_type == null) dart.nullFailed(I[149], 39019, 30, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); @@ -104306,7 +113996,7 @@ html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStr ; }).prototype = html$._KeyboardEventHandler.prototype; (html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + if (_type == null) dart.nullFailed(I[149], 39028, 58, "_type"); this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); this[S$3._type$5] = _type; this[S$3._target$2] = _target; @@ -104333,7 +114023,7 @@ dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), [S$3._capsLockOn]: core.bool })); -dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); +dart.setLibraryUri(html$._KeyboardEventHandler, I[150]); dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), @@ -104341,6 +114031,7 @@ dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) })); +dart.setStaticFieldSignature(html$._KeyboardEventHandler, () => ['_ROMAN_ALPHABET_OFFSET', '_EVENT_TYPE', '_keyIdentifier']); dart.defineLazy(html$._KeyboardEventHandler, { /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); @@ -104349,30 +114040,40 @@ dart.defineLazy(html$._KeyboardEventHandler, { return "KeyEvent"; }, /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[403] || CT.C403; + return C[414] || CT.C414; } }, false); html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { static onKeyPress(target) { - if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + if (target == null) dart.nullFailed(I[149], 39325, 56, "target"); return new html$._KeyboardEventHandler.new("keypress").forTarget(target); } static onKeyUp(target) { - if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + if (target == null) dart.nullFailed(I[149], 39329, 53, "target"); return new html$._KeyboardEventHandler.new("keyup").forTarget(target); } static onKeyDown(target) { - if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + if (target == null) dart.nullFailed(I[149], 39333, 55, "target"); return new html$._KeyboardEventHandler.new("keydown").forTarget(target); } + static ['_#new#tearOff']() { + return new html$.KeyboardEventStream.new(); + } }; (html$.KeyboardEventStream.new = function() { ; }).prototype = html$.KeyboardEventStream.prototype; dart.addTypeTests(html$.KeyboardEventStream); dart.addTypeCaches(html$.KeyboardEventStream); -dart.setLibraryUri(html$.KeyboardEventStream, I[148]); +dart.setStaticMethodSignature(html$.KeyboardEventStream, () => ['onKeyPress', 'onKeyUp', 'onKeyDown']); +dart.setLibraryUri(html$.KeyboardEventStream, I[150]); html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + static ['_#new#tearOff']() { + return new html$.NodeValidatorBuilder.new(); + } + static ['_#common#tearOff']() { + return new html$.NodeValidatorBuilder.common(); + } allowNavigation(uriPolicy = null) { if (uriPolicy == null) { uriPolicy = html$.UriPolicy.new(); @@ -104405,18 +114106,18 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._SvgNodeValidator.new()); } allowCustomElement(tagName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39484, 34, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39490, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39492, 24, "name"); return tagNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104425,20 +114126,20 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); } allowTagExtension(tagName, baseName, opts) { - let t241, t241$; - if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); - if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let t222, t222$; + if (tagName == null) dart.nullFailed(I[149], 39509, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[149], 39509, 49, "baseName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; let baseNameUpper = baseName[$toUpperCase](); let tagNameUpper = tagName[$toUpperCase](); - let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + let attrs = (t222 = attributes, t222 == null ? null : t222[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39516, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); - let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { - if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + let uriAttrs = (t222$ = uriAttributes, t222$ == null ? null : t222$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[149], 39518, 24, "name"); return baseNameUpper + "::" + name[$toLowerCase](); }, T$.StringToString()))); if (uriPolicy == null) { @@ -104447,7 +114148,7 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); } allowElement(tagName, opts) { - if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + if (tagName == null) dart.nullFailed(I[149], 39527, 28, "tagName"); let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; let attributes = opts && 'attributes' in opts ? opts.attributes : null; let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; @@ -104457,22 +114158,22 @@ html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { this.add(new html$._TemplatingNodeValidator.new()); } add(validator) { - if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + if (validator == null) dart.nullFailed(I[149], 39554, 26, "validator"); this[S$3._validators][$add](validator); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39558, 30, "element"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + if (v == null) dart.nullFailed(I[149], 39559, 29, "v"); return v.allowsElement(element); }, T$0.NodeValidatorTobool())); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39562, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39562, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39562, 70, "value"); return this[S$3._validators][$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + if (v == null) dart.nullFailed(I[149], 39564, 15, "v"); return v.allowsAttribute(element, attributeName, value); }, T$0.NodeValidatorTobool())); } @@ -104504,31 +114205,48 @@ dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); +dart.setLibraryUri(html$.NodeValidatorBuilder, I[150]); dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) })); html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { static allowNavigation(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[416] || CT.C416, allowedAttributes: C[417] || CT.C417, allowedUriAttributes: C[418] || CT.C418}); + } + static ['_#allowNavigation#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39574, 58, "uriPolicy"); + return html$._SimpleNodeValidator.allowNavigation(uriPolicy); } static allowImages(uriPolicy) { - if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); - return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[419] || CT.C419, allowedAttributes: C[420] || CT.C420, allowedUriAttributes: C[421] || CT.C421}); + } + static ['_#allowImages#tearOff'](uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[149], 39600, 54, "uriPolicy"); + return html$._SimpleNodeValidator.allowImages(uriPolicy); } static allowTextElements() { - return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[422] || CT.C422}); + } + static ['_#allowTextElements#tearOff']() { + return html$._SimpleNodeValidator.allowTextElements(); + } + static ['_#new#tearOff'](uriPolicy, opts) { + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39662, 30, "element"); return this.allowedElements.contains(html$.Element._safeTagName(element)); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39666, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39666, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39666, 70, "value"); let tagName = html$.Element._safeTagName(element); if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { return dart.nullCheck(this.uriPolicy).allowsUri(value); @@ -104547,7 +114265,7 @@ html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { } }; (html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - let t241, t241$, t241$0; + let t222, t222$, t222$0; let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; @@ -104555,15 +114273,15 @@ html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); this.uriPolicy = uriPolicy; - this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); - allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); - allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + this.allowedElements.addAll((t222 = allowedElements, t222 == null ? C[415] || CT.C415 : t222)); + allowedAttributes = (t222$ = allowedAttributes, t222$ == null ? C[415] || CT.C415 : t222$); + allowedUriAttributes = (t222$0 = allowedUriAttributes, t222$0 == null ? C[415] || CT.C415 : t222$0); let legalAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39654, 17, "x"); return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); }, T$.StringTobool())); let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { - if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + if (x == null) dart.nullFailed(I[149], 39656, 17, "x"); return html$._Html5NodeValidator._uriAttributes[$contains](x); }, T$.StringTobool())); this.allowedAttributes.addAll(legalAttributes); @@ -104578,7 +114296,8 @@ dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); +dart.setStaticMethodSignature(html$._SimpleNodeValidator, () => ['allowNavigation', 'allowImages', 'allowTextElements']); +dart.setLibraryUri(html$._SimpleNodeValidator, I[150]); dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), allowedElements: dart.finalFieldType(core.Set$(core.String)), @@ -104587,8 +114306,15 @@ dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) })); html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff'](uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); + return new html$._CustomElementNodeValidator.new(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39703, 30, "element"); if (dart.test(this.allowTypeExtension)) { let isAttr = element[S.$attributes][$_get]("is"); if (isAttr != null) { @@ -104598,9 +114324,9 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39715, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39715, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39715, 70, "value"); if (dart.test(this.allowsElement(element))) { if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { return true; @@ -104611,10 +114337,10 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht } }; (html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { - if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); - if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); - if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); - if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + if (uriPolicy == null) dart.nullFailed(I[149], 39690, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[149], 39691, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[149], 39694, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[149], 39695, 12, "allowCustomTag"); this.allowTypeExtension = allowTypeExtension === true; this.allowCustomTag = allowCustomTag === true; html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); @@ -104622,17 +114348,20 @@ html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends ht }).prototype = html$._CustomElementNodeValidator.prototype; dart.addTypeTests(html$._CustomElementNodeValidator); dart.addTypeCaches(html$._CustomElementNodeValidator); -dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); +dart.setLibraryUri(html$._CustomElementNodeValidator, I[150]); dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), allowTypeExtension: dart.finalFieldType(core.bool), allowCustomTag: dart.finalFieldType(core.bool) })); html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + static ['_#new#tearOff']() { + return new html$._TemplatingNodeValidator.new(); + } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39746, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39746, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39746, 70, "value"); if (dart.test(super.allowsAttribute(element, attributeName, value))) { return true; } @@ -104648,25 +114377,26 @@ html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._S (html$._TemplatingNodeValidator.new = function() { this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { - if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + if (attr == null) dart.nullFailed(I[149], 39744, 38, "attr"); return "TEMPLATE::" + dart.str(attr); }, T$.StringToString()))}); }).prototype = html$._TemplatingNodeValidator.prototype; dart.addTypeTests(html$._TemplatingNodeValidator); dart.addTypeCaches(html$._TemplatingNodeValidator); -dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); +dart.setLibraryUri(html$._TemplatingNodeValidator, I[150]); dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) })); +dart.setStaticFieldSignature(html$._TemplatingNodeValidator, () => ['_TEMPLATE_ATTRS']); dart.defineLazy(html$._TemplatingNodeValidator, { /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { - return C[412] || CT.C412; + return C[423] || CT.C423; } }, false); html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); if (svg$.ScriptElement.is(element)) { return false; } @@ -104679,14 +114409,17 @@ html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { return false; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (element == null) dart.nullFailed(I[149], 39781, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 39781, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 39781, 70, "value"); if (attributeName === "is" || attributeName[$startsWith]("on")) { return false; } return this.allowsElement(element); } + static ['_#new#tearOff']() { + return new html$._SvgNodeValidator.new(); + } }; (html$._SvgNodeValidator.new = function() { ; @@ -104699,14 +114432,15 @@ dart.setMethodSignature(html$._SvgNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._SvgNodeValidator, I[148]); +dart.setLibraryUri(html$._SvgNodeValidator, I[150]); html$.ReadyState = class ReadyState extends core.Object {}; (html$.ReadyState.new = function() { ; }).prototype = html$.ReadyState.prototype; dart.addTypeTests(html$.ReadyState); dart.addTypeCaches(html$.ReadyState); -dart.setLibraryUri(html$.ReadyState, I[148]); +dart.setLibraryUri(html$.ReadyState, I[150]); +dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); dart.defineLazy(html$.ReadyState, { /*html$.ReadyState.LOADING*/get LOADING() { return "loading"; @@ -104720,19 +114454,23 @@ dart.defineLazy(html$.ReadyState, { }, false); const _is__WrappedList_default = Symbol('_is__WrappedList_default'); html$._WrappedList$ = dart.generic(E => { - var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); - var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); - var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var __t$_WrappedIteratorOfE = () => (__t$_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); + var __t$EN = () => (__t$EN = dart.constFn(dart.nullable(E)))(); class _WrappedList extends collection.ListBase$(E) { + static ['_#new#tearOff'](E, _list) { + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); + return new (html$._WrappedList$(E)).new(_list); + } get iterator() { - return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + return new (__t$_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); } get length() { return this[S$3._list$19][$length]; } add(element) { E.as(element); - if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + if (element == null) dart.nullFailed(I[149], 39834, 14, "element"); this[S$3._list$19][$add](element); } remove(element) { @@ -104742,19 +114480,19 @@ html$._WrappedList$ = dart.generic(E => { this[S$3._list$19][$clear](); } _get(index) { - if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + if (index == null) dart.nullFailed(I[149], 39846, 21, "index"); return E.as(this[S$3._list$19][$_get](index)); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + if (index == null) dart.nullFailed(I[149], 39848, 25, "index"); E.as(value); - if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + if (value == null) dart.nullFailed(I[149], 39848, 34, "value"); this[S$3._list$19][$_set](index, value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[149], 39852, 18, "newLength"); this[S$3._list$19][$length] = newLength; } sort(compare = null) { @@ -104762,53 +114500,53 @@ html$._WrappedList$ = dart.generic(E => { this[S$3._list$19][$sort](); } else { this[S$3._list$19][$sort](dart.fn((a, b) => { - if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); - if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + if (a == null) dart.nullFailed(I[149], 39860, 24, "a"); + if (b == null) dart.nullFailed(I[149], 39860, 32, "b"); return compare(E.as(a), E.as(b)); }, T$0.NodeAndNodeToint())); } } indexOf(element, start = 0) { - if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + if (start == null) dart.nullFailed(I[149], 39864, 37, "start"); return this[S$3._list$19][$indexOf](html$.Node.as(element), start); } lastIndexOf(element, start = null) { return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); } insert(index, element) { - if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + if (index == null) dart.nullFailed(I[149], 39870, 19, "index"); E.as(element); - if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + if (element == null) dart.nullFailed(I[149], 39870, 28, "element"); return this[S$3._list$19][$insert](index, element); } removeAt(index) { - if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + if (index == null) dart.nullFailed(I[149], 39872, 18, "index"); return E.as(this[S$3._list$19][$removeAt](index)); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); - if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); - if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + if (start == null) dart.nullFailed(I[149], 39874, 21, "start"); + if (end == null) dart.nullFailed(I[149], 39874, 32, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39874, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[149], 39874, 64, "skipCount"); this[S$3._list$19][$setRange](start, end, iterable, skipCount); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); - if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + if (start == null) dart.nullFailed(I[149], 39878, 24, "start"); + if (end == null) dart.nullFailed(I[149], 39878, 35, "end"); this[S$3._list$19][$removeRange](start, end); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); - if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); - IterableOfE().as(iterable); - if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + if (start == null) dart.nullFailed(I[149], 39882, 25, "start"); + if (end == null) dart.nullFailed(I[149], 39882, 36, "end"); + __t$IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 39882, 53, "iterable"); this[S$3._list$19][$replaceRange](start, end, iterable); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); - if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); - EN().as(fillValue); + if (start == null) dart.nullFailed(I[149], 39886, 22, "start"); + if (end == null) dart.nullFailed(I[149], 39886, 33, "end"); + __t$EN().as(fillValue); this[S$3._list$19][$fillRange](start, end, fillValue); } get rawList() { @@ -104816,7 +114554,7 @@ html$._WrappedList$ = dart.generic(E => { } } (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); this[S$3._list$19] = _list; ; }).prototype = _WrappedList.prototype; @@ -104842,7 +114580,7 @@ html$._WrappedList$ = dart.generic(E => { length: core.int, [$length]: core.int })); - dart.setLibraryUri(_WrappedList, I[148]); + dart.setLibraryUri(_WrappedList, I[150]); dart.setFieldSignature(_WrappedList, () => ({ __proto__: dart.getFields(_WrappedList.__proto__), [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) @@ -104871,16 +114609,20 @@ dart.addTypeTests(html$._WrappedList, _is__WrappedList_default); const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); html$._WrappedIterator$ = dart.generic(E => { class _WrappedIterator extends core.Object { + static ['_#new#tearOff'](E, _iterator) { + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + return new (html$._WrappedIterator$(E)).new(_iterator); + } moveNext() { - return this[S$3._iterator$3].moveNext(); + return this[S$3._iterator$2].moveNext(); } get current() { - return E.as(this[S$3._iterator$3].current); + return E.as(this[S$3._iterator$2].current); } } (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); - this[S$3._iterator$3] = _iterator; + if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); + this[S$3._iterator$2] = _iterator; ; }).prototype = _WrappedIterator.prototype; dart.addTypeTests(_WrappedIterator); @@ -104895,10 +114637,10 @@ html$._WrappedIterator$ = dart.generic(E => { __proto__: dart.getGetters(_WrappedIterator.__proto__), current: E })); - dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setLibraryUri(_WrappedIterator, I[150]); dart.setFieldSignature(_WrappedIterator, () => ({ __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) })); return _WrappedIterator; }); @@ -104906,14 +114648,14 @@ html$._WrappedIterator = html$._WrappedIterator$(); dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { static get(url, onComplete, withCredentials) { - if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); - if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); - if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + if (url == null) dart.nullFailed(I[149], 39914, 14, "url"); + if (onComplete == null) dart.nullFailed(I[149], 39914, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[149], 39914, 57, "withCredentials"); let request = html$.HttpRequest.new(); request.open("GET", url, {async: true}); request.withCredentials = withCredentials; request[S$1.$onReadyStateChange].listen(dart.fn(e => { - if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (e == null) dart.nullFailed(I[149], 39920, 40, "e"); if (request.readyState === 4) { onComplete(request); } @@ -104921,34 +114663,42 @@ html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { request.send(); return request; } + static ['_#new#tearOff']() { + return new html$._HttpRequestUtils.new(); + } }; (html$._HttpRequestUtils.new = function() { ; }).prototype = html$._HttpRequestUtils.prototype; dart.addTypeTests(html$._HttpRequestUtils); dart.addTypeCaches(html$._HttpRequestUtils); -dart.setLibraryUri(html$._HttpRequestUtils, I[148]); +dart.setStaticMethodSignature(html$._HttpRequestUtils, () => ['get']); +dart.setLibraryUri(html$._HttpRequestUtils, I[150]); const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); html$.FixedSizeListIterator$ = dart.generic(T => { class FixedSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + return new (html$.FixedSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$2._length$3])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$2._length$3]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (FixedSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39942, 33, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; this[S$2._length$3] = array[$length]; @@ -104966,13 +114716,13 @@ html$.FixedSizeListIterator$ = dart.generic(T => { __proto__: dart.getGetters(FixedSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setLibraryUri(FixedSizeListIterator, I[150]); dart.setFieldSignature(FixedSizeListIterator, () => ({ __proto__: dart.getFields(FixedSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$2._length$3]: dart.finalFieldType(core.int), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return FixedSizeListIterator; }); @@ -104981,24 +114731,28 @@ dart.addTypeTests(html$.FixedSizeListIterator, _is_FixedSizeListIterator_default const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); html$._VariableSizeListIterator$ = dart.generic(T => { class _VariableSizeListIterator extends core.Object { + static ['_#new#tearOff'](T, array) { + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + return new (html$._VariableSizeListIterator$(T)).new(array); + } moveNext() { let nextPosition = dart.notNull(this[S$0._position$2]) + 1; if (nextPosition < dart.notNull(this[S$3._array][$length])) { - this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$3._current$5] = this[S$3._array][$_get](nextPosition); this[S$0._position$2] = nextPosition; return true; } - this[S$3._current$4] = null; + this[S$3._current$5] = null; this[S$0._position$2] = this[S$3._array][$length]; return false; } get current() { - return T.as(this[S$3._current$4]); + return T.as(this[S$3._current$5]); } } (_VariableSizeListIterator.new = function(array) { - if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); - this[S$3._current$4] = null; + if (array == null) dart.nullFailed(I[149], 39968, 37, "array"); + this[S$3._current$5] = null; this[S$3._array] = array; this[S$0._position$2] = -1; ; @@ -105015,18 +114769,21 @@ html$._VariableSizeListIterator$ = dart.generic(T => { __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), current: T })); - dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setLibraryUri(_VariableSizeListIterator, I[150]); dart.setFieldSignature(_VariableSizeListIterator, () => ({ __proto__: dart.getFields(_VariableSizeListIterator.__proto__), [S$3._array]: dart.finalFieldType(core.List$(T)), [S$0._position$2]: dart.fieldType(core.int), - [S$3._current$4]: dart.fieldType(dart.nullable(T)) + [S$3._current$5]: dart.fieldType(dart.nullable(T)) })); return _VariableSizeListIterator; }); html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); html$.Console = class Console extends core.Object { + static ['_#_safe#tearOff']() { + return new html$.Console._safe(); + } get [S$3._isConsoleDefined]() { return typeof console != "undefined"; } @@ -105139,15 +114896,21 @@ dart.setGetterSignature(html$.Console, () => ({ [S$3._isConsoleDefined]: core.bool, memory: dart.nullable(html$.MemoryInfo) })); -dart.setLibraryUri(html$.Console, I[148]); +dart.setLibraryUri(html$.Console, I[150]); +dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); dart.defineLazy(html$.Console, { /*html$.Console._safeConsole*/get _safeConsole() { - return C[413] || CT.C413; + return C[424] || CT.C424; } }, false); html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + static ['_#new#tearOff'](document, type, extendsTag) { + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); + return new html$._JSElementUpgrader.new(document, type, extendsTag); + } upgrade(element) { - if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (element == null) dart.nullFailed(I[149], 40336, 27, "element"); if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); @@ -105159,8 +114922,8 @@ html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { } }; (html$._JSElementUpgrader.new = function(document, type, extendsTag) { - if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); - if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + if (document == null) dart.nullFailed(I[149], 40301, 31, "document"); + if (type == null) dart.nullFailed(I[149], 40301, 46, "type"); this[S$3._interceptor] = null; this[S$3._constructor] = null; this[S$3._nativeType] = null; @@ -105196,7 +114959,7 @@ dart.setMethodSignature(html$._JSElementUpgrader, () => ({ __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), upgrade: dart.fnType(html$.Element, [html$.Element]) })); -dart.setLibraryUri(html$._JSElementUpgrader, I[148]); +dart.setLibraryUri(html$._JSElementUpgrader, I[150]); dart.setFieldSignature(html$._JSElementUpgrader, () => ({ __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), [S$3._interceptor]: dart.fieldType(dart.dynamic), @@ -105226,13 +114989,16 @@ html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { return this[S$3._window].close(); } postMessage(message, targetOrigin, messagePorts = null) { - if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (targetOrigin == null) dart.nullFailed(I[149], 40381, 40, "targetOrigin"); if (messagePorts == null) { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); } else { this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); } } + static ['_#new#tearOff'](_window) { + return new html$._DOMWindowCrossFrame.new(_window); + } static _createSafe(w) { if (core.identical(w, html$.window)) { return html$.WindowBase.as(w); @@ -105248,18 +115014,18 @@ html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } addEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + if (type == null) dart.nullFailed(I[149], 40418, 32, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } dispatchEvent(event) { - if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + if (event == null) dart.nullFailed(I[149], 40423, 28, "event"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } [S._removeEventListener](type, listener, useCapture = null) { return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } removeEventListener(type, listener, useCapture = null) { - if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + if (type == null) dart.nullFailed(I[149], 40431, 35, "type"); return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); } }; @@ -105285,6 +115051,7 @@ dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) })); +dart.setStaticMethodSignature(html$._DOMWindowCrossFrame, () => ['_createSafe']); dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), history: html$.HistoryBase, @@ -105302,7 +115069,7 @@ dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ on: html$.Events, [S.$on]: html$.Events })); -dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); +dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), [S$3._window]: dart.finalFieldType(dart.dynamic) @@ -105325,12 +115092,15 @@ dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ ]); html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { set href(val) { - if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + if (val == null) dart.nullFailed(I[149], 40443, 19, "val"); return html$._LocationCrossFrame._setHref(this[S$3._location], val); } static _setHref(location, val) { location.href = val; } + static ['_#new#tearOff'](_location) { + return new html$._LocationCrossFrame.new(_location); + } static _createSafe(location) { if (core.identical(location, html$.window[S$0.$location])) { return html$.LocationBase.as(location); @@ -105346,12 +115116,13 @@ html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { dart.addTypeTests(html$._LocationCrossFrame); dart.addTypeCaches(html$._LocationCrossFrame); html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; +dart.setStaticMethodSignature(html$._LocationCrossFrame, () => ['_setHref', '_createSafe']); dart.setSetterSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), href: core.String, [S$.$href]: core.String })); -dart.setLibraryUri(html$._LocationCrossFrame, I[148]); +dart.setLibraryUri(html$._LocationCrossFrame, I[150]); dart.setFieldSignature(html$._LocationCrossFrame, () => ({ __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), [S$3._location]: dart.fieldType(dart.dynamic) @@ -105365,9 +115136,12 @@ html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { return this[S$3._history].forward(); } go(distance) { - if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + if (distance == null) dart.nullFailed(I[149], 40471, 15, "distance"); return this[S$3._history].go(distance); } + static ['_#new#tearOff'](_history) { + return new html$._HistoryCrossFrame.new(_history); + } static _createSafe(h) { if (core.identical(h, html$.window.history)) { return html$.HistoryBase.as(h); @@ -105392,19 +115166,25 @@ dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ go: dart.fnType(dart.void, [core.int]), [S$1.$go]: dart.fnType(dart.void, [core.int]) })); -dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); +dart.setStaticMethodSignature(html$._HistoryCrossFrame, () => ['_createSafe']); +dart.setLibraryUri(html$._HistoryCrossFrame, I[150]); dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), [S$3._history]: dart.fieldType(dart.dynamic) })); dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); -html$.Platform = class Platform extends core.Object {}; +html$.Platform = class Platform extends core.Object { + static ['_#new#tearOff']() { + return new html$.Platform.new(); + } +}; (html$.Platform.new = function() { ; }).prototype = html$.Platform.prototype; dart.addTypeTests(html$.Platform); dart.addTypeCaches(html$.Platform); -dart.setLibraryUri(html$.Platform, I[148]); +dart.setLibraryUri(html$.Platform, I[150]); +dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); dart.defineLazy(html$.Platform, { /*html$.Platform.supportsTypedData*/get supportsTypedData() { return !!window.ArrayBuffer; @@ -105419,41 +115199,59 @@ html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; }).prototype = html$.ElementUpgrader.prototype; dart.addTypeTests(html$.ElementUpgrader); dart.addTypeCaches(html$.ElementUpgrader); -dart.setLibraryUri(html$.ElementUpgrader, I[148]); +dart.setLibraryUri(html$.ElementUpgrader, I[150]); html$.NodeValidator = class NodeValidator extends core.Object { static new(opts) { let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); } + static ['_#new#tearOff'](opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return html$.NodeValidator.new({uriPolicy: uriPolicy}); + } static throws(base) { - if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); return new html$._ThrowsNodeValidator.new(base); } + static ['_#throws#tearOff'](base) { + if (base == null) dart.nullFailed(I[149], 40923, 46, "base"); + return html$.NodeValidator.throws(base); + } }; (html$.NodeValidator[dart.mixinNew] = function() { }).prototype = html$.NodeValidator.prototype; dart.addTypeTests(html$.NodeValidator); dart.addTypeCaches(html$.NodeValidator); -dart.setLibraryUri(html$.NodeValidator, I[148]); +dart.setStaticMethodSignature(html$.NodeValidator, () => ['new', 'throws']); +dart.setLibraryUri(html$.NodeValidator, I[150]); html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { static new(validator) { - if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); return new html$._ValidatingTreeSanitizer.new(validator); } + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 40955, 43, "validator"); + return html$.NodeTreeSanitizer.new(validator); + } }; (html$.NodeTreeSanitizer[dart.mixinNew] = function() { }).prototype = html$.NodeTreeSanitizer.prototype; dart.addTypeTests(html$.NodeTreeSanitizer); dart.addTypeCaches(html$.NodeTreeSanitizer); -dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); +dart.setStaticMethodSignature(html$.NodeTreeSanitizer, () => ['new']); +dart.setLibraryUri(html$.NodeTreeSanitizer, I[150]); +dart.setStaticFieldSignature(html$.NodeTreeSanitizer, () => ['trusted']); dart.defineLazy(html$.NodeTreeSanitizer, { /*html$.NodeTreeSanitizer.trusted*/get trusted() { - return C[414] || CT.C414; + return C[425] || CT.C425; } }, false); html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + static ['_#new#tearOff']() { + return new html$._TrustedHtmlTreeSanitizer.new(); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + if (node == null) dart.nullFailed(I[149], 40983, 21, "node"); } }; (html$._TrustedHtmlTreeSanitizer.new = function() { @@ -105466,23 +115264,30 @@ dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), sanitizeTree: dart.fnType(dart.void, [html$.Node]) })); -dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); +dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[150]); html$.UriPolicy = class UriPolicy extends core.Object { static new() { return new html$._SameOriginUriPolicy.new(); } + static ['_#new#tearOff']() { + return html$.UriPolicy.new(); + } }; (html$.UriPolicy[dart.mixinNew] = function() { }).prototype = html$.UriPolicy.prototype; dart.addTypeTests(html$.UriPolicy); dart.addTypeCaches(html$.UriPolicy); -dart.setLibraryUri(html$.UriPolicy, I[148]); +dart.setStaticMethodSignature(html$.UriPolicy, () => ['new']); +dart.setLibraryUri(html$.UriPolicy, I[150]); html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { allowsUri(uri) { - if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + if (uri == null) dart.nullFailed(I[149], 41019, 25, "uri"); this[S$3._hiddenAnchor].href = uri; return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); } + static ['_#new#tearOff']() { + return new html$._SameOriginUriPolicy.new(); + } }; (html$._SameOriginUriPolicy.new = function() { this[S$3._hiddenAnchor] = html$.AnchorElement.new(); @@ -105496,24 +115301,28 @@ dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), allowsUri: dart.fnType(core.bool, [core.String]) })); -dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); +dart.setLibraryUri(html$._SameOriginUriPolicy, I[150]); dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), [S$3._loc]: dart.finalFieldType(html$.Location) })); html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); + return new html$._ThrowsNodeValidator.new(validator); + } allowsElement(element) { - if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (element == null) dart.nullFailed(I[149], 41036, 30, "element"); if (!dart.test(this.validator.allowsElement(element))) { dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); } return true; } allowsAttribute(element, attributeName, value) { - if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); - if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); - if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (element == null) dart.nullFailed(I[149], 41043, 32, "element"); + if (attributeName == null) dart.nullFailed(I[149], 41043, 48, "attributeName"); + if (value == null) dart.nullFailed(I[149], 41043, 70, "value"); if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); } @@ -105521,7 +115330,7 @@ html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { } }; (html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); this.validator = validator; }).prototype = html$._ThrowsNodeValidator.prototype; dart.addTypeTests(html$._ThrowsNodeValidator); @@ -105532,16 +115341,20 @@ dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ allowsElement: dart.fnType(core.bool, [html$.Element]), allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) })); -dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); +dart.setLibraryUri(html$._ThrowsNodeValidator, I[150]); dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), validator: dart.finalFieldType(html$.NodeValidator) })); html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + static ['_#new#tearOff'](validator) { + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } sanitizeTree(node) { - if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41063, 26, "node"); const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); this.sanitizeNode(node, parent); let child = node.lastChild; while (child != null) { @@ -105572,7 +115385,7 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); } [S$3._removeNode](node, parent) { - if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + if (node == null) dart.nullFailed(I[149], 41100, 25, "node"); this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; if (parent == null || !dart.equals(parent, node.parentNode)) { node[$remove](); @@ -105605,7 +115418,7 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj throw e$0; } try { - let elementTagName = html$.Element._safeTagName(element); + let elementTagName = html$.Element._safeTagName(html$.Element.as(element)); this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); } catch (e$1) { let ex = dart.getThrown(e$1); @@ -105620,11 +115433,11 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } } [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); - if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); - if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); - if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); - if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (element == null) dart.nullFailed(I[149], 41166, 33, "element"); + if (corrupted == null) dart.nullFailed(I[149], 41166, 61, "corrupted"); + if (text == null) dart.nullFailed(I[149], 41167, 14, "text"); + if (tag == null) dart.nullFailed(I[149], 41167, 27, "tag"); + if (attrs == null) dart.nullFailed(I[149], 41167, 36, "attrs"); if (false !== corrupted) { this[S$3._removeNode](element, parent); html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); @@ -105656,29 +115469,29 @@ html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Obj } } sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); switch (node.nodeType) { case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } case 8: case 11: case 3: case 4: - { - break; - } + { + break; + } default: - { - this[S$3._removeNode](node, parent); - } + { + this[S$3._removeNode](node, parent); + } } } }; (html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); this.numTreeModifications = 0; this.validator = validator; }).prototype = html$._ValidatingTreeSanitizer.prototype; @@ -105693,18 +115506,18 @@ dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) })); -dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); +dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[150]); dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), validator: dart.fieldType(html$.NodeValidator), numTreeModifications: dart.fieldType(core.int) })); html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[426] || CT.C426); }; html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { - if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); - if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + if (event == null) dart.nullFailed(I[149], 37256, 34, "event"); + if (selector == null) dart.nullFailed(I[149], 37256, 48, "selector"); let target = event[S.$target]; return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; }; @@ -105746,13 +115559,19 @@ html$._callConstructor = function _callConstructor(constructor, interceptor) { }, T$.dynamicToObjectN()); }; html$._callAttached = function _callAttached(receiver) { - return dart.dsend(receiver, 'attached', []); + if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); + return receiver[S.$attached](); }; html$._callDetached = function _callDetached(receiver) { - return dart.dsend(receiver, 'detached', []); + if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); + return receiver[S.$detached](); }; html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { - return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); + if (receiver == null) dart.nullFailed(I[149], 40162, 13, "receiver"); + if (name == null) dart.nullFailed(I[149], 40162, 30, "name"); + if (oldValue == null) dart.nullFailed(I[149], 40162, 43, "oldValue"); + if (newValue == null) dart.nullFailed(I[149], 40162, 60, "newValue"); + return receiver[S.$attributeChanged](name, oldValue, newValue); }; html$._makeCallbackMethod = function _makeCallbackMethod(callback) { return (function(invokeCallback) { @@ -105769,15 +115588,16 @@ html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); }; html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { - if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); - if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); - if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (element == null) dart.nullFailed(I[149], 40195, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[149], 40195, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[149], 40195, 48, "baseClassName"); if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); } }; html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { - if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + if (document == null) dart.nullFailed(I[149], 40204, 51, "document"); + if (tag == null) dart.nullFailed(I[149], 40204, 68, "tag"); let extendsTagName = ""; let type = null; if (options != null) { @@ -105803,8 +115623,8 @@ html$._registerCustomElement = function _registerCustomElement(context, document dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); } } else { - let element = dart.dsend(document, 'createElement', [extendsTagName]); - html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + let element = document[S.$createElement](extendsTagName); + html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); } let baseConstructor = context[baseClassName]; let properties = {}; @@ -105822,7 +115642,7 @@ html$._registerCustomElement = function _registerCustomElement(context, document return document.registerElement(tag, opts); }; html$._initializeCustomElement = function _initializeCustomElement(e) { - if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); + if (e == null) dart.nullFailed(I[149], 40291, 39, "e"); }; html$._wrapZone = function _wrapZone(T, callback) { if (dart.equals(async.Zone.current, async.Zone.root)) return callback; @@ -105835,11 +115655,11 @@ html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); }; html$.querySelector = function querySelector(selectors) { - if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40872, 31, "selectors"); return html$.document.querySelector(selectors); }; html$.querySelectorAll = function querySelectorAll(T, selectors) { - if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + if (selectors == null) dart.nullFailed(I[149], 40890, 59, "selectors"); return html$.document[S.$querySelectorAll](T, selectors); }; dart.copyProperties(html$, { @@ -105881,11 +115701,11 @@ html_common._StructuredClone = class _StructuredClone extends core.Object { return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + if (i == null) dart.nullFailed(I[153], 72, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + if (i == null) dart.nullFailed(I[153], 73, 17, "i"); this.copies[$_set](i, x); } cleanupSlots() { @@ -105938,8 +115758,8 @@ html_common._StructuredClone = class _StructuredClone extends core.Object { dart.throw(new core.UnimplementedError.new("structured clone of other type")); } copyList(e, slot) { - if (e == null) dart.nullFailed(I[151], 156, 22, "e"); - if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + if (e == null) dart.nullFailed(I[153], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[153], 156, 29, "slot"); let i = 0; let length = e[$length]; let copy = this.newJsList(length); @@ -105972,7 +115792,7 @@ dart.setMethodSignature(html_common._StructuredClone, () => ({ copyList: dart.fnType(core.List, [core.List, core.int]), convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) })); -dart.setLibraryUri(html_common._StructuredClone, I[150]); +dart.setLibraryUri(html_common._StructuredClone, I[152]); dart.setFieldSignature(html_common._StructuredClone, () => ({ __proto__: dart.getFields(html_common._StructuredClone.__proto__), values: dart.fieldType(core.List), @@ -105989,11 +115809,11 @@ html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.O return length; } readSlot(i) { - if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + if (i == null) dart.nullFailed(I[153], 211, 16, "i"); return this.copies[$_get](i); } writeSlot(i, x) { - if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + if (i == null) dart.nullFailed(I[153], 212, 17, "i"); this.copies[$_set](i, x); } walk(e) { @@ -106014,17 +115834,17 @@ html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.O let slot = this.findSlot(e); let copy = this.readSlot(slot); if (copy != null) return copy; - copy = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, copy); + let map = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, map); this.forEachJsField(e, dart.fn((key, value) => { - let t248, t247, t246; - t246 = copy; - t247 = key; - t248 = this.walk(value); - dart.dsend(t246, '_set', [t247, t248]); - return t248; + let t229, t228, t227; + t227 = map; + t228 = key; + t229 = this.walk(value); + t227[$_set](t228, t229); + return t229; }, T$0.dynamicAnddynamicTodynamic())); - return copy; + return map; } if (dart.test(html_common.isJavaScriptArray(e))) { let l = e; @@ -106064,7 +115884,7 @@ dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ walk: dart.fnType(dart.dynamic, [dart.dynamic]), convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) })); -dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); +dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), values: dart.fieldType(core.List), @@ -106076,53 +115896,70 @@ html_common.ContextAttributes = class ContextAttributes extends core.Object { return this[S$3.alpha]; } set alpha(value) { + if (value == null) dart.nullFailed(I[153], 289, 8, "alpha"); this[S$3.alpha] = value; } get antialias() { return this[S$3.antialias]; } set antialias(value) { + if (value == null) dart.nullFailed(I[153], 290, 8, "antialias"); this[S$3.antialias] = value; } get depth() { return this[S$3.depth]; } set depth(value) { + if (value == null) dart.nullFailed(I[153], 291, 8, "depth"); this[S$3.depth] = value; } get premultipliedAlpha() { return this[S$3.premultipliedAlpha]; } set premultipliedAlpha(value) { + if (value == null) dart.nullFailed(I[153], 292, 8, "premultipliedAlpha"); this[S$3.premultipliedAlpha] = value; } get preserveDrawingBuffer() { return this[S$3.preserveDrawingBuffer]; } set preserveDrawingBuffer(value) { + if (value == null) dart.nullFailed(I[153], 293, 8, "preserveDrawingBuffer"); this[S$3.preserveDrawingBuffer] = value; } get stencil() { return this[S$3.stencil]; } set stencil(value) { + if (value == null) dart.nullFailed(I[153], 294, 8, "stencil"); this[S$3.stencil] = value; } get failIfMajorPerformanceCaveat() { return this[S$3.failIfMajorPerformanceCaveat]; } set failIfMajorPerformanceCaveat(value) { + if (value == null) dart.nullFailed(I[153], 295, 8, "failIfMajorPerformanceCaveat"); this[S$3.failIfMajorPerformanceCaveat] = value; } + static ['_#new#tearOff'](alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); + return new html_common.ContextAttributes.new(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil); + } }; (html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { - if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); - if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); - if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); - if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); - if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); - if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); - if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + if (alpha == null) dart.nullFailed(I[153], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[153], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[153], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[153], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[153], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[153], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[153], 304, 12, "stencil"); this[S$3.alpha] = alpha; this[S$3.antialias] = antialias; this[S$3.depth] = depth; @@ -106134,7 +115971,7 @@ html_common.ContextAttributes = class ContextAttributes extends core.Object { }).prototype = html_common.ContextAttributes.prototype; dart.addTypeTests(html_common.ContextAttributes); dart.addTypeCaches(html_common.ContextAttributes); -dart.setLibraryUri(html_common.ContextAttributes, I[150]); +dart.setLibraryUri(html_common.ContextAttributes, I[152]); dart.setFieldSignature(html_common.ContextAttributes, () => ({ __proto__: dart.getFields(html_common.ContextAttributes.__proto__), alpha: dart.fieldType(core.bool), @@ -106147,7 +115984,7 @@ dart.setFieldSignature(html_common.ContextAttributes, () => ({ })); html_common._TypedImageData = class _TypedImageData extends core.Object { get data() { - return this[S$3.data$1]; + return this[S$3.data$2]; } set data(value) { super.data = value; @@ -106164,12 +116001,18 @@ html_common._TypedImageData = class _TypedImageData extends core.Object { set width(value) { super.width = value; } + static ['_#new#tearOff'](data, height, width) { + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + return new html_common._TypedImageData.new(data, height, width); + } }; (html_common._TypedImageData.new = function(data, height, width) { - if (data == null) dart.nullFailed(I[151], 330, 24, "data"); - if (height == null) dart.nullFailed(I[151], 330, 35, "height"); - if (width == null) dart.nullFailed(I[151], 330, 48, "width"); - this[S$3.data$1] = data; + if (data == null) dart.nullFailed(I[153], 330, 24, "data"); + if (height == null) dart.nullFailed(I[153], 330, 35, "height"); + if (width == null) dart.nullFailed(I[153], 330, 48, "width"); + this[S$3.data$2] = data; this[S$3.height$1] = height; this[S$3.width$1] = width; ; @@ -106177,7 +116020,7 @@ html_common._TypedImageData = class _TypedImageData extends core.Object { dart.addTypeTests(html_common._TypedImageData); dart.addTypeCaches(html_common._TypedImageData); html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; -dart.setLibraryUri(html_common._TypedImageData, I[150]); +dart.setLibraryUri(html_common._TypedImageData, I[152]); dart.setFieldSignature(html_common._TypedImageData, () => ({ __proto__: dart.getFields(html_common._TypedImageData.__proto__), data: dart.finalFieldType(typed_data.Uint8ClampedList), @@ -106190,7 +116033,7 @@ html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html return {}; } forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + if (action == null) dart.nullFailed(I[154], 103, 33, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } @@ -106208,7 +116051,10 @@ html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html return new Array(length); } cloneNotRequired(e) { - return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e) || html$.SharedArrayBuffer.is(e); + } + static ['_#new#tearOff']() { + return new html_common._StructuredCloneDart2Js.new(); } }; (html_common._StructuredCloneDart2Js.new = function() { @@ -106227,7 +116073,7 @@ dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ newJsList: dart.fnType(core.List, [dart.dynamic]), cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) })); -dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); +dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { newJsList(length) { return new Array(length); @@ -106239,11 +116085,14 @@ html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js return core.identical(a, b); } forEachJsField(object, action) { - if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + if (action == null) dart.nullFailed(I[154], 127, 31, "action"); for (let key of Object.keys(object)) { action(key, object[key]); } } + static ['_#new#tearOff']() { + return new html_common._AcceptStructuredCloneDart2Js.new(); + } }; (html_common._AcceptStructuredCloneDart2Js.new = function() { html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); @@ -106258,13 +116107,13 @@ dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) })); -dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); +dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[152]); html_common.Device = class Device extends core.Object { static get userAgent() { return html$.window.navigator.userAgent; } static isEventTypeSupported(eventType) { - if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + if (eventType == null) dart.nullFailed(I[155], 52, 43, "eventType"); try { let e = html$.Event.eventType(eventType, ""); return html$.Event.is(e); @@ -106276,13 +116125,19 @@ html_common.Device = class Device extends core.Object { } return false; } + static ['_#new#tearOff']() { + return new html_common.Device.new(); + } }; (html_common.Device.new = function() { ; }).prototype = html_common.Device.prototype; dart.addTypeTests(html_common.Device); dart.addTypeCaches(html_common.Device); -dart.setLibraryUri(html_common.Device, I[150]); +dart.setStaticMethodSignature(html_common.Device, () => ['isEventTypeSupported']); +dart.setStaticGetterSignature(html_common.Device, () => ['userAgent']); +dart.setLibraryUri(html_common.Device, I[152]); +dart.setStaticFieldSignature(html_common.Device, () => ['isOpera', 'isIE', 'isFirefox', 'isWebKit', 'cssPrefix', 'propertyPrefix']); dart.defineLazy(html_common.Device, { /*html_common.Device.isOpera*/get isOpera() { return html_common.Device.userAgent[$contains]("Opera", 0); @@ -106304,12 +116159,16 @@ dart.defineLazy(html_common.Device, { } }, false); html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + static ['_#new#tearOff'](node) { + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); + return new html_common.FilteredElementList.new(node); + } get [S$3._iterable$2]() { return this[S$3._childNodes][$where](dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + if (n == null) dart.nullFailed(I[156], 30, 26, "n"); return html$.Element.is(n); }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + if (n == null) dart.nullFailed(I[156], 30, 60, "n"); return html$.Element.as(n); }, T$0.NodeToElement())); } @@ -106317,19 +116176,19 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); } forEach(f) { - if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + if (f == null) dart.nullFailed(I[156], 34, 21, "f"); this[S$3._filtered][$forEach](f); } _set(index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + if (index == null) dart.nullFailed(I[156], 40, 25, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + if (value == null) dart.nullFailed(I[156], 40, 40, "value"); this._get(index)[S$.$replaceWith](value); return value$; } set length(newLength) { - if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + if (newLength == null) dart.nullFailed(I[156], 44, 18, "newLength"); let len = this.length; if (dart.notNull(newLength) >= dart.notNull(len)) { return; @@ -106340,12 +116199,12 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } add(value) { html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + if (value == null) dart.nullFailed(I[156], 55, 20, "value"); this[S$3._childNodes][$add](value); } addAll(iterable) { T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 59, 33, "iterable"); for (let element of iterable) { this.add(element); } @@ -106362,30 +116221,33 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); } setRange(start, end, iterable, skipCount = 0) { - if (start == null) dart.nullFailed(I[154], 77, 21, "start"); - if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + if (start == null) dart.nullFailed(I[156], 77, 21, "start"); + if (end == null) dart.nullFailed(I[156], 77, 32, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); - if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + if (iterable == null) dart.nullFailed(I[156], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[156], 78, 12, "skipCount"); dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); } fillRange(start, end, fillValue = null) { - if (start == null) dart.nullFailed(I[154], 82, 22, "start"); - if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + if (start == null) dart.nullFailed(I[156], 82, 22, "start"); + if (end == null) dart.nullFailed(I[156], 82, 33, "end"); T$0.ElementN().as(fillValue); dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); } replaceRange(start, end, iterable) { - if (start == null) dart.nullFailed(I[154], 86, 25, "start"); - if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + if (start == null) dart.nullFailed(I[156], 86, 25, "start"); + if (end == null) dart.nullFailed(I[156], 86, 36, "end"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 86, 59, "iterable"); dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); } removeRange(start, end) { - if (start == null) dart.nullFailed(I[154], 90, 24, "start"); - if (end == null) dart.nullFailed(I[154], 90, 35, "end"); - core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + if (start == null) dart.nullFailed(I[156], 90, 24, "start"); + if (end == null) dart.nullFailed(I[156], 90, 35, "end"); + T$0.ListOfElement().from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => { + if (el == null) dart.nullFailed(I[156], 92, 19, "el"); + return el[$remove](); + }, T$0.ElementTovoid())); } clear() { this[S$3._childNodes][$clear](); @@ -106398,9 +116260,9 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return result; } insert(index, value) { - if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + if (index == null) dart.nullFailed(I[156], 109, 19, "index"); html$.Element.as(value); - if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (value == null) dart.nullFailed(I[156], 109, 34, "value"); if (index == this.length) { this.add(value); } else { @@ -106409,9 +116271,9 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } } insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + if (index == null) dart.nullFailed(I[156], 118, 22, "index"); T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); if (index == this.length) { this.addAll(iterable); } else { @@ -106420,7 +116282,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } } removeAt(index) { - if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + if (index == null) dart.nullFailed(I[156], 127, 24, "index"); let result = this._get(index); result[$remove](); return result; @@ -106438,7 +116300,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L return this[S$3._iterable$2][$length]; } _get(index) { - if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + if (index == null) dart.nullFailed(I[156], 144, 27, "index"); return this[S$3._iterable$2][$elementAt](index); } get iterator() { @@ -106449,7 +116311,7 @@ html_common.FilteredElementList = class FilteredElementList extends collection.L } }; (html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + if (node == null) dart.nullFailed(I[156], 23, 28, "node"); this[S$3._childNodes] = node[S.$nodes]; this[S$3._node] = node; ; @@ -106477,7 +116339,7 @@ dart.setSetterSignature(html_common.FilteredElementList, () => ({ length: core.int, [$length]: core.int })); -dart.setLibraryUri(html_common.FilteredElementList, I[150]); +dart.setLibraryUri(html_common.FilteredElementList, I[152]); dart.setFieldSignature(html_common.FilteredElementList, () => ({ __proto__: dart.getFields(html_common.FilteredElementList.__proto__), [S$3._node]: dart.finalFieldType(html$.Node), @@ -106505,10 +116367,10 @@ dart.defineExtensionMethods(html_common.FilteredElementList, [ dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); html_common.Lists = class Lists extends core.Object { static indexOf(a, element, startIndex, endIndex) { - if (a == null) dart.nullFailed(I[155], 13, 27, "a"); - if (element == null) dart.nullFailed(I[155], 13, 37, "element"); - if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); - if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (a == null) dart.nullFailed(I[157], 13, 27, "a"); + if (element == null) dart.nullFailed(I[157], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[157], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[157], 13, 66, "endIndex"); if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { return -1; } @@ -106523,9 +116385,9 @@ html_common.Lists = class Lists extends core.Object { return -1; } static lastIndexOf(a, element, startIndex) { - if (a == null) dart.nullFailed(I[155], 33, 31, "a"); - if (element == null) dart.nullFailed(I[155], 33, 41, "element"); - if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (a == null) dart.nullFailed(I[157], 33, 31, "a"); + if (element == null) dart.nullFailed(I[157], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[157], 33, 54, "startIndex"); if (dart.notNull(startIndex) < 0) { return -1; } @@ -106540,10 +116402,10 @@ html_common.Lists = class Lists extends core.Object { return -1; } static getRange(a, start, end, accumulator) { - if (a == null) dart.nullFailed(I[155], 55, 29, "a"); - if (start == null) dart.nullFailed(I[155], 55, 36, "start"); - if (end == null) dart.nullFailed(I[155], 55, 47, "end"); - if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (a == null) dart.nullFailed(I[157], 55, 29, "a"); + if (start == null) dart.nullFailed(I[157], 55, 36, "start"); + if (end == null) dart.nullFailed(I[157], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[157], 55, 57, "accumulator"); if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); @@ -106552,20 +116414,24 @@ html_common.Lists = class Lists extends core.Object { } return accumulator; } + static ['_#new#tearOff']() { + return new html_common.Lists.new(); + } }; (html_common.Lists.new = function() { ; }).prototype = html_common.Lists.prototype; dart.addTypeTests(html_common.Lists); dart.addTypeCaches(html_common.Lists); -dart.setLibraryUri(html_common.Lists, I[150]); +dart.setStaticMethodSignature(html_common.Lists, () => ['indexOf', 'lastIndexOf', 'getRange']); +dart.setLibraryUri(html_common.Lists, I[152]); html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; (html_common.NodeListWrapper.new = function() { ; }).prototype = html_common.NodeListWrapper.prototype; dart.addTypeTests(html_common.NodeListWrapper); dart.addTypeCaches(html_common.NodeListWrapper); -dart.setLibraryUri(html_common.NodeListWrapper, I[150]); +dart.setLibraryUri(html_common.NodeListWrapper, I[152]); html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { return html_common.convertDartToNative_PrepareForStructuredClone(value); }; @@ -106590,18 +116456,33 @@ html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageDa return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); }; html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { - if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (imageData == null) dart.nullFailed(I[153], 369, 41, "imageData"); if (html_common._TypedImageData.is(imageData)) { return {data: imageData.data, height: imageData.height, width: imageData.width}; } return imageData; }; +html_common._convertNativeToDart_Value = function _convertNativeToDart_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (dart.test(html_common.isJavaScriptSimpleObject(value))) { + return html_common.convertNativeToDart_Dictionary(value); + } + if (Array.isArray(value)) { + let values = []; + for (let i = 0; i < value.length; i = i + 1) { + values[$add](html_common._convertNativeToDart_Value(value[i])); + } + return values; + } + return value; +}; html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { if (object == null) return null; let dict = new (T$0.IdentityMapOfString$dynamic()).new(); let keys = Object.getOwnPropertyNames(object); for (let key of keys) { - dict[$_set](core.String.as(key), object[key]); + dict[$_set](key, html_common._convertNativeToDart_Value(object[key])); } return dict; }; @@ -106630,7 +116511,7 @@ html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictio return object; }; html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + if (input == null) dart.nullFailed(I[154], 78, 51, "input"); return input; }; html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { @@ -106638,7 +116519,7 @@ html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); }; html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + if (date == null) dart.nullFailed(I[154], 88, 39, "date"); return new Date(date.millisecondsSinceEpoch); }; html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { @@ -106654,10 +116535,10 @@ html_common.isJavaScriptDate = function isJavaScriptDate(value) { html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { return value instanceof RegExp; }; -html_common.isJavaScriptArray = function isJavaScriptArray(value) { +html_common.isJavaScriptArray = function isJavaScriptArray$(value) { return value instanceof Array; }; -html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { +html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { let proto = Object.getPrototypeOf(value); return proto === Object.prototype || proto === null; }; @@ -106672,50 +116553,67 @@ dart.defineLazy(html_common, { return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; }, /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[416] || CT.C416; + return C[427] || CT.C427; }, /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[417] || CT.C417; + return C[428] || CT.C428; } }, false); svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { static createSvgElement_tag(tag) { - if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + if (tag == null) dart.nullFailed(I[158], 30, 49, "tag"); let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); return svg$.SvgElement.as(temp); } + static ['_#new#tearOff']() { + return new svg$._SvgElementFactoryProvider.new(); + } }; (svg$._SvgElementFactoryProvider.new = function() { ; }).prototype = svg$._SvgElementFactoryProvider.prototype; dart.addTypeTests(svg$._SvgElementFactoryProvider); dart.addTypeCaches(svg$._SvgElementFactoryProvider); -dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); +dart.setStaticMethodSignature(svg$._SvgElementFactoryProvider, () => ['createSvgElement_tag']); +dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[159]); svg$.SvgElement = class SvgElement extends html$.Element { static tag(tag) { - if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); } + static ['_#tag#tearOff'](tag) { + if (tag == null) dart.nullFailed(I[158], 2996, 33, "tag"); + return svg$.SvgElement.tag(tag); + } static svg(svg, opts) { - let t247; - if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let t228; + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (validator == null && treeSanitizer == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); let parentElement = null; if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { - parentElement = html$.document.body; + parentElement = dart.nullCheck(html$.document.body); } else { parentElement = svg$.SvgSvgElement.new(); } - let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); - return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + let fragment = parentElement[S.$createFragment](svg, {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 3013, 34, "e"); + return svg$.SvgElement.is(e); + }, T$0.NodeTobool()))[$single]); + } + static ['_#svg#tearOff'](svg, opts) { + if (svg == null) dart.nullFailed(I[158], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgElement.svg(svg, {validator: validator, treeSanitizer: treeSanitizer}); } get [S.$classes]() { return new svg$.AttributeClassSet.new(this); @@ -106727,7 +116625,7 @@ svg$.SvgElement = class SvgElement extends html$.Element { return new html_common.FilteredElementList.new(this); } set [S.$children](value) { - if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); let children = this[S.$children]; children[$clear](); children[$addAll](value); @@ -106748,14 +116646,14 @@ svg$.SvgElement = class SvgElement extends html$.Element { this[S.$setInnerHtml](value); } [S.$createFragment](svg, opts) { - let t247; + let t228; let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; if (treeSanitizer == null) { if (validator == null) { - validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { - t247.allowSvg(); - return t247; + validator = (t228 = new html$.NodeValidatorBuilder.common(), (() => { + t228.allowSvg(); + return t228; })()); } treeSanitizer = html$.NodeTreeSanitizer.new(validator); @@ -106770,20 +116668,20 @@ svg$.SvgElement = class SvgElement extends html$.Element { return svgFragment; } [S.$insertAdjacentText](where, text) { - if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3069, 48, "text"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); } [S.$insertAdjacentHtml](where, text, opts) { - if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); - if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + if (where == null) dart.nullFailed(I[158], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[158], 3073, 48, "text"); let validator = opts && 'validator' in opts ? opts.validator : null; let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); } [S.$insertAdjacentElement](where, element) { - if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); - if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + if (where == null) dart.nullFailed(I[158], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[158], 3078, 55, "element"); dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); } get [S$3._children$1]() { @@ -106796,10 +116694,16 @@ svg$.SvgElement = class SvgElement extends html$.Element { dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); } static isTagSupported(tag) { - if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + if (tag == null) dart.nullFailed(I[158], 3096, 37, "tag"); let e = svg$.SvgElement.tag(tag); return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); } + static ['_#_#tearOff']() { + return svg$.SvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgElement.created(); + } get [S$3._svgClassName]() { return this.className; } @@ -106908,61 +116812,61 @@ svg$.SvgElement = class SvgElement extends html$.Element { get [S.$onMouseDown]() { return svg$.SvgElement.mouseDownEvent.forElement(this); } - get [S.$onMouseEnter]() { + get [S$.$onMouseEnter]() { return svg$.SvgElement.mouseEnterEvent.forElement(this); } - get [S.$onMouseLeave]() { + get [S$.$onMouseLeave]() { return svg$.SvgElement.mouseLeaveEvent.forElement(this); } - get [S.$onMouseMove]() { + get [S$.$onMouseMove]() { return svg$.SvgElement.mouseMoveEvent.forElement(this); } - get [S.$onMouseOut]() { + get [S$.$onMouseOut]() { return svg$.SvgElement.mouseOutEvent.forElement(this); } - get [S.$onMouseOver]() { + get [S$.$onMouseOver]() { return svg$.SvgElement.mouseOverEvent.forElement(this); } - get [S.$onMouseUp]() { + get [S$.$onMouseUp]() { return svg$.SvgElement.mouseUpEvent.forElement(this); } - get [S.$onMouseWheel]() { + get [S$.$onMouseWheel]() { return svg$.SvgElement.mouseWheelEvent.forElement(this); } - get [S.$onPause]() { + get [S$.$onPause]() { return svg$.SvgElement.pauseEvent.forElement(this); } - get [S.$onPlay]() { + get [S$.$onPlay]() { return svg$.SvgElement.playEvent.forElement(this); } - get [S.$onPlaying]() { + get [S$.$onPlaying]() { return svg$.SvgElement.playingEvent.forElement(this); } - get [S.$onRateChange]() { + get [S$.$onRateChange]() { return svg$.SvgElement.rateChangeEvent.forElement(this); } - get [S.$onReset]() { + get [S$.$onReset]() { return svg$.SvgElement.resetEvent.forElement(this); } - get [S.$onResize]() { + get [S$.$onResize]() { return svg$.SvgElement.resizeEvent.forElement(this); } - get [S.$onScroll]() { + get [S$.$onScroll]() { return svg$.SvgElement.scrollEvent.forElement(this); } - get [S.$onSeeked]() { + get [S$.$onSeeked]() { return svg$.SvgElement.seekedEvent.forElement(this); } - get [S.$onSeeking]() { + get [S$.$onSeeking]() { return svg$.SvgElement.seekingEvent.forElement(this); } - get [S.$onSelect]() { + get [S$.$onSelect]() { return svg$.SvgElement.selectEvent.forElement(this); } - get [S.$onStalled]() { + get [S$.$onStalled]() { return svg$.SvgElement.stalledEvent.forElement(this); } - get [S.$onSubmit]() { + get [S$.$onSubmit]() { return svg$.SvgElement.submitEvent.forElement(this); } get [S$.$onSuspend]() { @@ -107000,6 +116904,7 @@ svg$.SvgElement = class SvgElement extends html$.Element { dart.addTypeTests(svg$.SvgElement); dart.addTypeCaches(svg$.SvgElement); svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; +dart.setStaticMethodSignature(svg$.SvgElement, () => ['tag', 'svg', 'isTagSupported', '__']); dart.setGetterSignature(svg$.SvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgElement.__proto__), [S$3._children$1]: html$.HtmlCollection, @@ -107013,185 +116918,192 @@ dart.setSetterSignature(svg$.SvgElement, () => ({ __proto__: dart.getSetters(svg$.SvgElement.__proto__), [S.$nonce]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.SvgElement, I[157]); +dart.setLibraryUri(svg$.SvgElement, I[159]); +dart.setStaticFieldSignature(svg$.SvgElement, () => ['_START_TAG_REGEXP', 'abortEvent', 'blurEvent', 'canPlayEvent', 'canPlayThroughEvent', 'changeEvent', 'clickEvent', 'contextMenuEvent', 'doubleClickEvent', 'dragEvent', 'dragEndEvent', 'dragEnterEvent', 'dragLeaveEvent', 'dragOverEvent', 'dragStartEvent', 'dropEvent', 'durationChangeEvent', 'emptiedEvent', 'endedEvent', 'errorEvent', 'focusEvent', 'inputEvent', 'invalidEvent', 'keyDownEvent', 'keyPressEvent', 'keyUpEvent', 'loadEvent', 'loadedDataEvent', 'loadedMetadataEvent', 'mouseDownEvent', 'mouseEnterEvent', 'mouseLeaveEvent', 'mouseMoveEvent', 'mouseOutEvent', 'mouseOverEvent', 'mouseUpEvent', 'mouseWheelEvent', 'pauseEvent', 'playEvent', 'playingEvent', 'rateChangeEvent', 'resetEvent', 'resizeEvent', 'scrollEvent', 'seekedEvent', 'seekingEvent', 'selectEvent', 'stalledEvent', 'submitEvent', 'suspendEvent', 'timeUpdateEvent', 'touchCancelEvent', 'touchEndEvent', 'touchMoveEvent', 'touchStartEvent', 'volumeChangeEvent', 'waitingEvent', 'wheelEvent']); dart.defineLazy(svg$.SvgElement, { /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { return core.RegExp.new("<(\\w+)"); }, /*svg$.SvgElement.abortEvent*/get abortEvent() { - return C[214] || CT.C214; + return C[224] || CT.C224; }, /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[233] || CT.C233; + return C[243] || CT.C243; }, /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[234] || CT.C234; + return C[244] || CT.C244; }, /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[235] || CT.C235; + return C[245] || CT.C245; }, /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; }, /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[237] || CT.C237; + return C[247] || CT.C247; }, /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[238] || CT.C238; + return C[248] || CT.C248; }, /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[241] || CT.C241; + return C[251] || CT.C251; }, /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[242] || CT.C242; + return C[252] || CT.C252; }, /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[243] || CT.C243; + return C[253] || CT.C253; }, /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[244] || CT.C244; + return C[254] || CT.C254; }, /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[245] || CT.C245; + return C[255] || CT.C255; }, /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[246] || CT.C246; + return C[256] || CT.C256; }, /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[247] || CT.C247; + return C[257] || CT.C257; }, /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[248] || CT.C248; + return C[258] || CT.C258; }, /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[249] || CT.C249; + return C[259] || CT.C259; }, /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[250] || CT.C250; + return C[260] || CT.C260; }, /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; }, /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[216] || CT.C216; + return C[226] || CT.C226; }, /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[252] || CT.C252; + return C[262] || CT.C262; }, /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[253] || CT.C253; + return C[263] || CT.C263; }, /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[254] || CT.C254; + return C[264] || CT.C264; }, /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[255] || CT.C255; + return C[265] || CT.C265; }, /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[256] || CT.C256; + return C[266] || CT.C266; }, /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[257] || CT.C257; + return C[267] || CT.C267; }, /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[258] || CT.C258; + return C[268] || CT.C268; }, /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[259] || CT.C259; + return C[269] || CT.C269; }, /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[260] || CT.C260; + return C[270] || CT.C270; }, /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[261] || CT.C261; + return C[271] || CT.C271; }, /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[262] || CT.C262; + return C[272] || CT.C272; }, /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[263] || CT.C263; + return C[273] || CT.C273; }, /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[264] || CT.C264; + return C[274] || CT.C274; }, /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[265] || CT.C265; + return C[275] || CT.C275; }, /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[266] || CT.C266; + return C[276] || CT.C276; }, /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[267] || CT.C267; + return C[277] || CT.C277; }, /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[342] || CT.C342; + return C[352] || CT.C352; }, /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[269] || CT.C269; + return C[279] || CT.C279; }, /*svg$.SvgElement.playEvent*/get playEvent() { - return C[270] || CT.C270; + return C[280] || CT.C280; }, /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[271] || CT.C271; + return C[281] || CT.C281; }, /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[272] || CT.C272; + return C[282] || CT.C282; }, /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[273] || CT.C273; + return C[283] || CT.C283; }, /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[274] || CT.C274; + return C[284] || CT.C284; }, /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[275] || CT.C275; + return C[285] || CT.C285; }, /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[277] || CT.C277; + return C[287] || CT.C287; }, /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[278] || CT.C278; + return C[288] || CT.C288; }, /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[279] || CT.C279; + return C[289] || CT.C289; }, /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[281] || CT.C281; + return C[291] || CT.C291; }, /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[282] || CT.C282; + return C[292] || CT.C292; }, /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[283] || CT.C283; + return C[293] || CT.C293; }, /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[284] || CT.C284; + return C[294] || CT.C294; }, /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[285] || CT.C285; + return C[295] || CT.C295; }, /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[286] || CT.C286; + return C[296] || CT.C296; }, /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[289] || CT.C289; + return C[299] || CT.C299; }, /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[290] || CT.C290; + return C[300] || CT.C300; }, /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[291] || CT.C291; + return C[301] || CT.C301; }, /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[292] || CT.C292; + return C[302] || CT.C302; }, /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - return C[295] || CT.C295; + return C[305] || CT.C305; } }, false); dart.registerExtension("SVGElement", svg$.SvgElement); svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.GraphicsElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GraphicsElement.created(); + } get [S$3.$farthestViewportElement]() { return this.farthestViewportElement; } @@ -107230,6 +117142,7 @@ dart.setMethodSignature(svg$.GraphicsElement, () => ({ [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) })); +dart.setStaticMethodSignature(svg$.GraphicsElement, () => ['__']); dart.setGetterSignature(svg$.GraphicsElement, () => ({ __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), @@ -107238,12 +117151,21 @@ dart.setGetterSignature(svg$.GraphicsElement, () => ({ [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.GraphicsElement, I[157]); +dart.setLibraryUri(svg$.GraphicsElement, I[159]); dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); svg$.AElement = class AElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.AElement.__(); + } static new() { return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); } + static ['_#new#tearOff']() { + return svg$.AElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AElement.created(); + } get [S.$target]() { return this.target; } @@ -107258,14 +117180,18 @@ svg$.AElement = class AElement extends svg$.GraphicsElement { dart.addTypeTests(svg$.AElement); dart.addTypeCaches(svg$.AElement); svg$.AElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.AElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AElement, () => ({ __proto__: dart.getGetters(svg$.AElement.__proto__), [S.$target]: svg$.AnimatedString, [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.AElement, I[157]); +dart.setLibraryUri(svg$.AElement, I[159]); dart.registerExtension("SVGAElement", svg$.AElement); -svg$.Angle = class Angle extends _interceptors.Interceptor { +svg$.Angle = class Angle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Angle.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -107301,6 +117227,7 @@ dart.setMethodSignature(svg$.Angle, () => ({ [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); +dart.setStaticMethodSignature(svg$.Angle, () => ['__']); dart.setGetterSignature(svg$.Angle, () => ({ __proto__: dart.getGetters(svg$.Angle.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -107314,7 +117241,8 @@ dart.setSetterSignature(svg$.Angle, () => ({ [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Angle, I[157]); +dart.setLibraryUri(svg$.Angle, I[159]); +dart.setStaticFieldSignature(svg$.Angle, () => ['SVG_ANGLETYPE_DEG', 'SVG_ANGLETYPE_GRAD', 'SVG_ANGLETYPE_RAD', 'SVG_ANGLETYPE_UNKNOWN', 'SVG_ANGLETYPE_UNSPECIFIED']); dart.defineLazy(svg$.Angle, { /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { return 2; @@ -107334,9 +117262,18 @@ dart.defineLazy(svg$.Angle, { }, false); dart.registerExtension("SVGAngle", svg$.Angle); svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.AnimationElement.__(); + } static new() { return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); } + static ['_#new#tearOff']() { + return svg$.AnimationElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimationElement.created(); + } get [S$3.$targetElement]() { return this.targetElement; } @@ -107385,18 +117322,28 @@ dart.setMethodSignature(svg$.AnimationElement, () => ({ [S$3.$getSimpleDuration]: dart.fnType(core.double, []), [S$3.$getStartTime]: dart.fnType(core.double, []) })); +dart.setStaticMethodSignature(svg$.AnimationElement, () => ['__', 'new']); dart.setGetterSignature(svg$.AnimationElement, () => ({ __proto__: dart.getGetters(svg$.AnimationElement.__proto__), [S$3.$targetElement]: dart.nullable(svg$.SvgElement), [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.AnimationElement, I[157]); +dart.setLibraryUri(svg$.AnimationElement, I[159]); dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateElement.__(); + } static new() { return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); } + static ['_#new#tearOff']() { + return svg$.AnimateElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); } @@ -107407,12 +117354,23 @@ svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { }).prototype = svg$.AnimateElement.prototype; dart.addTypeTests(svg$.AnimateElement); dart.addTypeCaches(svg$.AnimateElement); -dart.setLibraryUri(svg$.AnimateElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateElement, I[159]); dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateMotionElement.__(); + } static new() { return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); } + static ['_#new#tearOff']() { + return svg$.AnimateMotionElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateMotionElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); } @@ -107423,12 +117381,23 @@ svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationEle }).prototype = svg$.AnimateMotionElement.prototype; dart.addTypeTests(svg$.AnimateMotionElement); dart.addTypeCaches(svg$.AnimateMotionElement); -dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateMotionElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateMotionElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateMotionElement, I[159]); dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.AnimateTransformElement.__(); + } static new() { return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); } + static ['_#new#tearOff']() { + return svg$.AnimateTransformElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.AnimateTransformElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); } @@ -107439,9 +117408,14 @@ svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.Animat }).prototype = svg$.AnimateTransformElement.prototype; dart.addTypeTests(svg$.AnimateTransformElement); dart.addTypeCaches(svg$.AnimateTransformElement); -dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); +dart.setStaticMethodSignature(svg$.AnimateTransformElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.AnimateTransformElement, () => ['supported']); +dart.setLibraryUri(svg$.AnimateTransformElement, I[159]); dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); -svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { +svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedAngle.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107451,14 +117425,18 @@ svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedAngle); dart.addTypeCaches(svg$.AnimatedAngle); +dart.setStaticMethodSignature(svg$.AnimatedAngle, () => ['__']); dart.setGetterSignature(svg$.AnimatedAngle, () => ({ __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), [S$3.$animVal]: dart.nullable(svg$.Angle), [S$3.$baseVal]: dart.nullable(svg$.Angle) })); -dart.setLibraryUri(svg$.AnimatedAngle, I[157]); +dart.setLibraryUri(svg$.AnimatedAngle, I[159]); dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); -svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { +svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedBoolean.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107471,6 +117449,7 @@ svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedBoolean); dart.addTypeCaches(svg$.AnimatedBoolean); +dart.setStaticMethodSignature(svg$.AnimatedBoolean, () => ['__']); dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), [S$3.$animVal]: dart.nullable(core.bool), @@ -107480,9 +117459,12 @@ dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), [S$3.$baseVal]: dart.nullable(core.bool) })); -dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); +dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); -svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { +svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedEnumeration.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107495,6 +117477,7 @@ svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Inter }; dart.addTypeTests(svg$.AnimatedEnumeration); dart.addTypeCaches(svg$.AnimatedEnumeration); +dart.setStaticMethodSignature(svg$.AnimatedEnumeration, () => ['__']); dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107504,9 +117487,12 @@ dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); +dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); -svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { +svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedInteger.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107519,6 +117505,7 @@ svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedInteger); dart.addTypeCaches(svg$.AnimatedInteger); +dart.setStaticMethodSignature(svg$.AnimatedInteger, () => ['__']); dart.setGetterSignature(svg$.AnimatedInteger, () => ({ __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), [S$3.$animVal]: dart.nullable(core.int), @@ -107528,9 +117515,12 @@ dart.setSetterSignature(svg$.AnimatedInteger, () => ({ __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), [S$3.$baseVal]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.AnimatedInteger, I[157]); +dart.setLibraryUri(svg$.AnimatedInteger, I[159]); dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); -svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { +svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLength.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107540,14 +117530,18 @@ svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedLength); dart.addTypeCaches(svg$.AnimatedLength); +dart.setStaticMethodSignature(svg$.AnimatedLength, () => ['__']); dart.setGetterSignature(svg$.AnimatedLength, () => ({ __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), [S$3.$animVal]: dart.nullable(svg$.Length), [S$3.$baseVal]: dart.nullable(svg$.Length) })); -dart.setLibraryUri(svg$.AnimatedLength, I[157]); +dart.setLibraryUri(svg$.AnimatedLength, I[159]); dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); -svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { +svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedLengthList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107557,14 +117551,18 @@ svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interce }; dart.addTypeTests(svg$.AnimatedLengthList); dart.addTypeCaches(svg$.AnimatedLengthList); +dart.setStaticMethodSignature(svg$.AnimatedLengthList, () => ['__']); dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), [S$3.$animVal]: dart.nullable(svg$.LengthList), [S$3.$baseVal]: dart.nullable(svg$.LengthList) })); -dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); +dart.setLibraryUri(svg$.AnimatedLengthList, I[159]); dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); -svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { +svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumber.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107577,6 +117575,7 @@ svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedNumber); dart.addTypeCaches(svg$.AnimatedNumber); +dart.setStaticMethodSignature(svg$.AnimatedNumber, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumber, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), [S$3.$animVal]: dart.nullable(core.num), @@ -107586,9 +117585,12 @@ dart.setSetterSignature(svg$.AnimatedNumber, () => ({ __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), [S$3.$baseVal]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.AnimatedNumber, I[157]); +dart.setLibraryUri(svg$.AnimatedNumber, I[159]); dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); -svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { +svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedNumberList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107598,14 +117600,18 @@ svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interce }; dart.addTypeTests(svg$.AnimatedNumberList); dart.addTypeCaches(svg$.AnimatedNumberList); +dart.setStaticMethodSignature(svg$.AnimatedNumberList, () => ['__']); dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), [S$3.$animVal]: dart.nullable(svg$.NumberList), [S$3.$baseVal]: dart.nullable(svg$.NumberList) })); -dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); +dart.setLibraryUri(svg$.AnimatedNumberList, I[159]); dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); -svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { +svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedPreserveAspectRatio.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107615,14 +117621,18 @@ svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _in }; dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); +dart.setStaticMethodSignature(svg$.AnimatedPreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) })); -dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); +dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[159]); dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); -svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { +svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedRect.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107632,14 +117642,18 @@ svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedRect); dart.addTypeCaches(svg$.AnimatedRect); +dart.setStaticMethodSignature(svg$.AnimatedRect, () => ['__']); dart.setGetterSignature(svg$.AnimatedRect, () => ({ __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), [S$3.$animVal]: dart.nullable(svg$.Rect), [S$3.$baseVal]: dart.nullable(svg$.Rect) })); -dart.setLibraryUri(svg$.AnimatedRect, I[157]); +dart.setLibraryUri(svg$.AnimatedRect, I[159]); dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); -svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { +svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedString.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107652,6 +117666,7 @@ svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.AnimatedString); dart.addTypeCaches(svg$.AnimatedString); +dart.setStaticMethodSignature(svg$.AnimatedString, () => ['__']); dart.setGetterSignature(svg$.AnimatedString, () => ({ __proto__: dart.getGetters(svg$.AnimatedString.__proto__), [S$3.$animVal]: dart.nullable(core.String), @@ -107661,9 +117676,12 @@ dart.setSetterSignature(svg$.AnimatedString, () => ({ __proto__: dart.getSetters(svg$.AnimatedString.__proto__), [S$3.$baseVal]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.AnimatedString, I[157]); +dart.setLibraryUri(svg$.AnimatedString, I[159]); dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); -svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { +svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.AnimatedTransformList.__(); + } get [S$3.$animVal]() { return this.animVal; } @@ -107673,14 +117691,21 @@ svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.I }; dart.addTypeTests(svg$.AnimatedTransformList); dart.addTypeCaches(svg$.AnimatedTransformList); +dart.setStaticMethodSignature(svg$.AnimatedTransformList, () => ['__']); dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), [S$3.$animVal]: dart.nullable(svg$.TransformList), [S$3.$baseVal]: dart.nullable(svg$.TransformList) })); -dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); +dart.setLibraryUri(svg$.AnimatedTransformList, I[159]); dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GeometryElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.GeometryElement.created(); + } get [S$3.$pathLength]() { return this.pathLength; } @@ -107710,16 +117735,26 @@ dart.setMethodSignature(svg$.GeometryElement, () => ({ [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) })); +dart.setStaticMethodSignature(svg$.GeometryElement, () => ['__']); dart.setGetterSignature(svg$.GeometryElement, () => ({ __proto__: dart.getGetters(svg$.GeometryElement.__proto__), [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.GeometryElement, I[157]); +dart.setLibraryUri(svg$.GeometryElement, I[159]); dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.CircleElement.__(); + } static new() { return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); } + static ['_#new#tearOff']() { + return svg$.CircleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.CircleElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107736,18 +117771,28 @@ svg$.CircleElement = class CircleElement extends svg$.GeometryElement { }).prototype = svg$.CircleElement.prototype; dart.addTypeTests(svg$.CircleElement); dart.addTypeCaches(svg$.CircleElement); +dart.setStaticMethodSignature(svg$.CircleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.CircleElement, () => ({ __proto__: dart.getGetters(svg$.CircleElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), [S$3.$cy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.CircleElement, I[157]); +dart.setLibraryUri(svg$.CircleElement, I[159]); dart.registerExtension("SVGCircleElement", svg$.CircleElement); svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ClipPathElement.__(); + } static new() { return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); } + static ['_#new#tearOff']() { + return svg$.ClipPathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ClipPathElement.created(); + } get [S$3.$clipPathUnits]() { return this.clipPathUnits; } @@ -107758,16 +117803,26 @@ svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { }).prototype = svg$.ClipPathElement.prototype; dart.addTypeTests(svg$.ClipPathElement); dart.addTypeCaches(svg$.ClipPathElement); +dart.setStaticMethodSignature(svg$.ClipPathElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ClipPathElement, () => ({ __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) })); -dart.setLibraryUri(svg$.ClipPathElement, I[157]); +dart.setLibraryUri(svg$.ClipPathElement, I[159]); dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.DefsElement.__(); + } static new() { return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); } + static ['_#new#tearOff']() { + return svg$.DefsElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DefsElement.created(); + } }; (svg$.DefsElement.created = function() { svg$.DefsElement.__proto__.created.call(this); @@ -107775,12 +117830,22 @@ svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { }).prototype = svg$.DefsElement.prototype; dart.addTypeTests(svg$.DefsElement); dart.addTypeCaches(svg$.DefsElement); -dart.setLibraryUri(svg$.DefsElement, I[157]); +dart.setStaticMethodSignature(svg$.DefsElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.DefsElement, I[159]); dart.registerExtension("SVGDefsElement", svg$.DefsElement); svg$.DescElement = class DescElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DescElement.__(); + } static new() { return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); } + static ['_#new#tearOff']() { + return svg$.DescElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.DescElement.created(); + } }; (svg$.DescElement.created = function() { svg$.DescElement.__proto__.created.call(this); @@ -107788,21 +117853,39 @@ svg$.DescElement = class DescElement extends svg$.SvgElement { }).prototype = svg$.DescElement.prototype; dart.addTypeTests(svg$.DescElement); dart.addTypeCaches(svg$.DescElement); -dart.setLibraryUri(svg$.DescElement, I[157]); +dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.DescElement, I[159]); dart.registerExtension("SVGDescElement", svg$.DescElement); -svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; +svg$.DiscardElement = class DiscardElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.DiscardElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.DiscardElement.created(); + } +}; (svg$.DiscardElement.created = function() { svg$.DiscardElement.__proto__.created.call(this); ; }).prototype = svg$.DiscardElement.prototype; dart.addTypeTests(svg$.DiscardElement); dart.addTypeCaches(svg$.DiscardElement); -dart.setLibraryUri(svg$.DiscardElement, I[157]); +dart.setStaticMethodSignature(svg$.DiscardElement, () => ['__']); +dart.setLibraryUri(svg$.DiscardElement, I[159]); dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.EllipseElement.__(); + } static new() { return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); } + static ['_#new#tearOff']() { + return svg$.EllipseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.EllipseElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -107822,6 +117905,7 @@ svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { }).prototype = svg$.EllipseElement.prototype; dart.addTypeTests(svg$.EllipseElement); dart.addTypeCaches(svg$.EllipseElement); +dart.setStaticMethodSignature(svg$.EllipseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.EllipseElement, () => ({ __proto__: dart.getGetters(svg$.EllipseElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -107829,12 +117913,21 @@ dart.setGetterSignature(svg$.EllipseElement, () => ({ [S$3.$rx]: dart.nullable(svg$.AnimatedLength), [S$3.$ry]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.EllipseElement, I[157]); +dart.setLibraryUri(svg$.EllipseElement, I[159]); dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEBlendElement.__(); + } static new() { return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); } + static ['_#new#tearOff']() { + return svg$.FEBlendElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEBlendElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); } @@ -107870,6 +117963,7 @@ svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEBlendElement); dart.addTypeCaches(svg$.FEBlendElement); svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEBlendElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEBlendElement, () => ({ __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -107881,7 +117975,9 @@ dart.setGetterSignature(svg$.FEBlendElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEBlendElement, I[157]); +dart.setStaticGetterSignature(svg$.FEBlendElement, () => ['supported']); +dart.setLibraryUri(svg$.FEBlendElement, I[159]); +dart.setStaticFieldSignature(svg$.FEBlendElement, () => ['SVG_FEBLEND_MODE_DARKEN', 'SVG_FEBLEND_MODE_LIGHTEN', 'SVG_FEBLEND_MODE_MULTIPLY', 'SVG_FEBLEND_MODE_NORMAL', 'SVG_FEBLEND_MODE_SCREEN', 'SVG_FEBLEND_MODE_UNKNOWN']); dart.defineLazy(svg$.FEBlendElement, { /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { return 4; @@ -107904,9 +118000,18 @@ dart.defineLazy(svg$.FEBlendElement, { }, false); dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEColorMatrixElement.__(); + } static new() { return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEColorMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEColorMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); } @@ -107942,6 +118047,7 @@ svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEColorMatrixElement); dart.addTypeCaches(svg$.FEColorMatrixElement); svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEColorMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), [S$3.$in1]: svg$.AnimatedString, @@ -107953,7 +118059,9 @@ dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); +dart.setStaticGetterSignature(svg$.FEColorMatrixElement, () => ['supported']); +dart.setLibraryUri(svg$.FEColorMatrixElement, I[159]); +dart.setStaticFieldSignature(svg$.FEColorMatrixElement, () => ['SVG_FECOLORMATRIX_TYPE_HUEROTATE', 'SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA', 'SVG_FECOLORMATRIX_TYPE_MATRIX', 'SVG_FECOLORMATRIX_TYPE_SATURATE', 'SVG_FECOLORMATRIX_TYPE_UNKNOWN']); dart.defineLazy(svg$.FEColorMatrixElement, { /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { return 3; @@ -107973,9 +118081,18 @@ dart.defineLazy(svg$.FEColorMatrixElement, { }, false); dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEComponentTransferElement.__(); + } static new() { return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); } + static ['_#new#tearOff']() { + return svg$.FEComponentTransferElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEComponentTransferElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); } @@ -108005,6 +118122,7 @@ svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$. dart.addTypeTests(svg$.FEComponentTransferElement); dart.addTypeCaches(svg$.FEComponentTransferElement); svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEComponentTransferElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108014,9 +118132,16 @@ dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); +dart.setStaticGetterSignature(svg$.FEComponentTransferElement, () => ['supported']); +dart.setLibraryUri(svg$.FEComponentTransferElement, I[159]); dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FECompositeElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FECompositeElement.created(); + } get [S$3.$in1]() { return this.in1; } @@ -108061,6 +118186,7 @@ svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { dart.addTypeTests(svg$.FECompositeElement); dart.addTypeCaches(svg$.FECompositeElement); svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FECompositeElement, () => ['__']); dart.setGetterSignature(svg$.FECompositeElement, () => ({ __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108076,7 +118202,8 @@ dart.setGetterSignature(svg$.FECompositeElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FECompositeElement, I[157]); +dart.setLibraryUri(svg$.FECompositeElement, I[159]); +dart.setStaticFieldSignature(svg$.FECompositeElement, () => ['SVG_FECOMPOSITE_OPERATOR_ARITHMETIC', 'SVG_FECOMPOSITE_OPERATOR_ATOP', 'SVG_FECOMPOSITE_OPERATOR_IN', 'SVG_FECOMPOSITE_OPERATOR_OUT', 'SVG_FECOMPOSITE_OPERATOR_OVER', 'SVG_FECOMPOSITE_OPERATOR_UNKNOWN', 'SVG_FECOMPOSITE_OPERATOR_XOR']); dart.defineLazy(svg$.FECompositeElement, { /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { return 6; @@ -108102,9 +118229,18 @@ dart.defineLazy(svg$.FECompositeElement, { }, false); dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEConvolveMatrixElement.__(); + } static new() { return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); } + static ['_#new#tearOff']() { + return svg$.FEConvolveMatrixElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEConvolveMatrixElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); } @@ -108167,6 +118303,7 @@ svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgEle dart.addTypeTests(svg$.FEConvolveMatrixElement); dart.addTypeCaches(svg$.FEConvolveMatrixElement); svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEConvolveMatrixElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), @@ -108187,7 +118324,9 @@ dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); +dart.setStaticGetterSignature(svg$.FEConvolveMatrixElement, () => ['supported']); +dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[159]); +dart.setStaticFieldSignature(svg$.FEConvolveMatrixElement, () => ['SVG_EDGEMODE_DUPLICATE', 'SVG_EDGEMODE_NONE', 'SVG_EDGEMODE_UNKNOWN', 'SVG_EDGEMODE_WRAP']); dart.defineLazy(svg$.FEConvolveMatrixElement, { /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { return 1; @@ -108204,9 +118343,18 @@ dart.defineLazy(svg$.FEConvolveMatrixElement, { }, false); dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDiffuseLightingElement.__(); + } static new() { return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); } + static ['_#new#tearOff']() { + return svg$.FEDiffuseLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDiffuseLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); } @@ -108248,6 +118396,7 @@ svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgE dart.addTypeTests(svg$.FEDiffuseLightingElement); dart.addTypeCaches(svg$.FEDiffuseLightingElement); svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEDiffuseLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), @@ -108261,12 +118410,22 @@ dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDiffuseLightingElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[159]); dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDisplacementMapElement.__(); + } static new() { return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); } + static ['_#new#tearOff']() { + return svg$.FEDisplacementMapElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDisplacementMapElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); } @@ -108308,6 +118467,7 @@ svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgE dart.addTypeTests(svg$.FEDisplacementMapElement); dart.addTypeCaches(svg$.FEDisplacementMapElement); svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEDisplacementMapElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108321,7 +118481,9 @@ dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDisplacementMapElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDisplacementMapElement, I[159]); +dart.setStaticFieldSignature(svg$.FEDisplacementMapElement, () => ['SVG_CHANNEL_A', 'SVG_CHANNEL_B', 'SVG_CHANNEL_G', 'SVG_CHANNEL_R', 'SVG_CHANNEL_UNKNOWN']); dart.defineLazy(svg$.FEDisplacementMapElement, { /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { return 4; @@ -108341,9 +118503,18 @@ dart.defineLazy(svg$.FEDisplacementMapElement, { }, false); dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEDistantLightElement.__(); + } static new() { return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); } + static ['_#new#tearOff']() { + return svg$.FEDistantLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEDistantLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); } @@ -108360,17 +118531,28 @@ svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement }).prototype = svg$.FEDistantLightElement.prototype; dart.addTypeTests(svg$.FEDistantLightElement); dart.addTypeCaches(svg$.FEDistantLightElement); +dart.setStaticMethodSignature(svg$.FEDistantLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FEDistantLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FEDistantLightElement, I[159]); dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEFloodElement.__(); + } static new() { return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); } + static ['_#new#tearOff']() { + return svg$.FEFloodElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFloodElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); } @@ -108397,6 +118579,7 @@ svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEFloodElement); dart.addTypeCaches(svg$.FEFloodElement); svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEFloodElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEFloodElement, () => ({ __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108405,21 +118588,36 @@ dart.setGetterSignature(svg$.FEFloodElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEFloodElement, I[157]); +dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFloodElement, I[159]); dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); -svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; +svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGComponentTransferFunctionElement.__(); + } +}; (svg$._SVGComponentTransferFunctionElement.created = function() { svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); ; }).prototype = svg$._SVGComponentTransferFunctionElement.prototype; dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); -dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGComponentTransferFunctionElement, () => ['__']); +dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[159]); dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncAElement.__(); + } static new() { return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); } + static ['_#new#tearOff']() { + return svg$.FEFuncAElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncAElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); } @@ -108430,12 +118628,23 @@ svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncAElement.prototype; dart.addTypeTests(svg$.FEFuncAElement); dart.addTypeCaches(svg$.FEFuncAElement); -dart.setLibraryUri(svg$.FEFuncAElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncAElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncAElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncAElement, I[159]); dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncBElement.__(); + } static new() { return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); } + static ['_#new#tearOff']() { + return svg$.FEFuncBElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncBElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); } @@ -108446,12 +118655,23 @@ svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncBElement.prototype; dart.addTypeTests(svg$.FEFuncBElement); dart.addTypeCaches(svg$.FEFuncBElement); -dart.setLibraryUri(svg$.FEFuncBElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncBElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncBElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncBElement, I[159]); dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncGElement.__(); + } static new() { return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); } + static ['_#new#tearOff']() { + return svg$.FEFuncGElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncGElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); } @@ -108462,12 +118682,23 @@ svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncGElement.prototype; dart.addTypeTests(svg$.FEFuncGElement); dart.addTypeCaches(svg$.FEFuncGElement); -dart.setLibraryUri(svg$.FEFuncGElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncGElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncGElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncGElement, I[159]); dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static ['_#_#tearOff']() { + return svg$.FEFuncRElement.__(); + } static new() { return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); } + static ['_#new#tearOff']() { + return svg$.FEFuncRElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEFuncRElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); } @@ -108478,12 +118709,23 @@ svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFun }).prototype = svg$.FEFuncRElement.prototype; dart.addTypeTests(svg$.FEFuncRElement); dart.addTypeCaches(svg$.FEFuncRElement); -dart.setLibraryUri(svg$.FEFuncRElement, I[157]); +dart.setStaticMethodSignature(svg$.FEFuncRElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.FEFuncRElement, () => ['supported']); +dart.setLibraryUri(svg$.FEFuncRElement, I[159]); dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEGaussianBlurElement.__(); + } static new() { return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); } + static ['_#new#tearOff']() { + return svg$.FEGaussianBlurElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEGaussianBlurElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); } @@ -108526,6 +118768,7 @@ dart.setMethodSignature(svg$.FEGaussianBlurElement, () => ({ __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.FEGaussianBlurElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108537,12 +118780,22 @@ dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); +dart.setStaticGetterSignature(svg$.FEGaussianBlurElement, () => ['supported']); +dart.setLibraryUri(svg$.FEGaussianBlurElement, I[159]); dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEImageElement.__(); + } static new() { return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); } + static ['_#new#tearOff']() { + return svg$.FEImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEImageElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); } @@ -108575,6 +118828,7 @@ svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEImageElement); dart.addTypeCaches(svg$.FEImageElement); svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; +dart.setStaticMethodSignature(svg$.FEImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEImageElement, () => ({ __proto__: dart.getGetters(svg$.FEImageElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -108585,12 +118839,22 @@ dart.setGetterSignature(svg$.FEImageElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FEImageElement, I[157]); +dart.setStaticGetterSignature(svg$.FEImageElement, () => ['supported']); +dart.setLibraryUri(svg$.FEImageElement, I[159]); dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeElement.__(); + } static new() { return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); } + static ['_#new#tearOff']() { + return svg$.FEMergeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); } @@ -108617,6 +118881,7 @@ svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEMergeElement); dart.addTypeCaches(svg$.FEMergeElement); svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEMergeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -108625,12 +118890,22 @@ dart.setGetterSignature(svg$.FEMergeElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEMergeElement, I[157]); +dart.setStaticGetterSignature(svg$.FEMergeElement, () => ['supported']); +dart.setLibraryUri(svg$.FEMergeElement, I[159]); dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMergeNodeElement.__(); + } static new() { return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); } + static ['_#new#tearOff']() { + return svg$.FEMergeNodeElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEMergeNodeElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); } @@ -108644,23 +118919,31 @@ svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { }).prototype = svg$.FEMergeNodeElement.prototype; dart.addTypeTests(svg$.FEMergeNodeElement); dart.addTypeCaches(svg$.FEMergeNodeElement); +dart.setStaticMethodSignature(svg$.FEMergeNodeElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); +dart.setStaticGetterSignature(svg$.FEMergeNodeElement, () => ['supported']); +dart.setLibraryUri(svg$.FEMergeNodeElement, I[159]); dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEMorphologyElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.FEMorphologyElement.created(); + } get [S$3.$in1]() { return this.in1; } get [S$3.$operator]() { return this.operator; } - get [S$2.$radiusX]() { + get [S$3.$radiusX]() { return this.radiusX; } - get [S$2.$radiusY]() { + get [S$3.$radiusY]() { return this.radiusY; } get [$height]() { @@ -108686,19 +118969,21 @@ svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEMorphologyElement); dart.addTypeCaches(svg$.FEMorphologyElement); svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEMorphologyElement, () => ['__']); dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), - [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$radiusY]: dart.nullable(svg$.AnimatedNumber), [$height]: dart.nullable(svg$.AnimatedLength), [S.$result]: dart.nullable(svg$.AnimatedString), [$width]: dart.nullable(svg$.AnimatedLength), [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); +dart.setLibraryUri(svg$.FEMorphologyElement, I[159]); +dart.setStaticFieldSignature(svg$.FEMorphologyElement, () => ['SVG_MORPHOLOGY_OPERATOR_DILATE', 'SVG_MORPHOLOGY_OPERATOR_ERODE', 'SVG_MORPHOLOGY_OPERATOR_UNKNOWN']); dart.defineLazy(svg$.FEMorphologyElement, { /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { return 2; @@ -108712,9 +118997,18 @@ dart.defineLazy(svg$.FEMorphologyElement, { }, false); dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEOffsetElement.__(); + } static new() { return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); } + static ['_#new#tearOff']() { + return svg$.FEOffsetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEOffsetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); } @@ -108750,6 +119044,7 @@ svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { dart.addTypeTests(svg$.FEOffsetElement); dart.addTypeCaches(svg$.FEOffsetElement); svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FEOffsetElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEOffsetElement, () => ({ __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), @@ -108761,12 +119056,22 @@ dart.setGetterSignature(svg$.FEOffsetElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FEOffsetElement, I[157]); +dart.setStaticGetterSignature(svg$.FEOffsetElement, () => ['supported']); +dart.setLibraryUri(svg$.FEOffsetElement, I[159]); dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FEPointLightElement.__(); + } static new() { return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); } + static ['_#new#tearOff']() { + return svg$.FEPointLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FEPointLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); } @@ -108786,18 +119091,29 @@ svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { }).prototype = svg$.FEPointLightElement.prototype; dart.addTypeTests(svg$.FEPointLightElement); dart.addTypeCaches(svg$.FEPointLightElement); +dart.setStaticMethodSignature(svg$.FEPointLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FEPointLightElement, () => ({ __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), [S$.$x]: dart.nullable(svg$.AnimatedNumber), [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FEPointLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FEPointLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FEPointLightElement, I[159]); dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpecularLightingElement.__(); + } static new() { return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); } + static ['_#new#tearOff']() { + return svg$.FESpecularLightingElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpecularLightingElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); } @@ -108842,6 +119158,7 @@ svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.Sv dart.addTypeTests(svg$.FESpecularLightingElement); dart.addTypeCaches(svg$.FESpecularLightingElement); svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FESpecularLightingElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108856,12 +119173,22 @@ dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); +dart.setStaticGetterSignature(svg$.FESpecularLightingElement, () => ['supported']); +dart.setLibraryUri(svg$.FESpecularLightingElement, I[159]); dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FESpotLightElement.__(); + } static new() { return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); } + static ['_#new#tearOff']() { + return svg$.FESpotLightElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FESpotLightElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); } @@ -108896,6 +119223,7 @@ svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { }).prototype = svg$.FESpotLightElement.prototype; dart.addTypeTests(svg$.FESpotLightElement); dart.addTypeCaches(svg$.FESpotLightElement); +dart.setStaticMethodSignature(svg$.FESpotLightElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FESpotLightElement, () => ({ __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), @@ -108907,12 +119235,22 @@ dart.setGetterSignature(svg$.FESpotLightElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedNumber), [S$.$z]: dart.nullable(svg$.AnimatedNumber) })); -dart.setLibraryUri(svg$.FESpotLightElement, I[157]); +dart.setStaticGetterSignature(svg$.FESpotLightElement, () => ['supported']); +dart.setLibraryUri(svg$.FESpotLightElement, I[159]); dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETileElement.__(); + } static new() { return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); } + static ['_#new#tearOff']() { + return svg$.FETileElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETileElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); } @@ -108942,6 +119280,7 @@ svg$.FETileElement = class FETileElement extends svg$.SvgElement { dart.addTypeTests(svg$.FETileElement); dart.addTypeCaches(svg$.FETileElement); svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FETileElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETileElement, () => ({ __proto__: dart.getGetters(svg$.FETileElement.__proto__), [S$3.$in1]: dart.nullable(svg$.AnimatedString), @@ -108951,12 +119290,22 @@ dart.setGetterSignature(svg$.FETileElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FETileElement, I[157]); +dart.setStaticGetterSignature(svg$.FETileElement, () => ['supported']); +dart.setLibraryUri(svg$.FETileElement, I[159]); dart.registerExtension("SVGFETileElement", svg$.FETileElement); svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FETurbulenceElement.__(); + } static new() { return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); } + static ['_#new#tearOff']() { + return svg$.FETurbulenceElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FETurbulenceElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); } @@ -109001,6 +119350,7 @@ svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { dart.addTypeTests(svg$.FETurbulenceElement); dart.addTypeCaches(svg$.FETurbulenceElement); svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setStaticMethodSignature(svg$.FETurbulenceElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), @@ -109015,7 +119365,9 @@ dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); +dart.setStaticGetterSignature(svg$.FETurbulenceElement, () => ['supported']); +dart.setLibraryUri(svg$.FETurbulenceElement, I[159]); +dart.setStaticFieldSignature(svg$.FETurbulenceElement, () => ['SVG_STITCHTYPE_NOSTITCH', 'SVG_STITCHTYPE_STITCH', 'SVG_STITCHTYPE_UNKNOWN', 'SVG_TURBULENCE_TYPE_FRACTALNOISE', 'SVG_TURBULENCE_TYPE_TURBULENCE', 'SVG_TURBULENCE_TYPE_UNKNOWN']); dart.defineLazy(svg$.FETurbulenceElement, { /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { return 2; @@ -109038,9 +119390,18 @@ dart.defineLazy(svg$.FETurbulenceElement, { }, false); dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.FilterElement.__(); + } static new() { return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); } + static ['_#new#tearOff']() { + return svg$.FilterElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.FilterElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); } @@ -109073,6 +119434,7 @@ svg$.FilterElement = class FilterElement extends svg$.SvgElement { dart.addTypeTests(svg$.FilterElement); dart.addTypeCaches(svg$.FilterElement); svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.FilterElement, () => ['__', 'new']); dart.setGetterSignature(svg$.FilterElement, () => ({ __proto__: dart.getGetters(svg$.FilterElement.__proto__), [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), @@ -109083,9 +119445,13 @@ dart.setGetterSignature(svg$.FilterElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.FilterElement, I[157]); +dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); +dart.setLibraryUri(svg$.FilterElement, I[159]); dart.registerExtension("SVGFilterElement", svg$.FilterElement); -svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { +svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FilterPrimitiveStandardAttributes.__(); + } get height() { return this.height; } @@ -109104,6 +119470,7 @@ svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes }; dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); +dart.setStaticMethodSignature(svg$.FilterPrimitiveStandardAttributes, () => ['__']); dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), height: dart.nullable(svg$.AnimatedLength), @@ -109117,7 +119484,7 @@ dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ y: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); +dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ 'height', 'result', @@ -109125,7 +119492,10 @@ dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ 'x', 'y' ]); -svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { +svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.FitToViewBox.__(); + } get preserveAspectRatio() { return this.preserveAspectRatio; } @@ -109135,6 +119505,7 @@ svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.FitToViewBox); dart.addTypeCaches(svg$.FitToViewBox); +dart.setStaticMethodSignature(svg$.FitToViewBox, () => ['__']); dart.setGetterSignature(svg$.FitToViewBox, () => ({ __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -109142,12 +119513,21 @@ dart.setGetterSignature(svg$.FitToViewBox, () => ({ viewBox: dart.nullable(svg$.AnimatedRect), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.FitToViewBox, I[157]); +dart.setLibraryUri(svg$.FitToViewBox, I[159]); dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ForeignObjectElement.__(); + } static new() { return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); } + static ['_#new#tearOff']() { + return svg$.ForeignObjectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ForeignObjectElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); } @@ -109170,6 +119550,7 @@ svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElem }).prototype = svg$.ForeignObjectElement.prototype; dart.addTypeTests(svg$.ForeignObjectElement); dart.addTypeCaches(svg$.ForeignObjectElement); +dart.setStaticMethodSignature(svg$.ForeignObjectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109177,12 +119558,22 @@ dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); +dart.setStaticGetterSignature(svg$.ForeignObjectElement, () => ['supported']); +dart.setLibraryUri(svg$.ForeignObjectElement, I[159]); dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); svg$.GElement = class GElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.GElement.__(); + } static new() { return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); } + static ['_#new#tearOff']() { + return svg$.GElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.GElement.created(); + } }; (svg$.GElement.created = function() { svg$.GElement.__proto__.created.call(this); @@ -109190,12 +119581,22 @@ svg$.GElement = class GElement extends svg$.GraphicsElement { }).prototype = svg$.GElement.prototype; dart.addTypeTests(svg$.GElement); dart.addTypeCaches(svg$.GElement); -dart.setLibraryUri(svg$.GElement, I[157]); +dart.setStaticMethodSignature(svg$.GElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.GElement, I[159]); dart.registerExtension("SVGGElement", svg$.GElement); svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.ImageElement.__(); + } static new() { return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); } + static ['_#new#tearOff']() { + return svg$.ImageElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ImageElement.created(); + } get [S$1.$async]() { return this.async; } @@ -109235,6 +119636,7 @@ dart.setMethodSignature(svg$.ImageElement, () => ({ __proto__: dart.getMethods(svg$.ImageElement.__proto__), [S$1.$decode]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(svg$.ImageElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ImageElement, () => ({ __proto__: dart.getGetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String), @@ -109249,9 +119651,12 @@ dart.setSetterSignature(svg$.ImageElement, () => ({ __proto__: dart.getSetters(svg$.ImageElement.__proto__), [S$1.$async]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.ImageElement, I[157]); +dart.setLibraryUri(svg$.ImageElement, I[159]); dart.registerExtension("SVGImageElement", svg$.ImageElement); -svg$.Length = class Length extends _interceptors.Interceptor { +svg$.Length = class Length extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Length.__(); + } get [S$3.$unitType]() { return this.unitType; } @@ -109287,6 +119692,7 @@ dart.setMethodSignature(svg$.Length, () => ({ [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) })); +dart.setStaticMethodSignature(svg$.Length, () => ['__']); dart.setGetterSignature(svg$.Length, () => ({ __proto__: dart.getGetters(svg$.Length.__proto__), [S$3.$unitType]: dart.nullable(core.int), @@ -109300,7 +119706,8 @@ dart.setSetterSignature(svg$.Length, () => ({ [S$3.$valueAsString]: dart.nullable(core.String), [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Length, I[157]); +dart.setLibraryUri(svg$.Length, I[159]); +dart.setStaticFieldSignature(svg$.Length, () => ['SVG_LENGTHTYPE_CM', 'SVG_LENGTHTYPE_EMS', 'SVG_LENGTHTYPE_EXS', 'SVG_LENGTHTYPE_IN', 'SVG_LENGTHTYPE_MM', 'SVG_LENGTHTYPE_NUMBER', 'SVG_LENGTHTYPE_PC', 'SVG_LENGTHTYPE_PERCENTAGE', 'SVG_LENGTHTYPE_PT', 'SVG_LENGTHTYPE_PX', 'SVG_LENGTHTYPE_UNKNOWN']); dart.defineLazy(svg$.Length, { /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { return 6; @@ -109337,17 +119744,20 @@ dart.defineLazy(svg$.Length, { } }, false); dart.registerExtension("SVGLength", svg$.Length); -const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$13.new = function() { - Interceptor_ListMixin$36$13.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$13.prototype; -dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); -const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; -(Interceptor_ImmutableListMixin$36$13.new = function() { - Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$13.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); -svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { +const JavaScriptObject_ListMixin$36$13 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$13.new = function() { + JavaScriptObject_ListMixin$36$13.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$13.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$13, collection.ListMixin$(svg$.Length)); +const JavaScriptObject_ImmutableListMixin$36$13 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$13 {}; +(JavaScriptObject_ImmutableListMixin$36$13.new = function() { + JavaScriptObject_ImmutableListMixin$36$13.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$13.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); +svg$.LengthList = class LengthList extends JavaScriptObject_ImmutableListMixin$36$13 { + static ['_#_#tearOff']() { + return svg$.LengthList.__(); + } get [$length]() { return this.length; } @@ -109355,20 +119765,20 @@ svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2059, 25, "index"); svg$.Length.as(value); - if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2059, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2065, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109399,7 +119809,7 @@ svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2093, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109443,6 +119853,7 @@ dart.setMethodSignature(svg$.LengthList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) })); +dart.setStaticMethodSignature(svg$.LengthList, () => ['__']); dart.setGetterSignature(svg$.LengthList, () => ({ __proto__: dart.getGetters(svg$.LengthList.__proto__), [$length]: core.int, @@ -109452,12 +119863,21 @@ dart.setSetterSignature(svg$.LengthList, () => ({ __proto__: dart.getSetters(svg$.LengthList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.LengthList, I[157]); +dart.setLibraryUri(svg$.LengthList, I[159]); dart.registerExtension("SVGLengthList", svg$.LengthList); svg$.LineElement = class LineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.LineElement.__(); + } static new() { return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); } + static ['_#new#tearOff']() { + return svg$.LineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LineElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109477,6 +119897,7 @@ svg$.LineElement = class LineElement extends svg$.GeometryElement { }).prototype = svg$.LineElement.prototype; dart.addTypeTests(svg$.LineElement); dart.addTypeCaches(svg$.LineElement); +dart.setStaticMethodSignature(svg$.LineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LineElement, () => ({ __proto__: dart.getGetters(svg$.LineElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109484,9 +119905,15 @@ dart.setGetterSignature(svg$.LineElement, () => ({ [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.LineElement, I[157]); +dart.setLibraryUri(svg$.LineElement, I[159]); dart.registerExtension("SVGLineElement", svg$.LineElement); svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._GradientElement.__(); + } + static ['_#created#tearOff']() { + return new svg$._GradientElement.created(); + } get [S$3.$gradientTransform]() { return this.gradientTransform; } @@ -109507,6 +119934,7 @@ svg$._GradientElement = class _GradientElement extends svg$.SvgElement { dart.addTypeTests(svg$._GradientElement); dart.addTypeCaches(svg$._GradientElement); svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$._GradientElement, () => ['__']); dart.setGetterSignature(svg$._GradientElement, () => ({ __proto__: dart.getGetters(svg$._GradientElement.__proto__), [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), @@ -109514,7 +119942,8 @@ dart.setGetterSignature(svg$._GradientElement, () => ({ [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$._GradientElement, I[157]); +dart.setLibraryUri(svg$._GradientElement, I[159]); +dart.setStaticFieldSignature(svg$._GradientElement, () => ['SVG_SPREADMETHOD_PAD', 'SVG_SPREADMETHOD_REFLECT', 'SVG_SPREADMETHOD_REPEAT', 'SVG_SPREADMETHOD_UNKNOWN']); dart.defineLazy(svg$._GradientElement, { /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { return 1; @@ -109531,9 +119960,18 @@ dart.defineLazy(svg$._GradientElement, { }, false); dart.registerExtension("SVGGradientElement", svg$._GradientElement); svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.LinearGradientElement.__(); + } static new() { return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); } + static ['_#new#tearOff']() { + return svg$.LinearGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.LinearGradientElement.created(); + } get [S$3.$x1]() { return this.x1; } @@ -109553,6 +119991,7 @@ svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientE }).prototype = svg$.LinearGradientElement.prototype; dart.addTypeTests(svg$.LinearGradientElement); dart.addTypeCaches(svg$.LinearGradientElement); +dart.setStaticMethodSignature(svg$.LinearGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.LinearGradientElement, () => ({ __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), [S$3.$x1]: dart.nullable(svg$.AnimatedLength), @@ -109560,12 +119999,21 @@ dart.setGetterSignature(svg$.LinearGradientElement, () => ({ [S$3.$y1]: dart.nullable(svg$.AnimatedLength), [S$3.$y2]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.LinearGradientElement, I[157]); +dart.setLibraryUri(svg$.LinearGradientElement, I[159]); dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MarkerElement.__(); + } static new() { return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); } + static ['_#new#tearOff']() { + return svg$.MarkerElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MarkerElement.created(); + } get [S$3.$markerHeight]() { return this.markerHeight; } @@ -109612,6 +120060,7 @@ dart.setMethodSignature(svg$.MarkerElement, () => ({ [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(svg$.MarkerElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MarkerElement, () => ({ __proto__: dart.getGetters(svg$.MarkerElement.__proto__), [S$3.$markerHeight]: svg$.AnimatedLength, @@ -109624,7 +120073,8 @@ dart.setGetterSignature(svg$.MarkerElement, () => ({ [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.MarkerElement, I[157]); +dart.setLibraryUri(svg$.MarkerElement, I[159]); +dart.setStaticFieldSignature(svg$.MarkerElement, () => ['SVG_MARKERUNITS_STROKEWIDTH', 'SVG_MARKERUNITS_UNKNOWN', 'SVG_MARKERUNITS_USERSPACEONUSE', 'SVG_MARKER_ORIENT_ANGLE', 'SVG_MARKER_ORIENT_AUTO', 'SVG_MARKER_ORIENT_UNKNOWN']); dart.defineLazy(svg$.MarkerElement, { /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { return 2; @@ -109647,9 +120097,18 @@ dart.defineLazy(svg$.MarkerElement, { }, false); dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MaskElement.__(); + } static new() { return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); } + static ['_#new#tearOff']() { + return svg$.MaskElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.MaskElement.created(); + } get [$height]() { return this.height; } @@ -109682,6 +120141,7 @@ svg$.MaskElement = class MaskElement extends svg$.SvgElement { dart.addTypeTests(svg$.MaskElement); dart.addTypeCaches(svg$.MaskElement); svg$.MaskElement[dart.implements] = () => [svg$.Tests]; +dart.setStaticMethodSignature(svg$.MaskElement, () => ['__', 'new']); dart.setGetterSignature(svg$.MaskElement, () => ({ __proto__: dart.getGetters(svg$.MaskElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -109693,9 +120153,12 @@ dart.setGetterSignature(svg$.MaskElement, () => ({ [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.MaskElement, I[157]); +dart.setLibraryUri(svg$.MaskElement, I[159]); dart.registerExtension("SVGMaskElement", svg$.MaskElement); -svg$.Matrix = class Matrix extends _interceptors.Interceptor { +svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Matrix.__(); + } get [S$1.$a]() { return this.a; } @@ -109782,6 +120245,7 @@ dart.setMethodSignature(svg$.Matrix, () => ({ [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.Matrix, () => ['__']); dart.setGetterSignature(svg$.Matrix, () => ({ __proto__: dart.getGetters(svg$.Matrix.__proto__), [S$1.$a]: dart.nullable(core.num), @@ -109800,18 +120264,29 @@ dart.setSetterSignature(svg$.Matrix, () => ({ [S$1.$e]: dart.nullable(core.num), [S$1.$f]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Matrix, I[157]); +dart.setLibraryUri(svg$.Matrix, I[159]); dart.registerExtension("SVGMatrix", svg$.Matrix); -svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; +svg$.MetadataElement = class MetadataElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.MetadataElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.MetadataElement.created(); + } +}; (svg$.MetadataElement.created = function() { svg$.MetadataElement.__proto__.created.call(this); ; }).prototype = svg$.MetadataElement.prototype; dart.addTypeTests(svg$.MetadataElement); dart.addTypeCaches(svg$.MetadataElement); -dart.setLibraryUri(svg$.MetadataElement, I[157]); +dart.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); +dart.setLibraryUri(svg$.MetadataElement, I[159]); dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); -svg$.Number = class Number extends _interceptors.Interceptor { +svg$.Number = class Number extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Number.__(); + } get [S.$value]() { return this.value; } @@ -109821,6 +120296,7 @@ svg$.Number = class Number extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Number); dart.addTypeCaches(svg$.Number); +dart.setStaticMethodSignature(svg$.Number, () => ['__']); dart.setGetterSignature(svg$.Number, () => ({ __proto__: dart.getGetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) @@ -109829,19 +120305,22 @@ dart.setSetterSignature(svg$.Number, () => ({ __proto__: dart.getSetters(svg$.Number.__proto__), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Number, I[157]); +dart.setLibraryUri(svg$.Number, I[159]); dart.registerExtension("SVGNumber", svg$.Number); -const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$14.new = function() { - Interceptor_ListMixin$36$14.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$14.prototype; -dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); -const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; -(Interceptor_ImmutableListMixin$36$14.new = function() { - Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$14.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); -svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { +const JavaScriptObject_ListMixin$36$14 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$14.new = function() { + JavaScriptObject_ListMixin$36$14.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$14.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$14, collection.ListMixin$(svg$.Number)); +const JavaScriptObject_ImmutableListMixin$36$14 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$14 {}; +(JavaScriptObject_ImmutableListMixin$36$14.new = function() { + JavaScriptObject_ImmutableListMixin$36$14.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$14.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); +svg$.NumberList = class NumberList extends JavaScriptObject_ImmutableListMixin$36$14 { + static ['_#_#tearOff']() { + return svg$.NumberList.__(); + } get [$length]() { return this.length; } @@ -109849,20 +120328,20 @@ svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2384, 25, "index"); svg$.Number.as(value); - if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2384, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2390, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -109893,7 +120372,7 @@ svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2418, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -109937,6 +120416,7 @@ dart.setMethodSignature(svg$.NumberList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) })); +dart.setStaticMethodSignature(svg$.NumberList, () => ['__']); dart.setGetterSignature(svg$.NumberList, () => ({ __proto__: dart.getGetters(svg$.NumberList.__proto__), [$length]: core.int, @@ -109946,12 +120426,21 @@ dart.setSetterSignature(svg$.NumberList, () => ({ __proto__: dart.getSetters(svg$.NumberList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.NumberList, I[157]); +dart.setLibraryUri(svg$.NumberList, I[159]); dart.registerExtension("SVGNumberList", svg$.NumberList); svg$.PathElement = class PathElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PathElement.__(); + } static new() { return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); } + static ['_#new#tearOff']() { + return svg$.PathElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PathElement.created(); + } }; (svg$.PathElement.created = function() { svg$.PathElement.__proto__.created.call(this); @@ -109959,12 +120448,22 @@ svg$.PathElement = class PathElement extends svg$.GeometryElement { }).prototype = svg$.PathElement.prototype; dart.addTypeTests(svg$.PathElement); dart.addTypeCaches(svg$.PathElement); -dart.setLibraryUri(svg$.PathElement, I[157]); +dart.setStaticMethodSignature(svg$.PathElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.PathElement, I[159]); dart.registerExtension("SVGPathElement", svg$.PathElement); svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.PatternElement.__(); + } static new() { return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); } + static ['_#new#tearOff']() { + return svg$.PatternElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PatternElement.created(); + } get [$height]() { return this.height; } @@ -110009,6 +120508,7 @@ svg$.PatternElement = class PatternElement extends svg$.SvgElement { dart.addTypeTests(svg$.PatternElement); dart.addTypeCaches(svg$.PatternElement); svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; +dart.setStaticMethodSignature(svg$.PatternElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PatternElement, () => ({ __proto__: dart.getGetters(svg$.PatternElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110024,9 +120524,12 @@ dart.setGetterSignature(svg$.PatternElement, () => ({ [S$3.$systemLanguage]: dart.nullable(svg$.StringList), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.PatternElement, I[157]); +dart.setLibraryUri(svg$.PatternElement, I[159]); dart.registerExtension("SVGPatternElement", svg$.PatternElement); -svg$.Point = class Point extends _interceptors.Interceptor { +svg$.Point = class Point extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Point.__(); + } get [S$.$x]() { return this.x; } @@ -110049,6 +120552,7 @@ dart.setMethodSignature(svg$.Point, () => ({ __proto__: dart.getMethods(svg$.Point.__proto__), [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) })); +dart.setStaticMethodSignature(svg$.Point, () => ['__']); dart.setGetterSignature(svg$.Point, () => ({ __proto__: dart.getGetters(svg$.Point.__proto__), [S$.$x]: dart.nullable(core.num), @@ -110059,9 +120563,12 @@ dart.setSetterSignature(svg$.Point, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Point, I[157]); +dart.setLibraryUri(svg$.Point, I[159]); dart.registerExtension("SVGPoint", svg$.Point); -svg$.PointList = class PointList extends _interceptors.Interceptor { +svg$.PointList = class PointList extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PointList.__(); + } get [$length]() { return this.length; } @@ -110106,17 +120613,27 @@ dart.setMethodSignature(svg$.PointList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) })); +dart.setStaticMethodSignature(svg$.PointList, () => ['__']); dart.setGetterSignature(svg$.PointList, () => ({ __proto__: dart.getGetters(svg$.PointList.__proto__), [$length]: dart.nullable(core.int), [S$3.$numberOfItems]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.PointList, I[157]); +dart.setLibraryUri(svg$.PointList, I[159]); dart.registerExtension("SVGPointList", svg$.PointList); svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolygonElement.__(); + } static new() { return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); } + static ['_#new#tearOff']() { + return svg$.PolygonElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolygonElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110130,17 +120647,27 @@ svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { }).prototype = svg$.PolygonElement.prototype; dart.addTypeTests(svg$.PolygonElement); dart.addTypeCaches(svg$.PolygonElement); +dart.setStaticMethodSignature(svg$.PolygonElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolygonElement, () => ({ __proto__: dart.getGetters(svg$.PolygonElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); -dart.setLibraryUri(svg$.PolygonElement, I[157]); +dart.setLibraryUri(svg$.PolygonElement, I[159]); dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.PolylineElement.__(); + } static new() { return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); } + static ['_#new#tearOff']() { + return svg$.PolylineElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.PolylineElement.created(); + } get [S$3.$animatedPoints]() { return this.animatedPoints; } @@ -110154,14 +120681,18 @@ svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { }).prototype = svg$.PolylineElement.prototype; dart.addTypeTests(svg$.PolylineElement); dart.addTypeCaches(svg$.PolylineElement); +dart.setStaticMethodSignature(svg$.PolylineElement, () => ['__', 'new']); dart.setGetterSignature(svg$.PolylineElement, () => ({ __proto__: dart.getGetters(svg$.PolylineElement.__proto__), [S$3.$animatedPoints]: dart.nullable(svg$.PointList), [S$3.$points]: svg$.PointList })); -dart.setLibraryUri(svg$.PolylineElement, I[157]); +dart.setLibraryUri(svg$.PolylineElement, I[159]); dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); -svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { +svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.PreserveAspectRatio.__(); + } get [S$3.$align]() { return this.align; } @@ -110177,6 +120708,7 @@ svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Inter }; dart.addTypeTests(svg$.PreserveAspectRatio); dart.addTypeCaches(svg$.PreserveAspectRatio); +dart.setStaticMethodSignature(svg$.PreserveAspectRatio, () => ['__']); dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), [S$3.$align]: dart.nullable(core.int), @@ -110187,7 +120719,8 @@ dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ [S$3.$align]: dart.nullable(core.int), [S$3.$meetOrSlice]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); +dart.setLibraryUri(svg$.PreserveAspectRatio, I[159]); +dart.setStaticFieldSignature(svg$.PreserveAspectRatio, () => ['SVG_MEETORSLICE_MEET', 'SVG_MEETORSLICE_SLICE', 'SVG_MEETORSLICE_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_NONE', 'SVG_PRESERVEASPECTRATIO_UNKNOWN', 'SVG_PRESERVEASPECTRATIO_XMAXYMAX', 'SVG_PRESERVEASPECTRATIO_XMAXYMID', 'SVG_PRESERVEASPECTRATIO_XMAXYMIN', 'SVG_PRESERVEASPECTRATIO_XMIDYMAX', 'SVG_PRESERVEASPECTRATIO_XMIDYMID', 'SVG_PRESERVEASPECTRATIO_XMIDYMIN', 'SVG_PRESERVEASPECTRATIO_XMINYMAX', 'SVG_PRESERVEASPECTRATIO_XMINYMID', 'SVG_PRESERVEASPECTRATIO_XMINYMIN']); dart.defineLazy(svg$.PreserveAspectRatio, { /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { return 1; @@ -110234,9 +120767,18 @@ dart.defineLazy(svg$.PreserveAspectRatio, { }, false); dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static ['_#_#tearOff']() { + return svg$.RadialGradientElement.__(); + } static new() { return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); } + static ['_#new#tearOff']() { + return svg$.RadialGradientElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RadialGradientElement.created(); + } get [S$3.$cx]() { return this.cx; } @@ -110262,6 +120804,7 @@ svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientE }).prototype = svg$.RadialGradientElement.prototype; dart.addTypeTests(svg$.RadialGradientElement); dart.addTypeCaches(svg$.RadialGradientElement); +dart.setStaticMethodSignature(svg$.RadialGradientElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RadialGradientElement, () => ({ __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), [S$3.$cx]: dart.nullable(svg$.AnimatedLength), @@ -110271,9 +120814,12 @@ dart.setGetterSignature(svg$.RadialGradientElement, () => ({ [S$3.$fy]: dart.nullable(svg$.AnimatedLength), [S$3.$r]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.RadialGradientElement, I[157]); +dart.setLibraryUri(svg$.RadialGradientElement, I[159]); dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); -svg$.Rect = class Rect extends _interceptors.Interceptor { +svg$.Rect = class Rect extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Rect.__(); + } get [$height]() { return this.height; } @@ -110301,6 +120847,7 @@ svg$.Rect = class Rect extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Rect); dart.addTypeCaches(svg$.Rect); +dart.setStaticMethodSignature(svg$.Rect, () => ['__']); dart.setGetterSignature(svg$.Rect, () => ({ __proto__: dart.getGetters(svg$.Rect.__proto__), [$height]: dart.nullable(core.num), @@ -110315,12 +120862,21 @@ dart.setSetterSignature(svg$.Rect, () => ({ [S$.$x]: dart.nullable(core.num), [S$.$y]: dart.nullable(core.num) })); -dart.setLibraryUri(svg$.Rect, I[157]); +dart.setLibraryUri(svg$.Rect, I[159]); dart.registerExtension("SVGRect", svg$.Rect); svg$.RectElement = class RectElement extends svg$.GeometryElement { + static ['_#_#tearOff']() { + return svg$.RectElement.__(); + } static new() { return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); } + static ['_#new#tearOff']() { + return svg$.RectElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.RectElement.created(); + } get [$height]() { return this.height; } @@ -110346,6 +120902,7 @@ svg$.RectElement = class RectElement extends svg$.GeometryElement { }).prototype = svg$.RectElement.prototype; dart.addTypeTests(svg$.RectElement); dart.addTypeCaches(svg$.RectElement); +dart.setStaticMethodSignature(svg$.RectElement, () => ['__', 'new']); dart.setGetterSignature(svg$.RectElement, () => ({ __proto__: dart.getGetters(svg$.RectElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -110355,12 +120912,21 @@ dart.setGetterSignature(svg$.RectElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLength), [S$.$y]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.RectElement, I[157]); +dart.setLibraryUri(svg$.RectElement, I[159]); dart.registerExtension("SVGRectElement", svg$.RectElement); svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ScriptElement.__(); + } static new() { return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); } + static ['_#new#tearOff']() { + return svg$.ScriptElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ScriptElement.created(); + } get [S.$type]() { return this.type; } @@ -110378,6 +120944,7 @@ svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { dart.addTypeTests(svg$.ScriptElement); dart.addTypeCaches(svg$.ScriptElement); svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.ScriptElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ScriptElement, () => ({ __proto__: dart.getGetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String), @@ -110387,12 +120954,21 @@ dart.setSetterSignature(svg$.ScriptElement, () => ({ __proto__: dart.getSetters(svg$.ScriptElement.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.ScriptElement, I[157]); +dart.setLibraryUri(svg$.ScriptElement, I[159]); dart.registerExtension("SVGScriptElement", svg$.ScriptElement); svg$.SetElement = class SetElement extends svg$.AnimationElement { + static ['_#_#tearOff']() { + return svg$.SetElement.__(); + } static new() { return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); } + static ['_#new#tearOff']() { + return svg$.SetElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SetElement.created(); + } static get supported() { return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); } @@ -110403,12 +120979,23 @@ svg$.SetElement = class SetElement extends svg$.AnimationElement { }).prototype = svg$.SetElement.prototype; dart.addTypeTests(svg$.SetElement); dart.addTypeCaches(svg$.SetElement); -dart.setLibraryUri(svg$.SetElement, I[157]); +dart.setStaticMethodSignature(svg$.SetElement, () => ['__', 'new']); +dart.setStaticGetterSignature(svg$.SetElement, () => ['supported']); +dart.setLibraryUri(svg$.SetElement, I[159]); dart.registerExtension("SVGSetElement", svg$.SetElement); svg$.StopElement = class StopElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StopElement.__(); + } static new() { return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); } + static ['_#new#tearOff']() { + return svg$.StopElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StopElement.created(); + } get [S$3.$gradientOffset]() { return this.offset; } @@ -110419,23 +121006,27 @@ svg$.StopElement = class StopElement extends svg$.SvgElement { }).prototype = svg$.StopElement.prototype; dart.addTypeTests(svg$.StopElement); dart.addTypeCaches(svg$.StopElement); +dart.setStaticMethodSignature(svg$.StopElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StopElement, () => ({ __proto__: dart.getGetters(svg$.StopElement.__proto__), [S$3.$gradientOffset]: svg$.AnimatedNumber })); -dart.setLibraryUri(svg$.StopElement, I[157]); +dart.setLibraryUri(svg$.StopElement, I[159]); dart.registerExtension("SVGStopElement", svg$.StopElement); -const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$15.new = function() { - Interceptor_ListMixin$36$15.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$15.prototype; -dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); -const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; -(Interceptor_ImmutableListMixin$36$15.new = function() { - Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$15.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); -svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { +const JavaScriptObject_ListMixin$36$15 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$15.new = function() { + JavaScriptObject_ListMixin$36$15.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$15.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$15, collection.ListMixin$(core.String)); +const JavaScriptObject_ImmutableListMixin$36$15 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$15 {}; +(JavaScriptObject_ImmutableListMixin$36$15.new = function() { + JavaScriptObject_ImmutableListMixin$36$15.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$15.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); +svg$.StringList = class StringList extends JavaScriptObject_ImmutableListMixin$36$15 { + static ['_#_#tearOff']() { + return svg$.StringList.__(); + } get [$length]() { return this.length; } @@ -110443,20 +121034,20 @@ svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + if (index == null) dart.nullFailed(I[158], 2867, 25, "index"); core.String.as(value); - if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + if (value == null) dart.nullFailed(I[158], 2867, 39, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + if (value == null) dart.nullFailed(I[158], 2873, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -110487,7 +121078,7 @@ svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + if (index == null) dart.nullFailed(I[158], 2901, 24, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -110531,6 +121122,7 @@ dart.setMethodSignature(svg$.StringList, () => ({ [S$3.$removeItem]: dart.fnType(core.String, [core.int]), [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) })); +dart.setStaticMethodSignature(svg$.StringList, () => ['__']); dart.setGetterSignature(svg$.StringList, () => ({ __proto__: dart.getGetters(svg$.StringList.__proto__), [$length]: core.int, @@ -110540,12 +121132,21 @@ dart.setSetterSignature(svg$.StringList, () => ({ __proto__: dart.getSetters(svg$.StringList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.StringList, I[157]); +dart.setLibraryUri(svg$.StringList, I[159]); dart.registerExtension("SVGStringList", svg$.StringList); svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.StyleElement.__(); + } static new() { return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); } + static ['_#new#tearOff']() { + return svg$.StyleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.StyleElement.created(); + } get [S$.$disabled]() { return this.disabled; } @@ -110574,6 +121175,7 @@ svg$.StyleElement = class StyleElement extends svg$.SvgElement { }).prototype = svg$.StyleElement.prototype; dart.addTypeTests(svg$.StyleElement); dart.addTypeCaches(svg$.StyleElement); +dart.setStaticMethodSignature(svg$.StyleElement, () => ['__', 'new']); dart.setGetterSignature(svg$.StyleElement, () => ({ __proto__: dart.getGetters(svg$.StyleElement.__proto__), [S$.$disabled]: dart.nullable(core.bool), @@ -110587,11 +121189,15 @@ dart.setSetterSignature(svg$.StyleElement, () => ({ [S$.$media]: dart.nullable(core.String), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(svg$.StyleElement, I[157]); +dart.setLibraryUri(svg$.StyleElement, I[159]); dart.registerExtension("SVGStyleElement", svg$.StyleElement); svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + static ['_#new#tearOff'](_element) { + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + return new svg$.AttributeClassSet.new(_element); + } readClasses() { - let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + let classname = this[S$3._element$1][S.$attributes][$_get]("class"); if (svg$.AnimatedString.is(classname)) { classname = svg$.AnimatedString.as(classname).baseVal; } @@ -110608,13 +121214,13 @@ svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSet return s; } writeClasses(s) { - if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); - this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + if (s == null) dart.nullFailed(I[158], 2986, 25, "s"); + this[S$3._element$1][S.$setAttribute]("class", s[$join](" ")); } }; (svg$.AttributeClassSet.new = function(_element) { - if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); - this[S$3._element$3] = _element; + if (_element == null) dart.nullFailed(I[158], 2965, 26, "_element"); + this[S$3._element$1] = _element; ; }).prototype = svg$.AttributeClassSet.prototype; dart.addTypeTests(svg$.AttributeClassSet); @@ -110624,17 +121230,26 @@ dart.setMethodSignature(svg$.AttributeClassSet, () => ({ readClasses: dart.fnType(core.Set$(core.String), []), writeClasses: dart.fnType(dart.void, [core.Set]) })); -dart.setLibraryUri(svg$.AttributeClassSet, I[157]); +dart.setLibraryUri(svg$.AttributeClassSet, I[159]); dart.setFieldSignature(svg$.AttributeClassSet, () => ({ __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [S$3._element$3]: dart.finalFieldType(html$.Element) + [S$3._element$1]: dart.finalFieldType(html$.Element) })); svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static ['_#new#tearOff']() { + return svg$.SvgSvgElement.new(); + } static new() { let el = svg$.SvgElement.tag("svg"); el[S.$attributes][$_set]("version", "1.1"); return svg$.SvgSvgElement.as(el); } + static ['_#_#tearOff']() { + return svg$.SvgSvgElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.SvgSvgElement.created(); + } get [S$3.$currentScale]() { return this.currentScale; } @@ -110771,6 +121386,7 @@ dart.setMethodSignature(svg$.SvgSvgElement, () => ({ [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(svg$.SvgSvgElement, () => ['new', '__']); dart.setGetterSignature(svg$.SvgSvgElement, () => ({ __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), [S$3.$currentScale]: dart.nullable(core.num), @@ -110788,12 +121404,21 @@ dart.setSetterSignature(svg$.SvgSvgElement, () => ({ [S$3.$currentScale]: dart.nullable(core.num), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.SvgSvgElement, I[157]); +dart.setLibraryUri(svg$.SvgSvgElement, I[159]); dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.SwitchElement.__(); + } static new() { return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); } + static ['_#new#tearOff']() { + return svg$.SwitchElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SwitchElement.created(); + } }; (svg$.SwitchElement.created = function() { svg$.SwitchElement.__proto__.created.call(this); @@ -110801,12 +121426,22 @@ svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { }).prototype = svg$.SwitchElement.prototype; dart.addTypeTests(svg$.SwitchElement); dart.addTypeCaches(svg$.SwitchElement); -dart.setLibraryUri(svg$.SwitchElement, I[157]); +dart.setStaticMethodSignature(svg$.SwitchElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.SwitchElement, I[159]); dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.SymbolElement.__(); + } static new() { return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); } + static ['_#new#tearOff']() { + return svg$.SymbolElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.SymbolElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -110821,14 +121456,21 @@ svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { dart.addTypeTests(svg$.SymbolElement); dart.addTypeCaches(svg$.SymbolElement); svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setStaticMethodSignature(svg$.SymbolElement, () => ['__', 'new']); dart.setGetterSignature(svg$.SymbolElement, () => ({ __proto__: dart.getGetters(svg$.SymbolElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) })); -dart.setLibraryUri(svg$.SymbolElement, I[157]); +dart.setLibraryUri(svg$.SymbolElement, I[159]); dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.TextContentElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextContentElement.created(); + } get [S$3.$lengthAdjust]() { return this.lengthAdjust; } @@ -110881,12 +121523,14 @@ dart.setMethodSignature(svg$.TextContentElement, () => ({ [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) })); +dart.setStaticMethodSignature(svg$.TextContentElement, () => ['__']); dart.setGetterSignature(svg$.TextContentElement, () => ({ __proto__: dart.getGetters(svg$.TextContentElement.__proto__), [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) })); -dart.setLibraryUri(svg$.TextContentElement, I[157]); +dart.setLibraryUri(svg$.TextContentElement, I[159]); +dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); dart.defineLazy(svg$.TextContentElement, { /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { return 1; @@ -110900,6 +121544,12 @@ dart.defineLazy(svg$.TextContentElement, { }, false); dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPositioningElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPositioningElement.created(); + } get [S$3.$dx]() { return this.dx; } @@ -110922,6 +121572,7 @@ svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextCont }).prototype = svg$.TextPositioningElement.prototype; dart.addTypeTests(svg$.TextPositioningElement); dart.addTypeCaches(svg$.TextPositioningElement); +dart.setStaticMethodSignature(svg$.TextPositioningElement, () => ['__']); dart.setGetterSignature(svg$.TextPositioningElement, () => ({ __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), @@ -110930,12 +121581,21 @@ dart.setGetterSignature(svg$.TextPositioningElement, () => ({ [S$.$x]: dart.nullable(svg$.AnimatedLengthList), [S$.$y]: dart.nullable(svg$.AnimatedLengthList) })); -dart.setLibraryUri(svg$.TextPositioningElement, I[157]); +dart.setLibraryUri(svg$.TextPositioningElement, I[159]); dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TSpanElement.__(); + } static new() { return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); } + static ['_#new#tearOff']() { + return svg$.TSpanElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TSpanElement.created(); + } }; (svg$.TSpanElement.created = function() { svg$.TSpanElement.__proto__.created.call(this); @@ -110943,9 +121603,13 @@ svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { }).prototype = svg$.TSpanElement.prototype; dart.addTypeTests(svg$.TSpanElement); dart.addTypeCaches(svg$.TSpanElement); -dart.setLibraryUri(svg$.TSpanElement, I[157]); +dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TSpanElement, I[159]); dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); -svg$.Tests = class Tests extends _interceptors.Interceptor { +svg$.Tests = class Tests extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Tests.__(); + } get requiredExtensions() { return this.requiredExtensions; } @@ -110955,6 +121619,7 @@ svg$.Tests = class Tests extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.Tests); dart.addTypeCaches(svg$.Tests); +dart.setStaticMethodSignature(svg$.Tests, () => ['__']); dart.setGetterSignature(svg$.Tests, () => ({ __proto__: dart.getGetters(svg$.Tests.__proto__), requiredExtensions: dart.nullable(svg$.StringList), @@ -110962,12 +121627,21 @@ dart.setGetterSignature(svg$.Tests, () => ({ systemLanguage: dart.nullable(svg$.StringList), [S$3.$systemLanguage]: dart.nullable(svg$.StringList) })); -dart.setLibraryUri(svg$.Tests, I[157]); +dart.setLibraryUri(svg$.Tests, I[159]); dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static ['_#_#tearOff']() { + return svg$.TextElement.__(); + } static new() { return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); } + static ['_#new#tearOff']() { + return svg$.TextElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TextElement.created(); + } }; (svg$.TextElement.created = function() { svg$.TextElement.__proto__.created.call(this); @@ -110975,9 +121649,16 @@ svg$.TextElement = class TextElement extends svg$.TextPositioningElement { }).prototype = svg$.TextElement.prototype; dart.addTypeTests(svg$.TextElement); dart.addTypeCaches(svg$.TextElement); -dart.setLibraryUri(svg$.TextElement, I[157]); +dart.setStaticMethodSignature(svg$.TextElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TextElement, I[159]); dart.registerExtension("SVGTextElement", svg$.TextElement); svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + static ['_#_#tearOff']() { + return svg$.TextPathElement.__(); + } + static ['_#created#tearOff']() { + return new svg$.TextPathElement.created(); + } get [S$1.$method]() { return this.method; } @@ -110998,6 +121679,7 @@ svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { dart.addTypeTests(svg$.TextPathElement); dart.addTypeCaches(svg$.TextPathElement); svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.TextPathElement, () => ['__']); dart.setGetterSignature(svg$.TextPathElement, () => ({ __proto__: dart.getGetters(svg$.TextPathElement.__proto__), [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), @@ -111005,7 +121687,8 @@ dart.setGetterSignature(svg$.TextPathElement, () => ({ [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.TextPathElement, I[157]); +dart.setLibraryUri(svg$.TextPathElement, I[159]); +dart.setStaticFieldSignature(svg$.TextPathElement, () => ['TEXTPATH_METHODTYPE_ALIGN', 'TEXTPATH_METHODTYPE_STRETCH', 'TEXTPATH_METHODTYPE_UNKNOWN', 'TEXTPATH_SPACINGTYPE_AUTO', 'TEXTPATH_SPACINGTYPE_EXACT', 'TEXTPATH_SPACINGTYPE_UNKNOWN']); dart.defineLazy(svg$.TextPathElement, { /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { return 1; @@ -111028,9 +121711,18 @@ dart.defineLazy(svg$.TextPathElement, { }, false); dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.TitleElement.__(); + } static new() { return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); } + static ['_#new#tearOff']() { + return svg$.TitleElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.TitleElement.created(); + } }; (svg$.TitleElement.created = function() { svg$.TitleElement.__proto__.created.call(this); @@ -111038,9 +121730,13 @@ svg$.TitleElement = class TitleElement extends svg$.SvgElement { }).prototype = svg$.TitleElement.prototype; dart.addTypeTests(svg$.TitleElement); dart.addTypeCaches(svg$.TitleElement); -dart.setLibraryUri(svg$.TitleElement, I[157]); +dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); +dart.setLibraryUri(svg$.TitleElement, I[159]); dart.registerExtension("SVGTitleElement", svg$.TitleElement); -svg$.Transform = class Transform extends _interceptors.Interceptor { +svg$.Transform = class Transform extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.Transform.__(); + } get [S$.$angle]() { return this.angle; } @@ -111080,13 +121776,15 @@ dart.setMethodSignature(svg$.Transform, () => ({ [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) })); +dart.setStaticMethodSignature(svg$.Transform, () => ['__']); dart.setGetterSignature(svg$.Transform, () => ({ __proto__: dart.getGetters(svg$.Transform.__proto__), [S$.$angle]: dart.nullable(core.num), [S$.$matrix]: dart.nullable(svg$.Matrix), [S.$type]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.Transform, I[157]); +dart.setLibraryUri(svg$.Transform, I[159]); +dart.setStaticFieldSignature(svg$.Transform, () => ['SVG_TRANSFORM_MATRIX', 'SVG_TRANSFORM_ROTATE', 'SVG_TRANSFORM_SCALE', 'SVG_TRANSFORM_SKEWX', 'SVG_TRANSFORM_SKEWY', 'SVG_TRANSFORM_TRANSLATE', 'SVG_TRANSFORM_UNKNOWN']); dart.defineLazy(svg$.Transform, { /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { return 1; @@ -111111,17 +121809,20 @@ dart.defineLazy(svg$.Transform, { } }, false); dart.registerExtension("SVGTransform", svg$.Transform); -const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$16.new = function() { - Interceptor_ListMixin$36$16.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$16.prototype; -dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); -const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; -(Interceptor_ImmutableListMixin$36$16.new = function() { - Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$16.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); -svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { +const JavaScriptObject_ListMixin$36$16 = class JavaScriptObject_ListMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_ListMixin$36$16.new = function() { + JavaScriptObject_ListMixin$36$16.__proto__.new.call(this); +}).prototype = JavaScriptObject_ListMixin$36$16.prototype; +dart.applyMixin(JavaScriptObject_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); +const JavaScriptObject_ImmutableListMixin$36$16 = class JavaScriptObject_ImmutableListMixin extends JavaScriptObject_ListMixin$36$16 {}; +(JavaScriptObject_ImmutableListMixin$36$16.new = function() { + JavaScriptObject_ImmutableListMixin$36$16.__proto__.new.call(this); +}).prototype = JavaScriptObject_ImmutableListMixin$36$16.prototype; +dart.applyMixin(JavaScriptObject_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); +svg$.TransformList = class TransformList extends JavaScriptObject_ImmutableListMixin$36$16 { + static ['_#_#tearOff']() { + return svg$.TransformList.__(); + } get [$length]() { return this.length; } @@ -111129,20 +121830,20 @@ svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$ return this.numberOfItems; } [$_get](index) { - if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + if (index == null) dart.nullFailed(I[158], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.withLength(index, this[$length], {indexable: this})); return this.getItem(index); } [$_set](index, value$) { let value = value$; - if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + if (index == null) dart.nullFailed(I[158], 3856, 25, "index"); svg$.Transform.as(value); - if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + if (value == null) dart.nullFailed(I[158], 3856, 42, "value"); dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); return value$; } set [$length](value) { - if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + if (value == null) dart.nullFailed(I[158], 3862, 18, "value"); dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); } get [$first]() { @@ -111173,7 +121874,7 @@ svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$ dart.throw(new core.StateError.new("More than one element")); } [$elementAt](index) { - if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + if (index == null) dart.nullFailed(I[158], 3890, 27, "index"); return this[$_get](index); } [S$3.__setter__$1](...args) { @@ -111225,6 +121926,7 @@ dart.setMethodSignature(svg$.TransformList, () => ({ [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) })); +dart.setStaticMethodSignature(svg$.TransformList, () => ['__']); dart.setGetterSignature(svg$.TransformList, () => ({ __proto__: dart.getGetters(svg$.TransformList.__proto__), [$length]: core.int, @@ -111234,12 +121936,18 @@ dart.setSetterSignature(svg$.TransformList, () => ({ __proto__: dart.getSetters(svg$.TransformList.__proto__), [$length]: core.int })); -dart.setLibraryUri(svg$.TransformList, I[157]); +dart.setLibraryUri(svg$.TransformList, I[159]); dart.registerExtension("SVGTransformList", svg$.TransformList); -svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; +svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UnitTypes.__(); + } +}; dart.addTypeTests(svg$.UnitTypes); dart.addTypeCaches(svg$.UnitTypes); -dart.setLibraryUri(svg$.UnitTypes, I[157]); +dart.setStaticMethodSignature(svg$.UnitTypes, () => ['__']); +dart.setLibraryUri(svg$.UnitTypes, I[159]); +dart.setStaticFieldSignature(svg$.UnitTypes, () => ['SVG_UNIT_TYPE_OBJECTBOUNDINGBOX', 'SVG_UNIT_TYPE_UNKNOWN', 'SVG_UNIT_TYPE_USERSPACEONUSE']); dart.defineLazy(svg$.UnitTypes, { /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { return 2; @@ -111252,24 +121960,37 @@ dart.defineLazy(svg$.UnitTypes, { } }, false); dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); -svg$.UriReference = class UriReference extends _interceptors.Interceptor { +svg$.UriReference = class UriReference extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.UriReference.__(); + } get href() { return this.href; } }; dart.addTypeTests(svg$.UriReference); dart.addTypeCaches(svg$.UriReference); +dart.setStaticMethodSignature(svg$.UriReference, () => ['__']); dart.setGetterSignature(svg$.UriReference, () => ({ __proto__: dart.getGetters(svg$.UriReference.__proto__), href: dart.nullable(svg$.AnimatedString), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.UriReference, I[157]); +dart.setLibraryUri(svg$.UriReference, I[159]); dart.defineExtensionAccessors(svg$.UriReference, ['href']); svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static ['_#_#tearOff']() { + return svg$.UseElement.__(); + } static new() { return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); } + static ['_#new#tearOff']() { + return svg$.UseElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.UseElement.created(); + } get [$height]() { return this.height; } @@ -111293,6 +122014,7 @@ svg$.UseElement = class UseElement extends svg$.GraphicsElement { dart.addTypeTests(svg$.UseElement); dart.addTypeCaches(svg$.UseElement); svg$.UseElement[dart.implements] = () => [svg$.UriReference]; +dart.setStaticMethodSignature(svg$.UseElement, () => ['__', 'new']); dart.setGetterSignature(svg$.UseElement, () => ({ __proto__: dart.getGetters(svg$.UseElement.__proto__), [$height]: dart.nullable(svg$.AnimatedLength), @@ -111301,12 +122023,21 @@ dart.setGetterSignature(svg$.UseElement, () => ({ [S$.$y]: dart.nullable(svg$.AnimatedLength), [S$.$href]: dart.nullable(svg$.AnimatedString) })); -dart.setLibraryUri(svg$.UseElement, I[157]); +dart.setLibraryUri(svg$.UseElement, I[159]); dart.registerExtension("SVGUseElement", svg$.UseElement); svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$.ViewElement.__(); + } static new() { return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); } + static ['_#new#tearOff']() { + return svg$.ViewElement.new(); + } + static ['_#created#tearOff']() { + return new svg$.ViewElement.created(); + } get [S$3.$preserveAspectRatio]() { return this.preserveAspectRatio; } @@ -111327,6 +122058,7 @@ svg$.ViewElement = class ViewElement extends svg$.SvgElement { dart.addTypeTests(svg$.ViewElement); dart.addTypeCaches(svg$.ViewElement); svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setStaticMethodSignature(svg$.ViewElement, () => ['__', 'new']); dart.setGetterSignature(svg$.ViewElement, () => ({ __proto__: dart.getGetters(svg$.ViewElement.__proto__), [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), @@ -111337,9 +122069,12 @@ dart.setSetterSignature(svg$.ViewElement, () => ({ __proto__: dart.getSetters(svg$.ViewElement.__proto__), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.ViewElement, I[157]); +dart.setLibraryUri(svg$.ViewElement, I[159]); dart.registerExtension("SVGViewElement", svg$.ViewElement); -svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { +svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return svg$.ZoomAndPan.__(); + } get zoomAndPan() { return this.zoomAndPan; } @@ -111349,6 +122084,7 @@ svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { }; dart.addTypeTests(svg$.ZoomAndPan); dart.addTypeCaches(svg$.ZoomAndPan); +dart.setStaticMethodSignature(svg$.ZoomAndPan, () => ['__']); dart.setGetterSignature(svg$.ZoomAndPan, () => ({ __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), zoomAndPan: dart.nullable(core.int), @@ -111359,7 +122095,8 @@ dart.setSetterSignature(svg$.ZoomAndPan, () => ({ zoomAndPan: dart.nullable(core.int), [S$3.$zoomAndPan]: dart.nullable(core.int) })); -dart.setLibraryUri(svg$.ZoomAndPan, I[157]); +dart.setLibraryUri(svg$.ZoomAndPan, I[159]); +dart.setStaticFieldSignature(svg$.ZoomAndPan, () => ['SVG_ZOOMANDPAN_DISABLE', 'SVG_ZOOMANDPAN_MAGNIFY', 'SVG_ZOOMANDPAN_UNKNOWN']); dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); dart.defineLazy(svg$.ZoomAndPan, { /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { @@ -111372,7 +122109,11 @@ dart.defineLazy(svg$.ZoomAndPan, { return 0; } }, false); -svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; +svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGFEDropShadowElement.__(); + } +}; (svg$._SVGFEDropShadowElement.created = function() { svg$._SVGFEDropShadowElement.__proto__.created.call(this); ; @@ -111380,12 +122121,19 @@ svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgEle dart.addTypeTests(svg$._SVGFEDropShadowElement); dart.addTypeCaches(svg$._SVGFEDropShadowElement); svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGFEDropShadowElement, () => ['__']); +dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[159]); dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static ['_#_#tearOff']() { + return svg$._SVGMPathElement.__(); + } static new() { return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); } + static ['_#new#tearOff']() { + return svg$._SVGMPathElement.new(); + } }; (svg$._SVGMPathElement.created = function() { svg$._SVGMPathElement.__proto__.created.call(this); @@ -111394,9 +122142,13 @@ svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { dart.addTypeTests(svg$._SVGMPathElement); dart.addTypeCaches(svg$._SVGMPathElement); svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; -dart.setLibraryUri(svg$._SVGMPathElement, I[157]); +dart.setStaticMethodSignature(svg$._SVGMPathElement, () => ['__', 'new']); +dart.setLibraryUri(svg$._SVGMPathElement, I[159]); dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); web_audio.AudioNode = class AudioNode extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioNode.__(); + } get [S$3.$channelCount]() { return this.channelCount; } @@ -111424,33 +122176,34 @@ web_audio.AudioNode = class AudioNode extends html$.EventTarget { get [S$3.$numberOfOutputs]() { return this.numberOfOutputs; } - [S$3._connect](...args) { + [S$4._connect](...args) { return this.connect.apply(this, args); } [S$1.$disconnect](...args) { return this.disconnect.apply(this, args); } - [S$3.$connectNode](destination, output = 0, input = 0) { - if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); - if (output == null) dart.nullFailed(I[158], 333, 48, "output"); - if (input == null) dart.nullFailed(I[158], 333, 64, "input"); - this[S$3._connect](destination, output, input); + [S$4.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[160], 393, 30, "destination"); + if (output == null) dart.nullFailed(I[160], 393, 48, "output"); + if (input == null) dart.nullFailed(I[160], 393, 64, "input"); + this[S$4._connect](destination, output, input); } - [S$3.$connectParam](destination, output = 0) { - if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); - if (output == null) dart.nullFailed(I[158], 337, 50, "output"); - this[S$3._connect](destination, output); + [S$4.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[160], 397, 32, "destination"); + if (output == null) dart.nullFailed(I[160], 397, 50, "output"); + this[S$4._connect](destination, output); } }; dart.addTypeTests(web_audio.AudioNode); dart.addTypeCaches(web_audio.AudioNode); dart.setMethodSignature(web_audio.AudioNode, () => ({ __proto__: dart.getMethods(web_audio.AudioNode.__proto__), - [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4._connect]: dart.fnType(dart.nullable(web_audio.AudioNode), [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), - [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), - [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) + [S$4.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$4.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) })); +dart.setStaticMethodSignature(web_audio.AudioNode, () => ['__']); dart.setGetterSignature(web_audio.AudioNode, () => ({ __proto__: dart.getGetters(web_audio.AudioNode.__proto__), [S$3.$channelCount]: dart.nullable(core.int), @@ -111466,17 +122219,24 @@ dart.setSetterSignature(web_audio.AudioNode, () => ({ [S$3.$channelCountMode]: dart.nullable(core.String), [S$3.$channelInterpretation]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.AudioNode, I[159]); +dart.setLibraryUri(web_audio.AudioNode, I[161]); dart.registerExtension("AudioNode", web_audio.AudioNode); web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AnalyserNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AnalyserNode._create_1(context, options_1); } return web_audio.AnalyserNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 41, 41, "context"); + return web_audio.AnalyserNode.new(context, options); + } static _create_1(context, options) { return new AnalyserNode(context, options); } @@ -111532,6 +122292,7 @@ dart.setMethodSignature(web_audio.AnalyserNode, () => ({ [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) })); +dart.setStaticMethodSignature(web_audio.AnalyserNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AnalyserNode, () => ({ __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), [S$3.$fftSize]: dart.nullable(core.int), @@ -111547,15 +122308,22 @@ dart.setSetterSignature(web_audio.AnalyserNode, () => ({ [S$3.$minDecibels]: dart.nullable(core.num), [S$3.$smoothingTimeConstant]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AnalyserNode, I[159]); +dart.setLibraryUri(web_audio.AnalyserNode, I[161]); dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); -web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { +web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioBuffer.__(); + } static new(options) { - if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBuffer._create_1(options_1); } + static ['_#new#tearOff'](options) { + if (options == null) dart.nullFailed(I[160], 90, 27, "options"); + return web_audio.AudioBuffer.new(options); + } static _create_1(options) { return new AudioBuffer(options); } @@ -111565,19 +122333,19 @@ web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { get [$length]() { return this.length; } - get [S$3.$numberOfChannels]() { + get [S$4.$numberOfChannels]() { return this.numberOfChannels; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } - [S$3.$copyFromChannel](...args) { + [S$4.$copyFromChannel](...args) { return this.copyFromChannel.apply(this, args); } - [S$3.$copyToChannel](...args) { + [S$4.$copyToChannel](...args) { return this.copyToChannel.apply(this, args); } - [S$3.$getChannelData](...args) { + [S$4.$getChannelData](...args) { return this.getChannelData.apply(this, args); } }; @@ -111585,21 +122353,25 @@ dart.addTypeTests(web_audio.AudioBuffer); dart.addTypeCaches(web_audio.AudioBuffer); dart.setMethodSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), - [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) + [S$4.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$4.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) })); +dart.setStaticMethodSignature(web_audio.AudioBuffer, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioBuffer, () => ({ __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), [S$.$duration]: dart.nullable(core.num), [$length]: dart.nullable(core.int), - [S$3.$numberOfChannels]: dart.nullable(core.int), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$numberOfChannels]: dart.nullable(core.int), + [S$4.$sampleRate]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioBuffer, I[159]); +dart.setLibraryUri(web_audio.AudioBuffer, I[161]); dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - [S$3.$start2](...args) { + static ['_#_#tearOff']() { + return web_audio.AudioScheduledSourceNode.__(); + } + [S$4.$start2](...args) { return this.start.apply(this, args); } [S$.$stop](...args) { @@ -111613,29 +122385,38 @@ dart.addTypeTests(web_audio.AudioScheduledSourceNode); dart.addTypeCaches(web_audio.AudioScheduledSourceNode); dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$4.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(web_audio.AudioScheduledSourceNode, () => ['__']); dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), [S.$onEnded]: async.Stream$(html$.Event) })); -dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); +dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[161]); +dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); dart.defineLazy(web_audio.AudioScheduledSourceNode, { /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - return C[251] || CT.C251; + return C[261] || CT.C261; } }, false); dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.AudioBufferSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioBufferSourceNode._create_1(context, options_1); } return web_audio.AudioBufferSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 126, 50, "context"); + return web_audio.AudioBufferSourceNode.new(context, options); + } static _create_1(context, options) { return new AudioBufferSourceNode(context, options); } @@ -111648,7 +122429,7 @@ web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio set [$buffer](value) { this.buffer = value; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$.$loop]() { @@ -111657,16 +122438,16 @@ web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio set [S$.$loop](value) { this.loop = value; } - get [S$3.$loopEnd]() { + get [S$4.$loopEnd]() { return this.loopEnd; } - set [S$3.$loopEnd](value) { + set [S$4.$loopEnd](value) { this.loopEnd = value; } - get [S$3.$loopStart]() { + get [S$4.$loopStart]() { return this.loopStart; } - set [S$3.$loopStart](value) { + set [S$4.$loopStart](value) { this.loopStart = value; } get [S$.$playbackRate]() { @@ -111682,53 +122463,57 @@ dart.setMethodSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) })); +dart.setStaticMethodSignature(web_audio.AudioBufferSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num), + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num), [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) })); dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$.$loop]: dart.nullable(core.bool), - [S$3.$loopEnd]: dart.nullable(core.num), - [S$3.$loopStart]: dart.nullable(core.num) + [S$4.$loopEnd]: dart.nullable(core.num), + [S$4.$loopStart]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); +dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[161]); dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.BaseAudioContext.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$destination]() { + get [S$4.$destination]() { return this.destination; } - get [S$3.$listener]() { + get [S$4.$listener]() { return this.listener; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } get [S$.$state]() { return this.state; } - [S$3.$createAnalyser](...args) { + [S$4.$createAnalyser](...args) { return this.createAnalyser.apply(this, args); } - [S$3.$createBiquadFilter](...args) { + [S$4.$createBiquadFilter](...args) { return this.createBiquadFilter.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } - [S$3.$createBufferSource](...args) { + [S$4.$createBufferSource](...args) { return this.createBufferSource.apply(this, args); } - [S$3.$createChannelMerger](...args) { + [S$4.$createChannelMerger](...args) { return this.createChannelMerger.apply(this, args); } [S$4.$createChannelSplitter](...args) { @@ -111746,7 +122531,7 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4.$createDynamicsCompressor](...args) { return this.createDynamicsCompressor.apply(this, args); } - [S$3.$createGain](...args) { + [S$4.$createGain](...args) { return this.createGain.apply(this, args); } [S$4.$createIirFilter](...args) { @@ -111768,8 +122553,8 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { return this.createPanner.apply(this, args); } [S$4.$createPeriodicWave](real, imag, options = null) { - if (real == null) dart.nullFailed(I[158], 658, 45, "real"); - if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (real == null) dart.nullFailed(I[160], 718, 45, "real"); + if (imag == null) dart.nullFailed(I[160], 718, 61, "imag"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return this[S$4._createPeriodicWave_1](real, imag, options_1); @@ -111782,7 +122567,7 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4._createPeriodicWave_2](...args) { return this.createPeriodicWave.apply(this, args); } - [S$3.$createScriptProcessor](...args) { + [S$4.$createScriptProcessor](...args) { return this.createScriptProcessor.apply(this, args); } [S$4.$createStereoPanner](...args) { @@ -111791,8 +122576,8 @@ web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { [S$4.$createWaveShaper](...args) { return this.createWaveShaper.apply(this, args); } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 742, 50, "audioData"); return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); } [S$1.$resume]() { @@ -111803,17 +122588,17 @@ dart.addTypeTests(web_audio.BaseAudioContext); dart.addTypeCaches(web_audio.BaseAudioContext); dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), - [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), - [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), - [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), - [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$4.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$4.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$4.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$4.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), - [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createGain]: dart.fnType(web_audio.GainNode, []), [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), @@ -111823,52 +122608,59 @@ dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), - [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), - [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$4.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), [S$1.$resume]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(web_audio.BaseAudioContext, () => ['__']); dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), - [S$3.$listener]: dart.nullable(web_audio.AudioListener), - [S$3.$sampleRate]: dart.nullable(core.num), + [S$4.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$4.$listener]: dart.nullable(web_audio.AudioListener), + [S$4.$sampleRate]: dart.nullable(core.num), [S$.$state]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); +dart.setLibraryUri(web_audio.BaseAudioContext, I[161]); dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.AudioContext.__(); + } static get supported() { return !!(window.AudioContext || window.webkitAudioContext); } - get [S$3.$baseLatency]() { + get [S$4.$baseLatency]() { return this.baseLatency; } [S.$close]() { return js_util.promiseToFuture(dart.dynamic, this.close()); } - [S$3.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + [S$4.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); } - [S$3._getOutputTimestamp_1](...args) { + [S$4._getOutputTimestamp_1](...args) { return this.getOutputTimestamp.apply(this, args); } - [S$3.$suspend]() { + [S$4.$suspend]() { return js_util.promiseToFuture(dart.dynamic, this.suspend()); } static new() { return new (window.AudioContext || window.webkitAudioContext)(); } - [S$3.$createGain]() { + static ['_#new#tearOff']() { + return web_audio.AudioContext.new(); + } + [S$4.$createGain]() { if (this.createGain !== undefined) { return this.createGain(); } else { return this.createGainNode(); } } - [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + [S$4.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { let $function = this.createScriptProcessor || this.createJavaScriptNode; if (numberOfOutputChannels != null) { return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); @@ -111880,27 +122672,53 @@ web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { return $function.call(this); } } - [S$3._decodeAudioData](...args) { - return this.decodeAudioData.apply(this, args); - } - [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { - if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); - if (successCallback != null && errorCallback != null) { - return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); - } - let completer = T$0.CompleterOfAudioBuffer().new(); - this[S$3._decodeAudioData](audioData, dart.fn(value => { - if (value == null) dart.nullFailed(I[158], 241, 34, "value"); - completer.complete(value); - }, T$0.AudioBufferTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[158], 243, 9, "error"); - if (error == null) { - completer.completeError(""); + [S$4.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[160], 228, 50, "audioData"); + if (!(successCallback == null === (errorCallback == null))) dart.assertFailed(null, I[160], 232, 12, "(successCallback == null) == (errorCallback == null)"); + let completer = T$0.CompleterOfObject().new(); + let errorInCallbackIsNull = false; + function success(decodedData) { + if (decodedData == null) dart.nullFailed(I[160], 242, 30, "decodedData"); + completer.complete(decodedData); + dart.nullCheck(successCallback)(decodedData); + } + dart.fn(success, T$0.AudioBufferTovoid()); + let nullErrorString = "[AudioContext.decodeAudioData] completed with a null error."; + function error(error) { + if (error != null) { + completer.complete(error); + dart.nullCheck(errorCallback)(error); } else { - completer.completeError(error); + completer.complete(nullErrorString); + errorInCallbackIsNull = true; } - }, T$0.DomExceptionTovoid())); - return completer.future; + } + dart.fn(error, T$0.DomExceptionNTovoid()); + let decodeResult = null; + if (successCallback == null) { + decodeResult = this.decodeAudioData(audioData); + } else { + decodeResult = this.decodeAudioData(audioData, _js_helper.convertDartClosureToJS(T$0.AudioBufferTovoid(), success, 1), _js_helper.convertDartClosureToJS(T$0.DomExceptionNTovoid(), error, 1)); + } + if (decodeResult != null) { + return js_util.promiseToFuture(web_audio.AudioBuffer, core.Object.as(decodeResult)).catchError(dart.fn(error => { + let t228; + if (errorInCallbackIsNull) { + if (error != null) { + t228 = errorCallback; + t228 == null ? null : t228(html$.DomException.as(error)); + } else { + dart.throw(nullErrorString); + } + } + dart.throw(error); + }, T$0.dynamicToNever())); + } + return completer.future.then(web_audio.AudioBuffer, dart.fn(value => { + if (value == null) dart.nullFailed(I[160], 307, 35, "value"); + if (web_audio.AudioBuffer.is(value)) return value; + dart.throw(value); + }, T$0.ObjectToAudioBuffer())); } }; dart.addTypeTests(web_audio.AudioContext); @@ -111908,32 +122726,40 @@ dart.addTypeCaches(web_audio.AudioContext); dart.setMethodSignature(web_audio.AudioContext, () => ({ __proto__: dart.getMethods(web_audio.AudioContext.__proto__), [S.$close]: dart.fnType(async.Future, []), - [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), - [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), - [S$3.$suspend]: dart.fnType(async.Future, []), - [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + [S$4.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$4._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$4.$suspend]: dart.fnType(async.Future, []) })); +dart.setStaticMethodSignature(web_audio.AudioContext, () => ['__', 'new']); dart.setGetterSignature(web_audio.AudioContext, () => ({ __proto__: dart.getGetters(web_audio.AudioContext.__proto__), - [S$3.$baseLatency]: dart.nullable(core.num) + [S$4.$baseLatency]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioContext, I[159]); +dart.setStaticGetterSignature(web_audio.AudioContext, () => ['supported']); +dart.setLibraryUri(web_audio.AudioContext, I[161]); dart.registerExtension("AudioContext", web_audio.AudioContext); dart.registerExtension("webkitAudioContext", web_audio.AudioContext); web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioDestinationNode.__(); + } get [S$4.$maxChannelCount]() { return this.maxChannelCount; } }; dart.addTypeTests(web_audio.AudioDestinationNode); dart.addTypeCaches(web_audio.AudioDestinationNode); +dart.setStaticMethodSignature(web_audio.AudioDestinationNode, () => ['__']); dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), [S$4.$maxChannelCount]: dart.nullable(core.int) })); -dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); +dart.setLibraryUri(web_audio.AudioDestinationNode, I[161]); dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); -web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { +web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioListener.__(); + } get [S$4.$forwardX]() { return this.forwardX; } @@ -111975,6 +122801,7 @@ dart.setMethodSignature(web_audio.AudioListener, () => ({ [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.AudioListener, () => ['__']); dart.setGetterSignature(web_audio.AudioListener, () => ({ __proto__: dart.getGetters(web_audio.AudioListener.__proto__), [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), @@ -111987,9 +122814,12 @@ dart.setGetterSignature(web_audio.AudioListener, () => ({ [S$4.$upY]: dart.nullable(web_audio.AudioParam), [S$4.$upZ]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.AudioListener, I[159]); +dart.setLibraryUri(web_audio.AudioListener, I[161]); dart.registerExtension("AudioListener", web_audio.AudioListener); -web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { +web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioParam.__(); + } get [S$1.$defaultValue]() { return this.defaultValue; } @@ -112039,6 +122869,7 @@ dart.setMethodSignature(web_audio.AudioParam, () => ({ [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.AudioParam, () => ['__']); dart.setGetterSignature(web_audio.AudioParam, () => ({ __proto__: dart.getGetters(web_audio.AudioParam.__proto__), [S$1.$defaultValue]: dart.nullable(core.num), @@ -112050,26 +122881,29 @@ dart.setSetterSignature(web_audio.AudioParam, () => ({ __proto__: dart.getSetters(web_audio.AudioParam.__proto__), [S.$value]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioParam, I[159]); +dart.setLibraryUri(web_audio.AudioParam, I[161]); dart.registerExtension("AudioParam", web_audio.AudioParam); -const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; -(Interceptor_MapMixin$36$2.new = function() { - Interceptor_MapMixin$36$2.__proto__.new.call(this); -}).prototype = Interceptor_MapMixin$36$2.prototype; -dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); -web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { +const JavaScriptObject_MapMixin$36$2 = class JavaScriptObject_MapMixin extends _interceptors.JavaScriptObject {}; +(JavaScriptObject_MapMixin$36$2.new = function() { + JavaScriptObject_MapMixin$36$2.__proto__.new.call(this); +}).prototype = JavaScriptObject_MapMixin$36$2.prototype; +dart.applyMixin(JavaScriptObject_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); +web_audio.AudioParamMap = class AudioParamMap extends JavaScriptObject_MapMixin$36$2 { + static ['_#_#tearOff']() { + return web_audio.AudioParamMap.__(); + } [S$4._getItem$1](key) { - if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + if (key == null) dart.nullFailed(I[160], 448, 24, "key"); return html_common.convertNativeToDart_Dictionary(this.get(key)); } [$addAll](other) { T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + if (other == null) dart.nullFailed(I[160], 451, 36, "other"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$containsValue](value) { return this[$values][$any](dart.fn(e => { - if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + if (e == null) dart.nullFailed(I[160], 455, 52, "e"); return dart.equals(e, value); }, T$0.MapTobool())); } @@ -112080,7 +122914,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 return this[S$4._getItem$1](core.String.as(key)); } [$forEach](f) { - if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + if (f == null) dart.nullFailed(I[160], 461, 21, "f"); let entries = this.entries(); while (true) { let entry = entries.next(); @@ -112091,7 +122925,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 get [$keys]() { let keys = T$.JSArrayOfString().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + if (k == null) dart.nullFailed(I[160], 473, 14, "k"); return keys[$add](k); }, T$0.StringAnddynamicTovoid())); return keys; @@ -112099,7 +122933,7 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 get [$values]() { let values = T$0.JSArrayOfMap().of([]); this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + if (k == null) dart.nullFailed(I[160], 479, 14, "k"); return values[$add](core.Map.as(v)); }, T$0.StringAnddynamicTovoid())); return values; @@ -112116,15 +122950,15 @@ web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 [$_set](key, value$) { let value = value$; core.String.as(key); - if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + if (key == null) dart.nullFailed(I[160], 489, 28, "key"); dart.throw(new core.UnsupportedError.new("Not supported")); return value$; } [$putIfAbsent](key, ifAbsent) { core.String.as(key); - if (key == null) dart.nullFailed(I[158], 433, 30, "key"); - T$.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + if (key == null) dart.nullFailed(I[160], 493, 30, "key"); + T$0.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[160], 493, 43, "ifAbsent"); dart.throw(new core.UnsupportedError.new("Not supported")); } [$remove](key) { @@ -112146,20 +122980,29 @@ dart.setMethodSignature(web_audio.AudioParamMap, () => ({ [$remove]: dart.fnType(core.String, [dart.dynamic]), [$clear]: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(web_audio.AudioParamMap, () => ['__']); dart.setGetterSignature(web_audio.AudioParamMap, () => ({ __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), [$keys]: core.Iterable$(core.String), [$values]: core.Iterable$(core.Map) })); -dart.setLibraryUri(web_audio.AudioParamMap, I[159]); +dart.setLibraryUri(web_audio.AudioParamMap, I[161]); dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.AudioProcessingEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 456, 39, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 516, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 516, 49, "eventInitDict"); + return web_audio.AudioProcessingEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new AudioProcessingEvent(type, eventInitDict); } @@ -112175,15 +123018,19 @@ web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event }; dart.addTypeTests(web_audio.AudioProcessingEvent); dart.addTypeCaches(web_audio.AudioProcessingEvent); +dart.setStaticMethodSignature(web_audio.AudioProcessingEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$playbackTime]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); +dart.setLibraryUri(web_audio.AudioProcessingEvent, I[161]); dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); -web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { +web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioTrack.__(); + } get [S$.$enabled]() { return this.enabled; } @@ -112199,7 +123046,7 @@ web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { get [S$.$label]() { return this.label; } - get [S$1.$language]() { + get [S$2.$language]() { return this.language; } get [S$3.$sourceBuffer]() { @@ -112208,22 +123055,26 @@ web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { }; dart.addTypeTests(web_audio.AudioTrack); dart.addTypeCaches(web_audio.AudioTrack); +dart.setStaticMethodSignature(web_audio.AudioTrack, () => ['__']); dart.setGetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool), [S.$id]: dart.nullable(core.String), [S$.$kind]: dart.nullable(core.String), [S$.$label]: dart.nullable(core.String), - [S$1.$language]: dart.nullable(core.String), + [S$2.$language]: dart.nullable(core.String), [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) })); dart.setSetterSignature(web_audio.AudioTrack, () => ({ __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), [S$.$enabled]: dart.nullable(core.bool) })); -dart.setLibraryUri(web_audio.AudioTrack, I[159]); +dart.setLibraryUri(web_audio.AudioTrack, I[161]); dart.registerExtension("AudioTrack", web_audio.AudioTrack); web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + static ['_#_#tearOff']() { + return web_audio.AudioTrackList.__(); + } get [$length]() { return this.length; } @@ -112244,23 +123095,28 @@ dart.setMethodSignature(web_audio.AudioTrackList, () => ({ [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) })); +dart.setStaticMethodSignature(web_audio.AudioTrackList, () => ['__']); dart.setGetterSignature(web_audio.AudioTrackList, () => ({ __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), [$length]: dart.nullable(core.int), [S.$onChange]: async.Stream$(html$.Event) })); -dart.setLibraryUri(web_audio.AudioTrackList, I[159]); +dart.setLibraryUri(web_audio.AudioTrackList, I[161]); +dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); dart.defineLazy(web_audio.AudioTrackList, { /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - return C[236] || CT.C236; + return C[246] || CT.C246; } }, false); dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletGlobalScope.__(); + } get [S$.$currentTime]() { return this.currentTime; } - get [S$3.$sampleRate]() { + get [S$4.$sampleRate]() { return this.sampleRate; } [S$4.$registerProcessor](...args) { @@ -112273,23 +123129,32 @@ dart.setMethodSignature(web_audio.AudioWorkletGlobalScope, () => ({ __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) })); +dart.setStaticMethodSignature(web_audio.AudioWorkletGlobalScope, () => ['__']); dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), [S$.$currentTime]: dart.nullable(core.num), - [S$3.$sampleRate]: dart.nullable(core.num) + [S$4.$sampleRate]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); +dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[161]); dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletNode.__(); + } static new(context, name, options = null) { - if (context == null) dart.nullFailed(I[158], 568, 45, "context"); - if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.AudioWorkletNode._create_1(context, name, options_1); } return web_audio.AudioWorkletNode._create_2(context, name); } + static ['_#new#tearOff'](context, name, options = null) { + if (context == null) dart.nullFailed(I[160], 628, 45, "context"); + if (name == null) dart.nullFailed(I[160], 628, 61, "name"); + return web_audio.AudioWorkletNode.new(context, name, options); + } static _create_1(context, name, options) { return new AudioWorkletNode(context, name, options); } @@ -112302,26 +123167,39 @@ web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode }; dart.addTypeTests(web_audio.AudioWorkletNode); dart.addTypeCaches(web_audio.AudioWorkletNode); +dart.setStaticMethodSignature(web_audio.AudioWorkletNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) })); -dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); +dart.setLibraryUri(web_audio.AudioWorkletNode, I[161]); dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); -web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; +web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.AudioWorkletProcessor.__(); + } +}; dart.addTypeTests(web_audio.AudioWorkletProcessor); dart.addTypeCaches(web_audio.AudioWorkletProcessor); -dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); +dart.setStaticMethodSignature(web_audio.AudioWorkletProcessor, () => ['__']); +dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[161]); dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.BiquadFilterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.BiquadFilterNode._create_1(context, options_1); } return web_audio.BiquadFilterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 766, 45, "context"); + return web_audio.BiquadFilterNode.new(context, options); + } static _create_1(context, options) { return new BiquadFilterNode(context, options); } @@ -112331,7 +123209,7 @@ web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode get [S$4.$Q]() { return this.Q; } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112356,10 +123234,11 @@ dart.setMethodSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); +dart.setStaticMethodSignature(web_audio.BiquadFilterNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), [S$4.$Q]: dart.nullable(web_audio.AudioParam), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S$4.$gain]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) @@ -112368,17 +123247,24 @@ dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); +dart.setLibraryUri(web_audio.BiquadFilterNode, I[161]); dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelMergerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelMergerNode._create_1(context, options_1); } return web_audio.ChannelMergerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 804, 46, "context"); + return web_audio.ChannelMergerNode.new(context, options); + } static _create_1(context, options) { return new ChannelMergerNode(context, options); } @@ -112388,18 +123274,26 @@ web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNo }; dart.addTypeTests(web_audio.ChannelMergerNode); dart.addTypeCaches(web_audio.ChannelMergerNode); -dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); +dart.setStaticMethodSignature(web_audio.ChannelMergerNode, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.ChannelMergerNode, I[161]); dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ChannelSplitterNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ChannelSplitterNode._create_1(context, options_1); } return web_audio.ChannelSplitterNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 827, 48, "context"); + return web_audio.ChannelSplitterNode.new(context, options); + } static _create_1(context, options) { return new ChannelSplitterNode(context, options); } @@ -112409,18 +123303,26 @@ web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.Aud }; dart.addTypeTests(web_audio.ChannelSplitterNode); dart.addTypeCaches(web_audio.ChannelSplitterNode); -dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); +dart.setStaticMethodSignature(web_audio.ChannelSplitterNode, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.ChannelSplitterNode, I[161]); dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.ConstantSourceNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConstantSourceNode._create_1(context, options_1); } return web_audio.ConstantSourceNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 850, 47, "context"); + return web_audio.ConstantSourceNode.new(context, options); + } static _create_1(context, options) { return new ConstantSourceNode(context, options); } @@ -112433,21 +123335,29 @@ web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.Audio }; dart.addTypeTests(web_audio.ConstantSourceNode); dart.addTypeCaches(web_audio.ConstantSourceNode); +dart.setStaticMethodSignature(web_audio.ConstantSourceNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), [S.$offset]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); +dart.setLibraryUri(web_audio.ConstantSourceNode, I[161]); dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ConvolverNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.ConvolverNode._create_1(context, options_1); } return web_audio.ConvolverNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 875, 42, "context"); + return web_audio.ConvolverNode.new(context, options); + } static _create_1(context, options) { return new ConvolverNode(context, options); } @@ -112469,6 +123379,7 @@ web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.ConvolverNode); dart.addTypeCaches(web_audio.ConvolverNode); +dart.setStaticMethodSignature(web_audio.ConvolverNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.ConvolverNode, () => ({ __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), [$buffer]: dart.nullable(web_audio.AudioBuffer), @@ -112479,17 +123390,24 @@ dart.setSetterSignature(web_audio.ConvolverNode, () => ({ [$buffer]: dart.nullable(web_audio.AudioBuffer), [S$4.$normalize]: dart.nullable(core.bool) })); -dart.setLibraryUri(web_audio.ConvolverNode, I[159]); +dart.setLibraryUri(web_audio.ConvolverNode, I[161]); dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DelayNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DelayNode._create_1(context, options_1); } return web_audio.DelayNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 906, 38, "context"); + return web_audio.DelayNode.new(context, options); + } static _create_1(context, options) { return new DelayNode(context, options); } @@ -112502,21 +123420,29 @@ web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.DelayNode); dart.addTypeCaches(web_audio.DelayNode); +dart.setStaticMethodSignature(web_audio.DelayNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DelayNode, () => ({ __proto__: dart.getGetters(web_audio.DelayNode.__proto__), [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.DelayNode, I[159]); +dart.setLibraryUri(web_audio.DelayNode, I[161]); dart.registerExtension("DelayNode", web_audio.DelayNode); web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.DynamicsCompressorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.DynamicsCompressorNode._create_1(context, options_1); } return web_audio.DynamicsCompressorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 931, 51, "context"); + return web_audio.DynamicsCompressorNode.new(context, options); + } static _create_1(context, options) { return new DynamicsCompressorNode(context, options); } @@ -112544,6 +123470,7 @@ web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_aud }; dart.addTypeTests(web_audio.DynamicsCompressorNode); dart.addTypeCaches(web_audio.DynamicsCompressorNode); +dart.setStaticMethodSignature(web_audio.DynamicsCompressorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), [S$4.$attack]: dart.nullable(web_audio.AudioParam), @@ -112553,17 +123480,24 @@ dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ [S$4.$release]: dart.nullable(web_audio.AudioParam), [S$4.$threshold]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); +dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[161]); dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.GainNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.GainNode._create_1(context, options_1); } return web_audio.GainNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 969, 37, "context"); + return web_audio.GainNode.new(context, options); + } static _create_1(context, options) { return new GainNode(context, options); } @@ -112576,20 +123510,29 @@ web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.GainNode); dart.addTypeCaches(web_audio.GainNode); +dart.setStaticMethodSignature(web_audio.GainNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.GainNode, () => ({ __proto__: dart.getGetters(web_audio.GainNode.__proto__), [S$4.$gain]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.GainNode, I[159]); +dart.setLibraryUri(web_audio.GainNode, I[161]); dart.registerExtension("GainNode", web_audio.GainNode); dart.registerExtension("AudioGainNode", web_audio.GainNode); web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.IirFilterNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 934, 42, "context"); - if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.IirFilterNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 994, 42, "context"); + if (options == null) dart.nullFailed(I[160], 994, 55, "options"); + return web_audio.IirFilterNode.new(context, options); + } static _create_1(context, options) { return new IIRFilterNode(context, options); } @@ -112603,15 +123546,24 @@ dart.setMethodSignature(web_audio.IirFilterNode, () => ({ __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) })); -dart.setLibraryUri(web_audio.IirFilterNode, I[159]); +dart.setStaticMethodSignature(web_audio.IirFilterNode, () => ['__', 'new', '_create_1']); +dart.setLibraryUri(web_audio.IirFilterNode, I[161]); dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaElementAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 955, 56, "context"); - if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1015, 56, "context"); + if (options == null) dart.nullFailed(I[160], 1015, 69, "options"); + return web_audio.MediaElementAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaElementAudioSourceNode(context, options); } @@ -112621,21 +123573,29 @@ web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ exten }; dart.addTypeTests(web_audio.MediaElementAudioSourceNode); dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); +dart.setStaticMethodSignature(web_audio.MediaElementAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), [S$4.$mediaElement]: dart.nullable(html$.MediaElement) })); -dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); +dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[161]); dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioDestinationNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); } return web_audio.MediaStreamAudioDestinationNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1038, 60, "context"); + return web_audio.MediaStreamAudioDestinationNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioDestinationNode(context, options); } @@ -112648,19 +123608,28 @@ web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNod }; dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); +dart.setStaticMethodSignature(web_audio.MediaStreamAudioDestinationNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), [S$1.$stream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); +dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[161]); dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.MediaStreamAudioSourceNode.__(); + } static new(context, options) { - if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); - if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); } + static ['_#new#tearOff'](context, options) { + if (context == null) dart.nullFailed(I[160], 1069, 55, "context"); + if (options == null) dart.nullFailed(I[160], 1069, 68, "options"); + return web_audio.MediaStreamAudioSourceNode.new(context, options); + } static _create_1(context, options) { return new MediaStreamAudioSourceNode(context, options); } @@ -112670,19 +123639,28 @@ web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends }; dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); +dart.setStaticMethodSignature(web_audio.MediaStreamAudioSourceNode, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), [S$4.$mediaStream]: dart.nullable(html$.MediaStream) })); -dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); +dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[161]); dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioCompletionEvent.__(); + } static new(type, eventInitDict) { - if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); - if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); } + static ['_#new#tearOff'](type, eventInitDict) { + if (type == null) dart.nullFailed(I[160], 1092, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[160], 1092, 56, "eventInitDict"); + return web_audio.OfflineAudioCompletionEvent.new(type, eventInitDict); + } static _create_1(type, eventInitDict) { return new OfflineAudioCompletionEvent(type, eventInitDict); } @@ -112692,13 +123670,17 @@ web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ exten }; dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); +dart.setStaticMethodSignature(web_audio.OfflineAudioCompletionEvent, () => ['__', 'new', '_create_1']); dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) })); -dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); +dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[161]); dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static ['_#_#tearOff']() { + return web_audio.OfflineAudioContext.__(); + } static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); @@ -112709,6 +123691,9 @@ web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.Bas } dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); } + static ['_#new#tearOff'](numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + return web_audio.OfflineAudioContext.new(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); } @@ -112722,7 +123707,7 @@ web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.Bas return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); } [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); } }; @@ -112733,28 +123718,36 @@ dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) })); +dart.setStaticMethodSignature(web_audio.OfflineAudioContext, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), [$length]: dart.nullable(core.int) })); -dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); +dart.setLibraryUri(web_audio.OfflineAudioContext, I[161]); dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static ['_#_#tearOff']() { + return web_audio.OscillatorNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.OscillatorNode._create_1(context, options_1); } return web_audio.OscillatorNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1161, 43, "context"); + return web_audio.OscillatorNode.new(context, options); + } static _create_1(context, options) { return new OscillatorNode(context, options); } static _create_2(context) { return new OscillatorNode(context); } - get [S$3.$detune]() { + get [S$4.$detune]() { return this.detune; } get [S$4.$frequency]() { @@ -112776,9 +123769,10 @@ dart.setMethodSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) })); +dart.setStaticMethodSignature(web_audio.OscillatorNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), - [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$detune]: dart.nullable(web_audio.AudioParam), [S$4.$frequency]: dart.nullable(web_audio.AudioParam), [S.$type]: dart.nullable(core.String) })); @@ -112786,18 +123780,25 @@ dart.setSetterSignature(web_audio.OscillatorNode, () => ({ __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), [S.$type]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.OscillatorNode, I[159]); +dart.setLibraryUri(web_audio.OscillatorNode, I[161]); dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); dart.registerExtension("Oscillator", web_audio.OscillatorNode); web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.PannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PannerNode._create_1(context, options_1); } return web_audio.PannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1194, 39, "context"); + return web_audio.PannerNode.new(context, options); + } static _create_1(context, options) { return new PannerNode(context, options); } @@ -112884,6 +123885,7 @@ dart.setMethodSignature(web_audio.PannerNode, () => ({ [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) })); +dart.setStaticMethodSignature(web_audio.PannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.PannerNode, () => ({ __proto__: dart.getGetters(web_audio.PannerNode.__proto__), [S$4.$coneInnerAngle]: dart.nullable(core.num), @@ -112912,19 +123914,26 @@ dart.setSetterSignature(web_audio.PannerNode, () => ({ [S$4.$refDistance]: dart.nullable(core.num), [S$4.$rolloffFactor]: dart.nullable(core.num) })); -dart.setLibraryUri(web_audio.PannerNode, I[159]); +dart.setLibraryUri(web_audio.PannerNode, I[161]); dart.registerExtension("PannerNode", web_audio.PannerNode); dart.registerExtension("AudioPannerNode", web_audio.PannerNode); dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); -web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { +web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_audio.PeriodicWave.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.PeriodicWave._create_1(context, options_1); } return web_audio.PeriodicWave._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1265, 41, "context"); + return web_audio.PeriodicWave.new(context, options); + } static _create_1(context, options) { return new PeriodicWave(context, options); } @@ -112934,9 +123943,13 @@ web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { }; dart.addTypeTests(web_audio.PeriodicWave); dart.addTypeCaches(web_audio.PeriodicWave); -dart.setLibraryUri(web_audio.PeriodicWave, I[159]); +dart.setStaticMethodSignature(web_audio.PeriodicWave, () => ['__', 'new', '_create_1', '_create_2']); +dart.setLibraryUri(web_audio.PeriodicWave, I[161]); dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.ScriptProcessorNode.__(); + } get [S$4.$bufferSize]() { return this.bufferSize; } @@ -112953,28 +123966,37 @@ dart.setMethodSignature(web_audio.ScriptProcessorNode, () => ({ __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) })); +dart.setStaticMethodSignature(web_audio.ScriptProcessorNode, () => ['__']); dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), [S$4.$bufferSize]: dart.nullable(core.int), [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) })); -dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); +dart.setLibraryUri(web_audio.ScriptProcessorNode, I[161]); +dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); dart.defineLazy(web_audio.ScriptProcessorNode, { /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - return C[418] || CT.C418; + return C[429] || CT.C429; } }, false); dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.StereoPannerNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.StereoPannerNode._create_1(context, options_1); } return web_audio.StereoPannerNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1323, 45, "context"); + return web_audio.StereoPannerNode.new(context, options); + } static _create_1(context, options) { return new StereoPannerNode(context, options); } @@ -112987,21 +124009,29 @@ web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode }; dart.addTypeTests(web_audio.StereoPannerNode); dart.addTypeCaches(web_audio.StereoPannerNode); +dart.setStaticMethodSignature(web_audio.StereoPannerNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), [S$4.$pan]: dart.nullable(web_audio.AudioParam) })); -dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); +dart.setLibraryUri(web_audio.StereoPannerNode, I[161]); dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static ['_#_#tearOff']() { + return web_audio.WaveShaperNode.__(); + } static new(context, options = null) { - if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); if (options != null) { let options_1 = html_common.convertDartToNative_Dictionary(options); return web_audio.WaveShaperNode._create_1(context, options_1); } return web_audio.WaveShaperNode._create_2(context); } + static ['_#new#tearOff'](context, options = null) { + if (context == null) dart.nullFailed(I[160], 1348, 43, "context"); + return web_audio.WaveShaperNode.new(context, options); + } static _create_1(context, options) { return new WaveShaperNode(context, options); } @@ -113023,6 +124053,7 @@ web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { }; dart.addTypeTests(web_audio.WaveShaperNode); dart.addTypeCaches(web_audio.WaveShaperNode); +dart.setStaticMethodSignature(web_audio.WaveShaperNode, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), [S$4.$curve]: dart.nullable(typed_data.Float32List), @@ -113033,9 +124064,12 @@ dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ [S$4.$curve]: dart.nullable(typed_data.Float32List), [S$4.$oversample]: dart.nullable(core.String) })); -dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); +dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); -web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { +web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ActiveInfo.__(); + } get [$name]() { return this.name; } @@ -113048,15 +124082,19 @@ web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.ActiveInfo); dart.addTypeCaches(web_gl.ActiveInfo); +dart.setStaticMethodSignature(web_gl.ActiveInfo, () => ['__']); dart.setGetterSignature(web_gl.ActiveInfo, () => ({ __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), [$name]: core.String, [S$.$size]: core.int, [S.$type]: core.int })); -dart.setLibraryUri(web_gl.ActiveInfo, I[160]); +dart.setLibraryUri(web_gl.ActiveInfo, I[162]); dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); -web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { +web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.AngleInstancedArrays.__(); + } [S$4.$drawArraysInstancedAngle](...args) { return this.drawArraysInstancedANGLE.apply(this, args); } @@ -113075,7 +124113,9 @@ dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) })); -dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); +dart.setStaticMethodSignature(web_gl.AngleInstancedArrays, () => ['__']); +dart.setLibraryUri(web_gl.AngleInstancedArrays, I[162]); +dart.setStaticFieldSignature(web_gl.AngleInstancedArrays, () => ['VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE']); dart.defineLazy(web_gl.AngleInstancedArrays, { /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { return 35070; @@ -113083,12 +124123,20 @@ dart.defineLazy(web_gl.AngleInstancedArrays, { }, false); dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); -web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; +web_gl.Buffer = class Buffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Buffer.__(); + } +}; dart.addTypeTests(web_gl.Buffer); dart.addTypeCaches(web_gl.Buffer); -dart.setLibraryUri(web_gl.Buffer, I[160]); +dart.setStaticMethodSignature(web_gl.Buffer, () => ['__']); +dart.setLibraryUri(web_gl.Buffer, I[162]); dart.registerExtension("WebGLBuffer", web_gl.Buffer); -web_gl.Canvas = class Canvas extends _interceptors.Interceptor { +web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Canvas.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -113098,22 +124146,34 @@ web_gl.Canvas = class Canvas extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.Canvas); dart.addTypeCaches(web_gl.Canvas); +dart.setStaticMethodSignature(web_gl.Canvas, () => ['__']); dart.setGetterSignature(web_gl.Canvas, () => ({ __proto__: dart.getGetters(web_gl.Canvas.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) })); -dart.setLibraryUri(web_gl.Canvas, I[160]); +dart.setLibraryUri(web_gl.Canvas, I[162]); dart.registerExtension("WebGLCanvas", web_gl.Canvas); -web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; +web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ColorBufferFloat.__(); + } +}; dart.addTypeTests(web_gl.ColorBufferFloat); dart.addTypeCaches(web_gl.ColorBufferFloat); -dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); +dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); -web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAstc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureAstc); dart.addTypeCaches(web_gl.CompressedTextureAstc); -dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureAstc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureAstc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureAstc, () => ['COMPRESSED_RGBA_ASTC_10x10_KHR', 'COMPRESSED_RGBA_ASTC_10x5_KHR', 'COMPRESSED_RGBA_ASTC_10x6_KHR', 'COMPRESSED_RGBA_ASTC_10x8_KHR', 'COMPRESSED_RGBA_ASTC_12x10_KHR', 'COMPRESSED_RGBA_ASTC_12x12_KHR', 'COMPRESSED_RGBA_ASTC_4x4_KHR', 'COMPRESSED_RGBA_ASTC_5x4_KHR', 'COMPRESSED_RGBA_ASTC_5x5_KHR', 'COMPRESSED_RGBA_ASTC_6x5_KHR', 'COMPRESSED_RGBA_ASTC_6x6_KHR', 'COMPRESSED_RGBA_ASTC_8x5_KHR', 'COMPRESSED_RGBA_ASTC_8x6_KHR', 'COMPRESSED_RGBA_ASTC_8x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 'COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR']); dart.defineLazy(web_gl.CompressedTextureAstc, { /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { return 37819; @@ -113201,10 +124261,16 @@ dart.defineLazy(web_gl.CompressedTextureAstc, { } }, false); dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); -web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureAtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureAtc); dart.addTypeCaches(web_gl.CompressedTextureAtc); -dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureAtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureAtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureAtc, () => ['COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL', 'COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL', 'COMPRESSED_RGB_ATC_WEBGL']); dart.defineLazy(web_gl.CompressedTextureAtc, { /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { return 35987; @@ -113218,10 +124284,16 @@ dart.defineLazy(web_gl.CompressedTextureAtc, { }, false); dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); -web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; +web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureETC1.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureETC1); dart.addTypeCaches(web_gl.CompressedTextureETC1); -dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureETC1, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureETC1, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureETC1, () => ['COMPRESSED_RGB_ETC1_WEBGL']); dart.defineLazy(web_gl.CompressedTextureETC1, { /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { return 36196; @@ -113229,10 +124301,16 @@ dart.defineLazy(web_gl.CompressedTextureETC1, { }, false); dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); -web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; +web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureEtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureEtc); dart.addTypeCaches(web_gl.CompressedTextureEtc); -dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureEtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureEtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureEtc, () => ['COMPRESSED_R11_EAC', 'COMPRESSED_RG11_EAC', 'COMPRESSED_RGB8_ETC2', 'COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2', 'COMPRESSED_RGBA8_ETC2_EAC', 'COMPRESSED_SIGNED_R11_EAC', 'COMPRESSED_SIGNED_RG11_EAC', 'COMPRESSED_SRGB8_ALPHA8_ETC2_EAC', 'COMPRESSED_SRGB8_ETC2', 'COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2']); dart.defineLazy(web_gl.CompressedTextureEtc, { /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { return 37488; @@ -113266,10 +124344,16 @@ dart.defineLazy(web_gl.CompressedTextureEtc, { } }, false); dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); -web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; +web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTexturePvrtc.__(); + } +}; dart.addTypeTests(web_gl.CompressedTexturePvrtc); dart.addTypeCaches(web_gl.CompressedTexturePvrtc); -dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTexturePvrtc, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTexturePvrtc, () => ['COMPRESSED_RGBA_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGBA_PVRTC_4BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_2BPPV1_IMG', 'COMPRESSED_RGB_PVRTC_4BPPV1_IMG']); dart.defineLazy(web_gl.CompressedTexturePvrtc, { /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { return 35843; @@ -113286,10 +124370,16 @@ dart.defineLazy(web_gl.CompressedTexturePvrtc, { }, false); dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); -web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; +web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TC.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureS3TC); dart.addTypeCaches(web_gl.CompressedTextureS3TC); -dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureS3TC, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureS3TC, () => ['COMPRESSED_RGBA_S3TC_DXT1_EXT', 'COMPRESSED_RGBA_S3TC_DXT3_EXT', 'COMPRESSED_RGBA_S3TC_DXT5_EXT', 'COMPRESSED_RGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TC, { /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { return 33777; @@ -113306,10 +124396,16 @@ dart.defineLazy(web_gl.CompressedTextureS3TC, { }, false); dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); -web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; +web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.CompressedTextureS3TCsRgb.__(); + } +}; dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); -dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); +dart.setStaticMethodSignature(web_gl.CompressedTextureS3TCsRgb, () => ['__']); +dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[162]); +dart.setStaticFieldSignature(web_gl.CompressedTextureS3TCsRgb, () => ['COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT', 'COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT', 'COMPRESSED_SRGB_S3TC_DXT1_EXT']); dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { return 35917; @@ -113326,14 +124422,21 @@ dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { }, false); dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); web_gl.ContextEvent = class ContextEvent extends html$.Event { + static ['_#_#tearOff']() { + return web_gl.ContextEvent.__(); + } static new(type, eventInit = null) { - if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); if (eventInit != null) { let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); return web_gl.ContextEvent._create_1(type, eventInit_1); } return web_gl.ContextEvent._create_2(type); } + static ['_#new#tearOff'](type, eventInit = null) { + if (type == null) dart.nullFailed(I[163], 303, 31, "type"); + return web_gl.ContextEvent.new(type, eventInit); + } static _create_1(type, eventInit) { return new WebGLContextEvent(type, eventInit); } @@ -113346,16 +124449,23 @@ web_gl.ContextEvent = class ContextEvent extends html$.Event { }; dart.addTypeTests(web_gl.ContextEvent); dart.addTypeCaches(web_gl.ContextEvent); +dart.setStaticMethodSignature(web_gl.ContextEvent, () => ['__', 'new', '_create_1', '_create_2']); dart.setGetterSignature(web_gl.ContextEvent, () => ({ __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), [S$4.$statusMessage]: core.String })); -dart.setLibraryUri(web_gl.ContextEvent, I[160]); +dart.setLibraryUri(web_gl.ContextEvent, I[162]); dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); -web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; +web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugRendererInfo.__(); + } +}; dart.addTypeTests(web_gl.DebugRendererInfo); dart.addTypeCaches(web_gl.DebugRendererInfo); -dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); +dart.setStaticMethodSignature(web_gl.DebugRendererInfo, () => ['__']); +dart.setLibraryUri(web_gl.DebugRendererInfo, I[162]); +dart.setStaticFieldSignature(web_gl.DebugRendererInfo, () => ['UNMASKED_RENDERER_WEBGL', 'UNMASKED_VENDOR_WEBGL']); dart.defineLazy(web_gl.DebugRendererInfo, { /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { return 37446; @@ -113366,7 +124476,10 @@ dart.defineLazy(web_gl.DebugRendererInfo, { }, false); dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); -web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { +web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DebugShaders.__(); + } [S$4.$getTranslatedShaderSource](...args) { return this.getTranslatedShaderSource.apply(this, args); } @@ -113377,13 +124490,20 @@ dart.setMethodSignature(web_gl.DebugShaders, () => ({ __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) })); -dart.setLibraryUri(web_gl.DebugShaders, I[160]); +dart.setStaticMethodSignature(web_gl.DebugShaders, () => ['__']); +dart.setLibraryUri(web_gl.DebugShaders, I[162]); dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); -web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; +web_gl.DepthTexture = class DepthTexture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DepthTexture.__(); + } +}; dart.addTypeTests(web_gl.DepthTexture); dart.addTypeCaches(web_gl.DepthTexture); -dart.setLibraryUri(web_gl.DepthTexture, I[160]); +dart.setStaticMethodSignature(web_gl.DepthTexture, () => ['__']); +dart.setLibraryUri(web_gl.DepthTexture, I[162]); +dart.setStaticFieldSignature(web_gl.DepthTexture, () => ['UNSIGNED_INT_24_8_WEBGL']); dart.defineLazy(web_gl.DepthTexture, { /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { return 34042; @@ -113391,7 +124511,10 @@ dart.defineLazy(web_gl.DepthTexture, { }, false); dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); -web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { +web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.DrawBuffers.__(); + } [S$4.$drawBuffersWebgl](...args) { return this.drawBuffersWEBGL.apply(this, args); } @@ -113402,13 +124525,20 @@ dart.setMethodSignature(web_gl.DrawBuffers, () => ({ __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) })); -dart.setLibraryUri(web_gl.DrawBuffers, I[160]); +dart.setStaticMethodSignature(web_gl.DrawBuffers, () => ['__']); +dart.setLibraryUri(web_gl.DrawBuffers, I[162]); dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); -web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; +web_gl.EXTsRgb = class EXTsRgb extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.EXTsRgb.__(); + } +}; dart.addTypeTests(web_gl.EXTsRgb); dart.addTypeCaches(web_gl.EXTsRgb); -dart.setLibraryUri(web_gl.EXTsRgb, I[160]); +dart.setStaticMethodSignature(web_gl.EXTsRgb, () => ['__']); +dart.setLibraryUri(web_gl.EXTsRgb, I[162]); +dart.setStaticFieldSignature(web_gl.EXTsRgb, () => ['FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT', 'SRGB8_ALPHA8_EXT', 'SRGB_ALPHA_EXT', 'SRGB_EXT']); dart.defineLazy(web_gl.EXTsRgb, { /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { return 33296; @@ -113425,10 +124555,16 @@ dart.defineLazy(web_gl.EXTsRgb, { }, false); dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); -web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; +web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtBlendMinMax.__(); + } +}; dart.addTypeTests(web_gl.ExtBlendMinMax); dart.addTypeCaches(web_gl.ExtBlendMinMax); -dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); +dart.setStaticMethodSignature(web_gl.ExtBlendMinMax, () => ['__']); +dart.setLibraryUri(web_gl.ExtBlendMinMax, I[162]); +dart.setStaticFieldSignature(web_gl.ExtBlendMinMax, () => ['MAX_EXT', 'MIN_EXT']); dart.defineLazy(web_gl.ExtBlendMinMax, { /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { return 32776; @@ -113439,17 +124575,30 @@ dart.defineLazy(web_gl.ExtBlendMinMax, { }, false); dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); -web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; +web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferFloat.__(); + } +}; dart.addTypeTests(web_gl.ExtColorBufferFloat); dart.addTypeCaches(web_gl.ExtColorBufferFloat); -dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); +dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); -web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; +web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtColorBufferHalfFloat.__(); + } +}; dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); -dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); +dart.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); +dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); -web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { +web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQuery.__(); + } [S$4.$beginQueryExt](...args) { return this.beginQueryEXT.apply(this, args); } @@ -113488,7 +124637,9 @@ dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) })); -dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); +dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQuery, () => ['__']); +dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[162]); +dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQuery, () => ['CURRENT_QUERY_EXT', 'GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'QUERY_RESULT_AVAILABLE_EXT', 'QUERY_RESULT_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQuery, { /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { return 34917; @@ -113513,7 +124664,10 @@ dart.defineLazy(web_gl.ExtDisjointTimerQuery, { } }, false); dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); -web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { +web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtDisjointTimerQueryWebGL2.__(); + } [S$4.$queryCounterExt](...args) { return this.queryCounterEXT.apply(this, args); } @@ -113524,7 +124678,9 @@ dart.setMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ({ __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) })); -dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); +dart.setStaticMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['__']); +dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[162]); +dart.setStaticFieldSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ['GPU_DISJOINT_EXT', 'QUERY_COUNTER_BITS_EXT', 'TIMESTAMP_EXT', 'TIME_ELAPSED_EXT']); dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { return 36795; @@ -113540,22 +124696,38 @@ dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { } }, false); dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); -web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; +web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtFragDepth.__(); + } +}; dart.addTypeTests(web_gl.ExtFragDepth); dart.addTypeCaches(web_gl.ExtFragDepth); -dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); +dart.setStaticMethodSignature(web_gl.ExtFragDepth, () => ['__']); +dart.setLibraryUri(web_gl.ExtFragDepth, I[162]); dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); -web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; +web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtShaderTextureLod.__(); + } +}; dart.addTypeTests(web_gl.ExtShaderTextureLod); dart.addTypeCaches(web_gl.ExtShaderTextureLod); -dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); +dart.setStaticMethodSignature(web_gl.ExtShaderTextureLod, () => ['__']); +dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[162]); dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); -web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; +web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ExtTextureFilterAnisotropic.__(); + } +}; dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); -dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); +dart.setStaticMethodSignature(web_gl.ExtTextureFilterAnisotropic, () => ['__']); +dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[162]); +dart.setStaticFieldSignature(web_gl.ExtTextureFilterAnisotropic, () => ['MAX_TEXTURE_MAX_ANISOTROPY_EXT', 'TEXTURE_MAX_ANISOTROPY_EXT']); dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { return 34047; @@ -113566,16 +124738,24 @@ dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { }, false); dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); -web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; +web_gl.Framebuffer = class Framebuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Framebuffer.__(); + } +}; dart.addTypeTests(web_gl.Framebuffer); dart.addTypeCaches(web_gl.Framebuffer); -dart.setLibraryUri(web_gl.Framebuffer, I[160]); +dart.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); +dart.setLibraryUri(web_gl.Framebuffer, I[162]); dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); -web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { +web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.GetBufferSubDataAsync.__(); + } [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { - if (target == null) dart.nullFailed(I[161], 559, 36, "target"); - if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); - if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + if (target == null) dart.nullFailed(I[163], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[163], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[163], 559, 73, "dstData"); return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); } }; @@ -113585,9 +124765,13 @@ dart.setMethodSignature(web_gl.GetBufferSubDataAsync, () => ({ __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) })); -dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); +dart.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); +dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); -web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { +web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.LoseContext.__(); + } [S$4.$loseContext](...args) { return this.loseContext.apply(this, args); } @@ -113602,20 +124786,32 @@ dart.setMethodSignature(web_gl.LoseContext, () => ({ [S$4.$loseContext]: dart.fnType(dart.void, []), [S$4.$restoreContext]: dart.fnType(dart.void, []) })); -dart.setLibraryUri(web_gl.LoseContext, I[160]); +dart.setStaticMethodSignature(web_gl.LoseContext, () => ['__']); +dart.setLibraryUri(web_gl.LoseContext, I[162]); dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); -web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; +web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesElementIndexUint.__(); + } +}; dart.addTypeTests(web_gl.OesElementIndexUint); dart.addTypeCaches(web_gl.OesElementIndexUint); -dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); +dart.setStaticMethodSignature(web_gl.OesElementIndexUint, () => ['__']); +dart.setLibraryUri(web_gl.OesElementIndexUint, I[162]); dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); -web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; +web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesStandardDerivatives.__(); + } +}; dart.addTypeTests(web_gl.OesStandardDerivatives); dart.addTypeCaches(web_gl.OesStandardDerivatives); -dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); +dart.setStaticMethodSignature(web_gl.OesStandardDerivatives, () => ['__']); +dart.setLibraryUri(web_gl.OesStandardDerivatives, I[162]); +dart.setStaticFieldSignature(web_gl.OesStandardDerivatives, () => ['FRAGMENT_SHADER_DERIVATIVE_HINT_OES']); dart.defineLazy(web_gl.OesStandardDerivatives, { /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { return 35723; @@ -113623,22 +124819,38 @@ dart.defineLazy(web_gl.OesStandardDerivatives, { }, false); dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); -web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; +web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloat.__(); + } +}; dart.addTypeTests(web_gl.OesTextureFloat); dart.addTypeCaches(web_gl.OesTextureFloat); -dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureFloat, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureFloat, I[162]); dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); -web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; +web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureFloatLinear.__(); + } +}; dart.addTypeTests(web_gl.OesTextureFloatLinear); dart.addTypeCaches(web_gl.OesTextureFloatLinear); -dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureFloatLinear, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[162]); dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); -web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; +web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloat.__(); + } +}; dart.addTypeTests(web_gl.OesTextureHalfFloat); dart.addTypeCaches(web_gl.OesTextureHalfFloat); -dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureHalfFloat, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[162]); +dart.setStaticFieldSignature(web_gl.OesTextureHalfFloat, () => ['HALF_FLOAT_OES']); dart.defineLazy(web_gl.OesTextureHalfFloat, { /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { return 36193; @@ -113646,13 +124858,21 @@ dart.defineLazy(web_gl.OesTextureHalfFloat, { }, false); dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); -web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; +web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesTextureHalfFloatLinear.__(); + } +}; dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); -dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); +dart.setStaticMethodSignature(web_gl.OesTextureHalfFloatLinear, () => ['__']); +dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[162]); dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); -web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { +web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.OesVertexArrayObject.__(); + } [S$4.$bindVertexArray](...args) { return this.bindVertexArrayOES.apply(this, args); } @@ -113675,7 +124895,9 @@ dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) })); -dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); +dart.setStaticMethodSignature(web_gl.OesVertexArrayObject, () => ['__']); +dart.setLibraryUri(web_gl.OesVertexArrayObject, I[162]); +dart.setStaticFieldSignature(web_gl.OesVertexArrayObject, () => ['VERTEX_ARRAY_BINDING_OES']); dart.defineLazy(web_gl.OesVertexArrayObject, { /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { return 34229; @@ -113683,22 +124905,40 @@ dart.defineLazy(web_gl.OesVertexArrayObject, { }, false); dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); -web_gl.Program = class Program extends _interceptors.Interceptor {}; +web_gl.Program = class Program extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Program.__(); + } +}; dart.addTypeTests(web_gl.Program); dart.addTypeCaches(web_gl.Program); -dart.setLibraryUri(web_gl.Program, I[160]); +dart.setStaticMethodSignature(web_gl.Program, () => ['__']); +dart.setLibraryUri(web_gl.Program, I[162]); dart.registerExtension("WebGLProgram", web_gl.Program); -web_gl.Query = class Query extends _interceptors.Interceptor {}; +web_gl.Query = class Query extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Query.__(); + } +}; dart.addTypeTests(web_gl.Query); dart.addTypeCaches(web_gl.Query); -dart.setLibraryUri(web_gl.Query, I[160]); +dart.setStaticMethodSignature(web_gl.Query, () => ['__']); +dart.setLibraryUri(web_gl.Query, I[162]); dart.registerExtension("WebGLQuery", web_gl.Query); -web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; +web_gl.Renderbuffer = class Renderbuffer extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Renderbuffer.__(); + } +}; dart.addTypeTests(web_gl.Renderbuffer); dart.addTypeCaches(web_gl.Renderbuffer); -dart.setLibraryUri(web_gl.Renderbuffer, I[160]); +dart.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); +dart.setLibraryUri(web_gl.Renderbuffer, I[162]); dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); -web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { +web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext.__(); + } static get supported() { return !!window.WebGLRenderingContext; } @@ -113789,7 +125029,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -113840,7 +125080,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -113852,7 +125092,7 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -114021,11 +125261,11 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 980, 11, "target"); - if (level == null) dart.nullFailed(I[161], 981, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 981, 11, "target"); + if (level == null) dart.nullFailed(I[163], 982, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 983, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 984, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 985, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -114078,12 +125318,12 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 1098, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1099, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1100, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1101, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 1102, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 1103, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -114223,66 +125463,66 @@ web_gl.RenderingContext = class RenderingContext extends _interceptors.Intercept return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); - if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); - if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); - if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); - if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); - if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + if (x == null) dart.nullFailed(I[163], 1274, 23, "x"); + if (y == null) dart.nullFailed(I[163], 1274, 30, "y"); + if (width == null) dart.nullFailed(I[163], 1274, 37, "width"); + if (height == null) dart.nullFailed(I[163], 1274, 48, "height"); + if (format == null) dart.nullFailed(I[163], 1274, 60, "format"); + if (type == null) dart.nullFailed(I[163], 1274, 72, "type"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); - if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); - if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1288, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1288, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1289, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[163], 1289, 31, "format"); + if (type == null) dart.nullFailed(I[163], 1289, 43, "type"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); } [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); - if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); - if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); - if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); - if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); - if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); - if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1300, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1300, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[163], 1300, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[163], 1301, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1301, 22, "height"); + if (border == null) dart.nullFailed(I[163], 1301, 34, "border"); + if (format == null) dart.nullFailed(I[163], 1301, 46, "format"); + if (type == null) dart.nullFailed(I[163], 1301, 58, "type"); + if (data == null) dart.nullFailed(I[163], 1301, 74, "data"); this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); } [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); - if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); - if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + if (targetTexture == null) dart.nullFailed(I[163], 1314, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1314, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1314, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1315, 11, "yOffset"); + if (format == null) dart.nullFailed(I[163], 1315, 24, "format"); + if (type == null) dart.nullFailed(I[163], 1315, 36, "type"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); } [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { - if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); - if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); - if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); - if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); - if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); - if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + if (targetTexture == null) dart.nullFailed(I[163], 1325, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[163], 1326, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[163], 1327, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[163], 1328, 11, "yOffset"); + if (width == null) dart.nullFailed(I[163], 1329, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1330, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1331, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1332, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1333, 11, "type"); + if (data == null) dart.nullFailed(I[163], 1334, 17, "data"); this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); } [S$4.$bufferDataTyped](target, data, usage) { - if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); - if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); - if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + if (target == null) dart.nullFailed(I[163], 1343, 28, "target"); + if (data == null) dart.nullFailed(I[163], 1343, 46, "data"); + if (usage == null) dart.nullFailed(I[163], 1343, 56, "usage"); this.bufferData(target, data, usage); } [S$4.$bufferSubDataTyped](target, offset, data) { - if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); - if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); - if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + if (target == null) dart.nullFailed(I[163], 1351, 31, "target"); + if (offset == null) dart.nullFailed(I[163], 1351, 43, "offset"); + if (data == null) dart.nullFailed(I[163], 1351, 61, "data"); this.bufferSubData(target, offset, data); } }; @@ -114317,7 +125557,7 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -114334,11 +125574,11 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -114449,15 +125689,20 @@ dart.setMethodSignature(web_gl.RenderingContext, () => ({ [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) })); +dart.setStaticMethodSignature(web_gl.RenderingContext, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), [S$.$canvas]: html$.CanvasElement, [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.RenderingContext, I[160]); +dart.setStaticGetterSignature(web_gl.RenderingContext, () => ['supported']); +dart.setLibraryUri(web_gl.RenderingContext, I[162]); dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); -web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { +web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.RenderingContext2.__(); + } get [S$.$canvas]() { return this.canvas; } @@ -114627,8 +125872,8 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.getUniformBlockIndex.apply(this, args); } [S$4.$getUniformIndices](program, uniformNames) { - if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); - if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + if (program == null) dart.nullFailed(I[163], 1538, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[163], 1538, 62, "uniformNames"); let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); return this[S$4._getUniformIndices_1](program, uniformNames_1); } @@ -114678,14 +125923,14 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.samplerParameteri.apply(this, args); } [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); - if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1580, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1581, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1582, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1583, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1584, 11, "height"); + if (border == null) dart.nullFailed(I[163], 1585, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1586, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1587, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114739,15 +125984,15 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texImage2D.apply(this, args); } [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); - if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); - if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); - if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1716, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1717, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 1718, 11, "internalformat"); + if (width == null) dart.nullFailed(I[163], 1719, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1720, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 1721, 11, "depth"); + if (border == null) dart.nullFailed(I[163], 1722, 11, "border"); + if (format == null) dart.nullFailed(I[163], 1723, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1724, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114814,14 +126059,14 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texStorage3D.apply(this, args); } [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); - if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); - if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); - if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); - if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); - if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (target == null) dart.nullFailed(I[163], 1886, 11, "target"); + if (level == null) dart.nullFailed(I[163], 1887, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 1888, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 1889, 11, "yoffset"); + if (width == null) dart.nullFailed(I[163], 1890, 11, "width"); + if (height == null) dart.nullFailed(I[163], 1891, 11, "height"); + if (format == null) dart.nullFailed(I[163], 1892, 11, "format"); + if (type == null) dart.nullFailed(I[163], 1893, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); return; @@ -114875,16 +126120,16 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texSubImage2D.apply(this, args); } [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { - if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); - if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); - if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); - if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); - if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); - if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); - if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (target == null) dart.nullFailed(I[163], 2022, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2023, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2024, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2025, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[163], 2026, 11, "zoffset"); + if (width == null) dart.nullFailed(I[163], 2027, 11, "width"); + if (height == null) dart.nullFailed(I[163], 2028, 11, "height"); + if (depth == null) dart.nullFailed(I[163], 2029, 11, "depth"); + if (format == null) dart.nullFailed(I[163], 2030, 11, "format"); + if (type == null) dart.nullFailed(I[163], 2031, 11, "type"); if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); return; @@ -114945,9 +126190,9 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texSubImage3D.apply(this, args); } [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { - if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); - if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); - if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + if (program == null) dart.nullFailed(I[163], 2192, 15, "program"); + if (varyings == null) dart.nullFailed(I[163], 2192, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[163], 2192, 51, "bufferMode"); let varyings_1 = html_common.convertDartToNative_StringArray(varyings); this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); return; @@ -115138,7 +126383,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$copyTexSubImage2D](...args) { return this.copyTexSubImage2D.apply(this, args); } - [S$3.$createBuffer](...args) { + [S$4.$createBuffer](...args) { return this.createBuffer.apply(this, args); } [S$4.$createFramebuffer](...args) { @@ -115189,7 +126434,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$detachShader](...args) { return this.detachShader.apply(this, args); } - [S$1.$disable](...args) { + [S$2.$disable](...args) { return this.disable.apply(this, args); } [S$4.$disableVertexAttribArray](...args) { @@ -115201,7 +126446,7 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce [S$4.$drawElements](...args) { return this.drawElements.apply(this, args); } - [S$1.$enable](...args) { + [S$2.$enable](...args) { return this.enable.apply(this, args); } [S$4.$enableVertexAttribArray](...args) { @@ -115370,11 +126615,11 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.stencilOpSeparate.apply(this, args); } [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); - if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); - if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2534, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2535, 11, "level"); + if (internalformat == null) dart.nullFailed(I[163], 2536, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[163], 2537, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2538, 11, "height_OR_type"); if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); return; @@ -115427,12 +126672,12 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.texParameteri.apply(this, args); } [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { - if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); - if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); - if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); - if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); - if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); - if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (target == null) dart.nullFailed(I[163], 2651, 11, "target"); + if (level == null) dart.nullFailed(I[163], 2652, 11, "level"); + if (xoffset == null) dart.nullFailed(I[163], 2653, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[163], 2654, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[163], 2655, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[163], 2656, 11, "height_OR_type"); if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); return; @@ -115572,13 +126817,13 @@ web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interce return this.viewport.apply(this, args); } [S$4.$readPixels](x, y, width, height, format, type, pixels) { - if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); - if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); - if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); - if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); - if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); - if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); - if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + if (x == null) dart.nullFailed(I[163], 2827, 23, "x"); + if (y == null) dart.nullFailed(I[163], 2827, 30, "y"); + if (width == null) dart.nullFailed(I[163], 2827, 37, "width"); + if (height == null) dart.nullFailed(I[163], 2827, 48, "height"); + if (format == null) dart.nullFailed(I[163], 2827, 60, "format"); + if (type == null) dart.nullFailed(I[163], 2827, 72, "type"); + if (pixels == null) dart.nullFailed(I[163], 2828, 17, "pixels"); this[S$4._readPixels](x, y, width, height, format, type, pixels); } }; @@ -115755,7 +127000,7 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createBuffer]: dart.fnType(web_gl.Buffer, []), [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), [S$4.$createProgram]: dart.fnType(web_gl.Program, []), [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), @@ -115772,11 +127017,11 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$2.$disable]: dart.fnType(dart.void, [core.int]), [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$2.$enable]: dart.fnType(dart.void, [core.int]), [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), [S$.$finish]: dart.fnType(dart.void, []), [S$4.$flush]: dart.fnType(dart.void, []), @@ -115881,25 +127126,39 @@ dart.setMethodSignature(web_gl.RenderingContext2, () => ({ [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) })); +dart.setStaticMethodSignature(web_gl.RenderingContext2, () => ['__']); dart.setGetterSignature(web_gl.RenderingContext2, () => ({ __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), [S$.$canvas]: dart.nullable(web_gl.Canvas), [S$4.$drawingBufferHeight]: dart.nullable(core.int), [S$4.$drawingBufferWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.RenderingContext2, I[160]); +dart.setLibraryUri(web_gl.RenderingContext2, I[162]); dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); -web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; +web_gl.Sampler = class Sampler extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sampler.__(); + } +}; dart.addTypeTests(web_gl.Sampler); dart.addTypeCaches(web_gl.Sampler); -dart.setLibraryUri(web_gl.Sampler, I[160]); +dart.setStaticMethodSignature(web_gl.Sampler, () => ['__']); +dart.setLibraryUri(web_gl.Sampler, I[162]); dart.registerExtension("WebGLSampler", web_gl.Sampler); -web_gl.Shader = class Shader extends _interceptors.Interceptor {}; +web_gl.Shader = class Shader extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Shader.__(); + } +}; dart.addTypeTests(web_gl.Shader); dart.addTypeCaches(web_gl.Shader); -dart.setLibraryUri(web_gl.Shader, I[160]); +dart.setStaticMethodSignature(web_gl.Shader, () => ['__']); +dart.setLibraryUri(web_gl.Shader, I[162]); dart.registerExtension("WebGLShader", web_gl.Shader); -web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { +web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.ShaderPrecisionFormat.__(); + } get [S$4.$precision]() { return this.precision; } @@ -115912,20 +127171,29 @@ web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors }; dart.addTypeTests(web_gl.ShaderPrecisionFormat); dart.addTypeCaches(web_gl.ShaderPrecisionFormat); +dart.setStaticMethodSignature(web_gl.ShaderPrecisionFormat, () => ['__']); dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), [S$4.$precision]: core.int, [S$4.$rangeMax]: core.int, [S$4.$rangeMin]: core.int })); -dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); +dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[162]); dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); -web_gl.Sync = class Sync extends _interceptors.Interceptor {}; +web_gl.Sync = class Sync extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Sync.__(); + } +}; dart.addTypeTests(web_gl.Sync); dart.addTypeCaches(web_gl.Sync); -dart.setLibraryUri(web_gl.Sync, I[160]); +dart.setStaticMethodSignature(web_gl.Sync, () => ['__']); +dart.setLibraryUri(web_gl.Sync, I[162]); dart.registerExtension("WebGLSync", web_gl.Sync); -web_gl.Texture = class Texture extends _interceptors.Interceptor { +web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.Texture.__(); + } get [S$4.$lastUploadedVideoFrameWasSkipped]() { return this.lastUploadedVideoFrameWasSkipped; } @@ -115941,6 +127209,7 @@ web_gl.Texture = class Texture extends _interceptors.Interceptor { }; dart.addTypeTests(web_gl.Texture); dart.addTypeCaches(web_gl.Texture); +dart.setStaticMethodSignature(web_gl.Texture, () => ['__']); dart.setGetterSignature(web_gl.Texture, () => ({ __proto__: dart.getGetters(web_gl.Texture.__proto__), [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), @@ -115948,39 +127217,70 @@ dart.setGetterSignature(web_gl.Texture, () => ({ [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) })); -dart.setLibraryUri(web_gl.Texture, I[160]); +dart.setLibraryUri(web_gl.Texture, I[162]); dart.registerExtension("WebGLTexture", web_gl.Texture); -web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; +web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TimerQueryExt.__(); + } +}; dart.addTypeTests(web_gl.TimerQueryExt); dart.addTypeCaches(web_gl.TimerQueryExt); -dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); +dart.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); +dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); -web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; +web_gl.TransformFeedback = class TransformFeedback extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.TransformFeedback.__(); + } +}; dart.addTypeTests(web_gl.TransformFeedback); dart.addTypeCaches(web_gl.TransformFeedback); -dart.setLibraryUri(web_gl.TransformFeedback, I[160]); +dart.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); +dart.setLibraryUri(web_gl.TransformFeedback, I[162]); dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); -web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; +web_gl.UniformLocation = class UniformLocation extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.UniformLocation.__(); + } +}; dart.addTypeTests(web_gl.UniformLocation); dart.addTypeCaches(web_gl.UniformLocation); -dart.setLibraryUri(web_gl.UniformLocation, I[160]); +dart.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); +dart.setLibraryUri(web_gl.UniformLocation, I[162]); dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); -web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; +web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObject.__(); + } +}; dart.addTypeTests(web_gl.VertexArrayObject); dart.addTypeCaches(web_gl.VertexArrayObject); -dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); +dart.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); +dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); -web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; +web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl.VertexArrayObjectOes.__(); + } +}; dart.addTypeTests(web_gl.VertexArrayObjectOes); dart.addTypeCaches(web_gl.VertexArrayObjectOes); -dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); +dart.setStaticMethodSignature(web_gl.VertexArrayObjectOes, () => ['__']); +dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[162]); dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); -web_gl.WebGL = class WebGL extends core.Object {}; +web_gl.WebGL = class WebGL extends core.Object { + static ['_#_#tearOff']() { + return web_gl.WebGL.__(); + } +}; (web_gl.WebGL[dart.mixinNew] = function() { }).prototype = web_gl.WebGL.prototype; dart.addTypeTests(web_gl.WebGL); dart.addTypeCaches(web_gl.WebGL); -dart.setLibraryUri(web_gl.WebGL, I[160]); +dart.setStaticMethodSignature(web_gl.WebGL, () => ['__']); +dart.setLibraryUri(web_gl.WebGL, I[162]); +dart.setStaticFieldSignature(web_gl.WebGL, () => ['ACTIVE_ATTRIBUTES', 'ACTIVE_TEXTURE', 'ACTIVE_UNIFORMS', 'ACTIVE_UNIFORM_BLOCKS', 'ALIASED_LINE_WIDTH_RANGE', 'ALIASED_POINT_SIZE_RANGE', 'ALPHA', 'ALPHA_BITS', 'ALREADY_SIGNALED', 'ALWAYS', 'ANY_SAMPLES_PASSED', 'ANY_SAMPLES_PASSED_CONSERVATIVE', 'ARRAY_BUFFER', 'ARRAY_BUFFER_BINDING', 'ATTACHED_SHADERS', 'BACK', 'BLEND', 'BLEND_COLOR', 'BLEND_DST_ALPHA', 'BLEND_DST_RGB', 'BLEND_EQUATION', 'BLEND_EQUATION_ALPHA', 'BLEND_EQUATION_RGB', 'BLEND_SRC_ALPHA', 'BLEND_SRC_RGB', 'BLUE_BITS', 'BOOL', 'BOOL_VEC2', 'BOOL_VEC3', 'BOOL_VEC4', 'BROWSER_DEFAULT_WEBGL', 'BUFFER_SIZE', 'BUFFER_USAGE', 'BYTE', 'CCW', 'CLAMP_TO_EDGE', 'COLOR', 'COLOR_ATTACHMENT0', 'COLOR_ATTACHMENT0_WEBGL', 'COLOR_ATTACHMENT1', 'COLOR_ATTACHMENT10', 'COLOR_ATTACHMENT10_WEBGL', 'COLOR_ATTACHMENT11', 'COLOR_ATTACHMENT11_WEBGL', 'COLOR_ATTACHMENT12', 'COLOR_ATTACHMENT12_WEBGL', 'COLOR_ATTACHMENT13', 'COLOR_ATTACHMENT13_WEBGL', 'COLOR_ATTACHMENT14', 'COLOR_ATTACHMENT14_WEBGL', 'COLOR_ATTACHMENT15', 'COLOR_ATTACHMENT15_WEBGL', 'COLOR_ATTACHMENT1_WEBGL', 'COLOR_ATTACHMENT2', 'COLOR_ATTACHMENT2_WEBGL', 'COLOR_ATTACHMENT3', 'COLOR_ATTACHMENT3_WEBGL', 'COLOR_ATTACHMENT4', 'COLOR_ATTACHMENT4_WEBGL', 'COLOR_ATTACHMENT5', 'COLOR_ATTACHMENT5_WEBGL', 'COLOR_ATTACHMENT6', 'COLOR_ATTACHMENT6_WEBGL', 'COLOR_ATTACHMENT7', 'COLOR_ATTACHMENT7_WEBGL', 'COLOR_ATTACHMENT8', 'COLOR_ATTACHMENT8_WEBGL', 'COLOR_ATTACHMENT9', 'COLOR_ATTACHMENT9_WEBGL', 'COLOR_BUFFER_BIT', 'COLOR_CLEAR_VALUE', 'COLOR_WRITEMASK', 'COMPARE_REF_TO_TEXTURE', 'COMPILE_STATUS', 'COMPRESSED_TEXTURE_FORMATS', 'CONDITION_SATISFIED', 'CONSTANT_ALPHA', 'CONSTANT_COLOR', 'CONTEXT_LOST_WEBGL', 'COPY_READ_BUFFER', 'COPY_READ_BUFFER_BINDING', 'COPY_WRITE_BUFFER', 'COPY_WRITE_BUFFER_BINDING', 'CULL_FACE', 'CULL_FACE_MODE', 'CURRENT_PROGRAM', 'CURRENT_QUERY', 'CURRENT_VERTEX_ATTRIB', 'CW', 'DECR', 'DECR_WRAP', 'DELETE_STATUS', 'DEPTH', 'DEPTH24_STENCIL8', 'DEPTH32F_STENCIL8', 'DEPTH_ATTACHMENT', 'DEPTH_BITS', 'DEPTH_BUFFER_BIT', 'DEPTH_CLEAR_VALUE', 'DEPTH_COMPONENT', 'DEPTH_COMPONENT16', 'DEPTH_COMPONENT24', 'DEPTH_COMPONENT32F', 'DEPTH_FUNC', 'DEPTH_RANGE', 'DEPTH_STENCIL', 'DEPTH_STENCIL_ATTACHMENT', 'DEPTH_TEST', 'DEPTH_WRITEMASK', 'DITHER', 'DONT_CARE', 'DRAW_BUFFER0', 'DRAW_BUFFER0_WEBGL', 'DRAW_BUFFER1', 'DRAW_BUFFER10', 'DRAW_BUFFER10_WEBGL', 'DRAW_BUFFER11', 'DRAW_BUFFER11_WEBGL', 'DRAW_BUFFER12', 'DRAW_BUFFER12_WEBGL', 'DRAW_BUFFER13', 'DRAW_BUFFER13_WEBGL', 'DRAW_BUFFER14', 'DRAW_BUFFER14_WEBGL', 'DRAW_BUFFER15', 'DRAW_BUFFER15_WEBGL', 'DRAW_BUFFER1_WEBGL', 'DRAW_BUFFER2', 'DRAW_BUFFER2_WEBGL', 'DRAW_BUFFER3', 'DRAW_BUFFER3_WEBGL', 'DRAW_BUFFER4', 'DRAW_BUFFER4_WEBGL', 'DRAW_BUFFER5', 'DRAW_BUFFER5_WEBGL', 'DRAW_BUFFER6', 'DRAW_BUFFER6_WEBGL', 'DRAW_BUFFER7', 'DRAW_BUFFER7_WEBGL', 'DRAW_BUFFER8', 'DRAW_BUFFER8_WEBGL', 'DRAW_BUFFER9', 'DRAW_BUFFER9_WEBGL', 'DRAW_FRAMEBUFFER', 'DRAW_FRAMEBUFFER_BINDING', 'DST_ALPHA', 'DST_COLOR', 'DYNAMIC_COPY', 'DYNAMIC_DRAW', 'DYNAMIC_READ', 'ELEMENT_ARRAY_BUFFER', 'ELEMENT_ARRAY_BUFFER_BINDING', 'EQUAL', 'FASTEST', 'FLOAT', 'FLOAT_32_UNSIGNED_INT_24_8_REV', 'FLOAT_MAT2', 'FLOAT_MAT2x3', 'FLOAT_MAT2x4', 'FLOAT_MAT3', 'FLOAT_MAT3x2', 'FLOAT_MAT3x4', 'FLOAT_MAT4', 'FLOAT_MAT4x2', 'FLOAT_MAT4x3', 'FLOAT_VEC2', 'FLOAT_VEC3', 'FLOAT_VEC4', 'FRAGMENT_SHADER', 'FRAGMENT_SHADER_DERIVATIVE_HINT', 'FRAMEBUFFER', 'FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE', 'FRAMEBUFFER_ATTACHMENT_BLUE_SIZE', 'FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING', 'FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE', 'FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE', 'FRAMEBUFFER_ATTACHMENT_GREEN_SIZE', 'FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', 'FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', 'FRAMEBUFFER_ATTACHMENT_RED_SIZE', 'FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER', 'FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', 'FRAMEBUFFER_BINDING', 'FRAMEBUFFER_COMPLETE', 'FRAMEBUFFER_DEFAULT', 'FRAMEBUFFER_INCOMPLETE_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_DIMENSIONS', 'FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT', 'FRAMEBUFFER_INCOMPLETE_MULTISAMPLE', 'FRAMEBUFFER_UNSUPPORTED', 'FRONT', 'FRONT_AND_BACK', 'FRONT_FACE', 'FUNC_ADD', 'FUNC_REVERSE_SUBTRACT', 'FUNC_SUBTRACT', 'GENERATE_MIPMAP_HINT', 'GEQUAL', 'GREATER', 'GREEN_BITS', 'HALF_FLOAT', 'HIGH_FLOAT', 'HIGH_INT', 'IMPLEMENTATION_COLOR_READ_FORMAT', 'IMPLEMENTATION_COLOR_READ_TYPE', 'INCR', 'INCR_WRAP', 'INT', 'INTERLEAVED_ATTRIBS', 'INT_2_10_10_10_REV', 'INT_SAMPLER_2D', 'INT_SAMPLER_2D_ARRAY', 'INT_SAMPLER_3D', 'INT_SAMPLER_CUBE', 'INT_VEC2', 'INT_VEC3', 'INT_VEC4', 'INVALID_ENUM', 'INVALID_FRAMEBUFFER_OPERATION', 'INVALID_INDEX', 'INVALID_OPERATION', 'INVALID_VALUE', 'INVERT', 'KEEP', 'LEQUAL', 'LESS', 'LINEAR', 'LINEAR_MIPMAP_LINEAR', 'LINEAR_MIPMAP_NEAREST', 'LINES', 'LINE_LOOP', 'LINE_STRIP', 'LINE_WIDTH', 'LINK_STATUS', 'LOW_FLOAT', 'LOW_INT', 'LUMINANCE', 'LUMINANCE_ALPHA', 'MAX', 'MAX_3D_TEXTURE_SIZE', 'MAX_ARRAY_TEXTURE_LAYERS', 'MAX_CLIENT_WAIT_TIMEOUT_WEBGL', 'MAX_COLOR_ATTACHMENTS', 'MAX_COLOR_ATTACHMENTS_WEBGL', 'MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_COMBINED_TEXTURE_IMAGE_UNITS', 'MAX_COMBINED_UNIFORM_BLOCKS', 'MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS', 'MAX_CUBE_MAP_TEXTURE_SIZE', 'MAX_DRAW_BUFFERS', 'MAX_DRAW_BUFFERS_WEBGL', 'MAX_ELEMENTS_INDICES', 'MAX_ELEMENTS_VERTICES', 'MAX_ELEMENT_INDEX', 'MAX_FRAGMENT_INPUT_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_BLOCKS', 'MAX_FRAGMENT_UNIFORM_COMPONENTS', 'MAX_FRAGMENT_UNIFORM_VECTORS', 'MAX_PROGRAM_TEXEL_OFFSET', 'MAX_RENDERBUFFER_SIZE', 'MAX_SAMPLES', 'MAX_SERVER_WAIT_TIMEOUT', 'MAX_TEXTURE_IMAGE_UNITS', 'MAX_TEXTURE_LOD_BIAS', 'MAX_TEXTURE_SIZE', 'MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS', 'MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS', 'MAX_UNIFORM_BLOCK_SIZE', 'MAX_UNIFORM_BUFFER_BINDINGS', 'MAX_VARYING_COMPONENTS', 'MAX_VARYING_VECTORS', 'MAX_VERTEX_ATTRIBS', 'MAX_VERTEX_OUTPUT_COMPONENTS', 'MAX_VERTEX_TEXTURE_IMAGE_UNITS', 'MAX_VERTEX_UNIFORM_BLOCKS', 'MAX_VERTEX_UNIFORM_COMPONENTS', 'MAX_VERTEX_UNIFORM_VECTORS', 'MAX_VIEWPORT_DIMS', 'MEDIUM_FLOAT', 'MEDIUM_INT', 'MIN', 'MIN_PROGRAM_TEXEL_OFFSET', 'MIRRORED_REPEAT', 'NEAREST', 'NEAREST_MIPMAP_LINEAR', 'NEAREST_MIPMAP_NEAREST', 'NEVER', 'NICEST', 'NONE', 'NOTEQUAL', 'NO_ERROR', 'OBJECT_TYPE', 'ONE', 'ONE_MINUS_CONSTANT_ALPHA', 'ONE_MINUS_CONSTANT_COLOR', 'ONE_MINUS_DST_ALPHA', 'ONE_MINUS_DST_COLOR', 'ONE_MINUS_SRC_ALPHA', 'ONE_MINUS_SRC_COLOR', 'OUT_OF_MEMORY', 'PACK_ALIGNMENT', 'PACK_ROW_LENGTH', 'PACK_SKIP_PIXELS', 'PACK_SKIP_ROWS', 'PIXEL_PACK_BUFFER', 'PIXEL_PACK_BUFFER_BINDING', 'PIXEL_UNPACK_BUFFER', 'PIXEL_UNPACK_BUFFER_BINDING', 'POINTS', 'POLYGON_OFFSET_FACTOR', 'POLYGON_OFFSET_FILL', 'POLYGON_OFFSET_UNITS', 'QUERY_RESULT', 'QUERY_RESULT_AVAILABLE', 'R11F_G11F_B10F', 'R16F', 'R16I', 'R16UI', 'R32F', 'R32I', 'R32UI', 'R8', 'R8I', 'R8UI', 'R8_SNORM', 'RASTERIZER_DISCARD', 'READ_BUFFER', 'READ_FRAMEBUFFER', 'READ_FRAMEBUFFER_BINDING', 'RED', 'RED_BITS', 'RED_INTEGER', 'RENDERBUFFER', 'RENDERBUFFER_ALPHA_SIZE', 'RENDERBUFFER_BINDING', 'RENDERBUFFER_BLUE_SIZE', 'RENDERBUFFER_DEPTH_SIZE', 'RENDERBUFFER_GREEN_SIZE', 'RENDERBUFFER_HEIGHT', 'RENDERBUFFER_INTERNAL_FORMAT', 'RENDERBUFFER_RED_SIZE', 'RENDERBUFFER_SAMPLES', 'RENDERBUFFER_STENCIL_SIZE', 'RENDERBUFFER_WIDTH', 'RENDERER', 'REPEAT', 'REPLACE', 'RG', 'RG16F', 'RG16I', 'RG16UI', 'RG32F', 'RG32I', 'RG32UI', 'RG8', 'RG8I', 'RG8UI', 'RG8_SNORM', 'RGB', 'RGB10_A2', 'RGB10_A2UI', 'RGB16F', 'RGB16I', 'RGB16UI', 'RGB32F', 'RGB32I', 'RGB32UI', 'RGB565', 'RGB5_A1', 'RGB8', 'RGB8I', 'RGB8UI', 'RGB8_SNORM', 'RGB9_E5', 'RGBA', 'RGBA16F', 'RGBA16I', 'RGBA16UI', 'RGBA32F', 'RGBA32I', 'RGBA32UI', 'RGBA4', 'RGBA8', 'RGBA8I', 'RGBA8UI', 'RGBA8_SNORM', 'RGBA_INTEGER', 'RGB_INTEGER', 'RG_INTEGER', 'SAMPLER_2D', 'SAMPLER_2D_ARRAY', 'SAMPLER_2D_ARRAY_SHADOW', 'SAMPLER_2D_SHADOW', 'SAMPLER_3D', 'SAMPLER_BINDING', 'SAMPLER_CUBE', 'SAMPLER_CUBE_SHADOW', 'SAMPLES', 'SAMPLE_ALPHA_TO_COVERAGE', 'SAMPLE_BUFFERS', 'SAMPLE_COVERAGE', 'SAMPLE_COVERAGE_INVERT', 'SAMPLE_COVERAGE_VALUE', 'SCISSOR_BOX', 'SCISSOR_TEST', 'SEPARATE_ATTRIBS', 'SHADER_TYPE', 'SHADING_LANGUAGE_VERSION', 'SHORT', 'SIGNALED', 'SIGNED_NORMALIZED', 'SRC_ALPHA', 'SRC_ALPHA_SATURATE', 'SRC_COLOR', 'SRGB', 'SRGB8', 'SRGB8_ALPHA8', 'STATIC_COPY', 'STATIC_DRAW', 'STATIC_READ', 'STENCIL', 'STENCIL_ATTACHMENT', 'STENCIL_BACK_FAIL', 'STENCIL_BACK_FUNC', 'STENCIL_BACK_PASS_DEPTH_FAIL', 'STENCIL_BACK_PASS_DEPTH_PASS', 'STENCIL_BACK_REF', 'STENCIL_BACK_VALUE_MASK', 'STENCIL_BACK_WRITEMASK', 'STENCIL_BITS', 'STENCIL_BUFFER_BIT', 'STENCIL_CLEAR_VALUE', 'STENCIL_FAIL', 'STENCIL_FUNC', 'STENCIL_INDEX8', 'STENCIL_PASS_DEPTH_FAIL', 'STENCIL_PASS_DEPTH_PASS', 'STENCIL_REF', 'STENCIL_TEST', 'STENCIL_VALUE_MASK', 'STENCIL_WRITEMASK', 'STREAM_COPY', 'STREAM_DRAW', 'STREAM_READ', 'SUBPIXEL_BITS', 'SYNC_CONDITION', 'SYNC_FENCE', 'SYNC_FLAGS', 'SYNC_FLUSH_COMMANDS_BIT', 'SYNC_GPU_COMMANDS_COMPLETE', 'SYNC_STATUS', 'TEXTURE', 'TEXTURE0', 'TEXTURE1', 'TEXTURE10', 'TEXTURE11', 'TEXTURE12', 'TEXTURE13', 'TEXTURE14', 'TEXTURE15', 'TEXTURE16', 'TEXTURE17', 'TEXTURE18', 'TEXTURE19', 'TEXTURE2', 'TEXTURE20', 'TEXTURE21', 'TEXTURE22', 'TEXTURE23', 'TEXTURE24', 'TEXTURE25', 'TEXTURE26', 'TEXTURE27', 'TEXTURE28', 'TEXTURE29', 'TEXTURE3', 'TEXTURE30', 'TEXTURE31', 'TEXTURE4', 'TEXTURE5', 'TEXTURE6', 'TEXTURE7', 'TEXTURE8', 'TEXTURE9', 'TEXTURE_2D', 'TEXTURE_2D_ARRAY', 'TEXTURE_3D', 'TEXTURE_BASE_LEVEL', 'TEXTURE_BINDING_2D', 'TEXTURE_BINDING_2D_ARRAY', 'TEXTURE_BINDING_3D', 'TEXTURE_BINDING_CUBE_MAP', 'TEXTURE_COMPARE_FUNC', 'TEXTURE_COMPARE_MODE', 'TEXTURE_CUBE_MAP', 'TEXTURE_CUBE_MAP_NEGATIVE_X', 'TEXTURE_CUBE_MAP_NEGATIVE_Y', 'TEXTURE_CUBE_MAP_NEGATIVE_Z', 'TEXTURE_CUBE_MAP_POSITIVE_X', 'TEXTURE_CUBE_MAP_POSITIVE_Y', 'TEXTURE_CUBE_MAP_POSITIVE_Z', 'TEXTURE_IMMUTABLE_FORMAT', 'TEXTURE_IMMUTABLE_LEVELS', 'TEXTURE_MAG_FILTER', 'TEXTURE_MAX_LEVEL', 'TEXTURE_MAX_LOD', 'TEXTURE_MIN_FILTER', 'TEXTURE_MIN_LOD', 'TEXTURE_WRAP_R', 'TEXTURE_WRAP_S', 'TEXTURE_WRAP_T', 'TIMEOUT_EXPIRED', 'TIMEOUT_IGNORED', 'TRANSFORM_FEEDBACK', 'TRANSFORM_FEEDBACK_ACTIVE', 'TRANSFORM_FEEDBACK_BINDING', 'TRANSFORM_FEEDBACK_BUFFER', 'TRANSFORM_FEEDBACK_BUFFER_BINDING', 'TRANSFORM_FEEDBACK_BUFFER_MODE', 'TRANSFORM_FEEDBACK_BUFFER_SIZE', 'TRANSFORM_FEEDBACK_BUFFER_START', 'TRANSFORM_FEEDBACK_PAUSED', 'TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', 'TRANSFORM_FEEDBACK_VARYINGS', 'TRIANGLES', 'TRIANGLE_FAN', 'TRIANGLE_STRIP', 'UNIFORM_ARRAY_STRIDE', 'UNIFORM_BLOCK_ACTIVE_UNIFORMS', 'UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', 'UNIFORM_BLOCK_BINDING', 'UNIFORM_BLOCK_DATA_SIZE', 'UNIFORM_BLOCK_INDEX', 'UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', 'UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', 'UNIFORM_BUFFER', 'UNIFORM_BUFFER_BINDING', 'UNIFORM_BUFFER_OFFSET_ALIGNMENT', 'UNIFORM_BUFFER_SIZE', 'UNIFORM_BUFFER_START', 'UNIFORM_IS_ROW_MAJOR', 'UNIFORM_MATRIX_STRIDE', 'UNIFORM_OFFSET', 'UNIFORM_SIZE', 'UNIFORM_TYPE', 'UNPACK_ALIGNMENT', 'UNPACK_COLORSPACE_CONVERSION_WEBGL', 'UNPACK_FLIP_Y_WEBGL', 'UNPACK_IMAGE_HEIGHT', 'UNPACK_PREMULTIPLY_ALPHA_WEBGL', 'UNPACK_ROW_LENGTH', 'UNPACK_SKIP_IMAGES', 'UNPACK_SKIP_PIXELS', 'UNPACK_SKIP_ROWS', 'UNSIGNALED', 'UNSIGNED_BYTE', 'UNSIGNED_INT', 'UNSIGNED_INT_10F_11F_11F_REV', 'UNSIGNED_INT_24_8', 'UNSIGNED_INT_2_10_10_10_REV', 'UNSIGNED_INT_5_9_9_9_REV', 'UNSIGNED_INT_SAMPLER_2D', 'UNSIGNED_INT_SAMPLER_2D_ARRAY', 'UNSIGNED_INT_SAMPLER_3D', 'UNSIGNED_INT_SAMPLER_CUBE', 'UNSIGNED_INT_VEC2', 'UNSIGNED_INT_VEC3', 'UNSIGNED_INT_VEC4', 'UNSIGNED_NORMALIZED', 'UNSIGNED_SHORT', 'UNSIGNED_SHORT_4_4_4_4', 'UNSIGNED_SHORT_5_5_5_1', 'UNSIGNED_SHORT_5_6_5', 'VALIDATE_STATUS', 'VENDOR', 'VERSION', 'VERTEX_ARRAY_BINDING', 'VERTEX_ATTRIB_ARRAY_BUFFER_BINDING', 'VERTEX_ATTRIB_ARRAY_DIVISOR', 'VERTEX_ATTRIB_ARRAY_ENABLED', 'VERTEX_ATTRIB_ARRAY_INTEGER', 'VERTEX_ATTRIB_ARRAY_NORMALIZED', 'VERTEX_ATTRIB_ARRAY_POINTER', 'VERTEX_ATTRIB_ARRAY_SIZE', 'VERTEX_ATTRIB_ARRAY_STRIDE', 'VERTEX_ATTRIB_ARRAY_TYPE', 'VERTEX_SHADER', 'VIEWPORT', 'WAIT_FAILED', 'ZERO']); dart.defineLazy(web_gl.WebGL, { /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { return 35721; @@ -117763,338 +129063,152 @@ dart.defineLazy(web_gl.WebGL, { } }, false); dart.registerExtension("WebGL", web_gl.WebGL); -web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; +web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGL2RenderingContextBase.__(); + } +}; dart.addTypeTests(web_gl._WebGL2RenderingContextBase); dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; -dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); +dart.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); +dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); -web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; -dart.addTypeTests(web_gl._WebGLRenderingContextBase); -dart.addTypeCaches(web_gl._WebGLRenderingContextBase); -dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); -web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { - static get supported() { - return !!window.openDatabase; - } - get [S.$version]() { - return this.version; - } - [S$4._changeVersion](...args) { - return this.changeVersion.apply(this, args); - } - [S$4.$changeVersion](oldVersion, newVersion) { - if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); - if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 121, 45, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 123, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S$4._readTransaction](...args) { - return this.readTransaction.apply(this, args); - } - [S$4.$readTransaction]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this[S$4._readTransaction](dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 137, 23, "value"); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 139, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } - [S.$transaction](...args) { - return this.transaction.apply(this, args); - } - [S$4.$transaction_future]() { - let completer = T$0.CompleterOfSqlTransaction().new(); - this.transaction(dart.fn(value => { - if (value == null) dart.nullFailed(I[162], 152, 18, "value"); - _js_helper.applyExtension("SQLTransaction", value); - completer.complete(value); - }, T$0.SqlTransactionTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[162], 155, 9, "error"); - completer.completeError(error); - }, T$0.SqlErrorTovoid())); - return completer.future; - } -}; -dart.addTypeTests(web_sql.SqlDatabase); -dart.addTypeCaches(web_sql.SqlDatabase); -dart.setMethodSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), - [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), - [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), - [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), - [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) -})); -dart.setGetterSignature(web_sql.SqlDatabase, () => ({ - __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), - [S.$version]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_sql.SqlDatabase, I[163]); -dart.registerExtension("Database", web_sql.SqlDatabase); -web_sql.SqlError = class SqlError extends _interceptors.Interceptor { - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -dart.addTypeTests(web_sql.SqlError); -dart.addTypeCaches(web_sql.SqlError); -dart.setGetterSignature(web_sql.SqlError, () => ({ - __proto__: dart.getGetters(web_sql.SqlError.__proto__), - [S$.$code]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_sql.SqlError, I[163]); -dart.defineLazy(web_sql.SqlError, { - /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { - return 6; - }, - /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { - return 1; - }, - /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { - return 4; - }, - /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { - return 5; - }, - /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { - return 7; - }, - /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { - return 3; - }, - /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { - return 0; - }, - /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { - return 2; - } -}, false); -dart.registerExtension("SQLError", web_sql.SqlError); -web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { - get [S$4.$insertId]() { - return this.insertId; - } - get [S$2.$rows]() { - return this.rows; - } - get [S$4.$rowsAffected]() { - return this.rowsAffected; +web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { + static ['_#_#tearOff']() { + return web_gl._WebGLRenderingContextBase.__(); } }; -dart.addTypeTests(web_sql.SqlResultSet); -dart.addTypeCaches(web_sql.SqlResultSet); -dart.setGetterSignature(web_sql.SqlResultSet, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), - [S$4.$insertId]: dart.nullable(core.int), - [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), - [S$4.$rowsAffected]: dart.nullable(core.int) -})); -dart.setLibraryUri(web_sql.SqlResultSet, I[163]); -dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); -core.Map$ = dart.generic((K, V) => { - class Map extends core.Object { - static unmodifiable(other) { - if (other == null) dart.nullFailed(I[7], 562, 50, "other"); - return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); - } - static castFrom(K, V, K2, V2, source) { - if (source == null) dart.nullFailed(I[164], 166, 55, "source"); - return new (_internal.CastMap$(K, V, K2, V2)).new(source); - } - static fromEntries(entries) { - let t247; - if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); - t247 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - t247[$addEntries](entries); - return t247; - })(); - } - } - (Map[dart.mixinNew] = function() { - }).prototype = Map.prototype; - dart.addTypeTests(Map); - Map.prototype[dart.isMap] = true; - dart.addTypeCaches(Map); - dart.setLibraryUri(Map, I[8]); - return Map; +dart.addTypeTests(web_gl._WebGLRenderingContextBase); +dart.addTypeCaches(web_gl._WebGLRenderingContextBase); +dart.setStaticMethodSignature(web_gl._WebGLRenderingContextBase, () => ['__']); +dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[162]); +var _weakRef = dart.privateName(core, "_weakRef"); +const _is__WeakReferenceWrapper_default = Symbol('_is__WeakReferenceWrapper_default'); +core._WeakReferenceWrapper$ = dart.generic(T => { + class _WeakReferenceWrapper extends core.Object { + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + get target() { + let target = this[_weakRef].deref(); + if (target === void 0) return null; + return target; + } + } + (_WeakReferenceWrapper.new = function(object) { + if (object == null) dart.nullFailed(I[7], 195, 27, "object"); + this[_weakRef] = new WeakRef(object); + ; + }).prototype = _WeakReferenceWrapper.prototype; + dart.addTypeTests(_WeakReferenceWrapper); + _WeakReferenceWrapper.prototype[_is__WeakReferenceWrapper_default] = true; + dart.addTypeCaches(_WeakReferenceWrapper); + _WeakReferenceWrapper[dart.implements] = () => [core.WeakReference$(T)]; + dart.setGetterSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getGetters(_WeakReferenceWrapper.__proto__), + target: dart.nullable(T) + })); + dart.setLibraryUri(_WeakReferenceWrapper, I[9]); + dart.setFieldSignature(_WeakReferenceWrapper, () => ({ + __proto__: dart.getFields(_WeakReferenceWrapper.__proto__), + [_weakRef]: dart.finalFieldType(core.Object) + })); + return _WeakReferenceWrapper; }); -core.Map = core.Map$(); -dart.addTypeTests(core.Map, dart.isMap); -const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; -(Interceptor_ListMixin$36$17.new = function() { - Interceptor_ListMixin$36$17.__proto__.new.call(this); -}).prototype = Interceptor_ListMixin$36$17.prototype; -dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); -const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; -(Interceptor_ImmutableListMixin$36$17.new = function() { - Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); -}).prototype = Interceptor_ImmutableListMixin$36$17.prototype; -dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); -web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.nullFailed(I[162], 224, 23, "index"); - if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); - return dart.nullCheck(this[S$.$item](index)); - } - [$_set](index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[162], 230, 25, "index"); - core.Map.as(value); - if (value == null) dart.nullFailed(I[162], 230, 36, "value"); - dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); - return value$; - } - set [$length](value) { - if (value == null) dart.nullFailed(I[162], 236, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; +core._WeakReferenceWrapper = core._WeakReferenceWrapper$(); +dart.addTypeTests(core._WeakReferenceWrapper, _is__WeakReferenceWrapper_default); +var _registry = dart.privateName(core, "_registry"); +const _is__FinalizationRegistryWrapper_default = Symbol('_is__FinalizationRegistryWrapper_default'); +core._FinalizationRegistryWrapper$ = dart.generic(T => { + class _FinalizationRegistryWrapper extends core.Object { + static ['_#new#tearOff'](T, callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + return new (core._FinalizationRegistryWrapper$(T)).new(callback); + } + attach(value, token, opts) { + if (value == null) dart.nullFailed(I[7], 222, 22, "value"); + T.as(token); + let detach = opts && 'detach' in opts ? opts.detach : null; + if (detach != null) { + this[_registry].register(value, token, detach); + } else { + this[_registry].register(value, token); + } } - dart.throw(new core.StateError.new("No elements")); - } - set [$first](value) { - super[$first] = value; - } - get [$last]() { - let len = this[$length]; - if (dart.notNull(len) > 0) { - return this[dart.notNull(len) - 1]; + detach(detachToken) { + if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); + this[_registry].unregister(detachToken); } - dart.throw(new core.StateError.new("No elements")); } - set [$last](value) { - super[$last] = value; - } - get [$single]() { - let len = this[$length]; - if (len === 1) { - return this[0]; - } - if (len === 0) dart.throw(new core.StateError.new("No elements")); - dart.throw(new core.StateError.new("More than one element")); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[162], 264, 21, "index"); - return this[$_get](index); - } - [S$.$item](index) { - if (index == null) dart.nullFailed(I[162], 267, 17, "index"); - return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); - } - [S$4._item_1](...args) { - return this.item.apply(this, args); - } -}; -web_sql.SqlResultSetRowList.prototype[dart.isList] = true; -dart.addTypeTests(web_sql.SqlResultSetRowList); -dart.addTypeCaches(web_sql.SqlResultSetRowList); -web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; -dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), - [$_get]: dart.fnType(core.Map, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), - [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int -})); -dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ - __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); -dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); -web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { - [S$4._executeSql](...args) { - return this.executeSql.apply(this, args); - } - [S$4.$executeSql](sqlStatement, $arguments = null) { - if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); - let completer = T$0.CompleterOfSqlResultSet().new(); - this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { - if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); - if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); - _js_helper.applyExtension("SQLResultSet", resultSet); - _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); - completer.complete(resultSet); - }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { - if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); - if (error == null) dart.nullFailed(I[162], 302, 22, "error"); - completer.completeError(error); - }, T$0.SqlTransactionAndSqlErrorTovoid())); - return completer.future; - } -}; -dart.addTypeTests(web_sql.SqlTransaction); -dart.addTypeCaches(web_sql.SqlTransaction); -dart.setMethodSignature(web_sql.SqlTransaction, () => ({ - __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), - [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), - [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) -})); -dart.setLibraryUri(web_sql.SqlTransaction, I[163]); -dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); + (_FinalizationRegistryWrapper.new = function(callback) { + if (callback == null) dart.nullFailed(I[7], 218, 49, "callback"); + this[_registry] = new FinalizationRegistry(_js_helper.wrapZoneUnaryCallback(T, callback)); + ; + }).prototype = _FinalizationRegistryWrapper.prototype; + dart.addTypeTests(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper.prototype[_is__FinalizationRegistryWrapper_default] = true; + dart.addTypeCaches(_FinalizationRegistryWrapper); + _FinalizationRegistryWrapper[dart.implements] = () => [core.Finalizer$(T)]; + dart.setMethodSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getMethods(_FinalizationRegistryWrapper.__proto__), + attach: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)], {detach: dart.nullable(core.Object)}, {}), + detach: dart.fnType(dart.void, [core.Object]) + })); + dart.setLibraryUri(_FinalizationRegistryWrapper, I[9]); + dart.setFieldSignature(_FinalizationRegistryWrapper, () => ({ + __proto__: dart.getFields(_FinalizationRegistryWrapper.__proto__), + [_registry]: dart.finalFieldType(core.Object) + })); + return _FinalizationRegistryWrapper; +}); +core._FinalizationRegistryWrapper = core._FinalizationRegistryWrapper$(); +dart.addTypeTests(core._FinalizationRegistryWrapper, _is__FinalizationRegistryWrapper_default); var _errorMsg$ = dart.privateName(core, "_errorMsg"); core._CompileTimeError = class _CompileTimeError extends core.Error { + static ['_#new#tearOff'](_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); + return new core._CompileTimeError.new(_errorMsg); + } toString() { return this[_errorMsg$]; } }; (core._CompileTimeError.new = function(_errorMsg) { - if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + if (_errorMsg == null) dart.nullFailed(I[7], 845, 26, "_errorMsg"); this[_errorMsg$] = _errorMsg; core._CompileTimeError.__proto__.new.call(this); ; }).prototype = core._CompileTimeError.prototype; dart.addTypeTests(core._CompileTimeError); dart.addTypeCaches(core._CompileTimeError); -dart.setLibraryUri(core._CompileTimeError, I[8]); +dart.setLibraryUri(core._CompileTimeError, I[9]); dart.setFieldSignature(core._CompileTimeError, () => ({ __proto__: dart.getFields(core._CompileTimeError.__proto__), [_errorMsg$]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._CompileTimeError, ['toString']); -var _name$6 = dart.privateName(core, "_name"); core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + static ['_#new#tearOff'](_name) { + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + return new core._DuplicatedFieldInitializerError.new(_name); + } toString() { - return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + return "Error: field '" + dart.str(this[_name$4]) + "' is already initialized."; } }; (core._DuplicatedFieldInitializerError.new = function(_name) { - if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); - this[_name$6] = _name; + if (_name == null) dart.nullFailed(I[7], 986, 41, "_name"); + this[_name$4] = _name; ; }).prototype = core._DuplicatedFieldInitializerError.prototype; dart.addTypeTests(core._DuplicatedFieldInitializerError); dart.addTypeCaches(core._DuplicatedFieldInitializerError); -dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); +dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[9]); dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$6]: dart.finalFieldType(core.String) + [_name$4]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); var _used$ = dart.privateName(core, "_used"); @@ -118117,7 +129231,7 @@ var _toRadixCodeUnit = dart.privateName(core, "_toRadixCodeUnit"); var _toHexString = dart.privateName(core, "_toHexString"); core._BigIntImpl = class _BigIntImpl extends core.Object { static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + if (source == null) dart.nullFailed(I[7], 1112, 35, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; let result = core._BigIntImpl._tryParse(source, {radix: radix}); if (result == null) { @@ -118126,8 +129240,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _parseDecimal(source, isNegative) { - if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); - if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1123, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1123, 56, "isNegative"); let part = 0; let result = core._BigIntImpl.zero; let digitInPartCount = 4 - source.length[$remainder](4); @@ -118144,17 +129258,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _codeUnitToRadixValue(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[7], 1153, 40, "codeUnit"); if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; let result = dart.notNull(codeUnit) - 97 + 10; return result; } static _parseHex(source, startPos, isNegative) { - let t247, t247$, t247$0, t247$1; - if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); - if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); - if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let t228, t228$, t228$0, t228$1; + if (source == null) dart.nullFailed(I[7], 1173, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1173, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1173, 67, "isNegative"); let hexDigitsPerChunk = (16 / 4)[$truncate](); let sourceLength = source.length - dart.notNull(startPos); let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); @@ -118164,27 +129278,27 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let i = startPos; let chunk = 0; for (let j = 0; j < lastDigitLength; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228 = i, i = dart.notNull(t228) + 1, t228))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + digits[$_set]((t228$ = digitIndex, digitIndex = t228$ - 1, t228$), chunk); while (dart.notNull(i) < source.length) { chunk = 0; for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t228$0 = i, i = dart.notNull(t228$0) + 1, t228$0))); if (dart.notNull(digitValue) >= 16) return null; chunk = chunk * 16 + dart.notNull(digitValue); } - digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + digits[$_set]((t228$1 = digitIndex, digitIndex = t228$1 - 1, t228$1), chunk); } if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; return new core._BigIntImpl.__(isNegative, digits[$length], digits); } static _parseRadix(source, radix, isNegative) { - if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); - if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); - if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + if (source == null) dart.nullFailed(I[7], 1207, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1207, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1207, 66, "isNegative"); let result = core._BigIntImpl.zero; let base = core._BigIntImpl._fromInt(radix); for (let i = 0; i < source.length; i = i + 1) { @@ -118196,8 +129310,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _tryParse(source, opts) { - let t247, t247$, t247$0; - if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let t228, t228$, t228$0; + if (source == null) dart.nullFailed(I[7], 1224, 40, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; if (source === "") return null; let match = core._BigIntImpl._parseRE.firstMatch(source); @@ -118226,25 +129340,37 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); } if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, isNegative); } - return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + return core._BigIntImpl._parseRadix((t228$0 = (t228$ = decimalMatch, t228$ == null ? nonDecimalMatch : t228$), t228$0 == null ? dart.nullCheck(hexMatch) : t228$0), radix, isNegative); } static _normalize(used, digits) { - if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); - if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + if (used == null) dart.nullFailed(I[7], 1271, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1271, 46, "digits"); while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) used = dart.notNull(used) - 1; return used; } + static ['_#_#tearOff'](isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); + return new core._BigIntImpl.__(isNegative, used, digits); + } + static ['_#_normalized#tearOff'](isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); + return new core._BigIntImpl._normalized(isNegative, _used, _digits); + } get [_isZero]() { return this[_used$] === 0; } static _cloneDigits(digits, from, to, length) { - if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); - if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); - if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); - if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + if (digits == null) dart.nullFailed(I[7], 1292, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1292, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1292, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1292, 48, "length"); let resultDigits = _native_typed_data.NativeUint16List.new(length); let n = dart.notNull(to) - dart.notNull(from); for (let i = 0; i < n; i = i + 1) { @@ -118253,7 +129379,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultDigits; } static from(value) { - if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); if (value === 0) return core._BigIntImpl.zero; if (value === 1) return core._BigIntImpl.one; if (value === 2) return core._BigIntImpl.two; @@ -118261,11 +129387,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); return core._BigIntImpl._fromInt(dart.asInt(value)); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1302, 32, "value"); + return core._BigIntImpl.from(value); + } static _fromInt(value) { - let t247; - if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let t228; + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); let isNegative = dart.notNull(value) < 0; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1316, 12, "_digitBits == 16"); if (isNegative) { if (value === -9223372036854776000.0) { let digits = _native_typed_data.NativeUint16List.new(4); @@ -118289,13 +129419,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); let i = 0; while (value !== 0) { - digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + digits[$_set]((t228 = i, i = t228 + 1, t228), (dart.notNull(value) & 65535) >>> 0); value = (dart.notNull(value) / 65536)[$truncate](); } return new core._BigIntImpl.__(isNegative, digits[$length], digits); } + static ['_#_fromInt#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1314, 36, "value"); + return core._BigIntImpl._fromInt(value); + } static _fromDouble(value) { - if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); if (value[$isNaN] || value[$isInfinite]) { dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); } @@ -118310,7 +129444,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); let exponent = biasedExponent - 1075; - if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + if (!(16 === 16)) dart.assertFailed(null, I[7], 1375, 12, "_digitBits == 16"); let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); @@ -118326,6 +129460,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (isNegative) return absResult._negate(); return absResult; } + static ['_#_fromDouble#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 1354, 42, "value"); + return core._BigIntImpl._fromDouble(value); + } _negate() { if (this[_used$] === 0) return this; return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); @@ -118334,7 +129472,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? this._negate() : this; } [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118348,10 +129486,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1434, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1434, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1434, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1434, 56, "resultDigits"); if (xUsed === 0) { return 0; } @@ -118368,7 +129506,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); let used = this[_used$]; if (used === 0) { return core._BigIntImpl.zero; @@ -118393,11 +129531,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _lsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1485, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1485, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1485, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1485, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1486, 12, "xUsed > 0"); let digitShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118411,7 +129549,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](digitShift, carry); } ['<<'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1512, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118427,10 +129565,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); } static _lShiftDigits(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 1531, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1531, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1531, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1531, 56, "resultDigits"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); if (bitShift === 0) { @@ -118448,11 +129586,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } static _rsh(xDigits, xUsed, n, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); - if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); - if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); - if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + if (xDigits == null) dart.nullFailed(I[7], 1551, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1551, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1551, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1551, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1552, 12, "xUsed > 0"); let digitsShift = (dart.notNull(n) / 16)[$truncate](); let bitShift = n[$modulo](16); let carryBitShift = 16 - bitShift; @@ -118467,7 +129605,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](last, carry); } ['>>'](shiftAmount) { - if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (shiftAmount == null) dart.nullFailed(I[7], 1576, 31, "shiftAmount"); if (dart.notNull(shiftAmount) < 0) { dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); } @@ -118499,12 +129637,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } [_absCompare](other) { - if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + if (other == null) dart.nullFailed(I[7], 1613, 31, "other"); return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); } compareTo(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (other == null) dart.nullFailed(I[7], 1623, 39, "other"); if (this[_isNegative] == other[_isNegative]) { let result = this[_absCompare](other); return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; @@ -118512,10 +129650,10 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? -1 : 1; } static _compareDigits(digits, used, otherDigits, otherUsed) { - if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); - if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + if (digits == null) dart.nullFailed(I[7], 1637, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1637, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1637, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1637, 64, "otherUsed"); let result = dart.notNull(used) - dart.notNull(otherUsed); if (result === 0) { for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { @@ -118526,12 +129664,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return result; } static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1650, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1650, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1650, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1651, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1651, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1652, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); @@ -118546,12 +129684,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { resultDigits[$_set](used, carry); } static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); - if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); - if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); - if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + if (digits == null) dart.nullFailed(I[7], 1669, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1669, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1669, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1670, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1670, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1671, 12, "used >= otherUsed && otherUsed > 0"); let carry = 0; for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); @@ -118565,15 +129703,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } } [_absAddSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1691, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1691, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; if (dart.notNull(used) < dart.notNull(otherUsed)) { return other[_absAddSetSign](this, isNegative); } if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1698, 14, "!isNegative"); return core._BigIntImpl.zero; } if (otherUsed === 0) { @@ -118585,12 +129723,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absSubSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); - if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + if (other == null) dart.nullFailed(I[7], 1713, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1713, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1714, 12, "_absCompare(other) >= 0"); let used = this[_used$]; if (used === 0) { - if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1717, 14, "!isNegative"); return core._BigIntImpl.zero; } let otherUsed = other[_used$]; @@ -118602,8 +129740,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, used, resultDigits); } [_absAndSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1730, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1730, 54, "isNegative"); let resultUsed = core._min(this[_used$], other[_used$]); let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118614,8 +129752,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absAndNotSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1742, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1742, 57, "isNegative"); let resultUsed = this[_used$]; let digits = this[_digits$]; let otherDigits = other[_digits$]; @@ -118630,8 +129768,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absOrSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1758, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1758, 53, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118657,8 +129795,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); } [_absXorSetSign](other, isNegative) { - if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); - if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + if (other == null) dart.nullFailed(I[7], 1785, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1785, 54, "isNegative"); let used = this[_used$]; let otherUsed = other[_used$]; let resultUsed = core._max(used, otherUsed); @@ -118685,7 +129823,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['&'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1821, 48, "other"); if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; if (this[_isNegative] == other[_isNegative]) { if (dart.test(this[_isNegative])) { @@ -118709,7 +129847,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['|'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1860, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118734,7 +129872,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['^'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1901, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; if (this[_isNegative] == other[_isNegative]) { @@ -118766,7 +129904,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['+'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1949, 48, "other"); if (dart.test(this[_isZero])) return other; if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118780,7 +129918,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['-'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (other == null) dart.nullFailed(I[7], 1967, 48, "other"); if (dart.test(this[_isZero])) return other._negate(); if (dart.test(other[_isZero])) return this; let isNegative = this[_isNegative]; @@ -118793,32 +129931,32 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return other[_absSubSetSign](this, !dart.test(isNegative)); } static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { - let t247, t247$, t247$0; - if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); - if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); - if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); - if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); - if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); - if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + let t228, t228$, t228$0; + if (x == null) dart.nullFailed(I[7], 1996, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1996, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1996, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1997, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1997, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1997, 48, "n"); if (x === 0) { return; } let c = 0; while ((n = dart.notNull(n) - 1) >= 0) { - let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t228 = i, i = dart.notNull(t228) + 1, t228))); let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + accumulatorDigits[$_set]((t228$ = j, j = dart.notNull(t228$) + 1, t228$), (combined & 65535) >>> 0); c = (combined / 65536)[$truncate](); } while (c !== 0) { let l = dart.notNull(accumulatorDigits[$_get](j)) + c; - accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + accumulatorDigits[$_set]((t228$0 = j, j = dart.notNull(t228$0) + 1, t228$0), (l & 65535) >>> 0); c = (l / 65536)[$truncate](); } } ['*'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2019, 48, "other"); let used = this[_used$]; let otherUsed = other[_used$]; if (used === 0 || otherUsed === 0) { @@ -118836,14 +129974,14 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); } static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); - if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); - if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 2040, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2040, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 2040, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 2041, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 2041, 33, "resultDigits"); let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); let i = resultUsed; - if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 2044, 12, "resultDigits.length >= i"); while ((i = i - 1) >= 0) { resultDigits[$_set](i, 0); } @@ -118855,17 +129993,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return resultUsed; } static _estimateQuotientDigit(topDigitDivisor, digits, i) { - if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); - if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); - if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (topDigitDivisor == null) dart.nullFailed(I[7], 2058, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 2058, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 2058, 51, "i"); if (digits[$_get](i) == topDigitDivisor) return 65535; let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); if (quotientDigit > 65535) return 65535; return quotientDigit; } [_div](other) { - if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2067, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2068, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return core._BigIntImpl.zero; } @@ -118879,8 +130017,8 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return quo; } [_rem](other) { - if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); - if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (other == null) dart.nullFailed(I[7], 2086, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2087, 12, "other._used > 0"); if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { return this; } @@ -118896,12 +130034,12 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return rem; } [_divRem](other) { - let t247, t247$; - if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + let t228, t228$; + if (other == null) dart.nullFailed(I[7], 2114, 28, "other"); if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { return; } - if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2122, 12, "_used >= other._used"); let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; let resultDigits = null; let resultUsed = null; @@ -118924,11 +130062,11 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { let tmpDigits = _native_typed_data.NativeUint16List.new(i); let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { - if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); - resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2155, 14, "i == resultUsed"); + resultDigits[$_set]((t228 = resultUsed, resultUsed = dart.notNull(t228) + 1, t228), 1); core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); } else { - resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + resultDigits[$_set]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); } let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); nyDigits[$_set](yUsed, 1); @@ -118958,15 +130096,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } get hashCode() { function combine(hash, value) { - if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); - if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + if (hash == null) dart.nullFailed(I[7], 2207, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2207, 31, "value"); hash = 536870911 & dart.notNull(hash) + dart.notNull(value); hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; } dart.fn(combine, T$0.intAndintToint()); function finish(hash) { - if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + if (hash == null) dart.nullFailed(I[7], 2213, 20, "hash"); hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); @@ -118990,49 +130128,49 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } ['~/'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_div](other); } remainder(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } return this[_rem](other); } ['/'](other) { - if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + if (other == null) dart.nullFailed(I[7], 2308, 28, "other"); return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); } ['<'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2311, 41, "other"); return dart.notNull(this.compareTo(other)) < 0; } ['<='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2314, 42, "other"); return dart.notNull(this.compareTo(other)) <= 0; } ['>'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2317, 41, "other"); return dart.notNull(this.compareTo(other)) > 0; } ['>='](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + if (other == null) dart.nullFailed(I[7], 2320, 42, "other"); return dart.notNull(this.compareTo(other)) >= 0; } ['%'](other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other == null) dart.nullFailed(I[7], 2333, 48, "other"); if (other[_used$] === 0) { - dart.throw(C[419] || CT.C419); + dart.throw(C[430] || CT.C430); } let result = this[_rem](other); if (dart.test(result[_isNegative])) { @@ -119058,7 +130196,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return this[_isNegative]; } pow(exponent) { - if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2368, 23, "exponent"); if (dart.notNull(exponent) < 0) { dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); } @@ -119078,9 +130216,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } modPow(exponent, modulus) { core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2397, 61, "modulus"); if (dart.test(exponent[_isNegative])) { dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); } @@ -119118,9 +130256,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return z.revert(resultDigits, resultUsed); } static _binaryGcd(x, y, inv) { - if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); - if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); - if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + if (x == null) dart.nullFailed(I[7], 2443, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2443, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2443, 68, "inv"); let xDigits = x[_digits$]; let yDigits = y[_digits$]; let xUsed = x[_used$]; @@ -119340,7 +130478,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } modInverse(modulus) { core._BigIntImpl.as(modulus); - if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (modulus == null) dart.nullFailed(I[7], 2701, 48, "modulus"); if (dart.test(modulus['<='](core._BigIntImpl.zero))) { dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); } @@ -119353,17 +130491,17 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } gcd(other) { core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (other == null) dart.nullFailed(I[7], 2726, 41, "other"); if (dart.test(this[_isZero])) return other.abs(); if (dart.test(other[_isZero])) return this.abs(); return core._BigIntImpl._binaryGcd(this, other, false); } toUnsigned(width) { - if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + if (width == null) dart.nullFailed(I[7], 2758, 30, "width"); return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); } toSigned(width) { - if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + if (width == null) dart.nullFailed(I[7], 2796, 28, "width"); let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); } @@ -119381,7 +130519,7 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return dart.test(this[_isNegative]) ? -result : result; } toDouble() { - let t248, t247, t248$, t247$; + let t229, t228, t229$, t228$; if (dart.test(this[_isZero])) return 0.0; let resultBits = _native_typed_data.NativeUint8List.new(8); let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; @@ -119391,14 +130529,14 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); let biasedExponent = length - 53 + 1075; resultBits[$_set](6, (biasedExponent & 15) << 4); - t247 = resultBits; - t248 = 7; - t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + t228 = resultBits; + t229 = 7; + t228[$_set](t229, (dart.notNull(t228[$_get](t229)) | biasedExponent[$rightShift](4)) >>> 0); let cachedBits = 0; let cachedBitsLength = 0; let digitIndex = dart.notNull(this[_used$]) - 1; const readBits = n => { - if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + if (n == null) dart.nullFailed(I[7], 2859, 22, "n"); while (cachedBitsLength < dart.notNull(n)) { let nextDigit = null; let nextDigitLength = 16; @@ -119420,9 +130558,9 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { }; dart.fn(readBits, T$0.intToint()); let leadingBits = dart.notNull(readBits(5)) & 15; - t247$ = resultBits; - t248$ = 6; - t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + t228$ = resultBits; + t229$ = 6; + t228$[$_set](t229$, (dart.notNull(t228$[$_get](t229$)) | leadingBits) >>> 0); for (let i = 5; i >= 0; i = i - 1) { resultBits[$_set](i, readBits(8)); } @@ -119475,13 +130613,13 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { return decimalDigitChunks[$reversed][$join](); } [_toRadixCodeUnit](digit) { - if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (digit == null) dart.nullFailed(I[7], 2959, 28, "digit"); if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); return 97 + dart.notNull(digit) - 10; } toRadixString(radix) { - if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); - if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (radix == null) dart.nullFailed(I[7], 2974, 28, "radix"); + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); if (this[_used$] === 0) return "0"; if (this[_used$] === 1) { let digitString = this[_digits$][$_get](0)[$toRadixString](radix); @@ -119522,15 +130660,15 @@ core._BigIntImpl = class _BigIntImpl extends core.Object { } }; (core._BigIntImpl.__ = function(isNegative, used, digits) { - if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); - if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); - if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + if (isNegative == null) dart.nullFailed(I[7], 1279, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1279, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1279, 55, "digits"); core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); }).prototype = core._BigIntImpl.prototype; (core._BigIntImpl._normalized = function(isNegative, _used, _digits) { - if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); - if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); - if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + if (isNegative == null) dart.nullFailed(I[7], 1282, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1282, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1282, 61, "_digits"); this[_used$] = _used; this[_digits$] = _digits; this[_isNegative] = _used === 0 ? false : isNegative; @@ -119586,6 +130724,7 @@ dart.setMethodSignature(core._BigIntImpl, () => ({ toRadixString: dart.fnType(core.String, [core.int]), [_toHexString]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(core._BigIntImpl, () => ['parse', '_parseDecimal', '_codeUnitToRadixValue', '_parseHex', '_parseRadix', '_tryParse', '_normalize', '_cloneDigits', 'from', '_fromInt', '_fromDouble', '_dlShiftDigits', '_lsh', '_lShiftDigits', '_rsh', '_compareDigits', '_absAdd', '_absSub', '_mulAdd', '_mulDigits', '_estimateQuotientDigit', '_binaryGcd']); dart.setGetterSignature(core._BigIntImpl, () => ({ __proto__: dart.getGetters(core._BigIntImpl.__proto__), [_isZero]: core.bool, @@ -119596,13 +130735,14 @@ dart.setGetterSignature(core._BigIntImpl, () => ({ isNegative: core.bool, isValidInt: core.bool })); -dart.setLibraryUri(core._BigIntImpl, I[8]); +dart.setLibraryUri(core._BigIntImpl, I[9]); dart.setFieldSignature(core._BigIntImpl, () => ({ __proto__: dart.getFields(core._BigIntImpl.__proto__), [_isNegative]: dart.finalFieldType(core.bool), [_digits$]: dart.finalFieldType(typed_data.Uint16List), [_used$]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(core._BigIntImpl, () => ['_digitBits', '_digitBase', '_digitMask', 'zero', 'one', 'two', '_minusOne', '_bigInt10000', '_lastDividendDigits', '_lastDividendUsed', '_lastDivisorDigits', '_lastDivisorUsed', '_lastQuoRemDigits', '_lastQuoRemUsed', '_lastRemUsed', '_lastRem_nsh', '_parseRE', '_bitsForFromDouble', '_simpleValidIntDigits']); dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); dart.defineLazy(core._BigIntImpl, { @@ -119633,39 +130773,41 @@ dart.defineLazy(core._BigIntImpl, { /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { return null; }, - set _lastDividendDigits(_) {}, + set _lastDividendDigits(value) {}, /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { return null; }, - set _lastDividendUsed(_) {}, + set _lastDividendUsed(value) {}, /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { return null; }, - set _lastDivisorDigits(_) {}, + set _lastDivisorDigits(value) {}, /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { return null; }, - set _lastDivisorUsed(_) {}, + set _lastDivisorUsed(value) {}, /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { return null; }, - set _lastQuoRemDigits(_) {}, + set _lastQuoRemDigits(value) {}, /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { return null; }, - set _lastQuoRemUsed(_) {}, + set _lastQuoRemUsed(value) {}, /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { return null; }, - set _lastRemUsed(_) {}, + set _lastRemUsed(value) {}, /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { return null; }, - set _lastRem_nsh(_) {}, + set _lastRem_nsh(value) {}, /*core._BigIntImpl._parseRE*/get _parseRE() { return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); }, - set _parseRE(_) {}, + set _parseRE(value) { + if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); + }, /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { return _native_typed_data.NativeUint8List.new(8); }, @@ -119679,23 +130821,27 @@ core._BigIntReduction = class _BigIntReduction extends core.Object {}; }).prototype = core._BigIntReduction.prototype; dart.addTypeTests(core._BigIntReduction); dart.addTypeCaches(core._BigIntReduction); -dart.setLibraryUri(core._BigIntReduction, I[8]); +dart.setLibraryUri(core._BigIntReduction, I[9]); var _modulus$ = dart.privateName(core, "_modulus"); var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); var _reduce = dart.privateName(core, "_reduce"); core._BigIntClassic = class _BigIntClassic extends core.Object { + static ['_#new#tearOff'](_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); + return new core._BigIntClassic.new(_modulus); + } convert(x, resultDigits) { - if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); - if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + if (x == null) dart.nullFailed(I[7], 3044, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 3044, 41, "resultDigits"); let digits = null; let used = null; if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { let remainder = x[_rem](this[_modulus$]); if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { - if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3050, 16, "remainder._isNegative"); remainder = remainder['+'](this[_modulus$]); } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); used = remainder[_used$]; digits = remainder[_digits$]; } else { @@ -119709,13 +130855,13 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return used; } revert(xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3067, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3067, 46, "xUsed"); return new core._BigIntImpl.__(false, xUsed, xDigits); } [_reduce](xDigits, xUsed) { - if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (xDigits == null) dart.nullFailed(I[7], 3071, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { return xUsed; } @@ -119724,9 +130870,9 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return this.convert(rem, xDigits); } sqr(xDigits, xUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3080, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3080, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3080, 53, "resultDigits"); let b = new core._BigIntImpl.__(false, xUsed, xDigits); let b2 = b['*'](b); for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { @@ -119738,17 +130884,17 @@ core._BigIntClassic = class _BigIntClassic extends core.Object { return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); } mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { - if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); - if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); - if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); - if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + if (xDigits == null) dart.nullFailed(I[7], 3092, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3092, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3092, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3092, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3093, 18, "resultDigits"); let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); return this[_reduce](resultDigits, resultUsed); } }; (core._BigIntClassic.new = function(_modulus) { - if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + if (_modulus == null) dart.nullFailed(I[7], 3039, 23, "_modulus"); this[_modulus$] = _modulus; this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); ; @@ -119764,7 +130910,7 @@ dart.setMethodSignature(core._BigIntClassic, () => ({ sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) })); -dart.setLibraryUri(core._BigIntClassic, I[8]); +dart.setLibraryUri(core._BigIntClassic, I[9]); dart.setFieldSignature(core._BigIntClassic, () => ({ __proto__: dart.getFields(core._BigIntClassic.__proto__), [_modulus$]: dart.finalFieldType(core._BigIntImpl), @@ -119778,6 +130924,10 @@ core.Deprecated = class Deprecated extends core.Object { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); + return new core.Deprecated.new(message); + } get expires() { return this.message; } @@ -119786,7 +130936,7 @@ core.Deprecated = class Deprecated extends core.Object { } }; (core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + if (message == null) dart.nullFailed(I[164], 77, 25, "message"); this[message$11] = message; ; }).prototype = core.Deprecated.prototype; @@ -119796,23 +130946,31 @@ dart.setGetterSignature(core.Deprecated, () => ({ __proto__: dart.getGetters(core.Deprecated.__proto__), expires: core.String })); -dart.setLibraryUri(core.Deprecated, I[8]); +dart.setLibraryUri(core.Deprecated, I[9]); dart.setFieldSignature(core.Deprecated, () => ({ __proto__: dart.getFields(core.Deprecated.__proto__), message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.Deprecated, ['toString']); -core._Override = class _Override extends core.Object {}; +core._Override = class _Override extends core.Object { + static ['_#new#tearOff']() { + return new core._Override.new(); + } +}; (core._Override.new = function() { ; }).prototype = core._Override.prototype; dart.addTypeTests(core._Override); dart.addTypeCaches(core._Override); -dart.setLibraryUri(core._Override, I[8]); +dart.setLibraryUri(core._Override, I[9]); core.Provisional = class Provisional extends core.Object { get message() { return null; } + static ['_#new#tearOff'](opts) { + let message = opts && 'message' in opts ? opts.message : null; + return new core.Provisional.new({message: message}); + } }; (core.Provisional.new = function(opts) { let message = opts && 'message' in opts ? opts.message : null; @@ -119824,7 +130982,7 @@ dart.setGetterSignature(core.Provisional, () => ({ __proto__: dart.getGetters(core.Provisional.__proto__), message: dart.nullable(core.String) })); -dart.setLibraryUri(core.Provisional, I[8]); +dart.setLibraryUri(core.Provisional, I[9]); var name$12 = dart.privateName(core, "pragma.name"); var options$ = dart.privateName(core, "pragma.options"); core.pragma = class pragma extends core.Object { @@ -119840,21 +130998,31 @@ core.pragma = class pragma extends core.Object { set options(value) { super.options = value; } + static ['_#new#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 186, 31, "name"); + return new core.pragma.__(name, options); + } + static ['_#_#tearOff'](name, options = null) { + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); + return new core.pragma.__(name, options); + } }; (core.pragma.__ = function(name, options = null) { - if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + if (name == null) dart.nullFailed(I[164], 188, 23, "name"); this[name$12] = name; this[options$] = options; ; }).prototype = core.pragma.prototype; dart.addTypeTests(core.pragma); dart.addTypeCaches(core.pragma); -dart.setLibraryUri(core.pragma, I[8]); +dart.setStaticMethodSignature(core.pragma, () => ['new']); +dart.setLibraryUri(core.pragma, I[9]); dart.setFieldSignature(core.pragma, () => ({ __proto__: dart.getFields(core.pragma.__proto__), name: dart.finalFieldType(core.String), options: dart.finalFieldType(dart.nullable(core.Object)) })); +dart.setStaticFieldSignature(core.pragma, () => ['_redirecting#']); core.BigInt = class BigInt extends core.Object { static get zero() { return core._BigIntImpl.zero; @@ -119866,22 +131034,29 @@ core.BigInt = class BigInt extends core.Object { return core._BigIntImpl.two; } static parse(source, opts) { - if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + if (source == null) dart.nullFailed(I[7], 327, 30, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl.parse(source, {radix: radix}); } static tryParse(source, opts) { - if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + if (source == null) dart.nullFailed(I[7], 331, 34, "source"); let radix = opts && 'radix' in opts ? opts.radix : null; return core._BigIntImpl._tryParse(source, {radix: radix}); } + static ['_#from#tearOff'](value) { + if (value == null) dart.nullFailed(I[7], 335, 27, "value"); + return core._BigIntImpl.from(value); + } }; (core.BigInt[dart.mixinNew] = function() { }).prototype = core.BigInt.prototype; dart.addTypeTests(core.BigInt); dart.addTypeCaches(core.BigInt); core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; -dart.setLibraryUri(core.BigInt, I[8]); +dart.setStaticMethodSignature(core.BigInt, () => ['parse', 'tryParse', 'from']); +dart.setStaticGetterSignature(core.BigInt, () => ['zero', 'one', 'two']); +dart.setLibraryUri(core.BigInt, I[9]); +dart.setStaticFieldSignature(core.BigInt, () => ['_redirecting#']); core.bool = class bool extends core.Object { static is(o) { return o === true || o === false; @@ -119891,28 +131066,38 @@ core.bool = class bool extends core.Object { return dart.as(o, core.bool); } static fromEnvironment(name, opts) { - if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; - if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); } + static ['_#fromEnvironment#tearOff'](name, opts) { + if (name == null) dart.nullFailed(I[7], 726, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 726, 51, "defaultValue"); + return core.bool.fromEnvironment(name, {defaultValue: defaultValue}); + } static hasEnvironment(name) { - if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); } + static ['_#hasEnvironment#tearOff'](name) { + if (name == null) dart.nullFailed(I[7], 733, 38, "name"); + return core.bool.hasEnvironment(name); + } get [$hashCode]() { return super[$hashCode]; } [$bitAnd](other) { - if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + if (other == null) dart.nullFailed(I[165], 103, 24, "other"); return dart.test(other) && this; } [$bitOr](other) { - if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + if (other == null) dart.nullFailed(I[165], 109, 24, "other"); return dart.test(other) || this; } [$bitXor](other) { - if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + if (other == null) dart.nullFailed(I[165], 115, 24, "other"); return !dart.test(other) === this; } [$toString]() { @@ -119928,13 +131113,14 @@ dart.setMethodSignature(core.bool, () => ({ [$bitOr]: dart.fnType(core.bool, [core.bool]), [$bitXor]: dart.fnType(core.bool, [core.bool]) })); -dart.setLibraryUri(core.bool, I[8]); +dart.setStaticMethodSignature(core.bool, () => ['is', 'as', 'fromEnvironment', 'hasEnvironment']); +dart.setLibraryUri(core.bool, I[9]); const _is_Comparable_default = Symbol('_is_Comparable_default'); core.Comparable$ = dart.generic(T => { class Comparable extends core.Object { static compare(a, b) { - if (a == null) dart.nullFailed(I[167], 88, 33, "a"); - if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + if (a == null) dart.nullFailed(I[166], 88, 33, "a"); + if (b == null) dart.nullFailed(I[166], 88, 47, "b"); return a[$compareTo](b); } } @@ -119944,7 +131130,8 @@ core.Comparable$ = dart.generic(T => { dart.addTypeTests(Comparable); Comparable.prototype[_is_Comparable_default] = true; dart.addTypeCaches(Comparable); - dart.setLibraryUri(Comparable, I[8]); + dart.setStaticMethodSignature(Comparable, () => ['compare']); + dart.setLibraryUri(Comparable, I[9]); return Comparable; }); core.Comparable = core.Comparable$(); @@ -119959,11 +131146,36 @@ core.DateTime = class DateTime extends core.Object { super.isUtc = value; } static _microsecondInRoundedMilliseconds(microsecond) { - if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + if (microsecond == null) dart.nullFailed(I[7], 412, 52, "microsecond"); return (dart.notNull(microsecond) / 1000)[$round](); } + static ['_#new#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); + return new core.DateTime.new(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#utc#tearOff'](year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); + return new core.DateTime.utc(year, month, day, hour, minute, second, millisecond, microsecond); + } + static ['_#now#tearOff']() { + return new core.DateTime.now(); + } static parse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 289, 32, "formattedString"); let re = core.DateTime._parseFormat; let match = re.firstMatch(formattedString); if (match != null) { @@ -119975,7 +131187,7 @@ core.DateTime = class DateTime extends core.Object { function parseMilliAndMicroseconds(matched) { if (matched == null) return 0; let length = matched.length; - if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + if (!(length >= 1)) dart.assertFailed(null, I[167], 304, 16, "length >= 1"); let result = 0; for (let i = 0; i < 6; i = i + 1) { result = result * 10; @@ -120017,7 +131229,7 @@ core.DateTime = class DateTime extends core.Object { } } static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); try { return core.DateTime.parse(formattedString); } catch (e) { @@ -120028,24 +131240,42 @@ core.DateTime = class DateTime extends core.Object { throw e; } } + static ['_#fromMillisecondsSinceEpoch#tearOff'](millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); + return new core.DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#fromMicrosecondsSinceEpoch#tearOff'](microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); + return new core.DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch, {isUtc: isUtc}); + } + static ['_#_withValue#tearOff'](_value, opts) { + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); + return new core.DateTime._withValue(_value, {isUtc: isUtc}); + } _equals(other) { if (other == null) return false; return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; } isBefore(other) { - if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + if (other == null) dart.nullFailed(I[7], 497, 26, "other"); return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); } isAfter(other) { - if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + if (other == null) dart.nullFailed(I[7], 500, 25, "other"); return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); } isAtSameMomentAs(other) { - if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + if (other == null) dart.nullFailed(I[7], 503, 34, "other"); return this[_value$4] == other.millisecondsSinceEpoch; } compareTo(other) { - if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + if (other == null) dart.nullFailed(I[7], 507, 26, "other"); return this[_value$4][$compareTo](other.millisecondsSinceEpoch); } get hashCode() { @@ -120062,7 +131292,7 @@ core.DateTime = class DateTime extends core.Object { return new core.DateTime._withValue(this[_value$4], {isUtc: true}); } static _fourDigits(n) { - if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + if (n == null) dart.nullFailed(I[167], 540, 33, "n"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : ""; if (absN >= 1000) return dart.str(n); @@ -120071,21 +131301,21 @@ core.DateTime = class DateTime extends core.Object { return sign + "000" + dart.str(absN); } static _sixDigits(n) { - if (n == null) dart.nullFailed(I[168], 501, 32, "n"); - if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + if (n == null) dart.nullFailed(I[167], 549, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[167], 550, 12, "n < -9999 || n > 9999"); let absN = n[$abs](); let sign = dart.notNull(n) < 0 ? "-" : "+"; if (absN >= 100000) return sign + dart.str(absN); return sign + "0" + dart.str(absN); } static _threeDigits(n) { - if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (n == null) dart.nullFailed(I[167], 557, 34, "n"); if (dart.notNull(n) >= 100) return dart.str(n); if (dart.notNull(n) >= 10) return "0" + dart.str(n); return "00" + dart.str(n); } static _twoDigits(n) { - if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (n == null) dart.nullFailed(I[167], 563, 32, "n"); if (dart.notNull(n) >= 10) return dart.str(n); return "0" + dart.str(n); } @@ -120120,27 +131350,42 @@ core.DateTime = class DateTime extends core.Object { } } add(duration) { - if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + if (duration == null) dart.nullFailed(I[7], 443, 25, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } subtract(duration) { - if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + if (duration == null) dart.nullFailed(I[7], 448, 30, "duration"); return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); } difference(other) { - if (other == null) dart.nullFailed(I[7], 382, 32, "other"); - return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + if (other == null) dart.nullFailed(I[7], 453, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other.millisecondsSinceEpoch)}); + } + static ['_#_internal#tearOff'](year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); + return new core.DateTime._internal(year, month, day, hour, minute, second, millisecond, microsecond, isUtc); + } + static ['_#_now#tearOff']() { + return new core.DateTime._now(); } static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 346, 42, "year"); - if (month == null) dart.nullFailed(I[7], 346, 52, "month"); - if (day == null) dart.nullFailed(I[7], 346, 63, "day"); - if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); - if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); - if (second == null) dart.nullFailed(I[7], 347, 23, "second"); - if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + if (year == null) dart.nullFailed(I[7], 417, 42, "year"); + if (month == null) dart.nullFailed(I[7], 417, 52, "month"); + if (day == null) dart.nullFailed(I[7], 417, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 417, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 418, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 418, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 418, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 418, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 418, 70, "isUtc"); return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); } get millisecondsSinceEpoch() { @@ -120186,46 +131431,46 @@ core.DateTime = class DateTime extends core.Object { } }; (core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 172, 16, "year"); - if (month == null) dart.nullFailed(I[168], 173, 12, "month"); - if (day == null) dart.nullFailed(I[168], 174, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 177, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 189, 16, "year"); + if (month == null) dart.nullFailed(I[167], 190, 12, "month"); + if (day == null) dart.nullFailed(I[167], 191, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 192, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 193, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 194, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 195, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 196, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); }).prototype = core.DateTime.prototype; (core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { - if (year == null) dart.nullFailed(I[168], 192, 20, "year"); - if (month == null) dart.nullFailed(I[168], 193, 12, "month"); - if (day == null) dart.nullFailed(I[168], 194, 11, "day"); - if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); - if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); - if (second == null) dart.nullFailed(I[168], 197, 11, "second"); - if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); - if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + if (year == null) dart.nullFailed(I[167], 209, 20, "year"); + if (month == null) dart.nullFailed(I[167], 210, 12, "month"); + if (day == null) dart.nullFailed(I[167], 211, 11, "day"); + if (hour == null) dart.nullFailed(I[167], 212, 11, "hour"); + if (minute == null) dart.nullFailed(I[167], 213, 11, "minute"); + if (second == null) dart.nullFailed(I[167], 214, 11, "second"); + if (millisecond == null) dart.nullFailed(I[167], 215, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[167], 216, 11, "microsecond"); core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); }).prototype = core.DateTime.prototype; (core.DateTime.now = function() { core.DateTime._now.call(this); }).prototype = core.DateTime.prototype; (core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { - if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 379, 43, "millisecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 380, 13, "isUtc"); core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { - if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 384, 43, "microsecondsSinceEpoch"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + if (isUtc == null) dart.nullFailed(I[7], 385, 13, "isUtc"); core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); }).prototype = core.DateTime.prototype; (core.DateTime._withValue = function(_value, opts) { - if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + if (_value == null) dart.nullFailed(I[167], 401, 28, "_value"); let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + if (isUtc == null) dart.nullFailed(I[167], 401, 51, "isUtc"); this[_value$4] = _value; this[isUtc$] = isUtc; if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { @@ -120234,15 +131479,15 @@ core.DateTime = class DateTime extends core.Object { _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); }).prototype = core.DateTime.prototype; (core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { - if (year == null) dart.nullFailed(I[7], 320, 26, "year"); - if (month == null) dart.nullFailed(I[7], 320, 36, "month"); - if (day == null) dart.nullFailed(I[7], 320, 47, "day"); - if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); - if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); - if (second == null) dart.nullFailed(I[7], 321, 11, "second"); - if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); - if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); - if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + if (year == null) dart.nullFailed(I[7], 391, 26, "year"); + if (month == null) dart.nullFailed(I[7], 391, 36, "month"); + if (day == null) dart.nullFailed(I[7], 391, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 391, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 391, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 392, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 392, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 392, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 392, 58, "isUtc"); this[isUtc$] = isUtc; this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); ; @@ -120269,6 +131514,7 @@ dart.setMethodSignature(core.DateTime, () => ({ subtract: dart.fnType(core.DateTime, [core.Duration]), difference: dart.fnType(core.Duration, [core.DateTime]) })); +dart.setStaticMethodSignature(core.DateTime, () => ['_microsecondInRoundedMilliseconds', 'parse', 'tryParse', '_fourDigits', '_sixDigits', '_threeDigits', '_twoDigits', '_brokenDownDateToValue']); dart.setGetterSignature(core.DateTime, () => ({ __proto__: dart.getGetters(core.DateTime.__proto__), millisecondsSinceEpoch: core.int, @@ -120285,12 +131531,13 @@ dart.setGetterSignature(core.DateTime, () => ({ microsecond: core.int, weekday: core.int })); -dart.setLibraryUri(core.DateTime, I[8]); +dart.setLibraryUri(core.DateTime, I[9]); dart.setFieldSignature(core.DateTime, () => ({ __proto__: dart.getFields(core.DateTime.__proto__), [_value$4]: dart.finalFieldType(core.int), isUtc: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(core.DateTime, () => ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday', 'daysPerWeek', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december', 'monthsPerYear', '_maxMillisecondsSinceEpoch', '_parseFormat']); dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.DateTime, ['hashCode']); dart.defineLazy(core.DateTime, { @@ -120373,37 +131620,56 @@ core.Duration = class Duration extends core.Object { set [_duration](value) { super[_duration] = value; } + static ['_#new#tearOff'](opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + return new core.Duration.new({days: days, hours: hours, minutes: minutes, seconds: seconds, milliseconds: milliseconds, microseconds: microseconds}); + } + static ['_#_microseconds#tearOff'](_duration) { + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); + return new core.Duration._microseconds(_duration); + } ['+'](other) { - if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + if (other == null) dart.nullFailed(I[168], 193, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); } ['-'](other) { - if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + if (other == null) dart.nullFailed(I[168], 199, 32, "other"); return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); } ['*'](factor) { - if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + if (factor == null) dart.nullFailed(I[168], 208, 27, "factor"); return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); } ['~/'](quotient) { - if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient == null) dart.nullFailed(I[168], 216, 28, "quotient"); if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); } ['<'](other) { - if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + if (other == null) dart.nullFailed(I[168], 224, 28, "other"); return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); } ['>'](other) { - if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + if (other == null) dart.nullFailed(I[168], 227, 28, "other"); return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); } ['<='](other) { - if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + if (other == null) dart.nullFailed(I[168], 230, 29, "other"); return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); } ['>='](other) { - if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + if (other == null) dart.nullFailed(I[168], 233, 29, "other"); return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); } get inDays() { @@ -120433,33 +131699,23 @@ core.Duration = class Duration extends core.Object { } compareTo(other) { core.Duration.as(other); - if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + if (other == null) dart.nullFailed(I[168], 319, 26, "other"); return this[_duration][$compareTo](other[_duration]); } toString() { - function sixDigits(n) { - if (n == null) dart.nullFailed(I[169], 260, 26, "n"); - if (dart.notNull(n) >= 100000) return dart.str(n); - if (dart.notNull(n) >= 10000) return "0" + dart.str(n); - if (dart.notNull(n) >= 1000) return "00" + dart.str(n); - if (dart.notNull(n) >= 100) return "000" + dart.str(n); - if (dart.notNull(n) >= 10) return "0000" + dart.str(n); - return "00000" + dart.str(n); - } - dart.fn(sixDigits, T$0.intToString()); - function twoDigits(n) { - if (n == null) dart.nullFailed(I[169], 269, 26, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - dart.fn(twoDigits, T$0.intToString()); - if (dart.notNull(this.inMicroseconds) < 0) { - return "-" + dart.str(this._negate()); - } - let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); - let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); - let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); - return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + let microseconds = this.inMicroseconds; + let sign = dart.notNull(microseconds) < 0 ? "-" : ""; + let hours = (dart.notNull(microseconds) / 3600000000.0)[$truncate](); + microseconds = microseconds[$remainder](3600000000.0); + if (dart.notNull(microseconds) < 0) microseconds = -dart.notNull(microseconds); + let minutes = (dart.notNull(microseconds) / 60000000)[$truncate](); + microseconds = microseconds[$remainder](60000000); + let minutesPadding = minutes < 10 ? "0" : ""; + let seconds = (dart.notNull(microseconds) / 1000000)[$truncate](); + microseconds = microseconds[$remainder](1000000); + let secondsPadding = seconds < 10 ? "0" : ""; + let paddedMicroseconds = dart.toString(microseconds)[$padLeft](6, "0"); + return sign + dart.str(hours[$abs]()) + ":" + minutesPadding + dart.str(minutes) + ":" + secondsPadding + dart.str(seconds) + "." + paddedMicroseconds; } get isNegative() { return dart.notNull(this[_duration]) < 0; @@ -120473,21 +131729,21 @@ core.Duration = class Duration extends core.Object { }; (core.Duration.new = function(opts) { let days = opts && 'days' in opts ? opts.days : 0; - if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + if (days == null) dart.nullFailed(I[168], 174, 12, "days"); let hours = opts && 'hours' in opts ? opts.hours : 0; - if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + if (hours == null) dart.nullFailed(I[168], 175, 11, "hours"); let minutes = opts && 'minutes' in opts ? opts.minutes : 0; - if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + if (minutes == null) dart.nullFailed(I[168], 176, 11, "minutes"); let seconds = opts && 'seconds' in opts ? opts.seconds : 0; - if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + if (seconds == null) dart.nullFailed(I[168], 177, 11, "seconds"); let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; - if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + if (milliseconds == null) dart.nullFailed(I[168], 178, 11, "milliseconds"); let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; - if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); - core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); + if (microseconds == null) dart.nullFailed(I[168], 179, 11, "microseconds"); + core.Duration._microseconds.call(this, dart.notNull(microseconds) + 1000 * dart.notNull(milliseconds) + 1000000 * dart.notNull(seconds) + 60000000 * dart.notNull(minutes) + 3600000000.0 * dart.notNull(hours) + 86400000000.0 * dart.notNull(days)); }).prototype = core.Duration.prototype; (core.Duration._microseconds = function(_duration) { - if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + if (_duration == null) dart.nullFailed(I[168], 189, 37, "_duration"); this[_duration$] = _duration; ; }).prototype = core.Duration.prototype; @@ -120519,11 +131775,12 @@ dart.setGetterSignature(core.Duration, () => ({ inMicroseconds: core.int, isNegative: core.bool })); -dart.setLibraryUri(core.Duration, I[8]); +dart.setLibraryUri(core.Duration, I[9]); dart.setFieldSignature(core.Duration, () => ({ __proto__: dart.getFields(core.Duration.__proto__), [_duration]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(core.Duration, () => ['microsecondsPerMillisecond', 'millisecondsPerSecond', 'secondsPerMinute', 'minutesPerHour', 'hoursPerDay', 'microsecondsPerSecond', 'microsecondsPerMinute', 'microsecondsPerHour', 'microsecondsPerDay', 'millisecondsPerMinute', 'millisecondsPerHour', 'millisecondsPerDay', 'secondsPerHour', 'secondsPerDay', 'minutesPerDay', 'zero']); dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); dart.defineExtensionAccessors(core.Duration, ['hashCode']); dart.defineLazy(core.Duration, { @@ -120573,26 +131830,56 @@ dart.defineLazy(core.Duration, { return 1440; }, /*core.Duration.zero*/get zero() { - return C[420] || CT.C420; + return C[431] || CT.C431; } }, false); -core.TypeError = class TypeError extends core.Error {}; +core.Enum = class Enum extends core.Object { + static compareByIndex(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 72, 47, "value1"); + if (value2 == null) dart.nullFailed(I[122], 72, 57, "value2"); + return dart.notNull(value1.index) - dart.notNull(value2.index); + } + static compareByName(T, value1, value2) { + if (value1 == null) dart.nullFailed(I[122], 95, 46, "value1"); + if (value2 == null) dart.nullFailed(I[122], 95, 56, "value2"); + return core['EnumName|get#name'](value1)[$compareTo](core['EnumName|get#name'](value2)); + } +}; +(core.Enum.new = function() { + ; +}).prototype = core.Enum.prototype; +dart.addTypeTests(core.Enum); +dart.addTypeCaches(core.Enum); +dart.setStaticMethodSignature(core.Enum, () => ['compareByIndex', 'compareByName']); +dart.setLibraryUri(core.Enum, I[9]); +core.TypeError = class TypeError extends core.Error { + static ['_#new#tearOff']() { + return new core.TypeError.new(); + } +}; (core.TypeError.new = function() { core.TypeError.__proto__.new.call(this); ; }).prototype = core.TypeError.prototype; dart.addTypeTests(core.TypeError); dart.addTypeCaches(core.TypeError); -dart.setLibraryUri(core.TypeError, I[8]); -core.CastError = class CastError extends core.Error {}; +dart.setLibraryUri(core.TypeError, I[9]); +core.CastError = class CastError extends core.Error { + static ['_#new#tearOff']() { + return new core.CastError.new(); + } +}; (core.CastError.new = function() { core.CastError.__proto__.new.call(this); ; }).prototype = core.CastError.prototype; dart.addTypeTests(core.CastError); dart.addTypeCaches(core.CastError); -dart.setLibraryUri(core.CastError, I[8]); +dart.setLibraryUri(core.CastError, I[9]); core.NullThrownError = class NullThrownError extends core.Error { + static ['_#new#tearOff']() { + return new core.NullThrownError.new(); + } toString() { return "Throw of null."; } @@ -120603,7 +131890,8 @@ core.NullThrownError = class NullThrownError extends core.Error { }).prototype = core.NullThrownError.prototype; dart.addTypeTests(core.NullThrownError); dart.addTypeCaches(core.NullThrownError); -dart.setLibraryUri(core.NullThrownError, I[8]); +core.NullThrownError[dart.implements] = () => [core.TypeError]; +dart.setLibraryUri(core.NullThrownError, I[9]); dart.defineExtensionMethods(core.NullThrownError, ['toString']); var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); var name$13 = dart.privateName(core, "ArgumentError.name"); @@ -120627,9 +131915,19 @@ core.ArgumentError = class ArgumentError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null, name = null) { + return new core.ArgumentError.new(message, name); + } + static ['_#value#tearOff'](value, name = null, message = null) { + return new core.ArgumentError.value(value, name, message); + } + static ['_#notNull#tearOff'](name = null) { + return new core.ArgumentError.notNull(name); + } static checkNotNull(T, argument, name = null) { - if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); - return argument; + let t230; + t230 = argument; + return t230 == null ? dart.throw(new core.ArgumentError.notNull(name)) : t230; } get [_errorName$]() { return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); @@ -120649,11 +131947,11 @@ core.ArgumentError = class ArgumentError extends core.Error { return prefix + dart.str(explanation) + ": " + dart.str(errorValue); } }; -(core.ArgumentError.new = function(message = null) { +(core.ArgumentError.new = function(message = null, name = null) { this[message$12] = message; + this[name$13] = name; this[invalidValue] = null; this[_hasValue$] = false; - this[name$13] = null; core.ArgumentError.__proto__.new.call(this); ; }).prototype = core.ArgumentError.prototype; @@ -120675,12 +131973,13 @@ core.ArgumentError = class ArgumentError extends core.Error { }).prototype = core.ArgumentError.prototype; dart.addTypeTests(core.ArgumentError); dart.addTypeCaches(core.ArgumentError); +dart.setStaticMethodSignature(core.ArgumentError, () => ['checkNotNull']); dart.setGetterSignature(core.ArgumentError, () => ({ __proto__: dart.getGetters(core.ArgumentError.__proto__), [_errorName$]: core.String, [_errorExplanation$]: core.String })); -dart.setLibraryUri(core.ArgumentError, I[8]); +dart.setLibraryUri(core.ArgumentError, I[9]); dart.setFieldSignature(core.ArgumentError, () => ({ __proto__: dart.getFields(core.ArgumentError.__proto__), [_hasValue$]: dart.finalFieldType(core.bool), @@ -120705,27 +132004,41 @@ core.RangeError = class RangeError extends core.ArgumentError { set end(value) { super.end = value; } + get invalidValue() { + return T$0.numN().as(super[$invalidValue]); + } + static ['_#new#tearOff'](message) { + return new core.RangeError.new(message); + } + static ['_#value#tearOff'](value, name = null, message = null) { + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); + return new core.RangeError.value(value, name, message); + } + static ['_#range#tearOff'](invalidValue, minValue, maxValue, name = null, message = null) { + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); + return new core.RangeError.range(invalidValue, minValue, maxValue, name, message); + } + static ['_#index#tearOff'](index, indexable, name = null, message = null, length = null) { + if (index == null) dart.nullFailed(I[28], 312, 32, "index"); + return new core.IndexError.new(index, indexable, name, message, length); + } static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { - if (value == null) dart.nullFailed(I[170], 274, 39, "value"); - if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); - if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (value == null) dart.nullFailed(I[28], 324, 39, "value"); + if (minValue == null) dart.nullFailed(I[28], 324, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[28], 324, 64, "maxValue"); if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); } return value; } static checkValidIndex(index, indexable, name = null, length = null, message = null) { - if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + if (index == null) dart.nullFailed(I[28], 347, 34, "index"); length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { - name == null ? name = "index" : null; - dart.throw(new core.IndexError.new(index, indexable, name, message, length)); - } - return index; + return core.IndexError.check(index, length, {indexable: indexable, name: name, message: message}); } static checkValidRange(start, end, length, startName = null, endName = null, message = null) { - if (start == null) dart.nullFailed(I[170], 322, 34, "start"); - if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (start == null) dart.nullFailed(I[28], 368, 34, "start"); + if (length == null) dart.nullFailed(I[28], 368, 55, "length"); if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { startName == null ? startName = "start" : null; dart.throw(new core.RangeError.range(start, 0, length, startName, message)); @@ -120740,10 +132053,10 @@ core.RangeError = class RangeError extends core.ArgumentError { return length; } static checkNotNegative(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 395, 35, "value"); if (dart.notNull(value) < 0) { - dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + dart.throw(new core.RangeError.range(value, 0, null, (t230 = name, t230 == null ? "index" : t230), message)); } return value; } @@ -120751,7 +132064,7 @@ core.RangeError = class RangeError extends core.ArgumentError { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); let explanation = ""; let start = this.start; let end = this.end; @@ -120778,29 +132091,37 @@ core.RangeError = class RangeError extends core.ArgumentError { ; }).prototype = core.RangeError.prototype; (core.RangeError.value = function(value, name = null, message = null) { - let t249; - if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + let t230; + if (value == null) dart.nullFailed(I[28], 279, 24, "value"); this[start] = null; this[end] = null; - core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + core.RangeError.__proto__.value.call(this, value, name, (t230 = message, t230 == null ? "Value not in range" : t230)); ; }).prototype = core.RangeError.prototype; (core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { - let t249; - if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 297, 24, "invalidValue"); this[start] = minValue; this[end] = maxValue; - core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + core.RangeError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Invalid value" : t230)); ; }).prototype = core.RangeError.prototype; dart.addTypeTests(core.RangeError); dart.addTypeCaches(core.RangeError); -dart.setLibraryUri(core.RangeError, I[8]); +dart.setStaticMethodSignature(core.RangeError, () => ['index', 'checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'checkNotNegative']); +dart.setGetterSignature(core.RangeError, () => ({ + __proto__: dart.getGetters(core.RangeError.__proto__), + invalidValue: dart.nullable(core.num), + [$invalidValue]: dart.nullable(core.num) +})); +dart.setLibraryUri(core.RangeError, I[9]); dart.setFieldSignature(core.RangeError, () => ({ __proto__: dart.getFields(core.RangeError.__proto__), start: dart.finalFieldType(dart.nullable(core.num)), end: dart.finalFieldType(dart.nullable(core.num)) })); +dart.setStaticFieldSignature(core.RangeError, () => ['_redirecting#']); +dart.defineExtensionAccessors(core.RangeError, ['invalidValue']); var indexable$ = dart.privateName(core, "IndexError.indexable"); var length$ = dart.privateName(core, "IndexError.length"); core.IndexError = class IndexError extends core.ArgumentError { @@ -120816,6 +132137,33 @@ core.IndexError = class IndexError extends core.ArgumentError { set length(value) { super.length = value; } + get invalidValue() { + return core.int.as(super[$invalidValue]); + } + static ['_#new#tearOff'](invalidValue, indexable, name = null, message = null, length = null) { + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + return new core.IndexError.new(invalidValue, indexable, name, message, length); + } + static ['_#withLength#tearOff'](invalidValue, length, opts) { + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + return new core.IndexError.withLength(invalidValue, length, {indexable: indexable, name: name, message: message}); + } + static check(index, length, opts) { + if (index == null) dart.nullFailed(I[28], 489, 24, "index"); + if (length == null) dart.nullFailed(I[28], 489, 35, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.withLength(index, length, {indexable: indexable, name: name, message: message})); + } + return index; + } get start() { return 0; } @@ -120826,8 +132174,8 @@ core.IndexError = class IndexError extends core.ArgumentError { return "RangeError"; } get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); - let invalidValue = core.int.as(this[$invalidValue]); + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 506, 12, "_hasValue"); + let invalidValue = this.invalidValue; if (dart.notNull(invalidValue) < 0) { return ": index must not be negative"; } @@ -120838,48 +132186,80 @@ core.IndexError = class IndexError extends core.ArgumentError { } }; (core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - let t249, t249$; - if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + let t230, t230$; + if (invalidValue == null) dart.nullFailed(I[28], 452, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t230 = length, t230 == null ? dart.dload(indexable, 'length') : t230)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230$ = message, t230$ == null ? "Index out of range" : t230$)); + ; +}).prototype = core.IndexError.prototype; +(core.IndexError.withLength = function(invalidValue, length, opts) { + let t230; + if (invalidValue == null) dart.nullFailed(I[28], 466, 29, "invalidValue"); + if (length == null) dart.nullFailed(I[28], 466, 48, "length"); + let indexable = opts && 'indexable' in opts ? opts.indexable : null; + let name = opts && 'name' in opts ? opts.name : null; + let message = opts && 'message' in opts ? opts.message : null; + this[length$] = length; this[indexable$] = indexable; - this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); - core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t230 = message, t230 == null ? "Index out of range" : t230)); ; }).prototype = core.IndexError.prototype; dart.addTypeTests(core.IndexError); dart.addTypeCaches(core.IndexError); core.IndexError[dart.implements] = () => [core.RangeError]; +dart.setStaticMethodSignature(core.IndexError, () => ['check']); dart.setGetterSignature(core.IndexError, () => ({ __proto__: dart.getGetters(core.IndexError.__proto__), + invalidValue: core.int, + [$invalidValue]: core.int, start: core.int, end: core.int })); -dart.setLibraryUri(core.IndexError, I[8]); +dart.setLibraryUri(core.IndexError, I[9]); dart.setFieldSignature(core.IndexError, () => ({ __proto__: dart.getFields(core.IndexError.__proto__), - indexable: dart.finalFieldType(dart.dynamic), + indexable: dart.finalFieldType(dart.nullable(core.Object)), length: dart.finalFieldType(core.int) })); +dart.defineExtensionAccessors(core.IndexError, ['invalidValue']); var _className = dart.privateName(core, "_className"); core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + static ['_#new#tearOff'](className) { + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); + return new core.AbstractClassInstantiationError.new(className); + } toString() { return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; } }; (core.AbstractClassInstantiationError.new = function(className) { - if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + if (className == null) dart.nullFailed(I[28], 541, 42, "className"); this[_className] = className; core.AbstractClassInstantiationError.__proto__.new.call(this); ; }).prototype = core.AbstractClassInstantiationError.prototype; dart.addTypeTests(core.AbstractClassInstantiationError); dart.addTypeCaches(core.AbstractClassInstantiationError); -dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); +dart.setLibraryUri(core.AbstractClassInstantiationError, I[9]); dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), [_className]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + static ['_#_withInvocation#tearOff'](_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); + return new core.NoSuchMethodError._withInvocation(_receiver, invocation); + } + static ['_#withInvocation#tearOff'](receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 868, 40, "invocation"); + return new core.NoSuchMethodError._withInvocation(receiver, invocation); + } + static ['_#new#tearOff'](receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); + return new core.NoSuchMethodError.new(receiver, memberName, positionalArguments, namedArguments); + } toString() { let sb = new core.StringBuffer.new(""); let comma = ""; @@ -120894,7 +132274,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { let namedArguments = this[_namedArguments$]; if (namedArguments != null) { namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + if (key == null) dart.nullFailed(I[7], 891, 38, "key"); sb.write(comma); sb.write(core._symbolToString(key)); sb.write(": "); @@ -120911,7 +132291,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { } }; (core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); this[_receiver$] = _receiver; this[_memberName$] = invocation.memberName; this[_arguments$] = invocation.positionalArguments; @@ -120921,7 +132301,7 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { ; }).prototype = core.NoSuchMethodError.prototype; (core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); this[_receiver$] = receiver; this[_memberName$] = memberName; this[_arguments$] = positionalArguments; @@ -120932,7 +132312,8 @@ core.NoSuchMethodError = class NoSuchMethodError extends core.Error { }).prototype = core.NoSuchMethodError.prototype; dart.addTypeTests(core.NoSuchMethodError); dart.addTypeCaches(core.NoSuchMethodError); -dart.setLibraryUri(core.NoSuchMethodError, I[8]); +dart.setStaticMethodSignature(core.NoSuchMethodError, () => ['withInvocation']); +dart.setLibraryUri(core.NoSuchMethodError, I[9]); dart.setFieldSignature(core.NoSuchMethodError, () => ({ __proto__: dart.getFields(core.NoSuchMethodError.__proto__), [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), @@ -120941,6 +132322,7 @@ dart.setFieldSignature(core.NoSuchMethodError, () => ({ [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) })); +dart.setStaticFieldSignature(core.NoSuchMethodError, () => ['_redirecting#']); dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); var message$13 = dart.privateName(core, "UnsupportedError.message"); core.UnsupportedError = class UnsupportedError extends core.Error { @@ -120950,19 +132332,23 @@ core.UnsupportedError = class UnsupportedError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); + return new core.UnsupportedError.new(message); + } toString() { return "Unsupported operation: " + dart.str(this.message); } }; (core.UnsupportedError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + if (message == null) dart.nullFailed(I[28], 604, 32, "message"); this[message$13] = message; core.UnsupportedError.__proto__.new.call(this); ; }).prototype = core.UnsupportedError.prototype; dart.addTypeTests(core.UnsupportedError); dart.addTypeCaches(core.UnsupportedError); -dart.setLibraryUri(core.UnsupportedError, I[8]); +dart.setLibraryUri(core.UnsupportedError, I[9]); dart.setFieldSignature(core.UnsupportedError, () => ({ __proto__: dart.getFields(core.UnsupportedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -120976,6 +132362,9 @@ core.UnimplementedError = class UnimplementedError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = null) { + return new core.UnimplementedError.new(message); + } toString() { let message = this.message; return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; @@ -120989,7 +132378,7 @@ core.UnimplementedError = class UnimplementedError extends core.Error { dart.addTypeTests(core.UnimplementedError); dart.addTypeCaches(core.UnimplementedError); core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; -dart.setLibraryUri(core.UnimplementedError, I[8]); +dart.setLibraryUri(core.UnimplementedError, I[9]); dart.setFieldSignature(core.UnimplementedError, () => ({ __proto__: dart.getFields(core.UnimplementedError.__proto__), message: dart.finalFieldType(dart.nullable(core.String)) @@ -121003,19 +132392,23 @@ core.StateError = class StateError extends core.Error { set message(value) { super.message = value; } + static ['_#new#tearOff'](message) { + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); + return new core.StateError.new(message); + } toString() { return "Bad state: " + dart.str(this.message); } }; (core.StateError.new = function(message) { - if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + if (message == null) dart.nullFailed(I[28], 642, 19, "message"); this[message$15] = message; core.StateError.__proto__.new.call(this); ; }).prototype = core.StateError.prototype; dart.addTypeTests(core.StateError); dart.addTypeCaches(core.StateError); -dart.setLibraryUri(core.StateError, I[8]); +dart.setLibraryUri(core.StateError, I[9]); dart.setFieldSignature(core.StateError, () => ({ __proto__: dart.getFields(core.StateError.__proto__), message: dart.finalFieldType(core.String) @@ -121029,6 +132422,9 @@ core.ConcurrentModificationError = class ConcurrentModificationError extends cor set modifiedObject(value) { super.modifiedObject = value; } + static ['_#new#tearOff'](modifiedObject = null) { + return new core.ConcurrentModificationError.new(modifiedObject); + } toString() { if (this.modifiedObject == null) { return "Concurrent modification during iteration."; @@ -121043,13 +132439,16 @@ core.ConcurrentModificationError = class ConcurrentModificationError extends cor }).prototype = core.ConcurrentModificationError.prototype; dart.addTypeTests(core.ConcurrentModificationError); dart.addTypeCaches(core.ConcurrentModificationError); -dart.setLibraryUri(core.ConcurrentModificationError, I[8]); +dart.setLibraryUri(core.ConcurrentModificationError, I[9]); dart.setFieldSignature(core.ConcurrentModificationError, () => ({ __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) })); dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + static ['_#new#tearOff']() { + return new core.OutOfMemoryError.new(); + } toString() { return "Out of Memory"; } @@ -121068,10 +132467,13 @@ dart.setGetterSignature(core.OutOfMemoryError, () => ({ stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.OutOfMemoryError, I[8]); +dart.setLibraryUri(core.OutOfMemoryError, I[9]); dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); core.StackOverflowError = class StackOverflowError extends core.Object { + static ['_#new#tearOff']() { + return new core.StackOverflowError.new(); + } toString() { return "Stack Overflow"; } @@ -121090,7 +132492,7 @@ dart.setGetterSignature(core.StackOverflowError, () => ({ stackTrace: dart.nullable(core.StackTrace), [$stackTrace]: dart.nullable(core.StackTrace) })); -dart.setLibraryUri(core.StackOverflowError, I[8]); +dart.setLibraryUri(core.StackOverflowError, I[9]); dart.defineExtensionMethods(core.StackOverflowError, ['toString']); dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); @@ -121101,6 +132503,9 @@ core.CyclicInitializationError = class CyclicInitializationError extends core.Er set variableName(value) { super.variableName = value; } + static ['_#new#tearOff'](variableName = null) { + return new core.CyclicInitializationError.new(variableName); + } toString() { let variableName = this.variableName; return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; @@ -121113,7 +132518,7 @@ core.CyclicInitializationError = class CyclicInitializationError extends core.Er }).prototype = core.CyclicInitializationError.prototype; dart.addTypeTests(core.CyclicInitializationError); dart.addTypeCaches(core.CyclicInitializationError); -dart.setLibraryUri(core.CyclicInitializationError, I[8]); +dart.setLibraryUri(core.CyclicInitializationError, I[9]); dart.setFieldSignature(core.CyclicInitializationError, () => ({ __proto__: dart.getFields(core.CyclicInitializationError.__proto__), variableName: dart.finalFieldType(dart.nullable(core.String)) @@ -121123,13 +132528,20 @@ core.Exception = class Exception extends core.Object { static new(message = null) { return new core._Exception.new(message); } + static ['_#new#tearOff'](message = null) { + return core.Exception.new(message); + } }; (core.Exception[dart.mixinNew] = function() { }).prototype = core.Exception.prototype; dart.addTypeTests(core.Exception); dart.addTypeCaches(core.Exception); -dart.setLibraryUri(core.Exception, I[8]); +dart.setStaticMethodSignature(core.Exception, () => ['new']); +dart.setLibraryUri(core.Exception, I[9]); core._Exception = class _Exception extends core.Object { + static ['_#new#tearOff'](message = null) { + return new core._Exception.new(message); + } toString() { let message = this.message; if (message == null) return "Exception"; @@ -121143,7 +132555,7 @@ core._Exception = class _Exception extends core.Object { dart.addTypeTests(core._Exception); dart.addTypeCaches(core._Exception); core._Exception[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core._Exception, I[8]); +dart.setLibraryUri(core._Exception, I[9]); dart.setFieldSignature(core._Exception, () => ({ __proto__: dart.getFields(core._Exception.__proto__), message: dart.finalFieldType(dart.dynamic) @@ -121171,6 +132583,10 @@ core.FormatException = class FormatException extends core.Object { set offset(value) { super.offset = value; } + static ['_#new#tearOff'](message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); + return new core.FormatException.new(message, source, offset); + } toString() { let report = "FormatException"; let message = this.message; @@ -121250,7 +132666,7 @@ core.FormatException = class FormatException extends core.Object { } }; (core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + if (message == null) dart.nullFailed(I[169], 69, 31, "message"); this[message$16] = message; this[source$] = source; this[offset$] = offset; @@ -121259,7 +132675,7 @@ core.FormatException = class FormatException extends core.Object { dart.addTypeTests(core.FormatException); dart.addTypeCaches(core.FormatException); core.FormatException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.FormatException, I[8]); +dart.setLibraryUri(core.FormatException, I[9]); dart.setFieldSignature(core.FormatException, () => ({ __proto__: dart.getFields(core.FormatException.__proto__), message: dart.finalFieldType(core.String), @@ -121268,6 +132684,15 @@ dart.setFieldSignature(core.FormatException, () => ({ })); dart.defineExtensionMethods(core.FormatException, ['toString']); core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + get message() { + return "Division resulted in non-finite value"; + } + get stackTrace() { + return null; + } + static ['_#new#tearOff']() { + return new core.IntegerDivisionByZeroException.new(); + } toString() { return "IntegerDivisionByZeroException"; } @@ -121277,92 +132702,22 @@ core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException exten }).prototype = core.IntegerDivisionByZeroException.prototype; dart.addTypeTests(core.IntegerDivisionByZeroException); dart.addTypeCaches(core.IntegerDivisionByZeroException); -core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); +core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception, core.UnsupportedError]; +dart.setGetterSignature(core.IntegerDivisionByZeroException, () => ({ + __proto__: dart.getGetters(core.IntegerDivisionByZeroException.__proto__), + message: dart.nullable(core.String), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.IntegerDivisionByZeroException, I[9]); dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); -var name$14 = dart.privateName(core, "Expando.name"); -var _getKey = dart.privateName(core, "_getKey"); -const _is_Expando_default = Symbol('_is_Expando_default'); -core.Expando$ = dart.generic(T => { - var TN = () => (TN = dart.constFn(dart.nullable(T)))(); - class Expando extends core.Object { - get name() { - return this[name$14]; - } - set name(value) { - super.name = value; - } - [_getKey]() { - let t249; - let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); - if (key == null) { - key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); - _js_helper.Primitives.setProperty(this, "expando$key", key); - } - return key; - } - toString() { - return "Expando:" + dart.str(this.name); - } - _get(object) { - if (object == null) dart.nullFailed(I[7], 139, 25, "object"); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); - } - _set(object, value$) { - let value = value$; - if (object == null) dart.nullFailed(I[7], 147, 28, "object"); - TN().as(value); - let values = _js_helper.Primitives.getProperty(object, "expando$values"); - if (values == null) { - values = new core.Object.new(); - _js_helper.Primitives.setProperty(object, "expando$values", values); - } - _js_helper.Primitives.setProperty(values, this[_getKey](), value); - return value$; - } - } - (Expando.new = function(name = null) { - this[name$14] = name; - ; - }).prototype = Expando.prototype; - dart.addTypeTests(Expando); - Expando.prototype[_is_Expando_default] = true; - dart.addTypeCaches(Expando); - dart.setMethodSignature(Expando, () => ({ - __proto__: dart.getMethods(Expando.__proto__), - [_getKey]: dart.fnType(core.String, []), - _get: dart.fnType(dart.nullable(T), [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) - })); - dart.setLibraryUri(Expando, I[8]); - dart.setFieldSignature(Expando, () => ({ - __proto__: dart.getFields(Expando.__proto__), - name: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(Expando, ['toString']); - return Expando; -}); -core.Expando = core.Expando$(); -dart.defineLazy(core.Expando, { - /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { - return "expando$key"; - }, - /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { - return "expando$values"; - }, - /*core.Expando._keyCount*/get _keyCount() { - return 0; - }, - set _keyCount(_) {} -}, false); -dart.addTypeTests(core.Expando, _is_Expando_default); +dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); core.Function = class Function extends core.Object { static _toMangledNames(namedArguments) { - if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + if (namedArguments == null) dart.nullFailed(I[7], 124, 28, "namedArguments"); let result = new (T$0.IdentityMapOfString$dynamic()).new(); namedArguments[$forEach](dart.fn((symbol, value) => { - if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 126, 29, "symbol"); result[$_set](core._symbolToString(symbol), value); }, T$0.SymbolAnddynamicTovoid())); return result; @@ -121375,12 +132730,17 @@ core.Function = class Function extends core.Object { return dart.as(o, core.Function); } static apply($function, positionalArguments, namedArguments = null) { - if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); - positionalArguments == null ? positionalArguments = [] : null; + if ($function == null) dart.nullFailed(I[7], 98, 25, "function"); + let needsCopy = namedArguments != null && dart.test(namedArguments[$isNotEmpty]); + if (positionalArguments == null) { + positionalArguments = []; + } else if (needsCopy || !Array.isArray(positionalArguments)) { + positionalArguments = core.List.of(positionalArguments); + } if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { let map = {}; namedArguments[$forEach](dart.fn((symbol, arg) => { - if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + if (symbol == null) dart.nullFailed(I[7], 115, 31, "symbol"); map[core._symbolToString(symbol)] = arg; }, T$0.SymbolAnddynamicTovoid())); return dart.dcall($function, positionalArguments, map); @@ -121392,19 +132752,32 @@ core.Function = class Function extends core.Object { ; }).prototype = core.Function.prototype; dart.addTypeCaches(core.Function); -dart.setLibraryUri(core.Function, I[8]); +dart.setStaticMethodSignature(core.Function, () => ['_toMangledNames', 'is', 'as', 'apply']); +dart.setLibraryUri(core.Function, I[9]); var _positional = dart.privateName(core, "_positional"); var _named = dart.privateName(core, "_named"); core._Invocation = class _Invocation extends core.Object { + static ['_#method#tearOff'](memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); + return new core._Invocation.method(memberName, types, positional, named); + } + static ['_#getter#tearOff'](memberName) { + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); + return new core._Invocation.getter(memberName); + } + static ['_#setter#tearOff'](memberName, argument) { + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); + return new core._Invocation.setter(memberName, argument); + } get positionalArguments() { - let t249; - t249 = this[_positional]; - return t249 == null ? C[423] || CT.C423 : t249; + let t230; + t230 = this[_positional]; + return t230 == null ? C[434] || CT.C434 : t230; } get namedArguments() { - let t249; - t249 = this[_named]; - return t249 == null ? C[424] || CT.C424 : t249; + let t230; + t230 = this[_named]; + return t230 == null ? C[435] || CT.C435 : t230; } get isMethod() { return this[_named] != null; @@ -121419,7 +132792,7 @@ core._Invocation = class _Invocation extends core.Object { return this[_named] == null; } static _ensureNonNullTypes(types) { - if (types == null) return C[0] || CT.C0; + if (types == null) return C[1] || CT.C1; let typeArguments = T$.ListOfType().unmodifiable(types); for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { if (typeArguments[$_get](i) == null) { @@ -121430,25 +132803,25 @@ core._Invocation = class _Invocation extends core.Object { } }; (core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); this.memberName = memberName; this.typeArguments = core._Invocation._ensureNonNullTypes(types); - this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); - this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + this[_positional] = positional == null ? C[432] || CT.C432 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[433] || CT.C433 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); ; }).prototype = core._Invocation.prototype; (core._Invocation.getter = function(memberName) { - if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 113, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = null; this[_named] = null; ; }).prototype = core._Invocation.prototype; (core._Invocation.setter = function(memberName, argument) { - if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + if (memberName == null) dart.nullFailed(I[11], 118, 27, "memberName"); this.memberName = memberName; - this.typeArguments = C[0] || CT.C0; + this.typeArguments = C[1] || CT.C1; this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); this[_named] = null; ; @@ -121456,6 +132829,7 @@ core._Invocation = class _Invocation extends core.Object { dart.addTypeTests(core._Invocation); dart.addTypeCaches(core._Invocation); core._Invocation[dart.implements] = () => [core.Invocation]; +dart.setStaticMethodSignature(core._Invocation, () => ['_ensureNonNullTypes']); dart.setGetterSignature(core._Invocation, () => ({ __proto__: dart.getGetters(core._Invocation.__proto__), positionalArguments: core.List, @@ -121465,7 +132839,7 @@ dart.setGetterSignature(core._Invocation, () => ({ isSetter: core.bool, isAccessor: core.bool })); -dart.setLibraryUri(core._Invocation, I[8]); +dart.setLibraryUri(core._Invocation, I[9]); dart.setFieldSignature(core._Invocation, () => ({ __proto__: dart.getFields(core._Invocation.__proto__), memberName: dart.finalFieldType(core.Symbol), @@ -121477,7 +132851,7 @@ var length$0 = dart.privateName(core, "_GeneratorIterable.length"); var _generator = dart.privateName(core, "_generator"); const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); core._GeneratorIterable$ = dart.generic(E => { - var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + var __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); class _GeneratorIterable extends _internal.ListIterable$(E) { get length() { return this[length$0]; @@ -121485,30 +132859,35 @@ core._GeneratorIterable$ = dart.generic(E => { set length(value) { super.length = value; } + static ['_#new#tearOff'](E, length, generator) { + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); + return new (core._GeneratorIterable$(E)).new(length, generator); + } elementAt(index) { - let t249; - if (index == null) dart.nullFailed(I[34], 620, 19, "index"); - core.RangeError.checkValidIndex(index, this); - t249 = index; - return this[_generator](t249); + let t230; + if (index == null) dart.nullFailed(I[36], 817, 19, "index"); + core.IndexError.check(index, this.length, {indexable: this}); + t230 = index; + return this[_generator](t230); } static _id(n) { - if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + if (n == null) dart.nullFailed(I[36], 823, 22, "n"); return n; } } (_GeneratorIterable.new = function(length, generator) { - let t249; - if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + let t230; + if (length == null) dart.nullFailed(I[36], 812, 27, "length"); this[length$0] = length; - this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + this[_generator] = (t230 = generator, t230 == null ? __t$intToE().as(C[436] || CT.C436) : t230); _GeneratorIterable.__proto__.new.call(this); ; }).prototype = _GeneratorIterable.prototype; dart.addTypeTests(_GeneratorIterable); _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; dart.addTypeCaches(_GeneratorIterable); - dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); + dart.setLibraryUri(_GeneratorIterable, I[9]); dart.setFieldSignature(_GeneratorIterable, () => ({ __proto__: dart.getFields(_GeneratorIterable.__proto__), length: dart.finalFieldType(core.int), @@ -121530,11 +132909,76 @@ core.BidirectionalIterator$ = dart.generic(E => { BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; dart.addTypeCaches(BidirectionalIterator); BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setLibraryUri(BidirectionalIterator, I[8]); + dart.setLibraryUri(BidirectionalIterator, I[9]); return BidirectionalIterator; }); core.BidirectionalIterator = core.BidirectionalIterator$(); dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); +core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static ['_#new#tearOff'](K, V) { + return new (_js_helper.LinkedMap$(K, V)).new(); + } + static ['_#from#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 59, 24, "other"); + return collection.LinkedHashMap$(K, V).from(other); + } + static ['_#of#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[170], 71, 28, "other"); + return collection.LinkedHashMap$(K, V).of(other); + } + static ['_#unmodifiable#tearOff'](K, V, other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return core.Map$(K, V).unmodifiable(other); + } + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 633, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static ['_#identity#tearOff'](K, V) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + static ['_#fromIterable#tearOff'](K, V, iterable, opts) { + if (iterable == null) dart.nullFailed(I[170], 144, 37, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + return collection.LinkedHashMap$(K, V).fromIterable(iterable, {key: key, value: value}); + } + static ['_#fromIterables#tearOff'](K, V, keys, values) { + if (keys == null) dart.nullFailed(I[170], 167, 41, "keys"); + if (values == null) dart.nullFailed(I[170], 167, 59, "values"); + return collection.LinkedHashMap$(K, V).fromIterables(keys, values); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[170], 187, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t230; + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + t230 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t230[$addEntries](entries); + return t230; + })(); + } + static ['_#fromEntries#tearOff'](K, V, entries) { + if (entries == null) dart.nullFailed(I[170], 208, 52, "entries"); + return core.Map$(K, V).fromEntries(entries); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setStaticMethodSignature(Map, () => ['new', 'from', 'of', 'unmodifiable', 'identity', 'fromIterable', 'fromIterables', 'castFrom', 'fromEntries']); + dart.setLibraryUri(Map, I[9]); + dart.setStaticFieldSignature(Map, () => ['_redirecting#']); + return Map; +}); +core.Map = core.Map$(); +dart.addTypeTests(core.Map, dart.isMap); core.Null = class Null extends core.Object { static is(o) { return o == null; @@ -121543,6 +132987,9 @@ core.Null = class Null extends core.Object { if (o == null) return o; return dart.as(o, core.Null); } + static ['_#_uninstantiable#tearOff']() { + return core.Null._uninstantiable(); + } get hashCode() { return super[$hashCode]; } @@ -121553,7 +133000,8 @@ core.Null = class Null extends core.Object { (core.Null[dart.mixinNew] = function() { }).prototype = core.Null.prototype; dart.addTypeCaches(core.Null); -dart.setLibraryUri(core.Null, I[8]); +dart.setStaticMethodSignature(core.Null, () => ['is', 'as', '_uninstantiable']); +dart.setLibraryUri(core.Null, I[9]); dart.defineExtensionMethods(core.Null, ['toString']); dart.defineExtensionAccessors(core.Null, ['hashCode']); core.Pattern = class Pattern extends core.Object {}; @@ -121562,22 +133010,41 @@ core.Pattern = class Pattern extends core.Object {}; }).prototype = core.Pattern.prototype; dart.addTypeTests(core.Pattern); dart.addTypeCaches(core.Pattern); -dart.setLibraryUri(core.Pattern, I[8]); +dart.setLibraryUri(core.Pattern, I[9]); +core.Record = class Record extends core.Object {}; +(core.Record.new = function() { + ; +}).prototype = core.Record.prototype; +dart.addTypeTests(core.Record); +dart.addTypeCaches(core.Record); +dart.setLibraryUri(core.Record, I[9]); core.RegExp = class RegExp extends core.Object { static new(source, opts) { - if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; - if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; - if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); let unicode = opts && 'unicode' in opts ? opts.unicode : false; - if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; - if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); } + static ['_#new#tearOff'](source, opts) { + if (source == null) dart.nullFailed(I[7], 757, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 758, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 759, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 760, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 761, 16, "dotAll"); + return core.RegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } static escape(text) { - if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + if (text == null) dart.nullFailed(I[7], 769, 31, "text"); return _js_helper.quoteStringForRegExp(text); } }; @@ -121586,19 +133053,38 @@ core.RegExp = class RegExp extends core.Object { dart.addTypeTests(core.RegExp); dart.addTypeCaches(core.RegExp); core.RegExp[dart.implements] = () => [core.Pattern]; -dart.setLibraryUri(core.RegExp, I[8]); +dart.setStaticMethodSignature(core.RegExp, () => ['new', 'escape']); +dart.setLibraryUri(core.RegExp, I[9]); const _is_Set_default = Symbol('_is_Set_default'); core.Set$ = dart.generic(E => { class Set extends _internal.EfficientLengthIterable$(E) { + static ['_#new#tearOff'](E) { + return new (collection._HashSet$(E)).new(); + } + static ['_#identity#tearOff'](E) { + return new (collection._IdentityHashSet$(E)).new(); + } + static ['_#from#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 76, 29, "elements"); + return collection.LinkedHashSet$(E).from(elements); + } + static ['_#of#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 91, 30, "elements"); + return collection.LinkedHashSet$(E).of(elements); + } static unmodifiable(elements) { - if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); return new (collection.UnmodifiableSetView$(E)).new((() => { - let t249 = collection.LinkedHashSet$(E).of(elements); - return t249; + let t230 = collection.LinkedHashSet$(E).of(elements); + return t230; })()); } + static ['_#unmodifiable#tearOff'](E, elements) { + if (elements == null) dart.nullFailed(I[171], 102, 40, "elements"); + return core.Set$(E).unmodifiable(elements); + } static castFrom(S, T, source, opts) { - if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + if (source == null) dart.nullFailed(I[171], 128, 39, "source"); let newSet = opts && 'newSet' in opts ? opts.newSet : null; return new (_internal.CastSet$(S, T)).new(source, newSet); } @@ -121606,7 +133092,9 @@ core.Set$ = dart.generic(E => { dart.addTypeTests(Set); Set.prototype[_is_Set_default] = true; dart.addTypeCaches(Set); - dart.setLibraryUri(Set, I[8]); + dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); + dart.setLibraryUri(Set, I[9]); + dart.setStaticFieldSignature(Set, () => ['_redirecting#']); return Set; }); core.Set = core.Set$(); @@ -121620,13 +133108,17 @@ core.Sink$ = dart.generic(T => { dart.addTypeTests(Sink); Sink.prototype[_is_Sink_default] = true; dart.addTypeCaches(Sink); - dart.setLibraryUri(Sink, I[8]); + dart.setLibraryUri(Sink, I[9]); return Sink; }); core.Sink = core.Sink$(); dart.addTypeTests(core.Sink, _is_Sink_default); var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); core.StackTrace = class StackTrace extends core.Object { + static ['_#fromString#tearOff'](stackTraceString) { + if (stackTraceString == null) dart.nullFailed(I[172], 34, 40, "stackTraceString"); + return new core._StringStackTrace.new(stackTraceString); + } static get current() { return dart.stackTrace(Error()); } @@ -121636,10 +133128,13 @@ core.StackTrace = class StackTrace extends core.Object { }).prototype = core.StackTrace.prototype; dart.addTypeTests(core.StackTrace); dart.addTypeCaches(core.StackTrace); -dart.setLibraryUri(core.StackTrace, I[8]); +dart.setStaticMethodSignature(core.StackTrace, () => ['fromString']); +dart.setStaticGetterSignature(core.StackTrace, () => ['current']); +dart.setLibraryUri(core.StackTrace, I[9]); +dart.setStaticFieldSignature(core.StackTrace, () => ['empty', '_redirecting#']); dart.defineLazy(core.StackTrace, { /*core.StackTrace.empty*/get empty() { - return C[426] || CT.C426; + return C[437] || CT.C437; } }, false); var _stackTrace = dart.privateName(core, "_stackTrace"); @@ -121651,34 +133146,41 @@ core._StringStackTrace = class _StringStackTrace extends core.Object { set [_stackTrace](value) { super[_stackTrace] = value; } + static ['_#new#tearOff'](_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); + return new core._StringStackTrace.new(_stackTrace); + } toString() { return this[_stackTrace]; } }; (core._StringStackTrace.new = function(_stackTrace) { - if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + if (_stackTrace == null) dart.nullFailed(I[172], 56, 32, "_stackTrace"); this[_stackTrace$] = _stackTrace; ; }).prototype = core._StringStackTrace.prototype; dart.addTypeTests(core._StringStackTrace); dart.addTypeCaches(core._StringStackTrace); core._StringStackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(core._StringStackTrace, I[8]); +dart.setLibraryUri(core._StringStackTrace, I[9]); dart.setFieldSignature(core._StringStackTrace, () => ({ __proto__: dart.getFields(core._StringStackTrace.__proto__), [_stackTrace]: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(core._StringStackTrace, ['toString']); -var _start$2 = dart.privateName(core, "_start"); +var _start$3 = dart.privateName(core, "_start"); var _stop = dart.privateName(core, "_stop"); core.Stopwatch = class Stopwatch extends core.Object { + static ['_#new#tearOff']() { + return new core.Stopwatch.new(); + } get frequency() { return core.Stopwatch._frequency; } start() { let stop = this[_stop]; if (stop != null) { - this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_start$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); this[_stop] = null; } } @@ -121686,12 +133188,12 @@ core.Stopwatch = class Stopwatch extends core.Object { this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; } reset() { - let t250; - this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + let t231; + this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); } get elapsedTicks() { - let t250; - return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + let t231; + return dart.notNull((t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231)) - dart.notNull(this[_start$3]); } get elapsed() { return new core.Duration.new({microseconds: this.elapsedMicroseconds}); @@ -121699,13 +133201,13 @@ core.Stopwatch = class Stopwatch extends core.Object { get elapsedMicroseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000000) return ticks; - if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 527, 12, "_frequency == 1000"); return dart.notNull(ticks) * 1000; } get elapsedMilliseconds() { let ticks = this.elapsedTicks; if (core.Stopwatch._frequency === 1000) return ticks; - if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 535, 12, "_frequency == 1000000"); return (dart.notNull(ticks) / 1000)[$truncate](); } get isRunning() { @@ -121720,7 +133222,7 @@ core.Stopwatch = class Stopwatch extends core.Object { } }; (core.Stopwatch.new = function() { - this[_start$2] = 0; + this[_start$3] = 0; this[_stop] = 0; core.Stopwatch._frequency; }).prototype = core.Stopwatch.prototype; @@ -121732,6 +133234,7 @@ dart.setMethodSignature(core.Stopwatch, () => ({ stop: dart.fnType(dart.void, []), reset: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(core.Stopwatch, () => ['_initTicker', '_now']); dart.setGetterSignature(core.Stopwatch, () => ({ __proto__: dart.getGetters(core.Stopwatch.__proto__), frequency: core.int, @@ -121741,12 +133244,13 @@ dart.setGetterSignature(core.Stopwatch, () => ({ elapsedMilliseconds: core.int, isRunning: core.bool })); -dart.setLibraryUri(core.Stopwatch, I[8]); +dart.setLibraryUri(core.Stopwatch, I[9]); dart.setFieldSignature(core.Stopwatch, () => ({ __proto__: dart.getFields(core.Stopwatch.__proto__), - [_start$2]: dart.fieldType(core.int), + [_start$3]: dart.fieldType(core.int), [_stop]: dart.fieldType(dart.nullable(core.int)) })); +dart.setStaticFieldSignature(core.Stopwatch, () => ['_frequency']); dart.defineLazy(core.Stopwatch, { /*core.Stopwatch._frequency*/get _frequency() { return core.Stopwatch._initTicker(); @@ -121760,6 +133264,10 @@ core.Runes = class Runes extends core.Iterable$(core.int) { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); + return new core.Runes.new(string); + } get iterator() { return new core.RuneIterator.new(this.string); } @@ -121779,7 +133287,7 @@ core.Runes = class Runes extends core.Iterable$(core.int) { } }; (core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + if (string == null) dart.nullFailed(I[173], 770, 14, "string"); this[string$] = string; core.Runes.__proto__.new.call(this); ; @@ -121791,7 +133299,7 @@ dart.setGetterSignature(core.Runes, () => ({ iterator: core.RuneIterator, [$iterator]: core.RuneIterator })); -dart.setLibraryUri(core.Runes, I[8]); +dart.setLibraryUri(core.Runes, I[9]); dart.setFieldSignature(core.Runes, () => ({ __proto__: dart.getFields(core.Runes.__proto__), string: dart.finalFieldType(core.String) @@ -121809,8 +133317,17 @@ core.RuneIterator = class RuneIterator extends core.Object { set string(value) { super.string = value; } + static ['_#new#tearOff'](string) { + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); + return new core.RuneIterator.new(string); + } + static ['_#at#tearOff'](string, index) { + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); + return new core.RuneIterator.at(string, index); + } [_checkSplitSurrogate](index) { - if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (index == null) dart.nullFailed(I[173], 841, 33, "index"); if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); } @@ -121819,13 +133336,13 @@ core.RuneIterator = class RuneIterator extends core.Object { return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; } set rawIndex(rawIndex) { - if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); - core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 863, 25, "rawIndex"); + core.IndexError.check(rawIndex, this.string.length, {indexable: this.string, name: "rawIndex"}); this.reset(rawIndex); this.moveNext(); } reset(rawIndex = 0) { - if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + if (rawIndex == null) dart.nullFailed(I[173], 879, 19, "rawIndex"); core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); this[_checkSplitSurrogate](rawIndex); this[_position$0] = this[_nextPosition] = rawIndex; @@ -121884,7 +133401,7 @@ core.RuneIterator = class RuneIterator extends core.Object { } }; (core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + if (string == null) dart.nullFailed(I[173], 819, 23, "string"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = 0; @@ -121892,8 +133409,8 @@ core.RuneIterator = class RuneIterator extends core.Object { ; }).prototype = core.RuneIterator.prototype; (core.RuneIterator.at = function(string, index) { - if (string == null) dart.nullFailed(I[174], 666, 26, "string"); - if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + if (string == null) dart.nullFailed(I[173], 832, 26, "string"); + if (index == null) dart.nullFailed(I[173], 832, 38, "index"); this[_currentCodePoint] = -1; this[string$0] = string; this[_position$0] = index; @@ -121922,7 +133439,7 @@ dart.setSetterSignature(core.RuneIterator, () => ({ __proto__: dart.getSetters(core.RuneIterator.__proto__), rawIndex: core.int })); -dart.setLibraryUri(core.RuneIterator, I[8]); +dart.setLibraryUri(core.RuneIterator, I[9]); dart.setFieldSignature(core.RuneIterator, () => ({ __proto__: dart.getFields(core.RuneIterator.__proto__), string: dart.finalFieldType(core.String), @@ -121930,18 +133447,25 @@ dart.setFieldSignature(core.RuneIterator, () => ({ [_nextPosition]: dart.fieldType(core.int), [_currentCodePoint]: dart.fieldType(core.int) })); -core.Symbol = class Symbol extends core.Object {}; +core.Symbol = class Symbol extends core.Object { + static ['_#new#tearOff'](name) { + if (name == null) dart.nullFailed(I[174], 62, 31, "name"); + return new _internal.Symbol.new(name); + } +}; (core.Symbol[dart.mixinNew] = function() { }).prototype = core.Symbol.prototype; dart.addTypeTests(core.Symbol); dart.addTypeCaches(core.Symbol); -dart.setLibraryUri(core.Symbol, I[8]); +dart.setStaticMethodSignature(core.Symbol, () => ['new']); +dart.setLibraryUri(core.Symbol, I[9]); +dart.setStaticFieldSignature(core.Symbol, () => ['unaryMinus', 'empty', '_redirecting#']); dart.defineLazy(core.Symbol, { /*core.Symbol.unaryMinus*/get unaryMinus() { - return C[427] || CT.C427; + return C[438] || CT.C438; }, /*core.Symbol.empty*/get empty() { - return C[428] || CT.C428; + return C[439] || CT.C439; } }, false); core.Uri = class Uri extends core.Object { @@ -121950,33 +133474,83 @@ core.Uri = class Uri extends core.Object { if (uri != null) return core.Uri.parse(uri); dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); } + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 248, 12, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 249, 12, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 272, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 273, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 355, 27, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 372, 32, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); + } + static ['_#dataFromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); + return core.Uri.dataFromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static dataFromString(content, opts) { - if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + if (content == null) dart.nullFailed(I[175], 410, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 414, 12, "base64"); let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); return data.uri; } static dataFromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); return data.uri; } + static ['_#dataFromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 443, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 444, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 446, 12, "percentEncoded"); + return core.Uri.dataFromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } get hasScheme() { return this.scheme[$isNotEmpty]; } static parse(uri, start = 0, end = null) { - let t250; - if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); - if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + let t231; + if (uri == null) dart.nullFailed(I[175], 843, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 843, 37, "start"); end == null ? end = uri.length : null; if (dart.notNull(end) >= dart.notNull(start) + 5) { let dataDelta = core._startsWithData(uri, start); @@ -121988,17 +133562,17 @@ core.Uri = class Uri extends core.Object { } } let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t250 = indices; + t231 = indices; (() => { - t250[$_set](0, 0); - t250[$_set](1, dart.notNull(start) - 1); - t250[$_set](2, dart.notNull(start) - 1); - t250[$_set](7, dart.notNull(start) - 1); - t250[$_set](3, start); - t250[$_set](4, start); - t250[$_set](5, end); - t250[$_set](6, end); - return t250; + t231[$_set](0, 0); + t231[$_set](1, dart.notNull(start) - 1); + t231[$_set](2, dart.notNull(start) - 1); + t231[$_set](7, dart.notNull(start) - 1); + t231[$_set](3, start); + t231[$_set](4, start); + t231[$_set](5, end); + t231[$_set](6, end); + return t231; })(); let state = core._scan(uri, start, end, 0, indices); if (dart.notNull(state) >= 14) { @@ -122024,18 +133598,20 @@ core.Uri = class Uri extends core.Object { pathStart = dart.notNull(schemeEnd) + 1; } if (dart.notNull(portStart) < hostStart) portStart = pathStart; - if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); - if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); - if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); - if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); - if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); - if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 982, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 983, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 984, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 985, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 986, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 987, 12, "queryStart <= fragmentStart"); let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); if (isSimple) { if (hostStart > dart.notNull(schemeEnd) + 3) { isSimple = false; } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { isSimple = false; + } else if (uri[$startsWith]("\\", pathStart) || hostStart > dart.notNull(start) && (uri[$startsWith]("\\", hostStart - 1) || uri[$startsWith]("\\", hostStart - 2))) { + isSimple = false; } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { isSimple = false; } else { @@ -122137,8 +133713,8 @@ core.Uri = class Uri extends core.Object { return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static tryParse(uri, start = 0, end = null) { - if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + if (uri == null) dart.nullFailed(I[175], 1159, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); try { return core.Uri.parse(uri, start, end); } catch (e) { @@ -122150,40 +133726,40 @@ core.Uri = class Uri extends core.Object { } } static encodeComponent(component) { - if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + if (component == null) dart.nullFailed(I[175], 1193, 40, "component"); return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); } static encodeQueryComponent(component, opts) { - if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + if (component == null) dart.nullFailed(I[175], 1230, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1231, 17, "encoding"); return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); } static decodeComponent(encodedComponent) { - if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + if (encodedComponent == null) dart.nullFailed(I[175], 1253, 40, "encodedComponent"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); } static decodeQueryComponent(encodedComponent, opts) { - if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + if (encodedComponent == null) dart.nullFailed(I[175], 1264, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1265, 17, "encoding"); return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); } static encodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1284, 35, "uri"); return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); } static decodeFull(uri) { - if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + if (uri == null) dart.nullFailed(I[175], 1301, 35, "uri"); return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); } static splitQueryString(query, opts) { - if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 1327, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 1328, 17, "encoding"); return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { - if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + if (map == null) dart.nullFailed(I[175], 1329, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); let index = element[$indexOf]("="); if (index === -1) { if (element !== "") { @@ -122198,17 +133774,17 @@ core.Uri = class Uri extends core.Object { }, T$0.MapOfString$StringAndStringToMapOfString$String())); } static parseIPv4Address(host) { - if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + if (host == null) dart.nullFailed(I[175], 1350, 44, "host"); return core.Uri._parseIPv4Address(host, 0, host.length); } static _parseIPv4Address(host, start, end) { - let t252; - if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); - if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); - if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + let t233; + if (host == null) dart.nullFailed(I[175], 1354, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1354, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1354, 66, "end"); function error(msg, position) { - if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); - if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + if (msg == null) dart.nullFailed(I[175], 1355, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1355, 32, "position"); dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); } dart.fn(error, T$0.StringAndintTovoid()); @@ -122229,7 +133805,7 @@ core.Uri = class Uri extends core.Object { if (dart.notNull(part) > 255) { error("each part must be in the range 0..255", partStart); } - result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); partStart = dart.notNull(i) + 1; } } @@ -122244,17 +133820,17 @@ core.Uri = class Uri extends core.Object { return result; } static parseIPv6Address(host, start = 0, end = null) { - if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); - if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + if (host == null) dart.nullFailed(I[175], 1412, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1412, 55, "start"); end == null ? end = host.length : null; - function error(msg, position = null) { - if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); - dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1422, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, position)); } - dart.fn(error, T$0.StringAnddynamicTovoid$1()); + dart.fn(error, T$0.StringAndintNTovoid()); function parseHex(start, end) { - if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); - if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (start == null) dart.nullFailed(I[175], 1427, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1427, 33, "end"); if (dart.notNull(end) - dart.notNull(start) > 4) { error("an IPv6 part can only contain a maximum of 4 hex digits", start); } @@ -122265,7 +133841,7 @@ core.Uri = class Uri extends core.Object { return value; } dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short"); + if (host.length < 2) error("address is too short", null); let parts = T$.JSArrayOfint().of([]); let wildcardSeen = false; let seenDot = false; @@ -122294,7 +133870,7 @@ core.Uri = class Uri extends core.Object { seenDot = true; } } - if (parts[$length] === 0) error("too few parts"); + if (parts[$length] === 0) error("too few parts", null); let atEnd = partStart == end; let isLastWildcard = parts[$last] === -1; if (atEnd && !isLastWildcard) { @@ -122311,10 +133887,10 @@ core.Uri = class Uri extends core.Object { } if (wildcardSeen) { if (dart.notNull(parts[$length]) > 7) { - error("an address with a wildcard must have less than 7 parts"); + error("an address with a wildcard must have less than 7 parts", null); } } else if (parts[$length] !== 8) { - error("an address without a wildcard must contain exactly 8 parts"); + error("an address without a wildcard must contain exactly 8 parts", null); } let bytes = _native_typed_data.NativeUint8List.new(16); for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { @@ -122339,11 +133915,14 @@ core.Uri = class Uri extends core.Object { }).prototype = core.Uri.prototype; dart.addTypeTests(core.Uri); dart.addTypeCaches(core.Uri); +dart.setStaticMethodSignature(core.Uri, () => ['new', 'http', 'https', 'file', 'directory', 'dataFromString', 'dataFromBytes', 'parse', 'tryParse', 'encodeComponent', 'encodeQueryComponent', 'decodeComponent', 'decodeQueryComponent', 'encodeFull', 'decodeFull', 'splitQueryString', 'parseIPv4Address', '_parseIPv4Address', 'parseIPv6Address']); dart.setGetterSignature(core.Uri, () => ({ __proto__: dart.getGetters(core.Uri.__proto__), hasScheme: core.bool })); -dart.setLibraryUri(core.Uri, I[8]); +dart.setStaticGetterSignature(core.Uri, () => ['base']); +dart.setLibraryUri(core.Uri, I[9]); +dart.setStaticFieldSignature(core.Uri, () => ['_redirecting#']); var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); @@ -122366,71 +133945,89 @@ var _mergePaths = dart.privateName(core, "_mergePaths"); var _toFilePath = dart.privateName(core, "_toFilePath"); core._Uri = class _Uri extends core.Object { get [_text$]() { - let t253; + let t234; if (!dart.test(this[___Uri__text_isSet])) { - let t252 = this[_initializeText](); + let t233 = this[_initializeText](); if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t252; + this[___Uri__text] = t233; this[___Uri__text_isSet] = true; } - t253 = this[___Uri__text]; - return t253; + t234 = this[___Uri__text]; + return t234; } get pathSegments() { - let t254; + let t235; if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t253 = core._Uri._computePathSegments(this.path); + let t234 = core._Uri._computePathSegments(this.path); if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments] = t234; this[___Uri_pathSegments_isSet] = true; } - t254 = this[___Uri_pathSegments]; - return t254; + t235 = this[___Uri_pathSegments]; + return t235; } get hashCode() { - let t255; + let t236; if (!dart.test(this[___Uri_hashCode_isSet])) { - let t254 = dart.hashCode(this[_text$]); + let t235 = dart.hashCode(this[_text$]); if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t254; + this[___Uri_hashCode] = t235; this[___Uri_hashCode_isSet] = true; } - t255 = this[___Uri_hashCode]; - return t255; + t236 = this[___Uri_hashCode]; + return t236; } get queryParameters() { - let t256; + let t237; if (!dart.test(this[___Uri_queryParameters_isSet])) { - let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + let t236 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); - this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters] = t236; this[___Uri_queryParameters_isSet] = true; } - t256 = this[___Uri_queryParameters]; - return t256; + t237 = this[___Uri_queryParameters]; + return t237; } get queryParametersAll() { - let t257; + let t238; if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t256 = core._Uri._computeQueryParametersAll(this.query); + let t237 = core._Uri._computeQueryParametersAll(this.query); if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll] = t237; this[___Uri_queryParametersAll_isSet] = true; } - t257 = this[___Uri_queryParametersAll]; - return t257; + t238 = this[___Uri_queryParametersAll]; + return t238; + } + static ['_#_internal#tearOff'](scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); + return new core._Uri._internal(scheme, _userInfo, _host, _port, path, _query, _fragment); + } + static ['_#notSimple#tearOff'](uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { - let t257; - if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); - if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); - if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); - if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); - if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); - if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); - if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); - if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); - if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + let t238; + if (uri == null) dart.nullFailed(I[175], 1587, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1588, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1589, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1590, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1591, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1592, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1593, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1594, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1595, 11, "fragmentStart"); if (scheme == null) { scheme = ""; if (dart.notNull(schemeEnd) > dart.notNull(start)) { @@ -122450,7 +134047,7 @@ core._Uri = class _Uri extends core.Object { } host = core._Uri._makeHost(uri, hostStart, portStart, false); if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + let portNumber = (t238 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t238 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t238); port = core._Uri._makePort(portNumber, scheme); } } @@ -122509,14 +134106,36 @@ core._Uri = class _Uri extends core.Object { } return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } - static http(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + static ['_#new#tearOff'](opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, path: path, pathSegments: pathSegments, query: query, queryParameters: queryParameters, fragment: fragment}); + } + static http(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); } - static https(authority, unencodedPath, queryParameters = null) { - if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); - if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + static ['_#http#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1685, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1686, 15, "unencodedPath"); + return core._Uri.http(authority, unencodedPath, queryParameters); + } + static ['_#https#tearOff'](authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); + return core._Uri.https(authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath = "", queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1691, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1692, 15, "unencodedPath"); return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); } get authority() { @@ -122537,61 +134156,42 @@ core._Uri = class _Uri extends core.Object { return host; } get port() { - let t257; - t257 = this[_port$]; - return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + let t238; + t238 = this[_port$]; + return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; } static _defaultPort(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1719, 34, "scheme"); if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; } get query() { - let t257; - t257 = this[_query$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_query$]; + return t238 == null ? "" : t238; } get fragment() { - let t257; - t257 = this[_fragment$]; - return t257 == null ? "" : t257; + let t238; + t238 = this[_fragment$]; + return t238 == null ? "" : t238; } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 1729, 24, "scheme"); let thisScheme = this.scheme; if (scheme == null) return thisScheme[$isEmpty]; if (scheme.length !== thisScheme.length) return false; - return core._Uri._compareScheme(scheme, thisScheme); - } - static _compareScheme(scheme, uri) { - if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); - if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); - for (let i = 0; i < scheme.length; i = i + 1) { - let schemeChar = scheme[$codeUnitAt](i); - let uriChar = uri[$codeUnitAt](i); - let delta = (schemeChar ^ uriChar) >>> 0; - if (delta !== 0) { - if (delta === 32) { - let lowerChar = (uriChar | delta) >>> 0; - if (97 <= lowerChar && lowerChar <= 122) { - continue; - } - } - return false; - } - } - return true; + return core._caseInsensitiveStartsWith(scheme, thisScheme, 0); } static _fail(uri, index, message) { - if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); - if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); - if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + if (uri == null) dart.nullFailed(I[175], 1737, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1737, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1737, 52, "message"); dart.throw(new core.FormatException.new(message, uri, index)); } static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { - if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + if (scheme == null) dart.nullFailed(I[175], 1741, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); let userInfo = ""; let host = null; let port = null; @@ -122639,23 +134239,33 @@ core._Uri = class _Uri extends core.Object { return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); } static file(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static ['_#file#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1807, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.file(path, {windows: windows}); + } + static ['_#directory#tearOff'](path, opts) { + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.directory(path, {windows: windows}); } static directory(path, opts) { - let t257; - if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let t238; + if (path == null) dart.nullFailed(I[175], 1814, 33, "path"); let windows = opts && 'windows' in opts ? opts.windows : null; - return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + return core._Uri.as(dart.test((t238 = windows, t238 == null ? core._Uri._isWindows : t238)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); } static get _isWindows() { return core._Uri._isWindowsCached; } static _checkNonWindowsPathReservedCharacters(segments, argumentError) { - if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + if (segments == null) dart.nullFailed(I[175], 1824, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1824, 35, "argumentError"); for (let segment of segments) { if (segment[$contains]("/")) { if (dart.test(argumentError)) { @@ -122667,9 +134277,9 @@ core._Uri = class _Uri extends core.Object { } } static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); - if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); - if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + if (segments == null) dart.nullFailed(I[175], 1837, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1837, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1838, 12, "firstSegment"); for (let segment of segments[$skip](firstSegment)) { if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { if (dart.test(argumentError)) { @@ -122681,8 +134291,8 @@ core._Uri = class _Uri extends core.Object { } } static _checkWindowsDriveLetter(charCode, argumentError) { - if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); - if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (charCode == null) dart.nullFailed(I[175], 1850, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1850, 59, "argumentError"); if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { return; } @@ -122693,8 +134303,8 @@ core._Uri = class _Uri extends core.Object { } } static _makeFileUri(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1864, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1864, 45, "slashTerminated"); let segments = path[$split]("/"); if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { segments[$add](""); @@ -122706,8 +134316,8 @@ core._Uri = class _Uri extends core.Object { } } static _makeWindowsFileUrl(path, slashTerminated) { - if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); - if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path == null) dart.nullFailed(I[175], 1879, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1879, 48, "slashTerminated"); if (path[$startsWith]("\\\\?\\")) { if (path[$startsWith]("UNC\\", 4)) { path = path[$replaceRange](0, 7, "\\"); @@ -122825,16 +134435,16 @@ core._Uri = class _Uri extends core.Object { return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); } static _computePathSegments(pathToSplit) { - if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit == null) dart.nullFailed(I[175], 2023, 51, "pathToSplit"); if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { pathToSplit = pathToSplit[$substring](1); } - return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + return pathToSplit[$isEmpty] ? C[415] || CT.C415 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[440] || CT.C440)); } static _computeQueryParametersAll(query) { - if (query == null || query[$isEmpty]) return C[430] || CT.C430; + if (query == null || query[$isEmpty]) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } normalizePath() { @@ -122843,14 +134453,14 @@ core._Uri = class _Uri extends core.Object { return this.replace({path: path}); } static _makePort(port, scheme) { - if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2046, 43, "scheme"); if (port != null && port == core._Uri._defaultPort(scheme)) return null; return port; } static _makeHost(host, start, end, strictIPv6) { - if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); - if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); - if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (start == null) dart.nullFailed(I[175], 2061, 46, "start"); + if (end == null) dart.nullFailed(I[175], 2061, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 2061, 67, "strictIPv6"); if (host == null) return null; if (start == end) return ""; if (host[$codeUnitAt](start) === 91) { @@ -122884,23 +134494,23 @@ core._Uri = class _Uri extends core.Object { return core._Uri._normalizeRegName(host, start, end); } static _checkZoneID(host, start, end) { - if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); - if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); - if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + if (host == null) dart.nullFailed(I[175], 2102, 34, "host"); + if (start == null) dart.nullFailed(I[175], 2102, 44, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 55, "end"); let index = host[$indexOf]("%", start); index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; return index; } static _isZoneIDChar(char) { - if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + if (char == null) dart.nullFailed(I[175], 2108, 33, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeZoneID(host, start, end, prefix = "") { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); - if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); - if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); - if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2118, 41, "host"); + if (start == null) dart.nullFailed(I[175], 2118, 51, "start"); + if (end == null) dart.nullFailed(I[175], 2118, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 2119, 15, "prefix"); let buffer = null; if (prefix !== "") { buffer = new core.StringBuffer.new(prefix); @@ -122950,11 +134560,11 @@ core._Uri = class _Uri extends core.Object { } } let slice = host[$substring](sectionStart, index); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -122968,14 +134578,14 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _isRegNameChar(char) { - if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + if (char == null) dart.nullFailed(I[175], 2186, 34, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } static _normalizeRegName(host, start, end) { - let t257, t257$; - if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); - if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); - if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let t238, t238$; + if (host == null) dart.nullFailed(I[175], 2195, 42, "host"); + if (start == null) dart.nullFailed(I[175], 2195, 52, "start"); + if (end == null) dart.nullFailed(I[175], 2195, 63, "end"); let buffer = null; let sectionStart = start; let index = start; @@ -123027,11 +134637,11 @@ core._Uri = class _Uri extends core.Object { } let slice = host[$substring](sectionStart, index); if (!isNormalized) slice = slice[$toLowerCase](); - t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); (() => { - t257$.write(slice); - t257$.write(core._Uri._escapeChar(char)); - return t257$; + t238$.write(slice); + t238$.write(core._Uri._escapeChar(char)); + return t238$; })(); index = dart.notNull(index) + sourceLength; sectionStart = index; @@ -123046,9 +134656,9 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _makeScheme(scheme, start, end) { - if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); - if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (scheme == null) dart.nullFailed(I[175], 2269, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2269, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2269, 59, "end"); if (start == end) return ""; let firstCodeUnit = scheme[$codeUnitAt](start); if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { @@ -123071,7 +134681,7 @@ core._Uri = class _Uri extends core.Object { return core._Uri._canonicalizeScheme(scheme); } static _canonicalizeScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 2293, 44, "scheme"); if (scheme === "http") return "http"; if (scheme === "file") return "file"; if (scheme === "https") return "https"; @@ -123079,29 +134689,29 @@ core._Uri = class _Uri extends core.Object { return scheme; } static _makeUserInfo(userInfo, start, end) { - if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); - if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (start == null) dart.nullFailed(I[175], 2301, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2301, 64, "end"); if (userInfo == null) return ""; return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); } static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { - if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); - if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); - if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + if (start == null) dart.nullFailed(I[175], 2306, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2306, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2307, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2307, 59, "hasAuthority"); let isFile = scheme === "file"; let ensureLeadingSlash = isFile || dart.test(hasAuthority); let result = null; if (path == null) { if (pathSegments == null) return isFile ? "/" : ""; result = pathSegments[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + if (s == null) dart.nullFailed(I[175], 2314, 17, "s"); return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); }, T$.StringToString()))[$join]("/"); } else if (pathSegments != null) { dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); } else { - result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true, replaceBackslash: true}); } if (result[$isEmpty]) { if (isFile) return "/"; @@ -123112,17 +134722,17 @@ core._Uri = class _Uri extends core.Object { return result; } static _normalizePath(path, scheme, hasAuthority) { - if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); - if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); - if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); - if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + if (path == null) dart.nullFailed(I[175], 2336, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2336, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2336, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/") && !path[$startsWith]("\\")) { return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); } return core._Uri._removeDotSegments(path); } static _makeQuery(query, start, end, queryParameters) { - if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); - if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (start == null) dart.nullFailed(I[175], 2346, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2346, 59, "end"); if (query != null) { if (queryParameters != null) { dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); @@ -123133,7 +134743,7 @@ core._Uri = class _Uri extends core.Object { let result = new core.StringBuffer.new(); let separator = ""; function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); result.write(separator); separator = "&"; result.write(core.Uri.encodeQueryComponent(key)); @@ -123144,13 +134754,13 @@ core._Uri = class _Uri extends core.Object { } dart.fn(writeParameter, T$0.StringAndStringNTovoid()); queryParameters[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (key == null) dart.nullFailed(I[175], 2370, 30, "key"); if (value == null || typeof value == 'string') { writeParameter(key, T$.StringN().as(value)); } else { let values = core.Iterable.as(value); - for (let t257 of values) { - let value = core.String.as(t257); + for (let t238 of values) { + let value = core.String.as(t238); writeParameter(key, value); } } @@ -123158,16 +134768,16 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _makeFragment(fragment, start, end) { - if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); - if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (start == null) dart.nullFailed(I[175], 2383, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2383, 65, "end"); if (fragment == null) return null; return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); } static _normalizeEscape(source, index, lowerCase) { - if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); - if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); - if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); - if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (source == null) dart.nullFailed(I[175], 2400, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2400, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2400, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2401, 12, "source.codeUnitAt(index) == _PERCENT"); if (dart.notNull(index) + 2 >= source.length) { return "%"; } @@ -123191,8 +134801,8 @@ core._Uri = class _Uri extends core.Object { return null; } static _escapeChar(char) { - if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); - if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + if (char == null) dart.nullFailed(I[175], 2428, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2429, 12, "char <= 0x10ffff"); let codeUnits = null; if (dart.notNull(char) < 128) { codeUnits = _native_typed_data.NativeUint8List.new(3); @@ -123224,24 +134834,28 @@ core._Uri = class _Uri extends core.Object { return core.String.fromCharCodes(codeUnits); } static _normalizeOrSubstring(component, start, end, charTable, opts) { - let t258; - if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let t239; + if (component == null) dart.nullFailed(I[175], 2468, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2468, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2468, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2468, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); - t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); - return t258 == null ? component[$substring](start, end) : t258; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2469, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2469, 44, "replaceBackslash"); + t239 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters, replaceBackslash: replaceBackslash}); + return t239 == null ? component[$substring](start, end) : t239; } static _normalize(component, start, end, charTable, opts) { - let t258, t258$; - if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); - if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); - if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); - if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let t239, t239$; + if (component == null) dart.nullFailed(I[175], 2486, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2486, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2486, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2486, 55, "charTable"); let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; - if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + if (escapeDelimiters == null) dart.nullFailed(I[175], 2487, 13, "escapeDelimiters"); + let replaceBackslash = opts && 'replaceBackslash' in opts ? opts.replaceBackslash : false; + if (replaceBackslash == null) dart.nullFailed(I[175], 2487, 44, "replaceBackslash"); let buffer = null; let sectionStart = start; let index = start; @@ -123264,6 +134878,9 @@ core._Uri = class _Uri extends core.Object { } else { sourceLength = 3; } + } else if (char === 92 && dart.test(replaceBackslash)) { + replacement = "/"; + sourceLength = 1; } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { core._Uri._fail(component, index, "Invalid character"); dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); @@ -123281,11 +134898,11 @@ core._Uri = class _Uri extends core.Object { } replacement = core._Uri._escapeChar(char); } - t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); (() => { - t258$.write(component[$substring](sectionStart, index)); - t258$.write(replacement); - return t258$; + t239$.write(component[$substring](sectionStart, index)); + t239$.write(replacement); + return t239$; })(); index = dart.notNull(index) + dart.notNull(sourceLength); sectionStart = index; @@ -123300,19 +134917,19 @@ core._Uri = class _Uri extends core.Object { return dart.toString(buffer); } static _isSchemeCharacter(ch) { - if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + if (ch == null) dart.nullFailed(I[175], 2550, 38, "ch"); return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } static _isGeneralDelimiter(ch) { - if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + if (ch == null) dart.nullFailed(I[175], 2554, 39, "ch"); return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; } get isAbsolute() { return this.scheme !== "" && this.fragment === ""; } [_mergePaths](base, reference) { - if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + if (base == null) dart.nullFailed(I[175], 2562, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); let backCount = 0; let refStart = 0; while (reference[$startsWith]("../", refStart)) { @@ -123335,15 +134952,15 @@ core._Uri = class _Uri extends core.Object { return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); } static _mayContainDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path == null) dart.nullFailed(I[175], 2600, 45, "path"); if (path[$startsWith](".")) return true; let index = path[$indexOf]("/."); return index !== -1; } static _removeDotSegments(path) { - if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (path == null) dart.nullFailed(I[175], 2611, 43, "path"); if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2613, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123366,14 +134983,14 @@ core._Uri = class _Uri extends core.Object { return output[$join]("/"); } static _normalizeRelativePath(path, allowScheme) { - if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); - if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); - if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (path == null) dart.nullFailed(I[175], 2647, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2647, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2648, 12, "!path.startsWith('/')"); if (!dart.test(core._Uri._mayContainDotSegments(path))) { if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); return path; } - if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2653, 12, "path.isNotEmpty"); let output = T$.JSArrayOfString().of([]); let appendSlash = false; for (let segment of path[$split]("/")) { @@ -123399,7 +135016,7 @@ core._Uri = class _Uri extends core.Object { return output[$join]("/"); } static _escapeScheme(path) { - if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path == null) dart.nullFailed(I[175], 2680, 38, "path"); if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { for (let i = 1; i < path.length; i = i + 1) { let char = path[$codeUnitAt](i); @@ -123414,19 +135031,19 @@ core._Uri = class _Uri extends core.Object { return path; } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2696, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } static _packageNameEnd(uri, path) { - if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); - if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (uri == null) dart.nullFailed(I[175], 2710, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2710, 46, "path"); if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(path, 0, path.length); } return -1; } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 2717, 22, "reference"); let targetScheme = null; let targetUserInfo = ""; let targetHost = null; @@ -123467,9 +135084,9 @@ core._Uri = class _Uri extends core.Object { let basePath = this.path; let packageNameEnd = core._Uri._packageNameEnd(this, basePath); if (dart.notNull(packageNameEnd) > 0) { - if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); - if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); - if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2760, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2761, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2762, 20, "!this.hasEmptyPath"); let packageName = basePath[$substring](0, packageNameEnd); if (dart.test(reference.hasAbsolutePath)) { targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); @@ -123542,7 +135159,7 @@ core._Uri = class _Uri extends core.Object { return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (this.scheme !== "" && this.scheme !== "file") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -123553,7 +135170,7 @@ core._Uri = class _Uri extends core.Object { if (this.fragment !== "") { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.test(this.hasAuthority) && this.host !== "") { @@ -123567,7 +135184,7 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _toWindowsFilePath(uri) { - if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + if (uri == null) dart.nullFailed(I[175], 2875, 40, "uri"); let hasDriveLetter = false; let segments = uri.pathSegments; if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { @@ -123592,7 +135209,7 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); if (this[_userInfo$][$isNotEmpty]) { ss.write(this[_userInfo$]); ss.write("@"); @@ -123610,14 +135227,14 @@ core._Uri = class _Uri extends core.Object { return this[_text$]; } [_initializeText]() { - let t258, t258$, t258$0; + let t239, t239$, t239$0; let sb = new core.StringBuffer.new(); if (this.scheme[$isNotEmpty]) { - t258 = sb; + t239 = sb; (() => { - t258.write(this.scheme); - t258.write(":"); - return t258; + t239.write(this.scheme); + t239.write(":"); + return t239; })(); } if (dart.test(this.hasAuthority) || this.scheme === "file") { @@ -123626,19 +135243,19 @@ core._Uri = class _Uri extends core.Object { } sb.write(this.path); if (this[_query$] != null) { - t258$ = sb; + t239$ = sb; (() => { - t258$.write("?"); - t258$.write(this[_query$]); - return t258$; + t239$.write("?"); + t239$.write(this[_query$]); + return t239$; })(); } if (this[_fragment$] != null) { - t258$0 = sb; + t239$0 = sb; (() => { - t258$0.write("#"); - t258$0.write(this[_fragment$]); - return t258$0; + t239$0.write("#"); + t239$0.write(this[_fragment$]); + return t239$0; })(); } return sb.toString(); @@ -123652,17 +135269,17 @@ core._Uri = class _Uri extends core.Object { return T$.JSArrayOfString().of([]); } static _splitQueryStringAll(query, opts) { - if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); - let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; - if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + if (query == null) dart.nullFailed(I[175], 2965, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[115] || CT.C115; + if (encoding == null) dart.nullFailed(I[175], 2966, 17, "encoding"); let result = new (T$0.IdentityMapOfString$ListOfString()).new(); let i = 0; let start = 0; let equalsIndex = -1; function parsePair(start, equalsIndex, end) { - if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); - if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); - if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + if (start == null) dart.nullFailed(I[175], 2972, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2972, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2972, 52, "end"); let key = null; let value = null; if (start == end) return; @@ -123673,7 +135290,7 @@ core._Uri = class _Uri extends core.Object { key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); } - result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + result[$putIfAbsent](key, C[443] || CT.C443)[$add](value); } dart.fn(parsePair, T$0.intAndintAndintTovoid()); while (i < query.length) { @@ -123691,10 +135308,10 @@ core._Uri = class _Uri extends core.Object { return result; } static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { - if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); - if (text == null) dart.nullFailed(I[7], 876, 61, "text"); - if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); - if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (canonicalTable == null) dart.nullFailed(I[7], 945, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 945, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 946, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 946, 31, "spaceToPlus"); if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { return text; } @@ -123715,8 +135332,8 @@ core._Uri = class _Uri extends core.Object { return result.toString(); } static _hexCharPairToByte(s, pos) { - if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); - if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + if (s == null) dart.nullFailed(I[175], 3006, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 3006, 47, "pos"); let byte = 0; for (let i = 0; i < 2; i = i + 1) { let charCode = s[$codeUnitAt](dart.notNull(pos) + i); @@ -123734,14 +135351,14 @@ core._Uri = class _Uri extends core.Object { return byte; } static _uriDecode(text, start, end, encoding, plusToSpace) { - if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); - if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); - if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); - if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); - if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); - if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); - if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); - if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + if (text == null) dart.nullFailed(I[175], 3036, 14, "text"); + if (start == null) dart.nullFailed(I[175], 3036, 24, "start"); + if (end == null) dart.nullFailed(I[175], 3036, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 3036, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 3036, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 3037, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 3038, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 3039, 12, "end <= text.length"); let simple = true; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let codeUnit = text[$codeUnitAt](i); @@ -123780,19 +135397,19 @@ core._Uri = class _Uri extends core.Object { return encoding.decode(bytes); } static _isAlphabeticCharacter(codeUnit) { - if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + if (codeUnit == null) dart.nullFailed(I[175], 3081, 42, "codeUnit"); let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; return 97 <= lowerCase && lowerCase <= 122; } static _isUnreservedChar(char) { - if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + if (char == null) dart.nullFailed(I[175], 3086, 37, "char"); return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; } }; (core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { - if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); - if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); - if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + if (scheme == null) dart.nullFailed(I[175], 1578, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1578, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1578, 76, "path"); this[___Uri__text] = null; this[___Uri__text_isSet] = false; this[___Uri_pathSegments] = null; @@ -123829,6 +135446,7 @@ dart.setMethodSignature(core._Uri, () => ({ [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), [_initializeText]: dart.fnType(core.String, []) })); +dart.setStaticMethodSignature(core._Uri, () => ['notSimple', 'new', 'http', 'https', '_defaultPort', '_fail', '_makeHttpUri', 'file', 'directory', '_checkNonWindowsPathReservedCharacters', '_checkWindowsPathReservedCharacters', '_checkWindowsDriveLetter', '_makeFileUri', '_makeWindowsFileUrl', '_computePathSegments', '_computeQueryParametersAll', '_makePort', '_makeHost', '_checkZoneID', '_isZoneIDChar', '_normalizeZoneID', '_isRegNameChar', '_normalizeRegName', '_makeScheme', '_canonicalizeScheme', '_makeUserInfo', '_makePath', '_normalizePath', '_makeQuery', '_makeFragment', '_normalizeEscape', '_escapeChar', '_normalizeOrSubstring', '_normalize', '_isSchemeCharacter', '_isGeneralDelimiter', '_mayContainDotSegments', '_removeDotSegments', '_normalizeRelativePath', '_escapeScheme', '_packageNameEnd', '_toWindowsFilePath', '_createList', '_splitQueryStringAll', '_uriEncode', '_hexCharPairToByte', '_uriDecode', '_isAlphabeticCharacter', '_isUnreservedChar']); dart.setGetterSignature(core._Uri, () => ({ __proto__: dart.getGetters(core._Uri.__proto__), [_text$]: core.String, @@ -123852,7 +135470,8 @@ dart.setGetterSignature(core._Uri, () => ({ origin: core.String, data: dart.nullable(core.UriData) })); -dart.setLibraryUri(core._Uri, I[8]); +dart.setStaticGetterSignature(core._Uri, () => ['_isWindows']); +dart.setLibraryUri(core._Uri, I[9]); dart.setFieldSignature(core._Uri, () => ({ __proto__: dart.getFields(core._Uri.__proto__), scheme: dart.finalFieldType(core.String), @@ -123873,6 +135492,7 @@ dart.setFieldSignature(core._Uri, () => ({ [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(core._Uri, () => ['_isWindowsCached', '_needsNoEncoding', '_unreservedTable', '_unreserved2396Table', '_encodeFullTable', '_schemeTable', '_genDelimitersTable', '_userinfoTable', '_regNameTable', '_pathCharTable', '_pathCharOrSlashTable', '_queryCharTable', '_zoneIDTable']); dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); dart.defineExtensionAccessors(core._Uri, ['hashCode']); dart.defineLazy(core._Uri, { @@ -123883,54 +135503,60 @@ dart.defineLazy(core._Uri, { return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); }, /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; }, /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[434] || CT.C434; + return C[445] || CT.C445; }, /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[435] || CT.C435; + return C[446] || CT.C446; }, /*core._Uri._schemeTable*/get _schemeTable() { - return C[436] || CT.C436; + return C[447] || CT.C447; }, /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[437] || CT.C437; + return C[448] || CT.C448; }, /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[438] || CT.C438; + return C[449] || CT.C449; }, /*core._Uri._regNameTable*/get _regNameTable() { - return C[439] || CT.C439; + return C[450] || CT.C450; }, /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[440] || CT.C440; + return C[451] || CT.C451; }, /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[441] || CT.C441; + return C[452] || CT.C452; }, /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; }, /*core._Uri._zoneIDTable*/get _zoneIDTable() { - return C[433] || CT.C433; + return C[444] || CT.C444; } }, false); var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); var _uriCache$ = dart.privateName(core, "_uriCache"); var _computeUri = dart.privateName(core, "_computeUri"); +var _findCharsetIndex = dart.privateName(core, "_findCharsetIndex"); core.UriData = class UriData extends core.Object { + static ['_#_#tearOff'](_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); + return new core.UriData.__(_text, _separatorIndices, _uriCache); + } static fromString(content, opts) { - let t258; - if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let t239; + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; let encoding = opts && 'encoding' in opts ? opts.encoding : null; let parameters = opts && 'parameters' in opts ? opts.parameters : null; let base64 = opts && 'base64' in opts ? opts.base64 : false; - if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); let encodingName = null; if (encoding == null) { if (charsetName != null) { @@ -123952,13 +135578,22 @@ core.UriData = class UriData extends core.Object { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromString#tearOff'](content, opts) { + if (content == null) dart.nullFailed(I[175], 3383, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3387, 12, "base64"); + return core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + } static fromBytes(bytes, opts) { - if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; - if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); let parameters = opts && 'parameters' in opts ? opts.parameters : null; let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; - if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); let buffer = new core.StringBuffer.new(); let indices = T$.JSArrayOfint().of([-1]); core.UriData._writeUri(mimeType, null, parameters, buffer, indices); @@ -123973,9 +135608,18 @@ core.UriData = class UriData extends core.Object { } return new core.UriData.__(buffer.toString(), indices, null); } + static ['_#fromBytes#tearOff'](bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3418, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3419, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3421, 12, "percentEncoded"); + return core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + } static fromUri(uri) { - if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); - if (uri.scheme !== "data") { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + if (!dart.test(uri.isScheme("data"))) { dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); } if (dart.test(uri.hasAuthority)) { @@ -123989,10 +135633,14 @@ core.UriData = class UriData extends core.Object { } return core.UriData._parse(dart.toString(uri), 5, uri); } + static ['_#fromUri#tearOff'](uri) { + if (uri == null) dart.nullFailed(I[175], 3445, 31, "uri"); + return core.UriData.fromUri(uri); + } static _writeUri(mimeType, charsetName, parameters, buffer, indices) { - let t258, t258$; - if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); - if (mimeType == null || mimeType === "text/plain") { + let t239, t239$; + if (buffer == null) dart.nullFailed(I[175], 3473, 20, "buffer"); + if (mimeType == null || dart.test(core._caseInsensitiveEquals("text/plain", mimeType))) { mimeType = ""; } if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { @@ -124007,40 +135655,38 @@ core.UriData = class UriData extends core.Object { buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); } if (charsetName != null) { - if (indices != null) { - t258 = indices; - (() => { - t258[$add](buffer.length); - t258[$add](dart.notNull(buffer.length) + 8); - return t258; - })(); - } + t239 = indices; + t239 == null ? null : (() => { + t239[$add](buffer.length); + t239[$add](dart.notNull(buffer.length) + 8); + return t239; + })(); buffer.write(";charset="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); } - t258$ = parameters; - t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { - let t259, t259$; - if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); - if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + t239$ = parameters; + t239$ == null ? null : t239$[$forEach](dart.fn((key, value) => { + let t240, t240$; + if (key == null) dart.nullFailed(I[175], 3499, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3499, 31, "value"); if (key[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); } if (value[$isEmpty]) { dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); } - t259 = indices; - t259 == null ? null : t259[$add](buffer.length); + t240 = indices; + t240 == null ? null : t240[$add](buffer.length); buffer.write(";"); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - t259$ = indices; - t259$ == null ? null : t259$[$add](buffer.length); + t240$ = indices; + t240$ == null ? null : t240$[$add](buffer.length); buffer.write("="); buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); }, T$0.StringAndStringTovoid())); } static _validateMimeType(mimeType) { - if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + if (mimeType == null) dart.nullFailed(I[175], 3524, 39, "mimeType"); let slashIndex = -1; for (let i = 0; i < mimeType.length; i = i + 1) { let char = mimeType[$codeUnitAt](i); @@ -124054,7 +135700,7 @@ core.UriData = class UriData extends core.Object { return slashIndex; } static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); if (uri.length >= 5) { let dataDelta = core._startsWithData(uri, 0); if (dataDelta === 0) { @@ -124067,9 +135713,9 @@ core.UriData = class UriData extends core.Object { dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); } get uri() { - let t258; - t258 = this[_uriCache$]; - return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + let t239; + t239 = this[_uriCache$]; + return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; } [_computeUri]() { let path = this[_text$]; @@ -124090,20 +135736,61 @@ core.UriData = class UriData extends core.Object { if (start === end) return "text/plain"; return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); } + isMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3637, 26, "mimeType"); + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) { + return mimeType[$isEmpty] || mimeType === "text/plain" || dart.test(core._caseInsensitiveEquals(mimeType, "text/plain")); + } + if (mimeType[$isEmpty]) mimeType = "text/plain"; + return mimeType.length === dart.notNull(end) - start && dart.test(core._caseInsensitiveStartsWith(mimeType, this[_text$], start)); + } get charset() { - let parameterStart = 1; - let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; - if (dart.test(this.isBase64)) { - parameterEnd = parameterEnd - 1; + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) >= 0) { + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false); } - for (let i = parameterStart; i < parameterEnd; i = i + 2) { - let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; - let keyEnd = this[_separatorIndices$][$_get](i + 1); - if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { - return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + return "US-ASCII"; + } + [_findCharsetIndex]() { + let separatorIndices = this[_separatorIndices$]; + for (let i = 3; i <= dart.notNull(separatorIndices[$length]); i = i + 2) { + let keyStart = dart.notNull(separatorIndices[$_get](i - 2)) + 1; + let keyEnd = separatorIndices[$_get](i - 1); + if (keyEnd === keyStart + "charset".length && dart.test(core._caseInsensitiveStartsWith("charset", this[_text$], keyStart))) { + return i - 2; } } - return "US-ASCII"; + return -1; + } + isCharset(charset) { + if (charset == null) dart.nullFailed(I[175], 3700, 25, "charset"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return charset[$isEmpty] || dart.test(core._caseInsensitiveEquals(charset, "US-ASCII")) || convert.Encoding.getByName(charset) == convert.ascii; + } + if (charset[$isEmpty]) charset = "US-ASCII"; + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + let length = dart.notNull(valueEnd) - valueStart; + if (charset.length === length && dart.test(core._caseInsensitiveStartsWith(charset, this[_text$], valueStart))) { + return true; + } + let checkedEncoding = convert.Encoding.getByName(charset); + return checkedEncoding != null && checkedEncoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); + } + isEncoding(encoding) { + if (encoding == null) dart.nullFailed(I[175], 3730, 28, "encoding"); + let charsetIndex = this[_findCharsetIndex](); + if (dart.notNull(charsetIndex) < 0) { + return encoding == convert.ascii; + } + let valueStart = dart.notNull(this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 1)) + 1; + let valueEnd = this[_separatorIndices$][$_get](dart.notNull(charsetIndex) + 2); + return encoding == convert.Encoding.getByName(core._Uri._uriDecode(this[_text$], valueStart, valueEnd, convert.utf8, false)); } get isBase64() { return this[_separatorIndices$][$length][$isOdd]; @@ -124112,7 +135799,7 @@ core.UriData = class UriData extends core.Object { return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); } contentAsBytes() { - let t258, t258$; + let t239, t239$; let text = this[_text$]; let start = dart.notNull(this[_separatorIndices$][$last]) + 1; if (dart.test(this.isBase64)) { @@ -124135,12 +135822,12 @@ core.UriData = class UriData extends core.Object { for (let i = start; i < text.length; i = i + 1) { let codeUnit = text[$codeUnitAt](i); if (codeUnit !== 37) { - result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + result[$_set]((t239 = index, index = t239 + 1, t239), codeUnit); } else { if (i + 2 < text.length) { let byte = _internal.parseHexByte(text, i + 1); if (dart.notNull(byte) >= 0) { - result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + result[$_set]((t239$ = index, index = t239$ + 1, t239$), byte); i = i + 2; continue; } @@ -124148,7 +135835,7 @@ core.UriData = class UriData extends core.Object { dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); } } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); return result; } contentAsString(opts) { @@ -124181,10 +135868,10 @@ core.UriData = class UriData extends core.Object { return result; } static _parse(text, start, sourceUri) { - if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); - if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); - if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); - if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + if (text == null) dart.nullFailed(I[175], 3857, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3857, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3858, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3859, 12, "(start == 5) == text.startsWith(\"data:\")"); let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); let slashIndex = -1; let char = null; @@ -124238,9 +135925,9 @@ core.UriData = class UriData extends core.Object { return new core.UriData.__(text, indices, sourceUri); } static _uriEncodeBytes(canonicalTable, bytes, buffer) { - if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); - if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); - if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + if (canonicalTable == null) dart.nullFailed(I[175], 3933, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3933, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3933, 61, "buffer"); let byteOr = 0; for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { let byte = bytes[$_get](i); @@ -124267,8 +135954,8 @@ core.UriData = class UriData extends core.Object { } }; (core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); - if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + if (_text == null) dart.nullFailed(I[175], 3374, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3374, 30, "_separatorIndices"); this[_text$] = _text; this[_separatorIndices$] = _separatorIndices; this[_uriCache$] = _uriCache; @@ -124279,9 +135966,14 @@ dart.addTypeCaches(core.UriData); dart.setMethodSignature(core.UriData, () => ({ __proto__: dart.getMethods(core.UriData.__proto__), [_computeUri]: dart.fnType(core.Uri, []), + isMimeType: dart.fnType(core.bool, [core.String]), + [_findCharsetIndex]: dart.fnType(core.int, []), + isCharset: dart.fnType(core.bool, [core.String]), + isEncoding: dart.fnType(core.bool, [convert.Encoding]), contentAsBytes: dart.fnType(typed_data.Uint8List, []), contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) })); +dart.setStaticMethodSignature(core.UriData, () => ['fromString', 'fromBytes', 'fromUri', '_writeUri', '_validateMimeType', 'parse', '_parse', '_uriEncodeBytes']); dart.setGetterSignature(core.UriData, () => ({ __proto__: dart.getGetters(core.UriData.__proto__), uri: core.Uri, @@ -124291,26 +135983,27 @@ dart.setGetterSignature(core.UriData, () => ({ contentText: core.String, parameters: core.Map$(core.String, core.String) })); -dart.setLibraryUri(core.UriData, I[8]); +dart.setLibraryUri(core.UriData, I[9]); dart.setFieldSignature(core.UriData, () => ({ __proto__: dart.getFields(core.UriData.__proto__), [_text$]: dart.finalFieldType(core.String), [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) })); +dart.setStaticFieldSignature(core.UriData, () => ['_noScheme', '_base64', '_tokenCharTable', '_uricTable']); dart.defineExtensionMethods(core.UriData, ['toString']); dart.defineLazy(core.UriData, { /*core.UriData._noScheme*/get _noScheme() { return -1; }, /*core.UriData._base64*/get _base64() { - return C[103] || CT.C103; + return C[110] || CT.C110; }, /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[443] || CT.C443; + return C[454] || CT.C454; }, /*core.UriData._uricTable*/get _uricTable() { - return C[442] || CT.C442; + return C[453] || CT.C453; } }, false); var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); @@ -124332,6 +136025,16 @@ var _isPort = dart.privateName(core, "_isPort"); var _simpleMerge = dart.privateName(core, "_simpleMerge"); var _toNonSimple = dart.privateName(core, "_toNonSimple"); core._SimpleUri = class _SimpleUri extends core.Object { + static ['_#new#tearOff'](_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); + return new core._SimpleUri.new(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache); + } get hasScheme() { return dart.notNull(this[_schemeEnd$]) > 0; } @@ -124363,7 +136066,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); } [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); } get hasAbsolutePath() { @@ -124376,15 +136079,15 @@ core._SimpleUri = class _SimpleUri extends core.Object { return dart.test(this.hasScheme) && !dart.test(this.hasFragment); } isScheme(scheme) { - if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null) dart.nullFailed(I[175], 4446, 24, "scheme"); if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; if (scheme.length !== this[_schemeEnd$]) return false; - return core._Uri._compareScheme(scheme, this[_uri$]); + return core._caseInsensitiveStartsWith(scheme, this[_uri$], 0); } get scheme() { - let t258; - t258 = this[_schemeCache$]; - return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + let t239; + t239 = this[_schemeCache$]; + return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; } [_computeScheme]() { if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; @@ -124438,7 +136141,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { let start = this[_pathStart$]; let end = this[_queryStart$]; if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - if (start == end) return C[404] || CT.C404; + if (start == end) return C[415] || CT.C415; let parts = T$.JSArrayOfString().of([]); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = this[_uri$][$codeUnitAt](i); @@ -124451,17 +136154,17 @@ core._SimpleUri = class _SimpleUri extends core.Object { return T$.ListOfString().unmodifiable(parts); } get queryParameters() { - if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + if (!dart.test(this.hasQuery)) return C[455] || CT.C455; return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); } get queryParametersAll() { - if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + if (!dart.test(this.hasQuery)) return C[441] || CT.C441; let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[431] || CT.C431); + queryParameterLists[$updateAll](C[442] || CT.C442); return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); } [_isPort](port) { - if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + if (port == null) dart.nullFailed(I[175], 4538, 23, "port"); let portDigitStart = dart.notNull(this[_portStart$]) + 1; return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); } @@ -124534,26 +136237,26 @@ core._SimpleUri = class _SimpleUri extends core.Object { return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); } resolve(reference) { - if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4622, 22, "reference"); return this.resolveUri(core.Uri.parse(reference)); } resolveUri(reference) { - if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (reference == null) dart.nullFailed(I[175], 4626, 22, "reference"); if (core._SimpleUri.is(reference)) { return this[_simpleMerge](this, reference); } return this[_toNonSimple]().resolveUri(reference); } static _packageNameEnd(uri) { - if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (uri == null) dart.nullFailed(I[175], 4643, 41, "uri"); if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); } return -1; } [_simpleMerge](base, ref) { - if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); - if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (base == null) dart.nullFailed(I[175], 4657, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4657, 48, "ref"); if (dart.test(ref.hasScheme)) return ref; if (dart.test(ref.hasAuthority)) { if (!dart.test(base.hasScheme)) return ref; @@ -124640,7 +136343,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); } toFilePath(opts) { - let t258; + let t239; let windows = opts && 'windows' in opts ? opts.windows : null; if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); @@ -124651,7 +136354,7 @@ core._SimpleUri = class _SimpleUri extends core.Object { } dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); } - return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + return dart.test((t239 = windows, t239 == null ? core._Uri._isWindows : t239)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); } [_toFilePath]() { if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { @@ -124660,13 +136363,13 @@ core._SimpleUri = class _SimpleUri extends core.Object { return this.path; } get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); return null; } get hashCode() { - let t258; - t258 = this[_hashCodeCache]; - return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + let t239; + t239 = this[_hashCodeCache]; + return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; } _equals(other) { if (other == null) return false; @@ -124681,13 +136384,13 @@ core._SimpleUri = class _SimpleUri extends core.Object { } }; (core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { - if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); - if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); - if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); - if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); - if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); - if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); - if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + if (_uri == null) dart.nullFailed(I[175], 4416, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4417, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4418, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4419, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4420, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4421, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4422, 12, "_fragmentStart"); this[_hashCodeCache] = null; this[_uri$] = _uri; this[_schemeEnd$] = _schemeEnd; @@ -124718,6 +136421,7 @@ dart.setMethodSignature(core._SimpleUri, () => ({ [_toFilePath]: dart.fnType(core.String, []), [_toNonSimple]: dart.fnType(core.Uri, []) })); +dart.setStaticMethodSignature(core._SimpleUri, () => ['_packageNameEnd']); dart.setGetterSignature(core._SimpleUri, () => ({ __proto__: dart.getGetters(core._SimpleUri.__proto__), hasScheme: core.bool, @@ -124747,7 +136451,7 @@ dart.setGetterSignature(core._SimpleUri, () => ({ queryParametersAll: core.Map$(core.String, core.List$(core.String)), data: dart.nullable(core.UriData) })); -dart.setLibraryUri(core._SimpleUri, I[8]); +dart.setLibraryUri(core._SimpleUri, I[9]); dart.setFieldSignature(core._SimpleUri, () => ({ __proto__: dart.getFields(core._SimpleUri.__proto__), [_uri$]: dart.finalFieldType(core.String), @@ -124764,38 +136468,210 @@ dart.defineExtensionMethods(core._SimpleUri, ['_equals', 'toString']); dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); var _data$0 = dart.privateName(core, "_data"); core._DataUri = class _DataUri extends core._Uri { + static ['_#new#tearOff'](_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); + return new core._DataUri.new(_data, path, query); + } get data() { return this[_data$0]; } }; (core._DataUri.new = function(_data, path, query) { - if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); - if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + if (_data == null) dart.nullFailed(I[175], 4897, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4897, 31, "path"); this[_data$0] = _data; core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); ; }).prototype = core._DataUri.prototype; dart.addTypeTests(core._DataUri); dart.addTypeCaches(core._DataUri); -dart.setLibraryUri(core._DataUri, I[8]); +dart.setLibraryUri(core._DataUri, I[9]); dart.setFieldSignature(core._DataUri, () => ({ __proto__: dart.getFields(core._DataUri.__proto__), [_data$0]: dart.finalFieldType(core.UriData) })); +var name$14 = dart.privateName(core, "Expando.name"); +var _jsWeakMap = dart.privateName(core, "_jsWeakMap"); +const _is_Expando_default = Symbol('_is_Expando_default'); +core.Expando$ = dart.generic(T => { + var __t$TN = () => (__t$TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + static ['_#new#tearOff'](T, name = null) { + return new (core.Expando$(T)).new(name); + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 153, 25, "object"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string' || core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + return this[_jsWeakMap].get(object); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 170, 28, "object"); + __t$TN().as(value); + if (core.Record.is(object)) { + dart.throw(new core.ArgumentError.value(object, "Expandos are not allowed on strings, numbers, booleans, records," + " or null")); + } + this[_jsWeakMap].set(object, value); + return value$; + } + } + (Expando.new = function(name = null) { + this[_jsWeakMap] = new WeakMap(); + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[9]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + [_jsWeakMap]: dart.finalFieldType(core.Object), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; +}); +core.Expando = core.Expando$(); +dart.addTypeTests(core.Expando, _is_Expando_default); +const _is_WeakReference_default = Symbol('_is_WeakReference_default'); +core.WeakReference$ = dart.generic(T => { + class WeakReference extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return new (core._WeakReferenceWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 187, 27, "object"); + return core.WeakReference$(T).new(object); + } + } + (WeakReference[dart.mixinNew] = function() { + }).prototype = WeakReference.prototype; + dart.addTypeTests(WeakReference); + WeakReference.prototype[_is_WeakReference_default] = true; + dart.addTypeCaches(WeakReference); + dart.setStaticMethodSignature(WeakReference, () => ['new']); + dart.setLibraryUri(WeakReference, I[9]); + return WeakReference; +}); +core.WeakReference = core.WeakReference$(); +dart.addTypeTests(core.WeakReference, _is_WeakReference_default); +const _is_Finalizer_default = Symbol('_is_Finalizer_default'); +core.Finalizer$ = dart.generic(T => { + class Finalizer extends core.Object { + static new(object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return new (core._FinalizationRegistryWrapper$(T)).new(object); + } + static ['_#new#tearOff'](T, object) { + if (object == null) dart.nullFailed(I[7], 210, 38, "object"); + return core.Finalizer$(T).new(object); + } + } + (Finalizer[dart.mixinNew] = function() { + }).prototype = Finalizer.prototype; + dart.addTypeTests(Finalizer); + Finalizer.prototype[_is_Finalizer_default] = true; + dart.addTypeCaches(Finalizer); + dart.setStaticMethodSignature(Finalizer, () => ['new']); + dart.setLibraryUri(Finalizer, I[9]); + return Finalizer; +}); +core.Finalizer = core.Finalizer$(); +dart.addTypeTests(core.Finalizer, _is_Finalizer_default); core._symbolToString = function _symbolToString(symbol) { if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); }; core._max = function _max(a, b) { - if (a == null) dart.nullFailed(I[7], 933, 14, "a"); - if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1001, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1001, 21, "b"); return dart.notNull(a) > dart.notNull(b) ? a : b; }; core._min = function _min(a, b) { - if (a == null) dart.nullFailed(I[7], 934, 14, "a"); - if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + if (a == null) dart.nullFailed(I[7], 1002, 14, "a"); + if (b == null) dart.nullFailed(I[7], 1002, 21, "b"); return dart.notNull(a) < dart.notNull(b) ? a : b; }; +core['DateTimeCopyWith|copyWith'] = function DateTimeCopyWith$124copyWith($this, opts) { + let t240, t240$, t240$0, t240$1, t240$2, t240$3, t240$4, t240$5, t240$6; + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return (dart.test((t240 = isUtc, t240 == null ? $this.isUtc : t240)) ? C[456] || CT.C456 : C[457] || CT.C457)((t240$ = year, t240$ == null ? $this.year : t240$), (t240$0 = month, t240$0 == null ? $this.month : t240$0), (t240$1 = day, t240$1 == null ? $this.day : t240$1), (t240$2 = hour, t240$2 == null ? $this.hour : t240$2), (t240$3 = minute, t240$3 == null ? $this.minute : t240$3), (t240$4 = second, t240$4 == null ? $this.second : t240$4), (t240$5 = millisecond, t240$5 == null ? $this.millisecond : t240$5), (t240$6 = microsecond, t240$6 == null ? $this.microsecond : t240$6)); +}; +core['DateTimeCopyWith|get#copyWith'] = function DateTimeCopyWith$124get$35copyWith($this) { + if ($this == null) dart.nullFailed(I[167], 908, 12, "#this"); + return dart.fn(opts => { + let year = opts && 'year' in opts ? opts.year : null; + let month = opts && 'month' in opts ? opts.month : null; + let day = opts && 'day' in opts ? opts.day : null; + let hour = opts && 'hour' in opts ? opts.hour : null; + let minute = opts && 'minute' in opts ? opts.minute : null; + let second = opts && 'second' in opts ? opts.second : null; + let millisecond = opts && 'millisecond' in opts ? opts.millisecond : null; + let microsecond = opts && 'microsecond' in opts ? opts.microsecond : null; + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + return core['DateTimeCopyWith|copyWith']($this, {year: year, month: month, day: day, hour: hour, minute: minute, second: second, millisecond: millisecond, microsecond: microsecond, isUtc: isUtc}); + }, T$0.__ToDateTime()); +}; +core['EnumName|get#name'] = function EnumName$124get$35name($this) { + if ($this == null) dart.nullFailed(I[122], 136, 14, "#this"); + return $this[_name$4]; +}; +core['EnumByName|byName'] = function EnumByName$124byName(T, $this, name) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + for (let value of $this) { + if (value[_name$4] == name) return value; + } + dart.throw(new core.ArgumentError.value(name, "name", "No enum value with that name")); +}; +core['EnumByName|get#byName'] = function EnumByName$124get$35byName(T, $this) { + if ($this == null) dart.nullFailed(I[122], 161, 5, "#this"); + return dart.fn(name => { + if (name == null) dart.nullFailed(I[122], 161, 19, "name"); + return core['EnumByName|byName'](T, $this, name); + }, dart.fnType(T, [core.String])); +}; +core['EnumByName|asNameMap'] = function EnumByName$124asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return (() => { + let t245 = new (_js_helper.IdentityMap$(core.String, T)).new(); + for (let value of $this) + t245[$_set](value[_name$4], value); + return t245; + })(); +}; +core['EnumByName|get#asNameMap'] = function EnumByName$124get$35asNameMap(T, $this) { + if ($this == null) dart.nullFailed(I[122], 176, 18, "#this"); + return dart.fn(() => core['EnumByName|asNameMap'](T, $this), dart.fnType(core.Map$(core.String, T), [])); +}; core.identical = function identical(a, b) { return a == null ? b == null : a === b; }; @@ -124809,7 +136685,7 @@ core.identityHashCode = function identityHashCode(object) { return hash; }; core.print = function print$0(object) { - let line = dart.toString(object); + let line = dart.str(object); let toZone = _internal.printToZone; if (toZone == null) { _internal.printToConsole(line); @@ -124818,38 +136694,38 @@ core.print = function print$0(object) { } }; core._isLeadSurrogate = function _isLeadSurrogate$(code) { - if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + if (code == null) dart.nullFailed(I[173], 791, 27, "code"); return (dart.notNull(code) & 64512) === 55296; }; core._isTrailSurrogate = function _isTrailSurrogate(code) { - if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + if (code == null) dart.nullFailed(I[173], 794, 28, "code"); return (dart.notNull(code) & 64512) === 56320; }; core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { - if (start == null) dart.nullFailed(I[174], 631, 31, "start"); - if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + if (start == null) dart.nullFailed(I[173], 797, 31, "start"); + if (end == null) dart.nullFailed(I[173], 797, 42, "end"); return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); }; core._createTables = function _createTables() { let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + if (_ == null) dart.nullFailed(I[175], 4180, 54, "_"); return _native_typed_data.NativeUint8List.new(96); }, T$0.intToUint8List())); function build(state, defaultTransition) { - let t258; - t258 = tables[$_get](core.int.as(state)); + let t247; + t247 = tables[$_get](core.int.as(state)); return (() => { - t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); - return t258; + t247[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t247; })(); } dart.fn(build, T$0.dynamicAnddynamicToUint8List()); function setChars(target, chars, transition) { - if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); - if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); - if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4191, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 4191, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 4191, 53, "transition"); for (let i = 0; i < chars.length; i = i + 1) { let char = chars[$codeUnitAt](i); target[$_set]((char ^ 96) >>> 0, transition); @@ -124857,9 +136733,9 @@ core._createTables = function _createTables() { } dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); function setRange(target, range, transition) { - if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); - if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); - if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + if (target == null) dart.nullFailed(I[175], 4204, 27, "target"); + if (range == null) dart.nullFailed(I[175], 4204, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 4204, 53, "transition"); for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { target[$_set]((i ^ 96) >>> 0, transition); } @@ -124871,13 +136747,14 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), ".", 14); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(14, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ".", 15); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(15, (1 | 224) >>> 0); @@ -124885,23 +136762,27 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(1, (1 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 1); setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(2, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (3 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(3, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), ".", 18); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); @@ -124912,6 +136793,7 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(5, (5 | 224) >>> 0); @@ -124920,18 +136802,21 @@ core._createTables = function _createTables() { setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(6, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "19", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(7, (7 | 224) >>> 0); setRange(typed_data.Uint8List.as(b), "09", 7); setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 128) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(8, 8); @@ -124939,40 +136824,43 @@ core._createTables = function _createTables() { b = build(9, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 16); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(16, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 17); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(17, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "\\", (9 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(10, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 18); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(18, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), ".", 19); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(19, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); - setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(11, (11 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), pchar, 11); setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "\\", (10 | 224) >>> 0); setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); b = build(12, (12 | 224) >>> 0); @@ -124991,13 +136879,13 @@ core._createTables = function _createTables() { return tables; }; core._scan = function _scan(uri, start, end, state, indices) { - if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); - if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); - if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); - if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); - if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + if (uri == null) dart.nullFailed(I[175], 4384, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4384, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4384, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4384, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4384, 64, "indices"); let tables = core._scannerTables; - if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4386, 10, "end <= uri.length"); for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let table = tables[$_get](state); let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; @@ -125009,8 +136897,8 @@ core._scan = function _scan(uri, start, end, state, indices) { return state; }; core._startsWithData = function _startsWithData(text, start) { - if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); - if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + if (text == null) dart.nullFailed(I[175], 4911, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4911, 38, "start"); let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; @@ -125022,14 +136910,14 @@ core._stringOrNullLength = function _stringOrNullLength(s) { return s == null ? 0 : s.length; }; core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { - if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); - if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + if (key == null) dart.nullFailed(I[175], 4924, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4924, 65, "list"); return T$.ListOfString().unmodifiable(list); }; core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { - if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); - if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); - if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + if (source == null) dart.nullFailed(I[175], 4936, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4936, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4936, 57, "end"); let dots = 0; for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { let char = source[$codeUnitAt](i); @@ -125039,15 +136927,48 @@ core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) } return -1; }; +core._caseInsensitiveStartsWith = function _caseInsensitiveStartsWith(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4962, 40, "prefix"); + if (string == null) dart.nullFailed(I[175], 4962, 55, "string"); + if (start == null) dart.nullFailed(I[175], 4962, 67, "start"); + return dart.notNull(core._caseInsensitiveCompareStart(prefix, string, start)) >= 0; +}; +core._caseInsensitiveCompareStart = function _caseInsensitiveCompareStart(prefix, string, start) { + if (prefix == null) dart.nullFailed(I[175], 4974, 41, "prefix"); + if (string == null) dart.nullFailed(I[175], 4974, 56, "string"); + if (start == null) dart.nullFailed(I[175], 4974, 68, "start"); + let result = 0; + for (let i = 0; i < prefix.length; i = i + 1) { + let prefixChar = prefix[$codeUnitAt](i); + let stringChar = string[$codeUnitAt](dart.notNull(start) + i); + let delta = (prefixChar ^ stringChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (stringChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; +}; +core._caseInsensitiveEquals = function _caseInsensitiveEquals(string1, string2) { + if (string1 == null) dart.nullFailed(I[175], 5000, 36, "string1"); + if (string2 == null) dart.nullFailed(I[175], 5000, 52, "string2"); + return string1.length === string2.length && dart.test(core._caseInsensitiveStartsWith(string1, string2, 0)); +}; dart.defineLazy(core, { /*core._dummyList*/get _dummyList() { return _native_typed_data.NativeUint16List.new(0); }, /*core.deprecated*/get deprecated() { - return C[445] || CT.C445; + return C[458] || CT.C458; }, /*core.override*/get override() { - return C[446] || CT.C446; + return C[459] || CT.C459; }, /*core.provisional*/get provisional() { return null; @@ -125055,6 +136976,9 @@ dart.defineLazy(core, { /*core.proxy*/get proxy() { return null; }, + /*core._hashSeed*/get _hashSeed() { + return core.identityHashCode(dart.wrapType(core.Object)); + }, /*core._SPACE*/get _SPACE() { return 32; }, @@ -125154,6 +137078,7 @@ _http.HttpServer = class HttpServer extends core.Object { return this[autoCompress]; } set autoCompress(value) { + if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); this[autoCompress] = value; } get idleTimeout() { @@ -125163,42 +137088,47 @@ _http.HttpServer = class HttpServer extends core.Object { this[idleTimeout] = value; } static bind(address, port, opts) { - if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + if (port == null) dart.nullFailed(I[176], 189, 47, "port"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 190, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 190, 34, "v6Only"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + if (shared == null) dart.nullFailed(I[176], 190, 55, "shared"); return _http._HttpServer.bind(address, port, backlog, v6Only, shared); } static bindSecure(address, port, context, opts) { - if (port == null) dart.nullFailed(I[176], 272, 24, "port"); - if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + if (port == null) dart.nullFailed(I[176], 232, 24, "port"); + if (context == null) dart.nullFailed(I[176], 232, 46, "context"); let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + if (backlog == null) dart.nullFailed(I[176], 233, 16, "backlog"); let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + if (v6Only == null) dart.nullFailed(I[176], 234, 16, "v6Only"); let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + if (requestClientCertificate == null) dart.nullFailed(I[176], 235, 16, "requestClientCertificate"); let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + if (shared == null) dart.nullFailed(I[176], 236, 16, "shared"); return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); } static listenOn(serverSocket) { - if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); return new _http._HttpServer.listenOn(serverSocket); } + static ['_#listenOn#tearOff'](serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 243, 44, "serverSocket"); + return _http.HttpServer.listenOn(serverSocket); + } }; (_http.HttpServer[dart.mixinNew] = function() { this[serverHeader] = null; this[autoCompress] = false; - this[idleTimeout] = C[447] || CT.C447; + this[idleTimeout] = C[460] || CT.C460; }).prototype = _http.HttpServer.prototype; _http.HttpServer.prototype[dart.isStream] = true; dart.addTypeTests(_http.HttpServer); dart.addTypeCaches(_http.HttpServer); _http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; +dart.setStaticMethodSignature(_http.HttpServer, () => ['bind', 'bindSecure', 'listenOn']); dart.setLibraryUri(_http.HttpServer, I[177]); dart.setFieldSignature(_http.HttpServer, () => ({ __proto__: dart.getFields(_http.HttpServer.__proto__), @@ -125215,26 +137145,33 @@ _http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { return this[total]; } set total(value) { + if (value == null) dart.nullFailed(I[176], 280, 7, "total"); this[total] = value; } get active() { return this[active]; } set active(value) { + if (value == null) dart.nullFailed(I[176], 284, 7, "active"); this[active] = value; } get idle() { return this[idle]; } set idle(value) { + if (value == null) dart.nullFailed(I[176], 287, 7, "idle"); this[idle] = value; } get closing() { return this[closing]; } set closing(value) { + if (value == null) dart.nullFailed(I[176], 293, 7, "closing"); this[closing] = value; } + static ['_#new#tearOff']() { + return new _http.HttpConnectionsInfo.new(); + } }; (_http.HttpConnectionsInfo.new = function() { this[total] = 0; @@ -125305,25 +137242,26 @@ _http.HttpHeaders = class HttpHeaders extends core.Object { return this[contentLength]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); this[contentLength] = value; } get persistentConnection() { - let t258; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t258) { - if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = t258; + this[__HttpHeaders_persistentConnection] = persistentConnection$35param; } get chunkedTransferEncoding() { - let t259; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + let t247; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); } - set chunkedTransferEncoding(t259) { - if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + set chunkedTransferEncoding(chunkedTransferEncoding$35param) { + if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = t259; + this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; } }; (_http.HttpHeaders.new = function() { @@ -125367,6 +137305,7 @@ dart.setFieldSignature(_http.HttpHeaders, () => ({ [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(_http.HttpHeaders, () => ['acceptHeader', 'acceptCharsetHeader', 'acceptEncodingHeader', 'acceptLanguageHeader', 'acceptRangesHeader', 'accessControlAllowCredentialsHeader', 'accessControlAllowHeadersHeader', 'accessControlAllowMethodsHeader', 'accessControlAllowOriginHeader', 'accessControlExposeHeadersHeader', 'accessControlMaxAgeHeader', 'accessControlRequestHeadersHeader', 'accessControlRequestMethodHeader', 'ageHeader', 'allowHeader', 'authorizationHeader', 'cacheControlHeader', 'connectionHeader', 'contentEncodingHeader', 'contentLanguageHeader', 'contentLengthHeader', 'contentLocationHeader', 'contentMD5Header', 'contentRangeHeader', 'contentTypeHeader', 'dateHeader', 'etagHeader', 'expectHeader', 'expiresHeader', 'fromHeader', 'hostHeader', 'ifMatchHeader', 'ifModifiedSinceHeader', 'ifNoneMatchHeader', 'ifRangeHeader', 'ifUnmodifiedSinceHeader', 'lastModifiedHeader', 'locationHeader', 'maxForwardsHeader', 'pragmaHeader', 'proxyAuthenticateHeader', 'proxyAuthorizationHeader', 'rangeHeader', 'refererHeader', 'retryAfterHeader', 'serverHeader', 'teHeader', 'trailerHeader', 'transferEncodingHeader', 'upgradeHeader', 'userAgentHeader', 'varyHeader', 'viaHeader', 'warningHeader', 'wwwAuthenticateHeader', 'cookieHeader', 'setCookieHeader', 'generalHeaders', 'entityHeaders', 'responseHeaders', 'requestHeaders']); dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { return "accept"; @@ -125383,6 +137322,30 @@ dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { return "accept-ranges"; }, + /*_http.HttpHeaders.accessControlAllowCredentialsHeader*/get accessControlAllowCredentialsHeader() { + return "access-control-allow-credentials"; + }, + /*_http.HttpHeaders.accessControlAllowHeadersHeader*/get accessControlAllowHeadersHeader() { + return "access-control-allow-headers"; + }, + /*_http.HttpHeaders.accessControlAllowMethodsHeader*/get accessControlAllowMethodsHeader() { + return "access-control-allow-methods"; + }, + /*_http.HttpHeaders.accessControlAllowOriginHeader*/get accessControlAllowOriginHeader() { + return "access-control-allow-origin"; + }, + /*_http.HttpHeaders.accessControlExposeHeadersHeader*/get accessControlExposeHeadersHeader() { + return "access-control-expose-headers"; + }, + /*_http.HttpHeaders.accessControlMaxAgeHeader*/get accessControlMaxAgeHeader() { + return "access-control-max-age"; + }, + /*_http.HttpHeaders.accessControlRequestHeadersHeader*/get accessControlRequestHeadersHeader() { + return "access-control-request-headers"; + }, + /*_http.HttpHeaders.accessControlRequestMethodHeader*/get accessControlRequestMethodHeader() { + return "access-control-request-method"; + }, /*_http.HttpHeaders.ageHeader*/get ageHeader() { return "age"; }, @@ -125509,197 +137472,43 @@ dart.defineLazy(_http.HttpHeaders, { /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { return "www-authenticate"; }, - /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { - return "accept"; - }, - /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { - return "accept-charset"; - }, - /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { - return "accept-language"; - }, - /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { - return "accept-ranges"; - }, - /*_http.HttpHeaders.AGE*/get AGE() { - return "age"; - }, - /*_http.HttpHeaders.ALLOW*/get ALLOW() { - return "allow"; - }, - /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { - return "authorization"; - }, - /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { - return "cache-control"; - }, - /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { - return "connection"; - }, - /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { - return "content-encoding"; - }, - /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { - return "content-language"; - }, - /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { - return "content-length"; - }, - /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { - return "content-location"; - }, - /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { - return "content-md5"; - }, - /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { - return "content-range"; - }, - /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { - return "content-type"; - }, - /*_http.HttpHeaders.DATE*/get DATE() { - return "date"; - }, - /*_http.HttpHeaders.ETAG*/get ETAG() { - return "etag"; - }, - /*_http.HttpHeaders.EXPECT*/get EXPECT() { - return "expect"; - }, - /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { - return "expires"; - }, - /*_http.HttpHeaders.FROM*/get FROM() { - return "from"; - }, - /*_http.HttpHeaders.HOST*/get HOST() { - return "host"; - }, - /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { - return "if-match"; - }, - /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { - return "if-none-match"; - }, - /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { - return "if-range"; - }, - /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { - return "last-modified"; - }, - /*_http.HttpHeaders.LOCATION*/get LOCATION() { - return "location"; - }, - /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { - return "max-forwards"; - }, - /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { - return "pragma"; - }, - /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.RANGE*/get RANGE() { - return "range"; - }, - /*_http.HttpHeaders.REFERER*/get REFERER() { - return "referer"; - }, - /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { - return "retry-after"; - }, - /*_http.HttpHeaders.SERVER*/get SERVER() { - return "server"; - }, - /*_http.HttpHeaders.TE*/get TE() { - return "te"; - }, - /*_http.HttpHeaders.TRAILER*/get TRAILER() { - return "trailer"; - }, - /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { - return "upgrade"; - }, - /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { - return "user-agent"; - }, - /*_http.HttpHeaders.VARY*/get VARY() { - return "vary"; - }, - /*_http.HttpHeaders.VIA*/get VIA() { - return "via"; - }, - /*_http.HttpHeaders.WARNING*/get WARNING() { - return "warning"; - }, - /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { - return "www-authenticate"; - }, /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { return "cookie"; }, /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { return "set-cookie"; }, - /*_http.HttpHeaders.COOKIE*/get COOKIE() { - return "cookie"; - }, - /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { - return "set-cookie"; - }, /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[448] || CT.C448; - }, - /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { - return C[448] || CT.C448; + return C[461] || CT.C461; }, /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[449] || CT.C449; - }, - /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { - return C[449] || CT.C449; + return C[462] || CT.C462; }, /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[450] || CT.C450; - }, - /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { - return C[450] || CT.C450; + return C[463] || CT.C463; }, /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[451] || CT.C451; - }, - /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { - return C[451] || CT.C451; + return C[464] || CT.C464; } }, false); _http.HeaderValue = class HeaderValue extends core.Object { - static new(value = "", parameters = C[452] || CT.C452) { - if (value == null) dart.nullFailed(I[176], 805, 15, "value"); - if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + static new(value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); return new _http._HeaderValue.new(value, parameters); } + static ['_#new#tearOff'](value = "", parameters = C[465] || CT.C465) { + if (value == null) dart.nullFailed(I[176], 609, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 609, 48, "parameters"); + return _http.HeaderValue.new(value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + if (value == null) dart.nullFailed(I[176], 615, 35, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[176], 616, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[176], 618, 12, "preserveBackslash"); return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); } }; @@ -125707,6 +137516,7 @@ _http.HeaderValue = class HeaderValue extends core.Object { }).prototype = _http.HeaderValue.prototype; dart.addTypeTests(_http.HeaderValue); dart.addTypeCaches(_http.HeaderValue); +dart.setStaticMethodSignature(_http.HeaderValue, () => ['new', 'parse']); dart.setLibraryUri(_http.HeaderValue, I[177]); _http.HttpSession = class HttpSession extends core.Object {}; (_http.HttpSession.new = function() { @@ -125719,15 +137529,23 @@ _http.HttpSession[dart.implements] = () => [core.Map]; dart.setLibraryUri(_http.HttpSession, I[177]); _http.ContentType = class ContentType extends core.Object { static new(primaryType, subType, opts) { - if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); - if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); let charset = opts && 'charset' in opts ? opts.charset : null; - let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; - if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); return new _http._ContentType.new(primaryType, subType, charset, parameters); } + static ['_#new#tearOff'](primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 692, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 692, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[465] || CT.C465; + if (parameters == null) dart.nullFailed(I[176], 693, 46, "parameters"); + return _http.ContentType.new(primaryType, subType, {charset: charset, parameters: parameters}); + } static parse(value) { - if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + if (value == null) dart.nullFailed(I[176], 708, 35, "value"); return _http._ContentType.parse(value); } }; @@ -125736,31 +137554,21 @@ _http.ContentType = class ContentType extends core.Object { dart.addTypeTests(_http.ContentType); dart.addTypeCaches(_http.ContentType); _http.ContentType[dart.implements] = () => [_http.HeaderValue]; +dart.setStaticMethodSignature(_http.ContentType, () => ['new', 'parse']); dart.setLibraryUri(_http.ContentType, I[177]); +dart.setStaticFieldSignature(_http.ContentType, () => ['text', 'html', 'json', 'binary']); dart.defineLazy(_http.ContentType, { /*_http.ContentType.text*/get text() { return _http.ContentType.new("text", "plain", {charset: "utf-8"}); }, - /*_http.ContentType.TEXT*/get TEXT() { - return _http.ContentType.text; - }, /*_http.ContentType.html*/get html() { return _http.ContentType.new("text", "html", {charset: "utf-8"}); }, - /*_http.ContentType.HTML*/get HTML() { - return _http.ContentType.html; - }, /*_http.ContentType.json*/get json() { return _http.ContentType.new("application", "json", {charset: "utf-8"}); }, - /*_http.ContentType.JSON*/get JSON() { - return _http.ContentType.json; - }, /*_http.ContentType.binary*/get binary() { return _http.ContentType.new("application", "octet-stream"); - }, - /*_http.ContentType.BINARY*/get BINARY() { - return _http.ContentType.binary; } }, false); var expires$ = dart.privateName(_http, "Cookie.expires"); @@ -125802,41 +137610,52 @@ _http.Cookie = class Cookie extends core.Object { return this[secure]; } set secure(value) { + if (value == null) dart.nullFailed(I[176], 778, 8, "secure"); this[secure] = value; } get httpOnly() { return this[httpOnly]; } set httpOnly(value) { + if (value == null) dart.nullFailed(I[176], 782, 8, "httpOnly"); this[httpOnly] = value; } get name() { - let t260; - return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + let t247; + return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); } - set name(t260) { - if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + set name(name$35param) { + if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); this[__Cookie_name_isSet] = true; - this[__Cookie_name] = t260; + this[__Cookie_name] = name$35param; } get value() { - let t261; - return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + let t247; + return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); } - set value(t261) { - if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + set value(value$35param) { + if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); this[__Cookie_value_isSet] = true; - this[__Cookie_value] = t261; + this[__Cookie_value] = value$35param; } static new(name, value) { - if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); - if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); return new _http._Cookie.new(name, value); } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[176], 790, 25, "name"); + if (value == null) dart.nullFailed(I[176], 790, 38, "value"); + return _http.Cookie.new(name, value); + } static fromSetCookieValue(value) { - if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); return new _http._Cookie.fromSetCookieValue(value); } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[176], 794, 44, "value"); + return _http.Cookie.fromSetCookieValue(value); + } }; (_http.Cookie[dart.mixinNew] = function() { this[__Cookie_name] = null; @@ -125852,6 +137671,7 @@ _http.Cookie = class Cookie extends core.Object { }).prototype = _http.Cookie.prototype; dart.addTypeTests(_http.Cookie); dart.addTypeCaches(_http.Cookie); +dart.setStaticMethodSignature(_http.Cookie, () => ['new', 'fromSetCookieValue']); dart.setGetterSignature(_http.Cookie, () => ({ __proto__: dart.getGetters(_http.Cookie.__proto__), name: core.String, @@ -125898,12 +137718,14 @@ _http.HttpResponse = class HttpResponse extends core.Object { return this[contentLength$]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 970, 7, "contentLength"); this[contentLength$] = value; } get statusCode() { return this[statusCode]; } set statusCode(value) { + if (value == null) dart.nullFailed(I[176], 982, 7, "statusCode"); this[statusCode] = value; } get deadline() { @@ -125916,25 +137738,26 @@ _http.HttpResponse = class HttpResponse extends core.Object { return this[bufferOutput]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); this[bufferOutput] = value; } get reasonPhrase() { - let t262; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + let t247; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); } - set reasonPhrase(t262) { - if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + set reasonPhrase(reasonPhrase$35param) { + if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = t262; + this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; } get persistentConnection() { - let t263; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + let t247; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); } - set persistentConnection(t263) { - if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + set persistentConnection(persistentConnection$35param) { + if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = t263; + this[__HttpResponse_persistentConnection] = persistentConnection$35param; } }; (_http.HttpResponse.new = function() { @@ -125983,6 +137806,7 @@ _http.HttpClient = class HttpClient extends core.Object { return this[idleTimeout$]; } set idleTimeout(value) { + if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); this[idleTimeout$] = value; } get connectionTimeout() { @@ -126001,6 +137825,7 @@ _http.HttpClient = class HttpClient extends core.Object { return this[autoUncompress]; } set autoUncompress(value) { + if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); this[autoUncompress] = value; } get userAgent() { @@ -126010,7 +137835,7 @@ _http.HttpClient = class HttpClient extends core.Object { this[userAgent] = value; } static set enableTimelineLogging(value) { - if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + if (value == null) dart.nullFailed(I[176], 1157, 41, "value"); let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); if (enabled != _http.HttpClient._enableTimelineLogging) { developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); @@ -126028,8 +137853,12 @@ _http.HttpClient = class HttpClient extends core.Object { } return overrides.createHttpClient(context); } + static ['_#new#tearOff'](opts) { + let context = opts && 'context' in opts ? opts.context : null; + return _http.HttpClient.new({context: context}); + } static findProxyFromEnvironment(url, opts) { - if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + if (url == null) dart.nullFailed(I[176], 1514, 46, "url"); let environment = opts && 'environment' in opts ? opts.environment : null; let overrides = _http.HttpOverrides.current; if (overrides == null) { @@ -126039,7 +137868,7 @@ _http.HttpClient = class HttpClient extends core.Object { } }; (_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[453] || CT.C453; + this[idleTimeout$] = C[466] || CT.C466; this[connectionTimeout] = null; this[maxConnectionsPerHost] = null; this[autoUncompress] = true; @@ -126047,6 +137876,9 @@ _http.HttpClient = class HttpClient extends core.Object { }).prototype = _http.HttpClient.prototype; dart.addTypeTests(_http.HttpClient); dart.addTypeCaches(_http.HttpClient); +dart.setStaticMethodSignature(_http.HttpClient, () => ['new', 'findProxyFromEnvironment']); +dart.setStaticGetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); +dart.setStaticSetterSignature(_http.HttpClient, () => ['enableTimelineLogging']); dart.setLibraryUri(_http.HttpClient, I[177]); dart.setFieldSignature(_http.HttpClient, () => ({ __proto__: dart.getFields(_http.HttpClient.__proto__), @@ -126056,23 +137888,20 @@ dart.setFieldSignature(_http.HttpClient, () => ({ autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_http.HttpClient, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); dart.defineLazy(_http.HttpClient, { /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { return 80; }, - /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { - return 80; - }, /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { return 443; }, - /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { - return 443; - }, /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { return false; }, - set _enableTimelineLogging(_) {} + set _enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1174, 15, "_enableTimelineLogging"); + } }, false); var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); @@ -126084,30 +137913,35 @@ _http.HttpClientRequest = class HttpClientRequest extends core.Object { return this[persistentConnection]; } set persistentConnection(value) { + if (value == null) dart.nullFailed(I[176], 1635, 8, "persistentConnection"); this[persistentConnection] = value; } get followRedirects() { return this[followRedirects]; } set followRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1687, 8, "followRedirects"); this[followRedirects] = value; } get maxRedirects() { return this[maxRedirects]; } set maxRedirects(value) { + if (value == null) dart.nullFailed(I[176], 1694, 7, "maxRedirects"); this[maxRedirects] = value; } get contentLength() { return this[contentLength$0]; } set contentLength(value) { + if (value == null) dart.nullFailed(I[176], 1706, 7, "contentLength"); this[contentLength$0] = value; } get bufferOutput() { return this[bufferOutput$]; } set bufferOutput(value) { + if (value == null) dart.nullFailed(I[176], 1714, 8, "bufferOutput"); this[bufferOutput$] = value; } }; @@ -126140,32 +137974,39 @@ dart.addTypeTests(_http.HttpClientResponse); dart.addTypeCaches(_http.HttpClientResponse); _http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; dart.setLibraryUri(_http.HttpClientResponse, I[177]); -var _name$7 = dart.privateName(_http, "_name"); -_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { - toString() { - return this[_name$7]; +_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core._Enum { + [_enumToString]() { + return "HttpClientResponseCompressionState." + dart.str(this[_name$4]); } }; -(_http.HttpClientResponseCompressionState.new = function(index, _name) { - if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); - if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); - this.index = index; - this[_name$7] = _name; +(_http.HttpClientResponseCompressionState.new = function(index, name) { + if (index == null) dart.nullFailed(I[176], 1891, 6, "#index"); + if (name == null) dart.nullFailed(I[176], 1891, 6, "#name"); + _http.HttpClientResponseCompressionState.__proto__.new.call(this, index, name); ; }).prototype = _http.HttpClientResponseCompressionState.prototype; dart.addTypeTests(_http.HttpClientResponseCompressionState); dart.addTypeCaches(_http.HttpClientResponseCompressionState); -dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); -dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), - index: dart.finalFieldType(core.int), - [_name$7]: dart.finalFieldType(core.String) +dart.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), + [_enumToString]: dart.fnType(core.String, []) })); -dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); -_http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; -_http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; -_http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; -_http.HttpClientResponseCompressionState.values = C[457] || CT.C457; +dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); +dart.setStaticFieldSignature(_http.HttpClientResponseCompressionState, () => ['values', 'notCompressed', 'decompressed', 'compressed']); +dart.defineLazy(_http.HttpClientResponseCompressionState, { + /*_http.HttpClientResponseCompressionState.values*/get values() { + return C[467] || CT.C467; + }, + /*_http.HttpClientResponseCompressionState.notCompressed*/get notCompressed() { + return C[468] || CT.C468; + }, + /*_http.HttpClientResponseCompressionState.decompressed*/get decompressed() { + return C[469] || CT.C469; + }, + /*_http.HttpClientResponseCompressionState.compressed*/get compressed() { + return C[470] || CT.C470; + } +}, false); _http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; (_http.HttpClientCredentials.new = function() { ; @@ -126175,23 +138016,35 @@ dart.addTypeCaches(_http.HttpClientCredentials); dart.setLibraryUri(_http.HttpClientCredentials, I[177]); _http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); - if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); return new _http._HttpClientBasicCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1927, 45, "username"); + if (password == null) dart.nullFailed(I[176], 1927, 62, "password"); + return _http.HttpClientBasicCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientBasicCredentials); dart.addTypeCaches(_http.HttpClientBasicCredentials); +dart.setStaticMethodSignature(_http.HttpClientBasicCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); _http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { static new(username, password) { - if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); - if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); return new _http._HttpClientDigestCredentials.new(username, password); } + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[176], 1936, 46, "username"); + if (password == null) dart.nullFailed(I[176], 1936, 63, "password"); + return _http.HttpClientDigestCredentials.new(username, password); + } }; dart.addTypeTests(_http.HttpClientDigestCredentials); dart.addTypeCaches(_http.HttpClientDigestCredentials); +dart.setStaticMethodSignature(_http.HttpClientDigestCredentials, () => ['new']); dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); _http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; (_http.HttpConnectionInfo.new = function() { @@ -126207,13 +138060,6 @@ _http.RedirectInfo = class RedirectInfo extends core.Object {}; dart.addTypeTests(_http.RedirectInfo); dart.addTypeCaches(_http.RedirectInfo); dart.setLibraryUri(_http.RedirectInfo, I[177]); -_http.DetachedSocket = class DetachedSocket extends core.Object {}; -(_http.DetachedSocket.new = function() { - ; -}).prototype = _http.DetachedSocket.prototype; -dart.addTypeTests(_http.DetachedSocket); -dart.addTypeCaches(_http.DetachedSocket); -dart.setLibraryUri(_http.DetachedSocket, I[177]); var message$17 = dart.privateName(_http, "HttpException.message"); var uri$0 = dart.privateName(_http, "HttpException.uri"); _http.HttpException = class HttpException extends core.Object { @@ -126229,12 +138075,17 @@ _http.HttpException = class HttpException extends core.Object { set uri(value) { super.uri = value; } + static ['_#new#tearOff'](message, opts) { + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + return new _http.HttpException.new(message, {uri: uri}); + } toString() { - let t264; - let b = (t264 = new core.StringBuffer.new(), (() => { - t264.write("HttpException: "); - t264.write(this.message); - return t264; + let t249; + let b = (t249 = new core.StringBuffer.new(), (() => { + t249.write("HttpException: "); + t249.write(this.message); + return t249; })()); let uri = this.uri; if (uri != null) { @@ -126244,7 +138095,7 @@ _http.HttpException = class HttpException extends core.Object { } }; (_http.HttpException.new = function(message, opts) { - if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + if (message == null) dart.nullFailed(I[176], 1964, 28, "message"); let uri = opts && 'uri' in opts ? opts.uri : null; this[message$17] = message; this[uri$0] = uri; @@ -126275,16 +138126,21 @@ _http.RedirectException = class RedirectException extends core.Object { set redirects(value) { super.redirects = value; } + static ['_#new#tearOff'](message, redirects) { + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); + return new _http.RedirectException.new(message, redirects); + } toString() { return "RedirectException: " + dart.str(this.message); } get uri() { - return this.redirects[$last].location; + return dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; } }; (_http.RedirectException.new = function(message, redirects) { - if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); - if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + if (message == null) dart.nullFailed(I[176], 1982, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 1982, 46, "redirects"); this[message$18] = message; this[redirects$] = redirects; ; @@ -126294,7 +138150,7 @@ dart.addTypeCaches(_http.RedirectException); _http.RedirectException[dart.implements] = () => [_http.HttpException]; dart.setGetterSignature(_http.RedirectException, () => ({ __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: core.Uri + uri: dart.nullable(core.Uri) })); dart.setLibraryUri(_http.RedirectException, I[177]); dart.setFieldSignature(_http.RedirectException, () => ({ @@ -126305,114 +138161,23 @@ dart.setFieldSignature(_http.RedirectException, () => ({ dart.defineExtensionMethods(_http.RedirectException, ['toString']); _http._CryptoUtils = class _CryptoUtils extends core.Object { static getRandomBytes(count) { - if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + if (count == null) dart.nullFailed(I[178], 8, 39, "count"); let result = _native_typed_data.NativeUint8List.new(count); for (let i = 0; i < dart.notNull(count); i = i + 1) { - result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + result[$_set](i, math.Random.secure().nextInt(255)); } return result; } static bytesToHex(bytes) { - if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + if (bytes == null) dart.nullFailed(I[178], 16, 38, "bytes"); let result = new core.StringBuffer.new(); for (let part of bytes) { result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); } return result.toString(); } - static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { - let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; - if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); - if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); - if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); - let len = bytes[$length]; - if (len === 0) { - return ""; - } - let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; - let remainderLength = len[$remainder](3); - let chunkLength = dart.notNull(len) - remainderLength; - let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); - if (dart.test(addLineSeparator)) { - outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); - } - let out = T$0.ListOfint().filled(outputLen, 0); - let j = 0; - let i = 0; - let c = 0; - while (i < chunkLength) { - let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; - out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); - out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); - out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); - out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); - if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { - out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); - out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); - c = 0; - } - } - if (remainderLength === 1) { - let x = bytes[$_get](i); - out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); - out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); - out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); - } else if (remainderLength === 2) { - let x = bytes[$_get](i); - let y = bytes[$_get](i + 1); - out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); - out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); - out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); - out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); - } - return core.String.fromCharCodes(out); - } - static base64StringToBytes(input, ignoreInvalidCharacters = true) { - let t264, t264$, t264$0, t264$1; - if (input == null) dart.nullFailed(I[178], 117, 47, "input"); - if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); - let len = input.length; - if (len === 0) { - return T$0.ListOfint().empty(); - } - let extrasLen = 0; - for (let i = 0; i < len; i = i + 1) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); - if (dart.notNull(c) < 0) { - extrasLen = extrasLen + 1; - if (c === -2 && !dart.test(ignoreInvalidCharacters)) { - dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); - } - } - } - if ((len - extrasLen)[$modulo](4) !== 0) { - dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); - } - let padLength = 0; - for (let i = len - 1; i >= 0; i = i - 1) { - let currentCodeUnit = input[$codeUnitAt](i); - if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; - if (currentCodeUnit === 61) padLength = padLength + 1; - } - let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; - let out = T$0.ListOfint().filled(outputLen, 0); - for (let i = 0, o = 0; o < outputLen;) { - let x = 0; - for (let j = 4; j > 0;) { - let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); - if (dart.notNull(c) >= 0) { - x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; - j = j - 1; - } - } - out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); - if (o < outputLen) { - out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); - if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); - } - } - return out; + static ['_#new#tearOff']() { + return new _http._CryptoUtils.new(); } }; (_http._CryptoUtils.new = function() { @@ -126420,34 +138185,8 @@ _http._CryptoUtils = class _CryptoUtils extends core.Object { }).prototype = _http._CryptoUtils.prototype; dart.addTypeTests(_http._CryptoUtils); dart.addTypeCaches(_http._CryptoUtils); +dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); dart.setLibraryUri(_http._CryptoUtils, I[177]); -dart.defineLazy(_http._CryptoUtils, { - /*_http._CryptoUtils.PAD*/get PAD() { - return 61; - }, - /*_http._CryptoUtils.CR*/get CR() { - return 13; - }, - /*_http._CryptoUtils.LF*/get LF() { - return 10; - }, - /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { - return 76; - }, - /*_http._CryptoUtils._encodeTable*/get _encodeTable() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - }, - /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*_http._CryptoUtils._decodeTable*/get _decodeTable() { - return C[458] || CT.C458; - }, - /*_http._CryptoUtils._rng*/get _rng() { - return math.Random.secure(); - }, - set _rng(_) {} -}, false); var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); var _digestCalled = dart.privateName(_http, "_digestCalled"); var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); @@ -126466,7 +138205,7 @@ var _bytesToChunk = dart.privateName(_http, "_bytesToChunk"); var _updateHash = dart.privateName(_http, "_updateHash"); _http._HashBase = class _HashBase extends core.Object { add(data) { - if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (data == null) dart.nullFailed(I[178], 49, 22, "data"); if (dart.test(this[_digestCalled])) { dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); } @@ -126481,21 +138220,25 @@ _http._HashBase = class _HashBase extends core.Object { this[_digestCalled] = true; this[_finalizeData](); this[_iterate](); - if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + if (!dart.test(this[_pendingData][$isEmpty])) dart.assertFailed(null, I[178], 66, 12, "_pendingData.isEmpty"); return this[_resultAsBytes](); } get blockSize() { return dart.notNull(this[_chunkSizeInWords$]) * 4; } [_add32](x, y) { - return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + if (x == null) dart.nullFailed(I[178], 79, 18, "x"); + if (y == null) dart.nullFailed(I[178], 79, 25, "y"); + return (dart.notNull(x) + dart.notNull(y) & 4294967295.0) >>> 0; } [_roundUp](val, n) { - return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + if (val == null) dart.nullFailed(I[178], 80, 20, "val"); + if (n == null) dart.nullFailed(I[178], 80, 29, "n"); + return (dart.notNull(val) + dart.notNull(n) - 1 & -dart.notNull(n)) >>> 0; } [_rotl32](val, shift) { - if (val == null) dart.nullFailed(I[178], 234, 19, "val"); - if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + if (val == null) dart.nullFailed(I[178], 83, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 83, 28, "shift"); let mod_shift = dart.notNull(shift) & 31; return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; } @@ -126507,9 +138250,9 @@ _http._HashBase = class _HashBase extends core.Object { return result; } [_bytesToChunk](data, dataIndex) { - if (data == null) dart.nullFailed(I[178], 250, 27, "data"); - if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); - if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + if (data == null) dart.nullFailed(I[178], 99, 32, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 99, 42, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 100, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); @@ -126524,7 +138267,7 @@ _http._HashBase = class _HashBase extends core.Object { } } [_wordToBytes](word) { - if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + if (word == null) dart.nullFailed(I[178], 117, 30, "word"); let bytes = T$0.ListOfint().filled(4, 0); bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); @@ -126549,12 +138292,12 @@ _http._HashBase = class _HashBase extends core.Object { let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); - for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + let zeroPadding = dart.notNull(finalizedLength) - contentsLength; + for (let i = 0; i < zeroPadding; i = i + 1) { this[_pendingData][$add](0); } let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; - if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 153, 12, "lengthInBits < pow(2, 32)"); if (dart.test(this[_bigEndianWords$])) { this[_pendingData][$addAll](this[_wordToBytes](0)); this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); @@ -126565,32 +138308,32 @@ _http._HashBase = class _HashBase extends core.Object { } }; (_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { - if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); - if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); - if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 43, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 43, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 43, 65, "_bigEndianWords"); this[_lengthInBytes] = 0; this[_digestCalled] = false; this[_chunkSizeInWords$] = _chunkSizeInWords; this[_bigEndianWords$] = _bigEndianWords; this[_pendingData] = T$.JSArrayOfint().of([]); - this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); - this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + this[_currentChunk] = _native_typed_data.NativeUint32List.new(_chunkSizeInWords); + this[_h] = _native_typed_data.NativeUint32List.new(digestSizeInWords); ; }).prototype = _http._HashBase.prototype; dart.addTypeTests(_http._HashBase); dart.addTypeCaches(_http._HashBase); dart.setMethodSignature(_http._HashBase, () => ({ __proto__: dart.getMethods(_http._HashBase.__proto__), - add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + add: dart.fnType(dart.void, [core.List$(core.int)]), close: dart.fnType(core.List$(core.int), []), - [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_add32]: dart.fnType(core.int, [core.int, core.int]), + [_roundUp]: dart.fnType(core.int, [core.int, core.int]), [_rotl32]: dart.fnType(core.int, [core.int, core.int]), [_resultAsBytes]: dart.fnType(core.List$(core.int), []), - [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_bytesToChunk]: dart.fnType(dart.void, [core.List$(core.int), core.int]), [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.dynamic, []), - [_finalizeData]: dart.fnType(dart.dynamic, []) + [_iterate]: dart.fnType(dart.void, []), + [_finalizeData]: dart.fnType(dart.void, []) })); dart.setGetterSignature(_http._HashBase, () => ({ __proto__: dart.getGetters(_http._HashBase.__proto__), @@ -126603,17 +138346,17 @@ dart.setFieldSignature(_http._HashBase, () => ({ [_bigEndianWords$]: dart.finalFieldType(core.bool), [_lengthInBytes]: dart.fieldType(core.int), [_pendingData]: dart.fieldType(core.List$(core.int)), - [_currentChunk]: dart.fieldType(core.List$(core.int)), - [_h]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.finalFieldType(typed_data.Uint32List), + [_h]: dart.finalFieldType(typed_data.Uint32List), [_digestCalled]: dart.fieldType(core.bool) })); _http._MD5 = class _MD5 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._MD5.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 352, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 196, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 197, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126637,13 +138380,13 @@ _http._MD5 = class _MD5 extends _http._HashBase { let temp = d; d = c; c = b; - b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + b = this[_add32](b, this[_rotl32](this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](t1))), _http._MD5._r[$_get](i))); a = temp; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); } }; (_http._MD5.new = function() { @@ -126657,26 +138400,26 @@ dart.addTypeTests(_http._MD5); dart.addTypeCaches(_http._MD5); dart.setMethodSignature(_http._MD5, () => ({ __proto__: dart.getMethods(_http._MD5.__proto__), - newInstance: dart.fnType(_http._MD5, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._MD5, I[177]); +dart.setStaticFieldSignature(_http._MD5, () => ['_k', '_r']); dart.defineLazy(_http._MD5, { /*_http._MD5._k*/get _k() { - return C[459] || CT.C459; + return C[471] || CT.C471; }, /*_http._MD5._r*/get _r() { - return C[460] || CT.C460; + return C[472] || CT.C472; } }, false); var _w = dart.privateName(_http, "_w"); _http._SHA1 = class _SHA1 extends _http._HashBase { - newInstance() { + static ['_#new#tearOff']() { return new _http._SHA1.new(); } [_updateHash](m) { - if (m == null) dart.nullFailed(I[178], 415, 30, "m"); - if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + if (m == null) dart.nullFailed(I[178], 254, 31, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 255, 12, "m.length == 16"); let a = this[_h][$_get](0); let b = this[_h][$_get](1); let c = this[_h][$_get](2); @@ -126703,13 +138446,13 @@ _http._SHA1 = class _SHA1 extends _http._HashBase { d = c; c = this[_rotl32](b, 30); b = a; - a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + a = (dart.notNull(t) & 4294967295.0) >>> 0; } - this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); - this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); - this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); - this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); - this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + this[_h][$_set](0, this[_add32](a, this[_h][$_get](0))); + this[_h][$_set](1, this[_add32](b, this[_h][$_get](1))); + this[_h][$_set](2, this[_add32](c, this[_h][$_get](2))); + this[_h][$_set](3, this[_add32](d, this[_h][$_get](3))); + this[_h][$_set](4, this[_add32](e, this[_h][$_get](4))); } }; (_http._SHA1.new = function() { @@ -126725,54 +138468,53 @@ dart.addTypeTests(_http._SHA1); dart.addTypeCaches(_http._SHA1); dart.setMethodSignature(_http._SHA1, () => ({ __proto__: dart.getMethods(_http._SHA1.__proto__), - newInstance: dart.fnType(_http._SHA1, []), - [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + [_updateHash]: dart.fnType(dart.void, [typed_data.Uint32List]) })); dart.setLibraryUri(_http._SHA1, I[177]); dart.setFieldSignature(_http._SHA1, () => ({ __proto__: dart.getFields(_http._SHA1.__proto__), - [_w]: dart.fieldType(core.List$(core.int)) + [_w]: dart.finalFieldType(core.List$(core.int)) })); _http.HttpDate = class HttpDate extends core.Object { static format(date) { - let t264; - if (date == null) dart.nullFailed(I[179], 40, 33, "date"); - let wkday = C[461] || CT.C461; - let month = C[462] || CT.C462; + let t249; + if (date == null) dart.nullFailed(I[179], 36, 33, "date"); + let wkday = C[473] || CT.C473; + let month = C[474] || CT.C474; let d = date.toUtc(); - let sb = (t264 = new core.StringBuffer.new(), (() => { - t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); - t264.write(", "); - t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); - t264.write(dart.toString(d.day)); - t264.write(" "); - t264.write(month[$_get](dart.notNull(d.month) - 1)); - t264.write(" "); - t264.write(dart.toString(d.year)); - t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); - t264.write(dart.toString(d.hour)); - t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.minute)); - t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); - t264.write(dart.toString(d.second)); - t264.write(" GMT"); - return t264; + let sb = (t249 = new core.StringBuffer.new(), (() => { + t249.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t249.write(", "); + t249.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t249.write(dart.toString(d.day)); + t249.write(" "); + t249.write(month[$_get](dart.notNull(d.month) - 1)); + t249.write(" "); + t249.write(dart.toString(d.year)); + t249.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t249.write(dart.toString(d.hour)); + t249.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.minute)); + t249.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t249.write(dart.toString(d.second)); + t249.write(" GMT"); + return t249; })()); return dart.toString(sb); } static parse(date) { - if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + if (date == null) dart.nullFailed(I[179], 85, 32, "date"); let SP = 32; - let wkdays = C[461] || CT.C461; - let weekdays = C[463] || CT.C463; - let months = C[462] || CT.C462; + let wkdays = C[473] || CT.C473; + let weekdays = C[475] || CT.C475; + let months = C[474] || CT.C474; let formatRfc1123 = 0; let formatRfc850 = 1; let formatAsctime = 2; let index = 0; let tmp = null; function expect(s) { - if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (s == null) dart.nullFailed(I[179], 119, 24, "s"); if (date.length - index < s.length) { dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); } @@ -126782,7 +138524,7 @@ _http.HttpDate = class HttpDate extends core.Object { } index = index + s.length; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function expectWeekday() { let weekday = null; let pos = date[$indexOf](",", index); @@ -126811,7 +138553,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(expectWeekday, T$.VoidToint()); function expectMonth(separator) { - if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + if (separator == null) dart.nullFailed(I[179], 158, 28, "separator"); let pos = date[$indexOf](separator, index); if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); tmp = date[$substring](index, pos); @@ -126822,9 +138564,9 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(expectMonth, T$0.StringToint()); function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); let pos = null; - if (separator.length > 0) { + if (separator[$isNotEmpty]) { pos = date[$indexOf](separator, index); } else { pos = date.length; @@ -126878,8 +138620,8 @@ _http.HttpDate = class HttpDate extends core.Object { return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); } static _parseCookieDate(date) { - if (date == null) dart.nullFailed(I[179], 227, 43, "date"); - let monthsLowerCase = C[464] || CT.C464; + if (date == null) dart.nullFailed(I[179], 221, 43, "date"); + let monthsLowerCase = C[476] || CT.C476; let position = 0; function error() { dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); @@ -126890,7 +138632,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isEnd, T$.VoidTobool()); function isDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + if (s == null) dart.nullFailed(I[179], 245, 29, "s"); let char = s[$codeUnitAt](0); if (char === 9) return true; if (char >= 32 && char <= 47) return true; @@ -126901,7 +138643,7 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isDelimiter, T$.StringTobool()); function isNonDelimiter(s) { - if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + if (s == null) dart.nullFailed(I[179], 255, 32, "s"); let char = s[$codeUnitAt](0); if (char >= 0 && char <= 8) return true; if (char >= 10 && char <= 31) return true; @@ -126914,27 +138656,27 @@ _http.HttpDate = class HttpDate extends core.Object { } dart.fn(isNonDelimiter, T$.StringTobool()); function isDigit(s) { - if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + if (s == null) dart.nullFailed(I[179], 267, 25, "s"); let char = s[$codeUnitAt](0); if (char > 47 && char < 58) return true; return false; } dart.fn(isDigit, T$.StringTobool()); function getMonth(month) { - if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month == null) dart.nullFailed(I[179], 273, 25, "month"); if (month.length < 3) return -1; return monthsLowerCase[$indexOf](month[$substring](0, 3)); } dart.fn(getMonth, T$0.StringToint()); function toInt(s) { - if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + if (s == null) dart.nullFailed(I[179], 278, 22, "s"); let index = 0; for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) ; return core.int.parse(s[$substring](0, index)); } dart.fn(toInt, T$0.StringToint()); - let tokens = []; + let tokens = T$.JSArrayOfString().of([]); while (!dart.test(isEnd())) { while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) position = position + 1; @@ -126950,15 +138692,15 @@ _http.HttpDate = class HttpDate extends core.Object { let monthStr = null; let yearStr = null; for (let token of tokens) { - if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; - if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { - timeStr = T$.StringN().as(token); - } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { - dayOfMonthStr = T$.StringN().as(token); - } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { - monthStr = T$.StringN().as(token); - } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { - yearStr = T$.StringN().as(token); + if (token[$isEmpty]) continue; + if (timeStr == null && token.length >= 5 && dart.test(isDigit(token[$_get](0))) && (token[$_get](1) === ":" || dart.test(isDigit(token[$_get](1))) && token[$_get](2) === ":")) { + timeStr = token; + } else if (dayOfMonthStr == null && dart.test(isDigit(token[$_get](0)))) { + dayOfMonthStr = token; + } else if (monthStr == null && dart.notNull(getMonth(token)) >= 0) { + monthStr = token; + } else if (yearStr == null && token.length >= 2 && dart.test(isDigit(token[$_get](0))) && dart.test(isDigit(token[$_get](1)))) { + yearStr = token; } } if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { @@ -127001,13 +138743,18 @@ _http.HttpDate = class HttpDate extends core.Object { } return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); } + static ['_#new#tearOff']() { + return new _http.HttpDate.new(); + } }; (_http.HttpDate.new = function() { ; }).prototype = _http.HttpDate.prototype; dart.addTypeTests(_http.HttpDate); dart.addTypeCaches(_http.HttpDate); +dart.setStaticMethodSignature(_http.HttpDate, () => ['format', 'parse', '_parseCookieDate']); dart.setLibraryUri(_http.HttpDate, I[177]); +var protocolVersion$ = dart.privateName(_http, "_HttpHeaders.protocolVersion"); var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); var _mutable = dart.privateName(_http, "_mutable"); var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); @@ -127039,39 +138786,52 @@ var _finalize = dart.privateName(_http, "_finalize"); var _build = dart.privateName(_http, "_build"); var _parseCookies = dart.privateName(_http, "_parseCookies"); _http._HttpHeaders = class _HttpHeaders extends core.Object { + get protocolVersion() { + return this[protocolVersion$]; + } + set protocolVersion(value) { + super.protocolVersion = value; + } + static ['_#new#tearOff'](protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + return new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: defaultPortForScheme, initialHeaders: initialHeaders}); + } _get(name) { - if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + if (name == null) dart.nullFailed(I[180], 45, 36, "name"); return this[_headers][$_get](_http._HttpHeaders._validateField(name)); } value(name) { - if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + if (name == null) dart.nullFailed(I[180], 47, 24, "name"); name = _http._HttpHeaders._validateField(name); let values = this[_headers][$_get](name); if (values == null) return null; - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 51, 12, "values.isNotEmpty"); if (dart.notNull(values[$length]) > 1) { dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); } return values[$_get](0); } add(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 56, 19, "name"); - if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 58, 19, "name"); + if (value == null) dart.nullFailed(I[180], 58, 25, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 58, 38, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); } else { - t266$ = this[_originalHeaderNames]; - t266$ == null ? null : t266$[$remove](lowercaseName); + t251$ = this[_originalHeaderNames]; + t251$ == null ? null : t251$[$remove](lowercaseName); } this[_addAll](lowercaseName, value); } [_addAll](name, value) { - if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (name == null) dart.nullFailed(I[180], 70, 23, "name"); if (core.Iterable.is(value)) { for (let v of value) { this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); @@ -127081,16 +138841,16 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } set(name, value, opts) { - let t266, t266$; - if (name == null) dart.nullFailed(I[180], 78, 19, "name"); - if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let t251, t251$; + if (name == null) dart.nullFailed(I[180], 80, 19, "name"); + if (value == null) dart.nullFailed(I[180], 80, 32, "value"); let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; - if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + if (preserveHeaderCase == null) dart.nullFailed(I[180], 80, 45, "preserveHeaderCase"); this[_checkMutable](); let lowercaseName = _http._HttpHeaders._validateField(name); this[_headers][$remove](lowercaseName); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](lowercaseName); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](lowercaseName); if (lowercaseName === "content-length") { this[_contentLength] = -1; } @@ -127098,24 +138858,24 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_chunkedTransferEncoding] = false; } if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); } this[_addAll](lowercaseName, value); } remove(name, value) { - let t266; - if (name == null) dart.nullFailed(I[180], 95, 22, "name"); - if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + let t251; + if (name == null) dart.nullFailed(I[180], 97, 22, "name"); + if (value == null) dart.nullFailed(I[180], 97, 35, "value"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); value = _http._HttpHeaders._validateValue(value); let values = this[_headers][$_get](name); if (values != null) { values[$remove](this[_valueToString](value)); - if (values[$length] === 0) { + if (dart.test(values[$isEmpty])) { this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } } if (name === "transfer-encoding" && dart.equals(value, "chunked")) { @@ -127123,34 +138883,34 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } removeAll(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 114, 25, "name"); this[_checkMutable](); name = _http._HttpHeaders._validateField(name); this[_headers][$remove](name); - t266 = this[_originalHeaderNames]; - t266 == null ? null : t266[$remove](name); + t251 = this[_originalHeaderNames]; + t251 == null ? null : t251[$remove](name); } forEach(action) { - if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + if (action == null) dart.nullFailed(I[180], 121, 64, "action"); this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 120, 30, "name"); - if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + if (name == null) dart.nullFailed(I[180], 122, 30, "name"); + if (values == null) dart.nullFailed(I[180], 122, 49, "values"); let originalName = this[_originalHeaderName](name); action(originalName, values); }, T$0.StringAndListOfStringTovoid())); } noFolding(name) { - let t266; - if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + let t251; + if (name == null) dart.nullFailed(I[180], 128, 25, "name"); name = _http._HttpHeaders._validateField(name); - (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + (t251 = this[_noFoldingHeaders], t251 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t251)[$add](name); } get persistentConnection() { return this[_persistentConnection]; } set persistentConnection(persistentConnection) { - if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + if (persistentConnection == null) dart.nullFailed(I[180], 135, 38, "persistentConnection"); this[_checkMutable](); if (persistentConnection == this[_persistentConnection]) return; let originalName = this[_originalHeaderName]("connection"); @@ -127176,7 +138936,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return this[_contentLength]; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[180], 162, 30, "contentLength"); this[_checkMutable](); if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); @@ -127197,7 +138957,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return this[_chunkedTransferEncoding]; } set chunkedTransferEncoding(chunkedTransferEncoding) { - if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 186, 41, "chunkedTransferEncoding"); this[_checkMutable](); if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); @@ -127233,7 +138993,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get ifModifiedSince() { let values = this[_headers][$_get]("if-modified-since"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127258,7 +139018,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get date() { let values = this[_headers][$_get]("date"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127283,7 +139043,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { get expires() { let values = this[_headers][$_get]("expires"); if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); try { return _http.HttpDate.parse(values[$_get](0)); } catch (e) { @@ -127331,79 +139091,85 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_port] = null; } [_add$1](name, value) { - if (name == null) dart.nullFailed(I[180], 322, 20, "name"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 324, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 325, 12, "name == _validateField(name)"); switch (name.length) { case 4: - { - if ("date" === name) { - this[_addDate](name, value); - return; - } - if ("host" === name) { - this[_addHost](name, value); - return; + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; } - break; - } case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; } - break; - } case 10: - { - if ("connection" === name) { - this[_addConnection](name, value); - return; + { + if ("connection" === name) { + this[_addConnection](name, core.String.as(value)); + return; + } + break; } - break; - } case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; } - break; - } case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; } - break; - } case 17: - { - if ("transfer-encoding" === name) { - this[_addTransferEncoding](name, value); - return; - } - if ("if-modified-since" === name) { - this[_addIfModifiedSince](name, value); - return; + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } } - } } this[_addValue](name, core.Object.as(value)); } [_addContentLength](name, value) { - if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (name == null) dart.nullFailed(I[180], 376, 33, "name"); if (core.int.is(value)) { - this.contentLength = value; + if (dart.notNull(value) < 0) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } } else if (typeof value == 'string') { - this.contentLength = core.int.parse(value); + if (!dart.test(_http._digitsValidator.hasMatch(value))) { + dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); + } + value = core.int.parse(value); } else { dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); } + this.contentLength = value; } [_addTransferEncoding](name, value) { - if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (name == null) dart.nullFailed(I[180], 392, 36, "name"); if (dart.equals(value, "chunked")) { this.chunkedTransferEncoding = true; } else { @@ -127411,7 +139177,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (name == null) dart.nullFailed(I[180], 400, 24, "name"); if (core.DateTime.is(value)) { this.date = value; } else if (typeof value == 'string') { @@ -127421,7 +139187,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (name == null) dart.nullFailed(I[180], 410, 27, "name"); if (core.DateTime.is(value)) { this.expires = value; } else if (typeof value == 'string') { @@ -127431,7 +139197,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (name == null) dart.nullFailed(I[180], 420, 35, "name"); if (core.DateTime.is(value)) { this.ifModifiedSince = value; } else if (typeof value == 'string') { @@ -127441,10 +139207,10 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (name == null) dart.nullFailed(I[180], 430, 24, "name"); if (typeof value == 'string') { - let pos = value[$indexOf](":"); - if (pos === -1) { + let pos = value[$lastIndexOf](":"); + if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { this[_host] = value; this[_port] = 80; } else { @@ -127473,28 +139239,29 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_addConnection](name, value) { - if (name == null) dart.nullFailed(I[180], 450, 30, "name"); - let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); - if (dart.equals(lowerCaseValue, "close")) { + if (name == null) dart.nullFailed(I[180], 463, 30, "name"); + if (value == null) dart.nullFailed(I[180], 463, 43, "value"); + let lowerCaseValue = value[$toLowerCase](); + if (lowerCaseValue === "close") { this[_persistentConnection] = false; - } else if (dart.equals(lowerCaseValue, "keep-alive")) { + } else if (lowerCaseValue === "keep-alive") { this[_persistentConnection] = true; } - this[_addValue](name, core.Object.as(value)); + this[_addValue](name, value); } [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + if (name == null) dart.nullFailed(I[180], 473, 31, "name"); this[_set]("content-type", core.String.as(value)); } [_addValue](name, value) { - let t277, t276, t275, t274; - if (name == null) dart.nullFailed(I[180], 464, 25, "name"); - if (value == null) dart.nullFailed(I[180], 464, 38, "value"); - let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + let t262, t261, t260, t259; + if (name == null) dart.nullFailed(I[180], 477, 25, "name"); + if (value == null) dart.nullFailed(I[180], 477, 38, "value"); + let values = (t259 = this[_headers], t260 = name, t261 = t259[$_get](t260), t261 == null ? (t262 = T$.JSArrayOfString().of([]), t259[$_set](t260, t262), t262) : t261); values[$add](this[_valueToString](value)); } [_valueToString](value) { - if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (value == null) dart.nullFailed(I[180], 482, 32, "value"); if (core.DateTime.is(value)) { return _http.HttpDate.format(value); } else if (typeof value == 'string') { @@ -127504,9 +139271,9 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_set](name, value) { - if (name == null) dart.nullFailed(I[180], 479, 20, "name"); - if (value == null) dart.nullFailed(I[180], 479, 33, "value"); - if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + if (name == null) dart.nullFailed(I[180], 492, 20, "name"); + if (value == null) dart.nullFailed(I[180], 492, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 493, 12, "name == _validateField(name)"); this[_headers][$_set](name, T$.JSArrayOfString().of([value])); } [_checkMutable]() { @@ -127520,7 +139287,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } [_foldHeader](name) { - if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name == null) dart.nullFailed(I[180], 509, 27, "name"); if (name === "set-cookie") return false; let noFoldingHeaders = this[_noFoldingHeaders]; return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); @@ -127528,11 +139295,17 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { [_finalize]() { this[_mutable] = false; } - [_build](builder) { - if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + [_build](builder, opts) { + if (builder == null) dart.nullFailed(I[180], 519, 28, "builder"); + let skipZeroContentLength = opts && 'skipZeroContentLength' in opts ? opts.skipZeroContentLength : false; + if (skipZeroContentLength == null) dart.nullFailed(I[180], 519, 43, "skipZeroContentLength"); + let ignoreHeader = this[_contentLength] === 0 && dart.test(skipZeroContentLength) ? "content-length" : null; this[_headers][$forEach](dart.fn((name, values) => { - if (name == null) dart.nullFailed(I[180], 507, 30, "name"); - if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + if (name == null) dart.nullFailed(I[180], 528, 30, "name"); + if (values == null) dart.nullFailed(I[180], 528, 49, "values"); + if (ignoreHeader == name) { + return; + } let originalName = this[_originalHeaderName](name); let fold = this[_foldHeader](name); let nameData = originalName[$codeUnits]; @@ -127561,15 +139334,15 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { toString() { let sb = new core.StringBuffer.new(); this[_headers][$forEach](dart.fn((name, values) => { - let t274, t274$; - if (name == null) dart.nullFailed(I[180], 536, 30, "name"); - if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let t259, t259$; + if (name == null) dart.nullFailed(I[180], 560, 30, "name"); + if (values == null) dart.nullFailed(I[180], 560, 49, "values"); let originalName = this[_originalHeaderName](name); - t274 = sb; + t259 = sb; (() => { - t274.write(originalName); - t274.write(": "); - return t274; + t259.write(originalName); + t259.write(": "); + return t259; })(); let fold = this[_foldHeader](name); for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { @@ -127577,12 +139350,12 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { if (dart.test(fold)) { sb.write(", "); } else { - t274$ = sb; + t259$ = sb; (() => { - t274$.write("\n"); - t274$.write(originalName); - t274$.write(": "); - return t274$; + t259$.write("\n"); + t259$.write(originalName); + t259$.write(": "); + return t259$; })(); } } @@ -127595,7 +139368,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { [_parseCookies]() { let cookies = T$0.JSArrayOfCookie().of([]); function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + if (s == null) dart.nullFailed(I[180], 587, 35, "s"); let index = 0; function done() { return index === -1 || index === s.length; @@ -127627,7 +139400,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (expected == null) dart.nullFailed(I[180], 617, 26, "expected"); if (dart.test(done())) return false; if (s[$_get](index) !== expected) return false; index = index + 1; @@ -127661,18 +139434,17 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { } } } - dart.fn(parseCookieString, T$.StringTovoid()); + dart.fn(parseCookieString, T$0.StringTovoid()); let values = this[_headers][$_get]("cookie"); if (values != null) { - values[$forEach](dart.fn(headerValue => { - if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); - return parseCookieString(headerValue); - }, T$.StringTovoid())); + for (let headerValue of values) { + parseCookieString(headerValue); + } } return cookies; } static _validateField(field) { - if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + if (field == null) dart.nullFailed(I[180], 658, 39, "field"); for (let i = 0; i < field.length; i = i + 1) { if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); @@ -127681,7 +139453,7 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return field[$toLowerCase](); } static _validateValue(value) { - if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (value == null) dart.nullFailed(I[180], 668, 39, "value"); if (!(typeof value == 'string')) return value; for (let i = 0; i < value.length; i = i + 1) { if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { @@ -127691,16 +139463,16 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { return value; } [_originalHeaderName](name) { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 648, 37, "name"); - t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); - return t275$ == null ? name : t275$; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 679, 37, "name"); + t260$ = (t260 = this[_originalHeaderNames], t260 == null ? null : t260[$_get](name)); + return t260$ == null ? name : t260$; } }; (_http._HttpHeaders.new = function(protocolVersion, opts) { - if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + if (protocolVersion == null) dart.nullFailed(I[180], 26, 21, "protocolVersion"); let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; - if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + if (defaultPortForScheme == null) dart.nullFailed(I[180], 27, 12, "defaultPortForScheme"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_originalHeaderNames] = null; this[_mutable] = true; @@ -127710,19 +139482,19 @@ _http._HttpHeaders = class _HttpHeaders extends core.Object { this[_chunkedTransferEncoding] = false; this[_host] = null; this[_port] = null; - this.protocolVersion = protocolVersion; + this[protocolVersion$] = protocolVersion; this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); this[_defaultPortForScheme] = defaultPortForScheme; if (initialHeaders != null) { initialHeaders[_headers][$forEach](dart.fn((name, value) => { - let t268, t267, t266; - if (name == null) dart.nullFailed(I[180], 30, 40, "name"); - if (value == null) dart.nullFailed(I[180], 30, 46, "value"); - t266 = this[_headers]; - t267 = name; - t268 = value; - t266[$_set](t267, t268); - return t268; + let t253, t252, t251; + if (name == null) dart.nullFailed(I[180], 32, 40, "name"); + if (value == null) dart.nullFailed(I[180], 32, 46, "value"); + t251 = this[_headers]; + t252 = name; + t253 = value; + t251[$_set](t252, t253); + return t253; }, T$0.StringAndListOfStringTovoid())); this[_contentLength] = initialHeaders[_contentLength]; this[_persistentConnection] = initialHeaders[_persistentConnection]; @@ -127757,7 +139529,7 @@ dart.setMethodSignature(_http._HttpHeaders, () => ({ [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, core.String]), [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), [_valueToString]: dart.fnType(core.String, [core.Object]), @@ -127766,10 +139538,11 @@ dart.setMethodSignature(_http._HttpHeaders, () => ({ [_updateHostHeader]: dart.fnType(dart.void, []), [_foldHeader]: dart.fnType(core.bool, [core.String]), [_finalize]: dart.fnType(dart.void, []), - [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder], {skipZeroContentLength: core.bool}, {}), [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), [_originalHeaderName]: dart.fnType(core.String, [core.String]) })); +dart.setStaticMethodSignature(_http._HttpHeaders, () => ['_validateField', '_validateValue']); dart.setGetterSignature(_http._HttpHeaders, () => ({ __proto__: dart.getGetters(_http._HttpHeaders.__proto__), persistentConnection: core.bool, @@ -127816,13 +139589,18 @@ var _value$5 = dart.privateName(_http, "_value"); var _parse = dart.privateName(_http, "_parse"); var _ensureParameters = dart.privateName(_http, "_ensureParameters"); _http._HeaderValue = class _HeaderValue extends core.Object { + static ['_#new#tearOff'](_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); + return new _http._HeaderValue.new(_value, parameters); + } static parse(value, opts) { - if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + if (value == null) dart.nullFailed(I[180], 697, 36, "value"); let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; - if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + if (parameterSeparator == null) dart.nullFailed(I[180], 698, 15, "parameterSeparator"); let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; - if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + if (preserveBackslash == null) dart.nullFailed(I[180], 700, 12, "preserveBackslash"); let result = new _http._HeaderValue.new(); result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); return result; @@ -127831,24 +139609,24 @@ _http._HeaderValue = class _HeaderValue extends core.Object { return this[_value$5]; } [_ensureParameters]() { - let t275; - t275 = this[_parameters]; - return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + let t260; + t260 = this[_parameters]; + return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; } get parameters() { - let t275; - t275 = this[_unmodifiableParameters]; - return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + let t260; + t260 = this[_unmodifiableParameters]; + return t260 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t260; } static _isToken(token) { - if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token == null) dart.nullFailed(I[180], 715, 31, "token"); if (token[$isEmpty]) { return false; } let delimiters = "\"(),/:;<=>?@[]{}"; for (let i = 0; i < token.length; i = i + 1) { let codeUnit = token[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$contains](token[$_get](i))) { return false; } } @@ -127858,15 +139636,15 @@ _http._HeaderValue = class _HeaderValue extends core.Object { let sb = new core.StringBuffer.new(); sb.write(this[_value$5]); let parameters = this[_parameters]; - if (parameters != null && dart.notNull(parameters[$length]) > 0) { + if (parameters != null && dart.test(parameters[$isNotEmpty])) { parameters[$forEach](dart.fn((name, value) => { - let t275, t275$; - if (name == null) dart.nullFailed(I[180], 705, 34, "name"); - t275 = sb; + let t260, t260$; + if (name == null) dart.nullFailed(I[180], 734, 34, "name"); + t260 = sb; (() => { - t275.write("; "); - t275.write(name); - return t275; + t260.write("; "); + t260.write(name); + return t260; })(); if (value != null) { sb.write("="); @@ -127883,11 +139661,11 @@ _http._HeaderValue = class _HeaderValue extends core.Object { start = i; } } - t275$ = sb; + t260$ = sb; (() => { - t275$.write(value[$substring](start)); - t275$.write("\""); - return t275$; + t260$.write(value[$substring](start)); + t260$.write("\""); + return t260$; })(); } } @@ -127896,9 +139674,9 @@ _http._HeaderValue = class _HeaderValue extends core.Object { return sb.toString(); } [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { - if (s == null) dart.nullFailed(I[180], 732, 22, "s"); - if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); - if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + if (s == null) dart.nullFailed(I[180], 765, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 765, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 766, 12, "preserveBackslash"); let index = 0; function done() { return index === s.length; @@ -127922,15 +139700,15 @@ _http._HeaderValue = class _HeaderValue extends core.Object { } dart.fn(parseValue, T$.VoidToString()); function expect(expected) { - if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (expected == null) dart.nullFailed(I[180], 791, 24, "expected"); if (dart.test(done()) || s[$_get](index) !== expected) { dart.throw(new _http.HttpException.new("Failed to parse header value")); } index = index + 1; } - dart.fn(expect, T$.StringTovoid()); + dart.fn(expect, T$0.StringTovoid()); function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); if (dart.test(done()) || !s[$startsWith](expected, index)) { return false; } @@ -128009,9 +139787,9 @@ _http._HeaderValue = class _HeaderValue extends core.Object { parseParameters(); } }; -(_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { - if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); - if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); +(_http._HeaderValue.new = function(_value = "", parameters = C[465] || CT.C465) { + if (_value == null) dart.nullFailed(I[180], 689, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 689, 56, "parameters"); this[_parameters] = null; this[_unmodifiableParameters] = null; this[_value$5] = _value; @@ -128028,6 +139806,7 @@ dart.setMethodSignature(_http._HeaderValue, () => ({ [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) })); +dart.setStaticMethodSignature(_http._HeaderValue, () => ['parse', '_isToken']); dart.setGetterSignature(_http._HeaderValue, () => ({ __proto__: dart.getGetters(_http._HeaderValue.__proto__), value: core.String, @@ -128044,8 +139823,17 @@ dart.defineExtensionMethods(_http._HeaderValue, ['toString']); var _primaryType = dart.privateName(_http, "_primaryType"); var _subType = dart.privateName(_http, "_subType"); _http._ContentType = class _ContentType extends _http._HeaderValue { + static ['_#new#tearOff'](primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static ['_#_#tearOff']() { + return new _http._ContentType.__(); + } static parse(value) { - if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + if (value == null) dart.nullFailed(I[180], 920, 36, "value"); let result = new _http._ContentType.__(); result[_parse](value, ";", null, false); let index = result[_value$5][$indexOf]("/"); @@ -128071,20 +139859,20 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { } }; (_http._ContentType.new = function(primaryType, subType, charset, parameters) { - if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); - if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); - if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + if (primaryType == null) dart.nullFailed(I[180], 891, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 891, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 892, 28, "parameters"); this[_primaryType] = ""; this[_subType] = ""; this[_primaryType] = primaryType; this[_subType] = subType; _http._ContentType.__proto__.new.call(this, ""); function emptyIfNull(string) { - let t275; - t275 = string; - return t275 == null ? "" : t275; + let t260; + t260 = string; + return t260 == null ? "" : t260; } - dart.fn(emptyIfNull, T$0.StringNToString()); + dart.fn(emptyIfNull, T$1.StringNToString()); this[_primaryType] = emptyIfNull(this[_primaryType]); this[_subType] = emptyIfNull(this[_subType]); this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); @@ -128092,11 +139880,11 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { if (nullableParameters != null) { let parameterMap = this[_ensureParameters](); nullableParameters[$forEach](dart.fn((key, value) => { - let t275; - if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let t260; + if (key == null) dart.nullFailed(I[180], 905, 42, "key"); let lowerCaseKey = key[$toLowerCase](); if (lowerCaseKey === "charset") { - value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); } parameterMap[$_set](lowerCaseKey, value); }, T$0.StringAndStringNTovoid())); @@ -128114,6 +139902,7 @@ _http._ContentType = class _ContentType extends _http._HeaderValue { dart.addTypeTests(_http._ContentType); dart.addTypeCaches(_http._ContentType); _http._ContentType[dart.implements] = () => [_http.ContentType]; +dart.setStaticMethodSignature(_http._ContentType, () => ['parse']); dart.setGetterSignature(_http._ContentType, () => ({ __proto__: dart.getGetters(_http._ContentType.__proto__), mimeType: core.String, @@ -128127,11 +139916,54 @@ dart.setFieldSignature(_http._ContentType, () => ({ [_primaryType]: dart.fieldType(core.String), [_subType]: dart.fieldType(core.String) })); +var expires$0 = dart.privateName(_http, "_Cookie.expires"); +var maxAge$ = dart.privateName(_http, "_Cookie.maxAge"); +var domain$ = dart.privateName(_http, "_Cookie.domain"); +var httpOnly$ = dart.privateName(_http, "_Cookie.httpOnly"); +var secure$ = dart.privateName(_http, "_Cookie.secure"); var _path$3 = dart.privateName(_http, "_path"); +var _name$8 = dart.privateName(_http, "_name"); var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); _http._Cookie = class _Cookie extends core.Object { + get expires() { + return this[expires$0]; + } + set expires(value) { + this[expires$0] = value; + } + get maxAge() { + return this[maxAge$]; + } + set maxAge(value) { + this[maxAge$] = value; + } + get domain() { + return this[domain$]; + } + set domain(value) { + this[domain$] = value; + } + get httpOnly() { + return this[httpOnly$]; + } + set httpOnly(value) { + if (value == null) dart.nullFailed(I[180], 950, 8, "httpOnly"); + this[httpOnly$] = value; + } + get secure() { + return this[secure$]; + } + set secure(value) { + if (value == null) dart.nullFailed(I[180], 951, 8, "secure"); + this[secure$] = value; + } + static ['_#new#tearOff'](name, value) { + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + return new _http._Cookie.new(name, value); + } get name() { - return this[_name$7]; + return this[_name$8]; } get value() { return this[_value$5]; @@ -128144,17 +139976,21 @@ _http._Cookie = class _Cookie extends core.Object { this[_path$3] = newPath; } set name(newName) { - if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); _http._Cookie._validateName(newName); - this[_name$7] = newName; + this[_name$8] = newName; } set value(newValue) { - if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 973, 20, "newValue"); _http._Cookie._validateValue(newValue); this[_value$5] = newValue; } + static ['_#fromSetCookieValue#tearOff'](value) { + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } [_parseSetCookieValue](s) { - if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + if (s == null) dart.nullFailed(I[180], 986, 36, "s"); let index = 0; function done() { return index === s.length; @@ -128221,8 +140057,8 @@ _http._Cookie = class _Cookie extends core.Object { } }; dart.fn(parseAttributes, T$.VoidTovoid()); - this[_name$7] = _http._Cookie._validateName(parseName()); - if (dart.test(done()) || this[_name$7].length === 0) { + this[_name$8] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$8][$isEmpty]) { dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); } index = index + 1; @@ -128232,46 +140068,46 @@ _http._Cookie = class _Cookie extends core.Object { parseAttributes(); } toString() { - let t275, t275$, t275$0, t275$1, t275$2; + let t260, t260$, t260$0, t260$1, t260$2; let sb = new core.StringBuffer.new(); - t275 = sb; + t260 = sb; (() => { - t275.write(this[_name$7]); - t275.write("="); - t275.write(this[_value$5]); - return t275; + t260.write(this[_name$8]); + t260.write("="); + t260.write(this[_value$5]); + return t260; })(); let expires = this.expires; if (expires != null) { - t275$ = sb; + t260$ = sb; (() => { - t275$.write("; Expires="); - t275$.write(_http.HttpDate.format(expires)); - return t275$; + t260$.write("; Expires="); + t260$.write(_http.HttpDate.format(expires)); + return t260$; })(); } if (this.maxAge != null) { - t275$0 = sb; + t260$0 = sb; (() => { - t275$0.write("; Max-Age="); - t275$0.write(this.maxAge); - return t275$0; + t260$0.write("; Max-Age="); + t260$0.write(this.maxAge); + return t260$0; })(); } if (this.domain != null) { - t275$1 = sb; + t260$1 = sb; (() => { - t275$1.write("; Domain="); - t275$1.write(this.domain); - return t275$1; + t260$1.write("; Domain="); + t260$1.write(this.domain); + return t260$1; })(); } if (this.path != null) { - t275$2 = sb; + t260$2 = sb; (() => { - t275$2.write("; Path="); - t275$2.write(this.path); - return t275$2; + t260$2.write("; Path="); + t260$2.write(this.path); + return t260$2; })(); } if (dart.test(this.secure)) sb.write("; Secure"); @@ -128279,19 +140115,19 @@ _http._Cookie = class _Cookie extends core.Object { return sb.toString(); } static _validateName(newName) { - if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); - let separators = C[465] || CT.C465; + if (newName == null) dart.nullFailed(I[180], 1095, 38, "newName"); + let separators = C[477] || CT.C477; if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); for (let i = 0; i < newName.length; i = i + 1) { let codeUnit = newName[$codeUnitAt](i); - if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + if (codeUnit <= 32 || codeUnit >= 127 || dart.test(separators[$contains](newName[$_get](i)))) { dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); } } return newName; } static _validateValue(newValue) { - if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.nullFailed(I[180], 1130, 39, "newValue"); if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); let start = 0; let end = newValue.length; @@ -128318,28 +140154,28 @@ _http._Cookie = class _Cookie extends core.Object { } }; (_http._Cookie.new = function(name, value) { - if (name == null) dart.nullFailed(I[180], 920, 18, "name"); - if (value == null) dart.nullFailed(I[180], 920, 31, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (name == null) dart.nullFailed(I[180], 953, 18, "name"); + if (value == null) dart.nullFailed(I[180], 953, 31, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = _http._Cookie._validateName(name); + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = _http._Cookie._validateName(name); this[_value$5] = _http._Cookie._validateValue(value); - this.httpOnly = true; + this[httpOnly$] = true; ; }).prototype = _http._Cookie.prototype; (_http._Cookie.fromSetCookieValue = function(value) { - if (value == null) dart.nullFailed(I[180], 945, 37, "value"); - this.expires = null; - this.maxAge = null; - this.domain = null; + if (value == null) dart.nullFailed(I[180], 978, 37, "value"); + this[expires$0] = null; + this[maxAge$] = null; + this[domain$] = null; this[_path$3] = null; - this.httpOnly = false; - this.secure = false; - this[_name$7] = ""; + this[httpOnly$] = false; + this[secure$] = false; + this[_name$8] = ""; this[_value$5] = ""; this[_parseSetCookieValue](value); }).prototype = _http._Cookie.prototype; @@ -128350,6 +140186,7 @@ dart.setMethodSignature(_http._Cookie, () => ({ __proto__: dart.getMethods(_http._Cookie.__proto__), [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) })); +dart.setStaticMethodSignature(_http._Cookie, () => ['_validateName', '_validateValue', '_validatePath']); dart.setGetterSignature(_http._Cookie, () => ({ __proto__: dart.getGetters(_http._Cookie.__proto__), name: core.String, @@ -128365,7 +140202,7 @@ dart.setSetterSignature(_http._Cookie, () => ({ dart.setLibraryUri(_http._Cookie, I[177]); dart.setFieldSignature(_http._Cookie, () => ({ __proto__: dart.getFields(_http._Cookie.__proto__), - [_name$7]: dart.fieldType(core.String), + [_name$8]: dart.fieldType(core.String), [_value$5]: dart.fieldType(core.String), expires: dart.fieldType(dart.nullable(core.DateTime)), maxAge: dart.fieldType(dart.nullable(core.int)), @@ -128378,11 +140215,11 @@ dart.defineExtensionMethods(_http._Cookie, ['toString']); var _timeline = dart.privateName(_http, "_timeline"); _http.HttpProfiler = class HttpProfiler extends core.Object { static startRequest(method, uri, opts) { - let t275; + let t260; if (method == null) dart.nullFailed(I[181], 13, 12, "method"); if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; - let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + let data = new _http._HttpProfileData.new(method, uri, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); _http.HttpProfiler._profile[$_set](data.id, data); return data; } @@ -128395,13 +140232,13 @@ _http.HttpProfiler = class HttpProfiler extends core.Object { } static toJson(updatedSince) { return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t260 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { if (e == null) dart.nullFailed(I[181], 32, 12, "e"); return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); - }, T$0._HttpProfileDataTobool()))) - t275[$add](request.toJson()); - return t275; + }, T$1._HttpProfileDataTobool()))) + t260.push(request.toJson()); + return t260; })()])); } }; @@ -128410,24 +140247,29 @@ _http.HttpProfiler = class HttpProfiler extends core.Object { }).prototype = _http.HttpProfiler.prototype; dart.addTypeTests(_http.HttpProfiler); dart.addTypeCaches(_http.HttpProfiler); +dart.setStaticMethodSignature(_http.HttpProfiler, () => ['startRequest', 'getHttpProfileRequest', 'clear', 'toJson']); dart.setLibraryUri(_http.HttpProfiler, I[177]); +dart.setStaticFieldSignature(_http.HttpProfiler, () => ['_kType', '_profile']); dart.defineLazy(_http.HttpProfiler, { /*_http.HttpProfiler._kType*/get _kType() { return "HttpProfile"; }, /*_http.HttpProfiler._profile*/get _profile() { - return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); - }, - set _profile(_) {} + return new (T$1.IdentityMapOfint$_HttpProfileData()).new(); + } }, false); _http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + static ['_#new#tearOff'](name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + return new _http._HttpProfileEvent.new(name, $arguments); + } toJson() { return (() => { - let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); - t276[$_set]("timestamp", this.timestamp); - t276[$_set]("event", this.name); - if (this.arguments != null) t276[$_set]("arguments", this.arguments); - return t276; + let t261 = new (T$0.IdentityMapOfString$dynamic()).new(); + t261[$_set]("timestamp", this.timestamp); + t261[$_set]("event", this.name); + if (this.arguments != null) t261[$_set]("arguments", this.arguments); + return t261; })(); } }; @@ -128467,6 +140309,11 @@ var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_Htt var _updated = dart.privateName(_http, "_updated"); var _responseTimeline = dart.privateName(_http, "_responseTimeline"); _http._HttpProfileData = class _HttpProfileData extends core.Object { + static ['_#new#tearOff'](method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + return new _http._HttpProfileData.new(method, uri, parent); + } requestEvent(name, opts) { if (name == null) dart.nullFailed(I[181], 76, 28, "name"); let $arguments = opts && 'arguments' in opts ? opts.arguments : null; @@ -128477,11 +140324,11 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { proxyEvent(proxy) { if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); this.proxyDetails = (() => { - let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (proxy.host != null) t277[$_set]("host", proxy.host); - if (proxy.port != null) t277[$_set]("port", proxy.port); - if (proxy.username != null) t277[$_set]("username", proxy.username); - return t277; + let t262 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t262[$_set]("host", proxy.host); + if (proxy.port != null) t262[$_set]("port", proxy.port); + if (proxy.username != null) t262[$_set]("username", proxy.username); + return t262; })(); this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); this[_updated](); @@ -128491,63 +140338,64 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this.requestBody[$addAll](data); this[_updated](); } - formatHeaders(r) { - let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); - dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { - headers[$_set](core.String.as(name), T$.ListOfString().as(values)); - }, T$.dynamicAnddynamicToNull())]); - return headers; + formatHeaders(headers) { + if (headers == null) dart.nullFailed(I[181], 99, 33, "headers"); + let newHeaders = new (T$0.IdentityMapOfString$ListOfString()).new(); + headers.forEach(dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[181], 101, 22, "name"); + if (values == null) dart.nullFailed(I[181], 101, 28, "values"); + newHeaders[$_set](name, values); + }, T$0.StringAndListOfStringTovoid())); + return newHeaders; } - formatConnectionInfo(r) { - let t278, t278$, t278$0; - return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + formatConnectionInfo(connectionInfo) { + return connectionInfo == null ? null : new _js_helper.LinkedMap.from(["localPort", connectionInfo.localPort, "remoteAddress", connectionInfo.remoteAddress.address, "remotePort", connectionInfo.remotePort]); } finishRequest(opts) { let request = opts && 'request' in opts ? opts.request : null; - if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + if (request == null) dart.nullFailed(I[181], 117, 32, "request"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; - this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { - let t278 = T$.JSArrayOfString().of([]); + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request.headers), "connectionInfo", this.formatConnectionInfo(request.connectionInfo), "contentLength", request.contentLength, "cookies", (() => { + let t263 = T$.JSArrayOfString().of([]); for (let cookie of request.cookies) - t278[$add](dart.toString(cookie)); - return t278; + t263.push(dart.toString(cookie)); + return t263; })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); this[_timeline].finish({arguments: this.requestDetails}); this[_updated](); } startResponse(opts) { let response = opts && 'response' in opts ? opts.response : null; - if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + if (response == null) dart.nullFailed(I[181], 143, 51, "response"); function formatRedirectInfo() { - let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + let redirects = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let redirect of response.redirects) { redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); } return redirects; } - dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); - this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { - let t279 = T$.JSArrayOfString().of([]); + dart.fn(formatRedirectInfo, T$1.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response.headers), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response.connectionInfo), "contentLength", response.contentLength, "cookies", (() => { + let t264 = T$.JSArrayOfString().of([]); for (let cookie of response.cookies) - t279[$add](dart.toString(cookie)); - return t279; + t264.push(dart.toString(cookie)); + return t264; })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); - if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 171, 12, "!requestInProgress"); this.responseInProgress = true; this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); this.responseStartTimestamp = developer.Timeline.now; this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { - let t280 = new _js_helper.LinkedMap.new(); - t280[$_set]("requestUri", dart.toString(this.uri)); - for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) - t280[$_set](t281.key, t281.value); - return t280; + let t265 = new _js_helper.LinkedMap.new(); + t265[$_set]("requestUri", dart.toString(this.uri)); + t265[$addAll](dart.nullCheck(this.responseDetails)); + return t265; })()}); this[_updated](); } finishRequestWithError(error) { - if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + if (error == null) dart.nullFailed(I[181], 189, 38, "error"); this.requestInProgress = false; this.requestEndTimestamp = developer.Timeline.now; this.requestError = error; @@ -128562,7 +140410,7 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this[_updated](); } finishResponseWithError(error) { - if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (error == null) dart.nullFailed(I[181], 207, 39, "error"); if (!dart.nullCheck(this.responseInProgress)) return; this.responseInProgress = false; this.responseEndTimestamp = developer.Timeline.now; @@ -128571,134 +140419,131 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this[_updated](); } appendResponseData(data) { - if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + if (data == null) dart.nullFailed(I[181], 220, 37, "data"); this.responseBody[$addAll](data); this[_updated](); } toJson(opts) { let ref = opts && 'ref' in opts ? opts.ref : true; - if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + if (ref == null) dart.nullFailed(I[181], 225, 37, "ref"); return (() => { - let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); - t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); - t282[$_set]("id", this.id); - t282[$_set]("isolateId", _http._HttpProfileData.isolateId); - t282[$_set]("method", this.method); - t282[$_set]("uri", dart.toString(this.uri)); - t282[$_set]("startTime", this.requestStartTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); - if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { - let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); - t283[$_set]("events", (() => { - let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + let t266 = new (T$0.IdentityMapOfString$dynamic()).new(); + t266[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t266[$_set]("id", this.id); + t266[$_set]("isolateId", _http._HttpProfileData.isolateId); + t266[$_set]("method", this.method); + t266[$_set]("uri", dart.toString(this.uri)); + t266[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t266[$_set]("request", (() => { + let t267 = new (T$0.IdentityMapOfString$dynamic()).new(); + t267[$_set]("events", (() => { + let t268 = T$1.JSArrayOfMapOfString$dynamic().of([]); for (let event of this.requestEvents) - t284[$add](event.toJson()); - return t284; + t268.push(event.toJson()); + return t268; })()); - if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); - if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) - t283[$_set](t285.key, t285.value); - if (this.requestError != null) t283[$_set]("error", this.requestError); - return t283; + if (this.proxyDetails != null) t267[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) t267[$addAll](dart.nullCheck(this.requestDetails)); + if (this.requestError != null) t267[$_set]("error", this.requestError); + return t267; + })()); + if (this.responseInProgress != null) t266[$_set]("response", (() => { + let t269 = new (T$0.IdentityMapOfString$dynamic()).new(); + t269[$_set]("startTime", this.responseStartTimestamp); + t269[$addAll](dart.nullCheck(this.responseDetails)); + if (!dart.nullCheck(this.responseInProgress)) t269[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t269[$_set]("error", this.responseError); + return t269; })()); - if (this.responseInProgress != null) t282[$_set]("response", (() => { - let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); - t286[$_set]("startTime", this.responseStartTimestamp); - for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) - t286[$_set](t287.key, t287.value); - if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); - if (this.responseError != null) t286[$_set]("error", this.responseError); - return t286; + if (!dart.test(ref)) t266[$addAll]((() => { + let t270 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t270[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t270[$_set]("responseBody", this.responseBody); + return t270; })()); - if (!dart.test(ref)) for (let t289 of (() => { - let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); - if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); - if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); - return t288; - })()[$entries]) - t282[$_set](t289.key, t289.value); - return t282; + return t266; })(); } [_updated]() { return this[_lastUpdateTime] = developer.Timeline.now; } get id() { - let t290; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + let t271; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); } - set id(t290) { - if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + set id(id$35param) { + if (id$35param == null) dart.nullFailed(I[181], 264, 18, "id#param"); if (dart.test(this[___HttpProfileData_id_isSet])) dart.throw(new _internal.LateError.fieldAI("id")); else { this[___HttpProfileData_id_isSet] = true; - this[___HttpProfileData_id] = t290; + this[___HttpProfileData_id] = id$35param; } } get requestStartTimestamp() { - let t291; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); } - set requestStartTimestamp(t291) { - if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + set requestStartTimestamp(requestStartTimestamp$35param) { + if (requestStartTimestamp$35param == null) dart.nullFailed(I[181], 268, 18, "requestStartTimestamp#param"); if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); else { this[___HttpProfileData_requestStartTimestamp_isSet] = true; - this[___HttpProfileData_requestStartTimestamp] = t291; + this[___HttpProfileData_requestStartTimestamp] = requestStartTimestamp$35param; } } get requestEndTimestamp() { - let t292; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); } - set requestEndTimestamp(t292) { - if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + set requestEndTimestamp(requestEndTimestamp$35param) { + if (requestEndTimestamp$35param == null) dart.nullFailed(I[181], 269, 18, "requestEndTimestamp#param"); if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); else { this[___HttpProfileData_requestEndTimestamp_isSet] = true; - this[___HttpProfileData_requestEndTimestamp] = t292; + this[___HttpProfileData_requestEndTimestamp] = requestEndTimestamp$35param; } } get responseStartTimestamp() { - let t293; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); } - set responseStartTimestamp(t293) { - if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + set responseStartTimestamp(responseStartTimestamp$35param) { + if (responseStartTimestamp$35param == null) dart.nullFailed(I[181], 276, 18, "responseStartTimestamp#param"); if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); else { this[___HttpProfileData_responseStartTimestamp_isSet] = true; - this[___HttpProfileData_responseStartTimestamp] = t293; + this[___HttpProfileData_responseStartTimestamp] = responseStartTimestamp$35param; } } get responseEndTimestamp() { - let t294; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + let t271; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); } - set responseEndTimestamp(t294) { - if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + set responseEndTimestamp(responseEndTimestamp$35param) { + if (responseEndTimestamp$35param == null) dart.nullFailed(I[181], 277, 18, "responseEndTimestamp#param"); if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); else { this[___HttpProfileData_responseEndTimestamp_isSet] = true; - this[___HttpProfileData_responseEndTimestamp] = t294; + this[___HttpProfileData_responseEndTimestamp] = responseEndTimestamp$35param; } } get lastUpdateTime() { return this[_lastUpdateTime]; } get [_responseTimeline]() { - let t295; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + let t271; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); } - set [_responseTimeline](t295) { - if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + set [_responseTimeline](_responseTimeline$35param) { + if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = t295; + this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; } }; (_http._HttpProfileData.new = function(method, uri, parent) { @@ -128716,7 +140561,7 @@ _http._HttpProfileData = class _HttpProfileData extends core.Object { this.proxyDetails = null; this.requestBody = T$.JSArrayOfint().of([]); this.requestError = null; - this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); this[___HttpProfileData_responseStartTimestamp] = null; this[___HttpProfileData_responseStartTimestamp_isSet] = false; this[___HttpProfileData_responseEndTimestamp] = null; @@ -128743,8 +140588,8 @@ dart.setMethodSignature(_http._HttpProfileData, () => ({ requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), proxyEvent: dart.fnType(dart.void, [_http._Proxy]), appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), - formatHeaders: dart.fnType(core.Map, [dart.dynamic]), - formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + formatHeaders: dart.fnType(core.Map, [_http.HttpHeaders]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.nullable(_http.HttpConnectionInfo)]), finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), finishRequestWithError: dart.fnType(dart.void, [core.String]), @@ -128799,10 +140644,11 @@ dart.setFieldSignature(_http._HttpProfileData, () => ({ responseBody: dart.finalFieldType(core.List$(core.int)), responseError: dart.fieldType(dart.nullable(core.String)), [_lastUpdateTime]: dart.fieldType(core.int), - [_timeline]: dart.fieldType(developer.TimelineTask), + [_timeline]: dart.finalFieldType(developer.TimelineTask), [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) })); +dart.setStaticFieldSignature(_http._HttpProfileData, () => ['isolateId']); dart.defineLazy(_http._HttpProfileData, { /*_http._HttpProfileData.isolateId*/get isolateId() { return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); @@ -128820,18 +140666,19 @@ _http._ServiceObject = class _ServiceObject extends core.Object { return this[__serviceId$]; } set [__serviceId$0](value) { + if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); this[__serviceId$] = value; } get [_serviceId$]() { - let t296; - if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + let t271; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t271 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t271) + 1, t271); return this[__serviceId$0]; } get [_servicePath$]() { return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); } [_serviceType$](ref) { - if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (ref == null) dart.nullFailed(I[181], 305, 28, "ref"); if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); return this[_serviceTypeName$]; } @@ -128860,15 +140707,19 @@ var _length$1 = dart.privateName(_http, "_length"); var _buffer$1 = dart.privateName(_http, "_buffer"); var _grow$0 = dart.privateName(_http, "_grow"); _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + static ['_#new#tearOff'](initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); + return new _http._CopyingBytesBuilder.new(initialCapacity); + } add(bytes) { - if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 325, 22, "bytes"); let bytesLength = bytes[$length]; if (bytesLength === 0) return; let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); if (dart.notNull(this[_buffer$1][$length]) < required) { this[_grow$0](required); } - if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 332, 12, "_buffer.length >= required"); if (typed_data.Uint8List.is(bytes)) { this[_buffer$1][$setRange](this[_length$1], required, bytes); } else { @@ -128879,16 +140730,16 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { this[_length$1] = required; } addByte(byte) { - if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (byte == null) dart.nullFailed(I[181], 343, 20, "byte"); if (this[_buffer$1][$length] == this[_length$1]) { this[_grow$0](this[_length$1]); } - if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 349, 12, "_buffer.length > _length"); this[_buffer$1][$_set](this[_length$1], byte); this[_length$1] = dart.notNull(this[_length$1]) + 1; } [_grow$0](required) { - if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + if (required == null) dart.nullFailed(I[181], 354, 18, "required"); let newSize = dart.notNull(required) * 2; if (dart.notNull(newSize) < 1024) { newSize = 1024; @@ -128923,8 +140774,8 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; } static _pow2roundup(x) { - if (x == null) dart.nullFailed(I[181], 394, 31, "x"); - if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + if (x == null) dart.nullFailed(I[181], 392, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 393, 12, "x > 0"); x = dart.notNull(x) - 1; x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; @@ -128935,7 +140786,7 @@ _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { } }; (_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + if (initialCapacity == null) dart.nullFailed(I[181], 320, 29, "initialCapacity"); this[_length$1] = 0; this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); ; @@ -128952,6 +140803,7 @@ dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ toBytes: dart.fnType(typed_data.Uint8List, []), clear: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_http._CopyingBytesBuilder, () => ['_pow2roundup']); dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), length: core.int, @@ -128964,6 +140816,7 @@ dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ [_length$1]: dart.fieldType(core.int), [_buffer$1]: dart.fieldType(typed_data.Uint8List) })); +dart.setStaticFieldSignature(_http._CopyingBytesBuilder, () => ['_INIT_SIZE', '_emptyList']); dart.defineLazy(_http._CopyingBytesBuilder, { /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { return 1024; @@ -128979,30 +140832,36 @@ _http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8 get transferLength() { return this[_transferLength$]; } + static ['_#new#tearOff'](headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + return new _http._HttpIncoming.new(headers, _transferLength, _stream); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; this.hasSubscriber = true; return this[_stream$1].handleError(dart.fn(error => { - dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); - }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + dart.throw(new _http.HttpException.new(_http.HttpException.as(error).message, {uri: this.uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => _http.HttpException.is(error), T$0.dynamicTobool())}).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } get dataDone() { return this[_dataCompleter].future; } close(closing) { - if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + if (closing == null) dart.nullFailed(I[181], 449, 19, "closing"); this.fullBodyRead = true; this.hasSubscriber = true; this[_dataCompleter].complete(closing); } }; (_http._HttpIncoming.new = function(headers, _transferLength, _stream) { - if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); - if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); - if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); - this[_dataCompleter] = async.Completer.new(); + if (headers == null) dart.nullFailed(I[181], 435, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 435, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 435, 58, "_stream"); + this[_dataCompleter] = T$1.CompleterOfbool().new(); this.fullBodyRead = false; this.upgraded = false; this.statusCode = null; @@ -129026,14 +140885,14 @@ dart.setMethodSignature(_http._HttpIncoming, () => ({ dart.setGetterSignature(_http._HttpIncoming, () => ({ __proto__: dart.getGetters(_http._HttpIncoming.__proto__), transferLength: core.int, - dataDone: async.Future + dataDone: async.Future$(core.bool) })); dart.setLibraryUri(_http._HttpIncoming, I[177]); dart.setFieldSignature(_http._HttpIncoming, () => ({ __proto__: dart.getFields(_http._HttpIncoming.__proto__), [_transferLength$]: dart.finalFieldType(core.int), - [_dataCompleter]: dart.finalFieldType(async.Completer), - [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + [_dataCompleter]: dart.finalFieldType(async.Completer$(core.bool)), + [_stream$1]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), fullBodyRead: dart.fieldType(core.bool), headers: dart.finalFieldType(_http._HttpHeaders), upgraded: dart.fieldType(core.bool), @@ -129047,9 +140906,9 @@ var _cookies = dart.privateName(_http, "_cookies"); var _incoming$ = dart.privateName(_http, "_incoming"); _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129065,7 +140924,7 @@ _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends asyn } }; (_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessageListInt.__proto__.new.call(this); @@ -129089,9 +140948,9 @@ dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ })); _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; } get headers() { return this[_incoming$].headers; @@ -129107,7 +140966,7 @@ _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(type } }; (_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); this[_cookies] = null; this[_incoming$] = _incoming; _http._HttpInboundMessage.__proto__.new.call(this); @@ -129139,6 +140998,13 @@ var _markSeen = dart.privateName(_http, "_markSeen"); var _socket$0 = dart.privateName(_http, "_socket"); var _destroyed = dart.privateName(_http, "_destroyed"); _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + static ['_#new#tearOff'](response, _incoming, _httpServer, _httpConnection) { + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); + return new _http._HttpRequest.new(response, _incoming, _httpServer, _httpConnection); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -129187,11 +141053,11 @@ _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { } }; (_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { - let t296; - if (response == null) dart.nullFailed(I[181], 497, 21, "response"); - if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); - if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); - if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + let t271; + if (response == null) dart.nullFailed(I[181], 495, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 495, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 495, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 496, 12, "_httpConnection"); this[_session] = null; this[_requestedUri] = null; this.response = response; @@ -129199,21 +141065,21 @@ _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { this[_httpConnection$] = _httpConnection; _http._HttpRequest.__proto__.new.call(this, _incoming); if (this.headers.protocolVersion === "1.1") { - t296 = this.response.headers; + t271 = this.response.headers; (() => { - t296.chunkedTransferEncoding = true; - t296.persistentConnection = this.headers.persistentConnection; - return t296; + t271.chunkedTransferEncoding = true; + t271.persistentConnection = this.headers.persistentConnection; + return t271; })(); } if (this[_httpServer$][_sessionManagerInstance] != null) { let sessionIds = this.cookies[$where](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + if (cookie == null) dart.nullFailed(I[181], 507, 19, "cookie"); return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); return cookie.value; - }, T$0.CookieToString())); + }, T$1.CookieToString())); for (let sessionId of sessionIds) { let session = this[_httpServer$][_sessionManager$].getSession(sessionId); this[_session] = session; @@ -129269,9 +141135,15 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound get redirects() { return this[_httpRequest$][_responseRedirects]; } + static ['_#new#tearOff'](_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); + return new _http._HttpClientResponse.new(_incoming, _httpRequest, _httpClient, _profileData); + } static _getCompressionState(httpClient, headers) { - if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); - if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (httpClient == null) dart.nullFailed(I[181], 596, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 596, 44, "headers"); if (headers.value("content-encoding") === "gzip") { return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; } else { @@ -129328,72 +141200,71 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound if (followLoops !== true) { for (let redirect of this.redirects) { if (dart.equals(redirect.location, url)) { - return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); } } } - return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - let t296; - if (request == null) dart.nullFailed(I[181], 671, 16, "request"); - t296 = request[_responseRedirects]; + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$], {isRedirect: true}).then(_http.HttpClientResponse, dart.fn(request => { + let t271; + if (request == null) dart.nullFailed(I[181], 669, 16, "request"); + t271 = request[_responseRedirects]; (() => { - t296[$addAll](this.redirects); - t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t296; + t271[$addAll](this.redirects); + t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t271; })(); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); } listen(onData, opts) { - let t296; + let t271; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; if (dart.test(this[_incoming$].upgraded)) { - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); this[_httpRequest$][_httpClientConnection$].destroy(); - return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + return new (T$1._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); } let stream = this[_incoming$]; if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { - stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[478] || CT.C478); } if (this[_profileData$] != null) { stream = stream.map(typed_data.Uint8List, dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 698, 28, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendResponseData(data); + let t271; + if (data == null) dart.nullFailed(I[181], 696, 28, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendResponseData(data); return data; - }, T$0.Uint8ListToUint8List())); + }, T$1.Uint8ListToUint8List())); } return stream.listen(onData, {onError: dart.fn((e, st) => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); if (onError == null) { return; } - if (T$.ObjectTovoid().is(onError)) { - onError(core.Object.as(e)); + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + onError(core.Object.as(e), core.StackTrace.as(st)); } else { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); - dart.dcall(onError, [e, st]); + T$.ObjectTovoid().as(onError)(core.Object.as(e)); } }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponse(); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponse(); if (onDone != null) { onDone(); } }, T$.VoidTovoid()), cancelOnError: cancelOnError}); } detachSocket() { - let t296; - t296 = this[_profileData$]; - t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + let t271; + t271 = this[_profileData$]; + t271 == null ? null : t271.finishResponseWithError("Socket has been detached"); this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); return this[_httpRequest$][_httpClientConnection$].detachSocket(); } @@ -129409,58 +141280,59 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound return this.statusCode === 401 && challenge != null && challenge[$length] === 1; } [_authenticate](proxyAuth) { - let t296, t296$; - if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Authentication"); + let t271, t271$; + if (proxyAuth == null) dart.nullFailed(I[181], 743, 49, "proxyAuth"); + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Authentication"); const retry = () => { - let t296; - t296 = this[_httpRequest$][_profileData$]; - t296 == null ? null : t296.requestEvent("Retrying"); - return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { - if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + let t271; + t271 = this[_httpRequest$][_profileData$]; + t271 == null ? null : t271.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$], {isRedirect: false}).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 753, 20, "request"); return request.close(); - }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }, T$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); }; - dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + dart.fn(retry, T$1.VoidToFutureOfHttpClientResponse()); const authChallenge = () => { return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); }; - dart.fn(authChallenge, T$0.VoidToListNOfString()); + dart.fn(authChallenge, T$1.VoidToListNOfString()); const findCredentials = scheme => { - if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 763, 57, "scheme"); return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); }; - dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + dart.fn(findCredentials, T$1._AuthenticationSchemeTo_CredentialsN()); const removeCredentials = cr => { - if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (cr == null) dart.nullFailed(I[181], 769, 41, "cr"); if (dart.test(proxyAuth)) { this[_httpClient$][_removeProxyCredentials](cr); } else { this[_httpClient$][_removeCredentials](cr); } }; - dart.fn(removeCredentials, T$0._CredentialsTovoid()); + dart.fn(removeCredentials, T$1._CredentialsTovoid()); const requestAuthentication = (scheme, realm) => { - if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 778, 31, "scheme"); if (dart.test(proxyAuth)) { let authenticateProxy = this[_httpClient$][_authenticateProxy]; if (authenticateProxy == null) { return T$.FutureOfbool().value(false); } let proxy = this[_httpRequest$][_proxy$]; - return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); - } else { - let authenticate = this[_httpClient$][_authenticate]; - if (authenticate == null) { - return T$.FutureOfbool().value(false); + if (!dart.test(proxy.isDirect)) { + return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), dart.toString(scheme), realm); } - return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); } + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return authenticate(this[_httpRequest$].uri, dart.toString(scheme), realm); }; - dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + dart.fn(requestAuthentication, T$1._AuthenticationSchemeAndStringNToFutureOfbool()); let challenge = dart.nullCheck(authChallenge()); - if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 798, 12, "challenge.length == 1"); let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); let scheme = _http._AuthenticationScheme.fromString(header.value); let realm = header.parameters[$_get]("realm"); @@ -129475,13 +141347,13 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound let nonce = cr.nonce; if (nonce == null || nonce == header.parameters[$_get]("nonce")) { if (nonce == null) { - t296$ = cr; + t271$ = cr; (() => { - t296$.nonce = header.parameters[$_get]("nonce"); - t296$.algorithm = "MD5"; - t296$.qop = header.parameters[$_get]("qop"); - t296$.nonceCount = 0; - return t296$; + t271$.nonce = header.parameters[$_get]("nonce"); + t271$.algorithm = "MD5"; + t271$.qop = header.parameters[$_get]("qop"); + t271$.nonceCount = 0; + return t271$; })(); } return retry(); @@ -129500,20 +141372,20 @@ _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInbound cr = null; } return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { - if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (credsAvailable == null) dart.nullFailed(I[181], 853, 55, "credsAvailable"); if (dart.test(credsAvailable)) { cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); return retry(); } else { return this; } - }, T$0.boolToFutureOrOfHttpClientResponse())); + }, T$1.boolToFutureOrOfHttpClientResponse())); } }; (_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { - if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); - if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); - if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + if (_incoming == null) dart.nullFailed(I[181], 587, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 587, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 588, 12, "_httpClient"); this[_httpRequest$] = _httpRequest; this[_httpClient$] = _httpClient; this[_profileData$] = _profileData; @@ -129531,6 +141403,7 @@ dart.setMethodSignature(_http._HttpClientResponse, () => ({ detachSocket: dart.fnType(async.Future$(io.Socket), []), [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) })); +dart.setStaticMethodSignature(_http._HttpClientResponse, () => ['_getCompressionState']); dart.setGetterSignature(_http._HttpClientResponse, () => ({ __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), redirects: core.List$(_http.RedirectInfo), @@ -129551,14 +141424,17 @@ dart.setFieldSignature(_http._HttpClientResponse, () => ({ [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) })); _http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + static ['_#new#tearOff']() { + return new _http._ToUint8List.new(); + } convert(input) { T$0.ListOfint().as(input); - if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + if (input == null) dart.nullFailed(I[181], 868, 31, "input"); return _native_typed_data.NativeUint8List.fromList(input); } startChunkedConversion(sink) { - T$0.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + T$1.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); return new _http._Uint8ListConversionSink.new(sink); } }; @@ -129582,9 +141458,13 @@ _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Obj set [_target$2](value) { super[_target$2] = value; } + static ['_#new#tearOff'](_target) { + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); + return new _http._Uint8ListConversionSink.new(_target); + } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + if (data == null) dart.nullFailed(I[181], 880, 22, "data"); this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); } close() { @@ -129592,7 +141472,7 @@ _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Obj } }; (_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); this[_target$1] = _target; ; }).prototype = _http._Uint8ListConversionSink.prototype; @@ -129621,9 +141501,13 @@ var _completeDoneValue$ = dart.privateName(_http, "_completeDoneValue"); var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); _http._StreamSinkImpl$ = dart.generic(T => { - var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); - var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var __t$StreamOfT = () => (__t$StreamOfT = dart.constFn(async.Stream$(T)))(); + var __t$StreamControllerOfT = () => (__t$StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); class _StreamSinkImpl extends core.Object { + static ['_#new#tearOff'](T, _target) { + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + return new (_http._StreamSinkImpl$(T)).new(_target); + } add(data) { T.as(data); if (dart.test(this[_isClosed$0])) { @@ -129632,15 +141516,15 @@ _http._StreamSinkImpl$ = dart.generic(T => { this[_controller$0].add(data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (error == null) dart.nullFailed(I[181], 907, 24, "error"); if (dart.test(this[_isClosed$0])) { dart.throw(new core.StateError.new("StreamSink is closed")); } this[_controller$0].addError(error, stackTrace); } addStream(stream) { - StreamOfT().as(stream); - if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + __t$StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 914, 30, "stream"); if (dart.test(this[_isBound$])) { dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); } @@ -129698,8 +141582,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { } } [_completeDoneError$](error, stackTrace) { - if (error == null) dart.nullFailed(I[181], 979, 34, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 978, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 978, 52, "stackTrace"); if (!dart.test(this[_doneCompleter$].isCompleted)) { this[_hasError$0] = true; this[_doneCompleter$].completeError(error, stackTrace); @@ -129713,7 +141597,7 @@ _http._StreamSinkImpl$ = dart.generic(T => { dart.throw(new core.StateError.new("StreamSink is closed")); } if (this[_controllerInstance$] == null) { - this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerInstance$] = __t$StreamControllerOfT().new({sync: true}); this[_controllerCompleter$] = async.Completer.new(); this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { if (dart.test(this[_isBound$])) { @@ -129724,8 +141608,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { this[_closeTarget$](); } }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); - if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (error == null) dart.nullFailed(I[181], 1005, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1005, 45, "stackTrace"); if (dart.test(this[_isBound$])) { dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); this[_controllerCompleter$] = null; @@ -129739,8 +141623,8 @@ _http._StreamSinkImpl$ = dart.generic(T => { } } (_StreamSinkImpl.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); - this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + if (_target == null) dart.nullFailed(I[181], 898, 24, "_target"); + this[_doneCompleter$] = T$1.CompleterOfvoid().new(); this[_controllerInstance$] = null; this[_controllerCompleter$] = null; this[_isClosed$0] = false; @@ -129784,7 +141668,6 @@ _http._StreamSinkImpl$ = dart.generic(T => { }); _http._StreamSinkImpl = _http._StreamSinkImpl$(); dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); -var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); var _encoding$0 = dart.privateName(_http, "_encoding"); var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); @@ -129792,33 +141675,32 @@ var __IOSink_encoding$ = dart.privateName(_http, "_#IOSink#encoding"); var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { - get [_profileData$]() { - return this[_profileData$0]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); + return new _http._IOSinkImpl.new(target, _encoding, _profileData); } get encoding() { return this[_encoding$0]; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (value == null) dart.nullFailed(I[181], 1033, 30, "value"); if (!dart.test(this[_encodingMutable$])) { dart.throw(new core.StateError.new("IOSink encoding is not mutable")); } this[_encoding$0] = value; } write(obj) { - let t296; + let t271; let string = dart.str(obj); if (string[$isEmpty]) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); super.add(this[_encoding$0].encode(string)); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 1051, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1051, 43, "separator"); let iterator = objects[$iterator]; if (!dart.test(iterator.moveNext())) return; if (separator[$isEmpty]) { @@ -129838,28 +141720,29 @@ _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$( this.write("\n"); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 1072, 26, "charCode"); this.write(core.String.fromCharCode(charCode)); } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 1022, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._IOSinkImpl.new = function(target, _encoding, _profileData) { - if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + if (target == null) dart.nullFailed(I[181], 1028, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); this[_encodingMutable$] = true; this[_encoding$0] = _encoding; - this[_profileData$0] = _profileData; + this[_profileData$] = _profileData; _http._IOSinkImpl.__proto__.new.call(this, target); ; }).prototype = _http._IOSinkImpl.prototype; @@ -129876,13 +141759,13 @@ dart.setMethodSignature(_http._IOSinkImpl, () => ({ dart.setGetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._IOSinkImpl, () => ({ __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._IOSinkImpl, I[177]); @@ -129904,26 +141787,26 @@ _http._HttpOutboundMessage$ = dart.generic(T => { return this.headers.contentLength; } set contentLength(contentLength) { - if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + if (contentLength == null) dart.nullFailed(I[181], 1105, 30, "contentLength"); this.headers.contentLength = contentLength; } get persistentConnection() { return this.headers.persistentConnection; } set persistentConnection(p) { - if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + if (p == null) dart.nullFailed(I[181], 1110, 38, "p"); this.headers.persistentConnection = p; } get bufferOutput() { return this[_bufferOutput]; } set bufferOutput(bufferOutput) { - if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (bufferOutput == null) dart.nullFailed(I[181], 1115, 30, "bufferOutput"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_bufferOutput] = bufferOutput; } get encoding() { - let t296; + let t271; if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { return this[_encoding$0]; } @@ -129934,34 +141817,34 @@ _http._HttpOutboundMessage$ = dart.generic(T => { } else { charset = "iso-8859-1"; } - t296 = convert.Encoding.getByName(charset); - return t296 == null ? convert.latin1 : t296; + t271 = convert.Encoding.getByName(charset); + return t271 == null ? convert.latin1 : t271; } set encoding(value) { super.encoding = value; } add(data) { - let t296; + let t271; T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); - if (data[$length] === 0) return; - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + if (data == null) dart.nullFailed(I[181], 1134, 22, "data"); + if (dart.test(data[$isEmpty])) return; + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); super.add(data); } addStream(s) { T$0.StreamOfListOfint().as(s); - if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (s == null) dart.nullFailed(I[181], 1140, 38, "s"); if (this[_profileData$] == null) { return super.addStream(s); } return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { - let t296; - if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); - t296 = this[_profileData$]; - t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + let t271; + if (data == null) dart.nullFailed(I[181], 1144, 35, "data"); + t271 = this[_profileData$]; + t271 == null ? null : t271.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); return data; - }, T$0.ListOfintToListOfint()))); + }, T$1.ListOfintToListOfint()))); } write(obj) { if (!dart.test(this[_encodingSet])) { @@ -129975,14 +141858,14 @@ _http._HttpOutboundMessage$ = dart.generic(T => { } } (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1089, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1089, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1089, 71, "outgoing"); let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; this[_encodingSet] = false; this[_bufferOutput] = true; this[_uri] = uri; - this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: dart.test(uri.isScheme("https")) ? 443 : 80, initialHeaders: initialHeaders}); this[_outgoing] = outgoing; _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); this[_outgoing].outbound = this; @@ -130026,19 +141909,26 @@ var _findReasonPhrase = dart.privateName(_http, "_findReasonPhrase"); var _isNew = dart.privateName(_http, "_isNew"); var _writeHeader = dart.privateName(_http, "_writeHeader"); _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + static ['_#new#tearOff'](uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); + return new _http._HttpResponse.new(uri, protocolVersion, outgoing, defaultHeaders, serverHeader); + } get [_isConnectionClosed]() { return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; } get cookies() { - let t296; - t296 = this[_cookies]; - return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + let t271; + t271 = this[_cookies]; + return t271 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t271; } get statusCode() { return this[_statusCode]; } set statusCode(statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1186, 27, "statusCode"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_statusCode] = statusCode; } @@ -130046,14 +141936,14 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h return this[_findReasonPhrase](this.statusCode); } set reasonPhrase(reasonPhrase) { - if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (reasonPhrase == null) dart.nullFailed(I[181], 1192, 32, "reasonPhrase"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this[_reasonPhrase] = reasonPhrase; } redirect(location, opts) { - if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + if (location == null) dart.nullFailed(I[181], 1197, 23, "location"); let status = opts && 'status' in opts ? opts.status : 302; - if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (status == null) dart.nullFailed(I[181], 1197, 38, "status"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); this.statusCode = status; this.headers.set("location", dart.toString(location)); @@ -130061,13 +141951,13 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h } detachSocket(opts) { let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (writeHeaders == null) dart.nullFailed(I[181], 1204, 37, "writeHeaders"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); this.deadline = null; let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); if (dart.test(writeHeaders)) { let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); - if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1211, 14, "headersFuture == null"); } else { this[_outgoing].headersWritten = true; } @@ -130083,9 +141973,9 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h return this[_deadline]; } set deadline(d) { - let t296; - t296 = this[_deadlineTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_deadlineTimer]; + t271 == null ? null : t271.cancel(); this[_deadline] = d; if (d == null) return; this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { @@ -130093,7 +141983,7 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h }, T$.VoidTovoid())); } [_writeHeader]() { - let t296, t296$, t296$0; + let t271, t271$, t271$0; let buffer = new _http._CopyingBytesBuilder.new(8192); if (this.headers.protocolVersion === "1.1") { buffer.add(_http._Const.HTTP11); @@ -130112,30 +142002,30 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h let found = false; for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t296 = this.cookies[$_get](i); + t271 = this.cookies[$_get](i); (() => { - t296.value = session.id; - t296.httpOnly = true; - t296.path = "/"; - return t296; + t271.value = session.id; + t271.httpOnly = true; + t271.path = "/"; + return t271; })(); found = true; } } if (!found) { let cookie = _http.Cookie.new("DARTSESSID", session.id); - this.cookies[$add]((t296$ = cookie, (() => { - t296$.httpOnly = true; - t296$.path = "/"; - return t296$; + this.cookies[$add]((t271$ = cookie, (() => { + t271$.httpOnly = true; + t271$.path = "/"; + return t271$; })())); } } - t296$0 = this[_cookies]; - t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + t271$0 = this[_cookies]; + t271$0 == null ? null : t271$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1278, 24, "cookie"); this.headers.add("set-cookie", cookie); - }, T$0.CookieTovoid())); + }, T$1.CookieTovoid())); this.headers[_finalize](); this.headers[_build](buffer); buffer.addByte(13); @@ -130144,184 +142034,184 @@ _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_h this[_outgoing].setHeader(headerBytes, headerBytes[$length]); } [_findReasonPhrase](statusCode) { - if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + if (statusCode == null) dart.nullFailed(I[181], 1292, 32, "statusCode"); let reasonPhrase = this[_reasonPhrase]; if (reasonPhrase != null) { return reasonPhrase; } switch (statusCode) { case 100: - { - return "Continue"; - } + { + return "Continue"; + } case 101: - { - return "Switching Protocols"; - } + { + return "Switching Protocols"; + } case 200: - { - return "OK"; - } + { + return "OK"; + } case 201: - { - return "Created"; - } + { + return "Created"; + } case 202: - { - return "Accepted"; - } + { + return "Accepted"; + } case 203: - { - return "Non-Authoritative Information"; - } + { + return "Non-Authoritative Information"; + } case 204: - { - return "No Content"; - } + { + return "No Content"; + } case 205: - { - return "Reset Content"; - } + { + return "Reset Content"; + } case 206: - { - return "Partial Content"; - } + { + return "Partial Content"; + } case 300: - { - return "Multiple Choices"; - } + { + return "Multiple Choices"; + } case 301: - { - return "Moved Permanently"; - } + { + return "Moved Permanently"; + } case 302: - { - return "Found"; - } + { + return "Found"; + } case 303: - { - return "See Other"; - } + { + return "See Other"; + } case 304: - { - return "Not Modified"; - } + { + return "Not Modified"; + } case 305: - { - return "Use Proxy"; - } + { + return "Use Proxy"; + } case 307: - { - return "Temporary Redirect"; - } + { + return "Temporary Redirect"; + } case 400: - { - return "Bad Request"; - } + { + return "Bad Request"; + } case 401: - { - return "Unauthorized"; - } + { + return "Unauthorized"; + } case 402: - { - return "Payment Required"; - } + { + return "Payment Required"; + } case 403: - { - return "Forbidden"; - } + { + return "Forbidden"; + } case 404: - { - return "Not Found"; - } + { + return "Not Found"; + } case 405: - { - return "Method Not Allowed"; - } + { + return "Method Not Allowed"; + } case 406: - { - return "Not Acceptable"; - } + { + return "Not Acceptable"; + } case 407: - { - return "Proxy Authentication Required"; - } + { + return "Proxy Authentication Required"; + } case 408: - { - return "Request Time-out"; - } + { + return "Request Time-out"; + } case 409: - { - return "Conflict"; - } + { + return "Conflict"; + } case 410: - { - return "Gone"; - } + { + return "Gone"; + } case 411: - { - return "Length Required"; - } + { + return "Length Required"; + } case 412: - { - return "Precondition Failed"; - } + { + return "Precondition Failed"; + } case 413: - { - return "Request Entity Too Large"; - } + { + return "Request Entity Too Large"; + } case 414: - { - return "Request-URI Too Long"; - } + { + return "Request-URI Too Long"; + } case 415: - { - return "Unsupported Media Type"; - } + { + return "Unsupported Media Type"; + } case 416: - { - return "Requested range not satisfiable"; - } + { + return "Requested range not satisfiable"; + } case 417: - { - return "Expectation Failed"; - } + { + return "Expectation Failed"; + } case 500: - { - return "Internal Server Error"; - } + { + return "Internal Server Error"; + } case 501: - { - return "Not Implemented"; - } + { + return "Not Implemented"; + } case 502: - { - return "Bad Gateway"; - } + { + return "Bad Gateway"; + } case 503: - { - return "Service Unavailable"; - } + { + return "Service Unavailable"; + } case 504: - { - return "Gateway Time-out"; - } + { + return "Gateway Time-out"; + } case 505: - { - return "Http Version not supported"; - } + { + return "Http Version not supported"; + } default: - { - return "Status " + dart.str(statusCode); - } + { + return "Status " + dart.str(statusCode); + } } } }; (_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { - if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); - if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); - if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); - if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + if (uri == null) dart.nullFailed(I[181], 1172, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1172, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1172, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1173, 19, "defaultHeaders"); this[_statusCode] = 200; this[_reasonPhrase] = null; this[_cookies] = null; @@ -130367,30 +142257,32 @@ dart.setFieldSignature(_http._HttpResponse, () => ({ [_deadline]: dart.fieldType(dart.nullable(core.Duration)), [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) })); -var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); var _responseCompleter = dart.privateName(_http, "_responseCompleter"); var _response = dart.privateName(_http, "_response"); var _followRedirects = dart.privateName(_http, "_followRedirects"); var _maxRedirects = dart.privateName(_http, "_maxRedirects"); var _aborted = dart.privateName(_http, "_aborted"); var _onIncoming = dart.privateName(_http, "_onIncoming"); -var _onError$ = dart.privateName(_http, "_onError"); +var _onError = dart.privateName(_http, "_onError"); var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); var _requestUri = dart.privateName(_http, "_requestUri"); _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - get [_profileData$]() { - return this[_profileData$1]; - } - set [_profileData$](value) { - super[_profileData$] = value; + static ['_#new#tearOff'](outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); + return new _http._HttpClientRequest.new(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData); } get done() { - let t296; - t296 = this[_response]; - return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); - return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); - }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + let t271; + t271 = this[_response]; + return t271 == null ? this[_response] = async.Future.wait(dart.dynamic, T$1.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1440, 18, "list"); + return T$1.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$1.ListToFutureOrOfHttpClientResponse())) : t271; } close() { if (!dart.test(this[_aborted])) { @@ -130402,7 +142294,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_maxRedirects]; } set maxRedirects(maxRedirects) { - if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (maxRedirects == null) dart.nullFailed(I[181], 1451, 29, "maxRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_maxRedirects] = maxRedirects; } @@ -130410,7 +142302,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_followRedirects]; } set followRedirects(followRedirects) { - if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (followRedirects == null) dart.nullFailed(I[181], 1457, 33, "followRedirects"); if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); this[_followRedirects] = followRedirects; } @@ -130418,7 +142310,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM return this[_httpClientConnection$].connectionInfo; } [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); if (dart.test(this[_aborted])) { return; } @@ -130426,30 +142318,30 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM let future = null; if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$1.dynamicToFutureOfHttpClientResponse())); } else { - future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$1.dynamicToFutureOfHttpClientResponse())); } } else if (dart.test(response[_shouldAuthenticateProxy])) { future = response[_authenticate](true); } else if (dart.test(response[_shouldAuthenticate])) { future = response[_authenticate](false); } else { - future = T$0.FutureOfHttpClientResponse().value(response); + future = T$1.FutureOfHttpClientResponse().value(response); } future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].complete(v); } - }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + }, T$1.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); } }, T$.dynamicAnddynamicToNull())}); } - [_onError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + [_onError](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1503, 35, "stackTrace"); if (!dart.test(this[_responseCompleter].isCompleted)) { this[_responseCompleter].completeError(core.Object.as(error), stackTrace); } @@ -130480,8 +142372,8 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM } add(data) { T$0.ListOfint().as(data); - if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); - if (data[$length] === 0 || dart.test(this[_aborted])) return; + if (data == null) dart.nullFailed(I[181], 1539, 22, "data"); + if (dart.test(data[$isEmpty]) || dart.test(this[_aborted])) return; super.add(data); } write(obj) { @@ -130489,7 +142381,7 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM super.write(obj); } [_writeHeader]() { - let t296; + let t271; if (dart.test(this[_aborted])) { this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); return; @@ -130502,22 +142394,22 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM buffer.add(_http._Const.HTTP11); buffer.addByte(13); buffer.addByte(10); - if (!dart.test(this.cookies[$isEmpty])) { + if (dart.test(this.cookies[$isNotEmpty])) { let sb = new core.StringBuffer.new(); for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { if (i > 0) sb.write("; "); - t296 = sb; + t271 = sb; (() => { - t296.write(this.cookies[$_get](i).name); - t296.write("="); - t296.write(this.cookies[$_get](i).value); - return t296; + t271.write(this.cookies[$_get](i).name); + t271.write("="); + t271.write(this.cookies[$_get](i).value); + return t271; })(); } this.headers.add("cookie", sb.toString()); } this.headers[_finalize](); - this.headers[_build](buffer); + this.headers[_build](buffer, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); buffer.addByte(13); buffer.addByte(10); let headerBytes = buffer.takeBytes(); @@ -130533,44 +142425,41 @@ _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundM } }; (_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - let t296, t296$; - if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); - if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); - if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); - if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); - if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); - if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + let t271; + if (outgoing == null) dart.nullFailed(I[181], 1412, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1413, 10, "uri"); + if (method == null) dart.nullFailed(I[181], 1414, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1415, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1416, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1417, 10, "_httpClientConnection"); this.cookies = T$0.JSArrayOfCookie().of([]); - this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_responseCompleter] = T$1.CompleterOfHttpClientResponse().new(); this[_response] = null; this[_followRedirects] = true; this[_maxRedirects] = 5; - this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); this[_aborted] = false; + this.uri = uri; this.method = method; this[_proxy$] = _proxy; this[_httpClient$] = _httpClient; this[_httpClientConnection$] = _httpClientConnection; - this[_profileData$1] = _profileData; - this.uri = uri; _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Request sent"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Request sent"); if (this.method === "GET" || this.method === "HEAD") { this.contentLength = 0; } else { this.headers.chunkedTransferEncoding = true; } - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.finishRequest({request: this}); this[_responseCompleter].future.then(core.Null, dart.fn(response => { - let t296, t296$; - if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); - t296 = this[_profileData$]; - t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); - t296$ = this[_profileData$]; - t296$ == null ? null : t296$.startResponse({response: response}); - }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + let t271, t271$; + if (response == null) dart.nullFailed(I[181], 1428, 37, "response"); + t271 = _profileData; + t271 == null ? null : t271.requestEvent("Waiting (TTFB)"); + t271$ = _profileData; + t271$ == null ? null : t271$.startResponse({response: response}); + }, T$1.HttpClientResponseToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); }).prototype = _http._HttpClientRequest.prototype; dart.addTypeTests(_http._HttpClientRequest); @@ -130580,7 +142469,7 @@ dart.setMethodSignature(_http._HttpClientRequest, () => ({ __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), close: dart.fnType(async.Future$(_http.HttpClientResponse), []), [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), - [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_onError]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), [_requestUri]: dart.fnType(core.String, []), [_writeHeader]: dart.fnType(dart.void, []), abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) @@ -130605,43 +142494,46 @@ dart.setFieldSignature(_http._HttpClientRequest, () => ({ cookies: dart.finalFieldType(core.List$(_http.Cookie)), [_httpClient$]: dart.finalFieldType(_http._HttpClient), [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), [_proxy$]: dart.finalFieldType(_http._Proxy), [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), [_followRedirects]: dart.fieldType(core.bool), [_maxRedirects]: dart.fieldType(core.int), - [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_responseRedirects]: dart.finalFieldType(core.List$(_http.RedirectInfo)), [_aborted]: dart.fieldType(core.bool) })); var _consume$ = dart.privateName(_http, "_consume"); _http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + static ['_#new#tearOff'](_consume) { + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); + return new _http._HttpGZipSink.new(_consume); + } add(chunk) { - let t296; + let t271; T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); - t296 = chunk; - this[_consume$](t296); + if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); + t271 = chunk; + this[_consume$](t271); } addSlice(chunk, start, end, isLast) { - let t296, t296$; - if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); - if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); - if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); - if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + let t271, t271$; + if (chunk == null) dart.nullFailed(I[181], 1614, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1614, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1614, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1614, 59, "isLast"); if (typed_data.Uint8List.is(chunk)) { - t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296); + t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271); } else { - t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); - this[_consume$](t296$); + t271$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t271$); } } close() { } }; (_http._HttpGZipSink.new = function(_consume) { - if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + if (_consume == null) dart.nullFailed(I[181], 1608, 22, "_consume"); this[_consume$] = _consume; _http._HttpGZipSink.__proto__.new.call(this); ; @@ -130671,13 +142563,17 @@ var _socketError = dart.privateName(_http, "_socketError"); var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); var _chunkHeader = dart.privateName(_http, "_chunkHeader"); var _addChunk$ = dart.privateName(_http, "_addChunk"); -var _ignoreError = dart.privateName(_http, "_ignoreError"); +var _ignoreError$ = dart.privateName(_http, "_ignoreError"); _http._HttpOutgoing = class _HttpOutgoing extends core.Object { + static ['_#new#tearOff'](socket) { + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + return new _http._HttpOutgoing.new(socket); + } writeHeaders(opts) { let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; - if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + if (drainRequest == null) dart.nullFailed(I[181], 1687, 13, "drainRequest"); let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); if (dart.test(this.headersWritten)) return null; this.headersWritten = true; let drainFuture = null; @@ -130688,10 +142584,10 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); let contentEncoding = response.headers._get("content-encoding"); if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { - if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + if (list == null) dart.nullFailed(I[181], 1705, 26, "list"); return list[$split](","); - }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { - if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + }, T$1.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1706, 23, "encoding"); return encoding[$trim]()[$toLowerCase]() === "gzip"; }, T$.StringTobool())))) { response.headers.set("content-encoding", "gzip"); @@ -130716,7 +142612,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); } } response[_writeHeader](); @@ -130724,7 +142620,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 1735, 38, "stream"); if (dart.test(this[_socketError])) { stream.listen(null).cancel(); return async.Future.value(this.outbound); @@ -130734,23 +142630,23 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { }, T$.dynamicToNull())); let future = this.writeHeaders(); if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); } return this.close(); } - let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + let controller = T$1.StreamControllerOfListOfint().new({sync: true}); const onData = data => { - if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); if (dart.test(this[_socketError])) return; - if (data[$length] === 0) return; + if (dart.test(data[$isEmpty])) return; if (dart.test(this.chunked)) { if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(controller, 'add'); - this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = T$0.ListOfintTovoid().as(dart.bind(controller, 'add')); + this[_addGZipChunk](data, T$0.ListOfintTovoid().as(dart.bind(dart.nullCheck(this[_gzipSink]), 'add'))); this[_gzipAdd] = null; return; } - this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_addChunk$](this[_chunkHeader](data[$length]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); this[_pendingChunkedFooter] = 2; } else { let contentLength = this.contentLength; @@ -130762,7 +142658,7 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } } - this[_addChunk$](data, dart.bind(controller, 'add')); + this[_addChunk$](data, T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); }; dart.fn(onData, T$0.ListOfintTovoid()); let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); @@ -130774,16 +142670,16 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { sub.pause(future); } } - return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$1.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); this[_socketError] = true; this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return this.outbound; } else { dart.throw(error); } - }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); } close() { let closeFuture = this[_closeFuture]; @@ -130829,14 +142725,14 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { return this.socket.flush().then(dart.dynamic, dart.fn(_ => { this[_doneCompleter$].complete(this.socket); return outbound; - }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + }, T$1.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - if (dart.test(this[_ignoreError](error))) { + if (dart.test(this[_ignoreError$](error))) { return outbound; } else { dart.throw(error); } - }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); }; dart.fn(finalize, T$0.VoidToFuture()); let future = this.writeHeaders(); @@ -130849,20 +142745,20 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { return this[_doneCompleter$].future; } setHeader(data, length) { - if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); - if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); - if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + if (data == null) dart.nullFailed(I[181], 1900, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1900, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1901, 12, "_length == 0"); this[_buffer$1] = typed_data.Uint8List.as(data); this[_length$1] = length; } set gzip(value) { - if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + if (value == null) dart.nullFailed(I[181], 1906, 22, "value"); this[_gzip] = value; if (dart.test(value)) { this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1910, 14, "_gzipSink == null"); this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { - if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (data == null) dart.nullFailed(I[181], 1912, 73, "data"); if (this[_gzipAdd] == null) return; this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); this[_pendingChunkedFooter] = 2; @@ -130870,12 +142766,12 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { }, T$0.ListOfintTovoid()))); } } - [_ignoreError](error) { + [_ignoreError$](error) { return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); } [_addGZipChunk](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); - if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + if (chunk == null) dart.nullFailed(I[181], 1926, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1926, 69, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { add(chunk); @@ -130897,8 +142793,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } [_addChunk$](chunk, add) { - if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); - if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + if (chunk == null) dart.nullFailed(I[181], 1949, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1949, 65, "add"); let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; if (!dart.test(bufferOutput)) { if (this[_buffer$1] != null) { @@ -130922,8 +142818,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } } [_chunkHeader](length) { - if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); - let hexDigits = C[471] || CT.C471; + if (length == null) dart.nullFailed(I[181], 1975, 30, "length"); + let hexDigits = C[483] || CT.C483; if (length === 0) { if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; return _http._HttpOutgoing._chunk0Length; @@ -130950,8 +142846,8 @@ _http._HttpOutgoing = class _HttpOutgoing extends core.Object { } }; (_http._HttpOutgoing.new = function(socket) { - if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); - this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + if (socket == null) dart.nullFailed(I[181], 1682, 22, "socket"); + this[_doneCompleter$] = T$1.CompleterOfSocket().new(); this.ignoreBody = false; this.headersWritten = false; this[_buffer$1] = null; @@ -130980,7 +142876,7 @@ dart.setMethodSignature(_http._HttpOutgoing, () => ({ addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, []), setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_ignoreError$]: dart.fnType(core.bool, [dart.dynamic]), [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) @@ -131015,12 +142911,13 @@ dart.setFieldSignature(_http._HttpOutgoing, () => ({ [_socketError]: dart.fieldType(core.bool), outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) })); +dart.setStaticFieldSignature(_http._HttpOutgoing, () => ['_footerAndChunk0Length', '_chunk0Length']); dart.defineLazy(_http._HttpOutgoing, { /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { - return C[472] || CT.C472; + return C[484] || CT.C484; }, /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[473] || CT.C473; + return C[485] || CT.C485; } }, false); var _subscription$0 = dart.privateName(_http, "_subscription"); @@ -131035,12 +142932,19 @@ var _proxyCredentials = dart.privateName(_http, "_proxyCredentials"); var _returnConnection = dart.privateName(_http, "_returnConnection"); var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); _http._HttpClientConnection = class _HttpClientConnection extends core.Object { + static ['_#new#tearOff'](key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); + return new _http._HttpClientConnection.new(key, _socket, _httpClient, _proxyTunnel, _context); + } send(uri, port, method, proxy, profileData) { - let t296; - if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); - if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); - if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); - if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + let t271; + if (uri == null) dart.nullFailed(I[181], 2100, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2100, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2100, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2100, 68, "proxy"); if (dart.test(this.closed)) { dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); } @@ -131055,27 +142959,27 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); let host = uri.host; if (host[$contains](":")) host = "[" + dart.str(host) + "]"; - t296 = request.headers; + t271 = request.headers; (() => { - t296.host = host; - t296.port = port; - t296.add("accept-encoding", "gzip"); - return t296; + t271.host = host; + t271.port = port; + t271.add("accept-encoding", "gzip"); + return t271; })(); if (this[_httpClient$].userAgent != null) { request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); } if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); - } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + } else if (!dart.test(proxy.isDirect) && dart.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); if (proxyCreds != null) { proxyCreds.authorize(request); } } - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } else { creds = this[_httpClient$][_findCredentials](uri); @@ -131085,13 +142989,17 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } this[_httpParser].isHead = method === "HEAD"; this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); - let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + let t271; + if (s == null) dart.nullFailed(I[181], 2157, 56, "s"); + t271 = profileData; + t271 == null ? null : t271.finishRequest({request: request}); + let nextResponseCompleter = T$1.CompleterOf_HttpIncoming().new(); this[_nextResponseCompleter] = nextResponseCompleter; nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2166, 42, "incoming"); this[_currentUri] = null; incoming.dataDone.then(core.Null, dart.fn(closing => { + if (closing == null) dart.nullFailed(I[181], 2168, 33, "closing"); if (dart.test(incoming.upgraded)) { this[_httpClient$][_connectionClosed](this); this.startTimer(); @@ -131100,13 +143008,13 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { return; } - if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + if (!dart.test(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { this[_httpClient$][_returnConnection](this); dart.nullCheck(this[_subscription$0]).resume(); } else { this.destroy(); } - }, T$.dynamicToNull())); + }, T$.boolToNull())); if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { let authInfo = incoming.headers._get("proxy-authentication-info"); if (authInfo != null && authInfo[$length] === 1) { @@ -131124,28 +143032,28 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } } request[_onIncoming](incoming); - }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + }, T$1._HttpIncomingToNull())).catchError(dart.fn(error => { dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); }, T$0.dynamicToNever()), {test: dart.fn(error => { - if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + if (error == null) dart.nullFailed(I[181], 2221, 17, "error"); return core.StateError.is(error); }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { this.destroy(); - request[_onError$](error, core.StackTrace.as(stackTrace)); + request[_onError](error, core.StackTrace.as(stackTrace)); }, T$.dynamicAnddynamicToNull())); dart.nullCheck(this[_subscription$0]).resume(); return s; - }, T.SocketToSocket())); - T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + }, T$1.SocketToSocket())); + T$1.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { this.destroy(); }, T$.dynamicToNull())); return request; } detachSocket() { return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + if (_ == null) dart.nullFailed(I[181], 2239, 16, "_"); return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T.SocketTo_DetachedSocket())); + }, T$1.SocketTo_DetachedSocket())); } destroy() { this.closed = true; @@ -131161,74 +143069,74 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { this.closed = true; this[_httpClient$][_connectionClosed](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2259, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } closeFromExternal() { this.closed = true; this[_httpClient$][_connectionClosedNoFurtherClosing](this); dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + if (_ == null) dart.nullFailed(I[181], 2267, 16, "_"); return this[_socket$0].destroy(); - }, T.SocketTovoid())); + }, T$1.SocketTovoid())); } createProxyTunnel(host, port, proxy, callback, profileData) { - let t296; - if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); - if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); - if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let t271; + if (host == null) dart.nullFailed(I[181], 2271, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2272, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2273, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2274, 50, "callback"); let method = "CONNECT"; let uri = core._Uri.new({host: host, port: port}); - t296 = profileData; - t296 == null ? null : t296.proxyEvent(proxy); + t271 = profileData; + t271 == null ? null : t271.proxyEvent(proxy); let proxyProfileData = null; if (profileData != null) { proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); } let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); if (dart.test(proxy.isAuthenticated)) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); } return request.close().then(io.SecureSocket, dart.fn(response => { - let t296; - if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + let t271; + if (response == null) dart.nullFailed(I[181], 2299, 34, "response"); if (response.statusCode !== 200) { let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; - t296 = profileData; - t296 == null ? null : t296.requestEvent(error); + t271 = profileData; + t271 == null ? null : t271.requestEvent(error); dart.throw(new _http.HttpException.new(error, {uri: request.uri})); } let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); - }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { - let t296; - if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + }, T$1.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t271; + if (secureSocket == null) dart.nullFailed(I[181], 2312, 14, "secureSocket"); let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); - t296 = profileData; - t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + t271 = profileData; + t271 == null ? null : t271.requestEvent("Proxy tunnel established"); return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, T.SecureSocketTo_HttpClientConnection())); + }, T$1.SecureSocketTo_HttpClientConnection())); } get connectionInfo() { return _http._HttpConnectionInfo.create(this[_socket$0]); } static makeKey(isSecure, host, port) { - if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); - if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2322, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2322, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2322, 50, "port"); return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); } stopTimer() { - let t296; - t296 = this[_idleTimer]; - t296 == null ? null : t296.cancel(); + let t271; + t271 = this[_idleTimer]; + t271 == null ? null : t271.cancel(); this[_idleTimer] = null; } startTimer() { - if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2332, 12, "_idleTimer == null"); this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { this[_idleTimer] = null; this.close(); @@ -131236,10 +143144,10 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { } }; (_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { - if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); - if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); - if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); - if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + if (key == null) dart.nullFailed(I[181], 2037, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2037, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2037, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2038, 13, "_proxyTunnel"); this[_subscription$0] = null; this[_dispose] = false; this[_idleTimer] = null; @@ -131255,7 +143163,7 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { this[_httpParser] = _http._HttpParser.responseParser(); this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 2044, 41, "incoming"); dart.nullCheck(this[_subscription$0]).pause(); if (this[_nextResponseCompleter] == null) { dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); @@ -131264,24 +143172,43 @@ _http._HttpClientConnection = class _HttpClientConnection extends core.Object { incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { dart.nullCheck(this[_subscription$0]).resume(); }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { - if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); - dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + if (stackTrace == null) dart.nullFailed(I[181], 2062, 50, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull())); + }, T$1.dynamicAndStackTraceToNull()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2074, 19, "error"); + return _http.HttpException.is(error) || io.SocketException.is(error); + }, T$.ObjectTobool())}); } else { dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); this[_nextResponseCompleter] = null; } - }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { - let t296; - if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + }, T$1._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t271; + if (stackTrace == null) dart.nullFailed(I[181], 2079, 44, "stackTrace"); + let message = null; + if (_http.HttpException.is(error)) { + message = error.message; + } else if (io.SocketException.is(error)) { + message = error.message; + } else { + dart.throw(error); + } + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new(message, {uri: this[_currentUri]}), stackTrace); this[_nextResponseCompleter] = null; - }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { - let t296; - t296 = this[_nextResponseCompleter]; - t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + }, T$1.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t271; + t271 = this[_nextResponseCompleter]; + t271 == null ? null : t271.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); this[_nextResponseCompleter] = null; this.close(); }, T$.VoidTovoid())}); @@ -131300,6 +143227,7 @@ dart.setMethodSignature(_http._HttpClientConnection, () => ({ stopTimer: dart.fnType(dart.void, []), startTimer: dart.fnType(dart.void, []) })); +dart.setStaticMethodSignature(_http._HttpClientConnection, () => ['makeKey']); dart.setGetterSignature(_http._HttpClientConnection, () => ({ __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), connectionInfo: dart.nullable(_http.HttpConnectionInfo) @@ -131321,10 +143249,16 @@ dart.setFieldSignature(_http._HttpClientConnection, () => ({ [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) })); -_http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; +_http._ConnectionInfo = class _ConnectionInfo extends core.Object { + static ['_#new#tearOff'](connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); + return new _http._ConnectionInfo.new(connection, proxy); + } +}; (_http._ConnectionInfo.new = function(connection, proxy) { - if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + if (connection == null) dart.nullFailed(I[181], 2344, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); this.connection = connection; this.proxy = proxy; ; @@ -131340,13 +143274,21 @@ dart.setFieldSignature(_http._ConnectionInfo, () => ({ var _idle = dart.privateName(_http, "_idle"); var _active = dart.privateName(_http, "_active"); var _socketTasks = dart.privateName(_http, "_socketTasks"); -var _pending = dart.privateName(_http, "_pending"); +var _pending$ = dart.privateName(_http, "_pending"); var _connecting = dart.privateName(_http, "_connecting"); var _checkPending = dart.privateName(_http, "_checkPending"); var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); +var _keyLog = dart.privateName(_http, "_keyLog"); var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); _http._ConnectionTarget = class _ConnectionTarget extends core.Object { + static ['_#new#tearOff'](key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + return new _http._ConnectionTarget.new(key, host, port, isSecure, context, connectionFactory); + } get isEmpty() { return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; } @@ -131357,7 +143299,7 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; } takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); let connection = this[_idle][$first]; this[_idle].remove(connection); connection.stopTimer(); @@ -131365,35 +143307,36 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { return connection; } [_checkPending]() { - if (dart.test(this[_pending][$isNotEmpty])) { - dart.dcall(this[_pending].removeFirst(), []); + if (dart.test(this[_pending$][$isNotEmpty])) { + this[_pending$].removeFirst()(); } } addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); this[_active].add(connection); } returnConnection(connection) { - if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); - if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2390, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2391, 12, "_active.contains(connection)"); this[_active].remove(connection); this[_idle].add(connection); connection.startTimer(); this[_checkPending](); } connectionClosed(connection) { - if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); - if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + if (connection == null) dart.nullFailed(I[181], 2398, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2399, 12, "!_active.contains(connection) || !_idle.contains(connection)"); this[_active].remove(connection); this[_idle].remove(connection); this[_checkPending](); } close(force) { - if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + if (force == null) dart.nullFailed(I[181], 2405, 19, "force"); for (let t of this[_socketTasks][$toList]()) { t.socket.then(core.Null, dart.fn(s => { - dart.dsend(s, 'destroy', []); - }, T$.dynamicToNull()), {onError: dart.fn(e => { + if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); + s.destroy(); + }, T$1.SocketToNull()), {onError: dart.fn(e => { }, T$.dynamicToNull())}); t.cancel(); } @@ -131410,35 +143353,46 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { } } } - connect(uriHost, uriPort, proxy, client, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); - if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); - if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + connect(uri, uriHost, uriPort, proxy, client, profileData) { + if (uri == null) dart.nullFailed(I[181], 2428, 39, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2428, 51, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2428, 64, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2429, 14, "proxy"); + if (client == null) dart.nullFailed(I[181], 2429, 33, "client"); if (dart.test(this.hasIdle)) { let connection = this.takeIdle(); client[_connectionsChanged](); - return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + return T$1.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); } let maxConnectionsPerHost = client.maxConnectionsPerHost; if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { - let completer = T.CompleterOf_ConnectionInfo().new(); - this[_pending].add(dart.fn(() => { - completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); - }, T$.VoidToNull())); + let completer = T$1.CompleterOf_ConnectionInfo().new(); + this[_pending$].add(dart.fn(() => { + completer.complete(this.connect(uri, uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidTovoid())); return completer.future; } let currentBadCertificateCallback = client[_badCertificateCallback]; function callback(certificate) { - if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (certificate == null) dart.nullFailed(I[181], 2447, 35, "certificate"); if (currentBadCertificateCallback == null) return false; return currentBadCertificateCallback(certificate, uriHost, uriPort); } - dart.fn(callback, T.X509CertificateTobool()); - let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + dart.fn(callback, T$1.X509CertificateTobool()); + let connectionTask = null; + let cf = this.connectionFactory; + if (cf != null) { + if (dart.test(proxy.isDirect)) { + connectionTask = cf(uri, null, null); + } else { + connectionTask = cf(uri, this.host, this.port); + } + } else { + connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback, keyLog: client[_keyLog]}) : io.Socket.startConnect(this.host, this.port); + } this[_connecting] = dart.notNull(this[_connecting]) + 1; return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { - if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + if (task == null) dart.nullFailed(I[181], 2469, 56, "task"); this[_socketTasks].add(task); let socketFuture = task.socket; let connectionTimeout = client.connectionTimeout; @@ -131446,25 +143400,28 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { socketFuture = socketFuture.timeout(connectionTimeout); } return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 2476, 33, "socket"); this[_connecting] = dart.notNull(this[_connecting]) - 1; - dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); - let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { + socket.setOption(io.SocketOption.tcpNoDelay, true); + } + let connection = new _http._HttpClientConnection.new(this.key, socket, client, false, this.context); if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { connection[_dispose] = true; return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { - if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + if (tunnel == null) dart.nullFailed(I[181], 2487, 22, "tunnel"); client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(tunnel, proxy); - }, T._HttpClientConnectionTo_ConnectionInfo())); + }, T$1._HttpClientConnectionTo_ConnectionInfo())); } else { this.addNewActive(connection); this[_socketTasks].remove(task); return new _http._ConnectionInfo.new(connection, proxy); } - }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { if (async.TimeoutException.is(error)) { - if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2506, 18, "connectionTimeout != null"); this[_connecting] = dart.notNull(this[_connecting]) - 1; this[_socketTasks].remove(task); task.cancel(); @@ -131474,27 +143431,28 @@ _http._ConnectionTarget = class _ConnectionTarget extends core.Object { this[_checkPending](); dart.throw(error); }, T$0.dynamicToNever())}); - }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + }, T$1.ConnectionTaskOfSocketToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { this[_connecting] = dart.notNull(this[_connecting]) - 1; dart.throw(error); }, T$0.dynamicToNever())}); } }; -(_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { - if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); - if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); - if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); - this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); - this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); - this[_pending] = new collection.ListQueue.new(); +(_http._ConnectionTarget.new = function(key, host, port, isSecure, context, connectionFactory) { + if (key == null) dart.nullFailed(I[181], 2362, 26, "key"); + if (host == null) dart.nullFailed(I[181], 2362, 36, "host"); + if (port == null) dart.nullFailed(I[181], 2362, 47, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2362, 58, "isSecure"); + this[_idle] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T$1._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T$1._HashSetOfConnectionTaskOfSocket()).new(); + this[_pending$] = new (T$1.ListQueueOfVoidTovoid()).new(); this[_connecting] = 0; this.key = key; this.host = host; this.port = port; this.isSecure = isSecure; this.context = context; + this.connectionFactory = connectionFactory; ; }).prototype = _http._ConnectionTarget.prototype; dart.addTypeTests(_http._ConnectionTarget); @@ -131507,7 +143465,7 @@ dart.setMethodSignature(_http._ConnectionTarget, () => ({ returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), close: dart.fnType(dart.void, [core.bool]), - connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) })); dart.setGetterSignature(_http._ConnectionTarget, () => ({ __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), @@ -131523,20 +143481,24 @@ dart.setFieldSignature(_http._ConnectionTarget, () => ({ port: dart.finalFieldType(core.int), isSecure: dart.finalFieldType(core.bool), context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + connectionFactory: dart.finalFieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), - [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), - [_pending]: dart.finalFieldType(collection.Queue), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask$(io.Socket))), + [_pending$]: dart.finalFieldType(collection.ListQueue$(dart.fnType(dart.void, []))), [_connecting]: dart.fieldType(core.int) })); var _closing = dart.privateName(_http, "_closing"); var _closingForcefully = dart.privateName(_http, "_closingForcefully"); var _connectionTargets = dart.privateName(_http, "_connectionTargets"); var _credentials = dart.privateName(_http, "_credentials"); +var _connectionFactory = dart.privateName(_http, "_connectionFactory"); var _findProxy = dart.privateName(_http, "_findProxy"); var _idleTimeout = dart.privateName(_http, "_idleTimeout"); var _openUrl = dart.privateName(_http, "_openUrl"); var _closeConnections = dart.privateName(_http, "_closeConnections"); +var _isLoopback = dart.privateName(_http, "_isLoopback"); +var _isValidToken = dart.privateName(_http, "_isValidToken"); var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); var _Proxy_password = dart.privateName(_http, "_Proxy.password"); var _Proxy_username = dart.privateName(_http, "_Proxy.username"); @@ -131548,8 +143510,11 @@ _http._HttpClient = class _HttpClient extends core.Object { get idleTimeout() { return this[_idleTimeout]; } + static ['_#new#tearOff'](_context) { + return new _http._HttpClient.new(_context); + } set idleTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 2558, 33, "timeout"); this[_idleTimeout] = timeout; for (let c of this[_connectionTargets][$values]) { for (let idle of c[_idle]) { @@ -131561,11 +143526,14 @@ _http._HttpClient = class _HttpClient extends core.Object { set badCertificateCallback(callback) { this[_badCertificateCallback] = callback; } + set keyLog(callback) { + this[_keyLog] = callback; + } open(method, host, port, path) { - if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); - if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); - if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); - if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + if (method == null) dart.nullFailed(I[181], 2579, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2579, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2579, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2579, 52, "path"); let fragmentStart = path.length; let queryStart = path.length; for (let i = path.length - 1; i >= 0; i = i - 1) { @@ -131586,142 +143554,175 @@ _http._HttpClient = class _HttpClient extends core.Object { return this[_openUrl](method, uri); } openUrl(method, url) { - if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); - if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + if (method == null) dart.nullFailed(I[181], 2603, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2603, 56, "url"); return this[_openUrl](method, url); } get(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2606, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2606, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2606, 63, "path"); return this.open("get", host, port, path); } getUrl(url) { - if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2609, 40, "url"); return this[_openUrl]("get", url); } post(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2611, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2611, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2611, 64, "path"); return this.open("post", host, port, path); } postUrl(url) { - if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2614, 41, "url"); return this[_openUrl]("post", url); } put(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); - if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); - if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + if (host == null) dart.nullFailed(I[181], 2616, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2616, 63, "path"); return this.open("put", host, port, path); } putUrl(url) { - if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + if (url == null) dart.nullFailed(I[181], 2619, 40, "url"); return this[_openUrl]("put", url); } delete(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); - if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); - if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + if (host == null) dart.nullFailed(I[181], 2621, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2621, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2621, 66, "path"); return this.open("delete", host, port, path); } deleteUrl(url) { - if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + if (url == null) dart.nullFailed(I[181], 2624, 43, "url"); return this[_openUrl]("delete", url); } head(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); - if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); - if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + if (host == null) dart.nullFailed(I[181], 2626, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2626, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2626, 64, "path"); return this.open("head", host, port, path); } headUrl(url) { - if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + if (url == null) dart.nullFailed(I[181], 2629, 41, "url"); return this[_openUrl]("head", url); } patch(host, port, path) { - if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); - if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); - if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + if (host == null) dart.nullFailed(I[181], 2631, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2631, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2631, 65, "path"); return this.open("patch", host, port, path); } patchUrl(url) { - if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + if (url == null) dart.nullFailed(I[181], 2634, 42, "url"); return this[_openUrl]("patch", url); } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + if (force == null) dart.nullFailed(I[181], 2636, 20, "force"); this[_closing] = true; this[_closingForcefully] = force; this[_closeConnections](this[_closingForcefully]); if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + if (s == null) dart.nullFailed(I[181], 2640, 44, "s"); return s.hasIdle; - }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + }, T$1._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2640, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + if (s == null) dart.nullFailed(I[181], 2642, 51, "s"); return s[_active][$isNotEmpty]; - }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + }, T$1._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2642, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); } set authenticate(f) { this[_authenticate] = f; } addCredentials(url, realm, cr) { - if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); - if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); - if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + if (url == null) dart.nullFailed(I[181], 2650, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2650, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2650, 68, "cr"); this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); } set authenticateProxy(f) { this[_authenticateProxy] = f; } addProxyCredentials(host, port, realm, cr) { - if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); - if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); - if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); - if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + if (host == null) dart.nullFailed(I[181], 2663, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2663, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2663, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2663, 66, "cr"); this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); } + set connectionFactory(f) { + return this[_connectionFactory] = f; + } set findProxy(f) { return this[_findProxy] = f; } + static _startRequestTimelineEvent(timeline, method, uri) { + let t271; + if (method == null) dart.nullFailed(I[181], 2677, 38, "method"); + if (uri == null) dart.nullFailed(I[181], 2677, 50, "uri"); + t271 = timeline; + t271 == null ? null : t271.start("HTTP CLIENT " + method[$toUpperCase](), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(uri)])}); + } + [_isLoopback](host) { + if (host == null) dart.nullFailed(I[181], 2684, 27, "host"); + if (host[$isEmpty]) return false; + if ("localhost" === host) return true; + try { + return io.InternetAddress.new(host).isLoopback; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + return false; + } else + throw e; + } + } + [_isValidToken](token) { + if (token == null) dart.nullFailed(I[181], 2694, 29, "token"); + _internal.checkNotNullable(core.String, token, "token"); + let _validChars = " ! #$%&' *+ -. 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ ^_`abcdefghijklmnopqrstuvwxyz | ~ "; + for (let codeUnit of token[$codeUnits]) { + if (dart.notNull(codeUnit) >= _validChars.length || _validChars[$codeUnitAt](codeUnit) === 32) { + return false; + } + } + return true; + } [_openUrl](method, uri) { - if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); - if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (method == null) dart.nullFailed(I[181], 2718, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2718, 58, "uri"); if (dart.test(this[_closing])) { dart.throw(new core.StateError.new("Client is closed")); } uri = uri.removeFragment(); - if (method == null) { - dart.throw(new core.ArgumentError.new(method)); + if (!dart.test(this[_isValidToken](method))) { + dart.throw(new core.ArgumentError.value(method, "method")); } if (method !== "CONNECT") { if (uri.host[$isEmpty]) { dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); - } else if (uri.scheme !== "http" && uri.scheme !== "https") { + } else if (this[_connectionFactory] == null && !dart.test(uri.isScheme("http")) && !dart.test(uri.isScheme("https"))) { dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); } } + _http._httpConnectionHook(uri); let isSecure = uri.isScheme("https"); - if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { - dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); - } let port = uri.port; if (port === 0) { port = dart.test(isSecure) ? 443 : 80; } - let proxyConf = C[475] || CT.C475; + let proxyConf = C[487] || CT.C487; let findProxy = this[_findProxy]; if (findProxy != null) { try { - proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + proxyConf = new _http._ProxyConfiguration.new(findProxy(uri)); } catch (e) { let error = dart.getThrown(e); let stackTrace = dart.stackTrace(e); if (core.Object.is(error)) { - return T.FutureOf_HttpClientRequest().error(error, stackTrace); + return T$1.FutureOf_HttpClientRequest().error(error, stackTrace); } else throw e; } @@ -131730,61 +143731,78 @@ _http._HttpClient = class _HttpClient extends core.Object { if (dart.test(_http.HttpClient.enableTimelineLogging)) { profileData = _http.HttpProfiler.startRequest(method, uri); } - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { - if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2767, 32, "info"); function send(info) { - let t297; - if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); - t297 = profileData; - t297 == null ? null : t297.requestEvent("Connection established"); + let t274; + if (info == null) dart.nullFailed(I[181], 2768, 47, "info"); + t274 = profileData; + t274 == null ? null : t274.requestEvent("Connection established"); return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); } - dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + dart.fn(send, T$1._ConnectionInfoTo_HttpClientRequest()); if (dart.test(info.connection.closed)) { - return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); } return send(info); - }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { - let t297; - t297 = profileData; - t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + }, T$1._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t274; + t274 = profileData; + t274 == null ? null : t274.finishRequestWithError(dart.toString(error)); dart.throw(error); }, T$0.dynamicToNever())}); } - [_openUrlFromRequest](method, uri, previous) { - if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); - if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); - if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + static _isSubdomain(subdomain, domain) { + if (subdomain == null) dart.nullFailed(I[181], 2788, 32, "subdomain"); + if (domain == null) dart.nullFailed(I[181], 2788, 47, "domain"); + return dart.test(subdomain.isScheme(domain.scheme)) && subdomain.port == domain.port && (subdomain.host == domain.host || subdomain.host[$endsWith]("." + dart.notNull(domain.host))); + } + static shouldCopyHeaderOnRedirect(headerKey, originalUrl, redirectUri) { + if (headerKey == null) dart.nullFailed(I[181], 2797, 14, "headerKey"); + if (originalUrl == null) dart.nullFailed(I[181], 2797, 29, "originalUrl"); + if (redirectUri == null) dart.nullFailed(I[181], 2797, 46, "redirectUri"); + if (dart.test(_http._HttpClient._isSubdomain(redirectUri, originalUrl))) { + return true; + } + let nonRedirectHeaders = C[490] || CT.C490; + return !dart.test(nonRedirectHeaders[$contains](headerKey[$toLowerCase]())); + } + [_openUrlFromRequest](method, uri, previous, opts) { + if (method == null) dart.nullFailed(I[181], 2812, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2812, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2812, 50, "previous"); + let isRedirect = opts && 'isRedirect' in opts ? opts.isRedirect : null; + if (isRedirect == null) dart.nullFailed(I[181], 2813, 22, "isRedirect"); let resolved = previous.uri.resolveUri(uri); return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { - let t297, t297$; - if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); - t297 = request; + let t274, t274$; + if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); + t274 = request; (() => { - t297.followRedirects = previous.followRedirects; - t297.maxRedirects = previous.maxRedirects; - return t297; + t274.followRedirects = previous.followRedirects; + t274.maxRedirects = previous.maxRedirects; + return t274; })(); for (let header of previous.headers[_headers][$keys]) { - if (request.headers._get(header) == null) { + if (request.headers._get(header) == null && (!dart.test(isRedirect) || dart.test(_http._HttpClient.shouldCopyHeaderOnRedirect(header, resolved, previous.uri)))) { request.headers.set(header, dart.nullCheck(previous.headers._get(header))); } } - t297$ = request; + t274$ = request; return (() => { - t297$.headers.chunkedTransferEncoding = false; - t297$.contentLength = 0; - return t297$; + t274$.headers.chunkedTransferEncoding = false; + t274$.contentLength = 0; + return t274$; })(); - }, T._HttpClientRequestTo_HttpClientRequest())); + }, T$1._HttpClientRequestTo_HttpClientRequest())); } [_returnConnection](connection) { - if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2838, 48, "connection"); dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); this[_connectionsChanged](); } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + if (connection == null) dart.nullFailed(I[181], 2844, 48, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131796,7 +143814,7 @@ _http._HttpClient = class _HttpClient extends core.Object { } } [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); connection.stopTimer(); let connectionTarget = this[_connectionTargets][$_get](connection.key); if (connectionTarget != null) { @@ -131812,38 +143830,39 @@ _http._HttpClient = class _HttpClient extends core.Object { } } [_closeConnections](force) { - if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + if (force == null) dart.nullFailed(I[181], 2876, 31, "force"); for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { connectionTarget.close(force); } } [_getConnectionTarget](host, port, isSecure) { - if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); - if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); - if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2882, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2882, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2882, 70, "isSecure"); let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); - return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); - } - [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { - if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); - if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); - if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); - if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0], this[_connectionFactory]), T$1.VoidTo_ConnectionTarget())); + } + [_getConnection](uri, uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uri == null) dart.nullFailed(I[181], 2892, 11, "uri"); + if (uriHost == null) dart.nullFailed(I[181], 2893, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2894, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2895, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2896, 12, "isSecure"); let proxies = proxyConf.proxies[$iterator]; - const connect = error => { - if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + const connect = (error, stackTrace) => { + if (!dart.test(proxies.moveNext())) return T$1.FutureOf_ConnectionInfo().error(core.Object.as(error), T$.StackTraceN().as(stackTrace)); let proxy = proxies.current; let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); - return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + return this[_getConnectionTarget](host, port, isSecure).connect(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); }; - dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); - return connect(new _http.HttpException.new("No proxies given")); + dart.fn(connect, T$1.dynamicAnddynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given"), core.StackTrace.current); } [_findCredentials](url, scheme = null) { - if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); - let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { - if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + if (url == null) dart.nullFailed(I[181], 2914, 42, "url"); + let cr = this[_credentials][$fold](T$1._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2917, 58, "value"); let siteCredentials = _http._SiteCredentials.as(value); if (dart.test(siteCredentials.applies(url, scheme))) { if (prev == null) return value; @@ -131851,11 +143870,11 @@ _http._HttpClient = class _HttpClient extends core.Object { } else { return prev; } - }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); return cr; } [_findProxyCredentials](proxy, scheme = null) { - if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 2931, 51, "proxy"); for (let current of this[_proxyCredentials]) { if (dart.test(current.applies(proxy, scheme))) { return current; @@ -131864,23 +143883,23 @@ _http._HttpClient = class _HttpClient extends core.Object { return null; } [_removeCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + if (cr == null) dart.nullFailed(I[181], 2942, 40, "cr"); let index = this[_credentials][$indexOf](cr); if (index !== -1) { this[_credentials][$removeAt](index); } } [_removeProxyCredentials](cr) { - if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + if (cr == null) dart.nullFailed(I[181], 2949, 45, "cr"); this[_proxyCredentials][$remove](cr); } static _findProxyFromEnvironment(url, environment) { - let t297, t297$, t297$0; - if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + let t274, t274$, t274$0; + if (url == null) dart.nullFailed(I[181], 2954, 11, "url"); function checkNoProxy(option) { if (option == null) return null; let names = option[$split](",")[$map](core.String, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + if (s == null) dart.nullFailed(I[181], 2957, 55, "s"); return s[$trim](); }, T$.StringToString()))[$iterator]; while (dart.test(names.moveNext())) { @@ -131891,7 +143910,7 @@ _http._HttpClient = class _HttpClient extends core.Object { } return null; } - dart.fn(checkNoProxy, T.StringNToStringN()); + dart.fn(checkNoProxy, T$1.StringNToStringN()); function checkProxy(option) { if (option == null) return null; option = option[$trim](); @@ -131908,26 +143927,26 @@ _http._HttpClient = class _HttpClient extends core.Object { let pos = option[$lastIndexOf](":"); if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; } else { - if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + if (!option[$contains](":")) option = dart.str(option) + ":1080"; } return "PROXY " + dart.str(option); } - dart.fn(checkProxy, T.StringNToStringN()); - if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + dart.fn(checkProxy, T$1.StringNToStringN()); + environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; let proxyCfg = null; - let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); proxyCfg = checkNoProxy(noProxy); if (proxyCfg != null) { return proxyCfg; } - if (url.scheme === "http") { - let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + if (dart.test(url.isScheme("http"))) { + let proxy = (t274$ = environment[$_get]("http_proxy"), t274$ == null ? environment[$_get]("HTTP_PROXY") : t274$); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; } - } else if (url.scheme === "https") { - let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + } else if (dart.test(url.isScheme("https"))) { + let proxy = (t274$0 = environment[$_get]("https_proxy"), t274$0 == null ? environment[$_get]("HTTPS_PROXY") : t274$0); proxyCfg = checkProxy(proxy); if (proxyCfg != null) { return proxyCfg; @@ -131939,14 +143958,16 @@ _http._HttpClient = class _HttpClient extends core.Object { (_http._HttpClient.new = function(_context) { this[_closing] = false; this[_closingForcefully] = false; - this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); - this[_credentials] = T.JSArrayOf_Credentials().of([]); - this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_connectionTargets] = new (T$1.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T$1.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T$1.JSArrayOf_ProxyCredentials().of([]); + this[_connectionFactory] = null; this[_authenticate] = null; this[_authenticateProxy] = null; - this[_findProxy] = C[474] || CT.C474; - this[_idleTimeout] = C[453] || CT.C453; + this[_findProxy] = C[486] || CT.C486; + this[_idleTimeout] = C[466] || CT.C466; this[_badCertificateCallback] = null; + this[_keyLog] = null; this.connectionTimeout = null; this.maxConnectionsPerHost = null; this.autoUncompress = true; @@ -131976,20 +143997,23 @@ dart.setMethodSignature(_http._HttpClient, () => ({ close: dart.fnType(dart.void, [], {force: core.bool}, {}), addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_isLoopback]: dart.fnType(core.bool, [core.String]), + [_isValidToken]: dart.fnType(core.bool, [core.String]), [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), - [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest], {}, {isRedirect: core.bool}), [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), [_connectionsChanged]: dart.fnType(dart.void, []), [_closeConnections]: dart.fnType(dart.void, [core.bool]), [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), - [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.Uri, core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) })); +dart.setStaticMethodSignature(_http._HttpClient, () => ['_startRequestTimelineEvent', '_isSubdomain', 'shouldCopyHeaderOnRedirect', '_findProxyFromEnvironment']); dart.setGetterSignature(_http._HttpClient, () => ({ __proto__: dart.getGetters(_http._HttpClient.__proto__), idleTimeout: core.Duration @@ -131998,8 +144022,10 @@ dart.setSetterSignature(_http._HttpClient, () => ({ __proto__: dart.getSetters(_http._HttpClient.__proto__), idleTimeout: core.Duration, badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), - authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), - authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + keyLog: dart.nullable(dart.fnType(dart.dynamic, [core.String])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)])), + connectionFactory: dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)])), findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) })); dart.setLibraryUri(_http._HttpClient, I[177]); @@ -132011,21 +144037,23 @@ dart.setFieldSignature(_http._HttpClient, () => ({ [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_authenticate]: dart.fieldType(dart.nullable(core.Function)), - [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), - [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_connectionFactory]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [core.Uri, dart.nullable(core.String), dart.nullable(core.int)]))), + [_authenticate]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, dart.nullable(core.String)]))), + [_authenticateProxy]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, dart.nullable(core.String)]))), + [_findProxy]: dart.fieldType(dart.nullable(dart.fnType(core.String, [core.Uri]))), [_idleTimeout]: dart.fieldType(core.Duration), [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + [_keyLog]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [core.String]))), connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), autoUncompress: dart.fieldType(core.bool), userAgent: dart.fieldType(dart.nullable(core.String)) })); +dart.setStaticFieldSignature(_http._HttpClient, () => ['_platformEnvironmentCache']); dart.defineLazy(_http._HttpClient, { /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { return io.Platform.environment; - }, - set _platformEnvironmentCache(_) {} + } }, false); var _state$1 = dart.privateName(_http, "_state"); var _idleMark = dart.privateName(_http, "_idleMark"); @@ -132035,7 +144063,6 @@ var _handleRequest = dart.privateName(_http, "_handleRequest"); var _isActive = dart.privateName(_http, "_isActive"); var _isIdle = dart.privateName(_http, "_isIdle"); var _isDetached = dart.privateName(_http, "_isDetached"); -var _toJSON$ = dart.privateName(_http, "_toJSON"); const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; (LinkedListEntry__ServiceObject$36.new = function() { _http._ServiceObject.new.call(this); @@ -132043,6 +144070,11 @@ const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject e }).prototype = LinkedListEntry__ServiceObject$36.prototype; dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + static ['_#new#tearOff'](_socket, _httpServer) { + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); + return new _http._HttpConnection.new(_socket, _httpServer); + } markIdle() { this[_idleMark] = true; } @@ -132052,7 +144084,7 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb destroy() { if (this[_state$1] === 2 || this[_state$1] === 3) return; this[_state$1] = 2; - dart.dsend(this[_socket$0], 'destroy', []); + this[_socket$0].destroy(); this[_httpServer$][_connectionClosed](this); _http._HttpConnection._connections[$remove](this[_serviceId$]); } @@ -132062,11 +144094,11 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb let detachedIncoming = this[_httpParser].detachIncoming(); return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { _http._HttpConnection._connections[$remove](this[_serviceId$]); - return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); - }, T.dynamicTo_DetachedSocket())); + return new _http._DetachedSocket.new(this[_socket$0], detachedIncoming); + }, T$1.dynamicTo_DetachedSocket())); } get connectionInfo() { - return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + return _http._HttpConnectionInfo.create(this[_socket$0]); } get [_isActive]() { return this[_state$1] === 0; @@ -132086,55 +144118,10 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb get [_serviceTypeName$]() { return "HttpServerConnection"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); - let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - r[$_set]("server", this[_httpServer$][_toJSON$](true)); - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - switch (this[_state$1]) { - case 0: - { - r[$_set]("state", "Active"); - break; - } - case 1: - { - r[$_set]("state", "Idle"); - break; - } - case 2: - { - r[$_set]("state", "Closing"); - break; - } - case 3: - { - r[$_set]("state", "Detached"); - break; - } - default: - { - r[$_set]("state", "Unknown"); - break; - } - } - return r; - } }; (_http._HttpConnection.new = function(_socket, _httpServer) { - if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + if (_socket == null) dart.nullFailed(I[181], 3042, 24, "_socket"); + if (_httpServer == null) dart.nullFailed(I[181], 3042, 38, "_httpServer"); this[_state$1] = 1; this[_subscription$0] = null; this[_idleMark] = false; @@ -132144,23 +144131,24 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb this[_httpParser] = _http._HttpParser.requestParser(); _http._HttpConnection.__proto__.new.call(this); _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_httpParser].listenToStream(this[_socket$0]); this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); this[_httpServer$][_markActive](this); incoming.dataDone.then(core.Null, dart.fn(closing => { - if (dart.dtest(closing)) this.destroy(); - }, T$.dynamicToNull())); + if (closing == null) dart.nullFailed(I[181], 3049, 31, "closing"); + if (dart.test(closing)) this.destroy(); + }, T$.boolToNull())); dart.nullCheck(this[_subscription$0]).pause(); this[_state$1] = 0; - let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); if (incoming.statusCode === 400) { response.statusCode = 400; } let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + if (_ == null) dart.nullFailed(I[181], 3068, 43, "_"); response.deadline = null; if (this[_state$1] === 3) return; if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { @@ -132171,13 +144159,13 @@ _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceOb } else { this.destroy(); } - }, T.SocketToNull()), {onError: dart.fn(_ => { + }, T$1.SocketToNull()), {onError: dart.fn(_ => { this.destroy(); }, T$.dynamicToNull())}); outgoing.ignoreBody = request.method === "HEAD"; response[_httpRequest$] = request; this[_httpServer$][_handleRequest](request); - }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { this.destroy(); }, T$.VoidTovoid()), onError: dart.fn(error => { this.destroy(); @@ -132189,8 +144177,7 @@ dart.setMethodSignature(_http._HttpConnection, () => ({ __proto__: dart.getMethods(_http._HttpConnection.__proto__), markIdle: dart.fnType(dart.void, []), destroy: dart.fnType(dart.void, []), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + detachSocket: dart.fnType(async.Future$(io.Socket), []) })); dart.setGetterSignature(_http._HttpConnection, () => ({ __proto__: dart.getGetters(_http._HttpConnection.__proto__), @@ -132206,7 +144193,7 @@ dart.setGetterSignature(_http._HttpConnection, () => ({ dart.setLibraryUri(_http._HttpConnection, I[177]); dart.setFieldSignature(_http._HttpConnection, () => ({ __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(dart.dynamic), + [_socket$0]: dart.finalFieldType(io.Socket), [_httpServer$]: dart.finalFieldType(_http._HttpServer), [_httpParser]: dart.finalFieldType(_http._HttpParser), [_state$1]: dart.fieldType(core.int), @@ -132214,6 +144201,7 @@ dart.setFieldSignature(_http._HttpConnection, () => ({ [_idleMark]: dart.fieldType(core.bool), [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) })); +dart.setStaticFieldSignature(_http._HttpConnection, () => ['_ACTIVE', '_IDLE', '_CLOSING', '_DETACHED', '_connections']); dart.defineLazy(_http._HttpConnection, { /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { return 0; @@ -132228,10 +144216,25 @@ dart.defineLazy(_http._HttpConnection, { return 3; }, /*_http._HttpConnection._connections*/get _connections() { - return new (T.IdentityMapOfint$_HttpConnection()).new(); - }, - set _connections(_) {} + return new (T$1.IdentityMapOfint$_HttpConnection()).new(); + } }, false); +const _is_ServerSocketBase_default = Symbol('_is_ServerSocketBase_default'); +_http.ServerSocketBase$ = dart.generic(T => { + class ServerSocketBase extends core.Object {} + (ServerSocketBase.new = function() { + ; + }).prototype = ServerSocketBase.prototype; + ServerSocketBase.prototype[dart.isStream] = true; + dart.addTypeTests(ServerSocketBase); + ServerSocketBase.prototype[_is_ServerSocketBase_default] = true; + dart.addTypeCaches(ServerSocketBase); + ServerSocketBase[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ServerSocketBase, I[177]); + return ServerSocketBase; +}); +_http.ServerSocketBase = _http.ServerSocketBase$(); +dart.addTypeTests(_http.ServerSocketBase, _is_ServerSocketBase_default); var _activeConnections = dart.privateName(_http, "_activeConnections"); var _idleConnections = dart.privateName(_http, "_idleConnections"); var _serverSocket$ = dart.privateName(_http, "_serverSocket"); @@ -132249,25 +144252,34 @@ const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Strea dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { static bind(address, port, backlog, v6Only, shared) { - if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); - if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); - if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + if (port == null) dart.nullFailed(I[181], 3162, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3162, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3162, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3162, 57, "shared"); return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3165, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.ServerSocketTo_HttpServer())); + }, T$1.ServerSocketTo_HttpServer())); } static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { - if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); - if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); - if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); - if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); - if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + if (port == null) dart.nullFailed(I[181], 3172, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3174, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3175, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3176, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3177, 12, "shared"); return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + if (socket == null) dart.nullFailed(I[181], 3183, 28, "socket"); return new _http._HttpServer.__(socket, true); - }, T.SecureServerSocketTo_HttpServer())); + }, T$1.SecureServerSocketTo_HttpServer())); + } + static ['_#_#tearOff'](_serverSocket, _closeServer) { + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); + return new _http._HttpServer.__(_serverSocket, _closeServer); + } + static ['_#listenOn#tearOff'](_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); + return new _http._HttpServer.listenOn(_serverSocket); } static _initDefaultResponseHeaders() { let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); @@ -132289,7 +144301,7 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimeout] = duration; if (duration != null) { this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); for (let idle of this[_idleConnections][$toList]()) { if (dart.test(idle.isMarkedIdle)) { idle.destroy(); @@ -132304,12 +144316,14 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { - if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + this[_serverSocket$].listen(dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3239, 34, "socket"); + if (!dart.equals(socket.address.type, io.InternetAddressType.unix)) { socket.setOption(io.SocketOption.tcpNoDelay, true); - let connection = new _http._HttpConnection.new(socket, this); - this[_idleConnections].add(connection); - }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + } + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { if (!io.HandshakeException.is(error)) { this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); } @@ -132318,11 +144332,11 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } close(opts) { let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); this.closed = true; let result = null; - if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { - result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + if (dart.test(this[_closeServer$])) { + result = this[_serverSocket$].close(); } else { result = async.Future.value(); } @@ -132331,7 +144345,7 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { for (let c of this[_activeConnections][$toList]()) { c.destroy(); } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); } for (let c of this[_idleConnections][$toList]()) { c.destroy(); @@ -132349,18 +144363,18 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } get port() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return core.int.as(dart.dload(this[_serverSocket$], 'port')); + return this[_serverSocket$].port; } get address() { if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + return this[_serverSocket$].address; } set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); this[_sessionManager$].sessionTimeout = timeout; } [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); if (!dart.test(this.closed)) { this[_controller$0].add(request); } else { @@ -132368,47 +144382,44 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { } } [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); connection.unlink(); this[_maybePerformCleanup$](); } [_markIdle](connection) { - if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + if (connection == null) dart.nullFailed(I[181], 3319, 34, "connection"); this[_activeConnections].remove(connection); this[_idleConnections].add(connection); } [_markActive](connection) { - if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + if (connection == null) dart.nullFailed(I[181], 3324, 36, "connection"); this[_idleConnections].remove(connection); this[_activeConnections].add(connection); } get [_sessionManager$]() { - let t298; - t298 = this[_sessionManagerInstance]; - return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + let t274; + t274 = this[_sessionManagerInstance]; + return t274 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t274; } connectionsInfo() { + let t274, t274$, t274$0; let result = new _http.HttpConnectionsInfo.new(); result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); - this[_activeConnections].forEach(dart.fn(conn => { - let t298, t298$; - if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + for (let conn of this[_activeConnections]) { if (dart.test(conn[_isActive])) { - t298 = result; - t298.active = dart.notNull(t298.active) + 1; + t274 = result; + t274.active = dart.notNull(t274.active) + 1; } else { - if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); - t298$ = result; - t298$.closing = dart.notNull(t298$.closing) + 1; - } - }, T._HttpConnectionTovoid())); - this[_idleConnections].forEach(dart.fn(conn => { - let t298; - if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); - t298 = result; - t298.idle = dart.notNull(t298.idle) + 1; - if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); - }, T._HttpConnectionTovoid())); + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3340, 16, "conn._isClosing"); + t274$ = result; + t274$.closing = dart.notNull(t274$.closing) + 1; + } + } + for (let conn of this[_idleConnections]) { + t274$0 = result; + t274$0.idle = dart.notNull(t274$0.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3346, 14, "conn._isIdle"); + } return result; } get [_serviceTypePath$]() { @@ -132417,37 +144428,10 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { get [_serviceTypeName$]() { return "HttpServer"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - r[$_set]("port", this.port); - r[$_set]("address", this.address.host); - r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { - if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); - return c[_toJSON$](true); - }, T._HttpConnectionToMap()))[$toList]()); - r[$_set]("closed", this.closed); - return r; - } }; (_http._HttpServer.__ = function(_serverSocket, _closeServer) { - if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + if (_serverSocket == null) dart.nullFailed(I[181], 3188, 22, "_serverSocket"); + if (_closeServer == null) dart.nullFailed(I[181], 3188, 42, "_closeServer"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132455,17 +144439,18 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = _closeServer; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; (_http._HttpServer.listenOn = function(_serverSocket) { + if (_serverSocket == null) dart.nullFailed(I[181], 3195, 29, "_serverSocket"); this.serverHeader = null; this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); this.autoCompress = false; @@ -132473,14 +144458,14 @@ _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { this[_idleTimer] = null; this[_sessionManagerInstance] = null; this.closed = false; - this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); - this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_activeConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T$1.LinkedListOf_HttpConnection()).new(); this[_serverSocket$] = _serverSocket; this[_closeServer$] = false; - this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOfHttpRequest().new({sync: true}); _http._HttpServer.__proto__.new.call(this); this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[447] || CT.C447; + this.idleTimeout = C[460] || CT.C460; _http._HttpServer._servers[$_set](this[_serviceId$], this); }).prototype = _http._HttpServer.prototype; dart.addTypeTests(_http._HttpServer); @@ -132495,9 +144480,9 @@ dart.setMethodSignature(_http._HttpServer, () => ({ [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), - connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []) })); +dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); dart.setGetterSignature(_http._HttpServer, () => ({ __proto__: dart.getGetters(_http._HttpServer.__proto__), idleTimeout: dart.nullable(core.Duration), @@ -132522,17 +144507,17 @@ dart.setFieldSignature(_http._HttpServer, () => ({ [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), closed: dart.fieldType(core.bool), - [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_serverSocket$]: dart.finalFieldType(_http.ServerSocketBase$(io.Socket)), [_closeServer$]: dart.finalFieldType(core.bool), [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), - [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.HttpRequest)) })); +dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); dart.defineLazy(_http._HttpServer, { /*_http._HttpServer._servers*/get _servers() { - return new (T.LinkedMapOfint$_HttpServer()).new(); - }, - set _servers(_) {} + return new (T$1.IdentityMapOfint$_HttpServer()).new(); + } }, false); const proxies = _ProxyConfiguration_proxies; _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { @@ -132542,18 +144527,24 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { set proxies(value) { super.proxies = value; } + static ['_#new#tearOff'](configuration) { + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + return new _http._ProxyConfiguration.new(configuration); + } + static ['_#direct#tearOff']() { + return new _http._ProxyConfiguration.direct(); + } }; (_http._ProxyConfiguration.new = function(configuration) { - if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); - this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) dart.nullFailed(I[181], 3374, 30, "configuration"); + this[proxies] = T$1.JSArrayOf_Proxy().of([]); if (configuration == null) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } let list = configuration[$split](";"); - list[$forEach](dart.fn(proxy => { - if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + for (let proxy of list) { proxy = proxy[$trim](); - if (!proxy[$isEmpty]) { + if (proxy[$isNotEmpty]) { if (proxy[$startsWith]("PROXY ")) { let username = null; let password = null; @@ -132581,12 +144572,12 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { let port = null; try { port = core.int.parse(portString); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.FormatException.is(e)) { + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); } else - throw e$; + throw e; } this.proxies[$add](new _http._Proxy.new(host, port, username, password)); } else if (proxy[$trim]() === "DIRECT") { @@ -132595,10 +144586,10 @@ _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); } } - }, T$.StringTovoid())); + } }).prototype = _http._ProxyConfiguration.prototype; (_http._ProxyConfiguration.direct = function() { - this[proxies] = C[476] || CT.C476; + this[proxies] = C[488] || CT.C488; ; }).prototype = _http._ProxyConfiguration.prototype; dart.addTypeTests(_http._ProxyConfiguration); @@ -132608,6 +144599,7 @@ dart.setFieldSignature(_http._ProxyConfiguration, () => ({ __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), proxies: dart.finalFieldType(core.List$(_http._Proxy)) })); +dart.setStaticFieldSignature(_http._ProxyConfiguration, () => ['PROXY_PREFIX', 'DIRECT_PREFIX']); dart.defineLazy(_http._ProxyConfiguration, { /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { return "PROXY "; @@ -132652,13 +144644,21 @@ _http._Proxy = class _Proxy extends core.Object { set isDirect(value) { super.isDirect = value; } + static ['_#new#tearOff'](host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); + return new _http._Proxy.new(host, port, username, password); + } + static ['_#direct#tearOff']() { + return new _http._Proxy.direct(); + } get isAuthenticated() { return this.username != null; } }; (_http._Proxy.new = function(host, port, username, password) { - if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + if (host == null) dart.nullFailed(I[181], 3438, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); this[host$] = host; this[port$1] = port; this[username$] = username; @@ -132690,8 +144690,14 @@ dart.setFieldSignature(_http._Proxy, () => ({ isDirect: dart.finalFieldType(core.bool) })); _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static ['_#new#tearOff'](remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); + return new _http._HttpConnectionInfo.new(remoteAddress, remotePort, localPort); + } static create(socket) { - if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) dart.nullFailed(I[181], 3457, 45, "socket"); if (socket == null) return null; try { return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); @@ -132705,9 +144711,9 @@ _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { } }; (_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { - if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); - if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); - if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + if (remoteAddress == null) dart.nullFailed(I[181], 3455, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3455, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3455, 65, "localPort"); this.remoteAddress = remoteAddress; this.remotePort = remotePort; this.localPort = localPort; @@ -132716,6 +144722,7 @@ _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { dart.addTypeTests(_http._HttpConnectionInfo); dart.addTypeCaches(_http._HttpConnectionInfo); _http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; +dart.setStaticMethodSignature(_http._HttpConnectionInfo, () => ['create']); dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), @@ -132723,7 +144730,13 @@ dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ remotePort: dart.fieldType(core.int), localPort: dart.fieldType(core.int) })); +var _detachRaw$ = dart.privateName(_http, "_detachRaw"); _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); + return new _http._DetachedSocket.new(_socket, _incoming); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -132734,7 +144747,7 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U return this[_socket$0].encoding; } set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); this[_socket$0].encoding = value; } write(obj) { @@ -132744,26 +144757,26 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U this[_socket$0].writeln(obj); } writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + if (charCode == null) dart.nullFailed(I[181], 3493, 26, "charCode"); this[_socket$0].writeCharCode(charCode); } writeAll(objects, separator = "") { - if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); - if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + if (objects == null) dart.nullFailed(I[181], 3497, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3497, 43, "separator"); this[_socket$0].writeAll(objects, separator); } add(bytes) { T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[181], 3501, 22, "bytes"); this[_socket$0].add(bytes); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + if (error == null) dart.nullFailed(I[181], 3505, 24, "error"); return this[_socket$0].addError(error, stackTrace); } addStream(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + if (stream == null) dart.nullFailed(I[181], 3508, 38, "stream"); return this[_socket$0].addStream(stream); } destroy() { @@ -132791,38 +144804,38 @@ _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.U return this[_socket$0].remotePort; } setOption(option, enabled) { - if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); - if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + if (option == null) dart.nullFailed(I[181], 3530, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3530, 44, "enabled"); return this[_socket$0].setOption(option, enabled); } getRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + if (option == null) dart.nullFailed(I[181], 3534, 42, "option"); return this[_socket$0].getRawOption(option); } setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); this[_socket$0].setRawOption(option); } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); - return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); - } get [__IOSink_encoding_isSet]() { - return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); + } + [_detachRaw]() { + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.method(C[491] || CT.C491, null, []))); } get [__IOSink_encoding]() { - return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); } set [__IOSink_encoding_isSet](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + if (value == null) dart.nullFailed(I[181], 3467, 7, "value"); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[481] || CT.C481, value))); } set [__IOSink_encoding](value) { - return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.setter(C[482] || CT.C482, value))); } }; (_http._DetachedSocket.new = function(_socket, _incoming) { - if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); - if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + if (_socket == null) dart.nullFailed(I[181], 3471, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3471, 38, "_incoming"); this[_socket$0] = _socket; this[_incoming$] = _incoming; _http._DetachedSocket.__proto__.new.call(this); @@ -132847,7 +144860,7 @@ dart.setMethodSignature(_http._DetachedSocket, () => ({ setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_toJSON$]: dart.fnType(core.Map, [core.bool]) + [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) })); dart.setGetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getGetters(_http._DetachedSocket.__proto__), @@ -132857,13 +144870,13 @@ dart.setGetterSignature(_http._DetachedSocket, () => ({ address: io.InternetAddress, remoteAddress: io.InternetAddress, remotePort: core.int, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setSetterSignature(_http._DetachedSocket, () => ({ __proto__: dart.getSetters(_http._DetachedSocket.__proto__), encoding: convert.Encoding, - [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding_isSet]: core.bool, [__IOSink_encoding]: dart.nullable(convert.Encoding) })); dart.setLibraryUri(_http._DetachedSocket, I[177]); @@ -132881,12 +144894,20 @@ _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { set [_scheme](value) { super[_scheme] = value; } + static ['_#new#tearOff'](_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); + return new _http._AuthenticationScheme.new(_scheme); + } static fromString(scheme) { - if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; return _http._AuthenticationScheme.UNKNOWN; } + static ['_#fromString#tearOff'](scheme) { + if (scheme == null) dart.nullFailed(I[181], 3552, 51, "scheme"); + return _http._AuthenticationScheme.fromString(scheme); + } toString() { if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; @@ -132894,27 +144915,29 @@ _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { } }; (_http._AuthenticationScheme.new = function(_scheme) { - if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + if (_scheme == null) dart.nullFailed(I[181], 3550, 36, "_scheme"); this[_scheme$] = _scheme; ; }).prototype = _http._AuthenticationScheme.prototype; dart.addTypeTests(_http._AuthenticationScheme); dart.addTypeCaches(_http._AuthenticationScheme); +dart.setStaticMethodSignature(_http._AuthenticationScheme, () => ['fromString']); dart.setLibraryUri(_http._AuthenticationScheme, I[177]); dart.setFieldSignature(_http._AuthenticationScheme, () => ({ __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), [_scheme]: dart.finalFieldType(core.int) })); +dart.setStaticFieldSignature(_http._AuthenticationScheme, () => ['UNKNOWN', 'BASIC', 'DIGEST']); dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); dart.defineLazy(_http._AuthenticationScheme, { /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { - return C[478] || CT.C478; + return C[492] || CT.C492; }, /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[479] || CT.C479; + return C[493] || CT.C493; }, /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[480] || CT.C480; + return C[494] || CT.C494; } }, false); _http._Credentials = class _Credentials extends core.Object { @@ -132923,9 +144946,9 @@ _http._Credentials = class _Credentials extends core.Object { } }; (_http._Credentials.new = function(credentials, realm) { - let t301; - if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); - if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + let t277; + if (credentials == null) dart.nullFailed(I[181], 3577, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3577, 39, "realm"); this.used = false; this.ha1 = null; this.nonce = null; @@ -132936,13 +144959,13 @@ _http._Credentials = class _Credentials extends core.Object { this.realm = realm; if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { let creds = _http._HttpClientDigestCredentials.as(this.credentials); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(convert.utf8.encode(creds.username)); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(this.realm[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(convert.utf8.encode(creds.password)); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(convert.utf8.encode(creds.username)); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(this.realm[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(convert.utf8.encode(creds.password)); + return t277; })()); this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); } @@ -132966,8 +144989,13 @@ dart.setFieldSignature(_http._Credentials, () => ({ nonceCount: dart.fieldType(dart.nullable(core.int)) })); _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + static ['_#new#tearOff'](uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); + return new _http._SiteCredentials.new(uri, realm, creds); + } applies(uri, scheme) { - if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (uri == null) dart.nullFailed(I[181], 3607, 20, "uri"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; if (uri.host != this.uri.host) return false; let thisPort = this.uri.port === 0 ? 80 : this.uri.port; @@ -132976,7 +145004,7 @@ _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { return uri.path[$startsWith](this.uri.path); } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -132985,8 +145013,8 @@ _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { } }; (_http._SiteCredentials.new = function(uri, realm, creds) { - if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); - if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + if (uri == null) dart.nullFailed(I[181], 3604, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3604, 60, "creds"); this.uri = uri; _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); ; @@ -133004,13 +145032,19 @@ dart.setFieldSignature(_http._SiteCredentials, () => ({ uri: dart.fieldType(core.Uri) })); _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + static ['_#new#tearOff'](host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); + return new _http._ProxyCredentials.new(host, port, realm, creds); + } applies(proxy, scheme) { - if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (proxy == null) dart.nullFailed(I[181], 3635, 23, "proxy"); if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; return proxy.host == this.host && proxy.port == this.port; } authorize(request) { - if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (request == null) dart.nullFailed(I[181], 3640, 36, "request"); if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { return; } @@ -133018,9 +145052,9 @@ _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { } }; (_http._ProxyCredentials.new = function(host, port, realm, creds) { - if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); - if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); - if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + if (host == null) dart.nullFailed(I[181], 3632, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3632, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3632, 73, "creds"); this.host = host; this.port = port; _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); @@ -133048,27 +145082,32 @@ dart.addTypeCaches(_http._HttpClientCredentials); _http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; dart.setLibraryUri(_http._HttpClientCredentials, I[177]); _http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.BASIC; } authorization() { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + let auth = convert.base64Encode(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); return "Basic " + dart.str(auth); } authorize(_, request) { - if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); - if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + if (_ == null) dart.nullFailed(I[181], 3676, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3676, 52, "request"); request.headers.set("authorization", this.authorization()); } authorizeProxy(_, request) { - if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); - if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + if (_ == null) dart.nullFailed(I[181], 3680, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3680, 62, "request"); request.headers.set("proxy-authorization", this.authorization()); } }; (_http._HttpClientBasicCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + if (username == null) dart.nullFailed(I[181], 3661, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); this.username = username; this.password = password; ; @@ -133093,28 +145132,33 @@ dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ password: dart.fieldType(core.String) })); _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + static ['_#new#tearOff'](username, password) { + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } get scheme() { return _http._AuthenticationScheme.DIGEST; } authorization(credentials, request) { - let t301, t301$, t301$0, t301$1, t301$2, t301$3; - if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); - if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let t277, t277$, t277$0, t277$1, t277$2, t277$3; + if (credentials == null) dart.nullFailed(I[181], 3694, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3694, 69, "request"); let requestUri = request[_requestUri](); - let hasher = (t301 = new _http._MD5.new(), (() => { - t301.add(request.method[$codeUnits]); - t301.add(T$.JSArrayOfint().of([58])); - t301.add(requestUri[$codeUnits]); - return t301; + let hasher = (t277 = new _http._MD5.new(), (() => { + t277.add(request.method[$codeUnits]); + t277.add(T$.JSArrayOfint().of([58])); + t277.add(requestUri[$codeUnits]); + return t277; })()); let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); let isAuth = false; let cnonce = ""; let nc = ""; - hasher = (t301$ = new _http._MD5.new(), (() => { - t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); - t301$.add(T$.JSArrayOfint().of([58])); - return t301$; + hasher = (t277$ = new _http._MD5.new(), (() => { + t277$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t277$.add(T$.JSArrayOfint().of([58])); + return t277$; })()); if (credentials.qop === "auth") { isAuth = true; @@ -133122,64 +145166,64 @@ _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; credentials.nonceCount = nonceCount; nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t301$0 = hasher; + t277$0 = hasher; (() => { - t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(nc[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(cnonce[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add("auth"[$codeUnits]); - t301$0.add(T$.JSArrayOfint().of([58])); - t301$0.add(ha2[$codeUnits]); - return t301$0; + t277$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(nc[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(cnonce[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add("auth"[$codeUnits]); + t277$0.add(T$.JSArrayOfint().of([58])); + t277$0.add(ha2[$codeUnits]); + return t277$0; })(); } else { - t301$1 = hasher; + t277$1 = hasher; (() => { - t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); - t301$1.add(T$.JSArrayOfint().of([58])); - t301$1.add(ha2[$codeUnits]); - return t301$1; + t277$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t277$1.add(T$.JSArrayOfint().of([58])); + t277$1.add(ha2[$codeUnits]); + return t277$1; })(); } let response = _http._CryptoUtils.bytesToHex(hasher.close()); - let buffer = (t301$2 = new core.StringBuffer.new(), (() => { - t301$2.write("Digest "); - t301$2.write("username=\"" + dart.str(this.username) + "\""); - t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); - t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); - t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); - t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); - return t301$2; + let buffer = (t277$2 = new core.StringBuffer.new(), (() => { + t277$2.write("Digest "); + t277$2.write("username=\"" + dart.str(this.username) + "\""); + t277$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t277$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t277$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t277$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t277$2; })()); if (isAuth) { - t301$3 = buffer; + t277$3 = buffer; (() => { - t301$3.write(", qop=\"auth\""); - t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); - t301$3.write(", nc=\"" + nc + "\""); - return t301$3; + t277$3.write(", qop=\"auth\""); + t277$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t277$3.write(", nc=\"" + nc + "\""); + return t277$3; })(); } buffer.write(", response=\"" + dart.str(response) + "\""); return dart.toString(buffer); } authorize(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); - if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + if (credentials == null) dart.nullFailed(I[181], 3749, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3749, 62, "request"); request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } authorizeProxy(credentials, request) { - if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); - if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + if (credentials == null) dart.nullFailed(I[181], 3755, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3755, 56, "request"); request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); } }; (_http._HttpClientDigestCredentials.new = function(username, password) { - if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + if (username == null) dart.nullFailed(I[181], 3690, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); this.username = username; this.password = password; ; @@ -133225,11 +145269,17 @@ _http._RedirectInfo = class _RedirectInfo extends core.Object { set location(value) { super.location = value; } + static ['_#new#tearOff'](statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); + return new _http._RedirectInfo.new(statusCode, method, location); + } }; (_http._RedirectInfo.new = function(statusCode, method, location) { - if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); - if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); - if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + if (statusCode == null) dart.nullFailed(I[181], 3765, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3765, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3765, 58, "location"); this[statusCode$] = statusCode; this[method$] = method; this[location$] = location; @@ -133245,25 +145295,30 @@ dart.setFieldSignature(_http._RedirectInfo, () => ({ method: dart.finalFieldType(core.String), location: dart.finalFieldType(core.Uri) })); -_http._Const = class _Const extends core.Object {}; +_http._Const = class _Const extends core.Object { + static ['_#new#tearOff']() { + return new _http._Const.new(); + } +}; (_http._Const.new = function() { ; }).prototype = _http._Const.prototype; dart.addTypeTests(_http._Const); dart.addTypeCaches(_http._Const); dart.setLibraryUri(_http._Const, I[177]); +dart.setStaticFieldSignature(_http._Const, () => ['HTTP', 'HTTP1DOT', 'HTTP10', 'HTTP11', 'T', 'F', 'SEPARATOR_MAP']); dart.defineLazy(_http._Const, { /*_http._Const.HTTP*/get HTTP() { - return C[481] || CT.C481; + return C[495] || CT.C495; }, /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[482] || CT.C482; + return C[496] || CT.C496; }, /*_http._Const.HTTP10*/get HTTP10() { - return C[483] || CT.C483; + return C[497] || CT.C497; }, /*_http._Const.HTTP11*/get HTTP11() { - return C[484] || CT.C484; + return C[498] || CT.C498; }, /*_http._Const.T*/get T() { return true; @@ -133272,16 +145327,21 @@ dart.defineLazy(_http._Const, { return false; }, /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[485] || CT.C485; + return C[499] || CT.C499; } }, false); -_http._CharCode = class _CharCode extends core.Object {}; +_http._CharCode = class _CharCode extends core.Object { + static ['_#new#tearOff']() { + return new _http._CharCode.new(); + } +}; (_http._CharCode.new = function() { ; }).prototype = _http._CharCode.prototype; dart.addTypeTests(_http._CharCode); dart.addTypeCaches(_http._CharCode); dart.setLibraryUri(_http._CharCode, I[177]); +dart.setStaticFieldSignature(_http._CharCode, () => ['HT', 'LF', 'CR', 'SP', 'COMMA', 'SLASH', 'ZERO', 'ONE', 'COLON', 'SEMI_COLON']); dart.defineLazy(_http._CharCode, { /*_http._CharCode.HT*/get HT() { return 9; @@ -133295,15 +145355,9 @@ dart.defineLazy(_http._CharCode, { /*_http._CharCode.SP*/get SP() { return 32; }, - /*_http._CharCode.AMPERSAND*/get AMPERSAND() { - return 38; - }, /*_http._CharCode.COMMA*/get COMMA() { return 44; }, - /*_http._CharCode.DASH*/get DASH() { - return 45; - }, /*_http._CharCode.SLASH*/get SLASH() { return 47; }, @@ -133318,18 +145372,20 @@ dart.defineLazy(_http._CharCode, { }, /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { return 59; - }, - /*_http._CharCode.EQUAL*/get EQUAL() { - return 61; } }, false); -_http._State = class _State extends core.Object {}; +_http._State = class _State extends core.Object { + static ['_#new#tearOff']() { + return new _http._State.new(); + } +}; (_http._State.new = function() { ; }).prototype = _http._State.prototype; dart.addTypeTests(_http._State); dart.addTypeCaches(_http._State); dart.setLibraryUri(_http._State, I[177]); +dart.setStaticFieldSignature(_http._State, () => ['START', 'METHOD_OR_RESPONSE_HTTP_VERSION', 'RESPONSE_HTTP_VERSION', 'REQUEST_LINE_METHOD', 'REQUEST_LINE_URI', 'REQUEST_LINE_HTTP_VERSION', 'REQUEST_LINE_ENDING', 'RESPONSE_LINE_STATUS_CODE', 'RESPONSE_LINE_REASON_PHRASE', 'RESPONSE_LINE_ENDING', 'HEADER_START', 'HEADER_FIELD', 'HEADER_VALUE_START', 'HEADER_VALUE', 'HEADER_VALUE_FOLD_OR_END_CR', 'HEADER_VALUE_FOLD_OR_END', 'HEADER_ENDING', 'CHUNK_SIZE_STARTING_CR', 'CHUNK_SIZE_STARTING', 'CHUNK_SIZE', 'CHUNK_SIZE_EXTENSION', 'CHUNK_SIZE_ENDING', 'CHUNKED_BODY_DONE_CR', 'CHUNKED_BODY_DONE', 'BODY', 'CLOSED', 'UPGRADED', 'FAILURE', 'FIRST_BODY_STATE']); dart.defineLazy(_http._State, { /*_http._State.START*/get START() { return 0; @@ -133419,13 +145475,18 @@ dart.defineLazy(_http._State, { return 17; } }, false); -_http._HttpVersion = class _HttpVersion extends core.Object {}; +_http._HttpVersion = class _HttpVersion extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpVersion.new(); + } +}; (_http._HttpVersion.new = function() { ; }).prototype = _http._HttpVersion.prototype; dart.addTypeTests(_http._HttpVersion); dart.addTypeCaches(_http._HttpVersion); dart.setLibraryUri(_http._HttpVersion, I[177]); +dart.setStaticFieldSignature(_http._HttpVersion, () => ['UNDETERMINED', 'HTTP10', 'HTTP11']); dart.defineLazy(_http._HttpVersion, { /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133437,13 +145498,18 @@ dart.defineLazy(_http._HttpVersion, { return 2; } }, false); -_http._MessageType = class _MessageType extends core.Object {}; +_http._MessageType = class _MessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._MessageType.new(); + } +}; (_http._MessageType.new = function() { ; }).prototype = _http._MessageType.prototype; dart.addTypeTests(_http._MessageType); dart.addTypeCaches(_http._MessageType); dart.setLibraryUri(_http._MessageType, I[177]); +dart.setStaticFieldSignature(_http._MessageType, () => ['UNDETERMINED', 'REQUEST', 'RESPONSE']); dart.defineLazy(_http._MessageType, { /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { return 0; @@ -133462,6 +145528,10 @@ var _injectData$ = dart.privateName(_http, "_injectData"); var _userOnData$ = dart.privateName(_http, "_userOnData"); var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + static ['_#new#tearOff'](_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); + return new _http._HttpDetachedStreamSubscription.new(_subscription, _injectData, _userOnData); + } get isPaused() { return this[_subscription$0].isPaused; } @@ -133506,19 +145576,19 @@ _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription ex if (this[_pauseCount$] !== 0) return; this[_scheduled] = true; async.scheduleMicrotask(dart.fn(() => { - let t301; + let t277; this[_scheduled] = false; if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = this[_injectData$]; + let data = dart.nullCheck(this[_injectData$]); this[_injectData$] = null; this[_subscription$0].resume(); - t301 = this[_userOnData$]; - t301 == null ? null : dart.dcall(t301, [data]); + t277 = this[_userOnData$]; + t277 == null ? null : t277(data); }, T$.VoidTovoid())); } }; (_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); this[_isCanceled$] = false; this[_scheduled] = false; this[_pauseCount$] = 1; @@ -133549,42 +145619,45 @@ dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_userOnData$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))), [_isCanceled$]: dart.fieldType(core.bool), [_scheduled]: dart.fieldType(core.bool), [_pauseCount$]: dart.fieldType(core.int) })); _http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + static ['_#new#tearOff'](subscription, bufferedData) { + return new _http._HttpDetachedIncoming.new(subscription, bufferedData); + } listen(onData, opts) { - let t301, t301$, t301$0; + let t277, t277$, t277$0; let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; let subscription = this.subscription; if (subscription != null) { - t301 = subscription; + t277 = subscription; (() => { - t301.onData(onData); - t301.onError(onError); - t301.onDone(onDone); - return t301; + t277.onData(onData); + t277.onError(onError); + t277.onDone(onDone); + return t277; })(); if (this.bufferedData == null) { - t301$ = subscription; + t277$ = subscription; return (() => { - t301$.resume(); - return t301$; + t277$.resume(); + return t277$; })(); } - t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); return (() => { - t301$0.resume(); - return t301$0; + t277$0.resume(); + return t277$0; })(); } else { - return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } } }; @@ -133606,6 +145679,7 @@ dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) })); +var connectMethod = dart.privateName(_http, "_HttpParser.connectMethod"); var _parserCalled = dart.privateName(_http, "_parserCalled"); var _index$1 = dart.privateName(_http, "_index"); var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); @@ -133622,7 +145696,6 @@ var _chunked = dart.privateName(_http, "_chunked"); var _noMessageBody = dart.privateName(_http, "_noMessageBody"); var _remainingContent = dart.privateName(_http, "_remainingContent"); var _transferEncoding = dart.privateName(_http, "_transferEncoding"); -var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); var _paused = dart.privateName(_http, "_paused"); var _bodyPaused = dart.privateName(_http, "_bodyPaused"); @@ -133644,12 +145717,29 @@ var _expectHexDigit = dart.privateName(_http, "_expectHexDigit"); var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + get connectMethod() { + return this[connectMethod]; + } + set connectMethod(value) { + if (value == null) dart.nullFailed(I[182], 255, 8, "connectMethod"); + this[connectMethod] = value; + } static requestParser() { return new _http._HttpParser.__(true); } + static ['_#requestParser#tearOff']() { + return _http._HttpParser.requestParser(); + } + static ['_#responseParser#tearOff']() { + return _http._HttpParser.responseParser(); + } static responseParser() { return new _http._HttpParser.__(false); } + static ['_#_#tearOff'](_requestParser) { + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); + return new _http._HttpParser.__(_requestParser); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -133657,7 +145747,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); } listenToStream(stream) { - if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + if (stream == null) dart.nullFailed(I[182], 307, 41, "stream"); this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); } [_parse]() { @@ -133733,7 +145823,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return true; } [_doParse]() { - if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 421, 12, "!_parserCalled"); this[_parserCalled] = true; if (this[_state$1] === 25) { dart.throw(new _http.HttpException.new("Data on closed connection")); @@ -133751,400 +145841,400 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_index$1] = dart.notNull(index) + 1; switch (this[_state$1]) { case 0: - { - if (byte == _http._Const.HTTP[$_get](0)) { - this[_httpVersionIndex] = 1; - this[_state$1] = 1; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid request method")); - } - this[_addWithValidation](this[_method$], byte); - if (!dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid response line")); - } - this[_state$1] = 3; - } - break; - } - case 1: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { - this[_httpVersionIndex] = httpVersionIndex + 1; - if (dart.test(this[_requestParser$])) { - dart.throw(new _http.HttpException.new("Invalid request line")); - } - this[_state$1] = 2; - } else { - for (let i = 0; i < httpVersionIndex; i = i + 1) { - this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); - } - if (byte === 32) { - this[_state$1] = 4; + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } this[_addWithValidation](this[_method$], byte); - this[_httpVersion] = 0; if (!dart.test(this[_requestParser$])) { dart.throw(new _http.HttpException.new("Invalid response line")); } this[_state$1] = 3; } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; } - break; - } case 2: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { - this[_expect](byte, 32); - this[_state$1] = 7; - } else { - dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; } - break; - } case 3: - { - if (byte === 32) { - this[_state$1] = 4; - } else { - if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request method")); + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); } - this[_addWithValidation](this[_method$], byte); + break; } - break; - } case 4: - { - if (byte === 32) { - if (this[_uriOrReasonPhrase][$length] === 0) { - dart.throw(new _http.HttpException.new("Invalid request, empty URI")); - } - this[_state$1] = 5; - this[_httpVersionIndex] = 0; - } else { - if (byte === 13 || byte === 10) { - dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + { + if (byte === 32) { + if (dart.test(this[_uriOrReasonPhrase][$isEmpty])) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); } - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + break; } - break; - } case 5: - { - let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); - if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { - this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { - if (byte === 49) { - this[_httpVersion] = 2; - this[_persistentConnection] = true; - this[_httpVersionIndex] = httpVersionIndex + 1; - } else if (byte === 48) { - this[_httpVersion] = 1; - this[_persistentConnection] = false; + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } } else { - dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); - } - } else { - if (byte === 13) { - this[_state$1] = 6; - } else if (byte === 10) { - this[_state$1] = 6; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } } + break; } - break; - } case 6: - { - this[_expect](byte, 10); - this[_messageType] = 1; - this[_state$1] = 10; - break; - } + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } case 7: - { - if (byte === 32) { - this[_state$1] = 8; - } else if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; - if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { - dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); - } else if (dart.notNull(this[_statusCodeLength]) > 3) { - dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } } + break; } - break; - } case 8: - { - if (byte === 13) { - this[_state$1] = 9; - } else if (byte === 10) { - this[_state$1] = 9; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_uriOrReasonPhrase], byte); + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; } - break; - } case 9: - { - this[_expect](byte, 10); - this[_messageType] === 0; - if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { - this[_noMessageBody] = true; + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; } - this[_state$1] = 10; - break; - } case 10: - { - this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - this[_state$1] = 11; + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; } - break; - } case 11: - { - if (byte === 58) { - this[_state$1] = 12; - } else { - if (!dart.test(_http._HttpParser._isTokenChar(byte))) { - dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + break; } - break; - } case 12: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else if (byte !== 32 && byte !== 9) { - this[_addWithValidation](this[_headerValue], byte); - this[_state$1] = 13; + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; } - break; - } case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; } - break; - } case 14: - { - this[_expect](byte, 10); - this[_state$1] = 15; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } case 15: - { - if (byte === 32 || byte === 9) { - this[_state$1] = 12; - } else { - let headerField = core.String.fromCharCodes(this[_headerField]); - let headerValue = core.String.fromCharCodes(this[_headerValue]); - let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; - if (headerField === "content-length") { - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); - } else if (dart.test(this[_transferEncoding])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); - } - this[_contentLength] = true; - } else if (headerField === "transfer-encoding") { - this[_transferEncoding] = true; - if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { - this[_chunked] = true; - } - if (dart.test(this[_contentLength])) { - dart.throw(new _http.HttpException.new(errorIfBothText)); + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } } - } - let headers = dart.nullCheck(this[_headers]); - if (headerField === "connection") { - let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); - let isResponse = this[_messageType] === 0; - let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; - for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { - let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); - if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { - this[_connectionUpgrade] = true; + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); } - headers[_add$1](headerField, tokens[$_get](i)); + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } - } else { - headers[_add$1](headerField, headerValue); - } - this[_headerField][$clear](); - this[_headerValue][$clear](); - if (byte === 13) { - this[_state$1] = 16; - } else if (byte === 10) { - this[_state$1] = 16; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else { - this[_state$1] = 11; - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); } + break; } - break; - } case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; } - break; - } case 17: - { - if (byte === 10) { + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); this[_state$1] = 18; - this[_index$1] = dart.notNull(this[_index$1]) - 1; break; } - this[_expect](byte, 13); - this[_state$1] = 18; - break; - } case 18: - { - this[_expect](byte, 10); - this[_state$1] = 19; - break; - } + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } case 19: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - } else if (byte === 59) { - this[_state$1] = 20; - } else { - let value = this[_expectHexDigit](byte); - if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > (2147483647)[$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + break; } - break; - } case 20: - { - if (byte === 13) { - this[_state$1] = 21; - } else if (byte === 10) { - this[_state$1] = 21; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; } - break; - } case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; } - break; - } case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); break; } - this[_expect](byte, 13); - break; - } case 23: - { - this[_expect](byte, 10); - this[_reset](); - this[_closeIncoming](); - break; - } - case 24: - { - this[_index$1] = dart.notNull(this[_index$1]) - 1; - let buffer = dart.nullCheck(this[_buffer$1]); - let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); - if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { - dataAvailable = this[_remainingContent]; - } - let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); - dart.nullCheck(this[_bodyController]).add(data); - if (this[_remainingContent] !== -1) { - this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; } - this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); - if (this[_remainingContent] === 0) { - if (!dart.test(this[_chunked])) { - this[_reset](); - this[_closeIncoming](); - } else { - this[_state$1] = 17; + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; } - break; - } case 27: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); + break; + } default: - { - if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); - break; - } + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } } } this[_parserCalled] = false; @@ -134157,9 +146247,9 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_onData$1](buffer) { - if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + if (buffer == null) dart.nullFailed(I[182], 868, 26, "buffer"); dart.nullCheck(this[_socketSubscription$]).pause(); - if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 870, 12, "_buffer == null"); this[_buffer$1] = buffer; this[_index$1] = 0; this[_parse](); @@ -134203,13 +146293,13 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) get version() { switch (this[_httpVersion]) { case 1: - { - return "1.0"; - } + { + return "1.0"; + } case 2: - { - return "1.1"; - } + { + return "1.1"; + } } return null; } @@ -134226,7 +146316,7 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return this[_persistentConnection]; } set isHead(value) { - if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + if (value == null) dart.nullFailed(I[182], 944, 24, "value"); this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); } detachIncoming() { @@ -134269,15 +146359,15 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_index$1] = -1; } static _isTokenChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 997, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); } static _isValueChar(byte) { - if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + if (byte == null) dart.nullFailed(I[182], 1001, 32, "byte"); return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -134294,12 +146384,12 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return tokens; } static _toLowerCaseByte(x) { - if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + if (x == null) dart.nullFailed(I[182], 1022, 35, "x"); return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; } static _caseInsensitiveCompare(expected, value) { - if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); - if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected == null) dart.nullFailed(I[182], 1032, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1032, 69, "value"); if (expected[$length] != value[$length]) return false; for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; @@ -134307,14 +146397,14 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) return true; } [_expect](val1, val2) { - if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); - if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 == null) dart.nullFailed(I[182], 1040, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1040, 30, "val2"); if (val1 != val2) { dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); } } [_expectHexDigit](byte) { - if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (byte == null) dart.nullFailed(I[182], 1046, 27, "byte"); if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { return dart.notNull(byte) - 48; } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { @@ -134326,8 +146416,8 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_addWithValidation](list, byte) { - if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); - if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + if (list == null) dart.nullFailed(I[182], 1059, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1059, 47, "byte"); this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; if (dart.notNull(this[_headersReceivedSize]) < 1048576) { list[$add](byte); @@ -134341,84 +146431,83 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) case 0: case 1: case 3: - { - method = "Method"; - break; - } + { + method = "Method"; + break; + } case 4: - { - method = "URI"; - break; - } + { + method = "URI"; + break; + } case 8: - { - method = "Reason phrase"; - break; - } + { + method = "Reason phrase"; + break; + } case 10: case 11: - { - method = "Header field"; - break; - } + { + method = "Header field"; + break; + } case 12: case 13: - { - method = "Header value"; - break; - } + { + method = "Header value"; + break; + } default: - { - dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); - break; - } + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + } } dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); } [_createIncoming](transferLength) { - let t302; - if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); - if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); - if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let t278; + if (transferLength == null) dart.nullFailed(I[182], 1102, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1103, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1104, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1105, 12, "!_bodyPaused"); let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); - t302 = controller; + t278 = controller; (() => { - t302.onListen = dart.fn(() => { + t278.onListen = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onPause = dart.fn(() => { + t278.onPause = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); this[_bodyPaused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onResume = dart.fn(() => { + t278.onResume = dart.fn(() => { if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); this[_bodyPaused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t302.onCancel = dart.fn(() => { - let t303; + t278.onCancel = dart.fn(() => { + let t279; if (!incoming[$_equals](this[_incoming$])) return; - t303 = this[_socketSubscription$]; - t303 == null ? null : t303.cancel(); + t279 = this[_socketSubscription$]; + t279 == null ? null : t279.cancel(); this[_closeIncoming](true); this[_controller$0].close(); }, T$.VoidToNull()); - return t302; + return t278; })(); this[_bodyPaused] = true; this[_pauseStateChanged](); return incoming; } [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); let tmp = this[_incoming$]; if (tmp == null) return; tmp.close(closing); @@ -134443,27 +146532,27 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) } } [_reportHttpError](error, stackTrace = null) { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); this[_controller$0].close(); } [_reportBodyError](error, stackTrace = null) { - let t302, t302$, t302$0; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + let t278, t278$, t278$0; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); this[_state$1] = 27; - t302$ = this[_bodyController]; - t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - t302$0 = this[_bodyController]; - t302$0 == null ? null : t302$0.close(); + t278$ = this[_bodyController]; + t278$ == null ? null : t278$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t278$0 = this[_bodyController]; + t278$0 == null ? null : t278$0.close(); } }; (_http._HttpParser.__ = function(_requestParser) { - let t301; - if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + let t277; + if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); this[_parserCalled] = false; this[_buffer$1] = null; this[_index$1] = -1; @@ -134486,36 +146575,35 @@ _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) this[_remainingContent] = -1; this[_contentLength] = false; this[_transferEncoding] = false; - this.connectMethod = false; + this[connectMethod] = false; this[_headers] = null; - this[_chunkSizeLimit] = 2147483647; this[_incoming$] = null; this[_socketSubscription$] = null; this[_paused] = true; this[_bodyPaused] = false; this[_bodyController] = null; this[_requestParser$] = _requestParser; - this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); _http._HttpParser.__proto__.new.call(this); - t301 = this[_controller$0]; + t277 = this[_controller$0]; (() => { - t301.onListen = dart.fn(() => { + t277.onListen = dart.fn(() => { this[_paused] = false; }, T$.VoidTovoid()); - t301.onPause = dart.fn(() => { + t277.onPause = dart.fn(() => { this[_paused] = true; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onResume = dart.fn(() => { + t277.onResume = dart.fn(() => { this[_paused] = false; this[_pauseStateChanged](); }, T$.VoidTovoid()); - t301.onCancel = dart.fn(() => { - let t302; - t302 = this[_socketSubscription$]; - t302 == null ? null : t302.cancel(); + t277.onCancel = dart.fn(() => { + let t278; + t278 = this[_socketSubscription$]; + t278 == null ? null : t278.cancel(); }, T$.VoidToNull()); - return t301; + return t277; })(); this[_reset](); }).prototype = _http._HttpParser.prototype; @@ -134544,6 +146632,7 @@ dart.setMethodSignature(_http._HttpParser, () => ({ [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) })); +dart.setStaticMethodSignature(_http._HttpParser, () => ['requestParser', 'responseParser', '_isTokenChar', '_isValueChar', '_tokenizeFieldValue', '_toLowerCaseByte', '_caseInsensitiveCompare']); dart.setGetterSignature(_http._HttpParser, () => ({ __proto__: dart.getGetters(_http._HttpParser.__proto__), version: dart.nullable(core.String), @@ -134584,7 +146673,6 @@ dart.setFieldSignature(_http._HttpParser, () => ({ [_transferEncoding]: dart.fieldType(core.bool), connectMethod: dart.fieldType(core.bool), [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_chunkSizeLimit]: dart.fieldType(core.int), [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), [_paused]: dart.fieldType(core.bool), @@ -134592,9 +146680,13 @@ dart.setFieldSignature(_http._HttpParser, () => ({ [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) })); +dart.setStaticFieldSignature(_http._HttpParser, () => ['_headerTotalSizeLimit', '_chunkSizeLimit']); dart.defineLazy(_http._HttpParser, { /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { return 1048576; + }, + /*_http._HttpParser._chunkSizeLimit*/get _chunkSizeLimit() { + return 2147483647; } }, false); var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); @@ -134606,6 +146698,11 @@ var _removeFromTimeoutQueue = dart.privateName(_http, "_removeFromTimeoutQueue") var _sessions = dart.privateName(_http, "_sessions"); var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); _http._HttpSession = class _HttpSession extends core.Object { + static ['_#new#tearOff'](_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + return new _http._HttpSession.new(_sessionManager, id); + } destroy() { if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); this[_destroyed] = true; @@ -134640,7 +146737,7 @@ _http._HttpSession = class _HttpSession extends core.Object { return value$; } putIfAbsent(key, ifAbsent) { - T$.VoidTodynamic().as(ifAbsent); + T$0.VoidTodynamic().as(ifAbsent); if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); return this[_data$1][$putIfAbsent](key, ifAbsent); } @@ -134663,7 +146760,7 @@ _http._HttpSession = class _HttpSession extends core.Object { return this[_data$1][$entries]; } addEntries(entries) { - T.IterableOfMapEntry().as(entries); + T$1.IterableOfMapEntry().as(entries); if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); this[_data$1][$addEntries](entries); } @@ -134682,7 +146779,7 @@ _http._HttpSession = class _HttpSession extends core.Object { T$.dynamicTodynamic().as(update); if (update == null) dart.nullFailed(I[183], 82, 15, "update"); let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T.VoidToNdynamic().as(ifAbsent); + T$1.VoidToNdynamic().as(ifAbsent); return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); } updateAll(update) { @@ -134788,8 +146885,8 @@ dart.setFieldSignature(_http._HttpSession, () => ({ [_destroyed]: dart.fieldType(core.bool), [_isNew]: dart.fieldType(core.bool), [_lastSeen]: dart.fieldType(core.DateTime), - [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), - [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_timeoutCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_sessionManager$]: dart.finalFieldType(_http._HttpSessionManager), [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), id: dart.finalFieldType(core.String), @@ -134830,6 +146927,9 @@ var _stopTimer = dart.privateName(_http, "_stopTimer"); var _startTimer = dart.privateName(_http, "_startTimer"); var _timerTimeout = dart.privateName(_http, "_timerTimeout"); _http._HttpSessionManager = class _HttpSessionManager extends core.Object { + static ['_#new#tearOff']() { + return new _http._HttpSessionManager.new(); + } createSessionId() { let data = _http._CryptoUtils.getRandomBytes(16); return _http._CryptoUtils.bytesToHex(data); @@ -134839,12 +146939,12 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { return this[_sessions][$_get](id); } createSession() { - let t304, t303, t302; + let t280, t279, t278; let id = this.createSessionId(); while (dart.test(this[_sessions][$containsKey](id))) { id = this.createSessionId(); } - let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); this[_addToTimeoutQueue](session); return session; } @@ -134877,15 +146977,15 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { } } [_removeFromTimeoutQueue](session) { - let t302, t302$; + let t278, t278$; if (session == null) dart.nullFailed(I[183], 162, 45, "session"); let next = session[_next$4]; let prev = session[_prev]; session[_next$4] = session[_prev] = null; - t302 = next; - t302 == null ? null : t302[_prev] = prev; - t302$ = prev; - t302$ == null ? null : t302$[_next$4] = next; + t278 = next; + t278 == null ? null : t278[_prev] = prev; + t278$ = prev; + t278$ == null ? null : t278$[_next$4] = next; if (dart.equals(this[_tail$], session)) { this[_tail$] = prev; } @@ -134896,12 +146996,12 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { } } [_timerTimeout]() { - let t302; + let t278; this[_stopTimer](); let session = dart.nullCheck(this[_head$]); session.destroy(); - t302 = session[_timeoutCallback]; - t302 == null ? null : dart.dcall(t302, []); + t278 = session[_timeoutCallback]; + t278 == null ? null : t278(); } [_startTimer]() { if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); @@ -134924,7 +147024,7 @@ _http._HttpSessionManager = class _HttpSessionManager extends core.Object { this[_head$] = null; this[_tail$] = null; this[_timer] = null; - this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); ; }).prototype = _http._HttpSessionManager.prototype; dart.addTypeTests(_http._HttpSessionManager); @@ -134949,7 +147049,7 @@ dart.setSetterSignature(_http._HttpSessionManager, () => ({ dart.setLibraryUri(_http._HttpSessionManager, I[177]); dart.setFieldSignature(_http._HttpSessionManager, () => ({ __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessions]: dart.finalFieldType(core.Map$(core.String, _http._HttpSession)), [_sessionTimeout]: dart.fieldType(core.int), [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), @@ -134957,29 +147057,29 @@ dart.setFieldSignature(_http._HttpSessionManager, () => ({ })); _http.HttpOverrides = class HttpOverrides extends core.Object { static get current() { - let t302; - return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + let t278; + return T$1.HttpOverridesN().as((t278 = async.Zone.current._get(_http._httpOverridesToken), t278 == null ? _http.HttpOverrides._global : t278)); } static set global(overrides) { _http.HttpOverrides._global = overrides; } static runZoned(R, body, opts) { - if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + if (body == null) dart.nullFailed(I[184], 51, 37, "body"); let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } static runWithHttpOverrides(R, body, overrides) { - if (body == null) dart.nullFailed(I[184], 63, 38, "body"); - if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + if (body == null) dart.nullFailed(I[184], 65, 49, "body"); + if (overrides == null) dart.nullFailed(I[184], 65, 69, "overrides"); return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); } createHttpClient(context) { return new _http._HttpClient.new(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + if (url == null) dart.nullFailed(I[184], 82, 39, "url"); return _http._HttpClient._findProxyFromEnvironment(url, environment); } }; @@ -134993,17 +147093,24 @@ dart.setMethodSignature(_http.HttpOverrides, () => ({ createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) })); +dart.setStaticMethodSignature(_http.HttpOverrides, () => ['runZoned', 'runWithHttpOverrides']); +dart.setStaticGetterSignature(_http.HttpOverrides, () => ['current']); +dart.setStaticSetterSignature(_http.HttpOverrides, () => ['global']); dart.setLibraryUri(_http.HttpOverrides, I[177]); +dart.setStaticFieldSignature(_http.HttpOverrides, () => ['_global']); dart.defineLazy(_http.HttpOverrides, { /*_http.HttpOverrides._global*/get _global() { return null; }, - set _global(_) {} + set _global(value) {} }, false); var _previous$5 = dart.privateName(_http, "_previous"); var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + static ['_#new#tearOff'](_createHttpClient, _findProxyFromEnvironment) { + return new _http._HttpOverridesScope.new(_createHttpClient, _findProxyFromEnvironment); + } createHttpClient(context) { let createHttpClient = this[_createHttpClient$]; if (createHttpClient != null) return createHttpClient(context); @@ -135012,7 +147119,7 @@ _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverride return super.createHttpClient(context); } findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + if (url == null) dart.nullFailed(I[184], 105, 39, "url"); let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; if (findProxyFromEnvironment != null) { return findProxyFromEnvironment(url, environment); @@ -135046,6 +147153,7 @@ _http.WebSocketStatus = class WebSocketStatus extends core.Object {}; dart.addTypeTests(_http.WebSocketStatus); dart.addTypeCaches(_http.WebSocketStatus); dart.setLibraryUri(_http.WebSocketStatus, I[177]); +dart.setStaticFieldSignature(_http.WebSocketStatus, () => ['normalClosure', 'goingAway', 'protocolError', 'unsupportedData', 'reserved1004', 'noStatusReceived', 'abnormalClosure', 'invalidFramePayloadData', 'policyViolation', 'messageTooBig', 'missingMandatoryExtension', 'internalServerError', 'reserved1015']); dart.defineLazy(_http.WebSocketStatus, { /*_http.WebSocketStatus.normalClosure*/get normalClosure() { return 1000; @@ -135085,45 +147193,6 @@ dart.defineLazy(_http.WebSocketStatus, { }, /*_http.WebSocketStatus.reserved1015*/get reserved1015() { return 1015; - }, - /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { - return 1000; - }, - /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { - return 1001; - }, - /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { - return 1002; - }, - /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { - return 1003; - }, - /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { - return 1004; - }, - /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { - return 1005; - }, - /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { - return 1006; - }, - /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { - return 1007; - }, - /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { - return 1008; - }, - /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { - return 1009; - }, - /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { - return 1010; - }, - /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 1011; - }, - /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { - return 1015; } }, false); var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); @@ -135165,15 +147234,26 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { set enabled(value) { super.enabled = value; } + static ['_#new#tearOff'](opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); + return new _http.CompressionOptions.new({clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover, clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, enabled: enabled}); + } [_createServerResponseHeader](requested) { - let t302, t302$, t302$0; + let t278, t278$, t278$0; let info = new _http._CompressionMaxWindowBits.new("", 0); - let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + let part = (t278 = requested, t278 == null ? null : t278.parameters[$_get]("server_max_window_bits")); if (part != null) { if (part.length >= 2 && part[$startsWith]("0")) { dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); } else { - let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + let mwb = (t278$0 = (t278$ = this.serverMaxWindowBits, t278$ == null ? core.int.tryParse(part) : t278$), t278$0 == null ? 15 : t278$0); info.headerValue = "; server_max_window_bits=" + dart.str(mwb); info.maxWindowBits = mwb; } @@ -135184,7 +147264,7 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { return info; } [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + if (size == null) dart.nullFailed(I[185], 122, 65, "size"); let info = ""; if (requested != null) { info = "; client_max_window_bits=" + dart.str(size); @@ -135201,38 +147281,38 @@ _http.CompressionOptions = class CompressionOptions extends core.Object { return info; } [_createHeader](requested = null) { - let t302, t302$, t302$0, t302$1; + let t278, t278$, t278$0, t278$1; let info = new _http._CompressionMaxWindowBits.new("", 0); if (!dart.test(this.enabled)) { return info; } info.headerValue = "permessage-deflate"; - if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { - t302 = info; - t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t278 = info; + t278.headerValue = dart.notNull(t278.headerValue) + "; client_no_context_takeover"; } - if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { - t302$ = info; - t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + if (dart.test(this.serverNoContextTakeover) && (requested == null || dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t278$ = info; + t278$.headerValue = dart.notNull(t278$.headerValue) + "; server_no_context_takeover"; } let headerList = this[_createServerResponseHeader](requested); - t302$0 = info; - t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + t278$0 = info; + t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); info.maxWindowBits = headerList.maxWindowBits; - t302$1 = info; - t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + t278$1 = info; + t278$1.headerValue = dart.notNull(t278$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); return info; } }; (_http.CompressionOptions.new = function(opts) { let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 86, 13, "clientNoContextTakeover"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 87, 12, "serverNoContextTakeover"); let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; let enabled = opts && 'enabled' in opts ? opts.enabled : true; - if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + if (enabled == null) dart.nullFailed(I[185], 90, 12, "enabled"); this[clientNoContextTakeover$] = clientNoContextTakeover; this[serverNoContextTakeover$] = serverNoContextTakeover; this[clientMaxWindowBits$] = clientMaxWindowBits; @@ -135257,36 +147337,37 @@ dart.setFieldSignature(_http.CompressionOptions, () => ({ serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), enabled: dart.finalFieldType(core.bool) })); +dart.setStaticFieldSignature(_http.CompressionOptions, () => ['compressionDefault', 'compressionOff']); dart.defineLazy(_http.CompressionOptions, { /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { - return C[486] || CT.C486; - }, - /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { - return C[486] || CT.C486; + return C[500] || CT.C500; }, /*_http.CompressionOptions.compressionOff*/get compressionOff() { - return C[487] || CT.C487; - }, - /*_http.CompressionOptions.OFF*/get OFF() { - return C[487] || CT.C487; + return C[501] || CT.C501; } }, false); _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { static new(opts) { let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); } + static ['_#new#tearOff'](opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 226, 26, "compression"); + return _http.WebSocketTransformer.new({protocolSelector: protocolSelector, compression: compression}); + } static upgrade(request, opts) { - if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + if (request == null) dart.nullFailed(I[185], 245, 48, "request"); let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 247, 26, "compression"); return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); } static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + if (request == null) dart.nullFailed(I[185], 253, 44, "request"); return _http._WebSocketTransformerImpl._isUpgradeRequest(request); } }; @@ -135295,6 +147376,7 @@ _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { dart.addTypeTests(_http.WebSocketTransformer); dart.addTypeCaches(_http.WebSocketTransformer); _http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; +dart.setStaticMethodSignature(_http.WebSocketTransformer, () => ['new', 'upgrade', 'isUpgradeRequest']); dart.setLibraryUri(_http.WebSocketTransformer, I[177]); var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); _http.WebSocket = class WebSocket extends core.Object { @@ -135305,24 +147387,33 @@ _http.WebSocket = class WebSocket extends core.Object { this[pingInterval] = value; } static connect(url, opts) { - if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + if (url == null) dart.nullFailed(I[185], 314, 43, "url"); let protocols = opts && 'protocols' in opts ? opts.protocols : null; let headers = opts && 'headers' in opts ? opts.headers : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); - return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 317, 30, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression, customClient: customClient}); } static fromUpgradedSocket(socket, opts) { - if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); let protocol = opts && 'protocol' in opts ? opts.protocol : null; let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); if (serverSide == null) { dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); } return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); } + static ['_#fromUpgradedSocket#tearOff'](socket, opts) { + if (socket == null) dart.nullFailed(I[185], 344, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[185], 347, 26, "compression"); + return _http.WebSocket.fromUpgradedSocket(socket, {protocol: protocol, serverSide: serverSide, compression: compression}); + } static get userAgent() { return _http._WebSocketImpl.userAgent; } @@ -135338,11 +147429,15 @@ _http.WebSocket.prototype[dart.isStream] = true; dart.addTypeTests(_http.WebSocket); dart.addTypeCaches(_http.WebSocket); _http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; +dart.setStaticMethodSignature(_http.WebSocket, () => ['connect', 'fromUpgradedSocket']); +dart.setStaticGetterSignature(_http.WebSocket, () => ['userAgent']); +dart.setStaticSetterSignature(_http.WebSocket, () => ['userAgent']); dart.setLibraryUri(_http.WebSocket, I[177]); dart.setFieldSignature(_http.WebSocket, () => ({ __proto__: dart.getFields(_http.WebSocket.__proto__), pingInterval: dart.fieldType(dart.nullable(core.Duration)) })); +dart.setStaticFieldSignature(_http.WebSocket, () => ['connecting', 'open', 'closing', 'closed']); dart.defineLazy(_http.WebSocket, { /*_http.WebSocket.connecting*/get connecting() { return 0; @@ -135355,18 +147450,6 @@ dart.defineLazy(_http.WebSocket, { }, /*_http.WebSocket.closed*/get closed() { return 3; - }, - /*_http.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*_http.WebSocket.OPEN*/get OPEN() { - return 1; - }, - /*_http.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*_http.WebSocket.CLOSED*/get CLOSED() { - return 3; } }, false); var message$19 = dart.privateName(_http, "WebSocketException.message"); @@ -135377,12 +147460,16 @@ _http.WebSocketException = class WebSocketException extends core.Object { set message(value) { super.message = value; } + static ['_#new#tearOff'](message = "") { + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); + return new _http.WebSocketException.new(message); + } toString() { return "WebSocketException: " + dart.str(this.message); } }; (_http.WebSocketException.new = function(message = "") { - if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + if (message == null) dart.nullFailed(I[185], 411, 34, "message"); this[message$19] = message; ; }).prototype = _http.WebSocketException.prototype; @@ -135395,13 +147482,18 @@ dart.setFieldSignature(_http.WebSocketException, () => ({ message: dart.finalFieldType(core.String) })); dart.defineExtensionMethods(_http.WebSocketException, ['toString']); -_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; +_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketMessageType.new(); + } +}; (_http._WebSocketMessageType.new = function() { ; }).prototype = _http._WebSocketMessageType.prototype; dart.addTypeTests(_http._WebSocketMessageType); dart.addTypeCaches(_http._WebSocketMessageType); dart.setLibraryUri(_http._WebSocketMessageType, I[177]); +dart.setStaticFieldSignature(_http._WebSocketMessageType, () => ['NONE', 'TEXT', 'BINARY']); dart.defineLazy(_http._WebSocketMessageType, { /*_http._WebSocketMessageType.NONE*/get NONE() { return 0; @@ -135413,13 +147505,18 @@ dart.defineLazy(_http._WebSocketMessageType, { return 2; } }, false); -_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; +_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object { + static ['_#new#tearOff']() { + return new _http._WebSocketOpcode.new(); + } +}; (_http._WebSocketOpcode.new = function() { ; }).prototype = _http._WebSocketOpcode.prototype; dart.addTypeTests(_http._WebSocketOpcode); dart.addTypeCaches(_http._WebSocketOpcode); dart.setLibraryUri(_http._WebSocketOpcode, I[177]); +dart.setStaticFieldSignature(_http._WebSocketOpcode, () => ['CONTINUATION', 'TEXT', 'BINARY', 'RESERVED_3', 'RESERVED_4', 'RESERVED_5', 'RESERVED_6', 'RESERVED_7', 'CLOSE', 'PING', 'PONG', 'RESERVED_B', 'RESERVED_C', 'RESERVED_D', 'RESERVED_E', 'RESERVED_F']); dart.defineLazy(_http._WebSocketOpcode, { /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { return 0; @@ -135470,7 +147567,12 @@ dart.defineLazy(_http._WebSocketOpcode, { return 15; } }, false); -_http._EncodedString = class _EncodedString extends core.Object {}; +_http._EncodedString = class _EncodedString extends core.Object { + static ['_#new#tearOff'](bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + return new _http._EncodedString.new(bytes); + } +}; (_http._EncodedString.new = function(bytes) { if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); this.bytes = bytes; @@ -135484,13 +147586,18 @@ dart.setFieldSignature(_http._EncodedString, () => ({ bytes: dart.finalFieldType(core.List$(core.int)) })); _http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + static ['_#new#tearOff'](headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); + return new _http._CompressionMaxWindowBits.new(headerValue, maxWindowBits); + } toString() { return this.headerValue; } }; (_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { - if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + if (headerValue == null) dart.nullFailed(I[186], 50, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); this.headerValue = headerValue; this.maxWindowBits = maxWindowBits; ; @@ -135504,6 +147611,8 @@ dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ maxWindowBits: dart.fieldType(core.int) })); dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); +var closeCode = dart.privateName(_http, "_WebSocketProtocolTransformer.closeCode"); +var closeReason = dart.privateName(_http, "_WebSocketProtocolTransformer.closeReason"); var _fin = dart.privateName(_http, "_fin"); var _compressed = dart.privateName(_http, "_compressed"); var _opcode = dart.privateName(_http, "_opcode"); @@ -135528,20 +147637,38 @@ var _messageFrameEnd = dart.privateName(_http, "_messageFrameEnd"); var _startPayload = dart.privateName(_http, "_startPayload"); var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + get closeCode() { + return this[closeCode]; + } + set closeCode(value) { + if (value == null) dart.nullFailed(I[186], 88, 7, "closeCode"); + this[closeCode] = value; + } + get closeReason() { + return this[closeReason]; + } + set closeReason(value) { + if (value == null) dart.nullFailed(I[186], 89, 10, "closeReason"); + this[closeReason] = value; + } + static ['_#new#tearOff'](_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); + return new _http._WebSocketProtocolTransformer.new(_serverSide, _deflate); + } bind(stream) { T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + if (stream == null) dart.nullFailed(I[186], 101, 25, "stream"); return async.Stream.eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 102, 55, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used.")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkTo_WebSocketProtocolTransformer())); + }, T$1.EventSinkTo_WebSocketProtocolTransformer())); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + if (error == null) dart.nullFailed(I[186], 111, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -135549,9 +147676,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend dart.nullCheck(this[_eventSink$]).close(); } add(bytes) { - let t302; + let t278; T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 122, 22, "bytes"); let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); let index = 0; let lastIndex = buffer[$length]; @@ -135583,7 +147710,7 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend dart.throw(new _http.WebSocketException.new("Protocol error")); } } else { - if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 159, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); if (this[_currentMessageType] !== 0) { dart.throw(new _http.WebSocketException.new("Protocol error")); } @@ -135610,11 +147737,11 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend this[_remainingLenBytes] = 8; this[_state$1] = 2; } else { - if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 189, 20, "_len < 126"); this[_lengthDone](); } } else { - if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 193, 18, "_state == LEN_REST"); this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; if (this[_remainingLenBytes] === 0) { @@ -135623,12 +147750,12 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } } else { if (this[_state$1] === 3) { - this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + this[_maskingBytes][$_set](4 - dart.notNull((t278 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t278) - 1, t278)), byte); if (this[_remainingMaskingKeyBytes] === 0) { this[_maskDone](); } } else { - if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 207, 18, "_state == PAYLOAD"); let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; if (dart.test(this[_masked])) { @@ -135651,17 +147778,17 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } } [_unmask](index, length, buffer) { - let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; - if (index == null) dart.nullFailed(I[186], 245, 20, "index"); - if (length == null) dart.nullFailed(I[186], 245, 31, "length"); - if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + let t280, t279, t278, t279$, t278$, t280$, t279$0, t278$0; + if (index == null) dart.nullFailed(I[186], 239, 20, "index"); + if (length == null) dart.nullFailed(I[186], 239, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 239, 49, "buffer"); if (dart.notNull(length) >= 16) { let startOffset = 16 - (dart.notNull(index) & 15); let end = dart.notNull(index) + startOffset; for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302 = buffer; - t303 = i; - t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + t278 = buffer; + t279 = i; + t278[$_set](t279, (dart.notNull(t278[$_get](t279)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280) + 1, t280)) & 3))) >>> 0); } index = dart.notNull(index) + startOffset; length = dart.notNull(length) - startOffset; @@ -135674,9 +147801,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t302$ = blockBuffer; - t303$ = i; - t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + t278$ = blockBuffer; + t279$ = i; + t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); } let bytes = blockCount * 16; index = dart.notNull(index) + bytes; @@ -135685,9 +147812,9 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } let end = dart.notNull(index) + dart.notNull(length); for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - t302$0 = buffer; - t303$0 = i; - t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + t278$0 = buffer; + t279$0 = i; + t278$0[$_set](t279$0, (dart.notNull(t278$0[$_get](t279$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t280$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t280$) + 1, t280$)) & 3))) >>> 0); } } [_lengthDone]() { @@ -135713,21 +147840,21 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend if (dart.test(this[_isControlFrame]())) { switch (this[_opcode]) { case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } } this[_prepareForNextFrame](); } else { @@ -135746,15 +147873,15 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } switch (this[_currentMessageType]) { case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } } this[_currentMessageType] = 0; } @@ -135763,35 +147890,35 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend [_controlFrameEnd]() { switch (this[_opcode]) { case 8: - { - this.closeCode = 1005; - let payload = this[_payload].takeBytes(); - if (dart.notNull(payload[$length]) > 0) { - if (payload[$length] === 1) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; - if (this.closeCode === 1005) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (dart.notNull(payload[$length]) > 2) { - this.closeReason = convert.utf8.decode(payload[$sublist](2)); + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.test(payload[$isNotEmpty])) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; } - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); - break; - } + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } } this[_prepareForNextFrame](); } @@ -135810,7 +147937,7 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend } }; (_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); this[_state$1] = 0; this[_fin] = false; this[_compressed] = false; @@ -135822,8 +147949,8 @@ _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extend this[_remainingPayloadBytes] = -1; this[_unmaskingIndex] = 0; this[_currentMessageType] = 0; - this.closeCode = 1005; - this.closeReason = ""; + this[closeCode] = 1005; + this[closeReason] = ""; this[_eventSink$] = null; this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); this[_payload] = _internal.BytesBuilder.new({copy: false}); @@ -135870,8 +147997,9 @@ dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ [_serverSide$]: dart.finalFieldType(core.bool), [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflate$]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); +dart.setStaticFieldSignature(_http._WebSocketProtocolTransformer, () => ['START', 'LEN_FIRST', 'LEN_REST', 'MASK', 'PAYLOAD', 'CLOSED', 'FAILURE', 'FIN', 'RSV1', 'RSV2', 'RSV3', 'OPCODE']); dart.defineLazy(_http._WebSocketProtocolTransformer, { /*_http._WebSocketProtocolTransformer.START*/get START() { return 0; @@ -135910,7 +148038,11 @@ dart.defineLazy(_http._WebSocketProtocolTransformer, { return 15; } }, false); -_http._WebSocketPing = class _WebSocketPing extends core.Object {}; +_http._WebSocketPing = class _WebSocketPing extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPing.new(payload); + } +}; (_http._WebSocketPing.new = function(payload = null) { this.payload = payload; ; @@ -135922,7 +148054,11 @@ dart.setFieldSignature(_http._WebSocketPing, () => ({ __proto__: dart.getFields(_http._WebSocketPing.__proto__), payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) })); -_http._WebSocketPong = class _WebSocketPong extends core.Object {}; +_http._WebSocketPong = class _WebSocketPong extends core.Object { + static ['_#new#tearOff'](payload = null) { + return new _http._WebSocketPong.new(payload); + } +}; (_http._WebSocketPong.new = function(payload = null) { this.payload = payload; ; @@ -135937,22 +148073,26 @@ dart.setFieldSignature(_http._WebSocketPong, () => ({ var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); var _compression$ = dart.privateName(_http, "_compression"); _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + static ['_#new#tearOff'](_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + return new _http._WebSocketTransformerImpl.new(_protocolSelector, _compression); + } bind(stream) { - T.StreamOfHttpRequest().as(stream); - if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + T$1.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 416, 46, "stream"); stream.listen(dart.fn(request => { - if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + if (request == null) dart.nullFailed(I[186], 417, 20, "request"); _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); return this[_controller$0].add(webSocket); - }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); - }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + }, T$1.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T$1.HttpRequestTovoid()), {onDone: dart.fn(() => { this[_controller$0].close(); }, T$.VoidTovoid())}); return this[_controller$0].stream; } static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + if (headerValue == null) dart.nullFailed(I[186], 428, 50, "headerValue"); let tokens = T$.JSArrayOfString().of([]); let start = 0; let index = 0; @@ -135969,32 +148109,32 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. return tokens; } static _upgrade(request, protocolSelector, compression) { - let t302; - if (request == null) dart.nullFailed(I[186], 450, 49, "request"); - if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let t278; + if (request == null) dart.nullFailed(I[186], 445, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 446, 63, "compression"); let response = request.response; if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { - t302 = response; + t278 = response; (() => { - t302.statusCode = 400; - t302.close(); - return t302; + t278.statusCode = 400; + t278.close(); + return t278; })(); - return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); } function upgrade(protocol) { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 101; - t302.headers.add("connection", "Upgrade"); - t302.headers.add("upgrade", "websocket"); - return t302; + t278.statusCode = 101; + t278.headers.add("connection", "Upgrade"); + t278.headers.add("upgrade", "websocket"); + return t278; })(); let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); let sha1 = new _http._SHA1.new(); sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); - let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + let accept = convert.base64Encode(sha1.close()); response.headers.add("Sec-WebSocket-Accept", accept); if (protocol != null) { response.headers.add("Sec-WebSocket-Protocol", protocol); @@ -136002,27 +148142,27 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); response.headers.contentLength = 0; return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 475, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T.SocketTo_WebSocketImpl())); + }, T$1.SocketTo_WebSocketImpl())); } - dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + dart.fn(upgrade, T$1.StringNToFutureOfWebSocket()); let protocols = request.headers._get("Sec-WebSocket-Protocol"); if (protocols != null && protocolSelector != null) { let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); - return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { - if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); - if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T$1.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 487, 26, "protocol"); + if (!dart.test(tokenizedProtocols[$contains](protocol))) { dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); } return protocol; }, T$.StringToString())).catchError(dart.fn(error => { - let t302; - t302 = response; + let t278; + t278 = response; (() => { - t302.statusCode = 500; - t302.close(); - return t302; + t278.statusCode = 500; + t278.close(); + return t278; })(); dart.throw(error); }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); @@ -136031,9 +148171,9 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. } } static _negotiateCompression(request, response, compression) { - if (request == null) dart.nullFailed(I[186], 509, 73, "request"); - if (response == null) dart.nullFailed(I[186], 510, 20, "response"); - if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + if (request == null) dart.nullFailed(I[186], 504, 73, "request"); + if (response == null) dart.nullFailed(I[186], 505, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 505, 49, "compression"); let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); extensionHeader == null ? extensionHeader = "" : null; let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); @@ -136048,7 +148188,7 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. return null; } static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request == null) dart.nullFailed(I[186], 534, 45, "request"); if (request.method !== "GET") { return false; } @@ -136080,8 +148220,8 @@ _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async. } }; (_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); - this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + if (_compression == null) dart.nullFailed(I[186], 414, 58, "_compression"); + this[_controller$0] = T$1.StreamControllerOfWebSocket().new({sync: true}); this[_protocolSelector$] = _protocolSelector; this[_compression$] = _compression; _http._WebSocketTransformerImpl.__proto__.new.call(this); @@ -136094,6 +148234,7 @@ dart.setMethodSignature(_http._WebSocketTransformerImpl, () => ({ __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) })); +dart.setStaticMethodSignature(_http._WebSocketTransformerImpl, () => ['_tokenizeFieldValue', '_upgrade', '_negotiateCompression', '_isUpgradeRequest']); dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), @@ -136104,25 +148245,37 @@ dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + static ['_#new#tearOff'](opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: clientMaxWindowBits, serverMaxWindowBits: serverMaxWindowBits, serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverSide: serverSide}); + } [_ensureDecoder]() { - let t302; - t302 = this.decoder; - return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.decoder; + return t278 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t278; } [_ensureEncoder]() { - let t302; - t302 = this.encoder; - return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + let t278; + t278 = this.encoder; + return t278 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t278; } processIncomingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 591, 46, "msg"); let decoder = this[_ensureDecoder](); let data = T$.JSArrayOfint().of([]); data[$addAll](msg); - data[$addAll](C[488] || CT.C488); + data[$addAll](C[502] || CT.C502); decoder.process(data, 0, data[$length]); let result = _internal.BytesBuilder.new(); - let out = null; while (true) { let out = decoder.processed(); if (out == null) break; @@ -136134,7 +148287,7 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co return result.takeBytes(); } processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); let encoder = this[_ensureEncoder](); let result = T$.JSArrayOfint().of([]); let buffer = null; @@ -136160,7 +148313,7 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co if (dart.notNull(result[$length]) > 4) { result = result[$sublist](0, dart.notNull(result[$length]) - 4); } - if (result[$length] === 0) { + if (dart.test(result[$isEmpty])) { return T$.JSArrayOfint().of([0]); } return result; @@ -136168,15 +148321,15 @@ _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends co }; (_http._WebSocketPerMessageDeflate.new = function(opts) { let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; - if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 577, 13, "clientMaxWindowBits"); let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; - if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 578, 12, "serverMaxWindowBits"); let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; - if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 579, 12, "serverNoContextTakeover"); let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; - if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 580, 12, "clientNoContextTakeover"); let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; - if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + if (serverSide == null) dart.nullFailed(I[186], 581, 12, "serverSide"); this.decoder = null; this.encoder = null; this.clientMaxWindowBits = clientMaxWindowBits; @@ -136210,17 +148363,21 @@ var _deflateHelper = dart.privateName(_http, "_deflateHelper"); var _outCloseCode = dart.privateName(_http, "_outCloseCode"); var _outCloseReason = dart.privateName(_http, "_outCloseReason"); _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + static ['_#new#tearOff'](webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); + return new _http._WebSocketOutgoingTransformer.new(webSocket); + } bind(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + if (stream == null) dart.nullFailed(I[186], 673, 33, "stream"); return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { - if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (eventSink == null) dart.nullFailed(I[186], 675, 31, "eventSink"); if (this[_eventSink$] != null) { dart.throw(new core.StateError.new("WebSocket transformer already used")); } this[_eventSink$] = eventSink; return this; - }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + }, T$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); } add(message) { if (_http._WebSocketPong.is(message)) { @@ -136258,7 +148415,7 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend this.addFrame(opcode, data); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + if (error == null) dart.nullFailed(I[186], 720, 24, "error"); core.ArgumentError.checkNotNull(core.Object, error, "error"); dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); } @@ -136268,26 +148425,26 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let data = null; if (code != null) { data = (() => { - let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); - if (reason != null) t302[$addAll](convert.utf8.encode(reason)); - return t302; + let t278 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t278[$addAll](convert.utf8.encode(reason)); + return t278; })(); } this.addFrame(8, data); dart.nullCheck(this[_eventSink$]).close(); } addFrame(opcode, data) { - if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + if (opcode == null) dart.nullFailed(I[186], 741, 21, "opcode"); _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + if (e == null) dart.nullFailed(I[186], 749, 19, "e"); dart.nullCheck(this[_eventSink$]).add(e); }, T$0.ListOfintTovoid())); } static createFrame(opcode, data, serverSide, compressed) { - let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; - if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); - if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); - if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let t279, t279$, t279$0, t279$1, t280, t279$2, t280$, t279$3, t280$0, t279$4; + if (opcode == null) dart.nullFailed(I[186], 755, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 755, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 755, 58, "compressed"); let mask = !dart.test(serverSide); let dataLength = data == null ? 0 : data[$length]; let headerSize = mask ? 6 : 2; @@ -136299,22 +148456,22 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let header = _native_typed_data.NativeUint8List.new(headerSize); let index = 0; let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; - header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + header[$_set]((t279 = index, index = t279 + 1, t279), hoc); let lengthBytes = 1; if (dart.notNull(dataLength) > 65535) { - header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); lengthBytes = 8; } else if (dart.notNull(dataLength) > 125) { - header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + header[$_set]((t279$0 = index, index = t279$0 + 1, t279$0), 126); lengthBytes = 2; } for (let i = 0; i < lengthBytes; i = i + 1) { - header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + header[$_set]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); } if (mask) { - t303$2 = header; - t304 = 1; - t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + t279$2 = header; + t280 = 1; + t279$2[$_set](t280, (dart.notNull(t279$2[$_get](t280)) | 1 << 7) >>> 0); let maskBytes = _http._CryptoUtils.getRandomBytes(4); header[$setRange](index, index + 4, maskBytes); index = index + 4; @@ -136344,20 +148501,20 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { - t303$3 = blockBuffer; - t304$ = i; - t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + t279$3 = blockBuffer; + t280$ = i; + t279$3[$_set](t280$, t279$3[$_get](t280$)['^'](blockMask)); } } for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { - t303$4 = list; - t304$0 = i; - t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + t279$4 = list; + t280$0 = i; + t279$4[$_set](t280$0, (dart.notNull(t279$4[$_get](t280$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); } data = list; } } - if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (!(index === headerSize)) dart.assertFailed(null, I[186], 834, 12, "index == headerSize"); if (data == null) { return T$0.JSArrayOfListOfint().of([header]); } else { @@ -136366,7 +148523,7 @@ _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extend } }; (_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); this[_eventSink$] = null; this.webSocket = webSocket; this[_deflateHelper] = webSocket[_deflate$]; @@ -136384,12 +148541,13 @@ dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ close: dart.fnType(dart.void, []), addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) })); +dart.setStaticMethodSignature(_http._WebSocketOutgoingTransformer, () => ['createFrame']); dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), webSocket: dart.finalFieldType(_http._WebSocketImpl), [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), - [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + [_deflateHelper]: dart.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); var _issuedPause = dart.privateName(_http, "_issuedPause"); var _closed$ = dart.privateName(_http, "_closed"); @@ -136402,10 +148560,15 @@ var _cancel$ = dart.privateName(_http, "_cancel"); var _done = dart.privateName(_http, "_done"); var _ensureController = dart.privateName(_http, "_ensureController"); _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + static ['_#new#tearOff'](webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); + return new _http._WebSocketConsumer.new(webSocket, socket); + } [_onListen]() { - let t303; - t303 = this[_subscription$0]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); } [_onPause$]() { let subscription = this[_subscription$0]; @@ -136439,8 +148602,8 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { this[_done](); this[_closeCompleter$].complete(this.webSocket); }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - if (error == null) dart.nullFailed(I[186], 904, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + if (error == null) dart.nullFailed(I[186], 898, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 898, 43, "stackTrace"); this[_closed$] = true; this[_cancel$](); if (core.ArgumentError.is(error)) { @@ -136467,7 +148630,7 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 925, 27, "stream"); if (dart.test(this[_closed$])) { stream.listen(null).cancel(); return async.Future.value(this.webSocket); @@ -136486,7 +148649,7 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { close() { this[_ensureController]().close(); return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { - }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); } add(data) { if (dart.test(this[_closed$])) return; @@ -136501,13 +148664,13 @@ _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { } }; (_http._WebSocketConsumer.new = function(webSocket, socket) { - if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); - if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + if (webSocket == null) dart.nullFailed(I[186], 853, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 853, 43, "socket"); this[_controller$0] = null; this[_subscription$0] = null; this[_issuedPause] = false; this[_closed$] = false; - this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_closeCompleter$] = T$1.CompleterOfWebSocket().new(); this[_completer] = null; this.webSocket = webSocket; this.socket = socket; @@ -136538,7 +148701,7 @@ dart.setFieldSignature(_http._WebSocketConsumer, () => ({ [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), [_issuedPause]: dart.fieldType(core.bool), [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.fieldType(async.Completer), + [_closeCompleter$]: dart.finalFieldType(async.Completer), [_completer]: dart.fieldType(dart.nullable(async.Completer)) })); var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); @@ -136567,29 +148730,31 @@ const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stre dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { get [_sink]() { - let t303; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + let t279; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); } - set [_sink](t303) { - if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + set [_sink](_sink$35param) { + if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = t303; + this[___WebSocketImpl__sink] = _sink$35param; } get [_consumer]() { - let t304; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + let t279; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); } - set [_consumer](t304) { - if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + set [_consumer](_consumer$35param) { + if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = t304; + this[___WebSocketImpl__consumer] = _consumer$35param; } static connect(url, protocols, headers, opts) { - if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); - let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; - if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let t279; + if (url == null) dart.nullFailed(I[186], 995, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[500] || CT.C500; + if (compression == null) dart.nullFailed(I[186], 996, 27, "compression"); + let customClient = opts && 'customClient' in opts ? opts.customClient : null; let uri = core.Uri.parse(url); - if (uri.scheme !== "ws" && uri.scheme !== "wss") { + if (!dart.test(uri.isScheme("ws")) && !dart.test(uri.isScheme("wss"))) { dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); } let random = math.Random.new(); @@ -136597,29 +148762,30 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { for (let i = 0; i < 16; i = i + 1) { nonceData[$_set](i, random.nextInt(256)); } - let nonce = _http._CryptoUtils.bytesToBase64(nonceData); - uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); - return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { - let t305; - if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); - if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { - let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + let nonce = convert.base64Encode(nonceData); + let callerStackTrace = core.StackTrace.current; + uri = core._Uri.new({scheme: dart.test(uri.isScheme("wss")) ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return (t279 = customClient, t279 == null ? _http._WebSocketImpl._httpClient : t279).openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t279; + if (request == null) dart.nullFailed(I[186], 1021, 68, "request"); + if (uri.userInfo != null && uri.userInfo[$isNotEmpty]) { + let auth = convert.base64Encode(convert.utf8.encode(uri.userInfo)); request.headers.set("authorization", "Basic " + dart.str(auth)); } if (headers != null) { headers[$forEach](dart.fn((field, value) => { - if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + if (field == null) dart.nullFailed(I[186], 1029, 26, "field"); return request.headers.add(field, core.Object.as(value)); }, T$0.StringAnddynamicTovoid())); } - t305 = request.headers; + t279 = request.headers; (() => { - t305.set("connection", "Upgrade"); - t305.set("upgrade", "websocket"); - t305.set("Sec-WebSocket-Key", nonce); - t305.set("Cache-Control", "no-cache"); - t305.set("Sec-WebSocket-Version", "13"); - return t305; + t279.set("connection", "Upgrade"); + t279.set("upgrade", "websocket"); + t279.set("Sec-WebSocket-Key", nonce); + t279.set("Cache-Control", "no-cache"); + t279.set("Sec-WebSocket-Version", "13"); + return t279; })(); if (protocols != null) { request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); @@ -136628,76 +148794,78 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); } return request.close(); - }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { - if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + }, T$1.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1048, 14, "response"); function error(message) { - if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + if (message == null) dart.nullFailed(I[186], 1049, 38, "message"); response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); socket.destroy(); - }, T.SocketToNull())); - dart.throw(new _http.WebSocketException.new(message)); + }, T$1.SocketToNull())); + return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); } - dart.fn(error, T.StringToNever()); + dart.fn(error, T$1.StringToFutureOfWebSocket()); let connectionHeader = response.headers._get("connection"); if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { - if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + if (value == null) dart.nullFailed(I[186], 1061, 34, "value"); return value[$toLowerCase]() === "upgrade"; }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); } let accept = response.headers.value("Sec-WebSocket-Accept"); if (accept == null) { - error("Response did not contain a 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response did not contain a 'Sec-WebSocket-Accept' header"); } let sha1 = new _http._SHA1.new(); sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); let expectedAccept = sha1.close(); - let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + let receivedAccept = convert.base64Decode(accept); if (expectedAccept[$length] != receivedAccept[$length]) { - error("Response header 'Sec-WebSocket-Accept' is the wrong length"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Response header 'Sec-WebSocket-Accept' is the wrong length"); } for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { - error("Bad response 'Sec-WebSocket-Accept' header"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + return error("Bad response 'Sec-WebSocket-Accept' header"); } } let protocol = response.headers.value("Sec-WebSocket-Protocol"); let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + if (socket == null) dart.nullFailed(I[186], 1089, 55, "socket"); return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T.SocketTo_WebSocketImpl())); - }, T.HttpClientResponseToFutureOfWebSocket())); + }, T$1.SocketTo_WebSocketImpl())); + }, T$1.HttpClientResponseToFutureOfWebSocket())); } static negotiateClientCompression(response, compression) { - let t305; - if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); - if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); - let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let t279; + if (response == null) dart.nullFailed(I[186], 1096, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1096, 55, "compression"); + let extensionHeader = (t279 = response.headers.value("Sec-WebSocket-Extensions"), t279 == null ? "" : t279); let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); function getWindowBits(type) { - let t305; - if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let t279; + if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); let o = hv.parameters[$_get](type); if (o == null) { return 15; } - t305 = core.int.tryParse(o); - return t305 == null ? 15 : t305; + t279 = core.int.tryParse(o); + return t279 == null ? 15 : t279; } dart.fn(getWindowBits, T$0.StringToint()); return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); } return null; } + static ['_#_fromSocket#tearOff'](_socket, protocol, compression, _serverSide = false, deflate = null) { + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); + return new _http._WebSocketImpl._fromSocket(_socket, protocol, compression, _serverSide, deflate); + } listen(onData, opts) { let onError = opts && 'onError' in opts ? opts.onError : null; let onDone = opts && 'onDone' in opts ? opts.onDone : null; @@ -136708,19 +148876,19 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { return this[_pingInterval]; } set pingInterval(interval) { - let t305; + let t279; if (dart.test(this[_writeClosed])) return; - t305 = this[_pingTimer]; - t305 == null ? null : t305.cancel(); + t279 = this[_pingTimer]; + t279 == null ? null : t279.cancel(); this[_pingInterval] = interval; if (interval == null) return; this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { if (dart.test(this[_writeClosed])) return; this[_consumer].add(new _http._WebSocketPing.new()); this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { - let t305; - t305 = this[_closeTimer]; - t305 == null ? null : t305.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); this[_close$0](1001); this[_closeCode] = this[_outCloseCode]; this[_closeReason] = this[_outCloseReason]; @@ -136744,17 +148912,17 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_sink].add(data); } addUtf8Text(bytes) { - if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + if (bytes == null) dart.nullFailed(I[186], 1225, 30, "bytes"); core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); this[_sink].add(new _http._EncodedString.new(bytes)); } addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + if (error == null) dart.nullFailed(I[186], 1231, 24, "error"); this[_sink].addError(error, stackTrace); } addStream(stream) { async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); return this[_sink].addStream(stream); } get done() { @@ -136770,19 +148938,17 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { } if (!dart.test(this[_controller$0].isClosed)) { if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { - this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); - } - if (this[_closeTimer] == null) { - this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { - let t305; - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - t305 = this[_subscription$0]; - t305 == null ? null : t305.cancel(); - this[_controller$0].close(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - }, T$.VoidTovoid())); + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T$1.dynamicToMap())); } + this[_closeTimer] == null ? this[_closeTimer] = async.Timer.new(C[503] || CT.C503, dart.fn(() => { + let t279; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t279 = this[_subscription$0]; + t279 == null ? null : t279.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())) : null; } return this[_sink].close(); } @@ -136808,33 +148974,15 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { get [_serviceTypeName$]() { return "WebSocket"; } - [_toJSON$](ref) { - if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); - let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); - let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); - if (dart.test(ref)) { - return r; - } - try { - r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); - } else - throw e; - } - return r; - } static _isReservedStatusCode(code) { return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); } }; (_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { - let t303; - if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); - if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); - if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + let t279; + if (_socket == null) dart.nullFailed(I[186], 1128, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1128, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1129, 13, "_serverSide"); this[_subscription$0] = null; this[___WebSocketImpl__sink] = null; this[___WebSocketImpl__sink_isSet] = false; @@ -136869,11 +149017,11 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_controller$0].add(data); } }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - let t303; - if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); - if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + if (error == null) dart.nullFailed(I[186], 1146, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1146, 43, "stackTrace"); + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (core.FormatException.is(error)) { this[_close$0](1007); } else { @@ -136883,9 +149031,9 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_closeReason] = this[_outCloseReason]; this[_controller$0].close(); }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - let t303; - t303 = this[_closeTimer]; - t303 == null ? null : t303.cancel(); + let t279; + t279 = this[_closeTimer]; + t279 == null ? null : t279.cancel(); if (this[_readyState] === 1) { this[_readyState] = 2; if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { @@ -136900,16 +149048,16 @@ _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { this[_controller$0].close(); }, T$.VoidTovoid()), cancelOnError: true}); subscription.pause(); - t303 = this[_controller$0]; + t279 = this[_controller$0]; (() => { - t303.onListen = dart.bind(subscription, 'resume'); - t303.onCancel = dart.fn(() => { + t279.onListen = dart.bind(subscription, 'resume'); + t279.onCancel = dart.fn(() => { dart.nullCheck(this[_subscription$0]).cancel(); this[_subscription$0] = null; }, T$.VoidToNull()); - t303.onPause = dart.bind(subscription, 'pause'); - t303.onResume = dart.bind(subscription, 'resume'); - return t303; + t279.onPause = dart.bind(subscription, 'pause'); + t279.onResume = dart.bind(subscription, 'resume'); + return t279; })(); _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); }).prototype = _http._WebSocketImpl.prototype; @@ -136924,9 +149072,9 @@ dart.setMethodSignature(_http._WebSocketImpl, () => ({ addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]) })); +dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); dart.setGetterSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), [_sink]: async.StreamSink, @@ -136946,6 +149094,8 @@ dart.setSetterSignature(_http._WebSocketImpl, () => ({ [_consumer]: _http._WebSocketConsumer, pingInterval: dart.nullable(core.Duration) })); +dart.setStaticGetterSignature(_http._WebSocketImpl, () => ['userAgent']); +dart.setStaticSetterSignature(_http._WebSocketImpl, () => ['userAgent']); dart.setLibraryUri(_http._WebSocketImpl, I[177]); dart.setFieldSignature(_http._WebSocketImpl, () => ({ __proto__: dart.getFields(_http._WebSocketImpl.__proto__), @@ -136969,11 +149119,11 @@ dart.setFieldSignature(_http._WebSocketImpl, () => ({ [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) })); +dart.setStaticFieldSignature(_http._WebSocketImpl, () => ['_webSockets', 'DEFAULT_WINDOW_BITS', 'PER_MESSAGE_DEFLATE', '_httpClient']); dart.defineLazy(_http._WebSocketImpl, { /*_http._WebSocketImpl._webSockets*/get _webSockets() { - return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + return new (T$1.IdentityMapOfint$_WebSocketImpl()).new(); }, - set _webSockets(_) {}, /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { return 15; }, @@ -136990,6 +149140,34 @@ _http._getHttpVersion = function _getHttpVersion() { version = version[$substring](0, index); return "Dart/" + dart.str(version) + " (dart:io)"; }; +_http['Testing$HttpDate|test$_parseCookieDate'] = function Testing$36HttpDate$124test$36_parseCookieDate(date) { + if (date == null) dart.nullFailed(I[187], 45, 48, "date"); + return _http.HttpDate._parseCookieDate(date); +}; +_http['Testing$_HttpHeaders|test$_build'] = function Testing$36_HttpHeaders$124test$36_build($this, builder) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return $this[_build](builder); +}; +_http['Testing$_HttpHeaders|get#test$_build'] = function Testing$36_HttpHeaders$124get$35test$36_build($this) { + if ($this == null) dart.nullFailed(I[187], 50, 8, "#this"); + return dart.fn(builder => { + if (builder == null) dart.nullFailed(I[187], 50, 33, "builder"); + return _http['Testing$_HttpHeaders|test$_build']($this, builder); + }, T$1.BytesBuilderTovoid()); +}; +_http['Testing$_HttpHeaders|test$_parseCookies'] = function Testing$36_HttpHeaders$124test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return $this[_parseCookies](); +}; +_http['Testing$_HttpHeaders|get#test$_parseCookies'] = function Testing$36_HttpHeaders$124get$35test$36_parseCookies($this) { + if ($this == null) dart.nullFailed(I[187], 51, 16, "#this"); + return dart.fn(() => _http['Testing$_HttpHeaders|test$_parseCookies']($this), T$1.VoidToListOfCookie()); +}; +_http['Testing$_WebSocketProtocolTransformer|get#test$_state'] = function Testing$36_WebSocketProtocolTransformer$124get$35test$36_state($this) { + if ($this == null) dart.nullFailed(I[187], 56, 11, "#this"); + return $this[_state$1]; +}; dart.defineLazy(_http, { /*_http._MASK_8*/get _MASK_8() { return 255; @@ -137003,10 +149181,23 @@ dart.defineLazy(_http, { /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { return 4; }, + /*_http._httpConnectionHook*/get _httpConnectionHook() { + return dart.fn(_ => { + if (_ == null) dart.nullFailed(I[188], 21, 43, "_"); + }, T$1.UriTovoid()); + }, + set _httpConnectionHook(value) { + if (value == null) dart.nullFailed(I[188], 21, 20, "_httpConnectionHook"); + }, + /*_http._digitsValidator*/get _digitsValidator() { + return core.RegExp.new("^\\d+$"); + }, /*_http._nextServiceId*/get _nextServiceId() { return 1; }, - set _nextServiceId(_) {}, + set _nextServiceId(value) { + if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); + }, /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { return 8192; }, @@ -137017,7 +149208,7 @@ dart.defineLazy(_http, { return new core.Object.new(); }, /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[208] || CT.C208; + return C[217] || CT.C217; }, /*_http._webSocketGUID*/get _webSocketGUID() { return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; @@ -137038,6 +149229,7 @@ dart.defineLazy(_http, { dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); dart.trackLibraries("dart_sdk", { "dart:_runtime": dart, + "dart:_dart2js_runtime_metrics": _dart2js_runtime_metrics, "dart:_debugger": _debugger, "dart:_foreign_helper": _foreign_helper, "dart:_interceptors": _interceptors, @@ -137063,26 +149255,25 @@ dart.trackLibraries("dart_sdk", { "dart:svg": svg$, "dart:web_audio": web_audio, "dart:web_gl": web_gl, - "dart:web_sql": web_sql, "dart:core": core, "dart:_http": _http }, { "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], "dart:_debugger": ["profile.dart"], "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], - "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "patch.dart", "print.dart", "sort.dart", "symbol.dart"], "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], - "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], "dart:isolate": ["capability.dart"], "dart:math": ["point.dart", "random.dart", "rectangle.dart"], "dart:typed_data": ["unmodifiable_typed_data.dart"], "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], - "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], - "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "enum.dart", "errors.dart", "exceptions.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "record.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart", "weak.dart"], + "dart:_http": ["crypto.dart", "embedder_config.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "http_testing.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] }, null); //# sourceMappingURL=dart_sdk.js.map diff --git a/dev/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js b/dev/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js index 72c30d427..272600fe9 100644 --- a/dev/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js +++ b/dev/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js @@ -1,28 +1,24 @@ (function dartProgram(){function copyProperties(a,b){var s=Object.keys(a) for(var r=0;r=0)return true if(typeof version=="function"&&version.length==0){var q=version() if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() -function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return -for(var s=0;sc)H.k(P.y(b,0,c,"start",null))}return new H.aG(a,b,c,d.h("aG<0>"))}, -eU:function(a,b,c,d){if(t.O.b(a))return new H.bj(a,b,c.h("@<0>").S(d).h("bj<1,2>")) -return new H.X(a,b,c.h("@<0>").S(d).h("X<1,2>"))}, -j8:function(a,b,c){P.aX(b,"takeCount") -if(t.O.b(a))return new H.bk(a,b,c.h("bk<0>")) -return new H.aI(a,b,c.h("aI<0>"))}, -br:function(){return new P.aF("No element")}, -iR:function(){return new P.aF("Too few elements")}, -bv:function bv(a){this.a=a}, -cC:function cC(a){this.a=a}, -aQ:function aQ(a){this.a=a}, +cM(a,b){a=a+b&536870911 +a=a+((a&524287)<<10)&536870911 +return a^a>>>6}, +fN(a){a=a+((a&67108863)<<3)&536870911 +a^=a>>>11 +return a+((a&16383)<<15)&536870911}, +fM(a,b,c,d){A.aS(b,"start") +if(c!=null){A.aS(c,"end") +if(b>c)A.C(A.x(b,0,c,"start",null))}return new A.aC(a,b,c,d.i("aC<0>"))}, +eL(a,b,c,d){if(t.V.b(a))return new A.bc(a,b,c.i("@<0>").S(d).i("bc<1,2>")) +return new A.T(a,b,c.i("@<0>").S(d).i("T<1,2>"))}, +j7(a,b,c){var s="takeCount" +A.eC(b,s,t.S) +A.aS(b,s) +if(t.V.b(a))return new A.bd(a,b,c.i("bd<0>")) +return new A.aE(a,b,c.i("aE<0>"))}, +ch(){return new A.aB("No element")}, +iO(){return new A.aB("Too few elements")}, +cq:function cq(a){this.a=a}, +aN:function aN(a){this.a=a}, +dG:function dG(){}, n:function n(){}, -E:function E(){}, -aG:function aG(a,b,c,d){var _=this +A:function A(){}, +aC:function aC(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -ad:function ad(a,b,c){var _=this +a1:function a1(a,b,c){var _=this _.a=a _.b=b _.c=0 _.d=null _.$ti=c}, -X:function X(a,b,c){this.a=a +T:function T(a,b,c){this.a=a this.b=b this.$ti=c}, -bj:function bj(a,b,c){this.a=a +bc:function bc(a,b,c){this.a=a this.b=b this.$ti=c}, -aC:function aC(a,b,c){var _=this +ay:function ay(a,b,c){var _=this _.a=null _.b=a _.c=b _.$ti=c}, -q:function q(a,b,c){this.a=a +o:function o(a,b,c){this.a=a this.b=b this.$ti=c}, -O:function O(a,b,c){this.a=a +U:function U(a,b,c){this.a=a this.b=b this.$ti=c}, -aL:function aL(a,b,c){this.a=a +aH:function aH(a,b,c){this.a=a this.b=b this.$ti=c}, -bn:function bn(a,b,c){this.a=a +bg:function bg(a,b,c){this.a=a this.b=b this.$ti=c}, -bo:function bo(a,b,c,d){var _=this +bh:function bh(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=null _.$ti=d}, -aI:function aI(a,b,c){this.a=a +aE:function aE(a,b,c){this.a=a this.b=b this.$ti=c}, -bk:function bk(a,b,c){this.a=a +bd:function bd(a,b,c){this.a=a this.b=b this.$ti=c}, -bJ:function bJ(a,b,c){this.a=a +bF:function bF(a,b,c){this.a=a this.b=b this.$ti=c}, -bE:function bE(a,b,c){this.a=a +bz:function bz(a,b,c){this.a=a this.b=b this.$ti=c}, -bF:function bF(a,b,c){var _=this +bA:function bA(a,b,c){var _=this _.a=a _.b=b _.c=!1 _.$ti=c}, -bl:function bl(a){this.$ti=a}, -bN:function bN(a,b){this.a=a +be:function be(a){this.$ti=a}, +bJ:function bJ(a,b){this.a=a this.$ti=b}, -bO:function bO(a,b){this.a=a +bK:function bK(a,b){this.a=a this.$ti=b}, -az:function az(){}, -aK:function aK(){}, -b3:function b3(){}, -b0:function b0(a){this.a=a}, -hQ:function(a){var s,r=H.hP(a) -if(r!=null)return r -s="minified:"+a -return s}, -kn:function(a,b){var s +au:function au(){}, +aG:function aG(){}, +aW:function aW(){}, +aT:function aT(a){this.a=a}, +hM(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +kC(a,b){var s if(b!=null){s=b.x if(s!=null)return s}return t.da.b(a)}, -d:function(a){var s +h(a){var s if(typeof a=="string")return a if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" else if(!1===a)return"false" else if(a==null)return"null" -s=J.aw(a) -if(typeof s!="string")throw H.a(H.J(a)) +s=J.dd(a) return s}, -bD:function(a){var s=a.$identityHash +cE(a){var s,r=$.fC +if(r==null)r=$.fC=Symbol("identityHashCode") +s=a[r] if(s==null){s=Math.random()*0x3fffffff|0 -a.$identityHash=s}return s}, -fK:function(a,b){var s,r,q,p,o,n,m=null -if(typeof a!="string")H.k(H.J(a)) -s=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) -if(s==null)return m -if(3>=s.length)return H.b(s,3) -r=s[3] -if(b==null){if(r!=null)return parseInt(a,10) -if(s[2]!=null)return parseInt(a,16) -return m}if(b<2||b>36)throw H.a(P.y(b,2,36,"radix",m)) -if(b===10&&r!=null)return parseInt(a,10) -if(b<10||r==null){q=b<=10?47+b:86+b -p=s[1] -for(o=p.length,n=0;nq)return m}return parseInt(a,b)}, -dJ:function(a){return H.iY(a)}, -iY:function(a){var s,r,q,p -if(a instanceof P.t)return H.P(H.a1(a),null) -if(J.au(a)===C.Q||t.cC.b(a)){s=C.t(a) -r=s!=="Object"&&s!=="" -if(r)return s +a[r]=s}return s}, +fD(a,b){var s,r,q,p,o,n=null,m=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(m==null)return n +if(3>=m.length)return A.b(m,3) +s=m[3] +if(b==null){if(s!=null)return parseInt(a,10) +if(m[2]!=null)return parseInt(a,16) +return n}if(b<2||b>36)throw A.a(A.x(b,2,36,"radix",n)) +if(b===10&&s!=null)return parseInt(a,10) +if(b<10||s==null){r=b<=10?47+b:86+b +q=m[1] +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dE(a){return A.iY(a)}, +iY(a){var s,r,q,p +if(a instanceof A.r)return A.H(A.a6(a),null) +s=J.ag(a) +if(s===B.R||s===B.T||t.cC.b(a)){r=B.u(a) +if(r!=="Object"&&r!=="")return r q=a.constructor if(typeof q=="function"){p=q.name -if(typeof p=="string")r=p!=="Object"&&p!=="" -else r=!1 -if(r)return p}}return H.P(H.a1(a),null)}, -j_:function(){if(!!self.location)return self.location.href +if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.H(A.a6(a),null)}, +j_(){if(!!self.location)return self.location.href return null}, -fJ:function(a){var s,r,q,p,o=a.length +fB(a){var s,r,q,p,o=a.length if(o<=500)return String.fromCharCode.apply(null,a) for(s="",r=0;r65535)return H.j0(a)}return H.fJ(a)}, -j1:function(a,b,c){var s,r,q,p +if(!A.ek(q))throw A.a(A.bZ(q)) +if(q<0)throw A.a(A.bZ(q)) +if(q>65535)return A.j0(a)}return A.fB(a)}, +j1(a,b,c){var s,r,q,p if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) for(s=b,r="";s>>0,s&1023|56320)}}throw H.a(P.y(a,0,1114111,null,null))}, -ar:function(a,b,c){var s,r,q={} +return String.fromCharCode((B.c.a1(s,10)|55296)>>>0,s&1023|56320)}}throw A.a(A.x(a,0,1114111,null,null))}, +ao(a,b,c){var s,r,q={} q.a=0 s=[] r=[] q.a=b.length -C.b.aP(s,b) +B.b.aP(s,b) q.b="" -if(c!=null&&c.a!==0)c.T(0,new H.dI(q,r,s)) -""+q.a -return J.iy(a,new H.cj(C.Z,0,s,r,0))}, -iZ:function(a,b,c){var s,r,q,p -if(b instanceof Array)s=c==null||c.a===0 +if(c!=null&&c.a!==0)c.T(0,new A.dD(q,r,s)) +return J.iu(a,new A.cj(B.a_,0,s,r,0))}, +iZ(a,b,c){var s,r,q +if(Array.isArray(b))s=c==null||c.a===0 else s=!1 -if(s){r=b -q=r.length -if(q===0){if(!!a.$0)return a.$0()}else if(q===1){if(!!a.$1)return a.$1(r[0])}else if(q===2){if(!!a.$2)return a.$2(r[0],r[1])}else if(q===3){if(!!a.$3)return a.$3(r[0],r[1],r[2])}else if(q===4){if(!!a.$4)return a.$4(r[0],r[1],r[2],r[3])}else if(q===5)if(!!a.$5)return a.$5(r[0],r[1],r[2],r[3],r[4]) -p=a[""+"$"+q] -if(p!=null)return p.apply(a,r)}return H.iX(a,b,c)}, -iX:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g -if(b!=null)s=b instanceof Array?b:P.cq(b,!0,t.z) -else s=[] -r=s.length -q=a.$R -if(rq+n.length)return H.ar(a,s,null) -C.b.aP(s,n.slice(r-q)) -return l.apply(a,s)}else{if(r>q)return H.ar(a,s,c) -k=Object.keys(n) -if(c==null)for(o=k.length,j=0;j=s)return P.dy(b,a,r,null,s) -return P.aW(b,r)}, -kf:function(a,b,c){if(a>c)return P.y(a,0,c,"start",null) -if(b!=null)if(bc)return P.y(b,a,c,"end",null) -return new P.a2(!0,b,"end",null)}, -J:function(a){return new P.a2(!0,a,null,null)}, -hC:function(a){if(typeof a!="number")throw H.a(H.J(a)) -return a}, -a:function(a){var s,r -if(a==null)a=new P.cx() +if(s){r=b.length +if(r===0){if(!!a.$0)return a.$0()}else if(r===1){if(!!a.$1)return a.$1(b[0])}else if(r===2){if(!!a.$2)return a.$2(b[0],b[1])}else if(r===3){if(!!a.$3)return a.$3(b[0],b[1],b[2])}else if(r===4){if(!!a.$4)return a.$4(b[0],b[1],b[2],b[3])}else if(r===5)if(!!a.$5)return a.$5(b[0],b[1],b[2],b[3],b[4]) +q=a[""+"$"+r] +if(q!=null)return q.apply(a,b)}return A.iX(a,b,c)}, +iX(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g=Array.isArray(b)?b:A.bq(b,!0,t.z),f=g.length,e=a.$R +if(fn)return A.ao(a,g,null) +if(fe)return A.ao(a,g,c) +if(g===b)g=A.bq(g,!0,t.z) +l=Object.keys(q) +if(c==null)for(r=l.length,k=0;k=s)return A.eF(b,s,a,r) +return A.dF(b,r)}, +kr(a,b,c){if(a>c)return A.x(a,0,c,"start",null) +if(b!=null)if(bc)return A.x(b,a,c,"end",null) +return new A.a0(!0,b,"end",null)}, +bZ(a){return new A.a0(!0,a,null,null)}, +a(a){var s,r +if(a==null)a=new A.cy() s=new Error() s.dartException=a -r=H.kF +r=A.kU if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) s.name=""}else s.toString=r return s}, -kF:function(){return J.aw(this.dartException)}, -k:function(a){throw H.a(a)}, -c2:function(a){throw H.a(P.a9(a))}, -ag:function(a){var s,r,q,p,o,n -a=H.hO(a.replace(String({}),"$receiver$")) +kU(){return J.dd(this.dartException)}, +C(a){throw A.a(a)}, +c2(a){throw A.a(A.a7(a))}, +ac(a){var s,r,q,p,o,n +a=A.hL(a.replace(String({}),"$receiver$")) s=a.match(/\\\$[a-zA-Z]+\\\$/g) -if(s==null)s=H.h([],t.s) +if(s==null)s=A.f([],t.s) r=s.indexOf("\\$arguments\\$") q=s.indexOf("\\$argumentsExpr\\$") p=s.indexOf("\\$expr\\$") o=s.indexOf("\\$method\\$") n=s.indexOf("\\$receiver\\$") -return new H.e3(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, -e4:function(a){return function($expr$){var $argumentsExpr$="$arguments$" +return new A.dW(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +dX(a){return function($expr$){var $argumentsExpr$="$arguments$" try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, -fU:function(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, -eR:function(a,b){var s=b==null,r=s?null:b.method -return new H.cl(a,r,s?null:b.receiver)}, -av:function(a){if(a==null)return new H.cy(a) +fQ(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +eJ(a,b){var s=b==null,r=s?null:b.method +return new A.cn(a,r,s?null:b.receiver)}, +c3(a){if(a==null)return new A.cz(a) if(typeof a!=="object")return a -if("dartException" in a)return H.aO(a,a.dartException) -return H.kb(a)}, -aO:function(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +if("dartException" in a)return A.aK(a,a.dartException) +return A.kn(a)}, +aK(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a return b}, -kb:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +kn(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null if(!("message" in a))return a s=a.message if("number" in a&&typeof a.number=="number"){r=a.number q=r&65535 -if((C.c.a1(r,16)&8191)===10)switch(q){case 438:return H.aO(a,H.eR(H.d(s)+" (Error "+q+")",e)) -case 445:case 5007:p=H.d(s)+" (Error "+q+")" -return H.aO(a,new H.bB(p,e))}}if(a instanceof TypeError){o=$.hW() -n=$.hX() -m=$.hY() -l=$.hZ() -k=$.i1() -j=$.i2() -i=$.i0() -$.i_() -h=$.i4() -g=$.i3() +if((B.c.a1(r,16)&8191)===10)switch(q){case 438:return A.aK(a,A.eJ(A.h(s)+" (Error "+q+")",e)) +case 445:case 5007:p=A.h(s) +return A.aK(a,new A.bv(p+" (Error "+q+")",e))}}if(a instanceof TypeError){o=$.hQ() +n=$.hR() +m=$.hS() +l=$.hT() +k=$.hW() +j=$.hX() +i=$.hV() +$.hU() +h=$.hZ() +g=$.hY() f=o.V(s) -if(f!=null)return H.aO(a,H.eR(H.j(s),f)) +if(f!=null)return A.aK(a,A.eJ(A.j(s),f)) else{f=n.V(s) if(f!=null){f.method="call" -return H.aO(a,H.eR(H.j(s),f))}else{f=m.V(s) +return A.aK(a,A.eJ(A.j(s),f))}else{f=m.V(s) if(f==null){f=l.V(s) if(f==null){f=k.V(s) if(f==null){f=j.V(s) @@ -347,38 +337,42 @@ if(f==null){f=l.V(s) if(f==null){f=h.V(s) if(f==null){f=g.V(s) p=f!=null}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0 -if(p){H.j(s) -return H.aO(a,new H.bB(s,f==null?e:f.method))}}}return H.aO(a,new H.cO(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new P.bH() +if(p){A.j(s) +return A.aK(a,new A.bv(s,f==null?e:f.method))}}}return A.aK(a,new A.cQ(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.bD() s=function(b){try{return String(b)}catch(d){}return null}(a) -return H.aO(a,new P.a2(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new P.bH() +return A.aK(a,new A.a0(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new A.bD() return a}, -iL:function(a,b,c,d,e,f,g){var s,r,q,p,o,n,m,l=b[0],k=l.$callName,j=e?Object.create(new H.cJ().constructor.prototype):Object.create(new H.aP(null,null,null,"").constructor.prototype) -j.$initialize=j.constructor -if(e)s=function static_tear_off(){this.$initialize()} -else{r=$.a8 -if(typeof r!=="number")return r.L() -$.a8=r+1 -r=new Function("a,b,c,d"+r,"this.$initialize(a,b,c,d"+r+")") -s=r}j.constructor=s -s.prototype=j -if(!e){q=H.fy(a,l,f) -q.$reflectionInfo=d}else{j.$static_name=g -q=l}j.$S=H.iH(d,e,f) -j[k]=q -for(p=q,o=1;o=27 -if(o)return H.iI(r,!p,s,b) -if(r===0){p=$.a8 -if(typeof p!=="number")return p.L() -$.a8=p+1 -n="self"+p -p="return function(){var "+n+" = this." -o=$.bf -return new Function(p+(o==null?$.bf=H.de("self"):o)+";return "+n+"."+H.d(s)+"();}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r).join(",") -p=$.a8 -if(typeof p!=="number")return p.L() -$.a8=p+1 -m+=p -p="return function("+m+"){return this." -o=$.bf -return new Function(p+(o==null?$.bf=H.de("self"):o)+"."+H.d(s)+"("+m+");}")()}, -iJ:function(a,b,c,d){var s=H.fx,r=H.iF -switch(b?-1:a){case 0:throw H.a(new H.cE("Intercepted function with no arguments.")) -case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,s,r) -case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,s,r) -case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,s,r) -case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,s,r) -case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,s,r) -case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,s,r) -default:return function(e,f,g,h){return function(){h=[g(this)] -Array.prototype.push.apply(h,arguments) -return e.apply(f(this),h)}}(d,s,r)}}, -iK:function(a,b){var s,r,q,p,o,n,m,l=$.bf -if(l==null)l=$.bf=H.de("self") -s=$.fw -if(s==null)s=$.fw=H.de("receiver") -r=b.$stubName -q=b.length -p=a[r] -o=b==null?p==null:b===p -n=!o||q>=28 -if(n)return H.iJ(q,!o,r,b) -if(q===1){o="return function(){return this."+l+"."+H.d(r)+"(this."+s+");" -n=$.a8 -if(typeof n!=="number")return n.L() -$.a8=n+1 -return new Function(o+n+"}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,q-1).join(",") -o="return function("+m+"){return this."+l+"."+H.d(r)+"(this."+s+", "+m+");" -n=$.a8 -if(typeof n!=="number")return n.L() -$.a8=n+1 -return new Function(o+n+"}")()}, -ff:function(a,b,c,d,e,f,g){return H.iL(a,b,c,d,!!e,!!f,g)}, -iD:function(a,b){return H.d8(v.typeUniverse,H.a1(a.a),b)}, -iE:function(a,b){return H.d8(v.typeUniverse,H.a1(a.c),b)}, -fx:function(a){return a.a}, -iF:function(a){return a.c}, -de:function(a){var s,r,q,p=new H.aP("self","target","receiver","name"),o=J.eO(Object.getOwnPropertyNames(p),t.X) +fq(a,b,c,d){var s,r +if(c)return A.iC(a,b,d) +s=b.length +r=A.iA(s,d,a,b) +return r}, +iB(a,b,c,d){var s=A.fp,r=A.ix +switch(b?-1:a){case 0:throw A.a(new A.cF("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,r,s) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,r,s) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,r,s) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,r,s) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,r,s) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,r,s) +default:return function(e,f,g){return function(){var q=[g(this)] +Array.prototype.push.apply(q,arguments) +return e.apply(f(this),q)}}(d,r,s)}}, +iC(a,b,c){var s,r +if($.fn==null)$.fn=A.fm("interceptor") +if($.fo==null)$.fo=A.fm("receiver") +s=b.length +r=A.iB(s,c,a,b) +return r}, +f3(a){return A.iD(a)}, +iw(a,b){return A.e6(v.typeUniverse,A.a6(a.a),b)}, +fp(a){return a.a}, +ix(a){return a.b}, +fm(a){var s,r,q,p=new A.aM("receiver","interceptor"),o=J.eG(Object.getOwnPropertyNames(p),t.X) for(s=o.length,r=0;r=0 -else if(b instanceof H.an){s=C.a.A(a,c) -r=b.b -return r.test(s)}else{s=J.fr(b,C.a.A(a,c)) -return!s.gcu(s)}}, -fh:function(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +else if(b instanceof A.aj){s=B.a.D(a,c) +return b.b.test(s)}else{s=J.ez(b,B.a.D(a,c)) +return!s.gcr(s)}}, +f6(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") return a}, -kB:function(a,b,c,d){var s=b.bi(a,d) +kR(a,b,c,d){var s=b.bh(a,d) if(s==null)return a -return H.fk(a,s.b.index,s.gP(),c)}, -hO:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return A.fc(a,s.b.index,s.gN(),c)}, +hL(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") return a}, -a_:function(a,b,c){var s -if(typeof b=="string")return H.kA(a,b,c) -if(b instanceof H.an){s=b.gbo() +X(a,b,c){var s +if(typeof b=="string")return A.kQ(a,b,c) +if(b instanceof A.aj){s=b.gbm() s.lastIndex=0 -return a.replace(s,H.fh(c))}if(b==null)H.k(H.J(b)) -throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, -kA:function(a,b,c){var s,r,q,p +return a.replace(s,A.f6(c))}return A.kP(a,b,c)}, +kP(a,b,c){var s,r,q,p +for(s=J.ez(b,a),s=s.gB(s),r=0,q="";s.n();){p=s.gp() +q=q+a.substring(r,p.gJ())+c +r=p.gN()}s=q+a.substring(r) +return s.charCodeAt(0)==0?s:s}, +kQ(a,b,c){var s,r,q,p if(b===""){if(a==="")return c s=a.length -for(r=c,q=0;q=0)return a.split(b).join(c) -return a.replace(new RegExp(H.hO(b),'g'),H.fh(c))}, -hx:function(a){return a}, -kz:function(a,b,c,d){var s,r,q,p,o,n -for(s=b.ar(0,a),s=new H.bP(s.a,s.b,s.c),r=0,q="";s.n();){p=s.d -o=p.b -n=o.index -q=q+H.d(H.hx(C.a.j(a,r,n)))+H.d(c.$1(p)) -r=n+o[0].length}s=q+H.d(H.hx(C.a.A(a,r))) +return a.replace(new RegExp(A.hL(b),"g"),A.f6(c))}, +hv(a){return a}, +kO(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.aq(0,a),s=new A.bL(s.a,s.b,s.c),r=t.e,q=0,p="";s.n();){o=s.d +if(o==null)o=r.a(o) +n=o.b +m=n.index +p=p+A.h(A.hv(B.a.j(a,q,m)))+A.h(c.$1(o)) +q=m+n[0].length}s=p+A.h(A.hv(B.a.D(a,q))) return s.charCodeAt(0)==0?s:s}, -kC:function(a,b,c,d){var s,r,q,p +kS(a,b,c,d){var s,r,q,p if(typeof b=="string"){s=a.indexOf(b,d) if(s<0)return a -return H.fk(a,s,s+b.length,c)}if(b instanceof H.an)return d===0?a.replace(b.b,H.fh(c)):H.kB(a,b,c,d) -if(b==null)H.k(H.J(b)) -r=J.it(b,a,d) -q=t.D.a(r.gB(r)) +return A.fc(a,s,s+b.length,c)}if(b instanceof A.aj)return d===0?a.replace(b.b,A.f6(c)):A.kR(a,b,c,d) +r=J.ip(b,a,d) +q=r.gB(r) if(!q.n())return a -p=q.gt() -return C.a.W(a,p.gI(),p.gP(),c)}, -fk:function(a,b,c,d){var s=a.substring(0,b),r=a.substring(c) -return s+d+r}, -bh:function bh(a,b){this.a=a +p=q.gp() +return B.a.W(a,p.gJ(),p.gN(),c)}, +fc(a,b,c,d){return a.substring(0,b)+d+a.substring(c)}, +ba:function ba(a,b){this.a=a this.$ti=b}, -bg:function bg(){}, -bi:function bi(a,b,c,d){var _=this +b9:function b9(){}, +bb:function bb(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -ch:function ch(){}, -bp:function bp(a,b){this.a=a +bj:function bj(){}, +bk:function bk(a,b){this.a=a this.$ti=b}, cj:function cj(a,b,c,d,e){var _=this _.a=a @@ -587,737 +551,786 @@ _.c=b _.d=c _.e=d _.f=e}, -dI:function dI(a,b,c){this.a=a +dD:function dD(a,b,c){this.a=a this.b=b this.c=c}, -e3:function e3(a,b,c,d,e,f){var _=this +dW:function dW(a,b,c,d,e,f){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e _.f=f}, -bB:function bB(a,b){this.a=a +bv:function bv(a,b){this.a=a this.b=b}, -cl:function cl(a,b,c){this.a=a +cn:function cn(a,b,c){this.a=a this.b=b this.c=c}, -cO:function cO(a){this.a=a}, -cy:function cy(a){this.a=a}, -V:function V(){}, -cL:function cL(){}, -cJ:function cJ(){}, -aP:function aP(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -cE:function cE(a){this.a=a}, -cX:function cX(a){this.a=a}, -ed:function ed(){}, -aB:function aB(a){var _=this +cQ:function cQ(a){this.a=a}, +cz:function cz(a){this.a=a}, +I:function I(){}, +ca:function ca(){}, +cb:function cb(){}, +cN:function cN(){}, +cK:function cK(){}, +aM:function aM(a,b){this.a=a +this.b=b}, +cF:function cF(a){this.a=a}, +cZ:function cZ(a){this.a=a}, +e5:function e5(){}, +ax:function ax(a){var _=this _.a=0 _.f=_.e=_.d=_.c=_.b=null _.r=0 _.$ti=a}, -dA:function dA(a){this.a=a}, -dC:function dC(a,b){this.a=a +dw:function dw(a){this.a=a}, +dx:function dx(a,b){this.a=a this.b=b this.c=null}, -ac:function ac(a,b){this.a=a +aa:function aa(a,b){this.a=a this.$ti=b}, -bw:function bw(a,b,c){var _=this +bo:function bo(a,b,c){var _=this _.a=a _.b=b _.d=_.c=null _.$ti=c}, -ez:function ez(a){this.a=a}, -eA:function eA(a){this.a=a}, -eB:function eB(a){this.a=a}, -an:function an(a,b){var _=this +eq:function eq(a){this.a=a}, +er:function er(a){this.a=a}, +es:function es(a){this.a=a}, +aj:function aj(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, -b4:function b4(a){this.b=a}, -cW:function cW(a,b,c){this.a=a +aY:function aY(a){this.b=a}, +cY:function cY(a,b,c){this.a=a this.b=b this.c=c}, -bP:function bP(a,b,c){var _=this +bL:function bL(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -bI:function bI(a,b){this.a=a +bE:function bE(a,b){this.a=a this.c=b}, -d3:function d3(a,b,c){this.a=a +d5:function d5(a,b,c){this.a=a this.b=b this.c=c}, -d4:function d4(a,b,c){var _=this +d6:function d6(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -hq:function(a){return a}, -ek:function(a,b,c){if(a>>>0!==a||a>=c)throw H.a(H.aj(b,a))}, -jP:function(a,b,c){var s +hm(a){return a}, +ed(a,b,c){if(a>>>0!==a||a>=c)throw A.a(A.aq(b,a))}, +jX(a,b,c){var s if(!(a>>>0!==a))if(b==null)s=a>c else s=b>>>0!==b||a>b||b>c else s=!0 -if(s)throw H.a(H.kf(a,b,c)) +if(s)throw A.a(A.kr(a,b,c)) if(b==null)return c return b}, -cu:function cu(){}, -aV:function aV(){}, -bz:function bz(){}, -ct:function ct(){}, +cw:function cw(){}, +aR:function aR(){}, +bs:function bs(){}, cv:function cv(){}, -aD:function aD(){}, -bR:function bR(){}, -bS:function bS(){}, -j3:function(a,b){var s=b.c -return s==null?b.c=H.f3(a,b.z,!0):s}, -fN:function(a,b){var s=b.c -return s==null?b.c=H.bU(a,"fB",[b.z]):s}, -fO:function(a){var s=a.y -if(s===6||s===7||s===8)return H.fO(a.z) -return s===11||s===12}, -j2:function(a){return a.cy}, -aM:function(a){return H.ee(v.typeUniverse,a,!1)}, -km:function(a,b){var s,r,q,p,o +cx:function cx(){}, +az:function az(){}, +bN:function bN(){}, +bO:function bO(){}, +fH(a,b){var s=b.c +return s==null?b.c=A.eU(a,b.y,!0):s}, +fG(a,b){var s=b.c +return s==null?b.c=A.bS(a,"fs",[b.y]):s}, +fI(a){var s=a.x +if(s===6||s===7||s===8)return A.fI(a.y) +return s===12||s===13}, +j2(a){return a.at}, +c_(a){return A.d9(v.typeUniverse,a,!1)}, +kB(a,b){var s,r,q,p,o if(a==null)return null -s=b.Q -r=a.cx -if(r==null)r=a.cx=new Map() -q=b.cy +s=b.z +r=a.as +if(r==null)r=a.as=new Map() +q=b.at p=r.get(q) if(p!=null)return p -o=H.ai(v.typeUniverse,a.z,s,0) +o=A.af(v.typeUniverse,a.y,s,0) r.set(q,o) return o}, -ai:function(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.y +af(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.x switch(c){case 5:case 1:case 2:case 3:case 4:return b -case 6:s=b.z -r=H.ai(a,s,a0,a1) +case 6:s=b.y +r=A.af(a,s,a0,a1) if(r===s)return b -return H.h7(a,r,!0) -case 7:s=b.z -r=H.ai(a,s,a0,a1) +return A.h3(a,r,!0) +case 7:s=b.y +r=A.af(a,s,a0,a1) if(r===s)return b -return H.f3(a,r,!0) -case 8:s=b.z -r=H.ai(a,s,a0,a1) +return A.eU(a,r,!0) +case 8:s=b.y +r=A.af(a,s,a0,a1) if(r===s)return b -return H.h6(a,r,!0) -case 9:q=b.Q -p=H.c0(a,q,a0,a1) +return A.h2(a,r,!0) +case 9:q=b.z +p=A.bY(a,q,a0,a1) if(p===q)return b -return H.bU(a,b.z,p) -case 10:o=b.z -n=H.ai(a,o,a0,a1) -m=b.Q -l=H.c0(a,m,a0,a1) +return A.bS(a,b.y,p) +case 10:o=b.y +n=A.af(a,o,a0,a1) +m=b.z +l=A.bY(a,m,a0,a1) if(n===o&&l===m)return b -return H.f1(a,n,l) -case 11:k=b.z -j=H.ai(a,k,a0,a1) -i=b.Q -h=H.k7(a,i,a0,a1) +return A.eS(a,n,l) +case 12:k=b.y +j=A.af(a,k,a0,a1) +i=b.z +h=A.kj(a,i,a0,a1) if(j===k&&h===i)return b -return H.h5(a,j,h) -case 12:g=b.Q +return A.h1(a,j,h) +case 13:g=b.z a1+=g.length -f=H.c0(a,g,a0,a1) -o=b.z -n=H.ai(a,o,a0,a1) +f=A.bY(a,g,a0,a1) +o=b.y +n=A.af(a,o,a0,a1) if(f===g&&n===o)return b -return H.f2(a,n,f,!0) -case 13:e=b.z +return A.eT(a,n,f,!0) +case 14:e=b.y if(e0;--p)C.b.k(a6,"T"+(q+p)) -for(o=t.X,n=t._,m=t.K,l="<",k="",p=0;p0){a2+=a3+"[" -for(a3="",p=0;p0){a2+=a3+"{" -for(a3="",p=0;p "+H.d(a1)}, -P:function(a,b){var s,r,q,p,o,n,m,l=a.y +ki(a,b){var s,r,q,p,o,n,m=a.y,l=a.z +if(""===m)return"("+A.hs(l,b)+")" +s=l.length +r=m.split(",") +q=r.length-s +for(p="(",o="",n=0;n=0)p+=" "+r[q];++q}return p+"})"}, +ho(a4,a5,a6){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=", " +if(a6!=null){s=a6.length +if(a5==null){a5=A.f([],t.s) +r=null}else r=a5.length +q=a5.length +for(p=s;p>0;--p)B.b.k(a5,"T"+(q+p)) +for(o=t.X,n=t._,m="<",l="",p=0;p=0))return A.b(a5,j) +m=B.a.bM(m+l,a5[j]) +i=a6[p] +h=i.x +if(!(h===2||h===3||h===4||h===5||i===o))if(!(i===n))k=!1 +else k=!0 +else k=!0 +if(!k)m+=" extends "+A.H(i,a5)}m+=">"}else{m="" +r=null}o=a4.y +g=a4.z +f=g.a +e=f.length +d=g.b +c=d.length +b=g.c +a=b.length +a0=A.H(o,a5) +for(a1="",a2="",p=0;p0){a1+=a2+"[" +for(a2="",p=0;p0){a1+=a2+"{" +for(a2="",p=0;p "+a0}, +H(a,b){var s,r,q,p,o,n,m,l=a.x if(l===5)return"erased" if(l===2)return"dynamic" if(l===3)return"void" if(l===1)return"Never" if(l===4)return"any" -if(l===6){s=H.P(a.z,b) -return s}if(l===7){r=a.z -s=H.P(r,b) -q=r.y -return J.fp(q===11||q===12?C.a.L("(",s)+")":s,"?")}if(l===8)return"FutureOr<"+H.d(H.P(a.z,b))+">" -if(l===9){p=H.ka(a.z) -o=a.Q -return o.length!==0?p+("<"+H.k6(o,b)+">"):p}if(l===11)return H.hs(a,b,null) -if(l===12)return H.hs(a.z,b,a.Q) -if(l===13){b.toString -n=a.z +if(l===6){s=A.H(a.y,b) +return s}if(l===7){r=a.y +s=A.H(r,b) +q=r.x +return(q===12||q===13?"("+s+")":s)+"?"}if(l===8)return"FutureOr<"+A.H(a.y,b)+">" +if(l===9){p=A.km(a.y) +o=a.z +return o.length>0?p+("<"+A.hs(o,b)+">"):p}if(l===11)return A.ki(a,b) +if(l===12)return A.ho(a,b,null) +if(l===13)return A.ho(a.y,b,a.z) +if(l===14){n=a.y m=b.length n=m-1-n -if(n<0||n>=m)return H.b(b,n) +if(!(n>=0&&n" +s+=r+p+o+a[q+2].at}return s}, +bS(a,b,c){var s,r,q,p=b +if(c.length>0)p+="<"+A.bR(c)+">" s=a.eC.get(p) if(s!=null)return s -r=new H.a5(null,null) -r.y=9 -r.z=b -r.Q=c +r=new A.Y(null,null) +r.x=9 +r.y=b +r.z=c if(c.length>0)r.c=c[0] -r.cy=p -q=H.at(a,r) +r.at=p +q=A.ad(a,r) a.eC.set(p,q) return q}, -f1:function(a,b,c){var s,r,q,p,o,n -if(b.y===10){s=b.z -r=b.Q.concat(c)}else{r=c -s=b}q=s.cy+(";<"+H.d7(r)+">") +eS(a,b,c){var s,r,q,p,o,n +if(b.x===10){s=b.y +r=b.z.concat(c)}else{r=c +s=b}q=s.at+(";<"+A.bR(r)+">") p=a.eC.get(q) if(p!=null)return p -o=new H.a5(null,null) -o.y=10 -o.z=s -o.Q=r -o.cy=q -n=H.at(a,o) +o=new A.Y(null,null) +o.x=10 +o.y=s +o.z=r +o.at=q +n=A.ad(a,o) a.eC.set(q,n) return n}, -h5:function(a,b,c){var s,r,q,p,o,n=b.cy,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+H.d7(m) -if(j>0){s=l>0?",":"" -r=H.d7(k) -g+=s+"["+r+"]"}if(h>0){s=l>0?",":"" -r=H.jq(i) -g+=s+"{"+r+"}"}q=n+(g+")") -p=a.eC.get(q) +jB(a,b,c){var s,r,q="+"+(b+"("+A.bR(c)+")"),p=a.eC.get(q) if(p!=null)return p -o=new H.a5(null,null) -o.y=11 -o.z=b -o.Q=c -o.cy=q -r=H.at(a,o) +s=new A.Y(null,null) +s.x=11 +s.y=b +s.z=c +s.at=q +r=A.ad(a,s) a.eC.set(q,r) return r}, -f2:function(a,b,c,d){var s,r=b.cy+("<"+H.d7(c)+">"),q=a.eC.get(r) +h1(a,b,c){var s,r,q,p,o,n=b.at,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.bR(m) +if(j>0){s=l>0?",":"" +g+=s+"["+A.bR(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.jv(i)+"}"}r=n+(g+")") +q=a.eC.get(r) +if(q!=null)return q +p=new A.Y(null,null) +p.x=12 +p.y=b +p.z=c +p.at=r +o=A.ad(a,p) +a.eC.set(r,o) +return o}, +eT(a,b,c,d){var s,r=b.at+("<"+A.bR(c)+">"),q=a.eC.get(r) if(q!=null)return q -s=H.js(a,b,c,r,d) +s=A.jx(a,b,c,r,d) a.eC.set(r,s) return s}, -js:function(a,b,c,d,e){var s,r,q,p,o,n,m,l +jx(a,b,c,d,e){var s,r,q,p,o,n,m,l if(e){s=c.length -r=new Array(s) +r=A.eb(s) for(q=0,p=0;p0){n=H.ai(a,b,r,0) -m=H.c0(a,c,r,0) -return H.f2(a,n,m,c!==m)}}l=new H.a5(null,null) -l.y=12 -l.z=b -l.Q=c -l.cy=d -return H.at(a,l)}, -h0:function(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, -h2:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g=a.r,f=a.s -for(s=g.length,r=0;r=48&&q<=57)r=H.jm(r+1,q,g,f) -else if((((q|32)>>>0)-97&65535)<26||q===95||q===36)r=H.h1(a,r,g,f,!1) -else if(q===46)r=H.h1(a,r,g,f,!0) +if(o.x===1){r[p]=o;++q}}if(q>0){n=A.af(a,b,r,0) +m=A.bY(a,c,r,0) +return A.eT(a,n,m,c!==m)}}l=new A.Y(null,null) +l.x=13 +l.y=b +l.z=c +l.at=d +return A.ad(a,l)}, +fX(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +fZ(a){var s,r,q,p,o,n,m,l,k,j=a.r,i=a.s +for(s=j.length,r=0;r=48&&q<=57)r=A.jr(r+1,q,j,i) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.fY(a,r,j,i,!1) +else if(q===46)r=A.fY(a,r,j,i,!0) else{++r switch(q){case 44:break -case 58:f.push(!1) +case 58:i.push(!1) break -case 33:f.push(!0) +case 33:i.push(!0) break -case 59:f.push(H.as(a.u,a.e,f.pop())) +case 59:i.push(A.ap(a.u,a.e,i.pop())) break -case 94:f.push(H.jv(a.u,f.pop())) +case 94:i.push(A.jA(a.u,i.pop())) break -case 35:f.push(H.bV(a.u,5,"#")) +case 35:i.push(A.bT(a.u,5,"#")) break -case 64:f.push(H.bV(a.u,2,"@")) +case 64:i.push(A.bT(a.u,2,"@")) break -case 126:f.push(H.bV(a.u,3,"~")) +case 126:i.push(A.bT(a.u,3,"~")) break -case 60:f.push(a.p) -a.p=f.length +case 60:i.push(a.p) +a.p=i.length break case 62:p=a.u -o=f.splice(a.p) -H.f0(a.u,a.e,o) -a.p=f.pop() -n=f.pop() -if(typeof n=="string")f.push(H.bU(p,n,o)) -else{m=H.as(p,a.e,n) -switch(m.y){case 11:f.push(H.f2(p,m,o,a.n)) +o=i.splice(a.p) +A.eR(a.u,a.e,o) +a.p=i.pop() +n=i.pop() +if(typeof n=="string")i.push(A.bS(p,n,o)) +else{m=A.ap(p,a.e,n) +switch(m.x){case 12:i.push(A.eT(p,m,o,a.n)) break -default:f.push(H.f1(p,m,o)) +default:i.push(A.eS(p,m,o)) break}}break -case 38:H.jn(a,f) +case 38:A.js(a,i) break -case 42:l=a.u -f.push(H.h7(l,H.as(l,a.e,f.pop()),a.n)) +case 42:p=a.u +i.push(A.h3(p,A.ap(p,a.e,i.pop()),a.n)) break -case 63:l=a.u -f.push(H.f3(l,H.as(l,a.e,f.pop()),a.n)) +case 63:p=a.u +i.push(A.eU(p,A.ap(p,a.e,i.pop()),a.n)) break -case 47:l=a.u -f.push(H.h6(l,H.as(l,a.e,f.pop()),a.n)) +case 47:p=a.u +i.push(A.h2(p,A.ap(p,a.e,i.pop()),a.n)) break -case 40:f.push(a.p) -a.p=f.length +case 40:i.push(-3) +i.push(a.p) +a.p=i.length break -case 41:p=a.u -k=new H.d_() -j=p.sEA -i=p.sEA -n=f.pop() -if(typeof n=="number")switch(n){case-1:j=f.pop() +case 41:A.jq(a,i) break -case-2:i=f.pop() +case 91:i.push(a.p) +a.p=i.length break -default:f.push(n) -break}else f.push(n) -o=f.splice(a.p) -H.f0(a.u,a.e,o) -a.p=f.pop() -k.a=o -k.b=j -k.c=i -f.push(H.h5(p,H.as(p,a.e,f.pop()),k)) +case 93:o=i.splice(a.p) +A.eR(a.u,a.e,o) +a.p=i.pop() +i.push(o) +i.push(-1) break -case 91:f.push(a.p) -a.p=f.length +case 123:i.push(a.p) +a.p=i.length break -case 93:o=f.splice(a.p) -H.f0(a.u,a.e,o) -a.p=f.pop() -f.push(o) -f.push(-1) +case 125:o=i.splice(a.p) +A.ju(a.u,a.e,o) +a.p=i.pop() +i.push(o) +i.push(-2) break -case 123:f.push(a.p) -a.p=f.length +case 43:l=j.indexOf("(",r) +i.push(j.substring(r,l)) +i.push(-4) +i.push(a.p) +a.p=i.length +r=l+1 break -case 125:o=f.splice(a.p) -H.jp(a.u,a.e,o) -a.p=f.pop() -f.push(o) -f.push(-2) -break -default:throw"Bad character "+q}}}h=f.pop() -return H.as(a.u,a.e,h)}, -jm:function(a,b,c,d){var s,r,q=b-48 +default:throw"Bad character "+q}}}k=i.pop() +return A.ap(a.u,a.e,k)}, +jr(a,b,c,d){var s,r,q=b-48 for(s=c.length;a=48&&r<=57))break q=q*10+(r-48)}d.push(q) return a}, -h1:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +fY(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 for(s=c.length;m>>0)-97&65535)<26||r===95||r===36))q=r>=48&&r<=57 +e=!0}else{if(!((((r|32)>>>0)-97&65535)<26||r===95||r===36||r===124))q=r>=48&&r<=57 else q=!0 if(!q)break}}p=c.substring(b,m) if(e){s=a.u o=a.e -if(o.y===10)o=o.z -n=H.h8(s,o.z)[p] -if(n==null)H.k('No "'+p+'" in "'+H.j2(o)+'"') -d.push(H.d8(s,o,n))}else d.push(p) +if(o.x===10)o=o.y +n=A.jG(s,o.y)[p] +if(n==null)A.C('No "'+p+'" in "'+A.j2(o)+'"') +d.push(A.e6(s,o,n))}else d.push(p) return m}, -jn:function(a,b){var s=b.pop() -if(0===s){b.push(H.bV(a.u,1,"0&")) -return}if(1===s){b.push(H.bV(a.u,4,"1&")) -return}throw H.a(P.dd("Unexpected extended operation "+H.d(s)))}, -as:function(a,b,c){if(typeof c=="string")return H.bU(a,c,a.sEA) -else if(typeof c=="number")return H.jo(a,b,c) -else return c}, -f0:function(a,b,c){var s,r=c.length -for(s=0;s=d)return!1 a1=f[b] b+=3 if(a00?new Array(q):v.typeUniverse.sEA +for(o=0;o0?new Array(a):v.typeUniverse.sEA}, +Y:function Y(a,b){var _=this _.a=a _.b=b -_.x=_.r=_.c=null -_.y=0 -_.cy=_.cx=_.ch=_.Q=_.z=null}, -d_:function d_(){this.c=this.b=this.a=null}, -d5:function d5(a){this.a=a}, -cZ:function cZ(){}, -bT:function bT(a){this.a=a}, -hP:function(a){return v.mangledGlobalNames[a]}},J={ -fj:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, -ew:function(a){var s,r,q,p,o,n=a[v.dispatchPropertyName] -if(n==null)if($.fi==null){H.kk() -n=a[v.dispatchPropertyName]}if(n!=null){s=n.p -if(!1===s)return n.i -if(!0===s)return a -r=Object.getPrototypeOf(a) -if(s===r)return n.i -if(n.e===r)throw H.a(P.fV("Return interceptor for "+H.d(s(a,n))))}q=a.constructor -if(q==null)p=null -else{o=$.ec -if(o==null)o=$.ec=v.getIsolateTag("_$dart_js") -p=q[o]}if(p!=null)return p -p=H.kp(a) -if(p!=null)return p -if(typeof a=="function")return C.S -s=Object.getPrototypeOf(a) -if(s==null)return C.C -if(s===Object.prototype)return C.C -if(typeof q=="function"){o=$.ec -if(o==null)o=$.ec=v.getIsolateTag("_$dart_js") -Object.defineProperty(q,o,{value:C.n,enumerable:false,writable:true,configurable:true}) -return C.n}return C.n}, -iS:function(a,b){if(a<0||a>4294967295)throw H.a(P.y(a,0,4294967295,"length",null)) -return J.iT(new Array(a),b)}, -fE:function(a,b){if(a<0)throw H.a(P.G("Length must be a non-negative integer: "+a)) -return H.h(new Array(a),b.h("p<0>"))}, -iT:function(a,b){return J.eO(H.h(a,b.h("p<0>")),b)}, -eO:function(a,b){a.fixed$length=Array -return a}, -fF:function(a){a.fixed$length=Array -a.immutable$list=Array -return a}, -fG:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 -default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 -default:return!1}}, -iU:function(a,b){var s,r -for(s=a.length;b0;b=s){s=b-1 -r=C.a.m(a,s) -if(r!==32&&r!==13&&!J.fG(r))break}return b}, -au:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bs.prototype -return J.ck.prototype}if(typeof a=="string")return J.am.prototype -if(a==null)return J.bt.prototype -if(typeof a=="boolean")return J.ci.prototype -if(a.constructor==Array)return J.p.prototype -if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype -return a}if(a instanceof P.t)return a -return J.ew(a)}, -kh:function(a){if(typeof a=="number")return J.bu.prototype -if(typeof a=="string")return J.am.prototype -if(a==null)return a -if(a.constructor==Array)return J.p.prototype -if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype -return a}if(a instanceof P.t)return a -return J.ew(a)}, -a7:function(a){if(typeof a=="string")return J.am.prototype -if(a==null)return a -if(a.constructor==Array)return J.p.prototype -if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype -return a}if(a instanceof P.t)return a -return J.ew(a)}, -ev:function(a){if(a==null)return a -if(a.constructor==Array)return J.p.prototype -if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype -return a}if(a instanceof P.t)return a -return J.ew(a)}, -F:function(a){if(typeof a=="string")return J.am.prototype -if(a==null)return a -if(!(a instanceof P.t))return J.b2.prototype -return a}, -fp:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b -return J.kh(a).L(a,b)}, -I:function(a,b){if(a==null)return b==null -if(typeof a!="object")return b!=null&&a===b -return J.au(a).M(a,b)}, -fq:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.kn(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b"))}, +aX:function aX(a,b){this.a=a +this.b=b}, +b0:function b0(a,b){var _=this _.a=a -_.b=b -_.c=0 -_.d=null -_.$ti=c}, -bu:function bu(){}, -bs:function bs(){}, -ck:function ck(){}, -am:function am(){}},P={cK:function cK(){}, -eS:function(a,b){return new H.aB(a.h("@<0>").S(b).h("aB<1,2>"))}, -iQ:function(a,b,c){var s,r -if(P.fb(a)){if(b==="("&&c===")")return"(...)" -return b+"..."+c}s=H.h([],t.s) -C.b.k($.Y,a) -try{P.k3(a,s)}finally{if(0>=$.Y.length)return H.b($.Y,-1) -$.Y.pop()}r=P.dP(b,t.R.a(s),", ")+c +_.d=_.c=_.b=null +_.$ti=b}, +bP:function bP(a,b){this.a=a +this.$ti=b}, +cL:function cL(){}, +eK(a,b){return new A.ax(a.i("@<0>").S(b).i("ax<1,2>"))}, +iN(a,b,c){var s,r +if(A.f1(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.f([],t.s) +B.b.k($.V,a) +try{A.ke(a,s)}finally{if(0>=$.V.length)return A.b($.V,-1) +$.V.pop()}r=A.dM(b,t.R.a(s),", ")+c return r.charCodeAt(0)==0?r:r}, -fD:function(a,b,c){var s,r -if(P.fb(a))return b+"..."+c -s=new P.C(b) -C.b.k($.Y,a) +fu(a,b,c){var s,r +if(A.f1(a))return b+"..."+c +s=new A.D(b) +B.b.k($.V,a) try{r=s -r.a=P.dP(r.a,a,", ")}finally{if(0>=$.Y.length)return H.b($.Y,-1) -$.Y.pop()}s.a+=c +r.a=A.dM(r.a,a,", ")}finally{if(0>=$.V.length)return A.b($.V,-1) +$.V.pop()}s.a+=c r=s.a return r.charCodeAt(0)==0?r:r}, -fb:function(a){var s,r -for(s=$.Y.length,r=0;r=b.length)return H.b(b,-1) +if(0>=b.length)return A.b(b,-1) r=b.pop() -if(0>=b.length)return H.b(b,-1) -q=b.pop()}else{p=l.gt();++j -if(!l.n()){if(j<=4){C.b.k(b,H.d(p)) -return}r=H.d(p) -if(0>=b.length)return H.b(b,-1) +if(0>=b.length)return A.b(b,-1) +q=b.pop()}else{p=l.gp();++j +if(!l.n()){if(j<=4){B.b.k(b,A.h(p)) +return}r=A.h(p) +if(0>=b.length)return A.b(b,-1) q=b.pop() -k+=r.length+2}else{o=l.gt();++j -for(;l.n();p=o,o=n){n=l.gt();++j +k+=r.length+2}else{o=l.gp();++j +for(;l.n();p=o,o=n){n=l.gp();++j if(j>100){while(!0){if(!(k>75&&j>3))break -if(0>=b.length)return H.b(b,-1) -k-=b.pop().length+2;--j}C.b.k(b,"...") -return}}q=H.d(p) -r=H.d(o) +if(0>=b.length)return A.b(b,-1) +k-=b.pop().length+2;--j}B.b.k(b,"...") +return}}q=A.h(p) +r=A.h(o) k+=r.length+q.length+4}}if(j>b.length+2){k+=5 m="..."}else m=null while(!0){if(!(k>80&&b.length>3))break -if(0>=b.length)return H.b(b,-1) +if(0>=b.length)return A.b(b,-1) k-=b.pop().length+2 if(m==null){k+=5 -m="..."}}if(m!=null)C.b.k(b,m) -C.b.k(b,q) -C.b.k(b,r)}, -dD:function(a){var s,r={} -if(P.fb(a))return"{...}" -s=new P.C("") -try{C.b.k($.Y,a) +m="..."}}if(m!=null)B.b.k(b,m) +B.b.k(b,q) +B.b.k(b,r)}, +dz(a){var s,r={} +if(A.f1(a))return"{...}" +s=new A.D("") +try{B.b.k($.V,a) s.a+="{" r.a=!0 -a.T(0,new P.dE(r,s)) -s.a+="}"}finally{if(0>=$.Y.length)return H.b($.Y,-1) -$.Y.pop()}r=s.a +a.T(0,new A.dA(r,s)) +s.a+="}"}finally{if(0>=$.V.length)return A.b($.V,-1) +$.V.pop()}r=s.a return r.charCodeAt(0)==0?r:r}, -bq:function bq(){}, -bx:function bx(){}, +bm:function bm(){}, +bp:function bp(){}, w:function w(){}, -by:function by(){}, -dE:function dE(a,b){this.a=a +br:function br(){}, +dA:function dA(a,b){this.a=a this.b=b}, -W:function W(){}, -bW:function bW(){}, -aU:function aU(){}, -bL:function bL(){}, -bQ:function bQ(){}, -b8:function b8(){}, -k4:function(a,b){var s,r,q,p -if(typeof a!="string")throw H.a(H.J(a)) -s=null -try{s=JSON.parse(a)}catch(q){r=H.av(q) -p=P.r(String(r),null,null) -throw H.a(p)}p=P.el(s) -return p}, -el:function(a){var s +N:function N(){}, +bU:function bU(){}, +aQ:function aQ(){}, +bH:function bH(){}, +bM:function bM(){}, +b2:function b2(){}, +kg(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=A.c3(r) +q=A.q(String(s),null,null) +throw A.a(q)}q=A.ee(p) +return q}, +ee(a){var s if(a==null)return null if(typeof a!="object")return a -if(Object.getPrototypeOf(a)!==Array.prototype)return new P.d0(a,Object.create(null)) -for(s=0;s=0)return null return r}return null}, -jl:function(a,b,c,d){var s=a?$.i6():$.i5() +jm(a,b,c,d){var s=a?$.i0():$.i_() if(s==null)return null -if(0===c&&d===b.length)return P.fZ(s,b) -return P.fZ(s,b.subarray(c,P.af(c,d,b.length)))}, -fZ:function(a,b){var s,r +if(0===c&&d===b.length)return A.fV(s,b) +return A.fV(s,b.subarray(c,A.a4(c,d,b.length)))}, +fV(a,b){var s,r try{s=a.decode(b) -return s}catch(r){H.av(r)}return null}, -fv:function(a,b,c,d,e,f){if(C.c.aE(f,4)!==0)throw H.a(P.r("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) -if(d+e!==f)throw H.a(P.r("Invalid base64 padding, '=' not at the end",a,b)) -if(e>2)throw H.a(P.r("Invalid base64 padding, more than two '=' characters",a,b))}, -jL:function(a){switch(a){case 65:return"Missing extension byte" +return s}catch(r){}return null}, +fl(a,b,c,d,e,f){if(B.c.aG(f,4)!==0)throw A.a(A.q("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw A.a(A.q("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw A.a(A.q("Invalid base64 padding, more than two '=' characters",a,b))}, +jR(a){switch(a){case 65:return"Missing extension byte" case 67:return"Unexpected extension byte" case 69:return"Invalid UTF-8 byte" case 71:return"Overlong encoding" @@ -1620,146 +1532,152 @@ case 73:return"Out of unicode range" case 75:return"Encoded surrogate" case 77:return"Unfinished UTF-8 octet sequence" default:return""}}, -jK:function(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) -for(s=J.a7(a),r=0;r>>0!==0)q=255 -if(r>=p)return H.b(o,r) +if(!(r")) -for(s=J.U(a);s.n();)C.b.k(r,c.a(s.gt())) +dy(a,b,c){var s,r=A.f([],c.i("u<0>")) +for(s=J.R(a);s.n();)B.b.k(r,c.a(s.gp())) if(b)return r -return J.eO(r,c)}, -eT:function(a,b,c){var s=P.iW(a,c) +return J.eG(r,c)}, +bq(a,b,c){var s=A.iV(a,c) return s}, -iW:function(a,b){var s,r -if(Array.isArray(a))return H.h(a.slice(0),b.h("p<0>")) -s=H.h([],b.h("p<0>")) -for(r=J.U(a);r.n();)C.b.k(s,r.gt()) +iV(a,b){var s,r +if(Array.isArray(a))return A.f(a.slice(0),b.i("u<0>")) +s=A.f([],b.i("u<0>")) +for(r=J.R(a);r.n();)B.b.k(s,r.gp()) return s}, -a3:function(a,b){return J.fF(P.cq(a,!1,b))}, -fR:function(a,b,c){var s,r +a2(a,b){return J.fx(A.dy(a,!1,b))}, +fL(a,b,c){var s,r if(Array.isArray(a)){s=a r=s.length -c=P.af(b,c,r) -return H.fL(b>0||c0||c>>4 -if(n>=8)return H.b(a,n) +if(!(n<8))return A.b(a,n) n=(a[n]&1<<(o&15))!==0}else n=!1 -if(n)p+=H.N(o) +if(n)p+=A.K(o) else p=d&&o===32?p+"+":p+"%"+m[o>>>4&15]+m[o&15]}return p.charCodeAt(0)==0?p:p}, -ay:function(a){if(typeof a=="number"||H.ht(a)||null==a)return J.aw(a) +at(a){if(typeof a=="number"||A.hp(a)||a==null)return J.dd(a) if(typeof a=="string")return JSON.stringify(a) -return P.iM(a)}, -dd:function(a){return new P.be(a)}, -G:function(a){return new P.a2(!1,null,null,a)}, -dc:function(a,b,c){return new P.a2(!0,a,b,c)}, -fu:function(a){return new P.a2(!1,null,a,"Must not be null")}, -eV:function(a){var s=null -return new P.ae(s,s,!1,s,s,a)}, -aW:function(a,b){return new P.ae(null,null,!0,a,b,"Value not in range")}, -y:function(a,b,c,d,e){return new P.ae(b,c,!0,a,d,"Invalid value")}, -fM:function(a,b,c,d){if(ac)throw H.a(P.y(a,b,c,d,null)) +return A.iE(a)}, +c7(a){return new A.b8(a)}, +F(a){return new A.a0(!1,null,null,a)}, +eB(a,b,c){return new A.a0(!0,a,b,c)}, +iv(a){return new A.a0(!1,null,a,"Must not be null")}, +eC(a,b,c){return a==null?A.C(A.iv(b)):a}, +eM(a){var s=null +return new A.ab(s,s,!1,s,s,a)}, +dF(a,b){return new A.ab(null,null,!0,a,b,"Value not in range")}, +x(a,b,c,d,e){return new A.ab(b,c,!0,a,d,"Invalid value")}, +fF(a,b,c,d){if(ac)throw A.a(A.x(a,b,c,d,null)) return a}, -af:function(a,b,c){if(0>a||a>c)throw H.a(P.y(a,0,c,"start",null)) -if(b!=null){if(a>b||b>c)throw H.a(P.y(b,a,c,"end",null)) +a4(a,b,c){if(0>a||a>c)throw A.a(A.x(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw A.a(A.x(b,a,c,"end",null)) return b}return c}, -aX:function(a,b){if(a<0)throw H.a(P.y(a,0,null,b,null)) +aS(a,b){if(a<0)throw A.a(A.x(a,0,null,b,null)) return a}, -dy:function(a,b,c,d,e){var s=e==null?J.Q(b):e -return new P.cg(s,!0,a,c,"Index out of range")}, -z:function(a){return new P.cP(a)}, -fV:function(a){return new P.cN(a)}, -dO:function(a){return new P.aF(a)}, -a9:function(a){return new P.cb(a)}, -r:function(a,b,c){return new P.aR(a,b,c)}, -fX:function(a){var s,r=null,q=new P.C(""),p=H.h([-1],t.t) -P.jh(r,r,r,q,p) -C.b.k(p,q.a.length) +eF(a,b,c,d){return new A.bi(b,!0,a,d,"Index out of range")}, +y(a){return new A.cR(a)}, +fR(a){return new A.cP(a)}, +dL(a){return new A.aB(a)}, +a7(a){return new A.cc(a)}, +q(a,b,c){return new A.aO(a,b,c)}, +fz(a,b,c){var s,r +if(B.n===c){s=J.aL(a) +b=J.aL(b) +return A.fN(A.cM(A.cM($.ff(),s),b))}s=J.aL(a) +b=J.aL(b) +c=c.gF(c) +r=$.ff() +return A.fN(A.cM(A.cM(A.cM(r,s),b),c))}, +fT(a){var s,r=null,q=new A.D(""),p=A.f([-1],t.t) +A.ji(r,r,r,q,p) +B.b.k(p,q.a.length) q.a+="," -P.jf(C.h,C.E.co(a),q) +A.jg(B.h,B.F.cl(a),q) s=q.a -return new P.cQ(s.charCodeAt(0)==0?s:s,p,r).gae()}, -R:function(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length -if(a4>=5){s=((J.eK(a5,4)^58)*3|C.a.l(a5,0)^100|C.a.l(a5,1)^97|C.a.l(a5,2)^116|C.a.l(a5,3)^97)>>>0 -if(s===0)return P.fW(a4=14)C.b.w(r,7,a4) +return new A.cS(s.charCodeAt(0)==0?s:s,p,r).gae()}, +O(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length +if(a4>=5){s=((B.a.l(a5,4)^58)*3|B.a.l(a5,0)^100|B.a.l(a5,1)^97|B.a.l(a5,2)^116|B.a.l(a5,3)^97)>>>0 +if(s===0)return A.fS(a4=14)B.b.C(r,7,a4) q=r[1] -if(q>=0)if(P.hv(a5,0,q,20,r)===20)r[7]=q +if(q>=0)if(A.ht(a5,0,q,20,r)===20)r[7]=q p=r[2]+1 o=r[3] n=r[4] @@ -1773,12 +1691,16 @@ k=r[7]<0 if(k)if(p>q+3){j=a3 k=!1}else{i=o>0 if(i&&o+1===n){j=a3 -k=!1}else{if(!(mn+2&&J.c6(a5,"/..",m-3) +k=!1}else{if(!B.a.v(a5,"\\",n))if(p>0)h=B.a.v(a5,"\\",p-1)||B.a.v(a5,"\\",p-2) +else h=!1 +else h=!0 +if(h){j=a3 +k=!1}else{if(!(mn+2&&B.a.v(a5,"/..",m-3) else h=!0 if(h){j=a3 -k=!1}else{if(q===4)if(J.c6(a5,"file",0)){if(p<=0){if(!C.a.D(a5,"/",n)){g="file:///" +k=!1}else{if(q===4)if(B.a.v(a5,"file",0)){if(p<=0){if(!B.a.v(a5,"/",n)){g="file:///" s=3}else{g="file://" -s=2}a5=g+C.a.j(a5,n,a4) +s=2}a5=g+B.a.j(a5,n,a4) q-=0 i=s-0 m+=i @@ -1788,640 +1710,655 @@ p=7 o=7 n=7}else if(n===m){++l f=m+1 -a5=C.a.W(a5,n,m,"/");++a4 -m=f}j="file"}else if(C.a.D(a5,"http",0)){if(i&&o+3===n&&C.a.D(a5,"80",o+1)){l-=3 +a5=B.a.W(a5,n,m,"/");++a4 +m=f}j="file"}else if(B.a.v(a5,"http",0)){if(i&&o+3===n&&B.a.v(a5,"80",o+1)){l-=3 e=n-3 m-=3 -a5=C.a.W(a5,o,n,"") +a5=B.a.W(a5,o,n,"") a4-=3 n=e}j="http"}else j=a3 -else if(q===5&&J.c6(a5,"https",0)){if(i&&o+4===n&&J.c6(a5,"443",o+1)){l-=4 +else if(q===5&&B.a.v(a5,"https",0)){if(i&&o+4===n&&B.a.v(a5,"443",o+1)){l-=4 e=n-4 m-=4 -a5=J.iz(a5,o,n,"") +a5=B.a.W(a5,o,n,"") a4-=3 n=e}j="https"}else j=a3 -k=!0}}}else j=a3 -if(k){i=a5.length -if(a40)j=P.hi(a5,0,q) -else{if(q===0){P.b9(a5,0,"Invalid empty scheme") -H.aY(u.w)}j=""}if(p>0){d=q+3 -c=d0)j=A.hd(a5,0,q) +else{if(q===0)A.b3(a5,0,"Invalid empty scheme") +j=""}if(p>0){d=q+3 +c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) -o=P.Z(C.a.j(a,r,s),null) +o=A.W(B.a.j(a,r,s),null) if(o>255)k.$2(l,r) n=q+1 -if(q>=4)return H.b(j,q) +if(!(q<4))return A.b(j,q) j[q]=o r=s+1 q=n}}if(q!==3)k.$2(m,c) -o=P.Z(C.a.j(a,r,c),null) +o=A.W(B.a.j(a,r,c),null) if(o>255)k.$2(l,r) -if(q>=4)return H.b(j,q) +if(!(q<4))return A.b(j,q) j[q]=o return j}, -fY:function(a,b,a0){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=new P.e6(a),c=new P.e7(d,a) -if(a.length<2)d.$1("address is too short") -s=H.h([],t.t) -for(r=b,q=r,p=!1,o=!1;r>>0) -C.b.k(s,(k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)d.$1("an address with a wildcard must have less than 7 parts")}else if(s.length!==8)d.$1("an address without a wildcard must contain exactly 8 parts") +fU(a,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=null,c=new A.dZ(a),b=new A.e_(c,a) +if(a.length<2)c.$2("address is too short",d) +s=A.f([],t.t) +for(r=a0,q=r,p=!1,o=!1;r>>0) +B.b.k(s,(k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)c.$2("an address with a wildcard must have less than 7 parts",d)}else if(s.length!==8)c.$2("an address without a wildcard must contain exactly 8 parts",d) j=new Uint8Array(16) for(l=s.length,i=9-l,r=0,h=0;r=16)return H.b(j,h) +if(g===-1)for(f=0;f=0&&h<16))return A.b(j,h) j[h]=0 e=h+1 -if(e>=16)return H.b(j,e) +if(!(e<16))return A.b(j,e) j[e]=0 -h+=2}else{e=C.c.a1(g,8) -if(h<0||h>=16)return H.b(j,h) +h+=2}else{e=B.c.a1(g,8) +if(!(h>=0&&h<16))return A.b(j,h) j[h]=e e=h+1 -if(e>=16)return H.b(j,e) +if(!(e<16))return A.b(j,e) j[e]=g&255 h+=2}}return j}, -ef:function(a,b,c,d,e,f,g){return new P.bX(a,b,c,d,e,f,g)}, -H:function(a,b,c,d){var s,r,q,p,o,n,m,l,k=null -d=d==null?"":P.hi(d,0,d.length) -s=P.hj(k,0,0) -a=P.hf(a,0,a==null?0:a.length,!1) -r=P.hh(k,0,0,k) -q=P.he(k,0,0) -p=P.f5(k,d) +e7(a,b,c,d,e,f,g){return new A.bV(a,b,c,d,e,f,g)}, +E(a,b,c,d){var s,r,q,p,o,n,m,l,k=null +d=d==null?"":A.hd(d,0,d.length) +s=A.he(k,0,0) +a=A.ha(a,0,a==null?0:a.length,!1) +r=A.hc(k,0,0,k) +q=A.h9(k,0,0) +p=A.eW(k,d) o=d==="file" if(a==null)n=s.length!==0||p!=null||o else n=!1 if(n)a="" n=a==null m=!n -b=P.hg(b,0,b==null?0:b.length,c,d,m) +b=A.hb(b,0,b==null?0:b.length,c,d,m) l=d.length===0 -if(l&&n&&!C.a.u(b,"/"))b=P.f7(b,!l||m) -else b=P.ah(b) -return P.ef(d,s,n&&C.a.u(b,"//")?"":a,p,b,r,q)}, -hb:function(a){if(a==="http")return 80 +if(l&&n&&!B.a.u(b,"/"))b=A.eY(b,!l||m) +else b=A.ae(b) +return A.e7(d,s,n&&B.a.u(b,"//")?"":a,p,b,r,q)}, +h6(a){if(a==="http")return 80 if(a==="https")return 443 return 0}, -jD:function(a,b){var s,r,q,p,o,n -for(s=a.length,r=0;r"));s.n();){r=s.d -if(J.db(r,P.m('["*/:<>?\\\\|]',!1)))if(b)throw H.a(P.G("Illegal character in path")) -else throw H.a(P.z("Illegal character in path: "+r))}}, -ha:function(a,b){var s,r="Illegal drive letter " +b3(a,b,c){throw A.a(A.q(c,a,b))}, +h4(a,b){return b?A.jM(a,!1):A.jL(a,!1)}, +jI(a,b){var s,r,q +for(s=a.length,r=0;r")),r=r.i("A.E");s.n();){q=s.d +if(q==null)q=r.a(q) +if(B.a.E(q,A.m('["*/:<>?\\\\|]',!1)))if(b)throw A.a(A.F("Illegal character in path")) +else throw A.a(A.y("Illegal character in path: "+q))}}, +h5(a,b){var s,r="Illegal drive letter " if(!(65<=a&&a<=90))s=97<=a&&a<=122 else s=!0 if(s)return -if(b)throw H.a(P.G(r+P.fQ(a))) -else throw H.a(P.z(r+P.fQ(a)))}, -jF:function(a,b){var s=null,r=H.h(a.split("/"),t.s) -if(C.a.u(a,"/"))return P.H(s,s,r,"file") -else return P.H(s,s,r,s)}, -jG:function(a,b){var s,r,q,p,o="\\",n=null,m="file" -if(C.a.u(a,"\\\\?\\"))if(C.a.D(a,"UNC\\",4))a=C.a.W(a,0,7,o) -else{a=C.a.A(a,4) -if(a.length<3||C.a.l(a,1)!==58||C.a.l(a,2)!==92)throw H.a(P.G("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.a_(a,"/",o) +if(b)throw A.a(A.F(r+A.fK(a))) +else throw A.a(A.y(r+A.fK(a)))}, +jL(a,b){var s=null,r=A.f(a.split("/"),t.s) +if(B.a.u(a,"/"))return A.E(s,s,r,"file") +else return A.E(s,s,r,s)}, +jM(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(B.a.u(a,"\\\\?\\"))if(B.a.v(a,"UNC\\",4))a=B.a.W(a,0,7,o) +else{a=B.a.D(a,4) +if(a.length<3||B.a.l(a,1)!==58||B.a.l(a,2)!==92)throw A.a(A.F("Windows paths with \\\\?\\ prefix must be absolute"))}else a=A.X(a,"/",o) s=a.length -if(s>1&&C.a.l(a,1)===58){P.ha(C.a.l(a,0),!0) -if(s===2||C.a.l(a,2)!==92)throw H.a(P.G("Windows paths with drive letter must be absolute")) -r=H.h(a.split(o),t.s) -P.bY(r,!0,1) -return P.H(n,n,r,m)}if(C.a.u(a,o))if(C.a.D(a,o,1)){q=C.a.a0(a,o,2) +if(s>1&&B.a.l(a,1)===58){A.h5(B.a.l(a,0),!0) +if(s===2||B.a.l(a,2)!==92)throw A.a(A.F("Windows paths with drive letter must be absolute")) +r=A.f(a.split(o),t.s) +A.bW(r,!0,1) +return A.E(n,n,r,m)}if(B.a.u(a,o))if(B.a.v(a,o,1)){q=B.a.a0(a,o,2) s=q<0 -p=s?C.a.A(a,2):C.a.j(a,2,q) -r=H.h((s?"":C.a.A(a,q+1)).split(o),t.s) -P.bY(r,!0,0) -return P.H(p,n,r,m)}else{r=H.h(a.split(o),t.s) -P.bY(r,!0,0) -return P.H(n,n,r,m)}else{r=H.h(a.split(o),t.s) -P.bY(r,!0,0) -return P.H(n,n,r,n)}}, -f5:function(a,b){if(a!=null&&a===P.hb(b))return null +p=s?B.a.D(a,2):B.a.j(a,2,q) +r=A.f((s?"":B.a.D(a,q+1)).split(o),t.s) +A.bW(r,!0,0) +return A.E(p,n,r,m)}else{r=A.f(a.split(o),t.s) +A.bW(r,!0,0) +return A.E(n,n,r,m)}else{r=A.f(a.split(o),t.s) +A.bW(r,!0,0) +return A.E(n,n,r,n)}}, +eW(a,b){if(a!=null&&a===A.h6(b))return null return a}, -hf:function(a,b,c,d){var s,r,q,p,o,n +ha(a,b,c,d){var s,r,q,p,o,n if(a==null)return null if(b===c)return"" -if(C.a.m(a,b)===91){s=c-1 -if(C.a.m(a,s)!==93){P.b9(a,b,"Missing end `]` to match `[` in host") -H.aY(u.w)}r=b+1 -q=P.jC(a,r,s) +if(B.a.m(a,b)===91){s=c-1 +if(B.a.m(a,s)!==93)A.b3(a,b,"Missing end `]` to match `[` in host") +r=b+1 +q=A.jJ(a,r,s) if(q=b&&q=b&&s>>4 -if(n>=8)return H.b(C.k,n) -n=(C.k[n]&1<<(p&15))!==0}else n=!1 -if(n){if(q&&65<=p&&90>=p){if(i==null)i=new P.C("") -if(r=p){if(i==null)i=new A.D("") +if(r>>4 -if(m>=8)return H.b(C.z,m) -m=(C.z[m]&1<<(o&15))!==0}else m=!1 -if(m){if(p&&65<=o&&90>=o){if(q==null)q=new P.C("") -if(r=o){if(q==null)q=new A.D("") +if(r>>4 -if(m>=8)return H.b(C.i,m) -m=(C.i[m]&1<<(o&15))!==0}else m=!1 -if(m){P.b9(a,s,"Invalid character") -H.aY(u.w)}else{if((o&64512)===55296&&s+1>>4 -if(p>=8)return H.b(C.j,p) -p=(C.j[p]&1<<(q&15))!==0}else p=!1 -if(!p){P.b9(a,s,"Illegal scheme character") -H.aY(o)}if(65<=q&&q<=90)r=!0}a=C.a.j(a,b,c) -return P.jA(r?a.toLowerCase():a)}, -jA:function(a){if(a==="http")return"http" +if(!(p<8))return A.b(B.j,p) +p=(B.j[p]&1<<(q&15))!==0}else p=!1 +if(!p)A.b3(a,s,"Illegal scheme character") +if(65<=q&&q<=90)r=!0}a=B.a.j(a,b,c) +return A.jH(r?a.toLowerCase():a)}, +jH(a){if(a==="http")return"http" if(a==="file")return"file" if(a==="https")return"https" if(a==="package")return"package" return a}, -hj:function(a,b,c){if(a==null)return"" -return P.bZ(a,b,c,C.W,!1)}, -hg:function(a,b,c,d,e,f){var s,r,q=e==="file",p=q||f +he(a,b,c){if(a==null)return"" +return A.bX(a,b,c,B.X,!1,!1)}, +hb(a,b,c,d,e,f){var s,r,q=e==="file",p=q||f if(a==null){if(d==null)return q?"/":"" -s=H.A(d) -r=new H.q(d,s.h("c(1)").a(new P.eg()),s.h("q<1,c>")).X(0,"/")}else if(d!=null)throw H.a(P.G("Both path and pathSegments specified")) -else r=P.bZ(a,b,c,C.A,!0) -if(r.length===0){if(q)return"/"}else if(p&&!C.a.u(r,"/"))r="/"+r -return P.jH(r,e,f)}, -jH:function(a,b,c){var s=b.length===0 -if(s&&!c&&!C.a.u(a,"/"))return P.f7(a,!s||c) -return P.ah(a)}, -hh:function(a,b,c,d){if(a!=null)return P.bZ(a,b,c,C.h,!0) +s=A.B(d) +r=new A.o(d,s.i("c(1)").a(new A.e8()),s.i("o<1,c>")).X(0,"/")}else if(d!=null)throw A.a(A.F("Both path and pathSegments specified")) +else r=A.bX(a,b,c,B.B,!0,!0) +if(r.length===0){if(q)return"/"}else if(p&&!B.a.u(r,"/"))r="/"+r +return A.jN(r,e,f)}, +jN(a,b,c){var s=b.length===0 +if(s&&!c&&!B.a.u(a,"/")&&!B.a.u(a,"\\"))return A.eY(a,!s||c) +return A.ae(a)}, +hc(a,b,c,d){if(a!=null)return A.bX(a,b,c,B.h,!0,!1) return null}, -he:function(a,b,c){if(a==null)return null -return P.bZ(a,b,c,C.h,!0)}, -f6:function(a,b,c){var s,r,q,p,o,n=b+2 +h9(a,b,c){if(a==null)return null +return A.bX(a,b,c,B.h,!0,!1)}, +eX(a,b,c){var s,r,q,p,o,n=b+2 if(n>=a.length)return"%" -s=C.a.m(a,b+1) -r=C.a.m(a,n) -q=H.ex(s) -p=H.ex(r) +s=B.a.m(a,b+1) +r=B.a.m(a,n) +q=A.ep(s) +p=A.ep(r) if(q<0||p<0)return"%" o=q*16+p -if(o<127){n=C.c.a1(o,4) -if(n>=8)return H.b(C.k,n) -n=(C.k[n]&1<<(o&15))!==0}else n=!1 -if(n)return H.N(c&&65<=o&&90>=o?(o|32)>>>0:o) -if(s>=97||r>=97)return C.a.j(a,b,b+3).toUpperCase() +if(o<127){n=B.c.a1(o,4) +if(!(n<8))return A.b(B.k,n) +n=(B.k[n]&1<<(o&15))!==0}else n=!1 +if(n)return A.K(c&&65<=o&&90>=o?(o|32)>>>0:o) +if(s>=97||r>=97)return B.a.j(a,b,b+3).toUpperCase() return null}, -f4:function(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" +eV(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" if(a<128){s=new Uint8Array(3) s[0]=37 -s[1]=C.a.l(k,a>>>4) -s[2]=C.a.l(k,a&15)}else{if(a>2047)if(a>65535){r=240 +s[1]=B.a.l(k,a>>>4) +s[2]=B.a.l(k,a&15)}else{if(a>2047)if(a>65535){r=240 q=4}else{r=224 q=3}else{r=192 q=2}p=3*q s=new Uint8Array(p) -for(o=0;--q,q>=0;r=128){n=C.c.cd(a,6*q)&63|r -if(o>=p)return H.b(s,o) +for(o=0;--q,q>=0;r=128){n=B.c.ca(a,6*q)&63|r +if(!(o>>4) -if(m>=p)return H.b(s,m) +l=B.a.l(k,n>>>4) +if(!(m=p)return H.b(s,l) +m=B.a.l(k,n&15) +if(!(l>>4 -if(n>=8)return H.b(d,n) +if(!(n<8))return A.b(d,n) n=(d[n]&1<<(o&15))!==0}else n=!1 if(n)++r -else{if(o===37){m=P.f6(a,r,!1) +else{if(o===37){m=A.eX(a,r,!1) if(m==null){r+=3 continue}if("%"===m){m="%25" -l=1}else l=3}else{if(s)if(o<=93){n=o>>>4 -if(n>=8)return H.b(C.i,n) -n=(C.i[n]&1<<(o&15))!==0}else n=!1 +l=1}else l=3}else if(o===92&&f){m="/" +l=1}else{if(s)if(o<=93){n=o>>>4 +if(!(n<8))return A.b(B.i,n) +n=(B.i[n]&1<<(o&15))!==0}else n=!1 else n=!1 -if(n){P.b9(a,r,"Invalid character") -H.aY(u.w) -l=j +if(n){A.b3(a,r,"Invalid character") +l=i m=l}else{if((o&64512)===55296){n=r+1 -if(n=m)return H.b(s,-1) +if(J.Q(n,"..")){m=s.length +if(m!==0){if(0>=m)return A.b(s,-1) s.pop() -if(s.length===0)C.b.k(s,"")}p=!0}else if("."===n)p=!0 -else{C.b.k(s,n) -p=!1}}if(p)C.b.k(s,"") -return C.b.X(s,"/")}, -f7:function(a,b){var s,r,q,p,o,n -if(!P.hk(a))return!b?P.hc(a):a -s=H.h([],t.s) +if(s.length===0)B.b.k(s,"")}p=!0}else if("."===n)p=!0 +else{B.b.k(s,n) +p=!1}}if(p)B.b.k(s,"") +return B.b.X(s,"/")}, +eY(a,b){var s,r,q,p,o,n +if(!A.hf(a))return!b?A.h7(a):a +s=A.f([],t.s) for(r=a.split("/"),q=r.length,p=!1,o=0;o=s.length)return H.b(s,-1) +if(".."===n)if(s.length!==0&&B.b.gK(s)!==".."){if(0>=s.length)return A.b(s,-1) s.pop() -p=!0}else{C.b.k(s,"..") +p=!0}else{B.b.k(s,"..") p=!1}else if("."===n)p=!0 -else{C.b.k(s,n) +else{B.b.k(s,n) p=!1}}r=s.length -if(r!==0)if(r===1){if(0>=r)return H.b(s,0) +if(r!==0)if(r===1){if(0>=r)return A.b(s,0) r=s[0].length===0}else r=!1 else r=!0 if(r)return"./" -if(p||C.b.gG(s)==="..")C.b.k(s,"") -if(!b){if(0>=s.length)return H.b(s,0) -C.b.w(s,0,P.hc(s[0]))}return C.b.X(s,"/")}, -hc:function(a){var s,r,q,p=a.length -if(p>=2&&P.hd(J.eK(a,0)))for(s=1;s=s.length)return A.b(s,0) +B.b.C(s,0,A.h7(s[0]))}return B.b.X(s,"/")}, +h7(a){var s,r,q,p=a.length +if(p>=2&&A.h8(B.a.l(a,0)))for(s=1;s>>4 -if(q>=8)return H.b(C.j,q) -q=(C.j[q]&1<<(r&15))===0}else q=!0 +if(!(q<8))return A.b(B.j,q) +q=(B.j[q]&1<<(r&15))===0}else q=!0 if(q)break}return a}, -jJ:function(a,b){if(a.cv("package")&&a.c==null)return P.hw(b,0,b.length) +jP(a,b){if(a.cs("package")&&a.c==null)return A.hu(b,0,b.length) return-1}, -hn:function(a){var s,r,q,p=a.gaA(),o=J.a7(p) -if(o.gq(p)>0&&J.Q(o.p(p,0))===2&&J.c4(o.p(p,0),1)===58){P.ha(J.c4(o.p(p,0),0),!1) -P.bY(p,!1,1) -s=!0}else{P.bY(p,!1,0) -s=!1}r=a.gav()&&!s?"\\":"" +hi(a){var s,r,q,p=a.gaC(),o=p.length +if(o>0&&J.S(p[0])===2&&J.eA(p[0],1)===58){if(0>=o)return A.b(p,0) +A.h5(J.eA(p[0],0),!1) +A.bW(p,!1,1) +s=!0}else{A.bW(p,!1,0) +s=!1}r=a.gaw()&&!s?""+"\\":"" if(a.gai()){q=a.gU() -if(q.length!==0)r=r+"\\"+q+"\\"}r=P.dP(r,p,"\\") -o=s&&o.gq(p)===1?r+"\\":r +if(q.length!==0)r=r+"\\"+q+"\\"}r=A.dM(r,p,"\\") +o=s&&o===1?r+"\\":r return o.charCodeAt(0)==0?o:o}, -jE:function(a,b){var s,r,q -for(s=0,r=0;r<2;++r){q=C.a.l(a,b+r) +jK(a,b){var s,r,q +for(s=0,r=0;r<2;++r){q=B.a.l(a,b+r) if(48<=q&&q<=57)s=s*16+q-48 else{q|=32 if(97<=q&&q<=102)s=s*16+q-87 -else throw H.a(P.G("Invalid URL encoding"))}}return s}, -f8:function(a,b,c,d,e){var s,r,q,p,o=J.F(a),n=b -while(!0){if(!(n127)throw H.a(P.G("Illegal percent encoding in URI")) -if(r===37){if(n+3>a.length)throw H.a(P.G("Truncated URI")) -C.b.k(p,P.jE(a,n+1)) -n+=2}else C.b.k(p,r)}}t.L.a(p) -return C.a_.ah(p)}, -hd:function(a){var s=a|32 +if(q)return B.a.j(a,b,c) +else p=new A.aN(B.a.j(a,b,c))}else{p=A.f([],t.t) +for(q=a.length,o=b;o127)throw A.a(A.F("Illegal percent encoding in URI")) +if(r===37){if(o+3>q)throw A.a(A.F("Truncated URI")) +B.b.k(p,A.jK(a,o+1)) +o+=2}else B.b.k(p,r)}}t.L.a(p) +return B.a1.ah(p)}, +h8(a){var s=a|32 return 97<=s&&s<=122}, -jh:function(a,b,c,d,e){var s,r +ji(a,b,c,d,e){var s,r if(!0)d.a=d.a -else{s=P.jg("") -if(s<0)throw H.a(P.dc("","mimeType","Invalid MIME type")) -r=d.a+=H.d(P.f9(C.y,C.a.j("",0,s),C.e,!1)) +else{s=A.jh("") +if(s<0)throw A.a(A.eB("","mimeType","Invalid MIME type")) +r=d.a+=A.f_(B.z,B.a.j("",0,s),B.e,!1) d.a=r+"/" -d.a+=H.d(P.f9(C.y,C.a.A("",s+1),C.e,!1))}}, -jg:function(a){var s,r,q -for(s=a.length,r=-1,q=0;qb)throw H.a(P.r(k,a,r)) -for(;p!==44;){C.b.k(j,r);++r -for(o=-1;r=0)C.b.k(j,o) -else{n=C.b.gG(j) -if(p!==44||r!==n+7||!C.a.D(a,"base64",n+1))throw H.a(P.r("Expecting '='",a,r)) -break}}C.b.k(j,r) +continue}throw A.a(A.q(k,a,r))}}if(q<0&&r>b)throw A.a(A.q(k,a,r)) +for(;p!==44;){B.b.k(j,r);++r +for(o=-1;r=0)B.b.k(j,o) +else{n=B.b.gK(j) +if(p!==44||r!==n+7||!B.a.v(a,"base64",n+1))throw A.a(A.q("Expecting '='",a,r)) +break}}B.b.k(j,r) m=r+1 -if((j.length&1)===1)a=C.F.cA(a,m,s) -else{l=P.hl(a,m,s,C.h,!0) -if(l!=null)a=C.a.W(a,m,s,l)}return new P.cQ(a,j,c)}, -jf:function(a,b,c){var s,r,q,p,o,n="0123456789ABCDEF" -for(s=J.a7(b),r=0,q=0;q=8)return H.b(a,o) +if(p<128){o=B.c.a1(p,4) +if(!(o<8))return A.b(a,o) o=(a[o]&1<<(p&15))!==0}else o=!1 -if(o)c.a+=H.N(p) -else{c.a+=H.N(37) -c.a+=H.N(C.a.l(n,C.c.a1(p,4))) -c.a+=H.N(C.a.l(n,p&15))}}if((r&4294967040)>>>0!==0)for(q=0;q255)throw H.a(P.dc(p,"non-byte value",null))}}, -jR:function(){var s,r,q,p,o,n,m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",l=".",k=":",j="/",i="?",h="#",g=H.h(new Array(22),t.dc) -for(s=0;s<22;++s)g[s]=new Uint8Array(96) -r=new P.em(g) -q=new P.en() -p=new P.eo() -o=t.p -n=o.a(r.$2(0,225)) -q.$3(n,m,1) -q.$3(n,l,14) -q.$3(n,k,34) -q.$3(n,j,3) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(14,225)) +n=c.a +if(o)c.a=n+A.K(p) +else{o=n+A.K(37) +c.a=o +o+=A.K(B.a.l(m,B.c.a1(p,4))) +c.a=o +c.a=o+A.K(B.a.l(m,p&15))}}if((r&4294967040)>>>0!==0)for(q=0;q255)throw A.a(A.eB(p,"non-byte value",null))}}, +jZ(){var s,r,q,p,o,n,m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",l=".",k=":",j="/",i="\\",h="?",g="#",f="/\\",e=A.f(new Array(22),t.dc) +for(s=0;s<22;++s)e[s]=new Uint8Array(96) +r=new A.ef(e) +q=new A.eg() +p=new A.eh() +o=t.p.a(r.$2(0,225)) +q.$3(o,m,1) +q.$3(o,l,14) +q.$3(o,k,34) +q.$3(o,j,3) +q.$3(o,i,227) +q.$3(o,h,172) +q.$3(o,g,205) +n=r.$2(14,225) q.$3(n,m,1) q.$3(n,l,15) q.$3(n,k,34) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(15,225)) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(15,225) q.$3(n,m,1) q.$3(n,"%",225) q.$3(n,k,34) q.$3(n,j,9) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(1,225)) +q.$3(n,i,233) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(1,225) q.$3(n,m,1) q.$3(n,k,34) q.$3(n,j,10) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(2,235)) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(2,235) q.$3(n,m,139) q.$3(n,j,131) +q.$3(n,i,131) q.$3(n,l,146) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(3,235)) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(3,235) q.$3(n,m,11) q.$3(n,j,68) +q.$3(n,i,68) q.$3(n,l,18) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(4,229)) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(4,229) q.$3(n,m,5) p.$3(n,"AZ",229) q.$3(n,k,102) q.$3(n,"@",68) q.$3(n,"[",232) q.$3(n,j,138) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(5,229)) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(5,229) q.$3(n,m,5) p.$3(n,"AZ",229) q.$3(n,k,102) q.$3(n,"@",68) q.$3(n,j,138) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(6,231)) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(6,231) p.$3(n,"19",7) q.$3(n,"@",68) q.$3(n,j,138) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(7,231)) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(7,231) p.$3(n,"09",7) q.$3(n,"@",68) q.$3(n,j,138) -q.$3(n,i,172) -q.$3(n,h,205) -q.$3(o.a(r.$2(8,8)),"]",5) -n=o.a(r.$2(9,235)) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +q.$3(r.$2(8,8),"]",5) +n=r.$2(9,235) q.$3(n,m,11) q.$3(n,l,16) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(16,235)) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(16,235) q.$3(n,m,11) q.$3(n,l,17) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(17,235)) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(17,235) q.$3(n,m,11) q.$3(n,j,9) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(10,235)) +q.$3(n,i,233) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(10,235) q.$3(n,m,11) q.$3(n,l,18) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(18,235)) +q.$3(n,j,10) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(18,235) q.$3(n,m,11) q.$3(n,l,19) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(19,235)) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(19,235) q.$3(n,m,11) -q.$3(n,j,234) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(11,235)) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(11,235) q.$3(n,m,11) q.$3(n,j,10) -q.$3(n,i,172) -q.$3(n,h,205) -n=o.a(r.$2(12,236)) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=r.$2(12,236) q.$3(n,m,12) -q.$3(n,i,12) -q.$3(n,h,205) -n=o.a(r.$2(13,237)) +q.$3(n,h,12) +q.$3(n,g,205) +n=r.$2(13,237) q.$3(n,m,13) -q.$3(n,i,13) -p.$3(o.a(r.$2(20,245)),"az",21) -r=o.a(r.$2(21,245)) -p.$3(r,"az",21) -p.$3(r,"09",21) -q.$3(r,"+-.",21) -return g}, -hv:function(a,b,c,d,e){var s,r,q,p,o,n=$.ij() -for(s=J.F(a),r=b;r=n.length)return H.b(n,d) -q=n[d] -p=s.l(a,r)^96 -o=q[p>95?31:p] -d=o&31 -C.b.w(e,o>>>5,r)}return d}, -h3:function(a){if(a.b===7&&C.a.u(a.a,"package")&&a.c<=0)return P.hw(a.a,a.e,a.f) +q.$3(n,h,13) +p.$3(r.$2(20,245),"az",21) +n=r.$2(21,245) +p.$3(n,"az",21) +p.$3(n,"09",21) +q.$3(n,"+-.",21) +return e}, +ht(a,b,c,d,e){var s,r,q,p,o=$.ic() +for(s=b;s=0&&d95?31:q] +d=p&31 +B.b.C(e,p>>>5,s)}return d}, +h_(a){if(a.b===7&&B.a.u(a.a,"package")&&a.c<=0)return A.hu(a.a,a.e,a.f) return-1}, -hw:function(a,b,c){var s,r,q -for(s=b,r=0;s=1;s=q){q=s-1 -if(b[q]!=null)break}p=new P.C("") -o=a+"(" +if(b[q]!=null)break}p=new A.D("") +o=""+(a+"(") p.a=o -n=H.A(b) -m=n.h("aG<1>") -l=new H.aG(b,0,s,m) +n=A.B(b) +m=n.i("aC<1>") +l=new A.aC(b,0,s,m) l.bX(b,0,s,n.c) -m=o+new H.q(l,m.h("c(E.E)").a(new M.es()),m.h("q")).X(0,", ") +m=o+new A.o(l,m.i("c(A.E)").a(new A.em()),m.i("o")).X(0,", ") p.a=m p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") -throw H.a(P.G(p.i(0)))}}, -cc:function cc(a,b){this.a=a +throw A.a(A.F(p.h(0)))}}, +cd:function cd(a,b){this.a=a this.b=b}, -dn:function dn(){}, -dp:function dp(){}, -es:function es(){}, -b5:function b5(a){this.a=a}, -b6:function b6(a){this.a=a}},B={aS:function aS(){}, -hH:function(a){var s -if(!(a>=65&&a<=90))s=a>=97&&a<=122 -else s=!0 -return s}, -hI:function(a,b){var s=a.length,r=b+2 -if(s=s)return H.b(a,0) -C.b.k(q,a[0]) -p=1}else{C.b.k(q,"") -p=0}for(o=p;o=s)return A.b(a,0) +B.b.k(q,a[0]) +p=1}else{B.b.k(q,"") +p=0}for(o=p;o") -return Y.eY(new H.q(s,r.h("i*(1)").a(new O.eF(a,c)),q).bS(0,q.h("K(E.E)").a(new O.eG())),null)}, -k5:function(a){var s,r,q,p,o,n,m,l=J.iv(a,".") -if(l<0)return a -s=C.a.A(a,l+1) -a=s==="fn"?a:s -a=H.a_(a,"$124","|") -if(C.a.C(a,"|")){r=C.a.ak(a,"|") -q=C.a.ak(a," ") -p=C.a.ak(a,"escapedPound") -if(q>=0){o=C.a.j(a,0,q)==="set" -a=C.a.j(a,q+1,a.length)}else{n=r+1 -if(p>=0){o=C.a.j(a,n,p)==="set" -a=C.a.W(a,n,p+3,"")}else{m=C.a.j(a,n,a.length) -if(C.a.u(m,"unary")||C.a.u(m,"$"))a=O.k9(a) -o=!1}}a=H.a_(a,"|",".") -n=o?a+"=":a}else n=a -return n}, -k9:function(a){return H.kz(a,P.m("\\$[0-9]+",!1),t.aE.a(t.bj.a(new O.er(a))),t.a2.a(null))}, -eF:function eF(a,b){this.a=a -this.b=b}, -eG:function eG(){}, -er:function er(a){this.a=a}, -hB:function(a,b){var s,r,q -if(a.length===0)return-1 -if(H.bb(b.$1(C.b.gaS(a))))return 0 -if(!H.bb(b.$1(C.b.gG(a))))return a.length -s=a.length-1 -for(r=0;r=a.length)return H.b(a,q) -if(H.bb(b.$1(a[q])))s=q -else r=q+1}return s}},E={cB:function cB(a,b,c){this.d=a +fA(a){return new A.bw(a)}, +bw:function bw(a){this.a=a}, +j6(){if(A.eQ().gI()!=="file")return $.b7() +var s=A.eQ() +if(!B.a.aR(s.gM(s),"/"))return $.b7() +if(A.E(null,"a/b",null,null).b5()==="a\\b")return $.c4() +return $.hP()}, +dN:function dN(){}, +cD:function cD(a,b,c){this.d=a this.e=b -this.f=c}},F={cR:function cR(a,b,c,d){var _=this +this.f=c}, +cT:function cT(a,b,c,d){var _=this _.d=a _.e=b _.f=c -_.r=d}},L={cV:function cV(a,b,c,d){var _=this +_.r=d}, +cX:function cX(a,b,c,d){var _=this _.d=a _.e=b _.f=c -_.r=d},ea:function ea(){}, -da:function(a){var s,r,q,p,o,n,m,l=null -for(s=a.b,r=0,q=!1,p=0;!q;){if(++a.c>=s)throw H.a(P.dO("incomplete VLQ value")) -o=a.gt() -n=$.ia().p(0,o) -if(n==null)throw H.a(P.r("invalid character in VLQ encoding: "+o,l,l)) -q=(n&32)===0 -r+=C.c.cc(n&31,p) -p+=5}m=r>>>1 -r=(r&1)===1?-m:m -s=$.hU() -if(typeof s!=="number")return H.ey(s) -if(r>=s){s=$.hT() -if(typeof s!=="number")return H.ey(s) -s=r>s}else s=!0 -if(s)throw H.a(P.r("expected an encoded 32 bit int, but we got: "+r,l,l)) -return r}, -eq:function eq(){}},T={ -hK:function(a,b,c){var s,r,q="sections" -if(!J.I(a.p(0,"version"),3))throw H.a(P.G("unexpected source map version: "+H.d(a.p(0,"version"))+". Only version 3 is supported.")) -if(a.J(q)){if(a.J("mappings")||a.J("sources")||a.J("names"))throw H.a(P.r('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) -s=t.j.a(a.p(0,q)) +_.r=d}, +e2:function e2(){}, +hH(a,b,c){var s,r,q="sections" +if(!J.Q(a.t(0,"version"),3))throw A.a(A.F("unexpected source map version: "+A.h(a.t(0,"version"))+". Only version 3 is supported.")) +if(a.L(q)){if(a.L("mappings")||a.L("sources")||a.L("names"))throw A.a(A.q('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) +s=t.j.a(a.t(0,q)) r=t.t -r=new T.cs(H.h([],r),H.h([],r),H.h([],t.l)) +r=new A.cu(A.f([],r),A.f([],r),A.f([],t.D)) r.bU(s,c,b) -return r}return T.j4(a,b)}, -j4:function(a,b){var s,r,q,p=H.ej(a.p(0,"file")),o=t.R,n=t.N,m=P.cq(o.a(a.p(0,"sources")),!0,n),l=a.p(0,"names") -o=P.cq(o.a(l==null?[]:l),!0,n) -l=P.ap(J.Q(a.p(0,"sources")),null,!1,t.w) -s=H.ej(a.p(0,"sourceRoot")) -r=H.h([],t.x) -q=typeof b=="string"?P.R(b):b -n=new T.aZ(m,o,l,r,p,s,t.I.a(q),P.eS(n,t.z)) +return r}return A.j3(a,b)}, +j3(a,b){var s,r,q,p=A.ec(a.t(0,"file")),o=t.R,n=t.N,m=A.dy(o.a(a.t(0,"sources")),!0,n),l=a.t(0,"names") +o=A.dy(o.a(l==null?[]:l),!0,n) +l=A.am(J.S(a.t(0,"sources")),null,!1,t.w) +s=A.ec(a.t(0,"sourceRoot")) +r=A.f([],t.x) +q=typeof b=="string"?A.O(b):b +n=new A.by(m,o,l,r,p,s,t.I.a(q),A.eK(n,t.z)) n.bV(a,b) return n}, -aq:function aq(){}, -cs:function cs(a,b,c){this.a=a +an:function an(){}, +cu:function cu(a,b,c){this.a=a this.b=b this.c=c}, -cr:function cr(a){this.a=a}, -aZ:function aZ(a,b,c,d,e,f,g,h){var _=this +ct:function ct(a){this.a=a}, +by:function by(a,b,c,d,e,f,g,h){var _=this _.a=a _.b=b _.c=c @@ -2623,620 +2491,806 @@ _.d=d _.e=e _.f=f _.r=g -_.x=h}, -dK:function dK(a){this.a=a}, -dM:function dM(a){this.a=a}, -dL:function dL(a){this.a=a}, -bK:function bK(a,b){this.a=a +_.w=h}, +dH:function dH(a){this.a=a}, +dJ:function dJ(a){this.a=a}, +dI:function dI(a){this.a=a}, +bG:function bG(a,b){this.a=a this.b=b}, -b1:function b1(a,b,c,d,e){var _=this +aU:function aU(a,b,c,d,e){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e}, -d2:function d2(a,b){this.a=a +d4:function d4(a,b){this.a=a this.b=b this.c=-1}, -b7:function b7(a,b,c){this.a=a +b1:function b1(a,b,c){this.a=a this.b=b this.c=c}, -cp:function cp(a){this.a=a -this.b=$}},G={ -fP:function(a,b,c,d){var s=new G.bG(a,b,c) -s.bd(a,b,c) +fJ(a,b,c,d){var s=new A.bC(a,b,c) +s.bb(a,b,c) return s}, -bG:function bG(a,b,c){this.a=a +bC:function bC(a,b,c){this.a=a this.b=b -this.c=c}},Y={b_:function b_(a,b,c){var _=this +this.c=c}, +db(a){var s,r,q,p,o,n,m,l=null +for(s=a.b,r=0,q=!1,p=0;!q;){if(++a.c>=s)throw A.a(A.dL("incomplete VLQ value")) +o=a.gp() +n=$.i4().t(0,o) +if(n==null)throw A.a(A.q("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=B.c.c9(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +s=$.il() +if(typeof s!=="number")return A.f9(s) +if(r>=s){s=$.ik() +if(typeof s!=="number")return A.f9(s) +s=r>s}else s=!0 +if(s)throw A.a(A.q("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +ej:function ej(){}, +bB:function bB(a,b,c){var _=this _.a=a _.b=b _.c=c -_.d=null},cH:function cH(){}, -jc:function(a){if(t.a.b(a))return a -if(a instanceof U.al)return a.bI() -return new T.cp(new Y.dZ(a))}, -eZ:function(a){var s,r,q -try{if(a.length===0){r=Y.eY(H.h([],t.F),null) -return r}if(C.a.C(a,$.im())){r=Y.jb(a) -return r}if(C.a.C(a,"\tat ")){r=Y.ja(a) -return r}if(C.a.C(a,$.ie())||C.a.C(a,$.ic())){r=Y.j9(a) -return r}if(C.a.C(a,u.q)){r=U.iG(a).bI() -return r}if(C.a.C(a,$.ih())){r=Y.fS(a) -return r}r=Y.fT(a) -return r}catch(q){r=H.av(q) -if(r instanceof P.aR){s=r -throw H.a(P.r(H.d(s.a)+"\nStack trace:\n"+H.d(a),null,null))}else throw q}}, -fT:function(a){var s=P.a3(Y.jd(a),t.B) -return new Y.u(s)}, -jd:function(a){var s,r=J.iC(a),q=$.fo(),p=t.U,o=new H.O(H.h(H.a_(r,q,"").split("\n"),t.s),t.Q.a(new Y.e_()),p) -if(!o.gB(o).n())return H.h([],t.F) -r=H.j8(o,o.gq(o)-1,p.h("f.E")) -q=H.x(r) -q=H.eU(r,q.h("i(f.E)").a(new Y.e0()),q.h("f.E"),t.B) -s=P.eT(q,!0,H.x(q).h("f.E")) -if(!J.iu(o.gG(o),".da"))C.b.k(s,A.fA(o.gG(o))) -return s}, -jb:function(a){var s,r,q=H.eX(H.h(a.split("\n"),t.s),1,null,t.N) -q=q.bR(0,q.$ti.h("K(E.E)").a(new Y.dX())) -s=t.B -r=q.$ti -s=P.a3(H.eU(q,r.h("i(f.E)").a(new Y.dY()),r.h("f.E"),s),s) -return new Y.u(s)}, -ja:function(a){var s=P.a3(new H.X(new H.O(H.h(a.split("\n"),t.s),t.Q.a(new Y.dV()),t.U),t.d.a(new Y.dW()),t.M),t.B) -return new Y.u(s)}, -j9:function(a){var s=P.a3(new H.X(new H.O(H.h(C.a.b8(a).split("\n"),t.s),t.Q.a(new Y.dR()),t.U),t.d.a(new Y.dS()),t.M),t.B) -return new Y.u(s)}, -fS:function(a){var s=a.length===0?H.h([],t.F):new H.X(new H.O(H.h(C.a.b8(a).split("\n"),t.s),t.Q.a(new Y.dT()),t.U),t.d.a(new Y.dU()),t.M) -s=P.a3(s,t.B) -return new Y.u(s)}, -eY:function(a,b){var s=P.a3(a,t.B) -return new Y.u(s)}, -u:function u(a){this.a=a}, -dZ:function dZ(a){this.a=a}, -e_:function e_(){}, -e0:function e0(){}, -dX:function dX(){}, -dY:function dY(){}, -dV:function dV(){}, -dW:function dW(){}, -dR:function dR(){}, -dS:function dS(){}, -dT:function dT(){}, -dU:function dU(){}, -e2:function e2(){}, -e1:function e1(a){this.a=a}},V={ -eW:function(a,b,c,d){var s=typeof d=="string"?P.R(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b -if(a<0)H.k(P.eV("Offset may not be negative, was "+a+".")) -else if(!r&&c<0)H.k(P.eV("Line may not be negative, was "+H.d(c)+".")) -else if(!p&&b<0)H.k(P.eV("Column may not be negative, was "+H.d(b)+".")) -return new V.cF(s,a,q,o)}, -cF:function cF(a,b,c,d){var _=this +_.d=null}, +eN(a,b,c,d){var s=typeof d=="string"?A.O(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)A.C(A.eM("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)A.C(A.eM("Line may not be negative, was "+A.h(c)+".")) +else if(!p&&b<0)A.C(A.eM("Column may not be negative, was "+A.h(b)+".")) +return new A.cG(s,a,q,o)}, +cG:function cG(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=d}, -cG:function cG(){}},U={ -iG:function(a){var s,r,q=u.q -if(a.length===0)return new U.al(P.a3(H.h([],t.J),t.a)) -s=$.fo() -if(C.a.C(a,s)){s=C.a.ag(a,s) -r=H.A(s) -return new U.al(P.a3(new H.X(new H.O(s,r.h("K(1)").a(new U.df()),r.h("O<1>")),r.h("u(1)").a(new U.dg()),r.h("X<1,u>")),t.a))}if(!C.a.C(a,q))return new U.al(P.a3(H.h([Y.eZ(a)],t.J),t.a)) -return new U.al(P.a3(new H.q(H.h(a.split(q),t.s),t.u.a(new U.dh()),t.ax),t.a))}, -al:function al(a){this.a=a}, -df:function df(){}, -dg:function dg(){}, -dh:function dh(){}, -dm:function dm(){}, -dl:function dl(){}, +cH:function cH(){}, +cI:function cI(){}, +iy(a){var s,r,q=u.a +if(a.length===0)return new A.ai(A.a2(A.f([],t.J),t.a)) +s=$.fh() +if(B.a.E(a,s)){s=B.a.ag(a,s) +r=A.B(s) +return new A.ai(A.a2(new A.T(new A.U(s,r.i("a_(1)").a(new A.de()),r.i("U<1>")),r.i("t(1)").a(A.kW()),r.i("T<1,t>")),t.a))}if(!B.a.E(a,q))return new A.ai(A.a2(A.f([A.eP(a)],t.J),t.a)) +return new A.ai(A.a2(new A.o(A.f(a.split(q),t.s),t.u.a(A.kV()),t.ax),t.a))}, +ai:function ai(a){this.a=a}, +de:function de(){}, dj:function dj(){}, -dk:function dk(a){this.a=a}, -di:function di(a){this.a=a}},A={ -fA:function(a){return A.cf(a,new A.dx(a))}, -fz:function(a){return A.cf(a,new A.dv(a))}, -iN:function(a){return A.cf(a,new A.ds(a))}, -iO:function(a){return A.cf(a,new A.dt(a))}, -iP:function(a){return A.cf(a,new A.du(a))}, -eN:function(a){if(J.db(a,$.hR()))return P.R(a) -else if(C.a.C(a,$.hS()))return P.h9(a,!0) -else if(C.a.u(a,"/"))return P.h9(a,!1) -if(C.a.C(a,"\\"))return $.is().bJ(a) -return P.R(a)}, -cf:function(a,b){var s,r +di:function di(){}, +dg:function dg(){}, +dh:function dh(a){this.a=a}, +df:function df(a){this.a=a}, +iM(a){return A.fr(A.j(a))}, +fr(a){return A.cg(a,new A.du(a))}, +iL(a){return A.iI(A.j(a))}, +iI(a){return A.cg(a,new A.ds(a))}, +iF(a){return A.cg(a,new A.dp(a))}, +iJ(a){return A.iG(A.j(a))}, +iG(a){return A.cg(a,new A.dq(a))}, +iK(a){return A.iH(A.j(a))}, +iH(a){return A.cg(a,new A.dr(a))}, +eE(a){if(B.a.E(a,$.hN()))return A.O(a) +else if(B.a.E(a,$.hO()))return A.h4(a,!0) +else if(B.a.u(a,"/"))return A.h4(a,!1) +if(B.a.E(a,"\\"))return $.io().bL(a) +return A.O(a)}, +cg(a,b){var s,r try{s=b.$0() -return s}catch(r){if(H.av(r) instanceof P.aR)return new N.a6(P.H(null,"unparsed",null,null),a) +return s}catch(r){if(A.c3(r) instanceof A.aO)return new A.a5(A.E(null,"unparsed",null,null),a) else throw r}}, i:function i(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=d}, -dx:function dx(a){this.a=a}, -dv:function dv(a){this.a=a}, -dw:function dw(a){this.a=a}, +du:function du(a){this.a=a}, ds:function ds(a){this.a=a}, dt:function dt(a){this.a=a}, -du:function du(a){this.a=a}},N={a6:function a6(a,b){this.a=a -this.x=b}},D={ -kt:function(a){var s -H.j(a) -if($.fc==null)throw H.a(P.dO("Source maps are not done loading.")) -s=Y.eZ(a) -return O.ks($.fc,s,$.ir()).i(0)}, -kv:function(a){$.fc=new D.co(new T.cr(P.eS(t.N,t.E)),t.aa.a(a))}, -kq:function(){self.$dartStackTraceUtility={mapper:P.hz(D.kw(),t.cO),setSourceMapProvider:P.hz(D.kx(),t.bo)}}, -dq:function dq(){}, -co:function co(a,b){this.a=a +dp:function dp(a){this.a=a}, +dq:function dq(a){this.a=a}, +dr:function dr(a){this.a=a}, +cs:function cs(a){this.a=a +this.b=$}, +jb(a){if(t.a.b(a))return a +if(a instanceof A.ai)return a.bK() +return new A.cs(new A.dS(a))}, +eP(a){var s,r,q +try{if(a.length===0){r=A.eO(A.f([],t.F),null) +return r}if(B.a.E(a,$.ig())){r=A.ja(a) +return r}if(B.a.E(a,"\tat ")){r=A.j9(a) +return r}if(B.a.E(a,$.i8())||B.a.E(a,$.i6())){r=A.j8(a) +return r}if(B.a.E(a,u.a)){r=A.iy(a).bK() +return r}if(B.a.E(a,$.ia())){r=A.fO(a) +return r}r=A.fP(a) +return r}catch(q){r=A.c3(q) +if(r instanceof A.aO){s=r +throw A.a(A.q(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +jd(a){return A.fP(A.j(a))}, +fP(a){var s=A.a2(A.je(a),t.B) +return new A.t(s)}, +je(a){var s,r=B.a.b8(a),q=t.E.a($.fh()),p=t.U,o=new A.U(A.f(A.X(r,q,"").split("\n"),t.s),t.Q.a(new A.dT()),p) +if(!o.gB(o).n())return A.f([],t.F) +r=A.j7(o,o.gq(o)-1,p.i("e.E")) +q=A.z(r) +q=A.eL(r,q.i("i(e.E)").a(A.kv()),q.i("e.E"),t.B) +s=A.bq(q,!0,A.z(q).i("e.E")) +if(!J.ir(o.gK(o),".da"))B.b.k(s,A.fr(o.gK(o))) +return s}, +ja(a){var s,r,q=A.fM(A.f(a.split("\n"),t.s),1,null,t.N) +q=q.bS(0,q.$ti.i("a_(A.E)").a(new A.dR())) +s=t.B +r=q.$ti +s=A.a2(A.eL(q,r.i("i(e.E)").a(A.hA()),r.i("e.E"),s),s) +return new A.t(s)}, +j9(a){var s=A.a2(new A.T(new A.U(A.f(a.split("\n"),t.s),t.Q.a(new A.dQ()),t.U),t.d.a(A.hA()),t.M),t.B) +return new A.t(s)}, +j8(a){var s=A.a2(new A.T(new A.U(A.f(B.a.b8(a).split("\n"),t.s),t.Q.a(new A.dO()),t.U),t.d.a(A.kt()),t.M),t.B) +return new A.t(s)}, +jc(a){return A.fO(A.j(a))}, +fO(a){var s=a.length===0?A.f([],t.F):new A.T(new A.U(A.f(B.a.b8(a).split("\n"),t.s),t.Q.a(new A.dP()),t.U),t.d.a(A.ku()),t.M) +s=A.a2(s,t.B) +return new A.t(s)}, +eO(a,b){var s=A.a2(a,t.B) +return new A.t(s)}, +t:function t(a){this.a=a}, +dS:function dS(a){this.a=a}, +dT:function dT(){}, +dR:function dR(){}, +dQ:function dQ(){}, +dO:function dO(){}, +dP:function dP(){}, +dV:function dV(){}, +dU:function dU(a){this.a=a}, +a5:function a5(a,b){this.a=a +this.w=b}, +kH(a,b,c){var s=A.jb(b).ga7(),r=A.B(s) +return A.eO(A.fv(new A.o(s,r.i("i?(1)").a(new A.ev(a,c)),r.i("o<1,i?>")),t.B),null)}, +kh(a){var s,r,q,p,o,n,m,l=B.a.by(a,".") +if(l<0)return a +s=B.a.D(a,l+1) +a=s==="fn"?a:s +a=A.X(a,"$124","|") +if(B.a.E(a,"|")){r=B.a.ak(a,"|") +q=B.a.ak(a," ") +p=B.a.ak(a,"escapedPound") +if(q>=0){o=B.a.j(a,0,q)==="set" +a=B.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=B.a.j(a,n,p)==="set" +a=B.a.W(a,n,p+3,"")}else{m=B.a.j(a,n,a.length) +if(B.a.u(m,"unary")||B.a.u(m,"$"))a=A.kl(a) +o=!1}}a=A.X(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kl(a){return A.kO(a,A.m("\\$[0-9]+",!1),t.aE.a(t.bj.a(new A.el(a))),t.a2.a(null))}, +ev:function ev(a,b){this.a=a this.b=b}, -eH:function eH(){}, -et:function(){var s,r,q,p,o=null -try{o=P.f_()}catch(s){if(t.W.b(H.av(s))){r=$.ep +el:function el(a){this.a=a}, +kI(a){var s +A.j(a) +s=$.hr +if(s==null)throw A.a(A.dL("Source maps are not done loading.")) +return A.kH(s,A.eP(a),$.im()).h(0)}, +kK(a){$.hr=new A.cr(new A.ct(A.eK(t.N,t.c)),t.q.a(a))}, +kF(){self.$dartStackTraceUtility={mapper:A.hx(A.kL(),t.bm),setSourceMapProvider:A.hx(A.kM(),t.ae)}}, +dm:function dm(){}, +cr:function cr(a,b){this.a=a +this.b=b}, +ew:function ew(){}, +dc(a){return A.C(A.iU(a))}, +jY(a){var s,r=a.$dart_jsFunction +if(r!=null)return r +s=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(A.jV,a) +s[$.fd()]=a +a.$dart_jsFunction=s +return s}, +jV(a,b){t.j.a(b) +t.Z.a(a) +return A.iZ(a,b,null)}, +hx(a,b){if(typeof a=="function")return a +else return b.a(A.jY(a))}, +hF(a,b,c){A.kp(c,t.n,"T","max") +return Math.max(c.a(a),c.a(b))}, +hJ(a,b){return Math.pow(a,b)}, +fv(a,b){return A.iP(a,b,b)}, +iP(a,b,c){return A.kf(function(){var s=a,r=b +var q=0,p=1,o,n,m,l +return function $async$fv(d,e){if(d===1){o=e +q=p}while(true)switch(q){case 0:n=s.$ti,m=new A.a1(s,s.gq(s),n.i("a1")),n=n.i("A.E") +case 2:if(!m.n()){q=3 +break}l=m.d +if(l==null)l=n.a(l) +q=l!=null?4:5 +break +case 4:q=6 +return l +case 6:case 5:q=2 +break +case 3:return A.jn() +case 1:return A.jo(o)}}},c)}, +en(){var s,r,q,p,o=null +try{o=A.eQ()}catch(s){if(t.W.b(A.c3(s))){r=$.ei if(r!=null)return r -throw s}else throw s}if(J.I(o,$.hp)){r=$.ep +throw s}else throw s}if(J.Q(o,$.hl)){r=$.ei r.toString -return r}$.hp=o -if($.eI()==$.bc())r=$.ep=o.b4(".").i(0) +return r}$.hl=o +if($.ex()==$.b7())r=$.ei=o.b4(".").h(0) else{q=o.b5() p=q.length-1 -r=$.ep=p===0?q:C.a.j(q,0,p)}r.toString -return r}} -var w=[C,H,J,P,W,M,B,X,O,E,F,L,T,G,Y,V,U,A,N,D] -hunkHelpers.setFunctionNamesIfNecessary(w) +r=$.ei=p===0?q:B.a.j(q,0,p)}return r}, +hD(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +hE(a,b){var s=a.length,r=b+2 +if(s=0&&q4294967295)throw A.a(A.x(a,0,4294967295,"length",null)) +return J.iR(new Array(a),b)}, +fw(a,b){if(a<0)throw A.a(A.F("Length must be a non-negative integer: "+a)) +return A.f(new Array(a),b.i("u<0>"))}, +iR(a,b){return J.eG(A.f(a,b.i("u<0>")),b)}, +eG(a,b){a.fixed$length=Array +return a}, +fx(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fy(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +iS(a,b){var s,r +for(s=a.length;b0;b=s){s=b-1 +r=B.a.m(a,s) +if(r!==32&&r!==13&&!J.fy(r))break}return b}, +ag(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bn.prototype +return J.cl.prototype}if(typeof a=="string")return J.aw.prototype +if(a==null)return J.ck.prototype +if(typeof a=="boolean")return J.ci.prototype +if(a.constructor==Array)return J.u.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ak.prototype +return a}if(a instanceof A.r)return a +return J.f8(a)}, +aI(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(a.constructor==Array)return J.u.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ak.prototype +return a}if(a instanceof A.r)return a +return J.f8(a)}, +f7(a){if(a==null)return a +if(a.constructor==Array)return J.u.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ak.prototype +return a}if(a instanceof A.r)return a +return J.f8(a)}, +c0(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(!(a instanceof A.r))return J.aV.prototype +return a}, +Q(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.ag(a).H(a,b)}, +fi(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||A.kC(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b=s)throw H.a(P.aW(b,null)) +if(b>=s)throw A.a(A.dF(b,null)) return a.splice(b,1)[0]}, -aW:function(a,b,c){var s -H.A(a).c.a(c) -if(!!a.fixed$length)H.k(P.z("insert")) +aW(a,b,c){var s +A.B(a).c.a(c) +if(!!a.fixed$length)A.C(A.y("insert")) s=a.length -if(b>s)throw H.a(P.aW(b,null)) +if(b>s)throw A.a(A.dF(b,null)) a.splice(b,0,c)}, -aX:function(a,b,c){var s,r,q -H.A(a).h("f<1>").a(c) -if(!!a.fixed$length)H.k(P.z("insertAll")) +aX(a,b,c){var s,r,q +A.B(a).i("e<1>").a(c) +if(!!a.fixed$length)A.C(A.y("insertAll")) s=a.length -P.fM(b,0,s,"index") +A.fF(b,0,s,"index") r=c.length a.length=s+r q=b+r this.ba(a,q,a.length,a,b) -this.bN(a,b,q,c)}, -b3:function(a){if(!!a.fixed$length)H.k(P.z("removeLast")) -if(a.length===0)throw H.a(H.aj(a,-1)) +this.bP(a,b,q,c)}, +b3(a){if(!!a.fixed$length)A.C(A.y("removeLast")) +if(a.length===0)throw A.a(A.aq(a,-1)) return a.pop()}, -aP:function(a,b){H.A(a).h("f<1>").a(b) -if(!!a.fixed$length)H.k(P.z("addAll")) -this.c_(a,b) +aP(a,b){A.B(a).i("e<1>").a(b) +if(!!a.fixed$length)A.C(A.y("addAll")) +this.bZ(a,b) return}, -c_:function(a,b){var s,r +bZ(a,b){var s,r t.b.a(b) s=b.length if(s===0)return -if(a===b)throw H.a(P.a9(a)) +if(a===b)throw A.a(A.a7(a)) for(r=0;r").S(c).h("q<1,2>"))}, -X:function(a,b){var s,r=P.ap(a.length,"",!1,t.N) -for(s=0;s").S(c).i("o<1,2>"))}, +X(a,b){var s,r=A.am(a.length,"",!1,t.N) +for(s=0;s=a.length)return H.b(a,b) +az(a){return this.X(a,"")}, +P(a,b){if(!(b>=0&&b0)return a[0] -throw H.a(H.br())}, -gG:function(a){var s=a.length +gaS(a){if(a.length>0)return a[0] +throw A.a(A.ch())}, +gK(a){var s=a.length if(s>0)return a[s-1] -throw H.a(H.br())}, -ba:function(a,b,c,d,e){var s,r,q,p -H.A(a).h("f<1>").a(d) -if(!!a.immutable$list)H.k(P.z("setRange")) -P.af(b,c,a.length) +throw A.a(A.ch())}, +ba(a,b,c,d,e){var s,r,q,p +A.B(a).i("e<1>").a(d) +if(!!a.immutable$list)A.C(A.y("setRange")) +A.a4(b,c,a.length) s=c-b if(s===0)return -P.aX(e,"skipCount") +A.aS(e,"skipCount") r=d -q=J.a7(r) -if(e+s>q.gq(r))throw H.a(H.iR()) -if(e=0;--p)a[b+p]=q.p(r,e+p) -else for(p=0;pq.gq(r))throw A.a(A.iO()) +if(e=0;--p)a[b+p]=q.t(r,e+p) +else for(p=0;p"))}, -gE:function(a){return H.bD(a)}, -gq:function(a){return a.length}, -p:function(a,b){H.T(b) -if(!H.d9(b))throw H.a(H.aj(a,b)) -if(b>=a.length||b<0)throw H.a(H.aj(a,b)) +h(a){return A.fu(a,"[","]")}, +gB(a){return new J.as(a,a.length,A.B(a).i("as<1>"))}, +gF(a){return A.cE(a)}, +gq(a){return a.length}, +t(a,b){A.P(b) +if(!(b>=0&&b=a.length||b<0)throw H.a(H.aj(a,b)) +C(a,b,c){A.B(a).c.a(c) +if(!!a.immutable$list)A.C(A.y("indexed set")) +if(!(b>=0&&b=p){r.sbe(null) -return!1}r.sbe(q[s]);++r.c +if(s>=p){r.sbc(null) +return!1}r.sbc(q[s]);++r.c return!0}, -sbe:function(a){this.d=this.$ti.h("1?").a(a)}, -$iv:1} -J.bu.prototype={ -i:function(a){if(a===0&&1/a<0)return"-0.0" +sbc(a){this.d=this.$ti.i("1?").a(a)}, +$ik:1} +J.cm.prototype={ +h(a){if(a===0&&1/a<0)return"-0.0" else return""+a}, -gE:function(a){var s,r,q,p,o=a|0 +gF(a){var s,r,q,p,o=a|0 if(a===o)return o&536870911 s=Math.abs(a) r=Math.log(s)/0.6931471805599453|0 q=Math.pow(2,r) p=s<1?s/q:q/s return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, -aE:function(a,b){var s=a%b +aG(a,b){var s=a%b if(s===0)return 0 if(s>0)return s -if(b<0)return s-b -else return s+b}, -bq:function(a,b){return(a|0)===a?a/b|0:this.cg(a,b)}, -cg:function(a,b){var s=a/b +return s+b}, +bp(a,b){return(a|0)===a?a/b|0:this.cd(a,b)}, +cd(a,b){var s=a/b if(s>=-2147483648&&s<=2147483647)return s|0 if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) -throw H.a(P.z("Result of truncating division is "+H.d(s)+": "+H.d(a)+" ~/ "+b))}, -cc:function(a,b){return b>31?0:a<>>0}, -a1:function(a,b){var s -if(a>0)s=this.bp(a,b) +throw A.a(A.y("Result of truncating division is "+A.h(s)+": "+A.h(a)+" ~/ "+b))}, +c9(a,b){return b>31?0:a<>>0}, +a1(a,b){var s +if(a>0)s=this.bo(a,b) else{s=b>31?31:b s=a>>s>>>0}return s}, -cd:function(a,b){if(b<0)throw H.a(H.J(b)) -return this.bp(a,b)}, -bp:function(a,b){return b>31?0:a>>>b}, -$iaN:1} -J.bs.prototype={$ie:1} -J.ck.prototype={} -J.am.prototype={ -m:function(a,b){if(b<0)throw H.a(H.aj(a,b)) -if(b>=a.length)H.k(H.aj(a,b)) +ca(a,b){if(0>b)throw A.a(A.bZ(b)) +return this.bo(a,b)}, +bo(a,b){return b>31?0:a>>>b}, +$iaJ:1} +J.bn.prototype={$id:1} +J.cl.prototype={} +J.aw.prototype={ +m(a,b){if(b<0)throw A.a(A.aq(a,b)) +if(b>=a.length)A.C(A.aq(a,b)) return a.charCodeAt(b)}, -l:function(a,b){if(b>=a.length)throw H.a(H.aj(a,b)) +l(a,b){if(b>=a.length)throw A.a(A.aq(a,b)) return a.charCodeAt(b)}, -as:function(a,b,c){var s -if(typeof b!="string")H.k(H.J(b)) -s=b.length -if(c>s)throw H.a(P.y(c,0,s,null,null)) -return new H.d3(b,a,c)}, -ar:function(a,b){return this.as(a,b,0)}, -bB:function(a,b,c){var s,r,q=null -if(c<0||c>b.length)throw H.a(P.y(c,0,b.length,q,q)) +ar(a,b,c){var s=b.length +if(c>s)throw A.a(A.x(c,0,s,null,null)) +return new A.d5(b,a,c)}, +aq(a,b){return this.ar(a,b,0)}, +bB(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw A.a(A.x(c,0,b.length,q,q)) s=a.length if(c+s>b.length)return q for(r=0;rr)return!1 -return b===this.A(a,r-s)}, -bH:function(a,b,c){P.fM(0,0,a.length,"startIndex") -return H.kC(a,b,c,0)}, -ag:function(a,b){if(b==null)H.k(H.J(b)) -if(typeof b=="string")return H.h(a.split(b),t.s) -else if(b instanceof H.an&&b.gbn().exec("").length-2===0)return H.h(a.split(b.b),t.s) -else return this.c2(a,b)}, -W:function(a,b,c,d){var s=P.af(b,c,a.length) -return H.fk(a,b,s,d)}, -c2:function(a,b){var s,r,q,p,o,n,m=H.h([],t.s) -for(s=J.fr(b,a),s=s.gB(s),r=0,q=1;s.n();){p=s.gt() -o=p.gI() -n=p.gP() +return b===this.D(a,r-s)}, +bJ(a,b,c){t.E.a(b) +A.fF(0,0,a.length,"startIndex") +return A.kS(a,b,c,0)}, +ag(a,b){t.E.a(b) +if(typeof b=="string")return A.f(a.split(b),t.s) +else if(b instanceof A.aj&&b.gbl().exec("").length-2===0)return A.f(a.split(b.b),t.s) +else return this.c0(a,b)}, +W(a,b,c,d){var s=A.a4(b,c,a.length) +return A.fc(a,b,s,d)}, +c0(a,b){var s,r,q,p,o,n,m=A.f([],t.s) +for(s=J.ez(b,a),s=s.gB(s),r=0,q=1;s.n();){p=s.gp() +o=p.gJ() +n=p.gN() q=n-o if(q===0&&r===o)continue -C.b.k(m,this.j(a,r,o)) -r=n}if(r0)C.b.k(m,this.A(a,r)) +B.b.k(m,this.j(a,r,o)) +r=n}if(r0)B.b.k(m,this.D(a,r)) return m}, -D:function(a,b,c){var s -if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +v(a,b,c){var s +t.E.a(b) +if(c<0||c>a.length)throw A.a(A.x(c,0,a.length,null,null)) if(typeof b=="string"){s=c+b.length if(s>a.length)return!1 -return b===a.substring(c,s)}return J.ix(b,a,c)!=null}, -u:function(a,b){return this.D(a,b,0)}, -j:function(a,b,c){if(c==null)c=a.length -if(b<0)throw H.a(P.aW(b,null)) -if(b>c)throw H.a(P.aW(b,null)) -if(c>a.length)throw H.a(P.aW(c,null)) -return a.substring(b,c)}, -A:function(a,b){return this.j(a,b,null)}, -b8:function(a){var s,r,q,p=a.trim(),o=p.length +return b===a.substring(c,s)}return J.it(b,a,c)!=null}, +u(a,b){return this.v(a,b,0)}, +j(a,b,c){return a.substring(b,A.a4(b,c,a.length))}, +D(a,b){return this.j(a,b,null)}, +b8(a){var s,r,q,p=a.trim(),o=p.length if(o===0)return p -if(this.l(p,0)===133){s=J.iU(p,1) +if(this.l(p,0)===133){s=J.iS(p,1) if(s===o)return""}else s=0 r=o-1 -q=this.m(p,r)===133?J.iV(p,r):o +q=this.m(p,r)===133?J.iT(p,r):o if(s===0&&q===o)return p return p.substring(s,q)}, -b9:function(a,b){var s,r +b9(a,b){var s,r if(0>=b)return"" if(b===1||a.length===0)return a -if(b!==b>>>0)throw H.a(C.O) +if(b!==b>>>0)throw A.a(B.P) for(s=a,r="";!0;){if((b&1)===1)r=s+r b=b>>>1 if(b===0)break s+=s}return r}, -cB:function(a,b){var s -if(typeof b!=="number")return b.bc() -s=b-a.length +bF(a,b){var s=b-a.length if(s<=0)return a return a+this.b9(" ",s)}, -a0:function(a,b,c){var s -if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +a0(a,b,c){var s +if(c<0||c>a.length)throw A.a(A.x(c,0,a.length,null,null)) s=a.indexOf(b,c) return s}, -ak:function(a,b){return this.a0(a,b,0)}, -bz:function(a,b,c){var s,r +ak(a,b){return this.a0(a,b,0)}, +bz(a,b,c){var s,r if(c==null)c=a.length -else if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +else if(c<0||c>a.length)throw A.a(A.x(c,0,a.length,null,null)) s=b.length r=a.length if(c+s>r)c=r-s return a.lastIndexOf(b,c)}, -by:function(a,b){return this.bz(a,b,null)}, -C:function(a,b){if(b==null)H.k(H.J(b)) -return H.ky(a,b,0)}, -i:function(a){return a}, -gE:function(a){var s,r,q +by(a,b){return this.bz(a,b,null)}, +E(a,b){t.E.a(b) +return A.kN(a,b,0)}, +h(a){return a}, +gF(a){var s,r,q for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 r^=r>>11 return r+((r&16383)<<15)&536870911}, -gq:function(a){return a.length}, -p:function(a,b){H.T(b) -if(b>=a.length||b<0)throw H.a(H.aj(a,b)) +gq(a){return a.length}, +t(a,b){A.P(b) +if(!(b>=0&&b"))}, -X:function(a,b){var s,r,q,p=this,o=p.gq(p) +A.cq.prototype={ +h(a){return"LateInitializationError: "+this.a}} +A.aN.prototype={ +gq(a){return this.a.length}, +t(a,b){return B.a.m(this.a,A.P(b))}} +A.dG.prototype={} +A.n.prototype={} +A.A.prototype={ +gB(a){var s=this +return new A.a1(s,s.gq(s),A.z(s).i("a1"))}, +X(a,b){var s,r,q,p=this,o=p.gq(p) if(b.length!==0){if(o===0)return"" -s=H.d(p.O(0,0)) -if(o!==p.gq(p))throw H.a(P.a9(p)) -for(r=s,q=1;qs)throw H.a(P.y(r,0,s,"start",null))}}, -gc4:function(){var s=J.Q(this.a),r=this.c +if(s!=null){A.aS(s,"end") +if(r>s)throw A.a(A.x(r,0,s,"start",null))}}, +gc1(){var s=J.S(this.a),r=this.c if(r==null||r>s)return s return r}, -gcf:function(){var s=J.Q(this.a),r=this.b +gcc(){var s=J.S(this.a),r=this.b if(r>s)return s return r}, -gq:function(a){var s,r=J.Q(this.a),q=this.b +gq(a){var s,r=J.S(this.a),q=this.b if(q>=r)return 0 s=this.c if(s==null||s>=r)return r-q -if(typeof s!=="number")return s.bc() +if(typeof s!=="number")return s.cE() return s-q}, -O:function(a,b){var s=this,r=s.gcf()+b -if(b<0||r>=s.gc4())throw H.a(P.dy(b,s,"index",null,null)) -return J.fs(s.a,r)}} -H.ad.prototype={ -gt:function(){return this.d}, -n:function(){var s,r=this,q=r.a,p=J.a7(q),o=p.gq(q) -if(r.b!==o)throw H.a(P.a9(q)) +P(a,b){var s=this,r=s.gcc()+b +if(b<0||r>=s.gc1())throw A.a(A.eF(b,s.gq(s),s,"index")) +return J.fj(s.a,r)}} +A.a1.prototype={ +gp(){var s=this.d +return s==null?this.$ti.c.a(s):s}, +n(){var s,r=this,q=r.a,p=J.aI(q),o=p.gq(q) +if(r.b!==o)throw A.a(A.a7(q)) s=r.c if(s>=o){r.sY(null) -return!1}r.sY(p.O(q,s));++r.c +return!1}r.sY(p.P(q,s));++r.c return!0}, -sY:function(a){this.d=this.$ti.h("1?").a(a)}, -$iv:1} -H.X.prototype={ -gB:function(a){var s=H.x(this) -return new H.aC(J.U(this.a),this.b,s.h("@<1>").S(s.Q[1]).h("aC<1,2>"))}, -gq:function(a){return J.Q(this.a)}} -H.bj.prototype={$in:1} -H.aC.prototype={ -n:function(){var s=this,r=s.b -if(r.n()){s.sY(s.c.$1(r.gt())) +sY(a){this.d=this.$ti.i("1?").a(a)}, +$ik:1} +A.T.prototype={ +gB(a){var s=A.z(this) +return new A.ay(J.R(this.a),this.b,s.i("@<1>").S(s.z[1]).i("ay<1,2>"))}, +gq(a){return J.S(this.a)}} +A.bc.prototype={$in:1} +A.ay.prototype={ +n(){var s=this,r=s.b +if(r.n()){s.sY(s.c.$1(r.gp())) return!0}s.sY(null) return!1}, -gt:function(){return this.a}, -sY:function(a){this.a=this.$ti.h("2?").a(a)}} -H.q.prototype={ -gq:function(a){return J.Q(this.a)}, -O:function(a,b){return this.b.$1(J.fs(this.a,b))}} -H.O.prototype={ -gB:function(a){return new H.aL(J.U(this.a),this.b,this.$ti.h("aL<1>"))}} -H.aL.prototype={ -n:function(){var s,r -for(s=this.a,r=this.b;s.n();)if(H.bb(r.$1(s.gt())))return!0 +gp(){var s=this.a +return s==null?this.$ti.z[1].a(s):s}, +sY(a){this.a=this.$ti.i("2?").a(a)}} +A.o.prototype={ +gq(a){return J.S(this.a)}, +P(a,b){return this.b.$1(J.fj(this.a,b))}} +A.U.prototype={ +gB(a){return new A.aH(J.R(this.a),this.b,this.$ti.i("aH<1>"))}} +A.aH.prototype={ +n(){var s,r +for(s=this.a,r=this.b;s.n();)if(A.b6(r.$1(s.gp())))return!0 return!1}, -gt:function(){return this.a.gt()}} -H.bn.prototype={ -gB:function(a){var s=this.$ti -return new H.bo(J.U(this.a),this.b,C.G,s.h("@<1>").S(s.Q[1]).h("bo<1,2>"))}} -H.bo.prototype={ -gt:function(){return this.d}, -n:function(){var s,r,q=this +gp(){return this.a.gp()}} +A.bg.prototype={ +gB(a){var s=this.$ti +return new A.bh(J.R(this.a),this.b,B.H,s.i("@<1>").S(s.z[1]).i("bh<1,2>"))}} +A.bh.prototype={ +gp(){var s=this.d +return s==null?this.$ti.z[1].a(s):s}, +n(){var s,r,q=this if(q.c==null)return!1 for(s=q.a,r=q.b;!q.c.n();){q.sY(null) -if(s.n()){q.sbh(null) -q.sbh(J.U(r.$1(s.gt())))}else return!1}q.sY(q.c.gt()) +if(s.n()){q.sbg(null) +q.sbg(J.R(r.$1(s.gp())))}else return!1}q.sY(q.c.gp()) return!0}, -sbh:function(a){this.c=this.$ti.h("v<2>?").a(a)}, -sY:function(a){this.d=this.$ti.h("2?").a(a)}, -$iv:1} -H.aI.prototype={ -gB:function(a){return new H.bJ(J.U(this.a),this.b,H.x(this).h("bJ<1>"))}} -H.bk.prototype={ -gq:function(a){var s=J.Q(this.a),r=this.b +sbg(a){this.c=this.$ti.i("k<2>?").a(a)}, +sY(a){this.d=this.$ti.i("2?").a(a)}, +$ik:1} +A.aE.prototype={ +gB(a){return new A.bF(J.R(this.a),this.b,A.z(this).i("bF<1>"))}} +A.bd.prototype={ +gq(a){var s=J.S(this.a),r=this.b if(s>r)return r return s}, $in:1} -H.bJ.prototype={ -n:function(){if(--this.b>=0)return this.a.n() +A.bF.prototype={ +n(){if(--this.b>=0)return this.a.n() this.b=-1 return!1}, -gt:function(){if(this.b<0)return null -return this.a.gt()}} -H.bE.prototype={ -gB:function(a){return new H.bF(J.U(this.a),this.b,this.$ti.h("bF<1>"))}} -H.bF.prototype={ -n:function(){var s,r,q=this +gp(){if(this.b<0){this.$ti.c.a(null) +return null}return this.a.gp()}} +A.bz.prototype={ +gB(a){return new A.bA(J.R(this.a),this.b,this.$ti.i("bA<1>"))}} +A.bA.prototype={ +n(){var s,r,q=this if(!q.c){q.c=!0 -for(s=q.a,r=q.b;s.n();)if(!H.bb(r.$1(s.gt())))return!0}return q.a.n()}, -gt:function(){return this.a.gt()}} -H.bl.prototype={ -n:function(){return!1}, -gt:function(){throw H.a(H.br())}, -$iv:1} -H.bN.prototype={ -gB:function(a){return new H.bO(J.U(this.a),this.$ti.h("bO<1>"))}} -H.bO.prototype={ -n:function(){var s,r -for(s=this.a,r=this.$ti.c;s.n();)if(r.b(s.gt()))return!0 +for(s=q.a,r=q.b;s.n();)if(!A.b6(r.$1(s.gp())))return!0}return q.a.n()}, +gp(){return this.a.gp()}} +A.be.prototype={ +n(){return!1}, +gp(){throw A.a(A.ch())}, +$ik:1} +A.bJ.prototype={ +gB(a){return new A.bK(J.R(this.a),this.$ti.i("bK<1>"))}} +A.bK.prototype={ +n(){var s,r +for(s=this.a,r=this.$ti.c;s.n();)if(r.b(s.gp()))return!0 return!1}, -gt:function(){return this.$ti.c.a(this.a.gt())}, -$iv:1} -H.az.prototype={} -H.aK.prototype={ -w:function(a,b,c){H.x(this).h("aK.E").a(c) -throw H.a(P.z("Cannot modify an unmodifiable list"))}} -H.b3.prototype={} -H.b0.prototype={ -gE:function(a){var s=this._hashCode +gp(){return this.$ti.c.a(this.a.gp())}, +$ik:1} +A.au.prototype={} +A.aG.prototype={ +C(a,b,c){A.z(this).i("aG.E").a(c) +throw A.a(A.y("Cannot modify an unmodifiable list"))}} +A.aW.prototype={} +A.aT.prototype={ +gF(a){var s=this._hashCode if(s!=null)return s -s=664597*J.bd(this.a)&536870911 +s=664597*J.aL(this.a)&536870911 this._hashCode=s return s}, -i:function(a){return'Symbol("'+H.d(this.a)+'")'}, -M:function(a,b){if(b==null)return!1 -return b instanceof H.b0&&this.a==b.a}, -$iaH:1} -H.bh.prototype={} -H.bg.prototype={ -i:function(a){return P.dD(this)}, +h(a){return'Symbol("'+A.h(this.a)+'")'}, +H(a,b){if(b==null)return!1 +return b instanceof A.aT&&this.a==b.a}, +$iaD:1} +A.ba.prototype={} +A.b9.prototype={ +h(a){return A.dz(this)}, $iM:1} -H.bi.prototype={ -gq:function(a){return this.a}, -J:function(a){if("__proto__"===a)return!1 +A.bb.prototype={ +gq(a){return this.a}, +L(a){if("__proto__"===a)return!1 return this.b.hasOwnProperty(a)}, -p:function(a,b){if(!this.J(b))return null -return this.bj(b)}, -bj:function(a){return this.b[H.j(a)]}, -T:function(a,b){var s,r,q,p,o=H.x(this) -o.h("~(1,2)").a(b) +t(a,b){if(!this.L(b))return null +return this.b[b]}, +T(a,b){var s,r,q,p,o,n=this.$ti +n.i("~(1,2)").a(b) s=this.c -for(r=s.length,o=o.Q[1],q=0;q" -return H.d(this.a)+" with "+s}} -H.bp.prototype={ -$2:function(a,b){return this.a.$1$2(a,b,this.$ti.Q[0])}, -$S:function(){return H.km(H.fg(this.a),this.$ti)}} -H.cj.prototype={ -gbC:function(){var s=this.a +for(r=s.length,q=this.b,n=n.z[1],p=0;p")}} +A.bk.prototype={ +$2(a,b){return this.a.$1$2(a,b,this.$ti.z[0])}, +$S(){return A.kB(A.f4(this.a),this.$ti)}} +A.cj.prototype={ +gbC(){var s=this.a return s}, -gbF:function(){var s,r,q,p,o=this -if(o.c===1)return C.x +gbH(){var s,r,q,p,o=this +if(o.c===1)return B.y s=o.d r=s.length-o.e.length-o.f -if(r===0)return C.x +if(r===0)return B.y q=[] -for(p=0;p=s.length)return H.b(s,p) -q.push(s[p])}return J.fF(q)}, -gbD:function(){var s,r,q,p,o,n,m,l,k=this -if(k.c!==0)return C.B +for(p=0;p=s.length)return H.b(s,n) +if(r===0)return B.C +o=new A.ax(t.bV) +for(n=0;n=q.length)return H.b(q,l) -o.w(0,new H.b0(m),q[l])}return new H.bh(o,t.Y)}, -$ifC:1} -H.dI.prototype={ -$2:function(a,b){var s -H.j(a) +if(!(l>=0&&l>>0}, -i:function(a){var s=this.c -if(s==null)s=this.a -return"Closure '"+H.d(this.d)+"' of "+("Instance of '"+H.d(H.dJ(s))+"'")}} -H.cE.prototype={ -i:function(a){return"RuntimeError: "+this.a}} -H.cX.prototype={ -i:function(a){return"Assertion failed: "+P.ay(this.a)}} -H.ed.prototype={} -H.aB.prototype={ -gq:function(a){return this.a}, -ga9:function(){return new H.ac(this,H.x(this).h("ac<1>"))}, -gcG:function(){var s=H.x(this) -return H.eU(new H.ac(this,s.h("ac<1>")),new H.dA(this),s.c,s.Q[1])}, -J:function(a){var s,r -if(typeof a=="string"){s=this.b -if(s==null)return!1 -return this.c1(s,a)}else{r=this.cs(a) -return r}}, -cs:function(a){var s=this.d +return"Closure '"+A.hM(s)+"'"}} +A.aM.prototype={ +H(a,b){if(b==null)return!1 +if(this===b)return!0 +if(!(b instanceof A.aM))return!1 +return this.$_target===b.$_target&&this.a===b.a}, +gF(a){return(A.hG(this.a)^A.cE(this.$_target))>>>0}, +h(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.dE(this.a)+"'")}} +A.cF.prototype={ +h(a){return"RuntimeError: "+this.a}} +A.cZ.prototype={ +h(a){return"Assertion failed: "+A.at(this.a)}} +A.e5.prototype={} +A.ax.prototype={ +gq(a){return this.a}, +ga9(){return new A.aa(this,A.z(this).i("aa<1>"))}, +gcC(){var s=A.z(this) +return A.eL(new A.aa(this,s.i("aa<1>")),new A.dw(this),s.c,s.z[1])}, +L(a){var s=this.b if(s==null)return!1 -return this.aY(this.aI(s,J.bd(a)&0x3ffffff),a)>=0}, -p:function(a,b){var s,r,q,p,o=this,n=null -if(typeof b=="string"){s=o.b -if(s==null)return n -r=o.ap(s,b) -q=r==null?n:r.b -return q}else if(typeof b=="number"&&(b&0x3ffffff)===b){p=o.c -if(p==null)return n -r=o.ap(p,b) -q=r==null?n:r.b -return q}else return o.ct(b)}, -ct:function(a){var s,r,q=this.d +return s[a]!=null}, +t(a,b){var s,r,q,p,o=null +if(typeof b=="string"){s=this.b +if(s==null)return o +r=s[b] +q=r==null?o:r.b +return q}else if(typeof b=="number"&&(b&0x3fffffff)===b){p=this.c +if(p==null)return o +r=p[b] +q=r==null?o:r.b +return q}else return this.cp(b)}, +cp(a){var s,r,q=this.d if(q==null)return null -s=this.aI(q,J.bd(a)&0x3ffffff) -r=this.aY(s,a) +s=q[this.bv(a)] +r=this.bw(s,a) if(r<0)return null return s[r].b}, -w:function(a,b,c){var s,r,q,p,o,n,m=this,l=H.x(m) -l.c.a(b) -l.Q[1].a(c) -if(typeof b=="string"){s=m.b -m.bg(s==null?m.b=m.aJ():s,b,c)}else if(typeof b=="number"&&(b&0x3ffffff)===b){r=m.c -m.bg(r==null?m.c=m.aJ():r,b,c)}else{q=m.d -if(q==null)q=m.d=m.aJ() -p=J.bd(b)&0x3ffffff -o=m.aI(q,p) -if(o==null)m.aM(q,p,[m.aK(b,c)]) -else{n=m.aY(o,b) -if(n>=0)o[n].b=c -else o.push(m.aK(b,c))}}}, -T:function(a,b){var s,r,q=this -H.x(q).h("~(1,2)").a(b) +C(a,b,c){var s,r,q=this,p=A.z(q) +p.c.a(b) +p.z[1].a(c) +if(typeof b=="string"){s=q.b +q.be(s==null?q.b=q.aK():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=q.c +q.be(r==null?q.c=q.aK():r,b,c)}else q.cq(b,c)}, +cq(a,b){var s,r,q,p,o=this,n=A.z(o) +n.c.a(a) +n.z[1].a(b) +s=o.d +if(s==null)s=o.d=o.aK() +r=o.bv(a) +q=s[r] +if(q==null)s[r]=[o.aL(a,b)] +else{p=o.bw(q,a) +if(p>=0)q[p].b=b +else q.push(o.aL(a,b))}}, +T(a,b){var s,r,q=this +A.z(q).i("~(1,2)").a(b) s=q.e r=q.r for(;s!=null;){b.$2(s.a,s.b) -if(r!==q.r)throw H.a(P.a9(q)) +if(r!==q.r)throw A.a(A.a7(q)) s=s.c}}, -bg:function(a,b,c){var s,r=this,q=H.x(r) -q.c.a(b) -q.Q[1].a(c) -s=r.ap(a,b) -if(s==null)r.aM(a,b,r.aK(b,c)) +be(a,b,c){var s,r=A.z(this) +r.c.a(b) +r.z[1].a(c) +s=a[b] +if(s==null)a[b]=this.aL(b,c) else s.b=c}, -aK:function(a,b){var s=this,r=H.x(s),q=new H.dC(r.c.a(a),r.Q[1].a(b)) +aL(a,b){var s=this,r=A.z(s),q=new A.dx(r.c.a(a),r.z[1].a(b)) if(s.e==null)s.e=s.f=q else s.f=s.f.c=q;++s.a -s.r=s.r+1&67108863 +s.r=s.r+1&1073741823 return q}, -aY:function(a,b){var s,r +bv(a){return J.aL(a)&0x3fffffff}, +bw(a,b){var s,r if(a==null)return-1 s=a.length -for(r=0;r")) +h(a){return A.dz(this)}, +aK(){var s=Object.create(null) +s[""]=s +delete s[""] +return s}} +A.dw.prototype={ +$1(a){var s=this.a,r=A.z(s) +s=s.t(0,r.c.a(a)) +return s==null?r.z[1].a(s):s}, +$S(){return A.z(this.a).i("2(1)")}} +A.dx.prototype={} +A.aa.prototype={ +gq(a){return this.a.a}, +gB(a){var s=this.a,r=new A.bo(s,s.r,this.$ti.i("bo<1>")) r.c=s.e return r}, -C:function(a,b){return this.a.J(b)}} -H.bw.prototype={ -gt:function(){return this.d}, -n:function(){var s,r=this,q=r.a -if(r.b!==q.r)throw H.a(P.a9(q)) +E(a,b){return this.a.L(b)}} +A.bo.prototype={ +gp(){return this.d}, +n(){var s,r=this,q=r.a +if(r.b!==q.r)throw A.a(A.a7(q)) s=r.c -if(s==null){r.sbf(null) -return!1}else{r.sbf(s.a) +if(s==null){r.sbd(null) +return!1}else{r.sbd(s.a) r.c=s.c return!0}}, -sbf:function(a){this.d=this.$ti.h("1?").a(a)}, -$iv:1} -H.ez.prototype={ -$1:function(a){return this.a(a)}, +sbd(a){this.d=this.$ti.i("1?").a(a)}, +$ik:1} +A.eq.prototype={ +$1(a){return this.a(a)}, +$S:11} +A.er.prototype={ +$2(a,b){return this.a(a,b)}, +$S:12} +A.es.prototype={ +$1(a){return this.a(A.j(a))}, $S:13} -H.eA.prototype={ -$2:function(a,b){return this.a(a,b)}, -$S:24} -H.eB.prototype={ -$1:function(a){return this.a(H.j(a))}, -$S:27} -H.an.prototype={ -i:function(a){return"RegExp/"+this.a+"/"+this.b.flags}, -gbo:function(){var s=this,r=s.c +A.aj.prototype={ +h(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbm(){var s=this,r=s.c if(r!=null)return r r=s.b -return s.c=H.eP(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -gbn:function(){var s=this,r=s.d +return s.c=A.eH(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbl(){var s=this,r=s.d if(r!=null)return r r=s.b -return s.d=H.eP(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -a_:function(a){var s -if(typeof a!="string")H.k(H.J(a)) -s=this.b.exec(a) +return s.d=A.eH(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a_(a){var s=this.b.exec(a) if(s==null)return null -return new H.b4(s)}, -as:function(a,b,c){var s=b.length -if(c>s)throw H.a(P.y(c,0,s,null,null)) -return new H.cW(this,b,c)}, -ar:function(a,b){return this.as(a,b,0)}, -bi:function(a,b){var s,r=this.gbo() +return new A.aY(s)}, +ar(a,b,c){var s=b.length +if(c>s)throw A.a(A.x(c,0,s,null,null)) +return new A.cY(this,b,c)}, +aq(a,b){return this.ar(a,b,0)}, +bh(a,b){var s,r=this.gbm() +if(r==null)r=t.K.a(r) r.lastIndex=b s=r.exec(a) if(s==null)return null -return new H.b4(s)}, -c5:function(a,b){var s,r=this.gbn() +return new A.aY(s)}, +c2(a,b){var s,r=this.gbl() +if(r==null)r=t.K.a(r) r.lastIndex=b s=r.exec(a) if(s==null)return null -if(0>=s.length)return H.b(s,-1) +if(0>=s.length)return A.b(s,-1) if(s.pop()!=null)return null -return new H.b4(s)}, -bB:function(a,b,c){if(c<0||c>b.length)throw H.a(P.y(c,0,b.length,null,null)) -return this.c5(b,c)}, -$idH:1} -H.b4.prototype={ -gI:function(){return this.b.index}, -gP:function(){var s=this.b +return new A.aY(s)}, +bB(a,b,c){if(c<0||c>b.length)throw A.a(A.x(c,0,b.length,null,null)) +return this.c2(b,c)}, +$icB:1} +A.aY.prototype={ +gJ(){return this.b.index}, +gN(){var s=this.b return s.index+s[0].length}, -p:function(a,b){var s -H.T(b) +t(a,b){var s +A.P(b) s=this.b -if(b>=s.length)return H.b(s,b) +if(!(b=55296&&s<=56319){s=C.a.m(m,q) +if(q=55296&&s<=56319){s=B.a.m(m,q) s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 o=(s?o+1:o)+1}n.c=o return!0}}n.b=n.d=null return!1}, -$iv:1} -H.bI.prototype={ -gP:function(){return this.a+this.c.length}, -p:function(a,b){H.T(b) -if(b!==0)H.k(P.aW(b,null)) +$ik:1} +A.bE.prototype={ +gN(){return this.a+this.c.length}, +t(a,b){A.P(b) +if(b!==0)A.C(A.dF(b,null)) return this.c}, -$ia4:1, -gI:function(){return this.a}} -H.d3.prototype={ -gB:function(a){return new H.d4(this.a,this.b,this.c)}} -H.d4.prototype={ -n:function(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length +$ia3:1, +gJ(){return this.a}} +A.d5.prototype={ +gB(a){return new A.d6(this.a,this.b,this.c)}} +A.d6.prototype={ +n(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length if(p+n>l){q.d=null return!1}s=m.indexOf(o,p) if(s<0){q.c=l+1 q.d=null return!1}r=s+n -q.d=new H.bI(s,o) +q.d=new A.bE(s,o) q.c=r===q.c?r+1:r return!0}, -gt:function(){var s=this.d +gp(){var s=this.d s.toString return s}, -$iv:1} -H.cu.prototype={} -H.aV.prototype={ -gq:function(a){return a.length}, -$iaT:1} -H.bz.prototype={ -w:function(a,b,c){H.T(c) -H.ek(b,a,a.length) +$ik:1} +A.cw.prototype={} +A.aR.prototype={ +gq(a){return a.length}, +$iaP:1} +A.bs.prototype={ +C(a,b,c){A.P(c) +A.ed(b,a,a.length) a[b]=c}, $in:1, -$if:1, +$ie:1, $il:1} -H.ct.prototype={ -p:function(a,b){H.T(b) -H.ek(b,a,a.length) +A.cv.prototype={ +t(a,b){A.P(b) +A.ed(b,a,a.length) return a[b]}} -H.cv.prototype={ -p:function(a,b){H.T(b) -H.ek(b,a,a.length) +A.cx.prototype={ +t(a,b){A.P(b) +A.ed(b,a,a.length) return a[b]}, -$ije:1} -H.aD.prototype={ -gq:function(a){return a.length}, -p:function(a,b){H.T(b) -H.ek(b,a,a.length) +$ijf:1} +A.az.prototype={ +gq(a){return a.length}, +t(a,b){A.P(b) +A.ed(b,a,a.length) return a[b]}, -$iaD:1, -$iaJ:1} -H.bR.prototype={} -H.bS.prototype={} -H.a5.prototype={ -h:function(a){return H.d8(v.typeUniverse,this,a)}, -S:function(a){return H.jy(v.typeUniverse,this,a)}} -H.d_.prototype={} -H.d5.prototype={ -i:function(a){return H.P(this.a,null)}} -H.cZ.prototype={ -i:function(a){return this.a}} -H.bT.prototype={} -P.cK.prototype={} -P.bq.prototype={} -P.bx.prototype={$in:1,$if:1,$il:1} -P.w.prototype={ -gB:function(a){return new H.ad(a,this.gq(a),H.a1(a).h("ad"))}, -O:function(a,b){return this.p(a,b)}, -gbw:function(a){return this.gq(a)!==0}, -gG:function(a){if(this.gq(a)===0)throw H.a(H.br()) -return this.p(a,this.gq(a)-1)}, -bA:function(a,b,c){var s=H.a1(a) -return new H.q(a,s.S(c).h("1(w.E)").a(b),s.h("@").S(c).h("q<1,2>"))}, -bb:function(a,b){return H.eX(a,b,null,H.a1(a).h("w.E"))}, -b7:function(a,b){var s,r,q,p,o=this -if(o.gq(a)===0){s=J.fE(0,H.a1(a).h("w.E")) -return s}r=o.p(a,0) -q=P.ap(o.gq(a),r,!0,H.a1(a).h("w.E")) -for(p=1;p");!0;){r=m.c +if(r!=null)if(r.n())return!0 +else m.sbn(null) +q=function(a,b,c){var l,k=b +while(true)try{return a(k,l)}catch(j){l=j +k=c}}(m.a,0,1) +if(q instanceof A.aX){p=q.b +if(p===2){o=m.d +if(o==null||o.length===0){m.sbf(null) +return!1}if(0>=o.length)return A.b(o,-1) +m.a=o.pop() +continue}else{r=q.a +if(p===3)throw r +else{n=s.a(J.R(r)) +if(n instanceof A.b0){r=m.d +if(r==null)r=m.d=[] +B.b.k(r,m.a) +m.a=n.a +continue}else{m.sbn(n) +continue}}}}else{m.sbf(q) +return!0}}return!1}, +sbf(a){this.b=this.$ti.i("1?").a(a)}, +sbn(a){this.c=this.$ti.i("k<1>?").a(a)}, +$ik:1} +A.bP.prototype={ +gB(a){return new A.b0(this.a(),this.$ti.i("b0<1>"))}} +A.cL.prototype={} +A.bm.prototype={} +A.bp.prototype={$in:1,$ie:1,$il:1} +A.w.prototype={ +gB(a){return new A.a1(a,this.gq(a),A.a6(a).i("a1"))}, +P(a,b){return this.t(a,b)}, +bA(a,b,c){var s=A.a6(a) +return new A.o(a,s.S(c).i("1(w.E)").a(b),s.i("@").S(c).i("o<1,2>"))}, +b7(a,b){var s,r,q,p,o=this +if(o.gq(a)===0){s=J.fw(0,A.a6(a).i("w.E")) +return s}r=o.t(a,0) +q=A.am(o.gq(a),r,!0,A.a6(a).i("w.E")) +for(p=1;p"))}return new P.d1(this)}, -J:function(a){if(this.b==null)return this.c.J(a) +return typeof s=="undefined"?this.c8(b):s}}, +gq(a){return this.b==null?this.c.a:this.ao().length}, +ga9(){if(this.b==null){var s=this.c +return new A.aa(s,A.z(s).i("aa<1>"))}return new A.d3(this)}, +L(a){if(this.b==null)return this.c.L(a) return Object.prototype.hasOwnProperty.call(this.a,a)}, -T:function(a,b){var s,r,q,p,o=this +T(a,b){var s,r,q,p,o=this t.cQ.a(b) if(o.b==null)return o.c.T(0,b) s=o.ao() for(r=0;r=s.length)return H.b(s,b) +if(!(b>=0&&b"))}return s}, -C:function(a,b){return this.a.J(b)}} -P.e9.prototype={ -$0:function(){var s,r +s=new J.as(s,s.length,A.B(s).i("as<1>"))}return s}, +E(a,b){return this.a.L(b)}} +A.e1.prototype={ +$0(){var s,r try{s=new TextDecoder("utf-8",{fatal:true}) -return s}catch(r){H.av(r)}return null}, +return s}catch(r){}return null}, $S:4} -P.e8.prototype={ -$0:function(){var s,r +A.e0.prototype={ +$0(){var s,r try{s=new TextDecoder("utf-8",{fatal:false}) -return s}catch(r){H.av(r)}return null}, +return s}catch(r){}return null}, $S:4} -P.c7.prototype={ -co:function(a){return C.D.ah(a)}} -P.d6.prototype={ -ah:function(a){var s,r,q,p,o,n,m -H.j(a) -s=P.af(0,null,a.length) -r=s-0 -q=new Uint8Array(r) -for(p=~this.a,o=J.F(a),n=0;n=r)return H.b(q,n) -q[n]=m}return q}} -P.c8.prototype={} -P.c9.prototype={ -cA:function(a0,a1,a2){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a="Invalid base64 encoding length " -a2=P.af(a1,a2,a0.length) -s=$.i7() -for(r=a1,q=r,p=null,o=-1,n=-1,m=0;r=s.length)return H.b(s,g) -f=s[g] -if(f>=0){g=C.a.m(u.n,f) -if(g===k)continue -k=g}else{if(f===-1){if(o<0){e=p==null?null:p.a.length -if(e==null)e=0 -o=e+(r-q) -n=r}++m -if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new P.C("") -e=p}else e=p -e.a+=C.a.j(a0,q,r) -e.a+=H.N(k) -q=l -continue}}throw H.a(P.r("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=C.a.j(a0,q,a2) -d=e.length -if(o>=0)P.fv(a0,n,a2,o,m,d) -else{c=C.c.aE(d-1,4)+1 -if(c===1)throw H.a(P.r(a,a0,a2)) -for(;c<4;){e+="=" -p.a=e;++c}}e=p.a -return C.a.W(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 -if(o>=0)P.fv(a0,n,a2,o,m,b) -else{c=C.c.aE(b,4) -if(c===1)throw H.a(P.r(a,a0,a2)) -if(c>1)a0=C.a.W(a0,a2,a2,c===2?"==":"=")}return a0}} -P.ca.prototype={} -P.L.prototype={} -P.eb.prototype={} -P.aa.prototype={} -P.ce.prototype={} -P.cm.prototype={ -ck:function(a,b){var s -t.e.a(b) -s=P.k4(a,this.gcm().a) +A.c5.prototype={ +cl(a){return B.E.ah(a)}} +A.d8.prototype={ +ah(a){var s,r,q,p,o +A.j(a) +s=A.a4(0,null,a.length)-0 +r=new Uint8Array(s) +for(q=~this.a,p=0;p=0&&f=0){f=B.a.m(u.n,e) +if(f===j)continue +j=f}else{if(e===-1){if(n<0){d=o==null?null:o.a.length +if(d==null)d=0 +n=d+(q-p) +m=q}++l +if(j===61)continue}j=f}if(e!==-2){if(o==null){o=new A.D("") +d=o}else d=o +c=d.a+=B.a.j(a1,p,q) +d.a=c+A.K(j) +p=k +continue}}throw A.a(A.q("Invalid base64 data",a1,q))}if(o!=null){r=o.a+=B.a.j(a1,p,a3) +d=r.length +if(n>=0)A.fl(a1,m,a3,n,l,d) +else{b=B.c.aG(d-1,4)+1 +if(b===1)throw A.a(A.q(a0,a1,a3)) +for(;b<4;){r+="=" +o.a=r;++b}}r=o.a +return B.a.W(a1,a2,a3,r.charCodeAt(0)==0?r:r)}a=a3-a2 +if(n>=0)A.fl(a1,m,a3,n,l,a) +else{b=B.c.aG(a,4) +if(b===1)throw A.a(A.q(a0,a1,a3)) +if(b>1)a1=B.a.W(a1,a3,a3,b===2?"==":"=")}return a1}} +A.c9.prototype={} +A.J.prototype={} +A.e3.prototype={} +A.a8.prototype={} +A.cf.prototype={} +A.co.prototype={ +cg(a,b){var s +t.cW.a(b) +s=A.kg(a,this.gcj().a) return s}, -gcm:function(){return C.T}} -P.cn.prototype={} -P.cS.prototype={ -gcp:function(){return C.P}} -P.cU.prototype={ -ah:function(a){var s,r,q,p,o -H.j(a) -s=P.af(0,null,a.length) +gcj(){return B.U}} +A.cp.prototype={} +A.cU.prototype={ +gcm(){return B.Q}} +A.cW.prototype={ +ah(a){var s,r,q,p,o +A.j(a) +s=A.a4(0,null,a.length) r=s-0 if(r===0)return new Uint8Array(0) q=r*3 p=new Uint8Array(q) -o=new P.ei(p) -if(o.c6(a,0,s)!==s){J.c4(a,s-1) -o.aN()}return new Uint8Array(p.subarray(0,H.jP(0,o.b,q)))}} -P.ei.prototype={ -aN:function(){var s=this,r=s.c,q=s.b,p=s.b=q+1,o=r.length -if(q>=o)return H.b(r,q) +o=new A.ea(p) +if(o.c3(a,0,s)!==s){B.a.m(a,s-1) +o.aN()}return new Uint8Array(p.subarray(0,A.jX(0,o.b,q)))}} +A.ea.prototype={ +aN(){var s=this,r=s.c,q=s.b,p=s.b=q+1,o=r.length +if(!(q=o)return H.b(r,p) +if(!(p=o)return H.b(r,q) +if(!(q=o)return H.b(r,q) +if(!(q>>18|240 q=n.b=p+1 -if(p>=o)return H.b(r,p) +if(!(p>>12&63|128 p=n.b=q+1 -if(q>=o)return H.b(r,q) +if(!(q>>6&63|128 n.b=p+1 -if(p>=o)return H.b(r,p) +if(!(p=r)break l.b=o+1 s[o]=p}else{o=p&64512 if(o===55296){if(l.b+4>r)break n=q+1 -if(l.ci(p,C.a.l(a,n)))q=n}else if(o===56320){if(l.b+3>r)break +if(l.ce(p,B.a.l(a,n)))q=n}else if(o===56320){if(l.b+3>r)break l.aN()}else if(p<=2047){o=l.b m=o+1 if(m>=r)break l.b=m -if(o>=r)return H.b(s,o) +if(!(o>>6|192 l.b=m+1 s[m]=p&63|128}else{o=l.b if(o+2>=r)break m=l.b=o+1 -if(o>=r)return H.b(s,o) +if(!(o>>12|224 o=l.b=m+1 -if(m>=r)return H.b(s,m) +if(!(m>>6&63|128 l.b=o+1 -if(o>=r)return H.b(s,o) +if(!(o1000){s=C.c.bq(b+c,2) -r=q.aF(a,b,s,!1) +throw A.a(A.q(n,a,q+m.c))}return p}, +aH(a,b,c,d){var s,r,q=this +if(c-b>1000){s=B.c.bp(b+c,2) +r=q.aH(a,b,s,!1) if((q.b&1)!==0)return r -return r+q.aF(a,s,c,d)}return q.cl(a,b,c,d)}, -cl:function(a,b,c,d){var s,r,q,p,o,n,m,l,k=this,j=65533,i=k.b,h=k.c,g=new P.C(""),f=b+1,e=a.length -if(b<0||b>=e)return H.b(a,b) +return r+q.aH(a,s,c,d)}return q.ci(a,b,c,d)}, +ci(a,b,c,d){var s,r,q,p,o,n,m,l,k=this,j=65533,i=k.b,h=k.c,g=new A.D(""),f=b+1,e=a.length +if(!(b>=0&&b>>q:(s&63|h<<6)>>>0 -i=C.a.l(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",i+q) -if(i===0){g.a+=H.N(h) +i=B.a.l(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",i+q) +if(i===0){g.a+=A.K(h) if(f===c)break $label0$0 -break}else if((i&1)!==0){if(r)switch(i){case 69:case 67:g.a+=H.N(j) +break}else if((i&1)!==0){if(r)switch(i){case 69:case 67:g.a+=A.K(j) break -case 65:g.a+=H.N(j);--f +case 65:g.a+=A.K(j);--f break -default:p=g.a+=H.N(j) -g.a=p+H.N(j) +default:p=g.a+=A.K(j) +g.a=p+A.K(j) break}else{k.b=i k.c=f-1 return""}i=0}if(f===c)break $label0$0 o=f+1 -if(f<0||f>=e)return H.b(a,f) +if(!(f>=0&&f=e)return H.b(a,f) +if(!(f>=0&&f=e)return H.b(a,o) +if(!(o>=0&&o=128){n=m-1 o=m -break}o=m}if(n-f<20)for(l=f;l=e)return H.b(a,l) -g.a+=H.N(a[l])}else g.a+=P.fR(a,f,n) +break}o=m}if(n-f<20)for(l=f;l32)if(r)g.a+=H.N(j) +f=o}else f=o}if(d&&i>32)if(r)g.a+=A.K(j) else{k.b=77 k.c=c return""}k.b=i k.c=h e=g.a return e.charCodeAt(0)==0?e:e}} -P.dF.prototype={ -$2:function(a,b){var s,r,q +A.dB.prototype={ +$2(a,b){var s,r,q t.cm.a(a) s=this.b r=this.a -s.a+=r.a -q=s.a+=H.d(a.a) +q=s.a+=r.a +q+=a.a +s.a=q s.a=q+": " -s.a+=P.ay(b) +s.a+=A.at(b) r.a=", "}, -$S:21} -P.o.prototype={} -P.be.prototype={ -i:function(a){var s=this.a -if(s!=null)return"Assertion failed: "+P.ay(s) +$S:15} +A.p.prototype={} +A.b8.prototype={ +h(a){var s=this.a +if(s!=null)return"Assertion failed: "+A.at(s) return"Assertion failed"}} -P.cM.prototype={} -P.cx.prototype={ -i:function(a){return"Throw of null."}} -P.a2.prototype={ -gaH:function(){return"Invalid argument"+(!this.a?"(s)":"")}, -gaG:function(){return""}, -i:function(a){var s,r,q=this,p=q.c,o=p==null?"":" ("+p+")",n=q.d,m=n==null?"":": "+H.d(n),l=q.gaH()+o+m -if(!q.a)return l -s=q.gaG() -r=P.ay(q.b) -return l+s+": "+r}} -P.ae.prototype={ -gaH:function(){return"RangeError"}, -gaG:function(){var s,r=this.e,q=this.f -if(r==null)s=q!=null?": Not less than or equal to "+H.d(q):"" -else if(q==null)s=": Not greater than or equal to "+H.d(r) -else if(q>r)s=": Not in inclusive range "+H.d(r)+".."+H.d(q) -else s=qr)s=": Not in inclusive range "+A.h(r)+".."+A.h(q) +else s=qd.length +return"Concurrent modification during iteration: "+A.at(s)+"."}} +A.cA.prototype={ +h(a){return"Out of Memory"}, +$ip:1} +A.bD.prototype={ +h(a){return"Stack Overflow"}, +$ip:1} +A.ce.prototype={ +h(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.aO.prototype={ +h(a){var s,r,q,p,o,n,m,l,k,j,i,h=this.a,g=""!==h?"FormatException: "+h:"FormatException",f=this.c,e=this.b +if(typeof e=="string"){if(f!=null)s=f<0||f>e.length else s=!1 -if(s)e=null -if(e==null){if(d.length>78)d=C.a.j(d,0,75)+"..." -return f+"\n"+d}for(r=1,q=0,p=!1,o=0;o78)e=B.a.j(e,0,75)+"..." +return g+"\n"+e}for(r=1,q=0,p=!1,o=0;o1?f+(" (at line "+r+", character "+(e-q+1)+")\n"):f+(" (at character "+(e+1)+")\n") -m=d.length -for(o=e;o1?g+(" (at line "+r+", character "+(f-q+1)+")\n"):g+(" (at character "+(f+1)+")\n") +m=e.length +for(o=f;o78)if(e-q<75){l=q+75 +break}}if(m-q>78)if(f-q<75){l=q+75 k=q j="" -i="..."}else{if(m-e<75){k=m-75 +i="..."}else{if(m-f<75){k=m-75 l=m -i=""}else{k=e-36 -l=e+36 +i=""}else{k=f-36 +l=f+36 i="..."}j="..."}else{l=m k=q j="" -i=""}h=C.a.j(d,k,l) -return f+j+h+i+"\n"+C.a.b9(" ",e-k+j.length)+"^\n"}else return e!=null?f+(" (at offset "+H.d(e)+")"):f}, -$ibm:1} -P.f.prototype={ -cH:function(a,b){var s=H.x(this) -return new H.O(this,s.h("K(f.E)").a(b),s.h("O"))}, -gq:function(a){var s,r=this.gB(this) +i=""}return g+j+B.a.j(e,k,l)+i+"\n"+B.a.b9(" ",f-k+j.length)+"^\n"}else return f!=null?g+(" (at offset "+A.h(f)+")"):g}, +$ibf:1} +A.e.prototype={ +gq(a){var s,r=this.gB(this) for(s=0;r.n();)++s return s}, -gcu:function(a){return!this.gB(this).n()}, -bO:function(a,b){var s=H.x(this) -return new H.bE(this,s.h("K(f.E)").a(b),s.h("bE"))}, -gaS:function(a){var s=this.gB(this) -if(!s.n())throw H.a(H.br()) -return s.gt()}, -gG:function(a){var s,r=this.gB(this) -if(!r.n())throw H.a(H.br()) -do s=r.gt() +gcr(a){return!this.gB(this).n()}, +bQ(a,b){var s=A.z(this) +return new A.bz(this,s.i("a_(e.E)").a(b),s.i("bz"))}, +gaS(a){var s=this.gB(this) +if(!s.n())throw A.a(A.ch()) +return s.gp()}, +gK(a){var s,r=this.gB(this) +if(!r.n())throw A.a(A.ch()) +do s=r.gp() while(r.n()) return s}, -O:function(a,b){var s,r,q -P.aX(b,"index") -for(s=this.gB(this),r=0;s.n();){q=s.gt() -if(b===r)return q;++r}throw H.a(P.dy(b,this,"index",null,r))}, -i:function(a){return P.iQ(this,"(",")")}} -P.v.prototype={} -P.bA.prototype={ -gE:function(a){return P.t.prototype.gE.call(C.R,this)}, -i:function(a){return"null"}} -P.t.prototype={constructor:P.t,$it:1, -M:function(a,b){return this===b}, -gE:function(a){return H.bD(this)}, -i:function(a){return"Instance of '"+H.d(H.dJ(this))+"'"}, -ay:function(a,b){t.o.a(b) -throw H.a(P.fH(this,b.gbC(),b.gbF(),b.gbD()))}, -toString:function(){return this.i(this)}} -P.C.prototype={ -gq:function(a){return this.a.length}, -i:function(a){var s=this.a +P(a,b){var s,r,q +A.aS(b,"index") +for(s=this.gB(this),r=0;s.n();){q=s.gp() +if(b===r)return q;++r}throw A.a(A.eF(b,r,this,"index"))}, +h(a){return A.iN(this,"(",")")}} +A.k.prototype={} +A.bu.prototype={ +gF(a){return A.r.prototype.gF.call(this,this)}, +h(a){return"null"}} +A.r.prototype={$ir:1, +H(a,b){return this===b}, +gF(a){return A.cE(this)}, +h(a){return"Instance of '"+A.dE(this)+"'"}, +bE(a,b){t.o.a(b) +throw A.a(A.iW(this,b.gbC(),b.gbH(),b.gbD(),null))}, +toString(){return this.h(this)}} +A.D.prototype={ +gq(a){return this.a.length}, +h(a){var s=this.a return s.charCodeAt(0)==0?s:s}, -$ij5:1} -P.e5.prototype={ -$2:function(a,b){throw H.a(P.r("Illegal IPv4 address, "+a,this.a,b))}, -$S:18} -P.e6.prototype={ -$2:function(a,b){throw H.a(P.r("Illegal IPv6 address, "+a,this.a,b))}, -$1:function(a){return this.$2(a,null)}, +$ij4:1} +A.dY.prototype={ +$2(a,b){throw A.a(A.q("Illegal IPv4 address, "+a,this.a,b))}, $S:16} -P.e7.prototype={ -$2:function(a,b){var s +A.dZ.prototype={ +$2(a,b){throw A.a(A.q("Illegal IPv6 address, "+a,this.a,b))}, +$S:17} +A.e_.prototype={ +$2(a,b){var s if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) -s=P.Z(C.a.j(this.b,a,b),16) +s=A.W(B.a.j(this.b,a,b),16) if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) return s}, -$S:10} -P.bX.prototype={ -gbr:function(){var s,r,q,p=this,o=p.x -if(o===$){o=p.a -s=o.length!==0?o+":":"" -r=p.c -q=r==null -if(!q||o==="file"){o=s+"//" -s=p.b -if(s.length!==0)o=o+s+"@" -if(!q)o+=r -s=p.d -if(s!=null)o=o+":"+H.d(s)}else o=s -o+=p.e -s=p.f -if(s!=null)o=o+"?"+s -s=p.r -if(s!=null)o=o+"#"+s -o=o.charCodeAt(0)==0?o:o -if(p.x===$)p.x=o -else o=H.k(H.dB("_text"))}return o}, -gaA:function(){var s,r=this,q=r.y -if(q===$){s=r.e -if(s.length!==0&&C.a.l(s,0)===47)s=C.a.A(s,1) -q=s.length===0?C.w:P.a3(new H.q(H.h(s.split("/"),t.s),t.q.a(P.ke()),t.r),t.N) -if(r.y===$)r.sbZ(q) -else q=H.k(H.dB("pathSegments"))}return q}, -gE:function(a){var s=this,r=s.z -if(r===$){r=J.bd(s.gbr()) -if(s.z===$)s.z=r -else r=H.k(H.dB("hashCode"))}return r}, -gan:function(){return this.b}, -gU:function(){var s=this.c +$S:18} +A.bV.prototype={ +gbq(){var s,r,q,p,o=this,n=o.w +if(n===$){s=o.a +r=s.length!==0?""+s+":":"" +q=o.c +p=q==null +if(!p||s==="file"){s=r+"//" +r=o.b +if(r.length!==0)s=s+r+"@" +if(!p)s+=q +r=o.d +if(r!=null)s=s+":"+A.h(r)}else s=r +s+=o.e +r=o.f +if(r!=null)s=s+"?"+r +r=o.r +if(r!=null)s=s+"#"+r +n!==$&&A.dc("_text") +n=o.w=s.charCodeAt(0)==0?s:s}return n}, +gaC(){var s,r,q=this,p=q.x +if(p===$){s=q.e +if(s.length!==0&&B.a.l(s,0)===47)s=B.a.D(s,1) +r=s.length===0?B.x:A.a2(new A.o(A.f(s.split("/"),t.s),t.q.a(A.kq()),t.r),t.N) +q.x!==$&&A.dc("pathSegments") +q.sbY(r) +p=r}return p}, +gF(a){var s,r=this,q=r.y +if(q===$){s=B.a.gF(r.gbq()) +r.y!==$&&A.dc("hashCode") +r.y=s +q=s}return q}, +gan(){return this.b}, +gU(){var s=this.c if(s==null)return"" -if(C.a.u(s,"["))return C.a.j(s,1,s.length-1) +if(B.a.u(s,"["))return B.a.j(s,1,s.length-1) return s}, -gac:function(){var s=this.d -return s==null?P.hb(this.a):s}, -ga4:function(){var s=this.f +gac(){var s=this.d +return s==null?A.h6(this.a):s}, +ga4(){var s=this.f return s==null?"":s}, -gau:function(){var s=this.r +gav(){var s=this.r return s==null?"":s}, -cv:function(a){var s=this.a +cs(a){var s=this.a if(a.length!==s.length)return!1 -return P.jD(a,s)}, -bm:function(a,b){var s,r,q,p,o,n -for(s=0,r=0;C.a.D(b,"../",r);){r+=3;++s}q=C.a.by(a,"/") +return A.jW(a,s,0)>=0}, +bk(a,b){var s,r,q,p,o,n +for(s=0,r=0;B.a.v(b,"../",r);){r+=3;++s}q=B.a.by(a,"/") while(!0){if(!(q>0&&s>0))break -p=C.a.bz(a,"/",q-1) +p=B.a.bz(a,"/",q-1) if(p<0)break o=q-p n=o!==2 -if(!n||o===3)if(C.a.m(a,p+1)===46)n=!n||C.a.m(a,p+2)===46 +if(!n||o===3)if(B.a.m(a,p+1)===46)n=!n||B.a.m(a,p+2)===46 else n=!1 else n=!1 if(n)break;--s -q=p}return C.a.W(a,q+1,null,C.a.A(b,r-3*s))}, -b4:function(a){return this.am(P.R(a))}, -am:function(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null -if(a.gH().length!==0){s=a.gH() +q=p}return B.a.W(a,q+1,null,B.a.D(b,r-3*s))}, +b4(a){return this.am(A.O(a))}, +am(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null +if(a.gI().length!==0){s=a.gI() if(a.gai()){r=a.gan() q=a.gU() p=a.gaj()?a.gac():h}else{p=h q=p -r=""}o=P.ah(a.gK(a)) +r=""}o=A.ae(a.gM(a)) n=a.ga8()?a.ga4():h}else{s=i.a if(a.gai()){r=a.gan() q=a.gU() -p=P.f5(a.gaj()?a.gac():h,s) -o=P.ah(a.gK(a)) +p=A.eW(a.gaj()?a.gac():h,s) +o=A.ae(a.gM(a)) n=a.ga8()?a.ga4():h}else{r=i.b q=i.c p=i.d o=i.e -if(a.gK(a)==="")n=a.ga8()?a.ga4():i.f -else{m=P.jJ(i,o) -if(m>0){l=C.a.j(o,0,m) -o=a.gav()?l+P.ah(a.gK(a)):l+P.ah(i.bm(C.a.A(o,l.length),a.gK(a)))}else if(a.gav())o=P.ah(a.gK(a)) -else if(o.length===0)if(q==null)o=s.length===0?a.gK(a):P.ah(a.gK(a)) -else o=P.ah("/"+a.gK(a)) -else{k=i.bm(o,a.gK(a)) +if(a.gM(a)==="")n=a.ga8()?a.ga4():i.f +else{m=A.jP(i,o) +if(m>0){l=B.a.j(o,0,m) +o=a.gaw()?l+A.ae(a.gM(a)):l+A.ae(i.bk(B.a.D(o,l.length),a.gM(a)))}else if(a.gaw())o=A.ae(a.gM(a)) +else if(o.length===0)if(q==null)o=s.length===0?a.gM(a):A.ae(a.gM(a)) +else o=A.ae("/"+a.gM(a)) +else{k=i.bk(o,a.gM(a)) j=s.length===0 -if(!j||q!=null||C.a.u(o,"/"))o=P.ah(k) -else o=P.f7(k,!j||q!=null)}n=a.ga8()?a.ga4():h}}}return P.ef(s,r,q,p,o,n,a.gaU()?a.gau():h)}, -gai:function(){return this.c!=null}, -gaj:function(){return this.d!=null}, -ga8:function(){return this.f!=null}, -gaU:function(){return this.r!=null}, -gav:function(){return C.a.u(this.e,"/")}, -b5:function(){var s,r=this,q=r.a -if(q!==""&&q!=="file")throw H.a(P.z("Cannot extract a file path from a "+q+" URI")) +if(!j||q!=null||B.a.u(o,"/"))o=A.ae(k) +else o=A.eY(k,!j||q!=null)}n=a.ga8()?a.ga4():h}}}return A.e7(s,r,q,p,o,n,a.gaU()?a.gav():h)}, +gai(){return this.c!=null}, +gaj(){return this.d!=null}, +ga8(){return this.f!=null}, +gaU(){return this.r!=null}, +gaw(){return B.a.u(this.e,"/")}, +b5(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw A.a(A.y("Cannot extract a file path from a "+q+" URI")) q=r.f -if((q==null?"":q)!=="")throw H.a(P.z(u.y)) +if((q==null?"":q)!=="")throw A.a(A.y(u.i)) q=r.r -if((q==null?"":q)!=="")throw H.a(P.z(u.l)) -q=$.fm() -if(H.bb(q))q=P.hn(r) -else{if(r.c!=null&&r.gU()!=="")H.k(P.z(u.j)) -s=r.gaA() -P.jB(s,!1) -q=P.dP(C.a.u(r.e,"/")?"/":"",s,"/") +if((q==null?"":q)!=="")throw A.a(A.y(u.l)) +q=$.fe() +if(A.b6(q))q=A.hi(r) +else{if(r.c!=null&&r.gU()!=="")A.C(A.y(u.j)) +s=r.gaC() +A.jI(s,!1) +q=A.dM(B.a.u(r.e,"/")?""+"/":"",s,"/") q=q.charCodeAt(0)==0?q:q}return q}, -i:function(a){return this.gbr()}, -M:function(a,b){var s,r,q=this +h(a){return this.gbq()}, +H(a,b){var s,r,q=this if(b==null)return!1 if(q===b)return!0 -if(t.k.b(b))if(q.a===b.gH())if(q.c!=null===b.gai())if(q.b===b.gan())if(q.gU()===b.gU())if(q.gac()===b.gac())if(q.e===b.gK(b)){s=q.f +if(t.k.b(b))if(q.a===b.gI())if(q.c!=null===b.gai())if(q.b===b.gan())if(q.gU()===b.gU())if(q.gac()===b.gac())if(q.e===b.gM(b)){s=q.f r=s==null if(!r===b.ga8()){if(r)s="" if(s===b.ga4()){s=q.r r=s==null if(!r===b.gaU()){if(r)s="" -s=s===b.gau()}else s=!1}else s=!1}else s=!1}else s=!1 +s=s===b.gav()}else s=!1}else s=!1}else s=!1}else s=!1 else s=!1 else s=!1 else s=!1 @@ -4109,594 +4177,594 @@ else s=!1 else s=!1 else s=!1 return s}, -sbZ:function(a){this.y=t.bD.a(a)}, -$ibM:1, -gH:function(){return this.a}, -gK:function(a){return this.e}} -P.eg.prototype={ -$1:function(a){return P.f9(C.X,H.j(a),C.e,!1)}, -$S:9} -P.cQ.prototype={ -gae:function(){var s,r,q,p,o=this,n=null,m=o.c +sbY(a){this.x=t.h.a(a)}, +$ibI:1, +gI(){return this.a}, +gM(a){return this.e}} +A.e8.prototype={ +$1(a){return A.f_(B.Y,A.j(a),B.e,!1)}, +$S:3} +A.cS.prototype={ +gae(){var s,r,q,p,o=this,n=null,m=o.c if(m==null){m=o.b -if(0>=m.length)return H.b(m,0) +if(0>=m.length)return A.b(m,0) s=o.a m=m[0]+1 -r=C.a.a0(s,"?",m) +r=B.a.a0(s,"?",m) q=s.length -if(r>=0){p=P.bZ(s,r+1,q,C.h,!1) +if(r>=0){p=A.bX(s,r+1,q,B.h,!1,!1) q=r}else p=n -m=o.c=new P.cY("data","",n,n,P.bZ(s,m,q,C.A,!1),p,n)}return m}, -i:function(a){var s,r=this.b -if(0>=r.length)return H.b(r,0) +m=o.c=new A.d_("data","",n,n,A.bX(s,m,q,B.B,!1,!1),p,n)}return m}, +h(a){var s,r=this.b +if(0>=r.length)return A.b(r,0) s=this.a return r[0]===-1?"data:"+s:s}} -P.em.prototype={ -$2:function(a,b){var s=this.a -if(a>=s.length)return H.b(s,a) +A.ef.prototype={ +$2(a,b){var s=this.a +if(!(a=96)return H.b(a,q) +$S:19} +A.eg.prototype={ +$3(a,b,c){var s,r,q +for(s=b.length,r=0;r>>0 -if(q>=96)return H.b(a,q) +$S:5} +A.eh.prototype={ +$3(a,b,c){var s,r,q +for(s=B.a.l(b,0),r=B.a.l(b,1);s<=r;++s){q=(s^96)>>>0 +if(!(q<96))return A.b(a,q) a[q]=c}}, -$S:3} -P.a0.prototype={ -gai:function(){return this.c>0}, -gaj:function(){return this.c>0&&this.d+10}, +gaj(){return this.c>0&&this.d+1r?C.a.j(this.a,r,s-1):""}, -gU:function(){var s=this.c -return s>0?C.a.j(this.a,s,this.d):""}, -gac:function(){var s,r=this -if(r.gaj())return P.Z(C.a.j(r.a,r.d+1,r.e),null) +if(s&&B.a.u(r.a,"http"))return"http" +if(q===5&&B.a.u(r.a,"https"))return"https" +if(s&&B.a.u(r.a,"file"))return"file" +if(q===7&&B.a.u(r.a,"package"))return"package" +return B.a.j(r.a,0,q)}, +gan(){var s=this.c,r=this.b+3 +return s>r?B.a.j(this.a,r,s-1):""}, +gU(){var s=this.c +return s>0?B.a.j(this.a,s,this.d):""}, +gac(){var s,r=this +if(r.gaj())return A.W(B.a.j(r.a,r.d+1,r.e),null) s=r.b -if(s===4&&C.a.u(r.a,"http"))return 80 -if(s===5&&C.a.u(r.a,"https"))return 443 +if(s===4&&B.a.u(r.a,"http"))return 80 +if(s===5&&B.a.u(r.a,"https"))return 443 return 0}, -gK:function(a){return C.a.j(this.a,this.e,this.f)}, -ga4:function(){var s=this.f,r=this.r -return s=q.length)return s -return new P.a0(C.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.x)}, -b4:function(a){return this.am(P.R(a))}, -am:function(a){if(a instanceof P.a0)return this.ce(this,a) -return this.bs().am(a)}, -ce:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b +return new A.Z(B.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.w)}, +b4(a){return this.am(A.O(a))}, +am(a){if(a instanceof A.Z)return this.cb(this,a) +return this.br().am(a)}, +cb(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b if(c>0)return b s=b.c if(s>0){r=a.b if(r<=0)return b q=r===4 -if(q&&C.a.u(a.a,"file"))p=b.e!==b.f -else if(q&&C.a.u(a.a,"http"))p=!b.bk("80") -else p=!(r===5&&C.a.u(a.a,"https"))||!b.bk("443") +if(q&&B.a.u(a.a,"file"))p=b.e!==b.f +else if(q&&B.a.u(a.a,"http"))p=!b.bi("80") +else p=!(r===5&&B.a.u(a.a,"https"))||!b.bi("443") if(p){o=r+1 -return new P.a0(C.a.j(a.a,0,o)+C.a.A(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.x)}else return this.bs().am(b)}n=b.e +return new A.Z(B.a.j(a.a,0,o)+B.a.D(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.w)}else return this.br().am(b)}n=b.e c=b.f if(n===c){s=b.r if(c0?l:m o=k-n -return new P.a0(C.a.j(a.a,0,k)+C.a.A(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.x)}j=a.e +return new A.Z(B.a.j(a.a,0,k)+B.a.D(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.w)}j=a.e i=a.f -if(j===i&&a.c>0){for(;C.a.D(s,"../",n);)n+=3 +if(j===i&&a.c>0){for(;B.a.v(s,"../",n);)n+=3 o=j-n+1 -return new P.a0(C.a.j(a.a,0,j)+"/"+C.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}h=a.a -l=P.h3(this) +return new A.Z(B.a.j(a.a,0,j)+"/"+B.a.D(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}h=a.a +l=A.h_(this) if(l>=0)g=l -else for(g=j;C.a.D(h,"../",g);)g+=3 +else for(g=j;B.a.v(h,"../",g);)g+=3 f=0 while(!0){e=n+3 -if(!(e<=c&&C.a.D(s,"../",n)))break;++f +if(!(e<=c&&B.a.v(s,"../",n)))break;++f n=e}for(d="";i>g;){--i -if(C.a.m(h,i)===47){if(f===0){d="/" +if(B.a.m(h,i)===47){if(f===0){d="/" break}--f -d="/"}}if(i===g&&a.b<=0&&!C.a.D(h,"/",j)){n-=f*3 +d="/"}}if(i===g&&a.b<=0&&!B.a.v(h,"/",j)){n-=f*3 d=""}o=i-n+d.length -return new P.a0(C.a.j(h,0,i)+d+C.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}, -b5:function(){var s,r,q=this,p=q.b -if(p>=0){s=!(p===4&&C.a.u(q.a,"file")) +return new A.Z(B.a.j(h,0,i)+d+B.a.D(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}, +b5(){var s,r,q=this,p=q.b +if(p>=0){s=!(p===4&&B.a.u(q.a,"file")) p=s}else p=!1 -if(p)throw H.a(P.z("Cannot extract a file path from a "+q.gH()+" URI")) +if(p)throw A.a(A.y("Cannot extract a file path from a "+q.gI()+" URI")) p=q.f s=q.a -if(p0?s.gU():r,n=s.gaj()?s.gac():r,m=s.a,l=s.f,k=C.a.j(m,s.e,l),j=s.r +return t.k.b(b)&&this.a===b.h(0)}, +br(){var s=this,r=null,q=s.gI(),p=s.gan(),o=s.c>0?s.gU():r,n=s.gaj()?s.gac():r,m=s.a,l=s.f,k=B.a.j(m,s.e,l),j=s.r l=l0&&!s.R(a) +s=s.G(a)>0&&!s.R(a) if(s)return a s=this.b -return this.bx(0,s==null?D.et():s,a,b,c,d,e,f,g)}, -Z:function(a){return this.bu(a,null,null,null,null,null,null)}, -cn:function(a){var s,r,q=X.aE(a,this.a) -q.aD() +return this.bx(0,s==null?A.en():s,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)}, +Z(a){return this.bt(a,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +ck(a){var s,r,q=A.aA(a,this.a) +q.aF() s=q.d r=s.length if(r===0){s=q.b return s==null?".":s}if(r===1){s=q.b -return s==null?".":s}C.b.b3(s) +return s==null?".":s}B.b.b3(s) s=q.e -if(0>=s.length)return H.b(s,-1) +if(0>=s.length)return A.b(s,-1) s.pop() -q.aD() -return q.i(0)}, -bx:function(a,b,c,d,e,f,g,h,i){var s=H.h([b,c,d,e,f,g,h,i],t.m) -M.hy("join",s) -return this.cz(new H.bN(s,t.y))}, -cw:function(a,b,c){return this.bx(a,b,c,null,null,null,null,null,null)}, -cz:function(a){var s,r,q,p,o,n,m,l,k,j -t.c.a(a) -for(s=a.$ti,r=s.h("K(f.E)").a(new M.dn()),q=a.gB(a),s=new H.aL(q,r,s.h("aL")),r=this.a,p=!1,o=!1,n="";s.n();){m=q.gt() -if(r.R(m)&&o){l=X.aE(m,r) +q.aF() +return q.h(0)}, +bx(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var s=A.f([b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q],t.m) +A.hw("join",s) +return this.cu(new A.bJ(s,t.y))}, +ct(a,b,c){return this.bx(a,b,c,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +cu(a){var s,r,q,p,o,n,m,l,k,j +t.l.a(a) +for(s=a.$ti,r=s.i("a_(e.E)").a(new A.dk()),q=a.gB(a),s=new A.aH(q,r,s.i("aH")),r=this.a,p=!1,o=!1,n="";s.n();){m=q.gp() +if(r.R(m)&&o){l=A.aA(m,r) k=n.charCodeAt(0)==0?n:n -n=C.a.j(k,0,r.ad(k,!0)) +n=B.a.j(k,0,r.ad(k,!0)) l.b=n -if(r.al(n))C.b.w(l.e,0,r.ga5()) -n=l.i(0)}else if(r.F(m)>0){o=!r.R(m) -n=H.d(m)}else{j=m.length -if(j!==0){if(0>=j)return H.b(m,0) +if(r.al(n))B.b.C(l.e,0,r.ga5()) +n=""+l.h(0)}else if(r.G(m)>0){o=!r.R(m) +n=""+m}else{j=m.length +if(j!==0){if(0>=j)return A.b(m,0) j=r.aQ(m[0])}else j=!1 if(!j)if(p)n+=r.ga5() n+=m}p=r.al(m)}return n.charCodeAt(0)==0?n:n}, -ag:function(a,b){var s=X.aE(b,this.a),r=s.d,q=H.A(r),p=q.h("O<1>") -s.sbE(P.eT(new H.O(r,q.h("K(1)").a(new M.dp()),p),!0,p.h("f.E"))) +ag(a,b){var s=A.aA(b,this.a),r=s.d,q=A.B(r),p=q.i("U<1>") +s.sbG(A.bq(new A.U(r,q.i("a_(1)").a(new A.dl()),p),!0,p.i("e.E"))) r=s.b -if(r!=null)C.b.aW(s.d,0,r) +if(r!=null)B.b.aW(s.d,0,r) return s.d}, -b1:function(a){var s -if(!this.ca(a))return a -s=X.aE(a,this.a) +b1(a){var s +if(!this.c7(a))return a +s=A.aA(a,this.a) s.b0() -return s.i(0)}, -ca:function(a){var s,r,q,p,o,n,m,l,k,j -a.toString -s=this.a -r=s.F(a) -if(r!==0){if(s===$.c3())for(q=0;q0)return m.b1(a) -if(k.F(a)<=0||k.R(a))a=m.Z(a) -if(k.F(a)<=0&&k.F(b)>0)throw H.a(X.fI(l+H.d(a)+'" from "'+H.d(b)+'".')) -s=X.aE(b,k) +if(k.G(b)<=0&&k.G(a)>0)return m.b1(a) +if(k.G(a)<=0||k.R(a))a=m.Z(a) +if(k.G(a)<=0&&k.G(b)>0)throw A.a(A.fA(l+a+'" from "'+b+'".')) +s=A.aA(b,k) s.b0() -r=X.aE(a,k) +r=A.aA(a,k) r.b0() q=s.d p=q.length -if(p!==0){if(0>=p)return H.b(q,0) -q=J.I(q[0],".")}else q=!1 -if(q)return r.i(0) +if(p!==0){if(0>=p)return A.b(q,0) +q=J.Q(q[0],".")}else q=!1 +if(q)return r.h(0) q=s.b p=r.b if(q!=p)q=q==null||p==null||!k.b2(q,p) else q=!1 -if(q)return r.i(0) +if(q)return r.h(0) while(!0){q=s.d p=q.length if(p!==0){o=r.d n=o.length -if(n!==0){if(0>=p)return H.b(q,0) +if(n!==0){if(0>=p)return A.b(q,0) q=q[0] -if(0>=n)return H.b(o,0) +if(0>=n)return A.b(o,0) o=k.b2(q,o[0]) q=o}else q=!1}else q=!1 if(!q)break -C.b.aC(s.d,0) -C.b.aC(s.e,1) -C.b.aC(r.d,0) -C.b.aC(r.e,1)}q=s.d +B.b.aE(s.d,0) +B.b.aE(s.e,1) +B.b.aE(r.d,0) +B.b.aE(r.e,1)}q=s.d p=q.length -if(p!==0){if(0>=p)return H.b(q,0) -q=J.I(q[0],"..")}else q=!1 -if(q)throw H.a(X.fI(l+H.d(a)+'" from "'+H.d(b)+'".')) +if(p!==0){if(0>=p)return A.b(q,0) +q=J.Q(q[0],"..")}else q=!1 +if(q)throw A.a(A.fA(l+a+'" from "'+b+'".')) q=t.N -C.b.aX(r.d,0,P.ap(s.d.length,"..",!1,q)) -C.b.w(r.e,0,"") -C.b.aX(r.e,1,P.ap(s.d.length,k.ga5(),!1,q)) +B.b.aX(r.d,0,A.am(s.d.length,"..",!1,q)) +B.b.C(r.e,0,"") +B.b.aX(r.e,1,A.am(s.d.length,k.ga5(),!1,q)) k=r.d q=k.length if(q===0)return"." -if(q>1&&J.I(C.b.gG(k),".")){C.b.b3(r.d) +if(q>1&&J.Q(B.b.gK(k),".")){B.b.b3(r.d) k=r.e -if(0>=k.length)return H.b(k,-1) +if(0>=k.length)return A.b(k,-1) k.pop() -if(0>=k.length)return H.b(k,-1) +if(0>=k.length)return A.b(k,-1) k.pop() -C.b.k(k,"")}r.b="" -r.aD() -return r.i(0)}, -cD:function(a){return this.aB(a,null)}, -bl:function(a,b){var s,r,q,p,o,n,m,l,k=this -a=H.j(a) -b=H.j(b) +B.b.k(k,"")}r.b="" +r.aF() +return r.h(0)}, +cz(a){return this.aD(a,null)}, +bj(a,b){var s,r,q,p,o,n,m,l,k=this +a=A.j(a) +b=A.j(b) r=k.a -q=r.F(H.j(a))>0 -p=r.F(H.j(b))>0 +q=r.G(A.j(a))>0 +p=r.G(A.j(b))>0 if(q&&!p){b=k.Z(b) if(r.R(a))a=k.Z(a)}else if(p&&!q){a=k.Z(a) if(r.R(b))b=k.Z(b)}else if(p&&q){o=r.R(b) n=r.R(a) if(o&&!n)b=k.Z(b) -else if(n&&!o)a=k.Z(a)}m=k.c9(a,b) -if(m!==C.f)return m +else if(n&&!o)a=k.Z(a)}m=k.c6(a,b) +if(m!==B.f)return m s=null -try{s=k.aB(b,a)}catch(l){if(H.av(l) instanceof X.bC)return C.d -else throw l}if(r.F(H.j(s))>0)return C.d -if(J.I(s,"."))return C.r -if(J.I(s,".."))return C.d -return J.Q(s)>=3&&J.c5(s,"..")&&r.v(J.c4(s,2))?C.d:C.l}, -c9:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this +try{s=k.aD(b,a)}catch(l){if(A.c3(l) instanceof A.bw)return B.d +else throw l}if(r.G(A.j(s))>0)return B.d +if(J.Q(s,"."))return B.t +if(J.Q(s,".."))return B.d +return J.S(s)>=3&&J.fk(s,"..")&&r.A(J.eA(s,2))?B.d:B.l}, +c6(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=this if(a===".")a="" -s=d.a -r=s.F(a) -q=s.F(b) -if(r!==q)return C.d -for(p=J.F(a),o=J.F(b),n=0;nq.ag(0,s).length?s:r}} -M.dn.prototype={ -$1:function(a){return H.j(a)!==""}, +A.dk.prototype={ +$1(a){return A.j(a)!==""}, $S:0} -M.dp.prototype={ -$1:function(a){return H.j(a).length!==0}, +A.dl.prototype={ +$1(a){return A.j(a).length!==0}, $S:0} -M.es.prototype={ -$1:function(a){H.ej(a) +A.em.prototype={ +$1(a){A.ec(a) return a==null?"null":'"'+a+'"'}, -$S:14} -M.b5.prototype={ -i:function(a){return this.a}} -M.b6.prototype={ -i:function(a){return this.a}} -B.aS.prototype={ -bK:function(a){var s,r=this.F(a) -if(r>0)return J.eL(a,0,r) -if(this.R(a)){if(0>=a.length)return H.b(a,0) +$S:20} +A.aZ.prototype={ +h(a){return this.a}} +A.b_.prototype={ +h(a){return this.a}} +A.av.prototype={ +bN(a){var s,r=this.G(a) +if(r>0)return B.a.j(a,0,r) +if(this.R(a)){if(0>=a.length)return A.b(a,0) s=a[0]}else s=null return s}, -bG:function(a){var s=M.eM(this).ag(0,a) -if(this.v(J.c4(a,a.length-1)))C.b.k(s,"") -return P.H(null,null,s,null)}, -at:function(a,b){return a===b}, -b2:function(a,b){return a==b}} -X.dG.prototype={ -gaV:function(){var s=this.d -if(s.length!==0)s=J.I(C.b.gG(s),"")||!J.I(C.b.gG(this.e),"") +bI(a){var s,r=null,q=a.length +if(q===0)return A.E(r,r,r,r) +s=A.eD(this).ag(0,a) +if(this.A(B.a.m(a,q-1)))B.b.k(s,"") +return A.E(r,r,s,r)}, +au(a,b){return a===b}, +b2(a,b){return a===b}} +A.dC.prototype={ +gaV(){var s=this.d +if(s.length!==0)s=J.Q(B.b.gK(s),"")||!J.Q(B.b.gK(this.e),"") else s=!1 return s}, -aD:function(){var s,r,q=this +aF(){var s,r,q=this while(!0){s=q.d -if(!(s.length!==0&&J.I(C.b.gG(s),"")))break -C.b.b3(q.d) +if(!(s.length!==0&&J.Q(B.b.gK(s),"")))break +B.b.b3(q.d) s=q.e -if(0>=s.length)return H.b(s,-1) +if(0>=s.length)return A.b(s,-1) s.pop()}s=q.e r=s.length -if(r!==0)C.b.w(s,r-1,"")}, -b0:function(){var s,r,q,p,o,n,m=this,l=H.h([],t.s) -for(s=m.d,r=s.length,q=0,p=0;p=n)return H.b(l,-1) -l.pop()}else ++q}else C.b.k(l,o)}if(m.b==null)C.b.aX(l,0,P.ap(q,"..",!1,t.N)) -if(l.length===0&&m.b==null)C.b.k(l,".") -m.sbE(l) +if(r!==0)B.b.C(s,r-1,"")}, +b0(){var s,r,q,p,o,n,m=this,l=A.f([],t.s) +for(s=m.d,r=s.length,q=0,p=0;p=n)return A.b(l,-1) +l.pop()}else ++q}else B.b.k(l,o)}if(m.b==null)B.b.aX(l,0,A.am(q,"..",!1,t.N)) +if(l.length===0&&m.b==null)B.b.k(l,".") +m.sbG(l) s=m.a -m.sbM(P.ap(l.length+1,s.ga5(),!0,t.N)) +m.sbO(A.am(l.length+1,s.ga5(),!0,t.N)) r=m.b -if(r==null||l.length===0||!s.al(r))C.b.w(m.e,0,"") +if(r==null||l.length===0||!s.al(r))B.b.C(m.e,0,"") r=m.b -if(r!=null&&s===$.c3()){r.toString -m.b=H.a_(r,"/","\\")}m.aD()}, -i:function(a){var s,r,q=this,p=q.b -p=p!=null?p:"" -for(s=0;s=r.length)return H.b(r,s) -r=p+H.d(r[s]) -p=q.d -if(s>=p.length)return H.b(p,s) -p=r+H.d(p[s])}p+=H.d(C.b.gG(q.e)) -return p.charCodeAt(0)==0?p:p}, -sbE:function(a){this.d=t.h.a(a)}, -sbM:function(a){this.e=t.h.a(a)}} -X.bC.prototype={ -i:function(a){return"PathException: "+this.a}, -$ibm:1} -O.dQ.prototype={ -i:function(a){return this.gb_(this)}} -E.cB.prototype={ -aQ:function(a){return C.a.C(a,"/")}, -v:function(a){return a===47}, -al:function(a){var s=a.length -return s!==0&&C.a.m(a,s-1)!==47}, -ad:function(a,b){if(a.length!==0&&C.a.l(a,0)===47)return 1 +if(r!=null&&s===$.c4()){r.toString +m.b=A.X(r,"/","\\")}m.aF()}, +h(a){var s,r,q,p=this,o=p.b +o=o!=null?""+o:"" +for(s=0;s0){r=C.a.a0(a,"\\",r+1) +if(s===92){if(q<2||B.a.l(a,1)!==92)return 1 +r=B.a.a0(a,"\\",2) +if(r>0){r=B.a.a0(a,"\\",r+1) if(r>0)return r}return q}if(q<3)return 0 -if(!B.hH(s))return 0 -if(C.a.l(a,1)!==58)return 0 -q=C.a.l(a,2) +if(!A.hD(s))return 0 +if(B.a.l(a,1)!==58)return 0 +q=B.a.l(a,2) if(!(q===47||q===92))return 0 return 3}, -F:function(a){return this.ad(a,!1)}, -R:function(a){return this.F(a)===1}, -az:function(a){var s,r -if(a.gH()!==""&&a.gH()!=="file")throw H.a(P.G("Uri "+a.i(0)+" must have scheme 'file:'.")) -s=a.gK(a) -if(a.gU()===""){if(s.length>=3&&C.a.u(s,"/")&&B.hI(s,1))s=C.a.bH(s,"/","")}else s="\\\\"+a.gU()+s -r=H.a_(s,"/","\\") -return P.f8(r,0,r.length,C.e,!1)}, -aO:function(a){var s,r,q=X.aE(a,this),p=q.b +G(a){return this.ad(a,!1)}, +R(a){return this.G(a)===1}, +aB(a){var s,r +if(a.gI()!==""&&a.gI()!=="file")throw A.a(A.F("Uri "+a.h(0)+" must have scheme 'file:'.")) +s=a.gM(a) +if(a.gU()===""){if(s.length>=3&&B.a.u(s,"/")&&A.hE(s,1))s=B.a.bJ(s,"/","")}else s="\\\\"+a.gU()+s +r=A.X(s,"/","\\") +return A.eZ(r,0,r.length,B.e,!1)}, +aO(a){var s,r,q=A.aA(a,this),p=q.b p.toString -if(C.a.u(p,"\\\\")){s=new H.O(H.h(p.split("\\"),t.s),t.Q.a(new L.ea()),t.U) -C.b.aW(q.d,0,s.gG(s)) -if(q.gaV())C.b.k(q.d,"") -return P.H(s.gaS(s),null,q.d,"file")}else{if(q.d.length===0||q.gaV())C.b.k(q.d,"") +if(B.a.u(p,"\\\\")){s=new A.U(A.f(p.split("\\"),t.s),t.Q.a(new A.e2()),t.U) +B.b.aW(q.d,0,s.gK(s)) +if(q.gaV())B.b.k(q.d,"") +return A.E(s.gaS(s),null,q.d,"file")}else{if(q.d.length===0||q.gaV())B.b.k(q.d,"") p=q.d r=q.b r.toString -r=H.a_(r,"/","") -C.b.aW(p,0,H.a_(r,"\\","")) -return P.H(null,null,q.d,"file")}}, -at:function(a,b){var s +r=A.X(r,"/","") +B.b.aW(p,0,A.X(r,"\\","")) +return A.E(null,null,q.d,"file")}}, +au(a,b){var s if(a===b)return!0 if(a===47)return b===92 if(a===92)return b===47 if((a^b)!==32)return!1 s=a|32 return s>=97&&s<=122}, -b2:function(a,b){var s,r,q -if(a==b)return!0 +b2(a,b){var s,r +if(a===b)return!0 s=a.length if(s!==b.length)return!1 -for(r=J.F(b),q=0;q=r.length)return H.b(r,p) -n=n+r[p]+":" -if(p>=q.length)return H.b(q,p) -n=n+q[p].i(0)+")"}n+="]" -return n.charCodeAt(0)==0?n:n}} -T.cr.prototype={ -i:function(a){var s,r -for(s=this.a.gcG(),r=H.x(s),r=new H.aC(J.U(s.a),s.b,r.h("@<1>").S(r.Q[1]).h("aC<1,2>")),s="";r.n();)s+=J.aw(r.a) -return s.charCodeAt(0)==0?s:s}, -af:function(a,b,c,d){var s,r,q,p,o,n,m,l -t.n.a(c) -s=H.h([47,58],t.t) -for(r=d.length,q=this.a,p=!0,o=0;o").S(r.z[1]),s=new A.ay(J.R(s.a),s.b,r.i("ay<1,2>")),r=r.z[1],q="";s.n();){p=s.a +q+=(p==null?r.a(p):p).h(0)}return q.charCodeAt(0)==0?q:q}, +af(a,b,c,d){var s,r,q,p,o,n,m,l +t.H.a(c) +d=A.eC(d,"uri",t.N) +s=A.f([47,58],t.t) +for(r=d.length,q=this.a,p=!0,o=0;o=c.length)return H.b(c,a2) +c$0:{if(!(a2=s)return H.b(a0,a2) +if(!(a20 @@ -4708,562 +4776,534 @@ i=0 h=0 g=0 while(!0){if(!(n.c=a0.length)throw H.a(P.dO("Invalid source url id. "+H.d(f.e)+", "+l+", "+j)) +if(!(!p.a&&!p.b&&!p.c))B.b.k(m,new A.aU(k,d,d,d,d)) +else{j+=A.db(n) +if(j>=a0.length)throw A.a(A.dL("Invalid source url id. "+A.h(f.e)+", "+l+", "+j)) p=n.ga3() -if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aL(2,l)) -i+=L.da(n) +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.aM(2,l)) +i+=A.db(n) p=n.ga3() -if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aL(3,l)) -h+=L.da(n) +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.aM(3,l)) +h+=A.db(n) p=n.ga3() -if(!(!p.a&&!p.b&&!p.c))C.b.k(m,new T.b1(k,j,i,h,d)) -else{g+=L.da(n) -if(g>=a1.length)throw H.a(P.dO("Invalid name id: "+H.d(f.e)+", "+l+", "+g)) -C.b.k(m,new T.b1(k,j,i,h,g))}}if(n.ga3().b)++n.c}}if(m.length!==0)C.b.k(q,new T.bK(l,m)) -a3.T(0,new T.dK(f))}, -aL:function(a,b){return new P.aF("Invalid entry in sourcemap, expected 1, 4, or 5 values, but got "+a+".\ntargeturl: "+H.d(this.e)+", line: "+b)}, -c8:function(a){var s,r=this.d,q=O.hB(r,new T.dM(a)) +if(!(!p.a&&!p.b&&!p.c))B.b.k(m,new A.aU(k,j,i,h,d)) +else{g+=A.db(n) +if(g>=a1.length)throw A.a(A.dL("Invalid name id: "+A.h(f.e)+", "+l+", "+g)) +B.b.k(m,new A.aU(k,j,i,h,g))}}if(n.ga3().b)++n.c}}if(m.length!==0)B.b.k(q,new A.bG(l,m)) +a3.T(0,new A.dH(f))}, +aM(a,b){return new A.aB("Invalid entry in sourcemap, expected 1, 4, or 5 values, but got "+a+".\ntargeturl: "+A.h(this.e)+", line: "+b)}, +c5(a){var s,r=this.d,q=A.hz(r,new A.dJ(a)) if(q<=0)r=null else{s=q-1 -if(s>=r.length)return H.b(r,s) +if(!(s=s.length)return H.b(s,q) +if(!(q>>0!==r||r>=q.length)return H.b(q,r) +if(r>>>0!==r||r>=q.length)return A.b(q,r) p=q[r] q=k.f -if(q!=null)p=q+H.d(p) +if(q!=null)p=q+p o=s.e q=k.r q=q==null?null:q.b4(p) if(q==null)q=p n=s.c -m=V.eW(0,s.d,n,q) +m=A.eN(0,s.d,n,q) if(o!=null){q=k.b -if(o>>>0!==o||o>=q.length)return H.b(q,o) +if(o>>>0!==o||o>=q.length)return A.b(q,o) q=q[o] n=q.length -n=V.eW(m.b+n,m.d+n,m.c,m.a) -l=new G.bG(m,n,q) -l.bd(m,n,q) -return l}else return G.fP(m,m,"",!1)}, -i:function(a){var s=this,r=H.c1(s).i(0) -r+" : [" -r=r+" : [targetUrl: "+H.d(s.e)+", sourceRoot: "+H.d(s.f)+", urls: "+H.d(s.a)+", names: "+H.d(s.b)+", lines: "+H.d(s.d)+"]" +n=A.eN(m.b+n,m.d+n,m.c,m.a) +l=new A.bC(m,n,q) +l.bb(m,n,q) +return l}else return A.fJ(m,m,"",!1)}, +h(a){var s=this,r=A.ar(s).h(0)+" : ["+"targetUrl: "+A.h(s.e)+", sourceRoot: "+A.h(s.f)+", urls: "+A.h(s.a)+", names: "+A.h(s.b)+", lines: "+A.h(s.d)+"]" return r.charCodeAt(0)==0?r:r}} -T.dK.prototype={ -$2:function(a,b){if(J.c5(a,"x_"))this.a.x.w(0,H.j(a),b)}, -$S:15} -T.dM.prototype={ -$1:function(a){return a.ga2()>this.a}, -$S:8} -T.dL.prototype={ -$1:function(a){return a.ga6()>this.a}, -$S:8} -T.bK.prototype={ -i:function(a){return H.c1(this).i(0)+": "+this.a+" "+H.d(this.b)}, -ga2:function(){return this.a}} -T.b1.prototype={ -i:function(a){var s=this -return H.c1(s).i(0)+": ("+s.a+", "+H.d(s.b)+", "+H.d(s.c)+", "+H.d(s.d)+", "+H.d(s.e)+")"}, -ga6:function(){return this.a}} -T.d2.prototype={ -n:function(){return++this.c=0&&s=q.length)return H.b(q,s) -s=q[s]}else s=H.k(P.dy(s,q,null,null,null)) +A.dH.prototype={ +$2(a,b){if(J.fk(a,"x_"))this.a.w.C(0,A.j(a),b)}, +$S:21} +A.dJ.prototype={ +$1(a){return a.ga2()>this.a}, +$S:6} +A.dI.prototype={ +$1(a){return a.ga6()>this.a}, +$S:6} +A.bG.prototype={ +h(a){return A.ar(this).h(0)+": "+this.a+" "+A.h(this.b)}, +ga2(){return this.a}} +A.aU.prototype={ +h(a){var s=this +return A.ar(s).h(0)+": ("+s.a+", "+A.h(s.b)+", "+A.h(s.c)+", "+A.h(s.d)+", "+A.h(s.e)+")"}, +ga6(){return this.a}} +A.d4.prototype={ +n(){return++this.c=0&&s=0&&s0}, -ga3:function(){var s,r,q -if(!this.gcr())return C.a2 +ga3(){var s,r,q +if(!this.gco())return B.a5 s=this.a r=this.c+1 -if(r<0||r>=s.length)return H.b(s,r) +if(!(r>=0&&r=s.length)return H.b(s,r) -n.a+=s[r]}n.a+="\x1b[31m" -try{n.a+=o.gt()}catch(q){if(!t.G.b(H.av(q)))throw q}n.a+="\x1b[0m" -for(r=o.c+1,p=s.length;r=0))return A.b(s,q) +n.a+=s[q]}n.a+=" ("+o.c+")" s=n.a return s.charCodeAt(0)==0?s:s}, -$iv:1} -T.b7.prototype={} -G.bG.prototype={} -L.eq.prototype={ -$0:function(){var s,r=P.eS(t.N,t.S) -for(s=0;s<64;++s)r.w(0,u.n[s],s) +$ik:1} +A.b1.prototype={} +A.bC.prototype={} +A.ej.prototype={ +$0(){var s,r=A.eK(t.N,t.S) +for(s=0;s<64;++s)r.C(0,u.n[s],s) return r}, -$S:17} -Y.b_.prototype={ -gq:function(a){return this.c.length}, -bW:function(a,b){var s,r,q,p,o,n,m +$S:22} +A.bB.prototype={ +gq(a){return this.c.length}, +bW(a,b){var s,r,q,p,o,n,m for(s=this.c,r=s.length,q=this.b,p=0;p=r)return H.b(s,n) +if(n"}, -gN:function(){return this.a}, -gab:function(){return this.b}, -ga2:function(){return this.c}, -ga6:function(){return this.d}} -V.cG.prototype={ -bd:function(a,b,c){var s,r=this.b,q=this.a -if(!J.I(r.gN(),q.gN()))throw H.a(P.G('Source URLs "'+H.d(q.gN())+'" and "'+H.d(r.gN())+"\" don't match.")) -else if(r.gab()"}, +gO(){return this.a}, +gab(){return this.b}, +ga2(){return this.c}, +ga6(){return this.d}} +A.cH.prototype={ +bb(a,b,c){var s,r=this.b,q=this.a +if(!r.gO().H(0,q.gO()))throw A.a(A.F('Source URLs "'+q.gO().h(0)+'" and "'+r.gO().h(0)+"\" don't match.")) +else if(r.gab()'}, -$idN:1} -U.al.prototype={ -bI:function(){var s=this.a,r=H.A(s) -return Y.eY(new H.bn(s,r.h("f(1)").a(new U.dm()),r.h("bn<1,i>")),null)}, -i:function(a){var s=this.a,r=H.A(s) -return new H.q(s,r.h("c(1)").a(new U.dk(new H.q(s,r.h("e(1)").a(new U.dl()),r.h("q<1,e>")).aT(0,0,C.m,t.S))),r.h("q<1,c>")).X(0,u.q)}, -$icI:1} -U.df.prototype={ -$1:function(a){return H.j(a).length!==0}, +if(s.length!==q.bu(r))throw A.a(A.F('Text "'+s+'" must be '+q.bu(r)+" characters long."))}}, +gJ(){return this.a}, +gN(){return this.b}, +gcB(){return this.c}} +A.cI.prototype={ +gO(){return this.gJ().gO()}, +gq(a){return this.gN().gab()-this.gJ().gab()}, +H(a,b){if(b==null)return!1 +return t.cx.b(b)&&this.gJ().H(0,b.gJ())&&this.gN().H(0,b.gN())}, +gF(a){return A.fz(this.gJ(),this.gN(),B.n)}, +h(a){var s=this +return"<"+A.ar(s).h(0)+": from "+s.gJ().h(0)+" to "+s.gN().h(0)+' "'+s.gcB()+'">'}, +$idK:1} +A.ai.prototype={ +bK(){var s=this.a,r=A.B(s) +return A.eO(new A.bg(s,r.i("e(1)").a(new A.dj()),r.i("bg<1,i>")),null)}, +h(a){var s=this.a,r=A.B(s) +return new A.o(s,r.i("c(1)").a(new A.dh(new A.o(s,r.i("d(1)").a(new A.di()),r.i("o<1,d>")).aT(0,0,B.m,t.S))),r.i("o<1,c>")).X(0,u.a)}, +$icJ:1} +A.de.prototype={ +$1(a){return A.j(a).length!==0}, $S:0} -U.dg.prototype={ -$1:function(a){return Y.fT(H.j(a))}, -$S:7} -U.dh.prototype={ -$1:function(a){return Y.fS(H.j(a))}, +A.dj.prototype={ +$1(a){return t.a.a(a).ga7()}, +$S:23} +A.di.prototype={ +$1(a){var s=t.a.a(a).ga7(),r=A.B(s) +return new A.o(s,r.i("d(1)").a(new A.dg()),r.i("o<1,d>")).aT(0,0,B.m,t.S)}, +$S:24} +A.dg.prototype={ +$1(a){return t.B.a(a).gaa().length}, $S:7} -U.dm.prototype={ -$1:function(a){return t.a.a(a).ga7()}, -$S:19} -U.dl.prototype={ -$1:function(a){var s=t.a.a(a).ga7(),r=H.A(s) -return new H.q(s,r.h("e(1)").a(new U.dj()),r.h("q<1,e>")).aT(0,0,C.m,t.S)}, -$S:20} -U.dj.prototype={ -$1:function(a){return t.B.a(a).gaa().length}, -$S:6} -U.dk.prototype={ -$1:function(a){var s=t.a.a(a).ga7(),r=H.A(s) -return new H.q(s,r.h("c(1)").a(new U.di(this.a)),r.h("q<1,c>")).aw(0)}, -$S:34} -U.di.prototype={ -$1:function(a){t.B.a(a) -return J.ft(a.gaa(),this.a)+" "+H.d(a.gax())+"\n"}, -$S:5} +A.dh.prototype={ +$1(a){var s=t.a.a(a).ga7(),r=A.B(s) +return new A.o(s,r.i("c(1)").a(new A.df(this.a)),r.i("o<1,c>")).az(0)}, +$S:25} +A.df.prototype={ +$1(a){t.B.a(a) +return B.a.bF(a.gaa(),this.a)+" "+A.h(a.gaA())+"\n"}, +$S:8} A.i.prototype={ -gaZ:function(){var s=this.a -if(s.gH()==="data")return"data:..." -return $.eJ().cC(s)}, -gaa:function(){var s,r=this,q=r.b +gaZ(){var s=this.a +if(s.gI()==="data")return"data:..." +return $.ey().cw(s)}, +gaa(){var s,r=this,q=r.b if(q==null)return r.gaZ() s=r.c -if(s==null)return H.d(r.gaZ())+" "+H.d(q) -return H.d(r.gaZ())+" "+H.d(q)+":"+H.d(s)}, -i:function(a){return H.d(this.gaa())+" in "+H.d(this.d)}, -gae:function(){return this.a}, -ga2:function(){return this.b}, -ga6:function(){return this.c}, -gax:function(){return this.d}} -A.dx.prototype={ -$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a -if(k==="...")return new A.i(P.H(l,l,l,l),l,l,"...") -s=$.iq().a_(k) -if(s==null)return new N.a6(P.H(l,"unparsed",l,l),k) +if(s==null)return r.gaZ()+" "+A.h(q) +return r.gaZ()+" "+A.h(q)+":"+A.h(s)}, +h(a){return this.gaa()+" in "+A.h(this.d)}, +gae(){return this.a}, +ga2(){return this.b}, +ga6(){return this.c}, +gaA(){return this.d}} +A.du.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.i(A.E(l,l,l,l),l,l,"...") +s=$.ij().a_(k) +if(s==null)return new A.a5(A.E(l,"unparsed",l,l),k) k=s.b -if(1>=k.length)return H.b(k,1) +if(1>=k.length)return A.b(k,1) r=k[1] r.toString -q=$.i9() -r=H.a_(r,q,"") -p=H.a_(r,"","") -if(2>=k.length)return H.b(k,2) +q=t.E.a($.i3()) +r=A.X(r,q,"") +p=A.X(r,"","") +if(2>=k.length)return A.b(k,2) r=k[2] q=r q.toString -if(C.a.u(q,"=k.length)return H.b(k,3) +o=A.O(r)}if(3>=k.length)return A.b(k,3) n=k[3].split(":") k=n.length -m=k>1?P.Z(n[1],l):l -return new A.i(o,m,k>2?P.Z(n[2],l):l,p)}, -$S:2} -A.dv.prototype={ -$0:function(){var s,r,q,p="",o=this.a,n=$.il().a_(o) -if(n==null)return new N.a6(P.H(null,"unparsed",null,null),o) -o=new A.dw(o) +m=k>1?A.W(n[1],l):l +return new A.i(o,m,k>2?A.W(n[2],l):l,p)}, +$S:1} +A.ds.prototype={ +$0(){var s,r,q,p="",o=this.a,n=$.ie().a_(o) +if(n==null)return new A.a5(A.E(null,"unparsed",null,null),o) +o=new A.dt(o) s=n.b r=s.length -if(2>=r)return H.b(s,2) +if(2>=r)return A.b(s,2) q=s[2] if(q!=null){r=q r.toString s=s[1] s.toString -s=H.a_(s,"",p) -s=H.a_(s,"Anonymous function",p) -return o.$2(r,H.a_(s,"(anonymous function)",p))}else{if(3>=r)return H.b(s,3) +s=A.X(s,"",p) +s=A.X(s,"Anonymous function",p) +return o.$2(r,A.X(s,"(anonymous function)",p))}else{if(3>=r)return A.b(s,3) s=s[3] s.toString return o.$2(s,p)}}, -$S:2} -A.dw.prototype={ -$2:function(a,b){var s,r,q,p,o,n=null,m=$.ik(),l=m.a_(a) +$S:1} +A.dt.prototype={ +$2(a,b){var s,r,q,p,o,n=null,m=$.id(),l=m.a_(a) for(;l!=null;a=s){s=l.b -if(1>=s.length)return H.b(s,1) +if(1>=s.length)return A.b(s,1) s=s[1] s.toString -l=m.a_(s)}if(a==="native")return new A.i(P.R("native"),n,n,b) -r=$.ip().a_(a) -if(r==null)return new N.a6(P.H(n,"unparsed",n,n),this.a) +l=m.a_(s)}if(a==="native")return new A.i(A.O("native"),n,n,b) +r=$.ii().a_(a) +if(r==null)return new A.a5(A.E(n,"unparsed",n,n),this.a) m=r.b -if(1>=m.length)return H.b(m,1) +if(1>=m.length)return A.b(m,1) s=m[1] s.toString -q=A.eN(s) -if(2>=m.length)return H.b(m,2) +q=A.eE(s) +if(2>=m.length)return A.b(m,2) s=m[2] s.toString -p=P.Z(s,n) -if(3>=m.length)return H.b(m,3) +p=A.W(s,n) +if(3>=m.length)return A.b(m,3) o=m[3] -return new A.i(q,p,o!=null?P.Z(o,n):n,b)}, -$S:25} -A.ds.prototype={ -$0:function(){var s,r,q,p,o=null,n=this.a,m=$.ib().a_(n) -if(m==null)return new N.a6(P.H(o,"unparsed",o,o),n) +return new A.i(q,p,o!=null?A.W(o,n):n,b)}, +$S:26} +A.dp.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.i5().a_(n) +if(m==null)return new A.a5(A.E(o,"unparsed",o,o),n) n=m.b -if(1>=n.length)return H.b(n,1) +if(1>=n.length)return A.b(n,1) s=n[1] s.toString -r=H.a_(s,"/<","") -if(2>=n.length)return H.b(n,2) +r=A.X(s,"/<","") +if(2>=n.length)return A.b(n,2) s=n[2] s.toString -q=A.eN(s) -if(3>=n.length)return H.b(n,3) +q=A.eE(s) +if(3>=n.length)return A.b(n,3) n=n[3] n.toString -p=P.Z(n,o) +p=A.W(n,o) return new A.i(q,p,o,r.length===0||r==="anonymous"?"":r)}, -$S:2} -A.dt.prototype={ -$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.id().a_(k) -if(j==null)return new N.a6(P.H(l,"unparsed",l,l),k) +$S:1} +A.dq.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.i7().a_(k) +if(j==null)return new A.a5(A.E(l,"unparsed",l,l),k) s=j.b -if(3>=s.length)return H.b(s,3) +if(3>=s.length)return A.b(s,3) r=s[3] q=r q.toString -if(C.a.C(q," line "))return A.iN(k) +if(B.a.E(q," line "))return A.iF(k) k=r k.toString -p=A.eN(k) +p=A.eE(k) k=s.length -if(1>=k)return H.b(s,1) +if(1>=k)return A.b(s,1) o=s[1] -if(o!=null){if(2>=k)return H.b(s,2) +if(o!=null){if(2>=k)return A.b(s,2) k=s[2] k.toString -k=C.a.ar("/",k) -o+=C.b.aw(P.ap(k.gq(k),".",!1,t.N)) +k=B.a.aq("/",k) +o+=B.b.az(A.am(k.gq(k),".",!1,t.N)) if(o==="")o="" -o=C.a.bH(o,$.ii(),"")}else o="" -if(4>=s.length)return H.b(s,4) +o=B.a.bJ(o,$.ib(),"")}else o="" +if(4>=s.length)return A.b(s,4) k=s[4] if(k==="")n=l else{k=k k.toString -n=P.Z(k,l)}if(5>=s.length)return H.b(s,5) +n=A.W(k,l)}if(5>=s.length)return A.b(s,5) k=s[5] if(k==null||k==="")m=l else{k=k k.toString -m=P.Z(k,l)}return new A.i(p,n,m,o)}, -$S:2} -A.du.prototype={ -$0:function(){var s,r,q,p,o=null,n=this.a,m=$.ig().a_(n) -if(m==null)throw H.a(P.r("Couldn't parse package:stack_trace stack trace line '"+H.d(n)+"'.",o,o)) +m=A.W(k,l)}return new A.i(p,n,m,o)}, +$S:1} +A.dr.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.i9().a_(n) +if(m==null)throw A.a(A.q("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) n=m.b -if(1>=n.length)return H.b(n,1) +if(1>=n.length)return A.b(n,1) s=n[1] -if(s==="data:...")r=P.fX("") +if(s==="data:...")r=A.fT("") else{s=s s.toString -r=P.R(s)}if(r.gH()===""){s=$.eJ() -r=s.bJ(s.bu(s.a.az(M.fe(r)),o,o,o,o,o,o))}if(2>=n.length)return H.b(n,2) +r=A.O(s)}if(r.gI()===""){s=$.ey() +r=s.bL(s.bt(s.a.aB(A.f2(r)),o,o,o,o,o,o,o,o,o,o,o,o,o,o))}if(2>=n.length)return A.b(n,2) s=n[2] if(s==null)q=o else{s=s s.toString -q=P.Z(s,o)}if(3>=n.length)return H.b(n,3) +q=A.W(s,o)}if(3>=n.length)return A.b(n,3) s=n[3] if(s==null)p=o else{s=s s.toString -p=P.Z(s,o)}if(4>=n.length)return H.b(n,4) +p=A.W(s,o)}if(4>=n.length)return A.b(n,4) return new A.i(r,q,p,n[4])}, -$S:2} -T.cp.prototype={ -gbt:function(){var s=this,r=s.b -if(r===$){r=s.a.$0() -if(s.b===$)s.sbY(r) -else r=H.k(H.dB("_trace"))}return r}, -ga7:function(){return this.gbt().ga7()}, -i:function(a){return J.aw(this.gbt())}, -sbY:function(a){this.b=t.bP.a(a)}, -$icI:1, -$iu:1} -Y.u.prototype={ -i:function(a){var s=this.a,r=H.A(s) -return new H.q(s,r.h("c(1)").a(new Y.e1(new H.q(s,r.h("e(1)").a(new Y.e2()),r.h("q<1,e>")).aT(0,0,C.m,t.S))),r.h("q<1,c>")).aw(0)}, -$icI:1, -ga7:function(){return this.a}} -Y.dZ.prototype={ -$0:function(){return Y.eZ(J.aw(this.a))}, -$S:26} -Y.e_.prototype={ -$1:function(a){return H.j(a).length!==0}, -$S:0} -Y.e0.prototype={ -$1:function(a){return A.fA(H.j(a))}, $S:1} -Y.dX.prototype={ -$1:function(a){return!J.c5(H.j(a),$.io())}, +A.cs.prototype={ +gbs(){var s,r=this,q=r.b +if(q===$){s=r.a.$0() +r.b!==$&&A.dc("_trace") +r.b=s +q=s}return q}, +ga7(){return this.gbs().ga7()}, +h(a){return this.gbs().h(0)}, +$icJ:1, +$it:1} +A.t.prototype={ +h(a){var s=this.a,r=A.B(s) +return new A.o(s,r.i("c(1)").a(new A.dU(new A.o(s,r.i("d(1)").a(new A.dV()),r.i("o<1,d>")).aT(0,0,B.m,t.S))),r.i("o<1,c>")).az(0)}, +$icJ:1, +ga7(){return this.a}} +A.dS.prototype={ +$0(){return A.eP(this.a.h(0))}, +$S:27} +A.dT.prototype={ +$1(a){return A.j(a).length!==0}, $S:0} -Y.dY.prototype={ -$1:function(a){return A.fz(H.j(a))}, -$S:1} -Y.dV.prototype={ -$1:function(a){return H.j(a)!=="\tat "}, +A.dR.prototype={ +$1(a){return!B.a.u(A.j(a),$.ih())}, $S:0} -Y.dW.prototype={ -$1:function(a){return A.fz(H.j(a))}, -$S:1} -Y.dR.prototype={ -$1:function(a){H.j(a) +A.dQ.prototype={ +$1(a){return A.j(a)!=="\tat "}, +$S:0} +A.dO.prototype={ +$1(a){A.j(a) return a.length!==0&&a!=="[native code]"}, $S:0} -Y.dS.prototype={ -$1:function(a){return A.iO(H.j(a))}, -$S:1} -Y.dT.prototype={ -$1:function(a){return!J.c5(H.j(a),"=====")}, +A.dP.prototype={ +$1(a){return!B.a.u(A.j(a),"=====")}, $S:0} -Y.dU.prototype={ -$1:function(a){return A.iP(H.j(a))}, -$S:1} -Y.e2.prototype={ -$1:function(a){return t.B.a(a).gaa().length}, -$S:6} -Y.e1.prototype={ -$1:function(a){t.B.a(a) -if(a instanceof N.a6)return a.i(0)+"\n" -return J.ft(a.gaa(),this.a)+" "+H.d(a.gax())+"\n"}, -$S:5} -N.a6.prototype={ -i:function(a){return this.x}, +A.dV.prototype={ +$1(a){return t.B.a(a).gaa().length}, +$S:7} +A.dU.prototype={ +$1(a){t.B.a(a) +if(a instanceof A.a5)return a.h(0)+"\n" +return B.a.bF(a.gaa(),this.a)+" "+A.h(a.gaA())+"\n"}, +$S:8} +A.a5.prototype={ +h(a){return this.w}, $ii:1, -gae:function(){return this.a}, -ga2:function(){return null}, -ga6:function(){return null}, -gaa:function(){return"unparsed"}, -gax:function(){return this.x}} -O.eF.prototype={ -$1:function(a){var s,r,q,p,o,n,m,l,k,j,i,h="dart:",g="package:" -t.V.a(a) +gae(){return this.a}, +ga2(){return null}, +ga6(){return null}, +gaa(){return"unparsed"}, +gaA(){return this.w}} +A.ev.prototype={ +$1(a){var s,r,q,p,o,n,m,l,k,j,i,h,g="dart:" +t.B.a(a) if(a.ga2()==null)return null s=a.ga6() if(s==null)s=0 r=a.ga2() -if(typeof r!=="number")return r.bc() -q=a.gae().i(0) -p=this.a.bP(r-1,s-1,q) -if(p==null)return null -o=J.aw(p.gN()) -for(r=this.b,q=r.length,n=0;n()","~(c,e)","l(u)","e(u)","~(aH,@)","0^(0^,0^)","~(t?,t?)","@(@,c)","i(c,c)","u()","@(c)","i*(i*)","K*(i*)","c*(a4*)","c*(@)","c*(c*)","~(@(c*)*)","c(u)"],interceptorsByTag:null,leafTags:null,arrayRti:typeof Symbol=="function"&&typeof Symbol()=="symbol"?Symbol("$ti"):"$ti"} -H.jx(v.typeUniverse,JSON.parse('{"cA":"ao","b2":"ao","ab":"ao","dq":"ao","ci":{"K":[]},"p":{"l":["1"],"n":["1"],"f":["1"]},"dz":{"p":["1"],"l":["1"],"n":["1"],"f":["1"]},"ax":{"v":["1"]},"bu":{"aN":[]},"bs":{"e":[],"aN":[]},"ck":{"aN":[]},"am":{"c":[],"dH":[]},"bv":{"o":[]},"cC":{"o":[]},"aQ":{"w":["e"],"aK":["e"],"l":["e"],"n":["e"],"f":["e"],"w.E":"e","aK.E":"e"},"n":{"f":["1"]},"E":{"n":["1"],"f":["1"]},"aG":{"E":["1"],"n":["1"],"f":["1"],"E.E":"1","f.E":"1"},"ad":{"v":["1"]},"X":{"f":["2"],"f.E":"2"},"bj":{"X":["1","2"],"n":["2"],"f":["2"],"f.E":"2"},"aC":{"v":["2"]},"q":{"E":["2"],"n":["2"],"f":["2"],"E.E":"2","f.E":"2"},"O":{"f":["1"],"f.E":"1"},"aL":{"v":["1"]},"bn":{"f":["2"],"f.E":"2"},"bo":{"v":["2"]},"aI":{"f":["1"],"f.E":"1"},"bk":{"aI":["1"],"n":["1"],"f":["1"],"f.E":"1"},"bJ":{"v":["1"]},"bE":{"f":["1"],"f.E":"1"},"bF":{"v":["1"]},"bl":{"v":["1"]},"bN":{"f":["1"],"f.E":"1"},"bO":{"v":["1"]},"b3":{"w":["1"],"aK":["1"],"l":["1"],"n":["1"],"f":["1"]},"b0":{"aH":[]},"bh":{"bL":["1","2"],"b8":["1","2"],"aU":["1","2"],"bW":["1","2"],"M":["1","2"]},"bg":{"M":["1","2"]},"bi":{"bg":["1","2"],"M":["1","2"]},"ch":{"V":[],"aA":[]},"bp":{"V":[],"aA":[]},"cj":{"fC":[]},"bB":{"o":[]},"cl":{"o":[]},"cO":{"o":[]},"cy":{"bm":[]},"V":{"aA":[]},"cL":{"V":[],"aA":[]},"cJ":{"V":[],"aA":[]},"aP":{"V":[],"aA":[]},"cE":{"o":[]},"cX":{"o":[]},"aB":{"W":["1","2"],"M":["1","2"],"W.K":"1","W.V":"2"},"ac":{"n":["1"],"f":["1"],"f.E":"1"},"bw":{"v":["1"]},"an":{"dH":[]},"b4":{"cD":[],"a4":[]},"cW":{"f":["cD"],"f.E":"cD"},"bP":{"v":["cD"]},"bI":{"a4":[]},"d3":{"f":["a4"],"f.E":"a4"},"d4":{"v":["a4"]},"aV":{"aT":["1"]},"bz":{"w":["e"],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"]},"ct":{"w":["e"],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"cv":{"w":["e"],"je":[],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"aD":{"w":["e"],"aJ":[],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"cZ":{"o":[]},"bT":{"o":[]},"bq":{"f":["1"]},"bx":{"w":["1"],"l":["1"],"n":["1"],"f":["1"]},"by":{"W":["1","2"],"M":["1","2"]},"W":{"M":["1","2"]},"aU":{"M":["1","2"]},"bL":{"b8":["1","2"],"aU":["1","2"],"bW":["1","2"],"M":["1","2"]},"d0":{"W":["c","@"],"M":["c","@"],"W.K":"c","W.V":"@"},"d1":{"E":["c"],"n":["c"],"f":["c"],"E.E":"c","f.E":"c"},"c7":{"L":["c","l"],"L.S":"c"},"d6":{"aa":["c","l"]},"c8":{"aa":["c","l"]},"c9":{"L":["l","c"],"L.S":"l"},"ca":{"aa":["l","c"]},"eb":{"L":["1","3"],"L.S":"1"},"ce":{"L":["c","l"]},"cm":{"L":["t?","c"],"L.S":"t?"},"cn":{"aa":["c","t?"]},"cS":{"L":["c","l"],"L.S":"c"},"cU":{"aa":["c","l"]},"cT":{"aa":["l","c"]},"e":{"aN":[]},"l":{"n":["1"],"f":["1"]},"cD":{"a4":[]},"c":{"dH":[]},"be":{"o":[]},"cM":{"o":[]},"cx":{"o":[]},"a2":{"o":[]},"ae":{"o":[]},"cg":{"ae":[],"o":[]},"cw":{"o":[]},"cP":{"o":[]},"cN":{"o":[]},"aF":{"o":[]},"cb":{"o":[]},"cz":{"o":[]},"bH":{"o":[]},"cd":{"o":[]},"aR":{"bm":[]},"C":{"j5":[]},"bX":{"bM":[]},"a0":{"bM":[]},"cY":{"bM":[]},"bC":{"bm":[]},"cB":{"aS":[]},"cR":{"aS":[]},"cV":{"aS":[]},"aZ":{"aq":[]},"cs":{"aq":[]},"cr":{"aq":[]},"d2":{"v":["c"]},"bG":{"dN":[]},"cG":{"dN":[]},"cH":{"dN":[]},"al":{"cI":[]},"cp":{"u":[],"cI":[]},"u":{"cI":[]},"a6":{"i":[]},"co":{"aq":[]},"aJ":{"l":["e"],"n":["e"],"f":["e"]}}')) -H.jw(v.typeUniverse,JSON.parse('{"n":1,"b3":1,"aV":1,"cK":2,"bq":1,"bx":1,"by":2,"bQ":1}')) -var u={q:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",y:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority",w:"`null` encountered as the result from expression with type `Never`."} -var t=(function rtii(){var s=H.aM -return{Y:s("bh"),O:s("n<@>"),C:s("o"),W:s("bm"),B:s("i"),d:s("i(c)"),Z:s("aA"),o:s("fC"),c:s("f"),R:s("f<@>"),D:s("v"),F:s("p"),l:s("p"),s:s("p"),v:s("p"),x:s("p"),J:s("p"),dc:s("p"),b:s("p<@>"),t:s("p"),i:s("p"),m:s("p"),T:s("bt"),g:s("ab"),da:s("aT<@>"),bV:s("aB"),h:s("l"),j:s("l<@>"),L:s("l"),f:s("M<@,@>"),M:s("X"),ax:s("q"),r:s("q"),cr:s("aD"),P:s("bA"),K:s("t"),G:s("ae"),E:s("aZ"),cJ:s("cF"),cx:s("dN"),N:s("c"),bj:s("c(a4)"),cm:s("aH"),a:s("u"),u:s("u(c)"),p:s("aJ"),cC:s("b2"),k:s("bM"),U:s("O"),y:s("bN"),cB:s("K"),Q:s("K(c)"),cb:s("kg"),z:s("@"),q:s("@(c)"),S:s("e"),V:s("i*"),a8:s("M*"),A:s("0&*"),_:s("t*"),az:s("aZ*"),aa:s("@(c*)*"),cO:s("c*(c*)*"),bo:s("~(@(c*)*)*"),bc:s("fB?"),bD:s("l?"),aL:s("l<@>?"),n:s("M?"),X:s("t?"),w:s("b_?"),aD:s("c?"),aE:s("c(a4)?"),a2:s("c(c)?"),bP:s("u?"),I:s("bM?"),e:s("t?(t?,t?)?"),H:s("aN"),cQ:s("~(c,@)")}})();(function constants(){var s=hunkHelpers.makeConstList -C.Q=J.B.prototype -C.b=J.p.prototype -C.c=J.bs.prototype -C.R=J.bt.prototype -C.a=J.am.prototype -C.S=J.ab.prototype -C.Y=H.aD.prototype -C.C=J.cA.prototype -C.n=J.b2.prototype -C.D=new P.c8(127) -C.m=new H.bp(P.ku(),H.aM("bp")) -C.E=new P.c7() -C.a5=new P.ca() -C.F=new P.c9() -C.G=new H.bl(H.aM("bl<0&*>")) -C.t=function getTagFallback(o) { +p.f=$.ey().ck(d)+"/" +r.C(0,A.eC(p.e,"mapping.targetUrl",t.N),p)}}o=s.af(a,b,c,d) +if(o!=null){o.gJ().gO() +s=!1}else s=!0 +if(s)return m +n=o.gJ().gO().gaC() +if(n.length!==0&&J.Q(B.b.gK(n),"null"))return m +return o}, +bR(a,b,c){return this.af(a,b,null,c)}} +A.ew.prototype={ +$1(a){return A.h(a)}, +$S:30};(function aliases(){var s=J.al.prototype +s.bT=s.h +s=A.e.prototype +s.bS=s.bQ})();(function installTearOffs(){var s=hunkHelpers._static_1,r=hunkHelpers.installStaticTearOff +s(A,"kq","jk",3) +s(A,"kv","iM",2) +s(A,"hA","iL",2) +s(A,"kt","iJ",2) +s(A,"ku","iK",2) +s(A,"kW","jd",9) +s(A,"kV","jc",9) +s(A,"kL","kI",3) +s(A,"kM","kK",31) +r(A,"kJ",2,null,["$1$2","$2"],["hF",function(a,b){return A.hF(a,b,t.n)}],32,1)})();(function inheritance(){var s=hunkHelpers.mixin,r=hunkHelpers.inherit,q=hunkHelpers.inheritMany +r(A.r,null) +q(A.r,[A.eI,J.bl,J.as,A.p,A.bM,A.dG,A.e,A.a1,A.k,A.bh,A.be,A.bK,A.au,A.aG,A.aT,A.aQ,A.b9,A.I,A.cj,A.dW,A.cz,A.e5,A.N,A.dx,A.bo,A.aj,A.aY,A.bL,A.bE,A.d6,A.Y,A.d1,A.d7,A.aX,A.b0,A.cL,A.w,A.bU,A.J,A.ea,A.e9,A.cA,A.bD,A.aO,A.bu,A.D,A.bV,A.cS,A.Z,A.cd,A.aZ,A.b_,A.dN,A.dC,A.bw,A.an,A.bG,A.aU,A.d4,A.b1,A.cI,A.bB,A.cG,A.ai,A.i,A.cs,A.t,A.a5]) +q(J.bl,[J.ci,J.ck,J.G,J.u,J.cm,J.aw,A.cw]) +q(J.G,[J.al,A.dn]) +q(J.al,[J.cC,J.aV,J.ak,A.dm]) +r(J.dv,J.u) +q(J.cm,[J.bn,J.cl]) +q(A.p,[A.cq,A.cO,A.cn,A.cQ,A.cF,A.b8,A.d0,A.cy,A.a0,A.bt,A.cR,A.cP,A.aB,A.cc,A.ce]) +r(A.bp,A.bM) +r(A.aW,A.bp) +r(A.aN,A.aW) +q(A.e,[A.n,A.T,A.U,A.bg,A.aE,A.bz,A.bJ,A.bm,A.d5]) +q(A.n,[A.A,A.aa]) +q(A.A,[A.aC,A.o,A.d3]) +r(A.bc,A.T) +q(A.k,[A.ay,A.aH,A.bF,A.bA]) +r(A.bd,A.aE) +r(A.b2,A.aQ) +r(A.bH,A.b2) +r(A.ba,A.bH) +r(A.bb,A.b9) +q(A.I,[A.bj,A.cb,A.ca,A.cN,A.dw,A.eq,A.es,A.e8,A.eg,A.eh,A.dk,A.dl,A.em,A.e2,A.dJ,A.dI,A.de,A.dj,A.di,A.dg,A.dh,A.df,A.dT,A.dR,A.dQ,A.dO,A.dP,A.dV,A.dU,A.ev,A.el,A.ew]) +r(A.bk,A.bj) +q(A.cb,[A.dD,A.er,A.dA,A.dB,A.dY,A.dZ,A.e_,A.ef,A.dH,A.dt]) +r(A.bv,A.cO) +q(A.cN,[A.cK,A.aM]) +r(A.cZ,A.b8) +r(A.br,A.N) +q(A.br,[A.ax,A.d2]) +q(A.bm,[A.cY,A.bP]) +r(A.aR,A.cw) +r(A.bN,A.aR) +r(A.bO,A.bN) +r(A.bs,A.bO) +q(A.bs,[A.cv,A.cx,A.az]) +r(A.bQ,A.d0) +q(A.ca,[A.e1,A.e0,A.ej,A.du,A.ds,A.dp,A.dq,A.dr,A.dS]) +q(A.J,[A.cf,A.c8,A.e3,A.co]) +q(A.cf,[A.c5,A.cU]) +r(A.a8,A.cL) +q(A.a8,[A.d8,A.c9,A.cp,A.cW,A.cV]) +r(A.c6,A.d8) +q(A.a0,[A.ab,A.bi]) +r(A.d_,A.bV) +r(A.av,A.dN) +q(A.av,[A.cD,A.cT,A.cX]) +q(A.an,[A.cu,A.ct,A.by,A.cr]) +r(A.cH,A.cI) +r(A.bC,A.cH) +s(A.aW,A.aG) +s(A.bN,A.w) +s(A.bO,A.au) +s(A.bM,A.w) +s(A.b2,A.bU)})() +var v={typeUniverse:{eC:new Map(),tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{d:"int",ks:"double",aJ:"num",c:"String",a_:"bool",bu:"Null",l:"List"},mangledNames:{},types:["a_(c)","i()","i(c)","c(c)","@()","~(aF,c,d)","a_(@)","d(i)","c(i)","t(c)","~(c,@)","@(@)","@(@,c)","@(c)","~(r?,r?)","~(aD,@)","~(c,d)","~(c,d?)","d(d,d)","aF(@,@)","c(c?)","~(@,@)","M()","l(t)","d(t)","c(t)","i(c,c)","t()","i?(i)","c(a3)","c(@)","~(@(c))","0^(0^,0^)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.jD(v.typeUniverse,JSON.parse('{"cC":"al","aV":"al","ak":"al","dm":"al","ci":{"a_":[]},"u":{"l":["1"],"n":["1"],"e":["1"]},"dv":{"u":["1"],"l":["1"],"n":["1"],"e":["1"]},"as":{"k":["1"]},"cm":{"aJ":[]},"bn":{"d":[],"aJ":[]},"cl":{"aJ":[]},"aw":{"c":[],"cB":[]},"cq":{"p":[]},"aN":{"w":["d"],"aG":["d"],"l":["d"],"n":["d"],"e":["d"],"w.E":"d","aG.E":"d"},"n":{"e":["1"]},"A":{"n":["1"],"e":["1"]},"aC":{"A":["1"],"n":["1"],"e":["1"],"A.E":"1","e.E":"1"},"a1":{"k":["1"]},"T":{"e":["2"],"e.E":"2"},"bc":{"T":["1","2"],"n":["2"],"e":["2"],"e.E":"2"},"ay":{"k":["2"]},"o":{"A":["2"],"n":["2"],"e":["2"],"A.E":"2","e.E":"2"},"U":{"e":["1"],"e.E":"1"},"aH":{"k":["1"]},"bg":{"e":["2"],"e.E":"2"},"bh":{"k":["2"]},"aE":{"e":["1"],"e.E":"1"},"bd":{"aE":["1"],"n":["1"],"e":["1"],"e.E":"1"},"bF":{"k":["1"]},"bz":{"e":["1"],"e.E":"1"},"bA":{"k":["1"]},"be":{"k":["1"]},"bJ":{"e":["1"],"e.E":"1"},"bK":{"k":["1"]},"aW":{"w":["1"],"aG":["1"],"l":["1"],"n":["1"],"e":["1"]},"aT":{"aD":[]},"ba":{"bH":["1","2"],"b2":["1","2"],"aQ":["1","2"],"bU":["1","2"],"M":["1","2"]},"b9":{"M":["1","2"]},"bb":{"b9":["1","2"],"M":["1","2"]},"bj":{"I":[],"a9":[]},"bk":{"I":[],"a9":[]},"cj":{"ft":[]},"bv":{"p":[]},"cn":{"p":[]},"cQ":{"p":[]},"cz":{"bf":[]},"I":{"a9":[]},"ca":{"I":[],"a9":[]},"cb":{"I":[],"a9":[]},"cN":{"I":[],"a9":[]},"cK":{"I":[],"a9":[]},"aM":{"I":[],"a9":[]},"cF":{"p":[]},"cZ":{"p":[]},"ax":{"N":["1","2"],"M":["1","2"],"N.K":"1","N.V":"2"},"aa":{"n":["1"],"e":["1"],"e.E":"1"},"bo":{"k":["1"]},"aj":{"cB":[]},"aY":{"bx":[],"a3":[]},"cY":{"e":["bx"],"e.E":"bx"},"bL":{"k":["bx"]},"bE":{"a3":[]},"d5":{"e":["a3"],"e.E":"a3"},"d6":{"k":["a3"]},"aR":{"aP":["1"]},"bs":{"w":["d"],"aP":["d"],"l":["d"],"n":["d"],"e":["d"],"au":["d"]},"cv":{"w":["d"],"aP":["d"],"l":["d"],"n":["d"],"e":["d"],"au":["d"],"w.E":"d"},"cx":{"w":["d"],"jf":[],"aP":["d"],"l":["d"],"n":["d"],"e":["d"],"au":["d"],"w.E":"d"},"az":{"w":["d"],"aF":[],"aP":["d"],"l":["d"],"n":["d"],"e":["d"],"au":["d"],"w.E":"d"},"d0":{"p":[]},"bQ":{"p":[]},"b0":{"k":["1"]},"bP":{"e":["1"],"e.E":"1"},"bm":{"e":["1"]},"bp":{"w":["1"],"l":["1"],"n":["1"],"e":["1"]},"br":{"N":["1","2"],"M":["1","2"]},"N":{"M":["1","2"]},"aQ":{"M":["1","2"]},"bH":{"b2":["1","2"],"aQ":["1","2"],"bU":["1","2"],"M":["1","2"]},"d2":{"N":["c","@"],"M":["c","@"],"N.K":"c","N.V":"@"},"d3":{"A":["c"],"n":["c"],"e":["c"],"A.E":"c","e.E":"c"},"c5":{"J":["c","l"],"J.S":"c"},"d8":{"a8":["c","l"]},"c6":{"a8":["c","l"]},"c8":{"J":["l","c"],"J.S":"l"},"c9":{"a8":["l","c"]},"e3":{"J":["1","3"],"J.S":"1"},"cf":{"J":["c","l"]},"co":{"J":["r?","c"],"J.S":"r?"},"cp":{"a8":["c","r?"]},"cU":{"J":["c","l"],"J.S":"c"},"cW":{"a8":["c","l"]},"cV":{"a8":["l","c"]},"d":{"aJ":[]},"l":{"n":["1"],"e":["1"]},"bx":{"a3":[]},"c":{"cB":[]},"b8":{"p":[]},"cO":{"p":[]},"cy":{"p":[]},"a0":{"p":[]},"ab":{"p":[]},"bi":{"ab":[],"p":[]},"bt":{"p":[]},"cR":{"p":[]},"cP":{"p":[]},"aB":{"p":[]},"cc":{"p":[]},"cA":{"p":[]},"bD":{"p":[]},"ce":{"p":[]},"aO":{"bf":[]},"D":{"j4":[]},"bV":{"bI":[]},"Z":{"bI":[]},"d_":{"bI":[]},"bw":{"bf":[]},"cD":{"av":[]},"cT":{"av":[]},"cX":{"av":[]},"by":{"an":[]},"cu":{"an":[]},"ct":{"an":[]},"d4":{"k":["c"]},"bC":{"dK":[]},"cH":{"dK":[]},"cI":{"dK":[]},"ai":{"cJ":[]},"cs":{"t":[],"cJ":[]},"t":{"cJ":[]},"a5":{"i":[]},"cr":{"an":[]},"aF":{"l":["d"],"n":["d"],"e":["d"]}}')) +A.jC(v.typeUniverse,JSON.parse('{"n":1,"aW":1,"aR":1,"cL":2,"bm":1,"bp":1,"br":2,"bM":1}')) +var u={a:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",i:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority"} +var t=(function rtii(){var s=A.c_ +return{Y:s("ba"),V:s("n<@>"),C:s("p"),W:s("bf"),B:s("i"),d:s("i(c)"),Z:s("a9"),O:s("av"),o:s("ft"),l:s("e"),R:s("e<@>"),F:s("u"),D:s("u"),s:s("u"),v:s("u"),x:s("u"),J:s("u"),dc:s("u"),b:s("u<@>"),t:s("u"),m:s("u"),T:s("ck"),g:s("ak"),da:s("aP<@>"),bV:s("ax"),h:s("l"),j:s("l<@>"),L:s("l"),f:s("M<@,@>"),M:s("T"),ax:s("o"),r:s("o"),cr:s("az"),P:s("bu"),K:s("r"),E:s("cB"),G:s("ab"),cY:s("l0"),e:s("bx"),c:s("by"),cJ:s("cG"),cx:s("dK"),N:s("c"),bj:s("c(a3)"),bm:s("c(c)"),cm:s("aD"),a:s("t"),u:s("t(c)"),p:s("aF"),cC:s("aV"),k:s("bI"),U:s("U"),y:s("bJ"),cB:s("a_"),Q:s("a_(c)"),i:s("ks"),z:s("@"),q:s("@(c)"),S:s("d"),A:s("0&*"),_:s("r*"),bc:s("fs?"),aL:s("l<@>?"),H:s("M?"),X:s("r?"),w:s("bB?"),aD:s("c?"),aE:s("c(a3)?"),a2:s("c(c)?"),I:s("bI?"),cW:s("r?(r?,r?)?"),n:s("aJ"),cQ:s("~(c,@)"),ae:s("~(@(c))")}})();(function constants(){var s=hunkHelpers.makeConstList +B.R=J.bl.prototype +B.b=J.u.prototype +B.c=J.bn.prototype +B.a=J.aw.prototype +B.S=J.ak.prototype +B.T=J.G.prototype +B.Z=A.az.prototype +B.D=J.cC.prototype +B.o=J.aV.prototype +B.E=new A.c6(127) +B.m=new A.bk(A.kJ(),A.c_("bk")) +B.F=new A.c5() +B.a8=new A.c9() +B.G=new A.c8() +B.H=new A.be(A.c_("be<0&>")) +B.u=function getTagFallback(o) { var s = Object.prototype.toString.call(o); return s.substring(8, s.length - 1); } -C.H=function() { +B.I=function() { var toStringFunction = Object.prototype.toString; function getTag(o) { var s = toStringFunction.call(o); @@ -5295,7 +5335,7 @@ C.H=function() { prototypeForTag: prototypeForTag, discriminator: discriminator }; } -C.M=function(getTagFallback) { +B.N=function(getTagFallback) { return function(hooks) { if (typeof navigator != "object") return hooks; var ua = navigator.userAgent; @@ -5309,11 +5349,11 @@ C.M=function(getTagFallback) { hooks.getTag = getTagFallback; }; } -C.I=function(hooks) { +B.J=function(hooks) { if (typeof dartExperimentalFixupGetTag != "function") return hooks; hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); } -C.J=function(hooks) { +B.K=function(hooks) { var getTag = hooks.getTag; var prototypeForTag = hooks.prototypeForTag; function getTagFixed(o) { @@ -5331,7 +5371,7 @@ C.J=function(hooks) { hooks.getTag = getTagFixed; hooks.prototypeForTag = prototypeForTagFixed; } -C.L=function(hooks) { +B.M=function(hooks) { var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; if (userAgent.indexOf("Firefox") == -1) return hooks; var getTag = hooks.getTag; @@ -5348,7 +5388,7 @@ C.L=function(hooks) { } hooks.getTag = getTagFirefox; } -C.K=function(hooks) { +B.L=function(hooks) { var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; if (userAgent.indexOf("Trident/") == -1) return hooks; var getTag = hooks.getTag; @@ -5377,104 +5417,108 @@ C.K=function(hooks) { hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; } -C.u=function(hooks) { return hooks; } +B.v=function(hooks) { return hooks; } -C.N=new P.cm() -C.O=new P.cz() -C.e=new P.cS() -C.P=new P.cU() -C.v=new H.ed() -C.T=new P.cn(null) -C.i=H.h(s([0,0,32776,33792,1,10240,0,0]),t.i) -C.h=H.h(s([0,0,65490,45055,65535,34815,65534,18431]),t.i) -C.j=H.h(s([0,0,26624,1023,65534,2047,65534,2047]),t.i) -C.x=H.h(s([]),t.b) -C.w=H.h(s([]),H.aM("p")) -C.U=H.h(s([]),t.m) -C.W=H.h(s([0,0,32722,12287,65534,34815,65534,18431]),t.i) -C.k=H.h(s([0,0,24576,1023,65534,34815,65534,18431]),t.i) -C.y=H.h(s([0,0,27858,1023,65534,51199,65535,32767]),t.i) -C.z=H.h(s([0,0,32754,11263,65534,34815,65534,18431]),t.i) -C.X=H.h(s([0,0,32722,12287,65535,34815,65534,18431]),t.i) -C.A=H.h(s([0,0,65490,12287,65535,34815,65534,18431]),t.i) -C.V=H.h(s([]),H.aM("p")) -C.B=new H.bi(0,{},C.V,H.aM("bi")) -C.Z=new H.b0("call") -C.a_=new P.cT(!1) -C.o=new M.b5("at root") -C.p=new M.b5("below root") -C.a0=new M.b5("reaches root") -C.q=new M.b5("above root") -C.d=new M.b6("different") -C.r=new M.b6("equal") -C.f=new M.b6("inconclusive") -C.l=new M.b6("within") -C.a1=new T.b7(!1,!1,!1) -C.a2=new T.b7(!1,!1,!0) -C.a3=new T.b7(!1,!0,!1) -C.a4=new T.b7(!0,!1,!1)})();(function staticFields(){$.ec=null -$.a8=0 -$.bf=null -$.fw=null -$.hE=null -$.hA=null -$.hN=null -$.eu=null -$.eC=null -$.fi=null -$.Y=H.h([],H.aM("p")) -$.hp=null -$.ep=null -$.fc=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazyOld -s($,"kG","fl",function(){return H.ki("_$dart_dartClosure")}) -s($,"kP","hW",function(){return H.ag(H.e4({ -toString:function(){return"$receiver$"}}))}) -s($,"kQ","hX",function(){return H.ag(H.e4({$method$:null, -toString:function(){return"$receiver$"}}))}) -s($,"kR","hY",function(){return H.ag(H.e4(null))}) -s($,"kS","hZ",function(){return H.ag(function(){var $argumentsExpr$="$arguments$" -try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())}) -s($,"kV","i1",function(){return H.ag(H.e4(void 0))}) -s($,"kW","i2",function(){return H.ag(function(){var $argumentsExpr$="$arguments$" -try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())}) -s($,"kU","i0",function(){return H.ag(H.fU(null))}) -s($,"kT","i_",function(){return H.ag(function(){try{null.$method$}catch(q){return q.message}}())}) -s($,"kY","i4",function(){return H.ag(H.fU(void 0))}) -s($,"kX","i3",function(){return H.ag(function(){try{(void 0).$method$}catch(q){return q.message}}())}) -s($,"kZ","i5",function(){return new P.e9().$0()}) -s($,"l_","i6",function(){return new P.e8().$0()}) -s($,"l0","i7",function(){return new Int8Array(H.hq(H.h([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))}) -s($,"l1","fm",function(){return typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"}) -s($,"l2","i8",function(){return P.m("^[\\-\\.0-9A-Z_a-z~]*$",!1)}) -s($,"lp","ij",function(){return P.jR()}) -s($,"lB","is",function(){return M.eM($.c3())}) -s($,"lz","fn",function(){return M.eM($.bc())}) -s($,"lw","eJ",function(){return new M.cc($.eI(),null)}) -s($,"kM","hV",function(){return new E.cB(P.m("/",!1),P.m("[^/]$",!1),P.m("^/",!1))}) -s($,"kO","c3",function(){return new L.cV(P.m("[/\\\\]",!1),P.m("[^/\\\\]$",!1),P.m("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),P.m("^[/\\\\](?![/\\\\])",!1))}) -s($,"kN","bc",function(){return new F.cR(P.m("/",!1),P.m("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),P.m("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),P.m("^/",!1))}) -s($,"kL","eI",function(){return O.j7()}) -s($,"lg","ia",function(){return new L.eq().$0()}) -s($,"kJ","hT",function(){return H.T(P.hM(2,31))-1}) -s($,"kK","hU",function(){return-H.T(P.hM(2,31))}) -s($,"lv","iq",function(){return P.m("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)}) -s($,"lr","il",function(){return P.m("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)}) -s($,"lu","ip",function(){return P.m("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)}) -s($,"lq","ik",function(){return P.m("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)}) -s($,"lh","ib",function(){return P.m("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)}) -s($,"lj","id",function(){return P.m("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)}) -s($,"ll","ig",function(){return P.m("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)}) -s($,"lf","i9",function(){return P.m("<(|[^>]+)_async_body>",!1)}) -s($,"lo","ii",function(){return P.m("^\\.",!1)}) -s($,"kH","hR",function(){return P.m("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)}) -s($,"kI","hS",function(){return P.m("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)}) -s($,"ls","im",function(){return P.m("\\n ?at ",!1)}) -s($,"lt","io",function(){return P.m(" ?at ",!1)}) -s($,"li","ic",function(){return P.m("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)}) -s($,"lk","ie",function(){return P.m("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)}) -s($,"lm","ih",function(){return P.m("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)}) -s($,"lA","fo",function(){return P.m("^\\n?$",!0)}) -r($,"ly","ir",function(){return J.iw(self.$dartLoader.rootDirectories,new D.eH(),H.aM("c*")).b6(0)})})();(function nativeSupport(){!function(){var s=function(a){var m={} +B.O=new A.co() +B.P=new A.cA() +B.n=new A.dG() +B.e=new A.cU() +B.Q=new A.cW() +B.w=new A.e5() +B.U=new A.cp(null) +B.i=A.f(s([0,0,32776,33792,1,10240,0,0]),t.t) +B.h=A.f(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) +B.j=A.f(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +B.x=A.f(s([]),t.s) +B.y=A.f(s([]),t.b) +B.V=A.f(s([]),t.m) +B.X=A.f(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) +B.k=A.f(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) +B.z=A.f(s([0,0,27858,1023,65534,51199,65535,32767]),t.t) +B.A=A.f(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +B.Y=A.f(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +B.B=A.f(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +B.W=A.f(s([]),A.c_("u")) +B.C=new A.bb(0,{},B.W,A.c_("bb")) +B.a_=new A.aT("call") +B.a0=A.kX("r") +B.a1=new A.cV(!1) +B.a2=new A.aX(null,2) +B.p=new A.aZ("at root") +B.q=new A.aZ("below root") +B.a3=new A.aZ("reaches root") +B.r=new A.aZ("above root") +B.d=new A.b_("different") +B.t=new A.b_("equal") +B.f=new A.b_("inconclusive") +B.l=new A.b_("within") +B.a4=new A.b1(!1,!1,!1) +B.a5=new A.b1(!1,!1,!0) +B.a6=new A.b1(!1,!0,!1) +B.a7=new A.b1(!0,!1,!1)})();(function staticFields(){$.e4=null +$.fC=null +$.fo=null +$.fn=null +$.hB=null +$.hy=null +$.hK=null +$.eo=null +$.et=null +$.fa=null +$.V=A.f([],A.c_("u")) +$.hl=null +$.ei=null +$.hr=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazy +s($,"kY","fd",()=>A.kw("_$dart_dartClosure")) +s($,"l5","hQ",()=>A.ac(A.dX({ +toString:function(){return"$receiver$"}}))) +s($,"l6","hR",()=>A.ac(A.dX({$method$:null, +toString:function(){return"$receiver$"}}))) +s($,"l7","hS",()=>A.ac(A.dX(null))) +s($,"l8","hT",()=>A.ac(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())) +s($,"lb","hW",()=>A.ac(A.dX(void 0))) +s($,"lc","hX",()=>A.ac(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())) +s($,"la","hV",()=>A.ac(A.fQ(null))) +s($,"l9","hU",()=>A.ac(function(){try{null.$method$}catch(q){return q.message}}())) +s($,"le","hZ",()=>A.ac(A.fQ(void 0))) +s($,"ld","hY",()=>A.ac(function(){try{(void 0).$method$}catch(q){return q.message}}())) +s($,"lf","i_",()=>new A.e1().$0()) +s($,"lg","i0",()=>new A.e0().$0()) +s($,"lh","i1",()=>new Int8Array(A.hm(A.f([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))) +s($,"lj","fe",()=>typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32") +s($,"lk","i2",()=>A.m("^[\\-\\.0-9A-Z_a-z~]*$",!1)) +s($,"lE","ff",()=>A.hG(B.a0)) +s($,"lG","ic",()=>A.jZ()) +s($,"lU","io",()=>A.eD($.c4())) +s($,"lS","fg",()=>A.eD($.b7())) +s($,"lN","ey",()=>new A.cd(t.O.a($.ex()),null)) +s($,"l2","hP",()=>new A.cD(A.m("/",!1),A.m("[^/]$",!1),A.m("^/",!1))) +s($,"l4","c4",()=>new A.cX(A.m("[/\\\\]",!1),A.m("[^/\\\\]$",!1),A.m("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.m("^[/\\\\](?![/\\\\])",!1))) +s($,"l3","b7",()=>new A.cT(A.m("/",!1),A.m("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.m("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.m("^/",!1))) +s($,"l1","ex",()=>A.j6()) +s($,"lx","i4",()=>new A.ej().$0()) +s($,"lP","ik",()=>A.P(A.hJ(2,31))-1) +s($,"lQ","il",()=>-A.P(A.hJ(2,31))) +s($,"lM","ij",()=>A.m("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)) +s($,"lI","ie",()=>A.m("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)) +s($,"lL","ii",()=>A.m("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)) +s($,"lH","id",()=>A.m("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)) +s($,"ly","i5",()=>A.m("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)) +s($,"lA","i7",()=>A.m("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)) +s($,"lC","i9",()=>A.m("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)) +s($,"lw","i3",()=>A.m("<(|[^>]+)_async_body>",!1)) +s($,"lF","ib",()=>A.m("^\\.",!1)) +s($,"kZ","hN",()=>A.m("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)) +s($,"l_","hO",()=>A.m("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)) +s($,"lJ","ig",()=>A.m("\\n ?at ",!1)) +s($,"lK","ih",()=>A.m(" ?at ",!1)) +s($,"lz","i6",()=>A.m("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)) +s($,"lB","i8",()=>A.m("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)) +s($,"lD","ia",()=>A.m("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)) +s($,"lT","fh",()=>A.m("^\\n?$",!0)) +r($,"lR","im",()=>J.is(self.$dartLoader.rootDirectories,new A.ew(),t.N).b6(0))})();(function nativeSupport(){!function(){var s=function(a){var m={} m[a]=1 return Object.keys(hunkHelpers.convertToFastObject(m))[0]} v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} @@ -5485,14 +5529,14 @@ for(var o=0;;o++){var n=s(p+"_"+o+"_") if(!(n in q)){q[n]=1 v.isolateTag=n break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() -hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.B,ApplicationCacheErrorEvent:J.B,DOMError:J.B,ErrorEvent:J.B,Event:J.B,InputEvent:J.B,SubmitEvent:J.B,MediaError:J.B,NavigatorUserMediaError:J.B,OverconstrainedError:J.B,PositionError:J.B,SensorErrorEvent:J.B,SpeechRecognitionError:J.B,SQLError:J.B,ArrayBufferView:H.cu,Int8Array:H.ct,Uint32Array:H.cv,Uint8Array:H.aD,DOMException:W.dr}) -hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,SQLError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) -H.aV.$nativeSuperclassTag="ArrayBufferView" -H.bR.$nativeSuperclassTag="ArrayBufferView" -H.bS.$nativeSuperclassTag="ArrayBufferView" -H.bz.$nativeSuperclassTag="ArrayBufferView"})() -Function.prototype.$1=function(a){return this(a)} +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.bl,ApplicationCacheErrorEvent:J.G,DOMError:J.G,ErrorEvent:J.G,Event:J.G,InputEvent:J.G,SubmitEvent:J.G,MediaError:J.G,NavigatorUserMediaError:J.G,OverconstrainedError:J.G,PositionError:J.G,GeolocationPositionError:J.G,SensorErrorEvent:J.G,SpeechRecognitionError:J.G,ArrayBufferView:A.cw,Int8Array:A.cv,Uint32Array:A.cx,Uint8Array:A.az,DOMException:A.dn}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,GeolocationPositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +A.aR.$nativeSuperclassTag="ArrayBufferView" +A.bN.$nativeSuperclassTag="ArrayBufferView" +A.bO.$nativeSuperclassTag="ArrayBufferView" +A.bs.$nativeSuperclassTag="ArrayBufferView"})() Function.prototype.$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} Function.prototype.$2=function(a,b){return this(a,b)} Function.prototype.$3=function(a,b,c){return this(a,b,c)} Function.prototype.$1$1=function(a){return this(a)} @@ -5502,6 +5546,6 @@ return}if(typeof document.currentScript!="undefined"){a(document.currentScript) return}var s=document.scripts function onLoad(b){for(var q=0;q expression + - title: "Replace with get expression" + date: 2023-04-18 + element: + method: 'condition' + uris: [ 'package:analyzer/dart/ast/ast.dart' ] + inClass: 'IfStatement' + changes: + - kind: rename + newName: 'expression' + - title: "Replace with get expression" + date: 2023-04-18 + element: + method: 'condition' + uris: [ 'package:analyzer/dart/ast/ast.dart' ] + inClass: 'IfElement' + changes: + - kind: rename + newName: 'expression' diff --git a/dev/packages/analyzer/src/summary/format.fbs b/dev/packages/analyzer/src/summary/format.fbs index e9c6fe6ed..905b03dea 100644 --- a/dev/packages/analyzer/src/summary/format.fbs +++ b/dev/packages/analyzer/src/summary/format.fbs @@ -36,31 +36,9 @@ enum AvailableDeclarationKind : byte { SETTER, - VARIABLE -} + TYPE_ALIAS, -/// Enum representing nullability suffixes in summaries. -/// -/// This enum is similar to [NullabilitySuffix], but the order is different so -/// that [EntityRefNullabilitySuffix.starOrIrrelevant] can be the default. -enum EntityRefNullabilitySuffix : byte { - /// An indication that the canonical representation of the type under - /// consideration ends with `*`. Types having this nullability suffix are - /// called "legacy types"; it has not yet been determined whether they should - /// be unioned with the Null type. - /// - /// Also used in circumstances where no nullability suffix information is - /// needed. - starOrIrrelevant, - - /// An indication that the canonical representation of the type under - /// consideration ends with `?`. Types having this nullability suffix should - /// be interpreted as being unioned with the Null type. - question, - - /// An indication that the canonical representation of the type under - /// consideration does not end with either `?` or `*`. - none + VARIABLE } /// Enum used to indicate the kind of an index relation. @@ -80,6 +58,11 @@ enum IndexRelationKind : byte { /// Right: other class declaration. IS_IMPLEMENTED_BY, + /// Left: an interface element. + /// Constrains. + /// Right: mixin. + CONSTRAINS, + /// Left: class. /// Is mixed into. /// Right: other class declaration. @@ -90,11 +73,23 @@ enum IndexRelationKind : byte { /// Right: location. IS_INVOKED_BY, + /// Left: an unnamed constructor. + /// Is invoked by an enum constant, without arguments, which is special + /// because when the name given, an empty argument list must be added. + /// Right: location. + IS_INVOKED_BY_ENUM_CONSTANT_WITHOUT_ARGUMENTS, + /// Left: any element. /// Is referenced (and not invoked, read/written) at. /// Right: location. IS_REFERENCED_BY, + /// Left: a constructor. + /// Is referenced by a constructor tear-off at, which is special because + /// the name of the constructor is required (`new` for unnamed). + /// Right: location. + IS_REFERENCED_BY_CONSTRUCTOR_TEAR_OFF, + /// Left: unresolved member name. /// Is read at. /// Right: location. @@ -149,586 +144,6 @@ enum IndexSyntheticElementKind : byte { unit } -/// Types of comments. -enum LinkedNodeCommentType : byte { - block, - - documentation, - - endOfLine -} - -/// Kinds of formal parameters. -enum LinkedNodeFormalParameterKind : byte { - requiredPositional, - - optionalPositional, - - optionalNamed, - - requiredNamed -} - -/// Kinds of [LinkedNode]. -enum LinkedNodeKind : byte { - adjacentStrings, - - annotation, - - argumentList, - - asExpression, - - assertInitializer, - - assertStatement, - - assignmentExpression, - - awaitExpression, - - binaryExpression, - - block, - - blockFunctionBody, - - booleanLiteral, - - breakStatement, - - cascadeExpression, - - catchClause, - - classDeclaration, - - classTypeAlias, - - comment, - - commentReference, - - compilationUnit, - - conditionalExpression, - - configuration, - - constructorDeclaration, - - constructorFieldInitializer, - - constructorName, - - continueStatement, - - declaredIdentifier, - - defaultFormalParameter, - - doubleLiteral, - - doStatement, - - dottedName, - - emptyFunctionBody, - - emptyStatement, - - enumConstantDeclaration, - - enumDeclaration, - - exportDirective, - - expressionFunctionBody, - - expressionStatement, - - extendsClause, - - extensionDeclaration, - - fieldDeclaration, - - fieldFormalParameter, - - formalParameterList, - - forEachPartsWithDeclaration, - - forEachPartsWithIdentifier, - - forElement, - - forPartsWithDeclarations, - - forPartsWithExpression, - - forStatement, - - functionDeclaration, - - functionDeclarationStatement, - - functionExpression, - - functionExpressionInvocation, - - functionTypeAlias, - - functionTypedFormalParameter, - - genericFunctionType, - - genericTypeAlias, - - hideCombinator, - - ifElement, - - ifStatement, - - implementsClause, - - importDirective, - - instanceCreationExpression, - - indexExpression, - - integerLiteral, - - interpolationExpression, - - interpolationString, - - isExpression, - - label, - - labeledStatement, - - libraryDirective, - - libraryIdentifier, - - listLiteral, - - mapLiteralEntry, - - methodDeclaration, - - methodInvocation, - - mixinDeclaration, - - namedExpression, - - nativeClause, - - nativeFunctionBody, - - nullLiteral, - - onClause, - - parenthesizedExpression, - - partDirective, - - partOfDirective, - - postfixExpression, - - prefixExpression, - - prefixedIdentifier, - - propertyAccess, - - redirectingConstructorInvocation, - - rethrowExpression, - - returnStatement, - - setOrMapLiteral, - - showCombinator, - - simpleFormalParameter, - - simpleIdentifier, - - simpleStringLiteral, - - spreadElement, - - stringInterpolation, - - superConstructorInvocation, - - superExpression, - - switchCase, - - switchDefault, - - switchStatement, - - symbolLiteral, - - thisExpression, - - throwExpression, - - topLevelVariableDeclaration, - - tryStatement, - - typeArgumentList, - - typeName, - - typeParameter, - - typeParameterList, - - variableDeclaration, - - variableDeclarationList, - - variableDeclarationStatement, - - whileStatement, - - withClause, - - yieldStatement, - - extensionOverride -} - -/// Kinds of [LinkedNodeType]s. -enum LinkedNodeTypeKind : byte { - dynamic_, - - function, - - interface, - - never, - - typeParameter, - - void_ -} - -/// Enum used to indicate the kind of the error during top-level inference. -enum TopLevelInferenceErrorKind : byte { - assignment, - - instanceGetter, - - dependencyCycle, - - overrideConflictFieldType, - - overrideNoCombinedSuperSignature -} - -/// Enum of token types, corresponding to AST token types. -enum UnlinkedTokenType : byte { - NOTHING, - - ABSTRACT, - - AMPERSAND, - - AMPERSAND_AMPERSAND, - - AMPERSAND_EQ, - - AS, - - ASSERT, - - ASYNC, - - AT, - - AWAIT, - - BACKPING, - - BACKSLASH, - - BANG, - - BANG_EQ, - - BANG_EQ_EQ, - - BAR, - - BAR_BAR, - - BAR_EQ, - - BREAK, - - CARET, - - CARET_EQ, - - CASE, - - CATCH, - - CLASS, - - CLOSE_CURLY_BRACKET, - - CLOSE_PAREN, - - CLOSE_SQUARE_BRACKET, - - COLON, - - COMMA, - - CONST, - - CONTINUE, - - COVARIANT, - - DEFAULT, - - DEFERRED, - - DO, - - DOUBLE, - - DYNAMIC, - - ELSE, - - ENUM, - - EOF, - - EQ, - - EQ_EQ, - - EQ_EQ_EQ, - - EXPORT, - - EXTENDS, - - EXTERNAL, - - FACTORY, - - FALSE, - - FINAL, - - FINALLY, - - FOR, - - FUNCTION, - - FUNCTION_KEYWORD, - - GET, - - GT, - - GT_EQ, - - GT_GT, - - GT_GT_EQ, - - GT_GT_GT, - - GT_GT_GT_EQ, - - HASH, - - HEXADECIMAL, - - HIDE, - - IDENTIFIER, - - IF, - - IMPLEMENTS, - - IMPORT, - - IN, - - INDEX, - - INDEX_EQ, - - INT, - - INTERFACE, - - IS, - - LATE, - - LIBRARY, - - LT, - - LT_EQ, - - LT_LT, - - LT_LT_EQ, - - MINUS, - - MINUS_EQ, - - MINUS_MINUS, - - MIXIN, - - MULTI_LINE_COMMENT, - - NATIVE, - - NEW, - - NULL, - - OF, - - ON, - - OPEN_CURLY_BRACKET, - - OPEN_PAREN, - - OPEN_SQUARE_BRACKET, - - OPERATOR, - - PART, - - PATCH, - - PERCENT, - - PERCENT_EQ, - - PERIOD, - - PERIOD_PERIOD, - - PERIOD_PERIOD_PERIOD, - - PERIOD_PERIOD_PERIOD_QUESTION, - - PLUS, - - PLUS_EQ, - - PLUS_PLUS, - - QUESTION, - - QUESTION_PERIOD, - - QUESTION_QUESTION, - - QUESTION_QUESTION_EQ, - - REQUIRED, - - RETHROW, - - RETURN, - - SCRIPT_TAG, - - SEMICOLON, - - SET, - - SHOW, - - SINGLE_LINE_COMMENT, - - SLASH, - - SLASH_EQ, - - SOURCE, - - STAR, - - STAR_EQ, - - STATIC, - - STRING, - - STRING_INTERPOLATION_EXPRESSION, - - STRING_INTERPOLATION_IDENTIFIER, - - SUPER, - - SWITCH, - - SYNC, - - THIS, - - THROW, - - TILDE, - - TILDE_SLASH, - - TILDE_SLASH_EQ, - - TRUE, - - TRY, - - TYPEDEF, - - VAR, - - VOID, - - WHILE, - - WITH, - - YIELD, - - INOUT, - - OUT -} - /// Information about the context of an exception in analysis driver. table AnalysisDriverExceptionContext { /// The exception string. @@ -797,6 +212,10 @@ table AnalysisDriverUnitError { /// Information about a resolved unit. table AnalysisDriverUnitIndex { + /// Each item of this list corresponds to a unique referenced element. It is + /// a list of the prefixes associated with references to the element. + elementImportPrefixes:[string] (id: 20); + /// Each item of this list corresponds to a unique referenced element. It is /// the kind of the synthetic element. elementKinds:[IndexSyntheticElementKind] (id: 4); @@ -889,25 +308,6 @@ table AnalysisDriverUnitIndex { usedNames:[uint] (id: 14); } -/// Information about an unlinked unit. -table AnalysisDriverUnlinkedUnit { - /// List of class member names defined by the unit. - definedClassMemberNames:[string] (id: 2); - - /// List of top-level names defined by the unit. - definedTopLevelNames:[string] (id: 1); - - /// List of external names referenced by the unit. - referencedNames:[string] (id: 0); - - /// List of names which are used in `extends`, `with` or `implements` clauses - /// in the file. Import prefixes and type arguments are not included. - subtypedNames:[string] (id: 3); - - /// Unlinked information for the unit. - unit2:UnlinkedUnit2 (id: 4); -} - /// Information about a single declaration. table AvailableDeclaration { children:[AvailableDeclaration] (id: 0); @@ -1010,33 +410,9 @@ table AvailableFileExportCombinator { shows:[string] (id: 0); } -/// Information about linked libraries, a group of libraries that form -/// a library cycle. -table CiderLinkedLibraryCycle { - bundle:LinkedNodeBundle (id: 1); - - /// The hash signature for this linked cycle. It depends of API signatures - /// of all files in the cycle, and on the signatures of the transitive - /// closure of the cycle dependencies. - signature:[uint] (id: 0); -} - /// Errors for a single unit. table CiderUnitErrors { - errors:[AnalysisDriverUnitError] (id: 1); - - /// The hash signature of this data. - signature:[uint] (id: 0); -} - -/// Information about a compilation unit, contains the content hash -/// and unlinked summary. -table CiderUnlinkedUnit { - /// The hash signature of the contents of the file. - contentDigest:[uint] (id: 0); - - /// Unlinked summary of the compilation unit. - unlinkedUnit:UnlinkedUnit2 (id: 1); + errors:[AnalysisDriverUnitError] (id: 0); } table DiagnosticMessage { @@ -1052,6 +428,9 @@ table DiagnosticMessage { /// The zero-based offset from the start of the file to the beginning of the /// source range associated with this message. offset:uint (id: 3); + + /// The URL of the message, if any. + url:string (id: 4); } /// Information about the Dartdoc directives in an [AvailableFile]. @@ -1063,312 +442,6 @@ table DirectiveInfo { templateValues:[string] (id: 1); } -table LinkedLanguageVersion { - major:uint (id: 0); - - minor:uint (id: 1); -} - -table LinkedLibraryLanguageVersion { - override2:LinkedLanguageVersion (id: 1); - - package:LinkedLanguageVersion (id: 0); -} - -/// Information about a linked AST node. -table LinkedNode { - /// The explicit or inferred return type of a function typed node. - variantField_24:LinkedNodeType (id: 24); - - variantField_2:[LinkedNode] (id: 2); - - variantField_4:[LinkedNode] (id: 4); - - variantField_6:LinkedNode (id: 6); - - variantField_7:LinkedNode (id: 7); - - variantField_17:uint (id: 17); - - variantField_8:LinkedNode (id: 8); - - variantField_38:LinkedNodeTypeSubstitution (id: 38); - - variantField_15:uint (id: 15); - - variantField_28:UnlinkedTokenType (id: 28); - - variantField_27:bool (id: 27); - - variantField_9:LinkedNode (id: 9); - - variantField_12:LinkedNode (id: 12); - - variantField_5:[LinkedNode] (id: 5); - - variantField_13:LinkedNode (id: 13); - - variantField_33:[string] (id: 33); - - variantField_29:LinkedNodeCommentType (id: 29); - - variantField_3:[LinkedNode] (id: 3); - - variantField_41:[uint] (id: 41); - - /// The language version information. - variantField_40:LinkedLibraryLanguageVersion (id: 40); - - variantField_10:LinkedNode (id: 10); - - variantField_26:LinkedNodeFormalParameterKind (id: 26); - - variantField_21:double (id: 21); - - variantField_25:LinkedNodeType (id: 25); - - variantField_20:string (id: 20); - - variantField_39:[LinkedNodeType] (id: 39); - - flags:uint (id: 18); - - variantField_1:string (id: 1); - - variantField_36:uint (id: 36); - - variantField_16:uint (id: 16); - - variantField_30:string (id: 30); - - variantField_14:LinkedNode (id: 14); - - kind:LinkedNodeKind (id: 0); - - variantField_31:bool (id: 31); - - variantField_34:[string] (id: 34); - - name:string (id: 37); - - variantField_35:UnlinkedTokenType (id: 35); - - variantField_32:TopLevelInferenceError (id: 32); - - variantField_23:LinkedNodeType (id: 23); - - variantField_11:LinkedNode (id: 11); - - variantField_22:string (id: 22); - - variantField_19:uint (id: 19); -} - -/// Information about a group of libraries linked together, for example because -/// they form a single cycle, or because they represent a single build artifact. -table LinkedNodeBundle { - libraries:[LinkedNodeLibrary] (id: 1); - - /// The shared list of references used in the [libraries]. - references:LinkedNodeReferences (id: 0); -} - -/// Information about a single library in a [LinkedNodeBundle]. -table LinkedNodeLibrary { - exports:[uint] (id: 2); - - name:string (id: 3); - - nameLength:uint (id: 5); - - nameOffset:uint (id: 4); - - units:[LinkedNodeUnit] (id: 1); - - uriStr:string (id: 0); -} - -/// Flattened tree of declarations referenced from [LinkedNode]s. -table LinkedNodeReferences { - name:[string] (id: 1); - - parent:[uint] (id: 0); -} - -/// Information about a Dart type. -table LinkedNodeType { - functionFormalParameters:[LinkedNodeTypeFormalParameter] (id: 0); - - functionReturnType:LinkedNodeType (id: 1); - - /// The typedef this function type is created for. - functionTypedef:uint (id: 9); - - functionTypedefTypeArguments:[LinkedNodeType] (id: 10); - - functionTypeParameters:[LinkedNodeTypeTypeParameter] (id: 2); - - /// Reference to a [LinkedNodeReferences]. - interfaceClass:uint (id: 3); - - interfaceTypeArguments:[LinkedNodeType] (id: 4); - - kind:LinkedNodeTypeKind (id: 5); - - nullabilitySuffix:EntityRefNullabilitySuffix (id: 8); - - typeParameterElement:uint (id: 6); - - typeParameterId:uint (id: 7); -} - -/// Information about a formal parameter in a function type. -table LinkedNodeTypeFormalParameter { - kind:LinkedNodeFormalParameterKind (id: 0); - - name:string (id: 1); - - type:LinkedNodeType (id: 2); -} - -/// Information about a type substitution. -table LinkedNodeTypeSubstitution { - isLegacy:bool (id: 2); - - typeArguments:[LinkedNodeType] (id: 1); - - typeParameters:[uint] (id: 0); -} - -/// Information about a type parameter in a function type. -table LinkedNodeTypeTypeParameter { - bound:LinkedNodeType (id: 1); - - name:string (id: 0); -} - -/// Information about a single library in a [LinkedNodeLibrary]. -table LinkedNodeUnit { - isSynthetic:bool (id: 2); - - node:LinkedNode (id: 1); - - /// If the unit is a part, the URI specified in the `part` directive. - /// Otherwise empty. - partUriStr:string (id: 3); - - /// The absolute URI. - uriStr:string (id: 0); -} - -/// Summary information about a package. -table PackageBundle { - /// The version 2 of the summary. - bundle2:LinkedNodeBundle (id: 0); - - /// The SDK specific data, if this bundle is for SDK. - sdk:PackageBundleSdk (id: 1); -} - -/// Summary information about a package. -table PackageBundleSdk { - /// The content of the `allowed_experiments.json` from SDK. - allowedExperimentsJson:string (id: 0); - - /// The language version of the SDK. - languageVersion:LinkedLanguageVersion (id: 1); -} - -/// Summary information about a top-level type inference error. -table TopLevelInferenceError { - /// The [kind] specific arguments. - arguments:[string] (id: 1); - - /// The kind of the error. - kind:TopLevelInferenceErrorKind (id: 0); -} - -table UnlinkedInformativeData { - variantField_2:uint (id: 2); - - variantField_3:uint (id: 3); - - variantField_9:uint (id: 9); - - variantField_8:uint (id: 8); - - /// Offsets of the first character of each line in the source code. - variantField_7:[uint] (id: 7); - - variantField_6:uint (id: 6); - - variantField_5:uint (id: 5); - - /// If the parameter has a default value, the source text of the constant - /// expression in the default value. Otherwise the empty string. - variantField_10:string (id: 10); - - variantField_1:uint (id: 1); - - variantField_4:[string] (id: 4); - - /// The kind of the node. - kind:LinkedNodeKind (id: 0); -} - -/// Unlinked summary information about a namespace directive. -table UnlinkedNamespaceDirective { - /// The configurations that control which library will actually be used. - configurations:[UnlinkedNamespaceDirectiveConfiguration] (id: 0); - - /// The URI referenced by this directive, nad used by default when none - /// of the [configurations] matches. - uri:string (id: 1); -} - -/// Unlinked summary information about a namespace directive configuration. -table UnlinkedNamespaceDirectiveConfiguration { - /// The name of the declared variable used in the condition. - name:string (id: 0); - - /// The URI to be used if the condition is true. - uri:string (id: 2); - - /// The value to which the value of the declared variable will be compared, - /// or the empty string if the condition does not include an equality test. - value:string (id: 1); -} - -/// Unlinked summary information about a compilation unit. -table UnlinkedUnit2 { - /// The MD5 hash signature of the API portion of this unit. It depends on all - /// tokens that might affect APIs of declarations in the unit. - apiSignature:[uint] (id: 0); - - /// URIs of `export` directives. - exports:[UnlinkedNamespaceDirective] (id: 1); - - /// Is `true` if the unit contains a `library` directive. - hasLibraryDirective:bool (id: 6); - - /// Is `true` if the unit contains a `part of` directive. - hasPartOfDirective:bool (id: 3); - - /// URIs of `import` directives. - imports:[UnlinkedNamespaceDirective] (id: 2); - - informativeData:[UnlinkedInformativeData] (id: 7); - - /// Offsets of the first character of each line in the source code. - lineStarts:[uint] (id: 5); - - /// URI of the `part of` directive. - partOfUri:string (id: 8); - - /// URIs of `part` directives. - parts:[string] (id: 4); -} - -root_type PackageBundle; +root_type AnalysisDriverResolvedUnit; -file_identifier "PBdl"; +file_identifier "ADRU"; diff --git a/dev/packages/archive/archive.dart.transitive_digest b/dev/packages/archive/archive.dart.transitive_digest new file mode 100644 index 000000000..9b78ab196 --- /dev/null +++ b/dev/packages/archive/archive.dart.transitive_digest @@ -0,0 +1 @@ +q!U9PQv \ No newline at end of file diff --git a/dev/packages/async/async.dart.transitive_digest b/dev/packages/async/async.dart.transitive_digest new file mode 100644 index 000000000..8d615a3c1 --- /dev/null +++ b/dev/packages/async/async.dart.transitive_digest @@ -0,0 +1 @@ +ǫ H65 \ No newline at end of file diff --git a/dev/packages/boolean_selector/boolean_selector.dart.transitive_digest b/dev/packages/boolean_selector/boolean_selector.dart.transitive_digest new file mode 100644 index 000000000..0a181cf32 --- /dev/null +++ b/dev/packages/boolean_selector/boolean_selector.dart.transitive_digest @@ -0,0 +1 @@ +> 5, <w \ No newline at end of file diff --git a/dev/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js b/dev/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js deleted file mode 100644 index 62e4659b9..000000000 --- a/dev/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js +++ /dev/null @@ -1,3546 +0,0 @@ -{}(function dartProgram(){function copyProperties(a,b){var u=Object.keys(a) -for(var t=0;t=0)return true -if(typeof version=="function"&&version.length==0){var s=version() -if(/^\d+\.\d+\.\d+\.\d+$/.test(s))return true}}catch(r){}return false}() -function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return -for(var u=0;ub&&J.A(d.$2(t.h(a,r-1),s),0)))break -q=r-1 -t.k(a,r,t.h(a,q)) -r=q}t.k(a,r,s)}}, -fM:function(a1,a2,a3,a4){var u,t,s,r,q,p,o,n,m,l,k=C.c.aH(a3-a2+1,6),j=a2+k,i=a3-k,h=C.c.aH(a2+a3,2),g=h-k,f=h+k,e=J.ag(a1),d=e.h(a1,j),c=e.h(a1,g),b=e.h(a1,h),a=e.h(a1,f),a0=e.h(a1,i) -if(J.A(a4.$2(d,c),0)){u=c -c=d -d=u}if(J.A(a4.$2(a,a0),0)){u=a0 -a0=a -a=u}if(J.A(a4.$2(d,b),0)){u=b -b=d -d=u}if(J.A(a4.$2(c,b),0)){u=b -b=c -c=u}if(J.A(a4.$2(d,a),0)){u=a -a=d -d=u}if(J.A(a4.$2(b,a),0)){u=a -a=b -b=u}if(J.A(a4.$2(c,a0),0)){u=a0 -a0=c -c=u}if(J.A(a4.$2(c,b),0)){u=b -b=c -c=u}if(J.A(a4.$2(a,a0),0)){u=a0 -a0=a -a=u}e.k(a1,j,d) -e.k(a1,h,b) -e.k(a1,i,a0) -e.k(a1,g,e.h(a1,a2)) -e.k(a1,f,e.h(a1,a3)) -t=a2+1 -s=a3-1 -if(J.p(a4.$2(c,a),0)){for(r=t;r<=s;++r){q=e.h(a1,r) -p=a4.$2(q,c) -if(p===0)continue -if(p<0){if(r!==t){e.k(a1,r,e.h(a1,t)) -e.k(a1,t,q)}++t}else for(;!0;){p=a4.$2(e.h(a1,s),c) -if(p>0){--s -continue}else{o=s-1 -if(p<0){e.k(a1,r,e.h(a1,t)) -n=t+1 -e.k(a1,t,e.h(a1,s)) -e.k(a1,s,q) -s=o -t=n -break}else{e.k(a1,r,e.h(a1,s)) -e.k(a1,s,q) -s=o -break}}}}m=!0}else{for(r=t;r<=s;++r){q=e.h(a1,r) -if(a4.$2(q,c)<0){if(r!==t){e.k(a1,r,e.h(a1,t)) -e.k(a1,t,q)}++t}else if(a4.$2(q,a)>0)for(;!0;)if(a4.$2(e.h(a1,s),a)>0){--s -if(si){for(;J.p(a4.$2(e.h(a1,t),c),0);)++t -for(;J.p(a4.$2(e.h(a1,s),a),0);)--s -for(r=t;r<=s;++r){q=e.h(a1,r) -if(a4.$2(q,c)===0){if(r!==t){e.k(a1,r,e.h(a1,t)) -e.k(a1,t,q)}++t}else if(a4.$2(q,a)===0)for(;!0;)if(a4.$2(e.h(a1,s),a)===0){--s -if(s1&&C.d.av(t,0)===36?C.d.aY(t,1):t)}, -t:function(a){var u -if(a<=65535)return String.fromCharCode(a) -if(a<=1114111){u=a-65536 -return String.fromCharCode((55296|C.c.ad(u,10))>>>0,56320|u&1023)}throw H.c(P.b7(a,0,1114111,null,null))}, -a8:function(a){if(a.date===void 0)a.date=new Date(a.a) -return a.date}, -fJ:function(a){var u=H.a8(a).getUTCFullYear()+0 -return u}, -fH:function(a){var u=H.a8(a).getUTCMonth()+1 -return u}, -fD:function(a){var u=H.a8(a).getUTCDate()+0 -return u}, -fE:function(a){var u=H.a8(a).getUTCHours()+0 -return u}, -fG:function(a){var u=H.a8(a).getUTCMinutes()+0 -return u}, -fI:function(a){var u=H.a8(a).getUTCSeconds()+0 -return u}, -fF:function(a){var u=H.a8(a).getUTCMilliseconds()+0 -return u}, -a7:function(a,b,c){var u,t,s={} -s.a=0 -u=[] -t=[] -s.a=b.length -C.a.Z(u,b) -s.b="" -if(c!=null&&!c.gm(c))c.u(0,new H.ca(s,t,u)) -""+s.a -return J.fh(a,new H.bK(C.C,0,u,t,0))}, -fC:function(a,b,c){var u,t,s,r -if(b instanceof Array)u=c==null||c.gm(c) -else u=!1 -if(u){t=b -s=t.length -if(s===0){if(!!a.$0)return a.$0()}else if(s===1){if(!!a.$1)return a.$1(t[0])}else if(s===2){if(!!a.$2)return a.$2(t[0],t[1])}else if(s===3){if(!!a.$3)return a.$3(t[0],t[1],t[2])}else if(s===4){if(!!a.$4)return a.$4(t[0],t[1],t[2],t[3])}else if(s===5)if(!!a.$5)return a.$5(t[0],t[1],t[2],t[3],t[4]) -r=a[""+"$"+s] -if(r!=null)return r.apply(a,t)}return H.fA(a,b,c)}, -fA:function(a,b,c){var u,t,s,r,q,p,o,n,m,l,k,j -if(b!=null)u=b instanceof Array?b:P.bX(b,!0,null) -else u=[] -t=u.length -s=a.$R -if(ts+p.length)return H.a7(a,u,null) -C.a.Z(u,p.slice(t-s)) -return n.apply(a,u)}else{if(t>s)return H.a7(a,u,c) -m=Object.keys(p) -if(c==null)for(q=m.length,l=0;l=u)return P.dK(b,a,t,null,u) -return P.dS(b,t)}, -aK:function(a){return new P.F(!0,a,null,null)}, -dq:function(a){if(typeof a!=="number")throw H.c(H.aK(a)) -return a}, -c:function(a){var u -if(a==null)a=new P.au() -u=new Error() -u.dartException=a -if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.eU}) -u.name=""}else u.toString=H.eU -return u}, -eU:function(){return J.bq(this.dartException)}, -r:function(a){throw H.c(a)}, -ai:function(a){throw H.c(P.x(a))}, -C:function(a){var u,t,s,r,q,p -a=H.hG(a.replace(String({}),'$receiver$')) -u=a.match(/\\\$[a-zA-Z]+\\\$/g) -if(u==null)u=H.j([],[P.d]) -t=u.indexOf("\\$arguments\\$") -s=u.indexOf("\\$argumentsExpr\\$") -r=u.indexOf("\\$expr\\$") -q=u.indexOf("\\$method\\$") -p=u.indexOf("\\$receiver\\$") -return new H.ck(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, -cl:function(a){return function($expr$){var $argumentsExpr$='$arguments$' -try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, -ex:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, -et:function(a,b){return new H.c8(a,b==null?null:b.method)}, -dP:function(a,b){var u=b==null,t=u?null:b.method -return new H.bN(a,t,u?null:b.receiver)}, -z:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.dH(a) -if(a==null)return -if(a instanceof H.ao)return f.$1(a.a) -if(typeof a!=="object")return a -if("dartException" in a)return f.$1(a.dartException) -else if(!("message" in a))return a -u=a.message -if("number" in a&&typeof a.number=="number"){t=a.number -s=t&65535 -if((C.c.ad(t,16)&8191)===10)switch(s){case 438:return f.$1(H.dP(H.b(u)+" (Error "+s+")",g)) -case 445:case 5007:return f.$1(H.et(H.b(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.eV() -q=$.eW() -p=$.eX() -o=$.eY() -n=$.f0() -m=$.f1() -l=$.f_() -$.eZ() -k=$.f3() -j=$.f2() -i=r.C(u) -if(i!=null)return f.$1(H.dP(u,i)) -else{i=q.C(u) -if(i!=null){i.method="call" -return f.$1(H.dP(u,i))}else{i=p.C(u) -if(i==null){i=o.C(u) -if(i==null){i=n.C(u) -if(i==null){i=m.C(u) -if(i==null){i=l.C(u) -if(i==null){i=o.C(u) -if(i==null){i=k.C(u) -if(i==null){i=j.C(u) -h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 -if(h)return f.$1(H.et(u,i))}}return f.$1(new H.cn(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.ba() -u=function(b){try{return String(b)}catch(e){}return null}(a) -return f.$1(new P.F(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.ba() -return a}, -O:function(a){var u -if(a instanceof H.ao)return a.b -if(a==null)return new H.bi(a) -u=a.$cachedTrace -if(u!=null)return u -return a.$cachedTrace=new H.bi(a)}, -hA:function(a,b,c,d,e,f){switch(b){case 0:return a.$0() -case 1:return a.$1(c) -case 2:return a.$2(c,d) -case 3:return a.$3(c,d,e) -case 4:return a.$4(c,d,e,f)}throw H.c(new P.cH("Unsupported number of arguments for wrapped closure"))}, -ae:function(a,b){var u -if(a==null)return -u=a.$identity -if(!!u)return u -u=function(c,d,e){return function(f,g,h,i){return e(c,d,f,g,h,i)}}(a,b,H.hA) -a.$identity=u -return u}, -fn:function(a,b,c,d,e,f,g){var u,t,s,r,q,p,o,n,m,l=null,k=b[0],j=k.$callName,i=e?Object.create(new H.cg().constructor.prototype):Object.create(new H.al(l,l,l,l).constructor.prototype) -i.$initialize=i.constructor -if(e)u=function static_tear_off(){this.$initialize()} -else{t=$.B -$.B=t+1 -t=new Function("a,b,c,d"+t,"this.$initialize(a,b,c,d"+t+")") -u=t}i.constructor=u -u.prototype=i -if(!e){s=H.el(a,k,f) -s.$reflectionInfo=d}else{i.$static_name=g -s=k}if(typeof d=="number")r=function(h,a0){return function(){return h(a0)}}(H.hs,d) -else if(typeof d=="function")if(e)r=d -else{q=f?H.ek:H.dI -r=function(h,a0){return function(){return h.apply({$receiver:a0(this)},arguments)}}(d,q)}else throw H.c("Error in reflectionInfo.") -i.$S=r -i[j]=s -for(p=s,o=1;o=27 -if(q)return H.fk(t,!r,u,b) -if(t===0){r=$.B -$.B=r+1 -p="self"+H.b(r) -r="return function(){var "+p+" = this." -q=$.am -return new Function(r+H.b(q==null?$.am=H.br("self"):q)+";return "+p+"."+H.b(u)+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,t).join(",") -r=$.B -$.B=r+1 -o+=H.b(r) -r="return function("+o+"){return this." -q=$.am -return new Function(r+H.b(q==null?$.am=H.br("self"):q)+"."+H.b(u)+"("+o+");}")()}, -fl:function(a,b,c,d){var u=H.dI,t=H.ek -switch(b?-1:a){case 0:throw H.c(H.fL("Intercepted function with no arguments.")) -case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) -case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) -case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) -case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,u,t) -case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,u,t) -case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,u,t) -default:return function(e,f,g,h){return function(){h=[g(this)] -Array.prototype.push.apply(h,arguments) -return e.apply(f(this),h)}}(d,u,t)}}, -fm:function(a,b){var u,t,s,r,q,p,o,n=$.am -if(n==null)n=$.am=H.br("self") -u=$.ej -if(u==null)u=$.ej=H.br("receiver") -t=b.$stubName -s=b.length -r=a[t] -q=b==null?r==null:b===r -p=!q||s>=28 -if(p)return H.fl(s,!q,t,b) -if(s===1){n="return function(){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+");" -u=$.B -$.B=u+1 -return new Function(n+H.b(u)+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s-1).join(",") -n="return function("+o+"){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+", "+o+");" -u=$.B -$.B=u+1 -return new Function(n+H.b(u)+"}")()}, -e5:function(a,b,c,d,e,f,g){return H.fn(a,b,c,d,!!e,!!f,g)}, -dI:function(a){return a.a}, -ek:function(a){return a.c}, -br:function(a){var u,t,s,r=new H.al("self","target","receiver","name"),q=J.ep(Object.getOwnPropertyNames(r)) -for(u=q.length,t=0;t=b.length)return"unexpected-generic-index:"+H.b(a) -return H.b(b[b.length-a-1])}if('func' in a)return H.h5(a,b) -if('futureOr' in a)return"FutureOr<"+H.X("type" in a?a.type:null,b)+">" -return"unknown-reified-type"}, -h5:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " -if("bounds" in a){u=a.bounds -if(a0==null){a0=H.j([],[P.d]) -t=null}else t=a0.length -s=a0.length -for(r=u.length,q=r;q>0;--q)a0.push("T"+(s+q)) -for(p="<",o="",q=0;q "+m}, -e2:function(a,b,c){var u,t,s,r,q,p -if(a==null)return"" -u=new P.U("") -for(t=b,s="",r=!0,q="";t"}, -ah:function(a,b){if(a==null)return b -a=a.apply(null,b) -if(a==null)return -if(typeof a==="object"&&a!==null&&a.constructor===Array)return a -if(typeof a=="function")return a.apply(null,b) -return b}, -ad:function(a,b,c,d){var u,t -if(a==null)return!1 -u=H.Z(a) -t=J.k(a) -if(t[b]==null)return!1 -return H.eH(H.ah(t[d],u),null,c,null)}, -hL:function(a,b,c,d){if(a==null)return a -if(H.ad(a,b,c,d))return a -throw H.c(H.bt(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.aO(b.substring(2))+H.e2(c,0,null),v.mangledGlobalNames)))}, -eH:function(a,b,c,d){var u,t -if(c==null)return!0 -if(a==null){u=c.length -for(t=0;tn)return!1 -if(o+m>>0!==a||a>=c)throw H.c(H.bm(b,a))}, -at:function at(){}, -b2:function b2(){}, -as:function as(){}, -b3:function b3(){}, -c0:function c0(){}, -c1:function c1(){}, -c2:function c2(){}, -c3:function c3(){}, -c4:function c4(){}, -b4:function b4(){}, -c5:function c5(){}, -aD:function aD(){}, -aE:function aE(){}, -aF:function aF(){}, -aG:function aG(){}, -hm:function(a){return J.fw(a?Object.keys(a):[],null)}, -dF:function(a){if(typeof dartPrint=="function"){dartPrint(a) -return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a) -return}if(typeof window=="object")return -if(typeof print=="function"){print(a) -return}throw"Unable to print message: "+String(a)}},J={ -e8:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, -bn:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] -if(q==null)if($.e7==null){H.hx() -q=a[v.dispatchPropertyName]}if(q!=null){u=q.p -if(!1===u)return q.i -if(!0===u)return a -t=Object.getPrototypeOf(a) -if(u===t)return q.i -if(q.e===t)throw H.c(P.dT("Return interceptor for "+H.b(u(a,q))))}s=a.constructor -r=s==null?null:s[$.eb()] -if(r!=null)return r -r=H.hC(a) -if(r!=null)return r -if(typeof a=="function")return C.w -u=Object.getPrototypeOf(a) -if(u==null)return C.l -if(u===Object.prototype)return C.l -if(typeof s=="function"){Object.defineProperty(s,$.eb(),{value:C.e,enumerable:false,writable:true,configurable:true}) -return C.e}return C.e}, -fw:function(a,b){return J.ep(H.j(a,[b]))}, -ep:function(a){a.fixed$length=Array -return a}, -k:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.aW.prototype -return J.bJ.prototype}if(typeof a=="string")return J.I.prototype -if(a==null)return J.bL.prototype -if(typeof a=="boolean")return J.bI.prototype -if(a.constructor==Array)return J.H.prototype -if(typeof a!="object"){if(typeof a=="function")return J.J.prototype -return a}if(a instanceof P.f)return a -return J.bn(a)}, -hn:function(a){if(typeof a=="number")return J.Q.prototype -if(typeof a=="string")return J.I.prototype -if(a==null)return a -if(a.constructor==Array)return J.H.prototype -if(typeof a!="object"){if(typeof a=="function")return J.J.prototype -return a}if(a instanceof P.f)return a -return J.bn(a)}, -ag:function(a){if(typeof a=="string")return J.I.prototype -if(a==null)return a -if(a.constructor==Array)return J.H.prototype -if(typeof a!="object"){if(typeof a=="function")return J.J.prototype -return a}if(a instanceof P.f)return a -return J.bn(a)}, -aL:function(a){if(a==null)return a -if(a.constructor==Array)return J.H.prototype -if(typeof a!="object"){if(typeof a=="function")return J.J.prototype -return a}if(a instanceof P.f)return a -return J.bn(a)}, -ho:function(a){if(typeof a=="number")return J.Q.prototype -if(a==null)return a -if(!(a instanceof P.f))return J.V.prototype -return a}, -hp:function(a){if(typeof a=="number")return J.Q.prototype -if(typeof a=="string")return J.I.prototype -if(a==null)return a -if(!(a instanceof P.f))return J.V.prototype -return a}, -hq:function(a){if(typeof a=="string")return J.I.prototype -if(a==null)return a -if(!(a instanceof P.f))return J.V.prototype -return a}, -y:function(a){if(a==null)return a -if(typeof a!="object"){if(typeof a=="function")return J.J.prototype -return a}if(a instanceof P.f)return a -return J.bn(a)}, -f5:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b -return J.hn(a).E(a,b)}, -p:function(a,b){if(a==null)return b==null -if(typeof a!="object")return b!=null&&a===b -return J.k(a).K(a,b)}, -A:function(a,b){if(typeof a=="number"&&typeof b=="number")return a>b -return J.ho(a).aX(a,b)}, -f6:function(a,b,c){if(typeof b==="number")if((a.constructor==Array||H.hB(a,a[v.dispatchPropertyName]))&&!a.immutable$list&&b>>>0===b&&b=4){t=b.W() -b.a=a.a -b.c=a.c -P.a9(b,t)}else{t=b.c -b.a=2 -b.c=a -a.aE(t)}}, -a9:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j=null,i={},h=i.a=a -for(;!0;){u={} -t=h.a===8 -if(b==null){if(t){s=h.c -h=h.b -r=s.a -s=s.b -h.toString -P.dm(j,j,h,r,s)}return}for(;q=b.a,q!=null;b=q){b.a=null -P.a9(i.a,b)}h=i.a -p=h.c -u.a=t -u.b=p -s=!t -if(s){r=b.c -r=(r&1)!==0||r===8}else r=!0 -if(r){r=b.b -o=r.b -if(t){n=h.b -n.toString -n=n==o -if(!n)o.toString -else n=!0 -n=!n}else n=!1 -if(n){h=h.b -s=p.a -r=p.b -h.toString -P.dm(j,j,h,s,r) -return}m=$.e -if(m!=o)$.e=o -else m=j -h=b.c -if(h===8)new P.cU(i,u,b,t).$0() -else if(s){if((h&1)!==0)new P.cT(u,b,p).$0()}else if((h&2)!==0)new P.cS(i,u,b).$0() -if(m!=null)$.e=m -h=u.b -if(!!J.k(h).$im){if(h.a>=4){l=r.c -r.c=null -b=r.X(l) -r.a=h.a -r.c=h.c -i.a=h -continue}else P.cM(h,r) -return}}k=b.b -l=k.c -k.c=null -b=k.X(l) -h=u.a -s=u.b -if(!h){k.a=4 -k.c=s}else{k.a=8 -k.c=s}i.a=k -h=k}}, -h9:function(a,b){if(H.du(a,{func:1,args:[P.f,P.v]}))return b.aR(a) -if(H.du(a,{func:1,args:[P.f]}))return a -throw H.c(P.ei(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, -h7:function(){var u,t -for(;u=$.aa,u!=null;){$.aJ=null -t=u.b -$.aa=t -if(t==null)$.aI=null -u.a.$0()}}, -he:function(){$.e0=!0 -try{P.h7()}finally{$.aJ=null -$.e0=!1 -if($.aa!=null)$.ec().$1(P.eI())}}, -eE:function(a){var u=new P.bd(a) -if($.aa==null){$.aa=$.aI=u -if(!$.e0)$.ec().$1(P.eI())}else $.aI=$.aI.b=u}, -hd:function(a){var u,t,s=$.aa -if(s==null){P.eE(a) -$.aJ=$.aI -return}u=new P.bd(a) -t=$.aJ -if(t==null){u.b=s -$.aa=$.aJ=u}else{u.b=t.b -$.aJ=t.b=u -if(u.b==null)$.aI=u}}, -e9:function(a){var u=null,t=$.e -if(C.b===t){P.ab(u,u,C.b,a) -return}t.toString -P.ab(u,u,t,t.aI(a))}, -hQ:function(a){return new P.da(a)}, -dm:function(a,b,c,d,e){var u={} -u.a=d -P.hd(new P.dn(u,e))}, -eC:function(a,b,c,d){var u,t=$.e -if(t===c)return d.$0() -$.e=c -u=t -try{t=d.$0() -return t}finally{$.e=u}}, -eD:function(a,b,c,d,e){var u,t=$.e -if(t===c)return d.$1(e) -$.e=c -u=t -try{t=d.$1(e) -return t}finally{$.e=u}}, -hc:function(a,b,c,d,e,f){var u,t=$.e -if(t===c)return d.$2(e,f) -$.e=c -u=t -try{t=d.$2(e,f) -return t}finally{$.e=u}}, -ab:function(a,b,c,d){var u=C.b!==c -if(u)d=!(!u||!1)?c.aI(d):c.bn(d) -P.eE(d)}, -cv:function cv(a){this.a=a}, -cu:function cu(a,b,c){this.a=a -this.b=b -this.c=c}, -cw:function cw(a){this.a=a}, -cx:function cx(a){this.a=a}, -db:function db(){}, -dc:function dc(a,b){this.a=a -this.b=b}, -cr:function cr(a,b){this.a=a -this.b=!1 -this.$ti=b}, -ct:function ct(a,b){this.a=a -this.b=b}, -cs:function cs(a,b,c){this.a=a -this.b=b -this.c=c}, -dg:function dg(a){this.a=a}, -dh:function dh(a){this.a=a}, -dp:function dp(a){this.a=a}, -m:function m(){}, -be:function be(){}, -W:function W(a,b){this.a=a -this.$ti=b}, -bj:function bj(a,b){this.a=a -this.$ti=b}, -cI:function cI(a,b,c,d){var _=this -_.a=null -_.b=a -_.c=b -_.d=c -_.e=d}, -n:function n(a,b){var _=this -_.a=0 -_.b=a -_.c=null -_.$ti=b}, -cJ:function cJ(a,b){this.a=a -this.b=b}, -cR:function cR(a,b){this.a=a -this.b=b}, -cN:function cN(a){this.a=a}, -cO:function cO(a){this.a=a}, -cP:function cP(a,b,c){this.a=a -this.b=b -this.c=c}, -cL:function cL(a,b){this.a=a -this.b=b}, -cQ:function cQ(a,b){this.a=a -this.b=b}, -cK:function cK(a,b,c){this.a=a -this.b=b -this.c=c}, -cU:function cU(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -cV:function cV(a){this.a=a}, -cT:function cT(a,b,c){this.a=a -this.b=b -this.c=c}, -cS:function cS(a,b,c){this.a=a -this.b=b -this.c=c}, -bd:function bd(a){this.a=a -this.b=null}, -ch:function ch(){}, -ci:function ci(){}, -da:function da(a){this.a=null -this.b=a -this.c=!1}, -a0:function a0(a,b){this.a=a -this.b=b}, -de:function de(){}, -dn:function dn(a,b){this.a=a -this.b=b}, -d4:function d4(){}, -d6:function d6(a,b){this.a=a -this.b=b}, -d5:function d5(a,b){this.a=a -this.b=b}, -d7:function d7(a,b,c){this.a=a -this.b=b -this.c=c}, -em:function(a,b,c,d){if(a==null)return new P.aB([c,d]) -b=P.eJ() -return P.fV(a,b,null,c,d)}, -ez:function(a,b){var u=a[b] -return u===a?null:u}, -dW:function(a,b,c){if(c==null)a[b]=a -else a[b]=c}, -dV:function(){var u=Object.create(null) -P.dW(u,"",u) -delete u[""] -return u}, -fV:function(a,b,c,d,e){return new P.cA(a,b,new P.cB(d),[d,e])}, -fx:function(a,b){return new H.a5([a,b])}, -dQ:function(a,b){return new H.a5([a,b])}, -fy:function(){return new H.a5([null,null])}, -fs:function(a,b,c){if(a==null)return new P.aC([c]) -b=P.eJ() -return P.fW(a,b,null,c)}, -dX:function(){var u=Object.create(null) -u[""]=u -delete u[""] -return u}, -fW:function(a,b,c,d){return new P.cC(a,b,new P.cD(d),[d])}, -h3:function(a){return J.aj(a)}, -en:function(a,b,c){var u,t -if(P.e1(a)){if(b==="("&&c===")")return"(...)" -return b+"..."+c}u=H.j([],[P.d]) -$.Y.push(a) -try{P.h6(a,u)}finally{$.Y.pop()}t=P.ew(b,u,", ")+c -return t.charCodeAt(0)==0?t:t}, -aq:function(a,b,c){var u,t -if(P.e1(a))return b+"..."+c -u=new P.U(b) -$.Y.push(a) -try{t=u -t.a=P.ew(t.a,a,", ")}finally{$.Y.pop()}u.a+=c -t=u.a -return t.charCodeAt(0)==0?t:t}, -e1:function(a){var u,t -for(u=$.Y.length,t=0;t100){while(!0){if(!(m>75&&l>3))break -m-=b.pop().length+2;--l}b.push("...") -return}}s=H.b(r) -t=H.b(q) -m+=t.length+s.length+4}}if(l>b.length+2){m+=5 -o="..."}else o=null -while(!0){if(!(m>80&&b.length>3))break -m-=b.pop().length+2 -if(o==null){m+=5 -o="..."}}if(o!=null)b.push(o) -b.push(s) -b.push(t)}, -dR:function(a){var u,t={} -if(P.e1(a))return"{...}" -u=new P.U("") -try{$.Y.push(a) -u.a+="{" -t.a=!0 -a.u(0,new P.bZ(t,u)) -u.a+="}"}finally{$.Y.pop()}t=u.a -return t.charCodeAt(0)==0?t:t}, -fz:function(a,b,c){var u=new J.a_(b,b.length),t=new H.ar(c,c.gi(c)),s=u.l(),r=t.l() -while(!0){if(!(s&&r))break -a.k(0,u.d,t.d) -s=u.l() -r=t.l()}if(s||r)throw H.c(P.eh("Iterables do not have same length."))}, -fO:function(a,b){return new P.ce(new P.M(null),a,new P.cf(b),[b])}, -aB:function aB(a){var _=this -_.a=0 -_.e=_.d=_.c=_.b=null -_.$ti=a}, -cA:function cA(a,b,c,d){var _=this -_.f=a -_.r=b -_.x=c -_.a=0 -_.e=_.d=_.c=_.b=null -_.$ti=d}, -cB:function cB(a){this.a=a}, -cW:function cW(a,b){this.a=a -this.$ti=b}, -cX:function cX(a,b){var _=this -_.a=a -_.b=b -_.c=0 -_.d=null}, -aC:function aC(a){var _=this -_.a=0 -_.e=_.d=_.c=_.b=null -_.$ti=a}, -cC:function cC(a,b,c,d){var _=this -_.f=a -_.r=b -_.x=c -_.a=0 -_.e=_.d=_.c=_.b=null -_.$ti=d}, -cD:function cD(a){this.a=a}, -cY:function cY(a,b){var _=this -_.a=a -_.b=b -_.c=0 -_.d=null}, -bH:function bH(){}, -R:function R(){}, -bY:function bY(){}, -bZ:function bZ(a,b){this.a=a -this.b=b}, -T:function T(){}, -dd:function dd(){}, -c_:function c_(){}, -bb:function bb(a,b){this.a=a -this.$ti=b}, -bW:function bW(a){var _=this -_.a=null -_.d=_.c=_.b=0 -_.$ti=a}, -d3:function d3(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=null}, -cd:function cd(){}, -d8:function d8(){}, -M:function M(a){this.a=a -this.c=this.b=null}, -d9:function d9(){}, -bf:function bf(){}, -aH:function aH(a,b,c,d,e){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=null -_.$ti=e}, -ce:function ce(a,b,c,d){var _=this -_.d=null -_.e=a -_.f=b -_.r=c -_.c=_.b=_.a=0 -_.$ti=d}, -cf:function cf(a){this.a=a}, -bg:function bg(){}, -bh:function bh(){}, -bk:function bk(){}, -h8:function(a,b){var u,t,s,r -if(typeof a!=="string")throw H.c(H.aK(a)) -u=null -try{u=JSON.parse(a)}catch(s){t=H.z(s) -r=String(t) -throw H.c(new P.bE(r))}r=P.di(u) -return r}, -di:function(a){var u -if(a==null)return -if(typeof a!="object")return a -if(Object.getPrototypeOf(a)!==Array.prototype)return new P.cZ(a,Object.create(null)) -for(u=0;u=1000)return""+a -if(u>=100)return t+"0"+u -if(u>=10)return t+"00"+u -return t+"000"+u}, -fq:function(a){if(a>=100)return""+a -if(a>=10)return"0"+a -return"00"+a}, -aS:function(a){if(a>=10)return""+a -return"0"+a}, -a2:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.bq(a) -if(typeof a==="string")return JSON.stringify(a) -return P.fr(a)}, -eh:function(a){return new P.F(!1,null,null,a)}, -ei:function(a,b,c){return new P.F(!0,a,b,c)}, -dS:function(a,b){return new P.b6(null,null,!0,a,b,"Value not in range")}, -b7:function(a,b,c,d,e){return new P.b6(b,c,!0,a,d,"Invalid value")}, -fK:function(a,b,c){if(0>a||a>c)throw H.c(P.b7(a,0,c,"start",null)) -if(a>b||b>c)throw H.c(P.b7(b,a,c,"end",null)) -return b}, -eu:function(a,b){if(a<0)throw H.c(P.b7(a,0,null,b,null))}, -dK:function(a,b,c,d,e){var u=e==null?J.bp(b):e -return new P.bG(u,!0,a,c,"Index out of range")}, -D:function(a){return new P.co(a)}, -dT:function(a){return new P.cm(a)}, -az:function(a){return new P.ay(a)}, -x:function(a){return new P.bx(a)}, -er:function(a,b,c,d,e){return new H.aQ(a,[b,c,d,e])}, -eQ:function(a){H.dF(a)}, -c7:function c7(a,b){this.a=a -this.b=b}, -N:function N(){}, -aR:function aR(a,b){this.a=a -this.b=b}, -af:function af(){}, -a1:function a1(){}, -au:function au(){}, -F:function F(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -b6:function b6(a,b,c,d,e,f){var _=this -_.e=a -_.f=b -_.a=c -_.b=d -_.c=e -_.d=f}, -bG:function bG(a,b,c,d,e){var _=this -_.f=a -_.a=b -_.b=c -_.c=d -_.d=e}, -c6:function c6(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -co:function co(a){this.a=a}, -cm:function cm(a){this.a=a}, -ay:function ay(a){this.a=a}, -bx:function bx(a){this.a=a}, -ba:function ba(){}, -bC:function bC(a){this.a=a}, -cH:function cH(a){this.a=a}, -bE:function bE(a){this.a=a}, -o:function o(){}, -a4:function a4(){}, -u:function u(){}, -i:function i(){}, -aM:function aM(){}, -f:function f(){}, -v:function v(){}, -d:function d(){}, -U:function U(a){this.a=a}, -L:function L(){}, -hk:function(a){var u=new P.n($.e,[null]),t=new P.W(u,[null]) -a.then(H.ae(new P.dr(t),1))["catch"](H.ae(new P.ds(t),1)) -return u}, -cp:function cp(){}, -cq:function cq(a,b){this.a=a -this.b=b}, -bc:function bc(a,b){this.a=a -this.b=b -this.c=!1}, -dr:function dr(a){this.a=a}, -ds:function ds(a){this.a=a}, -h0:function(a){var u,t=a.$dart_jsFunction -if(t!=null)return t -u=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(P.h_,a) -u[$.ea()]=a -a.$dart_jsFunction=u -return u}, -h_:function(a,b){return H.fC(a,b,null)}, -eF:function(a){if(typeof a=="function")return a -else return P.h0(a)}},W={ -fu:function(a,b,c,d){var u=W.a3,t=new P.n($.e,[u]),s=new P.W(t,[u]),r=new XMLHttpRequest() -C.t.bL(r,b,a,!0) -r.responseType=c -W.dU(r,"load",new W.bF(r,s),!1) -W.dU(r,"error",s.gaK(),!1) -r.send(d) -return t}, -fQ:function(a,b){var u=new WebSocket(a,b) -return u}, -dU:function(a,b,c,d){var u=W.hg(new W.cG(c),W.a) -u=new W.cF(a,b,u,!1) -u.bk() -return u}, -h1:function(a){if(!!J.k(a).$iP)return a -return new P.bc([],[]).aL(a,!0)}, -hg:function(a,b){var u=$.e -if(u===C.b)return a -return u.bp(a,b)}, -P:function P(){}, -bD:function bD(){}, -a:function a(){}, -G:function G(){}, -a3:function a3(){}, -bF:function bF(a,b){this.a=a -this.b=b}, -aV:function aV(){}, -b_:function b_(){}, -b1:function b1(){}, -b5:function b5(){}, -ax:function ax(){}, -cF:function cF(a,b,c,d){var _=this -_.a=0 -_.b=a -_.c=b -_.d=c -_.e=d}, -cG:function cG(a){this.a=a}},G={bS:function bS(){},K:function K(a){this.a=a}},S={cb:function cb(a,b,c){this.a=a -this.b=b -this.c=c}},L={ -ft:function(a){return new L.ap(a)}, -ap:function ap(a){this.a=a}, -b8:function b8(a,b,c,d,e,f,g){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=null -_.x=g}, -hJ:function(a,b,c){var u,t,s,r,q,p,o,n,m,l=null,k={} -k.a=u -k.a=null -t=H.j([],[[P.u,c]]) -s=P.o -r=P.em(l,l,c,s) -q=P.em(l,l,c,s) -p=P.fs(l,l,c) -k.a=L.hK() -k.b=0 -o=new P.bW([c]) -s=new Array(8) -s.fixed$length=Array -o.a=H.j(s,[c]) -n=new L.dG(k,q,r,o,p,b,t,c) -for(s=J.ak(a);s.l();){m=s.gn() -if(!q.t(m))n.$1(m)}return t}, -h2:function(a,b){return J.p(a,b)}, -dG:function dG(a,b,c,d,e,f,g,h){var _=this -_.a=a -_.b=b -_.c=c -_.d=d -_.e=e -_.f=f -_.r=g -_.x=h}},D={ -eO:function(a,b,c){var u=J.fg(a) -return P.bX(self.Array.from(u),!0,b)}, -eB:function(a){var u,t,s,r,q=J.fc(self.$dartLoader,a) -if(q==null)throw H.c(L.ft("Failed to get module '"+H.b(a)+"'. This error might appear if such module doesn't exist or isn't already loaded")) -u=P.d -t=P.bX(self.Object.keys(q),!0,u) -s=P.bX(self.Object.values(q),!0,D.aU) -r=P.fx(u,G.bS) -P.fz(r,t,new H.b0(s,new D.dj(),[H.h(s,0),D.aZ])) -return new G.K(r)}, -ha:function(a){var u=G.K,t=new P.n($.e,[u]),s=new P.W(t,[u]),r=P.fP() -J.f9(self.$dartLoader,a,P.eF(new D.dk(s,a)),P.eF(new D.dl(s,r))) -return t}, -hb:function(){window.location.reload()}, -bo:function(){var u=0,t=P.e3(null),s,r,q,p,o,n,m -var $async$bo=P.e4(function(a,b){if(a===1)return P.dY(b,t) -while(true)switch(u){case 0:p=window.location -o=(p&&C.B).gbM(p)+"/" -p=P.d -s=D.eO(J.ef(self.$dartLoader),p,p) -n=H -m=W -u=2 -return P.df(W.fu("/$assetDigests","POST","json",C.i.bu(new H.b0(s,new D.dz(o),[H.h(s,0),p]).bX(0))),$async$bo) -case 2:r=n.hz(m.h1(b.response),"$iS").I(0,p,p) -s=-1 -s=new P.W(new P.n($.e,[s]),[s]) -s.a_() -q=new L.b8(D.hu(),D.ht(),D.hv(),new D.dA(),new D.dB(),P.dQ(p,P.o),s) -q.r=P.fO(q.gaO(),p) -W.dU(W.fQ("ws://"+H.b(window.location.host),H.j(["$buildUpdates"],[p])),"message",new D.dC(new S.cb(new D.dD(o),r,q)),!1) -return P.dZ(null,t)}}) -return P.e_($async$bo,t)}, -aU:function aU(){}, -aZ:function aZ(a){this.a=a}, -dO:function dO(){}, -bM:function bM(){}, -dJ:function dJ(){}, -dj:function dj(){}, -dk:function dk(a,b){this.a=a -this.b=b}, -dl:function dl(a,b){this.a=a -this.b=b}, -dz:function dz(a){this.a=a}, -dA:function dA(){}, -dB:function dB(){}, -dD:function dD(a){this.a=a}, -dC:function dC(a){this.a=a}} -var w=[C,H,J,P,W,G,S,L,D] -hunkHelpers.setFunctionNamesIfNecessary(w) -var $={} -H.dM.prototype={} -J.q.prototype={ -K:function(a,b){return a===b}, -gv:function(a){return H.av(a)}, -j:function(a){return"Instance of '"+H.aw(a)+"'"}, -a1:function(a,b){throw H.c(P.es(a,b.gaN(),b.gaQ(),b.gaP()))}} -J.bI.prototype={ -j:function(a){return String(a)}, -gv:function(a){return a?519018:218159}, -$iN:1} -J.bL.prototype={ -K:function(a,b){return null==b}, -j:function(a){return"null"}, -gv:function(a){return 0}, -a1:function(a,b){return this.aZ(a,b)}} -J.aX.prototype={ -gv:function(a){return 0}, -j:function(a){return String(a)}, -$iaU:1, -$ibM:1, -bA:function(a){return a.hot$onDestroy()}, -bB:function(a,b){return a.hot$onSelfUpdate(b)}, -bz:function(a,b,c,d){return a.hot$onChildUpdate(b,c,d)}, -gq:function(a){return a.keys}, -bF:function(a){return a.keys()}, -aV:function(a,b){return a.get(b)}, -gbI:function(a){return a.message}, -gc_:function(a){return a.urlToModuleId}, -gbJ:function(a){return a.moduleParentsGraph}, -bx:function(a,b,c,d){return a.forceLoadModule(b,c,d)}, -aW:function(a,b){return a.getModuleLibraries(b)}} -J.c9.prototype={} -J.V.prototype={} -J.J.prototype={ -j:function(a){var u=a[$.ea()] -if(u==null)return this.b0(a) -return"JavaScript function for "+H.b(J.bq(u))}, -$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}} -J.H.prototype={ -F:function(a,b){if(!!a.fixed$length)H.r(P.D("add")) -a.push(b)}, -Z:function(a,b){var u,t -if(!!a.fixed$length)H.r(P.D("addAll")) -for(u=b.length,t=0;tt.gi(d))throw H.c(H.fv()) -if(e=0;--s)a[b+s]=t.h(d,e+s) -else for(s=0;s=a.length||b<0)throw H.c(H.bm(a,b)) -return a[b]}, -k:function(a,b,c){if(!!a.immutable$list)H.r(P.D("indexed set")) -if(typeof b!=="number"||Math.floor(b)!==b)throw H.c(H.bm(a,b)) -if(b>=a.length||b<0)throw H.c(H.bm(a,b)) -a[b]=c}, -E:function(a,b){var u=C.c.E(a.length,b.gi(b)),t=H.j([],[H.h(a,0)]) -this.si(t,u) -this.R(t,0,a.length,a) -this.R(t,a.length,u,b) -return t}, -$il:1, -$iu:1} -J.dL.prototype={} -J.a_.prototype={ -gn:function(){return this.d}, -l:function(){var u,t=this,s=t.a,r=s.length -if(t.b!==r)throw H.c(H.ai(s)) -u=t.c -if(u>=r){t.d=null -return!1}t.d=s[u] -t.c=u+1 -return!0}} -J.Q.prototype={ -aJ:function(a,b){var u -if(typeof b!=="number")throw H.c(H.aK(b)) -if(ab)return 1 -else if(a===b){if(a===0){u=this.gai(b) -if(this.gai(a)===u)return 0 -if(this.gai(a))return-1 -return 1}return 0}else if(isNaN(a)){if(isNaN(b))return 0 -return 1}else return-1}, -gai:function(a){return a===0?1/a<0:a<0}, -j:function(a){if(a===0&&1/a<0)return"-0.0" -else return""+a}, -gv:function(a){var u,t,s,r,q=a|0 -if(a===q)return 536870911&q -u=Math.abs(a) -t=Math.log(u)/0.6931471805599453|0 -s=Math.pow(2,t) -r=u<1?u/s:s/u -return 536870911&((r*9007199254740992|0)+(r*3542243181176521|0))*599197+t*1259}, -E:function(a,b){return a+b}, -aH:function(a,b){return(a|0)===a?a/b|0:this.bj(a,b)}, -bj:function(a,b){var u=a/b -if(u>=-2147483648&&u<=2147483647)return u|0 -if(u>0){if(u!==1/0)return Math.floor(u)}else if(u>-1/0)return Math.ceil(u) -throw H.c(P.D("Result of truncating division is "+H.b(u)+": "+H.b(a)+" ~/ "+b))}, -ad:function(a,b){var u -if(a>0)u=this.bg(a,b) -else{u=b>31?31:b -u=a>>u>>>0}return u}, -bg:function(a,b){return b>31?0:a>>>b}, -aX:function(a,b){if(typeof b!=="number")throw H.c(H.aK(b)) -return a>b}, -$iaM:1} -J.aW.prototype={$io:1} -J.bJ.prototype={} -J.I.prototype={ -av:function(a,b){if(b>=a.length)throw H.c(H.bm(a,b)) -return a.charCodeAt(b)}, -E:function(a,b){if(typeof b!=="string")throw H.c(P.ei(b,null,null)) -return a+b}, -S:function(a,b,c){if(c==null)c=a.length -if(b>c)throw H.c(P.dS(b,null)) -if(c>a.length)throw H.c(P.dS(c,null)) -return a.substring(b,c)}, -aY:function(a,b){return this.S(a,b,null)}, -gm:function(a){return a.length===0}, -aJ:function(a,b){var u -if(typeof b!=="string")throw H.c(H.aK(b)) -if(a===b)u=0 -else u=a>6}t=536870911&t+((67108863&t)<<3) -t^=t>>11 -return 536870911&t+((16383&t)<<15)}, -gi:function(a){return a.length}, -$id:1} -H.cy.prototype={ -gp:function(a){var u=this.a -return new H.bu(u.gp(u),this.$ti)}, -gi:function(a){var u=this.a -return u.gi(u)}, -gm:function(a){var u=this.a -return u.gm(u)}, -A:function(a,b){return this.a.A(0,b)}, -j:function(a){return this.a.j(0)}, -$aa4:function(a,b){return[b]}} -H.bu.prototype={ -l:function(){return this.a.l()}, -gn:function(){return H.aN(this.a.gn(),H.h(this,1))}} -H.aP.prototype={} -H.cE.prototype={$il:1, -$al:function(a,b){return[b]}} -H.aQ.prototype={ -I:function(a,b,c){return new H.aQ(this.a,[H.h(this,0),H.h(this,1),b,c])}, -t:function(a){return this.a.t(a)}, -h:function(a,b){return H.aN(this.a.h(0,b),H.h(this,3))}, -k:function(a,b,c){this.a.k(0,H.aN(b,H.h(this,0)),H.aN(c,H.h(this,1)))}, -u:function(a,b){this.a.u(0,new H.bv(this,b))}, -gq:function(a){var u=this.a -return H.fj(u.gq(u),H.h(this,0),H.h(this,2))}, -gi:function(a){var u=this.a -return u.gi(u)}, -gm:function(a){var u=this.a -return u.gm(u)}, -$aT:function(a,b,c,d){return[c,d]}, -$aS:function(a,b,c,d){return[c,d]}} -H.bv.prototype={ -$2:function(a,b){var u=this.a -this.b.$2(H.aN(a,H.h(u,2)),H.aN(b,H.h(u,3)))}, -$S:function(){var u=this.a -return{func:1,ret:P.i,args:[H.h(u,0),H.h(u,1)]}}} -H.l.prototype={} -H.a6.prototype={ -gp:function(a){return new H.ar(this,this.gi(this))}, -gm:function(a){return this.gi(this)===0}, -A:function(a,b){var u,t=this,s=t.gi(t) -for(u=0;u=q){t.d=null -return!1}t.d=r.B(s,u);++t.c -return!0}} -H.b0.prototype={ -gi:function(a){return J.bp(this.a)}, -B:function(a,b){return this.b.$1(J.f8(this.a,b))}, -$al:function(a,b){return[b]}, -$aa6:function(a,b){return[b]}, -$aa4:function(a,b){return[b]}} -H.aT.prototype={} -H.aA.prototype={ -gv:function(a){var u=this._hashCode -if(u!=null)return u -u=536870911&664597*J.aj(this.a) -this._hashCode=u -return u}, -j:function(a){return'Symbol("'+H.b(this.a)+'")'}, -K:function(a,b){if(b==null)return!1 -return b instanceof H.aA&&this.a==b.a}, -$iL:1} -H.bz.prototype={} -H.by.prototype={ -I:function(a,b,c){return P.er(this,H.h(this,0),H.h(this,1),b,c)}, -gm:function(a){return this.gi(this)===0}, -j:function(a){return P.dR(this)}, -k:function(a,b,c){return H.fo()}, -$iS:1} -H.bA.prototype={ -gi:function(a){return this.a}, -t:function(a){if(typeof a!=="string")return!1 -if("__proto__"===a)return!1 -return this.b.hasOwnProperty(a)}, -h:function(a,b){if(!this.t(b))return -return this.aA(b)}, -aA:function(a){return this.b[a]}, -u:function(a,b){var u,t,s,r=this.c -for(u=r.length,t=0;t>>0}, -j:function(a){var u=this.c -if(u==null)u=this.a -return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.aw(u)+"'")}} -H.bs.prototype={ -j:function(a){return this.a}} -H.cc.prototype={ -j:function(a){return"RuntimeError: "+H.b(this.a)}} -H.a5.prototype={ -gi:function(a){return this.a}, -gm:function(a){return this.a===0}, -gO:function(a){return!this.gm(this)}, -gq:function(a){return new H.bU(this,[H.h(this,0)])}, -t:function(a){var u,t -if(typeof a==="string"){u=this.b -if(u==null)return!1 -return this.bc(u,a)}else{t=this.bC(a) -return t}}, -bC:function(a){var u=this,t=u.d -if(t==null)return!1 -return u.ah(u.a9(t,u.ag(a)),a)>=0}, -h:function(a,b){var u,t,s,r,q=this -if(typeof b==="string"){u=q.b -if(u==null)return -t=q.U(u,b) -s=t==null?null:t.b -return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c -if(r==null)return -t=q.U(r,b) -s=t==null?null:t.b -return s}else return q.bD(b)}, -bD:function(a){var u,t,s=this,r=s.d -if(r==null)return -u=s.a9(r,s.ag(a)) -t=s.ah(u,a) -if(t<0)return -return u[t].b}, -k:function(a,b,c){var u,t,s=this -if(typeof b==="string"){u=s.b -s.ap(u==null?s.b=s.aa():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=s.c -s.ap(t==null?s.c=s.aa():t,b,c)}else s.bE(b,c)}, -bE:function(a,b){var u,t,s,r=this,q=r.d -if(q==null)q=r.d=r.aa() -u=r.ag(a) -t=r.a9(q,u) -if(t==null)r.ac(q,u,[r.ab(a,b)]) -else{s=r.ah(t,a) -if(s>=0)t[s].b=b -else t.push(r.ab(a,b))}}, -bq:function(a){var u=this -if(u.a>0){u.b=u.c=u.d=u.e=u.f=null -u.a=0 -u.aC()}}, -u:function(a,b){var u=this,t=u.e,s=u.r -for(;t!=null;){b.$2(t.a,t.b) -if(s!==u.r)throw H.c(P.x(u)) -t=t.c}}, -ap:function(a,b,c){var u=this.U(a,b) -if(u==null)this.ac(a,b,this.ab(b,c)) -else u.b=c}, -aC:function(){this.r=this.r+1&67108863}, -ab:function(a,b){var u=this,t=new H.bT(a,b) -if(u.e==null)u.e=u.f=t -else u.f=u.f.c=t;++u.a -u.aC() -return t}, -ag:function(a){return J.aj(a)&0x3ffffff}, -ah:function(a,b){var u,t -if(a==null)return-1 -u=a.length -for(t=0;t=4){if(n.a===8){s=o.b -s.b=n.c -s.a=!0}return}p=o.a.a -s=o.b -s.b=n.bW(new P.cV(p),null) -s.a=!1}}} -P.cV.prototype={ -$1:function(a){return this.a}, -$S:13} -P.cT.prototype={ -$0:function(){var u,t,s,r,q=this -try{s=q.b -q.a.b=s.b.b.am(s.d,q.c)}catch(r){u=H.z(r) -t=H.O(r) -s=q.a -s.b=new P.a0(u,t) -s.a=!0}}} -P.cS.prototype={ -$0:function(){var u,t,s,r,q,p,o,n,m=this -try{u=m.a.a.c -r=m.c -if(r.bH(u)&&r.e!=null){q=m.b -q.b=r.by(u) -q.a=!1}}catch(p){t=H.z(p) -s=H.O(p) -r=m.a.a.c -q=r.a -o=t -n=m.b -if(q==null?o==null:q===o)n.b=r -else n.b=new P.a0(t,s) -n.a=!0}}} -P.bd.prototype={} -P.ch.prototype={} -P.ci.prototype={} -P.da.prototype={} -P.a0.prototype={ -j:function(a){return H.b(this.a)}, -$ia1:1} -P.de.prototype={} -P.dn.prototype={ -$0:function(){var u,t=this.a,s=t.a -t=s==null?t.a=new P.au():s -s=this.b -if(s==null)throw H.c(t) -u=H.c(t) -u.stack=s.j(0) -throw u}} -P.d4.prototype={ -bS:function(a){var u,t,s,r=null -try{if(C.b===$.e){a.$0() -return}P.eC(r,r,this,a)}catch(s){u=H.z(s) -t=H.O(s) -P.dm(r,r,this,u,t)}}, -bU:function(a,b){var u,t,s,r=null -try{if(C.b===$.e){a.$1(b) -return}P.eD(r,r,this,a,b)}catch(s){u=H.z(s) -t=H.O(s) -P.dm(r,r,this,u,t)}}, -bV:function(a,b){return this.bU(a,b,null)}, -bo:function(a){return new P.d6(this,a)}, -bn:function(a){return this.bo(a,null)}, -aI:function(a){return new P.d5(this,a)}, -bp:function(a,b){return new P.d7(this,a,b)}, -bP:function(a){if($.e===C.b)return a.$0() -return P.eC(null,null,this,a)}, -aS:function(a){return this.bP(a,null)}, -bT:function(a,b){if($.e===C.b)return a.$1(b) -return P.eD(null,null,this,a,b)}, -am:function(a,b){return this.bT(a,b,null,null)}, -bR:function(a,b,c){if($.e===C.b)return a.$2(b,c) -return P.hc(null,null,this,a,b,c)}, -bQ:function(a,b,c){return this.bR(a,b,c,null,null,null)}, -bN:function(a){return a}, -aR:function(a){return this.bN(a,null,null,null)}} -P.d6.prototype={ -$0:function(){return this.a.aS(this.b)}} -P.d5.prototype={ -$0:function(){return this.a.bS(this.b)}} -P.d7.prototype={ -$1:function(a){return this.a.bV(this.b,a)}, -$S:function(){return{func:1,ret:-1,args:[this.c]}}} -P.aB.prototype={ -gi:function(a){return this.a}, -gm:function(a){return this.a===0}, -gq:function(a){return new P.cW(this,[H.h(this,0)])}, -t:function(a){var u,t -if(typeof a==="string"&&a!=="__proto__"){u=this.b -return u==null?!1:u[a]!=null}else if(typeof a==="number"&&(a&1073741823)===a){t=this.c -return t==null?!1:t[a]!=null}else return this.az(a)}, -az:function(a){var u=this.d -if(u==null)return!1 -return this.D(this.N(u,a),a)>=0}, -h:function(a,b){var u,t,s -if(typeof b==="string"&&b!=="__proto__"){u=this.b -t=u==null?null:P.ez(u,b) -return t}else if(typeof b==="number"&&(b&1073741823)===b){s=this.c -t=s==null?null:P.ez(s,b) -return t}else return this.aB(b)}, -aB:function(a){var u,t,s=this.d -if(s==null)return -u=this.N(s,a) -t=this.D(u,a) -return t<0?null:u[t+1]}, -k:function(a,b,c){var u,t,s=this -if(typeof b==="string"&&b!=="__proto__"){u=s.b -s.as(u==null?s.b=P.dV():u,b,c)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c -s.as(t==null?s.c=P.dV():t,b,c)}else s.aG(b,c)}, -aG:function(a,b){var u,t,s,r=this,q=r.d -if(q==null)q=r.d=P.dV() -u=r.H(a) -t=q[u] -if(t==null){P.dW(q,u,[a,b]);++r.a -r.e=null}else{s=r.D(t,a) -if(s>=0)t[s+1]=b -else{t.push(a,b);++r.a -r.e=null}}}, -u:function(a,b){var u,t,s,r=this,q=r.ax() -for(u=q.length,t=0;t=t.length){u.d=null -return!1}else{u.d=t[s] -u.c=s+1 -return!0}}} -P.aC.prototype={ -gp:function(a){return new P.cY(this,this.bb())}, -gi:function(a){return this.a}, -gm:function(a){return this.a===0}, -A:function(a,b){var u,t -if(typeof b==="string"&&b!=="__proto__"){u=this.b -return u==null?!1:u[b]!=null}else if(typeof b==="number"&&(b&1073741823)===b){t=this.c -return t==null?!1:t[b]!=null}else return this.ay(b)}, -ay:function(a){var u=this.d -if(u==null)return!1 -return this.D(this.N(u,a),a)>=0}, -F:function(a,b){var u,t,s=this -if(typeof b==="string"&&b!=="__proto__"){u=s.b -return s.ar(u==null?s.b=P.dX():u,b)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c -return s.ar(t==null?s.c=P.dX():t,b)}else return s.aq(b)}, -aq:function(a){var u,t,s=this,r=s.d -if(r==null)r=s.d=P.dX() -u=s.H(a) -t=r[u] -if(t==null)r[u]=[a] -else{if(s.D(t,a)>=0)return!1 -t.push(a)}++s.a -s.e=null -return!0}, -a2:function(a,b){var u=this -if(typeof b==="string"&&b!=="__proto__")return u.aF(u.b,b) -else if(typeof b==="number"&&(b&1073741823)===b)return u.aF(u.c,b) -else return u.V(b)}, -V:function(a){var u,t,s=this,r=s.d -if(r==null)return!1 -u=s.N(r,a) -t=s.D(u,a) -if(t<0)return!1;--s.a -s.e=null -u.splice(t,1) -return!0}, -bb:function(){var u,t,s,r,q,p,o,n,m,l,k,j=this,i=j.e -if(i!=null)return i -u=new Array(j.a) -u.fixed$length=Array -t=j.b -if(t!=null){s=Object.getOwnPropertyNames(t) -r=s.length -for(q=0,p=0;p=t.length){u.d=null -return!1}else{u.d=t[s] -u.c=s+1 -return!0}}} -P.bH.prototype={ -gi:function(a){var u,t=this,s=H.h(t,0),r=new P.aH(t,H.j([],[[P.M,s]]),t.b,t.c,[s]) -r.L(t.d) -for(u=0;r.l();)++u -return u}, -gm:function(a){var u=this,t=H.h(u,0) -t=new P.aH(u,H.j([],[[P.M,t]]),u.b,u.c,[t]) -t.L(u.d) -return!t.l()}, -j:function(a){return P.en(this,"(",")")}} -P.R.prototype={ -gp:function(a){return new H.ar(a,this.gi(a))}, -B:function(a,b){return this.h(a,b)}, -gm:function(a){return this.gi(a)===0}, -gO:function(a){return this.gi(a)!==0}, -ao:function(a,b){H.ev(a,b)}, -E:function(a,b){var u=this,t=H.j([],[H.hr(u,a,"R",0)]) -C.a.si(t,C.c.E(u.gi(a),b.gi(b))) -C.a.R(t,0,u.gi(a),a) -C.a.R(t,u.gi(a),t.length,b) -return t}, -j:function(a){return P.aq(a,"[","]")}} -P.bY.prototype={} -P.bZ.prototype={ -$2:function(a,b){var u,t=this.a -if(!t.a)this.b.a+=", " -t.a=!1 -t=this.b -u=t.a+=H.b(a) -t.a=u+": " -t.a+=H.b(b)}, -$S:5} -P.T.prototype={ -I:function(a,b,c){return P.er(this,H.e6(this,"T",0),H.e6(this,"T",1),b,c)}, -u:function(a,b){var u,t -for(u=this.gq(this),u=u.gp(u);u.l();){t=u.gn() -b.$2(t,this.h(0,t))}}, -t:function(a){return this.gq(this).A(0,a)}, -gi:function(a){var u=this.gq(this) -return u.gi(u)}, -gm:function(a){var u=this.gq(this) -return u.gm(u)}, -j:function(a){return P.dR(this)}, -$iS:1} -P.dd.prototype={ -k:function(a,b,c){throw H.c(P.D("Cannot modify unmodifiable map"))}} -P.c_.prototype={ -I:function(a,b,c){return this.a.I(0,b,c)}, -h:function(a,b){return this.a.h(0,b)}, -t:function(a){return this.a.t(a)}, -u:function(a,b){this.a.u(0,b)}, -gm:function(a){var u=this.a -return u.gm(u)}, -gi:function(a){var u=this.a -return u.gi(u)}, -gq:function(a){var u=this.a -return u.gq(u)}, -j:function(a){return this.a.j(0)}, -$iS:1} -P.bb.prototype={ -I:function(a,b,c){return new P.bb(this.a.I(0,b,c),[b,c])}} -P.bW.prototype={ -gp:function(a){var u=this -return new P.d3(u,u.c,u.d,u.b)}, -gm:function(a){return this.b===this.c}, -gi:function(a){return(this.c-this.b&this.a.length-1)>>>0}, -B:function(a,b){var u,t=this,s=t.gi(t) -if(0>b||b>=s)H.r(P.dK(b,t,"index",null,s)) -u=t.a -return u[(t.b+b&u.length-1)>>>0]}, -j:function(a){return P.aq(this,"{","}")}} -P.d3.prototype={ -gn:function(){return this.e}, -l:function(){var u,t=this,s=t.a -if(t.c!==s.d)H.r(P.x(s)) -u=t.d -if(u===t.b){t.e=null -return!1}s=s.a -t.e=s[u] -t.d=(u+1&s.length-1)>>>0 -return!0}} -P.cd.prototype={ -gm:function(a){return this.a===0}, -j:function(a){return P.aq(this,"{","}")}} -P.d8.prototype={ -gm:function(a){return this.gi(this)===0}, -j:function(a){return P.aq(this,"{","}")}, -$il:1} -P.M.prototype={} -P.d9.prototype={ -bi:function(a){var u,t -for(u=a;t=u.b,t!=null;u=t){u.b=t.c -t.c=u}return u}, -bh:function(a){var u,t -for(u=a;t=u.c,t!=null;u=t){u.c=t.b -t.b=u}return u}, -Y:function(a){var u,t,s,r,q,p,o,n,m=this,l=m.d -if(l==null)return-1 -u=m.e -for(t=u,s=t,r=null;!0;){q=l.a -p=m.f -r=p.$2(q,a) -if(r>0){q=l.b -if(q==null)break -r=p.$2(q.a,a) -if(r>0){o=l.b -l.b=o.c -o.c=l -if(o.b==null){l=o -break}l=o}t.b=l -n=l.b -t=l -l=n}else{if(r<0){q=l.c -if(q==null)break -r=p.$2(q.a,a) -if(r<0){o=l.c -l.c=o.b -o.b=l -if(o.c==null){l=o -break}l=o}s.c=l -n=l.c}else break -s=l -l=n}}s.c=l.b -t.b=l.c -l.b=u.c -l.c=u.b -m.d=l -u.b=u.c=null;++m.c -return r}, -V:function(a){var u,t,s,r=this -if(r.d==null)return -if(r.Y(a)!==0)return -u=r.d;--r.a -t=u.b -if(t==null)r.d=u.c -else{s=u.c -t=r.bh(t) -r.d=t -t.c=s}++r.b -return u}, -au:function(a,b){var u,t=this;++t.a;++t.b -u=t.d -if(u==null){t.d=a -return}if(b<0){a.b=u -a.c=u.c -u.c=null}else{a.c=u -a.b=u.b -u.b=null}t.d=a}, -gbe:function(){var u=this.d -if(u==null)return -return this.d=this.bi(u)}} -P.bf.prototype={ -gn:function(){var u=this.e -if(u==null)return -return u.a}, -L:function(a){var u -for(u=this.b;a!=null;){u.push(a) -a=a.b}}, -l:function(){var u,t,s=this,r=s.a -if(s.c!==r.b)throw H.c(P.x(r)) -u=s.b -if(u.length===0){s.e=null -return!1}if(r.c!==s.d&&s.e!=null){t=s.e -C.a.si(u,0) -if(t==null)s.L(r.d) -else{r.Y(t.a) -s.L(r.d.c)}}r=u.pop() -s.e=r -s.L(r.c) -return!0}} -P.aH.prototype={ -$abf:function(a){return[a,a]}} -P.ce.prototype={ -gp:function(a){var u=this,t=new P.aH(u,H.j([],[[P.M,H.h(u,0)]]),u.b,u.c,u.$ti) -t.L(u.d) -return t}, -gi:function(a){return this.a}, -gm:function(a){return this.d==null}, -F:function(a,b){var u=this.Y(b) -if(u===0)return!1 -this.au(new P.M(b),u) -return!0}, -a2:function(a,b){if(!this.r.$1(b))return!1 -return this.V(b)!=null}, -Z:function(a,b){var u,t,s,r -for(u=b.length,t=0;t92)continue -if(q<32){if(r>s)t.a+=C.d.S(a,s,r) -s=r+1 -t.a+=H.t(92) -switch(q){case 8:t.a+=H.t(98) -break -case 9:t.a+=H.t(116) -break -case 10:t.a+=H.t(110) -break -case 12:t.a+=H.t(102) -break -case 13:t.a+=H.t(114) -break -default:t.a+=H.t(117) -t.a+=H.t(48) -t.a+=H.t(48) -p=q>>>4&15 -t.a+=H.t(p<10?48+p:87+p) -p=q&15 -t.a+=H.t(p<10?48+p:87+p) -break}}else if(q===34||q===92){if(r>s)t.a+=C.d.S(a,s,r) -s=r+1 -t.a+=H.t(92) -t.a+=H.t(q)}}if(s===0)t.a+=H.b(a) -else if(ss)u=": Not in range "+H.b(s)+".."+H.b(t)+", inclusive" -else u=t=200&&s<300,q=s>307&&s<400 -s=r||s===0||s===304||q -u=this.b -if(s)u.w(t) -else u.af(a)}} -W.aV.prototype={} -W.b_.prototype={ -gbM:function(a){if("origin" in a)return a.origin -return H.b(a.protocol)+"//"+H.b(a.host)}, -j:function(a){return String(a)}} -W.b1.prototype={$ib1:1} -W.b5.prototype={ -j:function(a){var u=a.nodeValue -return u==null?this.b_(a):u}} -W.ax.prototype={$iax:1} -W.cF.prototype={ -bk:function(){var u=this,t=u.d -if(t!=null&&u.a<=0)J.f7(u.b,u.c,t,!1)}} -W.cG.prototype={ -$1:function(a){return this.a.$1(a)}} -P.cp.prototype={ -aM:function(a){var u,t=this.a,s=t.length -for(u=0;u>>0 -t.c=r -if(t.b===r){s=new Array(s*2) -s.fixed$length=Array -q=H.j(s,[H.h(t,0)]) -s=t.a -r=t.b -p=s.length-r -C.a.a5(q,0,p,s,r) -C.a.a5(q,p,p+t.b,t.a,0) -t.b=0 -t.c=t.a.length -t.a=q}++t.d -s=j.e -s.F(0,a) -r=j.f.$1(a) -r=J.ak(r==null?C.z:r) -for(;r.l();){o=r.gn() -if(!i.t(o)){j.$1(o) -n=u.h(0,a) -m=u.h(0,o) -u.k(0,a,Math.min(H.dq(n),H.dq(m)))}else if(s.A(0,o)){n=u.h(0,a) -m=i.h(0,o) -u.k(0,a,Math.min(H.dq(n),H.dq(m)))}}if(J.p(u.h(0,a),i.h(0,a))){l=H.j([],[j.x]) -do{i=t.b -u=t.c -if(i===u)H.r(H.eo());++t.d -i=t.a -u=t.c=(u-1&i.length-1)>>>0 -k=i[u] -i[u]=null -s.a2(0,k) -l.push(k)}while(!h.a.$2(k,a)) -j.r.push(l)}}, -$S:function(){return{func:1,ret:-1,args:[this.x]}}} -D.aU.prototype={} -D.aZ.prototype={ -ak:function(){var u=this.a -if(u!=null&&"hot$onDestroy" in u)return J.fe(u) -return}, -al:function(a){var u=this.a -if(u!=null&&"hot$onSelfUpdate" in u)return J.ff(u,a) -return}, -aj:function(a,b,c){var u=this.a -if(u!=null&&"hot$onChildUpdate" in u)return J.fd(u,a,b.a,c) -return}} -D.dO.prototype={} -D.bM.prototype={} -D.dJ.prototype={} -D.dj.prototype={ -$1:function(a){return new D.aZ(a)}} -D.dk.prototype={ -$0:function(){this.a.w(D.eB(this.b))}, -$C:"$0", -$R:0} -D.dl.prototype={ -$1:function(a){return this.a.J(new L.ap(J.fb(a)),this.b)}} -D.dz.prototype={ -$1:function(a){a.length -return H.hH(a,this.a,"",0)}} -D.dA.prototype={ -$1:function(a){return J.eg(J.ee(self.$dartLoader),a)}} -D.dB.prototype={ -$0:function(){return D.eO(J.ee(self.$dartLoader),P.d,[P.u,P.d])}} -D.dD.prototype={ -$1:function(a){return J.eg(J.ef(self.$dartLoader),C.d.E(this.a,a))}} -D.dC.prototype={ -$1:function(a){return this.a.a0(H.eT(new P.bc([],[]).aL(a.data,!0)))}};(function aliases(){var u=J.q.prototype -u.b_=u.j -u.aZ=u.a1 -u=J.aX.prototype -u.b0=u.j -u=P.aB.prototype -u.b1=u.az -u.b2=u.aB -u.b3=u.aG -u=P.aC.prototype -u.b5=u.ay -u.b4=u.aq -u.b6=u.V})();(function installTearOffs(){var u=hunkHelpers._static_1,t=hunkHelpers._static_0,s=hunkHelpers.installInstanceTearOff,r=hunkHelpers._instance_2u,q=hunkHelpers._static_2 -u(P,"hh","fS",3) -u(P,"hi","fT",3) -u(P,"hj","fU",3) -t(P,"eI","he",6) -s(P.be.prototype,"gaK",0,1,function(){return[null]},["$2","$1"],["J","af"],10,0) -s(P.bj.prototype,"gbr",0,0,null,["$1","$0"],["w","a_"],11,0) -u(P,"eJ","h3",17) -u(P,"hl","h4",0) -r(L.b8.prototype,"gaO","bK",16) -q(L,"hK","h2",18) -u(D,"ht","eB",19) -u(D,"hu","ha",20) -t(D,"hv","hb",6)})();(function inheritance(){var u=hunkHelpers.mixin,t=hunkHelpers.inherit,s=hunkHelpers.inheritMany -t(P.f,null) -s(P.f,[H.dM,J.q,J.a_,P.a4,H.bu,P.T,H.an,H.ar,H.aT,H.aA,P.c_,H.by,H.bK,H.ck,P.a1,H.ao,H.bi,H.bT,H.bV,P.db,P.cr,P.m,P.be,P.cI,P.n,P.bd,P.ch,P.ci,P.da,P.a0,P.de,P.cX,P.d8,P.cY,P.bH,P.R,P.dd,P.d3,P.cd,P.M,P.d9,P.bf,P.bw,P.d1,P.N,P.aR,P.aM,P.ba,P.cH,P.bE,P.u,P.i,P.v,P.d,P.U,P.L,P.cp,G.bS,G.K,S.cb,L.ap,L.b8,D.aZ]) -s(J.q,[J.bI,J.bL,J.aX,J.H,J.Q,J.I,H.at,W.G,W.bD,W.a,W.b_]) -s(J.aX,[J.c9,J.V,J.J,D.aU,D.dO,D.bM,D.dJ]) -t(J.dL,J.H) -s(J.Q,[J.aW,J.bJ]) -s(P.a4,[H.cy,H.l,H.cz]) -t(H.aP,H.cy) -t(H.cE,H.aP) -t(P.bY,P.T) -s(P.bY,[H.aQ,H.a5,P.aB,P.cZ]) -s(H.an,[H.bv,H.ca,H.dH,H.cj,H.dv,H.dw,H.dx,P.cv,P.cu,P.cw,P.cx,P.dc,P.ct,P.cs,P.dg,P.dh,P.dp,P.cJ,P.cR,P.cN,P.cO,P.cP,P.cL,P.cQ,P.cK,P.cU,P.cV,P.cT,P.cS,P.dn,P.d6,P.d5,P.d7,P.cB,P.cD,P.bZ,P.cf,P.d2,P.c7,W.bF,W.cG,P.cq,P.dr,P.ds,L.dG,D.dj,D.dk,D.dl,D.dz,D.dA,D.dB,D.dD,D.dC]) -s(H.l,[H.a6,H.bU,P.cW]) -s(H.a6,[H.b0,P.bW,P.d_]) -t(P.bk,P.c_) -t(P.bb,P.bk) -t(H.bz,P.bb) -t(H.bA,H.by) -s(P.a1,[H.c8,H.bN,H.cn,H.bs,H.cc,P.aY,P.au,P.F,P.c6,P.co,P.cm,P.ay,P.bx,P.bC]) -s(H.cj,[H.cg,H.al]) -t(H.b2,H.at) -s(H.b2,[H.aD,H.aF]) -t(H.aE,H.aD) -t(H.as,H.aE) -t(H.aG,H.aF) -t(H.b3,H.aG) -s(H.b3,[H.c0,H.c1,H.c2,H.c3,H.c4,H.b4,H.c5]) -s(P.be,[P.W,P.bj]) -t(P.d4,P.de) -t(P.cA,P.aB) -t(P.aC,P.d8) -t(P.cC,P.aC) -t(P.aH,P.bf) -t(P.bg,P.d9) -t(P.bh,P.bg) -t(P.ce,P.bh) -t(P.bB,P.ci) -t(P.bP,P.aY) -t(P.bO,P.bw) -s(P.bB,[P.bR,P.bQ]) -t(P.d0,P.d1) -s(P.aM,[P.af,P.o]) -s(P.F,[P.b6,P.bG]) -s(W.G,[W.b5,W.aV]) -t(W.P,W.b5) -t(W.a3,W.aV) -s(W.a,[W.b1,W.ax]) -t(W.cF,P.ch) -t(P.bc,P.cp) -u(H.aD,P.R) -u(H.aE,H.aT) -u(H.aF,P.R) -u(H.aG,H.aT) -u(P.bg,P.bH) -u(P.bh,P.cd) -u(P.bk,P.dd)})();(function constants(){var u=hunkHelpers.makeConstList -C.t=W.a3.prototype -C.u=J.q.prototype -C.a=J.H.prototype -C.c=J.aW.prototype -C.v=J.Q.prototype -C.d=J.I.prototype -C.w=J.J.prototype -C.B=W.b_.prototype -C.l=J.c9.prototype -C.e=J.V.prototype -C.f=function getTagFallback(o) { - var s = Object.prototype.toString.call(o); - return s.substring(8, s.length - 1); -} -C.m=function() { - var toStringFunction = Object.prototype.toString; - function getTag(o) { - var s = toStringFunction.call(o); - return s.substring(8, s.length - 1); - } - function getUnknownTag(object, tag) { - if (/^HTML[A-Z].*Element$/.test(tag)) { - var name = toStringFunction.call(object); - if (name == "[object Object]") return null; - return "HTMLElement"; - } - } - function getUnknownTagGenericBrowser(object, tag) { - if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; - return getUnknownTag(object, tag); - } - function prototypeForTag(tag) { - if (typeof window == "undefined") return null; - if (typeof window[tag] == "undefined") return null; - var constructor = window[tag]; - if (typeof constructor != "function") return null; - return constructor.prototype; - } - function discriminator(tag) { return null; } - var isBrowser = typeof navigator == "object"; - return { - getTag: getTag, - getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, - prototypeForTag: prototypeForTag, - discriminator: discriminator }; -} -C.r=function(getTagFallback) { - return function(hooks) { - if (typeof navigator != "object") return hooks; - var ua = navigator.userAgent; - if (ua.indexOf("DumpRenderTree") >= 0) return hooks; - if (ua.indexOf("Chrome") >= 0) { - function confirm(p) { - return typeof window == "object" && window[p] && window[p].name == p; - } - if (confirm("Window") && confirm("HTMLElement")) return hooks; - } - hooks.getTag = getTagFallback; - }; -} -C.n=function(hooks) { - if (typeof dartExperimentalFixupGetTag != "function") return hooks; - hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -} -C.o=function(hooks) { - var getTag = hooks.getTag; - var prototypeForTag = hooks.prototypeForTag; - function getTagFixed(o) { - var tag = getTag(o); - if (tag == "Document") { - if (!!o.xmlVersion) return "!Document"; - return "!HTMLDocument"; - } - return tag; - } - function prototypeForTagFixed(tag) { - if (tag == "Document") return null; - return prototypeForTag(tag); - } - hooks.getTag = getTagFixed; - hooks.prototypeForTag = prototypeForTagFixed; -} -C.q=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Firefox") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "GeoGeolocation": "Geolocation", - "Location": "!Location", - "WorkerMessageEvent": "MessageEvent", - "XMLDocument": "!Document"}; - function getTagFirefox(o) { - var tag = getTag(o); - return quickMap[tag] || tag; - } - hooks.getTag = getTagFirefox; -} -C.p=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; - if (userAgent.indexOf("Trident/") == -1) return hooks; - var getTag = hooks.getTag; - var quickMap = { - "BeforeUnloadEvent": "Event", - "DataTransfer": "Clipboard", - "HTMLDDElement": "HTMLElement", - "HTMLDTElement": "HTMLElement", - "HTMLPhraseElement": "HTMLElement", - "Position": "Geoposition" - }; - function getTagIE(o) { - var tag = getTag(o); - var newTag = quickMap[tag]; - if (newTag) return newTag; - if (tag == "Object") { - if (window.DataView && (o instanceof window.DataView)) return "DataView"; - } - return tag; - } - function prototypeForTagIE(tag) { - var constructor = window[tag]; - if (constructor == null) return null; - return constructor.prototype; - } - hooks.getTag = getTagIE; - hooks.prototypeForTag = prototypeForTagIE; -} -C.h=function(hooks) { return hooks; } - -C.i=new P.bO() -C.b=new P.d4() -C.x=new P.bQ(null) -C.y=new P.bR(null) -C.z=H.j(u([]),[P.i]) -C.j=u([]) -C.A=H.j(u([]),[P.L]) -C.k=new H.bA(0,{},C.A,[P.L,null]) -C.C=new H.aA("call")})() -var v={mangledGlobalNames:{o:"int",af:"double",aM:"num",d:"String",N:"bool",i:"Null",u:"List"},mangledNames:{},getTypeFromName:getGlobalFromName,metadata:[],types:[{func:1,args:[,]},{func:1,ret:-1,args:[,]},{func:1,ret:P.N,args:[,]},{func:1,ret:-1,args:[{func:1,ret:-1}]},{func:1,ret:P.i,args:[,]},{func:1,ret:P.i,args:[,,]},{func:1,ret:-1},{func:1,ret:P.i,args:[P.d,,]},{func:1,ret:P.i,args:[,P.v]},{func:1,ret:P.i,args:[P.o,,]},{func:1,ret:-1,args:[P.f],opt:[P.v]},{func:1,ret:-1,opt:[P.f]},{func:1,ret:P.i,args:[,],opt:[P.v]},{func:1,ret:[P.n,,],args:[,]},{func:1,ret:P.i,args:[P.L,,]},{func:1,args:[,,]},{func:1,ret:P.o,args:[P.d,P.d]},{func:1,ret:P.o,args:[,]},{func:1,ret:P.N,args:[,,]},{func:1,ret:G.K,args:[P.d]},{func:1,ret:[P.m,G.K],args:[P.d]}],interceptorsByTag:null,leafTags:null};(function staticFields(){$.B=0 -$.am=null -$.ej=null -$.eM=null -$.eG=null -$.eR=null -$.dt=null -$.dy=null -$.e7=null -$.aa=null -$.aI=null -$.aJ=null -$.e0=!1 -$.e=C.b -$.Y=[]})();(function lazyInitializers(){var u=hunkHelpers.lazy -u($,"hN","ea",function(){return H.eL("_$dart_dartClosure")}) -u($,"hP","eb",function(){return H.eL("_$dart_js")}) -u($,"hR","eV",function(){return H.C(H.cl({ -toString:function(){return"$receiver$"}}))}) -u($,"hS","eW",function(){return H.C(H.cl({$method$:null, -toString:function(){return"$receiver$"}}))}) -u($,"hT","eX",function(){return H.C(H.cl(null))}) -u($,"hU","eY",function(){return H.C(function(){var $argumentsExpr$='$arguments$' -try{null.$method$($argumentsExpr$)}catch(t){return t.message}}())}) -u($,"hX","f0",function(){return H.C(H.cl(void 0))}) -u($,"hY","f1",function(){return H.C(function(){var $argumentsExpr$='$arguments$' -try{(void 0).$method$($argumentsExpr$)}catch(t){return t.message}}())}) -u($,"hW","f_",function(){return H.C(H.ex(null))}) -u($,"hV","eZ",function(){return H.C(function(){try{null.$method$}catch(t){return t.message}}())}) -u($,"i_","f3",function(){return H.C(H.ex(void 0))}) -u($,"hZ","f2",function(){return H.C(function(){try{(void 0).$method$}catch(t){return t.message}}())}) -u($,"i0","ec",function(){return P.fR()}) -u($,"i1","f4",function(){return new Error().stack!=void 0})})();(function nativeSupport(){!function(){var u=function(a){var o={} -o[a]=1 -return Object.keys(hunkHelpers.convertToFastObject(o))[0]} -v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} -var t="___dart_isolate_tags_" -var s=Object[t]||(Object[t]=Object.create(null)) -var r="_ZxYxX" -for(var q=0;;q++){var p=u(r+"_"+q+"_") -if(!(p in s)){s[p]=1 -v.isolateTag=p -break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() -hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.q,Blob:J.q,DOMError:J.q,File:J.q,MediaError:J.q,NavigatorUserMediaError:J.q,OverconstrainedError:J.q,PositionError:J.q,SQLError:J.q,DataView:H.at,ArrayBufferView:H.at,Float32Array:H.as,Float64Array:H.as,Int16Array:H.c0,Int32Array:H.c1,Int8Array:H.c2,Uint16Array:H.c3,Uint32Array:H.c4,Uint8ClampedArray:H.b4,CanvasPixelArray:H.b4,Uint8Array:H.c5,Document:W.P,HTMLDocument:W.P,XMLDocument:W.P,DOMException:W.bD,AbortPaymentEvent:W.a,AnimationEvent:W.a,AnimationPlaybackEvent:W.a,ApplicationCacheErrorEvent:W.a,BackgroundFetchClickEvent:W.a,BackgroundFetchEvent:W.a,BackgroundFetchFailEvent:W.a,BackgroundFetchedEvent:W.a,BeforeInstallPromptEvent:W.a,BeforeUnloadEvent:W.a,BlobEvent:W.a,CanMakePaymentEvent:W.a,ClipboardEvent:W.a,CloseEvent:W.a,CompositionEvent:W.a,CustomEvent:W.a,DeviceMotionEvent:W.a,DeviceOrientationEvent:W.a,ErrorEvent:W.a,ExtendableEvent:W.a,ExtendableMessageEvent:W.a,FetchEvent:W.a,FocusEvent:W.a,FontFaceSetLoadEvent:W.a,ForeignFetchEvent:W.a,GamepadEvent:W.a,HashChangeEvent:W.a,InstallEvent:W.a,KeyboardEvent:W.a,MediaEncryptedEvent:W.a,MediaKeyMessageEvent:W.a,MediaQueryListEvent:W.a,MediaStreamEvent:W.a,MediaStreamTrackEvent:W.a,MIDIConnectionEvent:W.a,MIDIMessageEvent:W.a,MouseEvent:W.a,DragEvent:W.a,MutationEvent:W.a,NotificationEvent:W.a,PageTransitionEvent:W.a,PaymentRequestEvent:W.a,PaymentRequestUpdateEvent:W.a,PointerEvent:W.a,PopStateEvent:W.a,PresentationConnectionAvailableEvent:W.a,PresentationConnectionCloseEvent:W.a,PromiseRejectionEvent:W.a,PushEvent:W.a,RTCDataChannelEvent:W.a,RTCDTMFToneChangeEvent:W.a,RTCPeerConnectionIceEvent:W.a,RTCTrackEvent:W.a,SecurityPolicyViolationEvent:W.a,SensorErrorEvent:W.a,SpeechRecognitionError:W.a,SpeechRecognitionEvent:W.a,SpeechSynthesisEvent:W.a,StorageEvent:W.a,SyncEvent:W.a,TextEvent:W.a,TouchEvent:W.a,TrackEvent:W.a,TransitionEvent:W.a,WebKitTransitionEvent:W.a,UIEvent:W.a,VRDeviceEvent:W.a,VRDisplayEvent:W.a,VRSessionEvent:W.a,WheelEvent:W.a,MojoInterfaceRequestEvent:W.a,USBConnectionEvent:W.a,IDBVersionChangeEvent:W.a,AudioProcessingEvent:W.a,OfflineAudioCompletionEvent:W.a,WebGLContextEvent:W.a,Event:W.a,InputEvent:W.a,MessagePort:W.G,WebSocket:W.G,Window:W.G,DOMWindow:W.G,EventTarget:W.G,XMLHttpRequest:W.a3,XMLHttpRequestEventTarget:W.aV,Location:W.b_,MessageEvent:W.b1,Node:W.b5,ProgressEvent:W.ax,ResourceProgressEvent:W.ax}) -hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,Blob:true,DOMError:true,File:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SQLError:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,Document:true,HTMLDocument:true,XMLDocument:true,DOMException:true,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CompositionEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FocusEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,KeyboardEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MouseEvent:true,DragEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PointerEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TextEvent:true,TouchEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,UIEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,WheelEvent:true,MojoInterfaceRequestEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,MessagePort:true,WebSocket:true,Window:true,DOMWindow:true,EventTarget:false,XMLHttpRequest:true,XMLHttpRequestEventTarget:false,Location:true,MessageEvent:true,Node:false,ProgressEvent:true,ResourceProgressEvent:true}) -H.b2.$nativeSuperclassTag="ArrayBufferView" -H.aD.$nativeSuperclassTag="ArrayBufferView" -H.aE.$nativeSuperclassTag="ArrayBufferView" -H.as.$nativeSuperclassTag="ArrayBufferView" -H.aF.$nativeSuperclassTag="ArrayBufferView" -H.aG.$nativeSuperclassTag="ArrayBufferView" -H.b3.$nativeSuperclassTag="ArrayBufferView"})() -Function.prototype.$0=function(){return this()} -Function.prototype.$2$0=function(){return this()} -Function.prototype.$1=function(a){return this(a)} -Function.prototype.$2=function(a,b){return this(a,b)} -Function.prototype.$3=function(a,b,c){return this(a,b,c)} -Function.prototype.$1$1=function(a){return this(a)} -Function.prototype.$4=function(a,b,c,d){return this(a,b,c,d)} -convertAllToFastObject(w) -convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) -return}if(typeof document.currentScript!='undefined'){a(document.currentScript) -return}var u=document.scripts -function onLoad(b){for(var s=0;s").b(a))return new H.bE(a,b.i("@<0>").R(c).i("bE<1,2>")) +a(hunkHelpers,v,w,$)}var A={ +fL:function(a){return A.c6(a,new A.dA(a))}, +fK:function(a){return A.c6(a,new A.dy(a))}, +j2:function(a){return A.c6(a,new A.dv(a))}, +j3:function(a){return A.c6(a,new A.dw(a))}, +j4:function(a){return A.c6(a,new A.dx(a))}, +f2:function(a){if(C.a.A(a,$.i5()))return P.H(a) +else if(C.a.A(a,$.i6()))return P.hn(a,!0) +else if(C.a.t(a,"/"))return P.hn(a,!1) +if(C.a.A(a,"\\"))return $.iF().bQ(a) +return P.H(a)}, +c6:function(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(H.ad(r) instanceof P.aL)return new N.X(P.B(null,"unparsed",null,null),a) +else throw r}}, +x:function x(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dA:function dA(a){this.a=a}, +dy:function dy(a){this.a=a}, +dz:function dz(a){this.a=a}, +dv:function dv(a){this.a=a}, +dw:function dw(a){this.a=a}, +dx:function dx(a){this.a=a}, +fO:function(a,b){return A.j7(a,b,b)}, +j7:function(a,b,c){return P.kr(function(){var s=a,r=b +var q=0,p=1,o,n,m,l +return function $async$fO(d,e){if(d===1){o=e +q=p}while(true)switch(q){case 0:n=new H.ah(s,s.gl(s)),m=H.l(n).c +case 2:if(!n.m()){q=3 +break}l=m.a(n.d) +q=l!=null?4:5 +break +case 4:q=6 +return l +case 6:case 5:q=2 +break +case 3:return P.jA() +case 1:return P.jB(o)}}},c)}},B={av:function av(){}, +hW:function(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +hX:function(a,b){var s=a.length,r=b+2 +if(s") +return P.ai(new H.i(a,new D.eM(),s),!0,s.i("F.E"))}, +kR:function(a){var s,r +if($.fm==null)throw H.a(P.dY("Source maps are not done loading.")) +s=Y.f8(a) +r=$.fm +r.toString +return O.kQ(r,s,$.iE()).h(0)}, +kT:function(a){$.fm=new D.ck(new T.co(P.dK(t.N,t.E)),a)}, +kO:function(){self.$dartStackTraceUtility={mapper:P.hO(D.kU()),setSourceMapProvider:P.hO(D.kV())}}, +eM:function eM(){}, +dt:function dt(){}, +ck:function ck(a,b){this.a=a +this.b=b}, +eV:function eV(){}, +eK:function(){var s,r,q,p,o=null +try{o=P.f9()}catch(s){if(t.M.b(H.ad(s))){r=$.eE +if(r!=null)return r +throw s}else throw s}if(J.J(o,$.hE)){r=$.eE +r.toString +return r}$.hE=o +if($.eW()==$.b1())r=$.eE=o.bf(".").h(0) +else{q=o.bg() +p=q.length-1 +r=$.eE=p===0?q:C.a.j(q,0,p)}return r}},E={cy:function cy(a,b,c){this.d=a +this.e=b +this.f=c}},F={cQ:function cQ(a,b,c,d){var _=this +_.d=a +_.e=b +_.f=c +_.r=d}},G={ +h3:function(a,b,c,d){var s=new G.bs(a,b,c) +s.bk(a,b,c) +return s}, +bs:function bs(a,b,c){this.a=a +this.b=b +this.c=c}},H={f4:function f4(){}, +fI:function(a,b,c){if(b.i("h<0>").b(a))return new H.bB(a,b.i("@<0>").R(c).i("bB<1,2>")) return new H.ar(a,b.i("@<0>").R(c).i("ar<1,2>"))}, -f4:function(a){return new H.bj("Field '"+a+"' has been assigned during initialization.")}, -aA:function(a){return new H.cy(a)}, -eG:function(a){var s,r=a^48 +cj:function(a){return new H.ci("Field '"+a+"' has been assigned during initialization.")}, +eN:function(a){var s,r=a^48 if(r<=9)return r s=a|32 if(97<=s&&s<=102)return s-87 return-1}, -aE:function(a,b,c,d){P.X(b,"start") -if(c!=null){P.X(c,"end") -if(b>c)H.o(P.r(b,0,c,"start",null))}return new H.aD(a,b,c,d.i("aD<0>"))}, -dG:function(a,b,c,d){if(t.Q.b(a))return new H.ba(a,b,c.i("@<0>").R(d).i("ba<1,2>")) -return new H.W(a,b,c.i("@<0>").R(d).i("W<1,2>"))}, -jp:function(a,b,c){var s="count" -if(t.Q.b(a)){P.d9(b,s) -P.X(b,s) -return new H.aL(a,b,c.i("aL<0>"))}P.d9(b,s) -P.X(b,s) -return new H.a8(a,b,c.i("a8<0>"))}, -j6:function(a,b,c){if(c.i("h<0>").b(b))return new H.b9(a,b,c.i("b9<0>")) -return new H.av(a,b,c.i("av<0>"))}, -cc:function(){return new P.aC("No element")}, -jb:function(){return new P.aC("Too few elements")}, -aj:function aj(){}, -c0:function c0(a,b){this.a=a +aP:function(a,b,c,d){P.Q(b,"start") +if(c!=null){P.Q(c,"end") +if(b>c)H.q(P.t(b,0,c,"start",null))}return new H.aC(a,b,c,d.i("aC<0>"))}, +cn:function(a,b,c,d){if(t.X.b(a))return new H.b8(a,b,c.i("@<0>").R(d).i("b8<1,2>")) +return new H.L(a,b,c.i("@<0>").R(d).i("L<1,2>"))}, +jn:function(a,b,c){P.Q(b,"takeCount") +if(t.X.b(a))return new H.b9(a,b,c.i("b9<0>")) +return new H.aD(a,b,c.i("aD<0>"))}, +jk:function(a,b,c){if(t.X.b(a)){P.Q(b,"count") +return new H.aK(a,b,c.i("aK<0>"))}P.Q(b,"count") +return new H.a7(a,b,c.i("a7<0>"))}, +c9:function(){return new P.aB("No element")}, +j6:function(){return new P.aB("Too few elements")}, +am:function am(){}, +bZ:function bZ(a,b){this.a=a this.$ti=b}, ar:function ar(a,b){this.a=a this.$ti=b}, -bE:function bE(a,b){this.a=a +bB:function bB(a,b){this.a=a this.$ti=b}, -bD:function bD(){}, +bA:function bA(){}, a1:function a1(a,b){this.a=a this.$ti=b}, -bj:function bj(a){this.a=a}, -cy:function cy(a){this.a=a}, -aK:function aK(a){this.a=a}, +ci:function ci(a){this.a=a}, +aJ:function aJ(a){this.a=a}, h:function h(){}, -A:function A(){}, -aD:function aD(a,b,c,d){var _=this +F:function F(){}, +aC:function aC(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -aw:function aw(a,b){var _=this +ah:function ah(a,b){var _=this _.a=a _.b=b _.c=0 _.d=null}, -W:function W(a,b,c){this.a=a +L:function L(a,b,c){this.a=a this.b=b this.$ti=c}, -ba:function ba(a,b,c){this.a=a +b8:function b8(a,b,c){this.a=a this.b=b this.$ti=c}, -bo:function bo(a,b){this.a=null +bj:function bj(a,b){this.a=null this.b=a this.c=b}, i:function i(a,b,c){this.a=a this.b=b this.$ti=c}, -M:function M(a,b,c){this.a=a +E:function E(a,b,c){this.a=a this.b=b this.$ti=c}, -bC:function bC(a,b){this.a=a +by:function by(a,b){this.a=a this.b=b}, -bd:function bd(a,b,c){this.a=a +bc:function bc(a,b,c){this.a=a this.b=b this.$ti=c}, -c6:function c6(a,b,c){var _=this +c4:function c4(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -a8:function a8(a,b,c){this.a=a +aD:function aD(a,b,c){this.a=a this.b=b this.$ti=c}, -aL:function aL(a,b,c){this.a=a +b9:function b9(a,b,c){this.a=a this.b=b this.$ti=c}, -cA:function cA(a,b){this.a=a +cJ:function cJ(a,b){this.a=a this.b=b}, -bv:function bv(a,b,c){this.a=a +a7:function a7(a,b,c){this.a=a this.b=b this.$ti=c}, -cB:function cB(a,b){this.a=a -this.b=b -this.c=!1}, -bb:function bb(a){this.$ti=a}, -c4:function c4(){}, -av:function av(a,b,c){this.a=a +aK:function aK(a,b,c){this.a=a this.b=b this.$ti=c}, -b9:function b9(a,b,c){this.a=a +cB:function cB(a,b){this.a=a +this.b=b}, +br:function br(a,b,c){this.a=a this.b=b this.$ti=c}, -c8:function c8(a,b){this.a=a -this.b=b}, -c7:function c7(){}, -cL:function cL(){}, -aV:function aV(){}, -aB:function aB(a,b){this.a=a +cC:function cC(a,b){this.a=a +this.b=b +this.c=!1}, +ba:function ba(a){this.$ti=a}, +c2:function c2(){}, +bz:function bz(a,b){this.a=a +this.$ti=b}, +cU:function cU(a,b){this.a=a this.$ti=b}, -aS:function aS(a){this.a=a}, -bO:function bO(){}, -j4:function(){throw H.a(P.q("Cannot modify unmodifiable Map"))}, -i6:function(a){var s,r=H.i5(a) +c5:function c5(){}, +cN:function cN(){}, +aT:function aT(){}, +aA:function aA(a,b){this.a=a +this.$ti=b}, +aQ:function aQ(a){this.a=a}, +bN:function bN(){}, +j0:function(){throw H.a(P.r("Cannot modify unmodifiable Map"))}, +i4:function(a){var s,r=v.mangledGlobalNames[a] if(r!=null)return r s="minified:"+a return s}, hY:function(a,b){var s if(b!=null){s=b.x -if(s!=null)return s}return t.I.b(a)}, -b:function(a){var s +if(s!=null)return s}return t.D.b(a)}, +d:function(a){var s if(typeof a=="string")return a if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" else if(!1===a)return"false" else if(a==null)return"null" -s=J.aq(a) -if(typeof s!="string")throw H.a(H.O(a)) +s=J.bT(a) return s}, -bt:function(a){var s=a.$identityHash +bp:function(a){var s=a.$identityHash if(s==null){s=Math.random()*0x3fffffff|0 a.$identityHash=s}return s}, -h0:function(a,b){var s,r,q,p,o,n,m=null -if(typeof a!="string")H.o(H.O(a)) -s=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) -if(s==null)return m -r=s[3] -if(b==null){if(r!=null)return parseInt(a,10) -if(s[2]!=null)return parseInt(a,16) -return m}if(b<2||b>36)throw H.a(P.r(b,2,36,"radix",m)) -if(b===10&&r!=null)return parseInt(a,10) -if(b<10||r==null){q=b<=10?47+b:86+b -p=s[1] -for(o=p.length,n=0;nq)return m}return parseInt(a,b)}, -dM:function(a){return H.jh(a)}, -jh:function(a){var s,r,q -if(a instanceof P.t)return H.P(H.a_(a),null) -if(J.ao(a)===C.P||t.o.b(a)){s=C.t(a) -if(H.h_(s))return s -r=a.constructor -if(typeof r=="function"){q=r.name -if(typeof q=="string"&&H.h_(q))return q}}return H.P(H.a_(a),null)}, -h_:function(a){var s=a!=="Object"&&a!=="" -return s}, -jj:function(){if(!!self.location)return self.location.href +fY:function(a,b){var s,r,q,p,o,n=null,m=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(m==null)return n +s=m[3] +if(b==null){if(s!=null)return parseInt(a,10) +if(m[2]!=null)return parseInt(a,16) +return n}if(b<2||b>36)throw H.a(P.t(b,2,36,"radix",n)) +if(b===10&&s!=null)return parseInt(a,10) +if(b<10||s==null){r=b<=10?47+b:86+b +q=m[1] +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dS:function(a){return H.jd(a)}, +jd:function(a){var s,r,q,p +if(a instanceof P.v)return H.M(H.T(a),null) +if(J.ab(a)===C.P||t.q.b(a)){s=C.r(a) +r=s!=="Object"&&s!=="" +if(r)return s +q=a.constructor +if(typeof q=="function"){p=q.name +if(typeof p=="string")r=p!=="Object"&&p!=="" +else r=!1 +if(r)return p}}return H.M(H.T(a),null)}, +jf:function(){if(!!self.location)return self.location.href return null}, -fZ:function(a){var s,r,q,p,o=a.length +fX:function(a){var s,r,q,p,o=a.length if(o<=500)return String.fromCharCode.apply(null,a) for(s="",r=0;r65535)return H.jk(a)}return H.fZ(a)}, -jl:function(a,b,c){var s,r,q,p +if(!H.eG(q))throw H.a(H.d8(q)) +if(q<0)throw H.a(H.d8(q)) +if(q>65535)return H.jg(a)}return H.fX(a)}, +jh:function(a,b,c){var s,r,q,p if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) for(s=b,r="";s>>0,s&1023|56320)}}throw H.a(P.r(a,0,1114111,null,null))}, -ah:function(a,b,c){var s,r,q={} +return String.fromCharCode((C.c.a6(s,10)|55296)>>>0,s&1023|56320)}}throw H.a(P.t(a,0,1114111,null,null))}, +ak:function(a,b,c){var s,r,q={} q.a=0 s=[] r=[] q.a=b.length -C.b.b5(s,b) +C.b.aA(s,b) q.b="" -if(c!=null&&c.a!==0)c.S(0,new H.dL(q,r,s)) +if(c!=null&&c.a!==0)c.T(0,new H.dR(q,r,s)) ""+q.a -return J.iQ(a,new H.dz(C.a_,0,s,r,0))}, -ji:function(a,b,c){var s,r,q,p -if(b instanceof Array)s=c==null||c.a===0 +return J.iO(a,new H.dF(C.a_,0,s,r,0))}, +je:function(a,b,c){var s,r,q +if(Array.isArray(b))s=c==null||c.a===0 else s=!1 -if(s){r=b -q=r.length -if(q===0){if(!!a.$0)return a.$0()}else if(q===1){if(!!a.$1)return a.$1(r[0])}else if(q===2){if(!!a.$2)return a.$2(r[0],r[1])}else if(q===3){if(!!a.$3)return a.$3(r[0],r[1],r[2])}else if(q===4){if(!!a.$4)return a.$4(r[0],r[1],r[2],r[3])}else if(q===5)if(!!a.$5)return a.$5(r[0],r[1],r[2],r[3],r[4]) -p=a[""+"$"+q] -if(p!=null)return p.apply(a,r)}return H.jg(a,b,c)}, -jg:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g -if(b!=null)s=b instanceof Array?b:P.cm(b,!0,t.z) -else s=[] -r=s.length -q=a.$R -if(rq+n.length)return H.ah(a,s,null) -C.b.b5(s,n.slice(r-q)) -return l.apply(a,s)}else{if(r>q)return H.ah(a,s,c) -k=Object.keys(n) -if(c==null)for(o=k.length,j=0;j=s)return P.f0(b,a,r,null,s) -return P.aR(b,r)}, -kz:function(a,b,c){if(a>c)return P.r(a,0,c,"start",null) -if(b!=null)if(bc)return P.r(b,a,c,"end",null) -return new P.V(!0,b,"end",null)}, -O:function(a){return new P.V(!0,a,null,null)}, -hR:function(a){if(typeof a!="number")throw H.a(H.O(a)) -return a}, +if(s){r=b.length +if(r===0){if(!!a.$0)return a.$0()}else if(r===1){if(!!a.$1)return a.$1(b[0])}else if(r===2){if(!!a.$2)return a.$2(b[0],b[1])}else if(r===3){if(!!a.$3)return a.$3(b[0],b[1],b[2])}else if(r===4){if(!!a.$4)return a.$4(b[0],b[1],b[2],b[3])}else if(r===5)if(!!a.$5)return a.$5(b[0],b[1],b[2],b[3],b[4]) +q=a[""+"$"+r] +if(q!=null)return q.apply(a,b)}return H.jc(a,b,c)}, +jc:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g=Array.isArray(b)?b:P.ai(b,!0,t.z),f=g.length,e=a.$R +if(fn)return H.ak(a,g,null) +if(fe)return H.ak(a,g,c) +if(g===b)g=P.ai(g,!0,t.z) +l=Object.keys(q) +if(c==null)for(r=l.length,k=0;k=s)return P.dB(b,a,r,null,s) +return P.aO(b,r)}, +kD:function(a,b,c){if(a>c)return P.t(a,0,c,"start",null) +if(b!=null)if(bc)return P.t(b,a,c,"end",null) +return new P.U(!0,b,"end",null)}, +d8:function(a){return new P.U(!0,a,null,null)}, +hR:function(a){return a}, a:function(a){var s,r if(a==null)a=new P.cu() s=new Error() s.dartException=a -r=H.kZ +r=H.l2 if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) s.name=""}else s.toString=r return s}, -kZ:function(){return J.aq(this.dartException)}, -o:function(a){throw H.a(a)}, -aI:function(a){throw H.a(P.a3(a))}, -a9:function(a){var s,r,q,p,o,n -a=H.i4(a.replace(String({}),'$receiver$')) +l2:function(){return J.bT(this.dartException)}, +q:function(a){throw H.a(a)}, +aI:function(a){throw H.a(P.Y(a))}, +a8:function(a){var s,r,q,p,o,n +a=H.i3(a.replace(String({}),"$receiver$")) s=a.match(/\\\$[a-zA-Z]+\\\$/g) -if(s==null)s=H.c([],t.s) +if(s==null)s=H.b([],t.s) r=s.indexOf("\\$arguments\\$") q=s.indexOf("\\$argumentsExpr\\$") p=s.indexOf("\\$expr\\$") o=s.indexOf("\\$method\\$") n=s.indexOf("\\$receiver\\$") -return new H.e8(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),r,q,p,o,n)}, -e9:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +return new H.ef(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +eg:function(a){return function($expr$){var $argumentsExpr$="$arguments$" try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, -ha:function(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, -fX:function(a,b){return new H.ct(a,b==null?null:b.method)}, -f3:function(a,b){var s=b==null,r=s?null:b.method -return new H.ce(a,r,s?null:b.receiver)}, -ap:function(a){if(a==null)return new H.cv(a) +h8:function(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +f5:function(a,b){var s=b==null,r=s?null:b.method +return new H.cd(a,r,s?null:b.receiver)}, +ad:function(a){if(a==null)return new H.cv(a) if(typeof a!=="object")return a if("dartException" in a)return H.aH(a,a.dartException) -return H.kv(a)}, -aH:function(a,b){if(t.Y.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return H.kz(a)}, +aH:function(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a return b}, -kv:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +kz:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null if(!("message" in a))return a s=a.message if("number" in a&&typeof a.number=="number"){r=a.number q=r&65535 -if((C.c.aa(r,16)&8191)===10)switch(q){case 438:return H.aH(a,H.f3(H.b(s)+" (Error "+q+")",e)) -case 445:case 5007:return H.aH(a,H.fX(H.b(s)+" (Error "+q+")",e))}}if(a instanceof TypeError){p=$.ia() -o=$.ib() -n=$.ic() -m=$.id() -l=$.ih() -k=$.ii() +if((C.c.a6(r,16)&8191)===10)switch(q){case 438:return H.aH(a,H.f5(H.d(s)+" (Error "+q+")",e)) +case 445:case 5007:p=H.d(s)+" (Error "+q+")" +return H.aH(a,new H.bn(p,e))}}if(a instanceof TypeError){o=$.i8() +n=$.i9() +m=$.ia() +l=$.ib() +k=$.ie() j=$.ig() -$.ie() -i=$.ik() -h=$.ij() -g=p.W(s) -if(g!=null)return H.aH(a,H.f3(s,g)) -else{g=o.W(s) -if(g!=null){g.method="call" -return H.aH(a,H.f3(s,g))}else{g=n.W(s) -if(g==null){g=m.W(s) -if(g==null){g=l.W(s) -if(g==null){g=k.W(s) -if(g==null){g=j.W(s) -if(g==null){g=m.W(s) -if(g==null){g=i.W(s) -if(g==null){g=h.W(s) -f=g!=null}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0 -if(f)return H.aH(a,H.fX(s,g))}}return H.aH(a,new H.cK(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new P.bx() +i=$.id() +$.ic() +h=$.ii() +g=$.ih() +f=o.W(s) +if(f!=null)return H.aH(a,H.f5(s,f)) +else{f=n.W(s) +if(f!=null){f.method="call" +return H.aH(a,H.f5(s,f))}else{f=m.W(s) +if(f==null){f=l.W(s) +if(f==null){f=k.W(s) +if(f==null){f=j.W(s) +if(f==null){f=i.W(s) +if(f==null){f=l.W(s) +if(f==null){f=h.W(s) +if(f==null){f=g.W(s) +p=f!=null}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0 +if(p)return H.aH(a,new H.bn(s,f==null?e:f.method))}}return H.aH(a,new H.cM(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new P.bt() s=function(b){try{return String(b)}catch(d){}return null}(a) -return H.aH(a,new P.V(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new P.bx() +return H.aH(a,new P.U(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new P.bt() return a}, -kB:function(a,b){var s,r,q,p=a.length +kF:function(a,b){var s,r,q,p=a.length for(s=0;s=27 -if(o)return H.j0(r,!p,s,b) -if(r===0){p=$.a2 -$.a2=p+1 -n="self"+H.b(p) -return new Function("return function(){var "+n+" = this."+H.b(H.eY())+";return "+n+"."+H.b(s)+"();}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r).join(",") -p=$.a2 -$.a2=p+1 -m+=H.b(p) -return new Function("return function("+m+"){return this."+H.b(H.eY())+"."+H.b(s)+"("+m+");}")()}, -j1:function(a,b,c,d){var s=H.fH,r=H.iY -switch(b?-1:a){case 0:throw H.a(new H.cz("Intercepted function with no arguments.")) +fJ:function(a,b,c,d){var s,r,q,p,o +if(c)return H.iZ(a,b,d) +s=b.length +r=d||s>=27 +if(r)return H.iX(s,d,a,b) +if(s===0){r=$.a2 +$.a2=r+1 +q="self"+H.d(r) +r="return function(){var "+q+" = this." +p=$.b4 +return new Function(r+(p==null?$.b4=H.df("self"):p)+";return "+q+"."+a+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s).join(",") +r=$.a2 +$.a2=r+1 +o+=H.d(r) +r="return function("+o+"){return this." +p=$.b4 +return new Function(r+(p==null?$.b4=H.df("self"):p)+"."+a+"("+o+");}")()}, +iY:function(a,b,c,d){var s=H.fH,r=H.iU +switch(b?-1:a){case 0:throw H.a(new H.cA("Intercepted function with no arguments.")) case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,s,r) case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,s,r) case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,s,r) @@ -426,82 +512,78 @@ case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(thi default:return function(e,f,g,h){return function(){h=[g(this)] Array.prototype.push.apply(h,arguments) return e.apply(f(this),h)}}(d,s,r)}}, -j2:function(a,b){var s,r,q,p,o,n,m=H.eY(),l=$.fF -if(l==null)l=$.fF=H.fE("receiver") -s=b.$stubName +iZ:function(a,b,c){var s,r,q,p,o,n=$.b4 +if(n==null)n=$.b4=H.df("self") +s=$.fG +if(s==null)s=$.fG=H.df("receiver") r=b.length -q=a[s] -p=b==null?q==null:b===q -o=!p||r>=28 -if(o)return H.j1(r,!p,s,b) -if(r===1){p="return function(){return this."+H.b(m)+"."+H.b(s)+"(this."+l+");" -o=$.a2 -$.a2=o+1 -return new Function(p+H.b(o)+"}")()}n="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r-1).join(",") -p="return function("+n+"){return this."+H.b(m)+"."+H.b(s)+"(this."+l+", "+n+");" -o=$.a2 -$.a2=o+1 -return new Function(p+H.b(o)+"}")()}, -fp:function(a,b,c,d,e,f,g){return H.j3(a,b,c,d,!!e,!!f,g)}, -iW:function(a,b){return H.d1(v.typeUniverse,H.a_(a.a),b)}, -iX:function(a,b){return H.d1(v.typeUniverse,H.a_(a.c),b)}, +q=c||r>=28 +if(q)return H.iY(r,c,a,b) +if(r===1){q="return function(){return this."+n+"."+a+"(this."+s+");" +p=$.a2 +$.a2=p+1 +return new Function(q+H.d(p)+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r-1).join(",") +q="return function("+o+"){return this."+n+"."+a+"(this."+s+", "+o+");" +p=$.a2 +$.a2=p+1 +return new Function(q+H.d(p)+"}")()}, +fo:function(a){return H.j_(a)}, +iS:function(a,b){return H.d6(v.typeUniverse,H.T(a.a),b)}, +iT:function(a,b){return H.d6(v.typeUniverse,H.T(a.b),b)}, fH:function(a){return a.a}, -iY:function(a){return a.c}, -eY:function(){var s=$.fG -return s==null?$.fG=H.fE("self"):s}, -fE:function(a){var s,r,q,p=new H.b5("self","target","receiver","name"),o=J.dw(Object.getOwnPropertyNames(p)) +iU:function(a){return a.b}, +df:function(a){var s,r,q,p=new H.b3("self","receiver"),o=J.dD(Object.getOwnPropertyNames(p)) for(s=o.length,r=0;r=0 -else if(b instanceof H.aN){s=C.a.w(a,c) -r=b.b -return r.test(s)}else{s=J.iJ(b,C.a.w(a,c)) -return!s.gE(s)}}, -fr:function(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +else if(b instanceof H.ax){s=C.a.w(a,c) +return b.b.test(s)}else{s=J.fB(b,C.a.w(a,c)) +return!s.gG(s)}}, +fq:function(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") return a}, -kV:function(a,b,c,d){var s=b.bt(a,d) +kZ:function(a,b,c,d){var s=b.bm(a,d) if(s==null)return a -return H.fv(a,s.b.index,s.gU(),c)}, -i4:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return H.fv(a,s.b.index,s.gS(),c)}, +i3:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") return a}, -R:function(a,b,c){var s -if(typeof b=="string")return H.kU(a,b,c) -if(b instanceof H.aN){s=b.gbx() +O:function(a,b,c){var s +if(typeof b=="string")return H.kY(a,b,c) +if(b instanceof H.ax){s=b.gbt() s.lastIndex=0 -return a.replace(s,H.fr(c))}if(b==null)H.o(H.O(b)) -throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, -kU:function(a,b,c){var s,r,q,p +return a.replace(s,H.fq(c))}throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, +kY:function(a,b,c){var s,r,q,p if(b===""){if(a==="")return c s=a.length -for(r=c,q=0;q=0)return a.split(b).join(c) -return a.replace(new RegExp(H.i4(b),'g'),H.fr(c))}, +return a.replace(new RegExp(H.i3(b),"g"),H.fq(c))}, hM:function(a){return a}, -kT:function(a,b,c,d){var s,r,q,p,o,n -for(s=b.aB(0,a),s=new H.cS(s.a,s.b,s.c),r=0,q="";s.m();){p=s.d -o=p.b -n=o.index -q=q+H.b(H.hM(C.a.j(a,r,n)))+H.b(c.$1(p)) -r=n+o[0].length}s=q+H.b(H.hM(C.a.w(a,r))) +kX:function(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.aB(0,a),s=new H.cX(s.a,s.b,s.c),r=t.d,q=0,p="";s.m();){o=r.a(s.d) +n=o.b +m=n.index +p=p+H.d(H.hM(C.a.j(a,q,m)))+H.d(c.$1(o)) +q=m+n[0].length}s=p+H.d(H.hM(C.a.w(a,q))) return s.charCodeAt(0)==0?s:s}, -kW:function(a,b,c,d){var s,r,q,p +l_:function(a,b,c,d){var s,r,q,p if(typeof b=="string"){s=a.indexOf(b,d) if(s<0)return a -return H.fv(a,s,s+b.length,c)}if(b instanceof H.aN)return d===0?a.replace(b.b,H.fr(c)):H.kV(a,b,c,d) -if(b==null)H.o(H.O(b)) -r=J.iK(b,a,d) +return H.fv(a,s,s+b.length,c)}if(b instanceof H.ax)return d===0?a.replace(b.b,H.fq(c)):H.kZ(a,b,c,d) +r=J.iH(b,a,d) q=r.gu(r) if(!q.m())return a -p=q.gq() -return C.a.X(a,p.gM(),p.gU(),c)}, +p=q.gp() +return C.a.X(a,p.gM(),p.gS(),c)}, fv:function(a,b,c,d){var s=a.substring(0,b),r=a.substring(c) return s+d+r}, -b7:function b7(a,b){this.a=a +b6:function b6(a,b){this.a=a this.$ti=b}, -b6:function b6(){}, -b8:function b8(a,b,c,d){var _=this +b5:function b5(){}, +b7:function b7(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -du:function du(){}, -cb:function cb(a,b){this.a=a +dC:function dC(){}, +c8:function c8(a,b){this.a=a this.$ti=b}, -dz:function dz(a,b,c,d,e){var _=this +dF:function dF(a,b,c,d,e){var _=this _.a=a _.c=b _.d=c _.e=d _.f=e}, -dL:function dL(a,b,c){this.a=a +dR:function dR(a,b,c){this.a=a this.b=b this.c=c}, -e8:function e8(a,b,c,d,e,f){var _=this +ef:function ef(a,b,c,d,e,f){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e _.f=f}, -ct:function ct(a,b){this.a=a +bn:function bn(a,b){this.a=a this.b=b}, -ce:function ce(a,b,c){this.a=a +cd:function cd(a,b,c){this.a=a this.b=b this.c=c}, -cK:function cK(a){this.a=a}, +cM:function cM(a){this.a=a}, cv:function cv(a){this.a=a}, at:function at(){}, -dW:function dW(){}, -dU:function dU(){}, -b5:function b5(a,b,c,d){var _=this -_.a=a -_.b=b -_.c=c -_.d=d}, -cz:function cz(a){this.a=a}, -em:function em(){}, -a5:function a5(a){var _=this +dp:function dp(){}, +dq:function dq(){}, +e0:function e0(){}, +dZ:function dZ(){}, +b3:function b3(a,b){this.a=a +this.b=b}, +cA:function cA(a){this.a=a}, +et:function et(){}, +a3:function a3(a){var _=this _.a=0 _.f=_.e=_.d=_.c=_.b=null _.r=0 _.$ti=a}, -dB:function dB(a){this.a=a}, -dC:function dC(a,b){this.a=a +dI:function dI(a){this.a=a}, +dJ:function dJ(a,b){this.a=a this.b=b this.c=null}, -a6:function a6(a,b){this.a=a +a4:function a4(a,b){this.a=a this.$ti=b}, -cl:function cl(a,b){var _=this +cm:function cm(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, -eH:function eH(a){this.a=a}, -eI:function eI(a){this.a=a}, -eJ:function eJ(a){this.a=a}, -aN:function aN(a,b){var _=this +eO:function eO(a){this.a=a}, +eP:function eP(a){this.a=a}, +eQ:function eQ(a){this.a=a}, +ax:function ax(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, -aW:function aW(a){this.b=a}, -cR:function cR(a,b,c){this.a=a +aV:function aV(a){this.b=a}, +cW:function cW(a,b,c){this.a=a this.b=b this.c=c}, -cS:function cS(a,b,c){var _=this +cX:function cX(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -by:function by(a,b){this.a=a +bu:function bu(a,b){this.a=a this.c=b}, -cY:function cY(a,b,c){this.a=a +d2:function d2(a,b,c){this.a=a this.b=b this.c=c}, -en:function en(a,b,c){var _=this +eu:function eu(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -hG:function(a){return a}, -es:function(a,b,c){if(a>>>0!==a||a>=c)throw H.a(H.an(b,a))}, -k7:function(a,b,c){var s +hF:function(a){return a}, +ez:function(a,b,c){if(a>>>0!==a||a>=c)throw H.a(H.aF(b,a))}, +k8:function(a,b,c){var s if(!(a>>>0!==a))if(b==null)s=a>c else s=b>>>0!==b||a>b||b>c else s=!0 -if(s)throw H.a(H.kz(a,b,c)) +if(s)throw H.a(H.kD(a,b,c)) if(b==null)return c return b}, -cq:function cq(){}, -aP:function aP(){}, -bq:function bq(){}, -cp:function cp(){}, cr:function cr(){}, +aN:function aN(){}, +bl:function bl(){}, +cq:function cq(){}, +cs:function cs(){}, ay:function ay(){}, -bG:function bG(){}, -bH:function bH(){}, -jn:function(a,b){var s=b.c +bD:function bD(){}, +bE:function bE(){}, +h1:function(a,b){var s=b.c return s==null?b.c=H.fd(a,b.z,!0):s}, -h3:function(a,b){var s=b.c -return s==null?b.c=H.bJ(a,"fM",[b.z]):s}, -h4:function(a){var s=a.y -if(s===6||s===7||s===8)return H.h4(a.z) +h0:function(a,b){var s=b.c +return s==null?b.c=H.bI(a,"fM",[b.z]):s}, +h2:function(a){var s=a.y +if(s===6||s===7||s===8)return H.h2(a.z) return s===11||s===12}, -jm:function(a){return a.cy}, -d6:function(a){return H.eo(v.typeUniverse,a,!1)}, -kI:function(a,b){var s,r,q,p,o +ji:function(a){return a.cy}, +db:function(a){return H.ev(v.typeUniverse,a,!1)}, +kL:function(a,b){var s,r,q,p,o if(a==null)return null s=b.Q r=a.cx @@ -699,7 +778,7 @@ switch(c){case 5:case 1:case 2:case 3:case 4:return b case 6:s=b.z r=H.aa(a,s,a0,a1) if(r===s)return b -return H.hn(a,r,!0) +return H.hl(a,r,!0) case 7:s=b.z r=H.aa(a,s,a0,a1) if(r===s)return b @@ -707,26 +786,26 @@ return H.fd(a,r,!0) case 8:s=b.z r=H.aa(a,s,a0,a1) if(r===s)return b -return H.hm(a,r,!0) +return H.hk(a,r,!0) case 9:q=b.Q -p=H.bQ(a,q,a0,a1) +p=H.bO(a,q,a0,a1) if(p===q)return b -return H.bJ(a,b.z,p) +return H.bI(a,b.z,p) case 10:o=b.z n=H.aa(a,o,a0,a1) m=b.Q -l=H.bQ(a,m,a0,a1) +l=H.bO(a,m,a0,a1) if(n===o&&l===m)return b return H.fb(a,n,l) case 11:k=b.z j=H.aa(a,k,a0,a1) i=b.Q -h=H.kr(a,i,a0,a1) +h=H.kv(a,i,a0,a1) if(j===k&&h===i)return b -return H.hl(a,j,h) +return H.hj(a,j,h) case 12:g=b.Q a1+=g.length -f=H.bQ(a,g,a0,a1) +f=H.bO(a,g,a0,a1) o=b.z n=H.aa(a,o,a0,a1) if(f===g&&n===o)return b @@ -736,13 +815,13 @@ if(e0;--p)a5.push("T"+(q+p)) -for(o=t.R,n=t._,m=t.K,l="<",k="",p=0;p0){a1+=a2+"[" -for(a2="",p=0;p0){a1+=a2+"{" -for(a2="",p=0;p "+H.b(a0)}, -P:function(a,b){var s,r,q,p,o,n,m=a.y +hH:function(a3,a4,a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2=", " +if(a5!=null){s=a5.length +if(a4==null){a4=H.b([],t.s) +r=null}else r=a4.length +q=a4.length +for(p=s;p>0;--p)a4.push("T"+(q+p)) +for(o=t.O,n=t._,m="<",l="",p=0;p0){a0+=a1+"[" +for(a1="",p=0;p0){a0+=a1+"{" +for(a1="",p=0;p "+a}, +M:function(a,b){var s,r,q,p,o,n,m=a.y if(m===5)return"erased" if(m===2)return"dynamic" if(m===3)return"void" if(m===1)return"Never" if(m===4)return"any" -if(m===6){s=H.P(a.z,b) +if(m===6){s=H.M(a.z,b) return s}if(m===7){r=a.z -s=H.P(r,b) +s=H.M(r,b) q=r.y -return J.eT(q===11||q===12?C.a.a1("(",s)+")":s,"?")}if(m===8)return"FutureOr<"+H.b(H.P(a.z,b))+">" -if(m===9){p=H.ku(a.z) +return(q===11||q===12?"("+s+")":s)+"?"}if(m===8)return"FutureOr<"+H.M(a.z,b)+">" +if(m===9){p=H.ky(a.z) o=a.Q -return o.length!==0?p+("<"+H.kq(o,b)+">"):p}if(m===11)return H.hI(a,b,null) -if(m===12)return H.hI(a.z,b,a.Q) -if(m===13){b.toString -n=a.z +return o.length!==0?p+("<"+H.ku(o,b)+">"):p}if(m===11)return H.hH(a,b,null) +if(m===12)return H.hH(a.z,b,a.Q) +if(m===13){n=a.z return b[b.length-1-n]}return"?"}, -ku:function(a){var s,r=H.i5(a) +ky:function(a){var s,r=v.mangledGlobalNames[a] if(r!=null)return r s="minified:"+a return s}, -ho:function(a,b){var s=a.tR[b] +hm:function(a,b){var s=a.tR[b] for(;typeof s=="string";)s=a.tR[s] return s}, -jT:function(a,b){var s,r,q,p,o,n=a.eT,m=n[b] -if(m==null)return H.eo(a,b,!1) +jS:function(a,b){var s,r,q,p,o,n=a.eT,m=n[b] +if(m==null)return H.ev(a,b,!1) else if(typeof m=="number"){s=m -r=H.bK(a,5,"#") +r=H.bJ(a,5,"#") q=[] for(p=0;p" +bI:function(a,b,c){var s,r,q,p=b +if(c.length!==0)p+="<"+H.d5(c)+">" s=a.eC.get(p) if(s!=null)return s -r=new H.Y(null,null) +r=new H.W(null,null) r.y=9 r.z=b r.Q=c if(c.length>0)r.c=c[0] r.cy=p -q=H.al(a,r) +q=H.ap(a,r) a.eC.set(p,q) return q}, fb:function(a,b,c){var s,r,q,p,o,n if(b.y===10){s=b.z r=b.Q.concat(c)}else{r=c -s=b}q=s.cy+(";<"+H.d0(r)+">") +s=b}q=s.cy+(";<"+H.d5(r)+">") p=a.eC.get(q) if(p!=null)return p -o=new H.Y(null,null) +o=new H.W(null,null) o.y=10 o.z=s o.Q=r o.cy=q -n=H.al(a,o) +n=H.ap(a,o) a.eC.set(q,n) return n}, -hl:function(a,b,c){var s,r,q,p,o,n=b.cy,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+H.d0(m) +hj:function(a,b,c){var s,r,q,p,o,n=b.cy,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+H.d5(m) if(j>0){s=l>0?",":"" -r=H.d0(k) +r=H.d5(k) g+=s+"["+r+"]"}if(h>0){s=l>0?",":"" -r=H.jK(i) +r=H.jJ(i) g+=s+"{"+r+"}"}q=n+(g+")") p=a.eC.get(q) if(p!=null)return p -o=new H.Y(null,null) +o=new H.W(null,null) o.y=11 o.z=b o.Q=c o.cy=q -r=H.al(a,o) +r=H.ap(a,o) a.eC.set(q,r) return r}, -fc:function(a,b,c,d){var s,r=b.cy+("<"+H.d0(c)+">"),q=a.eC.get(r) +fc:function(a,b,c,d){var s,r=b.cy+("<"+H.d5(c)+">"),q=a.eC.get(r) if(q!=null)return q -s=H.jM(a,b,c,r,d) +s=H.jL(a,b,c,r,d) a.eC.set(r,s) return s}, -jM:function(a,b,c,d,e){var s,r,q,p,o,n,m,l +jL:function(a,b,c,d,e){var s,r,q,p,o,n,m,l if(e){s=c.length r=new Array(s) for(q=0,p=0;p0){n=H.aa(a,b,r,0) -m=H.bQ(a,c,r,0) -return H.fc(a,n,m,c!==m)}}l=new H.Y(null,null) +m=H.bO(a,c,r,0) +return H.fc(a,n,m,c!==m)}}l=new H.W(null,null) l.y=12 l.z=b l.Q=c l.cy=d -return H.al(a,l)}, -hi:function(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, -hk:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g=a.r,f=a.s -for(s=g.length,r=0;r=48&&q<=57)r=H.jF(r+1,q,g,f) -else if((((q|32)>>>0)-97&65535)<26||q===95||q===36)r=H.hj(a,r,g,f,!1) -else if(q===46)r=H.hj(a,r,g,f,!0) +return H.ap(a,l)}, +hf:function(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hh:function(a){var s,r,q,p,o,n,m,l,k,j,i,h=a.r,g=a.s +for(s=h.length,r=0;r=48&&q<=57)r=H.jE(r+1,q,h,g) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36)r=H.hg(a,r,h,g,!1) +else if(q===46)r=H.hg(a,r,h,g,!0) else{++r switch(q){case 44:break -case 58:f.push(!1) +case 58:g.push(!1) break -case 33:f.push(!0) +case 33:g.push(!0) break -case 59:f.push(H.ak(a.u,a.e,f.pop())) +case 59:g.push(H.an(a.u,a.e,g.pop())) break -case 94:f.push(H.jP(a.u,f.pop())) +case 94:g.push(H.jO(a.u,g.pop())) break -case 35:f.push(H.bK(a.u,5,"#")) +case 35:g.push(H.bJ(a.u,5,"#")) break -case 64:f.push(H.bK(a.u,2,"@")) +case 64:g.push(H.bJ(a.u,2,"@")) break -case 126:f.push(H.bK(a.u,3,"~")) +case 126:g.push(H.bJ(a.u,3,"~")) break -case 60:f.push(a.p) -a.p=f.length +case 60:g.push(a.p) +a.p=g.length break case 62:p=a.u -o=f.splice(a.p) +o=g.splice(a.p) H.fa(a.u,a.e,o) -a.p=f.pop() -n=f.pop() -if(typeof n=="string")f.push(H.bJ(p,n,o)) -else{m=H.ak(p,a.e,n) -switch(m.y){case 11:f.push(H.fc(p,m,o,a.n)) +a.p=g.pop() +n=g.pop() +if(typeof n=="string")g.push(H.bI(p,n,o)) +else{m=H.an(p,a.e,n) +switch(m.y){case 11:g.push(H.fc(p,m,o,a.n)) break -default:f.push(H.fb(p,m,o)) +default:g.push(H.fb(p,m,o)) break}}break -case 38:H.jG(a,f) +case 38:H.jF(a,g) break -case 42:l=a.u -f.push(H.hn(l,H.ak(l,a.e,f.pop()),a.n)) +case 42:p=a.u +g.push(H.hl(p,H.an(p,a.e,g.pop()),a.n)) break -case 63:l=a.u -f.push(H.fd(l,H.ak(l,a.e,f.pop()),a.n)) +case 63:p=a.u +g.push(H.fd(p,H.an(p,a.e,g.pop()),a.n)) break -case 47:l=a.u -f.push(H.hm(l,H.ak(l,a.e,f.pop()),a.n)) +case 47:p=a.u +g.push(H.hk(p,H.an(p,a.e,g.pop()),a.n)) break -case 40:f.push(a.p) -a.p=f.length +case 40:g.push(a.p) +a.p=g.length break case 41:p=a.u -k=new H.cV() +l=new H.d_() +k=p.sEA j=p.sEA -i=p.sEA -n=f.pop() -if(typeof n=="number")switch(n){case-1:j=f.pop() +n=g.pop() +if(typeof n=="number")switch(n){case-1:k=g.pop() break -case-2:i=f.pop() +case-2:j=g.pop() break -default:f.push(n) -break}else f.push(n) -o=f.splice(a.p) +default:g.push(n) +break}else g.push(n) +o=g.splice(a.p) H.fa(a.u,a.e,o) -a.p=f.pop() -k.a=o -k.b=j -k.c=i -f.push(H.hl(p,H.ak(p,a.e,f.pop()),k)) +a.p=g.pop() +l.a=o +l.b=k +l.c=j +g.push(H.hj(p,H.an(p,a.e,g.pop()),l)) break -case 91:f.push(a.p) -a.p=f.length +case 91:g.push(a.p) +a.p=g.length break -case 93:o=f.splice(a.p) +case 93:o=g.splice(a.p) H.fa(a.u,a.e,o) -a.p=f.pop() -f.push(o) -f.push(-1) +a.p=g.pop() +g.push(o) +g.push(-1) break -case 123:f.push(a.p) -a.p=f.length +case 123:g.push(a.p) +a.p=g.length break -case 125:o=f.splice(a.p) -H.jI(a.u,a.e,o) -a.p=f.pop() -f.push(o) -f.push(-2) +case 125:o=g.splice(a.p) +H.jH(a.u,a.e,o) +a.p=g.pop() +g.push(o) +g.push(-2) break -default:throw"Bad character "+q}}}h=f.pop() -return H.ak(a.u,a.e,h)}, -jF:function(a,b,c,d){var s,r,q=b-48 +default:throw"Bad character "+q}}}i=g.pop() +return H.an(a.u,a.e,i)}, +jE:function(a,b,c,d){var s,r,q=b-48 for(s=c.length;a=48&&r<=57))break q=q*10+(r-48)}d.push(q) return a}, -hj:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +hg:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 for(s=c.length;m>>0)-97&65535)<26||r===95||r===36))q=r>=48&&r<=57 @@ -1236,22 +1323,22 @@ if(!q)break}}p=c.substring(b,m) if(e){s=a.u o=a.e if(o.y===10)o=o.z -n=H.ho(s,o.z)[p] -if(n==null)H.o('No "'+p+'" in "'+H.jm(o)+'"') -d.push(H.d1(s,o,n))}else d.push(p) +n=H.hm(s,o.z)[p] +if(n==null)H.q('No "'+p+'" in "'+H.ji(o)+'"') +d.push(H.d6(s,o,n))}else d.push(p) return m}, -jG:function(a,b){var s=b.pop() -if(0===s){b.push(H.bK(a.u,1,"0&")) -return}if(1===s){b.push(H.bK(a.u,4,"1&")) -return}throw H.a(P.da("Unexpected extended operation "+H.b(s)))}, -ak:function(a,b,c){if(typeof c=="string")return H.bJ(a,c,a.sEA) -else if(typeof c=="number")return H.jH(a,b,c) +jF:function(a,b){var s=b.pop() +if(0===s){b.push(H.bJ(a.u,1,"0&")) +return}if(1===s){b.push(H.bJ(a.u,4,"1&")) +return}throw H.a(P.de("Unexpected extended operation "+H.d(s)))}, +an:function(a,b,c){if(typeof c=="string")return H.bI(a,c,a.sEA) +else if(typeof c=="number")return H.jG(a,b,c) else return c}, fa:function(a,b,c){var s,r=c.length -for(s=0;s=d)return!1 a1=f[b] b+=3 if(a04294967295)throw H.a(P.r(a,0,4294967295,"length",null)) -return J.jc(new Array(a),b)}, -fQ:function(a,b){if(a<0)throw H.a(P.w("Length must be a non-negative integer: "+a)) -return H.c(new Array(a),b.i("m<0>"))}, -fO:function(a,b){return H.c(new Array(a),b.i("m<0>"))}, -jc:function(a,b){return J.dw(H.c(a,b.i("m<0>")))}, -dw:function(a){a.fixed$length=Array +if(typeof q=="function"){o=$.eo +if(o==null)o=$.eo=v.getIsolateTag("_$dart_js") +Object.defineProperty(q,o,{value:C.l,enumerable:false,writable:true,configurable:true}) +return C.l}return C.l}, +fP:function(a,b){if(a<0||a>4294967295)throw H.a(P.t(a,0,4294967295,"length",null)) +return J.j8(new Array(a),b)}, +fQ:function(a,b){if(a<0)throw H.a(P.A("Length must be a non-negative integer: "+a)) +return H.b(new Array(a),b.i("o<0>"))}, +j8:function(a,b){return J.dD(H.b(a,b.i("o<0>")))}, +dD:function(a){a.fixed$length=Array return a}, fR:function(a){a.fixed$length=Array a.immutable$list=Array @@ -1410,133 +1506,219 @@ return a}, fS:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 default:return!1}}, -jd:function(a,b){var s,r +j9:function(a,b){var s,r for(s=a.length;b0;b=s){s=b-1 r=C.a.n(a,s) if(r!==32&&r!==13&&!J.fS(r))break}return b}, -ao:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bf.prototype -return J.dy.prototype}if(typeof a=="string")return J.ad.prototype -if(a==null)return J.bg.prototype -if(typeof a=="boolean")return J.dx.prototype -if(a.constructor==Array)return J.m.prototype -if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype -return a}if(a instanceof P.t)return a -return J.eF(a)}, -kD:function(a){if(typeof a=="number")return J.bh.prototype -if(typeof a=="string")return J.ad.prototype +ab:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.be.prototype +return J.dG.prototype}if(typeof a=="string")return J.aw.prototype +if(a==null)return J.cb.prototype +if(typeof a=="boolean")return J.dE.prototype +if(a.constructor==Array)return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.af.prototype +return a}if(a instanceof P.v)return a +return J.fr(a)}, +S:function(a){if(typeof a=="string")return J.aw.prototype if(a==null)return a -if(a.constructor==Array)return J.m.prototype -if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype -return a}if(a instanceof P.t)return a -return J.eF(a)}, -I:function(a){if(typeof a=="string")return J.ad.prototype +if(a.constructor==Array)return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.af.prototype +return a}if(a instanceof P.v)return a +return J.fr(a)}, +aG:function(a){if(a==null)return a +if(a.constructor==Array)return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.af.prototype +return a}if(a instanceof P.v)return a +return J.fr(a)}, +bP:function(a){if(typeof a=="string")return J.aw.prototype if(a==null)return a -if(a.constructor==Array)return J.m.prototype -if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype -return a}if(a instanceof P.t)return a -return J.eF(a)}, -b1:function(a){if(a==null)return a -if(a.constructor==Array)return J.m.prototype -if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype -return a}if(a instanceof P.t)return a -return J.eF(a)}, -u:function(a){if(typeof a=="string")return J.ad.prototype -if(a==null)return a -if(!(a instanceof P.t))return J.aU.prototype +if(!(a instanceof P.v))return J.aS.prototype return a}, -eT:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b -return J.kD(a).a1(a,b)}, -D:function(a,b){if(a==null)return b==null +J:function(a,b){if(a==null)return b==null if(typeof a!="object")return b!=null&&a===b -return J.ao(a).L(a,b)}, -eU:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.hY(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b>>0===b&&b>>0===b&&b").R(c).i("a5<1,2>")))}, -dD:function(a,b){return new H.a5(a.i("@<0>").R(b).i("a5<1,2>"))}, -ja:function(a,b,c){var s,r +cc:function cc(){}, +be:function be(){}, +dG:function dG(){}, +aw:function aw(){}},L={cV:function cV(a,b,c,d){var _=this +_.d=a +_.e=b +_.f=c +_.r=d},en:function en(){}, +da:function(a){var s,r,q,p +if(a<$.fy()||a>$.fx())throw H.a(P.A("expected 32 bit int, got: "+a)) +s=H.b([],t.s) +if(a<0){a=-a +r=1}else r=0 +a=a<<1|r +do{q=a&31 +a=a>>>5 +p=a>0 +s.push(u.n[p?q|32:q])}while(p) +return s}, +d9:function(a){var s,r,q,p,o,n,m,l=null +for(s=a.b,r=0,q=!1,p=0;!q;){if(++a.c>=s)throw H.a(P.dY("incomplete VLQ value")) +o=a.gp() +n=$.ip().q(0,o) +if(n==null)throw H.a(P.m("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=C.c.cj(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +if(r<$.fy()||r>$.fx())throw H.a(P.m("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +eF:function eF(){}},M={ +f1:function(a){var s=a==null?D.eK():"." +if(a==null)a=$.eW() +return new M.c0(t.W.a(a),s)}, +fn:function(a){return a}, +hN:function(a,b){var s,r,q,p,o,n,m,l +for(s=b.length,r=1;r=1;s=q){q=s-1 +if(b[q]!=null)break}p=new P.w("") +o=""+(a+"(") +p.a=o +n=H.z(b) +m=n.i("aC<1>") +l=new H.aC(b,0,s,m) +l.c4(b,0,s,n.c) +m=o+new H.i(l,new M.eJ(),m.i("i")).Z(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw H.a(P.A(p.h(0)))}}, +c0:function c0(a,b){this.a=a +this.b=b}, +dr:function dr(){}, +ds:function ds(){}, +eJ:function eJ(){}, +aW:function aW(a){this.a=a}, +aX:function aX(a){this.a=a}},N={X:function X(a,b){this.a=a +this.x=b}},O={ +jm:function(){if(P.f9().gI()!=="file")return $.b1() +var s=P.f9() +if(!C.a.b2(s.gN(s),"/"))return $.b1() +if(P.B(null,"a/b",null,null).bg()==="a\\b")return $.bS() +return $.i7()}, +e_:function e_(){}, +kQ:function(a,b,c){var s=Y.jr(b).gae() +return Y.e1(A.fO(new H.i(s,new O.eT(a,c),H.z(s).i("i<1,x?>")),t.B),null).cA(new O.eU())}, +kt:function(a){var s,r,q,p,o,n,m,l=C.a.bF(a,".") +if(l<0)return a +s=C.a.w(a,l+1) +a=s==="fn"?a:s +a=H.O(a,"$124","|") +if(C.a.A(a,"|")){r=C.a.ar(a,"|") +q=C.a.ar(a," ") +p=C.a.ar(a,"escapedPound") +if(q>=0){o=C.a.j(a,0,q)==="set" +a=C.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=C.a.j(a,n,p)==="set" +a=C.a.X(a,n,p+3,"")}else{m=C.a.j(a,n,a.length) +if(C.a.t(m,"unary")||C.a.t(m,"$"))a=O.kx(a) +o=!1}}a=H.O(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kx:function(a){return H.kX(a,P.j("\\$[0-9]+",!1),new O.eI(a),null)}, +eT:function eT(a,b){this.a=a +this.b=b}, +eU:function eU(){}, +eI:function eI(a){this.a=a}, +hQ:function(a,b){var s,r,q +if(a.length===0)return-1 +if(b.$1(C.b.gaF(a)))return 0 +if(!b.$1(C.b.gK(a)))return a.length +s=a.length-1 +for(r=0;r"))}, +aU:function aU(a,b){this.a=a +this.b=b}, +bG:function bG(a){var _=this +_.a=a +_.d=_.c=_.b=null}, +bF:function bF(a,b){this.a=a +this.$ti=b}, +cH:function cH(){}, +jb:function(a,b,c){return H.kF(a,new H.a3(b.i("@<0>").R(c).i("a3<1,2>")))}, +dK:function(a,b){return new H.a3(a.i("@<0>").R(b).i("a3<1,2>"))}, +j5:function(a,b,c){var s,r if(P.fl(a)){if(b==="("&&c===")")return"(...)" -return b+"..."+c}s=H.c([],t.s) -$.aG.push(a) -try{P.kn(a,s)}finally{$.aG.pop()}r=P.ai(b,s,", ")+c +return b+"..."+c}s=H.b([],t.s) +$.aE.push(a) +try{P.kq(a,s)}finally{$.aE.pop()}r=P.al(b,s,", ")+c return r.charCodeAt(0)==0?r:r}, fN:function(a,b,c){var s,r if(P.fl(a))return b+"..."+c -s=new P.y(b) -$.aG.push(a) +s=new P.w(b) +$.aE.push(a) try{r=s -r.a=P.ai(r.a,a,", ")}finally{$.aG.pop()}s.a+=c +r.a=P.al(r.a,a,", ")}finally{$.aE.pop()}s.a+=c r=s.a return r.charCodeAt(0)==0?r:r}, fl:function(a){var s,r -for(s=$.aG.length,r=0;r100){while(!0){if(!(k>75&&j>3))break k-=b.pop().length+2;--j}b.push("...") -return}}q=H.b(p) -r=H.b(o) +return}}q=H.d(p) +r=H.d(o) k+=r.length+q.length+4}}if(j>b.length+2){k+=5 m="..."}else m=null while(!0){if(!(k>80&&b.length>3))break @@ -1545,65 +1727,63 @@ if(m==null){k+=5 m="..."}}if(m!=null)b.push(m) b.push(q) b.push(r)}, -dE:function(a){var s,r={} +dM:function(a){var s,r={} if(P.fl(a))return"{...}" -s=new P.y("") -try{$.aG.push(a) +s=new P.w("") +try{$.aE.push(a) s.a+="{" r.a=!0 -a.S(0,new P.dF(r,s)) -s.a+="}"}finally{$.aG.pop()}r=s.a +a.T(0,new P.dN(r,s)) +s.a+="}"}finally{$.aE.pop()}r=s.a return r.charCodeAt(0)==0?r:r}, -be:function be(){}, -bk:function bk(){}, +bd:function bd(){}, +bg:function bg(){}, p:function p(){}, -bm:function bm(){}, -dF:function dF(a,b){this.a=a +bh:function bh(){}, +dN:function dN(a,b){this.a=a this.b=b}, -ax:function ax(){}, -d2:function d2(){}, -bn:function bn(){}, -bA:function bA(){}, -bF:function bF(){}, -bL:function bL(){}, -ko:function(a,b){var s,r,q,p -if(typeof a!="string")throw H.a(H.O(a)) -s=null -try{s=JSON.parse(a)}catch(q){r=H.ap(q) -p=P.l(String(r),null,null) -throw H.a(p)}p=P.et(s) -return p}, -et:function(a){var s +a0:function a0(){}, +d7:function d7(){}, +bi:function bi(){}, +bw:function bw(){}, +bC:function bC(){}, +bK:function bK(){}, +ks:function(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=H.ad(r) +q=P.m(String(s),null,null) +throw H.a(q)}q=P.eA(p) +return q}, +eA:function(a){var s if(a==null)return null if(typeof a!="object")return a -if(Object.getPrototypeOf(a)!==Array.prototype)return new P.cW(a,Object.create(null)) -for(s=0;s=0)return null return r}return null}, -jC:function(a,b,c,d){var s=a?$.im():$.il() +jz:function(a,b,c,d){var s=a?$.ik():$.ij() if(s==null)return null -if(0===c&&d===b.length)return P.hf(s,b) -return P.hf(s,b.subarray(c,P.a7(c,d,b.length)))}, -hf:function(a,b){var s,r +if(0===c&&d===b.length)return P.hd(s,b) +return P.hd(s,b.subarray(c,P.a6(c,d,b.length)))}, +hd:function(a,b){var s,r try{s=a.decode(b) -return s}catch(r){H.ap(r)}return null}, -fD:function(a,b,c,d,e,f){if(C.c.aP(f,4)!==0)throw H.a(P.l("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) -if(d+e!==f)throw H.a(P.l("Invalid base64 padding, '=' not at the end",a,b)) -if(e>2)throw H.a(P.l("Invalid base64 padding, more than two '=' characters",a,b))}, -fU:function(a,b,c){return new P.bi(a,b)}, -ka:function(a){return a.ax()}, -jD:function(a,b){return new P.ei(a,[],P.kx())}, -jE:function(a,b,c){var s,r=new P.y(""),q=P.jD(r,b) +return s}catch(r){H.ad(r)}return null}, +fF:function(a,b,c,d,e,f){if(C.c.aP(f,4)!==0)throw H.a(P.m("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw H.a(P.m("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw H.a(P.m("Invalid base64 padding, more than two '=' characters",a,b))}, +fT:function(a,b,c){return new P.bf(a,b)}, +kb:function(a){return a.aw()}, +jC:function(a,b){return new P.ep(a,[],P.kB())}, +jD:function(a,b,c){var s,r=new P.w(""),q=P.jC(r,b) q.aN(a) s=r.a return s.charCodeAt(0)==0?s:s}, -k2:function(a){switch(a){case 65:return"Missing extension byte" +k3:function(a){switch(a){case 65:return"Missing extension byte" case 67:return"Unexpected extension byte" case 69:return"Invalid UTF-8 byte" case 71:return"Overlong encoding" @@ -1611,137 +1791,137 @@ case 73:return"Out of unicode range" case 75:return"Encoded surrogate" case 77:return"Unfinished UTF-8 octet sequence" default:return""}}, -k1:function(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) -for(s=J.I(a),r=0;r>>0!==0?255:q}return o}, -cW:function cW(a,b){this.a=a +d0:function d0(a,b){this.a=a this.b=b this.c=null}, -cX:function cX(a){this.a=a}, -ee:function ee(){}, -ef:function ef(){}, -bW:function bW(){}, -d_:function d_(){}, -bX:function bX(a){this.a=a}, -bZ:function bZ(){}, -c_:function c_(){}, -ac:function ac(){}, -a0:function a0(){}, -c5:function c5(){}, -bi:function bi(a,b){this.a=a +d1:function d1(a){this.a=a}, +em:function em(){}, +el:function el(){}, +bU:function bU(){}, +d4:function d4(){}, +bV:function bV(a){this.a=a}, +bX:function bX(){}, +bY:function bY(){}, +ae:function ae(){}, +Z:function Z(){}, +c3:function c3(){}, +bf:function bf(a,b){this.a=a this.b=b}, -cg:function cg(a,b){this.a=a +cf:function cf(a,b){this.a=a this.b=b}, -cf:function cf(){}, -ci:function ci(a){this.b=a}, -ch:function ch(a){this.a=a}, -ej:function ej(){}, -ek:function ek(a,b){this.a=a +ce:function ce(){}, +ch:function ch(a){this.b=a}, +cg:function cg(a){this.a=a}, +eq:function eq(){}, +er:function er(a,b){this.a=a this.b=b}, -ei:function ei(a,b,c){this.c=a +ep:function ep(a,b,c){this.c=a this.a=b this.b=c}, -cO:function cO(){}, -cQ:function cQ(){}, -er:function er(a){this.b=0 +cR:function cR(){}, +cT:function cT(){}, +ey:function ey(a){this.b=0 this.c=a}, -cP:function cP(a){this.a=a}, -eq:function eq(a){this.a=a +cS:function cS(a){this.a=a}, +ex:function ex(a){this.a=a this.b=16 this.c=0}, -Q:function(a,b){var s=H.h0(a,b) +N:function(a,b){var s=H.fY(a,b) if(s!=null)return s -throw H.a(P.l(a,null,null))}, -j5:function(a){if(a instanceof H.at)return a.h(0) -return"Instance of '"+H.b(H.dM(a))+"'"}, -af:function(a,b,c,d){var s,r=c?J.fQ(a,d):J.fP(a,d) +throw H.a(P.m(a,null,null))}, +j1:function(a){if(a instanceof H.at)return a.h(0) +return"Instance of '"+H.dS(a)+"'"}, +a_:function(a,b,c,d){var s,r=c?J.fQ(a,d):J.fP(a,d) if(a!==0&&b!=null)for(s=0;s")) -for(s=J.L(a);s.m();)r.push(s.gq()) +dL:function(a,b,c){var s,r=H.b([],c.i("o<0>")) +for(s=J.C(a);s.m();)r.push(s.gp()) if(b)return r -return J.dw(r)}, -bl:function(a,b,c){var s -if(b)return P.fV(a,c) -s=J.dw(P.fV(a,c)) +return J.dD(r)}, +ai:function(a,b,c){var s +if(b)return P.fU(a,c) +s=J.dD(P.fU(a,c)) return s}, -fV:function(a,b){var s,r=H.c([],b.i("m<0>")) -for(s=a.gu(a);s.m();)r.push(s.gq()) -return r}, -J:function(a,b){return J.fR(P.cm(a,!1,b))}, -h7:function(a,b,c){var s,r +fU:function(a,b){var s,r +if(Array.isArray(a))return H.b(a.slice(0),b.i("o<0>")) +s=H.b([],b.i("o<0>")) +for(r=J.C(a);r.m();)s.push(r.gp()) +return s}, +V:function(a,b){return J.fR(P.dL(a,!1,b))}, +h5:function(a,b,c){var s,r if(Array.isArray(a)){s=a r=s.length -c=P.a7(b,c,r) -return H.h1(b>0||c0||c>>4]&1<<(o&15))!==0)p+=H.F(o) +if(o<128&&(a[o>>>4]&1<<(o&15))!==0)p+=H.G(o) else p=d&&o===32?p+"+":p+"%"+n[o>>>4&15]+n[o&15]}return p.charCodeAt(0)==0?p:p}, -au:function(a){if(typeof a=="number"||H.hJ(a)||null==a)return J.aq(a) +au:function(a){if(typeof a=="number"||H.hI(a)||a==null)return J.bT(a) if(typeof a=="string")return JSON.stringify(a) -return P.j5(a)}, -da:function(a){return new P.bY(a)}, -w:function(a){return new P.V(!1,null,null,a)}, -d8:function(a,b,c){return new P.V(!0,a,b,c)}, -iV:function(a){return new P.V(!1,null,a,"Must not be null")}, -d9:function(a,b){return a}, -f5:function(a){var s=null -return new P.aQ(s,s,!1,s,s,a)}, -aR:function(a,b){return new P.aQ(null,null,!0,a,b,"Value not in range")}, -r:function(a,b,c,d,e){return new P.aQ(b,c,!0,a,d,"Invalid value")}, -h2:function(a,b,c,d){if(ac)throw H.a(P.r(a,b,c,d,null)) +return P.j1(a)}, +de:function(a){return new P.bW(a)}, +A:function(a){return new P.U(!1,null,null,a)}, +f0:function(a,b,c){return new P.U(!0,a,b,c)}, +iR:function(a){return new P.U(!1,null,a,"Must not be null")}, +f6:function(a){var s=null +return new P.a5(s,s,!1,s,s,a)}, +aO:function(a,b){return new P.a5(null,null,!0,a,b,"Value not in range")}, +t:function(a,b,c,d,e){return new P.a5(b,c,!0,a,d,"Invalid value")}, +h_:function(a,b,c,d){if(ac)throw H.a(P.t(a,b,c,d,null)) return a}, -a7:function(a,b,c){if(0>a||a>c)throw H.a(P.r(a,0,c,"start",null)) -if(b!=null){if(a>b||b>c)throw H.a(P.r(b,a,c,"end",null)) +a6:function(a,b,c){if(0>a||a>c)throw H.a(P.t(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw H.a(P.t(b,a,c,"end",null)) return b}return c}, -X:function(a,b){if(a<0)throw H.a(P.r(a,0,null,b,null)) +Q:function(a,b){if(a<0)throw H.a(P.t(a,0,null,b,null)) return a}, -f0:function(a,b,c,d,e){var s=e==null?J.z(b):e -return new P.ca(s,!0,a,c,"Index out of range")}, -q:function(a){return new P.cM(a)}, -hb:function(a){return new P.cJ(a)}, -dT:function(a){return new P.aC(a)}, -a3:function(a){return new P.c1(a)}, -l:function(a,b,c){return new P.aM(a,b,c)}, -hd:function(a){var s,r=null,q=new P.y(""),p=H.c([-1],t.t) -P.jy(r,r,r,q,p) +dB:function(a,b,c,d,e){var s=e==null?J.D(b):e +return new P.c7(s,!0,a,c,"Index out of range")}, +r:function(a){return new P.cO(a)}, +h9:function(a){return new P.cL(a)}, +dY:function(a){return new P.aB(a)}, +Y:function(a){return new P.c_(a)}, +m:function(a,b,c){return new P.aL(a,b,c)}, +hb:function(a){var s,r=null,q=new P.w(""),p=H.b([-1],t.t) +P.jv(r,r,r,q,p) p.push(q.a.length) q.a+="," -P.jw(C.h,C.F.cv(a),q) +P.jt(C.h,C.F.cu(a),q) s=q.a -return new P.cN(s.charCodeAt(0)==0?s:s,p,r).ga8()}, -K:function(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length -if(a4>=5){s=((J.fA(a5,4)^58)*3|C.a.k(a5,0)^100|C.a.k(a5,1)^97|C.a.k(a5,2)^116|C.a.k(a5,3)^97)>>>0 -if(s===0)return P.hc(a4=5){s=((C.a.k(a5,4)^58)*3|C.a.k(a5,0)^100|C.a.k(a5,1)^97|C.a.k(a5,2)^116|C.a.k(a5,3)^97)>>>0 +if(s===0)return P.ha(a4=14)r[7]=a4 +if(P.hK(a5,0,a4,0,r)>=14)r[7]=a4 q=r[1] -if(q>=0)if(P.hL(a5,0,q,20,r)===20)r[7]=q +if(q>=0)if(P.hK(a5,0,q,20,r)===20)r[7]=q p=r[2]+1 o=r[3] n=r[4] @@ -1766,10 +1946,10 @@ k=r[7]<0 if(k)if(p>q+3){j=a3 k=!1}else{i=o>0 if(i&&o+1===n){j=a3 -k=!1}else{if(!(mn+2&&J.bV(a5,"/..",m-3) +k=!1}else{if(!(mn+2&&C.a.B(a5,"/..",m-3) else h=!0 if(h){j=a3 -k=!1}else{if(q===4)if(J.bV(a5,"file",0)){if(p<=0){if(!C.a.D(a5,"/",n)){g="file:///" +k=!1}else{if(q===4)if(C.a.B(a5,"file",0)){if(p<=0){if(!C.a.B(a5,"/",n)){g="file:///" s=3}else{g="file://" s=2}a5=g+C.a.j(a5,n,a4) q-=0 @@ -1782,55 +1962,54 @@ o=7 n=7}else if(n===m){++l f=m+1 a5=C.a.X(a5,n,m,"/");++a4 -m=f}j="file"}else if(C.a.D(a5,"http",0)){if(i&&o+3===n&&C.a.D(a5,"80",o+1)){l-=3 +m=f}j="file"}else if(C.a.B(a5,"http",0)){if(i&&o+3===n&&C.a.B(a5,"80",o+1)){l-=3 e=n-3 m-=3 a5=C.a.X(a5,o,n,"") a4-=3 n=e}j="http"}else j=a3 -else if(q===5&&J.bV(a5,"https",0)){if(i&&o+4===n&&J.bV(a5,"443",o+1)){l-=4 +else if(q===5&&C.a.B(a5,"https",0)){if(i&&o+4===n&&C.a.B(a5,"443",o+1)){l-=4 e=n-4 m-=4 -a5=J.iR(a5,o,n,"") +a5=C.a.X(a5,o,n,"") a4-=3 n=e}j="https"}else j=a3 k=!0}}}else j=a3 -if(k){i=a5.length -if(a40)j=P.hy(a5,0,q) -else{if(q===0){P.b_(a5,0,"Invalid empty scheme") -H.aA(u.w)}j=""}if(p>0){d=q+3 -c=d0)j=P.hw(a5,0,q) +else{if(q===0)P.aZ(a5,0,"Invalid empty scheme") +j=""}if(p>0){d=q+3 +c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) -o=P.Q(C.a.j(a,r,s),null) +o=P.N(C.a.j(a,r,s),null) if(o>255)k.$2(l,r) n=q+1 j[q]=o r=s+1 q=n}}if(q!==3)k.$2(m,c) -o=P.Q(C.a.j(a,r,c),null) +o=P.N(C.a.j(a,r,c),null) if(o>255)k.$2(l,r) j[q]=o return j}, -he:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=new P.eb(a),d=new P.ec(e,a) +hc:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=new P.ej(a),d=new P.ek(e,a) if(a.length<2)e.$1("address is too short") -s=H.c([],t.t) +s=H.b([],t.t) for(r=b,q=r,p=!1,o=!1;r>>0) s.push((k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)e.$1("an address with a wildcard must have less than 7 parts")}else if(s.length!==8)e.$1("an address without a wildcard must contain exactly 8 parts") j=new Uint8Array(16) for(l=s.length,i=9-l,r=0,h=0;r?\\\\|]',!1)))if(b)throw H.a(P.w("Illegal character in path")) -else throw H.a(P.q("Illegal character in path: "+r))}}, -hq:function(a,b){var s,r="Illegal drive letter " +bL:function(a,b,c){var s,r,q +for(s=H.aP(a,c,null,H.z(a).c),s=new H.ah(s,s.gl(s)),r=H.l(s).c;s.m();){q=r.a(s.d) +if(C.a.A(q,P.j('["*/:<>?\\\\|]',!1)))if(b)throw H.a(P.A("Illegal character in path")) +else throw H.a(P.r("Illegal character in path: "+q))}}, +ho:function(a,b){var s,r="Illegal drive letter " if(!(65<=a&&a<=90))s=97<=a&&a<=122 else s=!0 if(s)return -if(b)throw H.a(P.w(r+P.h6(a))) -else throw H.a(P.q(r+P.h6(a)))}, -jY:function(a,b){var s=null,r=H.c(a.split("/"),t.s) -if(C.a.v(a,"/"))return P.B(s,s,r,"file") +if(b)throw H.a(P.A(r+P.h4(a))) +else throw H.a(P.r(r+P.h4(a)))}, +jY:function(a,b){var s=null,r=H.b(a.split("/"),t.s) +if(C.a.t(a,"/"))return P.B(s,s,r,"file") else return P.B(s,s,r,s)}, jZ:function(a,b){var s,r,q,p,o="\\",n=null,m="file" -if(C.a.v(a,"\\\\?\\"))if(C.a.D(a,"UNC\\",4))a=C.a.X(a,0,7,o) +if(C.a.t(a,"\\\\?\\"))if(C.a.B(a,"UNC\\",4))a=C.a.X(a,0,7,o) else{a=C.a.w(a,4) -if(a.length<3||C.a.k(a,1)!==58||C.a.k(a,2)!==92)throw H.a(P.w("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.R(a,"/",o) +if(a.length<3||C.a.k(a,1)!==58||C.a.k(a,2)!==92)throw H.a(P.A("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.O(a,"/",o) s=a.length -if(s>1&&C.a.k(a,1)===58){P.hq(C.a.k(a,0),!0) -if(s===2||C.a.k(a,2)!==92)throw H.a(P.w("Windows paths with drive letter must be absolute")) -r=H.c(a.split(o),t.s) -P.bM(r,!0,1) -return P.B(n,n,r,m)}if(C.a.v(a,o))if(C.a.D(a,o,1)){q=C.a.a6(a,o,2) +if(s>1&&C.a.k(a,1)===58){P.ho(C.a.k(a,0),!0) +if(s===2||C.a.k(a,2)!==92)throw H.a(P.A("Windows paths with drive letter must be absolute")) +r=H.b(a.split(o),t.s) +P.bL(r,!0,1) +return P.B(n,n,r,m)}if(C.a.t(a,o))if(C.a.B(a,o,1)){q=C.a.a4(a,o,2) s=q<0 p=s?C.a.w(a,2):C.a.j(a,2,q) -r=H.c((s?"":C.a.w(a,q+1)).split(o),t.s) -P.bM(r,!0,0) -return P.B(p,n,r,m)}else{r=H.c(a.split(o),t.s) -P.bM(r,!0,0) -return P.B(n,n,r,m)}else{r=H.c(a.split(o),t.s) -P.bM(r,!0,0) +r=H.b((s?"":C.a.w(a,q+1)).split(o),t.s) +P.bL(r,!0,0) +return P.B(p,n,r,m)}else{r=H.b(a.split(o),t.s) +P.bL(r,!0,0) +return P.B(n,n,r,m)}else{r=H.b(a.split(o),t.s) +P.bL(r,!0,0) return P.B(n,n,r,n)}}, -ff:function(a,b){if(a!=null&&a===P.hr(b))return null +ff:function(a,b){if(a!=null&&a===P.hp(b))return null return a}, -hv:function(a,b,c,d){var s,r,q,p,o,n +ht:function(a,b,c,d){var s,r,q,p,o,n if(a==null)return null if(b===c)return"" if(C.a.n(a,b)===91){s=c-1 -if(C.a.n(a,s)!==93){P.b_(a,b,"Missing end `]` to match `[` in host") -H.aA(u.w)}r=b+1 -q=P.jW(a,r,s) +if(C.a.n(a,s)!==93)P.aZ(a,b,"Missing end `]` to match `[` in host") +r=b+1 +q=P.jV(a,r,s) if(q=b&&q=b&&s>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new P.y("") +q=!0}else if(p<127&&(C.z[p>>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new P.w("") if(r>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new P.y("") +p=!0}else if(o<127&&(C.X[o>>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new P.w("") if(r>>4]&1<<(o&15))!==0){P.b_(a,s,"Invalid character") -H.aA(u.w)}else{if((o&64512)===55296&&s+1>>4]&1<<(o&15))!==0)P.aZ(a,s,"Invalid character") +else{if((o&64512)===55296&&s+1>>4]&1<<(q&15))!==0)){P.b_(a,s,"Illegal scheme character") -H.aA(p)}if(65<=q&&q<=90)r=!0}a=C.a.j(a,b,c) -return P.jU(r?a.toLowerCase():a)}, -jU:function(a){if(a==="http")return"http" +if(!P.hr(C.a.k(a,b)))P.aZ(a,b,"Scheme not starting with alphabetic character") +for(s=b,r=!1;s>>4]&1<<(q&15))!==0))P.aZ(a,s,"Illegal scheme character") +if(65<=q&&q<=90)r=!0}a=C.a.j(a,b,c) +return P.jT(r?a.toLowerCase():a)}, +jT:function(a){if(a==="http")return"http" if(a==="file")return"file" if(a==="https")return"https" if(a==="package")return"package" return a}, -hz:function(a,b,c){if(a==null)return"" -return P.bN(a,b,c,C.W,!1)}, -hw:function(a,b,c,d,e,f){var s,r=e==="file",q=r||f +hx:function(a,b,c){if(a==null)return"" +return P.bM(a,b,c,C.W,!1)}, +hu:function(a,b,c,d,e,f){var s,r=e==="file",q=r||f if(a==null){if(d==null)return r?"/":"" -s=new H.i(d,new P.ep(),H.G(d).i("i<1,e>")).Z(0,"/")}else if(d!=null)throw H.a(P.w("Both path and pathSegments specified")) -else s=P.bN(a,b,c,C.B,!0) -if(s.length===0){if(r)return"/"}else if(q&&!C.a.v(s,"/"))s="/"+s +s=new H.i(d,new P.ew(),H.z(d).i("i<1,e>")).Z(0,"/")}else if(d!=null)throw H.a(P.A("Both path and pathSegments specified")) +else s=P.bM(a,b,c,C.B,!0) +if(s.length===0){if(r)return"/"}else if(q&&!C.a.t(s,"/"))s="/"+s return P.k_(s,e,f)}, k_:function(a,b,c){var s=b.length===0 -if(s&&!c&&!C.a.v(a,"/"))return P.fh(a,!s||c) -return P.aF(a)}, -hx:function(a,b,c,d){if(a!=null)return P.bN(a,b,c,C.h,!0) +if(s&&!c&&!C.a.t(a,"/"))return P.fh(a,!s||c) +return P.a9(a)}, +hv:function(a,b,c,d){if(a!=null)return P.bM(a,b,c,C.h,!0) return null}, -hu:function(a,b,c){if(a==null)return null -return P.bN(a,b,c,C.h,!0)}, +hs:function(a,b,c){if(a==null)return null +return P.bM(a,b,c,C.h,!0)}, fg:function(a,b,c){var s,r,q,p,o,n=b+2 if(n>=a.length)return"%" s=C.a.n(a,b+1) r=C.a.n(a,n) -q=H.eG(s) -p=H.eG(r) +q=H.eN(s) +p=H.eN(r) if(q<0||p<0)return"%" o=q*16+p -if(o<127&&(C.z[C.c.aa(o,4)]&1<<(o&15))!==0)return H.F(c&&65<=o&&90>=o?(o|32)>>>0:o) +if(o<127&&(C.z[C.c.a6(o,4)]&1<<(o&15))!==0)return H.G(c&&65<=o&&90>=o?(o|32)>>>0:o) if(s>=97||r>=97)return C.a.j(a,b,b+3).toUpperCase() return null}, fe:function(a){var s,r,q,p,o,n="0123456789ABCDEF" @@ -2035,49 +2220,48 @@ s[2]=C.a.k(n,a&15)}else{if(a>2047)if(a>65535){r=240 q=4}else{r=224 q=3}else{r=192 q=2}s=new Uint8Array(3*q) -for(p=0;--q,q>=0;r=128){o=C.c.cl(a,6*q)&63|r +for(p=0;--q,q>=0;r=128){o=C.c.ck(a,6*q)&63|r s[p]=37 s[p+1]=C.a.k(n,o>>>4) s[p+2]=C.a.k(n,o&15) -p+=3}}return P.h7(s,0,null)}, -bN:function(a,b,c,d,e){var s=P.hB(a,b,c,d,e) +p+=3}}return P.h5(s,0,null)}, +bM:function(a,b,c,d,e){var s=P.hz(a,b,c,d,e) return s==null?C.a.j(a,b,c):s}, -hB:function(a,b,c,d,e){var s,r,q,p,o,n,m,l,k,j=null +hz:function(a,b,c,d,e){var s,r,q,p,o,n,m,l,k,j=null for(s=!e,r=b,q=r,p=j;r>>4]&1<<(o&15))!==0)++r else{if(o===37){n=P.fg(a,r,!1) if(n==null){r+=3 continue}if("%"===n){n="%25" -m=1}else m=3}else if(s&&o<=93&&(C.w[o>>>4]&1<<(o&15))!==0){P.b_(a,r,"Invalid character") -H.aA(u.w) +m=1}else m=3}else if(s&&o<=93&&(C.v[o>>>4]&1<<(o&15))!==0){P.aZ(a,r,"Invalid character") m=j n=m}else{if((o&64512)===55296){l=r+1 if(l=2&&P.ht(J.fA(a,0)))for(s=1;s=2&&P.hr(C.a.k(a,0)))for(s=1;s127||(C.x[r>>>4]&1<<(r&15))===0)break}return a}, -hD:function(a){var s,r,q,p=a.gae(),o=p.length -if(o>0&&J.z(p[0])===2&&J.bT(p[0],1)===58){P.hq(J.bT(p[0],0),!1) -P.bM(p,!1,1) -s=!0}else{P.bM(p,!1,0) -s=!1}r=a.gba()&&!s?"\\":"" -if(a.gar()){q=a.gV() -if(q.length!==0)r=r+"\\"+q+"\\"}r=P.ai(r,p,"\\") +if(r>127||(C.w[r>>>4]&1<<(r&15))===0)break}return a}, +k1:function(a,b){if(a.cD("package")&&a.c==null)return P.hL(b,0,b.length) +return-1}, +hB:function(a){var s,r,q,p=a.gab(),o=p.length +if(o>0&&J.D(p[0])===2&&J.f_(p[0],1)===58){P.ho(J.f_(p[0],0),!1) +P.bL(p,!1,1) +s=!0}else{P.bL(p,!1,0) +s=!1}r=a.gaH()&&!s?""+"\\":"" +if(a.gap()){q=a.gV() +if(q.length!==0)r=r+"\\"+q+"\\"}r=P.al(r,p,"\\") o=s&&o===1?r+"\\":r return o.charCodeAt(0)==0?o:o}, jX:function(a,b){var s,r,q @@ -2108,64 +2294,68 @@ for(s=0,r=0;r<2;++r){q=C.a.k(a,b+r) if(48<=q&&q<=57)s=s*16+q-48 else{q|=32 if(97<=q&&q<=102)s=s*16+q-87 -else throw H.a(P.w("Invalid URL encoding"))}}return s}, -fi:function(a,b,c,d,e){var s,r,q,p,o=J.u(a),n=b -while(!0){if(!(n127)throw H.a(P.w("Illegal percent encoding in URI")) -if(r===37){if(n+3>a.length)throw H.a(P.w("Truncated URI")) -p.push(P.jX(a,n+1)) -n+=2}else p.push(r)}}return C.a0.aq(p)}, -ht:function(a){var s=a|32 +if(q)return C.a.j(a,b,c) +else p=new H.aJ(C.a.j(a,b,c))}else{p=H.b([],t.t) +for(q=a.length,o=b;o127)throw H.a(P.A("Illegal percent encoding in URI")) +if(r===37){if(o+3>q)throw H.a(P.A("Truncated URI")) +p.push(P.jX(a,o+1)) +o+=2}else p.push(r)}}return C.a0.ao(p)}, +hr:function(a){var s=a|32 return 97<=s&&s<=122}, -jy:function(a,b,c,d,e){var s,r +jv:function(a,b,c,d,e){var s,r if(!0)d.a=d.a -else{s=P.jx("") -if(s<0)throw H.a(P.d8("","mimeType","Invalid MIME type")) -r=d.a+=H.b(P.fj(C.A,C.a.j("",0,s),C.e,!1)) +else{s=P.ju("") +if(s<0)throw H.a(P.f0("","mimeType","Invalid MIME type")) +r=d.a+=P.fj(C.A,C.a.j("",0,s),C.e,!1) d.a=r+"/" -d.a+=H.b(P.fj(C.A,C.a.w("",s+1),C.e,!1))}}, -jx:function(a){var s,r,q +d.a+=P.fj(C.A,C.a.w("",s+1),C.e,!1)}}, +ju:function(a){var s,r,q for(s=a.length,r=-1,q=0;qb)throw H.a(P.l(k,a,r)) +continue}throw H.a(P.m(k,a,r))}}if(q<0&&r>b)throw H.a(P.m(k,a,r)) for(;p!==44;){j.push(r);++r for(o=-1;r=0)j.push(o) else{n=C.b.gK(j) -if(p!==44||r!==n+7||!C.a.D(a,"base64",n+1))throw H.a(P.l("Expecting '='",a,r)) +if(p!==44||r!==n+7||!C.a.B(a,"base64",n+1))throw H.a(P.m("Expecting '='",a,r)) break}}j.push(r) m=r+1 -if((j.length&1)===1)a=C.G.cG(a,m,s) -else{l=P.hB(a,m,s,C.h,!0) -if(l!=null)a=C.a.X(a,m,s,l)}return new P.cN(a,j,c)}, -jw:function(a,b,c){var s,r,q,p,o="0123456789ABCDEF" -for(s=J.I(b),r=0,q=0;q>>0!==0)for(q=0;q255)throw H.a(P.d8(p,"non-byte value",null))}}, -k9:function(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="?",i="#",h=J.fO(22,t.p) +o=p<128&&(a[C.c.a6(p,4)]&1<<(p&15))!==0 +n=c.a +if(o)c.a=n+H.G(p) +else{o=n+H.G(37) +c.a=o +o+=H.G(C.a.k(m,C.c.a6(p,4))) +c.a=o +c.a=o+H.G(C.a.k(m,p&15))}}if((r&4294967040)>>>0!==0)for(q=0;q255)throw H.a(P.f0(p,"non-byte value",null))}}, +ka:function(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="?",i="#",h=H.b(new Array(22),t.h) for(s=0;s<22;++s)h[s]=new Uint8Array(96) -r=new P.eu(h) -q=new P.ev() -p=new P.ew() +r=new P.eB(h) +q=new P.eC() +p=new P.eD() o=r.$2(0,225) q.$3(o,n,1) q.$3(o,m,14) @@ -2287,62 +2477,69 @@ p.$3(o,"az",21) p.$3(o,"09",21) q.$3(o,"+-.",21) return h}, -hL:function(a,b,c,d,e){var s,r,q,p,o,n=$.iz() -for(s=J.u(a),r=b;r95?31:p] -d=o&31 -e[o>>>5]=r}return d}, -dI:function dI(a,b){this.a=a +hK:function(a,b,c,d,e){var s,r,q,p,o=$.ix() +for(s=b;s95?31:q] +d=p&31 +e[p>>>5]=s}return d}, +hi:function(a){if(a.b===7&&C.a.t(a.a,"package")&&a.c<=0)return P.hL(a.a,a.e,a.f) +return-1}, +hL:function(a,b,c){var s,r,q +for(s=b,r=0;s=1;s=q){q=s-1 -if(b[q]!=null)break}p=new P.y("") -o=a+"(" -p.a=o -n=H.G(b) -m=n.i("aD<1>") -l=new H.aD(b,0,s,m) -l.c5(b,0,s,n.c) -m=o+new H.i(l,new M.ez(),m.i("i")).Z(0,", ") -p.a=m -p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") -throw H.a(P.w(p.h(0)))}}, -c2:function c2(a,b){this.a=a -this.b=b}, -dj:function dj(){}, -di:function di(){}, -dk:function dk(){}, -ez:function ez(){}, -aX:function aX(a){this.a=a}, -aY:function aY(a){this.a=a}},B={dv:function dv(){}, -hW:function(a){var s -if(!(a>=65&&a<=90))s=a>=97&&a<=122 -else s=!0 -return s}, -hX:function(a,b){var s=a.length,r=b+2 -if(s")).c0(0,new O.eO()),t.O),new P.U(null)).cB(new O.eP())}, -kp:function(a){var s,r,q,p,o,n,m,l=J.iN(a,".") -if(l<0)return a -s=C.a.w(a,l+1) -a=s==="fn"?a:s -a=H.R(a,"$124","|") -if(C.a.A(a,"|")){r=C.a.at(a,"|") -q=C.a.at(a," ") -p=C.a.at(a,"escapedPound") -if(q>=0){o=C.a.j(a,0,q)==="set" -a=C.a.j(a,q+1,a.length)}else{n=r+1 -if(p>=0){o=C.a.j(a,n,p)==="set" -a=C.a.X(a,n,p+3,"")}else{m=C.a.j(a,n,a.length) -if(C.a.v(m,"unary")||C.a.v(m,"$"))a=O.kt(a) -o=!1}}a=H.R(a,"|",".") -n=o?a+"=":a}else n=a +else return P.k9(a)}, +hZ:function(a,b){return Math.max(H.hR(a),H.hR(b))}, +i1:function(a,b){return Math.pow(a,b)}},T={ +i_:function(a,b,c){var s,r,q="sections" +if(!J.J(a.q(0,"version"),3))throw H.a(P.A("unexpected source map version: "+H.d(a.q(0,"version"))+". Only version 3 is supported.")) +if(a.L(q)){if(a.L("mappings")||a.L("sources")||a.L("names"))throw H.a(P.m('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) +s=a.q(0,q) +r=t.t +r=new T.cp(H.b([],r),H.b([],r),H.b([],t.o)) +r.c1(s,c,b) +return r}return T.jj(a,b)}, +jj:function(a,b){var s,r,q,p,o=a.q(0,"file"),n=t.N,m=P.dL(a.q(0,"sources"),!0,n),l=a.q(0,"names") +l=P.dL(l==null?[]:l,!0,n) +s=P.a_(J.D(a.q(0,"sources")),null,!1,t.w) +r=a.q(0,"sourceRoot") +q=H.b([],t.Q) +p=typeof b=="string"?P.H(b):b +n=new T.bq(m,l,s,q,o,r,p,P.dK(n,t.z)) +n.c2(a,b) return n}, -kt:function(a){return H.kT(a,P.k("\\$[0-9]+",!1),new O.ey(a),null)}, -eN:function eN(a,b){this.a=a -this.b=b}, -eO:function eO(){}, -eP:function eP(){}, -ey:function ey(a){this.a=a}, -hQ:function(a,b){var s,r,q -if(a.length===0)return-1 -if(b.$1(C.b.gaF(a)))return 0 -if(!b.$1(C.b.gK(a)))return a.length -s=a.length-1 -for(r=0;r$.fx())throw H.a(P.w("expected 32 bit int, got: "+a)) -s=H.c([],t.V) -if(a<0){a=-a -r=1}else r=0 -a=a<<1|r -do{q=a&31 -a=a>>>5 -p=a>0 -s.push(u.n[p?q|32:q])}while(p) -return s}, -d4:function(a){var s,r,q,p,o,n,m,l,k,j=null -for(s=a.b,r=a.a,q=0,p=!1,o=0;!p;){n=++a.c -if(n>=s)throw H.a(P.dT("incomplete VLQ value")) -m=n>=0&&!0?r[n]:j -n=$.ir() -if(!n.J(m))throw H.a(P.l("invalid character in VLQ encoding: "+H.b(m),j,j)) -l=n.p(0,m) -p=(l&32)===0 -q+=C.c.ck(l&31,o) -o+=5}k=q>>>1 -q=(q&1)===1?-k:k -if(q<$.fy()||q>$.fx())throw H.a(P.l("expected an encoded 32 bit int, but we got: "+q,j,j)) -return q}, -eA:function eA(){}},T={ -i0:function(a,b,c){var s,r,q="sections" -if(!J.D(a.p(0,"version"),3))throw H.a(P.w("unexpected source map version: "+H.b(a.p(0,"version"))+". Only version 3 is supported.")) -if(a.J(q)){if(a.J("mappings")||a.J("sources")||a.J("names"))throw H.a(P.l('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) -s=a.p(0,q) -r=t.i -r=new T.co(H.c([],r),H.c([],r),H.c([],t.F)) -r.c2(s,c,b) -return r}return T.jo(a,b)}, -jo:function(a,b){var s,r,q,p,o=a.p(0,"file"),n=t.X,m=P.cm(a.p(0,"sources"),!0,n),l=a.p(0,"names") -l=P.cm(l==null?[]:l,!0,n) -s=new Array(J.z(a.p(0,"sources"))) -s.fixed$length=Array -s=H.c(s,t.d) -r=a.p(0,"sourceRoot") -q=H.c([],t.L) -p=typeof b=="string"?P.K(b):b -n=new T.bu(m,l,s,q,o,r,p,P.dD(n,t.z)) -n.c3(a,b) -return n}, -ag:function ag(){}, -co:function co(a,b,c){this.a=a +aj:function aj(){}, +cp:function cp(a,b,c){this.a=a this.b=b this.c=c}, -cn:function cn(a){this.a=a}, -dH:function dH(){}, -bu:function bu(a,b,c,d,e,f,g,h){var _=this +co:function co(a){this.a=a}, +dO:function dO(){}, +bq:function bq(a,b,c,d,e,f,g,h){var _=this _.a=a _.b=b _.c=c @@ -2561,255 +2617,238 @@ _.e=e _.f=f _.r=g _.x=h}, -dO:function dO(a){this.a=a}, -dR:function dR(a){this.a=a}, -dQ:function dQ(a){this.a=a}, -dP:function dP(a){this.a=a}, -bz:function bz(a,b){this.a=a +dT:function dT(a){this.a=a}, +dW:function dW(a){this.a=a}, +dV:function dV(a){this.a=a}, +dU:function dU(a){this.a=a}, +bv:function bv(a,b){this.a=a this.b=b}, -aT:function aT(a,b,c,d,e){var _=this +aR:function aR(a,b,c,d,e){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e}, -el:function el(a,b){this.a=a +es:function es(a,b){this.a=a this.b=b this.c=-1}, -aZ:function aZ(a,b,c){this.a=a +aY:function aY(a,b,c){this.a=a this.b=b this.c=c}, -ck:function ck(a){this.a=a -this.b=null}},G={ -h5:function(a,b,c,d){var s=new G.bw(a,b,c) -s.br(a,b,c) -return s}, -bw:function bw(a,b,c){this.a=a -this.b=b -this.c=c}},Y={cC:function cC(a,b,c){var _=this +cl:function cl(a){this.a=a +this.b=null}},U={ +iV:function(a){var s,r,q=u.a +if(a.length===0)return new U.as(P.V(H.b([],t.J),t.a)) +s=$.fA() +if(C.a.A(a,s)){s=C.a.am(a,s) +r=H.z(s) +return new U.as(P.V(new H.L(new H.E(s,new U.dg(),r.i("E<1>")),new U.dh(),r.i("L<1,K>")),t.a))}if(!C.a.A(a,q))return new U.as(P.V(H.b([Y.f8(a)],t.J),t.a)) +return new U.as(P.V(new H.i(H.b(a.split(q),t.s),new U.di(),t.k),t.a))}, +as:function as(a){this.a=a}, +dg:function dg(){}, +dh:function dh(){}, +di:function di(){}, +dn:function dn(){}, +dm:function dm(){}, +dk:function dk(){}, +dl:function dl(a){this.a=a}, +dj:function dj(a){this.a=a}},V={ +f7:function(a,b,c,d){var s=typeof d=="string"?P.H(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)H.q(P.f6("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)H.q(P.f6("Line may not be negative, was "+H.d(c)+".")) +else if(!p&&b<0)H.q(P.f6("Column may not be negative, was "+H.d(b)+".")) +return new V.cE(s,a,q,o)}, +cE:function cE(a,b,c,d){var _=this _.a=a _.b=b _.c=c -_.d=null},cF:function cF(){}, -jv:function(a){if(a==null)throw H.a(P.w("Cannot create a Trace from null.")) -if(t.G.b(a))return a -if(a instanceof U.as)return a.bQ() -return new T.ck(new Y.e4(a))}, -f7:function(a){var s,r,q -try{if(a.length===0){r=P.J(H.c([],t.B),t.O) -return new Y.E(r,new P.U(null))}if(C.a.A(a,$.iC())){r=Y.ju(a) -return r}if(C.a.A(a,"\tat ")){r=Y.jt(a) -return r}if(C.a.A(a,$.iv())||C.a.A(a,$.it())){r=Y.js(a) -return r}if(C.a.A(a,u.q)){r=U.iZ(a).bQ() -return r}if(C.a.A(a,$.ix())){r=Y.h8(a) -return r}r=P.J(Y.h9(a),t.O) -return new Y.E(r,new P.U(a))}catch(q){r=H.ap(q) -if(r instanceof P.aM){s=r -throw H.a(P.l(H.b(s.a)+"\nStack trace:\n"+H.b(a),null,null))}else throw q}}, -h9:function(a){var s,r,q=J.iU(a),p=H.c(H.R(q,"\n","").split("\n"),t.s) -q=H.aE(p,0,p.length-1,t.N) -s=q.$ti.i("i") -r=P.bl(new H.i(q,new Y.e5(),s),!0,s.i("A.E")) -if(!J.iM(C.b.gK(p),".da"))C.b.a4(r,A.fL(C.b.gK(p))) -return r}, -ju:function(a){var s=H.aE(H.c(a.split("\n"),t.s),1,null,t.N).c_(0,new Y.e2()),r=t.O -return new Y.E(P.J(H.dG(s,new Y.e3(),s.$ti.i("d.E"),r),r),new P.U(a))}, -jt:function(a){return new Y.E(P.J(new H.W(new H.M(H.c(a.split("\n"),t.s),new Y.e0(),t.U),new Y.e1(),t.a),t.O),new P.U(a))}, -js:function(a){return new Y.E(P.J(new H.W(new H.M(H.c(C.a.bo(a).split("\n"),t.s),new Y.dX(),t.U),new Y.dY(),t.a),t.O),new P.U(a))}, -h8:function(a){var s=a.length===0?H.c([],t.B):new H.W(new H.M(H.c(C.a.bo(a).split("\n"),t.s),new Y.dZ(),t.U),new Y.e_(),t.a) -return new Y.E(P.J(s,t.O),new P.U(a))}, -E:function E(a,b){this.a=a -this.b=b}, -e4:function e4(a){this.a=a}, -e5:function e5(){}, -e2:function e2(){}, -e3:function e3(){}, -e0:function e0(){}, -e1:function e1(){}, -dX:function dX(){}, -dY:function dY(){}, -dZ:function dZ(){}, -e_:function e_(){}, -e7:function e7(){}, -e6:function e6(a){this.a=a}},V={ -f6:function(a,b,c,d){var s=typeof d=="string"?P.K(d):t.k.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b -if(a<0)H.o(P.f5("Offset may not be negative, was "+a+".")) -else if(!r&&c<0)H.o(P.f5("Line may not be negative, was "+H.b(c)+".")) -else if(!p&&b<0)H.o(P.f5("Column may not be negative, was "+H.b(b)+".")) -return new V.cD(s,a,q,o)}, -cD:function cD(a,b,c,d){var _=this +_.d=d}, +cF:function cF(){}},W={du:function du(){}},X={ +az:function(a,b){var s,r,q,p,o,n=b.bW(a) +b.U(a) +if(n!=null)a=C.a.w(a,n.length) +s=t.s +r=H.b([],s) +q=H.b([],s) +s=a.length +if(s!==0&&b.v(C.a.k(a,0))){q.push(a[0]) +p=1}else{q.push("") +p=0}for(o=p;o") -return P.bl(new H.i(a,new D.eE(),s),!0,s.i("A.E"))}, -kN:function(a){var s -if($.fm==null)throw H.a(P.dT("Source maps are not done loading.")) -s=Y.f7(a) -return O.kM($.fm,s,$.iG()).h(0)}, -kP:function(a){$.fm=new D.cj(new T.cn(P.dD(t.X,t.C)),a)}, -hZ:function(){self.$dartStackTraceUtility={mapper:P.hO(D.kQ()),setSourceMapProvider:P.hO(D.kR())}}, -eE:function eE(){}, -dl:function dl(){}, -cj:function cj(a,b){this.a=a +_.d=null},cG:function cG(){}, +jr:function(a){if(t.a.b(a))return a +if(a instanceof U.as)return a.bP() +return new T.cl(new Y.ea(a))}, +f8:function(a){var s,r,q +try{if(a.length===0){r=Y.e1(H.b([],t.F),null) +return r}if(C.a.A(a,$.iA())){r=Y.jq(a) +return r}if(C.a.A(a,"\tat ")){r=Y.jp(a) +return r}if(C.a.A(a,$.it())||C.a.A(a,$.ir())){r=Y.jo(a) +return r}if(C.a.A(a,u.a)){r=U.iV(a).bP() +return r}if(C.a.A(a,$.iv())){r=Y.h6(a) +return r}r=Y.h7(a) +return r}catch(q){r=H.ad(q) +if(r instanceof P.aL){s=r +throw H.a(P.m(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +h7:function(a){var s=P.V(Y.js(a),t.B) +return new Y.K(s,new P.ao(a))}, +js:function(a){var s,r=C.a.bh(a),q=$.fA(),p=t.U,o=new H.E(H.b(H.O(r,q,"").split("\n"),t.s),new Y.eb(),p) +if(!o.gu(o).m())return H.b([],t.F) +r=H.jn(o,o.gl(o)-1,p.i("c.E")) +r=H.cn(r,new Y.ec(),H.l(r).i("c.E"),t.B) +s=P.ai(r,!0,H.l(r).i("c.E")) +if(!J.iK(o.gK(o),".da"))C.b.a2(s,A.fL(o.gK(o))) +return s}, +jq:function(a){var s=H.aP(H.b(a.split("\n"),t.s),1,null,t.N).c_(0,new Y.e8()),r=t.B +r=P.V(H.cn(s,new Y.e9(),s.$ti.i("c.E"),r),r) +return new Y.K(r,new P.ao(a))}, +jp:function(a){var s=P.V(new H.L(new H.E(H.b(a.split("\n"),t.s),new Y.e6(),t.U),new Y.e7(),t.L),t.B) +return new Y.K(s,new P.ao(a))}, +jo:function(a){var s=P.V(new H.L(new H.E(H.b(C.a.bh(a).split("\n"),t.s),new Y.e2(),t.U),new Y.e3(),t.L),t.B) +return new Y.K(s,new P.ao(a))}, +h6:function(a){var s=a.length===0?H.b([],t.F):new H.L(new H.E(H.b(C.a.bh(a).split("\n"),t.s),new Y.e4(),t.U),new Y.e5(),t.L) +s=P.V(s,t.B) +return new Y.K(s,new P.ao(a))}, +e1:function(a,b){var s=P.V(a,t.B) +return new Y.K(s,new P.ao(b==null?"":b))}, +K:function K(a,b){this.a=a this.b=b}, -eB:function eB(){}, -eC:function(){var s,r,q,p,o=null -try{o=P.f9()}catch(s){if(t.v.b(H.ap(s))){r=$.ex -if(r!=null)return r -throw s}else throw s}if(J.D(o,$.hF))return $.ex -$.hF=o -if($.eQ()==$.b2())r=$.ex=o.bm(".").h(0) -else{q=o.bn() -p=q.length-1 -r=$.ex=p===0?q:C.a.j(q,0,p)}return r}} -var w=[C,H,J,P,W,M,B,X,O,E,F,L,T,G,Y,V,U,A,N,D] +ea:function ea(a){this.a=a}, +eb:function eb(){}, +ec:function ec(){}, +e8:function e8(){}, +e9:function e9(){}, +e6:function e6(){}, +e7:function e7(){}, +e2:function e2(){}, +e3:function e3(){}, +e4:function e4(){}, +e5:function e5(){}, +ee:function ee(){}, +ed:function ed(a){this.a=a}} +var w=[A,B,C,D,E,F,G,H,J,L,M,N,O,P,T,U,V,W,X,Y] hunkHelpers.setFunctionNamesIfNecessary(w) var $={} -H.f2.prototype={} -J.x.prototype={ -L:function(a,b){return a===b}, -gG:function(a){return H.bt(a)}, -h:function(a){return"Instance of '"+H.b(H.dM(a))+"'"}, -aI:function(a,b){throw H.a(P.fW(a,b.gbL(),b.gbN(),b.gbM()))}} -J.dx.prototype={ +H.f4.prototype={} +J.y.prototype={ +J:function(a,b){return a===b}, +gD:function(a){return H.bp(a)}, +h:function(a){return"Instance of '"+H.dS(a)+"'"}, +bK:function(a,b){throw H.a(P.fV(a,b.gbI(),b.gbM(),b.gbJ()))}} +J.dE.prototype={ h:function(a){return String(a)}, -gG:function(a){return a?519018:218159}} -J.bg.prototype={ -L:function(a,b){return null==b}, +gD:function(a){return a?519018:218159}} +J.cb.prototype={ +J:function(a,b){return null==b}, h:function(a){return"null"}, -gG:function(a){return 0}, -aI:function(a,b){return this.bZ(a,b)}} -J.ae.prototype={ -gG:function(a){return 0}, +gD:function(a){return 0}} +J.ag.prototype={ +gD:function(a){return 0}, h:function(a){return String(a)}} J.cx.prototype={} -J.aU.prototype={} -J.a4.prototype={ +J.aS.prototype={} +J.af.prototype={ h:function(a){var s=a[$.fw()] -if(s==null)return this.c1(a) -return"JavaScript function for "+H.b(J.aq(s))}} -J.m.prototype={ -aD:function(a,b){return new H.a1(a,H.G(a).i("@<1>").R(b).i("a1<1,2>"))}, -a4:function(a,b){if(!!a.fixed$length)H.o(P.q("add")) +if(s==null)return this.c0(a) +return"JavaScript function for "+J.bT(s)}} +J.o.prototype={ +aD:function(a,b){return new H.a1(a,H.z(a).i("@<1>").R(b).i("a1<1,2>"))}, +a2:function(a,b){if(!!a.fixed$length)H.q(P.r("add")) a.push(b)}, aL:function(a,b){var s -if(!!a.fixed$length)H.o(P.q("removeAt")) +if(!!a.fixed$length)H.q(P.r("removeAt")) s=a.length -if(b>=s)throw H.a(P.aR(b,null)) +if(b>=s)throw H.a(P.aO(b,null)) return a.splice(b,1)[0]}, -aG:function(a,b,c){var s -if(!!a.fixed$length)H.o(P.q("insert")) +b6:function(a,b,c){var s +if(!!a.fixed$length)H.q(P.r("insert")) s=a.length -if(b>s)throw H.a(P.aR(b,null)) +if(b>s)throw H.a(P.aO(b,null)) a.splice(b,0,c)}, -bd:function(a,b,c){var s,r -if(!!a.fixed$length)H.o(P.q("insertAll")) -P.h2(b,0,a.length,"index") -if(!t.Q.b(c))c=J.iT(c) -s=J.z(c) +b7:function(a,b,c){var s,r +if(!!a.fixed$length)H.q(P.r("insertAll")) +P.h_(b,0,a.length,"index") +if(!t.X.b(c))c=J.iP(c) +s=J.D(c) a.length=a.length+s r=b+s -this.bq(a,r,a.length,a,b) -this.bW(a,b,r,c)}, -bl:function(a){if(!!a.fixed$length)H.o(P.q("removeLast")) -if(a.length===0)throw H.a(H.an(a,-1)) +this.bj(a,r,a.length,a,b) +this.bX(a,b,r,c)}, +be:function(a){if(!!a.fixed$length)H.q(P.r("removeLast")) +if(a.length===0)throw H.a(H.aF(a,-1)) return a.pop()}, -b5:function(a,b){var s -if(!!a.fixed$length)H.o(P.q("addAll")) -for(s=J.L(b);s.m();)a.push(s.gq())}, -bg:function(a,b,c){return new H.i(a,b,H.G(a).i("@<1>").R(c).i("i<1,2>"))}, -Z:function(a,b){var s,r=P.af(a.length,"",!1,t.N) -for(s=0;s"))}, +aA:function(a,b){var s +if(!!a.fixed$length)H.q(P.r("addAll")) +if(Array.isArray(b)){this.c5(a,b) +return}for(s=J.C(b);s.m();)a.push(s.gp())}, +c5:function(a,b){var s,r=b.length +if(r===0)return +if(a===b)throw H.a(P.Y(a)) +for(s=0;s").R(c).i("i<1,2>"))}, +Z:function(a,b){var s,r=P.a_(a.length,"",!1,t.N) +for(s=0;s0)return a[0] -throw H.a(H.cc())}, +throw H.a(H.c9())}, gK:function(a){var s=a.length if(s>0)return a[s-1] -throw H.a(H.cc())}, -bq:function(a,b,c,d,e){var s,r,q,p,o -if(!!a.immutable$list)H.o(P.q("setRange")) -P.a7(b,c,a.length) +throw H.a(H.c9())}, +bj:function(a,b,c,d,e){var s,r,q,p,o +if(!!a.immutable$list)H.q(P.r("setRange")) +P.a6(b,c,a.length) s=c-b if(s===0)return -P.X(e,"skipCount") +P.Q(e,"skipCount") if(t.j.b(d)){r=d -q=e}else{r=J.fC(d,e).a0(0,!1) -q=0}p=J.I(r) -if(q+s>p.gl(r))throw H.a(H.jb()) -if(q=0;--o)a[b+o]=p.p(r,q+o) -else for(o=0;op.gl(r))throw H.a(H.j6()) +if(q=0;--o)a[b+o]=p.q(r,q+o) +else for(o=0;oa.length)H.z(a).c.a(null) a.length=b}, -p:function(a,b){if(!H.d3(b))throw H.a(H.an(a,b)) -if(b>=a.length||b<0)throw H.a(H.an(a,b)) +q:function(a,b){if(b>=a.length||b<0)throw H.a(H.aF(a,b)) return a[b]}, -B:function(a,b,c){if(!!a.immutable$list)H.o(P.q("indexed set")) -if(b>=a.length||b<0)throw H.a(H.an(a,b)) +C:function(a,b,c){if(!!a.immutable$list)H.q(P.r("indexed set")) +if(b>=a.length||b<0)throw H.a(H.aF(a,b)) a[b]=c}, $ih:1, $in:1} -J.dA.prototype={} -J.b4.prototype={ -gq:function(){return this.d}, +J.dH.prototype={} +J.b2.prototype={ +gp:function(){return H.l(this).c.a(this.d)}, m:function(){var s,r=this,q=r.a,p=q.length if(r.b!==p)throw H.a(H.aI(q)) s=r.c @@ -2817,10 +2856,10 @@ if(s>=p){r.d=null return!1}r.d=q[s] r.c=s+1 return!0}} -J.bh.prototype={ +J.cc.prototype={ h:function(a){if(a===0&&1/a<0)return"-0.0" else return""+a}, -gG:function(a){var s,r,q,p,o=a|0 +gD:function(a){var s,r,q,p,o=a|0 if(a===o)return o&536870911 s=Math.abs(a) r=Math.log(s)/0.6931471805599453|0 @@ -2830,71 +2869,79 @@ return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, aP:function(a,b){var s=a%b if(s===0)return 0 if(s>0)return s -if(b<0)return s-b -else return s+b}, -bA:function(a,b){return(a|0)===a?a/b|0:this.co(a,b)}, -co:function(a,b){var s=a/b +return s+b}, +bw:function(a,b){return(a|0)===a?a/b|0:this.cn(a,b)}, +cn:function(a,b){var s=a/b if(s>=-2147483648&&s<=2147483647)return s|0 if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) -throw H.a(P.q("Result of truncating division is "+H.b(s)+": "+H.b(a)+" ~/ "+b))}, -ck:function(a,b){return b>31?0:a<>>0}, -aa:function(a,b){var s -if(a>0)s=this.bz(a,b) +throw H.a(P.r("Result of truncating division is "+H.d(s)+": "+H.d(a)+" ~/ "+b))}, +cj:function(a,b){return b>31?0:a<>>0}, +a6:function(a,b){var s +if(a>0)s=this.bv(a,b) else{s=b>31?31:b s=a>>s>>>0}return s}, -cl:function(a,b){if(b<0)throw H.a(H.O(b)) -return this.bz(a,b)}, -bz:function(a,b){return b>31?0:a>>>b}} -J.bf.prototype={$if:1} -J.dy.prototype={} -J.ad.prototype={ -n:function(a,b){if(b<0)throw H.a(H.an(a,b)) -if(b>=a.length)H.o(H.an(a,b)) +ck:function(a,b){if(0>b)throw H.a(H.d8(b)) +return this.bv(a,b)}, +bv:function(a,b){return b>31?0:a>>>b}} +J.be.prototype={$if:1} +J.dG.prototype={} +J.aw.prototype={ +n:function(a,b){if(b<0)throw H.a(H.aF(a,b)) +if(b>=a.length)H.q(H.aF(a,b)) return a.charCodeAt(b)}, -k:function(a,b){if(b>=a.length)throw H.a(H.an(a,b)) +k:function(a,b){if(b>=a.length)throw H.a(H.aF(a,b)) return a.charCodeAt(b)}, -aC:function(a,b,c){var s -if(typeof b!="string")H.o(H.O(b)) -s=b.length -if(c>s)throw H.a(P.r(c,0,s,null,null)) -return new H.cY(b,a,c)}, +aC:function(a,b,c){var s=b.length +if(c>s)throw H.a(P.t(c,0,s,null,null)) +return new H.d2(b,a,c)}, aB:function(a,b){return this.aC(a,b,0)}, -bK:function(a,b,c){var s,r,q=null -if(c<0||c>b.length)throw H.a(P.r(c,0,b.length,q,q)) +bH:function(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw H.a(P.t(c,0,b.length,q,q)) s=a.length if(c+s>b.length)return q for(r=0;rr)return!1 return b===this.w(a,r-s)}, -bP:function(a,b,c){P.h2(0,0,a.length,"startIndex") -return H.kW(a,b,c,0)}, -X:function(a,b,c,d){var s=P.a7(b,c,a.length) +bO:function(a,b,c){P.h_(0,0,a.length,"startIndex") +return H.l_(a,b,c,0)}, +am:function(a,b){if(typeof b=="string")return H.b(a.split(b),t.s) +else if(b instanceof H.ax&&b.gbs().exec("").length-2===0)return H.b(a.split(b.b),t.s) +else return this.c8(a,b)}, +X:function(a,b,c,d){var s=P.a6(b,c,a.length) return H.fv(a,b,s,d)}, -D:function(a,b,c){var s -if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +c8:function(a,b){var s,r,q,p,o,n,m=H.b([],t.s) +for(s=J.fB(b,a),s=s.gu(s),r=0,q=1;s.m();){p=s.gp() +o=p.gM() +n=p.gS() +q=n-o +if(q===0&&r===o)continue +m.push(this.j(a,r,o)) +r=n}if(r0)m.push(this.w(a,r)) +return m}, +B:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.t(c,0,a.length,null,null)) if(typeof b=="string"){s=c+b.length if(s>a.length)return!1 -return b===a.substring(c,s)}return J.iP(b,a,c)!=null}, -v:function(a,b){return this.D(a,b,0)}, +return b===a.substring(c,s)}return J.iN(b,a,c)!=null}, +t:function(a,b){return this.B(a,b,0)}, j:function(a,b,c){if(c==null)c=a.length -if(b<0)throw H.a(P.aR(b,null)) -if(b>c)throw H.a(P.aR(b,null)) -if(c>a.length)throw H.a(P.aR(c,null)) +if(b<0)throw H.a(P.aO(b,null)) +if(b>c)throw H.a(P.aO(b,null)) +if(c>a.length)throw H.a(P.aO(c,null)) return a.substring(b,c)}, w:function(a,b){return this.j(a,b,null)}, -bo:function(a){var s,r,q,p=a.trim(),o=p.length +bh:function(a){var s,r,q,p=a.trim(),o=p.length if(o===0)return p -if(this.k(p,0)===133){s=J.jd(p,1) +if(this.k(p,0)===133){s=J.j9(p,1) if(s===o)return""}else s=0 r=o-1 -q=this.n(p,r)===133?J.je(p,r):o +q=this.n(p,r)===133?J.ja(p,r):o if(s===0&&q===o)return p return p.substring(s,q)}, -bp:function(a,b){var s,r +bi:function(a,b){var s,r if(0>=b)return"" if(b===1||a.length===0)return a if(b!==b>>>0)throw H.a(C.N) @@ -2902,289 +2949,279 @@ for(s=a,r="";!0;){if((b&1)===1)r=s+r b=b>>>1 if(b===0)break s+=s}return r}, -cH:function(a,b){var s=b-a.length +bL:function(a,b){var s=b-a.length if(s<=0)return a -return a+this.bp(" ",s)}, -a6:function(a,b,c){var s -if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +return a+this.bi(" ",s)}, +a4:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.t(c,0,a.length,null,null)) s=a.indexOf(b,c) return s}, -at:function(a,b){return this.a6(a,b,0)}, -bJ:function(a,b,c){var s,r +ar:function(a,b){return this.a4(a,b,0)}, +bG:function(a,b,c){var s,r if(c==null)c=a.length -else if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +else if(c<0||c>a.length)throw H.a(P.t(c,0,a.length,null,null)) s=b.length r=a.length if(c+s>r)c=r-s return a.lastIndexOf(b,c)}, -bI:function(a,b){return this.bJ(a,b,null)}, -A:function(a,b){if(b==null)H.o(H.O(b)) -return H.kS(a,b,0)}, +bF:function(a,b){return this.bG(a,b,null)}, +A:function(a,b){return H.kW(a,b,0)}, h:function(a){return a}, -gG:function(a){var s,r,q +gD:function(a){var s,r,q for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 r^=r>>11 return r+((r&16383)<<15)&536870911}, gl:function(a){return a.length}, -p:function(a,b){if(b>=a.length||b<0)throw H.a(H.an(a,b)) +q:function(a,b){if(b>=a.length||b<0)throw H.a(H.aF(a,b)) return a[b]}, $ie:1} -H.aj.prototype={ -gu:function(a){var s=H.H(this) -return new H.c0(J.L(this.ga2()),s.i("@<1>").R(s.Q[1]).i("c0<1,2>"))}, -gl:function(a){return J.z(this.ga2())}, -gE:function(a){return J.d7(this.ga2())}, -gai:function(a){return J.eW(this.ga2())}, -Y:function(a,b){var s=H.H(this) -return H.fI(J.fC(this.ga2(),b),s.c,s.Q[1])}, -C:function(a,b){return H.H(this).Q[1].a(J.bU(this.ga2(),b))}, -h:function(a){return J.aq(this.ga2())}} -H.c0.prototype={ +H.am.prototype={ +gu:function(a){var s=H.l(this) +return new H.bZ(J.C(this.ga0()),s.i("@<1>").R(s.Q[1]).i("bZ<1,2>"))}, +gl:function(a){return J.D(this.ga0())}, +gG:function(a){return J.fC(this.ga0())}, +gas:function(a){return J.iL(this.ga0())}, +Y:function(a,b){var s=H.l(this) +return H.fI(J.fD(this.ga0(),b),s.c,s.Q[1])}, +F:function(a,b){return H.l(this).Q[1].a(J.dc(this.ga0(),b))}, +h:function(a){return J.bT(this.ga0())}} +H.bZ.prototype={ m:function(){return this.a.m()}, -gq:function(){return this.$ti.Q[1].a(this.a.gq())}} +gp:function(){return this.$ti.Q[1].a(this.a.gp())}} H.ar.prototype={ -ga2:function(){return this.a}} -H.bE.prototype={$ih:1} -H.bD.prototype={ -p:function(a,b){return this.$ti.Q[1].a(J.eU(this.a,b))}, -B:function(a,b,c){J.iI(this.a,b,this.$ti.c.a(c))}, +ga0:function(){return this.a}} +H.bB.prototype={$ih:1} +H.bA.prototype={ +q:function(a,b){return this.$ti.Q[1].a(J.eZ(this.a,b))}, +C:function(a,b,c){J.iG(this.a,b,this.$ti.c.a(c))}, $ih:1, $in:1} H.a1.prototype={ aD:function(a,b){return new H.a1(this.a,this.$ti.i("@<1>").R(b).i("a1<1,2>"))}, -ga2:function(){return this.a}} -H.bj.prototype={ -h:function(a){var s=this.a -return s!=null?"LateInitializationError: "+s:"LateInitializationError"}} -H.cy.prototype={ -h:function(a){var s="ReachabilityError: "+this.a +ga0:function(){return this.a}} +H.ci.prototype={ +h:function(a){var s="LateInitializationError: "+this.a return s}} -H.aK.prototype={ +H.aJ.prototype={ gl:function(a){return this.a.length}, -p:function(a,b){return C.a.n(this.a,b)}} +q:function(a,b){return C.a.n(this.a,b)}} H.h.prototype={} -H.A.prototype={ -gu:function(a){return new H.aw(this,this.gl(this))}, -gE:function(a){return this.gl(this)===0}, +H.F.prototype={ +gu:function(a){return new H.ah(this,this.gl(this))}, +gG:function(a){return this.gl(this)===0}, Z:function(a,b){var s,r,q,p=this,o=p.gl(p) if(b.length!==0){if(o===0)return"" -s=H.b(p.C(0,0)) -if(o!==p.gl(p))throw H.a(P.a3(p)) -for(r=s,q=1;qs)throw H.a(P.r(r,0,s,"start",null))}}, -gc9:function(){var s=J.z(this.a),r=this.c +if(s!=null){P.Q(s,"end") +if(r>s)throw H.a(P.t(r,0,s,"start",null))}}, +gca:function(){var s=J.D(this.a),r=this.c if(r==null||r>s)return s return r}, -gcn:function(){var s=J.z(this.a),r=this.b +gcm:function(){var s=J.D(this.a),r=this.b if(r>s)return s return r}, -gl:function(a){var s,r=J.z(this.a),q=this.b +gl:function(a){var s,r=J.D(this.a),q=this.b if(q>=r)return 0 s=this.c if(s==null||s>=r)return r-q return s-q}, -C:function(a,b){var s=this,r=s.gcn()+b -if(b<0||r>=s.gc9())throw H.a(P.f0(b,s,"index",null,null)) -return J.bU(s.a,r)}, +F:function(a,b){var s=this,r=s.gcm()+b +if(b<0||r>=s.gca())throw H.a(P.dB(b,s,"index",null,null)) +return J.dc(s.a,r)}, Y:function(a,b){var s,r,q=this -P.X(b,"count") +P.Q(b,"count") s=q.b+b r=q.c -if(r!=null&&s>=r)return new H.bb(q.$ti.i("bb<1>")) -return H.aE(q.a,s,r,q.$ti.c)}, -a0:function(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.I(n),l=m.gl(n),k=p.c +if(r!=null&&s>=r)return new H.ba(q.$ti.i("ba<1>")) +return H.aP(q.a,s,r,q.$ti.c)}, +a_:function(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.S(n),l=m.gl(n),k=p.c if(k!=null&&k=o){r.d=null -return!1}r.d=p.C(q,s);++r.c +return!1}r.d=p.F(q,s);++r.c return!0}} -H.W.prototype={ -gu:function(a){return new H.bo(J.L(this.a),this.b)}, -gl:function(a){return J.z(this.a)}, -gE:function(a){return J.d7(this.a)}, -C:function(a,b){return this.b.$1(J.bU(this.a,b))}} -H.ba.prototype={$ih:1} -H.bo.prototype={ +H.L.prototype={ +gu:function(a){return new H.bj(J.C(this.a),this.b)}, +gl:function(a){return J.D(this.a)}, +gG:function(a){return J.fC(this.a)}, +F:function(a,b){return this.b.$1(J.dc(this.a,b))}} +H.b8.prototype={$ih:1} +H.bj.prototype={ m:function(){var s=this,r=s.b -if(r.m()){s.a=s.c.$1(r.gq()) +if(r.m()){s.a=s.c.$1(r.gp()) return!0}s.a=null return!1}, -gq:function(){var s=this.a -return s}} +gp:function(){return H.l(this).Q[1].a(this.a)}} H.i.prototype={ -gl:function(a){return J.z(this.a)}, -C:function(a,b){return this.b.$1(J.bU(this.a,b))}} -H.M.prototype={ -gu:function(a){return new H.bC(J.L(this.a),this.b)}} -H.bC.prototype={ +gl:function(a){return J.D(this.a)}, +F:function(a,b){return this.b.$1(J.dc(this.a,b))}} +H.E.prototype={ +gu:function(a){return new H.by(J.C(this.a),this.b)}} +H.by.prototype={ m:function(){var s,r -for(s=this.a,r=this.b;s.m();)if(r.$1(s.gq()))return!0 +for(s=this.a,r=this.b;s.m();)if(r.$1(s.gp()))return!0 return!1}, -gq:function(){return this.a.gq()}} -H.bd.prototype={ -gu:function(a){return new H.c6(J.L(this.a),this.b,C.r)}} -H.c6.prototype={ -gq:function(){var s=this.d -return s}, +gp:function(){return this.a.gp()}} +H.bc.prototype={ +gu:function(a){return new H.c4(J.C(this.a),this.b,C.q)}} +H.c4.prototype={ +gp:function(){return H.l(this).Q[1].a(this.d)}, m:function(){var s,r,q=this,p=q.c if(p==null)return!1 for(s=q.a,r=q.b;!p.m();){q.d=null if(s.m()){q.c=null -p=J.L(r.$1(s.gq())) -q.c=p}else return!1}q.d=q.c.gq() +p=J.C(r.$1(s.gp())) +q.c=p}else return!1}q.d=q.c.gp() return!0}} -H.a8.prototype={ -Y:function(a,b){P.d9(b,"count") -P.X(b,"count") -return new H.a8(this.a,this.b+b,H.H(this).i("a8<1>"))}, -gu:function(a){return new H.cA(J.L(this.a),this.b)}} -H.aL.prototype={ -gl:function(a){var s=J.z(this.a)-this.b +H.aD.prototype={ +gu:function(a){return new H.cJ(J.C(this.a),this.b)}} +H.b9.prototype={ +gl:function(a){var s=J.D(this.a),r=this.b +if(s>r)return r +return s}, +$ih:1} +H.cJ.prototype={ +m:function(){if(--this.b>=0)return this.a.m() +this.b=-1 +return!1}, +gp:function(){if(this.b<0)return H.l(this).c.a(null) +return this.a.gp()}} +H.a7.prototype={ +Y:function(a,b){P.Q(b,"count") +return new H.a7(this.a,this.b+b,H.l(this).i("a7<1>"))}, +gu:function(a){return new H.cB(J.C(this.a),this.b)}} +H.aK.prototype={ +gl:function(a){var s=J.D(this.a)-this.b if(s>=0)return s return 0}, -Y:function(a,b){P.d9(b,"count") -P.X(b,"count") -return new H.aL(this.a,this.b+b,this.$ti)}, +Y:function(a,b){P.Q(b,"count") +return new H.aK(this.a,this.b+b,this.$ti)}, $ih:1} -H.cA.prototype={ +H.cB.prototype={ m:function(){var s,r for(s=this.a,r=0;r"))}} +H.cU.prototype={ +m:function(){var s,r +for(s=this.a,r=this.$ti.c;s.m();)if(r.b(s.gp()))return!0 +return!1}, +gp:function(){return this.$ti.c.a(this.a.gp())}} +H.c5.prototype={} +H.cN.prototype={ +C:function(a,b,c){throw H.a(P.r("Cannot modify an unmodifiable list"))}} +H.aT.prototype={} +H.aA.prototype={ +gl:function(a){return J.D(this.a)}, +F:function(a,b){var s=this.a,r=J.S(s) +return r.F(s,r.gl(s)-1-b)}} +H.aQ.prototype={ +gD:function(a){var s=this._hashCode if(s!=null)return s -s=664597*J.aJ(this.a)&536870911 +s=664597*J.dd(this.a)&536870911 this._hashCode=s return s}, -h:function(a){return'Symbol("'+H.b(this.a)+'")'}, -L:function(a,b){if(b==null)return!1 -return b instanceof H.aS&&this.a==b.a}, -$icH:1} -H.bO.prototype={} -H.b7.prototype={} -H.b6.prototype={ -gE:function(a){return this.gl(this)===0}, -h:function(a){return P.dE(this)}, -B:function(a,b,c){H.j4() -H.aA(u.w)}, -$iS:1} -H.b8.prototype={ +h:function(a){return'Symbol("'+H.d(this.a)+'")'}, +J:function(a,b){if(b==null)return!1 +return b instanceof H.aQ&&this.a==b.a}, +$icI:1} +H.bN.prototype={} +H.b6.prototype={} +H.b5.prototype={ +gG:function(a){return this.gl(this)===0}, +h:function(a){return P.dM(this)}, +C:function(a,b,c){H.j0()}, +$iP:1} +H.b7.prototype={ gl:function(a){return this.a}, -J:function(a){if(typeof a!="string")return!1 -if("__proto__"===a)return!1 +L:function(a){if("__proto__"===a)return!1 return this.b.hasOwnProperty(a)}, -p:function(a,b){if(!this.J(b))return null -return this.bu(b)}, -bu:function(a){return this.b[a]}, -S:function(a,b){var s,r,q,p=this.c +q:function(a,b){if(!this.L(b))return null +return this.bn(b)}, +bn:function(a){return this.b[a]}, +T:function(a,b){var s,r,q,p=this.c for(s=p.length,r=0;r" -return H.b(this.a)+" with "+s}} -H.cb.prototype={ +return this.a.h(0)+" with "+s}} +H.c8.prototype={ $2:function(a,b){return this.a.$1$2(a,b,this.$ti.Q[0])}, -$S:function(){return H.kI(H.fq(this.a),this.$ti)}} -H.dz.prototype={ -gbL:function(){var s=this.a +$S:function(){return H.kL(H.fp(this.a),this.$ti)}} +H.dF.prototype={ +gbI:function(){var s=this.a return s}, -gbN:function(){var s,r,q,p,o=this -if(o.c===1)return C.l +gbM:function(){var s,r,q,p,o=this +if(o.c===1)return C.y s=o.d r=s.length-o.e.length-o.f -if(r===0)return C.l +if(r===0)return C.y q=[] for(p=0;p>>0}, -h:function(a){var s=this.c +if(!(b instanceof H.b3))return!1 +return s.a===b.a&&s.$_target===b.$_target&&s.b===b.b}, +gD:function(a){var s,r=this.b +if(r==null)s=H.bp(this.a) +else s=typeof r!=="object"?J.dd(r):H.bp(r) +return(s^H.bp(this.$_target))>>>0}, +h:function(a){var s=this.b if(s==null)s=this.a -return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.b(H.dM(s))+"'")}} -H.cz.prototype={ +return"Closure '"+this.$_name+"' of "+("Instance of '"+H.dS(s)+"'")}} +H.cA.prototype={ h:function(a){return"RuntimeError: "+this.a}} -H.em.prototype={} -H.a5.prototype={ +H.et.prototype={} +H.a3.prototype={ gl:function(a){return this.a}, -gE:function(a){return this.a===0}, -gac:function(){return new H.a6(this,H.H(this).i("a6<1>"))}, -gbS:function(){var s=H.H(this) -return H.dG(new H.a6(this,s.i("a6<1>")),new H.dB(this),s.c,s.Q[1])}, -J:function(a){var s,r -if(typeof a=="string"){s=this.b -if(s==null)return!1 -return this.c7(s,a)}else{r=this.cD(a) -return r}}, -cD:function(a){var s=this.d +gG:function(a){return this.a===0}, +ga8:function(){return new H.a4(this,H.l(this).i("a4<1>"))}, +gbR:function(){var s=H.l(this) +return H.cn(new H.a4(this,s.i("a4<1>")),new H.dI(this),s.c,s.Q[1])}, +L:function(a){var s=this.b if(s==null)return!1 -return this.be(this.aV(s,J.aJ(a)&0x3ffffff),a)>=0}, -p:function(a,b){var s,r,q,p,o=this,n=null +return this.c7(s,a)}, +q:function(a,b){var s,r,q,p,o=this,n=null if(typeof b=="string"){s=o.b if(s==null)return n -r=o.az(s,b) +r=o.ay(s,b) q=r==null?n:r.b return q}else if(typeof b=="number"&&(b&0x3ffffff)===b){p=o.c if(p==null)return n -r=o.az(p,b) +r=o.ay(p,b) q=r==null?n:r.b -return q}else return o.cE(b)}, -cE:function(a){var s,r,q=this.d +return q}else return o.cC(b)}, +cC:function(a){var s,r,q=this.d if(q==null)return null -s=this.aV(q,J.aJ(a)&0x3ffffff) -r=this.be(s,a) +s=this.bo(q,J.dd(a)&0x3ffffff) +r=this.bC(s,a) if(r<0)return null return s[r].b}, -B:function(a,b,c){var s,r,q,p,o,n,m=this +C:function(a,b,c){var s,r,q,p,o,n,m=this if(typeof b=="string"){s=m.b -m.bs(s==null?m.b=m.aZ():s,b,c)}else if(typeof b=="number"&&(b&0x3ffffff)===b){r=m.c -m.bs(r==null?m.c=m.aZ():r,b,c)}else{q=m.d -if(q==null)q=m.d=m.aZ() -p=J.aJ(b)&0x3ffffff -o=m.aV(q,p) -if(o==null)m.b1(q,p,[m.b_(b,c)]) -else{n=m.be(o,b) +m.bl(s==null?m.b=m.aU():s,b,c)}else if(typeof b=="number"&&(b&0x3ffffff)===b){r=m.c +m.bl(r==null?m.c=m.aU():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aU() +p=J.dd(b)&0x3ffffff +o=m.bo(q,p) +if(o==null)m.aX(q,p,[m.aV(b,c)]) +else{n=m.bC(o,b) if(n>=0)o[n].b=c -else o.push(m.b_(b,c))}}}, -S:function(a,b){var s=this,r=s.e,q=s.r +else o.push(m.aV(b,c))}}}, +T:function(a,b){var s=this,r=s.e,q=s.r for(;r!=null;){b.$2(r.a,r.b) -if(q!==s.r)throw H.a(P.a3(s)) +if(q!==s.r)throw H.a(P.Y(s)) r=r.c}}, -bs:function(a,b,c){var s=this.az(a,b) -if(s==null)this.b1(a,b,this.b_(b,c)) +bl:function(a,b,c){var s=this.ay(a,b) +if(s==null)this.aX(a,b,this.aV(b,c)) else s.b=c}, -b_:function(a,b){var s=this,r=new H.dC(a,b) +aV:function(a,b){var s=this,r=new H.dJ(a,b) if(s.e==null)s.e=s.f=r else s.f=s.f.c=r;++s.a s.r=s.r+1&67108863 return r}, -be:function(a,b){var s,r +bC:function(a,b){var s,r if(a==null)return-1 s=a.length -for(r=0;rs)throw H.a(P.r(c,0,s,null,null)) -return new H.cR(this,b,c)}, +if(c>s)throw H.a(P.t(c,0,s,null,null)) +return new H.cW(this,b,c)}, aB:function(a,b){return this.aC(a,b,0)}, -bt:function(a,b){var s,r=this.gbx() +bm:function(a,b){var s,r=this.gbt() r.lastIndex=b s=r.exec(a) if(s==null)return null -return new H.aW(s)}, -ca:function(a,b){var s,r=this.gcg() +return new H.aV(s)}, +cb:function(a,b){var s,r=this.gbs() r.lastIndex=b s=r.exec(a) if(s==null)return null if(s.pop()!=null)return null -return new H.aW(s)}, -bK:function(a,b,c){if(c<0||c>b.length)throw H.a(P.r(c,0,b.length,null,null)) -return this.ca(b,c)}} -H.aW.prototype={ +return new H.aV(s)}, +bH:function(a,b,c){if(c<0||c>b.length)throw H.a(P.t(c,0,b.length,null,null)) +return this.cb(b,c)}} +H.aV.prototype={ gM:function(){return this.b.index}, -gU:function(){var s=this.b +gS:function(){var s=this.b return s.index+s[0].length}, -p:function(a,b){return this.b[b]}, -$ibp:1, -$idN:1} -H.cR.prototype={ -gu:function(a){return new H.cS(this.a,this.b,this.c)}} -H.cS.prototype={ -gq:function(){return this.d}, +q:function(a,b){return this.b[b]}, +$ibk:1, +$icz:1} +H.cW.prototype={ +gu:function(a){return new H.cX(this.a,this.b,this.c)}} +H.cX.prototype={ +gp:function(){return t.d.a(this.d)}, m:function(){var s,r,q,p,o,n=this,m=n.b if(m==null)return!1 s=n.c r=m.length if(s<=r){q=n.a -p=q.bt(m,s) +p=q.bm(m,s) if(p!=null){n.d=p -o=p.gU() +o=p.gS() if(p.b.index===o){if(q.b.unicode){s=n.c q=s+1 if(q=56320&&s<=57343}else s=!1}else s=!1}else s=!1 o=(s?o+1:o)+1}n.c=o return!0}}n.b=n.d=null return!1}} -H.by.prototype={ -gU:function(){return this.a+this.c.length}, -p:function(a,b){if(b!==0)H.o(P.aR(b,null)) +H.bu.prototype={ +gS:function(){return this.a+this.c.length}, +q:function(a,b){if(b!==0)H.q(P.aO(b,null)) return this.c}, -$ibp:1, +$ibk:1, gM:function(){return this.a}} -H.cY.prototype={ -gu:function(a){return new H.en(this.a,this.b,this.c)}} -H.en.prototype={ +H.d2.prototype={ +gu:function(a){return new H.eu(this.a,this.b,this.c)}} +H.eu.prototype={ m:function(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length if(p+n>l){q.d=null return!1}s=m.indexOf(o,p) if(s<0){q.c=l+1 q.d=null return!1}r=s+n -q.d=new H.by(s,o) +q.d=new H.bu(s,o) q.c=r===q.c?r+1:r return!0}, -gq:function(){var s=this.d +gp:function(){var s=this.d s.toString return s}} -H.cq.prototype={} -H.aP.prototype={ +H.cr.prototype={} +H.aN.prototype={ gl:function(a){return a.length}, -$iaO:1} -H.bq.prototype={ -B:function(a,b,c){H.es(b,a,a.length) +$iaM:1} +H.bl.prototype={ +C:function(a,b,c){H.ez(b,a,a.length) a[b]=c}, $ih:1, $in:1} -H.cp.prototype={ -p:function(a,b){H.es(b,a,a.length) +H.cq.prototype={ +q:function(a,b){H.ez(b,a,a.length) return a[b]}} -H.cr.prototype={ -p:function(a,b){H.es(b,a,a.length) +H.cs.prototype={ +q:function(a,b){H.ez(b,a,a.length) return a[b]}} H.ay.prototype={ gl:function(a){return a.length}, -p:function(a,b){H.es(b,a,a.length) +q:function(a,b){H.ez(b,a,a.length) return a[b]}, $iay:1, -$if8:1} -H.bG.prototype={} -H.bH.prototype={} -H.Y.prototype={ -i:function(a){return H.d1(v.typeUniverse,this,a)}, -R:function(a){return H.jS(v.typeUniverse,this,a)}} -H.cV.prototype={} +$ieh:1} +H.bD.prototype={} +H.bE.prototype={} +H.W.prototype={ +i:function(a){return H.d6(v.typeUniverse,this,a)}, +R:function(a){return H.jR(v.typeUniverse,this,a)}} +H.d_.prototype={} +H.d3.prototype={ +h:function(a){return H.M(this.a,null)}} H.cZ.prototype={ -h:function(a){return H.P(this.a,null)}} -H.cU.prototype={ h:function(a){return this.a}} -H.bI.prototype={} -P.cG.prototype={} -P.be.prototype={} -P.bk.prototype={$ih:1,$in:1} +H.bH.prototype={} +P.aU.prototype={ +h:function(a){return"IterationMarker("+this.b+", "+H.d(this.a)+")"}} +P.bG.prototype={ +gp:function(){var s=this.c +if(s==null)return this.b +return s.gp()}, +m:function(){var s,r,q,p,o,n=this +for(;!0;){s=n.c +if(s!=null)if(s.m())return!0 +else n.c=null +r=function(a,b,c){var m,l=b +while(true)try{return a(l,m)}catch(k){m=k +l=c}}(n.a,0,1) +if(r instanceof P.aU){q=r.b +if(q===2){p=n.d +if(p==null||p.length===0){n.b=null +return!1}n.a=p.pop() +continue}else{s=r.a +if(q===3)throw s +else{o=J.C(s) +if(o instanceof P.bG){s=n.d +if(s==null)s=n.d=[] +s.push(n.a) +n.a=o.a +continue}else{n.c=o +continue}}}}else{n.b=r +return!0}}return!1}} +P.bF.prototype={ +gu:function(a){return new P.bG(this.a())}} +P.cH.prototype={} +P.bd.prototype={} +P.bg.prototype={$ih:1,$in:1} P.p.prototype={ -gu:function(a){return new H.aw(a,this.gl(a))}, -C:function(a,b){return this.p(a,b)}, -gE:function(a){return this.gl(a)===0}, -gai:function(a){return!this.gE(a)}, -bg:function(a,b,c){return new H.i(a,b,H.a_(a).i("@").R(c).i("i<1,2>"))}, -Y:function(a,b){return H.aE(a,b,null,H.a_(a).i("p.E"))}, -a0:function(a,b){var s,r,q,p,o=this -if(o.gE(a)){s=J.fQ(0,H.a_(a).i("p.E")) -return s}r=o.p(a,0) -q=P.af(o.gl(a),r,!0,H.a_(a).i("p.E")) -for(p=1;p").R(c).i("i<1,2>"))}, +Y:function(a,b){return H.aP(a,b,null,H.T(a).i("p.E"))}, +a_:function(a,b){var s,r,q,p,o=this +if(o.gG(a)){s=J.fQ(0,H.T(a).i("p.E")) +return s}r=o.q(a,0) +q=P.a_(o.gl(a),r,!0,H.T(a).i("p.E")) +for(p=1;p").R(b).i("a1<1,2>"))}, -cz:function(a,b,c,d){var s -P.a7(b,c,this.gl(a)) -for(s=b;s").R(b).i("a1<1,2>"))}, +cw:function(a,b,c,d){var s +H.T(a).i("p.E").a(d) +P.a6(b,c,this.gl(a)) +for(s=b;s"))}return new P.cX(this)}, -B:function(a,b,c){var s,r,q=this -if(q.b==null)q.c.B(0,b,c) -else if(q.J(b)){s=q.b +return typeof s=="undefined"?this.ci(b):s}}, +gl:function(a){return this.b==null?this.c.a:this.an().length}, +gG:function(a){return this.gl(this)===0}, +ga8:function(){if(this.b==null){var s=this.c +return new H.a4(s,H.l(s).i("a4<1>"))}return new P.d1(this)}, +C:function(a,b,c){var s,r,q=this +if(q.b==null)q.c.C(0,b,c) +else if(q.L(b)){s=q.b s[b]=c r=q.a -if(r==null?s!=null:r!==s)r[b]=null}else q.cp().B(0,b,c)}, -J:function(a){if(this.b==null)return this.c.J(a) -if(typeof a!="string")return!1 +if(r==null?s!=null:r!==s)r[b]=null}else q.co().C(0,b,c)}, +L:function(a){if(this.b==null)return this.c.L(a) return Object.prototype.hasOwnProperty.call(this.a,a)}, -S:function(a,b){var s,r,q,p,o=this -if(o.b==null)return o.c.S(0,b) -s=o.ap() +T:function(a,b){var s,r,q,p,o=this +if(o.b==null)return o.c.T(0,b) +s=o.an() for(r=0;r=0)P.fD(a0,n,a2,o,m,d) +if(o>=0)P.fF(a0,n,a2,o,m,d) else{c=C.c.aP(d-1,4)+1 -if(c===1)throw H.a(P.l(a,a0,a2)) +if(c===1)throw H.a(P.m(a,a0,a2)) for(;c<4;){e+="=" p.a=e;++c}}e=p.a return C.a.X(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 -if(o>=0)P.fD(a0,n,a2,o,m,b) +if(o>=0)P.fF(a0,n,a2,o,m,b) else{c=C.c.aP(b,4) -if(c===1)throw H.a(P.l(a,a0,a2)) +if(c===1)throw H.a(P.m(a,a0,a2)) if(c>1)a0=C.a.X(a0,a2,a2,c===2?"==":"=")}return a0}} -P.c_.prototype={} -P.ac.prototype={} -P.a0.prototype={} -P.c5.prototype={} -P.bi.prototype={ +P.bY.prototype={} +P.ae.prototype={} +P.Z.prototype={} +P.c3.prototype={} +P.bf.prototype={ h:function(a){var s=P.au(this.a) return(this.b!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+s}} -P.cg.prototype={ -h:function(a){return"Cyclic error in JSON stringify"}} P.cf.prototype={ -bE:function(a,b){var s=P.ko(a,this.gct().a) +h:function(a){return"Cyclic error in JSON stringify"}} +P.ce.prototype={ +bA:function(a,b){var s=P.ks(a,this.gcs().a) return s}, -cw:function(a,b){var s=P.jE(a,this.gb7().b,null) +cv:function(a,b){var s=P.jD(a,this.gb1().b,null) return s}, -gb7:function(){return C.U}, -gct:function(){return C.T}} -P.ci.prototype={} +gb1:function(){return C.T}, +gcs:function(){return C.S}} P.ch.prototype={} -P.ej.prototype={ -bU:function(a){var s,r,q,p,o,n,m=this,l=a.length -for(s=J.u(a),r=0,q=0;q92){if(p>=55296){o=p&64512 -if(o===55296){n=q+1 -n=!(n=0&&(C.a.n(a,o)&64512)===55296)}else o=!1 -else o=!0 -if(o){if(q>r)m.aO(a,r,q) -r=q+1 -m.H(92) -m.H(117) -m.H(100) -o=p>>>8&15 -m.H(o<10?48+o:87+o) -o=p>>>4&15 -m.H(o<10?48+o:87+o) -o=p&15 -m.H(o<10?48+o:87+o)}}continue}if(p<32){if(q>r)m.aO(a,r,q) -r=q+1 -m.H(92) -switch(p){case 8:m.H(98) +P.cg.prototype={} +P.eq.prototype={ +bU:function(a){var s,r,q,p,o,n=this,m=a.length +for(s=0,r=0;r92){if(q>=55296){p=q&64512 +if(p===55296){o=r+1 +o=!(o=0&&(C.a.n(a,p)&64512)===55296)}else p=!1 +else p=!0 +if(p){if(r>s)n.aO(a,s,r) +s=r+1 +n.H(92) +n.H(117) +n.H(100) +p=q>>>8&15 +n.H(p<10?48+p:87+p) +p=q>>>4&15 +n.H(p<10?48+p:87+p) +p=q&15 +n.H(p<10?48+p:87+p)}}continue}if(q<32){if(r>s)n.aO(a,s,r) +s=r+1 +n.H(92) +switch(q){case 8:n.H(98) break -case 9:m.H(116) +case 9:n.H(116) break -case 10:m.H(110) +case 10:n.H(110) break -case 12:m.H(102) +case 12:n.H(102) break -case 13:m.H(114) +case 13:n.H(114) break -default:m.H(117) -m.H(48) -m.H(48) -o=p>>>4&15 -m.H(o<10?48+o:87+o) -o=p&15 -m.H(o<10?48+o:87+o) -break}}else if(p===34||p===92){if(q>r)m.aO(a,r,q) -r=q+1 -m.H(92) -m.H(p)}}if(r===0)m.N(a) -else if(r>>4&15 +n.H(p<10?48+p:87+p) +p=q&15 +n.H(p<10?48+p:87+p) +break}}else if(q===34||q===92){if(r>s)n.aO(a,s,r) +s=r+1 +n.H(92) +n.H(q)}}if(s===0)n.O(a) +else if(s>>6&63|128 o.b=p+1 r[p]=s&63|128 -return!0}else{o.b3() +return!0}else{o.aZ() return!1}}, -cb:function(a,b,c){var s,r,q,p,o,n,m,l=this +cc:function(a,b,c){var s,r,q,p,o,n,m,l=this if(b!==c&&(C.a.n(a,c-1)&64512)===55296)--c for(s=l.c,r=s.length,q=b;qr)break n=q+1 -if(l.cq(p,C.a.k(a,n)))q=n}else if(o===56320){if(l.b+3>r)break -l.b3()}else if(p<=2047){o=l.b +if(l.cp(p,C.a.k(a,n)))q=n}else if(o===56320){if(l.b+3>r)break +l.aZ()}else if(p<=2047){o=l.b m=o+1 if(m>=r)break l.b=m @@ -3790,39 +3852,39 @@ o=l.b=m+1 s[m]=p>>>6&63|128 l.b=o+1 s[o]=p&63|128}}}return q}} -P.cP.prototype={ -aq:function(a){var s=this.a,r=P.jB(s,a,0,null) +P.cS.prototype={ +ao:function(a){var s=this.a,r=P.jy(s,a,0,null) if(r!=null)return r -return new P.eq(s).cr(a,0,null,!0)}} -P.eq.prototype={ -cr:function(a,b,c,d){var s,r,q,p,o,n=this,m=P.a7(b,c,J.z(a)) +return new P.ex(s).cq(a,0,null,!0)}} +P.ex.prototype={ +cq:function(a,b,c,d){var s,r,q,p,o,n=this,m=P.a6(b,c,J.D(a)) if(b===m)return"" -if(t.p.b(a)){s=a -r=0}else{s=P.k1(a,b,m) +if(t.n.b(a)){s=a +r=0}else{s=P.k2(a,b,m) m-=b r=b -b=0}q=n.aS(s,b,m,!0) +b=0}q=n.aR(s,b,m,!0) p=n.b -if((p&1)!==0){o=P.k2(p) +if((p&1)!==0){o=P.k3(p) n.b=0 -throw H.a(P.l(o,a,r+n.c))}return q}, -aS:function(a,b,c,d){var s,r,q=this -if(c-b>1000){s=C.c.bA(b+c,2) -r=q.aS(a,b,s,!1) +throw H.a(P.m(o,a,r+n.c))}return q}, +aR:function(a,b,c,d){var s,r,q=this +if(c-b>1000){s=C.c.bw(b+c,2) +r=q.aR(a,b,s,!1) if((q.b&1)!==0)return r -return r+q.aS(a,s,c,d)}return q.cs(a,b,c,d)}, -cs:function(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new P.y(""),g=b+1,f=a[b] +return r+q.aR(a,s,c,d)}return q.cr(a,b,c,d)}, +cr:function(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new P.w(""),g=b+1,f=a[b] $label0$0:for(s=l.a;!0;){for(;!0;g=p){r=C.a.k("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE",f)&31 i=j<=32?f&61694>>>r:(f&63|i<<6)>>>0 j=C.a.k(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",j+r) -if(j===0){h.a+=H.F(i) +if(j===0){h.a+=H.G(i) if(g===c)break $label0$0 -break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=H.F(k) +break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=H.G(k) break -case 65:h.a+=H.F(k);--g +case 65:h.a+=H.G(k);--g break -default:q=h.a+=H.F(k) -h.a=q+H.F(k) +default:q=h.a+=H.G(k) +h.a=q+H.G(k) break}else{l.b=j l.c=g-1 return""}j=0}if(g===c)break $label0$0 @@ -3834,88 +3896,89 @@ break}n=p+1 f=a[p] if(f>=128){o=n-1 p=n -break}p=n}if(o-g<20)for(m=g;m32)if(s)h.a+=H.F(k) +g=p}else g=p}if(d&&j>32)if(s)h.a+=H.G(k) else{l.b=77 l.c=c return""}l.b=j l.c=i s=h.a return s.charCodeAt(0)==0?s:s}} -P.dI.prototype={ -$2:function(a,b){var s,r=this.b,q=this.a -r.a+=q.a -s=r.a+=H.b(a.a) -r.a=s+": " -r.a+=P.au(b) -q.a=", "}} -P.j.prototype={} -P.bY.prototype={ +P.dP.prototype={ +$2:function(a,b){var s=this.b,r=this.a,q=s.a+=r.a +q+=a.a +s.a=q +s.a=q+": " +s.a+=P.au(b) +r.a=", "}} +P.k.prototype={} +P.bW.prototype={ h:function(a){var s=this.a if(s!=null)return"Assertion failed: "+P.au(s) return"Assertion failed"}} -P.cI.prototype={} +P.cK.prototype={} P.cu.prototype={ h:function(a){return"Throw of null."}} -P.V.prototype={ -gaU:function(){return"Invalid argument"+(!this.a?"(s)":"")}, -gaT:function(){return""}, -h:function(a){var s,r,q=this,p=q.c,o=p==null?"":" ("+p+")",n=q.d,m=n==null?"":": "+H.b(n),l=q.gaU()+o+m +P.U.prototype={ +gaT:function(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaS:function(){return""}, +h:function(a){var s,r,q=this,p=q.c,o=p==null?"":" ("+p+")",n=q.d,m=n==null?"":": "+H.d(n),l=q.gaT()+o+m if(!q.a)return l -s=q.gaT() +s=q.gaS() r=P.au(q.b) return l+s+": "+r}} -P.aQ.prototype={ -gaU:function(){return"RangeError"}, -gaT:function(){var s,r=this.e,q=this.f -if(r==null)s=q!=null?": Not less than or equal to "+H.b(q):"" -else if(q==null)s=": Not greater than or equal to "+H.b(r) -else if(q>r)s=": Not in inclusive range "+H.b(r)+".."+H.b(q) -else s=qr)s=": Not in inclusive range "+H.d(r)+".."+H.d(q) +else s=qd.length else s=!1 if(s)e=null @@ -3940,108 +4003,109 @@ i="..."}j="..."}else{l=m k=q j="" i=""}h=C.a.j(d,k,l) -return f+j+h+i+"\n"+C.a.bp(" ",e-k+j.length)+"^\n"}else return e!=null?f+(" (at offset "+H.b(e)+")"):f}, -$ibc:1} -P.d.prototype={ -aD:function(a,b){return H.fI(this,H.H(this).i("d.E"),b)}, -bg:function(a,b,c){return H.dG(this,b,H.H(this).i("d.E"),c)}, -cM:function(a,b){return new H.M(this,b,H.H(this).i("M"))}, -a0:function(a,b){return P.bl(this,b,H.H(this).i("d.E"))}, -an:function(a){return this.a0(a,!0)}, +return f+j+h+i+"\n"+C.a.bi(" ",e-k+j.length)+"^\n"}else return e!=null?f+(" (at offset "+H.d(e)+")"):f}, +$ibb:1} +P.c.prototype={ +aD:function(a,b){return H.fI(this,H.l(this).i("c.E"),b)}, +b9:function(a,b,c){return H.cn(this,b,H.l(this).i("c.E"),c)}, +bS:function(a,b){return new H.E(this,b,H.l(this).i("E"))}, +a_:function(a,b){return P.ai(this,b,H.l(this).i("c.E"))}, +ak:function(a){return this.a_(a,!0)}, gl:function(a){var s,r=this.gu(this) for(s=0;r.m();)++s return s}, -gE:function(a){return!this.gu(this).m()}, -gai:function(a){return!this.gE(this)}, -Y:function(a,b){return H.jp(this,b,H.H(this).i("d.E"))}, -bX:function(a,b){return new H.bv(this,b,H.H(this).i("bv"))}, +gG:function(a){return!this.gu(this).m()}, +gas:function(a){return!this.gG(this)}, +Y:function(a,b){return H.jk(this,b,H.l(this).i("c.E"))}, +bY:function(a,b){return new H.br(this,b,H.l(this).i("br"))}, gaF:function(a){var s=this.gu(this) -if(!s.m())throw H.a(H.cc()) -return s.gq()}, +if(!s.m())throw H.a(H.c9()) +return s.gp()}, gK:function(a){var s,r=this.gu(this) -if(!r.m())throw H.a(H.cc()) -do s=r.gq() +if(!r.m())throw H.a(H.c9()) +do s=r.gp() while(r.m()) return s}, -C:function(a,b){var s,r,q -P.X(b,"index") -for(s=this.gu(this),r=0;s.m();){q=s.gq() -if(b===r)return q;++r}throw H.a(P.f0(b,this,"index",null,r))}, -h:function(a){return P.ja(this,"(",")")}} -P.cd.prototype={} -P.br.prototype={ -gG:function(a){return P.t.prototype.gG.call(C.Q,this)}, +F:function(a,b){var s,r,q +P.Q(b,"index") +for(s=this.gu(this),r=0;s.m();){q=s.gp() +if(b===r)return q;++r}throw H.a(P.dB(b,this,"index",null,r))}, +h:function(a){return P.j5(this,"(",")")}} +P.ca.prototype={} +P.bm.prototype={ +gD:function(a){return P.v.prototype.gD.call(this,this)}, h:function(a){return"null"}} -P.t.prototype={constructor:P.t,$it:1, -L:function(a,b){return this===b}, -gG:function(a){return H.bt(this)}, -h:function(a){return"Instance of '"+H.b(H.dM(this))+"'"}, -aI:function(a,b){throw H.a(P.fW(this,b.gbL(),b.gbN(),b.gbM()))}, +P.v.prototype={constructor:P.v,$iv:1, +J:function(a,b){return this===b}, +gD:function(a){return H.bp(this)}, +h:function(a){return"Instance of '"+H.dS(this)+"'"}, +bK:function(a,b){throw H.a(P.fV(this,b.gbI(),b.gbM(),b.gbJ()))}, toString:function(){return this.h(this)}} -P.U.prototype={ +P.ao.prototype={ h:function(a){return this.a}} -P.y.prototype={ +P.w.prototype={ gl:function(a){return this.a.length}, h:function(a){var s=this.a return s.charCodeAt(0)==0?s:s}} -P.ea.prototype={ -$2:function(a,b){throw H.a(P.l("Illegal IPv4 address, "+a,this.a,b))}} -P.eb.prototype={ -$2:function(a,b){throw H.a(P.l("Illegal IPv6 address, "+a,this.a,b))}, +P.ei.prototype={ +$2:function(a,b){throw H.a(P.m("Illegal IPv4 address, "+a,this.a,b))}} +P.ej.prototype={ +$2:function(a,b){throw H.a(P.m("Illegal IPv6 address, "+a,this.a,b))}, $1:function(a){return this.$2(a,null)}} -P.ec.prototype={ +P.ek.prototype={ $2:function(a,b){var s if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) -s=P.Q(C.a.j(this.b,a,b),16) +s=P.N(C.a.j(this.b,a,b),16) if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) return s}} -P.am.prototype={ -gb2:function(){var s,r,q,p,o=this -if(!o.y){s=o.a -r=s.length!==0?s+":":"" -q=o.c -p=q==null -if(!p||s==="file"){s=r+"//" -r=o.b -if(r.length!==0)s=s+r+"@" -if(!p)s+=q -r=o.d -if(r!=null)s=s+":"+H.b(r)}else s=r -s+=o.e -r=o.f -if(r!=null)s=s+"?"+r -r=o.r -if(r!=null)s=s+"#"+r -if(o.y)throw H.a(H.f4("_text")) -o.x=s.charCodeAt(0)==0?s:s -o.y=!0}return o.x}, -gae:function(){var s,r,q=this -if(!q.Q){s=q.e +P.aq.prototype={ +gaY:function(){var s,r,q,p=this,o=p.x +if(o==null){o=p.a +s=o.length!==0?""+o+":":"" +r=p.c +q=r==null +if(!q||o==="file"){o=s+"//" +s=p.b +if(s.length!==0)o=o+s+"@" +if(!q)o+=r +s=p.d +if(s!=null)o=o+":"+H.d(s)}else o=s +o+=p.e +s=p.f +if(s!=null)o=o+"?"+s +s=p.r +if(s!=null)o=o+"#"+s +o=o.charCodeAt(0)==0?o:o +if(p.x==null)p.x=o +else o=H.q(H.cj("_text"))}return o}, +gab:function(){var s,r=this,q=r.y +if(q==null){s=r.e if(s.length!==0&&C.a.k(s,0)===47)s=C.a.w(s,1) -r=s.length===0?C.y:P.J(new H.i(H.c(s.split("/"),t.s),P.ky(),t.r),t.N) -if(q.Q)throw H.a(H.f4("pathSegments")) -q.z=r -q.Q=!0}return q.z}, -gG:function(a){var s,r=this -if(!r.cx){s=J.aJ(r.gb2()) -if(r.cx)throw H.a(H.f4("hashCode")) -r.ch=s -r.cx=!0}return r.ch}, -gay:function(){return this.b}, +q=s.length===0?C.x:P.V(new H.i(H.b(s.split("/"),t.s),P.kC(),t.r),t.N) +if(r.y==null)r.y=q +else q=H.q(H.cj("pathSegments"))}return q}, +gD:function(a){var s=this,r=s.z +if(r==null){r=C.a.gD(s.gaY()) +if(s.z==null)s.z=r +else r=H.q(H.cj("hashCode"))}return r}, +gax:function(){return this.b}, gV:function(){var s=this.c if(s==null)return"" -if(C.a.v(s,"["))return C.a.j(s,1,s.length-1) +if(C.a.t(s,"["))return C.a.j(s,1,s.length-1) return s}, -gal:function(){var s=this.d -return s==null?P.hr(this.a):s}, -ga_:function(){var s=this.f +gai:function(){var s=this.d +return s==null?P.hp(this.a):s}, +gac:function(){var s=this.f return s==null?"":s}, -gaf:function(){var s=this.r +gaG:function(){var s=this.r return s==null?"":s}, -cf:function(a,b){var s,r,q,p,o,n -for(s=0,r=0;C.a.D(b,"../",r);){r+=3;++s}q=C.a.bI(a,"/") +cD:function(a){var s=this.a +if(a.length!==s.length)return!1 +return P.jW(a,s)}, +br:function(a,b){var s,r,q,p,o,n +for(s=0,r=0;C.a.B(b,"../",r);){r+=3;++s}q=C.a.bF(a,"/") while(!0){if(!(q>0&&s>0))break -p=C.a.bJ(a,"/",q-1) +p=C.a.bG(a,"/",q-1) if(p<0)break o=q-p n=o!==2 @@ -4050,515 +4114,534 @@ else n=!1 else n=!1 if(n)break;--s q=p}return C.a.X(a,q+1,null,C.a.w(b,r-3*s))}, -bm:function(a){return this.aw(P.K(a))}, -aw:function(a){var s,r,q,p,o,n,m,l,k,j=this,i=null +bf:function(a){return this.av(P.H(a))}, +av:function(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null if(a.gI().length!==0){s=a.gI() -if(a.gar()){r=a.gay() +if(a.gap()){r=a.gax() q=a.gV() -p=a.gas()?a.gal():i}else{p=i +p=a.gaq()?a.gai():h}else{p=h q=p -r=""}o=P.aF(a.gO(a)) -n=a.gah()?a.ga_():i}else{s=j.a -if(a.gar()){r=a.gay() +r=""}o=P.a9(a.gN(a)) +n=a.gaf()?a.gac():h}else{s=i.a +if(a.gap()){r=a.gax() q=a.gV() -p=P.ff(a.gas()?a.gal():i,s) -o=P.aF(a.gO(a)) -n=a.gah()?a.ga_():i}else{r=j.b -q=j.c -p=j.d -if(a.gO(a)===""){o=j.e -n=a.gah()?a.ga_():j.f}else{if(a.gba())o=P.aF(a.gO(a)) -else{m=j.e -if(m.length===0)if(q==null)o=s.length===0?a.gO(a):P.aF(a.gO(a)) -else o=P.aF("/"+a.gO(a)) -else{l=j.cf(m,a.gO(a)) -k=s.length===0 -if(!k||q!=null||C.a.v(m,"/"))o=P.aF(l) -else o=P.fh(l,!k||q!=null)}}n=a.gah()?a.ga_():i}}}return new P.am(s,r,q,p,o,n,a.gbb()?a.gaf():i)}, -gar:function(){return this.c!=null}, -gas:function(){return this.d!=null}, -gah:function(){return this.f!=null}, -gbb:function(){return this.r!=null}, -gba:function(){return C.a.v(this.e,"/")}, -bn:function(){var s,r=this,q=r.a -if(q!==""&&q!=="file")throw H.a(P.q("Cannot extract a file path from a "+q+" URI")) -if(r.ga_()!=="")throw H.a(P.q(u.y)) -if(r.gaf()!=="")throw H.a(P.q(u.l)) +p=P.ff(a.gaq()?a.gai():h,s) +o=P.a9(a.gN(a)) +n=a.gaf()?a.gac():h}else{r=i.b +q=i.c +p=i.d +o=i.e +if(a.gN(a)==="")n=a.gaf()?a.gac():i.f +else{m=P.k1(i,o) +if(m>0){l=C.a.j(o,0,m) +o=a.gaH()?l+P.a9(a.gN(a)):l+P.a9(i.br(C.a.w(o,l.length),a.gN(a)))}else if(a.gaH())o=P.a9(a.gN(a)) +else if(o.length===0)if(q==null)o=s.length===0?a.gN(a):P.a9(a.gN(a)) +else o=P.a9("/"+a.gN(a)) +else{k=i.br(o,a.gN(a)) +j=s.length===0 +if(!j||q!=null||C.a.t(o,"/"))o=P.a9(k) +else o=P.fh(k,!j||q!=null)}n=a.gaf()?a.gac():h}}}return new P.aq(s,r,q,p,o,n,a.gb4()?a.gaG():h)}, +gap:function(){return this.c!=null}, +gaq:function(){return this.d!=null}, +gaf:function(){return this.f!=null}, +gb4:function(){return this.r!=null}, +gaH:function(){return C.a.t(this.e,"/")}, +bg:function(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw H.a(P.r("Cannot extract a file path from a "+q+" URI")) +q=r.f +if((q==null?"":q)!=="")throw H.a(P.r(u.i)) +q=r.r +if((q==null?"":q)!=="")throw H.a(P.r(u.l)) q=$.fz() -if(q)q=P.hD(r) -else{if(r.c!=null&&r.gV()!=="")H.o(P.q(u.j)) -s=r.gae() -P.jV(s,!1) -q=P.ai(C.a.v(r.e,"/")?"/":"",s,"/") +if(q)q=P.hB(r) +else{if(r.c!=null&&r.gV()!=="")H.q(P.r(u.j)) +s=r.gab() +P.jU(s,!1) +q=P.al(C.a.t(r.e,"/")?""+"/":"",s,"/") q=q.charCodeAt(0)==0?q:q}return q}, -h:function(a){return this.gb2()}, -L:function(a,b){var s=this +h:function(a){return this.gaY()}, +J:function(a,b){var s,r,q=this if(b==null)return!1 -if(s===b)return!0 -return t.l.b(b)&&s.a===b.gI()&&s.c!=null===b.gar()&&s.b===b.gay()&&s.gV()===b.gV()&&s.gal()===b.gal()&&s.e===b.gO(b)&&s.f!=null===b.gah()&&s.ga_()===b.ga_()&&s.r!=null===b.gbb()&&s.gaf()===b.gaf()}, -$ibB:1, +if(q===b)return!0 +if(t.R.b(b))if(q.a===b.gI())if(q.c!=null===b.gap())if(q.b===b.gax())if(q.gV()===b.gV())if(q.gai()===b.gai())if(q.e===b.gN(b)){s=q.f +r=s==null +if(!r===b.gaf()){if(r)s="" +if(s===b.gac()){s=q.r +r=s==null +if(!r===b.gb4()){if(r)s="" +s=s===b.gaG()}else s=!1}else s=!1}else s=!1}else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +return s}, +$ibx:1, gI:function(){return this.a}, -gO:function(a){return this.e}} -P.ep.prototype={ +gN:function(a){return this.e}} +P.ew.prototype={ $1:function(a){return P.fj(C.Y,a,C.e,!1)}} -P.cN.prototype={ -ga8:function(){var s,r,q,p,o=this,n=null,m=o.c +P.cP.prototype={ +ga5:function(){var s,r,q,p,o=this,n=null,m=o.c if(m==null){m=o.a s=o.b[0]+1 -r=C.a.a6(m,"?",s) +r=C.a.a4(m,"?",s) q=m.length -if(r>=0){p=P.bN(m,r+1,q,C.h,!1) +if(r>=0){p=P.bM(m,r+1,q,C.h,!1) q=r}else p=n -m=o.c=new P.cT("data","",n,n,P.bN(m,s,q,C.B,!1),p,n)}return m}, +m=o.c=new P.cY("data","",n,n,P.bM(m,s,q,C.B,!1),p,n)}return m}, h:function(a){var s=this.a return this.b[0]===-1?"data:"+s:s}} -P.eu.prototype={ +P.eB.prototype={ $2:function(a,b){var s=this.a[a] -C.Z.cz(s,0,96,b) +C.Z.cw(s,0,96,b) return s}} -P.ev.prototype={ +P.eC.prototype={ $3:function(a,b,c){var s,r for(s=b.length,r=0;r>>0]=c}} -P.T.prototype={ -gar:function(){return this.c>0}, -gas:function(){return this.c>0&&this.d+10}, +gaq:function(){return this.c>0&&this.d+1r?C.a.j(this.a,r,s-1):""}, gV:function(){var s=this.c return s>0?C.a.j(this.a,s,this.d):""}, -gal:function(){var s=this -if(s.gas())return P.Q(C.a.j(s.a,s.d+1,s.e),null) -if(s.gaX())return 80 -if(s.gaY())return 443 +gai:function(){var s,r=this +if(r.gaq())return P.N(C.a.j(r.a,r.d+1,r.e),null) +s=r.b +if(s===4&&C.a.t(r.a,"http"))return 80 +if(s===5&&C.a.t(r.a,"https"))return 443 return 0}, -gO:function(a){return C.a.j(this.a,this.e,this.f)}, -ga_:function(){var s=this.f,r=this.r +gN:function(a){return C.a.j(this.a,this.e,this.f)}, +gac:function(){var s=this.f,r=this.r return s=q.length)return s -return new P.T(C.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.x)}, -bm:function(a){return this.aw(P.K(a))}, -aw:function(a){if(a instanceof P.T)return this.cm(this,a) -return this.bB().aw(a)}, -cm:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g=b.b -if(g>0)return b +return new P.R(C.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.x)}, +bf:function(a){return this.av(P.H(a))}, +av:function(a){if(a instanceof P.R)return this.cl(this,a) +return this.bx().av(a)}, +cl:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b +if(c>0)return b s=b.c if(s>0){r=a.b if(r<=0)return b -if(a.gaW())q=b.e!==b.f -else if(a.gaX())q=!b.bv("80") -else q=!a.gaY()||!b.bv("443") -if(q){p=r+1 -return new P.T(C.a.j(a.a,0,p)+C.a.w(b.a,g+1),r,s+p,b.d+p,b.e+p,b.f+p,b.r+p,a.x)}else return this.bB().aw(b)}o=b.e -g=b.f -if(o===g){s=b.r -if(g0){for(;C.a.D(s,"../",o);)o+=3 -p=n-o+1 -return new P.T(C.a.j(a.a,0,n)+"/"+C.a.w(s,o),a.b,a.c,a.d,n,g+p,b.r+p,a.x)}l=a.a -for(k=n;C.a.D(l,"../",k);)k+=3 -j=0 -while(!0){i=o+3 -if(!(i<=g&&C.a.D(s,"../",o)))break;++j -o=i}for(h="";m>k;){--m -if(C.a.n(l,m)===47){if(j===0){h="/" -break}--j -h="/"}}if(m===k&&a.b<=0&&!C.a.D(l,"/",n)){o-=j*3 -h=""}p=m-o+h.length -return new P.T(C.a.j(l,0,m)+h+C.a.w(s,o),a.b,a.c,a.d,n,g+p,b.r+p,a.x)}, -bn:function(){var s,r,q,p=this -if(p.b>=0&&!p.gaW())throw H.a(P.q("Cannot extract a file path from a "+p.gI()+" URI")) -s=p.f -r=p.a -if(s0?l:m +o=k-n +return new P.R(C.a.j(a.a,0,k)+C.a.w(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.x)}j=a.e +i=a.f +if(j===i&&a.c>0){for(;C.a.B(s,"../",n);)n+=3 +o=j-n+1 +return new P.R(C.a.j(a.a,0,j)+"/"+C.a.w(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}h=a.a +l=P.hi(this) +if(l>=0)g=l +else for(g=j;C.a.B(h,"../",g);)g+=3 +f=0 +while(!0){e=n+3 +if(!(e<=c&&C.a.B(s,"../",n)))break;++f +n=e}for(d="";i>g;){--i +if(C.a.n(h,i)===47){if(f===0){d="/" +break}--f +d="/"}}if(i===g&&a.b<=0&&!C.a.B(h,"/",j)){n-=f*3 +d=""}o=i-n+d.length +return new P.R(C.a.j(h,0,i)+d+C.a.w(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}, +bg:function(){var s,r,q=this,p=q.b +if(p>=0){s=!(p===4&&C.a.t(q.a,"file")) +p=s}else p=!1 +if(p)throw H.a(P.r("Cannot extract a file path from a "+q.gI()+" URI")) +p=q.f +s=q.a +if(p0?s.gV():r,n=s.gas()?s.gal():r,m=s.a,l=s.f,k=C.a.j(m,s.e,l),j=s.r -l=l0?s.gV():r,n=s.gaq()?s.gai():r,m=s.a,l=s.f,k=C.a.j(m,s.e,l),j=s.r +l=l0&&!s.T(a) +s=s.E(a)>0&&!s.U(a) if(s)return a s=this.b -return this.bG(0,s==null?D.eC():s,a,b,c,d,e,f,g)}, -a3:function(a){return this.bD(a,null,null,null,null,null,null)}, -cu:function(a){var s,r,q=X.az(a,this.a) +return this.bD(0,s==null?D.eK():s,a,b,c,d,e,f,g)}, +a1:function(a){return this.bz(a,null,null,null,null,null,null)}, +ct:function(a){var s,r,q=X.az(a,this.a) q.aM() s=q.d r=s.length if(r===0){s=q.b return s==null?".":s}if(r===1){s=q.b -return s==null?".":s}C.b.bl(s) +return s==null?".":s}C.b.be(s) q.e.pop() q.aM() return q.h(0)}, -bG:function(a,b,c,d,e,f,g,h,i){var s=H.c([b,c,d,e,f,g,h,i],t.V) +bD:function(a,b,c,d,e,f,g,h,i){var s=H.b([b,c,d,e,f,g,h,i],t.m) M.hN("join",s) -return this.bH(new H.M(s,new M.dj(),t.J))}, -cF:function(a,b,c){return this.bG(a,b,c,null,null,null,null,null,null)}, -bH:function(a){var s,r,q,p,o,n,m,l,k -for(s=a.gu(a),r=new H.bC(s,new M.di()),q=this.a,p=!1,o=!1,n="";r.m();){m=s.gq() -if(q.T(m)&&o){l=X.az(m,q) +return this.bE(new H.bz(s,t.y))}, +cE:function(a,b,c){return this.bD(a,b,c,null,null,null,null,null,null)}, +bE:function(a){var s,r,q,p,o,n,m,l,k +for(s=J.iQ(a,new M.dr()),r=J.C(s.a),s=new H.by(r,s.b),q=this.a,p=!1,o=!1,n="";s.m();){m=r.gp() +if(q.U(m)&&o){l=X.az(m,q) k=n.charCodeAt(0)==0?n:n -n=C.a.j(k,0,q.am(k,!0)) +n=C.a.j(k,0,q.aj(k,!0)) l.b=n -if(q.av(n))l.e[0]=q.ga9() -n=l.h(0)}else if(q.F(m)>0){o=!q.T(m) -n=H.b(m)}else{if(!(m.length!==0&&q.b6(m[0])))if(p)n+=q.ga9() -n+=m}p=q.av(m)}return n.charCodeAt(0)==0?n:n}, -aQ:function(a,b){var s=X.az(b,this.a),r=s.d,q=H.G(r).i("M<1>") -q=P.bl(new H.M(r,new M.dk(),q),!0,q.i("d.E")) +if(q.au(n))l.e[0]=q.gad() +n=""+l.h(0)}else if(q.E(m)>0){o=!q.U(m) +n=""+m}else{if(!(m.length!==0&&q.b0(m[0])))if(p)n+=q.gad() +n+=m}p=q.au(m)}return n.charCodeAt(0)==0?n:n}, +am:function(a,b){var s=X.az(b,this.a),r=s.d,q=H.z(r).i("E<1>") +q=P.ai(new H.E(r,new M.ds(),q),!0,q.i("c.E")) s.d=q r=s.b -if(r!=null)C.b.aG(q,0,r) +if(r!=null)C.b.b6(q,0,r) return s.d}, -bj:function(a){var s -if(!this.ci(a))return a +bc:function(a){var s +if(!this.cg(a))return a s=X.az(a,this.a) -s.bi() +s.bb() return s.h(0)}, -ci:function(a){var s,r,q,p,o,n,m,l,k,j -a.toString -s=this.a -r=s.F(a) -if(r!==0){if(s===$.bS())for(q=0;q0)return o.bj(a) -if(m.F(a)<=0||m.T(a))a=o.a3(a) -if(m.F(a)<=0&&m.F(b)>0)throw H.a(X.fY(n+H.b(a)+'" from "'+H.b(b)+'".')) +if(m.E(b)<=0&&m.E(a)>0)return o.bc(a) +if(m.E(a)<=0||m.U(a))a=o.a1(a) +if(m.E(a)<=0&&m.E(b)>0)throw H.a(X.fW(n+a+'" from "'+b+'".')) s=X.az(b,m) -s.bi() +s.bb() r=X.az(a,m) -r.bi() +r.bb() q=s.d -if(q.length!==0&&J.D(q[0],"."))return r.h(0) +if(q.length!==0&&J.J(q[0],"."))return r.h(0) q=s.b p=r.b -if(q!=p)q=q==null||p==null||!m.bk(q,p) +if(q!=p)q=q==null||p==null||!m.bd(q,p) else q=!1 if(q)return r.h(0) while(!0){q=s.d if(q.length!==0){p=r.d -q=p.length!==0&&m.bk(q[0],p[0])}else q=!1 +q=p.length!==0&&m.bd(q[0],p[0])}else q=!1 if(!q)break C.b.aL(s.d,0) C.b.aL(s.e,1) C.b.aL(r.d,0) C.b.aL(r.e,1)}q=s.d -if(q.length!==0&&J.D(q[0],".."))throw H.a(X.fY(n+H.b(a)+'" from "'+H.b(b)+'".')) -q=t.X -C.b.bd(r.d,0,P.af(s.d.length,"..",!1,q)) +if(q.length!==0&&J.J(q[0],".."))throw H.a(X.fW(n+a+'" from "'+b+'".')) +q=t.N +C.b.b7(r.d,0,P.a_(s.d.length,"..",!1,q)) p=r.e p[0]="" -C.b.bd(p,1,P.af(s.d.length,m.ga9(),!1,q)) +C.b.b7(p,1,P.a_(s.d.length,m.gad(),!1,q)) m=r.d q=m.length if(q===0)return"." -if(q>1&&J.D(C.b.gK(m),".")){C.b.bl(r.d) +if(q>1&&J.J(C.b.gK(m),".")){C.b.be(r.d) m=r.e m.pop() m.pop() m.push("")}r.b="" r.aM() return r.h(0)}, -cJ:function(a){return this.aK(a,null)}, -bw:function(a,b){var s,r,q,p,o,n,m,l,k=this +cH:function(a){return this.aK(a,null)}, +bq:function(a,b){var s,r,q,p,o,n,m,l,k=this a=a b=b r=k.a -q=r.F(a)>0 -p=r.F(b)>0 -if(q&&!p){b=k.a3(b) -if(r.T(a))a=k.a3(a)}else if(p&&!q){a=k.a3(a) -if(r.T(b))b=k.a3(b)}else if(p&&q){o=r.T(b) -n=r.T(a) -if(o&&!n)b=k.a3(b) -else if(n&&!o)a=k.a3(a)}m=k.ce(a,b) +q=r.E(a)>0 +p=r.E(b)>0 +if(q&&!p){b=k.a1(b) +if(r.U(a))a=k.a1(a)}else if(p&&!q){a=k.a1(a) +if(r.U(b))b=k.a1(b)}else if(p&&q){o=r.U(b) +n=r.U(a) +if(o&&!n)b=k.a1(b) +else if(n&&!o)a=k.a1(a)}m=k.cf(a,b) if(m!==C.f)return m s=null -try{s=k.aK(b,a)}catch(l){if(H.ap(l) instanceof X.bs)return C.d -else throw l}if(r.F(s)>0)return C.d -if(J.D(s,"."))return C.q -if(J.D(s,".."))return C.d -return J.z(s)>=3&&J.b3(s,"..")&&r.t(J.bT(s,2))?C.d:C.i}, -ce:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this +try{s=k.aK(b,a)}catch(l){if(H.ad(l) instanceof X.bo)return C.d +else throw l}if(r.E(s)>0)return C.d +if(J.J(s,"."))return C.p +if(J.J(s,".."))return C.d +return J.D(s)>=3&&J.fE(s,"..")&&r.v(J.f_(s,2))?C.d:C.i}, +cf:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=this if(a===".")a="" -s=d.a -r=s.F(a) -q=s.F(b) +s=e.a +r=s.E(a) +q=s.E(b) if(r!==q)return C.d -for(p=J.u(a),o=J.u(b),n=0;nq.aQ(0,s).length?s:r}} -M.dj.prototype={ -$1:function(a){return a!=null}} -M.di.prototype={ +return r.b_(this.cE(0,s==null?D.eK():s,a))}}, +cG:function(a){var s,r,q=this,p=M.fn(a) +if(p.gI()==="file"&&q.a===$.b1())return p.h(0) +else if(p.gI()!=="file"&&p.gI()!==""&&q.a!==$.b1())return p.h(0) +s=q.bc(q.a.aJ(M.fn(p))) +r=q.cH(s) +return q.am(0,r).length>q.am(0,s).length?s:r}} +M.dr.prototype={ $1:function(a){return a!==""}} -M.dk.prototype={ +M.ds.prototype={ $1:function(a){return a.length!==0}} -M.ez.prototype={ +M.eJ.prototype={ $1:function(a){return a==null?"null":'"'+a+'"'}} -M.aX.prototype={ +M.aW.prototype={ h:function(a){return this.a}} -M.aY.prototype={ +M.aX.prototype={ h:function(a){return this.a}} -B.dv.prototype={ -bV:function(a){var s=this.F(a) -if(s>0)return J.eX(a,0,s) -return this.T(a)?a[0]:null}, -bO:function(a){var s=M.eZ(this).aQ(0,a) -if(this.t(J.bT(a,a.length-1)))C.b.a4(s,"") +B.av.prototype={ +bW:function(a){var s=this.E(a) +if(s>0)return C.a.j(a,0,s) +return this.U(a)?a[0]:null}, +bN:function(a){var s=M.f1(this).am(0,a) +if(this.v(C.a.n(a,a.length-1)))C.b.a2(s,"") return P.B(null,null,s,null)}, aE:function(a,b){return a===b}, -bk:function(a,b){return a==b}} -X.dJ.prototype={ -gbc:function(){var s=this.d -if(s.length!==0)s=J.D(C.b.gK(s),"")||!J.D(C.b.gK(this.e),"") +bd:function(a,b){return a===b}} +X.dQ.prototype={ +gb5:function(){var s=this.d +if(s.length!==0)s=J.J(C.b.gK(s),"")||!J.J(C.b.gK(this.e),"") else s=!1 return s}, aM:function(){var s,r,q=this while(!0){s=q.d -if(!(s.length!==0&&J.D(C.b.gK(s),"")))break -C.b.bl(q.d) +if(!(s.length!==0&&J.J(C.b.gK(s),"")))break +C.b.be(q.d) q.e.pop()}s=q.e r=s.length if(r!==0)s[r-1]=""}, -bi:function(){var s,r,q,p,o,n,m,l,k=this,j=H.c([],t.V) -for(s=k.d,r=s.length,q=0,p=0;p0){r=C.a.a6(a,"\\",r+1) +r=C.a.a4(a,"\\",2) +if(r>0){r=C.a.a4(a,"\\",r+1) if(r>0)return r}return q}if(q<3)return 0 if(!B.hW(s))return 0 if(C.a.k(a,1)!==58)return 0 q=C.a.k(a,2) if(!(q===47||q===92))return 0 return 3}, -F:function(a){return this.am(a,!1)}, -T:function(a){return this.F(a)===1}, +E:function(a){return this.aj(a,!1)}, +U:function(a){return this.E(a)===1}, aJ:function(a){var s,r -if(a.gI()!==""&&a.gI()!=="file")throw H.a(P.w("Uri "+a.h(0)+" must have scheme 'file:'.")) -s=a.gO(a) -if(a.gV()===""){if(s.length>=3&&C.a.v(s,"/")&&B.hX(s,1))s=C.a.bP(s,"/","")}else s="\\\\"+a.gV()+s -r=H.R(s,"/","\\") +if(a.gI()!==""&&a.gI()!=="file")throw H.a(P.A("Uri "+a.h(0)+" must have scheme 'file:'.")) +s=a.gN(a) +if(a.gV()===""){if(s.length>=3&&C.a.t(s,"/")&&B.hX(s,1))s=C.a.bO(s,"/","")}else s="\\\\"+a.gV()+s +r=H.O(s,"/","\\") return P.fi(r,0,r.length,C.e,!1)}, -b4:function(a){var s,r,q=X.az(a,this),p=q.b -if(J.b3(p,"\\\\")){s=new H.M(H.c(p.split("\\"),t.s),new L.eh(),t.U) -C.b.aG(q.d,0,s.gK(s)) -if(q.gbc())C.b.a4(q.d,"") -return P.B(s.gaF(s),null,q.d,"file")}else{if(q.d.length===0||q.gbc())C.b.a4(q.d,"") +b_:function(a){var s,r,q=X.az(a,this),p=q.b +p.toString +if(C.a.t(p,"\\\\")){s=new H.E(H.b(p.split("\\"),t.s),new L.en(),t.U) +C.b.b6(q.d,0,s.gK(s)) +if(q.gb5())C.b.a2(q.d,"") +return P.B(s.gaF(s),null,q.d,"file")}else{if(q.d.length===0||q.gb5())C.b.a2(q.d,"") p=q.d r=q.b r.toString -r=H.R(r,"/","") -C.b.aG(p,0,H.R(r,"\\","")) +r=H.O(r,"/","") +C.b.b6(p,0,H.O(r,"\\","")) return P.B(null,null,q.d,"file")}}, aE:function(a,b){var s if(a===b)return!0 @@ -4567,68 +4650,69 @@ if(a===92)return b===47 if((a^b)!==32)return!1 s=a|32 return s>=97&&s<=122}, -bk:function(a,b){var s,r,q -if(a==b)return!0 +bd:function(a,b){var s,r +if(a===b)return!0 s=a.length if(s!==b.length)return!1 -for(r=J.u(b),q=0;q0 @@ -4640,28 +4724,28 @@ i=0 h=0 g=0 while(!0){if(!(n.c=a0.length)throw H.a(P.dT("Invalid source url id. "+H.b(f.e)+", "+l+", "+j)) -p=n.gad() -if(!(!p.a&&!p.b&&!p.c))throw H.a(f.b0(2,l)) -i+=L.d4(n) -p=n.gad() -if(!(!p.a&&!p.b&&!p.c))throw H.a(f.b0(3,l)) -h+=L.d4(n) -p=n.gad() -if(!(!p.a&&!p.b&&!p.c))m.push(new T.aT(k,j,i,h,d)) -else{g+=L.d4(n) -if(g>=a1.length)throw H.a(P.dT("Invalid name id: "+H.b(f.e)+", "+l+", "+g)) -m.push(new T.aT(k,j,i,h,g))}}if(n.gad().b)++n.c}}if(m.length!==0)q.push(new T.bz(l,m)) -a3.S(0,new T.dO(f))}, -ax:function(){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5=this,a6=new P.y("") +break c$1}if(n.gaa().b)throw H.a(f.aW(0,l)) +k+=L.d9(n) +p=n.gaa() +if(!(!p.a&&!p.b&&!p.c))m.push(new T.aR(k,d,d,d,d)) +else{j+=L.d9(n) +if(j>=a0.length)throw H.a(P.dY("Invalid source url id. "+H.d(f.e)+", "+l+", "+j)) +p=n.gaa() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aW(2,l)) +i+=L.d9(n) +p=n.gaa() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aW(3,l)) +h+=L.d9(n) +p=n.gaa() +if(!(!p.a&&!p.b&&!p.c))m.push(new T.aR(k,j,i,h,d)) +else{g+=L.d9(n) +if(g>=a1.length)throw H.a(P.dY("Invalid name id: "+H.d(f.e)+", "+l+", "+g)) +m.push(new T.aR(k,j,i,h,g))}}if(n.gaa().b)++n.c}}if(m.length!==0)q.push(new T.bv(l,m)) +a3.T(0,new T.dT(f))}, +aw:function(){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5=this,a6=new P.w("") for(s=a5.d,r=s.length,q=0,p=0,o=0,n=0,m=0,l=0,k=!0,j=0;jq){for(g=q;gthis.a}} +T.dU.prototype={ $1:function(a){return a.ga7()>this.a}} -T.dP.prototype={ -$1:function(a){return a.gab()>this.a}} -T.bz.prototype={ -h:function(a){return H.bR(this).h(0)+": "+this.a+" "+H.b(this.b)}, -ga7:function(){return this.a}} -T.aT.prototype={ +T.bv.prototype={ +h:function(a){return H.bQ(this).h(0)+": "+this.a+" "+H.d(this.b)}, +ga9:function(){return this.a}} +T.aR.prototype={ h:function(a){var s=this -return H.bR(s).h(0)+": ("+s.a+", "+H.b(s.b)+", "+H.b(s.c)+", "+H.b(s.d)+", "+H.b(s.e)+")"}, -gab:function(){return this.a}} -T.el.prototype={ +return H.bQ(s).h(0)+": ("+s.a+", "+H.d(s.b)+", "+H.d(s.c)+", "+H.d(s.d)+", "+H.d(s.e)+")"}, +ga7:function(){return this.a}} +T.es.prototype={ m:function(){return++this.c=0&&s=0&&s0}, -gad:function(){if(!this.gcC())return C.a3 +gaa:function(){if(!this.gcB())return C.a4 var s=this.a[this.c+1] -if(s===";")return C.a5 -if(s===",")return C.a4 -return C.a2}, -h:function(a){var s,r,q,p,o=this -for(s=o.a,r=0,q="";r=r||s[n]!==10)o=10}if(o===10)q.push(p+1)}}} -V.cD.prototype={ -bF:function(a){var s=this.a -if(!J.D(s,a.gP()))throw H.a(P.w('Source URLs "'+H.b(s)+'" and "'+H.b(a.gP())+"\" don't match.")) -return Math.abs(this.b-a.gak())}, -L:function(a,b){if(b==null)return!1 -return t.u.b(b)&&J.D(this.a,b.gP())&&this.b===b.gak()}, -gG:function(a){return J.aJ(this.a)+this.b}, -h:function(a){var s=this,r="<"+H.bR(s).h(0)+": "+s.b+" ",q=s.a -return r+(H.b(q==null?"unknown source":q)+":"+(s.c+1)+":"+(s.d+1))+">"}, -gP:function(){return this.a}, -gak:function(){return this.b}, -ga7:function(){return this.c}, -gab:function(){return this.d}} V.cE.prototype={ -br:function(a,b,c){var s,r=this.b,q=this.a -if(!J.D(r.gP(),q.gP()))throw H.a(P.w('Source URLs "'+H.b(q.gP())+'" and "'+H.b(r.gP())+"\" don't match.")) -else if(r.gak()"}, +gP:function(){return this.a}, +gah:function(){return this.b}, +ga9:function(){return this.c}, +ga7:function(){return this.d}} +V.cF.prototype={ +bk:function(a,b,c){var s,r=this.b,q=this.a +if(!r.gP().J(0,q.gP()))throw H.a(P.A('Source URLs "'+q.gP().h(0)+'" and "'+r.gP().h(0)+"\" don't match.")) +else if(r.gah()'}, -$idS:1} +return"<"+H.bQ(s).h(0)+": from "+s.gM().h(0)+" to "+s.gS().h(0)+' "'+s.gcJ()+'">'}, +$idX:1} U.as.prototype={ -bQ:function(){var s=this.a -return new Y.E(P.J(new H.bd(s,new U.dh(),H.G(s).i("bd<1,v*>")),t.O),new P.U(null))}, -h:function(a){var s=this.a,r=H.G(s) -return new H.i(s,new U.df(new H.i(s,new U.dg(),r.i("i<1,f*>")).b9(0,0,C.j)),r.i("i<1,e*>")).Z(0,u.q)}} -U.db.prototype={ -$1:function(a){return new Y.E(P.J(Y.h9(a),t.O),new P.U(a))}} -U.dc.prototype={ -$1:function(a){return Y.h8(a)}} -U.dh.prototype={ -$1:function(a){return a.gag()}} +bP:function(){var s=this.a +return Y.e1(new H.bc(s,new U.dn(),H.z(s).i("bc<1,x>")),null)}, +h:function(a){var s=this.a,r=H.z(s) +return new H.i(s,new U.dl(new H.i(s,new U.dm(),r.i("i<1,f>")).b3(0,0,C.j)),r.i("i<1,e>")).Z(0,u.a)}} U.dg.prototype={ -$1:function(a){var s=a.gag() -return new H.i(s,new U.de(),H.G(s).i("i<1,f*>")).b9(0,0,C.j)}} -U.de.prototype={ -$1:function(a){return a.gaj().length}} -U.df.prototype={ -$1:function(a){var s=a.gag() -return new H.i(s,new U.dd(this.a),H.G(s).i("i<1,e*>")).aH(0)}} -U.dd.prototype={ -$1:function(a){return J.fB(a.gaj(),this.a)+" "+H.b(a.gau())+"\n"}} -A.v.prototype={ -gbf:function(){var s=this.a +$1:function(a){return a.length!==0}} +U.dh.prototype={ +$1:function(a){return Y.h7(a)}} +U.di.prototype={ +$1:function(a){return Y.h6(a)}} +U.dn.prototype={ +$1:function(a){return a.gae()}} +U.dm.prototype={ +$1:function(a){var s=a.gae() +return new H.i(s,new U.dk(),H.z(s).i("i<1,f>")).b3(0,0,C.j)}} +U.dk.prototype={ +$1:function(a){return a.gag().length}} +U.dl.prototype={ +$1:function(a){var s=a.gae() +return new H.i(s,new U.dj(this.a),H.z(s).i("i<1,e>")).aI(0)}} +U.dj.prototype={ +$1:function(a){return C.a.bL(a.gag(),this.a)+" "+H.d(a.gat())+"\n"}} +A.x.prototype={ +gb8:function(){var s=this.a if(s.gI()==="data")return"data:..." -return $.eR().cI(s)}, -gaj:function(){var s,r=this,q=r.b -if(q==null)return r.gbf() +return $.eX().cG(s)}, +gag:function(){var s,r=this,q=r.b +if(q==null)return r.gb8() s=r.c -if(s==null)return H.b(r.gbf())+" "+H.b(q) -return H.b(r.gbf())+" "+H.b(q)+":"+H.b(s)}, -h:function(a){return H.b(this.gaj())+" in "+H.b(this.d)}, -ga8:function(){return this.a}, -ga7:function(){return this.b}, -gab:function(){return this.c}, -gau:function(){return this.d}} -A.dt.prototype={ +if(s==null)return r.gb8()+" "+H.d(q) +return r.gb8()+" "+H.d(q)+":"+H.d(s)}, +h:function(a){return this.gag()+" in "+H.d(this.d)}, +ga5:function(){return this.a}, +ga9:function(){return this.b}, +ga7:function(){return this.c}, +gat:function(){return this.d}} +A.dA.prototype={ $0:function(){var s,r,q,p,o,n,m,l=null,k=this.a -if(k==="...")return new A.v(P.B(l,l,l,l),l,l,"...") -s=$.iF().a5(k) -if(s==null)return new N.Z(P.B(l,"unparsed",l,l),k) +if(k==="...")return new A.x(P.B(l,l,l,l),l,l,"...") +s=$.iD().a3(k) +if(s==null)return new N.X(P.B(l,"unparsed",l,l),k) k=s.b r=k[1] -q=$.iq() r.toString -r=H.R(r,q,"") -p=H.R(r,"","") +q=$.io() +r=H.O(r,q,"") +p=H.O(r,"","") r=k[2] -o=J.b3(r,"1?P.Q(n[1],l):l -return new A.v(o,m,k>2?P.Q(n[2],l):l,p)}} -A.dr.prototype={ -$0:function(){var s,r,q="",p=this.a,o=$.iB().a5(p) -if(o==null)return new N.Z(P.B(null,"unparsed",null,null),p) -p=new A.ds(p) +m=k>1?P.N(n[1],l):l +return new A.x(o,m,k>2?P.N(n[2],l):l,p)}} +A.dy.prototype={ +$0:function(){var s,r,q="",p=this.a,o=$.iz().a3(p) +if(o==null)return new N.X(P.B(null,"unparsed",null,null),p) +p=new A.dz(p) s=o.b r=s[2] -if(r!=null){s=s[1] +if(r!=null){r=r +r.toString +s=s[1] +s.toString +s=H.O(s,"",q) +s=H.O(s,"Anonymous function",q) +return p.$2(r,H.O(s,"(anonymous function)",q))}else{s=s[3] +s.toString +return p.$2(s,q)}}} +A.dz.prototype={ +$2:function(a,b){var s,r,q,p,o,n=null,m=$.iy(),l=m.a3(a) +for(;l!=null;a=s){s=l.b[1] +s.toString +l=m.a3(s)}if(a==="native")return new A.x(P.H("native"),n,n,b) +r=$.iC().a3(a) +if(r==null)return new N.X(P.B(n,"unparsed",n,n),this.a) +m=r.b +s=m[1] s.toString -s=H.R(s,"",q) -s=H.R(s,"Anonymous function",q) -return p.$2(r,H.R(s,"(anonymous function)",q))}else return p.$2(s[3],q)}} -A.ds.prototype={ -$2:function(a,b){var s,r,q,p=null,o=$.iA(),n=o.a5(a) -for(;n!=null;){a=n.b[1] -n=o.a5(a)}if(a==="native")return new A.v(P.K("native"),p,p,b) -s=$.iE().a5(a) -if(s==null)return new N.Z(P.B(p,"unparsed",p,p),this.a) -o=s.b -r=A.f_(o[1]) -q=P.Q(o[2],p) -o=o[3] -return new A.v(r,q,o!=null?P.Q(o,p):p,b)}} -A.dn.prototype={ -$0:function(){var s,r,q,p,o=null,n=this.a,m=$.is().a5(n) -if(m==null)return new N.Z(P.B(o,"unparsed",o,o),n) +q=A.f2(s) +s=m[2] +s.toString +p=P.N(s,n) +o=m[3] +return new A.x(q,p,o!=null?P.N(o,n):n,b)}} +A.dv.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.iq().a3(n) +if(m==null)return new N.X(P.B(o,"unparsed",o,o),n) n=m.b s=n[1] s.toString -r=H.R(s,"/<","") -q=A.f_(n[2]) -p=P.Q(n[3],o) -return new A.v(q,p,o,r.length===0||r==="anonymous"?"":r)}} -A.dp.prototype={ -$0:function(){var s,r,q,p,o,n=null,m=this.a,l=$.iu().a5(m) -if(l==null)return new N.Z(P.B(n,"unparsed",n,n),m) -s=l.b +r=H.O(s,"/<","") +s=n[2] +s.toString +q=A.f2(s) +n=n[3] +n.toString +p=P.N(n,o) +return new A.x(q,p,o,r.length===0||r==="anonymous"?"":r)}} +A.dw.prototype={ +$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.is().a3(k) +if(j==null)return new N.X(P.B(l,"unparsed",l,l),k) +s=j.b r=s[3] -if(J.eV(r," line "))return A.j7(m) -q=A.f_(r) -m=s[1] -if(m!=null){r=C.a.aB("/",s[2]) -p=J.eT(m,C.b.aH(P.af(r.gl(r),".",!1,t.X))) -if(p==="")p="" -p=C.a.bP(p,$.iy(),"")}else p="" -m=s[4] -o=m===""?n:P.Q(m,n) -m=s[5] -return new A.v(q,o,m==null||m===""?n:P.Q(m,n),p)}} -A.dq.prototype={ -$0:function(){var s,r,q,p,o=null,n=this.a,m=$.iw().a5(n) -if(m==null)throw H.a(P.l("Couldn't parse package:stack_trace stack trace line '"+H.b(n)+"'.",o,o)) +q=r +q.toString +if(C.a.A(q," line "))return A.j2(k) +k=r +k.toString +p=A.f2(k) +o=s[1] +if(o!=null){k=s[2] +k.toString +k=C.a.aB("/",k) +o+=C.b.aI(P.a_(k.gl(k),".",!1,t.N)) +if(o==="")o="" +o=C.a.bO(o,$.iw(),"")}else o="" +k=s[4] +if(k==="")n=l +else{k=k +k.toString +n=P.N(k,l)}k=s[5] +if(k==null||k==="")m=l +else{k=k +k.toString +m=P.N(k,l)}return new A.x(p,n,m,o)}} +A.dx.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.iu().a3(n) +if(m==null)throw H.a(P.m("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) n=m.b s=n[1] -r=s==="data:..."?P.hd(""):P.K(s) -if(r.gI()===""){s=$.eR() -r=s.bR(s.bD(s.a.aJ(M.fo(r)),o,o,o,o,o,o))}s=n[2] -q=s==null?o:P.Q(s,o) -s=n[3] -p=s==null?o:P.Q(s,o) -return new A.v(r,q,p,n[4])}} -T.ck.prototype={ -gbC:function(){var s=this.b -return s==null?this.b=this.a.$0():s}, -gag:function(){return this.gbC().gag()}, -h:function(a){return J.aq(this.gbC())}, -$iE:1} -Y.E.prototype={ -cB:function(a){var s,r,q,p={} -p.a=a -s=H.c([],t.B) -for(r=this.a,r=new H.aB(r,H.G(r).i("aB<1>")),r=new H.aw(r,r.gl(r));r.m();){q=r.d -if(q instanceof N.Z||!p.a.$1(q))s.push(q) -else if(s.length===0||!p.a.$1(C.b.gK(s)))s.push(new A.v(q.ga8(),q.ga7(),q.gab(),q.gau()))}return new Y.E(P.J(new H.aB(s,t.W),t.O),new P.U(this.b.a))}, -h:function(a){var s=this.a,r=H.G(s) -return new H.i(s,new Y.e6(new H.i(s,new Y.e7(),r.i("i<1,f*>")).b9(0,0,C.j)),r.i("i<1,e*>")).aH(0)}, -gag:function(){return this.a}} -Y.e4.prototype={ -$0:function(){return Y.f7(this.a.h(0))}} -Y.e5.prototype={ +if(s==="data:...")r=P.hb("") +else{s=s +s.toString +r=P.H(s)}if(r.gI()===""){s=$.eX() +r=s.bQ(s.bz(s.a.aJ(M.fn(r)),o,o,o,o,o,o))}s=n[2] +if(s==null)q=o +else{s=s +s.toString +q=P.N(s,o)}s=n[3] +if(s==null)p=o +else{s=s +s.toString +p=P.N(s,o)}return new A.x(r,q,p,n[4])}} +T.cl.prototype={ +gby:function(){var s=this,r=s.b +if(r==null){r=s.a.$0() +if(s.b==null)s.b=r +else r=H.q(H.cj("_trace"))}return r}, +gae:function(){return this.gby().gae()}, +h:function(a){return this.gby().h(0)}, +$iK:1} +Y.K.prototype={ +cA:function(a){var s,r,q,p,o={} +o.a=a +s=H.b([],t.F) +for(r=this.a,r=new H.aA(r,H.z(r).i("aA<1>")),r=new H.ah(r,r.gl(r)),q=H.l(r).c;r.m();){p=q.a(r.d) +if(p instanceof N.X||!o.a.$1(p))s.push(p) +else if(s.length===0||!o.a.$1(C.b.gK(s)))s.push(new A.x(p.ga5(),p.ga9(),p.ga7(),p.gat()))}return Y.e1(new H.aA(s,t.e),this.b.a)}, +h:function(a){var s=this.a,r=H.z(s) +return new H.i(s,new Y.ed(new H.i(s,new Y.ee(),r.i("i<1,f>")).b3(0,0,C.j)),r.i("i<1,e>")).aI(0)}, +gae:function(){return this.a}} +Y.ea.prototype={ +$0:function(){return Y.f8(this.a.h(0))}} +Y.eb.prototype={ +$1:function(a){return a.length!==0}} +Y.ec.prototype={ $1:function(a){return A.fL(a)}} -Y.e2.prototype={ -$1:function(a){return!J.b3(a,$.iD())}} -Y.e3.prototype={ +Y.e8.prototype={ +$1:function(a){return!C.a.t(a,$.iB())}} +Y.e9.prototype={ $1:function(a){return A.fK(a)}} -Y.e0.prototype={ +Y.e6.prototype={ $1:function(a){return a!=="\tat "}} -Y.e1.prototype={ +Y.e7.prototype={ $1:function(a){return A.fK(a)}} -Y.dX.prototype={ +Y.e2.prototype={ $1:function(a){return a.length!==0&&a!=="[native code]"}} -Y.dY.prototype={ -$1:function(a){return A.j8(a)}} -Y.dZ.prototype={ -$1:function(a){return!J.b3(a,"=====")}} -Y.e_.prototype={ -$1:function(a){return A.j9(a)}} -Y.e7.prototype={ -$1:function(a){return a.gaj().length}} -Y.e6.prototype={ -$1:function(a){if(a instanceof N.Z)return a.h(0)+"\n" -return J.fB(a.gaj(),this.a)+" "+H.b(a.gau())+"\n"}} -N.Z.prototype={ +Y.e3.prototype={ +$1:function(a){return A.j3(a)}} +Y.e4.prototype={ +$1:function(a){return!C.a.t(a,"=====")}} +Y.e5.prototype={ +$1:function(a){return A.j4(a)}} +Y.ee.prototype={ +$1:function(a){return a.gag().length}} +Y.ed.prototype={ +$1:function(a){if(a instanceof N.X)return a.h(0)+"\n" +return C.a.bL(a.gag(),this.a)+" "+H.d(a.gat())+"\n"}} +N.X.prototype={ h:function(a){return this.x}, -$iv:1, -ga8:function(){return this.a}, +$ix:1, +ga5:function(){return this.a}, +ga9:function(){return null}, ga7:function(){return null}, -gab:function(){return null}, -gaj:function(){return"unparsed"}, -gau:function(){return this.x}} -O.eN.prototype={ -$1:function(a){var s,r,q,p,o,n,m,l,k,j,i,h="dart:" -if(a.ga7()==null)return null -s=a.gab() +gag:function(){return"unparsed"}, +gat:function(){return this.x}} +O.eT.prototype={ +$1:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g="dart:",f=a.ga9() +if(f==null)return null +s=a.ga7() if(s==null)s=0 -r=a.ga7() -q=a.ga8().h(0) -p=this.a.bY(r-1,s-1,q) -if(p==null)return null -o=J.aq(p.gP()) -for(r=this.b,q=r.length,n=0;n"],interceptorsByTag:null,leafTags:null,arrayRti:typeof Symbol=="function"&&typeof Symbol()=="symbol"?Symbol("$ti"):"$ti"} -H.jR(v.typeUniverse,JSON.parse('{"dl":"ae","cx":"ae","aU":"ae","a4":"ae","m":{"n":["1"],"h":["1"]},"dA":{"m":["1"],"n":["1"],"h":["1"]},"bf":{"f":[]},"ad":{"e":[]},"aj":{"d":["2"]},"ar":{"aj":["1","2"],"d":["2"],"d.E":"2"},"bE":{"ar":["1","2"],"aj":["1","2"],"h":["2"],"d":["2"],"d.E":"2"},"bD":{"p":["2"],"n":["2"],"aj":["1","2"],"h":["2"],"d":["2"]},"a1":{"bD":["1","2"],"p":["2"],"n":["2"],"aj":["1","2"],"h":["2"],"d":["2"],"d.E":"2","p.E":"2"},"bj":{"j":[]},"cy":{"j":[]},"aK":{"p":["f"],"n":["f"],"h":["f"],"p.E":"f"},"h":{"d":["1"]},"A":{"h":["1"],"d":["1"]},"aD":{"A":["1"],"h":["1"],"d":["1"],"d.E":"1","A.E":"1"},"W":{"d":["2"],"d.E":"2"},"ba":{"W":["1","2"],"h":["2"],"d":["2"],"d.E":"2"},"i":{"A":["2"],"h":["2"],"d":["2"],"d.E":"2","A.E":"2"},"M":{"d":["1"],"d.E":"1"},"bd":{"d":["2"],"d.E":"2"},"a8":{"d":["1"],"d.E":"1"},"aL":{"a8":["1"],"h":["1"],"d":["1"],"d.E":"1"},"bv":{"d":["1"],"d.E":"1"},"bb":{"h":["1"],"d":["1"],"d.E":"1"},"av":{"d":["1"],"d.E":"1"},"b9":{"av":["1"],"h":["1"],"d":["1"],"d.E":"1"},"aV":{"p":["1"],"n":["1"],"h":["1"]},"aB":{"A":["1"],"h":["1"],"d":["1"],"d.E":"1","A.E":"1"},"aS":{"cH":[]},"b7":{"S":["1","2"]},"b6":{"S":["1","2"]},"b8":{"S":["1","2"]},"ct":{"j":[]},"ce":{"j":[]},"cK":{"j":[]},"cv":{"bc":[]},"cz":{"j":[]},"a5":{"ax":["1","2"],"S":["1","2"]},"a6":{"h":["1"],"d":["1"],"d.E":"1"},"aW":{"dN":[],"bp":[]},"cR":{"d":["dN"],"d.E":"dN"},"by":{"bp":[]},"cY":{"d":["bp"],"d.E":"bp"},"aP":{"aO":["1"]},"bq":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"]},"cp":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cr":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"ay":{"p":["f"],"f8":[],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cU":{"j":[]},"bI":{"j":[]},"be":{"d":["1"]},"bk":{"p":["1"],"n":["1"],"h":["1"]},"bm":{"ax":["1","2"],"S":["1","2"]},"ax":{"S":["1","2"]},"bn":{"S":["1","2"]},"bA":{"S":["1","2"]},"cW":{"ax":["e","@"],"S":["e","@"]},"cX":{"A":["e"],"h":["e"],"d":["e"],"d.E":"e","A.E":"e"},"bW":{"ac":["e","n"]},"d_":{"a0":["e","n"]},"bX":{"a0":["e","n"]},"bZ":{"ac":["n","e"]},"c_":{"a0":["n","e"]},"c5":{"ac":["e","n"]},"bi":{"j":[]},"cg":{"j":[]},"cf":{"ac":["t?","e"]},"ci":{"a0":["t?","e"]},"ch":{"a0":["e","t?"]},"cO":{"ac":["e","n"]},"cQ":{"a0":["e","n"]},"cP":{"a0":["n","e"]},"n":{"h":["1"]},"dN":{"bp":[]},"bY":{"j":[]},"cI":{"j":[]},"cu":{"j":[]},"V":{"j":[]},"aQ":{"j":[]},"ca":{"j":[]},"cs":{"j":[]},"cM":{"j":[]},"cJ":{"j":[]},"aC":{"j":[]},"c1":{"j":[]},"cw":{"j":[]},"bx":{"j":[]},"c3":{"j":[]},"aM":{"bc":[]},"am":{"bB":[]},"T":{"bB":[]},"cT":{"bB":[]},"bs":{"bc":[]},"co":{"ag":[]},"cn":{"ag":[]},"bu":{"ag":[]},"bw":{"dS":[]},"cE":{"dS":[]},"cF":{"dS":[]},"ck":{"E":[]},"Z":{"v":[]},"cj":{"ag":[]},"f8":{"n":["f"],"h":["f"]}}')) -H.jQ(v.typeUniverse,JSON.parse('{"b4":1,"aw":1,"bo":2,"bC":1,"c6":2,"cA":1,"cB":1,"c4":1,"c8":1,"c7":1,"cL":1,"aV":1,"bO":2,"b6":2,"cl":1,"aP":1,"cG":2,"be":1,"bk":1,"bm":2,"d2":2,"bn":2,"bA":2,"bF":1,"bL":2,"cd":1}')) -var u={q:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",y:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority",w:"`null` encountered as the result from expression with type `Never`."} -var t=(function rtii(){var s=H.d6 -return{Z:s("b7"),Q:s("h<@>"),Y:s("j"),c:s("l2"),s:s("m"),b:s("m<@>"),t:s("m"),B:s("m"),F:s("m"),d:s("m"),V:s("m"),m:s("m"),L:s("m"),E:s("m"),i:s("m"),T:s("bg"),g:s("a4"),I:s("aO<@>"),M:s("a5"),j:s("n<@>"),f:s("S<@,@>"),a:s("W"),r:s("i"),D:s("i"),n:s("ay"),P:s("br"),K:s("t"),W:s("aB"),N:s("e"),p:s("f8"),o:s("aU"),l:s("bB"),U:s("M"),J:s("M"),y:s("kw"),q:s("kA"),z:s("@"),S:s("f"),v:s("bc*"),O:s("v*"),w:s("n<@>*"),h:s("S<@,@>*"),A:s("0&*"),_:s("t*"),C:s("bu*"),u:s("cD*"),x:s("dS*"),X:s("e*"),G:s("E*"),k:s("bB*"),e:s("f*"),bc:s("fM
?"),R:s("t?"),H:s("fu")}})();(function constants(){var s=hunkHelpers.makeConstList -C.P=J.x.prototype -C.b=J.m.prototype -C.c=J.bf.prototype -C.Q=J.bg.prototype -C.R=J.bh.prototype -C.a=J.ad.prototype -C.S=J.a4.prototype +r=this.a.bZ(f-1,s-1,a.ga5().h(0)) +if(r==null)return null +q=r.gP().h(0) +for(p=this.b,o=p.length,n=0;n"],interceptorsByTag:null,leafTags:null,arrayRti:typeof Symbol=="function"&&typeof Symbol()=="symbol"?Symbol("$ti"):"$ti"} +H.jQ(v.typeUniverse,JSON.parse('{"cx":"ag","aS":"ag","af":"ag","dt":"ag","o":{"n":["1"],"h":["1"]},"dH":{"o":["1"],"n":["1"],"h":["1"]},"be":{"f":[]},"aw":{"e":[]},"am":{"c":["2"]},"ar":{"am":["1","2"],"c":["2"],"c.E":"2"},"bB":{"ar":["1","2"],"am":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"bA":{"p":["2"],"n":["2"],"am":["1","2"],"h":["2"],"c":["2"]},"a1":{"bA":["1","2"],"p":["2"],"n":["2"],"am":["1","2"],"h":["2"],"c":["2"],"c.E":"2","p.E":"2"},"ci":{"k":[]},"aJ":{"p":["f"],"n":["f"],"h":["f"],"p.E":"f"},"h":{"c":["1"]},"F":{"h":["1"],"c":["1"]},"aC":{"F":["1"],"h":["1"],"c":["1"],"c.E":"1","F.E":"1"},"L":{"c":["2"],"c.E":"2"},"b8":{"L":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"i":{"F":["2"],"h":["2"],"c":["2"],"c.E":"2","F.E":"2"},"E":{"c":["1"],"c.E":"1"},"bc":{"c":["2"],"c.E":"2"},"aD":{"c":["1"],"c.E":"1"},"b9":{"aD":["1"],"h":["1"],"c":["1"],"c.E":"1"},"a7":{"c":["1"],"c.E":"1"},"aK":{"a7":["1"],"h":["1"],"c":["1"],"c.E":"1"},"br":{"c":["1"],"c.E":"1"},"ba":{"h":["1"],"c":["1"],"c.E":"1"},"bz":{"c":["1"],"c.E":"1"},"aT":{"p":["1"],"n":["1"],"h":["1"]},"aA":{"F":["1"],"h":["1"],"c":["1"],"c.E":"1","F.E":"1"},"aQ":{"cI":[]},"b6":{"P":["1","2"]},"b5":{"P":["1","2"]},"b7":{"P":["1","2"]},"bn":{"k":[]},"cd":{"k":[]},"cM":{"k":[]},"cv":{"bb":[]},"cA":{"k":[]},"a3":{"a0":["1","2"],"P":["1","2"],"a0.V":"2"},"a4":{"h":["1"],"c":["1"],"c.E":"1"},"aV":{"cz":[],"bk":[]},"cW":{"c":["cz"],"c.E":"cz"},"bu":{"bk":[]},"d2":{"c":["bk"],"c.E":"bk"},"aN":{"aM":["1"]},"bl":{"p":["f"],"aM":["f"],"n":["f"],"h":["f"]},"cq":{"p":["f"],"aM":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cs":{"p":["f"],"aM":["f"],"n":["f"],"h":["f"],"p.E":"f"},"ay":{"p":["f"],"eh":[],"aM":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cZ":{"k":[]},"bH":{"k":[]},"bF":{"c":["1"],"c.E":"1"},"bd":{"c":["1"]},"bg":{"p":["1"],"n":["1"],"h":["1"]},"bh":{"a0":["1","2"],"P":["1","2"]},"a0":{"P":["1","2"]},"bi":{"P":["1","2"]},"bw":{"P":["1","2"]},"d0":{"a0":["e","@"],"P":["e","@"],"a0.V":"@"},"d1":{"F":["e"],"h":["e"],"c":["e"],"c.E":"e","F.E":"e"},"bU":{"ae":["e","n"]},"d4":{"Z":["e","n"]},"bV":{"Z":["e","n"]},"bX":{"ae":["n","e"]},"bY":{"Z":["n","e"]},"c3":{"ae":["e","n"]},"bf":{"k":[]},"cf":{"k":[]},"ce":{"ae":["v?","e"]},"ch":{"Z":["v?","e"]},"cg":{"Z":["e","v?"]},"cR":{"ae":["e","n"]},"cT":{"Z":["e","n"]},"cS":{"Z":["n","e"]},"n":{"h":["1"]},"cz":{"bk":[]},"bW":{"k":[]},"cK":{"k":[]},"cu":{"k":[]},"U":{"k":[]},"a5":{"k":[]},"c7":{"a5":[],"k":[]},"ct":{"k":[]},"cO":{"k":[]},"cL":{"k":[]},"aB":{"k":[]},"c_":{"k":[]},"cw":{"k":[]},"bt":{"k":[]},"c1":{"k":[]},"aL":{"bb":[]},"aq":{"bx":[]},"R":{"bx":[]},"cY":{"bx":[]},"bo":{"bb":[]},"cy":{"av":[]},"cQ":{"av":[]},"cV":{"av":[]},"bq":{"aj":[]},"cp":{"aj":[]},"co":{"aj":[]},"bs":{"dX":[]},"cF":{"dX":[]},"cG":{"dX":[]},"cl":{"K":[]},"X":{"x":[]},"ck":{"aj":[]},"eh":{"n":["f"],"h":["f"]}}')) +H.jP(v.typeUniverse,JSON.parse('{"b2":1,"ah":1,"bj":2,"by":1,"c4":2,"cJ":1,"cB":1,"cC":1,"c2":1,"c5":1,"cN":1,"aT":1,"bN":2,"b5":2,"cm":1,"aN":1,"bG":1,"cH":2,"bd":1,"bg":1,"bh":2,"d7":2,"bi":2,"bw":2,"bC":1,"bK":2,"ca":1}')) +var u={a:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",i:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority"} +var t=(function rtii(){var s=H.db +return{Z:s("b6"),X:s("h<@>"),C:s("k"),M:s("bb"),B:s("x"),Y:s("l6"),W:s("av"),F:s("o"),o:s("o"),s:s("o"),p:s("o"),Q:s("o"),J:s("o"),h:s("o"),b:s("o<@>"),t:s("o"),m:s("o"),T:s("cb"),g:s("af"),D:s("aM<@>"),V:s("a3"),j:s("n<@>"),f:s("P<@,@>"),L:s("L"),k:s("i"),r:s("i"),c:s("ay"),P:s("bm"),K:s("v"),G:s("a5"),d:s("cz"),e:s("aA"),E:s("bq"),l:s("cE"),u:s("dX"),N:s("e"),a:s("K"),n:s("eh"),q:s("aS"),R:s("bx"),U:s("E"),y:s("bz"),v:s("kA"),i:s("kE"),z:s("@"),S:s("f"),A:s("0&*"),_:s("v*"),x:s("fM?"),ar:s("P?"),O:s("v?"),w:s("cD?"),aD:s("e?"),I:s("bx?"),H:s("fu")}})();(function constants(){var s=hunkHelpers.makeConstList +C.P=J.y.prototype +C.b=J.o.prototype +C.c=J.be.prototype +C.Q=J.cc.prototype +C.a=J.aw.prototype +C.R=J.af.prototype C.Z=H.ay.prototype C.D=J.cx.prototype -C.m=J.aU.prototype -C.E=new P.bX(127) -C.j=new H.cb(P.kO(),H.d6("cb")) -C.F=new P.bW() -C.a6=new P.c_() -C.G=new P.bZ() -C.r=new H.c4() -C.t=function getTagFallback(o) { +C.l=J.aS.prototype +C.E=new P.bV(127) +C.j=new H.c8(P.kS(),H.db("c8")) +C.F=new P.bU() +C.a7=new P.bY() +C.G=new P.bX() +C.q=new H.c2() +C.r=function getTagFallback(o) { var s = Object.prototype.toString.call(o); return s.substring(8, s.length - 1); } @@ -5233,103 +5363,106 @@ C.K=function(hooks) { hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; } -C.u=function(hooks) { return hooks; } +C.t=function(hooks) { return hooks; } -C.k=new P.cf() +C.k=new P.ce() C.N=new P.cw() -C.e=new P.cO() -C.O=new P.cQ() -C.v=new H.em() +C.e=new P.cR() +C.O=new P.cT() +C.u=new H.et() +C.S=new P.cg(null) C.T=new P.ch(null) -C.U=new P.ci(null) -C.w=H.c(s([0,0,32776,33792,1,10240,0,0]),t.i) -C.h=H.c(s([0,0,65490,45055,65535,34815,65534,18431]),t.i) -C.x=H.c(s([0,0,26624,1023,65534,2047,65534,2047]),t.i) -C.l=H.c(s([]),t.b) -C.y=H.c(s([]),t.V) -C.W=H.c(s([0,0,32722,12287,65534,34815,65534,18431]),t.i) -C.z=H.c(s([0,0,24576,1023,65534,34815,65534,18431]),t.i) -C.A=H.c(s([0,0,27858,1023,65534,51199,65535,32767]),t.i) -C.X=H.c(s([0,0,32754,11263,65534,34815,65534,18431]),t.i) -C.Y=H.c(s([0,0,32722,12287,65535,34815,65534,18431]),t.i) -C.B=H.c(s([0,0,65490,12287,65535,34815,65534,18431]),t.i) -C.V=H.c(s([]),H.d6("m")) -C.C=new H.b8(0,{},C.V,H.d6("b8")) -C.a_=new H.aS("call") -C.a0=new P.cP(!1) -C.n=new M.aX("at root") -C.o=new M.aX("below root") -C.a1=new M.aX("reaches root") -C.p=new M.aX("above root") -C.d=new M.aY("different") -C.q=new M.aY("equal") -C.f=new M.aY("inconclusive") -C.i=new M.aY("within") -C.a2=new T.aZ(!1,!1,!1) -C.a3=new T.aZ(!1,!1,!0) -C.a4=new T.aZ(!1,!0,!1) -C.a5=new T.aZ(!0,!1,!1)})();(function staticFields(){$.hh=null +C.v=H.b(s([0,0,32776,33792,1,10240,0,0]),t.t) +C.h=H.b(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) +C.w=H.b(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +C.x=H.b(s([]),t.s) +C.y=H.b(s([]),t.b) +C.U=H.b(s([]),t.m) +C.W=H.b(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) +C.z=H.b(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) +C.A=H.b(s([0,0,27858,1023,65534,51199,65535,32767]),t.t) +C.X=H.b(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +C.Y=H.b(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +C.B=H.b(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +C.V=H.b(s([]),H.db("o")) +C.C=new H.b7(0,{},C.V,H.db("b7")) +C.a_=new H.aQ("call") +C.a0=new P.cS(!1) +C.a1=new P.aU(null,2) +C.m=new M.aW("at root") +C.n=new M.aW("below root") +C.a2=new M.aW("reaches root") +C.o=new M.aW("above root") +C.d=new M.aX("different") +C.p=new M.aX("equal") +C.f=new M.aX("inconclusive") +C.i=new M.aX("within") +C.a3=new T.aY(!1,!1,!1) +C.a4=new T.aY(!1,!1,!0) +C.a5=new T.aY(!1,!0,!1) +C.a6=new T.aY(!0,!1,!1)})();(function staticFields(){$.eo=null $.a2=0 +$.b4=null $.fG=null -$.fF=null $.hT=null $.hP=null -$.i3=null -$.eD=null -$.eK=null +$.i2=null +$.eL=null +$.eR=null $.fs=null -$.aG=H.c([],H.d6("m")) -$.hF=null -$.ex=null -$.fm=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazyOld -s($,"l_","fw",function(){return H.kE("_$dart_dartClosure")}) -s($,"l9","ia",function(){return H.a9(H.e9({ +$.aE=H.b([],H.db("o")) +$.hE=null +$.eE=null +$.fm=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal +s($,"l3","fw",function(){return H.kH("_$dart_dartClosure")}) +s($,"ld","i8",function(){return H.a8(H.eg({ toString:function(){return"$receiver$"}}))}) -s($,"la","ib",function(){return H.a9(H.e9({$method$:null, +s($,"le","i9",function(){return H.a8(H.eg({$method$:null, toString:function(){return"$receiver$"}}))}) -s($,"lb","ic",function(){return H.a9(H.e9(null))}) -s($,"lc","id",function(){return H.a9(function(){var $argumentsExpr$='$arguments$' -try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())}) -s($,"lf","ih",function(){return H.a9(H.e9(void 0))}) -s($,"lg","ii",function(){return H.a9(function(){var $argumentsExpr$='$arguments$' -try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())}) -s($,"le","ig",function(){return H.a9(H.ha(null))}) -s($,"ld","ie",function(){return H.a9(function(){try{null.$method$}catch(q){return q.message}}())}) -s($,"li","ik",function(){return H.a9(H.ha(void 0))}) -s($,"lh","ij",function(){return H.a9(function(){try{(void 0).$method$}catch(q){return q.message}}())}) -s($,"lj","il",function(){return new P.ee().$0()}) -s($,"lk","im",function(){return new P.ef().$0()}) -s($,"ll","io",function(){return new Int8Array(H.hG(H.c([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))}) -s($,"lm","fz",function(){return typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"}) -s($,"ln","ip",function(){return P.k("^[\\-\\.0-9A-Z_a-z~]*$",!1)}) -s($,"lM","iz",function(){return P.k9()}) -r($,"lX","iH",function(){return M.eZ($.bS())}) -r($,"lW","eS",function(){return M.eZ($.b2())}) -r($,"lT","eR",function(){return new M.c2($.eQ(),null)}) -r($,"l6","i9",function(){return new E.dK(P.k("/",!1),P.k("[^/]$",!1),P.k("^/",!1))}) -r($,"l8","bS",function(){return new L.eg(P.k("[/\\\\]",!1),P.k("[^/\\\\]$",!1),P.k("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),P.k("^[/\\\\](?![/\\\\])",!1))}) -r($,"l7","b2",function(){return new F.ed(P.k("/",!1),P.k("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),P.k("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),P.k("^/",!1))}) -r($,"l5","eQ",function(){return O.jr()}) -r($,"lD","ir",function(){return new L.eA().$0()}) -r($,"l3","fx",function(){return P.i2(2,31)-1}) -r($,"l4","fy",function(){return-P.i2(2,31)}) -r($,"lS","iF",function(){return P.k("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)}) -r($,"lO","iB",function(){return P.k("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)}) -r($,"lR","iE",function(){return P.k("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)}) -r($,"lN","iA",function(){return P.k("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)}) -r($,"lE","is",function(){return P.k("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)}) -r($,"lG","iu",function(){return P.k("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)}) -r($,"lI","iw",function(){return P.k("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)}) -r($,"lC","iq",function(){return P.k("<(|[^>]+)_async_body>",!1)}) -r($,"lL","iy",function(){return P.k("^\\.",!1)}) -r($,"l0","i7",function(){return P.k("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)}) -r($,"l1","i8",function(){return P.k("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)}) -r($,"lP","iC",function(){return P.k("\\n ?at ",!1)}) -r($,"lQ","iD",function(){return P.k(" ?at ",!1)}) -r($,"lF","it",function(){return P.k("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)}) -r($,"lH","iv",function(){return P.k("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)}) -r($,"lJ","ix",function(){return P.k("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)}) -r($,"lV","iG",function(){return J.iO(self.$dartLoader.rootDirectories,new D.eB(),t.X).an(0)})})();(function nativeSupport(){!function(){var s=function(a){var m={} +s($,"lf","ia",function(){return H.a8(H.eg(null))}) +s($,"lg","ib",function(){return H.a8(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(r){return r.message}}())}) +s($,"lj","ie",function(){return H.a8(H.eg(void 0))}) +s($,"lk","ig",function(){return H.a8(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(r){return r.message}}())}) +s($,"li","id",function(){return H.a8(H.h8(null))}) +s($,"lh","ic",function(){return H.a8(function(){try{null.$method$}catch(r){return r.message}}())}) +s($,"lm","ii",function(){return H.a8(H.h8(void 0))}) +s($,"ll","ih",function(){return H.a8(function(){try{(void 0).$method$}catch(r){return r.message}}())}) +s($,"ln","ij",function(){return new P.em().$0()}) +s($,"lo","ik",function(){return new P.el().$0()}) +s($,"lp","il",function(){return new Int8Array(H.hF(H.b([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))}) +s($,"lr","fz",function(){return typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"}) +s($,"ls","im",function(){return P.j("^[\\-\\.0-9A-Z_a-z~]*$",!1)}) +s($,"lP","ix",function(){return P.ka()}) +s($,"m0","iF",function(){return M.f1($.bS())}) +s($,"lZ","eY",function(){return M.f1($.b1())}) +s($,"lW","eX",function(){return new M.c0(t.W.a($.eW()),null)}) +s($,"la","i7",function(){return new E.cy(P.j("/",!1),P.j("[^/]$",!1),P.j("^/",!1))}) +s($,"lc","bS",function(){return new L.cV(P.j("[/\\\\]",!1),P.j("[^/\\\\]$",!1),P.j("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),P.j("^[/\\\\](?![/\\\\])",!1))}) +s($,"lb","b1",function(){return new F.cQ(P.j("/",!1),P.j("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),P.j("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),P.j("^/",!1))}) +s($,"l9","eW",function(){return O.jm()}) +s($,"lH","ip",function(){return new L.eF().$0()}) +s($,"l7","fx",function(){return H.hD(P.i1(2,31))-1}) +s($,"l8","fy",function(){return-H.hD(P.i1(2,31))}) +s($,"lV","iD",function(){return P.j("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)}) +s($,"lR","iz",function(){return P.j("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)}) +s($,"lU","iC",function(){return P.j("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)}) +s($,"lQ","iy",function(){return P.j("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)}) +s($,"lI","iq",function(){return P.j("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)}) +s($,"lK","is",function(){return P.j("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)}) +s($,"lM","iu",function(){return P.j("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)}) +s($,"lG","io",function(){return P.j("<(|[^>]+)_async_body>",!1)}) +s($,"lO","iw",function(){return P.j("^\\.",!1)}) +s($,"l4","i5",function(){return P.j("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)}) +s($,"l5","i6",function(){return P.j("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)}) +s($,"lS","iA",function(){return P.j("\\n ?at ",!1)}) +s($,"lT","iB",function(){return P.j(" ?at ",!1)}) +s($,"lJ","ir",function(){return P.j("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)}) +s($,"lL","it",function(){return P.j("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)}) +s($,"lN","iv",function(){return P.j("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)}) +s($,"m_","fA",function(){return P.j("^\\n?$",!0)}) +s($,"lY","iE",function(){return J.iM(self.$dartLoader.rootDirectories,new D.eV(),t.N).ak(0)})})();(function nativeSupport(){!function(){var s=function(a){var m={} m[a]=1 return Object.keys(hunkHelpers.convertToFastObject(m))[0]} v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} @@ -5340,24 +5473,25 @@ for(var o=0;;o++){var n=s(p+"_"+o+"_") if(!(n in q)){q[n]=1 v.isolateTag=n break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() -hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.x,ApplicationCacheErrorEvent:J.x,DOMError:J.x,ErrorEvent:J.x,Event:J.x,InputEvent:J.x,SubmitEvent:J.x,MediaError:J.x,NavigatorUserMediaError:J.x,OverconstrainedError:J.x,PositionError:J.x,SensorErrorEvent:J.x,SpeechRecognitionError:J.x,SQLError:J.x,ArrayBufferView:H.cq,Int8Array:H.cp,Uint32Array:H.cr,Uint8Array:H.ay,DOMException:W.dm}) -hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,SQLError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) -H.aP.$nativeSuperclassTag="ArrayBufferView" -H.bG.$nativeSuperclassTag="ArrayBufferView" -H.bH.$nativeSuperclassTag="ArrayBufferView" -H.bq.$nativeSuperclassTag="ArrayBufferView"})() -Function.prototype.$1=function(a){return this(a)} +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.y,ApplicationCacheErrorEvent:J.y,DOMError:J.y,ErrorEvent:J.y,Event:J.y,InputEvent:J.y,SubmitEvent:J.y,MediaError:J.y,NavigatorUserMediaError:J.y,OverconstrainedError:J.y,PositionError:J.y,GeolocationPositionError:J.y,SensorErrorEvent:J.y,SpeechRecognitionError:J.y,SQLError:J.y,ArrayBufferView:H.cr,Int8Array:H.cq,Uint32Array:H.cs,Uint8Array:H.ay,DOMException:W.du}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,GeolocationPositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,SQLError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +H.aN.$nativeSuperclassTag="ArrayBufferView" +H.bD.$nativeSuperclassTag="ArrayBufferView" +H.bE.$nativeSuperclassTag="ArrayBufferView" +H.bl.$nativeSuperclassTag="ArrayBufferView"})() Function.prototype.$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} Function.prototype.$2=function(a,b){return this(a,b)} Function.prototype.$3=function(a,b,c){return this(a,b,c)} Function.prototype.$1$0=function(){return this()} Function.prototype.$1$1=function(a){return this(a)} convertAllToFastObject(w) convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) -return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}if(typeof document.currentScript!="undefined"){a(document.currentScript) return}var s=document.scripts function onLoad(b){for(var q=0;qYk(p07pOwE&u=k literal 0 HcmV?d00001 diff --git a/dev/packages/built_collection/src/internal/hash.dart.transitive_digest b/dev/packages/built_collection/src/internal/hash.dart.transitive_digest new file mode 100644 index 000000000..a82588896 --- /dev/null +++ b/dev/packages/built_collection/src/internal/hash.dart.transitive_digest @@ -0,0 +1 @@ +LC/H6 \ No newline at end of file diff --git a/dev/packages/built_collection/src/set.dart.transitive_digest b/dev/packages/built_collection/src/set.dart.transitive_digest new file mode 100644 index 000000000..2ee359e32 --- /dev/null +++ b/dev/packages/built_collection/src/set.dart.transitive_digest @@ -0,0 +1,2 @@ +浦P h6 ++\ \ No newline at end of file diff --git a/dev/packages/built_value/built_value.dart.transitive_digest b/dev/packages/built_value/built_value.dart.transitive_digest new file mode 100644 index 000000000..66717cec4 --- /dev/null +++ b/dev/packages/built_value/built_value.dart.transitive_digest @@ -0,0 +1 @@ +:12ZF \ No newline at end of file diff --git a/dev/packages/built_value/serializer.dart.transitive_digest b/dev/packages/built_value/serializer.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..7c490cfa5f39353794d19c1a894c82a7ebd76571 GIT binary patch literal 16 Xcmd-mYBug+usW4qud$r_tUw_EF7*Y^ literal 0 HcmV?d00001 diff --git a/dev/packages/built_value/standard_json_plugin.dart.transitive_digest b/dev/packages/built_value/standard_json_plugin.dart.transitive_digest new file mode 100644 index 000000000..457f84424 --- /dev/null +++ b/dev/packages/built_value/standard_json_plugin.dart.transitive_digest @@ -0,0 +1 @@ +t:ͦ \ No newline at end of file diff --git a/dev/packages/codemirror/codemirror.dart.transitive_digest b/dev/packages/codemirror/codemirror.dart.transitive_digest new file mode 100644 index 000000000..cb0e872ca --- /dev/null +++ b/dev/packages/codemirror/codemirror.dart.transitive_digest @@ -0,0 +1 @@ +ބeR \ No newline at end of file diff --git a/dev/packages/codemirror/hints.dart.transitive_digest b/dev/packages/codemirror/hints.dart.transitive_digest new file mode 100644 index 000000000..d10187529 --- /dev/null +++ b/dev/packages/codemirror/hints.dart.transitive_digest @@ -0,0 +1 @@ +_껃 2 \ No newline at end of file diff --git a/dev/packages/collection/collection.dart.transitive_digest b/dev/packages/collection/collection.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..afdc7fe70b582c6d66354f910848f11a459cbf7d GIT binary patch literal 16 XcmWf!T4Qt|x%7g$#{veXG<`V$GVujz literal 0 HcmV?d00001 diff --git a/dev/packages/color/color.dart.transitive_digest b/dev/packages/color/color.dart.transitive_digest new file mode 100644 index 000000000..b1507a62b --- /dev/null +++ b/dev/packages/color/color.dart.transitive_digest @@ -0,0 +1 @@ +>y/mNVZ \ No newline at end of file diff --git a/dev/packages/crypto/crypto.dart.transitive_digest b/dev/packages/crypto/crypto.dart.transitive_digest new file mode 100644 index 000000000..707f86d85 --- /dev/null +++ b/dev/packages/crypto/crypto.dart.transitive_digest @@ -0,0 +1 @@ +:GӲ` \ No newline at end of file diff --git a/dev/packages/dialog/dialog.dart.transitive_digest b/dev/packages/dialog/dialog.dart.transitive_digest new file mode 100644 index 000000000..5824d029e --- /dev/null +++ b/dev/packages/dialog/dialog.dart.transitive_digest @@ -0,0 +1 @@ +6Ź| * n \ No newline at end of file diff --git a/dev/packages/dnd/dnd.dart.transitive_digest b/dev/packages/dnd/dnd.dart.transitive_digest new file mode 100644 index 000000000..02504b7a3 --- /dev/null +++ b/dev/packages/dnd/dnd.dart.transitive_digest @@ -0,0 +1 @@ +7`Zȿ(+ \ No newline at end of file diff --git a/dev/packages/fixnum/fixnum.dart.transitive_digest b/dev/packages/fixnum/fixnum.dart.transitive_digest new file mode 100644 index 000000000..c354a9531 --- /dev/null +++ b/dev/packages/fixnum/fixnum.dart.transitive_digest @@ -0,0 +1 @@ +9+%;H \ No newline at end of file diff --git a/dev/packages/pointycastle/block/aes.dart.transitive_digest b/dev/packages/pointycastle/block/aes.dart.transitive_digest new file mode 100644 index 000000000..63c7206c0 --- /dev/null +++ b/dev/packages/pointycastle/block/aes.dart.transitive_digest @@ -0,0 +1 @@ +bbcX,U8 \ No newline at end of file diff --git a/dev/packages/pointycastle/digests/sha1.dart.transitive_digest b/dev/packages/pointycastle/digests/sha1.dart.transitive_digest new file mode 100644 index 000000000..c1a0b0cef --- /dev/null +++ b/dev/packages/pointycastle/digests/sha1.dart.transitive_digest @@ -0,0 +1 @@ + qi]]=-T \ No newline at end of file diff --git a/dev/packages/pointycastle/export.dart.transitive_digest b/dev/packages/pointycastle/export.dart.transitive_digest new file mode 100644 index 000000000..378068c84 --- /dev/null +++ b/dev/packages/pointycastle/export.dart.transitive_digest @@ -0,0 +1 @@ +FRA%rN\k \ No newline at end of file diff --git a/dev/packages/pointycastle/macs/hmac.dart.transitive_digest b/dev/packages/pointycastle/macs/hmac.dart.transitive_digest new file mode 100644 index 000000000..817148ef7 --- /dev/null +++ b/dev/packages/pointycastle/macs/hmac.dart.transitive_digest @@ -0,0 +1 @@ +v5n~0]M \ No newline at end of file diff --git a/dev/packages/pool/pool.dart.transitive_digest b/dev/packages/pool/pool.dart.transitive_digest new file mode 100644 index 000000000..b8bfe61d5 --- /dev/null +++ b/dev/packages/pool/pool.dart.transitive_digest @@ -0,0 +1 @@ +EΜ˾hE/ \ No newline at end of file diff --git a/dev/packages/pub_semver/pub_semver.dart.transitive_digest b/dev/packages/pub_semver/pub_semver.dart.transitive_digest new file mode 100644 index 000000000..f5ddbf628 --- /dev/null +++ b/dev/packages/pub_semver/pub_semver.dart.transitive_digest @@ -0,0 +1 @@ +7ؑuza{} \ No newline at end of file diff --git a/dev/packages/quiver/collection.dart.transitive_digest b/dev/packages/quiver/collection.dart.transitive_digest new file mode 100644 index 000000000..d582daf27 --- /dev/null +++ b/dev/packages/quiver/collection.dart.transitive_digest @@ -0,0 +1 @@ +uT$\q \ No newline at end of file diff --git a/dev/packages/quiver/core.dart.transitive_digest b/dev/packages/quiver/core.dart.transitive_digest new file mode 100644 index 000000000..676b91106 --- /dev/null +++ b/dev/packages/quiver/core.dart.transitive_digest @@ -0,0 +1 @@ +L"iSYk \ No newline at end of file diff --git a/dev/packages/quiver/iterables.dart.transitive_digest b/dev/packages/quiver/iterables.dart.transitive_digest new file mode 100644 index 000000000..a1c553773 --- /dev/null +++ b/dev/packages/quiver/iterables.dart.transitive_digest @@ -0,0 +1 @@ +##: p::B \ No newline at end of file diff --git a/dev/packages/react/hooks.dart.transitive_digest b/dev/packages/react/hooks.dart.transitive_digest new file mode 100644 index 000000000..7edc6a4f4 --- /dev/null +++ b/dev/packages/react/hooks.dart.transitive_digest @@ -0,0 +1 @@ +,")Z^C\z \ No newline at end of file diff --git a/dev/packages/react/react.dart.transitive_digest b/dev/packages/react/react.dart.transitive_digest new file mode 100644 index 000000000..6e16f3aaa --- /dev/null +++ b/dev/packages/react/react.dart.transitive_digest @@ -0,0 +1 @@ +tGh+>: \ No newline at end of file diff --git a/dev/packages/react/react_client.dart.transitive_digest b/dev/packages/react/react_client.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..57e301ebdc41bb1480ec67cd8e80f7f862a36ea8 GIT binary patch literal 16 YcmaFHBc5{FXB|W6m*PFsp4zYg06s$pW&i*H literal 0 HcmV?d00001 diff --git a/dev/packages/react/react_client/bridge.dart.transitive_digest b/dev/packages/react/react_client/bridge.dart.transitive_digest new file mode 100644 index 000000000..74f77adc0 --- /dev/null +++ b/dev/packages/react/react_client/bridge.dart.transitive_digest @@ -0,0 +1 @@ +D}g` ( diff --git a/dev/packages/react/react_client/component_factory.dart.transitive_digest b/dev/packages/react/react_client/component_factory.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..773d996b3ddaddc4a0a857d7372b3d94008800cd GIT binary patch literal 16 YcmbPb&b98&6{nxw%(e_%>t?+H06#egegFUf literal 0 HcmV?d00001 diff --git a/dev/packages/react/react_client/js_backed_map.dart.transitive_digest b/dev/packages/react/react_client/js_backed_map.dart.transitive_digest new file mode 100644 index 000000000..cebe6a3d4 --- /dev/null +++ b/dev/packages/react/react_client/js_backed_map.dart.transitive_digest @@ -0,0 +1 @@ +dB+]:R \ No newline at end of file diff --git a/dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest b/dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest new file mode 100644 index 000000000..ad01cb8c0 --- /dev/null +++ b/dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest @@ -0,0 +1 @@ +a!Y_>lʰ \ No newline at end of file diff --git a/dev/packages/react/react_client/react_interop.dart.transitive_digest b/dev/packages/react/react_client/react_interop.dart.transitive_digest new file mode 100644 index 000000000..06482dbef --- /dev/null +++ b/dev/packages/react/react_client/react_interop.dart.transitive_digest @@ -0,0 +1 @@ +Dت \ No newline at end of file diff --git a/dev/packages/react/react_dom.dart.transitive_digest b/dev/packages/react/react_dom.dart.transitive_digest new file mode 100644 index 000000000..c072c1971 --- /dev/null +++ b/dev/packages/react/react_dom.dart.transitive_digest @@ -0,0 +1 @@ +|m3*)SJL \ No newline at end of file diff --git a/dev/packages/react/react_test_utils.dart.transitive_digest b/dev/packages/react/react_test_utils.dart.transitive_digest new file mode 100644 index 000000000..ea5673b10 --- /dev/null +++ b/dev/packages/react/react_test_utils.dart.transitive_digest @@ -0,0 +1 @@ +X5iۄ \ No newline at end of file diff --git a/dev/packages/redux/redux.dart.transitive_digest b/dev/packages/redux/redux.dart.transitive_digest new file mode 100644 index 000000000..29e7eb4b9 --- /dev/null +++ b/dev/packages/redux/redux.dart.transitive_digest @@ -0,0 +1 @@ +I'vzv \ No newline at end of file diff --git a/dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest b/dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest new file mode 100644 index 000000000..81a713b45 --- /dev/null +++ b/dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest @@ -0,0 +1 @@ +|nx \ No newline at end of file diff --git a/dev/packages/source_span/source_span.dart.transitive_digest b/dev/packages/source_span/source_span.dart.transitive_digest new file mode 100644 index 000000000..c5d5add8d --- /dev/null +++ b/dev/packages/source_span/source_span.dart.transitive_digest @@ -0,0 +1 @@ +UƨM0qM3 \ No newline at end of file diff --git a/dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest b/dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest new file mode 100644 index 000000000..f416399a5 --- /dev/null +++ b/dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest @@ -0,0 +1 @@ +mBDAA\F_m \ No newline at end of file diff --git a/dev/packages/stack_trace/stack_trace.dart.transitive_digest b/dev/packages/stack_trace/stack_trace.dart.transitive_digest new file mode 100644 index 000000000..24b6396fd --- /dev/null +++ b/dev/packages/stack_trace/stack_trace.dart.transitive_digest @@ -0,0 +1 @@ +|=Z"}7,yay \ No newline at end of file diff --git a/dev/packages/stream_channel/stream_channel.dart.transitive_digest b/dev/packages/stream_channel/stream_channel.dart.transitive_digest new file mode 100644 index 000000000..aafd5dc8b --- /dev/null +++ b/dev/packages/stream_channel/stream_channel.dart.transitive_digest @@ -0,0 +1 @@ +rSVNE \ No newline at end of file diff --git a/dev/packages/string_scanner/string_scanner.dart.transitive_digest b/dev/packages/string_scanner/string_scanner.dart.transitive_digest new file mode 100644 index 000000000..bcc02a1f5 --- /dev/null +++ b/dev/packages/string_scanner/string_scanner.dart.transitive_digest @@ -0,0 +1 @@ +ٽsN7&~{ \ No newline at end of file diff --git a/dev/packages/term_glyph/term_glyph.dart.transitive_digest b/dev/packages/term_glyph/term_glyph.dart.transitive_digest new file mode 100644 index 000000000..c9e5f1bee --- /dev/null +++ b/dev/packages/term_glyph/term_glyph.dart.transitive_digest @@ -0,0 +1 @@ +J:Zy%xJ \ No newline at end of file diff --git a/dev/packages/test/dart.js b/dev/packages/test/dart.js index 54329ca3e..a3cc30286 100644 --- a/dev/packages/test/dart.js +++ b/dev/packages/test/dart.js @@ -52,13 +52,27 @@ if (link.href == '') { var script = document.createElement('script'); -script.src = link.href + '.browser_test.dart.js'; +if (typeof trustedTypes !== 'undefined') { + const sanitizer = trustedTypes.createPolicy('dart#test', { + createScriptURL: (input) => input + '.browser_test.dart.js' + }); + script.src = sanitizer.createScriptURL(link.href); +} else { + script.src = link.href + '.browser_test.dart.js'; +} script.onerror = function(event) { var message = "Failed to load script at " + script.src + (event.message ? ": " + event.message : "."); sendLoadException(message); -} +}; + +Array.from(document.querySelectorAll('script')).some(currentScript => { + if (currentScript.nonce) { + script.nonce = currentScript.nonce; + return true; + } +}); var parent = link.parentNode; document.currentScript = script; diff --git a/dev/packages/test/src/runner/browser/static/host.dart.js b/dev/packages/test/src/runner/browser/static/host.dart.js index 49dc4425d..86173e408 100644 --- a/dev/packages/test/src/runner/browser/static/host.dart.js +++ b/dev/packages/test/src/runner/browser/static/host.dart.js @@ -1,4 +1,4 @@ -// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler version: 2.2.0. +// Generated by dart2js (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.0-edge.e4643b54dfba2a4362e47874e742cdffa2892171. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -9,22 +9,17 @@ // directly. Instead, a closure that will invoke [main], and its arguments // [args] is passed to [dartMainRunner]. // -// dartDeferredLibraryLoader(uri, successCallback, errorCallback): +// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId): // if this function is defined, it will be called when a deferred library // is loaded. It should load and eval the javascript of `uri`, and call // successCallback. If it fails to do so, it should call errorCallback with -// an error. +// an error. The loadId argument is the deferred import that resulted in +// this uri being loaded. // // dartCallInstrumentation(id, qualifiedName): // if this function is defined, it will be called at each entry of a // method or constructor. Used only when compiling programs with // --experiment-call-instrumentation. -// -// defaultPackagesBase: -// Override the location where `package:` uris are resolved from. By default -// they are resolved under "packages/" from the current window location. -{ -} (function dartProgram() { function copyProperties(from, to) { var keys = Object.keys(from); @@ -33,6 +28,17 @@ to[key] = from[key]; } } + function mixinPropertiesHard(from, to) { + var keys = Object.keys(from); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!to.hasOwnProperty(key)) + to[key] = from[key]; + } + } + function mixinPropertiesEasy(from, to) { + Object.assign(to, from); + } var supportsDirectProtoAccess = function() { var cls = function() { }; @@ -52,23 +58,6 @@ } return false; }(); - function setFunctionNamesIfNecessary(holders) { - function t() { - } - ; - if (typeof t.name == "string") - return; - for (var i = 0; i < holders.length; i++) { - var holder = holders[i]; - var keys = Object.keys(holder); - for (var j = 0; j < keys.length; j++) { - var key = keys[j]; - var f = holder[key]; - if (typeof f == 'function') - f.name = key; - } - } - } function inherit(cls, sup) { cls.prototype.constructor = cls; cls.prototype["$is" + cls.name] = cls; @@ -86,16 +75,20 @@ for (var i = 0; i < classes.length; i++) inherit(classes[i], sup); } - function mixin(cls, mixin) { - copyProperties(mixin.prototype, cls.prototype); + function mixinEasy(cls, mixin) { + mixinPropertiesEasy(mixin.prototype, cls.prototype); cls.prototype.constructor = cls; } - function lazy(holder, name, getterName, initializer) { + function mixinHard(cls, mixin) { + mixinPropertiesHard(mixin.prototype, cls.prototype); + cls.prototype.constructor = cls; + } + function lazyOld(holder, name, getterName, initializer) { var uninitializedSentinel = holder; holder[name] = uninitializedSentinel; holder[getterName] = function() { holder[getterName] = function() { - H.throwCyclicInit(name); + A.throwCyclicInit(name); }; var result; var sentinelInProgress = initializer; @@ -115,6 +108,35 @@ return result; }; } + function lazy(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) + holder[name] = initializer(); + holder[getterName] = function() { + return this[name]; + }; + return holder[name]; + }; + } + function lazyFinal(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) { + var value = initializer(); + if (holder[name] !== uninitializedSentinel) + A.throwLateFieldADI(name); + holder[name] = value; + } + var finalValue = holder[name]; + holder[getterName] = function() { + return finalValue; + }; + return finalValue; + }; + } function makeConstList(list) { list.immutable$list = Array; list.fixed$length = Array; @@ -132,45 +154,42 @@ convertToFastObject(arrayOfObjects[i]); } var functionCounter = 0; - function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) { - return isIntercepted ? new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(receiver) {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);" + "return new c(this, funcs[0], receiver, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null); + function instanceTearOffGetter(isIntercepted, parameters) { + var cache = null; + return isIntercepted ? function(receiver) { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(receiver, this); + } : function() { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(this, null); + }; } - function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) { + function staticTearOffGetter(parameters) { var cache = null; - return isStatic ? function() { + return function() { if (cache === null) - cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype; + cache = A.closureFromTearOff(parameters).prototype; return cache; - } : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted); + }; } var typesOffset = 0; - function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - var funs = []; - for (var i = 0; i < funsOrNames.length; i++) { - var fun = funsOrNames[i]; - if (typeof fun == 'string') - fun = container[fun]; - fun.$callName = callNames[i]; - funs.push(fun); - } - var fun = funs[0]; - fun.$requiredArgCount = requiredParameterCount; - fun.$defaultValues = optionalParameterDefaultValues; - var reflectionInfo = funType; - if (typeof reflectionInfo == "number") - reflectionInfo = reflectionInfo + typesOffset; - var name = funsOrNames[0]; - fun.$stubName = name; - var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted); - container[getterName] = getterFunction; - if (isStatic) - fun.$tearOff = getterFunction; + function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + if (typeof funType == "number") + funType += typesOffset; + return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess}; } - function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false); + var getterFunction = staticTearOffGetter(parameters); + holder[getterName] = getterFunction; } - function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { - return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + isIntercepted = !!isIntercepted; + var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess); + var getterFunction = instanceTearOffGetter(isIntercepted, parameters); + prototype[getterName] = getterFunction; } function setOrUpdateInterceptorsByTag(newTags) { var tags = init.interceptorsByTag; @@ -201,7 +220,7 @@ var hunkHelpers = function() { var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { return function(container, getterName, name, funType) { - return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); + return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false); }; }, mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { @@ -209,26 +228,26 @@ return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); }; }; - return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; + return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; }(); function initializeDeferredHunk(hunk) { typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } - function getGlobalFromName(name) { - for (var i = 0; i < holders.length; i++) { - if (holders[i] == C) - continue; - if (holders[i][name]) - return holders[i][name]; - } - } - var C = {}, - H = {JS_CONST: function JS_CONST() { + var A = {JS_CONST: function JS_CONST() { + }, + LateError$fieldADI(fieldName) { + return new A.LateError("Field '" + fieldName + "' has been assigned during initialization."); }, - hexDigitValue: function(char) { - var digit, letter; - digit = char ^ 48; + LateError$fieldNI(fieldName) { + return new A.LateError("Field '" + fieldName + "' has not been initialized."); + }, + LateError$fieldAI(fieldName) { + return new A.LateError("Field '" + fieldName + "' has already been initialized."); + }, + hexDigitValue(char) { + var letter, + digit = char ^ 48; if (digit <= 9) return digit; letter = char | 32; @@ -236,31 +255,68 @@ return letter - 87; return -1; }, - SubListIterable$: function(_iterable, _start, _endOrLength, $E) { - P.RangeError_checkNotNegative(_start, "start"); + SystemHash_combine(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + SystemHash_finish(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + checkNotNullable(value, $name, $T) { + return value; + }, + SubListIterable$(_iterable, _start, _endOrLength, $E) { + A.RangeError_checkNotNegative(_start, "start"); if (_endOrLength != null) { - P.RangeError_checkNotNegative(_endOrLength, "end"); + A.RangeError_checkNotNegative(_endOrLength, "end"); if (_start > _endOrLength) - H.throwExpression(P.RangeError$range(_start, 0, _endOrLength, "start", null)); + A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); } - return new H.SubListIterable(_iterable, _start, _endOrLength, [$E]); + return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); + }, + MappedIterable_MappedIterable(iterable, $function, $S, $T) { + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + }, + TakeIterable_TakeIterable(iterable, takeCount, $E) { + var _s9_ = "takeCount"; + A.ArgumentError_checkNotNull(takeCount, _s9_, type$.int); + A.RangeError_checkNotNegative(takeCount, _s9_); + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); + return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); }, - MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { - H.assertSubtype(iterable, "$isIterable", [$S], "$asIterable"); - H.functionTypeCheck($function, {func: 1, ret: $T, args: [$S]}); - if (!!J.getInterceptor$(iterable).$isEfficientLengthIterable) - return new H.EfficientLengthMappedIterable(iterable, $function, [$S, $T]); - return new H.MappedIterable(iterable, $function, [$S, $T]); + IterableElementError_noElement() { + return new A.StateError("No element"); }, - IterableElementError_noElement: function() { - return new P.StateError("No element"); + IterableElementError_tooFew() { + return new A.StateError("Too few elements"); }, - IterableElementError_tooFew: function() { - return new P.StateError("Too few elements"); + CastStream: function CastStream(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { + var _ = this; + _._source = t0; + _.__internal$_zone = t1; + _._handleError = _._handleData = null; + _.$ti = t2; + }, + LateError: function LateError(t0) { + this._message = t0; }, CodeUnits: function CodeUnits(t0) { this._string = t0; }, + nullFuture_closure: function nullFuture_closure() { + }, + SentinelValue: function SentinelValue() { + }, EfficientLengthIterable: function EfficientLengthIterable() { }, ListIterable: function ListIterable() { @@ -272,13 +328,13 @@ _._endOrLength = t2; _.$ti = t3; }, - ListIterator: function ListIterator(t0, t1, t2, t3) { + ListIterator: function ListIterator(t0, t1, t2) { var _ = this; _.__internal$_iterable = t0; _.__internal$_length = t1; - _.__internal$_index = t2; + _.__internal$_index = 0; _.__internal$_current = null; - _.$ti = t3; + _.$ti = t2; }, MappedIterable: function MappedIterable(t0, t1, t2) { this.__internal$_iterable = t0; @@ -325,6 +381,21 @@ _.__internal$_current = null; _.$ti = t3; }, + TakeIterable: function TakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + TakeIterator: function TakeIterator(t0, t1, t2) { + this._iterator = t0; + this._remaining = t1; + this.$ti = t2; + }, SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) { this.__internal$_iterable = t0; this._f = t1; @@ -340,6 +411,14 @@ EmptyIterator: function EmptyIterator(t0) { this.$ti = t0; }, + WhereTypeIterable: function WhereTypeIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + WhereTypeIterator: function WhereTypeIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, FixedLengthListMixin: function FixedLengthListMixin() { }, UnmodifiableListMixin: function UnmodifiableListMixin() { @@ -351,41 +430,31 @@ this.$ti = t1; }, Symbol: function Symbol(t0) { - this.__internal$_name = t0; + this._name = t0; }, - ConstantMap__throwUnmodifiable: function() { - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable Map")); - }, - instantiate1: function(f, T1) { - var t1; - H.interceptedTypeCheck(f, "$isClosure"); - t1 = new H.Instantiation1(f, [T1]); - t1.Instantiation$1(f); - return t1; + ConstantMap__throwUnmodifiable() { + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); }, - unminifyOrTag: function(rawClassName) { - var preserved = H.stringTypeCheck(init.mangledGlobalNames[rawClassName]); - if (typeof preserved === "string") + unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; + if (preserved != null) return preserved; return rawClassName; }, - getType: function(index) { - return init.types[H.intTypeCheck(index)]; - }, - isJsIndexable: function(object, record) { + isJsIndexable(object, record) { var result; if (record != null) { result = record.x; if (result != null) return result; } - return !!J.getInterceptor$(object).$isJavaScriptIndexingBehavior; + return type$.JavaScriptIndexingBehavior_dynamic._is(object); }, - S: function(value) { - var res; - if (typeof value === "string") + S(value) { + var result; + if (typeof value == "string") return value; - if (typeof value === "number") { + if (typeof value == "number") { if (value !== 0) return "" + value; } else if (true === value) @@ -394,89 +463,78 @@ return "false"; else if (value == null) return "null"; - res = J.toString$0$(value); - if (typeof res !== "string") - throw H.wrapException(H.argumentErrorValue(value)); - return res; + result = J.toString$0$(value); + return result; }, - Primitives_objectHashCode: function(object) { - var hash = object.$identityHash; + Primitives_objectHashCode(object) { + var hash, + property = $.Primitives__identityHashCodeProperty; + if (property == null) + property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode"); + hash = object[property]; if (hash == null) { hash = Math.random() * 0x3fffffff | 0; - object.$identityHash = hash; + object[property] = hash; } return hash; }, - Primitives_parseInt: function(source, radix) { - var match, decimalMatch, maxCharCode, digitsPart, t1, i; - if (typeof source !== "string") - H.throwExpression(H.argumentErrorValue(source)); - match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); + Primitives_parseInt(source, radix) { + var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null, + match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); if (match == null) - return; + return _null; if (3 >= match.length) - return H.ioore(match, 3); - decimalMatch = H.stringTypeCheck(match[3]); + return A.ioore(match, 3); + decimalMatch = match[3]; if (radix == null) { if (decimalMatch != null) return parseInt(source, 10); if (match[2] != null) return parseInt(source, 16); - return; + return _null; } if (radix < 2 || radix > 36) - throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); + throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null)); if (radix === 10 && decimalMatch != null) return parseInt(source, 10); if (radix < 10 || decimalMatch == null) { maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; digitsPart = match[1]; for (t1 = digitsPart.length, i = 0; i < t1; ++i) - if ((C.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) - return; + if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) + return _null; } return parseInt(source, radix); }, - Primitives_objectTypeName: function(object) { - return H.Primitives__objectClassName(object) + H._joinArguments(H.getRuntimeTypeInfo(object), 0, null); + Primitives_objectTypeName(object) { + return A.Primitives__objectTypeNameNewRti(object); }, - Primitives__objectClassName: function(object) { - var interceptor, interceptorConstructor, interceptorConstructorName, $name, t1, dispatchName, objectConstructor, match, decompiledName; + Primitives__objectTypeNameNewRti(object) { + var interceptor, dispatchName, $constructor, constructorName; + if (object instanceof A.Object) + return A._rtiToString(A.instanceType(object), null); interceptor = J.getInterceptor$(object); - interceptorConstructor = interceptor.constructor; - if (typeof interceptorConstructor == "function") { - interceptorConstructorName = interceptorConstructor.name; - $name = typeof interceptorConstructorName === "string" ? interceptorConstructorName : null; - } else - $name = null; - t1 = $name == null; - if (t1 || interceptor === C.Interceptor_methods || !!interceptor.$isUnknownJavaScriptObject) { - dispatchName = C.C_JS_CONST(object); - if (t1) - $name = dispatchName; - if (dispatchName === "Object") { - objectConstructor = object.constructor; - if (typeof objectConstructor == "function") { - match = String(objectConstructor).match(/^\s*function\s*([\w$]*)\s*\(/); - decompiledName = match == null ? null : match[1]; - if (typeof decompiledName === "string" && /^\w+$/.test(decompiledName)) - $name = decompiledName; - } + if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) { + dispatchName = B.C_JS_CONST(object); + if (dispatchName !== "Object" && dispatchName !== "") + return dispatchName; + $constructor = object.constructor; + if (typeof $constructor == "function") { + constructorName = $constructor.name; + if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "") + return constructorName; } - return $name; } - $name = $name; - return H.unminifyOrTag($name.length > 1 && C.JSString_methods._codeUnitAt$1($name, 0) === 36 ? C.JSString_methods.substring$1($name, 1) : $name); + return A._rtiToString(A.instanceType(object), null); }, - Primitives_currentUri: function() { + Primitives_currentUri() { if (!!self.location) return self.location.href; - return; + return null; }, - Primitives__fromCharCodeApply: function(array) { - var end, result, i, i0, chunkEnd; - H.listTypeCheck(array); - end = J.get$length$asx(array); + Primitives__fromCharCodeApply(array) { + var result, i, i0, chunkEnd, + end = array.length; if (end <= 500) return String.fromCharCode.apply(null, array); for (result = "", i = 0; i < end; i = i0) { @@ -486,37 +544,37 @@ } return result; }, - Primitives_stringFromCodePoints: function(codePoints) { - var a, t1, _i, i; - a = H.setRuntimeTypeInfo([], [P.int]); - for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, H.throwConcurrentModificationError)(codePoints), ++_i) { + Primitives_stringFromCodePoints(codePoints) { + var t1, _i, i, + a = A._setArrayType([], type$.JSArray_int); + for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) { i = codePoints[_i]; - if (typeof i !== "number" || Math.floor(i) !== i) - throw H.wrapException(H.argumentErrorValue(i)); + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); if (i <= 65535) - C.JSArray_methods.add$1(a, i); + B.JSArray_methods.add$1(a, i); else if (i <= 1114111) { - C.JSArray_methods.add$1(a, 55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); - C.JSArray_methods.add$1(a, 56320 + (i & 1023)); + B.JSArray_methods.add$1(a, 55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); + B.JSArray_methods.add$1(a, 56320 + (i & 1023)); } else - throw H.wrapException(H.argumentErrorValue(i)); + throw A.wrapException(A.argumentErrorValue(i)); } - return H.Primitives__fromCharCodeApply(a); + return A.Primitives__fromCharCodeApply(a); }, - Primitives_stringFromCharCodes: function(charCodes) { + Primitives_stringFromCharCodes(charCodes) { var t1, _i, i; for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) { i = charCodes[_i]; - if (typeof i !== "number" || Math.floor(i) !== i) - throw H.wrapException(H.argumentErrorValue(i)); + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); if (i < 0) - throw H.wrapException(H.argumentErrorValue(i)); + throw A.wrapException(A.argumentErrorValue(i)); if (i > 65535) - return H.Primitives_stringFromCodePoints(charCodes); + return A.Primitives_stringFromCodePoints(charCodes); } - return H.Primitives__fromCharCodeApply(charCodes); + return A.Primitives__fromCharCodeApply(charCodes); }, - Primitives_stringFromNativeUint8List: function(charCodes, start, end) { + Primitives_stringFromNativeUint8List(charCodes, start, end) { var i, result, i0, chunkEnd; if (end <= 500 && start === 0 && end === charCodes.length) return String.fromCharCode.apply(null, charCodes); @@ -527,233 +585,228 @@ } return result; }, - Primitives_stringFromCharCode: function(charCode) { + Primitives_stringFromCharCode(charCode) { var bits; - if (typeof charCode !== "number") - return H.iae(charCode); if (0 <= charCode) { if (charCode <= 65535) return String.fromCharCode(charCode); if (charCode <= 1114111) { bits = charCode - 65536; - return String.fromCharCode((55296 | C.JSInt_methods._shrOtherPositive$1(bits, 10)) >>> 0, 56320 | bits & 1023); + return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); } } - throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null)); + throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null)); }, - Primitives_lazyAsJsDate: function(receiver) { + Primitives_lazyAsJsDate(receiver) { if (receiver.date === void 0) - receiver.date = new Date(receiver._core$_value); + receiver.date = new Date(receiver._value); return receiver.date; }, - Primitives_getYear: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0; + Primitives_getYear(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0; return t1; }, - Primitives_getMonth: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1; + Primitives_getMonth(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1; return t1; }, - Primitives_getDay: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0; + Primitives_getDay(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0; return t1; }, - Primitives_getHours: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0; + Primitives_getHours(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0; return t1; }, - Primitives_getMinutes: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0; + Primitives_getMinutes(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0; return t1; }, - Primitives_getSeconds: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0; + Primitives_getSeconds(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0; return t1; }, - Primitives_getMilliseconds: function(receiver) { - var t1 = H.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0; + Primitives_getMilliseconds(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0; return t1; }, - Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) { - var t1, $arguments, namedArgumentList; - t1 = {}; - H.assertSubtype(namedArguments, "$isMap", [P.String, null], "$asMap"); + Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) { + var $arguments, namedArgumentList, t1 = {}; t1.argumentCount = 0; $arguments = []; namedArgumentList = []; t1.argumentCount = positionalArguments.length; - C.JSArray_methods.addAll$1($arguments, positionalArguments); + B.JSArray_methods.addAll$1($arguments, positionalArguments); t1.names = ""; - if (namedArguments != null && namedArguments.__js_helper$_length !== 0) - namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); - "" + t1.argumentCount; - return J.noSuchMethod$1$($function, new H.JSInvocationMirror(C.Symbol_call, 0, $arguments, namedArgumentList, 0)); - }, - Primitives_applyFunction: function($function, positionalArguments, namedArguments) { - var t1, $arguments, argumentCount, jsStub; - H.assertSubtype(namedArguments, "$isMap", [P.String, null], "$asMap"); - if (positionalArguments instanceof Array) - t1 = namedArguments == null || namedArguments.__js_helper$_length === 0; + if (namedArguments != null && namedArguments._length !== 0) + namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); + return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0)); + }, + Primitives_applyFunction($function, positionalArguments, namedArguments) { + var t1, argumentCount, jsStub; + if (Array.isArray(positionalArguments)) + t1 = namedArguments == null || namedArguments._length === 0; else t1 = false; if (t1) { - $arguments = positionalArguments; - argumentCount = $arguments.length; + argumentCount = positionalArguments.length; if (argumentCount === 0) { if (!!$function.call$0) return $function.call$0(); } else if (argumentCount === 1) { if (!!$function.call$1) - return $function.call$1($arguments[0]); + return $function.call$1(positionalArguments[0]); } else if (argumentCount === 2) { if (!!$function.call$2) - return $function.call$2($arguments[0], $arguments[1]); + return $function.call$2(positionalArguments[0], positionalArguments[1]); } else if (argumentCount === 3) { if (!!$function.call$3) - return $function.call$3($arguments[0], $arguments[1], $arguments[2]); + return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]); } else if (argumentCount === 4) { if (!!$function.call$4) - return $function.call$4($arguments[0], $arguments[1], $arguments[2], $arguments[3]); + return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]); } else if (argumentCount === 5) if (!!$function.call$5) - return $function.call$5($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]); + return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]); jsStub = $function["call" + "$" + argumentCount]; if (jsStub != null) - return jsStub.apply($function, $arguments); + return jsStub.apply($function, positionalArguments); } - return H.Primitives__genericApplyFunction2($function, positionalArguments, namedArguments); + return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments); }, - Primitives__genericApplyFunction2: function($function, positionalArguments, namedArguments) { - var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, keys, _i, used, t2; - H.assertSubtype(namedArguments, "$isMap", [P.String, null], "$asMap"); - if (positionalArguments != null) - $arguments = positionalArguments instanceof Array ? positionalArguments : P.List_List$from(positionalArguments, true, null); - else - $arguments = []; - argumentCount = $arguments.length; - requiredParameterCount = $function.$requiredArgCount; + Primitives__generalApplyFunction($function, positionalArguments, namedArguments) { + var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, key, + $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic), + argumentCount = $arguments.length, + requiredParameterCount = $function.$requiredArgCount; if (argumentCount < requiredParameterCount) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); defaultValuesClosure = $function.$defaultValues; t1 = defaultValuesClosure == null; defaultValues = !t1 ? defaultValuesClosure() : null; interceptor = J.getInterceptor$($function); jsFunction = interceptor["call*"]; - if (typeof jsFunction === "string") + if (typeof jsFunction == "string") jsFunction = interceptor[jsFunction]; if (t1) { - if (namedArguments != null && namedArguments.__js_helper$_length !== 0) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); if (argumentCount === requiredParameterCount) return jsFunction.apply($function, $arguments); - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - } - if (defaultValues instanceof Array) { - if (namedArguments != null && namedArguments.__js_helper$_length !== 0) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); - if (argumentCount > requiredParameterCount + defaultValues.length) - return H.Primitives_functionNoSuchMethod($function, $arguments, null); - C.JSArray_methods.addAll$1($arguments, defaultValues.slice(argumentCount - requiredParameterCount)); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + if (Array.isArray(defaultValues)) { + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + maxArguments = requiredParameterCount + defaultValues.length; + if (argumentCount > maxArguments) + return A.Primitives_functionNoSuchMethod($function, $arguments, null); + if (argumentCount < maxArguments) { + missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); + B.JSArray_methods.addAll$1($arguments, missingDefaults); + } return jsFunction.apply($function, $arguments); } else { if (argumentCount > requiredParameterCount) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); keys = Object.keys(defaultValues); if (namedArguments == null) - for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) - C.JSArray_methods.add$1($arguments, defaultValues[H.stringTypeCheck(keys[_i])]); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + defaultValue = defaultValues[A._asString(keys[_i])]; + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); + } else { - for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { - t2 = H.stringTypeCheck(keys[_i]); - if (namedArguments.containsKey$1(t2)) { + for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = A._asString(keys[_i]); + if (namedArguments.containsKey$1(0, key)) { ++used; - C.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2)); - } else - C.JSArray_methods.add$1($arguments, defaultValues[t2]); + B.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); + } else { + defaultValue = defaultValues[key]; + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); + } } - if (used !== namedArguments.__js_helper$_length) - return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (used !== namedArguments._length) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } return jsFunction.apply($function, $arguments); } }, - iae: function(argument) { - throw H.wrapException(H.argumentErrorValue(argument)); + iae(argument) { + throw A.wrapException(A.argumentErrorValue(argument)); }, - ioore: function(receiver, index) { + ioore(receiver, index) { if (receiver == null) J.get$length$asx(receiver); - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - }, - diagnoseIndexError: function(indexable, index) { - var $length, t1; - if (typeof index !== "number" || Math.floor(index) !== index) - return new P.ArgumentError(true, index, "index", null); - $length = H.intTypeCheck(J.get$length$asx(indexable)); - if (!(index < 0)) { - if (typeof $length !== "number") - return H.iae($length); - t1 = index >= $length; - } else - t1 = true; - if (t1) - return P.IndexError$(index, indexable, "index", null, $length); - return P.RangeError$value(index, "index"); - }, - diagnoseRangeError: function(start, end, $length) { + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + }, + diagnoseIndexError(indexable, index) { + var $length, _s5_ = "index"; + if (!A._isInt(index)) + return new A.ArgumentError(true, index, _s5_, null); + $length = A._asInt(J.get$length$asx(indexable)); + if (index < 0 || index >= $length) + return A.IndexError$(index, indexable, _s5_, null, $length); + return A.RangeError$value(index, _s5_); + }, + diagnoseRangeError(start, end, $length) { if (start > $length) - return new P.RangeError(0, $length, true, start, "start", "Invalid value"); + return A.RangeError$range(start, 0, $length, "start", null); if (end != null) if (end < start || end > $length) - return new P.RangeError(start, $length, true, end, "end", "Invalid value"); - return new P.ArgumentError(true, end, "end", null); - }, - argumentErrorValue: function(object) { - return new P.ArgumentError(true, object, null, null); + return A.RangeError$range(end, start, $length, "end", null); + return new A.ArgumentError(true, end, "end", null); }, - checkNum: function(value) { - if (typeof value !== "number") - throw H.wrapException(H.argumentErrorValue(value)); - return value; + argumentErrorValue(object) { + return new A.ArgumentError(true, object, null, null); }, - wrapException: function(ex) { - var wrapper; + wrapException(ex) { + var wrapper, t1; if (ex == null) - ex = new P.NullThrownError(); + ex = new A.NullThrownError(); wrapper = new Error(); wrapper.dartException = ex; + t1 = A.toStringWrapper; if ("defineProperty" in Object) { - Object.defineProperty(wrapper, "message", {get: H.toStringWrapper}); + Object.defineProperty(wrapper, "message", {get: t1}); wrapper.name = ""; } else - wrapper.toString = H.toStringWrapper; + wrapper.toString = t1; return wrapper; }, - toStringWrapper: function() { + toStringWrapper() { return J.toString$0$(this.dartException); }, - throwExpression: function(ex) { - throw H.wrapException(ex); + throwExpression(ex) { + throw A.wrapException(ex); }, - throwConcurrentModificationError: function(collection) { - throw H.wrapException(P.ConcurrentModificationError$(collection)); + throwConcurrentModificationError(collection) { + throw A.wrapException(A.ConcurrentModificationError$(collection)); }, - TypeErrorDecoder_extractPattern: function(message) { + TypeErrorDecoder_extractPattern(message) { var match, $arguments, argumentsExpr, expr, method, receiver; - message = message.replace(String({}), '$receiver$').replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); + message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$")); match = message.match(/\\\$[a-zA-Z]+\\\$/g); if (match == null) - match = H.setRuntimeTypeInfo([], [P.String]); + match = A._setArrayType([], type$.JSArray_String); $arguments = match.indexOf("\\$arguments\\$"); argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); expr = match.indexOf("\\$expr\\$"); method = match.indexOf("\\$method\\$"); receiver = match.indexOf("\\$receiver\\$"); - return new H.TypeErrorDecoder(message.replace(new RegExp('\\\\\\$arguments\\\\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$', 'g'), '((?:x|[^x])*)'), $arguments, argumentsExpr, expr, method, receiver); + return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver); }, - TypeErrorDecoder_provokeCallErrorOn: function(expression) { + TypeErrorDecoder_provokeCallErrorOn(expression) { return function($expr$) { - var $argumentsExpr$ = '$arguments$'; + var $argumentsExpr$ = "$arguments$"; try { $expr$.$method$($argumentsExpr$); } catch (e) { @@ -761,7 +814,7 @@ } }(expression); }, - TypeErrorDecoder_provokePropertyErrorOn: function(expression) { + TypeErrorDecoder_provokePropertyErrorOn(expression) { return function($expr$) { try { $expr$.$method$; @@ -770,39 +823,47 @@ } }(expression); }, - NullError$: function(_message, match) { - return new H.NullError(_message, match == null ? null : match.method); - }, - JsNoSuchMethodError$: function(_message, match) { - var t1, t2; - t1 = match == null; - t2 = t1 ? null : match.method; - return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); + JsNoSuchMethodError$(_message, match) { + var t1 = match == null, + t2 = t1 ? null : match.method; + return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); }, - unwrapException: function(ex) { - var t1, message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, t2; - t1 = new H.unwrapException_saveStackTrace(ex); + unwrapException(ex) { + var t1; if (ex == null) - return; - if (ex instanceof H.ExceptionAndStackTrace) - return t1.call$1(ex.dartException); + return new A.NullThrownFromJavaScriptException(ex); + if (ex instanceof A.ExceptionAndStackTrace) { + t1 = ex.dartException; + return A.saveStackTrace(ex, t1 == null ? type$.Object._as(t1) : t1); + } if (typeof ex !== "object") return ex; if ("dartException" in ex) - return t1.call$1(ex.dartException); - else if (!("message" in ex)) + return A.saveStackTrace(ex, ex.dartException); + return A._unwrapNonDartException(ex); + }, + saveStackTrace(ex, error) { + if (type$.Error._is(error)) + if (error.$thrownJsError == null) + error.$thrownJsError = ex; + return error; + }, + _unwrapNonDartException(ex) { + var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; + if (!("message" in ex)) return ex; message = ex.message; if ("number" in ex && typeof ex.number == "number") { number = ex.number; ieErrorCode = number & 65535; - if ((C.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) + if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) switch (ieErrorCode) { case 438: - return t1.call$1(H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", null)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null)); case 445: case 5007: - return t1.call$1(H.NullError$(H.S(message) + " (Error " + ieErrorCode + ")", null)); + t1 = A.S(message); + return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null)); } } if (ex instanceof TypeError) { @@ -818,12 +879,12 @@ undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); match = nsme.matchTypeError$1(message); if (match != null) - return t1.call$1(H.JsNoSuchMethodError$(H.stringTypeCheck(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); else { match = notClosure.matchTypeError$1(message); if (match != null) { match.method = "call"; - return t1.call$1(H.JsNoSuchMethodError$(H.stringTypeCheck(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); } else { match = nullCall.matchTypeError$1(message); if (match == null) { @@ -840,30 +901,32 @@ match = undefProperty.matchTypeError$1(message); if (match == null) { match = undefLiteralProperty.matchTypeError$1(message); - t2 = match != null; + t1 = match != null; } else - t2 = true; + t1 = true; } else - t2 = true; + t1 = true; } else - t2 = true; + t1 = true; } else - t2 = true; + t1 = true; } else - t2 = true; + t1 = true; } else - t2 = true; + t1 = true; } else - t2 = true; - if (t2) - return t1.call$1(H.NullError$(H.stringTypeCheck(message), match)); + t1 = true; + if (t1) { + A._asString(message); + return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); + } } } - return t1.call$1(new H.UnknownJsTypeError(typeof message === "string" ? message : "")); + return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); } if (ex instanceof RangeError) { - if (typeof message === "string" && message.indexOf("call stack") !== -1) - return new P.StackOverflowError(); + if (typeof message == "string" && message.indexOf("call stack") !== -1) + return new A.StackOverflowError(); message = function(ex) { try { return String(ex); @@ -871,27 +934,33 @@ } return null; }(ex); - return t1.call$1(new P.ArgumentError(false, null, null, typeof message === "string" ? message.replace(/^RangeError:\s*/, "") : message)); + return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message)); } if (typeof InternalError == "function" && ex instanceof InternalError) - if (typeof message === "string" && message === "too much recursion") - return new P.StackOverflowError(); + if (typeof message == "string" && message === "too much recursion") + return new A.StackOverflowError(); return ex; }, - getTraceFromException: function(exception) { + getTraceFromException(exception) { var trace; - if (exception instanceof H.ExceptionAndStackTrace) + if (exception instanceof A.ExceptionAndStackTrace) return exception.stackTrace; if (exception == null) - return new H._StackTrace(exception); + return new A._StackTrace(exception); trace = exception.$cachedTrace; if (trace != null) return trace; - return exception.$cachedTrace = new H._StackTrace(exception); + return exception.$cachedTrace = new A._StackTrace(exception); + }, + objectHashCode(object) { + if (object == null || typeof object != "object") + return J.get$hashCode$(object); + else + return A.Primitives_objectHashCode(object); }, - fillLiteralMap: function(keyValuePairs, result) { - var $length, index, index0, index1; - $length = keyValuePairs.length; + fillLiteralMap(keyValuePairs, result) { + var index, index0, index1, + $length = keyValuePairs.length; for (index = 0; index < $length; index = index1) { index0 = index + 1; index1 = index0 + 1; @@ -899,9 +968,9 @@ } return result; }, - invokeClosure: function(closure, numberOfArguments, arg1, arg2, arg3, arg4) { - H.interceptedTypeCheck(closure, "$isFunction"); - switch (H.intTypeCheck(numberOfArguments)) { + invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + type$.Function._as(closure); + switch (A._asInt(numberOfArguments)) { case 0: return closure.call$0(); case 1: @@ -913,13 +982,12 @@ case 4: return closure.call$4(arg1, arg2, arg3, arg4); } - throw H.wrapException(new P._Exception("Unsupported number of arguments for wrapped closure")); + throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure")); }, - convertDartClosureToJS: function(closure, arity) { + convertDartClosureToJS(closure, arity) { var $function; - H.intTypeCheck(arity); if (closure == null) - return; + return null; $function = closure.$identity; if (!!$function) return $function; @@ -927,928 +995,323 @@ return function(a1, a2, a3, a4) { return invoke(closure, arity, a1, a2, a3, a4); }; - }(closure, arity, H.invokeClosure); + }(closure, arity, A.invokeClosure); closure.$identity = $function; return $function; }, - Closure_fromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, propertyName) { - var $function, callName, $prototype, $constructor, t1, trampoline, signatureFunction, getReceiver, applyTrampoline, i, stub, stubCallName; - $function = functions[0]; - callName = $function.$callName; - $prototype = isStatic ? Object.create(new H.StaticClosure().constructor.prototype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.prototype); + Closure_fromTearOff(parameters) { + var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName, + container = parameters.co, + isStatic = parameters.iS, + isIntercepted = parameters.iI, + needsDirectAccess = parameters.nDA, + applyTrampolineIndex = parameters.aI, + funsOrNames = parameters.fs, + callNames = parameters.cs, + $name = funsOrNames[0], + callName = callNames[0], + $function = container[$name], + t1 = parameters.fT; + t1.toString; + $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype); $prototype.$initialize = $prototype.constructor; if (isStatic) $constructor = function static_tear_off() { this.$initialize(); }; - else { - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - t1 = new Function("a,b,c,d" + t1, "this.$initialize(a,b,c,d" + t1 + ")"); - $constructor = t1; - } + else + $constructor = function tear_off(a, b) { + this.$initialize(a, b); + }; $prototype.constructor = $constructor; $constructor.prototype = $prototype; - if (!isStatic) { - trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); - trampoline.$reflectionInfo = reflectionInfo; - } else { - $prototype.$static_name = propertyName; + $prototype.$_name = $name; + $prototype.$_target = $function; + t2 = !isStatic; + if (t2) + trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess); + else { + $prototype.$static_name = $name; trampoline = $function; } - if (typeof reflectionInfo == "number") - signatureFunction = function(getType, t) { - return function() { - return getType(t); - }; - }(H.getType, reflectionInfo); - else if (typeof reflectionInfo == "function") - if (isStatic) - signatureFunction = reflectionInfo; - else { - getReceiver = isIntercepted ? H.BoundClosure_receiverOf : H.BoundClosure_selfOf; - signatureFunction = function(f, r) { - return function() { - return f.apply({$receiver: r(this)}, arguments); - }; - }(reflectionInfo, getReceiver); - } - else - throw H.wrapException("Error in reflectionInfo."); - $prototype.$signature = signatureFunction; + $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted); $prototype[callName] = trampoline; - for (applyTrampoline = trampoline, i = 1; i < functions.length; ++i) { - stub = functions[i]; - stubCallName = stub.$callName; + for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) { + stub = funsOrNames[i]; + if (typeof stub == "string") { + stub0 = container[stub]; + stubName = stub; + stub = stub0; + } else + stubName = ""; + stubCallName = callNames[i]; if (stubCallName != null) { - stub = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted); + if (t2) + stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess); $prototype[stubCallName] = stub; } - if (i === applyTrampolineIndex) { - stub.$reflectionInfo = reflectionInfo; + if (i === applyTrampolineIndex) applyTrampoline = stub; - } } $prototype["call*"] = applyTrampoline; - $prototype.$requiredArgCount = $function.$requiredArgCount; - $prototype.$defaultValues = $function.$defaultValues; + $prototype.$requiredArgCount = parameters.rC; + $prototype.$defaultValues = parameters.dV; return $constructor; }, - Closure_cspForwardCall: function(arity, isSuperCall, stubName, $function) { - var getSelf = H.BoundClosure_selfOf; - switch (isSuperCall ? -1 : arity) { + Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) { + if (typeof functionType == "number") + return functionType; + if (typeof functionType == "string") { + if (isStatic) + throw A.wrapException("Cannot compute signature for static tearoff."); + return function(recipe, evalOnReceiver) { + return function() { + return evalOnReceiver(this, recipe); + }; + }(functionType, A.BoundClosure_evalRecipe); + } + throw A.wrapException("Error in functionType of tearoff"); + }, + Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf; + switch (needsDirectAccess ? -1 : arity) { case 0: - return function(n, S) { + return function(entry, receiverOf) { return function() { - return S(this)[n](); + return receiverOf(this)[entry](); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 1: - return function(n, S) { + return function(entry, receiverOf) { return function(a) { - return S(this)[n](a); + return receiverOf(this)[entry](a); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 2: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b) { - return S(this)[n](a, b); + return receiverOf(this)[entry](a, b); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 3: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c) { - return S(this)[n](a, b, c); + return receiverOf(this)[entry](a, b, c); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 4: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c, d) { - return S(this)[n](a, b, c, d); + return receiverOf(this)[entry](a, b, c, d); }; - }(stubName, getSelf); + }(stubName, getReceiver); case 5: - return function(n, S) { + return function(entry, receiverOf) { return function(a, b, c, d, e) { - return S(this)[n](a, b, c, d, e); + return receiverOf(this)[entry](a, b, c, d, e); }; - }(stubName, getSelf); + }(stubName, getReceiver); default: - return function(f, s) { + return function(f, receiverOf) { return function() { - return f.apply(s(this), arguments); + return f.apply(receiverOf(this), arguments); }; - }($function, getSelf); + }($function, getReceiver); } }, - Closure_forwardCallTo: function(receiver, $function, isIntercepted) { - var stubName, arity, lookedUpFunction, t1, t2, selfName, $arguments; + Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { + var arity, t1; if (isIntercepted) - return H.Closure_forwardInterceptedCallTo(receiver, $function); - stubName = $function.$stubName; + return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); arity = $function.length; - lookedUpFunction = receiver[stubName]; - t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; - t2 = !t1 || arity >= 27; - if (t2) - return H.Closure_cspForwardCall(arity, !t1, stubName, $function); - if (arity === 0) { - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - selfName = "self" + t1; - t1 = "return function(){var " + selfName + " = this."; - t2 = $.BoundClosure_selfFieldNameCache; - if (t2 == null) { - t2 = H.BoundClosure_computeFieldNamed("self"); - $.BoundClosure_selfFieldNameCache = t2; - } - return new Function(t1 + H.S(t2) + ";return " + selfName + "." + H.S(stubName) + "();}")(); - } - $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(","); - t1 = $.Closure_functionCounter; - if (typeof t1 !== "number") - return t1.$add(); - $.Closure_functionCounter = t1 + 1; - $arguments += t1; - t1 = "return function(" + $arguments + "){return this."; - t2 = $.BoundClosure_selfFieldNameCache; - if (t2 == null) { - t2 = H.BoundClosure_computeFieldNamed("self"); - $.BoundClosure_selfFieldNameCache = t2; - } - return new Function(t1 + H.S(t2) + "." + H.S(stubName) + "(" + $arguments + ");}")(); - }, - Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $function) { - var getSelf, getReceiver; - getSelf = H.BoundClosure_selfOf; - getReceiver = H.BoundClosure_receiverOf; - switch (isSuperCall ? -1 : arity) { + t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); + return t1; + }, + Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf, + getInterceptor = A.BoundClosure_interceptorOf; + switch (needsDirectAccess ? -1 : arity) { case 0: - throw H.wrapException(H.RuntimeError$("Intercepted function with no arguments.")); + throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments.")); case 1: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function() { - return s(this)[n](r(this)); + return interceptorOf(this)[entry](receiverOf(this)); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 2: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a) { - return s(this)[n](r(this), a); + return interceptorOf(this)[entry](receiverOf(this), a); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 3: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b) { - return s(this)[n](r(this), a, b); + return interceptorOf(this)[entry](receiverOf(this), a, b); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 4: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c) { - return s(this)[n](r(this), a, b, c); + return interceptorOf(this)[entry](receiverOf(this), a, b, c); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 5: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d) { - return s(this)[n](r(this), a, b, c, d); + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); case 6: - return function(n, s, r) { + return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d, e) { - return s(this)[n](r(this), a, b, c, d, e); + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e); }; - }($name, getSelf, getReceiver); + }(stubName, getInterceptor, getReceiver); default: - return function(f, s, r, a) { + return function(f, interceptorOf, receiverOf) { return function() { - a = [r(this)]; + var a = [receiverOf(this)]; Array.prototype.push.apply(a, arguments); - return f.apply(s(this), a); + return f.apply(interceptorOf(this), a); }; - }($function, getSelf, getReceiver); + }($function, getInterceptor, getReceiver); } }, - Closure_forwardInterceptedCallTo: function(receiver, $function) { - var t1, t2, stubName, arity, lookedUpFunction, t3, t4, $arguments; - t1 = $.BoundClosure_selfFieldNameCache; - if (t1 == null) { - t1 = H.BoundClosure_computeFieldNamed("self"); - $.BoundClosure_selfFieldNameCache = t1; - } - t2 = $.BoundClosure_receiverFieldNameCache; - if (t2 == null) { - t2 = H.BoundClosure_computeFieldNamed("receiver"); - $.BoundClosure_receiverFieldNameCache = t2; - } - stubName = $function.$stubName; + Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) { + var arity, t1; + if ($.BoundClosure__interceptorFieldNameCache == null) + $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor"); + if ($.BoundClosure__receiverFieldNameCache == null) + $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver"); arity = $function.length; - lookedUpFunction = receiver[stubName]; - t3 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; - t4 = !t3 || arity >= 28; - if (t4) - return H.Closure_cspForwardInterceptedCall(arity, !t3, stubName, $function); - if (arity === 1) { - t1 = "return function(){return this." + H.S(t1) + "." + H.S(stubName) + "(this." + H.S(t2) + ");"; - t2 = $.Closure_functionCounter; - if (typeof t2 !== "number") - return t2.$add(); - $.Closure_functionCounter = t2 + 1; - return new Function(t1 + t2 + "}")(); - } - $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).join(","); - t1 = "return function(" + $arguments + "){return this." + H.S(t1) + "." + H.S(stubName) + "(this." + H.S(t2) + ", " + $arguments + ");"; - t2 = $.Closure_functionCounter; - if (typeof t2 !== "number") - return t2.$add(); - $.Closure_functionCounter = t2 + 1; - return new Function(t1 + t2 + "}")(); - }, - closureFromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, $name) { - return H.Closure_fromTearOff(receiver, functions, H.intTypeCheck(applyTrampolineIndex), reflectionInfo, !!isStatic, !!isIntercepted, $name); - }, - BoundClosure_selfOf: function(closure) { - return closure._self; - }, - BoundClosure_receiverOf: function(closure) { + t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function); + return t1; + }, + closureFromTearOff(parameters) { + return A.Closure_fromTearOff(parameters); + }, + BoundClosure_evalRecipe(closure, recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe); + }, + BoundClosure_receiverOf(closure) { return closure._receiver; }, - BoundClosure_computeFieldNamed: function(fieldName) { - var template, names, t1, i, $name; - template = new H.BoundClosure("self", "target", "receiver", "name"); - names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template)); + BoundClosure_interceptorOf(closure) { + return closure._interceptor; + }, + BoundClosure__computeFieldNamed(fieldName) { + var t1, i, $name, + template = new A.BoundClosure("receiver", "interceptor"), + names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template), type$.nullable_Object); for (t1 = names.length, i = 0; i < t1; ++i) { $name = names[i]; if (template[$name] === fieldName) return $name; } + throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null)); }, - stringTypeCheck: function(value) { - if (value == null) - return value; - if (typeof value === "string") - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "String")); - }, - stringTypeCast: function(value) { - if (typeof value === "string" || value == null) - return value; - throw H.wrapException(H.CastErrorImplementation$(value, "String")); - }, - doubleTypeCheck: function(value) { - if (value == null) - return value; - if (typeof value === "number") - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "double")); - }, - numTypeCheck: function(value) { - if (value == null) - return value; - if (typeof value === "number") - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "num")); - }, - boolTypeCheck: function(value) { - if (value == null) - return value; - if (typeof value === "boolean") - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "bool")); - }, - intTypeCheck: function(value) { + boolConversionCheck(value) { if (value == null) - return value; - if (typeof value === "number" && Math.floor(value) === value) - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "int")); - }, - intTypeCast: function(value) { - if (typeof value === "number" && Math.floor(value) === value || value == null) - return value; - throw H.wrapException(H.CastErrorImplementation$(value, "int")); - }, - propertyTypeError: function(value, property) { - throw H.wrapException(H.TypeErrorImplementation$(value, H.unminifyOrTag(H.stringTypeCheck(property).substring(3)))); + A.assertThrow("boolean expression must not be null"); + return value; }, - interceptedTypeCheck: function(value, property) { - if (value == null) - return value; - if ((typeof value === "object" || typeof value === "function") && J.getInterceptor$(value)[property]) - return value; - H.propertyTypeError(value, property); + assertThrow(message) { + throw A.wrapException(new A._AssertionError(message)); }, - stringSuperNativeTypeCheck: function(value, property) { - if (value == null) - return value; - if (typeof value === "string") - return value; - if (J.getInterceptor$(value)[property]) - return value; - H.propertyTypeError(value, property); + throwCyclicInit(staticName) { + throw A.wrapException(new A.CyclicInitializationError(staticName)); }, - listTypeCheck: function(value) { - if (value == null) - return value; - if (!!J.getInterceptor$(value).$isList) - return value; - throw H.wrapException(H.TypeErrorImplementation$(value, "List")); + getIsolateAffinityTag($name) { + return init.getIsolateTag($name); }, - listSuperNativeTypeCheck: function(value, property) { - var t1; - if (value == null) - return value; - t1 = J.getInterceptor$(value); - if (!!t1.$isList) - return value; - if (t1[property]) - return value; - H.propertyTypeError(value, property); + defineProperty(obj, property, value) { + Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); }, - extractFunctionTypeObjectFromInternal: function(o) { - var signature; - if ("$signature" in o) { - signature = o.$signature; - if (typeof signature == "number") - return init.types[H.intTypeCheck(signature)]; - else - return o.$signature(); + lookupAndCacheInterceptor(obj) { + var interceptor, interceptorClass, altTag, mark, t1, + tag = A._asString($.getTagFunction.call$1(obj)), + record = $.dispatchRecordsForInstanceTags[tag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; } - return; - }, - functionTypeTest: function(value, functionTypeRti) { - var functionTypeObject; - if (value == null) - return false; - if (typeof value == "function") - return true; - functionTypeObject = H.extractFunctionTypeObjectFromInternal(J.getInterceptor$(value)); - if (functionTypeObject == null) - return false; - return H._isFunctionSubtype(functionTypeObject, null, functionTypeRti, null); - }, - functionTypeCheck: function(value, functionTypeRti) { - var $self, t1; - if (value == null) - return value; - if ($._inTypeAssertion) - return value; - $._inTypeAssertion = true; - try { - if (H.functionTypeTest(value, functionTypeRti)) - return value; - $self = H.runtimeTypeToString(functionTypeRti); - t1 = H.TypeErrorImplementation$(value, $self); - throw H.wrapException(t1); - } finally { - $._inTypeAssertion = false; + interceptor = $.interceptorsForUncacheableTags[tag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[tag]; + if (interceptorClass == null) { + altTag = A._asStringQ($.alternateTagFunction.call$2(obj, tag)); + if (altTag != null) { + record = $.dispatchRecordsForInstanceTags[altTag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + interceptor = $.interceptorsForUncacheableTags[altTag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[altTag]; + tag = altTag; + } } - }, - futureOrCheck: function(o, futureOrRti) { - if (o != null && !H.checkSubtypeOfRuntimeType(o, futureOrRti)) - H.throwExpression(H.TypeErrorImplementation$(o, H.runtimeTypeToString(futureOrRti))); - return o; - }, - TypeErrorImplementation$: function(value, type) { - return new H.TypeErrorImplementation("TypeError: " + P.Error_safeToString(value) + ": type '" + H._typeDescription(value) + "' is not a subtype of type '" + type + "'"); - }, - CastErrorImplementation$: function(value, type) { - return new H.CastErrorImplementation("CastError: " + P.Error_safeToString(value) + ": type '" + H._typeDescription(value) + "' is not a subtype of type '" + type + "'"); - }, - _typeDescription: function(value) { - var t1, functionTypeObject; - t1 = J.getInterceptor$(value); - if (!!t1.$isClosure) { - functionTypeObject = H.extractFunctionTypeObjectFromInternal(t1); - if (functionTypeObject != null) - return H.runtimeTypeToString(functionTypeObject); - return "Closure"; + if (interceptorClass == null) + return null; + interceptor = interceptorClass.prototype; + mark = tag[0]; + if (mark === "!") { + record = A.makeLeafDispatchRecord(interceptor); + $.dispatchRecordsForInstanceTags[tag] = record; + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; } - return H.Primitives_objectTypeName(value); - }, - throwCyclicInit: function(staticName) { - throw H.wrapException(new P.CyclicInitializationError(H.stringTypeCheck(staticName))); + if (mark === "~") { + $.interceptorsForUncacheableTags[tag] = interceptor; + return interceptor; + } + if (mark === "-") { + t1 = A.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } + if (mark === "+") + return A.patchInteriorProto(obj, interceptor); + if (mark === "*") + throw A.wrapException(A.UnimplementedError$(tag)); + if (init.leafTags[tag] === true) { + t1 = A.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } else + return A.patchInteriorProto(obj, interceptor); }, - RuntimeError$: function(message) { - return new H.RuntimeError(message); + patchInteriorProto(obj, interceptor) { + var proto = Object.getPrototypeOf(obj); + Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true}); + return interceptor; }, - getIsolateAffinityTag: function($name) { - return init.getIsolateTag($name); + makeLeafDispatchRecord(interceptor) { + return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); }, - setRuntimeTypeInfo: function(target, rti) { - target.$ti = rti; - return target; + makeDefaultDispatchRecord(tag, interceptorClass, proto) { + var interceptor = interceptorClass.prototype; + if (init.leafTags[tag] === true) + return A.makeLeafDispatchRecord(interceptor); + else + return J.makeDispatchRecord(interceptor, proto, null, null); }, - getRuntimeTypeInfo: function(target) { - if (target == null) - return; - return target.$ti; - }, - getRuntimeTypeArguments: function(interceptor, object, substitutionName) { - return H.substitute(interceptor["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(object)); - }, - getRuntimeTypeArgumentIntercepted: function(interceptor, target, substitutionName, index) { - var $arguments; - H.stringTypeCheck(substitutionName); - H.intTypeCheck(index); - $arguments = H.substitute(interceptor["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(target)); - return $arguments == null ? null : $arguments[index]; - }, - getRuntimeTypeArgument: function(target, substitutionName, index) { - var $arguments; - H.stringTypeCheck(substitutionName); - H.intTypeCheck(index); - $arguments = H.substitute(target["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(target)); - return $arguments == null ? null : $arguments[index]; - }, - getTypeArgumentByIndex: function(target, index) { - var rti; - H.intTypeCheck(index); - rti = H.getRuntimeTypeInfo(target); - return rti == null ? null : rti[index]; - }, - runtimeTypeToString: function(rti) { - return H._runtimeTypeToString(rti, null); - }, - _runtimeTypeToString: function(rti, genericContext) { - var t1, t2; - H.assertSubtype(genericContext, "$isList", [P.String], "$asList"); - if (rti == null) - return "dynamic"; - if (rti === -1) - return "void"; - if (typeof rti === "object" && rti !== null && rti.constructor === Array) - return H.unminifyOrTag(rti[0].name) + H._joinArguments(rti, 1, genericContext); - if (typeof rti == "function") - return H.unminifyOrTag(rti.name); - if (rti === -2) - return "dynamic"; - if (typeof rti === "number") { - H.intTypeCheck(rti); - if (genericContext == null || rti < 0 || rti >= genericContext.length) - return "unexpected-generic-index:" + rti; - t1 = genericContext.length; - t2 = t1 - rti - 1; - if (t2 < 0 || t2 >= t1) - return H.ioore(genericContext, t2); - return H.S(genericContext[t2]); - } - if ('func' in rti) - return H._functionRtiToString(rti, genericContext); - if ('futureOr' in rti) - return "FutureOr<" + H._runtimeTypeToString("type" in rti ? rti.type : null, genericContext) + ">"; - return "unknown-reified-type"; - }, - _functionRtiToString: function(rti, genericContext) { - var t1, boundsRti, outerContextLength, offset, i, i0, typeParameters, typeSep, t2, boundRti, returnTypeText, $arguments, argumentsText, sep, _i, argument, optionalArguments, namedArguments, t3; - t1 = [P.String]; - H.assertSubtype(genericContext, "$isList", t1, "$asList"); - if ("bounds" in rti) { - boundsRti = rti.bounds; - if (genericContext == null) { - genericContext = H.setRuntimeTypeInfo([], t1); - outerContextLength = null; - } else - outerContextLength = genericContext.length; - offset = genericContext.length; - for (i = boundsRti.length, i0 = i; i0 > 0; --i0) - C.JSArray_methods.add$1(genericContext, "T" + (offset + i0)); - for (typeParameters = "<", typeSep = "", i0 = 0; i0 < i; ++i0, typeSep = ", ") { - typeParameters += typeSep; - t1 = genericContext.length; - t2 = t1 - i0 - 1; - if (t2 < 0) - return H.ioore(genericContext, t2); - typeParameters = C.JSString_methods.$add(typeParameters, genericContext[t2]); - boundRti = boundsRti[i0]; - if (boundRti != null && boundRti !== P.Object) - typeParameters += " extends " + H._runtimeTypeToString(boundRti, genericContext); - } - typeParameters += ">"; - } else { - typeParameters = ""; - outerContextLength = null; - } - returnTypeText = !!rti.v ? "void" : H._runtimeTypeToString(rti.ret, genericContext); - if ("args" in rti) { - $arguments = rti.args; - for (t1 = $arguments.length, argumentsText = "", sep = "", _i = 0; _i < t1; ++_i, sep = ", ") { - argument = $arguments[_i]; - argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext); - } - } else { - argumentsText = ""; - sep = ""; - } - if ("opt" in rti) { - optionalArguments = rti.opt; - argumentsText += sep + "["; - for (t1 = optionalArguments.length, sep = "", _i = 0; _i < t1; ++_i, sep = ", ") { - argument = optionalArguments[_i]; - argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext); - } - argumentsText += "]"; - } - if ("named" in rti) { - namedArguments = rti.named; - argumentsText += sep + "{"; - for (t1 = H.extractKeys(namedArguments), t2 = t1.length, sep = "", _i = 0; _i < t2; ++_i, sep = ", ") { - t3 = H.stringTypeCheck(t1[_i]); - argumentsText = argumentsText + sep + H._runtimeTypeToString(namedArguments[t3], genericContext) + (" " + H.S(t3)); - } - argumentsText += "}"; - } - if (outerContextLength != null) - genericContext.length = outerContextLength; - return typeParameters + "(" + argumentsText + ") => " + returnTypeText; - }, - _joinArguments: function(types, startIndex, genericContext) { - var buffer, index, separator, allDynamic, t1, argument; - H.assertSubtype(genericContext, "$isList", [P.String], "$asList"); - if (types == null) - return ""; - buffer = new P.StringBuffer(""); - for (index = startIndex, separator = "", allDynamic = true, t1 = ""; index < types.length; ++index, separator = ", ") { - buffer._contents = t1 + separator; - argument = types[index]; - if (argument != null) - allDynamic = false; - t1 = buffer._contents += H._runtimeTypeToString(argument, genericContext); - } - return "<" + buffer.toString$0(0) + ">"; - }, - substitute: function(substitution, $arguments) { - if (substitution == null) - return $arguments; - substitution = substitution.apply(null, $arguments); - if (substitution == null) - return; - if (typeof substitution === "object" && substitution !== null && substitution.constructor === Array) - return substitution; - if (typeof substitution == "function") - return substitution.apply(null, $arguments); - return $arguments; - }, - checkSubtype: function(object, isField, checks, asField) { - var $arguments, interceptor; - H.stringTypeCheck(isField); - H.listTypeCheck(checks); - H.stringTypeCheck(asField); - if (object == null) - return false; - $arguments = H.getRuntimeTypeInfo(object); - interceptor = J.getInterceptor$(object); - if (interceptor[isField] == null) - return false; - return H.areSubtypes(H.substitute(interceptor[asField], $arguments), null, checks, null); - }, - assertSubtype: function(object, isField, checks, asField) { - H.stringTypeCheck(isField); - H.listTypeCheck(checks); - H.stringTypeCheck(asField); - if (object == null) - return object; - if (H.checkSubtype(object, isField, checks, asField)) - return object; - throw H.wrapException(H.TypeErrorImplementation$(object, function(str, names) { - return str.replace(/[^<,> ]+/g, function(m) { - return names[m] || m; - }); - }(H.unminifyOrTag(isField.substring(3)) + H._joinArguments(checks, 0, null), init.mangledGlobalNames))); - }, - assertIsSubtype: function(subtype, supertype, prefix, infix, suffix) { - H.stringTypeCheck(prefix); - H.stringTypeCheck(infix); - H.stringTypeCheck(suffix); - if (!H._isSubtype(subtype, null, supertype, null)) - H.throwTypeError("TypeError: " + H.S(prefix) + H.runtimeTypeToString(subtype) + H.S(infix) + H.runtimeTypeToString(supertype) + H.S(suffix)); - }, - throwTypeError: function(message) { - throw H.wrapException(new H.TypeErrorImplementation(H.stringTypeCheck(message))); - }, - areSubtypes: function(s, sEnv, t, tEnv) { - var len, i; - if (t == null) - return true; - if (s == null) { - len = t.length; - for (i = 0; i < len; ++i) - if (!H._isSubtype(null, null, t[i], tEnv)) - return false; - return true; - } - len = s.length; - for (i = 0; i < len; ++i) - if (!H._isSubtype(s[i], sEnv, t[i], tEnv)) - return false; - return true; - }, - computeSignature: function(signature, context, contextName) { - return signature.apply(context, H.substitute(J.getInterceptor$(context)["$as" + H.S(contextName)], H.getRuntimeTypeInfo(context))); - }, - isSupertypeOfNullRecursive: function(type) { - var typeArgument; - if (typeof type === "number") - return false; - if ('futureOr' in type) { - typeArgument = "type" in type ? type.type : null; - return type == null || type.name === "Object" || type.name === "Null" || type === -1 || type === -2 || H.isSupertypeOfNullRecursive(typeArgument); - } - return false; - }, - checkSubtypeOfRuntimeType: function(o, t) { - var type, rti; - if (o == null) - return t == null || t.name === "Object" || t.name === "Null" || t === -1 || t === -2 || H.isSupertypeOfNullRecursive(t); - if (t == null || t === -1 || t.name === "Object" || t === -2) - return true; - if (typeof t == "object") { - if ('futureOr' in t) - if (H.checkSubtypeOfRuntimeType(o, "type" in t ? t.type : null)) - return true; - if ('func' in t) - return H.functionTypeTest(o, t); - } - type = J.getInterceptor$(o).constructor; - rti = H.getRuntimeTypeInfo(o); - if (rti != null) { - rti = rti.slice(); - rti.splice(0, 0, type); - type = rti; - } - return H._isSubtype(type, null, t, null); - }, - assertSubtypeOfRuntimeType: function(object, type) { - if (object != null && !H.checkSubtypeOfRuntimeType(object, type)) - throw H.wrapException(H.TypeErrorImplementation$(object, H.runtimeTypeToString(type))); - return object; - }, - _isSubtype: function(s, sEnv, t, tEnv) { - var t1, typeOfS, tTypeArgument, futureSubstitution, futureArguments, t2, typeOfT, typeOfTString, substitution; - if (s === t) - return true; - if (t == null || t === -1 || t.name === "Object" || t === -2) - return true; - if (s === -2) - return true; - if (s == null || s === -1 || s.name === "Object" || s === -2) { - if (typeof t === "number") - return false; - if ('futureOr' in t) - return H._isSubtype(s, sEnv, "type" in t ? t.type : null, tEnv); - return false; - } - if (typeof s === "number") - return false; - if (typeof t === "number") - return false; - if (s.name === "Null") - return true; - if ('func' in t) - return H._isFunctionSubtype(s, sEnv, t, tEnv); - if ('func' in s) - return t.name === "Function"; - t1 = typeof s === "object" && s !== null && s.constructor === Array; - typeOfS = t1 ? s[0] : s; - if ('futureOr' in t) { - tTypeArgument = "type" in t ? t.type : null; - if ('futureOr' in s) - return H._isSubtype("type" in s ? s.type : null, sEnv, tTypeArgument, tEnv); - else if (H._isSubtype(s, sEnv, tTypeArgument, tEnv)) - return true; - else { - if (!('$is' + "Future" in typeOfS.prototype)) - return false; - futureSubstitution = typeOfS.prototype["$as" + "Future"]; - futureArguments = H.substitute(futureSubstitution, t1 ? s.slice(1) : null); - return H._isSubtype(typeof futureArguments === "object" && futureArguments !== null && futureArguments.constructor === Array ? futureArguments[0] : null, sEnv, tTypeArgument, tEnv); - } - } - t2 = typeof t === "object" && t !== null && t.constructor === Array; - typeOfT = t2 ? t[0] : t; - if (typeOfT !== typeOfS) { - typeOfTString = typeOfT.name; - if (!('$is' + typeOfTString in typeOfS.prototype)) - return false; - substitution = typeOfS.prototype["$as" + typeOfTString]; - } else - substitution = null; - if (!t2) - return true; - t1 = t1 ? s.slice(1) : null; - t2 = t.slice(1); - return H.areSubtypes(H.substitute(substitution, t1), sEnv, t2, tEnv); - }, - _isFunctionSubtype: function(s, sEnv, t, tEnv) { - var sBounds, tBounds, sParameterTypes, tParameterTypes, sOptionalParameterTypes, tOptionalParameterTypes, sParametersLen, tParametersLen, sOptionalParametersLen, tOptionalParametersLen, pos, tPos, sPos, sNamedParameters, tNamedParameters; - if (!('func' in s)) - return false; - if ("bounds" in s) { - if (!("bounds" in t)) - return false; - sBounds = s.bounds; - tBounds = t.bounds; - if (sBounds.length !== tBounds.length) - return false; - } else if ("bounds" in t) - return false; - if (!H._isSubtype(s.ret, sEnv, t.ret, tEnv)) - return false; - sParameterTypes = s.args; - tParameterTypes = t.args; - sOptionalParameterTypes = s.opt; - tOptionalParameterTypes = t.opt; - sParametersLen = sParameterTypes != null ? sParameterTypes.length : 0; - tParametersLen = tParameterTypes != null ? tParameterTypes.length : 0; - sOptionalParametersLen = sOptionalParameterTypes != null ? sOptionalParameterTypes.length : 0; - tOptionalParametersLen = tOptionalParameterTypes != null ? tOptionalParameterTypes.length : 0; - if (sParametersLen > tParametersLen) - return false; - if (sParametersLen + sOptionalParametersLen < tParametersLen + tOptionalParametersLen) - return false; - for (pos = 0; pos < sParametersLen; ++pos) - if (!H._isSubtype(tParameterTypes[pos], tEnv, sParameterTypes[pos], sEnv)) - return false; - for (tPos = pos, sPos = 0; tPos < tParametersLen; ++sPos, ++tPos) - if (!H._isSubtype(tParameterTypes[tPos], tEnv, sOptionalParameterTypes[sPos], sEnv)) - return false; - for (tPos = 0; tPos < tOptionalParametersLen; ++sPos, ++tPos) - if (!H._isSubtype(tOptionalParameterTypes[tPos], tEnv, sOptionalParameterTypes[sPos], sEnv)) - return false; - sNamedParameters = s.named; - tNamedParameters = t.named; - if (tNamedParameters == null) - return true; - if (sNamedParameters == null) - return false; - return H.namedParametersSubtypeCheck(sNamedParameters, sEnv, tNamedParameters, tEnv); - }, - namedParametersSubtypeCheck: function(s, sEnv, t, tEnv) { - var names, t1, i, $name; - names = Object.getOwnPropertyNames(t); - for (t1 = names.length, i = 0; i < t1; ++i) { - $name = names[i]; - if (!Object.hasOwnProperty.call(s, $name)) - return false; - if (!H._isSubtype(t[$name], tEnv, s[$name], sEnv)) - return false; - } - return true; - }, - instantiatedGenericFunctionType: function(genericFunctionRti, parameters) { - if (genericFunctionRti == null) - return; - return H.finishBindInstantiatedFunctionType(genericFunctionRti, {func: 1}, parameters, 0); - }, - finishBindInstantiatedFunctionType: function(rti, result, parameters, depth) { - var namedParameters, boundNamed, names, t1, _i, $name; - if ("v" in rti) - result.v = rti.v; - else if ("ret" in rti) - result.ret = H.bindInstantiatedType(rti.ret, parameters, depth); - if ("args" in rti) - result.args = H.bindInstantiatedTypes(rti.args, parameters, depth); - if ("opt" in rti) - result.opt = H.bindInstantiatedTypes(rti.opt, parameters, depth); - if ("named" in rti) { - namedParameters = rti.named; - boundNamed = {}; - names = Object.keys(namedParameters); - for (t1 = names.length, _i = 0; _i < t1; ++_i) { - $name = H.stringTypeCheck(names[_i]); - boundNamed[$name] = H.bindInstantiatedType(namedParameters[$name], parameters, depth); - } - result.named = boundNamed; - } - return result; - }, - bindInstantiatedType: function(rti, parameters, depth) { - var result, bounds; - if (rti == null) - return rti; - if (rti === -1) - return rti; - if (typeof rti == "function") - return rti; - if (typeof rti === "number") { - if (rti < depth) - return rti; - return parameters[rti - depth]; - } - if (typeof rti === "object" && rti !== null && rti.constructor === Array) - return H.bindInstantiatedTypes(rti, parameters, depth); - if ('func' in rti) { - result = {func: 1}; - if ("bounds" in rti) { - bounds = rti.bounds; - depth += bounds.length; - result.bounds = H.bindInstantiatedTypes(bounds, parameters, depth); - } - return H.finishBindInstantiatedFunctionType(rti, result, parameters, depth); - } - throw H.wrapException(P.ArgumentError$("Unknown RTI format in bindInstantiatedType.")); - }, - bindInstantiatedTypes: function(rti, parameters, depth) { - var array, t1, i; - array = rti.slice(); - for (t1 = array.length, i = 0; i < t1; ++i) - C.JSArray_methods.$indexSet(array, i, H.bindInstantiatedType(array[i], parameters, depth)); - return array; - }, - JsLinkedHashMap_JsLinkedHashMap$es6: function($K, $V) { - return new H.JsLinkedHashMap([$K, $V]); - }, - defineProperty: function(obj, property, value) { - Object.defineProperty(obj, H.stringTypeCheck(property), {value: value, enumerable: false, writable: true, configurable: true}); - }, - lookupAndCacheInterceptor: function(obj) { - var tag, record, interceptor, interceptorClass, mark, t1; - tag = H.stringTypeCheck($.getTagFunction.call$1(obj)); - record = $.dispatchRecordsForInstanceTags[tag]; - if (record != null) { - Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); - return record.i; - } - interceptor = $.interceptorsForUncacheableTags[tag]; - if (interceptor != null) - return interceptor; - interceptorClass = init.interceptorsByTag[tag]; - if (interceptorClass == null) { - tag = H.stringTypeCheck($.alternateTagFunction.call$2(obj, tag)); - if (tag != null) { - record = $.dispatchRecordsForInstanceTags[tag]; - if (record != null) { - Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); - return record.i; - } - interceptor = $.interceptorsForUncacheableTags[tag]; - if (interceptor != null) - return interceptor; - interceptorClass = init.interceptorsByTag[tag]; - } - } - if (interceptorClass == null) - return; - interceptor = interceptorClass.prototype; - mark = tag[0]; - if (mark === "!") { - record = H.makeLeafDispatchRecord(interceptor); - $.dispatchRecordsForInstanceTags[tag] = record; - Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); - return record.i; - } - if (mark === "~") { - $.interceptorsForUncacheableTags[tag] = interceptor; - return interceptor; - } - if (mark === "-") { - t1 = H.makeLeafDispatchRecord(interceptor); - Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); - return t1.i; - } - if (mark === "+") - return H.patchInteriorProto(obj, interceptor); - if (mark === "*") - throw H.wrapException(P.UnimplementedError$(tag)); - if (init.leafTags[tag] === true) { - t1 = H.makeLeafDispatchRecord(interceptor); - Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); - return t1.i; - } else - return H.patchInteriorProto(obj, interceptor); - }, - patchInteriorProto: function(obj, interceptor) { - var proto = Object.getPrototypeOf(obj); - Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true}); - return interceptor; - }, - makeLeafDispatchRecord: function(interceptor) { - return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); - }, - makeDefaultDispatchRecord: function(tag, interceptorClass, proto) { - var interceptor = interceptorClass.prototype; - if (init.leafTags[tag] === true) - return H.makeLeafDispatchRecord(interceptor); - else - return J.makeDispatchRecord(interceptor, proto, null, null); - }, - initNativeDispatch: function() { - if (true === $.initNativeDispatchFlag) + initNativeDispatch() { + if (true === $.initNativeDispatchFlag) return; $.initNativeDispatchFlag = true; - H.initNativeDispatchContinue(); + A.initNativeDispatchContinue(); }, - initNativeDispatchContinue: function() { + initNativeDispatchContinue() { var map, tags, fun, i, tag, proto, record, interceptorClass; $.dispatchRecordsForInstanceTags = Object.create(null); $.interceptorsForUncacheableTags = Object.create(null); - H.initHooks(); + A.initHooks(); map = init.interceptorsByTag; tags = Object.getOwnPropertyNames(map); if (typeof window != "undefined") { @@ -1859,7 +1322,7 @@ tag = tags[i]; proto = $.prototypeForTagFunction.call$1(tag); if (proto != null) { - record = H.makeDefaultDispatchRecord(tag, map[tag], proto); + record = A.makeDefaultDispatchRecord(tag, map[tag], proto); if (record != null) { Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); fun.prototype = proto; @@ -1879,10 +1342,10 @@ } } }, - initHooks: function() { - var hooks, transformers, i, transformer, getTag, getUnknownTag, prototypeForTag; - hooks = C.C_JS_CONST0(); - hooks = H.applyHooksTransformer(C.C_JS_CONST1, H.applyHooksTransformer(C.C_JS_CONST2, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST4, H.applyHooksTransformer(C.C_JS_CONST5, H.applyHooksTransformer(C.C_JS_CONST6(C.C_JS_CONST), hooks))))))); + initHooks() { + var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag, + hooks = B.C_JS_CONST0(); + hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks))))))); if (typeof dartNativeDispatchHooksTransformer != "undefined") { transformers = dartNativeDispatchHooksTransformer; if (typeof transformers == "function") @@ -1897,114 +1360,134 @@ getTag = hooks.getTag; getUnknownTag = hooks.getUnknownTag; prototypeForTag = hooks.prototypeForTag; - $.getTagFunction = new H.initHooks_closure(getTag); - $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag); - $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag); + $.getTagFunction = new A.initHooks_closure(getTag); + $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag); + $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag); }, - applyHooksTransformer: function(transformer, hooks) { + applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, - JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, global) { - var m, i, g, regexp; - m = multiLine ? "m" : ""; - i = caseSensitive ? "" : "i"; - g = global ? "g" : ""; - regexp = function(source, modifiers) { - try { - return new RegExp(source, modifiers); - } catch (e) { - return e; - } - }(source, m + i + g); + JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { + var m = multiLine ? "m" : "", + i = caseSensitive ? "" : "i", + u = unicode ? "u" : "", + s = dotAll ? "s" : "", + g = global ? "g" : "", + regexp = function(source, modifiers) { + try { + return new RegExp(source, modifiers); + } catch (e) { + return e; + } + }(source, m + i + u + s + g); if (regexp instanceof RegExp) return regexp; - throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); + throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); }, - stringContainsUnchecked: function(receiver, other, startIndex) { - var t1, t2; - if (typeof other === "string") + stringContainsUnchecked(receiver, other, startIndex) { + var t1; + if (typeof other == "string") return receiver.indexOf(other, startIndex) >= 0; - else { - t1 = J.getInterceptor$(other); - if (!!t1.$isJSSyntaxRegExp) { - t1 = C.JSString_methods.substring$1(receiver, startIndex); - t2 = other._nativeRegExp; - return t2.test(t1); - } else { - t1 = t1.allMatches$1(other, C.JSString_methods.substring$1(receiver, startIndex)); - return !t1.get$isEmpty(t1); - } + else if (other instanceof A.JSSyntaxRegExp) { + t1 = B.JSString_methods.substring$1(receiver, startIndex); + return other._nativeRegExp.test(t1); + } else { + t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)); + return !t1.get$isEmpty(t1); } }, - stringReplaceFirstRE: function(receiver, regexp, replacement, startIndex) { + escapeReplacement(replacement) { + if (replacement.indexOf("$", 0) >= 0) + return replacement.replace(/\$/g, "$$$$"); + return replacement; + }, + stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { var match = regexp._execGlobal$2(receiver, startIndex); if (match == null) return receiver; - return H.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(), replacement); - }, - stringReplaceAllUnchecked: function(receiver, pattern, replacement) { - var $length, t1, i, nativeRegexp; - if (typeof pattern === "string") - if (pattern === "") - if (receiver === "") - return replacement; - else { - $length = receiver.length; - for (t1 = replacement, i = 0; i < $length; ++i) - t1 = t1 + receiver[i] + replacement; - return t1.charCodeAt(0) == 0 ? t1 : t1; - } - else - return receiver.replace(new RegExp(pattern.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"), 'g'), replacement.replace(/\$/g, "$$$$")); - else if (pattern instanceof H.JSSyntaxRegExp) { + return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); + }, + quoteStringForRegExp(string) { + if (/[[\]{}()*+?.\\^$|]/.test(string)) + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); + return string; + }, + stringReplaceAllUnchecked(receiver, pattern, replacement) { + var nativeRegexp; + if (typeof pattern == "string") + return A.stringReplaceAllUncheckedString(receiver, pattern, replacement); + if (pattern instanceof A.JSSyntaxRegExp) { nativeRegexp = pattern.get$_nativeGlobalVersion(); nativeRegexp.lastIndex = 0; - return receiver.replace(nativeRegexp, replacement.replace(/\$/g, "$$$$")); - } else { - if (pattern == null) - H.throwExpression(H.argumentErrorValue(pattern)); - throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); + return receiver.replace(nativeRegexp, A.escapeReplacement(replacement)); } + return A.stringReplaceAllGeneral(receiver, pattern, replacement); }, - stringReplaceFirstUnchecked: function(receiver, pattern, replacement, startIndex) { + stringReplaceAllGeneral(receiver, pattern, replacement) { + var t1, startIndex, t2, match; + for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) { + match = t1.get$current(t1); + t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement; + startIndex = match.get$end(match); + } + t1 = t2 + receiver.substring(startIndex); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + stringReplaceAllUncheckedString(receiver, pattern, replacement) { + var $length, t1, i, index; + if (pattern === "") { + if (receiver === "") + return replacement; + $length = receiver.length; + t1 = "" + replacement; + for (i = 0; i < $length; ++i) + t1 = t1 + receiver[i] + replacement; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + index = receiver.indexOf(pattern, 0); + if (index < 0) + return receiver; + if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) + return receiver.split(pattern).join(replacement); + return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement)); + }, + stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { var index, t1, matches, match; - if (typeof pattern === "string") { + if (typeof pattern == "string") { index = receiver.indexOf(pattern, startIndex); if (index < 0) return receiver; - return H.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); - } - t1 = J.getInterceptor$(pattern); - if (!!t1.$isJSSyntaxRegExp) - return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, replacement.replace(/\$/g, "$$$$")) : H.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); - if (pattern == null) - H.throwExpression(H.argumentErrorValue(pattern)); - t1 = t1.allMatches$2(pattern, receiver, startIndex); - matches = H.assertSubtype(t1.get$iterator(t1), "$isIterator", [P.Match], "$asIterator"); + return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); + } + if (pattern instanceof A.JSSyntaxRegExp) + return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + t1 = J.allMatches$2$s(pattern, receiver, startIndex); + matches = t1.get$iterator(t1); if (!matches.moveNext$0()) return receiver; - match = matches.get$current(); - return C.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(), replacement); + match = matches.get$current(matches); + return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); }, - stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { - var prefix, suffix; - prefix = receiver.substring(0, start); - suffix = receiver.substring(end); - return prefix + replacement + suffix; + stringReplaceRangeUnchecked(receiver, start, end, replacement) { + return receiver.substring(0, start) + replacement + receiver.substring(end); }, ConstantMapView: function ConstantMapView(t0, t1) { - this._map = t0; + this._collection$_map = t0; this.$ti = t1; }, ConstantMap: function ConstantMap() { }, ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { var _ = this; - _.__js_helper$_length = t0; + _._length = t0; _._jsObject = t1; - _._keys = t2; + _.__js_helper$_keys = t2; _.$ti = t3; }, + _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) { + this._map = t0; + this.$ti = t1; + }, Instantiation: function Instantiation() { }, Instantiation1: function Instantiation1(t0, t1) { @@ -2014,7 +1497,7 @@ JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) { var _ = this; _._memberName = t0; - _._kind = t1; + _.__js_helper$_kind = t1; _._arguments = t2; _._namedArgumentNames = t3; _._typeArgumentCount = t4; @@ -2034,58 +1517,54 @@ _._receiver = t5; }, NullError: function NullError(t0, t1) { - this._message = t0; + this.__js_helper$_message = t0; this._method = t1; }, JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { - this._message = t0; + this.__js_helper$_message = t0; this._method = t1; this._receiver = t2; }, UnknownJsTypeError: function UnknownJsTypeError(t0) { - this._message = t0; + this.__js_helper$_message = t0; + }, + NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) { + this._irritant = t0; }, ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) { this.dartException = t0; this.stackTrace = t1; }, - unwrapException_saveStackTrace: function unwrapException_saveStackTrace(t0) { - this.ex = t0; - }, _StackTrace: function _StackTrace(t0) { this._exception = t0; - this.__js_helper$_trace = null; + this._trace = null; }, Closure: function Closure() { }, + Closure0Args: function Closure0Args() { + }, + Closure2Args: function Closure2Args() { + }, TearOffClosure: function TearOffClosure() { }, StaticClosure: function StaticClosure() { }, - BoundClosure: function BoundClosure(t0, t1, t2, t3) { - var _ = this; - _._self = t0; - _._target = t1; - _._receiver = t2; - _._name = t3; - }, - TypeErrorImplementation: function TypeErrorImplementation(t0) { - this.message = t0; + BoundClosure: function BoundClosure(t0, t1) { + this._receiver = t0; + this._interceptor = t1; }, - CastErrorImplementation: function CastErrorImplementation(t0) { + RuntimeError: function RuntimeError(t0) { this.message = t0; }, - RuntimeError: function RuntimeError(t0) { + _AssertionError: function _AssertionError(t0) { this.message = t0; }, - TypeImpl: function TypeImpl(t0) { - this._rti = t0; - this._hashCode = this.__typeName = null; + _Required: function _Required() { }, JsLinkedHashMap: function JsLinkedHashMap(t0) { var _ = this; - _.__js_helper$_length = 0; - _._last = _._first = _._rest = _._nums = _._strings = null; + _._length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; }, @@ -2099,12 +1578,12 @@ _._previous = _._next = null; }, LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) { - this.__js_helper$_map = t0; + this._map = t0; this.$ti = t1; }, LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) { var _ = this; - _.__js_helper$_map = t0; + _._map = t0; _._modifications = t1; _.__js_helper$_current = _._cell = null; _.$ti = t2; @@ -2155,28 +1634,43 @@ _.__js_helper$_index = t2; _.__js_helper$_current = null; }, - _ensureNativeList: function(list) { + throwLateFieldNI(fieldName) { + return A.throwExpression(A.LateError$fieldNI(fieldName)); + }, + throwLateFieldAI(fieldName) { + return A.throwExpression(A.LateError$fieldAI(fieldName)); + }, + throwLateFieldADI(fieldName) { + return A.throwExpression(A.LateError$fieldADI(fieldName)); + }, + _Cell$named(_name) { + var t1 = new A._Cell(_name); + return t1.__late_helper$_value = t1; + }, + _Cell: function _Cell(t0) { + this.__late_helper$_name = t0; + this.__late_helper$_value = null; + }, + _ensureNativeList(list) { return list; }, - NativeInt8List__create1: function(arg) { + NativeInt8List__create1(arg) { return new Int8Array(arg); }, - _checkValidIndex: function(index, list, $length) { + _checkValidIndex(index, list, $length) { if (index >>> 0 !== index || index >= $length) - throw H.wrapException(H.diagnoseIndexError(list, index)); + throw A.wrapException(A.diagnoseIndexError(list, index)); }, - _checkValidRange: function(start, end, $length) { + _checkValidRange(start, end, $length) { var t1; if (!(start >>> 0 !== start)) t1 = end >>> 0 !== end || start > end || end > $length; else t1 = true; if (t1) - throw H.wrapException(H.diagnoseRangeError(start, end, $length)); + throw A.wrapException(A.diagnoseRangeError(start, end, $length)); return end; }, - NativeByteBuffer: function NativeByteBuffer() { - }, NativeTypedData: function NativeTypedData() { }, NativeTypedArray: function NativeTypedArray() { @@ -2207,479 +1701,1564 @@ }, _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() { }, - extractKeys: function(victim) { - return J.JSArray_JSArray$markFixed(victim ? Object.keys(victim) : [], null); + Rti__getQuestionFromStar(universe, rti) { + var question = rti._precomputed1; + return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question; }, - printString: function(string) { - if (typeof dartPrint == "function") { - dartPrint(string); - return; - } - if (typeof console == "object" && typeof console.log != "undefined") { - console.log(string); - return; - } - if (typeof window == "object") - return; - if (typeof print == "function") { - print(string); - return; - } - throw "Unable to print message: " + String(string); - } - }, - J = { - makeDispatchRecord: function(interceptor, proto, extension, indexability) { - return {i: interceptor, p: proto, e: extension, x: indexability}; + Rti__getFutureFromFutureOr(universe, rti) { + var future = rti._precomputed1; + return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; }, - getNativeInterceptor: function(object) { - var record, proto, objectProto, $constructor, interceptor; - record = object[init.dispatchPropertyName]; - if (record == null) - if ($.initNativeDispatchFlag == null) { - H.initNativeDispatch(); - record = object[init.dispatchPropertyName]; - } - if (record != null) { - proto = record.p; - if (false === proto) - return record.i; - if (true === proto) - return object; - objectProto = Object.getPrototypeOf(object); - if (proto === objectProto) - return record.i; - if (record.e === objectProto) - throw H.wrapException(P.UnimplementedError$("Return interceptor for " + H.S(proto(object, record)))); - } - $constructor = object.constructor; - interceptor = $constructor == null ? null : $constructor[$.$get$JS_INTEROP_INTERCEPTOR_TAG()]; - if (interceptor != null) - return interceptor; - interceptor = H.lookupAndCacheInterceptor(object); - if (interceptor != null) - return interceptor; - if (typeof object == "function") - return C.JavaScriptFunction_methods; - proto = Object.getPrototypeOf(object); - if (proto == null) - return C.PlainJavaScriptObject_methods; - if (proto === Object.prototype) - return C.PlainJavaScriptObject_methods; - if (typeof $constructor == "function") { - Object.defineProperty($constructor, $.$get$JS_INTEROP_INTERCEPTOR_TAG(), {value: C.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); - return C.UnknownJavaScriptObject_methods; - } - return C.UnknownJavaScriptObject_methods; + Rti__isUnionOfFunctionType(rti) { + var kind = rti._kind; + if (kind === 6 || kind === 7 || kind === 8) + return A.Rti__isUnionOfFunctionType(rti._primary); + return kind === 11 || kind === 12; }, - JSArray_JSArray$fixed: function($length, $E) { - if ($length < 0 || $length > 4294967295) - throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "length", null)); - return J.JSArray_JSArray$markFixed(new Array($length), $E); - }, - JSArray_JSArray$markFixed: function(allocation, $E) { - return J.JSArray_markFixedList(H.setRuntimeTypeInfo(allocation, [$E])); - }, - JSArray_markFixedList: function(list) { - H.listTypeCheck(list); - list.fixed$length = Array; - return list; + Rti__getCanonicalRecipe(rti) { + return rti._canonicalRecipe; }, - JSArray_markUnmodifiableList: function(list) { - list.fixed$length = Array; - list.immutable$list = Array; - return list; + findType(recipe) { + return A._Universe_eval(init.typeUniverse, recipe, false); }, - JSString__isWhitespace: function(codeUnit) { - if (codeUnit < 256) - switch (codeUnit) { - case 9: - case 10: - case 11: - case 12: - case 13: - case 32: - case 133: - case 160: - return true; - default: - return false; - } - switch (codeUnit) { - case 5760: - case 8192: - case 8193: - case 8194: - case 8195: - case 8196: - case 8197: - case 8198: - case 8199: - case 8200: - case 8201: - case 8202: - case 8232: - case 8233: - case 8239: - case 8287: - case 12288: - case 65279: - return true; + instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) { + var t1, cache, key, probe, rti; + if (genericFunctionRti == null) + return null; + t1 = instantiationRti._rest; + cache = genericFunctionRti._bindCache; + if (cache == null) + cache = genericFunctionRti._bindCache = new Map(); + key = instantiationRti._canonicalRecipe; + probe = cache.get(key); + if (probe != null) + return probe; + rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); + cache.set(key, rti); + return rti; + }, + _substitute(universe, rti, typeArguments, depth) { + var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, + kind = rti._kind; + switch (kind) { + case 5: + case 1: + case 2: + case 3: + case 4: + return rti; + case 6: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupStarRti(universe, substitutedBaseType, true); + case 7: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true); + case 8: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); + case 9: + interfaceTypeArguments = rti._rest; + substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); + if (substitutedInterfaceTypeArguments === interfaceTypeArguments) + return rti; + return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); + case 10: + base = rti._primary; + substitutedBase = A._substitute(universe, base, typeArguments, depth); + $arguments = rti._rest; + substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth); + if (substitutedBase === base && substitutedArguments === $arguments) + return rti; + return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); + case 11: + returnType = rti._primary; + substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); + functionParameters = rti._rest; + substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); + if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) + return rti; + return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); + case 12: + bounds = rti._rest; + depth += bounds.length; + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth); + base = rti._primary; + substitutedBase = A._substitute(universe, base, typeArguments, depth); + if (substitutedBounds === bounds && substitutedBase === base) + return rti; + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); + case 13: + index = rti._primary; + if (index < depth) + return rti; + argument = typeArguments[index - depth]; + if (argument == null) + return rti; + return argument; default: - return false; - } - }, - JSString__skipLeadingWhitespace: function(string, index) { - var t1, codeUnit; - for (t1 = string.length; index < t1;) { - codeUnit = C.JSString_methods._codeUnitAt$1(string, index); - if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) - break; - ++index; - } - return index; + throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); + } + }, + _substituteArray(universe, rtiArray, typeArguments, depth) { + var changed, i, rti, substitutedRti, + $length = rtiArray.length, + result = A._Utils_newArrayOrEmpty($length); + for (changed = false, i = 0; i < $length; ++i) { + rti = rtiArray[i]; + substitutedRti = A._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result[i] = substitutedRti; + } + return changed ? result : rtiArray; + }, + _substituteNamed(universe, namedArray, typeArguments, depth) { + var changed, i, t1, t2, rti, substitutedRti, + $length = namedArray.length, + result = A._Utils_newArrayOrEmpty($length); + for (changed = false, i = 0; i < $length; i += 3) { + t1 = namedArray[i]; + t2 = namedArray[i + 1]; + rti = namedArray[i + 2]; + substitutedRti = A._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result.splice(i, 3, t1, t2, substitutedRti); + } + return changed ? result : namedArray; + }, + _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) { + var result, + requiredPositional = functionParameters._requiredPositional, + substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth), + optionalPositional = functionParameters._optionalPositional, + substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth), + named = functionParameters._named, + substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth); + if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named) + return functionParameters; + result = new A._FunctionParameters(); + result._requiredPositional = substitutedRequiredPositional; + result._optionalPositional = substitutedOptionalPositional; + result._named = substitutedNamed; + return result; }, - JSString__skipTrailingWhitespace: function(string, index) { - var index0, codeUnit; - for (; index > 0; index = index0) { - index0 = index - 1; - codeUnit = C.JSString_methods.codeUnitAt$1(string, index0); - if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) - break; - } - return index; + _setArrayType(target, rti) { + target[init.arrayRti] = rti; + return target; }, - getInterceptor$: function(receiver) { - if (typeof receiver == "number") { - if (Math.floor(receiver) == receiver) - return J.JSInt.prototype; - return J.JSDouble.prototype; - } - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return J.JSNull.prototype; - if (typeof receiver == "boolean") - return J.JSBool.prototype; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; + closureFunctionType(closure) { + var signature = closure.$signature; + if (signature != null) { + if (typeof signature == "number") + return A.getTypeFromTypesTable(signature); + return closure.$signature(); } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + return null; }, - getInterceptor$ansx: function(receiver) { - if (typeof receiver == "number") - return J.JSNumber.prototype; - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; - } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + instanceOrFunctionType(object, testRti) { + var rti; + if (A.Rti__isUnionOfFunctionType(testRti)) + if (object instanceof A.Closure) { + rti = A.closureFunctionType(object); + if (rti != null) + return rti; + } + return A.instanceType(object); }, - getInterceptor$asx: function(receiver) { - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; + instanceType(object) { + var rti; + if (object instanceof A.Object) { + rti = object.$ti; + return rti != null ? rti : A._instanceTypeFromConstructor(object); } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + if (Array.isArray(object)) + return A._arrayInstanceType(object); + return A._instanceTypeFromConstructor(J.getInterceptor$(object)); }, - getInterceptor$ax: function(receiver) { - if (receiver == null) - return receiver; - if (receiver.constructor == Array) - return J.JSArray.prototype; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; + _arrayInstanceType(object) { + var rti = object[init.arrayRti], + defaultRti = type$.JSArray_dynamic; + if (rti == null) + return defaultRti; + if (rti.constructor !== defaultRti.constructor) + return defaultRti; + return rti; + }, + _instanceType(object) { + var rti = object.$ti; + return rti != null ? rti : A._instanceTypeFromConstructor(object); + }, + _instanceTypeFromConstructor(instance) { + var $constructor = instance.constructor, + probe = $constructor.$ccache; + if (probe != null) + return probe; + return A._instanceTypeFromConstructorMiss(instance, $constructor); + }, + _instanceTypeFromConstructorMiss(instance, $constructor) { + var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor, + rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); + $constructor.$ccache = rti; + return rti; + }, + getTypeFromTypesTable(index) { + var rti, + table = init.types, + type = table[index]; + if (typeof type == "string") { + rti = A._Universe_eval(init.typeUniverse, type, false); + table[index] = rti; + return rti; } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); - }, - getInterceptor$n: function(receiver) { - if (typeof receiver == "number") - return J.JSNumber.prototype; - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + return type; + }, + getRuntimeType(object) { + var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null; + return A.createRuntimeType(rti == null ? A.instanceType(object) : rti); + }, + createRuntimeType(rti) { + var recipe, starErasedRecipe, starErasedRti, + type = rti._cachedRuntimeType; + if (type != null) + return type; + recipe = rti._canonicalRecipe; + starErasedRecipe = recipe.replace(/\*/g, ""); + if (starErasedRecipe === recipe) + return rti._cachedRuntimeType = new A._Type(rti); + starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true); + type = starErasedRti._cachedRuntimeType; + return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type; + }, + typeLiteral(recipe) { + return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); + }, + _installSpecializedIsTest(object) { + var t1, unstarred, isFn, $name, testRti = this; + if (testRti === type$.Object) + return A._finishIsFn(testRti, object, A._isObject); + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + return A._finishIsFn(testRti, object, A._isTop); + t1 = testRti._kind; + unstarred = t1 === 6 ? testRti._primary : testRti; + if (unstarred === type$.int) + isFn = A._isInt; + else if (unstarred === type$.double || unstarred === type$.num) + isFn = A._isNum; + else if (unstarred === type$.String) + isFn = A._isString; + else + isFn = unstarred === type$.bool ? A._isBool : null; + if (isFn != null) + return A._finishIsFn(testRti, object, isFn); + if (unstarred._kind === 9) { + $name = unstarred._primary; + if (unstarred._rest.every(A.isTopType)) { + testRti._specializedTestResource = "$is" + $name; + if ($name === "List") + return A._finishIsFn(testRti, object, A._isListTestViaProperty); + return A._finishIsFn(testRti, object, A._isTestViaProperty); + } + } else if (t1 === 7) + return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); + return A._finishIsFn(testRti, object, A._generalIsTestImplementation); + }, + _finishIsFn(testRti, object, isFn) { + testRti._is = isFn; + return testRti._is(object); + }, + _installSpecializedAsCheck(object) { + var t1, testRti = this, + asFn = A._generalAsCheckImplementation; + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + asFn = A._asTop; + else if (testRti === type$.Object) + asFn = A._asObject; + else { + t1 = A.isNullable(testRti); + if (t1) + asFn = A._generalNullableAsCheckImplementation; + } + testRti._as = asFn; + return testRti._as(object); + }, + _nullIs(testRti) { + var t1, + kind = testRti._kind; + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + if (!(testRti === type$.legacy_Never)) + if (kind !== 7) + t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; }, - getInterceptor$s: function(receiver) { - if (typeof receiver == "string") - return J.JSString.prototype; - if (receiver == null) - return receiver; - if (!(receiver instanceof P.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + _generalIsTestImplementation(object) { + var testRti = this; + if (object == null) + return A._nullIs(testRti); + return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null); }, - getInterceptor$x: function(receiver) { - if (receiver == null) - return receiver; - if (typeof receiver != "object") { - if (typeof receiver == "function") - return J.JavaScriptFunction.prototype; - return receiver; - } - if (receiver instanceof P.Object) - return receiver; - return J.getNativeInterceptor(receiver); + _generalNullableIsTestImplementation(object) { + if (object == null) + return true; + return this._primary._is(object); }, - get$hashCode$: function(receiver) { - return J.getInterceptor$(receiver).get$hashCode(receiver); + _isTestViaProperty(object) { + var tag, testRti = this; + if (object == null) + return A._nullIs(testRti); + tag = testRti._specializedTestResource; + if (object instanceof A.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _isListTestViaProperty(object) { + var tag, testRti = this; + if (object == null) + return A._nullIs(testRti); + if (typeof object != "object") + return false; + if (Array.isArray(object)) + return true; + tag = testRti._specializedTestResource; + if (object instanceof A.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _generalAsCheckImplementation(object) { + var t1, testRti = this; + if (object == null) { + t1 = A.isNullable(testRti); + if (t1) + return object; + } else if (testRti._is(object)) + return object; + A._failedAsCheck(object, testRti); }, - get$iterator$ax: function(receiver) { - return J.getInterceptor$ax(receiver).get$iterator(receiver); + _generalNullableAsCheckImplementation(object) { + var testRti = this; + if (object == null) + return object; + else if (testRti._is(object)) + return object; + A._failedAsCheck(object, testRti); }, - get$length$asx: function(receiver) { - return J.getInterceptor$asx(receiver).get$length(receiver); + _failedAsCheck(object, testRti) { + throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null)))); }, - get$onClick$x: function(receiver) { - return J.getInterceptor$x(receiver).get$onClick(receiver); + checkTypeBound(type, bound, variable, methodName) { + var _null = null; + if (A._isSubtype(init.typeUniverse, type, _null, bound, _null)) + return type; + throw A.wrapException(A._TypeError$fromMessage("The type argument '" + A._rtiToString(type, _null) + "' is not a subtype of the type variable bound '" + A._rtiToString(bound, _null) + "' of type variable '" + variable + "' in '" + methodName + "'.")); }, - $add$ansx: function(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver + a0; - return J.getInterceptor$ansx(receiver).$add(receiver, a0); + _Error_compose(object, objectRti, checkedTypeDescription) { + var objectDescription = A.Error_safeToString(object); + return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; }, - $eq$: function(receiver, a0) { - if (receiver == null) - return a0 == null; - if (typeof receiver != "object") - return a0 != null && receiver === a0; - return J.getInterceptor$(receiver).$eq(receiver, a0); + _TypeError$fromMessage(message) { + return new A._TypeError("TypeError: " + message); }, - $gt$n: function(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver > a0; - return J.getInterceptor$n(receiver).$gt(receiver, a0); + _TypeError__TypeError$forType(object, type) { + return new A._TypeError("TypeError: " + A._Error_compose(object, null, type)); }, - $index$asx: function(receiver, a0) { - if (typeof a0 === "number") - if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) - if (a0 >>> 0 === a0 && a0 < receiver.length) - return receiver[a0]; - return J.getInterceptor$asx(receiver).$index(receiver, a0); + _isObject(object) { + return object != null; }, - $indexSet$ax: function(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); + _asObject(object) { + if (object != null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "Object")); }, - _codeUnitAt$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0); + _isTop(object) { + return true; }, - _removeChild$1$x: function(receiver, a0) { - return J.getInterceptor$x(receiver)._removeChild$1(receiver, a0); + _asTop(object) { + return object; }, - _removeEventListener$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver)._removeEventListener$3(receiver, a0, a1, a2); + _isBool(object) { + return true === object || false === object; }, - addEventListener$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); + _asBool(object) { + if (true === object) + return true; + if (false === object) + return false; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, - codeUnitAt$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + _asBoolS(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, - contains$1$asx: function(receiver, a0) { - return J.getInterceptor$asx(receiver).contains$1(receiver, a0); + _asBoolQ(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?")); }, - elementAt$1$ax: function(receiver, a0) { - return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + _asDouble(object) { + if (typeof object == "number") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, - endsWith$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); + _asDoubleS(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, - fillRange$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).fillRange$3(receiver, a0, a1, a2); + _asDoubleQ(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double?")); }, - indexOf$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).indexOf$2(receiver, a0, a1); + _isInt(object) { + return typeof object == "number" && Math.floor(object) === object; }, - matchAsPrefix$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + _asInt(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, - noSuchMethod$1$: function(receiver, a0) { - return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + _asIntS(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, - padRight$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).padRight$1(receiver, a0); + _asIntQ(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int?")); }, - postMessage$3$x: function(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).postMessage$3(receiver, a0, a1, a2); + _isNum(object) { + return typeof object == "number"; }, - replaceFirst$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); + _asNum(object) { + if (typeof object == "number") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, - replaceRange$3$asx: function(receiver, a0, a1, a2) { - return J.getInterceptor$asx(receiver).replaceRange$3(receiver, a0, a1, a2); + _asNumS(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, - startsWith$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); + _asNumQ(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num?")); }, - startsWith$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).startsWith$2(receiver, a0, a1); + _isString(object) { + return typeof object == "string"; }, - substring$1$s: function(receiver, a0) { - return J.getInterceptor$s(receiver).substring$1(receiver, a0); + _asString(object) { + if (typeof object == "string") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, - substring$2$s: function(receiver, a0, a1) { - return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); + _asStringS(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, - toString$0$: function(receiver) { - return J.getInterceptor$(receiver).toString$0(receiver); + _asStringQ(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String?")); + }, + _rtiArrayToString(array, genericContext) { + var s, sep, i; + for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") + s += sep + A._rtiToString(array[i], genericContext); + return s; + }, + _functionRtiToString(functionType, genericContext, bounds) { + var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, t3, t4, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; + if (bounds != null) { + boundsLength = bounds.length; + if (genericContext == null) { + genericContext = A._setArrayType([], type$.JSArray_String); + outerContextLength = null; + } else + outerContextLength = genericContext.length; + offset = genericContext.length; + for (i = boundsLength; i > 0; --i) + B.JSArray_methods.add$1(genericContext, "T" + (offset + i)); + for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { + t3 = genericContext.length; + t4 = t3 - 1 - i; + if (!(t4 >= 0)) + return A.ioore(genericContext, t4); + typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[t4]); + boundRti = bounds[i]; + kind = boundRti._kind; + if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1)) + if (!(boundRti === t2)) + t3 = false; + else + t3 = true; + else + t3 = true; + if (!t3) + typeParametersText += " extends " + A._rtiToString(boundRti, genericContext); + } + typeParametersText += ">"; + } else { + typeParametersText = ""; + outerContextLength = null; + } + t1 = functionType._primary; + parameters = functionType._rest; + requiredPositional = parameters._requiredPositional; + requiredPositionalLength = requiredPositional.length; + optionalPositional = parameters._optionalPositional; + optionalPositionalLength = optionalPositional.length; + named = parameters._named; + namedLength = named.length; + returnTypeText = A._rtiToString(t1, genericContext); + for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) + argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext); + if (optionalPositionalLength > 0) { + argumentsText += sep + "["; + for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) + argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext); + argumentsText += "]"; + } + if (namedLength > 0) { + argumentsText += sep + "{"; + for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) { + argumentsText += sep; + if (named[i + 1]) + argumentsText += "required "; + argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i]; + } + argumentsText += "}"; + } + if (outerContextLength != null) { + genericContext.toString; + genericContext.length = outerContextLength; + } + return typeParametersText + "(" + argumentsText + ") => " + returnTypeText; }, - trim$0$s: function(receiver) { - return J.getInterceptor$s(receiver).trim$0(receiver); + _rtiToString(rti, genericContext) { + var s, questionArgument, argumentKind, $name, $arguments, t1, t2, + kind = rti._kind; + if (kind === 5) + return "erased"; + if (kind === 2) + return "dynamic"; + if (kind === 3) + return "void"; + if (kind === 1) + return "Never"; + if (kind === 4) + return "any"; + if (kind === 6) { + s = A._rtiToString(rti._primary, genericContext); + return s; + } + if (kind === 7) { + questionArgument = rti._primary; + s = A._rtiToString(questionArgument, genericContext); + argumentKind = questionArgument._kind; + return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?"; + } + if (kind === 8) + return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">"; + if (kind === 9) { + $name = A._unminifyOrTag(rti._primary); + $arguments = rti._rest; + return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name; + } + if (kind === 11) + return A._functionRtiToString(rti, genericContext, null); + if (kind === 12) + return A._functionRtiToString(rti._primary, genericContext, rti._rest); + if (kind === 13) { + t1 = rti._primary; + t2 = genericContext.length; + t1 = t2 - 1 - t1; + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(genericContext, t1); + return genericContext[t1]; + } + return "?"; + }, + _unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; + if (preserved != null) + return preserved; + return rawClassName; }, - waitUntilDone$0$x: function(receiver) { - return J.getInterceptor$x(receiver).waitUntilDone$0(receiver); + _Universe_findRule(universe, targetType) { + var rule = universe.tR[targetType]; + for (; typeof rule == "string";) + rule = universe.tR[rule]; + return rule; + }, + _Universe_findErasedType(universe, cls) { + var $length, erased, $arguments, i, $interface, + t1 = universe.eT, + probe = t1[cls]; + if (probe == null) + return A._Universe_eval(universe, cls, false); + else if (typeof probe == "number") { + $length = probe; + erased = A._Universe__lookupTerminalRti(universe, 5, "#"); + $arguments = A._Utils_newArrayOrEmpty($length); + for (i = 0; i < $length; ++i) + $arguments[i] = erased; + $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments); + t1[cls] = $interface; + return $interface; + } else + return probe; + }, + _Universe_addRules(universe, rules) { + return A._Utils_objectAssign(universe.tR, rules); + }, + _Universe_addErasedTypes(universe, types) { + return A._Utils_objectAssign(universe.eT, types); + }, + _Universe_eval(universe, recipe, normalize) { + var rti, + t1 = universe.eC, + probe = t1.get(recipe); + if (probe != null) + return probe; + rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize)); + t1.set(recipe, rti); + return rti; + }, + _Universe_evalInEnvironment(universe, environment, recipe) { + var probe, rti, + cache = environment._evalCache; + if (cache == null) + cache = environment._evalCache = new Map(); + probe = cache.get(recipe); + if (probe != null) + return probe; + rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true)); + cache.set(recipe, rti); + return rti; + }, + _Universe_bind(universe, environment, argumentsRti) { + var argumentsRecipe, probe, rti, + cache = environment._bindCache; + if (cache == null) + cache = environment._bindCache = new Map(); + argumentsRecipe = argumentsRti._canonicalRecipe; + probe = cache.get(argumentsRecipe); + if (probe != null) + return probe; + rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); + cache.set(argumentsRecipe, rti); + return rti; + }, + _Universe__installTypeTests(universe, rti) { + rti._as = A._installSpecializedAsCheck; + rti._is = A._installSpecializedIsTest; + return rti; + }, + _Universe__lookupTerminalRti(universe, kind, key) { + var rti, t1, + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = kind; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; }, - Interceptor: function Interceptor() { + _Universe__lookupStarRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "*", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createStarRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; }, - JSBool: function JSBool() { + _Universe__createStarRti(universe, baseType, key, normalize) { + var baseKind, t1, rti; + if (normalize) { + baseKind = baseType._kind; + if (!A.isStrongTopType(baseType)) + t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; + else + t1 = true; + if (t1) + return baseType; + } + rti = new A.Rti(null, null); + rti._kind = 6; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupQuestionRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "?", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; }, - JSNull: function JSNull() { + _Universe__createQuestionRti(universe, baseType, key, normalize) { + var baseKind, t1, starArgument, rti; + if (normalize) { + baseKind = baseType._kind; + if (!A.isStrongTopType(baseType)) + if (!(baseType === type$.Null || baseType === type$.JSNull)) + if (baseKind !== 7) + t1 = baseKind === 8 && A.isNullable(baseType._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + if (t1) + return baseType; + else if (baseKind === 1 || baseType === type$.legacy_Never) + return type$.Null; + else if (baseKind === 6) { + starArgument = baseType._primary; + if (starArgument._kind === 8 && A.isNullable(starArgument._primary)) + return starArgument; + else + return A.Rti__getQuestionFromStar(universe, baseType); + } + } + rti = new A.Rti(null, null); + rti._kind = 7; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupFutureOrRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "/", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; }, - JavaScriptObject: function JavaScriptObject() { + _Universe__createFutureOrRti(universe, baseType, key, normalize) { + var t1, t2, rti; + if (normalize) { + t1 = baseType._kind; + if (!A.isStrongTopType(baseType)) + if (!(baseType === type$.legacy_Object)) + t2 = false; + else + t2 = true; + else + t2 = true; + if (t2 || baseType === type$.Object) + return baseType; + else if (t1 === 1) + return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]); + else if (baseType === type$.Null || baseType === type$.JSNull) + return type$.nullable_Future_Null; + } + rti = new A.Rti(null, null); + rti._kind = 8; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupGenericFunctionParameterRti(universe, index) { + var rti, t1, + key = "" + index + "^", + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 13; + rti._primary = index; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; }, - PlainJavaScriptObject: function PlainJavaScriptObject() { + _Universe__canonicalRecipeJoin($arguments) { + var s, sep, i, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",") + s += sep + $arguments[i]._canonicalRecipe; + return s; + }, + _Universe__canonicalRecipeJoinNamed($arguments) { + var s, sep, i, t1, nameSep, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { + t1 = $arguments[i]; + nameSep = $arguments[i + 1] ? "!" : ":"; + s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe; + } + return s; + }, + _Universe__lookupInterfaceRti(universe, $name, $arguments) { + var probe, rti, t1, + s = $name; + if ($arguments.length > 0) + s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">"; + probe = universe.eC.get(s); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 9; + rti._primary = $name; + rti._rest = $arguments; + if ($arguments.length > 0) + rti._precomputed1 = $arguments[0]; + rti._canonicalRecipe = s; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(s, t1); + return t1; }, - UnknownJavaScriptObject: function UnknownJavaScriptObject() { + _Universe__lookupBindingRti(universe, base, $arguments) { + var newBase, newArguments, key, probe, rti, t1; + if (base._kind === 10) { + newBase = base._primary; + newArguments = base._rest.concat($arguments); + } else { + newArguments = $arguments; + newBase = base; + } + key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 10; + rti._primary = newBase; + rti._rest = newArguments; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; }, - JavaScriptFunction: function JavaScriptFunction() { + _Universe__lookupFunctionRti(universe, returnType, parameters) { + var sep, key, probe, rti, t1, + s = returnType._canonicalRecipe, + requiredPositional = parameters._requiredPositional, + requiredPositionalLength = requiredPositional.length, + optionalPositional = parameters._optionalPositional, + optionalPositionalLength = optionalPositional.length, + named = parameters._named, + namedLength = named.length, + recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional); + if (optionalPositionalLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]"; + } + if (namedLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}"; + } + key = s + (recipe + ")"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 11; + rti._primary = returnType; + rti._rest = parameters; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; }, - JSArray: function JSArray(t0) { - this.$ti = t0; + _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) { + var t1, + key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"), + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); + universe.eC.set(key, t1); + return t1; }, - JSUnmodifiableArray: function JSUnmodifiableArray(t0) { - this.$ti = t0; + _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) { + var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti; + if (normalize) { + $length = bounds.length; + typeArguments = A._Utils_newArrayOrEmpty($length); + for (count = 0, i = 0; i < $length; ++i) { + bound = bounds[i]; + if (bound._kind === 1) { + typeArguments[i] = bound; + ++count; + } + } + if (count > 0) { + substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0); + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0); + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); + } + } + rti = new A.Rti(null, null); + rti._kind = 12; + rti._primary = baseFunctionType; + rti._rest = bounds; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Parser_create(universe, environment, recipe, normalize) { + return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; + }, + _Parser_parse(parser) { + var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item, + source = parser.r, + t1 = parser.s; + for (t2 = source.length, i = 0; i < t2;) { + ch = source.charCodeAt(i); + if (ch >= 48 && ch <= 57) + i = A._Parser_handleDigit(i + 1, ch, source, t1); + else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36) + i = A._Parser_handleIdentifier(parser, i, source, t1, false); + else if (ch === 46) + i = A._Parser_handleIdentifier(parser, i, source, t1, true); + else { + ++i; + switch (ch) { + case 44: + break; + case 58: + t1.push(false); + break; + case 33: + t1.push(true); + break; + case 59: + t1.push(A._Parser_toType(parser.u, parser.e, t1.pop())); + break; + case 94: + t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop())); + break; + case 35: + t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); + break; + case 64: + t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); + break; + case 126: + t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); + break; + case 60: + t1.push(parser.p); + parser.p = t1.length; + break; + case 62: + t3 = parser.u; + array = t1.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = t1.pop(); + head = t1.pop(); + if (typeof head == "string") + t1.push(A._Universe__lookupInterfaceRti(t3, head, array)); + else { + base = A._Parser_toType(t3, parser.e, head); + switch (base._kind) { + case 11: + t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n)); + break; + default: + t1.push(A._Universe__lookupBindingRti(t3, base, array)); + break; + } + } + break; + case 38: + A._Parser_handleExtendedOperations(parser, t1); + break; + case 42: + t3 = parser.u; + t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 63: + t3 = parser.u; + t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 47: + t3 = parser.u; + t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 40: + t1.push(parser.p); + parser.p = t1.length; + break; + case 41: + t3 = parser.u; + parameters = new A._FunctionParameters(); + optionalPositional = t3.sEA; + named = t3.sEA; + head = t1.pop(); + if (typeof head == "number") + switch (head) { + case -1: + optionalPositional = t1.pop(); + break; + case -2: + named = t1.pop(); + break; + default: + t1.push(head); + break; + } + else + t1.push(head); + array = t1.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = t1.pop(); + parameters._requiredPositional = array; + parameters._optionalPositional = optionalPositional; + parameters._named = named; + t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters)); + break; + case 91: + t1.push(parser.p); + parser.p = t1.length; + break; + case 93: + array = t1.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = t1.pop(); + t1.push(array); + t1.push(-1); + break; + case 123: + t1.push(parser.p); + parser.p = t1.length; + break; + case 125: + array = t1.splice(parser.p); + A._Parser_toTypesNamed(parser.u, parser.e, array); + parser.p = t1.pop(); + t1.push(array); + t1.push(-2); + break; + default: + throw "Bad character " + ch; + } + } + } + item = t1.pop(); + return A._Parser_toType(parser.u, parser.e, item); + }, + _Parser_handleDigit(i, digit, source, stack) { + var t1, ch, + value = digit - 48; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (!(ch >= 48 && ch <= 57)) + break; + value = value * 10 + (ch - 48); + } + stack.push(value); + return i; + }, + _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) { + var t1, ch, t2, string, environment, recipe, + i = start + 1; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (ch === 46) { + if (hasPeriod) + break; + hasPeriod = true; + } else { + if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)) + t2 = ch >= 48 && ch <= 57; + else + t2 = true; + if (!t2) + break; + } + } + string = source.substring(start, i); + if (hasPeriod) { + t1 = parser.u; + environment = parser.e; + if (environment._kind === 10) + environment = environment._primary; + recipe = A._Universe_findRule(t1, environment._primary)[string]; + if (recipe == null) + A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"'); + stack.push(A._Universe_evalInEnvironment(t1, environment, recipe)); + } else + stack.push(string); + return i; + }, + _Parser_handleExtendedOperations(parser, stack) { + var $top = stack.pop(); + if (0 === $top) { + stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&")); + return; + } + if (1 === $top) { + stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&")); + return; + } + throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top))); + }, + _Parser_toType(universe, environment, item) { + if (typeof item == "string") + return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); + else if (typeof item == "number") { + environment.toString; + return A._Parser_indexToType(universe, environment, item); + } else + return item; + }, + _Parser_toTypes(universe, environment, items) { + var i, + $length = items.length; + for (i = 0; i < $length; ++i) + items[i] = A._Parser_toType(universe, environment, items[i]); + }, + _Parser_toTypesNamed(universe, environment, items) { + var i, + $length = items.length; + for (i = 2; i < $length; i += 3) + items[i] = A._Parser_toType(universe, environment, items[i]); + }, + _Parser_indexToType(universe, environment, index) { + var typeArguments, len, + kind = environment._kind; + if (kind === 10) { + if (index === 0) + return environment._primary; + typeArguments = environment._rest; + len = typeArguments.length; + if (index <= len) + return typeArguments[index - 1]; + index -= len; + environment = environment._primary; + kind = environment._kind; + } else if (index === 0) + return environment; + if (kind !== 9) + throw A.wrapException(A.AssertionError$("Indexed base must be an interface type")); + typeArguments = environment._rest; + if (index <= typeArguments.length) + return typeArguments[index - 1]; + throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); + }, + _isSubtype(universe, s, sEnv, t, tEnv) { + var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound; + if (s === t) + return true; + if (!A.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + return true; + sKind = s._kind; + if (sKind === 4) + return true; + if (A.isStrongTopType(s)) + return false; + if (s._kind !== 1) + t1 = false; + else + t1 = true; + if (t1) + return true; + leftTypeVariable = sKind === 13; + if (leftTypeVariable) + if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) + return true; + tKind = t._kind; + t1 = s === type$.Null || s === type$.JSNull; + if (t1) { + if (tKind === 8) + return A._isSubtype(universe, s, sEnv, t._primary, tEnv); + return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6; + } + if (t === type$.Object) { + if (sKind === 8) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + if (sKind === 6) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + return sKind !== 7; + } + if (sKind === 6) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + if (tKind === 6) { + t1 = A.Rti__getQuestionFromStar(universe, t); + return A._isSubtype(universe, s, sEnv, t1, tEnv); + } + if (sKind === 8) { + if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv)) + return false; + return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); + } + if (sKind === 7) { + t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv); + return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv); + } + if (tKind === 8) { + if (A._isSubtype(universe, s, sEnv, t._primary, tEnv)) + return true; + return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); + } + if (tKind === 7) { + t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv); + return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv); + } + if (leftTypeVariable) + return false; + t1 = sKind !== 11; + if ((!t1 || sKind === 12) && t === type$.Function) + return true; + if (tKind === 12) { + if (s === type$.JavaScriptFunction) + return true; + if (sKind !== 12) + return false; + sBounds = s._rest; + tBounds = t._rest; + sLength = sBounds.length; + if (sLength !== tBounds.length) + return false; + sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv); + tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv); + for (i = 0; i < sLength; ++i) { + sBound = sBounds[i]; + tBound = tBounds[i]; + if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv)) + return false; + } + return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); + } + if (tKind === 11) { + if (s === type$.JavaScriptFunction) + return true; + if (t1) + return false; + return A._isFunctionSubtype(universe, s, sEnv, t, tEnv); + } + if (sKind === 9) { + if (tKind !== 9) + return false; + return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); + } + return false; + }, + _isFunctionSubtype(universe, s, sEnv, t, tEnv) { + var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired; + if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) + return false; + sParameters = s._rest; + tParameters = t._rest; + sRequiredPositional = sParameters._requiredPositional; + tRequiredPositional = tParameters._requiredPositional; + sRequiredPositionalLength = sRequiredPositional.length; + tRequiredPositionalLength = tRequiredPositional.length; + if (sRequiredPositionalLength > tRequiredPositionalLength) + return false; + requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength; + sOptionalPositional = sParameters._optionalPositional; + tOptionalPositional = tParameters._optionalPositional; + sOptionalPositionalLength = sOptionalPositional.length; + tOptionalPositionalLength = tOptionalPositional.length; + if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength) + return false; + for (i = 0; i < sRequiredPositionalLength; ++i) { + t1 = sRequiredPositional[i]; + if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < requiredPositionalDelta; ++i) { + t1 = sOptionalPositional[i]; + if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < tOptionalPositionalLength; ++i) { + t1 = sOptionalPositional[requiredPositionalDelta + i]; + if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) + return false; + } + sNamed = sParameters._named; + tNamed = tParameters._named; + sNamedLength = sNamed.length; + tNamedLength = tNamed.length; + for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) { + tName = tNamed[tIndex]; + for (; true;) { + if (sIndex >= sNamedLength) + return false; + sName = sNamed[sIndex]; + sIndex += 3; + if (tName < sName) + return false; + sIsRequired = sNamed[sIndex - 2]; + if (sName < tName) { + if (sIsRequired) + return false; + continue; + } + t1 = tNamed[tIndex + 1]; + if (sIsRequired && !t1) + return false; + t1 = sNamed[sIndex - 1]; + if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) + return false; + break; + } + } + for (; sIndex < sNamedLength;) { + if (sNamed[sIndex + 1]) + return false; + sIndex += 3; + } + return true; + }, + _isInterfaceSubtype(universe, s, sEnv, t, tEnv) { + var rule, recipes, $length, supertypeArgs, i, t1, t2, + sName = s._primary, + tName = t._primary; + for (; sName !== tName;) { + rule = universe.tR[sName]; + if (rule == null) + return false; + if (typeof rule == "string") { + sName = rule; + continue; + } + recipes = rule[tName]; + if (recipes == null) + return false; + $length = recipes.length; + supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA; + for (i = 0; i < $length; ++i) + supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]); + return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv); + } + t1 = s._rest; + t2 = t._rest; + return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv); }, - ArrayIterator: function ArrayIterator(t0, t1, t2, t3) { + _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) { + var i, t1, t2, + $length = sArgs.length; + for (i = 0; i < $length; ++i) { + t1 = sArgs[i]; + t2 = tArgs[i]; + if (!A._isSubtype(universe, t1, sEnv, t2, tEnv)) + return false; + } + return true; + }, + isNullable(t) { + var t1, + kind = t._kind; + if (!(t === type$.Null || t === type$.JSNull)) + if (!A.isStrongTopType(t)) + if (kind !== 7) + if (!(kind === 6 && A.isNullable(t._primary))) + t1 = kind === 8 && A.isNullable(t._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; + }, + isTopType(t) { + var t1; + if (!A.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + return t1; + }, + isStrongTopType(t) { + var kind = t._kind; + return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; + }, + _Utils_objectAssign(o, other) { + var i, key, + keys = Object.keys(other), + $length = keys.length; + for (i = 0; i < $length; ++i) { + key = keys[i]; + o[key] = other[key]; + } + }, + _Utils_newArrayOrEmpty($length) { + return $length > 0 ? new Array($length) : init.typeUniverse.sEA; + }, + Rti: function Rti(t0, t1) { var _ = this; - _._iterable = t0; - _.__interceptors$_length = t1; - _._index = t2; - _.__interceptors$_current = null; - _.$ti = t3; + _._as = t0; + _._is = t1; + _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null; + _._kind = 0; + _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; }, - JSNumber: function JSNumber() { + _FunctionParameters: function _FunctionParameters() { + this._named = this._optionalPositional = this._requiredPositional = null; }, - JSInt: function JSInt() { + _Type: function _Type(t0) { + this._rti = t0; }, - JSDouble: function JSDouble() { + _Error: function _Error() { }, - JSString: function JSString() { - } - }, - P = { - _AsyncRun__initializeScheduleImmediate: function() { - var t1, div, span; - t1 = {}; + _TypeError: function _TypeError(t0) { + this.__rti$_message = t0; + }, + _AsyncRun__initializeScheduleImmediate() { + var div, span, t1 = {}; if (self.scheduleImmediate != null) - return P.async__AsyncRun__scheduleImmediateJsOverride$closure(); + return A.async__AsyncRun__scheduleImmediateJsOverride$closure(); if (self.MutationObserver != null && self.document != null) { div = self.document.createElement("div"); span = self.document.createElement("span"); t1.storedCallback = null; - new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); - return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); + new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); + return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); } else if (self.setImmediate != null) - return P.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); - return P.async__AsyncRun__scheduleImmediateWithTimer$closure(); + return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); + return A.async__AsyncRun__scheduleImmediateWithTimer$closure(); }, - _AsyncRun__scheduleImmediateJsOverride: function(callback) { - self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(H.functionTypeCheck(callback, {func: 1, ret: -1})), 0)); + _AsyncRun__scheduleImmediateJsOverride(callback) { + self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(type$.void_Function._as(callback)), 0)); }, - _AsyncRun__scheduleImmediateWithSetImmediate: function(callback) { - self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(H.functionTypeCheck(callback, {func: 1, ret: -1})), 0)); + _AsyncRun__scheduleImmediateWithSetImmediate(callback) { + self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type$.void_Function._as(callback)), 0)); }, - _AsyncRun__scheduleImmediateWithTimer: function(callback) { - P.Timer__createTimer(C.Duration_0, H.functionTypeCheck(callback, {func: 1, ret: -1})); + _AsyncRun__scheduleImmediateWithTimer(callback) { + A.Timer__createTimer(B.Duration_0, type$.void_Function._as(callback)); }, - Timer__createTimer: function(duration, callback) { - var milliseconds; - H.functionTypeCheck(callback, {func: 1, ret: -1}); - milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); - return P._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); + Timer__createTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$(milliseconds, callback); }, - Timer__createPeriodicTimer: function(duration, callback) { - var milliseconds; - H.functionTypeCheck(callback, {func: 1, ret: -1, args: [P.Timer]}); - milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); - return P._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); + Timer__createPeriodicTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$periodic(milliseconds, callback); }, - _TimerImpl$: function(milliseconds, callback) { - var t1 = new P._TimerImpl(); + _TimerImpl$(milliseconds, callback) { + var t1 = new A._TimerImpl(); t1._TimerImpl$2(milliseconds, callback); return t1; }, - _TimerImpl$periodic: function(milliseconds, callback) { - var t1 = new P._TimerImpl(); + _TimerImpl$periodic(milliseconds, callback) { + var t1 = new A._TimerImpl(); t1._TimerImpl$periodic$2(milliseconds, callback); return t1; }, - _makeAsyncAwaitCompleter: function($T) { - return new P._AsyncAwaitCompleter(new P._SyncCompleter(new P._Future(0, $.Zone__current, [$T]), [$T]), false, [$T]); + _makeAsyncAwaitCompleter($T) { + return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); }, - _asyncStartSync: function(bodyFunction, completer) { - H.functionTypeCheck(bodyFunction, {func: 1, ret: -1, args: [P.int,,]}); - H.interceptedTypeCheck(completer, "$is_AsyncAwaitCompleter"); + _asyncStartSync(bodyFunction, completer) { bodyFunction.call$2(0, null); completer.isSync = true; - return completer._completer.future; - }, - _asyncAwait: function(object, bodyFunction) { - P._awaitOnObject(object, H.functionTypeCheck(bodyFunction, {func: 1, ret: -1, args: [P.int,,]})); - }, - _asyncReturn: function(object, completer) { - H.interceptedTypeCheck(completer, "$isCompleter").complete$1(0, object); - }, - _asyncRethrow: function(object, completer) { - H.interceptedTypeCheck(completer, "$isCompleter").completeError$2(H.unwrapException(object), H.getTraceFromException(object)); - }, - _awaitOnObject: function(object, bodyFunction) { - var thenCallback, errorCallback, t1, future; - H.functionTypeCheck(bodyFunction, {func: 1, ret: -1, args: [P.int,,]}); - thenCallback = new P._awaitOnObject_closure(bodyFunction); - errorCallback = new P._awaitOnObject_closure0(bodyFunction); - t1 = J.getInterceptor$(object); - if (!!t1.$is_Future) - object._thenNoZoneRegistration$1$2(thenCallback, errorCallback, null); - else if (!!t1.$isFuture) - object.then$1$2$onError(thenCallback, errorCallback, null); + return completer._future; + }, + _asyncAwait(object, bodyFunction) { + A._awaitOnObject(object, bodyFunction); + }, + _asyncReturn(object, completer) { + completer.complete$1(0, object); + }, + _asyncRethrow(object, completer) { + completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object)); + }, + _awaitOnObject(object, bodyFunction) { + var t1, future, + thenCallback = new A._awaitOnObject_closure(bodyFunction), + errorCallback = new A._awaitOnObject_closure0(bodyFunction); + if (object instanceof A._Future) + object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic); else { - future = new P._Future(0, $.Zone__current, [null]); - H.assertSubtypeOfRuntimeType(object, null); - future._state = 4; - future._resultOrListeners = object; - future._thenNoZoneRegistration$1$2(thenCallback, null, null); + t1 = type$.dynamic; + if (type$.Future_dynamic._is(object)) + object.then$1$2$onError(thenCallback, errorCallback, t1); + else { + future = new A._Future($.Zone__current, type$._Future_dynamic); + future._async$_state = 8; + future._resultOrListeners = object; + future._thenAwait$1$2(thenCallback, errorCallback, t1); + } } }, - _wrapJsFunctionForAsync: function($function) { + _wrapJsFunctionForAsync($function) { var $protected = function(fn, ERROR) { return function(errorCode, result) { while (true) @@ -2692,276 +3271,290 @@ } }; }($function, 1); - return $.Zone__current.registerBinaryCallback$3$1(new P._wrapJsFunctionForAsync_closure($protected), P.Null, P.int, null); + return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); }, - _Future$zoneValue: function(value, _zone, $T) { - var t1 = new P._Future(0, _zone, [$T]); - H.assertSubtypeOfRuntimeType(value, $T); - t1._state = 4; - t1._resultOrListeners = value; - return t1; + AsyncError$(error, stackTrace) { + var t1 = A.checkNotNullable(error, "error", type$.Object); + return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); }, - _Future__chainForeignFuture: function(source, target) { - var e, s, exception; - target._state = 1; - try { - source.then$1$2$onError(new P._Future__chainForeignFuture_closure(target), new P._Future__chainForeignFuture_closure0(target), null); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target, e, s)); + AsyncError_defaultStackTrace(error) { + var stackTrace; + if (type$.Error._is(error)) { + stackTrace = error.get$stackTrace(); + if (stackTrace != null) + return stackTrace; } + return B._StringStackTrace_3uE; + }, + Future_Future$value(value, $T) { + var t1, t2; + $T._as(value); + t1 = value; + t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t2._asyncComplete$1(t1); + return t2; }, - _Future__chainCoreFuture: function(source, target) { - var t1, listeners; - for (; t1 = source._state, t1 === 2;) - source = H.interceptedTypeCheck(source._resultOrListeners, "$is_Future"); - if (t1 >= 4) { + _Future__chainCoreFuture(source, target) { + var t1, t2, listeners; + for (t1 = type$._Future_dynamic; t2 = source._async$_state, (t2 & 4) !== 0;) + source = t1._as(source._resultOrListeners); + if ((t2 & 24) !== 0) { listeners = target._removeListeners$0(); - target._state = source._state; - target._resultOrListeners = source._resultOrListeners; - P._Future__propagateToListeners(target, listeners); + target._cloneResult$1(source); + A._Future__propagateToListeners(target, listeners); } else { - listeners = H.interceptedTypeCheck(target._resultOrListeners, "$is_FutureListener"); - target._state = 2; + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._async$_state = target._async$_state & 1 | 4; target._resultOrListeners = source; source._prependListeners$1(listeners); } }, - _Future__propagateToListeners: function(source, listeners) { - var _box_1, t1, _box_0, hasError, asyncError, listeners0, sourceResult, t2, t3, zone, oldZone, current, result; - _box_1 = {}; - _box_1.source = source; - for (t1 = source; true;) { + _Future__propagateToListeners(source, listeners) { + var t2, t3, t4, _box_0, t5, t6, hasError, asyncError, nextListener, nextListener0, sourceResult, t7, zone, oldZone, result, current, _box_1 = {}, + t1 = _box_1.source = source; + for (t2 = type$.AsyncError, t3 = type$.nullable__FutureListener_dynamic_dynamic, t4 = type$.Future_dynamic; true;) { _box_0 = {}; - hasError = t1._state === 8; + t5 = t1._async$_state; + t6 = (t5 & 16) === 0; + hasError = !t6; if (listeners == null) { - if (hasError) { - asyncError = H.interceptedTypeCheck(t1._resultOrListeners, "$isAsyncError"); + if (hasError && (t5 & 1) === 0) { + asyncError = t2._as(t1._resultOrListeners); t1._zone.handleUncaughtError$2(asyncError.error, asyncError.stackTrace); } return; } - for (; listeners0 = listeners._nextListener, listeners0 != null; listeners = listeners0) { - listeners._nextListener = null; - P._Future__propagateToListeners(_box_1.source, listeners); + _box_0.listener = listeners; + nextListener = listeners._nextListener; + for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { + t1._nextListener = null; + A._Future__propagateToListeners(_box_1.source, t1); + _box_0.listener = nextListener; + nextListener0 = nextListener._nextListener; } - t1 = _box_1.source; - sourceResult = t1._resultOrListeners; + t5 = _box_1.source; + sourceResult = t5._resultOrListeners; _box_0.listenerHasError = hasError; _box_0.listenerValueOrError = sourceResult; - t2 = !hasError; - if (t2) { - t3 = listeners.state; - t3 = (t3 & 1) !== 0 || t3 === 8; + if (t6) { + t7 = t1.state; + t7 = (t7 & 1) !== 0 || (t7 & 15) === 8; } else - t3 = true; - if (t3) { - t3 = listeners.result; - zone = t3._zone; + t7 = true; + if (t7) { + zone = t1.result._zone; if (hasError) { - t1 = t1._zone; - t1.toString; - t1 = !(t1 == zone || t1.get$errorZone() === zone.get$errorZone()); + t1 = t5._zone; + t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone()); } else t1 = false; if (t1) { t1 = _box_1.source; - asyncError = H.interceptedTypeCheck(t1._resultOrListeners, "$isAsyncError"); + asyncError = t2._as(t1._resultOrListeners); t1._zone.handleUncaughtError$2(asyncError.error, asyncError.stackTrace); return; } oldZone = $.Zone__current; - if (oldZone != zone) + if (oldZone !== zone) $.Zone__current = zone; else oldZone = null; - t1 = listeners.state; - if (t1 === 8) - new P._Future__propagateToListeners_handleWhenCompleteCallback(_box_1, _box_0, listeners, hasError).call$0(); - else if (t2) { + t1 = _box_0.listener.state; + if ((t1 & 15) === 8) + new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); + else if (t6) { if ((t1 & 1) !== 0) - new P._Future__propagateToListeners_handleValueCallback(_box_0, listeners, sourceResult).call$0(); + new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); } else if ((t1 & 2) !== 0) - new P._Future__propagateToListeners_handleError(_box_1, _box_0, listeners).call$0(); + new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0(); if (oldZone != null) $.Zone__current = oldZone; t1 = _box_0.listenerValueOrError; - if (!!J.getInterceptor$(t1).$isFuture) { - if (t1._state >= 4) { - current = H.interceptedTypeCheck(t3._resultOrListeners, "$is_FutureListener"); - t3._resultOrListeners = null; - listeners = t3._reverseListeners$1(current); - t3._state = t1._state; - t3._resultOrListeners = t1._resultOrListeners; + if (t4._is(t1)) { + t5 = _box_0.listener.$ti; + t5 = t5._eval$1("Future<2>")._is(t1) || !t5._rest[1]._is(t1); + } else + t5 = false; + if (t5) { + t4._as(t1); + result = _box_0.listener.result; + if ((t1._async$_state & 24) !== 0) { + current = t3._as(result._resultOrListeners); + result._resultOrListeners = null; + listeners = result._reverseListeners$1(current); + result._async$_state = t1._async$_state & 30 | result._async$_state & 1; + result._resultOrListeners = t1._resultOrListeners; _box_1.source = t1; continue; } else - P._Future__chainCoreFuture(t1, t3); + A._Future__chainCoreFuture(t1, result); return; } } - result = listeners.result; - current = H.interceptedTypeCheck(result._resultOrListeners, "$is_FutureListener"); + result = _box_0.listener.result; + current = t3._as(result._resultOrListeners); result._resultOrListeners = null; listeners = result._reverseListeners$1(current); t1 = _box_0.listenerHasError; - t2 = _box_0.listenerValueOrError; + t5 = _box_0.listenerValueOrError; if (!t1) { - H.assertSubtypeOfRuntimeType(t2, H.getTypeArgumentByIndex(result, 0)); - result._state = 4; - result._resultOrListeners = t2; + result.$ti._precomputed1._as(t5); + result._async$_state = 8; + result._resultOrListeners = t5; } else { - H.interceptedTypeCheck(t2, "$isAsyncError"); - result._state = 8; - result._resultOrListeners = t2; + t2._as(t5); + result._async$_state = result._async$_state & 1 | 16; + result._resultOrListeners = t5; } _box_1.source = result; t1 = result; } }, - _registerErrorHandler: function(errorHandler, zone) { - if (H.functionTypeTest(errorHandler, {func: 1, args: [P.Object, P.StackTrace]})) - return zone.registerBinaryCallback$3$1(errorHandler, null, P.Object, P.StackTrace); - if (H.functionTypeTest(errorHandler, {func: 1, args: [P.Object]})) - return zone.registerUnaryCallback$2$1(errorHandler, null, P.Object); - throw H.wrapException(P.ArgumentError$value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result")); + _registerErrorHandler(errorHandler, zone) { + if (type$.dynamic_Function_Object_StackTrace._is(errorHandler)) + return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace); + if (type$.dynamic_Function_Object._is(errorHandler)) + return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object); + throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_)); }, - _microtaskLoop: function() { - var t1, t2; - for (; t1 = $._nextCallback, t1 != null;) { + _microtaskLoop() { + var entry, next; + for (entry = $._nextCallback; entry != null; entry = $._nextCallback) { $._lastPriorityCallback = null; - t2 = t1.next; - $._nextCallback = t2; - if (t2 == null) + next = entry.next; + $._nextCallback = next; + if (next == null) $._lastCallback = null; - t1.callback.call$0(); + entry.callback.call$0(); } }, - _startMicrotaskLoop: function() { + _startMicrotaskLoop() { $._isInCallbackLoop = true; try { - P._microtaskLoop(); + A._microtaskLoop(); } finally { $._lastPriorityCallback = null; $._isInCallbackLoop = false; if ($._nextCallback != null) - $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); } }, - _scheduleAsyncCallback: function(callback) { - var newEntry = new P._AsyncCallbackEntry(H.functionTypeCheck(callback, {func: 1, ret: -1})); - if ($._nextCallback == null) { - $._lastCallback = newEntry; - $._nextCallback = newEntry; + _scheduleAsyncCallback(callback) { + var newEntry = new A._AsyncCallbackEntry(callback), + lastCallback = $._lastCallback; + if (lastCallback == null) { + $._nextCallback = $._lastCallback = newEntry; if (!$._isInCallbackLoop) - $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); - } else { - $._lastCallback.next = newEntry; - $._lastCallback = newEntry; - } + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); + } else + $._lastCallback = lastCallback.next = newEntry; }, - _schedulePriorityAsyncCallback: function(callback) { - var t1, entry, t2; - H.functionTypeCheck(callback, {func: 1, ret: -1}); - t1 = $._nextCallback; + _schedulePriorityAsyncCallback(callback) { + var entry, lastPriorityCallback, next, + t1 = $._nextCallback; if (t1 == null) { - P._scheduleAsyncCallback(callback); + A._scheduleAsyncCallback(callback); $._lastPriorityCallback = $._lastCallback; return; } - entry = new P._AsyncCallbackEntry(callback); - t2 = $._lastPriorityCallback; - if (t2 == null) { + entry = new A._AsyncCallbackEntry(callback); + lastPriorityCallback = $._lastPriorityCallback; + if (lastPriorityCallback == null) { entry.next = t1; - $._lastPriorityCallback = entry; - $._nextCallback = entry; + $._nextCallback = $._lastPriorityCallback = entry; } else { - entry.next = t2.next; - t2.next = entry; - $._lastPriorityCallback = entry; - if (entry.next == null) + next = lastPriorityCallback.next; + entry.next = next; + $._lastPriorityCallback = lastPriorityCallback.next = entry; + if (next == null) $._lastCallback = entry; } }, - scheduleMicrotask: function(callback) { - var currentZone, t1; - H.functionTypeCheck(callback, {func: 1, ret: -1}); - currentZone = $.Zone__current; - if (C.C__RootZone === currentZone) { - P._rootScheduleMicrotask(null, null, C.C__RootZone, callback); + scheduleMicrotask(callback) { + var t1, _null = null, + currentZone = $.Zone__current; + if (B.C__RootZone === currentZone) { + A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback); return; } - if (C.C__RootZone === currentZone.get$_scheduleMicrotask().zone) - t1 = C.C__RootZone.get$errorZone() === currentZone.get$errorZone(); + if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone) + t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone(); else t1 = false; if (t1) { - P._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback$1$1(callback, -1)); + A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void)); return; } t1 = $.Zone__current; t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback)); }, - StreamIterator_StreamIterator: function(stream, $T) { - return new P._StreamIterator(H.assertSubtype(stream, "$isStream", [$T], "$asStream"), [$T]); + StreamIterator_StreamIterator(stream, $T) { + A.checkNotNullable(stream, "stream", type$.Object); + return new A._StreamIterator($T._eval$1("_StreamIterator<0>")); }, - StreamController_StreamController: function(onCancel, onListen, sync, $T) { - H.functionTypeCheck(onListen, {func: 1, ret: -1}); - H.functionTypeCheck(onCancel, {func: 1}); - return new P._SyncStreamController(0, onListen, null, null, onCancel, [$T]); + StreamController_StreamController(onCancel, onListen, sync, $T) { + return new A._SyncStreamController(onListen, null, null, onCancel, $T._eval$1("_SyncStreamController<0>")); }, - _runGuarded: function(notificationHandler) { + _runGuarded(notificationHandler) { var e, s, exception; - H.functionTypeCheck(notificationHandler, {func: 1}); if (notificationHandler == null) return; try { notificationHandler.call$0(); } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); $.Zone__current.handleUncaughtError$2(e, s); } }, - _nullDataHandler: function(value) { + _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) { + var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData; + return zone.registerUnaryCallback$2$1(t1, type$.void, $T); }, - _nullErrorHandler: function(error, stackTrace) { - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); + _BufferingStreamSubscription__registerErrorHandler(zone, handleError) { + if (handleError == null) + handleError = A.async___nullErrorHandler$closure(); + if (type$.void_Function_Object_StackTrace._is(handleError)) + return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + if (type$.void_Function_Object._is(handleError)) + return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); + throw A.wrapException(A.ArgumentError$(string$.handle, null)); + }, + _nullDataHandler(value) { + }, + _nullErrorHandler(error, stackTrace) { + type$.Object._as(error); + type$.StackTrace._as(stackTrace); $.Zone__current.handleUncaughtError$2(error, stackTrace); }, - _nullDoneHandler: function() { + _nullDoneHandler() { }, - Timer_Timer$periodic: function(duration, callback) { - var t1, boundCallback; - H.functionTypeCheck(callback, {func: 1, ret: -1, args: [P.Timer]}); - t1 = $.Zone__current; - if (t1 === C.C__RootZone) + Timer_Timer$periodic(duration, callback) { + var boundCallback, + t1 = $.Zone__current; + if (t1 === B.C__RootZone) return t1.createPeriodicTimer$2(duration, callback); - boundCallback = t1.bindUnaryCallbackGuarded$1$1(callback, P.Timer); + boundCallback = t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer); return $.Zone__current.createPeriodicTimer$2(duration, boundCallback); }, - _ZoneSpecification$: function(createPeriodicTimer, createTimer, errorCallback, fork, handleUncaughtError, $print, registerBinaryCallback, registerCallback, registerUnaryCallback, run, runBinary, runUnary, scheduleMicrotask) { - return new P._ZoneSpecification(handleUncaughtError, run, runUnary, runBinary, registerCallback, registerUnaryCallback, registerBinaryCallback, errorCallback, scheduleMicrotask, createTimer, createPeriodicTimer, $print, fork); + ZoneSpecification_ZoneSpecification$from(other, handleUncaughtError) { + var t1 = handleUncaughtError == null ? other.handleUncaughtError : handleUncaughtError; + return new A._ZoneSpecification(t1, other.run, other.runUnary, other.runBinary, other.registerCallback, other.registerUnaryCallback, other.registerBinaryCallback, other.errorCallback, other.scheduleMicrotask, other.createTimer, other.createPeriodicTimer, other.print, other.fork); }, - _parentDelegate: function(zone) { - if (zone.get$parent(zone) == null) - return; - return zone.get$parent(zone).get$_delegate(); + _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) { + A._rootHandleError(error, type$.StackTrace._as(stackTrace)); }, - _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { - var t1 = {}; - t1.error = error; - P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(t1, H.interceptedTypeCheck(stackTrace, "$isStackTrace"))); + _rootHandleError(error, stackTrace) { + A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace)); }, - _rootRun: function($self, $parent, zone, f, $R) { + _rootRun($self, $parent, zone, f, $R) { var old, t1; - H.interceptedTypeCheck($self, "$isZone"); - H.interceptedTypeCheck($parent, "$isZoneDelegate"); - H.interceptedTypeCheck(zone, "$isZone"); - H.functionTypeCheck(f, {func: 1, ret: $R}); + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("0()")._as(f); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$0(); $.Zone__current = zone; old = t1; @@ -2972,15 +3565,15 @@ $.Zone__current = old; } }, - _rootRunUnary: function($self, $parent, zone, f, arg, $R, $T) { + _rootRunUnary($self, $parent, zone, f, arg, $R, $T) { var old, t1; - H.interceptedTypeCheck($self, "$isZone"); - H.interceptedTypeCheck($parent, "$isZoneDelegate"); - H.interceptedTypeCheck(zone, "$isZone"); - H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}); - H.assertSubtypeOfRuntimeType(arg, $T); + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$1(arg); $.Zone__current = zone; old = t1; @@ -2991,16 +3584,16 @@ $.Zone__current = old; } }, - _rootRunBinary: function($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { + _rootRunBinary($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { var old, t1; - H.interceptedTypeCheck($self, "$isZone"); - H.interceptedTypeCheck($parent, "$isZoneDelegate"); - H.interceptedTypeCheck(zone, "$isZone"); - H.functionTypeCheck(f, {func: 1, ret: $R, args: [T1, T2]}); - H.assertSubtypeOfRuntimeType(arg1, T1); - H.assertSubtypeOfRuntimeType(arg2, T2); + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$2(arg1, arg2); $.Zone__current = zone; old = t1; @@ -3011,130 +3604,77 @@ $.Zone__current = old; } }, - _rootRegisterCallback: function($self, $parent, zone, f, $R) { - return H.functionTypeCheck(f, {func: 1, ret: $R}); + _rootRegisterCallback($self, $parent, zone, f, $R) { + return $R._eval$1("0()")._as(f); }, - _rootRegisterUnaryCallback: function($self, $parent, zone, f, $R, $T) { - return H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}); + _rootRegisterUnaryCallback($self, $parent, zone, f, $R, $T) { + return $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); }, - _rootRegisterBinaryCallback: function($self, $parent, zone, f, $R, T1, T2) { - return H.functionTypeCheck(f, {func: 1, ret: $R, args: [T1, T2]}); + _rootRegisterBinaryCallback($self, $parent, zone, f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); }, - _rootErrorCallback: function($self, $parent, zone, error, stackTrace) { - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - return; + _rootErrorCallback($self, $parent, zone, error, stackTrace) { + type$.nullable_StackTrace._as(stackTrace); + return null; }, - _rootScheduleMicrotask: function($self, $parent, zone, f) { - var t1; - H.functionTypeCheck(f, {func: 1, ret: -1}); - t1 = C.C__RootZone !== zone; - if (t1) - f = !(!t1 || C.C__RootZone.get$errorZone() === zone.get$errorZone()) ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, -1); - P._scheduleAsyncCallback(f); + _rootScheduleMicrotask($self, $parent, zone, f) { + var t1, t2; + type$.void_Function._as(f); + if (B.C__RootZone !== zone) { + t1 = B.C__RootZone.get$errorZone(); + t2 = zone.get$errorZone(); + f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void); + } + A._scheduleAsyncCallback(f); }, - _rootCreateTimer: function($self, $parent, zone, duration, callback) { - H.interceptedTypeCheck(duration, "$isDuration"); - callback = zone.bindCallback$1$1(H.functionTypeCheck(callback, {func: 1, ret: -1}), -1); - return P.Timer__createTimer(duration, callback); + _rootCreateTimer($self, $parent, zone, duration, callback) { + type$.Duration._as(duration); + type$.void_Function._as(callback); + return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback); }, - _rootCreatePeriodicTimer: function($self, $parent, zone, duration, callback) { - H.interceptedTypeCheck(duration, "$isDuration"); - callback = zone.bindUnaryCallback$2$1(H.functionTypeCheck(callback, {func: 1, ret: -1, args: [P.Timer]}), null, P.Timer); - return P.Timer__createPeriodicTimer(duration, callback); + _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) { + type$.Duration._as(duration); + type$.void_Function_Timer._as(callback); + return A.Timer__createPeriodicTimer(duration, B.C__RootZone !== zone ? zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer) : callback); }, - _rootPrint: function($self, $parent, zone, line) { - H.printString(H.stringTypeCheck(line)); + _rootPrint($self, $parent, zone, line) { + A.printString(A._asString(line)); }, - _printToZone: function(line) { + _printToZone(line) { $.Zone__current.print$1(0, line); }, - _rootFork: function($self, $parent, zone, specification, zoneValues) { - var valueMap, t1, t2; - H.interceptedTypeCheck(specification, "$isZoneSpecification"); - H.interceptedTypeCheck(zoneValues, "$isMap"); - $.printToZone = P.async___printToZone$closure(); - if (specification == null) - specification = C._ZoneSpecification_ALf; + _rootFork($self, $parent, zone, specification, zoneValues) { + var valueMap, t1, handleUncaughtError; + type$.nullable_ZoneSpecification._as(specification); + type$.nullable_Map_of_nullable_Object_and_nullable_Object._as(zoneValues); + $.printToZone = A.async___printToZone$closure(); valueMap = zone.get$_async$_map(); - t1 = new P._CustomZone(zone, valueMap); - t2 = zone.get$_run(); - t1.set$_run(t2); - t2 = zone.get$_runUnary(); - t1.set$_runUnary(t2); - t2 = zone.get$_runBinary(); - t1.set$_runBinary(t2); - t2 = zone.get$_registerCallback(); - t1.set$_registerCallback(t2); - t2 = zone.get$_registerUnaryCallback(); - t1.set$_registerUnaryCallback(t2); - t2 = zone.get$_registerBinaryCallback(); - t1.set$_registerBinaryCallback(t2); - t2 = zone.get$_errorCallback(); - t1.set$_errorCallback(t2); - t2 = zone.get$_scheduleMicrotask(); - t1.set$_scheduleMicrotask(t2); - t2 = zone.get$_createTimer(); - t1.set$_createTimer(t2); - t2 = zone.get$_createPeriodicTimer(); - t1.set$_createPeriodicTimer(t2); - t2 = zone.get$_print(); - t1.set$_print(t2); - t2 = zone.get$_fork(); - t1.set$_fork(t2); - t2 = specification.handleUncaughtError; - t1.set$_handleUncaughtError(t2 != null ? new P._ZoneFunction(t1, t2, [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}]) : zone.get$_handleUncaughtError()); + valueMap = valueMap; + t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap); + handleUncaughtError = specification.handleUncaughtError; + if (handleUncaughtError != null) + t1.set$_handleUncaughtError(new A._ZoneFunction(t1, handleUncaughtError, type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace)); return t1; }, - runZoned: function(body, onError, $R) { - var zoneSpecification, zoneValues, e, stackTrace, t1, errorHandler, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception; - t1 = {}; - zoneSpecification = null; - zoneValues = null; - H.functionTypeCheck(body, {func: 1, ret: $R}); - t1.unaryOnError = null; - t1.binaryOnError = null; - if (H.functionTypeTest(onError, {func: 1, ret: -1, args: [P.Object, P.StackTrace]})) - t1.binaryOnError = onError; - else if (H.functionTypeTest(onError, {func: 1, ret: -1, args: [P.Object]})) - t1.unaryOnError = onError; - else - throw H.wrapException(P.ArgumentError$("onError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.")); - errorHandler = new P.runZoned_closure(t1); + runZonedGuarded(body, onError, $R) { + var error, stackTrace, parentZone, errorHandler, t1, exception, _null = null, zoneSpecification = null, zoneValues = null; + A.checkNotNullable(body, "body", $R._eval$1("0()")); + A.checkNotNullable(onError, "onError", type$.void_Function_Object_StackTrace); + parentZone = $.Zone__current; + errorHandler = new A.runZonedGuarded_closure(parentZone, onError); if (zoneSpecification == null) - zoneSpecification = P._ZoneSpecification$(null, null, null, null, errorHandler, null, null, null, null, null, null, null, null); - else { - t2 = zoneSpecification; - t3 = t2.run; - t4 = t2.runUnary; - t5 = t2.runBinary; - t6 = t2.registerCallback; - t7 = t2.registerUnaryCallback; - t8 = t2.registerBinaryCallback; - t9 = t2.errorCallback; - t10 = t2.scheduleMicrotask; - t11 = t2.createTimer; - t12 = t2.createPeriodicTimer; - t13 = t2.print; - t2 = t2.fork; - zoneSpecification = P._ZoneSpecification$(t12, t11, t9, t2, errorHandler, t13, t8, t6, t7, t3, t5, t4, t10); - } + zoneSpecification = new A._ZoneSpecification(errorHandler, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + else + zoneSpecification = A.ZoneSpecification_ZoneSpecification$from(zoneSpecification, errorHandler); try { - t2 = P._runZoned(body, zoneValues, zoneSpecification, $R); - return t2; + t1 = parentZone.fork$2$specification$zoneValues(zoneSpecification, zoneValues).run$1$1(body, $R); + return t1; } catch (exception) { - e = H.unwrapException(exception); - stackTrace = H.getTraceFromException(exception); - t2 = t1.binaryOnError; - if (t2 != null) - t2.call$2(e, stackTrace); - else - t1.unaryOnError.call$1(e); + error = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + onError.call$2(error, stackTrace); } - return; - }, - _runZoned: function(body, zoneValues, specification, $R) { - H.functionTypeCheck(body, {func: 1, ret: $R}); - return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(body, $R); + return _null; }, _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) { this._box_0 = t0; @@ -3164,19 +3704,10 @@ _.start = t2; _.callback = t3; }, - _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1, t2) { - this._completer = t0; - this.isSync = t1; - this.$ti = t2; - }, - _AsyncAwaitCompleter_complete_closure: function _AsyncAwaitCompleter_complete_closure(t0, t1) { - this.$this = t0; - this.value = t1; - }, - _AsyncAwaitCompleter_completeError_closure: function _AsyncAwaitCompleter_completeError_closure(t0, t1, t2) { - this.$this = t0; - this.e = t1; - this.st = t2; + _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) { + this._future = t0; + this.isSync = false; + this.$ti = t1; }, _awaitOnObject_closure: function _awaitOnObject_closure(t0) { this.bodyFunction = t0; @@ -3187,7 +3718,9 @@ _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) { this.$protected = t0; }, - Future: function Future() { + AsyncError: function AsyncError(t0, t1) { + this.error = t0; + this.stackTrace = t1; }, _Completer: function _Completer() { }, @@ -3208,12 +3741,12 @@ _.errorCallback = t3; _.$ti = t4; }, - _Future: function _Future(t0, t1, t2) { + _Future: function _Future(t0, t1) { var _ = this; - _._state = t0; - _._zone = t1; + _._async$_state = 0; + _._zone = t0; _._resultOrListeners = null; - _.$ti = t2; + _.$ti = t1; }, _Future__addListener_closure: function _Future__addListener_closure(t0, t1) { this.$this = t0; @@ -3224,17 +3757,17 @@ this.$this = t1; }, _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) { - this.target = t0; + this.$this = t0; }, _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) { - this.target = t0; + this.$this = t0; }, _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) { - this.target = t0; + this.$this = t0; this.e = t1; this.s = t2; }, - _Future__asyncComplete_closure: function _Future__asyncComplete_closure(t0, t1) { + _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { this.$this = t0; this.value = t1; }, @@ -3247,25 +3780,21 @@ this.error = t1; this.stackTrace = t2; }, - _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2, t3) { - var _ = this; - _._box_1 = t0; - _._box_0 = t1; - _.listener = t2; - _.hasError = t3; + _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) { + this._box_0 = t0; + this._box_1 = t1; + this.hasError = t2; }, _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) { this.originalSource = t0; }, - _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1, t2) { + _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) { this._box_0 = t0; - this.listener = t1; - this.sourceResult = t2; + this.sourceResult = t1; }, - _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1, t2) { + _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) { this._box_1 = t0; this._box_0 = t1; - this.listener = t2; }, _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) { this.callback = t0; @@ -3284,8 +3813,6 @@ this._box_0 = t0; this.future = t1; }, - StreamSubscription: function StreamSubscription() { - }, StreamTransformerBase: function StreamTransformerBase() { }, _StreamController: function _StreamController() { @@ -3298,32 +3825,34 @@ }, _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() { }, - _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4, t5) { + _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) { var _ = this; _._varData = null; - _._state = t0; + _._async$_state = 0; _._doneFuture = null; - _.onListen = t1; - _.onPause = t2; - _.onResume = t3; - _.onCancel = t4; - _.$ti = t5; + _.onListen = t0; + _.onPause = t1; + _.onResume = t2; + _.onCancel = t3; + _.$ti = t4; }, _ControllerStream: function _ControllerStream(t0, t1) { this._controller = t0; this.$ti = t1; }, - _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3) { + _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._controller = t0; - _._onDone = _._onError = _._async$_onData = null; - _._zone = t1; - _._state = t2; + _._onData = t1; + _._onError = t2; + _._onDone = t3; + _._zone = t4; + _._async$_state = t5; _._pending = _._cancelFuture = null; - _.$ti = t3; + _.$ti = t6; }, _StreamSinkWrapper: function _StreamSinkWrapper(t0, t1) { - this._async$_target = t0; + this._target = t0; this.$ti = t1; }, _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) { @@ -3355,48 +3884,34 @@ }, _DelayedDone: function _DelayedDone() { }, - _PendingEvents: function _PendingEvents() { + _PendingEvents: function _PendingEvents(t0) { + var _ = this; + _._async$_state = 0; + _.lastPendingEvent = _.firstPendingEvent = null; + _.$ti = t0; }, _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { this.$this = t0; this.dispatch = t1; }, - _StreamImplEvents: function _StreamImplEvents(t0, t1) { - var _ = this; - _.lastPendingEvent = _.firstPendingEvent = null; - _._state = t0; - _.$ti = t1; - }, _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { var _ = this; _._zone = t0; - _._state = 0; + _._async$_state = 0; _._onDone = t1; _.$ti = t2; }, - _StreamIterator: function _StreamIterator(t0, t1) { - var _ = this; - _._subscription = null; - _._stateData = t0; - _._isPaused = false; - _.$ti = t1; + _StreamIterator: function _StreamIterator(t0) { + this.$ti = t0; }, _EmptyStream: function _EmptyStream(t0) { this.$ti = t0; }, - Timer: function Timer() { - }, - AsyncError: function AsyncError(t0, t1) { - this.error = t0; - this.stackTrace = t1; - }, _ZoneFunction: function _ZoneFunction(t0, t1, t2) { this.zone = t0; this.$function = t1; this.$ti = t2; }, - ZoneSpecification: function ZoneSpecification() { - }, _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.handleUncaughtError = t0; @@ -3413,20 +3928,29 @@ _.print = t11; _.fork = t12; }, - ZoneDelegate: function ZoneDelegate() { - }, - Zone: function Zone() { - }, _ZoneDelegate: function _ZoneDelegate(t0) { this._delegationTarget = t0; }, _Zone: function _Zone() { }, - _CustomZone: function _CustomZone(t0, t1) { + _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; - _._delegateCache = _._handleUncaughtError = _._fork = _._print = _._createPeriodicTimer = _._createTimer = _._scheduleMicrotask = _._errorCallback = _._registerBinaryCallback = _._registerUnaryCallback = _._registerCallback = _._runBinary = _._runUnary = _._run = null; - _.parent = t0; - _._async$_map = t1; + _._run = t0; + _._runUnary = t1; + _._runBinary = t2; + _._registerCallback = t3; + _._registerUnaryCallback = t4; + _._registerBinaryCallback = t5; + _._errorCallback = t6; + _._scheduleMicrotask = t7; + _._createTimer = t8; + _._createPeriodicTimer = t9; + _._print = t10; + _._fork = t11; + _._handleUncaughtError = t12; + _._delegateCache = null; + _.parent = t13; + _._async$_map = t14; }, _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) { this.$this = t0; @@ -3449,8 +3973,8 @@ this.registered = t1; this.T = t2; }, - _rootHandleUncaughtError_closure: function _rootHandleUncaughtError_closure(t0, t1) { - this._box_0 = t0; + _rootHandleError_closure: function _rootHandleError_closure(t0, t1) { + this.error = t0; this.stackTrace = t1; }, _RootZone: function _RootZone() { @@ -3460,6 +3984,13 @@ this.f = t1; this.R = t2; }, + _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.f = t1; + _.T = t2; + _.R = t3; + }, _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) { this.$this = t0; this.f = t1; @@ -3469,106 +4000,99 @@ this.f = t1; this.T = t2; }, - runZoned_closure: function runZoned_closure(t0) { - this._box_0 = t0; + runZonedGuarded_closure: function runZonedGuarded_closure(t0, t1) { + this.parentZone = t0; + this.onError = t1; }, - HashMap_HashMap: function($K, $V) { - return new P._HashMap([$K, $V]); + HashMap_HashMap($K, $V) { + return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); }, - _HashMap__getTableEntry: function(table, key) { + _HashMap__getTableEntry(table, key) { var entry = table[key]; return entry === table ? null : entry; }, - _HashMap__setTableEntry: function(table, key, value) { + _HashMap__setTableEntry(table, key, value) { if (value == null) table[key] = table; else table[key] = value; }, - _HashMap__newHashTable: function() { + _HashMap__newHashTable() { var table = Object.create(null); - P._HashMap__setTableEntry(table, "", table); + A._HashMap__setTableEntry(table, "", table); delete table[""]; return table; }, - LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { - H.listTypeCheck(keyValuePairs); - return H.assertSubtype(H.fillLiteralMap(keyValuePairs, new H.JsLinkedHashMap([$K, $V])), "$isLinkedHashMap", [$K, $V], "$asLinkedHashMap"); + LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) { + return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); }, - LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { - return new H.JsLinkedHashMap([$K, $V]); + LinkedHashMap_LinkedHashMap$_empty($K, $V) { + return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); }, - LinkedHashMap__makeEmpty: function() { - return new H.JsLinkedHashMap([null, null]); + LinkedHashSet_LinkedHashSet$_empty($E) { + return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); }, - LinkedHashSet_LinkedHashSet: function($E) { - return new P._LinkedHashSet([$E]); - }, - _LinkedHashSet__newHashTable: function() { + _LinkedHashSet__newHashTable() { var table = Object.create(null); table[""] = table; delete table[""]; return table; }, - IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDelimiter) { + IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { var parts, t1; - if (P._isToStringVisiting(iterable)) { + if (A._isToStringVisiting(iterable)) { if (leftDelimiter === "(" && rightDelimiter === ")") return "(...)"; return leftDelimiter + "..." + rightDelimiter; } - parts = H.setRuntimeTypeInfo([], [P.String]); - t1 = $.$get$_toStringVisiting(); - C.JSArray_methods.add$1(t1, iterable); + parts = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.add$1($._toStringVisiting, iterable); try { - P._iterablePartsToStrings(iterable, parts); + A._iterablePartsToStrings(iterable, parts); } finally { - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); + if (0 >= $._toStringVisiting.length) + return A.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); } - t1 = P.StringBuffer__writeAll(leftDelimiter, H.listSuperNativeTypeCheck(parts, "$isIterable"), ", ") + rightDelimiter; + t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) { - var buffer, t1, t2; - if (P._isToStringVisiting(iterable)) + IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { + var buffer, t1; + if (A._isToStringVisiting(iterable)) return leftDelimiter + "..." + rightDelimiter; - buffer = new P.StringBuffer(leftDelimiter); - t1 = $.$get$_toStringVisiting(); - C.JSArray_methods.add$1(t1, iterable); + buffer = new A.StringBuffer(leftDelimiter); + B.JSArray_methods.add$1($._toStringVisiting, iterable); try { - t2 = buffer; - t2._contents = P.StringBuffer__writeAll(t2._contents, iterable, ", "); + t1 = buffer; + t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); } finally { - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); + if (0 >= $._toStringVisiting.length) + return A.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); } buffer._contents += rightDelimiter; t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _isToStringVisiting: function(o) { - var i, t1; - for (i = 0; t1 = $.$get$_toStringVisiting(), i < t1.length; ++i) - if (o === t1[i]) + _isToStringVisiting(o) { + var t1, i; + for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) + if (o === $._toStringVisiting[i]) return true; return false; }, - _iterablePartsToStrings: function(iterable, parts) { - var it, $length, count, next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision; - H.assertSubtype(parts, "$isList", [P.String], "$asList"); - it = iterable.get$iterator(iterable); - $length = 0; - count = 0; + _iterablePartsToStrings(iterable, parts) { + var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision, + it = iterable.get$iterator(iterable), + $length = 0, count = 0; while (true) { if (!($length < 80 || count < 3)) break; if (!it.moveNext$0()) return; - next = H.S(it.get$current()); - C.JSArray_methods.add$1(parts, next); + next = A.S(it.get$current(it)); + B.JSArray_methods.add$1(parts, next); $length += next.length + 2; ++count; } @@ -3576,45 +4100,45 @@ if (count <= 5) return; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); ultimateString = parts.pop(); if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); penultimateString = parts.pop(); } else { - penultimate = it.get$current(); + penultimate = it.get$current(it); ++count; if (!it.moveNext$0()) { if (count <= 4) { - C.JSArray_methods.add$1(parts, H.S(penultimate)); + B.JSArray_methods.add$1(parts, A.S(penultimate)); return; } - ultimateString = H.S(penultimate); + ultimateString = A.S(penultimate); if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); penultimateString = parts.pop(); $length += ultimateString.length + 2; } else { - ultimate = it.get$current(); + ultimate = it.get$current(it); ++count; for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { - ultimate0 = it.get$current(); + ultimate0 = it.get$current(it); ++count; if (count > 100) { while (true) { if (!($length > 75 && count > 3)) break; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); $length -= parts.pop().length + 2; --count; } - C.JSArray_methods.add$1(parts, "..."); + B.JSArray_methods.add$1(parts, "..."); return; } } - penultimateString = H.S(penultimate); - ultimateString = H.S(ultimate); + penultimateString = A.S(penultimate); + ultimateString = A.S(ultimate); $length += ultimateString.length + penultimateString.length + 4; } } @@ -3627,7 +4151,7 @@ if (!($length > 80 && parts.length > 3)) break; if (0 >= parts.length) - return H.ioore(parts, -1); + return A.ioore(parts, -1); $length -= parts.pop().length + 2; if (elision == null) { $length += 5; @@ -3635,27 +4159,25 @@ } } if (elision != null) - C.JSArray_methods.add$1(parts, elision); - C.JSArray_methods.add$1(parts, penultimateString); - C.JSArray_methods.add$1(parts, ultimateString); - }, - MapBase_mapToString: function(m) { - var result, t1; - t1 = {}; - if (P._isToStringVisiting(m)) + B.JSArray_methods.add$1(parts, elision); + B.JSArray_methods.add$1(parts, penultimateString); + B.JSArray_methods.add$1(parts, ultimateString); + }, + MapBase_mapToString(m) { + var result, t1 = {}; + if (A._isToStringVisiting(m)) return "{...}"; - result = new P.StringBuffer(""); + result = new A.StringBuffer(""); try { - C.JSArray_methods.add$1($.$get$_toStringVisiting(), m); + B.JSArray_methods.add$1($._toStringVisiting, m); result._contents += "{"; t1.first = true; - m.forEach$1(0, new P.MapBase_mapToString_closure(t1, result)); + J.forEach$1$x(m, new A.MapBase_mapToString_closure(t1, result)); result._contents += "}"; } finally { - t1 = $.$get$_toStringVisiting(); - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); + if (0 >= $._toStringVisiting.length) + return A.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; @@ -3663,17 +4185,23 @@ _HashMap: function _HashMap(t0) { var _ = this; _._collection$_length = 0; - _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _IdentityHashMap: function _IdentityHashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; _.$ti = t0; }, _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) { - this._map = t0; + this._collection$_map = t0; this.$ti = t1; }, _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) { var _ = this; - _._map = t0; - _._collection$_keys = t1; + _._collection$_map = t0; + _._keys = t1; _._offset = 0; _._collection$_current = null; _.$ti = t2; @@ -3715,133 +4243,137 @@ MapView: function MapView() { }, UnmodifiableMapView: function UnmodifiableMapView(t0, t1) { - this._map = t0; + this._collection$_map = t0; this.$ti = t1; }, + SetMixin: function SetMixin() { + }, _SetBase: function _SetBase() { }, _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() { }, _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { }, - _parseJson: function(source, reviver) { - var parsed, e, exception, t1; - if (typeof source !== "string") - throw H.wrapException(H.argumentErrorValue(source)); - parsed = null; + __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { + }, + _parseJson(source, reviver) { + var e, exception, t1, parsed = null; try { parsed = JSON.parse(source); } catch (exception) { - e = H.unwrapException(exception); - t1 = P.FormatException$(String(e), null, null); - throw H.wrapException(t1); + e = A.unwrapException(exception); + t1 = A.FormatException$(String(e), null, null); + throw A.wrapException(t1); } - t1 = P._convertJsonToDartLazy(parsed); + t1 = A._convertJsonToDartLazy(parsed); return t1; }, - _convertJsonToDartLazy: function(object) { + _convertJsonToDartLazy(object) { var i; if (object == null) - return; + return null; if (typeof object != "object") return object; if (Object.getPrototypeOf(object) !== Array.prototype) - return new P._JsonMap(object, Object.create(null)); + return new A._JsonMap(object, Object.create(null)); for (i = 0; i < object.length; ++i) - object[i] = P._convertJsonToDartLazy(object[i]); + object[i] = A._convertJsonToDartLazy(object[i]); return object; }, - Utf8Decoder__convertIntercepted: function(allowMalformed, codeUnits, start, end) { - H.assertSubtype(codeUnits, "$isList", [P.int], "$asList"); - if (codeUnits instanceof Uint8Array) - return P.Utf8Decoder__convertInterceptedUint8List(false, codeUnits, start, end); - return; + Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) { + var casted, result; + if (codeUnits instanceof Uint8Array) { + casted = codeUnits; + end = casted.length; + if (end - start < 15) + return null; + result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && allowMalformed) + if (result.indexOf("\ufffd") >= 0) + return null; + return result; + } + return null; }, - Utf8Decoder__convertInterceptedUint8List: function(allowMalformed, codeUnits, start, end) { - var decoder, t1, $length; - decoder = $.$get$Utf8Decoder__decoder(); + Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { + var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder(); if (decoder == null) - return; - t1 = 0 === start; - if (t1 && true) - return P.Utf8Decoder__useTextDecoderChecked(decoder, codeUnits); - $length = codeUnits.length; - end = P.RangeError_checkValidRange(start, end, $length); - if (t1 && end === $length) - return P.Utf8Decoder__useTextDecoderChecked(decoder, codeUnits); - return P.Utf8Decoder__useTextDecoderChecked(decoder, codeUnits.subarray(start, end)); - }, - Utf8Decoder__useTextDecoderChecked: function(decoder, codeUnits) { - if (P.Utf8Decoder__unsafe(codeUnits)) - return; - return P.Utf8Decoder__useTextDecoderUnchecked(decoder, codeUnits); + return null; + if (0 === start && end === codeUnits.length) + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits); + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length))); }, - Utf8Decoder__useTextDecoderUnchecked: function(decoder, codeUnits) { + Utf8Decoder__useTextDecoder(decoder, codeUnits) { var t1, exception; try { t1 = decoder.decode(codeUnits); return t1; } catch (exception) { - H.unwrapException(exception); - } - return; - }, - Utf8Decoder__unsafe: function(codeUnits) { - var limit, i; - limit = codeUnits.length - 2; - for (i = 0; i < limit; ++i) - if (codeUnits[i] === 237) - if ((codeUnits[i + 1] & 224) === 160) - return true; - return false; - }, - Utf8Decoder__makeDecoder: function() { - var t1, exception; - try { - t1 = new TextDecoder("utf-8", {fatal: true}); - return t1; - } catch (exception) { - H.unwrapException(exception); } - return; + return null; }, - _scanOneByteCharacters: function(units, from, endIndex) { - var t1, i, unit; - H.assertSubtype(units, "$isList", [P.int], "$asList"); - for (t1 = J.getInterceptor$asx(units), i = from; i < endIndex; ++i) { - unit = t1.$index(units, i); - if (typeof unit !== "number") - return unit.$and(); - if ((unit & 127) !== unit) - return i - from; - } - return endIndex - from; - }, - Base64Codec__checkPadding: function(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { - if (C.JSInt_methods.$mod($length, 4) !== 0) - throw H.wrapException(P.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); + Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { + if (B.JSInt_methods.$mod($length, 4) !== 0) + throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); if (firstPadding + paddingCount !== $length) - throw H.wrapException(P.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); if (paddingCount > 2) - throw H.wrapException(P.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); }, - JsonUnsupportedObjectError$: function(unsupportedObject, cause, partialResult) { - return new P.JsonUnsupportedObjectError(unsupportedObject, cause); + JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) { + return new A.JsonUnsupportedObjectError(unsupportedObject, cause); }, - _defaultToEncodable: function(object) { + _defaultToEncodable(object) { return object.toJson$0(); }, - _JsonStringStringifier_stringify: function(object, toEncodable, indent) { - var output, t1; - output = new P.StringBuffer(""); - P._JsonStringStringifier_printOn(object, output, toEncodable, indent); + _JsonStringStringifier$(_sink, _toEncodable) { + return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure()); + }, + _JsonStringStringifier_stringify(object, toEncodable, indent) { + var t1, + output = new A.StringBuffer(""); + A._JsonStringStringifier_printOn(object, output, toEncodable, indent); t1 = output._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _JsonStringStringifier_printOn: function(object, output, toEncodable, indent) { - var stringifier = new P._JsonStringStringifier(output, [], P.convert___defaultToEncodable$closure()); + _JsonStringStringifier_printOn(object, output, toEncodable, indent) { + var stringifier = A._JsonStringStringifier$(output, toEncodable); stringifier.writeObject$1(object); }, + _Utf8Decoder_errorDescription(state) { + switch (state) { + case 65: + return "Missing extension byte"; + case 67: + return "Unexpected extension byte"; + case 69: + return "Invalid UTF-8 byte"; + case 71: + return "Overlong encoding"; + case 73: + return "Out of unicode range"; + case 75: + return "Encoded surrogate"; + case 77: + return "Unfinished UTF-8 octet sequence"; + default: + return ""; + } + }, + _Utf8Decoder__makeUint8List(codeUnits, start, end) { + var t1, i, b, + $length = end - start, + bytes = new Uint8Array($length); + for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { + b = t1.$index(codeUnits, start + i); + if ((b & 4294967040) >>> 0 !== 0) + b = 255; + if (!(i < $length)) + return A.ioore(bytes, i); + bytes[i] = b; + } + return bytes; + }, _JsonMap: function _JsonMap(t0, t1) { this._original = t0; this._processed = t1; @@ -3850,19 +4382,20 @@ _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { this._convert$_parent = t0; }, - AsciiCodec: function AsciiCodec(t0) { - this._allowInvalid = t0; + Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() { + }, + Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() { + }, + AsciiCodec: function AsciiCodec() { }, _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() { }, AsciiEncoder: function AsciiEncoder(t0) { this._subsetMask = t0; }, - Base64Codec: function Base64Codec(t0) { - this._encoder = t0; + Base64Codec: function Base64Codec() { }, - Base64Encoder: function Base64Encoder(t0) { - this._urlSafe = t0; + Base64Encoder: function Base64Encoder() { }, Codec: function Codec() { }, @@ -3883,13 +4416,10 @@ this.unsupportedObject = t0; this.cause = t1; }, - JsonCodec: function JsonCodec(t0, t1) { - this._reviver = t0; - this._toEncodable = t1; + JsonCodec: function JsonCodec() { }, - JsonEncoder: function JsonEncoder(t0, t1) { - this.indent = t0; - this._toEncodable = t1; + JsonEncoder: function JsonEncoder(t0) { + this._toEncodable = t0; }, JsonDecoder: function JsonDecoder(t0) { this._reviver = t0; @@ -3901,12 +4431,11 @@ this.keyValueList = t1; }, _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) { - this._convert$_sink = t0; + this._sink = t0; this._seen = t1; this._toEncodable = t2; }, - Utf8Codec: function Utf8Codec(t0) { - this._allowMalformed = t0; + Utf8Codec: function Utf8Codec() { }, Utf8Encoder: function Utf8Encoder() { }, @@ -3917,160 +4446,170 @@ Utf8Decoder: function Utf8Decoder(t0) { this._allowMalformed = t0; }, - _Utf8Decoder: function _Utf8Decoder(t0, t1) { - var _ = this; - _._allowMalformed = t0; - _._stringSink = t1; - _._isFirstCharacter = true; - _._extraUnits = _._expectedUnits = _._value = 0; - }, - _Utf8Decoder_convert_addSingleBytes: function _Utf8Decoder_convert_addSingleBytes(t0, t1, t2, t3) { - var _ = this; - _.$this = t0; - _.startIndex = t1; - _.endIndex = t2; - _.codeUnits = t3; + _Utf8Decoder: function _Utf8Decoder(t0) { + this.allowMalformed = t0; + this._state = 16; + this._charOrIndex = 0; }, - int_parse: function(source, onError, radix) { - var value; - H.functionTypeCheck(onError, {func: 1, ret: P.int, args: [P.String]}); - value = H.Primitives_parseInt(source, radix); + int_parse(source, radix) { + var value = A.Primitives_parseInt(source, radix); if (value != null) return value; - if (onError != null) - return onError.call$1(source); - throw H.wrapException(P.FormatException$(source, null, null)); + throw A.wrapException(A.FormatException$(source, null, null)); }, - Error__objectToString: function(object) { - if (object instanceof H.Closure) + Error__objectToString(object) { + if (object instanceof A.Closure) return object.toString$0(0); - return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; + return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; }, - List_List$filled: function($length, fill, $E) { - var result, i; - H.assertSubtypeOfRuntimeType(fill, $E); - result = J.JSArray_JSArray$fixed($length, $E); - if ($length !== 0 && true) + Error__throw(error, stackTrace) { + error = A.wrapException(error); + if (error == null) + error = type$.Object._as(error); + error.stack = stackTrace.toString$0(0); + throw error; + throw A.wrapException("unreachable"); + }, + DateTime$fromMillisecondsSinceEpoch(millisecondsSinceEpoch, isUtc) { + var t1; + if (Math.abs(millisecondsSinceEpoch) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch, null)); + A.checkNotNullable(true, "isUtc", type$.bool); + return new A.DateTime(millisecondsSinceEpoch, true); + }, + List_List$filled($length, fill, growable, $E) { + var i, + result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E); + if ($length !== 0 && fill != null) for (i = 0; i < result.length; ++i) - C.JSArray_methods.$indexSet(result, i, fill); - return H.assertSubtype(result, "$isList", [$E], "$asList"); - }, - List_List$from: function(elements, growable, $E) { - var t1, list, t2; - t1 = [$E]; - list = H.setRuntimeTypeInfo([], t1); - for (t2 = J.get$iterator$ax(elements); t2.moveNext$0();) - C.JSArray_methods.add$1(list, H.assertSubtypeOfRuntimeType(t2.get$current(), $E)); + result[i] = fill; + return result; + }, + List_List$from(elements, growable, $E) { + var t1, + list = A._setArrayType([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + B.JSArray_methods.add$1(list, $E._as(t1.get$current(t1))); if (growable) return list; - return H.assertSubtype(J.JSArray_markFixedList(list), "$isList", t1, "$asList"); - }, - List_List$unmodifiable: function(elements, $E) { - var t1 = [$E]; - return H.assertSubtype(J.JSArray_markUnmodifiableList(H.assertSubtype(P.List_List$from(elements, false, $E), "$isList", t1, "$asList")), "$isList", t1, "$asList"); - }, - String_String$fromCharCodes: function(charCodes, start, end) { - var t1, len; - t1 = P.int; - H.assertSubtype(charCodes, "$isIterable", [t1], "$asIterable"); - if (typeof charCodes === "object" && charCodes !== null && charCodes.constructor === Array) { - H.assertSubtype(charCodes, "$isJSArray", [t1], "$asJSArray"); - len = charCodes.length; - end = P.RangeError_checkValidRange(start, end, len); - return H.Primitives_stringFromCharCodes(start > 0 || end < len ? C.JSArray_methods.sublist$2(charCodes, start, end) : charCodes); - } - if (!!J.getInterceptor$(charCodes).$isNativeUint8List) - return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeError_checkValidRange(start, end, charCodes.length)); - return P.String__stringFromIterable(charCodes, start, end); - }, - String_String$fromCharCode: function(charCode) { - return H.Primitives_stringFromCharCode(charCode); - }, - String__stringFromIterable: function(charCodes, start, end) { - var t1, it, i, list; - H.assertSubtype(charCodes, "$isIterable", [P.int], "$asIterable"); + return J.JSArray_markFixedList(list, $E); + }, + List_List$of(elements, growable, $E) { + var t1 = A.List_List$_of(elements, $E); + return t1; + }, + List_List$_of(elements, $E) { + var list, t1; + if (Array.isArray(elements)) + return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>")); + list = A._setArrayType([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + B.JSArray_methods.add$1(list, t1.get$current(t1)); + return list; + }, + List_List$unmodifiable(elements, $E) { + return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E)); + }, + String_String$fromCharCodes(charCodes, start, end) { + var array, len; + if (Array.isArray(charCodes)) { + array = charCodes; + len = array.length; + end = A.RangeError_checkValidRange(start, end, len); + return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array); + } + if (type$.NativeUint8List._is(charCodes)) + return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length)); + return A.String__stringFromIterable(charCodes, start, end); + }, + String_String$fromCharCode(charCode) { + return A.Primitives_stringFromCharCode(charCode); + }, + String__stringFromIterable(charCodes, start, end) { + var t1, it, i, list, _null = null; if (start < 0) - throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(charCodes), null, null)); + throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); t1 = end == null; if (!t1 && end < start) - throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(charCodes), null, null)); + throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); it = J.get$iterator$ax(charCodes); for (i = 0; i < start; ++i) if (!it.moveNext$0()) - throw H.wrapException(P.RangeError$range(start, 0, i, null, null)); + throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null)); list = []; if (t1) for (; it.moveNext$0();) - list.push(it.get$current()); + list.push(it.get$current(it)); else for (i = start; i < end; ++i) { if (!it.moveNext$0()) - throw H.wrapException(P.RangeError$range(end, start, i, null, null)); - list.push(it.get$current()); + throw A.wrapException(A.RangeError$range(end, start, i, _null, _null)); + list.push(it.get$current(it)); } - return H.Primitives_stringFromCharCodes(list); + return A.Primitives_stringFromCharCodes(list); }, - RegExp_RegExp: function(source, multiLine) { - return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, multiLine, true, false)); + RegExp_RegExp(source, multiLine) { + return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false)); }, - StringBuffer__writeAll: function(string, objects, separator) { + StringBuffer__writeAll(string, objects, separator) { var iterator = J.get$iterator$ax(objects); if (!iterator.moveNext$0()) return string; if (separator.length === 0) { do - string += H.S(iterator.get$current()); + string += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { - string += H.S(iterator.get$current()); + string += A.S(iterator.get$current(iterator)); for (; iterator.moveNext$0();) - string = string + separator + H.S(iterator.get$current()); + string = string + separator + A.S(iterator.get$current(iterator)); } return string; }, - NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments) { - return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, null); + NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) { + return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments); }, - Uri_base: function() { - var uri = H.Primitives_currentUri(); + Uri_base() { + var uri = A.Primitives_currentUri(); if (uri != null) - return P.Uri_parse(uri); - throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported")); + return A.Uri_parse(uri); + throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); }, - _Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) { - var t1, bytes, i, t2, byte, t3; - H.assertSubtype(canonicalTable, "$isList", [P.int], "$asList"); - if (encoding === C.Utf8Codec_false) { + _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) { + var t1, bytes, i, t2, byte, t3, + _s16_ = "0123456789ABCDEF"; + if (encoding === B.C_Utf8Codec) { t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp; - if (typeof text !== "string") - H.throwExpression(H.argumentErrorValue(text)); t1 = t1.test(text); } else t1 = false; if (t1) return text; - H.assertSubtypeOfRuntimeType(text, H.getRuntimeTypeArgument(encoding, "Codec", 0)); + A._instanceType(encoding)._eval$1("Codec.S")._as(text); bytes = encoding.get$encoder().convert$1(text); for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { byte = bytes[i]; if (byte < 128) { t3 = byte >>> 4; - if (t3 >= 8) - return H.ioore(canonicalTable, t3); + if (!(t3 < 8)) + return A.ioore(canonicalTable, t3); t3 = (canonicalTable[t3] & 1 << (byte & 15)) !== 0; } else t3 = false; if (t3) - t2 += H.Primitives_stringFromCharCode(byte); + t2 += A.Primitives_stringFromCharCode(byte); else - t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + "0123456789ABCDEF"[byte >>> 4 & 15] + "0123456789ABCDEF"[byte & 15]; + t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15]; } return t2.charCodeAt(0) == 0 ? t2 : t2; }, - DateTime__fourDigits: function(n) { - var absN, sign; - absN = Math.abs(n); - sign = n < 0 ? "-" : ""; + DateTime__fourDigits(n) { + var absN = Math.abs(n), + sign = n < 0 ? "-" : ""; if (absN >= 1000) return "" + n; if (absN >= 100) @@ -4079,176 +4618,181 @@ return sign + "00" + absN; return sign + "000" + absN; }, - DateTime__threeDigits: function(n) { + DateTime__threeDigits(n) { if (n >= 100) return "" + n; if (n >= 10) return "0" + n; return "00" + n; }, - DateTime__twoDigits: function(n) { + DateTime__twoDigits(n) { if (n >= 10) return "" + n; return "0" + n; }, - Duration$: function(seconds) { - return new P.Duration(1000000 * seconds); - }, - Error_safeToString: function(object) { - if (typeof object === "number" || typeof object === "boolean" || null == object) + Error_safeToString(object) { + if (typeof object == "number" || A._isBool(object) || object == null) return J.toString$0$(object); - if (typeof object === "string") + if (typeof object == "string") return JSON.stringify(object); - return P.Error__objectToString(object); + return A.Error__objectToString(object); }, - ArgumentError$: function(message) { - return new P.ArgumentError(false, null, null, message); + AssertionError$(message) { + return new A.AssertionError(message); }, - ArgumentError$value: function(value, $name, message) { - return new P.ArgumentError(true, value, $name, message); + ArgumentError$(message, $name) { + return new A.ArgumentError(false, null, $name, message); }, - RangeError$value: function(value, $name) { - return new P.RangeError(null, null, true, value, $name, "Value not in range"); + ArgumentError$value(value, $name, message) { + return new A.ArgumentError(true, value, $name, message); }, - RangeError$range: function(invalidValue, minValue, maxValue, $name, message) { - return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); + ArgumentError_checkNotNull(argument, $name, $T) { + return argument; }, - RangeError_checkValueInInterval: function(value, minValue, maxValue, $name) { + RangeError$value(value, $name) { + return new A.RangeError(null, null, true, value, $name, "Value not in range"); + }, + RangeError$range(invalidValue, minValue, maxValue, $name, message) { + return new A.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); + }, + RangeError_checkValueInInterval(value, minValue, maxValue, $name) { if (value < minValue || value > maxValue) - throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $name, null)); + throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null)); + return value; }, - RangeError_checkValidRange: function(start, end, $length) { - if (typeof start !== "number") - return H.iae(start); + RangeError_checkValidRange(start, end, $length) { if (0 > start || start > $length) - throw H.wrapException(P.RangeError$range(start, 0, $length, "start", null)); + throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null)); if (end != null) { if (start > end || end > $length) - throw H.wrapException(P.RangeError$range(end, start, $length, "end", null)); + throw A.wrapException(A.RangeError$range(end, start, $length, "end", null)); return end; } return $length; }, - RangeError_checkNotNegative: function(value, $name) { - if (typeof value !== "number") - return value.$lt(); + RangeError_checkNotNegative(value, $name) { if (value < 0) - throw H.wrapException(P.RangeError$range(value, 0, null, $name, null)); + throw A.wrapException(A.RangeError$range(value, 0, null, $name, null)); + return value; }, - IndexError$: function(invalidValue, indexable, $name, message, $length) { - var t1 = H.intTypeCheck($length == null ? J.get$length$asx(indexable) : $length); - return new P.IndexError(t1, true, invalidValue, $name, "Index out of range"); + IndexError$(invalidValue, indexable, $name, message, $length) { + var t1 = A._asInt($length == null ? J.get$length$asx(indexable) : $length); + return new A.IndexError(t1, true, invalidValue, $name, "Index out of range"); }, - UnsupportedError$: function(message) { - return new P.UnsupportedError(message); + UnsupportedError$(message) { + return new A.UnsupportedError(message); }, - UnimplementedError$: function(message) { - return new P.UnimplementedError(message); + UnimplementedError$(message) { + return new A.UnimplementedError(message); }, - StateError$: function(message) { - return new P.StateError(message); + StateError$(message) { + return new A.StateError(message); }, - ConcurrentModificationError$: function(modifiedObject) { - return new P.ConcurrentModificationError(modifiedObject); + ConcurrentModificationError$(modifiedObject) { + return new A.ConcurrentModificationError(modifiedObject); }, - FormatException$: function(message, source, offset) { - return new P.FormatException(message, source, offset); + FormatException$(message, source, offset) { + return new A.FormatException(message, source, offset); }, - List_List$generate: function($length, generator, growable, $E) { - var result, i; - H.functionTypeCheck(generator, {func: 1, ret: $E, args: [P.int]}); - result = H.setRuntimeTypeInfo([], [$E]); - C.JSArray_methods.set$length(result, $length); - for (i = 0; i < $length; ++i) - C.JSArray_methods.$indexSet(result, i, generator.call$1(i)); - return result; + Object_hash(object1, object2, object3, object4) { + var t1, t2; + if (B.C_SentinelValue === object3) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2)); + } + if (B.C_SentinelValue === object4) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3)); + } + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + t2 = $.$get$_hashSeed(); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3), object4)); + }, + Uri_Uri$dataFromString($content) { + var t1, _null = null, + buffer = new A.StringBuffer(""), + indices = A._setArrayType([-1], type$.JSArray_int); + A.UriData__writeUri(_null, _null, _null, buffer, indices); + B.JSArray_methods.add$1(indices, buffer._contents.length); + buffer._contents += ","; + A.UriData__uriEncodeBytes(B.List_CVk, B.C_AsciiCodec.encode$1($content), buffer); + t1 = buffer._contents; + return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri(); }, - Uri_parse: function(uri) { - var end, delta, t1, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t2, schemeAuth, queryStart0, pathStart0; - end = uri.length; + Uri_parse(uri) { + var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null, + end = uri.length; if (end >= 5) { - delta = ((J._codeUnitAt$1$s(uri, 4) ^ 58) * 3 | C.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | C.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | C.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | C.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0; + delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0; if (delta === 0) - return P.UriData__parse(end < end ? C.JSString_methods.substring$2(uri, 0, end) : uri, 5, null).get$uri(); + return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); else if (delta === 32) - return P.UriData__parse(C.JSString_methods.substring$2(uri, 5, end), 0, null).get$uri(); - } - t1 = new Array(8); - t1.fixed$length = Array; - indices = H.setRuntimeTypeInfo(t1, [P.int]); - C.JSArray_methods.$indexSet(indices, 0, 0); - C.JSArray_methods.$indexSet(indices, 1, -1); - C.JSArray_methods.$indexSet(indices, 2, -1); - C.JSArray_methods.$indexSet(indices, 7, -1); - C.JSArray_methods.$indexSet(indices, 3, 0); - C.JSArray_methods.$indexSet(indices, 4, 0); - C.JSArray_methods.$indexSet(indices, 5, end); - C.JSArray_methods.$indexSet(indices, 6, end); - if (P._scan(uri, 0, end, 0, indices) >= 14) - C.JSArray_methods.$indexSet(indices, 7, end); + return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri(); + } + indices = A.List_List$filled(8, 0, false, type$.int); + B.JSArray_methods.$indexSet(indices, 0, 0); + B.JSArray_methods.$indexSet(indices, 1, -1); + B.JSArray_methods.$indexSet(indices, 2, -1); + B.JSArray_methods.$indexSet(indices, 7, -1); + B.JSArray_methods.$indexSet(indices, 3, 0); + B.JSArray_methods.$indexSet(indices, 4, 0); + B.JSArray_methods.$indexSet(indices, 5, end); + B.JSArray_methods.$indexSet(indices, 6, end); + if (A._scan(uri, 0, end, 0, indices) >= 14) + B.JSArray_methods.$indexSet(indices, 7, end); schemeEnd = indices[1]; - if (typeof schemeEnd !== "number") - return schemeEnd.$ge(); if (schemeEnd >= 0) - if (P._scan(uri, 0, schemeEnd, 20, indices) === 20) + if (A._scan(uri, 0, schemeEnd, 20, indices) === 20) indices[7] = schemeEnd; - t1 = indices[2]; - if (typeof t1 !== "number") - return t1.$add(); - hostStart = t1 + 1; + hostStart = indices[2] + 1; portStart = indices[3]; pathStart = indices[4]; queryStart = indices[5]; fragmentStart = indices[6]; - if (typeof fragmentStart !== "number") - return fragmentStart.$lt(); - if (typeof queryStart !== "number") - return H.iae(queryStart); if (fragmentStart < queryStart) queryStart = fragmentStart; - if (typeof pathStart !== "number") - return pathStart.$lt(); if (pathStart < hostStart) pathStart = queryStart; else if (pathStart <= schemeEnd) pathStart = schemeEnd + 1; - if (typeof portStart !== "number") - return portStart.$lt(); if (portStart < hostStart) portStart = pathStart; - t1 = indices[7]; - if (typeof t1 !== "number") - return t1.$lt(); - isSimple = t1 < 0; + isSimple = indices[7] < 0; if (isSimple) if (hostStart > schemeEnd + 3) { - scheme = null; + scheme = _null; isSimple = false; } else { t1 = portStart > 0; if (t1 && portStart + 1 === pathStart) { - scheme = null; + scheme = _null; isSimple = false; } else { - if (!(queryStart < end && queryStart === pathStart + 2 && J.startsWith$2$s(uri, "..", pathStart))) - t2 = queryStart > pathStart + 2 && J.startsWith$2$s(uri, "/..", queryStart - 3); + if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart))) + t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); else t2 = true; if (t2) { - scheme = null; + scheme = _null; isSimple = false; } else { if (schemeEnd === 4) - if (J.startsWith$2$s(uri, "file", 0)) { + if (B.JSString_methods.startsWith$2(uri, "file", 0)) { if (hostStart <= 0) { - if (!C.JSString_methods.startsWith$2(uri, "/", pathStart)) { + if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) { schemeAuth = "file:///"; delta = 3; } else { schemeAuth = "file://"; delta = 2; } - uri = schemeAuth + C.JSString_methods.substring$2(uri, pathStart, end); + uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end); schemeEnd -= 0; t1 = delta - 0; queryStart += t1; @@ -4258,47 +4802,46 @@ portStart = 7; pathStart = 7; } else if (pathStart === queryStart) { - queryStart0 = queryStart + 1; ++fragmentStart; - uri = C.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); + queryStart0 = queryStart + 1; + uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); ++end; queryStart = queryStart0; } scheme = "file"; - } else if (C.JSString_methods.startsWith$2(uri, "http", 0)) { - if (t1 && portStart + 3 === pathStart && C.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { + } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) { + if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { + fragmentStart -= 3; pathStart0 = pathStart - 3; queryStart -= 3; - fragmentStart -= 3; - uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); end -= 3; pathStart = pathStart0; } scheme = "http"; } else - scheme = null; - else if (schemeEnd === 5 && J.startsWith$2$s(uri, "https", 0)) { - if (t1 && portStart + 4 === pathStart && J.startsWith$2$s(uri, "443", portStart + 1)) { + scheme = _null; + else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) { + if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) { + fragmentStart -= 4; pathStart0 = pathStart - 4; queryStart -= 4; - fragmentStart -= 4; - uri = J.replaceRange$3$asx(uri, portStart, pathStart, ""); + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); end -= 3; pathStart = pathStart0; } scheme = "https"; } else - scheme = null; + scheme = _null; isSimple = true; } } } else - scheme = null; + scheme = _null; if (isSimple) { - t1 = uri.length; - if (end < t1) { - uri = J.substring$2$s(uri, 0, end); + if (end < uri.length) { + uri = B.JSString_methods.substring$2(uri, 0, end); schemeEnd -= 0; hostStart -= 0; portStart -= 0; @@ -4306,192 +4849,163 @@ queryStart -= 0; fragmentStart -= 0; } - return new P._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } - return P._Uri__Uri$notSimple(uri, 0, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); - }, - Uri_decodeComponent: function(encodedComponent) { - H.stringTypeCheck(encodedComponent); - return P._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, C.Utf8Codec_false, false); - }, - Uri_splitQueryString: function(query) { - var t1 = P.String; - return C.JSArray_methods.fold$1$2(H.setRuntimeTypeInfo(query.split("&"), [t1]), P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.Uri_splitQueryString_closure(C.Utf8Codec_false), [P.Map, P.String, P.String]); - }, - Uri__parseIPv4Address: function(host, start, end) { - var error, result, t1, i, partStart, partIndex, char, part, partIndex0; - error = new P.Uri__parseIPv4Address_error(host); - result = new Uint8Array(4); - for (t1 = result.length, i = start, partStart = i, partIndex = 0; i < end; ++i) { - char = C.JSString_methods.codeUnitAt$1(host, i); + if (scheme == null) + if (schemeEnd > 0) + scheme = A._Uri__makeScheme(uri, 0, schemeEnd); + else { + if (schemeEnd === 0) + A._Uri__fail(uri, 0, "Invalid empty scheme"); + scheme = ""; + } + if (hostStart > 0) { + userInfoStart = schemeEnd + 3; + userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; + host = A._Uri__makeHost(uri, hostStart, portStart, false); + t1 = portStart + 1; + if (t1 < pathStart) { + portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null); + port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); + } else + port = _null; + } else { + port = _null; + host = port; + userInfo = ""; + } + path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); + query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; + return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); + }, + Uri_decodeComponent(encodedComponent) { + A._asString(encodedComponent); + return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); + }, + Uri_splitQueryString(query) { + var t1 = type$.String; + return B.JSArray_methods.fold$1$2(A._setArrayType(query.split("&"), type$.JSArray_String), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.Uri_splitQueryString_closure(B.C_Utf8Codec), type$.Map_String_String); + }, + Uri__parseIPv4Address(host, start, end) { + var i, partStart, partIndex, char, part, partIndex0, + _s43_ = "IPv4 address should contain exactly 4 parts", + _s37_ = "each part must be in the range 0..255", + error = new A.Uri__parseIPv4Address_error(host), + result = new Uint8Array(4); + for (i = start, partStart = i, partIndex = 0; i < end; ++i) { + char = B.JSString_methods.codeUnitAt$1(host, i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); } else { if (partIndex === 3) - error.call$2("IPv4 address should contain exactly 4 parts", i); - part = P.int_parse(C.JSString_methods.substring$2(host, partStart, i), null, null); - if (typeof part !== "number") - return part.$gt(); + error.call$2(_s43_, i); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null); if (part > 255) - error.call$2("each part must be in the range 0..255", partStart); + error.call$2(_s37_, partStart); partIndex0 = partIndex + 1; - if (partIndex >= t1) - return H.ioore(result, partIndex); + if (!(partIndex < 4)) + return A.ioore(result, partIndex); result[partIndex] = part; partStart = i + 1; partIndex = partIndex0; } } if (partIndex !== 3) - error.call$2("IPv4 address should contain exactly 4 parts", end); - part = P.int_parse(C.JSString_methods.substring$2(host, partStart, end), null, null); - if (typeof part !== "number") - return part.$gt(); + error.call$2(_s43_, end); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null); if (part > 255) - error.call$2("each part must be in the range 0..255", partStart); - if (partIndex >= t1) - return H.ioore(result, partIndex); + error.call$2(_s37_, partStart); + if (!(partIndex < 4)) + return A.ioore(result, partIndex); result[partIndex] = part; return result; }, - Uri_parseIPv6Address: function(host, start, end) { - var error, parseHex, parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, t2, bytes, wildCardLength, index, value, j, t3; - if (end == null) - end = host.length; - error = new P.Uri_parseIPv6Address_error(host); - parseHex = new P.Uri_parseIPv6Address_parseHex(error, host); + Uri_parseIPv6Address(host, start, end) { + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, _null = null, + error = new A.Uri_parseIPv6Address_error(host), + parseHex = new A.Uri_parseIPv6Address_parseHex(error, host); if (host.length < 2) - error.call$1("address is too short"); - parts = H.setRuntimeTypeInfo([], [P.int]); + error.call$2("address is too short", _null); + parts = A._setArrayType([], type$.JSArray_int); for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { - char = C.JSString_methods.codeUnitAt$1(host, i); + char = B.JSString_methods.codeUnitAt$1(host, i); if (char === 58) { if (i === start) { ++i; - if (C.JSString_methods.codeUnitAt$1(host, i) !== 58) + if (B.JSString_methods.codeUnitAt$1(host, i) !== 58) error.call$2("invalid start colon.", i); partStart = i; } if (i === partStart) { if (wildcardSeen) error.call$2("only one wildcard `::` is allowed", i); - C.JSArray_methods.add$1(parts, -1); + B.JSArray_methods.add$1(parts, -1); wildcardSeen = true; } else - C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); partStart = i + 1; } else if (char === 46) seenDot = true; } if (parts.length === 0) - error.call$1("too few parts"); + error.call$2("too few parts", _null); atEnd = partStart === end; - t1 = C.JSArray_methods.get$last(parts); + t1 = B.JSArray_methods.get$last(parts); if (atEnd && t1 !== -1) error.call$2("expected a part after last `:`", end); if (!atEnd) if (!seenDot) - C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); else { - last = P.Uri__parseIPv4Address(host, partStart, end); - t1 = last[0]; - if (typeof t1 !== "number") - return t1.$shl(); - t2 = last[1]; - if (typeof t2 !== "number") - return H.iae(t2); - C.JSArray_methods.add$1(parts, (t1 << 8 | t2) >>> 0); - t2 = last[2]; - if (typeof t2 !== "number") - return t2.$shl(); - t1 = last[3]; - if (typeof t1 !== "number") - return H.iae(t1); - C.JSArray_methods.add$1(parts, (t2 << 8 | t1) >>> 0); + last = A.Uri__parseIPv4Address(host, partStart, end); + B.JSArray_methods.add$1(parts, (last[0] << 8 | last[1]) >>> 0); + B.JSArray_methods.add$1(parts, (last[2] << 8 | last[3]) >>> 0); } if (wildcardSeen) { if (parts.length > 7) - error.call$1("an address with a wildcard must have less than 7 parts"); + error.call$2("an address with a wildcard must have less than 7 parts", _null); } else if (parts.length !== 8) - error.call$1("an address without a wildcard must contain exactly 8 parts"); + error.call$2("an address without a wildcard must contain exactly 8 parts", _null); bytes = new Uint8Array(16); - for (t1 = parts.length, t2 = bytes.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { + for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { value = parts[i]; if (value === -1) for (j = 0; j < wildCardLength; ++j) { - if (index < 0 || index >= t2) - return H.ioore(bytes, index); + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); bytes[index] = 0; - t3 = index + 1; - if (t3 >= t2) - return H.ioore(bytes, t3); - bytes[t3] = 0; + t2 = index + 1; + if (!(t2 < 16)) + return A.ioore(bytes, t2); + bytes[t2] = 0; index += 2; } else { - if (typeof value !== "number") - return value.$shr(); - t3 = C.JSInt_methods._shrOtherPositive$1(value, 8); - if (index < 0 || index >= t2) - return H.ioore(bytes, index); - bytes[index] = t3; - t3 = index + 1; - if (t3 >= t2) - return H.ioore(bytes, t3); - bytes[t3] = value & 255; + t2 = B.JSInt_methods._shrOtherPositive$1(value, 8); + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); + bytes[index] = t2; + t2 = index + 1; + if (!(t2 < 16)) + return A.ioore(bytes, t2); + bytes[t2] = value & 255; index += 2; } } return bytes; }, - _Uri__Uri$notSimple: function(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { - var userInfoStart, userInfo, host, t1, port, path, query; - if (scheme == null) { - if (typeof schemeEnd !== "number") - return schemeEnd.$gt(); - if (schemeEnd > start) - scheme = P._Uri__makeScheme(uri, start, schemeEnd); - else { - if (schemeEnd === start) - P._Uri__fail(uri, start, "Invalid empty scheme"); - scheme = ""; - } - } - if (hostStart > start) { - if (typeof schemeEnd !== "number") - return schemeEnd.$add(); - userInfoStart = schemeEnd + 3; - userInfo = userInfoStart < hostStart ? P._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; - host = P._Uri__makeHost(uri, hostStart, portStart, false); - if (typeof portStart !== "number") - return portStart.$add(); - t1 = portStart + 1; - if (typeof pathStart !== "number") - return H.iae(pathStart); - port = t1 < pathStart ? P._Uri__makePort(P.int_parse(J.substring$2$s(uri, t1, pathStart), new P._Uri__Uri$notSimple_closure(uri, portStart), null), scheme) : null; - } else { - userInfo = ""; - host = null; - port = null; - } - path = P._Uri__makePath(uri, pathStart, queryStart, null, scheme, host != null); - if (typeof queryStart !== "number") - return queryStart.$lt(); - if (typeof fragmentStart !== "number") - return H.iae(fragmentStart); - query = queryStart < fragmentStart ? P._Uri__makeQuery(uri, queryStart + 1, fragmentStart, null) : null; - return new P._Uri(scheme, userInfo, host, port, path, query, fragmentStart < end ? P._Uri__makeFragment(uri, fragmentStart + 1, end) : null); - }, - _Uri__Uri: function(host, path, pathSegments, scheme) { - var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2; - H.assertSubtype(pathSegments, "$isIterable", [P.String], "$asIterable"); - scheme = P._Uri__makeScheme(scheme, 0, scheme == null ? 0 : scheme.length); - userInfo = P._Uri__makeUserInfo(null, 0, 0); - host = P._Uri__makeHost(host, 0, host == null ? 0 : host.length, false); - query = P._Uri__makeQuery(null, 0, 0, null); - fragment = P._Uri__makeFragment(null, 0, 0); - port = P._Uri__makePort(null, scheme); + _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) { + return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); + }, + _Uri__Uri(host, path, pathSegments, scheme) { + var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null; + scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length); + userInfo = A._Uri__makeUserInfo(_null, 0, 0); + host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false); + query = A._Uri__makeQuery(_null, 0, 0, _null); + fragment = A._Uri__makeFragment(_null, 0, 0); + port = A._Uri__makePort(_null, scheme); isFile = scheme === "file"; if (host == null) t1 = userInfo.length !== 0 || port != null || isFile; @@ -4501,44 +5015,59 @@ host = ""; t1 = host == null; hasAuthority = !t1; - path = P._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority); + path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority); t2 = scheme.length === 0; - if (t2 && t1 && !J.startsWith$1$s(path, "/")) - path = P._Uri__normalizeRelativePath(path, !t2 || hasAuthority); + if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/")) + path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority); else - path = P._Uri__removeDotSegments(path); - return new P._Uri(scheme, userInfo, t1 && J.startsWith$1$s(path, "//") ? "" : host, port, path, query, fragment); + path = A._Uri__removeDotSegments(path); + return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment); }, - _Uri__defaultPort: function(scheme) { + _Uri__defaultPort(scheme) { if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; }, - _Uri__fail: function(uri, index, message) { - throw H.wrapException(P.FormatException$(message, uri, index)); - }, - _Uri__Uri$file: function(path, windows) { - return windows ? P._Uri__makeWindowsFileUrl(path, false) : P._Uri__makeFileUri(path, false); - }, - _Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentError) { - C.JSArray_methods.forEach$1(H.assertSubtype(segments, "$isList", [P.String], "$asList"), new P._Uri__checkNonWindowsPathReservedCharacters_closure(false)); + _Uri__fail(uri, index, message) { + throw A.wrapException(A.FormatException$(message, uri, index)); + }, + _Uri__Uri$file(path, windows) { + return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false); + }, + _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) { + var t1, _i, segment, t2, t3; + for (t1 = segments.length, _i = 0; _i < t1; ++_i) { + segment = segments[_i]; + t2 = J.getInterceptor$asx(segment); + t3 = t2.get$length(segment); + if (0 > t3) + A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null)); + if (A.stringContainsUnchecked(segment, "/", 0)) { + t1 = A.UnsupportedError$("Illegal path character " + A.S(segment)); + throw A.wrapException(t1); + } + } }, - _Uri__checkWindowsPathReservedCharacters: function(segments, argumentError, firstSegment) { - var t1, t2; - H.assertSubtype(segments, "$isList", [P.String], "$asList"); - for (t1 = H.SubListIterable$(segments, firstSegment, null, H.getTypeArgumentByIndex(segments, 0)), t1 = new H.ListIterator(t1, t1.get$length(t1), 0, [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { - t2 = t1.__internal$_current; - if (J.contains$1$asx(t2, P.RegExp_RegExp('["*/:<>?\\\\|]', false))) + _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) { + var t1, t2, t3, t4, t5, _null = null; + for (t1 = A.SubListIterable$(segments, firstSegment, _null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3 == null) + t3 = t2._as(t3); + t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false); + t5 = t3.length; + if (A.stringContainsUnchecked(t3, t4, 0)) if (argumentError) - throw H.wrapException(P.ArgumentError$("Illegal character in path")); + throw A.wrapException(A.ArgumentError$("Illegal character in path", _null)); else - throw H.wrapException(P.UnsupportedError$("Illegal character in path: " + t2)); + throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3)); } }, - _Uri__checkWindowsDriveLetter: function(charCode, argumentError) { - var t1; + _Uri__checkWindowsDriveLetter(charCode, argumentError) { + var t1, + _s21_ = "Illegal drive letter "; if (!(65 <= charCode && charCode <= 90)) t1 = 97 <= charCode && charCode <= 122; else @@ -4546,110 +5075,190 @@ if (t1) return; if (argumentError) - throw H.wrapException(P.ArgumentError$("Illegal drive letter " + P.String_String$fromCharCode(charCode))); + throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null)); else - throw H.wrapException(P.UnsupportedError$("Illegal drive letter " + P.String_String$fromCharCode(charCode))); + throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode))); }, - _Uri__makeFileUri: function(path, slashTerminated) { - var segments = H.setRuntimeTypeInfo(path.split("/"), [P.String]); - if (C.JSString_methods.startsWith$1(path, "/")) - return P._Uri__Uri(null, null, segments, "file"); + _Uri__makeFileUri(path, slashTerminated) { + var _null = null, + segments = A._setArrayType(path.split("/"), type$.JSArray_String); + if (B.JSString_methods.startsWith$1(path, "/")) + return A._Uri__Uri(_null, _null, segments, "file"); else - return P._Uri__Uri(null, null, segments, null); + return A._Uri__Uri(_null, _null, segments, _null); }, - _Uri__makeWindowsFileUrl: function(path, slashTerminated) { - var t1, pathSegments, pathStart, hostPart; - if (J.startsWith$1$s(path, "\\\\?\\")) - if (C.JSString_methods.startsWith$2(path, "UNC\\", 4)) - path = C.JSString_methods.replaceRange$3(path, 0, 7, "\\"); + _Uri__makeWindowsFileUrl(path, slashTerminated) { + var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file"; + if (B.JSString_methods.startsWith$1(path, "\\\\?\\")) + if (B.JSString_methods.startsWith$2(path, "UNC\\", 4)) + path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_); else { - path = C.JSString_methods.substring$1(path, 4); - if (path.length < 3 || C.JSString_methods._codeUnitAt$1(path, 1) !== 58 || C.JSString_methods._codeUnitAt$1(path, 2) !== 92) - throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute")); + path = B.JSString_methods.substring$1(path, 4); + if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92) + throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null)); } else - path = H.stringReplaceAllUnchecked(path, "/", "\\"); + path = A.stringReplaceAllUnchecked(path, "/", _s1_); t1 = path.length; - if (t1 > 1 && C.JSString_methods._codeUnitAt$1(path, 1) === 58) { - P._Uri__checkWindowsDriveLetter(C.JSString_methods._codeUnitAt$1(path, 0), true); - if (t1 === 2 || C.JSString_methods._codeUnitAt$1(path, 2) !== 92) - throw H.wrapException(P.ArgumentError$("Windows paths with drive letter must be absolute")); - pathSegments = H.setRuntimeTypeInfo(path.split("\\"), [P.String]); - P._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1); - return P._Uri__Uri(null, null, pathSegments, "file"); - } - if (C.JSString_methods.startsWith$1(path, "\\")) - if (C.JSString_methods.startsWith$2(path, "\\", 1)) { - pathStart = C.JSString_methods.indexOf$2(path, "\\", 2); + if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) { + A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true); + if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92) + throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null)); + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1); + return A._Uri__Uri(_null, _null, pathSegments, _s4_); + } + if (B.JSString_methods.startsWith$1(path, _s1_)) + if (B.JSString_methods.startsWith$2(path, _s1_, 1)) { + pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2); t1 = pathStart < 0; - hostPart = t1 ? C.JSString_methods.substring$1(path, 2) : C.JSString_methods.substring$2(path, 2, pathStart); - pathSegments = H.setRuntimeTypeInfo((t1 ? "" : C.JSString_methods.substring$1(path, pathStart + 1)).split("\\"), [P.String]); - P._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); - return P._Uri__Uri(hostPart, null, pathSegments, "file"); + hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart); + pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(hostPart, _null, pathSegments, _s4_); } else { - pathSegments = H.setRuntimeTypeInfo(path.split("\\"), [P.String]); - P._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); - return P._Uri__Uri(null, null, pathSegments, "file"); + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(_null, _null, pathSegments, _s4_); } else { - pathSegments = H.setRuntimeTypeInfo(path.split("\\"), [P.String]); - P._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); - return P._Uri__Uri(null, null, pathSegments, null); + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(_null, _null, pathSegments, _null); } }, - _Uri__makePort: function(port, scheme) { - if (port != null && port === P._Uri__defaultPort(scheme)) - return; + _Uri__makePort(port, scheme) { + if (port != null && port === A._Uri__defaultPort(scheme)) + return null; return port; }, - _Uri__makeHost: function(host, start, end, strictIPv6) { - var t1, i; + _Uri__makeHost(host, start, end, strictIPv6) { + var t1, t2, index, zoneIDstart, zoneID, i; if (host == null) - return; + return null; if (start === end) return ""; - if (C.JSString_methods.codeUnitAt$1(host, start) === 91) { - if (typeof end !== "number") - return end.$sub(); + if (B.JSString_methods.codeUnitAt$1(host, start) === 91) { t1 = end - 1; - if (C.JSString_methods.codeUnitAt$1(host, t1) !== 93) - P._Uri__fail(host, start, "Missing end `]` to match `[` in host"); - P.Uri_parseIPv6Address(host, start + 1, t1); - return C.JSString_methods.substring$2(host, start, end).toLowerCase(); - } - if (typeof end !== "number") - return H.iae(end); - i = start; - for (; i < end; ++i) - if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { - P.Uri_parseIPv6Address(host, start, end); - return "[" + host + "]"; + if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) + A._Uri__fail(host, start, "Missing end `]` to match `[` in host"); + t2 = start + 1; + index = A._Uri__checkZoneID(host, t2, t1); + if (index < t1) { + zoneIDstart = index + 1; + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25"); + } else + zoneID = ""; + A.Uri_parseIPv6Address(host, t2, index); + return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; + } + for (i = start; i < end; ++i) + if (B.JSString_methods.codeUnitAt$1(host, i) === 58) { + index = B.JSString_methods.indexOf$2(host, "%", start); + index = index >= start && index < end ? index : end; + if (index < end) { + zoneIDstart = index + 1; + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); + } else + zoneID = ""; + A.Uri_parseIPv6Address(host, start, index); + return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]"; + } + return A._Uri__normalizeRegName(host, start, end); + }, + _Uri__checkZoneID(host, start, end) { + var index = B.JSString_methods.indexOf$2(host, "%", start); + return index >= start && index < end ? index : end; + }, + _Uri__normalizeZoneID(host, start, end, prefix) { + var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, + buffer = prefix !== "" ? new A.StringBuffer(prefix) : null; + for (index = start, sectionStart = index, isNormalized = true; index < end;) { + char = B.JSString_methods.codeUnitAt$1(host, index); + if (char === 37) { + replacement = A._Uri__normalizeEscape(host, index, true); + t1 = replacement == null; + if (t1 && isNormalized) { + index += 3; + continue; + } + if (buffer == null) + buffer = new A.StringBuffer(""); + t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + if (t1) + replacement = B.JSString_methods.substring$2(host, index, index + 3); + else if (replacement === "%") + A._Uri__fail(host, index, "ZoneID should not contain % anymore"); + buffer._contents = t2 + replacement; + index += 3; + sectionStart = index; + isNormalized = true; + } else { + if (char < 127) { + t1 = char >>> 4; + if (!(t1 < 8)) + return A.ioore(B.List_nxB, t1); + t1 = (B.List_nxB[t1] & 1 << (char & 15)) !== 0; + } else + t1 = false; + if (t1) { + if (isNormalized && 65 <= char && 90 >= char) { + if (buffer == null) + buffer = new A.StringBuffer(""); + if (sectionStart < index) { + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + sectionStart = index; + } + isNormalized = false; + } + ++index; + } else { + if ((char & 64512) === 55296 && index + 1 < end) { + tail = B.JSString_methods.codeUnitAt$1(host, index + 1); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + slice = B.JSString_methods.substring$2(host, sectionStart, index); + if (buffer == null) { + buffer = new A.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t1._contents += slice; + t1._contents += A._Uri__escapeChar(char); + index += sourceLength; + sectionStart = index; + } } - return P._Uri__normalizeRegName(host, start, end); + } + if (buffer == null) + return B.JSString_methods.substring$2(host, start, end); + if (sectionStart < end) + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__normalizeRegName: function(host, start, end) { + _Uri__normalizeRegName(host, start, end) { var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail; - if (typeof end !== "number") - return H.iae(end); - index = start; - sectionStart = index; - buffer = null; - isNormalized = true; - for (; index < end;) { - char = C.JSString_methods.codeUnitAt$1(host, index); + for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { + char = B.JSString_methods.codeUnitAt$1(host, index); if (char === 37) { - replacement = P._Uri__normalizeEscape(host, index, true); + replacement = A._Uri__normalizeEscape(host, index, true); t1 = replacement == null; if (t1 && isNormalized) { index += 3; continue; } if (buffer == null) - buffer = new P.StringBuffer(""); - slice = C.JSString_methods.substring$2(host, sectionStart, index); + buffer = new A.StringBuffer(""); + slice = B.JSString_methods.substring$2(host, sectionStart, index); t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; if (t1) { - replacement = C.JSString_methods.substring$2(host, index, index + 3); + replacement = B.JSString_methods.substring$2(host, index, index + 3); sourceLength = 3; } else if (replacement === "%") { replacement = "%25"; @@ -4663,17 +5272,17 @@ } else { if (char < 127) { t1 = char >>> 4; - if (t1 >= 8) - return H.ioore(C.List_qNA, t1); - t1 = (C.List_qNA[t1] & 1 << (char & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_qNA, t1); + t1 = (B.List_qNA[t1] & 1 << (char & 15)) !== 0; } else t1 = false; if (t1) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) - buffer = new P.StringBuffer(""); + buffer = new A.StringBuffer(""); if (sectionStart < index) { - buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); sectionStart = index; } isNormalized = false; @@ -4682,28 +5291,33 @@ } else { if (char <= 93) { t1 = char >>> 4; - if (t1 >= 8) - return H.ioore(C.List_2Vk, t1); - t1 = (C.List_2Vk[t1] & 1 << (char & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_2Vk, t1); + t1 = (B.List_2Vk[t1] & 1 << (char & 15)) !== 0; } else t1 = false; if (t1) - P._Uri__fail(host, index, "Invalid character"); + A._Uri__fail(host, index, "Invalid character"); else { if ((char & 64512) === 55296 && index + 1 < end) { - tail = C.JSString_methods.codeUnitAt$1(host, index + 1); + tail = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; + char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; - if (buffer == null) - buffer = new P.StringBuffer(""); - slice = C.JSString_methods.substring$2(host, sectionStart, index); - buffer._contents += !isNormalized ? slice.toLowerCase() : slice; - buffer._contents += P._Uri__escapeChar(char); + slice = B.JSString_methods.substring$2(host, sectionStart, index); + if (!isNormalized) + slice = slice.toLowerCase(); + if (buffer == null) { + buffer = new A.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t1._contents += slice; + t1._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } @@ -4711,42 +5325,38 @@ } } if (buffer == null) - return C.JSString_methods.substring$2(host, start, end); + return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) { - slice = C.JSString_methods.substring$2(host, sectionStart, end); + slice = B.JSString_methods.substring$2(host, sectionStart, end); buffer._contents += !isNormalized ? slice.toLowerCase() : slice; } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__makeScheme: function(scheme, start, end) { + _Uri__makeScheme(scheme, start, end) { var i, containsUpperCase, codeUnit, t1; if (start === end) return ""; - if (!P._Uri__isAlphabeticCharacter(J.getInterceptor$s(scheme)._codeUnitAt$1(scheme, start))) - P._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); - if (typeof end !== "number") - return H.iae(end); - i = start; - containsUpperCase = false; - for (; i < end; ++i) { - codeUnit = C.JSString_methods._codeUnitAt$1(scheme, i); + if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start))) + A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); + for (i = start, containsUpperCase = false; i < end; ++i) { + codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i); if (codeUnit < 128) { t1 = codeUnit >>> 4; - if (t1 >= 8) - return H.ioore(C.List_JYB, t1); - t1 = (C.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; + if (!(t1 < 8)) + return A.ioore(B.List_JYB, t1); + t1 = (B.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; } else t1 = false; if (!t1) - P._Uri__fail(scheme, i, "Illegal scheme character"); + A._Uri__fail(scheme, i, "Illegal scheme character"); if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; } - scheme = C.JSString_methods.substring$2(scheme, start, end); - return P._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); + scheme = B.JSString_methods.substring$2(scheme, start, end); + return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); }, - _Uri__canonicalizeScheme: function(scheme) { + _Uri__canonicalizeScheme(scheme) { if (scheme === "http") return "http"; if (scheme === "file") @@ -4757,89 +5367,80 @@ return "package"; return scheme; }, - _Uri__makeUserInfo: function(userInfo, start, end) { + _Uri__makeUserInfo(userInfo, start, end) { if (userInfo == null) return ""; - return P._Uri__normalizeOrSubstring(userInfo, start, end, C.List_gRj, false); - }, - _Uri__makePath: function(path, start, end, pathSegments, scheme, hasAuthority) { - var t1, isFile, ensureLeadingSlash, t2, result; - t1 = P.String; - H.assertSubtype(pathSegments, "$isIterable", [t1], "$asIterable"); - isFile = scheme === "file"; - ensureLeadingSlash = isFile || hasAuthority; - t2 = path == null; - if (t2 && pathSegments == null) - return isFile ? "/" : ""; - t2 = !t2; - if (t2 && pathSegments != null) - throw H.wrapException(P.ArgumentError$("Both path and pathSegments specified")); - if (t2) - result = P._Uri__normalizeOrSubstring(path, start, end, C.List_qg4, true); - else { - pathSegments.toString; - t2 = H.getTypeArgumentByIndex(pathSegments, 0); - result = new H.MappedListIterable(pathSegments, H.functionTypeCheck(new P._Uri__makePath_closure(), {func: 1, ret: t1, args: [t2]}), [t2, t1]).join$1(0, "/"); - } + return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false); + }, + _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { + var t1, result, + isFile = scheme === "file", + ensureLeadingSlash = isFile || hasAuthority; + if (path == null) { + if (pathSegments == null) + return isFile ? "/" : ""; + t1 = A._arrayInstanceType(pathSegments); + result = new A.MappedListIterable(pathSegments, t1._eval$1("String(1)")._as(new A._Uri__makePath_closure()), t1._eval$1("MappedListIterable<1,String>")).join$1(0, "/"); + } else if (pathSegments != null) + throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null)); + else + result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true); if (result.length === 0) { if (isFile) return "/"; - } else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(result, "/")) + } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/")) result = "/" + result; - return P._Uri__normalizePath(result, scheme, hasAuthority); + return A._Uri__normalizePath(result, scheme, hasAuthority); }, - _Uri__normalizePath: function(path, scheme, hasAuthority) { + _Uri__normalizePath(path, scheme, hasAuthority) { var t1 = scheme.length === 0; - if (t1 && !hasAuthority && !C.JSString_methods.startsWith$1(path, "/")) - return P._Uri__normalizeRelativePath(path, !t1 || hasAuthority); - return P._Uri__removeDotSegments(path); + if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/")) + return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority); + return A._Uri__removeDotSegments(path); }, - _Uri__makeQuery: function(query, start, end, queryParameters) { + _Uri__makeQuery(query, start, end, queryParameters) { if (query != null) - return P._Uri__normalizeOrSubstring(query, start, end, C.List_CVk, true); - return; + return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true); + return null; }, - _Uri__makeFragment: function(fragment, start, end) { + _Uri__makeFragment(fragment, start, end) { if (fragment == null) - return; - return P._Uri__normalizeOrSubstring(fragment, start, end, C.List_CVk, true); + return null; + return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true); }, - _Uri__normalizeEscape: function(source, index, lowerCase) { - var t1, firstDigit, secondDigit, firstDigitValue, secondDigitValue, value; - if (typeof index !== "number") - return index.$add(); - t1 = index + 2; + _Uri__normalizeEscape(source, index, lowerCase) { + var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, + t1 = index + 2; if (t1 >= source.length) return "%"; - firstDigit = J.getInterceptor$s(source).codeUnitAt$1(source, index + 1); - secondDigit = C.JSString_methods.codeUnitAt$1(source, t1); - firstDigitValue = H.hexDigitValue(firstDigit); - secondDigitValue = H.hexDigitValue(secondDigit); + firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1); + secondDigit = B.JSString_methods.codeUnitAt$1(source, t1); + firstDigitValue = A.hexDigitValue(firstDigit); + secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) return "%"; value = firstDigitValue * 16 + secondDigitValue; if (value < 127) { - t1 = C.JSInt_methods._shrOtherPositive$1(value, 4); - if (t1 >= 8) - return H.ioore(C.List_nxB, t1); - t1 = (C.List_nxB[t1] & 1 << (value & 15)) !== 0; + t1 = B.JSInt_methods._shrOtherPositive$1(value, 4); + if (!(t1 < 8)) + return A.ioore(B.List_nxB, t1); + t1 = (B.List_nxB[t1] & 1 << (value & 15)) !== 0; } else t1 = false; if (t1) - return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); + return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); if (firstDigit >= 97 || secondDigit >= 97) - return C.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); - return; + return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); + return null; }, - _Uri__escapeChar: function(char) { - var t1, codeUnits, flag, encodedBytes, index, byte; + _Uri__escapeChar(char) { + var codeUnits, flag, encodedBytes, t1, index, byte, t2, t3, + _s16_ = "0123456789ABCDEF"; if (char < 128) { - t1 = new Array(3); - t1.fixed$length = Array; - codeUnits = H.setRuntimeTypeInfo(t1, [P.int]); - C.JSArray_methods.$indexSet(codeUnits, 0, 37); - C.JSArray_methods.$indexSet(codeUnits, 1, C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", char >>> 4)); - C.JSArray_methods.$indexSet(codeUnits, 2, C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", char & 15)); + codeUnits = new Uint8Array(3); + codeUnits[0] = 37; + codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4); + codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15); } else { if (char > 2047) if (char > 65535) { @@ -4853,167 +5454,163 @@ flag = 192; encodedBytes = 2; } - t1 = new Array(3 * encodedBytes); - t1.fixed$length = Array; - codeUnits = H.setRuntimeTypeInfo(t1, [P.int]); + t1 = 3 * encodedBytes; + codeUnits = new Uint8Array(t1); for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) { - byte = C.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; - C.JSArray_methods.$indexSet(codeUnits, index, 37); - C.JSArray_methods.$indexSet(codeUnits, index + 1, C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", byte >>> 4)); - C.JSArray_methods.$indexSet(codeUnits, index + 2, C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", byte & 15)); + byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; + if (!(index < t1)) + return A.ioore(codeUnits, index); + codeUnits[index] = 37; + t2 = index + 1; + t3 = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); + if (!(t2 < t1)) + return A.ioore(codeUnits, t2); + codeUnits[t2] = t3; + t3 = index + 2; + t2 = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15); + if (!(t3 < t1)) + return A.ioore(codeUnits, t3); + codeUnits[t3] = t2; index += 3; } } - return P.String_String$fromCharCodes(codeUnits, 0, null); - }, - _Uri__normalizeOrSubstring: function(component, start, end, charTable, escapeDelimiters) { - var t1 = P._Uri__normalize(component, start, end, H.assertSubtype(charTable, "$isList", [P.int], "$asList"), escapeDelimiters); - return t1 == null ? J.substring$2$s(component, start, end) : t1; - }, - _Uri__normalize: function(component, start, end, charTable, escapeDelimiters) { - var t1, t2, index, sectionStart, buffer, char, t3, replacement, sourceLength, tail; - H.assertSubtype(charTable, "$isList", [P.int], "$asList"); - t1 = !escapeDelimiters; - t2 = J.getInterceptor$s(component); - index = start; - sectionStart = index; - buffer = null; - while (true) { - if (typeof index !== "number") - return index.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(index < end)) - break; - c$0: { - char = t2.codeUnitAt$1(component, index); - if (char < 127) { - t3 = char >>> 4; - if (t3 >= 8) - return H.ioore(charTable, t3); - t3 = (charTable[t3] & 1 << (char & 15)) !== 0; - } else - t3 = false; - if (t3) - ++index; - else { - if (char === 37) { - replacement = P._Uri__normalizeEscape(component, index, false); - if (replacement == null) { - index += 3; - break c$0; - } - if ("%" === replacement) { - replacement = "%25"; - sourceLength = 1; - } else - sourceLength = 3; - } else { - if (t1) - if (char <= 93) { - t3 = char >>> 4; - if (t3 >= 8) - return H.ioore(C.List_2Vk, t3); - t3 = (C.List_2Vk[t3] & 1 << (char & 15)) !== 0; - } else - t3 = false; - else - t3 = false; - if (t3) { - P._Uri__fail(component, index, "Invalid character"); - replacement = null; - sourceLength = null; - } else { - if ((char & 64512) === 55296) { - t3 = index + 1; - if (t3 < end) { - tail = C.JSString_methods.codeUnitAt$1(component, t3); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } else - sourceLength = 1; - } else + return A.String_String$fromCharCodes(codeUnits, 0, null); + }, + _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) { + var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters); + return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; + }, + _Uri__normalize(component, start, end, charTable, escapeDelimiters) { + var t1, index, sectionStart, buffer, char, t2, replacement, sourceLength, tail, t3, _null = null; + for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) { + char = B.JSString_methods.codeUnitAt$1(component, index); + if (char < 127) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(charTable, t2); + t2 = (charTable[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + if (t2) + ++index; + else { + if (char === 37) { + replacement = A._Uri__normalizeEscape(component, index, false); + if (replacement == null) { + index += 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else + sourceLength = 3; + } else { + if (t1) + if (char <= 93) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_2Vk, t2); + t2 = (B.List_2Vk[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + else + t2 = false; + if (t2) { + A._Uri__fail(component, index, "Invalid character"); + sourceLength = _null; + replacement = sourceLength; + } else { + if ((char & 64512) === 55296) { + t2 = index + 1; + if (t2 < end) { + tail = B.JSString_methods.codeUnitAt$1(component, t2); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else sourceLength = 1; } else sourceLength = 1; - replacement = P._Uri__escapeChar(char); - } + } else + sourceLength = 1; + replacement = A._Uri__escapeChar(char); } - if (buffer == null) - buffer = new P.StringBuffer(""); - buffer._contents += C.JSString_methods.substring$2(component, sectionStart, index); - buffer._contents += H.S(replacement); - if (typeof sourceLength !== "number") - return H.iae(sourceLength); - index += sourceLength; - sectionStart = index; } + if (buffer == null) { + buffer = new A.StringBuffer(""); + t2 = buffer; + } else + t2 = buffer; + t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); + t2._contents = t3 + A.S(replacement); + if (typeof sourceLength !== "number") + return A.iae(sourceLength); + index += sourceLength; + sectionStart = index; } } if (buffer == null) - return; - if (typeof sectionStart !== "number") - return sectionStart.$lt(); + return _null; if (sectionStart < end) - buffer._contents += t2.substring$2(component, sectionStart, end); + buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__mayContainDotSegments: function(path) { - if (J.getInterceptor$s(path).startsWith$1(path, ".")) + _Uri__mayContainDotSegments(path) { + if (B.JSString_methods.startsWith$1(path, ".")) return true; - return C.JSString_methods.indexOf$1(path, "/.") !== -1; + return B.JSString_methods.indexOf$1(path, "/.") !== -1; }, - _Uri__removeDotSegments: function(path) { + _Uri__removeDotSegments(path) { var output, t1, t2, appendSlash, _i, segment, t3; - if (!P._Uri__mayContainDotSegments(path)) + if (!A._Uri__mayContainDotSegments(path)) return path; - output = H.setRuntimeTypeInfo([], [P.String]); + output = A._setArrayType([], type$.JSArray_String); for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { segment = t1[_i]; if (J.$eq$(segment, "..")) { t3 = output.length; if (t3 !== 0) { if (0 >= t3) - return H.ioore(output, -1); + return A.ioore(output, -1); output.pop(); if (output.length === 0) - C.JSArray_methods.add$1(output, ""); + B.JSArray_methods.add$1(output, ""); } appendSlash = true; } else if ("." === segment) appendSlash = true; else { - C.JSArray_methods.add$1(output, segment); + B.JSArray_methods.add$1(output, segment); appendSlash = false; } } if (appendSlash) - C.JSArray_methods.add$1(output, ""); - return C.JSArray_methods.join$1(output, "/"); + B.JSArray_methods.add$1(output, ""); + return B.JSArray_methods.join$1(output, "/"); }, - _Uri__normalizeRelativePath: function(path, allowScheme) { + _Uri__normalizeRelativePath(path, allowScheme) { var output, t1, t2, appendSlash, _i, segment; - if (!P._Uri__mayContainDotSegments(path)) - return !allowScheme ? P._Uri__escapeScheme(path) : path; - output = H.setRuntimeTypeInfo([], [P.String]); + if (!A._Uri__mayContainDotSegments(path)) + return !allowScheme ? A._Uri__escapeScheme(path) : path; + output = A._setArrayType([], type$.JSArray_String); for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { segment = t1[_i]; if (".." === segment) - if (output.length !== 0 && C.JSArray_methods.get$last(output) !== "..") { + if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") { if (0 >= output.length) - return H.ioore(output, -1); + return A.ioore(output, -1); output.pop(); appendSlash = true; } else { - C.JSArray_methods.add$1(output, ".."); + B.JSArray_methods.add$1(output, ".."); appendSlash = false; } else if ("." === segment) appendSlash = true; else { - C.JSArray_methods.add$1(output, segment); + B.JSArray_methods.add$1(output, segment); appendSlash = false; } } @@ -5021,7 +5618,7 @@ if (t1 !== 0) if (t1 === 1) { if (0 >= t1) - return H.ioore(output, 0); + return A.ioore(output, 0); t1 = output[0].length === 0; } else t1 = false; @@ -5029,28 +5626,28 @@ t1 = true; if (t1) return "./"; - if (appendSlash || C.JSArray_methods.get$last(output) === "..") - C.JSArray_methods.add$1(output, ""); + if (appendSlash || B.JSArray_methods.get$last(output) === "..") + B.JSArray_methods.add$1(output, ""); if (!allowScheme) { if (0 >= output.length) - return H.ioore(output, 0); - C.JSArray_methods.$indexSet(output, 0, P._Uri__escapeScheme(output[0])); + return A.ioore(output, 0); + B.JSArray_methods.$indexSet(output, 0, A._Uri__escapeScheme(output[0])); } - return C.JSArray_methods.join$1(output, "/"); + return B.JSArray_methods.join$1(output, "/"); }, - _Uri__escapeScheme: function(path) { - var t1, i, char, t2; - t1 = path.length; - if (t1 >= 2 && P._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(path, 0))) + _Uri__escapeScheme(path) { + var i, char, t2, + t1 = path.length; + if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0))) for (i = 1; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(path, i); + char = B.JSString_methods._codeUnitAt$1(path, i); if (char === 58) - return C.JSString_methods.substring$2(path, 0, i) + "%3A" + C.JSString_methods.substring$1(path, i + 1); + return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1); if (char <= 127) { t2 = char >>> 4; - if (t2 >= 8) - return H.ioore(C.List_JYB, t2); - t2 = (C.List_JYB[t2] & 1 << (char & 15)) === 0; + if (!(t2 < 8)) + return A.ioore(B.List_JYB, t2); + t2 = (B.List_JYB[t2] & 1 << (char & 15)) === 0; } else t2 = true; if (t2) @@ -5058,34 +5655,39 @@ } return path; }, - _Uri__toWindowsFilePath: function(uri) { - var segments, t1, hasDriveLetter, t2, host; - segments = uri.get$pathSegments(); - t1 = segments.length; + _Uri__packageNameEnd(uri, path) { + if (uri.isScheme$1("package") && uri._host == null) + return A._skipPackageNameChars(path, 0, path.length); + return -1; + }, + _Uri__toWindowsFilePath(uri) { + var hasDriveLetter, t2, host, + segments = uri.get$pathSegments(), + t1 = segments.length; if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) { if (0 >= t1) - return H.ioore(segments, 0); - P._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); - P._Uri__checkWindowsPathReservedCharacters(segments, false, 1); + return A.ioore(segments, 0); + A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); + A._Uri__checkWindowsPathReservedCharacters(segments, false, 1); hasDriveLetter = true; } else { - P._Uri__checkWindowsPathReservedCharacters(segments, false, 0); + A._Uri__checkWindowsPathReservedCharacters(segments, false, 0); hasDriveLetter = false; } - t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : ""; + t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : ""; if (uri.get$hasAuthority()) { host = uri.get$host(uri); if (host.length !== 0) - t2 = t2 + "\\" + H.S(host) + "\\"; + t2 = t2 + "\\" + host + "\\"; } - t2 = P.StringBuffer__writeAll(t2, segments, "\\"); + t2 = A.StringBuffer__writeAll(t2, segments, "\\"); t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _Uri__hexCharPairToByte: function(s, pos) { - var t1, byte, i, charCode; - for (t1 = J.getInterceptor$s(s), byte = 0, i = 0; i < 2; ++i) { - charCode = t1._codeUnitAt$1(s, pos + i); + _Uri__hexCharPairToByte(s, pos) { + var byte, i, charCode; + for (byte = 0, i = 0; i < 2; ++i) { + charCode = B.JSString_methods._codeUnitAt$1(s, pos + i); if (48 <= charCode && charCode <= 57) byte = byte * 16 + charCode - 48; else { @@ -5093,84 +5695,83 @@ if (97 <= charCode && charCode <= 102) byte = byte * 16 + charCode - 87; else - throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); + throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null)); } } return byte; }, - _Uri__uriDecode: function(text, start, end, encoding, plusToSpace) { - var simple, t1, i, codeUnit, t2, bytes; - t1 = J.getInterceptor$s(text); - i = start; + _Uri__uriDecode(text, start, end, encoding, plusToSpace) { + var simple, codeUnit, t1, bytes, + i = start; while (true) { if (!(i < end)) { simple = true; break; } - codeUnit = t1._codeUnitAt$1(text, i); + codeUnit = B.JSString_methods._codeUnitAt$1(text, i); if (codeUnit <= 127) if (codeUnit !== 37) - t2 = plusToSpace && codeUnit === 43; + t1 = plusToSpace && codeUnit === 43; else - t2 = true; + t1 = true; else - t2 = true; - if (t2) { + t1 = true; + if (t1) { simple = false; break; } ++i; } if (simple) { - if (C.Utf8Codec_false !== encoding) - t2 = false; + if (B.C_Utf8Codec !== encoding) + t1 = false; else - t2 = true; - if (t2) - return t1.substring$2(text, start, end); + t1 = true; + if (t1) + return B.JSString_methods.substring$2(text, start, end); else - bytes = new H.CodeUnits(t1.substring$2(text, start, end)); + bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end)); } else { - bytes = H.setRuntimeTypeInfo([], [P.int]); - for (i = start; i < end; ++i) { - codeUnit = t1._codeUnitAt$1(text, i); + bytes = A._setArrayType([], type$.JSArray_int); + for (t1 = text.length, i = start; i < end; ++i) { + codeUnit = B.JSString_methods._codeUnitAt$1(text, i); if (codeUnit > 127) - throw H.wrapException(P.ArgumentError$("Illegal percent encoding in URI")); + throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); if (codeUnit === 37) { - if (i + 3 > text.length) - throw H.wrapException(P.ArgumentError$("Truncated URI")); - C.JSArray_methods.add$1(bytes, P._Uri__hexCharPairToByte(text, i + 1)); + if (i + 3 > t1) + throw A.wrapException(A.ArgumentError$("Truncated URI", null)); + B.JSArray_methods.add$1(bytes, A._Uri__hexCharPairToByte(text, i + 1)); i += 2; } else if (plusToSpace && codeUnit === 43) - C.JSArray_methods.add$1(bytes, 32); + B.JSArray_methods.add$1(bytes, 32); else - C.JSArray_methods.add$1(bytes, codeUnit); + B.JSArray_methods.add$1(bytes, codeUnit); } } - H.assertSubtype(bytes, "$isList", [P.int], "$asList"); - return new P.Utf8Decoder(false).convert$1(bytes); + type$.List_int._as(bytes); + return B.Utf8Decoder_false.convert$1(bytes); }, - _Uri__isAlphabeticCharacter: function(codeUnit) { + _Uri__isAlphabeticCharacter(codeUnit) { var lowerCase = codeUnit | 32; return 97 <= lowerCase && lowerCase <= 122; }, - UriData__writeUri: function(mimeType, charsetName, parameters, buffer, indices) { + UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) { var slashIndex, t1; if (true) buffer._contents = buffer._contents; else { - slashIndex = P.UriData__validateMimeType(""); + slashIndex = A.UriData__validateMimeType(""); if (slashIndex < 0) - throw H.wrapException(P.ArgumentError$value("", "mimeType", "Invalid MIME type")); - t1 = buffer._contents += H.S(P._Uri__uriEncode(C.List_qFt, C.JSString_methods.substring$2("", 0, slashIndex), C.Utf8Codec_false, false)); + throw A.wrapException(A.ArgumentError$value("", "mimeType", "Invalid MIME type")); + t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2("", 0, slashIndex), B.C_Utf8Codec, false); buffer._contents = t1 + "/"; - buffer._contents += H.S(P._Uri__uriEncode(C.List_qFt, C.JSString_methods.substring$1("", slashIndex + 1), C.Utf8Codec_false, false)); + buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1("", slashIndex + 1), B.C_Utf8Codec, false); } }, - UriData__validateMimeType: function(mimeType) { + UriData__validateMimeType(mimeType) { var t1, slashIndex, i; for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) { - if (C.JSString_methods._codeUnitAt$1(mimeType, i) !== 47) + if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47) continue; if (slashIndex < 0) { slashIndex = i; @@ -5180,11 +5781,12 @@ } return slashIndex; }, - UriData__parse: function(text, start, sourceUri) { - var indices, t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data; - indices = H.setRuntimeTypeInfo([start - 1], [P.int]); + UriData__parse(text, start, sourceUri) { + var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data, + _s17_ = "Invalid MIME type", + indices = A._setArrayType([start - 1], type$.JSArray_int); for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(text, i); + char = B.JSString_methods._codeUnitAt$1(text, i); if (char === 44 || char === 59) break; if (char === 47) { @@ -5192,16 +5794,16 @@ slashIndex = i; continue; } - throw H.wrapException(P.FormatException$("Invalid MIME type", text, i)); + throw A.wrapException(A.FormatException$(_s17_, text, i)); } } if (slashIndex < 0 && i > start) - throw H.wrapException(P.FormatException$("Invalid MIME type", text, i)); + throw A.wrapException(A.FormatException$(_s17_, text, i)); for (; char !== 44;) { - C.JSArray_methods.add$1(indices, i); + B.JSArray_methods.add$1(indices, i); ++i; for (equalsIndex = -1; i < t1; ++i) { - char = C.JSString_methods._codeUnitAt$1(text, i); + char = B.JSString_methods._codeUnitAt$1(text, i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; @@ -5209,230 +5811,255 @@ break; } if (equalsIndex >= 0) - C.JSArray_methods.add$1(indices, equalsIndex); + B.JSArray_methods.add$1(indices, equalsIndex); else { - lastSeparator = C.JSArray_methods.get$last(indices); - if (char !== 44 || i !== lastSeparator + 7 || !C.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) - throw H.wrapException(P.FormatException$("Expecting '='", text, i)); + lastSeparator = B.JSArray_methods.get$last(indices); + if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) + throw A.wrapException(A.FormatException$("Expecting '='", text, i)); break; } } - C.JSArray_methods.add$1(indices, i); + B.JSArray_methods.add$1(indices, i); t2 = i + 1; if ((indices.length & 1) === 1) - text = C.Base64Codec_Base64Encoder_false.normalize$3(text, t2, t1); + text = B.C_Base64Codec.normalize$3(0, text, t2, t1); else { - data = P._Uri__normalize(text, t2, t1, C.List_CVk, true); + data = A._Uri__normalize(text, t2, t1, B.List_CVk, true); if (data != null) - text = C.JSString_methods.replaceRange$3(text, t2, t1, data); + text = B.JSString_methods.replaceRange$3(text, t2, t1, data); } - return new P.UriData(text, indices, sourceUri); + return new A.UriData(text, indices, sourceUri); }, - UriData__uriEncodeBytes: function(canonicalTable, bytes, buffer) { - var t1, byteOr, i, byte, t2; - t1 = [P.int]; - H.assertSubtype(canonicalTable, "$isList", t1, "$asList"); - H.assertSubtype(bytes, "$isList", t1, "$asList"); + UriData__uriEncodeBytes(canonicalTable, bytes, buffer) { + var t1, byteOr, i, byte, t2, t3, + _s16_ = "0123456789ABCDEF"; for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) { byte = t1.$index(bytes, i); - if (typeof byte !== "number") - return H.iae(byte); byteOr |= byte; if (byte < 128) { - t2 = C.JSInt_methods._shrOtherPositive$1(byte, 4); - if (t2 >= 8) - return H.ioore(canonicalTable, t2); + t2 = B.JSInt_methods._shrOtherPositive$1(byte, 4); + if (!(t2 < 8)) + return A.ioore(canonicalTable, t2); t2 = (canonicalTable[t2] & 1 << (byte & 15)) !== 0; } else t2 = false; + t3 = buffer._contents; if (t2) - buffer._contents += H.Primitives_stringFromCharCode(byte); + buffer._contents = t3 + A.Primitives_stringFromCharCode(byte); else { - buffer._contents += H.Primitives_stringFromCharCode(37); - buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", C.JSInt_methods._shrOtherPositive$1(byte, 4))); - buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods._codeUnitAt$1("0123456789ABCDEF", byte & 15)); + t2 = t3 + A.Primitives_stringFromCharCode(37); + buffer._contents = t2; + t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4))); + buffer._contents = t2; + buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15)); } } if ((byteOr & 4294967040) >>> 0 !== 0) for (i = 0; i < t1.get$length(bytes); ++i) { byte = t1.$index(bytes, i); - if (typeof byte !== "number") - return byte.$lt(); if (byte < 0 || byte > 255) - throw H.wrapException(P.ArgumentError$value(byte, "non-byte value", null)); + throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null)); } }, - _createTables: function() { - var tables, t1, t2, t3, b; - tables = P.List_List$generate(22, new P._createTables_closure(), true, P.Uint8List); - t1 = new P._createTables_build(tables); - t2 = new P._createTables_setChars(); - t3 = new P._createTables_setRange(); - b = H.interceptedTypeCheck(t1.call$2(0, 225), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 1); - t2.call$3(b, ".", 14); - t2.call$3(b, ":", 34); - t2.call$3(b, "/", 3); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(14, 225), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 1); - t2.call$3(b, ".", 15); - t2.call$3(b, ":", 34); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(15, 225), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 1); + _createTables() { + var _i, t1, t2, t3, t4, b, + _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", + _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#", + tables = A._setArrayType(new Array(22), type$.JSArray_Uint8List); + for (_i = 0; _i < 22; ++_i) + tables[_i] = new Uint8Array(96); + t1 = new A._createTables_build(tables); + t2 = new A._createTables_setChars(); + t3 = new A._createTables_setRange(); + t4 = type$.Uint8List._as(t1.call$2(0, 225)); + t2.call$3(t4, _s77_, 1); + t2.call$3(t4, _s1_, 14); + t2.call$3(t4, _s1_0, 34); + t2.call$3(t4, _s1_1, 3); + t2.call$3(t4, _s1_2, 172); + t2.call$3(t4, _s1_3, 205); + b = t1.call$2(14, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_, 15); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(15, 225); + t2.call$3(b, _s77_, 1); t2.call$3(b, "%", 225); - t2.call$3(b, ":", 34); - t2.call$3(b, "/", 9); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(1, 225), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 1); - t2.call$3(b, ":", 34); - t2.call$3(b, "/", 10); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(2, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 139); - t2.call$3(b, "/", 131); - t2.call$3(b, ".", 146); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(3, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, "/", 68); - t2.call$3(b, ".", 18); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(4, 229), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 5); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 9); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(1, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(2, 235); + t2.call$3(b, _s77_, 139); + t2.call$3(b, _s1_1, 131); + t2.call$3(b, _s1_, 146); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(3, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 68); + t2.call$3(b, _s1_, 18); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(4, 229); + t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); - t2.call$3(b, ":", 102); + t2.call$3(b, _s1_0, 102); t2.call$3(b, "@", 68); t2.call$3(b, "[", 232); - t2.call$3(b, "/", 138); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(5, 229), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 5); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(5, 229); + t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); - t2.call$3(b, ":", 102); + t2.call$3(b, _s1_0, 102); t2.call$3(b, "@", 68); - t2.call$3(b, "/", 138); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(6, 231), "$isUint8List"); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(6, 231); t3.call$3(b, "19", 7); t2.call$3(b, "@", 68); - t2.call$3(b, "/", 138); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(7, 231), "$isUint8List"); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(7, 231); t3.call$3(b, "09", 7); t2.call$3(b, "@", 68); - t2.call$3(b, "/", 138); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - t2.call$3(H.interceptedTypeCheck(t1.call$2(8, 8), "$isUint8List"), "]", 5); - b = H.interceptedTypeCheck(t1.call$2(9, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, ".", 16); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(16, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, ".", 17); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(17, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, "/", 9); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(10, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, ".", 18); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(18, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, ".", 19); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(19, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, "/", 234); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(11, 235), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 11); - t2.call$3(b, "/", 10); - t2.call$3(b, "?", 172); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(12, 236), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 12); - t2.call$3(b, "?", 12); - t2.call$3(b, "#", 205); - b = H.interceptedTypeCheck(t1.call$2(13, 237), "$isUint8List"); - t2.call$3(b, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", 13); - t2.call$3(b, "?", 13); - t3.call$3(H.interceptedTypeCheck(t1.call$2(20, 245), "$isUint8List"), "az", 21); - b = H.interceptedTypeCheck(t1.call$2(21, 245), "$isUint8List"); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + t2.call$3(t1.call$2(8, 8), "]", 5); + b = t1.call$2(9, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 16); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(16, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 17); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(17, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 9); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(10, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 18); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(18, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 19); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(19, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 234); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(11, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 172); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(12, 236); + t2.call$3(b, _s77_, 12); + t2.call$3(b, _s1_2, 12); + t2.call$3(b, _s1_3, 205); + b = t1.call$2(13, 237); + t2.call$3(b, _s77_, 13); + t2.call$3(b, _s1_2, 13); + t3.call$3(t1.call$2(20, 245), "az", 21); + b = t1.call$2(21, 245); t3.call$3(b, "az", 21); t3.call$3(b, "09", 21); t2.call$3(b, "+-.", 21); return tables; }, - _scan: function(uri, start, end, state, indices) { - var tables, t1, i, table, char, transition; - H.assertSubtype(indices, "$isList", [P.int], "$asList"); - tables = $.$get$_scannerTables(); - if (typeof end !== "number") - return H.iae(end); - t1 = J.getInterceptor$s(uri); - i = start; - for (; i < end; ++i) { - if (state < 0 || state >= tables.length) - return H.ioore(tables, state); + _scan(uri, start, end, state, indices) { + var i, table, char, transition, + tables = $.$get$_scannerTables(); + for (i = start; i < end; ++i) { + if (!(state >= 0 && state < tables.length)) + return A.ioore(tables, state); table = tables[state]; - char = t1._codeUnitAt$1(uri, i) ^ 96; - if (char > 95) - char = 31; - if (char >= table.length) - return H.ioore(table, char); - transition = table[char]; + char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96; + transition = table[char > 95 ? 31 : char]; state = transition & 31; - C.JSArray_methods.$indexSet(indices, transition >>> 5, i); + B.JSArray_methods.$indexSet(indices, transition >>> 5, i); } return state; }, + _SimpleUri__packageNameEnd(uri) { + if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0) + return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart); + return -1; + }, + _skipPackageNameChars(source, start, end) { + var i, dots, char; + for (i = start, dots = 0; i < end; ++i) { + char = B.JSString_methods.codeUnitAt$1(source, i); + if (char === 47) + return dots !== 0 ? i : -1; + if (char === 37 || char === 58) + return -1; + dots |= char ^ 46; + } + return -1; + }, + _caseInsensitiveCompareStart(prefix, string, start) { + var t1, result, i, prefixChar, stringChar, delta, lowerChar; + for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) { + prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i); + stringChar = B.JSString_methods._codeUnitAt$1(string, start + i); + delta = prefixChar ^ stringChar; + if (delta !== 0) { + if (delta === 32) { + lowerChar = stringChar | delta; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; + }, NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { this._box_0 = t0; this.sb = t1; }, - bool: function bool() { - }, DateTime: function DateTime(t0, t1) { - this._core$_value = t0; + this._value = t0; this.isUtc = t1; }, - double: function double() { - }, Duration: function Duration(t0) { this._duration = t0; }, - Duration_toString_sixDigits: function Duration_toString_sixDigits() { + Error: function Error() { }, - Duration_toString_twoDigits: function Duration_toString_twoDigits() { + AssertionError: function AssertionError(t0) { + this.message = t0; }, - Error: function Error() { + TypeError: function TypeError() { }, NullThrownError: function NullThrownError() { }, @@ -5460,13 +6087,12 @@ _.name = t3; _.message = t4; }, - NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3, t4) { + NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) { var _ = this; _._core$_receiver = t0; _._core$_memberName = t1; _._core$_arguments = t2; _._namedArguments = t3; - _._existingArgumentNames = t4; }, UnsupportedError: function UnsupportedError(t0) { this.message = t0; @@ -5495,38 +6121,20 @@ this.source = t1; this.offset = t2; }, - Function: function Function() { - }, - int: function int() { - }, Iterable: function Iterable() { }, Iterator: function Iterator() { }, - List: function List() { - }, - Map: function Map() { - }, Null: function Null() { }, - num: function num() { - }, Object: function Object() { }, - Match: function Match() { - }, - StackTrace: function StackTrace() { - }, _StringStackTrace: function _StringStackTrace(t0) { this._stackTrace = t0; }, - String: function String() { - }, StringBuffer: function StringBuffer(t0) { this._contents = t0; }, - Symbol0: function Symbol0() { - }, Uri_splitQueryString_closure: function Uri_splitQueryString_closure(t0) { this.encoding = t0; }, @@ -5549,14 +6157,7 @@ _.path = t4; _._query = t5; _._fragment = t6; - _._queryParameters = _._hashCodeCache = _._text = _._pathSegments = null; - }, - _Uri__Uri$notSimple_closure: function _Uri__Uri$notSimple_closure(t0, t1) { - this.uri = t0; - this.portStart = t1; - }, - _Uri__checkNonWindowsPathReservedCharacters_closure: function _Uri__checkNonWindowsPathReservedCharacters_closure(t0) { - this.argumentError = t0; + _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, _Uri__makePath_closure: function _Uri__makePath_closure() { }, @@ -5565,8 +6166,6 @@ this._separatorIndices = t1; this._uriCache = t2; }, - _createTables_closure: function _createTables_closure() { - }, _createTables_build: function _createTables_build(t0) { this.tables = t0; }, @@ -5595,224 +6194,360 @@ _.path = t4; _._query = t5; _._fragment = t6; - _._queryParameters = _._hashCodeCache = _._text = _._pathSegments = null; + _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, - convertNativePromiseToDartFuture: function(promise) { - var t1, completer; - t1 = new P._Future(0, $.Zone__current, [null]); - completer = new P._AsyncCompleter(t1, [null]); - promise.then(H.convertDartClosureToJS(new P.convertNativePromiseToDartFuture_closure(completer), 1))["catch"](H.convertDartClosureToJS(new P.convertNativePromiseToDartFuture_closure0(completer), 1)); - return t1; - }, - _StructuredClone: function _StructuredClone() { + HtmlElement: function HtmlElement() { }, - _StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; + AccessibleNodeList: function AccessibleNodeList() { }, - _AcceptStructuredClone: function _AcceptStructuredClone() { + AnchorElement: function AnchorElement() { }, - _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { - this._box_0 = t0; - this.$this = t1; + AreaElement: function AreaElement() { }, - _StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) { - this.values = t0; - this.copies = t1; + Blob: function Blob() { }, - _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { - this.values = t0; - this.copies = t1; - this.mustCopy = false; + CharacterData: function CharacterData() { }, - convertNativePromiseToDartFuture_closure: function convertNativePromiseToDartFuture_closure(t0) { - this.completer = t0; + CssPerspective: function CssPerspective() { }, - convertNativePromiseToDartFuture_closure0: function convertNativePromiseToDartFuture_closure0(t0) { - this.completer = t0; + CssRule: function CssRule() { }, - SvgElement: function SvgElement() { + CssStyleDeclaration: function CssStyleDeclaration() { }, - Uint8List: function Uint8List() { + CssStyleDeclarationBase: function CssStyleDeclarationBase() { }, - _convertDartFunctionFast: function(f) { - var existing, ret; - existing = f.$dart_jsFunction; - if (existing != null) - return existing; - ret = function(_call, f) { - return function() { - return _call(f, Array.prototype.slice.apply(arguments)); - }; - }(P._callDartFunctionFast, f); - ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; - f.$dart_jsFunction = ret; - return ret; + CssStyleValue: function CssStyleValue() { }, - _callDartFunctionFast: function(callback, $arguments) { - H.listTypeCheck($arguments); - H.interceptedTypeCheck(callback, "$isFunction"); - return H.Primitives_applyFunction(callback, $arguments, null); + CssTransformComponent: function CssTransformComponent() { }, - allowInterop: function(f, $F) { - H.assertIsSubtype($F, P.Function, "The type argument '", "' is not a subtype of the type variable bound '", "' of type variable 'F' in 'allowInterop'."); - H.assertSubtypeOfRuntimeType(f, $F); - if (typeof f == "function") - return f; - else - return H.assertSubtypeOfRuntimeType(P._convertDartFunctionFast(f), $F); + CssTransformValue: function CssTransformValue() { }, - max: function(a, b, $T) { - H.assertIsSubtype($T, P.num, "The type argument '", "' is not a subtype of the type variable bound '", "' of type variable 'T' in 'max'."); - H.assertSubtypeOfRuntimeType(a, $T); - H.assertSubtypeOfRuntimeType(b, $T); - return Math.max(H.checkNum(a), H.checkNum(b)); - } - }, - W = { - window: function() { - return window; + CssUnparsedValue: function CssUnparsedValue() { }, - WebSocket_WebSocket: function(url) { - return new WebSocket(url); + DataTransferItemList: function DataTransferItemList() { }, - _EventStreamSubscription$: function(_target, _eventType, onData, _useCapture, $T) { - var t1 = onData == null ? null : W._wrapZone(new W._EventStreamSubscription_closure(onData), W.Event); - t1 = new W._EventStreamSubscription(_target, _eventType, t1, false, [$T]); - t1._tryResume$0(); - return t1; + DomException: function DomException() { }, - _convertNativeToDart_Window: function(win) { - if (win == null) - return; - return W._DOMWindowCrossFrame__createSafe(win); + DomRectList: function DomRectList() { }, - _DOMWindowCrossFrame__createSafe: function(w) { - if (w === window) - return H.interceptedTypeCheck(w, "$isWindowBase"); - else - return new W._DOMWindowCrossFrame(w); + DomRectReadOnly: function DomRectReadOnly() { }, - _wrapZone: function(callback, $T) { - var t1; - H.functionTypeCheck(callback, {func: 1, ret: -1, args: [$T]}); - t1 = $.Zone__current; - if (t1 === C.C__RootZone) - return callback; - return t1.bindUnaryCallbackGuarded$1$1(callback, $T); + DomStringList: function DomStringList() { }, - HtmlElement: function HtmlElement() { + DomTokenList: function DomTokenList() { }, - AnchorElement: function AnchorElement() { + Element: function Element() { }, - AreaElement: function AreaElement() { + EventTarget: function EventTarget() { }, - Blob: function Blob() { + File: function File() { }, - CharacterData: function CharacterData() { + FileList: function FileList() { }, - DomException: function DomException() { + FileWriter: function FileWriter() { }, - DomTokenList: function DomTokenList() { + FormElement: function FormElement() { }, - Element: function Element() { + Gamepad: function Gamepad() { }, - Event: function Event() { + History: function History() { }, - EventTarget: function EventTarget() { + HtmlCollection: function HtmlCollection() { }, - File: function File() { + Location: function Location() { }, - FormElement: function FormElement() { + MediaList: function MediaList() { }, - HtmlCollection: function HtmlCollection() { + MidiInputMap: function MidiInputMap() { }, - IFrameElement: function IFrameElement() { + MidiInputMap_keys_closure: function MidiInputMap_keys_closure(t0) { + this.keys = t0; }, - Location: function Location() { + MidiOutputMap: function MidiOutputMap() { }, - MessageEvent: function MessageEvent() { + MidiOutputMap_keys_closure: function MidiOutputMap_keys_closure(t0) { + this.keys = t0; }, - MessagePort: function MessagePort() { + MimeType: function MimeType() { }, - MouseEvent: function MouseEvent() { + MimeTypeArray: function MimeTypeArray() { }, Node: function Node() { }, + NodeList: function NodeList() { + }, + Plugin: function Plugin() { + }, + PluginArray: function PluginArray() { + }, + RtcStatsReport: function RtcStatsReport() { + }, + RtcStatsReport_keys_closure: function RtcStatsReport_keys_closure(t0) { + this.keys = t0; + }, SelectElement: function SelectElement() { }, - UIEvent: function UIEvent() { + SourceBuffer: function SourceBuffer() { }, - Window: function Window() { + SourceBufferList: function SourceBufferList() { }, - _EventStream: function _EventStream(t0, t1, t2, t3) { - var _ = this; - _._html$_target = t0; - _._eventType = t1; - _._useCapture = t2; - _.$ti = t3; + SpeechGrammar: function SpeechGrammar() { }, - _ElementEventStreamImpl: function _ElementEventStreamImpl(t0, t1, t2, t3) { - var _ = this; - _._html$_target = t0; - _._eventType = t1; - _._useCapture = t2; - _.$ti = t3; + SpeechGrammarList: function SpeechGrammarList() { }, - _EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) { - var _ = this; - _._pauseCount = 0; - _._html$_target = t0; - _._eventType = t1; - _._onData = t2; - _._useCapture = t3; - _.$ti = t4; + SpeechRecognitionResult: function SpeechRecognitionResult() { + }, + Storage: function Storage() { + }, + Storage_keys_closure: function Storage_keys_closure(t0) { + this.keys = t0; + }, + StyleSheet: function StyleSheet() { + }, + TextTrack: function TextTrack() { + }, + TextTrackCue: function TextTrackCue() { + }, + TextTrackCueList: function TextTrackCueList() { + }, + TextTrackList: function TextTrackList() { + }, + TimeRanges: function TimeRanges() { + }, + Touch: function Touch() { + }, + TouchList: function TouchList() { + }, + TrackDefaultList: function TrackDefaultList() { + }, + Url: function Url() { }, - _EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) { - this.onData = t0; + VideoTrackList: function VideoTrackList() { + }, + _CssRuleList: function _CssRuleList() { + }, + _DomRect: function _DomRect() { + }, + _GamepadList: function _GamepadList() { + }, + _NamedNodeMap: function _NamedNodeMap() { + }, + _SpeechRecognitionResultList: function _SpeechRecognitionResultList() { + }, + _StyleSheetList: function _StyleSheetList() { }, ImmutableListMixin: function ImmutableListMixin() { }, - FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2, t3) { + FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { var _ = this; _._array = t0; - _._length = t1; - _._position = t2; - _._current = null; - _.$ti = t3; + _._html$_length = t1; + _._position = -1; + _._html$_current = null; + _.$ti = t2; }, - _DOMWindowCrossFrame: function _DOMWindowCrossFrame(t0) { - this._window = t0; + _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase: function _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase() { }, - _HtmlCollection_Interceptor_ListMixin: function _HtmlCollection_Interceptor_ListMixin() { + _DomRectList_JavaScriptObject_ListMixin: function _DomRectList_JavaScriptObject_ListMixin() { }, - _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin: function _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin() { - } - }, - S = {NullStreamSink: function NullStreamSink(t0, t1) { + _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _DomStringList_JavaScriptObject_ListMixin: function _DomStringList_JavaScriptObject_ListMixin() { + }, + _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _FileList_JavaScriptObject_ListMixin: function _FileList_JavaScriptObject_ListMixin() { + }, + _FileList_JavaScriptObject_ListMixin_ImmutableListMixin: function _FileList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _HtmlCollection_JavaScriptObject_ListMixin: function _HtmlCollection_JavaScriptObject_ListMixin() { + }, + _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin: function _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _MidiInputMap_JavaScriptObject_MapMixin: function _MidiInputMap_JavaScriptObject_MapMixin() { + }, + _MidiOutputMap_JavaScriptObject_MapMixin: function _MidiOutputMap_JavaScriptObject_MapMixin() { + }, + _MimeTypeArray_JavaScriptObject_ListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin() { + }, + _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _NodeList_JavaScriptObject_ListMixin: function _NodeList_JavaScriptObject_ListMixin() { + }, + _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _PluginArray_JavaScriptObject_ListMixin: function _PluginArray_JavaScriptObject_ListMixin() { + }, + _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _RtcStatsReport_JavaScriptObject_MapMixin: function _RtcStatsReport_JavaScriptObject_MapMixin() { + }, + _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { + }, + _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _SpeechGrammarList_JavaScriptObject_ListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin() { + }, + _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _Storage_JavaScriptObject_MapMixin: function _Storage_JavaScriptObject_MapMixin() { + }, + _TextTrackCueList_JavaScriptObject_ListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin() { + }, + _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { + }, + _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _TouchList_JavaScriptObject_ListMixin: function _TouchList_JavaScriptObject_ListMixin() { + }, + _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __CssRuleList_JavaScriptObject_ListMixin: function __CssRuleList_JavaScriptObject_ListMixin() { + }, + __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin: function __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __GamepadList_JavaScriptObject_ListMixin: function __GamepadList_JavaScriptObject_ListMixin() { + }, + __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin: function __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __NamedNodeMap_JavaScriptObject_ListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin() { + }, + __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __SpeechRecognitionResultList_JavaScriptObject_ListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin() { + }, + __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __StyleSheetList_JavaScriptObject_ListMixin: function __StyleSheetList_JavaScriptObject_ListMixin() { + }, + __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin: function __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _convertDataTree(data) { + var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data); + t1.toString; + return t1; + }, + getProperty(o, $name, $T) { + return $T._as(o[$name]); + }, + callMethod(o, method, args, $T) { + return $T._as(o[method].apply(o, args)); + }, + callConstructor(constr, $arguments, $T) { + var args, factoryFunction; + if ($arguments instanceof Array) + switch ($arguments.length) { + case 0: + return $T._as(new constr()); + case 1: + return $T._as(new constr($arguments[0])); + case 2: + return $T._as(new constr($arguments[0], $arguments[1])); + case 3: + return $T._as(new constr($arguments[0], $arguments[1], $arguments[2])); + case 4: + return $T._as(new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3])); + } + args = [null]; + B.JSArray_methods.addAll$1(args, $arguments); + factoryFunction = constr.bind.apply(constr, args); + String(factoryFunction); + return $T._as(new factoryFunction()); + }, + promiseToFuture(jsPromise, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); + jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer, $T), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1)); + return t1; + }, + dartify(o) { + return new A.dartify_convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(o); + }, + _convertDataTree__convert: function _convertDataTree__convert(t0) { + this._convertedObjects = t0; + }, + promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { + this.completer = t0; + this.T = t1; + }, + promiseToFuture_closure0: function promiseToFuture_closure0(t0) { + this.completer = t0; + }, + dartify_convert: function dartify_convert(t0) { + this._convertedObjects = t0; + }, + NullRejectionException: function NullRejectionException(t0) { + this.isUndefined = t0; + }, + Length: function Length() { + }, + LengthList: function LengthList() { + }, + Number: function Number() { + }, + NumberList: function NumberList() { + }, + PointList: function PointList() { + }, + StringList: function StringList() { + }, + Transform: function Transform() { + }, + TransformList: function TransformList() { + }, + _LengthList_JavaScriptObject_ListMixin: function _LengthList_JavaScriptObject_ListMixin() { + }, + _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin: function _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _NumberList_JavaScriptObject_ListMixin: function _NumberList_JavaScriptObject_ListMixin() { + }, + _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _StringList_JavaScriptObject_ListMixin: function _StringList_JavaScriptObject_ListMixin() { + }, + _StringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _StringList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _TransformList_JavaScriptObject_ListMixin: function _TransformList_JavaScriptObject_ListMixin() { + }, + _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + AudioBuffer: function AudioBuffer() { + }, + AudioParamMap: function AudioParamMap() { + }, + AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { + this.keys = t0; + }, + AudioTrackList: function AudioTrackList() { + }, + BaseAudioContext: function BaseAudioContext() { + }, + OfflineAudioContext: function OfflineAudioContext() { + }, + _AudioParamMap_JavaScriptObject_MapMixin: function _AudioParamMap_JavaScriptObject_MapMixin() { + }, + NullStreamSink: function NullStreamSink(t0, t1) { var _ = this; _.done = t0; _._addingStream = _._null_stream_sink$_closed = false; _.$ti = t1; - }, NullStreamSink_addStream_closure: function NullStreamSink_addStream_closure(t0) { + }, + NullStreamSink_addStream_closure: function NullStreamSink_addStream_closure(t0) { this.$this = t0; - }}, - M = { - Context_Context: function(style) { - var current = style == null ? D.current() : "."; + }, + Context_Context(style) { + var current = style == null ? A.current() : "."; if (style == null) style = $.$get$Style_platform(); - return new M.Context(style, current); + return new A.Context(type$.InternalStyle._as(style), current); }, - _parseUri: function(uri) { - if (!!J.getInterceptor$(uri).$isUri) - return uri; - throw H.wrapException(P.ArgumentError$value(uri, "uri", "Value must be a String or a Uri")); + _parseUri(uri) { + return uri; }, - _validateArgList: function(method, args) { - var t1, numArgs, i, numArgs0, message, t2, t3, t4; - t1 = P.String; - H.assertSubtype(args, "$isList", [t1], "$asList"); + _validateArgList(method, args) { + var numArgs, i, numArgs0, message, t1, t2, t3, t4; for (numArgs = args.length, i = 1; i < numArgs; ++i) { if (args[i] == null || args[i - 1] != null) continue; @@ -5821,101 +6556,61 @@ if (args[numArgs0] != null) break; } - message = new P.StringBuffer(""); - t2 = method + "("; - message._contents = t2; - t3 = H.SubListIterable$(args, 0, numArgs, H.getTypeArgumentByIndex(args, 0)); - t4 = H.getTypeArgumentByIndex(t3, 0); - t1 = t2 + new H.MappedListIterable(t3, H.functionTypeCheck(new M._validateArgList_closure(), {func: 1, ret: t1, args: [t4]}), [t4, t1]).join$1(0, ", "); + message = new A.StringBuffer(""); + t1 = "" + (method + "("); message._contents = t1; - message._contents = t1 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); - throw H.wrapException(P.ArgumentError$(message.toString$0(0))); + t2 = A._arrayInstanceType(args); + t3 = t2._eval$1("SubListIterable<1>"); + t4 = new A.SubListIterable(args, 0, numArgs, t3); + t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); + t3 = t1 + new A.MappedListIterable(t4, t3._eval$1("String(ListIterable.E)")._as(new A._validateArgList_closure()), t3._eval$1("MappedListIterable")).join$1(0, ", "); + message._contents = t3; + message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); + throw A.wrapException(A.ArgumentError$(message.toString$0(0), null)); } }, Context: function Context(t0, t1) { this.style = t0; this._context$_current = t1; }, - Context_join_closure: function Context_join_closure() { - }, Context_joinAll_closure: function Context_joinAll_closure() { }, Context_split_closure: function Context_split_closure() { }, _validateArgList_closure: function _validateArgList_closure() { - } - }, - B = {InternalStyle: function InternalStyle() { - }, - StreamChannelController$: function(sync, $T) { - var t1, localToForeignController, foreignToLocalController, t2, t3; - t1 = new B.StreamChannelController([$T]); - localToForeignController = P.StreamController_StreamController(null, null, true, $T); - foreignToLocalController = P.StreamController_StreamController(null, null, true, $T); - t2 = H.getTypeArgumentByIndex(foreignToLocalController, 0); - t3 = H.getTypeArgumentByIndex(localToForeignController, 0); - t1.set$_local(K.GuaranteeChannel$(new P._ControllerStream(foreignToLocalController, [t2]), new P._StreamSinkWrapper(localToForeignController, [t3]), true, $T)); - t1.set$_foreign(K.GuaranteeChannel$(new P._ControllerStream(localToForeignController, [t3]), new P._StreamSinkWrapper(foreignToLocalController, [t2]), true, $T)); - return t1; }, - StreamChannelController: function StreamChannelController(t0) { - this._foreign = this._local = null; - this.$ti = t0; - }, - isAlphabetic: function(char) { - var t1; - if (!(char >= 65 && char <= 90)) - t1 = char >= 97 && char <= 122; - else - t1 = true; - return t1; + InternalStyle: function InternalStyle() { }, - isDriveLetter: function(path, index) { - var t1, t2; - t1 = path.length; - t2 = index + 2; - if (t1 < t2) - return false; - if (!B.isAlphabetic(J.getInterceptor$s(path).codeUnitAt$1(path, index))) - return false; - if (C.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) - return false; - if (t1 === t2) - return true; - return C.JSString_methods.codeUnitAt$1(path, t2) === 47; - } - }, - X = { - ParsedPath_ParsedPath$parse: function(path, style) { - var root, t1, parts, separators, start, i; - root = style.getRoot$1(path); + ParsedPath_ParsedPath$parse(path, style) { + var t1, parts, separators, start, i, + root = style.getRoot$1(path); style.isRootRelative$1(path); if (root != null) - path = J.substring$1$s(path, root.length); - t1 = [P.String]; - parts = H.setRuntimeTypeInfo([], t1); - separators = H.setRuntimeTypeInfo([], t1); + path = B.JSString_methods.substring$1(path, root.length); + t1 = type$.JSArray_String; + parts = A._setArrayType([], t1); + separators = A._setArrayType([], t1); t1 = path.length; - if (t1 !== 0 && style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, 0))) { + if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) { if (0 >= t1) - return H.ioore(path, 0); - C.JSArray_methods.add$1(separators, path[0]); + return A.ioore(path, 0); + B.JSArray_methods.add$1(separators, path[0]); start = 1; } else { - C.JSArray_methods.add$1(separators, ""); + B.JSArray_methods.add$1(separators, ""); start = 0; } for (i = start; i < t1; ++i) - if (style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, i))) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(path, start, i)); - C.JSArray_methods.add$1(separators, path[i]); + if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(path, start, i)); + B.JSArray_methods.add$1(separators, path[i]); start = i + 1; } if (start < t1) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$1(path, start)); - C.JSArray_methods.add$1(separators, ""); + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$1(path, start)); + B.JSArray_methods.add$1(separators, ""); } - return new X.ParsedPath(style, root, parts, separators); + return new A.ParsedPath(style, root, parts, separators); }, ParsedPath: function ParsedPath(t0, t1, t2, t3) { var _ = this; @@ -5924,64 +6619,59 @@ _.parts = t2; _.separators = t3; }, - ParsedPath_normalize_closure: function ParsedPath_normalize_closure(t0) { - this.$this = t0; - }, - PathException$: function(message) { - return new X.PathException(message); + PathException$(message) { + return new A.PathException(message); }, PathException: function PathException(t0) { this.message = t0; - } - }, - O = { - Style__getPlatformStyle: function() { - if (P.Uri_base().get$scheme() !== "file") + }, + Style__getPlatformStyle() { + if (A.Uri_base().get$scheme() !== "file") return $.$get$Style_url(); - var t1 = P.Uri_base(); - if (!J.endsWith$1$s(t1.get$path(t1), "/")) + var t1 = A.Uri_base(); + if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/")) return $.$get$Style_url(); - if (P._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b") + if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b") return $.$get$Style_windows(); return $.$get$Style_posix(); }, Style: function Style() { - } - }, - E = {PosixStyle: function PosixStyle() { - this.name = "posix"; - this.separator = "/"; - }}, - F = {UrlStyle: function UrlStyle() { - this.name = "url"; - this.separator = "/"; - }}, - L = {WindowsStyle: function WindowsStyle() { - this.name = "windows"; - this.separator = "\\"; - }, WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() { - }}, - U = { - Chain_Chain$parse: function(chain) { - var t1, t2, t3; - if (chain.length === 0) { - t1 = Y.Trace; - return new U.Chain(P.List_List$unmodifiable(H.setRuntimeTypeInfo([], [t1]), t1)); - } - if (J.getInterceptor$asx(chain).contains$1(chain, "\n")) { - t1 = H.setRuntimeTypeInfo(chain.split("\n"), [P.String]); - t2 = Y.Trace; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new U.Chain(P.List_List$unmodifiable(new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_Chain$parse_closure(), {func: 1, ret: t2, args: [t3]}), [t3, t2]), t2)); - } - if (!C.JSString_methods.contains$1(chain, "===== asynchronous gap ===========================\n")) { - t1 = Y.Trace; - return new U.Chain(P.List_List$unmodifiable(H.setRuntimeTypeInfo([Y.Trace_Trace$parse(chain)], [t1]), t1)); - } - t1 = H.setRuntimeTypeInfo(chain.split("===== asynchronous gap ===========================\n"), [P.String]); - t2 = Y.Trace; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new U.Chain(P.List_List$unmodifiable(new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_Chain$parse_closure0(), {func: 1, ret: t2, args: [t3]}), [t3, t2]), t2)); + }, + PosixStyle: function PosixStyle(t0, t1, t2) { + this.separatorPattern = t0; + this.needsSeparatorPattern = t1; + this.rootPattern = t2; + }, + UrlStyle: function UrlStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() { + }, + Chain_Chain$parse(chain) { + var t1, t2, + _s51_ = string$.______; + if (chain.length === 0) + return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace)); + t1 = $.$get$vmChainGap(); + if (B.JSString_methods.contains$1(chain, t1)) { + t1 = B.JSString_methods.split$1(chain, t1); + t2 = A._arrayInstanceType(t1); + return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Chain_Chain$parse_closure()), t2._eval$1("WhereIterable<1>")), t2._eval$1("Trace(1)")._as(new A.Chain_Chain$parse_closure0()), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace)); + } + if (!B.JSString_methods.contains$1(chain, _s51_)) + return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace)); + return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), type$.Trace_Function_String._as(new A.Chain_Chain$parse_closure1()), type$.MappedListIterable_String_Trace), type$.Trace)); }, Chain: function Chain(t0) { this.traces = t0; @@ -5990,6 +6680,8 @@ }, Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() { }, + Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() { + }, Chain_toTrace_closure: function Chain_toTrace_closure() { }, Chain_toString_closure0: function Chain_toString_closure0() { @@ -6001,41 +6693,41 @@ }, Chain_toString__closure: function Chain_toString__closure(t0) { this.longest = t0; - } - }, - A = { - Frame_Frame$parseVM: function(frame) { + }, + Frame_Frame$parseVM(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame)); }, - Frame_Frame$parseV8: function(frame) { + Frame_Frame$parseV8(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame)); }, - Frame_Frame$parseFirefox: function(frame) { + Frame_Frame$_parseFirefoxEval(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame)); + }, + Frame_Frame$parseFirefox(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame)); }, - Frame_Frame$parseFriendly: function(frame) { + Frame_Frame$parseFriendly(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame)); }, - Frame__uriOrPathToUri: function(uriOrPath) { - if (J.getInterceptor$asx(uriOrPath).contains$1(uriOrPath, $.$get$Frame__uriRegExp())) - return P.Uri_parse(uriOrPath); - else if (C.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp())) - return P._Uri__Uri$file(uriOrPath, true); - else if (C.JSString_methods.startsWith$1(uriOrPath, "/")) - return P._Uri__Uri$file(uriOrPath, false); - if (C.JSString_methods.contains$1(uriOrPath, "\\")) + Frame__uriOrPathToUri(uriOrPath) { + if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp())) + return A.Uri_parse(uriOrPath); + else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp())) + return A._Uri__Uri$file(uriOrPath, true); + else if (B.JSString_methods.startsWith$1(uriOrPath, "/")) + return A._Uri__Uri$file(uriOrPath, false); + if (B.JSString_methods.contains$1(uriOrPath, "\\")) return $.$get$windows().toUri$1(uriOrPath); - return P.Uri_parse(uriOrPath); + return A.Uri_parse(uriOrPath); }, - Frame__catchFormatException: function(text, body) { + Frame__catchFormatException(text, body) { var t1, exception; - H.functionTypeCheck(body, {func: 1, ret: A.Frame}); try { t1 = body.call$0(); return t1; } catch (exception) { - if (H.unwrapException(exception) instanceof P.FormatException) - return new N.UnparsedFrame(P._Uri__Uri(null, "unparsed", null, null), text); + if (A.unwrapException(exception) instanceof A.FormatException) + return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text); else throw exception; } @@ -6056,115 +6748,112 @@ Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) { this.frame = t0; }, + Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) { + this.frame = t0; + }, Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) { this.frame = t0; }, Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) { this.frame = t0; - } - }, - T = {LazyTrace: function LazyTrace(t0) { + }, + LazyTrace: function LazyTrace(t0) { this._thunk = t0; - this._lazy_trace$_inner = null; - }, LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) { + this.__LazyTrace__trace_FI = $; + }, + LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) { this.$this = t0; - }}, - Y = { - Trace_Trace$from: function(trace) { - if (trace == null) - throw H.wrapException(P.ArgumentError$("Cannot create a Trace from null.")); - if (!!trace.$isTrace) + }, + Trace_Trace$from(trace) { + if (type$.Trace._is(trace)) return trace; - if (!!trace.$isChain) + if (trace instanceof A.Chain) return trace.toTrace$0(); - return new T.LazyTrace(new Y.Trace_Trace$from_closure(trace)); + return new A.LazyTrace(new A.Trace_Trace$from_closure(trace)); }, - Trace_Trace$parse: function(trace) { + Trace_Trace$parse(trace) { var error, t1, exception; try { if (trace.length === 0) { - t1 = A.Frame; - t1 = P.List_List$unmodifiable(H.setRuntimeTypeInfo([], [t1]), t1); - return new Y.Trace(t1, new P._StringStackTrace(null)); + t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null); + return t1; } - if (J.getInterceptor$asx(trace).contains$1(trace, $.$get$_v8Trace())) { - t1 = Y.Trace$parseV8(trace); + if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) { + t1 = A.Trace$parseV8(trace); return t1; } - if (C.JSString_methods.contains$1(trace, "\tat ")) { - t1 = Y.Trace$parseJSCore(trace); + if (B.JSString_methods.contains$1(trace, "\tat ")) { + t1 = A.Trace$parseJSCore(trace); return t1; } - if (C.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace())) { - t1 = Y.Trace$parseFirefox(trace); + if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) { + t1 = A.Trace$parseFirefox(trace); return t1; } - if (C.JSString_methods.contains$1(trace, "===== asynchronous gap ===========================\n")) { - t1 = U.Chain_Chain$parse(trace).toTrace$0(); + if (B.JSString_methods.contains$1(trace, string$.______)) { + t1 = A.Chain_Chain$parse(trace).toTrace$0(); return t1; } - if (C.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) { - t1 = Y.Trace$parseFriendly(trace); + if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) { + t1 = A.Trace$parseFriendly(trace); return t1; } - t1 = P.List_List$unmodifiable(Y.Trace__parseVM(trace), A.Frame); - return new Y.Trace(t1, new P._StringStackTrace(trace)); + t1 = A.Trace$parseVM(trace); + return t1; } catch (exception) { - t1 = H.unwrapException(exception); - if (t1 instanceof P.FormatException) { + t1 = A.unwrapException(exception); + if (t1 instanceof A.FormatException) { error = t1; - throw H.wrapException(P.FormatException$(H.S(error.message) + "\nStack trace:\n" + H.S(trace), null, null)); + throw A.wrapException(A.FormatException$(error.message + "\nStack trace:\n" + trace, null, null)); } else throw exception; } }, - Trace__parseVM: function(trace) { - var t1, lines, t2, t3, $frames; - t1 = J.trim$0$s(trace); - lines = H.setRuntimeTypeInfo(H.stringReplaceAllUnchecked(t1, "\n", "").split("\n"), [P.String]); - t1 = H.SubListIterable$(lines, 0, lines.length - 1, H.getTypeArgumentByIndex(lines, 0)); - t2 = A.Frame; - t3 = H.getTypeArgumentByIndex(t1, 0); - $frames = new H.MappedListIterable(t1, H.functionTypeCheck(new Y.Trace__parseVM_closure(), {func: 1, ret: t2, args: [t3]}), [t3, t2]).toList$0(0); - if (!J.endsWith$1$s(C.JSArray_methods.get$last(lines), ".da")) - C.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(C.JSArray_methods.get$last(lines))); + Trace$parseVM(trace) { + var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace__parseVM(trace) { + var $frames, + t1 = B.JSString_methods.trim$0(trace), + t2 = type$.Pattern._as($.$get$vmChainGap()), + t3 = type$.WhereIterable_String, + lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace__parseVM_closure()), t3); + if (!lines.get$iterator(lines).moveNext$0()) + return A._setArrayType([], type$.JSArray_Frame); + t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E")); + t2 = A._instanceType(t1); + t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Frame(Iterable.E)")._as(new A.Trace__parseVM_closure0()), t2._eval$1("Iterable.E"), type$.Frame); + $frames = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); + if (!J.endsWith$1$s(lines.get$last(lines), ".da")) + B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines))); return $frames; }, - Trace$parseV8: function(trace) { - var t1, t2, t3; - t1 = H.setRuntimeTypeInfo(trace.split("\n"), [P.String]); - t1 = H.SubListIterable$(t1, 1, null, H.getTypeArgumentByIndex(t1, 0)); - t1 = t1.super$Iterable$skipWhile(0, H.functionTypeCheck(new Y.Trace$parseV8_closure(), {func: 1, ret: P.bool, args: [H.getTypeArgumentByIndex(t1, 0)]})); - t2 = A.Frame; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new Y.Trace(P.List_List$unmodifiable(H.MappedIterable_MappedIterable(t1, H.functionTypeCheck(new Y.Trace$parseV8_closure0(), {func: 1, ret: t2, args: [t3]}), t3, t2), t2), new P._StringStackTrace(trace)); - }, - Trace$parseJSCore: function(trace) { - var t1, t2, t3; - t1 = H.setRuntimeTypeInfo(trace.split("\n"), [P.String]); - t2 = H.getTypeArgumentByIndex(t1, 0); - t3 = A.Frame; - return new Y.Trace(P.List_List$unmodifiable(new H.MappedIterable(new H.WhereIterable(t1, H.functionTypeCheck(new Y.Trace$parseJSCore_closure(), {func: 1, ret: P.bool, args: [t2]}), [t2]), H.functionTypeCheck(new Y.Trace$parseJSCore_closure0(), {func: 1, ret: t3, args: [t2]}), [t2, t3]), t3), new P._StringStackTrace(trace)); + Trace$parseV8(trace) { + var t2, t3, + t1 = A.SubListIterable$(A._setArrayType(trace.split("\n"), type$.JSArray_String), 1, null, type$.String); + t1 = t1.super$Iterable$skipWhile(0, t1.$ti._eval$1("bool(ListIterable.E)")._as(new A.Trace$parseV8_closure())); + t2 = type$.Frame; + t3 = t1.$ti; + t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, t3._eval$1("Frame(Iterable.E)")._as(new A.Trace$parseV8_closure0()), t3._eval$1("Iterable.E"), t2), t2); + return new A.Trace(t2, new A._StringStackTrace(trace)); }, - Trace$parseFirefox: function(trace) { - var t1, t2, t3; - t1 = H.setRuntimeTypeInfo(J.trim$0$s(trace).split("\n"), [P.String]); - t2 = H.getTypeArgumentByIndex(t1, 0); - t3 = A.Frame; - return new Y.Trace(P.List_List$unmodifiable(new H.MappedIterable(new H.WhereIterable(t1, H.functionTypeCheck(new Y.Trace$parseFirefox_closure(), {func: 1, ret: P.bool, args: [t2]}), [t2]), H.functionTypeCheck(new Y.Trace$parseFirefox_closure0(), {func: 1, ret: t3, args: [t2]}), [t2, t3]), t3), new P._StringStackTrace(trace)); + Trace$parseJSCore(trace) { + var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseJSCore_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(new A.Trace$parseJSCore_closure0()), type$.MappedIterable_String_Frame), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); }, - Trace$parseFriendly: function(trace) { - var t1, t2, t3; - t1 = A.Frame; - if (trace.length === 0) - t2 = H.setRuntimeTypeInfo([], [t1]); - else { - t2 = H.setRuntimeTypeInfo(J.trim$0$s(trace).split("\n"), [P.String]); - t3 = H.getTypeArgumentByIndex(t2, 0); - t3 = new H.MappedIterable(new H.WhereIterable(t2, H.functionTypeCheck(new Y.Trace$parseFriendly_closure(), {func: 1, ret: P.bool, args: [t3]}), [t3]), H.functionTypeCheck(new Y.Trace$parseFriendly_closure0(), {func: 1, ret: t1, args: [t3]}), [t3, t1]); - t2 = t3; - } - return new Y.Trace(P.List_List$unmodifiable(t2, t1), new P._StringStackTrace(trace)); + Trace$parseFirefox(trace) { + var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseFirefox_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(new A.Trace$parseFirefox_closure0()), type$.MappedIterable_String_Frame), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace$parseFriendly(trace) { + var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseFriendly_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(new A.Trace$parseFriendly_closure0()), type$.MappedIterable_String_Frame); + t1 = A.List_List$unmodifiable(t1, type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace$($frames, original) { + var t1 = A.List_List$unmodifiable($frames, type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original)); }, Trace: function Trace(t0, t1) { this.frames = t0; @@ -6175,6 +6864,8 @@ }, Trace__parseVM_closure: function Trace__parseVM_closure() { }, + Trace__parseVM_closure0: function Trace__parseVM_closure0() { + }, Trace$parseV8_closure: function Trace$parseV8_closure() { }, Trace$parseV8_closure0: function Trace$parseV8_closure0() { @@ -6203,36 +6894,29 @@ }, Trace_toString_closure: function Trace_toString_closure(t0) { this.longest = t0; - } - }, - N = {UnparsedFrame: function UnparsedFrame(t0, t1) { - var _ = this; - _.uri = t0; - _.column = _.line = null; - _.isCore = false; - _.library = "unparsed"; - _.$package = null; - _.location = "unparsed"; - _.member = t1; - }}, - K = { - GuaranteeChannel$: function(innerStream, innerSink, allowSinkErrors, $T) { - var t1, t2; - t1 = {}; + }, + UnparsedFrame: function UnparsedFrame(t0, t1) { + this.uri = t0; + this.member = t1; + }, + GuaranteeChannel$(innerStream, innerSink, allowSinkErrors, $T) { + var t2, t1 = {}; t1.innerStream = innerStream; - t2 = new K.GuaranteeChannel([$T]); + t2 = new A.GuaranteeChannel($T._eval$1("GuaranteeChannel<0>")); t2.GuaranteeChannel$3$allowSinkErrors(innerSink, true, t1, $T); return t2; }, GuaranteeChannel: function GuaranteeChannel(t0) { var _ = this; - _._guarantee_channel$_subscription = _._streamController = _._sink = null; + _.__GuaranteeChannel__streamController_F = _.__GuaranteeChannel__sink_F = $; + _._subscription = null; _._disconnected = false; _.$ti = t0; }, - GuaranteeChannel_closure: function GuaranteeChannel_closure(t0, t1) { + GuaranteeChannel_closure: function GuaranteeChannel_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; + this.T = t2; }, GuaranteeChannel__closure: function GuaranteeChannel__closure(t0) { this.$this = t0; @@ -6250,97 +6934,10 @@ _GuaranteeSink_addStream_closure: function _GuaranteeSink_addStream_closure(t0) { this.$this = t0; }, - main: function() { - var t1 = self.testRunner; - if (t1 != null) - J.waitUntilDone$0$x(t1); - if (J.$eq$($.$get$_currentUrl().get$queryParameters().$index(0, "debug"), "true")) - document.body.classList.add("debug"); - P.runZoned(new K.main_closure(), new K.main_closure0(), P.Null); - }, - _connectToServer: function() { - var webSocket, controller, t1; - webSocket = W.WebSocket_WebSocket($.$get$_currentUrl().get$queryParameters().$index(0, "managerUrl")); - controller = B.StreamChannelController$(true, null); - t1 = W.MessageEvent; - W._EventStreamSubscription$(webSocket, "message", H.functionTypeCheck(new K._connectToServer_closure(controller), {func: 1, ret: -1, args: [t1]}), false, t1); - t1 = controller._local._streamController; - t1.toString; - new P._ControllerStream(t1, [H.getTypeArgumentByIndex(t1, 0)]).listen$1(new K._connectToServer_closure0(webSocket)); - return D._MultiChannel$(controller._foreign, null); - }, - _connectToIframe: function(url, id) { - var t1, iframe, channel, controller, readyCompleter, subscriptions, t2, t3; - t1 = document; - iframe = t1.createElement("iframe"); - $.$get$_iframes().$indexSet(0, id, iframe); - iframe.src = url; - t1.body.appendChild(iframe); - channel = new MessageChannel(); - controller = B.StreamChannelController$(true, null); - readyCompleter = new P._AsyncCompleter(new P._Future(0, $.Zone__current, [null]), [null]); - subscriptions = H.setRuntimeTypeInfo([], [[P.StreamSubscription,,]]); - $.$get$_subscriptions().$indexSet(0, id, subscriptions); - t1 = W.MessageEvent; - t2 = {func: 1, ret: -1, args: [t1]}; - C.JSArray_methods.add$1(subscriptions, W._EventStreamSubscription$(window, "message", H.functionTypeCheck(new K._connectToIframe_closure(iframe, channel, readyCompleter, controller), t2), false, t1)); - t3 = channel.port1; - t3.toString; - C.JSArray_methods.add$1(subscriptions, W._EventStreamSubscription$(t3, "message", H.functionTypeCheck(new K._connectToIframe_closure0(controller), t2), false, t1)); - t1 = controller._local._streamController; - t1.toString; - C.JSArray_methods.add$1(subscriptions, new P._ControllerStream(t1, [H.getTypeArgumentByIndex(t1, 0)]).listen$1(new K._connectToIframe_closure1(readyCompleter, channel))); - return controller._foreign; - }, - _TestRunner: function _TestRunner() { - }, - _JSApi: function _JSApi() { - }, - main_closure: function main_closure() { - }, - main__closure: function main__closure(t0) { - this.serverChannel = t0; - }, - main__closure0: function main__closure0(t0) { - this.serverChannel = t0; - }, - main__closure1: function main__closure1(t0) { - this.serverChannel = t0; - }, - main__closure2: function main__closure2(t0) { - this.serverChannel = t0; - }, - main__closure3: function main__closure3(t0) { - this.serverChannel = t0; - }, - main_closure0: function main_closure0() { - }, - _connectToServer_closure: function _connectToServer_closure(t0) { - this.controller = t0; - }, - _connectToServer_closure0: function _connectToServer_closure0(t0) { - this.webSocket = t0; - }, - _connectToIframe_closure: function _connectToIframe_closure(t0, t1, t2, t3) { - var _ = this; - _.iframe = t0; - _.channel = t1; - _.readyCompleter = t2; - _.controller = t3; - }, - _connectToIframe_closure0: function _connectToIframe_closure0(t0) { - this.controller = t0; - }, - _connectToIframe_closure1: function _connectToIframe_closure1(t0, t1) { - this.readyCompleter = t0; - this.channel = t1; - } - }, - D = { - _MultiChannel$: function(_inner, $T) { - var t1 = P.int; - t1 = new D._MultiChannel(_inner, B.StreamChannelController$(true, $T), P.LinkedHashMap_LinkedHashMap$_empty(t1, [B.StreamChannelController, $T]), P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), [$T]); - t1._MultiChannel$1(_inner, $T); + _MultiChannel$(inner, $T) { + var t1 = type$.int; + t1 = new A._MultiChannel(inner, A.StreamChannelController$(true, $T), A.LinkedHashMap_LinkedHashMap$_empty(t1, $T._eval$1("StreamChannelController<0>")), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), $T._eval$1("_MultiChannel<0>")); + t1._MultiChannel$1(inner, $T); return t1; }, _MultiChannel: function _MultiChannel(t0, t1, t2, t3, t4, t5) { @@ -6385,362 +6982,936 @@ _.sink = t2; _.$ti = t3; }, - current: function() { - var uri, t1, path, lastIndex; - uri = P.Uri_base(); - if (J.$eq$(uri, $._currentUriBase)) - return $._current; - $._currentUriBase = uri; - if ($.$get$Style_platform() == $.$get$Style_url()) { - t1 = uri.resolve$1(".").toString$0(0); - $._current = t1; - return t1; - } else { - path = uri.toFilePath$0(); - lastIndex = path.length - 1; - t1 = lastIndex === 0 ? path : C.JSString_methods.substring$2(path, 0, lastIndex); - $._current = t1; - return t1; - } - } - }, - R = {StreamChannelMixin: function StreamChannelMixin() { - }}; - var holders = [C, H, J, P, W, S, M, B, X, O, E, F, L, U, A, T, Y, N, K, D, R]; - hunkHelpers.setFunctionNamesIfNecessary(holders); - var $ = {}; - H.JS_CONST.prototype = {}; - J.Interceptor.prototype = { - $eq: function(receiver, other) { - return receiver === other; + StreamChannelController$(sync, $T) { + var _null = null, + t1 = new A.StreamChannelController($T._eval$1("StreamChannelController<0>")), + localToForeignController = A.StreamController_StreamController(_null, _null, true, $T), + foreignToLocalController = A.StreamController_StreamController(_null, _null, true, $T), + t2 = A._instanceType(foreignToLocalController), + t3 = A._instanceType(localToForeignController), + t4 = $T._eval$1("StreamChannel<0>"); + t1.set$__StreamChannelController__local_F(t4._as(A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t2._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t3._eval$1("_StreamSinkWrapper<1>")), true, $T))); + t2 = t4._as(A.GuaranteeChannel$(new A._ControllerStream(localToForeignController, t3._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(foreignToLocalController, t2._eval$1("_StreamSinkWrapper<1>")), true, $T)); + t1.__StreamChannelController__foreign_F !== $ && A.throwLateFieldAI("_foreign"); + t1.set$__StreamChannelController__foreign_F(t2); + return t1; }, - get$hashCode: function(receiver) { - return H.Primitives_objectHashCode(receiver); + StreamChannelController: function StreamChannelController(t0) { + this.__StreamChannelController__foreign_F = this.__StreamChannelController__local_F = $; + this.$ti = t0; }, - toString$0: function(receiver) { - return "Instance of '" + H.Primitives_objectTypeName(receiver) + "'"; + StreamChannelMixin: function StreamChannelMixin() { }, - noSuchMethod$1: function(receiver, invocation) { - H.interceptedTypeCheck(invocation, "$isInvocation"); - throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); - } - }; - J.JSBool.prototype = { - toString$0: function(receiver) { - return String(receiver); + WindowExtension_get_location(_this) { + return type$.JavaScriptObject._as(_this.location); }, - get$hashCode: function(receiver) { - return receiver ? 519018 : 218159; + EventTargetExtension_addEventListener(_this, type, listener) { + var t1 = A._setArrayType([type, listener], type$.JSArray_Object); + A.callMethod(_this, "addEventListener", t1, type$.dynamic); }, - $isbool: 1 - }; - J.JSNull.prototype = { - $eq: function(receiver, other) { - return null == other; + _callConstructor(constructorName, args) { + var $constructor = self.window[constructorName]; + if ($constructor == null) + return null; + return A.callConstructor($constructor, args, type$.nullable_Object); }, - toString$0: function(receiver) { - return "null"; + Subscription$(target, type, listener) { + A.EventTargetExtension_addEventListener(target, type, listener); + return new A.Subscription(type, target, listener); }, - get$hashCode: function(receiver) { - return 0; + Window0: function Window0() { }, - noSuchMethod$1: function(receiver, invocation) { - return this.super$Interceptor$noSuchMethod(receiver, H.interceptedTypeCheck(invocation, "$isInvocation")); + Document0: function Document0() { }, - $isNull: 1 - }; - J.JavaScriptObject.prototype = { - get$hashCode: function(receiver) { - return 0; + HTMLDocument: function HTMLDocument() { }, - toString$0: function(receiver) { - return String(receiver); + Navigator0: function Navigator0() { }, - waitUntilDone$0: function(receiver) { - return receiver.waitUntilDone(); - } - }; - J.PlainJavaScriptObject.prototype = {}; - J.UnknownJavaScriptObject.prototype = {}; - J.JavaScriptFunction.prototype = { - toString$0: function(receiver) { - var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; - if (dartClosure == null) - return this.super$JavaScriptObject$toString(receiver); - return "JavaScript function for " + H.S(J.toString$0$(dartClosure)); + Element0: function Element0() { }, - $signature: function() { - return {func: 1, opt: [,,,,,,,,,,,,,,,,]}; + HTMLElement: function HTMLElement() { }, - $isFunction: 1 - }; - J.JSArray.prototype = { - add$1: function(receiver, value) { - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(receiver, 0)); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("add")); - receiver.push(value); + HTMLBodyElement: function HTMLBodyElement() { }, - removeAt$1: function(receiver, index) { - var t1; - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeAt")); - t1 = receiver.length; - if (index >= t1) - throw H.wrapException(P.RangeError$value(index, null)); - return receiver.splice(index, 1)[0]; + Node0: function Node0() { }, - insert$2: function(receiver, index, value) { - var t1; - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(receiver, 0)); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("insert")); - t1 = receiver.length; - if (index > t1) - throw H.wrapException(P.RangeError$value(index, null)); - receiver.splice(index, 0, value); + EventTarget0: function EventTarget0() { }, - insertAll$2: function(receiver, index, iterable) { - var insertionLength, end; - H.assertSubtype(iterable, "$isIterable", [H.getTypeArgumentByIndex(receiver, 0)], "$asIterable"); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("insertAll")); - P.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); - insertionLength = iterable.length; - this.set$length(receiver, receiver.length + insertionLength); - end = index + insertionLength; - this.setRange$4(receiver, end, receiver.length, receiver, index); - this.setRange$3(receiver, index, end, iterable); + Event0: function Event0() { }, - removeLast$0: function(receiver) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("removeLast")); - if (receiver.length === 0) - throw H.wrapException(H.diagnoseIndexError(receiver, -1)); - return receiver.pop(); + MessageEvent0: function MessageEvent0() { }, - addAll$1: function(receiver, collection) { - var t1, _i; - H.assertSubtype(collection, "$isIterable", [H.getTypeArgumentByIndex(receiver, 0)], "$asIterable"); - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("addAll")); - for (t1 = collection.length, _i = 0; _i < collection.length; collection.length === t1 || (0, H.throwConcurrentModificationError)(collection), ++_i) - receiver.push(collection[_i]); - }, - forEach$1: function(receiver, f) { - var end, i; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(receiver, 0)]}); - end = receiver.length; - for (i = 0; i < end; ++i) { - f.call$1(receiver[i]); - if (receiver.length !== end) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - }, - join$1: function(receiver, separator) { - var list, i; - list = new Array(receiver.length); - list.fixed$length = Array; - for (i = 0; i < receiver.length; ++i) - this.$indexSet(list, i, H.S(receiver[i])); - return list.join(separator); + Location0: function Location0() { }, - join$0: function($receiver) { - return this.join$1($receiver, ""); + MessagePort0: function MessagePort0() { }, - fold$1$2: function(receiver, initialValue, combine, $T) { - var $length, value, i; - H.assertSubtypeOfRuntimeType(initialValue, $T); - H.functionTypeCheck(combine, {func: 1, ret: $T, args: [$T, H.getTypeArgumentByIndex(receiver, 0)]}); - $length = receiver.length; - for (value = initialValue, i = 0; i < $length; ++i) { - value = combine.call$2(value, receiver[i]); - if (receiver.length !== $length) - throw H.wrapException(P.ConcurrentModificationError$(receiver)); - } - return value; + CSSStyleDeclaration: function CSSStyleDeclaration() { }, - elementAt$1: function(receiver, index) { - if (index < 0 || index >= receiver.length) - return H.ioore(receiver, index); - return receiver[index]; + HTMLScriptElement: function HTMLScriptElement() { }, - sublist$2: function(receiver, start, end) { - if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, "start", null)); - if (end < start || end > receiver.length) - throw H.wrapException(P.RangeError$range(end, start, receiver.length, "end", null)); - if (start === end) - return H.setRuntimeTypeInfo([], [H.getTypeArgumentByIndex(receiver, 0)]); - return H.setRuntimeTypeInfo(receiver.slice(start, end), [H.getTypeArgumentByIndex(receiver, 0)]); + DomTokenList0: function DomTokenList0() { }, - get$first: function(receiver) { - if (receiver.length > 0) - return receiver[0]; - throw H.wrapException(H.IterableElementError_noElement()); + HTMLIFrameElement: function HTMLIFrameElement() { }, - get$last: function(receiver) { - var t1 = receiver.length; - if (t1 > 0) - return receiver[t1 - 1]; - throw H.wrapException(H.IterableElementError_noElement()); + WebSocket0: function WebSocket0() { }, - setRange$4: function(receiver, start, end, iterable, skipCount) { - var t1, $length, i; - t1 = H.getTypeArgumentByIndex(receiver, 0); - H.assertSubtype(iterable, "$isIterable", [t1], "$asIterable"); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("setRange")); - P.RangeError_checkValidRange(start, end, receiver.length); - $length = end - start; - if ($length === 0) - return; - P.RangeError_checkNotNegative(skipCount, "skipCount"); - H.assertSubtype(iterable, "$isList", [t1], "$asList"); - t1 = J.getInterceptor$asx(iterable); - if (skipCount + $length > t1.get$length(iterable)) - throw H.wrapException(H.IterableElementError_tooFew()); - if (skipCount < start) - for (i = $length - 1; i >= 0; --i) - receiver[start + i] = t1.$index(iterable, skipCount + i); - else - for (i = 0; i < $length; ++i) - receiver[start + i] = t1.$index(iterable, skipCount + i); + MessageChannel0: function MessageChannel0() { }, - setRange$3: function($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + Subscription: function Subscription(t0, t1, t2) { + this.type = t0; + this.target = t1; + this.listener = t2; }, - get$isNotEmpty: function(receiver) { - return receiver.length !== 0; + main() { + var t1 = self.testRunner; + if (t1 != null) + t1.waitUntilDone(); + if (J.$eq$($.$get$_currentUrl().get$queryParameters().$index(0, "debug"), "true")) + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("debug"); + A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type$.Null); }, - toString$0: function(receiver) { - return P.IterableBase_iterableToFullString(receiver, "[", "]"); + _connectToServer() { + var t2, controller, t3, + t1 = $.$get$_currentUrl().get$queryParameters().$index(0, "managerUrl"); + t1.toString; + t1 = A._callConstructor("WebSocket", A._setArrayType([t1], type$.JSArray_Object)); + t1.toString; + type$.JavaScriptObject._as(t1); + t2 = type$.dynamic; + controller = A.StreamChannelController$(true, t2); + A.EventTargetExtension_addEventListener(t1, "message", A.allowInterop(new A._connectToServer_closure(controller), type$.void_Function_JavaScriptObject)); + t3 = controller.__StreamChannelController__local_F; + t3 === $ && A.throwLateFieldNI("_local"); + t3 = t3.__GuaranteeChannel__streamController_F; + t3 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t3, A._instanceType(t3)._eval$1("_ControllerStream<1>")).listen$1(new A._connectToServer_closure0(t1)); + t1 = controller.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + return A._MultiChannel$(t1, t2); + }, + _connectToIframe(url, id) { + var controller, readyCompleter, subscriptions, domSubscriptions, + t1 = self.document, + t2 = type$.JSArray_Object, + t3 = A._setArrayType(["iframe"], t2), + t4 = type$.dynamic, + t5 = type$.JavaScriptObject, + iframe = t5._as(A.callMethod(t1, "createElement", t3, t4)); + $._iframes.$indexSet(0, id, iframe); + iframe.src = url; + t5._as(type$.nullable_JavaScriptObject._as(self.document.body).appendChild(iframe)); + t2 = A._callConstructor("MessageChannel", A._setArrayType([], t2)); + t2.toString; + t5._as(t2); + controller = A.StreamChannelController$(true, t4); + readyCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic); + subscriptions = A._setArrayType([], type$.JSArray_StreamSubscription_void); + domSubscriptions = A._setArrayType([], type$.JSArray_Subscription); + $._subscriptions.$indexSet(0, id, subscriptions); + $._domSubscriptions.$indexSet(0, id, domSubscriptions); + t4 = type$.void_Function_JavaScriptObject; + B.JSArray_methods.add$1(domSubscriptions, A.Subscription$(self.window, "message", A.allowInterop(new A._connectToIframe_closure(iframe, t2, readyCompleter, controller), t4))); + t5._as(t2.port1).start(); + B.JSArray_methods.add$1(domSubscriptions, A.Subscription$(t5._as(t2.port1), "message", A.allowInterop(new A._connectToIframe_closure0(controller), t4))); + t4 = controller.__StreamChannelController__local_F; + t4 === $ && A.throwLateFieldNI("_local"); + t4 = t4.__GuaranteeChannel__streamController_F; + t4 === $ && A.throwLateFieldNI("_streamController"); + B.JSArray_methods.add$1(subscriptions, new A._ControllerStream(t4, A._instanceType(t4)._eval$1("_ControllerStream<1>")).listen$1(new A._connectToIframe_closure1(readyCompleter, t2))); + t2 = controller.__StreamChannelController__foreign_F; + t2 === $ && A.throwLateFieldNI("_foreign"); + return t2; }, - get$iterator: function(receiver) { - return new J.ArrayIterator(receiver, receiver.length, 0, [H.getTypeArgumentByIndex(receiver, 0)]); + TestRunner: function TestRunner() { }, - get$hashCode: function(receiver) { - return H.Primitives_objectHashCode(receiver); + _JSApi: function _JSApi() { }, - get$length: function(receiver) { - return receiver.length; + main_closure: function main_closure() { }, - set$length: function(receiver, newLength) { - if (!!receiver.fixed$length) - H.throwExpression(P.UnsupportedError$("set length")); - if (newLength < 0) - throw H.wrapException(P.RangeError$range(newLength, 0, null, "newLength", null)); - receiver.length = newLength; - }, - $index: function(receiver, index) { - H.intTypeCheck(index); - if (index >= receiver.length || index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - return receiver[index]; + main__closure: function main__closure(t0) { + this.serverChannel = t0; }, - $indexSet: function(receiver, index, value) { - H.intTypeCheck(index); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(receiver, 0)); - if (!!receiver.immutable$list) - H.throwExpression(P.UnsupportedError$("indexed set")); - if (typeof index !== "number" || Math.floor(index) !== index) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - if (index >= receiver.length || index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); - receiver[index] = value; + main__closure0: function main__closure0(t0) { + this.serverChannel = t0; }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isList: 1 - }; - J.JSUnmodifiableArray.prototype = {}; - J.ArrayIterator.prototype = { - get$current: function() { - return this.__interceptors$_current; - }, - moveNext$0: function() { - var t1, $length, t2; - t1 = this._iterable; - $length = t1.length; - if (this.__interceptors$_length !== $length) - throw H.wrapException(H.throwConcurrentModificationError(t1)); - t2 = this._index; - if (t2 >= $length) { - this.set$__interceptors$_current(null); - return false; - } - this.set$__interceptors$_current(t1[t2]); - ++this._index; - return true; + main__closure1: function main__closure1(t0) { + this.serverChannel = t0; }, - set$__interceptors$_current: function(_current) { - this.__interceptors$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + main__closure2: function main__closure2(t0) { + this.serverChannel = t0; }, - $isIterator: 1 - }; - J.JSNumber.prototype = { - toRadixString$1: function(receiver, radix) { - var result, match, t1, exponent; - if (radix < 2 || radix > 36) - throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); - result = receiver.toString(radix); - if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) - return result; - match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); - if (match == null) - H.throwExpression(P.UnsupportedError$("Unexpected toString result: " + result)); - t1 = match.length; - if (1 >= t1) - return H.ioore(match, 1); - result = match[1]; - if (3 >= t1) - return H.ioore(match, 3); - exponent = +match[3]; - t1 = match[2]; - if (t1 != null) { - result += t1; - exponent -= t1.length; - } - return result + C.JSString_methods.$mul("0", exponent); - }, - toString$0: function(receiver) { - if (receiver === 0 && 1 / receiver < 0) - return "-0.0"; - else - return "" + receiver; + main__closure3: function main__closure3(t0) { + this.serverChannel = t0; }, - get$hashCode: function(receiver) { - var intValue, absolute, floorLog2, factor, scaled; - intValue = receiver | 0; - if (receiver === intValue) - return 536870911 & intValue; - absolute = Math.abs(receiver); - floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; - factor = Math.pow(2, floorLog2); - scaled = absolute < 1 ? absolute / factor : factor / absolute; - return 536870911 & ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259; + main_closure0: function main_closure0() { }, - $mod: function(receiver, other) { - var result = receiver % other; - if (result === 0) - return 0; - if (result > 0) - return result; - if (other < 0) - return result - other; - else - return result + other; + _connectToServer_closure: function _connectToServer_closure(t0) { + this.controller = t0; }, - $tdiv: function(receiver, other) { - if ((receiver | 0) === receiver) - if (other >= 1 || other < -1) - return receiver / other | 0; - return this._tdivSlow$1(receiver, other); + _connectToServer_closure0: function _connectToServer_closure0(t0) { + this.webSocket = t0; }, - _tdivFast$1: function(receiver, other) { - return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); + _connectToIframe_closure: function _connectToIframe_closure(t0, t1, t2, t3) { + var _ = this; + _.iframe = t0; + _.channel = t1; + _.readyCompleter = t2; + _.controller = t3; + }, + _connectToIframe_closure0: function _connectToIframe_closure0(t0) { + this.controller = t0; + }, + _connectToIframe_closure1: function _connectToIframe_closure1(t0, t1) { + this.readyCompleter = t0; + this.channel = t1; + }, + max(a, b, $T) { + A.checkTypeBound($T, type$.num, "T", "max"); + return Math.max($T._as(a), $T._as(b)); + }, + printString(string) { + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof window == "object") + return; + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); + }, + _convertNativeToDart_Value(value) { + var values, i; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || A._isBool(value)) + return value; + if (A.isJavaScriptSimpleObject(value)) + return A.convertNativeToDart_Dictionary(value); + if (Array.isArray(value)) { + values = []; + for (i = 0; i < value.length; ++i) + values.push(A._convertNativeToDart_Value(value[i])); + return values; + } + return value; + }, + convertNativeToDart_Dictionary(object) { + var dict, keys, t1, _i, key; + if (object == null) + return null; + dict = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = Object.getOwnPropertyNames(object); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = keys[_i]; + dict.$indexSet(0, key, A._convertNativeToDart_Value(object[key])); + } + return dict; + }, + isJavaScriptSimpleObject(value) { + var proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; + }, + _convertDartFunctionFast(f) { + var ret, + existing = f.$dart_jsFunction; + if (existing != null) + return existing; + ret = function(_call, f) { + return function() { + return _call(f, Array.prototype.slice.apply(arguments)); + }; + }(A._callDartFunctionFast, f); + ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; + f.$dart_jsFunction = ret; + return ret; + }, + _callDartFunctionFast(callback, $arguments) { + type$.List_dynamic._as($arguments); + type$.Function._as(callback); + return A.Primitives_applyFunction(callback, $arguments, null); + }, + allowInterop(f, $F) { + if (typeof f == "function") + return f; + else + return $F._as(A._convertDartFunctionFast(f)); + }, + current() { + var exception, t1, path, lastIndex, uri = null; + try { + uri = A.Uri_base(); + } catch (exception) { + if (type$.Exception._is(A.unwrapException(exception))) { + t1 = $._current; + if (t1 != null) + return t1; + throw exception; + } else + throw exception; + } + if (J.$eq$(uri, $._currentUriBase)) { + t1 = $._current; + t1.toString; + return t1; + } + $._currentUriBase = uri; + if ($.$get$Style_platform() == $.$get$Style_url()) + t1 = $._current = uri.resolve$1(".").toString$0(0); + else { + path = uri.toFilePath$0(); + lastIndex = path.length - 1; + t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex); + } + return t1; + }, + isAlphabetic(char) { + var t1; + if (!(char >= 65 && char <= 90)) + t1 = char >= 97 && char <= 122; + else + t1 = true; + return t1; + }, + isDriveLetter(path, index) { + var t1 = path.length, + t2 = index + 2; + if (t1 < t2) + return false; + if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index))) + return false; + if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) + return false; + if (t1 === t2) + return true; + return B.JSString_methods.codeUnitAt$1(path, t2) === 47; + } + }, + J = { + makeDispatchRecord(interceptor, proto, extension, indexability) { + return {i: interceptor, p: proto, e: extension, x: indexability}; + }, + getNativeInterceptor(object) { + var proto, objectProto, $constructor, interceptor, t1, + record = object[init.dispatchPropertyName]; + if (record == null) + if ($.initNativeDispatchFlag == null) { + A.initNativeDispatch(); + record = object[init.dispatchPropertyName]; + } + if (record != null) { + proto = record.p; + if (false === proto) + return record.i; + if (true === proto) + return object; + objectProto = Object.getPrototypeOf(object); + if (proto === objectProto) + return record.i; + if (record.e === objectProto) + throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record)))); + } + $constructor = object.constructor; + if ($constructor == null) + interceptor = null; + else { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + interceptor = $constructor[t1]; + } + if (interceptor != null) + return interceptor; + interceptor = A.lookupAndCacheInterceptor(object); + if (interceptor != null) + return interceptor; + if (typeof object == "function") + return B.JavaScriptFunction_methods; + proto = Object.getPrototypeOf(object); + if (proto == null) + return B.PlainJavaScriptObject_methods; + if (proto === Object.prototype) + return B.PlainJavaScriptObject_methods; + if (typeof $constructor == "function") { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); + return B.UnknownJavaScriptObject_methods; + } + return B.UnknownJavaScriptObject_methods; + }, + JSArray_JSArray$fixed($length, $E) { + if ($length < 0 || $length > 4294967295) + throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null)); + return J.JSArray_JSArray$markFixed(new Array($length), $E); + }, + JSArray_JSArray$growable($length, $E) { + if ($length < 0) + throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null)); + return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); + }, + JSArray_JSArray$markFixed(allocation, $E) { + return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")), $E); + }, + JSArray_markFixedList(list, $T) { + list.fixed$length = Array; + return list; + }, + JSArray_markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + return list; + }, + JSString__isWhitespace(codeUnit) { + if (codeUnit < 256) + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } + }, + JSString__skipLeadingWhitespace(string, index) { + var t1, codeUnit; + for (t1 = string.length; index < t1;) { + codeUnit = B.JSString_methods._codeUnitAt$1(string, index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; + } + return index; + }, + JSString__skipTrailingWhitespace(string, index) { + var index0, codeUnit; + for (; index > 0; index = index0) { + index0 = index - 1; + codeUnit = B.JSString_methods.codeUnitAt$1(string, index0); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + } + return index; + }, + getInterceptor$(receiver) { + if (typeof receiver == "number") { + if (Math.floor(receiver) == receiver) + return J.JSInt.prototype; + return J.JSNumNotInt.prototype; + } + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return J.JSNull.prototype; + if (typeof receiver == "boolean") + return J.JSBool.prototype; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$asx(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$ax(receiver) { + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$s(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$x(receiver) { + if (receiver == null) + return receiver; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$z(receiver) { + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + get$hashCode$(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); + }, + get$isEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + }, + get$iterator$ax(receiver) { + return J.getInterceptor$ax(receiver).get$iterator(receiver); + }, + get$keys$x(receiver) { + return J.getInterceptor$x(receiver).get$keys(receiver); + }, + get$length$asx(receiver) { + return J.getInterceptor$asx(receiver).get$length(receiver); + }, + get$parent$z(receiver) { + return J.getInterceptor$z(receiver).get$parent(receiver); + }, + $eq$(receiver, a0) { + if (receiver == null) + return a0 == null; + if (typeof receiver != "object") + return a0 != null && receiver === a0; + return J.getInterceptor$(receiver).$eq(receiver, a0); + }, + $index$asx(receiver, a0) { + if (typeof a0 === "number") + if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) + if (a0 >>> 0 === a0 && a0 < receiver.length) + return receiver[a0]; + return J.getInterceptor$asx(receiver).$index(receiver, a0); + }, + $indexSet$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); + }, + allMatches$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); + }, + allMatches$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); + }, + codeUnitAt$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + }, + elementAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + }, + endsWith$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); + }, + forEach$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).forEach$1(receiver, a0); + }, + map$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); + }, + matchAsPrefix$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + }, + noSuchMethod$1$(receiver, a0) { + return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + }, + toString$0$(receiver) { + return J.getInterceptor$(receiver).toString$0(receiver); + }, + Interceptor: function Interceptor() { + }, + JSBool: function JSBool() { + }, + JSNull: function JSNull() { + }, + JavaScriptObject: function JavaScriptObject() { + }, + LegacyJavaScriptObject: function LegacyJavaScriptObject() { + }, + PlainJavaScriptObject: function PlainJavaScriptObject() { + }, + UnknownJavaScriptObject: function UnknownJavaScriptObject() { + }, + JavaScriptFunction: function JavaScriptFunction() { + }, + JSArray: function JSArray(t0) { + this.$ti = t0; + }, + JSUnmodifiableArray: function JSUnmodifiableArray(t0) { + this.$ti = t0; + }, + ArrayIterator: function ArrayIterator(t0, t1, t2) { + var _ = this; + _._iterable = t0; + _.__interceptors$_length = t1; + _._index = 0; + _._current = null; + _.$ti = t2; + }, + JSNumber: function JSNumber() { + }, + JSInt: function JSInt() { + }, + JSNumNotInt: function JSNumNotInt() { + }, + JSString: function JSString() { + } + }, + B = {}; + var holders = [A, J, B]; + var $ = {}; + A.JS_CONST.prototype = {}; + J.Interceptor.prototype = { + $eq(receiver, other) { + return receiver === other; + }, + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); + }, + toString$0(receiver) { + return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'"; + }, + noSuchMethod$1(receiver, invocation) { + type$.Invocation._as(invocation); + throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + } + }; + J.JSBool.prototype = { + toString$0(receiver) { + return String(receiver); + }, + get$hashCode(receiver) { + return receiver ? 519018 : 218159; + }, + $isbool: 1 + }; + J.JSNull.prototype = { + $eq(receiver, other) { + return null == other; + }, + toString$0(receiver) { + return "null"; + }, + get$hashCode(receiver) { + return 0; + }, + $isNull: 1 + }; + J.JavaScriptObject.prototype = {}; + J.LegacyJavaScriptObject.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.PlainJavaScriptObject.prototype = {}; + J.UnknownJavaScriptObject.prototype = {}; + J.JavaScriptFunction.prototype = { + toString$0(receiver) { + var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; + if (dartClosure == null) + return this.super$LegacyJavaScriptObject$toString(receiver); + return "JavaScript function for " + J.toString$0$(dartClosure); + }, + $isFunction: 1 + }; + J.JSArray.prototype = { + add$1(receiver, value) { + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("add")); + receiver.push(value); + }, + removeAt$1(receiver, index) { + var t1; + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeAt")); + t1 = receiver.length; + if (index >= t1) + throw A.wrapException(A.RangeError$value(index, null)); + return receiver.splice(index, 1)[0]; + }, + insert$2(receiver, index, value) { + var t1; + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insert")); + t1 = receiver.length; + if (index > t1) + throw A.wrapException(A.RangeError$value(index, null)); + receiver.splice(index, 0, value); + }, + insertAll$2(receiver, index, iterable) { + var t1, insertionLength, end; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insertAll")); + t1 = receiver.length; + A.RangeError_checkValueInInterval(index, 0, t1, "index"); + insertionLength = iterable.length; + receiver.length = t1 + insertionLength; + end = index + insertionLength; + this.setRange$4(receiver, end, receiver.length, receiver, index); + this.setRange$3(receiver, index, end, iterable); + }, + removeLast$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeLast")); + if (receiver.length === 0) + throw A.wrapException(A.diagnoseIndexError(receiver, -1)); + return receiver.pop(); + }, + addAll$1(receiver, collection) { + var t1; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(collection); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("addAll")); + if (Array.isArray(collection)) { + this._addAllFromArray$1(receiver, collection); + return; + } + for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) + receiver.push(t1.get$current(t1)); + }, + _addAllFromArray$1(receiver, array) { + var len, i; + type$.JSArray_dynamic._as(array); + len = array.length; + if (len === 0) + return; + if (receiver === array) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + for (i = 0; i < len; ++i) + receiver.push(array[i]); + }, + clear$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("clear")); + receiver.length = 0; + }, + map$1$1(receiver, f, $T) { + var t1 = A._arrayInstanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + join$1(receiver, separator) { + var i, + list = A.List_List$filled(receiver.length, "", false, type$.String); + for (i = 0; i < receiver.length; ++i) + this.$indexSet(list, i, A.S(receiver[i])); + return list.join(separator); + }, + join$0($receiver) { + return this.join$1($receiver, ""); + }, + fold$1$2(receiver, initialValue, combine, $T) { + var $length, value, i; + $T._as(initialValue); + A._arrayInstanceType(receiver)._bind$1($T)._eval$1("1(1,2)")._as(combine); + $length = receiver.length; + for (value = initialValue, i = 0; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if (receiver.length !== $length) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + return value; + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.IterableElementError_noElement()); + }, + get$last(receiver) { + var t1 = receiver.length; + if (t1 > 0) + return receiver[t1 - 1]; + throw A.wrapException(A.IterableElementError_noElement()); + }, + setRange$4(receiver, start, end, iterable, skipCount) { + var $length, otherList, t1, i; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("setRange")); + A.RangeError_checkValidRange(start, end, receiver.length); + $length = end - start; + if ($length === 0) + return; + A.RangeError_checkNotNegative(skipCount, "skipCount"); + otherList = iterable; + t1 = J.getInterceptor$asx(otherList); + if (skipCount + $length > t1.get$length(otherList)) + throw A.wrapException(A.IterableElementError_tooFew()); + if (skipCount < start) + for (i = $length - 1; i >= 0; --i) + receiver[start + i] = t1.$index(otherList, skipCount + i); + else + for (i = 0; i < $length; ++i) + receiver[start + i] = t1.$index(otherList, skipCount + i); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + get$isEmpty(receiver) { + return receiver.length === 0; + }, + get$isNotEmpty(receiver) { + return receiver.length !== 0; + }, + toString$0(receiver) { + return A.IterableBase_iterableToFullString(receiver, "[", "]"); + }, + get$iterator(receiver) { + return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); + }, + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); + }, + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asInt(index); + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("indexed set")); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + receiver[index] = value; + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + J.JSUnmodifiableArray.prototype = {}; + J.ArrayIterator.prototype = { + get$current(_) { + var t1 = this._current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var t2, _this = this, + t1 = _this._iterable, + $length = t1.length; + if (_this.__interceptors$_length !== $length) + throw A.wrapException(A.throwConcurrentModificationError(t1)); + t2 = _this._index; + if (t2 >= $length) { + _this.set$_current(null); + return false; + } + _this.set$_current(t1[t2]); + ++_this._index; + return true; + }, + set$_current(_current) { + this._current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + J.JSNumber.prototype = { + toString$0(receiver) { + if (receiver === 0 && 1 / receiver < 0) + return "-0.0"; + else + return "" + receiver; + }, + get$hashCode(receiver) { + var absolute, floorLog2, factor, scaled, + intValue = receiver | 0; + if (receiver === intValue) + return intValue & 536870911; + absolute = Math.abs(receiver); + floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; + factor = Math.pow(2, floorLog2); + scaled = absolute < 1 ? absolute / factor : factor / absolute; + return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; + }, + $mod(receiver, other) { + var result = receiver % other; + if (result === 0) + return 0; + if (result > 0) + return result; + return result + other; + }, + $tdiv(receiver, other) { + if ((receiver | 0) === receiver) + if (other >= 1 || false) + return receiver / other | 0; + return this._tdivSlow$1(receiver, other); + }, + _tdivFast$1(receiver, other) { + return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); }, - _tdivSlow$1: function(receiver, other) { + _tdivSlow$1(receiver, other) { var quotient = receiver / other; if (quotient >= -2147483648 && quotient <= 2147483647) return quotient | 0; @@ -6749,9 +7920,9 @@ return Math.floor(quotient); } else if (quotient > -1 / 0) return Math.ceil(quotient); - throw H.wrapException(P.UnsupportedError$("Result of truncating division is " + H.S(quotient) + ": " + H.S(receiver) + " ~/ " + other)); + throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other)); }, - _shrOtherPositive$1: function(receiver, other) { + _shrOtherPositive$1(receiver, other) { var t1; if (receiver > 0) t1 = this._shrBothPositive$1(receiver, other); @@ -6761,97 +7932,104 @@ } return t1; }, - _shrReceiverPositive$1: function(receiver, other) { - if (other < 0) - throw H.wrapException(H.argumentErrorValue(other)); + _shrReceiverPositive$1(receiver, other) { + if (0 > other) + throw A.wrapException(A.argumentErrorValue(other)); return this._shrBothPositive$1(receiver, other); }, - _shrBothPositive$1: function(receiver, other) { + _shrBothPositive$1(receiver, other) { return other > 31 ? 0 : receiver >>> other; }, - $gt: function(receiver, other) { - if (typeof other !== "number") - throw H.wrapException(H.argumentErrorValue(other)); - return receiver > other; - }, $isdouble: 1, $isnum: 1 }; J.JSInt.prototype = {$isint: 1}; - J.JSDouble.prototype = {}; + J.JSNumNotInt.prototype = {}; J.JSString.prototype = { - codeUnitAt$1: function(receiver, index) { - if (typeof index !== "number" || Math.floor(index) !== index) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); + codeUnitAt$1(receiver, index) { if (index < 0) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); + throw A.wrapException(A.diagnoseIndexError(receiver, index)); if (index >= receiver.length) - H.throwExpression(H.diagnoseIndexError(receiver, index)); + A.throwExpression(A.diagnoseIndexError(receiver, index)); return receiver.charCodeAt(index); }, - _codeUnitAt$1: function(receiver, index) { + _codeUnitAt$1(receiver, index) { if (index >= receiver.length) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); + throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver.charCodeAt(index); }, - allMatches$2: function(receiver, string, start) { - var t1; - if (typeof string !== "string") - H.throwExpression(H.argumentErrorValue(string)); - t1 = string.length; + allMatches$2(receiver, string, start) { + var t1 = string.length; if (start > t1) - throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); - return new H._StringAllMatchesIterable(string, receiver, start); + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._StringAllMatchesIterable(string, receiver, start); }, - allMatches$1: function($receiver, string) { + allMatches$1($receiver, string) { return this.allMatches$2($receiver, string, 0); }, - matchAsPrefix$2: function(receiver, string, start) { - var t1, i; - if (typeof start !== "number") - return start.$lt(); + matchAsPrefix$2(receiver, string, start) { + var t1, i, _null = null; if (start < 0 || start > string.length) - throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); + throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null)); t1 = receiver.length; if (start + t1 > string.length) - return; + return _null; for (i = 0; i < t1; ++i) if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) - return; - return new H.StringMatch(start, receiver); + return _null; + return new A.StringMatch(start, receiver); }, - $add: function(receiver, other) { - if (typeof other !== "string") - throw H.wrapException(P.ArgumentError$value(other, null, null)); + $add(receiver, other) { return receiver + other; }, - endsWith$1: function(receiver, other) { - var otherLength, t1; - otherLength = other.length; - t1 = receiver.length; + endsWith$1(receiver, other) { + var otherLength = other.length, + t1 = receiver.length; if (otherLength > t1) return false; return other === this.substring$1(receiver, t1 - otherLength); }, - replaceFirst$2: function(receiver, from, to) { - P.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); - return H.stringReplaceFirstUnchecked(receiver, from, to, 0); - }, - replaceRange$3: function(receiver, start, end, replacement) { - if (typeof start !== "number" || Math.floor(start) !== start) - H.throwExpression(H.argumentErrorValue(start)); - end = P.RangeError_checkValidRange(start, end, receiver.length); - return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); + replaceFirst$2(receiver, from, to) { + type$.Pattern._as(from); + A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); + return A.stringReplaceFirstUnchecked(receiver, from, to, 0); + }, + split$1(receiver, pattern) { + type$.Pattern._as(pattern); + if (typeof pattern == "string") + return A._setArrayType(receiver.split(pattern), type$.JSArray_String); + else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0) + return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String); + else + return this._defaultSplit$1(receiver, pattern); + }, + replaceRange$3(receiver, start, end, replacement) { + var e = A.RangeError_checkValidRange(start, end, receiver.length); + return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); + }, + _defaultSplit$1(receiver, pattern) { + var t1, start, $length, match, matchStart, matchEnd, + result = A._setArrayType([], type$.JSArray_String); + for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) { + match = t1.get$current(t1); + matchStart = match.get$start(match); + matchEnd = match.get$end(match); + $length = matchEnd - matchStart; + if ($length === 0 && start === matchStart) + continue; + B.JSArray_methods.add$1(result, this.substring$2(receiver, start, matchStart)); + start = matchEnd; + } + if (start < receiver.length || $length > 0) + B.JSArray_methods.add$1(result, this.substring$1(receiver, start)); + return result; }, - startsWith$2: function(receiver, pattern, index) { + startsWith$2(receiver, pattern, index) { var endIndex; - if (typeof index !== "number" || Math.floor(index) !== index) - H.throwExpression(H.argumentErrorValue(index)); - if (typeof index !== "number") - return index.$lt(); + type$.Pattern._as(pattern); if (index < 0 || index > receiver.length) - throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null, null)); - if (typeof pattern === "string") { + throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); + if (typeof pattern == "string") { endIndex = index + pattern.length; if (endIndex > receiver.length) return false; @@ -6859,31 +8037,19 @@ } return J.matchAsPrefix$2$s(pattern, receiver, index) != null; }, - startsWith$1: function($receiver, pattern) { + startsWith$1($receiver, pattern) { return this.startsWith$2($receiver, pattern, 0); }, - substring$2: function(receiver, startIndex, endIndex) { - if (typeof startIndex !== "number" || Math.floor(startIndex) !== startIndex) - H.throwExpression(H.argumentErrorValue(startIndex)); - if (endIndex == null) - endIndex = receiver.length; - if (typeof startIndex !== "number") - return startIndex.$lt(); - if (startIndex < 0) - throw H.wrapException(P.RangeError$value(startIndex, null)); - if (startIndex > endIndex) - throw H.wrapException(P.RangeError$value(startIndex, null)); - if (endIndex > receiver.length) - throw H.wrapException(P.RangeError$value(endIndex, null)); - return receiver.substring(startIndex, endIndex); - }, - substring$1: function($receiver, startIndex) { - return this.substring$2($receiver, startIndex, null); - }, - trim$0: function(receiver) { - var result, endIndex, startIndex, t1, endIndex0; - result = receiver.trim(); - endIndex = result.length; + substring$2(receiver, start, end) { + return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length)); + }, + substring$1($receiver, start) { + return this.substring$2($receiver, start, null); + }, + trim$0(receiver) { + var startIndex, t1, endIndex0, + result = receiver.trim(), + endIndex = result.length; if (endIndex === 0) return result; if (this._codeUnitAt$1(result, 0) === 133) { @@ -6898,14 +8064,14 @@ return result; return result.substring(startIndex, endIndex0); }, - $mul: function(receiver, times) { + $mul(receiver, times) { var s, result; if (0 >= times) return ""; if (times === 1 || receiver.length === 0) return receiver; if (times !== times >>> 0) - throw H.wrapException(C.C_OutOfMemoryError); + throw A.wrapException(B.C_OutOfMemoryError); for (s = receiver, result = ""; true;) { if ((times & 1) === 1) result = s + result; @@ -6916,898 +8082,993 @@ } return result; }, - padRight$1: function(receiver, width) { - var delta; - if (typeof width !== "number") - return width.$sub(); - delta = width - receiver.length; + padLeft$2(receiver, width, padding) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return this.$mul(padding, delta) + receiver; + }, + padRight$1(receiver, width) { + var delta = width - receiver.length; if (delta <= 0) return receiver; return receiver + this.$mul(" ", delta); }, - indexOf$2: function(receiver, pattern, start) { + indexOf$2(receiver, pattern, start) { var t1; if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); t1 = receiver.indexOf(pattern, start); return t1; }, - indexOf$1: function($receiver, pattern) { + indexOf$1($receiver, pattern) { return this.indexOf$2($receiver, pattern, 0); }, - lastIndexOf$2: function(receiver, pattern, start) { + lastIndexOf$2(receiver, pattern, start) { var t1, t2; if (start == null) start = receiver.length; else if (start < 0 || start > receiver.length) - throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); t1 = pattern.length; t2 = receiver.length; if (start + t1 > t2) start = t2 - t1; return receiver.lastIndexOf(pattern, start); }, - lastIndexOf$1: function($receiver, pattern) { + lastIndexOf$1($receiver, pattern) { return this.lastIndexOf$2($receiver, pattern, null); }, - contains$1: function(receiver, other) { - if (other == null) - H.throwExpression(H.argumentErrorValue(other)); - return H.stringContainsUnchecked(receiver, other, 0); + contains$2(receiver, other, startIndex) { + var t1; + type$.Pattern._as(other); + t1 = receiver.length; + if (startIndex > t1) + throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null)); + return A.stringContainsUnchecked(receiver, other, startIndex); }, - toString$0: function(receiver) { + contains$1($receiver, other) { + return this.contains$2($receiver, other, 0); + }, + toString$0(receiver) { return receiver; }, - get$hashCode: function(receiver) { + get$hashCode(receiver) { var t1, hash, i; for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { - hash = 536870911 & hash + receiver.charCodeAt(i); - hash = 536870911 & hash + ((524287 & hash) << 10); + hash = hash + receiver.charCodeAt(i) & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; hash ^= hash >> 6; } - hash = 536870911 & hash + ((67108863 & hash) << 3); + hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >> 11; - return 536870911 & hash + ((16383 & hash) << 15); + return hash + ((hash & 16383) << 15) & 536870911; }, - get$length: function(receiver) { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H.intTypeCheck(index); - if (index >= receiver.length || false) - throw H.wrapException(H.diagnoseIndexError(receiver, index)); + $index(receiver, index) { + A._asInt(index); + if (index >= receiver.length) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver[index]; }, $isPattern: 1, $isString: 1 }; - H.CodeUnits.prototype = { - get$length: function(_) { - return this._string.length; + A.CastStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t2, + t1 = this.$ti; + t1._eval$1("~(2)?")._as(onData); + t2 = this._source.listen$3$cancelOnError$onDone(null, cancelOnError, type$.nullable_void_Function._as(onDone)); + t1 = new A.CastStreamSubscription(t2, $.Zone__current, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastStreamSubscription<1,2>")); + t2.onData$1(t1.get$__internal$_onData()); + t1.onData$1(onData); + t1.onError$1(0, onError); + return t1; + }, + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, - $index: function(_, i) { - return C.JSString_methods.codeUnitAt$1(this._string, H.intTypeCheck(i)); + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + A.CastStreamSubscription.prototype = { + cancel$0(_) { + return this._source.cancel$0(0); }, - $asEfficientLengthIterable: function() { - return [P.int]; + onData$1(handleData) { + var t1 = this.$ti; + t1._eval$1("~(2)?")._as(handleData); + this.set$_handleData(handleData == null ? null : this.__internal$_zone.registerUnaryCallback$2$1(handleData, type$.dynamic, t1._rest[1])); + }, + onError$1(_, handleError) { + var _this = this; + _this._source.onError$1(0, handleError); + if (handleError == null) + _this._handleError = null; + else if (type$.void_Function_Object_StackTrace._is(handleError)) + _this._handleError = _this.__internal$_zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + else if (type$.void_Function_Object._is(handleError)) + _this._handleError = _this.__internal$_zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); + else + throw A.wrapException(A.ArgumentError$(string$.handle, null)); }, - $asUnmodifiableListMixin: function() { - return [P.int]; + __internal$_onData$1(data) { + var targetData, error, stack, handleError, t2, exception, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(data); + t2 = _this._handleData; + if (t2 == null) + return; + targetData = null; + try { + targetData = t1._rest[1]._as(data); + } catch (exception) { + error = A.unwrapException(exception); + stack = A.getTraceFromException(exception); + handleError = _this._handleError; + if (handleError == null) + _this.__internal$_zone.handleUncaughtError$2(error, stack); + else { + t1 = type$.Object; + t2 = _this.__internal$_zone; + if (type$.void_Function_Object_StackTrace._is(handleError)) + t2.runBinaryGuarded$2$3(handleError, error, stack, t1, type$.StackTrace); + else + t2.runUnaryGuarded$1$2(type$.void_Function_Object._as(handleError), error, t1); + } + return; + } + _this.__internal$_zone.runUnaryGuarded$1$2(t2, targetData, t1._rest[1]); }, - $asListMixin: function() { - return [P.int]; + set$_handleData(_handleData) { + this._handleData = this.$ti._eval$1("~(2)?")._as(_handleData); }, - $asIterable: function() { - return [P.int]; + $isStreamSubscription: 1 + }; + A.LateError.prototype = { + toString$0(_) { + return "LateInitializationError: " + this._message; + } + }; + A.CodeUnits.prototype = { + get$length(_) { + return this._string.length; }, - $asList: function() { - return [P.int]; + $index(_, i) { + return B.JSString_methods.codeUnitAt$1(this._string, A._asInt(i)); } }; - H.EfficientLengthIterable.prototype = {}; - H.ListIterable.prototype = { - get$iterator: function(_) { - return new H.ListIterator(this, this.get$length(this), 0, [H.getRuntimeTypeArgument(this, "ListIterable", 0)]); + A.nullFuture_closure.prototype = { + call$0() { + return A.Future_Future$value(null, type$.Null); + }, + $signature: 44 + }; + A.SentinelValue.prototype = {}; + A.EfficientLengthIterable.prototype = {}; + A.ListIterable.prototype = { + get$iterator(_) { + var _this = this; + return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator")); }, - get$isEmpty: function(_) { + get$isEmpty(_) { return this.get$length(this) === 0; }, - join$1: function(_, separator) { - var $length, first, t1, i; - $length = this.get$length(this); + join$1(_, separator) { + var first, t1, i, _this = this, + $length = _this.get$length(_this); if (separator.length !== 0) { if ($length === 0) return ""; - first = H.S(this.elementAt$1(0, 0)); - if ($length !== this.get$length(this)) - throw H.wrapException(P.ConcurrentModificationError$(this)); + first = A.S(_this.elementAt$1(0, 0)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); for (t1 = first, i = 1; i < $length; ++i) { - t1 = t1 + separator + H.S(this.elementAt$1(0, i)); - if ($length !== this.get$length(this)) - throw H.wrapException(P.ConcurrentModificationError$(this)); + t1 = t1 + separator + A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } return t1.charCodeAt(0) == 0 ? t1 : t1; } else { for (i = 0, t1 = ""; i < $length; ++i) { - t1 += H.S(this.elementAt$1(0, i)); - if ($length !== this.get$length(this)) - throw H.wrapException(P.ConcurrentModificationError$(this)); + t1 += A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } return t1.charCodeAt(0) == 0 ? t1 : t1; } }, - join$0: function($receiver) { + join$0($receiver) { return this.join$1($receiver, ""); }, - fold$1$2: function(_, initialValue, combine, $T) { - var $length, value, i; - H.assertSubtypeOfRuntimeType(initialValue, $T); - H.functionTypeCheck(combine, {func: 1, ret: $T, args: [$T, H.getRuntimeTypeArgument(this, "ListIterable", 0)]}); - $length = this.get$length(this); + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return new A.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(toElement), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + fold$1$2(_, initialValue, combine, $T) { + var $length, value, i, _this = this; + $T._as(initialValue); + A._instanceType(_this)._bind$1($T)._eval$1("1(1,ListIterable.E)")._as(combine); + $length = _this.get$length(_this); for (value = initialValue, i = 0; i < $length; ++i) { - value = combine.call$2(value, this.elementAt$1(0, i)); - if ($length !== this.get$length(this)) - throw H.wrapException(P.ConcurrentModificationError$(this)); + value = combine.call$2(value, _this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); } return value; - }, - toList$1$growable: function(_, growable) { - var result, i; - result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListIterable", 0)]); - C.JSArray_methods.set$length(result, this.get$length(this)); - for (i = 0; i < this.get$length(this); ++i) - C.JSArray_methods.$indexSet(result, i, this.elementAt$1(0, i)); - return result; - }, - toList$0: function($receiver) { - return this.toList$1$growable($receiver, true); } }; - H.SubListIterable.prototype = { - get$_endIndex: function() { - var $length, t1; - $length = J.get$length$asx(this.__internal$_iterable); - t1 = this._endOrLength; - if (t1 == null || t1 > $length) + A.SubListIterable.prototype = { + SubListIterable$3(_iterable, _start, _endOrLength, $E) { + var endOrLength, + t1 = this.__internal$_start; + A.RangeError_checkNotNegative(t1, "start"); + endOrLength = this._endOrLength; + if (endOrLength != null) { + A.RangeError_checkNotNegative(endOrLength, "end"); + if (t1 > endOrLength) + throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null)); + } + }, + get$_endIndex() { + var $length = J.get$length$asx(this.__internal$_iterable), + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength > $length) return $length; - return t1; + return endOrLength; }, - get$_startIndex: function() { - var $length, t1; - $length = J.get$length$asx(this.__internal$_iterable); - t1 = this.__internal$_start; + get$_startIndex() { + var $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; if (t1 > $length) return $length; return t1; }, - get$length: function(_) { - var $length, t1, t2; - $length = J.get$length$asx(this.__internal$_iterable); - t1 = this.__internal$_start; + get$length(_) { + var endOrLength, + $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; if (t1 >= $length) return 0; - t2 = this._endOrLength; - if (t2 == null || t2 >= $length) + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength >= $length) return $length - t1; - if (typeof t2 !== "number") - return t2.$sub(); - return t2 - t1; - }, - elementAt$1: function(_, index) { - var realIndex, t1; - realIndex = this.get$_startIndex() + index; - if (index >= 0) { - t1 = this.get$_endIndex(); - if (typeof t1 !== "number") - return H.iae(t1); - t1 = realIndex >= t1; - } else - t1 = true; - if (t1) - throw H.wrapException(P.IndexError$(index, this, "index", null, null)); - return J.elementAt$1$ax(this.__internal$_iterable, realIndex); - } - }; - H.ListIterator.prototype = { - get$current: function() { - return this.__internal$_current; - }, - moveNext$0: function() { - var t1, t2, $length, t3; - t1 = this.__internal$_iterable; - t2 = J.getInterceptor$asx(t1); - $length = t2.get$length(t1); - if (this.__internal$_length !== $length) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - t3 = this.__internal$_index; + if (typeof endOrLength !== "number") + return endOrLength.$sub(); + return endOrLength - t1; + }, + elementAt$1(_, index) { + var _this = this, + realIndex = _this.get$_startIndex() + index; + if (index < 0 || realIndex >= _this.get$_endIndex()) + throw A.wrapException(A.IndexError$(index, _this, "index", null, null)); + return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); + } + }; + A.ListIterator.prototype = { + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var t3, _this = this, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + $length = t2.get$length(t1); + if (_this.__internal$_length !== $length) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + t3 = _this.__internal$_index; if (t3 >= $length) { - this.set$__internal$_current(null); + _this.set$__internal$_current(null); return false; } - this.set$__internal$_current(t2.elementAt$1(t1, t3)); - ++this.__internal$_index; + _this.set$__internal$_current(t2.elementAt$1(t1, t3)); + ++_this.__internal$_index; return true; }, - set$__internal$_current: function(_current) { - this.__internal$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("1?")._as(_current); }, $isIterator: 1 }; - H.MappedIterable.prototype = { - get$iterator: function(_) { - return new H.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti); + A.MappedIterable.prototype = { + get$iterator(_) { + var t1 = A._instanceType(this); + return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); }, - get$length: function(_) { + get$length(_) { return J.get$length$asx(this.__internal$_iterable); - }, - $asIterable: function($S, $T) { - return [$T]; } }; - H.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1, - $asEfficientLengthIterable: function($S, $T) { - return [$T]; - } - }; - H.MappedIterator.prototype = { - moveNext$0: function() { - var t1 = this._iterator; + A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; + A.MappedIterator.prototype = { + moveNext$0() { + var _this = this, + t1 = _this._iterator; if (t1.moveNext$0()) { - this.set$__internal$_current(this._f.call$1(t1.get$current())); + _this.set$__internal$_current(_this._f.call$1(t1.get$current(t1))); return true; } - this.set$__internal$_current(null); + _this.set$__internal$_current(null); return false; }, - get$current: function() { - return this.__internal$_current; - }, - set$__internal$_current: function(_current) { - this.__internal$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 1)); + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, - $asIterator: function($S, $T) { - return [$T]; + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); } }; - H.MappedListIterable.prototype = { - get$length: function(_) { + A.MappedListIterable.prototype = { + get$length(_) { return J.get$length$asx(this._source); }, - elementAt$1: function(_, index) { + elementAt$1(_, index) { return this._f.call$1(J.elementAt$1$ax(this._source, index)); - }, - $asEfficientLengthIterable: function($S, $T) { - return [$T]; - }, - $asListIterable: function($S, $T) { - return [$T]; - }, - $asIterable: function($S, $T) { - return [$T]; } }; - H.WhereIterable.prototype = { - get$iterator: function(_) { - return new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti); + A.WhereIterable.prototype = { + get$iterator(_) { + return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); + }, + map$1$1(_, toElement, $T) { + var t1 = this.$ti; + return new A.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(toElement), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); } }; - H.WhereIterator.prototype = { - moveNext$0: function() { + A.WhereIterator.prototype = { + moveNext$0() { var t1, t2; for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) - if (t2.call$1(t1.get$current())) + if (A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) return true; return false; }, - get$current: function() { - return this._iterator.get$current(); + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); } }; - H.ExpandIterable.prototype = { - get$iterator: function(_) { - return new H.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, C.C_EmptyIterator, this.$ti); - }, - $asIterable: function($S, $T) { - return [$T]; + A.ExpandIterable.prototype = { + get$iterator(_) { + var t1 = this.$ti; + return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); } }; - H.ExpandIterator.prototype = { - get$current: function() { - return this.__internal$_current; + A.ExpandIterator.prototype = { + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, - moveNext$0: function() { - var t1, t2; - if (this._currentExpansion == null) + moveNext$0() { + var t1, t2, _this = this; + if (_this._currentExpansion == null) return false; - for (t1 = this._iterator, t2 = this._f; !this._currentExpansion.moveNext$0();) { - this.set$__internal$_current(null); + for (t1 = _this._iterator, t2 = _this._f; !_this._currentExpansion.moveNext$0();) { + _this.set$__internal$_current(null); if (t1.moveNext$0()) { - this.set$_currentExpansion(null); - this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current()))); + _this.set$_currentExpansion(null); + _this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current(t1)))); } else return false; } - this.set$__internal$_current(this._currentExpansion.get$current()); + t1 = _this._currentExpansion; + _this.set$__internal$_current(t1.get$current(t1)); return true; }, - set$_currentExpansion: function(_currentExpansion) { - this._currentExpansion = H.assertSubtype(_currentExpansion, "$isIterator", [H.getTypeArgumentByIndex(this, 1)], "$asIterator"); + set$_currentExpansion(_currentExpansion) { + this._currentExpansion = this.$ti._eval$1("Iterator<2>?")._as(_currentExpansion); + }, + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + }, + $isIterator: 1 + }; + A.TakeIterable.prototype = { + get$iterator(_) { + return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>")); + } + }; + A.EfficientLengthTakeIterable.prototype = { + get$length(_) { + var iterableLength = J.get$length$asx(this.__internal$_iterable), + t1 = this._takeCount; + if (iterableLength > t1) + return t1; + return iterableLength; }, - set$__internal$_current: function(_current) { - this.__internal$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 1)); + $isEfficientLengthIterable: 1 + }; + A.TakeIterator.prototype = { + moveNext$0() { + if (--this._remaining >= 0) + return this._iterator.moveNext$0(); + this._remaining = -1; + return false; }, - $isIterator: 1, - $asIterator: function($S, $T) { - return [$T]; + get$current(_) { + var t1; + if (this._remaining < 0) { + this.$ti._precomputed1._as(null); + return null; + } + t1 = this._iterator; + return t1.get$current(t1); } }; - H.SkipWhileIterable.prototype = { - get$iterator: function(_) { - return new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti); + A.SkipWhileIterable.prototype = { + get$iterator(_) { + return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); } }; - H.SkipWhileIterator.prototype = { - moveNext$0: function() { - var t1, t2; - if (!this._hasSkipped) { - this._hasSkipped = true; - for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) - if (!t2.call$1(t1.get$current())) + A.SkipWhileIterator.prototype = { + moveNext$0() { + var t1, t2, _this = this; + if (!_this._hasSkipped) { + _this._hasSkipped = true; + for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) + if (!A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) return true; } - return this._iterator.moveNext$0(); + return _this._iterator.moveNext$0(); }, - get$current: function() { - return this._iterator.get$current(); + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); } }; - H.EmptyIterator.prototype = { - moveNext$0: function() { + A.EmptyIterator.prototype = { + moveNext$0() { return false; }, - get$current: function() { - return; + get$current(_) { + throw A.wrapException(A.IterableElementError_noElement()); + }, + $isIterator: 1 + }; + A.WhereTypeIterable.prototype = { + get$iterator(_) { + return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); + } + }; + A.WhereTypeIterator.prototype = { + moveNext$0() { + var t1, t2; + for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) + if (t2._is(t1.get$current(t1))) + return true; + return false; + }, + get$current(_) { + var t1 = this._source; + return this.$ti._precomputed1._as(t1.get$current(t1)); }, $isIterator: 1 }; - H.FixedLengthListMixin.prototype = {}; - H.UnmodifiableListMixin.prototype = { - $indexSet: function(_, index, value) { - H.intTypeCheck(index); - H.assertSubtypeOfRuntimeType(value, H.getRuntimeTypeArgument(this, "UnmodifiableListMixin", 0)); - throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + A.FixedLengthListMixin.prototype = {}; + A.UnmodifiableListMixin.prototype = { + $indexSet(_, index, value) { + A._asInt(index); + A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); } }; - H.UnmodifiableListBase.prototype = {}; - H.ReversedListIterable.prototype = { - get$length: function(_) { + A.UnmodifiableListBase.prototype = {}; + A.ReversedListIterable.prototype = { + get$length(_) { return J.get$length$asx(this._source); }, - elementAt$1: function(_, index) { - var t1, t2; - t1 = this._source; - t2 = J.getInterceptor$asx(t1); + elementAt$1(_, index) { + var t1 = this._source, + t2 = J.getInterceptor$asx(t1); return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); } }; - H.Symbol.prototype = { - get$hashCode: function(_) { + A.Symbol.prototype = { + get$hashCode(_) { var hash = this._hashCode; if (hash != null) return hash; - hash = 536870911 & 664597 * J.get$hashCode$(this.__internal$_name); + hash = 664597 * J.get$hashCode$(this._name) & 536870911; this._hashCode = hash; return hash; }, - toString$0: function(_) { - return 'Symbol("' + H.S(this.__internal$_name) + '")'; + toString$0(_) { + return 'Symbol("' + A.S(this._name) + '")'; }, - $eq: function(_, other) { + $eq(_, other) { if (other == null) return false; - return other instanceof H.Symbol && this.__internal$_name == other.__internal$_name; + return other instanceof A.Symbol && this._name == other._name; }, $isSymbol0: 1 }; - H.ConstantMapView.prototype = {}; - H.ConstantMap.prototype = { - get$isEmpty: function(_) { + A.ConstantMapView.prototype = {}; + A.ConstantMap.prototype = { + get$isEmpty(_) { return this.get$length(this) === 0; }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + toString$0(_) { + return A.MapBase_mapToString(this); }, - $indexSet: function(_, key, val) { - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(val, H.getTypeArgumentByIndex(this, 1)); - return H.ConstantMap__throwUnmodifiable(); + $indexSet(_, key, val) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(val); + A.ConstantMap__throwUnmodifiable(); }, $isMap: 1 }; - H.ConstantStringMap.prototype = { - get$length: function(_) { - return this.__js_helper$_length; + A.ConstantStringMap.prototype = { + get$length(_) { + return this._length; }, - containsKey$1: function(key) { - if (typeof key !== "string") + containsKey$1(_, key) { + if (typeof key != "string") return false; if ("__proto__" === key) return false; return this._jsObject.hasOwnProperty(key); }, - $index: function(_, key) { - if (!this.containsKey$1(key)) - return; - return this._fetch$1(key); - }, - _fetch$1: function(key) { - return this._jsObject[H.stringTypeCheck(key)]; + $index(_, key) { + if (!this.containsKey$1(0, key)) + return null; + return this._jsObject[A._asString(key)]; }, - forEach$1: function(_, f) { - var t1, keys, t2, i, key; - t1 = H.getTypeArgumentByIndex(this, 1); - H.functionTypeCheck(f, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0), t1]}); - keys = this._keys; - for (t2 = keys.length, i = 0; i < t2; ++i) { - key = keys[i]; - f.call$2(key, H.assertSubtypeOfRuntimeType(this._fetch$1(key), t1)); + forEach$1(_, f) { + var keys, t2, t3, i, t4, + t1 = this.$ti; + t1._eval$1("~(1,2)")._as(f); + keys = this.__js_helper$_keys; + for (t2 = keys.length, t3 = this._jsObject, t1 = t1._rest[1], i = 0; i < t2; ++i) { + t4 = A._asString(keys[i]); + f.call$2(t4, t1._as(t3[t4])); } + }, + get$keys(_) { + return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>")); + } + }; + A._ConstantMapKeyIterable.prototype = { + get$iterator(_) { + var t1 = this._map.__js_helper$_keys; + return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + }, + get$length(_) { + return this._map.__js_helper$_keys.length; } }; - H.Instantiation.prototype = { - Instantiation$1: function(_genericClosure) { - if (false) - H.instantiatedGenericFunctionType(0, 0); + A.Instantiation.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other); + }, + get$hashCode(_) { + return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue); }, - toString$0: function(_) { - var types = "<" + C.JSArray_methods.join$1([new H.TypeImpl(H.getTypeArgumentByIndex(this, 0))], ", ") + ">"; - return H.S(this._genericClosure) + " with " + types; + toString$0(_) { + var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); + return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">"); } }; - H.Instantiation1.prototype = { - call$2: function(a0, a1) { - return this._genericClosure.call$1$2(a0, a1, this.$ti[0]); + A.Instantiation1.prototype = { + call$2(a0, a1) { + return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); }, - call$4: function(a0, a1, a2, a3) { - return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti[0]); + call$4(a0, a1, a2, a3) { + return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]); }, - $signature: function() { - return H.instantiatedGenericFunctionType(H.extractFunctionTypeObjectFromInternal(this._genericClosure), this.$ti); + $signature() { + return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti); } }; - H.JSInvocationMirror.prototype = { - get$memberName: function() { + A.JSInvocationMirror.prototype = { + get$memberName() { var t1 = this._memberName; return t1; }, - get$positionalArguments: function() { - var t1, argumentCount, list, index; - if (this._kind === 1) - return C.List_empty0; - t1 = this._arguments; - argumentCount = t1.length - this._namedArgumentNames.length - this._typeArgumentCount; + get$positionalArguments() { + var t1, argumentCount, list, index, _this = this; + if (_this.__js_helper$_kind === 1) + return B.List_empty0; + t1 = _this._arguments; + argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount; if (argumentCount === 0) - return C.List_empty0; + return B.List_empty0; list = []; for (index = 0; index < argumentCount; ++index) { - if (index >= t1.length) - return H.ioore(t1, index); + if (!(index < t1.length)) + return A.ioore(t1, index); list.push(t1[index]); } return J.JSArray_markUnmodifiableList(list); }, - get$namedArguments: function() { - var t1, namedArgumentCount, t2, namedArgumentsStartIndex, t3, map, i, t4, t5; - if (this._kind !== 0) - return C.Map_empty0; - t1 = this._namedArgumentNames; + get$namedArguments() { + var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4, _this = this; + if (_this.__js_helper$_kind !== 0) + return B.Map_empty0; + t1 = _this._namedArgumentNames; namedArgumentCount = t1.length; - t2 = this._arguments; - namedArgumentsStartIndex = t2.length - namedArgumentCount - this._typeArgumentCount; + t2 = _this._arguments; + namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount; if (namedArgumentCount === 0) - return C.Map_empty0; - t3 = P.Symbol0; - map = new H.JsLinkedHashMap([t3, null]); + return B.Map_empty0; + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); for (i = 0; i < namedArgumentCount; ++i) { - if (i >= t1.length) - return H.ioore(t1, i); - t4 = t1[i]; - t5 = namedArgumentsStartIndex + i; - if (t5 < 0 || t5 >= t2.length) - return H.ioore(t2, t5); - map.$indexSet(0, new H.Symbol(t4), t2[t5]); + if (!(i < t1.length)) + return A.ioore(t1, i); + t3 = t1[i]; + t4 = namedArgumentsStartIndex + i; + if (!(t4 >= 0 && t4 < t2.length)) + return A.ioore(t2, t4); + map.$indexSet(0, new A.Symbol(t3), t2[t4]); } - return new H.ConstantMapView(map, [t3, null]); + return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); }, $isInvocation: 1 }; - H.Primitives_functionNoSuchMethod_closure.prototype = { - call$2: function($name, argument) { + A.Primitives_functionNoSuchMethod_closure.prototype = { + call$2($name, argument) { var t1; - H.stringTypeCheck($name); + A._asString($name); t1 = this._box_0; - t1.names = t1.names + "$" + H.S($name); - C.JSArray_methods.add$1(this.namedArgumentList, $name); - C.JSArray_methods.add$1(this.$arguments, argument); + t1.names = t1.names + "$" + $name; + B.JSArray_methods.add$1(this.namedArgumentList, $name); + B.JSArray_methods.add$1(this.$arguments, argument); ++t1.argumentCount; }, - $signature: 50 + $signature: 5 }; - H.TypeErrorDecoder.prototype = { - matchTypeError$1: function(message) { - var match, result, t1; - match = new RegExp(this._pattern).exec(message); + A.TypeErrorDecoder.prototype = { + matchTypeError$1(message) { + var result, t1, _this = this, + match = new RegExp(_this._pattern).exec(message); if (match == null) - return; + return null; result = Object.create(null); - t1 = this._arguments; + t1 = _this._arguments; if (t1 !== -1) result.arguments = match[t1 + 1]; - t1 = this._argumentsExpr; + t1 = _this._argumentsExpr; if (t1 !== -1) result.argumentsExpr = match[t1 + 1]; - t1 = this._expr; + t1 = _this._expr; if (t1 !== -1) result.expr = match[t1 + 1]; - t1 = this._method; + t1 = _this._method; if (t1 !== -1) result.method = match[t1 + 1]; - t1 = this._receiver; + t1 = _this._receiver; if (t1 !== -1) result.receiver = match[t1 + 1]; return result; } }; - H.NullError.prototype = { - toString$0: function(_) { + A.NullError.prototype = { + toString$0(_) { var t1 = this._method; if (t1 == null) - return "NoSuchMethodError: " + H.S(this._message); + return "NoSuchMethodError: " + this.__js_helper$_message; return "NoSuchMethodError: method not found: '" + t1 + "' on null"; } }; - H.JsNoSuchMethodError.prototype = { - toString$0: function(_) { - var t1, t2; - t1 = this._method; + A.JsNoSuchMethodError.prototype = { + toString$0(_) { + var t2, _this = this, + _s38_ = "NoSuchMethodError: method not found: '", + t1 = _this._method; if (t1 == null) - return "NoSuchMethodError: " + H.S(this._message); - t2 = this._receiver; + return "NoSuchMethodError: " + _this.__js_helper$_message; + t2 = _this._receiver; if (t2 == null) - return "NoSuchMethodError: method not found: '" + t1 + "' (" + H.S(this._message) + ")"; - return "NoSuchMethodError: method not found: '" + t1 + "' on '" + t2 + "' (" + H.S(this._message) + ")"; + return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")"; + return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")"; } }; - H.UnknownJsTypeError.prototype = { - toString$0: function(_) { - var t1 = this._message; + A.UnknownJsTypeError.prototype = { + toString$0(_) { + var t1 = this.__js_helper$_message; return t1.length === 0 ? "Error" : "Error: " + t1; } }; - H.ExceptionAndStackTrace.prototype = {}; - H.unwrapException_saveStackTrace.prototype = { - call$1: function(error) { - if (!!J.getInterceptor$(error).$isError) - if (error.$thrownJsError == null) - error.$thrownJsError = this.ex; - return error; + A.NullThrownFromJavaScriptException.prototype = { + toString$0(_) { + return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; }, - $signature: 8 + $isException: 1 }; - H._StackTrace.prototype = { - toString$0: function(_) { - var t1, trace; - t1 = this.__js_helper$_trace; + A.ExceptionAndStackTrace.prototype = {}; + A._StackTrace.prototype = { + toString$0(_) { + var trace, + t1 = this._trace; if (t1 != null) return t1; t1 = this._exception; trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; - t1 = trace == null ? "" : trace; - this.__js_helper$_trace = t1; - return t1; + return this._trace = trace == null ? "" : trace; }, $isStackTrace: 1 }; - H.Closure.prototype = { - toString$0: function(_) { - return "Closure '" + H.Primitives_objectTypeName(this).trim() + "'"; + A.Closure.prototype = { + toString$0(_) { + var $constructor = this.constructor, + $name = $constructor == null ? null : $constructor.name; + return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'"; }, $isFunction: 1, - get$$call: function() { + get$$call() { return this; }, "call*": "call$1", $requiredArgCount: 1, $defaultValues: null }; - H.TearOffClosure.prototype = {}; - H.StaticClosure.prototype = { - toString$0: function(_) { + A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0}; + A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2}; + A.TearOffClosure.prototype = {}; + A.StaticClosure.prototype = { + toString$0(_) { var $name = this.$static_name; if ($name == null) return "Closure of unknown static method"; - return "Closure '" + H.unminifyOrTag($name) + "'"; + return "Closure '" + A.unminifyOrTag($name) + "'"; } }; - H.BoundClosure.prototype = { - $eq: function(_, other) { + A.BoundClosure.prototype = { + $eq(_, other) { if (other == null) return false; if (this === other) return true; - if (!(other instanceof H.BoundClosure)) + if (!(other instanceof A.BoundClosure)) return false; - return this._self === other._self && this._target === other._target && this._receiver === other._receiver; + return this.$_target === other.$_target && this._receiver === other._receiver; }, - get$hashCode: function(_) { - var t1, receiverHashCode; - t1 = this._receiver; - if (t1 == null) - receiverHashCode = H.Primitives_objectHashCode(this._self); - else - receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primitives_objectHashCode(t1); - return (receiverHashCode ^ H.Primitives_objectHashCode(this._target)) >>> 0; + get$hashCode(_) { + return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0; }, - toString$0: function(_) { - var receiver = this._receiver; - if (receiver == null) - receiver = this._self; - return "Closure '" + H.S(this._name) + "' of " + ("Instance of '" + H.Primitives_objectTypeName(receiver) + "'"); - } - }; - H.TypeErrorImplementation.prototype = { - toString$0: function(_) { - return this.message; - } - }; - H.CastErrorImplementation.prototype = { - toString$0: function(_) { - return this.message; + toString$0(_) { + return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); } }; - H.RuntimeError.prototype = { - toString$0: function(_) { - return "RuntimeError: " + H.S(this.message); + A.RuntimeError.prototype = { + toString$0(_) { + return "RuntimeError: " + this.message; } }; - H.TypeImpl.prototype = { - get$_typeName: function() { - var t1 = this.__typeName; - if (t1 == null) { - t1 = H.runtimeTypeToString(this._rti); - this.__typeName = t1; - } - return t1; - }, - toString$0: function(_) { - return this.get$_typeName(); - }, - get$hashCode: function(_) { - var t1 = this._hashCode; - if (t1 == null) { - t1 = C.JSString_methods.get$hashCode(this.get$_typeName()); - this._hashCode = t1; - } - return t1; - }, - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof H.TypeImpl && this.get$_typeName() === other.get$_typeName(); + A._AssertionError.prototype = { + toString$0(_) { + return "Assertion failed: " + A.Error_safeToString(this.message); } }; - H.JsLinkedHashMap.prototype = { - get$length: function(_) { - return this.__js_helper$_length; + A._Required.prototype = {}; + A.JsLinkedHashMap.prototype = { + get$length(_) { + return this._length; }, - get$isEmpty: function(_) { - return this.__js_helper$_length === 0; + get$isEmpty(_) { + return this._length === 0; }, - get$keys: function() { - return new H.LinkedHashMapKeyIterable(this, [H.getTypeArgumentByIndex(this, 0)]); + get$keys(_) { + return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); }, - get$values: function(_) { - var t1 = H.getTypeArgumentByIndex(this, 0); - return H.MappedIterable_MappedIterable(new H.LinkedHashMapKeyIterable(this, [t1]), new H.JsLinkedHashMap_values_closure(this), t1, H.getTypeArgumentByIndex(this, 1)); + get$values(_) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]); }, - containsKey$1: function(key) { + containsKey$1(_, key) { var strings, nums; - if (typeof key === "string") { + if (typeof key == "string") { strings = this._strings; if (strings == null) return false; - return this._containsTableEntry$2(strings, key); - } else if (typeof key === "number" && (key & 0x3ffffff) === key) { + return strings[key] != null; + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { nums = this._nums; if (nums == null) return false; - return this._containsTableEntry$2(nums, key); + return nums[key] != null; } else return this.internalContainsKey$1(key); }, - internalContainsKey$1: function(key) { - var rest = this._rest; + internalContainsKey$1(key) { + var rest = this.__js_helper$_rest; if (rest == null) return false; - return this.internalFindBucketIndex$2(this._getTableBucket$2(rest, J.get$hashCode$(key) & 0x3ffffff), key) >= 0; + return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0; }, - $index: function(_, key) { - var strings, cell, t1, nums; - if (typeof key === "string") { + $index(_, key) { + var strings, cell, t1, nums, _null = null; + if (typeof key == "string") { strings = this._strings; if (strings == null) - return; - cell = this._getTableCell$2(strings, key); - t1 = cell == null ? null : cell.hashMapCellValue; + return _null; + cell = strings[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; return t1; - } else if (typeof key === "number" && (key & 0x3ffffff) === key) { + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { nums = this._nums; if (nums == null) - return; - cell = this._getTableCell$2(nums, key); - t1 = cell == null ? null : cell.hashMapCellValue; + return _null; + cell = nums[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; return t1; } else return this.internalGet$1(key); }, - internalGet$1: function(key) { - var rest, bucket, index; - rest = this._rest; + internalGet$1(key) { + var bucket, index, + rest = this.__js_helper$_rest; if (rest == null) - return; - bucket = this._getTableBucket$2(rest, J.get$hashCode$(key) & 0x3ffffff); + return null; + bucket = rest[this.internalComputeHashCode$1(key)]; index = this.internalFindBucketIndex$2(bucket, key); if (index < 0) - return; + return null; return bucket[index].hashMapCellValue; }, - $indexSet: function(_, key, value) { - var strings, nums, rest, hash, bucket, index; - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1)); - if (typeof key === "string") { - strings = this._strings; - if (strings == null) { - strings = this._newHashTable$0(); - this._strings = strings; - } - this._addHashTableEntry$3(strings, key, value); - } else if (typeof key === "number" && (key & 0x3ffffff) === key) { - nums = this._nums; - if (nums == null) { - nums = this._newHashTable$0(); - this._nums = nums; - } - this._addHashTableEntry$3(nums, key, value); - } else { - rest = this._rest; - if (rest == null) { - rest = this._newHashTable$0(); - this._rest = rest; - } - hash = J.get$hashCode$(key) & 0x3ffffff; - bucket = this._getTableBucket$2(rest, hash); - if (bucket == null) - this._setTableEntry$3(rest, hash, [this._newLinkedCell$2(key, value)]); - else { - index = this.internalFindBucketIndex$2(bucket, key); - if (index >= 0) - bucket[index].hashMapCellValue = value; - else - bucket.push(this._newLinkedCell$2(key, value)); - } + $indexSet(_, key, value) { + var strings, nums, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string") { + strings = _this._strings; + _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = _this._nums; + _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); + } else + _this.internalSet$2(key, value); + }, + internalSet$2(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this.__js_helper$_rest; + if (rest == null) + rest = _this.__js_helper$_rest = _this._newHashTable$0(); + hash = _this.internalComputeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._newLinkedCell$2(key, value)]; + else { + index = _this.internalFindBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index].hashMapCellValue = value; + else + bucket.push(_this._newLinkedCell$2(key, value)); } }, - putIfAbsent$2: function(key, ifAbsent) { - var value; - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.functionTypeCheck(ifAbsent, {func: 1, ret: H.getTypeArgumentByIndex(this, 1)}); - if (this.containsKey$1(key)) - return this.$index(0, key); + putIfAbsent$2(_, key, ifAbsent) { + var t2, value, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._eval$1("2()")._as(ifAbsent); + if (_this.containsKey$1(0, key)) { + t2 = _this.$index(0, key); + return t2 == null ? t1._rest[1]._as(t2) : t2; + } value = ifAbsent.call$0(); - this.$indexSet(0, key, value); + _this.$indexSet(0, key, value); return value; }, - remove$1: function(_, key) { - if (typeof key === "string") - return this._removeHashTableEntry$2(this._strings, key); - else if (typeof key === "number" && (key & 0x3ffffff) === key) - return this._removeHashTableEntry$2(this._nums, key); + remove$1(_, key) { + var _this = this; + if (typeof key == "string") + return _this._removeHashTableEntry$2(_this._strings, key); + else if (typeof key == "number" && (key & 0x3fffffff) === key) + return _this._removeHashTableEntry$2(_this._nums, key); else - return this.internalRemove$1(key); + return _this.internalRemove$1(key); }, - internalRemove$1: function(key) { - var rest, bucket, index, cell; - rest = this._rest; + internalRemove$1(key) { + var hash, bucket, index, cell, _this = this, + rest = _this.__js_helper$_rest; if (rest == null) - return; - bucket = this._getTableBucket$2(rest, J.get$hashCode$(key) & 0x3ffffff); - index = this.internalFindBucketIndex$2(bucket, key); + return null; + hash = _this.internalComputeHashCode$1(key); + bucket = rest[hash]; + index = _this.internalFindBucketIndex$2(bucket, key); if (index < 0) - return; + return null; cell = bucket.splice(index, 1)[0]; - this._unlinkCell$1(cell); + _this._unlinkCell$1(cell); + if (bucket.length === 0) + delete rest[hash]; return cell.hashMapCellValue; }, - clear$0: function(_) { - if (this.__js_helper$_length > 0) { - this._last = null; - this._first = null; - this._rest = null; - this._nums = null; - this._strings = null; - this.__js_helper$_length = 0; - this._modified$0(); - } - }, - forEach$1: function(_, action) { - var cell, modifications; - H.functionTypeCheck(action, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0), H.getTypeArgumentByIndex(this, 1)]}); - cell = this._first; - modifications = this._modifications; + clear$0(_) { + var _this = this; + if (_this._length > 0) { + _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; + _this._length = 0; + _this._modified$0(); + } + }, + forEach$1(_, action) { + var cell, modifications, _this = this; + A._instanceType(_this)._eval$1("~(1,2)")._as(action); + cell = _this._first; + modifications = _this._modifications; for (; cell != null;) { action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); - if (modifications !== this._modifications) - throw H.wrapException(P.ConcurrentModificationError$(this)); + if (modifications !== _this._modifications) + throw A.wrapException(A.ConcurrentModificationError$(_this)); cell = cell._next; } }, - _addHashTableEntry$3: function(table, key, value) { - var cell; - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1)); - cell = this._getTableCell$2(table, key); + _addHashTableEntry$3(table, key, value) { + var cell, + t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + cell = table[key]; if (cell == null) - this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value)); + table[key] = this._newLinkedCell$2(key, value); else cell.hashMapCellValue = value; }, - _removeHashTableEntry$2: function(table, key) { + _removeHashTableEntry$2(table, key) { var cell; if (table == null) - return; - cell = this._getTableCell$2(table, key); + return null; + cell = table[key]; if (cell == null) - return; + return null; this._unlinkCell$1(cell); - this._deleteTableEntry$2(table, key); + delete table[key]; return cell.hashMapCellValue; }, - _modified$0: function() { - this._modifications = this._modifications + 1 & 67108863; + _modified$0() { + this._modifications = this._modifications + 1 & 1073741823; }, - _newLinkedCell$2: function(key, value) { - var cell, last; - cell = new H.LinkedHashMapCell(H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)), H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1))); - if (this._first == null) { - this._last = cell; - this._first = cell; - } else { - last = this._last; - cell._previous = last; - last._next = cell; - this._last = cell; + _newLinkedCell$2(key, value) { + var _this = this, + t1 = A._instanceType(_this), + cell = new A.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value)); + if (_this._first == null) + _this._first = _this._last = cell; + else { + t1 = _this._last; + t1.toString; + cell._previous = t1; + _this._last = t1._next = cell; } - ++this.__js_helper$_length; - this._modified$0(); + ++_this._length; + _this._modified$0(); return cell; }, - _unlinkCell$1: function(cell) { - var previous, next; - previous = cell._previous; - next = cell._next; + _unlinkCell$1(cell) { + var _this = this, + previous = cell._previous, + next = cell._next; if (previous == null) - this._first = next; + _this._first = next; else previous._next = next; if (next == null) - this._last = previous; + _this._last = previous; else next._previous = previous; - --this.__js_helper$_length; - this._modified$0(); + --_this._length; + _this._modified$0(); + }, + internalComputeHashCode$1(key) { + return J.get$hashCode$(key) & 0x3fffffff; }, - internalFindBucketIndex$2: function(bucket, key) { + internalFindBucketIndex$2(bucket, key) { var $length, i; if (bucket == null) return -1; @@ -7817,5239 +9078,5675 @@ return i; return -1; }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + toString$0(_) { + return A.MapBase_mapToString(this); }, - _getTableCell$2: function(table, key) { - return table[key]; - }, - _getTableBucket$2: function(table, key) { - return table[key]; - }, - _setTableEntry$3: function(table, key, value) { - table[key] = value; - }, - _deleteTableEntry$2: function(table, key) { - delete table[key]; - }, - _containsTableEntry$2: function(table, key) { - return this._getTableCell$2(table, key) != null; - }, - _newHashTable$0: function() { + _newHashTable$0() { var table = Object.create(null); - this._setTableEntry$3(table, "", table); - this._deleteTableEntry$2(table, ""); + table[""] = table; + delete table[""]; return table; }, $isLinkedHashMap: 1 }; - H.JsLinkedHashMap_values_closure.prototype = { - call$1: function(each) { - var t1 = this.$this; - return t1.$index(0, H.assertSubtypeOfRuntimeType(each, H.getTypeArgumentByIndex(t1, 0))); + A.JsLinkedHashMap_values_closure.prototype = { + call$1(each) { + var t1 = this.$this, + t2 = A._instanceType(t1); + t1 = t1.$index(0, t2._precomputed1._as(each)); + return t1 == null ? t2._rest[1]._as(t1) : t1; }, - $signature: function() { - var t1 = this.$this; - return {func: 1, ret: H.getTypeArgumentByIndex(t1, 1), args: [H.getTypeArgumentByIndex(t1, 0)]}; + $signature() { + return A._instanceType(this.$this)._eval$1("2(1)"); } }; - H.LinkedHashMapCell.prototype = {}; - H.LinkedHashMapKeyIterable.prototype = { - get$length: function(_) { - return this.__js_helper$_map.__js_helper$_length; + A.LinkedHashMapCell.prototype = {}; + A.LinkedHashMapKeyIterable.prototype = { + get$length(_) { + return this._map._length; }, - get$isEmpty: function(_) { - return this.__js_helper$_map.__js_helper$_length === 0; + get$isEmpty(_) { + return this._map._length === 0; }, - get$iterator: function(_) { - var t1, t2; - t1 = this.__js_helper$_map; - t2 = new H.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti); + get$iterator(_) { + var t1 = this._map, + t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); t2._cell = t1._first; return t2; } }; - H.LinkedHashMapKeyIterator.prototype = { - get$current: function() { + A.LinkedHashMapKeyIterator.prototype = { + get$current(_) { return this.__js_helper$_current; }, - moveNext$0: function() { - var t1 = this.__js_helper$_map; - if (this._modifications !== t1._modifications) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else { - t1 = this._cell; - if (t1 == null) { - this.set$__js_helper$_current(null); - return false; - } else { - this.set$__js_helper$_current(t1.hashMapCellKey); - this._cell = this._cell._next; - return true; - } + moveNext$0() { + var cell, _this = this, + t1 = _this._map; + if (_this._modifications !== t1._modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + cell = _this._cell; + if (cell == null) { + _this.set$__js_helper$_current(null); + return false; + } else { + _this.set$__js_helper$_current(cell.hashMapCellKey); + _this._cell = cell._next; + return true; } }, - set$__js_helper$_current: function(_current) { - this.__js_helper$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); }, $isIterator: 1 }; - H.initHooks_closure.prototype = { - call$1: function(o) { + A.initHooks_closure.prototype = { + call$1(o) { return this.getTag(o); }, - $signature: 8 + $signature: 14 }; - H.initHooks_closure0.prototype = { - call$2: function(o, tag) { + A.initHooks_closure0.prototype = { + call$2(o, tag) { return this.getUnknownTag(o, tag); }, - $signature: 65 + $signature: 42 }; - H.initHooks_closure1.prototype = { - call$1: function(tag) { - return this.prototypeForTag(H.stringTypeCheck(tag)); + A.initHooks_closure1.prototype = { + call$1(tag) { + return this.prototypeForTag(A._asString(tag)); }, - $signature: 48 + $signature: 50 }; - H.JSSyntaxRegExp.prototype = { - toString$0: function(_) { - return "RegExp/" + this.pattern + "/"; + A.JSSyntaxRegExp.prototype = { + toString$0(_) { + return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; }, - get$_nativeGlobalVersion: function() { - var t1 = this._nativeGlobalRegExp; + get$_nativeGlobalVersion() { + var _this = this, + t1 = _this._nativeGlobalRegExp; if (t1 != null) return t1; - t1 = this._nativeRegExp; - t1 = H.JSSyntaxRegExp_makeNative(this.pattern, t1.multiline, !t1.ignoreCase, true); - this._nativeGlobalRegExp = t1; - return t1; + t1 = _this._nativeRegExp; + return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, - get$_nativeAnchoredVersion: function() { - var t1 = this._nativeAnchoredRegExp; + get$_nativeAnchoredVersion() { + var _this = this, + t1 = _this._nativeAnchoredRegExp; if (t1 != null) return t1; - t1 = this._nativeRegExp; - t1 = H.JSSyntaxRegExp_makeNative(this.pattern + "|()", t1.multiline, !t1.ignoreCase, true); - this._nativeAnchoredRegExp = t1; - return t1; + t1 = _this._nativeRegExp; + return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, - firstMatch$1: function(string) { - var m; - if (typeof string !== "string") - H.throwExpression(H.argumentErrorValue(string)); - m = this._nativeRegExp.exec(string); + firstMatch$1(string) { + var m = this._nativeRegExp.exec(string); if (m == null) - return; - return new H._MatchImplementation(m); + return null; + return new A._MatchImplementation(m); }, - allMatches$2: function(_, string, start) { - if (start > string.length) - throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); - return new H._AllMatchesIterable(this, string, start); + allMatches$2(_, string, start) { + var t1 = string.length; + if (start > t1) + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._AllMatchesIterable(this, string, start); }, - allMatches$1: function($receiver, string) { + allMatches$1($receiver, string) { return this.allMatches$2($receiver, string, 0); }, - _execGlobal$2: function(string, start) { - var regexp, match; - regexp = this.get$_nativeGlobalVersion(); + _execGlobal$2(string, start) { + var match, + regexp = this.get$_nativeGlobalVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) - return; - return new H._MatchImplementation(match); - }, - _execAnchored$2: function(string, start) { - var regexp, match; - regexp = this.get$_nativeAnchoredVersion(); + return null; + return new A._MatchImplementation(match); + }, + _execAnchored$2(string, start) { + var match, + regexp = this.get$_nativeAnchoredVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) - return; + return null; if (0 >= match.length) - return H.ioore(match, -1); + return A.ioore(match, -1); if (match.pop() != null) - return; - return new H._MatchImplementation(match); + return null; + return new A._MatchImplementation(match); }, - matchAsPrefix$2: function(_, string, start) { - if (typeof start !== "number") - return start.$lt(); + matchAsPrefix$2(_, string, start) { if (start < 0 || start > string.length) - throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); + throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null)); return this._execAnchored$2(string, start); }, - $isPattern: 1, - $isRegExp: 1 + $isPattern: 1 }; - H._MatchImplementation.prototype = { - get$start: function(_) { + A._MatchImplementation.prototype = { + get$start(_) { return this._match.index; }, - get$end: function() { + get$end(_) { var t1 = this._match; return t1.index + t1[0].length; }, - $index: function(_, index) { + $index(_, index) { var t1; - H.intTypeCheck(index); + A._asInt(index); t1 = this._match; - if (index >= t1.length) - return H.ioore(t1, index); + if (!(index < t1.length)) + return A.ioore(t1, index); return t1[index]; }, - $isMatch: 1 + $isMatch: 1, + $isRegExpMatch: 1 }; - H._AllMatchesIterable.prototype = { - get$iterator: function(_) { - return new H._AllMatchesIterator(this._re, this.__js_helper$_string, this._start); - }, - $asIterable: function() { - return [P.Match]; + A._AllMatchesIterable.prototype = { + get$iterator(_) { + return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this._start); } }; - H._AllMatchesIterator.prototype = { - get$current: function() { - return this.__js_helper$_current; + A._AllMatchesIterator.prototype = { + get$current(_) { + var t1 = this.__js_helper$_current; + return t1 == null ? type$.RegExpMatch._as(t1) : t1; }, - moveNext$0: function() { - var t1, t2, match, nextIndex; - t1 = this.__js_helper$_string; - if (t1 == null) + moveNext$0() { + var t1, t2, t3, match, nextIndex, _this = this, + string = _this.__js_helper$_string; + if (string == null) return false; - t2 = this._nextIndex; - if (t2 <= t1.length) { - match = this._regExp._execGlobal$2(t1, t2); + t1 = _this._nextIndex; + t2 = string.length; + if (t1 <= t2) { + t3 = _this._regExp; + match = t3._execGlobal$2(string, t1); if (match != null) { - this.__js_helper$_current = match; - nextIndex = match.get$end(); - this._nextIndex = match._match.index === nextIndex ? nextIndex + 1 : nextIndex; + _this.__js_helper$_current = match; + nextIndex = match.get$end(match); + if (match._match.index === nextIndex) { + if (t3._nativeRegExp.unicode) { + t1 = _this._nextIndex; + t3 = t1 + 1; + if (t3 < t2) { + t1 = B.JSString_methods.codeUnitAt$1(string, t1); + if (t1 >= 55296 && t1 <= 56319) { + t1 = B.JSString_methods.codeUnitAt$1(string, t3); + t1 = t1 >= 56320 && t1 <= 57343; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; + } + _this._nextIndex = nextIndex; return true; } } - this.__js_helper$_current = null; - this.__js_helper$_string = null; + _this.__js_helper$_string = _this.__js_helper$_current = null; return false; }, - $isIterator: 1, - $asIterator: function() { - return [P.Match]; - } + $isIterator: 1 }; - H.StringMatch.prototype = { - get$end: function() { - var t1 = this.start; - if (typeof t1 !== "number") - return t1.$add(); - return t1 + this.pattern.length; + A.StringMatch.prototype = { + get$end(_) { + return this.start + this.pattern.length; }, - $index: function(_, g) { - H.intTypeCheck(g); - if (g !== 0) - H.throwExpression(P.RangeError$value(g, null)); + $index(_, g) { + A.throwExpression(A.RangeError$value(A._asInt(g), null)); return this.pattern; }, $isMatch: 1, - get$start: function(receiver) { + get$start(receiver) { return this.start; } }; - H._StringAllMatchesIterable.prototype = { - get$iterator: function(_) { - return new H._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); - }, - $asIterable: function() { - return [P.Match]; + A._StringAllMatchesIterable.prototype = { + get$iterator(_) { + return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); } }; - H._StringAllMatchesIterator.prototype = { - moveNext$0: function() { - var t1, t2, t3, t4, t5, index, end; - t1 = this.__js_helper$_index; - t2 = this._pattern; - t3 = t2.length; - t4 = this._input; - t5 = t4.length; + A._StringAllMatchesIterator.prototype = { + moveNext$0() { + var index, end, _this = this, + t1 = _this.__js_helper$_index, + t2 = _this._pattern, + t3 = t2.length, + t4 = _this._input, + t5 = t4.length; if (t1 + t3 > t5) { - this.__js_helper$_current = null; + _this.__js_helper$_current = null; return false; } index = t4.indexOf(t2, t1); if (index < 0) { - this.__js_helper$_index = t5 + 1; - this.__js_helper$_current = null; + _this.__js_helper$_index = t5 + 1; + _this.__js_helper$_current = null; return false; } end = index + t3; - this.__js_helper$_current = new H.StringMatch(index, t2); - this.__js_helper$_index = end === this.__js_helper$_index ? end + 1 : end; + _this.__js_helper$_current = new A.StringMatch(index, t2); + _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; return true; }, - get$current: function() { - return this.__js_helper$_current; + get$current(_) { + var t1 = this.__js_helper$_current; + t1.toString; + return t1; }, - $isIterator: 1, - $asIterator: function() { - return [P.Match]; + $isIterator: 1 + }; + A._Cell.prototype = { + _readLocal$0() { + var t1 = this.__late_helper$_value; + if (t1 === this) + throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); + return t1; } }; - H.NativeByteBuffer.prototype = {$isNativeByteBuffer: 1}; - H.NativeTypedData.prototype = {$isNativeTypedData: 1}; - H.NativeTypedArray.prototype = { - get$length: function(receiver) { + A.NativeTypedData.prototype = {}; + A.NativeTypedArray.prototype = { + get$length(receiver) { return receiver.length; }, - $isJavaScriptIndexingBehavior: 1, - $asJavaScriptIndexingBehavior: function() { - } + $isJavaScriptIndexingBehavior: 1 }; - H.NativeTypedArrayOfDouble.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeTypedArrayOfDouble.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H.intTypeCheck(index); - H.doubleTypeCheck(value); - H._checkValidIndex(index, receiver, receiver.length); + $indexSet(receiver, index, value) { + A._asInt(index); + A._asDouble(value); + A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, $isEfficientLengthIterable: 1, - $asEfficientLengthIterable: function() { - return [P.double]; - }, - $asFixedLengthListMixin: function() { - return [P.double]; - }, - $asListMixin: function() { - return [P.double]; - }, $isIterable: 1, - $asIterable: function() { - return [P.double]; - }, - $isList: 1, - $asList: function() { - return [P.double]; - } + $isList: 1 }; - H.NativeTypedArrayOfInt.prototype = { - $indexSet: function(receiver, index, value) { - H.intTypeCheck(index); - H.intTypeCheck(value); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeTypedArrayOfInt.prototype = { + $indexSet(receiver, index, value) { + A._asInt(index); + A._asInt(value); + A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, $isEfficientLengthIterable: 1, - $asEfficientLengthIterable: function() { - return [P.int]; - }, - $asFixedLengthListMixin: function() { - return [P.int]; - }, - $asListMixin: function() { - return [P.int]; - }, $isIterable: 1, - $asIterable: function() { - return [P.int]; - }, - $isList: 1, - $asList: function() { - return [P.int]; + $isList: 1 + }; + A.NativeInt16List.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; } }; - H.NativeInt16List.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeInt32List.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; } }; - H.NativeInt32List.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeInt8List.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; } }; - H.NativeInt8List.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeUint16List.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; } }; - H.NativeUint16List.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeUint32List.prototype = { + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; } }; - H.NativeUint32List.prototype = { - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); + A.NativeUint8ClampedList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; } }; - H.NativeUint8ClampedList.prototype = { - get$length: function(receiver) { + A.NativeUint8List.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; - } - }; - H.NativeUint8List.prototype = { - get$length: function(receiver) { - return receiver.length; + $index(receiver, index) { + A._asInt(index); + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2(receiver, start, end) { + return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); + }, + $isNativeUint8List: 1, + $isUint8List: 1 + }; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A.Rti.prototype = { + _eval$1(recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe); + }, + _bind$1(typeOrTuple) { + return A._Universe_bind(init.typeUniverse, this, typeOrTuple); + } + }; + A._FunctionParameters.prototype = {}; + A._Type.prototype = { + toString$0(_) { + return A._rtiToString(this._rti, null); + } + }; + A._Error.prototype = { + toString$0(_) { + return this.__rti$_message; + } + }; + A._TypeError.prototype = {$isTypeError: 1}; + A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { + call$1(_) { + var t1 = this._box_0, + f = t1.storedCallback; + t1.storedCallback = null; + f.call$0(); + }, + $signature: 8 + }; + A._AsyncRun__initializeScheduleImmediate_closure.prototype = { + call$1(callback) { + var t1, t2; + this._box_0.storedCallback = type$.void_Function._as(callback); + t1 = this.div; + t2 = this.span; + t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); + }, + $signature: 48 + }; + A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { + call$0() { + this.callback.call$0(); + }, + $signature: 2 + }; + A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { + call$0() { + this.callback.call$0(); + }, + $signature: 2 + }; + A._TimerImpl.prototype = { + _TimerImpl$2(milliseconds, callback) { + if (self.setTimeout != null) + self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found.")); + }, + _TimerImpl$periodic$2(milliseconds, callback) { + if (self.setTimeout != null) + self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("Periodic timer.")); + }, + $isTimer: 1 + }; + A._TimerImpl_internalCallback.prototype = { + call$0() { + this.$this._tick = 1; + this.callback.call$0(); + }, + $signature: 0 + }; + A._TimerImpl$periodic_closure.prototype = { + call$0() { + var duration, _this = this, + t1 = _this.$this, + tick = t1._tick + 1, + t2 = _this.milliseconds; + if (t2 > 0) { + duration = Date.now() - _this.start; + if (duration > (tick + 1) * t2) + tick = B.JSInt_methods.$tdiv(duration, t2); + } + t1._tick = tick; + _this.callback.call$1(t1); + }, + $signature: 2 + }; + A._AsyncAwaitCompleter.prototype = { + complete$1(_, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._eval$1("1/?")._as(value); + if (value == null) + t1._precomputed1._as(value); + if (!_this.isSync) + _this._future._asyncComplete$1(value); + else { + t2 = _this._future; + if (t1._eval$1("Future<1>")._is(value)) + t2._chainFuture$1(value); + else + t2._completeWithValue$1(t1._precomputed1._as(value)); + } + }, + completeError$2(e, st) { + var t1 = this._future; + if (this.isSync) + t1._completeError$2(e, st); + else + t1._asyncCompleteError$2(e, st); + }, + $isCompleter: 1 + }; + A._awaitOnObject_closure.prototype = { + call$1(result) { + return this.bodyFunction.call$2(0, result); + }, + $signature: 3 + }; + A._awaitOnObject_closure0.prototype = { + call$2(error, stackTrace) { + this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); + }, + $signature: 65 + }; + A._wrapJsFunctionForAsync_closure.prototype = { + call$2(errorCode, result) { + this.$protected(A._asInt(errorCode), result); + }, + $signature: 40 + }; + A.AsyncError.prototype = { + toString$0(_) { + return A.S(this.error); + }, + $isError: 1, + get$stackTrace() { + return this.stackTrace; + } + }; + A._Completer.prototype = { + completeError$2(error, stackTrace) { + var replacement; + A.checkNotNullable(error, "error", type$.Object); + if ((this.future._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + replacement = $.Zone__current.errorCallback$2(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + this._completeError$2(error, stackTrace); + }, + completeError$1(error) { + return this.completeError$2(error, null); + }, + $isCompleter: 1 + }; + A._AsyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._asyncComplete$1(t1._eval$1("1/")._as(value)); + }, + complete$0($receiver) { + return this.complete$1($receiver, null); + }, + _completeError$2(error, stackTrace) { + this.future._asyncCompleteError$2(error, stackTrace); + } + }; + A._SyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._complete$1(t1._eval$1("1/")._as(value)); + }, + complete$0($receiver) { + return this.complete$1($receiver, null); + }, + _completeError$2(error, stackTrace) { + this.future._completeError$2(error, stackTrace); + } + }; + A._FutureListener.prototype = { + matchesErrorTest$1(asyncError) { + if ((this.state & 15) !== 6) + return true; + return this.result._zone.runUnary$2$2(type$.bool_Function_Object._as(this.callback), asyncError.error, type$.bool, type$.Object); + }, + handleError$1(asyncError) { + var exception, _this = this, + errorCallback = _this.errorCallback, + result = null, + t1 = type$.dynamic, + t2 = type$.Object, + t3 = asyncError.error, + t4 = _this.result._zone; + if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) + result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace); + else + result = t4.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), t3, t1, t2); + try { + t1 = _this.$ti._eval$1("2/")._as(result); + return t1; + } catch (exception) { + if (type$.TypeError._is(A.unwrapException(exception))) { + if ((_this.state & 1) !== 0) + throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError")); + throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError")); + } else + throw exception; + } + } + }; + A._Future.prototype = { + then$1$2$onError(f, onError, $R) { + var currentZone, result, t2, + t1 = this.$ti; + t1._bind$1($R)._eval$1("1/(2)")._as(f); + currentZone = $.Zone__current; + if (currentZone === B.C__RootZone) { + if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError)) + throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_)); + } else { + f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), t1._precomputed1); + if (onError != null) + onError = A._registerErrorHandler(onError, currentZone); + } + result = new A._Future($.Zone__current, $R._eval$1("_Future<0>")); + t2 = onError == null ? 1 : 3; + this._addListener$1(new A._FutureListener(result, t2, f, onError, t1._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); + return result; + }, + then$1$1(f, $R) { + return this.then$1$2$onError(f, null, $R); + }, + _thenAwait$1$2(f, onError, $E) { + var result, + t1 = this.$ti; + t1._bind$1($E)._eval$1("1/(2)")._as(f); + result = new A._Future($.Zone__current, $E._eval$1("_Future<0>")); + this._addListener$1(new A._FutureListener(result, 3, f, onError, t1._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); + return result; + }, + whenComplete$1(action) { + var t1, t2, result; + type$.dynamic_Function._as(action); + t1 = this.$ti; + t2 = $.Zone__current; + result = new A._Future(t2, t1); + if (t2 !== B.C__RootZone) + action = t2.registerCallback$1$1(action, type$.dynamic); + this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); + return result; + }, + _setErrorObject$1(error) { + this._async$_state = this._async$_state & 1 | 16; + this._resultOrListeners = error; + }, + _cloneResult$1(source) { + this._async$_state = source._async$_state & 30 | this._async$_state & 1; + this._resultOrListeners = source._resultOrListeners; + }, + _addListener$1(listener) { + var source, _this = this, + t1 = _this._async$_state; + if (t1 <= 3) { + listener._nextListener = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listener; + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._async$_state & 24) === 0) { + source._addListener$1(listener); + return; + } + _this._cloneResult$1(source); + } + _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener)); + } + }, + _prependListeners$1(listeners) { + var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {}; + _box_0.listeners = listeners; + if (listeners == null) + return; + t1 = _this._async$_state; + if (t1 <= 3) { + existingListeners = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listeners; + if (existingListeners != null) { + next = listeners._nextListener; + for (cursor = listeners; next != null; cursor = next, next = next0) + next0 = next._nextListener; + cursor._nextListener = existingListeners; + } + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._async$_state & 24) === 0) { + source._prependListeners$1(listeners); + return; + } + _this._cloneResult$1(source); + } + _box_0.listeners = _this._reverseListeners$1(listeners); + _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this)); + } + }, + _removeListeners$0() { + var current = type$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners); + this._resultOrListeners = null; + return this._reverseListeners$1(current); + }, + _reverseListeners$1(listeners) { + var current, prev, next; + for (current = listeners, prev = null; current != null; prev = current, current = next) { + next = current._nextListener; + current._nextListener = prev; + } + return prev; + }, + _chainForeignFuture$1(source) { + var e, s, exception, _this = this; + _this._async$_state ^= 2; + try { + source.then$1$2$onError(new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s)); + } + }, + _complete$1(value) { + var listeners, _this = this, + t1 = _this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) + if (t1._is(value)) + A._Future__chainCoreFuture(value, _this); + else + _this._chainForeignFuture$1(value); + else { + listeners = _this._removeListeners$0(); + t1._precomputed1._as(value); + _this._async$_state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); + } + }, + _completeWithValue$1(value) { + var listeners, _this = this; + _this.$ti._precomputed1._as(value); + listeners = _this._removeListeners$0(); + _this._async$_state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); + }, + _completeError$2(error, stackTrace) { + var listeners; + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + listeners = this._removeListeners$0(); + this._setErrorObject$1(A.AsyncError$(error, stackTrace)); + A._Future__propagateToListeners(this, listeners); + }, + _asyncComplete$1(value) { + var t1 = this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) { + this._chainFuture$1(value); + return; + } + this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); + }, + _asyncCompleteWithValue$1(value) { + var _this = this; + _this.$ti._precomputed1._as(value); + _this._async$_state ^= 2; + _this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(_this, value)); + }, + _chainFuture$1(value) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("Future<1>")._as(value); + if (t1._is(value)) { + if ((value._async$_state & 16) !== 0) { + _this._async$_state ^= 2; + _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value)); + } else + A._Future__chainCoreFuture(value, _this); + return; + } + _this._chainForeignFuture$1(value); + }, + _asyncCompleteError$2(error, stackTrace) { + type$.StackTrace._as(stackTrace); + this._async$_state ^= 2; + this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace)); }, - $index: function(receiver, index) { - H.intTypeCheck(index); - H._checkValidIndex(index, receiver, receiver.length); - return receiver[index]; + $isFuture: 1 + }; + A._Future__addListener_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this.listener); }, - sublist$2: function(receiver, start, end) { - return new Uint8Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + $signature: 0 + }; + A._Future__prependListeners_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this._box_0.listeners); }, - $isNativeUint8List: 1, - $isUint8List: 1 + $signature: 0 }; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; - P._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { - call$1: function(_) { - var t1, f; - t1 = this._box_0; - f = t1.storedCallback; - t1.storedCallback = null; - f.call$0(); + A._Future__chainForeignFuture_closure.prototype = { + call$1(value) { + var error, stackTrace, exception, + t1 = this.$this; + t1._async$_state ^= 2; + try { + t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); + } catch (exception) { + error = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + t1._completeError$2(error, stackTrace); + } }, - $signature: 4 + $signature: 8 }; - P._AsyncRun__initializeScheduleImmediate_closure.prototype = { - call$1: function(callback) { - var t1, t2; - this._box_0.storedCallback = H.functionTypeCheck(callback, {func: 1, ret: -1}); - t1 = this.div; - t2 = this.span; - t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); + A._Future__chainForeignFuture_closure0.prototype = { + call$2(error, stackTrace) { + this.$this._completeError$2(type$.Object._as(error), type$.StackTrace._as(stackTrace)); }, - $signature: 42 + $signature: 37 }; - P._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { - call$0: function() { - this.callback.call$0(); + A._Future__chainForeignFuture_closure1.prototype = { + call$0() { + this.$this._completeError$2(this.e, this.s); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { - call$0: function() { - this.callback.call$0(); + A._Future__asyncCompleteWithValue_closure.prototype = { + call$0() { + this.$this._completeWithValue$1(this.value); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._TimerImpl.prototype = { - _TimerImpl$2: function(milliseconds, callback) { - if (self.setTimeout != null) - self.setTimeout(H.convertDartClosureToJS(new P._TimerImpl_internalCallback(this, callback), 0), milliseconds); - else - throw H.wrapException(P.UnsupportedError$("`setTimeout()` not found.")); + A._Future__chainFuture_closure.prototype = { + call$0() { + A._Future__chainCoreFuture(this.value, this.$this); }, - _TimerImpl$periodic$2: function(milliseconds, callback) { - if (self.setTimeout != null) - self.setInterval(H.convertDartClosureToJS(new P._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); - else - throw H.wrapException(P.UnsupportedError$("Periodic timer.")); - }, - $isTimer: 1 + $signature: 0 }; - P._TimerImpl_internalCallback.prototype = { - call$0: function() { - this.$this._tick = 1; - this.callback.call$0(); + A._Future__asyncCompleteError_closure.prototype = { + call$0() { + this.$this._completeError$2(this.error, this.stackTrace); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 + $signature: 0 }; - P._TimerImpl$periodic_closure.prototype = { - call$0: function() { - var t1, tick, t2, duration; - t1 = this.$this; - tick = t1._tick + 1; - t2 = this.milliseconds; - if (t2 > 0) { - duration = Date.now() - this.start; - if (duration > (tick + 1) * t2) - tick = C.JSInt_methods.$tdiv(duration, t2); + A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { + call$0() { + var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; + try { + t1 = _this._box_0.listener; + completeResult = t1.result._zone.run$1$1(type$.dynamic_Function._as(t1.callback), type$.dynamic); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = _this.hasError && type$.AsyncError._as(_this._box_1.source._resultOrListeners).error === e; + t2 = _this._box_0; + if (t1) + t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + else + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; + return; + } + if (completeResult instanceof A._Future && (completeResult._async$_state & 24) !== 0) { + if ((completeResult._async$_state & 16) !== 0) { + t1 = _this._box_0; + t1.listenerValueOrError = type$.AsyncError._as(completeResult._resultOrListeners); + t1.listenerHasError = true; + } + return; + } + if (type$.Future_dynamic._is(completeResult)) { + originalSource = _this._box_1.source; + t1 = _this._box_0; + t1.listenerValueOrError = completeResult.then$1$1(new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); + t1.listenerHasError = false; } - t1._tick = tick; - this.callback.call$1(t1); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._AsyncAwaitCompleter.prototype = { - complete$1: function(_, value) { - var t1; - H.futureOrCheck(value, {futureOr: 1, type: H.getTypeArgumentByIndex(this, 0)}); - if (this.isSync) - this._completer.complete$1(0, value); - else if (H.checkSubtype(value, "$isFuture", this.$ti, "$asFuture")) { - t1 = this._completer; - value.then$1$2$onError(t1.get$complete(t1), t1.get$completeError(), -1); - } else - P.scheduleMicrotask(new P._AsyncAwaitCompleter_complete_closure(this, value)); - }, - completeError$2: function(e, st) { - if (this.isSync) - this._completer.completeError$2(e, st); - else - P.scheduleMicrotask(new P._AsyncAwaitCompleter_completeError_closure(this, e, st)); + A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { + call$1(_) { + return this.originalSource; }, - $isCompleter: 1 + $signature: 34 }; - P._AsyncAwaitCompleter_complete_closure.prototype = { - call$0: function() { - this.$this._completer.complete$1(0, this.value); + A._Future__propagateToListeners_handleValueCallback.prototype = { + call$0() { + var e, s, t1, t2, t3, t4, t5, exception; + try { + t1 = this._box_0; + t2 = t1.listener; + t3 = t2.$ti; + t4 = t3._precomputed1; + t5 = t4._as(this.sourceResult); + t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t3._eval$1("2/(1)")._as(t2.callback), t5, t3._eval$1("2/"), t4); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = this._box_0; + t1.listenerValueOrError = A.AsyncError$(e, s); + t1.listenerHasError = true; + } }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._AsyncAwaitCompleter_completeError_closure.prototype = { - call$0: function() { - this.$this._completer.completeError$2(this.e, this.st); + A._Future__propagateToListeners_handleError.prototype = { + call$0() { + var asyncError, e, s, t1, exception, t2, _this = this; + try { + asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t1 = _this._box_0; + if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) { + t1.listenerValueOrError = t1.listener.handleError$1(asyncError); + t1.listenerHasError = false; + } + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t2 = _this._box_0; + if (t1.error === e) + t2.listenerValueOrError = t1; + else + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; + } }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._awaitOnObject_closure.prototype = { - call$1: function(result) { - return this.bodyFunction.call$2(0, result); + A._AsyncCallbackEntry.prototype = {}; + A.Stream.prototype = { + pipe$1(streamConsumer) { + A._instanceType(this)._eval$1("StreamConsumer")._as(streamConsumer); + return streamConsumer.addStream$1(0, this).then$1$1(new A.Stream_pipe_closure(streamConsumer), type$.dynamic); }, - $signature: 6 + get$length(_) { + var t1 = {}, + future = new A._Future($.Zone__current, type$._Future_int); + t1.count = 0; + this.listen$4$cancelOnError$onDone$onError(new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError()); + return future; + } }; - P._awaitOnObject_closure0.prototype = { - call$2: function(error, stackTrace) { - this.bodyFunction.call$2(1, new H.ExceptionAndStackTrace(error, H.interceptedTypeCheck(stackTrace, "$isStackTrace"))); + A.Stream_pipe_closure.prototype = { + call$1(_) { + return this.streamConsumer.close$0(0); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 15 + $signature: 32 }; - P._wrapJsFunctionForAsync_closure.prototype = { - call$2: function(errorCode, result) { - this.$protected(H.intTypeCheck(errorCode), result); + A.Stream_length_closure.prototype = { + call$1(_) { + A._instanceType(this.$this)._eval$1("Stream.T")._as(_); + ++this._box_0.count; }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 41 + $signature() { + return A._instanceType(this.$this)._eval$1("~(Stream.T)"); + } }; - P.Future.prototype = {}; - P._Completer.prototype = { - completeError$2: function(error, stackTrace) { - var replacement; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - if (error == null) - error = new P.NullThrownError(); - if (this.future._state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); + A.Stream_length_closure0.prototype = { + call$0() { + this.future._complete$1(this._box_0.count); + }, + $signature: 0 + }; + A.StreamTransformerBase.prototype = {$isStreamTransformer: 1}; + A._StreamController.prototype = { + get$_pendingEvents() { + var t1, _this = this; + if ((_this._async$_state & 8) === 0) + return A._instanceType(_this)._eval$1("_PendingEvents<1>?")._as(_this._varData); + t1 = A._instanceType(_this); + return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).varData); + }, + _ensurePendingEvents$0() { + var events, t1, state, _this = this; + if ((_this._async$_state & 8) === 0) { + events = _this._varData; + if (events == null) + events = _this._varData = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<1>")); + return A._instanceType(_this)._eval$1("_PendingEvents<1>")._as(events); + } + t1 = A._instanceType(_this); + state = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + events = state.varData; + if (events == null) + events = state.varData = new A._PendingEvents(t1._eval$1("_PendingEvents<1>")); + return t1._eval$1("_PendingEvents<1>")._as(events); + }, + get$_async$_subscription() { + var varData = this._varData; + if ((this._async$_state & 8) !== 0) + varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).varData; + return A._instanceType(this)._eval$1("_ControllerSubscription<1>")._as(varData); + }, + _badEventState$0() { + if ((this._async$_state & 4) !== 0) + return new A.StateError("Cannot add event after closing"); + return new A.StateError("Cannot add event while adding a stream"); + }, + _ensureDoneFuture$0() { + var t1 = this._doneFuture; + if (t1 == null) + t1 = this._doneFuture = (this._async$_state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void); + return t1; + }, + add$1(_, value) { + var _this = this; + A._instanceType(_this)._precomputed1._as(value); + if (_this._async$_state >= 4) + throw A.wrapException(_this._badEventState$0()); + _this._add$1(0, value); + }, + addError$2(error, stackTrace) { + var replacement, + t1 = type$.Object; + t1._as(error); + type$.nullable_StackTrace._as(stackTrace); + A.checkNotNullable(error, "error", t1); + if (this._async$_state >= 4) + throw A.wrapException(this._badEventState$0()); replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; - if (error == null) - error = new P.NullThrownError(); stackTrace = replacement.stackTrace; - } - this._completeError$2(error, stackTrace); + } else if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + this._async$_addError$2(error, stackTrace); }, - completeError$1: function(error) { - return this.completeError$2(error, null); + addError$1(error) { + return this.addError$2(error, null); }, - $isCompleter: 1 + close$0(_) { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 4) !== 0) + return _this._ensureDoneFuture$0(); + if (t1 >= 4) + throw A.wrapException(_this._badEventState$0()); + t1 = _this._async$_state = t1 | 4; + if ((t1 & 1) !== 0) + _this._sendDone$0(); + else if ((t1 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone); + return _this._ensureDoneFuture$0(); + }, + _add$1(_, value) { + var t2, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(value); + t2 = _this._async$_state; + if ((t2 & 1) !== 0) + _this._sendData$1(value); + else if ((t2 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value, t1._eval$1("_DelayedData<1>"))); + }, + _async$_addError$2(error, stackTrace) { + var t1 = this._async$_state; + if ((t1 & 1) !== 0) + this._sendError$2(error, stackTrace); + else if ((t1 & 3) === 0) + this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace)); + }, + _subscribe$4(onData, onError, onDone, cancelOnError) { + var t2, t3, t4, t5, t6, subscription, pendingEvents, addState, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._async$_state & 3) !== 0) + throw A.wrapException(A.StateError$("Stream has already been listened to.")); + t2 = $.Zone__current; + t3 = cancelOnError ? 1 : 0; + t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); + t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + subscription = new A._ControllerSubscription(_this, t4, t5, t2.registerCallback$1$1(t6, type$.void), t2, t3, t1._eval$1("_ControllerSubscription<1>")); + pendingEvents = _this.get$_pendingEvents(); + t3 = _this._async$_state |= 1; + if ((t3 & 8) !== 0) { + addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + addState.varData = subscription; + addState.addSubscription.resume$0(0); + } else + _this._varData = subscription; + subscription._setPendingEvents$1(pendingEvents); + subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this)); + return subscription; + }, + _recordCancel$1(subscription) { + var result, onCancel, cancelResult, e, s, exception, result0, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("StreamSubscription<1>")._as(subscription); + result = null; + if ((_this._async$_state & 8) !== 0) + result = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).cancel$0(0); + _this._varData = null; + _this._async$_state = _this._async$_state & 4294967286 | 2; + onCancel = _this.onCancel; + if (onCancel != null) + if (result == null) + try { + cancelResult = onCancel.call$0(); + if (type$.Future_void._is(cancelResult)) + result = cancelResult; + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + result0 = new A._Future($.Zone__current, type$._Future_void); + result0._asyncCompleteError$2(e, s); + result = result0; + } + else + result = result.whenComplete$1(onCancel); + t1 = new A._StreamController__recordCancel_complete(_this); + if (result != null) + result = result.whenComplete$1(t1); + else + t1.call$0(); + return result; + }, + $isStreamConsumer: 1, + $isStreamSink: 1, + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventDispatch: 1 }; - P._AsyncCompleter.prototype = { - complete$1: function(_, value) { - var t1; - H.futureOrCheck(value, {futureOr: 1, type: H.getTypeArgumentByIndex(this, 0)}); - t1 = this.future; - if (t1._state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); - t1._asyncComplete$1(value); + A._StreamController__subscribe_closure.prototype = { + call$0() { + A._runGuarded(this.$this.onListen); }, - complete$0: function($receiver) { - return this.complete$1($receiver, null); + $signature: 0 + }; + A._StreamController__recordCancel_complete.prototype = { + call$0() { + var doneFuture = this.$this._doneFuture; + if (doneFuture != null && (doneFuture._async$_state & 30) === 0) + doneFuture._asyncComplete$1(null); }, - _completeError$2: function(error, stackTrace) { - this.future._asyncCompleteError$2(error, stackTrace); - } + $signature: 0 }; - P._SyncCompleter.prototype = { - complete$1: function(_, value) { - var t1; - H.futureOrCheck(value, {futureOr: 1, type: H.getTypeArgumentByIndex(this, 0)}); - t1 = this.future; - if (t1._state !== 0) - throw H.wrapException(P.StateError$("Future already completed")); - t1._complete$1(value); + A._SyncStreamControllerDispatch.prototype = { + _sendData$1(data) { + this.$ti._precomputed1._as(data); + this.get$_async$_subscription()._add$1(0, data); }, - complete$0: function($receiver) { - return this.complete$1($receiver, null); + _sendError$2(error, stackTrace) { + this.get$_async$_subscription()._async$_addError$2(error, stackTrace); }, - _completeError$2: function(error, stackTrace) { - this.future._completeError$2(error, stackTrace); + _sendDone$0() { + this.get$_async$_subscription()._close$0(); } }; - P._FutureListener.prototype = { - matchesErrorTest$1: function(asyncError) { - if (this.state !== 6) + A._SyncStreamController.prototype = {}; + A._ControllerStream.prototype = { + get$hashCode(_) { + return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; + }, + $eq(_, other) { + if (other == null) + return false; + if (this === other) return true; - return this.result._zone.runUnary$2$2(H.functionTypeCheck(this.callback, {func: 1, ret: P.bool, args: [P.Object]}), asyncError.error, P.bool, P.Object); - }, - handleError$1: function(asyncError) { - var errorCallback, t1, t2, t3; - errorCallback = this.errorCallback; - t1 = P.Object; - t2 = {futureOr: 1, type: H.getTypeArgumentByIndex(this, 1)}; - t3 = this.result._zone; - if (H.functionTypeTest(errorCallback, {func: 1, args: [P.Object, P.StackTrace]})) - return H.futureOrCheck(t3.runBinary$3$3(errorCallback, asyncError.error, asyncError.stackTrace, null, t1, P.StackTrace), t2); - else - return H.futureOrCheck(t3.runUnary$2$2(H.functionTypeCheck(errorCallback, {func: 1, args: [P.Object]}), asyncError.error, null, t1), t2); + return other instanceof A._ControllerStream && other._controller === this._controller; } }; - P._Future.prototype = { - then$1$2$onError: function(f, onError, $R) { - var t1, currentZone; - t1 = H.getTypeArgumentByIndex(this, 0); - H.functionTypeCheck(f, {func: 1, ret: {futureOr: 1, type: $R}, args: [t1]}); - currentZone = $.Zone__current; - if (currentZone !== C.C__RootZone) { - f = currentZone.registerUnaryCallback$2$1(f, {futureOr: 1, type: $R}, t1); - if (onError != null) - onError = P._registerErrorHandler(onError, currentZone); + A._ControllerSubscription.prototype = { + _onCancel$0() { + return this._controller._recordCancel$1(this); + }, + _onPause$0() { + var t1 = this._controller, + t2 = A._instanceType(t1); + t2._eval$1("StreamSubscription<1>")._as(this); + if ((t1._async$_state & 8) !== 0) + t2._eval$1("_StreamControllerAddStreamState<1>")._as(t1._varData).addSubscription.pause$0(0); + A._runGuarded(t1.onPause); + }, + _onResume$0() { + var t1 = this._controller, + t2 = A._instanceType(t1); + t2._eval$1("StreamSubscription<1>")._as(this); + if ((t1._async$_state & 8) !== 0) + t2._eval$1("_StreamControllerAddStreamState<1>")._as(t1._varData).addSubscription.resume$0(0); + A._runGuarded(t1.onResume); + } + }; + A._StreamSinkWrapper.prototype = { + add$1(_, data) { + this._target.add$1(0, this.$ti._precomputed1._as(data)); + }, + $isStreamConsumer: 1, + $isStreamSink: 1 + }; + A._AddStreamState_cancel_closure.prototype = { + call$0() { + this.$this.addStreamFuture._asyncComplete$1(null); + }, + $signature: 2 + }; + A._BufferingStreamSubscription.prototype = { + _setPendingEvents$1(pendingEvents) { + var _this = this; + A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(pendingEvents); + if (pendingEvents == null) + return; + _this.set$_pending(pendingEvents); + if (pendingEvents.lastPendingEvent != null) { + _this._async$_state = (_this._async$_state | 64) >>> 0; + pendingEvents.schedule$1(_this); } - return this._thenNoZoneRegistration$1$2(f, onError, $R); }, - then$1$1: function(f, $R) { - return this.then$1$2$onError(f, null, $R); + onData$1(handleData) { + var t1 = A._instanceType(this); + this.set$_onData(A._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval$1("~(_BufferingStreamSubscription.T)?")._as(handleData), t1._eval$1("_BufferingStreamSubscription.T"))); }, - _thenNoZoneRegistration$1$2: function(f, onError, $E) { - var t1, result, t2; - t1 = H.getTypeArgumentByIndex(this, 0); - H.functionTypeCheck(f, {func: 1, ret: {futureOr: 1, type: $E}, args: [t1]}); - result = new P._Future(0, $.Zone__current, [$E]); - t2 = onError == null ? 1 : 3; - this._addListener$1(new P._FutureListener(result, t2, f, onError, [t1, $E])); - return result; + onError$1(_, handleError) { + this._onError = A._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError); }, - whenComplete$1: function(action) { - var t1, result; - H.functionTypeCheck(action, {func: 1}); - t1 = $.Zone__current; - result = new P._Future(0, t1, this.$ti); - if (t1 !== C.C__RootZone) - action = t1.registerCallback$1$1(action, null); - t1 = H.getTypeArgumentByIndex(this, 0); - this._addListener$1(new P._FutureListener(result, 8, action, null, [t1, t1])); - return result; + cancel$0(_) { + var _this = this, + t1 = (_this._async$_state & 4294967279) >>> 0; + _this._async$_state = t1; + if ((t1 & 8) === 0) + _this._cancel$0(); + t1 = _this._cancelFuture; + return t1 == null ? $.$get$Future__nullFuture() : t1; }, - _addListener$1: function(listener) { - var t1, source; - t1 = this._state; - if (t1 <= 1) { - listener._nextListener = H.interceptedTypeCheck(this._resultOrListeners, "$is_FutureListener"); - this._resultOrListeners = listener; - } else { - if (t1 === 2) { - source = H.interceptedTypeCheck(this._resultOrListeners, "$is_Future"); - t1 = source._state; - if (t1 < 4) { - source._addListener$1(listener); - return; - } - this._state = t1; - this._resultOrListeners = source._resultOrListeners; - } - this._zone.scheduleMicrotask$1(new P._Future__addListener_closure(this, listener)); + _cancel$0() { + var t2, _this = this, + t1 = _this._async$_state = (_this._async$_state | 8) >>> 0; + if ((t1 & 64) !== 0) { + t2 = _this._pending; + if (t2._async$_state === 1) + t2._async$_state = 3; } + if ((t1 & 32) === 0) + _this.set$_pending(null); + _this._cancelFuture = _this._onCancel$0(); + }, + _add$1(_, data) { + var t2, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("_BufferingStreamSubscription.T")._as(data); + t2 = _this._async$_state; + if ((t2 & 8) !== 0) + return; + if (t2 < 32) + _this._sendData$1(data); + else + _this._addPending$1(new A._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); }, - _prependListeners$1: function(listeners) { - var _box_0, t1, existingListeners, cursor, cursor0, source; - _box_0 = {}; - _box_0.listeners = listeners; - if (listeners == null) + _async$_addError$2(error, stackTrace) { + var t1 = this._async$_state; + if ((t1 & 8) !== 0) return; - t1 = this._state; - if (t1 <= 1) { - existingListeners = H.interceptedTypeCheck(this._resultOrListeners, "$is_FutureListener"); - this._resultOrListeners = listeners; - if (existingListeners != null) { - for (cursor = listeners; cursor0 = cursor._nextListener, cursor0 != null; cursor = cursor0) - ; - cursor._nextListener = existingListeners; - } + if (t1 < 32) + this._sendError$2(error, stackTrace); + else + this._addPending$1(new A._DelayedError(error, stackTrace)); + }, + _close$0() { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 8) !== 0) + return; + t1 = (t1 | 2) >>> 0; + _this._async$_state = t1; + if (t1 < 32) + _this._sendDone$0(); + else + _this._addPending$1(B.C__DelayedDone); + }, + _onPause$0() { + }, + _onResume$0() { + }, + _onCancel$0() { + return null; + }, + _addPending$1($event) { + var t1, _this = this, + pending = _this._pending; + if (pending == null) { + pending = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>")); + _this.set$_pending(pending); + } + pending.add$1(0, $event); + t1 = _this._async$_state; + if ((t1 & 64) === 0) { + t1 = (t1 | 64) >>> 0; + _this._async$_state = t1; + if (t1 < 128) + pending.schedule$1(_this); + } + }, + _sendData$1(data) { + var t2, _this = this, + t1 = A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); + t1._as(data); + t2 = _this._async$_state; + _this._async$_state = (t2 | 32) >>> 0; + _this._zone.runUnaryGuarded$1$2(_this._onData, data, t1); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t2 & 4) !== 0); + }, + _sendError$2(error, stackTrace) { + var cancelFuture, _this = this, + t1 = _this._async$_state, + t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); + if ((t1 & 1) !== 0) { + _this._async$_state = (t1 | 16) >>> 0; + _this._cancel$0(); + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t2); + else + t2.call$0(); } else { - if (t1 === 2) { - source = H.interceptedTypeCheck(this._resultOrListeners, "$is_Future"); - t1 = source._state; - if (t1 < 4) { - source._prependListeners$1(listeners); - return; - } - this._state = t1; - this._resultOrListeners = source._resultOrListeners; - } - _box_0.listeners = this._reverseListeners$1(listeners); - this._zone.scheduleMicrotask$1(new P._Future__prependListeners_closure(_box_0, this)); + t2.call$0(); + _this._checkState$1((t1 & 4) !== 0); } }, - _removeListeners$0: function() { - var current = H.interceptedTypeCheck(this._resultOrListeners, "$is_FutureListener"); - this._resultOrListeners = null; - return this._reverseListeners$1(current); + _sendDone$0() { + var cancelFuture, _this = this, + t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this); + _this._cancel$0(); + _this._async$_state = (_this._async$_state | 16) >>> 0; + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t1); + else + t1.call$0(); }, - _reverseListeners$1: function(listeners) { - var current, prev, next; - for (current = listeners, prev = null; current != null; prev = current, current = next) { - next = current._nextListener; - current._nextListener = prev; + _guardCallback$1(callback) { + var t1, _this = this; + type$.void_Function._as(callback); + t1 = _this._async$_state; + _this._async$_state = (t1 | 32) >>> 0; + callback.call$0(); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t1 & 4) !== 0); + }, + _checkState$1(wasInputPaused) { + var t2, isInputPaused, _this = this, + t1 = _this._async$_state; + if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) { + t1 = _this._async$_state = (t1 & 4294967231) >>> 0; + if ((t1 & 4) !== 0) + if (t1 < 128) { + t2 = _this._pending; + t2 = t2 == null ? null : t2.lastPendingEvent == null; + t2 = t2 !== false; + } else + t2 = false; + else + t2 = false; + if (t2) { + t1 = (t1 & 4294967291) >>> 0; + _this._async$_state = t1; + } } - return prev; - }, - _complete$1: function(value) { - var t1, t2, listeners; - t1 = H.getTypeArgumentByIndex(this, 0); - H.futureOrCheck(value, {futureOr: 1, type: t1}); - t2 = this.$ti; - if (H.checkSubtype(value, "$isFuture", t2, "$asFuture")) - if (H.checkSubtype(value, "$is_Future", t2, null)) - P._Future__chainCoreFuture(value, this); + for (; true; wasInputPaused = isInputPaused) { + if ((t1 & 8) !== 0) { + _this.set$_pending(null); + return; + } + isInputPaused = (t1 & 4) !== 0; + if (wasInputPaused === isInputPaused) + break; + _this._async$_state = (t1 ^ 32) >>> 0; + if (isInputPaused) + _this._onPause$0(); else - P._Future__chainForeignFuture(value, this); - else { - listeners = this._removeListeners$0(); - H.assertSubtypeOfRuntimeType(value, t1); - this._state = 4; - this._resultOrListeners = value; - P._Future__propagateToListeners(this, listeners); + _this._onResume$0(); + t1 = (_this._async$_state & 4294967263) >>> 0; + _this._async$_state = t1; } + if ((t1 & 64) !== 0 && t1 < 128) + _this._pending.schedule$1(_this); }, - _completeError$2: function(error, stackTrace) { - var listeners; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - listeners = this._removeListeners$0(); - this._state = 8; - this._resultOrListeners = new P.AsyncError(error, stackTrace); - P._Future__propagateToListeners(this, listeners); - }, - _completeError$1: function(error) { - return this._completeError$2(error, null); + set$_onData(_onData) { + this._onData = A._instanceType(this)._eval$1("~(_BufferingStreamSubscription.T)")._as(_onData); }, - _asyncComplete$1: function(value) { - H.futureOrCheck(value, {futureOr: 1, type: H.getTypeArgumentByIndex(this, 0)}); - if (H.checkSubtype(value, "$isFuture", this.$ti, "$asFuture")) { - this._chainFuture$1(value); - return; - } - this._state = 1; - this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure(this, value)); + set$_pending(_pending) { + this._pending = A._instanceType(this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(_pending); }, - _chainFuture$1: function(value) { - var t1 = this.$ti; - H.assertSubtype(value, "$isFuture", t1, "$asFuture"); - if (H.checkSubtype(value, "$is_Future", t1, null)) { - if (value._state === 8) { - this._state = 1; - this._zone.scheduleMicrotask$1(new P._Future__chainFuture_closure(this, value)); - } else - P._Future__chainCoreFuture(value, this); + $isStreamSubscription: 1, + $is_EventDispatch: 1 + }; + A._BufferingStreamSubscription__sendError_sendError.prototype = { + call$0() { + var onError, t3, t4, + t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 8) !== 0 && (t2 & 16) === 0) return; - } - P._Future__chainForeignFuture(value, this); - }, - _asyncCompleteError$2: function(error, stackTrace) { - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - this._state = 1; - this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(this, error, stackTrace)); + t1._async$_state = (t2 | 32) >>> 0; + onError = t1._onError; + t2 = this.error; + t3 = type$.Object; + t4 = t1._zone; + if (type$.void_Function_Object_StackTrace._is(onError)) + t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); + else + t4.runUnaryGuarded$1$2(type$.void_Function_Object._as(onError), t2, t3); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; }, - $isFuture: 1 + $signature: 0 }; - P._Future__addListener_closure.prototype = { - call$0: function() { - P._Future__propagateToListeners(this.$this, this.listener); + A._BufferingStreamSubscription__sendDone_sendDone.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 16) === 0) + return; + t1._async$_state = (t2 | 42) >>> 0; + t1._zone.runGuarded$1(t1._onDone); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - P._Future__prependListeners_closure.prototype = { - call$0: function() { - P._Future__propagateToListeners(this.$this, this._box_0.listeners); + A._StreamImpl.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._controller._subscribe$4(t1._eval$1("~(1)?")._as(onData), onError, onDone, cancelOnError === true); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$2$onDone(onData, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, null); + }, + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } }; - P._Future__chainForeignFuture_closure.prototype = { - call$1: function(value) { - var t1 = this.target; - t1._state = 0; - t1._complete$1(value); + A._DelayedEvent.prototype = { + set$next(_, next) { + this.next = type$.nullable__DelayedEvent_dynamic._as(next); }, - $signature: 4 + get$next(receiver) { + return this.next; + } + }; + A._DelayedData.prototype = { + perform$1(dispatch) { + this.$ti._eval$1("_EventDispatch<1>")._as(dispatch)._sendData$1(this.value); + } + }; + A._DelayedError.prototype = { + perform$1(dispatch) { + dispatch._sendError$2(this.error, this.stackTrace); + } }; - P._Future__chainForeignFuture_closure0.prototype = { - call$2: function(error, stackTrace) { - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - this.target._completeError$2(error, stackTrace); + A._DelayedDone.prototype = { + perform$1(dispatch) { + dispatch._sendDone$0(); }, - call$1: function(error) { - return this.call$2(error, null); + get$next(_) { + return null; }, - "call*": "call$2", - $defaultValues: function() { - return [null]; + set$next(_, _0) { + throw A.wrapException(A.StateError$("No events after a done.")); }, - $signature: 38 + $is_DelayedEvent: 1 }; - P._Future__chainForeignFuture_closure1.prototype = { - call$0: function() { - this.target._completeError$2(this.e, this.s); + A._PendingEvents.prototype = { + schedule$1(dispatch) { + var t1, _this = this; + _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); + t1 = _this._async$_state; + if (t1 === 1) + return; + if (t1 >= 1) { + _this._async$_state = 1; + return; + } + A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch)); + _this._async$_state = 1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + add$1(_, $event) { + var _this = this, + lastEvent = _this.lastPendingEvent; + if (lastEvent == null) + _this.firstPendingEvent = _this.lastPendingEvent = $event; + else { + lastEvent.set$next(0, $event); + _this.lastPendingEvent = $event; + } + } }; - P._Future__asyncComplete_closure.prototype = { - call$0: function() { - var t1, t2, listeners; - t1 = this.$this; - t2 = H.assertSubtypeOfRuntimeType(this.value, H.getTypeArgumentByIndex(t1, 0)); - listeners = t1._removeListeners$0(); - t1._state = 4; - t1._resultOrListeners = t2; - P._Future__propagateToListeners(t1, listeners); - }, - "call*": "call$0", - $requiredArgCount: 0, + A._PendingEvents_schedule_closure.prototype = { + call$0() { + var t2, $event, nextEvent, + t1 = this.$this, + oldState = t1._async$_state; + t1._async$_state = 0; + if (oldState === 3) + return; + t2 = t1.$ti._eval$1("_EventDispatch<1>")._as(this.dispatch); + $event = t1.firstPendingEvent; + nextEvent = $event.get$next($event); + t1.firstPendingEvent = nextEvent; + if (nextEvent == null) + t1.lastPendingEvent = null; + $event.perform$1(t2); + }, $signature: 0 }; - P._Future__chainFuture_closure.prototype = { - call$0: function() { - P._Future__chainCoreFuture(this.value, this.$this); + A._DoneStreamSubscription.prototype = { + _schedule$0() { + var _this = this; + if ((_this._async$_state & 2) !== 0) + return; + _this._zone.scheduleMicrotask$1(_this.get$_sendDone()); + _this._async$_state = (_this._async$_state | 2) >>> 0; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + onData$1(handleData) { + this.$ti._eval$1("~(1)?")._as(handleData); + }, + onError$1(_, handleError) { + }, + cancel$0(_) { + return $.$get$Future__nullFuture(); + }, + _sendDone$0() { + var doneHandler, _this = this, + t1 = _this._async$_state = (_this._async$_state & 4294967293) >>> 0; + if (t1 >= 4) + return; + _this._async$_state = (t1 | 1) >>> 0; + doneHandler = _this._onDone; + if (doneHandler != null) + _this._zone.runGuarded$1(doneHandler); + }, + $isStreamSubscription: 1 }; - P._Future__asyncCompleteError_closure.prototype = { - call$0: function() { - this.$this._completeError$2(this.error, this.stackTrace); + A._StreamIterator.prototype = {}; + A._EmptyStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + t1 = new A._DoneStreamSubscription($.Zone__current, onDone, t1._eval$1("_DoneStreamSubscription<1>")); + t1._schedule$0(); + return t1; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } }; - P._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { - call$0: function() { - var completeResult, e, s, t1, exception, t2, originalSource; - completeResult = null; - try { - t1 = this.listener; - completeResult = t1.result._zone.run$1$1(H.functionTypeCheck(t1.callback, {func: 1}), null); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - if (this.hasError) { - t1 = H.interceptedTypeCheck(this._box_1.source._resultOrListeners, "$isAsyncError").error; - t2 = e; - t2 = t1 == null ? t2 == null : t1 === t2; - t1 = t2; - } else - t1 = false; - t2 = this._box_0; - if (t1) - t2.listenerValueOrError = H.interceptedTypeCheck(this._box_1.source._resultOrListeners, "$isAsyncError"); - else - t2.listenerValueOrError = new P.AsyncError(e, s); - t2.listenerHasError = true; + A._ZoneFunction.prototype = {}; + A._ZoneSpecification.prototype = {$isZoneSpecification: 1}; + A._ZoneDelegate.prototype = {$isZoneDelegate: 1}; + A._Zone.prototype = { + _processUncaughtError$3(zone, error, stackTrace) { + var implZone, handler, parentDelegate, parentZone, currentZone, e, s, implementation, t1, exception; + type$.StackTrace._as(stackTrace); + implementation = this.get$_handleUncaughtError(); + implZone = implementation.zone; + if (implZone === B.C__RootZone) { + A._rootHandleError(error, stackTrace); return; } - if (!!J.getInterceptor$(completeResult).$isFuture) { - if (completeResult instanceof P._Future && completeResult._state >= 4) { - if (completeResult._state === 8) { - t1 = this._box_0; - t1.listenerValueOrError = H.interceptedTypeCheck(completeResult._resultOrListeners, "$isAsyncError"); - t1.listenerHasError = true; - } - return; - } - originalSource = this._box_1.source; - t1 = this._box_0; - t1.listenerValueOrError = completeResult.then$1$1(new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), null); - t1.listenerHasError = false; + handler = implementation.$function; + parentDelegate = implZone.get$_parentDelegate(); + t1 = J.get$parent$z(implZone); + t1.toString; + parentZone = t1; + currentZone = $.Zone__current; + try { + $.Zone__current = parentZone; + handler.call$5(implZone, parentDelegate, zone, error, stackTrace); + $.Zone__current = currentZone; + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + $.Zone__current = currentZone; + t1 = error === e ? stackTrace : s; + parentZone._processUncaughtError$3(implZone, e, t1); } }, - $signature: 1 + $isZone: 1 }; - P._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { - call$1: function(_) { - return this.originalSource; + A._CustomZone.prototype = { + get$_delegate() { + var t1 = this._delegateCache; + return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1; }, - $signature: 22 - }; - P._Future__propagateToListeners_handleValueCallback.prototype = { - call$0: function() { - var e, s, t1, t2, t3, t4, exception; + get$_parentDelegate() { + return this.parent.get$_delegate(); + }, + get$errorZone() { + return this._handleUncaughtError.zone; + }, + runGuarded$1(f) { + var e, s, exception; + type$.void_Function._as(f); try { - t1 = this.listener; - t1.toString; - t2 = H.getTypeArgumentByIndex(t1, 0); - t3 = H.assertSubtypeOfRuntimeType(this.sourceResult, t2); - t4 = H.getTypeArgumentByIndex(t1, 1); - this._box_0.listenerValueOrError = t1.result._zone.runUnary$2$2(H.functionTypeCheck(t1.callback, {func: 1, ret: {futureOr: 1, type: t4}, args: [t2]}), t3, {futureOr: 1, type: t4}, t2); + this.run$1$1(f, type$.void); } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - t1 = this._box_0; - t1.listenerValueOrError = new P.AsyncError(e, s); - t1.listenerHasError = true; + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); } }, - $signature: 1 - }; - P._Future__propagateToListeners_handleError.prototype = { - call$0: function() { - var asyncError, e, s, t1, t2, exception, t3, t4; + runUnaryGuarded$1$2(f, arg, $T) { + var e, s, exception; + $T._eval$1("~(0)")._as(f); + $T._as(arg); try { - asyncError = H.interceptedTypeCheck(this._box_1.source._resultOrListeners, "$isAsyncError"); - t1 = this.listener; - if (t1.matchesErrorTest$1(asyncError) && t1.errorCallback != null) { - t2 = this._box_0; - t2.listenerValueOrError = t1.handleError$1(asyncError); - t2.listenerHasError = false; - } + this.runUnary$2$2(f, arg, type$.void, $T); } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - t1 = H.interceptedTypeCheck(this._box_1.source._resultOrListeners, "$isAsyncError"); - t2 = t1.error; - t3 = e; - t4 = this._box_0; - if (t2 == null ? t3 == null : t2 === t3) - t4.listenerValueOrError = t1; - else - t4.listenerValueOrError = new P.AsyncError(e, s); - t4.listenerHasError = true; + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); } }, - $signature: 1 - }; - P._AsyncCallbackEntry.prototype = {}; - P.Stream.prototype = { - pipe$1: function(streamConsumer) { - H.assertSubtype(streamConsumer, "$isStreamConsumer", [H.getRuntimeTypeArgument(this, "Stream", 0)], "$asStreamConsumer"); - return streamConsumer.addStream$1(this).then$1$1(new P.Stream_pipe_closure(streamConsumer), null); + runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { + var e, s, exception; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); + } }, - get$length: function(_) { - var t1, future; - t1 = {}; - future = new P._Future(0, $.Zone__current, [P.int]); - t1.count = 0; - this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1, this), true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); - return future; - } - }; - P.Stream_pipe_closure.prototype = { - call$1: function(_) { - return this.streamConsumer.close$0(0); + bindCallback$1$1(f, $R) { + return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1($R._eval$1("0()")._as(f), $R), $R); }, - $signature: 33 - }; - P.Stream_length_closure.prototype = { - call$1: function(_) { - H.assertSubtypeOfRuntimeType(_, H.getRuntimeTypeArgument(this.$this, "Stream", 0)); - ++this._box_0.count; + bindUnaryCallback$2$1(f, $R, $T) { + return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1($R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f), $R, $T), $T, $R); }, - $signature: function() { - return {func: 1, ret: P.Null, args: [H.getRuntimeTypeArgument(this.$this, "Stream", 0)]}; - } - }; - P.Stream_length_closure0.prototype = { - call$0: function() { - this.future._complete$1(this._box_0.count); + bindCallbackGuarded$1(f) { + return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(type$.void_Function._as(f), type$.void)); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 - }; - P.StreamSubscription.prototype = {}; - P.StreamTransformerBase.prototype = {$isStreamTransformer: 1}; - P._StreamController.prototype = { - get$_pendingEvents: function() { - if ((this._state & 8) === 0) - return H.assertSubtype(this._varData, "$is_PendingEvents", this.$ti, "$as_PendingEvents"); - var t1 = this.$ti; - return H.assertSubtype(H.assertSubtype(this._varData, "$is_StreamControllerAddStreamState", t1, "$as_StreamControllerAddStreamState").varData, "$is_PendingEvents", t1, "$as_PendingEvents"); - }, - _ensurePendingEvents$0: function() { - var t1, state, t2; - if ((this._state & 8) === 0) { - t1 = this._varData; - if (t1 == null) { - t1 = new P._StreamImplEvents(0, this.$ti); - this._varData = t1; - } - return H.assertSubtype(t1, "$is_StreamImplEvents", this.$ti, "$as_StreamImplEvents"); - } - t1 = this.$ti; - state = H.assertSubtype(this._varData, "$is_StreamControllerAddStreamState", t1, "$as_StreamControllerAddStreamState"); - t2 = state.varData; - if (t2 == null) { - t2 = new P._StreamImplEvents(0, t1); - state.varData = t2; - } - return H.assertSubtype(t2, "$is_StreamImplEvents", t1, "$as_StreamImplEvents"); + bindUnaryCallbackGuarded$1$1(f, $T) { + return new A._CustomZone_bindUnaryCallbackGuarded_closure(this, this.registerUnaryCallback$2$1($T._eval$1("~(0)")._as(f), type$.void, $T), $T); }, - get$_subscription: function() { - if ((this._state & 8) !== 0) { - var t1 = this.$ti; - return H.assertSubtype(H.assertSubtype(this._varData, "$is_StreamControllerAddStreamState", t1, "$as_StreamControllerAddStreamState").varData, "$is_ControllerSubscription", t1, "$as_ControllerSubscription"); - } - return H.assertSubtype(this._varData, "$is_ControllerSubscription", this.$ti, "$as_ControllerSubscription"); + $index(_, key) { + var value, + t1 = this._async$_map, + result = t1.$index(0, key); + if (result != null || t1.containsKey$1(0, key)) + return result; + value = this.parent.$index(0, key); + if (value != null) + t1.$indexSet(0, key, value); + return value; }, - _badEventState$0: function() { - if ((this._state & 4) !== 0) - return new P.StateError("Cannot add event after closing"); - return new P.StateError("Cannot add event while adding a stream"); + handleUncaughtError$2(error, stackTrace) { + this._processUncaughtError$3(this, error, type$.StackTrace._as(stackTrace)); }, - _ensureDoneFuture$0: function() { - var t1 = this._doneFuture; - if (t1 == null) { - t1 = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new P._Future(0, $.Zone__current, [null]); - this._doneFuture = t1; - } - return t1; + fork$2$specification$zoneValues(specification, zoneValues) { + var implementation = this._fork, + t1 = implementation.zone; + return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues); }, - add$1: function(_, value) { - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 0)); - if (this._state >= 4) - throw H.wrapException(this._badEventState$0()); - this._add$1(value); + run$1$1(f, $R) { + var implementation, t1; + $R._eval$1("0()")._as(f); + implementation = this._run; + t1 = implementation.zone; + return implementation.$function.call$1$4(t1, t1.get$_parentDelegate(), this, f, $R); }, - addError$2: function(error, stackTrace) { - var replacement; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - if (this._state >= 4) - throw H.wrapException(this._badEventState$0()); - if (error == null) - error = new P.NullThrownError(); - replacement = $.Zone__current.errorCallback$2(error, stackTrace); - if (replacement != null) { - error = replacement.error; - if (error == null) - error = new P.NullThrownError(); - stackTrace = replacement.stackTrace; - } - this._async$_addError$2(error, stackTrace); + runUnary$2$2(f, arg, $R, $T) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + implementation = this._runUnary; + t1 = implementation.zone; + return implementation.$function.call$2$5(t1, t1.get$_parentDelegate(), this, f, arg, $R, $T); }, - addError$1: function(error) { - return this.addError$2(error, null); + runBinary$3$3(f, arg1, arg2, $R, T1, T2) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + implementation = this._runBinary; + t1 = implementation.zone; + return implementation.$function.call$3$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2, $R, T1, T2); }, - close$0: function(_) { - var t1 = this._state; - if ((t1 & 4) !== 0) - return this._ensureDoneFuture$0(); - if (t1 >= 4) - throw H.wrapException(this._badEventState$0()); - t1 |= 4; - this._state = t1; - if ((t1 & 1) !== 0) - this._sendDone$0(); - else if ((t1 & 3) === 0) - this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); - return this._ensureDoneFuture$0(); + registerCallback$1$1(callback, $R) { + var implementation, t1; + $R._eval$1("0()")._as(callback); + implementation = this._registerCallback; + t1 = implementation.zone; + return implementation.$function.call$1$4(t1, t1.get$_parentDelegate(), this, callback, $R); }, - _add$1: function(value) { - var t1; - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 0)); - t1 = this._state; - if ((t1 & 1) !== 0) - this._sendData$1(value); - else if ((t1 & 3) === 0) - this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, this.$ti)); + registerUnaryCallback$2$1(callback, $R, $T) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(callback); + implementation = this._registerUnaryCallback; + t1 = implementation.zone; + return implementation.$function.call$2$4(t1, t1.get$_parentDelegate(), this, callback, $R, $T); }, - _async$_addError$2: function(error, stackTrace) { - var t1 = this._state; - if ((t1 & 1) !== 0) - this._sendError$2(error, stackTrace); - else if ((t1 & 3) === 0) - this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackTrace)); - }, - _subscribe$4: function(onData, onError, onDone, cancelOnError) { - var t1, t2, t3, t4, subscription, pendingEvents, addState; - t1 = H.getTypeArgumentByIndex(this, 0); - H.functionTypeCheck(onData, {func: 1, ret: -1, args: [t1]}); - H.functionTypeCheck(onDone, {func: 1, ret: -1}); - if ((this._state & 3) !== 0) - throw H.wrapException(P.StateError$("Stream has already been listened to.")); - t2 = $.Zone__current; - t3 = cancelOnError ? 1 : 0; - t4 = this.$ti; - subscription = new P._ControllerSubscription(this, t2, t3, t4); - subscription._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError, t1); - pendingEvents = this.get$_pendingEvents(); - t1 = this._state |= 1; - if ((t1 & 8) !== 0) { - addState = H.assertSubtype(this._varData, "$is_StreamControllerAddStreamState", t4, "$as_StreamControllerAddStreamState"); - addState.varData = subscription; - addState.addSubscription.resume$0(0); - } else - this._varData = subscription; - subscription._setPendingEvents$1(pendingEvents); - subscription._guardCallback$1(new P._StreamController__subscribe_closure(this)); - return subscription; + registerBinaryCallback$3$1(callback, $R, T1, T2) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(callback); + implementation = this._registerBinaryCallback; + t1 = implementation.zone; + return implementation.$function.call$3$4(t1, t1.get$_parentDelegate(), this, callback, $R, T1, T2); }, - _recordCancel$1: function(subscription) { - var result, e, s, t1, exception, result0; - t1 = this.$ti; - H.assertSubtype(subscription, "$isStreamSubscription", t1, "$asStreamSubscription"); - result = null; - if ((this._state & 8) !== 0) - result = H.assertSubtype(this._varData, "$is_StreamControllerAddStreamState", t1, "$as_StreamControllerAddStreamState").cancel$0(); - this._varData = null; - this._state = this._state & 4294967286 | 2; - t1 = this.onCancel; - if (t1 != null) - if (result == null) - try { - result = H.interceptedTypeCheck(t1.call$0(), "$isFuture"); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - result0 = new P._Future(0, $.Zone__current, [null]); - result0._asyncCompleteError$2(e, s); - result = result0; - } - else - result = result.whenComplete$1(t1); - t1 = new P._StreamController__recordCancel_complete(this); - if (result != null) - result = result.whenComplete$1(t1); - else - t1.call$0(); - return result; + errorCallback$2(error, stackTrace) { + var implementation, implementationZone; + A.checkNotNullable(error, "error", type$.Object); + implementation = this._errorCallback; + implementationZone = implementation.zone; + if (implementationZone === B.C__RootZone) + return null; + return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace); }, - $isStreamConsumer: 1, - $isStreamSink: 1, - $isStreamController: 1, - $is_StreamControllerLifecycle: 1, - $is_EventDispatch: 1 - }; - P._StreamController__subscribe_closure.prototype = { - call$0: function() { - P._runGuarded(this.$this.onListen); + scheduleMicrotask$1(f) { + var implementation, t1; + type$.void_Function._as(f); + implementation = this._scheduleMicrotask; + t1 = implementation.zone; + return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f); }, - $signature: 0 - }; - P._StreamController__recordCancel_complete.prototype = { - call$0: function() { - var t1 = this.$this._doneFuture; - if (t1 != null && t1._state === 0) - t1._asyncComplete$1(null); + createPeriodicTimer$2(duration, f) { + var implementation, t1; + type$.void_Function_Timer._as(f); + implementation = this._createPeriodicTimer; + t1 = implementation.zone; + return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 - }; - P._SyncStreamControllerDispatch.prototype = { - _sendData$1: function(data) { - H.assertSubtypeOfRuntimeType(data, H.getTypeArgumentByIndex(this, 0)); - this.get$_subscription()._add$1(data); + print$1(_, line) { + var implementation = this._print, + t1 = implementation.zone; + return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line); + }, + set$_handleUncaughtError(_handleUncaughtError) { + this._handleUncaughtError = type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace._as(_handleUncaughtError); + }, + get$_run() { + return this._run; + }, + get$_runUnary() { + return this._runUnary; + }, + get$_runBinary() { + return this._runBinary; + }, + get$_registerCallback() { + return this._registerCallback; + }, + get$_registerUnaryCallback() { + return this._registerUnaryCallback; + }, + get$_registerBinaryCallback() { + return this._registerBinaryCallback; + }, + get$_errorCallback() { + return this._errorCallback; + }, + get$_scheduleMicrotask() { + return this._scheduleMicrotask; + }, + get$_createTimer() { + return this._createTimer; + }, + get$_createPeriodicTimer() { + return this._createPeriodicTimer; + }, + get$_print() { + return this._print; + }, + get$_fork() { + return this._fork; + }, + get$_handleUncaughtError() { + return this._handleUncaughtError; }, - _sendError$2: function(error, stackTrace) { - this.get$_subscription()._async$_addError$2(error, stackTrace); + get$parent(receiver) { + return this.parent; }, - _sendDone$0: function() { - this.get$_subscription()._close$0(); + get$_async$_map() { + return this._async$_map; } }; - P._SyncStreamController.prototype = {}; - P._ControllerStream.prototype = { - get$hashCode: function(_) { - return (H.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; + A._CustomZone_bindCallback_closure.prototype = { + call$0() { + return this.$this.run$1$1(this.registered, this.R); }, - $eq: function(_, other) { - if (other == null) - return false; - if (this === other) - return true; - return other instanceof P._ControllerStream && other._controller === this._controller; + $signature() { + return this.R._eval$1("0()"); } }; - P._ControllerSubscription.prototype = { - _onCancel$0: function() { - return this._controller._recordCancel$1(this); + A._CustomZone_bindUnaryCallback_closure.prototype = { + call$1(arg) { + var _this = this, + t1 = _this.T; + return _this.$this.runUnary$2$2(_this.registered, t1._as(arg), _this.R, t1); }, - _onPause$0: function() { - var t1, t2; - t1 = this._controller; - t2 = H.getTypeArgumentByIndex(t1, 0); - H.assertSubtype(this, "$isStreamSubscription", [t2], "$asStreamSubscription"); - if ((t1._state & 8) !== 0) - H.assertSubtype(t1._varData, "$is_StreamControllerAddStreamState", [t2], "$as_StreamControllerAddStreamState").addSubscription.pause$0(0); - P._runGuarded(t1.onPause); - }, - _onResume$0: function() { - var t1, t2; - t1 = this._controller; - t2 = H.getTypeArgumentByIndex(t1, 0); - H.assertSubtype(this, "$isStreamSubscription", [t2], "$asStreamSubscription"); - if ((t1._state & 8) !== 0) - H.assertSubtype(t1._varData, "$is_StreamControllerAddStreamState", [t2], "$as_StreamControllerAddStreamState").addSubscription.resume$0(0); - P._runGuarded(t1.onResume); + $signature() { + return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); } }; - P._StreamSinkWrapper.prototype = { - add$1: function(_, data) { - this._async$_target.add$1(0, H.assertSubtypeOfRuntimeType(data, H.getTypeArgumentByIndex(this, 0))); + A._CustomZone_bindCallbackGuarded_closure.prototype = { + call$0() { + return this.$this.runGuarded$1(this.registered); + }, + $signature: 0 + }; + A._CustomZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.registered, t1._as(arg), t1); }, - $isStreamConsumer: 1, - $isStreamSink: 1 + $signature() { + return this.T._eval$1("~(0)"); + } }; - P._AddStreamState_cancel_closure.prototype = { - call$0: function() { - this.$this.addStreamFuture._asyncComplete$1(null); + A._rootHandleError_closure.prototype = { + call$0() { + var t1 = this.error, + t2 = this.stackTrace; + A.checkNotNullable(t1, "error", type$.Object); + A.checkNotNullable(t2, "stackTrace", type$.StackTrace); + A.Error__throw(t1, t2); }, $signature: 0 }; - P._BufferingStreamSubscription.prototype = { - _BufferingStreamSubscription$4: function(onData, onError, onDone, cancelOnError, $T) { - var t1, handleData, t2, handleError, handleDone; - t1 = H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0); - H.functionTypeCheck(onData, {func: 1, ret: -1, args: [t1]}); - handleData = onData == null ? P.async___nullDataHandler$closure() : onData; - t2 = this._zone; - this.set$_async$_onData(t2.registerUnaryCallback$2$1(handleData, null, t1)); - handleError = onError == null ? P.async___nullErrorHandler$closure() : onError; - if (H.functionTypeTest(handleError, {func: 1, ret: -1, args: [P.Object, P.StackTrace]})) - this._onError = t2.registerBinaryCallback$3$1(handleError, null, P.Object, P.StackTrace); - else if (H.functionTypeTest(handleError, {func: 1, ret: -1, args: [P.Object]})) - this._onError = t2.registerUnaryCallback$2$1(handleError, null, P.Object); - else - H.throwExpression(P.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.")); - H.functionTypeCheck(onDone, {func: 1, ret: -1}); - handleDone = onDone == null ? P.async___nullDoneHandler$closure() : onDone; - this.set$_onDone(t2.registerCallback$1$1(handleDone, -1)); + A._RootZone.prototype = { + get$_run() { + return B._ZoneFunction__RootZone__rootRun; }, - _setPendingEvents$1: function(pendingEvents) { - H.assertSubtype(pendingEvents, "$is_PendingEvents", [H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0)], "$as_PendingEvents"); - if (pendingEvents == null) - return; - this.set$_pending(pendingEvents); - if (pendingEvents.lastPendingEvent != null) { - this._state = (this._state | 64) >>> 0; - this._pending.schedule$1(this); - } + get$_runUnary() { + return B._ZoneFunction__RootZone__rootRunUnary; }, - cancel$0: function() { - var t1 = (this._state & 4294967279) >>> 0; - this._state = t1; - if ((t1 & 8) === 0) - this._cancel$0(); - t1 = this._cancelFuture; - return t1 == null ? $.$get$Future__nullFuture() : t1; + get$_runBinary() { + return B._ZoneFunction__RootZone__rootRunBinary; }, - _cancel$0: function() { - var t1, t2; - t1 = (this._state | 8) >>> 0; - this._state = t1; - if ((t1 & 64) !== 0) { - t2 = this._pending; - if (t2._state === 1) - t2._state = 3; - } - if ((t1 & 32) === 0) - this.set$_pending(null); - this._cancelFuture = this._onCancel$0(); + get$_registerCallback() { + return B._ZoneFunction__RootZone__rootRegisterCallback; }, - _add$1: function(data) { - var t1, t2; - t1 = H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0); - H.assertSubtypeOfRuntimeType(data, t1); - t2 = this._state; - if ((t2 & 8) !== 0) - return; - if (t2 < 32) - this._sendData$1(data); - else - this._addPending$1(new P._DelayedData(data, [t1])); + get$_registerUnaryCallback() { + return B._ZoneFunction_Eeh; }, - _async$_addError$2: function(error, stackTrace) { - var t1 = this._state; - if ((t1 & 8) !== 0) - return; - if (t1 < 32) - this._sendError$2(error, stackTrace); - else - this._addPending$1(new P._DelayedError(error, stackTrace)); + get$_registerBinaryCallback() { + return B._ZoneFunction_7G2; }, - _close$0: function() { - var t1 = this._state; - if ((t1 & 8) !== 0) - return; - t1 = (t1 | 2) >>> 0; - this._state = t1; - if (t1 < 32) - this._sendDone$0(); - else - this._addPending$1(C.C__DelayedDone); + get$_errorCallback() { + return B._ZoneFunction__RootZone__rootErrorCallback; }, - _onPause$0: function() { + get$_scheduleMicrotask() { + return B._ZoneFunction__RootZone__rootScheduleMicrotask; }, - _onResume$0: function() { + get$_createTimer() { + return B._ZoneFunction__RootZone__rootCreateTimer; }, - _onCancel$0: function() { - return; + get$_createPeriodicTimer() { + return B._ZoneFunction_3bB; }, - _addPending$1: function($event) { - var t1, pending; - t1 = [H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0)]; - pending = H.assertSubtype(this._pending, "$is_StreamImplEvents", t1, "$as_StreamImplEvents"); - if (pending == null) { - pending = new P._StreamImplEvents(0, t1); - this.set$_pending(pending); - } - pending.add$1(0, $event); - t1 = this._state; - if ((t1 & 64) === 0) { - t1 = (t1 | 64) >>> 0; - this._state = t1; - if (t1 < 128) - this._pending.schedule$1(this); - } + get$_print() { + return B._ZoneFunction__RootZone__rootPrint; }, - _sendData$1: function(data) { - var t1, t2; - t1 = H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0); - H.assertSubtypeOfRuntimeType(data, t1); - t2 = this._state; - this._state = (t2 | 32) >>> 0; - this._zone.runUnaryGuarded$1$2(this._async$_onData, data, t1); - this._state = (this._state & 4294967263) >>> 0; - this._checkState$1((t2 & 4) !== 0); - }, - _sendError$2: function(error, stackTrace) { - var t1, t2; - t1 = this._state; - t2 = new P._BufferingStreamSubscription__sendError_sendError(this, error, stackTrace); - if ((t1 & 1) !== 0) { - this._state = (t1 | 16) >>> 0; - this._cancel$0(); - t1 = this._cancelFuture; - if (t1 != null && t1 !== $.$get$Future__nullFuture()) - t1.whenComplete$1(t2); - else - t2.call$0(); - } else { - t2.call$0(); - this._checkState$1((t1 & 4) !== 0); - } + get$_fork() { + return B._ZoneFunction__RootZone__rootFork; }, - _sendDone$0: function() { - var t1, t2; - t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this); - this._cancel$0(); - this._state = (this._state | 16) >>> 0; - t2 = this._cancelFuture; - if (t2 != null && t2 !== $.$get$Future__nullFuture()) - t2.whenComplete$1(t1); - else - t1.call$0(); + get$_handleUncaughtError() { + return B._ZoneFunction_NMc; }, - _guardCallback$1: function(callback) { - var t1; - H.functionTypeCheck(callback, {func: 1, ret: -1}); - t1 = this._state; - this._state = (t1 | 32) >>> 0; - callback.call$0(); - this._state = (this._state & 4294967263) >>> 0; - this._checkState$1((t1 & 4) !== 0); - }, - _checkState$1: function(wasInputPaused) { - var t1, t2, isInputPaused; - t1 = this._state; - if ((t1 & 64) !== 0 && this._pending.lastPendingEvent == null) { - t1 = (t1 & 4294967231) >>> 0; - this._state = t1; - if ((t1 & 4) !== 0) - if (t1 < 128) { - t2 = this._pending; - t2 = t2 == null || t2.lastPendingEvent == null; - } else - t2 = false; - else - t2 = false; - if (t2) { - t1 = (t1 & 4294967291) >>> 0; - this._state = t1; + get$parent(_) { + return null; + }, + get$_async$_map() { + return $.$get$_RootZone__rootMap(); + }, + get$_delegate() { + var t1 = $._RootZone__rootDelegate; + return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; + }, + get$_parentDelegate() { + var t1 = $._RootZone__rootDelegate; + return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; + }, + get$errorZone() { + return this; + }, + runGuarded$1(f) { + var e, s, exception; + type$.void_Function._as(f); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$0(); + return; } + A._rootRun(null, null, this, f, type$.void); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); } - for (; true; wasInputPaused = isInputPaused) { - if ((t1 & 8) !== 0) { - this.set$_pending(null); + }, + runUnaryGuarded$1$2(f, arg, $T) { + var e, s, exception; + $T._eval$1("~(0)")._as(f); + $T._as(arg); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$1(arg); return; } - isInputPaused = (t1 & 4) !== 0; - if (wasInputPaused === isInputPaused) - break; - this._state = (t1 ^ 32) >>> 0; - if (isInputPaused) - this._onPause$0(); - else - this._onResume$0(); - t1 = (this._state & 4294967263) >>> 0; - this._state = t1; + A._rootRunUnary(null, null, this, f, arg, type$.void, $T); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { + var e, s, exception; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$2(arg1, arg2); + return; + } + A._rootRunBinary(null, null, this, f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); } - if ((t1 & 64) !== 0 && t1 < 128) - this._pending.schedule$1(this); }, - set$_async$_onData: function(_onData) { - this._async$_onData = H.functionTypeCheck(_onData, {func: 1, ret: -1, args: [H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0)]}); + bindCallback$1$1(f, $R) { + return new A._RootZone_bindCallback_closure(this, $R._eval$1("0()")._as(f), $R); }, - set$_onDone: function(_onDone) { - this._onDone = H.functionTypeCheck(_onDone, {func: 1, ret: -1}); + bindUnaryCallback$2$1(f, $R, $T) { + return new A._RootZone_bindUnaryCallback_closure(this, $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f), $T, $R); }, - set$_pending: function(_pending) { - this._pending = H.assertSubtype(_pending, "$is_PendingEvents", [H.getRuntimeTypeArgument(this, "_BufferingStreamSubscription", 0)], "$as_PendingEvents"); + bindCallbackGuarded$1(f) { + return new A._RootZone_bindCallbackGuarded_closure(this, type$.void_Function._as(f)); }, - $isStreamSubscription: 1, - $is_EventDispatch: 1 - }; - P._BufferingStreamSubscription__sendError_sendError.prototype = { - call$0: function() { - var t1, t2, onError, t3, t4; - t1 = this.$this; - t2 = t1._state; - if ((t2 & 8) !== 0 && (t2 & 16) === 0) - return; - t1._state = (t2 | 32) >>> 0; - onError = t1._onError; - t2 = this.error; - t3 = P.Object; - t4 = t1._zone; - if (H.functionTypeTest(onError, {func: 1, ret: -1, args: [P.Object, P.StackTrace]})) - t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, P.StackTrace); - else - t4.runUnaryGuarded$1$2(H.functionTypeCheck(t1._onError, {func: 1, ret: -1, args: [P.Object]}), t2, t3); - t1._state = (t1._state & 4294967263) >>> 0; + bindUnaryCallbackGuarded$1$1(f, $T) { + return new A._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 - }; - P._BufferingStreamSubscription__sendDone_sendDone.prototype = { - call$0: function() { - var t1, t2; - t1 = this.$this; - t2 = t1._state; - if ((t2 & 16) === 0) - return; - t1._state = (t2 | 42) >>> 0; - t1._zone.runGuarded$1(t1._onDone); - t1._state = (t1._state & 4294967263) >>> 0; + $index(_, key) { + return null; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 - }; - P._StreamImpl.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - H.functionTypeCheck(onData, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0)]}); - H.functionTypeCheck(onDone, {func: 1, ret: -1}); - return this._controller._subscribe$4(H.functionTypeCheck(onData, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0)]}), onError, onDone, true === cancelOnError); + handleUncaughtError$2(error, stackTrace) { + A._rootHandleError(error, type$.StackTrace._as(stackTrace)); }, - listen$1: function(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + fork$2$specification$zoneValues(specification, zoneValues) { + return A._rootFork(null, null, this, specification, zoneValues); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + run$1$1(f, $R) { + $R._eval$1("0()")._as(f); + if ($.Zone__current === B.C__RootZone) + return f.call$0(); + return A._rootRun(null, null, this, f, $R); }, - listen$2$onDone: function(onData, onDone) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, null); - } - }; - P._DelayedEvent.prototype = { - set$next: function(next) { - this.next = H.interceptedTypeCheck(next, "$is_DelayedEvent"); + runUnary$2$2(f, arg, $R, $T) { + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + if ($.Zone__current === B.C__RootZone) + return f.call$1(arg); + return A._rootRunUnary(null, null, this, f, arg, $R, $T); }, - get$next: function() { - return this.next; + runBinary$3$3(f, arg1, arg2, $R, T1, T2) { + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + if ($.Zone__current === B.C__RootZone) + return f.call$2(arg1, arg2); + return A._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); + }, + registerCallback$1$1(f, $R) { + return $R._eval$1("0()")._as(f); + }, + registerUnaryCallback$2$1(f, $R, $T) { + return $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + }, + registerBinaryCallback$3$1(f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + }, + errorCallback$2(error, stackTrace) { + return null; + }, + scheduleMicrotask$1(f) { + A._rootScheduleMicrotask(null, null, this, type$.void_Function._as(f)); + }, + createPeriodicTimer$2(duration, f) { + return A.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(f)); + }, + print$1(_, line) { + A.printString(line); } }; - P._DelayedData.prototype = { - perform$1: function(dispatch) { - H.assertSubtype(dispatch, "$is_EventDispatch", this.$ti, "$as_EventDispatch")._sendData$1(this.value); + A._RootZone_bindCallback_closure.prototype = { + call$0() { + return this.$this.run$1$1(this.f, this.R); + }, + $signature() { + return this.R._eval$1("0()"); } }; - P._DelayedError.prototype = { - perform$1: function(dispatch) { - dispatch._sendError$2(this.error, this.stackTrace); + A._RootZone_bindUnaryCallback_closure.prototype = { + call$1(arg) { + var _this = this, + t1 = _this.T; + return _this.$this.runUnary$2$2(_this.f, t1._as(arg), _this.R, t1); }, - $as_DelayedEvent: function() { + $signature() { + return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); } }; - P._DelayedDone.prototype = { - perform$1: function(dispatch) { - dispatch._sendDone$0(); - }, - get$next: function() { - return; + A._RootZone_bindCallbackGuarded_closure.prototype = { + call$0() { + return this.$this.runGuarded$1(this.f); }, - set$next: function(_) { - throw H.wrapException(P.StateError$("No events after a done.")); + $signature: 0 + }; + A._RootZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.f, t1._as(arg), t1); }, - $is_DelayedEvent: 1, - $as_DelayedEvent: function() { + $signature() { + return this.T._eval$1("~(0)"); } }; - P._PendingEvents.prototype = { - schedule$1: function(dispatch) { - var t1; - H.assertSubtype(dispatch, "$is_EventDispatch", this.$ti, "$as_EventDispatch"); - t1 = this._state; - if (t1 === 1) - return; - if (t1 >= 1) { - this._state = 1; - return; + A.runZonedGuarded_closure.prototype = { + call$5($self, $parent, zone, error, stackTrace) { + var e, s, exception, t2, + t1 = type$.StackTrace; + t1._as(stackTrace); + try { + this.parentZone.runBinary$3$3(this.onError, error, stackTrace, type$.void, type$.Object, t1); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t2 = $parent._delegationTarget; + if (e === error) + t2._processUncaughtError$3(zone, error, stackTrace); + else + t2._processUncaughtError$3(zone, type$.Object._as(e), t1._as(s)); } - P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch)); - this._state = 1; - } - }; - P._PendingEvents_schedule_closure.prototype = { - call$0: function() { - var t1, oldState, t2, $event, t3; - t1 = this.$this; - oldState = t1._state; - t1._state = 0; - if (oldState === 3) - return; - t2 = H.assertSubtype(this.dispatch, "$is_EventDispatch", [H.getTypeArgumentByIndex(t1, 0)], "$as_EventDispatch"); - $event = t1.firstPendingEvent; - t3 = $event.get$next(); - t1.firstPendingEvent = t3; - if (t3 == null) - t1.lastPendingEvent = null; - $event.perform$1(t2); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + $signature: 31 }; - P._StreamImplEvents.prototype = { - add$1: function(_, $event) { - var t1 = this.lastPendingEvent; - if (t1 == null) { - this.lastPendingEvent = $event; - this.firstPendingEvent = $event; + A._HashMap.prototype = { + get$length(_) { + return this._collection$_length; + }, + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$keys(_) { + return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); + }, + containsKey$1(_, key) { + var strings, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[key] != null; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + return nums == null ? false : nums[key] != null; + } else + return this._containsKey$1(key); + }, + _containsKey$1(key) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; + }, + $index(_, key) { + var strings, t1, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key); + return t1; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key); + return t1; + } else + return this._get$1(0, key); + }, + _get$1(_, key) { + var bucket, index, + rest = this._collection$_rest; + if (rest == null) + return null; + bucket = this._getBucket$2(rest, key); + index = this._findBucketIndex$2(bucket, key); + return index < 0 ? null : bucket[index + 1]; + }, + $indexSet(_, key, value) { + var strings, nums, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string" && key !== "__proto__") { + strings = _this._collection$_strings; + _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value); + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = _this._collection$_nums; + _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value); + } else + _this._set$2(key, value); + }, + _set$2(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._HashMap__newHashTable(); + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) { + A._HashMap__setTableEntry(rest, hash, [key, value]); + ++_this._collection$_length; + _this._keys = null; } else { - t1.set$next($event); - this.lastPendingEvent = $event; + index = _this._findBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index + 1] = value; + else { + bucket.push(key, value); + ++_this._collection$_length; + _this._keys = null; + } } - } - }; - P._DoneStreamSubscription.prototype = { - _schedule$0: function() { - if ((this._state & 2) !== 0) - return; - this._zone.scheduleMicrotask$1(this.get$_sendDone()); - this._state = (this._state | 2) >>> 0; }, - cancel$0: function() { - return $.$get$Future__nullFuture(); + forEach$1(_, action) { + var keys, $length, t2, i, key, t3, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1,2)")._as(action); + keys = _this._computeKeys$0(); + for ($length = keys.length, t2 = t1._precomputed1, t1 = t1._rest[1], i = 0; i < $length; ++i) { + key = keys[i]; + t2._as(key); + t3 = _this.$index(0, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); + if (keys !== _this._keys) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } }, - _sendDone$0: function() { - var t1 = (this._state & 4294967293) >>> 0; - this._state = t1; - if (t1 >= 4) - return; - this._state = (t1 | 1) >>> 0; - t1 = this._onDone; - if (t1 != null) - this._zone.runGuarded$1(t1); + _computeKeys$0() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._keys; + if (result != null) + return result; + result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; + } + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; + } + } + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; i0 += 2) { + result[index] = bucket[i0]; + ++index; + } + } + } + return _this._keys = result; + }, + _collection$_addHashTableEntry$3(table, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (table[key] == null) { + ++this._collection$_length; + this._keys = null; + } + A._HashMap__setTableEntry(table, key, value); + }, + _computeHashCode$1(key) { + return J.get$hashCode$(key) & 1073741823; + }, + _getBucket$2(table, key) { + return table[this._computeHashCode$1(key)]; + }, + _findBucketIndex$2(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) + if (J.$eq$(bucket[i], key)) + return i; + return -1; + } + }; + A._IdentityHashMap.prototype = { + _computeHashCode$1(key) { + return A.objectHashCode(key) & 1073741823; }, - $isStreamSubscription: 1 + _findBucketIndex$2(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) { + t1 = bucket[i]; + if (t1 == null ? key == null : t1 === key) + return i; + } + return -1; + } }; - P._StreamIterator.prototype = {}; - P._EmptyStream.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - var t1; - H.functionTypeCheck(onData, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0)]}); - H.functionTypeCheck(onDone, {func: 1, ret: -1}); - t1 = new P._DoneStreamSubscription($.Zone__current, onDone, this.$ti); - t1._schedule$0(); - return t1; + A._HashMapKeyIterable.prototype = { + get$length(_) { + return this._collection$_map._collection$_length; }, - listen$1: function(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + get$isEmpty(_) { + return this._collection$_map._collection$_length === 0; }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + get$iterator(_) { + var t1 = this._collection$_map; + return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); } }; - P.Timer.prototype = {}; - P.AsyncError.prototype = { - toString$0: function(_) { - return H.S(this.error); + A._HashMapKeyIterator.prototype = { + get$current(_) { + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + keys = _this._keys, + offset = _this._offset, + t1 = _this._collection$_map; + if (keys !== t1._keys) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (offset >= keys.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(keys[offset]); + _this._offset = offset + 1; + return true; + } }, - $isError: 1 - }; - P._ZoneFunction.prototype = {}; - P.ZoneSpecification.prototype = {}; - P._ZoneSpecification.prototype = {$isZoneSpecification: 1}; - P.ZoneDelegate.prototype = {}; - P.Zone.prototype = {}; - P._ZoneDelegate.prototype = { - handleUncaughtError$3: function(zone, error, stackTrace) { - var implementation, implZone; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - implementation = this._delegationTarget.get$_handleUncaughtError(); - implZone = implementation.zone; - return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, error, stackTrace); + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); }, - $isZoneDelegate: 1 + $isIterator: 1 }; - P._Zone.prototype = {$isZone: 1}; - P._CustomZone.prototype = { - get$_delegate: function() { - var t1 = this._delegateCache; - if (t1 != null) - return t1; - t1 = new P._ZoneDelegate(this); - this._delegateCache = t1; + A._LinkedHashSet.prototype = { + get$iterator(_) { + var _this = this, + t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, _this.$ti._eval$1("_LinkedHashSetIterator<1>")); + t1._collection$_cell = _this._collection$_first; return t1; }, - get$errorZone: function() { - return this._handleUncaughtError.zone; + get$length(_) { + return this._collection$_length; }, - runGuarded$1: function(f) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1}); - try { - this.run$1$1(f, -1); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - this.handleUncaughtError$2(e, s); - } + contains$1(_, object) { + var nums; + if ((object & 1073741823) === object) { + nums = this._collection$_nums; + if (nums == null) + return false; + return type$.nullable__LinkedHashSetCell._as(nums[object]) != null; + } else + return this._contains$1(object); }, - runUnaryGuarded$1$2: function(f, arg, $T) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [$T]}); - H.assertSubtypeOfRuntimeType(arg, $T); - try { - this.runUnary$2$2(f, arg, -1, $T); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - this.handleUncaughtError$2(e, s); - } + _contains$1(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[B.JSInt_methods.get$hashCode(object) & 1073741823], object) >= 0; + }, + add$1(_, element) { + var strings, nums, _this = this; + _this.$ti._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element); + } else + return _this._collection$_add$1(0, element); }, - runBinaryGuarded$2$3: function(f, arg1, arg2, T1, T2) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [T1, T2]}); - H.assertSubtypeOfRuntimeType(arg1, T1); - H.assertSubtypeOfRuntimeType(arg2, T2); - try { - this.runBinary$3$3(f, arg1, arg2, -1, T1, T2); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - this.handleUncaughtError$2(e, s); + _collection$_add$1(_, element) { + var rest, hash, bucket, _this = this; + _this.$ti._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._LinkedHashSet__newHashTable(); + hash = J.get$hashCode$(element) & 1073741823; + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._collection$_newLinkedCell$1(element)]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(_this._collection$_newLinkedCell$1(element)); } + return true; }, - bindCallback$1$1: function(f, $R) { - return new P._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(H.functionTypeCheck(f, {func: 1, ret: $R}), $R), $R); - }, - bindUnaryCallback$2$1: function(f, $R, $T) { - return new P._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}), $R, $T), $T, $R); - }, - bindCallbackGuarded$1: function(f) { - return new P._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(H.functionTypeCheck(f, {func: 1, ret: -1}), -1)); - }, - bindUnaryCallbackGuarded$1$1: function(f, $T) { - return new P._CustomZone_bindUnaryCallbackGuarded_closure(this, this.registerUnaryCallback$2$1(H.functionTypeCheck(f, {func: 1, ret: -1, args: [$T]}), -1, $T), $T); + remove$1(_, object) { + var _this = this; + if (typeof object == "string" && object !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); + else if (typeof object == "number" && (object & 1073741823) === object) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + else + return _this._remove$1(0, object); }, - $index: function(_, key) { - var t1, result, value; - t1 = this._async$_map; - result = t1.$index(0, key); - if (result != null || t1.containsKey$1(key)) - return result; - value = this.parent.$index(0, key); - if (value != null) - t1.$indexSet(0, key, value); - return value; + _remove$1(_, object) { + var hash, bucket, index, cell, + rest = this._collection$_rest; + if (rest == null) + return false; + hash = J.get$hashCode$(object) & 1073741823; + bucket = rest[hash]; + index = this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + cell = bucket.splice(index, 1)[0]; + if (0 === bucket.length) + delete rest[hash]; + this._collection$_unlinkCell$1(cell); + return true; }, - handleUncaughtError$2: function(error, stackTrace) { - var implementation, t1, parentDelegate; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - implementation = this._handleUncaughtError; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return implementation.$function.call$5(t1, parentDelegate, this, error, stackTrace); + _collection$_addHashTableEntry$2(table, element) { + this.$ti._precomputed1._as(element); + if (type$.nullable__LinkedHashSetCell._as(table[element]) != null) + return false; + table[element] = this._collection$_newLinkedCell$1(element); + return true; }, - fork$2$specification$zoneValues: function(specification, zoneValues) { - var implementation, t1, parentDelegate; - implementation = this._fork; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return implementation.$function.call$5(t1, parentDelegate, this, specification, zoneValues); + _collection$_removeHashTableEntry$2(table, element) { + var cell; + if (table == null) + return false; + cell = type$.nullable__LinkedHashSetCell._as(table[element]); + if (cell == null) + return false; + this._collection$_unlinkCell$1(cell); + delete table[element]; + return true; }, - run$1$1: function(f, $R) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(f, {func: 1, ret: $R}); - implementation = this._run; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0}]}).call$1$4(t1, parentDelegate, this, f, $R); + _collection$_modified$0() { + this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; }, - runUnary$2$2: function(f, arg, $R, $T) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}); - H.assertSubtypeOfRuntimeType(arg, $T); - implementation = this._runUnary; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object, P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1]}, 1]}).call$2$5(t1, parentDelegate, this, f, arg, $R, $T); - }, - runBinary$3$3: function(f, arg1, arg2, $R, T1, T2) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(f, {func: 1, ret: $R, args: [T1, T2]}); - H.assertSubtypeOfRuntimeType(arg1, T1); - H.assertSubtypeOfRuntimeType(arg2, T2); - implementation = this._runBinary; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object, P.Object, P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1, 2]}, 1, 2]}).call$3$6(t1, parentDelegate, this, f, arg1, arg2, $R, T1, T2); + _collection$_newLinkedCell$1(element) { + var t1, _this = this, + cell = new A._LinkedHashSetCell(_this.$ti._precomputed1._as(element)); + if (_this._collection$_first == null) + _this._collection$_first = _this._collection$_last = cell; + else { + t1 = _this._collection$_last; + t1.toString; + cell._collection$_previous = t1; + _this._collection$_last = t1._collection$_next = cell; + } + ++_this._collection$_length; + _this._collection$_modified$0(); + return cell; }, - registerCallback$1$1: function(callback, $R) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(callback, {func: 1, ret: $R}); - implementation = this._registerCallback; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object], ret: {func: 1, ret: 0}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0}]}).call$1$4(t1, parentDelegate, this, callback, $R); + _collection$_unlinkCell$1(cell) { + var _this = this, + previous = cell._collection$_previous, + next = cell._collection$_next; + if (previous == null) + _this._collection$_first = next; + else + previous._collection$_next = next; + if (next == null) + _this._collection$_last = previous; + else + next._collection$_previous = previous; + --_this._collection$_length; + _this._collection$_modified$0(); }, - registerUnaryCallback$2$1: function(callback, $R, $T) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(callback, {func: 1, ret: $R, args: [$T]}); - implementation = this._registerUnaryCallback; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object, P.Object], ret: {func: 1, ret: 0, args: [1]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1]}]}).call$2$4(t1, parentDelegate, this, callback, $R, $T); + _findBucketIndex$2(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i]._element, element)) + return i; + return -1; + } + }; + A._LinkedHashSetCell.prototype = {}; + A._LinkedHashSetIterator.prototype = { + get$current(_) { + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + cell = _this._collection$_cell, + t1 = _this._set; + if (_this._collection$_modifications !== t1._collection$_modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (cell == null) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(_this.$ti._eval$1("1?")._as(cell._element)); + _this._collection$_cell = cell._collection$_next; + return true; + } }, - registerBinaryCallback$3$1: function(callback, $R, T1, T2) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(callback, {func: 1, ret: $R, args: [T1, T2]}); - implementation = this._registerBinaryCallback; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return H.functionTypeCheck(implementation.$function, {func: 1, bounds: [P.Object, P.Object, P.Object], ret: {func: 1, ret: 0, args: [1, 2]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1, 2]}]}).call$3$4(t1, parentDelegate, this, callback, $R, T1, T2); + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); }, - errorCallback$2: function(error, stackTrace) { - var implementation, implementationZone, parentDelegate; - implementation = this._errorCallback; - implementationZone = implementation.zone; - if (implementationZone === C.C__RootZone) - return; - parentDelegate = P._parentDelegate(implementationZone); - return implementation.$function.call$5(implementationZone, parentDelegate, this, error, stackTrace); + $isIterator: 1 + }; + A.IterableBase.prototype = {}; + A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; + A.ListMixin.prototype = { + get$iterator(receiver) { + return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); }, - scheduleMicrotask$1: function(f) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(f, {func: 1, ret: -1}); - implementation = this._scheduleMicrotask; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return implementation.$function.call$4(t1, parentDelegate, this, f); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - createPeriodicTimer$2: function(duration, f) { - var implementation, t1, parentDelegate; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [P.Timer]}); - implementation = this._createPeriodicTimer; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return implementation.$function.call$5(t1, parentDelegate, this, duration, f); + get$isNotEmpty(receiver) { + return this.get$length(receiver) !== 0; }, - print$1: function(_, line) { - var implementation, t1, parentDelegate; - implementation = this._print; - t1 = implementation.zone; - parentDelegate = P._parentDelegate(t1); - return implementation.$function.call$4(t1, parentDelegate, this, line); + map$1$1(receiver, f, $T) { + var t1 = A.instanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - set$_run: function(_run) { - this._run = H.assertSubtype(_run, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + fillRange$3(receiver, start, end, fill) { + var i; + A.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + A.RangeError_checkValidRange(start, end, this.get$length(receiver)); + for (i = start; i < end; ++i) + this.$indexSet(receiver, i, fill); }, - set$_runUnary: function(_runUnary) { - this._runUnary = H.assertSubtype(_runUnary, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + toString$0(receiver) { + return A.IterableBase_iterableToFullString(receiver, "[", "]"); + } + }; + A.MapBase.prototype = {}; + A.MapBase_mapToString_closure.prototype = { + call$2(k, v) { + var t2, + t1 = this._box_0; + if (!t1.first) + this.result._contents += ", "; + t1.first = false; + t1 = this.result; + t2 = t1._contents += A.S(k); + t1._contents = t2 + ": "; + t1._contents += A.S(v); }, - set$_runBinary: function(_runBinary) { - this._runBinary = H.assertSubtype(_runBinary, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + $signature: 21 + }; + A.MapMixin.prototype = { + forEach$1(receiver, action) { + var t2, key, t3, + t1 = A.instanceType(receiver); + t1._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { + key = t2.get$current(t2); + t3 = this.$index(receiver, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); + } }, - set$_registerCallback: function(_registerCallback) { - this._registerCallback = H.assertSubtype(_registerCallback, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + get$length(receiver) { + return J.get$length$asx(this.get$keys(receiver)); }, - set$_registerUnaryCallback: function(_registerUnaryCallback) { - this._registerUnaryCallback = H.assertSubtype(_registerUnaryCallback, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + get$isEmpty(receiver) { + return J.get$isEmpty$asx(this.get$keys(receiver)); }, - set$_registerBinaryCallback: function(_registerBinaryCallback) { - this._registerBinaryCallback = H.assertSubtype(_registerBinaryCallback, "$is_ZoneFunction", [P.Function], "$as_ZoneFunction"); + toString$0(receiver) { + return A.MapBase_mapToString(receiver); }, - set$_errorCallback: function(_errorCallback) { - this._errorCallback = H.assertSubtype(_errorCallback, "$is_ZoneFunction", [{func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}], "$as_ZoneFunction"); + $isMap: 1 + }; + A._UnmodifiableMapMixin.prototype = { + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); + } + }; + A.MapView.prototype = { + $index(_, key) { + return J.$index$asx(this._collection$_map, key); }, - set$_scheduleMicrotask: function(_scheduleMicrotask) { - this._scheduleMicrotask = H.assertSubtype(_scheduleMicrotask, "$is_ZoneFunction", [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: -1}]}], "$as_ZoneFunction"); + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - set$_createTimer: function(_createTimer) { - this._createTimer = H.assertSubtype(_createTimer, "$is_ZoneFunction", [{func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1}]}], "$as_ZoneFunction"); + forEach$1(_, action) { + J.forEach$1$x(this._collection$_map, A._instanceType(this)._eval$1("~(1,2)")._as(action)); }, - set$_createPeriodicTimer: function(_createPeriodicTimer) { - this._createPeriodicTimer = H.assertSubtype(_createPeriodicTimer, "$is_ZoneFunction", [{func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1, args: [P.Timer]}]}], "$as_ZoneFunction"); + get$isEmpty(_) { + return J.get$isEmpty$asx(this._collection$_map); }, - set$_print: function(_print) { - this._print = H.assertSubtype(_print, "$is_ZoneFunction", [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}], "$as_ZoneFunction"); + get$length(_) { + return J.get$length$asx(this._collection$_map); }, - set$_fork: function(_fork) { - this._fork = H.assertSubtype(_fork, "$is_ZoneFunction", [{func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, [P.Map,,,]]}], "$as_ZoneFunction"); + get$keys(_) { + return J.get$keys$x(this._collection$_map); }, - set$_handleUncaughtError: function(_handleUncaughtError) { - this._handleUncaughtError = H.assertSubtype(_handleUncaughtError, "$is_ZoneFunction", [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}], "$as_ZoneFunction"); + toString$0(_) { + return J.toString$0$(this._collection$_map); }, - get$_run: function() { - return this._run; + $isMap: 1 + }; + A.UnmodifiableMapView.prototype = {}; + A.SetMixin.prototype = { + map$1$1(_, f, $T) { + var t1 = this.$ti; + return new A.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - get$_runUnary: function() { - return this._runUnary; + toString$0(_) { + return A.IterableBase_iterableToFullString(this, "{", "}"); + } + }; + A._SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1}; + A._ListBase_Object_ListMixin.prototype = {}; + A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; + A.__SetBase_Object_SetMixin.prototype = {}; + A._JsonMap.prototype = { + $index(_, key) { + var result, + t1 = this._processed; + if (t1 == null) + return this._data.$index(0, key); + else if (typeof key != "string") + return null; + else { + result = t1[key]; + return typeof result == "undefined" ? this._process$1(key) : result; + } }, - get$_runBinary: function() { - return this._runBinary; + get$length(_) { + return this._processed == null ? this._data._length : this._convert$_computeKeys$0().length; }, - get$_registerCallback: function() { - return this._registerCallback; + get$isEmpty(_) { + return this.get$length(this) === 0; }, - get$_registerUnaryCallback: function() { - return this._registerUnaryCallback; + get$keys(_) { + var t1; + if (this._processed == null) { + t1 = this._data; + return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); + } + return new A._JsonMapKeyIterable(this); }, - get$_registerBinaryCallback: function() { - return this._registerBinaryCallback; + $indexSet(_, key, value) { + var processed, original, _this = this; + if (_this._processed == null) + _this._data.$indexSet(0, key, value); + else if (_this.containsKey$1(0, key)) { + processed = _this._processed; + processed[key] = value; + original = _this._original; + if (original == null ? processed != null : original !== processed) + original[key] = null; + } else + _this._upgrade$0().$indexSet(0, key, value); }, - get$_errorCallback: function() { - return this._errorCallback; + containsKey$1(_, key) { + if (this._processed == null) + return this._data.containsKey$1(0, key); + return Object.prototype.hasOwnProperty.call(this._original, key); }, - get$_scheduleMicrotask: function() { - return this._scheduleMicrotask; + forEach$1(_, f) { + var keys, i, key, value, _this = this; + type$.void_Function_String_dynamic._as(f); + if (_this._processed == null) + return _this._data.forEach$1(0, f); + keys = _this._convert$_computeKeys$0(); + for (i = 0; i < keys.length; ++i) { + key = keys[i]; + value = _this._processed[key]; + if (typeof value == "undefined") { + value = A._convertJsonToDartLazy(_this._original[key]); + _this._processed[key] = value; + } + f.call$2(key, value); + if (keys !== _this._data) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } }, - get$_createTimer: function() { - return this._createTimer; + _convert$_computeKeys$0() { + var keys = type$.nullable_List_dynamic._as(this._data); + if (keys == null) + keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String); + return keys; }, - get$_createPeriodicTimer: function() { - return this._createPeriodicTimer; + _upgrade$0() { + var result, keys, i, t1, key, _this = this; + if (_this._processed == null) + return _this._data; + result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = _this._convert$_computeKeys$0(); + for (i = 0; t1 = keys.length, i < t1; ++i) { + key = keys[i]; + result.$indexSet(0, key, _this.$index(0, key)); + } + if (t1 === 0) + B.JSArray_methods.add$1(keys, ""); + else + B.JSArray_methods.clear$0(keys); + _this._original = _this._processed = null; + return _this._data = result; }, - get$_print: function() { - return this._print; + _process$1(key) { + var result; + if (!Object.prototype.hasOwnProperty.call(this._original, key)) + return null; + result = A._convertJsonToDartLazy(this._original[key]); + return this._processed[key] = result; + } + }; + A._JsonMapKeyIterable.prototype = { + get$length(_) { + var t1 = this._convert$_parent; + return t1.get$length(t1); }, - get$_fork: function() { - return this._fork; + elementAt$1(_, index) { + var t1 = this._convert$_parent; + if (t1._processed == null) + t1 = t1.get$keys(t1).elementAt$1(0, index); + else { + t1 = t1._convert$_computeKeys$0(); + if (!(index >= 0 && index < t1.length)) + return A.ioore(t1, index); + t1 = t1[index]; + } + return t1; }, - get$_handleUncaughtError: function() { - return this._handleUncaughtError; + get$iterator(_) { + var t1 = this._convert$_parent; + if (t1._processed == null) { + t1 = t1.get$keys(t1); + t1 = t1.get$iterator(t1); + } else { + t1 = t1._convert$_computeKeys$0(); + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + return t1; + } + }; + A.Utf8Decoder__decoder_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: true}); + return t1; + } catch (exception) { + } + return null; }, - get$parent: function(receiver) { - return this.parent; + $signature: 19 + }; + A.Utf8Decoder__decoderNonfatal_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: false}); + return t1; + } catch (exception) { + } + return null; }, - get$_async$_map: function() { - return this._async$_map; + $signature: 19 + }; + A.AsciiCodec.prototype = { + encode$1(source) { + return B.AsciiEncoder_127.convert$1(source); } }; - P._CustomZone_bindCallback_closure.prototype = { - call$0: function() { - return this.$this.run$1$1(this.registered, this.R); - }, - $signature: function() { - return {func: 1, ret: this.R}; + A._UnicodeSubsetEncoder.prototype = { + convert$1(string) { + var $length, result, t1, i, codeUnit; + A._asString(string); + $length = A.RangeError_checkValidRange(0, null, string.length) - 0; + result = new Uint8Array($length); + for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) { + codeUnit = B.JSString_methods._codeUnitAt$1(string, i); + if ((codeUnit & t1) !== 0) + throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); + if (!(i < $length)) + return A.ioore(result, i); + result[i] = codeUnit; + } + return result; + } + }; + A.AsciiEncoder.prototype = {}; + A.Base64Codec.prototype = { + normalize$3(_, source, start, end) { + var inverseAlphabet, t1, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t2, t3, endLength, $length, + _s31_ = "Invalid base64 encoding length "; + end = A.RangeError_checkValidRange(start, end, source.length); + inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); + for (t1 = inverseAlphabet.length, i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + i0 = i + 1; + char = B.JSString_methods._codeUnitAt$1(source, i); + if (char === 37) { + i1 = i0 + 2; + if (i1 <= end) { + digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0)); + digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1)); + char0 = digit1 * 16 + digit2 - (digit2 & 256); + if (char0 === 37) + char0 = -1; + i0 = i1; + } else + char0 = -1; + } else + char0 = char; + if (0 <= char0 && char0 <= 127) { + if (!(char0 >= 0 && char0 < t1)) + return A.ioore(inverseAlphabet, char0); + value = inverseAlphabet[char0]; + if (value >= 0) { + char0 = B.JSString_methods.codeUnitAt$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", value); + if (char0 === char) + continue; + char = char0; + } else { + if (value === -1) { + if (firstPadding < 0) { + t2 = buffer == null ? null : buffer._contents.length; + if (t2 == null) + t2 = 0; + firstPadding = t2 + (i - sliceStart); + firstPaddingSourceIndex = i; + } + ++paddingCount; + if (char === 61) + continue; + } + char = char0; + } + if (value !== -2) { + if (buffer == null) { + buffer = new A.StringBuffer(""); + t2 = buffer; + } else + t2 = buffer; + t3 = t2._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t2._contents = t3 + A.Primitives_stringFromCharCode(char); + sliceStart = i0; + continue; + } + } + throw A.wrapException(A.FormatException$("Invalid base64 data", source, i)); + } + if (buffer != null) { + t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end); + t2 = t1.length; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); + else { + endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1; + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + for (; endLength < 4;) { + t1 += "="; + buffer._contents = t1; + ++endLength; + } + } + t1 = buffer._contents; + return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); + } + $length = end - start; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); + else { + endLength = B.JSInt_methods.$mod($length, 4); + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + if (endLength > 1) + source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); + } + return source; } }; - P._CustomZone_bindUnaryCallback_closure.prototype = { - call$1: function(arg) { - var t1 = this.T; - return this.$this.runUnary$2$2(this.registered, H.assertSubtypeOfRuntimeType(arg, t1), this.R, t1); - }, - $signature: function() { - return {func: 1, ret: this.R, args: [this.T]}; + A.Base64Encoder.prototype = {}; + A.Codec.prototype = {}; + A._FusedCodec.prototype = {}; + A.Converter.prototype = {}; + A.Encoding.prototype = {}; + A.JsonUnsupportedObjectError.prototype = { + toString$0(_) { + var safeString = A.Error_safeToString(this.unsupportedObject); + return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; } }; - P._CustomZone_bindCallbackGuarded_closure.prototype = { - call$0: function() { - return this.$this.runGuarded$1(this.registered); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 - }; - P._CustomZone_bindUnaryCallbackGuarded_closure.prototype = { - call$1: function(arg) { - var t1 = this.T; - return this.$this.runUnaryGuarded$1$2(this.registered, H.assertSubtypeOfRuntimeType(arg, t1), t1); - }, - $signature: function() { - return {func: 1, ret: -1, args: [this.T]}; + A.JsonCyclicError.prototype = { + toString$0(_) { + return "Cyclic error in JSON stringify"; } }; - P._rootHandleUncaughtError_closure.prototype = { - call$0: function() { - var t1, t2, error; - t1 = this._box_0; - t2 = t1.error; - if (t2 == null) { - error = new P.NullThrownError(); - t1.error = error; - t1 = error; - } else - t1 = t2; - t2 = this.stackTrace; - if (t2 == null) - throw H.wrapException(t1); - error = H.wrapException(t1); - error.stack = t2.toString$0(0); - throw error; - }, - $signature: 0 - }; - P._RootZone.prototype = { - get$_run: function() { - return C._ZoneFunction__RootZone__rootRun; - }, - get$_runUnary: function() { - return C._ZoneFunction__RootZone__rootRunUnary; - }, - get$_runBinary: function() { - return C._ZoneFunction__RootZone__rootRunBinary; - }, - get$_registerCallback: function() { - return C._ZoneFunction__RootZone__rootRegisterCallback; - }, - get$_registerUnaryCallback: function() { - return C._ZoneFunction_Eeh; - }, - get$_registerBinaryCallback: function() { - return C._ZoneFunction_7G2; - }, - get$_errorCallback: function() { - return C._ZoneFunction__RootZone__rootErrorCallback; - }, - get$_scheduleMicrotask: function() { - return C._ZoneFunction__RootZone__rootScheduleMicrotask; - }, - get$_createTimer: function() { - return C._ZoneFunction__RootZone__rootCreateTimer; - }, - get$_createPeriodicTimer: function() { - return C._ZoneFunction_3bB; - }, - get$_print: function() { - return C._ZoneFunction__RootZone__rootPrint; - }, - get$_fork: function() { - return C._ZoneFunction__RootZone__rootFork; - }, - get$_handleUncaughtError: function() { - return C._ZoneFunction_NMc; - }, - get$parent: function(_) { - return; - }, - get$_async$_map: function() { - return $.$get$_RootZone__rootMap(); + A.JsonCodec.prototype = { + decode$2$reviver(_, source, reviver) { + var t1; + type$.nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object._as(reviver); + t1 = A._parseJson(source, this.get$decoder()._reviver); + return t1; }, - get$_delegate: function() { - var t1 = $._RootZone__rootDelegate; - if (t1 != null) - return t1; - t1 = new P._ZoneDelegate(this); - $._RootZone__rootDelegate = t1; + encode$2$toEncodable(value, toEncodable) { + var t1; + type$.nullable_nullable_Object_Function_dynamic._as(toEncodable); + t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null); return t1; }, - get$errorZone: function() { - return this; + get$encoder() { + return B.JsonEncoder_null; }, - runGuarded$1: function(f) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1}); - try { - if (C.C__RootZone === $.Zone__current) { - f.call$0(); - return; + get$decoder() { + return B.JsonDecoder_null; + } + }; + A.JsonEncoder.prototype = {}; + A.JsonDecoder.prototype = {}; + A._JsonStringifier.prototype = { + writeStringContent$1(s) { + var offset, i, charCode, t1, t2, _this = this, + $length = s.length; + for (offset = 0, i = 0; i < $length; ++i) { + charCode = B.JSString_methods._codeUnitAt$1(s, i); + if (charCode > 92) { + if (charCode >= 55296) { + t1 = charCode & 64512; + if (t1 === 55296) { + t2 = i + 1; + t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320); + } else + t2 = false; + if (!t2) + if (t1 === 56320) { + t1 = i - 1; + t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296); + } else + t1 = false; + else + t1 = true; + if (t1) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + _this.writeCharCode$1(117); + _this.writeCharCode$1(100); + t1 = charCode >>> 8 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode >>> 4 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + switch (charCode) { + case 8: + _this.writeCharCode$1(98); + break; + case 9: + _this.writeCharCode$1(116); + break; + case 10: + _this.writeCharCode$1(110); + break; + case 12: + _this.writeCharCode$1(102); + break; + case 13: + _this.writeCharCode$1(114); + break; + default: + _this.writeCharCode$1(117); + _this.writeCharCode$1(48); + _this.writeCharCode$1(48); + t1 = charCode >>> 4 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + break; + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + _this.writeCharCode$1(charCode); } - P._rootRun(null, null, this, f, -1); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(null, null, this, e, H.interceptedTypeCheck(s, "$isStackTrace")); } + if (offset === 0) + _this.writeString$1(s); + else if (offset < $length) + _this.writeStringSlice$3(s, offset, $length); }, - runUnaryGuarded$1$2: function(f, arg, $T) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [$T]}); - H.assertSubtypeOfRuntimeType(arg, $T); - try { - if (C.C__RootZone === $.Zone__current) { - f.call$1(arg); - return; - } - P._rootRunUnary(null, null, this, f, arg, -1, $T); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(null, null, this, e, H.interceptedTypeCheck(s, "$isStackTrace")); + _checkCycle$1(object) { + var t1, t2, i, t3; + for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { + t3 = t1[i]; + if (object == null ? t3 == null : object === t3) + throw A.wrapException(new A.JsonCyclicError(object, null)); } + B.JSArray_methods.add$1(t1, object); }, - runBinaryGuarded$2$3: function(f, arg1, arg2, T1, T2) { - var e, s, exception; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [T1, T2]}); - H.assertSubtypeOfRuntimeType(arg1, T1); - H.assertSubtypeOfRuntimeType(arg2, T2); + writeObject$1(object) { + var customJson, e, t1, exception, _this = this; + if (_this.writeJsonValue$1(object)) + return; + _this._checkCycle$1(object); try { - if (C.C__RootZone === $.Zone__current) { - f.call$2(arg1, arg2); - return; + customJson = _this._toEncodable.call$1(object); + if (!_this.writeJsonValue$1(customJson)) { + t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); + throw A.wrapException(t1); } - P._rootRunBinary(null, null, this, f, arg1, arg2, -1, T1, T2); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - P._rootHandleUncaughtError(null, null, this, e, H.interceptedTypeCheck(s, "$isStackTrace")); + e = A.unwrapException(exception); + t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); + throw A.wrapException(t1); } }, - bindCallback$1$1: function(f, $R) { - return new P._RootZone_bindCallback_closure(this, H.functionTypeCheck(f, {func: 1, ret: $R}), $R); - }, - bindCallbackGuarded$1: function(f) { - return new P._RootZone_bindCallbackGuarded_closure(this, H.functionTypeCheck(f, {func: 1, ret: -1})); - }, - bindUnaryCallbackGuarded$1$1: function(f, $T) { - return new P._RootZone_bindUnaryCallbackGuarded_closure(this, H.functionTypeCheck(f, {func: 1, ret: -1, args: [$T]}), $T); - }, - $index: function(_, key) { - return; - }, - handleUncaughtError$2: function(error, stackTrace) { - P._rootHandleUncaughtError(null, null, this, error, H.interceptedTypeCheck(stackTrace, "$isStackTrace")); - }, - fork$2$specification$zoneValues: function(specification, zoneValues) { - return P._rootFork(null, null, this, specification, zoneValues); - }, - run$1$1: function(f, $R) { - H.functionTypeCheck(f, {func: 1, ret: $R}); - if ($.Zone__current === C.C__RootZone) - return f.call$0(); - return P._rootRun(null, null, this, f, $R); - }, - runUnary$2$2: function(f, arg, $R, $T) { - H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}); - H.assertSubtypeOfRuntimeType(arg, $T); - if ($.Zone__current === C.C__RootZone) - return f.call$1(arg); - return P._rootRunUnary(null, null, this, f, arg, $R, $T); - }, - runBinary$3$3: function(f, arg1, arg2, $R, T1, T2) { - H.functionTypeCheck(f, {func: 1, ret: $R, args: [T1, T2]}); - H.assertSubtypeOfRuntimeType(arg1, T1); - H.assertSubtypeOfRuntimeType(arg2, T2); - if ($.Zone__current === C.C__RootZone) - return f.call$2(arg1, arg2); - return P._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); - }, - registerCallback$1$1: function(f, $R) { - return H.functionTypeCheck(f, {func: 1, ret: $R}); + writeJsonValue$1(object) { + var t1, success, _this = this; + if (typeof object == "number") { + if (!isFinite(object)) + return false; + _this.writeNumber$1(object); + return true; + } else if (object === true) { + _this.writeString$1("true"); + return true; + } else if (object === false) { + _this.writeString$1("false"); + return true; + } else if (object == null) { + _this.writeString$1("null"); + return true; + } else if (typeof object == "string") { + _this.writeString$1('"'); + _this.writeStringContent$1(object); + _this.writeString$1('"'); + return true; + } else if (type$.List_dynamic._is(object)) { + _this._checkCycle$1(object); + _this.writeList$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return true; + } else if (type$.Map_dynamic_dynamic._is(object)) { + _this._checkCycle$1(object); + success = _this.writeMap$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return success; + } else + return false; }, - registerUnaryCallback$2$1: function(f, $R, $T) { - return H.functionTypeCheck(f, {func: 1, ret: $R, args: [$T]}); + writeList$1(list) { + var t1, i, _this = this; + _this.writeString$1("["); + t1 = J.getInterceptor$asx(list); + if (t1.get$isNotEmpty(list)) { + _this.writeObject$1(t1.$index(list, 0)); + for (i = 1; i < t1.get$length(list); ++i) { + _this.writeString$1(","); + _this.writeObject$1(t1.$index(list, i)); + } + } + _this.writeString$1("]"); }, - registerBinaryCallback$3$1: function(f, $R, T1, T2) { - return H.functionTypeCheck(f, {func: 1, ret: $R, args: [T1, T2]}); + writeMap$1(map) { + var t2, keyValueList, i, separator, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this.writeString$1("{}"); + return true; + } + t2 = t1.get$length(map) * 2; + keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) + return false; + _this.writeString$1("{"); + for (separator = '"'; i < t2; i += 2, separator = ',"') { + _this.writeString$1(separator); + _this.writeStringContent$1(A._asString(keyValueList[i])); + _this.writeString$1('":'); + t1 = i + 1; + if (!(t1 < t2)) + return A.ioore(keyValueList, t1); + _this.writeObject$1(keyValueList[t1]); + } + _this.writeString$1("}"); + return true; + } + }; + A._JsonStringifier_writeMap_closure.prototype = { + call$2(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + B.JSArray_methods.$indexSet(t1, t2.i++, key); + B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - errorCallback$2: function(error, stackTrace) { - return; + $signature: 21 + }; + A._JsonStringStringifier.prototype = { + get$_partialResult() { + var t1 = this._sink; + return t1 instanceof A.StringBuffer ? t1.toString$0(0) : null; }, - scheduleMicrotask$1: function(f) { - P._rootScheduleMicrotask(null, null, this, H.functionTypeCheck(f, {func: 1, ret: -1})); + writeNumber$1(number) { + this._sink.write$1(0, B.JSNumber_methods.toString$0(number)); }, - createPeriodicTimer$2: function(duration, f) { - return P.Timer__createPeriodicTimer(duration, H.functionTypeCheck(f, {func: 1, ret: -1, args: [P.Timer]})); + writeString$1(string) { + this._sink.write$1(0, string); }, - print$1: function(_, line) { - H.printString(line); - } - }; - P._RootZone_bindCallback_closure.prototype = { - call$0: function() { - return this.$this.run$1$1(this.f, this.R); + writeStringSlice$3(string, start, end) { + this._sink.write$1(0, B.JSString_methods.substring$2(string, start, end)); }, - $signature: function() { - return {func: 1, ret: this.R}; + writeCharCode$1(charCode) { + this._sink.writeCharCode$1(charCode); } }; - P._RootZone_bindCallbackGuarded_closure.prototype = { - call$0: function() { - return this.$this.runGuarded$1(this.f); - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 - }; - P._RootZone_bindUnaryCallbackGuarded_closure.prototype = { - call$1: function(arg) { - var t1 = this.T; - return this.$this.runUnaryGuarded$1$2(this.f, H.assertSubtypeOfRuntimeType(arg, t1), t1); - }, - $signature: function() { - return {func: 1, ret: -1, args: [this.T]}; + A.Utf8Codec.prototype = { + get$encoder() { + return B.C_Utf8Encoder; } }; - P.runZoned_closure.prototype = { - call$5: function($self, $parent, zone, error, stackTrace) { - var e, s, t1, t2, t3, exception; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - try { - t1 = this._box_0; - t2 = -1; - t3 = P.Object; - if (t1.binaryOnError != null) - $self.get$parent($self).runBinary$3$3(t1.binaryOnError, error, stackTrace, t2, t3, P.StackTrace); - else - $self.get$parent($self).runUnary$2$2(t1.unaryOnError, error, t2, t3); - } catch (exception) { - e = H.unwrapException(exception); - s = H.getTraceFromException(exception); - t1 = e; - if (t1 == null ? error == null : t1 === error) - $parent.handleUncaughtError$3(zone, error, stackTrace); - else - $parent.handleUncaughtError$3(zone, e, s); + A.Utf8Encoder.prototype = { + convert$1(string) { + var end, $length, t1, encoder; + A._asString(string); + end = A.RangeError_checkValidRange(0, null, string.length); + $length = end - 0; + if ($length === 0) + return new Uint8Array(0); + t1 = new Uint8Array($length * 3); + encoder = new A._Utf8Encoder(t1); + if (encoder._fillBuffer$3(string, 0, end) !== end) { + B.JSString_methods.codeUnitAt$1(string, end - 1); + encoder._writeReplacementCharacter$0(); } - }, - $signature: 32 + return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); + } }; - P._HashMap.prototype = { - get$length: function(_) { - return this._collection$_length; - }, - get$isEmpty: function(_) { - return this._collection$_length === 0; - }, - get$keys: function() { - return new P._HashMapKeyIterable(this, [H.getTypeArgumentByIndex(this, 0)]); - }, - containsKey$1: function(key) { - var strings, nums; - if (typeof key === "string" && key !== "__proto__") { - strings = this._collection$_strings; - return strings == null ? false : strings[key] != null; - } else if (typeof key === "number" && (key & 1073741823) === key) { - nums = this._collection$_nums; - return nums == null ? false : nums[key] != null; - } else - return this._containsKey$1(key); - }, - _containsKey$1: function(key) { - var rest = this._collection$_rest; - if (rest == null) + A._Utf8Encoder.prototype = { + _writeReplacementCharacter$0() { + var _this = this, + t1 = _this._buffer, + t2 = _this._bufferIndex, + t3 = _this._bufferIndex = t2 + 1, + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 239; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = 191; + _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 189; + }, + _writeSurrogate$2(leadingSurrogate, nextCodeUnit) { + var rune, t1, t2, t3, t4, _this = this; + if ((nextCodeUnit & 64512) === 56320) { + rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; + t1 = _this._buffer; + t2 = _this._bufferIndex; + t3 = _this._bufferIndex = t2 + 1; + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 18 | 240; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune >>> 12 & 63 | 128; + t3 = _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune & 63 | 128; + return true; + } else { + _this._writeReplacementCharacter$0(); return false; - return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; - }, - $index: function(_, key) { - var strings, t1, nums; - if (typeof key === "string" && key !== "__proto__") { - strings = this._collection$_strings; - t1 = strings == null ? null : P._HashMap__getTableEntry(strings, key); - return t1; - } else if (typeof key === "number" && (key & 1073741823) === key) { - nums = this._collection$_nums; - t1 = nums == null ? null : P._HashMap__getTableEntry(nums, key); - return t1; - } else - return this._get$1(key); - }, - _get$1: function(key) { - var rest, bucket, index; - rest = this._collection$_rest; - if (rest == null) - return; - bucket = this._getBucket$2(rest, key); - index = this._findBucketIndex$2(bucket, key); - return index < 0 ? null : bucket[index + 1]; + } }, - $indexSet: function(_, key, value) { - var strings, nums; - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1)); - if (typeof key === "string" && key !== "__proto__") { - strings = this._collection$_strings; - if (strings == null) { - strings = P._HashMap__newHashTable(); - this._collection$_strings = strings; - } - this._collection$_addHashTableEntry$3(strings, key, value); - } else if (typeof key === "number" && (key & 1073741823) === key) { - nums = this._collection$_nums; - if (nums == null) { - nums = P._HashMap__newHashTable(); - this._collection$_nums = nums; + _fillBuffer$3(str, start, end) { + var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this; + if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296) + --end; + for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { + codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex); + if (codeUnit <= 127) { + t3 = _this._bufferIndex; + if (t3 >= t2) + break; + _this._bufferIndex = t3 + 1; + t1[t3] = codeUnit; + } else { + t3 = codeUnit & 64512; + if (t3 === 55296) { + if (_this._bufferIndex + 4 > t2) + break; + stringIndex0 = stringIndex + 1; + if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0))) + stringIndex = stringIndex0; + } else if (t3 === 56320) { + if (_this._bufferIndex + 3 > t2) + break; + _this._writeReplacementCharacter$0(); + } else if (codeUnit <= 2047) { + t3 = _this._bufferIndex; + t4 = t3 + 1; + if (t4 >= t2) + break; + _this._bufferIndex = t4; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 6 | 192; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit & 63 | 128; + } else { + t3 = _this._bufferIndex; + if (t3 + 2 >= t2) + break; + t4 = _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 12 | 224; + t3 = _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit & 63 | 128; + } } - this._collection$_addHashTableEntry$3(nums, key, value); - } else - this._set$2(key, value); - }, - _set$2: function(key, value) { - var rest, hash, bucket, index; - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1)); - rest = this._collection$_rest; - if (rest == null) { - rest = P._HashMap__newHashTable(); - this._collection$_rest = rest; - } - hash = this._computeHashCode$1(key); - bucket = rest[hash]; - if (bucket == null) { - P._HashMap__setTableEntry(rest, hash, [key, value]); - ++this._collection$_length; - this._collection$_keys = null; + } + return stringIndex; + } + }; + A.Utf8Decoder.prototype = { + convert$1(codeUnits) { + var t1, result; + type$.List_int._as(codeUnits); + t1 = this._allowMalformed; + result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null); + if (result != null) + return result; + return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true); + } + }; + A._Utf8Decoder.prototype = { + convertGeneral$4(codeUnits, start, maybeEnd, single) { + var end, bytes, errorOffset, result, t1, message, _this = this; + type$.List_int._as(codeUnits); + end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits)); + if (start === end) + return ""; + if (type$.Uint8List._is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; } else { - index = this._findBucketIndex$2(bucket, key); - if (index >= 0) - bucket[index + 1] = value; - else { - bucket.push(key, value); - ++this._collection$_length; - this._collection$_keys = null; - } + bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end); + end -= start; + errorOffset = start; + start = 0; } - }, - forEach$1: function(_, action) { - var t1, keys, $length, i, key; - t1 = H.getTypeArgumentByIndex(this, 0); - H.functionTypeCheck(action, {func: 1, ret: -1, args: [t1, H.getTypeArgumentByIndex(this, 1)]}); - keys = this._collection$_computeKeys$0(); - for ($length = keys.length, i = 0; i < $length; ++i) { - key = keys[i]; - action.call$2(H.assertSubtypeOfRuntimeType(key, t1), this.$index(0, key)); - if (keys !== this._collection$_keys) - throw H.wrapException(P.ConcurrentModificationError$(this)); + result = _this._convertRecursive$4(bytes, start, end, single); + t1 = _this._state; + if ((t1 & 1) !== 0) { + message = A._Utf8Decoder_errorDescription(t1); + _this._state = 0; + throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); } + return result; }, - _collection$_computeKeys$0: function() { - var t1, result, strings, names, entries, index, i, nums, rest, bucket, $length, i0; - t1 = this._collection$_keys; - if (t1 != null) - return t1; - result = new Array(this._collection$_length); - result.fixed$length = Array; - strings = this._collection$_strings; - if (strings != null) { - names = Object.getOwnPropertyNames(strings); - entries = names.length; - for (index = 0, i = 0; i < entries; ++i) { - result[index] = names[i]; - ++index; - } - } else - index = 0; - nums = this._collection$_nums; - if (nums != null) { - names = Object.getOwnPropertyNames(nums); - entries = names.length; - for (i = 0; i < entries; ++i) { - result[index] = +names[i]; - ++index; - } - } - rest = this._collection$_rest; - if (rest != null) { - names = Object.getOwnPropertyNames(rest); - entries = names.length; - for (i = 0; i < entries; ++i) { - bucket = rest[names[i]]; - $length = bucket.length; - for (i0 = 0; i0 < $length; i0 += 2) { - result[index] = bucket[i0]; - ++index; + _convertRecursive$4(bytes, start, end, single) { + var mid, s1, _this = this; + if (end - start > 1000) { + mid = B.JSInt_methods._tdivFast$1(start + end, 2); + s1 = _this._convertRecursive$4(bytes, start, mid, false); + if ((_this._state & 1) !== 0) + return s1; + return s1 + _this._convertRecursive$4(bytes, mid, end, single); + } + return _this.decodeGeneral$4(bytes, start, end, single); + }, + decodeGeneral$4(bytes, start, end, single) { + var byte, t2, type, t3, i0, markEnd, i1, m, _this = this, _65533 = 65533, + state = _this._state, + char = _this._charOrIndex, + buffer = new A.StringBuffer(""), + i = start + 1, + t1 = bytes.length; + if (!(start >= 0 && start < t1)) + return A.ioore(bytes, start); + byte = bytes[start]; + $label0$0: + for (t2 = _this.allowMalformed; true;) { + for (; true; i = i0) { + type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; + char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; + state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type); + if (state === 0) { + buffer._contents += A.Primitives_stringFromCharCode(char); + if (i === end) + break $label0$0; + break; + } else if ((state & 1) !== 0) { + if (t2) + switch (state) { + case 69: + case 67: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + break; + case 65: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + --i; + break; + default: + t3 = buffer._contents += A.Primitives_stringFromCharCode(_65533); + buffer._contents = t3 + A.Primitives_stringFromCharCode(_65533); + break; + } + else { + _this._state = state; + _this._charOrIndex = i - 1; + return ""; + } + state = 0; + } + if (i === end) + break $label0$0; + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; } + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + if (byte < 128) { + while (true) { + if (!(i0 < end)) { + markEnd = end; + break; + } + i1 = i0 + 1; + if (!(i0 >= 0 && i0 < t1)) + return A.ioore(bytes, i0); + byte = bytes[i0]; + if (byte >= 128) { + markEnd = i1 - 1; + i0 = i1; + break; + } + i0 = i1; + } + if (markEnd - i < 20) + for (m = i; m < markEnd; ++m) { + if (!(m < t1)) + return A.ioore(bytes, m); + buffer._contents += A.Primitives_stringFromCharCode(bytes[m]); + } + else + buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd); + if (markEnd === end) + break $label0$0; + i = i0; + } else + i = i0; } - } - this._collection$_keys = result; - return result; + if (single && state > 32) + if (t2) + buffer._contents += A.Primitives_stringFromCharCode(_65533); + else { + _this._state = 77; + _this._charOrIndex = end; + return ""; + } + _this._state = state; + _this._charOrIndex = char; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + A.NoSuchMethodError_toString_closure.prototype = { + call$2(key, value) { + var t1, t2, t3; + type$.Symbol._as(key); + t1 = this.sb; + t2 = this._box_0; + t3 = t1._contents += t2.comma; + t3 += key._name; + t1._contents = t3; + t1._contents = t3 + ": "; + t1._contents += A.Error_safeToString(value); + t2.comma = ", "; }, - _collection$_addHashTableEntry$3: function(table, key, value) { - H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)); - H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1)); - if (table[key] == null) { - ++this._collection$_length; - this._collection$_keys = null; - } - P._HashMap__setTableEntry(table, key, value); + $signature: 29 + }; + A.DateTime.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.DateTime && this._value === other._value && true; + }, + get$hashCode(_) { + var t1 = this._value; + return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; + }, + toString$0(_) { + var _this = this, + y = A.DateTime__fourDigits(A.Primitives_getYear(_this)), + m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), + d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), + h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), + min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), + sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), + ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)); + return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; + } + }; + A.Duration.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Duration && this._duration === other._duration; + }, + get$hashCode(_) { + return B.JSInt_methods.get$hashCode(this._duration); + }, + toString$0(_) { + var minutes, minutesPadding, seconds, secondsPadding, + microseconds = this._duration, + hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000); + microseconds %= 3600000000; + minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000); + microseconds %= 60000000; + minutesPadding = minutes < 10 ? "0" : ""; + seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); + secondsPadding = seconds < 10 ? "0" : ""; + return "" + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); + } + }; + A.Error.prototype = { + get$stackTrace() { + return A.getTraceFromException(this.$thrownJsError); + } + }; + A.AssertionError.prototype = { + toString$0(_) { + var t1 = this.message; + if (t1 != null) + return "Assertion failed: " + A.Error_safeToString(t1); + return "Assertion failed"; + } + }; + A.TypeError.prototype = {}; + A.NullThrownError.prototype = { + toString$0(_) { + return "Throw of null."; + } + }; + A.ArgumentError.prototype = { + get$_errorName() { + return "Invalid argument" + (!this._hasValue ? "(s)" : ""); }, - _computeHashCode$1: function(key) { - return J.get$hashCode$(key) & 1073741823; + get$_errorExplanation() { + return ""; }, - _getBucket$2: function(table, key) { - return table[this._computeHashCode$1(key)]; + toString$0(_) { + var _this = this, + $name = _this.name, + nameString = $name == null ? "" : " (" + $name + ")", + message = _this.message, + messageString = message == null ? "" : ": " + A.S(message), + prefix = _this.get$_errorName() + nameString + messageString; + if (!_this._hasValue) + return prefix; + return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue); + } + }; + A.RangeError.prototype = { + get$_errorName() { + return "RangeError"; }, - _findBucketIndex$2: function(bucket, key) { - var $length, i; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; i += 2) - if (J.$eq$(bucket[i], key)) - return i; - return -1; + get$_errorExplanation() { + var explanation, + start = this.start, + end = this.end; + if (start == null) + explanation = end != null ? ": Not less than or equal to " + A.S(end) : ""; + else if (end == null) + explanation = ": Not greater than or equal to " + A.S(start); + else if (end > start) + explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end); + else + explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start); + return explanation; } }; - P._HashMapKeyIterable.prototype = { - get$length: function(_) { - return this._map._collection$_length; + A.IndexError.prototype = { + get$_errorName() { + return "RangeError"; }, - get$isEmpty: function(_) { - return this._map._collection$_length === 0; + get$_errorExplanation() { + if (A._asInt(this.invalidValue) < 0) + return ": index must not be negative"; + var t1 = this.length; + if (t1 === 0) + return ": no indices are valid"; + return ": index should be less than " + t1; }, - get$iterator: function(_) { - var t1 = this._map; - return new P._HashMapKeyIterator(t1, t1._collection$_computeKeys$0(), this.$ti); + get$length(receiver) { + return this.length; } }; - P._HashMapKeyIterator.prototype = { - get$current: function() { - return this._collection$_current; - }, - moveNext$0: function() { - var keys, offset, t1; - keys = this._collection$_keys; - offset = this._offset; - t1 = this._map; - if (keys !== t1._collection$_keys) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else if (offset >= keys.length) { - this.set$_collection$_current(null); - return false; - } else { - this.set$_collection$_current(keys[offset]); - this._offset = offset + 1; - return true; + A.NoSuchMethodError.prototype = { + toString$0(_) { + var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {}, + sb = new A.StringBuffer(""); + _box_0.comma = ""; + $arguments = _this._core$_arguments; + for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { + argument = $arguments[_i]; + sb._contents = t2 + t3; + t2 = sb._contents += A.Error_safeToString(argument); + _box_0.comma = ", "; } + _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); + receiverText = A.Error_safeToString(_this._core$_receiver); + actualParameters = sb.toString$0(0); + return "NoSuchMethodError: method not found: '" + _this._core$_memberName._name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; + } + }; + A.UnsupportedError.prototype = { + toString$0(_) { + return "Unsupported operation: " + this.message; + } + }; + A.UnimplementedError.prototype = { + toString$0(_) { + return "UnimplementedError: " + this.message; + } + }; + A.StateError.prototype = { + toString$0(_) { + return "Bad state: " + this.message; + } + }; + A.ConcurrentModificationError.prototype = { + toString$0(_) { + var t1 = this.modifiedObject; + if (t1 == null) + return "Concurrent modification during iteration."; + return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + "."; + } + }; + A.OutOfMemoryError.prototype = { + toString$0(_) { + return "Out of Memory"; }, - set$_collection$_current: function(_current) { - this._collection$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + get$stackTrace() { + return null; }, - $isIterator: 1 + $isError: 1 }; - P._LinkedHashSet.prototype = { - get$iterator: function(_) { - var t1 = new P._LinkedHashSetIterator(this, this._collection$_modifications, this.$ti); - t1._collection$_cell = this._collection$_first; - return t1; - }, - get$length: function(_) { - return this._collection$_length; + A.StackOverflowError.prototype = { + toString$0(_) { + return "Stack Overflow"; }, - contains$1: function(_, object) { - var strings, nums; - if (typeof object === "string" && object !== "__proto__") { - strings = this._collection$_strings; - if (strings == null) - return false; - return H.interceptedTypeCheck(strings[object], "$is_LinkedHashSetCell") != null; - } else if (typeof object === "number" && (object & 1073741823) === object) { - nums = this._collection$_nums; - if (nums == null) - return false; - return H.interceptedTypeCheck(nums[object], "$is_LinkedHashSetCell") != null; - } else - return this._contains$1(object); + get$stackTrace() { + return null; }, - _contains$1: function(object) { - var rest = this._collection$_rest; - if (rest == null) - return false; - return this._findBucketIndex$2(this._getBucket$2(rest, object), object) >= 0; + $isError: 1 + }; + A.CyclicInitializationError.prototype = { + toString$0(_) { + return "Reading static variable '" + this.variableName + "' during its initialization"; + } + }; + A._Exception.prototype = { + toString$0(_) { + return "Exception: " + this.message; }, - add$1: function(_, element) { - var strings, nums; - H.assertSubtypeOfRuntimeType(element, H.getTypeArgumentByIndex(this, 0)); - if (typeof element === "string" && element !== "__proto__") { - strings = this._collection$_strings; - if (strings == null) { - strings = P._LinkedHashSet__newHashTable(); - this._collection$_strings = strings; + $isException: 1 + }; + A.FormatException.prototype = { + toString$0(_) { + var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, + message = this.message, + report = "" !== message ? "FormatException: " + message : "FormatException", + offset = this.offset, + source = this.source; + if (typeof source == "string") { + if (offset != null) + t1 = offset < 0 || offset > source.length; + else + t1 = false; + if (t1) + offset = null; + if (offset == null) { + if (source.length > 78) + source = B.JSString_methods.substring$2(source, 0, 75) + "..."; + return report + "\n" + source; } - return this._collection$_addHashTableEntry$2(strings, element); - } else if (typeof element === "number" && (element & 1073741823) === element) { - nums = this._collection$_nums; - if (nums == null) { - nums = P._LinkedHashSet__newHashTable(); - this._collection$_nums = nums; + for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + char = B.JSString_methods._codeUnitAt$1(source, i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) + ++lineNum; + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + ++lineNum; + lineStart = i + 1; + previousCharWasCR = true; + } } - return this._collection$_addHashTableEntry$2(nums, element); - } else - return this._collection$_add$1(element); - }, - _collection$_add$1: function(element) { - var rest, hash, bucket; - H.assertSubtypeOfRuntimeType(element, H.getTypeArgumentByIndex(this, 0)); - rest = this._collection$_rest; - if (rest == null) { - rest = P._LinkedHashSet__newHashTable(); - this._collection$_rest = rest; - } - hash = this._computeHashCode$1(element); - bucket = rest[hash]; - if (bucket == null) - rest[hash] = [this._collection$_newLinkedCell$1(element)]; - else { - if (this._findBucketIndex$2(bucket, element) >= 0) - return false; - bucket.push(this._collection$_newLinkedCell$1(element)); - } - return true; - }, - remove$1: function(_, object) { - if (typeof object === "string" && object !== "__proto__") - return this._collection$_removeHashTableEntry$2(this._collection$_strings, object); - else if (typeof object === "number" && (object & 1073741823) === object) - return this._collection$_removeHashTableEntry$2(this._collection$_nums, object); - else - return this._remove$1(object); - }, - _remove$1: function(object) { - var rest, bucket, index; - rest = this._collection$_rest; - if (rest == null) - return false; - bucket = this._getBucket$2(rest, object); - index = this._findBucketIndex$2(bucket, object); - if (index < 0) - return false; - this._collection$_unlinkCell$1(bucket.splice(index, 1)[0]); - return true; - }, - _collection$_addHashTableEntry$2: function(table, element) { - H.assertSubtypeOfRuntimeType(element, H.getTypeArgumentByIndex(this, 0)); - if (H.interceptedTypeCheck(table[element], "$is_LinkedHashSetCell") != null) - return false; - table[element] = this._collection$_newLinkedCell$1(element); - return true; + report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); + lineEnd = source.length; + for (i = offset; i < lineEnd; ++i) { + char = B.JSString_methods.codeUnitAt$1(source, i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + if (lineEnd - lineStart > 78) + if (offset - lineStart < 75) { + end = lineStart + 75; + start = lineStart; + prefix = ""; + postfix = "..."; + } else { + if (lineEnd - offset < 75) { + start = lineEnd - 75; + end = lineEnd; + postfix = ""; + } else { + start = offset - 36; + end = offset + 36; + postfix = "..."; + } + prefix = "..."; + } + else { + end = lineEnd; + start = lineStart; + prefix = ""; + postfix = ""; + } + return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; + } else + return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report; }, - _collection$_removeHashTableEntry$2: function(table, element) { - var cell; - if (table == null) - return false; - cell = H.interceptedTypeCheck(table[element], "$is_LinkedHashSetCell"); - if (cell == null) - return false; - this._collection$_unlinkCell$1(cell); - delete table[element]; - return true; + $isException: 1 + }; + A.Iterable.prototype = { + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(toElement), t1._eval$1("Iterable.E"), $T); }, - _collection$_modified$0: function() { - this._collection$_modifications = 1073741823 & this._collection$_modifications + 1; + get$length(_) { + var count, + it = this.get$iterator(this); + for (count = 0; it.moveNext$0();) + ++count; + return count; }, - _collection$_newLinkedCell$1: function(element) { - var cell, last; - cell = new P._LinkedHashSetCell(H.assertSubtypeOfRuntimeType(element, H.getTypeArgumentByIndex(this, 0))); - if (this._collection$_first == null) { - this._collection$_last = cell; - this._collection$_first = cell; - } else { - last = this._collection$_last; - cell._collection$_previous = last; - last._collection$_next = cell; - this._collection$_last = cell; - } - ++this._collection$_length; - this._collection$_modified$0(); - return cell; + get$isEmpty(_) { + return !this.get$iterator(this).moveNext$0(); }, - _collection$_unlinkCell$1: function(cell) { - var previous, next; - previous = cell._collection$_previous; - next = cell._collection$_next; - if (previous == null) - this._collection$_first = next; - else - previous._collection$_next = next; - if (next == null) - this._collection$_last = previous; - else - next._collection$_previous = previous; - --this._collection$_length; - this._collection$_modified$0(); + skipWhile$1(_, test) { + var t1 = A._instanceType(this); + return new A.SkipWhileIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("SkipWhileIterable")); }, - _computeHashCode$1: function(element) { - return J.get$hashCode$(element) & 1073741823; + get$first(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + return it.get$current(it); }, - _getBucket$2: function(table, element) { - return table[this._computeHashCode$1(element)]; + get$last(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; }, - _findBucketIndex$2: function(bucket, element) { - var $length, i, t1; - if (bucket == null) - return -1; - $length = bucket.length; - for (i = 0; i < $length; ++i) { - t1 = bucket[i]._element; - if (t1 == null ? element == null : t1 === element) - return i; + elementAt$1(_, index) { + var t1, elementIndex, element; + A.RangeError_checkNotNegative(index, "index"); + for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { + element = t1.get$current(t1); + if (index === elementIndex) + return element; + ++elementIndex; } - return -1; + throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex)); + }, + toString$0(_) { + return A.IterableBase_iterableToShortString(this, "(", ")"); } }; - P._LinkedHashSetCell.prototype = {}; - P._LinkedHashSetIterator.prototype = { - get$current: function() { - return this._collection$_current; - }, - moveNext$0: function() { - var t1 = this._set; - if (this._collection$_modifications !== t1._collection$_modifications) - throw H.wrapException(P.ConcurrentModificationError$(t1)); - else { - t1 = this._collection$_cell; - if (t1 == null) { - this.set$_collection$_current(null); - return false; - } else { - this.set$_collection$_current(H.assertSubtypeOfRuntimeType(t1._element, H.getTypeArgumentByIndex(this, 0))); - this._collection$_cell = this._collection$_cell._collection$_next; - return true; - } - } - }, - set$_collection$_current: function(_current) { - this._collection$_current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + A.Iterator.prototype = {}; + A.Null.prototype = { + get$hashCode(_) { + return A.Object.prototype.get$hashCode.call(this, this); }, - $isIterator: 1 + toString$0(_) { + return "null"; + } }; - P.IterableBase.prototype = {}; - P.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; - P.ListMixin.prototype = { - get$iterator: function(receiver) { - return new H.ListIterator(receiver, this.get$length(receiver), 0, [H.getRuntimeTypeArgumentIntercepted(this, receiver, "ListMixin", 0)]); - }, - elementAt$1: function(receiver, index) { - return this.$index(receiver, index); + A.Object.prototype = {$isObject: 1, + $eq(_, other) { + return this === other; }, - get$isEmpty: function(receiver) { - return this.get$length(receiver) === 0; + get$hashCode(_) { + return A.Primitives_objectHashCode(this); }, - get$isNotEmpty: function(receiver) { - return !this.get$isEmpty(receiver); + toString$0(_) { + return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; }, - fillRange$3: function(receiver, start, end, fill) { - var i; - H.assertSubtypeOfRuntimeType(fill, H.getRuntimeTypeArgumentIntercepted(this, receiver, "ListMixin", 0)); - P.RangeError_checkValidRange(start, end, this.get$length(receiver)); - for (i = start; i < end; ++i) - this.$indexSet(receiver, i, fill); + noSuchMethod$1(_, invocation) { + type$.Invocation._as(invocation); + throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); }, - toString$0: function(receiver) { - return P.IterableBase_iterableToFullString(receiver, "[", "]"); + toString() { + return this.toString$0(this); } }; - P.MapBase.prototype = {}; - P.MapBase_mapToString_closure.prototype = { - call$2: function(k, v) { - var t1, t2; - t1 = this._box_0; - if (!t1.first) - this.result._contents += ", "; - t1.first = false; - t1 = this.result; - t2 = t1._contents += H.S(k); - t1._contents = t2 + ": "; - t1._contents += H.S(v); + A._StringStackTrace.prototype = { + toString$0(_) { + return this._stackTrace; }, - $signature: 13 + $isStackTrace: 1 }; - P.MapMixin.prototype = { - forEach$1: function(_, action) { - var t1, key; - H.functionTypeCheck(action, {func: 1, ret: -1, args: [H.getRuntimeTypeArgument(this, "MapMixin", 0), H.getRuntimeTypeArgument(this, "MapMixin", 1)]}); - for (t1 = this.get$keys(), t1 = t1.get$iterator(t1); t1.moveNext$0();) { - key = t1.get$current(); - action.call$2(key, this.$index(0, key)); - } + A.StringBuffer.prototype = { + get$length(_) { + return this._contents.length; }, - get$length: function(_) { - var t1 = this.get$keys(); - return t1.get$length(t1); + write$1(_, obj) { + this._contents += A.S(obj); }, - get$isEmpty: function(_) { - var t1 = this.get$keys(); - return t1.get$isEmpty(t1); + writeCharCode$1(charCode) { + this._contents += A.Primitives_stringFromCharCode(charCode); }, - toString$0: function(_) { - return P.MapBase_mapToString(this); + toString$0(_) { + var t1 = this._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; }, - $isMap: 1 - }; - P._UnmodifiableMapMixin.prototype = { - $indexSet: function(_, key, value) { - H.assertSubtypeOfRuntimeType(key, H.getRuntimeTypeArgument(this, "_UnmodifiableMapMixin", 0)); - H.assertSubtypeOfRuntimeType(value, H.getRuntimeTypeArgument(this, "_UnmodifiableMapMixin", 1)); - throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); - } + $isStringSink: 1 }; - P.MapView.prototype = { - $index: function(_, key) { - return this._map.$index(0, key); - }, - $indexSet: function(_, key, value) { - this._map.$indexSet(0, H.assertSubtypeOfRuntimeType(key, H.getTypeArgumentByIndex(this, 0)), H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(this, 1))); - }, - forEach$1: function(_, action) { - this._map.forEach$1(0, H.functionTypeCheck(action, {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this, 0), H.getTypeArgumentByIndex(this, 1)]})); - }, - get$isEmpty: function(_) { - var t1 = this._map; - return t1.get$isEmpty(t1); - }, - get$length: function(_) { - var t1 = this._map; - return t1.get$length(t1); - }, - toString$0: function(_) { - return J.toString$0$(this._map); + A.Uri_splitQueryString_closure.prototype = { + call$2(map, element) { + var index, key, value, t1; + type$.Map_String_String._as(map); + A._asString(element); + index = B.JSString_methods.indexOf$1(element, "="); + if (index === -1) { + if (element !== "") + J.$indexSet$ax(map, A._Uri__uriDecode(element, 0, element.length, this.encoding, true), ""); + } else if (index !== 0) { + key = B.JSString_methods.substring$2(element, 0, index); + value = B.JSString_methods.substring$1(element, index + 1); + t1 = this.encoding; + J.$indexSet$ax(map, A._Uri__uriDecode(key, 0, key.length, t1, true), A._Uri__uriDecode(value, 0, value.length, t1, true)); + } + return map; }, - $isMap: 1 + $signature: 27 }; - P.UnmodifiableMapView.prototype = {}; - P._SetBase.prototype = { - toString$0: function(_) { - return P.IterableBase_iterableToFullString(this, "{", "}"); + A.Uri__parseIPv4Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isSet: 1 + $signature: 24 }; - P._ListBase_Object_ListMixin.prototype = {}; - P._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; - P._JsonMap.prototype = { - $index: function(_, key) { - var t1, result; - t1 = this._processed; - if (t1 == null) - return this._data.$index(0, key); - else if (typeof key !== "string") - return; - else { - result = t1[key]; - return typeof result == "undefined" ? this._process$1(key) : result; - } + A.Uri_parseIPv6Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, - get$length: function(_) { - return this._processed == null ? this._data.__js_helper$_length : this._computeKeys$0().length; - }, - get$isEmpty: function(_) { - return this.get$length(this) === 0; + $signature: 25 + }; + A.Uri_parseIPv6Address_parseHex.prototype = { + call$2(start, end) { + var value; + if (end - start > 4) + this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); + value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16); + if (value < 0 || value > 65535) + this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); + return value; }, - get$keys: function() { - if (this._processed == null) { - var t1 = this._data; - return new H.LinkedHashMapKeyIterable(t1, [H.getTypeArgumentByIndex(t1, 0)]); + $signature: 26 + }; + A._Uri.prototype = { + get$_text() { + var t1, t2, t3, t4, _this = this, + value = _this.___Uri__text_FI; + if (value === $) { + t1 = _this.scheme; + t2 = t1.length !== 0 ? "" + t1 + ":" : ""; + t3 = _this._host; + t4 = t3 == null; + if (!t4 || t1 === "file") { + t1 = t2 + "//"; + t2 = _this._userInfo; + if (t2.length !== 0) + t1 = t1 + t2 + "@"; + if (!t4) + t1 += t3; + t2 = _this._port; + if (t2 != null) + t1 = t1 + ":" + A.S(t2); + } else + t1 = t2; + t1 += _this.path; + t2 = _this._query; + if (t2 != null) + t1 = t1 + "?" + t2; + t2 = _this._fragment; + if (t2 != null) + t1 = t1 + "#" + t2; + value !== $ && A.throwLateFieldADI("_text"); + value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1; } - return new P._JsonMapKeyIterable(this); - }, - $indexSet: function(_, key, value) { - var processed, original; - if (this._processed == null) - this._data.$indexSet(0, key, value); - else if (this.containsKey$1(key)) { - processed = this._processed; - processed[key] = value; - original = this._original; - if (original == null ? processed != null : original !== processed) - original[key] = null; - } else - this._upgrade$0().$indexSet(0, key, value); - }, - containsKey$1: function(key) { - if (this._processed == null) - return this._data.containsKey$1(key); - return Object.prototype.hasOwnProperty.call(this._original, key); + return value; }, - forEach$1: function(_, f) { - var keys, i, key, value; - H.functionTypeCheck(f, {func: 1, ret: -1, args: [P.String,,]}); - if (this._processed == null) - return this._data.forEach$1(0, f); - keys = this._computeKeys$0(); - for (i = 0; i < keys.length; ++i) { - key = keys[i]; - value = this._processed[key]; - if (typeof value == "undefined") { - value = P._convertJsonToDartLazy(this._original[key]); - this._processed[key] = value; - } - f.call$2(key, value); - if (keys !== this._data) - throw H.wrapException(P.ConcurrentModificationError$(this)); + get$pathSegments() { + var pathToSplit, result, _this = this, + value = _this.___Uri_pathSegments_FI; + if (value === $) { + pathToSplit = _this.path; + if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47) + pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1); + result = pathToSplit.length === 0 ? B.List_empty : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), type$.dynamic_Function_String._as(A.core_Uri_decodeComponent$closure()), type$.MappedListIterable_String_dynamic), type$.String); + _this.___Uri_pathSegments_FI !== $ && A.throwLateFieldADI("pathSegments"); + _this.set$___Uri_pathSegments_FI(result); + value = result; } + return value; }, - _computeKeys$0: function() { - var keys = H.listTypeCheck(this._data); - if (keys == null) { - keys = H.setRuntimeTypeInfo(Object.keys(this._original), [P.String]); - this._data = keys; + get$hashCode(_) { + var result, _this = this, + value = _this.___Uri_hashCode_FI; + if (value === $) { + result = B.JSString_methods.get$hashCode(_this.get$_text()); + _this.___Uri_hashCode_FI !== $ && A.throwLateFieldADI("hashCode"); + _this.___Uri_hashCode_FI = result; + value = result; } - return keys; + return value; }, - _upgrade$0: function() { - var result, keys, i, t1, key; - if (this._processed == null) - return this._data; - result = P.LinkedHashMap_LinkedHashMap$_empty(P.String, null); - keys = this._computeKeys$0(); - for (i = 0; t1 = keys.length, i < t1; ++i) { - key = keys[i]; - result.$indexSet(0, key, this.$index(0, key)); + get$queryParameters() { + var t1, result, _this = this, + value = _this.___Uri_queryParameters_FI; + if (value === $) { + t1 = _this._query; + result = new A.UnmodifiableMapView(A.Uri_splitQueryString(t1 == null ? "" : t1), type$.UnmodifiableMapView_String_String); + _this.___Uri_queryParameters_FI !== $ && A.throwLateFieldADI("queryParameters"); + _this.set$___Uri_queryParameters_FI(result); + value = result; } - if (t1 === 0) - C.JSArray_methods.add$1(keys, null); - else - C.JSArray_methods.set$length(keys, 0); - this._processed = null; - this._original = null; - this._data = result; - return result; - }, - _process$1: function(key) { - var result; - if (!Object.prototype.hasOwnProperty.call(this._original, key)) - return; - result = P._convertJsonToDartLazy(this._original[key]); - return this._processed[key] = result; + return value; }, - $asMapMixin: function() { - return [P.String, null]; + get$userInfo() { + return this._userInfo; }, - $asMap: function() { - return [P.String, null]; - } - }; - P._JsonMapKeyIterable.prototype = { - get$length: function(_) { - var t1 = this._convert$_parent; - return t1.get$length(t1); + get$host(_) { + var host = this._host; + if (host == null) + return ""; + if (B.JSString_methods.startsWith$1(host, "[")) + return B.JSString_methods.substring$2(host, 1, host.length - 1); + return host; }, - elementAt$1: function(_, index) { - var t1 = this._convert$_parent; - if (t1._processed == null) - t1 = t1.get$keys().elementAt$1(0, index); - else { - t1 = t1._computeKeys$0(); - if (index < 0 || index >= t1.length) - return H.ioore(t1, index); - t1 = t1[index]; - } - return t1; + get$port(_) { + var t1 = this._port; + return t1 == null ? A._Uri__defaultPort(this.scheme) : t1; }, - get$iterator: function(_) { - var t1 = this._convert$_parent; - if (t1._processed == null) { - t1 = t1.get$keys(); - t1 = t1.get$iterator(t1); - } else { - t1 = t1._computeKeys$0(); - t1 = new J.ArrayIterator(t1, t1.length, 0, [H.getTypeArgumentByIndex(t1, 0)]); - } - return t1; + get$query(_) { + var t1 = this._query; + return t1 == null ? "" : t1; }, - $asEfficientLengthIterable: function() { - return [P.String]; + get$fragment() { + var t1 = this._fragment; + return t1 == null ? "" : t1; }, - $asListIterable: function() { - return [P.String]; + isScheme$1(scheme) { + var thisScheme = this.scheme; + if (scheme.length !== thisScheme.length) + return false; + return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; }, - $asIterable: function() { - return [P.String]; - } - }; - P.AsciiCodec.prototype = { - encode$1: function(source) { - return C.AsciiEncoder_127.convert$1(source); - } - }; - P._UnicodeSubsetEncoder.prototype = { - convert$1: function(string) { - var $length, result, t1, t2, t3, i, codeUnit; - H.stringTypeCheck(string); - $length = P.RangeError_checkValidRange(0, null, string.length) - 0; - result = new Uint8Array($length); - for (t1 = result.length, t2 = ~this._subsetMask, t3 = J.getInterceptor$s(string), i = 0; i < $length; ++i) { - codeUnit = t3._codeUnitAt$1(string, i); - if ((codeUnit & t2) !== 0) - throw H.wrapException(P.ArgumentError$value(string, "string", "Contains invalid characters.")); - if (i >= t1) - return H.ioore(result, i); - result[i] = codeUnit; + _mergePaths$2(base, reference) { + var backCount, refStart, baseEnd, newEnd, delta, t1; + for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { + refStart += 3; + ++backCount; } - return result; + baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); + while (true) { + if (!(baseEnd > 0 && backCount > 0)) + break; + newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); + if (newEnd < 0) + break; + delta = baseEnd - newEnd; + t1 = delta !== 2; + if (!t1 || delta === 3) + if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) + t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46; + else + t1 = false; + else + t1 = false; + if (t1) + break; + --backCount; + baseEnd = newEnd; + } + return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount)); }, - $asStreamTransformer: function() { - return [P.String, [P.List, P.int]]; + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); }, - $asConverter: function() { - return [P.String, [P.List, P.int]]; - } - }; - P.AsciiEncoder.prototype = {}; - P.Base64Codec.prototype = { - normalize$3: function(source, start, end) { - var inverseAlphabet, t1, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t2, endLength, $length; - end = P.RangeError_checkValidRange(start, end, source.length); - inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (t1 = J.getInterceptor$asx(source), i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { - i0 = i + 1; - char = t1._codeUnitAt$1(source, i); - if (char === 37) { - i1 = i0 + 2; - if (i1 <= end) { - digit1 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0)); - digit2 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0 + 1)); - char0 = digit1 * 16 + digit2 - (digit2 & 256); - if (char0 === 37) - char0 = -1; - i0 = i1; - } else - char0 = -1; - } else - char0 = char; - if (0 <= char0 && char0 <= 127) { - if (char0 < 0 || char0 >= inverseAlphabet.length) - return H.ioore(inverseAlphabet, char0); - value = inverseAlphabet[char0]; - if (value >= 0) { - char0 = C.JSString_methods.codeUnitAt$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", value); - if (char0 === char) - continue; - char = char0; - } else { - if (value === -1) { - if (firstPadding < 0) { - t2 = buffer == null ? null : buffer._contents.length; - if (t2 == null) - t2 = 0; - firstPadding = t2 + (i - sliceStart); - firstPaddingSourceIndex = i; - } - ++paddingCount; - if (char === 61) - continue; - } - char = char0; - } - if (value !== -2) { - if (buffer == null) - buffer = new P.StringBuffer(""); - buffer._contents += C.JSString_methods.substring$2(source, sliceStart, i); - buffer._contents += H.Primitives_stringFromCharCode(char); - sliceStart = i0; - continue; - } + resolveUri$1(reference) { + var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; + if (reference.get$scheme().length !== 0) { + targetScheme = reference.get$scheme(); + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; + } else { + targetPort = _null; + targetHost = targetPort; + targetUserInfo = ""; } - throw H.wrapException(P.FormatException$("Invalid base64 data", source, i)); - } - if (buffer != null) { - t1 = buffer._contents += t1.substring$2(source, sliceStart, end); - t2 = t1.length; - if (firstPadding >= 0) - P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); - else { - endLength = C.JSInt_methods.$mod(t2 - 1, 4) + 1; - if (endLength === 1) - throw H.wrapException(P.FormatException$("Invalid base64 encoding length ", source, end)); - for (; endLength < 4;) { - t1 += "="; - buffer._contents = t1; - ++endLength; + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetScheme = _this.scheme; + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetUserInfo = _this._userInfo; + targetHost = _this._host; + targetPort = _this._port; + targetPath = _this.path; + if (reference.get$path(reference) === "") + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; + else { + packageNameEnd = A._Uri__packageNameEnd(_this, targetPath); + if (packageNameEnd > 0) { + packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd); + targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); + } else if (reference.get$hasAbsolutePath()) + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + else if (targetPath.length === 0) + if (targetHost == null) + targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference)); + else + targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference)); + else { + mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); + t1 = targetScheme.length === 0; + if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/")) + targetPath = A._Uri__removeDotSegments(mergedPath); + else + targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); + } + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; } } - t1 = buffer._contents; - return C.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); } - $length = end - start; - if (firstPadding >= 0) - P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); + return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); + }, + get$hasAuthority() { + return this._host != null; + }, + get$hasPort() { + return this._port != null; + }, + get$hasQuery() { + return this._query != null; + }, + get$hasFragment() { + return this._fragment != null; + }, + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$1(this.path, "/"); + }, + toFilePath$0() { + var pathSegments, _this = this, + t1 = _this.scheme; + if (t1 !== "" && t1 !== "file") + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); + t1 = _this._query; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannotfq)); + t1 = _this._fragment; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); + t1 = $.$get$_Uri__isWindowsCached(); + if (A.boolConversionCheck(t1)) + t1 = A._Uri__toWindowsFilePath(_this); else { - endLength = C.JSInt_methods.$mod($length, 4); - if (endLength === 1) - throw H.wrapException(P.FormatException$("Invalid base64 encoding length ", source, end)); - if (endLength > 1) - source = t1.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); + if (_this._host != null && _this.get$host(_this) !== "") + A.throwExpression(A.UnsupportedError$(string$.Cannotn)); + pathSegments = _this.get$pathSegments(); + A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); + t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/"); + t1 = t1.charCodeAt(0) == 0 ? t1 : t1; } - return source; + return t1; }, - $asCodec: function() { - return [[P.List, P.int], P.String]; - } - }; - P.Base64Encoder.prototype = { - $asStreamTransformer: function() { - return [[P.List, P.int], P.String]; + toString$0(_) { + return this.get$_text(); }, - $asConverter: function() { - return [[P.List, P.int], P.String]; - } - }; - P.Codec.prototype = {}; - P._FusedCodec.prototype = { - $asCodec: function($S, $M, $T) { - return [$S, $T]; - } - }; - P.Converter.prototype = {}; - P.Encoding.prototype = { - $asCodec: function() { - return [P.String, [P.List, P.int]]; - } - }; - P.JsonUnsupportedObjectError.prototype = { - toString$0: function(_) { - var safeString = P.Error_safeToString(this.unsupportedObject); - return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; - } - }; - P.JsonCyclicError.prototype = { - toString$0: function(_) { - return "Cyclic error in JSON stringify"; - } - }; - P.JsonCodec.prototype = { - decode$2$reviver: function(_, source, reviver) { - var t1 = P._parseJson(source, this.get$decoder()._reviver); + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (_this === other) + return true; + if (type$.Uri._is(other)) + if (_this.scheme === other.get$scheme()) + if (_this._host != null === other.get$hasAuthority()) + if (_this._userInfo === other.get$userInfo()) + if (_this.get$host(_this) === other.get$host(other)) + if (_this.get$port(_this) === other.get$port(other)) + if (_this.path === other.get$path(other)) { + t1 = _this._query; + t2 = t1 == null; + if (!t2 === other.get$hasQuery()) { + if (t2) + t1 = ""; + if (t1 === other.get$query(other)) { + t1 = _this._fragment; + t2 = t1 == null; + if (!t2 === other.get$hasFragment()) { + if (t2) + t1 = ""; + t1 = t1 === other.get$fragment(); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; return t1; }, - encode$2$toEncodable: function(value, toEncodable) { - var t1 = this.get$encoder(); - t1 = P._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); - return t1; + set$___Uri_pathSegments_FI(___Uri_pathSegments_FI) { + this.___Uri_pathSegments_FI = type$.List_String._as(___Uri_pathSegments_FI); }, - get$encoder: function() { - return C.JsonEncoder_null_null; + set$___Uri_queryParameters_FI(___Uri_queryParameters_FI) { + this.___Uri_queryParameters_FI = type$.Map_String_String._as(___Uri_queryParameters_FI); }, - get$decoder: function() { - return C.JsonDecoder_null; + $isUri: 1, + get$scheme() { + return this.scheme; }, - $asCodec: function() { - return [P.Object, P.String]; + get$path(receiver) { + return this.path; } }; - P.JsonEncoder.prototype = { - $asStreamTransformer: function() { - return [P.Object, P.String]; + A._Uri__makePath_closure.prototype = { + call$1(s) { + return A._Uri__uriEncode(B.List_qg40, A._asString(s), B.C_Utf8Codec, false); }, - $asConverter: function() { - return [P.Object, P.String]; - } + $signature: 23 }; - P.JsonDecoder.prototype = { - $asStreamTransformer: function() { - return [P.String, P.Object]; + A.UriData.prototype = { + get$uri() { + var t2, queryIndex, end, query, _this = this, _null = null, + t1 = _this._uriCache; + if (t1 == null) { + t1 = _this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = _this._text; + t1 = t1[0] + 1; + queryIndex = B.JSString_methods.indexOf$2(t2, "?", t1); + end = t2.length; + if (queryIndex >= 0) { + query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, B.List_CVk, false); + end = queryIndex; + } else + query = _null; + t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, B.List_qg4, false), query, _null); + } + return t1; }, - $asConverter: function() { - return [P.String, P.Object]; + toString$0(_) { + var t2, + t1 = this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = this._text; + return t1[0] === -1 ? "data:" + t2 : t2; } }; - P._JsonStringifier.prototype = { - writeStringContent$1: function(s) { - var $length, t1, offset, i, charCode, t2; - $length = s.length; - for (t1 = J.getInterceptor$s(s), offset = 0, i = 0; i < $length; ++i) { - charCode = t1._codeUnitAt$1(s, i); - if (charCode > 92) - continue; - if (charCode < 32) { - if (i > offset) - this.writeStringSlice$3(s, offset, i); - offset = i + 1; - this.writeCharCode$1(92); - switch (charCode) { - case 8: - this.writeCharCode$1(98); - break; - case 9: - this.writeCharCode$1(116); - break; - case 10: - this.writeCharCode$1(110); - break; - case 12: - this.writeCharCode$1(102); - break; - case 13: - this.writeCharCode$1(114); - break; - default: - this.writeCharCode$1(117); - this.writeCharCode$1(48); - this.writeCharCode$1(48); - t2 = charCode >>> 4 & 15; - this.writeCharCode$1(t2 < 10 ? 48 + t2 : 87 + t2); - t2 = charCode & 15; - this.writeCharCode$1(t2 < 10 ? 48 + t2 : 87 + t2); - break; - } - } else if (charCode === 34 || charCode === 92) { - if (i > offset) - this.writeStringSlice$3(s, offset, i); - offset = i + 1; - this.writeCharCode$1(92); - this.writeCharCode$1(charCode); - } - } - if (offset === 0) - this.writeString$1(s); - else if (offset < $length) - this.writeStringSlice$3(s, offset, $length); + A._createTables_build.prototype = { + call$2(state, defaultTransition) { + var t1 = this.tables; + if (!(state < t1.length)) + return A.ioore(t1, state); + t1 = t1[state]; + B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); + return t1; }, - _checkCycle$1: function(object) { - var t1, t2, i, t3; - for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { - t3 = t1[i]; - if (object == null ? t3 == null : object === t3) - throw H.wrapException(new P.JsonCyclicError(object, null)); + $signature: 28 + }; + A._createTables_setChars.prototype = { + call$3(target, chars, transition) { + var t1, i, t2; + for (t1 = chars.length, i = 0; i < t1; ++i) { + t2 = B.JSString_methods._codeUnitAt$1(chars, i) ^ 96; + if (!(t2 < 96)) + return A.ioore(target, t2); + target[t2] = transition; } - C.JSArray_methods.add$1(t1, object); }, - writeObject$1: function(object) { - var customJson, e, t1, exception; - if (this.writeJsonValue$1(object)) - return; - this._checkCycle$1(object); - try { - customJson = this._toEncodable.call$1(object); - if (!this.writeJsonValue$1(customJson)) { - t1 = P.JsonUnsupportedObjectError$(object, null, this.get$_partialResult()); - throw H.wrapException(t1); - } - t1 = this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - } catch (exception) { - e = H.unwrapException(exception); - t1 = P.JsonUnsupportedObjectError$(object, e, this.get$_partialResult()); - throw H.wrapException(t1); + $signature: 22 + }; + A._createTables_setRange.prototype = { + call$3(target, range, transition) { + var i, n, t1; + for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) { + t1 = (i ^ 96) >>> 0; + if (!(t1 < 96)) + return A.ioore(target, t1); + target[t1] = transition; } }, - writeJsonValue$1: function(object) { - var t1, success; - if (typeof object === "number") { - if (!isFinite(object)) - return false; - this.writeNumber$1(object); - return true; - } else if (object === true) { - this.writeString$1("true"); - return true; - } else if (object === false) { - this.writeString$1("false"); - return true; - } else if (object == null) { - this.writeString$1("null"); - return true; - } else if (typeof object === "string") { - this.writeString$1('"'); - this.writeStringContent$1(object); - this.writeString$1('"'); - return true; - } else { - t1 = J.getInterceptor$(object); - if (!!t1.$isList) { - this._checkCycle$1(object); - this.writeList$1(object); - t1 = this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - return true; - } else if (!!t1.$isMap) { - this._checkCycle$1(object); - success = this.writeMap$1(object); - t1 = this._seen; - if (0 >= t1.length) - return H.ioore(t1, -1); - t1.pop(); - return success; - } else - return false; - } + $signature: 22 + }; + A._SimpleUri.prototype = { + get$hasAuthority() { + return this._hostStart > 0; }, - writeList$1: function(list) { - var t1, i; - this.writeString$1("["); - t1 = J.getInterceptor$asx(list); - if (t1.get$isNotEmpty(list)) { - this.writeObject$1(t1.$index(list, 0)); - for (i = 1; i < t1.get$length(list); ++i) { - this.writeString$1(","); - this.writeObject$1(t1.$index(list, i)); - } - } - this.writeString$1("]"); + get$hasPort() { + return this._hostStart > 0 && this._portStart + 1 < this._pathStart; }, - writeMap$1: function(map) { - var _box_0, t1, keyValueList, separator, i, t2; - _box_0 = {}; - if (map.get$isEmpty(map)) { - this.writeString$1("{}"); - return true; - } - t1 = map.get$length(map) * 2; - keyValueList = new Array(t1); - keyValueList.fixed$length = Array; - _box_0.i = 0; - _box_0.allStringKeys = true; - map.forEach$1(0, new P._JsonStringifier_writeMap_closure(_box_0, keyValueList)); - if (!_box_0.allStringKeys) - return false; - this.writeString$1("{"); - for (separator = '"', i = 0; i < t1; i += 2, separator = ',"') { - this.writeString$1(separator); - this.writeStringContent$1(H.stringTypeCheck(keyValueList[i])); - this.writeString$1('":'); - t2 = i + 1; - if (t2 >= t1) - return H.ioore(keyValueList, t2); - this.writeObject$1(keyValueList[t2]); - } - this.writeString$1("}"); - return true; - } - }; - P._JsonStringifier_writeMap_closure.prototype = { - call$2: function(key, value) { - var t1, t2; - if (typeof key !== "string") - this._box_0.allStringKeys = false; - t1 = this.keyValueList; - t2 = this._box_0; - C.JSArray_methods.$indexSet(t1, t2.i++, key); - C.JSArray_methods.$indexSet(t1, t2.i++, value); + get$hasQuery() { + return this._queryStart < this._fragmentStart; }, - $signature: 13 - }; - P._JsonStringStringifier.prototype = { - get$_partialResult: function() { - var t1 = this._convert$_sink; - return !!t1.$isStringBuffer ? t1.toString$0(0) : null; + get$hasFragment() { + return this._fragmentStart < this._uri.length; + }, + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart); }, - writeNumber$1: function(number) { - this._convert$_sink.write$1(C.JSNumber_methods.toString$0(number)); + get$scheme() { + var t1 = this._schemeCache; + return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; + }, + _computeScheme$0() { + var t2, _this = this, + t1 = _this._schemeEnd; + if (t1 <= 0) + return ""; + t2 = t1 === 4; + if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http")) + return "http"; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) + return "https"; + if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file")) + return "file"; + if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package")) + return "package"; + return B.JSString_methods.substring$2(_this._uri, 0, t1); }, - writeString$1: function(string) { - this._convert$_sink.write$1(string); + get$userInfo() { + var t1 = this._hostStart, + t2 = this._schemeEnd + 3; + return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : ""; }, - writeStringSlice$3: function(string, start, end) { - this._convert$_sink.write$1(J.substring$2$s(string, start, end)); + get$host(_) { + var t1 = this._hostStart; + return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : ""; + }, + get$port(_) { + var t1, _this = this; + if (_this.get$hasPort()) + return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null); + t1 = _this._schemeEnd; + if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http")) + return 80; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) + return 443; + return 0; }, - writeCharCode$1: function(charCode) { - this._convert$_sink.writeCharCode$1(charCode); - } - }; - P.Utf8Codec.prototype = { - get$encoder: function() { - return C.C_Utf8Encoder; - } - }; - P.Utf8Encoder.prototype = { - convert$1: function(string) { - var end, $length, t1, encoder; - H.stringTypeCheck(string); - end = P.RangeError_checkValidRange(0, null, string.length); - $length = end - 0; - if ($length === 0) - return new Uint8Array(0); - t1 = new Uint8Array($length * 3); - encoder = new P._Utf8Encoder(t1); - if (encoder._fillBuffer$3(string, 0, end) !== end) - encoder._writeSurrogate$2(J.codeUnitAt$1$s(string, end - 1), 0); - return C.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); + get$path(_) { + return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart); }, - $asStreamTransformer: function() { - return [P.String, [P.List, P.int]]; + get$query(_) { + var t1 = this._queryStart, + t2 = this._fragmentStart; + return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : ""; + }, + get$fragment() { + var t1 = this._fragmentStart, + t2 = this._uri; + return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : ""; + }, + get$pathSegments() { + var parts, i, + start = this._pathStart, + end = this._queryStart, + t1 = this._uri; + if (B.JSString_methods.startsWith$2(t1, "/", start)) + ++start; + if (start === end) + return B.List_empty; + parts = A._setArrayType([], type$.JSArray_String); + for (i = start; i < end; ++i) + if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, i)); + start = i + 1; + } + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, end)); + return A.List_List$unmodifiable(parts, type$.String); + }, + get$queryParameters() { + var _this = this; + if (_this._queryStart >= _this._fragmentStart) + return B.Map_empty; + return new A.UnmodifiableMapView(A.Uri_splitQueryString(_this.get$query(_this)), type$.UnmodifiableMapView_String_String); + }, + _isPort$1(port) { + var portDigitStart = this._portStart + 1; + return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart); + }, + removeFragment$0() { + var _this = this, + t1 = _this._fragmentStart, + t2 = _this._uri; + if (t1 >= t2.length) + return _this; + return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); + }, + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); + }, + resolveUri$1(reference) { + if (reference instanceof A._SimpleUri) + return this._simpleMerge$2(this, reference); + return this._toNonSimple$0().resolveUri$1(reference); }, - $asConverter: function() { - return [P.String, [P.List, P.int]]; - } - }; - P._Utf8Encoder.prototype = { - _writeSurrogate$2: function(leadingSurrogate, nextCodeUnit) { - var t1, t2, t3, t4, rune; - t1 = this._buffer; - t2 = this._bufferIndex; - t3 = t2 + 1; - t4 = t1.length; - if ((nextCodeUnit & 64512) === 56320) { - rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; - this._bufferIndex = t3; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 240 | rune >>> 18; - t2 = t3 + 1; - this._bufferIndex = t2; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = 128 | rune >>> 12 & 63; - t3 = t2 + 1; - this._bufferIndex = t3; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 128 | rune >>> 6 & 63; - this._bufferIndex = t3 + 1; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = 128 | rune & 63; - return true; - } else { - this._bufferIndex = t3; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 224 | leadingSurrogate >>> 12; - t2 = t3 + 1; - this._bufferIndex = t2; - if (t3 >= t4) - return H.ioore(t1, t3); - t1[t3] = 128 | leadingSurrogate >>> 6 & 63; - this._bufferIndex = t2 + 1; - if (t2 >= t4) - return H.ioore(t1, t2); - t1[t2] = 128 | leadingSurrogate & 63; - return false; + _simpleMerge$2(base, ref) { + var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, + t1 = ref._schemeEnd; + if (t1 > 0) + return ref; + t2 = ref._hostStart; + if (t2 > 0) { + t3 = base._schemeEnd; + if (t3 <= 0) + return ref; + t4 = t3 === 4; + if (t4 && B.JSString_methods.startsWith$1(base._uri, "file")) + isSimple = ref._pathStart !== ref._queryStart; + else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http")) + isSimple = !ref._isPort$1("80"); + else + isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443"); + if (isSimple) { + delta = t3 + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); + } else + return this._toNonSimple$0().resolveUri$1(ref); + } + refStart = ref._pathStart; + t1 = ref._queryStart; + if (refStart === t1) { + t2 = ref._fragmentStart; + if (t1 < t2) { + t3 = base._queryStart; + delta = t3 - t1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); + } + t1 = ref._uri; + if (t2 < t1.length) { + t3 = base._fragmentStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); + } + return base.removeFragment$0(); + } + t2 = ref._uri; + if (B.JSString_methods.startsWith$2(t2, "/", refStart)) { + basePathStart = base._pathStart; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; + delta = basePathStart0 - refStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseStart = base._pathStart; + baseEnd = base._queryStart; + if (baseStart === baseEnd && base._hostStart > 0) { + for (; B.JSString_methods.startsWith$2(t2, "../", refStart);) + refStart += 3; + delta = baseStart - refStart + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); } - }, - _fillBuffer$3: function(str, start, end) { - var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5; - if (start !== end && (J.codeUnitAt$1$s(str, end - 1) & 64512) === 55296) - --end; - for (t1 = this._buffer, t2 = t1.length, t3 = J.getInterceptor$s(str), stringIndex = start; stringIndex < end; ++stringIndex) { - codeUnit = t3._codeUnitAt$1(str, stringIndex); - if (codeUnit <= 127) { - t4 = this._bufferIndex; - if (t4 >= t2) - break; - this._bufferIndex = t4 + 1; - t1[t4] = codeUnit; - } else if ((codeUnit & 64512) === 55296) { - if (this._bufferIndex + 3 >= t2) - break; - stringIndex0 = stringIndex + 1; - if (this._writeSurrogate$2(codeUnit, C.JSString_methods._codeUnitAt$1(str, stringIndex0))) - stringIndex = stringIndex0; - } else if (codeUnit <= 2047) { - t4 = this._bufferIndex; - t5 = t4 + 1; - if (t5 >= t2) - break; - this._bufferIndex = t5; - if (t4 >= t2) - return H.ioore(t1, t4); - t1[t4] = 192 | codeUnit >>> 6; - this._bufferIndex = t5 + 1; - t1[t5] = 128 | codeUnit & 63; - } else { - t4 = this._bufferIndex; - if (t4 + 2 >= t2) + baseUri = base._uri; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + if (packageNameEnd >= 0) + baseStart0 = packageNameEnd; + else + for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) + baseStart0 += 3; + backCount = 0; + while (true) { + refStart0 = refStart + 3; + if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart))) + break; + ++backCount; + refStart = refStart0; + } + for (insert = ""; baseEnd > baseStart0;) { + --baseEnd; + if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { + if (backCount === 0) { + insert = "/"; break; - t5 = t4 + 1; - this._bufferIndex = t5; - if (t4 >= t2) - return H.ioore(t1, t4); - t1[t4] = 224 | codeUnit >>> 12; - t4 = t5 + 1; - this._bufferIndex = t4; - if (t5 >= t2) - return H.ioore(t1, t5); - t1[t5] = 128 | codeUnit >>> 6 & 63; - this._bufferIndex = t4 + 1; - if (t4 >= t2) - return H.ioore(t1, t4); - t1[t4] = 128 | codeUnit & 63; + } + --backCount; + insert = "/"; } } - return stringIndex; - } - }; - P.Utf8Decoder.prototype = { - convert$1: function(codeUnits) { - var result, end, buffer, decoder, t1; - H.assertSubtype(codeUnits, "$isList", [P.int], "$asList"); - result = P.Utf8Decoder__convertIntercepted(false, codeUnits, 0, null); - if (result != null) - return result; - end = P.RangeError_checkValidRange(0, null, J.get$length$asx(codeUnits)); - buffer = new P.StringBuffer(""); - decoder = new P._Utf8Decoder(false, buffer); - decoder.convert$3(codeUnits, 0, end); - decoder.flush$2(codeUnits, end); - t1 = buffer._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; - }, - $asStreamTransformer: function() { - return [[P.List, P.int], P.String]; + if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { + refStart -= backCount * 3; + insert = ""; + } + delta = baseEnd - refStart + insert.length; + return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); }, - $asConverter: function() { - return [[P.List, P.int], P.String]; - } - }; - P._Utf8Decoder.prototype = { - flush$2: function(source, offset) { - var t1; - H.assertSubtype(source, "$isList", [P.int], "$asList"); - if (this._expectedUnits > 0) { - t1 = P.FormatException$("Unfinished UTF-8 octet sequence", source, offset); - throw H.wrapException(t1); - } - }, - convert$3: function(codeUnits, startIndex, endIndex) { - var value, expectedUnits, extraUnits, addSingleBytes, t1, t2, i, unit, t3, oneBytes, i0, i1, t4; - H.assertSubtype(codeUnits, "$isList", [P.int], "$asList"); - value = this._value; - expectedUnits = this._expectedUnits; - extraUnits = this._extraUnits; - this._value = 0; - this._expectedUnits = 0; - this._extraUnits = 0; - addSingleBytes = new P._Utf8Decoder_convert_addSingleBytes(this, startIndex, endIndex, codeUnits); - $label0$0: - for (t1 = J.getInterceptor$asx(codeUnits), t2 = this._stringSink, i = startIndex; true; i = i1) { - $label1$1: - if (expectedUnits > 0) { - do { - if (i === endIndex) - break $label0$0; - unit = t1.$index(codeUnits, i); - if (typeof unit !== "number") - return unit.$and(); - if ((unit & 192) !== 128) { - t3 = P.FormatException$("Bad UTF-8 encoding 0x" + C.JSInt_methods.toRadixString$1(unit, 16), codeUnits, i); - throw H.wrapException(t3); - } else { - value = (value << 6 | unit & 63) >>> 0; - --expectedUnits; - ++i; - } - } while (expectedUnits > 0); - t3 = extraUnits - 1; - if (t3 < 0 || t3 >= 4) - return H.ioore(C.List_127_2047_65535_1114111, t3); - if (value <= C.List_127_2047_65535_1114111[t3]) { - t3 = P.FormatException$("Overlong encoding of 0x" + C.JSInt_methods.toRadixString$1(value, 16), codeUnits, i - extraUnits - 1); - throw H.wrapException(t3); - } - if (value > 1114111) { - t3 = P.FormatException$("Character outside valid Unicode range: 0x" + C.JSInt_methods.toRadixString$1(value, 16), codeUnits, i - extraUnits - 1); - throw H.wrapException(t3); - } - if (!this._isFirstCharacter || value !== 65279) - t2._contents += H.Primitives_stringFromCharCode(value); - this._isFirstCharacter = false; - } - for (t3 = i < endIndex; t3;) { - oneBytes = P._scanOneByteCharacters(codeUnits, i, endIndex); - if (oneBytes > 0) { - this._isFirstCharacter = false; - i0 = i + oneBytes; - addSingleBytes.call$2(i, i0); - if (i0 === endIndex) - break; - } else - i0 = i; - i1 = i0 + 1; - unit = t1.$index(codeUnits, i0); - if (typeof unit !== "number") - return unit.$lt(); - if (unit < 0) { - t4 = P.FormatException$("Negative UTF-8 code unit: -0x" + C.JSInt_methods.toRadixString$1(-unit, 16), codeUnits, i1 - 1); - throw H.wrapException(t4); - } else { - if ((unit & 224) === 192) { - value = unit & 31; - expectedUnits = 1; - extraUnits = 1; - continue $label0$0; - } - if ((unit & 240) === 224) { - value = unit & 15; - expectedUnits = 2; - extraUnits = 2; - continue $label0$0; - } - if ((unit & 248) === 240 && unit < 245) { - value = unit & 7; - expectedUnits = 3; - extraUnits = 3; - continue $label0$0; - } - t4 = P.FormatException$("Bad UTF-8 encoding 0x" + C.JSInt_methods.toRadixString$1(unit, 16), codeUnits, i1 - 1); - throw H.wrapException(t4); - } - } - break $label0$0; - } - if (expectedUnits > 0) { - this._value = value; - this._expectedUnits = expectedUnits; - this._extraUnits = extraUnits; + toFilePath$0() { + var t2, t3, _this = this, + t1 = _this._schemeEnd; + if (t1 >= 0) { + t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file")); + t1 = t2; + } else + t1 = false; + if (t1) + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); + t1 = _this._queryStart; + t2 = _this._uri; + if (t1 < t2.length) { + if (t1 < _this._fragmentStart) + throw A.wrapException(A.UnsupportedError$(string$.Cannotfq)); + throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); + } + t3 = $.$get$_Uri__isWindowsCached(); + if (A.boolConversionCheck(t3)) + t1 = A._Uri__toWindowsFilePath(_this); + else { + if (_this._hostStart < _this._portStart) + A.throwExpression(A.UnsupportedError$(string$.Cannotn)); + t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1); } - } - }; - P._Utf8Decoder_convert_addSingleBytes.prototype = { - call$2: function(from, to) { - this.$this._stringSink._contents += P.String_String$fromCharCodes(this.codeUnits, from, to); + return t1; }, - $signature: 27 - }; - P.NoSuchMethodError_toString_closure.prototype = { - call$2: function(key, value) { - var t1, t2, t3; - H.interceptedTypeCheck(key, "$isSymbol0"); - t1 = this.sb; - t2 = this._box_0; - t1._contents += t2.comma; - t3 = t1._contents += H.S(key.__internal$_name); - t1._contents = t3 + ": "; - t1._contents += P.Error_safeToString(value); - t2.comma = ", "; + get$hashCode(_) { + var t1 = this._hashCodeCache; + return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1; }, - $signature: 26 - }; - P.bool.prototype = {}; - P.DateTime.prototype = { - $eq: function(_, other) { - if (other == null) - return false; - return other instanceof P.DateTime && this._core$_value === other._core$_value && true; - }, - get$hashCode: function(_) { - var t1 = this._core$_value; - return (t1 ^ C.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; - }, - toString$0: function(_) { - var y, m, d, h, min, sec, ms, t1; - y = P.DateTime__fourDigits(H.Primitives_getYear(this)); - m = P.DateTime__twoDigits(H.Primitives_getMonth(this)); - d = P.DateTime__twoDigits(H.Primitives_getDay(this)); - h = P.DateTime__twoDigits(H.Primitives_getHours(this)); - min = P.DateTime__twoDigits(H.Primitives_getMinutes(this)); - sec = P.DateTime__twoDigits(H.Primitives_getSeconds(this)); - ms = P.DateTime__threeDigits(H.Primitives_getMilliseconds(this)); - t1 = y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; - return t1; - } - }; - P.double.prototype = {}; - P.Duration.prototype = { - $eq: function(_, other) { + $eq(_, other) { if (other == null) return false; - return other instanceof P.Duration && this._duration === other._duration; - }, - get$hashCode: function(_) { - return C.JSInt_methods.get$hashCode(this._duration); - }, - toString$0: function(_) { - var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs; - t1 = new P.Duration_toString_twoDigits(); - t2 = this._duration; - if (t2 < 0) - return "-" + new P.Duration(0 - t2).toString$0(0); - twoDigitMinutes = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 60000000) % 60); - twoDigitSeconds = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 1000000) % 60); - sixDigitUs = new P.Duration_toString_sixDigits().call$1(t2 % 1000000); - return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoDigitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); - } - }; - P.Duration_toString_sixDigits.prototype = { - call$1: function(n) { - if (n >= 100000) - return "" + n; - if (n >= 10000) - return "0" + n; - if (n >= 1000) - return "00" + n; - if (n >= 100) - return "000" + n; - if (n >= 10) - return "0000" + n; - return "00000" + n; + if (this === other) + return true; + return type$.Uri._is(other) && this._uri === other.toString$0(0); + }, + _toNonSimple$0() { + var _this = this, _null = null, + t1 = _this.get$scheme(), + t2 = _this.get$userInfo(), + t3 = _this._hostStart > 0 ? _this.get$host(_this) : _null, + t4 = _this.get$hasPort() ? _this.get$port(_this) : _null, + t5 = _this._uri, + t6 = _this._queryStart, + t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6), + t8 = _this._fragmentStart; + t6 = t6 < t8 ? _this.get$query(_this) : _null; + return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); + }, + toString$0(_) { + return this._uri; }, - $signature: 12 + $isUri: 1 }; - P.Duration_toString_twoDigits.prototype = { - call$1: function(n) { - if (n >= 10) - return "" + n; - return "0" + n; - }, - $signature: 12 + A._DataUri.prototype = {}; + A.HtmlElement.prototype = {}; + A.AccessibleNodeList.prototype = { + get$length(receiver) { + return receiver.length; + } }; - P.Error.prototype = {}; - P.NullThrownError.prototype = { - toString$0: function(_) { - return "Throw of null."; + A.AnchorElement.prototype = { + toString$0(receiver) { + return String(receiver); } }; - P.ArgumentError.prototype = { - get$_errorName: function() { - return "Invalid argument" + (!this._hasValue ? "(s)" : ""); - }, - get$_errorExplanation: function() { - return ""; - }, - toString$0: function(_) { - var t1, nameString, message, prefix, explanation, errorValue; - t1 = this.name; - nameString = t1 != null ? " (" + t1 + ")" : ""; - t1 = this.message; - message = t1 == null ? "" : ": " + H.S(t1); - prefix = this.get$_errorName() + nameString + message; - if (!this._hasValue) - return prefix; - explanation = this.get$_errorExplanation(); - errorValue = P.Error_safeToString(this.invalidValue); - return prefix + explanation + ": " + errorValue; + A.AreaElement.prototype = { + toString$0(receiver) { + return String(receiver); } }; - P.RangeError.prototype = { - get$_errorName: function() { - return "RangeError"; - }, - get$_errorExplanation: function() { - var t1, explanation, t2; - t1 = this.start; - if (t1 == null) { - t1 = this.end; - explanation = t1 != null ? ": Not less than or equal to " + H.S(t1) : ""; - } else { - t2 = this.end; - if (t2 == null) - explanation = ": Not greater than or equal to " + H.S(t1); - else if (t2 > t1) - explanation = ": Not in range " + H.S(t1) + ".." + H.S(t2) + ", inclusive"; - else - explanation = t2 < t1 ? ": Valid value range is empty" : ": Only valid value is " + H.S(t1); - } - return explanation; + A.Blob.prototype = {}; + A.CharacterData.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.IndexError.prototype = { - get$_errorName: function() { - return "RangeError"; - }, - get$_errorExplanation: function() { - var invalidValue, t1; - invalidValue = H.intTypeCheck(this.invalidValue); - if (typeof invalidValue !== "number") - return invalidValue.$lt(); - if (invalidValue < 0) - return ": index must not be negative"; - t1 = this.length; - if (t1 === 0) - return ": no indices are valid"; - return ": index should be less than " + H.S(t1); - }, - get$length: function(receiver) { - return this.length; + A.CssPerspective.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.NoSuchMethodError.prototype = { - toString$0: function(_) { - var _box_0, sb, t1, t2, _i, t3, t4, argument, receiverText, actualParameters; - _box_0 = {}; - sb = new P.StringBuffer(""); - _box_0.comma = ""; - for (t1 = this._core$_arguments, t2 = t1.length, _i = 0, t3 = "", t4 = ""; _i < t2; ++_i, t4 = ", ") { - argument = t1[_i]; - sb._contents = t3 + t4; - t3 = sb._contents += P.Error_safeToString(argument); - _box_0.comma = ", "; - } - this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure(_box_0, sb)); - receiverText = P.Error_safeToString(this._core$_receiver); - actualParameters = sb.toString$0(0); - t1 = "NoSuchMethodError: method not found: '" + H.S(this._core$_memberName.__internal$_name) + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; - return t1; + A.CssRule.prototype = {$isCssRule: 1}; + A.CssStyleDeclaration.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.UnsupportedError.prototype = { - toString$0: function(_) { - return "Unsupported operation: " + this.message; + A.CssStyleDeclarationBase.prototype = {}; + A.CssStyleValue.prototype = {}; + A.CssTransformComponent.prototype = {}; + A.CssTransformValue.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.UnimplementedError.prototype = { - toString$0: function(_) { - var t1 = this.message; - return t1 != null ? "UnimplementedError: " + t1 : "UnimplementedError"; + A.CssUnparsedValue.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.StateError.prototype = { - toString$0: function(_) { - return "Bad state: " + this.message; + A.DataTransferItemList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + return receiver[A._asInt(index)]; } }; - P.ConcurrentModificationError.prototype = { - toString$0: function(_) { - var t1 = this.modifiedObject; - if (t1 == null) - return "Concurrent modification during iteration."; - return "Concurrent modification during iteration: " + P.Error_safeToString(t1) + "."; + A.DomException.prototype = { + toString$0(receiver) { + return String(receiver); } }; - P.OutOfMemoryError.prototype = { - toString$0: function(_) { - return "Out of Memory"; + A.DomRectList.prototype = { + get$length(receiver) { + return receiver.length; }, - $isError: 1 - }; - P.StackOverflowError.prototype = { - toString$0: function(_) { - return "Stack Overflow"; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - $isError: 1 - }; - P.CyclicInitializationError.prototype = { - toString$0: function(_) { - var t1 = this.variableName; - return t1 == null ? "Reading static variable during its initialization" : "Reading static variable '" + t1 + "' during its initialization"; - } - }; - P._Exception.prototype = { - toString$0: function(_) { - return "Exception: " + this.message; - } + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Rectangle_num._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P.FormatException.prototype = { - toString$0: function(_) { - var t1, report, offset, objectSource, source, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice; - t1 = this.message; - report = t1 != null && "" !== t1 ? "FormatException: " + H.S(t1) : "FormatException"; - offset = this.offset; - objectSource = this.source; - if (typeof objectSource === "string") { - if (offset != null) - t1 = offset < 0 || offset > objectSource.length; - else + A.DomRectReadOnly.prototype = { + toString$0(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(this.get$width(receiver)) + " x " + A.S(this.get$height(receiver)); + }, + $eq(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { + t1 = J.getInterceptor$x(other); + t1 = this.get$width(receiver) === t1.get$width(other) && this.get$height(receiver) === t1.get$height(other); + } else + t1 = false; + } else t1 = false; - if (t1) - offset = null; - if (offset == null) { - source = objectSource.length > 78 ? C.JSString_methods.substring$2(objectSource, 0, 75) + "..." : objectSource; - return report + "\n" + source; - } - for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { - char = C.JSString_methods._codeUnitAt$1(objectSource, i); - if (char === 10) { - if (lineStart !== i || !previousCharWasCR) - ++lineNum; - lineStart = i + 1; - previousCharWasCR = false; - } else if (char === 13) { - ++lineNum; - lineStart = i + 1; - previousCharWasCR = true; - } - } - report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); - lineEnd = objectSource.length; - for (i = offset; i < lineEnd; ++i) { - char = C.JSString_methods.codeUnitAt$1(objectSource, i); - if (char === 10 || char === 13) { - lineEnd = i; - break; - } - } - if (lineEnd - lineStart > 78) - if (offset - lineStart < 75) { - end = lineStart + 75; - start = lineStart; - prefix = ""; - postfix = "..."; - } else { - if (lineEnd - offset < 75) { - start = lineEnd - 75; - end = lineEnd; - postfix = ""; - } else { - start = offset - 36; - end = offset + 36; - postfix = "..."; - } - prefix = "..."; - } - else { - end = lineEnd; - start = lineStart; - prefix = ""; - postfix = ""; - } - slice = C.JSString_methods.substring$2(objectSource, start, end); - return report + prefix + slice + postfix + "\n" + C.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; } else - return offset != null ? report + (" (at offset " + H.S(offset) + ")") : report; - } - }; - P.Function.prototype = {}; - P.int.prototype = {}; - P.Iterable.prototype = { - get$length: function(_) { - var it, count; - it = this.get$iterator(this); - for (count = 0; it.moveNext$0();) - ++count; - return count; + t1 = false; + return t1; }, - get$isEmpty: function(_) { - return !this.get$iterator(this).moveNext$0(); + get$hashCode(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + return A.Object_hash(t1, t2, this.get$width(receiver), this.get$height(receiver)); }, - skipWhile$1: function(_, test) { - var t1 = H.getRuntimeTypeArgument(this, "Iterable", 0); - return new H.SkipWhileIterable(this, H.functionTypeCheck(test, {func: 1, ret: P.bool, args: [t1]}), [t1]); + get$_height(receiver) { + return receiver.height; }, - get$first: function(_) { - var it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - return it.get$current(); + get$height(receiver) { + var t1 = this.get$_height(receiver); + t1.toString; + return t1; }, - get$last: function(_) { - var it, result; - it = this.get$iterator(this); - if (!it.moveNext$0()) - throw H.wrapException(H.IterableElementError_noElement()); - do - result = it.get$current(); - while (it.moveNext$0()); - return result; + get$_width(receiver) { + return receiver.width; }, - elementAt$1: function(_, index) { - var t1, elementIndex, element; - P.RangeError_checkNotNegative(index, "index"); - for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { - element = t1.get$current(); - if (index === elementIndex) - return element; - ++elementIndex; - } - throw H.wrapException(P.IndexError$(index, this, "index", null, elementIndex)); + get$width(receiver) { + var t1 = this.get$_width(receiver); + t1.toString; + return t1; }, - toString$0: function(_) { - return P.IterableBase_iterableToShortString(this, "(", ")"); - } + $isRectangle: 1 }; - P.Iterator.prototype = {}; - P.List.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1}; - P.Map.prototype = {}; - P.Null.prototype = { - get$hashCode: function(_) { - return P.Object.prototype.get$hashCode.call(this, this); + A.DomStringList.prototype = { + get$length(receiver) { + return receiver.length; }, - toString$0: function(_) { - return "null"; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asInt(index); + A._asString(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.DomTokenList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.Element.prototype = { + toString$0(receiver) { + return receiver.localName; } }; - P.num.prototype = {}; - P.Object.prototype = {constructor: P.Object, $isObject: 1, - $eq: function(_, other) { - return this === other; + A.EventTarget.prototype = {}; + A.File.prototype = {$isFile: 1}; + A.FileList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$hashCode: function(_) { - return H.Primitives_objectHashCode(this); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - toString$0: function(_) { - return "Instance of '" + H.Primitives_objectTypeName(this) + "'"; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.File._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - noSuchMethod$1: function(_, invocation) { - H.interceptedTypeCheck(invocation, "$isInvocation"); - throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - toString: function() { - return this.toString$0(this); + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.FileWriter.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.Match.prototype = {}; - P.StackTrace.prototype = {}; - P._StringStackTrace.prototype = { - toString$0: function(_) { - return this._stackTrace; - }, - $isStackTrace: 1 + A.FormElement.prototype = { + get$length(receiver) { + return receiver.length; + } }; - P.String.prototype = {$isPattern: 1}; - P.StringBuffer.prototype = { - get$length: function(_) { - return this._contents.length; + A.Gamepad.prototype = {$isGamepad: 1}; + A.History.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.HtmlCollection.prototype = { + get$length(receiver) { + return receiver.length; }, - write$1: function(obj) { - this._contents += H.S(obj); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - writeCharCode$1: function(charCode) { - this._contents += H.Primitives_stringFromCharCode(charCode); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - toString$0: function(_) { - var t1 = this._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - $isStringSink: 1 + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P.Symbol0.prototype = {}; - P.Uri_splitQueryString_closure.prototype = { - call$2: function(map, element) { - var t1, index, key, value; - t1 = P.String; - H.assertSubtype(map, "$isMap", [t1, t1], "$asMap"); - H.stringTypeCheck(element); - index = J.getInterceptor$s(element).indexOf$1(element, "="); - if (index === -1) { - if (element !== "") - map.$indexSet(0, P._Uri__uriDecode(element, 0, element.length, this.encoding, true), ""); - } else if (index !== 0) { - key = C.JSString_methods.substring$2(element, 0, index); - value = C.JSString_methods.substring$1(element, index + 1); - t1 = this.encoding; - map.$indexSet(0, P._Uri__uriDecode(key, 0, key.length, t1, true), P._Uri__uriDecode(value, 0, value.length, t1, true)); + A.Location.prototype = { + toString$0(receiver) { + return String(receiver); + } + }; + A.MediaList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.MidiInputMap.prototype = { + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); } - return map; }, - $signature: 36 - }; - P.Uri__parseIPv4Address_error.prototype = { - call$2: function(msg, position) { - throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiInputMap_keys_closure(keys)); + return keys; }, - $signature: 23 - }; - P.Uri_parseIPv6Address_error.prototype = { - call$2: function(msg, position) { - throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); + get$length(receiver) { + return receiver.size; }, - call$1: function(msg) { - return this.call$2(msg, null); + get$isEmpty(receiver) { + return receiver.size === 0; }, - $signature: 24 - }; - P.Uri_parseIPv6Address_parseHex.prototype = { - call$2: function(start, end) { - var value; - if (end - start > 4) - this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); - value = P.int_parse(C.JSString_methods.substring$2(this.host, start, end), null, 16); - if (typeof value !== "number") - return value.$lt(); - if (value < 0 || value > 65535) - this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); - return value; + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - $signature: 25 + $isMap: 1 }; - P._Uri.prototype = { - get$userInfo: function() { - return this._userInfo; - }, - get$host: function(_) { - var t1 = this._host; - if (t1 == null) - return ""; - if (C.JSString_methods.startsWith$1(t1, "[")) - return C.JSString_methods.substring$2(t1, 1, t1.length - 1); - return t1; + A.MidiInputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - get$port: function(_) { - var t1 = this._port; - if (t1 == null) - return P._Uri__defaultPort(this.scheme); - return t1; + $signature: 5 + }; + A.MidiOutputMap.prototype = { + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - get$query: function() { - var t1 = this._query; - return t1 == null ? "" : t1; + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiOutputMap_keys_closure(keys)); + return keys; }, - get$fragment: function() { - var t1 = this._fragment; - return t1 == null ? "" : t1; + get$length(receiver) { + return receiver.size; }, - get$pathSegments: function() { - var result, pathToSplit, t1, t2, t3; - result = this._pathSegments; - if (result != null) - return result; - pathToSplit = this.path; - if (pathToSplit.length !== 0 && J._codeUnitAt$1$s(pathToSplit, 0) === 47) - pathToSplit = J.substring$1$s(pathToSplit, 1); - if (pathToSplit === "") - result = C.List_empty; - else { - t1 = P.String; - t2 = H.setRuntimeTypeInfo(pathToSplit.split("/"), [t1]); - t3 = H.getTypeArgumentByIndex(t2, 0); - result = P.List_List$unmodifiable(new H.MappedListIterable(t2, H.functionTypeCheck(P.core_Uri_decodeComponent$closure(), {func: 1, ret: null, args: [t3]}), [t3, null]), t1); - } - this.set$_pathSegments(result); - return result; + get$isEmpty(receiver) { + return receiver.size === 0; }, - get$queryParameters: function() { - var t1, t2; - if (this._queryParameters == null) { - t1 = this._query; - t2 = P.String; - this.set$_queryParameters(new P.UnmodifiableMapView(P.Uri_splitQueryString(t1 == null ? "" : t1), [t2, t2])); - } - return this._queryParameters; + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - _mergePaths$2: function(base, reference) { - var t1, backCount, refStart, baseEnd, newEnd, delta; - for (t1 = J.getInterceptor$s(reference), backCount = 0, refStart = 0; t1.startsWith$2(reference, "../", refStart);) { - refStart += 3; - ++backCount; - } - baseEnd = J.getInterceptor$s(base).lastIndexOf$1(base, "/"); - while (true) { - if (!(baseEnd > 0 && backCount > 0)) - break; - newEnd = C.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); - if (newEnd < 0) - break; - delta = baseEnd - newEnd; - t1 = delta !== 2; - if (!t1 || delta === 3) - if (C.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) - t1 = !t1 || C.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46; - else - t1 = false; - else - t1 = false; - if (t1) - break; - --backCount; - baseEnd = newEnd; - } - return C.JSString_methods.replaceRange$3(base, baseEnd + 1, null, C.JSString_methods.substring$1(reference, refStart - 3 * backCount)); + $isMap: 1 + }; + A.MidiOutputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - resolve$1: function(reference) { - return this.resolveUri$1(P.Uri_parse(reference)); + $signature: 5 + }; + A.MimeType.prototype = {$isMimeType: 1}; + A.MimeTypeArray.prototype = { + get$length(receiver) { + return receiver.length; }, - resolveUri$1: function(reference) { - var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, t1, mergedPath, t2; - if (reference.get$scheme().length !== 0) { - targetScheme = reference.get$scheme(); - if (reference.get$hasAuthority()) { - targetUserInfo = reference.get$userInfo(); - targetHost = reference.get$host(reference); - targetPort = reference.get$hasPort() ? reference.get$port(reference) : null; - } else { - targetUserInfo = ""; - targetHost = null; - targetPort = null; - } - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - targetQuery = reference.get$hasQuery() ? reference.get$query() : null; - } else { - targetScheme = this.scheme; - if (reference.get$hasAuthority()) { - targetUserInfo = reference.get$userInfo(); - targetHost = reference.get$host(reference); - targetPort = P._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : null, targetScheme); - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - targetQuery = reference.get$hasQuery() ? reference.get$query() : null; - } else { - targetUserInfo = this._userInfo; - targetHost = this._host; - targetPort = this._port; - if (reference.get$path(reference) === "") { - targetPath = this.path; - targetQuery = reference.get$hasQuery() ? reference.get$query() : this._query; - } else { - if (reference.get$hasAbsolutePath()) - targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); - else { - t1 = this.path; - if (t1.length === 0) - if (targetHost == null) - targetPath = targetScheme.length === 0 ? reference.get$path(reference) : P._Uri__removeDotSegments(reference.get$path(reference)); - else - targetPath = P._Uri__removeDotSegments(C.JSString_methods.$add("/", reference.get$path(reference))); - else { - mergedPath = this._mergePaths$2(t1, reference.get$path(reference)); - t2 = targetScheme.length === 0; - if (!t2 || targetHost != null || J.startsWith$1$s(t1, "/")) - targetPath = P._Uri__removeDotSegments(mergedPath); - else - targetPath = P._Uri__normalizeRelativePath(mergedPath, !t2 || targetHost != null); - } - } - targetQuery = reference.get$hasQuery() ? reference.get$query() : null; - } - } - } - return new P._Uri(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : null); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - get$hasAuthority: function() { - return this._host != null; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.MimeType._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - get$hasPort: function() { - return this._port != null; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - get$hasQuery: function() { - return this._query != null; + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.Node.prototype = { + toString$0(receiver) { + var value = receiver.nodeValue; + return value == null ? this.super$Interceptor$toString(receiver) : value; }, - get$hasFragment: function() { - return this._fragment != null; + $isNode: 1 + }; + A.NodeList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$hasAbsolutePath: function() { - return J.startsWith$1$s(this.path, "/"); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - toFilePath$0: function() { - var t1, windows, pathSegments; - t1 = this.scheme; - if (t1 !== "" && t1 !== "file") - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + H.S(t1) + " URI")); - t1 = this._query; - if ((t1 == null ? "" : t1) !== "") - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a URI with a query component")); - t1 = this._fragment; - if ((t1 == null ? "" : t1) !== "") - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a URI with a fragment component")); - windows = $.$get$_Uri__isWindowsCached(); - if (windows) - t1 = P._Uri__toWindowsFilePath(this); - else { - if (this._host != null && this.get$host(this) !== "") - H.throwExpression(P.UnsupportedError$("Cannot extract a non-Windows file path from a file URI with an authority")); - pathSegments = this.get$pathSegments(); - P._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); - t1 = P.StringBuffer__writeAll(J.startsWith$1$s(this.path, "/") ? "/" : "", pathSegments, "/"); - t1 = t1.charCodeAt(0) == 0 ? t1 : t1; - } - return t1; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - toString$0: function(_) { - var t1, t2, t3, t4; - t1 = this._text; - if (t1 == null) { - t1 = this.scheme; - t2 = t1.length !== 0 ? H.S(t1) + ":" : ""; - t3 = this._host; - t4 = t3 == null; - if (!t4 || t1 === "file") { - t1 = t2 + "//"; - t2 = this._userInfo; - if (t2.length !== 0) - t1 = t1 + H.S(t2) + "@"; - if (!t4) - t1 += t3; - t2 = this._port; - if (t2 != null) - t1 = t1 + ":" + H.S(t2); - } else - t1 = t2; - t1 += H.S(this.path); - t2 = this._query; - if (t2 != null) - t1 = t1 + "?" + t2; - t2 = this._fragment; - if (t2 != null) - t1 = t1 + "#" + t2; - t1 = t1.charCodeAt(0) == 0 ? t1 : t1; - this._text = t1; - } - return t1; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - $eq: function(_, other) { - var t1, t2; - if (other == null) - return false; - if (this === other) - return true; - if (!!J.getInterceptor$(other).$isUri) - if (this.scheme == other.get$scheme()) - if (this._host != null === other.get$hasAuthority()) - if (this._userInfo == other.get$userInfo()) - if (this.get$host(this) == other.get$host(other)) - if (this.get$port(this) == other.get$port(other)) - if (this.path == other.get$path(other)) { - t1 = this._query; - t2 = t1 == null; - if (!t2 === other.get$hasQuery()) { - if (t2) - t1 = ""; - if (t1 === other.get$query()) { - t1 = this._fragment; - t2 = t1 == null; - if (!t2 === other.get$hasFragment()) { - if (t2) - t1 = ""; - t1 = t1 === other.get$fragment(); - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - else - t1 = false; - return t1; + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.Plugin.prototype = { + get$length(receiver) { + return receiver.length; }, - get$hashCode: function(_) { - var t1 = this._hashCodeCache; - if (t1 == null) { - t1 = C.JSString_methods.get$hashCode(this.toString$0(0)); - this._hashCodeCache = t1; - } - return t1; + $isPlugin: 1 + }; + A.PluginArray.prototype = { + get$length(receiver) { + return receiver.length; }, - set$_pathSegments: function(_pathSegments) { - this._pathSegments = H.assertSubtype(_pathSegments, "$isList", [P.String], "$asList"); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - set$_queryParameters: function(_queryParameters) { - var t1 = P.String; - this._queryParameters = H.assertSubtype(_queryParameters, "$isMap", [t1, t1], "$asMap"); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Plugin._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - $isUri: 1, - get$scheme: function() { - return this.scheme; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - get$path: function(receiver) { - return this.path; - } + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P._Uri__Uri$notSimple_closure.prototype = { - call$1: function(_) { - var t1 = this.portStart; - if (typeof t1 !== "number") - return t1.$add(); - throw H.wrapException(P.FormatException$("Invalid port", this.uri, t1 + 1)); + A.RtcStatsReport.prototype = { + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - $signature: 20 - }; - P._Uri__checkNonWindowsPathReservedCharacters_closure.prototype = { - call$1: function(segment) { - H.stringTypeCheck(segment); - if (J.contains$1$asx(segment, "/")) - if (this.argumentError) - throw H.wrapException(P.ArgumentError$("Illegal path character " + segment)); - else - throw H.wrapException(P.UnsupportedError$("Illegal path character " + segment)); + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.RtcStatsReport_keys_closure(keys)); + return keys; }, - $signature: 20 - }; - P._Uri__makePath_closure.prototype = { - call$1: function(s) { - return P._Uri__uriEncode(C.List_qg40, H.stringTypeCheck(s), C.Utf8Codec_false, false); + get$length(receiver) { + return receiver.size; }, - $signature: 14 - }; - P.UriData.prototype = { - get$uri: function() { - var t1, t2, queryIndex, end, query; - t1 = this._uriCache; - if (t1 != null) - return t1; - t1 = this._separatorIndices; - if (0 >= t1.length) - return H.ioore(t1, 0); - t2 = this._text; - t1 = t1[0] + 1; - queryIndex = J.indexOf$2$s(t2, "?", t1); - end = t2.length; - if (queryIndex >= 0) { - query = P._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, C.List_CVk, false); - end = queryIndex; - } else - query = null; - t1 = new P._DataUri("data", null, null, null, P._Uri__normalizeOrSubstring(t2, t1, end, C.List_qg4, false), query, null); - this._uriCache = t1; - return t1; + get$isEmpty(receiver) { + return receiver.size === 0; }, - toString$0: function(_) { - var t1, t2; - t1 = this._separatorIndices; - if (0 >= t1.length) - return H.ioore(t1, 0); - t2 = this._text; - return t1[0] === -1 ? "data:" + H.S(t2) : t2; - } - }; - P._createTables_closure.prototype = { - call$1: function(_) { - return new Uint8Array(96); + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); }, - $signature: 28 + $isMap: 1 }; - P._createTables_build.prototype = { - call$2: function(state, defaultTransition) { - var t1 = this.tables; - if (state >= t1.length) - return H.ioore(t1, state); - t1 = t1[state]; - J.fillRange$3$x(t1, 0, 96, defaultTransition); - return t1; + A.RtcStatsReport_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 29 + $signature: 5 }; - P._createTables_setChars.prototype = { - call$3: function(target, chars, transition) { - var t1, i, t2; - for (t1 = chars.length, i = 0; i < t1; ++i) { - t2 = C.JSString_methods._codeUnitAt$1(chars, i) ^ 96; - if (t2 >= target.length) - return H.ioore(target, t2); - target[t2] = transition; - } + A.SelectElement.prototype = { + get$length(receiver) { + return receiver.length; } }; - P._createTables_setRange.prototype = { - call$3: function(target, range, transition) { - var i, n, t1; - for (i = C.JSString_methods._codeUnitAt$1(range, 0), n = C.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) { - t1 = (i ^ 96) >>> 0; - if (t1 >= target.length) - return H.ioore(target, t1); - target[t1] = transition; - } - } + A.SourceBuffer.prototype = {$isSourceBuffer: 1}; + A.SourceBufferList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asInt(index); + type$.SourceBuffer._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P._SimpleUri.prototype = { - get$hasAuthority: function() { - return this._hostStart > 0; + A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; + A.SpeechGrammarList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$hasPort: function() { - var t1, t2; - if (this._hostStart > 0) { - t1 = this._portStart; - if (typeof t1 !== "number") - return t1.$add(); - t2 = this._pathStart; - if (typeof t2 !== "number") - return H.iae(t2); - t2 = t1 + 1 < t2; - t1 = t2; - } else - t1 = false; - return t1; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - get$hasQuery: function() { - var t1, t2; - t1 = this._queryStart; - t2 = this._fragmentStart; - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 < t2; - }, - get$hasFragment: function() { - var t1, t2; - t1 = this._fragmentStart; - t2 = this._uri.length; - if (typeof t1 !== "number") - return t1.$lt(); - return t1 < t2; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.SpeechGrammar._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - get$_isFile: function() { - return this._schemeEnd === 4 && J.startsWith$1$s(this._uri, "file"); + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - get$_isHttp: function() { - return this._schemeEnd === 4 && J.startsWith$1$s(this._uri, "http"); + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.SpeechRecognitionResult.prototype = { + get$length(receiver) { + return receiver.length; }, - get$_isHttps: function() { - return this._schemeEnd === 5 && J.startsWith$1$s(this._uri, "https"); + $isSpeechRecognitionResult: 1 + }; + A.Storage.prototype = { + $index(receiver, key) { + return receiver.getItem(A._asString(key)); }, - get$hasAbsolutePath: function() { - return J.startsWith$2$s(this._uri, "/", this._pathStart); + $indexSet(receiver, key, value) { + receiver.setItem(key, value); }, - get$scheme: function() { - var t1, t2; - t1 = this._schemeEnd; - if (typeof t1 !== "number") - return t1.$le(); - if (t1 <= 0) - return ""; - t2 = this._schemeCache; - if (t2 != null) - return t2; - if (this.get$_isHttp()) { - this._schemeCache = "http"; - t1 = "http"; - } else if (this.get$_isHttps()) { - this._schemeCache = "https"; - t1 = "https"; - } else if (this.get$_isFile()) { - this._schemeCache = "file"; - t1 = "file"; - } else if (t1 === 7 && J.startsWith$1$s(this._uri, "package")) { - this._schemeCache = "package"; - t1 = "package"; - } else { - t1 = J.substring$2$s(this._uri, 0, t1); - this._schemeCache = t1; + forEach$1(receiver, f) { + var i, key, t1; + type$.void_Function_String_String._as(f); + for (i = 0; true; ++i) { + key = receiver.key(i); + if (key == null) + return; + t1 = receiver.getItem(key); + t1.toString; + f.call$2(key, t1); } - return t1; }, - get$userInfo: function() { - var t1, t2; - t1 = this._hostStart; - t2 = this._schemeEnd; - if (typeof t2 !== "number") - return t2.$add(); - t2 += 3; - return t1 > t2 ? J.substring$2$s(this._uri, t2, t1 - 1) : ""; - }, - get$host: function(_) { - var t1 = this._hostStart; - return t1 > 0 ? J.substring$2$s(this._uri, t1, this._portStart) : ""; + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.Storage_keys_closure(keys)); + return keys; }, - get$port: function(_) { - var t1; - if (this.get$hasPort()) { - t1 = this._portStart; - if (typeof t1 !== "number") - return t1.$add(); - return P.int_parse(J.substring$2$s(this._uri, t1 + 1, this._pathStart), null, null); - } - if (this.get$_isHttp()) - return 80; - if (this.get$_isHttps()) - return 443; - return 0; + get$length(receiver) { + return receiver.length; }, - get$path: function(_) { - return J.substring$2$s(this._uri, this._pathStart, this._queryStart); + get$isEmpty(receiver) { + return receiver.key(0) == null; }, - get$query: function() { - var t1, t2; - t1 = this._queryStart; - t2 = this._fragmentStart; - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof t2 !== "number") - return H.iae(t2); - return t1 < t2 ? J.substring$2$s(this._uri, t1 + 1, t2) : ""; - }, - get$fragment: function() { - var t1, t2, t3; - t1 = this._fragmentStart; - t2 = this._uri; - t3 = t2.length; - if (typeof t1 !== "number") - return t1.$lt(); - return t1 < t3 ? J.substring$1$s(t2, t1 + 1) : ""; - }, - get$pathSegments: function() { - var start, end, t1, t2, parts, i; - start = this._pathStart; - end = this._queryStart; - t1 = this._uri; - if (J.getInterceptor$s(t1).startsWith$2(t1, "/", start)) { - if (typeof start !== "number") - return start.$add(); - ++start; - } - if (start == end) - return C.List_empty; - t2 = P.String; - parts = H.setRuntimeTypeInfo([], [t2]); - i = start; - while (true) { - if (typeof i !== "number") - return i.$lt(); - if (typeof end !== "number") - return H.iae(end); - if (!(i < end)) - break; - if (C.JSString_methods.codeUnitAt$1(t1, i) === 47) { - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, i)); - start = i + 1; - } - ++i; - } - C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, end)); - return P.List_List$unmodifiable(parts, t2); + $isMap: 1 + }; + A.Storage_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - get$queryParameters: function() { - var t1, t2; - t1 = this._queryStart; - t2 = this._fragmentStart; - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof t2 !== "number") - return H.iae(t2); - if (t1 >= t2) - return C.Map_empty; - t1 = P.String; - return new P.UnmodifiableMapView(P.Uri_splitQueryString(this.get$query()), [t1, t1]); - }, - _isPort$1: function(port) { - var t1, portDigitStart; - t1 = this._portStart; - if (typeof t1 !== "number") - return t1.$add(); - portDigitStart = t1 + 1; - return portDigitStart + port.length === this._pathStart && J.startsWith$2$s(this._uri, port, portDigitStart); - }, - removeFragment$0: function() { - var t1, t2, t3; - t1 = this._fragmentStart; - t2 = this._uri; - t3 = t2.length; - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 >= t3) - return this; - return new P._SimpleUri(J.substring$2$s(t2, 0, t1), this._schemeEnd, this._hostStart, this._portStart, this._pathStart, this._queryStart, t1, this._schemeCache); + $signature: 30 + }; + A.StyleSheet.prototype = {$isStyleSheet: 1}; + A.TextTrack.prototype = {$isTextTrack: 1}; + A.TextTrackCue.prototype = {$isTextTrackCue: 1}; + A.TextTrackCueList.prototype = { + get$length(receiver) { + return receiver.length; }, - resolve$1: function(reference) { - return this.resolveUri$1(P.Uri_parse(reference)); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - resolveUri$1: function(reference) { - if (reference instanceof P._SimpleUri) - return this._simpleMerge$2(this, reference); - return this._toNonSimple$0().resolveUri$1(reference); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.TextTrackCue._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - _simpleMerge$2: function(base, ref) { - var t1, t2, t3, isSimple, delta, newUri, t4, t5, t6, refStart, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert; - t1 = ref._schemeEnd; - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 0) - return ref; - t2 = ref._hostStart; - if (t2 > 0) { - t3 = base._schemeEnd; - if (typeof t3 !== "number") - return t3.$gt(); - if (t3 <= 0) - return ref; - if (base.get$_isFile()) - isSimple = ref._pathStart != ref._queryStart; - else if (base.get$_isHttp()) - isSimple = !ref._isPort$1("80"); - else - isSimple = !base.get$_isHttps() || !ref._isPort$1("443"); - if (isSimple) { - delta = t3 + 1; - newUri = J.substring$2$s(base._uri, 0, delta) + J.substring$1$s(ref._uri, t1 + 1); - t1 = ref._portStart; - if (typeof t1 !== "number") - return t1.$add(); - t4 = ref._pathStart; - if (typeof t4 !== "number") - return t4.$add(); - t5 = ref._queryStart; - if (typeof t5 !== "number") - return t5.$add(); - t6 = ref._fragmentStart; - if (typeof t6 !== "number") - return t6.$add(); - return new P._SimpleUri(newUri, t3, t2 + delta, t1 + delta, t4 + delta, t5 + delta, t6 + delta, base._schemeCache); - } else - return this._toNonSimple$0().resolveUri$1(ref); - } - refStart = ref._pathStart; - t1 = ref._queryStart; - if (refStart == t1) { - t2 = ref._fragmentStart; - if (typeof t1 !== "number") - return t1.$lt(); - if (typeof t2 !== "number") - return H.iae(t2); - if (t1 < t2) { - t3 = base._queryStart; - if (typeof t3 !== "number") - return t3.$sub(); - delta = t3 - t1; - return new P._SimpleUri(J.substring$2$s(base._uri, 0, t3) + J.substring$1$s(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); - } - t1 = ref._uri; - if (t2 < t1.length) { - t3 = base._fragmentStart; - if (typeof t3 !== "number") - return t3.$sub(); - return new P._SimpleUri(J.substring$2$s(base._uri, 0, t3) + J.substring$1$s(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); - } - return base.removeFragment$0(); - } - t2 = ref._uri; - if (J.getInterceptor$s(t2).startsWith$2(t2, "/", refStart)) { - t3 = base._pathStart; - if (typeof t3 !== "number") - return t3.$sub(); - if (typeof refStart !== "number") - return H.iae(refStart); - delta = t3 - refStart; - newUri = J.substring$2$s(base._uri, 0, t3) + C.JSString_methods.substring$1(t2, refStart); - if (typeof t1 !== "number") - return t1.$add(); - t2 = ref._fragmentStart; - if (typeof t2 !== "number") - return t2.$add(); - return new P._SimpleUri(newUri, base._schemeEnd, base._hostStart, base._portStart, t3, t1 + delta, t2 + delta, base._schemeCache); - } - baseStart = base._pathStart; - baseEnd = base._queryStart; - if (baseStart == baseEnd && base._hostStart > 0) { - for (; C.JSString_methods.startsWith$2(t2, "../", refStart);) { - if (typeof refStart !== "number") - return refStart.$add(); - refStart += 3; - } - if (typeof baseStart !== "number") - return baseStart.$sub(); - if (typeof refStart !== "number") - return H.iae(refStart); - delta = baseStart - refStart + 1; - newUri = J.substring$2$s(base._uri, 0, baseStart) + "/" + C.JSString_methods.substring$1(t2, refStart); - if (typeof t1 !== "number") - return t1.$add(); - t2 = ref._fragmentStart; - if (typeof t2 !== "number") - return t2.$add(); - return new P._SimpleUri(newUri, base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, t2 + delta, base._schemeCache); - } - baseUri = base._uri; - for (t3 = J.getInterceptor$s(baseUri), baseStart0 = baseStart; t3.startsWith$2(baseUri, "../", baseStart0);) { - if (typeof baseStart0 !== "number") - return baseStart0.$add(); - baseStart0 += 3; - } - backCount = 0; - while (true) { - if (typeof refStart !== "number") - return refStart.$add(); - refStart0 = refStart + 3; - if (typeof t1 !== "number") - return H.iae(t1); - if (!(refStart0 <= t1 && C.JSString_methods.startsWith$2(t2, "../", refStart))) - break; - ++backCount; - refStart = refStart0; - } - insert = ""; - while (true) { - if (typeof baseEnd !== "number") - return baseEnd.$gt(); - if (typeof baseStart0 !== "number") - return H.iae(baseStart0); - if (!(baseEnd > baseStart0)) - break; - --baseEnd; - if (C.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { - if (backCount === 0) { - insert = "/"; - break; - } - --backCount; - insert = "/"; - } - } - if (baseEnd === baseStart0) { - t3 = base._schemeEnd; - if (typeof t3 !== "number") - return t3.$gt(); - t3 = t3 <= 0 && !C.JSString_methods.startsWith$2(baseUri, "/", baseStart); - } else - t3 = false; - if (t3) { - refStart -= backCount * 3; - insert = ""; - } - delta = baseEnd - refStart + insert.length; - newUri = C.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + C.JSString_methods.substring$1(t2, refStart); - t2 = ref._fragmentStart; - if (typeof t2 !== "number") - return t2.$add(); - return new P._SimpleUri(newUri, base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, t2 + delta, base._schemeCache); - }, - toFilePath$0: function() { - var t1, t2, t3, windows; - t1 = this._schemeEnd; - if (typeof t1 !== "number") - return t1.$ge(); - if (t1 >= 0 && !this.get$_isFile()) - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + H.S(this.get$scheme()) + " URI")); - t1 = this._queryStart; - t2 = this._uri; - t3 = t2.length; - if (typeof t1 !== "number") - return t1.$lt(); - if (t1 < t3) { - t2 = this._fragmentStart; - if (typeof t2 !== "number") - return H.iae(t2); - if (t1 < t2) - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a URI with a query component")); - throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a URI with a fragment component")); - } - windows = $.$get$_Uri__isWindowsCached(); - if (windows) - t1 = P._Uri__toWindowsFilePath(this); - else { - t3 = this._portStart; - if (typeof t3 !== "number") - return H.iae(t3); - if (this._hostStart < t3) - H.throwExpression(P.UnsupportedError$("Cannot extract a non-Windows file path from a file URI with an authority")); - t1 = J.substring$2$s(t2, this._pathStart, t1); - } - return t1; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - get$hashCode: function(_) { - var t1 = this._hashCodeCache; - if (t1 == null) { - t1 = J.get$hashCode$(this._uri); - this._hashCodeCache = t1; - } - return t1; + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TextTrackList.prototype = { + get$length(receiver) { + return receiver.length; }, - $eq: function(_, other) { - if (other == null) - return false; - if (this === other) - return true; - return !!J.getInterceptor$(other).$isUri && this._uri == other.toString$0(0); - }, - _toNonSimple$0: function() { - var t1, t2, t3, t4, t5, t6, t7, t8; - t1 = this.get$scheme(); - t2 = this.get$userInfo(); - t3 = this._hostStart > 0 ? this.get$host(this) : null; - t4 = this.get$hasPort() ? this.get$port(this) : null; - t5 = this._uri; - t6 = this._queryStart; - t7 = J.substring$2$s(t5, this._pathStart, t6); - t8 = this._fragmentStart; - if (typeof t6 !== "number") - return t6.$lt(); - if (typeof t8 !== "number") - return H.iae(t8); - t6 = t6 < t8 ? this.get$query() : null; - return new P._Uri(t1, t2, t3, t4, t7, t6, t8 < t5.length ? this.get$fragment() : null); - }, - toString$0: function(_) { - return this._uri; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - $isUri: 1 + $indexSet(receiver, index, value) { + A._asInt(index); + type$.TextTrack._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - P._DataUri.prototype = {}; - W.HtmlElement.prototype = {}; - W.AnchorElement.prototype = { - toString$0: function(receiver) { - return String(receiver); + A.TimeRanges.prototype = { + get$length(receiver) { + return receiver.length; } }; - W.AreaElement.prototype = { - toString$0: function(receiver) { - return String(receiver); - } + A.Touch.prototype = {$isTouch: 1}; + A.TouchList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Touch._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W.Blob.prototype = {$isBlob: 1}; - W.CharacterData.prototype = { - get$length: function(receiver) { + A.TrackDefaultList.prototype = { + get$length(receiver) { return receiver.length; } }; - W.DomException.prototype = { - toString$0: function(receiver) { + A.Url.prototype = { + toString$0(receiver) { return String(receiver); } }; - W.DomTokenList.prototype = { - get$length: function(receiver) { + A.VideoTrackList.prototype = { + get$length(receiver) { return receiver.length; } }; - W.Element.prototype = { - toString$0: function(receiver) { - return receiver.localName; + A._CssRuleList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asInt(index); + type$.CssRule._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A._DomRect.prototype = { + toString$0(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(t3) + " x " + A.S(t4); + }, + $eq(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { + t1 = receiver.width; + t1.toString; + t2 = J.getInterceptor$x(other); + if (t1 === t2.get$width(other)) { + t1 = receiver.height; + t1.toString; + t2 = t1 === t2.get$height(other); + t1 = t2; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return A.Object_hash(t1, t2, t3, t4); + }, + get$_height(receiver) { + return receiver.height; + }, + get$height(receiver) { + var t1 = receiver.height; + t1.toString; + return t1; + }, + get$_width(receiver) { + return receiver.width; + }, + get$width(receiver) { + var t1 = receiver.width; + t1.toString; + return t1; + } + }; + A._GamepadList.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - get$onClick: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "click", false, [W.MouseEvent]); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.nullable_Gamepad._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - $isElement: 1 + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W.Event.prototype = {$isEvent: 1}; - W.EventTarget.prototype = { - addEventListener$3: function(receiver, type, listener, useCapture) { - H.functionTypeCheck(listener, {func: 1, args: [W.Event]}); - if (listener != null) - this._addEventListener$3(receiver, type, listener, false); + A._NamedNodeMap.prototype = { + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - _addEventListener$3: function(receiver, type, listener, options) { - return receiver.addEventListener(type, H.convertDartClosureToJS(H.functionTypeCheck(listener, {func: 1, args: [W.Event]}), 1), false); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - _removeEventListener$3: function(receiver, type, listener, options) { - return receiver.removeEventListener(type, H.convertDartClosureToJS(H.functionTypeCheck(listener, {func: 1, args: [W.Event]}), 1), false); + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - $isEventTarget: 1 - }; - W.File.prototype = {$isFile: 1}; - W.FormElement.prototype = { - get$length: function(receiver) { - return receiver.length; - } + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W.HtmlCollection.prototype = { - get$length: function(receiver) { + A._SpeechRecognitionResultList.prototype = { + get$length(receiver) { return receiver.length; }, - $index: function(receiver, index) { - H.intTypeCheck(index); + $index(receiver, index) { + A._asInt(index); if (index >>> 0 !== index || index >= receiver.length) - throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver[index]; }, - $indexSet: function(receiver, index, value) { - H.intTypeCheck(index); - H.interceptedTypeCheck(value, "$isNode"); - throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.SpeechRecognitionResult._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - elementAt$1: function(receiver, index) { - if (index < 0 || index >= receiver.length) - return H.ioore(receiver, index); + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); return receiver[index]; }, $isEfficientLengthIterable: 1, - $asEfficientLengthIterable: function() { - return [W.Node]; - }, $isJavaScriptIndexingBehavior: 1, - $asJavaScriptIndexingBehavior: function() { - return [W.Node]; + $isIterable: 1, + $isList: 1 + }; + A._StyleSheetList.prototype = { + get$length(receiver) { + return receiver.length; }, - $asListMixin: function() { - return [W.Node]; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver[index]; }, - $isIterable: 1, - $asIterable: function() { - return [W.Node]; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.StyleSheet._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - $isList: 1, - $asList: function() { - return [W.Node]; + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; }, - $asImmutableListMixin: function() { - return [W.Node]; - } + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 }; - W.IFrameElement.prototype = {$isIFrameElement: 1}; - W.Location.prototype = { - get$origin: function(receiver) { - if ("origin" in receiver) - return receiver.origin; - return H.S(receiver.protocol) + "//" + H.S(receiver.host); - }, - toString$0: function(receiver) { - return String(receiver); + A.ImmutableListMixin.prototype = { + get$iterator(receiver) { + return new A.FixedSizeListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("FixedSizeListIterator")); } }; - W.MessageEvent.prototype = {$isMessageEvent: 1}; - W.MessagePort.prototype = { - addEventListener$3: function(receiver, type, listener, useCapture) { - H.functionTypeCheck(listener, {func: 1, args: [W.Event]}); - if (type === "message") - receiver.start(); - this.super$EventTarget$addEventListener(receiver, type, listener, false); + A.FixedSizeListIterator.prototype = { + moveNext$0() { + var _this = this, + nextPosition = _this._position + 1, + t1 = _this._html$_length; + if (nextPosition < t1) { + _this.set$_html$_current(J.$index$asx(_this._array, nextPosition)); + _this._position = nextPosition; + return true; + } + _this.set$_html$_current(null); + _this._position = t1; + return false; }, - postMessage$1: function(receiver, message) { - receiver.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message)); - return; + get$current(_) { + var t1 = this._html$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + set$_html$_current(_current) { + this._html$_current = this.$ti._eval$1("1?")._as(_current); }, - $isMessagePort: 1 + $isIterator: 1 }; - W.MouseEvent.prototype = {$isMouseEvent: 1}; - W.Node.prototype = { - toString$0: function(receiver) { - var value = receiver.nodeValue; - return value == null ? this.super$Interceptor$toString(receiver) : value; + A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._MidiInputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MidiOutputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._RtcStatsReport_JavaScriptObject_MapMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._Storage_JavaScriptObject_MapMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._convertDataTree__convert.prototype = { + call$1(o) { + var convertedMap, t2, key, convertedList, + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (type$.Map_dynamic_dynamic._is(o)) { + convertedMap = {}; + t1.$indexSet(0, o, convertedMap); + for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { + key = t2.get$current(t2); + convertedMap[key] = this.call$1(t1.$index(o, key)); + } + return convertedMap; + } else if (type$.Iterable_dynamic._is(o)) { + convertedList = []; + t1.$indexSet(0, o, convertedList); + B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); + return convertedList; + } else + return o; }, - _removeChild$1: function(receiver, child) { - return receiver.removeChild(child); + $signature: 20 + }; + A.promiseToFuture_closure.prototype = { + call$1(r) { + return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); }, - $isNode: 1 + $signature: 3 }; - W.SelectElement.prototype = { - get$length: function(receiver) { - return receiver.length; - } + A.promiseToFuture_closure0.prototype = { + call$1(e) { + if (e == null) + return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); + return this.completer.completeError$1(e); + }, + $signature: 3 + }; + A.dartify_convert.prototype = { + call$1(o) { + var proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, $length, + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (o == null || A._isBool(o) || typeof o == "number" || typeof o == "string") + return o; + if (o instanceof Date) + return A.DateTime$fromMillisecondsSinceEpoch(o.getTime(), true); + if (o instanceof RegExp) + throw A.wrapException(A.ArgumentError$("structured clone of RegExp", null)); + if (typeof Promise != "undefined" && o instanceof Promise) + return A.promiseToFuture(o, type$.dynamic); + proto = Object.getPrototypeOf(o); + if (proto === Object.prototype || proto === null) { + t2 = type$.nullable_Object; + dartObject = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); + t1.$indexSet(0, o, dartObject); + originalKeys = Object.keys(o); + dartKeys = []; + for (t1 = J.getInterceptor$ax(originalKeys), t2 = t1.get$iterator(originalKeys); t2.moveNext$0();) + dartKeys.push(A.dartify(t2.get$current(t2))); + for (i = 0; i < t1.get$length(originalKeys); ++i) { + jsKey = t1.$index(originalKeys, i); + if (!(i < dartKeys.length)) + return A.ioore(dartKeys, i); + dartKey = dartKeys[i]; + if (jsKey != null) + dartObject.$indexSet(0, dartKey, this.call$1(o[jsKey])); + } + return dartObject; + } + if (o instanceof Array) { + l = o; + dartObject = []; + t1.$indexSet(0, o, dartObject); + $length = A._asInt(o.length); + for (t1 = J.getInterceptor$asx(l), i = 0; i < $length; ++i) + dartObject.push(this.call$1(t1.$index(l, i))); + return dartObject; + } + return o; + }, + $signature: 20 }; - W.UIEvent.prototype = {}; - W.Window.prototype = { - get$location: function(receiver) { - return receiver.location; + A.NullRejectionException.prototype = { + toString$0(_) { + return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; }, - postMessage$3: function(receiver, message, targetOrigin, transfer) { - H.assertSubtype(transfer, "$isList", [P.Object], "$asList"); - this._postMessage_1$3(receiver, new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin, transfer); - return; + $isException: 1 + }; + A.Length.prototype = {$isLength: 1}; + A.LengthList.prototype = { + get$length(receiver) { + return receiver.length; }, - _postMessage_1$3: function(receiver, message, targetOrigin, transfer) { - return receiver.postMessage(message, targetOrigin, H.assertSubtype(transfer, "$isList", [P.Object], "$asList")); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); }, - $isWindowBase: 1 - }; - W._EventStream.prototype = { - listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { - var t1 = H.getTypeArgumentByIndex(this, 0); - H.functionTypeCheck(onData, {func: 1, ret: -1, args: [t1]}); - H.functionTypeCheck(onDone, {func: 1, ret: -1}); - return W._EventStreamSubscription$(this._html$_target, this._eventType, onData, false, t1); + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Length._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - listen$1: function(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - listen$3$onDone$onError: function(onData, onDone, onError) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); - } + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - W._ElementEventStreamImpl.prototype = {}; - W._EventStreamSubscription.prototype = { - cancel$0: function() { - if (this._html$_target == null) - return; - this._unlisten$0(); - this._html$_target = null; - this.set$_onData(null); - return; + A.Number.prototype = {$isNumber: 1}; + A.NumberList.prototype = { + get$length(receiver) { + return receiver.length; }, - _tryResume$0: function() { - var t1 = this._onData; - if (t1 != null && this._pauseCount <= 0) - J.addEventListener$3$x(this._html$_target, this._eventType, t1, false); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); }, - _unlisten$0: function() { - var t1, t2, t3; - t1 = this._onData; - t2 = t1 != null; - if (t2) { - t3 = this._html$_target; - t3.toString; - H.functionTypeCheck(t1, {func: 1, args: [W.Event]}); - if (t2) - J._removeEventListener$3$x(t3, this._eventType, t1, false); - } + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Number._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$_onData: function(_onData) { - this._onData = H.functionTypeCheck(_onData, {func: 1, args: [W.Event]}); - } - }; - W._EventStreamSubscription_closure.prototype = { - call$1: function(e) { - return this.onData.call$1(H.interceptedTypeCheck(e, "$isEvent")); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - $signature: 30 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - W.ImmutableListMixin.prototype = { - get$iterator: function(receiver) { - return new W.FixedSizeListIterator(receiver, receiver.length, -1, [H.getRuntimeTypeArgumentIntercepted(this, receiver, "ImmutableListMixin", 0)]); + A.PointList.prototype = { + get$length(receiver) { + return receiver.length; } }; - W.FixedSizeListIterator.prototype = { - moveNext$0: function() { - var nextPosition, t1; - nextPosition = this._position + 1; - t1 = this._length; - if (nextPosition < t1) { - t1 = this._array; - if (nextPosition < 0 || nextPosition >= t1.length) - return H.ioore(t1, nextPosition); - this.set$_current(t1[nextPosition]); - this._position = nextPosition; - return true; - } - this.set$_current(null); - this._position = t1; - return false; + A.StringList.prototype = { + get$length(receiver) { + return receiver.length; }, - get$current: function() { - return this._current; + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); }, - set$_current: function(_current) { - this._current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0)); + $indexSet(receiver, index, value) { + A._asInt(index); + A._asString(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - $isIterator: 1 - }; - W._DOMWindowCrossFrame.prototype = { - postMessage$3: function(_, message, targetOrigin, messagePorts) { - this._window.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin, messagePorts); + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - $isEventTarget: 1, - $isWindowBase: 1 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - W._HtmlCollection_Interceptor_ListMixin.prototype = {}; - W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; - P._StructuredClone.prototype = { - findSlot$1: function(value) { - var t1, $length, i; - t1 = this.values; - $length = t1.length; - for (i = 0; i < $length; ++i) - if (t1[i] === value) - return i; - C.JSArray_methods.add$1(t1, value); - C.JSArray_methods.add$1(this.copies, null); - return $length; + A.Transform.prototype = {$isTransform: 1}; + A.TransformList.prototype = { + get$length(receiver) { + return receiver.length; }, - walk$1: function(e) { - var t1, t2, slot, copy; - t1 = {}; - if (e == null) - return e; - if (typeof e === "boolean") - return e; - if (typeof e === "number") - return e; - if (typeof e === "string") - return e; - t2 = J.getInterceptor$(e); - if (!!t2.$isDateTime) - return new Date(e._core$_value); - if (!!t2.$isRegExp) - throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); - if (!!t2.$isFile) - return e; - if (!!t2.$isBlob) - return e; - if (!!t2.$isNativeByteBuffer || !!t2.$isNativeTypedData || !!t2.$isMessagePort) - return e; - if (!!t2.$isMap) { - slot = this.findSlot$1(e); - t2 = this.copies; - if (slot >= t2.length) - return H.ioore(t2, slot); - copy = t2[slot]; - t1.copy = copy; - if (copy != null) - return copy; - copy = {}; - t1.copy = copy; - C.JSArray_methods.$indexSet(t2, slot, copy); - e.forEach$1(0, new P._StructuredClone_walk_closure(t1, this)); - return t1.copy; - } - if (!!t2.$isList) { - slot = this.findSlot$1(e); - t1 = this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = t1[slot]; - if (copy != null) - return copy; - return this.copyList$2(e, slot); - } - throw H.wrapException(P.UnimplementedError$("structured clone of other type")); - }, - copyList$2: function(e, slot) { - var t1, $length, copy, i; - t1 = J.getInterceptor$asx(e); - $length = t1.get$length(e); - copy = new Array($length); - C.JSArray_methods.$indexSet(this.copies, slot, copy); - for (i = 0; i < $length; ++i) - C.JSArray_methods.$indexSet(copy, i, this.walk$1(t1.$index(e, i))); - return copy; - } - }; - P._StructuredClone_walk_closure.prototype = { - call$2: function(key, value) { - this._box_0.copy[key] = this.$this.walk$1(value); + $index(receiver, index) { + A._asInt(index); + if (index >>> 0 !== index || index >= receiver.length) + throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); }, - $signature: 13 - }; - P._AcceptStructuredClone.prototype = { - findSlot$1: function(value) { - var t1, $length, i, t2; - t1 = this.values; - $length = t1.length; - for (i = 0; i < $length; ++i) { - t2 = t1[i]; - if (t2 == null ? value == null : t2 === value) - return i; - } - C.JSArray_methods.add$1(t1, value); - C.JSArray_methods.add$1(this.copies, null); - return $length; + $indexSet(receiver, index, value) { + A._asInt(index); + type$.Transform._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - walk$1: function(e) { - var _box_0, millisSinceEpoch, t1, proto, slot, copy, l, t2, $length, i; - _box_0 = {}; - if (e == null) - return e; - if (typeof e === "boolean") - return e; - if (typeof e === "number") - return e; - if (typeof e === "string") - return e; - if (e instanceof Date) { - millisSinceEpoch = e.getTime(); - if (Math.abs(millisSinceEpoch) <= 864e13) - t1 = false; - else - t1 = true; - if (t1) - H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + millisSinceEpoch)); - return new P.DateTime(millisSinceEpoch, true); - } - if (e instanceof RegExp) - throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); - if (typeof Promise != "undefined" && e instanceof Promise) - return P.convertNativePromiseToDartFuture(e); - proto = Object.getPrototypeOf(e); - if (proto === Object.prototype || proto === null) { - slot = this.findSlot$1(e); - t1 = this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = t1[slot]; - _box_0.copy = copy; - if (copy != null) - return copy; - copy = P.LinkedHashMap__makeEmpty(); - _box_0.copy = copy; - C.JSArray_methods.$indexSet(t1, slot, copy); - this.forEachJsField$2(e, new P._AcceptStructuredClone_walk_closure(_box_0, this)); - return _box_0.copy; - } - if (e instanceof Array) { - l = e; - slot = this.findSlot$1(l); - t1 = this.copies; - if (slot >= t1.length) - return H.ioore(t1, slot); - copy = t1[slot]; - if (copy != null) - return copy; - t2 = J.getInterceptor$asx(l); - $length = t2.get$length(l); - copy = this.mustCopy ? new Array($length) : l; - C.JSArray_methods.$indexSet(t1, slot, copy); - for (t1 = J.getInterceptor$ax(copy), i = 0; i < $length; ++i) - t1.$indexSet(copy, i, this.walk$1(t2.$index(l, i))); - return copy; - } - return e; - }, - convertNativeToDart_AcceptStructuredClone$2$mustCopy: function(object, mustCopy) { - this.mustCopy = true; - return this.walk$1(object); - } - }; - P._AcceptStructuredClone_walk_closure.prototype = { - call$2: function(key, value) { - var t1, t2; - t1 = this._box_0.copy; - t2 = this.$this.walk$1(value); - J.$indexSet$ax(t1, key, t2); - return t2; + elementAt$1(receiver, index) { + return this.$index(receiver, index); }, - $signature: 31 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - P._StructuredCloneDart2Js.prototype = {}; - P._AcceptStructuredCloneDart2Js.prototype = { - forEachJsField$2: function(object, action) { - var t1, t2, _i, key; - H.functionTypeCheck(action, {func: 1, args: [,,]}); - for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { - key = t1[_i]; - action.call$2(key, object[key]); - } + A._LengthList_JavaScriptObject_ListMixin.prototype = {}; + A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.AudioBuffer.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.convertNativePromiseToDartFuture_closure.prototype = { - call$1: function(result) { - return this.completer.complete$1(0, result); + A.AudioParamMap.prototype = { + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + } }, - $signature: 6 + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.AudioParamMap_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + return receiver.size; + }, + get$isEmpty(receiver) { + return receiver.size === 0; + }, + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 }; - P.convertNativePromiseToDartFuture_closure0.prototype = { - call$1: function(result) { - return this.completer.completeError$1(result); + A.AudioParamMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 6 + $signature: 5 }; - P.SvgElement.prototype = { - get$onClick: function(receiver) { - return new W._ElementEventStreamImpl(receiver, "click", false, [W.MouseEvent]); + A.AudioTrackList.prototype = { + get$length(receiver) { + return receiver.length; } }; - P.Uint8List.prototype = {$isEfficientLengthIterable: 1, - $asEfficientLengthIterable: function() { - return [P.int]; - }, - $isIterable: 1, - $asIterable: function() { - return [P.int]; - }, - $isList: 1, - $asList: function() { - return [P.int]; + A.BaseAudioContext.prototype = {}; + A.OfflineAudioContext.prototype = { + get$length(receiver) { + return receiver.length; } }; - S.NullStreamSink.prototype = { - addStream$1: function(stream) { - var future; - H.assertSubtype(stream, "$isStream", this.$ti, "$asStream"); - this._checkEventAllowed$0(); - this._addingStream = true; - future = stream.listen$1(null).cancel$0(); - if (future == null) { - future = new P._Future(0, $.Zone__current, [null]); - future._asyncComplete$1(null); - } - return future.whenComplete$1(new S.NullStreamSink_addStream_closure(this)); + A._AudioParamMap_JavaScriptObject_MapMixin.prototype = {}; + A.NullStreamSink.prototype = { + addStream$1(_, stream) { + var _this = this; + _this.$ti._eval$1("Stream<1>")._as(stream); + _this._checkEventAllowed$0(); + _this._addingStream = true; + return stream.listen$1(null).cancel$0(0).whenComplete$1(new A.NullStreamSink_addStream_closure(_this)); }, - _checkEventAllowed$0: function() { + _checkEventAllowed$0() { if (this._null_stream_sink$_closed) - throw H.wrapException(P.StateError$("Cannot add to a closed sink.")); + throw A.wrapException(A.StateError$("Cannot add to a closed sink.")); if (this._addingStream) - throw H.wrapException(P.StateError$("Cannot add to a sink while adding a stream.")); + throw A.wrapException(A.StateError$("Cannot add to a sink while adding a stream.")); }, - close$0: function(_) { + close$0(_) { this._null_stream_sink$_closed = true; return this.done; }, $isStreamConsumer: 1, $isStreamSink: 1 }; - S.NullStreamSink_addStream_closure.prototype = { - call$0: function() { + A.NullStreamSink_addStream_closure.prototype = { + call$0() { this.$this._addingStream = false; }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + $signature: 2 }; - M.Context.prototype = { - absolute$7: function(_, part1, part2, part3, part4, part5, part6, part7) { + A.Context.prototype = { + absolute$7(_, part1, part2, part3, part4, part5, part6, part7) { var t1; - M._validateArgList("absolute", H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6, part7], [P.String])); + A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String)); t1 = this.style; t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1); if (t1) return part1; t1 = this._context$_current; - return this.join$8(0, t1 != null ? t1 : D.current(), part1, part2, part3, part4, part5, part6, part7); + return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7); }, - absolute$1: function($receiver, part1) { + absolute$1($receiver, part1) { return this.absolute$7($receiver, part1, null, null, null, null, null, null); }, - join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8) { - var parts, t1; - parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6, part7, part8], [P.String]); - M._validateArgList("join", parts); - t1 = H.getTypeArgumentByIndex(parts, 0); - return this.joinAll$1(new H.WhereIterable(parts, H.functionTypeCheck(new M.Context_join_closure(), {func: 1, ret: P.bool, args: [t1]}), [t1])); + join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) { + var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String); + A._validateArgList("join", parts); + return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); }, - join$2: function($receiver, part1, part2) { + join$2($receiver, part1, part2) { return this.join$8($receiver, part1, part2, null, null, null, null, null, null); }, - joinAll$1: function(parts) { - var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path; - H.assertSubtype(parts, "$isIterable", [P.String], "$asIterable"); - for (t1 = H.getTypeArgumentByIndex(parts, 0), t2 = H.functionTypeCheck(new M.Context_joinAll_closure(), {func: 1, ret: P.bool, args: [t1]}), t3 = parts.get$iterator(parts), t1 = new H.WhereIterator(t3, t2, [t1]), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { - t5 = t3.get$current(); + joinAll$1(parts) { + var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; + type$.Iterable_String._as(parts); + for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new A.Context_joinAll_closure()), t3 = parts.get$iterator(parts), t1 = new A.WhereIterator(t3, t2, t1._eval$1("WhereIterator")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { + t5 = t3.get$current(t3); if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { - parsed = X.ParsedPath_ParsedPath$parse(t5, t2); + parsed = A.ParsedPath_ParsedPath$parse(t5, t2); path = t4.charCodeAt(0) == 0 ? t4 : t4; - t4 = C.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); + t4 = B.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); parsed.root = t4; if (t2.needsSeparator$1(t4)) - C.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); - t4 = parsed.toString$0(0); + B.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); + t4 = "" + parsed.toString$0(0); } else if (t2.rootLength$1(t5) > 0) { isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5); - t4 = H.S(t5); + t4 = "" + t5; } else { - if (!(t5.length > 0 && t2.containsSeparator$1(t5[0]))) + t6 = t5.length; + if (t6 !== 0) { + if (0 >= t6) + return A.ioore(t5, 0); + t6 = t2.containsSeparator$1(t5[0]); + } else + t6 = false; + if (!t6) if (needsSeparator) t4 += t2.get$separator(); - t4 += H.S(t5); + t4 += t5; } needsSeparator = t2.needsSeparator$1(t5); } return t4.charCodeAt(0) == 0 ? t4 : t4; }, - split$1: function(_, path) { - var parsed, t1, t2; - parsed = X.ParsedPath_ParsedPath$parse(path, this.style); - t1 = parsed.parts; - t2 = H.getTypeArgumentByIndex(t1, 0); - parsed.set$parts(P.List_List$from(new H.WhereIterable(t1, H.functionTypeCheck(new M.Context_split_closure(), {func: 1, ret: P.bool, args: [t2]}), [t2]), true, t2)); + split$1(_, path) { + var parsed = A.ParsedPath_ParsedPath$parse(path, this.style), + t1 = parsed.parts, + t2 = A._arrayInstanceType(t1), + t3 = t2._eval$1("WhereIterable<1>"); + parsed.set$parts(A.List_List$of(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Context_split_closure()), t3), true, t3._eval$1("Iterable.E"))); t1 = parsed.root; if (t1 != null) - C.JSArray_methods.insert$2(parsed.parts, 0, t1); + B.JSArray_methods.insert$2(parsed.parts, 0, t1); return parsed.parts; }, - normalize$1: function(path) { + normalize$1(_, path) { var parsed; if (!this._needsNormalization$1(path)) return path; - parsed = X.ParsedPath_ParsedPath$parse(path, this.style); - parsed.normalize$0(); + parsed = A.ParsedPath_ParsedPath$parse(path, this.style); + parsed.normalize$0(0); return parsed.toString$0(0); }, - _needsNormalization$1: function(path) { - var t1, root, t2, i, start, previous, t3, previousPrevious, codeUnit, t4; - path.toString; - t1 = this.style; - root = t1.rootLength$1(path); + _needsNormalization$1(path) { + var i, start, previous, t2, t3, previousPrevious, codeUnit, t4, + t1 = this.style, + root = t1.rootLength$1(path); if (root !== 0) { if (t1 === $.$get$Style_windows()) - for (t2 = J.getInterceptor$s(path), i = 0; i < root; ++i) - if (t2._codeUnitAt$1(path, i) === 47) + for (i = 0; i < root; ++i) + if (B.JSString_methods._codeUnitAt$1(path, i) === 47) return true; start = root; previous = 47; @@ -13057,8 +14754,8 @@ start = 0; previous = null; } - for (t2 = new H.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { - codeUnit = C.JSString_methods.codeUnitAt$1(t2, i); + for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { + codeUnit = B.JSString_methods.codeUnitAt$1(t2, i); if (t1.isSeparator$1(codeUnit)) { if (t1 === $.$get$Style_windows() && codeUnit === 47) return true; @@ -13084,26 +14781,34 @@ return true; return false; }, - relative$1: function(path) { - var t1, t2, from, fromParsed, pathParsed, t3; - t1 = this.style; - t2 = t1.rootLength$1(path); + relative$1(path) { + var from, fromParsed, pathParsed, t3, t4, t5, _this = this, + _s26_ = 'Unable to find a path to "', + t1 = _this.style, + t2 = t1.rootLength$1(path); if (t2 <= 0) - return this.normalize$1(path); - t2 = this._context$_current; - from = t2 != null ? t2 : D.current(); + return _this.normalize$1(0, path); + t2 = _this._context$_current; + from = t2 == null ? A.current() : t2; if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) - return this.normalize$1(path); + return _this.normalize$1(0, path); if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) - path = this.absolute$1(0, path); + path = _this.absolute$1(0, path); if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) - throw H.wrapException(X.PathException$('Unable to find a path to "' + H.S(path) + '" from "' + H.S(from) + '".')); - fromParsed = X.ParsedPath_ParsedPath$parse(from, t1); - fromParsed.normalize$0(); - pathParsed = X.ParsedPath_ParsedPath$parse(path, t1); - pathParsed.normalize$0(); + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".')); + fromParsed = A.ParsedPath_ParsedPath$parse(from, t1); + fromParsed.normalize$0(0); + pathParsed = A.ParsedPath_ParsedPath$parse(path, t1); + pathParsed.normalize$0(0); t2 = fromParsed.parts; - if (t2.length > 0 && J.$eq$(t2[0], ".")) + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], "."); + } else + t2 = false; + if (t2) return pathParsed.toString$0(0); t2 = fromParsed.root; t3 = pathParsed.root; @@ -13115,290 +14820,310 @@ return pathParsed.toString$0(0); while (true) { t2 = fromParsed.parts; - if (t2.length > 0) { - t3 = pathParsed.parts; - t2 = t3.length > 0 && t1.pathsEqual$2(t2[0], t3[0]); + t3 = t2.length; + if (t3 !== 0) { + t4 = pathParsed.parts; + t5 = t4.length; + if (t5 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = t2[0]; + if (0 >= t5) + return A.ioore(t4, 0); + t4 = t1.pathsEqual$2(t2, t4[0]); + t2 = t4; + } else + t2 = false; } else t2 = false; if (!t2) break; - C.JSArray_methods.removeAt$1(fromParsed.parts, 0); - C.JSArray_methods.removeAt$1(fromParsed.separators, 1); - C.JSArray_methods.removeAt$1(pathParsed.parts, 0); - C.JSArray_methods.removeAt$1(pathParsed.separators, 1); + B.JSArray_methods.removeAt$1(fromParsed.parts, 0); + B.JSArray_methods.removeAt$1(fromParsed.separators, 1); + B.JSArray_methods.removeAt$1(pathParsed.parts, 0); + B.JSArray_methods.removeAt$1(pathParsed.separators, 1); } t2 = fromParsed.parts; - if (t2.length > 0 && J.$eq$(t2[0], "..")) - throw H.wrapException(X.PathException$('Unable to find a path to "' + H.S(path) + '" from "' + H.S(from) + '".')); - t2 = P.String; - C.JSArray_methods.insertAll$2(pathParsed.parts, 0, P.List_List$filled(fromParsed.parts.length, "..", t2)); - C.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); - C.JSArray_methods.insertAll$2(pathParsed.separators, 1, P.List_List$filled(fromParsed.parts.length, t1.get$separator(), t2)); + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], ".."); + } else + t2 = false; + if (t2) + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".')); + t2 = type$.String; + B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2)); + B.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); + B.JSArray_methods.insertAll$2(pathParsed.separators, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(), false, t2)); t1 = pathParsed.parts; t2 = t1.length; if (t2 === 0) return "."; - if (t2 > 1 && J.$eq$(C.JSArray_methods.get$last(t1), ".")) { - C.JSArray_methods.removeLast$0(pathParsed.parts); + if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) { + B.JSArray_methods.removeLast$0(pathParsed.parts); t1 = pathParsed.separators; - C.JSArray_methods.removeLast$0(t1); - C.JSArray_methods.removeLast$0(t1); - C.JSArray_methods.add$1(t1, ""); + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + B.JSArray_methods.add$1(t1, ""); } pathParsed.root = ""; pathParsed.removeTrailingSeparators$0(); return pathParsed.toString$0(0); }, - toUri$1: function(path) { - var t1, t2; - t1 = this.style; + toUri$1(path) { + var t2, + t1 = this.style; if (t1.rootLength$1(path) <= 0) return t1.relativePathToUri$1(path); else { t2 = this._context$_current; - return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : D.current(), path)); + return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path)); } }, - prettyUri$1: function(uri) { - var typedUri, path, rel; - typedUri = M._parseUri(uri); - if (typedUri.get$scheme() === "file" && this.style == $.$get$Style_url()) + prettyUri$1(uri) { + var path, rel, _this = this, + typedUri = A._parseUri(uri); + if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url()) return typedUri.toString$0(0); - else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && this.style != $.$get$Style_url()) + else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url()) return typedUri.toString$0(0); - path = this.normalize$1(this.style.pathFromUri$1(M._parseUri(typedUri))); - rel = this.relative$1(path); - return this.split$1(0, rel).length > this.split$1(0, path).length ? path : rel; + path = _this.normalize$1(0, _this.style.pathFromUri$1(A._parseUri(typedUri))); + rel = _this.relative$1(path); + return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel; } }; - M.Context_join_closure.prototype = { - call$1: function(part) { - return H.stringTypeCheck(part) != null; - }, - $signature: 2 - }; - M.Context_joinAll_closure.prototype = { - call$1: function(part) { - return H.stringTypeCheck(part) !== ""; + A.Context_joinAll_closure.prototype = { + call$1(part) { + return A._asString(part) !== ""; }, - $signature: 2 + $signature: 1 }; - M.Context_split_closure.prototype = { - call$1: function(part) { - return H.stringTypeCheck(part).length !== 0; + A.Context_split_closure.prototype = { + call$1(part) { + return A._asString(part).length !== 0; }, - $signature: 2 + $signature: 1 }; - M._validateArgList_closure.prototype = { - call$1: function(arg) { - H.stringTypeCheck(arg); + A._validateArgList_closure.prototype = { + call$1(arg) { + A._asStringQ(arg); return arg == null ? "null" : '"' + arg + '"'; }, - $signature: 14 + $signature: 33 }; - B.InternalStyle.prototype = { - getRoot$1: function(path) { - var $length, t1; - $length = this.rootLength$1(path); + A.InternalStyle.prototype = { + getRoot$1(path) { + var t1, + $length = this.rootLength$1(path); if ($length > 0) - return J.substring$2$s(path, 0, $length); + return B.JSString_methods.substring$2(path, 0, $length); if (this.isRootRelative$1(path)) { if (0 >= path.length) - return H.ioore(path, 0); + return A.ioore(path, 0); t1 = path[0]; } else t1 = null; return t1; }, - relativePathToUri$1: function(path) { - var segments = M.Context_Context(this).split$1(0, path); - if (this.isSeparator$1(J.codeUnitAt$1$s(path, path.length - 1))) - C.JSArray_methods.add$1(segments, ""); - return P._Uri__Uri(null, null, segments, null); - }, - pathsEqual$2: function(path1, path2) { - return path1 == path2; + relativePathToUri$1(path) { + var segments, _null = null, + t1 = path.length; + if (t1 === 0) + return A._Uri__Uri(_null, _null, _null, _null); + segments = A.Context_Context(this).split$1(0, path); + if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1))) + B.JSArray_methods.add$1(segments, ""); + return A._Uri__Uri(_null, _null, segments, _null); + }, + pathsEqual$2(path1, path2) { + return path1 === path2; } }; - X.ParsedPath.prototype = { - get$hasTrailingSeparator: function() { + A.ParsedPath.prototype = { + get$hasTrailingSeparator() { var t1 = this.parts; if (t1.length !== 0) - t1 = J.$eq$(C.JSArray_methods.get$last(t1), "") || !J.$eq$(C.JSArray_methods.get$last(this.separators), ""); + t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), ""); else t1 = false; return t1; }, - removeTrailingSeparators$0: function() { - var t1, t2; + removeTrailingSeparators$0() { + var t1, t2, _this = this; while (true) { - t1 = this.parts; - if (!(t1.length !== 0 && J.$eq$(C.JSArray_methods.get$last(t1), ""))) + t1 = _this.parts; + if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), ""))) break; - C.JSArray_methods.removeLast$0(this.parts); - C.JSArray_methods.removeLast$0(this.separators); + B.JSArray_methods.removeLast$0(_this.parts); + t1 = _this.separators; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); } - t1 = this.separators; + t1 = _this.separators; t2 = t1.length; - if (t2 > 0) - C.JSArray_methods.$indexSet(t1, t2 - 1, ""); - }, - normalize$0: function() { - var t1, newParts, t2, t3, leadingDoubles, _i, part, t4, newSeparators; - t1 = P.String; - newParts = H.setRuntimeTypeInfo([], [t1]); - for (t2 = this.parts, t3 = t2.length, leadingDoubles = 0, _i = 0; _i < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i) { - part = t2[_i]; - t4 = J.getInterceptor$(part); - if (!(t4.$eq(part, ".") || t4.$eq(part, ""))) - if (t4.$eq(part, "..")) - if (newParts.length > 0) + if (t2 !== 0) + B.JSArray_methods.$indexSet(t1, t2 - 1, ""); + }, + normalize$0(_) { + var t1, t2, leadingDoubles, _i, part, t3, _this = this, + newParts = A._setArrayType([], type$.JSArray_String); + for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + part = t1[_i]; + t3 = J.getInterceptor$(part); + if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) + if (t3.$eq(part, "..")) { + t3 = newParts.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(newParts, -1); newParts.pop(); - else + } else ++leadingDoubles; - else - C.JSArray_methods.add$1(newParts, part); - } - if (this.root == null) - C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDoubles, "..", t1)); - if (newParts.length === 0 && this.root == null) - C.JSArray_methods.add$1(newParts, "."); - newSeparators = P.List_List$generate(newParts.length, new X.ParsedPath_normalize_closure(this), true, t1); - t1 = this.root; - C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.length > 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); - this.set$parts(newParts); - this.set$separators(newSeparators); - t1 = this.root; - if (t1 != null && this.style == $.$get$Style_windows()) { - t1.toString; - this.root = H.stringReplaceAllUnchecked(t1, "/", "\\"); - } - this.removeTrailingSeparators$0(); - }, - toString$0: function(_) { - var t1, i, t2; - t1 = this.root; - t1 = t1 != null ? t1 : ""; - for (i = 0; i < this.parts.length; ++i) { - t2 = this.separators; - if (i >= t2.length) - return H.ioore(t2, i); - t2 = t1 + H.S(t2[i]); - t1 = this.parts; - if (i >= t1.length) - return H.ioore(t1, i); - t1 = t2 + H.S(t1[i]); - } - t1 += H.S(C.JSArray_methods.get$last(this.separators)); + } else + B.JSArray_methods.add$1(newParts, part); + } + if (_this.root == null) + B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String)); + if (newParts.length === 0 && _this.root == null) + B.JSArray_methods.add$1(newParts, "."); + _this.set$parts(newParts); + t1 = _this.style; + _this.set$separators(A.List_List$filled(newParts.length + 1, t1.get$separator(), true, type$.String)); + t2 = _this.root; + if (t2 == null || newParts.length === 0 || !t1.needsSeparator$1(t2)) + B.JSArray_methods.$indexSet(_this.separators, 0, ""); + t2 = _this.root; + if (t2 != null && t1 === $.$get$Style_windows()) { + t2.toString; + _this.root = A.stringReplaceAllUnchecked(t2, "/", "\\"); + } + _this.removeTrailingSeparators$0(); + }, + toString$0(_) { + var i, t2, t3, _this = this, + t1 = _this.root; + t1 = t1 != null ? "" + t1 : ""; + for (i = 0; i < _this.parts.length; ++i, t1 = t3) { + t2 = _this.separators; + if (!(i < t2.length)) + return A.ioore(t2, i); + t2 = A.S(t2[i]); + t3 = _this.parts; + if (!(i < t3.length)) + return A.ioore(t3, i); + t3 = t1 + t2 + A.S(t3[i]); + } + t1 += A.S(B.JSArray_methods.get$last(_this.separators)); return t1.charCodeAt(0) == 0 ? t1 : t1; }, - set$parts: function(parts) { - this.parts = H.assertSubtype(parts, "$isList", [P.String], "$asList"); + set$parts(parts) { + this.parts = type$.List_String._as(parts); }, - set$separators: function(separators) { - this.separators = H.assertSubtype(separators, "$isList", [P.String], "$asList"); + set$separators(separators) { + this.separators = type$.List_String._as(separators); } }; - X.ParsedPath_normalize_closure.prototype = { - call$1: function(_) { - return this.$this.style.get$separator(); - }, - $signature: 12 - }; - X.PathException.prototype = { - toString$0: function(_) { + A.PathException.prototype = { + toString$0(_) { return "PathException: " + this.message; - } + }, + $isException: 1 }; - O.Style.prototype = { - toString$0: function(_) { + A.Style.prototype = { + toString$0(_) { return this.get$name(this); } }; - E.PosixStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + A.PosixStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - isSeparator$1: function(codeUnit) { + isSeparator$1(codeUnit) { return codeUnit === 47; }, - needsSeparator$1: function(path) { + needsSeparator$1(path) { var t1 = path.length; - return t1 !== 0 && J.codeUnitAt$1$s(path, t1 - 1) !== 47; + return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; }, - rootLength$2$withDrive: function(path, withDrive) { - if (path.length !== 0 && J._codeUnitAt$1$s(path, 0) === 47) + rootLength$2$withDrive(path, withDrive) { + if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47) return 1; return 0; }, - rootLength$1: function(path) { + rootLength$1(path) { return this.rootLength$2$withDrive(path, false); }, - isRootRelative$1: function(path) { + isRootRelative$1(path) { return false; }, - pathFromUri$1: function(uri) { + pathFromUri$1(uri) { var t1; if (uri.get$scheme() === "" || uri.get$scheme() === "file") { t1 = uri.get$path(uri); - return P._Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); } - throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); }, - absolutePathToUri$1: function(path) { - var parsed, t1; - parsed = X.ParsedPath_ParsedPath$parse(path, this); - t1 = parsed.parts; + absolutePathToUri$1(path) { + var parsed = A.ParsedPath_ParsedPath$parse(path, this), + t1 = parsed.parts; if (t1.length === 0) - C.JSArray_methods.addAll$1(t1, H.setRuntimeTypeInfo(["", ""], [P.String])); + B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String)); else if (parsed.get$hasTrailingSeparator()) - C.JSArray_methods.add$1(parsed.parts, ""); - return P._Uri__Uri(null, null, parsed.parts, "file"); + B.JSArray_methods.add$1(parsed.parts, ""); + return A._Uri__Uri(null, null, parsed.parts, "file"); }, - get$name: function(receiver) { - return this.name; + get$name() { + return "posix"; }, - get$separator: function() { - return this.separator; + get$separator() { + return "/"; } }; - F.UrlStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + A.UrlStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - isSeparator$1: function(codeUnit) { + isSeparator$1(codeUnit) { return codeUnit === 47; }, - needsSeparator$1: function(path) { + needsSeparator$1(path) { var t1 = path.length; if (t1 === 0) return false; - if (J.getInterceptor$s(path).codeUnitAt$1(path, t1 - 1) !== 47) + if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) return true; - return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; + return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; }, - rootLength$2$withDrive: function(path, withDrive) { - var t1, i, codeUnit, index, t2; - t1 = path.length; + rootLength$2$withDrive(path, withDrive) { + var i, codeUnit, index, t2, + t1 = path.length; if (t1 === 0) return 0; - if (J.getInterceptor$s(path)._codeUnitAt$1(path, 0) === 47) + if (B.JSString_methods._codeUnitAt$1(path, 0) === 47) return 1; for (i = 0; i < t1; ++i) { - codeUnit = C.JSString_methods._codeUnitAt$1(path, i); + codeUnit = B.JSString_methods._codeUnitAt$1(path, i); if (codeUnit === 47) return 0; if (codeUnit === 58) { if (i === 0) return 0; - index = C.JSString_methods.indexOf$2(path, "/", C.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); + index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); if (index <= 0) return t1; if (!withDrive || t1 < index + 3) return index; - if (!C.JSString_methods.startsWith$1(path, "file://")) + if (!B.JSString_methods.startsWith$1(path, "file://")) return index; - if (!B.isDriveLetter(path, index + 1)) + if (!A.isDriveLetter(path, index + 1)) return index; t2 = index + 3; return t1 === t2 ? t2 : index + 4; @@ -13406,56 +15131,56 @@ } return 0; }, - rootLength$1: function(path) { + rootLength$1(path) { return this.rootLength$2$withDrive(path, false); }, - isRootRelative$1: function(path) { - return path.length !== 0 && J._codeUnitAt$1$s(path, 0) === 47; + isRootRelative$1(path) { + return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47; }, - pathFromUri$1: function(uri) { - return J.toString$0$(uri); + pathFromUri$1(uri) { + return uri.toString$0(0); }, - relativePathToUri$1: function(path) { - return P.Uri_parse(path); + relativePathToUri$1(path) { + return A.Uri_parse(path); }, - absolutePathToUri$1: function(path) { - return P.Uri_parse(path); + absolutePathToUri$1(path) { + return A.Uri_parse(path); }, - get$name: function(receiver) { - return this.name; + get$name() { + return "url"; }, - get$separator: function() { - return this.separator; + get$separator() { + return "/"; } }; - L.WindowsStyle.prototype = { - containsSeparator$1: function(path) { - return C.JSString_methods.contains$1(path, "/"); + A.WindowsStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); }, - isSeparator$1: function(codeUnit) { + isSeparator$1(codeUnit) { return codeUnit === 47 || codeUnit === 92; }, - needsSeparator$1: function(path) { + needsSeparator$1(path) { var t1 = path.length; if (t1 === 0) return false; - t1 = J.codeUnitAt$1$s(path, t1 - 1); + t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1); return !(t1 === 47 || t1 === 92); }, - rootLength$2$withDrive: function(path, withDrive) { - var t1, t2, index; - t1 = path.length; + rootLength$2$withDrive(path, withDrive) { + var t2, index, + t1 = path.length; if (t1 === 0) return 0; - t2 = J.getInterceptor$s(path)._codeUnitAt$1(path, 0); + t2 = B.JSString_methods._codeUnitAt$1(path, 0); if (t2 === 47) return 1; if (t2 === 92) { - if (t1 < 2 || C.JSString_methods._codeUnitAt$1(path, 1) !== 92) + if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92) return 1; - index = C.JSString_methods.indexOf$2(path, "\\", 2); + index = B.JSString_methods.indexOf$2(path, "\\", 2); if (index > 0) { - index = C.JSString_methods.indexOf$2(path, "\\", index + 1); + index = B.JSString_methods.indexOf$2(path, "\\", index + 1); if (index > 0) return index; } @@ -13463,59 +15188,57 @@ } if (t1 < 3) return 0; - if (!B.isAlphabetic(t2)) + if (!A.isAlphabetic(t2)) return 0; - if (C.JSString_methods._codeUnitAt$1(path, 1) !== 58) + if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58) return 0; - t1 = C.JSString_methods._codeUnitAt$1(path, 2); + t1 = B.JSString_methods._codeUnitAt$1(path, 2); if (!(t1 === 47 || t1 === 92)) return 0; return 3; }, - rootLength$1: function(path) { + rootLength$1(path) { return this.rootLength$2$withDrive(path, false); }, - isRootRelative$1: function(path) { + isRootRelative$1(path) { return this.rootLength$1(path) === 1; }, - pathFromUri$1: function(uri) { + pathFromUri$1(uri) { var path, t1; if (uri.get$scheme() !== "" && uri.get$scheme() !== "file") - throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); path = uri.get$path(uri); if (uri.get$host(uri) === "") { - if (path.length >= 3 && J.startsWith$1$s(path, "/") && B.isDriveLetter(path, 1)) - path = J.replaceFirst$2$s(path, "/", ""); + if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1)) + path = B.JSString_methods.replaceFirst$2(path, "/", ""); } else - path = "\\\\" + H.S(uri.get$host(uri)) + H.S(path); - path.toString; - t1 = H.stringReplaceAllUnchecked(path, "/", "\\"); - return P._Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); - }, - absolutePathToUri$1: function(path) { - var parsed, t1, t2, rootParts; - parsed = X.ParsedPath_ParsedPath$parse(path, this); - t1 = parsed.root; - if (J.startsWith$1$s(t1, "\\\\")) { - t1 = H.setRuntimeTypeInfo(t1.split("\\"), [P.String]); - t2 = H.getTypeArgumentByIndex(t1, 0); - rootParts = new H.WhereIterable(t1, H.functionTypeCheck(new L.WindowsStyle_absolutePathToUri_closure(), {func: 1, ret: P.bool, args: [t2]}), [t2]); - C.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts)); + path = "\\\\" + uri.get$host(uri) + path; + t1 = A.stringReplaceAllUnchecked(path, "/", "\\"); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); + }, + absolutePathToUri$1(path) { + var rootParts, t2, + parsed = A.ParsedPath_ParsedPath$parse(path, this), + t1 = parsed.root; + t1.toString; + if (B.JSString_methods.startsWith$1(t1, "\\\\")) { + rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), type$.bool_Function_String._as(new A.WindowsStyle_absolutePathToUri_closure()), type$.WhereIterable_String); + B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts)); if (parsed.get$hasTrailingSeparator()) - C.JSArray_methods.add$1(parsed.parts, ""); - return P._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file"); + B.JSArray_methods.add$1(parsed.parts, ""); + return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file"); } else { if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator()) - C.JSArray_methods.add$1(parsed.parts, ""); + B.JSArray_methods.add$1(parsed.parts, ""); t1 = parsed.parts; t2 = parsed.root; t2.toString; - t2 = H.stringReplaceAllUnchecked(t2, "/", ""); - C.JSArray_methods.insert$2(t1, 0, H.stringReplaceAllUnchecked(t2, "\\", "")); - return P._Uri__Uri(null, null, parsed.parts, "file"); + t2 = A.stringReplaceAllUnchecked(t2, "/", ""); + B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", "")); + return A._Uri__Uri(null, null, parsed.parts, "file"); } }, - codeUnitsEqual$2: function(codeUnit1, codeUnit2) { + codeUnitsEqual$2(codeUnit1, codeUnit2) { var upperCase1; if (codeUnit1 === codeUnit2) return true; @@ -13528,1163 +15251,1600 @@ upperCase1 = codeUnit1 | 32; return upperCase1 >= 97 && upperCase1 <= 122; }, - pathsEqual$2: function(path1, path2) { - var t1, t2, i; - if (path1 == path2) + pathsEqual$2(path1, path2) { + var t1, i; + if (path1 === path2) return true; t1 = path1.length; if (t1 !== path2.length) return false; - for (t2 = J.getInterceptor$s(path2), i = 0; i < t1; ++i) - if (!this.codeUnitsEqual$2(C.JSString_methods._codeUnitAt$1(path1, i), t2._codeUnitAt$1(path2, i))) + for (i = 0; i < t1; ++i) + if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i))) return false; return true; }, - get$name: function(receiver) { - return this.name; + get$name() { + return "windows"; }, - get$separator: function() { - return this.separator; + get$separator() { + return "\\"; } }; - L.WindowsStyle_absolutePathToUri_closure.prototype = { - call$1: function(part) { - return H.stringTypeCheck(part) !== ""; + A.WindowsStyle_absolutePathToUri_closure.prototype = { + call$1(part) { + return A._asString(part) !== ""; }, - $signature: 2 + $signature: 1 }; - U.Chain.prototype = { - toTrace$0: function() { - var t1, t2, t3; - t1 = this.traces; - t2 = A.Frame; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new Y.Trace(P.List_List$unmodifiable(new H.ExpandIterable(t1, H.functionTypeCheck(new U.Chain_toTrace_closure(), {func: 1, ret: [P.Iterable, t2], args: [t3]}), [t3, t2]), t2), new P._StringStackTrace(null)); - }, - toString$0: function(_) { - var t1, t2, t3, t4; - t1 = this.traces; - t2 = P.int; - t3 = H.getTypeArgumentByIndex(t1, 0); - t4 = P.String; - return new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_toString_closure(new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_toString_closure0(), {func: 1, ret: t2, args: [t3]}), [t3, t2]).fold$1$2(0, 0, H.instantiate1(P.math__max$closure(), t2), t2)), {func: 1, ret: t4, args: [t3]}), [t3, t4]).join$1(0, "===== asynchronous gap ===========================\n"); + A.Chain.prototype = { + toTrace$0() { + var t1 = this.traces, + t2 = A._arrayInstanceType(t1); + return A.Trace$(new A.ExpandIterable(t1, t2._eval$1("Iterable(1)")._as(new A.Chain_toTrace_closure()), t2._eval$1("ExpandIterable<1,Frame>")), null); + }, + toString$0(_) { + var t1 = this.traces, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Chain_toString_closure(new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Chain_toString_closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int))), t2._eval$1("MappedListIterable<1,String>")).join$1(0, string$.______); }, $isStackTrace: 1 }; - U.Chain_Chain$parse_closure.prototype = { - call$1: function(trace) { - H.stringTypeCheck(trace); - return new Y.Trace(P.List_List$unmodifiable(Y.Trace__parseVM(trace), A.Frame), new P._StringStackTrace(trace)); + A.Chain_Chain$parse_closure.prototype = { + call$1(line) { + return A._asString(line).length !== 0; }, - $signature: 19 + $signature: 1 }; - U.Chain_Chain$parse_closure0.prototype = { - call$1: function(trace) { - return Y.Trace$parseFriendly(H.stringTypeCheck(trace)); + A.Chain_Chain$parse_closure0.prototype = { + call$1(trace) { + return A.Trace$parseVM(A._asString(trace)); }, - $signature: 19 + $signature: 18 }; - U.Chain_toTrace_closure.prototype = { - call$1: function(trace) { - return H.interceptedTypeCheck(trace, "$isTrace").get$frames(); + A.Chain_Chain$parse_closure1.prototype = { + call$1(trace) { + return A.Trace$parseFriendly(A._asString(trace)); }, - $signature: 34 + $signature: 18 }; - U.Chain_toString_closure0.prototype = { - call$1: function(trace) { - var t1, t2, t3; - t1 = H.interceptedTypeCheck(trace, "$isTrace").get$frames(); - t2 = P.int; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_toString__closure0(), {func: 1, ret: t2, args: [t3]}), [t3, t2]).fold$1$2(0, 0, H.instantiate1(P.math__max$closure(), t2), t2); + A.Chain_toTrace_closure.prototype = { + call$1(trace) { + return type$.Trace._as(trace).get$frames(); }, $signature: 35 }; - U.Chain_toString__closure0.prototype = { - call$1: function(frame) { - H.interceptedTypeCheck(frame, "$isFrame"); + A.Chain_toString_closure0.prototype = { + call$1(trace) { + var t1 = type$.Trace._as(trace).get$frames(), + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Chain_toString__closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int); + }, + $signature: 36 + }; + A.Chain_toString__closure0.prototype = { + call$1(frame) { + type$.Frame._as(frame); return frame.get$location(frame).length; }, - $signature: 18 + $signature: 17 }; - U.Chain_toString_closure.prototype = { - call$1: function(trace) { - var t1, t2, t3; - t1 = H.interceptedTypeCheck(trace, "$isTrace").get$frames(); - t2 = P.String; - t3 = H.getTypeArgumentByIndex(t1, 0); - return new H.MappedListIterable(t1, H.functionTypeCheck(new U.Chain_toString__closure(this.longest), {func: 1, ret: t2, args: [t3]}), [t3, t2]).join$0(0); + A.Chain_toString_closure.prototype = { + call$1(trace) { + var t1 = type$.Trace._as(trace).get$frames(), + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Chain_toString__closure(this.longest)), t2._eval$1("MappedListIterable<1,String>")).join$0(0); }, - $signature: 37 + $signature: 38 }; - U.Chain_toString__closure.prototype = { - call$1: function(frame) { - H.interceptedTypeCheck(frame, "$isFrame"); - return J.padRight$1$s(frame.get$location(frame), this.longest) + " " + H.S(frame.get$member()) + "\n"; + A.Chain_toString__closure.prototype = { + call$1(frame) { + type$.Frame._as(frame); + return B.JSString_methods.padRight$1(frame.get$location(frame), this.longest) + " " + A.S(frame.get$member()) + "\n"; }, - $signature: 17 + $signature: 16 }; A.Frame.prototype = { - get$isCore: function() { + get$isCore() { return this.uri.get$scheme() === "dart"; }, - get$library: function() { + get$library() { var t1 = this.uri; if (t1.get$scheme() === "data") return "data:..."; return $.$get$context().prettyUri$1(t1); }, - get$$package: function() { + get$$package() { var t1 = this.uri; if (t1.get$scheme() !== "package") - return; - return C.JSArray_methods.get$first(t1.get$path(t1).split("/")); + return null; + return B.JSArray_methods.get$first(t1.get$path(t1).split("/")); }, - get$location: function(_) { - var t1, t2; - t1 = this.line; + get$location(_) { + var t2, _this = this, + t1 = _this.line; if (t1 == null) - return this.get$library(); - t2 = this.column; + return _this.get$library(); + t2 = _this.column; if (t2 == null) - return H.S(this.get$library()) + " " + H.S(t1); - return H.S(this.get$library()) + " " + H.S(t1) + ":" + H.S(t2); + return _this.get$library() + " " + A.S(t1); + return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2); }, - toString$0: function(_) { - return H.S(this.get$location(this)) + " in " + H.S(this.member); + toString$0(_) { + return this.get$location(this) + " in " + A.S(this.member); }, - get$uri: function() { + get$uri() { return this.uri; }, - get$line: function() { + get$line(receiver) { return this.line; }, - get$column: function() { + get$column() { return this.column; }, - get$member: function() { + get$member() { return this.member; } }; A.Frame_Frame$parseVM_closure.prototype = { - call$0: function() { - var t1, match, t2, t3, member, uri, lineAndColumn, line; - t1 = this.frame; + call$0() { + var match, t2, t3, member, uri, lineAndColumn, line, _null = null, + t1 = this.frame; if (t1 === "...") - return new A.Frame(P._Uri__Uri(null, null, null, null), null, null, "..."); + return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "..."); match = $.$get$_vmFrame().firstMatch$1(t1); if (match == null) - return new N.UnparsedFrame(P._Uri__Uri(null, "unparsed", null, null), t1); + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); t1 = match._match; if (1 >= t1.length) - return H.ioore(t1, 1); + return A.ioore(t1, 1); t2 = t1[1]; - t3 = $.$get$_asyncBody(); t2.toString; - t2 = H.stringReplaceAllUnchecked(t2, t3, ""); - member = H.stringReplaceAllUnchecked(t2, "", ""); + t3 = type$.Pattern._as($.$get$_asyncBody()); + t2 = A.stringReplaceAllUnchecked(t2, t3, ""); + member = A.stringReplaceAllUnchecked(t2, "", ""); if (2 >= t1.length) - return H.ioore(t1, 2); - uri = P.Uri_parse(t1[2]); + return A.ioore(t1, 2); + t2 = t1[2]; + t3 = t2; + t3.toString; + if (B.JSString_methods.startsWith$1(t3, "= t1.length) - return H.ioore(t1, 3); + return A.ioore(t1, 3); lineAndColumn = t1[3].split(":"); t1 = lineAndColumn.length; - line = t1 > 1 ? P.int_parse(lineAndColumn[1], null, null) : null; - return new A.Frame(uri, line, t1 > 2 ? P.int_parse(lineAndColumn[2], null, null) : null, member); + line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null; + return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member); }, - $signature: 7 + $signature: 6 }; A.Frame_Frame$parseV8_closure.prototype = { - call$0: function() { - var t1, match, t2, t3, t4; - t1 = this.frame; - match = $.$get$_v8Frame().firstMatch$1(t1); + call$0() { + var t2, t3, t4, _s4_ = "", + t1 = this.frame, + match = $.$get$_v8Frame().firstMatch$1(t1); if (match == null) - return new N.UnparsedFrame(P._Uri__Uri(null, "unparsed", null, null), t1); + return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1); t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1); t2 = match._match; t3 = t2.length; if (2 >= t3) - return H.ioore(t2, 2); + return A.ioore(t2, 2); t4 = t2[2]; if (t4 != null) { + t3 = t4; + t3.toString; t2 = t2[1]; t2.toString; - t2 = H.stringReplaceAllUnchecked(t2, "", ""); - t2 = H.stringReplaceAllUnchecked(t2, "Anonymous function", ""); - return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "(anonymous function)", "")); + t2 = A.stringReplaceAllUnchecked(t2, "", _s4_); + t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_); + return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_)); } else { if (3 >= t3) - return H.ioore(t2, 3); - return t1.call$2(t2[3], ""); + return A.ioore(t2, 3); + t2 = t2[3]; + t2.toString; + return t1.call$2(t2, _s4_); } }, - $signature: 7 + $signature: 6 }; A.Frame_Frame$parseV8_closure_parseLocation.prototype = { - call$2: function($location, member) { - var t1, evalMatch, t2, urlMatch, t3; - t1 = $.$get$_v8EvalLocation(); - evalMatch = t1.firstMatch$1($location); - for (; evalMatch != null;) { + call$2($location, member) { + var t2, urlMatch, uri, line, columnMatch, _null = null, + t1 = $.$get$_v8EvalLocation(), + evalMatch = t1.firstMatch$1($location); + for (; evalMatch != null; $location = t2) { t2 = evalMatch._match; if (1 >= t2.length) - return H.ioore(t2, 1); - $location = t2[1]; - evalMatch = t1.firstMatch$1($location); + return A.ioore(t2, 1); + t2 = t2[1]; + t2.toString; + evalMatch = t1.firstMatch$1(t2); } if ($location === "native") - return new A.Frame(P.Uri_parse("native"), null, null, member); + return new A.Frame(A.Uri_parse("native"), _null, _null, member); urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location); if (urlMatch == null) - return new N.UnparsedFrame(P._Uri__Uri(null, "unparsed", null, null), this.frame); + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame); t1 = urlMatch._match; if (1 >= t1.length) - return H.ioore(t1, 1); - t2 = A.Frame__uriOrPathToUri(t1[1]); + return A.ioore(t1, 1); + t2 = t1[1]; + t2.toString; + uri = A.Frame__uriOrPathToUri(t2); if (2 >= t1.length) - return H.ioore(t1, 2); - t3 = P.int_parse(t1[2], null, null); + return A.ioore(t1, 2); + t2 = t1[2]; + t2.toString; + line = A.int_parse(t2, _null); if (3 >= t1.length) - return H.ioore(t1, 3); - return new A.Frame(t2, t3, P.int_parse(t1[3], null, null), member); + return A.ioore(t1, 3); + columnMatch = t1[3]; + return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member); }, - $signature: 40 + $signature: 41 }; - A.Frame_Frame$parseFirefox_closure.prototype = { - call$0: function() { - var t1, match, uri, t2, t3, member, line; - t1 = this.frame; - match = $.$get$_firefoxSafariFrame().firstMatch$1(t1); + A.Frame_Frame$_parseFirefoxEval_closure.prototype = { + call$0() { + var t2, member, uri, line, _null = null, + t1 = this.frame, + match = $.$get$_firefoxEvalLocation().firstMatch$1(t1); if (match == null) - return new N.UnparsedFrame(P._Uri__Uri(null, "unparsed", null, null), t1); + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); t1 = match._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t2 = t1[1]; + t2.toString; + member = A.stringReplaceAllUnchecked(t2, "/<", ""); + if (2 >= t1.length) + return A.ioore(t1, 2); + t2 = t1[2]; + t2.toString; + uri = A.Frame__uriOrPathToUri(t2); if (3 >= t1.length) - return H.ioore(t1, 3); - uri = A.Frame__uriOrPathToUri(t1[3]); - t2 = t1.length; - if (1 >= t2) - return H.ioore(t1, 1); - t3 = t1[1]; - if (t3 != null) { - if (2 >= t2) - return H.ioore(t1, 2); - t2 = C.JSString_methods.allMatches$1("/", t1[2]); - member = J.$add$ansx(t3, C.JSArray_methods.join$0(P.List_List$filled(t2.get$length(t2), ".", P.String))); + return A.ioore(t1, 3); + t1 = t1[3]; + t1.toString; + line = A.int_parse(t1, _null); + return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "" : member); + }, + $signature: 6 + }; + A.Frame_Frame$parseFirefox_closure.prototype = { + call$0() { + var t2, t3, t4, uri, member, line, column, _null = null, + t1 = this.frame, + match = $.$get$_firefoxSafariFrame().firstMatch$1(t1); + if (match == null) + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); + t2 = match._match; + if (3 >= t2.length) + return A.ioore(t2, 3); + t3 = t2[3]; + t4 = t3; + t4.toString; + if (B.JSString_methods.contains$1(t4, " line ")) + return A.Frame_Frame$_parseFirefoxEval(t1); + t1 = t3; + t1.toString; + uri = A.Frame__uriOrPathToUri(t1); + t1 = t2.length; + if (1 >= t1) + return A.ioore(t2, 1); + member = t2[1]; + if (member != null) { + if (2 >= t1) + return A.ioore(t2, 2); + t1 = t2[2]; + t1.toString; + t1 = B.JSString_methods.allMatches$1("/", t1); + member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".", false, type$.String)); if (member === "") member = ""; - member = C.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), ""); + member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), ""); } else member = ""; - if (4 >= t1.length) - return H.ioore(t1, 4); - t2 = t1[4]; - line = t2 === "" ? null : P.int_parse(t2, null, null); - if (5 >= t1.length) - return H.ioore(t1, 5); - t1 = t1[5]; - return new A.Frame(uri, line, t1 == null || t1 === "" ? null : P.int_parse(t1, null, null), member); + if (4 >= t2.length) + return A.ioore(t2, 4); + t1 = t2[4]; + if (t1 === "") + line = _null; + else { + t1 = t1; + t1.toString; + line = A.int_parse(t1, _null); + } + if (5 >= t2.length) + return A.ioore(t2, 5); + t1 = t2[5]; + if (t1 == null || t1 === "") + column = _null; + else { + t1 = t1; + t1.toString; + column = A.int_parse(t1, _null); + } + return new A.Frame(uri, line, column, member); }, - $signature: 7 + $signature: 6 }; A.Frame_Frame$parseFriendly_closure.prototype = { - call$0: function() { - var t1, match, t2, buffer, indices, uri, line, column; - t1 = this.frame; - match = $.$get$_friendlyFrame().firstMatch$1(t1); + call$0() { + var t2, uri, line, column, _null = null, + t1 = this.frame, + match = $.$get$_friendlyFrame().firstMatch$1(t1); if (match == null) - throw H.wrapException(P.FormatException$("Couldn't parse package:stack_trace stack trace line '" + H.S(t1) + "'.", null, null)); + throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null)); t1 = match._match; if (1 >= t1.length) - return H.ioore(t1, 1); + return A.ioore(t1, 1); t2 = t1[1]; - if (t2 === "data:...") { - buffer = new P.StringBuffer(""); - indices = H.setRuntimeTypeInfo([-1], [P.int]); - P.UriData__writeUri(null, null, null, buffer, indices); - C.JSArray_methods.add$1(indices, buffer._contents.length); - buffer._contents += ","; - P.UriData__uriEncodeBytes(C.List_CVk, C.AsciiCodec_false.encode$1(""), buffer); - t2 = buffer._contents; - uri = new P.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, null).get$uri(); - } else - uri = P.Uri_parse(t2); + if (t2 === "data:...") + uri = A.Uri_Uri$dataFromString(""); + else { + t2 = t2; + t2.toString; + uri = A.Uri_parse(t2); + } if (uri.get$scheme() === "") { t2 = $.$get$context(); - uri = t2.toUri$1(t2.absolute$7(0, t2.style.pathFromUri$1(M._parseUri(uri)), null, null, null, null, null, null)); + uri = t2.toUri$1(t2.absolute$7(0, t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null)); } if (2 >= t1.length) - return H.ioore(t1, 2); + return A.ioore(t1, 2); t2 = t1[2]; - line = t2 == null ? null : P.int_parse(t2, null, null); + if (t2 == null) + line = _null; + else { + t2 = t2; + t2.toString; + line = A.int_parse(t2, _null); + } if (3 >= t1.length) - return H.ioore(t1, 3); + return A.ioore(t1, 3); t2 = t1[3]; - column = t2 == null ? null : P.int_parse(t2, null, null); + if (t2 == null) + column = _null; + else { + t2 = t2; + t2.toString; + column = A.int_parse(t2, _null); + } if (4 >= t1.length) - return H.ioore(t1, 4); + return A.ioore(t1, 4); return new A.Frame(uri, line, column, t1[4]); }, - $signature: 7 + $signature: 6 }; - T.LazyTrace.prototype = { - get$_trace: function() { - var t1 = this._lazy_trace$_inner; - if (t1 == null) { - t1 = H.interceptedTypeCheck(this._thunk.call$0(), "$isTrace"); - this._lazy_trace$_inner = t1; + A.LazyTrace.prototype = { + get$_lazy_trace$_trace() { + var result, _this = this, + value = _this.__LazyTrace__trace_FI; + if (value === $) { + result = _this._thunk.call$0(); + _this.__LazyTrace__trace_FI !== $ && A.throwLateFieldADI("_trace"); + _this.__LazyTrace__trace_FI = result; + value = result; } - return t1; + return value; }, - get$frames: function() { - return this.get$_trace().get$frames(); + get$frames() { + return this.get$_lazy_trace$_trace().get$frames(); }, - get$terse: function() { - return new T.LazyTrace(new T.LazyTrace_terse_closure(this)); + get$terse() { + return new A.LazyTrace(new A.LazyTrace_terse_closure(this)); }, - toString$0: function(_) { - return J.toString$0$(this.get$_trace()); + toString$0(_) { + return this.get$_lazy_trace$_trace().toString$0(0); }, $isStackTrace: 1, $isTrace: 1 }; - T.LazyTrace_terse_closure.prototype = { - call$0: function() { - return this.$this.get$_trace().get$terse(); + A.LazyTrace_terse_closure.prototype = { + call$0() { + return this.$this.get$_lazy_trace$_trace().get$terse(); }, - $signature: 16 + $signature: 15 }; - Y.Trace.prototype = { - get$terse: function() { - return this.foldFrames$2$terse(new Y.Trace_terse_closure(), true); + A.Trace.prototype = { + get$terse() { + return this.foldFrames$2$terse(new A.Trace_terse_closure(), true); }, - foldFrames$2$terse: function(predicate, terse) { - var _box_0, t1, newFrames, t2, t3; - _box_0 = {}; + foldFrames$2$terse(predicate, terse) { + var newFrames, t1, t2, t3, _box_0 = {}; _box_0.predicate = predicate; - _box_0.predicate = new Y.Trace_foldFrames_closure(H.functionTypeCheck(predicate, {func: 1, ret: P.bool, args: [A.Frame]})); - t1 = A.Frame; - newFrames = H.setRuntimeTypeInfo([], [t1]); - for (t2 = this.frames, t3 = H.getTypeArgumentByIndex(t2, 0), t2 = new H.ReversedListIterable(t2, [t3]), t3 = new H.ListIterator(t2, t2.get$length(t2), 0, [t3]); t3.moveNext$0();) { - t2 = t3.__internal$_current; - if (t2 instanceof N.UnparsedFrame || !_box_0.predicate.call$1(t2)) - C.JSArray_methods.add$1(newFrames, t2); - else if (newFrames.length === 0 || !_box_0.predicate.call$1(C.JSArray_methods.get$last(newFrames))) - C.JSArray_methods.add$1(newFrames, new A.Frame(t2.get$uri(), t2.get$line(), t2.get$column(), t2.get$member())); - } - t2 = H.getTypeArgumentByIndex(newFrames, 0); - newFrames = new H.MappedListIterable(newFrames, H.functionTypeCheck(new Y.Trace_foldFrames_closure0(_box_0), {func: 1, ret: t1, args: [t2]}), [t2, t1]).toList$0(0); - if (newFrames.length > 1 && _box_0.predicate.call$1(C.JSArray_methods.get$first(newFrames))) - C.JSArray_methods.removeAt$1(newFrames, 0); - return new Y.Trace(P.List_List$unmodifiable(new H.ReversedListIterable(newFrames, [H.getTypeArgumentByIndex(newFrames, 0)]), t1), new P._StringStackTrace(this.original._stackTrace)); - }, - toString$0: function(_) { - var t1, t2, t3, t4; - t1 = this.frames; - t2 = P.int; - t3 = H.getTypeArgumentByIndex(t1, 0); - t4 = P.String; - return new H.MappedListIterable(t1, H.functionTypeCheck(new Y.Trace_toString_closure(new H.MappedListIterable(t1, H.functionTypeCheck(new Y.Trace_toString_closure0(), {func: 1, ret: t2, args: [t3]}), [t3, t2]).fold$1$2(0, 0, H.instantiate1(P.math__max$closure(), t2), t2)), {func: 1, ret: t4, args: [t3]}), [t3, t4]).join$0(0); + type$.bool_Function_Frame._as(predicate); + _box_0.predicate = predicate; + _box_0.predicate = new A.Trace_foldFrames_closure(predicate); + newFrames = A._setArrayType([], type$.JSArray_Frame); + for (t1 = this.frames, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3 == null) + t3 = t2._as(t3); + if (t3 instanceof A.UnparsedFrame || !A.boolConversionCheck(_box_0.predicate.call$1(t3))) + B.JSArray_methods.add$1(newFrames, t3); + else if (newFrames.length === 0 || !A.boolConversionCheck(_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))) + B.JSArray_methods.add$1(newFrames, new A.Frame(t3.get$uri(), t3.get$line(t3), t3.get$column(), t3.get$member())); + } + t1 = type$.MappedListIterable_Frame_Frame; + newFrames = A.List_List$of(new A.MappedListIterable(newFrames, type$.Frame_Function_Frame._as(new A.Trace_foldFrames_closure0(_box_0)), t1), true, t1._eval$1("ListIterable.E")); + if (newFrames.length > 1 && A.boolConversionCheck(_box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))) + B.JSArray_methods.removeAt$1(newFrames, 0); + return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace); + }, + toString$0(_) { + var t1 = this.frames, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Trace_toString_closure(new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Trace_toString_closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int))), t2._eval$1("MappedListIterable<1,String>")).join$0(0); }, $isStackTrace: 1, - get$frames: function() { + get$frames() { return this.frames; } }; - Y.Trace_Trace$from_closure.prototype = { - call$0: function() { - return Y.Trace_Trace$parse(this.trace.toString$0(0)); + A.Trace_Trace$from_closure.prototype = { + call$0() { + return A.Trace_Trace$parse(this.trace.toString$0(0)); }, - $signature: 16 + $signature: 15 }; - Y.Trace__parseVM_closure.prototype = { - call$1: function(line) { - return A.Frame_Frame$parseVM(H.stringTypeCheck(line)); + A.Trace__parseVM_closure.prototype = { + call$1(line) { + return A._asString(line).length !== 0; }, - $signature: 5 + $signature: 1 }; - Y.Trace$parseV8_closure.prototype = { - call$1: function(line) { - return !J.startsWith$1$s(H.stringTypeCheck(line), $.$get$_v8TraceLine()); + A.Trace__parseVM_closure0.prototype = { + call$1(line) { + return A.Frame_Frame$parseVM(A._asString(line)); }, - $signature: 2 + $signature: 4 }; - Y.Trace$parseV8_closure0.prototype = { - call$1: function(line) { - return A.Frame_Frame$parseV8(H.stringTypeCheck(line)); + A.Trace$parseV8_closure.prototype = { + call$1(line) { + return !B.JSString_methods.startsWith$1(A._asString(line), $.$get$_v8TraceLine()); }, - $signature: 5 + $signature: 1 }; - Y.Trace$parseJSCore_closure.prototype = { - call$1: function(line) { - return H.stringTypeCheck(line) !== "\tat "; + A.Trace$parseV8_closure0.prototype = { + call$1(line) { + return A.Frame_Frame$parseV8(A._asString(line)); }, - $signature: 2 + $signature: 4 }; - Y.Trace$parseJSCore_closure0.prototype = { - call$1: function(line) { - return A.Frame_Frame$parseV8(H.stringTypeCheck(line)); + A.Trace$parseJSCore_closure.prototype = { + call$1(line) { + return A._asString(line) !== "\tat "; }, - $signature: 5 + $signature: 1 + }; + A.Trace$parseJSCore_closure0.prototype = { + call$1(line) { + return A.Frame_Frame$parseV8(A._asString(line)); + }, + $signature: 4 }; - Y.Trace$parseFirefox_closure.prototype = { - call$1: function(line) { - H.stringTypeCheck(line); + A.Trace$parseFirefox_closure.prototype = { + call$1(line) { + A._asString(line); return line.length !== 0 && line !== "[native code]"; }, - $signature: 2 + $signature: 1 }; - Y.Trace$parseFirefox_closure0.prototype = { - call$1: function(line) { - return A.Frame_Frame$parseFirefox(H.stringTypeCheck(line)); + A.Trace$parseFirefox_closure0.prototype = { + call$1(line) { + return A.Frame_Frame$parseFirefox(A._asString(line)); }, - $signature: 5 + $signature: 4 }; - Y.Trace$parseFriendly_closure.prototype = { - call$1: function(line) { - return !J.startsWith$1$s(H.stringTypeCheck(line), "====="); + A.Trace$parseFriendly_closure.prototype = { + call$1(line) { + return !B.JSString_methods.startsWith$1(A._asString(line), "====="); }, - $signature: 2 + $signature: 1 }; - Y.Trace$parseFriendly_closure0.prototype = { - call$1: function(line) { - return A.Frame_Frame$parseFriendly(H.stringTypeCheck(line)); + A.Trace$parseFriendly_closure0.prototype = { + call$1(line) { + return A.Frame_Frame$parseFriendly(A._asString(line)); }, - $signature: 5 + $signature: 4 }; - Y.Trace_terse_closure.prototype = { - call$1: function(_) { + A.Trace_terse_closure.prototype = { + call$1(_) { return false; }, - $signature: 21 + $signature: 13 }; - Y.Trace_foldFrames_closure.prototype = { - call$1: function(frame) { - if (this.oldPredicate.call$1(frame)) + A.Trace_foldFrames_closure.prototype = { + call$1(frame) { + var t1; + if (A.boolConversionCheck(this.oldPredicate.call$1(frame))) return true; if (frame.get$isCore()) return true; if (frame.get$$package() === "stack_trace") return true; - if (!J.contains$1$asx(frame.get$member(), "")) + t1 = frame.get$member(); + t1.toString; + if (!B.JSString_methods.contains$1(t1, "")) return false; - return frame.get$line() == null; + return frame.get$line(frame) == null; }, - $signature: 21 + $signature: 13 }; - Y.Trace_foldFrames_closure0.prototype = { - call$1: function(frame) { + A.Trace_foldFrames_closure0.prototype = { + call$1(frame) { var t1, t2; - H.interceptedTypeCheck(frame, "$isFrame"); - if (frame instanceof N.UnparsedFrame || !this._box_0.predicate.call$1(frame)) + type$.Frame._as(frame); + if (frame instanceof A.UnparsedFrame || !A.boolConversionCheck(this._box_0.predicate.call$1(frame))) return frame; t1 = frame.get$library(); - t2 = $.$get$_terseRegExp(); - t1.toString; - return new A.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member()); + t2 = type$.Pattern._as($.$get$_terseRegExp()); + return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member()); }, - $signature: 44 + $signature: 45 }; - Y.Trace_toString_closure0.prototype = { - call$1: function(frame) { - H.interceptedTypeCheck(frame, "$isFrame"); + A.Trace_toString_closure0.prototype = { + call$1(frame) { + type$.Frame._as(frame); return frame.get$location(frame).length; }, - $signature: 18 + $signature: 17 }; - Y.Trace_toString_closure.prototype = { - call$1: function(frame) { - H.interceptedTypeCheck(frame, "$isFrame"); - if (frame instanceof N.UnparsedFrame) + A.Trace_toString_closure.prototype = { + call$1(frame) { + type$.Frame._as(frame); + if (frame instanceof A.UnparsedFrame) return frame.toString$0(0) + "\n"; - return J.padRight$1$s(frame.get$location(frame), this.longest) + " " + H.S(frame.get$member()) + "\n"; + return B.JSString_methods.padRight$1(frame.get$location(frame), this.longest) + " " + A.S(frame.get$member()) + "\n"; }, - $signature: 17 + $signature: 16 }; - N.UnparsedFrame.prototype = { - toString$0: function(_) { + A.UnparsedFrame.prototype = { + toString$0(_) { return this.member; }, $isFrame: 1, - get$uri: function() { + get$uri() { return this.uri; }, - get$line: function() { - return this.line; + get$line() { + return null; }, - get$column: function() { - return this.column; + get$column() { + return null; }, - get$isCore: function() { - return this.isCore; + get$isCore() { + return false; }, - get$library: function() { - return this.library; + get$library() { + return "unparsed"; }, - get$$package: function() { - return this.$package; + get$$package() { + return null; }, - get$location: function(receiver) { - return this.location; + get$location() { + return "unparsed"; }, - get$member: function() { + get$member() { return this.member; } }; - K.GuaranteeChannel.prototype = { - GuaranteeChannel$3$allowSinkErrors: function(innerSink, allowSinkErrors, _box_0, $T) { - this.set$_sink(new K._GuaranteeSink(innerSink, this, new P._AsyncCompleter(new P._Future(0, $.Zone__current, [null]), [null]), true, [$T])); - this.set$_streamController(P.StreamController_StreamController(null, new K.GuaranteeChannel_closure(_box_0, this), true, $T)); - }, - _onSinkDisconnected$0: function() { + A.GuaranteeChannel.prototype = { + GuaranteeChannel$3$allowSinkErrors(innerSink, allowSinkErrors, _box_0, $T) { + var _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic), true, $T._eval$1("_GuaranteeSink<0>"))); + _this.__GuaranteeChannel__sink_F !== $ && A.throwLateFieldAI("_sink"); + _this.set$__GuaranteeChannel__sink_F(t2); + t1 = t1._eval$1("StreamController<1>")._as(A.StreamController_StreamController(null, new A.GuaranteeChannel_closure(_box_0, _this, $T), true, $T)); + _this.__GuaranteeChannel__streamController_F !== $ && A.throwLateFieldAI("_streamController"); + _this.set$__GuaranteeChannel__streamController_F(t1); + }, + _onSinkDisconnected$0() { + var subscription, t1; this._disconnected = true; - var t1 = this._guarantee_channel$_subscription; - if (t1 != null) - t1.cancel$0(); - this._streamController.close$0(0); + subscription = this._subscription; + if (subscription != null) + subscription.cancel$0(0); + t1 = this.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + t1.close$0(0); }, - set$_sink: function(_sink) { - this._sink = H.assertSubtype(_sink, "$is_GuaranteeSink", this.$ti, "$as_GuaranteeSink"); + set$__GuaranteeChannel__sink_F(__GuaranteeChannel__sink_F) { + this.__GuaranteeChannel__sink_F = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink_F); }, - set$_streamController: function(_streamController) { - this._streamController = H.assertSubtype(_streamController, "$isStreamController", this.$ti, "$asStreamController"); + set$__GuaranteeChannel__streamController_F(__GuaranteeChannel__streamController_F) { + this.__GuaranteeChannel__streamController_F = this.$ti._eval$1("StreamController<1>")._as(__GuaranteeChannel__streamController_F); }, - set$_guarantee_channel$_subscription: function(_subscription) { - this._guarantee_channel$_subscription = H.assertSubtype(_subscription, "$isStreamSubscription", this.$ti, "$asStreamSubscription"); + set$_subscription(_subscription) { + this._subscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_subscription); } }; - K.GuaranteeChannel_closure.prototype = { - call$0: function() { - var t1, t2, t3; - t1 = this.$this; + A.GuaranteeChannel_closure.prototype = { + call$0() { + var t2, t3, + t1 = this.$this; if (t1._disconnected) return; t2 = this._box_0.innerStream; - t3 = t1._streamController; - t1.set$_guarantee_channel$_subscription(t2.listen$3$onDone$onError(t3.get$add(t3), new K.GuaranteeChannel__closure(t1), t3.get$addError())); + t3 = t1.__GuaranteeChannel__streamController_F; + t3 === $ && A.throwLateFieldNI("_streamController"); + t1.set$_subscription(t2.listen$3$onDone$onError(this.T._eval$1("~(0)")._as(t3.get$add(t3)), new A.GuaranteeChannel__closure(t1), t3.get$addError())); }, $signature: 0 }; - K.GuaranteeChannel__closure.prototype = { - call$0: function() { - var t1 = this.$this; - t1._sink._onStreamDisconnected$0(); - t1._streamController.close$0(0); + A.GuaranteeChannel__closure.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2._onStreamDisconnected$0(); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + t1.close$0(0); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - K._GuaranteeSink.prototype = { - add$1: function(_, data) { - var t1; - H.assertSubtypeOfRuntimeType(data, H.getTypeArgumentByIndex(this, 0)); - if (this._closed) - throw H.wrapException(P.StateError$("Cannot add event after closing.")); - if (this._addStreamSubscription != null) - throw H.wrapException(P.StateError$("Cannot add event while adding stream.")); - if (this._disconnected) + A._GuaranteeSink.prototype = { + add$1(_, data) { + var t1, _this = this; + _this.$ti._precomputed1._as(data); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add event after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add event while adding stream.")); + if (_this._disconnected) return; - t1 = this._inner; - t1._async$_target.add$1(0, H.assertSubtypeOfRuntimeType(data, H.getTypeArgumentByIndex(t1, 0))); - }, - addError$2: function(error, stackTrace) { - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - if (this._closed) - throw H.wrapException(P.StateError$("Cannot add event after closing.")); - if (this._addStreamSubscription != null) - throw H.wrapException(P.StateError$("Cannot add event while adding stream.")); - if (this._disconnected) + t1 = _this._inner; + t1._target.add$1(0, t1.$ti._precomputed1._as(data)); + }, + addError$2(error, stackTrace) { + var _this = this; + type$.Object._as(error); + type$.nullable_StackTrace._as(stackTrace); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add event after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add event while adding stream.")); + if (_this._disconnected) return; - this._addError$2(error, stackTrace); + _this._addError$2(error, stackTrace); }, - addError$1: function(error) { + addError$1(error) { return this.addError$2(error, null); }, - _addError$2: function(error, stackTrace) { - this._inner._async$_target.addError$2(error, H.interceptedTypeCheck(stackTrace, "$isStackTrace")); + _addError$2(error, stackTrace) { + this._inner._target.addError$2(type$.Object._as(error), type$.nullable_StackTrace._as(stackTrace)); return; }, - _addError$1: function(error) { + _addError$1(error) { return this._addError$2(error, null); }, - addStream$1: function(stream) { - var t1, t2; - H.assertSubtype(stream, "$isStream", this.$ti, "$asStream"); - if (this._closed) - throw H.wrapException(P.StateError$("Cannot add stream after closing.")); - if (this._addStreamSubscription != null) - throw H.wrapException(P.StateError$("Cannot add stream while adding stream.")); - if (this._disconnected) { - t1 = new P._Future(0, $.Zone__current, [null]); - t1._asyncComplete$1(null); - return t1; - } - t1 = new P._SyncCompleter(new P._Future(0, $.Zone__current, [null]), [null]); - this._addStreamCompleter = t1; - t2 = this._inner; - this.set$_addStreamSubscription(stream.listen$3$onDone$onError(t2.get$add(t2), t1.get$complete(t1), this.get$_addError())); - return this._addStreamCompleter.future.then$1$1(new K._GuaranteeSink_addStream_closure(this), null); - }, - close$0: function(_) { - if (this._addStreamSubscription != null) - throw H.wrapException(P.StateError$("Cannot close sink while adding stream.")); - if (this._closed) - return this._doneCompleter.future; - this._closed = true; - if (!this._disconnected) { - this._channel._onSinkDisconnected$0(); - this._doneCompleter.complete$1(0, this._inner._async$_target.close$0(0)); - } - return this._doneCompleter.future; - }, - _onStreamDisconnected$0: function() { - this._disconnected = true; - var t1 = this._doneCompleter; - if (t1.future._state === 0) + addStream$1(_, stream) { + var t2, t3, _this = this, + t1 = _this.$ti; + t1._eval$1("Stream<1>")._as(stream); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add stream after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add stream while adding stream.")); + if (_this._disconnected) + return A.Future_Future$value(null, type$.void); + t2 = _this._addStreamCompleter = new A._SyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._SyncCompleter_dynamic); + t3 = _this._inner; + _this.set$_addStreamSubscription(stream.listen$3$onDone$onError(t1._eval$1("~(1)")._as(t3.get$add(t3)), type$.void_Function_$opt_dynamic._as(t2.get$complete(t2)), _this.get$_addError())); + return _this._addStreamCompleter.future.then$1$1(new A._GuaranteeSink_addStream_closure(_this), type$.void); + }, + close$0(_) { + var _this = this; + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot close sink while adding stream.")); + if (_this._closed) + return _this._doneCompleter.future; + _this._closed = true; + if (!_this._disconnected) { + _this._channel._onSinkDisconnected$0(); + _this._doneCompleter.complete$1(0, _this._inner._target.close$0(0)); + } + return _this._doneCompleter.future; + }, + _onStreamDisconnected$0() { + var t1, t2, _this = this; + _this._disconnected = true; + t1 = _this._doneCompleter; + if ((t1.future._async$_state & 30) === 0) t1.complete$0(0); - t1 = this._addStreamSubscription; + t1 = _this._addStreamSubscription; if (t1 == null) return; - this._addStreamCompleter.complete$1(0, t1.cancel$0()); - this._addStreamCompleter = null; - this.set$_addStreamSubscription(null); + t2 = _this._addStreamCompleter; + t2.toString; + t2.complete$1(0, t1.cancel$0(0)); + _this._addStreamCompleter = null; + _this.set$_addStreamSubscription(null); }, - set$_addStreamSubscription: function(_addStreamSubscription) { - this._addStreamSubscription = H.assertSubtype(_addStreamSubscription, "$isStreamSubscription", this.$ti, "$asStreamSubscription"); + set$_addStreamSubscription(_addStreamSubscription) { + this._addStreamSubscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_addStreamSubscription); }, $isStreamConsumer: 1, $isStreamSink: 1 }; - K._GuaranteeSink_addStream_closure.prototype = { - call$1: function(_) { + A._GuaranteeSink_addStream_closure.prototype = { + call$1(_) { var t1 = this.$this; t1._addStreamCompleter = null; t1.set$_addStreamSubscription(null); }, - $signature: 4 + $signature: 8 }; - D._MultiChannel.prototype = { - _MultiChannel$1: function(_inner, $T) { - var t1, t2; - t1 = this._mainController; - this._controllers.$indexSet(0, 0, t1); - t2 = t1._local._streamController; - t2.toString; - new P._ControllerStream(t2, [H.getTypeArgumentByIndex(t2, 0)]).listen$2$onDone(new D._MultiChannel_closure(this, $T), new D._MultiChannel_closure0(this)); - t2 = this._multi_channel$_inner._streamController; - t2.toString; - this._innerStreamSubscription = new P._ControllerStream(t2, [H.getTypeArgumentByIndex(t2, 0)]).listen$3$onDone$onError(new D._MultiChannel_closure1(this, $T), this.get$_closeInnerChannel(), t1._local._sink.get$addError()); - }, - virtualChannel$1: function(id) { - var t1, t2, inputId, controller, t3; - t1 = {}; - t1.inputId = null; - t1.outputId = null; - if (id != null) { - t1.inputId = id; - t1.outputId = id + 1; - t2 = id; + A._MultiChannel.prototype = { + _MultiChannel$1(inner, $T) { + var t2, t3, _this = this, + _s17_ = "_streamController", + t1 = _this._mainController; + _this._controllers.$indexSet(0, 0, t1); + t1 = t1.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t2 = t1.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$2$onDone(new A._MultiChannel_closure(_this, $T), new A._MultiChannel_closure0(_this)); + t2 = _this._multi_channel$_inner.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + t3 = A._instanceType(t2)._eval$1("_ControllerStream<1>"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + _this._innerStreamSubscription = new A.CastStream(new A._ControllerStream(t2, t3), t3._eval$1("CastStream>")).listen$3$onDone$onError(new A._MultiChannel_closure1(_this, $T), _this.get$_closeInnerChannel(), t1.get$addError()); + }, + virtualChannel$1(id) { + var t2, controller, _this = this, + _s17_ = "_streamController", + _s8_ = "_foreign", + t1 = {}; + t1.outputId = t1.inputId = null; + t1.inputId = id; + t1.outputId = id + 1; + if (_this._multi_channel$_inner == null) { + t1 = _this.$ti; + t2 = A.Future_Future$value(null, type$.dynamic); + return new A.VirtualChannel(_this, new A._EmptyStream(t1._eval$1("_EmptyStream<1>")), new A.NullStreamSink(t2, t1._eval$1("NullStreamSink<1>")), t1._eval$1("VirtualChannel<1>")); + } + controller = A._Cell$named("controller"); + if (_this._pendingIds.remove$1(0, id)) { + t2 = _this._controllers.$index(0, id); + t2.toString; + controller.__late_helper$_value = t2; } else { - t2 = this._nextId; - inputId = t2 + 1; - t1.inputId = inputId; - t1.outputId = t2; - this._nextId = t2 + 2; - t2 = inputId; - } - if (this._multi_channel$_inner == null) { - t1 = this.$ti; - t2 = new P._Future(0, $.Zone__current, [null]); - t2._asyncComplete$1(null); - return new D.VirtualChannel(this, new P._EmptyStream(t1), new S.NullStreamSink(t2, t1), t1); - } - if (this._pendingIds.remove$1(0, t2)) - controller = this._controllers.$index(0, t2); - else { - t3 = this._controllers; - if (t3.containsKey$1(t2) || this._closedIds.contains$1(0, t2)) - throw H.wrapException(P.ArgumentError$("A virtual channel with id " + H.S(id) + " already exists.")); + t2 = _this._controllers; + if (t2.containsKey$1(0, id) || _this._closedIds.contains$1(0, id)) + throw A.wrapException(A.ArgumentError$("A virtual channel with id " + id + " already exists.", null)); else { - controller = B.StreamChannelController$(true, H.getTypeArgumentByIndex(this, 0)); - t3.$indexSet(0, t2, controller); + controller.__late_helper$_value = A.StreamChannelController$(true, _this.$ti._precomputed1); + t2.$indexSet(0, id, controller._readLocal$0()); } } - t2 = controller._local._streamController; + t2 = controller._readLocal$0().__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$2$onDone(new A._MultiChannel_virtualChannel_closure(t1, _this), new A._MultiChannel_virtualChannel_closure0(t1, _this)); + t1 = controller._readLocal$0().__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI(_s8_); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI(_s17_); + t2 = controller._readLocal$0().__StreamChannelController__foreign_F; + t2 === $ && A.throwLateFieldNI(_s8_); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + return new A.VirtualChannel(_this, new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, _this.$ti._eval$1("VirtualChannel<1>")); + }, + _closeChannel$2(inputId, outputId) { + var t1, t2, _this = this; + _this._closedIds.add$1(0, inputId); + t1 = _this._controllers; + t2 = t1.remove$1(0, inputId); t2.toString; - new P._ControllerStream(t2, [H.getTypeArgumentByIndex(t2, 0)]).listen$2$onDone(new D._MultiChannel_virtualChannel_closure(t1, this), new D._MultiChannel_virtualChannel_closure0(t1, this)); - t1 = controller._foreign; - t2 = t1._streamController; - t2.toString; - return new D.VirtualChannel(this, new P._ControllerStream(t2, [H.getTypeArgumentByIndex(t2, 0)]), t1._sink, this.$ti); - }, - _closeChannel$2: function(inputId, outputId) { - var t1, t2; - this._closedIds.add$1(0, inputId); - t1 = this._controllers; - t1.remove$1(0, inputId)._local._sink.close$0(0); - t2 = this._multi_channel$_inner; + t2 = t2.__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.close$0(0); + t2 = _this._multi_channel$_inner; if (t2 == null) return; - t2._sink.add$1(0, H.setRuntimeTypeInfo([outputId], [P.int])); - if (t1.__js_helper$_length === 0) - this._closeInnerChannel$0(); - }, - _closeInnerChannel$0: function() { - var t1, t2, t3, _i; - this._multi_channel$_inner._sink.close$0(0); - this._innerStreamSubscription.cancel$0(); - this._multi_channel$_inner = null; - for (t1 = this._controllers, t2 = P.List_List$from(t1.get$values(t1), true, null), t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i) - t2[_i].get$local()._sink.close$0(0); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.add$1(0, A._setArrayType([outputId], type$.JSArray_int)); + if (t1._length === 0) + _this._closeInnerChannel$0(); + }, + _closeInnerChannel$0() { + var t2, t3, _i, t4, _this = this, + t1 = _this._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.close$0(0); + _this._innerStreamSubscription._source.cancel$0(0); + _this._multi_channel$_inner = null; + for (t1 = _this._controllers, t2 = A.List_List$from(t1.get$values(t1), true, type$.dynamic), t3 = t2.length, _i = 0; _i < t3; ++_i) { + t4 = t2[_i].get$local().__GuaranteeChannel__sink_F; + t4 === $ && A.throwLateFieldNI("_sink"); + t4.close$0(0); + } t1.clear$0(0); }, $isMultiChannel: 1 }; - D._MultiChannel_closure.prototype = { - call$1: function(message) { - H.assertSubtypeOfRuntimeType(message, this.T); - return this.$this._multi_channel$_inner._sink.add$1(0, H.setRuntimeTypeInfo([0, message], [P.Object])); + A._MultiChannel_closure.prototype = { + call$1(message) { + var t1; + this.T._as(message); + t1 = this.$this._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + return t1.add$1(0, [0, message]); }, - $signature: function() { - return {func: 1, ret: -1, args: [this.T]}; + $signature() { + return this.T._eval$1("~(0)"); } }; - D._MultiChannel_closure0.prototype = { - call$0: function() { + A._MultiChannel_closure0.prototype = { + call$0() { return this.$this._closeChannel$2(0, 0); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 + $signature: 0 }; - D._MultiChannel_closure1.prototype = { - call$1: function(message) { - var t1, id, t2, t3, controller; + A._MultiChannel_closure1.prototype = { + call$1(message) { + var t1, id, t2, t3, controller, t4; + type$.List_dynamic._as(message); t1 = J.getInterceptor$asx(message); - id = t1.$index(message, 0); + id = A._asInt(t1.$index(message, 0)); t2 = this.$this; if (t2._closedIds.contains$1(0, id)) return; - H.intTypeCheck(id); t3 = this.T; - controller = t2._controllers.putIfAbsent$2(id, new D._MultiChannel__closure(t2, id, t3)); - if (J.$gt$n(t1.get$length(message), 1)) - controller._local._sink.add$1(0, H.assertSubtypeOfRuntimeType(t1.$index(message, 1), t3)); - else - controller._local._sink.close$0(0); + controller = t2._controllers.putIfAbsent$2(0, id, new A._MultiChannel__closure(t2, id, t3)); + t2 = t1.get$length(message); + t4 = controller.__StreamChannelController__local_F; + if (t2 > 1) { + t4 === $ && A.throwLateFieldNI("_local"); + t2 = t4.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.add$1(0, t3._as(t1.$index(message, 1))); + } else { + t4 === $ && A.throwLateFieldNI("_local"); + t1 = t4.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.close$0(0); + } }, - $signature: 4 + $signature: 46 }; - D._MultiChannel__closure.prototype = { - call$0: function() { - this.$this._pendingIds.add$1(0, H.intTypeCheck(this.id)); - return B.StreamChannelController$(true, this.T); + A._MultiChannel__closure.prototype = { + call$0() { + this.$this._pendingIds.add$1(0, this.id); + return A.StreamChannelController$(true, this.T); }, - $signature: function() { - return {func: 1, ret: [B.StreamChannelController, this.T]}; + $signature() { + return this.T._eval$1("StreamChannelController<0>()"); } }; - D._MultiChannel_virtualChannel_closure.prototype = { - call$1: function(message) { + A._MultiChannel_virtualChannel_closure.prototype = { + call$1(message) { var t1 = this.$this; - H.assertSubtypeOfRuntimeType(message, H.getTypeArgumentByIndex(t1, 0)); - return t1._multi_channel$_inner._sink.add$1(0, H.setRuntimeTypeInfo([this._box_0.outputId, message], [P.Object])); + t1.$ti._precomputed1._as(message); + t1 = t1._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + return t1.add$1(0, [this._box_0.outputId, message]); }, - $signature: function() { - return {func: 1, ret: -1, args: [H.getTypeArgumentByIndex(this.$this, 0)]}; + $signature() { + return this.$this.$ti._eval$1("~(1)"); } }; - D._MultiChannel_virtualChannel_closure0.prototype = { - call$0: function() { + A._MultiChannel_virtualChannel_closure0.prototype = { + call$0() { var t1 = this._box_0; return this.$this._closeChannel$2(t1.inputId, t1.outputId); }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 1 + $signature: 0 }; - D.VirtualChannel.prototype = {$isMultiChannel: 1}; - B.StreamChannelController.prototype = { - get$local: function() { - return this._local; + A.VirtualChannel.prototype = {$isMultiChannel: 1}; + A.StreamChannelController.prototype = { + get$local() { + var t1 = this.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + return t1; }, - set$_local: function(_local) { - this._local = H.assertSubtype(_local, "$isStreamChannel", this.$ti, "$asStreamChannel"); + set$__StreamChannelController__local_F(__StreamChannelController__local_F) { + this.__StreamChannelController__local_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__local_F); }, - set$_foreign: function(_foreign) { - this._foreign = H.assertSubtype(_foreign, "$isStreamChannel", this.$ti, "$asStreamChannel"); + set$__StreamChannelController__foreign_F(__StreamChannelController__foreign_F) { + this.__StreamChannelController__foreign_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__foreign_F); } }; - R.StreamChannelMixin.prototype = {$isStreamChannel: 1}; - K._TestRunner.prototype = {}; - K._JSApi.prototype = {}; - K.main_closure.prototype = { - call$0: function() { - var serverChannel, t1, t2; - serverChannel = K._connectToServer(); - t1 = serverChannel._mainController._foreign._streamController; + A.StreamChannelMixin.prototype = {$isStreamChannel: 1}; + A.Window0.prototype = {}; + A.Document0.prototype = {}; + A.HTMLDocument.prototype = {}; + A.Navigator0.prototype = {}; + A.Element0.prototype = {}; + A.HTMLElement.prototype = {}; + A.HTMLBodyElement.prototype = {}; + A.Node0.prototype = {}; + A.EventTarget0.prototype = {}; + A.Event0.prototype = {}; + A.MessageEvent0.prototype = {}; + A.Location0.prototype = {}; + A.MessagePort0.prototype = {}; + A.CSSStyleDeclaration.prototype = {}; + A.HTMLScriptElement.prototype = {}; + A.DomTokenList0.prototype = {}; + A.HTMLIFrameElement.prototype = {}; + A.WebSocket0.prototype = {}; + A.MessageChannel0.prototype = {}; + A.Subscription.prototype = {}; + A.TestRunner.prototype = {}; + A._JSApi.prototype = {}; + A.main_closure.prototype = { + call$0() { + var serverChannel = A._connectToServer(), + t1 = serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(new A.main__closure(serverChannel)); + A.Timer_Timer$periodic(new A.Duration(1000000), new A.main__closure0(serverChannel)); + t1 = type$.nullable_JavaScriptObject._as(self.document.querySelector("#play")); t1.toString; - new P._ControllerStream(t1, [H.getTypeArgumentByIndex(t1, 0)]).listen$1(new K.main__closure(serverChannel)); - P.Timer_Timer$periodic(P.Duration$(1), new K.main__closure0(serverChannel)); - t1 = J.get$onClick$x(document.querySelector("#play")); - t2 = H.getTypeArgumentByIndex(t1, 0); - W._EventStreamSubscription$(t1._html$_target, t1._eventType, H.functionTypeCheck(new K.main__closure1(serverChannel), {func: 1, ret: -1, args: [t2]}), false, t2); - t2 = {func: 1, ret: -1}; - t2 = {resume: P.allowInterop(new K.main__closure2(serverChannel), t2), restartCurrent: P.allowInterop(new K.main__closure3(serverChannel), t2)}; - self.dartTest = t2; - }, - "call*": "call$0", - $requiredArgCount: 0, - $signature: 0 + A.EventTargetExtension_addEventListener(t1, "click", A.allowInterop(new A.main__closure1(serverChannel), type$.void_Function_JavaScriptObject)); + t1 = type$.void_Function; + self.dartTest = type$.JavaScriptObject._as({resume: A.allowInterop(new A.main__closure2(serverChannel), t1), restartCurrent: A.allowInterop(new A.main__closure3(serverChannel), t1)}); + }, + $signature: 2 }; - K.main__closure.prototype = { - call$1: function(message) { - var t1, suiteChannel, t2, t3; - t1 = J.getInterceptor$asx(message); - if (J.$eq$(t1.$index(message, "command"), "loadSuite")) { - suiteChannel = this.serverChannel.virtualChannel$1(H.intTypeCast(t1.$index(message, "channel"))); - t1 = H.assertSubtype(K._connectToIframe(H.stringTypeCast(t1.$index(message, "url")), H.intTypeCast(t1.$index(message, "id"))), "$isStreamChannel", [H.getTypeArgumentByIndex(suiteChannel, 0)], "$asStreamChannel"); - suiteChannel.stream.pipe$1(t1._sink); - t1 = t1._streamController; - t1.toString; - new P._ControllerStream(t1, [H.getTypeArgumentByIndex(t1, 0)]).pipe$1(suiteChannel.sink); - } else if (J.$eq$(t1.$index(message, "command"), "displayPause")) - document.body.classList.add("paused"); - else if (J.$eq$(t1.$index(message, "command"), "resume")) - document.body.classList.remove("paused"); + A.main__closure.prototype = { + call$1(message) { + var suiteChannel, t2, t3, t4, + _s7_ = "command", + _s2_ = "id", + t1 = J.getInterceptor$asx(message); + if (J.$eq$(t1.$index(message, _s7_), "loadSuite")) { + suiteChannel = this.serverChannel.virtualChannel$1(A._asInt(t1.$index(message, "channel"))); + t1 = suiteChannel.$ti._eval$1("StreamChannel<1>")._as(A._connectToIframe(A._asString(t1.$index(message, "url")), A._asInt(t1.$index(message, _s2_)))); + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + suiteChannel.stream.pipe$1(t2); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).pipe$1(suiteChannel.sink); + } else if (J.$eq$(t1.$index(message, _s7_), "displayPause")) + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("paused"); + else if (J.$eq$(t1.$index(message, _s7_), "resume")) + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).remove("paused"); else { - t2 = $.$get$_iframes().remove$1(0, t1.$index(message, "id")); - t3 = t2.parentNode; - if (t3 != null) - J._removeChild$1$x(t3, t2); - for (t1 = J.get$iterator$ax($.$get$_subscriptions().remove$1(0, t1.$index(message, "id"))); t1.moveNext$0();) - t1.get$current().cancel$0(); + t2 = $._iframes.remove$1(0, t1.$index(message, _s2_)); + t3 = type$.nullable_JavaScriptObject; + if (t3._as(t2.parentNode) != null) + type$.JavaScriptObject._as(t3._as(t2.parentNode).removeChild(t2)); + t2 = $._subscriptions.remove$1(0, t1.$index(message, _s2_)); + t2.toString; + t2 = J.get$iterator$ax(t2); + for (; t2.moveNext$0();) + t2.get$current(t2).cancel$0(0); + t1 = $._domSubscriptions.remove$1(0, t1.$index(message, _s2_)); + t1.toString; + t1 = J.get$iterator$ax(t1); + t2 = type$.JSArray_Object; + for (; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.target; + t3 = A._setArrayType([t3.type, t3.listener], t2); + t4.removeEventListener.apply(t4, t3); + } } }, - $signature: 4 + $signature: 3 }; - K.main__closure0.prototype = { - call$1: function(_) { - var t1; - H.interceptedTypeCheck(_, "$isTimer"); - t1 = P.String; - return this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashMap_LinkedHashMap$_literal(["command", "ping"], t1, t1)); + A.main__closure0.prototype = { + call$1(_) { + var t1, t2; + type$.Timer._as(_); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + return t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "ping"], t2, t2)); }, - $signature: 46 + $signature: 47 }; - K.main__closure1.prototype = { - call$1: function(_) { - var list, removed, t1; - H.interceptedTypeCheck(_, "$isMouseEvent"); - list = document.body.classList; - removed = list.contains("paused"); - list.remove("paused"); - if (!removed) + A.main__closure1.prototype = { + call$1(_) { + var t2, + t1 = type$.JavaScriptObject; + t1._as(_); + t2 = type$.nullable_JavaScriptObject; + if (!A._asBool(t1._as(t2._as(self.document.body).classList).contains("paused"))) return; - t1 = P.String; - this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t1, t1)); + t1._as(t2._as(self.document.body).classList).remove("paused"); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t2, t2)); }, - $signature: 47 + $signature: 7 }; - K.main__closure2.prototype = { - call$0: function() { - var list, removed, t1; - list = document.body.classList; - removed = list.contains("paused"); - list.remove("paused"); - if (!removed) + A.main__closure2.prototype = { + call$0() { + var t1 = type$.nullable_JavaScriptObject, + t2 = type$.JavaScriptObject; + if (!A._asBool(t2._as(t1._as(self.document.body).classList).contains("paused"))) return; - t1 = P.String; - this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t1, t1)); + t2._as(t1._as(self.document.body).classList).remove("paused"); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t2, t2)); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - K.main__closure3.prototype = { - call$0: function() { - var t1 = P.String; - this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashMap_LinkedHashMap$_literal(["command", "restart"], t1, t1)); + A.main__closure3.prototype = { + call$0() { + var t2, + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "restart"], t2, t2)); }, - "call*": "call$0", - $requiredArgCount: 0, $signature: 0 }; - K.main_closure0.prototype = { - call$2: function(error, stackTrace) { - var line, t1; - H.interceptedTypeCheck(stackTrace, "$isStackTrace"); - line = H.S(error) + "\n" + Y.Trace_Trace$from(stackTrace).get$terse().toString$0(0); - t1 = $.printToZone; - if (t1 == null) - H.printString(line); + A.main_closure0.prototype = { + call$2(error, stackTrace) { + var line, toZone; + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + line = A.S(error) + "\n" + A.Trace_Trace$from(stackTrace).get$terse().toString$0(0); + toZone = $.printToZone; + if (toZone == null) + A.printString(line); else - t1.call$1(line); + toZone.call$1(line); }, - "call*": "call$2", - $requiredArgCount: 2, - $signature: 15 + $signature: 10 }; - K._connectToServer_closure.prototype = { - call$1: function(message) { - H.interceptedTypeCheck(message, "$isMessageEvent"); - this.controller._local._sink.add$1(0, C.JsonCodec_null_null.decode$2$reviver(0, H.stringTypeCast(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true)), null)); + A._connectToServer_closure.prototype = { + call$1(message) { + var t1; + type$.JavaScriptObject._as(message); + t1 = this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, B.C_JsonCodec.decode$2$reviver(0, A._asString(A.dartify(message.data)), null)); }, - $signature: 10 + $signature: 7 }; - K._connectToServer_closure0.prototype = { - call$1: function(message) { - return this.webSocket.send(C.JsonCodec_null_null.encode$2$toEncodable(message, null)); + A._connectToServer_closure0.prototype = { + call$1(message) { + return A.callMethod(this.webSocket, "send", [B.C_JsonCodec.encode$2$toEncodable(message, null)], type$.void); }, - $signature: 6 + $signature: 3 }; - K._connectToIframe_closure.prototype = { - call$1: function(message) { - var t1, t2; - H.interceptedTypeCheck(message, "$isMessageEvent"); - t1 = message.origin; - t2 = window.location; - if (t1 !== (t2 && C.Location_methods).get$origin(t2)) + A._connectToIframe_closure.prototype = { + call$1($event) { + var t2, t3, _this = this, + t1 = type$.JavaScriptObject; + t1._as($event); + if (A._asString($event.origin) !== A._asString(t1._as(self.window.location).origin)) return; - t1 = this.iframe; - if (!J.$eq$(J.$index$asx(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true), "href"), t1.src)) + t2 = _this.iframe; + if (!J.$eq$(J.$index$asx(A.dartify($event.data), "href"), A._asStringQ(t2.src))) return; - message.stopPropagation(); - if (J.$eq$(J.$index$asx(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true), "ready"), true)) { - t1 = W._convertNativeToDart_Window(t1.contentWindow); - t2 = window.location; - J.postMessage$3$x(t1, "port", (t2 && C.Location_methods).get$origin(t2), H.setRuntimeTypeInfo([this.channel.port2], [W.MessagePort])); - this.readyCompleter.complete$0(0); - } else if (J.$eq$(J.$index$asx(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true), "exception"), true)) - this.controller._local._sink.add$1(0, J.$index$asx(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true), "data")); + $event.stopPropagation(); + if (J.$eq$(J.$index$asx(A.dartify($event.data), "ready"), true)) { + t3 = _this.channel; + t1._as(t3.port2).start(); + type$.Object._as(t2.contentWindow).postMessage("port", A._asString(t1._as(self.window.location).origin), A._setArrayType([t1._as(t3.port2)], type$.JSArray_JavaScriptObject)); + _this.readyCompleter.complete$0(0); + } else if (J.$eq$(J.$index$asx(A.dartify($event.data), "exception"), true)) { + t1 = _this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, J.$index$asx(A.dartify($event.data), "data")); + } }, - $signature: 10 + $signature: 7 }; - K._connectToIframe_closure0.prototype = { - call$1: function(message) { - H.interceptedTypeCheck(message, "$isMessageEvent"); - this.controller._local._sink.add$1(0, J.$index$asx(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(message.data, true), "data")); + A._connectToIframe_closure0.prototype = { + call$1($event) { + var t1; + type$.JavaScriptObject._as($event); + t1 = this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, J.$index$asx(A.dartify($event.data), "data")); }, - $signature: 10 + $signature: 7 }; - K._connectToIframe_closure1.prototype = { - call$1: function(message) { + A._connectToIframe_closure1.prototype = { + call$1(message) { var $async$goto = 0, - $async$completer = P._makeAsyncAwaitCompleter(P.Null), - $async$self = this, t1; - var $async$call$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$self = this, t1, t2, t3; + var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) - return P._asyncRethrow($async$result, $async$completer); + return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; - return P._asyncAwait($async$self.readyCompleter.future, $async$call$1); + return A._asyncAwait($async$self.readyCompleter.future, $async$call$1); case 2: // returning from await. - t1 = $async$self.channel.port1; - (t1 && C.MessagePort_methods).postMessage$1(t1, message); + t1 = type$.JavaScriptObject._as($async$self.channel.port1); + t2 = A._setArrayType([], type$.JSArray_Object); + if (message != null) { + if (!type$.Map_dynamic_dynamic._is(message) && !type$.Iterable_dynamic._is(message)) + A.throwExpression(A.ArgumentError$("object must be a Map or Iterable", null)); + t3 = A._convertDataTree(message); + t2.push(t3); + } + A.callMethod(t1, "postMessage", t2, type$.void); // implicit return - return P._asyncReturn(null, $async$completer); + return A._asyncReturn(null, $async$completer); } }); - return P._asyncStartSync($async$call$1, $async$completer); + return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 49 }; (function aliases() { var _ = J.Interceptor.prototype; _.super$Interceptor$toString = _.toString$0; - _.super$Interceptor$noSuchMethod = _.noSuchMethod$1; - _ = J.JavaScriptObject.prototype; - _.super$JavaScriptObject$toString = _.toString$0; - _ = P.Iterable.prototype; + _ = J.LegacyJavaScriptObject.prototype; + _.super$LegacyJavaScriptObject$toString = _.toString$0; + _ = A.Iterable.prototype; _.super$Iterable$skipWhile = _.skipWhile$1; - _ = W.EventTarget.prototype; - _.super$EventTarget$addEventListener = _.addEventListener$3; })(); (function installTearOffs() { - var _static_1 = hunkHelpers._static_1, + var _instance_1_u = hunkHelpers._instance_1u, + _static_1 = hunkHelpers._static_1, _static_0 = hunkHelpers._static_0, + _static_2 = hunkHelpers._static_2, _static = hunkHelpers.installStaticTearOff, _instance = hunkHelpers.installInstanceTearOff, + _instance_2_u = hunkHelpers._instance_2u, _instance_1_i = hunkHelpers._instance_1i, _instance_0_u = hunkHelpers._instance_0u; - _static_1(P, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 9); - _static_1(P, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 9); - _static_1(P, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 9); - _static_0(P, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 1); - _static_1(P, "async___nullDataHandler$closure", "_nullDataHandler", 11); - _static(P, "async___nullErrorHandler$closure", 1, function() { - return [null]; - }, ["call$2", "call$1"], ["_nullErrorHandler", function(error) { - return P._nullErrorHandler(error, null); - }], 3, 0); - _static_0(P, "async___nullDoneHandler$closure", "_nullDoneHandler", 1); - _static(P, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 51, 0); - _static(P, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) { - return P._rootRun($self, $parent, zone, f, null); + _instance_1_u(A.CastStreamSubscription.prototype, "get$__internal$_onData", "__internal$_onData$1", 12); + _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 9); + _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 9); + _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 9); + _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); + _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 3); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 10); + _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); + _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 51, 0); + _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) { + return A._rootRun($self, $parent, zone, f, type$.dynamic); }], 52, 1); - _static(P, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) { - return P._rootRunUnary($self, $parent, zone, f, arg, null, null); + _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) { + return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic); }], 53, 1); - _static(P, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) { - return P._rootRunBinary($self, $parent, zone, f, arg1, arg2, null, null, null); + _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) { + return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic); }], 54, 1); - _static(P, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) { - return P._rootRegisterCallback($self, $parent, zone, f, null); + _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) { + return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic); }], 55, 0); - _static(P, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) { - return P._rootRegisterUnaryCallback($self, $parent, zone, f, null, null); + _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) { + return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic); }], 56, 0); - _static(P, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) { - return P._rootRegisterBinaryCallback($self, $parent, zone, f, null, null, null); + _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) { + return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic); }], 57, 0); - _static(P, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 58, 0); - _static(P, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 59, 0); - _static(P, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 60, 0); - _static(P, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 61, 0); - _static(P, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 62, 0); - _static_1(P, "async___printToZone$closure", "_printToZone", 63); - _static(P, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 64, 0); - _instance(P._Completer.prototype, "get$completeError", 0, 1, function() { - return [null]; - }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 3, 0); - _instance(P._SyncCompleter.prototype, "get$complete", 1, 0, function() { - return [null]; - }, ["call$1", "call$0"], ["complete$1", "complete$0"], 39, 0); - _instance(P._Future.prototype, "get$_completeError", 0, 1, function() { + _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 58, 0); + _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 59, 0); + _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 60, 0); + _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 61, 0); + _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 62, 0); + _static_1(A, "async___printToZone$closure", "_printToZone", 63); + _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 64, 0); + _instance(A._SyncCompleter.prototype, "get$complete", 1, 0, function() { return [null]; - }, ["call$2", "call$1"], ["_completeError$2", "_completeError$1"], 3, 0); + }, ["call$1", "call$0"], ["complete$1", "complete$0"], 39, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 10); var _; - _instance_1_i(_ = P._StreamController.prototype, "get$add", "add$1", 11); + _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 12); _instance(_, "get$addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["addError$2", "addError$1"], 3, 0); - _instance_1_i(P._StreamSinkWrapper.prototype, "get$add", "add$1", 11); - _instance_0_u(P._DoneStreamSubscription.prototype, "get$_sendDone", "_sendDone$0", 1); - _static_1(P, "convert___defaultToEncodable$closure", "_defaultToEncodable", 8); - _static_1(P, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 14); - _instance(_ = K._GuaranteeSink.prototype, "get$addError", 0, 1, function() { + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 11, 0, 0); + _instance_1_i(A._StreamSinkWrapper.prototype, "get$add", "add$1", 12); + _instance_0_u(A._DoneStreamSubscription.prototype, "get$_sendDone", "_sendDone$0", 0); + _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 14); + _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 23); + _instance(_ = A._GuaranteeSink.prototype, "get$addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["addError$2", "addError$1"], 3, 0); + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 11, 0, 0); _instance(_, "get$_addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["_addError$2", "_addError$1"], 45, 0); - _instance_0_u(D._MultiChannel.prototype, "get$_closeInnerChannel", "_closeInnerChannel$0", 1); - _static(P, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { - return P.max(a, b, P.num); + }, ["call$2", "call$1"], ["_addError$2", "_addError$1"], 11, 0, 0); + _instance_0_u(A._MultiChannel.prototype, "get$_closeInnerChannel", "_closeInnerChannel$0", 0); + _static(A, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { + return A.max(a, b, type$.num); }], 43, 0); })(); (function inheritance() { var _mixin = hunkHelpers.mixin, _inherit = hunkHelpers.inherit, _inheritMany = hunkHelpers.inheritMany; - _inherit(P.Object, null); - _inheritMany(P.Object, [H.JS_CONST, J.Interceptor, J.ArrayIterator, P._ListBase_Object_ListMixin, P.Iterable, H.ListIterator, P.Iterator, H.ExpandIterator, H.EmptyIterator, H.FixedLengthListMixin, H.UnmodifiableListMixin, H.Symbol, P.MapView, H.ConstantMap, H.Closure, H.JSInvocationMirror, H.TypeErrorDecoder, P.Error, H.ExceptionAndStackTrace, H._StackTrace, H.TypeImpl, P.MapMixin, H.LinkedHashMapCell, H.LinkedHashMapKeyIterator, H.JSSyntaxRegExp, H._MatchImplementation, H._AllMatchesIterator, H.StringMatch, H._StringAllMatchesIterator, P._TimerImpl, P._AsyncAwaitCompleter, P.Future, P._Completer, P._FutureListener, P._Future, P._AsyncCallbackEntry, P.Stream, P.StreamSubscription, P.StreamTransformerBase, P._StreamController, P._SyncStreamControllerDispatch, P._BufferingStreamSubscription, P._StreamSinkWrapper, P._DelayedEvent, P._DelayedDone, P._PendingEvents, P._DoneStreamSubscription, P._StreamIterator, P.Timer, P.AsyncError, P._ZoneFunction, P.ZoneSpecification, P._ZoneSpecification, P.ZoneDelegate, P.Zone, P._ZoneDelegate, P._Zone, P._HashMapKeyIterator, P._SetBase, P._LinkedHashSetCell, P._LinkedHashSetIterator, P.ListMixin, P._UnmodifiableMapMixin, P.Codec, P._JsonStringifier, P._Utf8Encoder, P._Utf8Decoder, P.bool, P.DateTime, P.num, P.Duration, P.OutOfMemoryError, P.StackOverflowError, P._Exception, P.FormatException, P.Function, P.List, P.Map, P.Null, P.Match, P.StackTrace, P._StringStackTrace, P.String, P.StringBuffer, P.Symbol0, P._Uri, P.UriData, P._SimpleUri, W.ImmutableListMixin, W.FixedSizeListIterator, W._DOMWindowCrossFrame, P._StructuredClone, P._AcceptStructuredClone, P.Uint8List, S.NullStreamSink, M.Context, O.Style, X.ParsedPath, X.PathException, U.Chain, A.Frame, T.LazyTrace, Y.Trace, N.UnparsedFrame, R.StreamChannelMixin, K._GuaranteeSink, B.StreamChannelController]); - _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, H.NativeByteBuffer, H.NativeTypedData, W.EventTarget, W.Blob, W.DomException, W.DomTokenList, W.Event, W._HtmlCollection_Interceptor_ListMixin, W.Location]); - _inheritMany(J.JavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, K._TestRunner, K._JSApi]); + _inherit(A.Object, null); + _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Stream, A.CastStreamSubscription, A.Error, A._ListBase_Object_ListMixin, A.Closure, A.SentinelValue, A.Iterable, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.MapMixin, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._UnmodifiableMapMixin, A.SetMixin, A.Codec, A._JsonStringifier, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.Null, A._StringStackTrace, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.CssStyleDeclarationBase, A.ImmutableListMixin, A.FixedSizeListIterator, A.NullRejectionException, A.NullStreamSink, A.Context, A.Style, A.ParsedPath, A.PathException, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StreamChannelMixin, A._GuaranteeSink, A.StreamChannelController, A.Subscription]); + _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]); + _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, A.EventTarget, A.AccessibleNodeList, A.Blob, A.CssTransformComponent, A.CssRule, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.CssStyleValue, A.DataTransferItemList, A.DomException, A._DomRectList_JavaScriptObject_ListMixin, A.DomRectReadOnly, A._DomStringList_JavaScriptObject_ListMixin, A.DomTokenList, A._FileList_JavaScriptObject_ListMixin, A.Gamepad, A.History, A._HtmlCollection_JavaScriptObject_ListMixin, A.Location, A.MediaList, A._MidiInputMap_JavaScriptObject_MapMixin, A._MidiOutputMap_JavaScriptObject_MapMixin, A.MimeType, A._MimeTypeArray_JavaScriptObject_ListMixin, A._NodeList_JavaScriptObject_ListMixin, A.Plugin, A._PluginArray_JavaScriptObject_ListMixin, A._RtcStatsReport_JavaScriptObject_MapMixin, A.SpeechGrammar, A._SpeechGrammarList_JavaScriptObject_ListMixin, A.SpeechRecognitionResult, A._Storage_JavaScriptObject_MapMixin, A.StyleSheet, A._TextTrackCueList_JavaScriptObject_ListMixin, A.TimeRanges, A.Touch, A._TouchList_JavaScriptObject_ListMixin, A.TrackDefaultList, A.Url, A.__CssRuleList_JavaScriptObject_ListMixin, A.__GamepadList_JavaScriptObject_ListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin, A.Length, A._LengthList_JavaScriptObject_ListMixin, A.Number, A._NumberList_JavaScriptObject_ListMixin, A.PointList, A._StringList_JavaScriptObject_ListMixin, A.Transform, A._TransformList_JavaScriptObject_ListMixin, A.AudioBuffer, A._AudioParamMap_JavaScriptObject_MapMixin]); + _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.EventTarget0, A.Navigator0, A.Event0, A.Location0, A.CSSStyleDeclaration, A.DomTokenList0, A.MessageChannel0, A.TestRunner, A._JSApi]); _inherit(J.JSUnmodifiableArray, J.JSArray); - _inheritMany(J.JSNumber, [J.JSInt, J.JSDouble]); - _inherit(P.ListBase, P._ListBase_Object_ListMixin); - _inherit(H.UnmodifiableListBase, P.ListBase); - _inherit(H.CodeUnits, H.UnmodifiableListBase); - _inheritMany(P.Iterable, [H.EfficientLengthIterable, H.MappedIterable, H.WhereIterable, H.ExpandIterable, H.SkipWhileIterable, P.IterableBase, H._StringAllMatchesIterable]); - _inheritMany(H.EfficientLengthIterable, [H.ListIterable, H.LinkedHashMapKeyIterable, P._HashMapKeyIterable]); - _inheritMany(H.ListIterable, [H.SubListIterable, H.MappedListIterable, H.ReversedListIterable, P._JsonMapKeyIterable]); - _inherit(H.EfficientLengthMappedIterable, H.MappedIterable); - _inheritMany(P.Iterator, [H.MappedIterator, H.WhereIterator, H.SkipWhileIterator]); - _inherit(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P.MapView); - _inherit(P.UnmodifiableMapView, P._UnmodifiableMapView_MapView__UnmodifiableMapMixin); - _inherit(H.ConstantMapView, P.UnmodifiableMapView); - _inherit(H.ConstantStringMap, H.ConstantMap); - _inheritMany(H.Closure, [H.Instantiation, H.Primitives_functionNoSuchMethod_closure, H.unwrapException_saveStackTrace, H.TearOffClosure, H.JsLinkedHashMap_values_closure, H.initHooks_closure, H.initHooks_closure0, H.initHooks_closure1, P._AsyncRun__initializeScheduleImmediate_internalCallback, P._AsyncRun__initializeScheduleImmediate_closure, P._AsyncRun__scheduleImmediateJsOverride_internalCallback, P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, P._TimerImpl_internalCallback, P._TimerImpl$periodic_closure, P._AsyncAwaitCompleter_complete_closure, P._AsyncAwaitCompleter_completeError_closure, P._awaitOnObject_closure, P._awaitOnObject_closure0, P._wrapJsFunctionForAsync_closure, P._Future__addListener_closure, P._Future__prependListeners_closure, P._Future__chainForeignFuture_closure, P._Future__chainForeignFuture_closure0, P._Future__chainForeignFuture_closure1, P._Future__asyncComplete_closure, P._Future__chainFuture_closure, P._Future__asyncCompleteError_closure, P._Future__propagateToListeners_handleWhenCompleteCallback, P._Future__propagateToListeners_handleWhenCompleteCallback_closure, P._Future__propagateToListeners_handleValueCallback, P._Future__propagateToListeners_handleError, P.Stream_pipe_closure, P.Stream_length_closure, P.Stream_length_closure0, P._StreamController__subscribe_closure, P._StreamController__recordCancel_complete, P._AddStreamState_cancel_closure, P._BufferingStreamSubscription__sendError_sendError, P._BufferingStreamSubscription__sendDone_sendDone, P._PendingEvents_schedule_closure, P._CustomZone_bindCallback_closure, P._CustomZone_bindUnaryCallback_closure, P._CustomZone_bindCallbackGuarded_closure, P._CustomZone_bindUnaryCallbackGuarded_closure, P._rootHandleUncaughtError_closure, P._RootZone_bindCallback_closure, P._RootZone_bindCallbackGuarded_closure, P._RootZone_bindUnaryCallbackGuarded_closure, P.runZoned_closure, P.MapBase_mapToString_closure, P._JsonStringifier_writeMap_closure, P._Utf8Decoder_convert_addSingleBytes, P.NoSuchMethodError_toString_closure, P.Duration_toString_sixDigits, P.Duration_toString_twoDigits, P.Uri_splitQueryString_closure, P.Uri__parseIPv4Address_error, P.Uri_parseIPv6Address_error, P.Uri_parseIPv6Address_parseHex, P._Uri__Uri$notSimple_closure, P._Uri__checkNonWindowsPathReservedCharacters_closure, P._Uri__makePath_closure, P._createTables_closure, P._createTables_build, P._createTables_setChars, P._createTables_setRange, W._EventStreamSubscription_closure, P._StructuredClone_walk_closure, P._AcceptStructuredClone_walk_closure, P.convertNativePromiseToDartFuture_closure, P.convertNativePromiseToDartFuture_closure0, S.NullStreamSink_addStream_closure, M.Context_join_closure, M.Context_joinAll_closure, M.Context_split_closure, M._validateArgList_closure, X.ParsedPath_normalize_closure, L.WindowsStyle_absolutePathToUri_closure, U.Chain_Chain$parse_closure, U.Chain_Chain$parse_closure0, U.Chain_toTrace_closure, U.Chain_toString_closure0, U.Chain_toString__closure0, U.Chain_toString_closure, U.Chain_toString__closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$parseV8_closure_parseLocation, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, T.LazyTrace_terse_closure, Y.Trace_Trace$from_closure, Y.Trace__parseVM_closure, Y.Trace$parseV8_closure, Y.Trace$parseV8_closure0, Y.Trace$parseJSCore_closure, Y.Trace$parseJSCore_closure0, Y.Trace$parseFirefox_closure, Y.Trace$parseFirefox_closure0, Y.Trace$parseFriendly_closure, Y.Trace$parseFriendly_closure0, Y.Trace_terse_closure, Y.Trace_foldFrames_closure, Y.Trace_foldFrames_closure0, Y.Trace_toString_closure0, Y.Trace_toString_closure, K.GuaranteeChannel_closure, K.GuaranteeChannel__closure, K._GuaranteeSink_addStream_closure, D._MultiChannel_closure, D._MultiChannel_closure0, D._MultiChannel_closure1, D._MultiChannel__closure, D._MultiChannel_virtualChannel_closure, D._MultiChannel_virtualChannel_closure0, K.main_closure, K.main__closure, K.main__closure0, K.main__closure1, K.main__closure2, K.main__closure3, K.main_closure0, K._connectToServer_closure, K._connectToServer_closure0, K._connectToIframe_closure, K._connectToIframe_closure0, K._connectToIframe_closure1]); - _inherit(H.Instantiation1, H.Instantiation); - _inheritMany(P.Error, [H.NullError, H.JsNoSuchMethodError, H.UnknownJsTypeError, H.TypeErrorImplementation, H.CastErrorImplementation, H.RuntimeError, P.JsonUnsupportedObjectError, P.NullThrownError, P.ArgumentError, P.NoSuchMethodError, P.UnsupportedError, P.UnimplementedError, P.StateError, P.ConcurrentModificationError, P.CyclicInitializationError]); - _inheritMany(H.TearOffClosure, [H.StaticClosure, H.BoundClosure]); - _inherit(P.MapBase, P.MapMixin); - _inheritMany(P.MapBase, [H.JsLinkedHashMap, P._HashMap, P._JsonMap]); - _inherit(H._AllMatchesIterable, P.IterableBase); - _inherit(H.NativeTypedArray, H.NativeTypedData); - _inheritMany(H.NativeTypedArray, [H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); - _inherit(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); - _inherit(H.NativeTypedArrayOfDouble, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); - _inherit(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); - _inherit(H.NativeTypedArrayOfInt, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); - _inheritMany(H.NativeTypedArrayOfInt, [H.NativeInt16List, H.NativeInt32List, H.NativeInt8List, H.NativeUint16List, H.NativeUint32List, H.NativeUint8ClampedList, H.NativeUint8List]); - _inheritMany(P._Completer, [P._AsyncCompleter, P._SyncCompleter]); - _inherit(P._SyncStreamController, P._StreamController); - _inheritMany(P.Stream, [P._StreamImpl, P._EmptyStream, W._EventStream]); - _inherit(P._ControllerStream, P._StreamImpl); - _inherit(P._ControllerSubscription, P._BufferingStreamSubscription); - _inheritMany(P._DelayedEvent, [P._DelayedData, P._DelayedError]); - _inherit(P._StreamImplEvents, P._PendingEvents); - _inheritMany(P._Zone, [P._CustomZone, P._RootZone]); - _inherit(P._LinkedHashSet, P._SetBase); - _inheritMany(P.Codec, [P.Encoding, P.Base64Codec, P._FusedCodec, P.JsonCodec]); - _inheritMany(P.Encoding, [P.AsciiCodec, P.Utf8Codec]); - _inherit(P.Converter, P.StreamTransformerBase); - _inheritMany(P.Converter, [P._UnicodeSubsetEncoder, P.Base64Encoder, P.JsonEncoder, P.JsonDecoder, P.Utf8Encoder, P.Utf8Decoder]); - _inherit(P.AsciiEncoder, P._UnicodeSubsetEncoder); - _inherit(P.JsonCyclicError, P.JsonUnsupportedObjectError); - _inherit(P._JsonStringStringifier, P._JsonStringifier); - _inheritMany(P.num, [P.double, P.int]); - _inheritMany(P.ArgumentError, [P.RangeError, P.IndexError]); - _inherit(P._DataUri, P._Uri); - _inheritMany(W.EventTarget, [W.Node, W.MessagePort, W.Window]); - _inheritMany(W.Node, [W.Element, W.CharacterData]); - _inheritMany(W.Element, [W.HtmlElement, P.SvgElement]); - _inheritMany(W.HtmlElement, [W.AnchorElement, W.AreaElement, W.FormElement, W.IFrameElement, W.SelectElement]); - _inherit(W.File, W.Blob); - _inherit(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W._HtmlCollection_Interceptor_ListMixin); - _inherit(W.HtmlCollection, W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin); - _inheritMany(W.Event, [W.MessageEvent, W.UIEvent]); - _inherit(W.MouseEvent, W.UIEvent); - _inherit(W._ElementEventStreamImpl, W._EventStream); - _inherit(W._EventStreamSubscription, P.StreamSubscription); - _inherit(P._StructuredCloneDart2Js, P._StructuredClone); - _inherit(P._AcceptStructuredCloneDart2Js, P._AcceptStructuredClone); - _inherit(B.InternalStyle, O.Style); - _inheritMany(B.InternalStyle, [E.PosixStyle, F.UrlStyle, L.WindowsStyle]); - _inheritMany(R.StreamChannelMixin, [K.GuaranteeChannel, D._MultiChannel, D.VirtualChannel]); - _mixin(H.UnmodifiableListBase, H.UnmodifiableListMixin); - _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, P.ListMixin); - _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); - _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, P.ListMixin); - _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); - _mixin(P._SyncStreamController, P._SyncStreamControllerDispatch); - _mixin(P._ListBase_Object_ListMixin, P.ListMixin); - _mixin(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P._UnmodifiableMapMixin); - _mixin(W._HtmlCollection_Interceptor_ListMixin, P.ListMixin); - _mixin(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]); + _inheritMany(A.Stream, [A.CastStream, A._StreamImpl, A._EmptyStream]); + _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]); + _inherit(A.ListBase, A._ListBase_Object_ListMixin); + _inherit(A.UnmodifiableListBase, A.ListBase); + _inherit(A.CodeUnits, A.UnmodifiableListBase); + _inheritMany(A.Closure, [A.Closure0Args, A.Instantiation, A.Closure2Args, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_pipe_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.dartify_convert, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.WindowsStyle_absolutePathToUri_closure, A.Chain_Chain$parse_closure, A.Chain_Chain$parse_closure0, A.Chain_Chain$parse_closure1, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace__parseVM_closure0, A.Trace$parseV8_closure, A.Trace$parseV8_closure0, A.Trace$parseJSCore_closure, A.Trace$parseJSCore_closure0, A.Trace$parseFirefox_closure, A.Trace$parseFirefox_closure0, A.Trace$parseFriendly_closure, A.Trace$parseFriendly_closure0, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A._GuaranteeSink_addStream_closure, A._MultiChannel_closure, A._MultiChannel_closure1, A._MultiChannel_virtualChannel_closure, A.main__closure, A.main__closure0, A.main__closure1, A._connectToServer_closure, A._connectToServer_closure0, A._connectToIframe_closure, A._connectToIframe_closure0, A._connectToIframe_closure1]); + _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.NullStreamSink_addStream_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.GuaranteeChannel_closure, A.GuaranteeChannel__closure, A._MultiChannel_closure0, A._MultiChannel__closure, A._MultiChannel_virtualChannel_closure0, A.main_closure, A.main__closure2, A.main__closure3]); + _inheritMany(A.Iterable, [A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipWhileIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable]); + _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable]); + _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A._JsonMapKeyIterable]); + _inherit(A.EfficientLengthMappedIterable, A.MappedIterable); + _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipWhileIterator]); + _inherit(A.EfficientLengthTakeIterable, A.TakeIterable); + _inherit(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.MapView); + _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin); + _inherit(A.ConstantMapView, A.UnmodifiableMapView); + _inherit(A.ConstantStringMap, A.ConstantMap); + _inherit(A.Instantiation1, A.Instantiation); + _inheritMany(A.Closure2Args, [A.Primitives_functionNoSuchMethod_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A._Future__chainForeignFuture_closure0, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri_splitQueryString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.MidiInputMap_keys_closure, A.MidiOutputMap_keys_closure, A.RtcStatsReport_keys_closure, A.Storage_keys_closure, A.AudioParamMap_keys_closure, A.Frame_Frame$parseV8_closure_parseLocation, A.main_closure0]); + _inherit(A.NullError, A.TypeError); + _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]); + _inherit(A._AssertionError, A.AssertionError); + _inherit(A.MapBase, A.MapMixin); + _inheritMany(A.MapBase, [A.JsLinkedHashMap, A._HashMap, A._JsonMap]); + _inherit(A._AllMatchesIterable, A.IterableBase); + _inherit(A.NativeTypedArray, A.NativeTypedData); + _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); + _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]); + _inherit(A._TypeError, A._Error); + _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]); + _inherit(A._SyncStreamController, A._StreamController); + _inherit(A._ControllerStream, A._StreamImpl); + _inherit(A._ControllerSubscription, A._BufferingStreamSubscription); + _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]); + _inheritMany(A._Zone, [A._CustomZone, A._RootZone]); + _inherit(A._IdentityHashMap, A._HashMap); + _inherit(A._SetBase, A.__SetBase_Object_SetMixin); + _inherit(A._LinkedHashSet, A._SetBase); + _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A._FusedCodec, A.JsonCodec]); + _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]); + _inherit(A.Converter, A.StreamTransformerBase); + _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]); + _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder); + _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError); + _inherit(A._JsonStringStringifier, A._JsonStringifier); + _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]); + _inherit(A._DataUri, A._Uri); + _inheritMany(A.EventTarget, [A.Node, A.FileWriter, A.SourceBuffer, A._SourceBufferList_EventTarget_ListMixin, A.TextTrack, A.TextTrackCue, A._TextTrackList_EventTarget_ListMixin, A.VideoTrackList, A.AudioTrackList, A.BaseAudioContext]); + _inheritMany(A.Node, [A.Element, A.CharacterData]); + _inherit(A.HtmlElement, A.Element); + _inheritMany(A.HtmlElement, [A.AnchorElement, A.AreaElement, A.FormElement, A.SelectElement]); + _inherit(A.CssPerspective, A.CssTransformComponent); + _inherit(A.CssStyleDeclaration, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase); + _inheritMany(A.CssStyleValue, [A.CssTransformValue, A.CssUnparsedValue]); + _inherit(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomRectList_JavaScriptObject_ListMixin); + _inherit(A.DomRectList, A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomStringList_JavaScriptObject_ListMixin); + _inherit(A.DomStringList, A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.File, A.Blob); + _inherit(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A._FileList_JavaScriptObject_ListMixin); + _inherit(A.FileList, A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A._HtmlCollection_JavaScriptObject_ListMixin); + _inherit(A.HtmlCollection, A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.MidiInputMap, A._MidiInputMap_JavaScriptObject_MapMixin); + _inherit(A.MidiOutputMap, A._MidiOutputMap_JavaScriptObject_MapMixin); + _inherit(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._MimeTypeArray_JavaScriptObject_ListMixin); + _inherit(A.MimeTypeArray, A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NodeList_JavaScriptObject_ListMixin); + _inherit(A.NodeList, A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._PluginArray_JavaScriptObject_ListMixin); + _inherit(A.PluginArray, A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.RtcStatsReport, A._RtcStatsReport_JavaScriptObject_MapMixin); + _inherit(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A._SourceBufferList_EventTarget_ListMixin); + _inherit(A.SourceBufferList, A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A._SpeechGrammarList_JavaScriptObject_ListMixin); + _inherit(A.SpeechGrammarList, A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.Storage, A._Storage_JavaScriptObject_MapMixin); + _inherit(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TextTrackCueList_JavaScriptObject_ListMixin); + _inherit(A.TextTrackCueList, A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A._TextTrackList_EventTarget_ListMixin); + _inherit(A.TextTrackList, A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TouchList_JavaScriptObject_ListMixin); + _inherit(A.TouchList, A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__CssRuleList_JavaScriptObject_ListMixin); + _inherit(A._CssRuleList, A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomRect, A.DomRectReadOnly); + _inherit(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__GamepadList_JavaScriptObject_ListMixin); + _inherit(A._GamepadList, A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin); + _inherit(A._NamedNodeMap, A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin); + _inherit(A._SpeechRecognitionResultList, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin); + _inherit(A._StyleSheetList, A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A._LengthList_JavaScriptObject_ListMixin); + _inherit(A.LengthList, A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NumberList_JavaScriptObject_ListMixin); + _inherit(A.NumberList, A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._StringList_JavaScriptObject_ListMixin); + _inherit(A.StringList, A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TransformList_JavaScriptObject_ListMixin); + _inherit(A.TransformList, A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.AudioParamMap, A._AudioParamMap_JavaScriptObject_MapMixin); + _inherit(A.OfflineAudioContext, A.BaseAudioContext); + _inherit(A.InternalStyle, A.Style); + _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]); + _inheritMany(A.StreamChannelMixin, [A.GuaranteeChannel, A._MultiChannel, A.VirtualChannel]); + _inheritMany(A.EventTarget0, [A.Window0, A.Node0, A.MessagePort0, A.WebSocket0]); + _inheritMany(A.Node0, [A.Document0, A.Element0]); + _inherit(A.HTMLDocument, A.Document0); + _inherit(A.HTMLElement, A.Element0); + _inheritMany(A.HTMLElement, [A.HTMLBodyElement, A.HTMLScriptElement, A.HTMLIFrameElement]); + _inherit(A.MessageEvent0, A.Event0); + _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch); + _mixin(A._ListBase_Object_ListMixin, A.ListMixin); + _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin); + _mixin(A.__SetBase_Object_SetMixin, A.SetMixin); + _mixin(A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.CssStyleDeclarationBase); + _mixin(A._DomRectList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._MidiInputMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._MidiOutputMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._AudioParamMap_JavaScriptObject_MapMixin, A.MapMixin); + })(); + var init = { + typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, + mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, + mangledNames: {}, + types: ["~()", "bool(String)", "Null()", "~(@)", "Frame(String)", "~(String,@)", "Frame()", "~(JavaScriptObject)", "Null(@)", "~(~())", "~(Object,StackTrace)", "~(Object[StackTrace?])", "~(Object?)", "bool(Frame)", "@(@)", "Trace()", "String(Frame)", "int(Frame)", "Trace(String)", "@()", "Object?(Object?)", "~(Object?,Object?)", "~(Uint8List,String,int)", "String(String)", "~(String,int)", "~(String,int?)", "int(int,int)", "Map(Map,String)", "Uint8List(@,@)", "~(Symbol0,@)", "~(String,String)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "Future<@>(@)", "String(String?)", "_Future<@>(@)", "List(Trace)", "int(Trace)", "Null(Object,StackTrace)", "String(Trace)", "~([Object?])", "~(int,@)", "Frame(String,String)", "@(@,String)", "0^(0^,0^)", "Future()", "Frame(Frame)", "~(List<@>)", "~(Timer)", "Null(~())", "Future<~>(@)", "@(String)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "~(String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "Null(@,StackTrace)"], + interceptorsByTag: null, + leafTags: null, + arrayRti: Symbol("$ti") + }; + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Window0":"LegacyJavaScriptObject","Document0":"LegacyJavaScriptObject","HTMLDocument":"LegacyJavaScriptObject","Navigator0":"LegacyJavaScriptObject","Element0":"LegacyJavaScriptObject","HTMLElement":"LegacyJavaScriptObject","HTMLBodyElement":"LegacyJavaScriptObject","Node0":"LegacyJavaScriptObject","EventTarget0":"LegacyJavaScriptObject","Event0":"LegacyJavaScriptObject","MessageEvent0":"LegacyJavaScriptObject","Location0":"LegacyJavaScriptObject","MessagePort0":"LegacyJavaScriptObject","CSSStyleDeclaration":"LegacyJavaScriptObject","HTMLScriptElement":"LegacyJavaScriptObject","DomTokenList0":"LegacyJavaScriptObject","HTMLIFrameElement":"LegacyJavaScriptObject","WebSocket0":"LegacyJavaScriptObject","MessageChannel0":"LegacyJavaScriptObject","TestRunner":"LegacyJavaScriptObject","_JSApi":"LegacyJavaScriptObject","AbortPaymentEvent":"JavaScriptObject","ExtendableEvent":"JavaScriptObject","Event":"JavaScriptObject","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","MathMLElement":"Element","AudioElement":"HtmlElement","MediaElement":"HtmlElement","HtmlDocument":"Node","Document":"Node","VttCue":"TextTrackCue","CDataSection":"CharacterData","Text":"CharacterData","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssMatrixComponent":"CssTransformComponent","CssStyleSheet":"StyleSheet","CssurlImageValue":"CssStyleValue","CssImageValue":"CssStyleValue","CssResourceValue":"CssStyleValue","NativeFloat32List":"NativeTypedArrayOfDouble","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JavaScriptObject":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[]},"JSInt":{"double":[],"int":[],"num":[]},"JSNumNotInt":{"double":[],"num":[]},"JSString":{"String":[],"Pattern":[]},"CastStream":{"Stream":["2"],"Stream.T":"2"},"CastStreamSubscription":{"StreamSubscription":["2"]},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int","UnmodifiableListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterator":{"Iterator":["1"]},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Closure":[],"Function":[]},"Closure2Args":{"Closure":[],"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeInt16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt8List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8List":{"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamTransformerBase":{"StreamTransformer":["1","2"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"StreamConsumer":["1"],"_StreamControllerLifecycle":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"StreamConsumer":["1"],"_StreamControllerLifecycle":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"],"StreamConsumer":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_EmptyStream":{"Stream":["1"],"Stream.T":"1"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedHashSet":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"AsciiEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"_FusedCodec":{"Codec":["1","3"],"Codec.S":"1"},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"Utf8Decoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"double":{"num":[]},"int":{"num":[]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"RegExpMatch":{"Match":[]},"String":{"Pattern":[]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CssRule":{"JavaScriptObject":[]},"File":{"JavaScriptObject":[]},"Gamepad":{"JavaScriptObject":[]},"MimeType":{"JavaScriptObject":[]},"Node":{"JavaScriptObject":[]},"Plugin":{"JavaScriptObject":[]},"SourceBuffer":{"JavaScriptObject":[]},"SpeechGrammar":{"JavaScriptObject":[]},"SpeechRecognitionResult":{"JavaScriptObject":[]},"StyleSheet":{"JavaScriptObject":[]},"TextTrack":{"JavaScriptObject":[]},"TextTrackCue":{"JavaScriptObject":[]},"Touch":{"JavaScriptObject":[]},"HtmlElement":{"Node":[],"JavaScriptObject":[]},"AccessibleNodeList":{"JavaScriptObject":[]},"AnchorElement":{"Node":[],"JavaScriptObject":[]},"AreaElement":{"Node":[],"JavaScriptObject":[]},"Blob":{"JavaScriptObject":[]},"CharacterData":{"Node":[],"JavaScriptObject":[]},"CssPerspective":{"JavaScriptObject":[]},"CssStyleDeclaration":{"JavaScriptObject":[]},"CssStyleValue":{"JavaScriptObject":[]},"CssTransformComponent":{"JavaScriptObject":[]},"CssTransformValue":{"JavaScriptObject":[]},"CssUnparsedValue":{"JavaScriptObject":[]},"DataTransferItemList":{"JavaScriptObject":[]},"DomException":{"JavaScriptObject":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"JavaScriptObject":[],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"JavaScriptObject":[],"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"DomTokenList":{"JavaScriptObject":[]},"Element":{"Node":[],"JavaScriptObject":[]},"EventTarget":{"JavaScriptObject":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"JavaScriptObject":[],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"JavaScriptObject":[]},"FormElement":{"Node":[],"JavaScriptObject":[]},"History":{"JavaScriptObject":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"Location":{"JavaScriptObject":[]},"MediaList":{"JavaScriptObject":[]},"MidiInputMap":{"JavaScriptObject":[],"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"JavaScriptObject":[],"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"JavaScriptObject":[],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"JavaScriptObject":[],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"RtcStatsReport":{"JavaScriptObject":[],"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"Node":[],"JavaScriptObject":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"JavaScriptObject":[],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"Storage":{"JavaScriptObject":[],"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TimeRanges":{"JavaScriptObject":[]},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"JavaScriptObject":[],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"TrackDefaultList":{"JavaScriptObject":[]},"Url":{"JavaScriptObject":[]},"VideoTrackList":{"JavaScriptObject":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"JavaScriptObject":[],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"JavaScriptObject":[],"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"JavaScriptObject":[],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"JavaScriptObject":[],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"FixedSizeListIterator":{"Iterator":["1"]},"NullRejectionException":{"Exception":[]},"Length":{"JavaScriptObject":[]},"Number":{"JavaScriptObject":[]},"Transform":{"JavaScriptObject":[]},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"JavaScriptObject":[],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"JavaScriptObject":[],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"PointList":{"JavaScriptObject":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"JavaScriptObject":[],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"AudioBuffer":{"JavaScriptObject":[]},"AudioParamMap":{"JavaScriptObject":[],"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioTrackList":{"JavaScriptObject":[]},"BaseAudioContext":{"JavaScriptObject":[]},"OfflineAudioContext":{"JavaScriptObject":[]},"NullStreamSink":{"StreamSink":["1"],"StreamConsumer":["1"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"GuaranteeChannel":{"StreamChannelMixin":["1"],"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"],"StreamConsumer":["1"]},"_MultiChannel":{"StreamChannelMixin":["1"],"MultiChannel":["1"],"StreamChannel":["1"]},"VirtualChannel":{"StreamChannelMixin":["1"],"MultiChannel":["1"],"StreamChannel":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]}}')); + A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"EfficientLengthIterable":1,"UnmodifiableListBase":1,"NativeTypedArray":1,"StreamTransformerBase":2,"IterableBase":1,"ListBase":1,"MapBase":2,"_SetBase":1,"_ListBase_Object_ListMixin":1,"__SetBase_Object_SetMixin":1}')); + var string$ = { + ______: "===== asynchronous gap ===========================\n", + Cannotff: "Cannot extract a file path from a URI with a fragment component", + Cannotfq: "Cannot extract a file path from a URI with a query component", + Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority", + Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type", + handle: "handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace." + }; + var type$ = (function rtii() { + var findType = A.findType; + return { + AsyncError: findType("AsyncError"), + ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), + CssRule: findType("CssRule"), + Duration: findType("Duration"), + EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"), + Error: findType("Error"), + Exception: findType("Exception"), + File: findType("File"), + Frame: findType("Frame"), + Frame_Function_Frame: findType("Frame(Frame)"), + Frame_Function_String: findType("Frame(String)"), + Function: findType("Function"), + Future_dynamic: findType("Future<@>"), + Future_void: findType("Future<~>"), + InternalStyle: findType("InternalStyle"), + Invocation: findType("Invocation"), + Iterable_String: findType("Iterable"), + Iterable_dynamic: findType("Iterable<@>"), + JSArray_Frame: findType("JSArray"), + JSArray_JavaScriptObject: findType("JSArray"), + JSArray_Object: findType("JSArray"), + JSArray_StreamSubscription_void: findType("JSArray>"), + JSArray_String: findType("JSArray"), + JSArray_Subscription: findType("JSArray"), + JSArray_Trace: findType("JSArray"), + JSArray_Uint8List: findType("JSArray"), + JSArray_dynamic: findType("JSArray<@>"), + JSArray_int: findType("JSArray"), + JSArray_nullable_String: findType("JSArray"), + JSNull: findType("JSNull"), + JavaScriptFunction: findType("JavaScriptFunction"), + JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"), + JavaScriptObject: findType("JavaScriptObject"), + JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap"), + Length: findType("Length"), + List_String: findType("List"), + List_dynamic: findType("List<@>"), + List_int: findType("List"), + Map_String_String: findType("Map"), + Map_dynamic_dynamic: findType("Map<@,@>"), + MappedIterable_String_Frame: findType("MappedIterable"), + MappedListIterable_Frame_Frame: findType("MappedListIterable"), + MappedListIterable_String_Trace: findType("MappedListIterable"), + MappedListIterable_String_dynamic: findType("MappedListIterable"), + MimeType: findType("MimeType"), + NativeUint8List: findType("NativeUint8List"), + Node: findType("Node"), + Null: findType("Null"), + Number: findType("Number"), + Object: findType("Object"), + Pattern: findType("Pattern"), + Plugin: findType("Plugin"), + Rectangle_num: findType("Rectangle"), + RegExpMatch: findType("RegExpMatch"), + SourceBuffer: findType("SourceBuffer"), + SpeechGrammar: findType("SpeechGrammar"), + SpeechRecognitionResult: findType("SpeechRecognitionResult"), + StackTrace: findType("StackTrace"), + String: findType("String"), + StyleSheet: findType("StyleSheet"), + Symbol: findType("Symbol0"), + TextTrack: findType("TextTrack"), + TextTrackCue: findType("TextTrackCue"), + Timer: findType("Timer"), + Touch: findType("Touch"), + Trace: findType("Trace"), + Trace_Function_String: findType("Trace(String)"), + Transform: findType("Transform"), + TypeError: findType("TypeError"), + Uint8List: findType("Uint8List"), + UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), + UnmodifiableMapView_String_String: findType("UnmodifiableMapView"), + Uri: findType("Uri"), + WhereIterable_String: findType("WhereIterable"), + WhereTypeIterable_String: findType("WhereTypeIterable"), + Zone: findType("Zone"), + _AsyncCompleter_dynamic: findType("_AsyncCompleter<@>"), + _Future_dynamic: findType("_Future<@>"), + _Future_int: findType("_Future"), + _Future_void: findType("_Future<~>"), + _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"), + _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), + _SyncCompleter_dynamic: findType("_SyncCompleter<@>"), + _ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace: findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,Object,StackTrace)>"), + bool: findType("bool"), + bool_Function_Frame: findType("bool(Frame)"), + bool_Function_Object: findType("bool(Object)"), + bool_Function_String: findType("bool(String)"), + double: findType("double"), + dynamic: findType("@"), + dynamic_Function: findType("@()"), + dynamic_Function_Object: findType("@(Object)"), + dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), + dynamic_Function_String: findType("@(String)"), + int: findType("int"), + legacy_Never: findType("0&*"), + legacy_Object: findType("Object*"), + nullable_Future_Null: findType("Future?"), + nullable_Gamepad: findType("Gamepad?"), + nullable_JavaScriptObject: findType("JavaScriptObject?"), + nullable_List_dynamic: findType("List<@>?"), + nullable_Map_of_nullable_Object_and_nullable_Object: findType("Map?"), + nullable_Object: findType("Object?"), + nullable_StackTrace: findType("StackTrace?"), + nullable_Zone: findType("Zone?"), + nullable_ZoneDelegate: findType("ZoneDelegate?"), + nullable_ZoneSpecification: findType("ZoneSpecification?"), + nullable__DelayedEvent_dynamic: findType("_DelayedEvent<@>?"), + nullable__FutureListener_dynamic_dynamic: findType("_FutureListener<@,@>?"), + nullable__LinkedHashSetCell: findType("_LinkedHashSetCell?"), + nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object: findType("Object?(Object?,Object?)?"), + nullable_nullable_Object_Function_dynamic: findType("Object?(@)?"), + nullable_void_Function: findType("~()?"), + num: findType("num"), + void: findType("~"), + void_Function: findType("~()"), + void_Function_$opt_dynamic: findType("~([@])"), + void_Function_JavaScriptObject: findType("~(JavaScriptObject)"), + void_Function_Object: findType("~(Object)"), + void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), + void_Function_String_String: findType("~(String,String)"), + void_Function_String_dynamic: findType("~(String,@)"), + void_Function_Timer: findType("~(Timer)") + }; })(); (function constants() { var makeConstList = hunkHelpers.makeConstList; - C.Interceptor_methods = J.Interceptor.prototype; - C.JSArray_methods = J.JSArray.prototype; - C.JSInt_methods = J.JSInt.prototype; - C.JSNumber_methods = J.JSNumber.prototype; - C.JSString_methods = J.JSString.prototype; - C.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; - C.Location_methods = W.Location.prototype; - C.MessagePort_methods = W.MessagePort.prototype; - C.NativeUint8List_methods = H.NativeUint8List.prototype; - C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; - C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; - C.Window_methods = W.Window.prototype; - C.AsciiCodec_false = new P.AsciiCodec(false); - C.AsciiEncoder_127 = new P.AsciiEncoder(127); - C.Base64Encoder_false = new P.Base64Encoder(false); - C.Base64Codec_Base64Encoder_false = new P.Base64Codec(C.Base64Encoder_false); - C.C_EmptyIterator = new H.EmptyIterator([P.Null]); - C.C_JS_CONST = function getTagFallback(o) { + B.Interceptor_methods = J.Interceptor.prototype; + B.JSArray_methods = J.JSArray.prototype; + B.JSInt_methods = J.JSInt.prototype; + B.JSNumber_methods = J.JSNumber.prototype; + B.JSString_methods = J.JSString.prototype; + B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; + B.JavaScriptObject_methods = J.JavaScriptObject.prototype; + B.NativeUint8List_methods = A.NativeUint8List.prototype; + B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; + B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; + B.AsciiEncoder_127 = new A.AsciiEncoder(127); + B.CONSTANT = new A.Instantiation1(A.math__max$closure(), A.findType("Instantiation1")); + B.C_AsciiCodec = new A.AsciiCodec(); + B.C_Base64Encoder = new A.Base64Encoder(); + B.C_Base64Codec = new A.Base64Codec(); + B.C_EmptyIterator = new A.EmptyIterator(A.findType("EmptyIterator<0&>")); + B.C_JS_CONST = function getTagFallback(o) { var s = Object.prototype.toString.call(o); return s.substring(8, s.length - 1); }; - C.C_JS_CONST0 = function() { + B.C_JS_CONST0 = function() { var toStringFunction = Object.prototype.toString; function getTag(o) { var s = toStringFunction.call(o); @@ -14716,7 +16876,7 @@ prototypeForTag: prototypeForTag, discriminator: discriminator }; }; - C.C_JS_CONST6 = function(getTagFallback) { + B.C_JS_CONST6 = function(getTagFallback) { return function(hooks) { if (typeof navigator != "object") return hooks; var ua = navigator.userAgent; @@ -14730,11 +16890,11 @@ hooks.getTag = getTagFallback; }; }; - C.C_JS_CONST1 = function(hooks) { + B.C_JS_CONST1 = function(hooks) { if (typeof dartExperimentalFixupGetTag != "function") return hooks; hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); }; - C.C_JS_CONST2 = function(hooks) { + B.C_JS_CONST2 = function(hooks) { var getTag = hooks.getTag; var prototypeForTag = hooks.prototypeForTag; function getTagFixed(o) { @@ -14752,7 +16912,7 @@ hooks.getTag = getTagFixed; hooks.prototypeForTag = prototypeForTagFixed; }; - C.C_JS_CONST5 = function(hooks) { + B.C_JS_CONST5 = function(hooks) { var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; if (userAgent.indexOf("Firefox") == -1) return hooks; var getTag = hooks.getTag; @@ -14769,7 +16929,7 @@ } hooks.getTag = getTagFirefox; }; - C.C_JS_CONST4 = function(hooks) { + B.C_JS_CONST4 = function(hooks) { var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; if (userAgent.indexOf("Trident/") == -1) return hooks; var getTag = hooks.getTag; @@ -14798,56 +16958,57 @@ hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; }; - C.C_JS_CONST3 = function(hooks) { return hooks; } + B.C_JS_CONST3 = function(hooks) { return hooks; } ; - C.C_OutOfMemoryError = new P.OutOfMemoryError(); - C.C_Utf8Encoder = new P.Utf8Encoder(); - C.C__DelayedDone = new P._DelayedDone(); - C.C__RootZone = new P._RootZone(); - C.Duration_0 = new P.Duration(0); - C.JsonCodec_null_null = new P.JsonCodec(null, null); - C.JsonDecoder_null = new P.JsonDecoder(null); - C.JsonEncoder_null_null = new P.JsonEncoder(null, null); - C.List_127_2047_65535_1114111 = H.setRuntimeTypeInfo(makeConstList([127, 2047, 65535, 1114111]), [P.int]); - C.List_2Vk = H.setRuntimeTypeInfo(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), [P.int]); - C.List_CVk = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), [P.int]); - C.List_JYB = H.setRuntimeTypeInfo(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), [P.int]); - C.List_WnV = H.setRuntimeTypeInfo(makeConstList(["/", "\\"]), [P.String]); - C.List_cSk = H.setRuntimeTypeInfo(makeConstList(["/"]), [P.String]); - C.List_empty = H.setRuntimeTypeInfo(makeConstList([]), [P.String]); - C.List_empty0 = makeConstList([]); - C.List_gRj = H.setRuntimeTypeInfo(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), [P.int]); - C.List_nxB = H.setRuntimeTypeInfo(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), [P.int]); - C.List_qFt = H.setRuntimeTypeInfo(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), [P.int]); - C.List_qNA = H.setRuntimeTypeInfo(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), [P.int]); - C.List_qg40 = H.setRuntimeTypeInfo(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), [P.int]); - C.List_qg4 = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), [P.int]); - C.Map_empty = new H.ConstantStringMap(0, {}, C.List_empty, [P.String, P.String]); - C.List_empty1 = H.setRuntimeTypeInfo(makeConstList([]), [P.Symbol0]); - C.Map_empty0 = new H.ConstantStringMap(0, {}, C.List_empty1, [P.Symbol0, null]); - C.Symbol_call = new H.Symbol("call"); - C.Utf8Codec_false = new P.Utf8Codec(false); - C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P.async___rootCreatePeriodicTimer$closure(), [{func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1, args: [P.Timer]}]}]); - C._ZoneFunction_7G2 = new P._ZoneFunction(C.C__RootZone, P.async___rootRegisterBinaryCallback$closure(), [P.Function]); - C._ZoneFunction_Eeh = new P._ZoneFunction(C.C__RootZone, P.async___rootRegisterUnaryCallback$closure(), [P.Function]); - C._ZoneFunction_NMc = new P._ZoneFunction(C.C__RootZone, P.async___rootHandleUncaughtError$closure(), [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}]); - C._ZoneFunction__RootZone__rootCreateTimer = new P._ZoneFunction(C.C__RootZone, P.async___rootCreateTimer$closure(), [{func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1}]}]); - C._ZoneFunction__RootZone__rootErrorCallback = new P._ZoneFunction(C.C__RootZone, P.async___rootErrorCallback$closure(), [{func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}]); - C._ZoneFunction__RootZone__rootFork = new P._ZoneFunction(C.C__RootZone, P.async___rootFork$closure(), [{func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, [P.Map,,,]]}]); - C._ZoneFunction__RootZone__rootPrint = new P._ZoneFunction(C.C__RootZone, P.async___rootPrint$closure(), [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}]); - C._ZoneFunction__RootZone__rootRegisterCallback = new P._ZoneFunction(C.C__RootZone, P.async___rootRegisterCallback$closure(), [P.Function]); - C._ZoneFunction__RootZone__rootRun = new P._ZoneFunction(C.C__RootZone, P.async___rootRun$closure(), [P.Function]); - C._ZoneFunction__RootZone__rootRunBinary = new P._ZoneFunction(C.C__RootZone, P.async___rootRunBinary$closure(), [P.Function]); - C._ZoneFunction__RootZone__rootRunUnary = new P._ZoneFunction(C.C__RootZone, P.async___rootRunUnary$closure(), [P.Function]); - C._ZoneFunction__RootZone__rootScheduleMicrotask = new P._ZoneFunction(C.C__RootZone, P.async___rootScheduleMicrotask$closure(), [{func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: -1}]}]); - C._ZoneSpecification_ALf = new P._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null); + B.C_JsonCodec = new A.JsonCodec(); + B.C_OutOfMemoryError = new A.OutOfMemoryError(); + B.C_SentinelValue = new A.SentinelValue(); + B.C_Utf8Codec = new A.Utf8Codec(); + B.C_Utf8Encoder = new A.Utf8Encoder(); + B.C__DelayedDone = new A._DelayedDone(); + B.C__Required = new A._Required(); + B.C__RootZone = new A._RootZone(); + B.Duration_0 = new A.Duration(0); + B.JsonDecoder_null = new A.JsonDecoder(null); + B.JsonEncoder_null = new A.JsonEncoder(null); + B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int); + B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); + B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String); + B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic); + B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int); + B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap")); + B.List_empty1 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty1, A.findType("ConstantStringMap")); + B.Symbol_call = new A.Symbol("call"); + B.Type_Object_xQ6 = A.typeLiteral("Object"); + B.Utf8Decoder_false = new A.Utf8Decoder(false); + B._StringStackTrace_3uE = new A._StringStackTrace(""); + B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure(), A.findType("_ZoneFunction<0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))>")); + B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure(), A.findType("_ZoneFunction<0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))>")); + B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure(), type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace); + B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure(), A.findType("_ZoneFunction?)>")); + B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,String)>")); + B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure(), A.findType("_ZoneFunction<0^()(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^,2^),1^,2^)>")); + B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^),1^)>")); + B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,~())>")); })(); (function staticFields() { + $._JS_INTEROP_INTERCEPTOR_TAG = null; $.printToZone = null; - $.Closure_functionCounter = 0; - $.BoundClosure_selfFieldNameCache = null; - $.BoundClosure_receiverFieldNameCache = null; - $._inTypeAssertion = false; + $.Primitives__identityHashCodeProperty = null; + $.BoundClosure__receiverFieldNameCache = null; + $.BoundClosure__interceptorFieldNameCache = null; $.getTagFunction = null; $.alternateTagFunction = null; $.prototypeForTagFunction = null; @@ -14858,195 +17019,102 @@ $._lastCallback = null; $._lastPriorityCallback = null; $._isInCallbackLoop = false; - $.Zone__current = C.C__RootZone; + $.Zone__current = B.C__RootZone; $._RootZone__rootDelegate = null; + $._toStringVisiting = A._setArrayType([], type$.JSArray_Object); $._currentUriBase = null; $._current = null; + $._iframes = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.JavaScriptObject); + $._subscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("List>")); + $._domSubscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("List")); })(); (function lazyInitializers() { - var _lazy = hunkHelpers.lazy; - _lazy($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", function() { - return H.getIsolateAffinityTag("_$dart_dartClosure"); - }); - _lazy($, "JS_INTEROP_INTERCEPTOR_TAG", "$get$JS_INTEROP_INTERCEPTOR_TAG", function() { - return H.getIsolateAffinityTag("_$dart_js"); - }); - _lazy($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ - toString: function() { - return "$receiver$"; - } - })); - }); - _lazy($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({$method$: null, - toString: function() { - return "$receiver$"; - } - })); - }); - _lazy($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null)); - }); - _lazy($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - var $argumentsExpr$ = '$arguments$'; - try { - null.$method$($argumentsExpr$); - } catch (e) { - return e.message; - } - }()); - }); - _lazy($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0)); - }); - _lazy($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - var $argumentsExpr$ = '$arguments$'; - try { - (void 0).$method$($argumentsExpr$); - } catch (e) { - return e.message; - } - }()); - }); - _lazy($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null)); - }); - _lazy($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - try { - null.$method$; - } catch (e) { - return e.message; - } - }()); - }); - _lazy($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0)); - }); - _lazy($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() { - return H.TypeErrorDecoder_extractPattern(function() { - try { - (void 0).$method$; - } catch (e) { - return e.message; - } - }()); - }); - _lazy($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", function() { - return P._AsyncRun__initializeScheduleImmediate(); - }); - _lazy($, "Future__nullFuture", "$get$Future__nullFuture", function() { - return P._Future$zoneValue(null, C.C__RootZone, P.Null); - }); - _lazy($, "_RootZone__rootMap", "$get$_RootZone__rootMap", function() { - return P.HashMap_HashMap(null, null); - }); - _lazy($, "_toStringVisiting", "$get$_toStringVisiting", function() { - return []; - }); - _lazy($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", function() { - return P.Utf8Decoder__makeDecoder(); - }); - _lazy($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", function() { - return H.NativeInt8List__create1(H._ensureNativeList(H.setRuntimeTypeInfo([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], [P.int]))); - }); - _lazy($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", function() { - return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; - }); - _lazy($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", function() { - return P.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false); - }); - _lazy($, "_scannerTables", "$get$_scannerTables", function() { - return P._createTables(); - }); - _lazy($, "windows", "$get$windows", function() { - return M.Context_Context($.$get$Style_windows()); - }); - _lazy($, "context", "$get$context", function() { - return new M.Context($.$get$Style_platform(), null); - }); - _lazy($, "Style_posix", "$get$Style_posix", function() { - P.RegExp_RegExp("/", false); - P.RegExp_RegExp("[^/]$", false); - P.RegExp_RegExp("^/", false); - return new E.PosixStyle(); - }); - _lazy($, "Style_windows", "$get$Style_windows", function() { - P.RegExp_RegExp("[/\\\\]", false); - P.RegExp_RegExp("[^/\\\\]$", false); - P.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false); - P.RegExp_RegExp("^[/\\\\](?![/\\\\])", false); - return new L.WindowsStyle(); - }); - _lazy($, "Style_url", "$get$Style_url", function() { - P.RegExp_RegExp("/", false); - P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false); - P.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false); - P.RegExp_RegExp("^/", false); - return new F.UrlStyle(); - }); - _lazy($, "Style_platform", "$get$Style_platform", function() { - return O.Style__getPlatformStyle(); - }); - _lazy($, "_vmFrame", "$get$_vmFrame", function() { - return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false); - }); - _lazy($, "_v8Frame", "$get$_v8Frame", function() { - return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false); - }); - _lazy($, "_v8UrlLocation", "$get$_v8UrlLocation", function() { - return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)|native$", false); - }); - _lazy($, "_v8EvalLocation", "$get$_v8EvalLocation", function() { - return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false); - }); - _lazy($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", function() { - return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false); - }); - _lazy($, "_friendlyFrame", "$get$_friendlyFrame", function() { - return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false); - }); - _lazy($, "_asyncBody", "$get$_asyncBody", function() { - return P.RegExp_RegExp("<(|[^>]+)_async_body>", false); - }); - _lazy($, "_initialDot", "$get$_initialDot", function() { - return P.RegExp_RegExp("^\\.", false); - }); - _lazy($, "Frame__uriRegExp", "$get$Frame__uriRegExp", function() { - return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false); - }); - _lazy($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", function() { - return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false); - }); - _lazy($, "_terseRegExp", "$get$_terseRegExp", function() { - return P.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false); - }); - _lazy($, "_v8Trace", "$get$_v8Trace", function() { - return P.RegExp_RegExp("\\n ?at ", false); - }); - _lazy($, "_v8TraceLine", "$get$_v8TraceLine", function() { - return P.RegExp_RegExp(" ?at ", false); - }); - _lazy($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", function() { - return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true); - }); - _lazy($, "_friendlyTrace", "$get$_friendlyTrace", function() { - return P.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true); - }); - _lazy($, "_iframes", "$get$_iframes", function() { - return H.JsLinkedHashMap_JsLinkedHashMap$es6(P.int, W.IFrameElement); - }); - _lazy($, "_subscriptions", "$get$_subscriptions", function() { - return H.JsLinkedHashMap_JsLinkedHashMap$es6(P.int, [P.List, [P.StreamSubscription,,]]); - }); - _lazy($, "_currentUrl", "$get$_currentUrl", function() { - return P.Uri_parse(C.Window_methods.get$location(W.window()).href); + var _lazyFinal = hunkHelpers.lazyFinal; + _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure")); + _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(new A.nullFuture_closure(), A.findType("Future"))); + _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({ + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null, + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + null.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + (void 0).$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + null.$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + (void 0).$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate()); + _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future")._as($.$get$nullFuture())); + _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => { + var t1 = type$.dynamic; + return A.HashMap_HashMap(t1, t1); }); + _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0()); + _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0()); + _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int)))); + _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"); + _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false)); + _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6)); + _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables()); + _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows())); + _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null)); + _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false))); + _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", false), A.RegExp_RegExp("[^/\\\\]$", false), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", false))); + _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false), A.RegExp_RegExp("^/", false))); + _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle()); + _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false)); + _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false)); + _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false)); + _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false)); + _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false)); + _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false)); + _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false)); + _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(|[^>]+)_async_body>", false)); + _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false)); + _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false)); + _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false)); + _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false)); + _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false)); + _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false)); + _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false)); + _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true)); + _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true)); + _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^\\n?$", true)); + _lazyFinal($, "_currentUrl", "$get$_currentUrl", () => A.Uri_parse(A.getProperty(A.WindowExtension_get_location(self.window), "href", type$.String))); })(); - var init = {mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, mangledNames: {}, getTypeFromName: getGlobalFromName, metadata: [], types: [{func: 1, ret: P.Null}, {func: 1, ret: -1}, {func: 1, ret: P.bool, args: [P.String]}, {func: 1, ret: -1, args: [P.Object], opt: [P.StackTrace]}, {func: 1, ret: P.Null, args: [,]}, {func: 1, ret: A.Frame, args: [P.String]}, {func: 1, ret: -1, args: [,]}, {func: 1, ret: A.Frame}, {func: 1, args: [,]}, {func: 1, ret: -1, args: [{func: 1, ret: -1}]}, {func: 1, ret: P.Null, args: [W.MessageEvent]}, {func: 1, ret: -1, args: [P.Object]}, {func: 1, ret: P.String, args: [P.int]}, {func: 1, ret: P.Null, args: [,,]}, {func: 1, ret: P.String, args: [P.String]}, {func: 1, ret: P.Null, args: [, P.StackTrace]}, {func: 1, ret: Y.Trace}, {func: 1, ret: P.String, args: [A.Frame]}, {func: 1, ret: P.int, args: [A.Frame]}, {func: 1, ret: Y.Trace, args: [P.String]}, {func: 1, ret: P.Null, args: [P.String]}, {func: 1, ret: P.bool, args: [A.Frame]}, {func: 1, ret: [P._Future,,], args: [,]}, {func: 1, ret: -1, args: [P.String, P.int]}, {func: 1, ret: -1, args: [P.String], opt: [,]}, {func: 1, ret: P.int, args: [P.int, P.int]}, {func: 1, ret: P.Null, args: [P.Symbol0,,]}, {func: 1, ret: -1, args: [P.int, P.int]}, {func: 1, ret: P.Uint8List, args: [P.int]}, {func: 1, ret: P.Uint8List, args: [,,]}, {func: 1, args: [W.Event]}, {func: 1, args: [,,]}, {func: 1, ret: P.Null, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, ret: [P.Future,,], args: [,]}, {func: 1, ret: [P.List, A.Frame], args: [Y.Trace]}, {func: 1, ret: P.int, args: [Y.Trace]}, {func: 1, ret: [P.Map, P.String, P.String], args: [[P.Map, P.String, P.String], P.String]}, {func: 1, ret: P.String, args: [Y.Trace]}, {func: 1, ret: P.Null, args: [,], opt: [P.StackTrace]}, {func: 1, ret: -1, opt: [P.Object]}, {func: 1, ret: A.Frame, args: [,,]}, {func: 1, ret: P.Null, args: [P.int,,]}, {func: 1, ret: P.Null, args: [{func: 1, ret: -1}]}, {func: 1, bounds: [P.num], ret: 0, args: [0, 0]}, {func: 1, ret: A.Frame, args: [A.Frame]}, {func: 1, ret: -1, args: [,], opt: [P.StackTrace]}, {func: 1, ret: -1, args: [P.Timer]}, {func: 1, ret: P.Null, args: [W.MouseEvent]}, {func: 1, args: [P.String]}, {func: 1, ret: [P.Future, P.Null], args: [,]}, {func: 1, ret: P.Null, args: [P.String,,]}, {func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, bounds: [P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0}]}, {func: 1, bounds: [P.Object, P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1]}, 1]}, {func: 1, bounds: [P.Object, P.Object, P.Object], ret: 0, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1, 2]}, 1, 2]}, {func: 1, bounds: [P.Object], ret: {func: 1, ret: 0}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0}]}, {func: 1, bounds: [P.Object, P.Object], ret: {func: 1, ret: 0, args: [1]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1]}]}, {func: 1, bounds: [P.Object, P.Object, P.Object], ret: {func: 1, ret: 0, args: [1, 2]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: 0, args: [1, 2]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, ret: -1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, ret: -1, args: [P.Timer]}]}, {func: 1, ret: -1, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, {func: 1, ret: -1, args: [P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, [P.Map,,,]]}, {func: 1, args: [, P.String]}], interceptorsByTag: null, leafTags: null}; (function nativeSupport() { !function() { var intern = function(s) { @@ -15070,69 +17138,73 @@ } init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); }(); - hunkHelpers.setOrUpdateInterceptorsByTag({DOMError: J.Interceptor, MediaError: J.Interceptor, MessageChannel: J.Interceptor, NavigatorUserMediaError: J.Interceptor, OverconstrainedError: J.Interceptor, PositionError: J.Interceptor, SQLError: J.Interceptor, ArrayBuffer: H.NativeByteBuffer, DataView: H.NativeTypedData, ArrayBufferView: H.NativeTypedData, Float32Array: H.NativeTypedArrayOfDouble, Float64Array: H.NativeTypedArrayOfDouble, Int16Array: H.NativeInt16List, Int32Array: H.NativeInt32List, Int8Array: H.NativeInt8List, Uint16Array: H.NativeUint16List, Uint32Array: H.NativeUint32List, Uint8ClampedArray: H.NativeUint8ClampedList, CanvasPixelArray: H.NativeUint8ClampedList, Uint8Array: H.NativeUint8List, HTMLAudioElement: W.HtmlElement, HTMLBRElement: W.HtmlElement, HTMLBaseElement: W.HtmlElement, HTMLBodyElement: W.HtmlElement, HTMLButtonElement: W.HtmlElement, HTMLCanvasElement: W.HtmlElement, HTMLContentElement: W.HtmlElement, HTMLDListElement: W.HtmlElement, HTMLDataElement: W.HtmlElement, HTMLDataListElement: W.HtmlElement, HTMLDetailsElement: W.HtmlElement, HTMLDialogElement: W.HtmlElement, HTMLDivElement: W.HtmlElement, HTMLEmbedElement: W.HtmlElement, HTMLFieldSetElement: W.HtmlElement, HTMLHRElement: W.HtmlElement, HTMLHeadElement: W.HtmlElement, HTMLHeadingElement: W.HtmlElement, HTMLHtmlElement: W.HtmlElement, HTMLImageElement: W.HtmlElement, HTMLInputElement: W.HtmlElement, HTMLLIElement: W.HtmlElement, HTMLLabelElement: W.HtmlElement, HTMLLegendElement: W.HtmlElement, HTMLLinkElement: W.HtmlElement, HTMLMapElement: W.HtmlElement, HTMLMediaElement: W.HtmlElement, HTMLMenuElement: W.HtmlElement, HTMLMetaElement: W.HtmlElement, HTMLMeterElement: W.HtmlElement, HTMLModElement: W.HtmlElement, HTMLOListElement: W.HtmlElement, HTMLObjectElement: W.HtmlElement, HTMLOptGroupElement: W.HtmlElement, HTMLOptionElement: W.HtmlElement, HTMLOutputElement: W.HtmlElement, HTMLParagraphElement: W.HtmlElement, HTMLParamElement: W.HtmlElement, HTMLPictureElement: W.HtmlElement, HTMLPreElement: W.HtmlElement, HTMLProgressElement: W.HtmlElement, HTMLQuoteElement: W.HtmlElement, HTMLScriptElement: W.HtmlElement, HTMLShadowElement: W.HtmlElement, HTMLSlotElement: W.HtmlElement, HTMLSourceElement: W.HtmlElement, HTMLSpanElement: W.HtmlElement, HTMLStyleElement: W.HtmlElement, HTMLTableCaptionElement: W.HtmlElement, HTMLTableCellElement: W.HtmlElement, HTMLTableDataCellElement: W.HtmlElement, HTMLTableHeaderCellElement: W.HtmlElement, HTMLTableColElement: W.HtmlElement, HTMLTableElement: W.HtmlElement, HTMLTableRowElement: W.HtmlElement, HTMLTableSectionElement: W.HtmlElement, HTMLTemplateElement: W.HtmlElement, HTMLTextAreaElement: W.HtmlElement, HTMLTimeElement: W.HtmlElement, HTMLTitleElement: W.HtmlElement, HTMLTrackElement: W.HtmlElement, HTMLUListElement: W.HtmlElement, HTMLUnknownElement: W.HtmlElement, HTMLVideoElement: W.HtmlElement, HTMLDirectoryElement: W.HtmlElement, HTMLFontElement: W.HtmlElement, HTMLFrameElement: W.HtmlElement, HTMLFrameSetElement: W.HtmlElement, HTMLMarqueeElement: W.HtmlElement, HTMLElement: W.HtmlElement, HTMLAnchorElement: W.AnchorElement, HTMLAreaElement: W.AreaElement, Blob: W.Blob, CDATASection: W.CharacterData, CharacterData: W.CharacterData, Comment: W.CharacterData, ProcessingInstruction: W.CharacterData, Text: W.CharacterData, DOMException: W.DomException, DOMTokenList: W.DomTokenList, Element: W.Element, AbortPaymentEvent: W.Event, AnimationEvent: W.Event, AnimationPlaybackEvent: W.Event, ApplicationCacheErrorEvent: W.Event, BackgroundFetchClickEvent: W.Event, BackgroundFetchEvent: W.Event, BackgroundFetchFailEvent: W.Event, BackgroundFetchedEvent: W.Event, BeforeInstallPromptEvent: W.Event, BeforeUnloadEvent: W.Event, BlobEvent: W.Event, CanMakePaymentEvent: W.Event, ClipboardEvent: W.Event, CloseEvent: W.Event, CustomEvent: W.Event, DeviceMotionEvent: W.Event, DeviceOrientationEvent: W.Event, ErrorEvent: W.Event, ExtendableEvent: W.Event, ExtendableMessageEvent: W.Event, FetchEvent: W.Event, FontFaceSetLoadEvent: W.Event, ForeignFetchEvent: W.Event, GamepadEvent: W.Event, HashChangeEvent: W.Event, InstallEvent: W.Event, MediaEncryptedEvent: W.Event, MediaKeyMessageEvent: W.Event, MediaQueryListEvent: W.Event, MediaStreamEvent: W.Event, MediaStreamTrackEvent: W.Event, MIDIConnectionEvent: W.Event, MIDIMessageEvent: W.Event, MutationEvent: W.Event, NotificationEvent: W.Event, PageTransitionEvent: W.Event, PaymentRequestEvent: W.Event, PaymentRequestUpdateEvent: W.Event, PopStateEvent: W.Event, PresentationConnectionAvailableEvent: W.Event, PresentationConnectionCloseEvent: W.Event, ProgressEvent: W.Event, PromiseRejectionEvent: W.Event, PushEvent: W.Event, RTCDataChannelEvent: W.Event, RTCDTMFToneChangeEvent: W.Event, RTCPeerConnectionIceEvent: W.Event, RTCTrackEvent: W.Event, SecurityPolicyViolationEvent: W.Event, SensorErrorEvent: W.Event, SpeechRecognitionError: W.Event, SpeechRecognitionEvent: W.Event, SpeechSynthesisEvent: W.Event, StorageEvent: W.Event, SyncEvent: W.Event, TrackEvent: W.Event, TransitionEvent: W.Event, WebKitTransitionEvent: W.Event, VRDeviceEvent: W.Event, VRDisplayEvent: W.Event, VRSessionEvent: W.Event, MojoInterfaceRequestEvent: W.Event, ResourceProgressEvent: W.Event, USBConnectionEvent: W.Event, IDBVersionChangeEvent: W.Event, AudioProcessingEvent: W.Event, OfflineAudioCompletionEvent: W.Event, WebGLContextEvent: W.Event, Event: W.Event, InputEvent: W.Event, WebSocket: W.EventTarget, EventTarget: W.EventTarget, File: W.File, HTMLFormElement: W.FormElement, HTMLCollection: W.HtmlCollection, HTMLFormControlsCollection: W.HtmlCollection, HTMLOptionsCollection: W.HtmlCollection, HTMLIFrameElement: W.IFrameElement, Location: W.Location, MessageEvent: W.MessageEvent, MessagePort: W.MessagePort, MouseEvent: W.MouseEvent, DragEvent: W.MouseEvent, PointerEvent: W.MouseEvent, WheelEvent: W.MouseEvent, Document: W.Node, DocumentFragment: W.Node, HTMLDocument: W.Node, ShadowRoot: W.Node, XMLDocument: W.Node, Attr: W.Node, DocumentType: W.Node, Node: W.Node, HTMLSelectElement: W.SelectElement, CompositionEvent: W.UIEvent, FocusEvent: W.UIEvent, KeyboardEvent: W.UIEvent, TextEvent: W.UIEvent, TouchEvent: W.UIEvent, UIEvent: W.UIEvent, Window: W.Window, DOMWindow: W.Window, SVGAElement: P.SvgElement, SVGAnimateElement: P.SvgElement, SVGAnimateMotionElement: P.SvgElement, SVGAnimateTransformElement: P.SvgElement, SVGAnimationElement: P.SvgElement, SVGCircleElement: P.SvgElement, SVGClipPathElement: P.SvgElement, SVGDefsElement: P.SvgElement, SVGDescElement: P.SvgElement, SVGDiscardElement: P.SvgElement, SVGEllipseElement: P.SvgElement, SVGFEBlendElement: P.SvgElement, SVGFEColorMatrixElement: P.SvgElement, SVGFEComponentTransferElement: P.SvgElement, SVGFECompositeElement: P.SvgElement, SVGFEConvolveMatrixElement: P.SvgElement, SVGFEDiffuseLightingElement: P.SvgElement, SVGFEDisplacementMapElement: P.SvgElement, SVGFEDistantLightElement: P.SvgElement, SVGFEFloodElement: P.SvgElement, SVGFEFuncAElement: P.SvgElement, SVGFEFuncBElement: P.SvgElement, SVGFEFuncGElement: P.SvgElement, SVGFEFuncRElement: P.SvgElement, SVGFEGaussianBlurElement: P.SvgElement, SVGFEImageElement: P.SvgElement, SVGFEMergeElement: P.SvgElement, SVGFEMergeNodeElement: P.SvgElement, SVGFEMorphologyElement: P.SvgElement, SVGFEOffsetElement: P.SvgElement, SVGFEPointLightElement: P.SvgElement, SVGFESpecularLightingElement: P.SvgElement, SVGFESpotLightElement: P.SvgElement, SVGFETileElement: P.SvgElement, SVGFETurbulenceElement: P.SvgElement, SVGFilterElement: P.SvgElement, SVGForeignObjectElement: P.SvgElement, SVGGElement: P.SvgElement, SVGGeometryElement: P.SvgElement, SVGGraphicsElement: P.SvgElement, SVGImageElement: P.SvgElement, SVGLineElement: P.SvgElement, SVGLinearGradientElement: P.SvgElement, SVGMarkerElement: P.SvgElement, SVGMaskElement: P.SvgElement, SVGMetadataElement: P.SvgElement, SVGPathElement: P.SvgElement, SVGPatternElement: P.SvgElement, SVGPolygonElement: P.SvgElement, SVGPolylineElement: P.SvgElement, SVGRadialGradientElement: P.SvgElement, SVGRectElement: P.SvgElement, SVGScriptElement: P.SvgElement, SVGSetElement: P.SvgElement, SVGStopElement: P.SvgElement, SVGStyleElement: P.SvgElement, SVGElement: P.SvgElement, SVGSVGElement: P.SvgElement, SVGSwitchElement: P.SvgElement, SVGSymbolElement: P.SvgElement, SVGTSpanElement: P.SvgElement, SVGTextContentElement: P.SvgElement, SVGTextElement: P.SvgElement, SVGTextPathElement: P.SvgElement, SVGTextPositioningElement: P.SvgElement, SVGTitleElement: P.SvgElement, SVGUseElement: P.SvgElement, SVGViewElement: P.SvgElement, SVGGradientElement: P.SvgElement, SVGComponentTransferFunctionElement: P.SvgElement, SVGFEDropShadowElement: P.SvgElement, SVGMPathElement: P.SvgElement}); - hunkHelpers.setOrUpdateLeafTags({DOMError: true, MediaError: true, MessageChannel: true, NavigatorUserMediaError: true, OverconstrainedError: true, PositionError: true, SQLError: true, ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLAudioElement: true, HTMLBRElement: true, HTMLBaseElement: true, HTMLBodyElement: true, HTMLButtonElement: true, HTMLCanvasElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLDivElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLImageElement: true, HTMLInputElement: true, HTMLLIElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMediaElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLMeterElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLOptionElement: true, HTMLOutputElement: true, HTMLParagraphElement: true, HTMLParamElement: true, HTMLPictureElement: true, HTMLPreElement: true, HTMLProgressElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTemplateElement: true, HTMLTextAreaElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLVideoElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, HTMLAnchorElement: true, HTMLAreaElement: true, Blob: false, CDATASection: true, CharacterData: true, Comment: true, ProcessingInstruction: true, Text: true, DOMException: true, DOMTokenList: true, Element: false, AbortPaymentEvent: true, AnimationEvent: true, AnimationPlaybackEvent: true, ApplicationCacheErrorEvent: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchedEvent: true, BeforeInstallPromptEvent: true, BeforeUnloadEvent: true, BlobEvent: true, CanMakePaymentEvent: true, ClipboardEvent: true, CloseEvent: true, CustomEvent: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, ErrorEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, FetchEvent: true, FontFaceSetLoadEvent: true, ForeignFetchEvent: true, GamepadEvent: true, HashChangeEvent: true, InstallEvent: true, MediaEncryptedEvent: true, MediaKeyMessageEvent: true, MediaQueryListEvent: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MutationEvent: true, NotificationEvent: true, PageTransitionEvent: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PopStateEvent: true, PresentationConnectionAvailableEvent: true, PresentationConnectionCloseEvent: true, ProgressEvent: true, PromiseRejectionEvent: true, PushEvent: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCPeerConnectionIceEvent: true, RTCTrackEvent: true, SecurityPolicyViolationEvent: true, SensorErrorEvent: true, SpeechRecognitionError: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, StorageEvent: true, SyncEvent: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, VRDeviceEvent: true, VRDisplayEvent: true, VRSessionEvent: true, MojoInterfaceRequestEvent: true, ResourceProgressEvent: true, USBConnectionEvent: true, IDBVersionChangeEvent: true, AudioProcessingEvent: true, OfflineAudioCompletionEvent: true, WebGLContextEvent: true, Event: false, InputEvent: false, WebSocket: true, EventTarget: false, File: true, HTMLFormElement: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, HTMLIFrameElement: true, Location: true, MessageEvent: true, MessagePort: true, MouseEvent: true, DragEvent: true, PointerEvent: true, WheelEvent: true, Document: true, DocumentFragment: true, HTMLDocument: true, ShadowRoot: true, XMLDocument: true, Attr: true, DocumentType: true, Node: false, HTMLSelectElement: true, CompositionEvent: true, FocusEvent: true, KeyboardEvent: true, TextEvent: true, TouchEvent: true, UIEvent: false, Window: true, DOMWindow: true, SVGAElement: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGCircleElement: true, SVGClipPathElement: true, SVGDefsElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGEllipseElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEGaussianBlurElement: true, SVGFEImageElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGFilterElement: true, SVGForeignObjectElement: true, SVGGElement: true, SVGGeometryElement: true, SVGGraphicsElement: true, SVGImageElement: true, SVGLineElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPathElement: true, SVGPatternElement: true, SVGPolygonElement: true, SVGPolylineElement: true, SVGRadialGradientElement: true, SVGRectElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGElement: true, SVGSVGElement: true, SVGSwitchElement: true, SVGSymbolElement: true, SVGTSpanElement: true, SVGTextContentElement: true, SVGTextElement: true, SVGTextPathElement: true, SVGTextPositioningElement: true, SVGTitleElement: true, SVGUseElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true}); - H.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; - H.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; + hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, WebGL: J.Interceptor, AbortPaymentEvent: J.JavaScriptObject, AnimationEffectReadOnly: J.JavaScriptObject, AnimationEffectTiming: J.JavaScriptObject, AnimationEffectTimingReadOnly: J.JavaScriptObject, AnimationEvent: J.JavaScriptObject, AnimationPlaybackEvent: J.JavaScriptObject, AnimationTimeline: J.JavaScriptObject, AnimationWorkletGlobalScope: J.JavaScriptObject, ApplicationCacheErrorEvent: J.JavaScriptObject, AuthenticatorAssertionResponse: J.JavaScriptObject, AuthenticatorAttestationResponse: J.JavaScriptObject, AuthenticatorResponse: J.JavaScriptObject, BackgroundFetchClickEvent: J.JavaScriptObject, BackgroundFetchEvent: J.JavaScriptObject, BackgroundFetchFailEvent: J.JavaScriptObject, BackgroundFetchFetch: J.JavaScriptObject, BackgroundFetchManager: J.JavaScriptObject, BackgroundFetchSettledFetch: J.JavaScriptObject, BackgroundFetchedEvent: J.JavaScriptObject, BarProp: J.JavaScriptObject, BarcodeDetector: J.JavaScriptObject, BeforeInstallPromptEvent: J.JavaScriptObject, BeforeUnloadEvent: J.JavaScriptObject, BlobEvent: J.JavaScriptObject, BluetoothRemoteGATTDescriptor: J.JavaScriptObject, Body: J.JavaScriptObject, BudgetState: J.JavaScriptObject, CacheStorage: J.JavaScriptObject, CanMakePaymentEvent: J.JavaScriptObject, CanvasGradient: J.JavaScriptObject, CanvasPattern: J.JavaScriptObject, CanvasRenderingContext2D: J.JavaScriptObject, Client: J.JavaScriptObject, Clients: J.JavaScriptObject, ClipboardEvent: J.JavaScriptObject, CloseEvent: J.JavaScriptObject, CompositionEvent: J.JavaScriptObject, CookieStore: J.JavaScriptObject, Coordinates: J.JavaScriptObject, Credential: J.JavaScriptObject, CredentialUserData: J.JavaScriptObject, CredentialsContainer: J.JavaScriptObject, Crypto: J.JavaScriptObject, CryptoKey: J.JavaScriptObject, CSS: J.JavaScriptObject, CSSVariableReferenceValue: J.JavaScriptObject, CustomElementRegistry: J.JavaScriptObject, CustomEvent: J.JavaScriptObject, DataTransfer: J.JavaScriptObject, DataTransferItem: J.JavaScriptObject, DeprecatedStorageInfo: J.JavaScriptObject, DeprecatedStorageQuota: J.JavaScriptObject, DeprecationReport: J.JavaScriptObject, DetectedBarcode: J.JavaScriptObject, DetectedFace: J.JavaScriptObject, DetectedText: J.JavaScriptObject, DeviceAcceleration: J.JavaScriptObject, DeviceMotionEvent: J.JavaScriptObject, DeviceOrientationEvent: J.JavaScriptObject, DeviceRotationRate: J.JavaScriptObject, DirectoryEntry: J.JavaScriptObject, webkitFileSystemDirectoryEntry: J.JavaScriptObject, FileSystemDirectoryEntry: J.JavaScriptObject, DirectoryReader: J.JavaScriptObject, WebKitDirectoryReader: J.JavaScriptObject, webkitFileSystemDirectoryReader: J.JavaScriptObject, FileSystemDirectoryReader: J.JavaScriptObject, DocumentOrShadowRoot: J.JavaScriptObject, DocumentTimeline: J.JavaScriptObject, DOMError: J.JavaScriptObject, DOMImplementation: J.JavaScriptObject, Iterator: J.JavaScriptObject, DOMMatrix: J.JavaScriptObject, DOMMatrixReadOnly: J.JavaScriptObject, DOMParser: J.JavaScriptObject, DOMPoint: J.JavaScriptObject, DOMPointReadOnly: J.JavaScriptObject, DOMQuad: J.JavaScriptObject, DOMStringMap: J.JavaScriptObject, Entry: J.JavaScriptObject, webkitFileSystemEntry: J.JavaScriptObject, FileSystemEntry: J.JavaScriptObject, ErrorEvent: J.JavaScriptObject, Event: J.JavaScriptObject, InputEvent: J.JavaScriptObject, SubmitEvent: J.JavaScriptObject, ExtendableEvent: J.JavaScriptObject, ExtendableMessageEvent: J.JavaScriptObject, External: J.JavaScriptObject, FaceDetector: J.JavaScriptObject, FederatedCredential: J.JavaScriptObject, FetchEvent: J.JavaScriptObject, FileEntry: J.JavaScriptObject, webkitFileSystemFileEntry: J.JavaScriptObject, FileSystemFileEntry: J.JavaScriptObject, DOMFileSystem: J.JavaScriptObject, WebKitFileSystem: J.JavaScriptObject, webkitFileSystem: J.JavaScriptObject, FileSystem: J.JavaScriptObject, FocusEvent: J.JavaScriptObject, FontFace: J.JavaScriptObject, FontFaceSetLoadEvent: J.JavaScriptObject, FontFaceSource: J.JavaScriptObject, ForeignFetchEvent: J.JavaScriptObject, FormData: J.JavaScriptObject, GamepadButton: J.JavaScriptObject, GamepadEvent: J.JavaScriptObject, GamepadPose: J.JavaScriptObject, Geolocation: J.JavaScriptObject, Position: J.JavaScriptObject, GeolocationPosition: J.JavaScriptObject, HashChangeEvent: J.JavaScriptObject, Headers: J.JavaScriptObject, HTMLHyperlinkElementUtils: J.JavaScriptObject, IdleDeadline: J.JavaScriptObject, ImageBitmap: J.JavaScriptObject, ImageBitmapRenderingContext: J.JavaScriptObject, ImageCapture: J.JavaScriptObject, ImageData: J.JavaScriptObject, InputDeviceCapabilities: J.JavaScriptObject, InstallEvent: J.JavaScriptObject, IntersectionObserver: J.JavaScriptObject, IntersectionObserverEntry: J.JavaScriptObject, InterventionReport: J.JavaScriptObject, KeyboardEvent: J.JavaScriptObject, KeyframeEffect: J.JavaScriptObject, KeyframeEffectReadOnly: J.JavaScriptObject, MediaCapabilities: J.JavaScriptObject, MediaCapabilitiesInfo: J.JavaScriptObject, MediaDeviceInfo: J.JavaScriptObject, MediaEncryptedEvent: J.JavaScriptObject, MediaError: J.JavaScriptObject, MediaKeyMessageEvent: J.JavaScriptObject, MediaKeyStatusMap: J.JavaScriptObject, MediaKeySystemAccess: J.JavaScriptObject, MediaKeys: J.JavaScriptObject, MediaKeysPolicy: J.JavaScriptObject, MediaMetadata: J.JavaScriptObject, MediaQueryListEvent: J.JavaScriptObject, MediaSession: J.JavaScriptObject, MediaSettingsRange: J.JavaScriptObject, MediaStreamEvent: J.JavaScriptObject, MediaStreamTrackEvent: J.JavaScriptObject, MemoryInfo: J.JavaScriptObject, MessageChannel: J.JavaScriptObject, MessageEvent: J.JavaScriptObject, Metadata: J.JavaScriptObject, MIDIConnectionEvent: J.JavaScriptObject, MIDIMessageEvent: J.JavaScriptObject, MouseEvent: J.JavaScriptObject, DragEvent: J.JavaScriptObject, MutationEvent: J.JavaScriptObject, MutationObserver: J.JavaScriptObject, WebKitMutationObserver: J.JavaScriptObject, MutationRecord: J.JavaScriptObject, NavigationPreloadManager: J.JavaScriptObject, Navigator: J.JavaScriptObject, NavigatorAutomationInformation: J.JavaScriptObject, NavigatorConcurrentHardware: J.JavaScriptObject, NavigatorCookies: J.JavaScriptObject, NavigatorUserMediaError: J.JavaScriptObject, NodeFilter: J.JavaScriptObject, NodeIterator: J.JavaScriptObject, NonDocumentTypeChildNode: J.JavaScriptObject, NonElementParentNode: J.JavaScriptObject, NoncedElement: J.JavaScriptObject, NotificationEvent: J.JavaScriptObject, OffscreenCanvasRenderingContext2D: J.JavaScriptObject, OverconstrainedError: J.JavaScriptObject, PageTransitionEvent: J.JavaScriptObject, PaintRenderingContext2D: J.JavaScriptObject, PaintSize: J.JavaScriptObject, PaintWorkletGlobalScope: J.JavaScriptObject, PasswordCredential: J.JavaScriptObject, Path2D: J.JavaScriptObject, PaymentAddress: J.JavaScriptObject, PaymentInstruments: J.JavaScriptObject, PaymentManager: J.JavaScriptObject, PaymentRequestEvent: J.JavaScriptObject, PaymentRequestUpdateEvent: J.JavaScriptObject, PaymentResponse: J.JavaScriptObject, PerformanceEntry: J.JavaScriptObject, PerformanceLongTaskTiming: J.JavaScriptObject, PerformanceMark: J.JavaScriptObject, PerformanceMeasure: J.JavaScriptObject, PerformanceNavigation: J.JavaScriptObject, PerformanceNavigationTiming: J.JavaScriptObject, PerformanceObserver: J.JavaScriptObject, PerformanceObserverEntryList: J.JavaScriptObject, PerformancePaintTiming: J.JavaScriptObject, PerformanceResourceTiming: J.JavaScriptObject, PerformanceServerTiming: J.JavaScriptObject, PerformanceTiming: J.JavaScriptObject, Permissions: J.JavaScriptObject, PhotoCapabilities: J.JavaScriptObject, PointerEvent: J.JavaScriptObject, PopStateEvent: J.JavaScriptObject, PositionError: J.JavaScriptObject, GeolocationPositionError: J.JavaScriptObject, Presentation: J.JavaScriptObject, PresentationConnectionAvailableEvent: J.JavaScriptObject, PresentationConnectionCloseEvent: J.JavaScriptObject, PresentationReceiver: J.JavaScriptObject, ProgressEvent: J.JavaScriptObject, PromiseRejectionEvent: J.JavaScriptObject, PublicKeyCredential: J.JavaScriptObject, PushEvent: J.JavaScriptObject, PushManager: J.JavaScriptObject, PushMessageData: J.JavaScriptObject, PushSubscription: J.JavaScriptObject, PushSubscriptionOptions: J.JavaScriptObject, Range: J.JavaScriptObject, RelatedApplication: J.JavaScriptObject, ReportBody: J.JavaScriptObject, ReportingObserver: J.JavaScriptObject, ResizeObserver: J.JavaScriptObject, ResizeObserverEntry: J.JavaScriptObject, RTCCertificate: J.JavaScriptObject, RTCDataChannelEvent: J.JavaScriptObject, RTCDTMFToneChangeEvent: J.JavaScriptObject, RTCIceCandidate: J.JavaScriptObject, mozRTCIceCandidate: J.JavaScriptObject, RTCLegacyStatsReport: J.JavaScriptObject, RTCPeerConnectionIceEvent: J.JavaScriptObject, RTCRtpContributingSource: J.JavaScriptObject, RTCRtpReceiver: J.JavaScriptObject, RTCRtpSender: J.JavaScriptObject, RTCSessionDescription: J.JavaScriptObject, mozRTCSessionDescription: J.JavaScriptObject, RTCStatsResponse: J.JavaScriptObject, RTCTrackEvent: J.JavaScriptObject, Screen: J.JavaScriptObject, ScrollState: J.JavaScriptObject, ScrollTimeline: J.JavaScriptObject, SecurityPolicyViolationEvent: J.JavaScriptObject, Selection: J.JavaScriptObject, SensorErrorEvent: J.JavaScriptObject, SharedArrayBuffer: J.JavaScriptObject, SpeechRecognitionAlternative: J.JavaScriptObject, SpeechRecognitionError: J.JavaScriptObject, SpeechRecognitionEvent: J.JavaScriptObject, SpeechSynthesisEvent: J.JavaScriptObject, SpeechSynthesisVoice: J.JavaScriptObject, StaticRange: J.JavaScriptObject, StorageEvent: J.JavaScriptObject, StorageManager: J.JavaScriptObject, StyleMedia: J.JavaScriptObject, StylePropertyMap: J.JavaScriptObject, StylePropertyMapReadonly: J.JavaScriptObject, SyncEvent: J.JavaScriptObject, SyncManager: J.JavaScriptObject, TaskAttributionTiming: J.JavaScriptObject, TextDetector: J.JavaScriptObject, TextEvent: J.JavaScriptObject, TextMetrics: J.JavaScriptObject, TouchEvent: J.JavaScriptObject, TrackDefault: J.JavaScriptObject, TrackEvent: J.JavaScriptObject, TransitionEvent: J.JavaScriptObject, WebKitTransitionEvent: J.JavaScriptObject, TreeWalker: J.JavaScriptObject, TrustedHTML: J.JavaScriptObject, TrustedScriptURL: J.JavaScriptObject, TrustedURL: J.JavaScriptObject, UIEvent: J.JavaScriptObject, UnderlyingSourceBase: J.JavaScriptObject, URLSearchParams: J.JavaScriptObject, VRCoordinateSystem: J.JavaScriptObject, VRDeviceEvent: J.JavaScriptObject, VRDisplayCapabilities: J.JavaScriptObject, VRDisplayEvent: J.JavaScriptObject, VREyeParameters: J.JavaScriptObject, VRFrameData: J.JavaScriptObject, VRFrameOfReference: J.JavaScriptObject, VRPose: J.JavaScriptObject, VRSessionEvent: J.JavaScriptObject, VRStageBounds: J.JavaScriptObject, VRStageBoundsPoint: J.JavaScriptObject, VRStageParameters: J.JavaScriptObject, ValidityState: J.JavaScriptObject, VideoPlaybackQuality: J.JavaScriptObject, VideoTrack: J.JavaScriptObject, VTTRegion: J.JavaScriptObject, WheelEvent: J.JavaScriptObject, WindowClient: J.JavaScriptObject, WorkletAnimation: J.JavaScriptObject, WorkletGlobalScope: J.JavaScriptObject, XPathEvaluator: J.JavaScriptObject, XPathExpression: J.JavaScriptObject, XPathNSResolver: J.JavaScriptObject, XPathResult: J.JavaScriptObject, XMLSerializer: J.JavaScriptObject, XSLTProcessor: J.JavaScriptObject, Bluetooth: J.JavaScriptObject, BluetoothCharacteristicProperties: J.JavaScriptObject, BluetoothRemoteGATTServer: J.JavaScriptObject, BluetoothRemoteGATTService: J.JavaScriptObject, BluetoothUUID: J.JavaScriptObject, BudgetService: J.JavaScriptObject, Cache: J.JavaScriptObject, DOMFileSystemSync: J.JavaScriptObject, DirectoryEntrySync: J.JavaScriptObject, DirectoryReaderSync: J.JavaScriptObject, EntrySync: J.JavaScriptObject, FileEntrySync: J.JavaScriptObject, FileReaderSync: J.JavaScriptObject, FileWriterSync: J.JavaScriptObject, HTMLAllCollection: J.JavaScriptObject, Mojo: J.JavaScriptObject, MojoHandle: J.JavaScriptObject, MojoInterfaceRequestEvent: J.JavaScriptObject, MojoWatcher: J.JavaScriptObject, NFC: J.JavaScriptObject, PagePopupController: J.JavaScriptObject, Report: J.JavaScriptObject, Request: J.JavaScriptObject, ResourceProgressEvent: J.JavaScriptObject, Response: J.JavaScriptObject, SubtleCrypto: J.JavaScriptObject, USBAlternateInterface: J.JavaScriptObject, USBConfiguration: J.JavaScriptObject, USBConnectionEvent: J.JavaScriptObject, USBDevice: J.JavaScriptObject, USBEndpoint: J.JavaScriptObject, USBInTransferResult: J.JavaScriptObject, USBInterface: J.JavaScriptObject, USBIsochronousInTransferPacket: J.JavaScriptObject, USBIsochronousInTransferResult: J.JavaScriptObject, USBIsochronousOutTransferPacket: J.JavaScriptObject, USBIsochronousOutTransferResult: J.JavaScriptObject, USBOutTransferResult: J.JavaScriptObject, WorkerLocation: J.JavaScriptObject, WorkerNavigator: J.JavaScriptObject, Worklet: J.JavaScriptObject, IDBCursor: J.JavaScriptObject, IDBCursorWithValue: J.JavaScriptObject, IDBFactory: J.JavaScriptObject, IDBIndex: J.JavaScriptObject, IDBKeyRange: J.JavaScriptObject, IDBObjectStore: J.JavaScriptObject, IDBObservation: J.JavaScriptObject, IDBObserver: J.JavaScriptObject, IDBObserverChanges: J.JavaScriptObject, IDBVersionChangeEvent: J.JavaScriptObject, SVGAngle: J.JavaScriptObject, SVGAnimatedAngle: J.JavaScriptObject, SVGAnimatedBoolean: J.JavaScriptObject, SVGAnimatedEnumeration: J.JavaScriptObject, SVGAnimatedInteger: J.JavaScriptObject, SVGAnimatedLength: J.JavaScriptObject, SVGAnimatedLengthList: J.JavaScriptObject, SVGAnimatedNumber: J.JavaScriptObject, SVGAnimatedNumberList: J.JavaScriptObject, SVGAnimatedPreserveAspectRatio: J.JavaScriptObject, SVGAnimatedRect: J.JavaScriptObject, SVGAnimatedString: J.JavaScriptObject, SVGAnimatedTransformList: J.JavaScriptObject, SVGMatrix: J.JavaScriptObject, SVGPoint: J.JavaScriptObject, SVGPreserveAspectRatio: J.JavaScriptObject, SVGRect: J.JavaScriptObject, SVGUnitTypes: J.JavaScriptObject, AudioListener: J.JavaScriptObject, AudioParam: J.JavaScriptObject, AudioProcessingEvent: J.JavaScriptObject, AudioTrack: J.JavaScriptObject, AudioWorkletGlobalScope: J.JavaScriptObject, AudioWorkletProcessor: J.JavaScriptObject, OfflineAudioCompletionEvent: J.JavaScriptObject, PeriodicWave: J.JavaScriptObject, WebGLActiveInfo: J.JavaScriptObject, ANGLEInstancedArrays: J.JavaScriptObject, ANGLE_instanced_arrays: J.JavaScriptObject, WebGLBuffer: J.JavaScriptObject, WebGLCanvas: J.JavaScriptObject, WebGLColorBufferFloat: J.JavaScriptObject, WebGLCompressedTextureASTC: J.JavaScriptObject, WebGLCompressedTextureATC: J.JavaScriptObject, WEBGL_compressed_texture_atc: J.JavaScriptObject, WebGLCompressedTextureETC1: J.JavaScriptObject, WEBGL_compressed_texture_etc1: J.JavaScriptObject, WebGLCompressedTextureETC: J.JavaScriptObject, WebGLCompressedTexturePVRTC: J.JavaScriptObject, WEBGL_compressed_texture_pvrtc: J.JavaScriptObject, WebGLCompressedTextureS3TC: J.JavaScriptObject, WEBGL_compressed_texture_s3tc: J.JavaScriptObject, WebGLCompressedTextureS3TCsRGB: J.JavaScriptObject, WebGLContextEvent: J.JavaScriptObject, WebGLDebugRendererInfo: J.JavaScriptObject, WEBGL_debug_renderer_info: J.JavaScriptObject, WebGLDebugShaders: J.JavaScriptObject, WEBGL_debug_shaders: J.JavaScriptObject, WebGLDepthTexture: J.JavaScriptObject, WEBGL_depth_texture: J.JavaScriptObject, WebGLDrawBuffers: J.JavaScriptObject, WEBGL_draw_buffers: J.JavaScriptObject, EXTsRGB: J.JavaScriptObject, EXT_sRGB: J.JavaScriptObject, EXTBlendMinMax: J.JavaScriptObject, EXT_blend_minmax: J.JavaScriptObject, EXTColorBufferFloat: J.JavaScriptObject, EXTColorBufferHalfFloat: J.JavaScriptObject, EXTDisjointTimerQuery: J.JavaScriptObject, EXTDisjointTimerQueryWebGL2: J.JavaScriptObject, EXTFragDepth: J.JavaScriptObject, EXT_frag_depth: J.JavaScriptObject, EXTShaderTextureLOD: J.JavaScriptObject, EXT_shader_texture_lod: J.JavaScriptObject, EXTTextureFilterAnisotropic: J.JavaScriptObject, EXT_texture_filter_anisotropic: J.JavaScriptObject, WebGLFramebuffer: J.JavaScriptObject, WebGLGetBufferSubDataAsync: J.JavaScriptObject, WebGLLoseContext: J.JavaScriptObject, WebGLExtensionLoseContext: J.JavaScriptObject, WEBGL_lose_context: J.JavaScriptObject, OESElementIndexUint: J.JavaScriptObject, OES_element_index_uint: J.JavaScriptObject, OESStandardDerivatives: J.JavaScriptObject, OES_standard_derivatives: J.JavaScriptObject, OESTextureFloat: J.JavaScriptObject, OES_texture_float: J.JavaScriptObject, OESTextureFloatLinear: J.JavaScriptObject, OES_texture_float_linear: J.JavaScriptObject, OESTextureHalfFloat: J.JavaScriptObject, OES_texture_half_float: J.JavaScriptObject, OESTextureHalfFloatLinear: J.JavaScriptObject, OES_texture_half_float_linear: J.JavaScriptObject, OESVertexArrayObject: J.JavaScriptObject, OES_vertex_array_object: J.JavaScriptObject, WebGLProgram: J.JavaScriptObject, WebGLQuery: J.JavaScriptObject, WebGLRenderbuffer: J.JavaScriptObject, WebGLRenderingContext: J.JavaScriptObject, WebGL2RenderingContext: J.JavaScriptObject, WebGLSampler: J.JavaScriptObject, WebGLShader: J.JavaScriptObject, WebGLShaderPrecisionFormat: J.JavaScriptObject, WebGLSync: J.JavaScriptObject, WebGLTexture: J.JavaScriptObject, WebGLTimerQueryEXT: J.JavaScriptObject, WebGLTransformFeedback: J.JavaScriptObject, WebGLUniformLocation: J.JavaScriptObject, WebGLVertexArrayObject: J.JavaScriptObject, WebGLVertexArrayObjectOES: J.JavaScriptObject, WebGL2RenderingContextBase: J.JavaScriptObject, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, Float32Array: A.NativeTypedArrayOfDouble, Float64Array: A.NativeTypedArrayOfDouble, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List, HTMLAudioElement: A.HtmlElement, HTMLBRElement: A.HtmlElement, HTMLBaseElement: A.HtmlElement, HTMLBodyElement: A.HtmlElement, HTMLButtonElement: A.HtmlElement, HTMLCanvasElement: A.HtmlElement, HTMLContentElement: A.HtmlElement, HTMLDListElement: A.HtmlElement, HTMLDataElement: A.HtmlElement, HTMLDataListElement: A.HtmlElement, HTMLDetailsElement: A.HtmlElement, HTMLDialogElement: A.HtmlElement, HTMLDivElement: A.HtmlElement, HTMLEmbedElement: A.HtmlElement, HTMLFieldSetElement: A.HtmlElement, HTMLHRElement: A.HtmlElement, HTMLHeadElement: A.HtmlElement, HTMLHeadingElement: A.HtmlElement, HTMLHtmlElement: A.HtmlElement, HTMLIFrameElement: A.HtmlElement, HTMLImageElement: A.HtmlElement, HTMLInputElement: A.HtmlElement, HTMLLIElement: A.HtmlElement, HTMLLabelElement: A.HtmlElement, HTMLLegendElement: A.HtmlElement, HTMLLinkElement: A.HtmlElement, HTMLMapElement: A.HtmlElement, HTMLMediaElement: A.HtmlElement, HTMLMenuElement: A.HtmlElement, HTMLMetaElement: A.HtmlElement, HTMLMeterElement: A.HtmlElement, HTMLModElement: A.HtmlElement, HTMLOListElement: A.HtmlElement, HTMLObjectElement: A.HtmlElement, HTMLOptGroupElement: A.HtmlElement, HTMLOptionElement: A.HtmlElement, HTMLOutputElement: A.HtmlElement, HTMLParagraphElement: A.HtmlElement, HTMLParamElement: A.HtmlElement, HTMLPictureElement: A.HtmlElement, HTMLPreElement: A.HtmlElement, HTMLProgressElement: A.HtmlElement, HTMLQuoteElement: A.HtmlElement, HTMLScriptElement: A.HtmlElement, HTMLShadowElement: A.HtmlElement, HTMLSlotElement: A.HtmlElement, HTMLSourceElement: A.HtmlElement, HTMLSpanElement: A.HtmlElement, HTMLStyleElement: A.HtmlElement, HTMLTableCaptionElement: A.HtmlElement, HTMLTableCellElement: A.HtmlElement, HTMLTableDataCellElement: A.HtmlElement, HTMLTableHeaderCellElement: A.HtmlElement, HTMLTableColElement: A.HtmlElement, HTMLTableElement: A.HtmlElement, HTMLTableRowElement: A.HtmlElement, HTMLTableSectionElement: A.HtmlElement, HTMLTemplateElement: A.HtmlElement, HTMLTextAreaElement: A.HtmlElement, HTMLTimeElement: A.HtmlElement, HTMLTitleElement: A.HtmlElement, HTMLTrackElement: A.HtmlElement, HTMLUListElement: A.HtmlElement, HTMLUnknownElement: A.HtmlElement, HTMLVideoElement: A.HtmlElement, HTMLDirectoryElement: A.HtmlElement, HTMLFontElement: A.HtmlElement, HTMLFrameElement: A.HtmlElement, HTMLFrameSetElement: A.HtmlElement, HTMLMarqueeElement: A.HtmlElement, HTMLElement: A.HtmlElement, AccessibleNodeList: A.AccessibleNodeList, HTMLAnchorElement: A.AnchorElement, HTMLAreaElement: A.AreaElement, Blob: A.Blob, CDATASection: A.CharacterData, CharacterData: A.CharacterData, Comment: A.CharacterData, ProcessingInstruction: A.CharacterData, Text: A.CharacterData, CSSPerspective: A.CssPerspective, CSSCharsetRule: A.CssRule, CSSConditionRule: A.CssRule, CSSFontFaceRule: A.CssRule, CSSGroupingRule: A.CssRule, CSSImportRule: A.CssRule, CSSKeyframeRule: A.CssRule, MozCSSKeyframeRule: A.CssRule, WebKitCSSKeyframeRule: A.CssRule, CSSKeyframesRule: A.CssRule, MozCSSKeyframesRule: A.CssRule, WebKitCSSKeyframesRule: A.CssRule, CSSMediaRule: A.CssRule, CSSNamespaceRule: A.CssRule, CSSPageRule: A.CssRule, CSSRule: A.CssRule, CSSStyleRule: A.CssRule, CSSSupportsRule: A.CssRule, CSSViewportRule: A.CssRule, CSSStyleDeclaration: A.CssStyleDeclaration, MSStyleCSSProperties: A.CssStyleDeclaration, CSS2Properties: A.CssStyleDeclaration, CSSImageValue: A.CssStyleValue, CSSKeywordValue: A.CssStyleValue, CSSNumericValue: A.CssStyleValue, CSSPositionValue: A.CssStyleValue, CSSResourceValue: A.CssStyleValue, CSSUnitValue: A.CssStyleValue, CSSURLImageValue: A.CssStyleValue, CSSStyleValue: A.CssStyleValue, CSSMatrixComponent: A.CssTransformComponent, CSSRotation: A.CssTransformComponent, CSSScale: A.CssTransformComponent, CSSSkew: A.CssTransformComponent, CSSTranslation: A.CssTransformComponent, CSSTransformComponent: A.CssTransformComponent, CSSTransformValue: A.CssTransformValue, CSSUnparsedValue: A.CssUnparsedValue, DataTransferItemList: A.DataTransferItemList, DOMException: A.DomException, ClientRectList: A.DomRectList, DOMRectList: A.DomRectList, DOMRectReadOnly: A.DomRectReadOnly, DOMStringList: A.DomStringList, DOMTokenList: A.DomTokenList, MathMLElement: A.Element, SVGAElement: A.Element, SVGAnimateElement: A.Element, SVGAnimateMotionElement: A.Element, SVGAnimateTransformElement: A.Element, SVGAnimationElement: A.Element, SVGCircleElement: A.Element, SVGClipPathElement: A.Element, SVGDefsElement: A.Element, SVGDescElement: A.Element, SVGDiscardElement: A.Element, SVGEllipseElement: A.Element, SVGFEBlendElement: A.Element, SVGFEColorMatrixElement: A.Element, SVGFEComponentTransferElement: A.Element, SVGFECompositeElement: A.Element, SVGFEConvolveMatrixElement: A.Element, SVGFEDiffuseLightingElement: A.Element, SVGFEDisplacementMapElement: A.Element, SVGFEDistantLightElement: A.Element, SVGFEFloodElement: A.Element, SVGFEFuncAElement: A.Element, SVGFEFuncBElement: A.Element, SVGFEFuncGElement: A.Element, SVGFEFuncRElement: A.Element, SVGFEGaussianBlurElement: A.Element, SVGFEImageElement: A.Element, SVGFEMergeElement: A.Element, SVGFEMergeNodeElement: A.Element, SVGFEMorphologyElement: A.Element, SVGFEOffsetElement: A.Element, SVGFEPointLightElement: A.Element, SVGFESpecularLightingElement: A.Element, SVGFESpotLightElement: A.Element, SVGFETileElement: A.Element, SVGFETurbulenceElement: A.Element, SVGFilterElement: A.Element, SVGForeignObjectElement: A.Element, SVGGElement: A.Element, SVGGeometryElement: A.Element, SVGGraphicsElement: A.Element, SVGImageElement: A.Element, SVGLineElement: A.Element, SVGLinearGradientElement: A.Element, SVGMarkerElement: A.Element, SVGMaskElement: A.Element, SVGMetadataElement: A.Element, SVGPathElement: A.Element, SVGPatternElement: A.Element, SVGPolygonElement: A.Element, SVGPolylineElement: A.Element, SVGRadialGradientElement: A.Element, SVGRectElement: A.Element, SVGScriptElement: A.Element, SVGSetElement: A.Element, SVGStopElement: A.Element, SVGStyleElement: A.Element, SVGElement: A.Element, SVGSVGElement: A.Element, SVGSwitchElement: A.Element, SVGSymbolElement: A.Element, SVGTSpanElement: A.Element, SVGTextContentElement: A.Element, SVGTextElement: A.Element, SVGTextPathElement: A.Element, SVGTextPositioningElement: A.Element, SVGTitleElement: A.Element, SVGUseElement: A.Element, SVGViewElement: A.Element, SVGGradientElement: A.Element, SVGComponentTransferFunctionElement: A.Element, SVGFEDropShadowElement: A.Element, SVGMPathElement: A.Element, Element: A.Element, AbsoluteOrientationSensor: A.EventTarget, Accelerometer: A.EventTarget, AccessibleNode: A.EventTarget, AmbientLightSensor: A.EventTarget, Animation: A.EventTarget, ApplicationCache: A.EventTarget, DOMApplicationCache: A.EventTarget, OfflineResourceList: A.EventTarget, BackgroundFetchRegistration: A.EventTarget, BatteryManager: A.EventTarget, BroadcastChannel: A.EventTarget, CanvasCaptureMediaStreamTrack: A.EventTarget, DedicatedWorkerGlobalScope: A.EventTarget, EventSource: A.EventTarget, FileReader: A.EventTarget, FontFaceSet: A.EventTarget, Gyroscope: A.EventTarget, XMLHttpRequest: A.EventTarget, XMLHttpRequestEventTarget: A.EventTarget, XMLHttpRequestUpload: A.EventTarget, LinearAccelerationSensor: A.EventTarget, Magnetometer: A.EventTarget, MediaDevices: A.EventTarget, MediaKeySession: A.EventTarget, MediaQueryList: A.EventTarget, MediaRecorder: A.EventTarget, MediaSource: A.EventTarget, MediaStream: A.EventTarget, MediaStreamTrack: A.EventTarget, MessagePort: A.EventTarget, MIDIAccess: A.EventTarget, MIDIInput: A.EventTarget, MIDIOutput: A.EventTarget, MIDIPort: A.EventTarget, NetworkInformation: A.EventTarget, Notification: A.EventTarget, OffscreenCanvas: A.EventTarget, OrientationSensor: A.EventTarget, PaymentRequest: A.EventTarget, Performance: A.EventTarget, PermissionStatus: A.EventTarget, PresentationAvailability: A.EventTarget, PresentationConnection: A.EventTarget, PresentationConnectionList: A.EventTarget, PresentationRequest: A.EventTarget, RelativeOrientationSensor: A.EventTarget, RemotePlayback: A.EventTarget, RTCDataChannel: A.EventTarget, DataChannel: A.EventTarget, RTCDTMFSender: A.EventTarget, RTCPeerConnection: A.EventTarget, webkitRTCPeerConnection: A.EventTarget, mozRTCPeerConnection: A.EventTarget, ScreenOrientation: A.EventTarget, Sensor: A.EventTarget, ServiceWorker: A.EventTarget, ServiceWorkerContainer: A.EventTarget, ServiceWorkerGlobalScope: A.EventTarget, ServiceWorkerRegistration: A.EventTarget, SharedWorker: A.EventTarget, SharedWorkerGlobalScope: A.EventTarget, SpeechRecognition: A.EventTarget, SpeechSynthesis: A.EventTarget, SpeechSynthesisUtterance: A.EventTarget, VR: A.EventTarget, VRDevice: A.EventTarget, VRDisplay: A.EventTarget, VRSession: A.EventTarget, VisualViewport: A.EventTarget, WebSocket: A.EventTarget, Window: A.EventTarget, DOMWindow: A.EventTarget, Worker: A.EventTarget, WorkerGlobalScope: A.EventTarget, WorkerPerformance: A.EventTarget, BluetoothDevice: A.EventTarget, BluetoothRemoteGATTCharacteristic: A.EventTarget, Clipboard: A.EventTarget, MojoInterfaceInterceptor: A.EventTarget, USB: A.EventTarget, IDBDatabase: A.EventTarget, IDBOpenDBRequest: A.EventTarget, IDBVersionChangeRequest: A.EventTarget, IDBRequest: A.EventTarget, IDBTransaction: A.EventTarget, AnalyserNode: A.EventTarget, RealtimeAnalyserNode: A.EventTarget, AudioBufferSourceNode: A.EventTarget, AudioDestinationNode: A.EventTarget, AudioNode: A.EventTarget, AudioScheduledSourceNode: A.EventTarget, AudioWorkletNode: A.EventTarget, BiquadFilterNode: A.EventTarget, ChannelMergerNode: A.EventTarget, AudioChannelMerger: A.EventTarget, ChannelSplitterNode: A.EventTarget, AudioChannelSplitter: A.EventTarget, ConstantSourceNode: A.EventTarget, ConvolverNode: A.EventTarget, DelayNode: A.EventTarget, DynamicsCompressorNode: A.EventTarget, GainNode: A.EventTarget, AudioGainNode: A.EventTarget, IIRFilterNode: A.EventTarget, MediaElementAudioSourceNode: A.EventTarget, MediaStreamAudioDestinationNode: A.EventTarget, MediaStreamAudioSourceNode: A.EventTarget, OscillatorNode: A.EventTarget, Oscillator: A.EventTarget, PannerNode: A.EventTarget, AudioPannerNode: A.EventTarget, webkitAudioPannerNode: A.EventTarget, ScriptProcessorNode: A.EventTarget, JavaScriptAudioNode: A.EventTarget, StereoPannerNode: A.EventTarget, WaveShaperNode: A.EventTarget, EventTarget: A.EventTarget, File: A.File, FileList: A.FileList, FileWriter: A.FileWriter, HTMLFormElement: A.FormElement, Gamepad: A.Gamepad, History: A.History, HTMLCollection: A.HtmlCollection, HTMLFormControlsCollection: A.HtmlCollection, HTMLOptionsCollection: A.HtmlCollection, Location: A.Location, MediaList: A.MediaList, MIDIInputMap: A.MidiInputMap, MIDIOutputMap: A.MidiOutputMap, MimeType: A.MimeType, MimeTypeArray: A.MimeTypeArray, Document: A.Node, DocumentFragment: A.Node, HTMLDocument: A.Node, ShadowRoot: A.Node, XMLDocument: A.Node, Attr: A.Node, DocumentType: A.Node, Node: A.Node, NodeList: A.NodeList, RadioNodeList: A.NodeList, Plugin: A.Plugin, PluginArray: A.PluginArray, RTCStatsReport: A.RtcStatsReport, HTMLSelectElement: A.SelectElement, SourceBuffer: A.SourceBuffer, SourceBufferList: A.SourceBufferList, SpeechGrammar: A.SpeechGrammar, SpeechGrammarList: A.SpeechGrammarList, SpeechRecognitionResult: A.SpeechRecognitionResult, Storage: A.Storage, CSSStyleSheet: A.StyleSheet, StyleSheet: A.StyleSheet, TextTrack: A.TextTrack, TextTrackCue: A.TextTrackCue, VTTCue: A.TextTrackCue, TextTrackCueList: A.TextTrackCueList, TextTrackList: A.TextTrackList, TimeRanges: A.TimeRanges, Touch: A.Touch, TouchList: A.TouchList, TrackDefaultList: A.TrackDefaultList, URL: A.Url, VideoTrackList: A.VideoTrackList, CSSRuleList: A._CssRuleList, ClientRect: A._DomRect, DOMRect: A._DomRect, GamepadList: A._GamepadList, NamedNodeMap: A._NamedNodeMap, MozNamedAttrMap: A._NamedNodeMap, SpeechRecognitionResultList: A._SpeechRecognitionResultList, StyleSheetList: A._StyleSheetList, SVGLength: A.Length, SVGLengthList: A.LengthList, SVGNumber: A.Number, SVGNumberList: A.NumberList, SVGPointList: A.PointList, SVGStringList: A.StringList, SVGTransform: A.Transform, SVGTransformList: A.TransformList, AudioBuffer: A.AudioBuffer, AudioParamMap: A.AudioParamMap, AudioTrackList: A.AudioTrackList, AudioContext: A.BaseAudioContext, webkitAudioContext: A.BaseAudioContext, BaseAudioContext: A.BaseAudioContext, OfflineAudioContext: A.OfflineAudioContext}); + hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, WebGL: true, AbortPaymentEvent: true, AnimationEffectReadOnly: true, AnimationEffectTiming: true, AnimationEffectTimingReadOnly: true, AnimationEvent: true, AnimationPlaybackEvent: true, AnimationTimeline: true, AnimationWorkletGlobalScope: true, ApplicationCacheErrorEvent: true, AuthenticatorAssertionResponse: true, AuthenticatorAttestationResponse: true, AuthenticatorResponse: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchFetch: true, BackgroundFetchManager: true, BackgroundFetchSettledFetch: true, BackgroundFetchedEvent: true, BarProp: true, BarcodeDetector: true, BeforeInstallPromptEvent: true, BeforeUnloadEvent: true, BlobEvent: true, BluetoothRemoteGATTDescriptor: true, Body: true, BudgetState: true, CacheStorage: true, CanMakePaymentEvent: true, CanvasGradient: true, CanvasPattern: true, CanvasRenderingContext2D: true, Client: true, Clients: true, ClipboardEvent: true, CloseEvent: true, CompositionEvent: true, CookieStore: true, Coordinates: true, Credential: true, CredentialUserData: true, CredentialsContainer: true, Crypto: true, CryptoKey: true, CSS: true, CSSVariableReferenceValue: true, CustomElementRegistry: true, CustomEvent: true, DataTransfer: true, DataTransferItem: true, DeprecatedStorageInfo: true, DeprecatedStorageQuota: true, DeprecationReport: true, DetectedBarcode: true, DetectedFace: true, DetectedText: true, DeviceAcceleration: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, DeviceRotationRate: true, DirectoryEntry: true, webkitFileSystemDirectoryEntry: true, FileSystemDirectoryEntry: true, DirectoryReader: true, WebKitDirectoryReader: true, webkitFileSystemDirectoryReader: true, FileSystemDirectoryReader: true, DocumentOrShadowRoot: true, DocumentTimeline: true, DOMError: true, DOMImplementation: true, Iterator: true, DOMMatrix: true, DOMMatrixReadOnly: true, DOMParser: true, DOMPoint: true, DOMPointReadOnly: true, DOMQuad: true, DOMStringMap: true, Entry: true, webkitFileSystemEntry: true, FileSystemEntry: true, ErrorEvent: true, Event: true, InputEvent: true, SubmitEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, External: true, FaceDetector: true, FederatedCredential: true, FetchEvent: true, FileEntry: true, webkitFileSystemFileEntry: true, FileSystemFileEntry: true, DOMFileSystem: true, WebKitFileSystem: true, webkitFileSystem: true, FileSystem: true, FocusEvent: true, FontFace: true, FontFaceSetLoadEvent: true, FontFaceSource: true, ForeignFetchEvent: true, FormData: true, GamepadButton: true, GamepadEvent: true, GamepadPose: true, Geolocation: true, Position: true, GeolocationPosition: true, HashChangeEvent: true, Headers: true, HTMLHyperlinkElementUtils: true, IdleDeadline: true, ImageBitmap: true, ImageBitmapRenderingContext: true, ImageCapture: true, ImageData: true, InputDeviceCapabilities: true, InstallEvent: true, IntersectionObserver: true, IntersectionObserverEntry: true, InterventionReport: true, KeyboardEvent: true, KeyframeEffect: true, KeyframeEffectReadOnly: true, MediaCapabilities: true, MediaCapabilitiesInfo: true, MediaDeviceInfo: true, MediaEncryptedEvent: true, MediaError: true, MediaKeyMessageEvent: true, MediaKeyStatusMap: true, MediaKeySystemAccess: true, MediaKeys: true, MediaKeysPolicy: true, MediaMetadata: true, MediaQueryListEvent: true, MediaSession: true, MediaSettingsRange: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MemoryInfo: true, MessageChannel: true, MessageEvent: true, Metadata: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MouseEvent: true, DragEvent: true, MutationEvent: true, MutationObserver: true, WebKitMutationObserver: true, MutationRecord: true, NavigationPreloadManager: true, Navigator: true, NavigatorAutomationInformation: true, NavigatorConcurrentHardware: true, NavigatorCookies: true, NavigatorUserMediaError: true, NodeFilter: true, NodeIterator: true, NonDocumentTypeChildNode: true, NonElementParentNode: true, NoncedElement: true, NotificationEvent: true, OffscreenCanvasRenderingContext2D: true, OverconstrainedError: true, PageTransitionEvent: true, PaintRenderingContext2D: true, PaintSize: true, PaintWorkletGlobalScope: true, PasswordCredential: true, Path2D: true, PaymentAddress: true, PaymentInstruments: true, PaymentManager: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PaymentResponse: true, PerformanceEntry: true, PerformanceLongTaskTiming: true, PerformanceMark: true, PerformanceMeasure: true, PerformanceNavigation: true, PerformanceNavigationTiming: true, PerformanceObserver: true, PerformanceObserverEntryList: true, PerformancePaintTiming: true, PerformanceResourceTiming: true, PerformanceServerTiming: true, PerformanceTiming: true, Permissions: true, PhotoCapabilities: true, PointerEvent: true, PopStateEvent: true, PositionError: true, GeolocationPositionError: true, Presentation: true, PresentationConnectionAvailableEvent: true, PresentationConnectionCloseEvent: true, PresentationReceiver: true, ProgressEvent: true, PromiseRejectionEvent: true, PublicKeyCredential: true, PushEvent: true, PushManager: true, PushMessageData: true, PushSubscription: true, PushSubscriptionOptions: true, Range: true, RelatedApplication: true, ReportBody: true, ReportingObserver: true, ResizeObserver: true, ResizeObserverEntry: true, RTCCertificate: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCIceCandidate: true, mozRTCIceCandidate: true, RTCLegacyStatsReport: true, RTCPeerConnectionIceEvent: true, RTCRtpContributingSource: true, RTCRtpReceiver: true, RTCRtpSender: true, RTCSessionDescription: true, mozRTCSessionDescription: true, RTCStatsResponse: true, RTCTrackEvent: true, Screen: true, ScrollState: true, ScrollTimeline: true, SecurityPolicyViolationEvent: true, Selection: true, SensorErrorEvent: true, SharedArrayBuffer: true, SpeechRecognitionAlternative: true, SpeechRecognitionError: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, SpeechSynthesisVoice: true, StaticRange: true, StorageEvent: true, StorageManager: true, StyleMedia: true, StylePropertyMap: true, StylePropertyMapReadonly: true, SyncEvent: true, SyncManager: true, TaskAttributionTiming: true, TextDetector: true, TextEvent: true, TextMetrics: true, TouchEvent: true, TrackDefault: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, TreeWalker: true, TrustedHTML: true, TrustedScriptURL: true, TrustedURL: true, UIEvent: true, UnderlyingSourceBase: true, URLSearchParams: true, VRCoordinateSystem: true, VRDeviceEvent: true, VRDisplayCapabilities: true, VRDisplayEvent: true, VREyeParameters: true, VRFrameData: true, VRFrameOfReference: true, VRPose: true, VRSessionEvent: true, VRStageBounds: true, VRStageBoundsPoint: true, VRStageParameters: true, ValidityState: true, VideoPlaybackQuality: true, VideoTrack: true, VTTRegion: true, WheelEvent: true, WindowClient: true, WorkletAnimation: true, WorkletGlobalScope: true, XPathEvaluator: true, XPathExpression: true, XPathNSResolver: true, XPathResult: true, XMLSerializer: true, XSLTProcessor: true, Bluetooth: true, BluetoothCharacteristicProperties: true, BluetoothRemoteGATTServer: true, BluetoothRemoteGATTService: true, BluetoothUUID: true, BudgetService: true, Cache: true, DOMFileSystemSync: true, DirectoryEntrySync: true, DirectoryReaderSync: true, EntrySync: true, FileEntrySync: true, FileReaderSync: true, FileWriterSync: true, HTMLAllCollection: true, Mojo: true, MojoHandle: true, MojoInterfaceRequestEvent: true, MojoWatcher: true, NFC: true, PagePopupController: true, Report: true, Request: true, ResourceProgressEvent: true, Response: true, SubtleCrypto: true, USBAlternateInterface: true, USBConfiguration: true, USBConnectionEvent: true, USBDevice: true, USBEndpoint: true, USBInTransferResult: true, USBInterface: true, USBIsochronousInTransferPacket: true, USBIsochronousInTransferResult: true, USBIsochronousOutTransferPacket: true, USBIsochronousOutTransferResult: true, USBOutTransferResult: true, WorkerLocation: true, WorkerNavigator: true, Worklet: true, IDBCursor: true, IDBCursorWithValue: true, IDBFactory: true, IDBIndex: true, IDBKeyRange: true, IDBObjectStore: true, IDBObservation: true, IDBObserver: true, IDBObserverChanges: true, IDBVersionChangeEvent: true, SVGAngle: true, SVGAnimatedAngle: true, SVGAnimatedBoolean: true, SVGAnimatedEnumeration: true, SVGAnimatedInteger: true, SVGAnimatedLength: true, SVGAnimatedLengthList: true, SVGAnimatedNumber: true, SVGAnimatedNumberList: true, SVGAnimatedPreserveAspectRatio: true, SVGAnimatedRect: true, SVGAnimatedString: true, SVGAnimatedTransformList: true, SVGMatrix: true, SVGPoint: true, SVGPreserveAspectRatio: true, SVGRect: true, SVGUnitTypes: true, AudioListener: true, AudioParam: true, AudioProcessingEvent: true, AudioTrack: true, AudioWorkletGlobalScope: true, AudioWorkletProcessor: true, OfflineAudioCompletionEvent: true, PeriodicWave: true, WebGLActiveInfo: true, ANGLEInstancedArrays: true, ANGLE_instanced_arrays: true, WebGLBuffer: true, WebGLCanvas: true, WebGLColorBufferFloat: true, WebGLCompressedTextureASTC: true, WebGLCompressedTextureATC: true, WEBGL_compressed_texture_atc: true, WebGLCompressedTextureETC1: true, WEBGL_compressed_texture_etc1: true, WebGLCompressedTextureETC: true, WebGLCompressedTexturePVRTC: true, WEBGL_compressed_texture_pvrtc: true, WebGLCompressedTextureS3TC: true, WEBGL_compressed_texture_s3tc: true, WebGLCompressedTextureS3TCsRGB: true, WebGLContextEvent: true, WebGLDebugRendererInfo: true, WEBGL_debug_renderer_info: true, WebGLDebugShaders: true, WEBGL_debug_shaders: true, WebGLDepthTexture: true, WEBGL_depth_texture: true, WebGLDrawBuffers: true, WEBGL_draw_buffers: true, EXTsRGB: true, EXT_sRGB: true, EXTBlendMinMax: true, EXT_blend_minmax: true, EXTColorBufferFloat: true, EXTColorBufferHalfFloat: true, EXTDisjointTimerQuery: true, EXTDisjointTimerQueryWebGL2: true, EXTFragDepth: true, EXT_frag_depth: true, EXTShaderTextureLOD: true, EXT_shader_texture_lod: true, EXTTextureFilterAnisotropic: true, EXT_texture_filter_anisotropic: true, WebGLFramebuffer: true, WebGLGetBufferSubDataAsync: true, WebGLLoseContext: true, WebGLExtensionLoseContext: true, WEBGL_lose_context: true, OESElementIndexUint: true, OES_element_index_uint: true, OESStandardDerivatives: true, OES_standard_derivatives: true, OESTextureFloat: true, OES_texture_float: true, OESTextureFloatLinear: true, OES_texture_float_linear: true, OESTextureHalfFloat: true, OES_texture_half_float: true, OESTextureHalfFloatLinear: true, OES_texture_half_float_linear: true, OESVertexArrayObject: true, OES_vertex_array_object: true, WebGLProgram: true, WebGLQuery: true, WebGLRenderbuffer: true, WebGLRenderingContext: true, WebGL2RenderingContext: true, WebGLSampler: true, WebGLShader: true, WebGLShaderPrecisionFormat: true, WebGLSync: true, WebGLTexture: true, WebGLTimerQueryEXT: true, WebGLTransformFeedback: true, WebGLUniformLocation: true, WebGLVertexArrayObject: true, WebGLVertexArrayObjectOES: true, WebGL2RenderingContextBase: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLAudioElement: true, HTMLBRElement: true, HTMLBaseElement: true, HTMLBodyElement: true, HTMLButtonElement: true, HTMLCanvasElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLDivElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLIFrameElement: true, HTMLImageElement: true, HTMLInputElement: true, HTMLLIElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMediaElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLMeterElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLOptionElement: true, HTMLOutputElement: true, HTMLParagraphElement: true, HTMLParamElement: true, HTMLPictureElement: true, HTMLPreElement: true, HTMLProgressElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTemplateElement: true, HTMLTextAreaElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLVideoElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, AccessibleNodeList: true, HTMLAnchorElement: true, HTMLAreaElement: true, Blob: false, CDATASection: true, CharacterData: true, Comment: true, ProcessingInstruction: true, Text: true, CSSPerspective: true, CSSCharsetRule: true, CSSConditionRule: true, CSSFontFaceRule: true, CSSGroupingRule: true, CSSImportRule: true, CSSKeyframeRule: true, MozCSSKeyframeRule: true, WebKitCSSKeyframeRule: true, CSSKeyframesRule: true, MozCSSKeyframesRule: true, WebKitCSSKeyframesRule: true, CSSMediaRule: true, CSSNamespaceRule: true, CSSPageRule: true, CSSRule: true, CSSStyleRule: true, CSSSupportsRule: true, CSSViewportRule: true, CSSStyleDeclaration: true, MSStyleCSSProperties: true, CSS2Properties: true, CSSImageValue: true, CSSKeywordValue: true, CSSNumericValue: true, CSSPositionValue: true, CSSResourceValue: true, CSSUnitValue: true, CSSURLImageValue: true, CSSStyleValue: false, CSSMatrixComponent: true, CSSRotation: true, CSSScale: true, CSSSkew: true, CSSTranslation: true, CSSTransformComponent: false, CSSTransformValue: true, CSSUnparsedValue: true, DataTransferItemList: true, DOMException: true, ClientRectList: true, DOMRectList: true, DOMRectReadOnly: false, DOMStringList: true, DOMTokenList: true, MathMLElement: true, SVGAElement: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGCircleElement: true, SVGClipPathElement: true, SVGDefsElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGEllipseElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEGaussianBlurElement: true, SVGFEImageElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGFilterElement: true, SVGForeignObjectElement: true, SVGGElement: true, SVGGeometryElement: true, SVGGraphicsElement: true, SVGImageElement: true, SVGLineElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPathElement: true, SVGPatternElement: true, SVGPolygonElement: true, SVGPolylineElement: true, SVGRadialGradientElement: true, SVGRectElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGElement: true, SVGSVGElement: true, SVGSwitchElement: true, SVGSymbolElement: true, SVGTSpanElement: true, SVGTextContentElement: true, SVGTextElement: true, SVGTextPathElement: true, SVGTextPositioningElement: true, SVGTitleElement: true, SVGUseElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true, Element: false, AbsoluteOrientationSensor: true, Accelerometer: true, AccessibleNode: true, AmbientLightSensor: true, Animation: true, ApplicationCache: true, DOMApplicationCache: true, OfflineResourceList: true, BackgroundFetchRegistration: true, BatteryManager: true, BroadcastChannel: true, CanvasCaptureMediaStreamTrack: true, DedicatedWorkerGlobalScope: true, EventSource: true, FileReader: true, FontFaceSet: true, Gyroscope: true, XMLHttpRequest: true, XMLHttpRequestEventTarget: true, XMLHttpRequestUpload: true, LinearAccelerationSensor: true, Magnetometer: true, MediaDevices: true, MediaKeySession: true, MediaQueryList: true, MediaRecorder: true, MediaSource: true, MediaStream: true, MediaStreamTrack: true, MessagePort: true, MIDIAccess: true, MIDIInput: true, MIDIOutput: true, MIDIPort: true, NetworkInformation: true, Notification: true, OffscreenCanvas: true, OrientationSensor: true, PaymentRequest: true, Performance: true, PermissionStatus: true, PresentationAvailability: true, PresentationConnection: true, PresentationConnectionList: true, PresentationRequest: true, RelativeOrientationSensor: true, RemotePlayback: true, RTCDataChannel: true, DataChannel: true, RTCDTMFSender: true, RTCPeerConnection: true, webkitRTCPeerConnection: true, mozRTCPeerConnection: true, ScreenOrientation: true, Sensor: true, ServiceWorker: true, ServiceWorkerContainer: true, ServiceWorkerGlobalScope: true, ServiceWorkerRegistration: true, SharedWorker: true, SharedWorkerGlobalScope: true, SpeechRecognition: true, SpeechSynthesis: true, SpeechSynthesisUtterance: true, VR: true, VRDevice: true, VRDisplay: true, VRSession: true, VisualViewport: true, WebSocket: true, Window: true, DOMWindow: true, Worker: true, WorkerGlobalScope: true, WorkerPerformance: true, BluetoothDevice: true, BluetoothRemoteGATTCharacteristic: true, Clipboard: true, MojoInterfaceInterceptor: true, USB: true, IDBDatabase: true, IDBOpenDBRequest: true, IDBVersionChangeRequest: true, IDBRequest: true, IDBTransaction: true, AnalyserNode: true, RealtimeAnalyserNode: true, AudioBufferSourceNode: true, AudioDestinationNode: true, AudioNode: true, AudioScheduledSourceNode: true, AudioWorkletNode: true, BiquadFilterNode: true, ChannelMergerNode: true, AudioChannelMerger: true, ChannelSplitterNode: true, AudioChannelSplitter: true, ConstantSourceNode: true, ConvolverNode: true, DelayNode: true, DynamicsCompressorNode: true, GainNode: true, AudioGainNode: true, IIRFilterNode: true, MediaElementAudioSourceNode: true, MediaStreamAudioDestinationNode: true, MediaStreamAudioSourceNode: true, OscillatorNode: true, Oscillator: true, PannerNode: true, AudioPannerNode: true, webkitAudioPannerNode: true, ScriptProcessorNode: true, JavaScriptAudioNode: true, StereoPannerNode: true, WaveShaperNode: true, EventTarget: false, File: true, FileList: true, FileWriter: true, HTMLFormElement: true, Gamepad: true, History: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, Location: true, MediaList: true, MIDIInputMap: true, MIDIOutputMap: true, MimeType: true, MimeTypeArray: true, Document: true, DocumentFragment: true, HTMLDocument: true, ShadowRoot: true, XMLDocument: true, Attr: true, DocumentType: true, Node: false, NodeList: true, RadioNodeList: true, Plugin: true, PluginArray: true, RTCStatsReport: true, HTMLSelectElement: true, SourceBuffer: true, SourceBufferList: true, SpeechGrammar: true, SpeechGrammarList: true, SpeechRecognitionResult: true, Storage: true, CSSStyleSheet: true, StyleSheet: true, TextTrack: true, TextTrackCue: true, VTTCue: true, TextTrackCueList: true, TextTrackList: true, TimeRanges: true, Touch: true, TouchList: true, TrackDefaultList: true, URL: true, VideoTrackList: true, CSSRuleList: true, ClientRect: true, DOMRect: true, GamepadList: true, NamedNodeMap: true, MozNamedAttrMap: true, SpeechRecognitionResultList: true, StyleSheetList: true, SVGLength: true, SVGLengthList: true, SVGNumber: true, SVGNumberList: true, SVGPointList: true, SVGStringList: true, SVGTransform: true, SVGTransformList: true, AudioBuffer: true, AudioParamMap: true, AudioTrackList: true, AudioContext: true, webkitAudioContext: true, BaseAudioContext: false, OfflineAudioContext: true}); + A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; + A._SourceBufferList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; })(); - Function.prototype.call$0 = function() { - return this(); - }; Function.prototype.call$1 = function(a) { return this(a); }; Function.prototype.call$2 = function(a, b) { return this(a, b); }; - Function.prototype.call$3 = function(a, b, c) { - return this(a, b, c); - }; - Function.prototype.call$4 = function(a, b, c, d) { - return this(a, b, c, d); + Function.prototype.call$0 = function() { + return this(); }; Function.prototype.call$1$1 = function(a) { return this(a); }; - Function.prototype.call$3$1 = function(a) { - return this(a); - }; Function.prototype.call$3$3 = function(a, b, c) { return this(a, b, c); }; - Function.prototype.call$2$2 = function(a, b) { - return this(a, b); - }; - Function.prototype.call$2$1 = function(a) { - return this(a); + Function.prototype.call$5 = function(a, b, c, d, e) { + return this(a, b, c, d, e); }; - Function.prototype.call$2$3 = function(a, b, c) { + Function.prototype.call$3 = function(a, b, c) { return this(a, b, c); }; - Function.prototype.call$1$2 = function(a, b) { - return this(a, b); + Function.prototype.call$4 = function(a, b, c, d) { + return this(a, b, c, d); }; - Function.prototype.call$5 = function(a, b, c, d, e) { - return this(a, b, c, d, e); + Function.prototype.call$3$6 = function(a, b, c, d, e, f) { + return this(a, b, c, d, e, f); }; - Function.prototype.call$3$4 = function(a, b, c, d) { + Function.prototype.call$1$4 = function(a, b, c, d) { return this(a, b, c, d); }; + Function.prototype.call$2$1 = function(a) { + return this(a); + }; + Function.prototype.call$2$5 = function(a, b, c, d, e) { + return this(a, b, c, d, e); + }; Function.prototype.call$2$4 = function(a, b, c, d) { return this(a, b, c, d); }; - Function.prototype.call$1$4 = function(a, b, c, d) { + Function.prototype.call$2$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$3$1 = function(a) { + return this(a); + }; + Function.prototype.call$3$4 = function(a, b, c, d) { return this(a, b, c, d); }; - Function.prototype.call$3$6 = function(a, b, c, d, e, f) { - return this(a, b, c, d, e, f); + Function.prototype.call$1$2 = function(a, b) { + return this(a, b); }; - Function.prototype.call$2$5 = function(a, b, c, d, e) { - return this(a, b, c, d, e); + Function.prototype.call$2$3 = function(a, b, c) { + return this(a, b, c); }; convertAllToFastObject(holders); convertToFastObject($); @@ -15141,7 +17213,7 @@ callback(null); return; } - if (typeof document.currentScript != 'undefined') { + if (typeof document.currentScript != "undefined") { callback(document.currentScript); return; } @@ -15155,10 +17227,11 @@ scripts[i].addEventListener("load", onLoad, false); })(function(currentScript) { init.currentScript = currentScript; + var callMain = A.main; if (typeof dartMainRunner === "function") - dartMainRunner(K.main, []); + dartMainRunner(callMain, []); else - K.main([]); + callMain([]); }); })(); diff --git a/dev/packages/test/src/runner/wasm/static/default.html.tpl b/dev/packages/test/src/runner/wasm/static/default.html.tpl new file mode 100644 index 000000000..3d0504057 --- /dev/null +++ b/dev/packages/test/src/runner/wasm/static/default.html.tpl @@ -0,0 +1,9 @@ + + + + {{testName}} Test + {{testScript}} + + + + diff --git a/dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js b/dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js new file mode 100644 index 000000000..d8628b9fe --- /dev/null +++ b/dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js @@ -0,0 +1,21 @@ +// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// TODO(joshualitt): Investigate making this a module. Currently, Dart2Wasm is +// broken in D8 with modules because of an issue with async. This may or may not +// affect chrome. +(async () => { + // Fetch and compile Wasm binary. + let data = document.getElementById('WasmBootstrapInfo').dataset; + let modulePromise = WebAssembly.compileStreaming(fetch(data.wasmurl)); + + // Instantiate the Dart module, importing from the global scope. + let dart2wasm = await import('./' + data.jsruntimeurl); + let dartInstance = await dart2wasm.instantiate(modulePromise, {}); + + // Call `main`. If tasks are placed into the event loop (by scheduling tasks + // explicitly or awaiting Futures), these will automatically keep the script + // alive even after `main` returns. + await dart2wasm.invoke(dartInstance); +})(); diff --git a/dev/packages/test/test.dart.transitive_digest b/dev/packages/test/test.dart.transitive_digest new file mode 100644 index 000000000..0f7e0bc96 --- /dev/null +++ b/dev/packages/test/test.dart.transitive_digest @@ -0,0 +1,2 @@ +2n Մ +v[] \ No newline at end of file diff --git a/dev/packages/test_api/backend.dart.transitive_digest b/dev/packages/test_api/backend.dart.transitive_digest new file mode 100644 index 000000000..e562f6eb9 --- /dev/null +++ b/dev/packages/test_api/backend.dart.transitive_digest @@ -0,0 +1 @@ +``\5&ޠX \ No newline at end of file diff --git a/dev/packages/test_api/hooks.dart.transitive_digest b/dev/packages/test_api/hooks.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..5bc1a9328465d6378a96936a72fd63aaab7a5227 GIT binary patch literal 16 XcmdN}ey(<-Nm@V&a~DH$&{=i>I=%)* literal 0 HcmV?d00001 diff --git a/dev/packages/test_api/scaffolding.dart.transitive_digest b/dev/packages/test_api/scaffolding.dart.transitive_digest new file mode 100644 index 000000000..9d6e0369c --- /dev/null +++ b/dev/packages/test_api/scaffolding.dart.transitive_digest @@ -0,0 +1 @@ +sw{*3^ёkA \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/compiler.dart.transitive_digest b/dev/packages/test_api/src/backend/compiler.dart.transitive_digest new file mode 100644 index 000000000..18b60aaa6 --- /dev/null +++ b/dev/packages/test_api/src/backend/compiler.dart.transitive_digest @@ -0,0 +1,2 @@ +Unj2 +&~1 \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/declarer.dart.transitive_digest b/dev/packages/test_api/src/backend/declarer.dart.transitive_digest new file mode 100644 index 000000000..0e9d6d96e --- /dev/null +++ b/dev/packages/test_api/src/backend/declarer.dart.transitive_digest @@ -0,0 +1 @@ +ʼlsgY4!j \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/group.dart.transitive_digest b/dev/packages/test_api/src/backend/group.dart.transitive_digest new file mode 100644 index 000000000..17e08c153 --- /dev/null +++ b/dev/packages/test_api/src/backend/group.dart.transitive_digest @@ -0,0 +1 @@ +tj{x$Os] \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/invoker.dart.transitive_digest b/dev/packages/test_api/src/backend/invoker.dart.transitive_digest new file mode 100644 index 000000000..d91364e53 --- /dev/null +++ b/dev/packages/test_api/src/backend/invoker.dart.transitive_digest @@ -0,0 +1 @@ +K VK \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/live_test.dart.transitive_digest b/dev/packages/test_api/src/backend/live_test.dart.transitive_digest new file mode 100644 index 000000000..51b928a2f --- /dev/null +++ b/dev/packages/test_api/src/backend/live_test.dart.transitive_digest @@ -0,0 +1 @@ +G5v8s `30 \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest b/dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest new file mode 100644 index 000000000..04a00737d --- /dev/null +++ b/dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest @@ -0,0 +1 @@ +ǻ=3St(. \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/message.dart.transitive_digest b/dev/packages/test_api/src/backend/message.dart.transitive_digest new file mode 100644 index 000000000..419222896 --- /dev/null +++ b/dev/packages/test_api/src/backend/message.dart.transitive_digest @@ -0,0 +1 @@ +>V+Q-3TY \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/metadata.dart.transitive_digest b/dev/packages/test_api/src/backend/metadata.dart.transitive_digest new file mode 100644 index 000000000..138648bdd --- /dev/null +++ b/dev/packages/test_api/src/backend/metadata.dart.transitive_digest @@ -0,0 +1 @@ +€akGa \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/operating_system.dart.transitive_digest b/dev/packages/test_api/src/backend/operating_system.dart.transitive_digest new file mode 100644 index 000000000..4b7fb4c96 --- /dev/null +++ b/dev/packages/test_api/src/backend/operating_system.dart.transitive_digest @@ -0,0 +1 @@ +VB%JI \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest b/dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest new file mode 100644 index 000000000..67dcb4a3e --- /dev/null +++ b/dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest @@ -0,0 +1 @@ +0Q6 ; \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/runtime.dart.transitive_digest b/dev/packages/test_api/src/backend/runtime.dart.transitive_digest new file mode 100644 index 000000000..d24158e8b --- /dev/null +++ b/dev/packages/test_api/src/backend/runtime.dart.transitive_digest @@ -0,0 +1 @@ +02bS2ci \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/state.dart.transitive_digest b/dev/packages/test_api/src/backend/state.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..a77f15b62b60419092debaff34fed24b47d5f836 GIT binary patch literal 16 XcmbO}-JCa<;fU7++t1haIcy97Htq%} literal 0 HcmV?d00001 diff --git a/dev/packages/test_api/src/backend/suite.dart.transitive_digest b/dev/packages/test_api/src/backend/suite.dart.transitive_digest new file mode 100644 index 000000000..1ffe69d74 --- /dev/null +++ b/dev/packages/test_api/src/backend/suite.dart.transitive_digest @@ -0,0 +1 @@ +#R+6 ZmD \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest b/dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest new file mode 100644 index 000000000..76775e743 --- /dev/null +++ b/dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest @@ -0,0 +1 @@ +W풚=.p! \ No newline at end of file diff --git a/dev/packages/test_api/src/backend/test.dart.transitive_digest b/dev/packages/test_api/src/backend/test.dart.transitive_digest new file mode 100644 index 000000000..3ac95cee3 --- /dev/null +++ b/dev/packages/test_api/src/backend/test.dart.transitive_digest @@ -0,0 +1 @@ +MDҠw \ No newline at end of file diff --git a/dev/packages/test_core/test_core.dart.transitive_digest b/dev/packages/test_core/test_core.dart.transitive_digest new file mode 100644 index 0000000000000000000000000000000000000000..7824a4a9465812ab607e64606218807e04aba072 GIT binary patch literal 16 XcmebJ<8=1mK4+Qs!k)TdiDL`^Ms^2h literal 0 HcmV?d00001 diff --git a/dev/packages/tuple/tuple.dart.transitive_digest b/dev/packages/tuple/tuple.dart.transitive_digest new file mode 100644 index 000000000..1ea5638dd --- /dev/null +++ b/dev/packages/tuple/tuple.dart.transitive_digest @@ -0,0 +1 @@ +Fj*)ǹ p= \ No newline at end of file diff --git a/dev/packages/typed_data/typed_data.dart.transitive_digest b/dev/packages/typed_data/typed_data.dart.transitive_digest new file mode 100644 index 000000000..f4bb7cbad --- /dev/null +++ b/dev/packages/typed_data/typed_data.dart.transitive_digest @@ -0,0 +1 @@ + D}=(c \ No newline at end of file diff --git a/dev/packages/w_common/disposable.dart.transitive_digest b/dev/packages/w_common/disposable.dart.transitive_digest new file mode 100644 index 000000000..bc09291b3 --- /dev/null +++ b/dev/packages/w_common/disposable.dart.transitive_digest @@ -0,0 +1 @@ +ƀ1eB!T;~xE \ No newline at end of file diff --git a/dev/packages/w_flux/w_flux.dart.transitive_digest b/dev/packages/w_flux/w_flux.dart.transitive_digest new file mode 100644 index 000000000..01c53edc1 --- /dev/null +++ b/dev/packages/w_flux/w_flux.dart.transitive_digest @@ -0,0 +1 @@ +|dQF2q \ No newline at end of file diff --git a/dev/packages/xml/xml.dart.transitive_digest b/dev/packages/xml/xml.dart.transitive_digest new file mode 100644 index 000000000..d81dbff18 --- /dev/null +++ b/dev/packages/xml/xml.dart.transitive_digest @@ -0,0 +1 @@ +hKs \ No newline at end of file diff --git a/dev/scadnano-styles.css b/dev/scadnano-styles.css index 8575b1c39..52366ac31 100644 --- a/dev/scadnano-styles.css +++ b/dev/scadnano-styles.css @@ -47,7 +47,7 @@ label + select { overflow: hidden; } -#top-container,#oxview-frame { +#top-container, #oxview-frame { display: flex; height: 100%; overflow: hidden; @@ -246,6 +246,8 @@ label + select { box-shadow: 3px 3px 2px #E9E9E9; border-radius: 4px; z-index: 1; + /* I don't know why the following doesn't work here like it does with dropdown-item, for instance. */ + /*overflow-y: auto;*/ } .context-menu-list { @@ -957,6 +959,12 @@ https://stackoverflow.com/questions/15138801/rotate-rectangle-around-its-own-cen font-size: 0.8rem; } +.dropdown-menu.show { + /* TODO: This works but sometimes causes the submenus not to show easily; it makes a horizontal + scrollbar and you have to click it to see; e.g., View-->DNA-->DNA sequences*/ + /*overflow-y: auto;*/ +} + /* Thin the navbar */ .navbar { padding: 0rem 1rem;